/*
 *             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(_0x42d677,_0x1be9c4){'object'==typeof exports&&'undefined'!=typeof module?_0x1be9c4(exports,require('ckeditor5')):'function'==typeof define&&define['amd']?define(['exports','ckeditor5'],_0x1be9c4):_0x1be9c4((_0x42d677='undefined'!=typeof globalThis?globalThis:_0x42d677||self)['CKEDITOR_PREMIUM_FEATURES']={},_0x42d677['CKEDITOR']);}(this,function(exports,ckeditor5){'use strict';const _0x44186f='_ungrouppedCommands';function _0x3a275d(_0x4ab220,_0x15addb){const _0x1b87f8=(0x0,_0x15addb['t'])('Other');return _0x4ab220['length']?'groupId'in _0x4ab220[0x0]?_0x4ab220:[{'groupId':_0x44186f,'groupLabel':_0x1b87f8,'order':0x1/0x0,'commands':_0x4ab220}]:[{'groupId':_0x44186f,'groupLabel':_0x1b87f8,'order':0x1/0x0,'commands':[]}];}const DomDataTransfer$1=globalThis['DataTransfer'],_0x33e4a5='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:_0x290b10}=this,_0x49c604=['ck-fake-ai-selection'];_0x290b10['config']['get']('ai.assistant.useTheme')&&_0x49c604['push']('ck-ai-assistant-ui_theme'),_0x290b10['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x33e4a5,'view':{'classes':_0x49c604,'priority':0xc}}),_0x290b10['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x33e4a5,'view':(_0x52f733,{writer:_0x520cd0})=>{if(!_0x52f733['markerRange']['isCollapsed'])return null;const _0x5cbbaf=_0x520cd0['createUIElement']('span');return _0x520cd0['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x5cbbaf),_0x5cbbaf;}});}['afterInit'](){_0x5d2ee5(this);}['showFakeVisualSelection'](){const _0x33c184=this['editor']['model'];_0x33c184['change'](_0x22c5e7=>{const _0x5b2894=_0x33c184['document']['selection']['getRanges']();let _0x1b3842=0x0;for(const _0x5441f0 of _0x5b2894){const _0x44c932=_0x33e4a5+':'+_0x1b3842;if(_0x33c184['markers']['has'](_0x44c932))_0x22c5e7['updateMarker'](_0x44c932,{'range':_0x5441f0});else{if(_0x5441f0['start']['isAtEnd']){const _0x464040=_0x5441f0['start']['getLastMatchingPosition'](({item:_0x36e913})=>!_0x33c184['schema']['isContent'](_0x36e913),{'boundaries':_0x5441f0});_0x22c5e7['addMarker'](_0x44c932,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x22c5e7['createRange'](_0x464040,_0x5441f0['end'])});}else _0x22c5e7['addMarker'](_0x44c932,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5441f0});}_0x1b3842++;}});}['hideFakeVisualSelection'](){const _0x2bd786=this['editor']['model'],_0x26323b=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](_0x33e4a5));_0x26323b['length']&&_0x2bd786['change'](_0x44c288=>{_0x26323b['forEach'](_0x4e4b55=>{_0x44c288['removeMarker'](_0x4e4b55);});});}['insertContent'](_0x1239c9,_0x212938){const _0x5a5d49=this['_getAISelection'](),_0x241364=_0x212938||_0x5a5d49['getFirstRange']();this['editor']['model']['canEditAt'](_0x241364)&&this['editor']['model']['change'](_0x811be9=>{this['hideFakeVisualSelection'](),_0x212938||this['_resetContentOfSelectedTableCells'](_0x811be9,_0x5a5d49),this['_pasteHTMLUsingClipboard']({'insertAt':_0x241364,'writer':_0x811be9,'html':_0x1239c9});});}['insertContentBelow'](_0x3d5ce5){const {model:_0x5ef3dd}=this['editor'],_0x5467ac=this['_getAISelection']();_0x5ef3dd['change'](()=>{const _0x7a44b0=this['_prepareTableInsertBelowPosition'](_0x3d5ce5,_0x5467ac)||this['_getDefaultInsertBelowPosition'](_0x5467ac);this['insertContent'](_0x3d5ce5,_0x7a44b0);});}['_getAISelection'](){const _0x2608e9=this['editor']['model'],_0x271f20=Array['from'](_0x2608e9['markers']['getMarkersGroup'](_0x33e4a5))['map'](_0x512797=>_0x512797['getRange']());return _0x2608e9['createSelection'](_0x271f20);}['_pasteHTMLUsingClipboard']({writer:_0x301ef5,html:_0x1e29ec,insertAt:_0x1a3d47}){const {view:_0x47ed97}=this['editor']['editing'],_0x121d3a=this['editor']['plugins']['get'](ckeditor5['ClipboardPipeline']),_0x49ba8e=new DomDataTransfer$1();_0x49ba8e['setData']('text/html',_0x1e29ec);const _0xaa277f=new ClipboardEvent('paste',{'clipboardData':_0x49ba8e}),_0x4be2b5=new ckeditor5['ViewDocumentDomEventData'](_0x47ed97,_0xaa277f,{'dataTransfer':new ckeditor5['ViewDataTransfer'](_0x49ba8e)});_0x301ef5['setSelection'](_0x1a3d47);const _0x2e476f=(_0x5edaee,_0x15445a)=>{_0x15445a['resultRange']&&_0x301ef5['setSelection'](_0x15445a['resultRange']);};_0x121d3a['once']('contentInsertion',_0x2e476f,{'priority':'lowest'}),_0x47ed97['document']['fire']('paste',_0x4be2b5),_0x121d3a['off']('contentInsertion',_0x2e476f);}['_getDefaultInsertBelowPosition'](_0x1acc03){const {model:_0x38c95e}=this['editor'],_0x12a893=Array['from'](_0x1acc03['getSelectedBlocks']());return _0x12a893['length']?_0x38c95e['createPositionAfter'](_0x12a893['pop']()):_0x1acc03['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0x316596,_0x541046){const {model:_0x2c2ad3,plugins:_0x514fcb}=this['editor'];if(_0x514fcb['has']('TableUtils')){const _0xa7b9c2=_0x514fcb['get']('TableUtils')['getSelectedTableCells'](_0x541046);if(_0xa7b9c2['length']){const _0x2791eb=this['_getTableRowCountFromContent'](_0x316596),_0x1c1641=this['_createEmptyTableRows'](_0xa7b9c2,_0x2791eb);return _0x2c2ad3['createPositionAt'](_0x1c1641,0x0);}}return null;}['_getTableRowCountFromContent'](_0x39e558){const _0x41f02f=this['editor']['plugins']['get']('TableUtils'),_0x1f1de2=this['editor']['data']['parse'](_0x39e558),_0x35cfd7=Array['from'](_0x1f1de2['getChildren']())['filter'](_0x2a8ed9=>_0x2a8ed9['is']('element','table'));let _0x2c0f5b=0x0;return _0x35cfd7['forEach'](_0x4482b0=>{_0x2c0f5b+=_0x41f02f['getRows'](_0x4482b0);}),_0x2c0f5b;}['_createEmptyTableRows'](_0x2d11fe,_0x27b438){const _0x248d65=this['editor']['plugins']['get']('TableUtils'),_0x22af36=_0x248d65['getRowIndexes'](_0x2d11fe),_0x235363=_0x248d65['getColumnIndexes'](_0x2d11fe),_0x3ff27a=_0x22af36['last']+0x1,_0x5bf613=_0x235363['first'],_0x2b0441=_0x2d11fe[0x0]['findAncestor']('table');for(let _0x9783db=0x0;_0x9783db<_0x27b438;_0x9783db++)_0x248d65['insertRows'](_0x2b0441,{'at':_0x3ff27a});return _0x2b0441['getChild'](_0x3ff27a)['getChild'](_0x5bf613);}['_resetContentOfSelectedTableCells'](_0x13b4eb,_0x2b5bd9){const {plugins:_0x104812}=this['editor'],{model:_0x3fca5c}=_0x13b4eb;if(!_0x104812['has']('TableUtils'))return;_0x104812['get']('TableUtils')['getSelectedTableCells'](_0x2b5bd9)['length']&&_0x3fca5c['deleteContent'](_0x2b5bd9);}}async function _0x5d2ee5(_0x22e69f){const _0x4b1c3f=_0x2eafa5([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]),_0x2450bf=window[_0x2eafa5([0x44,0x61,0x74,0x65])][_0x2eafa5([0x6e,0x6f,0x77])](),_0x29234b=_0x22e69f[_0x2eafa5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4072fb=new window[(_0x2eafa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48529a=>{_0x29234b[_0x2eafa5([0x6f,0x6e,0x63,0x65])](_0x2eafa5([0x72,0x65,0x61,0x64,0x79]),_0x48529a);}),_0xfb216f={[_0x2eafa5([0x6b,0x74,0x79])]:_0x2eafa5([0x45,0x43]),[_0x2eafa5([0x75,0x73,0x65])]:_0x2eafa5([0x73,0x69,0x67]),[_0x2eafa5([0x63,0x72,0x76])]:_0x2eafa5([0x50,0x2d,0x32,0x35,0x36]),[_0x2eafa5([0x78])]:_0x2eafa5([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]),[_0x2eafa5([0x79])]:_0x2eafa5([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]),[_0x2eafa5([0x61,0x6c,0x67])]:_0x2eafa5([0x45,0x53,0x32,0x35,0x36])},_0x1184c0=_0x29234b[_0x2eafa5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2eafa5([0x67,0x65,0x74])](_0x2eafa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3b81f8=await(async function(){let _0xcf9fcb,_0x39c0e4=null,_0x1ac5f7=null;try{if(_0x1184c0==_0x2eafa5([0x47,0x50,0x4c]))return _0x2eafa5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xcf9fcb=(function(){const _0x34dc82=_0x1184c0[_0x2eafa5([0x73,0x70,0x6c,0x69,0x74])](_0x2eafa5([0x2e]));if(0x3!=_0x34dc82[_0x2eafa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5740a4=_0x34dc82[0x1];return _0x14d6e5(_0x5740a4);function _0x14d6e5(_0x358231){const _0x5a19e8=_0x502bd1(_0x358231);return _0x5a19e8&&_0x281761()?_0x5a19e8:null;function _0x281761(){const _0x3df5e4=_0x5a19e8[_0x2eafa5([0x6a,0x74,0x69])],_0x2bae8c=window[_0x2eafa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3df5e4[_0x2eafa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3df5e4[_0x2eafa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3a65c5={..._0x5a19e8,[_0x2eafa5([0x6a,0x74,0x69])]:_0x3df5e4[_0x2eafa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3df5e4[_0x2eafa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3a65c5[_0x2eafa5([0x76,0x63])],_0x338edf(_0x3a65c5)==_0x2bae8c;}}}()),!_0xcf9fcb)return _0x2eafa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0xcf9fcb[_0x2eafa5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1ac5f7=function(_0x349ad9,_0x240afb){return new window[(_0x2eafa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb39792=>{if(_0x142efb())return _0xb39792(_0x2eafa5([0x56,0x61,0x6c,0x69,0x64]));_0x5cb8e2(),_0x29234b[_0x2eafa5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2eafa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3406b3=!0x1;const _0xbbe1ee=ckeditor5['uid']();function _0x97d414(_0x1de8ac){return!!_0x1de8ac&&(typeof _0x1de8ac===_0x2eafa5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1de8ac===_0x2eafa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1de8ac[_0x2eafa5([0x74,0x68,0x65,0x6e])]===_0x2eafa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1de8ac[_0x2eafa5([0x63,0x61,0x74,0x63,0x68])]===_0x2eafa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xbed50c(_0x573ecf){_0x26f638(_0x573ecf)[_0x2eafa5([0x74,0x68,0x65,0x6e])](_0x50f06a=>{if(!_0x50f06a||_0x50f06a[_0x2eafa5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2eafa5([0x6f,0x6b]))return _0x2eafa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x523571(_0x338edf(_0xbbe1ee+_0x240afb))!=_0x50f06a[_0x2eafa5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2eafa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2eafa5([0x56,0x61,0x6c,0x69,0x64]);})[_0x2eafa5([0x74,0x68,0x65,0x6e])](_0x457b2c=>(_0x1d9283(),_0x457b2c),()=>{const _0xf1c406=_0x1896c1();return null==_0xf1c406?(_0x1d9283(),_0x2eafa5([0x56,0x61,0x6c,0x69,0x64])):_0x2eafa5(_0x2450bf-_0xf1c406>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2eafa5([0x74,0x68,0x65,0x6e])](_0xb39792)[_0x2eafa5([0x63,0x61,0x74,0x63,0x68])](()=>{_0xb39792(_0x2eafa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e0a92=0x36ee80;function _0x1d9283(){const _0x29cac5=_0x2eafa5([0x6c,0x6c,0x63,0x74,0x2d])+_0x523571(_0x338edf(_0x349ad9)),_0x5c98ff=_0x2b382e(_0x523571(window[_0x2eafa5([0x4d,0x61,0x74,0x68])][_0x2eafa5([0x63,0x65,0x69,0x6c])](_0x2450bf/_0x3e0a92)));window[_0x2eafa5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2eafa5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29cac5,_0x5c98ff);}function _0x1896c1(){const _0x5c2b83=_0x2eafa5([0x6c,0x6c,0x63,0x74,0x2d])+_0x523571(_0x338edf(_0x349ad9)),_0x1a2e0d=window[_0x2eafa5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2eafa5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c2b83);return _0x1a2e0d?window[_0x2eafa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b382e(_0x1a2e0d),0x10)*_0x3e0a92:null;}function _0x26f638(_0x1563ea){return new window[(_0x2eafa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5506f2,_0x5795e2)=>{_0x1563ea[_0x2eafa5([0x74,0x68,0x65,0x6e])](_0x5506f2,_0x5795e2),window[_0x2eafa5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5795e2,0x1d4c0);});}}_0x29234b[_0x2eafa5([0x6f,0x6e])](_0x2eafa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x458e3f,_0x5ae396)=>{if(_0x5ae396[0x0]!=_0x349ad9)return _0xb39792(_0x2eafa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5ae396[0x1]={..._0x5ae396[0x1],[_0x2eafa5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xbbe1ee};},{[_0x2eafa5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2eafa5([0x68,0x69,0x67,0x68])}),_0x29234b[_0x2eafa5([0x6f,0x6e])](_0x2eafa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x50622e=>{_0x97d414(_0x50622e[_0x2eafa5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3406b3=!0x0,_0xbed50c(_0x50622e[_0x2eafa5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2eafa5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2eafa5([0x6c,0x6f,0x77])}),_0x4072fb[_0x2eafa5([0x74,0x68,0x65,0x6e])](()=>{_0x3406b3||_0xb39792(_0x2eafa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x142efb(){return _0x29234b[_0x2eafa5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2eafa5([0x76,0x69,0x65,0x77])][_0x2eafa5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2eafa5([0x61,0x75,0x74,0x6f]);}function _0x5cb8e2(){_0x29234b[_0x2eafa5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2eafa5([0x76,0x69,0x65,0x77])][_0x2eafa5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2eafa5([0x61,0x75,0x74,0x6f]);}}(_0xcf9fcb[_0x2eafa5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xcf9fcb[_0x2eafa5([0x6a,0x74,0x69])]));const _0x17404c=await(async function(){let _0x595916=!0x0;try{const _0x355a97=_0x1184c0[_0x2eafa5([0x73,0x70,0x6c,0x69,0x74])](_0x2eafa5([0x2e])),[_0x2f94e7,_0x40e1b1,_0x27aa53]=_0x355a97;return _0x4552c4(_0x2f94e7),await _0x558f21(_0x2f94e7,_0x40e1b1,_0x27aa53),_0x595916;}catch{return!0x1;}function _0x4552c4(_0x465c1f){const _0x1c44ec=_0x502bd1(_0x465c1f);_0x1c44ec&&_0x1c44ec[_0x2eafa5([0x61,0x6c,0x67])]==_0x2eafa5([0x45,0x53,0x32,0x35,0x36])||(_0x595916=!0x1);}async function _0x558f21(_0x412b32,_0x2feee5,_0x15e703){const _0x2fce17=window[_0x2eafa5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2eafa5([0x66,0x72,0x6f,0x6d])](_0x4a9498(_0x15e703),_0x3aeac9=>_0x3aeac9[_0x2eafa5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5a140c=new window[(_0x2eafa5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2eafa5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x412b32+_0x2eafa5([0x2e])+_0x2feee5),_0x5d1c31=window[_0x2eafa5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2eafa5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d1c31)return;const _0x1224d6=await _0x5d1c31[_0x2eafa5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2eafa5([0x6a,0x77,0x6b]),_0xfb216f,{[_0x2eafa5([0x6e,0x61,0x6d,0x65])]:_0x2eafa5([0x45,0x43,0x44,0x53,0x41]),[_0x2eafa5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2eafa5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2eafa5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d1c31[_0x2eafa5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2eafa5([0x6e,0x61,0x6d,0x65])]:_0x2eafa5([0x45,0x43,0x44,0x53,0x41]),[_0x2eafa5([0x68,0x61,0x73,0x68])]:{[_0x2eafa5([0x6e,0x61,0x6d,0x65])]:_0x2eafa5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1224d6,_0x2fce17,_0x5a140c)||(_0x595916=!0x1);}}());return _0x17404c?(function(){const _0x5a4085=_0xcf9fcb[_0x2eafa5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5a4085)return!0x1;if(_0x5a4085[_0x2eafa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2eafa5([0x2a])))return!0x0;if(_0x5a4085[_0x2eafa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2eafa5([0x41,0x49])))return!0x0;return!0x1;}())?(function(){const _0x5aea68=[_0x2eafa5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2eafa5([0x74,0x72,0x69,0x61,0x6c])][_0x2eafa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcf9fcb[_0x2eafa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2450bf/0x3e8:0x69e02680;return _0xcf9fcb[_0x2eafa5([0x65,0x78,0x70])]<_0x5aea68;}())?_0x2eafa5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x38ae54=_0xcf9fcb[_0x2eafa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x38ae54||0x0==_0x38ae54[_0x2eafa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x21e952}=new URL(window[_0x2eafa5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x38ae54[_0x2eafa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21e952))return!0x0;const _0x1baefc=_0x21e952[_0x2eafa5([0x73,0x70,0x6c,0x69,0x74])](_0x2eafa5([0x2e]));return _0x38ae54[_0x2eafa5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3fe581=>_0x3fe581[_0x2eafa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2eafa5([0x2a])))[_0x2eafa5([0x6d,0x61,0x70])](_0x32e70b=>_0x32e70b[_0x2eafa5([0x73,0x70,0x6c,0x69,0x74])](_0x2eafa5([0x2e])))[_0x2eafa5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x140672=>_0x140672[_0x2eafa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1baefc[_0x2eafa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2eafa5([0x6d,0x61,0x70])](_0xc038d3=>Array(_0x1baefc[_0x2eafa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xc038d3[_0x2eafa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2eafa5([0x66,0x69,0x6c,0x6c])](_0xc038d3[0x0]===_0x2eafa5([0x2a])?_0x2eafa5([0x2a]):'')[_0x2eafa5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xc038d3))[_0x2eafa5([0x73,0x6f,0x6d,0x65])](_0x1e5cd9=>_0x1baefc[_0x2eafa5([0x65,0x76,0x65,0x72,0x79])]((_0x18c6c5,_0x2c18b0)=>_0x1e5cd9[_0x2c18b0]===_0x18c6c5||_0x1e5cd9[_0x2c18b0]===_0x2eafa5([0x2a])));}())?(_0xcf9fcb[_0x2eafa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2eafa5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39c0e4=function(_0x524049){const _0x592328=new window[(_0x2eafa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x121997=>setTimeout(_0x121997,0x93ecc)),_0x4a4127=_0x4072fb[_0x2eafa5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2eafa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf5e8c3=>{let _0x5727b5=0x0;_0x29234b[_0x2eafa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2eafa5([0x6f,0x6e])](_0x2eafa5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3d28e7,_0x24c4d8)=>{_0x24c4d8[0x0][_0x2eafa5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5727b5++,0x5e8==_0x5727b5&&(_0xf5e8c3(),_0x3d28e7[_0x2eafa5([0x6f,0x66,0x66])]());});})),_0x43eb36=[_0x592328,_0x4a4127];return window[_0x2eafa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2eafa5([0x72,0x61,0x63,0x65])](_0x43eb36)[_0x2eafa5([0x74,0x68,0x65,0x6e])](()=>_0x524049);}(_0x2eafa5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x39c0e4&&_0x1ac5f7)return new window[(_0x2eafa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x572d3c,_0xa04bf3)=>{_0x39c0e4[_0x2eafa5([0x74,0x68,0x65,0x6e])](_0x572d3c,_0xa04bf3),_0x1ac5f7[_0x2eafa5([0x74,0x68,0x65,0x6e])](_0x16da86=>{_0x16da86!=_0x2eafa5([0x56,0x61,0x6c,0x69,0x64])&&_0x572d3c(_0x16da86);},_0xa04bf3);});return _0x39c0e4||_0x1ac5f7||_0x2eafa5([0x56,0x61,0x6c,0x69,0x64]);}())):_0x2eafa5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2eafa5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2eafa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2eafa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x502bd1(_0x5bf207){return _0x5bf207[_0x2eafa5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2eafa5([0x65,0x79]))?JSON[_0x2eafa5([0x70,0x61,0x72,0x73,0x65])](_0x4a9498(_0x5bf207)):null;}function _0x4a9498(_0x25ed2d){return window[_0x2eafa5([0x61,0x74,0x6f,0x62])](_0x25ed2d[_0x2eafa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2eafa5([0x2b]))[_0x2eafa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2eafa5([0x2f])));}function _0x338edf(_0x2a4fee){let _0x417c70=0x1505;function _0x3cce70(_0x39e70e){for(let _0x13b6ad=0x0;_0x13b6ad<_0x39e70e[_0x2eafa5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13b6ad++){const _0x39f9fe=_0x39e70e[_0x2eafa5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x13b6ad);_0x417c70=(_0x417c70<<0x5)+_0x417c70+_0x39f9fe,_0x417c70&=_0x417c70;}}return function _0x460217(_0x3d0c98){Array[_0x2eafa5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d0c98)?_0x3d0c98[_0x2eafa5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x460217):_0x3d0c98&&typeof _0x3d0c98==_0x2eafa5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2eafa5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d0c98)[_0x2eafa5([0x73,0x6f,0x72,0x74])]()[_0x2eafa5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x51df9a,_0x5c2fca])=>{_0x3cce70(_0x51df9a),_0x460217(_0x5c2fca);}):_0x3cce70(window[_0x2eafa5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d0c98));}(_0x2a4fee),_0x417c70>>>0x0;}function _0x523571(_0xffe7b5){return _0xffe7b5[_0x2eafa5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2eafa5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2eafa5([0x30]));}function _0x2b382e(_0x582c57){return _0x582c57[_0x2eafa5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2eafa5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2eafa5([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a1f66(){}function _0x2eafa5(_0x39505c){return _0x39505c['map'](_0x422b1e=>String['fromCharCode'](_0x422b1e))['join']('');}!function(_0x27c7e9){const _0x29f968=(function(){const _0x2197f5=window[_0x2eafa5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2eafa5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2eafa5([0x6e,0x6f,0x77])]())[_0x2eafa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2eafa5([0x2e]),'');let _0x3c04eb=_0x2eafa5([0x6e]);for(let _0x460585=0x0;_0x460585<_0x2197f5[_0x2eafa5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x460585+=0x2){let _0x3dd337=window[_0x2eafa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2197f5[_0x2eafa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x460585,_0x460585+0x2));_0x3dd337>=_0x4b1c3f[_0x2eafa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3dd337-=_0x4b1c3f[_0x2eafa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3c04eb+=_0x4b1c3f[_0x3dd337];}return _0x3c04eb;}());_0x29234b[_0x29f968]=_0x2eafa5([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x27c7e9,_0x27c7e9!=_0x2eafa5([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x4072fb,_0x29234b[_0x2eafa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2eafa5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a1f66,_0x29234b[_0x2eafa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2eafa5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a1f66,_0x29234b[_0x2eafa5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2eafa5([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x3b81f8);}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(_0x22f4d6){super(_0x22f4d6),this['name']='AIRequestError';}}function getTranslation$j(_0x302cc0,_0x1611c0,_0x2a4c27){const t=_0x302cc0['t'];switch(_0x1611c0){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',_0x2a4c27);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2a4c27);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'},_0x2a4c27);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 _0x1611c0;}}class ShowAIAssistantCommand extends ckeditor5['Command']{['_commandDefinitions'];constructor(_0xa2b159,_0x10374e){super(_0xa2b159),this['_commandDefinitions']=_0x10374e,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x2211dc,_0xaeaba6,_0xd6b073)=>{this['isEnabled']&&(this['enabledCommandsIds']=_getEnabledCommands(this['_commandDefinitions'],_0xd6b073));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x3f0e62,_0x100d7b,_0x301aa9)=>{this['enabledCommandsIds']=_0x301aa9?_getEnabledCommands(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x2e6071=this['editor']['model'];this['_hasContext']=_isContextAvailable(_0x2e6071);const _0x282bc2=_0x2e6071['document']['selection'],_0x5b7559=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x4665c2 of _0x282bc2['getRanges']())for(const _0x1badb0 of _0x4665c2['getItems']())if(_0x1badb0['is']('element')&&_0x5b7559['includes'](_0x1badb0['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0x38483e='',_0x222c08='',_0x28c1dc='custom'){this['editor']['plugins']['get'](AIAssistantUI)['showUI'](_0x38483e,_0x222c08,_0x28c1dc);}}function _isContextAvailable(_0x27710c){const _0x3bbf24=_0x27710c['document']['selection'];return _0x3bbf24['isCollapsed']?0x0!==[..._0x3bbf24['getSelectedBlocks']()]['length']&&![..._0x3bbf24['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x27710c['hasContent'](_0x3bbf24['getFirstRange']());}function _getEnabledCommands(_0x474c57,_0x31eaa5){const _0x319ad8=new Set();for(const _0x18e193 of _0x474c57['values']())(_0x31eaa5||!0x1===_0x18e193['requiresContent'])&&_0x319ad8['add'](_0x18e193['id']);return Array['from'](_0x319ad8);}const _0x2a4bab=0x64,_0x588139=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class AIAssistantController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x1c13fc,_0x49c02e,_0x54ee9e){super(),this['editor']=_0x1c13fc,this['textAdapter']=_0x49c02e,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x54ee9e,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x584ac3,_0x4df58f,_0x325c58)=>{this['view']['value']=this['_sanitizeHTML'](_0x325c58);}),this['listenTo'](this['view'],'submitPrompt',(_0x2cc585,_0x3944f8)=>{const _0x5453f8=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x3944f8,_0x5453f8,'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:_0x183519,query:_0x33765b,htmlContent:_0x5b6cc6,label:_0x36e82e,mainActionLabel:_0x285794}){this['view']['prompt']=_0x36e82e,this['view']['mainAction']=_0x285794,this['initialContext']=_0x5b6cc6,_0x33765b&&(this['view']['isRendered']?this['_handleQuery'](_0x33765b,_0x5b6cc6,_0x183519,_0x36e82e):this['view']['once']('render',()=>{this['_handleQuery'](_0x33765b,_0x5b6cc6,_0x183519,_0x36e82e);}));}['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'](_0x30d6f8,_0x461c26,_0x497d38,_0x260be2){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x461c26,this['previousQuery']=_0x30d6f8,this['previousLabel']=_0x260be2||_0x30d6f8,this['previousActionId']=_0x497d38,new Promise(_0x509cfb=>{this['textAdapter']['makeRequest']({'query':_0x30d6f8,'context':_0x461c26,'onData':_0x3c04bb=>{this['currentResponse']=_0x3c04bb,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x497d38})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x5a9062=>{_0x5a9062 instanceof AIRequestError?this['view']['handleError'](_0x5a9062['message']):this['view']['handleError'](),_0x509cfb();})['finally'](()=>{this['stopProcessing'](),_0x509cfb();});});}['_parseAndNormalizeContent'](_0x3db8f4,_0x5dccd0=!0x1){const _0x3831ef=_0x588139['exec'](_0x3db8f4);_0x3db8f4=_0x3831ef?_0x3db8f4['substring'](_0x3831ef[0x1]['length']):_0x3db8f4['length']<_0x2a4bab&&!_0x5dccd0?'':this['_stripMarkdownSyntax'](_0x3db8f4);const _0x570290=this['_domParser']['parseFromString'](_0x3db8f4,'text/html');if(_0x3831ef){const _0x942485=Array['from'](_0x570290['body']['childNodes']);_0x942485['reverse']();for(const _0x290232 of _0x942485){if(_0x290232['nodeType']==Node['ELEMENT_NODE'])break;_0x290232['remove']();}}const _0x35cc6c=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x570290['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x35cc6c);const _0x25035b=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x55a2ca=this['editor']['data']['toModel'](_0x35cc6c);return _0x25035b||_0x55a2ca['markers']['clear'](),this['editor']['data']['stringify'](_0x55a2ca);}['_normalizeResponseHeadings'](_0x4cc717){const _0x15181c=new ckeditor5['ViewUpcastWriter'](this['editor']['editing']['view']['document']),_0x1f7c0a=new ckeditor5['Matcher']({'name':/^h[1-5]$/}),_0x14634b=[];let _0xbd8ba3=!0x1;for(const _0x32afb7 of _0x4cc717)_0x32afb7['is']('element')&&_0x1f7c0a['match'](_0x32afb7)&&(_0x14634b['push'](_0x32afb7),'h1'==_0x32afb7['name']&&(_0xbd8ba3=!0x0));if(_0xbd8ba3){for(const _0x485076 of _0x14634b)_0x15181c['rename']('h'+(parseInt(_0x485076['name'][0x1])+0x1),_0x485076);}}['_isH1TagSupportEnabled'](){const {data:_0x6e0d30,editing:_0x214329}=this['editor'],_0x240908=_0x6e0d30['htmlProcessor']['toView']('<h1></h1>'),_0xefd02f=_0x6e0d30['toView'](_0x6e0d30['toModel'](_0x240908));return!!_0x214329['view']['domConverter']['viewToDom'](_0xefd02f)['querySelector']('h1');}['_sanitizeHTML'](_0x29c11e){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x29c11e),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x41eada){const _0x20969d=_0x41eada['trim']();return _0x20969d['startsWith']('```html')?_0x20969d['endsWith']('```')?_0x20969d['substring'](0x7,_0x20969d['length']-0x3):_0x20969d['substring'](0x7):_0x41eada;}}const AIFormToolbarViewMainActionLabel={'REPLACE':'replace','INSERT':'insert'};class _0x5d5ec7 extends ckeditor5['ToolbarView']{constructor(_0x3638ee){super(_0x3638ee),this['set']('isVisible',!0x1),this['set']('mainAction',AIFormToolbarViewMainActionLabel['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x345de3=>getTranslation$j(_0x3638ee,'AI_'+_0x345de3['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](getTranslation$j(_0x3638ee,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](getTranslation$j(_0x3638ee,'Try\x20again')),this['stopButton']=this['_createButton'](getTranslation$j(_0x3638ee,'Stop'));const _0x1f4203=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x1f4203['if']('isVisible','ck-hidden',_0x39b805=>!_0x39b805)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x570a52,_0x361e73){const _0x3b4304=new ckeditor5['ButtonView'](this['locale']);return _0x3b4304['set']({'label':_0x570a52,'class':_0x361e73||'','isVisible':!0x0,'withText':!0x0}),_0x3b4304;}}class AIFormContentArea extends ckeditor5['View']{['contentFieldView'];['copyButtonView'];constructor(_0x258605,_0x1418e2=''){super(_0x258605),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x123ded=this['bindTemplate'];this['contentFieldView']=new ContentFieldView(_0x258605,_0x1418e2),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x123ded['if']('isVisible','ck-hidden',_0x4ab13f=>!_0x4ab13f)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x123ded['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 _0x5ebd21=!0x1;this['on']('change:value',(_0x37114e,_0x1290d4,_0x607af1)=>{const _0x168e2f=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x607af1),this['isProcessing']&&_0x168e2f&&!_0x5ebd21&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x4c03e0,_0x3c9a5a,_0x109c4a)=>{_0x5ebd21=!0x1,_0x109c4a?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x5ebd21=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x5ebd21=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x28b85e=this['locale'],_0x1c4834=new ckeditor5['ButtonView'](this['locale']),_0x57055b='ck-ai-form__copy-button';return _0x1c4834['set']({'label':getTranslation$j(_0x28b85e,'Copy'),'icon':ckeditor5['IconCopy'],'class':_0x57055b,'tooltip':!0x0}),_0x1c4834['bind']('isVisible')['to'](this,'value',_0x8cb147=>!!_0x8cb147),_0x1c4834['bind']('isEnabled')['to'](this,'isProcessing',_0x1f1c43=>!_0x1f1c43),_0x1c4834['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x1c4834['icon']=ckeditor5['IconCheck'],_0x1c4834['class']=_0x57055b+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x1c4834['icon']=ckeditor5['IconCopy'],_0x1c4834['class']=_0x57055b;},0x3e8);}),_0x1c4834;}['_copyHTMLToClipboard'](_0x3804c6){const {window:_0x2ea9e6,document:_0x3e86b7}=ckeditor5['global'];if(_0x2ea9e6['ClipboardItem']){const {Blob:_0x2d1096,ClipboardItem:_0x30b240}=_0x2ea9e6,_0x11d7e9=[new _0x30b240({'text/html':new _0x2d1096([_0x3804c6['innerHTML']],{'type':'text/html'}),'text/plain':new _0x2d1096([_0x3804c6['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x11d7e9);}else{const _0x17d2b6=_0x3e86b7['createElement']('div');_0x17d2b6['style']['position']='absolute',_0x17d2b6['style']['left']='-9999px',_0x17d2b6['innerHTML']='<span>[</span>'+_0x3804c6['innerHTML']+'<span>]</span>',_0x3e86b7['body']['appendChild'](_0x17d2b6);const _0x3e9926=_0x3e86b7['createRange']();_0x3e9926['setStartAfter'](_0x17d2b6['firstElementChild']),_0x3e9926['setEndBefore'](_0x17d2b6['lastElementChild']);const _0x22fe87=_0x2ea9e6['getSelection']();_0x22fe87['removeAllRanges'](),_0x22fe87['addRange'](_0x3e9926),_0x3e86b7['execCommand']('copy'),_0x17d2b6['remove']();}}}class ContentFieldView extends ckeditor5['View']{constructor(_0x3fea4,_0x257ed0=''){super(_0x3fea4),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x257ed0,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x3400aa){this['element']['innerHTML']=_0x3400aa;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x55d088=new ckeditor5['View'](),_0x235190=this['locale'],_0xc46bb3=new ckeditor5['SpinnerView']();return _0xc46bb3['isVisible']=!0x0,_0x55d088['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0xc46bb3,{'text':getTranslation$j(_0x235190,'AI\x20is\x20writing...')}]}),_0x55d088['render'](),_0x55d088;}}class _0x534e83 extends ckeditor5['View']{constructor(_0x322ca7,_0x5275d4=''){super(_0x322ca7);const _0x5aef17=new ckeditor5['IconView'](),_0x49a352=this['bindTemplate'];this['set']('text',_0x5275d4),_0x5aef17['content']=ckeditor5['IconError'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x5aef17,{'text':_0x49a352['to']('text')}]});}}class AIFormPromptView extends ckeditor5['AutocompleteView']{['submitButtonView'];['showHistoryButtonView'];constructor(_0x386688,_0x1a1eed){super(_0x386688,_0x1a1eed),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',(_0x14fd2a,_0x2f7b3d)=>{_0x14fd2a['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x2f7b3d());});}['_createSubmitButton'](){const _0x5e3cea=new ckeditor5['ButtonView'](this['locale']),_0x516b76=this['locale'];return _0x5e3cea['set']({'icon':ckeditor5['IconSubmit'],'label':getTranslation$j(_0x516b76,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x5e3cea['on']('execute',()=>{this['submit']();}),_0x5e3cea['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0x40908a,_0x4a5d3f)=>!_0x40908a&&_0x4a5d3f),_0x5e3cea;}['_createShowHistoryButton'](){const _0xa57b53=new ckeditor5['ButtonView'](this['locale']),_0x234384=this['resultsView'],_0x3340a7=this['locale'];_0xa57b53['set']({'label':getTranslation$j(_0x3340a7,'History'),'withText':!0x1,'icon':ckeditor5['IconAIHistory'],'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0xa57b53['bind']('isOn')['to'](_0x234384,'isVisible'),_0xa57b53['bind']('isEnabled')['to'](this,'isEnabled'),_0xa57b53['on']('execute',()=>{_0x234384['isVisible']=!_0x234384['isVisible'],_0x234384['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x145ec3=()=>{ckeditor5['global']['window']['requestAnimationFrame'](()=>{if(ckeditor5['isVisible'](this['element'])){const _0xaad440=new ckeditor5['Rect'](this['queryView']['fieldView']['element']),_0xc20eb6=_0xaad440['width'],_0x1739a2='rtl'===_0x3340a7['uiLanguageDirection']?'left':'right';_0xaad440['excludeScrollbarsAndBorders'](),_0xa57b53['element']['style'][_0x1739a2]=_0xc20eb6-_0xaad440['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x145ec3),this['on']('render',_0x145ec3),_0xa57b53;}['submit'](){const _0xb8e469=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0xb8e469);}['focus'](_0x51e8bc){-0x1===_0x51e8bc?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class AIHistoryListView extends ckeditor5['ListView']{['historyGroupView'];['clearHistoryButton'];constructor(_0x5a560f){super(_0x5a560f),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new ckeditor5['ListItemGroupView'](),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=getTranslation$j(_0x5a560f,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x555708=0x0;for(const _0x2d914f of this['items'])_0x555708+=_0x2d914f['items']['length'];return{'resultsCount':_0x555708,'totalItemsCount':_0x555708};}['_createClearHistoryButton'](){const _0x139b5a=this['locale'],_0x175dca=new ckeditor5['ButtonView'](this['locale']);return _0x175dca['set']({'label':'('+getTranslation$j(_0x139b5a,'Clear')+')','withText':!0x0}),_0x175dca['on']('execute',()=>this['fire']('clearHistory')),_0x175dca;}}function isUnsafeProperty(_0xbf6f07){return'__proto__'===_0xbf6f07;}function _0x3b7b1e(_0x58fb15){switch(typeof _0x58fb15){case'number':case'symbol':return!0x1;case'string':return _0x58fb15['includes']('.')||_0x58fb15['includes']('[')||_0x58fb15['includes'](']');}}function toKey(_0x42c71d){return'string'==typeof _0x42c71d||'symbol'==typeof _0x42c71d?_0x42c71d:Object['is'](_0x42c71d?.['valueOf']?.(),-0x0)?'-0':String(_0x42c71d);}function toPath(_0x5527b0){const _0x29c8c6=[],_0x1f8176=_0x5527b0['length'];if(0x0===_0x1f8176)return _0x29c8c6;let _0x4cd8fe=0x0,_0xc9e605='',_0x1fb217='',_0xcaa5cc=!0x1;for(0x2e===_0x5527b0['charCodeAt'](0x0)&&(_0x29c8c6['push'](''),_0x4cd8fe++);_0x4cd8fe<_0x1f8176;){const _0x305c64=_0x5527b0[_0x4cd8fe];_0x1fb217?'\x5c'===_0x305c64&&_0x4cd8fe+0x1<_0x1f8176?(_0x4cd8fe++,_0xc9e605+=_0x5527b0[_0x4cd8fe]):_0x305c64===_0x1fb217?_0x1fb217='':_0xc9e605+=_0x305c64:_0xcaa5cc?'\x22'===_0x305c64||'\x27'===_0x305c64?_0x1fb217=_0x305c64:']'===_0x305c64?(_0xcaa5cc=!0x1,_0x29c8c6['push'](_0xc9e605),_0xc9e605=''):_0xc9e605+=_0x305c64:'['===_0x305c64?(_0xcaa5cc=!0x0,_0xc9e605&&(_0x29c8c6['push'](_0xc9e605),_0xc9e605='')):'.'===_0x305c64?_0xc9e605&&(_0x29c8c6['push'](_0xc9e605),_0xc9e605=''):_0xc9e605+=_0x305c64,_0x4cd8fe++;}return _0xc9e605&&_0x29c8c6['push'](_0xc9e605),_0x29c8c6;}function get(_0x44a9af,_0x41e725,_0x1aeba5){if(null==_0x44a9af)return _0x1aeba5;switch(typeof _0x41e725){case'string':{if(isUnsafeProperty(_0x41e725))return _0x1aeba5;const _0x187556=_0x44a9af[_0x41e725];return void 0x0===_0x187556?_0x3b7b1e(_0x41e725)?get(_0x44a9af,toPath(_0x41e725),_0x1aeba5):_0x1aeba5:_0x187556;}case'number':case'symbol':{'number'==typeof _0x41e725&&(_0x41e725=toKey(_0x41e725));const _0x41741d=_0x44a9af[_0x41e725];return void 0x0===_0x41741d?_0x1aeba5:_0x41741d;}default:{if(Array['isArray'](_0x41e725))return getWithPath(_0x44a9af,_0x41e725,_0x1aeba5);if(isUnsafeProperty(_0x41e725=Object['is'](_0x41e725?.['valueOf'](),-0x0)?'-0':String(_0x41e725)))return _0x1aeba5;const _0x4d374f=_0x44a9af[_0x41e725];return void 0x0===_0x4d374f?_0x1aeba5:_0x4d374f;}}}function getWithPath(_0x1f2cd7,_0x488da8,_0x3876c9){if(0x0===_0x488da8['length'])return _0x3876c9;let _0x4c0fab=_0x1f2cd7;for(let _0x4294ae=0x0;_0x4294ae<_0x488da8['length'];_0x4294ae++){if(null==_0x4c0fab)return _0x3876c9;if(isUnsafeProperty(_0x488da8[_0x4294ae]))return _0x3876c9;_0x4c0fab=_0x4c0fab[_0x488da8[_0x4294ae]];}return void 0x0===_0x4c0fab?_0x3876c9:_0x4c0fab;}function isObject$3(_0x8a26f7){return null!==_0x8a26f7&&('object'==typeof _0x8a26f7||'function'==typeof _0x8a26f7);}function isPrimitive(_0x48992e){return null==_0x48992e||'object'!=typeof _0x48992e&&'function'!=typeof _0x48992e;}function _0x1bc7b8(_0x35c0d8,_0x5a4287){return _0x35c0d8===_0x5a4287||Number['isNaN'](_0x35c0d8)&&Number['isNaN'](_0x5a4287);}function getSymbols(_0x14088f){return Object['getOwnPropertySymbols'](_0x14088f)['filter'](_0x531b34=>Object['prototype']['propertyIsEnumerable']['call'](_0x14088f,_0x531b34));}function getTag(_0x40a95d){return null==_0x40a95d?void 0x0===_0x40a95d?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x40a95d);}const _0x542574='[object\x20RegExp]',stringTag='[object\x20String]',_0x1da78e='[object\x20Number]',_0x10ec33='[object\x20Boolean]',argumentsTag='[object\x20Arguments]',_0x31875f='[object\x20Symbol]',dateTag='[object\x20Date]',_0xe4c9ab='[object\x20Map]',setTag='[object\x20Set]',_0x23e6f6='[object\x20Array]',functionTag='[object\x20Function]',_0xf456dc='[object\x20ArrayBuffer]',objectTag='[object\x20Object]',_0x436217='[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 _0x4bae31(_0xd344a9){return ArrayBuffer['isView'](_0xd344a9)&&!(_0xd344a9 instanceof DataView);}function cloneDeepWith$1(_0x3b9b11,_0x57b309){return cloneDeepWithImpl(_0x3b9b11,void 0x0,_0x3b9b11,new Map(),_0x57b309);}function cloneDeepWithImpl(_0x2727b7,_0x26d326,_0x4fb2c6,_0xd2164=new Map(),_0x1d1dc4=void 0x0){const _0x10cdd8=_0x1d1dc4?.(_0x2727b7,_0x26d326,_0x4fb2c6,_0xd2164);if(null!=_0x10cdd8)return _0x10cdd8;if(isPrimitive(_0x2727b7))return _0x2727b7;if(_0xd2164['has'](_0x2727b7))return _0xd2164['get'](_0x2727b7);if(Array['isArray'](_0x2727b7)){const _0xaa5665=new Array(_0x2727b7['length']);_0xd2164['set'](_0x2727b7,_0xaa5665);for(let _0x297b8c=0x0;_0x297b8c<_0x2727b7['length'];_0x297b8c++)_0xaa5665[_0x297b8c]=cloneDeepWithImpl(_0x2727b7[_0x297b8c],_0x297b8c,_0x4fb2c6,_0xd2164,_0x1d1dc4);return Object['hasOwn'](_0x2727b7,'index')&&(_0xaa5665['index']=_0x2727b7['index']),Object['hasOwn'](_0x2727b7,'input')&&(_0xaa5665['input']=_0x2727b7['input']),_0xaa5665;}if(_0x2727b7 instanceof Date)return new Date(_0x2727b7['getTime']());if(_0x2727b7 instanceof RegExp){const _0x81e70c=new RegExp(_0x2727b7['source'],_0x2727b7['flags']);return _0x81e70c['lastIndex']=_0x2727b7['lastIndex'],_0x81e70c;}if(_0x2727b7 instanceof Map){const _0x1f89fc=new Map();_0xd2164['set'](_0x2727b7,_0x1f89fc);for(const [_0x69c0b5,_0x4c11b5]of _0x2727b7)_0x1f89fc['set'](_0x69c0b5,cloneDeepWithImpl(_0x4c11b5,_0x69c0b5,_0x4fb2c6,_0xd2164,_0x1d1dc4));return _0x1f89fc;}if(_0x2727b7 instanceof Set){const _0x4e8ab4=new Set();_0xd2164['set'](_0x2727b7,_0x4e8ab4);for(const _0x58ae06 of _0x2727b7)_0x4e8ab4['add'](cloneDeepWithImpl(_0x58ae06,void 0x0,_0x4fb2c6,_0xd2164,_0x1d1dc4));return _0x4e8ab4;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x2727b7))return _0x2727b7['subarray']();if(_0x4bae31(_0x2727b7)){const _0x3d6c31=new(Object['getPrototypeOf'](_0x2727b7))['constructor'](_0x2727b7['length']);_0xd2164['set'](_0x2727b7,_0x3d6c31);for(let _0x359dd8=0x0;_0x359dd8<_0x2727b7['length'];_0x359dd8++)_0x3d6c31[_0x359dd8]=cloneDeepWithImpl(_0x2727b7[_0x359dd8],_0x359dd8,_0x4fb2c6,_0xd2164,_0x1d1dc4);return _0x3d6c31;}if(_0x2727b7 instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x2727b7 instanceof SharedArrayBuffer)return _0x2727b7['slice'](0x0);if(_0x2727b7 instanceof DataView){const _0x39763f=new DataView(_0x2727b7['buffer']['slice'](0x0),_0x2727b7['byteOffset'],_0x2727b7['byteLength']);return _0xd2164['set'](_0x2727b7,_0x39763f),copyProperties(_0x39763f,_0x2727b7,_0x4fb2c6,_0xd2164,_0x1d1dc4),_0x39763f;}if('undefined'!=typeof File&&_0x2727b7 instanceof File){const _0x447d83=new File([_0x2727b7],_0x2727b7['name'],{'type':_0x2727b7['type']});return _0xd2164['set'](_0x2727b7,_0x447d83),copyProperties(_0x447d83,_0x2727b7,_0x4fb2c6,_0xd2164,_0x1d1dc4),_0x447d83;}if(_0x2727b7 instanceof Blob){const _0x84d7e0=new Blob([_0x2727b7],{'type':_0x2727b7['type']});return _0xd2164['set'](_0x2727b7,_0x84d7e0),copyProperties(_0x84d7e0,_0x2727b7,_0x4fb2c6,_0xd2164,_0x1d1dc4),_0x84d7e0;}if(_0x2727b7 instanceof Error){const _0x52cd40=new _0x2727b7['constructor']();return _0xd2164['set'](_0x2727b7,_0x52cd40),_0x52cd40['message']=_0x2727b7['message'],_0x52cd40['name']=_0x2727b7['name'],_0x52cd40['stack']=_0x2727b7['stack'],_0x52cd40['cause']=_0x2727b7['cause'],copyProperties(_0x52cd40,_0x2727b7,_0x4fb2c6,_0xd2164,_0x1d1dc4),_0x52cd40;}if('object'==typeof _0x2727b7&&isCloneableObject(_0x2727b7)){const _0x15e64e=Object['create'](Object['getPrototypeOf'](_0x2727b7));return _0xd2164['set'](_0x2727b7,_0x15e64e),copyProperties(_0x15e64e,_0x2727b7,_0x4fb2c6,_0xd2164,_0x1d1dc4),_0x15e64e;}return _0x2727b7;}function copyProperties(_0x47603a,_0x4c4c2e,_0x45a27f=_0x47603a,_0x27f5c8,_0xc021c6){const _0x245c1a=[...Object['keys'](_0x4c4c2e),...getSymbols(_0x4c4c2e)];for(let _0x1d2cbb=0x0;_0x1d2cbb<_0x245c1a['length'];_0x1d2cbb++){const _0x334ac5=_0x245c1a[_0x1d2cbb],_0x1998f4=Object['getOwnPropertyDescriptor'](_0x47603a,_0x334ac5);(null==_0x1998f4||_0x1998f4['writable'])&&(_0x47603a[_0x334ac5]=cloneDeepWithImpl(_0x4c4c2e[_0x334ac5],_0x334ac5,_0x45a27f,_0x27f5c8,_0xc021c6));}}function isCloneableObject(_0x62dc67){switch(getTag(_0x62dc67)){case argumentsTag:case _0x23e6f6:case _0xf456dc:case dataViewTag:case _0x10ec33:case dateTag:case float32ArrayTag:case float64ArrayTag:case int8ArrayTag:case int16ArrayTag:case int32ArrayTag:case _0xe4c9ab:case _0x1da78e:case objectTag:case _0x542574:case setTag:case stringTag:case _0x31875f:case uint8ArrayTag:case uint8ClampedArrayTag:case uint16ArrayTag:case uint32ArrayTag:return!0x0;default:return!0x1;}}function _0x46515b(_0x2201fd){return cloneDeepWithImpl(_0x2201fd,void 0x0,_0x2201fd,new Map(),void 0x0);}function cloneDeepWith(_0x4cd0c6,_0x40cbc4){return cloneDeepWith$1(_0x4cd0c6,(_0x1acee8,_0x349c39,_0x14dc83,_0x3a7f86)=>{if('object'==typeof _0x4cd0c6)switch(Object['prototype']['toString']['call'](_0x4cd0c6)){case _0x1da78e:case stringTag:case _0x10ec33:{const _0x3db47e=new _0x4cd0c6['constructor'](_0x4cd0c6?.['valueOf']());return copyProperties(_0x3db47e,_0x4cd0c6),_0x3db47e;}case argumentsTag:{const _0x36858c={};return copyProperties(_0x36858c,_0x4cd0c6),_0x36858c['length']=_0x4cd0c6['length'],_0x36858c[Symbol['iterator']]=_0x4cd0c6[Symbol['iterator']],_0x36858c;}default:return;}});}function _0xf3eb06(_0x45d919){return cloneDeepWith(_0x45d919);}const _0x5d493b=/^(?:0|[1-9]\d*)$/;function _0x8019e1(_0x4f1707,_0x1d39dd=Number['MAX_SAFE_INTEGER']){switch(typeof _0x4f1707){case'number':return Number['isInteger'](_0x4f1707)&&_0x4f1707>=0x0&&_0x4f1707<_0x1d39dd;case'symbol':return!0x1;case'string':return _0x5d493b['test'](_0x4f1707);}}function isObjectLike(_0xedc2d8){return'object'==typeof _0xedc2d8&&null!==_0xedc2d8;}function _0x127db6(_0x268285){return'symbol'==typeof _0x268285||_0x268285 instanceof Symbol;}const _0x1db118=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_0x415233=/^\w*$/;function _0x3660a4(_0x240085,_0x45f980){return!Array['isArray'](_0x240085)&&(!('number'!=typeof _0x240085&&'boolean'!=typeof _0x240085&&null!=_0x240085&&!_0x127db6(_0x240085))||('string'==typeof _0x240085&&(_0x415233['test'](_0x240085)||!_0x1db118['test'](_0x240085))||null!=_0x45f980&&Object['hasOwn'](_0x45f980,_0x240085)));}function unset(_0x4820c2,_0x1e1c9d){if(null==_0x4820c2)return!0x0;switch(typeof _0x1e1c9d){case'symbol':case'number':case'object':if(Array['isArray'](_0x1e1c9d))return unsetWithPath(_0x4820c2,_0x1e1c9d);if('number'==typeof _0x1e1c9d?_0x1e1c9d=toKey(_0x1e1c9d):'object'==typeof _0x1e1c9d&&(_0x1e1c9d=Object['is'](_0x1e1c9d?.['valueOf'](),-0x0)?'-0':String(_0x1e1c9d)),isUnsafeProperty(_0x1e1c9d))return!0x1;if(void 0x0===_0x4820c2?.[_0x1e1c9d])return!0x0;try{return delete _0x4820c2[_0x1e1c9d],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x4820c2?.[_0x1e1c9d]&&_0x3b7b1e(_0x1e1c9d))return unsetWithPath(_0x4820c2,toPath(_0x1e1c9d));if(isUnsafeProperty(_0x1e1c9d))return!0x1;try{return delete _0x4820c2[_0x1e1c9d],!0x0;}catch{return!0x1;}}}function unsetWithPath(_0x474391,_0x328693){const _0x2be121=get(_0x474391,_0x328693['slice'](0x0,-0x1),_0x474391),_0x2a81fb=_0x328693[_0x328693['length']-0x1];if(void 0x0===_0x2be121?.[_0x2a81fb])return!0x0;if(isUnsafeProperty(_0x2a81fb))return!0x1;try{return delete _0x2be121[_0x2a81fb],!0x0;}catch{return!0x1;}}const _0xd20997=(_0x42a125,_0x1626b1,_0x208e9e)=>{const _0x4d68d7=_0x42a125[_0x1626b1];Object['hasOwn'](_0x42a125,_0x1626b1)&&_0x1bc7b8(_0x4d68d7,_0x208e9e)&&(void 0x0!==_0x208e9e||_0x1626b1 in _0x42a125)||(_0x42a125[_0x1626b1]=_0x208e9e);};function updateWith(_0xe99699,_0x3e2ce6,_0x150e40,_0x508e4a){if(null==_0xe99699&&!isObject$3(_0xe99699))return _0xe99699;const _0x8df821=_0x3660a4(_0x3e2ce6,_0xe99699)?[_0x3e2ce6]:Array['isArray'](_0x3e2ce6)?_0x3e2ce6:'string'==typeof _0x3e2ce6?toPath(_0x3e2ce6):[_0x3e2ce6];let _0x31811b=_0xe99699;for(let _0x5cedf3=0x0;_0x5cedf3<_0x8df821['length']&&null!=_0x31811b;_0x5cedf3++){const _0x8c481=toKey(_0x8df821[_0x5cedf3]);if(isUnsafeProperty(_0x8c481))continue;let _0x475e74;if(_0x5cedf3===_0x8df821['length']-0x1)_0x475e74=_0x150e40(_0x31811b[_0x8c481]);else{const _0x27ce95=_0x31811b[_0x8c481],_0x30fe35=_0x508e4a?.(_0x27ce95,_0x8c481,_0xe99699);_0x475e74=void 0x0!==_0x30fe35?_0x30fe35:isObject$3(_0x27ce95)?_0x27ce95:_0x8019e1(_0x8df821[_0x5cedf3+0x1])?[]:{};}_0xd20997(_0x31811b,_0x8c481,_0x475e74),_0x31811b=_0x31811b[_0x8c481];}return _0xe99699;}function set(_0x400dd5,_0x2eb0c3,_0x2eec16){return updateWith(_0x400dd5,_0x2eb0c3,()=>_0x2eec16,()=>{});}function _0x1aebd1(_0x2a8e85,_0x151e1d,{signal:_0x331ee2,edges:_0x2461ae}={}){let _0x9a051b,_0x4da499=null;const _0x2bf31f=null!=_0x2461ae&&_0x2461ae['includes']('leading'),_0x3a727a=null==_0x2461ae||_0x2461ae['includes']('trailing'),_0x410dae=()=>{null!==_0x4da499&&(_0x2a8e85['apply'](_0x9a051b,_0x4da499),_0x9a051b=void 0x0,_0x4da499=null);};let _0x120a34=null;const _0x1b3284=()=>{null!=_0x120a34&&clearTimeout(_0x120a34),_0x120a34=setTimeout(()=>{_0x120a34=null,_0x3a727a&&_0x410dae(),_0x579d20();},_0x151e1d);},_0x2f5e98=()=>{null!==_0x120a34&&(clearTimeout(_0x120a34),_0x120a34=null);},_0x579d20=()=>{_0x2f5e98(),_0x9a051b=void 0x0,_0x4da499=null;},_0x1d60e9=function(..._0x5e5ac9){if(_0x331ee2?.['aborted'])return;_0x9a051b=this,_0x4da499=_0x5e5ac9;const _0x31d3d1=null==_0x120a34;_0x1b3284(),_0x2bf31f&&_0x31d3d1&&_0x410dae();};return _0x1d60e9['schedule']=_0x1b3284,_0x1d60e9['cancel']=_0x579d20,_0x1d60e9['flush']=()=>{_0x2f5e98(),_0x410dae();},_0x331ee2?.['addEventListener']('abort',_0x579d20,{'once':!0x0}),_0x1d60e9;}function _0x587714(_0x4096f5,_0x2f9383=0x0,_0x13ecbd={}){'object'!=typeof _0x13ecbd&&(_0x13ecbd={});const {leading:_0x30f349=!0x1,trailing:_0x48c591=!0x0,maxWait:_0x30fa0f}=_0x13ecbd,_0x48f5ed=Array(0x2);let _0x2be0e0;_0x30f349&&(_0x48f5ed[0x0]='leading'),_0x48c591&&(_0x48f5ed[0x1]='trailing');let _0x188dc9=null;const _0x1bad35=_0x1aebd1(function(..._0x2bea25){_0x2be0e0=_0x4096f5['apply'](this,_0x2bea25),_0x188dc9=null;},_0x2f9383,{'edges':_0x48f5ed}),_0x54dcc8=function(..._0x2f0117){return null!=_0x30fa0f&&(null===_0x188dc9&&(_0x188dc9=Date['now']()),Date['now']()-_0x188dc9>=_0x30fa0f)?(_0x2be0e0=_0x4096f5['apply'](this,_0x2f0117),_0x188dc9=Date['now'](),_0x1bad35['cancel'](),_0x1bad35['schedule'](),_0x2be0e0):(_0x1bad35['apply'](this,_0x2f0117),_0x2be0e0);};return _0x54dcc8['cancel']=_0x1bad35['cancel'],_0x54dcc8['flush']=()=>(_0x1bad35['flush'](),_0x2be0e0),_0x54dcc8;}function throttle$1(_0x363783,_0x1b3378=0x0,_0x292a48={}){'object'!=typeof _0x292a48&&(_0x292a48={});const {leading:_0x14f63d=!0x0,trailing:_0x55004b=!0x0}=_0x292a48;return _0x587714(_0x363783,_0x1b3378,{'leading':_0x14f63d,'trailing':_0x55004b,'maxWait':_0x1b3378});}function toString$2(_0x3e44a7){if(null==_0x3e44a7)return'';if('string'==typeof _0x3e44a7)return _0x3e44a7;if(Array['isArray'](_0x3e44a7))return _0x3e44a7['map'](toString$2)['join'](',');const _0x2e29f2=String(_0x3e44a7);return'0'===_0x2e29f2&&Object['is'](Number(_0x3e44a7),-0x0)?'-0':_0x2e29f2;}function isPlainObject$1(_0x19ab2c){if(!_0x19ab2c||'object'!=typeof _0x19ab2c)return!0x1;const _0x2cceae=Object['getPrototypeOf'](_0x19ab2c);return!(null!==_0x2cceae&&_0x2cceae!==Object['prototype']&&null!==Object['getPrototypeOf'](_0x2cceae))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0x19ab2c);}function isEqualWith(_0x82c0d8,_0x491824,_0x1bf2de){return isEqualWithImpl(_0x82c0d8,_0x491824,void 0x0,void 0x0,void 0x0,void 0x0,_0x1bf2de);}function isEqualWithImpl(_0x52a63d,_0x316dc4,_0x1e4861,_0x2cfbb3,_0x2d8978,_0x5e6076,_0x13ee99){const _0x329c2c=_0x13ee99(_0x52a63d,_0x316dc4,_0x1e4861,_0x2cfbb3,_0x2d8978,_0x5e6076);if(void 0x0!==_0x329c2c)return _0x329c2c;if(typeof _0x52a63d==typeof _0x316dc4)switch(typeof _0x52a63d){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0x52a63d===_0x316dc4;case'number':return _0x52a63d===_0x316dc4||Object['is'](_0x52a63d,_0x316dc4);case'object':return areObjectsEqual(_0x52a63d,_0x316dc4,_0x5e6076,_0x13ee99);}return areObjectsEqual(_0x52a63d,_0x316dc4,_0x5e6076,_0x13ee99);}function areObjectsEqual(_0x11790f,_0x15e19f,_0x3e3bb8,_0x553a3f){if(Object['is'](_0x11790f,_0x15e19f))return!0x0;let _0x31373c=getTag(_0x11790f),_0x5daa9b=getTag(_0x15e19f);if(_0x31373c===argumentsTag&&(_0x31373c=objectTag),_0x5daa9b===argumentsTag&&(_0x5daa9b=objectTag),_0x31373c!==_0x5daa9b)return!0x1;switch(_0x31373c){case stringTag:return _0x11790f['toString']()===_0x15e19f['toString']();case _0x1da78e:return _0x1bc7b8(_0x11790f['valueOf'](),_0x15e19f['valueOf']());case _0x10ec33:case dateTag:case _0x31875f:return Object['is'](_0x11790f['valueOf'](),_0x15e19f['valueOf']());case _0x542574:return _0x11790f['source']===_0x15e19f['source']&&_0x11790f['flags']===_0x15e19f['flags'];case functionTag:return _0x11790f===_0x15e19f;}const _0x41955e=(_0x3e3bb8=_0x3e3bb8??new Map())['get'](_0x11790f),_0x132add=_0x3e3bb8['get'](_0x15e19f);if(null!=_0x41955e&&null!=_0x132add)return _0x41955e===_0x15e19f;_0x3e3bb8['set'](_0x11790f,_0x15e19f),_0x3e3bb8['set'](_0x15e19f,_0x11790f);try{switch(_0x31373c){case _0xe4c9ab:if(_0x11790f['size']!==_0x15e19f['size'])return!0x1;for(const [_0x30492d,_0x25d520]of _0x11790f['entries']())if(!_0x15e19f['has'](_0x30492d)||!isEqualWithImpl(_0x25d520,_0x15e19f['get'](_0x30492d),_0x30492d,_0x11790f,_0x15e19f,_0x3e3bb8,_0x553a3f))return!0x1;return!0x0;case setTag:{if(_0x11790f['size']!==_0x15e19f['size'])return!0x1;const _0x4c9e37=Array['from'](_0x11790f['values']()),_0x9f9aca=Array['from'](_0x15e19f['values']());for(let _0x467de0=0x0;_0x467de0<_0x4c9e37['length'];_0x467de0++){const _0x49ff6c=_0x4c9e37[_0x467de0],_0x35b945=_0x9f9aca['findIndex'](_0x4806bb=>isEqualWithImpl(_0x49ff6c,_0x4806bb,void 0x0,_0x11790f,_0x15e19f,_0x3e3bb8,_0x553a3f));if(-0x1===_0x35b945)return!0x1;_0x9f9aca['splice'](_0x35b945,0x1);}return!0x0;}case _0x23e6f6: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'](_0x11790f)!==Buffer['isBuffer'](_0x15e19f))return!0x1;if(_0x11790f['length']!==_0x15e19f['length'])return!0x1;for(let _0x2bf90f=0x0;_0x2bf90f<_0x11790f['length'];_0x2bf90f++)if(!isEqualWithImpl(_0x11790f[_0x2bf90f],_0x15e19f[_0x2bf90f],_0x2bf90f,_0x11790f,_0x15e19f,_0x3e3bb8,_0x553a3f))return!0x1;return!0x0;case _0xf456dc:return _0x11790f['byteLength']===_0x15e19f['byteLength']&&areObjectsEqual(new Uint8Array(_0x11790f),new Uint8Array(_0x15e19f),_0x3e3bb8,_0x553a3f);case dataViewTag:return _0x11790f['byteLength']===_0x15e19f['byteLength']&&_0x11790f['byteOffset']===_0x15e19f['byteOffset']&&areObjectsEqual(new Uint8Array(_0x11790f),new Uint8Array(_0x15e19f),_0x3e3bb8,_0x553a3f);case _0x436217:return _0x11790f['name']===_0x15e19f['name']&&_0x11790f['message']===_0x15e19f['message'];case objectTag:{if(!(areObjectsEqual(_0x11790f['constructor'],_0x15e19f['constructor'],_0x3e3bb8,_0x553a3f)||isPlainObject$1(_0x11790f)&&isPlainObject$1(_0x15e19f)))return!0x1;const _0x235735=[...Object['keys'](_0x11790f),...getSymbols(_0x11790f)],_0x5e4f4d=[...Object['keys'](_0x15e19f),...getSymbols(_0x15e19f)];if(_0x235735['length']!==_0x5e4f4d['length'])return!0x1;for(let _0x7e5750=0x0;_0x7e5750<_0x235735['length'];_0x7e5750++){const _0x5b4260=_0x235735[_0x7e5750],_0x5ebc28=_0x11790f[_0x5b4260];if(!Object['hasOwn'](_0x15e19f,_0x5b4260))return!0x1;if(!isEqualWithImpl(_0x5ebc28,_0x15e19f[_0x5b4260],_0x5b4260,_0x11790f,_0x15e19f,_0x3e3bb8,_0x553a3f))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0x3e3bb8['delete'](_0x11790f),_0x3e3bb8['delete'](_0x15e19f);}}function _0x9c688a(){}function _0x1df005(_0x407215,_0x1a4c43){return isEqualWith(_0x407215,_0x1a4c43,_0x9c688a);}function isPlainObject(_0x989372){if('object'!=typeof _0x989372)return!0x1;if(null==_0x989372)return!0x1;if(null===Object['getPrototypeOf'](_0x989372))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x989372)){const _0x5caeda=_0x989372[Symbol['toStringTag']];if(null==_0x5caeda)return!0x1;return!!Object['getOwnPropertyDescriptor'](_0x989372,Symbol['toStringTag'])?.['writable']&&_0x989372['toString']()==='[object\x20'+_0x5caeda+']';}let _0x2cdf27=_0x989372;for(;null!==Object['getPrototypeOf'](_0x2cdf27);)_0x2cdf27=Object['getPrototypeOf'](_0x2cdf27);return Object['getPrototypeOf'](_0x989372)===_0x2cdf27;}function omit(_0x384c1a,..._0x5224af){if(null==_0x384c1a)return{};const _0x4efdc3=_0x46515b(_0x384c1a);for(let _0x56301f=0x0;_0x56301f<_0x5224af['length'];_0x56301f++){let _0x58a1b0=_0x5224af[_0x56301f];switch(typeof _0x58a1b0){case'object':Array['isArray'](_0x58a1b0)||(_0x58a1b0=Array['from'](_0x58a1b0));for(let _0x3937ad=0x0;_0x3937ad<_0x58a1b0['length'];_0x3937ad++){unset(_0x4efdc3,_0x58a1b0[_0x3937ad]);}break;case'string':case'symbol':case'number':unset(_0x4efdc3,_0x58a1b0);}}return _0x4efdc3;}function isElement$2(_0x48b2f4){return isObjectLike(_0x48b2f4)&&0x1===_0x48b2f4['nodeType']&&!isPlainObject(_0x48b2f4);}const htmlEscapes={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function _0x2ce3d5(_0x26bcfd){return _0x26bcfd['replace'](/[&<>"']/g,_0x20df2a=>htmlEscapes[_0x20df2a]);}function _0x16b4c3(_0x305677){return _0x2ce3d5(toString$2(_0x305677));}function _0x541e94(_0x1d5989){return _0x1d5989['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}function _0x303f49(_0x28e135){return _0x541e94(toString$2(_0x28e135));}const htmlUnescapes={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function _0x4ea9af(_0x40f7a6){return _0x40f7a6['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0x461674=>htmlUnescapes[_0x461674]||'\x27');}function _0xc3a8c1(_0x53458b){return _0x4ea9af(toString$2(_0x53458b));}class AIHistoryListItemView extends ckeditor5['ListItemView']{constructor(_0x3cc2b7){super();const _0xda7ae4=new ckeditor5['ButtonLabelView'](),_0x15c2ab=new ckeditor5['ButtonView'](this['locale'],_0xda7ae4);this['children']['add'](_0x15c2ab),_0x15c2ab['set']({'label':_0x3cc2b7['prompt'],'withText':!0x0}),_0x15c2ab['on']('execute',()=>{this['fire']('execute',{'value':_0xc3a8c1(_0x3cc2b7['prompt'])});});}}const _0x20d4ba='CKEditor/AIFormView/PromptHistory',_0x4a5f1a=0x14;class PromptHistory extends ckeditor5['Collection']{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x1b30ce,_0x546979)=>{const _0x7d636e=normalizePromptText(_0x546979['prompt']);for(const _0x3c7123 of this)if(_0x3c7123!=_0x546979&&normalizePromptText(_0x3c7123['prompt'])===_0x7d636e){this['remove'](_0x3c7123);break;}this['length']>_0x4a5f1a&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x5441e9=sessionStorage['getItem'](_0x20d4ba)||'[]';this['addMany'](JSON['parse'](_0x5441e9));}['_saveToSessionStorage'](){sessionStorage['setItem'](_0x20d4ba,JSON['stringify'](this['map'](_0x420c94=>_0x420c94)));}}function normalizePromptText(_0x38f7f0){return _0x38f7f0['toLowerCase']()['trim']();}class _0x28c5ca extends ckeditor5['View']{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x2f6bfe,_0x11142c,_0x33f47d=''){super(_0x2f6bfe),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 _0x534e83(_0x2f6bfe),this['contentArea']=new AIFormContentArea(_0x2f6bfe,_0x33f47d),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 _0x1c64d5=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x11142c],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x1c64d5['if']('isError','ck-hidden',_0x1d33ae=>!_0x1d33ae)]},'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'](_0x45da27=0x1){-0x1===_0x45da27?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 _0x2c109f=this['locale'],_0xd4ebe6=new AIFormPromptView(_0x2c109f,{'queryView':{'label':getTranslation$j(_0x2c109f,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':ckeditor5['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':getTranslation$j(_0x2c109f,'Empty\x20history'),'secondary':getTranslation$j(_0x2c109f,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xd4ebe6['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x2b0c45,_0x2da483)=>_0x2b0c45&&!_0x2da483),this['listenTo'](_0xd4ebe6,'submit',(_0x4d920c,_0x200f01)=>{this['prompt']=_0x200f01;const _0x1d8178=_0x16b4c3(_0x200f01);this['fire']('submitPrompt',_0x1d8178),_0x200f01['trim']()&&this['_promptHistory']['add']({'prompt':_0x1d8178},0x0);},{'priority':'high'}),_0xd4ebe6;}['_createHistoryView'](){const _0x819c7a=new AIHistoryListView(this['locale']);return _0x819c7a['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](AIHistoryListItemView),_0x819c7a['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x819c7a;}['_createToolbar'](){const _0x32bb61=new _0x5d5ec7(this['locale']);return _0x32bb61['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x34d4fb,_0x84f81c,_0x475eaf)=>_0x34d4fb&&!_0x84f81c&&!!_0x475eaf),_0x32bb61['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x32bb61['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x526995,_0x78890f,_0x33cce4)=>_0x526995&&!_0x78890f&&!!_0x33cce4),_0x32bb61['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x32bb61['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x29eadf,_0x521a4d)=>_0x29eadf&&!_0x521a4d),_0x32bb61['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x32bb61['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x32bb61['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x32bb61;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x500cde=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=getTranslation$j(_0x500cde,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0xca761f){const _0x420c8b=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0xca761f||getTranslation$j(_0x420c8b,'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(_0x20989e){super(_0x20989e),_0x20989e['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0x20989e['config']['define']('ai.assistant.contentAreaCssClass',''),_0x20989e['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x20989e['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x419a40}=this;this['_aiAdapter']=_0x419a40['plugins']['get'](AIAdapter),this['_dialog']=_0x419a40['plugins']['get'](ckeditor5['Dialog']),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x1c6241=new ShowAIAssistantCommand(_0x419a40,Array['from'](this['_commandDefinitions']['values']()));_0x419a40['commands']['add']('showAIAssistant',_0x1c6241),_0x419a40['ui']['componentFactory']['add']('aiCommands',_0x178de8=>{const _0xbd156b=ckeditor5['createDropdown'](_0x178de8);return _0xbd156b['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0xbd156b['buttonView']['set']({'label':getTranslation$j(_0x178de8,'AI\x20Commands'),'icon':ckeditor5['IconMagicWand'],'tooltip':!0x0}),_0xbd156b['on']('execute',_0x1e7ca9=>this['_onExecute'](_0x1e7ca9['source']['id'])),ckeditor5['addMenuToDropdown'](_0xbd156b,_0x419a40['ui']['view']['body'],getMenuDropdownDefinition(_0x419a40),{'ariaLabel':getTranslation$j(_0x178de8,'AI\x20Commands')}),_0xbd156b['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x1c6241['on']('change:enabledCommandsIds',_0x2ca16d),_0xbd156b['menuView']['once']('render',_0x2ca16d),_0xbd156b;function _0x2ca16d(){_0xbd156b['isEnabled']=_0x1c6241['enabledCommandsIds']['length']>0x0;for(const _0x2965aa of _0xbd156b['menuView']['buttons'])_0x2965aa['isEnabled']=_0x1c6241['enabledCommandsIds']['includes'](_0x2965aa['id']);}}),_0x419a40['ui']['componentFactory']['add']('menuBar:aiCommands',_0x47152a=>{const _0x4f5fc6=new ckeditor5['MenuBarMenuView'](_0x47152a);_0x4f5fc6['buttonView']['set']({'label':getTranslation$j(_0x47152a,'AI\x20Commands'),'icon':ckeditor5['IconMagicWand']}),_0x4f5fc6['bind']('isEnabled')['to'](_0x1c6241,'enabledCommandsIds',_0x238215=>_0x238215['length']>0x0);const _0x37db15=_0x3a275d(_0x419a40['config']['get']('ai.assistant.commands'),_0x47152a);return this['_populateMenuBarMenu'](_0x1c6241,_0x4f5fc6,_0x37db15,_0x4d6f07=>this['_onExecute'](_0x4d6f07)),_0x4f5fc6;}),_0x419a40['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x146dcc=this['_createAIAssistantUIButton'](ckeditor5['ButtonView']);return _0x146dcc['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x146dcc;}),_0x419a40['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x43069e=this['_createAIAssistantUIButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x43069e['set']({'role':'menuitemcheckbox'}),_0x43069e;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x8f37a2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x42b334;for(const _0x5372e4 in _0x8f37a2){const _0x3fa8ab=_0x5372e4,_0x4aaa30=_0x8f37a2[_0x3fa8ab];if('aiLicenseKeyValid'==_0x4aaa30||'aiLicenseKeyInvalid'==_0x4aaa30||'aiLicenseKeyExpired'==_0x4aaa30||'aiLicenseKeyDomainLimit'==_0x4aaa30||'aiLicenseKeyNotAllowed'==_0x4aaa30||'aiLicenseKeyEvaluationLimit'==_0x4aaa30||'aiLicenseKeyUsageLimit'==_0x4aaa30){delete _0x8f37a2[_0x3fa8ab],_0x42b334=_0x4aaa30,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x42b334&&_0x8f37a2['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x42b334&&_0x8f37a2['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x42b334&&_0x8f37a2['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x42b334&&_0x8f37a2['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x42b334&&_0x8f37a2['_showLicenseError']('evaluationLimit'),'aiLicenseKeyUsageLimit'==_0x42b334&&_0x8f37a2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0x111384='',_0xd66409='',_0x5d9fd7='custom'){const _0x44f377=this['editor'],_0x295232=_0x44f377['editing']['view'],_0x397c49=_0x44f377['plugins']['get'](AIAssistantEditing),_0x315fa1=_0x44f377['plugins']['get'](ckeditor5['ClipboardMarkersUtils']);_0x397c49['showFakeVisualSelection']();const _0x1391dd=new DomDataTransfer(),_0x26f118=new ClipboardEvent('copy',{'clipboardData':_0x1391dd}),_0x47355=new ckeditor5['ViewDataTransfer'](_0x1391dd),_0x55c98f=new ckeditor5['ViewDocumentDomEventData'](_0x295232,_0x26f118,{'dataTransfer':_0x47355});_0x315fa1['_forceMarkersCopy']('comment',()=>{_0x295232['document']['fire']('copy',_0x55c98f);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new AIAssistantController(_0x44f377,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x213bd4=_0x47355['getData']('text/html');const _0x3f3f16=_0x44f377['model']['document']['selection'],_0x113c43=Array['from'](_0x3f3f16['getRanges']());0x1===_0x113c43['length']&&_0x113c43[0x0]['isFlat']&&!_0x3f3f16['getSelectedElement']()&&''!==_0x213bd4['replace'](/&nbsp;/g,'')['trim']()&&(_0x213bd4='<p>'+_0x213bd4+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x5d9fd7,'query':_0x111384,'htmlContent':_0x213bd4,'label':_0xd66409,'mainActionLabel':AIFormToolbarViewMainActionLabel[_0x44f377['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'](),_0x397c49['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0x43ff56=new Map(),_0x21de78=_0x3a275d(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x1cecb5 of _0x21de78)for(const _0x1f7d09 of _0x1cecb5['commands'])_0x43ff56['set'](_0x1f7d09['id'],{..._0x1f7d09,'groupId':_0x1cecb5['groupId'],'groupLabel':_0x1cecb5['groupLabel']||_0x1cecb5['groupId']});return _0x43ff56;}['_createAIAssistantUIButton'](_0x30f655){const _0x486d7f=this['editor'],_0xde8a1d=_0x486d7f['commands']['get']('showAIAssistant'),_0x56dc72=new _0x30f655(_0x486d7f['locale']);return _0x56dc72['set']({'label':getTranslation$j(_0x486d7f['locale'],'AI\x20Assistant'),'icon':ckeditor5['IconRobotPencil'],'isToggleable':!0x0}),_0x56dc72['bind']('isEnabled')['to'](_0xde8a1d),_0x56dc72['bind']('isOn')['to'](this['_dialog'],'id',_0x1b87a=>'aiAssistant'===_0x1b87a),this['listenTo'](_0x56dc72,'execute',()=>{_0x56dc72['isOn']?this['hideUI']():_0xde8a1d['execute']();}),_0x56dc72;}['_initView'](){const _0x388774=this['editor']['plugins']['get'](AIAssistantEditing);this['_formView']=new _0x28c5ca(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',()=>{_0x388774['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x388774['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x61e2b3,ui:{ariaLiveAnnouncer:_0x15dec8}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x2403ab,_0x247af4,_0x4c48b3)=>{const _0x564e6f=this['_aiAssistantController']['currentContext'];_0x4c48b3?_0x15dec8['announce'](getTranslation$j(_0x61e2b3,'AI\x20is\x20writing')):_0x564e6f&&_0x15dec8['announce'](getTranslation$j(_0x61e2b3,'Generated\x20content:\x20%0',_0x564e6f),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0xce8728,_0x563ccf,_0x502a47)=>{if(_0x502a47){const _0xc29fe1=this['_formView']['errorView']['text'];_0x15dec8['announce'](getTranslation$j(_0x61e2b3,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0xc29fe1));}});}['_onExecute'](_0x83dbb4){const _0x5350f6=this['_commandDefinitions']['get'](_0x83dbb4),_0x16df23=this['editor'],_0x50d478=_0x16df23['model']['document']['selection'],_0x17cffa=_0x16df23['commands']['get']('showAIAssistant'),_0x57f0bf=_0x16df23['plugins']['get'](AIAssistantEditing),_0x498104=''+(_0x5350f6['groupId']!==_0x44186f?_0x5350f6['groupLabel']+':\x20':'')+_0x5350f6['label'];if(!0x1!==_0x5350f6['requiresContent']&&_0x50d478['isCollapsed']){const _0xa86253=ckeditor5['first'](_0x50d478['getSelectedBlocks']())||_0x16df23['model']['schema']['getLimitElement'](_0x50d478);_0x16df23['model']['change'](_0x5f5724=>{_0x5f5724['setSelection'](_0xa86253,'in');});}_0x57f0bf['showFakeVisualSelection'](),_0x17cffa['execute'](_0x5350f6['prompt'],_0x498104,'command:'+_0x83dbb4);}['_populateMenuBarMenu'](_0x5c5630,_0x490d67,_0x1d6084,_0xb14a91){const _0x13de1d=this['editor'],_0x2ec592=_0x13de1d['locale'],_0x1602f4=new ckeditor5['MenuBarMenuListView'](_0x2ec592),_0x5c8e2a=sortDefinitionsByOrder(_0x13de1d,_0x1d6084)['filter'](_0x2cc232=>_0x2cc232['commands']['length']);0x1===_0x5c8e2a['length']?this['_getMenuBarGroupButtons']({'command':_0x5c5630,'commands':_0x5c8e2a[0x0]['commands'],'parentMenuView':_0x490d67,'onExecute':_0xb14a91})['forEach'](_0x4aacf3=>_0x1602f4['items']['add'](_0x4aacf3)):_0x5c8e2a['forEach'](({groupId:_0x5a895a,groupLabel:_0x345fe0,commands:_0x544365})=>{const _0x2c1069=new ckeditor5['MenuBarMenuListItemView'](_0x2ec592,_0x490d67),_0x5745e0=new ckeditor5['MenuBarMenuView'](_0x2ec592),_0x215bac=new ckeditor5['MenuBarMenuListView'](_0x2ec592),_0x42ffff=this['_getMenuBarGroupButtons']({'command':_0x5c5630,'commands':_0x544365,'parentMenuView':_0x5745e0,'onExecute':_0xb14a91});_0x5745e0['buttonView']['set']({'label':_0x345fe0||_0x5a895a}),_0x5745e0['delegate']('execute')['to'](_0x490d67),_0x215bac['items']['addMany'](_0x42ffff),_0x5745e0['panelView']['children']['add'](_0x215bac),_0x2c1069['children']['add'](_0x5745e0),_0x1602f4['items']['add'](_0x2c1069);}),_0x490d67['panelView']['children']['add'](_0x1602f4);}['_getMenuBarGroupButtons']({command:_0x4237c2,commands:_0x572e52,parentMenuView:_0x5df673,onExecute:_0x42e901}){const _0x523d58=this['editor'],_0x25be41=_0x523d58['locale'];return sortDefinitionsByOrder(_0x523d58,_0x572e52)['map'](_0x964f90=>{const _0x151065=new ckeditor5['MenuBarMenuListItemView'](_0x25be41,_0x5df673),_0x4fc516=new ckeditor5['MenuBarMenuListItemButtonView'](_0x25be41);return _0x4fc516['set']({'label':_0x964f90['label']}),_0x4fc516['delegate']('execute')['to'](_0x5df673),_0x4fc516['on']('execute',()=>_0x42e901(_0x964f90['id'])),_0x4fc516['bind']('isEnabled')['to'](_0x4237c2,'enabledCommandsIds',_0x87ccd3=>_0x87ccd3['includes'](_0x964f90['id'])),_0x151065['children']['add'](_0x4fc516),_0x151065;});}}function getMenuDropdownDefinition(_0x1a3aaa){const _0x476d27=_0x3a275d(_0x1a3aaa['config']['get']('ai.assistant.commands'),_0x1a3aaa['locale']),_0x4f7cec=sortDefinitionsByOrder(_0x1a3aaa,_0x476d27)['filter'](_0x4b855d=>_0x4b855d['commands']['length']);return 0x1===_0x4f7cec['length']?sortDefinitionsByOrder(_0x1a3aaa,_0x4f7cec[0x0]['commands'])['map'](_0x32a655=>({'id':_0x32a655['id'],'label':_0x32a655['label']})):_0x4f7cec['map'](_0xa2142e=>{const {groupId:_0x38b788,groupLabel:_0x77fdd8,commands:_0x47ae68}=_0xa2142e,_0xf0952b=sortDefinitionsByOrder(_0x1a3aaa,_0x47ae68)['map'](_0x39e9dc=>({'id':_0x39e9dc['id'],'label':_0x39e9dc['label']}));return{'id':_0x38b788,'menu':_0x77fdd8||_0x38b788,'children':_0xf0952b};});}function sortDefinitionsCallback(_0x2c239e,_0x4b346c){return void 0x0!==_0x2c239e['order']&&void 0x0===_0x4b346c['order']?0x1:void 0x0===_0x2c239e['order']&&void 0x0!==_0x4b346c['order']?-0x1:void 0x0!==_0x2c239e['order']&&void 0x0!==_0x4b346c['order']?_0x2c239e['order']-_0x4b346c['order']:0x0;}function sortDefinitionsByOrder(_0x505b04,_0x196118){_0x196118['sort'](sortDefinitionsCallback);const _0x299667={},_0x31a459=[];for(const _0x400fa7 of _0x196118)if(void 0x0!==_0x400fa7['order']){if(_0x400fa7['order']in _0x299667)throw new ckeditor5['CKEditorError']('ai-commands-config-order-collision',_0x505b04,{'conflictingDefinitions':[_0x400fa7,_0x299667[_0x400fa7['order']]]});_0x299667[_0x400fa7['order']]=_0x400fa7,_0x31a459['splice'](_0x400fa7['order'],0x0,_0x400fa7);}else _0x31a459['push'](_0x400fa7);return _0x31a459;}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(_0x76963c){super(_0x76963c);const _0x26da70=_0x76963c['config'],_0x10c6f0=_0x76963c['locale'];_0x26da70['define']('ai.assistant.preserveComments',!0x0),_0x26da70['define']('ai.assistant.commands',getDefaultAICommands(_0x10c6f0)),_0x26da70['define']('ai.assistant.extraCommandGroups',[]),_0x26da70['define']('ai.assistant.removeCommands',[]);let _0x373fec=_0x3a275d(_0x26da70['get']('ai.assistant.commands'),_0x10c6f0);const _0x5d35b9=_0x26da70['get']('ai.assistant.extraCommandGroups'),_0x5d0c0e=_0x26da70['get']('ai.assistant.removeCommands');_0x5d35b9['forEach'](_0x432d3d=>{const _0xdebe1b=_0x373fec['find'](_0x3b068c=>_0x3b068c['groupId']===_0x432d3d['groupId']);_0xdebe1b?_0xdebe1b['commands']=_0xdebe1b['commands']['concat'](_0x432d3d['commands']):_0x373fec['push'](_0x432d3d);}),_0x373fec=_0x373fec['filter'](_0x44ce03=>!_0x5d0c0e['includes'](_0x44ce03['groupId'])),_0x373fec['forEach'](_0x5c71fd=>{_0x5c71fd['commands']=_0x5c71fd['commands']['filter'](_0x52d961=>!_0x5d0c0e['includes'](_0x52d961['id']));}),_0x26da70['set']('ai.assistant.commands',_0x373fec);}}function getDefaultAICommands(_0x3ba1db){return[{'groupId':'editOrReview','groupLabel':getTranslation$j(_0x3ba1db,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':getTranslation$j(_0x3ba1db,'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(_0x3ba1db,'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(_0x3ba1db,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':getTranslation$j(_0x3ba1db,'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(_0x3ba1db,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':getTranslation$j(_0x3ba1db,'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(_0x3ba1db,'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(_0x3ba1db,'Change\x20tone'),'commands':[{'id':'professional','label':getTranslation$j(_0x3ba1db,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':getTranslation$j(_0x3ba1db,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':getTranslation$j(_0x3ba1db,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':getTranslation$j(_0x3ba1db,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':getTranslation$j(_0x3ba1db,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':getTranslation$j(_0x3ba1db,'Change\x20style'),'commands':[{'id':'business','label':getTranslation$j(_0x3ba1db,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':getTranslation$j(_0x3ba1db,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':getTranslation$j(_0x3ba1db,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':getTranslation$j(_0x3ba1db,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':getTranslation$j(_0x3ba1db,'Translate'),'commands':[{'id':'translateEnglish','label':getTranslation$j(_0x3ba1db,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':getTranslation$j(_0x3ba1db,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':getTranslation$j(_0x3ba1db,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':getTranslation$j(_0x3ba1db,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':getTranslation$j(_0x3ba1db,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':getTranslation$j(_0x3ba1db,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':getTranslation$j(_0x3ba1db,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':getTranslation$j(_0x3ba1db,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}class AITextAdapter extends ckeditor5['Plugin']{['abortController'];static get['requires'](){return[AIAdapter];}constructor(_0xf2a30c){super(_0xf2a30c),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'](_0x14eb6c){return this['sendRequest'](_0x14eb6c)['catch'](_0xd4d889=>{if(_0xd4d889 instanceof AIRequestError)return Promise['reject'](_0xd4d889);if('AbortError'==_0xd4d889['name'])return Promise['resolve']();throw console['error'](_0xd4d889),new ckeditor5['CKEditorError']('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x4fc491,_0x191573){const _0x3c4b9d=this['editor']['locale'],_0x50b521={'Content-Type':'application/json'};if('object'==typeof _0x4fc491)Object['assign'](_0x50b521,_0x4fc491);else{if(_0x4fc491)try{const _0x6e8e25=await _0x4fc491(_0x191573);Object['assign'](_0x50b521,_0x6e8e25);}catch{return Promise['reject'](new AIRequestError(getTranslation$j(_0x3c4b9d,'AI_ERROR_GET_HEADERS')));}}return _0x50b521;}async['_prepareRequestParameters'](_0x527a98,_0x5d7fc3){const _0x1da407=this['editor']['locale'];if('object'==typeof _0x527a98)return _0x527a98;try{return await _0x527a98(_0x5d7fc3);}catch{return Promise['reject'](new AIRequestError(getTranslation$j(_0x1da407,'AI_ERROR_GET_PARAMETERS')));}}}class OpenAITextAdapter extends AITextAdapter{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x3bd81a){super(_0x3bd81a),_0x3bd81a['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x3bd81a['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0x3bd81a['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x3bd81a['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0x3bd81a['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0x3bd81a['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async['sendRequest']({query:_0x1bc5b7,context:_0x3dd36e,onData:_0x5bab86,actionId:_0x4d41e7}){const _0xfb94e0=this['editor']['locale'],_0x4132b8=await this['prepareMessages'](_0x1bc5b7,_0x3dd36e,_0x4d41e7),_0x5351b2=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x4d41e7),_0x1c56e3=await this['_prepareRequestParameters'](this['_requestParameters'],_0x4d41e7),_0x1096da={'messages':_0x4132b8,..._0x1c56e3},_0x6e5f84={'method':'POST','headers':_0x5351b2,'body':JSON['stringify'](_0x1096da),'signal':this['abortController']['signal']},_0xb4ebfb=await fetch(this['_apiUrl'],_0x6e5f84);if(_0xb4ebfb['ok'])return _0x1c56e3['stream']?await this['_readStreamableResponse'](_0xb4ebfb,_0x5bab86):await this['_readStaticResponse'](_0xb4ebfb,_0x5bab86),Promise['resolve']();{const _0x45b847=await _0xb4ebfb['text']();return _0x45b847['includes']('context_length_exceeded')?Promise['reject'](new AIRequestError(getTranslation$j(_0xfb94e0,'AI_ERROR_CONTEXT_LENGTH'))):_0x45b847['includes']('Moderation')?Promise['reject'](new AIRequestError(getTranslation$j(_0xfb94e0,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x45b847));}}async['prepareMessages'](_0x367184,_0x584e4f,_0x46326e){let _0x3bab6a,_0x92838;return _0x584e4f?(_0x3bab6a='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.',_0x92838='Instruction:\x0a'+_0x367184+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x584e4f):(_0x3bab6a='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.',_0x92838=_0x367184),[{'role':'system','content':_0x3bab6a},{'role':'user','content':_0x92838}];}async['_readStreamableResponse'](_0x224286,_0x43b2f7){const _0x240b2b=_0x224286['body']['getReader'](),_0x3b172b=new TextDecoder();let _0x4c8b7e='',_0x5e3531='',_0x274f73='',_0x240678=!0x1;for(;!_0x240678;){const {done:_0x360740,value:_0x598f8d}=await _0x240b2b['read'](),_0x5cd8f3=_0x4c8b7e+_0x3b172b['decode'](_0x598f8d);let _0x1029ed='';_0x240678=_0x360740;try{_0x1029ed=this['_cleanUpData'](_0x5cd8f3),_0x4c8b7e='';}catch{_0x4c8b7e=_0x5cd8f3;continue;}_0x5e3531+=_0x1029ed,!_0x240678&&this['_isBufferIncomplete'](_0x5e3531)||_0x5e3531&&(_0x274f73+=_0x5e3531,_0x5e3531='',_0x43b2f7(_0x274f73));}return Promise['resolve']();}async['_readStaticResponse'](_0x3c0a63,_0x5ea87e){return _0x5ea87e((await _0x3c0a63['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x1c4e89){const _0x574950=_0x1c4e89['split']('<')['length']!==_0x1c4e89['split']('>')['length'],_0x290c41=_0x1c4e89['length']<0x1e;return _0x574950&&_0x290c41;}['_cleanUpData'](_0x57af0d){return _0x57af0d['split'](/\n(?![^{]*\})/g)['map'](_0x181825=>_0x181825['replace']('data:\x20',''))['filter'](_0x1c35ed=>_0x1c35ed&&_0x1c35ed['length']>0x0&&'[DONE]'!==_0x1c35ed)['map'](_0x27a441=>{const {choices:_0x42669e}=JSON['parse'](_0x27a441);if(_0x42669e[0x0]?.['delta']?.['content'])return _0x42669e[0x0]['delta']['content'];})['filter'](_0x4d1fa7=>_0x4d1fa7)['join']('');}}class AWSTextAdapter extends AITextAdapter{static get['pluginName'](){return'AWSTextAdapter';}['init'](){super['init'](),ckeditor5['logWarning']('ai-aws-adapter-not-supported');}async['sendRequest'](_0x8d1e0f){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(_0x55cea5,_0x17b46c={}){super(_0x55cea5),this['isToggleable']=!0x0,this['set']('side',_0x17b46c['side']||'top');const _0x40cf81=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',...ckeditor5['toArray'](_0x17b46c['class']||[]),_0x40cf81['to']('side',_0x190a15=>'ck-tab-button_'+_0x190a15),_0x40cf81['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x38e63d extends ckeditor5['View']{['children'];constructor(_0x3fb4a7,_0x50e620={}){super(_0x3fb4a7);const _0x5a4f33=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-tab-panel',...ckeditor5['toArray'](_0x50e620['class']||[]),_0x5a4f33['to']('class'),_0x5a4f33['if']('isVisible','ck-hidden',_0x22293a=>!_0x22293a)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x4fdc52 extends ckeditor5['View']{['buttonViews']=this['createCollection']();['panelViews']=this['createCollection']();['_tabs']=new Map();constructor(_0x129bdd,_0x3814d4={}){super(_0x129bdd),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x3814d4['side']||'top'),this['set']('isMaximized',!0x1);const _0x5c8f3e=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',...ckeditor5['toArray'](_0x3814d4['class']||[]),_0x5c8f3e['to']('side',_0x2e7367=>'ck-tabs_'+_0x2e7367),_0x5c8f3e['to']('class'),_0x5c8f3e['to']('isMaximized',_0xd5c860=>_0xd5c860?'ck-ai-tabs_maximized':'')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0x5c8f3e['to']('side',_0xdc42b7=>'ck-tabs__buttons-container_'+_0xdc42b7)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0x5c8f3e['to']('side',_0x51b44f=>'ck-tabs__panels-container_'+_0x51b44f)]},'children':this['panelViews']},...ckeditor5['toArray'](_0x3814d4['children']||[])]});}['getTabIds'](){return[...this['_tabs']['keys']()];}['getTab'](_0x491a5e){const _0x5471a8=this['_tabs']['get'](_0x491a5e);return _0x5471a8||null;}['addTab'](_0x19fc69){const _0x5ed4bb=this['_setupButton']({'id':_0x19fc69['id'],'label':_0x19fc69['buttonLabel'],'icon':_0x19fc69['buttonIcon'],'order':_0x19fc69['order']}),_0x36e459=new _0x38e63d(this['locale']);return _0x36e459['render'](),_0x19fc69['content']&&_0x36e459['children']['add'](_0x19fc69['content']),this['panelViews']['add'](_0x36e459),this['_tabs']['set'](_0x19fc69['id'],{'button':_0x5ed4bb,'panel':_0x36e459,'order':void 0x0!==_0x19fc69['order']?_0x19fc69['order']:null}),this['fire']('addTab:'+_0x19fc69['id'],{'id':_0x19fc69['id'],'button':_0x5ed4bb,'panel':_0x36e459}),null===this['activeTab']?this['activateTab'](_0x19fc69['id']):this['_hidePanel'](_0x19fc69['id']),{'button':_0x5ed4bb,'panel':_0x36e459};}['activateTab'](_0x11b356){if(null!==_0x11b356&&!this['getTab'](_0x11b356))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x11b356});this['activeTab']!==_0x11b356&&(this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0x11b356,_0x11b356&&this['_showPanel'](_0x11b356),this['fire']('activateTab:'+_0x11b356,_0x11b356));}['showTab'](_0x3ba144){if(!this['getTab'](_0x3ba144))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x3ba144});this['_showPanel'](_0x3ba144),this['_showButton'](_0x3ba144),this['fire']('show:'+_0x3ba144,_0x3ba144);}['hideTab'](_0x572578){if(!this['getTab'](_0x572578))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x572578});const _0x25e4d8=this['activeTab'];this['_hidePanel'](_0x572578),this['_hideButton'](_0x572578);const _0x171d95=this['getTabIds']();_0x25e4d8===_0x572578&&_0x171d95['length']>0x1&&this['activateTab'](_0x171d95['find'](_0x14e5c0=>_0x14e5c0!==_0x572578)),this['fire']('hide:'+_0x572578,_0x572578);}['_getPanel'](_0xbbf438){const _0x31103c=this['_tabs']['get'](_0xbbf438);return _0x31103c?_0x31103c['panel']:null;}['_showPanel'](_0x5ac184){null!==this['activeTab']&&this['activeTab']!==_0x5ac184||this['_getPanel'](_0x5ac184)['show']();}['_hidePanel'](_0x265996){const _0xb5a7b1=this['_getPanel'](_0x265996);_0xb5a7b1['isVisible']&&(this['activeTab']===_0x265996&&(this['activeTab']=null),_0xb5a7b1['hide']());}['_getButton'](_0x9f3d5a){const _0x42a0e5=this['_tabs']['get'](_0x9f3d5a);return _0x42a0e5?_0x42a0e5['button']:null;}['_showButton'](_0x42529c){this['_getButton'](_0x42529c)['show']();}['_hideButton'](_0x53f1c7){this['_getButton'](_0x53f1c7)['hide']();}['_setupButton'](_0x3d2fb2){const _0x2e0498=new TabButtonView(this['locale'],{'side':this['side']}),_0x3e6fe5=this['buttonViews'];if(_0x2e0498['set']({'label':_0x3d2fb2['label'],'icon':_0x3d2fb2['icon'],'tooltip':!0x0,'withText':!0x0}),_0x2e0498['bind']('isOn')['to'](this,'activeTab',_0x2dca75=>_0x2dca75===_0x3d2fb2['id']),_0x2e0498['bind']('side')['to'](this,'side'),_0x3d2fb2['order']){const _0x4d98ba=[...this['_tabs']]['reduce']((_0x2ff084,_0x8d87c7)=>{const _0x39d1b1=_0x8d87c7[0x0],{order:_0x1c24ac}=_0x8d87c7[0x1];return!_0x1c24ac||_0x1c24ac>_0x3d2fb2['order']?_0x2ff084:_0x1c24ac>=_0x2ff084['order']?{'id':_0x39d1b1,'order':_0x1c24ac}:_0x2ff084;},{'id':'','order':0x0}),_0x339df3=_0x3e6fe5['getIndex'](this['_getButton'](_0x4d98ba['id']));_0x3e6fe5['add'](_0x2e0498,_0x339df3+0x1);}else _0x3e6fe5['add'](_0x2e0498);return _0x2e0498['on']('execute',()=>{this['activateTab'](_0x3d2fb2['id']);}),_0x2e0498;}}const _0x43fce3=['overlay','sidebar','custom'],_0x8b4180=['left','right'];class _0x163bd3 extends _0x4fdc52{constructor(_0x4db73c,_0xdd4cb8={}){super(_0x4db73c,_0xdd4cb8),this['set']('type',_0xdd4cb8['type']||'sidebar'),this['set']('side',_0xdd4cb8['side']||'right'),this['set']('isVisible',_0xdd4cb8['visibleByDefault']??!0x0);const _0x5a9ae6=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0x5a9ae6['if']('type','ck-ai-tabs__overlay',_0x42f59c=>'overlay'===_0x42f59c),_0x5a9ae6['if']('type','ck-ai-tabs__sidebar',_0x5083a9=>'sidebar'===_0x5083a9),_0x5a9ae6['if']('isVisible','ck-hidden',_0xca6e3a=>!_0xca6e3a)]}}),this['buttonViews']['on']('add',(_0x32285c,_0x148b90)=>{_0x148b90['set']('withText',!0x1);});}}class _0x337f5c extends ckeditor5['ContextPlugin']{['view'];['container']=null;['showResizeButton']=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x385f46){super(_0x385f46);const _0x34eef6=this['context']['config']['get']('ai.container');if(this['set']('side','right'),!_0x34eef6)throw new ckeditor5['CKEditorError']('ai-tabs-configuration-not-found');if(void 0x0!==_0x34eef6['showResizeButton']&&(this['showResizeButton']=_0x34eef6['showResizeButton']),'sidebar'!==_0x34eef6['type']&&'overlay'!==_0x34eef6['type']||_0x34eef6['side']&&(this['side']=_0x34eef6['side']),'sidebar'===_0x34eef6['type']){if(this['container']=_0x34eef6['element'],this['set']('type','sidebar'),!this['container'])throw new ckeditor5['CKEditorError']('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0x34eef6['type']?(this['container']=document['body'],this['set']('type','overlay')):(this['container']=null,this['set']('type','custom'));this['view']=new _0x163bd3(this['context']['locale'],{'side':this['side'],'type':this['type'],'visibleByDefault':void 0x0===_0x34eef6['visibleByDefault']||_0x34eef6['visibleByDefault']}),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']);}['switchType'](_0x1b8707){if(_0x1b8707&&this['type']!==_0x1b8707){if(!_0x43fce3['includes'](_0x1b8707))throw new ckeditor5['CKEditorError']('ai-tabs-unsupported-ui-type');this['type']=_0x1b8707;}}['switchSide'](_0x46f6f4){if(_0x46f6f4&&this['side']!==_0x46f6f4){if(!_0x8b4180['includes'](_0x46f6f4))throw new ckeditor5['CKEditorError']('ai-tabs-unsupported-ui-side');this['side']=_0x46f6f4;}}['resize'](){this['view']['isMaximized']=!this['view']['isMaximized'],this['fire']('resizedTabs',this['view']['isMaximized']);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['view']['element']&&this['view']['element']['remove']();}}class _0x2d2d85 extends Error{constructor(_0x4250dd,_0x23c639){super(_0x4250dd),this['name']='ParseError',this['type']=_0x23c639['type'],this['field']=_0x23c639['field'],this['value']=_0x23c639['value'],this['line']=_0x23c639['line'];}}function _0x449bad(_0x3c06ca){}function createParser(_0x27f419){if('function'==typeof _0x27f419)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0x3fdcd9=_0x449bad,onError:_0x37c4a6=_0x449bad,onRetry:_0x3366c4=_0x449bad,onComment:_0x55fa12}=_0x27f419;let _0x2b2d19,_0x5b692b='',_0x330d40=!0x0,_0x5b15f8='',_0x482855='';function _0x2683c4(_0x24bd0d){if(''===_0x24bd0d)return _0x5b15f8['length']>0x0&&_0x3fdcd9({'id':_0x2b2d19,'event':_0x482855||void 0x0,'data':_0x5b15f8['endsWith']('\x0a')?_0x5b15f8['slice'](0x0,-0x1):_0x5b15f8}),_0x2b2d19=void 0x0,_0x5b15f8='',void(_0x482855='');if(_0x24bd0d['startsWith'](':'))return void(_0x55fa12&&_0x55fa12(_0x24bd0d['slice'](_0x24bd0d['startsWith'](':\x20')?0x2:0x1)));const _0xe13dd4=_0x24bd0d['indexOf'](':');if(-0x1!==_0xe13dd4){const _0x3b36e5=_0x24bd0d['slice'](0x0,_0xe13dd4),_0x29c8b1='\x20'===_0x24bd0d[_0xe13dd4+0x1]?0x2:0x1;return void _0x309793(_0x3b36e5,_0x24bd0d['slice'](_0xe13dd4+_0x29c8b1),_0x24bd0d);}_0x309793(_0x24bd0d,'',_0x24bd0d);}function _0x309793(_0xc8037c,_0x51913b,_0x42b201){switch(_0xc8037c){case'event':_0x482855=_0x51913b;break;case'data':_0x5b15f8=''+_0x5b15f8+_0x51913b+'\x0a';break;case'id':_0x2b2d19=_0x51913b['includes']('\x00')?void 0x0:_0x51913b;break;case'retry':/^\d+$/['test'](_0x51913b)?_0x3366c4(parseInt(_0x51913b,0xa)):_0x37c4a6(new _0x2d2d85('Invalid\x20`retry`\x20value:\x20\x22'+_0x51913b+'\x22',{'type':'invalid-retry','value':_0x51913b,'line':_0x42b201}));break;default:_0x37c4a6(new _0x2d2d85('Unknown\x20field\x20\x22'+(_0xc8037c['length']>0x14?_0xc8037c['slice'](0x0,0x14)+'…':_0xc8037c)+'\x22',{'type':'unknown-field','field':_0xc8037c,'value':_0x51913b,'line':_0x42b201}));}}return{'feed':function(_0x3c7e23){const _0x5a1cef=_0x330d40?_0x3c7e23['replace'](/^\xEF\xBB\xBF/,''):_0x3c7e23,[_0x514ff5,_0x1fed36]=splitLines(''+_0x5b692b+_0x5a1cef);for(const _0x2034bc of _0x514ff5)_0x2683c4(_0x2034bc);_0x5b692b=_0x1fed36,_0x330d40=!0x1;},'reset':function(_0x40b0d5={}){_0x5b692b&&_0x40b0d5['consume']&&_0x2683c4(_0x5b692b),_0x330d40=!0x0,_0x2b2d19=void 0x0,_0x5b15f8='',_0x482855='',_0x5b692b='';}};}function splitLines(_0xb0cea3){const _0x31b3af=[];let _0x11aa4a='',_0x4e75d9=0x0;for(;_0x4e75d9<_0xb0cea3['length'];){const _0x2c60ae=_0xb0cea3['indexOf']('\x0d',_0x4e75d9),_0x34e92b=_0xb0cea3['indexOf']('\x0a',_0x4e75d9);let _0x527e34=-0x1;if(-0x1!==_0x2c60ae&&-0x1!==_0x34e92b?_0x527e34=Math['min'](_0x2c60ae,_0x34e92b):-0x1!==_0x2c60ae?_0x527e34=_0x2c60ae:-0x1!==_0x34e92b&&(_0x527e34=_0x34e92b),-0x1===_0x527e34){_0x11aa4a=_0xb0cea3['slice'](_0x4e75d9);break;}{const _0x3fbc3f=_0xb0cea3['slice'](_0x4e75d9,_0x527e34);_0x31b3af['push'](_0x3fbc3f),_0x4e75d9=_0x527e34+0x1,'\x0d'===_0xb0cea3[_0x4e75d9-0x1]&&'\x0a'===_0xb0cea3[_0x4e75d9]&&_0x4e75d9++;}}return[_0x31b3af,_0x11aa4a];}const _0x44a64e='1';class AIConnector extends ckeditor5['ContextPlugin']{['_apiUrl'];['_token'];['_decoder'];static get['requires'](){return['CloudServices'];}static get['pluginName'](){return'AIConnector';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x17cda6){super(_0x17cda6),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();}['init'](){const _0x2652fa=this['context']['plugins']['get']('CloudServices');if(!_0x2652fa['token'])throw new ckeditor5['CKEditorError']('ai-missing-token',this);this['_token']=_0x2652fa['token'];}['startConversation'](_0x621ee0,_0x5b0f0f){const _0x34c136=this['_sendApiRequest']('/conversations','POST',{'id':_0x621ee0,'group':_0x5b0f0f});return{'getConversation':async()=>(await _0x34c136['request'])['json'](),'abortController':_0x34c136['abortController']};}['queryAssistant']({message:_0x2d27ae,conversationId:_0x5b344c,parts:_0x5aedc9,capabilities:_0x4a9127,model:_0x4acead,attributes:_0x32f8ae}){const _0x5d637a={'prompt':_0x2d27ae,'content':_0x5aedc9,'model':_0x4acead,..._0x4a9127&&{'capabilities':_0x4a9127},..._0x32f8ae&&{'attributes':_0x32f8ae}},_0x594c56=this['_sendApiRequest']('/conversations/'+_0x5b344c+'/messages','POST',_0x5d637a);return{'getStream':async()=>{const _0xf18fe5=(await _0x594c56['request'])['body'];return this['_getStreamReader'](_0xf18fe5);},'abortController':_0x594c56['abortController']};}['executeCustomAction']({content:_0x3078f2,message:_0x238b1d,model:_0x259c86,outputFormat:_0x55c8a1}){const _0x4b8896={'content':[{'type':'text','content':_0x3078f2}],'prompt':_0x238b1d,'model':_0x259c86,'outputFormat':_0x55c8a1},_0x17de96=this['_sendApiRequest']('/actions/custom/calls','POST',_0x4b8896);return{'getStream':async()=>{const _0x3f8705=(await _0x17de96['request'])['body'];return this['_getStreamReader'](_0x3f8705);},'abortController':_0x17de96['abortController']};}['executeAction']({actionName:_0x15881d,content:_0x1cfed2,args:_0x211560}){const _0x1084c6={'content':[{'type':'text','content':_0x1cfed2}],'args':_0x211560},_0x39f8f2=this['_sendApiRequest']('/actions/system/'+_0x15881d+'/calls','POST',_0x1084c6);return{'getStream':async()=>{const _0x11cbef=(await _0x39f8f2['request'])['body'];return this['_getStreamReader'](_0x11cbef);},'abortController':_0x39f8f2['abortController']};}['uploadFile'](_0x473f5d,_0x27020b,_0x2e3384){const _0x9db90=new FormData();_0x9db90['append']('file',_0x27020b,_0x27020b['name']),_0x2e3384&&_0x9db90['append']('attributes',JSON['stringify'](_0x2e3384));const _0x1f9945=this['_sendApiRequest']('/conversations/'+_0x473f5d+'/files','POST',_0x9db90);return{'getId':async()=>(await _0x1f9945['request'])['json'](),'abortController':_0x1f9945['abortController']};}['fetchDocument'](_0xd79020,_0x1c1d92){const _0x2dd67c=this['_sendApiRequest']('/conversations/'+_0xd79020+'/documents/'+_0x1c1d92,'GET');return{'getDocument':async()=>(await _0x2dd67c['request'])['json'](),'abortController':_0x2dd67c['abortController']};}['uploadDocument'](_0x3087e5,_0x34f52b,_0x4d4425){const _0x920092={'content':_0x34f52b};_0x4d4425&&(_0x920092['attributes']=_0x4d4425);const _0x231536=this['_sendApiRequest']('/conversations/'+_0x3087e5+'/documents','POST',_0x920092);return{'getId':async()=>(await _0x231536['request'])['json'](),'abortController':_0x231536['abortController']};}['fetchConversations'](_0x45a82f,_0x3be4b4={}){const _0x3ce76d=new URLSearchParams();_0x3ce76d['append']('group',_0x45a82f),_0x3ce76d['append']('excludeEmpty',!0x1!==_0x3be4b4['excludeEmpty']?'true':'false'),_0x3ce76d['append']('limit',_0x3be4b4['limit']?_0x3be4b4['limit']['toString']():'100'),_0x3ce76d['append']('sortBy',_0x3be4b4['sortBy']?_0x3be4b4['sortBy']:'createdAt'),_0x3ce76d['append']('order',_0x3be4b4['order']?_0x3be4b4['order']:'desc');const _0x1bbd24=this['_sendApiRequest']('/conversations?'+_0x3ce76d['toString'](),'GET');return{'getConversations':async()=>{const _0x2674b8=await _0x1bbd24['request'];return(await _0x2674b8['json']())['items'];},'abortController':_0x1bbd24['abortController']};}['deleteConversation'](_0x202fae){const _0xd2b37=this['_sendApiRequest']('/conversations/'+_0x202fae,'DELETE');return{'execute':async()=>{await _0xd2b37['request'];},'abortController':_0xd2b37['abortController']};}['updateConversation'](_0x4daa66,_0x194783){const _0x1123c7=this['_sendApiRequest']('/conversations/'+_0x4daa66,'PATCH',_0x194783);return{'getResult':async()=>(await _0x1123c7['request'],_0x194783),'abortController':_0x1123c7['abortController']};}['fetchConversation'](_0x343794){const _0x136717=this['_sendApiRequest']('/conversations/'+_0x343794,'GET');return{'getConversation':async()=>(await _0x136717['request'])['json'](),'abortController':_0x136717['abortController']};}['fetchConversationMessages'](_0x203640){const _0x4acfab=this['_sendApiRequest']('/conversations/'+_0x203640+'/messages','GET');return{'getMessages':async()=>{const _0x323f7=await _0x4acfab['request'];return(await _0x323f7['json']())['items'];},'abortController':_0x4acfab['abortController']};}['uploadUrl'](_0x561264,_0x223050,_0xd6d584){const _0x28bfad=this['_sendApiRequest']('/conversations/'+_0x561264+'/web-resources','POST',{'url':_0x223050,'attributes':_0xd6d584});return{'getId':async()=>(await _0x28bfad['request'])['json'](),'abortController':_0x28bfad['abortController']};}['getModels'](_0x2b9a75='en'){const _0x3df55f=new URLSearchParams();_0x3df55f['append']('language',_0x2b9a75);const _0xd212aa='/models/'+_0x44a64e+'?'+_0x3df55f['toString'](),_0x3e7fe9=this['_sendApiRequest'](_0xd212aa,'GET');return{'list':async()=>await(await _0x3e7fe9['request'])['json'](),'abortController':_0x3e7fe9['abortController']};}['deleteFile'](_0x4019d9,_0x40e5da){const _0x1b5e48=this['_sendApiRequest']('/conversations/'+_0x4019d9+'/files/'+_0x40e5da,'DELETE');return{'execute':async()=>{await _0x1b5e48['request'];},'abortController':_0x1b5e48['abortController']};}['deleteDocument'](_0x187a28,_0x4ad425){const _0x5d8879=this['_sendApiRequest']('/conversations/'+_0x187a28+'/documents/'+_0x4ad425,'DELETE');return{'execute':async()=>{await _0x5d8879['request'];},'abortController':_0x5d8879['abortController']};}['deleteWebResource'](_0x28080e,_0x5cd3f3){const _0x2b8029=this['_sendApiRequest']('/conversations/'+_0x28080e+'/web-resources/'+_0x5cd3f3,'DELETE');return{'execute':async()=>{await _0x2b8029['request'];},'abortController':_0x2b8029['abortController']};}['callSystemReview']({reviewName:_0x752a79,content:_0x2000ad,args:_0x16c68b}){const _0x1e8e64=this['_sendApiRequest']('/reviews/system/'+_0x752a79+'/calls','POST',{'content':[{'type':'text','content':_0x2000ad}],'args':_0x16c68b});return{'getStream':async()=>{const _0x491cf6=(await _0x1e8e64['request'])['body'];return this['_getStreamReader'](_0x491cf6);},'abortController':_0x1e8e64['abortController']};}['callCustomReview']({content:_0x2c1ca0,prompt:_0x38ddf2,model:_0x3ebadd}){const _0x3ebcd2=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0x2c1ca0}],'prompt':_0x38ddf2,'model':_0x3ebadd});return{'getStream':async()=>{const _0x1f939b=(await _0x3ebcd2['request'])['body'];return this['_getStreamReader'](_0x1f939b);},'abortController':_0x3ebcd2['abortController']};}['upsertAIChatRating'](_0x54415f,_0xbb0af,_0x424394){const _0x34c3bf=this['_sendApiRequest']('/conversations/'+_0x54415f+'/messages/'+_0xbb0af+'/ratings','PUT',{'positiveCount':_0x424394['positiveCount'],'totalCount':_0x424394['totalCount'],'modificationId':_0x424394['modificationId']});return{'execute':async()=>{await _0x34c3bf['request'];},'abortController':_0x34c3bf['abortController']};}['upsertAIActionRating'](_0x12fa38,_0x2fb660,_0x4cef04){const _0x14366a=this['_sendApiRequest']('/actions/system/'+_0x12fa38+'/calls/'+_0x2fb660+'/ratings','PUT',{'positiveCount':_0x4cef04['positiveCount'],'totalCount':_0x4cef04['totalCount']});return{'execute':async()=>{await _0x14366a['request'];},'abortController':_0x14366a['abortController']};}['upsertCustomAIActionRating'](_0x457e6f,_0x3a4979){const _0x2277ac=this['_sendApiRequest']('/actions/custom/calls/'+_0x457e6f+'/ratings','PUT',{'positiveCount':_0x3a4979['positiveCount'],'totalCount':_0x3a4979['totalCount']});return{'execute':async()=>{await _0x2277ac['request'];},'abortController':_0x2277ac['abortController']};}['upsertAIReviewRating'](_0x4966ba,_0x332ab0,_0x4db494,_0x2b0438){const _0x440441=this['_sendApiRequest']('/reviews/system/'+_0x4966ba+'/calls/'+_0x332ab0+'/ratings','PUT',{'positiveCount':_0x4db494['positiveCount'],'totalCount':_0x4db494['totalCount'],'dataId':_0x2b0438});return{'execute':async()=>{await _0x440441['request'];},'abortController':_0x440441['abortController']};}['upsertCustomAIReviewRating'](_0x1ea4fa,_0x1f76cf,_0xdf308a){const _0x38a31d=this['_sendApiRequest']('/reviews/custom/calls/'+_0x1ea4fa+'/ratings','PUT',{'positiveCount':_0x1f76cf['positiveCount'],'totalCount':_0x1f76cf['totalCount'],'dataId':_0xdf308a});return{'execute':async()=>{await _0x38a31d['request'];},'abortController':_0x38a31d['abortController']};}['_sendApiRequest'](_0x4b580a,_0x11ab4d,_0x43181d){const _0x5e6502=new AbortController(),_0x290cad=_0x43181d instanceof FormData,_0x5f3aa5={'Authorization':'Bearer\x20'+this['_token']?.['value']};_0x43181d&&!_0x290cad&&(_0x5f3aa5['Content-Type']='application/json');const _0x40a5d9={'method':_0x11ab4d,'headers':_0x5f3aa5,'signal':_0x5e6502['signal']};_0x43181d&&(_0x40a5d9['body']=_0x290cad?_0x43181d:JSON['stringify'](_0x43181d));const _0x1fea7d=fetch(''+this['_apiUrl']+_0x4b580a,_0x40a5d9)['catch'](_0x48987c=>{this['_handleError'](_0x48987c);})['then'](_0x591a41=>_0x591a41['ok']?_0x591a41:_0x591a41['json']()['then'](_0x36d96c=>{throw{'url':this['_apiUrl'],'path':_0x4b580a,'method':_0x11ab4d,'body':_0x43181d,'status':(_0x591a41||{})['status'],'statusText':(_0x591a41||{})['statusText'],'code':_0x36d96c['code'],'message':_0x36d96c['message'],'traceId':_0x36d96c['traceId']};}));return{'request':_0x1fea7d,'abortController':_0x5e6502};}async*['_getStreamReader'](_0x5064d0){const _0x54ff2d=[],_0x823e81=_0x5064d0['getReader'](),_0x1dae0c=createParser({'onError':_0x117154=>{this['_handleError'](_0x117154);},'onEvent':_0xb8d499=>{_0xb8d499['data']=JSON['parse'](_0xb8d499['data']),_0x54ff2d['push'](_0xb8d499);}});try{let _0x806b38=!0x1;for(;!_0x806b38;){const {done:_0x453f0b,value:_0x1c31ad}=await _0x823e81['read']();_0x453f0b&&(_0x806b38=!0x0),_0x1dae0c['feed'](this['_decoder']['decode'](_0x1c31ad,{'stream':!0x0})),yield*_0x54ff2d,_0x54ff2d['length']=0x0;}}catch(_0x435d32){this['_handleError'](_0x435d32);}finally{_0x823e81['releaseLock'](),_0x1dae0c['reset']();}}['_handleError'](_0x26b409){if(_0x26b409 instanceof ckeditor5['CKEditorError'])throw _0x26b409;if(_0x26b409 instanceof Error&&'AbortError'===_0x26b409['name'])throw new ckeditor5['CKEditorError']('ai-request-aborted',this,{'originalError':_0x26b409});throw new ckeditor5['CKEditorError']('ai-request-failed',this,{'originalError':_0x26b409});}}function getTranslation$i(_0x57c9a7,_0x26b7ae,_0x3468cb){const t=_0x57c9a7['t'];switch(_0x26b7ae){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'},_0x3468cb);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':'The\x20request\x20was\x20aborted.'});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.'},_0x3468cb);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.'},_0x3468cb);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.'},_0x3468cb);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'},_0x3468cb);case'AI_CHAT_SUGGESTION_ACTION_SUGGEST':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST','string':'Suggest'},_0x3468cb);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'},_0x3468cb);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.'},_0x3468cb);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.'},_0x3468cb);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.'},_0x3468cb);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.'},_0x3468cb);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'},_0x3468cb);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.'},_0x3468cb);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 _0x26b7ae;}}function createResizeButton(_0xa8f917,_0x116b0a){const _0x1c33f9=new ckeditor5['ButtonView'](_0xa8f917),_0x23dbcc=getTranslation$i(_0xa8f917,'AI_TABS_LABEL_MINIMIZE'),_0x103012=getTranslation$i(_0xa8f917,'AI_TABS_LABEL_MAXIMIZE');return _0x1c33f9['set']({'withText':!0x1,'icon':ckeditor5['IconMaximize'],'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20ck-ai-button-tertiary'}),_0x1c33f9['bind']('label')['to'](_0x116b0a,'isMaximized',_0x4790c5=>_0x4790c5?_0x23dbcc:_0x103012),_0x1c33f9['bind']('icon')['to'](_0x116b0a,'isMaximized',_0x2a1f40=>_0x2a1f40?ckeditor5['IconMinimize']:ckeditor5['IconMaximize']),_0x1c33f9['bind']('isOn')['to'](_0x116b0a,'isMaximized'),_0x1c33f9['on']('execute',()=>{_0x116b0a['fire']('resizeTabs');}),_0x1c33f9;}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'](_0x4daa04=>_0x4daa04['charCodeAt'](0x0))),_0x3e1164=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0xc8f63d=>_0xc8f63d['charCodeAt'](0x0)));var _0x5b01aa;const _0x4ff2a2=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!==(_0x5b01aa=String['fromCodePoint'])&&void 0x0!==_0x5b01aa?_0x5b01aa:function(_0x413506){let _0x35ec31='';return _0x413506>0xffff&&(_0x413506-=0x10000,_0x35ec31+=String['fromCharCode'](_0x413506>>>0xa&0x3ff|0xd800),_0x413506=0xdc00|0x3ff&_0x413506),_0x35ec31+=String['fromCharCode'](_0x413506),_0x35ec31;};function replaceCodePoint(_0x4fc9bc){var _0x13832d;return _0x4fc9bc>=0xd800&&_0x4fc9bc<=0xdfff||_0x4fc9bc>0x10ffff?0xfffd:null!==(_0x13832d=_0x4ff2a2['get'](_0x4fc9bc))&&void 0x0!==_0x13832d?_0x13832d:_0x4fc9bc;}var _0x2d471f;!function(_0x20f203){_0x20f203[_0x20f203['NUM']=0x23]='NUM',_0x20f203[_0x20f203['SEMI']=0x3b]='SEMI',_0x20f203[_0x20f203['EQUALS']=0x3d]='EQUALS',_0x20f203[_0x20f203['ZERO']=0x30]='ZERO',_0x20f203[_0x20f203['NINE']=0x39]='NINE',_0x20f203[_0x20f203['LOWER_A']=0x61]='LOWER_A',_0x20f203[_0x20f203['LOWER_F']=0x66]='LOWER_F',_0x20f203[_0x20f203['LOWER_X']=0x78]='LOWER_X',_0x20f203[_0x20f203['LOWER_Z']=0x7a]='LOWER_Z',_0x20f203[_0x20f203['UPPER_A']=0x41]='UPPER_A',_0x20f203[_0x20f203['UPPER_F']=0x46]='UPPER_F',_0x20f203[_0x20f203['UPPER_Z']=0x5a]='UPPER_Z';}(_0x2d471f||(_0x2d471f={}));const _0x595a6a=0x20;var _0x13d6b3,EntityDecoderState,_0x57e57c,_0xd7c3ae,State,QuoteType;function _0x39c844(_0x386814){return _0x386814>=_0x2d471f['ZERO']&&_0x386814<=_0x2d471f['NINE'];}function isHexadecimalCharacter(_0x203cff){return _0x203cff>=_0x2d471f['UPPER_A']&&_0x203cff<=_0x2d471f['UPPER_F']||_0x203cff>=_0x2d471f['LOWER_A']&&_0x203cff<=_0x2d471f['LOWER_F'];}function _0x1917c8(_0x526707){return _0x526707>=_0x2d471f['UPPER_A']&&_0x526707<=_0x2d471f['UPPER_Z']||_0x526707>=_0x2d471f['LOWER_A']&&_0x526707<=_0x2d471f['LOWER_Z']||_0x39c844(_0x526707);}function isEntityInAttributeInvalidEnd(_0x139ebd){return _0x139ebd===_0x2d471f['EQUALS']||_0x1917c8(_0x139ebd);}!function(_0x27918d){_0x27918d[_0x27918d['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0x27918d[_0x27918d['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0x27918d[_0x27918d['JUMP_TABLE']=0x7f]='JUMP_TABLE';}(_0x13d6b3||(_0x13d6b3={})),function(_0x5babe2){_0x5babe2[_0x5babe2['EntityStart']=0x0]='EntityStart',_0x5babe2[_0x5babe2['NumericStart']=0x1]='NumericStart',_0x5babe2[_0x5babe2['NumericDecimal']=0x2]='NumericDecimal',_0x5babe2[_0x5babe2['NumericHex']=0x3]='NumericHex',_0x5babe2[_0x5babe2['NamedEntity']=0x4]='NamedEntity';}(EntityDecoderState||(EntityDecoderState={})),function(_0x254737){_0x254737[_0x254737['Legacy']=0x0]='Legacy',_0x254737[_0x254737['Strict']=0x1]='Strict',_0x254737[_0x254737['Attribute']=0x2]='Attribute';}(_0x57e57c||(_0x57e57c={}));class EntityDecoder{constructor(_0x40b2a9,_0x5304ea,_0x45f86a){this['decodeTree']=_0x40b2a9,this['emitCodePoint']=_0x5304ea,this['errors']=_0x45f86a,this['state']=EntityDecoderState['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=_0x57e57c['Strict'];}['startEntity'](_0x175a72){this['decodeMode']=_0x175a72,this['state']=EntityDecoderState['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}['write'](_0x16541d,_0x5f5d5f){switch(this['state']){case EntityDecoderState['EntityStart']:return _0x16541d['charCodeAt'](_0x5f5d5f)===_0x2d471f['NUM']?(this['state']=EntityDecoderState['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0x16541d,_0x5f5d5f+0x1)):(this['state']=EntityDecoderState['NamedEntity'],this['stateNamedEntity'](_0x16541d,_0x5f5d5f));case EntityDecoderState['NumericStart']:return this['stateNumericStart'](_0x16541d,_0x5f5d5f);case EntityDecoderState['NumericDecimal']:return this['stateNumericDecimal'](_0x16541d,_0x5f5d5f);case EntityDecoderState['NumericHex']:return this['stateNumericHex'](_0x16541d,_0x5f5d5f);case EntityDecoderState['NamedEntity']:return this['stateNamedEntity'](_0x16541d,_0x5f5d5f);}}['stateNumericStart'](_0x310c96,_0x44863e){return _0x44863e>=_0x310c96['length']?-0x1:(_0x310c96['charCodeAt'](_0x44863e)|_0x595a6a)===_0x2d471f['LOWER_X']?(this['state']=EntityDecoderState['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x310c96,_0x44863e+0x1)):(this['state']=EntityDecoderState['NumericDecimal'],this['stateNumericDecimal'](_0x310c96,_0x44863e));}['addToNumericResult'](_0x385d7a,_0x3de446,_0x1c42b9,_0x3ce1a0){if(_0x3de446!==_0x1c42b9){const _0x1beae8=_0x1c42b9-_0x3de446;this['result']=this['result']*Math['pow'](_0x3ce1a0,_0x1beae8)+Number['parseInt'](_0x385d7a['substr'](_0x3de446,_0x1beae8),_0x3ce1a0),this['consumed']+=_0x1beae8;}}['stateNumericHex'](_0xed92ef,_0x2bf095){const _0x4142b=_0x2bf095;for(;_0x2bf095<_0xed92ef['length'];){const _0x56dc82=_0xed92ef['charCodeAt'](_0x2bf095);if(!_0x39c844(_0x56dc82)&&!isHexadecimalCharacter(_0x56dc82))return this['addToNumericResult'](_0xed92ef,_0x4142b,_0x2bf095,0x10),this['emitNumericEntity'](_0x56dc82,0x3);_0x2bf095+=0x1;}return this['addToNumericResult'](_0xed92ef,_0x4142b,_0x2bf095,0x10),-0x1;}['stateNumericDecimal'](_0x299def,_0xbbaeba){const _0x2d1a70=_0xbbaeba;for(;_0xbbaeba<_0x299def['length'];){const _0x3b988b=_0x299def['charCodeAt'](_0xbbaeba);if(!_0x39c844(_0x3b988b))return this['addToNumericResult'](_0x299def,_0x2d1a70,_0xbbaeba,0xa),this['emitNumericEntity'](_0x3b988b,0x2);_0xbbaeba+=0x1;}return this['addToNumericResult'](_0x299def,_0x2d1a70,_0xbbaeba,0xa),-0x1;}['emitNumericEntity'](_0x5d8462,_0x450e4d){var _0x1b9294;if(this['consumed']<=_0x450e4d)return null===(_0x1b9294=this['errors'])||void 0x0===_0x1b9294||_0x1b9294['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0x5d8462===_0x2d471f['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===_0x57e57c['Strict'])return 0x0;}return this['emitCodePoint'](replaceCodePoint(this['result']),this['consumed']),this['errors']&&(_0x5d8462!==_0x2d471f['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}['stateNamedEntity'](_0x3555dd,_0x31b774){const {decodeTree:_0x587477}=this;let _0x4d0d2b=_0x587477[this['treeIndex']],_0x6bbd4f=(_0x4d0d2b&_0x13d6b3['VALUE_LENGTH'])>>0xe;for(;_0x31b774<_0x3555dd['length'];_0x31b774++,this['excess']++){const _0x1efb04=_0x3555dd['charCodeAt'](_0x31b774);if(this['treeIndex']=determineBranch(_0x587477,_0x4d0d2b,this['treeIndex']+Math['max'](0x1,_0x6bbd4f),_0x1efb04),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===_0x57e57c['Attribute']&&(0x0===_0x6bbd4f||isEntityInAttributeInvalidEnd(_0x1efb04))?0x0:this['emitNotTerminatedNamedEntity']();if(_0x4d0d2b=_0x587477[this['treeIndex']],_0x6bbd4f=(_0x4d0d2b&_0x13d6b3['VALUE_LENGTH'])>>0xe,0x0!==_0x6bbd4f){if(_0x1efb04===_0x2d471f['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x6bbd4f,this['consumed']+this['excess']);this['decodeMode']!==_0x57e57c['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}['emitNotTerminatedNamedEntity'](){var _0x2cc4e0;const {result:_0x48841b,decodeTree:_0x3bfc6f}=this,_0x384da3=(_0x3bfc6f[_0x48841b]&_0x13d6b3['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x48841b,_0x384da3,this['consumed']),null===(_0x2cc4e0=this['errors'])||void 0x0===_0x2cc4e0||_0x2cc4e0['missingSemicolonAfterCharacterReference'](),this['consumed'];}['emitNamedEntityData'](_0x3004cd,_0x1edb2d,_0x11fdd8){const {decodeTree:_0x324e09}=this;return this['emitCodePoint'](0x1===_0x1edb2d?_0x324e09[_0x3004cd]&~_0x13d6b3['VALUE_LENGTH']:_0x324e09[_0x3004cd+0x1],_0x11fdd8),0x3===_0x1edb2d&&this['emitCodePoint'](_0x324e09[_0x3004cd+0x2],_0x11fdd8),_0x11fdd8;}['end'](){var _0x99d02c;switch(this['state']){case EntityDecoderState['NamedEntity']:return 0x0===this['result']||this['decodeMode']===_0x57e57c['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===(_0x99d02c=this['errors'])||void 0x0===_0x99d02c||_0x99d02c['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case EntityDecoderState['EntityStart']:return 0x0;}}}function determineBranch(_0x4285b1,_0x20b0bc,_0x425f69,_0x5e567f){const _0x31cfc5=(_0x20b0bc&_0x13d6b3['BRANCH_LENGTH'])>>0x7,_0x879fda=_0x20b0bc&_0x13d6b3['JUMP_TABLE'];if(0x0===_0x31cfc5)return 0x0!==_0x879fda&&_0x5e567f===_0x879fda?_0x425f69:-0x1;if(_0x879fda){const _0x480128=_0x5e567f-_0x879fda;return _0x480128<0x0||_0x480128>=_0x31cfc5?-0x1:_0x4285b1[_0x425f69+_0x480128]-0x1;}let _0x5b3f6b=_0x425f69,_0x1ee4d1=_0x5b3f6b+_0x31cfc5-0x1;for(;_0x5b3f6b<=_0x1ee4d1;){const _0x1fa63b=_0x5b3f6b+_0x1ee4d1>>>0x1,_0x15e5b0=_0x4285b1[_0x1fa63b];if(_0x15e5b0<_0x5e567f)_0x5b3f6b=_0x1fa63b+0x1;else{if(!(_0x15e5b0>_0x5e567f))return _0x4285b1[_0x1fa63b+_0x31cfc5];_0x1ee4d1=_0x1fa63b-0x1;}}return-0x1;}function isWhitespace(_0x590a4e){return _0x590a4e===_0xd7c3ae['Space']||_0x590a4e===_0xd7c3ae['NewLine']||_0x590a4e===_0xd7c3ae['Tab']||_0x590a4e===_0xd7c3ae['FormFeed']||_0x590a4e===_0xd7c3ae['CarriageReturn'];}function isEndOfTagSection(_0x19450d){return _0x19450d===_0xd7c3ae['Slash']||_0x19450d===_0xd7c3ae['Gt']||isWhitespace(_0x19450d);}function _0x598cb5(_0x5910a6){return _0x5910a6>=_0xd7c3ae['LowerA']&&_0x5910a6<=_0xd7c3ae['LowerZ']||_0x5910a6>=_0xd7c3ae['UpperA']&&_0x5910a6<=_0xd7c3ae['UpperZ'];}!function(_0x4089bb){_0x4089bb[_0x4089bb['Tab']=0x9]='Tab',_0x4089bb[_0x4089bb['NewLine']=0xa]='NewLine',_0x4089bb[_0x4089bb['FormFeed']=0xc]='FormFeed',_0x4089bb[_0x4089bb['CarriageReturn']=0xd]='CarriageReturn',_0x4089bb[_0x4089bb['Space']=0x20]='Space',_0x4089bb[_0x4089bb['ExclamationMark']=0x21]='ExclamationMark',_0x4089bb[_0x4089bb['Number']=0x23]='Number',_0x4089bb[_0x4089bb['Amp']=0x26]='Amp',_0x4089bb[_0x4089bb['SingleQuote']=0x27]='SingleQuote',_0x4089bb[_0x4089bb['DoubleQuote']=0x22]='DoubleQuote',_0x4089bb[_0x4089bb['Dash']=0x2d]='Dash',_0x4089bb[_0x4089bb['Slash']=0x2f]='Slash',_0x4089bb[_0x4089bb['Zero']=0x30]='Zero',_0x4089bb[_0x4089bb['Nine']=0x39]='Nine',_0x4089bb[_0x4089bb['Semi']=0x3b]='Semi',_0x4089bb[_0x4089bb['Lt']=0x3c]='Lt',_0x4089bb[_0x4089bb['Eq']=0x3d]='Eq',_0x4089bb[_0x4089bb['Gt']=0x3e]='Gt',_0x4089bb[_0x4089bb['Questionmark']=0x3f]='Questionmark',_0x4089bb[_0x4089bb['UpperA']=0x41]='UpperA',_0x4089bb[_0x4089bb['LowerA']=0x61]='LowerA',_0x4089bb[_0x4089bb['UpperF']=0x46]='UpperF',_0x4089bb[_0x4089bb['LowerF']=0x66]='LowerF',_0x4089bb[_0x4089bb['UpperZ']=0x5a]='UpperZ',_0x4089bb[_0x4089bb['LowerZ']=0x7a]='LowerZ',_0x4089bb[_0x4089bb['LowerX']=0x78]='LowerX',_0x4089bb[_0x4089bb['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(_0xd7c3ae||(_0xd7c3ae={})),function(_0x4a2bf1){_0x4a2bf1[_0x4a2bf1['Text']=0x1]='Text',_0x4a2bf1[_0x4a2bf1['BeforeTagName']=0x2]='BeforeTagName',_0x4a2bf1[_0x4a2bf1['InTagName']=0x3]='InTagName',_0x4a2bf1[_0x4a2bf1['InSelfClosingTag']=0x4]='InSelfClosingTag',_0x4a2bf1[_0x4a2bf1['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0x4a2bf1[_0x4a2bf1['InClosingTagName']=0x6]='InClosingTagName',_0x4a2bf1[_0x4a2bf1['AfterClosingTagName']=0x7]='AfterClosingTagName',_0x4a2bf1[_0x4a2bf1['BeforeAttributeName']=0x8]='BeforeAttributeName',_0x4a2bf1[_0x4a2bf1['InAttributeName']=0x9]='InAttributeName',_0x4a2bf1[_0x4a2bf1['AfterAttributeName']=0xa]='AfterAttributeName',_0x4a2bf1[_0x4a2bf1['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0x4a2bf1[_0x4a2bf1['InAttributeValueDq']=0xc]='InAttributeValueDq',_0x4a2bf1[_0x4a2bf1['InAttributeValueSq']=0xd]='InAttributeValueSq',_0x4a2bf1[_0x4a2bf1['InAttributeValueNq']=0xe]='InAttributeValueNq',_0x4a2bf1[_0x4a2bf1['BeforeDeclaration']=0xf]='BeforeDeclaration',_0x4a2bf1[_0x4a2bf1['InDeclaration']=0x10]='InDeclaration',_0x4a2bf1[_0x4a2bf1['InProcessingInstruction']=0x11]='InProcessingInstruction',_0x4a2bf1[_0x4a2bf1['BeforeComment']=0x12]='BeforeComment',_0x4a2bf1[_0x4a2bf1['CDATASequence']=0x13]='CDATASequence',_0x4a2bf1[_0x4a2bf1['InSpecialComment']=0x14]='InSpecialComment',_0x4a2bf1[_0x4a2bf1['InCommentLike']=0x15]='InCommentLike',_0x4a2bf1[_0x4a2bf1['BeforeSpecialS']=0x16]='BeforeSpecialS',_0x4a2bf1[_0x4a2bf1['BeforeSpecialT']=0x17]='BeforeSpecialT',_0x4a2bf1[_0x4a2bf1['SpecialStartSequence']=0x18]='SpecialStartSequence',_0x4a2bf1[_0x4a2bf1['InSpecialTag']=0x19]='InSpecialTag',_0x4a2bf1[_0x4a2bf1['InEntity']=0x1a]='InEntity';}(State||(State={})),function(_0x25dda9){_0x25dda9[_0x25dda9['NoValue']=0x0]='NoValue',_0x25dda9[_0x25dda9['Unquoted']=0x1]='Unquoted',_0x25dda9[_0x25dda9['Single']=0x2]='Single',_0x25dda9[_0x25dda9['Double']=0x3]='Double';}(QuoteType||(QuoteType={}));const _0x4bf028={'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 _0x1b6aaa{constructor({xmlMode:_0x1ac092=!0x1,decodeEntities:_0x4a0def=!0x0},_0x4ea37a){this['cbs']=_0x4ea37a,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']=_0x1ac092,this['decodeEntities']=_0x4a0def,this['entityDecoder']=new EntityDecoder(_0x1ac092?_0x3e1164:htmlDecodeTree,(_0x24b019,_0x3a256f)=>this['emitCodePoint'](_0x24b019,_0x3a256f));}['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'](_0x3083d8){this['offset']+=this['buffer']['length'],this['buffer']=_0x3083d8,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'](_0x61f635){_0x61f635===_0xd7c3ae['Lt']||!this['decodeEntities']&&this['fastForwardTo'](_0xd7c3ae['Lt'])?(this['index']>this['sectionStart']&&this['cbs']['ontext'](this['sectionStart'],this['index']),this['state']=State['BeforeTagName'],this['sectionStart']=this['index']):this['decodeEntities']&&_0x61f635===_0xd7c3ae['Amp']&&this['startEntity']();}['stateSpecialStartSequence'](_0x2691a2){const _0xcbbb2c=this['sequenceIndex']===this['currentSequence']['length'];if(_0xcbbb2c?isEndOfTagSection(_0x2691a2):(0x20|_0x2691a2)===this['currentSequence'][this['sequenceIndex']]){if(!_0xcbbb2c)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=State['InTagName'],this['stateInTagName'](_0x2691a2);}['stateInSpecialTag'](_0xbbfb22){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0xbbfb22===_0xd7c3ae['Gt']||isWhitespace(_0xbbfb22)){const _0x85a131=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0x85a131){const _0x5c4c72=this['index'];this['index']=_0x85a131,this['cbs']['ontext'](this['sectionStart'],_0x85a131),this['index']=_0x5c4c72;}return this['isSpecial']=!0x1,this['sectionStart']=_0x85a131+0x2,void this['stateInClosingTagName'](_0xbbfb22);}this['sequenceIndex']=0x0;}(0x20|_0xbbfb22)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===_0x4bf028['TitleEnd']?this['decodeEntities']&&_0xbbfb22===_0xd7c3ae['Amp']&&this['startEntity']():this['fastForwardTo'](_0xd7c3ae['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0xbbfb22===_0xd7c3ae['Lt']);}['stateCDATASequence'](_0x19e9a9){_0x19e9a9===_0x4bf028['Cdata'][this['sequenceIndex']]?++this['sequenceIndex']===_0x4bf028['Cdata']['length']&&(this['state']=State['InCommentLike'],this['currentSequence']=_0x4bf028['CdataEnd'],this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1):(this['sequenceIndex']=0x0,this['state']=State['InDeclaration'],this['stateInDeclaration'](_0x19e9a9));}['fastForwardTo'](_0x440686){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0x440686)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}['stateInCommentLike'](_0x53ade1){_0x53ade1===this['currentSequence'][this['sequenceIndex']]?++this['sequenceIndex']===this['currentSequence']['length']&&(this['currentSequence']===_0x4bf028['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):_0x53ade1!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}['isTagStartChar'](_0x909215){return this['xmlMode']?!isEndOfTagSection(_0x909215):_0x598cb5(_0x909215);}['startSpecial'](_0x41468e,_0x363066){this['isSpecial']=!0x0,this['currentSequence']=_0x41468e,this['sequenceIndex']=_0x363066,this['state']=State['SpecialStartSequence'];}['stateBeforeTagName'](_0x3039eb){if(_0x3039eb===_0xd7c3ae['ExclamationMark'])this['state']=State['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0x3039eb===_0xd7c3ae['Questionmark'])this['state']=State['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0x3039eb)){const _0x130af0=0x20|_0x3039eb;this['sectionStart']=this['index'],this['xmlMode']?this['state']=State['InTagName']:_0x130af0===_0x4bf028['ScriptEnd'][0x2]?this['state']=State['BeforeSpecialS']:_0x130af0===_0x4bf028['TitleEnd'][0x2]||_0x130af0===_0x4bf028['XmpEnd'][0x2]?this['state']=State['BeforeSpecialT']:this['state']=State['InTagName'];}else _0x3039eb===_0xd7c3ae['Slash']?this['state']=State['BeforeClosingTagName']:(this['state']=State['Text'],this['stateText'](_0x3039eb));}}}['stateInTagName'](_0x40417a){isEndOfTagSection(_0x40417a)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x40417a));}['stateBeforeClosingTagName'](_0x4db322){isWhitespace(_0x4db322)||(_0x4db322===_0xd7c3ae['Gt']?this['state']=State['Text']:(this['state']=this['isTagStartChar'](_0x4db322)?State['InClosingTagName']:State['InSpecialComment'],this['sectionStart']=this['index']));}['stateInClosingTagName'](_0x56741e){(_0x56741e===_0xd7c3ae['Gt']||isWhitespace(_0x56741e))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=State['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x56741e));}['stateAfterClosingTagName'](_0x1adaf2){(_0x1adaf2===_0xd7c3ae['Gt']||this['fastForwardTo'](_0xd7c3ae['Gt']))&&(this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeAttributeName'](_0x5449d5){_0x5449d5===_0xd7c3ae['Gt']?(this['cbs']['onopentagend'](this['index']),this['isSpecial']?(this['state']=State['InSpecialTag'],this['sequenceIndex']=0x0):this['state']=State['Text'],this['sectionStart']=this['index']+0x1):_0x5449d5===_0xd7c3ae['Slash']?this['state']=State['InSelfClosingTag']:isWhitespace(_0x5449d5)||(this['state']=State['InAttributeName'],this['sectionStart']=this['index']);}['stateInSelfClosingTag'](_0x1c42d6){_0x1c42d6===_0xd7c3ae['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):isWhitespace(_0x1c42d6)||(this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x1c42d6));}['stateInAttributeName'](_0x74252d){(_0x74252d===_0xd7c3ae['Eq']||isEndOfTagSection(_0x74252d))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=State['AfterAttributeName'],this['stateAfterAttributeName'](_0x74252d));}['stateAfterAttributeName'](_0x1e0e4a){_0x1e0e4a===_0xd7c3ae['Eq']?this['state']=State['BeforeAttributeValue']:_0x1e0e4a===_0xd7c3ae['Slash']||_0x1e0e4a===_0xd7c3ae['Gt']?(this['cbs']['onattribend'](QuoteType['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x1e0e4a)):isWhitespace(_0x1e0e4a)||(this['cbs']['onattribend'](QuoteType['NoValue'],this['sectionStart']),this['state']=State['InAttributeName'],this['sectionStart']=this['index']);}['stateBeforeAttributeValue'](_0x4a5ec6){_0x4a5ec6===_0xd7c3ae['DoubleQuote']?(this['state']=State['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x4a5ec6===_0xd7c3ae['SingleQuote']?(this['state']=State['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):isWhitespace(_0x4a5ec6)||(this['sectionStart']=this['index'],this['state']=State['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x4a5ec6));}['handleInAttributeValue'](_0x1b0489,_0x22a5e5){_0x1b0489===_0x22a5e5||!this['decodeEntities']&&this['fastForwardTo'](_0x22a5e5)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x22a5e5===_0xd7c3ae['DoubleQuote']?QuoteType['Double']:QuoteType['Single'],this['index']+0x1),this['state']=State['BeforeAttributeName']):this['decodeEntities']&&_0x1b0489===_0xd7c3ae['Amp']&&this['startEntity']();}['stateInAttributeValueDoubleQuotes'](_0x119541){this['handleInAttributeValue'](_0x119541,_0xd7c3ae['DoubleQuote']);}['stateInAttributeValueSingleQuotes'](_0x3d3843){this['handleInAttributeValue'](_0x3d3843,_0xd7c3ae['SingleQuote']);}['stateInAttributeValueNoQuotes'](_0x11c384){isWhitespace(_0x11c384)||_0x11c384===_0xd7c3ae['Gt']?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](QuoteType['Unquoted'],this['index']),this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x11c384)):this['decodeEntities']&&_0x11c384===_0xd7c3ae['Amp']&&this['startEntity']();}['stateBeforeDeclaration'](_0x1020e1){_0x1020e1===_0xd7c3ae['OpeningSquareBracket']?(this['state']=State['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0x1020e1===_0xd7c3ae['Dash']?State['BeforeComment']:State['InDeclaration'];}['stateInDeclaration'](_0x480446){(_0x480446===_0xd7c3ae['Gt']||this['fastForwardTo'](_0xd7c3ae['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateInProcessingInstruction'](_0x31190b){(_0x31190b===_0xd7c3ae['Gt']||this['fastForwardTo'](_0xd7c3ae['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeComment'](_0x3e6d81){_0x3e6d81===_0xd7c3ae['Dash']?(this['state']=State['InCommentLike'],this['currentSequence']=_0x4bf028['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=State['InDeclaration'];}['stateInSpecialComment'](_0x57780e){(_0x57780e===_0xd7c3ae['Gt']||this['fastForwardTo'](_0xd7c3ae['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeSpecialS'](_0x373cc0){const _0x3d990a=0x20|_0x373cc0;_0x3d990a===_0x4bf028['ScriptEnd'][0x3]?this['startSpecial'](_0x4bf028['ScriptEnd'],0x4):_0x3d990a===_0x4bf028['StyleEnd'][0x3]?this['startSpecial'](_0x4bf028['StyleEnd'],0x4):(this['state']=State['InTagName'],this['stateInTagName'](_0x373cc0));}['stateBeforeSpecialT'](_0x46cc78){switch(0x20|_0x46cc78){case _0x4bf028['TitleEnd'][0x3]:this['startSpecial'](_0x4bf028['TitleEnd'],0x4);break;case _0x4bf028['TextareaEnd'][0x3]:this['startSpecial'](_0x4bf028['TextareaEnd'],0x4);break;case _0x4bf028['XmpEnd'][0x3]:this['startSpecial'](_0x4bf028['XmpEnd'],0x4);break;default:this['state']=State['InTagName'],this['stateInTagName'](_0x46cc78);}}['startEntity'](){this['baseState']=this['state'],this['state']=State['InEntity'],this['entityStart']=this['index'],this['entityDecoder']['startEntity'](this['xmlMode']?_0x57e57c['Strict']:this['baseState']===State['Text']||this['baseState']===State['InSpecialTag']?_0x57e57c['Legacy']:_0x57e57c['Attribute']);}['stateInEntity'](){const _0x286751=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0x286751>=0x0?(this['state']=this['baseState'],0x0===_0x286751&&(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 _0x3f5c40=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case State['Text']:this['stateText'](_0x3f5c40);break;case State['SpecialStartSequence']:this['stateSpecialStartSequence'](_0x3f5c40);break;case State['InSpecialTag']:this['stateInSpecialTag'](_0x3f5c40);break;case State['CDATASequence']:this['stateCDATASequence'](_0x3f5c40);break;case State['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0x3f5c40);break;case State['InAttributeName']:this['stateInAttributeName'](_0x3f5c40);break;case State['InCommentLike']:this['stateInCommentLike'](_0x3f5c40);break;case State['InSpecialComment']:this['stateInSpecialComment'](_0x3f5c40);break;case State['BeforeAttributeName']:this['stateBeforeAttributeName'](_0x3f5c40);break;case State['InTagName']:this['stateInTagName'](_0x3f5c40);break;case State['InClosingTagName']:this['stateInClosingTagName'](_0x3f5c40);break;case State['BeforeTagName']:this['stateBeforeTagName'](_0x3f5c40);break;case State['AfterAttributeName']:this['stateAfterAttributeName'](_0x3f5c40);break;case State['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0x3f5c40);break;case State['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0x3f5c40);break;case State['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0x3f5c40);break;case State['AfterClosingTagName']:this['stateAfterClosingTagName'](_0x3f5c40);break;case State['BeforeSpecialS']:this['stateBeforeSpecialS'](_0x3f5c40);break;case State['BeforeSpecialT']:this['stateBeforeSpecialT'](_0x3f5c40);break;case State['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0x3f5c40);break;case State['InSelfClosingTag']:this['stateInSelfClosingTag'](_0x3f5c40);break;case State['InDeclaration']:this['stateInDeclaration'](_0x3f5c40);break;case State['BeforeDeclaration']:this['stateBeforeDeclaration'](_0x3f5c40);break;case State['BeforeComment']:this['stateBeforeComment'](_0x3f5c40);break;case State['InProcessingInstruction']:this['stateInProcessingInstruction'](_0x3f5c40);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 _0x476293=this['buffer']['length']+this['offset'];this['sectionStart']>=_0x476293||(this['state']===State['InCommentLike']?this['currentSequence']===_0x4bf028['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0x476293,0x0):this['cbs']['oncomment'](this['sectionStart'],_0x476293,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'],_0x476293));}['emitCodePoint'](_0x1dbbff,_0xc2ba32){this['baseState']!==State['Text']&&this['baseState']!==State['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0xc2ba32,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0x1dbbff)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0xc2ba32,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0x1dbbff,this['sectionStart']));}}const _0x582569=new Set(['input','option','optgroup','select','button','datalist','textarea']),_0x3a04c7=new Set(['p']),tableSectionTags=new Set(['thead','tbody']),ddtTags=new Set(['dd','dt']),rtpTags=new Set(['rt','rp']),_0x544812=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',_0x3a04c7],['h1',_0x3a04c7],['h2',_0x3a04c7],['h3',_0x3a04c7],['h4',_0x3a04c7],['h5',_0x3a04c7],['h6',_0x3a04c7],['select',_0x582569],['input',_0x582569],['output',_0x582569],['button',_0x582569],['datalist',_0x582569],['textarea',_0x582569],['option',new Set(['option'])],['optgroup',new Set(['optgroup','option'])],['dd',ddtTags],['dt',ddtTags],['address',_0x3a04c7],['article',_0x3a04c7],['aside',_0x3a04c7],['blockquote',_0x3a04c7],['details',_0x3a04c7],['div',_0x3a04c7],['dl',_0x3a04c7],['fieldset',_0x3a04c7],['figcaption',_0x3a04c7],['figure',_0x3a04c7],['footer',_0x3a04c7],['form',_0x3a04c7],['header',_0x3a04c7],['hr',_0x3a04c7],['main',_0x3a04c7],['nav',_0x3a04c7],['ol',_0x3a04c7],['pre',_0x3a04c7],['section',_0x3a04c7],['table',_0x3a04c7],['ul',_0x3a04c7],['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']),_0x1ceff8=/\s|\//;let _0x872f6a=class{constructor(_0x2479e8,_0xc2e90c={}){var _0xd1ae8a,_0x47714a,_0x3eba19,_0xe13f76,_0x2a770b,_0x30444c;this['options']=_0xc2e90c,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!=_0x2479e8?_0x2479e8:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0xd1ae8a=_0xc2e90c['lowerCaseTags'])&&void 0x0!==_0xd1ae8a?_0xd1ae8a:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0x47714a=_0xc2e90c['lowerCaseAttributeNames'])&&void 0x0!==_0x47714a?_0x47714a:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0x3eba19=_0xc2e90c['recognizeSelfClosing'])&&void 0x0!==_0x3eba19?_0x3eba19:!this['htmlMode'],this['tokenizer']=new(null!==(_0xe13f76=_0xc2e90c['Tokenizer'])&&void 0x0!==_0xe13f76?_0xe13f76:_0x1b6aaa)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0x30444c=(_0x2a770b=this['cbs'])['onparserinit'])||void 0x0===_0x30444c||_0x30444c['call'](_0x2a770b,this);}['ontext'](_0x5505e2,_0x508e8a){var _0x476476,_0x8b5032;const _0x23eb10=this['getSlice'](_0x5505e2,_0x508e8a);this['endIndex']=_0x508e8a-0x1,null===(_0x8b5032=(_0x476476=this['cbs'])['ontext'])||void 0x0===_0x8b5032||_0x8b5032['call'](_0x476476,_0x23eb10),this['startIndex']=_0x508e8a;}['ontextentity'](_0x146138,_0x51e6ef){var _0x42d083,_0x37cf22;this['endIndex']=_0x51e6ef-0x1,null===(_0x37cf22=(_0x42d083=this['cbs'])['ontext'])||void 0x0===_0x37cf22||_0x37cf22['call'](_0x42d083,fromCodePoint$1(_0x146138)),this['startIndex']=_0x51e6ef;}['isVoidElement'](_0x3fb126){return this['htmlMode']&&voidElements['has'](_0x3fb126);}['onopentagname'](_0x1f6c1a,_0x1a123b){this['endIndex']=_0x1a123b;let _0x17ef33=this['getSlice'](_0x1f6c1a,_0x1a123b);this['lowerCaseTagNames']&&(_0x17ef33=_0x17ef33['toLowerCase']()),this['emitOpenTag'](_0x17ef33);}['emitOpenTag'](_0x4238b0){var _0x25c220,_0x3e1df8,_0x1aeec2,_0x169c08;this['openTagStart']=this['startIndex'],this['tagname']=_0x4238b0;const _0x23a289=this['htmlMode']&&_0x544812['get'](_0x4238b0);if(_0x23a289)for(;this['stack']['length']>0x0&&_0x23a289['has'](this['stack'][0x0]);){const _0x3b7532=this['stack']['shift']();null===(_0x3e1df8=(_0x25c220=this['cbs'])['onclosetag'])||void 0x0===_0x3e1df8||_0x3e1df8['call'](_0x25c220,_0x3b7532,!0x0);}this['isVoidElement'](_0x4238b0)||(this['stack']['unshift'](_0x4238b0),this['htmlMode']&&(foreignContextElements['has'](_0x4238b0)?this['foreignContext']['unshift'](!0x0):htmlIntegrationElements['has'](_0x4238b0)&&this['foreignContext']['unshift'](!0x1))),null===(_0x169c08=(_0x1aeec2=this['cbs'])['onopentagname'])||void 0x0===_0x169c08||_0x169c08['call'](_0x1aeec2,_0x4238b0),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x12c0b5){var _0x56a82f,_0x4e92c5;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x4e92c5=(_0x56a82f=this['cbs'])['onopentag'])||void 0x0===_0x4e92c5||_0x4e92c5['call'](_0x56a82f,this['tagname'],this['attribs'],_0x12c0b5),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}['onopentagend'](_0x62c331){this['endIndex']=_0x62c331,this['endOpenTag'](!0x1),this['startIndex']=_0x62c331+0x1;}['onclosetag'](_0x26ad98,_0x536def){var _0x5b73fd,_0xf2dee2,_0x3f1788,_0x4fb391,_0x305c53,_0x4503c9,_0x44449d,_0x2bc07d;this['endIndex']=_0x536def;let _0x48d26d=this['getSlice'](_0x26ad98,_0x536def);if(this['lowerCaseTagNames']&&(_0x48d26d=_0x48d26d['toLowerCase']()),this['htmlMode']&&(foreignContextElements['has'](_0x48d26d)||htmlIntegrationElements['has'](_0x48d26d))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x48d26d))this['htmlMode']&&'br'===_0x48d26d&&(null===(_0x4fb391=(_0x3f1788=this['cbs'])['onopentagname'])||void 0x0===_0x4fb391||_0x4fb391['call'](_0x3f1788,'br'),null===(_0x4503c9=(_0x305c53=this['cbs'])['onopentag'])||void 0x0===_0x4503c9||_0x4503c9['call'](_0x305c53,'br',{},!0x0),null===(_0x2bc07d=(_0x44449d=this['cbs'])['onclosetag'])||void 0x0===_0x2bc07d||_0x2bc07d['call'](_0x44449d,'br',!0x1));else{const _0x2b021d=this['stack']['indexOf'](_0x48d26d);if(-0x1!==_0x2b021d)for(let _0x12f826=0x0;_0x12f826<=_0x2b021d;_0x12f826++){const _0xb26a4d=this['stack']['shift']();null===(_0xf2dee2=(_0x5b73fd=this['cbs'])['onclosetag'])||void 0x0===_0xf2dee2||_0xf2dee2['call'](_0x5b73fd,_0xb26a4d,_0x12f826!==_0x2b021d);}else this['htmlMode']&&'p'===_0x48d26d&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0x536def+0x1;}['onselfclosingtag'](_0x5d7d8c){this['endIndex']=_0x5d7d8c,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x5d7d8c+0x1):this['onopentagend'](_0x5d7d8c);}['closeCurrentTag'](_0x3515d7){var _0x1223f6,_0x257074;const _0x4f451b=this['tagname'];this['endOpenTag'](_0x3515d7),this['stack'][0x0]===_0x4f451b&&(null===(_0x257074=(_0x1223f6=this['cbs'])['onclosetag'])||void 0x0===_0x257074||_0x257074['call'](_0x1223f6,_0x4f451b,!_0x3515d7),this['stack']['shift']());}['onattribname'](_0x4f71f0,_0x587e5f){this['startIndex']=_0x4f71f0;const _0x548288=this['getSlice'](_0x4f71f0,_0x587e5f);this['attribname']=this['lowerCaseAttributeNames']?_0x548288['toLowerCase']():_0x548288;}['onattribdata'](_0x28e488,_0x51d7a8){this['attribvalue']+=this['getSlice'](_0x28e488,_0x51d7a8);}['onattribentity'](_0x323019){this['attribvalue']+=fromCodePoint$1(_0x323019);}['onattribend'](_0x58e19f,_0x33ffed){var _0x28acaa,_0x3a8342;this['endIndex']=_0x33ffed,null===(_0x3a8342=(_0x28acaa=this['cbs'])['onattribute'])||void 0x0===_0x3a8342||_0x3a8342['call'](_0x28acaa,this['attribname'],this['attribvalue'],_0x58e19f===QuoteType['Double']?'\x22':_0x58e19f===QuoteType['Single']?'\x27':_0x58e19f===QuoteType['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}['getInstructionName'](_0x88054b){const _0x198d0d=_0x88054b['search'](_0x1ceff8);let _0x55b520=_0x198d0d<0x0?_0x88054b:_0x88054b['substr'](0x0,_0x198d0d);return this['lowerCaseTagNames']&&(_0x55b520=_0x55b520['toLowerCase']()),_0x55b520;}['ondeclaration'](_0x4bdc39,_0x5762df){this['endIndex']=_0x5762df;const _0x20fb48=this['getSlice'](_0x4bdc39,_0x5762df);if(this['cbs']['onprocessinginstruction']){const _0x21ae12=this['getInstructionName'](_0x20fb48);this['cbs']['onprocessinginstruction']('!'+_0x21ae12,'!'+_0x20fb48);}this['startIndex']=_0x5762df+0x1;}['onprocessinginstruction'](_0x3e76ee,_0x4edba8){this['endIndex']=_0x4edba8;const _0x475464=this['getSlice'](_0x3e76ee,_0x4edba8);if(this['cbs']['onprocessinginstruction']){const _0x10c506=this['getInstructionName'](_0x475464);this['cbs']['onprocessinginstruction']('?'+_0x10c506,'?'+_0x475464);}this['startIndex']=_0x4edba8+0x1;}['oncomment'](_0x5baf53,_0x855b37,_0x3f044e){var _0x3823d7,_0x26f3db,_0x45ef77,_0x2cd27e;this['endIndex']=_0x855b37,null===(_0x26f3db=(_0x3823d7=this['cbs'])['oncomment'])||void 0x0===_0x26f3db||_0x26f3db['call'](_0x3823d7,this['getSlice'](_0x5baf53,_0x855b37-_0x3f044e)),null===(_0x2cd27e=(_0x45ef77=this['cbs'])['oncommentend'])||void 0x0===_0x2cd27e||_0x2cd27e['call'](_0x45ef77),this['startIndex']=_0x855b37+0x1;}['oncdata'](_0x5d34af,_0x170909,_0x4e876d){var _0x234c8b,_0x457458,_0x50480f,_0x910ea1,_0x19a0ae,_0x4ddc1b,_0x3a7c3c,_0x44d869,_0x1900c5,_0x1e2acf;this['endIndex']=_0x170909;const _0x37248a=this['getSlice'](_0x5d34af,_0x170909-_0x4e876d);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0x457458=(_0x234c8b=this['cbs'])['oncdatastart'])||void 0x0===_0x457458||_0x457458['call'](_0x234c8b),null===(_0x910ea1=(_0x50480f=this['cbs'])['ontext'])||void 0x0===_0x910ea1||_0x910ea1['call'](_0x50480f,_0x37248a),null===(_0x4ddc1b=(_0x19a0ae=this['cbs'])['oncdataend'])||void 0x0===_0x4ddc1b||_0x4ddc1b['call'](_0x19a0ae)):(null===(_0x44d869=(_0x3a7c3c=this['cbs'])['oncomment'])||void 0x0===_0x44d869||_0x44d869['call'](_0x3a7c3c,'[CDATA['+_0x37248a+']]'),null===(_0x1e2acf=(_0x1900c5=this['cbs'])['oncommentend'])||void 0x0===_0x1e2acf||_0x1e2acf['call'](_0x1900c5)),this['startIndex']=_0x170909+0x1;}['onend'](){var _0x404544,_0x3a07aa;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0xe4c584=0x0;_0xe4c584<this['stack']['length'];_0xe4c584++)this['cbs']['onclosetag'](this['stack'][_0xe4c584],!0x0);}null===(_0x3a07aa=(_0x404544=this['cbs'])['onend'])||void 0x0===_0x3a07aa||_0x3a07aa['call'](_0x404544);}['reset'](){var _0x159570,_0x562e47,_0x297f03,_0xedb342;null===(_0x562e47=(_0x159570=this['cbs'])['onreset'])||void 0x0===_0x562e47||_0x562e47['call'](_0x159570),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0xedb342=(_0x297f03=this['cbs'])['onparserinit'])||void 0x0===_0xedb342||_0xedb342['call'](_0x297f03,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}['parseComplete'](_0x220914){this['reset'](),this['end'](_0x220914);}['getSlice'](_0x446688,_0x1fb1ca){for(;_0x446688-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0x479d76=this['buffers'][0x0]['slice'](_0x446688-this['bufferOffset'],_0x1fb1ca-this['bufferOffset']);for(;_0x1fb1ca-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0x479d76+=this['buffers'][0x0]['slice'](0x0,_0x1fb1ca-this['bufferOffset']);return _0x479d76;}['shiftBuffer'](){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}['write'](_0x465cdf){var _0xf0c96b,_0x599264;this['ended']?null===(_0x599264=(_0xf0c96b=this['cbs'])['onerror'])||void 0x0===_0x599264||_0x599264['call'](_0xf0c96b,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x465cdf),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x465cdf),this['writeIndex']++));}['end'](_0x369196){var _0x299f86,_0x51a652;this['ended']?null===(_0x51a652=(_0x299f86=this['cbs'])['onerror'])||void 0x0===_0x51a652||_0x51a652['call'](_0x299f86,new Error('.end()\x20after\x20done!')):(_0x369196&&this['write'](_0x369196),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'](_0x32f3e0){this['write'](_0x32f3e0);}['done'](_0x3b5375){this['end'](_0x3b5375);}};var ElementType;function _0x15ec9a(_0x4f7175){return _0x4f7175['type']===ElementType['Tag']||_0x4f7175['type']===ElementType['Script']||_0x4f7175['type']===ElementType['Style'];}!function(_0x1e4654){_0x1e4654['Root']='root',_0x1e4654['Text']='text',_0x1e4654['Directive']='directive',_0x1e4654['Comment']='comment',_0x1e4654['Script']='script',_0x1e4654['Style']='style',_0x1e4654['Tag']='tag',_0x1e4654['CDATA']='cdata',_0x1e4654['Doctype']='doctype';}(ElementType||(ElementType={}));const Root=ElementType['Root'],Text$2=ElementType['Text'],Directive=ElementType['Directive'],Comment$2=ElementType['Comment'],Script=ElementType['Script'],Style=ElementType['Style'],_0x57b1cd=ElementType['Tag'],_0x560bac=ElementType['CDATA'],Doctype=ElementType['Doctype'];let _0x3f1ec4=class{constructor(){this['parent']=null,this['prev']=null,this['next']=null,this['startIndex']=null,this['endIndex']=null;}get['parentNode'](){return this['parent'];}set['parentNode'](_0x44a7f7){this['parent']=_0x44a7f7;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x4a4b5a){this['prev']=_0x4a4b5a;}get['nextSibling'](){return this['next'];}set['nextSibling'](_0x2069dc){this['next']=_0x2069dc;}['cloneNode'](_0x42a43f=!0x1){return _0x3a083c(this,_0x42a43f);}};class DataNode extends _0x3f1ec4{constructor(_0x23723b){super(),this['data']=_0x23723b;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x2b10cc){this['data']=_0x2b10cc;}}let Text$1=class extends DataNode{constructor(){super(...arguments),this['type']=ElementType['Text'];}get['nodeType'](){return 0x3;}},Comment$1=class extends DataNode{constructor(){super(...arguments),this['type']=ElementType['Comment'];}get['nodeType'](){return 0x8;}};class ProcessingInstruction extends DataNode{constructor(_0x1fa60d,_0x34122e){super(_0x34122e),this['name']=_0x1fa60d,this['type']=ElementType['Directive'];}get['nodeType'](){return 0x1;}}class NodeWithChildren extends _0x3f1ec4{constructor(_0x1234eb){super(),this['children']=_0x1234eb;}get['firstChild'](){var _0x5372ab;return null!==(_0x5372ab=this['children'][0x0])&&void 0x0!==_0x5372ab?_0x5372ab:null;}get['lastChild'](){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0x40e4c5){this['children']=_0x40e4c5;}}class _0x4f596f extends NodeWithChildren{constructor(){super(...arguments),this['type']=ElementType['CDATA'];}get['nodeType'](){return 0x4;}}class Document extends NodeWithChildren{constructor(){super(...arguments),this['type']=ElementType['Root'];}get['nodeType'](){return 0x9;}}let Element$3=class extends NodeWithChildren{constructor(_0xd9cd38,_0x10e6be,_0x54a975=[],_0x5d3da9='script'===_0xd9cd38?ElementType['Script']:'style'===_0xd9cd38?ElementType['Style']:ElementType['Tag']){super(_0x54a975),this['name']=_0xd9cd38,this['attribs']=_0x10e6be,this['type']=_0x5d3da9;}get['nodeType'](){return 0x1;}get['tagName'](){return this['name'];}set['tagName'](_0x2ee2b2){this['name']=_0x2ee2b2;}get['attributes'](){return Object['keys'](this['attribs'])['map'](_0x4a7e1c=>{var _0x385096,_0x345c2f;return{'name':_0x4a7e1c,'value':this['attribs'][_0x4a7e1c],'namespace':null===(_0x385096=this['x-attribsNamespace'])||void 0x0===_0x385096?void 0x0:_0x385096[_0x4a7e1c],'prefix':null===(_0x345c2f=this['x-attribsPrefix'])||void 0x0===_0x345c2f?void 0x0:_0x345c2f[_0x4a7e1c]};});}};function _0x38e842(_0x711a8f){return _0x15ec9a(_0x711a8f);}function _0x17d8d5(_0x6850b3){return _0x6850b3['type']===ElementType['CDATA'];}function isText$1(_0xeffc2d){return _0xeffc2d['type']===ElementType['Text'];}function isComment(_0x4becd6){return _0x4becd6['type']===ElementType['Comment'];}function isDirective(_0x11b9c5){return _0x11b9c5['type']===ElementType['Directive'];}function isDocument(_0x72f694){return _0x72f694['type']===ElementType['Root'];}function _0x52e51d(_0x3ab669){return Object['prototype']['hasOwnProperty']['call'](_0x3ab669,'children');}function _0x3a083c(_0x5763ac,_0x16edd7=!0x1){let _0xd4d970;if(isText$1(_0x5763ac))_0xd4d970=new Text$1(_0x5763ac['data']);else{if(isComment(_0x5763ac))_0xd4d970=new Comment$1(_0x5763ac['data']);else{if(_0x38e842(_0x5763ac)){const _0x594da1=_0x16edd7?_0x357ad6(_0x5763ac['children']):[],_0x4634be=new Element$3(_0x5763ac['name'],{..._0x5763ac['attribs']},_0x594da1);_0x594da1['forEach'](_0x54514a=>_0x54514a['parent']=_0x4634be),null!=_0x5763ac['namespace']&&(_0x4634be['namespace']=_0x5763ac['namespace']),_0x5763ac['x-attribsNamespace']&&(_0x4634be['x-attribsNamespace']={..._0x5763ac['x-attribsNamespace']}),_0x5763ac['x-attribsPrefix']&&(_0x4634be['x-attribsPrefix']={..._0x5763ac['x-attribsPrefix']}),_0xd4d970=_0x4634be;}else{if(_0x17d8d5(_0x5763ac)){const _0x2e1897=_0x16edd7?_0x357ad6(_0x5763ac['children']):[],_0x4ce446=new _0x4f596f(_0x2e1897);_0x2e1897['forEach'](_0x22ebe1=>_0x22ebe1['parent']=_0x4ce446),_0xd4d970=_0x4ce446;}else{if(isDocument(_0x5763ac)){const _0x1c4cb7=_0x16edd7?_0x357ad6(_0x5763ac['children']):[],_0x16289e=new Document(_0x1c4cb7);_0x1c4cb7['forEach'](_0x475586=>_0x475586['parent']=_0x16289e),_0x5763ac['x-mode']&&(_0x16289e['x-mode']=_0x5763ac['x-mode']),_0xd4d970=_0x16289e;}else{if(!isDirective(_0x5763ac))throw new Error('Not\x20implemented\x20yet:\x20'+_0x5763ac['type']);{const _0x305e74=new ProcessingInstruction(_0x5763ac['name'],_0x5763ac['data']);null!=_0x5763ac['x-name']&&(_0x305e74['x-name']=_0x5763ac['x-name'],_0x305e74['x-publicId']=_0x5763ac['x-publicId'],_0x305e74['x-systemId']=_0x5763ac['x-systemId']),_0xd4d970=_0x305e74;}}}}}}return _0xd4d970['startIndex']=_0x5763ac['startIndex'],_0xd4d970['endIndex']=_0x5763ac['endIndex'],null!=_0x5763ac['sourceCodeLocation']&&(_0xd4d970['sourceCodeLocation']=_0x5763ac['sourceCodeLocation']),_0xd4d970;}function _0x357ad6(_0x46d390){const _0x1738da=_0x46d390['map'](_0x2b465e=>_0x3a083c(_0x2b465e,!0x0));for(let _0x51f3bf=0x1;_0x51f3bf<_0x1738da['length'];_0x51f3bf++)_0x1738da[_0x51f3bf]['prev']=_0x1738da[_0x51f3bf-0x1],_0x1738da[_0x51f3bf-0x1]['next']=_0x1738da[_0x51f3bf];return _0x1738da;}const defaultOpts={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};class _0x2953f3{constructor(_0x3eb182,_0x386ca2,_0x2b5779){this['dom']=[],this['root']=new Document(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0x386ca2&&(_0x2b5779=_0x386ca2,_0x386ca2=defaultOpts),'object'==typeof _0x3eb182&&(_0x386ca2=_0x3eb182,_0x3eb182=void 0x0),this['callback']=null!=_0x3eb182?_0x3eb182:null,this['options']=null!=_0x386ca2?_0x386ca2:defaultOpts,this['elementCB']=null!=_0x2b5779?_0x2b5779:null;}['onparserinit'](_0x5d601e){this['parser']=_0x5d601e;}['onreset'](){this['dom']=[],this['root']=new Document(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'](_0x389094){this['handleCallback'](_0x389094);}['onclosetag'](){this['lastNode']=null;const _0x28b483=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0x28b483['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0x28b483);}['onopentag'](_0x150753,_0x51496c){const _0x4a02=this['options']['xmlMode']?ElementType['Tag']:void 0x0,_0x55988e=new Element$3(_0x150753,_0x51496c,void 0x0,_0x4a02);this['addNode'](_0x55988e),this['tagStack']['push'](_0x55988e);}['ontext'](_0xe9a61b){const {lastNode:_0x2f747d}=this;if(_0x2f747d&&_0x2f747d['type']===ElementType['Text'])_0x2f747d['data']+=_0xe9a61b,this['options']['withEndIndices']&&(_0x2f747d['endIndex']=this['parser']['endIndex']);else{const _0x206863=new Text$1(_0xe9a61b);this['addNode'](_0x206863),this['lastNode']=_0x206863;}}['oncomment'](_0x398ba8){if(this['lastNode']&&this['lastNode']['type']===ElementType['Comment'])return void(this['lastNode']['data']+=_0x398ba8);const _0xbd076d=new Comment$1(_0x398ba8);this['addNode'](_0xbd076d),this['lastNode']=_0xbd076d;}['oncommentend'](){this['lastNode']=null;}['oncdatastart'](){const _0xac6292=new Text$1(''),_0x19f85a=new _0x4f596f([_0xac6292]);this['addNode'](_0x19f85a),_0xac6292['parent']=_0x19f85a,this['lastNode']=_0xac6292;}['oncdataend'](){this['lastNode']=null;}['onprocessinginstruction'](_0xf2b2b8,_0x1a91cc){const _0x1885b6=new ProcessingInstruction(_0xf2b2b8,_0x1a91cc);this['addNode'](_0x1885b6);}['handleCallback'](_0x252f99){if('function'==typeof this['callback'])this['callback'](_0x252f99,this['dom']);else{if(_0x252f99)throw _0x252f99;}}['addNode'](_0x42eddc){const _0x4ab152=this['tagStack'][this['tagStack']['length']-0x1],_0x2bec4e=_0x4ab152['children'][_0x4ab152['children']['length']-0x1];this['options']['withStartIndices']&&(_0x42eddc['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0x42eddc['endIndex']=this['parser']['endIndex']),_0x4ab152['children']['push'](_0x42eddc),_0x2bec4e&&(_0x42eddc['prev']=_0x2bec4e,_0x2bec4e['next']=_0x42eddc),_0x42eddc['parent']=_0x4ab152,this['lastNode']=null;}}const _0xf5b36=/["&'<>$\x80-\uFFFF]/g,_0x290274=new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0x27,'&apos;'],[0x3c,'&lt;'],[0x3e,'&gt;']]),getCodePoint=null!=String['prototype']['codePointAt']?(_0x4b4042,_0x5bd436)=>_0x4b4042['codePointAt'](_0x5bd436):(_0x577887,_0x5b84ed)=>0xd800==(0xfc00&_0x577887['charCodeAt'](_0x5b84ed))?0x400*(_0x577887['charCodeAt'](_0x5b84ed)-0xd800)+_0x577887['charCodeAt'](_0x5b84ed+0x1)-0xdc00+0x10000:_0x577887['charCodeAt'](_0x5b84ed);function _0x542c66(_0x1a5ec8){let _0x3f0f25,_0x532352='',_0x4dfd4d=0x0;for(;null!==(_0x3f0f25=_0xf5b36['exec'](_0x1a5ec8));){const _0x1bbc98=_0x3f0f25['index'],_0x1c5425=_0x1a5ec8['charCodeAt'](_0x1bbc98),_0x580f6a=_0x290274['get'](_0x1c5425);void 0x0!==_0x580f6a?(_0x532352+=_0x1a5ec8['substring'](_0x4dfd4d,_0x1bbc98)+_0x580f6a,_0x4dfd4d=_0x1bbc98+0x1):(_0x532352+=_0x1a5ec8['substring'](_0x4dfd4d,_0x1bbc98)+'&#x'+getCodePoint(_0x1a5ec8,_0x1bbc98)['toString'](0x10)+';',_0x4dfd4d=_0xf5b36['lastIndex']+=Number(0xd800==(0xfc00&_0x1c5425)));}return _0x532352+_0x1a5ec8['substr'](_0x4dfd4d);}function getEscaper(_0x31ad88,_0x887376){return function(_0xdf7902){let _0x3a6085,_0x3578a6=0x0,_0x1e878c='';for(;_0x3a6085=_0x31ad88['exec'](_0xdf7902);)_0x3578a6!==_0x3a6085['index']&&(_0x1e878c+=_0xdf7902['substring'](_0x3578a6,_0x3a6085['index'])),_0x1e878c+=_0x887376['get'](_0x3a6085[0x0]['charCodeAt'](0x0)),_0x3578a6=_0x3a6085['index']+0x1;return _0x1e878c+_0xdf7902['substring'](_0x3578a6);};}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'](_0x25dbbf=>[_0x25dbbf['toLowerCase'](),_0x25dbbf])),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'](_0x2568b5=>[_0x2568b5['toLowerCase'](),_0x2568b5])),unencodedElements=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function replaceQuotes(_0x3acb38){return _0x3acb38['replace'](/"/g,'&quot;');}function formatAttributes(_0xa22c68,_0x42fb30){var _0x57b389;if(!_0xa22c68)return;const _0x28c55e=!0x1===(null!==(_0x57b389=_0x42fb30['encodeEntities'])&&void 0x0!==_0x57b389?_0x57b389:_0x42fb30['decodeEntities'])?replaceQuotes:_0x42fb30['xmlMode']||'utf8'!==_0x42fb30['encodeEntities']?_0x542c66:escapeAttribute;return Object['keys'](_0xa22c68)['map'](_0x494731=>{var _0x20bb5b,_0x5c1bdc;const _0x106160=null!==(_0x20bb5b=_0xa22c68[_0x494731])&&void 0x0!==_0x20bb5b?_0x20bb5b:'';return'foreign'===_0x42fb30['xmlMode']&&(_0x494731=null!==(_0x5c1bdc=attributeNames['get'](_0x494731))&&void 0x0!==_0x5c1bdc?_0x5c1bdc:_0x494731),_0x42fb30['emptyAttrs']||_0x42fb30['xmlMode']||''!==_0x106160?_0x494731+'=\x22'+_0x28c55e(_0x106160)+'\x22':_0x494731;})['join']('\x20');}const _0x8273f6=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']);function _0xbfa010(_0x1098c2,_0x55439d={}){const _0x225d9b='length'in _0x1098c2?_0x1098c2:[_0x1098c2];let _0xb991fd='';for(let _0x1d2a7=0x0;_0x1d2a7<_0x225d9b['length'];_0x1d2a7++)_0xb991fd+=_0x3ee3ff(_0x225d9b[_0x1d2a7],_0x55439d);return _0xb991fd;}function _0x3ee3ff(_0x40b513,_0x3e4ff5){switch(_0x40b513['type']){case Root:return _0xbfa010(_0x40b513['children'],_0x3e4ff5);case Doctype:case Directive:return renderDirective(_0x40b513);case Comment$2:return renderComment(_0x40b513);case _0x560bac:return renderCdata(_0x40b513);case Script:case Style:case _0x57b1cd:return _0x20bcc8(_0x40b513,_0x3e4ff5);case Text$2:return renderText(_0x40b513,_0x3e4ff5);}}const foreignModeIntegrationPoints=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),foreignElements=new Set(['svg','math']);function _0x20bcc8(_0x463c9b,_0x4e88ed){var _0x32b64b;'foreign'===_0x4e88ed['xmlMode']&&(_0x463c9b['name']=null!==(_0x32b64b=elementNames['get'](_0x463c9b['name']))&&void 0x0!==_0x32b64b?_0x32b64b:_0x463c9b['name'],_0x463c9b['parent']&&foreignModeIntegrationPoints['has'](_0x463c9b['parent']['name'])&&(_0x4e88ed={..._0x4e88ed,'xmlMode':!0x1})),!_0x4e88ed['xmlMode']&&foreignElements['has'](_0x463c9b['name'])&&(_0x4e88ed={..._0x4e88ed,'xmlMode':'foreign'});let _0x565c59='<'+_0x463c9b['name'];const _0x445f22=formatAttributes(_0x463c9b['attribs'],_0x4e88ed);return _0x445f22&&(_0x565c59+='\x20'+_0x445f22),0x0===_0x463c9b['children']['length']&&(_0x4e88ed['xmlMode']?!0x1!==_0x4e88ed['selfClosingTags']:_0x4e88ed['selfClosingTags']&&_0x8273f6['has'](_0x463c9b['name']))?(_0x4e88ed['xmlMode']||(_0x565c59+='\x20'),_0x565c59+='/>'):(_0x565c59+='>',_0x463c9b['children']['length']>0x0&&(_0x565c59+=_0xbfa010(_0x463c9b['children'],_0x4e88ed)),!_0x4e88ed['xmlMode']&&_0x8273f6['has'](_0x463c9b['name'])||(_0x565c59+='</'+_0x463c9b['name']+'>')),_0x565c59;}function renderDirective(_0x258a1f){return'<'+_0x258a1f['data']+'>';}function renderText(_0x27a89c,_0x4427c1){var _0xf5ea59;let _0x279534=_0x27a89c['data']||'';return!0x1===(null!==(_0xf5ea59=_0x4427c1['encodeEntities'])&&void 0x0!==_0xf5ea59?_0xf5ea59:_0x4427c1['decodeEntities'])||!_0x4427c1['xmlMode']&&_0x27a89c['parent']&&unencodedElements['has'](_0x27a89c['parent']['name'])||(_0x279534=_0x4427c1['xmlMode']||'utf8'!==_0x4427c1['encodeEntities']?_0x542c66(_0x279534):escapeText(_0x279534)),_0x279534;}function renderCdata(_0x2ee17){return'<![CDATA['+_0x2ee17['children'][0x0]['data']+']]>';}function renderComment(_0x3120e9){return'<!--'+_0x3120e9['data']+'-->';}function textContent(_0x3488f3){return Array['isArray'](_0x3488f3)?_0x3488f3['map'](textContent)['join'](''):_0x52e51d(_0x3488f3)&&!isComment(_0x3488f3)?textContent(_0x3488f3['children']):isText$1(_0x3488f3)?_0x3488f3['data']:'';}function getChildren$1(_0x1f5e02){return _0x52e51d(_0x1f5e02)?_0x1f5e02['children']:[];}function getParent(_0x2f1cea){return _0x2f1cea['parent']||null;}function removeElement(_0x21ed6f){if(_0x21ed6f['prev']&&(_0x21ed6f['prev']['next']=_0x21ed6f['next']),_0x21ed6f['next']&&(_0x21ed6f['next']['prev']=_0x21ed6f['prev']),_0x21ed6f['parent']){const _0xb2e0c5=_0x21ed6f['parent']['children'],_0x4f66d0=_0xb2e0c5['lastIndexOf'](_0x21ed6f);_0x4f66d0>=0x0&&_0xb2e0c5['splice'](_0x4f66d0,0x1);}_0x21ed6f['next']=null,_0x21ed6f['prev']=null,_0x21ed6f['parent']=null;}function replaceElement(_0x1afee8,_0x4fb62f){const _0x4b372e=_0x4fb62f['prev']=_0x1afee8['prev'];_0x4b372e&&(_0x4b372e['next']=_0x4fb62f);const _0x419224=_0x4fb62f['next']=_0x1afee8['next'];_0x419224&&(_0x419224['prev']=_0x4fb62f);const _0x1c38d6=_0x4fb62f['parent']=_0x1afee8['parent'];if(_0x1c38d6){const _0x511d0c=_0x1c38d6['children'];_0x511d0c[_0x511d0c['lastIndexOf'](_0x1afee8)]=_0x4fb62f,_0x1afee8['parent']=null;}}function _0x3962fb(_0x1821bb,_0x4cb58f){if(removeElement(_0x4cb58f),_0x4cb58f['next']=null,_0x4cb58f['parent']=_0x1821bb,_0x1821bb['children']['push'](_0x4cb58f)>0x1){const _0x45b516=_0x1821bb['children'][_0x1821bb['children']['length']-0x2];_0x45b516['next']=_0x4cb58f,_0x4cb58f['prev']=_0x45b516;}else _0x4cb58f['prev']=null;}function _0x504927(_0x249132,_0xacc57){removeElement(_0xacc57);const {parent:_0x33373f}=_0x249132,_0x4ab31d=_0x249132['next'];if(_0xacc57['next']=_0x4ab31d,_0xacc57['prev']=_0x249132,_0x249132['next']=_0xacc57,_0xacc57['parent']=_0x33373f,_0x4ab31d){if(_0x4ab31d['prev']=_0xacc57,_0x33373f){const _0x44f696=_0x33373f['children'];_0x44f696['splice'](_0x44f696['lastIndexOf'](_0x4ab31d),0x0,_0xacc57);}}else _0x33373f&&_0x33373f['children']['push'](_0xacc57);}function _0x2b2911(_0x21356f,_0x4b156d){if(removeElement(_0x4b156d),_0x4b156d['parent']=_0x21356f,_0x4b156d['prev']=null,0x1!==_0x21356f['children']['unshift'](_0x4b156d)){const _0x10ba47=_0x21356f['children'][0x1];_0x10ba47['prev']=_0x4b156d,_0x4b156d['next']=_0x10ba47;}else _0x4b156d['next']=null;}function _0x3e8fbb(_0x37e15b,_0x4f5179){removeElement(_0x4f5179);const {parent:_0x5c5e4a}=_0x37e15b;if(_0x5c5e4a){const _0x379d08=_0x5c5e4a['children'];_0x379d08['splice'](_0x379d08['indexOf'](_0x37e15b),0x0,_0x4f5179);}_0x37e15b['prev']&&(_0x37e15b['prev']['next']=_0x4f5179),_0x4f5179['parent']=_0x5c5e4a,_0x4f5179['prev']=_0x37e15b['prev'],_0x4f5179['next']=_0x37e15b,_0x37e15b['prev']=_0x4f5179;}function _0x218632(_0x57ff9f,_0x15a978,_0x227beb,_0x1df3f3){const _0x175e08=[],_0x4f3b89=[Array['isArray'](_0x15a978)?_0x15a978:[_0x15a978]],_0x41d182=[0x0];for(;;){if(_0x41d182[0x0]>=_0x4f3b89[0x0]['length']){if(0x1===_0x41d182['length'])return _0x175e08;_0x4f3b89['shift'](),_0x41d182['shift']();continue;}const _0x18a057=_0x4f3b89[0x0][_0x41d182[0x0]++];if(_0x57ff9f(_0x18a057)&&(_0x175e08['push'](_0x18a057),--_0x1df3f3<=0x0))return _0x175e08;_0x52e51d(_0x18a057)&&_0x18a057['children']['length']>0x0&&(_0x41d182['unshift'](0x0),_0x4f3b89['unshift'](_0x18a057['children']));}}function _0x3c2953(_0x3e87e6,_0x5d206c,_0x360439=!0x0){const _0x4d88ff=Array['isArray'](_0x5d206c)?_0x5d206c:[_0x5d206c];for(let _0x1a959b=0x0;_0x1a959b<_0x4d88ff['length'];_0x1a959b++){const _0x58c271=_0x4d88ff[_0x1a959b];if(_0x38e842(_0x58c271)&&_0x3e87e6(_0x58c271))return _0x58c271;if(_0x360439&&_0x52e51d(_0x58c271)&&_0x58c271['children']['length']>0x0){const _0x4152f1=_0x3c2953(_0x3e87e6,_0x58c271['children'],!0x0);if(_0x4152f1)return _0x4152f1;}}return null;}function _0x55d750(_0x1bdd8b,_0x18b1b4){const _0x3a012b=[],_0x63923=[Array['isArray'](_0x18b1b4)?_0x18b1b4:[_0x18b1b4]],_0x104385=[0x0];for(;;){if(_0x104385[0x0]>=_0x63923[0x0]['length']){if(0x1===_0x63923['length'])return _0x3a012b;_0x63923['shift'](),_0x104385['shift']();continue;}const _0x296bd0=_0x63923[0x0][_0x104385[0x0]++];_0x38e842(_0x296bd0)&&_0x1bdd8b(_0x296bd0)&&_0x3a012b['push'](_0x296bd0),_0x52e51d(_0x296bd0)&&_0x296bd0['children']['length']>0x0&&(_0x104385['unshift'](0x0),_0x63923['unshift'](_0x296bd0['children']));}}function parseDocument(_0x20875f,_0x1e18c1){const _0x2ed994=new _0x2953f3(void 0x0,_0x1e18c1);return new _0x872f6a(_0x2ed994,_0x1e18c1)['end'](_0x20875f),_0x2ed994['root'];}function _0x10117b(_0x3f2595){return parseDocument(_0x3f2595);}function _0x54c47c(_0x204ace){return _0xbfa010(_0x204ace);}function findByAttribute(_0x1afadf,_0x3ac219,_0xb431ed){const _0x1a5055=null!==_0x3ac219?_0x4e1c97=>_0x4e1c97['attribs'][_0x1afadf]===_0x3ac219:_0x19cc7e=>Boolean(_0x19cc7e['attribs'][_0x1afadf]);return _0x3c2953(_0x57996b=>_0x38e842(_0x57996b)&&_0x1a5055(_0x57996b),_0xb431ed);}function findAllByAttribute(_0x4ba944,_0x2ad609,_0x440127){const _0x216e7d=null!==_0x2ad609?_0x3e4ffd=>_0x3e4ffd['attribs'][_0x4ba944]===_0x2ad609:_0x53e9b2=>Boolean(_0x53e9b2['attribs'][_0x4ba944]);return _0x55d750(_0x5c9787=>_0x38e842(_0x5c9787)&&_0x216e7d(_0x5c9787),_0x440127);}function findAllComments(_0x4da5c8){return _0x218632(_0x18aac5=>isComment(_0x18aac5),_0x4da5c8,!0x0,0x1/0x0);}function getAttribute(_0x314027,_0x506f5e){return _0x314027&&_0x38e842(_0x314027)?_0x314027['attribs'][_0x506f5e]:null;}function setAttribute(_0x2e88f7,_0x4989b1,_0x59c9c7){_0x38e842(_0x2e88f7)&&(null===_0x59c9c7?delete _0x2e88f7['attribs'][_0x4989b1]:_0x2e88f7['attribs'][_0x4989b1]=_0x59c9c7);}function insertElement(_0x1898ed,_0x2d96cd,_0x17abe5){const _0x42ad38=_0x2d96cd['cloneNode'](!0x0);'beforebegin'===_0x17abe5?_0x3e8fbb(_0x1898ed,_0x42ad38):'afterbegin'===_0x17abe5?_0x2b2911(_0x1898ed,_0x42ad38):'beforeend'===_0x17abe5?_0x3962fb(_0x1898ed,_0x42ad38):'afterend'===_0x17abe5&&_0x504927(_0x1898ed,_0x42ad38);}function moveElement(_0x5898df,_0x34a737){removeElement(_0x5898df),replaceElement(_0x34a737,_0x5898df);}function _0x5c6d09(_0x2c105f){return _0x2c105f['cloneNode'](!0x0);}function getParents(_0x56048a){const _0x1807ec=[];let _0x46af99=_0x56048a;for(;_0x46af99;)_0x46af99=getParent(_0x46af99),_0x46af99&&_0x1807ec['push'](_0x46af99);return _0x1807ec;}function _0x5ab42c(_0x3b755f){return _0x3b755f['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function _0x278618(_0x1d1c21,_0x16b7ca){return _0x5ab42c(_0x54c47c(_0x1d1c21))===_0x5ab42c(_0x54c47c(_0x16b7ca));}function getNodeNestingLevel(_0x46dc43){let _0x4fdf4c=0x0;for(;_0x46dc43['parentNode'];)_0x46dc43=_0x46dc43['parentNode'],_0x4fdf4c++;return _0x4fdf4c;}function removeElementsAfter(_0x4c6716){const _0x1bd82a=[];let _0x533b40=_0x4c6716['nextSibling'];for(;_0x533b40;)_0x1bd82a['push'](_0x533b40),_0x533b40=_0x533b40['nextSibling'];_0x1bd82a['forEach'](_0x53f4d8=>{removeElement(_0x53f4d8);});}class _0x1bb9d8 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_m2html'];constructor(){super(),this['_m2html']=new ckeditor5['MarkdownGfmMdToHtml']();}['convertMarkdownToHTML'](_0x182e2c){const _0x16d6dd=this['_m2html']['parse'](_0x182e2c);return this['parseAndNormalizeHTML'](_0x16d6dd);}['parseAndNormalizeHTML'](_0x2d359a){return this['_parseHTML'](_0x2d359a);}['_parseHTML'](_0x22659e){const _0x51f257=_0x10117b('<dummy>'+_0x22659e['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/<[^>]*?$/g,'')+'</dummy>');return _0x51f257['children']=_0x51f257['children'][0x0]['children'],_0x51f257;}}class _0x36014f extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_generateUid'];['_touchedNodesState']={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};['_existingDataIds']=new Set();constructor(_0x57cf70){super(),this['_generateUid']=_0x57cf70||ckeditor5['uid'];}['merge'](_0x31dc53,_0x4ddb1a,_0x3cc401){const _0x5cddba=_0x5c6d09(_0x31dc53);if(0x0===_0x4ddb1a['childNodes']['length']){const _0x493a52=[];return findAllByAttribute('data-id','new-element',_0x5cddba)['forEach'](_0x12a412=>{const _0x5002cd=this['_generateUid']();setAttribute(_0x12a412,'data-id',_0x5002cd),_0x493a52['push'](_0x5002cd);}),this['_removeSpecialComments'](_0x5cddba),{'parsedContent':_0x5cddba,'newNodeIds':_0x493a52,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x3cc401&&_0x3cc401['markUnstableElements']&&this['_markLastTagElementUnstable'](_0x5cddba),this['_touchedNodesState']['newIds']=[],this['_touchedNodesState']['modifiedIds']=[],this['_touchedNodesState']['removedIds']=[],this['_touchedNodesState']['invalidIds']=[],this['_touchedNodesState']['lastTouchedId']=null,this['_existingDataIds']=new Set(findAllByAttribute('data-id',null,_0x4ddb1a)['map'](_0x39f04c=>getAttribute(_0x39f04c,'data-id'))['filter'](_0x1452e2=>!!_0x1452e2));let _0x4421cd=-0x1,_0xe63918=!0x1;const _0x2c4b3a=_0x5cddba['childNodes'],_0x14bbb7=Array['from'](_0x2c4b3a)['filter'](_0x41e1e5=>!(0x3===_0x41e1e5['nodeType']&&''===_0x54c47c(_0x41e1e5)['trim']())),_0x153652=_0x14bbb7['length'];for(let _0x4b336d=0x0;_0x4b336d<_0x153652;_0x4b336d++){const _0x1c1c7a=_0x14bbb7[_0x4b336d],_0xe94b59=_0x14bbb7[_0x4b336d+0x1];if(this['_isNewNode'](_0x1c1c7a)){if(-0x1===_0x4421cd&&(_0x4421cd=_0x4b336d),this['_markWrappedElements'](_0x1c1c7a),!this['_isNewNode'](_0xe94b59)){const [_0x510862,_0x30f30a]=this['_findReferenceNode'](_0x1c1c7a,_0xe63918,_0x4ddb1a);if(_0x510862){const _0x253172=Array['from'](_0x14bbb7)['slice'](_0x4421cd,_0x4b336d+0x1);this['_insertNodes'](_0x510862,_0x253172,_0x30f30a),_0x4421cd=-0x1;}}}else{if(this['_isExistingContentComment'](_0x1c1c7a))_0xe63918=!0x0;else{if(this['_isExistingNode'](_0x1c1c7a)){const _0x32c24b=getAttribute(_0x1c1c7a,'data-id');if(_0x32c24b&&this['_existingDataIds']['has'](_0x32c24b)){const _0x27b7f0=findByAttribute('data-id',_0x32c24b,_0x4ddb1a);this['_replaceNode'](_0x27b7f0,_0x1c1c7a);}if(this['_touchedNodesState']['removedIds']['includes'](_0x32c24b)){const _0x409099=this['_touchedNodesState']['removedIds']['indexOf'](_0x32c24b);this['_touchedNodesState']['removedIds']['splice'](_0x409099,0x1);}}else{if(this['_isDelNode'](_0x1c1c7a)){const _0x1339f1=getAttribute(_0x1c1c7a,'data-id');this['_touchedNodesState']['modifiedIds']['includes'](_0x1339f1)||this['_storeDeletedElementIds'](_0x1c1c7a);}}}}}for(const _0x30917c of this['_touchedNodesState']['removedIds']){const _0x4c25b4=findByAttribute('data-id',_0x30917c,_0x4ddb1a);if(_0x4c25b4){if(_0x3cc401&&_0x3cc401['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0x30917c;const _0x221f60=_0x3cc401['replaceRemovedWith']['cloneNode'](!0x0);setAttribute(_0x221f60,'data-id',_0x30917c),setAttribute(_0x221f60,'data-removed','true'),replaceElement(_0x4c25b4,_0x221f60);}else removeElement(_0x4c25b4);}}if(findAllByAttribute('data-wrapped-id',null,_0x4ddb1a)['forEach'](_0x3d2ba9=>{const _0x1aef07=findByAttribute('data-id',getAttribute(_0x3d2ba9,'data-wrapped-id'),_0x4ddb1a);_0x1aef07&&moveElement(_0x1aef07,_0x3d2ba9);}),findAllByAttribute('data-id','new-element',_0x4ddb1a)['forEach'](_0x2c82c2=>{const _0x4e72e5=this['_getUid'](_0x2c82c2);setAttribute(_0x2c82c2,'data-id',_0x4e72e5),this['_touchedNodesState']['newIds']['push'](_0x4e72e5);}),this['_removeSpecialComments'](_0x4ddb1a),_0x3cc401&&_0x3cc401['markUnstableElements']&&this['_markUnstableElements'](_0x4ddb1a,_0x3cc401['markUnstableElementsDepth']||0x0),_0x3cc401&&_0x3cc401['cutAfterLastChange']&&this['_touchedNodesState']['lastTouchedId']){let _0x4b87f9=findByAttribute('data-id',this['_touchedNodesState']['lastTouchedId'],_0x4ddb1a);for(;_0x4b87f9;)removeElementsAfter(_0x4b87f9),_0x4b87f9=_0x4b87f9['parentNode'];}return{'parsedContent':_0x4ddb1a,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds']};}['_insertNodes'](_0x8e6569,_0x1aa420,_0x5c6660){for(const _0xb6bb3b of _0x1aa420){const _0x6c9a4f=this['_getUid'](_0xb6bb3b);setAttribute(_0xb6bb3b,'data-id',_0x6c9a4f),this['_touchedNodesState']['newIds']['push'](_0x6c9a4f),this['_touchedNodesState']['lastTouchedId']=_0x6c9a4f;}const _0x5a6dfd='afterbegin'===_0x5c6660||'afterend'===_0x5c6660?_0x1aa420['reverse']():_0x1aa420;for(const _0x5ca1dc of _0x5a6dfd)insertElement(_0x8e6569,_0x5ca1dc,_0x5c6660);}['_replaceNode'](_0x2998ab,_0x2694a7){if(!_0x2998ab)return;if(_0x278618(_0x2998ab,_0x2694a7))return;const _0x538b9b=this['_getUid'](_0x2998ab);setAttribute(_0x2694a7,'data-id',_0x538b9b),this['_touchedNodesState']['modifiedIds']['push'](_0x538b9b),this['_touchedNodesState']['lastTouchedId']=_0x538b9b,replaceElement(_0x2998ab,_0x2694a7['cloneNode'](!0x0));}['_findReferenceNode'](_0x7c6a41,_0x43a72d,_0x3b9975){const _0xb576d6=this['_findPrevElementWithDataId'](_0x7c6a41,!0x1);if(_0xb576d6){const _0x42a89a=this['_getNodeDataId'](_0xb576d6),_0x1174fb=findByAttribute('data-id',_0x42a89a,_0x3b9975);if(_0x1174fb)return[_0x1174fb,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x42a89a);}const _0x5622fe=this['_findNextElementWithDataId'](_0x7c6a41,!0x1);if(_0x5622fe){const _0x3519c2=this['_getNodeDataId'](_0x5622fe),_0x592505=findByAttribute('data-id',_0x3519c2,_0x3b9975);if(_0x592505)return[_0x592505,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0x3519c2);}return _0x43a72d?_0x7c6a41['nextSibling']?this['_findFallbackReferenceNode'](_0x7c6a41,_0x3b9975):[_0x3b9975['childNodes'][_0x3b9975['childNodes']['length']-0x1],'afterend']:[_0x3b9975['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x45b15c,_0x73bba7){const _0x1b09a7=[],_0x16256e=this['_findPrevElementWithDataId'](_0x45b15c,!0x0);if(_0x16256e){const _0x10d329=findByAttribute('data-id',this['_getNodeDataId'](_0x16256e),_0x73bba7);_0x10d329&&_0x1b09a7['push']([_0x10d329,'afterend']);}const _0x1a7ff2=this['_findNextElementWithDataId'](_0x45b15c,!0x0);if(_0x1a7ff2){const _0x5e5135=findByAttribute('data-id',this['_getNodeDataId'](_0x1a7ff2),_0x73bba7);_0x5e5135&&_0x1b09a7['push']([_0x5e5135,'beforebegin']);}if(_0x1b09a7['length']>0x1)return getNodeNestingLevel(_0x1b09a7[0x0][0x0])<=getNodeNestingLevel(_0x1b09a7[0x1][0x0])?_0x1b09a7[0x0]:_0x1b09a7[0x1];return 0x1===_0x1b09a7['length']?_0x1b09a7[0x0]:[_0x73bba7['lastChild'],'afterend'];}['_findNextElementWithDataId'](_0x51866e,_0x3791c6){let _0x2949a5=_0x51866e['nextSibling'],_0x2bea4e=null,_0x59f01d=!0x1;for(;_0x2949a5;){if(isComment(_0x2949a5)){if(this['_isDelNode'](_0x2949a5)&&(_0x2bea4e=_0x2949a5),this['_isExistingContentComment'](_0x2949a5)&&_0x3791c6&&!_0x59f01d){_0x59f01d=!0x0,_0x2949a5=_0x2949a5['nextSibling'];continue;}break;}const _0x404a00=getAttribute(_0x2949a5,'data-id');if(_0x404a00&&'new-element'!==_0x404a00&&this['_existingDataIds']['has'](_0x404a00)){_0x2bea4e=_0x2949a5;break;}_0x2949a5=_0x2949a5['nextSibling'];}return _0x2bea4e;}['_findPrevElementWithDataId'](_0x504f05,_0x3ed0fb){let _0x7acb59=_0x504f05['previousSibling'],_0x333fab=null,_0x26ae5c=!0x1;for(;_0x7acb59;){if(isComment(_0x7acb59)){if(this['_isDelNode'](_0x7acb59)&&(_0x333fab=_0x7acb59),this['_isExistingContentComment'](_0x7acb59)&&_0x3ed0fb&&!_0x26ae5c){_0x26ae5c=!0x0,_0x7acb59=_0x7acb59['previousSibling'];continue;}break;}const _0x265b42=getAttribute(_0x7acb59,'data-id');if(_0x265b42&&'new-element'!==_0x265b42&&this['_existingDataIds']['has'](_0x265b42)){_0x333fab=_0x7acb59;break;}_0x7acb59=_0x7acb59['previousSibling'];}return _0x333fab;}['_markWrappedElements'](_0x5dafa6){_0x38e842(_0x5dafa6)&&findAllByAttribute('data-id',null,_0x5dafa6)['forEach'](_0xcfd052=>{this['_isExistingNode'](_0xcfd052)&&!this['_hasWrappedParent'](_0xcfd052)&&(setAttribute(_0xcfd052,'data-wrapped-id',getAttribute(_0xcfd052,'data-id')),setAttribute(_0xcfd052,'data-id',null));});}['_getNodeDataId'](_0xdeb11c){if(!_0xdeb11c)return null;if(_0x38e842(_0xdeb11c))return getAttribute(_0xdeb11c,'data-id');if(isComment(_0xdeb11c)){const _0x4d2b60=_0x54c47c(_0xdeb11c)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0x4d2b60&&_0x4d2b60[0x1])return _0x4d2b60[0x1];}return null;}['_storeDeletedElementIds'](_0x44d0ad){if(isComment(_0x44d0ad)){const _0x459b1b=_0x54c47c(_0x44d0ad)['match'](/removed[\s*-]data-id="([^"]+)"/);_0x459b1b&&_0x459b1b[0x1]&&this['_touchedNodesState']['removedIds']['push'](_0x459b1b[0x1]);}}['_getUid'](_0x43cb88){return this['_isExistingNode'](_0x43cb88)?getAttribute(_0x43cb88,'data-id'):this['_generateUid']();}['_removeSpecialComments'](_0x107fad){findAllComments(_0x107fad)['filter'](_0x574009=>this['_isDelNode'](_0x574009)||this['_isExistingContentComment'](_0x574009))['forEach'](_0x11dfd9=>{removeElement(_0x11dfd9);});}['_markLastTagElementUnstable'](_0x34d6e4){const _0x5dea59=_0x34d6e4['childNodes'],_0x1b92e2=_0x5dea59[_0x5dea59['length']-0x1];_0x1b92e2&&_0x38e842(_0x1b92e2)&&setAttribute(_0x1b92e2,'data-unstable','true');}['_markUnstableElements'](_0x350c83,_0x3d139){const _0x4b1fa1=findByAttribute('data-unstable','true',_0x350c83);if(!_0x4b1fa1)return;const _0x5a9793=getParents(_0x4b1fa1)['slice'](0x0,-0x1),_0x5ed01e=_0x5a9793['length'];let _0x62c11a=_0x4b1fa1;if(_0x5ed01e>_0x3d139){let _0x22320f=_0x5ed01e,_0x4040f7=null;for(;_0x22320f>_0x3d139&&_0x22320f>=0x0;)_0x22320f--,_0x4040f7=_0x5a9793[_0x22320f];_0x4040f7&&(_0x62c11a=_0x4040f7,setAttribute(_0x4b1fa1,'data-unstable',null),setAttribute(_0x4040f7,'data-unstable','true'));}else{if(_0x5ed01e<_0x3d139){let _0x24e3d8=_0x5ed01e,_0xf543a0=_0x4b1fa1;for(;_0x24e3d8<_0x3d139;){const _0x5e6729=_0xf543a0['childNodes']['filter'](_0x305453=>_0x38e842(_0x305453));if(0x0===_0x5e6729['length'])break;_0x24e3d8++,_0xf543a0=_0x5e6729[_0x5e6729['length']-0x1];}_0xf543a0&&(_0x62c11a=_0xf543a0,setAttribute(_0x4b1fa1,'data-unstable',null),setAttribute(_0xf543a0,'data-unstable','true'));}}let _0x2728da=_0x62c11a;for(;_0x2728da;){for(;_0x2728da['nextSibling'];)_0x2728da=_0x2728da['nextSibling'],_0x38e842(_0x2728da)&&setAttribute(_0x2728da,'data-unstable','true');_0x2728da=_0x2728da['parentNode'];}}['_isNewNode'](_0x163b49){return Boolean('new-element'===getAttribute(_0x163b49,'data-id'));}['_isExistingNode'](_0x1f9a67){return Boolean((getAttribute(_0x1f9a67,'data-id')||'')['length']>0x0&&'new-element'!==getAttribute(_0x1f9a67,'data-id'));}['_isDelNode'](_0x19d4be){return!!_0x19d4be&&Boolean(isComment(_0x19d4be)&&_0x54c47c(_0x19d4be)['match'](/removed[\s*-]data-id="[^"]+"/));}['_hasWrappedParent'](_0xe2e4f6){let _0x15d172=_0xe2e4f6['parentNode'];for(;_0x15d172;){if(getAttribute(_0x15d172,'data-wrapped-id'))return!0x0;_0x15d172=_0x15d172['parentNode'];}return!0x1;}['_isExistingContentComment'](_0x25e666){return Boolean(isComment(_0x25e666)&&_0x54c47c(_0x25e666)['match'](/\s*existing[\s*-](content|document)\s*/g));}}class _0x199112 extends ckeditor5['ContextPlugin']{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x414230,_0x154e4f){let _0x2a1c20;if(_0x154e4f||(_0x154e4f=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x154e4f?_0x2a1c20=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x2a1c20=this['context']['editors']['find'](_0x3606d0=>_0x3606d0['config']['get']('collaboration.channelId')==_0x154e4f)),!_0x2a1c20)throw new ckeditor5['CKEditorError']('permissions-set-permissions-invalid-channel-id',null);const _0x54f652=_0x2a1c20['plugins'],_0x40b751=_0x54f652['has']('CommentsRepository')?_0x54f652['get']('CommentsRepository'):void 0x0,_0x3a00c0=_0x54f652['has']('CommentsOnly')&&_0x54f652['get']('CommentsOnly'),_0x164947=_0x414230['includes']('document:write'),_0x25cd1c=_0x414230['includes']('comment:modify_all'),_0x21ec8f=_0x414230['includes']('comment:admin'),_0x33cc98=_0x414230['includes']('comment:write'),_0x42bec7=_0x33cc98||_0x21ec8f,_0x404c03=_0x42bec7||_0x25cd1c,_0x419b5f=_0x164947||_0x42bec7;(_0x3a00c0&&(_0x3a00c0['isEnabled']=!_0x164947&&_0x404c03),_0x2a1c20 instanceof ckeditor5['Editor'])&&(!(_0x164947||_0x404c03&&_0x40b751)?_0x2a1c20['enableReadOnlyMode']('no-permissions'):_0x2a1c20['disableReadOnlyMode']('no-permissions'));if(_0x40b751){_0x40b751['setPermissions']({'admin':_0x21ec8f,'modifyAll':_0x25cd1c,'write':_0x33cc98,'resolve':_0x419b5f},_0x154e4f);const _0x441575=_0x2a1c20 instanceof ckeditor5['Editor']&&_0x2a1c20['commands']['get']('addCommentThread');_0x441575&&(_0x42bec7?_0x441575['clearForceDisabled']('noPermissions'):_0x441575['forceDisabled']('noPermissions'));}}}function getTranslation$h(_0xd576d,_0x1a9ee3){const t=_0xd576d['t'];switch(_0x1a9ee3){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 _0xd5bff4 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[_0x199112];}constructor(_0x380141){super(_0x380141),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new ckeditor5['Collection'](),this['_locale']=_0x380141['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:_0x2d8915,name:_0x520e9f,..._0x31bb86}){if(!_0x2d8915||'string'!=typeof _0x2d8915)throw new ckeditor5['CKEditorError']('users-add-invalid-id');if(this['users']['has'](_0x2d8915))throw new ckeditor5['CKEditorError']('users-add-duplicated-id',null,{'id':_0x2d8915});const _0x5ae4c7=this['context']['config']['get']('users.getInitialsCallback'),_0x5979b3={..._0x31bb86,'id':_0x2d8915,'name':_0x3dde56(this['_locale'],_0x520e9f),'color':this['_getNextColor']()};_0x5979b3['name']=_0x3dde56(this['_locale'],_0x5979b3['name']);const _0x233ede=new _0x479b4c(_0x5979b3,_0x5ae4c7);return this['users']['add'](_0x233ede),_0x233ede;}['getUser'](_0xe1862d){return this['users']['get'](_0xe1862d);}['useAnonymousUser'](){const _0x7b6ac8=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x7b6ac8);}['defineMe'](_0x2899ef){if(this['_myId'])throw new ckeditor5['CKEditorError']('users-me-already-defined',null);const _0x4d3c03=this['getUser'](_0x2899ef);if(!_0x4d3c03)throw new ckeditor5['CKEditorError']('users-me-missing-user',null);this['_myId']=_0x2899ef,_0x4d3c03['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x4b8d33=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x4b8d33&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x11b4aa=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x11b4aa,'name':getTranslation$h(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}let _0x479b4c=class{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x1e101f,_0x272591){this['id']=_0x1e101f['id'],this['color']=_0x1e101f['color'],this['name']=_0x1e101f['name'],this['initials']=_0x272591?_0x272591(this['name']):this['_computeInitials'](),this['avatar']=_0x1e101f['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0xb94a44=this['name']['split']('\x20')['filter'](_0x23689e=>/^[\p{Letter}]/u['test'](_0x23689e));return 0x1===_0xb94a44['length']?this['_getInitial'](_0xb94a44[0x0]):0x0===_0xb94a44['length']?this['_getInitial'](this['name']):this['_getInitial'](_0xb94a44[0x0])+this['_getInitial'](_0xb94a44[_0xb94a44['length']-0x1]);}['_getInitial'](_0x23b61f){return String['fromCodePoint'](_0x23b61f['codePointAt'](0x0))['toUpperCase']();}};function _0x3dde56(_0x32d242,_0x485dd9=''){return''==(_0x485dd9=_0x485dd9['trim']())?getTranslation$h(_0x32d242,'Anonymous'):_0x485dd9;}class CollaborationUserColor{['_id'];constructor(_0x2114be){this['_id']=_0x2114be;}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'];}}class _0x267a8b extends ckeditor5['View']{['name'];['notificationView'];constructor(_0x2aac8f,_0x4e790b,_0x2c37c7){super(_0x2aac8f),this['name']=_0x4e790b['name'],this['notificationView']=null;const _0x494e79=['ck','ck-user'],_0x25c3ca=['ck','ck-user__img'];if(_0x4e790b['isAnonymous']&&_0x25c3ca['push']('ck-user__anonymous'),!_0x4e790b['isAnonymous']&&_0x4e790b['isMe']&&_0x494e79['push']('ck-user_me'),_0x4e790b['avatar']&&_0x25c3ca['push']('ck-user__avatar'),_0x2c37c7){const _0x7b6d68=new ckeditor5['IconView']();_0x7b6d68['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x7b6d68['content']=ckeditor5['IconNotification'],this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x2c37c7},'children':[_0x7b6d68]};}const _0x139a1e=[{'tag':'div','attributes':{'class':_0x25c3ca,'style':{'background-image':_0x4e790b['avatar']?'url(\x27'+_0x4e790b['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x4e790b['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x4e790b['name']},'children':[{'text':_0x4e790b['initials']}]}];this['notificationView']&&_0x139a1e['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x494e79,'data-user-id':_0x4e790b['id']},'children':_0x139a1e});}}class AriaDescriptionView extends ckeditor5['View']{['id'];constructor(_0x14f422,_0x5046c0){super(_0x14f422),this['id']='ck-aria-description-'+ckeditor5['uid'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x5046c0}]});}}class LateFocusButtonView extends ckeditor5['ButtonView']{['render'](){super['render'](),delayFocusUntilMouseup(this);}}class LateFocusDropdownButtonView extends ckeditor5['DropdownButtonView']{['render'](){super['render'](),delayFocusUntilMouseup(this);}}function delayFocusUntilMouseup(_0x249a13){_0x249a13['listenTo'](_0x249a13['element'],'mousedown',(_0x2132cf,_0x4ffa5c)=>{_0x4ffa5c['stopPropagation'](),_0x4ffa5c['preventDefault']();}),_0x249a13['listenTo'](_0x249a13['element'],'mouseup',()=>{_0x249a13['element']['focus']();});}function splitSuggestionMarkerName(_0x1b8430){const _0x27b9b7=_0x1b8430['split'](':');return{'group':_0x27b9b7[0x0],'type':_0x27b9b7[0x1],'subType':_0x27b9b7['length']>=0x5?_0x27b9b7[0x2]:null,'id':_0x27b9b7['length']<0x5?_0x27b9b7[0x2]:_0x27b9b7[0x3],'authorId':_0x27b9b7['length']<0x5?_0x27b9b7[0x3]:_0x27b9b7[0x4],'markerCount':0x6==_0x27b9b7['length']?_0x27b9b7[0x5]:null};}function fixElementSuggestionRange(_0x362115,_0x5f2d16){const _0x2a04c8=_0x362115['end']['nodeBefore'];if(_0x2a04c8&&_0x2a04c8['is']('element')&&_0x5f2d16['schema']['isBlock'](_0x2a04c8)&&!_0x5f2d16['schema']['isObject'](_0x2a04c8)){const _0x22943f=_0x5f2d16['createPositionAt'](_0x2a04c8,'end');return _0x5f2d16['createRange'](_0x362115['start'],_0x22943f);}return _0x362115;}class SuggestionsConversionAlignment extends ckeditor5['Plugin']{['afterInit'](){const _0x1b0277=this['editor'];if(!_0x1b0277['plugins']['has']('AlignmentEditing'))return;_0x1b0277['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const basicStylesPlugins$1=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends ckeditor5['Plugin']{['afterInit'](){const _0xba6d97=this['editor'],_0x4133ae=_0xba6d97['plugins']['get']('SuggestionsConversion');for(const _0x231f9a of basicStylesPlugins$1){if(!_0xba6d97['plugins']['has'](_0x231f9a))continue;const _0x37f8ea=_0x231f9a['slice'](0x0,-0x7)['toLowerCase']();_0x4133ae['registerInlineAttribute'](_0x37f8ea);}}}class SuggestionsConversionBookmark extends ckeditor5['Plugin']{['afterInit'](){const _0x2cd2e1=this['editor'],_0x47250c=_0x2cd2e1['plugins']['get']('SuggestionsConversion');_0x2cd2e1['plugins']['has']('BookmarkEditing')&&_0x47250c['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 _0x4bc00f=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x33a3e2,commandName:_0x205e3c}of fontPlugins$1)this['editor']['plugins']['has'](_0x33a3e2)&&_0x4bc00f['registerInlineAttribute'](_0x205e3c);}}class SuggestionsConversionFootnotes extends ckeditor5['Plugin']{['afterInit'](){const {editor:_0x1c36eb}=this;if(!_0x1c36eb['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x20b9b8=_0x1c36eb['plugins']['get']('SuggestionsConversion');_0x20b9b8['registerBlockAttribute']('footnotesListStyle'),_0x20b9b8['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionHighlight extends ckeditor5['Plugin']{['afterInit'](){const _0x30fc58=this['editor'];if(!_0x30fc58['plugins']['has']('HighlightEditing'))return;_0x30fc58['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0x24d0f5=this['editor'];if(!_0x24d0f5['plugins']['has']('HtmlEmbed'))return;_0x24d0f5['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends ckeditor5['Plugin']{['afterInit'](){const _0x52c0dc=this['editor'];if(!_0x52c0dc['plugins']['has']('ImageEditing'))return;const _0x401a26=_0x52c0dc['plugins']['get']('SuggestionsConversion');_0x401a26['registerBlockAttribute']('src'),_0x52c0dc['plugins']['has']('ImageResize')&&_0x401a26['registerBlockAttribute']('resizedWidth'),_0x52c0dc['plugins']['has']('ImageTextAlternativeEditing')&&_0x401a26['registerBlockAttribute']('alt'),_0x52c0dc['plugins']['has']('PictureEditing')&&_0x401a26['registerBlockAttribute']('sources'),_0x52c0dc['plugins']['has']('ImageSizeAttributes')&&(_0x401a26['registerBlockAttribute']('width'),_0x401a26['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends ckeditor5['Plugin']{['afterInit'](){const _0x5c69f0=this['editor'],_0x39b697=_0x5c69f0['plugins']['get']('SuggestionsConversion');_0x5c69f0['plugins']['has']('IndentBlock')&&(_0x39b697['registerBlockAttribute']('blockIndent'),_0x5c69f0['plugins']['has']('ListEditing')&&(_0x39b697['registerBlockAttribute']('blockIndentList'),_0x39b697['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends ckeditor5['Plugin']{['afterInit'](){const _0x14a4a6=this['editor'];if(!_0x14a4a6['plugins']['has']('LineHeight'))return;_0x14a4a6['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends ckeditor5['Plugin']{['afterInit'](){const _0x58b6c9=this['editor'];if(!_0x58b6c9['plugins']['has']('LinkEditing'))return;const _0x208e3c=_0x58b6c9['plugins']['get']('SuggestionsConversion'),_0x2d0668=_0x58b6c9['commands']['get']('link');_0x208e3c['registerInlineAttribute']('linkHref');for(const _0x2ff743 of _0x2d0668['manualDecorators'])_0x208e3c['registerInlineAttribute'](_0x2ff743['id']);}}class SuggestionsConversionList extends ckeditor5['Plugin']{['afterInit'](){const _0x3f3753=this['editor'];if(!_0x3f3753['plugins']['has']('ListEditing'))return;const _0x8a3262=_0x3f3753['plugins']['get']('SuggestionsConversion'),_0xc67165=_0x3f3753['plugins']['has']('TodoListEditing');_0x8a3262['registerBlockAttribute']('listItemId'),_0x8a3262['registerBlockAttribute']('listType'),_0x8a3262['registerBlockAttribute']('listIndent'),_0xc67165&&_0x8a3262['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x3f224b=this['editor']['config']['get']('list.properties'),_0x4da0fe=this['editor']['plugins']['get']('SuggestionsConversion');_0x3f224b['styles']&&_0x4da0fe['registerBlockAttribute']('listStyle'),_0x3f224b['reversed']&&_0x4da0fe['registerBlockAttribute']('listReversed'),_0x3f224b['startIndex']&&_0x4da0fe['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends ckeditor5['Plugin']{['afterInit'](){const _0x32ebae=this['editor'],_0x13e354=_0x32ebae['plugins']['get']('SuggestionsConversion');_0x32ebae['plugins']['has']('MultiLevelList')&&_0x13e354['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionStylesDropdown extends ckeditor5['Plugin']{['afterInit'](){const _0x2cd0ad=this['editor'];if(!_0x2cd0ad['plugins']['has']('Style')||!_0x2cd0ad['plugins']['has']('DataSchema')||!_0x2cd0ad['config']['get']('style.definitions'))return;const _0x2eae05=_0x2cd0ad['plugins']['get']('SuggestionsConversion'),_0x415639=_0x2cd0ad['config']['get']('style.definitions'),_0x5d6cc0=_0x2cd0ad['plugins']['get']('GeneralHtmlSupport'),_0x4b2bf1=_0x2cd0ad['plugins']['get']('StyleUtils')['normalizeConfig'](_0x2cd0ad['plugins']['get']('DataSchema'),_0x415639),_0x71ed16=new Set();for(const _0x1cc99e of _0x4b2bf1['block']){const _0x213784=_0x5d6cc0['getGhsAttributeNameForElement'](_0x1cc99e['element']);_0x71ed16['add'](_0x213784);}const _0x280b83=new Set();for(const _0x4138db of _0x4b2bf1['inline']){const _0x44ea84=_0x5d6cc0['getGhsAttributeNameForElement'](_0x4138db['element']);_0x280b83['add'](_0x44ea84);for(const _0x42fcbd of _0x4138db['ghsAttributes'])_0x280b83['add'](_0x42fcbd);}for(const _0x360367 of _0x71ed16)_0x2eae05['registerBlockAttribute'](_0x360367);for(const _0x5a56cf of _0x280b83)_0x2eae05['registerInlineAttribute'](_0x5a56cf);}}class SuggestionsConversionTableHeadings extends ckeditor5['Plugin']{['afterInit'](){const _0x3781cc=this['editor'];if(!_0x3781cc['plugins']['has']('TableEditing'))return;const _0x483926=_0x3781cc['plugins']['get']('SuggestionsConversion');_0x483926['registerBlockAttribute']('headingRows'),_0x483926['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0x5561a8}=this['editor'];if(!_0x5561a8['has']('TablePropertiesEditing'))return;const _0x44a2eb=_0x5561a8['get']('SuggestionsConversion'),_0x2dace5=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x35cffc of _0x2dace5)_0x44a2eb['registerBlockAttribute'](_0x35cffc);}}class SuggestionsConversionTableLayout extends ckeditor5['Plugin']{['afterInit'](){const _0x180d2f=this['editor'],_0x187890=_0x180d2f['plugins']['get']('SuggestionsConversion');_0x180d2f['plugins']['has']('TableLayout')&&_0x187890['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends ckeditor5['Plugin']{['afterInit'](){const _0x25f4f5=this['editor'],_0x7276fc=this['editor']['plugins']['get']('SuggestionsConversion');_0x25f4f5['plugins']['has']('Uploadcare')&&_0x25f4f5['plugins']['has']('UploadcareImageEdit')&&_0x7276fc['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends ckeditor5['Plugin']{['afterInit'](){const _0x26a01b=this['editor'];if(!_0x26a01b['plugins']['has']('ShiftEnter'))return;const _0x1507c3=_0x26a01b['plugins']['get']('SuggestionsConversion'),_0xbbc1ff=(_0x54499d,_0x35c1dc,_0x5b07d7,_0x23acc7)=>{if(_0x23acc7&&!_0x5b07d7['options']['showSuggestionHighlights'])return;if(!_0x5b07d7['consumable']['test'](_0x35c1dc['markerRange'],_0x54499d['name']))return;const _0x433706=_0x26a01b['model'];for(const _0x1017e2 of _0x35c1dc['markerRange']['getItems']()){if(!_0x1017e2['is']('element','softBreak'))continue;const _0x396e83='deletion'==_0x35c1dc['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x158274,authorId:_0x50066a}=splitSuggestionMarkerName(_0x35c1dc['markerName']),_0x25c03d=_0x5b07d7['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x396e83,'data-suggestion':_0x158274,'data-author-id':_0x50066a}),_0x19b764=_0x5b07d7['mapper']['toViewPosition'](_0x433706['createPositionBefore'](_0x1017e2));!_0x23acc7&&_0x1507c3['_activeMarkers']['includes'](_0x35c1dc['markerName'])&&_0x5b07d7['writer']['addClass']('ck-suggestion-marker--active',_0x25c03d),_0x5b07d7['writer']['insert'](_0x19b764,_0x25c03d),_0x5b07d7['mapper']['bindElementToMarker'](_0x25c03d,_0x35c1dc['markerName']);}};_0x26a01b['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x2ab085,_0x5cfce5,_0x1eaff4)=>{_0xbbc1ff(_0x2ab085,_0x5cfce5,_0x1eaff4,!0x1);},{'priority':'high'}),_0x26a01b['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x19ece5,_0x4df96b,_0x3e9462)=>{_0xbbc1ff(_0x19ece5,_0x4df96b,_0x3e9462,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0x83370a=this['editor'];_0x83370a['plugins']['has']('MediaEmbedEditing')&&(_0x83370a['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x44c008,{writer:_0x5bb635,options:_0x1fc608})=>{if(_0x1fc608['showSuggestionHighlights'])return _0x5bb635['createEmptyElement']('div');},'converterPriority':'high'}),_0x83370a['data']['downcastDispatcher']['on']('attribute:url:media',(_0x45ddd6,_0xe08fbc,_0x4e7a3e)=>{_0x4e7a3e['options']['showSuggestionHighlights']&&_0x45ddd6['stop']();},{'priority':'high'}));}}class SuggestionsConversionTable extends ckeditor5['Plugin']{['afterInit'](){const _0x3b4743=this['editor'];if(!_0x3b4743['plugins']['has']('Table'))return;_0x3b4743['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x1e613d,_0x3cbb70,_0x55975f)=>{((_0x4f41ed,_0x23694e,_0x7d5691)=>{if(!_0x7d5691['options']['showSuggestionHighlights'])return;const _0x24cac8=_0x23694e['item'];if(!_0x24cac8||!_0x24cac8['is']('element','tableCell'))return;const _0xdaa188=_0x7d5691['mapper']['toViewElement'](_0x24cac8);if(_0xdaa188){const {id:_0x510ded,authorId:_0x17225e}=splitSuggestionMarkerName(_0x23694e['markerName']);ckeditor5['setHighlightHandling'](_0xdaa188,_0x7d5691['writer'],(_0x24e430,_0x3f89f9,_0x3fd3e9)=>{_0x3fd3e9['addClass'](ckeditor5['toArray'](_0x3f89f9['classes']),_0x24e430),_0x3fd3e9['setAttribute']('data-suggestion-id',_0x510ded,_0x24e430),_0x3fd3e9['setAttribute']('data-author-id',_0x17225e,_0x24e430);});}})(0x0,_0x3cbb70,_0x55975f);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends ckeditor5['Plugin']{['afterInit'](){const _0x7e7431=this['editor'];_0x7e7431['plugins']['has']('HorizontalLineEditing')&&_0x7e7431['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x17d90b,{writer:_0x19cda8,options:_0x4865d9})=>{if(!_0x4865d9['showSuggestionHighlights'])return null;const _0x4d1d0d=_0x19cda8['createContainerElement']('div'),_0x36cb8e=_0x19cda8['createEmptyElement']('hr');return _0x19cda8['addClass']('ck-horizontal-line',_0x4d1d0d),_0x19cda8['insert'](_0x19cda8['createPositionAt'](_0x4d1d0d,0x0),_0x36cb8e),_0x4d1d0d;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0x213378,model:_0x3014a7}=this['editor'];if(!_0x213378['has']('TableCellPropertiesEditing'))return;const _0x4c648a=_0x213378['get']('SuggestionsConversion'),_0xd953d6=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x5f528c of _0xd953d6)_0x4c648a['registerBlockAttribute'](_0x5f528c);_0x3014a7['schema']['checkAttribute']('tableCell','tableCellType')&&_0x4c648a['registerBlockAttribute']('tableCellType');}}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,SuggestionsConversionTableLayout,SuggestionsConversionTableCellProperties,SuggestionsConversionTableProperties,SuggestionsConversionUploadcare];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x52765f=this['editor'],_0x29f19a=(_0x2a37a0,_0x452228,_0x16be89)=>{const {id:_0x5e9cdd,authorId:_0x3aeec2,type:_0x160fe1,subType:_0x384a7b}=splitSuggestionMarkerName(_0x2a37a0['markerName']),_0x1dc2d7=['ck-suggestion-marker',this['_getClassName'](_0x160fe1,_0x384a7b)];let _0x3af65d=0xbb8;return!_0x16be89&&(this['_activeMarkers']['includes'](_0x2a37a0['markerName'])&&(_0x1dc2d7['push']('ck-suggestion-marker--active'),_0x3af65d=0xbc2)),('deletion'==_0x160fe1&&(_0x3af65d+=0x5),{'classes':_0x1dc2d7,'attributes':{'data-suggestion':_0x5e9cdd,'data-author-id':_0x3aeec2},'priority':_0x3af65d});};_0x52765f['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x3caea8,_0x4860e1)=>_0x29f19a(_0x3caea8,0x0,!0x1)}),_0x52765f['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x300ac9,_0x248ea5)=>_0x29f19a(_0x300ac9,0x0,!0x0)}),_0x52765f['conversion']['for']('dataDowncast')['add'](_0x2c9240=>{_0x2c9240['on']('addMarker:suggestion',(_0x2d9fff,_0x5dab6c,_0xec412b)=>{if(!_0xec412b['options']['showSuggestionHighlights'])return;const _0x28b408=_0x5dab6c['item'];if(!_0x28b408)return;const _0x3b48e4=_0xec412b['mapper']['toViewElement'](_0x28b408);_0x52765f['model']['schema']['isObject'](_0x28b408)&&_0x3b48e4&&!_0x3b48e4['getCustomProperty']('widget')&&_0x3b48e4['is']('containerElement')&&ckeditor5['toWidget'](_0x3b48e4,_0xec412b['writer']);},{'priority':'high'});});const _0x5a6fd5=(_0x1e9e98,_0x460aaf,_0x5ee03f,_0xc5a502,_0x4a0e47)=>{if(_0xc5a502&&!_0x5ee03f['options']['showSuggestionHighlights'])return;if(!_0x460aaf['item'])return;const {id:_0x4b5ec5,authorId:_0x251ef0,subType:_0x313014}=splitSuggestionMarkerName(_0x460aaf['markerName']);if(_0x4a0e47){const _0x3ea29a=_0x313014['split']('|')[0x0];if(!this['isBlockAttribute'](_0x3ea29a))return;}if(_0x460aaf['item']['is']('selection'))return void _0x5ee03f['consumable']['consume'](_0x460aaf['item'],_0x1e9e98['name']);const _0x3d1066=_0x5ee03f['mapper']['toViewElement'](_0x460aaf['item']);if(_0x460aaf['item']['is']('element')&&_0x52765f['model']['schema']['isBlock'](_0x460aaf['item'])&&!_0x3d1066['getCustomProperty']('addHighlight')){_0x5ee03f['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x3d1066),_0x5ee03f['writer']['setAttribute']('data-suggestion',_0x4b5ec5,_0x3d1066),_0x5ee03f['writer']['setAttribute']('data-author-id',_0x251ef0,_0x3d1066),_0x5ee03f['mapper']['bindElementToMarker'](_0x3d1066,_0x460aaf['markerName']),_0xc5a502||(this['_activeMarkers']['includes'](_0x460aaf['markerName'])?_0x5ee03f['writer']['addClass']('ck-suggestion-marker--active',_0x3d1066):_0x5ee03f['writer']['removeClass']('ck-suggestion-marker--active',_0x3d1066));for(const _0x1c1b24 of _0x52765f['model']['createRangeIn'](_0x460aaf['item'])['getItems']())_0x5ee03f['consumable']['consume'](_0x1c1b24,_0x1e9e98['name']);_0x5ee03f['consumable']['consume'](_0x460aaf['item'],_0x1e9e98['name']);}},_0x15977b=(_0x46419f,_0x3dd5fa,_0x1f15ab,_0x2f7c4f)=>{const _0x3b85a2=_0x1f15ab['mapper']['markerNameToElements'](_0x3dd5fa['markerName']);if(_0x3b85a2){if(_0x2f7c4f){const {subType:_0x2be5c6}=splitSuggestionMarkerName(_0x3dd5fa['markerName']),_0x1efe07=_0x2be5c6['split']('|')[0x0];if(!this['isBlockAttribute'](_0x1efe07))return;}for(const _0x3d37db of _0x3b85a2)_0x3d37db['getCustomProperty']('addHighlight')||(_0x1f15ab['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x3d37db),_0x1f15ab['writer']['removeAttribute']('data-suggestion',_0x3d37db),_0x1f15ab['writer']['removeAttribute']('data-author-id',_0x3d37db),_0x1f15ab['mapper']['unbindElementFromMarkerName'](_0x3d37db,_0x3dd5fa['markerName']));}};_0x52765f['conversion']['for']('editingDowncast')['add'](_0x566a7d=>{_0x566a7d['on']('addMarker:suggestion:formatBlock',(_0x366213,_0x5bdf0c,_0x3d11b7)=>{_0x5a6fd5(_0x366213,_0x5bdf0c,_0x3d11b7,!0x1,!0x1);},{'priority':'high'});}),_0x52765f['conversion']['for']('editingDowncast')['add'](_0xe9de56=>{_0xe9de56['on']('addMarker:suggestion:attribute',(_0x1c6e21,_0x1374b0,_0x400d8c)=>{_0x5a6fd5(_0x1c6e21,_0x1374b0,_0x400d8c,!0x1,!0x0);},{'priority':'high'});}),_0x52765f['conversion']['for']('editingDowncast')['add'](_0x12ccef=>{_0x12ccef['on']('removeMarker:suggestion:formatBlock',(_0x5a143a,_0x504038,_0x1274a2)=>{_0x15977b(0x0,_0x504038,_0x1274a2,!0x1);},{'priority':'high'});}),_0x52765f['conversion']['for']('editingDowncast')['add'](_0x2b0c68=>{_0x2b0c68['on']('removeMarker:suggestion:attribute',(_0x50d3d5,_0x5c15e2,_0x2ed34e)=>{_0x15977b(0x0,_0x5c15e2,_0x2ed34e,!0x0);},{'priority':'high'});}),_0x52765f['conversion']['for']('dataDowncast')['add'](_0x28813e=>{_0x28813e['on']('addMarker:suggestion:formatBlock',(_0x3060f9,_0x285c14,_0x3cf5d5)=>{_0x5a6fd5(_0x3060f9,_0x285c14,_0x3cf5d5,!0x0,!0x1);},{'priority':'highest'});}),_0x52765f['conversion']['for']('dataDowncast')['add'](_0xa69136=>{_0xa69136['on']('addMarker:suggestion:attribute',(_0x442219,_0x9fe2f4,_0x50eeb3)=>{_0x5a6fd5(_0x442219,_0x9fe2f4,_0x50eeb3,!0x0,!0x0);},{'priority':'highest'});}),_0x52765f['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x5da60d,_0x27acc5)=>{if(_0x27acc5['options']['showSuggestionHighlights']){const {id:_0x12e811,authorId:_0x28100f}=splitSuggestionMarkerName(_0x5da60d);return _0x5da60d['includes'](':split')||_0x5da60d['includes'](':merge')?{'group':'suggestion','name':_0x5da60d['substr'](0xb),'attributes':{'data-suggestion':_0x12e811,'data-author-id':_0x28100f}}:null;}return{'group':'suggestion','name':_0x5da60d['substr'](0xb)};}});const _0x10c009=(_0x23c238,_0x469320,_0x3381fb,_0x2bd2ef,_0x5ad58b)=>{if(_0x2bd2ef&&!_0x3381fb['options']['showSuggestionHighlights'])return;if(!_0x3381fb['consumable']['test'](_0x469320['markerRange'],_0x23c238['name']))return;const _0x1fed43=this['_activeMarkers'],_0x461f1b=_0x469320['markerRange']['getWalker'](),_0x386e48=_0x469320['markerRange']['start'],_0x42fe29=_0x52765f['model']['schema'];let _0x2381bc=null,_0x3e511d=null,_0x3803e8=!0x1,_0x229abe=!0x1;for(const _0x51b8ea of _0x461f1b){const _0x1f69f8=_0x51b8ea['item'];_0x3803e8=_0x3803e8||_0x42fe29['isContent'](_0x1f69f8);const _0x4e40de=_0x3381fb['mapper']['toViewElement'](_0x1f69f8);if(_0x4e40de&&_0x4e40de['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x51b8ea['type']&&(_0x42fe29['isBlock'](_0x1f69f8)&&!_0x42fe29['isLimit'](_0x1f69f8)&&(_0x1f69f8['nextSibling']||_0x386e48['isAtEnd']?_0x2381bc&&_0x2381bc['parent']==_0x1f69f8||(_0x2381bc=_0x1f69f8,_0xc6e981(_0x51b8ea['previousPosition']),_0x229abe=!0x0):_0x3e511d=_0x3e511d||_0x51b8ea['previousPosition']));}function _0xc6e981(_0x14d2eb){const {id:_0x406e81,authorId:_0x49ff42}=splitSuggestionMarkerName(_0x469320['markerName']),_0x160c6d=_0x3381fb['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5ad58b,'data-suggestion':_0x406e81,'data-author-id':_0x49ff42}),_0x46fccd=_0x3381fb['mapper']['toViewPosition'](_0x14d2eb);!_0x2bd2ef&&_0x1fed43['includes'](_0x469320['markerName'])&&_0x3381fb['writer']['addClass']('ck-suggestion-marker--active',_0x160c6d),_0x3381fb['writer']['insert'](_0x46fccd,_0x160c6d),_0x3381fb['mapper']['bindElementToMarker'](_0x160c6d,_0x469320['markerName']);}_0x3803e8||_0x229abe||!_0x3e511d||_0xc6e981(_0x3e511d);};_0x52765f['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x2655f3,_0x40e970,_0xb9ea67)=>{_0x10c009(_0x2655f3,_0x40e970,_0xb9ea67,!0x1,'merge');},{'priority':'high'}),_0x52765f['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x5f2888,_0x40b66d,_0x2386ce)=>{_0x10c009(_0x5f2888,_0x40b66d,_0x2386ce,!0x0,'merge');},{'priority':'high'}),_0x52765f['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x360e9e,_0x4fe4cf,_0x57398b)=>{_0x10c009(_0x360e9e,_0x4fe4cf,_0x57398b,!0x1,'split');},{'priority':'high'}),_0x52765f['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4c255a,_0x3870af,_0x34b3f8)=>{_0x10c009(_0x4c255a,_0x3870af,_0x34b3f8,!0x0,'split');},{'priority':'high'}),_0x52765f['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x18cf2f,_0x359ed4,_0x338133)=>{((_0x63710c,_0x31d60f,_0x199cb5)=>{const _0x1531f9=_0x199cb5['mapper']['markerNameToElements'](_0x31d60f['markerName']);if(_0x1531f9){for(const _0x54e3a0 of _0x1531f9)(_0x54e3a0['hasClass']('ck-suggestion-marker-split')||_0x54e3a0['hasClass']('ck-suggestion-marker-merge'))&&(_0x199cb5['mapper']['unbindElementFromMarkerName'](_0x54e3a0,_0x31d60f['markerName']),_0x199cb5['writer']['remove'](_0x54e3a0));}})(0x0,_0x359ed4,_0x338133);},{'priority':'high'});const _0x41205d=(_0x3f4651,_0x42fa28,_0x2f14ec,_0x3435c5)=>{if(_0x3435c5&&!_0x2f14ec['options']['showSuggestionHighlights'])return;const _0x222063=_0x42fa28['markerRange']['start'],_0x280a0d=_0x42fa28['markerRange']['end'],_0x6f03d=_0x52765f['model']['schema'];if(!_0x222063['isTouching'](_0x280a0d)||!_0x222063['nodeAfter'])return;const _0x2c1ae1=_0x222063['nodeAfter'];if(_0x6f03d['isBlock'](_0x2c1ae1)&&!_0x6f03d['isLimit'](_0x2c1ae1)&&_0x6f03d['checkChild'](_0x2c1ae1,'$text')){if(!_0x2f14ec['consumable']['consume'](_0x42fa28['markerRange'],_0x3f4651['name']))return;const {id:_0x39470b,authorId:_0x1b8382}=splitSuggestionMarkerName(_0x42fa28['markerName']),_0xf7108d=_0x2f14ec['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x39470b,'data-author-id':_0x1b8382}),_0x48193c=_0x2f14ec['mapper']['toViewPosition'](_0x280a0d);!_0x3435c5&&this['_activeMarkers']['includes'](_0x42fa28['markerName'])&&_0x2f14ec['writer']['addClass']('ck-suggestion-marker--active',_0xf7108d),_0x2f14ec['writer']['insert'](_0x48193c,_0xf7108d),_0x2f14ec['mapper']['bindElementToMarker'](_0xf7108d,_0x42fa28['markerName']);}};_0x52765f['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x55502f,_0x3f5e09,_0x5f710a)=>{_0x41205d(_0x55502f,_0x3f5e09,_0x5f710a,!0x1);},{'priority':'high'}),_0x52765f['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5b0924,_0x52e5a2,_0x250770)=>{_0x41205d(_0x5b0924,_0x52e5a2,_0x250770,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x44fe9c,_0x4b0d5d,_0x17a074)=>{this['_activeMarkers']=_0x17a074['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x3a51ca){this['_blockAttributeKeys']['add'](_0x3a51ca);}['registerInlineAttribute'](_0x57d79b){this['_inlineAttributeKeys']['add'](_0x57d79b);}['isBlockAttribute'](_0x285cc5){return this['_blockAttributeKeys']['has'](_0x285cc5);}['isInlineAttribute'](_0x2ac461){return this['_inlineAttributeKeys']['has'](_0x2ac461);}['isRegisteredAttribute'](_0x3d9067){return this['isInlineAttribute'](_0x3d9067)||this['isBlockAttribute'](_0x3d9067);}['_getClassName'](_0x32d3a5,_0x48e535){if('attribute'!=_0x32d3a5)return'ck-suggestion-marker-'+_0x32d3a5;const _0x13f6b1=_0x48e535['split']('|')[0x0];return this['isBlockAttribute'](_0x13f6b1)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}class _0x1279f1 extends Error{}class InvalidDateTimeError extends _0x1279f1{constructor(_0x2e67d7){super('Invalid\x20DateTime:\x20'+_0x2e67d7['toMessage']());}}class InvalidIntervalError extends _0x1279f1{constructor(_0x90b7b5){super('Invalid\x20Interval:\x20'+_0x90b7b5['toMessage']());}}class InvalidDurationError extends _0x1279f1{constructor(_0x531468){super('Invalid\x20Duration:\x20'+_0x531468['toMessage']());}}class ConflictingSpecificationError extends _0x1279f1{}class InvalidUnitError extends _0x1279f1{constructor(_0x3803c7){super('Invalid\x20unit\x20'+_0x3803c7);}}class InvalidArgumentError extends _0x1279f1{}class ZoneIsAbstractError extends _0x1279f1{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}}const _0x52d2c1='numeric',_0x386dc7='short',_0x1363bd='long',_0x20499b={'year':_0x52d2c1,'month':_0x52d2c1,'day':_0x52d2c1},_0x7026e3={'year':_0x52d2c1,'month':_0x386dc7,'day':_0x52d2c1},_0x4404cb={'year':_0x52d2c1,'month':_0x386dc7,'day':_0x52d2c1,'weekday':_0x386dc7},_0x160437={'year':_0x52d2c1,'month':_0x1363bd,'day':_0x52d2c1},_0x1c4048={'year':_0x52d2c1,'month':_0x1363bd,'day':_0x52d2c1,'weekday':_0x1363bd},_0x581484={'hour':_0x52d2c1,'minute':_0x52d2c1},_0x4868a8={'hour':_0x52d2c1,'minute':_0x52d2c1,'second':_0x52d2c1},_0x2efb1e={'hour':_0x52d2c1,'minute':_0x52d2c1,'second':_0x52d2c1,'timeZoneName':_0x386dc7},_0x2d476c={'hour':_0x52d2c1,'minute':_0x52d2c1,'second':_0x52d2c1,'timeZoneName':_0x1363bd},_0x59ab98={'hour':_0x52d2c1,'minute':_0x52d2c1,'hourCycle':'h23'},_0x47c230={'hour':_0x52d2c1,'minute':_0x52d2c1,'second':_0x52d2c1,'hourCycle':'h23'},_0x447215={'hour':_0x52d2c1,'minute':_0x52d2c1,'second':_0x52d2c1,'hourCycle':'h23','timeZoneName':_0x386dc7},_0x5bd3fc={'hour':_0x52d2c1,'minute':_0x52d2c1,'second':_0x52d2c1,'hourCycle':'h23','timeZoneName':_0x1363bd},_0x2300de={'year':_0x52d2c1,'month':_0x52d2c1,'day':_0x52d2c1,'hour':_0x52d2c1,'minute':_0x52d2c1},_0x187261={'year':_0x52d2c1,'month':_0x52d2c1,'day':_0x52d2c1,'hour':_0x52d2c1,'minute':_0x52d2c1,'second':_0x52d2c1},_0x766244={'year':_0x52d2c1,'month':_0x386dc7,'day':_0x52d2c1,'hour':_0x52d2c1,'minute':_0x52d2c1},_0x29f870={'year':_0x52d2c1,'month':_0x386dc7,'day':_0x52d2c1,'hour':_0x52d2c1,'minute':_0x52d2c1,'second':_0x52d2c1},_0x5129f9={'year':_0x52d2c1,'month':_0x386dc7,'day':_0x52d2c1,'weekday':_0x386dc7,'hour':_0x52d2c1,'minute':_0x52d2c1},_0x151f5b={'year':_0x52d2c1,'month':_0x1363bd,'day':_0x52d2c1,'hour':_0x52d2c1,'minute':_0x52d2c1,'timeZoneName':_0x386dc7},_0x3ad6aa={'year':_0x52d2c1,'month':_0x1363bd,'day':_0x52d2c1,'hour':_0x52d2c1,'minute':_0x52d2c1,'second':_0x52d2c1,'timeZoneName':_0x386dc7},_0x50ed19={'year':_0x52d2c1,'month':_0x1363bd,'day':_0x52d2c1,'weekday':_0x1363bd,'hour':_0x52d2c1,'minute':_0x52d2c1,'timeZoneName':_0x1363bd},_0x6c379d={'year':_0x52d2c1,'month':_0x1363bd,'day':_0x52d2c1,'weekday':_0x1363bd,'hour':_0x52d2c1,'minute':_0x52d2c1,'second':_0x52d2c1,'timeZoneName':_0x1363bd};class _0x4e5ed6{get['type'](){throw new ZoneIsAbstractError();}get['name'](){throw new ZoneIsAbstractError();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new ZoneIsAbstractError();}['offsetName'](_0x9c7f86,_0x1d37ed){throw new ZoneIsAbstractError();}['formatOffset'](_0x3fddea,_0x3956b0){throw new ZoneIsAbstractError();}['offset'](_0x10834b){throw new ZoneIsAbstractError();}['equals'](_0x2f69a6){throw new ZoneIsAbstractError();}get['isValid'](){throw new ZoneIsAbstractError();}}let singleton$1=null;class SystemZone extends _0x4e5ed6{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'](_0x1918ee,{format:_0x27523e,locale:_0x2dcc2c}){return _0x152818(_0x1918ee,_0x27523e,_0x2dcc2c);}['formatOffset'](_0x2f08a2,_0x198f7a){return formatOffset(this['offset'](_0x2f08a2),_0x198f7a);}['offset'](_0x2040bd){return-new Date(_0x2040bd)['getTimezoneOffset']();}['equals'](_0x192d01){return'system'===_0x192d01['type'];}get['isValid'](){return!0x0;}}const dtfCache=new Map();function _0x9c79e0(_0x5b32fb){let _0x3dc6ae=dtfCache['get'](_0x5b32fb);return void 0x0===_0x3dc6ae&&(_0x3dc6ae=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x5b32fb,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),dtfCache['set'](_0x5b32fb,_0x3dc6ae)),_0x3dc6ae;}const typeToPos={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6};function hackyOffset(_0xc8a33f,_0x2a9880){const _0x396d28=_0xc8a33f['format'](_0x2a9880)['replace'](/\u200E/g,''),_0x580246=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x396d28),[,_0x4981a4,_0x48a650,_0x15a2f6,_0x43c6bc,_0x19d765,_0x4f470d,_0x11356e]=_0x580246;return[_0x15a2f6,_0x4981a4,_0x48a650,_0x43c6bc,_0x19d765,_0x4f470d,_0x11356e];}function partsOffset(_0x252c0f,_0x59e31c){const _0x44f5ff=_0x252c0f['formatToParts'](_0x59e31c),_0x3a748b=[];for(let _0x23efb6=0x0;_0x23efb6<_0x44f5ff['length'];_0x23efb6++){const {type:_0x53d36f,value:_0x148316}=_0x44f5ff[_0x23efb6],_0x7cc406=typeToPos[_0x53d36f];'era'===_0x53d36f?_0x3a748b[_0x7cc406]=_0x148316:_0x2c6ba4(_0x7cc406)||(_0x3a748b[_0x7cc406]=parseInt(_0x148316,0xa));}return _0x3a748b;}const _0x213338=new Map();class _0x580b37 extends _0x4e5ed6{static['create'](_0x3c8bf3){let _0x14d4dc=_0x213338['get'](_0x3c8bf3);return void 0x0===_0x14d4dc&&_0x213338['set'](_0x3c8bf3,_0x14d4dc=new _0x580b37(_0x3c8bf3)),_0x14d4dc;}static['resetCache'](){_0x213338['clear'](),dtfCache['clear']();}static['isValidSpecifier'](_0x3a4e3f){return this['isValidZone'](_0x3a4e3f);}static['isValidZone'](_0x111ba6){if(!_0x111ba6)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x111ba6})['format'](),!0x0;}catch(_0x1e84b1){return!0x1;}}constructor(_0x2e35a1){super(),this['zoneName']=_0x2e35a1,this['valid']=_0x580b37['isValidZone'](_0x2e35a1);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x171ddf,{format:_0x512990,locale:_0x2c865b}){return _0x152818(_0x171ddf,_0x512990,_0x2c865b,this['name']);}['formatOffset'](_0x10a49c,_0x23f3e0){return formatOffset(this['offset'](_0x10a49c),_0x23f3e0);}['offset'](_0xb33594){if(!this['valid'])return NaN;const _0x23b425=new Date(_0xb33594);if(isNaN(_0x23b425))return NaN;const _0x2d3d85=_0x9c79e0(this['name']);let [_0x162341,_0x431b5d,_0x340153,_0x82076d,_0x1d8815,_0x2520d3,_0x129e31]=_0x2d3d85['formatToParts']?partsOffset(_0x2d3d85,_0x23b425):hackyOffset(_0x2d3d85,_0x23b425);'BC'===_0x82076d&&(_0x162341=0x1-Math['abs'](_0x162341));let _0x2ae6b2=+_0x23b425;const _0x3020e3=_0x2ae6b2%0x3e8;return _0x2ae6b2-=_0x3020e3>=0x0?_0x3020e3:0x3e8+_0x3020e3,(_0x5e04c3({'year':_0x162341,'month':_0x431b5d,'day':_0x340153,'hour':0x18===_0x1d8815?0x0:_0x1d8815,'minute':_0x2520d3,'second':_0x129e31,'millisecond':0x0})-_0x2ae6b2)/0xea60;}['equals'](_0x2eae40){return'iana'===_0x2eae40['type']&&_0x2eae40['name']===this['name'];}get['isValid'](){return this['valid'];}}let intlLFCache={};function getCachedLF(_0x3145fd,_0x338d30={}){const _0x549473=JSON['stringify']([_0x3145fd,_0x338d30]);let _0x423249=intlLFCache[_0x549473];return _0x423249||(_0x423249=new Intl['ListFormat'](_0x3145fd,_0x338d30),intlLFCache[_0x549473]=_0x423249),_0x423249;}const intlDTCache=new Map();function getCachedDTF(_0x5ed7ec,_0x492ba4={}){const _0x24455e=JSON['stringify']([_0x5ed7ec,_0x492ba4]);let _0x3f17bc=intlDTCache['get'](_0x24455e);return void 0x0===_0x3f17bc&&(_0x3f17bc=new Intl['DateTimeFormat'](_0x5ed7ec,_0x492ba4),intlDTCache['set'](_0x24455e,_0x3f17bc)),_0x3f17bc;}const intlNumCache=new Map();function getCachedINF(_0x2ef9b4,_0x58f39e={}){const _0x4f691a=JSON['stringify']([_0x2ef9b4,_0x58f39e]);let _0x484504=intlNumCache['get'](_0x4f691a);return void 0x0===_0x484504&&(_0x484504=new Intl['NumberFormat'](_0x2ef9b4,_0x58f39e),intlNumCache['set'](_0x4f691a,_0x484504)),_0x484504;}const intlRelCache=new Map();function getCachedRTF(_0x57374a,_0x3c2e29={}){const {base:_0x3f6c5a,..._0x49173c}=_0x3c2e29,_0x436266=JSON['stringify']([_0x57374a,_0x49173c]);let _0x3abe1f=intlRelCache['get'](_0x436266);return void 0x0===_0x3abe1f&&(_0x3abe1f=new Intl['RelativeTimeFormat'](_0x57374a,_0x3c2e29),intlRelCache['set'](_0x436266,_0x3abe1f)),_0x3abe1f;}let _0x52939d=null;function systemLocale(){return _0x52939d||(_0x52939d=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],_0x52939d);}const intlResolvedOptionsCache=new Map();function getCachedIntResolvedOptions(_0x207812){let _0x457208=intlResolvedOptionsCache['get'](_0x207812);return void 0x0===_0x457208&&(_0x457208=new Intl['DateTimeFormat'](_0x207812)['resolvedOptions'](),intlResolvedOptionsCache['set'](_0x207812,_0x457208)),_0x457208;}const _0x27838b=new Map();function getCachedWeekInfo(_0x1080b7){let _0x2b4af6=_0x27838b['get'](_0x1080b7);if(!_0x2b4af6){const _0x26059b=new Intl['Locale'](_0x1080b7);_0x2b4af6='getWeekInfo'in _0x26059b?_0x26059b['getWeekInfo']():_0x26059b['weekInfo'],'minimalDays'in _0x2b4af6||(_0x2b4af6={...fallbackWeekSettings,..._0x2b4af6}),_0x27838b['set'](_0x1080b7,_0x2b4af6);}return _0x2b4af6;}function parseLocaleString(_0x3f126d){const _0x4eeaa3=_0x3f126d['indexOf']('-x-');-0x1!==_0x4eeaa3&&(_0x3f126d=_0x3f126d['substring'](0x0,_0x4eeaa3));const _0x44b0e9=_0x3f126d['indexOf']('-u-');if(-0x1===_0x44b0e9)return[_0x3f126d];{let _0x808591,_0x2b8b5a;try{_0x808591=getCachedDTF(_0x3f126d)['resolvedOptions'](),_0x2b8b5a=_0x3f126d;}catch(_0x46c994){const _0x3fd04e=_0x3f126d['substring'](0x0,_0x44b0e9);_0x808591=getCachedDTF(_0x3fd04e)['resolvedOptions'](),_0x2b8b5a=_0x3fd04e;}const {numberingSystem:_0x1255c5,calendar:_0x478a51}=_0x808591;return[_0x2b8b5a,_0x1255c5,_0x478a51];}}function intlConfigString(_0x26ae21,_0x449b24,_0x59f1ad){return _0x59f1ad||_0x449b24?(_0x26ae21['includes']('-u-')||(_0x26ae21+='-u'),_0x59f1ad&&(_0x26ae21+='-ca-'+_0x59f1ad),_0x449b24&&(_0x26ae21+='-nu-'+_0x449b24),_0x26ae21):_0x26ae21;}function mapMonths(_0x1e2b93){const _0x43d6e4=[];for(let _0x1666e8=0x1;_0x1666e8<=0xc;_0x1666e8++){const _0x13f1e7=DateTime['utc'](0x7d9,_0x1666e8,0x1);_0x43d6e4['push'](_0x1e2b93(_0x13f1e7));}return _0x43d6e4;}function _0x4b8e86(_0x496c73){const _0x52141f=[];for(let _0x27efaf=0x1;_0x27efaf<=0x7;_0x27efaf++){const _0x5b8060=DateTime['utc'](0x7e0,0xb,0xd+_0x27efaf);_0x52141f['push'](_0x496c73(_0x5b8060));}return _0x52141f;}function listStuff(_0x4d5fd1,_0x494821,_0x2290ab,_0x31b2fe){const _0x4f5ac6=_0x4d5fd1['listingMode']();return'error'===_0x4f5ac6?null:'en'===_0x4f5ac6?_0x2290ab(_0x494821):_0x31b2fe(_0x494821);}function supportsFastNumbers(_0x4ccd7e){return(!_0x4ccd7e['numberingSystem']||'latn'===_0x4ccd7e['numberingSystem'])&&('latn'===_0x4ccd7e['numberingSystem']||!_0x4ccd7e['locale']||_0x4ccd7e['locale']['startsWith']('en')||'latn'===getCachedIntResolvedOptions(_0x4ccd7e['locale'])['numberingSystem']);}class PolyNumberFormatter{constructor(_0x1b6d47,_0x42176f,_0x4100b1){this['padTo']=_0x4100b1['padTo']||0x0,this['floor']=_0x4100b1['floor']||!0x1;const {padTo:_0x219ff4,floor:_0x2e6bd9,..._0x188d29}=_0x4100b1;if(!_0x42176f||Object['keys'](_0x188d29)['length']>0x0){const _0x45a9b0={'useGrouping':!0x1,..._0x4100b1};_0x4100b1['padTo']>0x0&&(_0x45a9b0['minimumIntegerDigits']=_0x4100b1['padTo']),this['inf']=getCachedINF(_0x1b6d47,_0x45a9b0);}}['format'](_0x582060){if(this['inf']){const _0x19a921=this['floor']?Math['floor'](_0x582060):_0x582060;return this['inf']['format'](_0x19a921);}return padStart(this['floor']?Math['floor'](_0x582060):_0x4cd035(_0x582060,0x3),this['padTo']);}}class PolyDateFormatter{constructor(_0x153fdc,_0x50d379,_0x554886){let _0x15cbdc;if(this['opts']=_0x554886,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x153fdc;else{if('fixed'===_0x153fdc['zone']['type']){const _0x4956f0=_0x153fdc['offset']/0x3c*-0x1,_0x221404=_0x4956f0>=0x0?'Etc/GMT+'+_0x4956f0:'Etc/GMT'+_0x4956f0;0x0!==_0x153fdc['offset']&&_0x580b37['create'](_0x221404)['valid']?(_0x15cbdc=_0x221404,this['dt']=_0x153fdc):(_0x15cbdc='UTC',this['dt']=0x0===_0x153fdc['offset']?_0x153fdc:_0x153fdc['setZone']('UTC')['plus']({'minutes':_0x153fdc['offset']}),this['originalZone']=_0x153fdc['zone']);}else'system'===_0x153fdc['zone']['type']?this['dt']=_0x153fdc:'iana'===_0x153fdc['zone']['type']?(this['dt']=_0x153fdc,_0x15cbdc=_0x153fdc['zone']['name']):(_0x15cbdc='UTC',this['dt']=_0x153fdc['setZone']('UTC')['plus']({'minutes':_0x153fdc['offset']}),this['originalZone']=_0x153fdc['zone']);}const _0x3cc1ab={...this['opts']};_0x3cc1ab['timeZone']=_0x3cc1ab['timeZone']||_0x15cbdc,this['dtf']=getCachedDTF(_0x50d379,_0x3cc1ab);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0x13faf6})=>_0x13faf6)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0xccfd48=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0xccfd48['map'](_0x41b9eb=>{if('timeZoneName'===_0x41b9eb['type']){const _0x568cef=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x41b9eb,'value':_0x568cef};}return _0x41b9eb;}):_0xccfd48;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}}class PolyRelFormatter{constructor(_0x413a23,_0x243a96,_0x257368){this['opts']={'style':'long',..._0x257368},!_0x243a96&&hasRelative()&&(this['rtf']=getCachedRTF(_0x413a23,_0x257368));}['format'](_0x21cffa,_0x177979){return this['rtf']?this['rtf']['format'](_0x21cffa,_0x177979):formatRelativeTime(_0x177979,_0x21cffa,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0x3e2c8f,_0x2d7baa){return this['rtf']?this['rtf']['formatToParts'](_0x3e2c8f,_0x2d7baa):[];}}const fallbackWeekSettings={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};class _0xc94d08{static['fromOpts'](_0x3e7384){return _0xc94d08['create'](_0x3e7384['locale'],_0x3e7384['numberingSystem'],_0x3e7384['outputCalendar'],_0x3e7384['weekSettings'],_0x3e7384['defaultToEN']);}static['create'](_0x33317f,_0x43f22c,_0x33e85f,_0x3ca9af,_0x2f1964=!0x1){const _0x1861cf=_0x33317f||Settings['defaultLocale'],_0x340389=_0x1861cf||(_0x2f1964?'en-US':systemLocale()),_0x33808d=_0x43f22c||Settings['defaultNumberingSystem'],_0x1ae892=_0x33e85f||Settings['defaultOutputCalendar'],_0x688790=validateWeekSettings(_0x3ca9af)||Settings['defaultWeekSettings'];return new _0xc94d08(_0x340389,_0x33808d,_0x1ae892,_0x688790,_0x1861cf);}static['resetCache'](){_0x52939d=null,intlDTCache['clear'](),intlNumCache['clear'](),intlRelCache['clear'](),intlResolvedOptionsCache['clear'](),_0x27838b['clear']();}static['fromObject']({locale:_0xc8bd1e,numberingSystem:_0x412602,outputCalendar:_0x3ddd87,weekSettings:_0x394212}={}){return _0xc94d08['create'](_0xc8bd1e,_0x412602,_0x3ddd87,_0x394212);}constructor(_0x48970a,_0x4b5d61,_0x3cb228,_0x44dd0c,_0x49ef08){const [_0x13a9e3,_0x364534,_0xa2cf2c]=parseLocaleString(_0x48970a);this['locale']=_0x13a9e3,this['numberingSystem']=_0x4b5d61||_0x364534||null,this['outputCalendar']=_0x3cb228||_0xa2cf2c||null,this['weekSettings']=_0x44dd0c,this['intl']=intlConfigString(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0x49ef08,this['fastNumbersCached']=null;}get['fastNumbers'](){return null==this['fastNumbersCached']&&(this['fastNumbersCached']=supportsFastNumbers(this)),this['fastNumbersCached'];}['listingMode'](){const _0x42045c=this['isEnglish'](),_0xad7695=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0x42045c&&_0xad7695?'en':'intl';}['clone'](_0x4f198a){return _0x4f198a&&0x0!==Object['getOwnPropertyNames'](_0x4f198a)['length']?_0xc94d08['create'](_0x4f198a['locale']||this['specifiedLocale'],_0x4f198a['numberingSystem']||this['numberingSystem'],_0x4f198a['outputCalendar']||this['outputCalendar'],validateWeekSettings(_0x4f198a['weekSettings'])||this['weekSettings'],_0x4f198a['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x43b766={}){return this['clone']({..._0x43b766,'defaultToEN':!0x0});}['redefaultToSystem'](_0x1f4744={}){return this['clone']({..._0x1f4744,'defaultToEN':!0x1});}['months'](_0x4e71f2,_0x35b8bb=!0x1){return listStuff(this,_0x4e71f2,months,()=>{const _0x1621a7=_0x35b8bb?{'month':_0x4e71f2,'day':'numeric'}:{'month':_0x4e71f2},_0x11bd57=_0x35b8bb?'format':'standalone';return this['monthsCache'][_0x11bd57][_0x4e71f2]||(this['monthsCache'][_0x11bd57][_0x4e71f2]=mapMonths(_0xff26b9=>this['extract'](_0xff26b9,_0x1621a7,'month'))),this['monthsCache'][_0x11bd57][_0x4e71f2];});}['weekdays'](_0x232fcd,_0xad7e17=!0x1){return listStuff(this,_0x232fcd,_0x4b4b3f,()=>{const _0x8dd1c5=_0xad7e17?{'weekday':_0x232fcd,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0x232fcd},_0x2705f5=_0xad7e17?'format':'standalone';return this['weekdaysCache'][_0x2705f5][_0x232fcd]||(this['weekdaysCache'][_0x2705f5][_0x232fcd]=_0x4b8e86(_0x1e42f3=>this['extract'](_0x1e42f3,_0x8dd1c5,'weekday'))),this['weekdaysCache'][_0x2705f5][_0x232fcd];});}['meridiems'](){return listStuff(this,void 0x0,()=>_0x4159cb,()=>{if(!this['meridiemCache']){const _0x1207ce={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[DateTime['utc'](0x7e0,0xb,0xd,0x9),DateTime['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0x33bc8b=>this['extract'](_0x33bc8b,_0x1207ce,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0x3c2116){return listStuff(this,_0x3c2116,_0x4f3bdf,()=>{const _0x1857cb={'era':_0x3c2116};return this['eraCache'][_0x3c2116]||(this['eraCache'][_0x3c2116]=[DateTime['utc'](-0x28,0x1,0x1),DateTime['utc'](0x7e1,0x1,0x1)]['map'](_0x34c5f1=>this['extract'](_0x34c5f1,_0x1857cb,'era'))),this['eraCache'][_0x3c2116];});}['extract'](_0x5f1268,_0x45db56,_0x8d0e3){const _0x5a9bd3=this['dtFormatter'](_0x5f1268,_0x45db56)['formatToParts']()['find'](_0x16d800=>_0x16d800['type']['toLowerCase']()===_0x8d0e3);return _0x5a9bd3?_0x5a9bd3['value']:null;}['numberFormatter'](_0x4097cf={}){return new PolyNumberFormatter(this['intl'],_0x4097cf['forceSimple']||this['fastNumbers'],_0x4097cf);}['dtFormatter'](_0x537406,_0x172a83={}){return new PolyDateFormatter(_0x537406,this['intl'],_0x172a83);}['relFormatter'](_0x8cca2c={}){return new PolyRelFormatter(this['intl'],this['isEnglish'](),_0x8cca2c);}['listFormatter'](_0x1928ab={}){return getCachedLF(this['intl'],_0x1928ab);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||getCachedIntResolvedOptions(this['intl'])['locale']['startsWith']('en-us');}['getWeekSettings'](){return this['weekSettings']?this['weekSettings']:_0x3c9700()?getCachedWeekInfo(this['locale']):fallbackWeekSettings;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0x2d22b3){return this['locale']===_0x2d22b3['locale']&&this['numberingSystem']===_0x2d22b3['numberingSystem']&&this['outputCalendar']===_0x2d22b3['outputCalendar'];}['toString'](){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}}let singleton=null;class FixedOffsetZone extends _0x4e5ed6{static get['utcInstance'](){return null===singleton&&(singleton=new FixedOffsetZone(0x0)),singleton;}static['instance'](_0x267204){return 0x0===_0x267204?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0x267204);}static['parseSpecifier'](_0x5c98fb){if(_0x5c98fb){const _0x3b15f9=_0x5c98fb['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x3b15f9)return new FixedOffsetZone(signedOffset(_0x3b15f9[0x1],_0x3b15f9[0x2]));}return null;}constructor(_0x11be53){super(),this['fixed']=_0x11be53;}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'](_0x54e7df,_0x1448ad){return formatOffset(this['fixed'],_0x1448ad);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x84c722){return'fixed'===_0x84c722['type']&&_0x84c722['fixed']===this['fixed'];}get['isValid'](){return!0x0;}}class _0xb3d68 extends _0x4e5ed6{constructor(_0x377496){super(),this['zoneName']=_0x377496;}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 _0xa90a02(_0x205a11,_0xe1c614){if(_0x2c6ba4(_0x205a11)||null===_0x205a11)return _0xe1c614;if(_0x205a11 instanceof _0x4e5ed6)return _0x205a11;if(isString(_0x205a11)){const _0x44ec93=_0x205a11['toLowerCase']();return'default'===_0x44ec93?_0xe1c614:'local'===_0x44ec93||'system'===_0x44ec93?SystemZone['instance']:'utc'===_0x44ec93||'gmt'===_0x44ec93?FixedOffsetZone['utcInstance']:FixedOffsetZone['parseSpecifier'](_0x44ec93)||_0x580b37['create'](_0x205a11);}return _0x29100f(_0x205a11)?FixedOffsetZone['instance'](_0x205a11):'object'==typeof _0x205a11&&'offset'in _0x205a11&&'function'==typeof _0x205a11['offset']?_0x205a11:new _0xb3d68(_0x205a11);}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]},_0x4dbcab=numberingSystems['hanidec']['replace'](/[\[|\]]/g,'')['split']('');function parseDigits(_0x12f088){let _0x5ce0f9=parseInt(_0x12f088,0xa);if(isNaN(_0x5ce0f9)){_0x5ce0f9='';for(let _0x242c1b=0x0;_0x242c1b<_0x12f088['length'];_0x242c1b++){const _0x75bc34=_0x12f088['charCodeAt'](_0x242c1b);if(-0x1!==_0x12f088[_0x242c1b]['search'](numberingSystems['hanidec']))_0x5ce0f9+=_0x4dbcab['indexOf'](_0x12f088[_0x242c1b]);else for(const _0x50ad29 in numberingSystemsUTF16){const [_0x9612e6,_0x53c32b]=numberingSystemsUTF16[_0x50ad29];_0x75bc34>=_0x9612e6&&_0x75bc34<=_0x53c32b&&(_0x5ce0f9+=_0x75bc34-_0x9612e6);}}return parseInt(_0x5ce0f9,0xa);}return _0x5ce0f9;}const digitRegexCache=new Map();function resetDigitRegexCache(){digitRegexCache['clear']();}function digitRegex({numberingSystem:_0x44f083},_0x39f522=''){const _0x378f92=_0x44f083||'latn';let _0x552b03=digitRegexCache['get'](_0x378f92);void 0x0===_0x552b03&&(_0x552b03=new Map(),digitRegexCache['set'](_0x378f92,_0x552b03));let _0x11a6c1=_0x552b03['get'](_0x39f522);return void 0x0===_0x11a6c1&&(_0x11a6c1=new RegExp(''+numberingSystems[_0x378f92]+_0x39f522),_0x552b03['set'](_0x39f522,_0x11a6c1)),_0x11a6c1;}let _0xaa0782=()=>Date['now'](),defaultZone='system',defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=0x3c,throwOnInvalid,defaultWeekSettings=null;class Settings{static get['now'](){return _0xaa0782;}static set['now'](_0x4fa851){_0xaa0782=_0x4fa851;}static set['defaultZone'](_0x3aa209){defaultZone=_0x3aa209;}static get['defaultZone'](){return _0xa90a02(defaultZone,SystemZone['instance']);}static get['defaultLocale'](){return defaultLocale;}static set['defaultLocale'](_0xb7656a){defaultLocale=_0xb7656a;}static get['defaultNumberingSystem'](){return defaultNumberingSystem;}static set['defaultNumberingSystem'](_0xf521cf){defaultNumberingSystem=_0xf521cf;}static get['defaultOutputCalendar'](){return defaultOutputCalendar;}static set['defaultOutputCalendar'](_0x4db1b8){defaultOutputCalendar=_0x4db1b8;}static get['defaultWeekSettings'](){return defaultWeekSettings;}static set['defaultWeekSettings'](_0x368e35){defaultWeekSettings=validateWeekSettings(_0x368e35);}static get['twoDigitCutoffYear'](){return twoDigitCutoffYear;}static set['twoDigitCutoffYear'](_0x5b90b7){twoDigitCutoffYear=_0x5b90b7%0x64;}static get['throwOnInvalid'](){return throwOnInvalid;}static set['throwOnInvalid'](t){throwOnInvalid=t;}static['resetCaches'](){_0xc94d08['resetCache'](),_0x580b37['resetCache'](),DateTime['resetCache'](),resetDigitRegexCache();}}class _0x2e1125{constructor(_0xcb84a0,_0xb9a9){this['reason']=_0xcb84a0,this['explanation']=_0xb9a9;}['toMessage'](){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}}const _0x3ff149=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],_0x3f6fd1=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function unitOutOfRange(_0x348f99,_0x1aea21){return new _0x2e1125('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x1aea21+'\x20(of\x20type\x20'+typeof _0x1aea21+')\x20as\x20a\x20'+_0x348f99+',\x20which\x20is\x20invalid');}function _0x3446c1(_0x14074a,_0xdce0e5,_0x1be441){const _0xe46814=new Date(Date['UTC'](_0x14074a,_0xdce0e5-0x1,_0x1be441));_0x14074a<0x64&&_0x14074a>=0x0&&_0xe46814['setUTCFullYear'](_0xe46814['getUTCFullYear']()-0x76c);const _0x400712=_0xe46814['getUTCDay']();return 0x0===_0x400712?0x7:_0x400712;}function computeOrdinal(_0x576d0a,_0x1f4c03,_0x2b54ab){return _0x2b54ab+(_0x496512(_0x576d0a)?_0x3f6fd1:_0x3ff149)[_0x1f4c03-0x1];}function uncomputeOrdinal(_0x4fec30,_0x391fa5){const _0x985ccf=_0x496512(_0x4fec30)?_0x3f6fd1:_0x3ff149,_0x555e54=_0x985ccf['findIndex'](_0x530794=>_0x530794<_0x391fa5);return{'month':_0x555e54+0x1,'day':_0x391fa5-_0x985ccf[_0x555e54]};}function _0xa919bf(_0x17b463,_0x173b28){return(_0x17b463-_0x173b28+0x7)%0x7+0x1;}function _0x3ae607(_0x50617e,_0x435744=0x4,_0x2f934c=0x1){const {year:_0x4cba2d,month:_0x28e70a,day:_0x371db7}=_0x50617e,_0x743ac2=computeOrdinal(_0x4cba2d,_0x28e70a,_0x371db7),_0x158269=_0xa919bf(_0x3446c1(_0x4cba2d,_0x28e70a,_0x371db7),_0x2f934c);let _0x49548c,_0x26073d=Math['floor']((_0x743ac2-_0x158269+0xe-_0x435744)/0x7);return _0x26073d<0x1?(_0x49548c=_0x4cba2d-0x1,_0x26073d=_0x2c57cf(_0x49548c,_0x435744,_0x2f934c)):_0x26073d>_0x2c57cf(_0x4cba2d,_0x435744,_0x2f934c)?(_0x49548c=_0x4cba2d+0x1,_0x26073d=0x1):_0x49548c=_0x4cba2d,{'weekYear':_0x49548c,'weekNumber':_0x26073d,'weekday':_0x158269,...timeObject(_0x50617e)};}function _0xabacee(_0x26ddb3,_0x220a22=0x4,_0x1d8603=0x1){const {weekYear:_0x154296,weekNumber:_0x1b765e,weekday:_0x54b486}=_0x26ddb3,_0x196dd1=_0xa919bf(_0x3446c1(_0x154296,0x1,_0x220a22),_0x1d8603),_0x5794aa=_0x1338ef(_0x154296);let _0x1e39bb,_0xa86980=0x7*_0x1b765e+_0x54b486-_0x196dd1-0x7+_0x220a22;_0xa86980<0x1?(_0x1e39bb=_0x154296-0x1,_0xa86980+=_0x1338ef(_0x1e39bb)):_0xa86980>_0x5794aa?(_0x1e39bb=_0x154296+0x1,_0xa86980-=_0x1338ef(_0x154296)):_0x1e39bb=_0x154296;const {month:_0x171fea,day:_0x4d7862}=uncomputeOrdinal(_0x1e39bb,_0xa86980);return{'year':_0x1e39bb,'month':_0x171fea,'day':_0x4d7862,...timeObject(_0x26ddb3)};}function _0x38423e(_0xc9d2e7){const {year:_0x4bad0c,month:_0x9914f1,day:_0x3fc239}=_0xc9d2e7;return{'year':_0x4bad0c,'ordinal':computeOrdinal(_0x4bad0c,_0x9914f1,_0x3fc239),...timeObject(_0xc9d2e7)};}function _0x23d6ff(_0x547bc2){const {year:_0x2511f6,ordinal:_0x27655b}=_0x547bc2,{month:_0x24bf45,day:_0x319297}=uncomputeOrdinal(_0x2511f6,_0x27655b);return{'year':_0x2511f6,'month':_0x24bf45,'day':_0x319297,...timeObject(_0x547bc2)};}function _0x2a627e(_0x21dcac,_0x2d73b7){if(!_0x2c6ba4(_0x21dcac['localWeekday'])||!_0x2c6ba4(_0x21dcac['localWeekNumber'])||!_0x2c6ba4(_0x21dcac['localWeekYear'])){if(!_0x2c6ba4(_0x21dcac['weekday'])||!_0x2c6ba4(_0x21dcac['weekNumber'])||!_0x2c6ba4(_0x21dcac['weekYear']))throw new ConflictingSpecificationError('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return _0x2c6ba4(_0x21dcac['localWeekday'])||(_0x21dcac['weekday']=_0x21dcac['localWeekday']),_0x2c6ba4(_0x21dcac['localWeekNumber'])||(_0x21dcac['weekNumber']=_0x21dcac['localWeekNumber']),_0x2c6ba4(_0x21dcac['localWeekYear'])||(_0x21dcac['weekYear']=_0x21dcac['localWeekYear']),delete _0x21dcac['localWeekday'],delete _0x21dcac['localWeekNumber'],delete _0x21dcac['localWeekYear'],{'minDaysInFirstWeek':_0x2d73b7['getMinDaysInFirstWeek'](),'startOfWeek':_0x2d73b7['getStartOfWeek']()};}return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};}function hasInvalidWeekData(_0x5bb4bd,_0x3b189d=0x4,_0x2dea4a=0x1){const _0x2af93d=isInteger$1(_0x5bb4bd['weekYear']),_0x2c9820=integerBetween(_0x5bb4bd['weekNumber'],0x1,_0x2c57cf(_0x5bb4bd['weekYear'],_0x3b189d,_0x2dea4a)),_0x4e9990=integerBetween(_0x5bb4bd['weekday'],0x1,0x7);return _0x2af93d?_0x2c9820?!_0x4e9990&&unitOutOfRange('weekday',_0x5bb4bd['weekday']):unitOutOfRange('week',_0x5bb4bd['weekNumber']):unitOutOfRange('weekYear',_0x5bb4bd['weekYear']);}function hasInvalidOrdinalData(_0x5959cf){const _0x2036f8=isInteger$1(_0x5959cf['year']),_0x476b0f=integerBetween(_0x5959cf['ordinal'],0x1,_0x1338ef(_0x5959cf['year']));return _0x2036f8?!_0x476b0f&&unitOutOfRange('ordinal',_0x5959cf['ordinal']):unitOutOfRange('year',_0x5959cf['year']);}function hasInvalidGregorianData(_0x49612e){const _0x3ce50c=isInteger$1(_0x49612e['year']),_0x1769ac=integerBetween(_0x49612e['month'],0x1,0xc),_0x5b63c9=integerBetween(_0x49612e['day'],0x1,daysInMonth(_0x49612e['year'],_0x49612e['month']));return _0x3ce50c?_0x1769ac?!_0x5b63c9&&unitOutOfRange('day',_0x49612e['day']):unitOutOfRange('month',_0x49612e['month']):unitOutOfRange('year',_0x49612e['year']);}function hasInvalidTimeData(_0x531580){const {hour:_0x4a2003,minute:_0x1cbdbb,second:_0x5ea5a5,millisecond:_0x474616}=_0x531580,_0x4ebb2c=integerBetween(_0x4a2003,0x0,0x17)||0x18===_0x4a2003&&0x0===_0x1cbdbb&&0x0===_0x5ea5a5&&0x0===_0x474616,_0x38ba70=integerBetween(_0x1cbdbb,0x0,0x3b),_0x27ed7d=integerBetween(_0x5ea5a5,0x0,0x3b),_0x102884=integerBetween(_0x474616,0x0,0x3e7);return _0x4ebb2c?_0x38ba70?_0x27ed7d?!_0x102884&&unitOutOfRange('millisecond',_0x474616):unitOutOfRange('second',_0x5ea5a5):unitOutOfRange('minute',_0x1cbdbb):unitOutOfRange('hour',_0x4a2003);}function _0x2c6ba4(_0x101a4e){return void 0x0===_0x101a4e;}function _0x29100f(_0x37fe92){return'number'==typeof _0x37fe92;}function isInteger$1(_0x132375){return'number'==typeof _0x132375&&_0x132375%0x1==0x0;}function isString(_0x700918){return'string'==typeof _0x700918;}function isDate(_0x5099da){return'[object\x20Date]'===Object['prototype']['toString']['call'](_0x5099da);}function hasRelative(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0xc08060){return!0x1;}}function _0x3c9700(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x3cbae2){return!0x1;}}function _0x1c790b(_0x48e2d5){return Array['isArray'](_0x48e2d5)?_0x48e2d5:[_0x48e2d5];}function bestBy(_0x23097d,_0x23a36d,_0x3b4350){if(0x0!==_0x23097d['length'])return _0x23097d['reduce']((_0x128b7d,_0x39a7e1)=>{const _0x2b3aec=[_0x23a36d(_0x39a7e1),_0x39a7e1];return _0x128b7d&&_0x3b4350(_0x128b7d[0x0],_0x2b3aec[0x0])===_0x128b7d[0x0]?_0x128b7d:_0x2b3aec;},null)[0x1];}function _0x3499b4(_0x253095,_0x498239){return _0x498239['reduce']((_0x114cd7,_0x50284f)=>(_0x114cd7[_0x50284f]=_0x253095[_0x50284f],_0x114cd7),{});}function hasOwnProperty(_0x29c6de,_0x9cada9){return Object['prototype']['hasOwnProperty']['call'](_0x29c6de,_0x9cada9);}function validateWeekSettings(_0x34d8b2){if(null==_0x34d8b2)return null;if('object'!=typeof _0x34d8b2)throw new InvalidArgumentError('Week\x20settings\x20must\x20be\x20an\x20object');if(!integerBetween(_0x34d8b2['firstDay'],0x1,0x7)||!integerBetween(_0x34d8b2['minimalDays'],0x1,0x7)||!Array['isArray'](_0x34d8b2['weekend'])||_0x34d8b2['weekend']['some'](_0x11311a=>!integerBetween(_0x11311a,0x1,0x7)))throw new InvalidArgumentError('Invalid\x20week\x20settings');return{'firstDay':_0x34d8b2['firstDay'],'minimalDays':_0x34d8b2['minimalDays'],'weekend':Array['from'](_0x34d8b2['weekend'])};}function integerBetween(_0x2c8114,_0xa55e00,_0x5a822a){return isInteger$1(_0x2c8114)&&_0x2c8114>=_0xa55e00&&_0x2c8114<=_0x5a822a;}function _0xb56a8a(_0x267909,_0xa67812){return _0x267909-_0xa67812*Math['floor'](_0x267909/_0xa67812);}function padStart(_0x31750a,_0x7aea41=0x2){let _0x505b9c;return _0x505b9c=_0x31750a<0x0?'-'+(''+-_0x31750a)['padStart'](_0x7aea41,'0'):(''+_0x31750a)['padStart'](_0x7aea41,'0'),_0x505b9c;}function parseInteger(_0x4f3156){return _0x2c6ba4(_0x4f3156)||null===_0x4f3156||''===_0x4f3156?void 0x0:parseInt(_0x4f3156,0xa);}function parseFloating(_0x6bb68c){return _0x2c6ba4(_0x6bb68c)||null===_0x6bb68c||''===_0x6bb68c?void 0x0:parseFloat(_0x6bb68c);}function _0x1c631c(_0x590fe8){if(!_0x2c6ba4(_0x590fe8)&&null!==_0x590fe8&&''!==_0x590fe8){const _0x27fbda=0x3e8*parseFloat('0.'+_0x590fe8);return Math['floor'](_0x27fbda);}}function _0x4cd035(_0x20b63c,_0x3dbd5b,_0x2f4b3b=!0x1){const _0x20effc=0xa**_0x3dbd5b;return(_0x2f4b3b?Math['trunc']:Math['round'])(_0x20b63c*_0x20effc)/_0x20effc;}function _0x496512(_0x4b2c09){return _0x4b2c09%0x4==0x0&&(_0x4b2c09%0x64!=0x0||_0x4b2c09%0x190==0x0);}function _0x1338ef(_0x2909be){return _0x496512(_0x2909be)?0x16e:0x16d;}function daysInMonth(_0x4d4900,_0x3ec310){const _0x5c1bad=_0xb56a8a(_0x3ec310-0x1,0xc)+0x1;return 0x2===_0x5c1bad?_0x496512(_0x4d4900+(_0x3ec310-_0x5c1bad)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0x5c1bad-0x1];}function _0x5e04c3(_0x3b5471){let _0x46fd21=Date['UTC'](_0x3b5471['year'],_0x3b5471['month']-0x1,_0x3b5471['day'],_0x3b5471['hour'],_0x3b5471['minute'],_0x3b5471['second'],_0x3b5471['millisecond']);return _0x3b5471['year']<0x64&&_0x3b5471['year']>=0x0&&(_0x46fd21=new Date(_0x46fd21),_0x46fd21['setUTCFullYear'](_0x3b5471['year'],_0x3b5471['month']-0x1,_0x3b5471['day'])),+_0x46fd21;}function firstWeekOffset(_0x42b0d7,_0x11d1a5,_0x559721){return-_0xa919bf(_0x3446c1(_0x42b0d7,0x1,_0x11d1a5),_0x559721)+_0x11d1a5-0x1;}function _0x2c57cf(_0x253d5b,_0x1de2f2=0x4,_0x41d27c=0x1){const _0x13c36e=firstWeekOffset(_0x253d5b,_0x1de2f2,_0x41d27c),_0x3f2b70=firstWeekOffset(_0x253d5b+0x1,_0x1de2f2,_0x41d27c);return(_0x1338ef(_0x253d5b)-_0x13c36e+_0x3f2b70)/0x7;}function untruncateYear(_0x192f43){return _0x192f43>0x63?_0x192f43:_0x192f43>Settings['twoDigitCutoffYear']?0x76c+_0x192f43:0x7d0+_0x192f43;}function _0x152818(_0x5805ad,_0x44253c,_0x47bee9,_0x51034f=null){const _0x38bd84=new Date(_0x5805ad),_0x20bb30={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0x51034f&&(_0x20bb30['timeZone']=_0x51034f);const _0x5032ff={'timeZoneName':_0x44253c,..._0x20bb30},_0x331315=new Intl['DateTimeFormat'](_0x47bee9,_0x5032ff)['formatToParts'](_0x38bd84)['find'](_0x2dc28f=>'timezonename'===_0x2dc28f['type']['toLowerCase']());return _0x331315?_0x331315['value']:null;}function signedOffset(_0x8f26f1,_0x56ccb0){let _0x342c65=parseInt(_0x8f26f1,0xa);Number['isNaN'](_0x342c65)&&(_0x342c65=0x0);const _0x27d74b=parseInt(_0x56ccb0,0xa)||0x0;return 0x3c*_0x342c65+(_0x342c65<0x0||Object['is'](_0x342c65,-0x0)?-_0x27d74b:_0x27d74b);}function _0x1e0153(_0xbf169d){const _0x52b5b3=Number(_0xbf169d);if('boolean'==typeof _0xbf169d||''===_0xbf169d||Number['isNaN'](_0x52b5b3))throw new InvalidArgumentError('Invalid\x20unit\x20value\x20'+_0xbf169d);return _0x52b5b3;}function normalizeObject(_0x24fd73,_0xce65b5){const _0x535f6f={};for(const _0x5288fa in _0x24fd73)if(hasOwnProperty(_0x24fd73,_0x5288fa)){const _0x4ae53f=_0x24fd73[_0x5288fa];if(null==_0x4ae53f)continue;_0x535f6f[_0xce65b5(_0x5288fa)]=_0x1e0153(_0x4ae53f);}return _0x535f6f;}function formatOffset(_0x4de24c,_0x563092){const _0x246e27=Math['trunc'](Math['abs'](_0x4de24c/0x3c)),_0x448f82=Math['trunc'](Math['abs'](_0x4de24c%0x3c)),_0x1cc2d9=_0x4de24c>=0x0?'+':'-';switch(_0x563092){case'short':return''+_0x1cc2d9+padStart(_0x246e27,0x2)+':'+padStart(_0x448f82,0x2);case'narrow':return''+_0x1cc2d9+_0x246e27+(_0x448f82>0x0?':'+_0x448f82:'');case'techie':return''+_0x1cc2d9+padStart(_0x246e27,0x2)+padStart(_0x448f82,0x2);default:throw new RangeError('Value\x20format\x20'+_0x563092+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function timeObject(_0x28d813){return _0x3499b4(_0x28d813,['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(_0xeb9320){switch(_0xeb9320){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 _0x42f295=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],weekdaysShort=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],_0x5476a1=['M','T','W','T','F','S','S'];function _0x4b4b3f(_0x23dd6e){switch(_0x23dd6e){case'narrow':return[..._0x5476a1];case'short':return[...weekdaysShort];case'long':return[..._0x42f295];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const _0x4159cb=['AM','PM'],_0x229cfb=['Before\x20Christ','Anno\x20Domini'],erasShort=['BC','AD'],_0x51a960=['B','A'];function _0x4f3bdf(_0x59f8f2){switch(_0x59f8f2){case'narrow':return[..._0x51a960];case'short':return[...erasShort];case'long':return[..._0x229cfb];default:return null;}}function meridiemForDateTime(_0x23a1ad){return _0x4159cb[_0x23a1ad['hour']<0xc?0x0:0x1];}function weekdayForDateTime(_0x589c81,_0x4c0c06){return _0x4b4b3f(_0x4c0c06)[_0x589c81['weekday']-0x1];}function monthForDateTime(_0x48768e,_0x1da030){return months(_0x1da030)[_0x48768e['month']-0x1];}function eraForDateTime(_0x8566f6,_0xc45bb){return _0x4f3bdf(_0xc45bb)[_0x8566f6['year']<0x0?0x0:0x1];}function formatRelativeTime(_0x4c1f87,_0x1ac338,_0x230aad='always',_0x3d3fab=!0x1){const _0x20be37={'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.']},_0x54c56f=-0x1===['hours','minutes','seconds']['indexOf'](_0x4c1f87);if('auto'===_0x230aad&&_0x54c56f){const _0x1a6098='days'===_0x4c1f87;switch(_0x1ac338){case 0x1:return _0x1a6098?'tomorrow':'next\x20'+_0x20be37[_0x4c1f87][0x0];case-0x1:return _0x1a6098?'yesterday':'last\x20'+_0x20be37[_0x4c1f87][0x0];case 0x0:return _0x1a6098?'today':'this\x20'+_0x20be37[_0x4c1f87][0x0];}}const _0x6cb373=Object['is'](_0x1ac338,-0x0)||_0x1ac338<0x0,_0x31a1ed=Math['abs'](_0x1ac338),_0x3cf0f7=0x1===_0x31a1ed,_0x406d38=_0x20be37[_0x4c1f87],_0xe4f128=_0x3d3fab?_0x3cf0f7?_0x406d38[0x1]:_0x406d38[0x2]||_0x406d38[0x1]:_0x3cf0f7?_0x20be37[_0x4c1f87][0x0]:_0x4c1f87;return _0x6cb373?_0x31a1ed+'\x20'+_0xe4f128+'\x20ago':'in\x20'+_0x31a1ed+'\x20'+_0xe4f128;}function stringifyTokens(_0x73c79f,_0x2b7355){let _0x32206d='';for(const _0x4c3cd2 of _0x73c79f)_0x4c3cd2['literal']?_0x32206d+=_0x4c3cd2['val']:_0x32206d+=_0x2b7355(_0x4c3cd2['val']);return _0x32206d;}const macroTokenToFormatOpts={'D':_0x20499b,'DD':_0x7026e3,'DDD':_0x160437,'DDDD':_0x1c4048,'t':_0x581484,'tt':_0x4868a8,'ttt':_0x2efb1e,'tttt':_0x2d476c,'T':_0x59ab98,'TT':_0x47c230,'TTT':_0x447215,'TTTT':_0x5bd3fc,'f':_0x2300de,'ff':_0x766244,'fff':_0x151f5b,'ffff':_0x50ed19,'F':_0x187261,'FF':_0x29f870,'FFF':_0x3ad6aa,'FFFF':_0x6c379d};class Formatter{static['create'](_0x4d2ff7,_0x75cb5f={}){return new Formatter(_0x4d2ff7,_0x75cb5f);}static['parseFormat'](_0x56416a){let _0x2a160f=null,_0x2b140c='',_0x131474=!0x1;const _0x2414bd=[];for(let _0x25f72f=0x0;_0x25f72f<_0x56416a['length'];_0x25f72f++){const _0xdc6ed0=_0x56416a['charAt'](_0x25f72f);'\x27'===_0xdc6ed0?(_0x2b140c['length']>0x0&&_0x2414bd['push']({'literal':_0x131474||/^\s+$/['test'](_0x2b140c),'val':_0x2b140c}),_0x2a160f=null,_0x2b140c='',_0x131474=!_0x131474):_0x131474||_0xdc6ed0===_0x2a160f?_0x2b140c+=_0xdc6ed0:(_0x2b140c['length']>0x0&&_0x2414bd['push']({'literal':/^\s+$/['test'](_0x2b140c),'val':_0x2b140c}),_0x2b140c=_0xdc6ed0,_0x2a160f=_0xdc6ed0);}return _0x2b140c['length']>0x0&&_0x2414bd['push']({'literal':_0x131474||/^\s+$/['test'](_0x2b140c),'val':_0x2b140c}),_0x2414bd;}static['macroTokenToFormatOpts'](_0x4e3e72){return macroTokenToFormatOpts[_0x4e3e72];}constructor(_0x42a49d,_0x3b1783){this['opts']=_0x3b1783,this['loc']=_0x42a49d,this['systemLoc']=null;}['formatWithSystemDefault'](_0x211d85,_0x47e882){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0x211d85,{...this['opts'],..._0x47e882})['format']();}['dtFormatter'](_0x1a73fe,_0x4220e5={}){return this['loc']['dtFormatter'](_0x1a73fe,{...this['opts'],..._0x4220e5});}['formatDateTime'](_0x4204af,_0x424382){return this['dtFormatter'](_0x4204af,_0x424382)['format']();}['formatDateTimeParts'](_0x276212,_0x50fdde){return this['dtFormatter'](_0x276212,_0x50fdde)['formatToParts']();}['formatInterval'](_0x481cd5,_0x144baa){return this['dtFormatter'](_0x481cd5['start'],_0x144baa)['dtf']['formatRange'](_0x481cd5['start']['toJSDate'](),_0x481cd5['end']['toJSDate']());}['resolvedOptions'](_0x4e465f,_0x3dbece){return this['dtFormatter'](_0x4e465f,_0x3dbece)['resolvedOptions']();}['num'](_0x4a0b53,_0x2525b=0x0){if(this['opts']['forceSimple'])return padStart(_0x4a0b53,_0x2525b);const _0x1827e8={...this['opts']};return _0x2525b>0x0&&(_0x1827e8['padTo']=_0x2525b),this['loc']['numberFormatter'](_0x1827e8)['format'](_0x4a0b53);}['formatDateTimeFromString'](_0x40f895,_0x2ee659){const _0x1af73f='en'===this['loc']['listingMode'](),_0x3cc954=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x51640b=(_0xc3a7c4,_0x10b7d8)=>this['loc']['extract'](_0x40f895,_0xc3a7c4,_0x10b7d8),_0x499ce4=_0x34d249=>_0x40f895['isOffsetFixed']&&0x0===_0x40f895['offset']&&_0x34d249['allowZ']?'Z':_0x40f895['isValid']?_0x40f895['zone']['formatOffset'](_0x40f895['ts'],_0x34d249['format']):'',_0x28342f=(_0x37ac75,_0xe391df)=>_0x1af73f?monthForDateTime(_0x40f895,_0x37ac75):_0x51640b(_0xe391df?{'month':_0x37ac75}:{'month':_0x37ac75,'day':'numeric'},'month'),_0x25d6de=(_0x31dfbd,_0x23e7d6)=>_0x1af73f?weekdayForDateTime(_0x40f895,_0x31dfbd):_0x51640b(_0x23e7d6?{'weekday':_0x31dfbd}:{'weekday':_0x31dfbd,'month':'long','day':'numeric'},'weekday'),_0xf73c8e=_0xf32d6e=>{const _0x35052f=Formatter['macroTokenToFormatOpts'](_0xf32d6e);return _0x35052f?this['formatWithSystemDefault'](_0x40f895,_0x35052f):_0xf32d6e;},_0x242ca5=_0x246117=>_0x1af73f?eraForDateTime(_0x40f895,_0x246117):_0x51640b({'era':_0x246117},'era');return stringifyTokens(Formatter['parseFormat'](_0x2ee659),_0x4faa4c=>{switch(_0x4faa4c){case'S':return this['num'](_0x40f895['millisecond']);case'u':case'SSS':return this['num'](_0x40f895['millisecond'],0x3);case's':return this['num'](_0x40f895['second']);case'ss':return this['num'](_0x40f895['second'],0x2);case'uu':return this['num'](Math['floor'](_0x40f895['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x40f895['millisecond']/0x64));case'm':return this['num'](_0x40f895['minute']);case'mm':return this['num'](_0x40f895['minute'],0x2);case'h':return this['num'](_0x40f895['hour']%0xc==0x0?0xc:_0x40f895['hour']%0xc);case'hh':return this['num'](_0x40f895['hour']%0xc==0x0?0xc:_0x40f895['hour']%0xc,0x2);case'H':return this['num'](_0x40f895['hour']);case'HH':return this['num'](_0x40f895['hour'],0x2);case'Z':return _0x499ce4({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0x499ce4({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0x499ce4({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x40f895['zone']['offsetName'](_0x40f895['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x40f895['zone']['offsetName'](_0x40f895['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x40f895['zoneName'];case'a':return _0x1af73f?meridiemForDateTime(_0x40f895):_0x51640b({'hour':'numeric','hourCycle':'h12'},'dayperiod');case'd':return _0x3cc954?_0x51640b({'day':'numeric'},'day'):this['num'](_0x40f895['day']);case'dd':return _0x3cc954?_0x51640b({'day':'2-digit'},'day'):this['num'](_0x40f895['day'],0x2);case'c':case'E':return this['num'](_0x40f895['weekday']);case'ccc':return _0x25d6de('short',!0x0);case'cccc':return _0x25d6de('long',!0x0);case'ccccc':return _0x25d6de('narrow',!0x0);case'EEE':return _0x25d6de('short',!0x1);case'EEEE':return _0x25d6de('long',!0x1);case'EEEEE':return _0x25d6de('narrow',!0x1);case'L':return _0x3cc954?_0x51640b({'month':'numeric','day':'numeric'},'month'):this['num'](_0x40f895['month']);case'LL':return _0x3cc954?_0x51640b({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x40f895['month'],0x2);case'LLL':return _0x28342f('short',!0x0);case'LLLL':return _0x28342f('long',!0x0);case'LLLLL':return _0x28342f('narrow',!0x0);case'M':return _0x3cc954?_0x51640b({'month':'numeric'},'month'):this['num'](_0x40f895['month']);case'MM':return _0x3cc954?_0x51640b({'month':'2-digit'},'month'):this['num'](_0x40f895['month'],0x2);case'MMM':return _0x28342f('short',!0x1);case'MMMM':return _0x28342f('long',!0x1);case'MMMMM':return _0x28342f('narrow',!0x1);case'y':return _0x3cc954?_0x51640b({'year':'numeric'},'year'):this['num'](_0x40f895['year']);case'yy':return _0x3cc954?_0x51640b({'year':'2-digit'},'year'):this['num'](_0x40f895['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0x3cc954?_0x51640b({'year':'numeric'},'year'):this['num'](_0x40f895['year'],0x4);case'yyyyyy':return _0x3cc954?_0x51640b({'year':'numeric'},'year'):this['num'](_0x40f895['year'],0x6);case'G':return _0x242ca5('short');case'GG':return _0x242ca5('long');case'GGGGG':return _0x242ca5('narrow');case'kk':return this['num'](_0x40f895['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x40f895['weekYear'],0x4);case'W':return this['num'](_0x40f895['weekNumber']);case'WW':return this['num'](_0x40f895['weekNumber'],0x2);case'n':return this['num'](_0x40f895['localWeekNumber']);case'nn':return this['num'](_0x40f895['localWeekNumber'],0x2);case'ii':return this['num'](_0x40f895['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x40f895['localWeekYear'],0x4);case'o':return this['num'](_0x40f895['ordinal']);case'ooo':return this['num'](_0x40f895['ordinal'],0x3);case'q':return this['num'](_0x40f895['quarter']);case'qq':return this['num'](_0x40f895['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x40f895['ts']/0x3e8));case'x':return this['num'](_0x40f895['ts']);default:return _0xf73c8e(_0x4faa4c);}});}['formatDurationFromString'](_0x1df2af,_0x5b27be){const _0x5f1193=_0x441ec=>{switch(_0x441ec[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;}},_0x377b2e=Formatter['parseFormat'](_0x5b27be),_0x2e3fa9=_0x377b2e['reduce']((_0x2f430b,{literal:_0x2015ae,val:_0x2b111f})=>_0x2015ae?_0x2f430b:_0x2f430b['concat'](_0x2b111f),[]),_0x2de1c1=_0x1df2af['shiftTo'](..._0x2e3fa9['map'](_0x5f1193)['filter'](t=>t));return stringifyTokens(_0x377b2e,(_0xbc9f63=>_0x1355ea=>{const _0x105c6c=_0x5f1193(_0x1355ea);return _0x105c6c?this['num'](_0xbc9f63['get'](_0x105c6c),_0x1355ea['length']):_0x1355ea;})(_0x2de1c1));}}const _0x2c0a09=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _0x4b19a8(..._0x74796d){const _0xd5cf91=_0x74796d['reduce']((_0x528968,_0x5b7f61)=>_0x528968+_0x5b7f61['source'],'');return RegExp('^'+_0xd5cf91+'$');}function combineExtractors(..._0x3caafd){return _0x3eb19e=>_0x3caafd['reduce'](([_0x288f94,_0x2280d5,_0x57be0f],_0x3f389c)=>{const [_0xcd22ea,_0x5a0d92,_0x79d7e7]=_0x3f389c(_0x3eb19e,_0x57be0f);return[{..._0x288f94,..._0xcd22ea},_0x5a0d92||_0x2280d5,_0x79d7e7];},[{},null,0x1])['slice'](0x0,0x2);}function _0x4eac59(_0x6aba50,..._0x426931){if(null==_0x6aba50)return[null,null];for(const [_0x428474,_0x5f17dc]of _0x426931){const _0x1bc287=_0x428474['exec'](_0x6aba50);if(_0x1bc287)return _0x5f17dc(_0x1bc287);}return[null,null];}function _0x64c9a3(..._0x389b77){return(_0x1f2b02,_0x586a6e)=>{const _0x394b64={};let _0x59fab2;for(_0x59fab2=0x0;_0x59fab2<_0x389b77['length'];_0x59fab2++)_0x394b64[_0x389b77[_0x59fab2]]=parseInteger(_0x1f2b02[_0x586a6e+_0x59fab2]);return[_0x394b64,null,_0x586a6e+_0x59fab2];};}const offsetRegex=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,isoExtendedZone='(?:'+offsetRegex['source']+'?(?:\x5c[('+_0x2c0a09['source']+')\x5c])?)?',_0x50b817=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_0x4f0417=RegExp(''+_0x50b817['source']+isoExtendedZone),isoTimeExtensionRegex=RegExp('(?:T'+_0x4f0417['source']+')?'),_0x2229f9=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,_0x20db36=/(\d{4})-?W(\d\d)(?:-?(\d))?/,_0x295e7b=/(\d{4})-?(\d{3})/,extractISOWeekData=_0x64c9a3('weekYear','weekNumber','weekDay'),extractISOOrdinalData=_0x64c9a3('year','ordinal'),_0x362057=/(\d{4})-(\d\d)-(\d\d)/,_0x549d4e=RegExp(_0x50b817['source']+'\x20?(?:'+offsetRegex['source']+'|('+_0x2c0a09['source']+'))?'),sqlTimeExtensionRegex=RegExp('(?:\x20'+_0x549d4e['source']+')?');function int(_0xccdfb5,_0x41a7ca,_0x503436){const _0x4cf6ae=_0xccdfb5[_0x41a7ca];return _0x2c6ba4(_0x4cf6ae)?_0x503436:parseInteger(_0x4cf6ae);}function extractISOYmd(_0x365b33,_0x234009){return[{'year':int(_0x365b33,_0x234009),'month':int(_0x365b33,_0x234009+0x1,0x1),'day':int(_0x365b33,_0x234009+0x2,0x1)},null,_0x234009+0x3];}function extractISOTime(_0xc43fae,_0x26266c){return[{'hours':int(_0xc43fae,_0x26266c,0x0),'minutes':int(_0xc43fae,_0x26266c+0x1,0x0),'seconds':int(_0xc43fae,_0x26266c+0x2,0x0),'milliseconds':_0x1c631c(_0xc43fae[_0x26266c+0x3])},null,_0x26266c+0x4];}function extractISOOffset(_0x39befa,_0x495aee){const _0x389526=!_0x39befa[_0x495aee]&&!_0x39befa[_0x495aee+0x1],_0x29895b=signedOffset(_0x39befa[_0x495aee+0x1],_0x39befa[_0x495aee+0x2]);return[{},_0x389526?null:FixedOffsetZone['instance'](_0x29895b),_0x495aee+0x3];}function extractIANAZone(_0x202868,_0x43b112){return[{},_0x202868[_0x43b112]?_0x580b37['create'](_0x202868[_0x43b112]):null,_0x43b112+0x1];}const _0x2a3471=RegExp('^T?'+_0x50b817['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(_0x58f08d){const [_0x4a8be6,_0x15b2a4,_0x55d0e1,_0x329e1f,_0x1da5ad,_0x4a16f5,_0x27537c,_0x3e107b,_0x355095]=_0x58f08d,_0x199e83='-'===_0x4a8be6[0x0],_0x21b947=_0x3e107b&&'-'===_0x3e107b[0x0],_0x2ee0fb=(_0x247eb1,_0x42516c=!0x1)=>void 0x0!==_0x247eb1&&(_0x42516c||_0x247eb1&&_0x199e83)?-_0x247eb1:_0x247eb1;return[{'years':_0x2ee0fb(parseFloating(_0x15b2a4)),'months':_0x2ee0fb(parseFloating(_0x55d0e1)),'weeks':_0x2ee0fb(parseFloating(_0x329e1f)),'days':_0x2ee0fb(parseFloating(_0x1da5ad)),'hours':_0x2ee0fb(parseFloating(_0x4a16f5)),'minutes':_0x2ee0fb(parseFloating(_0x27537c)),'seconds':_0x2ee0fb(parseFloating(_0x3e107b),'-0'===_0x3e107b),'milliseconds':_0x2ee0fb(_0x1c631c(_0x355095),_0x21b947)}];}const obsOffsets={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function fromStrings(_0x2ceb3e,_0x25348b,_0x3f6d61,_0x2b781c,_0x3c61c3,_0x4eceb3,_0xb47670){const _0x5b7ce6={'year':0x2===_0x25348b['length']?untruncateYear(parseInteger(_0x25348b)):parseInteger(_0x25348b),'month':monthsShort['indexOf'](_0x3f6d61)+0x1,'day':parseInteger(_0x2b781c),'hour':parseInteger(_0x3c61c3),'minute':parseInteger(_0x4eceb3)};return _0xb47670&&(_0x5b7ce6['second']=parseInteger(_0xb47670)),_0x2ceb3e&&(_0x5b7ce6['weekday']=_0x2ceb3e['length']>0x3?_0x42f295['indexOf'](_0x2ceb3e)+0x1:weekdaysShort['indexOf'](_0x2ceb3e)+0x1),_0x5b7ce6;}const _0x4c756b=/^(?:(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(_0x1edb45){const [,_0x8e4a26,_0x43f9aa,_0x5d2234,_0x450882,_0xb3334c,_0x2cc135,_0x3d60ee,_0x32251e,_0x597df3,_0xc1d6a,_0x3d0123]=_0x1edb45,_0xe9ef79=fromStrings(_0x8e4a26,_0x450882,_0x5d2234,_0x43f9aa,_0xb3334c,_0x2cc135,_0x3d60ee);let _0x29415b;return _0x29415b=_0x32251e?obsOffsets[_0x32251e]:_0x597df3?0x0:signedOffset(_0xc1d6a,_0x3d0123),[_0xe9ef79,new FixedOffsetZone(_0x29415b)];}function _0x39b3bd(_0x49876c){return _0x49876c['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}const _0x19c336=/^(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$/,_0x2963d4=/^(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$/,_0x2eb68f=/^(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(_0x1ccab4){const [,_0x211b28,_0x41388a,_0x20c8ca,_0x109fd8,_0x3ca4c4,_0x439d9e,_0x4c00f8]=_0x1ccab4;return[fromStrings(_0x211b28,_0x109fd8,_0x20c8ca,_0x41388a,_0x3ca4c4,_0x439d9e,_0x4c00f8),FixedOffsetZone['utcInstance']];}function extractASCII(_0x151cd6){const [,_0x53c802,_0x5829c8,_0x55bbd3,_0x22f592,_0x3e3c86,_0x16f223,_0xc3987e]=_0x151cd6;return[fromStrings(_0x53c802,_0xc3987e,_0x5829c8,_0x55bbd3,_0x22f592,_0x3e3c86,_0x16f223),FixedOffsetZone['utcInstance']];}const isoYmdWithTimeExtensionRegex=_0x4b19a8(_0x2229f9,isoTimeExtensionRegex),isoWeekWithTimeExtensionRegex=_0x4b19a8(_0x20db36,isoTimeExtensionRegex),isoOrdinalWithTimeExtensionRegex=_0x4b19a8(_0x295e7b,isoTimeExtensionRegex),_0x834c23=_0x4b19a8(_0x4f0417),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(_0x2e35dc){return _0x4eac59(_0x2e35dc,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[_0x834c23,extractISOTimeAndOffset]);}function parseRFC2822Date(_0x48fc9e){return _0x4eac59(_0x39b3bd(_0x48fc9e),[_0x4c756b,extractRFC2822]);}function parseHTTPDate(_0x1b2e0d){return _0x4eac59(_0x1b2e0d,[_0x19c336,extractRFC1123Or850],[_0x2963d4,extractRFC1123Or850],[_0x2eb68f,extractASCII]);}function parseISODuration(_0x35c66a){return _0x4eac59(_0x35c66a,[isoDuration,extractISODuration]);}const extractISOTimeOnly=combineExtractors(extractISOTime);function _0x3ca42d(_0xaddd1a){return _0x4eac59(_0xaddd1a,[_0x2a3471,extractISOTimeOnly]);}const sqlYmdWithTimeExtensionRegex=_0x4b19a8(_0x362057,sqlTimeExtensionRegex),_0x57cf29=_0x4b19a8(_0x549d4e),extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function _0x564f92(_0x44cd36){return _0x4eac59(_0x44cd36,[sqlYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[_0x57cf29,extractISOTimeOffsetAndIANAZone]);}const _0x5a996c='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 _0x301dcd(_0xb29473,_0x2cb934,_0x633cc=!0x1){const _0x3fff5e={'values':_0x633cc?_0x2cb934['values']:{..._0xb29473['values'],..._0x2cb934['values']||{}},'loc':_0xb29473['loc']['clone'](_0x2cb934['loc']),'conversionAccuracy':_0x2cb934['conversionAccuracy']||_0xb29473['conversionAccuracy'],'matrix':_0x2cb934['matrix']||_0xb29473['matrix']};return new Duration(_0x3fff5e);}function durationToMillis(_0x3bab7d,_0x5645b2){let _0x30597b=_0x5645b2['milliseconds']??0x0;for(const _0x152f96 of reverseUnits['slice'](0x1))_0x5645b2[_0x152f96]&&(_0x30597b+=_0x5645b2[_0x152f96]*_0x3bab7d[_0x152f96]['milliseconds']);return _0x30597b;}function _0x473ac8(_0x449c1d,_0x3097dc){const _0x554e86=durationToMillis(_0x449c1d,_0x3097dc)<0x0?-0x1:0x1;orderedUnits$1['reduceRight']((_0x1b330d,_0x2f3f00)=>{if(_0x2c6ba4(_0x3097dc[_0x2f3f00]))return _0x1b330d;if(_0x1b330d){const _0x21ee5e=_0x3097dc[_0x1b330d]*_0x554e86,_0x536391=_0x449c1d[_0x2f3f00][_0x1b330d],_0x55473a=Math['floor'](_0x21ee5e/_0x536391);_0x3097dc[_0x2f3f00]+=_0x55473a*_0x554e86,_0x3097dc[_0x1b330d]-=_0x55473a*_0x536391*_0x554e86;}return _0x2f3f00;},null),orderedUnits$1['reduce']((_0x441f96,_0xff5e7a)=>{if(_0x2c6ba4(_0x3097dc[_0xff5e7a]))return _0x441f96;if(_0x441f96){const _0x759b6=_0x3097dc[_0x441f96]%0x1;_0x3097dc[_0x441f96]-=_0x759b6,_0x3097dc[_0xff5e7a]+=_0x759b6*_0x449c1d[_0x441f96][_0xff5e7a];}return _0xff5e7a;},null);}function _0x1f43c2(_0x12bd4e){const _0x2dcf39={};for(const [_0x39ea48,_0x21c0b1]of Object['entries'](_0x12bd4e))0x0!==_0x21c0b1&&(_0x2dcf39[_0x39ea48]=_0x21c0b1);return _0x2dcf39;}class Duration{constructor(_0x132426){const _0x3215e2='longterm'===_0x132426['conversionAccuracy']||!0x1;let _0x3ce4fe=_0x3215e2?accurateMatrix:casualMatrix;_0x132426['matrix']&&(_0x3ce4fe=_0x132426['matrix']),this['values']=_0x132426['values'],this['loc']=_0x132426['loc']||_0xc94d08['create'](),this['conversionAccuracy']=_0x3215e2?'longterm':'casual',this['invalid']=_0x132426['invalid']||null,this['matrix']=_0x3ce4fe,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x54b1ac,_0x1dec01){return Duration['fromObject']({'milliseconds':_0x54b1ac},_0x1dec01);}static['fromObject'](_0x2e63b9,_0x254de9={}){if(null==_0x2e63b9||'object'!=typeof _0x2e63b9)throw new InvalidArgumentError('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x2e63b9?'null':typeof _0x2e63b9));return new Duration({'values':normalizeObject(_0x2e63b9,Duration['normalizeUnit']),'loc':_0xc94d08['fromObject'](_0x254de9),'conversionAccuracy':_0x254de9['conversionAccuracy'],'matrix':_0x254de9['matrix']});}static['fromDurationLike'](_0x5c5fff){if(_0x29100f(_0x5c5fff))return Duration['fromMillis'](_0x5c5fff);if(Duration['isDuration'](_0x5c5fff))return _0x5c5fff;if('object'==typeof _0x5c5fff)return Duration['fromObject'](_0x5c5fff);throw new InvalidArgumentError('Unknown\x20duration\x20argument\x20'+_0x5c5fff+'\x20of\x20type\x20'+typeof _0x5c5fff);}static['fromISO'](_0x2dfc66,_0x57c6b8){const [_0x50b372]=parseISODuration(_0x2dfc66);return _0x50b372?Duration['fromObject'](_0x50b372,_0x57c6b8):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x2dfc66+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0x42ce3d,_0x835f22){const [_0x1ad9c8]=_0x3ca42d(_0x42ce3d);return _0x1ad9c8?Duration['fromObject'](_0x1ad9c8,_0x835f22):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x42ce3d+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0x3f02bd,_0x107b95=null){if(!_0x3f02bd)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x54b605=_0x3f02bd instanceof _0x2e1125?_0x3f02bd:new _0x2e1125(_0x3f02bd,_0x107b95);if(Settings['throwOnInvalid'])throw new InvalidDurationError(_0x54b605);return new Duration({'invalid':_0x54b605});}static['normalizeUnit'](_0x49465f){const _0x2904ed={'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'}[_0x49465f?_0x49465f['toLowerCase']():_0x49465f];if(!_0x2904ed)throw new InvalidUnitError(_0x49465f);return _0x2904ed;}static['isDuration'](_0xfc5ec1){return _0xfc5ec1&&_0xfc5ec1['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0x606f8c,_0x4467b9={}){const _0x5884b8={..._0x4467b9,'floor':!0x1!==_0x4467b9['round']&&!0x1!==_0x4467b9['floor']};return this['isValid']?Formatter['create'](this['loc'],_0x5884b8)['formatDurationFromString'](this,_0x606f8c):_0x5a996c;}['toHuman'](_0x56c5f9={}){if(!this['isValid'])return _0x5a996c;const _0x1a633=orderedUnits$1['map'](_0x3914aa=>{const _0x153749=this['values'][_0x3914aa];return _0x2c6ba4(_0x153749)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x56c5f9,'unit':_0x3914aa['slice'](0x0,-0x1)})['format'](_0x153749);})['filter'](_0x4c92a2=>_0x4c92a2);return this['loc']['listFormatter']({'type':'conjunction','style':_0x56c5f9['listStyle']||'narrow',..._0x56c5f9})['format'](_0x1a633);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x379611='P';return 0x0!==this['years']&&(_0x379611+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x379611+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x379611+=this['weeks']+'W'),0x0!==this['days']&&(_0x379611+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x379611+='T'),0x0!==this['hours']&&(_0x379611+=this['hours']+'H'),0x0!==this['minutes']&&(_0x379611+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x379611+=_0x4cd035(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x379611&&(_0x379611+='T0S'),_0x379611;}['toISOTime'](_0x245b60={}){if(!this['isValid'])return null;const _0x346d03=this['toMillis']();if(_0x346d03<0x0||_0x346d03>=0x5265c00)return null;return _0x245b60={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x245b60,'includeOffset':!0x1},DateTime['fromMillis'](_0x346d03,{'zone':'UTC'})['toISOTime'](_0x245b60);}['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'](_0x5bc3cf){if(!this['isValid'])return this;const _0xdd8575=Duration['fromDurationLike'](_0x5bc3cf),_0x2e3670={};for(const _0x15516b of orderedUnits$1)(hasOwnProperty(_0xdd8575['values'],_0x15516b)||hasOwnProperty(this['values'],_0x15516b))&&(_0x2e3670[_0x15516b]=_0xdd8575['get'](_0x15516b)+this['get'](_0x15516b));return _0x301dcd(this,{'values':_0x2e3670},!0x0);}['minus'](_0x26ed61){if(!this['isValid'])return this;const _0x2e0c67=Duration['fromDurationLike'](_0x26ed61);return this['plus'](_0x2e0c67['negate']());}['mapUnits'](_0x564809){if(!this['isValid'])return this;const _0x9da40e={};for(const _0x2f8d2a of Object['keys'](this['values']))_0x9da40e[_0x2f8d2a]=_0x1e0153(_0x564809(this['values'][_0x2f8d2a],_0x2f8d2a));return _0x301dcd(this,{'values':_0x9da40e},!0x0);}['get'](_0x5aaa69){return this[Duration['normalizeUnit'](_0x5aaa69)];}['set'](_0x36fe49){if(!this['isValid'])return this;return _0x301dcd(this,{'values':{...this['values'],...normalizeObject(_0x36fe49,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x1d0e7b,numberingSystem:_0x1a527b,conversionAccuracy:_0x256787,matrix:_0x2abde5}={}){return _0x301dcd(this,{'loc':this['loc']['clone']({'locale':_0x1d0e7b,'numberingSystem':_0x1a527b}),'matrix':_0x2abde5,'conversionAccuracy':_0x256787});}['as'](_0x56ac7a){return this['isValid']?this['shiftTo'](_0x56ac7a)['get'](_0x56ac7a):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x1e5b26=this['toObject']();return _0x473ac8(this['matrix'],_0x1e5b26),_0x301dcd(this,{'values':_0x1e5b26},!0x0);}['rescale'](){if(!this['isValid'])return this;return _0x301dcd(this,{'values':_0x1f43c2(this['normalize']()['shiftToAll']()['toObject']())},!0x0);}['shiftTo'](..._0x24b8df){if(!this['isValid'])return this;if(0x0===_0x24b8df['length'])return this;_0x24b8df=_0x24b8df['map'](_0x55c6d0=>Duration['normalizeUnit'](_0x55c6d0));const _0x1fe9e5={},_0x34b83c={},_0x23b6e4=this['toObject']();let _0x593d7b;for(const _0x13ce3f of orderedUnits$1)if(_0x24b8df['indexOf'](_0x13ce3f)>=0x0){_0x593d7b=_0x13ce3f;let _0x3815d6=0x0;for(const _0x1d3e89 in _0x34b83c)_0x3815d6+=this['matrix'][_0x1d3e89][_0x13ce3f]*_0x34b83c[_0x1d3e89],_0x34b83c[_0x1d3e89]=0x0;_0x29100f(_0x23b6e4[_0x13ce3f])&&(_0x3815d6+=_0x23b6e4[_0x13ce3f]);const _0xf6c923=Math['trunc'](_0x3815d6);_0x1fe9e5[_0x13ce3f]=_0xf6c923,_0x34b83c[_0x13ce3f]=(0x3e8*_0x3815d6-0x3e8*_0xf6c923)/0x3e8;}else _0x29100f(_0x23b6e4[_0x13ce3f])&&(_0x34b83c[_0x13ce3f]=_0x23b6e4[_0x13ce3f]);for(const _0x26d76c in _0x34b83c)0x0!==_0x34b83c[_0x26d76c]&&(_0x1fe9e5[_0x593d7b]+=_0x26d76c===_0x593d7b?_0x34b83c[_0x26d76c]:_0x34b83c[_0x26d76c]/this['matrix'][_0x593d7b][_0x26d76c]);return _0x473ac8(this['matrix'],_0x1fe9e5),_0x301dcd(this,{'values':_0x1fe9e5},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x2dfb3c={};for(const _0x532c74 of Object['keys'](this['values']))_0x2dfb3c[_0x532c74]=0x0===this['values'][_0x532c74]?0x0:-this['values'][_0x532c74];return _0x301dcd(this,{'values':_0x2dfb3c},!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'](_0x29fb17){if(!this['isValid']||!_0x29fb17['isValid'])return!0x1;if(!this['loc']['equals'](_0x29fb17['loc']))return!0x1;function _0x196355(_0x30aa24,_0x222cd4){return void 0x0===_0x30aa24||0x0===_0x30aa24?void 0x0===_0x222cd4||0x0===_0x222cd4:_0x30aa24===_0x222cd4;}for(const _0x42a5bf of orderedUnits$1)if(!_0x196355(this['values'][_0x42a5bf],_0x29fb17['values'][_0x42a5bf]))return!0x1;return!0x0;}}const _0x441981='Invalid\x20Interval';function validateStartEnd(_0x47c3be,_0x1e7bae){return _0x47c3be&&_0x47c3be['isValid']?_0x1e7bae&&_0x1e7bae['isValid']?_0x1e7bae<_0x47c3be?Interval['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0x47c3be['toISO']()+'\x20and\x20end='+_0x1e7bae['toISO']()):null:Interval['invalid']('missing\x20or\x20invalid\x20end'):Interval['invalid']('missing\x20or\x20invalid\x20start');}class Interval{constructor(_0x1cef73){this['s']=_0x1cef73['start'],this['e']=_0x1cef73['end'],this['invalid']=_0x1cef73['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0x4da81e,_0x53cae0=null){if(!_0x4da81e)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x4a478f=_0x4da81e instanceof _0x2e1125?_0x4da81e:new _0x2e1125(_0x4da81e,_0x53cae0);if(Settings['throwOnInvalid'])throw new InvalidIntervalError(_0x4a478f);return new Interval({'invalid':_0x4a478f});}static['fromDateTimes'](_0x3d8164,_0x5933bd){const _0x5899de=friendlyDateTime(_0x3d8164),_0x3e7715=friendlyDateTime(_0x5933bd),_0x2af900=validateStartEnd(_0x5899de,_0x3e7715);return null==_0x2af900?new Interval({'start':_0x5899de,'end':_0x3e7715}):_0x2af900;}static['after'](_0x148a67,_0x143049){const _0xe39854=Duration['fromDurationLike'](_0x143049),_0x453fa5=friendlyDateTime(_0x148a67);return Interval['fromDateTimes'](_0x453fa5,_0x453fa5['plus'](_0xe39854));}static['before'](_0x1fba81,_0x233b9c){const _0x575c96=Duration['fromDurationLike'](_0x233b9c),_0xba8da8=friendlyDateTime(_0x1fba81);return Interval['fromDateTimes'](_0xba8da8['minus'](_0x575c96),_0xba8da8);}static['fromISO'](_0x595b8e,_0x11ad19){const [_0x1898f6,_0x1e7e1f]=(_0x595b8e||'')['split']('/',0x2);if(_0x1898f6&&_0x1e7e1f){let _0x236089,_0x30b587,_0x29f206,_0x48f079;try{_0x236089=DateTime['fromISO'](_0x1898f6,_0x11ad19),_0x30b587=_0x236089['isValid'];}catch(_0x18f6ed){_0x30b587=!0x1;}try{_0x29f206=DateTime['fromISO'](_0x1e7e1f,_0x11ad19),_0x48f079=_0x29f206['isValid'];}catch(_0x51a80b){_0x48f079=!0x1;}if(_0x30b587&&_0x48f079)return Interval['fromDateTimes'](_0x236089,_0x29f206);if(_0x30b587){const _0x3a47d0=Duration['fromISO'](_0x1e7e1f,_0x11ad19);if(_0x3a47d0['isValid'])return Interval['after'](_0x236089,_0x3a47d0);}else{if(_0x48f079){const _0xaa3327=Duration['fromISO'](_0x1898f6,_0x11ad19);if(_0xaa3327['isValid'])return Interval['before'](_0x29f206,_0xaa3327);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0x595b8e+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0xe049f1){return _0xe049f1&&_0xe049f1['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'](_0x5530ef='milliseconds'){return this['isValid']?this['toDuration'](_0x5530ef)['get'](_0x5530ef):NaN;}['count'](_0x483a8b='milliseconds',_0x52526b){if(!this['isValid'])return NaN;const _0x418e28=this['start']['startOf'](_0x483a8b,_0x52526b);let _0x50bc7f;return _0x50bc7f=_0x52526b?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x418e28['locale']}):this['end'],_0x50bc7f=_0x50bc7f['startOf'](_0x483a8b,_0x52526b),Math['floor'](_0x50bc7f['diff'](_0x418e28,_0x483a8b)['get'](_0x483a8b))+(_0x50bc7f['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0x290d9b){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0x290d9b));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0x1b4a75){return!!this['isValid']&&this['s']>_0x1b4a75;}['isBefore'](_0x3776b7){return!!this['isValid']&&this['e']<=_0x3776b7;}['contains'](_0x3bffb1){return!!this['isValid']&&(this['s']<=_0x3bffb1&&this['e']>_0x3bffb1);}['set']({start:_0x336ef5,end:_0x4c4953}={}){return this['isValid']?Interval['fromDateTimes'](_0x336ef5||this['s'],_0x4c4953||this['e']):this;}['splitAt'](..._0x5bebe9){if(!this['isValid'])return[];const _0x5e44fc=_0x5bebe9['map'](friendlyDateTime)['filter'](_0x5ef7d4=>this['contains'](_0x5ef7d4))['sort']((_0x2671de,_0x198e1a)=>_0x2671de['toMillis']()-_0x198e1a['toMillis']()),_0x48272f=[];let {s:_0x8a6230}=this,_0x4c8436=0x0;for(;_0x8a6230<this['e'];){const _0x1d0765=_0x5e44fc[_0x4c8436]||this['e'],_0x833266=+_0x1d0765>+this['e']?this['e']:_0x1d0765;_0x48272f['push'](Interval['fromDateTimes'](_0x8a6230,_0x833266)),_0x8a6230=_0x833266,_0x4c8436+=0x1;}return _0x48272f;}['splitBy'](_0x540857){const _0x4187eb=Duration['fromDurationLike'](_0x540857);if(!this['isValid']||!_0x4187eb['isValid']||0x0===_0x4187eb['as']('milliseconds'))return[];let _0x23ade6,{s:_0x51dff6}=this,_0x386884=0x1;const _0x5adb6b=[];for(;_0x51dff6<this['e'];){const _0x16cf45=this['start']['plus'](_0x4187eb['mapUnits'](_0x42a2a6=>_0x42a2a6*_0x386884));_0x23ade6=+_0x16cf45>+this['e']?this['e']:_0x16cf45,_0x5adb6b['push'](Interval['fromDateTimes'](_0x51dff6,_0x23ade6)),_0x51dff6=_0x23ade6,_0x386884+=0x1;}return _0x5adb6b;}['divideEqually'](_0x54a16c){return this['isValid']?this['splitBy'](this['length']()/_0x54a16c)['slice'](0x0,_0x54a16c):[];}['overlaps'](_0x14d414){return this['e']>_0x14d414['s']&&this['s']<_0x14d414['e'];}['abutsStart'](_0x589041){return!!this['isValid']&&+this['e']===+_0x589041['s'];}['abutsEnd'](_0x3192f9){return!!this['isValid']&&+_0x3192f9['e']===+this['s'];}['engulfs'](_0x1321df){return!!this['isValid']&&(this['s']<=_0x1321df['s']&&this['e']>=_0x1321df['e']);}['equals'](_0x3dff50){return!(!this['isValid']||!_0x3dff50['isValid'])&&(this['s']['equals'](_0x3dff50['s'])&&this['e']['equals'](_0x3dff50['e']));}['intersection'](_0x2c3597){if(!this['isValid'])return this;const _0xf0f797=this['s']>_0x2c3597['s']?this['s']:_0x2c3597['s'],_0x50ea54=this['e']<_0x2c3597['e']?this['e']:_0x2c3597['e'];return _0xf0f797>=_0x50ea54?null:Interval['fromDateTimes'](_0xf0f797,_0x50ea54);}['union'](_0x57c697){if(!this['isValid'])return this;const _0x418e30=this['s']<_0x57c697['s']?this['s']:_0x57c697['s'],_0x432347=this['e']>_0x57c697['e']?this['e']:_0x57c697['e'];return Interval['fromDateTimes'](_0x418e30,_0x432347);}static['merge'](_0x5ad52f){const [_0x488eae,_0x444580]=_0x5ad52f['sort']((_0x54ae9f,_0x980e53)=>_0x54ae9f['s']-_0x980e53['s'])['reduce'](([_0x5cdad9,_0x5b82b7],_0x42b651)=>_0x5b82b7?_0x5b82b7['overlaps'](_0x42b651)||_0x5b82b7['abutsStart'](_0x42b651)?[_0x5cdad9,_0x5b82b7['union'](_0x42b651)]:[_0x5cdad9['concat']([_0x5b82b7]),_0x42b651]:[_0x5cdad9,_0x42b651],[[],null]);return _0x444580&&_0x488eae['push'](_0x444580),_0x488eae;}static['xor'](_0x566e7c){let _0x148ef7=null,_0x2e74ae=0x0;const _0x50aefb=[],_0x5e57f1=_0x566e7c['map'](_0x5136a7=>[{'time':_0x5136a7['s'],'type':'s'},{'time':_0x5136a7['e'],'type':'e'}]),_0x40e630=Array['prototype']['concat'](..._0x5e57f1)['sort']((_0x161813,_0x337a84)=>_0x161813['time']-_0x337a84['time']);for(const _0x30a259 of _0x40e630)_0x2e74ae+='s'===_0x30a259['type']?0x1:-0x1,0x1===_0x2e74ae?_0x148ef7=_0x30a259['time']:(_0x148ef7&&+_0x148ef7!==+_0x30a259['time']&&_0x50aefb['push'](Interval['fromDateTimes'](_0x148ef7,_0x30a259['time'])),_0x148ef7=null);return Interval['merge'](_0x50aefb);}['difference'](..._0x4a1faa){return Interval['xor']([this]['concat'](_0x4a1faa))['map'](_0x7fb648=>this['intersection'](_0x7fb648))['filter'](_0x43a4ec=>_0x43a4ec&&!_0x43a4ec['isEmpty']());}['toString'](){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':_0x441981;}[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'](_0x51cac3=_0x20499b,_0x4d1bef={}){return this['isValid']?Formatter['create'](this['s']['loc']['clone'](_0x4d1bef),_0x51cac3)['formatInterval'](this):_0x441981;}['toISO'](_0x393ce5){return this['isValid']?this['s']['toISO'](_0x393ce5)+'/'+this['e']['toISO'](_0x393ce5):_0x441981;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():_0x441981;}['toISOTime'](_0x4242fa){return this['isValid']?this['s']['toISOTime'](_0x4242fa)+'/'+this['e']['toISOTime'](_0x4242fa):_0x441981;}['toFormat'](_0x1cf9f2,{separator:_0x575740='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0x1cf9f2)+_0x575740+this['e']['toFormat'](_0x1cf9f2):_0x441981;}['toDuration'](_0x295651,_0x26d19d){return this['isValid']?this['e']['diff'](this['s'],_0x295651,_0x26d19d):Duration['invalid'](this['invalidReason']);}['mapEndpoints'](_0x4196c4){return Interval['fromDateTimes'](_0x4196c4(this['s']),_0x4196c4(this['e']));}}class _0x35f16d{static['hasDST'](_0x3ed44b=Settings['defaultZone']){const _0x2532a9=DateTime['now']()['setZone'](_0x3ed44b)['set']({'month':0xc});return!_0x3ed44b['isUniversal']&&_0x2532a9['offset']!==_0x2532a9['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x37380d){return _0x580b37['isValidZone'](_0x37380d);}static['normalizeZone'](_0x220996){return _0xa90a02(_0x220996,Settings['defaultZone']);}static['getStartOfWeek']({locale:_0x2c1b76=null,locObj:_0x403fbf=null}={}){return(_0x403fbf||_0xc94d08['create'](_0x2c1b76))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0x4a7af3=null,locObj:_0x39bf72=null}={}){return(_0x39bf72||_0xc94d08['create'](_0x4a7af3))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0x455fcf=null,locObj:_0x1c8e33=null}={}){return(_0x1c8e33||_0xc94d08['create'](_0x455fcf))['getWeekendDays']()['slice']();}static['months'](_0x3b1f63='long',{locale:_0x52e1aa=null,numberingSystem:_0xad7f7b=null,locObj:_0x39f390=null,outputCalendar:_0x2435f5='gregory'}={}){return(_0x39f390||_0xc94d08['create'](_0x52e1aa,_0xad7f7b,_0x2435f5))['months'](_0x3b1f63);}static['monthsFormat'](_0x499b06='long',{locale:_0x22b0af=null,numberingSystem:_0x2748b7=null,locObj:_0x333d99=null,outputCalendar:_0x22c106='gregory'}={}){return(_0x333d99||_0xc94d08['create'](_0x22b0af,_0x2748b7,_0x22c106))['months'](_0x499b06,!0x0);}static['weekdays'](_0x7d7e00='long',{locale:_0x467e2f=null,numberingSystem:_0x39849f=null,locObj:_0x3e0f71=null}={}){return(_0x3e0f71||_0xc94d08['create'](_0x467e2f,_0x39849f,null))['weekdays'](_0x7d7e00);}static['weekdaysFormat'](_0x3daee5='long',{locale:_0x363452=null,numberingSystem:_0x17b80a=null,locObj:_0x4a52d9=null}={}){return(_0x4a52d9||_0xc94d08['create'](_0x363452,_0x17b80a,null))['weekdays'](_0x3daee5,!0x0);}static['meridiems']({locale:_0x37729d=null}={}){return _0xc94d08['create'](_0x37729d)['meridiems']();}static['eras'](_0xf672db='short',{locale:_0x2e8195=null}={}){return _0xc94d08['create'](_0x2e8195,null,'gregory')['eras'](_0xf672db);}static['features'](){return{'relative':hasRelative(),'localeWeek':_0x3c9700()};}}function _0x560d27(_0x4e7c3d,_0x54286a){const _0x2d861a=_0x277801=>_0x277801['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0x58c57c=_0x2d861a(_0x54286a)-_0x2d861a(_0x4e7c3d);return Math['floor'](Duration['fromMillis'](_0x58c57c)['as']('days'));}function _0x5d13c7(_0x1ad0d8,_0x46a3d7,_0x12a950){const _0x562928=[['years',(_0x126d56,_0x7b4ee)=>_0x7b4ee['year']-_0x126d56['year']],['quarters',(_0x368b57,_0x2697fc)=>_0x2697fc['quarter']-_0x368b57['quarter']+0x4*(_0x2697fc['year']-_0x368b57['year'])],['months',(_0x3055b6,_0x3f0678)=>_0x3f0678['month']-_0x3055b6['month']+0xc*(_0x3f0678['year']-_0x3055b6['year'])],['weeks',(_0x5aa50e,_0xad9ba0)=>{const _0x4935e4=_0x560d27(_0x5aa50e,_0xad9ba0);return(_0x4935e4-_0x4935e4%0x7)/0x7;}],['days',_0x560d27]],_0x134411={},_0x3b5453=_0x1ad0d8;let _0x1daff1,_0xd5fa27;for(const [_0x1317f4,_0x1d2b6b]of _0x562928)_0x12a950['indexOf'](_0x1317f4)>=0x0&&(_0x1daff1=_0x1317f4,_0x134411[_0x1317f4]=_0x1d2b6b(_0x1ad0d8,_0x46a3d7),_0xd5fa27=_0x3b5453['plus'](_0x134411),_0xd5fa27>_0x46a3d7?(_0x134411[_0x1317f4]--,(_0x1ad0d8=_0x3b5453['plus'](_0x134411))>_0x46a3d7&&(_0xd5fa27=_0x1ad0d8,_0x134411[_0x1317f4]--,_0x1ad0d8=_0x3b5453['plus'](_0x134411))):_0x1ad0d8=_0xd5fa27);return[_0x1ad0d8,_0x134411,_0xd5fa27,_0x1daff1];}function _0x2a13b0(_0x1b7aeb,_0xdec463,_0x59469a,_0x51b09b){let [_0x386632,_0xe94269,_0x263b09,_0x111a0f]=_0x5d13c7(_0x1b7aeb,_0xdec463,_0x59469a);const _0x1db4d0=_0xdec463-_0x386632,_0x4bc10c=_0x59469a['filter'](_0x377f29=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x377f29)>=0x0);0x0===_0x4bc10c['length']&&(_0x263b09<_0xdec463&&(_0x263b09=_0x386632['plus']({[_0x111a0f]:0x1})),_0x263b09!==_0x386632&&(_0xe94269[_0x111a0f]=(_0xe94269[_0x111a0f]||0x0)+_0x1db4d0/(_0x263b09-_0x386632)));const _0x18c63a=Duration['fromObject'](_0xe94269,_0x51b09b);return _0x4bc10c['length']>0x0?Duration['fromMillis'](_0x1db4d0,_0x51b09b)['shiftTo'](..._0x4bc10c)['plus'](_0x18c63a):_0x18c63a;}const _0x58dee3='missing\x20Intl.DateTimeFormat.formatToParts\x20support';function intUnit(_0x4d002a,_0x20b2aa=_0x46a585=>_0x46a585){return{'regex':_0x4d002a,'deser':([_0x56a818])=>_0x20b2aa(parseDigits(_0x56a818))};}const _0x570229=String['fromCharCode'](0xa0),_0x5ab07e='[\x20'+_0x570229+']',_0x21ce63=new RegExp(_0x5ab07e,'g');function fixListRegex(_0x16692c){return _0x16692c['replace'](/\./g,'\x5c.?')['replace'](_0x21ce63,_0x5ab07e);}function stripInsensitivities(_0x43b3ae){return _0x43b3ae['replace'](/\./g,'')['replace'](_0x21ce63,'\x20')['toLowerCase']();}function _0x22a5cb(_0x893b3f,_0x4e62f6){return null===_0x893b3f?null:{'regex':RegExp(_0x893b3f['map'](fixListRegex)['join']('|')),'deser':([_0x51947c])=>_0x893b3f['findIndex'](_0x5f186f=>stripInsensitivities(_0x51947c)===stripInsensitivities(_0x5f186f))+_0x4e62f6};}function offset(_0x3b3f84,_0xbc7a98){return{'regex':_0x3b3f84,'deser':([,_0x4e7cf6,_0x4a53c4])=>signedOffset(_0x4e7cf6,_0x4a53c4),'groups':_0xbc7a98};}function _0x1de67f(_0x5af5d2){return{'regex':_0x5af5d2,'deser':([_0x100c31])=>_0x100c31};}function _0x3a99aa(_0x48727c){return _0x48727c['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}function unitForToken(_0x12eb8f,_0x516341){const _0x5dc915=digitRegex(_0x516341),_0xd32b21=digitRegex(_0x516341,'{2}'),_0x4486ea=digitRegex(_0x516341,'{3}'),_0x58a8d6=digitRegex(_0x516341,'{4}'),_0x5a7e76=digitRegex(_0x516341,'{6}'),_0x320375=digitRegex(_0x516341,'{1,2}'),_0x5b502f=digitRegex(_0x516341,'{1,3}'),_0x40c6db=digitRegex(_0x516341,'{1,6}'),_0x536c98=digitRegex(_0x516341,'{1,9}'),_0x3bade3=digitRegex(_0x516341,'{2,4}'),_0x1c8847=digitRegex(_0x516341,'{4,6}'),_0x9f150a=t=>({'regex':RegExp(_0x3a99aa(t['val'])),'deser':([_0x394ac1])=>_0x394ac1,'literal':!0x0}),_0x2ca206=(t=>{if(_0x12eb8f['literal'])return _0x9f150a(t);switch(t['val']){case'G':return _0x22a5cb(_0x516341['eras']('short'),0x0);case'GG':return _0x22a5cb(_0x516341['eras']('long'),0x0);case'y':return intUnit(_0x40c6db);case'yy':case'kk':return intUnit(_0x3bade3,untruncateYear);case'yyyy':case'kkkk':return intUnit(_0x58a8d6);case'yyyyy':return intUnit(_0x1c8847);case'yyyyyy':return intUnit(_0x5a7e76);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return intUnit(_0x320375);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return intUnit(_0xd32b21);case'MMM':return _0x22a5cb(_0x516341['months']('short',!0x0),0x1);case'MMMM':return _0x22a5cb(_0x516341['months']('long',!0x0),0x1);case'LLL':return _0x22a5cb(_0x516341['months']('short',!0x1),0x1);case'LLLL':return _0x22a5cb(_0x516341['months']('long',!0x1),0x1);case'o':case'S':return intUnit(_0x5b502f);case'ooo':case'SSS':return intUnit(_0x4486ea);case'u':return _0x1de67f(_0x536c98);case'uu':return _0x1de67f(_0x320375);case'uuu':case'E':case'c':return intUnit(_0x5dc915);case'a':return _0x22a5cb(_0x516341['meridiems'](),0x0);case'EEE':return _0x22a5cb(_0x516341['weekdays']('short',!0x1),0x1);case'EEEE':return _0x22a5cb(_0x516341['weekdays']('long',!0x1),0x1);case'ccc':return _0x22a5cb(_0x516341['weekdays']('short',!0x0),0x1);case'cccc':return _0x22a5cb(_0x516341['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return offset(new RegExp('([+-]'+_0x320375['source']+')(?::('+_0xd32b21['source']+'))?'),0x2);case'ZZZ':return offset(new RegExp('([+-]'+_0x320375['source']+')('+_0xd32b21['source']+')?'),0x2);case'z':return _0x1de67f(/[a-z_+-/]{1,256}?/i);case'\x20':return _0x1de67f(/[^\S\n\r]/);default:return _0x9f150a(t);}})(_0x12eb8f)||{'invalidReason':_0x58dee3};return _0x2ca206['token']=_0x12eb8f,_0x2ca206;}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(_0x54d56b,_0x1d1fb2,_0xf5c24d){const {type:_0x2c7b3b,value:_0x53e219}=_0x54d56b;if('literal'===_0x2c7b3b){const _0x45a95f=/^\s+$/['test'](_0x53e219);return{'literal':!_0x45a95f,'val':_0x45a95f?'\x20':_0x53e219};}const _0x30e620=_0x1d1fb2[_0x2c7b3b];let _0x1e8d04=_0x2c7b3b;'hour'===_0x2c7b3b&&(_0x1e8d04=null!=_0x1d1fb2['hour12']?_0x1d1fb2['hour12']?'hour12':'hour24':null!=_0x1d1fb2['hourCycle']?'h11'===_0x1d1fb2['hourCycle']||'h12'===_0x1d1fb2['hourCycle']?'hour12':'hour24':_0xf5c24d['hour12']?'hour12':'hour24');let _0xbaaecc=partTypeStyleToTokenVal[_0x1e8d04];if('object'==typeof _0xbaaecc&&(_0xbaaecc=_0xbaaecc[_0x30e620]),_0xbaaecc)return{'literal':!0x1,'val':_0xbaaecc};}function _0x1dd7a5(_0xf78201){const _0xf1ed08=_0xf78201['map'](_0x26d46c=>_0x26d46c['regex'])['reduce']((_0x885cec,_0x459231)=>_0x885cec+'('+_0x459231['source']+')','');return['^'+_0xf1ed08+'$',_0xf78201];}function match(_0x54460d,_0x5f461b,_0x24cc09){const _0x48fcaf=_0x54460d['match'](_0x5f461b);if(_0x48fcaf){const _0x3aa922={};let _0x1fa37b=0x1;for(const _0x228693 in _0x24cc09)if(hasOwnProperty(_0x24cc09,_0x228693)){const _0x56d39f=_0x24cc09[_0x228693],_0x2febcf=_0x56d39f['groups']?_0x56d39f['groups']+0x1:0x1;!_0x56d39f['literal']&&_0x56d39f['token']&&(_0x3aa922[_0x56d39f['token']['val'][0x0]]=_0x56d39f['deser'](_0x48fcaf['slice'](_0x1fa37b,_0x1fa37b+_0x2febcf))),_0x1fa37b+=_0x2febcf;}return[_0x48fcaf,_0x3aa922];}return[_0x48fcaf,{}];}function dateTimeFromMatches(_0x5f1e20){let _0x367905,_0xe9a76e=null;_0x2c6ba4(_0x5f1e20['z'])||(_0xe9a76e=_0x580b37['create'](_0x5f1e20['z'])),_0x2c6ba4(_0x5f1e20['Z'])||(_0xe9a76e||(_0xe9a76e=new FixedOffsetZone(_0x5f1e20['Z'])),_0x367905=_0x5f1e20['Z']),_0x2c6ba4(_0x5f1e20['q'])||(_0x5f1e20['M']=0x3*(_0x5f1e20['q']-0x1)+0x1),_0x2c6ba4(_0x5f1e20['h'])||(_0x5f1e20['h']<0xc&&0x1===_0x5f1e20['a']?_0x5f1e20['h']+=0xc:0xc===_0x5f1e20['h']&&0x0===_0x5f1e20['a']&&(_0x5f1e20['h']=0x0)),0x0===_0x5f1e20['G']&&_0x5f1e20['y']&&(_0x5f1e20['y']=-_0x5f1e20['y']),_0x2c6ba4(_0x5f1e20['u'])||(_0x5f1e20['S']=_0x1c631c(_0x5f1e20['u']));const _0x4f3a2c=Object['keys'](_0x5f1e20)['reduce']((_0x3af8bc,_0x4fceda)=>{const _0x35e102=(_0x50f782=>{switch(_0x50f782){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;}})(_0x4fceda);return _0x35e102&&(_0x3af8bc[_0x35e102]=_0x5f1e20[_0x4fceda]),_0x3af8bc;},{});return[_0x4f3a2c,_0xe9a76e,_0x367905];}let dummyDateTimeCache=null;function getDummyDateTime(){return dummyDateTimeCache||(dummyDateTimeCache=DateTime['fromMillis'](0x16a2e5618e3)),dummyDateTimeCache;}function _0x15e707(_0x393c2d,_0x36a953){if(_0x393c2d['literal'])return _0x393c2d;const _0xc2552d=formatOptsToTokens(Formatter['macroTokenToFormatOpts'](_0x393c2d['val']),_0x36a953);return null==_0xc2552d||_0xc2552d['includes'](void 0x0)?_0x393c2d:_0xc2552d;}function _0x32fbe7(_0x4e1f78,_0x559f1a){return Array['prototype']['concat'](..._0x4e1f78['map'](t=>_0x15e707(t,_0x559f1a)));}class _0x2bcf42{constructor(_0x190e80,_0x1db36f){if(this['locale']=_0x190e80,this['format']=_0x1db36f,this['tokens']=_0x32fbe7(Formatter['parseFormat'](_0x1db36f),_0x190e80),this['units']=this['tokens']['map'](t=>unitForToken(t,_0x190e80)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x17ecfc,_0x3ea00d]=_0x1dd7a5(this['units']);this['regex']=RegExp(_0x17ecfc,'i'),this['handlers']=_0x3ea00d;}}['explainFromTokens'](_0x68f108){if(this['isValid']){const [_0x2d98c1,_0x1b4a99]=match(_0x68f108,this['regex'],this['handlers']),[_0x16f0fc,_0x568888,_0x4f9a18]=_0x1b4a99?dateTimeFromMatches(_0x1b4a99):[null,null,void 0x0];if(hasOwnProperty(_0x1b4a99,'a')&&hasOwnProperty(_0x1b4a99,'H'))throw new ConflictingSpecificationError('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x68f108,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x2d98c1,'matches':_0x1b4a99,'result':_0x16f0fc,'zone':_0x568888,'specificOffset':_0x4f9a18};}return{'input':_0x68f108,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}}function _0x1634af(_0x27ba9b,_0x2e612b,_0x3588e2){return new _0x2bcf42(_0x27ba9b,_0x3588e2)['explainFromTokens'](_0x2e612b);}function _0x4281f1(_0x2287c1,_0x5dd83,_0xe30719){const {result:_0x387ecb,zone:_0x4c338e,specificOffset:_0x12a6c5,invalidReason:_0x298819}=_0x1634af(_0x2287c1,_0x5dd83,_0xe30719);return[_0x387ecb,_0x4c338e,_0x12a6c5,_0x298819];}function formatOptsToTokens(_0xddb586,_0x2c85f5){if(!_0xddb586)return null;const _0x11f65=Formatter['create'](_0x2c85f5,_0xddb586)['dtFormatter'](getDummyDateTime()),_0x39e35c=_0x11f65['formatToParts'](),_0x55435c=_0x11f65['resolvedOptions']();return _0x39e35c['map'](_0x270336=>tokenForPart(_0x270336,_0xddb586,_0x55435c));}const _0x4a19e0='Invalid\x20DateTime',_0x2dbd20=0x1eb208c2dc0000;function unsupportedZone(_0xd7f339){return new _0x2e1125('unsupported\x20zone','the\x20zone\x20\x22'+_0xd7f339['name']+'\x22\x20is\x20not\x20supported');}function possiblyCachedWeekData(_0x2d6e0b){return null===_0x2d6e0b['weekData']&&(_0x2d6e0b['weekData']=_0x3ae607(_0x2d6e0b['c'])),_0x2d6e0b['weekData'];}function possiblyCachedLocalWeekData(_0x2c3a48){return null===_0x2c3a48['localWeekData']&&(_0x2c3a48['localWeekData']=_0x3ae607(_0x2c3a48['c'],_0x2c3a48['loc']['getMinDaysInFirstWeek'](),_0x2c3a48['loc']['getStartOfWeek']())),_0x2c3a48['localWeekData'];}function _0x4063a4(_0x4172fd,_0x2023b8){const _0x4399cb={'ts':_0x4172fd['ts'],'zone':_0x4172fd['zone'],'c':_0x4172fd['c'],'o':_0x4172fd['o'],'loc':_0x4172fd['loc'],'invalid':_0x4172fd['invalid']};return new DateTime({..._0x4399cb,..._0x2023b8,'old':_0x4399cb});}function fixOffset(_0x21799a,_0x514704,_0x1edef9){let _0x20ea37=_0x21799a-0x3c*_0x514704*0x3e8;const _0x13a0c4=_0x1edef9['offset'](_0x20ea37);if(_0x514704===_0x13a0c4)return[_0x20ea37,_0x514704];_0x20ea37-=0x3c*(_0x13a0c4-_0x514704)*0x3e8;const _0x6c7b89=_0x1edef9['offset'](_0x20ea37);return _0x13a0c4===_0x6c7b89?[_0x20ea37,_0x13a0c4]:[_0x21799a-0x3c*Math['min'](_0x13a0c4,_0x6c7b89)*0x3e8,Math['max'](_0x13a0c4,_0x6c7b89)];}function tsToObj(_0x33b72d,_0x1fbc79){const _0x503d4b=new Date(_0x33b72d+=0x3c*_0x1fbc79*0x3e8);return{'year':_0x503d4b['getUTCFullYear'](),'month':_0x503d4b['getUTCMonth']()+0x1,'day':_0x503d4b['getUTCDate'](),'hour':_0x503d4b['getUTCHours'](),'minute':_0x503d4b['getUTCMinutes'](),'second':_0x503d4b['getUTCSeconds'](),'millisecond':_0x503d4b['getUTCMilliseconds']()};}function _0x1f86eb(_0xafee50,_0x42a042,_0x4cf379){return fixOffset(_0x5e04c3(_0xafee50),_0x42a042,_0x4cf379);}function adjustTime(_0xfc35f8,_0x12f841){const _0x94e538=_0xfc35f8['o'],_0x364db8=_0xfc35f8['c']['year']+Math['trunc'](_0x12f841['years']),_0x2eb51f=_0xfc35f8['c']['month']+Math['trunc'](_0x12f841['months'])+0x3*Math['trunc'](_0x12f841['quarters']),_0x35cdf9={..._0xfc35f8['c'],'year':_0x364db8,'month':_0x2eb51f,'day':Math['min'](_0xfc35f8['c']['day'],daysInMonth(_0x364db8,_0x2eb51f))+Math['trunc'](_0x12f841['days'])+0x7*Math['trunc'](_0x12f841['weeks'])},_0x4bcf08=Duration['fromObject']({'years':_0x12f841['years']-Math['trunc'](_0x12f841['years']),'quarters':_0x12f841['quarters']-Math['trunc'](_0x12f841['quarters']),'months':_0x12f841['months']-Math['trunc'](_0x12f841['months']),'weeks':_0x12f841['weeks']-Math['trunc'](_0x12f841['weeks']),'days':_0x12f841['days']-Math['trunc'](_0x12f841['days']),'hours':_0x12f841['hours'],'minutes':_0x12f841['minutes'],'seconds':_0x12f841['seconds'],'milliseconds':_0x12f841['milliseconds']})['as']('milliseconds'),_0x3ecc3e=_0x5e04c3(_0x35cdf9);let [_0x576429,_0xd0549]=fixOffset(_0x3ecc3e,_0x94e538,_0xfc35f8['zone']);return 0x0!==_0x4bcf08&&(_0x576429+=_0x4bcf08,_0xd0549=_0xfc35f8['zone']['offset'](_0x576429)),{'ts':_0x576429,'o':_0xd0549};}function parseDataToDateTime(_0x454b11,_0x477fb2,_0x2a9a9e,_0x34c7f7,_0x4a47f0,_0x5306c9){const {setZone:_0x2a4f62,zone:_0x32ed0c}=_0x2a9a9e;if(_0x454b11&&0x0!==Object['keys'](_0x454b11)['length']||_0x477fb2){const _0x3d2603=_0x477fb2||_0x32ed0c,_0x452998=DateTime['fromObject'](_0x454b11,{..._0x2a9a9e,'zone':_0x3d2603,'specificOffset':_0x5306c9});return _0x2a4f62?_0x452998:_0x452998['setZone'](_0x32ed0c);}return DateTime['invalid'](new _0x2e1125('unparsable','the\x20input\x20\x22'+_0x4a47f0+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x34c7f7));}function toTechFormat(_0x37b8da,_0x491ab,_0x25d4c7=!0x0){return _0x37b8da['isValid']?Formatter['create'](_0xc94d08['create']('en-US'),{'allowZ':_0x25d4c7,'forceSimple':!0x0})['formatDateTimeFromString'](_0x37b8da,_0x491ab):null;}function toISODate(_0x191aff,_0xb5bd99){const _0x426350=_0x191aff['c']['year']>0x270f||_0x191aff['c']['year']<0x0;let _0x11f798='';return _0x426350&&_0x191aff['c']['year']>=0x0&&(_0x11f798+='+'),_0x11f798+=padStart(_0x191aff['c']['year'],_0x426350?0x6:0x4),_0xb5bd99?(_0x11f798+='-',_0x11f798+=padStart(_0x191aff['c']['month']),_0x11f798+='-',_0x11f798+=padStart(_0x191aff['c']['day'])):(_0x11f798+=padStart(_0x191aff['c']['month']),_0x11f798+=padStart(_0x191aff['c']['day'])),_0x11f798;}function toISOTime(_0x579bcd,_0x3ac4e9,_0x1160aa,_0x5ae6b9,_0x4e96a7,_0x10d9b1){let _0x1b2e9e=padStart(_0x579bcd['c']['hour']);return _0x3ac4e9?(_0x1b2e9e+=':',_0x1b2e9e+=padStart(_0x579bcd['c']['minute']),0x0===_0x579bcd['c']['millisecond']&&0x0===_0x579bcd['c']['second']&&_0x1160aa||(_0x1b2e9e+=':')):_0x1b2e9e+=padStart(_0x579bcd['c']['minute']),0x0===_0x579bcd['c']['millisecond']&&0x0===_0x579bcd['c']['second']&&_0x1160aa||(_0x1b2e9e+=padStart(_0x579bcd['c']['second']),0x0===_0x579bcd['c']['millisecond']&&_0x5ae6b9||(_0x1b2e9e+='.',_0x1b2e9e+=padStart(_0x579bcd['c']['millisecond'],0x3))),_0x4e96a7&&(_0x579bcd['isOffsetFixed']&&0x0===_0x579bcd['offset']&&!_0x10d9b1?_0x1b2e9e+='Z':_0x579bcd['o']<0x0?(_0x1b2e9e+='-',_0x1b2e9e+=padStart(Math['trunc'](-_0x579bcd['o']/0x3c)),_0x1b2e9e+=':',_0x1b2e9e+=padStart(Math['trunc'](-_0x579bcd['o']%0x3c))):(_0x1b2e9e+='+',_0x1b2e9e+=padStart(Math['trunc'](_0x579bcd['o']/0x3c)),_0x1b2e9e+=':',_0x1b2e9e+=padStart(Math['trunc'](_0x579bcd['o']%0x3c)))),_0x10d9b1&&(_0x1b2e9e+='['+_0x579bcd['zone']['ianaName']+']'),_0x1b2e9e;}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(_0x31fa61){const _0xcf8699={'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'}[_0x31fa61['toLowerCase']()];if(!_0xcf8699)throw new InvalidUnitError(_0x31fa61);return _0xcf8699;}function normalizeUnitWithLocalWeeks(_0x274b9b){switch(_0x274b9b['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return normalizeUnit(_0x274b9b);}}function guessOffsetForZone(_0x2d3558){if(void 0x0===zoneOffsetTs&&(zoneOffsetTs=Settings['now']()),'iana'!==_0x2d3558['type'])return _0x2d3558['offset'](zoneOffsetTs);const _0x1e7691=_0x2d3558['name'];let _0x59dc60=zoneOffsetGuessCache['get'](_0x1e7691);return void 0x0===_0x59dc60&&(_0x59dc60=_0x2d3558['offset'](zoneOffsetTs),zoneOffsetGuessCache['set'](_0x1e7691,_0x59dc60)),_0x59dc60;}function _0x1b78c8(_0x317841,_0x2f9e31){const _0x2ac5d3=_0xa90a02(_0x2f9e31['zone'],Settings['defaultZone']);if(!_0x2ac5d3['isValid'])return DateTime['invalid'](unsupportedZone(_0x2ac5d3));const _0x38d547=_0xc94d08['fromObject'](_0x2f9e31);let _0x1ae026,_0x1b3fdf;if(_0x2c6ba4(_0x317841['year']))_0x1ae026=Settings['now']();else{for(const _0x2d0e9e of orderedUnits)_0x2c6ba4(_0x317841[_0x2d0e9e])&&(_0x317841[_0x2d0e9e]=defaultUnitValues[_0x2d0e9e]);const _0x563bc8=hasInvalidGregorianData(_0x317841)||hasInvalidTimeData(_0x317841);if(_0x563bc8)return DateTime['invalid'](_0x563bc8);const _0x5a0909=guessOffsetForZone(_0x2ac5d3);[_0x1ae026,_0x1b3fdf]=_0x1f86eb(_0x317841,_0x5a0909,_0x2ac5d3);}return new DateTime({'ts':_0x1ae026,'zone':_0x2ac5d3,'loc':_0x38d547,'o':_0x1b3fdf});}function diffRelative(_0x51fc90,_0x40b306,_0x51f929){const _0x3902b0=!!_0x2c6ba4(_0x51f929['round'])||_0x51f929['round'],_0x42ab05=(_0x21d927,_0x42e3be)=>{return _0x21d927=_0x4cd035(_0x21d927,_0x3902b0||_0x51f929['calendary']?0x0:0x2,!0x0),_0x40b306['loc']['clone'](_0x51f929)['relFormatter'](_0x51f929)['format'](_0x21d927,_0x42e3be);},_0x13ff14=_0xe30bfc=>_0x51f929['calendary']?_0x40b306['hasSame'](_0x51fc90,_0xe30bfc)?0x0:_0x40b306['startOf'](_0xe30bfc)['diff'](_0x51fc90['startOf'](_0xe30bfc),_0xe30bfc)['get'](_0xe30bfc):_0x40b306['diff'](_0x51fc90,_0xe30bfc)['get'](_0xe30bfc);if(_0x51f929['unit'])return _0x42ab05(_0x13ff14(_0x51f929['unit']),_0x51f929['unit']);for(const _0x19335b of _0x51f929['units']){const _0x365804=_0x13ff14(_0x19335b);if(Math['abs'](_0x365804)>=0x1)return _0x42ab05(_0x365804,_0x19335b);}return _0x42ab05(_0x51fc90>_0x40b306?-0x0:0x0,_0x51f929['units'][_0x51f929['units']['length']-0x1]);}function lastOpts(_0x1eaff6){let _0x5daede,_0x14d177={};return _0x1eaff6['length']>0x0&&'object'==typeof _0x1eaff6[_0x1eaff6['length']-0x1]?(_0x14d177=_0x1eaff6[_0x1eaff6['length']-0x1],_0x5daede=Array['from'](_0x1eaff6)['slice'](0x0,_0x1eaff6['length']-0x1)):_0x5daede=Array['from'](_0x1eaff6),[_0x14d177,_0x5daede];}let zoneOffsetTs;const zoneOffsetGuessCache=new Map();class DateTime{constructor(_0x2a3419){const _0x3976d7=_0x2a3419['zone']||Settings['defaultZone'];let _0x4530c2=_0x2a3419['invalid']||(Number['isNaN'](_0x2a3419['ts'])?new _0x2e1125('invalid\x20input'):null)||(_0x3976d7['isValid']?null:unsupportedZone(_0x3976d7));this['ts']=_0x2c6ba4(_0x2a3419['ts'])?Settings['now']():_0x2a3419['ts'];let _0x518d8f=null,_0x2fb477=null;if(!_0x4530c2){if(_0x2a3419['old']&&_0x2a3419['old']['ts']===this['ts']&&_0x2a3419['old']['zone']['equals'](_0x3976d7))[_0x518d8f,_0x2fb477]=[_0x2a3419['old']['c'],_0x2a3419['old']['o']];else{const _0x708ac4=_0x29100f(_0x2a3419['o'])&&!_0x2a3419['old']?_0x2a3419['o']:_0x3976d7['offset'](this['ts']);_0x518d8f=tsToObj(this['ts'],_0x708ac4),_0x4530c2=Number['isNaN'](_0x518d8f['year'])?new _0x2e1125('invalid\x20input'):null,_0x518d8f=_0x4530c2?null:_0x518d8f,_0x2fb477=_0x4530c2?null:_0x708ac4;}}this['_zone']=_0x3976d7,this['loc']=_0x2a3419['loc']||_0xc94d08['create'](),this['invalid']=_0x4530c2,this['weekData']=null,this['localWeekData']=null,this['c']=_0x518d8f,this['o']=_0x2fb477,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0x4e6b94,_0x2b2d3e]=lastOpts(arguments),[_0x1f47f9,_0x152df0,_0x3212bb,_0x3f0b76,_0x1c5d51,_0x319fcb,_0x31a62c]=_0x2b2d3e;return _0x1b78c8({'year':_0x1f47f9,'month':_0x152df0,'day':_0x3212bb,'hour':_0x3f0b76,'minute':_0x1c5d51,'second':_0x319fcb,'millisecond':_0x31a62c},_0x4e6b94);}static['utc'](){const [_0xa1f5a5,_0x1733d2]=lastOpts(arguments),[_0x4b9349,_0x2d0696,_0x4e7b90,_0x203c09,_0x14f989,_0x49d90c,_0x3e8528]=_0x1733d2;return _0xa1f5a5['zone']=FixedOffsetZone['utcInstance'],_0x1b78c8({'year':_0x4b9349,'month':_0x2d0696,'day':_0x4e7b90,'hour':_0x203c09,'minute':_0x14f989,'second':_0x49d90c,'millisecond':_0x3e8528},_0xa1f5a5);}static['fromJSDate'](_0x2314f0,_0x26d0a3={}){const _0x1282cc=isDate(_0x2314f0)?_0x2314f0['valueOf']():NaN;if(Number['isNaN'](_0x1282cc))return DateTime['invalid']('invalid\x20input');const _0x39bab3=_0xa90a02(_0x26d0a3['zone'],Settings['defaultZone']);return _0x39bab3['isValid']?new DateTime({'ts':_0x1282cc,'zone':_0x39bab3,'loc':_0xc94d08['fromObject'](_0x26d0a3)}):DateTime['invalid'](unsupportedZone(_0x39bab3));}static['fromMillis'](_0x3546d2,_0x56c17f={}){if(_0x29100f(_0x3546d2))return _0x3546d2<-_0x2dbd20||_0x3546d2>_0x2dbd20?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0x3546d2,'zone':_0xa90a02(_0x56c17f['zone'],Settings['defaultZone']),'loc':_0xc94d08['fromObject'](_0x56c17f)});throw new InvalidArgumentError('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0x3546d2+'\x20with\x20value\x20'+_0x3546d2);}static['fromSeconds'](_0x52ddf3,_0x248e3d={}){if(_0x29100f(_0x52ddf3))return new DateTime({'ts':0x3e8*_0x52ddf3,'zone':_0xa90a02(_0x248e3d['zone'],Settings['defaultZone']),'loc':_0xc94d08['fromObject'](_0x248e3d)});throw new InvalidArgumentError('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x186598,_0x170f34={}){_0x186598=_0x186598||{};const _0x479dba=_0xa90a02(_0x170f34['zone'],Settings['defaultZone']);if(!_0x479dba['isValid'])return DateTime['invalid'](unsupportedZone(_0x479dba));const _0x53d600=_0xc94d08['fromObject'](_0x170f34),_0x33d489=normalizeObject(_0x186598,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:_0x1ded7f,startOfWeek:_0x565db9}=_0x2a627e(_0x33d489,_0x53d600),_0x25c9f2=Settings['now'](),_0x47196b=_0x2c6ba4(_0x170f34['specificOffset'])?_0x479dba['offset'](_0x25c9f2):_0x170f34['specificOffset'],_0x47e540=!_0x2c6ba4(_0x33d489['ordinal']),_0x45841d=!_0x2c6ba4(_0x33d489['year']),_0x523d89=!_0x2c6ba4(_0x33d489['month'])||!_0x2c6ba4(_0x33d489['day']),_0x24003a=_0x45841d||_0x523d89,_0x34f1d0=_0x33d489['weekYear']||_0x33d489['weekNumber'];if((_0x24003a||_0x47e540)&&_0x34f1d0)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x523d89&&_0x47e540)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x7b705d=_0x34f1d0||_0x33d489['weekday']&&!_0x24003a;let _0x777c4,_0x3448d2,_0x46f41f=tsToObj(_0x25c9f2,_0x47196b);_0x7b705d?(_0x777c4=orderedWeekUnits,_0x3448d2=defaultWeekUnitValues,_0x46f41f=_0x3ae607(_0x46f41f,_0x1ded7f,_0x565db9)):_0x47e540?(_0x777c4=orderedOrdinalUnits,_0x3448d2=defaultOrdinalUnitValues,_0x46f41f=_0x38423e(_0x46f41f)):(_0x777c4=orderedUnits,_0x3448d2=defaultUnitValues);let _0x3757ad=!0x1;for(const _0x5d946f of _0x777c4){_0x2c6ba4(_0x33d489[_0x5d946f])?_0x33d489[_0x5d946f]=_0x3757ad?_0x3448d2[_0x5d946f]:_0x46f41f[_0x5d946f]:_0x3757ad=!0x0;}const _0x52d24f=(_0x7b705d?hasInvalidWeekData(_0x33d489,_0x1ded7f,_0x565db9):_0x47e540?hasInvalidOrdinalData(_0x33d489):hasInvalidGregorianData(_0x33d489))||hasInvalidTimeData(_0x33d489);if(_0x52d24f)return DateTime['invalid'](_0x52d24f);const _0x474f6b=_0x7b705d?_0xabacee(_0x33d489,_0x1ded7f,_0x565db9):_0x47e540?_0x23d6ff(_0x33d489):_0x33d489,[_0x7ddb5e,_0x117e22]=_0x1f86eb(_0x474f6b,_0x47196b,_0x479dba),_0x2111c9=new DateTime({'ts':_0x7ddb5e,'zone':_0x479dba,'o':_0x117e22,'loc':_0x53d600});return _0x33d489['weekday']&&_0x24003a&&_0x186598['weekday']!==_0x2111c9['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x33d489['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x2111c9['toISO']()):_0x2111c9['isValid']?_0x2111c9:DateTime['invalid'](_0x2111c9['invalid']);}static['fromISO'](_0x465d3b,_0x41754a={}){const [_0x3ff7a1,_0x58b3db]=parseISODate(_0x465d3b);return parseDataToDateTime(_0x3ff7a1,_0x58b3db,_0x41754a,'ISO\x208601',_0x465d3b);}static['fromRFC2822'](_0x46e3ac,_0x31038f={}){const [_0x34d3a5,_0x3582a1]=parseRFC2822Date(_0x46e3ac);return parseDataToDateTime(_0x34d3a5,_0x3582a1,_0x31038f,'RFC\x202822',_0x46e3ac);}static['fromHTTP'](_0x22d03b,_0x38035b={}){const [_0x1474ac,_0x4e8664]=parseHTTPDate(_0x22d03b);return parseDataToDateTime(_0x1474ac,_0x4e8664,_0x38035b,'HTTP',_0x38035b);}static['fromFormat'](_0x32bb05,_0x2a8b00,_0x19681b={}){if(_0x2c6ba4(_0x32bb05)||_0x2c6ba4(_0x2a8b00))throw new InvalidArgumentError('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0x200535=null,numberingSystem:_0x2ff601=null}=_0x19681b,_0xfbc4c2=_0xc94d08['fromOpts']({'locale':_0x200535,'numberingSystem':_0x2ff601,'defaultToEN':!0x0}),[_0x46dacf,_0x1198d5,_0x5d2e5c,_0x397843]=_0x4281f1(_0xfbc4c2,_0x32bb05,_0x2a8b00);return _0x397843?DateTime['invalid'](_0x397843):parseDataToDateTime(_0x46dacf,_0x1198d5,_0x19681b,'format\x20'+_0x2a8b00,_0x32bb05,_0x5d2e5c);}static['fromString'](_0x295d18,_0x1e6c84,_0x4430ba={}){return DateTime['fromFormat'](_0x295d18,_0x1e6c84,_0x4430ba);}static['fromSQL'](_0x1e107d,_0x469ce2={}){const [_0xa1ccc2,_0x24383d]=_0x564f92(_0x1e107d);return parseDataToDateTime(_0xa1ccc2,_0x24383d,_0x469ce2,'SQL',_0x1e107d);}static['invalid'](_0x53cf8c,_0xa5e0eb=null){if(!_0x53cf8c)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0x433ce9=_0x53cf8c instanceof _0x2e1125?_0x53cf8c:new _0x2e1125(_0x53cf8c,_0xa5e0eb);if(Settings['throwOnInvalid'])throw new InvalidDateTimeError(_0x433ce9);return new DateTime({'invalid':_0x433ce9});}static['isDateTime'](_0x30c8ea){return _0x30c8ea&&_0x30c8ea['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0x39dc5a,_0x339ce0={}){const _0x15c921=formatOptsToTokens(_0x39dc5a,_0xc94d08['fromObject'](_0x339ce0));return _0x15c921?_0x15c921['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0x4a2975,_0x5f5214={}){return _0x32fbe7(Formatter['parseFormat'](_0x4a2975),_0xc94d08['fromObject'](_0x5f5214))['map'](t=>t['val'])['join']('');}static['resetCache'](){zoneOffsetTs=void 0x0,zoneOffsetGuessCache['clear']();}['get'](_0x4e42f6){return this[_0x4e42f6];}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']?_0x38423e(this['c'])['ordinal']:NaN;}get['monthShort'](){return this['isValid']?_0x35f16d['months']('short',{'locObj':this['loc']})[this['month']-0x1]:null;}get['monthLong'](){return this['isValid']?_0x35f16d['months']('long',{'locObj':this['loc']})[this['month']-0x1]:null;}get['weekdayShort'](){return this['isValid']?_0x35f16d['weekdays']('short',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['weekdayLong'](){return this['isValid']?_0x35f16d['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 _0x20f110=0x5265c00,_0x491267=0xea60,_0x1d4109=_0x5e04c3(this['c']),_0x16c6b2=this['zone']['offset'](_0x1d4109-_0x20f110),_0x43596b=this['zone']['offset'](_0x1d4109+_0x20f110),_0x323d15=this['zone']['offset'](_0x1d4109-_0x16c6b2*_0x491267),_0x8a6c8d=this['zone']['offset'](_0x1d4109-_0x43596b*_0x491267);if(_0x323d15===_0x8a6c8d)return[this];const _0x27e788=_0x1d4109-_0x323d15*_0x491267,_0x9eb654=_0x1d4109-_0x8a6c8d*_0x491267,_0x51678d=tsToObj(_0x27e788,_0x323d15),_0x2165a1=tsToObj(_0x9eb654,_0x8a6c8d);return _0x51678d['hour']===_0x2165a1['hour']&&_0x51678d['minute']===_0x2165a1['minute']&&_0x51678d['second']===_0x2165a1['second']&&_0x51678d['millisecond']===_0x2165a1['millisecond']?[_0x4063a4(this,{'ts':_0x27e788}),_0x4063a4(this,{'ts':_0x9eb654})]:[this];}get['isInLeapYear'](){return _0x496512(this['year']);}get['daysInMonth'](){return daysInMonth(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?_0x1338ef(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?_0x2c57cf(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?_0x2c57cf(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}['resolvedLocaleOptions'](_0x36d5ee={}){const {locale:_0x16dcc5,numberingSystem:_0x4141fa,calendar:_0x15c08e}=Formatter['create'](this['loc']['clone'](_0x36d5ee),_0x36d5ee)['resolvedOptions'](this);return{'locale':_0x16dcc5,'numberingSystem':_0x4141fa,'outputCalendar':_0x15c08e};}['toUTC'](_0xcd0d9a=0x0,_0x235e7e={}){return this['setZone'](FixedOffsetZone['instance'](_0xcd0d9a),_0x235e7e);}['toLocal'](){return this['setZone'](Settings['defaultZone']);}['setZone'](_0x338760,{keepLocalTime:_0x222def=!0x1,keepCalendarTime:_0x32468f=!0x1}={}){if((_0x338760=_0xa90a02(_0x338760,Settings['defaultZone']))['equals'](this['zone']))return this;if(_0x338760['isValid']){let _0x219787=this['ts'];if(_0x222def||_0x32468f){const _0x4d4fac=_0x338760['offset'](this['ts']),_0x3c1ab5=this['toObject']();[_0x219787]=_0x1f86eb(_0x3c1ab5,_0x4d4fac,_0x338760);}return _0x4063a4(this,{'ts':_0x219787,'zone':_0x338760});}return DateTime['invalid'](unsupportedZone(_0x338760));}['reconfigure']({locale:_0xa57043,numberingSystem:_0x5ee62e,outputCalendar:_0x4c21e1}={}){return _0x4063a4(this,{'loc':this['loc']['clone']({'locale':_0xa57043,'numberingSystem':_0x5ee62e,'outputCalendar':_0x4c21e1})});}['setLocale'](_0x2e05b1){return this['reconfigure']({'locale':_0x2e05b1});}['set'](_0x2faaff){if(!this['isValid'])return this;const _0x342cd3=normalizeObject(_0x2faaff,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:_0x321a68,startOfWeek:_0x2c0fc0}=_0x2a627e(_0x342cd3,this['loc']),_0x393d6a=!_0x2c6ba4(_0x342cd3['weekYear'])||!_0x2c6ba4(_0x342cd3['weekNumber'])||!_0x2c6ba4(_0x342cd3['weekday']),_0x5574d2=!_0x2c6ba4(_0x342cd3['ordinal']),_0x50b907=!_0x2c6ba4(_0x342cd3['year']),_0x5666f3=!_0x2c6ba4(_0x342cd3['month'])||!_0x2c6ba4(_0x342cd3['day']),_0x5f3f7b=_0x50b907||_0x5666f3,_0x40995c=_0x342cd3['weekYear']||_0x342cd3['weekNumber'];if((_0x5f3f7b||_0x5574d2)&&_0x40995c)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x5666f3&&_0x5574d2)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x40cba6;_0x393d6a?_0x40cba6=_0xabacee({..._0x3ae607(this['c'],_0x321a68,_0x2c0fc0),..._0x342cd3},_0x321a68,_0x2c0fc0):_0x2c6ba4(_0x342cd3['ordinal'])?(_0x40cba6={...this['toObject'](),..._0x342cd3},_0x2c6ba4(_0x342cd3['day'])&&(_0x40cba6['day']=Math['min'](daysInMonth(_0x40cba6['year'],_0x40cba6['month']),_0x40cba6['day']))):_0x40cba6=_0x23d6ff({..._0x38423e(this['c']),..._0x342cd3});const [_0x1889a8,_0x149029]=_0x1f86eb(_0x40cba6,this['o'],this['zone']);return _0x4063a4(this,{'ts':_0x1889a8,'o':_0x149029});}['plus'](_0x2ff2d0){if(!this['isValid'])return this;return _0x4063a4(this,adjustTime(this,Duration['fromDurationLike'](_0x2ff2d0)));}['minus'](_0x55aafc){if(!this['isValid'])return this;return _0x4063a4(this,adjustTime(this,Duration['fromDurationLike'](_0x55aafc)['negate']()));}['startOf'](_0x8489ff,{useLocaleWeeks:_0x1c8d2b=!0x1}={}){if(!this['isValid'])return this;const _0x4b6f70={},_0x56b52a=Duration['normalizeUnit'](_0x8489ff);switch(_0x56b52a){case'years':_0x4b6f70['month']=0x1;case'quarters':case'months':_0x4b6f70['day']=0x1;case'weeks':case'days':_0x4b6f70['hour']=0x0;case'hours':_0x4b6f70['minute']=0x0;case'minutes':_0x4b6f70['second']=0x0;case'seconds':_0x4b6f70['millisecond']=0x0;}if('weeks'===_0x56b52a){if(_0x1c8d2b){const _0x30d720=this['loc']['getStartOfWeek'](),{weekday:_0x38db6d}=this;_0x38db6d<_0x30d720&&(_0x4b6f70['weekNumber']=this['weekNumber']-0x1),_0x4b6f70['weekday']=_0x30d720;}else _0x4b6f70['weekday']=0x1;}if('quarters'===_0x56b52a){const _0x5e938c=Math['ceil'](this['month']/0x3);_0x4b6f70['month']=0x3*(_0x5e938c-0x1)+0x1;}return this['set'](_0x4b6f70);}['endOf'](_0x580acb,_0x2b5dfa){return this['isValid']?this['plus']({[_0x580acb]:0x1})['startOf'](_0x580acb,_0x2b5dfa)['minus'](0x1):this;}['toFormat'](_0x2dc786,_0x593432={}){return this['isValid']?Formatter['create'](this['loc']['redefaultToEN'](_0x593432))['formatDateTimeFromString'](this,_0x2dc786):_0x4a19e0;}['toLocaleString'](_0x59d782=_0x20499b,_0x32c69c={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x32c69c),_0x59d782)['formatDateTime'](this):_0x4a19e0;}['toLocaleParts'](_0x4907e2={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x4907e2),_0x4907e2)['formatDateTimeParts'](this):[];}['toISO']({format:_0x1e3ad0='extended',suppressSeconds:_0x589d06=!0x1,suppressMilliseconds:_0x5a7f33=!0x1,includeOffset:_0x2b6e1e=!0x0,extendedZone:_0x231c21=!0x1}={}){if(!this['isValid'])return null;const _0x3be8b8='extended'===_0x1e3ad0;let _0x234c19=toISODate(this,_0x3be8b8);return _0x234c19+='T',_0x234c19+=toISOTime(this,_0x3be8b8,_0x589d06,_0x5a7f33,_0x2b6e1e,_0x231c21),_0x234c19;}['toISODate']({format:_0x3070b1='extended'}={}){return this['isValid']?toISODate(this,'extended'===_0x3070b1):null;}['toISOWeekDate'](){return toTechFormat(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0x4f425d=!0x1,suppressSeconds:_0x1e9c24=!0x1,includeOffset:_0x17f734=!0x0,includePrefix:_0x3a1b11=!0x1,extendedZone:_0x185ec0=!0x1,format:_0x3822f3='extended'}={}){if(!this['isValid'])return null;return(_0x3a1b11?'T':'')+toISOTime(this,'extended'===_0x3822f3,_0x1e9c24,_0x4f425d,_0x17f734,_0x185ec0);}['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:_0x191a16=!0x0,includeZone:_0x63512b=!0x1,includeOffsetSpace:_0x9dd38=!0x0}={}){let _0x4f9630='HH:mm:ss.SSS';return(_0x63512b||_0x191a16)&&(_0x9dd38&&(_0x4f9630+='\x20'),_0x63512b?_0x4f9630+='z':_0x191a16&&(_0x4f9630+='ZZ')),toTechFormat(this,_0x4f9630,!0x0);}['toSQL'](_0x25748f={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x25748f):null;}['toString'](){return this['isValid']?this['toISO']():_0x4a19e0;}[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'](_0x572f24={}){if(!this['isValid'])return{};const _0x529bf4={...this['c']};return _0x572f24['includeConfig']&&(_0x529bf4['outputCalendar']=this['outputCalendar'],_0x529bf4['numberingSystem']=this['loc']['numberingSystem'],_0x529bf4['locale']=this['loc']['locale']),_0x529bf4;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0x19e766,_0x52eb5c='milliseconds',_0x387f6c={}){if(!this['isValid']||!_0x19e766['isValid'])return Duration['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x50b19f={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x387f6c},_0x110236=_0x1c790b(_0x52eb5c)['map'](Duration['normalizeUnit']),_0x4077bc=_0x19e766['valueOf']()>this['valueOf'](),_0xf8b27b=_0x2a13b0(_0x4077bc?this:_0x19e766,_0x4077bc?_0x19e766:this,_0x110236,_0x50b19f);return _0x4077bc?_0xf8b27b['negate']():_0xf8b27b;}['diffNow'](_0x38587f='milliseconds',_0x1631fb={}){return this['diff'](DateTime['now'](),_0x38587f,_0x1631fb);}['until'](_0x5c2c00){return this['isValid']?Interval['fromDateTimes'](this,_0x5c2c00):this;}['hasSame'](_0x4267f9,_0x588ca2,_0x3d4a9a){if(!this['isValid'])return!0x1;const _0x115af5=_0x4267f9['valueOf'](),_0xe6d53=this['setZone'](_0x4267f9['zone'],{'keepLocalTime':!0x0});return _0xe6d53['startOf'](_0x588ca2,_0x3d4a9a)<=_0x115af5&&_0x115af5<=_0xe6d53['endOf'](_0x588ca2,_0x3d4a9a);}['equals'](_0x2896d6){return this['isValid']&&_0x2896d6['isValid']&&this['valueOf']()===_0x2896d6['valueOf']()&&this['zone']['equals'](_0x2896d6['zone'])&&this['loc']['equals'](_0x2896d6['loc']);}['toRelative'](_0x3810f9={}){if(!this['isValid'])return null;const _0xe90413=_0x3810f9['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0x2f1b5b=_0x3810f9['padding']?this<_0xe90413?-_0x3810f9['padding']:_0x3810f9['padding']:0x0;let _0x21a679=['years','months','days','hours','minutes','seconds'],_0x4a0094=_0x3810f9['unit'];return Array['isArray'](_0x3810f9['unit'])&&(_0x21a679=_0x3810f9['unit'],_0x4a0094=void 0x0),diffRelative(_0xe90413,this['plus'](_0x2f1b5b),{..._0x3810f9,'numeric':'always','units':_0x21a679,'unit':_0x4a0094});}['toRelativeCalendar'](_0x196f5b={}){return this['isValid']?diffRelative(_0x196f5b['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0x196f5b,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x2588c8){if(!_0x2588c8['every'](DateTime['isDateTime']))throw new InvalidArgumentError('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return bestBy(_0x2588c8,_0x30b2e1=>_0x30b2e1['valueOf'](),Math['min']);}static['max'](..._0x2093d6){if(!_0x2093d6['every'](DateTime['isDateTime']))throw new InvalidArgumentError('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return bestBy(_0x2093d6,_0x1583d0=>_0x1583d0['valueOf'](),Math['max']);}static['fromFormatExplain'](_0x258fcb,_0x4f05d8,_0xa04d25={}){const {locale:_0x19209c=null,numberingSystem:_0x364073=null}=_0xa04d25;return _0x1634af(_0xc94d08['fromOpts']({'locale':_0x19209c,'numberingSystem':_0x364073,'defaultToEN':!0x0}),_0x258fcb,_0x4f05d8);}static['fromStringExplain'](_0x364cd7,_0x2d701d,_0x3c5269={}){return DateTime['fromFormatExplain'](_0x364cd7,_0x2d701d,_0x3c5269);}static['buildFormatParser'](_0x48c0f5,_0x186a6f={}){const {locale:_0x319ecf=null,numberingSystem:_0x1b6378=null}=_0x186a6f,_0x2edb6f=_0xc94d08['fromOpts']({'locale':_0x319ecf,'numberingSystem':_0x1b6378,'defaultToEN':!0x0});return new _0x2bcf42(_0x2edb6f,_0x48c0f5);}static['fromFormatParser'](_0x103a14,_0x3ebf38,_0x202343={}){if(_0x2c6ba4(_0x103a14)||_0x2c6ba4(_0x3ebf38))throw new InvalidArgumentError('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x181890=null,numberingSystem:_0x39f8c3=null}=_0x202343,_0x3696f9=_0xc94d08['fromOpts']({'locale':_0x181890,'numberingSystem':_0x39f8c3,'defaultToEN':!0x0});if(!_0x3696f9['equals'](_0x3ebf38['locale']))throw new InvalidArgumentError('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0x3696f9+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x3ebf38['locale']);const {result:_0x192424,zone:_0x15d368,specificOffset:_0x4627c7,invalidReason:_0x1b2662}=_0x3ebf38['explainFromTokens'](_0x103a14);return _0x1b2662?DateTime['invalid'](_0x1b2662):parseDataToDateTime(_0x192424,_0x15d368,_0x202343,'format\x20'+_0x3ebf38['format'],_0x103a14,_0x4627c7);}static get['DATE_SHORT'](){return _0x20499b;}static get['DATE_MED'](){return _0x7026e3;}static get['DATE_MED_WITH_WEEKDAY'](){return _0x4404cb;}static get['DATE_FULL'](){return _0x160437;}static get['DATE_HUGE'](){return _0x1c4048;}static get['TIME_SIMPLE'](){return _0x581484;}static get['TIME_WITH_SECONDS'](){return _0x4868a8;}static get['TIME_WITH_SHORT_OFFSET'](){return _0x2efb1e;}static get['TIME_WITH_LONG_OFFSET'](){return _0x2d476c;}static get['TIME_24_SIMPLE'](){return _0x59ab98;}static get['TIME_24_WITH_SECONDS'](){return _0x47c230;}static get['TIME_24_WITH_SHORT_OFFSET'](){return _0x447215;}static get['TIME_24_WITH_LONG_OFFSET'](){return _0x5bd3fc;}static get['DATETIME_SHORT'](){return _0x2300de;}static get['DATETIME_SHORT_WITH_SECONDS'](){return _0x187261;}static get['DATETIME_MED'](){return _0x766244;}static get['DATETIME_MED_WITH_SECONDS'](){return _0x29f870;}static get['DATETIME_MED_WITH_WEEKDAY'](){return _0x5129f9;}static get['DATETIME_FULL'](){return _0x151f5b;}static get['DATETIME_FULL_WITH_SECONDS'](){return _0x3ad6aa;}static get['DATETIME_HUGE'](){return _0x50ed19;}static get['DATETIME_HUGE_WITH_SECONDS'](){return _0x6c379d;}}function friendlyDateTime(_0x221d84){if(DateTime['isDateTime'](_0x221d84))return _0x221d84;if(_0x221d84&&_0x221d84['valueOf']&&_0x29100f(_0x221d84['valueOf']()))return DateTime['fromJSDate'](_0x221d84);if(_0x221d84&&'object'==typeof _0x221d84)return DateTime['fromObject'](_0x221d84);throw new InvalidArgumentError('Unknown\x20datetime\x20argument:\x20'+_0x221d84+',\x20of\x20type\x20'+typeof _0x221d84);}function getDateTimeFormatter(_0x36dc6a={},_0x2fec76){if(void 0x0!==_0x36dc6a['dateTimeFormat']&&'function'!=typeof _0x36dc6a['dateTimeFormat'])throw new ckeditor5['CKEditorError']('invalid-date-time-format');return _0x5b7938=>{const _0x2e4224='string'==typeof _0x5b7938?DateTime['fromISO'](_0x5b7938):DateTime['fromJSDate'](_0x5b7938),_0x417b85=DateTime['now'](),_0x2549ef=Math['floor'](_0x417b85['diff'](_0x2e4224,'days')['days']);return _0x36dc6a['dateTimeFormat']?_0x36dc6a['dateTimeFormat'](_0x2e4224['toJSDate'](),_0x2fec76&&_0x2fec76['t']?_0x2fec76['t']:void 0x0):0x0===_0x2549ef?_0x2fec76?getTranslation$h(_0x2fec76,'Today')+'\x20'+_0x2e4224['toFormat']('hh:mma'):_0x2e4224['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x2549ef?_0x2fec76?getTranslation$h(_0x2fec76,'Yesterday')+'\x20'+_0x2e4224['toFormat']('hh:mma'):_0x2e4224['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x2549ef<0x7?_0x2fec76?getTranslation$h(_0x2fec76,'Last')+'\x20'+getTranslation$h(_0x2fec76,_0x2e4224['toFormat']('EEEE'))+'\x20'+_0x2e4224['toFormat']('hh:mma'):_0x2e4224['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x2e4224['toFormat']('LL-dd-yyyy\x20hh:mma');};}function getMarkerDomElement(_0x32704d,_0x65611b){const _0x41a24a=_0x32704d['mapper']['markerNameToElements'](_0x65611b['name']);if(!_0x41a24a)return null;const _0x1fe657=ckeditor5['first'](_0x41a24a['values']());return _0x32704d['view']['domConverter']['mapViewToDom'](_0x1fe657)||null;}function getAllMarkersDomElementsSorted(_0x49a781,_0x232875){if(0x0===_0x232875['length'])return null;const _0x2fb127=[],_0x4da8cd=_0x49a781['view']['domConverter'];for(const _0x3b5aa5 of _0x232875){const _0x58f02a=_0x49a781['mapper']['markerNameToElements'](_0x3b5aa5['name']);if(!_0x58f02a)continue;const _0x24996a=Array['from'](_0x58f02a)['map'](_0x4783c6=>_0x4da8cd['mapViewToDom'](_0x4783c6))['filter'](_0x55dbf5=>!!_0x55dbf5);_0x2fb127['push'](..._0x24996a);}if(0x0===_0x2fb127['length'])return null;const _0x2583a9=[];for(const _0x483b5d of _0x2fb127){const _0x24b324=_0x483b5d['getClientRects']()['item'](0x0);_0x24b324&&_0x2583a9['push']({'x':_0x24b324['x'],'y':_0x24b324['y'],'domElement':_0x483b5d});}return 0x0===_0x2583a9['length']?null:(_0x2583a9['sort']((_0xe6607,_0x1fdd71)=>_0xe6607['y']-_0x1fdd71['y']||_0xe6607['x']-_0x1fdd71['x']),_0x2583a9['map'](_0x1cbabd=>_0x1cbabd['domElement']));}function trimHtml(_0x5756aa,{limit:_0x390d53,suffix:_0x41f89a='...'}){const _0x9b099d=[];let _0x1425bc=0x0;const _0x5e9803=_0x5756aa['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x1ca3c7=0x0;_0x1ca3c7<_0x5e9803['length'];_0x1ca3c7++){let _0x43b219=_0x5e9803[_0x1ca3c7];const _0x50c986=splitCharactersToArray(_0x43b219);if(_0x43b219['startsWith']('<')){if(_0x1425bc>=_0x390d53){const _0x245b9c=_0x43b219['match'](/[a-zA-Z]+/);if(!_0x245b9c){_0x5e9803[_0x1ca3c7]='';continue;}const _0x428f41=_0x245b9c[0x0];_0x43b219['startsWith']('</')?(_0x9b099d['length']&&(_0x43b219=''),_0x9b099d['pop']()):(_0x9b099d['push'](_0x428f41),_0x43b219='');}}else{if(_0x1425bc>=_0x390d53)_0x43b219='';else{if(_0x1425bc+_0x50c986['length']>=_0x390d53){let _0xb760e2=_0x390d53-_0x1425bc;if('\x20'===_0x50c986[_0xb760e2-0x1])_0xb760e2--;else{const _0x841339=_0x50c986['slice'](_0xb760e2)['indexOf']('\x20');-0x1!==_0x841339?_0xb760e2+=_0x841339:_0xb760e2=_0x43b219['length'];}_0x43b219=_0x50c986['slice'](0x0,_0xb760e2)['join']('')+_0x41f89a,_0x1425bc=_0x390d53;}else _0x1425bc+=_0x50c986['length'];}}_0x5e9803[_0x1ca3c7]=_0x43b219;}return _0x5e9803['join']('\x0a')['replace'](/\n/g,'');}function splitCharactersToArray(_0x758d76){const _0x1cbf0f=[];for(let _0xc584f6=0x0;_0xc584f6<_0x758d76['length'];_0xc584f6++){const _0x1a64d6=_0x758d76['substring'](_0xc584f6)['match'](/^&[a-z0-9#]+;/);if(_0x1a64d6){const _0x43eec5=_0x1a64d6[0x0];_0x1cbf0f['push'](_0x43eec5),_0xc584f6+=_0x43eec5['length']-0x1;}else _0x1cbf0f['push'](_0x758d76[_0xc584f6]);}return _0x1cbf0f;}class _0x2534a0 extends ckeditor5['View']{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x2e0aad){super(_0x2e0aad);const _0x2e5ba2=this['bindTemplate'];this['set']('message',getTranslation$h(_0x2e0aad,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x2e0aad,getTranslation$h(_0x2e0aad,'Yes'),ckeditor5['IconCheck'],'submit'),this['cancelView']=this['_createButtonView'](_0x2e0aad,getTranslation$h(_0x2e0aad,'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':_0x2e5ba2['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'](_0x3969af,_0x336443,_0x1bdf08,_0x10cfe0){const _0x299afd=new ckeditor5['ButtonView'](_0x3969af);return _0x299afd['label']=_0x336443,_0x299afd['icon']=_0x1bdf08,_0x299afd['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x10cfe0}}),_0x299afd['on']('execute',()=>this['fire'](_0x10cfe0)),_0x299afd;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x20f3da=>{this['keystrokes']['listenTo'](_0x20f3da['element']),this['focusTracker']['add'](_0x20f3da['element']);}),this['keystrokes']['set']('esc',(_0x52a4bd,_0x1afe51)=>{this['fire']('cancel'),_0x1afe51();});}}function _0x46dab4(_0x307d6b){return class extends _0x307d6b{['showConfirm'](_0x144924,_0x2ab3f6){return this['confirmView']=new _0x2534a0(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x144924,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x2ab3f6['appendChild'](this['confirmView']['element']),_0x2ab3f6['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x2a1ccc,_0x2758bb,_0x51141f)=>{_0x51141f||_0x2ab3f6['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x596a55=>this['confirmView']['on']('submit',_0x596a55));}['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(_0x5f40ae){let _0xf6867a=0x0,_0xc7bb87=0x0;for(const _0x3200a0 of objectToNumberGenerator(_0x5f40ae))_0xf6867a=(_0xf6867a<<0x5)-_0xf6867a+_0x3200a0,_0xf6867a&=_0xf6867a,[_0xf6867a,_0xc7bb87]=[_0xc7bb87,_0xf6867a];return toString$1(_0xf6867a)+toString$1(_0xc7bb87);}function*toNumberGenerator(_0x20e99a){null==_0x20e99a||null==_0x20e99a?yield 0x12b9b0a1:0x0===_0x20e99a||!0x1===_0x20e99a?yield 0x0:0x1===_0x20e99a||0x1==_0x20e99a?yield 0x1:Array['isArray'](_0x20e99a)?yield*arrayToNumberGenerator(_0x20e99a):'object'==typeof _0x20e99a?yield*objectToNumberGenerator(_0x20e99a):'string'==typeof _0x20e99a?yield*stringToNumberGenerator(_0x20e99a):'number'==typeof _0x20e99a&&(yield _0x20e99a);}function*objectToNumberGenerator(_0x1155e3){if(yield _0x1631a3('{'),_0x1155e3){const _0x1b0798=Object['keys'](_0x1155e3)['sort']();for(const _0x3bcc8f of _0x1b0798){yield*stringToNumberGenerator(_0x3bcc8f),yield _0x1631a3(':');const _0x23aac2=_0x1155e3[_0x3bcc8f];yield*toNumberGenerator(_0x23aac2);}}yield _0x1631a3('}');}function*arrayToNumberGenerator(_0x20a9f3){for(const _0xe9e67c of _0x20a9f3)yield*toNumberGenerator(_0xe9e67c);}function*stringToNumberGenerator(_0x22663c){yield _0x1631a3('\x22');for(const _0x3d8dd4 of _0x22663c)yield _0x1631a3(_0x3d8dd4);yield _0x1631a3('\x22');}function _0x1631a3(_0x1e3c1b){return _0x1e3c1b['charCodeAt'](0x0);}function toString$1(_0x1723dd){return(_0x1723dd*=Math['sign'](_0x1723dd))['toString'](0x24);}const blackListedConfigOptions=['initialData','context','toolbar','rootsAttributes'],blackListedPlugins$2=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function skipRtcPlugins(_0x2884d4,_0x4e6e2c,_0x36b87d,_0x483eaa=[]){const _0x4eb576='string'==typeof _0x2884d4?_0x36b87d['get'](_0x2884d4)['constructor']:_0x2884d4['prototype']['constructor'];if(_0x4e6e2c['has'](_0x4eb576))return _0x4e6e2c['get'](_0x4eb576);_0x4e6e2c['set'](_0x4eb576,!0x0);const _0x31c043=[...blackListedPlugins$2,..._0x483eaa]['map'](_0x17fb2c=>{if(_0x36b87d['has'](_0x17fb2c))return _0x36b87d['get'](_0x17fb2c)['constructor'];})['filter'](_0xf9cf50=>_0xf9cf50);if(_0x4eb576&&_0x31c043['includes'](_0x4eb576))return _0x4e6e2c['set'](_0x4eb576,!0x1),!0x1;if(!_0x4eb576['requires'])return _0x4e6e2c['set'](_0x4eb576,!0x0),!0x0;const _0x1c158a=_0x4eb576['requires']['every'](_0x14d6a2=>skipRtcPlugins(_0x14d6a2,_0x4e6e2c,_0x36b87d,_0x483eaa));return _0x4e6e2c['set'](_0x4eb576,_0x1c158a),_0x1c158a;}function sanitizeEditorConfig(_0x258bc6,_0x33772e){const _0x30c400={};for(const _0x18328f of _0x258bc6['config']['names']())blackListedConfigOptions['includes'](_0x18328f)||(_0x30c400[_0x18328f]=_0x258bc6['config']['get'](_0x18328f));const _0x3a72df=_0x30c400['plugins']||[],_0x2079ea=_0x258bc6['constructor']['builtinPlugins']||[],_0x2b50f1=_0x3a72df['length']?_0x3a72df:_0x2079ea,_0xd05ebf=_0x30c400['extraPlugins']||[];delete _0x30c400['extraPlugins'];const _0x5b3837=_0x30c400['removePlugins']||[];delete _0x30c400['removePlugins'];const _0x47ead7=_0x258bc6['_context']['config']['get']('plugins')||[],_0x3a5871=_0x2b50f1['concat'](_0xd05ebf)['concat'](_0x47ead7)['map'](_0x2767e7=>'string'==typeof _0x2767e7?_0x2079ea['find'](_0x56017f=>_0x56017f['pluginName']==_0x2767e7):_0x2767e7)['filter'](_0x1837e2=>!_0x5b3837['includes'](_0x1837e2)&&!_0x5b3837['includes'](_0x1837e2['pluginName'])),_0x2b1c99=Array['from'](new Set(_0x3a5871)),_0x1233f1=new Map();return _0x30c400['plugins']=_0x2b1c99['filter'](_0x4b5608=>skipRtcPlugins(_0x4b5608,_0x1233f1,_0x258bc6['plugins'],_0x33772e)),_0x30c400;}function surroundingMarkersDetector(_0x137ed7,_0x1d681f){const _0xfdc640=[];_0x137ed7['document']['selection']['on']('change:range',()=>{const _0x7b3e11=getSurroundingMarkers(_0x137ed7,_0x137ed7['document']['selection']['focus']),_0x4fa073=[],_0x312f98=[],_0x24c60f=[];for(const _0x2fdb95 of _0xfdc640)_0x7b3e11['includes'](_0x2fdb95)||_0x4fa073['push'](_0x2fdb95);for(const _0x4f7402 of _0x7b3e11)_0xfdc640['includes'](_0x4f7402)||_0x312f98['push'](_0x4f7402),_0x24c60f['push'](_0x4f7402);(_0x4fa073['length']||_0x312f98['length'])&&_0x1d681f({'left':_0x4fa073,'entered':_0x312f98}),_0xfdc640['length']=0x0,_0xfdc640['push'](..._0x24c60f);});}function getSurroundingMarkers(_0xc7c12b,_0x50d6b2){const _0x19d6c7=[];for(const _0x2853f6 of _0xc7c12b['markers']){const _0x4ad2e8=_0x2853f6['getRange']();(_0x4ad2e8['containsPosition'](_0x50d6b2)||_0x4ad2e8['start']['isEqual'](_0x50d6b2)||_0x4ad2e8['end']['isEqual'](_0x50d6b2))&&_0x19d6c7['push'](_0x2853f6);}return _0x19d6c7;}const _0x510d32='Ctrl+Shift+E';function setupThreadKeyboardNavigation(_0x4e4fde,_0x27ad2c){const _0x31ff02=_0x4e4fde['element'];_0x4e4fde['keystrokes']['listenTo'](_0x31ff02);for(const _0x28fe0a of _0x27ad2c)addViewToFocusCyclerNavigation(_0x4e4fde,_0x28fe0a);_0x27ad2c['on']('change',(_0x1f6c4c,_0x201903)=>{for(const _0x21001c of _0x201903['removed'])removeViewFromFocusCyclerNavigation(_0x4e4fde,_0x21001c);for(const _0x428a69 of Array['from'](_0x201903['added'])['reverse']())addViewToFocusCyclerNavigation(_0x4e4fde,_0x428a69);}),_0x4e4fde['keystrokes']['set']('enter',(_0x5a86ac,_0x6dbad9)=>{_0x31ff02===_0x5a86ac['target']&&(_0x4e4fde['focusCycler']['focusFirst'](),_0x6dbad9());},{'filter':_0x148e47=>_0x148e47['target']===_0x31ff02}),_0x4e4fde['keystrokes']['set']('esc',(_0x219862,_0x142d54)=>{_0x31ff02!==_0x219862['target']?_0x4e4fde['focus']():_0x4e4fde['fire']('escape'),_0x142d54();}),_0x4e4fde['keystrokes']['set']('arrowdown',(_0xf7ac96,_0x56d724)=>{_0x31ff02===_0xf7ac96['target']&&(_0x4e4fde['fire']('arrowdown'),_0x56d724());}),_0x4e4fde['keystrokes']['set']('arrowup',(_0x110239,_0x6ade55)=>{_0x31ff02===_0x110239['target']&&(_0x4e4fde['fire']('arrowup'),_0x6ade55());});}function addViewToFocusCyclerNavigation(_0x4825d6,_0x43bf90){_0x43bf90['isRendered']&&(_0x4825d6['focusTracker']['add'](_0x43bf90['element']),_0x4825d6['keystrokes']['listenTo'](_0x43bf90['element']),ckeditor5['isViewWithFocusCycler'](_0x43bf90)&&areFocusCyclerActionsCompatible(_0x4825d6['focusCycler'],_0x43bf90['focusCycler'])&&_0x4825d6['focusCycler']['chain'](_0x43bf90['focusCycler']));}function removeViewFromFocusCyclerNavigation(_0x726d23,_0x1d85bf){_0x726d23['focusTracker']['remove'](_0x1d85bf['element']),_0x726d23['keystrokes']['stopListening'](_0x1d85bf['element']),ckeditor5['isViewWithFocusCycler'](_0x1d85bf)&&_0x726d23['focusCycler']['unchain'](_0x1d85bf['focusCycler']);}function areFocusCyclerActionsCompatible(_0x53c597,_0x4f87af){const _0x553efd=_0x53c597['actions'],_0xc0e116=_0x4f87af['actions'];for(const _0x291366 of Object['keys'](_0x553efd))if(_0x291366 in _0xc0e116&&_0x553efd[_0x291366]!==_0xc0e116[_0x291366])return!0x1;return!0x0;}class _0xbddd2c{['diff'](_0x25bd5b,_0x796739,_0x5e63b5={}){let _0x43a874;'function'==typeof _0x5e63b5?(_0x43a874=_0x5e63b5,_0x5e63b5={}):'callback'in _0x5e63b5&&(_0x43a874=_0x5e63b5['callback']);const _0x57c7da=this['castInput'](_0x25bd5b,_0x5e63b5),_0x405eaa=this['castInput'](_0x796739,_0x5e63b5),_0x7eef20=this['removeEmpty'](this['tokenize'](_0x57c7da,_0x5e63b5)),_0x1970c7=this['removeEmpty'](this['tokenize'](_0x405eaa,_0x5e63b5));return this['diffWithOptionsObj'](_0x7eef20,_0x1970c7,_0x5e63b5,_0x43a874);}['diffWithOptionsObj'](_0x361682,_0x21f0eb,_0x49b437,_0x45e8e1){var _0xbbdf95;const _0x22e43e=_0x199be0=>(_0x199be0=this['postProcess'](_0x199be0,_0x49b437),_0x45e8e1?void setTimeout(function(){_0x45e8e1(_0x199be0);},0x0):_0x199be0),_0x5353ba=_0x21f0eb['length'],_0x47841d=_0x361682['length'];let _0x59ec4d=0x1,_0x5db4d6=_0x5353ba+_0x47841d;null!=_0x49b437['maxEditLength']&&(_0x5db4d6=Math['min'](_0x5db4d6,_0x49b437['maxEditLength']));const _0x4d399a=null!==(_0xbbdf95=_0x49b437['timeout'])&&void 0x0!==_0xbbdf95?_0xbbdf95:0x1/0x0,_0x211fae=Date['now']()+_0x4d399a,_0x5a6966=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x56bec0=this['extractCommon'](_0x5a6966[0x0],_0x21f0eb,_0x361682,0x0,_0x49b437);if(_0x5a6966[0x0]['oldPos']+0x1>=_0x47841d&&_0x56bec0+0x1>=_0x5353ba)return _0x22e43e(this['buildValues'](_0x5a6966[0x0]['lastComponent'],_0x21f0eb,_0x361682));let _0x20fd1f=-0x1/0x0,_0x368eb1=0x1/0x0;const _0x4e64cf=()=>{for(let _0x1b8f44=Math['max'](_0x20fd1f,-_0x59ec4d);_0x1b8f44<=Math['min'](_0x368eb1,_0x59ec4d);_0x1b8f44+=0x2){let _0x5b1581;const _0x5ed074=_0x5a6966[_0x1b8f44-0x1],_0x47d96a=_0x5a6966[_0x1b8f44+0x1];_0x5ed074&&(_0x5a6966[_0x1b8f44-0x1]=void 0x0);let _0x3070e5=!0x1;if(_0x47d96a){const _0x14b02c=_0x47d96a['oldPos']-_0x1b8f44;_0x3070e5=_0x47d96a&&0x0<=_0x14b02c&&_0x14b02c<_0x5353ba;}const _0x3c4e2c=_0x5ed074&&_0x5ed074['oldPos']+0x1<_0x47841d;if(_0x3070e5||_0x3c4e2c){if(_0x5b1581=!_0x3c4e2c||_0x3070e5&&_0x5ed074['oldPos']<_0x47d96a['oldPos']?this['addToPath'](_0x47d96a,!0x0,!0x1,0x0,_0x49b437):this['addToPath'](_0x5ed074,!0x1,!0x0,0x1,_0x49b437),_0x56bec0=this['extractCommon'](_0x5b1581,_0x21f0eb,_0x361682,_0x1b8f44,_0x49b437),_0x5b1581['oldPos']+0x1>=_0x47841d&&_0x56bec0+0x1>=_0x5353ba)return _0x22e43e(this['buildValues'](_0x5b1581['lastComponent'],_0x21f0eb,_0x361682))||!0x0;_0x5a6966[_0x1b8f44]=_0x5b1581,_0x5b1581['oldPos']+0x1>=_0x47841d&&(_0x368eb1=Math['min'](_0x368eb1,_0x1b8f44-0x1)),_0x56bec0+0x1>=_0x5353ba&&(_0x20fd1f=Math['max'](_0x20fd1f,_0x1b8f44+0x1));}else _0x5a6966[_0x1b8f44]=void 0x0;}_0x59ec4d++;};if(_0x45e8e1)!function _0x354eb3(){setTimeout(function(){if(_0x59ec4d>_0x5db4d6||Date['now']()>_0x211fae)return _0x45e8e1(void 0x0);_0x4e64cf()||_0x354eb3();},0x0);}();else for(;_0x59ec4d<=_0x5db4d6&&Date['now']()<=_0x211fae;){const _0x909d38=_0x4e64cf();if(_0x909d38)return _0x909d38;}}['addToPath'](_0x55c2ac,_0x533206,_0x3dffb3,_0x14b200,_0x39776c){const _0x47e9c5=_0x55c2ac['lastComponent'];return _0x47e9c5&&!_0x39776c['oneChangePerToken']&&_0x47e9c5['added']===_0x533206&&_0x47e9c5['removed']===_0x3dffb3?{'oldPos':_0x55c2ac['oldPos']+_0x14b200,'lastComponent':{'count':_0x47e9c5['count']+0x1,'added':_0x533206,'removed':_0x3dffb3,'previousComponent':_0x47e9c5['previousComponent']}}:{'oldPos':_0x55c2ac['oldPos']+_0x14b200,'lastComponent':{'count':0x1,'added':_0x533206,'removed':_0x3dffb3,'previousComponent':_0x47e9c5}};}['extractCommon'](_0x389368,_0x50ad42,_0x46e734,_0x59f199,_0x23734c){const _0x48dbeb=_0x50ad42['length'],_0x2814df=_0x46e734['length'];let _0x1f041e=_0x389368['oldPos'],_0x57d4a6=_0x1f041e-_0x59f199,_0x22548d=0x0;for(;_0x57d4a6+0x1<_0x48dbeb&&_0x1f041e+0x1<_0x2814df&&this['equals'](_0x46e734[_0x1f041e+0x1],_0x50ad42[_0x57d4a6+0x1],_0x23734c);)_0x57d4a6++,_0x1f041e++,_0x22548d++,_0x23734c['oneChangePerToken']&&(_0x389368['lastComponent']={'count':0x1,'previousComponent':_0x389368['lastComponent'],'added':!0x1,'removed':!0x1});return _0x22548d&&!_0x23734c['oneChangePerToken']&&(_0x389368['lastComponent']={'count':_0x22548d,'previousComponent':_0x389368['lastComponent'],'added':!0x1,'removed':!0x1}),_0x389368['oldPos']=_0x1f041e,_0x57d4a6;}['equals'](_0xa35f5f,_0x24384a,_0x2b1f03){return _0x2b1f03['comparator']?_0x2b1f03['comparator'](_0xa35f5f,_0x24384a):_0xa35f5f===_0x24384a||!!_0x2b1f03['ignoreCase']&&_0xa35f5f['toLowerCase']()===_0x24384a['toLowerCase']();}['removeEmpty'](_0x5e06f9){const _0x5b03ff=[];for(let _0x26b20e=0x0;_0x26b20e<_0x5e06f9['length'];_0x26b20e++)_0x5e06f9[_0x26b20e]&&_0x5b03ff['push'](_0x5e06f9[_0x26b20e]);return _0x5b03ff;}['castInput'](_0x29aff3,_0x353966){return _0x29aff3;}['tokenize'](_0x5c6a91,_0x11cc45){return Array['from'](_0x5c6a91);}['join'](_0x122e41){return _0x122e41['join']('');}['postProcess'](_0x51df36,_0x319908){return _0x51df36;}get['useLongestToken'](){return!0x1;}['buildValues'](_0x1c4953,_0x3421c9,_0x168dd0){const _0x355279=[];let _0x3d186e;for(;_0x1c4953;)_0x355279['push'](_0x1c4953),_0x3d186e=_0x1c4953['previousComponent'],delete _0x1c4953['previousComponent'],_0x1c4953=_0x3d186e;_0x355279['reverse']();const _0x47b1bf=_0x355279['length'];let _0x48a697=0x0,_0x412f3c=0x0,_0x52220b=0x0;for(;_0x48a697<_0x47b1bf;_0x48a697++){const _0x244470=_0x355279[_0x48a697];if(_0x244470['removed'])_0x244470['value']=this['join'](_0x168dd0['slice'](_0x52220b,_0x52220b+_0x244470['count'])),_0x52220b+=_0x244470['count'];else{if(!_0x244470['added']&&this['useLongestToken']){let _0x237a61=_0x3421c9['slice'](_0x412f3c,_0x412f3c+_0x244470['count']);_0x237a61=_0x237a61['map'](function(_0x339723,_0x46a591){const _0x1da547=_0x168dd0[_0x52220b+_0x46a591];return _0x1da547['length']>_0x339723['length']?_0x1da547:_0x339723;}),_0x244470['value']=this['join'](_0x237a61);}else _0x244470['value']=this['join'](_0x3421c9['slice'](_0x412f3c,_0x412f3c+_0x244470['count']));_0x412f3c+=_0x244470['count'],_0x244470['added']||(_0x52220b+=_0x244470['count']);}}return _0x355279;}}class _0x1aae17 extends _0xbddd2c{['tokenize'](_0x4219fd){return _0x4219fd['slice']();}['join'](_0x63241){return _0x63241;}['removeEmpty'](_0x55ef2d){return _0x55ef2d;}}const _0x18e56f=new _0x1aae17();function _0x16a702(_0xa42725,_0x88ffdf,_0x1a70bd){return _0x18e56f['diff'](_0xa42725,_0x88ffdf,_0x1a70bd);}const _0x5862c3='$elementId',_0x58ca49='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',(_0x44a0ef,_0x19cae6)=>{_0x19cae6['on']('ready',()=>{this['_integrateEditor'](_0x19cae6);});});}get['editor'](){if(this['context']instanceof ckeditor5['Editor'])return this['context'];{const _0x1f52f2=this['context']['editors']['first'];if(!_0x1f52f2)throw new ckeditor5['CKEditorError']('documentcompare-no-editor',this);return _0x1f52f2;}}['getDiff'](_0x4bdcb2,_0xdef6aa,_0x30b319={'anchor':'main','markDeletions':!0x1}){let _0x26b797,_0x464ac3;const _0x25d02f=this['editor'];if('string'==typeof _0x30b319['anchor']){const _0x509f57=_0x25d02f['model']['document']['getRoot'](_0x30b319['anchor']);if(!_0x509f57)throw new ckeditor5['CKEditorError']('documentcompare-compare-no-root',this,{'anchor':_0x30b319['anchor']});_0x26b797=_0x509f57,_0x464ac3=_0x25d02f['model']['createPositionAt'](_0x509f57,0x0);}else _0x26b797=_0x30b319['anchor']['clone'](),_0x464ac3=_0x30b319['anchor']['clone']();const _0x181ac4=_0x25d02f['data']['parse'](_0x4bdcb2,_0x26b797),_0x182863=_0x25d02f['data']['parse'](_0xdef6aa,_0x26b797);return new DocumentDiff(_0x181ac4,_0x182863,_0x25d02f,{'anchor':_0x464ac3,'markDeletions':_0x30b319['markDeletions']});}['isMarkedRemoveOperation'](_0x212bfd){return'marker'==_0x212bfd['type']&&_0x212bfd['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x5d51ca){_0x5d51ca['conversion']['for']('upcast')['add'](_0x5656cd=>{_0x5656cd['on']('element',(_0x232b59,_0x1c2eda,_0x58553d)=>{if(_0x1c2eda['modelRange'])for(const _0x26c00f of _0x1c2eda['modelRange']['getItems']({'shallow':!0x0})){if(_0x26c00f['is']('$textProxy'))continue;const _0x59069f=_0x1c2eda['viewItem']['getAttribute'](_0x58ca49);_0x59069f&&_0x58553d['writer']['setAttribute'](_0x5862c3,_0x59069f,_0x26c00f);}},{'priority':'lowest'});}),_0x5d51ca['model']['schema']['addAttributeCheck'](()=>!0x0,_0x5862c3);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x26d746,_0x2fa464,_0x5e02ea,_0x59b87b){this['_editor']=_0x5e02ea,this['_markDeletions']=!!_0x59b87b['markDeletions'],this['_anchor']=_0x59b87b['anchor'];const _0x2d48cf=this['_tokenizeModel'](_0x26d746),_0x1bede6=this['_tokenizeModel'](_0x2fa464);this['_diffItems']=this['_diffModelTokens'](_0x2d48cf,_0x1bede6),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x26d746['markers'],_0x2fa464['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x273bdb=this['_editor']['model']['document'],_0x5bdbc0=[];let _0x571e39=_0x273bdb['version'];for(const _0x2383d8 of this['_operationsData'])switch(_0x2383d8['type']){case'attribute':{const _0x4d8f0d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2383d8['path']),_0x4ae232=_0x4d8f0d['getShiftedBy'](_0x2383d8['howMany']),_0x3e49b3=new ckeditor5['ModelRange'](_0x4d8f0d,_0x4ae232),_0x53bd94=JSON['parse'](_0x2383d8['oldValue']),_0x20c3ff=JSON['parse'](_0x2383d8['newValue']);_0x5bdbc0['push'](new ckeditor5['AttributeOperation'](_0x3e49b3,_0x2383d8['key'],_0x53bd94,_0x20c3ff,_0x571e39++));break;}case'insert':{const _0x321bab=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2383d8['path']),_0x382e39=this['_makeModelFromTokens'](_0x2383d8['tokens']);_0x5bdbc0['push'](new ckeditor5['InsertOperation'](_0x321bab,_0x382e39,_0x571e39++));break;}case'remove':{const _0x36fd32=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2383d8['path']),_0x4fc2ca=new ckeditor5['ModelPosition'](_0x273bdb['graveyard'],[0x0]);_0x5bdbc0['push'](new ckeditor5['MoveOperation'](_0x36fd32,_0x2383d8['howMany'],_0x4fc2ca,_0x571e39++));break;}case'rename':{const _0x5f5bda=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2383d8['path']);_0x5bdbc0['push'](new ckeditor5['RenameOperation'](_0x5f5bda,_0x2383d8['oldName'],_0x2383d8['newName'],_0x571e39++));break;}case'split':{const _0x491521=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2383d8['path']),_0x17740=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2383d8['path']['slice'](0x0,-0x1));_0x17740['offset']++,_0x5bdbc0['push'](new ckeditor5['SplitOperation'](_0x491521,Number['NEGATIVE_INFINITY'],_0x17740,null,_0x571e39++));break;}case'merge':{const _0x47c61e=_0x2383d8['path']['slice'](),_0x37aef9=_0x47c61e['slice'](0x0,-0x1);_0x37aef9[_0x37aef9['length']-0x1]++,_0x37aef9['push'](0x0);const _0x4571c6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x37aef9),_0x4491c0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x47c61e),_0x1fcf21=new ckeditor5['ModelPosition'](_0x273bdb['graveyard'],[0x0]);_0x5bdbc0['push'](new ckeditor5['MergeOperation'](_0x4571c6,Number['NEGATIVE_INFINITY'],_0x4491c0,_0x1fcf21,_0x571e39++));break;}case'marker':case'markedRemove':{let _0x5c0c21=null;if(_0x2383d8['range']){const _0x308141=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2383d8['range']['start']),_0xf3459a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2383d8['range']['end']);_0x5c0c21=new ckeditor5['ModelRange'](_0x308141,_0xf3459a);}const _0x3a2194='marker'==_0x2383d8['type']?_0x2383d8['name']:'$markedRemove:'+ckeditor5['uid']();_0x5bdbc0['push'](new ckeditor5['MarkerOperation'](_0x3a2194,null,_0x5c0c21,_0x273bdb['model']['markers'],!0x0,_0x571e39++));break;}case'unwrap':{const _0x51d804=_0x2383d8['path']['slice']();_0x51d804['push'](0x0);const _0x4af682=_0x2383d8['path']['slice'](),_0x281eca=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x51d804),_0x42afef=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4af682),_0x46b6ba=new ckeditor5['ModelPosition'](_0x273bdb['graveyard'],[0x0]);_0x5bdbc0['push'](new ckeditor5['MoveOperation'](_0x281eca,_0x2383d8['howMany'],_0x42afef,_0x571e39++)),_0x5bdbc0['push'](new ckeditor5['MoveOperation'](_0x42afef['getShiftedBy'](_0x2383d8['howMany']),0x1,_0x46b6ba,_0x571e39++));break;}case'wrap':{const _0x183bbd=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2383d8['range']['start']),_0x576000=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2383d8['range']['end']),_0x567e3a=_0x2383d8['token']['element']['_clone'](!0x1),_0x4dfe16=_0x2383d8['range']['end']['slice']();_0x4dfe16['push'](0x0);const _0x522423=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4dfe16);_0x5bdbc0['push'](new ckeditor5['InsertOperation'](_0x576000,_0x567e3a,_0x571e39++)),_0x5bdbc0['push'](new ckeditor5['MoveOperation'](_0x183bbd,_0x576000['offset']-_0x183bbd['offset'],_0x522423,_0x571e39++));break;}}return _0x5bdbc0;}['_tokenizeModel'](_0x2ab65c){const _0x1c60d6=[],_0x12f0af=ckeditor5['ModelRange']['_createIn'](_0x2ab65c),_0x61bf1c=new ckeditor5['ModelTreeWalker']({'boundaries':_0x12f0af});let _0x5eba01='',_0x575302=null;const _0x2aac82=[''],_0x2c68e1=new Map();for(const _0x5d4ddb of _0x61bf1c)if('elementStart'==_0x5d4ddb['type']||'elementEnd'==_0x5d4ddb['type']){let _0x37c013=_0x2aac82[0x0];''!==_0x5eba01&&(_0x1c60d6['push'](...this['_makeTokensFromTextByWords'](_0x5eba01,_0x575302,_0x37c013)),_0x5eba01='');const _0xe8aaf7=_0x5d4ddb['item'];let _0x599e47;_0xe8aaf7['getAttribute'](_0x5862c3)?_0x599e47=_0xe8aaf7['getAttribute'](_0x5862c3):'elementStart'==_0x5d4ddb['type']?(_0x599e47=makeUidForElement(_0xe8aaf7),_0x2c68e1['set'](_0xe8aaf7,_0x599e47)):_0x599e47=_0x2c68e1['get'](_0xe8aaf7);const _0x152d64=this['_getElementCategory'](_0xe8aaf7);'solid'==_0x152d64&&('elementStart'==_0x5d4ddb['type']?(_0x37c013=_0x599e47,_0x2aac82['unshift'](_0x37c013)):_0x2aac82['shift']());const _0x268020={'type':'element','element':_0xe8aaf7,'elementId':_0x599e47,'category':_0x152d64,'isStart':'elementStart'==_0x5d4ddb['type'],'limitId':_0x37c013};_0x1c60d6['push'](_0x268020);}else''==_0x5eba01&&(_0x575302=_0x5d4ddb['previousPosition']['clone']()),_0x5eba01+=_0x5d4ddb['item']['data'];return''!==_0x5eba01&&_0x1c60d6['push'](...this['_makeTokensFromTextByWords'](_0x5eba01,_0x575302,_0x2aac82[0x0])),_0x1c60d6;}['_makeTokensFromTextByWords'](_0x1969fa,_0x2d21a9,_0x3c4e95){const _0x4627a7=_0x1969fa['matchAll'](/(\s)/g),_0x9a73bb=Array['from'](_0x4627a7)['map'](_0x230235=>_0x230235['index']);_0x9a73bb['push'](_0x1969fa['length']),0x0==_0x9a73bb[0x0]&&_0x9a73bb['shift']();const _0x4ef90d=[],_0x1dc9ea=_0x2d21a9['parent'];let _0x243211=0x0,_0x5bf7dd=_0x2d21a9['offset'];for(let _0x474b3e=0x0;_0x474b3e<_0x9a73bb['length'];_0x474b3e++)_0x4ef90d['push']({'type':'text','data':_0x1969fa['slice'](_0x243211,_0x9a73bb[_0x474b3e]),'parent':_0x1dc9ea,'offset':_0x5bf7dd,'limitId':_0x3c4e95}),_0x243211=_0x9a73bb[_0x474b3e],_0x5bf7dd=_0x2d21a9['offset']+_0x9a73bb[_0x474b3e];return _0x4ef90d;}['_getElementCategory'](_0x36400e){const _0x3e4168=this['_editor']['model']['schema'];return _0x3e4168['isLimit'](_0x36400e)||_0x3e4168['isContent'](_0x36400e)||_0x3e4168['isInline'](_0x36400e)?'solid':_0x3e4168['isBlock'](_0x36400e)?'block':'container';}['_diffModelTokens'](_0x5ae5c8,_0x142f7a){const _0x1155eb=_0x16a702(_0x5ae5c8,_0x142f7a,{'comparator':_0x311636});this['_handleUnclosedBlockOpeningTags'](_0x1155eb);const _0xdc7f2e=_0x1155eb['flatMap'](_0x66c70a=>{const _0xa7cc5d=_0x66c70a['added']?'added':_0x66c70a['removed']?'removed':'unchanged';return _0x66c70a['value']['map'](_0x3cc518=>({'token':_0x3cc518,'change':_0xa7cc5d}));});let _0x183050=0x0;for(const _0x34c24d of _0xdc7f2e)'added'!=_0x34c24d['change']&&('unchanged'==_0x34c24d['change']&&(_0x34c24d['before']=_0x5ae5c8[_0x183050]),_0x183050++);return _0xdc7f2e;}['_handleUnclosedBlockOpeningTags'](_0x3cb970){for(let _0x27e3e3=0x0;_0x27e3e3<_0x3cb970['length']-0x1;_0x27e3e3++)if(_0x3cb970[_0x27e3e3]['removed']&&_0x3cb970[_0x27e3e3+0x1]['added']){const _0xca5fa9=this['_findUnclosedBlockOpeningToken'](_0x3cb970[_0x27e3e3]['value']);if(null!==_0xca5fa9){const _0x101134=this['_findUnclosedBlockOpeningToken'](_0x3cb970[_0x27e3e3+0x1]['value']),_0x2037e5=_0x3cb970[_0x27e3e3]['value']['splice'](_0xca5fa9),_0x939739=_0x3cb970[_0x27e3e3+0x1]['value']['splice'](_0x101134),_0x40ab5a=[_0x939739['shift']()];_0x2037e5['shift']();const _0xee4c61={'value':_0x2037e5,'removed':!0x0},_0x416a7d={'value':_0x939739,'added':!0x0},_0x3f889f={'value':_0x40ab5a};_0x3cb970['splice'](_0x27e3e3+0x2,0x0,_0x3f889f,_0xee4c61,_0x416a7d);}}}['_findUnclosedBlockOpeningToken'](_0x3649d8){let _0x51d79c=0x0,_0x43e096=-0x1;for(let _0x16dfee=0x0;_0x16dfee<_0x3649d8['length'];_0x16dfee++){const _0x5e6310=_0x3649d8[_0x16dfee];'element'==_0x5e6310['type']&&'block'==_0x5e6310['category']&&(_0x51d79c+=_0x5e6310['isStart']?0x1:-0x1,_0x5e6310['isStart']&&(_0x43e096=_0x16dfee));}return 0x0===_0x51d79c?null:_0x43e096;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x2dc2fb=0x0;_0x2dc2fb<this['_diffItems']['length'];_0x2dc2fb++){const _0x2dd26d=this['_diffItems'][_0x2dc2fb]['change'],_0x466826=[];_0x466826['push'](this['_diffItems'][_0x2dc2fb]);let _0x567f85=_0x2dc2fb+0x1;for(;this['_diffItems'][_0x567f85]&&this['_diffItems'][_0x567f85]['change']==_0x2dd26d;)_0x466826['push'](this['_diffItems'][_0x567f85]),_0x567f85++,_0x2dc2fb++;const _0x54081f=_0x466826['map'](_0x1354b2=>_0x1354b2['token']);if('unchanged'==_0x2dd26d)_0x466826['map'](_0x53ccd5=>_0x53ccd5['before'])['forEach'](_0x707ee8=>this['_traverseOverItem'](_0x707ee8));else{if('removed'==_0x2dd26d){if(this['_markDeletions']){const _0x12a3ab=this['_path']['slice']();_0x54081f['forEach'](_0x571c8b=>this['_traverseOverItem'](_0x571c8b));const _0x4e1521=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x12a3ab,'end':_0x4e1521}});}else this['_handleChanged'](_0x54081f,!0x0,this['_path']['slice']());}else{const _0x3db4b6=_0x54081f['filter'](_0xb6a72=>'element'!=_0xb6a72['type']||'container'!=_0xb6a72['category']);this['_handleChanged'](_0x3db4b6,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x5a5c9f=0x0;_0x5a5c9f<this['_diffItems']['length'];_0x5a5c9f++){const _0x3e1950=this['_diffItems'][_0x5a5c9f]['change'],_0x3d23a7=[];_0x3d23a7['push'](this['_diffItems'][_0x5a5c9f]);let _0xe50146=_0x5a5c9f+0x1;for(;this['_diffItems'][_0xe50146]&&this['_diffItems'][_0xe50146]['change']==_0x3e1950;)_0x3d23a7['push'](this['_diffItems'][_0xe50146]),_0xe50146++,_0x5a5c9f++;const _0x23b9bc=_0x3d23a7['map'](_0x1de739=>_0x1de739['token']);if('unchanged'==_0x3e1950){const _0x2a9bc0=_0x3d23a7['map'](_0x3cf0ef=>_0x3cf0ef['before']);this['_handleUnchanged'](_0x2a9bc0,_0x23b9bc);}else('removed'!=_0x3e1950||this['_markDeletions'])&&_0x23b9bc['forEach'](_0x2a4b8a=>{this['_traverseOverItem'](_0x2a4b8a);});}}['_calculateMarkersOperationsData'](_0x3fea9d,_0x26d6f4){const _0x59ac47={};for(const [_0x77186f]of _0x3fea9d)_0x59ac47[_0x77186f]=null;for(const [_0x36418f,_0x5e983b]of _0x26d6f4)_0x59ac47[_0x36418f]=_0x5e983b;const _0x53ad1b=Object['entries'](_0x59ac47)['map'](([_0x16b45e,_0x2c66f4])=>({'type':'marker','name':_0x16b45e,'range':_0x2c66f4?{'start':_0x2c66f4['start']['path']['slice'](),'end':_0x2c66f4['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x53ad1b);}['_handleUnwraps'](){const _0x360667=new Map(),_0x14868d=[],_0xfc67a0=[0x0];let _0x28af59=this['_diffItems']['length']+0x1;for(let _0x13d833=this['_diffItems']['length']-0x1;_0x13d833>=0x0;_0x13d833--){const {token:_0x229b67,before:_0x3bc18f,change:_0xfe763d}=this['_diffItems'][_0x13d833];if('removed'!=_0xfe763d&&(_0x28af59=_0x13d833),'element'!=_0x229b67['type']||'container'!=_0x229b67['category']||'added'==_0xfe763d)continue;const _0x56d677=_0x3bc18f?_0x3bc18f['element']:_0x229b67['element'];if(_0x229b67['isStart']){const _0x1aaf9d=_0x360667['get'](_0x56d677),_0xede6db=this['_diffItems'][_0x1aaf9d];('removed'==_0xfe763d||'removed'==_0xede6db['change'])&&_0x28af59<_0x1aaf9d&&(this['_operationsData']['push']({'type':'unwrap','path':_0x56d677['getPath'](),'howMany':_0x56d677['maxOffset']+_0xfc67a0[0x0]}),_0xfc67a0['shift'](),_0xfc67a0[0x0]+=_0x56d677['maxOffset']-0x1,_0x14868d['push'](_0x13d833),_0x14868d['push'](_0x1aaf9d));}else _0x360667['set'](_0x56d677,_0x13d833),_0xfc67a0['unshift'](0x0);}_0x14868d['sort']((_0x286c1d,_0x1e08a9)=>_0x1e08a9-_0x286c1d),_0x14868d['forEach'](_0x362a2f=>{const _0x1a6830=this['_diffItems'][_0x362a2f];'removed'==_0x1a6830['change']?this['_diffItems']['splice'](_0x362a2f,0x1):(_0x1a6830['change']='added',delete _0x1a6830['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x404b32=[];for(let _0x47d368=0x0;_0x47d368<this['_diffItems']['length'];_0x47d368++){const {change:_0x1ce709,token:_0x2a59c}=this['_diffItems'][_0x47d368];if('added'==_0x1ce709&&'element'==_0x2a59c['type']&&'container'==_0x2a59c['category']){if(_0x2a59c['isStart'])_0x404b32['push'](this['_path']['slice']());else{if(!_0x2a59c['isStart']){const _0x1b8021=_0x404b32['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x1b8021,'end':this['_path']['slice']()},'token':_0x2a59c}),this['_path'][this['_path']['length']-0x1]=_0x1b8021[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x1ce709||this['_markDeletions'])&&this['_traverseOverItem'](_0x2a59c);}}['_handleUnchanged'](_0x3dc4fc,_0xb6b92b){for(let _0x4f94dd=0x0;_0x4f94dd<_0x3dc4fc['length'];_0x4f94dd++){const _0x398f12=_0x3dc4fc[_0x4f94dd];if('element'==_0x398f12['type']&&_0x398f12['isStart']){const _0x13d1b1=_0xb6b92b[_0x4f94dd];'block'==_0x398f12['category']&&this['_handleElementRename'](_0x398f12['element'],_0x13d1b1['element'],this['_path']),this['_handleElementAttributeChanges'](_0x398f12['element'],_0x13d1b1['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x13d1b1);}else{if('element'!=_0x398f12['type']||_0x398f12['isStart']){if('text'==_0x398f12['type']){const _0x3949a2=this['_path']['slice'](),_0x13fee6=[],_0x24ad2f=[];for(;_0x3dc4fc[_0x4f94dd]&&'text'==_0x3dc4fc[_0x4f94dd]['type'];)_0x13fee6['push'](_0x3dc4fc[_0x4f94dd]),_0x24ad2f['push'](_0xb6b92b[_0x4f94dd]),this['_path'][this['_path']['length']-0x1]+=_0x3dc4fc[_0x4f94dd]['data']['length'],_0x4f94dd++;_0x4f94dd--,this['_handleTextAttributeChanges'](_0x13fee6,_0x24ad2f,_0x3949a2);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x358637,_0x537103,_0x2aa7ea){const _0x1335f1=[],_0x340d0a=[],_0x12ff88=_0x2aa7ea['slice']();for(let _0x4c853e=0x0;_0x4c853e<_0x358637['length'];_0x4c853e++){const _0x1d5d8f=_0x358637[_0x4c853e],_0x48b993=_0x2aa7ea['slice']();if('element'!=_0x1d5d8f['type']||_0x1d5d8f['isStart'])'element'==_0x1d5d8f['type']&&_0x1d5d8f['isStart']?(_0x2aa7ea['push'](0x0),_0x537103||this['_parents']['push'](_0x1d5d8f),_0x340d0a['push']({'before':_0x48b993,'after':_0x2aa7ea['slice'](),'index':_0x4c853e})):_0x2aa7ea[_0x2aa7ea['length']-0x1]+=_0x1d5d8f['data']['length'];else{let _0x4b9a2a;_0x2aa7ea['pop'](),_0x2aa7ea[_0x2aa7ea['length']-0x1]++,_0x4b9a2a=_0x537103?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x340d0a['length']?_0x340d0a['pop']():_0x1335f1['push']({'before':_0x48b993,'after':_0x2aa7ea['slice'](),'index':_0x4c853e,'related':_0x4b9a2a});}}if(_0x340d0a['length']!==_0x1335f1['length'])throw new ckeditor5['CKEditorError']('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x358637,'isRemove':_0x537103});const _0x358483=[{'after':_0x12ff88['slice'](),'index':-0x1},..._0x1335f1,..._0x340d0a,{'before':_0x2aa7ea['slice'](),'index':_0x358637['length']}];if(_0x537103){for(let _0x21f136=_0x358483['length']-0x1;_0x21f136>=0x1;_0x21f136--){const _0x242234=_0x358483[_0x21f136-0x1]['after'],_0x34035a=_0x358483[_0x21f136]['before'],_0x35f7d7=_0x34035a[_0x34035a['length']-0x1]-_0x242234[_0x242234['length']-0x1];_0x35f7d7&&(this['_operationsData']['push']({'type':'remove','path':_0x242234,'howMany':_0x35f7d7}),_0x34035a[_0x34035a['length']-0x1]-=_0x35f7d7);}for(const {before:_0x4990e9}of _0x1335f1)this['_operationsData']['push']({'type':'merge','path':_0x4990e9});}else for(let _0x43d2f1=0x0;_0x43d2f1<_0x358483['length']-0x1;_0x43d2f1++){const _0x142a26=_0x358483[_0x43d2f1]['after'],_0x3ffbd1=_0x358483[_0x43d2f1+0x1]['before'],_0x96d58=_0x358483[_0x43d2f1]['index']+0x1,_0x2351ea=_0x358483[_0x43d2f1+0x1]['index'];if(_0x96d58!==_0x2351ea&&this['_operationsData']['push']({'type':'insert','path':_0x142a26,'tokens':_0x358637['slice'](_0x96d58,_0x2351ea)}),_0x43d2f1<_0x1335f1['length']){this['_operationsData']['push']({'type':'split','path':_0x3ffbd1});const _0x680e6b=_0x358637[_0x340d0a[_0x340d0a['length']-0x1-_0x43d2f1]['index']],_0x3a6a9a=_0x1335f1[_0x43d2f1]['after'],_0x37c8e1=_0x1335f1[_0x43d2f1]['related']['element'];this['_handleElementRename'](_0x37c8e1,_0x680e6b['element'],_0x3a6a9a),this['_handleElementAttributeChanges'](_0x37c8e1,_0x680e6b['element'],_0x3a6a9a);}}}['_traverseOverItem'](_0x218971){'element'==_0x218971['type']&&_0x218971['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x218971)):'element'!=_0x218971['type']||_0x218971['isStart']?'text'==_0x218971['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x218971['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x36a7a0,_0x3e0f76,_0x554cdf){_0x36a7a0['name']!=_0x3e0f76['name']&&this['_operationsData']['push']({'type':'rename','path':_0x554cdf['slice'](),'oldName':_0x36a7a0['name'],'newName':_0x3e0f76['name']});}['_handleElementAttributeChanges'](_0x4c4f68,_0x14b822,_0x44fd91){const _0x4e9d53=this['_getAttributeChanges'](_0x4c4f68['getAttributes'](),_0x14b822['getAttributes']());for(const _0x45cd26 in _0x4e9d53){const {oldValue:_0x704bda,newValue:_0x48dead}=_0x4e9d53[_0x45cd26];this['_operationsData']['push']({'type':'attribute','path':_0x44fd91['slice'](),'howMany':0x1,'key':_0x45cd26,'oldValue':_0x704bda,'newValue':_0x48dead});}}['_handleTextAttributeChanges'](_0x39fefe,_0x4cee0e,_0x4388b0){const _0x4ce1ff=this['_operationsData'],_0xbe75a3=_0x39fefe[0x0]['parent'],_0x1aab3b=_0x39fefe[0x0]['offset'],_0x3b4c7b=_0x4cee0e[0x0]['parent'],_0x3a042c=_0x4cee0e[0x0]['offset'],_0x23b26c=_0x39fefe['reduce']((_0x5f5127,_0x2a5e02)=>_0x5f5127+_0x2a5e02['data']['length'],0x0),_0x332e61=this['_getAttrsForOffsets'](_0xbe75a3,_0x1aab3b,_0x23b26c),_0x59003c=this['_getAttrsForOffsets'](_0x3b4c7b,_0x3a042c,_0x23b26c),_0x48c5a0={};for(let _0x1bd14f=0x0;_0x1bd14f<_0x23b26c;_0x1bd14f++){const _0x302eb1=_0x332e61[_0x1aab3b+_0x1bd14f],_0x2de4ea=_0x59003c[_0x3a042c+_0x1bd14f],_0x4ab084=this['_getAttributeChanges'](_0x302eb1,_0x2de4ea);for(const _0x26fe31 in _0x48c5a0)_0x4ab084[_0x26fe31]||_0x490b20(_0x26fe31);for(const _0x2ddb18 in _0x4ab084){const {oldValue:_0x17249e,newValue:_0x592f95}=_0x4ab084[_0x2ddb18],_0x1d9989=_0x48c5a0[_0x2ddb18];_0x1d9989?_0x1d9989['oldValue']==_0x17249e&&_0x1d9989['newValue']==_0x592f95?_0x1d9989['length']++:(_0x490b20(_0x2ddb18),_0x48c5a0[_0x2ddb18]={'oldValue':_0x17249e,'newValue':_0x592f95,'start':_0x1bd14f,'length':0x1}):_0x48c5a0[_0x2ddb18]={'oldValue':_0x17249e,'newValue':_0x592f95,'start':_0x1bd14f,'length':0x1};}}for(const _0x2fa03d in _0x48c5a0)_0x490b20(_0x2fa03d);function _0x490b20(_0x1ab093){const _0x26a9c1=_0x48c5a0[_0x1ab093],_0x314b96=_0x4388b0['slice']();_0x314b96[_0x314b96['length']-0x1]+=_0x26a9c1['start'],_0x4ce1ff['push']({'type':'attribute','path':_0x314b96,'howMany':_0x26a9c1['length'],'key':_0x1ab093,'oldValue':_0x26a9c1['oldValue'],'newValue':_0x26a9c1['newValue']}),delete _0x48c5a0[_0x1ab093];}}['_getAttributeChanges'](_0x24eb92,_0x281d1a){const _0x59d58b={};for(const [_0xcf8d62,_0x1fc67d]of _0x24eb92)_0x59d58b[_0xcf8d62]={'oldValue':JSON['stringify'](_0x1fc67d),'newValue':'null'};for(const [_0x4db886,_0x3e417b]of _0x281d1a){const _0x1de8aa=JSON['stringify'](_0x3e417b);_0x59d58b[_0x4db886]?_0x59d58b[_0x4db886]['oldValue']==_0x1de8aa?delete _0x59d58b[_0x4db886]:_0x59d58b[_0x4db886]['newValue']=_0x1de8aa:_0x59d58b[_0x4db886]={'oldValue':'null','newValue':_0x1de8aa};}return delete _0x59d58b[_0x5862c3],_0x59d58b;}['_getAttrsForOffsets'](_0x48ac4f,_0x34f14a,_0x4f5b30){const _0x2dc555=new Array(_0x34f14a+_0x4f5b30);let _0x14f2ca=_0x48ac4f['getChildAtOffset'](_0x34f14a),_0x286bcc=_0x14f2ca['startOffset'];for(;_0x14f2ca&&_0x286bcc<_0x34f14a+_0x4f5b30;){const _0x546b3d=Array['from'](_0x14f2ca['getAttributes']());_0x2dc555['fill'](_0x546b3d,_0x286bcc,_0x286bcc+_0x14f2ca['offsetSize']),_0x286bcc+=_0x14f2ca['offsetSize'],_0x14f2ca=_0x14f2ca['nextSibling'];}return _0x2dc555;}['_getPositionFromAnchorAndPath'](_0x58d2d1,_0x292c13){const _0x3cbb88=[..._0x58d2d1['path']['slice'](0x0,-0x1),_0x58d2d1['offset']+_0x292c13[0x0],..._0x292c13['slice'](0x1)];return new ckeditor5['ModelPosition'](_0x58d2d1['root'],_0x3cbb88);}['_makeModelFromTokens'](_0x164e73){const _0x928aa6=[];let _0x5da31b=null;for(const _0x3dbe61 of _0x164e73)if('element'!=_0x3dbe61['type']||_0x3dbe61['isStart']||_0x5da31b!=_0x3dbe61['element']){if(!_0x5da31b){if('text'==_0x3dbe61['type']){const _0xd7eae4=ckeditor5['ModelPosition']['_createAt'](_0x3dbe61['parent'],_0x3dbe61['offset']),_0x1e9027=ckeditor5['ModelRange']['_createFromPositionAndShift'](_0xd7eae4,_0x3dbe61['data']['length']),_0x320054=Array['from'](_0x1e9027['getItems']())['map'](_0x1f4777=>new ckeditor5['ModelText'](_0x1f4777['data'],_0x1f4777['getAttributes']()));_0x928aa6['push'](..._0x320054);}else{_0x5da31b=_0x3dbe61['element'];const _0x317f7b=_0x3dbe61['element']['_clone'](!0x0);_0x317f7b['_removeAttribute'](_0x5862c3);for(const _0x33242a of this['_editor']['model']['createRangeIn'](_0x317f7b)['getItems']())_0x33242a['is']('element')&&_0x33242a['_removeAttribute'](_0x5862c3);_0x928aa6['push'](_0x317f7b);}}}else _0x5da31b=null;return _0x928aa6;}}function _0x311636(_0x378774,_0xe45617){return _0x378774['type']===_0xe45617['type']&&(_0x378774['limitId']===_0xe45617['limitId']&&('text'==_0x378774['type']?_0x378774['data']==_0xe45617['data']:compareModelElementTokens(_0x378774,_0xe45617)));}function compareModelElementTokens(_0x354034,_0x1aa54d){return _0x354034['isStart']==_0x1aa54d['isStart']&&((!_0x354034['isStart']||_0x354034['elementId']==_0x1aa54d['elementId'])&&(_0x354034['category']==_0x1aa54d['category']&&('block'==_0x354034['category']||('container'!=_0x354034['category']||_0x354034['elementId']==_0x1aa54d['elementId'])&&_0x354034['element']['name']==_0x1aa54d['element']['name'])));}function makeUidForElement(_0x4d5774){return hashObject({'name':_0x4d5774['name'],...Object['fromEntries'](_0x4d5774['getAttributes']())});}function getSuggestionPartsFromReply({editor:_0x1f489b,changeGroups:_0x4dc9b8,documentContextContent:_0x5157dc,showDiff:_0x3250c4,trimUnchanged:_0x129e19=!0x0}){return _0x4dc9b8['map'](_0x2b9e66=>{const _0x196ddc=new Document([]),_0x11c1b6=new Document([]);for(const _0x7722c1 of _0x2b9e66['changes'])if(_0x3250c4&&'removed'==_0x7722c1['type']||_0x11c1b6['children']['push'](_0x7722c1['node']['cloneNode'](!0x0)),'new'!=_0x7722c1['type']&&(_0x3250c4||'removed'!=_0x7722c1['type'])){const _0x4e6426=_0x3c2953(_0x19c132=>getAttribute(_0x19c132,'data-id')==_0x7722c1['id'],_0x5157dc,!0x0);_0x4e6426&&_0x196ddc['children']['push'](_0x4e6426['cloneNode'](!0x0));}const {content:_0x1ed55b,hasChanges:_0x1dabb2}=passThroughEditorDataPipeline(_0x1f489b,_0x196ddc,_0x11c1b6,_0x3250c4,_0x129e19);return{'type':_0x2b9e66['changes'][0x0]['type'],'index':_0x2b9e66['index'],'content':_0x1ed55b,'hasChanges':_0x1dabb2};});}function passThroughEditorDataPipeline(_0x3caa64,_0x2407da,_0x2e6ca5,_0x57ef15,_0x381eb5=!0x0){const _0x3224de=_0x3caa64['plugins']['get']('DocumentCompare'),_0x1314d0=_0x54c47c(_0x2407da),_0x439db5=_0x54c47c(_0x2e6ca5),_0x1c0bbd=_0x3caa64['data']['parse'](_0x1314d0,'$root'),_0x31f2d8=_0x3caa64['model']['createPositionAt'](_0x1c0bbd,0x0),_0x368786=_0x3224de['getDiff'](_0x1314d0,_0x439db5,{'anchor':_0x31f2d8,'markDeletions':_0x57ef15})['getOperations']();if(0x0==_0x368786['length'])return{'content':_0x2407da['cloneNode'](!0x0),'hasChanges':!0x1};if(_0x57ef15?applyOperationsAndDiffMarkers(_0x368786,_0x1c0bbd,_0x3caa64):_0x3caa64['model']['change'](_0x27ef5c=>{for(const _0x3a25ba of _0x368786)if('remove'==_0x3a25ba['type']){const _0x4d21cf=_0x3a25ba['sourcePosition'],_0x9dfd44=_0x3a25ba['howMany'],_0x4b0a8d=new ckeditor5['_DetachOperation'](_0x4d21cf,_0x9dfd44);_0x27ef5c['batch']['addOperation'](_0x4b0a8d),_0x3caa64['model']['applyOperation'](_0x4b0a8d);}else{if('marker'==_0x3a25ba['type']){const _0x22841f=_0x3a25ba['name'],_0x4e3ccf=_0x3a25ba['newRange'];null!==_0x4e3ccf?_0x1c0bbd['markers']['set'](_0x22841f,_0x4e3ccf):_0x1c0bbd['markers']['delete'](_0x22841f);}else _0x3a25ba['baseVersion']=null,_0x3a25ba['isDocumentOperation']=!0x1,_0x27ef5c['batch']['addOperation'](_0x3a25ba),_0x3caa64['model']['applyOperation'](_0x3a25ba);}}),_0x381eb5){const _0x119cf5=getMinimalSelection(_0x3caa64,_0x368786,_0x1c0bbd);expandSelectionWithContext(_0x3caa64['model'],_0x119cf5),shrinkFragmentToSelection(_0x3caa64['model'],_0x119cf5);}return{'content':_0x10117b(_0x3caa64['data']['stringify'](_0x1c0bbd,{'showSuggestionHighlights':!0x0})),'hasChanges':!0x0};}function applyOperationsAndDiffMarkers(_0x4a223b,_0xef7b96,_0x3a4caf){if(0x0==_0x4a223b['length'])return;const _0x1e9cc3=_0x3a4caf['plugins']['get']('DocumentCompare'),_0xa215ee=_0x3a4caf['plugins']['get']('SuggestionsConversion');_0x3a4caf['model']['change'](_0x18f295=>{const _0x49167a=new Set();for(let _0x229a5e=0x0;_0x229a5e<_0x4a223b['length'];_0x229a5e++){const _0x39b92f=_0x4a223b[_0x229a5e];if(_0x39b92f['baseVersion']=null,_0x39b92f['isDocumentOperation']=!0x1,_0x1e9cc3['isMarkedRemoveOperation'](_0x39b92f)){const _0x39f7b6=fixElementSuggestionRange(_0x39b92f['newRange'],_0x3a4caf['model']),_0x1e6992='suggestion:deletion:'+ckeditor5['uid']()+':$aiSuggestion';_0xef7b96['markers']['set'](_0x1e6992,_0x39f7b6);}else switch(_0x39b92f['type']){case'rename':{if(_0x39b92f['oldName']==_0x39b92f['newName'])break;_0x18f295['batch']['addOperation'](_0x39b92f),_0x3a4caf['model']['applyOperation'](_0x39b92f);const _0x49b7ec='$elementName',_0x32db5e=_0x39b92f['position'],_0x4a56e2=_0x3a4caf['model']['createRange'](_0x32db5e,_0x3a4caf['model']['createPositionAt'](_0x32db5e['nodeAfter'],'end')),_0x4c12f9='suggestion:attribute:'+_0x49b7ec+':'+ckeditor5['uid']()+':$aiSuggestion';_0xef7b96['markers']['set'](_0x4c12f9,_0x4a56e2);break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{if(_0x39b92f['oldValue']==_0x39b92f['newValue'])break;_0x18f295['batch']['addOperation'](_0x39b92f),_0x3a4caf['model']['applyOperation'](_0x39b92f);const _0x6e60e=_0x39b92f['key'];if(!_0xa215ee['isRegisteredAttribute'](_0x6e60e))break;const _0x1a4e5b=fixElementSuggestionRange(_0x39b92f['range'],_0x3a4caf['model']),_0xf9742c='suggestion:attribute:'+_0x6e60e+':'+ckeditor5['uid']()+':$aiSuggestion';_0xef7b96['markers']['set'](_0xf9742c,_0x1a4e5b);break;}case'insert':{_0x18f295['batch']['addOperation'](_0x39b92f),_0x3a4caf['model']['applyOperation'](_0x39b92f);if(_0x4a223b[_0x229a5e+0x1]&&'move'==_0x4a223b[_0x229a5e+0x1]['type']){transformMarkers(_0xef7b96,_0x39b92f);break;}const _0x35259c=_0x39b92f['position'],_0x5460f5=_0x39b92f['howMany'],_0x2c24f2=fixElementSuggestionRange(_0x3a4caf['model']['createRange'](_0x35259c,_0x35259c['getShiftedBy'](_0x5460f5)),_0x3a4caf['model']),_0x4401c2='suggestion:insertion:'+ckeditor5['uid']()+':$aiSuggestion';_0xef7b96['markers']['set'](_0x4401c2,_0x2c24f2);break;}case'split':{_0x18f295['batch']['addOperation'](_0x39b92f),_0x3a4caf['model']['applyOperation'](_0x39b92f);const _0x379a48=_0x39b92f['splitPosition'],_0xdcb4e5=_0x39b92f['moveTargetPosition'],_0x236a4c=_0x3a4caf['model']['createRange'](_0x379a48,_0xdcb4e5),_0x3a9467='suggestion:insertion:'+ckeditor5['uid']()+':$aiSuggestion';_0xef7b96['markers']['set'](_0x3a9467,_0x236a4c);break;}case'move':{_0x18f295['batch']['addOperation'](_0x39b92f),_0x3a4caf['model']['applyOperation'](_0x39b92f),_0x4a223b[_0x229a5e-0x1]&&'insert'==_0x4a223b[_0x229a5e-0x1]['type']&&transformMarkers(_0xef7b96,_0x39b92f);const _0x33e876=_0x39b92f['getMovedRangeStart'](),_0x32dbef=_0x39b92f['howMany'];for(let _0x2beb88=0x0;_0x2beb88<_0x32dbef;_0x2beb88++){const _0x5b5559=_0x33e876['getShiftedBy'](_0x2beb88)['nodeAfter'];_0x49167a['add'](_0x5b5559);}break;}case'remove':{const _0x278f84=_0x39b92f['sourcePosition'],_0x259a88=_0x39b92f['howMany'],_0xe8e4f2=new ckeditor5['_DetachOperation'](_0x278f84,_0x259a88);_0x18f295['batch']['addOperation'](_0xe8e4f2),_0x3a4caf['model']['applyOperation'](_0xe8e4f2);break;}}}for(const _0x2e4aa5 of _0x49167a){const _0x599d71=_0x3a4caf['model']['createRangeOn'](_0x2e4aa5),_0x369942='suggestion:formatBlock:$fakeWrap:'+ckeditor5['uid']()+':$aiSuggestion';_0xef7b96['markers']['set'](_0x369942,fixElementSuggestionRange(_0x599d71,_0x3a4caf['model']));}});}function transformMarkers(_0x169ec4,_0x5d5bfa){for(const [_0x1bcb2c,_0x545b2c]of _0x169ec4['markers']){const _0x207366=ckeditor5['ModelRange']['_createFromRanges'](_0x545b2c['getTransformedByOperation'](_0x5d5bfa));_0x169ec4['markers']['set'](_0x1bcb2c,_0x207366);}}function getMinimalSelection(_0x550c53,_0x32e425,_0xa96835){const _0x2e805d=_0x550c53['plugins']['get']('DocumentCompare');let _0x10023a=_0x550c53['model']['createPositionAt'](_0xa96835,Number['POSITIVE_INFINITY']),_0x35861d=_0x550c53['model']['createPositionAt'](_0xa96835,0x0);for(const _0xfbdc1e of _0x32e425){let _0x1e12ba,_0x1b9d11;if(_0x2e805d['isMarkedRemoveOperation'](_0xfbdc1e))_0x1e12ba=_0xfbdc1e['newRange']['start'],_0x1b9d11=_0xfbdc1e['newRange']['end'];else switch(_0x10023a=_0x10023a['getTransformedByOperation'](_0xfbdc1e),_0x35861d=_0x35861d['getTransformedByOperation'](_0xfbdc1e),_0xfbdc1e['type']){case'rename':_0x1e12ba=_0xfbdc1e['position'],_0x1b9d11=_0x1e12ba['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0x1e12ba=_0xfbdc1e['range']['start'],_0x1b9d11=_0xfbdc1e['range']['end'];break;case'insert':_0x1e12ba=_0xfbdc1e['position'],_0x1b9d11=_0x1e12ba['getShiftedBy'](_0xfbdc1e['howMany']);break;case'split':_0x1e12ba=_0xfbdc1e['splitPosition'],_0x1b9d11=_0xfbdc1e['moveTargetPosition'];break;case'merge':{const _0x1623e0=_0xfbdc1e['targetPosition']['path']['slice'](0x0,-0x1);_0x1e12ba=_0x550c53['model']['createPositionFromPath'](_0xa96835,_0x1623e0),_0x1b9d11=_0x1e12ba['getShiftedBy'](0x1);break;}case'remove':{const _0xc33df5=_0xfbdc1e['howMany'],_0x498b23=_0xfbdc1e['sourcePosition']['_getTransformedByInsertion'](_0xfbdc1e['targetPosition'],_0xc33df5),_0x1aa92b=_0xfbdc1e['getMovedRangeStart']();'remove'==_0xfbdc1e['type']?(_0x1e12ba=_0x498b23,_0x1b9d11=_0x498b23):(_0x1e12ba=_0x1aa92b,_0x1b9d11=_0x1aa92b['getShiftedBy'](_0xc33df5));break;}}_0x1e12ba&&_0x1e12ba['isBefore'](_0x10023a)&&(_0x10023a=_0x1e12ba['clone'](),_0x10023a['stickiness']='toNone'),_0x1b9d11&&_0x1b9d11['isAfter'](_0x35861d)&&(_0x35861d=_0x1b9d11['clone'](),_0x35861d['stickiness']='toNone');}return _0x550c53['model']['createSelection'](_0x550c53['model']['createRange'](_0x10023a,_0x35861d));}function expandSelectionWithContext(_0x391a26,_0x5dfdc7){expandSelection(_0x391a26,_0x5dfdc7,'forward');const _0x119846=_0x5dfdc7['getFirstRange']();_0x5dfdc7['setTo']([]),_0x5dfdc7['setTo'](_0x119846,{'backward':!0x0}),expandSelection(_0x391a26,_0x5dfdc7,'backward');}function expandSelection(_0x44d8db,_0x1f53d3,_0x51267c){let _0x15636a=0x14;for(;_0x15636a;){_0x44d8db['modifySelection'](_0x1f53d3,{'unit':'word','direction':_0x51267c}),_0x15636a--;const _0x513f3d=_0x1f53d3['focus']['forward'==_0x51267c?'nodeBefore':'nodeAfter'];if(_0x513f3d&&_0x513f3d['is']('element')&&_0x44d8db['schema']['isBlock'](_0x513f3d)&&_0x44d8db['schema']['isObject'](_0x513f3d))break;}}function shrinkFragmentToSelection(_0x322747,_0x3f1e75){const _0x452c5c=_0x3f1e75['getFirstRange']()['start'];let _0x219069=_0x3f1e75['getFirstRange']()['end'];const _0x1b6091=_0x452c5c['root'];(_0x219069['textNode']||_0x219069['nodeAfter']&&_0x219069['nodeAfter']['is']('$text'))&&(ckeditor5['_insertIntoModelNodeList'](_0x219069,'...'),_0x219069=_0x219069['getShiftedBy'](0x3)),(_0x452c5c['textNode']||_0x452c5c['nodeBefore']&&_0x452c5c['nodeBefore']['is']('$text'))&&(ckeditor5['_insertIntoModelNodeList'](_0x452c5c,'...'),_transformMarkersByInsertion(_0x1b6091,_0x452c5c,0x3),_0x452c5c['parent']==_0x219069['parent']&&(_0x219069=_0x219069['getShiftedBy'](0x3)));const _0x5e4b69=_0x322747['createRange'](_0x322747['createPositionAt'](_0x1b6091,0x0),_0x452c5c),_0x233c62=_0x322747['createRange'](_0x219069,_0x322747['createPositionAt'](_0x1b6091,'end')),_0xc3f616=[..._0x5e4b69['getMinimalFlatRanges'](),..._0x233c62['getMinimalFlatRanges']()];_0xc3f616['reverse']();for(const _0x223ad7 of _0xc3f616)ckeditor5['_removeFromModelNodeList'](_0x223ad7),_transformMarkersByDeletion(_0x1b6091,_0x223ad7);}function _transformMarkersByDeletion(_0x471f7b,_0x1534a8){for(const [_0x259455,_0x32c8c6]of _0x471f7b['markers']){const _0x498b72=_0x32c8c6['_getTransformedByDeletion'](_0x1534a8['start'],_0x1534a8['end']['offset']-_0x1534a8['start']['offset']);null!=_0x498b72?_0x471f7b['markers']['set'](_0x259455,_0x498b72):_0x471f7b['markers']['delete'](_0x259455);}}function _transformMarkersByInsertion(_0x3c9e2c,_0x49b957,_0x15da94){for(let [_0x5c5662,_0x2138f0]of _0x3c9e2c['markers']){const _0x86a545=_0x2138f0['_getTransformedByInsertion'](_0x49b957,_0x15da94,!0x1);_0x2138f0=_0x86a545[0x0],_0x3c9e2c['markers']['set'](_0x5c5662,_0x2138f0);}}class _0xeced9a extends ckeditor5['ObservableMixin'](){['id'];['interactionId'];['type'];['sources']=[];['parsedContent']=new Document([]);['parsedMergedContent']=new Document([]);['changeGroups']=[];['areActionsDisabled']=!0x1;['documentContextContent'];['aiResponseParser'];['aiResponseApplier'];['editor'];['cachedSuggestionContentParts']={'withDiff':[],'withoutDiff':[]};constructor({type:_0x2ea559,content:_0xe6fac7='',isDone:_0x5a817f=!0x1,interactionId:_0x36cc46,areActionsDisabled:_0x117a0f,documentContextContent:_0x31c67f,editor:_0x265986,id:_0xd6bdd8}){super(),this['id']=_0xd6bdd8||ckeditor5['uid'](),this['interactionId']=_0x36cc46,this['type']=_0x2ea559,this['areActionsDisabled']=!!_0x117a0f,this['editor']=_0x265986,this['aiResponseParser']=new _0x1bb9d8(),this['aiResponseApplier']=new _0x36014f(),this['documentContextContent']=_0x10117b(_0x31c67f||''),this['set']('isDone',_0x5a817f),this['on']('change:content',()=>{this['onContentChange']();}),this['set']('content',_0xe6fac7);}['appendContent'](_0x1ab7ef){this['set']('content',this['content']+_0x1ab7ef);}['done'](){this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}['destroy'](){this['stopListening']();}['setChangeGroupState'](_0x56c084,_0x1326a2){this['changeGroups'][_0x56c084]['state']=_0x1326a2,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0x56c084,'state':_0x1326a2});}['getContentParts']({showDiff:_0x2eb411,groupIndex:_0x566829}){if(!this['editor'])throw new ckeditor5['CKEditorError']('ai-get-editor-from-context-no-editor',null,{'aiReply':this});const _0x30b135=this['_getCachedContentParts'](_0x2eb411,_0x566829);if(_0x30b135)return _0x30b135;let _0x1ce58b=[];if(void 0x0===_0x566829)_0x1ce58b=this['changeGroups'];else{const _0x9ba820=this['changeGroups']['find'](({index:_0x2b1f69})=>_0x2b1f69===_0x566829);if(!_0x9ba820)throw new ckeditor5['CKEditorError']('ai-reply-get-content-parts-group-not-found',null,{'aiReply':this,'groupIndex':_0x566829});_0x1ce58b=[_0x9ba820];}const _0xf3f490=getSuggestionPartsFromReply({'editor':this['editor'],'showDiff':_0x2eb411,'changeGroups':_0x1ce58b,'documentContextContent':this['documentContextContent']});return this['_setCachedContentParts'](_0x2eb411,_0xf3f490),_0xf3f490;}['_getCachedContentParts'](_0x12eb1d,_0x4ede90){const _0x2802b2=_0x12eb1d?'withDiff':'withoutDiff';if(!this['cachedSuggestionContentParts'][_0x2802b2]['length'])return null;const _0x1d51f5=this['cachedSuggestionContentParts'][_0x2802b2];if(void 0x0===_0x4ede90)return _0x1d51f5['length']>0x0&&_0x1d51f5['length']!==this['changeGroups']['length']?(this['_setCachedContentParts'](_0x12eb1d,null),null):_0x46515b(_0x1d51f5);{const _0xaea2d8=_0x1d51f5['find'](({index:_0x332353})=>_0x332353===_0x4ede90);if(_0xaea2d8)return[_0x46515b(_0xaea2d8)];}return null;}['_setCachedContentParts'](_0x2c9c36,_0x1af049){const _0xa65769=_0x2c9c36?'withDiff':'withoutDiff';_0x1af049?_0x1af049['forEach'](_0x20a82a=>{const _0x32277c=this['cachedSuggestionContentParts'][_0xa65769],_0x596636=_0x32277c['find'](({index:_0x49c8c3})=>_0x49c8c3===_0x20a82a['index']);if(_0x596636){const _0x108104=_0x32277c['indexOf'](_0x596636);_0x32277c['splice'](_0x108104,0x1,_0x20a82a);}else _0x32277c['push'](_0x20a82a);}):this['cachedSuggestionContentParts'][_0xa65769]['length']=0x0;}['onContentChange'](){if('modification'===this['type']){this['parsedContent']=this['aiResponseParser']['parseAndNormalizeHTML'](this['content']);const _0x2adb9e=this['changeGroups'];this['updateChangeGroups']();const _0x4f5ec6=this['_getDifferentChangeGroups'](_0x2adb9e,this['changeGroups']);(_0x4f5ec6['length']||this['isDone'])&&(this['fire']('replyContentUpdated',this,_0x4f5ec6),this['cachedSuggestionContentParts']['withDiff']['length']=this['cachedSuggestionContentParts']['withoutDiff']['length']=0x0);}else this['parsedContent']=this['aiResponseParser']['convertMarkdownToHTML'](this['content']),this['fire']('replyContentUpdated',this);}['_getDifferentChangeGroups'](_0x4d3613,_0x56275c){const _0x2d1887=[];for(const _0x3194f0 of _0x56275c){const _0x12ecd2=_0x4d3613[_0x3194f0['index']];_0x12ecd2?_0x12ecd2['changes']['length']!==_0x3194f0['changes']['length']?_0x2d1887['push'](_0x3194f0):_0x12ecd2['changes']['forEach']((_0x115e97,_0x15f998)=>{const _0x361d78=_0x3194f0['changes'][_0x15f998];_0x115e97['id']!==_0x361d78['id']&&_0x2d1887['push'](_0x3194f0);}):_0x2d1887['push'](_0x3194f0);}return _0x2d1887;}['updateChangeGroups'](){const _0x206630=new Element$3('p',{},[new Element$3('span',{'style':'color:\x20#808080;\x20font-style:\x20italic'},[new Text$1(getTranslation$i(this['editor']['locale'],'AI_SUGGESTION_CONTENT_PART_REMOVED'))])]),_0x553abe=this['aiResponseApplier']['merge'](this['parsedContent'],this['documentContextContent']['cloneNode'](!0x0),{'markUnstableElements':!this['isDone'],'replaceRemovedWith':_0x206630,'cutAfterLastChange':!this['isDone']});if(!_0x553abe['modifiedNodeIds']['length']&&!this['isDone'])return;this['parsedMergedContent']=_0x553abe['parsedContent'];let _0x31c590=[];if(_0x55d750(_0x2608d6=>{const _0x581647=getAttribute(_0x2608d6,'data-id');if(!_0x581647||!_0x55d8f2(_0x581647))return!0x1;const _0x5e28da=[_0x2608d6,...getParents(_0x2608d6)]['at'](-0x2);if(_0x2608d6!=_0x5e28da){const _0x419959=getAttribute(_0x5e28da,'data-id');_0x55d8f2(_0x419959)||(_0x31c590['push']({'node':_0x5e28da,'id':_0x419959,'type':'modified'}),_0x553abe['modifiedNodeIds']['push'](_0x419959));}else _0x553abe['modifiedNodeIds']['includes'](_0x581647)?_0x31c590['push']({'node':_0x2608d6,'type':'modified','id':_0x581647}):_0x553abe['newNodeIds']['includes'](_0x581647)?_0x31c590['push']({'node':_0x2608d6,'type':'new','id':_0x581647,'anchorId':getAttribute(_0x2608d6['previousSibling'],'data-id')}):_0x31c590['push']({'node':_0x2608d6,'type':'removed','id':_0x581647});return!0x0;},this['parsedMergedContent']),_0x31c590=_0x31c590['filter'](({node:_0x22aa79})=>[...getParents(_0x22aa79),_0x22aa79]['every'](_0x5c7c08=>!getAttribute(_0x5c7c08,'data-unstable'))),0x0==_0x31c590['length'])return;const _0x34dee4=[[_0x31c590[0x0]]];for(let _0x5a8362=0x1;_0x5a8362<_0x31c590['length'];_0x5a8362++){const _0x36dd3d=_0x34dee4[_0x34dee4['length']-0x1],_0x1cf233=_0x36dd3d[_0x36dd3d['length']-0x1];_0x31c590[_0x5a8362]['node']['previousSibling']==_0x1cf233['node']&&'modified'!=_0x31c590[_0x5a8362]['type']&&'modified'!=_0x1cf233['type']?_0x36dd3d['push'](_0x31c590[_0x5a8362]):_0x34dee4['push']([_0x31c590[_0x5a8362]]);}for(const _0x252b45 of _0x34dee4){const _0x109dbe=_0x252b45[0x0],_0x46ac9f=_0x252b45[_0x252b45['length']-0x1],_0x37baae=_0x19dca1(_0x109dbe['node']['previousSibling']);_0x37baae&&_0x252b45['unshift'](_0x37baae);const _0x502531=_0x19dca1(_0x46ac9f['node']['nextSibling']);_0x502531&&_0x252b45['push'](_0x502531);}function _0x55d8f2(_0x21269c){return _0x553abe['modifiedNodeIds']['includes'](_0x21269c)||_0x553abe['newNodeIds']['includes'](_0x21269c)||_0x553abe['removedNodeIds']['includes'](_0x21269c);}function _0x19dca1(_0x1f0fa2){if(_0x1f0fa2&&getAttribute(_0x1f0fa2,'data-id')&&!getAttribute(_0x1f0fa2,'data-unstable')){const _0x514bd4=getAttribute(_0x1f0fa2,'data-id');if(!_0x55d8f2(_0x514bd4))return{'node':_0x1f0fa2,'type':'context','id':_0x514bd4};}return null;}this['changeGroups']=_0x34dee4['map']((_0x4ebf3c,_0x1a95b8)=>({'changes':_0x4ebf3c,'state':'pending','index':_0x1a95b8}));}}const _0xddaf2=['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;['editor'];['_isReasoning']=!0x1;['_isWebSearching']=!0x1;constructor({connector:_0x36c53b,editor:_0x1fdfb0}){super(),this['id']=ckeditor5['uid'](),this['connector']=_0x36c53b,this['isStopped']=!0x0,this['editor']=_0x1fdfb0;}async['start'](){const _0x2a9bf3=[];let _0x1c1b8b,_0x322f2a,_0x2d06b4;this['isStopped']=!0x1;try{this['currentRequest']=await this['sendRequest'](),this['fire']('interactionStarted',this);const _0x236062=await this['currentRequest']['getStream']();for await(const _0x2963c3 of _0x236062){if(this['isStopped'])return;if('error'==_0x2963c3['event'])return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-interaction-error',this)});switch(_0x2963c3['event']){case'message-metadata':this['messageId']=_0x2963c3['data']['messageId'];break;case'action-metadata':this['actionCallId']=_0x2963c3['data']['callId'];break;case'conversation-title':this['setConversationTitle'](_0x2963c3['data']['conversationTitle'],!0x0);break;case'source':_0x2a9bf3['push'](_0x2963c3['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'](),_0x1c1b8b='modification-delta'==_0x2963c3['event']?'modification':'text',_0x322f2a='modification-delta'==_0x2963c3['event']?_0x2963c3['data']['id']:void 0x0,this['currentReply']&&this['currentReply']['type']!=_0x1c1b8b&&(this['currentReply']['done'](),this['currentReply']=void 0x0),this['currentReply']||(this['currentReply']=this['createReply']({'type':_0x1c1b8b,'interactionId':this['id'],'id':_0x322f2a}),'modification'==_0x1c1b8b&&(this['currentReply']['sources']=_0x2a9bf3['splice'](0x0))),this['currentReply']['appendContent'](_0x2963c3['data']['textDelta']);break;case'mcp-tool-result':_0x2d06b4=JSON['parse'](_0x2963c3['data']['result']),this['_handleToolResultData']({'toolName':_0x2963c3['data']['toolName'],'data':_0x2d06b4['data'],'attributes':_0x2d06b4['attributes']});break;case'mcp-tool-notification':this['_handleToolNotificationData']({'toolName':_0x2963c3['data']['toolName'],'data':_0x2963c3['data']['data']});}}}finally{this['isStopped']||(this['currentReply']&&_0x2a9bf3['length']>0x0&&(this['currentReply']['sources']=_0x2a9bf3['splice'](0x0)),this['_finalizeInteraction'](),this['fire']('interactionFinished',this));}}['stop'](){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}['getReply'](_0x2c19e9){return this['replies']['find'](_0x146833=>_0x146833['id']===_0x2c19e9);}['destroy'](){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x42e5ff=>_0x42e5ff['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}['createReply'](_0x4a6e1f){const _0x2f80fe=new _0xeced9a({'editor':this['editor'],'documentContextContent':this['getDocumentContext']()?.['content'],..._0x4a6e1f});return this['replies']['push'](_0x2f80fe),_0x2f80fe['delegate'](..._0xddaf2)['to'](this),this['fire']('replyCreated',_0x2f80fe),_0x2f80fe;}['setConversationTitle'](_0x3dce3d,_0x2e1abc=!0x1){this['fire']('setConversationTitle',_0x3dce3d,_0x2e1abc);}['resetWebSearchState'](){this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this));}['resetReasoningState'](){this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this));}['_handleToolResultData'](_0x14ac19){this['fire']('toolDataReceived',{'type':'result','toolName':_0x14ac19['toolName'],'data':structuredClone(_0x14ac19['data']||{}),'attributes':structuredClone(_0x14ac19['attributes']||{})},this);}['_handleToolNotificationData'](_0x304534){this['fire']('toolDataReceived',{'type':'notification','toolName':_0x304534['toolName'],'data':structuredClone(_0x304534['data'])},this);}['_finalizeInteraction'](){this['isStopped']=!0x0,this['currentRequest']&&this['currentRequest']['abortController']['abort'](),this['currentReply']&&this['currentReply']['done'](),this['currentRequest']=this['currentReply']=void 0x0;}}var AIContextItemType=function(_0x1474b0){return _0x1474b0['TOOL']='mcp-tool-context',_0x1474b0['FILE']='file',_0x1474b0['DOCUMENT']='document',_0x1474b0['URL']='web-resource',_0x1474b0['TEXT']='text',_0x1474b0['SELECTION']='selection',_0x1474b0;}({}),AIContextTextResourceType=function(_0x14b6cd){return _0x14b6cd['TEXT']='text',_0x14b6cd['MARKDOWN']='markdown',_0x14b6cd['HTML']='html',_0x14b6cd;}({});const _0x1a223f=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']]),_0x25ef2a=['contextItemAdded','contextItemRemoved','contextItemLoadingEnded','contextSent','error','addContextOptionsChanged','sourceResourcesLoaded','resourceStateChanged','uploadProgressChanged'];class AIChatContext extends ckeditor5['ObservableMixin'](){['_connector'];['_config'];['_ownerId'];constructor({connector:_0x5dfe24,config:_0x15af3a,ownerId:_0x276bbd}){super(),this['_connector']=_0x5dfe24,this['_config']=_0x15af3a,this['_ownerId']=_0x276bbd;}['init'](){this['_pendingContextItems']=new Map(),this['_conversationContextItems']=new Map(),this['_ongoingUploads']=new Map(),this['_ongoingUploadOperations']=new Map(),this['_setAddContextOptionsDefaultState']();}['getPendingContextItems'](){return this['_pendingContextItems'];}async['populateFromMessage'](_0x538e37){const _0x264856=await this['_createContextItemFromContent'](_0x538e37);return this['_addToConversationContextItem'](_0x264856),'current-document'===_0x264856['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x264856;}async['_createContextItemFromContent'](_0x363f9c){if(_0x363f9c['type']===AIContextItemType['DOCUMENT']){const _0x30a336=await this['_connector']['fetchDocument'](this['_ownerId'],_0x363f9c['id'])['getDocument']();return{'id':'current-document','uiId':'current-document','label':'Current\x20document','type':_0x363f9c['type'],'content':_0x30a336['content'],'hidden':this['_conversationContextItems']['has']('current-document'),'version':_0x30a336['attributes']?.['version'],'sessionId':_0x30a336['attributes']?.['sessionId']};}if(_0x363f9c['type']===AIContextItemType['TOOL'])return{'id':_0x363f9c['id'],'uiId':_0x363f9c['id'],'label':_0x363f9c['data']?.['label']||_0x363f9c['id'],'type':AIContextItemType['TOOL'],'mcpServerName':_0x363f9c['mcpServerName'],'toolName':_0x363f9c['toolName'],'data':_0x363f9c['data']||{}};return{'id':_0x363f9c['id'],'uiId':_0x363f9c['id'],'label':_0x363f9c['attributes']?.['label']||_0x363f9c['name']||_0x363f9c['url']||_0x363f9c['id'],'type':_0x363f9c['type'],..._0x363f9c?.['attributes']?.['resourceId']?{'resourceId':_0x363f9c['attributes']?.['resourceId']}:{}};}['getSentContextItems'](){return new Map(this['_conversationContextItems']);}['removeFromContext'](_0x4e341b){const _0x43d521=this['_pendingContextItems']['get'](_0x4e341b);_0x43d521?.['isReadOnly']||this['_removeContextItem'](_0x4e341b);}['clearPendingContextItems'](){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x1c5f73 of this['_pendingContextItems']['values']())this['_removeContextItem'](_0x1c5f73['uiId']);const _0x3ce405=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0x3ce405&&this['_addContextItem']({..._0x3ce405,'isReadOnly':!0x0,'hidden':!0x0});}['addToConversationContext'](_0x2e2c30){for(const _0xf197b of _0x2e2c30['values']())this['_addToConversationContextItem'](_0xf197b);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'](_0x3b33de){return Array['from'](_0x3b33de['values']())['map'](_0x33cc1c=>this['_mapContextItemToRequestData'](_0x33cc1c))['filter'](_0x15e88d=>null!==_0x15e88d);}async['addFilesToContext'](_0xccb0e6,_0x281ce5,_0x1b94a5=AIContextItemType['FILE']){const _0x356923='files-'+ckeditor5['uid']();this['_startUploadOperation'](_0x356923);try{await Promise['all'](_0xccb0e6['map'](async _0x5e7baa=>{const _0x3872a9='file-'+ckeditor5['uid'](),_0x58e931=_0x16b4c3(_0x5e7baa['name']);try{this['_addContextItem']({'type':_0x1b94a5,'label':_0x281ce5?.['label']||_0x58e931,'uiId':_0x3872a9,'resourceId':_0x281ce5?.['resourceId']},!0x0);const _0x2a74f1=this['_connector']['uploadFile'](this['_ownerId'],_0x5e7baa,_0x281ce5);this['_ongoingUploads']['set'](_0x3872a9,_0x2a74f1['abortController']);const {id:_0x21c3cc}=await _0x2a74f1['getId']();this['_ongoingUploads']['delete'](_0x3872a9),this['_finishContextItemLoading']({'type':_0x1b94a5,'id':_0x21c3cc,'label':_0x281ce5?.['label']||_0x58e931,'uiId':_0x3872a9,'resourceId':_0x281ce5?.['resourceId']},!0x1);}catch(_0x41b344){this['_ongoingUploads']['delete'](_0x3872a9);if(!(_0x41b344 instanceof ckeditor5['CKEditorError']&&_0x41b344['message']['startsWith']('ai-request-aborted'))){const _0x4726e3=_0x1a223f['get'](_0x41b344['code'])||'ai-chat-file-upload-failed',_0x1e4ee5=new ckeditor5['CKEditorError'](_0x4726e3,null,{'fileName':_0x58e931,..._0x41b344});_0x1e4ee5['stack']=_0x41b344['stack'],this['fire']('error',{'error':_0x1e4ee5});}this['_removeContextItem'](_0x3872a9);}}));}finally{this['_finishUploadOperation'](_0x356923);}}['addCurrentDocumentToContext'](_0x17a89c){if(this['isCurrentDocumentInContext']()||!this['_addContextOptionsState']['document']['enabled'])return;const _0x210f24={'type':AIContextItemType['DOCUMENT'],'uiId':'current-document','label':_0x17a89c,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x210f24);}async['updateCurrentDocument'](_0x33ccd7,_0x47ef6e,_0x22069d,_0x2b910d){const _0x2669ee=this['_pendingContextItems']['get']('current-document');if(_0x2669ee&&_0x33ccd7){_0x2669ee['selection']=_0x2b910d?_0x2b910d['map'](_0xd80241=>({'start':_0xd80241['start'],'end':_0xd80241['end']})):[];try{if(_0x2669ee['version']===_0x47ef6e)return;const {id:_0x74fb8b}=await this['_connector']['uploadDocument'](this['_ownerId'],_0x33ccd7,{'version':_0x47ef6e,'sessionId':_0x22069d})['getId']();_0x2669ee['id']=_0x74fb8b,_0x2669ee['content']=_0x33ccd7,_0x2669ee['version']=_0x47ef6e,_0x2669ee['sessionId']=_0x22069d;}catch(_0x282fb3){const _0x3a744c=new ckeditor5['CKEditorError']('ai-chat-document-upload-failed',null);_0x3a744c['stack']=_0x282fb3['stack'],this['fire']('error',{'error':_0x3a744c});}}}['addSelectionToContext'](_0x243607){this['_addContextItem']({'type':AIContextItemType['SELECTION'],'label':_0x243607,'uiId':'selection','content':_0x243607});}['removeSelectionFromContext'](){this['_removeContextItem']('selection');}async['addUrlToContext'](_0x398fed,_0x1e0cf7){const _0x4870e2='url-'+ckeditor5['uid']();this['_startUploadOperation'](_0x4870e2);const _0x269830='url-'+ckeditor5['uid']();try{this['_addContextItem']({'type':AIContextItemType['URL'],'label':_0x1e0cf7?.['label']||_0x398fed,'uiId':_0x269830,'resourceId':_0x1e0cf7?.['resourceId']},!0x0);const _0x2d32cb=this['_connector']['uploadUrl'](this['_ownerId'],_0x398fed,_0x1e0cf7);this['_ongoingUploads']['set'](_0x269830,_0x2d32cb['abortController']);const {id:_0x17d373}=await _0x2d32cb['getId']();this['_ongoingUploads']['delete'](_0x269830),this['_finishContextItemLoading']({'type':AIContextItemType['URL'],'id':_0x17d373,'label':_0x1e0cf7?.['label']||_0x398fed,'uiId':_0x269830,'resourceId':_0x1e0cf7?.['resourceId']},!0x1);}catch(_0x4c1912){this['_ongoingUploads']['delete'](_0x269830),(_0x4c1912['message']['startsWith']('ai-request-aborted')||this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-url-upload-failed',this,{'url':_0x398fed,'originalError':_0x4c1912}),'url':_0x398fed}),this['_removeContextItem'](_0x269830));}finally{this['_finishUploadOperation'](_0x4870e2);}}['addToolItemToContext'](_0x15aa87){_0x15aa87['id']=_0x15aa87['id']??ckeditor5['uid']()['substring'](0x0,0x15),this['_pendingContextItems']['set'](_0x15aa87['uiId'],_0x15aa87),this['fire']('contextItemAdded',{'contextItem':_0x15aa87,'isLoading':!0x1});}async['loadSourceResources'](_0x31461c,_0x436f92,_0x26271a){const _0x26cff1=this['_addContextOptionsState']['sources']['find'](_0x30cf08=>_0x30cf08['id']===_0x31461c);if(!_0x26cff1)return this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-source-not-found',this,{'sourceId':_0x31461c}),'sourceId':_0x31461c}),[];try{const _0x5b9372=(await _0x26cff1['getResources'](_0x436f92))['map'](_0x29481a=>{const _0x2154a3=this['_isResourceInContext'](_0x29481a['id']);return{..._0x29481a,'isInContext':_0x2154a3};});return _0x26cff1['resources']=_0x5b9372,this['fire']('sourceResourcesLoaded',{'sourceId':_0x31461c,'source':_0x26cff1,'resources':_0x5b9372,'uid':_0x26271a}),_0x5b9372;}catch(_0x18372f){return this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-source-resources-load-failed',this,{'sourceId':_0x31461c,'originalError':_0x18372f}),'sourceId':_0x31461c,'sourceLabel':_0x26cff1['label']}),[];}}async['addResourceToContext'](_0x34362c,_0x2355ab){if(this['_isResourceInContext'](_0x2355ab['id']))return;let _0x5cfcb8=_0x2355ab['data'];if(!_0x5cfcb8&&_0x34362c['getData'])try{_0x5cfcb8=await _0x34362c['getData'](_0x2355ab['id']);}catch(_0x228435){return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-resource-load-failed',this,{'resourceId':_0x2355ab['id'],'sourceId':_0x34362c['id'],'originalError':_0x228435}),'resourceId':_0x2355ab['id'],'sourceId':_0x34362c['id']});}if(_0x5cfcb8)switch(_0x2355ab['type']){case AIContextItemType['URL']:if('string'!=typeof _0x5cfcb8)return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x2355ab['id'],'sourceId':_0x34362c['id'],'expectedType':'string','actualType':typeof _0x5cfcb8}),'resourceId':_0x2355ab['id'],'sourceId':_0x34362c['id']});await this['addUrlToContext'](_0x5cfcb8,{'label':_0x2355ab['label'],'resourceId':_0x2355ab['id']});break;case AIContextItemType['FILE']:if(!(_0x5cfcb8 instanceof File))return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x2355ab['id'],'sourceId':_0x34362c['id'],'expectedType':'File','actualType':typeof _0x5cfcb8}),'resourceId':_0x2355ab['id'],'sourceId':_0x34362c['id']});await this['addFilesToContext']([_0x5cfcb8],{'label':_0x2355ab['label'],'resourceId':_0x2355ab['id']});break;case AIContextItemType['TEXT']:if('object'!=typeof _0x5cfcb8||!('content'in _0x5cfcb8)||!('type'in _0x5cfcb8))return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x2355ab['id'],'sourceId':_0x34362c['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x5cfcb8}),'resourceId':_0x2355ab['id'],'sourceId':_0x34362c['id']});_0x5cfcb8=AIChatContext['_convertTextResourceToFile'](_0x5cfcb8,_0x2355ab['label']),await this['addFilesToContext']([_0x5cfcb8],{'label':_0x2355ab['label'],'resourceId':_0x2355ab['id']},AIContextItemType['TEXT']);break;case AIContextItemType['TOOL']:break;default:this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-unsupported-type',this,{'resourceId':_0x2355ab['id'],'sourceId':_0x34362c['id'],'resourceType':_0x2355ab['type']}),'resourceId':_0x2355ab['id'],'sourceId':_0x34362c['id']});}else this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-resource-no-data',this,{'resourceId':_0x2355ab['id'],'sourceId':_0x34362c['id']}),'resourceId':_0x2355ab['id'],'sourceId':_0x34362c['id']});}static['_convertTextResourceToFile'](_0x17b71b,_0x52edb0){switch(_0x17b71b['type']){case AIContextTextResourceType['MARKDOWN']:return new File([_0x17b71b['content']],_0x52edb0,{'type':'text/markdown'});case AIContextTextResourceType['HTML']:return new File([_0x17b71b['content']],_0x52edb0,{'type':'text/html'});default:return new File([_0x17b71b['content']],_0x52edb0,{'type':'text/plain'});}}static['_mapContextItemToRequestData'](_0x2966fe){switch(_0x2966fe['type']){case AIContextItemType['FILE']:return{'type':AIContextItemType['FILE'],'id':_0x2966fe['id']};case AIContextItemType['URL']:return{'type':AIContextItemType['URL'],'id':_0x2966fe['id']};case AIContextItemType['DOCUMENT']:return{'type':AIContextItemType['DOCUMENT'],'id':_0x2966fe['id'],..._0x2966fe['selection']?.['length']&&{'selection':_0x2966fe['selection']}};case AIContextItemType['TEXT']:return{'type':AIContextItemType['FILE'],'id':_0x2966fe['id']};case AIContextItemType['TOOL']:{const _0x1a5b2f=_0x2966fe;return{'type':AIContextItemType['TOOL'],'mcpServerName':_0x1a5b2f['mcpServerName'],'toolName':_0x1a5b2f['toolName'],'data':_0x1a5b2f['data'],'id':_0x1a5b2f['id']};}default:return null;}}['_addContextItem'](_0x5e9f97,_0x308bdd=!0x1){if(this['_pendingContextItems']['set'](_0x5e9f97['uiId'],_0x5e9f97),_0x5e9f97['hidden']||this['fire']('contextItemAdded',{'contextItem':_0x5e9f97,'isLoading':_0x308bdd}),'current-document'===_0x5e9f97['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x5e9f97['resourceId']){const _0x2cd1fa=this['_findSourceIdsByResourceId'](_0x5e9f97['resourceId']);_0x2cd1fa&&_0x2cd1fa['forEach'](_0x52b13c=>{this['_updateResourceInContextState'](_0x52b13c,_0x5e9f97['resourceId'],!0x0);});}}['_removeContextItem'](_0x512313){const _0x1ee371=this['_pendingContextItems']['get'](_0x512313),_0x4c8196=this['_ongoingUploads']['get'](_0x512313);if(_0x4c8196&&(_0x4c8196['abort'](),this['_ongoingUploads']['delete'](_0x512313)),_0x1ee371?.['resourceId']){const _0x186e6e=this['_findSourceIdsByResourceId'](_0x1ee371['resourceId']);_0x186e6e&&_0x186e6e['forEach'](_0x456639=>{this['_updateResourceInContextState'](_0x456639,_0x1ee371['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0x512313),this['fire']('contextItemRemoved',{'uiId':_0x512313,'type':_0x1ee371?.['type']}),'current-document'===_0x512313&&this['_toggleAddCurrentDocumentOptionVisibility']();}['_finishContextItemLoading'](_0x1ea1b0,_0x58f0ea){if(this['_pendingContextItems']['has'](_0x1ea1b0['uiId'])&&(this['_pendingContextItems']['set'](_0x1ea1b0['uiId'],_0x1ea1b0),this['fire']('contextItemLoadingEnded',{'contextItem':_0x1ea1b0,'isLoading':_0x58f0ea}),_0x1ea1b0['resourceId'])){const _0xd94a55=this['_findSourceIdsByResourceId'](_0x1ea1b0['resourceId']);_0xd94a55&&_0xd94a55['forEach'](_0x3d3cb5=>{this['_updateResourceInContextState'](_0x3d3cb5,_0x1ea1b0['resourceId'],!0x0);});}}['_addToConversationContextItem'](_0x4e62b0){this['_conversationContextItems']['set'](_0x4e62b0['uiId'],_0x4e62b0);}['_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'](_0x4bf708=>({..._0x4bf708,'enabled':!0x0}))??[]},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_getCustomSourcesInitialState'](){return this['_config']?.['sources']?.['map'](_0x342416=>({..._0x342416,'resources':[]}))??[];}['_toggleAddCurrentDocumentOptionVisibility'](){const _0x53ae26=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0x53ae26,this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_isResourceInContext'](_0x48687c){for(const _0xb895c4 of this['_pendingContextItems']['values']())if(_0xb895c4['resourceId']===_0x48687c)return!0x0;for(const _0x21dc20 of this['_conversationContextItems']['values']())if(_0x21dc20['resourceId']===_0x48687c)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0x28f178){const _0x3b84ce=[];for(const _0x3289f7 of this['_addContextOptionsState']['sources']){_0x3289f7['resources']['find'](_0x46c664=>_0x46c664['id']===_0x28f178)&&_0x3b84ce['push'](_0x3289f7['id']);}return 0x0===_0x3b84ce['length']?null:_0x3b84ce;}['_updateResourceInContextState'](_0x23ec71,_0x197f42,_0x705092){const _0x52c0a7=this['_addContextOptionsState']['sources']['find'](_0x3add54=>_0x3add54['id']===_0x23ec71);if(!_0x52c0a7)return;const _0x50f095=_0x52c0a7['resources']['find'](_0x240735=>_0x240735['id']===_0x197f42);_0x50f095&&(_0x50f095['isInContext']=_0x705092,this['fire']('resourceStateChanged',{'sourceId':_0x23ec71,'resourceId':_0x197f42,'isInContext':_0x705092}));}['_startUploadOperation'](_0x151116){this['_ongoingUploadOperations']['set'](_0x151116,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}['_finishUploadOperation'](_0x31b5bd){this['_ongoingUploadOperations']['delete'](_0x31b5bd),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}}const _0x5e5233=['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'](_0x1d18e2){const _0x484857={};return _0x1d18e2&&_0x1d18e2['isWebSearchEnabled']&&(_0x484857['webSearch']={}),_0x1d18e2&&_0x1d18e2['isReasoningEnabled']&&(_0x484857['reasoning']={}),_0x484857;}['toggleWebSearch'](){this['setWebSearch'](!this['_isWebSearchEnabled']);}['toggleReasoning'](){this['setReasoning'](!this['_isReasoningEnabled']);}['setWebSearch'](_0x42ee7f){_0x42ee7f!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0x42ee7f,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}['setReasoning'](_0x235522){_0x235522!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0x235522,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}}class AIChatInteraction extends AIInteraction{['userMessage'];['conversationId'];['contextItems']=new Map();['model'];['attributes'];constructor(_0x550711){super(_0x550711),this['conversationId']=_0x550711['conversationId'],this['contextItems']=_0x550711['contextItems'],this['capabilities']=_0x550711['capabilities'],this['userMessage']=_0x550711['userMessage'],this['model']=_0x550711['model'],this['attributes']=_0x550711['attributes'];}async['sendRequest'](){return this['connector']['queryAssistant']({'message':this['userMessage'],'conversationId':this['conversationId'],'parts':AIChatContext['mapContextItemsToRequestData'](this['contextItems']),'capabilities':AICapabilities['getCapabilitiesRequestData'](this['capabilities']),'model':this['model'],'attributes':this['attributes']});}['getDocumentContext'](){return this['contextItems']['get']('current-document');}}class AIChatConversation extends ckeditor5['EmitterMixin'](){['id'];['isStarted']=!0x1;['isFromHistory'];['interactions']=[];['currentInteraction'];['selectedModel'];['connector'];['options'];constructor(_0x17b387){super(),this['options']=_0x17b387,this['connector']=_0x17b387['connector'],this['chatModels']=_0x17b387['chatModels'],this['id']=_0x17b387['conversationId'],this['isFromHistory']=_0x17b387['isFromHistory'];}async['init'](_0x3ef824){try{this['chatContext']=new AIChatContext({'connector':this['connector'],'config':_0x3ef824,'ownerId':this['id']}),this['chatContext']['delegate'](..._0x25ef2a)['to'](this),this['chatContext']['init'](),this['chatCapabilities']=new AICapabilities(),this['chatCapabilities']['delegate'](..._0x5e5233)['to'](this),this['chatCapabilities']['init']();const _0x51158a=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x51158a});const _0x22b006=await this['chatModels']['getModel'](this['options']['selectedModelId']);_0x22b006&&await this['setModel'](_0x22b006);}catch(_0x23286b){const _0x3a6f57=new ckeditor5['CKEditorError']('ai-chat-conversation-init-failed',null,{'message':_0x23286b['message']||_0x23286b});_0x3a6f57['stack']=_0x23286b['stack'],this['fire']('error',{'error':_0x3a6f57});}}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:_0x1534d0}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0x1534d0,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0x5a6d08){const _0x3b8134=new ckeditor5['CKEditorError']('ai-chat-conversation-start-failed',null,{'message':_0x5a6d08['message'],'conversationId':this['id']});throw _0x3b8134['stack']=_0x5a6d08['stack'],this['fire']('error',{'error':_0x3b8134}),_0x3b8134;}}async['load'](_0x9a86b2,_0xc5f4ee){try{const _0x24893e=await this['connector']['fetchConversation'](_0x9a86b2)['getConversation'](),_0x335d9e=await this['connector']['fetchConversationMessages'](_0x9a86b2)['getMessages'](),_0x2a2843=_0x335d9e[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x24893e['id'],'title'in _0x24893e?this['fire']('setConversationTitle',_0x24893e['title'],!0x0):this['fire']('setConversationTitle','',!0x0);const _0x3ac534=(await this['chatModels']['getAll']())['find'](_0x55b22f=>_0x55b22f['id']['toLowerCase']()===_0x2a2843['toLowerCase']());return this['selectedModel']=_0x3ac534,this['fire']('modelSelected',{'selectedModel':_0x3ac534,'isDisabled':!0x0}),await this['_processMessagesToInteractions'](_0x335d9e,_0xc5f4ee,_0x2a2843),this['currentInteraction']=void 0x0,this;}catch(_0x1a4730){const _0x5f4b4a=new ckeditor5['CKEditorError']('ai-chat-conversation-init-from-id-failed',null,{'message':_0x1a4730['message'],'conversationId':_0x9a86b2});throw _0x5f4b4a['stack']=_0x1a4730['stack'],this['fire']('error',{'error':_0x5f4b4a}),_0x5f4b4a;}}async['_processMessagesToInteractions'](_0x4aefd6,_0x3d2dc2,_0xd2836a){let _0x313d2e;for(const _0x4e95df of _0x4aefd6)if('user'===_0x4e95df['role']){const _0x7497ac=await this['_extractContextItems'](_0x4e95df),_0x4a5dae={'isReasoningEnabled':Object['hasOwn'](_0x4e95df['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0x4e95df['capabilities'],'webSearch')};_0x313d2e=this['createInteraction']({'userMessage':_0x4e95df['prompt'],'contextItems':_0x7497ac,'capabilities':_0x4a5dae,'modelId':_0xd2836a,'attributes':_0x4e95df['attributes']}),this['currentInteraction']=_0x313d2e,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0x4e95df['role']&&_0x313d2e){const _0x118128=[];for(const _0x132d6a of _0x4e95df['content'])switch(_0x132d6a['type']){case'text':case'modification':{const _0x3eccb9=_0x313d2e['getDocumentContext']()?.['sessionId']!==_0x3d2dc2;_0x313d2e['currentReply']=_0x313d2e['createReply']({'type':_0x132d6a['type'],'isDone':!0x0,'interactionId':_0x313d2e['id'],'areActionsDisabled':_0x3eccb9}),_0x313d2e['currentReply']['appendContent'](_0x132d6a['content']),_0x118128['length']>0x0&&(_0x313d2e['currentReply']['sources']=_0x118128['splice'](0x0));break;}case'url':_0x118128['push'](_0x132d6a);break;case'mcp-tool-result':{const {data:_0x4e6fc0,attributes:_0xc4fc9b}=JSON['parse'](_0x132d6a['content']);_0x313d2e['_handleToolResultData']({'toolName':_0x132d6a['toolName'],'data':_0x4e6fc0,'attributes':_0xc4fc9b});break;}}}}}async['_extractContextItems'](_0x40d9d6){const _0x5c8036=new Map();if(!_0x40d9d6['content'])return _0x5c8036;for(const _0x7a4e4a of _0x40d9d6['content']){const _0x145542=await this['chatContext']['populateFromMessage'](_0x7a4e4a);_0x145542&&_0x5c8036['set'](_0x145542['id'],_0x145542);}return _0x5c8036;}async['handleUserInteraction']({userMessage:_0x28cbb4,attributes:_0x1c71f4}){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 _0x4bd67b=this['chatContext']['getPendingContextItems'](),_0x479fb5=this['chatCapabilities']['getCapabilitiesConfig'](),_0x88e81a=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x28cbb4,'contextItems':_0x4bd67b,'capabilities':_0x479fb5,'modelId':_0x88e81a,'attributes':_0x1c71f4}),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0x55413a){if(_0x55413a instanceof ckeditor5['CKEditorError'])this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0x55413a});else{const _0x4db060=_0x1a223f['get'](_0x55413a['code'])||'ai-chat-handle-user-interaction-start-failed';this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':new ckeditor5['CKEditorError'](_0x4db060,null,{'error':_0x55413a})});}}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}['createInteraction']({userMessage:_0x5e30e7,contextItems:_0x200314,capabilities:_0x39b675,modelId:_0x1daf60,attributes:_0x3914b6}){const _0x220b7d=new AIChatInteraction({'userMessage':_0x5e30e7,'contextItems':_0x200314,'capabilities':_0x39b675,'conversationId':this['id'],'connector':this['connector'],'editor':this['options']['getEditor']&&this['options']['getEditor'](),'model':_0x1daf60,'attributes':_0x3914b6});return _0x220b7d['delegate'](..._0xddaf2)['to'](this),this['interactions']['push'](_0x220b7d),this['fire']('interactionCreated',_0x220b7d),_0x220b7d;}['getInteraction'](_0x3abc2){return this['interactions']['find'](_0x5d8e41=>_0x5d8e41['id']===_0x3abc2);}['removeInteraction'](_0x43dbf4){const _0x20aa69=this['getInteraction'](_0x43dbf4);_0x20aa69&&(_0x20aa69['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0x20aa69),0x1));}get['lastInteraction'](){return this['interactions'][this['interactions']['length']-0x1];}['addCurrentDocumentToContext'](_0x1aa377){this['chatContext']['addCurrentDocumentToContext'](_0x1aa377);}async['updateCurrentDocumentInContext']({content:_0x5cbb3f,version:_0x36b44e,sessionId:_0x1d1902,selections:_0x1aa046}){await this['chatContext']['updateCurrentDocument'](_0x5cbb3f,_0x36b44e,_0x1d1902,_0x1aa046);}['getCurrentDocumentContext'](){return this['currentInteraction']?.['getDocumentContext']()?.['content']||'';}['addSelectionToContext'](_0x3e64fc){this['chatContext']['addSelectionToContext'](_0x3e64fc);}['removeSelectionFromContext'](){this['chatContext']['removeSelectionFromContext']();}['addFilesToContext'](_0x581a37){this['chatContext']['addFilesToContext'](_0x581a37);}['addUrlToContext'](_0x50e129){this['chatContext']['addUrlToContext'](_0x50e129);}['addToolItemToContext'](_0x3ea063){this['chatContext']['addToolItemToContext'](_0x3ea063);}['addResourceToContext'](_0x25a7d1,_0x1b64c6){this['chatContext']['addResourceToContext'](_0x25a7d1,_0x1b64c6);}['loadSourceResources'](_0x19bc88,_0x5d84ca,_0x4ffc45){return this['chatContext']['loadSourceResources'](_0x19bc88,_0x5d84ca,_0x4ffc45);}['removeFromContext'](_0x41ed5b){this['chatContext']['removeFromContext'](_0x41ed5b);}['setWebSearch'](_0xd5e2bc){this['chatCapabilities']['setWebSearch'](_0xd5e2bc);}['toggleWebSearch'](){this['chatCapabilities']['toggleWebSearch']();}['setReasoning'](_0x6aa00a){this['chatCapabilities']['setReasoning'](_0x6aa00a);}['toggleReasoning'](){this['chatCapabilities']['toggleReasoning']();}['isCurrentDocumentInContext'](){return this['chatContext']['isCurrentDocumentInContext']();}['isCurrentDocumentInConversation'](){return this['chatContext']['isCurrentDocumentInConversation']();}['isSelectionInContext'](){return this['chatContext']['isSelectionInContext']();}async['setModel'](_0x10d71e){_0x10d71e?!0x1===await this['chatModels']['isAvailable'](_0x10d71e)&&(ckeditor5['logWarning']('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x10d71e}),_0x10d71e=(await this['chatModels']['getAvailableModels']())[0x0]):(ckeditor5['logWarning']('ai-chat-conversation-set-model-null',{'conversation':this}),_0x10d71e=(await this['chatModels']['getAvailableModels']())[0x0]),_0x10d71e['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x10d71e,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x10d71e}));}}class _0x27c4cb extends ckeditor5['EmitterMixin'](){['_connector'];['_config'];['_locale'];['_modelList']=[];['_modelsRequest']=null;constructor({connector:_0x10497b,config:_0x789dcc,locale:_0x19586e}){super(),this['_connector']=_0x10497b,this['_config']=_0x789dcc,this['_locale']=_0x19586e;}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 _0xb0909=await this['getAll']();let _0x5ef70d;return _0x5ef70d=this['_availableModels']?this['_filterModels'](_0xb0909,this['_availableModels']):_0xb0909['filter'](_0x4a91c3=>_0x4a91c3['recommended']),_0x5ef70d;}async['getModel'](_0x47c17a){const _0x210118=await this['getAll']();if(!_0x210118['length'])return null;if(_0x47c17a){const _0x3a3a0b=this['_getModelById'](_0x210118,_0x47c17a);if(_0x3a3a0b)return _0x3a3a0b;ckeditor5['logWarning']('ai-chat-model-id-unrecognized',{'modelId':_0x47c17a,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async['getDefault'](){const _0x185124=await this['getAvailableModels']();if(!_0x185124['length'])return null;if(this['_defaultModelId']){const _0x90d136=this['_getModelById'](_0x185124,this['_defaultModelId']);if(_0x90d136)return _0x90d136;ckeditor5['logWarning']('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0x185124[0x0]['id']});}return _0x185124[0x0];}async['isAvailable'](_0x343918){return(await this['getAvailableModels']())['some'](_0x129b2e=>_0x129b2e['name']===_0x343918['name']&&_0x129b2e['provider']===_0x343918['provider']);}async['_retrieveModels'](){if(!this['_modelList']['length'])try{const _0x4ecb47=this['_locale']['uiLanguage']||'en',_0x1cdf5e=this['_connector']['getModels'](_0x4ecb47),_0x2c4366=await _0x1cdf5e['list']();this['_modelList']=_0x2c4366['items']['map'](_0x5eaddc=>isAutoModel(_0x5eaddc)?{..._0x5eaddc,'name':getTranslation$i(this['_locale'],'AI_MODEL_NAME_AUTO')}:_0x5eaddc);}catch(_0x21154a){throw ckeditor5['logError']('ai-models-unable-to-retrieve',{'error':_0x21154a}),_0x21154a;}return[...this['_modelList']];}['_filterModels'](_0x14c053,_0xa993f3){let _0x275082;if(_0xa993f3){_0x275082=[];const _0x4cd963=new Set(),_0x2cdb6e='string'==typeof _0xa993f3?[_0xa993f3['toLocaleLowerCase']()]:_0xa993f3['map'](_0x152db5=>_0x152db5['toLocaleLowerCase']());for(const _0x15a623 of _0x2cdb6e)for(const _0x4b7bef of _0x14c053)!_0x4cd963['has'](_0x4b7bef['id'])&&this['_isMatchingFilter'](_0x4b7bef,_0x15a623)&&(_0x275082['push'](_0x4b7bef),_0x4cd963['add'](_0x4b7bef['id']));}else _0x275082=_0x14c053;return _0x275082;}['_isMatchingFilter'](_0x462e94,_0x4d50cf){const _0x59cb82=_0x462e94['id']['toLocaleLowerCase'](),_0x2c0fb3=_0x462e94['name']['toLocaleLowerCase'](),_0x1ceb56=_0x462e94['provider']['toLocaleLowerCase']();return _0x59cb82===_0x4d50cf||_0x2c0fb3===_0x4d50cf||isAutoModel(_0x462e94)&&'auto'===_0x4d50cf||_0x1ceb56===_0x4d50cf||_0x59cb82['startsWith'](_0x4d50cf);}['_getModelById'](_0x53168b,_0x1dc408){return _0x53168b['find'](_0x2f6613=>isAutoModel(_0x2f6613)&&'auto'===_0x1dc408?_0x2f6613:_0x2f6613['id']===_0x1dc408)||null;}}function isAutoModel(_0x33e4d2){return _0x33e4d2['id']['startsWith']('agent');}function getEditorFromContext(_0x3042a6){if(_0x3042a6 instanceof ckeditor5['Editor'])return _0x3042a6;if(_0x3042a6?.['editors']&&_0x3042a6['editors']['get'](0x0))return _0x3042a6['editors']['length']>0x1&&console['warn']('AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.'),_0x3042a6['editors']['get'](0x0);throw new ckeditor5['CKEditorError']('ai-get-editor-from-context-no-editor');}function getOperationsFromReply({editor:_0x3b4cef,interaction:_0x575d38,reply:_0x45be89,groups:_0x3743e5,transform:_0x1d56e6,documentCompare:_0x41f597,documentCompareOptions:_0x30738b}){const _0x2d34ea=_0x575d38['getDocumentContext']();if(!_0x2d34ea)return[];const _0x3c7e5e=_0x2d34ea['content'],_0xcca54d=_0x2d34ea['version'],_0xfa266b=_0x45be89['documentContextContent']['cloneNode'](!0x0);for(const {changes:_0x3997e7}of _0x3743e5){const _0x122fdb=_0x3997e7['filter'](_0x246352=>'new'!=_0x246352['type'])['map'](_0x4b14e8=>findByAttribute('data-id',_0x4b14e8['id'],_0xfa266b)),_0x513676=_0x3997e7['filter'](_0x59887f=>'removed'!=_0x59887f['type'])['map'](_0x5a4a27=>_0x5a4a27['node']['cloneNode'](!0x0));let _0xfb353f=null;if(_0x122fdb['length']){_0xfb353f=_0x122fdb[0x0]['previousSibling'];for(let _0x2f5695=0x0;_0x2f5695<_0x122fdb['length'];_0x2f5695++)removeElement(_0x122fdb[_0x2f5695]);}if(_0x513676['length']){_0xfb353f||(_0x3997e7[0x0]['anchorId']?_0xfb353f=findByAttribute('data-id',_0x3997e7[0x0]['anchorId'],_0xfa266b):(_0xfb353f=_0x513676['shift'](),_0x2b2911(_0xfa266b,_0xfb353f)));for(let _0x3d3bde=0x0;_0x3d3bde<_0x513676['length'];_0x3d3bde++)_0x504927(_0xfb353f,_0x513676[_0x3d3bde]),_0xfb353f=_0x513676[_0x3d3bde];}}const _0xafeacf=_0x54c47c(_0xfa266b),_0x103065=_0x41f597['getDiff'](_0x3c7e5e,_0xafeacf,_0x30738b)['getOperations']();if(_0x1d56e6){const _0x2fb14a=_0x3b4cef['model']['document']['history']['getOperations'](_0xcca54d),_0x1595a5={'document':_0x3b4cef['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};return ckeditor5['transformOperationSets'](_0x103065,_0x2fb14a,_0x1595a5)['operationsA'];}return _0x103065;}function fixMarkerOperationOldRange(_0x580eac,_0x2ef6a4){if('marker'!=_0x2ef6a4['type'])return;const _0x2287d9=_0x580eac['model']['markers']['get'](_0x2ef6a4['name']);_0x2287d9&&(_0x2ef6a4['oldRange']=_0x2287d9['getRange']());}class AIChatController extends ckeditor5['ContextPlugin']{['_aiEditing'];['_aiConnector'];['_aiChatUi'];['_aiChatModels'];['_aiChatBalloon'];['_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 _0x27c4cb({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});const _0x4f1961=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0x1f9bda,_0x193fbe)=>{this['_handleUIUserMessage']({'userMessage':_0x193fbe});}),this['listenTo'](_0x4f1961,'resizedTabs',(_0x36cd40,_0x393c20)=>{this['_setIsMaximized'](_0x393c20);}),this['listenTo'](this['_aiChatUi'],'resizeTabs',()=>{_0x4f1961['resize']();}),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',(_0x12686f,_0x5244e3)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0x5244e3));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0x35109c,_0xe27bb2)=>{this['activeConversation']?.['addUrlToContext'](_0xe27bb2);}),this['listenTo'](this['_aiChatUi'],'executeCustomItemCallback',(_0x27ebbf,_0x1d2719)=>{_0x1d2719['callback'](this['context']);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0x3be8ab,_0x57c2b3)=>{this['activeConversation']?.['addResourceToContext'](_0x57c2b3['source'],_0x57c2b3['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x388767,_0xfa2d76)=>{this['_removeFromContext'](_0xfa2d76);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x222fd8,_0x4a4861)=>{this['activeConversation']?.['loadSourceResources'](_0x4a4861['sourceId'],_0x4a4861['query'],_0x4a4861['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0x2500a1,_0x37dbc8)=>{this['activeConversation']?.['setModel'](_0x37dbc8);}),this['listenTo'](this['_aiChatUi'],'like',(_0x4e48e6,{replyId:_0x5ca763})=>{console['log']('Liked\x20response',_0x5ca763);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0x44527,{replyId:_0xf98e06})=>{console['log']('Disliked\x20response',_0xf98e06);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x1f5f21,_0x1f76a3)=>{this['_insertSuggestion'](_0x1f76a3);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0x2eca3f,{replyId:_0x5768de,partIndex:_0x13bf80})=>{this['_aiChatBalloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0x5768de,_0x13bf80);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x4c0bdd,{replyId:_0x2a84c2,partIndex:_0x11b2f8})=>{const _0x5108e0=this['_getDocumentRangeForReplyChanges'](_0x2a84c2,_0x11b2f8);_0x5108e0&&'$graveyard'!=_0x5108e0['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']([_0x5108e0['range']],'ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0x38cb1e,_0xff3ae7)=>{this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over'),this['_applySuggestion'](_0xff3ae7);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0x4af2b7,{replyId:_0x48ae01,showDiff:_0x315989})=>{const {reply:_0x16933e}=this['getInteractionAndReplyById'](_0x48ae01),_0x161f3d=_0x16933e['getContentParts']({'showDiff':_0x315989});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x16933e['id'],'parts':_0x161f3d,'renderingStrategy':'static'});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x196285,{replyId:_0x39ca4b,partIndex:_0x47ea70})=>{this['_rejectSuggestion']({'replyId':_0x39ca4b,'partIndex':_0x47ea70}),this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['context']['plugins']['has']('AIChatBalloon')&&(this['_aiChatBalloon']=this['context']['plugins']['get']('AIChatBalloon'),this['set']('_aiChatBalloonShowDiff',!0x1),this['_aiChatBalloon']['bind']('showDiff')['to'](this,'_aiChatBalloonShowDiff'),this['listenTo'](this['_aiChatBalloon'],'toggleSuggestionDisplayMode',()=>{const {replyId:_0x2c9c31,partIndex:_0x547380}=this['_currentPreviewedChangeGroup'];this['_aiChatBalloonShowDiff']=!this['_aiChatBalloonShowDiff'];const {reply:_0xc367e5}=this['getInteractionAndReplyById'](_0x2c9c31),_0x1d43f8=_0xc367e5['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'groupIndex':_0x547380});this['_aiChatBalloon']['updateContent']({'part':_0x1d43f8[0x0],'renderingStrategy':'static','keepErrors':!0x0});}),this['listenTo'](this['_aiChatBalloon'],'applySuggestion',()=>{const {replyId:_0x1f3086,partIndex:_0x41d293}=this['_currentPreviewedChangeGroup'];this['_applySuggestion']({'replyId':_0x1f3086,'partIndex':_0x41d293}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'insertSuggestion',()=>{const {replyId:_0x4d493e,partIndex:_0x5df37a}=this['_currentPreviewedChangeGroup'];this['_insertSuggestion']({'replyId':_0x4d493e,'partIndex':_0x5df37a}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'rejectSuggestion',()=>{const {replyId:_0x3c84d7,partIndex:_0x23637e}=this['_currentPreviewedChangeGroup'];this['_rejectSuggestion']({'replyId':_0x3c84d7,'partIndex':_0x23637e}),this['_aiChatBalloon']['setState']('rejected');}),this['listenTo'](this['_aiChatBalloon'],'showNext',()=>{const {replyId:_0x116ab1,partIndex:_0x2622f2}=this['_currentPreviewedChangeGroup'],_0x347581=this['_getPresentableSiblingContentPartIndex'](_0x116ab1,_0x2622f2,'next');null!==_0x347581&&this['_openBalloonFor'](_0x116ab1,_0x347581);}),this['listenTo'](this['_aiChatBalloon'],'showPrevious',()=>{const {replyId:_0x514d97,partIndex:_0x1556db}=this['_currentPreviewedChangeGroup'],_0x57a41c=this['_getPresentableSiblingContentPartIndex'](_0x514d97,_0x1556db,'previous');null!==_0x57a41c&&this['_openBalloonFor'](_0x514d97,_0x57a41c);}),this['listenTo'](this['_aiChatBalloon'],'dialogClosed',(_0xa318e8,{id:_0x194f77})=>{if('aiChatBalloon'!==_0x194f77)return;const {replyId:_0xa71ecf,partIndex:_0x539f6f}=this['_currentPreviewedChangeGroup'];this['_currentPreviewedChangeGroup']=null,this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0xa71ecf,'index':_0x539f6f,'isActive':!0x1});}));}async['afterInit'](){this['context']instanceof ckeditor5['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x2a05bd,_0x41c677)=>{_0x41c677['on']('ready',()=>{this['_integrateEditor'](_0x41c677);});});const _0x551eda=this['context']['config']['get']('ai.chat.initialConversation');let _0x1fbec=_0x551eda;if('lastCreated'!=_0x551eda||(_0x1fbec=await this['_getLastCreatedConversationId'](),_0x1fbec))return'new'==_0x1fbec?this['_startConversationSafely']():this['loadConversation'](_0x1fbec);}async['destroy'](){return await this['_stopLastInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_insertSuggestion'](_0x5a6168){const _0x27430a=getEditorFromContext(this['context']);if(!_0x27430a['plugins']['has']('TrackChanges'))throw new ckeditor5['CKEditorError']('ai-no-track-changes',null);const _0x24c987=this['context']['plugins']['get']('DocumentCompare'),{reply:_0x501ba1,interaction:_0x97e524}=this['getInteractionAndReplyById'](_0x5a6168['replyId']),_0x56561a=this['_getDocumentRangeForReplyChanges'](_0x5a6168['replyId'],_0x5a6168['partIndex']),_0x5d353e=void 0x0!==_0x5a6168['partIndex']?[_0x501ba1['changeGroups'][_0x5a6168['partIndex']]]:_0x501ba1['changeGroups']['filter'](_0x59811a=>'pending'==_0x59811a['state']),_0xdcaab9=_0x5d353e['map'](_0x15b761=>_0x501ba1['changeGroups']['indexOf'](_0x15b761));if(!_0x56561a||'$graveyard'==_0x56561a['range']['root']['rootName'])return void _0xdcaab9['forEach'](_0x37c4c0=>_0x501ba1['setChangeGroupState'](_0x37c4c0,'outdated'));_0xdcaab9['forEach'](_0x7682f3=>_0x501ba1['setChangeGroupState'](_0x7682f3,'accepted'));const _0x10d00c=getOperationsFromReply({'editor':_0x27430a,'reply':_0x501ba1,'interaction':_0x97e524,'groups':_0x5d353e,'transform':!0x0,'documentCompare':_0x24c987,'documentCompareOptions':{'anchor':'main','markDeletions':!0x0}});let _0x1ea76c;_0x56561a&&this['_scrollToSuggestionRange'](_0x56561a['range']),_0x27430a['model']['change'](_0x336e4f=>{_0x1ea76c=_0x336e4f['batch'],_0x27430a['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x10d00c),this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['_batchToChanges']['set'](_0x1ea76c,{'interactionId':_0x97e524['id'],'replyId':_0x501ba1['id'],'indexes':_0xdcaab9['slice']()}),this['_updateRatings'](_0x501ba1);}['_applySuggestion'](_0x48101d){const _0x5a0fc5=getEditorFromContext(this['context']),_0x13e1c8=this['context']['plugins']['get'](DocumentCompare),{reply:_0x3b7c56,interaction:_0x109401}=this['getInteractionAndReplyById'](_0x48101d['replyId']),_0x394d60=this['_getDocumentRangeForReplyChanges'](_0x48101d['replyId'],_0x48101d['partIndex']),_0x18d37f=void 0x0!==_0x48101d['partIndex']?[_0x3b7c56['changeGroups'][_0x48101d['partIndex']]]:_0x3b7c56['changeGroups']['filter'](_0x5bb12c=>'pending'==_0x5bb12c['state']),_0x377215=_0x18d37f['map'](_0x1f7daa=>_0x3b7c56['changeGroups']['indexOf'](_0x1f7daa));if(!_0x394d60||'$graveyard'==_0x394d60['range']['root']['rootName'])return void _0x377215['forEach'](_0x59b916=>_0x3b7c56['setChangeGroupState'](_0x59b916,'outdated'));_0x377215['forEach'](_0x1752fe=>_0x3b7c56['setChangeGroupState'](_0x1752fe,'accepted'));const _0x100ac4=getOperationsFromReply({'editor':_0x5a0fc5,'reply':_0x3b7c56,'interaction':_0x109401,'groups':_0x18d37f,'transform':!0x0,'documentCompare':_0x13e1c8,'documentCompareOptions':{'anchor':'main','markDeletions':!0x1}});let _0x14c000;_0x394d60&&this['_scrollToSuggestionRange'](_0x394d60['range']),_0x5a0fc5['model']['change'](_0x1cbb83=>{_0x14c000=_0x1cbb83['batch'];for(const _0x4df41a of _0x100ac4)_0x4df41a['baseVersion']=_0x5a0fc5['model']['document']['version'],fixMarkerOperationOldRange(_0x5a0fc5,_0x4df41a),_0x1cbb83['batch']['addOperation'](_0x4df41a),_0x5a0fc5['model']['applyOperation'](_0x4df41a);}),this['_batchToChanges']['set'](_0x14c000,{'interactionId':_0x109401['id'],'replyId':_0x3b7c56['id'],'indexes':_0x377215['slice']()}),this['_updateRatings'](_0x3b7c56);}['_rejectSuggestion'](_0x4d2c74){const {reply:_0x3afaf9}=this['getInteractionAndReplyById'](_0x4d2c74['replyId']);_0x3afaf9['setChangeGroupState'](_0x4d2c74['partIndex'],'rejected');}['_openBalloonFor'](_0x30c006,_0x2c1064){if(!this['_aiChatBalloon'])return;const {reply:_0x358121}=this['getInteractionAndReplyById'](_0x30c006),_0x5acafb=_0x358121['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});let _0x27ddfc,_0x462145;if(void 0x0!==_0x2c1064?(_0x462145=_0x5acafb['find'](_0x12f29b=>_0x12f29b['index']==_0x2c1064),_0x27ddfc=_0x462145?.['index']):(_0x462145=_0x5acafb[0x0],_0x27ddfc=_0x462145['index']),this['_currentPreviewedChangeGroup']?.['replyId']==_0x30c006&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x27ddfc)return;const _0x48a8c9=this['_getUserPresentableContentPartDocumentRange'](_0x30c006,_0x358121,_0x462145);if(!_0x48a8c9)return void this['_aiChatBalloon']['close']();this['_currentPreviewedChangeGroup']={'replyId':_0x30c006,'partIndex':_0x27ddfc},this['_scrollToSuggestionRange'](_0x48a8c9,!0x0);const _0x5a5ff4=this['_getPresentableSiblingContentPartIndex'](_0x30c006,_0x27ddfc,'next');this['_aiChatBalloon']['updateContent']({'part':_0x462145,'renderingStrategy':'static'}),this['_aiChatBalloon']['open']({'index':_0x27ddfc,'title':getTranslation$i(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0x27ddfc+0x1)['toString']()),'showRotator':null!==_0x5a5ff4,'ranges':[_0x48a8c9],'areActionsDisabled':_0x358121['areActionsDisabled']}),this['_aiChatBalloon']['setState']('pending'),this['_aiChatUi']['scrollFeedToSuggestion'](_0x30c006,_0x27ddfc),this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x30c006,'index':_0x27ddfc,'isActive':!0x0});}['_getPresentableSiblingContentPartIndex'](_0x569083,_0x4587ec,_0x290f63){const {reply:_0x4fa21a}=this['getInteractionAndReplyById'](_0x569083),_0x2c6005=_0x4fa21a['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(0x1==_0x2c6005['length'])return null;const _0x1f2866=_0x2c6005['findIndex'](_0x7cc8bb=>_0x7cc8bb['index']==_0x4587ec),_0x3f62bb='next'==_0x290f63?0x1:-0x1;let _0x4b6be6=_0x2c6005['at']((_0x1f2866+_0x3f62bb)%_0x2c6005['length'])['index'],_0x24cd1b=_0x2c6005[_0x4b6be6];for(;!this['_getUserPresentableContentPartDocumentRange'](_0x569083,_0x4fa21a,_0x24cd1b);){if(_0x4b6be6=_0x2c6005['at']((_0x4b6be6+_0x3f62bb)%_0x2c6005['length'])['index'],_0x4b6be6===_0x1f2866)return null;_0x24cd1b=_0x2c6005[_0x4b6be6];}return _0x4b6be6;}['_getUserPresentableContentPartDocumentRange'](_0x4853c8,_0x35dc55,_0xa35e1a){const _0xe3044=_0x35dc55['changeGroups'];if(!_0xa35e1a['hasChanges'])return null;const _0x3899d2=_0xe3044['find'](_0xef583=>_0xef583['index']==_0xa35e1a['index']);if('pending'!==_0x3899d2?.['state'])return null;const _0x3c065f=this['_getDocumentRangeForReplyChanges'](_0x4853c8,_0xa35e1a['index']);if(!_0x3c065f)return null;const {range:_0x56cff5,currentIndex:_0x55cfa2}=_0x3c065f;return'$graveyard'==_0x56cff5['root']['rootName']?(_0x35dc55['setChangeGroupState'](_0x55cfa2,'outdated'),null):_0x3c065f['range'];}['_getDocumentRangeForReplyChanges'](_0x388325,_0x361de8){const _0x15d92c=getEditorFromContext(this['context']),{reply:_0x1271df,interaction:_0x11570b}=this['getInteractionAndReplyById'](_0x388325),_0x544c59=_0x1271df['changeGroups']['filter'](_0x2e0715=>'pending'==_0x2e0715['state']),_0x332ae4=_0x544c59['map'](_0x5cb454=>_0x1271df['changeGroups']['indexOf'](_0x5cb454));void 0x0===_0x361de8&&(_0x361de8=_0x332ae4[0x0]);const _0x543c04=_0x332ae4['indexOf'](_0x361de8);if(-0x1==_0x543c04)return null;const _0x117fa6=_0x544c59[_0x543c04],_0x1a600d=new Document([]),_0x268006=new Document([]);for(const _0xbd67e0 of _0x117fa6['changes'])if('removed'!=_0xbd67e0['type']&&_0x268006['children']['push'](_0xbd67e0['node']['cloneNode'](!0x0)),'new'!=_0xbd67e0['type']){const _0x3098fd=_0x3c2953(_0x4b3fa5=>getAttribute(_0x4b3fa5,'data-id')==_0xbd67e0['id'],_0x1271df['documentContextContent'],!0x0);_0x1a600d['children']['push'](_0x3098fd['cloneNode'](!0x0));}if(0x0==_0x1a600d['children']['length']){if(_0x117fa6['changes'][0x0]['anchorId']){const _0x4c2904=findByAttribute('data-id',_0x117fa6['changes'][0x0]['anchorId'],_0x1271df['documentContextContent']);_0x1a600d['children']['unshift'](_0x4c2904['cloneNode'](!0x0)),_0x268006['children']['unshift'](_0x4c2904['cloneNode'](!0x0)),_0x4c2904['nextSibling']&&(_0x1a600d['children']['push'](_0x4c2904['nextSibling']['cloneNode'](!0x0)),_0x268006['children']['push'](_0x4c2904['nextSibling']['cloneNode'](!0x0)));}else{const _0x21a867=_0x1271df['documentContextContent']['children'][0x0];if(!_0x21a867)return null;_0x1a600d['children']['push'](_0x21a867['cloneNode'](!0x0)),_0x268006['children']['push'](_0x21a867['cloneNode'](!0x0));}}const _0x1117be=_0x11570b['getDocumentContext'](),_0x21466d=_0x15d92c['data']['parse'](_0x1117be['content']),_0x43c795=_0x54c47c(_0x1a600d),_0x52e226=_0x15d92c['data']['parse'](_0x43c795),_0x5ef69e=_0x15d92c['data']['parse'](_0x43c795),_0x2bea05=_0x15d92c['model']['createPositionAt'](_0x52e226,0x0),_0x2bb970=_0x54c47c(_0x268006),_0x18174f={'anchor':_0x2bea05,'markDeletions':!0x1},_0x1677dc=_0x15d92c['plugins']['get'](DocumentCompare)['getDiff'](_0x43c795,_0x2bb970,_0x18174f)['getOperations']();if(!_0x1677dc['length'])return null;_0x15d92c['model']['change'](_0x35a328=>{for(const _0x24006d of _0x1677dc)if('remove'==_0x24006d['type']){const _0x3593ce=_0x24006d['sourcePosition'],_0x359117=_0x24006d['howMany'],_0x13f228=new ckeditor5['_DetachOperation'](_0x3593ce,_0x359117);_0x35a328['batch']['addOperation'](_0x13f228),_0x15d92c['model']['applyOperation'](_0x13f228);}else'marker'!==_0x24006d['type']&&(_0x24006d['baseVersion']=null,_0x24006d['isDocumentOperation']=!0x1,_0x35a328['batch']['addOperation'](_0x24006d),_0x15d92c['model']['applyOperation'](_0x24006d));});const _0x5cdea1=getMinimalSelection(_0x15d92c,_0x1677dc,_0x52e226);expandSelectionWithContext(_0x15d92c['model'],_0x5cdea1);const _0x59602b=_0x5cdea1['getFirstRange']()['start']['path']['slice'](),_0x563d3e=_0x5cdea1['getFirstRange']()['end']['path']['slice'](),_0x580150=[];let _0x4c723c=_0x52e226,_0x5c872f=_0x5ef69e;for(let _0x4b50af=0x0;_0x4b50af<_0x563d3e['length'];_0x4b50af++){const _0x42087d=_0x4c723c['maxOffset']-_0x563d3e[_0x4b50af];_0x580150[_0x4b50af]=_0x5c872f['maxOffset']-_0x42087d,_0x4c723c=_0x4c723c['getChildAtOffset'](_0x563d3e[_0x4b50af]),_0x5c872f=_0x5c872f['getChildAtOffset'](_0x580150[_0x4b50af]);}const _0x3cbbe3=_0x15d92c['model']['createRange'](_0x15d92c['model']['createPositionFromPath'](_0x5ef69e,_0x59602b),_0x15d92c['model']['createPositionFromPath'](_0x5ef69e,_0x580150)),_0x1eca2c=_0x5ef69e['getChild'](0x0)['getAttribute'](_0x5862c3),_0x19830c=Array['from'](_0x21466d['getChildren']())['find'](_0x4954ad=>_0x4954ad['getAttribute'](_0x5862c3)==_0x1eca2c)['getPath'](),_0xd8ab2f=_0x3cbbe3['start']['path']['slice'](),_0x362fba=_0x3cbbe3['end']['path']['slice']();_0xd8ab2f[0x0]=_0x19830c[0x0]+_0xd8ab2f[0x0],_0x362fba[0x0]=_0x19830c[0x0]+_0x362fba[0x0];let _0x1d3be2=_0x15d92c['model']['createRange'](_0x15d92c['model']['createPositionFromPath'](_0x15d92c['model']['document']['getRoot'](),_0xd8ab2f),_0x15d92c['model']['createPositionFromPath'](_0x15d92c['model']['document']['getRoot'](),_0x362fba));const _0x562c8f=_0x15d92c['model']['document']['history']['getOperations'](_0x1117be['version']);for(const _0xc27232 of _0x562c8f)_0x1d3be2=ckeditor5['ModelRange']['_createFromRanges'](_0x1d3be2['getTransformedByOperation'](_0xc27232));return{'range':_0x1d3be2,'currentIndex':_0x361de8};}['_integrateEditor'](_0xda93cf){if(!_0xda93cf['plugins']['has']('Undo'))return;const _0x113e33=_0xda93cf['commands']['get']('undo'),_0x5270f9=_0xda93cf['commands']['get']('redo');this['listenTo'](_0x113e33,'revert',(_0x1e6193,_0x2d7af6,_0x277953)=>{const _0x542b65=this['_batchToChanges']['get'](_0x2d7af6);if(!_0x542b65)return;const _0x8ab139=this['activeConversation']['getInteraction'](_0x542b65['interactionId'])['getReply'](_0x542b65['replyId']);_0x542b65['indexes']['forEach'](_0x23afdf=>_0x8ab139['setChangeGroupState'](_0x23afdf,'pending')),this['_batchToChanges']['delete'](_0x2d7af6),this['_batchToChanges']['set'](_0x277953,_0x542b65);}),this['listenTo'](_0x5270f9,'revert',(_0x4fc55b,_0x5d55f3,_0x41ab2a)=>{const _0x4bc36e=this['_batchToChanges']['get'](_0x5d55f3);if(!_0x4bc36e)return;const _0x170d62=this['activeConversation']['getInteraction'](_0x4bc36e['interactionId'])['getReply'](_0x4bc36e['replyId']);_0x4bc36e['indexes']['forEach'](_0x183246=>_0x170d62['setChangeGroupState'](_0x183246,'accepted')),this['_batchToChanges']['delete'](_0x5d55f3),this['_batchToChanges']['set'](_0x41ab2a,_0x4bc36e);});}async['loadConversation'](_0x4e2d81){this['context']['plugins']['has']('AIChatBalloon')&&this['context']['plugins']['get']('AIChatBalloon')['close'](),(this['context']['plugins']['get'](_0x337f5c)['view']['activateTab']('chat'),this['_aiChatUi']['setFeedItemRenderingStrategy']('static'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x0),await this['_stopLastInteraction']());try{await this['_aiConnector']['fetchConversation'](_0x4e2d81)['getConversation'](),await this['_startConversationSafely'](_0x4e2d81),this['updateConversationTitle']('\x20'),await this['activeConversation']['load'](_0x4e2d81,this['_aiEditing']['sessionId']),this['activeConversation']['isCurrentDocumentInConversation']()&&this['addCurrentDocumentToChatContext']();}catch(_0x4bb135){this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x4e2d81}),this['_logError'](new ckeditor5['CKEditorError']('ai-chat-conversation-not-found',this,{'error':_0x4bb135}));}finally{this['_aiChatUi']['startAutoScroll'](),this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}async['_getLastCreatedConversationId'](){const _0x30bf97=this['_aiConnector']['fetchConversations'](this['getGroupId'](),{'limit':0x1,'sortBy':'createdAt'});try{const _0x2cb0ba=await _0x30bf97['getConversations']();return _0x2cb0ba['length']?_0x2cb0ba[0x0]['id']:'new';}catch(_0x208601){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':_0x208601})),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1),this['_aiChatUi']['disableControls'](),null;}}['handleRemovedConversation'](_0x2e3b3a){this['activeConversation']['id']===_0x2e3b3a&&this['_startConversationSafely']();}['addCurrentDocumentToChatContext'](){this['activeConversation']?.['addCurrentDocumentToContext'](getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}async['addSelectionToChatContext'](){const _0x1045b8=this['_aiEditing']['getSelectionText']();this['activeConversation']?.['addSelectionToContext'](_0x1045b8),this['addCurrentDocumentToChatContext']();}['removeSelectionFromChatContext'](){this['activeConversation']?.['removeSelectionFromContext']();}['focusPromptInput'](){this['_aiChatUi']['focusPromptInput']();}async['startConversation'](){await this['_startConversationSafely']();}async['sendMessage']({message:_0x5397cb,attributes:_0x3ce336}){await this['_handleUIUserMessage']({'userMessage':_0x5397cb,'attributes':_0x3ce336});}['getGroupId'](){const _0x2edf9e=this['context']['config']['get']('collaboration.channelId');if(!_0x2edf9e)throw new ckeditor5['CKEditorError']('ai-chat-missing-channel-id',this);return _0x2edf9e;}async['_startConversationSafely'](_0x33eb7d){try{this['_aiChatUi']['enableControls'](),await this['_handleStartConversation'](_0x33eb7d);}catch(_0x3bcc10){this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x33eb7d||ckeditor5['uid']()}),console['error'](_0x3bcc10),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}async['_handleStartConversation'](_0x2374c9){let _0x3c1146;this['context']['plugins']['has']('AIChatBalloon')&&this['context']['plugins']['get']('AIChatBalloon')['close'](),_0x2374c9||!this['activeConversation']?_0x3c1146=this['context']['config']['get']('ai.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0x3c1146=this['activeConversation']['selectedModel']['id']),await this['_stopLastInteraction']();const _0x45f9c2=this['getGroupId'](),_0x3ae216=_0x2374c9||ckeditor5['uid']();this['activeConversation']=new AIChatConversation({'connector':this['_aiConnector'],'chatModels':this['_aiChatModels'],'selectedModelId':_0x3c1146,'conversationId':_0x3ae216,'group':_0x45f9c2,'getEditor':()=>getEditorFromContext(this['context']),'isFromHistory':!!_0x2374c9}),this['activeConversation']['delegate']('toolDataReceived','interactionStarted')['to'](this),this['activeConversation']['on']('conversationInitialized',(_0x51171b,_0x38f6ba)=>{this['_aiChatUi']['createConversation'](_0x38f6ba),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0x2374c9||(this['_aiChatUi']['resetConversationTitle'](),this['addCurrentDocumentToChatContext']());}),this['activeConversation']['on']('uploadProgressChanged',(_0x874afa,_0xe0e688)=>{this['_aiChatUi']['setIsUploadInProgress'](_0xe0e688['isUploadInProgress']);}),this['activeConversation']['on']('interactionCreated',(_0x3f3e34,_0x29374c)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x29374c);}),this['activeConversation']['on']('webSearchStarted',()=>{const _0x75f236=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this['_aiChatUi']['setLoadingMessage'](_0x75f236);}),this['activeConversation']['on']('reasoningStarted',()=>{const _0x41c579=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this['_aiChatUi']['setLoadingMessage'](_0x41c579);}),this['activeConversation']['on']('webSearchFinished',(_0x323b3e,_0x3a0297)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x3a0297,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['activeConversation']['on']('reasoningFinished',(_0x11357c,_0x148dee)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x148dee,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['activeConversation']['on']('interactionStarted',()=>{this['_aiChatUi']['startInteraction']();}),this['activeConversation']['on']('interactionFinished',async()=>{await this['_aiChatUi']['finishInteraction']();}),this['activeConversation']['on']('interactionDestroyed',(_0x38127a,_0x15ec6b)=>{this['_aiChatUi']['removeFeedInteraction'](_0x15ec6b['id']);}),this['activeConversation']['on']('setConversationTitle',(_0x401f5e,_0x5c7fb0,_0x41131a)=>{this['updateConversationTitle'](_0x5c7fb0,_0x41131a);}),this['activeConversation']['on']('replyCreated',(_0x23a1ab,_0x7a6bb0)=>{'text'===_0x7a6bb0['type']?this['_aiChatUi']['addFeedItemAIReply'](_0x7a6bb0):this['_aiChatUi']['addFeedItemAISuggestion'](_0x7a6bb0);}),this['activeConversation']['on']('replyContentUpdated',async(_0x405b38,_0xd5c6e8)=>{await this['_updateReplyContent']({'reply':_0xd5c6e8});}),this['activeConversation']['on']('replyChangeGroupStateUpdated',(_0x2091e8,{reply:_0x5f0a77,index:_0x195b08,state:_0x5ec610})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0x5f0a77['id'],'index':_0x195b08,'state':_0x5ec610}),this['_currentPreviewedChangeGroup']?.['replyId']['includes'](_0x5f0a77['id'])&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x195b08&&this['_aiChatBalloon']?.['setState'](_0x5ec610);}),this['activeConversation']['on']('contextItemAdded',(_0x218a50,_0x25ced2)=>{if(this['_aiChatUi']['addContextItem'](_0x25ced2['contextItem'],_0x25ced2['isLoading']),'selection'===_0x25ced2['contextItem']['type']){const _0x5a39fb=[...getEditorFromContext(this['context'])['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection'](_0x5a39fb,'ai-conversation-'+this['activeConversation']?.['id']);}}),this['activeConversation']['on']('contextItemRemoved',(_0x5c6056,_0x2506d5)=>{this['_aiChatUi']['removeContextItem'](_0x2506d5['uiId']),'current-document'==_0x2506d5['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0x2506d5['type']&&this['_aiEditing']['hideFakeVisualSelection']('ai-conversation-'+this['activeConversation']?.['id']);}),this['activeConversation']['on']('contextItemLoadingEnded',(_0x5b68b0,_0x3aa3ac)=>{this['_aiChatUi']['setContextItemLoading'](_0x3aa3ac['contextItem']['uiId'],_0x3aa3ac['isLoading']);}),this['activeConversation']['on']('contextSent',(_0x24036b,_0x246da7)=>{this['_aiChatUi']['setConversationContext'](_0x246da7['contextItems']);}),this['activeConversation']['on']('addContextOptionsChanged',(_0x544718,_0x33390f)=>{this['_aiChatUi']['setAddContextOptions'](_0x33390f['options']);}),this['activeConversation']['on']('sourceResourcesLoaded',(_0xa3af33,_0x215ca5)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x215ca5['sourceId'],_0x215ca5['source'],_0x215ca5['resources'],_0x215ca5['uid']);}),this['activeConversation']['on']('resourceStateChanged',(_0x2054ee,_0x5e1c51)=>{this['_aiChatUi']['updateResourceState'](_0x5e1c51['sourceId'],_0x5e1c51['resourceId'],_0x5e1c51['isInContext']);}),this['activeConversation']['on']('capabilitiesUpdated',(_0xddb1ac,_0x39add4)=>{this['_aiChatUi']['updateCapabilities'](_0x39add4);}),this['activeConversation']['on']('modelSelected',async(_0x45238f,_0x48c4de)=>{const _0x390cdf=(await this['_aiChatModels']['getAll']())['find'](_0x52a9a5=>_0x52a9a5['id']===_0x48c4de['selectedModel']?.['id'])||null;this['_aiChatUi']['setSelectedModel'](_0x390cdf,_0x48c4de['isDisabled']);}),this['activeConversation']['on']('error',(_0x29d12c,{error:_0x272507,interactionId:_0x90df83,fileName:_0x5c9d57,url:_0x4098ff,sourceId:_0x59d831,sourceLabel:_0x14348f})=>{const _0x3a5d2a=_0x90df83?_0x90df83+':'+ckeditor5['uid']():ckeditor5['uid']();_0x272507['message']['startsWith']('ai-request-aborted')?this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x3a5d2a}):_0x272507['message']['startsWith']('ai-chat-conversation-init-failed')||_0x272507['message']['startsWith']('ai-chat-conversation-start-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x3a5d2a}),this['_logError'](_0x272507)):_0x272507['message']['startsWith']('ai-chat-file-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x5c9d57),'id':_0x3a5d2a}):_0x272507['message']['startsWith']('ai-chat-url-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0x4098ff),'id':_0x3a5d2a}):_0x272507['message']['startsWith']('ai-chat-context-invalid-data')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x3a5d2a}):_0x272507['message']['startsWith']('ai-chat-context-unsupported-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x3a5d2a}):_0x272507['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x59d831&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x59d831),this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0x14348f||'source'),'id':_0x3a5d2a}),this['_logError'](_0x272507)):_0x272507['message']['startsWith']('ai-chat-resource-load-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x3a5d2a}),this['_logError'](_0x272507)):_0x272507['message']['startsWith']('ai-chat-invalid-request')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_INVALID_REQUEST'),'id':_0x3a5d2a}),this['_logError'](_0x272507)):_0x272507['message']['startsWith']('ai-chat-context-unsupported-file-type')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE'),'id':_0x3a5d2a}),this['_logError'](_0x272507)):_0x272507['message']['startsWith']('ai-chat-context-file-too-large')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_LARGE'),'id':_0x3a5d2a}),this['_logError'](_0x272507)):_0x272507['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':_0x3a5d2a}),this['_logError'](_0x272507)):_0x272507['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':_0x3a5d2a}),this['_logError'](_0x272507)):(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x3a5d2a}),this['_logError'](_0x272507));}),await this['activeConversation']['init'](this['context']['config']['get']('ai.chat.context')),_0x2374c9||await this['activeConversation']['start']();}async['_handleUIUserMessage']({userMessage:_0x4fc5b4,attributes:_0x2a0e0d}){if(!this['activeConversation'])throw new ckeditor5['CKEditorError']('ai-chat-controller-no-active-conversation');if(this['activeConversation']['isCurrentDocumentInContext']()){const _0x5a3508=await this['_aiEditing']['getDocumentData']();await this['activeConversation']['updateCurrentDocumentInContext'](_0x5a3508);}this['activeConversation']['id']&&this['activeConversation']['isStarted']&&await this['activeConversation']['handleUserInteraction']({'userMessage':_0x4fc5b4,'attributes':_0x2a0e0d});}['_showConversationHistory'](){console['log']('Showing\x20conversation\x20history...');}['_setIsMaximized'](_0x1c8c1d){this['_aiChatUi']['setIsMaximized'](_0x1c8c1d);}['_logError'](_0x1988eb){ckeditor5['logError'](_0x1988eb['message']);}['_removeFromContext'](_0xeb1bb1){this['activeConversation']?.['removeFromContext'](_0xeb1bb1);}['_toggleWebSearch'](){this['activeConversation']?.['toggleWebSearch']();}['_toggleReasoning'](){this['activeConversation']?.['toggleReasoning']();}['getInteractionAndReplyById'](_0x19f352){const [_0x15a1ee,_0x465092]=_0x19f352['split'](':'),_0x5e234b=this['activeConversation']['getInteraction'](_0x15a1ee),_0x583983=_0x5e234b['getReply'](_0x465092);return{'interaction':_0x5e234b,'reply':_0x583983};}['_scrollToSuggestionRange'](_0x450437,_0x53e868=!0x1){const _0x4ca4c1=getEditorFromContext(this['context']),_0x4b091d={'target':_0x4ca4c1['editing']['view']['domConverter']['viewRangeToDom'](_0x4ca4c1['editing']['mapper']['toViewRange'](_0x450437)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x53e868};_0x53e868&&(_0x4b091d['alignToTop']=!0x0),ckeditor5['scrollViewportToShowTarget'](_0x4b091d);}['updateConversationTitle'](_0x2420e4,_0x24270b=!0x1){this['_aiChatUi']['setConversationTitle'](_0x2420e4||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x24270b);}async['_updateReplyContent']({reply:_0x38aab9,renderingStrategy:_0x24a375}){const {id:_0x5d2ac9,interactionId:_0x27b2f6,isDone:_0x518f0b,type:_0x775311,parsedContent:_0x5381aa}=_0x38aab9,_0x57d906=_0x27b2f6+':'+_0x5d2ac9;if('modification'===_0x775311){const _0x66aa62=_0x38aab9['getContentParts']({'showDiff':this['_aiChatUi']['showDiff']});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x57d906,'parts':_0x66aa62,'renderingStrategy':_0x24a375,'isDone':_0x518f0b});}else'text'===_0x775311&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0x57d906,'parsedContent':_0x5381aa,'renderingStrategy':_0x24a375,'isDone':_0x518f0b});_0x518f0b&&_0x38aab9['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0x57d906,_0x38aab9['sources']);}async['_stopLastInteraction'](){const _0x50b994=this['activeConversation']?.['lastInteraction'];_0x50b994&&(_0x50b994['stop'](),this['_aiChatUi']['stopInteraction'](_0x50b994));}async['_flushLastInteractionUI'](){const _0xa435d2=this['activeConversation']?.['lastInteraction'];if(_0xa435d2){for await(const _0x7f32f4 of _0xa435d2['replies'])await this['_updateReplyContent']({'reply':_0x7f32f4,'renderingStrategy':'static'});}}['_updateRatings'](_0x184d64){const _0x18d617={'positiveCount':_0x184d64['changeGroups']['filter'](_0xe0a4fc=>'accepted'===_0xe0a4fc['state'])['length'],'totalCount':_0x184d64['changeGroups']['length'],'modificationId':_0x184d64['id']},_0x12f271=this['activeConversation']['getInteraction'](_0x184d64['interactionId'])['messageId'];_0x12f271&&this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x12f271,_0x18d617);}['_registerToolDataCallback'](_0x1b1870){let _0x5cf7b4=null,_0x257e72=null;this['on']('toolDataReceived',(_0x10135d,_0x2591a4,_0x5ed5ae)=>{_0x5ed5ae['id']!==_0x5cf7b4&&(_0x5cf7b4=_0x5ed5ae['id'],_0x257e72=this['_getAIChatInteractionAPI'](_0x5ed5ae)),_0x1b1870(_0x2591a4,_0x257e72);});}['_getAIChatInteractionAPI'](_0x2e5add){const _0x479599=this['_aiChatUi'],_0x50b4c4=()=>{_0x2e5add['resetWebSearchState'](),_0x2e5add['resetReasoningState'](),_0x479599['clearLoadingMessage']();},_0x3dd6e1=()=>{_0x2e5add['currentReply']&&(_0x2e5add['currentReply']['done'](),_0x2e5add['currentReply']=void 0x0);};return{'insertTextReply':(_0x47bcc1,_0x2f9172)=>{_0x3dd6e1(),_0x50b4c4();const _0x391a9b=_0x2e5add['currentReply']=_0x2e5add['createReply']({'type':'text','interactionId':_0x2e5add['id'],'content':_0x47bcc1,'id':_0x2f9172||ckeditor5['uid']()});return _0x3dd6e1(),_0x391a9b;},'insertCustomElement':async(_0x1a0e6a,_0x5f34fd)=>(_0x3dd6e1(),_0x50b4c4(),_0x479599['addFeedItemCustomElement'](_0x1a0e6a,_0x5f34fd||ckeditor5['uid']())),'setLoadingMessage':_0x311140=>{_0x479599['setLoadingMessage'](_0x311140);},'clearLoadingMessage':()=>{_0x479599['clearLoadingMessage']();}};}}const _0x555948='ai-selection';class AIEditing extends ckeditor5['ContextPlugin']{constructor(_0x1a7469){super(_0x1a7469),this['context']['config']['define']('ai.models.showModelSelector',!0x0);}['_outputDataProcessor'];['_displayedFakeSelectionId']=null;['_displayedFakeSelectionLocked']=!0x1;['_sessionId'];static get['pluginName'](){return'AIEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['sessionId'](){if(!this['_sessionId']){const _0x1bf5bb=getEditorFromContext(this['context']),_0x39d160=_0x1bf5bb['plugins']['has']('RealTimeCollaborationClient')&&_0x1bf5bb['plugins']['get']('RealTimeCollaborationClient')['sessionId'];this['_sessionId']=_0x39d160||ckeditor5['uid']();}return this['_sessionId'];}async['getDocumentData'](){const _0x1e1aaf=getEditorFromContext(this['context']),_0x2bd14d=_0x1e1aaf['model'],_0x128fd6=_0x1e1aaf['data']['toView'](_0x2bd14d['document']['getRoot'](),{'convertAiChatSelectionMarker':!0x0}),_0x544a31=new ckeditor5['ViewDowncastWriter'](_0x1e1aaf['editing']['view']['document']);this['_setDataIdsOnChildren'](_0x128fd6,_0x544a31);let _0x178ce5=await this['_getDocumentDataStringFromView'](_0x128fd6);const _0x2bf5bf=this['_getMarkersInDocumentOrder'](),_0x1f7a04=[];for(const _0x285cef of _0x2bf5bf){const _0x36d703='<'+_0x285cef['name']+':start></'+_0x285cef['name']+':start>',_0x31e9c3=_0x178ce5['indexOf'](_0x36d703);_0x178ce5=_0x178ce5['substring'](0x0,_0x31e9c3)+_0x178ce5['substring'](_0x31e9c3+_0x36d703['length']);const _0x1cb3c5='<'+_0x285cef['name']+':end></'+_0x285cef['name']+':end>',_0x3503e2=_0x178ce5['indexOf'](_0x1cb3c5);_0x178ce5=_0x178ce5['substring'](0x0,_0x3503e2)+_0x178ce5['substring'](_0x3503e2+_0x1cb3c5['length']),_0x1f7a04['push']({'markerName':_0x285cef['name'],'start':_0x31e9c3,'end':_0x3503e2,'htmlFragment':_0x178ce5['substring'](_0x31e9c3,_0x3503e2)});}return{'content':_0x178ce5,'version':_0x1e1aaf['model']['document']['version'],'sessionId':this['sessionId'],'selections':_0x1f7a04};}async['afterInit'](){this['context']instanceof ckeditor5['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x124317,_0x33acc9)=>{_0x33acc9['on']('ready',()=>{this['_integrateEditor'](_0x33acc9);});});}['_setOutputDataProcessor'](_0x5254f8){this['_outputDataProcessor']=_0x5254f8;}async['_getDocumentDataStringFromView'](_0x34975b){let _0x6f0ac;const _0xb22756=getEditorFromContext(this['context']);if(this['_outputDataProcessor']){const _0x29fd76=_0xb22756['data']['processor']['domConverter']['viewToDom'](_0x34975b),_0x3a5023=await this['_outputDataProcessor'](_0x29fd76);_0x6f0ac=_0xb22756['data']['processor']['htmlWriter']['getHtml'](_0x3a5023);}else _0x6f0ac=_0xb22756['data']['processor']['toData'](_0x34975b);return _0x6f0ac;}['_integrateEditor'](_0x3d2051){_0x3d2051['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x555948,'view':{'classes':['ck-fake-ai-selection','ck-ai-assistant-ui_theme'],'priority':0xc}}),_0x3d2051['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x555948,'view':(_0x5ef409,{writer:_0x492d26,options:_0x157841})=>_0x157841['convertAiChatSelectionMarker']?_0x492d26['createUIElement'](_0x5ef409['markerName']+':'+(_0x5ef409['isOpening']?'start':'end')):null});}['showFakeVisualSelection'](_0x41c83d,_0x37085c,_0x454367=!0x1,_0x5ba3d7=!0x1){if(this['_displayedFakeSelectionLocked']&&!_0x5ba3d7)return!0x1;const _0x484296=getEditorFromContext(this['context'])['model'];return _0x484296['change'](_0x3e6a5e=>{this['_displayedFakeSelectionId']&&this['hideFakeVisualSelection'](this['_displayedFakeSelectionId']),this['_displayedFakeSelectionId']=_0x37085c,this['_displayedFakeSelectionLocked']=_0x454367;let _0x57b791=0x0;for(let _0xf6b4d4 of _0x41c83d){const _0x49abba=_0x555948+':'+_0x57b791;if(_0xf6b4d4['start']['isAtEnd']){const _0x18ddce=_0xf6b4d4['start']['getLastMatchingPosition'](({item:_0x431655})=>!_0x484296['schema']['isContent'](_0x431655),{'boundaries':_0xf6b4d4});_0xf6b4d4=_0x3e6a5e['createRange'](_0x18ddce,_0xf6b4d4['end']);}_0x3e6a5e['addMarker'](_0x49abba,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xf6b4d4}),_0x57b791++;}}),window['getSelection']()?.['removeAllRanges'](),!0x0;}['hideFakeVisualSelection'](_0x2699fa){if(this['_displayedFakeSelectionId']!=_0x2699fa)return!0x1;this['_displayedFakeSelectionId']=null,this['_displayedFakeSelectionLocked']=!0x1;const _0xd33a72=getEditorFromContext(this['context']),_0x3958e5=_0xd33a72['model']['markers']['getMarkersGroup'](_0x555948);return _0xd33a72['model']['change'](_0x2520db=>{for(const _0xa379c2 of _0x3958e5)_0x2520db['removeMarker'](_0xa379c2);}),!0x0;}async['modelToDataWithIds'](_0x45348f){const _0x2f4d9e=getEditorFromContext(this['context']),_0x2d59be=_0x2f4d9e['data']['toView'](_0x45348f),_0x3e6735=new ckeditor5['ViewDowncastWriter'](_0x2f4d9e['editing']['view']['document']);return this['_setDataIdsOnChildren'](_0x2d59be,_0x3e6735),this['_getDocumentDataStringFromView'](_0x2d59be);}['_setDataIdsOnChildren'](_0x285e7f,_0x48c4e3){let _0x1c2c8a=!0x1;const _0x880ebd=new Set();for(const _0x151a3d of _0x285e7f['getChildren']()){const _0x10a7fd=_0x151a3d['is']('emptyElement')||_0x151a3d['is']('containerElement');if(!_0x151a3d['is']('element'))continue;(this['_setDataIdsOnChildren'](_0x151a3d,_0x48c4e3)||_0x10a7fd)&&(_0x48c4e3['setAttribute']('data-id',this['_nextDataId'](_0x880ebd),_0x151a3d),_0x1c2c8a=!0x0);}return _0x1c2c8a;}['_nextDataId'](_0x524ec3){let _0x3e0b09;do{_0x3e0b09='';for(let _0x446c9b=0x0;_0x446c9b<0x4;_0x446c9b++)_0x3e0b09+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0x524ec3['has'](_0x3e0b09));return _0x524ec3['add'](_0x3e0b09),_0x3e0b09;}['getSelectionText'](){const {model:_0x43dae0}=getEditorFromContext(this['context']),_0x1b4668=_0x43dae0['document']['selection'],_0x1f8488=[];for(const _0xe25cbb of _0x1b4668['getRanges']())for(const _0x4cbf98 of _0xe25cbb['getItems']())_0x4cbf98['is']('$textProxy')?_0x1f8488['push'](_0x4cbf98['data']):_0x4cbf98['is']('element')&&_0x1f8488['length']>0x0&&'\x20'!==_0x1f8488[_0x1f8488['length']-0x1]&&_0x1f8488['push']('\x20');return _0x1f8488['length']?'\x22'+_0x1f8488['join']('')['trim']()+'\x22':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL');}['_getMarkersInDocumentOrder'](){const _0x3052c2=getEditorFromContext(this['context'])['model'];return Array['from'](_0x3052c2['markers']['getMarkersGroup'](_0x555948))['sort']((_0x54417c,_0x5a11a4)=>_0x54417c['getStart']()['isBefore'](_0x5a11a4['getStart']())?-0x1:_0x54417c['getStart']()['isAfter'](_0x5a11a4['getStart']())?0x1:0x0);}}const _0x2516b8=['showChangeInText','insertSuggestion','applySuggestion','rejectSuggestion','mouseOverSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','like','dislike'],_0x4786e1=[..._0x2516b8,'startConversation','resizeTabs','sendUserMessage','abortPromptStream','addDocumentToContext','addFileToContext','addUrlToContext','executeCustomItemCallback','addResourceToContext','removeContextItem','loadSourceResources','toggleWebSearch','toggleReasoning','selectModel'];var _0x47281e=0xb,_0x25b4db;function morphAttrs(_0x822fc6,_0x1aca67){var _0x43b5fb,_0x6598ea,_0x3b2701,_0x4b9de7,_0xffa3e6=_0x1aca67['attributes'];if(_0x1aca67['nodeType']!==_0x47281e&&_0x822fc6['nodeType']!==_0x47281e){for(var _0x1f08d2=_0xffa3e6['length']-0x1;_0x1f08d2>=0x0;_0x1f08d2--)_0x6598ea=(_0x43b5fb=_0xffa3e6[_0x1f08d2])['name'],_0x3b2701=_0x43b5fb['namespaceURI'],_0x4b9de7=_0x43b5fb['value'],_0x3b2701?(_0x6598ea=_0x43b5fb['localName']||_0x6598ea,_0x822fc6['getAttributeNS'](_0x3b2701,_0x6598ea)!==_0x4b9de7&&('xmlns'===_0x43b5fb['prefix']&&(_0x6598ea=_0x43b5fb['name']),_0x822fc6['setAttributeNS'](_0x3b2701,_0x6598ea,_0x4b9de7))):_0x822fc6['getAttribute'](_0x6598ea)!==_0x4b9de7&&_0x822fc6['setAttribute'](_0x6598ea,_0x4b9de7);for(var _0x49028a=_0x822fc6['attributes'],_0x253676=_0x49028a['length']-0x1;_0x253676>=0x0;_0x253676--)_0x6598ea=(_0x43b5fb=_0x49028a[_0x253676])['name'],(_0x3b2701=_0x43b5fb['namespaceURI'])?(_0x6598ea=_0x43b5fb['localName']||_0x6598ea,_0x1aca67['hasAttributeNS'](_0x3b2701,_0x6598ea)||_0x822fc6['removeAttributeNS'](_0x3b2701,_0x6598ea)):_0x1aca67['hasAttribute'](_0x6598ea)||_0x822fc6['removeAttribute'](_0x6598ea);}}var _0x1fcead='http://www.w3.org/1999/xhtml',_0x53f793='undefined'==typeof document?void 0x0:document,_0x31c735=!!_0x53f793&&'content'in _0x53f793['createElement']('template'),_0x597a3a=!!_0x53f793&&_0x53f793['createRange']&&'createContextualFragment'in _0x53f793['createRange']();function createFragmentFromTemplate(_0x5e08db){var _0x529d43=_0x53f793['createElement']('template');return _0x529d43['innerHTML']=_0x5e08db,_0x529d43['content']['childNodes'][0x0];}function createFragmentFromRange(_0x1c058b){return _0x25b4db||(_0x25b4db=_0x53f793['createRange']())['selectNode'](_0x53f793['body']),_0x25b4db['createContextualFragment'](_0x1c058b)['childNodes'][0x0];}function createFragmentFromWrap(_0x2b26a9){var _0x375702=_0x53f793['createElement']('body');return _0x375702['innerHTML']=_0x2b26a9,_0x375702['childNodes'][0x0];}function toElement(_0x13ea2a){return _0x13ea2a=_0x13ea2a['trim'](),_0x31c735?createFragmentFromTemplate(_0x13ea2a):_0x597a3a?createFragmentFromRange(_0x13ea2a):createFragmentFromWrap(_0x13ea2a);}function _0x5109c4(_0x1ccc22,_0x189c2f){var _0x3f5d10,_0x10b18d,_0x4e6b39=_0x1ccc22['nodeName'],_0x4eb95f=_0x189c2f['nodeName'];return _0x4e6b39===_0x4eb95f||(_0x3f5d10=_0x4e6b39['charCodeAt'](0x0),_0x10b18d=_0x4eb95f['charCodeAt'](0x0),_0x3f5d10<=0x5a&&_0x10b18d>=0x61?_0x4e6b39===_0x4eb95f['toUpperCase']():_0x10b18d<=0x5a&&_0x3f5d10>=0x61&&_0x4eb95f===_0x4e6b39['toUpperCase']());}function createElementNS(_0x2bf3e8,_0x2ebd8a){return _0x2ebd8a&&_0x2ebd8a!==_0x1fcead?_0x53f793['createElementNS'](_0x2ebd8a,_0x2bf3e8):_0x53f793['createElement'](_0x2bf3e8);}function _0x4b2b25(_0x22a8e0,_0x29c20d){for(var _0x4b02f5=_0x22a8e0['firstChild'];_0x4b02f5;){var _0x2d675c=_0x4b02f5['nextSibling'];_0x29c20d['appendChild'](_0x4b02f5),_0x4b02f5=_0x2d675c;}return _0x29c20d;}function syncBooleanAttrProp(_0x385bc1,_0x27cbe4,_0x3a62d3){_0x385bc1[_0x3a62d3]!==_0x27cbe4[_0x3a62d3]&&(_0x385bc1[_0x3a62d3]=_0x27cbe4[_0x3a62d3],_0x385bc1[_0x3a62d3]?_0x385bc1['setAttribute'](_0x3a62d3,''):_0x385bc1['removeAttribute'](_0x3a62d3));}var _0x5263a1={'OPTION':function(_0x558287,_0xae3955){var _0x170dbd=_0x558287['parentNode'];if(_0x170dbd){var _0x5dc032=_0x170dbd['nodeName']['toUpperCase']();'OPTGROUP'===_0x5dc032&&(_0x5dc032=(_0x170dbd=_0x170dbd['parentNode'])&&_0x170dbd['nodeName']['toUpperCase']()),'SELECT'!==_0x5dc032||_0x170dbd['hasAttribute']('multiple')||(_0x558287['hasAttribute']('selected')&&!_0xae3955['selected']&&(_0x558287['setAttribute']('selected','selected'),_0x558287['removeAttribute']('selected')),_0x170dbd['selectedIndex']=-0x1);}syncBooleanAttrProp(_0x558287,_0xae3955,'selected');},'INPUT':function(_0x487125,_0x128876){syncBooleanAttrProp(_0x487125,_0x128876,'checked'),syncBooleanAttrProp(_0x487125,_0x128876,'disabled'),_0x487125['value']!==_0x128876['value']&&(_0x487125['value']=_0x128876['value']),_0x128876['hasAttribute']('value')||_0x487125['removeAttribute']('value');},'TEXTAREA':function(_0x4ac5e2,_0x4803e9){var _0x22d2e3=_0x4803e9['value'];_0x4ac5e2['value']!==_0x22d2e3&&(_0x4ac5e2['value']=_0x22d2e3);var _0xfd81fa=_0x4ac5e2['firstChild'];if(_0xfd81fa){var _0x463ac8=_0xfd81fa['nodeValue'];if(_0x463ac8==_0x22d2e3||!_0x22d2e3&&_0x463ac8==_0x4ac5e2['placeholder'])return;_0xfd81fa['nodeValue']=_0x22d2e3;}},'SELECT':function(_0x8562f3,_0x363ce5){if(!_0x363ce5['hasAttribute']('multiple')){for(var _0xc70e41,_0x32fa27,_0x540124=-0x1,_0x27459e=0x0,_0x37b131=_0x8562f3['firstChild'];_0x37b131;)if('OPTGROUP'===(_0x32fa27=_0x37b131['nodeName']&&_0x37b131['nodeName']['toUpperCase']()))(_0x37b131=(_0xc70e41=_0x37b131)['firstChild'])||(_0x37b131=_0xc70e41['nextSibling'],_0xc70e41=null);else{if('OPTION'===_0x32fa27){if(_0x37b131['hasAttribute']('selected')){_0x540124=_0x27459e;break;}_0x27459e++;}!(_0x37b131=_0x37b131['nextSibling'])&&_0xc70e41&&(_0x37b131=_0xc70e41['nextSibling'],_0xc70e41=null);}_0x8562f3['selectedIndex']=_0x540124;}}},_0x2caa28=0x1,_0x208668=0xb,_0x118d54=0x3,_0x2686c9=0x8;function _0x3c986f(){}function defaultGetNodeKey(_0x264096){if(_0x264096)return _0x264096['getAttribute']&&_0x264096['getAttribute']('id')||_0x264096['id'];}function morphdomFactory(_0x52993b){return function(_0x187553,_0x349770,_0x3d04ac){if(_0x3d04ac||(_0x3d04ac={}),'string'==typeof _0x349770){if('#document'===_0x187553['nodeName']||'HTML'===_0x187553['nodeName']||'BODY'===_0x187553['nodeName']){var _0x278465=_0x349770;(_0x349770=_0x53f793['createElement']('html'))['innerHTML']=_0x278465;}else _0x349770=toElement(_0x349770);}else _0x349770['nodeType']===_0x208668&&(_0x349770=_0x349770['firstElementChild']);var _0x26a03d=_0x3d04ac['getNodeKey']||defaultGetNodeKey,_0x29c611=_0x3d04ac['onBeforeNodeAdded']||_0x3c986f,_0x4688ca=_0x3d04ac['onNodeAdded']||_0x3c986f,_0x75f6b3=_0x3d04ac['onBeforeElUpdated']||_0x3c986f,_0x3a5d52=_0x3d04ac['onElUpdated']||_0x3c986f,_0x24477f=_0x3d04ac['onBeforeNodeDiscarded']||_0x3c986f,_0x31bcab=_0x3d04ac['onNodeDiscarded']||_0x3c986f,_0x5040d4=_0x3d04ac['onBeforeElChildrenUpdated']||_0x3c986f,_0x395bb6=_0x3d04ac['skipFromChildren']||_0x3c986f,_0x18a246=_0x3d04ac['addChild']||function(_0x55ba50,_0x3e15fe){return _0x55ba50['appendChild'](_0x3e15fe);},_0xa29c63=!0x0===_0x3d04ac['childrenOnly'],_0x1ac4c1=Object['create'](null),_0x4f7ec4=[];function _0x3254b5(_0xa8cef5){_0x4f7ec4['push'](_0xa8cef5);}function _0x13938e(_0x2f2cb5,_0xf37f89){if(_0x2f2cb5['nodeType']===_0x2caa28)for(var _0x1393a6=_0x2f2cb5['firstChild'];_0x1393a6;){var _0x1b3566=void 0x0;_0xf37f89&&(_0x1b3566=_0x26a03d(_0x1393a6))?_0x3254b5(_0x1b3566):(_0x31bcab(_0x1393a6),_0x1393a6['firstChild']&&_0x13938e(_0x1393a6,_0xf37f89)),_0x1393a6=_0x1393a6['nextSibling'];}}function _0x39edf9(_0xd3565a,_0x13c5b0,_0x5cfa4f){!0x1!==_0x24477f(_0xd3565a)&&(_0x13c5b0&&_0x13c5b0['removeChild'](_0xd3565a),_0x31bcab(_0xd3565a),_0x13938e(_0xd3565a,_0x5cfa4f));}function _0x2d503e(_0x280012){if(_0x280012['nodeType']===_0x2caa28||_0x280012['nodeType']===_0x208668)for(var _0x584497=_0x280012['firstChild'];_0x584497;){var _0x1cf654=_0x26a03d(_0x584497);_0x1cf654&&(_0x1ac4c1[_0x1cf654]=_0x584497),_0x2d503e(_0x584497),_0x584497=_0x584497['nextSibling'];}}function _0x4a78ea(_0xa7510){_0x4688ca(_0xa7510);for(var _0x41f4ab=_0xa7510['firstChild'];_0x41f4ab;){var _0xd54f2e=_0x41f4ab['nextSibling'],_0x6d211a=_0x26a03d(_0x41f4ab);if(_0x6d211a){var _0x5e0eef=_0x1ac4c1[_0x6d211a];_0x5e0eef&&_0x5109c4(_0x41f4ab,_0x5e0eef)?(_0x41f4ab['parentNode']['replaceChild'](_0x5e0eef,_0x41f4ab),_0x16ad91(_0x5e0eef,_0x41f4ab)):_0x4a78ea(_0x41f4ab);}else _0x4a78ea(_0x41f4ab);_0x41f4ab=_0xd54f2e;}}function _0x16ad91(_0x61ce74,_0x4e2a23,_0x4e3a34){var _0x428344=_0x26a03d(_0x4e2a23);if(_0x428344&&delete _0x1ac4c1[_0x428344],!_0x4e3a34){var _0x53badd=_0x75f6b3(_0x61ce74,_0x4e2a23);if(!0x1===_0x53badd)return;if(_0x53badd instanceof HTMLElement&&_0x2d503e(_0x61ce74=_0x53badd),_0x52993b(_0x61ce74,_0x4e2a23),_0x3a5d52(_0x61ce74),!0x1===_0x5040d4(_0x61ce74,_0x4e2a23))return;}'TEXTAREA'!==_0x61ce74['nodeName']?function(_0x4b8af8,_0x56ecbb){var _0x1f2a13,_0x506758,_0x307910,_0x58650a,_0x47eadd,_0x1be2fc=_0x395bb6(_0x4b8af8,_0x56ecbb),_0x5986cf=_0x56ecbb['firstChild'],_0x2194f7=_0x4b8af8['firstChild'];t:for(;_0x5986cf;){for(_0x58650a=_0x5986cf['nextSibling'],_0x1f2a13=_0x26a03d(_0x5986cf);!_0x1be2fc&&_0x2194f7;){if(_0x307910=_0x2194f7['nextSibling'],_0x5986cf['isSameNode']&&_0x5986cf['isSameNode'](_0x2194f7)){_0x5986cf=_0x58650a,_0x2194f7=_0x307910;continue t;}_0x506758=_0x26a03d(_0x2194f7);var _0x2c7d50=_0x2194f7['nodeType'],_0x59e903=void 0x0;if(_0x2c7d50===_0x5986cf['nodeType']&&(_0x2c7d50===_0x2caa28?(_0x1f2a13?_0x1f2a13!==_0x506758&&((_0x47eadd=_0x1ac4c1[_0x1f2a13])?_0x307910===_0x47eadd?_0x59e903=!0x1:(_0x4b8af8['insertBefore'](_0x47eadd,_0x2194f7),_0x506758?_0x3254b5(_0x506758):_0x39edf9(_0x2194f7,_0x4b8af8,!0x0),_0x506758=_0x26a03d(_0x2194f7=_0x47eadd)):_0x59e903=!0x1):_0x506758&&(_0x59e903=!0x1),(_0x59e903=!0x1!==_0x59e903&&_0x5109c4(_0x2194f7,_0x5986cf))&&_0x16ad91(_0x2194f7,_0x5986cf)):_0x2c7d50!==_0x118d54&&_0x2c7d50!=_0x2686c9||(_0x59e903=!0x0,_0x2194f7['nodeValue']!==_0x5986cf['nodeValue']&&(_0x2194f7['nodeValue']=_0x5986cf['nodeValue']))),_0x59e903){_0x5986cf=_0x58650a,_0x2194f7=_0x307910;continue t;}_0x506758?_0x3254b5(_0x506758):_0x39edf9(_0x2194f7,_0x4b8af8,!0x0),_0x2194f7=_0x307910;}if(_0x1f2a13&&(_0x47eadd=_0x1ac4c1[_0x1f2a13])&&_0x5109c4(_0x47eadd,_0x5986cf))_0x1be2fc||_0x18a246(_0x4b8af8,_0x47eadd),_0x16ad91(_0x47eadd,_0x5986cf);else{var _0x2c25a1=_0x29c611(_0x5986cf);!0x1!==_0x2c25a1&&(_0x2c25a1&&(_0x5986cf=_0x2c25a1),_0x5986cf['actualize']&&(_0x5986cf=_0x5986cf['actualize'](_0x4b8af8['ownerDocument']||_0x53f793)),_0x18a246(_0x4b8af8,_0x5986cf),_0x4a78ea(_0x5986cf));}_0x5986cf=_0x58650a,_0x2194f7=_0x307910;}!function(_0x5de719,_0x25b9b9,_0x344c2d){for(;_0x25b9b9;){var _0xec6f84=_0x25b9b9['nextSibling'];(_0x344c2d=_0x26a03d(_0x25b9b9))?_0x3254b5(_0x344c2d):_0x39edf9(_0x25b9b9,_0x5de719,!0x0),_0x25b9b9=_0xec6f84;}}(_0x4b8af8,_0x2194f7,_0x506758);var _0x4cbae9=_0x5263a1[_0x4b8af8['nodeName']];_0x4cbae9&&_0x4cbae9(_0x4b8af8,_0x56ecbb);}(_0x61ce74,_0x4e2a23):_0x5263a1['TEXTAREA'](_0x61ce74,_0x4e2a23);}_0x2d503e(_0x187553);var _0x16d791=_0x187553,_0x147540=_0x16d791['nodeType'],_0x3cee7d=_0x349770['nodeType'];if(!_0xa29c63){if(_0x147540===_0x2caa28)_0x3cee7d===_0x2caa28?_0x5109c4(_0x187553,_0x349770)||(_0x31bcab(_0x187553),_0x16d791=_0x4b2b25(_0x187553,createElementNS(_0x349770['nodeName'],_0x349770['namespaceURI']))):_0x16d791=_0x349770;else{if(_0x147540===_0x118d54||_0x147540===_0x2686c9){if(_0x3cee7d===_0x147540)return _0x16d791['nodeValue']!==_0x349770['nodeValue']&&(_0x16d791['nodeValue']=_0x349770['nodeValue']),_0x16d791;_0x16d791=_0x349770;}}}if(_0x16d791===_0x349770)_0x31bcab(_0x187553);else{if(_0x349770['isSameNode']&&_0x349770['isSameNode'](_0x16d791))return;if(_0x16ad91(_0x16d791,_0x349770,_0xa29c63),_0x4f7ec4)for(var _0x50dc63=0x0,_0x35b15b=_0x4f7ec4['length'];_0x50dc63<_0x35b15b;_0x50dc63++){var _0xe5c6af=_0x1ac4c1[_0x4f7ec4[_0x50dc63]];_0xe5c6af&&_0x39edf9(_0xe5c6af,_0xe5c6af['parentNode'],!0x1);}}return!_0xa29c63&&_0x16d791!==_0x187553&&_0x187553['parentNode']&&(_0x16d791['actualize']&&(_0x16d791=_0x16d791['actualize'](_0x187553['ownerDocument']||_0x53f793)),_0x187553['parentNode']['replaceChild'](_0x16d791,_0x187553)),_0x16d791;};}var _0x3f6b8f=morphdomFactory(morphAttrs);class HTMLStreamer{['options'];['isStreaming']=!0x1;['document']=null;['nodesList']=[];['currentIndex']=0x0;['timeoutAbortController']=null;['lastUpdateTime']=0x0;constructor(_0x149180){this['options']={'delay':_0x149180['delay']??0x14,'textNodeStyle':_0x149180['textNodeStyle'],'onStreamUpdate':_0x149180['onStreamUpdate']||(()=>{})};}async['stream']({document:_0x1e2a5b,targetElement:_0xb3112e,abortSignal:_0x2583b7}){this['isStreaming']&&this['stop'](),_0x2583b7?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=_0x3a083c(_0x1e2a5b,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(this['currentIndex']=this['nodesList']['length']);for(let _0xce5349=0x0;_0xce5349<this['currentIndex'];_0xce5349++)this['nodesList'][_0xce5349]['shouldBeStreamed']=!0x0;do{const _0x236b0b=Date['now'](),_0x3ccdff=this['nodesList'][this['currentIndex']],_0x3d8c59=_0x236b0b-this['lastUpdateTime'];if(_0x3ccdff){_0x3ccdff['shouldBeStreamed']=!0x0;let _0x5a571e=_0x3ccdff['parent'];for(;_0x5a571e;)_0x5a571e['shouldBeStreamed']=!0x0,_0x5a571e=_0x5a571e['parent'];}if(_0x3d8c59<this['options']['delay'])try{const {promise:_0xc64146,abortController:_0x298e83}=createAbortableTimeout(this['options']['delay']-_0x3d8c59);this['timeoutAbortController']=_0x298e83,await _0xc64146;}catch(_0x350586){return;}_0x3f6b8f(_0xb3112e,'<'+_0xb3112e['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0xb3112e['tagName']+'>',{'childrenOnly':!0x0}),this['options']['onStreamUpdate']&&this['options']['onStreamUpdate'](),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:_0x5605b7}){Array['from'](_0x5605b7['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0x280517=>{_0x280517['replaceWith'](_0x280517['childNodes'][0x0]);});}['stop'](){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x79f0f5){let _0xe4474a='';if(isParsedDocumentNode(_0x79f0f5)){for(const _0x3d7122 of _0x79f0f5['children'])_0xe4474a+=this['renderNode'](_0x3d7122);}else{if(isParsedElementNode(_0x79f0f5)){if(!_0x79f0f5['shouldBeStreamed'])return'';const _0x1225e9=_0x79f0f5,_0x49a31c=Object['entries'](_0x1225e9['attribs'])['map'](([_0x370e7d,_0x25c74e])=>_0x370e7d+'=\x22'+_0x25c74e+'\x22')['join']('\x20');_0xe4474a+='<'+_0x1225e9['tagName']+(_0x49a31c?'\x20'+_0x49a31c:'')+'>';for(const _0x2d605b of getChildren$1(_0x1225e9))_0xe4474a+=this['renderNode'](_0x2d605b);_0xe4474a+='</'+_0x1225e9['tagName']+'>';}else{if(!isParsedTextNode(_0x79f0f5))return'';if(!_0x79f0f5['shouldBeStreamed'])return'';_0x23ba9d(_0x79f0f5)?_0xe4474a+=_0xbfa010(new Element$3('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x79f0f5])):_0xe4474a+=_0xbfa010(_0x79f0f5);}}return _0xe4474a;}['getParsedDocumentNodeList'](){const _0x42cd79=[];return traverseParsedDocument(this['document'],_0x2cdcee=>{if(isParsedTextNode(_0x2cdcee)){const _0x391aec=this['splitTextNodeIntoWordNodes'](_0x2cdcee);_0x391aec['length']&&_0x42cd79['push'](..._0x391aec);}_0x2cdcee['isWordSplitSource']||_0x2cdcee['isWordSplitResult']||_0x42cd79['push'](_0x2cdcee);}),_0x42cd79;}['splitTextNodeIntoWordNodes'](_0x3e9ad1){if(_0x3e9ad1['isWordSplitSource']||_0x3e9ad1['isWordSplitResult'])return[];const _0x7efda0=textContent(_0x3e9ad1)['match'](/(?:\s*\S+\s*)/g),_0x5a8e33=[];if(_0x7efda0&&_0x7efda0['length']>0x1){for(const _0x2fdfef of _0x7efda0){const _0x3e1c78=new Text$1(_0x2fdfef);_0x3e1c78['isWordSplitResult']=!0x0,_0x3e8fbb(_0x3e9ad1,_0x3e1c78),_0x5a8e33['push'](_0x3e1c78);}_0x3e9ad1['isWordSplitSource']=!0x0,removeElement(_0x3e9ad1);}return _0x5a8e33;}}const _0x38d906=['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(_0x1d3f96,_0x18415f){const _0x4f242c=_0x11f174=>{if(_0x18415f(_0x11f174),_0x11f174 instanceof NodeWithChildren)for(let _0xcf1909=0x0;_0xcf1909<_0x11f174['children']['length'];_0xcf1909++){const _0x34177c=_0x11f174['children'][_0xcf1909];_0x4f242c(_0x34177c);}};for(let _0x55452f=0x0;_0x55452f<_0x1d3f96['children']['length'];_0x55452f++)_0x4f242c(_0x1d3f96['children'][_0x55452f]);}function _0x23ba9d(_0x22ab24){return!(!_0x22ab24['parent']||!isParsedElementNode(_0x22ab24['parent']))&&(!!_0x38d906['includes'](_0x22ab24['parent']['tagName'])&&!textContent(_0x22ab24)['match'](/^\s*[<>]\s*$/));}function isParsedTextNode(_0x3a090a){return isText$1(_0x3a090a);}function isParsedElementNode(_0x2e3ba5){return _0x38e842(_0x2e3ba5);}function isParsedDocumentNode(_0x3c1498){return isDocument(_0x3c1498);}function createAbortableTimeout(_0x551b15){const _0x53ab10=new AbortController();return{'promise':new Promise((_0x4edc1d,_0x5f2042)=>{const _0x1805e1=setTimeout(_0x4edc1d,_0x551b15);_0x53ab10['signal']['addEventListener']('abort',()=>{clearTimeout(_0x1805e1),_0x5f2042();});}),'abortController':_0x53ab10};}class AIChatFeedItemView extends ckeditor5['View']{['options'];['content']='';['htmlStreamer'];['children'];constructor(_0x4919e1){super();const _0x73aaa9=this['bindTemplate'];this['set']('isDone',!0x1),this['set']('isVisible',!0x0),this['htmlStreamer']=new HTMLStreamer({'textNodeStyle':'animation:\x20ck-html-streamer-fade-in\x20.5s','delay':0x14}),this['options']=_0x4919e1,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0x73aaa9['if']('isDone','ck-ai-chat__feed__item_done'),_0x73aaa9['if']('isVisible','ck-hidden',_0x3af8af=>!_0x3af8af),'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'](_0x18e258=>{_0x18e258['removeAttribute']('data-id');}),this['isDone']=!0x0;}async['streamIntoElement'](_0x11b9e9,_0x23d6b1,_0x2960cc){await this['htmlStreamer']['stream']({'document':_0x11b9e9,'targetElement':_0x23d6b1,'abortSignal':_0x2960cc});}}class AISuggestionHeaderView extends ckeditor5['View']{['showChangesToggleView'];constructor(_0x46431a,_0x3f10cf){super(_0x46431a),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new _0x6f73da(_0x46431a),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','label':getTranslation$i(_0x46431a,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0x3f10cf['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x4dc1ad=>_0x4dc1ad?ckeditor5['IconShowChangesOn']:ckeditor5['IconShowChangesOff']),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0xbcce38=new ckeditor5['IconView']();_0xbcce38['content']=ckeditor5['IconDocument'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0x3f10cf['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0xbcce38,{'tag':'span','children':[getTranslation$i(_0x46431a,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}}class _0x6f73da extends ckeditor5['ButtonView']{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}}const _0x4131c7={'accepted':ckeditor5['IconBoxWithCheck'],'rejected':ckeditor5['IconBoxWithCross'],'outdated':ckeditor5['IconBoxWithCross']};class AISuggestionContentPartStateView extends ckeditor5['View']{['stateIconView'];constructor(_0x285fc0){super(_0x285fc0);const _0xec18b5=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',_0xec18b5['to']('state',_0x574b46=>'ck-ai-suggestion__content-part-state_'+_0x574b46),_0xec18b5['if']('isVisible','ck-hidden',_0x43b3ad=>!_0x43b3ad)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-suggestion__content-part-state__label']},'children':[{'text':_0xec18b5['to']('state',_0x46b9c2=>{switch(_0x46b9c2){case'accepted':return getTranslation$i(_0x285fc0,'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED');case'rejected':return getTranslation$i(_0x285fc0,'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED');case'outdated':return getTranslation$i(_0x285fc0,'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED');}})}]},this['stateIconView']]});}['setState'](_0x463254){this['state']=_0x463254;}}class StateIconView extends ckeditor5['IconView']{constructor(){super(),this['set']('state','accepted'),this['content']=_0x4131c7[this['state']],this['on']('change:state',()=>{this['content']=_0x4131c7[this['state']];});}}class AISuggestionContentPartToolbarView extends ckeditor5['ToolbarView']{['_applyButton'];['_suggestButton'];constructor(_0x19f663,_0x194943,_0x291db0){super(_0x19f663);const _0x51eba3=Boolean(_0x291db0);this['set']('isEnabled',!_0x51eba3),this['set']('isVisible',!0x0),this['class']='ck-ai-suggestion-content-part-toolbar';const _0x400965=[];if(_0x51eba3){const _0x1e7c21=new ckeditor5['ButtonView'](_0x19f663);_0x1e7c21['set']({'label':getTranslation$i(_0x19f663,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconInfo']}),_0x400965['push'](_0x1e7c21);}else{_0x194943['includes']('applySuggestion')&&(this['_applyButton']=new ckeditor5['ButtonView'](_0x19f663),this['_applyButton']['set']({'label':getTranslation$i(_0x19f663,'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');}),_0x400965['push'](this['_applyButton'])),_0x194943['includes']('insertSuggestion')&&(this['_suggestButton']=new ckeditor5['ButtonView'](_0x19f663),this['_suggestButton']['set']({'label':getTranslation$i(_0x19f663,'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');}),_0x400965['push'](this['_suggestButton']));const _0x4900a8=new ckeditor5['ButtonView'](_0x19f663);_0x4900a8['set']({'label':getTranslation$i(_0x19f663,'AI_SUGGESTION_CONTENT_PART_REJECT'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconBoxWithCross']}),_0x4900a8['bind']('isEnabled')['to'](this),_0x4900a8['on']('execute',()=>{this['fire']('rejectSuggestion');}),_0x400965['push'](_0x4900a8);}this['items']['addMany'](_0x400965);const _0x273694=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':[_0x273694['if']('isVisible','ck-hidden',_0x188374=>!_0x188374)]}});}['setButtonsVisibility']({showApplyButton:_0x4234d5,showSuggestButton:_0x1db68f}){this['_applyButton']&&(this['_applyButton']['isVisible']=_0x4234d5),this['_suggestButton']&&(this['_suggestButton']['isVisible']=_0x1db68f);}}class AISuggestionContentPartHeaderView extends ckeditor5['View']{['toolbarView'];['stateView'];['titleLabelView'];['children'];constructor(_0x370a68,{part:_0x3fc74e,uiIndex:_0x7c906,availableActions:_0x5763ae,areActionsDisabled:_0x18ffbf}){super(_0x370a68),this['set']('isEnabled',!0x0),this['set']('state','pending'),this['toolbarView']=new AISuggestionContentPartToolbarView(_0x370a68,_0x5763ae,_0x18ffbf),this['toolbarView']['on']('rejectSuggestion',()=>{this['fire']('rejectSuggestion',{'index':_0x3fc74e['index']});}),this['toolbarView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'index':_0x3fc74e['index']});}),this['toolbarView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'index':_0x3fc74e['index']});}),this['toolbarView']['bind']('isEnabled')['to'](this),this['stateView']=new AISuggestionContentPartStateView(_0x370a68),this['titleLabelView']=new AISuggestionBodyContentPartTitleLabelView(_0x370a68,_0x7c906),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',(_0x58ee9a,_0x3f0b71,_0x154624,_0xcb54cc)=>{'pending'===_0xcb54cc?this['children']['remove'](this['toolbarView']):this['children']['remove'](this['stateView']),'pending'===_0x154624?this['children']['add'](this['toolbarView']):(this['stateView']['setState'](_0x154624),this['children']['add'](this['stateView']));});}}class AISuggestionBodyContentPartTitleLabelView extends ckeditor5['View']{constructor(_0x5bfa18,_0x53b78d){super(_0x5bfa18),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[getTranslation$i(_0x5bfa18,'AI_SUGGESTION_CONTENT_PART_TITLE',_0x53b78d['toString']())]});}}class AISuggestionStreamableContentView extends ckeditor5['View']{['htmlStreamer'];constructor(_0x199e00){super(_0x199e00),this['htmlStreamer']=new HTMLStreamer({'textNodeStyle':'animation:\x20ck-html-streamer-fade-in\x20.5s','delay':0x14}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai-suggestion-streamable-content']}});}async['update']({part:_0x497281,renderingStrategy:_0x527530,abortSignal:_0x4de37e}){'streaming'===_0x527530?await this['htmlStreamer']['stream']({'document':_0x497281['content'],'targetElement':this['element'],'abortSignal':_0x4de37e}):this['element']['innerHTML']=_0x54c47c(_0x497281['content']);}['clear'](){this['htmlStreamer']['reset'](),this['element']['innerHTML']='';}}class AISuggestionBodyViewContentPartView extends ckeditor5['View']{['_children'];['_headerView'];['_streamableContentView'];constructor(_0x4e38ed,{part:_0x86df2e,uiIndex:_0x48d9e3,areActionsDisabled:_0x28071c,availableActions:_0xc29304}){super(_0x4e38ed);const _0x47ce41=this['bindTemplate'];this['set']('state','pending'),this['set']('isDone',!0x1),this['set']('isVisible',!0x1),this['set']('isActive',!0x1),this['set']('isEnabled',!0x1);const _0x3268b7=()=>{this['isEnabled']=this['isDone']&&'pending'==this['state']&&!_0x28071c;};this['on']('change:state',_0x3268b7),this['on']('change:isDone',_0x3268b7),_0x3268b7(),this['_children']=this['createCollection'](),this['_headerView']=new AISuggestionContentPartHeaderView(_0x4e38ed,{'part':_0x86df2e,'uiIndex':_0x48d9e3,'availableActions':_0xc29304,'areActionsDisabled':_0x28071c}),this['_headerView']['bind']('isEnabled','state')['to'](this),this['_headerView']['delegate'](..._0x2516b8)['to'](this),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x4e38ed),this['_children']['addMany']([this['_headerView'],this['_streamableContentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0x47ce41['to']('state',_0x1daf92=>'ck-ai-suggestion__body__content-part_'+_0x1daf92),_0x47ce41['if']('isEnabled','ck-ai-suggestion__body__content-part_enabled'),_0x47ce41['if']('isActive','ck-ai-suggestion__body__content-part_active'),_0x47ce41['if']('isVisible','ck-hidden',_0x3518da=>!_0x3518da)]},'children':this['_children'],'on':{'mouseenter':_0x47ce41['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x86df2e['index']});}),'mouseleave':_0x47ce41['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x86df2e['index']});}),'click':_0x47ce41['to'](_0x5322e3=>{const _0x26cad0=_0x5322e3['target'];this['isEnabled']&&!this['_headerView']['toolbarView']['element']['contains'](_0x26cad0)&&this['fire']('showChangeInText',{'index':_0x86df2e['index']});})}});}async['updateContent']({part:_0x232bc5,renderingStrategy:_0x894f69,showUnchangedParts:_0x37e7ae=!0x1,abortSignal:_0x579a20}){this['partDefinition']=_0x232bc5,this['isVisible']=this['partDefinition']['hasChanges']||_0x37e7ae,this['isVisible']&&await this['_streamableContentView']['update']({'part':_0x232bc5,'renderingStrategy':_0x894f69,'abortSignal':_0x579a20});}['markAsDone'](){this['isDone']=!0x0;}}class _0x2dc53c extends ckeditor5['EmitterMixin'](){['queue']=[];['isProcessing']=!0x1;['_abortController'];async['enqueue'](_0x1b28e6){const _0x30745e=this['createTask'](_0x1b28e6);return this['queue']['push'](_0x30745e),this['_processQueue'](),_0x30745e['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(_0x2c16e7=>{this['once']('_queueEmpty',()=>{_0x2c16e7();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x5d762b=this['queue']['shift']();try{await _0x5d762b['callback'](this['_abortController']['signal']),_0x5d762b['resolve']();}catch(_0x51042f){_0x5d762b['reject'](_0x51042f);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}['createTask'](_0x194467){let _0x47379d,_0x36260e;const _0x4b8e0c=new Promise((_0x47fdca,_0xdb62e)=>{_0x47379d=_0x47fdca,_0x36260e=_0xdb62e;});return{'callback':_0x194467,'resolve':_0x47379d,'reject':_0x36260e,'completePromise':_0x4b8e0c};}}class AIChatFeedErrorItemView extends AIChatFeedItemView{constructor(_0xc8aa3a){super(_0xc8aa3a),this['extendTemplate']({'attributes':{'class':['ck-ai-notification','warning'===_0xc8aa3a['level']?'ck-ai-notification_warning':'ck-ai-notification_error']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}['setContent'](_0x489eac){this['element']['innerHTML']=_0x489eac;}}const _0x1554ad=['applySuggestion','insertSuggestion'];class AIChatFeedSuggestionItemActionsView extends ckeditor5['View']{['_applyChangesButton'];['_insertSuggestionsButton'];['children'];constructor(_0x257438,_0x3e2bb3=[..._0x1554ad],_0x3723a1){super(_0x257438);const _0x485100=this['bindTemplate'],_0xbdeb6c=Boolean(_0x3723a1);if(this['set']('isEnabled',!_0xbdeb6c),this['set']('isVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),_0xbdeb6c){const _0x4fb4e3=new ckeditor5['ButtonView'](_0x257438);_0x4fb4e3['set']({'label':getTranslation$i(_0x257438,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconInfo']});const _0x1bc313=new ckeditor5['View'](_0x257438);_0x1bc313['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__suggestion__actions__info'},'children':[{'tag':'p','children':[getTranslation$i(_0x257438,'AI_SUGGESTION_DISABLED_FEED_MESSAGE'),_0x4fb4e3]}]}),this['children']['add'](_0x1bc313);}else this['_applyChangesButton']=new ckeditor5['ButtonView'](_0x257438),this['_applyChangesButton']['set']({'label':getTranslation$i(_0x257438,'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),'withText':!0x0,'type':'button','isVisible':_0x3e2bb3['includes']('applySuggestion'),'class':'ck-ai-button-primary'}),this['_insertSuggestionsButton']=new ckeditor5['ButtonView'](_0x257438),this['_insertSuggestionsButton']['set']({'label':getTranslation$i(_0x257438,'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL'),'withText':!0x0,'type':'button','isVisible':_0x3e2bb3['includes']('insertSuggestion'),'class':'ck-ai-button-secondary'}),this['_insertSuggestionsButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_applyChangesButton']['on']('execute',()=>{this['fire']('applySuggestion');}),[this['_applyChangesButton'],this['_insertSuggestionsButton']]['forEach'](_0x510449=>{_0x510449['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',_0x485100['if']('isVisible','ck-hidden',_0x2080ea=>!_0x2080ea)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_applyChangesButton']&&(this['_applyChangesButton']['isVisible']=!this['isTrackChangesOn']);});}['updateVisibility'](_0x3dd09e){this['isVisible']=_0x3dd09e;}['_switchButtonLabelsPlurality'](_0x3d6453){this['_applyChangesButton']&&this['_insertSuggestionsButton']&&(_0x3d6453?(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 _0x22e499=0x190;class _0x4b1d1b extends ckeditor5['View']{['children'];['balloonPanelView'];['bodyCollection'];constructor(_0x71c3e0,_0x126ab1){super(_0x71c3e0),this['bodyCollection']=_0x126ab1,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',_0x9bc76b=>!_0x9bc76b)]},'children':this['children']});const _0x3abe19=new ckeditor5['View'](this['locale']),_0x13ca69=new ckeditor5['IconView']();_0x13ca69['content']=ckeditor5['IconWeb'],_0x3abe19['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0x13ca69,{'tag':'span','children':[{'text':getTranslation$i(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0x3abe19),this['_setupBalloonPanel'](_0x71c3e0);}['addSource'](_0x32252e){this['children']['add'](new _0x22d7a0(this['locale'],_0x32252e,this['balloonPanelView']));}['_setupBalloonPanel'](_0x10597c){this['balloonPanelView']=new ckeditor5['BalloonPanelView'](_0x10597c),this['balloonPanelView']['extendTemplate']({'attributes':{'class':['ck-ai-web-source__tooltip-balloon']}}),this['bodyCollection']['add'](this['balloonPanelView']);}}class _0x22d7a0 extends ckeditor5['ButtonView']{['balloonPanelView'];['source'];constructor(_0x84c254,_0x25af3d,_0x56b40e){super(_0x84c254),this['source']=_0x25af3d,this['balloonPanelView']=_0x56b40e,this['set']({'label':_0x25af3d['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0x4f0f78=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0x4f0f78['to'](()=>{window['open'](_0x25af3d['url'],'_blank');}),'mouseenter':_0x4f0f78['to'](()=>{this['_showTooltip']();}),'mouseleave':_0x4f0f78['to'](()=>{this['_hideTooltip']();})}}),_0x25af3d['favicon']){const _0x1602f0=new ckeditor5['View'](_0x84c254);_0x1602f0['setTemplate']({'tag':'img','attributes':{'src':_0x25af3d['favicon']||ckeditor5['IconWeb'],'alt':_0x25af3d['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0x1602f0);}else this['set']('icon',ckeditor5['IconWeb']);}['_createTooltipContentView'](_0x349eee,_0x40b197){const _0x25d461=new ckeditor5['View'](_0x349eee),_0xad1bf8=[];let _0x2a9650;_0x40b197?.['favicon']?(_0x2a9650=new ckeditor5['View'](_0x349eee),_0x2a9650['setTemplate']({'tag':'img','attributes':{'src':_0x40b197['favicon'],'alt':_0x40b197['title'],'class':['ck-ai-web-source__tooltip-image']}})):(_0x2a9650=new ckeditor5['IconView'](),_0x2a9650['content']=ckeditor5['IconWeb'],_0x2a9650['extendTemplate']({'attributes':{'alt':_0x40b197['title'],'class':['ck-ai-web-source__tooltip-image']}})),_0xad1bf8['push'](_0x2a9650);const _0x137cc5=new ckeditor5['View'](_0x349eee);_0x137cc5['setTemplate']({'tag':'a','attributes':{'class':['ck-ai-web-source__tooltip-url'],'href':_0x40b197['url']},'children':[{'text':new URL(_0x40b197['url'])?.['hostname']}]}),_0xad1bf8['push'](_0x137cc5);const _0x33546e=new ckeditor5['View'](_0x349eee);_0x33546e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-web-source__tooltip-row']},'children':_0xad1bf8});const _0x29cf07=new ckeditor5['View'](_0x349eee);return _0x29cf07['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-title']},'children':[{'text':_0x40b197['title']['length']>_0x22e499?_0x40b197['title']['substring'](0x0,_0x22e499)+'...':_0x40b197['title']}]}),_0x25d461['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-source__tooltip']},'children':[_0x33546e,_0x29cf07]}),_0x25d461;}['_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 _0x31b527=this['_createTooltipContentView'](this['locale'],this['source']);this['balloonPanelView']['content']['add'](_0x31b527);}}class AISuggestionBodyView extends ckeditor5['View']{['_actionsView'];['_sourcesView'];['_children'];['_areActionsDisabled'];['_showUnchangedParts'];['_updateContentPartsPromiseQueue'];['_emptyPartsWarningView'];['_availableActions'];['_cachedContentParts']=[];constructor(_0x1e9bee,_0x5bd600){super(_0x1e9bee);const {areActionsDisabled:_0x3dc41a,showUnchangedParts:_0x3cc8d5,availableActions:_0x3eaaee}=_0x5bd600;this['_areActionsDisabled']=_0x3dc41a,this['_showUnchangedParts']=_0x3cc8d5,this['_availableActions']=_0x3eaaee,this['set']('hasPendingParts',!0x1),this['set']('isTrackChangesOn',!0x1),this['_children']=this['createCollection'](),this['_updateContentPartsPromiseQueue']=new _0x2dc53c(),this['_emptyPartsWarningView']=new AIChatFeedErrorItemView({'id':'empty-parts-warning','initialContent':getTranslation$i(_0x1e9bee,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,this['_actionsView']=new AIChatFeedSuggestionItemActionsView(_0x1e9bee,_0x5bd600['availableActions'],this['_areActionsDisabled']),this['_actionsView']['bind']('isTrackChangesOn')['to'](this),this['_sourcesView']=new _0x4b1d1b(this['locale'],_0x5bd600['bodyCollection']),_0x5bd600['areActionsDisabled']?this['_actionsView']['isEnabled']=!0x1:this['_actionsView']['bind']('isEnabled')['to'](this,'hasPendingParts'),this['_actionsView']['delegate'](..._0x2516b8)['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']]});}get['partsCount'](){return this['_children']['length'];}async['updateContentParts']({parts:_0x51abda,renderingStrategy:_0x502c0b,abortSignal:_0x223a2d}){this['_children']['length']?_0x51abda['forEach'](_0x2cc551=>{const _0x3d3f68=this['_cachedContentParts']['findIndex'](_0x2068c7=>_0x2068c7['index']==_0x2cc551['index']);-0x1===_0x3d3f68?this['_cachedContentParts']['push'](_0x2cc551):this['_cachedContentParts'][_0x3d3f68]=_0x2cc551;}):this['_cachedContentParts']=_0x51abda;const _0x312b7a=this['_showUnchangedParts']?_0x51abda:_0x51abda['filter'](_0x3a535e=>_0x3a535e['hasChanges']);this['_actionsView']['_switchButtonLabelsPlurality'](_0x312b7a['length']>0x1);for(const _0x293de6 of _0x312b7a)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x4885ba=>{let _0x1fa627=this['getPartView'](_0x293de6['index']);_0x1fa627||(_0x1fa627=new AISuggestionBodyViewContentPartView(this['locale'],{'part':_0x293de6,'uiIndex':this['_children']['length']+0x1,'areActionsDisabled':this['_areActionsDisabled'],'availableActions':this['_availableActions']}),_0x1fa627['delegate'](..._0x2516b8)['to'](this),this['_children']['add'](_0x1fa627),this['hasPendingParts']=!0x0),await _0x1fa627['updateContent']({'part':_0x293de6,'renderingStrategy':_0x502c0b,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x4885ba}),_0x1fa627['markAsDone']();});return _0x223a2d?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort']();}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}['updatePartState'](_0x36dc22,_0x28de74){const _0x50539d=this['getPartView'](_0x36dc22);_0x50539d&&(_0x50539d['state']=_0x28de74),this['hasPendingParts']='pending'==_0x28de74||Array['from'](this['_children'])['some'](_0x4004be=>'pending'==_0x4004be['state']);}['setPartActive'](_0x1e23eb,_0x415ffb){if(!0x1===_0x1e23eb){for(const _0x410887 of this['_children'])_0x410887['isActive']=!0x1;}else{const _0x5e9443=this['getPartView'](_0x1e23eb);_0x5e9443&&(_0x5e9443['isActive']=_0x415ffb);}}['updateSources'](_0x22dc3c){_0x22dc3c['forEach'](_0x58824e=>this['_sourcesView']['addSource'](_0x58824e)),this['_sourcesView']['isVisible']=!0x0;}['getPartView'](_0xcb0bc){return this['_children']['find'](_0xca98f0=>_0xca98f0['partDefinition']['index']==_0xcb0bc)??null;}['markAsDone'](){if(!this['_showUnchangedParts']){const _0x4fbeec=!this['_cachedContentParts']['find'](({hasChanges:_0x177f45})=>_0x177f45),_0x68579c=!!this['_cachedContentParts']['find'](({hasChanges:_0x2c7c05})=>!_0x2c7c05);this['_emptyPartsWarningView']['isVisible']=0x0==this['_children']['length']||_0x68579c,_0x4fbeec?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['_children']['forEach'](_0x1b78aa=>_0x1b78aa['markAsDone']()),this['_actionsView']['updateVisibility'](this['hasNonEmptyParts']);}get['hasNonEmptyParts'](){return this['_children']['filter'](_0x3ca62e=>_0x3ca62e['partDefinition']['hasChanges'])['length']>0x0;}}class AISuggestionContainerView extends ckeditor5['View']{['bodyView'];['children'];['headerView'];constructor(_0x2aaa20,_0x233903,_0x1c05f6){super(_0x2aaa20);const {showDiff:_0x309246,areActionsDisabled:_0x32feab,showUnchangedParts:_0x9282d8,availableActions:_0x482cd8}=_0x233903;this['set']('isTrackChangesOn',!0x1),this['set']('areChangesVisible',!0x1),this['children']=this['createCollection'](),this['headerView']=new AISuggestionHeaderView(_0x2aaa20,{'showDiff':_0x309246}),this['headerView']['on']('toggleShowChanges',(_0x13e2f0,_0x121f4d)=>{this['areChangesVisible']=_0x121f4d['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x121f4d['isOn']});}),this['children']['add'](this['headerView']),this['bodyView']=new AISuggestionBodyView(_0x2aaa20,{'areActionsDisabled':_0x32feab,'showUnchangedParts':!!_0x9282d8,'availableActions':_0x482cd8,'bodyCollection':_0x1c05f6}),this['bodyView']['delegate'](..._0x2516b8)['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'](_0x360a18){await this['bodyView']['updateContentParts'](_0x360a18);}['updateSources'](_0x26ff0d){this['bodyView']['updateSources'](_0x26ff0d);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}}class AIChatFeedSuggestionItemView extends AIChatFeedItemView{['containerView'];constructor(_0x152bea,_0x4fd380,_0x3242bb){super(_0x4fd380),this['set']('isTrackChangesOn',!0x1),this['containerView']=new AISuggestionContainerView(_0x152bea,{'showDiff':_0x4fd380['showDiff'],'areActionsDisabled':_0x4fd380['areActionsDisabled'],'availableActions':_0x4fd380['availableActions']},_0x3242bb),this['containerView']['on']('toggleSuggestionDisplayMode',(_0x3a49ae,_0x292033)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0x292033['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',(_0xcf57f5,{index:_0x1b2663})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0x1b2663});}),this['containerView']['on']('applySuggestion',(_0x5e7da4,{index:_0x6f34f9}={})=>{this['fire']('applySuggestion',{'replyId':this['options']['id'],'partIndex':_0x6f34f9});}),this['containerView']['on']('insertSuggestion',(_0x1a3772,{index:_0x4df4e0}={})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x4df4e0});}),this['containerView']['on']('rejectSuggestion',(_0x52fa90,{index:_0x148ba8})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0x148ba8});}),this['containerView']['on']('mouseOverSuggestion',(_0xa24e2a,{index:_0x59c9ad})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0x59c9ad});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x1207b4,{index:_0x540b1d})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0x540b1d});}),this['children']['addMany']([this['containerView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async['updateContent'](_0x54737e){await this['containerView']['updateContent'](_0x54737e);}['updatePartState'](_0x16c9c1,_0x248592){this['containerView']['bodyView']['updatePartState'](_0x16c9c1,_0x248592);}['setPartActive'](_0x53948b,_0x4d1d28){!0x1===_0x53948b?this['containerView']['bodyView']['setPartActive'](!0x1):this['containerView']['bodyView']['setPartActive'](_0x53948b,_0x4d1d28);}['updateSources'](_0x4f66e3){this['containerView']['updateSources'](_0x4f66e3);}['getPartView'](_0x5199e9){return this['containerView']['bodyView']['getPartView'](_0x5199e9);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone']();}}class AIChatFeedReplyItemView extends AIChatFeedItemView{['replyContainer'];['_bodyCollection'];constructor(_0x59c20e,_0x3d5307,_0x5e3627){super(_0x3d5307),this['_bodyCollection']=_0x5e3627,this['locale']=_0x59c20e,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':_0x10117b(this['options']['initialContent']),'renderingStrategy':'static'}),this['markAsDone']());}async['updateContent']({parsedContent:_0x1cf916,renderingStrategy:_0x2e9c23,abortSignal:_0x56e600}){'streaming'===_0x2e9c23?await this['streamIntoElement'](_0x1cf916,this['replyContainer']['element'],_0x56e600):this['replyContainer']['element']['innerHTML']=_0xbfa010(_0x1cf916);}['updateSources'](_0x376075){const _0x440f05=new _0x4b1d1b(this['locale'],this['_bodyCollection']);_0x440f05['children']['addMany'](_0x376075['map'](_0x4492f5=>new _0x22d7a0(this['locale'],_0x4492f5,_0x440f05['balloonPanelView']))),_0x440f05['isVisible']=!0x0,this['children']['add'](_0x440f05);}}class _0x3910e extends ckeditor5['SpinnerView']{constructor(_0x47b54c=void 0x0){super();const _0x604320=_0x47b54c?'ck-ai-spinner_'+_0x47b54c:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x604320]}});}}const _0x5a1055={'file':ckeditor5['IconFileUpload'],'document':ckeditor5['IconDocument'],'web-resource':ckeditor5['IconLink'],'text':ckeditor5['IconFileUpload'],'selection':ckeditor5['IconSelection'],'mcp-tool-context':ckeditor5['IconDocument']},_0x2ce68a=0x78,_0x1ea574={'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'},_0x5f132f={'position':'n'};class AIChatContextItemButtonView extends ckeditor5['ButtonView']{constructor(_0x5bcb5c,_0x105c89,_0x2680aa,_0x33b546,_0x42a749=!0x1){super(_0x5bcb5c),this['_isAnimationOnEnterEnabled']=_0x33b546,this['_initializeProperties'](_0x105c89,_0x2680aa,_0x42a749),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'](_0x46fe6d,_0x3161f9,_0x5684c5){this['set']('label',_0x46fe6d['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x46fe6d['type']),this['set']('id',_0x46fe6d['uiId']),this['set']('readonly',_0x3161f9),this['set']('isLoading',_0x5684c5);}['_setupTemplate'](){const _0x301254=this['_createIconView'](),_0x41076e=this['_createRemoveButton'](),_0x596c40=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x596c40),'children':this['_createTemplateChildren'](_0x301254,_0x41076e,_0x596c40)});}['_createTemplateAttributes'](_0x2ec6be){return{'class':[_0x1ea574['contextChip'],_0x2ec6be['if']('itemType',_0x1ea574['contextChipDocument'],_0xfe4557=>'document'==_0xfe4557),_0x2ec6be['if']('itemType',_0x1ea574['contextChipWide'],_0x37ecbf=>'selection'==_0x37ecbf)],'data-cke-tooltip-text':_0x2ec6be['to']('label',getTooltipForLabel),'data-cke-tooltip-position':_0x5f132f['position'],'data-cke-tooltip-class':_0x1ea574['chipTooltip']};}['_createTemplateChildren'](_0x15e405,_0x14c554,_0x3101cd){const _0x9ae73e=this['_createLabelElement'](_0x3101cd),_0x2acea1=this['_createLoaderIcon']();return this['readonly']?[_0x15e405,_0x9ae73e]:[_0x15e405,_0x2acea1,_0x9ae73e,_0x14c554];}['_createLabelElement'](_0x94cc7f){return{'tag':'span','attributes':{'class':_0x1ea574['contextChipLabel']},'children':[{'text':_0x94cc7f['to']('label')}]};}['_createRemoveButton'](){const _0x25e7fe=new ckeditor5['ButtonView'](this['locale']);return _0x25e7fe['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':ckeditor5['IconClose']}),this['_setupRemoveButtonEvent'](_0x25e7fe),_0x25e7fe;}['_setupRemoveButtonEvent'](_0x3f2a53){_0x3f2a53['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}['_createIconView'](){const _0x53c3fd=this['bindTemplate'],_0x4ff7c4=new ckeditor5['IconView']();return _0x4ff7c4['content']=_0x5a1055[this['itemType']],_0x4ff7c4['extendTemplate']({'attributes':{'class':[_0x1ea574['contextChipTypeIcon'],_0x53c3fd['if']('isLoading','ck-hidden',_0x3f8ff4=>_0x3f8ff4)]}}),_0x4ff7c4;}['_handleAnimationEndOnce'](_0x2b273f,_0x32f3f3){if(!_0x2b273f)return;const _0x5a24f0=()=>{_0x32f3f3(),_0x2b273f['removeEventListener']('animationend',_0x5a24f0),_0x2b273f['removeEventListener']('webkitAnimationEnd',_0x5a24f0);};_0x2b273f['addEventListener']('animationend',_0x5a24f0),_0x2b273f['addEventListener']('webkitAnimationEnd',_0x5a24f0);}['_createLoaderIcon'](){const _0x26694f=new _0x3910e('small');return _0x26694f['bind']('isVisible')['to'](this,'isLoading',_0x3e9cb1=>_0x3e9cb1),_0x26694f;}}function getTooltipForLabel(_0x186425){if(!_0x186425)return _0x186425;if(_0x186425['length']<=_0x2ce68a)return _0x186425;const _0x592854=_0x186425['slice'](0x0,_0x2ce68a),_0x4ee8c5=_0x592854['lastIndexOf']('\x20');return(_0x4ee8c5>0x0?_0x592854['slice'](0x0,_0x4ee8c5):_0x592854)+'…';}const _0x578477={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},_0x46259b='300px';class AIChatChipsOverflowManager{['_locale'];['_config'];['_visibleChips'];['_overflowChips'];['_showMoreButtonView']=null;['_showMoreBalloonPanelView']=null;['_containerElement']=null;['_bodyCollection'];['_parentView']=null;['_intersectionObserver']=null;['_pendingCalculation']=!0x1;constructor(_0x1660b3,_0x33fe4e,_0x589602,_0x359bc4,_0x4d59c2){this['_locale']=_0x1660b3,this['_visibleChips']=_0x33fe4e,this['_config']={..._0x578477,..._0x589602,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0x589602['cssClasses']}},this['_overflowChips']=new ckeditor5['Collection'](),this['_bodyCollection']=_0x359bc4,this['_parentView']=_0x4d59c2||null;}['setContainerElement'](_0x1e6480){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x1e6480,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 _0x5a9c90=[...this['_visibleChips'],...this['_overflowChips']],_0x167734=this['_createCalculationContainer'](),_0xf46ca6=this['_calculateOverflowInContainer'](_0x167734,_0x5a9c90),_0xd6cec5=_0x167734['_ancestorsToRestore'];_0xd6cec5&&this['_restoreAncestorVisibility'](_0xd6cec5),_0x167734['remove'](),this['_applyOverflowResults'](_0x5a9c90,_0xf46ca6);}['_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 _0x406bce=new ckeditor5['ButtonView'](this['_locale']);_0x406bce['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x1908e5=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x1908e5['push'](this['_config']['cssClasses']['controlsButton']),_0x406bce['extendTemplate']({'attributes':{'class':_0x1908e5}}),_0x406bce;}['_createShowMoreBalloonPanelView'](){const _0x2840b6=new ckeditor5['BalloonPanelView'](this['_locale']);return _0x2840b6['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0x2840b6),_0x2840b6;}['_updateBalloonContent'](){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x2ea6f8=>{_0x2ea6f8['disableAnimationOnEnter']();});const _0x2a9701=new ckeditor5['View'](this['_locale']);_0x2a9701['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0x2a9701);}}['_handleShowMoreButtonClick'](){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}['_updateShowMoreButtonVisibility'](){const _0x145fdf=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0x145fdf?'':'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'](_0x1d4f34){const _0x1fcf1c=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0x145aa4=this['_containerElement']?.['classList'];if(_0x145aa4){const _0x120b05=_0x145aa4[0x0]||'',_0xc47410=_0x1d4f34['querySelector']('.'+_0x120b05),_0x1d19e8=_0x1d4f34['querySelector'](_0x1fcf1c);return _0xc47410||_0x1d19e8||_0x1d4f34;}return _0x1d4f34['querySelector'](_0x1fcf1c)||_0x1d4f34;}['_calculateContainerWidth'](){const _0x161596=this['_parentView']?.['element']||this['_containerElement'];if(!_0x161596)return _0x46259b;const _0x28ba5b=window['getComputedStyle'](_0x161596)['width'];if('auto'===_0x28ba5b||'0px'===_0x28ba5b||!_0x28ba5b){const _0x4fe381=_0x161596['parentElement'];if(_0x4fe381){const _0x3c50f2=window['getComputedStyle'](_0x4fe381);return'auto'!==_0x3c50f2['width']?_0x3c50f2['width']:_0x46259b;}return _0x46259b;}return _0x28ba5b;}['_applyCalculationStyles'](_0xc44e3,_0x1f8bf3){this['_config']['cssClasses']['calculationContainer']&&_0xc44e3['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0xc44e3['style']['width']=_0x1f8bf3,_0xc44e3['style']['position']='absolute',_0xc44e3['style']['top']='-9999px',_0xc44e3['style']['left']='-9999px',_0xc44e3['style']['opacity']='0',_0xc44e3['style']['pointerEvents']='none',_0xc44e3['style']['zIndex']='-1',_0xc44e3['style']['visibility']='visible\x20!important',_0xc44e3['style']['display']='block\x20!important',_0xc44e3['style']['boxSizing']='border-box';}['_restoreAncestorVisibility'](_0x5ca761){_0x5ca761['forEach'](({element:_0x110e14,originalDisplay:_0x50f7d3,originalVisibility:_0x28820a})=>{_0x110e14['style']['display']=_0x50f7d3,_0x110e14['style']['visibility']=_0x28820a;});}['_makeAncestorsVisible'](_0x3aa61f){const _0x28e0e0=[];let _0x4b3567=_0x3aa61f;for(;_0x4b3567&&_0x4b3567!==document['body'];){const _0x4dc750=window['getComputedStyle'](_0x4b3567);'none'!==_0x4dc750['display']&&'hidden'!==_0x4dc750['visibility']||(_0x28e0e0['push']({'element':_0x4b3567,'originalDisplay':_0x4b3567['style']['display'],'originalVisibility':_0x4b3567['style']['visibility']}),_0x4b3567['style']['display']='block',_0x4b3567['style']['visibility']='visible'),_0x4b3567=_0x4b3567['parentElement'];}return _0x28e0e0;}['_createContainerElements'](){let _0x2d7129,_0x33e887;return this['_parentView']?.['element']?(_0x2d7129=this['_parentView']['element']['cloneNode'](!0x0),_0x33e887=this['_findTargetContainer'](_0x2d7129)):(_0x2d7129=document['createElement']('div'),_0x33e887=_0x2d7129),{'calculationContainer':_0x2d7129,'targetContainer':_0x33e887};}['_createCalculationContainer'](){const {calculationContainer:_0x2c3beb,targetContainer:_0x7945d1}=this['_createContainerElements'](),_0x43cb45=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x2c3beb,_0x43cb45);const _0x5e51aa=this['_parentView']?.['element']||this['_containerElement'],_0x5824cd=_0x5e51aa?.['parentElement'];_0x5824cd?_0x5824cd['appendChild'](_0x2c3beb):document['body']['appendChild'](_0x2c3beb),_0x2c3beb['_targetContainer']=_0x7945d1;const _0x18370f=this['_makeAncestorsVisible'](_0x5824cd||null);return _0x2c3beb['offsetWidth'],_0x2c3beb['_ancestorsToRestore']=_0x18370f,_0x2c3beb;}['_calculateOverflowInContainer'](_0x38b142,_0x4f5672){const _0x5c37a8=_0x38b142['_targetContainer']||_0x38b142,_0x45150e=[],{rowCount:_0x4dd8a7}=this['_renderChipsAndCountRows'](_0x5c37a8,_0x4f5672);if(_0x4dd8a7<=this['_config']['maxVisibleRows'])return _0x45150e;const _0x14ab12=_0x4f5672['slice']();for(;_0x14ab12['length']>0x0;){if(this['_testButtonFit'](_0x38b142,_0x5c37a8,_0x14ab12)){const _0x26677a=_0x4f5672['filter'](_0x4b0d79=>!_0x14ab12['includes'](_0x4b0d79));_0x45150e['push'](..._0x26677a);break;}if(!_0x14ab12['pop']())break;}return _0x45150e;}['_renderChipsAndCountRows'](_0x484a37,_0x169615){_0x484a37['innerHTML']='',_0x169615['forEach'](_0x4bb50c=>{if(_0x4bb50c['element']){const _0x2ed05b=_0x4bb50c['element']['cloneNode'](!0x0);_0x484a37['appendChild'](_0x2ed05b);}}),_0x484a37['offsetWidth'];const _0x3dc1bc=_0x484a37['children'],_0x40e433=[];return Array['from'](_0x3dc1bc)['forEach'](_0xdd0d6a=>{const _0x456670=_0xdd0d6a['getBoundingClientRect']()['top'];_0x40e433['some'](_0x175620=>Math['abs'](_0x175620-_0x456670)<this['_config']['rowDetectionTolerance'])||_0x40e433['push'](_0x456670);}),{'rowCount':_0x40e433['length']};}['_createMockButton'](){const _0x4502fe=document['createElement']('button');return _0x4502fe['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0x4502fe['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0x4502fe['textContent']='+\x201',_0x4502fe;}['_testButtonFit'](_0x3e74fa,_0xae3418,_0x43cc6f){this['_renderChipsAndCountRows'](_0xae3418,_0x43cc6f);const _0x43e681=this['_createMockButton']();_0x3e74fa['appendChild'](_0x43e681),_0x3e74fa['offsetWidth'];const _0x2da0a1=[..._0xae3418['children'],_0x43e681],_0x52e9d1=[];_0x2da0a1['forEach'](_0x2931f7=>{const _0x3e3743=_0x2931f7['getBoundingClientRect']()['top'];_0x52e9d1['some'](_0xbacb1e=>Math['abs'](_0xbacb1e-_0x3e3743)<this['_config']['rowDetectionTolerance'])||_0x52e9d1['push'](_0x3e3743);});const _0x5bd864=_0x52e9d1['length'];return _0x43e681['remove'](),_0x5bd864<=this['_config']['maxVisibleRows'];}['_distributeChips'](_0x5e950a,_0x5999f7){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0x5e950a['forEach'](_0x3be57a=>{_0x5999f7['includes'](_0x3be57a)?this['_overflowChips']['add'](_0x3be57a):this['_visibleChips']['add'](_0x3be57a);});}['_updateOverflowUI'](_0x1e1fe0){if(_0x1e1fe0>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0x1e1fe0>0x0&&this['_showMoreButtonView']){const _0x3b3e76=''+this['_config']['showMoreLabelPrefix']+(_0x1e1fe0<0x63?_0x1e1fe0:'99');this['_showMoreButtonView']['label']=_0x3b3e76;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}['_applyOverflowResults'](_0x1ada3b,_0x4a5f4f){this['_distributeChips'](_0x1ada3b,_0x4a5f4f),this['_updateOverflowUI'](_0x4a5f4f['length']);}['_setupVisibilityObserver'](){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0x25b5ff=>{_0x25b5ff[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 _0xc59942=this['_containerElement']['getBoundingClientRect']();if(0x0===_0xc59942['width']||0x0===_0xc59942['height'])return!0x1;const _0x5df1c3=window['innerHeight']||document['documentElement']['clientHeight'],_0x2d0ada=window['innerWidth']||document['documentElement']['clientWidth'],_0x34a52a=0xc8;return _0xc59942['bottom']>=-0xc8&&_0xc59942['top']<=_0x5df1c3+_0x34a52a&&_0xc59942['right']>=-0xc8&&_0xc59942['left']<=_0x2d0ada+_0x34a52a;}}const _0x1f2079={'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(_0x53d7f4,_0x53d0cc,_0x154c40){super(_0x53d7f4),this['_bodyCollection']=_0x154c40,this['_createContextChips'](_0x53d0cc);const _0x51de8c={'cssClasses':{'showMoreButton':_0x1f2079['SHOW_MORE_BUTTON'],'showMoreBalloon':_0x1f2079['SHOW_MORE_BALLOON'],'overflowContainer':_0x1f2079['CONTEXT_CHIPS_OVERFLOW'],'controlsButton':_0x1f2079['CONTROLS_BUTTON']}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x53d7f4,this['_contextChips'],_0x51de8c,this['_bodyCollection'],this),this['setTemplate']({'tag':'div','attributes':{'class':[_0x1f2079['CONTEXT_CHIPS'],'ck','ck-reset_all']},'children':[{'tag':'div','attributes':{'class':_0x1f2079['CONTEXT_CHIPS_VISIBLE']},'children':this['_contextChips']}]});}['render'](){super['render']();const _0x5a4403=this['element']['querySelector']('.'+_0x1f2079['CONTEXT_CHIPS_VISIBLE']);_0x5a4403&&(this['_overflowManager']['setContainerElement'](_0x5a4403),this['_overflowManager']['reorganizeChips']());}['destroy'](){super['destroy'](),this['_overflowManager']['destroy']();}['_createContextChips'](_0x274cf2){for(const _0x5a00bd of _0x274cf2){const _0x4f7790=new AIChatContextItemButtonView(this['locale'],_0x5a00bd,!0x0,!0x1);this['_contextChips']['add'](_0x4f7790);}}}class AIChatFeedUserMessageItemView extends AIChatFeedItemView{['_contextChipsView']=null;['_locale'];['_bodyCollection'];['_messageContentView'];constructor(_0x4bad98,_0x41f035,_0x7e18bb){super(_0x41f035),this['_locale']=_0x4bad98,this['_bodyCollection']=_0x7e18bb,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'](_0x2d54bd=>!_0x2d54bd['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(_0x182868,_0x32c8d3){super(_0x32c8d3);const {isWebSearchEnabled:_0x11d21f,isReasoningEnabled:_0x4e6e37}=_0x32c8d3['capabilities'],_0x367eb3=[];let _0x53e033='';_0x11d21f&&_0x4e6e37?(_0x53e033=getTranslation$i(_0x182868,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x367eb3['push'](createIcon(ckeditor5['IconWeb'])),_0x367eb3['push'](createIcon(ckeditor5['IconBulb']))):_0x11d21f?(_0x53e033=getTranslation$i(_0x182868,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x367eb3['push'](createIcon(ckeditor5['IconWeb']))):_0x4e6e37&&(_0x53e033=getTranslation$i(_0x182868,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x367eb3['push'](createIcon(ckeditor5['IconBulb']))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x53e033?'':'ck-hidden']}});const _0x3a9fe7=new ckeditor5['View']();_0x3a9fe7['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x367eb3,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x53e033]}]}),this['children']['add'](_0x3a9fe7),this['capabilities']=_0x32c8d3['capabilities'];}}function createIcon(_0x248be4){const _0x3dc984=new ckeditor5['IconView']();return _0x3dc984['content']=_0x248be4,_0x3dc984;}const _0x266c10=0x5,_0x52c9df=['wheel','touchstart','pointerdown','keydown'],_0x2cce10=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];class _0x10eae7{['element'];['animationFrameId'];['isRunning'];['abortController'];['isUserPaused'];constructor(_0x29eb73){this['element']=_0x29eb73,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1;for(const _0x30e48c of _0x52c9df){const _0x4583d8='keydown'!==_0x30e48c;this['element']['addEventListener'](_0x30e48c,this['_onUserEvent']['bind'](this),{'passive':_0x4583d8,'signal':this['abortController']['signal']});}}['start'](){this['isRunning']||(this['isRunning']=!0x0,this['isUserPaused']=!0x1,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'](_0x2dae31){if(this['isRunning']){if('keydown'===_0x2dae31['type']){const _0x1386c9=_0x2dae31['key'];if(!_0x2cce10['includes'](_0x1386c9))return;}_0x2dae31 instanceof WheelEvent?_0x2dae31['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}['_isAtBottom'](){const {scrollTop:_0x4149a,scrollHeight:_0x232237,clientHeight:_0x3d8550}=this['element'];return _0x232237-_0x4149a-_0x3d8550<=_0x266c10;}['_rafUpdate'](){this['isRunning']&&(this['isUserPaused']||this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'auto'}),this['animationFrameId']=requestAnimationFrame(this['_rafUpdate']['bind'](this)));}}class AISkeletonView extends ckeditor5['View']{constructor(_0x426c9f,_0x38e2ba){super(_0x426c9f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton']},'children':this['_createSkeletonItems'](_0x38e2ba)});}['_createSkeletonItems'](_0x22a5df){const _0x5278ee=['ck','ck-ai-skeleton__item'];return _0x22a5df['map'](_0x164409=>{let _0x2d9559='';switch(_0x164409['attributes']['align']){case'right':_0x2d9559='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x2d9559='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x2d9559='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0x164409['tag'],'attributes':{'class':[..._0x5278ee,_0x164409['attributes']['class']?_0x164409['attributes']['class']:''],'style':'width:\x20'+_0x164409['attributes']['width']+';\x20height:\x20'+_0x164409['attributes']['height']+';'+_0x2d9559}};});}}const _0x30f532={'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(_0x5a23ac,_0x348171,_0x1e12b8,_0x7d8a88){return new Array(_0x5a23ac)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0x348171,'height':_0x1e12b8,'align':_0x7d8a88}}));}class AIChatFeedCustomElementView extends AIChatFeedItemView{constructor(_0x30cf52){super(_0x30cf52),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(_0x361569,_0x17b8fc){super(_0x361569),this['_bodyCollection']=_0x17b8fc,this['set']('isPending',!0x1),this['set']('loadingMessage',''),this['set']('isLoadingSkeletonVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),this['children']['delegate'](..._0x4786e1)['to'](this),this['_setupTemplate']();}['render'](){super['render'](),this['scrollManager']=new _0x10eae7(this['element']);}['destroy'](){super['destroy'](),this['scrollManager']['destroy']();}['clear'](){this['children']['clear']();}['addItem'](_0x1691d1,_0x5c6697){let _0x3f070a;return'ai-reply'===_0x1691d1?_0x3f070a=new AIChatFeedReplyItemView(this['locale'],_0x5c6697,this['_bodyCollection']):'ai-suggestion-reply'===_0x1691d1?(_0x3f070a=new AIChatFeedSuggestionItemView(this['locale'],_0x5c6697,this['_bodyCollection']),_0x3f070a['bind']('isTrackChangesOn')['to'](this)):_0x3f070a='user-message'===_0x1691d1?new AIChatFeedUserMessageItemView(this['locale'],_0x5c6697,this['_bodyCollection']):'interaction-header'===_0x1691d1?new AIChatFeedInteractionHeaderView(this['locale'],_0x5c6697):'custom-element'===_0x1691d1?new AIChatFeedCustomElementView(_0x5c6697):new AIChatFeedErrorItemView(_0x5c6697),this['children']['add'](_0x3f070a),_0x3f070a;}async['updateReplyItem']({id:_0x34adca,parsedContent:_0x1da092,renderingStrategy:_0x99c7d5,abortSignal:_0x502be6}){const _0x5195ab=this['getItemById'](_0x34adca);if(!(_0x5195ab instanceof AIChatFeedReplyItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x5195ab,'id':_0x34adca,'parsedContent':_0x1da092});await _0x5195ab['updateContent']({'parsedContent':_0x1da092,'renderingStrategy':_0x99c7d5,'abortSignal':_0x502be6});}async['updateWebSources'](_0x1e43d4,_0x40ae36){const _0x2a3955=this['getItemById'](_0x1e43d4);if(_0x2a3955 instanceof AIChatFeedSuggestionItemView)_0x2a3955['updateSources'](_0x40ae36);else{if(!(_0x2a3955 instanceof AIChatFeedReplyItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x2a3955,'id':_0x1e43d4,'sources':_0x40ae36});_0x2a3955['updateSources'](_0x40ae36);}}async['updateSuggestionItem']({id:_0x4a732b,parts:_0xc38963,renderingStrategy:_0xb833a,abortSignal:_0x46fe05}){const _0x16f72f=this['getItemById'](_0x4a732b);if(!(_0x16f72f instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x16f72f,'id':_0x4a732b,'parts':_0xc38963});await _0x16f72f['updateContent']({'parts':_0xc38963,'renderingStrategy':_0xb833a,'abortSignal':_0x46fe05});}['updateSuggestionPartState']({id:_0x311942,index:_0xb8a979,state:_0x24be20}){const _0x5a49de=this['getItemById'](_0x311942);if(!(_0x5a49de instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x311942});_0x5a49de['updatePartState'](_0xb8a979,_0x24be20);}['setSuggestionPartActive']({id:_0x5926fa,index:_0x293af3,isActive:_0x3d1e05}){const _0x4984e4=this['getItemById'](_0x5926fa);if(!(_0x4984e4 instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x5926fa});this['children']['filter'](_0x2ed617=>_0x2ed617 instanceof AIChatFeedSuggestionItemView)['forEach'](_0x8a64e9=>{_0x8a64e9['setPartActive'](!0x1);}),_0x4984e4['setPartActive'](_0x293af3,_0x3d1e05);}['markItemAsDone'](_0x182602){this['getItemById'](_0x182602)['markAsDone']();}['getItemIds'](){return this['children']['map'](_0x753850=>_0x753850['options']['id']);}['removeItem'](_0xa9f702){this['children']['remove'](this['getItemById'](_0xa9f702));}['hasItem'](_0x34dd5f){return!!this['children']['find'](_0x34735f=>_0x34735f['options']['id']['includes'](_0x34dd5f));}['scrollToSuggestion'](_0x34045c,_0x343055){const _0x5e1010=this['getItemById'](_0x34045c);if(!(_0x5e1010 instanceof AIChatFeedSuggestionItemView))return void ckeditor5['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x34045c,'partIndex':_0x343055});const _0x4076c1=_0x5e1010['getPartView'](_0x343055);_0x4076c1?ckeditor5['scrollAncestorsToShowTarget'](_0x4076c1['element'],0x14,this['element']['parentElement'],!0x0,!0x0):ckeditor5['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x34045c,'partIndex':_0x343055});}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}['_createTemplateChildren'](){const _0x2f33ac=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x2f33ac,this['_createFeedLoader']()];}['_createSkeletonLoader'](){const _0x11eaea=new AISkeletonView(this['locale'],_0x30f532['aiFeed']);return _0x11eaea['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden',_0x4d16e4=>!_0x4d16e4)]}}),_0x11eaea;}['_createFeedItems'](){const _0x46b476=new ckeditor5['View'](this['locale']);return _0x46b476['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x46b476;}['_createFeedLoader'](){const _0x23c934=new ckeditor5['View'](this['locale']);return _0x23c934['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('isPending','ck-hidden',_0x6a881=>!_0x6a881)]},'children':this['_createLoaderChildren']()}),_0x23c934;}['_createLoaderChildren'](){const _0x961a9e=new _0x3910e();return _0x961a9e['isVisible']=!0x0,[_0x961a9e,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}['getItemById'](_0x44716f){const _0x544953=this['children']['find'](_0x12d5af=>_0x12d5af['options']['id']['includes'](_0x44716f));if(!_0x544953)throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-found',this,{'id':_0x44716f});return _0x544953;}['setLoadingMessage'](_0x291ff0){this['set']('loadingMessage',_0x291ff0);}['toggleLoadingSkeleton'](_0x2fc8e6){this['set']('isLoadingSkeletonVisible',_0x2fc8e6);}['startAutoScroll'](){this['scrollManager']['start']();}['stopAutoScroll'](){this['scrollManager']['stop']();}}class AIChatPromptSuggestionsListView extends ckeditor5['ListView']{['filter'](){let _0x11c3cf=0x0;for(const _0xd7f831 of this['items'])_0x11c3cf+=_0xd7f831['items']['length'];return{'resultsCount':_0x11c3cf,'totalItemsCount':_0x11c3cf};}}const _0x30d222=0x320,_0x2f7375='ck-ai-chat__prompt-input_highlighted';class AIChatPromptInputView extends ckeditor5['AutocompleteView']{['submitButtonView'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;['_addContextButtonView'];['_queryViewResizeObserver'];constructor(_0x47e195,_0x30c1c7){super(_0x47e195,{'queryView':{'label':'','creator':ckeditor5['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new AIChatPromptSuggestionsListView(_0x47e195),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0x30c1c7,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',(_0x39d58d,_0x2e0c91)=>!_0x39d58d&&!_0x2e0c91),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x448c9d,_0x1859df)=>{this['isUploadInProgress']||this['isEmpty']||_0x448c9d['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x1859df());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();});}['destroy'](){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}['submit'](){const _0x54f89f=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x54f89f)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 _0x3c8556=_0x16b4c3(_0x54f89f);this['fire']('sendUserMessage',_0x3c8556),this['queryView']['fieldView']['reset']();}['setPlaceholderText'](_0x61c6eb){this['queryView']['fieldView']['set']('placeholder',_0x61c6eb);}['focus'](_0x1995cc=!0x1){super['focus'](),_0x1995cc&&(this['element']['classList']['contains'](_0x2f7375)||(this['element']['classList']['add'](_0x2f7375),setTimeout(()=>{this['element']['classList']['remove'](_0x2f7375);},_0x30d222)));}['_createSubmitButton'](){const _0x1e4152=new ckeditor5['ButtonView'](this['locale']);return _0x1e4152['set']({'icon':ckeditor5['IconSubmit'],'label':getTranslation$i(this['locale'],'AI_CHAT_LABEL_SUBMIT'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-chat__prompt-submit-button','isEnabled':!0x1}),_0x1e4152['on']('execute',()=>{this['submit']();}),_0x1e4152;}['setIsUploadInProgress'](_0x136754){this['isUploadInProgress']=_0x136754;}['_setUpAddContextButtonPositioning'](){const _0x2a1bbb=this['locale'],_0x1825ea=()=>{ckeditor5['global']['window']['requestAnimationFrame'](()=>{if(ckeditor5['isVisible'](this['element'])){const _0x21d92a=new ckeditor5['Rect'](this['queryView']['fieldView']['element']),_0x11b43a=new ckeditor5['Rect'](this['_addContextButtonView']['element']),_0x478b57=_0x21d92a['width'],_0x386228='rtl'===_0x2a1bbb['uiLanguageDirection']?'right':'left';_0x21d92a['excludeScrollbarsAndBorders']();const _0x55050e=_0x478b57-_0x21d92a['width']+0x1;this['_addContextButtonView']['element']['style'][_0x386228]='calc('+(_0x478b57-_0x11b43a['width']-_0x55050e)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x1825ea),this['on']('render',()=>{_0x1825ea(),this['_queryViewResizeObserver']=new ckeditor5['ResizeObserver'](this['queryView']['fieldView']['element'],()=>{_0x1825ea();});});}}const _0x476699={'PROMPT_CAPABILITIES':'ck-ai-chat__prompt-capabilities','CONTROLS_BUTTON':'ck-ai-chat-controls-button','COMMANDS_BUTTON':'ck-ai-chat-controls-button--commands','TERTIARY_BUTTON':'ck-ai-button-tertiary','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'},_0x594af7='n';class AIChatPromptCapabilitiesView extends ckeditor5['View']{['_webSearchButton'];['_reasoningButton'];['_commandsButton'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_modelNameView'];constructor(_0xd51f3f){super(_0xd51f3f),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',_0x14e139=>'selector'===_0x14e139),this['_modelSelectionDropdown']['buttonView']['bind']('tooltip')['to'](this,'modelSelectorEnabled',_0x35920b=>_0x35920b?this['_modelSelectionDropdown']['buttonView']['label']:getTranslation$i(this['locale'],'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP')),this['_modelSelectionDropdown']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0x254559=>_0x254559),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0x37a084=>_0x37a084),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0xe9da5d=>getTranslation$i(this['locale'],_0xe9da5d?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0x55775b=>_0x55775b),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0x37faa3=>getTranslation$i(this['locale'],_0x37faa3?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x476699['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'](_0x1efe19,_0x3a7b56){if(_0x3a7b56)this['set']('modelDisplayMode','hidden');else{const _0x1e52b0=0x1===_0x1efe19['length'];this['set']('modelDisplayMode',_0x1e52b0?'name':'selector');}if(this['_modelSelectionDropdownItems']['clear'](),_0x1efe19?.['length'])for(const _0x22e0a9 of _0x1efe19){const _0x5d727b=new ckeditor5['UIModel']({'label':_0x22e0a9['name'],'withText':!0x0,'role':'menuitemradio','id':_0x22e0a9['id'],'model':_0x22e0a9});_0x5d727b['bind']('isOn')['to'](this,'activeModelId',_0x12397b=>_0x12397b===_0x22e0a9['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x5d727b,'labelView':new ModelButtonLabelView$1(this['locale'],_0x22e0a9)});}}['setWebSearch'](_0x3b8c93){this['set']('webSearchActive',_0x3b8c93);}['setReasoning'](_0x3ef41f){this['set']('reasoningActive',_0x3ef41f);}['setModel'](_0x16c185){if(!_0x16c185)return;this['activeModelId']=_0x16c185['id'],this['activeModelName']=_0x16c185['name']||_0x16c185['id'],this['_modelSelectionDropdown']['buttonView']['set']('label',_0x16c185['name']),this['_modelSelectionDropdown']['buttonView']['set']('tooltip',_0x16c185['name']);const _0x41aa30=_0x16c185['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x41aa30),this['_webSearchButton']['set']('isVisible',_0x41aa30);const _0xa988a3=_0x16c185['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0xa988a3),this['_reasoningButton']['set']('isVisible',_0xa988a3);}['enableModelSelector'](){this['set']('modelSelectorEnabled',!0x0);}['disableModelSelector'](_0x541655){this['set']('modelSelectorEnabled',!0x1),_0x541655&&this['set']('modelDisplayMode','hidden');}['_createWebSearchButton'](){const _0x16b66f=new ckeditor5['ButtonView']();return _0x16b66f['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':ckeditor5['IconWeb'],'class':_0x476699['CONTROLS_BUTTON'],'isToggleable':!0x0,'tooltipPosition':_0x594af7}),_0x16b66f['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x16b66f;}['_createReasoningButton'](){const _0x5b2500=new ckeditor5['ButtonView']();return _0x5b2500['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_REASONING'),'icon':ckeditor5['IconBulb'],'class':_0x476699['CONTROLS_BUTTON'],'isToggleable':!0x0,'tooltipPosition':_0x594af7}),_0x5b2500['on']('execute',()=>{this['fire']('toggleReasoning');}),_0x5b2500;}['_createCommandsButton'](){const _0x5a43a8=new ckeditor5['ButtonView']();return _0x5a43a8['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_COMMANDS'),'icon':ckeditor5['IconAI'],'withText':!0x0,'class':_0x476699['CONTROLS_BUTTON'],'isToggleable':!0x0,'tooltip':getTranslation$i(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':_0x594af7}),_0x5a43a8['extendTemplate']({'attributes':{'class':[_0x476699['COMMANDS_BUTTON']]}}),_0x5a43a8['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0x5a43a8;}['_createModelSelectionDropdown'](){const _0x5f41ef=ckeditor5['createDropdown'](this['locale']);return _0x5f41ef['set']({'panelPosition':'ne','class':[_0x476699['MODEL_SELECTION']]}),_0x5f41ef['buttonView']['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':_0x594af7,'class':_0x476699['TERTIARY_BUTTON']}),this['listenTo'](_0x5f41ef,'execute',_0x114418=>{this['fire']('selectModel',_0x114418['source']['model']);}),_0x5f41ef;}['_createModelNameView'](){const _0xd0d9e3=new _0x54315a(this['locale']);return _0xd0d9e3['bind']('text')['to'](this,'activeModelName',_0x26b15b=>_0x26b15b??''),_0xd0d9e3['bind']('isVisible')['to'](this,'modelDisplayMode',_0x4b2c6e=>'name'===_0x4b2c6e),_0xd0d9e3;}}let ModelButtonLabelView$1=class extends ckeditor5['ButtonLabelView']{constructor(_0x4dc950,_0x4dc598){super();const _0x44751b=this['bindTemplate'],_0x5e2901=this['createCollection']();this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x44751b['to']('style'),'id':_0x44751b['to']('id')},'children':[{'tag':'div','attributes':{'class':[_0x476699['MODEL_SELECTION_ITEM_NAME']]},'children':[{'text':_0x44751b['to']('text')}]},{'tag':'div','attributes':{'class':[_0x476699['MODEL_SELECTION_ITEM_DESCRIPTION']]},'children':[{'tag':'span','children':[{'text':_0x4dc598['description']}]}]},{'tag':'div','attributes':{'class':[_0x476699['MODEL_SELECTION_ITEM_CAPABILITIES']]},'children':_0x5e2901}]}),_0x5e2901['addMany'](this['_getCapabilityParts'](_0x4dc950,ckeditor5['IconWeb'],'AI_CHAT_SEARCH_WEB',_0x4dc598['capabilities']['webSearch']?.['enabled']??!0x1)),_0x5e2901['addMany'](this['_getCapabilityParts'](_0x4dc950,ckeditor5['IconBulb'],'AI_CHAT_REASONING',_0x4dc598['capabilities']['reasoning']?.['enabled']??!0x1));}['_getCapabilityParts'](_0xc9e304,_0x2c927c,_0x42ebb8,_0x2d9b90){const _0x12908d=new ckeditor5['IconView']();_0x12908d['content']=_0x2c927c;const _0xe12d31=new ckeditor5['View'](_0xc9e304);_0xe12d31['setTemplate']({'tag':'span','children':[{'text':getTranslation$i(_0xc9e304,_0x42ebb8)+':\x20'}]});const _0xff9e1e=new ckeditor5['View'](_0xc9e304);return _0xff9e1e['setTemplate']({'tag':'span','children':[{'text':getTranslation$i(_0xc9e304,_0x2d9b90?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x12908d,_0xe12d31,_0xff9e1e];}},_0x54315a=class extends ckeditor5['View']{constructor(_0xa694a9){super(_0xa694a9),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x108f6c=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-chat-controls__model-name',_0x108f6c['if']('isVisible','ck-hidden',_0x48b866=>!_0x48b866)]},'children':[{'text':_0x108f6c['to']('text')}]});}};const _0x26f822={'URL_FORM':'ck-ai-chat-context-controls__url-form','URL_INPUT_SECTION':'ck-ai-chat-context-controls__url-input-section'},_0x59b365='n';class AIChatContextPanelUrlInputView extends ckeditor5['View']{['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['urlInputField'];['backButton'];['confirmButton'];constructor(_0x2df39b){super(_0x2df39b),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'](_0x4cef65=>{this['focusTracker']['add'](_0x4cef65['element']),this['keystrokes']['listenTo'](_0x4cef65['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'](_0xf0af11){this['urlInputField']['errorText']=_0xf0af11,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}['_createBackButton'](){const _0x489eb5=new ckeditor5['ButtonView'](this['locale']);return _0x489eb5['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':_0x59b365,'class':['ck-button-icon\x20ck-button-back']}),this['on']('change:withBackButton',(_0x56e497,_0x134eec,_0x5414a0)=>{_0x489eb5['set']({'class':['ck-button-icon\x20ck-button-back'+(_0x5414a0?'':'\x20ck-hidden')]});}),_0x489eb5;}['_createUrlInputField'](){const _0x52083c=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputText']);return _0x52083c['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0x52083c['fieldView']['set']({'placeholder':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0x52083c;}['_createConfirmButton'](){const _0x5d9e57=new ckeditor5['ButtonView'](this['locale']);return _0x5d9e57['set']({'icon':ckeditor5['IconCheck'],'tooltip':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':_0x59b365,'class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x5d9e57;}['_setupTemplate'](){const _0x1f0c27=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'});_0x1f0c27['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':_0x26f822['URL_FORM'],'tabindex':'-1'},'children':[_0x1f0c27,{'tag':'div','attributes':{'class':_0x26f822['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',_0x48e115=>{_0x48e115['stop'](),this['_handleSubmit']();});}['_setupKeystrokes'](){this['keystrokes']['set']('esc',(_0x2324d0,_0x5d2026)=>{this['clear'](),this['fire']('cancel'),_0x5d2026();});}['_handleSubmit'](){const _0x52306c=this['getValue']()['trim']();_0x52306c?this['_isValidUrl'](_0x52306c)?(this['clearError'](),this['fire']('submitUrl',_0x52306c)):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 _0x488216=this['getValue']()['trim'](),_0xcfe940=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x488216['length']>0x0&&!_0xcfe940;}['_isValidUrl'](_0x4b6f46){try{return!!new URL(_0x4b6f46);}catch{return!0x1;}}}const _0x6dacfa={'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(_0x298ed3,_0x31b4fc){super(_0x298ed3),this['resource']=_0x31b4fc,this['set']('isInContext',!!_0x31b4fc['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}['getResourceIcon'](_0x338f91){if(_0x338f91['isInContext'])return ckeditor5['IconCheck'];switch(_0x338f91['type']){case AIContextItemType['DOCUMENT']:return ckeditor5['IconDocument'];case AIContextItemType['URL']:return ckeditor5['IconLink'];case AIContextItemType['FILE']:case AIContextItemType['TEXT']:return ckeditor5['IconFileUpload'];default:return ckeditor5['IconDocumentOutline'];}}['highlightText'](_0xd61459){if(!_0xd61459||''===_0xd61459['trim']())return void this['_titleView']['highlightText'](null);const _0x576e9e=new RegExp(_0x303f49(_0xd61459),'gi');this['_titleView']['highlightText'](_0x576e9e);}['updateResourceState'](_0xb8d0fb){this['resource']['isInContext']=_0xb8d0fb,this['isInContext']=_0xb8d0fb,this['_updateIcon']();}['_createTitleView'](){const _0x563afc=new ckeditor5['HighlightedTextView']();return _0x563afc['text']=this['resource']['label'],_0x563afc['extendTemplate']({'tag':'span','attributes':{'class':[_0x6dacfa['ITEM_TITLE']]}}),_0x563afc;}['_createIconView'](){const _0x5043e7=new ckeditor5['IconView']();return _0x5043e7['content']=this['getResourceIcon'](this['resource']),_0x5043e7;}['_setupTemplate'](){const _0x56f52c=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[_0x6dacfa['ITEM'],_0x56f52c['if']('isVisible','ck-hidden',_0x269b2d=>!_0x269b2d),_0x56f52c['if']('isInContext',_0x6dacfa['ITEM_IN_CONTEXT'])]},'children':[{'tag':'div','attributes':{'class':[_0x6dacfa['ITEM_ICON']]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0x56f52c['to']('execute')}});}['_updateIcon'](){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}}const _0x24fc12={'LIST':'ck-ai-chat-resources__list'};class AIChatContextResourcesListView extends ckeditor5['ListView']{['_source'];constructor(_0x1ca5b4,_0x3fc3b9){super(_0x1ca5b4),this['_source']=_0x3fc3b9,this['extendTemplate']({'attributes':{'class':[_0x24fc12['LIST']]}});}['setResources'](_0x478866,_0x3f651f){this['items']['clear']();let _0x57a2c6=_0x478866;if(this['_source']['useDefaultFiltering']&&_0x3f651f&&''!==_0x3f651f['trim']()){const _0x425a94=new RegExp(_0x3f651f['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0x57a2c6=_0x478866['filter'](_0x7a06d4=>_0x425a94['test'](_0x7a06d4['label']));}for(const _0x2be99b of _0x57a2c6){const _0x48d5f8=new AIChatResourceListItemView(this['locale'],_0x2be99b);_0x48d5f8['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x2be99b);}),this['items']['add'](_0x48d5f8);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0x3f651f);}['highlightText'](_0x4519b8){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x10dcd6=>{_0x10dcd6['highlightText'](_0x4519b8);});}['updateResourceState'](_0x62d958,_0x23f8c0){for(const _0x2e67b9 of this['items']){const _0x357582=_0x2e67b9;_0x357582['resource']['id']===_0x62d958&&_0x357582['updateResourceState'](_0x23f8c0);}}['_handleResourceSelection'](_0x1afae5,_0x1afee2){this['fire']('addResourceToContext',{'source':_0x1afae5,'resource':_0x1afee2});}}class AIChatContextResourcesSearchInputView extends ckeditor5['LabeledFieldView']{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x5e24ca){const t=_0x5e24ca['t'],_0x252694={'showResetButton':!0x0,'showIcon':!0x0,'creator':ckeditor5['createLabeledInputText'],'label':getTranslation$i(_0x5e24ca,'AI_CHAT_SEARCH_RESOURCES')};super(_0x5e24ca,_0x252694['creator']),this['label']=_0x252694['label'],this['_viewConfig']=_0x252694,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x5e24ca,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x308f8a){this['fire']('search',_0x308f8a);}['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'](_0x1275d9,t){this['resetButtonView']=new ckeditor5['ButtonView'](_0x1275d9),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',_0x4f56df=>!_0x4f56df),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(_0x79d6d1,_0x5d1e37){super(_0x79d6d1),this['_source']=_0x5d1e37['source'],this['_searchInputVisibleFrom']=_0x5d1e37['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 _0x4d734b=new ckeditor5['View'](this['locale']);return _0x4d734b['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x127d6b,_0x50248d)=>{this['loadResources'](_0x50248d),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0x50248d);}),_0x4d734b;}['_createResourcesListView'](){const _0x312c0a=new AIChatContextResourcesListView(this['locale'],this['_source']);return _0x312c0a['delegate']('addResourceToContext')['to'](this),_0x312c0a['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x312c0a;}['_createSkeletonView'](){const _0xe9f509=new AISkeletonView(this['locale'],_0x30f532['aiChatResources']);return _0xe9f509['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0xb31ad=>!_0xb31ad)]}}),_0xe9f509;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x5677bb){const _0x1e6fd4=ckeditor5['uid']();this['_latestLoadResourcesUid']=_0x1e6fd4,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x5677bb,'uid':_0x1e6fd4}),this['isLoading']=!0x0;}['setResources'](_0x489c91,_0x1298a2){if(_0x1298a2&&_0x1298a2!==this['_latestLoadResourcesUid'])return;const _0x44b5a7=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0x489c91,_0x44b5a7),_0x489c91['length']>=this['_searchInputVisibleFrom']&&!this['children']['has'](this['_searchSection'])&&this['children']['add'](this['_searchSection'],0x0),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}['updateResourceState'](_0x15a9a3,_0x50f9d4){this['_resourcesListView']['updateResourceState'](_0x15a9a3,_0x50f9d4);}}const _0x138b90={'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'},_0x412218='n';class AIChatResourcesBalloonView{['_sourceResourceBalloons']=new Map();['_bodyCollection'];['_locale'];['_config'];constructor(_0x1364b2,_0x16b0ca,_0x32b587){this['_locale']=_0x1364b2,this['_bodyCollection']=_0x16b0ca,this['_config']=_0x32b587;}['showSourceResourcesBalloon']({source:_0x5cc001,withBackButton:_0x55cdc0}){let _0x25a5b1=this['_sourceResourceBalloons']['get'](_0x5cc001['id']);_0x25a5b1||(_0x25a5b1=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0x5cc001['id'],_0x25a5b1),this['_setupSingleResourceBalloonClickOutsideHandler'](_0x25a5b1)),this['_addSourceResourceContent']({'balloonPanel':_0x25a5b1,'source':_0x5cc001,'withBackButton':_0x55cdc0}),_0x25a5b1['show']();const _0x5db4d7=this['_config']['getTargetElement']();_0x5db4d7&&_0x25a5b1['pin']({'target':_0x5db4d7,'limiter':this['_config']['getLimiterElement']()});}['populateSourceResourceBalloon'](_0x54e96c,_0x512969,_0x3a9456){const _0x47827b=this['_sourceResourceBalloons']['get'](_0x54e96c);if(!_0x47827b)return;const _0x82317=this['_getResourcesViewFromBalloon'](_0x47827b);_0x82317&&(_0x82317['setResources'](_0x512969,_0x3a9456),_0x82317['once']('change:isLoading',()=>{_0x47827b['pin']({'target':this['_config']['getTargetElement'](),'limiter':this['_config']['getLimiterElement']()});}));}['closeSourceResourceBalloon'](_0x284be6){const _0x2832b9=this['_sourceResourceBalloons']['get'](_0x284be6);_0x2832b9&&requestAnimationFrame(()=>{_0x2832b9['hide'](),this['_sourceResourceBalloons']['delete'](_0x284be6),this['_config']['onBalloonClosed']();});}['isAnyResourceBalloonVisible'](){for(const _0x5aefe6 of this['_sourceResourceBalloons']['values']())if(_0x5aefe6['isVisible'])return!0x0;return!0x1;}['updateResourceState'](_0x3a27fd,_0x209fd4,_0x22f6d1){const _0x2adb65=this['_sourceResourceBalloons']['get'](_0x3a27fd);if(!_0x2adb65||!_0x2adb65['isVisible'])return;const _0x23bbb2=this['_config']['getTargetElement']();if(!_0x23bbb2)return;_0x2adb65['pin']({'target':_0x23bbb2,'limiter':this['_config']['getLimiterElement']()});const _0x218d1a=this['_getResourcesViewFromBalloon'](_0x2adb65);_0x218d1a&&_0x218d1a['updateResourceState'](_0x209fd4,_0x22f6d1);}['destroy'](){for(const _0x2f7e7b of this['_sourceResourceBalloons']['values']())_0x2f7e7b['destroy']();this['_sourceResourceBalloons']['clear']();}['_createSourceResourceBalloonPanel'](){const _0xcab087=new ckeditor5['BalloonPanelView'](this['_locale']);return _0xcab087['extendTemplate']({'attributes':{'class':_0x138b90['SOURCE_BALLOON_PANEL']}}),this['_bodyCollection']['add'](_0xcab087),_0xcab087;}['_addSourceResourceContent']({balloonPanel:_0x3b1c4e,source:_0x2575c0,withBackButton:_0x5e01be}){_0x3b1c4e['content']['clear']();const _0x4db895=this['_createBalloonHeader']({'balloonPanel':_0x3b1c4e,'source':_0x2575c0,'withBackButton':_0x5e01be});_0x3b1c4e['content']['add'](_0x4db895);const _0xe67c5b=this['_createBalloonResourcesView'](_0x2575c0);_0x3b1c4e['content']['add'](_0xe67c5b);}['_createBalloonHeader']({balloonPanel:_0x4645a9,source:_0x2f1eb9,withBackButton:_0x50011a}){const _0x16f241=new ckeditor5['FormHeaderView'](this['_locale'],{'label':_0x2f1eb9['label'],'class':_0x138b90['SOURCE_HEADER']});return _0x50011a&&_0x16f241['children']['add'](this['_createBackButton'](_0x4645a9),0x0),_0x16f241;}['_createBackButton'](_0x516374){const _0x27ba08=new ckeditor5['ButtonView'](this['_locale']);return _0x27ba08['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':_0x412218,'class':_0x138b90['SOURCE_BACK_BUTTON']}),_0x27ba08['on']('execute',()=>{_0x516374['hide'](),this['_config']['onBackToContext']();}),_0x27ba08;}['_createBalloonResourcesView'](_0x1728da){const _0x28130b=new AIChatContextResourcesView(this['_locale'],{'source':_0x1728da,'searchInputVisibleFrom':this['_config']['searchInputVisibleFrom']});return _0x28130b['on']('loadSourceResources',(_0x35bd32,_0x41796f)=>{this['_config']['onLoadSourceResources'](_0x41796f);}),_0x28130b['on']('addResourceToContext',(_0x39dd8e,_0x5262d3)=>{this['_config']['onResourceSelected'](_0x5262d3['source'],_0x5262d3['resource']),this['closeSourceResourceBalloon'](_0x1728da['id']);}),_0x28130b;}['_getResourcesViewFromBalloon'](_0x293236){const _0x5f37c0=_0x293236['content']['get'](0x1);return _0x5f37c0 instanceof AIChatContextResourcesView?_0x5f37c0:null;}['_setupSingleResourceBalloonClickOutsideHandler'](_0x62339b){ckeditor5['clickOutsideHandler']({'emitter':_0x62339b,'contextElements':[_0x62339b['element']],'callback':()=>{_0x62339b['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0x62339b['isVisible']});}}const _0x252a8f=['addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources','executeCustomItemCallback'],_0x4e0ad0={'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'},_0x465d1c='sw',_0x32e1b5=[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(_0x34cc8b,_0x58c84b){super(_0x34cc8b),this['bodyCollection']=_0x58c84b['bodyCollection'],this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0x34cc8b),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0x34cc8b),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0x34cc8b),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0x34cc8b,_0x58c84b);const _0xd86d67={'cssClasses':{'showMoreButton':_0x4e0ad0['SHOW_MORE_BUTTON'],'showMoreBalloon':_0x4e0ad0['SHOW_MORE_BALLOON'],'overflowContainer':_0x4e0ad0['CONVERSATION_CONTEXT_CHIPS'],'controlsButton':_0x4e0ad0['CONTROLS_BUTTON']}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x34cc8b,this['_currentContextsChips'],_0xd86d67,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'](_0x3b213c,_0x265152){const _0x2314d0=this['_createContextButton'](_0x3b213c,'current',!0x0,_0x265152);this['_addContextToCollection'](_0x2314d0,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}['removeContextItem'](_0x29d33d){this['_removeContextFromCollection'](_0x29d33d,this['_currentContextsChips']),this['_removeContextFromCollection'](_0x29d33d,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}['setContextItemLoading'](_0x2db17d,_0x53a442){let _0x4e35e4=this['_currentContextsChips']['find'](_0x4801a4=>_0x4801a4['id']===_0x2db17d);_0x4e35e4||(_0x4e35e4=this['_overflowManager']['overflowChips']['find'](_0x56c6e6=>_0x56c6e6['id']===_0x2db17d)),_0x4e35e4&&(_0x4e35e4['isLoading']=_0x53a442);}['setConversationContext'](_0x19c8ec){this['_conversationContextsChips']['clear']();for(const _0x32f1d6 of _0x19c8ec){const _0x43312b=this['_createContextButton'](_0x32f1d6,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0x43312b,this['_conversationContextsChips']);}}['clearCurrentContextItems'](){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}['clearConversationContextItems'](){this['_conversationContextsChips']['clear']();}['updateResourceState'](_0x26593b,_0x156bcd,_0x476173){this['_resourcesBalloonView']['updateResourceState'](_0x26593b,_0x156bcd,_0x476173);}['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:_0x53bfec,withBackButton:_0x56ff07}){this['_resourcesBalloonView']['showSourceResourcesBalloon']({'source':_0x53bfec,'withBackButton':_0x56ff07}),this['addContextButtonView']['isOn']=!0x0;}['populateSourceResourceBalloon'](_0x79642a,_0x425c05,_0x2ead78,_0x4eec40){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0x79642a,_0x2ead78,_0x4eec40);}['closeSourceResourceBalloon'](_0x457548){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x457548),this['addContextButtonView']['isOn']=!0x1;}['setAddContextOptions'](_0x47712b){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x47712b),this['_setAddContextButtonEnabled'](_0x47712b);}['_setAddContextButtonEnabled'](_0x4bf5c0){const _0x17e52d=!_0x4bf5c0['document']['isHidden']&&_0x4bf5c0['document']['enabled'],_0x2a73d2=_0x4bf5c0['urls']['enabled'],_0xcea23c=_0x4bf5c0['files']['enabled'],_0x320c7c=_0x4bf5c0['sources']['length']>0x0,_0x51d7ad=_0x4bf5c0['customItems']&&_0x4bf5c0['customItems']['length']>0x0;this['addContextButtonView']['isEnabled']=_0x17e52d||_0x2a73d2||_0xcea23c||_0x320c7c||_0x51d7ad;}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':[_0x4e0ad0['CONTEXT_CONTROLS'],'ck-reset_all-excluded']},'children':[{'tag':'div','attributes':{'class':_0x4e0ad0['PENDING_CONTEXTS']},'children':this['_currentContextsChips']}]});}['_bindEventHandlers'](){this['addContextButtonView']['on']('execute',()=>{this['_handleAddContextButtonClick']();});}['_createAddContextButtonView'](_0x44fa34){const _0x9a51ba=new ckeditor5['ButtonView'](_0x44fa34);return _0x9a51ba['set']({'label':getTranslation$i(_0x44fa34,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':_0x4e0ad0['CONTROLS_BUTTON']+'\x20'+_0x4e0ad0['ADD_CONTEXT_BUTTON'],'icon':ckeditor5['IconPaperClip'],'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':_0x465d1c}),_0x9a51ba;}['_createAddContextBalloonPanelView'](_0x5e17e4){return this['_createBaseBalloonPanel'](_0x5e17e4,_0x4e0ad0['ADD_CONTEXT_BALLOON']);}['_createUrlBalloonPanelView'](_0x5a326a){const _0x184f90=this['_createBaseBalloonPanel'](_0x5a326a,_0x4e0ad0['URL_BALLOON']);return this['_addUrlContent'](_0x184f90,_0x5a326a),_0x184f90;}['_createResourcesBalloonView'](_0x16c059,_0x462978){const _0x13d941={'searchInputVisibleFrom':_0x462978['searchInputVisibleFrom'],'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x32e1b5});},'onResourceSelected':(_0x489fd4,_0x535831)=>{this['fire']('addResourceToContext',{'source':_0x489fd4,'resource':_0x535831});},'onLoadSourceResources':_0x46292e=>{this['fire']('loadSourceResources',_0x46292e);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new AIChatResourcesBalloonView(_0x16c059,_0x462978['bodyCollection'],_0x13d941);}['_getLimiterElement'](){return this['element']?.['closest']('.'+_0x4e0ad0['CHAT_CONTAINER'])||document['body'];}['_createBaseBalloonPanel'](_0x5e3889,_0x55e5f1){const _0x50a46b=new ckeditor5['BalloonPanelView'](_0x5e3889);return _0x50a46b['extendTemplate']({'attributes':{'class':_0x55e5f1}}),this['bodyCollection']['add'](_0x50a46b),_0x50a46b;}['_setBalloonPanelContent'](_0x3200e1,_0x412471,_0x5a62f9){if(_0x3200e1['content']['clear'](),!_0x5a62f9['document']['isHidden']&&_0x5a62f9['document']['enabled']){const _0x5e85e3=this['_createBalloonButton'](_0x412471,{'label':getTranslation$i(_0x412471,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':ckeditor5['IconDocument']});_0x5e85e3['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0x3200e1['content']['add'](_0x5e85e3);}if(_0x5a62f9['urls']['enabled']){const _0x2a3ca4=this['_createBalloonButton'](_0x412471,{'label':getTranslation$i(_0x412471,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':ckeditor5['IconLink']});_0x2a3ca4['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x32e1b5}),this['_urlInputView']['focus']();}),_0x3200e1['content']['add'](_0x2a3ca4);}if(_0x5a62f9['files']['enabled']){const _0x244cbe=new ckeditor5['FileDialogButtonView'](_0x412471);_0x244cbe['set']({'label':getTranslation$i(_0x412471,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':ckeditor5['IconBrowseFiles'],'withText':!0x0,'tooltip':!0x0,'class':_0x4e0ad0['BALLOON_BUTTON'],'allowMultipleFiles':!0x0}),_0x244cbe['on']('execute',()=>{this['hideAddContextBalloonPanel']();}),_0x244cbe['on']('done',(_0x41dbb6,_0x5f4a4b)=>{this['fire']('addFileToContext',_0x5f4a4b);}),_0x244cbe['tooltip']=!0x0,_0x3200e1['content']['add'](_0x244cbe);}for(const _0x445a81 of _0x5a62f9['sources']){const _0x432968=this['_createBalloonButton'](_0x412471,{'label':_0x445a81['label'],'icon':_0x445a81['icon']||ckeditor5['IconDocumentOutline'],'type':'source'});_0x3200e1['content']['add'](_0x432968),_0x432968['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon']({'source':_0x445a81,'withBackButton':!this['_hasExactlyOneSource']});});}for(const _0xce9fa6 of _0x5a62f9['customItems']||[]){const _0x4ab803=this['_createBalloonButton'](_0x412471,{'label':_0xce9fa6['label'],'icon':_0xce9fa6['icon']||ckeditor5['IconDocumentOutline'],'type':'customItem'});_0x3200e1['content']['add'](_0x4ab803),_0x4ab803['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['fire']('executeCustomItemCallback',_0xce9fa6);});}this['_hasExactlyOneSource']=0x1===_0x3200e1['content']['length'],this['_urlInputView']['withBackButton']=!this['_hasExactlyOneSource'];}['_addUrlContent'](_0x1b5143,_0x2d098){this['_urlInputView']=new AIChatContextPanelUrlInputView(_0x2d098),this['_urlInputView']['on']('submitUrl',(_0x2618e0,_0x42809f)=>{this['_handleUrlSubmit'](_0x42809f);}),this['_urlInputView']['on']('cancel',()=>{this['hideUrlBalloonPanel'](),this['_hasExactlyOneSource']||(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x32e1b5}));}),this['_urlInputView']['on']('refreshBalloon',()=>{this['_urlBalloonPanelView']['isVisible']&&this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x32e1b5});}),_0x1b5143['content']['add'](this['_urlInputView']);}['_createBalloonButton'](_0x8d60b,_0x21abdc){const _0x4b4abc='source'===_0x21abdc['type']?new SourcesBalloonButtonView(_0x8d60b):new ckeditor5['ButtonView'](_0x8d60b);return _0x4b4abc['set']({'label':_0x21abdc['label'],'icon':_0x21abdc['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':_0x465d1c,'class':_0x4e0ad0['BALLOON_BUTTON']}),_0x4b4abc;}['_setupAllBalloonClickOutsideHandlers'](){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}['_setupUrlBalloonClickOutsideHandler'](){ckeditor5['clickOutsideHandler']({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}['_toggleAddContextBalloon'](_0x17128d){const _0x23a2b0=this['_addContextBalloonConfig'];_0x23a2b0['buttonView']['isOn']=_0x17128d,_0x17128d?_0x23a2b0['balloonView']['show']():_0x23a2b0['balloonView']['hide']();}['_setupAddContextBalloonClickOutsideHandler'](){const {balloonView:_0x2ab111,buttonView:_0x14ec0a,hideMethod:_0x55202d}=this['_addContextBalloonConfig'];ckeditor5['clickOutsideHandler']({'emitter':_0x2ab111,'contextElements':[_0x2ab111['element'],_0x14ec0a['element']],'callback':()=>{_0x55202d();},'activator':()=>_0x14ec0a['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}['_createContextButton'](_0x44ded0,_0x2a93c8,_0x4a6dea=!0x1,_0x3627a4=!0x1){const _0x53890b='conversation'===_0x2a93c8||!0x0===_0x44ded0['isReadOnly'],_0x58e06d=new AIChatContextItemButtonView(this['locale'],_0x44ded0,_0x53890b,_0x4a6dea,_0x3627a4);return _0x53890b||_0x58e06d['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0x58e06d['id']);}),_0x58e06d;}['_addContextToCollection'](_0x167a46,_0x688ad2){_0x688ad2['add'](_0x167a46,0x0);}['_removeContextFromCollection'](_0x219737,_0x2b5d14){const _0x12b44c=_0x2b5d14['find'](_0x3fd36b=>_0x3fd36b['id']===_0x219737);_0x12b44c&&_0x2b5d14['remove'](_0x12b44c);}['_handleAddContextButtonClick'](){this['addContextButtonView']['isOn']?this['hideAddContextBalloonPanel']():(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x32e1b5}),this['_hasExactlyOneSource']&&this['_addContextBalloonPanelView']['content']['get'](0x0)?.['fire']('execute'));}['_handleUrlSubmit'](_0x56ce58){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0x56ce58);}}class SourcesBalloonButtonView extends ckeditor5['ButtonView']{['arrowView'];constructor(_0x732044){super(_0x732044),this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':[_0x4e0ad0['BALLOON_BUTTON_SOURCE']]}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x27fde5=new ckeditor5['IconView']();return _0x27fde5['content']=ckeditor5['IconDropdownArrow'],_0x27fde5['extendTemplate']({'attributes':{'class':_0x4e0ad0['BALLOON_BUTTON_SOURCE']+'__arrow'}}),_0x27fde5;}}class AIChatControlsLoaderView extends ckeditor5['View']{['_cancelButtonView'];['_loaderView'];constructor(_0x24584c){super(_0x24584c),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 _0x770008=new ckeditor5['ButtonView'](this['locale']);return _0x770008['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_STOP_GENERATING'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-button-stop-generating','icon':ckeditor5['IconStop']}),_0x770008['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x770008;}['_createLoaderView'](){const _0x444d2e=new ckeditor5['View'](this['locale']);return _0x444d2e['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')}]}),_0x444d2e;}}class AIChatControlsView extends ckeditor5['View']{['_contextPanelView'];['_promptInputView'];['_promptCapabilitiesView'];['_loaderView'];['_modelUnavailableMessageView'];['_shouldRestorePromptInputFocus'];constructor(_0xa47b37,_0x68648a){super(_0xa47b37),this['_contextPanelView']=this['_createContextPanelView'](_0xa47b37,{'bodyCollection':_0x68648a['bodyCollection'],'searchInputVisibleFrom':_0x68648a['contextResourcesSearchInputVisibleFrom']}),this['_promptInputView']=this['_createPromptInputView'](_0xa47b37),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0xa47b37),this['_loaderView']=this['_createLoaderView'](_0xa47b37),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0xa47b37),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'](..._0x252a8f)['to'](this),this['set']('isModelAvailable',!0x0),this['set']('isDisabled',!0x1);const _0x3bdd6d=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0x3bdd6d['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0x3bdd6d['if']('isLoading','ck-hidden',_0x552609=>_0x552609||!this['isModelAvailable']),_0x3bdd6d['if']('isModelAvailable','ck-hidden',_0xb2a2cf=>!_0xb2a2cf||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0x3bdd6d['if']('isLoading','ck-hidden',_0x4ba0b1=>!_0x4ba0b1)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0x3bdd6d['if']('isModelAvailable','ck-hidden',_0x2e35df=>_0x2e35df)]},'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'](_0x4118b5,_0x31d687){return new AIChatContextPanelView(_0x4118b5,_0x31d687);}['_createPromptInputView'](_0x481c35){return new AIChatPromptInputView(_0x481c35,this['_contextPanelView']['addContextButtonView']);}['_createPromptCapabilitiesView'](_0x2ffbe9){return new AIChatPromptCapabilitiesView(_0x2ffbe9);}['_createLoaderView'](_0xec4e83){return new AIChatControlsLoaderView(_0xec4e83);}['_createModelUnavailableMessageView'](_0x1df89f){const _0x361570=new AIChatModelUnavailableMessageView(_0x1df89f);return _0x361570['delegate']('startConversation')['to'](this),_0x361570;}['_handlePromptInputFocus'](_0x30f9fa,_0x42aa7d,_0x6d1f00){_0x6d1f00?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}['addContextItem'](_0x3e2e81,_0x19405f){this['_contextPanelView']['addContextItem'](_0x3e2e81,_0x19405f);}['removeContextItem'](_0x513237){this['_contextPanelView']['removeContextItem'](_0x513237);}['setContextItemLoading'](_0x3b9330,_0x439466){this['_contextPanelView']['setContextItemLoading'](_0x3b9330,_0x439466);}['setIsUploadInProgress'](_0x12d52f){this['_promptInputView']['setIsUploadInProgress'](_0x12d52f);}['setConversationContext'](_0x2c0f2e){this['_contextPanelView']['setConversationContext'](_0x2c0f2e);}['clearPendingContextUI'](){this['_contextPanelView']['clearCurrentContextItems']();}['clearConversationContextUI'](){this['_contextPanelView']['clearConversationContextItems']();}['updateResourceState'](_0xb6c4f1,_0x1742b4,_0x5d26c7){this['_contextPanelView']['updateResourceState'](_0xb6c4f1,_0x1742b4,_0x5d26c7);}['setWebSearch'](_0x12e333){this['_promptCapabilitiesView']['setWebSearch'](_0x12e333);}['setReasoning'](_0x5c8ae7){this['_promptCapabilitiesView']['setReasoning'](_0x5c8ae7);}['resetMessageInput'](){this['_promptInputView']['reset']();}['setAddContextOptions'](_0x41368a){this['_contextPanelView']['setAddContextOptions'](_0x41368a);}['setInputPlaceholder'](_0x2b5b81){this['_promptInputView']['setPlaceholderText'](_0x2b5b81);}['setModelList'](_0x34c820,_0x14b886){this['_promptCapabilitiesView']['setModelList'](_0x34c820,_0x14b886);}['setModel'](_0x27f831){_0x27f831?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x27f831)):this['isModelAvailable']=!0x1;}['enableModelSelector'](){this['_promptCapabilitiesView']['enableModelSelector']();}['disableModelSelector'](_0x4ca3da){this['_promptCapabilitiesView']['disableModelSelector'](_0x4ca3da);}['populateSourceResourceBalloon'](_0x5aac33,_0x1b1a1f,_0x828572,_0x13818d){this['_contextPanelView']['populateSourceResourceBalloon'](_0x5aac33,_0x1b1a1f,_0x828572,_0x13818d);}['closeSourceResourceBalloon'](_0x51b4c8){this['_contextPanelView']['closeSourceResourceBalloon'](_0x51b4c8);}['focusPromptInput'](_0x3ae36c=!0x1){this['_promptInputView']['focus'](_0x3ae36c);}['setPromptInputValue'](_0x2d5368){this['_promptInputView']['queryView']['fieldView']['reset'](),this['_promptInputView']['queryView']['fieldView']['value']=_0x2d5368;}}class AIChatModelUnavailableMessageView extends ckeditor5['View']{constructor(_0x52eeb7){super(_0x52eeb7);const _0x503fe5=new ckeditor5['ButtonView'](_0x52eeb7);_0x503fe5['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0x503fe5['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'},_0x503fe5]}]});}}class AIChatHeaderView extends ckeditor5['FormHeaderView']{['conversationStartButton'];['resizeButton'];constructor(_0x57f938,_0x2aeae1){super(_0x57f938,{'label':getTranslation$i(_0x57f938,'AI_CHAT_HEADING'),'class':'ck-ai-header\x20ck-ai-header_chat','icon':ckeditor5['IconAIChat']}),this['set']('isMaximized',!0x1),this['conversationStartButton']=this['_createStartConversationButton'](_0x57f938),this['children']['add'](this['conversationStartButton']),_0x2aeae1&&(this['resizeButton']=createResizeButton(_0x57f938,this),this['children']['add'](this['resizeButton']));}['_createStartConversationButton'](_0x1f22ee){const _0x1478b4=new ckeditor5['ButtonView'](_0x1f22ee);return _0x1478b4['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':ckeditor5['IconPlus'],'class':'ck-ai-chat__start-conversation'}),_0x1478b4['on']('execute',()=>{this['fire']('startConversation');}),_0x1478b4;}}class _0x302436 extends ckeditor5['View']{constructor(_0x3431f8){super(_0x3431f8),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':getTranslation$i(_0x3431f8,'AI_DISCLAIMER_TEXT')}]}]});}}class AIChatView extends ckeditor5['View']{['chatHeader'];['chatFeed'];['chatControls'];['chatDisclaimer'];['_bodyCollection'];constructor(_0x3a689b,_0x495755){super(_0x3a689b),this['_bodyCollection']=new ckeditor5['BodyCollection'](_0x3a689b),this['_bodyCollection']['attachToDom'](),this['chatHeader']=new AIChatHeaderView(_0x3a689b,_0x495755['showResizeButton']),this['chatHeader']['delegate'](..._0x4786e1)['to'](this),this['chatFeed']=new AIChatFeedView(_0x3a689b,this['_bodyCollection']),this['chatFeed']['delegate'](..._0x4786e1)['to'](this),this['chatControls']=new AIChatControlsView(_0x3a689b,{'bodyCollection':this['_bodyCollection'],'contextResourcesSearchInputVisibleFrom':_0x495755['contextResourcesSearchInputVisibleFrom']}),this['chatControls']['delegate'](..._0x4786e1)['to'](this),this['chatDisclaimer']=new _0x302436(_0x3a689b),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x3a689b['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}['populateSourceResourceBalloon'](_0x440a03,_0x519388,_0xadb99,_0x1426b9){this['chatControls']['populateSourceResourceBalloon'](_0x440a03,_0x519388,_0xadb99,_0x1426b9);}['closeSourceResourceBalloon'](_0xd7a2ae){this['chatControls']['closeSourceResourceBalloon'](_0xd7a2ae);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}}const _0xe548e7=0x1e;class AIChatUI extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x337f5c];}['_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(_0x122408){super(_0x122408);const _0x273dcd=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x2dc53c(),this['_view']=new AIChatView(this['context']['locale'],{'showResizeButton':_0x273dcd['showResizeButton'],'contextResourcesSearchInputVisibleFrom':this['context']['config']['get']('ai.chat.context.searchInputVisibleFrom')}),this['_view']['delegate'](..._0x4786e1)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x5b6be6,{showDiff:_0x6a4314})=>{this['showDiff']=_0x6a4314;}),_0x273dcd['view']['addTab']({'id':'chat','buttonLabel':getTranslation$i(this['context']['locale'],'AI_CHAT_HEADING'),'buttonIcon':ckeditor5['IconAIChat'],'order':0x0,'content':this['_view']}),this['_view']['chatControls']['bind']('isLoading')['to'](this,'isBusy',_0x5cf9ae=>_0x5cf9ae),this['_view']['chatFeed']['bind']('isPending')['to'](this,'isBusy',_0x18c2e6=>_0x18c2e6),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}['destroy'](){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}['createConversation'](_0x42350c){const _0x3149b4=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'](_0x42350c['availableModels'],!this['context']['config']['get']('ai.models.showModelSelector')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':_0x3149b4}),this['fire']('conversationCreated');}['addFeedItemStaticMessage']({id:_0xfcc86e,staticMessage:_0x2c72a9}){this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0xfcc86e,'initialContent':'<p>'+_0x2c72a9+'</p>'});}['addFeedItemUserMessage'](_0x510e5f){const _0x430375=_0x510e5f['attributes']?.['displayedPrompt']||_0x510e5f['userMessage'];this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x510e5f['contextItems']['values']()),'initialContent':'<p>'+_0x430375+'</p>','id':_0x510e5f['id']});}['addFeedItemError']({errorMessage:_0x416e74,id:_0xf57fcc}){this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0x416e74+'</p>','id':_0xf57fcc});}['addFeedItemAIReply'](_0x5b026e){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x5b026e['interactionId']+':'+_0x5b026e['id']}),this['clearLoadingMessage']();});}async['addFeedItemAISuggestion'](_0xb7b011){const _0x51d7fe=getEditorFromContext(this['context']);let _0x2f821d=_0x51d7fe['config']['get']('ai.availableReplyActions')||[..._0x1554ad];if(_0x51d7fe['plugins']['has']('TrackChanges')){if(!this['_isTrackChangesCommandValueBound']){this['_isTrackChangesCommandValueBound']=!0x0;const _0x453e1f=_0x51d7fe['commands']['get']('trackChanges');this['_view']['chatFeed']['bind']('isTrackChangesOn')['to'](_0x453e1f,'value');}}else _0x2f821d=_0x2f821d['filter'](_0x5b0f99=>'insertSuggestion'!=_0x5b0f99);return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0xb7b011['interactionId']+':'+_0xb7b011['id'],'areActionsDisabled':_0xb7b011['areActionsDisabled'],'showDiff':this['showDiff'],'availableActions':_0x2f821d}),this['clearLoadingMessage']();});}['addFeedInteractionHeader'](_0x2f9f57,_0x41dc7f){const _0x294ae6=this['_view']['chatFeed']['children']['last'];if(_0x294ae6 instanceof AIChatFeedInteractionHeaderView)return this['_view']['chatFeed']['children']['remove'](_0x294ae6),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x2f9f57['id'],'capabilities':{'isWebSearchEnabled':_0x294ae6['capabilities']['isWebSearchEnabled']||_0x41dc7f['isWebSearchEnabled'],'isReasoningEnabled':_0x294ae6['capabilities']['isReasoningEnabled']||_0x41dc7f['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x2f9f57['id'],'capabilities':_0x41dc7f});}async['addFeedItemCustomElement'](_0x18fc94,_0x21030b){let _0x355857;return await this['_promiseQueue']['enqueue'](async()=>{_0x355857=this['_view']['chatFeed']['addItem']('custom-element',{'content':_0x18fc94,'id':_0x21030b});}),_0x355857;}['removeFeedItem'](_0x544fed){this['_view']['chatFeed']['removeItem'](_0x544fed);}['hasFeedItem'](_0x3db293){return this['_view']['chatFeed']['hasItem'](_0x3db293);}['updateFeedInteractionHeader'](_0x577fa6){const _0x395fa0=this['_view']['chatFeed']['children']['find'](_0x182f78=>_0x182f78['options']['id']==_0x577fa6['id']&&_0x182f78 instanceof AIChatFeedInteractionHeaderView);_0x395fa0&&_0x395fa0['set']('isVisible',_0x577fa6['isVisible']);}async['updateFeedItemAIReplyContent'](_0x5c0102){const _0xb48fbf=_0x5c0102['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x406651=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x5c0102,'abortSignal':_0x406651,'renderingStrategy':_0xb48fbf}),_0x5c0102['isDone']&&this['markFeedItemAsDone'](_0x5c0102['id']);});}['updateFeedItemAIReplySources'](_0x1bb2b6,_0x882a84){this['_view']['chatFeed']['updateWebSources'](_0x1bb2b6,_0x882a84);}async['updateFeedItemAIReplySuggestionContent'](_0x2c3720){const _0x41a244=_0x2c3720['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x4452ff=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0x2c3720,'abortSignal':_0x4452ff,'renderingStrategy':_0x41a244}),_0x2c3720['isDone']&&this['markFeedItemAsDone'](_0x2c3720['id']);});}['updateFeedItemAIReplySuggestionPartState'](_0x444741){this['_view']['chatFeed']['updateSuggestionPartState'](_0x444741);}['setFeedItemAIReplySuggestionPartActive'](_0x5eba6b){this['_view']['chatFeed']['setSuggestionPartActive'](_0x5eba6b);}['markFeedItemAsDone'](_0x5b5df8){this['_view']['chatFeed']['markItemAsDone'](_0x5b5df8);}['removeFeedInteraction'](_0x45ff2e){this['_view']['chatFeed']['getItemIds']()['filter'](_0x188036=>_0x188036['startsWith'](_0x45ff2e))['forEach'](_0x256e76=>this['_view']['chatFeed']['removeItem'](_0x256e76));}['startInteraction'](){const _0x5f0ab3=this['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1});this['setLoadingMessage'](_0x5f0ab3),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.models.showModelSelector')),this['isBusy']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}['stopInteraction'](_0x4e7b0a){this['_promiseQueue']['abort'](),this['_view']['chatFeed']['getItemIds']()['filter'](_0x55bfe7=>_0x55bfe7['startsWith'](_0x4e7b0a['id']))['forEach'](_0x26b043=>this['markFeedItemAsDone'](_0x26b043)),this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();}async['finishInteraction'](){return this['_promiseQueue']['queueEmptyPromise']['then'](()=>{this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();});}['addContextItem'](_0x5a379c,_0x2cda53){this['_view']['chatControls']['addContextItem'](_0x5a379c,_0x2cda53);}['removeContextItem'](_0x53a5ba){this['_view']['chatControls']['removeContextItem'](_0x53a5ba);}['setContextItemLoading'](_0x29b129,_0x1d34cb){this['_view']['chatControls']['setContextItemLoading'](_0x29b129,_0x1d34cb);}['setIsUploadInProgress'](_0x317888){this['_view']['chatControls']['setIsUploadInProgress'](_0x317888);}['setConversationContext'](_0xb239db){this['_view']['chatControls']['setConversationContext'](_0xb239db);}['clearPendingContextUI'](){this['_view']['chatControls']['clearPendingContextUI']();}['clearConversationContextUI'](){this['_view']['chatControls']['clearConversationContextUI']();}['updateResourceState'](_0x288b92,_0x4987aa,_0x293e7d){this['_view']['chatControls']['updateResourceState'](_0x288b92,_0x4987aa,_0x293e7d);}['resetMessageInput'](){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}['setAddContextOptions'](_0x19badc){this['_view']['chatControls']['setAddContextOptions'](_0x19badc);}['updateCapabilities'](_0x496255){this['_view']['chatControls']['setWebSearch'](_0x496255['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0x496255['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0x496255));}['setSelectedModel'](_0x51b825,_0x5087b6){this['_view']['chatControls']['setModel'](_0x51b825),_0x5087b6&&this['_view']['chatControls']['disableModelSelector'](!0x1);}['setFeedItemRenderingStrategy'](_0x332d1c){this['feedItemRenderingStrategy']=_0x332d1c;}['toggleLoadingSkeleton'](_0x3fa8e8){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0x3fa8e8);}['resetConversationTitle'](){this['setConversationTitle'](getTranslation$i(this['context']['locale'],'AI_CHAT_HEADING'));}['setConversationTitle'](_0x9b0fc3,_0xf68a3a=!0x1){if(_0xf68a3a&&!ckeditor5['_isMotionReduced']()&&_0x9b0fc3['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0x9b0fc3);this['_view']['chatHeader']['label']=_0x9b0fc3;}['setLoadingMessage'](_0x41a401){this['_view']['chatFeed']['setLoadingMessage'](_0x41a401);}['clearLoadingMessage'](){this['_view']['chatFeed']['setLoadingMessage']('');}['_animateConversationTitle'](_0x505928){let _0x49895b=0x0;clearInterval(this['_titleAnimationInterval']),this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x505928[_0x49895b],_0x49895b++,_0x49895b===_0x505928['length']&&clearInterval(this['_titleAnimationInterval']);},_0xe548e7);}['setIsMaximized'](_0x16dd1a){this['_view']['chatHeader']['isMaximized']=_0x16dd1a;}['prepareLoadingMessage'](_0xf1c739){return _0xf1c739['isWebSearchEnabled']&&_0xf1c739['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0xf1c739['isWebSearchEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0xf1c739['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR');}['_getInputPlaceholder'](_0x49c785){return _0x49c785?_0x49c785['isWebSearchEnabled']&&_0x49c785['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x49c785['isWebSearchEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x49c785['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'](_0x3eada4,_0x51d4c2,_0x449c27,_0x5c6fa0){this['_view']['populateSourceResourceBalloon'](_0x3eada4,_0x51d4c2,_0x449c27,_0x5c6fa0);}['closeSourceResourceBalloon'](_0x498be1){this['_view']['closeSourceResourceBalloon'](_0x498be1);}['setPromptInputValue'](_0x3ebb9d){this['_view']['chatControls']['setPromptInputValue'](_0x3ebb9d);}['focusPromptInput'](_0x32bb21=!0x1){this['_view']['chatControls']['focusPromptInput'](_0x32bb21);}['scrollFeedToSuggestion'](_0x1d6de4,_0x456ae0){this['_view']['chatFeed']['scrollToSuggestion'](_0x1d6de4,_0x456ae0);}['startAutoScroll'](){this['_view']['chatFeed']['startAutoScroll']();}['disableControls'](){this['_view']['chatControls']['isDisabled']=!0x0;}['enableControls'](){this['_view']['chatControls']['isDisabled']=!0x1;}}class AIChatHistorySectionListView extends ckeditor5['ListView']{['sections'];constructor(_0x351149,_0x2c3aa0){super(_0x351149),this['sections']=_0x2c3aa0,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}['filter'](_0x2cd047){let _0x57ef22=0x0,_0x317573=0x0;for(const _0x3d0524 of this['sections']){const {resultsCount:_0x5b671b,totalItemsCount:_0x36ea32}=_0x3d0524['filter'](_0x2cd047);_0x57ef22+=_0x5b671b,_0x317573+=_0x36ea32;}return{'resultsCount':_0x57ef22,'totalItemsCount':_0x317573};}}class AIChatHistoryListView extends ckeditor5['ListItemView']{['title'];['itemsViews'];['_itemsListView'];constructor(_0x2ee0ce,{title:_0x345bff,items:_0x1ab109}){super(_0x2ee0ce);const _0x50379b=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x345bff,this['itemsViews']=_0x1ab109;const _0x4466ea=new ckeditor5['View'](_0x2ee0ce);_0x4466ea['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new ckeditor5['ListView'](_0x2ee0ce),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x50379b['if']('isVisible','ck-hidden',_0x3a411e=>!_0x3a411e)]},'children':[_0x4466ea,this['_itemsListView']]});}['filter'](_0x10d0bc){const _0x31b7d4=this['itemsViews']['length'];let _0x51b252=0x0;for(const _0x389ef3 of this['itemsViews']){if(_0x10d0bc){const _0x153b51=_0x389ef3['isMatching'](_0x10d0bc);_0x389ef3['isVisible']=!!_0x153b51,_0x389ef3['highlightText'](_0x10d0bc);}else _0x389ef3['isVisible']=!0x0,_0x389ef3['highlightText'](null);_0x389ef3['isVisible']&&_0x51b252++;}return this['isVisible']=_0x51b252>0x0,{'resultsCount':_0x51b252,'totalItemsCount':_0x31b7d4};}['getItem'](_0x2b6dc9){return this['itemsViews']['find'](_0x2a6aae=>_0x2a6aae['id']===_0x2b6dc9);}['removeItem'](_0x1afd8a){const _0x88053e=this['itemsViews']['indexOf'](_0x1afd8a);-0x1!==_0x88053e&&(this['itemsViews']['splice'](_0x88053e,0x1),this['_itemsListView']['items']['remove'](_0x1afd8a));}}class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
_0x46dab4(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(_0x12cdb4,_0x36a034){super(_0x12cdb4);const _0x3a2313=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x36a034['pinned']),this['set']('loadingState',null),this['id']=_0x36a034['id'];const {title:_0x15977a,createdAt:_0x2496e3,active:_0x5cc64f=!0x1}=_0x36a034;this['_titleView']=new ckeditor5['HighlightedTextView'](),this['_titleView']['text']=_0x15977a,this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x4be6b3=this['_createCheckView'](),_0x28a52e=this['_createPinButtonView'](_0x12cdb4),_0x30b6e6=this['_createMenuDropdownView'](),_0x5d9ff2=this['_createEditInputView'](_0x12cdb4,_0x15977a),_0x32fa67=this['_createAcceptEditButtonView'](_0x12cdb4,_0x5d9ff2),_0x17d6bd=this['_createCancelEditButtonView'](_0x12cdb4,_0x5d9ff2);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0x28a52e),this['actions']['add'](_0x30b6e6),this['on']('change:isEdit',(_0x104cdb,_0x1c73af,_0x449432)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x449432?(this['actions']['add'](_0x32fa67),this['actions']['add'](_0x17d6bd),this['mainContent']['add'](_0x5d9ff2),_0x5d9ff2['element']['focus']()):(this['actions']['add'](_0x28a52e),this['actions']['add'](_0x30b6e6),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x5cc64f?'ck-ai-chat-history__item--active':'',_0x3a2313['if']('isVisible','ck-hidden',_0x3b825d=>!_0x3b825d),_0x3a2313['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',_0x3a2313['if']('loadingState','ck-hidden',_0x5e1041=>!!_0x5e1041)]},'children':_0x5cc64f?[_0x4be6b3]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x3a2313['if']('loadingState','ck-hidden',_0x437534=>!_0x437534)]},'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',_0x3a2313['if']('loadingState','ck-hidden',_0xd7499c=>!!_0xd7499c)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x3a2313['if']('loadingState','ck-hidden',_0x26dea8=>!_0x26dea8)]},'children':[{'text':_0x3a2313['to']('loadingState',_0x48879d=>_0x48879d?getTranslation$i(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0x48879d]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x2496e3]}]},{'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'](_0x37ad58){this['_titleView']['text']=_0x16b4c3(_0x37ad58);}['updateLoadingState'](_0x18e2cc,_0x16c331){this['set']('loadingState',_0x16c331?_0x18e2cc:null);}['_createCheckView'](){const _0x2b1f19=new ckeditor5['IconView']();return _0x2b1f19['set']({'content':ckeditor5['IconCheck']}),_0x2b1f19;}['_createPinButtonView'](_0x275e0f){const _0x29e2a=new ckeditor5['ButtonView'](_0x275e0f);return _0x29e2a['set']({'label':getTranslation$i(_0x275e0f,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':ckeditor5['IconPin'],'withText':!0x1,'tooltip':!0x0}),_0x29e2a['bind']('isOn')['to'](this,'pinned'),_0x29e2a['on']('execute',()=>{const _0x366d5f=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0x366d5f});}),_0x29e2a;}['_createMenuDropdownView'](){const _0x2c94bb=ckeditor5['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0x5ebea3=_0x2c94bb['panelView']['children'];_0x2c94bb['buttonView']['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':ckeditor5['IconThreeHorizontalDots']}),_0x2c94bb['panelPosition']='sw';const _0x579863=new ckeditor5['ButtonView'](this['locale']);_0x579863['label']=getTranslation$i(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x579863['withText']=!0x0,_0x579863['on']('execute',()=>{this['isEdit']=!0x0;});const _0x411a72=new ckeditor5['ButtonView'](this['locale']);_0x411a72['label']=getTranslation$i(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x411a72['withText']=!0x0,_0x411a72['on']('execute',()=>{this['showConfirm'](getTranslation$i(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0x23a463=new ckeditor5['ListView'](this['locale']),_0xb4b1a6=new ckeditor5['ListItemView'](this['locale']);_0xb4b1a6['children']['add'](_0x579863);const _0x5af483=new ckeditor5['ListItemView'](this['locale']);return _0x5af483['children']['add'](_0x411a72),_0x23a463['items']['addMany']([_0xb4b1a6,_0x5af483]),_0x5ebea3['add'](_0x23a463),_0x2c94bb;}['_createEditInputView'](_0x20619c,_0x49d69d){const _0x2f3334=new ckeditor5['InputTextView'](_0x20619c),_0x469ddd=_0x2f3334['bindTemplate'];return _0x2f3334['value']=_0x49d69d,_0x2f3334['extendTemplate']({'on':{'keydown':_0x469ddd['to'](_0x39f3ee=>{'Enter'==_0x39f3ee['key']&&this['_commitEditInputValue'](_0x2f3334);})}}),_0x2f3334;}['_createAcceptEditButtonView'](_0x52cd35,_0x5c33f8){const _0x9e5fd7=new ckeditor5['ButtonView'](_0x52cd35);return _0x9e5fd7['set']({'icon':ckeditor5['IconCheck'],'withText':!0x1,'tooltip':getTranslation$i(_0x52cd35,'AI_CHAT_HISTORY_ACCEPT')}),_0x9e5fd7['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0x9e5fd7['on']('execute',()=>{this['_commitEditInputValue'](_0x5c33f8);}),_0x9e5fd7;}['_commitEditInputValue'](_0xe5df61){const _0x18e2a8=_0xe5df61['element']['value']||'';this['_titleView']['text']=_0x18e2a8,this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x18e2a8});}['_createCancelEditButtonView'](_0x5c691e,_0x24766d){const _0x5cd8b9=new ckeditor5['ButtonView'](_0x5c691e);return _0x5cd8b9['set']({'icon':ckeditor5['IconCancel'],'withText':!0x1,'tooltip':getTranslation$i(_0x5c691e,'AI_CHAT_HISTORY_CANCEL')}),_0x5cd8b9['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0x5cd8b9['on']('execute',()=>{this['isEdit']=!0x1,_0x24766d['value']=this['_titleView']['text']||'',this['fire']('edit:cancel');}),_0x5cd8b9;}['_createSpinnerView'](){const _0x5939a5=new _0x3910e('tiny');return _0x5939a5['isVisible']=!0x0,_0x5939a5;}['isMatching'](_0x50b3c4){return this['_titleView']&&'string'==typeof this['_titleView']['text']&&this['_titleView']['text']['match'](_0x50b3c4)?{'title':!0x0}:null;}['highlightText'](_0x3327aa){this['_titleView']['highlightText'](_0x3327aa);}}class AIChatHistoryView extends ckeditor5['View']{['searchView'];['mainErrorView'];['skeletonView'];['emptyView'];['sectionsView'];['resizeButton'];constructor(_0x4ce922,_0x49efda){super(_0x4ce922),this['set']('hasItems',!0x1),this['set']('isLoading',!0x0),this['set']('errorMessage',''),this['set']('isMaximized',!0x1),this['set']('isSearchViewVisible',!0x1),this['set']('isEmptyViewVisible',!0x1),this['set']('isMainErrorViewVisible',!0x1);const _0x35df53=new ckeditor5['FormHeaderView'](_0x4ce922,{'label':getTranslation$i(_0x4ce922,'AI_CHAT_HISTORY_HEADING'),'icon':ckeditor5['IconAIHistory'],'class':'ck-ai-header\x20ck-ai-header_history'});_0x49efda&&(this['resizeButton']=createResizeButton(_0x4ce922,this),_0x35df53['children']['add'](this['resizeButton'])),this['sectionsView']=new AIChatHistorySectionListView(_0x4ce922,[]),this['sectionsView']['delegate'](..._0xe2f60d)['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',_0x5a3cc1=>!_0x5a3cc1)]}}),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':[_0x35df53,{'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 _0x2e270d=new ckeditor5['SearchTextView'](this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0x2e2feb=>getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0x2e2feb),'secondary':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}}),_0x5a3b39=this['_createErrorView']();return _0x5a3b39['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('errorMessage','ck-hidden',_0x100e42=>!_0x100e42)]}}),_0x2e270d['on']('render',()=>{_0x2e270d['children']['add'](_0x5a3b39,0x1);}),_0x2e270d['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x1bfa06=>!_0x1bfa06)]}}),_0x2e270d;}['_createSkeletonView'](){const _0x3b5141=new AISkeletonView(this['locale'],_0x30f532['aiHistory']);return _0x3b5141['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0x4edfc2=>!_0x4edfc2)]}}),_0x3b5141;}['_createErrorView'](){const _0x1ba58a=new ckeditor5['View'](this['locale']),_0x1342f5=new ckeditor5['ButtonView'](this['locale']);_0x1342f5['set']({'withText':!0x1,'icon':ckeditor5['IconCancel'],'class':'ck-ai-notification_error__dismiss-button'}),_0x1342f5['bind']('isVisible')['to'](this,'hasItems',_0x45b7b1=>!!_0x45b7b1),_0x1342f5['on']('execute',()=>{this['errorMessage']='';});const _0x3b69be=this['bindTemplate'];return _0x1ba58a['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error']},'children':[{'tag':'p','children':[{'text':_0x3b69be['to']('errorMessage')}]},_0x1342f5]}),_0x1ba58a;}['_createEmptyStateView'](){const _0x27f198=new ckeditor5['ButtonView'](this['locale']);_0x27f198['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':ckeditor5['IconPlus'],'class':'ck-ai-chat__start-conversation'}),_0x27f198['on']('execute',()=>{this['fire']('openChat');});const _0x2959f1=new ckeditor5['View'](this['locale']);return _0x2959f1['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0x426ab6=>!_0x426ab6)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[getTranslation$i(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]},_0x27f198]}),_0x2959f1;}['_createListItemViews'](_0x11f45e,_0x429df1){const _0x455e47=[];for(const _0x49d9dd of _0x11f45e){const _0xcc17ef=new AIChatHistoryListItemView(_0x429df1,_0x49d9dd);_0xcc17ef['delegate'](..._0xe2f60d)['to'](this),_0x455e47['push'](_0xcc17ef);}return _0x455e47;}['updateHistoryItemsWithCategories'](_0xe5ae3d){const _0x284ad6=this['locale']||'en',_0x15224f=[];for(const _0x48c828 of _0xe5ae3d){const _0x14e023=this['_createListItemViews'](_0x48c828['items'],_0x284ad6);_0x15224f['push'](new AIChatHistoryListView(_0x284ad6,{'title':_0x48c828['title'],'items':_0x14e023}));}this['sectionsView']['sections']=_0x15224f,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0x15224f),this['hasItems']=_0xe5ae3d['some'](_0x174311=>_0x174311['items']['length']>0x0),this['_refreshSearch']();}['removeHistoryItem'](_0xc825cd){for(const _0x179bd3 of this['sectionsView']['sections']){const _0x4986ab=_0x179bd3['getItem'](_0xc825cd);if(_0x4986ab){if(_0x179bd3['removeItem'](_0x4986ab),0x0===_0x179bd3['itemsViews']['length']){const _0x162899=this['sectionsView']['sections']['indexOf'](_0x179bd3);-0x1!==_0x162899&&(this['sectionsView']['sections']['splice'](_0x162899,0x1),this['sectionsView']['items']['remove'](_0x179bd3));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}['updateItemTitle'](_0x5e704c,_0x2906df){for(const _0x566d9b of this['sectionsView']['sections']){const _0x1513b0=_0x566d9b['getItem'](_0x5e704c);if(_0x1513b0){_0x1513b0['updateTitle'](_0x2906df);break;}}}['updateItemLoadingState'](_0x44a78b,_0x1b7639,_0x36420b){for(const _0x53e06a of this['sectionsView']['sections']){const _0x4874d1=_0x53e06a['getItem'](_0x44a78b);if(_0x4874d1){_0x4874d1['updateLoadingState'](_0x1b7639,_0x36420b);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x355e4c=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x355e4c);}}}const _0xe2f60d=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','openChat','resizeTabs'];class AIChatHistoryUI extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x337f5c];}['_historyView'];static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2d0ba1){super(_0x2d0ba1);const _0x7c0939=this['context']['plugins']['get']('AITabs');this['_historyView']=new AIChatHistoryView(this['context']['locale'],_0x7c0939['showResizeButton']),this['_historyView']['delegate'](..._0xe2f60d)['to'](this),_0x7c0939['view']['addTab']({'id':'history','buttonLabel':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':ckeditor5['IconAIHistory'],'order':0x0,'content':this['_historyView']});}['removeHistoryItem'](_0x38fff6){this['_historyView']['removeHistoryItem'](_0x38fff6);}['updateItems'](_0x263cf2){this['_historyView']['updateHistoryItemsWithCategories'](_0x263cf2);}['updateItemTitle'](_0xc4eee8,_0x51295e){this['_historyView']['updateItemTitle'](_0xc4eee8,_0x51295e);}['updateItemLoadingState'](_0x38b742,_0x3d6062,_0x1f6e66){this['_historyView']['updateItemLoadingState'](_0x38b742,_0x3d6062,_0x1f6e66);}['setLoadingSkeleton'](_0x390720){this['_historyView']['isLoading']=_0x390720;}['showError'](_0x1e58cb){this['_historyView']['errorMessage']=_0x1e58cb;}['hideError'](){this['_historyView']['errorMessage']='';}['setIsMaximized'](_0x204bc0){this['_historyView']['isMaximized']=_0x204bc0;}}class AIChatHistoryItem extends ckeditor5['ObservableMixin'](){['id'];['createdAt'];constructor({id:_0x45c7de,title:_0x2d7abd,createdAt:_0x381b12,updatedAt:_0x3b6441,pinned:_0x44622b}){super(),this['id']=_0x45c7de,this['createdAt']=new Date(_0x381b12),this['set']('title',_0x2d7abd),this['set']('updatedAt',_0x3b6441?new Date(_0x3b6441):null),this['set']('pinned',_0x44622b||!0x1);}['updateTitle'](_0x2621bf){this['set']('title',_0x16b4c3(_0x2621bf)),this['updatedAt']=new Date();}['updatePinned'](_0x155bb9){this['set']('pinned',_0x155bb9),this['updatedAt']=new Date();}}class AIChatHistoryConversations extends ckeditor5['EmitterMixin'](){['items']=[];['connector'];['group'];constructor({connector:_0xf31712,group:_0x2ba243}){super(),this['connector']=_0xf31712,this['group']=_0x2ba243;}async['init'](){try{const _0x40f53c=this['connector']['fetchConversations'](this['group']),_0x4908e2=await _0x40f53c['getConversations']();this['loadItems'](_0x4908e2);}catch(_0x5ca961){this['fire']('error',{'error':_0x5ca961,'operation':'init'});}}['addItem'](_0x1f93bb){this['items']['push'](_0x1f93bb);}async['removeItem'](_0xc339e9){const _0x1c7b09=this['items']['findIndex'](_0x2b7b77=>_0x2b7b77['id']===_0xc339e9);if(-0x1===_0x1c7b09)return!0x1;try{return await this['connector']['deleteConversation'](_0xc339e9)['execute'](),this['items']['splice'](_0x1c7b09,0x1),this['fire']('itemRemoved',{'itemId':_0xc339e9}),!0x0;}catch(_0x3949bd){return this['fire']('error',{'error':_0x3949bd,'operation':'removeItem','itemId':_0xc339e9}),!0x1;}}['getItem'](_0x12a062){return this['items']['find'](_0x1a00bd=>_0x1a00bd['id']===_0x12a062);}async['updateItemTitle'](_0x35c7ec,_0x1b760c){const _0x45fe43=this['getItem'](_0x35c7ec);if(!_0x45fe43)return!0x1;try{return await this['connector']['updateConversation'](_0x35c7ec,{'title':_0x1b760c})['getResult'](),_0x45fe43['updateTitle'](_0x1b760c),this['fire']('itemUpdated',{'itemId':_0x35c7ec,'updates':{'title':_0x1b760c}}),!0x0;}catch(_0x3db517){return this['fire']('error',{'error':_0x3db517,'operation':'updateItemTitle','itemId':_0x35c7ec}),!0x1;}}async['updateItemPinned'](_0x148bf4,_0x168686){const _0x26f299=this['getItem'](_0x148bf4);if(!_0x26f299)return!0x1;try{return await this['connector']['updateConversation'](_0x148bf4,{'pinned':_0x168686})['getResult'](),_0x26f299['updatePinned'](_0x168686),this['fire']('itemUpdated',{'itemId':_0x148bf4,'updates':{'pinned':_0x168686}}),!0x0;}catch(_0x1300b3){return this['fire']('error',{'error':_0x1300b3,'operation':'updateItemPinned','itemId':_0x148bf4}),!0x1;}}['loadItems'](_0x68dc3a){try{this['items']=[],_0x68dc3a['map'](_0x5972f1=>{this['addItem'](new AIChatHistoryItem(_0x5972f1));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0x495996){this['fire']('error',{'error':_0x495996,'operation':'loadItems'});}}['getItems'](_0x396ebf={}){const _0x40bcc6=void 0x0!==_0x396ebf['pinned']&&_0x396ebf['pinned'],_0x1a813d=_0x396ebf['from']?new Date(_0x396ebf['from']['getFullYear'](),_0x396ebf['from']['getMonth'](),_0x396ebf['from']['getDate']()):null,_0x1aa8db=_0x396ebf['to']?new Date(_0x396ebf['to']['getFullYear'](),_0x396ebf['to']['getMonth'](),_0x396ebf['to']['getDate']()):null;return this['items']['filter'](_0x5183cd=>{if(_0x5183cd['pinned']!==_0x40bcc6)return!0x1;if(_0x1aa8db){const _0x4974d0=new Date(_0x5183cd['createdAt']['getFullYear'](),_0x5183cd['createdAt']['getMonth'](),_0x5183cd['createdAt']['getDate']());return _0x1a813d?_0x1a813d['getTime']()===_0x1aa8db['getTime']()?_0x4974d0['getTime']()===_0x1a813d['getTime']():_0x4974d0<_0x1aa8db&&_0x4974d0>=_0x1a813d:_0x4974d0<_0x1aa8db;}return!0x0;});}}class AIChatHistoryController extends ckeditor5['ContextPlugin']{['_aiConnector'];['_aiChatHistoryUi'];['_aiChatController'];static get['requires'](){return[AIConnector,AIChatController,AIChatHistoryUI,_0x337f5c];}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 _0xd84588=this['context']['plugins']['get'](_0x337f5c);try{const _0x3e8b42=this['_aiChatController']['getGroupId']();this['history']=new AIChatHistoryConversations({'connector':this['_aiConnector'],'group':_0x3e8b42}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0x54ba63,_0x3004e6)=>{this['_setItemLoading'](_0x3004e6['id'],'remove'),this['_handleRemove'](_0x3004e6['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0x27ab76,_0x50121e)=>{this['_setItemLoading'](_0x50121e['id'],'rename'),this['_handleEditTitle'](_0x50121e['id'],_0x50121e['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x1fa481,_0xa64b25)=>{void 0x0!==_0xa64b25['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0xa64b25['itemId'],_0xa64b25['updates']['title']),void 0x0!==_0xa64b25['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0xa64b25['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0x5275a5,_0x542284)=>{this['_aiChatController']['handleRemovedConversation'](_0x542284['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x542284['itemId']),this['_clearItemLoading'](_0x542284['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0x284da9,_0x44ba01)=>{this['_handleHistoryErrorUI'](_0x44ba01['error'],_0x44ba01['operation'],_0x44ba01['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x169534,_0x552b62)=>{this['_handleSelectConversation'](_0x552b62['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x5df0a6,_0x48fd8a)=>{const _0x49df44=_0x48fd8a['pinned']?'pin':'unpin';this['_setItemLoading'](_0x48fd8a['id'],_0x49df44),this['_handleTogglePin'](_0x48fd8a['id'],_0x48fd8a['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'openChat',()=>{_0xd84588['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0xd84588['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();}),this['listenTo'](_0xd84588,'resizedTabs',(_0x30296f,_0x25a29c)=>{this['_setIsMaximized'](_0x25a29c);}),this['listenTo'](this['_aiChatHistoryUi'],'resizeTabs',()=>{_0xd84588['resize']();});}catch(_0x472fbf){this['_handleHistoryErrorUI'](_0x472fbf,'init');}}async['_handleEditTitle'](_0x2927be,_0x8833f){await this['history']['updateItemTitle'](_0x2927be,_0x8833f);}async['_handleTogglePin'](_0x103449,_0x1ab824){await this['history']['updateItemPinned'](_0x103449,_0x1ab824);}async['_handleRemove'](_0x36d46a){await this['history']['removeItem'](_0x36d46a);}async['_handleSelectConversation'](_0x177ab8){await this['_aiChatController']['loadConversation'](_0x177ab8);}async['_showConversationHistory'](){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_updateHistoryItemsUI'](){const _0x4cc849=this['_aiChatController']['activeConversation']?.['id'],_0x8ab971=this['_getCategorizedItems']()['map'](_0x2bb38a=>({'title':_0x2bb38a['title'],'items':_0x2bb38a['items']['map'](_0x597563=>({'id':_0x597563['id'],'title':_0x597563['title']||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0x597563['createdAt'])['toLocaleDateString'](),'active':_0x597563['id']===_0x4cc849,'pinned':_0x597563['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0x8ab971);}['_setItemLoading'](_0x5f4dca,_0x47df31){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x5f4dca,_0x47df31,!0x0);}['_clearItemLoading'](_0x135609){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x135609,null,!0x1);}['_handleHistoryErrorUI'](_0x5beb37,_0x35aaa7,_0x2b653f){const _0x23db0a=this['_generateErrorMessage'](_0x35aaa7,_0x2b653f);this['_aiChatHistoryUi']['showError'](_0x23db0a),_0x2b653f&&this['_clearItemLoading'](_0x2b653f),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_generateErrorMessage'](_0x395d9c,_0x406db5){const _0x1cac45=_0x406db5?this['history']['getItem'](_0x406db5):null,_0x19ce6c=_0x1cac45?.['title']||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x395d9c){case'updateItemTitle':return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x19ce6c);case'updateItemPinned':{const _0x40cefc=getTranslation$i(this['context']['locale'],_0x1cac45?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0x40cefc,_0x19ce6c]);}case'removeItem':return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x19ce6c);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 _0x31e6a5=new Date(),_0x21a642=new Date(_0x31e6a5['getFullYear'](),_0x31e6a5['getMonth'](),_0x31e6a5['getDate']()),_0x2e0954=new Date(_0x21a642);_0x2e0954['setDate'](_0x2e0954['getDate']()-0x1);const _0x1b224b=new Date(_0x21a642);_0x1b224b['setDate'](_0x1b224b['getDate']()-0xe);const _0x461cce=this['history']['getItems']({'pinned':!0x0}),_0x699a0=this['history']['getItems']({'from':_0x21a642,'to':_0x21a642}),_0x1f5b7e=this['history']['getItems']({'from':_0x2e0954,'to':_0x2e0954}),_0x1e86a0=this['history']['getItems']({'from':_0x1b224b,'to':_0x2e0954}),_0x437801=this['history']['getItems']({'to':_0x1b224b}),_0x56ec83=[];return _0x461cce['length']>0x0&&_0x56ec83['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x461cce}),_0x699a0['length']>0x0&&_0x56ec83['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0x699a0}),_0x1f5b7e['length']>0x0&&_0x56ec83['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x1f5b7e}),_0x1e86a0['length']>0x0&&_0x56ec83['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0x1e86a0}),_0x437801['length']>0x0&&_0x56ec83['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0x437801}),_0x56ec83;}['_setIsMaximized'](_0x2d6ba4){this['_aiChatHistoryUi']['setIsMaximized'](_0x2d6ba4);}}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(_0x282c23){super(_0x282c23),this['context']['config']['define']('ai.chat.context',{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this['context']['config']['define']('ai.chat.initialConversation','new');}async['addSelectionToChatContext'](){await this['context']['plugins']['get'](AIChatController)['addSelectionToChatContext']();}async['startConversation'](){await this['context']['plugins']['get'](AIChatController)['startConversation']();}async['sendMessage']({message:_0xc12d12,attributes:_0x5f4430}){await this['context']['plugins']['get'](AIChatController)['sendMessage']({'message':_0xc12d12,'attributes':_0x5f4430});}['removeSelectionFromChatContext'](){this['context']['plugins']['get'](AIChatController)['removeSelectionFromChatContext']();}['focusPromptInput'](){this['context']['plugins']['get'](AIChatController)['focusPromptInput']();}['registerToolDataCallback'](_0x4c1809){this['context']['plugins']['get'](AIChatController)['_registerToolDataCallback'](_0x4c1809);}}class AIChatShortcutView extends ckeditor5['ButtonView']{['id'];constructor(_0x461e17,_0x5353fe){super(_0x461e17);const {id:_0x5652ff,type:_0x4588fc,icon:_0x4bbf3a}=_0x5353fe;this['id']=_0x5652ff,this['set']({'label':_0x5353fe['label'],'withText':!0x0,'class':'ck-ai-chat-shortcut'}),this['extendTemplate']({'attributes':{'data-cke-ai-shortcut-id':_0x5353fe['id']}}),_0x4bbf3a?this['icon']=_0x4bbf3a:'chat'===_0x4588fc?this['icon']=ckeditor5['IconAIChat']:'review'===_0x4588fc?this['icon']=ckeditor5['IconAIReview']:'translate'===_0x4588fc&&(this['icon']=ckeditor5['IconAITranslate']);}}class AIChatShortcutsView extends ckeditor5['View']{['listView'];constructor(_0x34d21d,_0xe3fc78){super(_0x34d21d);const _0xa9faf1=_0xe3fc78['map'](_0x480b7c=>{const _0x252cee=new ckeditor5['ListItemView'](this['locale']),_0x25e4b5=new AIChatShortcutView(this['locale'],_0x480b7c);return _0x252cee['children']['add'](_0x25e4b5),_0x25e4b5['delegate']('execute')['to'](this),_0x252cee;});this['listView']=new ckeditor5['ListView'](this['locale']),this['listView']['items']['addMany'](_0xa9faf1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-shortcuts']},'children':[this['listView']]});}}const _0x120499='chat-shortcuts';var AIChatShortcutType=function(_0x113f22){return _0x113f22['CHAT']='chat',_0x113f22['REVIEW']='review',_0x113f22['TRANSLATE']='translate',_0x113f22;}({});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 _0x579852=this['context']['plugins']['get']('AIChatController');this['_shortcuts']['length']&&(this['_validateShortcuts'](),this['_aiChatUI']['on']('conversationCreated',()=>{_0x579852['activeConversation']['isFromHistory']||this['_injectShortcuts']();}),this['listenTo'](_0x579852,'interactionStarted',()=>{this['_removeShortcuts']();}));}['_validateShortcuts'](){const _0x15cc0e=Object['values'](AIChatShortcutType);this['_shortcuts']['forEach'](_0x18e6af=>{let _0x240eb4=!0x0;if(_0x18e6af['id']&&_0x18e6af['label']&&_0x15cc0e['includes'](_0x18e6af['type'])?'chat'===_0x18e6af['type']&&(_0x240eb4='string'==typeof _0x18e6af['prompt']):_0x240eb4=!0x1,!_0x240eb4)throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-invalid-config',this['context'],{'shortcut':_0x18e6af});});}['_injectShortcuts'](){const _0x5b4fba=this['context']['plugins']['get'](AIChatUI);this['_shortcutsView']=new AIChatShortcutsView(this['context']['locale'],this['_shortcuts']),this['_shortcutsView']['render'](),_0x5b4fba['addFeedItemCustomElement'](this['_shortcutsView']['element'],_0x120499),this['_shortcutsView']['on']('execute',_0xc5941b=>{const _0x5c4d9f=_0xc5941b['source']['id'];this['_executeShortcut'](_0x5c4d9f);});}['_removeShortcuts'](){const _0x34e593=this['context']['plugins']['get'](AIChatUI);_0x34e593['hasFeedItem'](_0x120499)&&_0x34e593['removeFeedItem'](_0x120499),this['_shortcutsView']?.['destroy']();}['_executeShortcut'](_0x1e65d8){const _0x3f233e=this['_shortcuts']['find'](_0x4cb53c=>_0x4cb53c['id']===_0x1e65d8),_0x1d25c8=_0x3f233e['type'];'chat'===_0x1d25c8?this['_runChatShortcut'](_0x3f233e):'review'===_0x1d25c8?_0x3f233e['check']?this['_runReviewShortcut'](_0x3f233e):this['_switchTab']('reviewMode'):'translate'===_0x1d25c8&&(_0x3f233e['language']?this['_runTranslateShortcut'](_0x3f233e):this['_switchTab']('translate'));}['_switchTab'](_0x438ade){if(!this['context']['plugins']['has']('AITabs'))throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-ai-tabs-not-found',this['context'],{'tabName':_0x438ade});this['context']['plugins']['get']('AITabs')['view']['activateTab'](_0x438ade);}async['_runChatShortcut']({prompt:_0x2b66f3,draftMode:_0x368ff1,useWebSearch:_0x5a6926=!0x1,useReasoning:_0x2db187=!0x1,model:_0x53eb6d}){const _0x14fcd4=this['context']['plugins']['get']('AIChat'),_0x2ef15f=this['context']['plugins']['get']('AIChatController'),_0x41541c=_0x2ef15f['activeConversation'];let _0x305e36;_0x305e36=_0x53eb6d?await _0x41541c['chatModels']['getModel'](_0x53eb6d):await _0x41541c['chatModels']['getDefault'](),_0x305e36&&await _0x41541c['setModel'](_0x305e36),_0x41541c['setWebSearch'](_0x5a6926),_0x41541c['setReasoning'](_0x2db187),_0x2ef15f['addCurrentDocumentToChatContext'](),_0x368ff1?(this['_aiChatUI']['setPromptInputValue'](_0x2b66f3),this['_aiChatUI']['focusPromptInput'](!0x0)):_0x14fcd4['sendMessage']({'message':_0x2b66f3});}['_runReviewShortcut']({check:_0x428090,model:_0x1e6970,prompt:_0x4038c8,params:_0x1b4e95}){if(!this['context']['plugins']['has']('AIReviewModeUI'))throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-review-mode-not-found',this['context']);this['_switchTab']('reviewMode');const _0x36af4b={'id':_0x428090,'isCustom':'custom'===_0x428090};_0x1e6970&&_0x4038c8&&(_0x36af4b['args']={'model':_0x1e6970,'prompt':_0x4038c8}),_0x1b4e95&&(_0x36af4b['params']=_0x1b4e95),this['context']['plugins']['get']('AIReviewModeUI')['fire']('runReviewCheck',_0x36af4b);}['_runTranslateShortcut']({language:_0x3cba4a}){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':_0x3cba4a,'args':{'language':_0x3cba4a}});}}class _0x1cdfce extends ckeditor5['Command']{constructor(_0x36aac1){super(_0x36aac1);const _0x5f1391=_0x36aac1['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x5f1391,'isVisible'),this['isEnabled']=!0x0;}['execute'](){const _0x288e6b=this['editor']['plugins']['get']('AITabs')['view'];_0x288e6b['isVisible']=!_0x288e6b['isVisible'];}}class AIToggleButtonUI extends ckeditor5['Plugin']{static get['requires'](){return[_0x337f5c];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xf85f55=this['editor'];_0xf85f55['commands']['add']('toggleAi',new _0x1cdfce(_0xf85f55)),_0xf85f55['ui']['componentFactory']['add']('toggleAi',()=>{const _0x15ee6d=this['_createAIUIButton'](ckeditor5['ButtonView']);return _0x15ee6d['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0x15ee6d;}),_0xf85f55['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0x1d7c10=this['_createAIUIButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x1d7c10['set']({'role':'menuitemcheckbox'}),_0x1d7c10;});}['_createAIUIButton'](_0x1876f9){const _0x2d511a=this['editor'],_0x17604c=_0x2d511a['commands']['get']('toggleAi'),_0x1c2af1=new _0x1876f9(_0x2d511a['locale']);return _0x1c2af1['set']({'label':getTranslation$i(_0x2d511a['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':ckeditor5['IconAIAskAI'],'isToggleable':!0x0}),_0x1c2af1['bind']('isEnabled')['to'](_0x17604c),_0x1c2af1['bind']('isOn')['to'](_0x17604c,'value',_0x4e0917=>!!_0x4e0917),this['listenTo'](_0x1c2af1,'execute',()=>{_0x17604c['execute']();}),_0x1c2af1;}}const _0x55b948=['applySuggestion','insertSuggestion','showNext','showPrevious'];class _0x1c7074 extends ckeditor5['View']{['_errorView'];constructor(_0x57e456){super(_0x57e456),this['set']('_errorMessage',''),this['set']('_isErrorVisible',!0x1);}['showBlockingError'](_0x21fb3a){this['showError'](_0x21fb3a);}['showError'](_0x39dabe){this['_errorView']||(this['_errorView']=this['_createErrorView']()),this['_errorMessage']=_0x39dabe,this['_isErrorVisible']=!0x0;}['hideError'](){this['_isErrorVisible']=!0x1;}['_createErrorView'](){const _0x169d64=new ckeditor5['View'](this['locale']),_0x3f10d8=new ckeditor5['View'](this['locale']);return _0x3f10d8['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[{'text':this['bindTemplate']['to']('_errorMessage')}]}),_0x169d64['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error','ck-ai-balloon-error',this['bindTemplate']['if']('_isErrorVisible','ck-hidden',_0x202b98=>!_0x202b98)]},'children':[_0x3f10d8]}),_0x169d64;}}const _0x24be93=0xa;class _0x589157 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'];['_isUpdatingMarkers']=!0x1;['open'](_0x104d64){const {id:_0x842300}=this['_currentConfig']??{};this['_currentConfig']=_0x104d64;const {id:_0x4c56f7}=this['_currentConfig'];this['isOpen']&&_0x842300===_0x4c56f7?this['_updateDialog']():this['_showDialog']();}['close'](){const _0x2a2a08=getEditorFromContext(this['context'])['plugins']['get']('Dialog');_0x2a2a08['isOpen']&&this['_currentConfig']&&_0x2a2a08['id']===this['_currentConfig']['id']&&_0x2a2a08['hide']();}['_updateDialog'](){const _0x5dd37c=getEditorFromContext(this['context'])['plugins']['get']('Dialog'),{icon:_0x1aae22,title:_0x2b8920}=this['_currentConfig'];_0x5dd37c['view']?.['headerView']&&(_0x5dd37c['view']['headerView']['label']=_0x2b8920,_0x5dd37c['view']['headerView']['iconView']&&_0x1aae22&&(_0x5dd37c['view']['headerView']['iconView']['content']=_0x1aae22)),this['_isUpdatingMarkers']=!0x0,this['_showFakeVisualSelection'](),this['_isUpdatingMarkers']=!0x1,_0x5dd37c['view']?.['updatePosition']();}['_showFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['showFakeVisualSelection'](this['_currentConfig']['ranges'],'ai-balloon-'+this['_currentConfig']['index'],!0x0,!0x0);}['_hideFakeVisualSelection'](_0x30e82b){this['context']['plugins']['get'](AIEditing)['hideFakeVisualSelection']('ai-balloon-'+_0x30e82b);}['_showDialog'](){const _0x171192=getEditorFromContext(this['context'])['plugins']['get']('Dialog'),{id:_0x201344,title:_0x5d2203,icon:_0x114ad6,class:_0x1555a0,mainView:_0x41bf32}=this['_currentConfig'];_0x41bf32['delegate'](..._0x55b948)['to'](this),_0x171192['show']({'title':_0x5d2203,'icon':_0x114ad6,'hasCloseButton':!0x0,'id':_0x201344,'position':this['_calculateDialogPosition']['bind'](this),'className':'ck-ai-balloon\x20'+(_0x1555a0||''),'content':_0x41bf32,'onShow':_0x59bc00=>{this['_showFakeVisualSelection'](),this['_setupFakeVisualSelectionMarkerRemovalListener']();const _0x4d1782=this['_getSelectionElements']();_0x4d1782&&_0x4d1782[0x0]&&ckeditor5['scrollViewportToShowTarget']({'target':_0x4d1782[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this['isOpen']=!0x0,_0x59bc00['once']('hide',()=>{this['fire']('beforeDialogClosed',{'id':_0x201344});},{'priority':'high'});},'onHide':()=>{this['_hideFakeVisualSelection'](this['_currentConfig']['index']),this['_cleanupFakeVisualSelectionMarkerRemovalListener'](),this['fire']('dialogClosed',{'id':_0x201344}),this['isOpen']=!0x1;}});}['_calculateDialogPosition'](_0x371f34,_0x5a700c){if(!_0x5a700c)return null;const _0x470d20=this['_getSelectionElements']();if(!_0x470d20||0x0===_0x470d20['length'])return{'left':Math['round'](_0x5a700c['left']+_0x5a700c['width']/0x2-_0x371f34['width']/0x2),'top':Math['round'](_0x5a700c['top']+_0x5a700c['height']/0x2-_0x371f34['height']/0x2)};const _0x4b047a=Math['round'](_0x5a700c['left']+_0x5a700c['width']/0x2-_0x371f34['width']/0x2),_0x2c3395=_0x470d20['map'](_0x5e5d57=>new ckeditor5['Rect'](_0x5e5d57)),_0x5b1f8b=_0x371f34['height'];return{'left':_0x4b047a,'top':this['_calculateOptimalTopPosition'](_0x2c3395,_0x5b1f8b,_0x5a700c)};}['_calculateOptimalTopPosition'](_0x58e4af,_0x2d6ab6,_0x48c7db){const _0x1024fe=new ckeditor5['Rect'](ckeditor5['global']['window']),_0x523e22=_0x58e4af['map'](_0x5459cd=>_0x5459cd['getVisible']())['filter'](_0x49747d=>_0x49747d),_0x3dee1a=ckeditor5['Rect']['getBoundingRect'](_0x523e22);if(!_0x3dee1a)return Math['round'](_0x48c7db['top']+_0x48c7db['height']/0x2);const _0x21d2fa=_0x1024fe['getIntersection'](_0x3dee1a);if(!_0x21d2fa)return Math['round'](_0x48c7db['top']+_0x48c7db['height']/0x2);const _0x10997d=_0x48c7db['getVisible'](),_0x33a609=_0x10997d&&_0x3dee1a['height']>_0x10997d['height'],_0x1e3d44=_0x21d2fa['top'],_0xfb5855=_0x21d2fa['bottom'];if(_0x33a609){const _0x5e1ad1=(_0x10997d||_0x1024fe)['height']/0x2-_0x2d6ab6/0x2,_0x240529=_0x1e3d44-_0x24be93-_0x48c7db['top'],_0x5dd053=_0x48c7db['bottom']-_0xfb5855-_0x24be93;return _0x240529>=_0x2d6ab6?Math['max'](_0x24be93,_0x1e3d44-_0x2d6ab6-_0x24be93):_0x5dd053>=_0x2d6ab6?_0xfb5855+_0x24be93:Math['max'](_0x24be93,_0x5e1ad1);}const _0x516a17=_0x1e3d44-_0x2d6ab6,_0x5d6060=_0x48c7db['bottom']-_0xfb5855-_0x24be93,_0x43ef00=_0x1e3d44-_0x24be93-_0x48c7db['top'];let _0x165ca3;if(_0x5d6060>=_0x2d6ab6)_0x165ca3=_0xfb5855+_0x24be93;else{if(_0x43ef00>=_0x2d6ab6)_0x165ca3=_0x516a17-_0x24be93;else _0x165ca3=_0x1e3d44+_0x3dee1a['height']/0x2-_0x2d6ab6/0x2;}return _0x165ca3;}['_setupFakeVisualSelectionMarkerRemovalListener'](){const _0x4076ae=getEditorFromContext(this['context']);this['listenTo'](_0x4076ae['model']['document'],'change',()=>{if(!this['_isUpdatingMarkers']){for(const {name:_0x2fd148,data:{newRange:_0x200bbc}}of _0x4076ae['model']['document']['differ']['getChangedMarkers']())if(_0x2fd148['startsWith'](_0x555948+':')&&(_0x200bbc&&(_0x200bbc['start']['isEqual'](_0x200bbc['end'])||'$graveyard'==_0x200bbc['root']['rootName'])||null==_0x200bbc)){const _0x1fa1d9=getTranslation$i(this['context']['locale'],'AI_BALLOON_SELECTION_REMOVED_ERROR');this['_currentConfig']['mainView']['showBlockingError'](_0x1fa1d9),this['fire']('selectionRemoved');}}});}['_cleanupFakeVisualSelectionMarkerRemovalListener'](){const _0x4b77b6=getEditorFromContext(this['context']);this['_currentConfig']['mainView']['hideError'](),this['stopListening'](_0x4b77b6['model']['document']);}['_getSelectionElements'](){const _0x3ea157=getEditorFromContext(this['context']);return getAllMarkersDomElementsSorted(_0x3ea157['editing'],[..._0x3ea157['model']['markers']['getMarkersGroup']('ai-selection'),..._0x3ea157['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);}}class _0x1618c7 extends ckeditor5['ToolbarView']{['copyButton'];['likeButton'];['dislikeButton'];['showChangesButton'];['_config'];constructor(_0x124a99,_0x27aa9d={}){super(_0x124a99),this['set']('isEnabled',!0x0),this['set']('isShowChangesOn',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x27aa9d};const _0x5218c1=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x5218c1?'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'](_0x2975da){this['showChangesButton']['isEnabled']=_0x2975da;}['_setupRatingButtons'](){this['likeButton']=new ckeditor5['ButtonView'](this['locale']),this['likeButton']['set']({'icon':ckeditor5['IconThumbUp'],'label':getTranslation$i(this['locale'],'AI_MINI_TOOLBAR_LIKE'),'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'),'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','tooltip':!0x0}),this['copyButton']['bind']('isEnabled')['to'](this);const _0x32bf51=new ckeditor5['IconView']();_0x32bf51['set']({'content':ckeditor5['IconCheck']}),_0x32bf51['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',setTimeout(()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button';},0x7d0);}),this['copyButton']['children']['add'](_0x32bf51);}['_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':'ck-ai-button-tertiary'}),this['showChangesButton']['bind']('isOn')['to'](this,'isShowChangesOn'),this['showChangesButton']['bind']('isEnabled')['to'](this),this['showChangesButton']['bind']('icon')['to'](this,'isShowChangesOn',_0x447770=>_0x447770?ckeditor5['IconShowChangesOn']:ckeditor5['IconShowChangesOff']),this['showChangesButton']['on']('execute',()=>{this['fire']('toggleShowChanges');});}}class AIChatBalloonView extends _0x1c7074{['children'];['nextButtonView'];['previousButtonView'];['focusCycler'];['_focusables'];['_focusTracker'];['_keystrokes'];['_config'];['_streamableContentView'];['_toolbarContainerView'];['_partToolbarView'];['_stateView'];['_miniToolbarView'];constructor(_0x214e80,_0x461b1a){super(_0x214e80);const _0x53d3f9=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']=_0x461b1a,this['nextButtonView']=this['_createNextButtonView'](),this['previousButtonView']=this['_createPreviousButtonView'](),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x214e80),this['_partToolbarView']=new AISuggestionContentPartToolbarView(_0x214e80,_0x461b1a['availableActions']),this['_partToolbarView']['delegate']('applySuggestion','insertSuggestion','rejectSuggestion')['to'](this),this['_togglePartToolbarButtonsVisibility'](_0x461b1a),this['_stateView']=new AISuggestionContentPartStateView(_0x214e80),this['_stateView']['isVisible']=!0x1,this['_miniToolbarView']=new _0x1618c7(_0x214e80,{'showChanges':'full'}),this['_miniToolbarView']['bind']('isShowChangesOn')['to'](this,'showDiff'),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['fire']('toggleSuggestionDisplayMode');}),this['_toolbarContainerView']=new AIChatBalloonToolbarContainerView(_0x214e80,[this['_partToolbarView'],this['_stateView'],this['_miniToolbarView']]),this['children']=this['createCollection']([this['_streamableContentView'],this['_toolbarContainerView']]),this['on']('change:_state',(_0x531c82,_0x279b97,_0x52d1ee,_0x33732b)=>{let _0x4b63af,_0x426faf;'pending'===_0x33732b?(_0x4b63af=this['_partToolbarView'],_0x426faf=this['_stateView']):(_0x4b63af=this['_stateView'],_0x426faf=this['_partToolbarView']),this['_stateView']['setState'](_0x52d1ee),_0x4b63af['isVisible']=!0x1,_0x426faf['isVisible']=!0x0;}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-balloon-main',_0x53d3f9['to']('_state',_0x48f4d3=>'ck-ai-chat-balloon-main_state_'+_0x48f4d3)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_togglePartToolbarButtonsVisibility'](_0x461b1a);});}['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'](_0x406b4a){_0x406b4a?.['keepErrors']||this['hideError'](),await this['_streamableContentView']['update'](_0x406b4a);}['setState'](_0x3d8c25){this['_state']=_0x3d8c25;}['showError'](_0xbf46ca){super['showError'](_0xbf46ca),this['children']['has'](this['_errorView'])||this['children']['add'](this['_errorView'],0x0);}['hideError'](){this['_isErrorVisible']&&(super['hideError'](),this['togglePartToolbarEnabled'](!0x0));}['showBlockingError'](_0x2c7d5b){super['showBlockingError'](_0x2c7d5b),this['togglePartToolbarEnabled'](!0x1);}['toggleRotatorButtonsVisibility'](_0x26ec05){this['nextButtonView']['isVisible']=this['previousButtonView']['isVisible']=_0x26ec05;}['togglePartToolbarEnabled'](_0x388db0){this['_partToolbarView']['isEnabled']=_0x388db0;}['_togglePartToolbarButtonsVisibility']({showApplyButton:_0x266a62,showSuggestButton:_0x2505ce}){_0x266a62=_0x266a62&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x2505ce=_0x2505ce&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_partToolbarView']['setButtonsVisibility']({'showApplyButton':_0x266a62,'showSuggestButton':_0x2505ce});}['_createNextButtonView'](){const _0xf2f27=new ckeditor5['ButtonView'](this['locale']);return _0xf2f27['set']({'icon':ckeditor5['IconChevronDown'],'label':getTranslation$i(this['locale'],'AI_BALLOON_NEXT_LABEL'),'isVisible':!0x0}),_0xf2f27['on']('execute',()=>{this['fire']('showNext');}),_0xf2f27;}['_createPreviousButtonView'](){const _0x201cdb=new ckeditor5['ButtonView'](this['locale']);return _0x201cdb['set']({'icon':ckeditor5['IconChevronUp'],'label':getTranslation$i(this['locale'],'AI_BALLOON_PREVIOUS_LABEL'),'isVisible':!0x0}),_0x201cdb['on']('execute',()=>{this['fire']('showPrevious');}),_0x201cdb;}}class AIChatBalloonToolbarContainerView extends ckeditor5['View']{constructor(_0x10e952,_0x1094fc){super(_0x10e952),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-balloon__toolbar-container']},'children':_0x1094fc});}}class AIChatBalloon extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Dialog'],_0x589157];}static get['pluginName'](){return'AIChatBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_chatBalloonView'];constructor(_0x9084c5){super(_0x9084c5),this['set']('showDiff',!0x1);}['open'](_0x285795){const _0x502c93=this['editor'];this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),_0x502c93['plugins']['get']('AIBalloon')['open']({..._0x285795,'id':'aiChatBalloon','class':'ck-ai-chat-balloon','mainView':this['_chatBalloonView']}),this['_toggleRotatorButtonsInDialogHeader'](_0x285795['showRotator']),this['_chatBalloonView']['togglePartToolbarEnabled'](!_0x285795['areActionsDisabled']),this['_restoreDefaultViewFocus']();}['close'](){this['editor']['plugins']['get']('AIBalloon')['close']();}['updateContent'](_0x50f6b6){return this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),this['_chatBalloonView']['updateContent'](_0x50f6b6);}['setState'](_0x457280){this['_chatBalloonView']&&this['_chatBalloonView']['setState'](_0x457280);}['_createChatBalloonView'](){const _0xc61e11=this['editor'],_0xf9f720=_0xc61e11['plugins']['get']('AIBalloon'),_0x3ab2c0=_0xc61e11['commands']['get']('trackChanges');let _0x458e2d=_0xc61e11['config']['get']('ai.availableReplyActions')||[..._0x1554ad];_0xc61e11['plugins']['has']('TrackChanges')||(_0x458e2d=_0x458e2d['filter'](_0x4a7eab=>'insertSuggestion'!=_0x4a7eab));const _0x4a8c56=new AIChatBalloonView(_0xc61e11['locale'],{'availableActions':_0x458e2d,'showApplyButton':!0x0,'showSuggestButton':!!_0x3ab2c0});return _0x4a8c56['bind']('showDiff')['to'](this),_0x4a8c56['delegate'](..._0x2516b8)['to'](this),_0x4a8c56['delegate']('showPrevious','showNext')['to'](this),_0xf9f720['delegate']('dialogClosed')['to'](this),_0x4a8c56['on']('applySuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x4a8c56['on']('insertSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x4a8c56['on']('rejectSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x3ab2c0&&_0x4a8c56['bind']('isTrackChangesOn')['to'](_0x3ab2c0,'value'),_0x4a8c56['render'](),_0x4a8c56;}['_toggleRotatorButtonsInDialogHeader'](_0x435404){const _0x1ae3cd=this['editor'],_0x1f33d7=_0x1ae3cd['plugins']['get']('Dialog')['view']['headerView']['children'];this['_chatBalloonView']['toggleRotatorButtonsVisibility'](_0x435404),_0x1f33d7['has'](this['_chatBalloonView']['previousButtonView'])||(_0x1f33d7['addMany']([this['_chatBalloonView']['previousButtonView'],this['_chatBalloonView']['nextButtonView']],0x0),_0x1ae3cd['plugins']['get']('AIBalloon')['once']('beforeDialogClosed',()=>{_0x1f33d7['remove'](this['_chatBalloonView']['previousButtonView']),_0x1f33d7['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(_0x4b5312){const {editor:_0x12f8b4,action:_0x574fa5,withText:_0x59a16e=!0x1,withIcon:_0xcb6292=!0x0,isInDropdown:_0x1f5479=!0x0,shouldPreventFocus:_0x38fd78=!0x1}=_0x4b5312;return()=>{const _0x1875e1=_0x12f8b4['locale'],_0x24f8d7=new ckeditor5['ButtonView'](_0x1875e1),_0x215de4=_0x24f8d7['bindTemplate'];_0x1f5479&&_0x24f8d7['extendTemplate']({'on':{'mouseenter':_0x215de4['to'](()=>{_0x38fd78&&_0x38fd78()||_0x24f8d7['focus']();})}});const _0x36e31e=_0x574fa5['icon']??_0x574fa5['parent']?.['icon'];return _0x24f8d7['set']({'label':_0x574fa5['displayedPrompt'],'withText':_0x59a16e,'role':'menuitem','icon':_0xcb6292?_0x36e31e??ckeditor5['IconAIQuickActions']:void 0x0,'tooltip':!_0x59a16e,'class':'ck-ai-quick-actions-button','isEnabled':_0x574fa5['isEnabled']}),_0x24f8d7['on']('execute',()=>{_0x12f8b4['editing']['view']['focus'](),_0x12f8b4['commands']['execute']('aiQuickAction',_0x574fa5);}),_0x24f8d7;};}class DropdownMenuButtonWithHighlightView extends ckeditor5['ListItemButtonView']{['arrowView'];constructor(_0x37eb52,_0x1b2b83){super(_0x37eb52,_0x1b2b83);const _0x398937=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',_0x8a40db=>String(_0x8a40db)),'data-cke-tooltip-disabled':_0x398937['to']('isOn')},'on':{'mouseenter':_0x398937['to']('mouseenter')}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x1e9afa=new ckeditor5['IconView']();return _0x1e9afa['content']=ckeditor5['IconDropdownArrow'],_0x1e9afa['extendTemplate']({'attributes':{'class':'ck-dropdown-menu-list__nested-menu__button__arrow'}}),_0x1e9afa;}}class AIQuickActionsFilteredListView extends ckeditor5['ListView']{['_allListItems'];['_allSearchableItems'];constructor(_0x5bc93e,_0x1c0d57,_0x5ba42e){super(_0x5bc93e),this['_allListItems']=_0x1c0d57,this['_allSearchableItems']=_0x5ba42e;}['filter'](_0xe8257f){if(!_0xe8257f)return this['items']['clear'](),this['items']['addMany'](this['_allListItems']),this['_clearHighlight'](),{'resultsCount':this['_allListItems']['length'],'totalItemsCount':this['_allListItems']['length']};const _0x29cb40=_0xe8257f['source']['toLowerCase']()['trim'](),_0x2b198f=this['_allSearchableItems']['filter'](_0x42b342=>(_0x42b342['groupLabel']?_0x42b342['label']+'\x20('+_0x42b342['groupLabel']+')':_0x42b342['label'])['toLowerCase']()['includes'](_0x29cb40));return this['items']['clear'](),this['items']['addMany'](_0x2b198f['sort']((_0x39074a,_0x55e152)=>{const _0x29c32d=_0x39074a['groupLabel'],_0x1b428e=_0x55e152['groupLabel'];return _0x29c32d||_0x1b428e?_0x29c32d?0x1:-0x1:0x0;})['map'](_0x3a97ba=>_0x3a97ba['item'])),this['_highlightQuery'](_0x29cb40,_0x2b198f),{'resultsCount':_0x2b198f['length'],'totalItemsCount':this['_allSearchableItems']['length']};}['_highlightQuery'](_0x497bec,_0x3f4b27){if(!_0x497bec)return;const _0x4bf652=new RegExp(_0x303f49(_0x497bec),'gi');_0x3f4b27['forEach'](_0x2bb794=>{_0x2bb794['highlightViews']&&_0x2bb794['highlightViews']['forEach'](_0x2169f0=>{'function'==typeof _0x2169f0['highlightText']&&_0x2169f0['highlightText'](_0x4bf652);});});}['_clearHighlight'](){this['_allSearchableItems']['forEach'](_0x37e87d=>{_0x37e87d['highlightViews']&&_0x37e87d['highlightViews']['forEach'](_0x6b662f=>{'function'==typeof _0x6b662f['highlightText']&&_0x6b662f['highlightText'](null);});});}}const _0x5a7c4a={'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(_0x4b0ad8,_0x2cc9ba,_0x5f3eba,_0x3ed091,_0x3c10cd=!0x1){const _0x3062dd=_0x4b0ad8['locale'];super(_0x3062dd),this['_bodyCollection']=_0x3ed091,this['_hasSearch']=_0x3c10cd;const _0x45bba8=this['_createListItems'](_0x4b0ad8,_0x2cc9ba,_0x5f3eba);this['optionsListView']=new AIQuickActionsFilteredListView(_0x3062dd,_0x45bba8,this['_allSearchableItems']),this['optionsListView']['role']=_0x5a7c4a['MENU'],this['optionsListView']['items']['addMany'](_0x45bba8),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0x3c10cd&&(this['_searchTextView']=this['_createSearchTextView']()),this['_focusables']=_0x45bba8,this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),_0x3c10cd&&this['_searchTextView']&&this['focusCycler']['chain'](this['_searchTextView']['focusCycler']);const _0x24fac4=_0x3c10cd&&this['_searchTextView']?[this['_searchTextView']]:[this['optionsListView']];this['children']=new ckeditor5['ViewCollection'](_0x24fac4),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x3062dd['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 _0x37e6ca=this['_searchTextView']['queryView']['fieldView']['element']['ownerDocument']?.['activeElement'];return this['_searchTextView']['queryView']['fieldView']['element']['contains'](_0x37e6ca);}['_createListItems'](_0x35647f,_0x76d4e3,_0x4c5c81){const _0x3ebb4f=new ckeditor5['ViewCollection']();return _0x76d4e3['forEach'](_0x527934=>{if('actions'in _0x527934){const {listItem:_0x5fd81}=this['_createActionGroupButton'](_0x35647f,_0x527934,_0x4c5c81);_0x3ebb4f['add'](_0x5fd81),_0x527934['actions']['forEach'](_0x32f3e1=>{this['_createActionButton'](_0x35647f,_0x32f3e1,_0x527934['label'],_0x527934['icon']);const {listItem:_0x55aa5b,highlightViews:_0x3f5d86}=this['_createSearchResultActionButton'](_0x35647f,_0x32f3e1,_0x527934['label'],_0x527934['icon']);this['_allSearchableItems']['push']({'item':_0x55aa5b,'label':_0x32f3e1['displayedPrompt'],'groupLabel':_0x527934['label'],'highlightViews':_0x3f5d86});});}else{const {listItem:_0x37c5fa}=this['_createActionButton'](_0x35647f,_0x527934);_0x3ebb4f['add'](_0x37c5fa);const _0x1c5c41=_0x37c5fa['children']['first'];if(_0x1c5c41){const {listItem:_0x100f79,highlightViews:_0x16278f}=this['_createSearchResultActionButton'](_0x35647f,_0x527934);this['_allSearchableItems']['push']({'item':_0x100f79,'label':_0x1c5c41['label']||'','highlightViews':_0x16278f});}}}),_0x3ebb4f;}['_createActionButton'](_0x43663b,_0x39e6eb,_0x254007,_0x1729b0){const _0x3404cf=new ckeditor5['ListItemView'](this['locale']);if(_0x254007&&_0x1729b0){const _0x5f1f0f=new ckeditor5['ButtonView'](this['locale']),_0x6f8ea=_0x5f1f0f['bindTemplate'],_0x14e2f6=new ckeditor5['HighlightedTextView']();_0x14e2f6['text']=_0x39e6eb['displayedPrompt'];const _0x2aa7a8=new ckeditor5['HighlightedTextView']();_0x2aa7a8['text']=_0x254007;const _0x5d7372=new ckeditor5['IconView']();_0x5d7372['content']=_0x1729b0,_0x5d7372['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x5b708c=new ckeditor5['View'](this['locale']);_0x5b708c['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__open-paren'},'children':[{'text':'\x20('}]});const _0x4765f5=new ckeditor5['View'](this['locale']);return _0x4765f5['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__close-paren'},'children':[{'text':')'}]}),_0x5f1f0f['set']({'label':_0x39e6eb['displayedPrompt']+'\x20('+_0x254007+')','withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','tooltip':!0x1}),_0x5f1f0f['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':[_0x14e2f6,_0x5b708c,_0x5d7372,_0x2aa7a8,_0x4765f5],'on':{'mouseenter':_0x6f8ea['to'](()=>{this['_isSearchFocused']()||_0x5f1f0f['focus']();}),'click':_0x6f8ea['to'](()=>{_0x5f1f0f['fire']('execute');})}}),_0x5f1f0f['on']('execute',()=>{_0x43663b['editing']['view']['focus'](),_0x43663b['commands']['execute']('aiQuickAction',_0x39e6eb);}),_0x3404cf['children']['add'](_0x5f1f0f),{'listItem':_0x3404cf,'highlightViews':[_0x14e2f6,_0x2aa7a8]};}{const _0x21b189=new ckeditor5['ButtonLabelWithHighlightView'](),_0xd17463=new ckeditor5['ButtonView'](this['locale'],_0x21b189),_0x21b4a1=_0xd17463['bindTemplate'],_0x4bc6f7=_0x39e6eb['icon']??_0x39e6eb['parent']?.['icon'],_0x39dc9a=void 0x0!==_0x39e6eb['icon'];return _0xd17463['set']({'label':_0x39e6eb['displayedPrompt'],'withText':!0x0,'role':'menuitem','icon':_0x39dc9a?_0x4bc6f7??ckeditor5['IconAIQuickActions']:void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button'}),_0xd17463['extendTemplate']({'on':{'mouseenter':_0x21b4a1['to'](()=>{this['_isSearchFocused']()||_0xd17463['focus']();})}}),_0xd17463['on']('execute',()=>{_0x43663b['editing']['view']['focus'](),_0x43663b['commands']['execute']('aiQuickAction',_0x39e6eb);}),_0x3404cf['children']['add'](_0xd17463),{'listItem':_0x3404cf,'highlightViews':[_0x21b189]};}}['_createSearchResultActionButton'](_0x5dca05,_0x32b2c7,_0x223ca8,_0x299a1d){return _0x223ca8&&_0x299a1d?this['_createSearchResultGroupedActionButton'](_0x5dca05,_0x32b2c7,_0x223ca8,_0x299a1d):this['_createSearchResultIndividualActionButton'](_0x5dca05,_0x32b2c7);}['_createSearchResultGroupedActionButton'](_0x32e703,_0x5bfe58,_0x420392,_0x5966c0){const _0x22d34d=new ckeditor5['ListItemView'](this['locale']),_0x258ba1=new ckeditor5['ButtonView'](this['locale']),_0x386103=_0x258ba1['bindTemplate'],{view:_0x2905cf,highlightView:_0x10285e}=this['_createSearchResultGroupRow'](_0x420392,_0x5966c0),{view:_0x402bcf,highlightView:_0x4411e8}=this['_createSearchResultActionRow'](_0x5bfe58['displayedPrompt']),_0x3e265a=this['_createSearchResultContentView'](_0x2905cf,_0x402bcf);return _0x258ba1['set']({'label':_0x5bfe58['displayedPrompt'],'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}),_0x258ba1['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':[_0x3e265a],'on':{'mouseenter':_0x386103['to'](()=>{this['_isSearchFocused']()||_0x258ba1['focus']();}),'click':_0x386103['to'](()=>{this['_handleSearchResultButtonClick'](_0x258ba1);})}}),this['_setupActionButtonExecution'](_0x258ba1,_0x32e703,_0x5bfe58),_0x22d34d['children']['add'](_0x258ba1),{'listItem':_0x22d34d,'highlightViews':[_0x10285e,_0x4411e8]};}['_createSearchResultIndividualActionButton'](_0x2b679d,_0x37900e){const _0x41de02=new ckeditor5['ListItemView'](this['locale']),_0x2fa913=new ckeditor5['ButtonLabelWithHighlightView'](),_0x431b4e=new ckeditor5['ButtonView'](this['locale'],_0x2fa913),_0x188194=_0x431b4e['bindTemplate'];return _0x431b4e['set']({'label':_0x37900e['displayedPrompt'],'withText':!0x0,'role':'menuitem','icon':void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button'}),_0x431b4e['extendTemplate']({'on':{'mouseenter':_0x188194['to'](()=>{this['_isSearchFocused']()||_0x431b4e['focus']();})}}),this['_setupActionButtonExecution'](_0x431b4e,_0x2b679d,_0x37900e),_0x41de02['children']['add'](_0x431b4e),{'listItem':_0x41de02,'highlightViews':[_0x2fa913]};}['_createSearchResultGroupRow'](_0x4fa3d9,_0x3cd8d3){const _0x536722=new ckeditor5['View'](this['locale']),_0xd16f22=new ckeditor5['IconView']();_0xd16f22['content']=_0x3cd8d3,_0xd16f22['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x48b087=new ckeditor5['HighlightedTextView']();return _0x48b087['text']=_0x4fa3d9,_0x536722['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__group-row'},'children':[_0xd16f22,_0x48b087]}),{'view':_0x536722,'highlightView':_0x48b087};}['_createSearchResultActionRow'](_0x519a36){const _0xe74cee=new ckeditor5['View'](this['locale']),_0x3c3b3f=new ckeditor5['HighlightedTextView']();return _0x3c3b3f['text']=_0x519a36,_0xe74cee['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__action-row'},'children':[_0x3c3b3f]}),{'view':_0xe74cee,'highlightView':_0x3c3b3f};}['_createSearchResultContentView'](_0x36fd7e,_0x4381e8){const _0x3faf5a=new ckeditor5['View'](this['locale']);return _0x3faf5a['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__content'},'children':[_0x36fd7e,_0x4381e8]}),_0x3faf5a;}['_setupActionButtonExecution'](_0x2acb16,_0x50d9a1,_0x21accc){_0x2acb16['on']('execute',()=>{_0x50d9a1['editing']['view']['focus'](),_0x50d9a1['commands']['execute']('aiQuickAction',_0x21accc);});}['_createActionGroupButton'](_0x4b358c,_0x25fa8d,_0x34983d){const _0x231b22=new ckeditor5['ListItemView'](this['locale']),_0x29578b=new ckeditor5['ButtonLabelWithHighlightView'](),_0x3011d6=new DropdownMenuButtonWithHighlightView(this['locale'],_0x29578b),_0x3c1c15=_0x3011d6['bindTemplate'],_0x3c673f=this['_getPanelKeystroke'](_0x34983d),_0x528ab3=this['_createGroupActionsList'](_0x4b358c,_0x25fa8d['actions'],_0x34983d);_0x3011d6['set']({'label':_0x25fa8d['label'],'withText':!0x0,'role':_0x5a7c4a['MENU_ITEM'],'icon':_0x25fa8d['icon']??ckeditor5['IconAIQuickActions'],'isEnabled':_0x25fa8d['actions']['some'](_0x495ca2=>_0x495ca2['isEnabled'])}),_0x3011d6['extendTemplate']({'on':{'mouseenter':_0x3c1c15['to'](()=>{this['_isSearchFocused']()||_0x3011d6['focus']();})}});const _0x5a1394=new ckeditor5['BalloonPanelView'](this['locale']);return _0x5a1394['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x3c1c15['to'](_0x39295e=>{this['_handlePanelKeydown'](_0x39295e,_0x3c673f,_0x3011d6,_0x5a1394);})}}),_0x3011d6['bind']('isOn')['to'](_0x5a1394,'isVisible'),this['_bodyCollection']['add'](_0x5a1394),_0x5a1394['content']['add'](_0x528ab3),this['_setupGroupMenuBehavior'](_0x3011d6,_0x5a1394),_0x231b22['children']['add'](_0x3011d6),{'listItem':_0x231b22,'highlightView':_0x29578b};}['_createGroupActionsList'](_0xd0e714,_0x41d953,_0x26a8aa){const _0x330d7e=new ckeditor5['ListView'](this['locale']);return _0x330d7e['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0x41d953['forEach'](_0x2fd515=>{const _0xe7a79c=new ckeditor5['ListItemView'](this['locale']),_0x397840=aiQuickActionsButtonCreator({'editor':_0xd0e714,'action':_0x2fd515,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this['_isSearchFocused']()})();_0xe7a79c['children']['add'](_0x397840),_0x26a8aa['focusTracker']['add'](_0x397840),_0x330d7e['items']['add'](_0xe7a79c);}),_0x330d7e;}['_setupGroupMenuBehavior'](_0x30803f,_0x4ab35a){const _0x326153=_0x30803f['bindTemplate'],_0x511c0c=this['_getButtonKeystroke'](_0x30803f);_0x30803f['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x326153['to'](()=>{this['_showNestedPanel'](_0x4ab35a,_0x30803f);}),'mouseleave':_0x326153['to'](_0x47917c=>{const _0x5c54bd=_0x47917c['relatedTarget'];this['_isMovingToNestedMenu'](_0x5c54bd,_0x4ab35a)||this['_hideNestedPanel'](_0x4ab35a);}),'keydown':_0x326153['to'](_0x27d515=>{_0x27d515['key']==_0x511c0c&&(this['_showNestedPanel'](_0x4ab35a,_0x30803f),_0x4ab35a['content']['get'](0x0)['focus']());})}}),_0x4ab35a['on']('render',()=>{_0x4ab35a['element']?.['addEventListener']('mouseleave',_0x52ca03=>{const _0xe8bfb9=_0x52ca03['relatedTarget'];_0x30803f['element']?.['contains'](_0xe8bfb9)||this['_isMovingToNestedMenu'](_0xe8bfb9,_0x4ab35a)||this['_hideNestedPanel'](_0x4ab35a);});});}['_showNestedPanel'](_0x2835f4,_0x567f1f){this['_openNestedPanels']['forEach'](_0x331285=>{_0x331285!==_0x2835f4&&_0x331285['isVisible']&&_0x331285['hide']();}),_0x2835f4['show'](),_0x2835f4['pin']({'positions':[ckeditor5['DropdownMenuPanelPositioningFunctions']['eastSouth']],'target':_0x567f1f['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0x2835f4);}['_hideNestedPanel'](_0x1b1b6a){_0x1b1b6a['hide'](),this['_openNestedPanels']['delete'](_0x1b1b6a);}['_hideAllNestedPanels'](){this['_openNestedPanels']['forEach'](_0x69e6fe=>_0x69e6fe['hide']()),this['_openNestedPanels']['clear']();}['_isMovingToNestedMenu'](_0xccca4d,_0x36b78f){if(!_0xccca4d)return!0x1;if(_0x36b78f['element']?.['contains'](_0xccca4d))return!0x0;const _0x1406f8=_0xccca4d;return _0x1406f8['closest']&&(null!==_0x1406f8['closest']('.ck-ai-quick-actions-group-panel')||null!==_0x1406f8['closest']('.ck-ai-quick-actions-group-list')||null!==_0x1406f8['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'](_0x2174fb){return'rtl'===_0x2174fb['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft';}['_getButtonKeystroke'](_0x24f8e3){return'rtl'===_0x24f8e3['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';}['_handlePanelKeydown'](_0x336de3,_0x7fbb85,_0x1979f1,_0x4540ff){_0x336de3['key']==_0x7fbb85&&(_0x1979f1['focus'](),this['_hideNestedPanel'](_0x4540ff));}['_handleSearchResultButtonClick'](_0x20b900){_0x20b900['fire']('execute');}}function aiQuickActionsDropdownCreator(_0x3c8376){const {editor:_0x12224d,content:_0x5b27d5,buttonDefinition:_0x4c0c8e,bodyCollection:_0x5319e6,hasSearch:_0x3cfe13=!0x1}=_0x3c8376;return()=>{const _0x5c1c12=_0x12224d['locale'],_0x19e006=ckeditor5['createDropdown'](_0x5c1c12);_0x19e006['buttonView']['set']({'icon':_0x4c0c8e['icon']??ckeditor5['IconAIQuickActions'],'label':_0x4c0c8e['label'],'tooltip':!0x0}),_0x19e006['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x15cc91=new AIQuickActionsDropdownContentView(_0x12224d,_0x5b27d5,_0x19e006,_0x5319e6,_0x3cfe13);if(_0x19e006['panelView']['children']['add'](_0x15cc91),_0x3cfe13){const _0x24aa16='ai-quick-actions-dropdown-selection';_0x19e006['on']('change:isOpen',(_0x28d5ec,_0x571b1e,_0x23aada)=>{if(_0x23aada){if(_0x12224d['plugins']['has']('AIEditing')){const _0x1ff731=_0x12224d['plugins']['get'](AIEditing),_0x2eb847=_0x12224d['model']['document']['selection'],_0x5a73b4=Array['from'](_0x2eb847['getRanges']());_0x5a73b4['length']>0x0&&_0x1ff731['showFakeVisualSelection'](_0x5a73b4,_0x24aa16,!0x1,!0x0);}}else _0x12224d['plugins']['has']('AIEditing')&&_0x12224d['plugins']['get'](AIEditing)['hideFakeVisualSelection'](_0x24aa16),_0x15cc91['resetSearch']();});}return _0x19e006;};}const _0x27d615='<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\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).Avoid\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><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>',_0x5e2880='<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\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><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>',_0x23697e='<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</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><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>';var AIQuickActionType=function(_0x43d994){return _0x43d994['CHAT']='CHAT',_0x43d994['ACTION']='ACTION',_0x43d994['REVIEW']='REVIEW',_0x43d994;}({}),AIQuickActionTypeToPluginName=function(_0x3404fc){return _0x3404fc['CHAT']='AIChat',_0x3404fc['ACTION']='AIActions',_0x3404fc['REVIEW']='AIReviewMode',_0x3404fc;}({});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 _0x47309a=await this['_getDefaultAndCustomActions']();this['_prepareQuickActionsDefinition'](_0x47309a),this['_initializeQuickActionsComponentsAndCommands']();}static['getDefaultQuickActions'](_0x52e2b5){return getDefaultQuickActions(_0x52e2b5);}async['_getDefaultAndCustomActions'](){const _0x10a426=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0x56c0d5=this['editor']['config']['get']('ai.quickActions.extraCommands')||[];let _0x59c778=[];try{_0x59c778=await new _0x27c4cb({'connector':this['editor']['plugins']['get']('AIConnector'),'locale':this['editor']['locale']})['getAll']();}catch(_0x1acea6){const _0x4bce86=new ckeditor5['CKEditorError']('ai-quick-actions-models-unable-to-retrieve',this,{'error':_0x1acea6});ckeditor5['logError'](_0x4bce86['message']);}finally{const _0x9f7c85=_0x56c0d5['map'](_0x26f1f8=>({..._0x26f1f8,'icon':void 0x0})),_0x5b5bf1=_0x10a426['find'](_0x8b8d2e=>'other'===_0x8b8d2e['id']);_0x5b5bf1['actions']['push'](..._0x9f7c85),_0x10a426['forEach'](_0x2ac6ad=>{if('actions'in _0x2ac6ad)_0x2ac6ad['actions']['forEach'](_0x181752=>{if(_0x181752['isEnabled']=!!_0x59c778['find'](_0x1d10bd=>_0x1d10bd['id']===_0x181752['model'])||void 0x0===_0x181752['model'],!_0x181752['isEnabled']){const _0x124335=new ckeditor5['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x181752['id'],'modelId':_0x181752['model']});ckeditor5['logError'](_0x124335['message']);}});else{if(_0x2ac6ad['isEnabled']=!!_0x59c778['find'](_0x548ea1=>_0x548ea1['id']===_0x2ac6ad['model'])||void 0x0===_0x2ac6ad['model'],!_0x2ac6ad['isEnabled']){const _0x2f41f0=new ckeditor5['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x2ac6ad['id'],'modelId':_0x2ac6ad['model']});ckeditor5['logError'](_0x2f41f0['message']);}}});}return _0x10a426;}['_initializeQuickActionsComponentsAndCommands'](){const _0x2aee58=new ckeditor5['BodyCollection'](this['editor']['locale']);_0x2aee58['attachToDom'](),this['_initializeQuickActionsDropdown'](_0x2aee58),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0x2aee58);}['_initializeQuickActionsDropdown'](_0x2ca704){const _0x1837bb=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':_0x2ca704,'hasSearch':_0x1837bb}));}['_prepareQuickActionsDefinition'](_0x215bd0){this['_quickActionsDefinition']=_0x215bd0['map'](_0x4f316a=>{if('actions'in _0x4f316a){const _0x23d472=_0x4f316a;return{..._0x23d472,'actions':_0x23d472['actions']['map'](_0x299141=>{const {actions:_0xee9eb4,..._0x684851}=_0x23d472;return{..._0x299141,'parent':_0x684851};})['filter'](_0x14f9c6=>this['_shouldIncludeAction'](_0x14f9c6))};}return _0x4f316a;})['filter'](_0xfe7b77=>'actions'in _0xfe7b77?_0xfe7b77['actions']['length']>0x0:this['_shouldIncludeAction'](_0xfe7b77));}['_shouldIncludeAction'](_0x4c9ec6){const _0x5ee08c=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](AIQuickActionTypeToPluginName[_0x4c9ec6['type']])&&!_0x5ee08c['includes'](_0x4c9ec6['id'])&&!('CHAT'===_0x4c9ec6['type']&&!0x1===this['editor']['config']['get']('ai.chat.context.document.enabled'));}['_initializeQuickActionsComponents'](_0x3320cb){this['_quickActionsDefinition']['forEach'](_0x5aefe1=>{if('actions'in _0x5aefe1){const _0xef8b5f=aiQuickActionsDropdownCreator({'editor':this['editor'],'content':_0x5aefe1['actions'],'buttonDefinition':_0x5aefe1,'bodyCollection':_0x3320cb});this['editor']['ui']['componentFactory']['add'](_0x5aefe1['id'],_0xef8b5f),_0x5aefe1['actions']['forEach'](_0x45c10e=>{const _0x246100=aiQuickActionsButtonCreator({'editor':this['editor'],'action':_0x45c10e});this['editor']['ui']['componentFactory']['add'](_0x45c10e['id'],_0x246100);});}else{const _0x245e60=aiQuickActionsButtonCreator({'editor':this['editor'],'action':_0x5aefe1,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this['editor']['ui']['componentFactory']['add'](_0x5aefe1['id'],_0x245e60);}});}['_initializeQuickActionsMenuBar'](){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0xa65cff=>{const _0x1b1243=new ckeditor5['MenuBarMenuView'](_0xa65cff),_0xc8bf1d=getTranslation$i(_0xa65cff,'AI_QUICK_ACTIONS_HEADING');_0x1b1243['buttonView']['set']({'label':_0xc8bf1d,'icon':ckeditor5['IconAIQuickActions']});const _0x5c8100=new ckeditor5['MenuBarMenuListView'](_0xa65cff);_0x5c8100['set']({'ariaLabel':_0xc8bf1d,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x7e2513=>{if('actions'in _0x7e2513){const _0xbbe232=_0x7e2513,_0x28b3d8=new ckeditor5['MenuBarMenuListItemView'](_0xa65cff,_0x1b1243),_0x293579=new ckeditor5['MenuBarMenuView'](_0xa65cff),_0x58ff72=new ckeditor5['MenuBarMenuListView'](_0xa65cff);_0x293579['buttonView']['set']({'label':_0xbbe232['label'],'icon':_0xbbe232['icon']}),_0xbbe232['actions']['forEach'](_0xcc391a=>{const _0x4b99c3=new ckeditor5['MenuBarMenuListItemView'](_0xa65cff,_0x293579),_0x132cf2=new ckeditor5['MenuBarMenuListItemButtonView'](_0xa65cff);_0x132cf2['set']({'label':_0xcc391a['displayedPrompt'],'icon':_0xcc391a['icon'],'role':'menuitem','isEnabled':_0xcc391a['isEnabled']}),_0x132cf2['on']('execute',()=>{this['_executeQuickAction'](_0xcc391a);}),_0x132cf2['delegate']('execute')['to'](_0x293579),_0x4b99c3['children']['add'](_0x132cf2),_0x58ff72['items']['add'](_0x4b99c3);}),_0x293579['panelView']['children']['add'](_0x58ff72),_0x28b3d8['children']['add'](_0x293579),_0x5c8100['items']['add'](_0x28b3d8);}else{const _0x2eb4ac=_0x7e2513,_0x22ea83=new ckeditor5['MenuBarMenuListItemView'](_0xa65cff,_0x1b1243),_0x133dd7=new ckeditor5['MenuBarMenuListItemButtonView'](_0xa65cff);_0x133dd7['set']({'label':_0x2eb4ac['displayedPrompt'],'icon':_0x2eb4ac['icon'],'role':'menuitem','isEnabled':_0x2eb4ac['isEnabled']}),_0x133dd7['on']('execute',()=>{this['_executeQuickAction'](_0x2eb4ac);}),_0x133dd7['delegate']('execute')['to'](_0x1b1243),_0x22ea83['children']['add'](_0x133dd7),_0x5c8100['items']['add'](_0x22ea83);}});const _0x514534=Object['values'](AIQuickActionTypeToPluginName)['some'](_0x3f25b0=>this['editor']['plugins']['has'](_0x3f25b0));return _0x1b1243['set']({'isEnabled':_0x514534}),_0x1b1243['panelView']['children']['add'](_0x5c8100),_0x1b1243;});}['_executeQuickAction'](_0x4ddf74){const _0x46b2f4=this['editor'];_0x46b2f4['editing']['view']['focus'](),_0x46b2f4['commands']['execute']('aiQuickAction',_0x4ddf74);const _0x5b305d=_0x46b2f4['ui']['view']['menuBarView'];_0x5b305d&&_0x5b305d['close']&&_0x5b305d['close']();}}function getDefaultQuickActions(_0x2bfc96){const _0x1f9aa0=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0x2bfc96['uiLanguage'])||'English';return[{'id':'ask-ai','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_ASK_AI'),'type':'CHAT','icon':ckeditor5['IconAIChatCommands']},{'id':'chat-commands','label':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':ckeditor5['IconAIChatCommands'],'actions':[{'id':'explain','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':_0x27d615['replace']('%0',_0x1f9aa0),'type':'CHAT'},{'id':'summarize','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':_0x5e2880['replace']('%0',_0x1f9aa0),'type':'CHAT'},{'id':'highlight-key-points','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':_0x23697e['replace']('%0',_0x1f9aa0),'type':'CHAT'}]},{'id':'improve-writing','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'ACTION','icon':ckeditor5['IconAIImproveWriting']},{'id':'continue','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'ACTION','icon':ckeditor5['IconAIContinueWriting']},{'id':'fix-grammar','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'ACTION','icon':ckeditor5['IconAIGrammarCheck']},{'id':'adjust-length','label':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':ckeditor5['IconAIAdjustLength'],'actions':[{'id':'make-shorter','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'ACTION'},{'id':'make-longer','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'ACTION'}]},{'id':'change-tone','label':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':ckeditor5['IconAIChangeTone'],'actions':[{'id':'make-tone-casual','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'ACTION'},{'id':'make-tone-direct','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'ACTION'},{'id':'make-tone-friendly','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'ACTION'},{'id':'make-tone-confident','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'ACTION'},{'id':'make-tone-professional','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'ACTION'}]},{'id':'translate','label':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':ckeditor5['IconAITranslate'],'actions':[{'id':'translate-to-english','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'ACTION','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'ACTION','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'ACTION','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'ACTION','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'ACTION','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'ACTION','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'ACTION','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'ACTION','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'ACTION','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','displayedPrompt':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'ACTION','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':getTranslation$i(_0x2bfc96,'AI_QUICK_ACTIONS_OTHER'),'icon':ckeditor5['IconAIOther'],'actions':[]}];}class AIQuickActionsCommand extends ckeditor5['Command']{['execute'](_0x5dce50){switch(this['_expandSelectionIfCollapsed'](),_0x5dce50['type']){case AIQuickActionType['CHAT']:if(!this['editor']['plugins']['has']('AIChat')){const _0x1edb13=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':_0x1edb13});}this['_handleAIChatAction'](_0x5dce50);break;case AIQuickActionType['ACTION']:if(!this['editor']['plugins']['has']('AIActions')){const _0x3b868e=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':_0x3b868e});}this['_handleAIActionsAction'](_0x5dce50);break;case AIQuickActionType['REVIEW']:if(!this['editor']['plugins']['has']('AIReviewMode')){const _0x3689cf=getTranslation$i(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIReviewMode');throw new ckeditor5['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x3689cf});}this['_handleAIReviewAction'](_0x5dce50);}}async['_handleAIChatAction'](_0x4c73cf){const _0x1e897c=this['editor']['plugins']['get']('AIChat'),_0x3c9a63=this['editor']['plugins']['get']('AIChatController'),_0x264b7d=this['editor']['plugins']['get']('AITabs')['view'];if(_0x264b7d['isVisible']||(_0x264b7d['isVisible']=!0x0),'chat'!==_0x264b7d['activeTab']&&_0x264b7d['activateTab']('chat'),'ask-ai'===_0x4c73cf['id'])_0x3c9a63['removeSelectionFromChatContext'](),await _0x1e897c['addSelectionToChatContext'](),_0x1e897c['focusPromptInput']();else await _0x1e897c['startConversation'](),_0x3c9a63['removeSelectionFromChatContext'](),await _0x1e897c['addSelectionToChatContext'](),_0x1e897c['focusPromptInput'](),await _0x1e897c['sendMessage']({'message':_0x4c73cf['prompt']||_0x4c73cf['displayedPrompt'],'attributes':{'quickActionData':{'id':_0x4c73cf['id']},'displayedPrompt':_0x4c73cf['displayedPrompt']}});}['_expandSelectionIfCollapsed'](){const _0x303d27=this['editor'],_0x19090f=_0x303d27['model']['document']['selection'];if(!_0x19090f['isCollapsed'])return;const _0x11da9d=ckeditor5['first'](_0x19090f['getSelectedBlocks']())||_0x303d27['model']['schema']['getLimitElement'](_0x19090f);_0x303d27['model']['change'](_0x38a07d=>{_0x38a07d['setSelection'](_0x11da9d,'in');});}['_handleAIActionsActionLabel'](_0x25219a){return _0x25219a['parent']?.['label']&&'other'!==_0x25219a['parent']?.['id']?_0x25219a['parent']['label']+':\x20'+_0x25219a['displayedPrompt']:_0x25219a['displayedPrompt'];}async['_handleAIActionsAction'](_0xa3b0b2){const _0x1b0ae3=this['editor']['plugins']['get']('AIActions'),_0x127526=_0xa3b0b2['prompt']?{'userMessage':_0xa3b0b2['prompt'],'model':_0xa3b0b2['model']}:{'actionName':_0xa3b0b2['actionName']||_0xa3b0b2['id'],'args':_0xa3b0b2['args']},_0x272ed8=this['_handleAIActionsActionLabel'](_0xa3b0b2);await _0x1b0ae3['executeAction'](_0x127526,_0x272ed8,_0xa3b0b2['icon']);}async['_handleAIReviewAction'](_0x25e5f6){console['log']('handleAIReviewAction',_0x25e5f6);}}class AIQuickActionsEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x43cf1a=this['editor'],_0x3df256=new AIQuickActionsCommand(this['editor']);if(_0x43cf1a['commands']['add']('aiQuickAction',_0x3df256),_0x43cf1a['plugins']['has']('AIChat')){const _0x5b3044=this['editor']['plugins']['get']('AIChat');_0x43cf1a['model']['document']['selection']['on']('change:range',(_0x554a7e,_0x53d4b8)=>{_0x53d4b8['directChange']&&_0x5b3044['removeSelectionFromChatContext']();});}}}class AIActionsReply extends _0xeced9a{['updateChangeGroups'](){if(this['parsedMergedContent']=this['parsedContent']['cloneNode'](!0x0),0x0==this['parsedMergedContent']['childNodes']['length'])return void(this['changeGroups']=[]);const _0x36c3a9=_0x16a702(this['documentContextContent']['children']['map'](_0x39c009=>({'node':_0x39c009,'id':getAttribute(_0x39c009,'data-id')})),this['parsedMergedContent']['children']['map'](_0x22c686=>({'node':_0x22c686,'id':getAttribute(_0x22c686,'data-id')||ckeditor5['uid']()})),{'comparator':(_0x32ad5c,_0x4efc1d)=>_0x32ad5c['id']==_0x4efc1d['id'],'oneChangePerToken':!0x0});if(!this['isDone']){for(;_0x36c3a9['length']&&_0x36c3a9[_0x36c3a9['length']-0x1]['removed'];)_0x36c3a9['pop']();}const _0x544ef6=_0x36c3a9['map'](_0x13f5f5=>{const _0x22133d=_0x13f5f5['added']?'new':_0x13f5f5['removed']?'removed':'modified';return{'node':_0x13f5f5['value'][0x0]['node'],'type':_0x22133d,'id':_0x13f5f5['value'][0x0]['id']};});this['changeGroups']=[{'changes':_0x544ef6,'state':'pending','index':0x0}];}['_getDifferentChangeGroups'](_0x573685,_0x1f8598){return _0x1f8598;}}class AIActionsInteraction extends AIInteraction{['content'];['version'];['actionName'];['args'];['userMessage'];['model'];['hasError']=!0x1;constructor(_0x53c6da){super(_0x53c6da),this['content']=_0x53c6da['content'],this['version']=_0x53c6da['version'],this['actionName']=_0x53c6da['actionName'],this['args']=_0x53c6da['args'],this['userMessage']=_0x53c6da['userMessage'],this['model']=_0x53c6da['model'];}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':AIContextItemType['TEXT'],'content':this['content'],'version':this['version'],'label':'Current\x20document','uiId':'current-document'};}['createReply'](_0x36bd05){const _0x56de51=new AIActionsReply({'editor':this['editor'],'documentContextContent':this['content'],..._0x36bd05});return this['replies']['push'](_0x56de51),_0x56de51['delegate'](..._0xddaf2)['to'](this),this['fire']('replyCreated',_0x56de51),_0x56de51;}}class AIActionsBalloonToolbarView extends ckeditor5['ToolbarView']{constructor(_0x988873,_0xc3f87c=!0x0,_0x3fad12=!0x0){super(_0x988873),this['set']('isEnabled',!0x1),_0xc3f87c&&(this['applyButton']=this['_createButton'](getTranslation$i(_0x988873,'AI_BALLOON_APPLY_BUTTON'),'ck-ai-button-primary'),this['applyButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['applyButton'])),_0x3fad12&&(this['suggestButton']=this['_createButton'](getTranslation$i(_0x988873,'AI_BALLOON_SUGGEST_BUTTON'),_0xc3f87c?'ck-ai-button-secondary':'ck-ai-button-primary'),this['suggestButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['suggestButton'])),this['setButtonsVisibility']({'showApplyButton':_0xc3f87c,'showSuggestButton':_0x3fad12}),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}['setButtonsVisibility']({showApplyButton:_0x45e3cf,showSuggestButton:_0x3fe92a}){this['applyButton']&&(this['applyButton']['isVisible']=_0x45e3cf),this['suggestButton']&&(this['suggestButton']['isVisible']=_0x3fe92a);}['_createButton'](_0x5c0eed,_0x2b3784){const _0x5a66fd=new ckeditor5['ButtonView'](this['locale']);return _0x5a66fd['set']({'label':_0x5c0eed,'class':_0x2b3784,'isVisible':!0x0,'withText':!0x0}),_0x5a66fd;}}class AIActionsBalloonDisclaimerView extends ckeditor5['View']{constructor(_0x23930e){super(_0x23930e),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(_0x23930e,'AI_DISCLAIMER_TEXT')}]}]});}}class AISuggestionLoaderView extends ckeditor5['View']{constructor(_0x7ae216){super(_0x7ae216),this['set']('isVisible',!0x0);const _0x40cb82=new _0x3910e('small');_0x40cb82['isVisible']=!0x0;const _0x462364=new ckeditor5['View'](this['locale']);_0x462364['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',_0x56872c=>!_0x56872c)]},'children':[_0x40cb82,_0x462364]});}}class AIActionsBalloonView extends _0x1c7074{['focusCycler'];['_config'];['_contentWrapper'];['_streamableContentView'];['_toolbarView'];['_miniToolbarView'];['_loaderView'];['_disclaimerView'];['_focusTracker'];['_keystrokes'];['_dialogContent'];['_focusables'];['_scrollManager'];['_navigationPreviousButton'];['_navigationNextButton'];['_navigationTryAgainButton'];['_navigationCounter'];constructor(_0x34ae26,_0x4d0493){super(_0x34ae26),this['set']('isBusy',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('_isLoading',!0x1),this['set']('_hasError',!0x1),this['_config']=_0x4d0493,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'](_0x4d0493),this['_addDisclaimerView'](),this['_addToolbar'](_0x4d0493),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'](_0x4d0493);});}['render'](){super['render']();for(const _0x52922a of this['_focusables'])this['_focusTracker']['add'](_0x52922a['element']);this['_keystrokes']['listenTo'](this['element']),this['_initializeScrollManager']();}['destroy'](){super['destroy'](),this['_scrollManager']&&this['_scrollManager']['destroy']();}['focus'](_0x2f8be8){-0x1===_0x2f8be8?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['setIsLoading'](_0x34ec77){this['_isLoading']=_0x34ec77;}['setErrorState'](){this['_hasError']=!0x0,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x1);}['clearErrorState'](){this['_hasError']=!0x1,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x0);}['showError'](_0x47b754){super['showError'](_0x47b754),this['_dialogContent']['has'](this['_errorView'])||this['_dialogContent']['add'](this['_errorView'],0x0);}['hideError'](){super['hideError'](),this['clearErrorState']();}['showBlockingError'](_0x4a1bd1){super['showBlockingError'](_0x4a1bd1),this['setErrorState']();}['addMiniToolbarItem'](_0x2395ee){this['_miniToolbarView']['items']['has'](_0x2395ee)||this['_miniToolbarView']['items']['add'](_0x2395ee);}['removeMiniToolbarItem'](_0x4d2567){this['_miniToolbarView']['items']['has'](_0x4d2567)&&this['_miniToolbarView']['items']['remove'](_0x4d2567);}['showLoader'](){this['_loaderView']&&(this['_isLoading']=!0x0);}['hideLoader'](){this['_loaderView']&&(this['_isLoading']=!0x1);}['_toggleToolbarButtonsVisibility']({showApplyButton:_0x345d0a,showSuggestButton:_0x1cfc0e}){_0x345d0a=_0x345d0a&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x1cfc0e=_0x1cfc0e&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_toolbarView']['setButtonsVisibility']({'showApplyButton':_0x345d0a,'showSuggestButton':_0x1cfc0e});}async['updateContent'](_0x1575f4){await this['_streamableContentView']['update'](_0x1575f4);}['clearContent'](){this['_streamableContentView']['clear']();}['_addContentWrapper'](_0x24bdca){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'](_0x24bdca['miniToolbarConfig'])]}),this['_dialogContent']['add'](this['_contentWrapper']);}['_addDisclaimerView'](){this['_disclaimerView']=new AIActionsBalloonDisclaimerView(this['locale']),this['_dialogContent']['add'](this['_disclaimerView']);}['_addToolbar']({showApplyButton:_0x29e361,showSuggestButton:_0x349dfd}){this['_toolbarView']=new AIActionsBalloonToolbarView(this['locale'],_0x29e361,_0x349dfd),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',(_0x1f6fc9,_0x5d18d5,_0x22e8b4)=>!(_0x1f6fc9||_0x5d18d5||_0x22e8b4)),this['_toggleToolbarButtonsVisibility']({'showApplyButton':_0x29e361,'showSuggestButton':_0x349dfd}),this['_dialogContent']['add'](this['_toolbarView']);}['_createMiniToolbar'](_0x2f0f7e){return this['_miniToolbarView']=new _0x1618c7(this['locale'],_0x2f0f7e),this['_miniToolbarView']['delegate'](..._0x2516b8)['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',(_0x5f1768,_0x2c88f5)=>!(_0x5f1768||_0x2c88f5)),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 _0x1b77dc=new ckeditor5['ButtonView'](this['locale']),_0x42c80b=new ckeditor5['ButtonView'](this['locale']),_0x1c0bc4=new AIActionsBalloonNavigationCounterView(this['locale']),_0x2f6b2e=new ckeditor5['ButtonView'](this['locale']);_0x1b77dc['set']({'icon':ckeditor5['IconRefresh'],'label':getTranslation$i(this['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button'}),_0x42c80b['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button'}),_0x2f6b2e['set']({'icon':ckeditor5['IconNextArrow'],'tooltip':getTranslation$i(this['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button'}),_0x1b77dc['bind']('isEnabled')['to'](this,'isBusy',_0x26f84d=>!_0x26f84d),_0x1b77dc['on']('execute',()=>{this['fire']('tryAgain');}),_0x42c80b['bind']('isEnabled')['to'](this,'isBusy',_0xd1a9b5=>!_0xd1a9b5),_0x42c80b['on']('execute',()=>{this['fire']('showPrevious');}),_0x2f6b2e['bind']('isEnabled')['to'](this,'isBusy',_0x3b80ea=>!_0x3b80ea),_0x2f6b2e['on']('execute',()=>{this['fire']('showNext');}),this['_navigationPreviousButton']=_0x42c80b,this['_navigationCounter']=_0x1c0bc4,this['_navigationNextButton']=_0x2f6b2e,this['_navigationTryAgainButton']=_0x1b77dc;}['updateMiniToolbarButtons'](_0x40dd97,_0x569606){this['_navigationPreviousButton']||this['_setupMiniToolbarButtons']();const _0x591e4b=_0x40dd97>0x1;if(this['addMiniToolbarItem'](this['_navigationTryAgainButton']),_0x591e4b){this['addMiniToolbarItem'](this['_navigationPreviousButton']),this['addMiniToolbarItem'](this['_navigationCounter']),this['addMiniToolbarItem'](this['_navigationNextButton']);const _0x3d71d6=_0x40dd97-_0x569606;this['_navigationCounter']['setInteractionCount'](_0x3d71d6+'/'+_0x40dd97),this['_navigationPreviousButton']['isEnabled']=_0x569606<_0x40dd97-0x1,this['_navigationNextButton']['isEnabled']=_0x569606>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'](_0xcab4da){this['_isLoading']=_0xcab4da;}['resetShowChangesButton'](){this['_miniToolbarView']['isShowChangesOn']=!0x1;}['_initializeScrollManager'](){const _0x571488=this['_getScrollableElement']();_0x571488&&!this['_scrollManager']&&(this['_scrollManager']=new _0x10eae7(_0x571488));}['_getScrollableElement'](){return this['_streamableContentView']['element'];}}class AIActionsBalloonNavigationCounterView extends ckeditor5['View']{constructor(_0x20a36d){super(_0x20a36d);const _0x47317e=this['bindTemplate'];this['set']('interactionCount','1/1'),this['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':[{'text':_0x47317e['to']('interactionCount')}]});}['setInteractionCount'](_0x4348e1){this['set']('interactionCount',_0x4348e1);}}class AIActions extends ckeditor5['Plugin']{static get['requires'](){return[AIConnector,ckeditor5['Dialog'],AIEditing,_0x589157,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(_0x22140c){super(_0x22140c),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 _0x2dc53c();}['stopInteraction'](){this['_stopInteraction']();}async['executeAction'](_0x15ce60,_0x16ec57,_0x38a1b2){if(this['_stopInteraction'](),this['editor']['plugins']['has']('TableSelection')){if(this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0x37c288,anchorData:_0x2ae5c5}=this['_getExecuteDataInTable']();return this['_executeAction'](_0x15ce60,_0x37c288,_0x2ae5c5,_0x16ec57,_0x38a1b2);}}const {modelFragment:_0x7bdc1c,anchorData:_0x2396d4}=this['_getExecuteDataRegular']();return this['_executeAction'](_0x15ce60,_0x7bdc1c,_0x2396d4,_0x16ec57,_0x38a1b2);}async['destroy'](){return this['_stopInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_createActionsBalloonView'](){const _0x144821=this['editor']['plugins']['has']('TrackChanges');let _0x2b94eb=this['editor']['config']['get']('ai.availableReplyActions')||[..._0x1554ad];_0x144821||(_0x2b94eb=_0x2b94eb['filter'](_0x210e3f=>'insertSuggestion'!=_0x210e3f));const _0x4f9b10=this['editor']['commands']['get']('trackChanges'),_0x361ccf=new AIActionsBalloonView(this['editor']['locale'],{'showApplyButton':!0x0,'showSuggestButton':_0x144821,'miniToolbarConfig':{'showChanges':'icon'},'availableActions':_0x2b94eb});return _0x361ccf['bind']('isBusy')['to'](this),_0x4f9b10&&_0x361ccf['bind']('isTrackChangesOn')['to'](_0x4f9b10,'value'),_0x361ccf['on']('tryAgain',()=>{this['_refreshInteraction']();}),_0x361ccf['on']('showPrevious',()=>{this['_navigateToPrevious']();}),_0x361ccf['on']('showNext',()=>{this['_navigateToNext']();}),_0x361ccf;}['_getExecuteDataRegular'](){const _0x724dbb=this['editor']['model']['document']['selection'];if(_0x724dbb['isCollapsed']){const _0x388268=ckeditor5['first'](_0x724dbb['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0x724dbb);this['editor']['model']['change'](_0x248e51=>{_0x248e51['setSelection'](_0x388268,'in');});}const _0x4962e9=_0x724dbb['getFirstRange'](),_0x1f61f6=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0x724dbb),_0x4962e9['start'],_0x4962e9['end']);this['_copyMarkersToFragment'](_0x1f61f6,_0x724dbb,{'isTableSelection':!0x1});const _0x5e3cd1=_0x724dbb['getFirstRange']()['start'],_0x50fb65=new Map();let _0x4e95d7=_0x1f61f6;for(let _0x22be17=0x0;_0x22be17<_0x5e3cd1['path']['length'];_0x22be17++)_0x50fb65['set'](_0x4e95d7,_0x5e3cd1['path'][_0x22be17]),_0x4e95d7=_0x4e95d7['getChild'](0x0);return{'modelFragment':_0x1f61f6,'anchorData':_0x50fb65};}['_getExecuteDataInTable'](){const _0x2b732f=this['editor']['model']['document']['selection'],_0x2cba88=this['editor']['plugins']['get']('TableSelection')['getSelectionAsFragment'](),_0x1c134a=_0x2b732f['getFirstRange']()['start']['parent']['parent'],_0x3b5693=this['editor']['model']['createRange'](this['editor']['model']['createPositionBefore'](_0x1c134a),this['editor']['model']['createPositionAfter'](_0x1c134a)),_0x562389=this['_wrapWithCommonAncestors'](_0x2cba88,_0x3b5693['start'],_0x3b5693['end']);this['_copyMarkersToFragment'](_0x562389,_0x2b732f,{'isTableSelection':!0x0});const _0x2d9e0d=_0x2b732f['getFirstRange']()['start'],_0x31d927=new Map();let _0x55f4f9=_0x562389;for(let _0x4abf2a=0x0;_0x4abf2a<_0x2d9e0d['path']['length'];_0x4abf2a++)if(_0x31d927['set'](_0x55f4f9,_0x2d9e0d['path'][_0x4abf2a]),_0x4abf2a<_0x2d9e0d['path']['length']-0x1)_0x55f4f9=_0x55f4f9['getChild'](0x0);else{let _0x2bb773=_0x55f4f9['nextSibling'];for(;_0x2bb773;)_0x31d927['set'](_0x2bb773,_0x2d9e0d['path'][_0x4abf2a]),_0x2bb773=_0x2bb773['nextSibling'];}return{'modelFragment':_0x562389,'anchorData':_0x31d927};}async['_executeAction'](_0x53e777,_0x1e4678,_0x1d3118,_0x97f3d,_0x3035fe){const _0x3da0e1=this['editor']['plugins']['get'](AIEditing),_0x408519=this['editor']['plugins']['get'](_0x589157),_0x262692=this['editor']['model']['document']['selection'],_0x5310de=await _0x3da0e1['modelToDataWithIds'](_0x1e4678),_0x5c788e=this['editor']['model']['document']['version'],_0x67ed79=[..._0x262692['getRanges']()];return this['_actionsBalloonView']||(this['_actionsBalloonView']=this['_createActionsBalloonView']()),this['_clearInteractionHistory'](),this['_clearErrorState'](),this['_actionsBalloonView']['clearContent'](),_0x408519['open']({'index':0x3e8*Math['random']()%0x3e8,'title':_0x97f3d,'icon':_0x3035fe||ckeditor5['IconAIQuickActions'],'mainView':this['_actionsBalloonView'],'class':'ck-ai-actions-balloon','ranges':_0x67ed79,'id':'aiActionsBalloon'}),this['_setLoadingState'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x408519),this['_interactionParams']={'action':_0x53e777,'content':_0x5310de,'version':_0x5c788e,'aiBalloon':_0x408519,'modelFragment':_0x1e4678,'anchorData':_0x1d3118},this['_setupApplyListeners'](),this['listenTo'](_0x408519,'selectionRemoved',()=>{this['_stopInteraction'](),this['_actionsBalloonView']['disableMiniToolbarButtons']();}),this['listenTo'](_0x408519,'dialogClosed',(_0xd2f42a,{id:_0x1372dc})=>{if('aiActionsBalloon'===_0x1372dc){if(this['_interaction']&&this['_interaction']['replies']['length']>0x0){const _0x1e1ba8=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1],_0x309867=_0x1e1ba8['changeGroups'][0x0];_0x309867&&'pending'===_0x309867['state']&&_0x1e1ba8['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x408519);}}),this['_createInteraction'](_0x5310de,_0x5c788e,_0x408519,_0x53e777);}['_setupApplyListeners'](){if(!this['_interactionParams'])return;const {modelFragment:_0x320624,anchorData:_0x25b6a5}=this['_interactionParams'];this['listenTo'](this['_actionsBalloonView'],'applySuggestion',()=>{this['_applyChanges'](_0x320624,_0x25b6a5,!0x1);}),this['listenTo'](this['_actionsBalloonView'],'insertSuggestion',()=>{this['_applyChanges'](_0x320624,_0x25b6a5,!0x0);});}['_wrapWithCommonAncestors'](_0x312226,_0x1a7e55,_0x3f58c2){const _0x4cd381=this['editor']['model']['createRange'](_0x1a7e55,_0x3f58c2)['getCommonAncestor'](),_0x3034a4=_0x4cd381['is']('documentFragment')?[]:_0x4cd381['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x3034a4['length']){const _0x48c188=_0x3034a4['map'](_0x290a11=>_0x290a11['_clone'](!0x1));for(let _0x51a8bc=0x1;_0x51a8bc<_0x48c188['length'];_0x51a8bc++)_0x48c188[_0x51a8bc-0x1]['_appendChild'](_0x48c188[_0x51a8bc]);return _0x48c188[_0x48c188['length']-0x1]['_appendChild'](_0x312226),new ckeditor5['ModelDocumentFragment'](_0x48c188[0x0]);}return _0x312226;}['_copyMarkersToFragment'](_0x356881,_0x1479ce,_0x1042ed={'isTableSelection':!0x1}){const _0x3072f9=this['editor']['model'],_0x24f902=Array['from'](_0x1479ce['getRanges']()),_0x17d1ee=_0x1479ce['getFirstRange']()['start'];for(const _0x4b3e95 of _0x3072f9['markers']){if(_0x4b3e95['name']['startsWith'](_0x555948)||!_0x4b3e95['affectsData'])continue;const _0xf6074b=_0x4b3e95['getRange']();if(!_0x24f902['some'](_0x1201cd=>_0x1201cd['containsRange'](_0xf6074b,!0x0)))continue;const _0x3fe7d4=this['_regularCalculateMarkerPath'](_0xf6074b['start'],_0x17d1ee,_0x1042ed['isTableSelection']),_0x5aae60=this['_regularCalculateMarkerPath'](_0xf6074b['end'],_0x17d1ee,_0x1042ed['isTableSelection']),_0x647dd=_0x3072f9['createPositionFromPath'](_0x356881,_0x3fe7d4),_0x55dc94=_0x3072f9['createPositionFromPath'](_0x356881,_0x5aae60);if(!_0x647dd['isEqual'](_0x55dc94)){const _0x3a12e5=_0x3072f9['createRange'](_0x647dd,_0x55dc94);_0x356881['markers']['set'](_0x4b3e95['name'],_0x3a12e5);}}}['_regularCalculateMarkerPath'](_0x75e5b6,_0x3599b,_0x18da56=!0x1){const _0x1103e3=[..._0x75e5b6['path']['slice']()];for(let _0xe3b5e0=0x0;_0xe3b5e0<Math['max'](_0x3599b['path']['length'],_0x75e5b6['path']['length']);_0xe3b5e0++){const _0x1e9300=_0x3599b['path'][_0xe3b5e0]||0x0,_0x2df722=(_0x75e5b6['path'][_0xe3b5e0]||0x0)-_0x1e9300;if(_0x1103e3[_0xe3b5e0]=_0x2df722,0x0!==_0x2df722&&!_0x18da56)break;}return _0x1103e3;}async['_createInteraction'](_0x4681eb,_0x3ddf65,_0x1b2e6b,_0xa6df13){const _0x13d440=this['editor'];this['_interactionParams']||(this['_interactionParams']={'action':_0xa6df13,'content':_0x4681eb,'version':_0x3ddf65,'aiBalloon':_0x1b2e6b,'modelFragment':this['editor']['model']['getSelectedContent'](this['editor']['model']['document']['selection']),'anchorData':new Map()});const _0xe6fce6=new AIActionsInteraction({'connector':this['_aiConnector'],'editor':_0x13d440,'content':_0x4681eb,'version':_0x3ddf65,..._0xa6df13});this['_interactions']['push'](_0xe6fce6);const _0x514933=(_0x230eea,_0x1d8ce1=!0x1,_0x558072='streaming')=>this['_promiseQueue']['enqueue'](async _0x6deb65=>{try{const _0x454f12=getSuggestionPartsFromReply({'editor':_0x13d440,'changeGroups':_0x230eea['changeGroups'],'documentContextContent':_0x230eea['documentContextContent'],'showDiff':_0x1d8ce1,'trimUnchanged':!0x1});_0x454f12['length']&&await this['_actionsBalloonView']['updateContent']({'part':_0x454f12[0x0],'renderingStrategy':_0x558072,'abortSignal':_0x6deb65});}catch(_0x13eb06){if(this['_isAbortError'](_0x13eb06))return;throw _0x13eb06;}});this['_interaction']['on']('replyCreated',(_0x42d957,_0x34618a)=>{this['_actionsBalloonView']['hideLoader'](),this['_actionsBalloonView']['startAutoScroll'](),_0x514933(_0x34618a)['catch'](_0x38db22=>{this['_isAbortError'](_0x38db22)||(console['error']('Error\x20updating\x20content\x20in\x20replyCreated:',_0x38db22),this['_setErrorState'](_0xe6fce6));});}),this['_interaction']['on']('replyContentUpdated',(_0x2c6bb7,_0x3b6467)=>{_0x514933(_0x3b6467)['catch'](_0x5d57c7=>{this['_isAbortError'](_0x5d57c7)||(console['error']('Error\x20updating\x20content\x20in\x20replyContentUpdated:',_0x5d57c7),this['_setErrorState'](_0xe6fce6));});}),this['_interaction']['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),await this['_promiseQueue']['queueEmptyPromise'];}catch(_0x5d661c){this['_isAbortError'](_0x5d661c)||(console['error']('Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:',_0x5d661c),this['_setErrorState'](_0xe6fce6));}finally{this['_actionsBalloonView']['stopAutoScroll']();}}),this['listenTo'](this['_actionsBalloonView'],'toggleSuggestionDisplayMode',async(_0x587263,{showDiff:_0x10eab4})=>{try{this['_balloonShowDiff']=_0x10eab4;const _0x281c98=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0x281c98&&await _0x514933(_0x281c98,_0x10eab4,'static');}catch(_0x37b35b){this['_isAbortError'](_0x37b35b)||(console['error']('Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:',_0x37b35b),this['_setErrorState'](_0xe6fce6));}}),this['_interaction']['on']('replyChangeGroupStateUpdated',(_0x50e35f,{reply:_0x46c3de})=>{const _0x138091={'positiveCount':_0x46c3de['changeGroups']['filter'](_0x5d875d=>'accepted'===_0x5d875d['state'])['length'],'totalCount':_0x46c3de['changeGroups']['length']},_0x1e0e20=this['_interaction']['actionCallId'],_0x1e1fba=this['_interaction']['actionName'];_0x1e1fba?this['_aiConnector']['upsertAIActionRating'](_0x1e1fba,_0x1e0e20,_0x138091):this['_aiConnector']['upsertCustomAIActionRating'](_0x1e0e20,_0x138091);}),this['_setLoadingState']();try{const _0x226b56=await this['_interaction']['start']();return this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),_0x226b56;}catch(_0x51d22b){if(this['_isAbortError'](_0x51d22b))return;this['_actionsBalloonView']['hideLoader'](),this['_setErrorState'](_0xe6fce6);}}['_applyChanges'](_0x544230,_0x468122,_0xaac19c){const _0x2d6108=this['editor'];if(_0xaac19c&&!_0x2d6108['plugins']['has']('TrackChanges'))throw new ckeditor5['CKEditorError']('ai-no-track-changes',null);const _0x451254=this['editor']['plugins']['get'](DocumentCompare),_0x3eb9d8=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x3eb9d8||!_0x3eb9d8['replies']['length'])return;const _0x6c843=_0x3eb9d8['replies'][_0x3eb9d8['replies']['length']-0x1],_0x163aca=_0x6c843['changeGroups'];_0x6c843['setChangeGroupState'](0x0,'accepted');let _0x559042=getOperationsFromReply({'editor':_0x2d6108,'reply':_0x6c843,'interaction':_0x3eb9d8,'groups':_0x163aca,'transform':!0x1,'documentCompare':_0x451254,'documentCompareOptions':{'anchor':_0x2d6108['model']['createPositionAt'](_0x544230,0x0),'markDeletions':_0xaac19c}});_0x559042=this['_filterOperationsOutsideRange'](_0x559042,_0x468122);for(const _0x486ae0 of _0x559042)this['_anchorOperation'](_0x468122,_0x486ae0,_0x2d6108['model']['document']['getRoot']());const _0x3c833e=_0x3eb9d8['getDocumentContext']()['version'],_0x1d60d8=_0x2d6108['model']['document']['history']['getOperations'](_0x3c833e),_0x4aa60c={'document':_0x2d6108['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x35f62b=ckeditor5['transformOperationSets'](_0x559042,_0x1d60d8,_0x4aa60c)['operationsA'];_0x2d6108['model']['change'](_0x1c4406=>{if(_0x1c4406['setSelection'](_0x2d6108['model']['document']['selection']['focus']),_0xaac19c)_0x2d6108['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x35f62b);else{for(const _0x477408 of _0x35f62b)_0x477408['baseVersion']=_0x2d6108['model']['document']['version'],fixMarkerOperationOldRange(_0x2d6108,_0x477408),_0x1c4406['batch']['addOperation'](_0x477408),_0x2d6108['model']['applyOperation'](_0x477408);}}),this['editor']['plugins']['get']('AIBalloon')['close']();}['_filterOperationsOutsideRange'](_0x3baaad,_0x4fb598){return _0x3baaad['filter'](_0x315812=>{if('rename'==_0x315812['type']){const _0x564a54=_0x315812['position']['nodeAfter'];return!_0x4fb598['has'](_0x564a54);}if(_0x315812['type']['indexOf']('Attribute')>-0x1){const _0x5b3fde=_0x315812['range']['start']['nodeAfter'];return!_0x4fb598['has'](_0x5b3fde);}return!0x0;});}['_anchorOperation'](_0x2b81a5,_0x28fca7,_0x58ee83){const _0x77131c=_0x28fca7['clone']();for(const _0x582d46 in _0x28fca7){const _0x346bc9=_0x28fca7[_0x582d46];_0x346bc9 instanceof ckeditor5['ModelRange']?_0x28fca7[_0x582d46]=new ckeditor5['ModelRange'](_0x4117df(_0x346bc9['start']),_0x4117df(_0x346bc9['end'])):_0x346bc9 instanceof ckeditor5['ModelPosition']&&(_0x28fca7[_0x582d46]=_0x4117df(_0x346bc9));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0x77131c['type'])){if(_0x77131c['isDocumentOperation']=!0x1,_0x77131c['baseVersion']=null,'remove'==_0x77131c['type']){const _0x1d5aed=_0x77131c['sourcePosition'],_0x3cf276=_0x77131c['howMany'];new ckeditor5['_DetachOperation'](_0x1d5aed,_0x3cf276)['_execute']();}else _0x77131c['_execute']();}function _0x4117df(_0x22a34a){if('$graveyard'==_0x22a34a['root']['rootName'])return _0x22a34a;const _0x599dca=[];let _0x2f0534=_0x22a34a['root'];for(let _0x1b2b34=0x0;_0x1b2b34<_0x22a34a['path']['length'];_0x1b2b34++){const _0x112f09=_0x2b81a5['get'](_0x2f0534)||0x0;_0x599dca[_0x1b2b34]=_0x22a34a['path'][_0x1b2b34]+_0x112f09,_0x2f0534=_0x2f0534['getChildAtOffset'](_0x22a34a['path'][_0x1b2b34]);}return new ckeditor5['ModelPosition'](_0x58ee83,_0x599dca,_0x22a34a['stickiness']);}}['_refreshInteraction'](){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x37d967,content:_0x1b92dc,version:_0x485cf0,aiBalloon:_0x14c1df}=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'](_0x1b92dc,_0x485cf0,_0x14c1df,_0x37d967)['catch'](_0x3ebf1d=>{this['_isAbortError'](_0x3ebf1d)||console['error']('Error\x20refreshing\x20interaction:',_0x3ebf1d);});}['_isAbortError'](_0x301e56){return!!_0x301e56['message']&&_0x301e56['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 _0x576728=this['_interactions']['length'];this['_currentInteractionIndex']<_0x576728-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}['_navigateToNext'](){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async['_displayInteractionAtIndex'](_0xda735a){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0xda735a;const _0x53f537=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x53f537)return;if(_0x53f537['hasError'])return this['_setErrorState'](_0x53f537),void this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);if(!_0x53f537['replies']['length'])return;this['_actionsBalloonView']['hideError'](),this['_interactionParams']&&this['_clearErrorState']();const _0x10da69=_0x53f537['replies'][_0x53f537['replies']['length']-0x1];if(_0x10da69){const _0x3ec4e5=this['editor'];try{const _0x5999b1=getSuggestionPartsFromReply({'editor':_0x3ec4e5,'changeGroups':_0x10da69['changeGroups'],'documentContextContent':_0x10da69['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});await new Promise(_0x1d492b=>setTimeout(_0x1d492b,0x32)),await this['_actionsBalloonView']['updateContent']({'part':_0x5999b1[0x0],'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x4fa4a3){this['_isAbortError'](_0x4fa4a3)||console['error']('Error\x20updating\x20content\x20during\x20navigation:',_0x4fa4a3);}}this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_setLoadingState'](){this['_actionsBalloonView']['setIsLoading'](!0x0),this['isBusy']=!0x0;}async['_setErrorState'](_0x1841de){const _0x493fbf=getTranslation$i(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');this['_actionsBalloonView']['showError'](_0x493fbf),_0x1841de['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(_0x20d8f6){super(_0x20d8f6),_0x20d8f6['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}class AIReviewCoreReviewCheckListItemResultsView extends ckeditor5['View']{['resultResponseView'];['acceptButtonView'];['dismissButtonView'];['infoButtonView'];['outdatedButtonView'];constructor(_0x9cc72c,_0x501faa){super(_0x9cc72c),this['id']=_0x501faa,this['set']('status','pending'),this['set']('changeId',_0x501faa),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',(_0x3ed17d,_0x5031d6)=>{_0x5031d6&&_0x5031d6['target']&&'A'===_0x5031d6['target']['tagName']&&_0x5031d6['preventDefault'](),this['fire']('activateChange',{'id':_0x501faa,'source':this,'uiInteraction':'click'});}),this['on']('mouseover',()=>{this['fire']('activateChange',{'id':_0x501faa,'source':this,'uiInteraction':'hover'});}),this['on']('mouseout',()=>{this['fire']('deactivateChange',{'origin':'panel','id':_0x501faa,'source':this});});}['setItemAsActive'](){this['isActive']=!0x0;}['setItemAsInactive'](){this['isActive']=!0x1;}['_createResultResponseView'](){const _0x168b10=new ckeditor5['View'](this['locale']);return _0x168b10['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',_0x5f22d1=>!_0x5f22d1)]}}),_0x168b10;}['_createAcceptButtonView'](){const _0x4a1159=new ckeditor5['ButtonView'](this['locale']);return _0x4a1159['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0}),_0x4a1159['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4e1999=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x4e1999['stopPropagation']();})},'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-result-accept-button',this['bindTemplate']['if']('status','ck-hidden',_0x58d59c=>'pending'!==_0x58d59c&&'accepted'!==_0x58d59c),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-accept-button',_0x374d3c=>'pending'===_0x374d3c),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x5adb49=>'accepted'===_0x5adb49)]}}),this['on']('change:status',(_0x36c4a7,_0x244865,_0x457177)=>{_0x4a1159['isEnabled']='pending'===_0x457177,'accepted'===_0x457177&&(_0x4a1159['label']=getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED'),_0x4a1159['icon']=ckeditor5['IconCheck']);}),_0x4a1159;}['_createDismissButtonView'](){const _0x4b52a8=new ckeditor5['ButtonView'](this['locale']);return _0x4b52a8['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0}),_0x4b52a8['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4c4ee1=>{this['fire']('dismissChange',{'id':this['changeId']}),_0x4c4ee1['stopPropagation']();})},'attributes':{'class':['ck-ai-button-tertiary',this['bindTemplate']['if']('status','ck-hidden',_0x1e970c=>'pending'!==_0x1e970c&&'rejected'!==_0x1e970c),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-dismiss-button',_0x1fb529=>'pending'===_0x1fb529),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x2972fa=>'rejected'===_0x2972fa)]}}),this['on']('change:status',(_0x2bacf1,_0x4d0018,_0x327d77)=>{_0x4b52a8['isEnabled']='pending'===_0x327d77,'rejected'===_0x327d77&&(_0x4b52a8['label']=getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_REJECTED'),_0x4b52a8['icon']=ckeditor5['IconCancel']);}),_0x4b52a8;}['_createInfoButtonView'](){const _0x3d9f85=new ckeditor5['ButtonView'](this['locale']);return _0x3d9f85['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_LEARN_MORE'),'icon':ckeditor5['IconInfo'],'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox','class':'ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden'}),_0x3d9f85['bind']('isOn')['to'](this,'isInfoToggleOn',_0x13cea2=>_0x13cea2),_0x3d9f85['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x3d9f85;}['_createOutdatedButtonView'](){const _0x257dee=new ckeditor5['ButtonView'](this['locale']);return _0x257dee['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED'),'icon':ckeditor5['IconOutdated'],'withText':!0x0,'isEnabled':!0x1}),_0x257dee['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-result-status-button',this['bindTemplate']['if']('status','ck-hidden',_0x2636cd=>'outdated'!==_0x2636cd)],'disabled':'disabled'}}),_0x257dee;}}class AIReviewCoreBalloonSuggestionItemView extends ckeditor5['BalloonPanelView']{['resultItemView'];['_pinnedRectIndex']=void 0x0;['_pinnedTargetElement']=void 0x0;['_pinnedTargetChangeId']=void 0x0;constructor(_0x2191c1,_0x1b2d1a){super(_0x2191c1),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']()),_0x1b2d1a['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}['updateContent'](_0x53ad68){this['resultItemView']['changeId']=_0x53ad68['id'],this['resultItemView']['resultResponseView']['element']['innerHTML']=_0x53ad68['contentDiffed'];}['showBalloon'](_0x162257,_0x1c4379,_0x205124,_0x442ec8,_0x2ac539,_0x2e3a83){const _0x413e53=_0x1c4379();if(!_0x413e53)return;this['updateContent'](_0x162257),this['show']();const _0x1c8898=Array['from'](_0x413e53['getClientRects']())['reverse'](),_0x41f89f=this['_getPointedRectIndexFromEvent'](_0x205124,_0x1c8898),_0x2a0207=_0x1c8898[_0x41f89f??0x0];'click'===_0x442ec8?(this['isDiffActive']=!0x0,this['pin']({'target':()=>this['_getBestRectPositionOnClick'](_0x1c4379(),_0x41f89f,_0x162257['id'],_0x2ac539,_0x2e3a83)||_0x2a0207})):'hover'===_0x442ec8&&(this['isDiffActive']=!0x1,this['pin']({'target':()=>this['_getBestRectPositionOnHover'](_0x1c4379(),_0x41f89f,_0x162257['id'])||_0x2a0207}));}['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 _0x4d2e8e=[this['element']];return this['_pinnedTargetElement']&&_0x4d2e8e['push'](this['_pinnedTargetElement']),_0x4d2e8e;},'callback':()=>{this['hide'](),this['unpin'](),this['deactivateChange'](),this['_pinnedTargetElement']=void 0x0,this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}});}['_createContentView'](){const _0x401132=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),_0x401132['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']]}]}),_0x401132;}['_getBestRectPositionOnClick'](_0x17ae08,_0x5d6c5b,_0x594348,_0x9a43c1,_0x2f941c){if(!_0x17ae08)return null;const _0x14686c=this['position']['replace']('arrow_',''),_0x565c5d=Array['from'](_0x17ae08['getClientRects']());let _0x418fe3,_0x3ecf69=_0x565c5d['reverse']();return void 0x0!==_0x5d6c5b&&this['_isPinnedRectVisible'](_0x3ecf69[_0x5d6c5b],_0x9a43c1,_0x2f941c)?(_0x418fe3=_0x3ecf69[_0x5d6c5b],this['_pinnedRectIndex']=_0x5d6c5b):this['_isPinnedRectVisible'](_0x3ecf69[0x0],_0x9a43c1,_0x2f941c)&&void 0x0===_0x5d6c5b?_0x418fe3=_0x3ecf69[0x0]:(_0x3ecf69='s'==_0x14686c[0x0]?[..._0x565c5d]['reverse']():_0x565c5d,_0x3ecf69['forEach'](_0x149322=>{this['_isPinnedRectVisible'](_0x149322,_0x9a43c1,_0x2f941c)&&(_0x418fe3=_0x149322);})),this['_pinnedTargetChangeId']=_0x594348,this['_pinnedTargetElement']=_0x17ae08,_0x418fe3||_0x17ae08['getBoundingClientRect']();}['_getBestRectPositionOnHover'](_0x464184,_0x373932,_0x134ba9){if(!_0x464184)return null;const _0x3dcc3b=Array['from'](_0x464184['getClientRects']())['reverse']();if(void 0x0===this['_pinnedRectIndex']&&void 0x0!==_0x373932&&this['_pinnedTargetChangeId']!==_0x134ba9)return this['_pinnedRectIndex']=_0x373932,this['_pinnedTargetElement']=_0x464184,this['_pinnedTargetChangeId']=_0x134ba9,_0x3dcc3b[_0x373932];if(void 0x0!==this['_pinnedRectIndex']&&this['_pinnedTargetChangeId']===_0x134ba9){if(_0x464184!==this['_pinnedTargetElement'])return Array['from'](this['_pinnedTargetElement']['getClientRects']())['reverse']()[this['_pinnedRectIndex']];return _0x3dcc3b[this['_pinnedRectIndex']];}return void 0x0!==_0x373932&&this['_pinnedTargetChangeId']!==_0x134ba9?(this['_pinnedRectIndex']=_0x373932,this['_pinnedTargetElement']=_0x464184,this['_pinnedTargetChangeId']=_0x134ba9,_0x3dcc3b[_0x373932]):_0x464184['getBoundingClientRect']();}['_getPointedRectIndexFromEvent'](_0x4063aa,_0x5096b6){if(_0x4063aa)for(let _0x1615eb=0x0;_0x1615eb<_0x5096b6['length'];_0x1615eb++){const _0x6a8784=_0x5096b6[_0x1615eb];if(_0x4063aa['clientX']>=_0x6a8784['left']-0x3&&_0x4063aa['clientX']<=_0x6a8784['right']+0x3&&_0x4063aa['clientY']>=_0x6a8784['top']-0x3&&_0x4063aa['clientY']<=_0x6a8784['bottom']+0x3)return _0x1615eb;}}['_isPinnedRectVisible'](_0x5cc7a7,_0x164059,_0x171ba8){const _0x5f318a=new ckeditor5['Rect'](_0x5cc7a7),_0x11ed01=_0x164059||document['documentElement'],_0x27f926=_0x5f318a['getIntersection'](ckeditor5['getConstrainedViewportRect'](_0x171ba8)),_0xf82456=new ckeditor5['Rect'](_0x11ed01)['getIntersection'](_0x5f318a);return!!(_0x27f926&&_0xf82456&&_0x5f318a['width']>0x0);}}const _0x58b459=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewCoreResultList','activateChange','deactivateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];class _0x3adb18 extends ckeditor5['ContextPlugin']{['_mainView'];['_balloonSuggestionView'];['_bodyCollection'];static get['requires'](){return[_0x337f5c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5ef72e){super(_0x5ef72e),this['_bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_mainView']=this['createMainView'](),this['_mainView']['delegate'](..._0x58b459)['to'](this),this['_balloonSuggestionView']=new AIReviewCoreBalloonSuggestionItemView(this['context']['locale'],this['_bodyCollection']),this['_balloonSuggestionView']['delegate']('acceptChange','dismissChange','deactivateChange')['to'](this);}['init'](){const _0x51165a=this['context']['plugins']['get']('AITabs');this['registerTab'](_0x51165a);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}['setAvailableChecks'](_0x3e6718){if(!this['_mainView']['reviewCheckListView']['hasChecks']()){const _0x1a9d1a=!this['context']['config']['get']('ai.models.showModelSelector');this['_mainView']['reviewCheckListView']['setChecks'](_0x3e6718,_0x1a9d1a);}this['_mainView']['showReviewCheckListView']();}['showReviewCheckList'](){this['fire']('getReviewCheckList');}['showCheckRunResults'](_0x17aa15){_0x17aa15&&('error-general'!==_0x17aa15['status']?'error-chunk'!==_0x17aa15['status']?this['_mainView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralResultsErrorView']());}['showCheckRunResult'](_0x38ba0e){this['_mainView']['addCheckRunResult'](_0x38ba0e);}['showGeneralResultsErrorView'](){this['_mainView']['showGeneralResultsErrorView']();}['showGeneralReviewCoreErrorView'](_0x4cc90c){this['_mainView']['showGeneralReviewCoreErrorView'](_0x4cc90c??getTranslation$i(this['context']['locale'],'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE'));}['showChunkErrorView'](){this['_mainView']['showChunkErrorView']();}['setCheckResultTitle'](_0x5c35f6,_0x5c3d13){this['_mainView']['reviewCheckResultsView']['setTitle'](_0x5c35f6,_0x5c3d13);}['setActiveStateInResults'](_0x5d5e23){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x2bb840=>{_0x2bb840['id']===_0x5d5e23&&_0x2bb840['setItemAsActive']();});}['resetActiveStateInResults'](){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x41c624=>_0x41c624['setItemAsInactive']());}['updateChangeState'](_0x5a8e5b,_0x39fa4e){'accepted'===_0x39fa4e||'rejected'===_0x39fa4e||'outdated'===_0x39fa4e?this['_mainView']['reviewCheckResultsView']['hideResult'](_0x5a8e5b,_0x39fa4e):this['_mainView']['reviewCheckResultsView']['showResult'](_0x5a8e5b,_0x39fa4e);}['showReviewCompletedView'](){this['_mainView']['showReviewCompletedView']();}['showActionsWhenResultIsReady'](){this['_mainView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_mainView']['showNoChangesView']();}['hideActionsWhenResultIsReady'](){this['_mainView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0xfb5a7,_0x2538ad,_0x2d5994,_0x1d848a,_0x11b9e6,_0x19e6a0){this['_balloonSuggestionView']['showBalloon'](_0xfb5a7,_0x2538ad,_0x2d5994,_0x1d848a,_0x11b9e6,_0x19e6a0);}['hideChangeBalloon'](){this['_balloonSuggestionView']['hideBalloon']();}['hideDiffInBalloon'](){this['_balloonSuggestionView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_balloonSuggestionView']['showDiffInBalloon']();}['getChangeElement'](_0x50ec64){const _0x6e57a6=this['_mainView']['reviewCheckResultsView']['getResults']()['find'](_0x26a2d4=>_0x26a2d4['id']===_0x50ec64);return _0x6e57a6?_0x6e57a6['element']:null;}['deactivateChange'](){this['_balloonSuggestionView']['deactivateChange']();}}class _0x55cebd extends ckeditor5['View']{constructor(_0x3ad4dd){super(_0x3ad4dd),this['set']('isVisible',!0x1),this['set']('errorMessage','');const _0x531e9e=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__general-error-container',_0x531e9e['if']('isVisible','ck-hidden',_0xb03a64=>!_0xb03a64)]},'children':[{'tag':'p','attributes':{'class':'ck\x20ck-ai-notification\x20ck-ai-notification_error'},'children':[{'text':_0x531e9e['to']('errorMessage')}]}]});}}class _0x3da741 extends ckeditor5['View']{['reviewCoreHeader'];['generalErrorView'];['reviewCheckListView'];['reviewCheckResultsView'];['reviewCompletedView'];constructor(_0x5d363f,_0x3545ed){super(_0x5d363f),this['reviewCoreHeader']=_0x3545ed['header'],this['generalErrorView']=new _0x55cebd(_0x5d363f),this['reviewCheckListView']=_0x3545ed['list'],this['reviewCheckListView']['delegate'](..._0x58b459)['to'](this),this['reviewCheckResultsView']=_0x3545ed['results'],this['reviewCheckResultsView']['delegate'](..._0x58b459)['to'](this),this['reviewCompletedView']=_0x3545ed['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'](_0x13a1c8){this['reviewCheckResultsView']['addResult'](_0x13a1c8),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'](_0x21c866){this['generalErrorView']['set']('isVisible',!0x0),this['generalErrorView']['errorMessage']=_0x21c866;}['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(_0x3ceff7,_0x1c99c4){super(_0x1c99c4),this['set']({'label':_0x3ceff7,'withText':!0x0,'class':'ck-ai-button-primary'}),this['on']('execute',()=>{this['fire']('finishReview');});}}class AIReviewCoreUICheckResultsView extends ckeditor5['ListItemView']{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0xfc0a24,_0x102ecc){super(_0xfc0a24),this['_contents']=_0x102ecc,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['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x302436(_0xfc0a24),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 _0x30950b=this['_createCombinedSkeletonLoader'](),_0x677fef=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x677fef['if']('isLoading','ck-ai_review__check-run_loading',_0x570f00=>_0x570f00),_0x677fef['if']('isResultReady','ck-ai_review__check-run_ready',_0xb6440=>_0xb6440),_0x677fef['if']('isVisible','ck-hidden',_0x42491c=>!_0x42491c)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x1222e7=>_0x1222e7)]},'children':this['_resultViews']},_0x30950b]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x4ba648){const _0x1d581d=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],_0x4ba648['id']);_0x1d581d['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x1d581d),_0x1d581d['resultResponseView']['element']['innerHTML']=_0x4ba648['contentDiffed'];}['hideResult'](_0x5a61be,_0x54f8c3){if('pending'===_0x54f8c3)return;const _0x39a195=this['_resultViews']['find'](_0x49c6c2=>_0x49c6c2['id']===_0x5a61be);_0x39a195&&(_0x39a195['status']=_0x54f8c3,_0x39a195['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x321487,_0x3366b8){if('pending'!==_0x3366b8)return;const _0x4b1a14=this['_resultViews']['find'](_0x10627f=>_0x10627f['id']===_0x321487);_0x4b1a14&&(_0x4b1a14['status']=_0x3366b8,_0x4b1a14['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x469bed,_0x5dfb3e){this['headerTitle']=_0x469bed,this['headerSubtitle']=_0x5dfb3e||'';}['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'],_0x30f532['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x4a7021=new ckeditor5['View'](this['locale']),_0xc60af2=[];for(let _0x2d735f=0x0;_0x2d735f<0x10;_0x2d735f++){const _0x42861d=this['_createSkeletonLoader']();_0x42861d['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0xc60af2['push'](_0x42861d);}return _0x4a7021['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x493647=>!_0x493647)]},'children':_0xc60af2}),_0x4a7021;}['_createErrorView'](){const _0x21214f=new ckeditor5['View'](this['locale']),_0x4f26bc=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x21214f['delegate']('retryReview')['to'](this),_0x4f26bc['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x4f26bc['on']('execute',()=>{this['fire']('retryReview');}),_0x21214f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x46ac15=>!_0x46ac15),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x5a4a94=>'chunk'===_0x5a4a94)]},'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',_0x1978b5=>'chunk'===_0x1978b5)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x8d9b17=>'general'!==_0x8d9b17)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x504c93=>'chunk'!==_0x504c93)]},'children':[{'text':getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x4f26bc]}),_0x21214f;}['_createCancelButtonView'](){const _0x7f3abe=new ckeditor5['ButtonView'](this['locale']);return _0x7f3abe['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':ckeditor5['IconStop']}),_0x7f3abe['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2ff113=>_0x2ff113),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x401c95=>_0x401c95)]}}),_0x7f3abe['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x7f3abe;}['_createToggleDiffButtonView'](){const _0x122040=new ckeditor5['ButtonView'](this['locale']);_0x122040['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x122040['bind']('isEnabled')['to'](this,'isError',_0x2503a0=>!_0x2503a0),_0x122040['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x34f4ff=>!_0x34f4ff),this['bindTemplate']['if']('isCompleted','ck-hidden',_0xd589bc=>_0xd589bc)]}});const _0x46f9fe=getTranslation$i(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x2e2efa=getTranslation$i(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x122040['bind']('isOn')['to'](this,'isToggleDiffOn',_0x4900ed=>_0x4900ed),_0x122040['bind']('icon')['to'](this,'isToggleDiffOn',_0x260e9f=>_0x260e9f?ckeditor5['IconEye']:ckeditor5['IconEyeCrossedOut']),_0x122040['bind']('label')['to'](this,'isToggleDiffOn',_0x524db5=>_0x524db5?_0x46f9fe:_0x2e2efa),_0x122040['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x122040;}['_createAcceptAllButtonView'](){const _0x35e8a2=new ckeditor5['ButtonView'](this['locale']);return _0x35e8a2['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x35e8a2['bind']('isEnabled')['to'](this,'isError',_0x1829c7=>!_0x1829c7),_0x35e8a2['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5dfae3=>!_0x5dfae3),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x186983=>_0x186983)]}}),_0x35e8a2['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x35e8a2;}['_createExitReviewButtonView'](){const _0x169a46=new ckeditor5['ButtonView'](this['locale']);return _0x169a46['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x169a46['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x47fe85=>!_0x47fe85),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x18d63b=>_0x18d63b)]}}),_0x169a46['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x169a46;}['_createResultHeaderView'](){const _0x37b68d=new ckeditor5['View'](this['locale']),_0x1fc02e=this['_createTitleView']();return _0x37b68d['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x378aa9=>_0x378aa9)]},'children':[_0x1fc02e,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x37b68d;}['_createTitleView'](){const _0x3ae9da=new ckeditor5['View'](this['locale']),_0x29bd42=new _0x3910e();return _0x29bd42['bind']('isVisible')['to'](this,'isResultReady',_0x5045c2=>!_0x5045c2),_0x3ae9da['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x29bd42,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x56be18=>_0x56be18)]},'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',_0x410ada=>!_0x410ada)]},'children':[{'text':getTranslation$i(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x3ae9da;}['_createFinishReviewButtonView'](){const _0xdee887=new AIReviewCoreFinishReviewButtonView(getTranslation$i(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0xdee887['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x44e037=>!_0x44e037)]}}),_0xdee887['delegate']('finishReview')['to'](this),_0xdee887;}}class AIReviewCoreReviewCompletedView extends ckeditor5['ListItemView']{['_resultsHeader'];['_finishReviewButtonView'];constructor(_0xd6d2b7,_0x432396){super(_0xd6d2b7),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](_0x432396['buttonText']),this['_resultsHeader']=this['_createResultHeaderView'](_0x432396['headerText']);const _0x2e9505=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed',_0x2e9505['if']('isVisible','ck-hidden',_0x58d132=>!_0x58d132)]},'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':_0x432396['emptyResultsText']}]}]}]});}['_createFinishReviewButtonView'](_0x5450ad){const _0x2e63ee=new AIReviewCoreFinishReviewButtonView(_0x5450ad,this['locale']);return _0x2e63ee['delegate']('finishReview')['to'](this),_0x2e63ee;}['_createResultHeaderView'](_0x4fd971){const _0x28f6b4=new ckeditor5['View'](this['locale']);return _0x28f6b4['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':_0x4fd971}]},{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0x28f6b4;}}class _0x5ecb27 extends ckeditor5['View']{['_dropdownView'];['_defaultValue'];['_defaultLabel'];constructor(_0x49313c,_0x10b11f){super(_0x49313c),this['_defaultValue']=_0x10b11f['default']||(_0x10b11f['data']['length']>0x0?_0x10b11f['data'][0x0]['id']:''),this['_defaultLabel']=_0x10b11f['data']['find'](_0x2c5a61=>_0x2c5a61['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=ckeditor5['createDropdown'](this['locale']);const _0x239ef1=this['_prepareListOptions'](_0x10b11f['data']);ckeditor5['addListToDropdown'](this['_dropdownView'],_0x239ef1,{'role':'menu','ariaLabel':_0x10b11f['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x34184e=>{_0x34184e['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0x35ea04=>{this['formValue']=_0x35ea04['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0x35ea04['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'](_0x1c138e=[]){const _0x450cd3=new ckeditor5['Collection']();this['resetToDefault']();for(const _0x3531f6 of _0x1c138e){const _0x4dd660=new ckeditor5['UIModel']({'label':_0x3531f6['label'],'withText':!0x0,'role':'menuitemradio','id':_0x3531f6['id'],'model':_0x3531f6});_0x4dd660['bind']('isOn')['to'](this,'formValue',_0x4cb54e=>_0x4cb54e===_0x4dd660['id']);const _0x59516c={'type':'button','model':_0x4dd660};_0x450cd3['add'](_0x59516c);}return _0x450cd3;}}class _0x49fd94 extends ckeditor5['ListItemView']{['_formItem']=null;constructor(_0x29893f,_0x48553c,_0xbfd3dc){super(_0x29893f),this['argsKey']=_0x48553c?.['argsKey'];if('dropdown'===_0x48553c['formType'])this['_formItem']=new _0x5ecb27(this['locale'],_0x48553c);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x392f3d=new ckeditor5['FormRowView'](this['locale'],{'children':[this['_formItem']],'class':[_0xbfd3dc?'ck-form__row_with-submit':'']});_0xbfd3dc&&_0x392f3d['children']['add'](_0xbfd3dc),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__form-item','ck-reset_all']},'children':[_0x392f3d]});}['resetToDefault'](){this['_formItem']['resetToDefault']();}}class AIReviewCorePromptInputView extends ckeditor5['TextareaView']{['keystrokes'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x3945e7){super(_0x3945e7),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(_0x53690a,_0x5d4a00,_0xb26a64=!0x1){super(_0x53690a),this['_check']=_0x5d4a00,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x5d4a00['defaultModel']?_0x5d4a00['defaultModel']['id']:'',this['_defaultLabel']=_0x5d4a00['defaultModel']?_0x5d4a00['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new ckeditor5['LabeledFieldView'](this['locale'],()=>new AIReviewCorePromptInputView(_0x53690a)),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'](_0xb26a64),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',(_0x502da9,_0x287b9c)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x287b9c()):_0x287b9c();}),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'](_0x34dba0=>{this['_focusables']['add'](_0x34dba0),this['focusTracker']['add'](_0x34dba0['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 _0x13fb37 of this['_getFormValidators']()){const _0x4b360f=_0x13fb37();if(_0x4b360f)return this['promptInputView']['errorText']=_0x4b360f,!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 _0x4452e1=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x4452e1['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x4452e1['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x4452e1;}['_createCancelButtonView'](){const _0x183c4c=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x183c4c['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x183c4c['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3b3785=>{_0x3b3785['stopPropagation']();})}}),_0x183c4c['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x183c4c;}['_setModelList'](_0x2e9612){this['_modelSelectionDropdownItems']['clear']();const _0xfaf843=this['_check']['models'];if(_0x2e9612)this['set']('modelDisplayMode','hidden');else{const _0x172927=0x1===_0xfaf843['length'];this['set']('modelDisplayMode',_0x172927?'name':'selector');}if(this['resetToDefault'](),_0xfaf843?.['length']){0x1===_0xfaf843['length']&&this['set']('activeModelName',_0xfaf843[0x0]['name']||_0xfaf843[0x0]['id']);for(const _0x56294c of _0xfaf843){const _0x3fbfd0=new ckeditor5['UIModel']({'label':_0x56294c['name'],'withText':!0x0,'role':'menuitemradio','id':_0x56294c['id'],'model':_0x56294c});_0x3fbfd0['bind']('isOn')['to'](this,'modelId',_0x19ddea=>_0x19ddea===_0x56294c['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x3fbfd0,'labelView':new ModelButtonLabelView(this['locale'],_0x56294c)});}}}['_createModelSelectionDropdown'](){const _0x374f8b=ckeditor5['createDropdown'](this['locale']);return _0x374f8b['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x374f8b['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x374f8b['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x3bd395=>'selector'===_0x3bd395),this['listenTo'](_0x374f8b,'execute',_0x2e45e9=>{this['modelId']=_0x2e45e9['source']['model']['id'],_0x374f8b['buttonView']['label']=_0x2e45e9['source']['label'];}),_0x374f8b;}['_createModelNameView'](){const _0xf05cce=new _0x590bf9(this['locale']);return _0xf05cce['bind']('text')['to'](this,'activeModelName',_0x4e2053=>_0x4e2053??''),_0xf05cce['bind']('isVisible')['to'](this,'modelDisplayMode',_0x49f5b0=>'name'===_0x49f5b0),_0xf05cce;}['_createActionsFooterView'](){const _0xbfa3=new ckeditor5['View'](this['locale']);return _0xbfa3['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']]}]}),_0xbfa3;}}class _0x590bf9 extends ckeditor5['View']{constructor(_0x1260f7){super(_0x1260f7),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x4528ee=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x4528ee['if']('isVisible','ck-hidden',_0x38f842=>!_0x38f842)]},'children':[{'text':_0x4528ee['to']('text')}]});}}class ModelButtonLabelView extends ckeditor5['ButtonLabelView']{constructor(_0x181630,_0x329fea){super();const _0x5aaefd=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x5aaefd['to']('style'),'id':_0x5aaefd['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x5aaefd['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x329fea['description']||'']}]}]});}}class AIReviewCoreReviewCommandListItemView extends ckeditor5['ListItemView']{['_formItemsCollection']=new ckeditor5['ViewCollection']();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x736bba,_0x2bdba4,_0x1747bd,_0x1b741b=!0x1){super(_0x736bba),this['_hideModels']=_0x1b741b,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x2bdba4['isParameterized']);const _0x487b66=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',_0x23bd8e=>_0x23bd8e),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x2aecca=>_0x2aecca)],'style':{'--ck-ai-review-check-list-item-index':_0x1747bd}},'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':_0x2bdba4['title']}]},_0x487b66]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x2bdba4['description']?[{'text':_0x2bdba4['description']}]:[]}]}]},..._0x2bdba4['isParameterized']?[this['_createParameterizedView'](_0x2bdba4)]:[],...'custom'===_0x2bdba4['id']?[this['_createCustomView'](_0x2bdba4,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x2bdba4['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x2bdba4['id'],'args':_0x2bdba4['useArgs']?_0x2bdba4['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'](_0x59e69b=>{_0x59e69b['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x1c7d1a=new ckeditor5['IconView']();return _0x1c7d1a['content']=ckeditor5['IconChevronRight'],_0x1c7d1a['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x1c7d1a;}['_createParameterizedView'](_0x2e6b3b){const _0x7f34d7=new ckeditor5['View'](),_0x294f16=this['_createFormView'](_0x2e6b3b);return _0x7f34d7['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x21a4f2=>!_0x21a4f2)]},'children':[_0x294f16]}),_0x7f34d7;}['_createFormView'](_0xae2e5a){const _0xb63483=new ckeditor5['View'](),_0x34f398=Array['isArray'](_0xae2e5a['options'])?_0xae2e5a['options']:[],_0x2990d4=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];_0x2990d4['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x2990d4['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x36b1ee=>{_0x36b1ee['stopPropagation']();})}}),_0x2990d4['on']('execute',()=>{const _0x12c63e=[],_0x4b30dc={};this['_formItemsCollection']['forEach'](_0xcc3021=>{_0x12c63e['push'](_0xcc3021['value']),_0xae2e5a['useArgs']&&_0xae2e5a['options']&&(_0x4b30dc[_0xcc3021['argsKey']]=_0xcc3021['value']);}),this['fire']('runReviewCheck',{'id':_0xae2e5a['id'],'params':_0x12c63e['length']?_0x12c63e:void 0x0,'args':Object['keys'](_0x4b30dc)['length']?_0x4b30dc:void 0x0});});const _0x58b976=_0x34f398['length'];return _0x34f398['forEach']((_0x16a275,_0x4eef9c)=>{const _0x410f6d=_0x4eef9c===_0x58b976-0x1;this['_formItemsCollection']['add'](new _0x49fd94(this['locale'],_0x16a275,_0x410f6d?_0x2990d4:null));}),_0xb63483['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0xb63483;}['_createCustomView'](_0x9c543,_0x2cd8a4=!0x1){return this['_customCheckView']=new AIReviewCoreCustomCheckView(this['locale'],_0x9c543,_0x2cd8a4),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',_0xd30add=>!_0xd30add)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x1f0f1c,_0x2cd537,_0x9fa820)=>{_0x9fa820||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}class AIReviewCoreReviewCheckListView extends ckeditor5['ListItemView']{['_checkViews'];constructor(_0x13ce61){super(_0x13ce61),this['_checkViews']=new ckeditor5['ViewCollection'](),this['_setupTemplate']();}['setChecks'](_0x82dc3,_0x2e3937=!0x1){this['_checkViews']['clear']();for(const [_0x28ebf8,_0x29de75]of _0x82dc3['entries']()){const _0x285290=new AIReviewCoreReviewCommandListItemView(this['locale'],_0x29de75,_0x28ebf8,_0x2e3937);_0x285290['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x285290);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}['resetAllParameterizedChecks'](){for(const _0x2fca6e of this['_checkViews'])_0x2fca6e instanceof AIReviewCoreReviewCommandListItemView&&_0x2fca6e['resetToDefault']();}['_setupTemplate'](){const _0x55ec65=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x55ec65['if']('isVisible','ck-hidden',_0x4cfef5=>!_0x4cfef5)]},'children':this['_checkViews']});}}class _0x14406f extends _0x3adb18{static get['pluginName'](){return'AIReviewModeUI';}['createMainView'](){const _0x48c01a=this['context']['locale'],_0x44eed1=new ckeditor5['FormHeaderView'](_0x48c01a,{'label':getTranslation$i(_0x48c01a,'AI_REVIEW_MODE'),'icon':ckeditor5['IconAIReview'],'class':'ck-ai-header\x20ck-ai-header_review'});return new _0x3da741(this['context']['locale'],{'header':_0x44eed1,'list':new AIReviewCoreReviewCheckListView(_0x48c01a),'results':new AIReviewCoreUICheckResultsView(_0x48c01a,{'generalErrorText':getTranslation$i(_0x48c01a,'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x48c01a,{'headerText':getTranslation$i(_0x48c01a,'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'),'emptyResultsText':getTranslation$i(_0x48c01a,'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'),'buttonText':getTranslation$i(_0x48c01a,'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL')})});}['registerTab'](){const _0x2b91b6=this['context']['plugins']['get']('AITabs');_0x2b91b6['view']['on']('activateTab',(_0x161235,_0x81bb93)=>{'reviewMode'===_0x81bb93?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x2b91b6['view']['addTab']({'id':'reviewMode','buttonLabel':getTranslation$i(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':ckeditor5['IconAIReview'],'order':0x0,'content':this['_mainView']});}}const _0x2e81e9='review-',_0x449e0c=0x6;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'];constructor(_0x21da4b){super(_0x21da4b),this['_domEmitter']=new(ckeditor5['DomEmitterMixin']())(),this['_eventEmitter']=new(ckeditor5['EmitterMixin']())();}get['emitter'](){return this['_eventEmitter'];}['afterInit'](){const _0x1adff5=getEditorFromContext(this['context']);_0x1adff5['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x2e81e9+'insert','view':(_0x61f81,{writer:_0x47a8e6})=>{const _0x4411ad=this['_markers']['get'](_0x61f81['markerName']),_0x4c4829={'class':'ck-ai_review-marker_add'+(this['_activeMarkers']['has'](_0x4411ad?.['id']||'')?'\x20ck-ai_review__change_active':''),'data-marker-id':_0x61f81['markerName']};return _0x47a8e6['createUIElement']('span',_0x4c4829,function(_0x336b9a){const _0x343ac6=this['toDomElement'](_0x336b9a);return _0x343ac6['innerHTML']=_0x4411ad?.['content']?.['asString']||'',_0x343ac6;});}}),_0x1adff5['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x2e81e9+'remove-only','view':_0x9c88e3=>{const _0x3e81cf=this['_markers']['get'](_0x9c88e3['markerName']),_0x3ea5fa=['ck-ai_review-marker_strikethrough'];return this['_activeMarkers']['has'](_0x3e81cf?.['id']||'')&&_0x3ea5fa['push']('ck-ai_review__change_active'),{'classes':_0x3ea5fa,'attributes':{'data-marker-id':_0x9c88e3['markerName']}};}}),_0x1adff5['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x2e81e9+'remove-context','view':_0x44321c=>{const _0x4f44c6=this['_markers']['get'](_0x44321c['markerName']),_0x4f4596=['ck-ai_review-marker_underline'];return this['_activeMarkers']['has'](_0x4f44c6?.['id']||'')&&_0x4f4596['push']('ck-ai_review__change_active'),{'classes':_0x4f4596,'attributes':{'data-marker-id':_0x44321c['markerName']}};}}),_0x1adff5['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x2e81e9+'remove-text','view':_0x3a0004=>{const _0xc567b1=this['_markers']['get'](_0x3a0004['markerName']),_0xfa35aa=['ck-ai_review-marker_hide'];return this['_activeMarkers']['has'](_0xc567b1?.['id']||'')&&_0xfa35aa['push']('ck-ai_review__change_active'),{'classes':_0xfa35aa,'attributes':{'data-marker-id':_0x3a0004['markerName']}};}}),_0x1adff5['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x2e81e9+'suggestion-context','view':(_0xbcc6f0,{writer:_0x40468d})=>_0x40468d['createRawElement']('span',{'class':'ck-ai_review-marker_context-'+(_0xbcc6f0['isOpening']?'start':'end')})}),_0x1adff5['conversion']['for']('downcast')['attributeToAttribute']({'model':_0x5862c3,'view':_0x58ca49});const _0x288f0f=_0x1adff5['ui']['getEditableElement']()||document['body'];this['_domEmitter']['listenTo'](_0x288f0f,'mouseup',(_0x1b8ab9,_0x1847e4)=>{const _0x212a7b=_0x1847e4['target'],_0x19f14c=this['_findMarkerElement'](_0x212a7b);if(!_0x19f14c)return;const _0x9c0cf9=_0x19f14c['getAttribute']('data-marker-id'),_0x27b292=_0x9c0cf9['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClicked',{'markerId':_0x9c0cf9,'changeId':_0x27b292,'markerElement':()=>this['_findMarkerElementById'](_0x9c0cf9),'domEvent':_0x1847e4});},{'usePassive':!0x0,'priority':'highest'}),this['_domEmitter']['listenTo'](_0x288f0f,'mouseover',(_0x400003,_0x53a0c6)=>{const _0x47ab7e=_0x53a0c6['target'],_0x32ee92=_0x53a0c6['relatedTarget'];let _0x5e9e8b=this['_findMarkerElement'](_0x47ab7e);if(!_0x5e9e8b&&_0x32ee92&&(_0x5e9e8b=this['_findMarkerElement'](_0x32ee92)),!_0x5e9e8b)return;const _0x2e15d5=_0x5e9e8b['getAttribute']('data-marker-id'),_0x5625b6=_0x2e15d5['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerHovered',{'changeId':_0x5625b6,'markerElement':()=>this['_findMarkerElementById'](_0x2e15d5),'domEvent':_0x53a0c6});}),this['_domEmitter']['listenTo'](document,'mouseover',_0x587714((_0x1c5eba,_0x33ebd2)=>{const _0x53dcc3=_0x33ebd2['target'];if(this['_findMarkerElement'](_0x53dcc3))return;_0x53dcc3['closest']('.ck-reset.ck-ai_review-balloon-panel-suggestion')||this['_eventEmitter']['fire']('changeMarkerBlurred');},0xc8)),_0x1adff5['model']['document']['registerPostFixer'](_0x241a87=>this['_validateMarkers'](_0x1adff5,_0x241a87)),_0x1adff5['model']['document']['on']('change',()=>this['_handleMarkerChanges'](_0x1adff5));}['getDocumentData'](){const _0x2a5b13=this['context']['plugins']['get']('AIEditing'),_0x237454=getEditorFromContext(this['context']),_0x5ec6d4=_0x237454['model'],_0x2275c9=new ckeditor5['ModelDocumentFragment']();for(const _0xdb0f23 of _0x5ec6d4['document']['getRoot']()['getChildren']()){const _0x102248=_0xdb0f23['_clone'](!0x0);_0x2275c9['_appendChild'](_0x102248);}for(const _0x58b6b0 of _0x5ec6d4['markers'])_0x2275c9['markers']['set'](_0x58b6b0['name'],this['_changeRangeOwnerDocument'](_0x58b6b0['getRange']()['clone'](),_0x2275c9));const _0x21b514=new ckeditor5['ModelTreeWalker']({'ignoreElementEnd':!0x0,'startPosition':_0x5ec6d4['createPositionAt'](_0x2275c9,0x0)}),_0x45c1d0=new Set(),_0x382cdf=new Map();for(const {item:_0x2d3e33}of _0x21b514){if(!_0x2d3e33['is']('$textProxy'))continue;const _0xa92355=_0x2d3e33['parent'];if(_0xa92355&&_0xa92355['is']('element')){const _0x82c204=this['_upsertDataId'](_0xa92355,()=>_0x2a5b13['_nextDataId'](_0x45c1d0));_0x45c1d0['add'](_0x82c204);for(const _0x5344d0 of _0xa92355['getChildren']())_0x5344d0['is']('element')&&_0x45c1d0['add'](this['_upsertDataId'](_0x5344d0,()=>_0x2a5b13['_nextDataId'](_0x45c1d0)));let _0x2f305e=_0xa92355;for(;_0x2f305e['parent']&&!_0x2f305e['parent']['is']('documentFragment');)_0x2f305e=_0x2f305e['parent'],_0x2f305e['hasAttribute'](_0x5862c3)&&_0x2f305e['_removeAttribute'](_0x5862c3);_0x382cdf['set'](_0x82c204,{'path':_0xa92355['getPath'](),'getContent':this['_createGetContentUsingDataIdFn'](_0x2f305e['_clone'](!0x0),_0x82c204,_0x237454['data'])}),_0x21b514['jumpTo'](_0x5ec6d4['createPositionAfter'](_0xa92355));}}return{'content':_0x237454['data']['processor']['toData'](_0x237454['data']['toView'](_0x2275c9)),'version':_0x237454['model']['document']['version'],'elements':_0x382cdf};}['diffContent'](_0x2cddb5,_0x9a8f98,_0x313196=!0x1){const _0x594333=[],_0x2a4b04=getEditorFromContext(this['context']),_0x45ac44=_0x2a4b04['data']['parse'](_0x9a8f98,'$documentFragment'),_0x4f37af=_0x2a4b04['data']['parse'](_0x2cddb5,'$documentFragment'),_0x1d5ed0=_0x2a4b04['model']['createPositionAt'](_0x4f37af,0x0);if(this['_haveSingleTopLevelElement'](_0x45ac44)){if(!this['_hasSameTopLevelElement'](_0x4f37af,_0x45ac44))return _0x594333;}else{const _0x816bcf=_0x2a4b04['model']['schema'];if(!this['_haveOnlyInlineContent'](_0x4f37af,_0x816bcf)||!this['_haveOnlyInlineContent'](_0x45ac44,_0x816bcf))return _0x594333;}const _0x2c941c=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0x2cddb5,_0x9a8f98,{'anchor':_0x1d5ed0,'markDeletions':!0x0})['getOperations']()['filter'](_0x30f320=>'insert'===_0x30f320['type']||'marker'===_0x30f320['type']&&_0x30f320['name']['startsWith']('$markedRemove')),_0x185b8d=this['_groupAdjacentOperations'](_0x2c941c),_0x5c89f9=[];if(_0x313196){if(_0x185b8d['length']){const _0x1ead57=_0x185b8d[0x0]['operations'][0x0],_0x3b228e='insert'===_0x1ead57['type']?_0x1ead57['position']:_0x1ead57['newRange']['start'],_0x50c672=this['_getPositionLimitingRange'](_0x3b228e,_0x2a4b04,'inside'),_0x414294=_0x50c672?_0x45ac44['getChild'](0x0)['getChildren']():_0x45ac44['getChildren'](),_0x23cbdd=_0x50c672||_0x2a4b04['model']['createRangeIn'](_0x4f37af),_0x5a4cfa=[new ckeditor5['MarkerOperation']('$markedRemove:synthetic'+ckeditor5['uid'](),null,_0x23cbdd,_0x2a4b04['model']['document']['model']['markers'],!0x0,_0x2a4b04['model']['document']['version']+0x1),new ckeditor5['InsertOperation'](_0x23cbdd['end'],_0x414294,_0x2a4b04['model']['document']['version']+0x2)];_0x5c89f9['push']({'operations':_0x5a4cfa,'operationsIsolated':_0x5a4cfa,'groupOffset':0x0});}}else _0x5c89f9['push'](..._0x185b8d);let _0x4a2425=0x0;return _0x2a4b04['model']['change'](_0x1e53c1=>{for(let _0x413de4=0x0;_0x413de4<_0x5c89f9['length'];_0x413de4++){const _0xee4138=_0x5c89f9[_0x413de4],_0x2ae18d=_0x1e53c1['createDocumentFragment']();for(const _0x49124f of _0x4f37af['getChildren']())_0x1e53c1['append'](_0x49124f['_clone'](!0x0),_0x2ae18d);for(const _0x530d0c of _0xee4138['operationsIsolated'])if('insert'===_0x530d0c['type']){const _0x311269=_0x530d0c;_0x311269['baseVersion']=null,_0x311269['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0x311269,_0x2ae18d),_0x1e53c1['batch']['addOperation'](_0x530d0c),_0x2a4b04['model']['applyOperation'](_0x530d0c);const _0x2f0ae1='suggestion:insertion:id:authorId:'+_0x4a2425++,_0x2a7e94=_0x2a4b04['model']['createRange'](_0x311269['position'],_0x311269['position']['getShiftedBy'](_0x311269['howMany']));_0x2ae18d['markers']['set'](_0x2f0ae1,_0x2a7e94);}else{if('marker'===_0x530d0c['type']&&_0x530d0c['name']['startsWith']('$markedRemove')){const _0x5360b6=_0x530d0c,_0x388118='suggestion:deletion:id:authorId:'+_0x4a2425++;this['_changeOperationOwnerDocument'](_0x5360b6,_0x2ae18d),_0x2ae18d['markers']['set'](_0x388118,_0x5360b6['newRange']);}}if(_0x313196)_0x594333['push']({..._0xee4138,'context':this['_createGetContentFn'](_0x4f37af,_0x2a4b04['data']),'content':this['_createGetContentFn'](_0x4f37af,_0x2a4b04['data'])});else{const _0x1c20ef=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0xee4138['operationsIsolated'][0x0]),_0x2ae18d),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0xee4138['operationsIsolated'][_0xee4138['operationsIsolated']['length']-0x1]),_0x2ae18d));_0x2ae18d['markers']['set'](_0x2e81e9+'suggestion-context',new ckeditor5['ModelRange'](_0x1c20ef['start'],_0x1c20ef['end'])),_0x594333['push']({..._0xee4138,'context':this['_createGetContextFn'](_0x2ae18d,_0x2a4b04['data'],{'ellipsisBefore':_0x1c20ef['hasContentBefore'],'ellipsisAfter':_0x1c20ef['hasContentAfter']}),'content':this['_createGetContentFn'](_0x2ae18d,_0x2a4b04['data'])});}}}),_0x594333;}['markChangePositionInEditorContent'](_0x2ebde1,_0x26cd9c){if(!_0x2ebde1['length'])return;const _0x526bb2=_0x2ebde1[0x0]['parent']['id'],_0x24a8bd=_0x26cd9c['elements']['get'](_0x526bb2);if(!_0x24a8bd)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0x526bb2);const _0x19ffbe=_0x24a8bd['path'],_0x307156=getEditorFromContext(this['context']),_0x4235a3=_0x307156['model']['document']['history']['getOperations'](_0x26cd9c['version']),_0x30b151=[];for(const _0x4008fb of _0x2ebde1){const _0x34207c=_0x4008fb['operationsIsolated']['map'](_0x4ef296=>this['_translateOperationToEditorContent'](_0x4ef296,_0x19ffbe,_0x307156['model']['document']['getRoots']()[0x0]));if(!_0x34207c||!_0x34207c['length'])continue;const _0x311408=_0x34207c['every'](_0x201127=>'marker'===_0x201127['type']&&_0x201127['name']['startsWith']('$markedRemove')),_0xb5df38={'document':_0x307156['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2bcfff=ckeditor5['transformOperationSets'](_0x34207c,_0x4235a3,_0xb5df38)['operationsA'];for(const _0x1258fe of _0x2bcfff)if('insert'===_0x1258fe['type']){const _0x4aa428=_0x1258fe,_0x59eddc=_0x4aa428['nodes'];_0x307156['model']['change'](_0x4b473e=>{const _0x471cef=_0x4b473e['createDocumentFragment']();for(const _0x59f70d of _0x59eddc)_0x4b473e['append'](_0x59f70d['_clone'](!0x0),_0x471cef);_0x30b151['push']({'start':_0x4aa428['position'],'end':_0x4aa428['position'],'type':'insert','groupId':_0x4008fb['id'],'content':{'asString':this['_createGetContentFn'](_0x471cef,_0x307156['data'])(),'asFragment':_0x471cef}});});}else{if('marker'===_0x1258fe['type']&&_0x1258fe['name']['startsWith']('$markedRemove')){const _0x287b18=_0x1258fe;let _0x4a32df='remove-text';if(_0x311408){const _0x43acc1=this['_findAdjacentContextDistance'](_0x287b18['newRange']['start'],'backward',_0x307156['model']['schema']),_0xe35715=this['_findAdjacentContextDistance'](_0x287b18['newRange']['end'],'forward',_0x307156['model']['schema']);if(_0x43acc1||_0xe35715){const _0x5d4931=_0x287b18['newRange']['start']['getShiftedBy'](-_0x43acc1),_0x334f52=_0x287b18['newRange']['end']['getShiftedBy'](_0xe35715);_0x30b151['push']({'start':_0x5d4931,'end':_0x334f52,'groupId':_0x4008fb['id'],'type':'remove-context'});}else _0x4a32df='remove-only';}_0x30b151['push']({'start':_0x287b18['newRange']['start'],'end':_0x287b18['newRange']['end'],'groupId':_0x4008fb['id'],'type':_0x4a32df});}}}this['_insertMarkers'](_0x30b151);}['clearAllMarkers'](){const _0xd2053b=getEditorFromContext(this['context']);_0xd2053b['model']['change'](_0x499eb3=>{for(const _0x250f6d of this['_markers']['keys']())_0xd2053b['model']['markers']['get'](_0x250f6d)&&_0x499eb3['removeMarker'](_0x250f6d);}),this['_markers']['clear'](),this['_activeMarkers']['clear']();}['switchToReadOnly'](){getEditorFromContext(this['context'])['enableReadOnlyMode']('ai-review');}['switchToEdit'](){getEditorFromContext(this['context'])['disableReadOnlyMode']('ai-review');}['applyChange'](_0x4a324b){const _0x3e45ff=getEditorFromContext(this['context']),_0x378d4c=_0x3e45ff['model'],_0x51a92f=_0x4a324b['map'](_0x31e157=>this['_getMarkersDataForGroup'](_0x31e157))['flat']();_0x378d4c['change'](_0x3766bd=>{for(const _0x30e648 of _0x51a92f){const _0x55261a=_0x3e45ff['model']['markers']['get'](_0x30e648['id']);if(_0x55261a){if('insert'===_0x30e648['type']){if(!_0x30e648['content'])continue;_0x378d4c['insertContent'](_0x30e648['content']['asFragment']||null,_0x55261a['getRange']()['start']);}else'remove-text'!==_0x30e648['type']&&'remove-only'!==_0x30e648['type']||_0x378d4c['deleteContent'](_0x378d4c['createSelection'](_0x55261a['getRange']()));_0x3766bd['removeMarker'](_0x30e648['id']),this['_markers']['delete'](_0x30e648['id']);}}});}['rejectChange'](_0x4767fb){const _0x1acd45=getEditorFromContext(this['context']),_0x51cbf9=this['_getMarkersDataForGroup'](_0x4767fb);_0x1acd45['model']['change'](_0x87d3e=>{for(const _0x20b3e3 of _0x51cbf9)_0x87d3e['removeMarker'](_0x20b3e3['id']),this['_markers']['delete'](_0x20b3e3['id']);});}['getEditor'](){return getEditorFromContext(this['context']);}['getMarkerElementForChange'](_0x40717a){const _0x5be0cf=Array['from'](this['_markers']['values']())['filter'](_0x52dd61=>_0x52dd61['groupId']===_0x40717a);if(!_0x5be0cf['length'])return null;const _0xbf9fd3=0x1===_0x5be0cf['length']?_0x5be0cf[0x0]:this['_sortMarkers'](_0x5be0cf)[0x0],_0xbbeb13=getEditorFromContext(this['context'])['model']['markers']['get'](_0xbf9fd3['id']);if(!_0xbbeb13)return null;return{'modelRange':_0xbbeb13['getRange'](),'getElement':()=>this['_findMarkerElementById'](_0xbf9fd3['id'])};}['getContentElementForChange'](_0x25de8d){const _0x5cc2de=Array['from'](this['_markers']['values']())['filter'](_0x1cbcfe=>_0x1cbcfe['groupId']===_0x25de8d);if(!_0x5cc2de['length'])return null;const _0x1b8117=0x1===_0x5cc2de['length']?_0x5cc2de[0x0]:this['_sortMarkers'](_0x5cc2de)[0x0],_0x55f7d6=getEditorFromContext(this['context']),_0x6e75d4=_0x55f7d6['model']['markers']['get'](_0x1b8117['id']);if(!_0x6e75d4)return null;const _0x3115d5=_0x6e75d4['getRange'](),_0x34960f=_0x55f7d6['editing']['view']['getDomRoot']();if(!_0x34960f||!_0x3115d5)return null;let _0x44d77b=_0x3115d5['start']['parent'];for(;_0x44d77b['parent']&&'$root'!==_0x44d77b['parent']['name'];)_0x44d77b=_0x44d77b['parent'];if(!_0x44d77b||!_0x44d77b['name'])return null;const _0x554a21=_0x34960f['querySelector']('[data-marker-id=\x22'+_0x1b8117['id']+'\x22]');if(!_0x554a21)return null;let _0x4e3b8b=null;_0x55f7d6['model']['change'](_0x5aea77=>{_0x4e3b8b=_0x5aea77['createDocumentFragment'](),_0x5aea77['append'](_0x44d77b['_clone'](!0x0),_0x4e3b8b);});const _0x4eb3ef=_0x55f7d6['data']['toView'](_0x4e3b8b)['getChild'](0x0);return _0x554a21['closest'](_0x4eb3ef['name']);}['reactivateMarkers'](_0x37c0c5){const _0x1deffa=this['_getMarkersDataForGroup'](_0x37c0c5);if(!_0x1deffa['length'])return;const _0x1d0bae=Array['from'](this['_activeMarkers'])['sort'](),_0x112132=Array['from'](new Set(_0x1deffa['map'](_0xf6ed37=>_0xf6ed37['id'])))['sort']();_0x1d0bae['join']('|')!==_0x112132['join']('|')&&(this['setAllMarkersAsInactive'](),this['setMarkersInElementAsActive'](_0x37c0c5));}['setMarkersInElementAsActive'](_0x478fee){const _0x5ead73=this['_getMarkersDataForGroup'](_0x478fee);if(!_0x5ead73['length'])return;const _0x145d9e=getEditorFromContext(this['context']),_0x3112ab=new Set(_0x5ead73['map'](_0x4d2ebb=>_0x4d2ebb['id'])),_0xa94f6a=Array['from'](_0x3112ab['values']())['map'](_0x4d8cf6=>_0x145d9e['model']['markers']['get'](_0x4d8cf6))['filter'](_0x390f3c=>!!_0x390f3c);_0x3112ab['forEach'](_0x4af701=>{this['_activeMarkers']['add'](_0x4af701);}),_0x145d9e['model']['change'](()=>{_0xa94f6a['forEach'](_0x4672e2=>{_0x145d9e['editing']['reconvertMarker'](_0x4672e2);});});}['setAllMarkersAsInactive'](){const _0x1e29ba=Array['from'](this['_activeMarkers']);if(!_0x1e29ba['length'])return;this['_activeMarkers']['clear']();const _0x5a8ff1=getEditorFromContext(this['context']),_0x15103a=_0x1e29ba['map'](_0x2cf1b7=>_0x5a8ff1['model']['markers']['get'](_0x2cf1b7))['filter'](_0x2711ac=>!!_0x2711ac);_0x5a8ff1['model']['change'](()=>{_0x15103a['forEach'](_0x5dffbe=>{_0x5a8ff1['editing']['reconvertMarker'](_0x5dffbe);});});}['_getPositionLimitingRange'](_0x5395b2,_0x3b2d2e,_0x5efc08='outside'){if(!_0x5395b2)return null;let _0xe4a636=_0x5395b2['parent'];for(;_0xe4a636&&_0xe4a636['parent']&&'$root'!==_0xe4a636['parent']['name']&&!_0x3b2d2e['model']['schema']['isLimit'](_0xe4a636)&&!_0x3b2d2e['model']['schema']['isBlock'](_0xe4a636);)_0xe4a636=_0xe4a636['parent'];if(!_0xe4a636||!_0xe4a636['name']||'$root'===_0xe4a636['name'])return null;let _0x538c6e=null;return _0x3b2d2e['model']['change'](_0x2c96a7=>{_0x538c6e='inside'===_0x5efc08?_0x2c96a7['createRangeIn'](_0xe4a636):_0x2c96a7['createRangeOn'](_0xe4a636);}),_0x538c6e;}['_validateMarkers'](_0x2b0e4b,_0x506b52){const _0x90fe91=Array['from'](this['_markers']['keys']()),_0x42dc53=new Map();for(const _0x5bc212 of _0x90fe91){const _0x591a7b=_0x2b0e4b['model']['markers']['get'](_0x5bc212);if(!_0x591a7b)continue;const _0x2c1729=_0x591a7b['getStart']()['path'][0x0];_0x42dc53['has'](_0x2c1729)||_0x42dc53['set'](_0x2c1729,[]),_0x42dc53['get'](_0x2c1729)['push'](_0x591a7b);}const _0x42a7dd=new Set();for(const _0xef1345 of _0x2b0e4b['model']['document']['differ']['getChanges']()){let _0x13e575=-0x1,_0x4d755b=null;if('insert'===_0xef1345['type'])_0x4d755b=new ckeditor5['ModelRange'](_0xef1345['position'],_0xef1345['position']['getShiftedBy'](_0xef1345['length'])),_0x13e575=_0xef1345['position']['path'][0x0];else{if('remove'!==_0xef1345['type'])continue;_0x4d755b=new ckeditor5['ModelRange'](_0xef1345['position']),_0x13e575=_0xef1345['position']['path'][0x0];}const _0x4547ac=_0x42dc53['get'](_0x13e575)||[];if(_0x4547ac['length']){for(const _0xc2d2a1 of _0x4547ac)if(_0x4d755b['root']['rootName']===_0xc2d2a1['getRange']()['root']['rootName']&&('insert'!==_0xef1345['type']||!_0x4d755b['containsRange'](_0xc2d2a1['getRange']()))&&(_0x4d755b['isIntersecting'](_0xc2d2a1['getRange']())||_0x4d755b['start']['isTouching'](_0xc2d2a1['getRange']()['end'])||_0x4d755b['end']['isTouching'](_0xc2d2a1['getRange']()['start']))){const _0x1d93f9=this['_parseMarkerName'](_0xc2d2a1['name']);Array['from'](this['_markers']['values']())['filter'](_0xf2c941=>_0xf2c941['groupId']===_0x1d93f9['groupId'])['forEach'](_0x2e318a=>_0x42a7dd['add'](_0x2e318a['id']));}}}if(_0x42a7dd['size']){for(const _0x1e7a15 of _0x42a7dd)_0x506b52['removeMarker'](_0x1e7a15);return!0x0;}return!0x1;}['_handleMarkerChanges'](_0x1054d7){for(const {name:_0x377348,data:_0x2a6977}of _0x1054d7['model']['document']['differ']['getChangedMarkers']()){if(!_0x377348['startsWith'](_0x2e81e9))continue;const _0x3bff67=_0x2a6977['oldRange'],_0x4f2343=_0x2a6977['newRange'],_0x729fb6=_0x3bff67&&'$graveyard'===_0x3bff67['root']['rootName'],_0x238ace=_0x4f2343&&'$graveyard'===_0x4f2343['root']['rootName'];if(_0x729fb6&&_0x238ace)continue;const _0x51841e=this['_parseMarkerName'](_0x377348);this['_markers']['get'](_0x377348)&&(_0x238ace||!_0x4f2343?this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x377348,'changeId':_0x51841e['groupId']}):_0x729fb6&&_0x4f2343&&this['_eventEmitter']['fire']('changeMarkerRestored',{'markerId':_0x377348,'changeId':_0x51841e['groupId']}));}}['_parseMarkerName'](_0x22e204){const _0x568e66=_0x22e204['split'](':'),_0xb1126=(_0x568e66[0x1]||'')['split']('_');return{'prefix':_0x568e66[0x0],'groupId':_0xb1126[0x0],'suffix':_0xb1126[0x1]};}['_translateOperationToEditorContent'](_0x4e40ec,_0x3c92af,_0x71bb9a){if('insert'===_0x4e40ec['type']){const _0xa5a136=_0x4e40ec;return new ckeditor5['InsertOperation'](this['_changePosition'](_0x3c92af['concat'](_0xa5a136['position']['offset']),_0x71bb9a),_0xa5a136['nodes'],_0xa5a136['baseVersion']);}if('marker'===_0x4e40ec['type']&&_0x4e40ec['name']['startsWith']('$markedRemove')){const _0x519844=_0x4e40ec;return new ckeditor5['MarkerOperation'](_0x519844['name'],_0x519844['oldRange'],this['_changeRange'](_0x519844['newRange'],_0x3c92af['concat'](_0x519844['newRange']['start']['offset']),_0x3c92af['concat'](_0x519844['newRange']['end']['offset']),_0x71bb9a),_0x519844['_markers'],_0x519844['affectsData'],_0x519844['baseVersion']);}return _0x4e40ec;}['_groupAdjacentOperations'](_0x513b0b){if(!_0x513b0b['length'])return[];const _0x2e2e0d=[];let _0x416448=0x0,_0x301c67=0x0,_0x4ac9d0=[];for(let _0x1676e6=0x0;_0x1676e6<=_0x513b0b['length'];_0x1676e6++){const _0x5e4165=_0x513b0b[_0x1676e6],_0x21e08e=_0x513b0b[_0x1676e6-0x1];!_0x5e4165||_0x21e08e&&!this['_getOperationEnd'](_0x21e08e)['isTouching'](this['_getOperationStart'](_0x5e4165))?(_0x2e2e0d['push']({'operations':_0x4ac9d0,'operationsIsolated':_0x4ac9d0['map'](_0x3307c7=>this['_shiftOperation'](_0x3307c7['clone'](),-_0x301c67)),'groupOffset':_0x416448}),_0x4ac9d0=_0x5e4165?[_0x5e4165]:[],_0x301c67+=_0x416448,_0x416448=0x0):_0x4ac9d0['push'](_0x5e4165),_0x5e4165&&'insert'===_0x5e4165['type']&&(_0x416448+=_0x5e4165['howMany']);}return _0x2e2e0d;}['_findAdjacentContextDistance'](_0x329114,_0xf370ae,_0x305e8e,_0x1023b0=0x1){const _0x3fce33=new ckeditor5['ModelTreeWalker']({'startPosition':_0x329114,'direction':_0xf370ae});let _0x3a52ab=0x0;for(let _0x38da7c=0x0;_0x38da7c<_0x1023b0;_0x38da7c++){let _0x454aa3=0x0,_0x14424c=!0x1,_0x5d555f='forward'===_0xf370ae?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x21a278}of _0x3fce33)if(_0x21a278['is']('$textProxy')){const _0x1f6bc5=_0x5d555f['exec'](_0x21a278['data']);if(_0x1f6bc5&&_0x1f6bc5['length']){if(_0x454aa3+='forward'===_0xf370ae?_0x1f6bc5['index']+_0x1f6bc5[0x0]['length']:_0x21a278['data']['length']-_0x1f6bc5['index'],_0x1f6bc5[0x0]['length']!==_0x21a278['data']['length'])break;_0x14424c=!0x0,_0x5d555f='forward'===_0xf370ae?/^\w+/:/\w+$/;}else{if(_0x14424c)break;_0x454aa3+=_0x21a278['offsetSize'];}}else{if(_0x21a278['is']('element')){_0x305e8e['isInline'](_0x21a278)&&!_0x14424c&&(_0x454aa3+=0x1);break;}}_0x3a52ab+=_0x454aa3,_0x3fce33['jumpTo'](_0x329114['getShiftedBy']('forward'===_0xf370ae?_0x3a52ab:-_0x3a52ab));}return _0x3a52ab;}['_getChangeContext'](_0x51b4b0,_0x4aa77b){const _0x7b8b3a=getEditorFromContext(this['context'])['model']['schema'],_0x21a95f=this['_findAdjacentContextDistance'](_0x51b4b0,'backward',_0x7b8b3a,_0x449e0c),_0x840eb4=this['_findAdjacentContextDistance'](_0x4aa77b,'forward',_0x7b8b3a,_0x449e0c),_0x42893f=_0x51b4b0['getShiftedBy'](-_0x21a95f),_0x2e3517=_0x4aa77b['getShiftedBy'](_0x840eb4);return{'start':_0x42893f,'end':_0x2e3517,'hasContentBefore':!_0x42893f['isAtStart'],'hasContentAfter':!_0x2e3517['isAtEnd']};}['_insertMarkers'](_0x51b5d4){const _0x4ce29e=this['context']['plugins']['get']('AIEditing'),_0x773a73=new Set();getEditorFromContext(this['context'])['model']['change'](_0x3a7bfd=>{for(const _0x391fc4 of _0x51b5d4){const _0x4f1a33=''+_0x2e81e9+_0x391fc4['type']+':'+_0x391fc4['groupId']+'_'+_0x4ce29e['_nextDataId'](_0x773a73);this['_markers']['set'](_0x4f1a33,{'id':_0x4f1a33,'groupId':_0x391fc4['groupId'],'type':_0x391fc4['type'],'content':_0x391fc4['content']}),_0x3a7bfd['addMarker'](_0x4f1a33,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3a7bfd['createRange'](_0x391fc4['start'],_0x391fc4['end'])});}});}['_createGetContextFn'](_0x5deb09,_0xb7bf73,_0x4a1650){let _0x21b6bf='';return()=>{if(!_0x21b6bf){const _0x552234=_0xb7bf73['toView'](_0x5deb09,{'showSuggestionHighlights':!0x0});let _0x549649=_0x552234['getChild'](0x0);if(_0x549649['is']('containerElement')||(_0x549649=_0x552234),!_0x549649)return'';let _0x38ab31=!0x1;const _0xff182c=[];for(const _0x280f03 of _0x549649['getChildren']())_0x280f03['is']('element','span')&&_0x280f03['hasClass']('ck-ai_review-marker_context-end')&&(_0x38ab31=!0x1),_0x38ab31&&_0xff182c['push'](_0x280f03),_0x280f03['is']('element','span')&&_0x280f03['hasClass']('ck-ai_review-marker_context-start')&&(_0x38ab31=!0x0);_0x549649['_removeChildren'](0x0,_0x549649['childCount']),_0x4a1650?.['ellipsisBefore']&&_0x549649['_appendChild']('…'),_0x549649['_appendChild'](_0xff182c),_0x4a1650?.['ellipsisAfter']&&_0x549649['_appendChild']('…');const _0x69643d=_0xb7bf73['htmlProcessor']['domConverter']['viewToDom'](_0x552234),_0xee74e9=_0xb7bf73['htmlProcessor']['htmlWriter']['getHtml'](_0x69643d);_0x21b6bf=_0xee74e9;}return _0x21b6bf;};}['_createGetContentFn'](_0x4ed186,_0x3adc8c){let _0x2590a1='';return()=>(_0x2590a1||(_0x2590a1=_0x3adc8c['stringify'](_0x4ed186,{'showSuggestionHighlights':!0x0})),_0x2590a1);}['_createGetContentUsingDataIdFn'](_0x440c74,_0x154a2d,_0x4c8b4f){let _0x37a80a='';return()=>{if(!_0x37a80a){const _0x1efae3=_0x4c8b4f['toView'](new ckeditor5['ModelDocumentFragment'](_0x440c74)),_0x32e9e4=_0x4c8b4f['htmlProcessor']['domConverter']['viewToDom'](_0x1efae3)['querySelector']('[data-id=\x22'+_0x154a2d+'\x22]');_0x37a80a=_0x32e9e4?.['outerHTML']||'';}return _0x37a80a;};}['_findMarkerElement'](_0x4de38b,_0x12a1a2=0x5){let _0x2d52f7=_0x4de38b,_0x38e01c=null;for(let _0x5ce9cd=0x0;_0x5ce9cd<_0x12a1a2&&_0x2d52f7;_0x5ce9cd++){if(!_0x2d52f7['className']){_0x2d52f7=_0x2d52f7['parentElement'];continue;}if(!(''+_0x2d52f7['className'])['includes']('ck-ai_review-marker_')){_0x2d52f7=_0x2d52f7['parentElement'];continue;}if(!_0x2d52f7['getAttribute']('data-marker-id'))break;_0x38e01c=_0x2d52f7;break;}return _0x38e01c;}['_findMarkerElementById'](_0xc72f17){const _0x2c0abe=getEditorFromContext(this['context']),_0x4a277f=_0x2c0abe['model']['markers']['get'](_0xc72f17);return _0x4a277f?getMarkerDomElement(_0x2c0abe['editing'],_0x4a277f):null;}['_getMarkersDataForGroup'](_0x3e5d93){return Array['from'](this['_markers']['values']())['filter'](_0x4c3fef=>_0x4c3fef['groupId']===_0x3e5d93);}['_getOperationStart'](_0x29c93c){return'insert'===_0x29c93c['type']?_0x29c93c['position']:_0x29c93c['newRange']['start'];}['_getOperationEnd'](_0x48cc1,_0x192d1c=!0x1){return'insert'===_0x48cc1['type']?_0x192d1c?_0x48cc1['position']:_0x48cc1['position']['getShiftedBy'](_0x48cc1['howMany']):_0x48cc1['newRange']['end'];}['_shiftOperation'](_0x202916,_0xebaea6){return'insert'===_0x202916['type']?_0x202916['position']=_0x202916['position']['getShiftedBy'](_0xebaea6):'marker'===_0x202916['type']&&_0x202916['newRange']&&(_0x202916['newRange']=new ckeditor5['ModelRange'](_0x202916['newRange']['start']['getShiftedBy'](_0xebaea6),_0x202916['newRange']['end']['getShiftedBy'](_0xebaea6))),_0x202916;}['_changeOperationOwnerDocument'](_0x540826,_0x4edade){'insert'===_0x540826['type']?_0x540826['position']=this['_changePositionOwnerDocument'](_0x540826['position'],_0x4edade):'marker'===_0x540826['type']&&_0x540826['newRange']&&(_0x540826['newRange']=this['_changeRangeOwnerDocument'](_0x540826['newRange'],_0x4edade));}['_changePositionOwnerDocument'](_0x1b40a0,_0x3526a0){return new ckeditor5['ModelPosition'](_0x3526a0,_0x1b40a0['path']);}['_changeRangeOwnerDocument'](_0x49deec,_0x5ddcea){return new ckeditor5['ModelRange'](this['_changePositionOwnerDocument'](_0x49deec['start'],_0x5ddcea),this['_changePositionOwnerDocument'](_0x49deec['end'],_0x5ddcea));}['_changePosition'](_0x5e48e1,_0x5eadf6){return new ckeditor5['ModelPosition'](_0x5eadf6,[..._0x5e48e1]);}['_changeRange'](_0x6623d4,_0x158253,_0x539314,_0x474bfb){return new ckeditor5['ModelRange'](this['_changePosition'](_0x158253,_0x474bfb),this['_changePosition'](_0x539314,_0x474bfb));}['_sortMarkers'](_0x38a121){const _0x480d62=_0xdb57f0=>{switch(_0xdb57f0){case'insert':return 0x0;case'remove-context':return 0x1;case'remove-only':return 0x2;case'remove-text':return 0x3;}};return _0x38a121['sort']((_0x1fd4cc,_0x5b4782)=>_0x480d62(_0x1fd4cc['type'])-_0x480d62(_0x5b4782['type']));}['_hasSameTopLevelElement'](_0x506e9d,_0x3f84b7){const _0x57f2d9=_0x506e9d['getChild'](0x0),_0x8d802e=_0x3f84b7['getChild'](0x0);return!(!_0x57f2d9||!_0x8d802e)&&((!_0x57f2d9['is']('element')||!_0x8d802e['is']('element')||_0x57f2d9['name']===_0x8d802e['name'])&&!(_0x57f2d9['is']('element')&&!_0x8d802e['is']('element')||!_0x57f2d9['is']('element')&&_0x8d802e['is']('element')));}['_haveSingleTopLevelElement'](_0x23c2c0){return 0x1===_0x23c2c0['childCount'];}['_haveOnlyInlineContent'](_0x44ff10,_0x76c391){for(const _0x5374c5 of _0x44ff10['getChildren']())if(_0x5374c5['is']('element')&&!_0x76c391['isInline'](_0x5374c5))return!0x1;return!0x0;}['_upsertDataId'](_0x5e64e5,_0x5927e9){let _0xb8db90=_0x5e64e5['getAttribute'](_0x5862c3);return _0xb8db90||(_0xb8db90=_0x5927e9(),_0x5e64e5['_setAttribute'](_0x5862c3,_0xb8db90)),_0xb8db90;}}class AIReviewCheckResult extends ckeditor5['EmitterMixin'](){['id'];['contentNew'];['contentInitial'];['documentVersion'];constructor({id:_0x5dd885,contentNew:_0x1b112e,contentInitial:_0x12cbaf,documentVersion:_0x36b65b}){super(),this['id']=_0x5dd885,this['contentNew']=_0x1b112e,this['contentInitial']=_0x12cbaf,this['documentVersion']=_0x36b65b;}}class AIReviewCheckResultChange extends ckeditor5['ObservableMixin'](){['id'];['parent'];['_data'];['_editorOperations']=[];constructor(_0x2abfec,_0x515cd2,_0x3729e4){super(),this['id']=_0x2abfec,this['parent']=_0x3729e4,this['_data']=_0x515cd2,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 _0x445534 extends ckeditor5['ObservableMixin'](){['id']=ckeditor5['uid']();['callId'];['_results']=new Map();['_changes']=[];['_sourceCheck'];['_documentData'];['_aiConnector'];['_reviewParams'];['_reviewArgs'];['_activeRequest']=null;['_currentError'];['_wasAborted']=!0x1;constructor(_0x2afd25,_0x5f2a71,_0xf4a01c,_0x2e633,_0x370aa0){super(),this['_sourceCheck']=_0x5f2a71,this['_documentData']=_0x2afd25,this['_aiConnector']=_0xf4a01c,this['_reviewParams']=_0x2e633,this['_reviewArgs']=_0x370aa0,this['on']('change:status',(_0x2a5dc,_0x280df3,_0x48163b)=>{'aborted'==_0x48163b&&(this['_wasAborted']=!0x0),this['fire']('reviewCheckRunUpdated',{'status':_0x48163b,'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'](_0x1939d2=>'pending'===_0x1939d2['status']);}get['currentError'](){return this['_currentError'];}['updateDocumentData'](_0x176e05){this['_documentData']=_0x176e05;}async['start'](){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x4b7159=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0x19c728 of _0x4b7159)'unmodified'!==_0x19c728['data']['operation']&&('error'!==_0x19c728['data']['operation']?'review-metadata'!==_0x19c728['event']?this['_addReviewCheckResult'](_0x19c728['data']['dataId'],_0x19c728['data']['textDelta']):this['callId']=_0x19c728['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(_0x3cc08a){this['_currentError']=_0x3cc08a,_0x3cc08a instanceof Error&&_0x3cc08a['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'](_0x52a04e,_0x7c9f29){const _0x30faa0=this['_results']['get'](_0x52a04e);if(!_0x30faa0)return;if(0x0===_0x7c9f29['length'])return;const _0x20674a=[];_0x7c9f29['forEach']((_0x2009ca,_0x53df0d)=>{const _0x2a9499=new AIReviewCheckResultChange(_0x30faa0['id']+'-'+_0x53df0d,_0x2009ca,_0x30faa0);_0x2a9499['on']('change:status',()=>{this['fire']('reviewCheckResultChangeStatusUpdated',{'change':_0x2a9499,'status':_0x2a9499['status']});}),_0x2a9499['on']('change:isActivated',()=>{_0x2a9499['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0x2a9499}):this['fire']('reviewCheckResultDeactivated',{'change':_0x2a9499});}),this['_changes']['push'](_0x2a9499),_0x20674a['push'](_0x2a9499);}),this['fire']('reviewCheckResultReady',{'changes':_0x20674a,'result':_0x30faa0,'source':this});}['abort'](){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}['isChangeActive'](_0x2dc463){const _0x1217a7=this['_changes']['find'](_0x48dd06=>_0x48dd06['id']===_0x2dc463);return!(!_0x1217a7||'pending'!==_0x1217a7['status']);}['isAnyChangeActivated'](){return this['_changes']['some'](_0x1fc662=>!0x0===_0x1fc662['isActivated']);}['getActiveChanges'](){return this['_changes']['filter'](_0x18ffa4=>'pending'===_0x18ffa4['status']);}['getChangeById'](_0x7e12bf){return this['_changes']['find'](_0x4a0c0a=>_0x4a0c0a['id']===_0x7e12bf);}['markAllChangesAsAccepted'](){for(const _0x397e55 of this['_changes'])'pending'===_0x397e55['status']&&(_0x397e55['status']='accepted');this['_checkIfFinished']();}['markChangeAsAccepted'](_0x2ffcd5){const _0x356bf3=this['_changes']['find'](_0x858990=>_0x858990['id']===_0x2ffcd5);_0x356bf3&&'pending'===_0x356bf3['status']&&(_0x356bf3['status']='accepted'),this['_checkIfFinished']();}['markChangeAsRejected'](_0x32bb5d){const _0x480d01=this['_changes']['find'](_0x570adc=>_0x570adc['id']===_0x32bb5d);_0x480d01&&'pending'===_0x480d01['status']&&(_0x480d01['status']='rejected'),this['_checkIfFinished']();}['markChangeAsOutdated'](_0x13c410){const _0x494e10=this['_changes']['find'](_0x2eb29c=>_0x2eb29c['id']===_0x13c410);_0x494e10&&'pending'===_0x494e10['status']&&(_0x494e10['status']='outdated'),this['_checkIfFinished']();}['markChangeAsPending'](_0x1c9cd8){const _0x21398c=this['_changes']['find'](_0x5d236f=>_0x5d236f['id']===_0x1c9cd8);_0x21398c&&'outdated'===_0x21398c['status']&&(_0x21398c['status']='pending'),this['_checkIfFinished']();}['activateChange'](_0x23f139){this['_changes']['filter'](_0x190816=>_0x190816['isActivated']&&_0x190816['id']!==_0x23f139)['forEach'](_0x3bfc66=>{_0x3bfc66['isActivated']=!0x1;});const _0x5d039d=this['_changes']['find'](_0x28c3df=>_0x28c3df['id']===_0x23f139);_0x5d039d&&'pending'===_0x5d039d['status']&&(_0x5d039d['isActivated']=!0x0);}['deactivateChange'](){this['_changes']['filter'](_0x14250b=>_0x14250b['isActivated'])['forEach'](_0x4244f1=>{_0x4244f1['isActivated']=!0x1;});}['forceReadyState'](){this['status']='ready';}async['sendRating'](_0x3ffa05){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status']||this['_wasAborted'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0x22217d;if(_0x3ffa05){const _0x35fbf6=this['_changes']['find'](_0x2924fc=>_0x2924fc['id']===_0x3ffa05);if(_0x35fbf6&&_0x35fbf6['isRated'])return;_0x35fbf6&&(_0x22217d=_0x35fbf6['parent']['id'],_0x35fbf6['isRated']=!0x0);}const _0x2a8f43={'positiveCount':this['_changes']['filter'](_0x2d307a=>'accepted'===_0x2d307a['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x2a8f43,this['callId'],_0x22217d);}['_addReviewCheckResult'](_0xdc54c7,_0x870c76){const _0x55cef6=this['_documentData']['elements']['get'](_0xdc54c7);if(!_0x55cef6)return;const _0x51636a=_0x55cef6['getContent']();if(_0x51636a===_0x870c76)return;const _0x3bd775=new AIReviewCheckResult({'id':_0xdc54c7,'contentInitial':_0x51636a,'contentNew':_0x870c76,'documentVersion':this['_documentData']['version']});this['_results']['set'](_0x3bd775['id'],_0x3bd775),this['fire']('reviewCheckResultAdded',{'result':_0x3bd775,'source':this});}['_checkIfFinished'](){'finished'===this['status']&&(this['_changes']['filter'](_0x5d72d6=>'pending'===_0x5d72d6['status'])['length']>0x0&&(this['status']='ready')),'ready'===this['status']&&(0x0===this['_changes']['filter'](_0x191186=>'pending'===_0x191186['status'])['length']&&(this['status']='finished'));}}class AIReviewSystemCheckRun extends _0x445534{get['subTitle'](){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0x3bc557=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0x5102af=0x0;_0x5102af<this['_reviewParams']['length'];_0x5102af++){if(!this['_reviewParams'][_0x5102af]||!this['_sourceCheck']['options'][_0x5102af])continue;const _0x3cc856=this['_sourceCheck']['options'][_0x5102af],_0x8e9906=_0x3cc856['data']?.['find'](_0x2cee98=>_0x2cee98['id']===this['_reviewParams'][_0x5102af]);_0x8e9906&&_0x3bc557['push'](_0x8e9906['label']);}return _0x3bc557['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}['_createApiRequest'](){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs']});}['_sendRatingRequest'](_0x3a36a8,_0x1391f1,_0x11ed19){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0x1391f1,_0x3a36a8,_0x11ed19);}['_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(_0x4fe82d,_0x556cbd)=>{const _0x30debc=this['_aiReviewCheckList']['getCheckById'](_0x556cbd['id']);if(_0x30debc){this['_onReviewCheckRun'](_0x556cbd),this['_aiReviewCoreEditing']['switchToReadOnly'](),this['_currentReviewCheckRun']=this['_createReviewCheckRun'](_0x556cbd,_0x30debc),this['_aiReviewCoreUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x77df9d,_0x5e16a4)=>{switch(_0x5e16a4['status']){case'data':case'loading':this['_aiReviewCoreUi']['showCheckRunResults'](_0x5e16a4);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'!==_0x5e16a4['status']&&'error-chunk'!==_0x5e16a4['status']&&'error-general'!==_0x5e16a4['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0x1e5ee0,_0x34b15e)=>{if(!this['_currentReviewCheckRun'])throw new ckeditor5['CKEditorError']('ai-review-mode-no-current-check-run',this);const _0x25daa3=this['_diffContent'](_0x34b15e['result']['contentInitial'],_0x34b15e['result']['contentNew']);_0x34b15e['source']['addResultChanges'](_0x34b15e['result']['id'],_0x25daa3);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0x14be65,_0x269292)=>{for(const _0x3d3669 of _0x269292['changes'])this['_aiReviewCoreUi']['showCheckRunResult'](_0x3d3669);this['_markChangePositionInEditorContent'](_0x269292['changes'],_0x269292['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultChangeStatusUpdated',(_0x2cceb1,_0x802263)=>{this['_aiReviewCoreUi']['updateChangeState'](_0x802263['change']['id'],_0x802263['status']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0x20f964,_0x2b3f0e)=>{this['_onReviewCheckResultActivated'](_0x2b3f0e);}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_onReviewCheckResultDeactivated']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0x142d2e){_0x142d2e instanceof Error&&_0x142d2e['message']['includes']('ai-request-aborted')||(_0x142d2e instanceof ckeditor5['CKEditorError']?this['_logError'](_0x142d2e):this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-check-run-failed',this,void 0x0,_0x142d2e)));}}else this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-source-check-not-found',this,{'checkId':_0x556cbd['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 _0x5b4ca0=this['_currentReviewCheckRun']['getActiveChanges']();if(!_0x5b4ca0['length'])return;this['_aiReviewCoreEditing']['applyChange'](_0x5b4ca0['map'](_0x2a18a6=>_0x2a18a6['id']));const _0x58886c=this['_currentReviewCheckRun'];_0x58886c['markAllChangesAsAccepted'](),_0x58886c['sendRating']();}),this['listenTo'](this['_aiReviewCoreUi'],'acceptChange',(_0x1354f7,_0x36d5a2)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x36d5a2['id'])&&(this['_aiReviewCoreEditing']['applyChange']([_0x36d5a2['id']]),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0x36d5a2['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x36d5a2['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'dismissChange',(_0x583d26,_0x43404d)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x43404d['id'])&&(this['_aiReviewCoreEditing']['rejectChange'](_0x43404d['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0x43404d['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x43404d['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',(_0xac2a66,_0x282eb8)=>{this['_onActivateChange'](_0x282eb8);}),this['listenTo'](this['_aiReviewCoreUi'],'deactivateChange',(_0xd71036,_0x37c2ec)=>{this['_onDeactivateChange'](_0x37c2ec);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerClicked',(_0xfc8f39,_0x2a9537)=>{this['_onChangeMarkerClicked'](_0xfc8f39,_0x2a9537);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerHovered',(_0x2f14f5,_0x42ef76)=>{this['_onChangeMarkerHovered'](_0x2f14f5,_0x42ef76);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerBlurred',()=>{this['_onChangeMarkerBlurred']();}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRemoved',(_0x58def1,_0x1d269a)=>{this['_onChangeMarkerRemoved'](_0x58def1,_0x1d269a);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRestored',(_0xb6e50b,_0x2690f0)=>{this['_onChangeMarkerRestored'](_0xb6e50b,_0x2690f0);});}['_createReviewCheckRun'](_0xb42c0b,_0x2d26f9){return new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x2d26f9,this['_aiConnector'],_0xb42c0b['params'],_0xb42c0b['args']);}['_onChangeMarkerRemoved'](_0x570d8f,_0x22ca96){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsOutdated'](_0x22ca96['changeId']);}['_onChangeMarkerRestored'](_0x5c414c,_0x5e337d){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsPending'](_0x5e337d['changeId']);}['_onCheckRunFinished'](){this['_aiReviewCoreUi']['showReviewCompletedView']();}['_initRequiredPlugins'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector');}['_onReviewRunLeave'](_0x457bd3=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']=void 0x0),_0x457bd3&&this['_aiReviewCoreUi']['showReviewCheckList'](),this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreEditing']['switchToEdit'](),this['_changeActivationSource']=null;const _0x130b87=this['_aiReviewCoreEditing']['getEditor']();_0x130b87&&_0x130b87['editing']['view']['change'](_0x400539=>{const _0x5f348c=_0x130b87['editing']['view']['document']['getRoot']();_0x400539['removeClass']('ck-ai_review-diff',_0x5f348c),_0x400539['removeClass']('ck-ai_review-highlights',_0x5f348c),_0x400539['removeClass']('ck-ai-translate-mode-content',_0x5f348c);});}['_getTranslationWithDefault'](_0xc0d381,_0x3c71c5){const _0x58095a=getTranslation$i(this['context']['locale'],_0xc0d381);return _0x58095a===_0xc0d381?_0x3c71c5:_0x58095a;}['_logError'](_0x5964b3,_0x55a317=!0x1){ckeditor5['logError'](_0x5964b3['message']),_0x55a317||(_0x5964b3['message']['startsWith']('ai-review-mode-models-unable-to-retrieve')?this['_aiReviewCoreUi']['showGeneralReviewCoreErrorView']():this['_aiReviewCoreUi']['showGeneralResultsErrorView']());}['_scrollToChange'](_0x51c33a){if('content'===this['_changeActivationSource']){const _0x1ca894=this['_aiReviewCoreUi']['getChangeElement'](_0x51c33a);_0x1ca894&&ckeditor5['scrollAncestorsToShowTarget'](_0x1ca894['closest']('.ck-ai_review__check-run-result')||_0x1ca894);}else{if('panel'===this['_changeActivationSource']){const _0x5a49c9=this['_getChangeContentElement'](_0x51c33a);if(!_0x5a49c9)return;const _0x15d607={'target':_0x5a49c9,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};ckeditor5['scrollViewportToShowTarget'](_0x15d607);}}}}const _0xdf4184=[{'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 _0x1dc237{['id'];['commandId'];['title'];['description'];['isParameterized'];['useArgs'];['options'];['args'];get['apiId'](){return this['commandId'];}constructor(_0x504321){this['id']=_0x504321['id'],this['commandId']=_0x504321['commandId'],this['title']=_0x504321['title'],this['description']=_0x504321['description'],this['isParameterized']=_0x504321['isParameterized'],this['useArgs']=_0x504321['useArgs'],this['options']=_0x504321['options'],this['args']=_0x504321['args'];}}class AIReviewCheckList extends ckeditor5['ObservableMixin'](){['_checks']=[];['setupChecks'](_0x56e5c3){this['_checks']=_0x56e5c3['map'](_0x408c0a=>new _0x1dc237(_0x408c0a));}get['checks'](){return this['_checks'];}['getCheckById'](_0x58db7e){return this['checks']['find'](_0x65284e=>_0x65284e['id']===_0x58db7e);}['removeCheckById'](_0x2d0cf7){this['_checks']=this['_checks']['filter'](_0x279010=>_0x279010['id']!==_0x2d0cf7);}}class AIReviewCheckCustom extends _0x1dc237{['_models']=[];['_defaultModel']=null;constructor(_0x306914,_0xa33ae2,_0x491b28){super(_0x306914),this['_models']=_0xa33ae2,this['_defaultModel']=_0x491b28;}get['models'](){return this['_models'];}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewCheckExtra extends _0x1dc237{['isExtra']=!0x0;['prompt'];['model'];['_defaultModel']=null;constructor(_0x4ec3ad,_0xe8568a,_0x7fcb88){super(_0x4ec3ad),this['prompt']=_0x4ec3ad['prompt'],this['model']=_0x4ec3ad['model'],this['model']?this['_defaultModel']=_0xe8568a['find'](_0x144e71=>_0x144e71['id']===this['model'])||null:this['_defaultModel']=_0x7fcb88;}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewModeCheckList extends AIReviewCheckList{['_allModels']=[];['_recommendedModels']=[];['_defaultModel']=null;constructor(_0x56f01c,_0x2ce767,_0x2c9e5d){super(),this['_allModels']=_0x56f01c,this['_recommendedModels']=_0x2ce767,this['_defaultModel']=_0x2c9e5d;}['setupChecks'](_0x1230e8){this['_checks']=_0x1230e8['map'](_0x5be02f=>!0x0===_0x5be02f['isExtra']?new AIReviewCheckExtra(_0x5be02f,this['_allModels'],this['_defaultModel']):'custom'===_0x5be02f['id']?new AIReviewCheckCustom(_0x5be02f,this['_recommendedModels'],this['_defaultModel']):new _0x1dc237(_0x5be02f));}}class AIReviewCustomCheckRun extends _0x445534{['_prompt'];['_model'];constructor(_0x367022,_0x436732,_0x5de6a3,_0x2370ea,_0x28951a){super(_0x5de6a3,_0x2370ea,_0x28951a),this['_prompt']=_0x367022,this['_model']=_0x436732;}get['subTitle'](){return this['_prompt'];}['_createApiRequest'](){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],'prompt':this['_prompt'],'model':this['_model']});}['_sendRatingRequest'](_0x2fac25,_0xd0701a,_0x442d62){return this['_aiConnector']['upsertCustomAIReviewRating'](_0xd0701a,_0x2fac25,_0x442d62);}}class AIReviewExtraCheckRun extends AIReviewCustomCheckRun{get['subTitle'](){return'';}set['prompt'](_0x54660c){this['_prompt']=_0x54660c;}set['model'](_0x3ef46b){this['_model']=_0x3ef46b;}}class AIReviewModeController extends AIReviewCoreController{static get['pluginName'](){return'AIReviewModeController';}['_isDiffOn']=!0x1;['_hasDefaultAvailableCommands']=!0x1;constructor(_0x580835){super(_0x580835),this['_hasDefaultAvailableCommands']=!this['context']['config']['get']('ai.review.availableCommands'),this['context']['config']['define']('ai.review.availableCommands',_0xdf4184['map'](_0x9de8a3=>_0x9de8a3['id'])),this['context']['config']['define']('ai.review.extraCommands',[]);}async['init'](){await super['init'](),this['listenTo'](this['_aiReviewCoreUi'],'toggleDiff',(_0x4a3d26,_0x30a43c)=>{this['_isDiffOn']=_0x30a43c['on'],this['_onDiffChange'](this['_isDiffOn']);});}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x378fd0,_0x322488){return _0x378fd0['isCustom']?new AIReviewCustomCheckRun(_0x378fd0['args']['prompt'],_0x378fd0['args']['model'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x322488,this['_aiConnector']):_0x322488['isExtra']?new AIReviewExtraCheckRun(_0x322488['prompt'],_0x322488['defaultModel']['id'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x322488,this['_aiConnector']):new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x322488,this['_aiConnector'],_0x378fd0['params'],_0x378fd0['args']);}['_onReviewCheckResultActivated'](_0x735955){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x735955['change']['id']),this['_scrollToChange'](_0x735955['change']['id']);const _0x13eed1=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x735955['change']['id']);if(!_0x13eed1)return;const _0x551b51=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x735955['change'],()=>_0x13eed1['getElement'](),void 0x0,'click',_0x551b51?.['editing']?.['view']?.['getDomRoot'](),_0x551b51?.['ui']?.['viewportOffset']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x735955['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreUi']['resetActiveStateInResults'](),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']();}['_onActivateChange'](_0x5e44a3){this['_currentReviewCheckRun']&&'click'===_0x5e44a3['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x5e44a3['id']));}['_onDeactivateChange'](_0xfe917e){this['_currentReviewCheckRun']&&'balloon'===_0xfe917e['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0xbd4e9a,_0x269042){if(!this['_currentReviewCheckRun'])return;this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x269042['changeId']);const _0x17fa45=this['_currentReviewCheckRun']['getChangeById'](_0x269042['changeId']);if(!_0x17fa45)return;const _0x265495=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x17fa45,_0x269042['markerElement'],_0x269042['domEvent'],'click',_0x265495?.['editing']?.['view']?.['getDomRoot'](),_0x265495?.['ui']?.['viewportOffset']);}['_onChangeMarkerHovered'](_0x27a47f,_0x22592c){if(!this['_currentReviewCheckRun'])return;if(this['_currentReviewCheckRun']['isAnyChangeActivated']())return;const _0x5f1dc5=this['_currentReviewCheckRun']['getChangeById'](_0x22592c['changeId']);if(!_0x5f1dc5)return;const _0x2976a7=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x5f1dc5,_0x22592c['markerElement'],_0x22592c['domEvent'],'hover',_0x2976a7?.['editing']?.['view']?.['getDomRoot'](),_0x2976a7?.['ui']?.['viewportOffset']);}['_onChangeMarkerBlurred'](){if(!this['_currentReviewCheckRun'])return;this['_currentReviewCheckRun']['isAnyChangeActivated']()||this['_aiReviewCoreUi']['hideChangeBalloon']();}['_getChangeContentElement'](_0x50c4de){const _0xc9310=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x50c4de);return _0xc9310?_0xc9310['getElement']():null;}['_markChangePositionInEditorContent'](_0x46a97c,_0x5ba8ab){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x46a97c,_0x5ba8ab);}['_diffContent'](_0xcac619,_0x59afa7){return this['_aiReviewCoreEditing']['diffContent'](_0xcac619,_0x59afa7);}['_onReviewCheckRun'](){this['_onDiffChange'](this['_isDiffOn']);}['_onDiffChange'](_0x4735ee){const _0x54295c=this['_aiReviewCoreEditing']['getEditor']();_0x4735ee?this['_aiReviewCoreUi']['hideDiffInBalloon']():this['_aiReviewCoreUi']['showDiffInBalloon'](),_0x54295c&&_0x54295c['editing']['view']['change'](_0x21ac31=>{const _0x32e1e0=_0x54295c['editing']['view']['document']['getRoot']();for(const _0x3cf8e5 of _0x32e1e0['getClassNames']())_0x3cf8e5['startsWith']('ck-ai_review-')&&_0x21ac31['removeClass'](_0x3cf8e5,_0x32e1e0);_0x21ac31['addClass'](_0x4735ee?'ck-ai_review-diff':'ck-ai_review-highlights',_0x32e1e0);});}async['_getChecksList'](){const _0x1e13ea=[..._0xdf4184,...this['_getExtraChecks']()],_0x40f1c1=this['context']['config']['get']('ai.review.availableCommands')||[];this['_logErrorForNonExistentChecks'](_0x40f1c1,_0x1e13ea);let _0x11c4ef=_0x1e13ea;this['_hasDefaultAvailableCommands']||(_0x11c4ef=_0x40f1c1['map'](_0x5d0a6a=>_0x1e13ea['find'](_0x303586=>_0x303586['id']===_0x5d0a6a))['filter'](_0xe2080a=>!!_0xe2080a)),_0x11c4ef=_0x11c4ef['map'](_0x5da3ca=>_0x5da3ca['isExtra']?_0x5da3ca:this['_translateReviewCheck'](_0x5da3ca));const _0xb822d1=_0x11c4ef['some'](_0x2813fe=>_0x2813fe['isExtra']||'custom'===_0x2813fe['id']);let _0xf24e44=[],_0x2db657=[],_0xfaa367=null;if(_0xb822d1){const _0x134be3=await this['_getModels']();_0xf24e44=_0x134be3['all'],_0x2db657=_0x134be3['recommended'],_0xfaa367=_0x134be3['default'];}const _0xe22ba1=new AIReviewModeCheckList(_0xf24e44,_0x2db657,_0xfaa367);return _0xe22ba1['setupChecks'](_0x11c4ef),_0xb822d1&&this['_filterChecksWithMissingModel'](_0xe22ba1),_0xe22ba1;}['_getExtraChecks'](){return(this['context']['config']['get']('ai.review.extraCommands')||[])['map'](_0x3349e2=>({'id':_0x3349e2['id'],'commandId':_0x3349e2['id'],'title':_0x3349e2['label'],'description':_0x3349e2['description'],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x3349e2['prompt'],'model':_0x3349e2['model']}));}['_logErrorForNonExistentChecks'](_0x311121,_0x407d90){const _0x2d48a5=_0x311121['filter'](_0x3c24b4=>!_0x407d90['some'](_0x438bc2=>_0x438bc2['id']===_0x3c24b4));_0x2d48a5['length']&&this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-non-existent-commands-used',this,{'commandIds':_0x2d48a5['join'](',\x20')}),!0x0);}async['_getModels'](){try{const _0x1eaec8=new _0x27c4cb({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});return{'all':await _0x1eaec8['getAll'](),'recommended':await _0x1eaec8['getAvailableModels'](),'default':await _0x1eaec8['getDefault']()};}catch(_0x3b6b1c){return this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-models-unable-to-retrieve',this,void 0x0,_0x3b6b1c)),{'all':[],'recommended':[],'default':null};}}['_translateReviewCheck'](_0xd9ae56){const _0x535169='AI_REVIEW_CHECK_'+_0xd9ae56['id']['toUpperCase']()['replaceAll']('-','_'),_0x639b33={..._0xd9ae56,'title':this['_getTranslationWithDefault'](_0x535169+'_TITLE',_0xd9ae56['title']),'description':this['_getTranslationWithDefault'](_0x535169+'_DESCRIPTION',_0xd9ae56['description'])};return _0xd9ae56['options']&&(_0x639b33['options']=_0xd9ae56['options']['map'](_0x40523d=>({..._0x40523d,'label':this['_getTranslationWithDefault'](_0x535169+'_OPTIONS_LABEL',_0x40523d['label']||''),'data':_0x40523d['data']?_0x40523d['data']['map'](_0x4b5897=>({..._0x4b5897,'label':this['_getTranslationWithDefault'](_0x535169+'_OPTIONS_DATA_'+_0x4b5897['id']['toUpperCase'](),_0x4b5897['label'])})):void 0x0}))),_0x639b33;}['_filterChecksWithMissingModel'](_0x50ca5d){const _0x4615d9=[];_0x50ca5d['checks']['forEach'](_0x43e753=>{(_0x43e753 instanceof AIReviewCheckExtra&&!_0x43e753['defaultModel']||_0x43e753 instanceof AIReviewCheckCustom&&!_0x43e753['models']['length'])&&_0x4615d9['push'](_0x43e753['id']);}),_0x4615d9['length']&&_0x4615d9['forEach'](_0x29a72e=>{_0x50ca5d['removeCheckById'](_0x29a72e),this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-command-unavailable-due-to-missing-model',this,{'commandId':_0x29a72e}),!0x0);});}}class _0x52943b extends ckeditor5['ContextPlugin']{static get['requires'](){return[AIReviewModeController,_0x14406f,AIReviewCoreEditing];}static get['pluginName'](){return'AIReviewMode';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AITranslateCheck extends _0x1dc237{get['apiId'](){return'translate';}}class AITranslateCheckList extends AIReviewCheckList{['setupChecks'](_0x1c4498){this['_checks']=_0x1c4498['map'](_0x2b3afa=>new AITranslateCheck(_0x2b3afa));}}class AITranslateCheckRun extends AIReviewSystemCheckRun{['_title'];constructor(_0x1d3253,_0x47390d,_0x2489f8,_0x1e7833,_0xf313e8,_0xeb1b49){super(_0x1d3253,_0x47390d,_0x2489f8,_0xf313e8,_0xeb1b49),this['_title']=_0x1e7833;}get['title'](){return this['_title'];}get['subTitle'](){return this['_sourceCheck']['title'];}}class AITranslateController extends AIReviewCoreController{static get['pluginName'](){return'AITranslateController';}constructor(_0x592b8a){super(_0x592b8a),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'](_0x8e6b38,_0x88dad5){return new AITranslateCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x88dad5,this['_aiConnector'],getTranslation$i(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),_0x8e6b38['params'],_0x8e6b38['args']);}['_onReviewCheckResultActivated'](_0x341203){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x341203['change']['id']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x341203['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreEditing']['setAllMarkersAsInactive'](),this['_aiReviewCoreUi']['resetActiveStateInResults']();}['_onActivateChange'](_0x1d2fcb){this['_currentReviewCheckRun']&&('hover'===_0x1d2fcb['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x1d2fcb['id'])),'click'===_0x1d2fcb['uiInteraction']&&this['_scrollToChange'](_0x1d2fcb['id']));}['_onDeactivateChange'](_0x27adc0){this['_currentReviewCheckRun']&&'panel'===_0x27adc0['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x8d78f7,_0x4a25e1){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x4a25e1['changeId']),this['_scrollToChange'](_0x4a25e1['changeId']));}['_onChangeMarkerHovered'](_0x40340f,_0x9764c1){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x9764c1['changeId']),this['_aiReviewCoreEditing']['reactivateMarkers'](_0x9764c1['changeId']));}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&'content'===this['_changeActivationSource']&&(this['_currentReviewCheckRun']['deactivateChange'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']());}['_getChangeContentElement'](_0x15dea3){return this['_aiReviewCoreEditing']['getContentElementForChange'](_0x15dea3);}['_markChangePositionInEditorContent'](_0x20f089,_0x5573f2){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x20f089,_0x5573f2);}['_diffContent'](_0x4980c5,_0x3ec372){return this['_aiReviewCoreEditing']['diffContent'](_0x4980c5,_0x3ec372,!0x0);}['_onReviewCheckRun'](){const _0x363d0c=this['_aiReviewCoreEditing']['getEditor']();_0x363d0c&&_0x363d0c['editing']['view']['change'](_0x103674=>{const _0x503e06=_0x363d0c['editing']['view']['document']['getRoot']();for(const _0x41692b of _0x503e06['getClassNames']())(_0x41692b['startsWith']('ck-ai-review-')||'ck-ai-translate-'===_0x41692b)&&_0x103674['removeClass'](_0x41692b,_0x503e06);_0x103674['addClass']('ck-ai-translate-mode-content',_0x503e06);});}async['_getChecksList'](){const _0x5ba91b=[],_0x54fe67=this['context']['config']['get']('ai.translate.languages')||[];for(const _0x12d884 of _0x54fe67)_0x5ba91b['push']({'title':_0x12d884['label'],'id':_0x12d884['id'],'commandId':_0x12d884['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x12d884['id']}});const _0xfaf8dc=new AITranslateCheckList();return _0xfaf8dc['setupChecks'](this['_translateChecks'](_0x5ba91b)),_0xfaf8dc;}['_translateChecks'](_0x12832a){return _0x12832a['map'](_0x4050f3=>{const _0x1fc722='AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_'+_0x4050f3['title']['toUpperCase']()['replaceAll']('-','_');return{..._0x4050f3,'title':this['_getTranslationWithDefault'](_0x1fc722,_0x4050f3['title'])};});}}class AITranslateCheckResultsView extends AIReviewCoreUICheckResultsView{constructor(_0x3ab90a,_0x4c55b9){super(_0x3ab90a,_0x4c55b9),this['on']('set:isLoading',(_0x2da57c,_0x2d9a88,_0x32d1f4)=>{_0x32d1f4&&(this['headerTitle']=getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE'));}),this['on']('set:isResultReady',(_0x5e05b4,_0x52bfe5,_0x22fdd4)=>{_0x22fdd4&&(this['headerTitle']=getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE'));});}['_createAcceptAllButtonView'](){const _0x3f66a3=super['_createAcceptAllButtonView']();return _0x3f66a3['set']('label',getTranslation$i(this['locale'],'AI_TRANSLATE_ACCEPT_ALL')),_0x3f66a3;}['_createExitReviewButtonView'](){const _0x2ef510=super['_createExitReviewButtonView']();return _0x2ef510['set']('label',getTranslation$i(this['locale'],'AI_CHAT_HISTORY_CANCEL')),_0x2ef510;}}class AITranslateCheckListView extends AIReviewCoreReviewCheckListView{['_setupTemplate'](){const _0x35f9d1=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-translate__check-list-wrapper',_0x35f9d1['if']('isVisible','ck-hidden',_0x3effd3=>!_0x3effd3)]},'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',_0x35f9d1['if']('isVisible','ck-hidden',_0x380cf6=>!_0x380cf6)]},'children':this['_checkViews']}]});}}class AITranslateUI extends _0x3adb18{static get['pluginName'](){return'AITranslateUI';}['createMainView'](){const _0x275e72=this['context']['locale'],_0x1b6fd8=new ckeditor5['FormHeaderView'](_0x275e72,{'label':getTranslation$i(_0x275e72,'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'icon':ckeditor5['IconAITranslate'],'class':'ck-ai-header\x20ck-ai-header_review-translate'}),_0x30ee63=new _0x3da741(_0x275e72,{'header':_0x1b6fd8,'list':new AITranslateCheckListView(_0x275e72),'results':new AITranslateCheckResultsView(_0x275e72,{'generalErrorText':getTranslation$i(_0x275e72,'AI_TRANSLATE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x275e72,{'headerText':getTranslation$i(_0x275e72,'AI_TRANSLATE_FINISH_HEADER_TITLE'),'emptyResultsText':getTranslation$i(_0x275e72,'AI_TRANSLATE_EMPTY_RESULTS_TEXT'),'buttonText':getTranslation$i(_0x275e72,'AI_TRANSLATE_FINISH_BUTTON_LABEL')})});return _0x30ee63['extendTemplate']({'attributes':{'class':'ck-ai-translate-mode'}}),_0x30ee63;}['registerTab'](){const _0x4807af=this['context']['plugins']['get']('AITabs');_0x4807af['view']['on']('activateTab',(_0x223580,_0x54859b)=>{'translate'===_0x54859b?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x4807af['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 _0x41ba28 extends ckeditor5['Command']{['_transformCallback'];constructor(_0x353da4,_0x570725){super(_0x353da4),this['_transformCallback']=_0x570725;}['execute'](){const _0x1b5598=this['editor']['model'],_0x595211=Array['from'](this['_getAffectedRanges']()),_0x2626d1=Array['from'](_0x1b5598['document']['selection']['getRanges']());_0x1b5598['change'](_0x1f843a=>{for(const _0x3bd9df of _0x595211)this['_modifyContent'](_0x3bd9df,_0x1f843a);_0x1f843a['setSelection'](_0x2626d1);});}['refresh'](){for(const _0x7cabb9 of this['_getAffectedRanges']())for(const _0x42f03e of _0x7cabb9)if(_0x42f03e['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x4a8622=this['editor']['model'],_0x158747=_0x4a8622['document']['selection'];if(_0x158747['isCollapsed']){const _0xebfaf0=this['_findAncestorTextBlock'](_0x158747['getFirstPosition']()['parent']);return _0xebfaf0?[_0x4a8622['createRangeIn'](_0xebfaf0)]:[];}return _0x158747['getRanges']();}['_modifyContent'](_0x5993f7,_0x44c157){for(const _0x1ae49d of this['_getElementsAllowingText'](_0x5993f7)){const _0x49f20d=this['_getElementTextContent'](_0x1ae49d),_0x2f033b=this['_transformCallback'](_0x49f20d);for(const _0x28f071 of this['_getTextNodesRangeLimited'](_0x1ae49d,_0x5993f7))this['_replaceTextNodeData'](_0x28f071,_0x2f033b,_0x44c157);}}['_findAncestorTextBlock'](_0x3d48d8){const _0x15c116=this['editor']['model']['schema'];if(_0x3d48d8['is']('element')&&_0x15c116['checkChild'](_0x3d48d8,'$text'))return _0x3d48d8;const _0x39ea8b=_0x3d48d8['parent'];return!_0x39ea8b||_0x15c116['isLimit'](_0x3d48d8)?null:this['_findAncestorTextBlock'](_0x39ea8b);}*['_getElementsAllowingText'](_0x51e243){const _0x5529ed=new Set();for(const {item:_0x252475}of _0x51e243['getWalker']()){const _0x102e6c=this['_findAncestorTextBlock'](_0x252475);_0x102e6c&&!_0x5529ed['has'](_0x102e6c)&&(_0x5529ed['add'](_0x102e6c),yield _0x102e6c);}}['_getElementTextContent'](_0x40b000){return Array['from'](_0x40b000['getChildren']())['reduce']((_0x4a9fbd,_0x55cfdd)=>_0x4a9fbd+(_0x55cfdd['is']('$text')?_0x55cfdd['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x37a447,_0x40a03f){const _0x17ee94=_0x40a03f['getIntersection'](this['editor']['model']['createRangeIn'](_0x37a447));if(_0x17ee94){for(const _0x220e42 of _0x17ee94['getItems']())_0x220e42['is']('$textProxy')&&_0x220e42['parent']==_0x37a447&&(yield _0x220e42);}}['_replaceTextNodeData'](_0x3f3f5f,_0x5bf645,_0x8b13d5){const _0x1b20ae=_0x5bf645['substring'](_0x3f3f5f['startOffset'],_0x3f3f5f['endOffset']);if(_0x1b20ae===_0x3f3f5f['data'])return;const _0x2a4ef4=_0x3f3f5f['getAttributes']();this['editor']['model']['insertContent'](_0x8b13d5['createText'](_0x1b20ae,_0x2a4ef4),_0x8b13d5['createSelection'](_0x8b13d5['createRangeOn'](_0x3f3f5f)));}}function getTranslation$g(_0x575bcc,_0x154c5f,..._0x31fb10){const t=_0x575bcc['t'];switch(_0x154c5f){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',..._0x31fb10);default:return _0x154c5f;}}class CaseChangeEditing extends ckeditor5['Plugin']{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5b11db=this['editor'],_0x2d7109=_0x5b11db['locale']['contentLanguage'],_0x3fd84f=_0xb99022(_0x5b11db['config']['get']('caseChange.titleCase.excludeWords')),_0x36adda={'changeCaseUpper':new _0x41ba28(_0x5b11db,_0x7e5e8e=>_0x7e5e8e['toLocaleUpperCase'](_0x2d7109)),'changeCaseLower':new _0x41ba28(_0x5b11db,_0x296ef7=>_0x296ef7['toLocaleLowerCase'](_0x2d7109)),'changeCaseTitle':new _0x41ba28(_0x5b11db,_0x4f8445=>capitalizeText(_0x4f8445,_0x3fd84f,_0x2d7109))};for(const [_0x203839,_0x7ab11e]of Object['entries'](_0x36adda))_0x5b11db['commands']['add'](_0x203839,_0x7ab11e),_0x7ab11e['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x203839);});this['listenTo'](_0x5b11db['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x5b11db['keystrokes']['set']('shift+f3',(_0x186f55,_0x29b5a8)=>{const _0x546e4e=_getOptions(this['editor']['locale']),_0x4d9b8d=_0x546e4e[this['_currentCommandIndex']%_0x546e4e['length']]['commandName'];_0x5b11db['execute'](_0x4d9b8d),this['_currentCommandIndex']++,_0x29b5a8();});}['afterInit'](){_0x449404(this);}['_announceCaseChangeOperation'](_0x3191c6){const {ui:_0xa6a6ab,locale:_0x35fd93}=this['editor'],_0x1d228d=_getOptions(_0x35fd93)['find'](_0x130ea0=>_0x130ea0['commandName']===_0x3191c6)['label']['toLowerCase']();_0xa6a6ab['ariaLiveAnnouncer']['announce'](getTranslation$g(_0x35fd93,'Changed\x20case\x20to\x20%0',_0x1d228d));}}function _getOptions(_0x84d9fe){return[{'label':getTranslation$g(_0x84d9fe,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':getTranslation$g(_0x84d9fe,'lowercase'),'commandName':'changeCaseLower'},{'label':getTranslation$g(_0x84d9fe,'Title\x20Case'),'commandName':'changeCaseTitle'}];}function capitalizeText(_0x13f384,_0x26f204,_0x1aa96d){return _0x155012(_0x13f384,(_0x53d90a,_0x490f11,_0x36079f)=>{const _0x488a01=_0x53d90a['toLocaleLowerCase'](_0x1aa96d);return _0x26f204(_0x488a01,{'charOffset':_0x490f11,'wordIndex':_0x36079f,'blockText':_0x13f384})?_0x488a01:_0x488a01['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x1cf458=>_0x1cf458['toLocaleUpperCase'](_0x1aa96d));});}function _0x155012(_0x362a3f,_0x411677){let _0x37564d='',_0x49fc8c=0x0,_0x1858d0=0x0;for(const _0x132e62 of _0x362a3f['matchAll'](/ +/g)){const _0x64ecb8=_0x132e62['index'],_0x573536=_0x362a3f['substring'](_0x49fc8c,_0x64ecb8);_0x573536['length']&&(_0x37564d+=_0x411677(_0x573536,_0x49fc8c,_0x1858d0++)),_0x37564d+=_0x132e62[0x0],_0x49fc8c=_0x64ecb8+_0x132e62[0x0]['length'];}const _0x3c2371=_0x362a3f['substring'](_0x49fc8c);return _0x3c2371['length']&&(_0x37564d+=_0x411677(_0x3c2371,_0x49fc8c,_0x1858d0)),_0x37564d;}function _0xb99022(_0x3a0396=[]){return'function'==typeof _0x3a0396?_0x3a0396:(_0x2aac9b,{wordIndex:_0x4034d8})=>_0x4034d8>0x0&&_0x3a0396['includes'](_0x2aac9b);}async function _0x449404(_0x228054){const _0x2b31c3=_0x3cc61e([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]),_0x29b8a1=window[_0x3cc61e([0x44,0x61,0x74,0x65])][_0x3cc61e([0x6e,0x6f,0x77])](),_0x5ab6a7=_0x228054[_0x3cc61e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x191bd3=new window[(_0x3cc61e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x500d71=>{_0x5ab6a7[_0x3cc61e([0x6f,0x6e,0x63,0x65])](_0x3cc61e([0x72,0x65,0x61,0x64,0x79]),_0x500d71);}),_0x22ce95={[_0x3cc61e([0x6b,0x74,0x79])]:_0x3cc61e([0x45,0x43]),[_0x3cc61e([0x75,0x73,0x65])]:_0x3cc61e([0x73,0x69,0x67]),[_0x3cc61e([0x63,0x72,0x76])]:_0x3cc61e([0x50,0x2d,0x32,0x35,0x36]),[_0x3cc61e([0x78])]:_0x3cc61e([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]),[_0x3cc61e([0x79])]:_0x3cc61e([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]),[_0x3cc61e([0x61,0x6c,0x67])]:_0x3cc61e([0x45,0x53,0x32,0x35,0x36])},_0x267faf=_0x5ab6a7[_0x3cc61e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3cc61e([0x67,0x65,0x74])](_0x3cc61e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x446b88=await(async function(){let _0x3c644e,_0x313539=null,_0x5e6a4b=null;try{if(_0x267faf==_0x3cc61e([0x47,0x50,0x4c]))return _0x3cc61e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3c644e=(function(){const _0x3b2cc2=_0x267faf[_0x3cc61e([0x73,0x70,0x6c,0x69,0x74])](_0x3cc61e([0x2e]));if(0x3!=_0x3b2cc2[_0x3cc61e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x55ff57=_0x3b2cc2[0x1];return _0x3cec80(_0x55ff57);function _0x3cec80(_0x3729be){const _0x16fd7c=_0x4a9eb4(_0x3729be);return _0x16fd7c&&_0x5852f1()?_0x16fd7c:null;function _0x5852f1(){const _0x1bee5e=_0x16fd7c[_0x3cc61e([0x6a,0x74,0x69])],_0x4ad187=window[_0x3cc61e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bee5e[_0x3cc61e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bee5e[_0x3cc61e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x25a23e={..._0x16fd7c,[_0x3cc61e([0x6a,0x74,0x69])]:_0x1bee5e[_0x3cc61e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1bee5e[_0x3cc61e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x25a23e[_0x3cc61e([0x76,0x63])],_0x393b38(_0x25a23e)==_0x4ad187;}}}()),!_0x3c644e)return _0x3cc61e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x3c644e[_0x3cc61e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e6a4b=function(_0x403998,_0x3b645b){return new window[(_0x3cc61e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ad2c1=>{if(_0x51ae89())return _0x1ad2c1(_0x3cc61e([0x56,0x61,0x6c,0x69,0x64]));_0x42763e(),_0x5ab6a7[_0x3cc61e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3cc61e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f973e=!0x1;const _0x393266=ckeditor5['uid']();function _0xa931bb(_0x32a39b){return!!_0x32a39b&&(typeof _0x32a39b===_0x3cc61e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32a39b===_0x3cc61e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32a39b[_0x3cc61e([0x74,0x68,0x65,0x6e])]===_0x3cc61e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32a39b[_0x3cc61e([0x63,0x61,0x74,0x63,0x68])]===_0x3cc61e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1c8f75(_0x2d4e9b){_0x3e7f20(_0x2d4e9b)[_0x3cc61e([0x74,0x68,0x65,0x6e])](_0x38764f=>{if(!_0x38764f||_0x38764f[_0x3cc61e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3cc61e([0x6f,0x6b]))return _0x3cc61e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x10fe71(_0x393b38(_0x393266+_0x3b645b))!=_0x38764f[_0x3cc61e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3cc61e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3cc61e([0x56,0x61,0x6c,0x69,0x64]);})[_0x3cc61e([0x74,0x68,0x65,0x6e])](_0x43ec0d=>(_0xcc1846(),_0x43ec0d),()=>{const _0x171cf5=_0x1508e2();return null==_0x171cf5?(_0xcc1846(),_0x3cc61e([0x56,0x61,0x6c,0x69,0x64])):_0x3cc61e(_0x29b8a1-_0x171cf5>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3cc61e([0x74,0x68,0x65,0x6e])](_0x1ad2c1)[_0x3cc61e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1ad2c1(_0x3cc61e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x274c62=0x36ee80;function _0xcc1846(){const _0x37d3d9=_0x3cc61e([0x6c,0x6c,0x63,0x74,0x2d])+_0x10fe71(_0x393b38(_0x403998)),_0x1750ef=_0xdf14b4(_0x10fe71(window[_0x3cc61e([0x4d,0x61,0x74,0x68])][_0x3cc61e([0x63,0x65,0x69,0x6c])](_0x29b8a1/_0x274c62)));window[_0x3cc61e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3cc61e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37d3d9,_0x1750ef);}function _0x1508e2(){const _0x8a8b1e=_0x3cc61e([0x6c,0x6c,0x63,0x74,0x2d])+_0x10fe71(_0x393b38(_0x403998)),_0x1d5a52=window[_0x3cc61e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3cc61e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8a8b1e);return _0x1d5a52?window[_0x3cc61e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdf14b4(_0x1d5a52),0x10)*_0x274c62:null;}function _0x3e7f20(_0x286a7a){return new window[(_0x3cc61e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21d140,_0x5ba1f5)=>{_0x286a7a[_0x3cc61e([0x74,0x68,0x65,0x6e])](_0x21d140,_0x5ba1f5),window[_0x3cc61e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5ba1f5,0x1d4c0);});}}_0x5ab6a7[_0x3cc61e([0x6f,0x6e])](_0x3cc61e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x47d81e,_0x43103f)=>{if(_0x43103f[0x0]!=_0x403998)return _0x1ad2c1(_0x3cc61e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x43103f[0x1]={..._0x43103f[0x1],[_0x3cc61e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x393266};},{[_0x3cc61e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3cc61e([0x68,0x69,0x67,0x68])}),_0x5ab6a7[_0x3cc61e([0x6f,0x6e])](_0x3cc61e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30db65=>{_0xa931bb(_0x30db65[_0x3cc61e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f973e=!0x0,_0x1c8f75(_0x30db65[_0x3cc61e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3cc61e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3cc61e([0x6c,0x6f,0x77])}),_0x191bd3[_0x3cc61e([0x74,0x68,0x65,0x6e])](()=>{_0x1f973e||_0x1ad2c1(_0x3cc61e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x51ae89(){return _0x5ab6a7[_0x3cc61e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3cc61e([0x76,0x69,0x65,0x77])][_0x3cc61e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3cc61e([0x61,0x75,0x74,0x6f]);}function _0x42763e(){_0x5ab6a7[_0x3cc61e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3cc61e([0x76,0x69,0x65,0x77])][_0x3cc61e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3cc61e([0x61,0x75,0x74,0x6f]);}}(_0x3c644e[_0x3cc61e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3c644e[_0x3cc61e([0x6a,0x74,0x69])]));const _0xa485f2=await(async function(){let _0x7a0515=!0x0;try{const _0x47a5dd=_0x267faf[_0x3cc61e([0x73,0x70,0x6c,0x69,0x74])](_0x3cc61e([0x2e])),[_0x53e39a,_0x3bacd3,_0xebb7ed]=_0x47a5dd;return _0x32bfde(_0x53e39a),await _0x4439b6(_0x53e39a,_0x3bacd3,_0xebb7ed),_0x7a0515;}catch{return!0x1;}function _0x32bfde(_0x5c6781){const _0x3ec0e4=_0x4a9eb4(_0x5c6781);_0x3ec0e4&&_0x3ec0e4[_0x3cc61e([0x61,0x6c,0x67])]==_0x3cc61e([0x45,0x53,0x32,0x35,0x36])||(_0x7a0515=!0x1);}async function _0x4439b6(_0x48e194,_0x501a72,_0x1a5dc5){const _0xfe7ad8=window[_0x3cc61e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3cc61e([0x66,0x72,0x6f,0x6d])](_0x87cfd9(_0x1a5dc5),_0x5f1224=>_0x5f1224[_0x3cc61e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1567b2=new window[(_0x3cc61e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3cc61e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x48e194+_0x3cc61e([0x2e])+_0x501a72),_0xc6607f=window[_0x3cc61e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3cc61e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc6607f)return;const _0x382374=await _0xc6607f[_0x3cc61e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3cc61e([0x6a,0x77,0x6b]),_0x22ce95,{[_0x3cc61e([0x6e,0x61,0x6d,0x65])]:_0x3cc61e([0x45,0x43,0x44,0x53,0x41]),[_0x3cc61e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3cc61e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3cc61e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc6607f[_0x3cc61e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3cc61e([0x6e,0x61,0x6d,0x65])]:_0x3cc61e([0x45,0x43,0x44,0x53,0x41]),[_0x3cc61e([0x68,0x61,0x73,0x68])]:{[_0x3cc61e([0x6e,0x61,0x6d,0x65])]:_0x3cc61e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x382374,_0xfe7ad8,_0x1567b2)||(_0x7a0515=!0x1);}}());return _0xa485f2?(function(){const _0x3c6c5f=_0x3c644e[_0x3cc61e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3c6c5f)return!0x1;if(_0x3c6c5f[_0x3cc61e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cc61e([0x2a])))return!0x0;if(_0x3c6c5f[_0x3cc61e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cc61e([0x43,0x43])))return!0x0;if(_0x3c6c5f[_0x3cc61e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cc61e([0x50,0x50])))return!0x0;return!0x1;}())?(function(){const _0x44c12e=[_0x3cc61e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3cc61e([0x74,0x72,0x69,0x61,0x6c])][_0x3cc61e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c644e[_0x3cc61e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x29b8a1/0x3e8:0x69e02680;return _0x3c644e[_0x3cc61e([0x65,0x78,0x70])]<_0x44c12e;}())?_0x3cc61e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x15e6ab=_0x3c644e[_0x3cc61e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x15e6ab||0x0==_0x15e6ab[_0x3cc61e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x25207d}=new URL(window[_0x3cc61e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x15e6ab[_0x3cc61e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25207d))return!0x0;const _0x51b12b=_0x25207d[_0x3cc61e([0x73,0x70,0x6c,0x69,0x74])](_0x3cc61e([0x2e]));return _0x15e6ab[_0x3cc61e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18f4a9=>_0x18f4a9[_0x3cc61e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cc61e([0x2a])))[_0x3cc61e([0x6d,0x61,0x70])](_0x1a6306=>_0x1a6306[_0x3cc61e([0x73,0x70,0x6c,0x69,0x74])](_0x3cc61e([0x2e])))[_0x3cc61e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e6cf7=>_0x2e6cf7[_0x3cc61e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x51b12b[_0x3cc61e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3cc61e([0x6d,0x61,0x70])](_0x5dc53a=>Array(_0x51b12b[_0x3cc61e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5dc53a[_0x3cc61e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3cc61e([0x66,0x69,0x6c,0x6c])](_0x5dc53a[0x0]===_0x3cc61e([0x2a])?_0x3cc61e([0x2a]):'')[_0x3cc61e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5dc53a))[_0x3cc61e([0x73,0x6f,0x6d,0x65])](_0x4912a1=>_0x51b12b[_0x3cc61e([0x65,0x76,0x65,0x72,0x79])]((_0x1ddcd6,_0x12d95c)=>_0x4912a1[_0x12d95c]===_0x1ddcd6||_0x4912a1[_0x12d95c]===_0x3cc61e([0x2a])));}())?(_0x3c644e[_0x3cc61e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3cc61e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x313539=function(_0x313a75){const _0x556595=new window[(_0x3cc61e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x745fc6=>setTimeout(_0x745fc6,0x93ecc)),_0x35a40e=_0x191bd3[_0x3cc61e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3cc61e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1096c9=>{let _0x5cc5e9=0x0;_0x5ab6a7[_0x3cc61e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc61e([0x6f,0x6e])](_0x3cc61e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x378d37,_0x155d7f)=>{_0x155d7f[0x0][_0x3cc61e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5cc5e9++,0x5e8==_0x5cc5e9&&(_0x1096c9(),_0x378d37[_0x3cc61e([0x6f,0x66,0x66])]());});})),_0x136ff1=[_0x556595,_0x35a40e];return window[_0x3cc61e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3cc61e([0x72,0x61,0x63,0x65])](_0x136ff1)[_0x3cc61e([0x74,0x68,0x65,0x6e])](()=>_0x313a75);}(_0x3cc61e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x313539&&_0x5e6a4b)return new window[(_0x3cc61e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53adb6,_0x31abf4)=>{_0x313539[_0x3cc61e([0x74,0x68,0x65,0x6e])](_0x53adb6,_0x31abf4),_0x5e6a4b[_0x3cc61e([0x74,0x68,0x65,0x6e])](_0x4c2e4d=>{_0x4c2e4d!=_0x3cc61e([0x56,0x61,0x6c,0x69,0x64])&&_0x53adb6(_0x4c2e4d);},_0x31abf4);});return _0x313539||_0x5e6a4b||_0x3cc61e([0x56,0x61,0x6c,0x69,0x64]);}())):_0x3cc61e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3cc61e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3cc61e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3cc61e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4a9eb4(_0x140454){return _0x140454[_0x3cc61e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3cc61e([0x65,0x79]))?JSON[_0x3cc61e([0x70,0x61,0x72,0x73,0x65])](_0x87cfd9(_0x140454)):null;}function _0x87cfd9(_0x2221f2){return window[_0x3cc61e([0x61,0x74,0x6f,0x62])](_0x2221f2[_0x3cc61e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3cc61e([0x2b]))[_0x3cc61e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3cc61e([0x2f])));}function _0x393b38(_0x14b9b4){let _0x452795=0x1505;function _0x4a5992(_0x3b7696){for(let _0x50dd42=0x0;_0x50dd42<_0x3b7696[_0x3cc61e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50dd42++){const _0x44fc97=_0x3b7696[_0x3cc61e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50dd42);_0x452795=(_0x452795<<0x5)+_0x452795+_0x44fc97,_0x452795&=_0x452795;}}return function _0x316dcf(_0x1eb232){Array[_0x3cc61e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1eb232)?_0x1eb232[_0x3cc61e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x316dcf):_0x1eb232&&typeof _0x1eb232==_0x3cc61e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3cc61e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1eb232)[_0x3cc61e([0x73,0x6f,0x72,0x74])]()[_0x3cc61e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x38da92,_0xd8e228])=>{_0x4a5992(_0x38da92),_0x316dcf(_0xd8e228);}):_0x4a5992(window[_0x3cc61e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1eb232));}(_0x14b9b4),_0x452795>>>0x0;}function _0x10fe71(_0x48e046){return _0x48e046[_0x3cc61e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3cc61e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3cc61e([0x30]));}function _0xdf14b4(_0x44f580){return _0x44f580[_0x3cc61e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3cc61e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3cc61e([0x6a,0x6f,0x69,0x6e])]('');}function _0x2bd194(){}function _0x3cc61e(_0x347c10){return _0x347c10['map'](_0x559557=>String['fromCharCode'](_0x559557))['join']('');}!function(_0x9606c3){const _0x560fa6=(function(){const _0x9a9d46=window[_0x3cc61e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3cc61e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3cc61e([0x6e,0x6f,0x77])]())[_0x3cc61e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3cc61e([0x2e]),'');let _0x46d61c=_0x3cc61e([0x45]);for(let _0x377f50=0x0;_0x377f50<_0x9a9d46[_0x3cc61e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x377f50+=0x2){let _0x10e1e1=window[_0x3cc61e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9a9d46[_0x3cc61e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x377f50,_0x377f50+0x2));_0x10e1e1>=_0x2b31c3[_0x3cc61e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10e1e1-=_0x2b31c3[_0x3cc61e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x46d61c+=_0x2b31c3[_0x10e1e1];}return _0x46d61c;}());_0x5ab6a7[_0x560fa6]=_0x3cc61e([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x9606c3,_0x9606c3!=_0x3cc61e([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x191bd3,_0x5ab6a7[_0x3cc61e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc61e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2bd194,_0x5ab6a7[_0x3cc61e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc61e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2bd194,_0x5ab6a7[_0x3cc61e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3cc61e([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x446b88);}class _0x48d06d extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x8c9e4e=this['editor'];this['_registerComponents'](),_0x8c9e4e['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':getTranslation$g(_0x8c9e4e['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x744438=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2b3754;for(const _0x57285c in _0x744438){const _0x445c0c=_0x57285c,_0xc654ee=_0x744438[_0x445c0c];if('caseChangeLicenseKeyValid'==_0xc654ee||'caseChangeLicenseKeyInvalid'==_0xc654ee||'caseChangeLicenseKeyExpired'==_0xc654ee||'caseChangeLicenseKeyDomainLimit'==_0xc654ee||'caseChangeLicenseKeyNotAllowed'==_0xc654ee||'caseChangeLicenseKeyEvaluationLimit'==_0xc654ee||'caseChangeLicenseKeyUsageLimit'==_0xc654ee){delete _0x744438[_0x445c0c],_0x2b3754=_0xc654ee,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x2b3754&&_0x744438['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x2b3754&&_0x744438['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x2b3754&&_0x744438['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x2b3754&&_0x744438['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x2b3754&&_0x744438['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x2b3754&&_0x744438['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x37bebd=this['editor'],{itemDefinitions:_0x22ba60,commands:_0x59d0ab}=this['_getListItemDefinitionsAndCommands']();_0x37bebd['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x22ba60,_0x59d0ab)),_0x37bebd['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x22ba60,_0x59d0ab));}['_createMenuBarMenuView'](_0x33f2b3,_0x47e88f){const _0x319af7=this['editor'],_0x5a7155=_0x319af7['locale'],_0x5e0b4d=new ckeditor5['MenuBarMenuView'](_0x5a7155),_0x46079e=new ckeditor5['MenuBarMenuListView'](_0x5a7155);_0x46079e['set']({'ariaLabel':getTranslation$g(_0x5a7155,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x5e0b4d['buttonView']),_0x5e0b4d['bind']('isEnabled')['toMany'](_0x47e88f,'isEnabled',(..._0x3cc74a)=>_0x3cc74a['some'](_0x2b3048=>_0x2b3048));for(const _0x16c4d4 of _0x33f2b3){const _0x1fb8f2=new ckeditor5['MenuBarMenuListItemView'](_0x5a7155,_0x5e0b4d),_0x8f2a7d=new ckeditor5['MenuBarMenuListItemButtonView'](_0x5a7155);_0x8f2a7d['delegate']('execute')['to'](_0x5e0b4d),_0x8f2a7d['bind'](...Object['keys'](_0x16c4d4['model']))['to'](_0x16c4d4['model']),_0x8f2a7d['on']('execute',()=>{_0x319af7['execute'](_0x16c4d4['model']['commandName']),_0x319af7['editing']['view']['focus']();}),_0x1fb8f2['children']['add'](_0x8f2a7d),_0x46079e['items']['add'](_0x1fb8f2);}return _0x5e0b4d['panelView']['children']['add'](_0x46079e),_0x5e0b4d;}['_createDropdownView'](_0x4e6b7f,_0x2a23df){const _0x156c77=this['editor'],_0x13bfea=ckeditor5['createDropdown'](_0x156c77['locale']);return this['_setButtonProperties'](_0x13bfea['buttonView']),_0x13bfea['buttonView']['set']({'tooltip':!0x0}),_0x13bfea['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),ckeditor5['addListToDropdown'](_0x13bfea,_0x4e6b7f,{'ariaLabel':getTranslation$g(_0x156c77['locale'],'Case\x20change'),'role':'menu'}),_0x13bfea['bind']('isEnabled')['toMany'](_0x2a23df,'isEnabled',(..._0x3cddc6)=>_0x3cddc6['some'](_0x2f5a8c=>_0x2f5a8c)),this['listenTo'](_0x13bfea,'execute',_0x477f0f=>{_0x156c77['execute'](_0x477f0f['source']['commandName']),_0x156c77['editing']['view']['focus']();}),_0x13bfea;}['_setButtonProperties'](_0x36077b){const _0x1ef0f7=this['editor'];_0x36077b['set']({'label':getTranslation$g(_0x1ef0f7['locale'],'Case\x20change'),'icon':ckeditor5['IconCaseChange'],'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x589435=new ckeditor5['Collection'](),_0x1a8ab1=[];for(const _0x2574c6 of _getOptions(this['editor']['locale'])){const _0xe12c1b=this['editor']['commands']['get'](_0x2574c6['commandName']),_0x4ffd33=new ckeditor5['UIModel']({'commandName':_0x2574c6['commandName'],'label':_0x2574c6['label'],'role':'menuitemradio','withText':!0x0});_0x4ffd33['bind']('isEnabled')['to'](_0xe12c1b,'isEnabled'),_0x589435['add']({'type':'button','model':_0x4ffd33}),_0x1a8ab1['push'](_0xe12c1b);}return{'itemDefinitions':_0x589435,'commands':_0x1a8ab1};}}class _0x388161 extends ckeditor5['Plugin']{static get['requires'](){return[CaseChangeEditing,_0x48d06d];}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(_0x2bfa3c,_0x40bb22){super(),this['model']=_0x2bfa3c,this['model']['_isAttached']=!0x0,this['view']=_0x40bb22,this['listenTo'](_0x40bb22,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x40bb22,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x40bb22,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x40bb22,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x40bb22,'addComment',(_0x2c65fa,_0x481552)=>this['addComment'](_0x481552)),this['listenTo'](_0x40bb22,'updateComment',(_0x3ae556,_0x4baaa9,_0x473767)=>this['updateComment'](_0x4baaa9,_0x473767)),this['listenTo'](_0x40bb22,'removeComment',(_0xcebddd,_0x2ae2ea)=>this['removeComment'](_0x2ae2ea));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0xb8c69d){this['model']['addComment']({'content':_0xb8c69d,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x1ead25,_0x53eebb){this['model']['getComment'](_0x1ead25)['update']({'content':_0x53eebb});}['removeComment'](_0x2c308b){this['model']['getComment'](_0x2c308b)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function getTranslation$f(_0x5a75b2,_0x174f5a,_0x131ec6){const t=_0x5a75b2['t'];switch(_0x174f5a){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'},_0x131ec6);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'},_0x131ec6);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'},_0x131ec6);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'},_0x131ec6);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x131ec6);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'},_0x131ec6);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'},_0x131ec6);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'},_0x131ec6);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(_0x159902,_0x23582c){super(_0x159902);const _0x2725c5=ckeditor5['uid']();this['main']=this['createCollection'](),this['editable']=new ckeditor5['InlineEditableUIView'](_0x159902,_0x23582c,void 0x0,{'label':()=>getTranslation$f(_0x159902,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x159902['uiLanguageDirection'],'lang':_0x159902['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x2725c5},'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(_0x2197d8){super(_0x2197d8),this['view']=new CommentEditorUIView(_0x2197d8['locale'],_0x2197d8['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x2632df=this['editor']['editing']['view'],_0x71f7b1=this['view']['editable'],_0x52728d=_0x2632df['document']['getRoot']();_0x71f7b1['name']=_0x52728d['rootName'],this['view']['render']();const _0x1ccea7=_0x71f7b1['element'];this['setEditableElement'](_0x71f7b1['name'],_0x1ccea7),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2632df['attachDomRoot'](_0x1ccea7),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(_0xbc34d3={}){function _0x5b23bf(_0x25f4bb){return _0x25f4bb['map'](_0x131295=>String['fromCharCode'](_0x131295))['join']('');}(_0xbc34d3=Object['assign']({},_0xbc34d3))['plugins']||(_0xbc34d3['plugins']=CommentEditor['defaultPlugins']),super(_0xbc34d3),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[_0x5b23bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b23bf([0x76,0x69,0x65,0x77])][_0x5b23bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5b23bf([0x61,0x75,0x74,0x6f]),this[_0x5b23bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x5b23bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5b23bf([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x5b23bf([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x5b23bf([0x6f,0x6b])});}['create'](){const _0x11c489=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x11c489))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x5884e4=>{const _0x356268=this['model']['document']['getRoot'](),_0x3241b9=_0x356268&&_0x356268['getChild'](_0x356268['childCount']-0x1);_0x5884e4['setSelection'](_0x3241b9,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x29cad7=this['editing']['view'],_0x1a5647=_0x29cad7['document']['getRoot'](),_0x2a8448=_0x1a5647['getChild'](0x0);_0x1a5647['childCount']>0x1||!_0x2a8448||'p'!=_0x2a8448['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(ckeditor5['disableViewPlaceholder'](_0x29cad7,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x2a8448['placeholder']=this['placeholder']),ckeditor5['enableViewPlaceholder']({'view':_0x29cad7,'element':_0x2a8448,'keepOnFocus':!0x0}),this['placeholderElement']=_0x2a8448);}}class CommentInputView extends ckeditor5['View']{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x52e7fa,_0x292ccf={}){super(_0x52e7fa),this['editor']=null,this['_editorConfig']=_0x292ccf,this['set']('value',_0x292ccf['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',getTranslation$f(_0x52e7fa,'Reply...')),this['set']('submitLabel',getTranslation$f(_0x52e7fa,'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'],'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',(_0x31c194,_0x11f13e)=>{this['cancelButtonView']['fire']('execute'),_0x11f13e();}),this['keystrokes']['set']('Ctrl+Enter',(_0x1801d0,_0x1ca048)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x1ca048());}),this['on']('submit',(_0x2438e1,_0x2fd238)=>{_0x2fd238['length']>0xfde8?(alert(getTranslation$f(_0x52e7fa,'TOO_LONG_COMMENT_ALERT',[_0x2fd238['length'],0xfde8])),_0x2438e1['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 _0x766ece=this['editor'];this['element']['insertBefore'](_0x766ece['ui']['element'],this['element']['firstChild']),_0x766ece['model']['document']['on']('change',()=>this['value']=_0x766ece['getData']()),_0x766ece['bind']('placeholder')['to'](this),this['focusables']['add'](_0x766ece['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0xf870b9){-0x1===_0xf870b9?(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:_0x49f9a8}=this,_0xd6ad46=new ckeditor5['ButtonView'](_0x49f9a8);return _0xd6ad46['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0xd6ad46['withText']=!0x0,_0xd6ad46['bind']('label')['to'](this,'submitLabel'),_0xd6ad46['on']('execute',()=>{this['fire']('submit',this['value']);}),_0xd6ad46['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x1820b5,_0x22a8a6)=>!_0x22a8a6&&!!_0x1820b5['trim']()),_0xd6ad46;}['_createCancelButton'](){const {locale:_0x54152d}=this,_0x19cd5e=new ckeditor5['ButtonView'](_0x54152d);return _0x19cd5e['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x19cd5e['label']=getTranslation$f(_0x54152d,'Cancel'),_0x19cd5e['withText']=!0x0,_0x19cd5e['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x19cd5e;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x4bcb4e=>{this['focusTracker']['add'](_0x4bcb4e['element']);}),this['focusables']['on']('change',(_0x1200a1,_0x328cd1)=>{for(const _0x29dfcf of Array['from'](_0x328cd1['added'])['reverse']())this['focusTracker']['add'](_0x29dfcf['element']);});}}class CommentThreadInputView extends ckeditor5['View']{constructor(_0xb64c6,_0x3a20ee,_0x86fff6){super(_0xb64c6),this['commentInputView']=new CommentInputView(_0xb64c6,_0x86fff6),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0xb5c4d3,_0x190045)=>_0xb5c4d3||!!_0x190045),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 _0x267a8b(_0xb64c6,_0x3a20ee),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'](_0x404d8a){this['commentInputView']['focus'](_0x404d8a);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0x325d0b,_0x21f7a4)=>{const {submitButtonView:_0x5ef16e,cancelButtonView:_0x288b10,editor:_0x2f0abd}=this['commentInputView'];[_0x5ef16e['element'],_0x288b10['element'],_0x2f0abd?_0x2f0abd['editing']['view']['getDomRoot']():null]['filter'](_0x4f23cd=>_0x4f23cd)['some'](_0x3d1e2d=>_0x3d1e2d['contains'](_0x21f7a4['target']))||(this['focus'](),_0x21f7a4['preventDefault']());});}}class CollapsedCommentsView extends ckeditor5['View']{constructor(_0x382c59){super(_0x382c59);const _0x3adce4=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x3adce4['to']('count',_0x210845=>getTranslation$f(_0x382c59,'NUMBER_OF_COMMENTS',_0x210845))}]});}}class CommentsListView extends ckeditor5['View']{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x5560e2,_0x2654d2,_0x314228){super(_0x5560e2);const _0x2d88f1=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x2654d2['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x2654d2,this['_config']=_0x314228,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':_0x2ed2c1=>this['commentViews']['map'](_0x6364cc=>_0x6364cc['element'])['includes'](_0x2ed2c1['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new CollapsedCommentsView(_0x5560e2),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x18dce6=>_0x18dce6-this['_config']['maxCommentsWhenCollapsed']);for(const _0x42e76c of _0x2654d2['comments'])this['_handleNewCommentModel'](_0x42e76c);this['_handleInfoComment'](),this['listenTo'](_0x2654d2['comments'],'add',(_0x8b1214,_0x5c4155)=>{const _0x29b35c=this['_calculatePosition'](_0x5c4155);this['length']++,this['_handleNewCommentModel'](_0x5c4155,_0x29b35c),this['refreshVisibleViews']();}),this['listenTo'](_0x2654d2['comments'],'remove',(_0x2d9e3b,_0x327b7f)=>{this['length']--,this['_handleRemoveCommentModel'](_0x327b7f),this['refreshVisibleViews']();}),this['listenTo'](_0x2654d2,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x2654d2,'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',_0x2d88f1['if']('length','ck-hidden',_0x56fc0f=>!_0x56fc0f)],'aria-label':getTranslation$f(_0x5560e2,'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'](_0x5f495f){-0x1===_0x5f495f?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x5a75b6 of this['commentViews'])_0x5a75b6['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x843136,_0x2d9371){const _0x5cea28=new this['_config']['CommentView'](this['locale'],_0x843136,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x5cea28['viewUid']=_0x843136['id'],_0x5cea28['delegate']('removeComment')['to'](this),_0x5cea28['delegate']('updateComment')['to'](this),_0x5cea28['delegate']('resolveCommentThread')['to'](this),_0x5cea28['delegate']('editorReady')['to'](this),_0x5cea28['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x5cea28,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x5cea28,_0x2d9371);}['_calculatePosition'](_0x46c84f){const _0x218c27=this['_model']['_findOptimalIndex'](_0x46c84f);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x46c84f['authoredAt']?_0x218c27-0x1:_0x218c27:_0x218c27-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x1a36ac={'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'],_0x1a36ac,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x1a36ac));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x48ca9e){const _0x3191a8=this['commentViews']['remove'](_0x48ca9e['id']);this['stopListening'](_0x3191a8),_0x3191a8['isEditMode']&&this['_updateHasDirtyComment'](),_0x3191a8['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x2a4f9e=>_0x2a4f9e['isEditMode']);}['_rearrangeCollapse'](){const _0x57f0db=cloneCollection(this['commentViews']),_0x2fd6c5=this['_collapsedCommentsView']['count'];for(let _0x262a87=0x1;_0x262a87<=_0x2fd6c5;_0x262a87++)_0x57f0db['remove'](0x1);for(const _0x58fa0a of _0x57f0db)_0x58fa0a['collapse']();_0x2fd6c5>0x0&&_0x57f0db['add'](this['_collapsedCommentsView'],0x1),applyDiffToCollection(ckeditor5['diff'](Array['from'](this['visibleViews']),Array['from'](_0x57f0db)),this['visibleViews'],_0x57f0db);}['_rearrangeExpand'](){applyDiffToCollection(ckeditor5['diff'](Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x5d78e2 of this['visibleViews'])_0x5d78e2['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0xb0b178=>{this['focusTracker']['add'](_0xb0b178['element']),this['keystrokes']['listenTo'](_0xb0b178['element']);}),this['commentViews']['on']('change',(_0xac75e,_0x3f6e93)=>{for(const _0x57d9ac of _0x3f6e93['removed'])this['focusTracker']['remove'](_0x57d9ac['element']),this['keystrokes']['stopListening'](_0x57d9ac['element']);for(const _0x4fbfc8 of Array['from'](_0x3f6e93['added'])['reverse']())this['focusTracker']['add'](_0x4fbfc8['element']),this['keystrokes']['listenTo'](_0x4fbfc8['element']);});}}function cloneCollection(_0x541fc2){const _0x35a763=new ckeditor5['Collection']();for(const _0x21a636 of _0x541fc2)_0x35a763['add'](_0x21a636);return _0x35a763;}function applyDiffToCollection(_0x2b35c6,_0x72e6e1,_0x84d538){let _0x4e63e8=0x0;for(const _0x2ef6f9 of _0x2b35c6)switch(_0x2ef6f9){case'insert':_0x72e6e1['add'](_0x84d538['get'](_0x4e63e8),_0x4e63e8),_0x4e63e8++;break;case'delete':_0x72e6e1['remove'](_0x4e63e8);break;case'equal':_0x4e63e8++;}}class CommentThreadHeaderContextView extends ckeditor5['View']{constructor(_0x3e8c28){super(_0x3e8c28);const _0x190906=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x190906['to']('contextValue',_0x3f76ea=>getTranslation$f(_0x3e8c28,'THREAD_CONTEXT_LABEL',_0x3f76ea)),'tabindex':-0x1},'children':[{'text':_0x190906['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}const _0x55f0fa=0x96;class CommentThreadHeaderView extends ckeditor5['View']{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x2c23af,_0x433936){super(_0x2c23af);const _0xd190e6=this['bindTemplate'];this['_model']=_0x433936,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',_0x3bf02b=>!!_0x3bf02b),this['bind']('contextValue')['to'](this['_model'],'context',_0x5b43f5=>_0x5b43f5&&_0x5b43f5['value']?this['_trimContextValue'](_0x5b43f5['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',_0xd190e6['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 _0x3d8502=new ckeditor5['ButtonView'](this['locale']);return _0x3d8502['label']=getTranslation$f(this['locale'],'Reopen'),_0x3d8502['tooltip']=getTranslation$f(this['locale'],'Reopen'),_0x3d8502['icon']=ckeditor5['IconUndo'],_0x3d8502['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x3d303a=>!_0x3d303a),_0x3d8502['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0xde6086,_0xcddb8c)=>_0xde6086&&_0xcddb8c),_0x3d8502['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x3d8502;}['_trimContextValue'](_0x1ccccb){const _0x38bc06=_0x55f0fa-0x3;if(_0x1ccccb['length']<_0x55f0fa)return _0x1ccccb;const _0x26e8cf=_0x1ccccb['lastIndexOf']('\x20',_0x38bc06);return _0x1ccccb['substring'](0x0,_0x26e8cf>-0x1?_0x26e8cf:_0x38bc06)+'...';}['_attachContextActions'](){const _0x31c879=this['element']['querySelector']('.ck-context'),_0x3ec65e=_0x31c879['querySelector']('.ck-context__value');this['listenTo'](_0x31c879,'mouseenter',()=>{_0x3ec65e['offsetWidth']<_0x3ec65e['scrollWidth']&&_0x31c879['classList']['add']('overlay');}),this['listenTo'](_0x31c879,'mouseleave',()=>{_0x31c879['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0xf0c6a9 of this['focusables'])this['focusTracker']['add'](_0xf0c6a9['element']),this['keystrokes']['listenTo'](_0xf0c6a9['element']);}['_createContextView'](){const _0x2cd48b=new CommentThreadHeaderContextView(this['locale']);return _0x2cd48b['bind']('contextValue')['to'](this),_0x2cd48b;}}class BaseCommentThreadView extends ckeditor5['View']{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x432eca,_0x30f301,_0x562da4,_0x435336){super(_0x432eca),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x30f301,this['_localUser']=_0x562da4,this['_config']=_0x435336,this['commentThreadHeaderView']=new CommentThreadHeaderView(_0x432eca,_0x30f301),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new AriaDescriptionView(_0x432eca,getTranslation$f(_0x432eca,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new CommentsListView(_0x432eca,_0x30f301,Object['assign']({'CommentView':this['_config']['CommentView']},_0x435336)),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',(_0x8bd588,_0x48c251)=>_0x8bd588||!!_0x48c251),this['bind']('isUnlinked')['to'](_0x30f301,'unlinkedAt',_0x3858f6=>!!_0x3858f6),this['bind']('ariaLabel')['to'](this,'length',_0x36c7c6=>{const _0x3d5f2e=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return getTranslation$f(this['locale'],'COMMENT_THREAD_LABEL',[_0x36c7c6,_0x3d5f2e]);}),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':_0x1138a8=>_0x1138a8['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 _0x46ea8c=new CommentThreadInputView(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x3c4292=_0x46ea8c['commentInputView'];return _0x46ea8c['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x3c4292,'value',(_0x40b1f4,_0xcba267,_0x24c840,_0x1398ff,_0x469030)=>!!_0x469030||!!_0x1398ff&&_0x24c840&&!_0xcba267||_0x40b1f4&&_0x24c840&&!_0xcba267),_0x3c4292['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x5d1c92,_0x37fb16,_0x54d23f)=>{let _0x4ae47f;return _0x4ae47f=_0x54d23f&&_0x37fb16?'Reply\x20to\x20reopen\x20discussion...':_0x5d1c92?'Reply...':'Write\x20a\x20comment...',getTranslation$f(this['locale'],_0x4ae47f);}),_0x3c4292['bind']('submitLabel')['to'](this,'length',_0x47933a=>getTranslation$f(this['locale'],_0x47933a?'Reply':'Comment')),_0x3c4292['on']('submit',(_0x5a1525,_0x2c4ccc)=>{this['fire']('addComment',_0x2c4ccc),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x3c4292['on']('cancel',()=>{this['focus']();}),_0x3c4292['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x3c4292['on']('cancel',_0xe39520=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0xe39520['stop']());}),this['on']('change:isActive',(_0x2706a6,_0x376e41,_0xdc8c2b)=>{_0xdc8c2b||this['length']||_0x3c4292['value']||this['fire']('removeCommentThread');}),_0x46ea8c;}}class CommentThreadView extends/* #__PURE__ -- @preserve */
_0x46dab4(BaseCommentThreadView){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x403e6d,_0x48c0d0,_0x3bc7d3,_0x9df19b){super(_0x403e6d,_0x48c0d0,_0x3bc7d3,_0x9df19b),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x403e6d,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x28f02b,_0x159193,_0x2f593c)=>{_0x2f593c||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x432ca7,_0x35d5a8,_0xacaeea)=>{_0xacaeea&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x84d31f=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0x84d31f['if']('isActive','ck-thread--active'),_0x84d31f['if']('isUnlinked','ck-thread--unlinked'),_0x84d31f['to']('actionIndicator',_0x469980=>_0x469980?'ck-thread--'+_0x469980:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x84d31f['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 _0x507a54 of this['commentsListView']['commentViews'])_0x507a54['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x15983d}=this,_0x3ba0b1=this['commentsListView']['commentViews']['get'](0x0);_0x3ba0b1===this['_boundFirstCommentView']||_0x3ba0b1['isSystemComment']||(this['_boundFirstCommentView']=_0x3ba0b1,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x3ba0b1,'actionIndicator',_0x38e7fe=>'remove'===_0x38e7fe?'remove':null),_0x3ba0b1['placeholder']=getTranslation$f(_0x15983d,'Write\x20a\x20comment...'),_0x3ba0b1['removeButton']['on']('execute',_0x2cb65c=>{_0x2cb65c['stop'](),this['showConfirm'](getTranslation$f(_0x15983d,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x3ba0b1['focus']();}),_0x3ba0b1['actionBar']['add'](this['resolveButton'],0x0),_0x3ba0b1['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x187826=new LateFocusButtonView(this['locale']);return _0x187826['label']=getTranslation$f(this['locale'],'Resolve'),_0x187826['tooltip']=getTranslation$f(this['locale'],'Resolve'),_0x187826['icon']=ckeditor5['IconCheck'],_0x187826['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x187826['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x46edcc=>!_0x46edcc),_0x187826['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x4049e7,_0x24a815)=>_0x4049e7&&!_0x24a815),_0x187826['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x187826;}['_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(_0x3eb5ff){super(_0x3eb5ff),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x5544ae,_0xdd0f1a,_0x3a921c)=>{this['element']['innerHTML']=_0x3a921c;}),this['element']['innerHTML']=this['content'];}}class BaseCommentView extends ckeditor5['View']{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x4fd835,_0x26e569,_0x1674ad){super(_0x4fd835),this['_model']=_0x26e569,this['_config']=_0x1674ad,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x26e569,'content',_0x26e569,'authoredAt',(_0xab6dd2,_0x339f03)=>getTranslation$f(_0x4fd835,'COMMENT_ARIA_LABEL',[_0x26e569['author']['name'],_0x1674ad['formatDateTime'](_0x339f03),new DOMParser()['parseFromString'](_0xab6dd2,'text/html')['body']['textContent'],_0x26e569['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new AriaDescriptionView(_0x4fd835,getTranslation$f(_0x4fd835,'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':_0x137783=>_0x137783['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 _0x5bdedd=new CommentContentView(this['locale']);return _0x5bdedd['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0xc57a69,_0x1b81b7)=>_0x1b81b7?trimHtml(_0xc57a69,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0xc57a69),_0x5bdedd;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x452500=new CommentInputView(this['locale'],this['_config']['editorConfig']);return _0x452500['value']=this['_model']['content'],_0x452500['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x452500['submitLabel']=getTranslation$f(this['locale'],'Save'),_0x452500['on']('submit',(_0x2f2c73,_0x547147)=>{this['fire']('updateComment',this['_model']['id'],_0x547147),this['switchToDisplayMode'](),this['focus']();}),_0x452500['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x452500['once']('editorReady',()=>{_0x452500['focus']();}),_0x452500['createEditor'](),_0x452500['delegate']('editorReady')['to'](this),_0x452500['delegate']('editorDestroyed')['to'](this),_0x452500;}['_setupKeyboardNavigation'](){const _0x3b8ec1=this['element'];this['keystrokes']['listenTo'](_0x3b8ec1);for(const _0x33fe69 of this['focusables'])this['focusTracker']['add'](_0x33fe69['element']),this['keystrokes']['listenTo'](_0x33fe69['element']);this['focusables']['on']('change',(_0x3360a6,_0x575a22)=>{for(const _0x4abde9 of _0x575a22['removed'])this['focusTracker']['remove'](_0x4abde9['element']),this['keystrokes']['stopListening'](_0x4abde9['element']);for(const _0x143a8b of _0x575a22['added'])this['focusTracker']['add'](_0x143a8b['element']),this['keystrokes']['listenTo'](_0x143a8b['element']);}),this['keystrokes']['set']('enter',(_0x327da9,_0x55a15a)=>{_0x3b8ec1===_0x327da9['target']&&(this['focusCycler']['focusFirst'](),_0x55a15a());}),this['keystrokes']['set']('esc',(_0x583e7b,_0xef4de7)=>{_0x3b8ec1!==_0x583e7b['target']&&(this['focus'](),_0xef4de7());});}}class CommentView extends/* #__PURE__ -- @preserve */
_0x46dab4(BaseCommentView){['actionBar'];['userView'];constructor(_0x122c3f,_0x3908f0,_0x584ae9){super(_0x122c3f,_0x3908f0,_0x584ae9),this['set']('actionIndicator',null),this['set']('placeholder',getTranslation$f(_0x122c3f,'Reply...')),this['bind']('authoredAt')['to'](_0x3908f0),this['bind']('resolvedAt')['to'](_0x3908f0),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 _0x267a8b(_0x122c3f,_0x3908f0['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x3908f0,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x28966f=this['bindTemplate'],_0x5369b9=[{'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':_0x28966f['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x28966f['to']('authoredAt',_0xbfb0=>this['_config']['formatDateTime'](_0xbfb0))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x28966f['if']('isEditMode','ck-comment__actions--hidden'),_0x28966f['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']&&_0x5369b9['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0x28966f['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x28966f['if']('isEditMode','ck-comment--edit'),_0x28966f['if']('isSystemComment','ck-comment--info'),_0x28966f['to']('actionIndicator',_0x2aa523=>_0x2aa523?'ck-comment--'+_0x2aa523:'')],'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':_0x5369b9}]}]};}['_createEditButton'](){const _0x376bff=new ckeditor5['ButtonView'](this['locale']);return _0x376bff['label']=getTranslation$f(this['locale'],'Edit'),_0x376bff['icon']=ckeditor5['IconPencil'],_0x376bff['withText']=!0x0,_0x376bff['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x376bff['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x1125cb=>!_0x1125cb),_0x376bff['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x376bff['on']('execute',()=>this['switchToEditMode']()),_0x376bff;}['_createRemoveButton'](){const _0xcb0abf=new ckeditor5['ButtonView'](this['locale']);return _0xcb0abf['label']=getTranslation$f(this['locale'],'Remove'),_0xcb0abf['icon']=ckeditor5['IconRemoveComment'],_0xcb0abf['withText']=!0x0,_0xcb0abf['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0xcb0abf['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x45bdb7=>!_0x45bdb7),_0xcb0abf['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0xcb0abf['on']('execute',()=>{this['showConfirm'](getTranslation$f(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0xcb0abf;}['_createDropdown'](){const _0x495a1a=ckeditor5['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0x29f263=_0x495a1a['panelView']['children'],_0x23c44c=new ckeditor5['ListView'](this['locale']),_0x54435d=_0x495a1a['bindTemplate'];ckeditor5['focusChildOnDropdownOpen'](_0x495a1a,()=>this['items']['find'](_0xc83996=>_0xc83996['isVisible'])),_0x495a1a['extendTemplate']({'attributes':{'class':[_0x54435d['if']('isVisible','ck-hidden',_0x1f1c13=>!_0x1f1c13)]}});const _0x24152a=(_0x142ceb,_0x1cc20a=-0x1)=>{const _0x359f17=new ckeditor5['ListItemView'](this['locale']);_0x359f17['children']['add'](_0x142ceb);const _0x2d189b=_0x1cc20a>-0x1?_0x1cc20a:_0x23c44c['items']['length'];_0x23c44c['items']['add'](_0x359f17,_0x2d189b);const _0x364401=Array['from'](this['items']);_0x495a1a['unbind']('isEnabled','isVisible'),_0x495a1a['bind']('isEnabled')['toMany'](_0x364401,'isEnabled',(..._0x269490)=>_0x269490['some'](_0x3df931=>_0x3df931)),_0x495a1a['bind']('isVisible')['toMany'](_0x364401,'isVisible',(..._0x2f378b)=>_0x2f378b['some'](_0x2ac1dd=>_0x2ac1dd));};_0x495a1a['panelPosition']='sw',_0x495a1a['buttonView']['set']({'label':getTranslation$f(this['locale'],'Show\x20more\x20items'),'icon':ckeditor5['IconThreeVerticalDots']});for(const _0x38b310 of this['items'])_0x24152a(_0x38b310);return _0x29f263['add'](_0x23c44c),_0x495a1a['listenTo'](this['items'],'add',(_0x163028,_0x4b04a3,_0x5a2fa6)=>{_0x24152a(_0x4b04a3,_0x5a2fa6);}),_0x495a1a['listenTo'](this['items'],'remove',(_0x4ce68d,_0x1fdffa,_0x5dd5c7)=>{_0x23c44c['items']['remove'](_0x5dd5c7);}),_0x495a1a;}['_attachActions'](_0xf48b0b,_0x3e2f48){const _0x2e613e=_0xf48b0b&&_0xf48b0b['element'];_0x2e613e&&(this['listenTo'](_0x2e613e,'mouseenter',()=>this['actionIndicator']=_0x3e2f48),this['listenTo'](_0x2e613e,'focus',()=>this['actionIndicator']=_0x3e2f48),this['listenTo'](_0x2e613e,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x2e613e,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x6db9ab=super['_createCommentInputView']();return _0x6db9ab['bind']('placeholder')['to'](this),_0x6db9ab;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function createMutationObserver(_0x40100d){const _0x181e63=throttle$1(_0x40100d,0x1e),_0x50afb9=new MutationObserver(_0x51ee25=>{for(const _0x4661ed of _0x51ee25)('attributes'==_0x4661ed['type']&&'class'==_0x4661ed['attributeName']||'childList'==_0x4661ed['type']||'characterData'==_0x4661ed['type'])&&_0x181e63();});return{'attach'(_0x254993){_0x50afb9['observe'](_0x254993,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x50afb9['disconnect'](),_0x181e63['cancel']();}};}class AnnotationView extends ckeditor5['View']{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x525592,_0x3b8afb){super(_0x525592),this['id']=ckeditor5['uid'](),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['keystrokes']['set']('Esc',(_0x26ce19,_0xec63a1)=>this['fire']('Esc',_0xec63a1)),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'](_0x3b8afb),this['mainView']=_0x3b8afb;const _0x5a1cbc=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x5a1cbc['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 _0xc6f609=this['element']['clientHeight'];_0xc6f609&&(this['height']=_0xc6f609);}}let Annotation$1=class _0x30f905 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x35bdc7,target:_0x528e5f,type:_0xbd56c0,isVisible:_0x8f586c=!0x0}){super(),this['view']=_0x35bdc7,this['view']['element']||this['view']['render'](),this['_type']=_0xbd56c0,this['_target']=_0x528e5f,_0x30f905['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new ckeditor5['Collection']([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x1670e3,_0x51a316)=>{this['view']['focusTracker']['add'](_0x51a316);}),this['focusableElements']['on']('remove',(_0x392f65,_0x541a72)=>{this['view']['focusTracker']['remove'](_0x541a72);}),this['set']('isVisible',_0x8f586c);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x515eb3=this['_getNormalizedTarget']();return _0x30f905['_assertCorrectTarget'](_0x515eb3),_0x515eb3;}get['targetRect'](){const _0xb9da80=this['target'];if(null===_0xb9da80)return null;if(_0xb9da80 instanceof ckeditor5['Rect'])return _0xb9da80;const _0x5e6a9a=_0xb9da80['filter'](_0xea85bc=>isDomElementVisible(_0xea85bc));return 0x0===_0x5e6a9a['length']?null:new ckeditor5['Rect'](_0x5e6a9a[0x0]['getClientRects']()['item'](0x0));}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x3314b8){this['view']['isActive']=_0x3314b8,this['view']['mainView']['isActive']=_0x3314b8;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x4f86ef){if(!(null===_0x4f86ef||_0x4f86ef instanceof ckeditor5['Rect']||Array['isArray'](_0x4f86ef)&&_0x4f86ef['every'](_0x1384d7=>isElement$1(_0x1384d7))))throw new ckeditor5['CKEditorError']('annotation-invalid-target',null,{'target':_0x4f86ef});}['_getNormalizedTarget'](){const _0x196237='function'==typeof this['_target']?this['_target']():this['_target'];return isElement$1(_0x196237)?[_0x196237]:_0x196237;}};function isElement$1(_0xb90b86){return null!==_0xb90b86&&'object'==typeof _0xb90b86&&'nodeType'in _0xb90b86&&0x1===_0xb90b86['nodeType'];}function isDomElementVisible(_0x4b8cfb){if(_0x4b8cfb['offsetParent'])return!0x0;return!!_0x4b8cfb['getClientRects']()['item'](0x0);}class AnnotationCollection extends ckeditor5['Collection']{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x19d35d=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new ckeditor5['FocusTracker'](),this['_focusTracker']['on']('change:isFocused',(_0x38316e,_0x576d7b,_0x285ba3)=>{_0x285ba3||this['fire']('blur');});for(const _0x5eae89 of _0x19d35d)this['add'](_0x5eae89);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x4355b1){if(this['has'](_0x4355b1))throw new ckeditor5['CKEditorError']('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x4355b1['innerView'],_0x4355b1),this['_viewToAnnotation']['set'](_0x4355b1['view'],_0x4355b1);for(const _0x3066f5 of _0x4355b1['focusableElements'])this['_focusTracker']['add'](_0x3066f5);this['listenTo'](_0x4355b1['focusableElements'],'add',(_0x2747dd,_0x1531fa)=>{this['_focusTracker']['add'](_0x1531fa);}),this['listenTo'](_0x4355b1['focusableElements'],'remove',(_0x4f4280,_0x2700da)=>{this['_focusTracker']['remove'](_0x2700da);}),this['listenTo'](_0x4355b1['view']['focusTracker'],'change:isFocused',(_0x56e5bb,_0x576fc7,_0x5a6225)=>{_0x5a6225&&this['fire']('focus',_0x4355b1);}),_0x4355b1['updateTargetRect']();const _0x2446b0=this['_getOrderInContent'](_0x4355b1['view']['targetRect']);return super['add'](_0x4355b1,_0x2446b0);}['remove'](_0x5c15f5){if(!this['has'](_0x5c15f5))throw new ckeditor5['CKEditorError']('annotationcollection-not-existing-item',null);this['stopListening'](_0x5c15f5['view']['focusTracker']),this['stopListening'](_0x5c15f5['focusableElements']);for(const _0x10e88b of _0x5c15f5['focusableElements'])this['_focusTracker']['remove'](_0x10e88b);return this['_viewToAnnotation']['delete'](_0x5c15f5['view']),this['_innerViewToAnnotation']['delete'](_0x5c15f5['innerView']),super['remove'](_0x5c15f5);}['getByInnerView'](_0xbdb107){return this['_innerViewToAnnotation']['get'](_0xbdb107);}['getByView'](_0x512c7d){return this['_viewToAnnotation']['get'](_0x512c7d);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x2b131f of this)_0x2b131f['updateTargetRect']();this['_sort']();}['_sort'](){const _0x1cfd41=Array['from'](this)['sort']((_0x1cb37e,_0x1afc2c)=>elementOffsetComparator(_0x1cb37e['view']['targetRect'],_0x1afc2c['view']['targetRect']));for(let _0x2f5d87=_0x1cfd41['length']-0x1;_0x2f5d87>0x0;_0x2f5d87--){const _0x5cceb8=_0x1cfd41[_0x2f5d87];_0x2f5d87!==this['getIndex'](_0x5cceb8)&&(this['remove'](_0x5cceb8),this['add'](_0x5cceb8));}}['_getOrderInContent'](_0x5a649b){let _0x47228a=0x0;if(!_0x5a649b)return this['length'];for(const _0x4b34c2 of this){const _0x4fbcad=_0x4b34c2['view']['targetRect'];if(_0x4fbcad){if(elementOffsetComparator(_0x5a649b,_0x4fbcad)<0x0)return _0x47228a;_0x47228a++;}}return _0x47228a;}}function bindAnnotationCollections({source:_0x55bd6c,target:_0x10ac4b,filter:_0x491f64}){for(const _0x57c68f of _0x55bd6c)_0x491f64(_0x57c68f)&&_0x10ac4b['add'](_0x57c68f);_0x10ac4b['listenTo'](_0x55bd6c,'add',(_0x4bdb2e,_0x30d155)=>{_0x491f64(_0x30d155)&&_0x10ac4b['add'](_0x30d155);}),_0x10ac4b['listenTo'](_0x55bd6c,'remove',(_0x2b5b4c,_0x37876a)=>{_0x10ac4b['has'](_0x37876a)&&_0x10ac4b['remove'](_0x37876a);});}function elementOffsetComparator(_0x284033,_0x59b985){if(null===_0x284033&&null===_0x59b985)return 0x0;if(null===_0x284033)return-0x1;if(null===_0x59b985)return 0x1;const _0x258ae1=_0x284033['top']-_0x59b985['top'];return 0x0==_0x258ae1?_0x284033['left']-_0x59b985['left']:_0x258ae1;}class Annotations extends ckeditor5['ContextPlugin']{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4cdac4){if(super(_0x4cdac4),this['collection']=new AnnotationCollection(),this['_visibleAnnotations']=new AnnotationCollection(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x4cdac4 instanceof ckeditor5['Editor']){const _0x1d142e=_0x4cdac4['locale'];_0x4cdac4['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':getTranslation$f(_0x1d142e,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':getTranslation$f(_0x1d142e,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':getTranslation$f(_0x1d142e,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':getTranslation$f(_0x1d142e,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':getTranslation$f(_0x1d142e,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':getTranslation$f(_0x1d142e,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':getTranslation$f(_0x1d142e,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x5a28b6){this['collection']['add'](_0x5a28b6);}['remove'](_0x2008da){this['collection']['remove'](_0x2008da),_0x2008da['destroy']();}['refreshVisibility'](){for(const _0x2fdfe2 of this['collection'])_0x2fdfe2['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x9dd62b){return this['collection']['getByInnerView'](_0x9dd62b);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x39cce1 of this['collection'])_0x39cce1['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x307708){this['fire']('_activateAnnotation',_0x307708);}['createAnnotation'](_0x38460c){return new Annotation$1(_0x38460c);}['createAnnotationView'](_0x176d43,_0x3ae350){return new AnnotationView(_0x176d43,_0x3ae350);}['_addActiveAnnotation'](_0x5462e5){const _0x3b7daf=new Set(this['activeAnnotations']);_0x3b7daf['add'](_0x5462e5),this['activeAnnotations']=_0x3b7daf;}['_removeActiveAnnotation'](_0x4954d9){const _0x25548a=new Set(this['activeAnnotations']);_0x25548a['delete'](_0x4954d9),this['activeAnnotations']=_0x25548a;}['_bindAnnotationsToVisibleAnnotations'](){const _0x1ba4ed=this['collection'],_0xc4f806=this['_visibleAnnotations'];function _0xbe7f34(_0x203ced){const _0x3ccf85=_0x203ced['source'];_0x3ccf85['isVisible']&&!_0xc4f806['has'](_0x3ccf85)?_0xc4f806['add'](_0x3ccf85):!_0x3ccf85['isVisible']&&_0xc4f806['has'](_0x3ccf85)&&_0xc4f806['remove'](_0x3ccf85),_0x3ccf85['view']['focusTracker']['remove'](_0x3ccf85['view']['element']),_0x3ccf85['view']['focusTracker']['add'](_0x3ccf85['view']['element']);}this['listenTo'](_0x1ba4ed,'add',(_0x45014c,_0x414da5)=>{_0x414da5['isVisible']&&_0xc4f806['add'](_0x414da5),this['listenTo'](_0x414da5,'change:isVisible',_0xbe7f34);}),this['listenTo'](_0x1ba4ed,'remove',(_0xb53dd4,_0x1faa89)=>{_0xc4f806['has'](_0x1faa89)&&_0xc4f806['remove'](_0x1faa89),this['stopListening'](_0x1faa89,'change:isVisible',_0xbe7f34);});}['_setupEnterAnnotationKeystroke'](){const _0x35ccc4=_0x579b54=>{_0x579b54['on']('ready',()=>{_0x579b54['keystrokes']['set'](_0x510d32,(_0x266e54,_0x3b299d)=>{const _0x18b663=ckeditor5['first'](this['activeAnnotations']['values']());_0x18b663&&(_0x18b663['view']['focus'](),_0x3b299d());});});};this['context']instanceof ckeditor5['Editor']?_0x35ccc4(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0x5fcb7a,_0x5519cb)=>{_0x35ccc4(_0x5519cb);});}['_setupEscapeAnnotationHandling'](){const _0x52e597=_0x1bf643=>{const _0x317a5c=_0x1bf643['source'],_0x7f0eef=[];let _0x226506;if(Array['isArray'](_0x317a5c['target'])){_0x226506=_0x317a5c['target'][0x0],this['context']instanceof ckeditor5['Editor']?_0x7f0eef['push'](this['context']):this['context']['editors']&&_0x7f0eef['push'](...this['context']['editors']);for(const _0x2715a5 of _0x7f0eef)for(const _0x15bda9 of _0x2715a5['editing']['view']['domRoots']['values']())if(_0x15bda9['contains'](_0x226506))return void _0x2715a5['editing']['view']['focus']();_0x226506['focus']();}};this['listenTo'](this['collection'],'add',(_0x3e9ed9,_0x5f444c)=>{this['listenTo'](_0x5f444c,'escape',_0x52e597,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x556d0b,_0x102a8a)=>{this['stopListening'](_0x102a8a,'escape',_0x52e597);});}}const _0x168f63=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'],_0xd5bff4];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4665f3){super(_0x4665f3),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x216ef3=this['context']['config'];_0x216ef3['define']('comments.maxCommentsWhenCollapsed',0x2),_0x216ef3['define']('comments.maxThreadTotalWeight',0x1f4),_0x216ef3['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x216ef3['define']('comments.CommentThreadView',CommentThreadView),_0x216ef3['define']('comments.CommentView',CommentView),_0x216ef3['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x4f3113=this['context']['plugins']['get'](Annotations);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0xa85d35,_0x59b9a3)=>this['_addCommentThread'](_0x59b9a3)),this['on']('submitCommentThread',(_0x546a72,_0x1ec27a)=>this['_submitCommentThread'](_0x1ec27a)),this['on']('resolveCommentThread',(_0x5a65d8,_0x5d84aa)=>this['_resolveCommentThread'](_0x5d84aa)),this['on']('resolveCommentThread',(_0x3be14f,_0x3615f8)=>this['_updateActiveAnnotation'](_0x3615f8),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x3460e0,_0x37b143)=>this['_reopenCommentThread'](_0x37b143)),this['on']('reopenCommentThread',(_0xf5d265,_0x363b95)=>this['_updateActiveAnnotation'](_0x363b95),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x1f0501,_0x4e9c4f)=>this['_removeCommentThread'](_0x4e9c4f)),this['on']('updateCommentThread',(_0x23d9c5,_0x4b2446)=>this['_updateCommentThread'](_0x4b2446)),this['on']('updateCommentThread',(_0x537fc0,_0x39ef0d)=>this['_updateActiveAnnotation'](_0x39ef0d),{'priority':'lowest'}),this['on']('addComment',(_0x3be704,_0x2b0374)=>this['_addComment'](_0x2b0374)),this['on']('updateComment',(_0x2eb78b,_0x26d3df)=>this['_updateComment'](_0x26d3df)),this['on']('removeComment',(_0x2b1bda,_0x5ed7c8)=>this['_removeComment'](_0x5ed7c8)),this['on']('addComment',(_0x4f5fc8,{threadId:_0x5a7769,isFromAdapter:_0x5edf80})=>{if(_0x5edf80)return;const _0x328935=this['getCommentThread'](_0x5a7769),_0x3ab6ab=_0x328935&&this['_threadToController']['get'](_0x328935);_0x3ab6ab&&_0x3ab6ab['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x4f3113,'change:activeAnnotations',(_0x3e618c,_0x30966f,_0x234ade)=>{const _0x5d713a=Array['from'](_0x234ade)['map'](_0x546f81=>this['_viewToController']['get'](_0x546f81['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x5d713a?_0x5d713a['model']:null;});}set['adapter'](_0x310e36){if(this['_adapter'])throw new ckeditor5['CKEditorError']('commentsrepository-adapter-already-set');this['_adapter']=_0x310e36;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x34b795=_0x168f63,threadId:_0x56e44d=ckeditor5['uid'](),comments:_0x3a794f=[],unlinkedAt:_0x273e18=null,resolvedAt:_0xc3e0d8=null,resolvedBy:_0x2e7ec5=null,target:_0x2af303=null,context:_0x428d29=null,attributes:_0x35c190={},isResolvable:_0x5b32cf=!0x0,isSubmitted:_0x29403f=!0x1,isFromAdapter:_0x4cb4af=!0x1}={}){return this['fire'](toEventName('addCommentThread',_0x34b795),{'channelId':_0x34b795,'threadId':_0x56e44d,'comments':_0x3a794f,'unlinkedAt':_0x273e18,'resolvedAt':_0xc3e0d8,'resolvedBy':_0x2e7ec5,'target':_0x2af303,'context':_0x428d29,'attributes':_0x35c190,'isFromAdapter':_0x4cb4af,'isResolvable':_0x5b32cf,'isSubmitted':_0x29403f}),this['getCommentThread'](_0x56e44d);}['openNewCommentThread']({channelId:_0xeaeed7=_0x168f63,threadId:_0x1aa122=ckeditor5['uid'](),target:_0x4368c8,context:_0x1c87ff=null,isResolvable:_0x546cd7=!0x0}){if(this['_readOnlyChannels']['has'](_0xeaeed7)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x4368c8)throw new ckeditor5['CKEditorError']('commentsrepository-missing-target');const _0x16c9d7=this['addCommentThread']({'channelId':_0xeaeed7,'threadId':_0x1aa122,'target':_0x4368c8,'context':_0x1c87ff,'isResolvable':_0x546cd7});if(!_0x16c9d7)return null;const _0x1aed1=this['_threadToController']['get'](_0x16c9d7),_0x25857b=_0x1aed1['view']['commentThreadInputView']['commentInputView'],_0xe5298f=this['context']['plugins']['get'](Annotations),_0x4b68d4=_0xe5298f['getByInnerView'](_0x1aed1['view']);return _0xe5298f['activate'](_0x4b68d4),_0x25857b['once']('editorReady',()=>_0x25857b['focus']()),_0x16c9d7;}['hasCommentThread'](_0x5c29e1){if('string'!=typeof _0x5c29e1)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x5c29e1);}['updateCommentThread']({channelId:_0x29a293=_0x168f63,threadId:_0x38eb9d,context:_0x370ab3,unlinkedAt:_0xb6f5dd,attributes:_0x3a1604,isFromAdapter:_0x351529=!0x1}){return this['fire'](toEventName('updateCommentThread',_0x29a293),{'channelId':_0x29a293,'threadId':_0x38eb9d,'context':_0x370ab3,'unlinkedAt':_0xb6f5dd,'attributes':_0x3a1604,'isFromAdapter':_0x351529}),this['getCommentThread'](_0x38eb9d);}['getCommentThread'](_0x584cbb){if('string'!=typeof _0x584cbb)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x584cbb);}['fetchCommentThread']({channelId:_0x58a6be,threadId:_0x28221a}={}){const _0x3b330e=this['getCommentThread'](_0x28221a);if(_0x3b330e)return Promise['resolve'](_0x3b330e);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':_0x58a6be,'threadId':_0x28221a})['then'](_0x4fc7eb=>this['hasCommentThread'](_0x28221a)?this['getCommentThread'](_0x28221a):_0x4fc7eb?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x58a6be},_0x4fc7eb)):void 0x0)['catch'](_0x4060a2=>{throw console['error'](_0x4060a2),new ckeditor5['CKEditorError']('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x4d8200,skipNotAttached:_0x3f0820=!0x1,skipEmpty:_0x62cab1=!0x1,toJSON:_0x389174=!0x1}={}){const _0x2b2862=[];for(const _0x4e2d69 of this['_threads']['values']())_0x4d8200&&_0x4e2d69['channelId']!==_0x4d8200||_0x3f0820&&!_0x4e2d69['isAttached']||_0x62cab1&&0x0===_0x4e2d69['length']||_0x2b2862['push'](_0x4e2d69);return _0x389174?_0x2b2862['map'](_0x5e4d51=>_0x5e4d51['toJSON']()):_0x2b2862;}['getAnnotationForCommentThread'](_0x2f4f88){const _0x23276f=this['_threadToController']['get'](_0x2f4f88);if(!_0x23276f)return null;return this['context']['plugins']['get'](Annotations)['getByInnerView'](_0x23276f['view'])||null;}['getCommentThreadForAnnotation'](_0x4f5344){const _0x102471=this['_viewToController']['get'](_0x4f5344['innerView']);return _0x102471?_0x102471['model']:null;}['setActiveCommentThread'](_0x2097cf){const _0x658e6e=this['context']['plugins']['get'](Annotations);if(!_0x2097cf)return void(this['activeCommentThread']&&_0x658e6e['deactivateAll']());const _0x626bf4=this['getCommentThread'](_0x2097cf);if(!_0x626bf4)throw new ckeditor5['CKEditorError']('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x2097cf});if(!this['_threadToController']['has'](_0x626bf4))throw new ckeditor5['CKEditorError']('commentsrepository-active-not-attached',null,{'threadId':_0x2097cf});const _0x3d334d=_0x658e6e['getByInnerView'](this['_threadToController']['get'](_0x626bf4)['view']);_0x658e6e['activate'](_0x3d334d);}['switchReadOnly'](_0xaa7e2c,_0x4db96f){_0xaa7e2c?this['_readOnlyChannels']['add'](_0x4db96f):this['_readOnlyChannels']['delete'](_0x4db96f),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x245491){return this['_readOnlyChannels']['has'](_0x245491)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x59b617,_0x31314e){return new CommentThreadController(_0x59b617,_0x31314e);}['setPermissions'](_0x283583,_0x10a575=_0x168f63){this['_permissions']['set'](_0x10a575,_0x283583),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x5d2b2b=_0x168f63){return this['_permissions']['has'](_0x5d2b2b)?this['_permissions']['get'](_0x5d2b2b):defaultPermissions;}['_addCommentThread']({channelId:_0x12b610,threadId:_0x4edde5,comments:_0x59dece,unlinkedAt:_0x3f4746,resolvedAt:_0x4b395b,resolvedBy:_0x2e094b,target:_0x27963e,context:_0x458d1c,attributes:_0x365c9e,isFromAdapter:_0xc92718,isResolvable:_0x3f67bd,isSubmitted:_0x4d5227}){if('string'!=typeof _0x4edde5)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x4edde5});if(this['hasCommentThread'](_0x4edde5))throw new ckeditor5['CKEditorError']('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x4edde5});const _0x5c3f69=new CommentThread(this,{'channelId':_0x12b610,'id':_0x4edde5,'context':_0x458d1c,'attributes':_0x365c9e,'unlinkedAt':_0x3f4746,'resolvedAt':_0x4b395b,'resolvedBy':_0x2e094b?this['context']['plugins']['get'](_0xd5bff4)['getUser'](_0x2e094b):null,'isResolvable':_0x3f67bd,'isSubmitted':_0x4d5227||_0xc92718});this['_threads']['set'](_0x4edde5,_0x5c3f69);for(const _0x534782 of _0x59dece)_0x5c3f69['_add'](this['_createNewComment']({'threadId':_0x4edde5,..._0x534782}));return _0x27963e&&_0x5c3f69['attachTo'](_0x27963e),_0xc92718||!_0x5c3f69['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x12b610,'threadId':_0x4edde5});}['_submitCommentThread']({channelId:_0x9e29ee,threadId:_0x40de72}){if(!this['hasCommentThread'](_0x40de72))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',this);const _0x1da8c3=this['getCommentThread'](_0x40de72);if(_0x1da8c3['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0xa43d4f,comments:_0x3dbc38,resolvedAt:_0x3d1c41,resolvedBy:_0x18aa07,context:_0x3d478b,attributes:_0x220a35}=_0x1da8c3,_0x29b85d=this['context']['plugins']['get']('PendingActions'),_0x4fc15b=_0x29b85d['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x9e29ee,'threadId':_0xa43d4f,'comments':_0x3dbc38['map'](_0x5645d2=>_0x5645d2['toJSON']()),'resolvedAt':_0x3d1c41,'resolvedBy':_0x18aa07?_0x18aa07['id']:_0x18aa07,'context':_0x3d478b,'attributes':_0x220a35})['then'](({comments:_0x4a6602})=>{_0x29b85d['remove'](_0x4fc15b);for(const _0x58c697 of _0x4a6602)this['_updateComment']({'channelId':_0x9e29ee,'threadId':_0x40de72,'commentId':_0x58c697['commentId'],'createdAt':_0x58c697['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x48f964=>{throw console['error'](_0x48f964),new ckeditor5['CKEditorError']('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x4d02a4,target:_0xf3c9bb}){const _0x37c3c0=this['getCommentThread'](_0x4d02a4);if(!_0x37c3c0)throw new ckeditor5['CKEditorError']('commentsrepository-attach-missing-comment-thread',this);const _0x30bfb5=this['context']['plugins']['get']('PendingActions'),_0x4fc85d=this['context']['plugins']['get'](Annotations),_0x28f19c=this['_createCommentThreadView'](_0x37c3c0),_0x400d96=new CommentThreadController(_0x37c3c0,_0x28f19c);let _0x2deab2=null;_0x28f19c['on']('change:isDirty',(_0x5be2f5,_0x5655bf,_0x549763)=>{_0x549763?_0x2deab2=_0x30bfb5['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x2deab2&&(_0x30bfb5['remove'](_0x2deab2),_0x2deab2=null);}),this['_threadToController']['set'](_0x37c3c0,_0x400d96),this['_viewToController']['set'](_0x28f19c,_0x400d96);const _0x44f513=new AnnotationView(this['context']['locale'],_0x28f19c);_0x44f513['bind']('length')['to'](_0x28f19c),_0x44f513['bind']('isDirty')['to'](_0x28f19c,'isDirty',_0x28f19c,'length',(_0x17575e,_0x5d07c0)=>_0x17575e||!_0x5d07c0),_0x44f513['bind']('isActive')['to'](_0x28f19c),_0x44f513['type']='comment';const _0x245951=new Annotation$1({'view':_0x44f513,'target':_0xf3c9bb,'type':'comment','isVisible':!_0x37c3c0['archivedAt']&&!!('function'==typeof _0xf3c9bb?_0xf3c9bb():_0xf3c9bb)});return _0x28f19c['on']('escape',()=>{_0x245951['fire']('escape');}),this['_bindAnnotationToEditors'](_0x28f19c,_0x245951),_0x4fc85d['add'](_0x245951),_0x245951;}['_bindAnnotationToEditors'](_0x18e741,_0x2c71b5){this['listenTo'](_0x18e741,'editorReady',(_0x208ec0,_0xc0481)=>{const _0x3c9ee5=_0xc0481['ui']['view']['body']['bodyCollectionContainer'];_0x2c71b5['focusableElements']['add'](_0x3c9ee5),this['context']instanceof ckeditor5['Editor']&&this['context']['ui']['focusTracker']['add'](_0x3c9ee5);},{'priority':'highest'}),this['listenTo'](_0x18e741,'editorDestroyed',(_0x5a5ad9,_0x56751)=>{const _0x34909d=_0x56751['ui']['view']['body']['bodyCollectionContainer'];_0x2c71b5['focusableElements']['has'](_0x34909d)&&_0x2c71b5['focusableElements']['remove'](_0x34909d),this['context']instanceof ckeditor5['Editor']&&this['context']['ui']['focusTracker']['remove'](_0x34909d);});}['_unbindEditors'](_0x17c68d){this['stopListening'](_0x17c68d,'editorReady'),this['stopListening'](_0x17c68d,'editorDestroyed');}['_createCommentThreadView'](_0x9f25fa){const _0x1b6b3b=this['context']['plugins']['get'](_0xd5bff4),{config:_0x1aa9a6,locale:_0x45c455}=this['context'],_0xba2dff=getDateTimeFormatter(_0x1aa9a6['get']('locale'),_0x45c455);return new(0x0,(_0x1aa9a6['get']('comments'))['CommentThreadView'])(_0x45c455,_0x9f25fa,_0x1b6b3b['me'],{'editorConfig':{..._0x1aa9a6['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x1aa9a6['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x1aa9a6['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x1aa9a6['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x1aa9a6['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0xba2dff,'CommentView':_0x1aa9a6['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x513bea,channelId:_0x6c46d7,resolvedAt:_0x28e99b,resolvedBy:_0x26257c,isFromAdapter:_0x107fbb}){if(!this['hasCommentThread'](_0x513bea))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x513bea});const _0x49a270=this['getCommentThread'](_0x513bea);if(_0x49a270['isResolved'])throw new ckeditor5['CKEditorError']('commentsrepository-resolved-comment-thread',null,{'threadId':_0x513bea});const _0x10a0a8=this['context']['plugins']['get'](_0xd5bff4);if(_0x49a270['resolvedBy']=_0x10a0a8['getUser'](_0x26257c),_0x49a270['resolvedAt']=_0x28e99b,_0x107fbb||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x428e9f=this['context']['plugins']['get']('PendingActions'),_0x1967e3=_0x428e9f['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x6c46d7,'threadId':_0x513bea})['then'](({resolvedAt:_0x33d82e,resolvedBy:_0x1b5532})=>{_0x428e9f['remove'](_0x1967e3),_0x49a270['resolvedBy']['id']!==_0x1b5532&&(_0x49a270['resolvedBy']=_0x10a0a8['getUser'](_0x1b5532)),_0x49a270['resolvedAt']=_0x33d82e;})['catch'](_0x54b9bf=>{throw console['error'](_0x54b9bf),new ckeditor5['CKEditorError']('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x8fd534,channelId:_0x3e94b8,isFromAdapter:_0x59eba4}){if(!this['hasCommentThread'](_0x8fd534))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x8fd534});const _0x1f010c=this['getCommentThread'](_0x8fd534);if(!_0x1f010c['isResolved'])throw new ckeditor5['CKEditorError']('commentsrepository-reopen-comment-thread',null,{'threadId':_0x8fd534});if(_0x1f010c['resolvedBy']=null,_0x1f010c['resolvedAt']=null,_0x59eba4||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x4b1430=this['context']['plugins']['get']('PendingActions'),_0x4e003b=_0x4b1430['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x3e94b8,'threadId':_0x8fd534})['then'](()=>_0x4b1430['remove'](_0x4e003b))['catch'](_0x2c9922=>{throw console['error'](_0x2c9922),new ckeditor5['CKEditorError']('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x12c637,isFromAdapter:_0x29df7e}){const _0x432c70=this['getCommentThread'](_0x12c637);if(!_0x432c70)throw new ckeditor5['CKEditorError']('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x12c637),this['_threads']['delete'](_0x12c637),!_0x432c70['isSubmitted']||_0x29df7e||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x238376=this['context']['plugins']['get']('PendingActions'),{channelId:_0x58a7c2}=_0x432c70,_0xb1c6c5=_0x238376['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x58a7c2,'threadId':_0x12c637})['then'](()=>_0x238376['remove'](_0xb1c6c5))['catch'](_0xbc3b05=>{throw console['error'](_0xbc3b05),new ckeditor5['CKEditorError']('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0xd18c29,unlinkedAt:_0x1ff8db,context:_0x2ca275,attributes:_0x3cca45,isFromAdapter:_0xe4144c}){if('string'!=typeof _0xd18c29)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0xd18c29});if(!this['hasCommentThread'](_0xd18c29))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0xd18c29});const _0x1ac50c=this['getCommentThread'](_0xd18c29);let _0xd61dfb=!0x1;if(void 0x0!==_0x2ca275&&_0x1ac50c['context']!==_0x2ca275&&(_0x1ac50c['context']=_0x2ca275,_0xd61dfb=!0x0),void 0x0!==_0x1ff8db&&_0x1ac50c['unlinkedAt']!==_0x1ff8db&&(_0x1ac50c['unlinkedAt']=_0x1ff8db,_0xd61dfb=!0x0),_0x3cca45&&!_0x1df005(_0x3cca45,_0x1ac50c['attributes'])&&(_0x1ac50c['attributes']=_0x3cca45,_0xd61dfb=!0x0),!_0xd61dfb)return Promise['resolve']();if(!_0x1ac50c['isSubmitted']||_0xe4144c||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x286498=this['context']['plugins']['get']('PendingActions'),{channelId:_0x4b58e9}=_0x1ac50c,_0x5da6f9=_0x286498['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x4b58e9,'threadId':_0xd18c29,'context':_0x2ca275,'unlinkedAt':_0x1ff8db,'attributes':_0x3cca45})['then'](()=>_0x286498['remove'](_0x5da6f9))['catch'](_0x3043fd=>{throw console['error'](_0x3043fd),new ckeditor5['CKEditorError']('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x1bb234){const _0x369bfa=this['context']['plugins']['get'](Annotations),_0x5f3860=this['getCommentThread'](_0x1bb234);if(_0x5f3860['_isAttached']=!0x1,this['_threadToController']['has'](_0x5f3860)){const _0x24bfff=this['_threadToController']['get'](_0x5f3860),_0x458cd5=_0x24bfff['view'],_0x44eb27=_0x369bfa['getByInnerView'](_0x458cd5);this['_threadToController']['delete'](_0x5f3860),this['_viewToController']['delete'](_0x458cd5),_0x44eb27&&_0x369bfa['remove'](_0x44eb27),_0x24bfff['destroy'](),_0x458cd5['destroy']()['then'](()=>{this['_unbindEditors'](_0x458cd5);});}}['_updateActiveAnnotation']({threadId:_0x15f184,resolvedAt:_0x40ffea,unlinkedAt:_0x1aefb3}){const _0x5b3ff0=!!_0x40ffea,_0x1077f4=this['context']['plugins']['get'](Annotations),_0x796e2f=this['getCommentThread'](_0x15f184);if(this['_threadToController']['has'](_0x796e2f)){const _0xd43851=this['_threadToController']['get'](_0x796e2f)['view'],_0x5e8606=_0x1077f4['getByInnerView'](_0xd43851);_0x5e8606&&(_0x5b3ff0&&_0x1077f4['_removeActiveAnnotation'](_0x5e8606),_0x1aefb3?_0x5e8606['isVisible']=!0x1:_0x5e8606['refreshVisibility']());}}['_getExternalAuthor'](_0xa247c6){const _0x17fadd=this['context']['plugins']['get'](_0xd5bff4),_0x37c05d=hashObject('external:'+_0xa247c6),_0x676b3f=_0x17fadd['getUser'](_0x37c05d);return _0x676b3f||_0x17fadd['addUser']({'id':_0x37c05d,'name':_0xa247c6});}['_createNewComment']({threadId:_0x4dadef,commentId:_0x3fa6ce=ckeditor5['uid'](),content:_0x2fd8c5,authorId:_0x165bb2,createdAt:_0x36ba04,attributes:_0x1cf816}){if('string'!=typeof _0x3fa6ce)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-commentid');if('string'!=typeof _0x165bb2)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x2fd8c5||!_0x2fd8c5['trim']())throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-content');const _0x3e3edd=this['context']['plugins']['get'](_0xd5bff4)['getUser'](_0x165bb2);if(!_0x3e3edd)throw new ckeditor5['CKEditorError']('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x165bb2});let _0x22eb16=null,_0x1c2e45=_0x36ba04;return _0x1cf816?.['@external']&&(_0x22eb16=this['_getExternalAuthor'](_0x1cf816['@external']['authorName']),_0x1c2e45=new Date(_0x1cf816['@external']['createdAt'])),new Comment(this,{'threadId':_0x4dadef,'id':_0x3fa6ce,'author':_0x22eb16||_0x3e3edd,'creator':_0x3e3edd,'content':_0x2fd8c5,'createdAt':_0x36ba04,'authoredAt':_0x1c2e45,'attributes':_0x1cf816});}['_addComment'](_0x41d625){let {threadId:_0x411108,content:_0x2314a9,attributes:_0x12a911,isFromAdapter:_0x57afea}=_0x41d625;const _0x1198c9=this['getCommentThread'](_0x41d625['threadId']);if(!_0x1198c9)throw new ckeditor5['CKEditorError']('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x375020=this['_createNewComment'](_0x41d625),{id:_0x4ff877}=_0x375020;if(_0x1198c9['_add'](_0x375020),_0x57afea||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x1198c9['isSubmitted'])return Promise['resolve']();const _0x5be1ad=this['context']['plugins']['get']('PendingActions'),{channelId:_0x19ddb9}=_0x1198c9,_0x30f040=_0x5be1ad['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x12a911||(_0x12a911={}),this['adapter']['addComment']({'channelId':_0x19ddb9,'threadId':_0x411108,'commentId':_0x4ff877,'content':_0x2314a9,'attributes':_0x12a911})['then'](_0x566ad4=>{_0x5be1ad['remove'](_0x30f040),_0x566ad4&&this['_updateComment']({'channelId':_0x19ddb9,'threadId':_0x411108,'commentId':_0x4ff877,'createdAt':_0x566ad4['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x26225f=>{throw console['error'](_0x26225f),new ckeditor5['CKEditorError']('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x2fa000,commentId:_0x2fd166,content:_0x245fe2,createdAt:_0x3c293b,attributes:_0x8fab2e,isFromAdapter:_0x43b76f}){if(void 0x0!==_0x245fe2&&('string'!=typeof _0x245fe2||!_0x245fe2['trim']()['length']))throw new ckeditor5['CKEditorError']('commentsrepository-update-comment-invalid-content');const _0x591f30=this['getCommentThread'](_0x2fa000),_0x5c3cf0=_0x591f30['getComment'](_0x2fd166);if(!_0x5c3cf0)throw new ckeditor5['CKEditorError']('commentsrepository-update-missing-comment',this);let _0x384952=!0x1;if(_0x245fe2&&_0x245fe2!==_0x5c3cf0['content']&&(_0x5c3cf0['isEditable']||_0x43b76f)&&(_0x5c3cf0['content']=_0x245fe2,_0x384952=!0x0),_0x3c293b&&_0x3c293b!==_0x5c3cf0['createdAt']&&(_0x5c3cf0['createdAt']=_0x3c293b,_0x5c3cf0['attributes']&&_0x5c3cf0['attributes']['@external']||(_0x5c3cf0['authoredAt']=_0x3c293b),_0x384952=!0x0),_0x8fab2e&&!_0x1df005(_0x8fab2e,_0x5c3cf0['attributes'])&&(_0x5c3cf0['attributes']=_0x8fab2e,_0x384952=!0x0),!_0x384952)return Promise['resolve']();if(_0x591f30['fire']('commentUpdated'),_0x43b76f||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x5e25c3=this['context']['plugins']['get']('PendingActions'),{channelId:_0x543229}=this['getCommentThread'](_0x5c3cf0['threadId']),_0x4dbdc6=_0x5e25c3['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x543229,'threadId':_0x2fa000,'commentId':_0x2fd166,'content':_0x245fe2,'attributes':_0x8fab2e})['then'](()=>_0x5e25c3['remove'](_0x4dbdc6))['catch'](_0x409112=>{throw console['error'](_0x409112),new ckeditor5['CKEditorError']('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x2c0304,commentId:_0x68520d,isFromAdapter:_0x7e576c}){const _0x229ba1=this['getCommentThread'](_0x2c0304),_0x268ad0=_0x229ba1['getComment'](_0x68520d);if(!_0x268ad0)throw new ckeditor5['CKEditorError']('commentsrepository-remove-missing-comment',this);if(_0x229ba1['_remove'](_0x268ad0),_0x7e576c||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x2e709c=this['context']['plugins']['get']('PendingActions'),{channelId:_0x2674e7}=_0x229ba1,_0x56d72c=_0x2e709c['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x2674e7,'threadId':_0x2c0304,'commentId':_0x68520d})['then'](()=>_0x2e709c['remove'](_0x56d72c))['catch'](_0x368135=>{throw console['error'](_0x368135),new ckeditor5['CKEditorError']('commentsrepository-remove-comment-internal-error',this);});}}class CommentThread extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x1e312b,_0x3cd9e2){super();const _0x1ea0b1=_0x3cd9e2['isResolvable'];this['channelId']=_0x3cd9e2['channelId'],this['id']=_0x3cd9e2['id'],this['comments']=new ckeditor5['Collection'](),this['_repository']=_0x1e312b,this['_isAttached']=!0x1,this['_isSubmitted']=_0x3cd9e2['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x1e312b,'_permissions',_0x1e312b,'_readOnlyChannels',()=>_0x1e312b['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x1e312b,'_permissions',()=>_0x1e312b['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x1e312b,'_permissions',()=>{const _0x282ee7=_0x1e312b['getPermissions'](this['channelId']);return _0x282ee7['write']||_0x282ee7['admin'];}),this['bind']('isResolvable')['to'](_0x1e312b,'_permissions',()=>_0x1ea0b1&&_0x1e312b['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x3cd9e2['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x43462a,_0x19f780)=>_0x43462a?_0x19f780?_0x43462a<_0x19f780?_0x43462a:_0x19f780:_0x43462a:_0x19f780),this['set']('unlinkedAt',_0x3cd9e2['unlinkedAt']||null),this['set']('resolvedAt',_0x3cd9e2['resolvedAt']||null),this['set']('resolvedBy',_0x3cd9e2['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x279d23=>!!_0x279d23),this['set']('attributes',_0x3cd9e2['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x1577e2,_0x46cdb6)=>_0x1577e2+_0x46cdb6['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x56b0a2,id:_0x5a27a3}=this;this['_repository']['fire'](toEventName('submitCommentThread',_0x56b0a2),{'channelId':_0x56b0a2,'threadId':_0x5a27a3});}['setUnlinkedAt'](_0x3961f3){this['_update']({'unlinkedAt':_0x3961f3});}['resolve']({resolvedAt:_0x23877f=new Date(),resolvedBy:_0x268d67='',isFromAdapter:_0x123541=!0x1}={}){const _0x3923be=this['_repository']['context']['plugins']['get'](_0xd5bff4)['me'],{channelId:_0x3ecf95,id:_0x293408}=this;this['_repository']['fire'](toEventName('resolveCommentThread',_0x3ecf95),{'channelId':_0x3ecf95,'threadId':_0x293408,'resolvedAt':_0x23877f,'resolvedBy':_0x268d67||_0x3923be['id'],'isFromAdapter':_0x123541});}['reopen']({isFromAdapter:_0x4e8fcc=!0x1}={}){const {channelId:_0xf31f75,id:_0x38cc3a}=this;this['_repository']['fire'](toEventName('reopenCommentThread',_0xf31f75),{'channelId':_0xf31f75,'threadId':_0x38cc3a,'isFromAdapter':_0x4e8fcc});}['setContext'](_0x381e49){this['context']||this['_update']({'context':_0x381e49});}['setAttribute'](_0x241b0a,_0x2fa917){const _0x496e50=_0xf3eb06(this['attributes']);set(_0x496e50,_0x241b0a,_0x2fa917),this['_update']({'attributes':_0x496e50});}['removeAttribute'](_0x164bb6){const _0x221698=_0xf3eb06(this['attributes']);unset(_0x221698,_0x164bb6),this['_update']({'attributes':_0x221698});}['remove']({isFromAdapter:_0x16cafc=!0x1}={}){const {channelId:_0x14320e,id:_0x3c98db}=this;this['_repository']['fire'](toEventName('removeCommentThread',_0x14320e),{'channelId':_0x14320e,'threadId':_0x3c98db,'isFromAdapter':_0x16cafc});}['attachTo'](_0xd439d7){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0xd439d7});}['addComment'](_0x4c9695){const {channelId:_0x203e27,id:_0x465366}=this;this['_repository']['fire'](toEventName('addComment',_0x203e27,_0x465366),Object['assign']({'channelId':_0x203e27,'threadId':_0x465366},_0x4c9695));}['getComment'](_0xeb316d){if('string'!=typeof _0xeb316d)throw new ckeditor5['CKEditorError']('commentsrepository-get-comment-invalid-id',null,{'commentId':_0xeb316d});return this['comments']['get'](_0xeb316d);}['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'](_0x38c767=>_0x38c767['toJSON']()),'attributes':this['attributes']};}['_add'](_0x527b5d){return this['listenTo'](_0x527b5d,'change:authoredAt',()=>{const _0x4d78fc=this['_findOptimalIndex'](_0x527b5d),_0x3c73dd=this['comments'];_0x4d78fc-0x1!=_0x3c73dd['getIndex'](_0x527b5d)&&_0x4d78fc+0x1!=_0x3c73dd['getIndex'](_0x527b5d)&&(this['_remove'](_0x527b5d),this['_add'](_0x527b5d));}),this['comments']['add'](_0x527b5d,this['_findOptimalIndex'](_0x527b5d));}['_update'](_0x18b65a){const {channelId:_0x4d03ef,id:_0x2de60a}=this;this['_repository']['fire'](toEventName('updateCommentThread',_0x4d03ef),{..._0x18b65a,'channelId':_0x4d03ef,'threadId':_0x2de60a});}['_remove'](_0x56268e){return this['stopListening'](_0x56268e),_0x56268e['destroy'](),this['comments']['remove'](_0x56268e);}['_findOptimalIndex'](_0x2f12db){const _0x3f8f07=this['comments']['find'](_0x3e2db9=>new Date(_0x3e2db9['authoredAt'])['getTime']()>new Date(_0x2f12db['authoredAt'])['getTime']());return _0x3f8f07?this['comments']['getIndex'](_0x3f8f07):this['length'];}}const _0x217935=0xc8;function getContentLength(_0x37add9){const _0x58c49a=document['createElement']('div');return _0x58c49a['innerHTML']=_0x37add9,_0x58c49a['textContent']['length'];}class Comment extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x1d7dac,_0x5e6136){super();const _0x5ab385=_0x1d7dac['context']['plugins']['get'](_0xd5bff4)['me'],_0x5f0035=_0x1d7dac['getCommentThread'](_0x5e6136['threadId']),_0x51e27f=0x0===_0x5f0035['comments']['length'],_0x1cbdc8=_0x5ab385===_0x5e6136['author'];this['id']=_0x5e6136['id'],this['threadId']=_0x5e6136['threadId'],this['author']=_0x5e6136['author'],this['creator']=_0x5e6136['creator'],this['isExternal']=Boolean(_0x5e6136['attributes']&&_0x5e6136['attributes']['@external']),this['set']('content',_0x5e6136['content']),this['createdAt']=_0x5e6136['createdAt']||new Date(),this['set']('authoredAt',_0x5e6136['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x5f0035,'resolvedAt'),this['set']('attributes',_0x5e6136['attributes']||{}),this['bind']('isEditable')['to'](_0x1d7dac,'_permissions',()=>{const _0x55fe69=_0x1d7dac['getPermissions'](_0x5f0035['channelId'])['write'],_0x54c110=_0x1d7dac['getPermissions'](_0x5f0035['channelId'])['modifyAll'];return _0x1cbdc8&&_0x55fe69||!_0x1cbdc8&&_0x54c110;}),this['bind']('isRemovable')['to'](_0x5f0035,'isRemovable',_0x1d7dac,'_permissions',_0x1cd047=>{const _0x35d26c=_0x1d7dac['getPermissions'](_0x5f0035['channelId'])['write'],_0xcb1e91=_0x1d7dac['getPermissions'](_0x5f0035['channelId'])['modifyAll'];return _0x1cbdc8&&_0x35d26c||_0x1cd047&&_0x51e27f||!_0x1cbdc8&&_0xcb1e91&&!_0x51e27f;}),this['bind']('isReadOnly')['to'](_0x5f0035,'isReadOnly'),this['_repository']=_0x1d7dac;}get['weight'](){return Math['max'](getContentLength(this['content']),_0x217935);}['update'](_0x17761a){const {threadId:_0x3b6fe7,id:_0x12be90}=this;if(!this['_repository']['hasCommentThread'](_0x3b6fe7))throw new ckeditor5['CKEditorError']('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x10c89b}=this['_repository']['getCommentThread'](_0x3b6fe7);this['_repository']['fire'](toEventName('updateComment',_0x10c89b,_0x3b6fe7),{'channelId':_0x10c89b,'threadId':_0x3b6fe7,'commentId':_0x12be90,..._0x17761a});}['setAttribute'](_0x45212c,_0x3d20ba){const _0xf0ebc8=_0xf3eb06(this['attributes']);set(_0xf0ebc8,_0x45212c,_0x3d20ba),this['update']({'attributes':_0xf0ebc8});}['removeAttribute'](_0x4f696e){const _0xf6e2f6=_0xf3eb06(this['attributes']);unset(_0xf6e2f6,_0x4f696e),this['update']({'attributes':_0xf6e2f6});}['remove'](_0x23436e={}){if(!_0x23436e['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x4306a7,id:_0x326699}=this;if(!this['_repository']['hasCommentThread'](_0x4306a7))throw new ckeditor5['CKEditorError']('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x11eb21}=this['_repository']['getCommentThread'](_0x4306a7);this['_repository']['fire'](toEventName('removeComment',_0x11eb21,_0x4306a7),{'channelId':_0x11eb21,'threadId':_0x4306a7,'commentId':_0x326699,..._0x23436e});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}}function toEventName(_0x1426b6,..._0x604a7){for(const _0x4c878a of _0x604a7)void 0x0!==_0x4c878a&&(_0x1426b6+=':'+String(_0x4c878a));return _0x1426b6;}class AddCommentThreadCommand extends ckeditor5['Command']{constructor(_0x33e884){super(_0x33e884),this['set']('hasContent',!0x1);}['refresh'](){const _0x19e183=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0x5ce356 of _0x19e183['getRanges']())if(this['_hasContent'](_0x5ce356))return void(this['hasContent']=!0x0);}['execute']({threadId:_0xab50f=ckeditor5['uid'](),ranges:_0x4f76fc,comment:_0x326560}={}){const _0x5c22c7=this['editor']['model'],_0x229c8a=_0x4f76fc??Array['from'](_0x5c22c7['document']['selection']['getRanges']()),_0x2356f1=[];for(const _0x44ae3e of _0x229c8a)this['_hasContent'](_0x44ae3e)&&_0x2356f1['push'](this['_trimToContent'](_0x44ae3e));if(!_0x2356f1['length'])throw new ckeditor5['CKEditorError']('addcommentthreadcommand-incorrect-ranges',null);_0x326560&&this['_createCommentThread'](_0xab50f,_0x326560),this['_createMarkersFromRanges'](_0xab50f,_0x2356f1,!!_0x326560);}['_createMarkersFromRanges'](_0x33c153,_0x4986d7,_0x560046){this['editor']['model']['change'](_0x502b95=>{for(const _0xa92831 of _0x4986d7){const _0x282eca=ckeditor5['uid']()['substr'](0x1,0x5),_0xe6dbe2='comment:'+_0x33c153+':'+_0x282eca;_0x502b95['addMarker'](_0xe6dbe2,{'range':_0xa92831,'usingOperation':_0x560046,'affectsData':_0x560046});}});}['_createCommentThread'](_0x42ca6a,_0x35ccd3){const _0xfe51bc=this['editor']['plugins']['get']('CommentsRepository'),_0x5cb039=this['editor']['config']['get']('collaboration.channelId'),_0x58c98e=this['editor']['plugins']['get']('Users')['me'];if(!_0x58c98e)throw new ckeditor5['CKEditorError']('addcommentthreadcommand-user-not-found',null);_0xfe51bc['addCommentThread']({'threadId':_0x42ca6a,'channelId':_0x5cb039,'comments':[{'authorId':_0x58c98e['id'],'content':_0x35ccd3,'createdAt':new Date(),'attributes':{}}]});}['_hasContent'](_0x3ea3b4){for(const _0xd6fe47 of _0x3ea3b4['getItems']())if(this['_itemIsContent'](_0xd6fe47))return!0x0;return!0x1;}['_itemIsContent'](_0x270368){return _0x270368['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x270368)&&!_0x270368['is']('element','tableCell');}['_trimToContent'](_0x580938){const _0x36a236=_0x192001=>!this['_itemIsContent'](_0x192001['item']),_0x54d522=_0x580938['start']['getLastMatchingPosition'](_0x36a236),_0x40b7f7=_0x580938['end']['getLastMatchingPosition'](_0x36a236,{'direction':'backward'});return this['editor']['model']['createRange'](_0x54d522,_0x40b7f7);}}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(_0x9854d1){super(_0x9854d1),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x303ef4=this['editor'],_0x5e80db=_0x303ef4['model']['document']['selection'],_0x392239=_0x587714(()=>this['refreshSelectedViews'](),0xa);_0x5e80db['on']('change:range',(_0x2f09e0,_0xd0d487)=>{_0xd0d487['directChange']&&(_0x392239['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x303ef4['editing']['view']['document'],'change:isFocused',(_0x4590eb,_0x3a5f06,_0x986045)=>{_0x986045&&_0x392239();}),this['listenTo'](_0x303ef4['ui']['focusTracker'],'change:isFocused',(_0x105c8c,_0x123b8b,_0x43cb3a)=>{_0x43cb3a||this['fire']('blur',{'isAnnotationTracked':_0x5829ab=>this['_editorAnnotationsData']['has'](_0x5829ab['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x343d4b){if(this['_editorAnnotations']['has'](_0x343d4b['view']))return;this['_editorAnnotations']['add'](_0x343d4b['view']),this['editor']['ui']['focusTracker']['add'](_0x343d4b['view']['element']);const _0x255993=this['editor']['plugins']['get'](Annotations);this['listenTo'](_0x255993['collection'],'remove',(_0x2fe0f6,_0x27e971)=>{this['editor']['ui']['focusTracker']['remove'](_0x27e971['view']['element']),this['_editorAnnotations']['delete'](_0x27e971['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x59b901){if('function'!=typeof _0x59b901)throw new ckeditor5['CKEditorError']('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x59b901);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x15c09c,annotations:_0x5f328a}){const _0x43365a=[],_0x39030e=this['editor']['model']['document']['selection'],_0xec1888=Array['from'](_0x39030e['getRanges']());for(const [_0x3e5e2f,_0x21b27e]of this['_editorAnnotationsData']){const _0xbb1d43=_0x1794ab(_0x21b27e),_0x4649f0=_0x5f328a['getByInnerView'](_0x3e5e2f);_0xbb1d43&&_0x4649f0&&_0x43365a['push']({'annotation':_0x4649f0,'range':_0xbb1d43});}function _0x1794ab(_0x2275fe){for(const _0x16da59 of _0x2275fe)for(const _0x4e86a6 of _0xec1888)if(_0x16da59['containsRange'](_0x4e86a6,!_0x39030e['isCollapsed']))return _0x16da59;return null;}return _0x43365a['sort']((_0x39456f,_0x15d8ed)=>{const _0x3995a6=_0x39456f['range'],_0x200662=_0x15d8ed['range'];if(!_0x3995a6['isEqual'](_0x200662)){if(_0x3995a6['containsRange'](_0x200662,!0x0))return 0x1;if(_0x200662['containsRange'](_0x3995a6,!0x0))return-0x1;}return _0x39456f['annotation']==_0x15c09c?-0x1:_0x15d8ed['annotation']==_0x15c09c?0x1:0x0;})['map'](_0x14d376=>_0x14d376['annotation']);}get['_editorAnnotationsData'](){const _0x1193c2=new Map();for(const _0x1ea7d7 of Array['from'](this['_dataCollectors']))for(const [_0x53dbdc,_0xd31e71]of _0x1ea7d7())_0x1193c2['set'](_0x53dbdc,_0xd31e71);return _0x1193c2;}}class CommentsRestrictedEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0xef425b=this['editor'];if(!_0xef425b['plugins']['has']('RestrictedEditingModeEditing'))return;_0xef425b['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class CommentsImportWord extends ckeditor5['Plugin']{constructor(_0x42431f){super(_0x42431f),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0xae7184=this['editor'],_0x5e0048=_0xae7184['commands']['get']('importWord'),_0x40f0bd=_0xae7184['plugins']['get'](_0xd5bff4);_0x5e0048&&(_0x5e0048['on']('execute',(_0x1e2f7b,[,_0x378835])=>{_0x378835['collaboration_features']={'comments':!0x0,'user_id':_0x40f0bd['me']['id']};},{'priority':ckeditor5['priorities']['high']+0xa}),this['listenTo'](_0x5e0048,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x43271a,_0x45f609){const {comment_threads:_0x28bd30}=_0x45f609;_0x28bd30&&_0x28bd30['forEach'](({thread_id:_0x3d9269,comments:_0x36a377,is_resolved:_0x359365})=>{const _0x27ed7b=new Date(),_0x397dd5=_0x36a377['map'](({author:_0x5e2aad,content:_0x253a85,created_at:_0x3a0727})=>({'content':_0x253a85,'authorId':this['editor']['plugins']['get'](_0xd5bff4)['me']['id'],'createdAt':_0x27ed7b,'attributes':{'@external':{'authorName':_0x5e2aad,'createdAt':_0x3a0727?new Date(_0x3a0727):new Date(),'source':'importWord'}}})),_0x37736d=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](CommentsRepository)['addCommentThread']({'channelId':_0x37736d,'threadId':_0x3d9269,'comments':_0x397dd5,'resolvedAt':_0x359365?_0x27ed7b:null});});}}class CommentsClipboard extends ckeditor5['Plugin']{constructor(_0x141f97){super(_0x141f97),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[ckeditor5['ClipboardMarkersUtils'],ckeditor5['ClipboardPipeline']];}['afterInit'](){const _0x49c3ee=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x49c3ee,'contentInsertion',(_0x1500b5,_0x4bd1da)=>this['_removeMarkersWithoutThreads'](_0x4bd1da['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x305818){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x305818;const _0x241321=this['editor']['plugins']['get']('CommentsRepository');for(const _0x4cbca1 of _0x305818['keys']()){const [_0x2cb41c,_0x289c99]=_0x4cbca1['split'](':');'comment'!=_0x2cb41c||_0x241321['hasCommentThread'](_0x289c99)||_0x305818['delete'](_0x4cbca1);}return _0x305818;}['_registerMarkerInClipboardPipeline'](){const _0x2747c2=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x452783=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x452783&&_0x2747c2['_registerMarkerToCopy']('comment',_0x452783);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x50ce3b){switch(_0x50ce3b){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}function splitMarkerName(_0x374592){const _0x1aaa7e=_0x374592['split'](':');return{'group':_0x1aaa7e[0x0],'id':_0x1aaa7e[0x1],'part':_0x1aaa7e[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':(_0x52d5ef,_0x42f045)=>{if(!_0x42f045['options']['showCommentHighlights'])return null;if(_0x42f045['options']['ignoreResolvedComments']){const {id:_0x4ae9ff}=splitMarkerName(_0x52d5ef['markerName']),_0x3aba86=this['editor']['plugins']['get'](CommentsRepository);if(_0x3aba86['getCommentThread'](_0x4ae9ff)?.['isResolved']&&_0x52d5ef['item'])return _0x42f045['consumable']['consume'](_0x52d5ef['item'],'addMarker:'+_0x52d5ef['markerName']),_0x42f045['consumable']['consume'](_0x52d5ef['item'],'removeMarker:'+_0x52d5ef['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x47c216=>{_0x47c216['on']('addMarker:comment',(_0x464763,_0x46844e,_0x483dc1)=>{if(!_0x483dc1['options']['showCommentHighlights'])return;const _0x5922cb=_0x46844e['item'];if(!_0x5922cb)return;const _0x2cbfef=_0x483dc1['mapper']['toViewElement'](_0x5922cb);this['editor']['model']['schema']['isObject'](_0x5922cb)&&_0x2cbfef&&!_0x2cbfef['getCustomProperty']('widget')&&_0x2cbfef['is']('containerElement')&&ckeditor5['toWidget'](_0x2cbfef,_0x483dc1['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x3b6daa,{writer:_0x1a61d6,options:_0x128bd0})=>{if(!_0x128bd0['showCommentHighlights'])return null;const _0x36e5fc=_0x1a61d6['createContainerElement']('div'),_0x1a1b02=_0x1a61d6['createEmptyElement']('hr');return _0x1a61d6['addClass']('ck-horizontal-line',_0x36e5fc),_0x1a61d6['insert'](_0x1a61d6['createPositionAt'](_0x36e5fc,0x0),_0x1a1b02),_0x36e5fc;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0xd0b3ba,{writer:_0x4b654a,options:_0x10b893})=>{if(!_0x10b893['showCommentHighlights'])return null;const _0x250f32=_0x4b654a['createContainerElement']('span'),_0x56e1ab=_0x4b654a['createEmptyElement']('img');return _0x4b654a['addClass']('image-inline',_0x250f32),_0x4b654a['insert'](_0x4b654a['createPositionAt'](_0x250f32,0x0),_0x56e1ab),_0x250f32;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x423765,{writer:_0x3150e0,options:_0x292dec})=>{if(_0x292dec['showCommentHighlights'])return _0x3150e0['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0x549a1d,_0x440ab5,_0x1326dc)=>{_0x1326dc['options']['showCommentHighlights']&&_0x549a1d['stop']();},{'priority':'high'});}}const _0x5c0461=0x96;class CommentsEditing extends ckeditor5['Plugin']{static get['requires'](){return[CommentsRepository,EditorAnnotations,_0xd5bff4,CommentsRestrictedEditingMode,CommentsImportWord,CommentsClipboard,ShowCommentHighlights];}static get['pluginName'](){return'CommentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2ac979){super(_0x2ac979),this['set']('isThreadsLoadingPaused',!0x0),_0x2ac979['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x140b69,_0x870699,_0x48d607,_0x4a92b7)=>{const _0x30ee02=_0x2ac979['plugins']['get'](CommentsRepository),_0x4537b6=_0x48d607?splitMarkerName(_0x48d607)['id']:null;_0x2ac979['model']['change'](()=>{if(_0x4537b6){const _0x248d00=this['getAllMarkersForId'](_0x4537b6);for(const _0x25b9a7 of _0x248d00)_0x2ac979['editing']['reconvertMarker'](_0x25b9a7);}if(_0x4a92b7){const {id:_0x5c168a}=splitMarkerName(_0x4a92b7),_0x2efbc8=_0x30ee02['getCommentThread'](_0x5c168a);if(_0x2efbc8&&_0x2efbc8['unlinkedAt'])return;if(_0x2efbc8&&!_0x2efbc8['isAttached'])return;const _0x219cc6=this['getAllMarkersForId'](_0x5c168a);for(const _0x2e3541 of _0x219cc6)_0x2ac979['editing']['reconvertMarker'](_0x2e3541);}}),_0x4537b6&&this['scrollToThreadMarker'](_0x4537b6);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x2b45c4=this['editor'],_0xa6a774=_0x2b45c4['plugins']['get'](CommentsRepository),_0x5d1696=_0x2b45c4['config']['get']('collaboration.channelId'),_0x450262=_0xa6a774['getCommentThreads']()['filter'](_0x4639a2=>_0x4639a2['channelId']!==_0x5d1696);_0x2b45c4['commands']['add']('addCommentThread',new AddCommentThreadCommand(_0x2b45c4)),this['listenTo'](_0x2b45c4,'change:isReadOnly',(_0x50c30d,_0x33b09c,_0xe8c31c)=>{_0xa6a774['switchReadOnly'](_0xe8c31c,_0x2b45c4['config']['get']('collaboration.channelId'));}),this['listenTo'](_0xa6a774,createChannelEvent('addCommentThread',_0x5d1696),(_0x2794df,{threadId:_0x4780ac})=>{const _0x5f156c=this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x4780ac);_0x5f156c?.['unlinkedAt']&&this['_attachArchivedThread'](_0x4780ac);}),this['listenTo'](_0xa6a774,createChannelEvent('removeCommentThread',_0x5d1696),(_0x48f3fc,{threadId:_0x4e18c7})=>{_0x2b45c4['model']['enqueueChange']({'isUndoable':!0x1},_0x391165=>{const _0x55b8b0=this['getAllMarkersForId'](_0x4e18c7);for(const _0x282efe of _0x55b8b0)_0x391165['removeMarker'](_0x282efe);});}),this['listenTo'](_0xa6a774,createChannelEvent('resolveCommentThread',_0x5d1696),(_0x134faa,{threadId:_0x175615})=>{(this['_reconvertMarkers'](_0x175615),this['editor']['editing']['view']['hasDomSelection'])&&(this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x175615)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0xa6a774,createChannelEvent('reopenCommentThread',_0x5d1696),(_0x44559a,{threadId:_0x182a42})=>{this['_reconvertMarkers'](_0x182a42);},{'priority':'low'}),this['listenTo'](_0xa6a774,createChannelEvent('addComment',_0x5d1696),(_0x4a6aff,{threadId:_0x4b916e,isFromAdapter:_0x43a6ed})=>{const _0x433f61=this['getAllMarkersForId'](_0x4b916e);if(_0x43a6ed||0x0==_0x433f61['length']||!_0xa6a774['hasCommentThread'](_0x4b916e))return;0x1===_0xa6a774['getCommentThread'](_0x4b916e)['length']&&_0x2b45c4['model']['enqueueChange']({'isUndoable':!0x1},_0x386de0=>{for(const _0x267009 of _0x433f61)_0x386de0['updateMarker'](_0x267009,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x450262);}['afterInit'](){_0x3b4e26(this);}['destroy'](){const _0x315dae=this['editor']['plugins']['get'](CommentsRepository),_0x55adab=this['editor']['config']['get']('collaboration.channelId');for(const _0xeb59ad of _0x315dae['getCommentThreads']({'channelId':_0x55adab}))_0x315dae['_detachCommentThread'](_0xeb59ad['id']),_0x315dae['_threads']['delete'](_0xeb59ad['id']);super['destroy']();}['hasMarkerForId'](_0xa4292a){return this['getAllMarkersForId'](_0xa4292a)['length']>0x0;}['getAllMarkersForId'](_0x45932f){const _0x2dc0ab=[];for(const _0x6ffff6 of this['editor']['model']['markers'])_0x6ffff6['name']['startsWith']('comment:'+_0x45932f)&&_0x2dc0ab['push'](_0x6ffff6);return _0x2dc0ab;}['scrollToThreadMarker'](_0x5045d5){setTimeout(()=>{const _0x1b61f4=this['_getTargetForId'](_0x5045d5);if(!_0x1b61f4)return;this['activeMarker']&&splitMarkerName(this['activeMarker'])['id']===_0x5045d5&&ckeditor5['scrollViewportToShowTarget']({'target':_0x1b61f4[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0xd528f){this['editor']['model']['change'](()=>{for(const _0xca2d39 of this['getAllMarkersForId'](_0xd528f))this['editor']['editing']['reconvertMarker'](_0xca2d39);});}['_attachArchivedThread'](_0x1e3f76){const _0x327182=this['editor']['plugins']['get'](CommentsRepository),_0x5215da=this['editor']['plugins']['get'](EditorAnnotations),_0x391e7a=_0x327182['getCommentThread'](_0x1e3f76);if(!_0x391e7a['isAttached']){const _0x578091=_0x391e7a['attachTo'](()=>this['_getTargetForId'](_0x391e7a['id']));_0x5215da['registerAnnotation'](_0x578091),_0x391e7a['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0xa559d5=this['editor'],_0x2acf35=_0xa559d5['plugins']['get'](_0xd5bff4);_0xa559d5['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x14c2b6,_0x1475a9)=>{const {id:_0x21912c}=splitMarkerName(_0x14c2b6['markerName']),_0x527d53=_0xa559d5['plugins']['get'](CommentsRepository)['getCommentThread'](_0x21912c),_0x4932cc=this['activeMarker']&&splitMarkerName(this['activeMarker'])['id']===_0x21912c;let _0x69fcd1;if(_0x527d53&&_0x527d53['isResolved']&&!_0x4932cc&&_0x14c2b6['item'])return _0x1475a9['consumable']['consume'](_0x14c2b6['item'],'addMarker:'+_0x14c2b6['markerName']),_0x1475a9['consumable']['consume'](_0x14c2b6['item'],'removeMarker:'+_0x14c2b6['markerName']),null;const _0x12a35d=['ck-comment-marker'];return _0x4932cc&&_0x12a35d['push']('ck-comment-marker--active'),_0x69fcd1=_0x527d53?.['length']?_0x527d53['comments']['first']['author']['id']:_0x2acf35['me']['id'],{'classes':_0x12a35d,'attributes':{'data-comment':_0x21912c,'data-author-id':_0x69fcd1}};}}),_0xa559d5['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0xb37530,{options:_0x12ace4})=>{if(_0x12ace4['showCommentHighlights'])return null;const _0x4a78fc=_0xa559d5['plugins']['get'](CommentsRepository),_0x430cf4=_0xa559d5['model']['markers']['get'](_0xb37530),{id:_0x370fa6,part:_0xda3e4b}=splitMarkerName(_0xb37530);return _0x430cf4&&!_0x430cf4['affectsData']||_0x12ace4['ignoreResolvedComments']&&_0x4a78fc['getCommentThread'](_0x370fa6)?.['isResolved']?null:{'group':'comment','name':_0xda3e4b?_0x370fa6+':'+_0xda3e4b:_0x370fa6};}}),_0xa559d5['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0xdde9,{writer:_0x873345})=>_0x873345['createElement']('$marker',{'data-name':'comment:'+_0xdde9['getAttribute']('id')})}),_0xa559d5['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x404cf7=this['editor'],_0x13f518=_0x404cf7['plugins']['get'](CommentsRepository),_0x442f58=new Set(),_0x5ce4af=new Set();_0x404cf7['model']['document']['registerPostFixer'](_0x170769=>{let _0x4dd796=!0x1;for(const {name:_0x31f737,data:_0x343acd}of _0x404cf7['model']['document']['differ']['getChangedMarkers']()){const {group:_0x4089df,id:_0x4f6147}=splitMarkerName(_0x31f737);let _0x32a981=_0x343acd['newRange'];if('comment'!==_0x4089df||!_0x32a981)continue;const _0x87d583='$graveyard'===_0x32a981['root']['rootName'];_0x87d583||(_0x32a981=_0x349689(_0x32a981,_0x404cf7['model']),!_0x32a981||_0x32a981['isCollapsed']||!_0x343acd['newRange']||_0x32a981['isEqual'](_0x343acd['newRange']))?_0x404cf7['model']['hasContent'](_0x32a981)&&!_0x87d583?this['isThreadsLoadingPaused']?_0x442f58['add'](_0x31f737):this['_handleThreadMarker'](_0x31f737,_0x4f6147):(_0x5ce4af['add'](_0x31f737),_0x442f58['delete'](_0x31f737),_0x170769['removeMarker'](_0x31f737),_0x4dd796=!0x0):(_0x170769['updateMarker'](_0x31f737,{'range':_0x32a981}),_0x4dd796=!0x0);}return _0x4dd796;}),this['on']('change:isThreadsLoadingPaused',(_0x1a269c,_0x17c09e,_0x1b7469)=>{if(!_0x1b7469&&_0x442f58['size'])for(const _0x1b1306 of _0x442f58){const {id:_0x1cb7b8}=splitMarkerName(_0x1b1306);_0x442f58['delete'](_0x1b1306),_0x404cf7['model']['markers']['get'](_0x1b1306)&&this['_handleThreadMarker'](_0x1b1306,_0x1cb7b8);}}),this['listenTo'](_0x404cf7['model']['document'],'change',()=>{for(const {name:_0x2b111d,data:{newRange:_0x27f9d0}}of _0x404cf7['model']['document']['differ']['getChangedMarkers']()){const {group:_0x4799af,id:_0x189c58}=splitMarkerName(_0x2b111d);if('comment'!==_0x4799af)continue;const _0x414f5b=_0x13f518['getCommentThread'](_0x189c58),_0x5d25bc=this['hasMarkerForId'](_0x189c58);_0x414f5b&&(!_0x414f5b['_hasTargetInContent']&&_0x27f9d0&&_0x404cf7['editing']['view']['once']('render',()=>{const _0x6b7ee1=_0x404cf7['plugins']['get'](Annotations),_0x19f6e4=_0x13f518['_threadToController']['get'](_0x414f5b)['view'];_0x6b7ee1['getByInnerView'](_0x19f6e4)['refreshVisibility']();},{'priority':'low'}),_0x414f5b['_hasTargetInContent']=_0x5d25bc||!!_0x27f9d0),_0x27f9d0||(_0x5ce4af['add'](_0x2b111d),_0x442f58['delete'](_0x2b111d));}for(const _0x264f67 of _0x5ce4af){const {id:_0x15edd0}=splitMarkerName(_0x264f67),_0x45293d=_0x13f518['getCommentThread'](_0x15edd0);if(_0x442f58['delete'](_0x264f67),!_0x45293d)continue;const _0x336d1=this['hasMarkerForId'](_0x15edd0);_0x336d1||_0x45293d['isSubmitted']?_0x336d1||_0x45293d['unlinkedAt']||_0x45293d['setUnlinkedAt'](new Date()):_0x45293d['remove']();}_0x5ce4af['clear']();});}['_handleInitialThreads'](_0x2400a9){_0x2400a9['forEach'](_0x4b2f7f=>{_0x4b2f7f['unlinkedAt']&&this['_attachArchivedThread'](_0x4b2f7f['id']);});}['_getTargetForId'](_0x3c4523){const _0x55bcb4=this['editor'],_0x1dbbc4=this['getAllMarkersForId'](_0x3c4523);return getAllMarkersDomElementsSorted(_0x55bcb4['editing'],_0x1dbbc4);}['_getTextContext'](_0x4e32af){const _0x5804ba=this['getAllMarkersForId'](_0x4e32af);let _0x392bdc='',_0x1cc3fe=!0x1;for(const _0x4775d6 of _0x5804ba){const _0x4e3eec=_0x4775d6['getRange']();for(const _0x47c848 of Array['from'](_0x4e3eec['getItems']()))_0x47c848['is']('$textProxy')?(_0x392bdc&&_0x1cc3fe&&(_0x392bdc+='\x20',_0x1cc3fe=!0x1),_0x392bdc+=_0x47c848['data']):_0x1cc3fe=!0x0;_0x1cc3fe=!0x0;}return _0x392bdc['substring'](0x0,_0x5c0461);}['_attachMarkerToThread'](_0x353b5b,_0x7d8fb8){const _0x4c4256=this['editor'],_0x29cbfc=_0x4c4256['plugins']['get'](CommentsRepository);let _0xba7ac=_0x29cbfc['getCommentThread'](_0x7d8fb8);const _0x21d8ce=_0x4c4256['config']['get']('collaboration.channelId'),_0x4b69ea=_0x4c4256['plugins']['get'](EditorAnnotations);if(_0xba7ac&&(_0xba7ac['unlinkedAt']&&_0xba7ac['setUnlinkedAt'](null),_0xba7ac['isAttached']))return _0xba7ac;return!this['getAllMarkersForId'](_0x7d8fb8)[0x0]['managedUsingOperations']?_0x4c4256['editing']['view']['once']('render',()=>{if(_0x29cbfc['getCommentThread'](_0x7d8fb8))return;const _0x45d5b0=_0x4c4256['plugins']['get'](Annotations);_0xba7ac=_0x29cbfc['openNewCommentThread']({'channelId':_0x21d8ce,'threadId':_0x7d8fb8,'target':()=>this['_getTargetForId'](_0x7d8fb8),'context':{'type':'text','value':this['_getTextContext'](_0x7d8fb8)}});const _0xbc33b2=_0x29cbfc['_threadToController']['get'](_0xba7ac)['view'],_0x57b4c0=_0x45d5b0['getByInnerView'](_0xbc33b2);_0x57b4c0&&_0x4b69ea['registerAnnotation'](_0x57b4c0);},{'priority':'low'}):_0x29cbfc['fetchCommentThread']({'channelId':_0x21d8ce,'threadId':_0x7d8fb8})['then'](_0x27e60a=>{if('destroyed'!==_0x4c4256['state']){if(_0xba7ac=_0x27e60a,_0xba7ac&&!_0xba7ac['isAttached']){const _0xf6ec53=_0xba7ac['attachTo'](()=>this['_getTargetForId'](_0x7d8fb8));_0x4b69ea['registerAnnotation'](_0xf6ec53),_0xba7ac['isResolved']&&this['_reconvertMarkers'](_0x7d8fb8);}else{if(!_0xba7ac){const _0x7ce3df=this['getAllMarkersForId'](_0x7d8fb8);_0x4c4256['model']['change'](_0x560944=>{for(const _0x3d7536 of _0x7ce3df)_0x560944['removeMarker'](_0x3d7536);});}}}}),_0xba7ac;}['_handleThreadMarker'](_0x3ecd30,_0x1e3d3b){const _0x64f4a9=this['_attachMarkerToThread'](_0x3ecd30,_0x1e3d3b);_0x64f4a9&&!_0x64f4a9['context']&&_0x64f4a9['setContext']({'type':'text','value':this['_getTextContext'](_0x1e3d3b)});}['_initAriaMarkerChangeAnnouncements'](){const _0x3403f1=this['editor'];surroundingMarkersDetector(_0x3403f1['model'],({left:_0x24c704,entered:_0xb96035})=>{for(const _0x46e310 of _0x24c704)if(isCommentMarker(_0x46e310)){_0x3403f1['ui']['ariaLiveAnnouncer']['announce'](getTranslation$f(_0x3403f1['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x3272be of _0xb96035)if(isCommentMarker(_0x3272be)){_0x3403f1['ui']['ariaLiveAnnouncer']['announce'](getTranslation$f(_0x3403f1['locale'],'ENTER_COMMENT_ANNOUNCEMENT',ckeditor5['getEnvKeystrokeText'](_0x510d32)));break;}});}}function createChannelEvent(_0x35cbe3,_0x136dec){return _0x136dec?_0x35cbe3+':'+_0x136dec:_0x35cbe3;}function _0x349689(_0x2ddea1,_0x5a4649){const _0x318e75=_0x5a4649['schema'],_0x1c0e52=_0x5a4649['createRange'](_0x2ddea1['start']);for(const _0x1a1ad0 of _0x2ddea1['getWalker']()){const {type:_0x521658,item:_0x2545cf,nextPosition:_0x449f38}=_0x1a1ad0;if('text'===_0x521658||_0x318e75['isObject'](_0x2545cf)){const _0x23d12f=_0x5a4649['createPositionBefore'](_0x2545cf);_0x1c0e52['isCollapsed']&&(_0x1c0e52['start']=_0x23d12f),_0x1c0e52['end']=_0x449f38;}}return _0x1c0e52;}function isCommentMarker(_0x59a07b){return'comment'===splitMarkerName(_0x59a07b['name'])['group'];}async function _0x3b4e26(_0x49df0f){const _0x3d8915=_0x3478e1([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]),_0x1d0591=window[_0x3478e1([0x44,0x61,0x74,0x65])][_0x3478e1([0x6e,0x6f,0x77])](),_0x3fa81b=_0x49df0f[_0x3478e1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1e65f5=new window[(_0x3478e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5564fc=>{_0x3fa81b[_0x3478e1([0x6f,0x6e,0x63,0x65])](_0x3478e1([0x72,0x65,0x61,0x64,0x79]),_0x5564fc);}),_0x45563c={[_0x3478e1([0x6b,0x74,0x79])]:_0x3478e1([0x45,0x43]),[_0x3478e1([0x75,0x73,0x65])]:_0x3478e1([0x73,0x69,0x67]),[_0x3478e1([0x63,0x72,0x76])]:_0x3478e1([0x50,0x2d,0x32,0x35,0x36]),[_0x3478e1([0x78])]:_0x3478e1([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]),[_0x3478e1([0x79])]:_0x3478e1([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]),[_0x3478e1([0x61,0x6c,0x67])]:_0x3478e1([0x45,0x53,0x32,0x35,0x36])},_0x4d3fa2=_0x3fa81b[_0x3478e1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3478e1([0x67,0x65,0x74])](_0x3478e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3a1946=await(async function(){let _0x51aa5b,_0x2a8932=null,_0x3f043d=null;try{if(_0x4d3fa2==_0x3478e1([0x47,0x50,0x4c]))return _0x3478e1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51aa5b=(function(){const _0x44b3ce=_0x4d3fa2[_0x3478e1([0x73,0x70,0x6c,0x69,0x74])](_0x3478e1([0x2e]));if(0x3!=_0x44b3ce[_0x3478e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x4442d1=_0x44b3ce[0x1];return _0x22c34e(_0x4442d1);function _0x22c34e(_0x9288b){const _0x52f33d=_0x53cfba(_0x9288b);return _0x52f33d&&_0x4bf297()?_0x52f33d:null;function _0x4bf297(){const _0x379be6=_0x52f33d[_0x3478e1([0x6a,0x74,0x69])],_0x117119=window[_0x3478e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x379be6[_0x3478e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x379be6[_0x3478e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x17935d={..._0x52f33d,[_0x3478e1([0x6a,0x74,0x69])]:_0x379be6[_0x3478e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x379be6[_0x3478e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x17935d[_0x3478e1([0x76,0x63])],_0x1b1f55(_0x17935d)==_0x117119;}}}()),!_0x51aa5b)return _0x3478e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x51aa5b[_0x3478e1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3f043d=function(_0x2b2af5,_0x3e13f2){return new window[(_0x3478e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x192c50=>{if(_0x4cf4c4())return _0x192c50(_0x3478e1([0x56,0x61,0x6c,0x69,0x64]));_0x351b22(),_0x3fa81b[_0x3478e1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3478e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x53571b=!0x1;const _0x2ea92a=ckeditor5['uid']();function _0x30782f(_0x2e0601){return!!_0x2e0601&&(typeof _0x2e0601===_0x3478e1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2e0601===_0x3478e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2e0601[_0x3478e1([0x74,0x68,0x65,0x6e])]===_0x3478e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2e0601[_0x3478e1([0x63,0x61,0x74,0x63,0x68])]===_0x3478e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f3da8(_0x5cb3d2){_0x33e16b(_0x5cb3d2)[_0x3478e1([0x74,0x68,0x65,0x6e])](_0x4ec545=>{if(!_0x4ec545||_0x4ec545[_0x3478e1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3478e1([0x6f,0x6b]))return _0x3478e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b3ba7(_0x1b1f55(_0x2ea92a+_0x3e13f2))!=_0x4ec545[_0x3478e1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3478e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3478e1([0x56,0x61,0x6c,0x69,0x64]);})[_0x3478e1([0x74,0x68,0x65,0x6e])](_0x4187bc=>(_0x5ccb8b(),_0x4187bc),()=>{const _0x22b5ad=_0x5113ce();return null==_0x22b5ad?(_0x5ccb8b(),_0x3478e1([0x56,0x61,0x6c,0x69,0x64])):_0x3478e1(_0x1d0591-_0x22b5ad>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3478e1([0x74,0x68,0x65,0x6e])](_0x192c50)[_0x3478e1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x192c50(_0x3478e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf524ed=0x36ee80;function _0x5ccb8b(){const _0x165809=_0x3478e1([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b3ba7(_0x1b1f55(_0x2b2af5)),_0x4df1b3=_0x3bb290(_0x2b3ba7(window[_0x3478e1([0x4d,0x61,0x74,0x68])][_0x3478e1([0x63,0x65,0x69,0x6c])](_0x1d0591/_0xf524ed)));window[_0x3478e1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3478e1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x165809,_0x4df1b3);}function _0x5113ce(){const _0x38f0a0=_0x3478e1([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b3ba7(_0x1b1f55(_0x2b2af5)),_0x4e3625=window[_0x3478e1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3478e1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38f0a0);return _0x4e3625?window[_0x3478e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3bb290(_0x4e3625),0x10)*_0xf524ed:null;}function _0x33e16b(_0x1f0072){return new window[(_0x3478e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x436c84,_0x3b86b4)=>{_0x1f0072[_0x3478e1([0x74,0x68,0x65,0x6e])](_0x436c84,_0x3b86b4),window[_0x3478e1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b86b4,0x1d4c0);});}}_0x3fa81b[_0x3478e1([0x6f,0x6e])](_0x3478e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3bf0cd,_0x5f1921)=>{if(_0x5f1921[0x0]!=_0x2b2af5)return _0x192c50(_0x3478e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5f1921[0x1]={..._0x5f1921[0x1],[_0x3478e1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ea92a};},{[_0x3478e1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3478e1([0x68,0x69,0x67,0x68])}),_0x3fa81b[_0x3478e1([0x6f,0x6e])](_0x3478e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x471df5=>{_0x30782f(_0x471df5[_0x3478e1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x53571b=!0x0,_0x3f3da8(_0x471df5[_0x3478e1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3478e1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3478e1([0x6c,0x6f,0x77])}),_0x1e65f5[_0x3478e1([0x74,0x68,0x65,0x6e])](()=>{_0x53571b||_0x192c50(_0x3478e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4cf4c4(){return _0x3fa81b[_0x3478e1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3478e1([0x76,0x69,0x65,0x77])][_0x3478e1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3478e1([0x61,0x75,0x74,0x6f]);}function _0x351b22(){_0x3fa81b[_0x3478e1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3478e1([0x76,0x69,0x65,0x77])][_0x3478e1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3478e1([0x61,0x75,0x74,0x6f]);}}(_0x51aa5b[_0x3478e1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51aa5b[_0x3478e1([0x6a,0x74,0x69])]));const _0x511ea0=await(async function(){let _0x8bf879=!0x0;try{const _0x1a2723=_0x4d3fa2[_0x3478e1([0x73,0x70,0x6c,0x69,0x74])](_0x3478e1([0x2e])),[_0x149d27,_0x16dc72,_0x34327c]=_0x1a2723;return _0x1f652c(_0x149d27),await _0x47466b(_0x149d27,_0x16dc72,_0x34327c),_0x8bf879;}catch{return!0x1;}function _0x1f652c(_0x35785b){const _0x46ed29=_0x53cfba(_0x35785b);_0x46ed29&&_0x46ed29[_0x3478e1([0x61,0x6c,0x67])]==_0x3478e1([0x45,0x53,0x32,0x35,0x36])||(_0x8bf879=!0x1);}async function _0x47466b(_0x54dc12,_0x355c02,_0xac8c91){const _0x23e13d=window[_0x3478e1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3478e1([0x66,0x72,0x6f,0x6d])](_0x37e83f(_0xac8c91),_0x1d6a54=>_0x1d6a54[_0x3478e1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x46de0a=new window[(_0x3478e1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3478e1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54dc12+_0x3478e1([0x2e])+_0x355c02),_0x520321=window[_0x3478e1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3478e1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x520321)return;const _0x54347d=await _0x520321[_0x3478e1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3478e1([0x6a,0x77,0x6b]),_0x45563c,{[_0x3478e1([0x6e,0x61,0x6d,0x65])]:_0x3478e1([0x45,0x43,0x44,0x53,0x41]),[_0x3478e1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3478e1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3478e1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x520321[_0x3478e1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3478e1([0x6e,0x61,0x6d,0x65])]:_0x3478e1([0x45,0x43,0x44,0x53,0x41]),[_0x3478e1([0x68,0x61,0x73,0x68])]:{[_0x3478e1([0x6e,0x61,0x6d,0x65])]:_0x3478e1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54347d,_0x23e13d,_0x46de0a)||(_0x8bf879=!0x1);}}());return _0x511ea0?(function(){const _0x110202=_0x51aa5b[_0x3478e1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x110202)return!0x1;if(_0x110202[_0x3478e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3478e1([0x2a])))return!0x0;if(_0x110202[_0x3478e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3478e1([0x43,0x4d,0x54])))return!0x0;if(_0x110202[_0x3478e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3478e1([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x3478e1([0x67,0x6c,0x6f,0x62])]&&window[_0x3478e1([0x67,0x6c,0x6f,0x62])][_0x3478e1([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;if(_0x110202[_0x3478e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3478e1([0x52,0x43,0x4d,0x54]))){if(_0x5160de(_0x3478e1([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&(_0x5a70c9=_0x3478e1([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]),_0x3fa81b[_0x3478e1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3478e1([0x67,0x65,0x74])](_0x5a70c9))[_0x3478e1([0x73,0x74,0x61,0x74,0x65])]==_0x3478e1([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x5160de(_0x3478e1([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]))||_0x5160de(_0x3478e1([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 _0x5a70c9;return!0x1;}())?(function(){const _0x16b8bd=[_0x3478e1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3478e1([0x74,0x72,0x69,0x61,0x6c])][_0x3478e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51aa5b[_0x3478e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d0591/0x3e8:0x69e02680;return _0x51aa5b[_0x3478e1([0x65,0x78,0x70])]<_0x16b8bd;}())?_0x3478e1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x2d0563=_0x51aa5b[_0x3478e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d0563||0x0==_0x2d0563[_0x3478e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x356348}=new URL(window[_0x3478e1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2d0563[_0x3478e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x356348))return!0x0;const _0x5db6f8=_0x356348[_0x3478e1([0x73,0x70,0x6c,0x69,0x74])](_0x3478e1([0x2e]));return _0x2d0563[_0x3478e1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17a6e0=>_0x17a6e0[_0x3478e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3478e1([0x2a])))[_0x3478e1([0x6d,0x61,0x70])](_0x29afaf=>_0x29afaf[_0x3478e1([0x73,0x70,0x6c,0x69,0x74])](_0x3478e1([0x2e])))[_0x3478e1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x803dc0=>_0x803dc0[_0x3478e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5db6f8[_0x3478e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3478e1([0x6d,0x61,0x70])](_0x11651a=>Array(_0x5db6f8[_0x3478e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x11651a[_0x3478e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3478e1([0x66,0x69,0x6c,0x6c])](_0x11651a[0x0]===_0x3478e1([0x2a])?_0x3478e1([0x2a]):'')[_0x3478e1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x11651a))[_0x3478e1([0x73,0x6f,0x6d,0x65])](_0x34734e=>_0x5db6f8[_0x3478e1([0x65,0x76,0x65,0x72,0x79])]((_0x4fb2a7,_0x10eaa1)=>_0x34734e[_0x10eaa1]===_0x4fb2a7||_0x34734e[_0x10eaa1]===_0x3478e1([0x2a])));}())?(_0x51aa5b[_0x3478e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3478e1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2a8932=function(_0x31d97b){const _0x4a10a3=new window[(_0x3478e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x196018=>setTimeout(_0x196018,0x93ecc)),_0xa26c59=_0x1e65f5[_0x3478e1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3478e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1602c5=>{let _0x12c237=0x0;_0x3fa81b[_0x3478e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3478e1([0x6f,0x6e])](_0x3478e1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x59293d,_0x591bc1)=>{_0x591bc1[0x0][_0x3478e1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12c237++,0x5e8==_0x12c237&&(_0x1602c5(),_0x59293d[_0x3478e1([0x6f,0x66,0x66])]());});})),_0x41bef8=[_0x4a10a3,_0xa26c59];return window[_0x3478e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3478e1([0x72,0x61,0x63,0x65])](_0x41bef8)[_0x3478e1([0x74,0x68,0x65,0x6e])](()=>_0x31d97b);}(_0x3478e1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2a8932&&_0x3f043d)return new window[(_0x3478e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3375e9,_0x15a5a0)=>{_0x2a8932[_0x3478e1([0x74,0x68,0x65,0x6e])](_0x3375e9,_0x15a5a0),_0x3f043d[_0x3478e1([0x74,0x68,0x65,0x6e])](_0x8a10b=>{_0x8a10b!=_0x3478e1([0x56,0x61,0x6c,0x69,0x64])&&_0x3375e9(_0x8a10b);},_0x15a5a0);});return _0x2a8932||_0x3f043d||_0x3478e1([0x56,0x61,0x6c,0x69,0x64]);}())):_0x3478e1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3478e1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3478e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3478e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x53cfba(_0x1c669a){return _0x1c669a[_0x3478e1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3478e1([0x65,0x79]))?JSON[_0x3478e1([0x70,0x61,0x72,0x73,0x65])](_0x37e83f(_0x1c669a)):null;}function _0x37e83f(_0x29211e){return window[_0x3478e1([0x61,0x74,0x6f,0x62])](_0x29211e[_0x3478e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3478e1([0x2b]))[_0x3478e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3478e1([0x2f])));}function _0x1b1f55(_0x32bd9c){let _0x598ecb=0x1505;function _0x3245c4(_0x43197b){for(let _0x374ca3=0x0;_0x374ca3<_0x43197b[_0x3478e1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x374ca3++){const _0x1591d3=_0x43197b[_0x3478e1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x374ca3);_0x598ecb=(_0x598ecb<<0x5)+_0x598ecb+_0x1591d3,_0x598ecb&=_0x598ecb;}}return function _0x5a3ecb(_0x29cc03){Array[_0x3478e1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x29cc03)?_0x29cc03[_0x3478e1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a3ecb):_0x29cc03&&typeof _0x29cc03==_0x3478e1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3478e1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x29cc03)[_0x3478e1([0x73,0x6f,0x72,0x74])]()[_0x3478e1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x49b7d2,_0xfc31b5])=>{_0x3245c4(_0x49b7d2),_0x5a3ecb(_0xfc31b5);}):_0x3245c4(window[_0x3478e1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x29cc03));}(_0x32bd9c),_0x598ecb>>>0x0;}function _0x2b3ba7(_0x31b49e){return _0x31b49e[_0x3478e1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3478e1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3478e1([0x30]));}function _0x3bb290(_0x2f4b65){return _0x2f4b65[_0x3478e1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3478e1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3478e1([0x6a,0x6f,0x69,0x6e])]('');}function _0x5160de(_0x33a3f9){return _0x3fa81b[_0x3478e1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3478e1([0x68,0x61,0x73])](_0x33a3f9);}function _0x3a38a8(){}function _0x3478e1(_0x31ef35){return _0x31ef35['map'](_0x11815e=>String['fromCharCode'](_0x11815e))['join']('');}!function(_0x1242c0){const _0x583372=(function(){const _0x4874f1=window[_0x3478e1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3478e1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3478e1([0x6e,0x6f,0x77])]())[_0x3478e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3478e1([0x2e]),'');let _0x709245=_0x3478e1([0x4b]);for(let _0x5207fe=0x0;_0x5207fe<_0x4874f1[_0x3478e1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5207fe+=0x2){let _0x2dc15e=window[_0x3478e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4874f1[_0x3478e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5207fe,_0x5207fe+0x2));_0x2dc15e>=_0x3d8915[_0x3478e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2dc15e-=_0x3d8915[_0x3478e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x709245+=_0x3d8915[_0x2dc15e];}return _0x709245;}());_0x3fa81b[_0x583372]=_0x3478e1([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1242c0,_0x1242c0!=_0x3478e1([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x1e65f5,_0x3fa81b[_0x3478e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3478e1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3a38a8,_0x3fa81b[_0x3478e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3478e1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3a38a8,_0x3fa81b[_0x3478e1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3478e1([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x3a1946);}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 _0x5383ba=this['editor'],_0x4e98ad=_0x5383ba['plugins']['get'](CommentsRepository),_0x17f81c=_0x5383ba['plugins']['get'](CommentsEditing),_0x38d02=_0x5383ba['plugins']['get'](Annotations),_0x41f1c5=_0x5383ba['plugins']['get'](EditorAnnotations);_0x5383ba['ui']['componentFactory']['add']('comment',()=>{const _0x1e4818=this['_createUIButton'](ckeditor5['ButtonView']);return _0x1e4818['tooltip']=!0x0,_0x1e4818;}),_0x5383ba['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](ckeditor5['MenuBarMenuListItemButtonView'])),_0x41f1c5['addSourceCollector'](()=>{const _0x16d9e0=[];for(const [_0x27bebf,_0x3723da]of _0x4e98ad['_threadToController']){const _0xf6db78=_0x17f81c['getAllMarkersForId'](_0x27bebf['id']),_0xc2c2de=_0xf6db78['map'](_0x2049e3=>_0x2049e3['getRange']());_0xf6db78['length']>0x0&&_0x16d9e0['push']([_0x3723da['view'],_0xc2c2de]);}return _0x16d9e0;}),this['listenTo'](_0x38d02,'change:activeAnnotations',(_0x23564f,_0x25d798,_0x30e4af)=>{const _0x4ef8dd=Array['from'](_0x30e4af)['map'](_0x37d259=>_0x37d259['innerView'])['find'](_0x4438de=>_0x4e98ad['_viewToController']['has'](_0x4438de));if(!_0x4ef8dd)return void(_0x17f81c['activeMarker']=null);const _0x38ca72=_0x4e98ad['_viewToController']['get'](_0x4ef8dd)['model']['id'],_0x510dd4='comment:'+_0x38ca72;_0x38ca72&&_0x17f81c['hasMarkerForId'](_0x38ca72)?_0x17f81c['activeMarker']=_0x510dd4:_0x17f81c['activeMarker']&&(_0x17f81c['activeMarker']=null);}),this['listenTo'](_0x4e98ad,'removeCommentThread',(_0x525030,{threadId:_0x587198,isFromAdapter:_0x4a7b48})=>{!_0x4a7b48&&_0x5383ba['ui']['focusTracker']['isFocused']&&_0x17f81c['hasMarkerForId'](_0x587198)&&_0x5383ba['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x4e98ad,'addComment',(_0x46bbc8,{threadId:_0x3f9cb0,isFromAdapter:_0x2d488b})=>{if(_0x2d488b||!_0x17f81c['hasMarkerForId'](_0x3f9cb0)||!_0x4e98ad['hasCommentThread'](_0x3f9cb0))return;0x1===_0x4e98ad['getCommentThread'](_0x3f9cb0)['length']&&(_0x5383ba['editing']['view']['focus'](),_0x46bbc8['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x190116=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5ca184;for(const _0x2d91cd in _0x190116){const _0x197229=_0x2d91cd,_0x2843c3=_0x190116[_0x197229];if('commentsLicenseKeyValid'==_0x2843c3||'commentsLicenseKeyInvalid'==_0x2843c3||'commentsLicenseKeyExpired'==_0x2843c3||'commentsLicenseKeyDomainLimit'==_0x2843c3||'commentsLicenseKeyNotAllowed'==_0x2843c3||'commentsLicenseKeyEvaluationLimit'==_0x2843c3||'commentsLicenseKeyUsageLimit'==_0x2843c3){delete _0x190116[_0x197229],_0x5ca184=_0x2843c3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x5ca184&&_0x190116['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x5ca184&&_0x190116['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x5ca184&&_0x190116['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x5ca184&&_0x190116['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x5ca184&&_0x190116['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyUsageLimit'==_0x5ca184&&_0x190116['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0x2d75c0){const _0x10b811=this['editor'],_0x3bf562=new _0x2d75c0(_0x10b811['locale']),_0x53212a=_0x10b811['commands']['get']('addCommentThread');return _0x3bf562['set']({'label':getTranslation$f(_0x10b811['locale'],'Comment'),'icon':ckeditor5['IconAddComment']}),_0x3bf562['bind']('isEnabled')['to'](_0x53212a,'isEnabled',_0x53212a,'hasContent',(_0x2cd4ce,_0xd00483)=>_0x2cd4ce&&_0xd00483),this['listenTo'](_0x3bf562,'execute',()=>{_0x53212a['execute']();}),_0x3bf562;}}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(_0x3500ef){super(_0x3500ef),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x10b526,_0x41bd73,_0x3cfa34)=>{_0x3cfa34?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x1210cc,_0x3686c5]of this['editor']['commands'])_0x3686c5['affectsData']&&'addCommentThread'!==_0x1210cc&&_0x3686c5['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 _0x4d2f67=this['editor']['editing']['view']['document'];this['listenTo'](_0x4d2f67,'cut',_0x107a72=>_0x107a72['stop'](),{'priority':'highest'}),this['listenTo'](_0x4d2f67,'clipboardInput',_0x22c2cb=>_0x22c2cb['stop'](),{'priority':'highest'}),this['listenTo'](_0x4d2f67,'delete',_0x59d11b=>_0x59d11b['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x1a29c2,_0x52f13b]of this['editor']['commands'])_0x52f13b['affectsData']&&'addCommentThread'!==_0x1a29c2&&_0x52f13b['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(_0x2cd8f9){super(_0x2cd8f9),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}['init'](){const _0x44cb5c=this['context']['plugins']['get'](Annotations);this['listenTo'](_0x44cb5c,'_activateAnnotation',(_0x4ae71b,_0x7dfc2f)=>{for(const _0x22f229 of this['activeUIs']){const _0x401278=this['_uis']['get'](_0x22f229);(0x0,this['uisData']['get'](_0x22f229)['filter'])(_0x7dfc2f)&&_0x401278['setActiveAnnotation'](_0x7dfc2f);}}),this['listenTo'](_0x44cb5c,'_deactivateAllAnnotations',()=>{for(const _0x301247 of this['activeUIs']){this['_uis']['get'](_0x301247)['setActiveAnnotation'](null);}}),this['listenTo'](_0x44cb5c['_visibleAnnotations'],'add',(_0x31e6b8,_0x2b3c9b)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x2b3c9b);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x35c569){return this['activeUIs']['has'](_0x35c569);}['activate'](_0x5ee825,_0x505052=this['defaultFilter']){const _0xf89cee=this['context']['plugins']['get'](Annotations);if(!this['_uis']['has'](_0x5ee825))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x5ee825});this['isActive'](_0x5ee825)&&this['deactivate'](_0x5ee825),this['activeUIs']['add'](_0x5ee825);const _0x39e145=new AnnotationCollection();bindAnnotationCollections({'source':_0xf89cee['_visibleAnnotations'],'target':_0x39e145,'filter':_0x505052}),this['uisData']['set'](_0x5ee825,{'collection':_0x39e145,'filter':_0x505052});const _0x2ae77d=this['_uis']['get'](_0x5ee825);_0x2ae77d['attach'](_0x39e145),this['listenTo'](_0x2ae77d,'change:activeAnnotation',(_0x34d63b,_0x35758d,_0xbaa631,_0xafdf66)=>{_0xafdf66&&_0xf89cee['_removeActiveAnnotation'](_0xafdf66),_0xbaa631&&_0xf89cee['_addActiveAnnotation'](_0xbaa631);});}['deactivate'](_0x4dcad6){if(this['activeUIs']['delete'](_0x4dcad6),!this['_uis']['has'](_0x4dcad6))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x4dcad6});const _0x1c075f=this['_uis']['get'](_0x4dcad6);_0x1c075f['detach'](),this['stopListening'](_0x1c075f),this['uisData']['get'](_0x4dcad6)['collection']['destroy'](),this['uisData']['delete'](_0x4dcad6);}['switchTo'](_0x53abb7){if(!this['_uis']['has'](_0x53abb7))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x53abb7});const _0x3476b8=this['context']['plugins']['get'](Annotations),_0x41795e=Array['from'](_0x3476b8['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x53abb7);const _0x57bb32=this['_uis']['get'](_0x53abb7);_0x57bb32['setActiveAnnotation'](_0x41795e),_0x57bb32['_setSelectedAnnotations']&&_0x41795e&&_0x57bb32['_setSelectedAnnotations']([_0x41795e]);}['deactivateAll'](){for(const _0x7c1039 of this['activeUIs'])this['deactivate'](_0x7c1039);}['register'](_0x4e5208,_0x501eeb){if(this['_uis']['has'](_0x4e5208))throw new ckeditor5['CKEditorError']('annotationsuis-register-already-registered');if('function'!=typeof _0x501eeb['attach']||'function'!=typeof _0x501eeb['detach']||'function'!=typeof _0x501eeb['setActiveAnnotation'])throw new ckeditor5['CKEditorError']('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x4e5208,_0x501eeb);}['refilterAnnotations'](){const _0x3e6ead=this['context']['plugins']['get'](Annotations)['collection'],_0x4893ca=new Map(),_0x43459f=Array['from'](this['activeUIs']);for(const _0x3658ce of this['activeUIs']){const _0x456c48=this['uisData']['get'](_0x3658ce)['collection'];for(const _0xd27c99 of _0x456c48)_0x4893ca['set'](_0xd27c99,_0x3658ce);}for(const _0xe3991e of _0x3e6ead){const _0x5af92e=_0x4893ca['get'](_0xe3991e);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0xe3991e);const _0x12a789=_0x43459f['find'](_0x457627=>this['uisData']['get'](_0x457627)['filter'](_0xe3991e));_0x5af92e!==_0x12a789&&(_0x5af92e&&this['uisData']['get'](_0x5af92e)['collection']['remove'](_0xe3991e),_0x12a789&&this['uisData']['get'](_0x12a789)['collection']['add'](_0xe3991e));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['defaultFilter'](){return!0x0;}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x533434){const _0x55e808=[];for(const _0x570a17 of this['activeUIs']){(0x0,this['uisData']['get'](_0x570a17)['filter'])(_0x533434)&&_0x55e808['push'](_0x570a17);}if(_0x55e808['length']>0x1)throw new ckeditor5['CKEditorError']('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x55e808,'annotationType':_0x533434['type']});}}const toPx$2=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');class AnnotationsSidebarView extends ckeditor5['View']{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x49d0d9){super(_0x49d0d9);const _0x2f0167=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',_0x2f0167['to']('class')],'style':{'minHeight':_0x2f0167['to']('minHeight',_0x4c7cae=>'number'==typeof _0x4c7cae?toPx$2(_0x4c7cae+0xa):null)},'dir':_0x49d0d9['uiLanguageDirection'],'role':'application','aria-label':getTranslation$f(_0x49d0d9,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':getTranslation$f(_0x49d0d9,'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',_0x362241=>{this['_updateItemPositionInFocusables'](_0x362241['source']);}),this['list']['forEach'](_0x4d7422=>{this['focusTracker']['add'](_0x4d7422['element']),this['_updateItemPositionInFocusables'](_0x4d7422);}),this['list']['on']('change',(_0x3fc25d,_0x1a567e)=>{for(const _0x3c7e73 of _0x1a567e['removed'])this['focusTracker']['remove'](_0x3c7e73['element']),this['focusables']['remove'](_0x3c7e73);for(const _0x47fe6b of _0x1a567e['added'])this['focusTracker']['add'](_0x47fe6b['element']),this['_updateItemPositionInFocusables'](_0x47fe6b);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x1e0de4){const _0x30660c=this['focusables']['getIndex'](_0x1e0de4);let _0x564cd9,_0x22012c;for(const _0x10a398 of this['focusables'])if(_0x1e0de4['top']<_0x10a398['top']){_0x564cd9=_0x10a398;break;}if(_0x22012c=_0x564cd9?this['focusables']['getIndex'](_0x564cd9):this['focusables']['length'],-0x1!==_0x30660c){if(_0x30660c===_0x22012c-0x1)return;this['focusables']['remove'](_0x1e0de4),_0x22012c=_0x564cd9?this['focusables']['getIndex'](_0x564cd9):this['focusables']['length'];}this['focusables']['add'](_0x1e0de4,_0x22012c);}}const toPx$1=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');class AnnotationsSidebarItemView extends ckeditor5['View']{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x4a1f35){super(_0x4a1f35),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x565096,_0x3f9c51)=>_0x565096+_0x3f9c51),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=createMutationObserver(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x2bf620=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x2bf620['to']('isAnimationDisabled',_0x2577c8=>_0x2577c8?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x2bf620['to']('top',_0x6ed277=>toPx$1(_0x6ed277))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0x3bdd5c=this['element']['clientHeight'];_0x3bdd5c&&(this['height']=_0x3bdd5c);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class _0x5be2b9 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(_0x2f085d){super(_0x2f085d),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 _0xdf6675=this['context']['config']['get']('sidebar.container');_0xdf6675&&this['setContainer'](_0xdf6675);}['setContainer'](_0x4df763){if(!isElement(_0x4df763))throw new ckeditor5['CKEditorError']('sidebar-setcontainer-invalid-element');this['container']=_0x4df763;}['_attachToContainer']({viewClass:_0x10122d='',spaceBetweenItems:_0xba5b18=0x19}={}){if(!isElement(this['container']))throw new ckeditor5['CKEditorError']('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x10122d,this['_spaceBetweenItems']=_0xba5b18;}['rearrange']({removedAnnotation:_0x37d7f1,previousAnnotation:_0x29b68f,nextAnnotation:_0xe167b4}){const _0x46809d=this['getSidebarItemView'](_0x37d7f1);this['view']['list']['remove'](_0x46809d),this['_destroySidebarItemView'](_0x37d7f1),_0x29b68f&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x29b68f)),_0xe167b4&&this['_alignToTargetRect'](this['getSidebarItemView'](_0xe167b4)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x7f150f,activatedAnnotation:_0x5e2e95,disableAnimationOnActivatedAnnotation:_0x360647}){if(this['_activeAnnotation']=_0x5e2e95,_0x7f150f){_0x7f150f['isActive']=!0x1;const _0x232546=this['getSidebarItemView'](_0x7f150f);_0x232546&&_0x360647&&(_0x232546['isAnimationDisabled']=!0x1);}if(_0x5e2e95){const _0x2c0001=this['getSidebarItemView'](_0x5e2e95);_0x2c0001&&(_0x5e2e95['isActive']=!0x0,_0x360647&&(_0x2c0001['isAnimationDisabled']=!0x0,_0x2c0001['top']+=0x1),this['_alignToTargetRect'](_0x2c0001));}}['_detachFromContainer'](_0x267fb6){if(this['view']['element']['remove'](),_0x267fb6){for(const _0x77ef48 of _0x267fb6)this['_destroySidebarItemView'](_0x77ef48);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0xba139,_0x128c45){_0x128c45||(_0x128c45=_0xba139['view']);const _0x59fe4d=new AnnotationsSidebarItemView(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x59fe4d,_0xba139),this['_annotationToSidebarItemView']['set'](_0xba139,_0x59fe4d),_0x59fe4d['content']['add'](_0x128c45),this['listenTo'](_0xba139['view'],'change:targetRect',(_0x1bed50,_0x1cd369,_0x249607)=>{const _0x1cbbd2=this['_getTargetTop'](_0xba139,_0x249607);_0x59fe4d['_targetTop']!=_0x1cbbd2&&(_0x59fe4d['_targetTop']=_0x1cbbd2,this['_setItemTop'](_0x59fe4d,_0x1cbbd2));}),this['listenTo'](_0x59fe4d,'change:top',()=>{this['_recalculate'](_0x59fe4d,'top');}),this['listenTo'](_0x59fe4d,'change:bottom',()=>{this['_recalculate'](_0x59fe4d,'bottom');}),this['_alignToTargetRect'](_0x59fe4d);const _0x11f71b=this['_getItemBefore'](_0x59fe4d);if(_0x11f71b)this['_alignAfterItem'](_0x11f71b,_0x59fe4d)||this['_alignToTargetRect'](_0x59fe4d);else this['_alignToTargetRect'](_0x59fe4d);return this['_updateLastItem'](),this['view']['list']['add'](_0x59fe4d),_0x59fe4d;}['_alignForTopChange'](_0x594235){if(!_0x594235['content']['length'])return;const _0x102068=this['_getItemBefore'](_0x594235);if(!_0x102068)return;const _0x4146ac=this['_sidebarItemViewToAnnotation']['get'](_0x102068),_0x8803ec=this['_activeAnnotation'];_0x8803ec&&_0x8803ec===_0x4146ac?this['_alignAfterItem'](_0x102068,_0x594235):this['_alignBeforeItem'](_0x594235,_0x102068);}['_alignForBottomChange'](_0x22455b){if(!_0x22455b['content']['length'])return;const _0x28ceb6=this['_getItemAfter'](_0x22455b);if(!_0x28ceb6)return;const _0x1361b0=this['_sidebarItemViewToAnnotation']['get'](_0x28ceb6),_0x3c3d0a=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x5da912=this['_activeAnnotation'];_0x5da912&&_0x5da912===_0x1361b0&&_0x3c3d0a?(this['_alignBeforeItem'](_0x28ceb6,_0x22455b),this['_alignAfterItem'](_0x22455b,_0x28ceb6)):_0x5da912&&_0x5da912===_0x1361b0?this['_alignBeforeItem'](_0x28ceb6,_0x22455b):this['_alignAfterItem'](_0x22455b,_0x28ceb6);}['_recalculate'](_0x45a582,_0x540153){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x5f4d70,changedProp:_0x46b4f1}of this['_recalculateBuffer'])'top'===_0x46b4f1?this['_alignForTopChange'](_0x5f4d70):this['_alignForBottomChange'](_0x5f4d70);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x45a582,'changedProp':_0x540153});}['getSidebarItemView'](_0x4558bc){return this['_annotationToSidebarItemView']['get'](_0x4558bc);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x5d73f8){const _0x3b8f3f=this['getSidebarItemView'](_0x5d73f8);this['stopListening'](_0x3b8f3f),this['stopListening'](_0x5d73f8['view']),_0x3b8f3f['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x5d73f8),this['_sidebarItemViewToAnnotation']['delete'](_0x3b8f3f);}['_createSidebarView'](){const _0x26d200=new AnnotationsSidebarView(this['context']['locale']);return _0x26d200['render'](),this['on']('change:_lastItem',(_0x5dc0a4,_0x5ddaf2,_0x1d4c2e,_0x138409)=>{_0x138409&&_0x26d200['unbind']('minHeight'),_0x1d4c2e?_0x26d200['bind']('minHeight')['to'](_0x1d4c2e,'bottom'):_0x26d200['minHeight']=null;}),_0x26d200;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x3302a3){const _0x353965=this['_sidebarItemViewToAnnotation']['get'](_0x3302a3),_0x1e50a7=_0x353965&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x353965)-0x1);return _0x1e50a7&&this['getSidebarItemView'](_0x1e50a7)||null;}['_getItemAfter'](_0x1dfb4e){const _0x26b02e=this['_sidebarItemViewToAnnotation']['get'](_0x1dfb4e),_0x254aac=_0x26b02e&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x26b02e)+0x1);return _0x254aac&&this['getSidebarItemView'](_0x254aac)||null;}['_alignBeforeItem'](_0x471c2c,_0x287451){_0x471c2c['updateHeight']();const _0x382e90=getOverlap(_0x287451['bottom']+this['_spaceBetweenItems'],_0x471c2c['top']);return!!_0x382e90&&(this['_setItemTop'](_0x287451,_0x287451['top']-_0x382e90),!0x0);}['_alignAfterItem'](_0x27a05b,_0x42c195){_0x27a05b['updateHeight']();const _0x113d68=getOverlap(_0x27a05b['bottom']+this['_spaceBetweenItems'],_0x42c195['top']);return!!_0x113d68&&(this['_setItemTop'](_0x42c195,_0x42c195['top']+_0x113d68,!0x1),!0x0);}['_alignToTargetRect'](_0x135602){const _0x1bc3c6=this['_sidebarItemViewToAnnotation']['get'](_0x135602);if(!_0x1bc3c6||!_0x1bc3c6['target']||!_0x1bc3c6['targetRect'])return;const _0x2e5d4a=this['_getTargetTop'](_0x1bc3c6,_0x1bc3c6['targetRect']);this['_setItemTop'](_0x135602,_0x2e5d4a);}['_getTargetTop'](_0x42fbb1,_0x477834){if(null===_0x477834)return 0x0;if(_0x42fbb1['target']instanceof ckeditor5['Rect'])return _0x477834['top'];{const _0x49e5cd=new ckeditor5['Rect'](this['view']['element'])['top'];return _0x477834['top']-_0x49e5cd;}}['_setItemTop'](_0x1ce8f4,_0x65c52b,_0x16d863=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x16d863&&(_0x65c52b=Math['max'](_0x65c52b,this['_getMaxAvailableTop'](_0x1ce8f4))),_0x1ce8f4['top']=_0x65c52b;}['_getMaxAvailableTop'](_0x43a89b){let _0x5316ac=this['_getItemBefore'](_0x43a89b),_0x41d1c1=0x0;for(;_0x5316ac;)_0x5316ac['updateHeight'](),_0x41d1c1+=this['_spaceBetweenItems']+_0x5316ac['height'],_0x5316ac=this['_getItemBefore'](_0x5316ac);return _0x41d1c1;}}function getOverlap(_0x1e2dd2,_0x12df4c){return Math['max'](_0x1e2dd2-_0x12df4c,0x0);}function isElement(_0x6b05a0){return null!==_0x6b05a0&&'object'==typeof _0x6b05a0&&0x1===_0x6b05a0['nodeType'];}class _0x1cef39 extends ckeditor5['ContextPlugin']{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x5be2b9,AnnotationsUIs];}static get['pluginName'](){return'WideSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1960d3){super(_0x1960d3),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new ckeditor5['Collection'](),this['_refreshPositioningDebounced']=_0x587714(()=>{_0x1960d3['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x49cc8e=this['context']['plugins']['get'](AnnotationsUIs),_0x2fde86=this['context']['plugins']['get'](_0x5be2b9);_0x49cc8e['register']('wideSidebar',this),_0x2fde86['container']&&_0x49cc8e['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x131818){if(_0x131818===this['activeAnnotation'])return;const _0x5510a4=this['context']['plugins']['get'](_0x5be2b9);_0x5510a4['_activeAnnotation']=_0x131818;const _0x505ca5=this['activeAnnotation'];_0x5510a4['refresh']({'blurredAnnotation':_0x505ca5,'activatedAnnotation':_0x131818}),this['activeAnnotation']=_0x131818;}['attach'](_0x25cf95){this['annotations']=_0x25cf95;const _0xc04b52=this['context']['plugins']['get'](_0x5be2b9);if(_0xc04b52['_annotations']=_0x25cf95,this['isAttached'])throw new ckeditor5['CKEditorError']('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0xc04b52,'set:container',()=>{this['detach'](),this['listenTo'](_0xc04b52,'change:container',_0x319aa6=>{_0x319aa6['off'](),this['attach'](_0x25cf95);});}),_0xc04b52['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0xced082=_0x2be030=>{_0x2be030['updateTargetRect'](),_0xc04b52['addAnnotation'](_0x2be030);};for(const _0x187a98 of _0x25cf95)_0xced082(_0x187a98);this['listenTo'](_0x25cf95,'add',(_0x537c61,_0xb8b11a)=>{_0xced082(_0xb8b11a);}),this['listenTo'](_0x25cf95,'remove',(_0x1d2c95,_0x2931fe,_0x3bdbea)=>{_0xc04b52['rearrange']({'removedAnnotation':_0x2931fe,'previousAnnotation':_0x25cf95['get'](_0x3bdbea-0x1),'nextAnnotation':_0x25cf95['get'](_0x3bdbea+0x1)}),_0x2931fe===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x25cf95,'focus',(_0x3a7e1b,_0x1096d3)=>{this['setActiveAnnotation'](_0x1096d3);}),this['listenTo'](_0x25cf95,'blur',()=>{this['setActiveAnnotation'](null);});const _0x28fba4=this['context']instanceof ckeditor5['Context']?this['context']['editors']:new ckeditor5['Collection']([this['context']]);for(const _0x35abf1 of _0x28fba4)this['_integrateWithEditorAnnotations'](_0x35abf1);this['listenTo'](_0x28fba4,'add',(_0x3d5111,_0xc83c12)=>{this['listenTo'](_0xc83c12,'ready',()=>{this['_integrateWithEditorAnnotations'](_0xc83c12);});}),this['listenTo'](_0x28fba4,'remove',(_0x5db763,_0x5341dc)=>{_0x5341dc['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x5341dc['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 _0xccdffe=this['context']['plugins']['get'](_0x5be2b9);_0xccdffe['_detachFromContainer'](this['annotations']),this['stopListening'](_0xccdffe),this['stopListening'](this['annotations']),this['context']instanceof ckeditor5['Context']&&this['stopListening'](this['context']['editors']);for(const _0x309c74 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x309c74);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x3f93fd){if(!_0x3f93fd['plugins']['has']('EditorAnnotations'))return;const _0x1f7c80=_0x3f93fd['plugins']['get']('EditorAnnotations'),_0x307e81=()=>{const _0x2a9cff=_0x1f7c80['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x2a9cff[0x0]||null);};this['listenTo'](_0x1f7c80,'refresh',_0x307e81),this['listenTo'](_0x1f7c80,'blur',(_0x58bf23,{isAnnotationTracked:_0x3f3360})=>{this['activeAnnotation']&&_0x3f3360(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x1f7c80,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x584b3d=>{_0x1f7c80['hasDomSelection']()&&(_0x307e81(),_0x584b3d['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x1f7c80);}['_destroyEditorAnnotationsIntegration'](_0x10e38e){this['stopListening'](_0x10e38e),this['_editorAnnotations']['remove'](_0x10e38e);}}class AnnotationCounterButtonView extends ckeditor5['ButtonView']{['counterView'];constructor(_0x224544){super(_0x224544);const _0xe1a74f=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x295137,_0x5391a8)=>_0x295137?'...':_0x5391a8['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',_0xe1a74f['to']('annotationType',_0x1aeb25=>'ck-annotation-counter__badge--'+_0x1aeb25),_0xe1a74f['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0xe1a74f['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class _0x1512a2 extends ckeditor5['ContextPlugin']{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x5be2b9,AnnotationsUIs];}static get['pluginName'](){return'NarrowSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x14cf97){super(_0x14cf97),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']=_0x587714(()=>{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'](_0x1c2f50){this['annotations']=_0x1c2f50;const _0x21e9b8=this['context']['plugins']['get'](_0x5be2b9),_0x5692bd=this['balloonPanelView'];if(_0x21e9b8['_annotations']=_0x1c2f50,this['isAttached'])throw new ckeditor5['CKEditorError']('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x21e9b8,'set:container',()=>{this['detach'](),this['listenTo'](_0x21e9b8,'change:container',_0x49ff9a=>{_0x49ff9a['off'](),this['attach'](_0x1c2f50);});}),_0x21e9b8['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x4e2dca=_0x43176f=>{const _0xbdff49=new AnnotationCounterButtonView(this['context']['locale']);_0x21e9b8['addAnnotation'](_0x43176f,_0xbdff49),this['_annotationToNarrowView']['set'](_0x43176f,_0xbdff49),_0xbdff49['bind']('isDirty','annotationType','number')['to'](_0x43176f['view'],'isDirty','type','length'),_0xbdff49['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x5692bd['content']['first']!==_0x43176f['view']?(this['_showBalloon'](_0x43176f),_0x43176f['view']['element']['focus'](),this['setActiveAnnotation'](_0x43176f)):this['setActiveAnnotation'](null);});};for(const _0x44feea of _0x1c2f50)_0x4e2dca(_0x44feea);this['listenTo'](_0x1c2f50,'add',(_0x141dc1,_0xa60fed)=>{_0x4e2dca(_0xa60fed);}),this['listenTo'](_0x1c2f50,'remove',(_0x3fd7c1,_0x1375a7,_0x2ca94e)=>{this['_annotationToNarrowView']['get'](_0x1375a7)['destroy'](),this['_annotationToNarrowView']['delete'](_0x1375a7),_0x21e9b8['rearrange']({'removedAnnotation':_0x1375a7,'previousAnnotation':_0x1c2f50['get'](_0x2ca94e-0x1),'nextAnnotation':_0x1c2f50['get'](_0x2ca94e+0x1)}),_0x1375a7===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x1c2f50,'focus',(_0x377608,_0x3f5a0d)=>{this['setActiveAnnotation'](_0x3f5a0d);}),this['listenTo'](_0x1c2f50,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x30eac6,_0x357148)=>{_0x357148['keyCode']===ckeditor5['keyCodes']['esc']&&_0x5692bd['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x5692bd['content']['first']),this['_hideBalloon'](),_0x357148['stopPropagation'](),_0x357148['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x3b9150,_0x529f78)=>{const _0x27dec3=_0x529f78['target'];_0x5692bd['isVisible']&&_0x5692bd['element']['contains'](_0x27dec3)||_0x21e9b8['view']['element']['contains'](_0x27dec3)||_0x3b9150['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0xc9ac92=>_0xc9ac92['contains'](_0x27dec3))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x1385ff=this['context']instanceof ckeditor5['Context']?this['context']['editors']:new ckeditor5['Collection']([this['context']]);for(const _0x5c8a90 of _0x1385ff)this['_integrateWithEditorAnnotations'](_0x5c8a90);this['listenTo'](_0x1385ff,'add',(_0x1b18e1,_0x56e5db)=>{this['listenTo'](_0x56e5db,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x56e5db);});}),this['listenTo'](_0x1385ff,'remove',(_0x38a7b3,_0x58d7b4)=>{_0x58d7b4['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x58d7b4['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x2ba834){if(_0x2ba834===this['activeAnnotation'])return;const _0x246088=this['context']['plugins']['get'](_0x5be2b9);if(_0x246088['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x2ba834,'disableAnimationOnActivatedAnnotation':!0x0}),_0x2ba834)_0x246088['getSidebarItemView'](_0x2ba834)?this['_showBalloon'](_0x2ba834):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x2ba834;}['detach'](){if(!this['isAttached'])throw new ckeditor5['CKEditorError']('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x163c69=this['context']['plugins']['get'](_0x5be2b9);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x4076d9=>_0x4076d9['destroy']()),this['_annotationToNarrowView']['clear'](),_0x163c69['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof ckeditor5['Context']&&this['stopListening'](this['context']['editors']);for(const _0x593d76 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x593d76);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'](_0x2b2595){if(!_0x2b2595['plugins']['has']('EditorAnnotations'))return;const _0x38dfe8=_0x2b2595['plugins']['get']('EditorAnnotations'),_0x2c73ef=this['context']['plugins']['get'](_0x5be2b9),_0x1f11c0=this['annotations'],_0x460fcf=this['balloonPanelView'],_0x24706a=()=>{const _0x283d85=_0x38dfe8['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x283d85),this['setActiveAnnotation'](_0x283d85[0x0]||null);};this['listenTo'](_0x38dfe8,'refresh',_0x24706a),this['listenTo'](_0x38dfe8,'blur',(_0x281a48,{isAnnotationTracked:_0x2408b1})=>{this['activeAnnotation']&&_0x2408b1(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x38dfe8,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x1f11c0,'blur',_0x5a3820=>{_0x38dfe8['hasDomSelection']()&&_0x5a3820['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x323984,_0x3c423a)=>{const _0x36f538=_0x3c423a['target'];_0x460fcf['isVisible']&&_0x460fcf['element']['contains'](_0x36f538)||_0x2c73ef['view']['element']['contains'](_0x36f538)||this['activeAnnotation']&&_0x38dfe8['hasDomSelection']()&&(_0x24706a(),_0x323984['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x38dfe8);}['_destroyEditorAnnotationsIntegration'](_0x49b92b){_0x49b92b&&(this['stopListening'](_0x49b92b),this['_editorAnnotations']['remove'](_0x49b92b));}['_setSelectedAnnotations'](_0x27c191){for(const _0x2e584a of this['_selectedAnnotations'])_0x27c191['includes'](_0x2e584a)||this['_manuallyClosedAnnotationViews']['delete'](_0x2e584a['view']);this['_selectedAnnotations']=_0x27c191;}['_refreshPositioning'](){const _0x11caca=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x11caca['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x2c9777){if(this['_manuallyClosedAnnotationViews']['has'](_0x2c9777['view']))return;const _0x5a316c=this['balloonPanelView']['content']['first'];_0x5a316c!==_0x2c9777['view']?(_0x5a316c&&this['_detachListeners'](_0x5a316c),this['_attachListeners'](_0x2c9777['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x2c9777['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x2bd17e=this['balloonPanelView']['content']['first'],_0x5a376a=_0x2bd17e&&this['annotations']['getByView'](_0x2bd17e);if(!_0x5a376a||!this['_annotationToNarrowView']['has'](_0x5a376a))return;const _0x2d612f=this['_annotationToNarrowView']['get'](_0x5a376a)['element'],_0x30167c=getBalloonPositions();this['balloonPanelView']['pin']({'target':_0x2d612f,'positions':_0x30167c});}['_hideBalloon'](){const _0x296bc8=this['balloonPanelView'],_0x423999=_0x296bc8['content']['first'];_0x423999&&(this['_detachListeners'](_0x423999),_0x296bc8['unpin'](),_0x296bc8['content']['clear']());}['_attachListeners'](_0x1a84d1){this['listenTo'](_0x1a84d1,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x1a84d1,'Esc',(_0x28643e,_0x5abc4a)=>{this['_manuallyClosedAnnotationViews']['add'](_0x1a84d1),this['_hideBalloon'](),_0x5abc4a();});}['_detachListeners'](_0x3e694c){this['stopListening'](_0x3e694c);}}function getBalloonPositions(){const _0x4fb859=ckeditor5['BalloonPanelView']['defaultPositions'];return[_0x4fb859['southArrowNorthEast'],_0x4fb859['northArrowSouthEast'],_0x4fb859['southArrowNorth'],_0x4fb859['northArrowSouth'],_0x4fb859['southArrowNorthWest'],_0x4fb859['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(_0x3be301){super(_0x3be301),_0x3be301['editing']['view']['addObserver'](ckeditor5['MouseObserver']),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x3be301['plugins']['get'](ckeditor5['ContextualBalloon']),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1,this['_refreshVisibilityDebounced']=_0x587714(()=>{this['editor']['plugins']['get']('Annotations')['refreshVisibility']();},0xfa,{'leading':!0x1});}['init'](){const _0x3a76ab=this['editor']['plugins']['get'](AnnotationsUIs);_0x3a76ab['context']===this['editor']&&(_0x3a76ab['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x1bed4c,_0x11bc7f)=>{const _0x295bc7=this['_balloon'];if(this['isAttached']&&_0x295bc7['visibleView']){const _0x21b866=this['annotations']['getByView'](_0x295bc7['visibleView']);_0x21b866&&this['_closeAnnotation'](_0x21b866),_0x11bc7f();}}));}['afterInit'](){const _0x5a2bc4=this['editor']['plugins']['get'](AnnotationsUIs);_0x5a2bc4['context']===this['editor']&&(_0x5a2bc4['hasActive']()||_0x5a2bc4['switchTo']('inline'));}['setActiveAnnotation'](_0xf8d1ce){_0xf8d1ce!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0xf8d1ce&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0xf8d1ce)&&this['_addAnnotationToBalloon'](_0xf8d1ce,!0x0),_0xf8d1ce['isActive']=!0x0),_0xf8d1ce||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0xf8d1ce);}['attach'](_0x290f68){this['annotations']=_0x290f68;const _0x3d11dc=this['editor']['plugins']['get'](AnnotationsUIs),_0x2491a9=this['_balloon'];if(this['isAttached'])throw new ckeditor5['CKEditorError']('inlineannotations-attach-already-attached',this);if(_0x3d11dc['context']!==this['editor'])throw new ckeditor5['CKEditorError']('inlineannotations-not-allowed-with-context',this);const _0x3eee90=this['editor']['plugins']['get'](EditorAnnotations);this['listenTo'](_0x3eee90,'refresh',()=>{const _0x8c0b1c=_0x3eee90['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});!this['_forceRefresh']&&_0x2500d8(_0x8c0b1c,this['_selectedAnnotations'])||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x8c0b1c),this['setActiveAnnotation'](_0x8c0b1c[0x0]||null));}),this['listenTo'](_0x3eee90,'blur',(_0x5b870c,{isAnnotationTracked:_0x34215e})=>{this['activeAnnotation']&&_0x34215e(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x3eee90,'uiUpdate',()=>{this['_refreshVisibilityDebounced']();}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0xa8dc25,_0x1ea8b3,_0xcd9a8b)=>{_0xcd9a8b||this['setActiveAnnotation'](null);}),this['listenTo'](_0x290f68,'remove',(_0x29f8f4,_0x56c737)=>{this['_removeAnnotationFromBalloon'](_0x56c737),_0x56c737===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x2491a9,'change:visibleView',(_0x34c007,_0xe5cfe0,_0x3669d2,_0x3e7001)=>{_0x3e7001&&this['stopListening'](_0x3e7001);const _0xefcaf3=_0x290f68['getByView'](_0x3669d2);_0x3669d2&&_0xefcaf3&&(this['listenTo'](_0x3669d2,'change:height',()=>{_0x2491a9['updatePosition']();}),this['listenTo'](_0x3669d2,'Esc',()=>{this['_closeAnnotation'](_0xefcaf3),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0xefcaf3&&this['setActiveAnnotation'](_0xefcaf3));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x2491a9['visibleView']&&(_0x290f68['getByView'](_0x2491a9['visibleView'])&&_0x2491a9['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 _0x4b6710 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x4b6710);this['_refreshVisibilityDebounced']['cancel'](),this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['_refreshVisibilityDebounced']['cancel']();}['_setSelectedAnnotations'](_0x5c2537){for(const _0x248d83 of this['_selectedAnnotations'])_0x5c2537['includes'](_0x248d83)||this['_manuallyClosed']['delete'](_0x248d83);for(const _0x5db8b7 of this['annotations'])_0x5c2537['includes'](_0x5db8b7)||this['_removeAnnotationFromBalloon'](_0x5db8b7);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x216446 of _0x5c2537)this['_addAnnotationToBalloon'](_0x216446);}this['_selectedAnnotations']=_0x5c2537;}['_addAnnotationToBalloon'](_0x49249f,_0x23950d=!0x1){this['_manuallyClosed']['has'](_0x49249f)||(this['_addedAnnotations']['has'](_0x49249f)||this['_balloon']['hasView'](_0x49249f['view'])||(this['_addedAnnotations']['add'](_0x49249f),this['_balloon']['add']({'stackId':_0x49249f['view']['id'],'view':_0x49249f['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x49249f)}})),_0x23950d&&this['_balloon']['showStack'](_0x49249f['view']['id']));}['_getBalloonTargetForAnnotation'](_0x8f206b){const _0x3c8e76=_0x8f206b['target'],_0x1c8fd3=this['editor']['editing']['view'],_0x7e8d17=_0x1c8fd3['document']['selection']['getFirstRange'](),_0x513ef8=_0x1c8fd3['domConverter']['viewRangeToDom'](_0x7e8d17);if(_0x513ef8['collapse'](!0x0),_0x3c8e76){if(_0x3c8e76 instanceof ckeditor5['Rect'])return _0x3c8e76;let _0x5de61f=[];for(const _0x554642 of _0x3c8e76)_0x5de61f['push'](...cloneRects(_0x554642['getClientRects']()));_0x5de61f=joinClientRects(_0x5de61f);const _0x4af316=_0x513ef8['getBoundingClientRect']();return _0x5de61f['find'](_0x8af301=>_0x8af301['top']<=_0x4af316['top']&&_0x8af301['bottom']>=_0x4af316['bottom']&&_0x8af301['left']<=_0x4af316['left']&&_0x8af301['right']>=_0x4af316['right'])||_0x5de61f[0x0];}return _0x8f206b['targetRect']||_0x513ef8;}['_removeAnnotationFromBalloon'](_0x3895d6){this['_addedAnnotations']['has'](_0x3895d6)&&this['_balloon']['hasView'](_0x3895d6['view'])&&(this['_addedAnnotations']['delete'](_0x3895d6),this['_balloon']['remove'](_0x3895d6['view']));}['_closeAnnotation'](_0x50317c){this['_manuallyClosed']['add'](_0x50317c),this['_removeAnnotationFromBalloon'](_0x50317c);}}function _0x2500d8(_0x13092b,_0x2fc949){return _0x13092b['length']===_0x2fc949['length']&&_0x13092b['every'](_0x2703b5=>_0x2fc949['includes'](_0x2703b5));}function cloneRects(_0x1dad64){return Array['from'](_0x1dad64)['map'](DOMRect['fromRect']);}function joinClientRects(_0x4f3432){const _0x55abcb=[];let _0xe9186=_0x4f3432[0x0];for(let _0x174bd5=0x1;_0x174bd5<_0x4f3432['length'];_0x174bd5++)canJoinRects(_0xe9186,_0x4f3432[_0x174bd5])?_0xe9186['width']+=_0x4f3432[_0x174bd5]['width']:(_0x55abcb['push'](_0xe9186),_0xe9186=_0x4f3432[_0x174bd5]);return _0x55abcb['push'](_0xe9186),_0x55abcb;}function canJoinRects(_0x485a7e,_0x17ee19){return _0x485a7e['top']===_0x17ee19['top']&&_0x485a7e['bottom']===_0x17ee19['bottom']&&_0x485a7e['right']===_0x17ee19['left'];}class CommentsArchiveView extends ckeditor5['View']{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x370434,_0x58a2d9){super(_0x370434),this['set']('isEmpty',!_0x58a2d9['length']),this['focusTracker']=new ckeditor5['FocusTracker'](),this['_annotationViews']=_0x58a2d9,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':_0x58a2d9,'focusTracker':this['focusTracker']}),this['listenTo'](_0x58a2d9,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x58a2d9,'remove',(_0x46e0c3,_0x1bb68c)=>{_0x1bb68c['isActive']&&this['focus'](),_0x58a2d9['length']||(this['isEmpty']=!0x0);});const _0x232179=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':getTranslation$f(_0x370434,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x58a2d9},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x232179['if']('isEmpty','ck-hidden',_0x10afa4=>!_0x10afa4)]},'children':[{'text':getTranslation$f(_0x370434,'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 _0x5b63cf of this['_annotationViews'])this['focusTracker']['add'](_0x5b63cf['element']);this['_annotationViews']['on']('change',(_0x5ba190,{added:_0x445f0a,removed:_0x28e660})=>{for(const _0x19506a of _0x445f0a)this['focusTracker']['add'](_0x19506a['element']);for(const _0x4ec0e2 of _0x28e660)this['focusTracker']['remove'](_0x4ec0e2['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(_0x5f40ad){super(_0x5f40ad),this['archivedThreads']=new ckeditor5['Collection']();}['init'](){const _0x41689a=this['context'],_0x4377cc=_0x41689a['plugins']['get'](CommentsRepository),_0x3ac81a=_0x41689a['plugins']['get'](Annotations);this['listenTo'](_0x4377cc,'addCommentThread',(_0x501bd5,{threadId:_0x4e9c78})=>{const _0x35b54e=_0x4377cc['getCommentThread'](_0x4e9c78);_0x35b54e['archivedAt']&&this['archivedThreads']['add'](_0x35b54e,this['_calculatePosition'](_0x35b54e['archivedAt'])),this['listenTo'](_0x35b54e,'change:archivedAt',(_0x52f2d9,_0x360471,_0x574789)=>{_0x574789?this['archivedThreads']['has'](_0x35b54e)||this['archivedThreads']['add'](_0x35b54e,this['_calculatePosition'](_0x35b54e['archivedAt'])):this['archivedThreads']['has'](_0x35b54e)&&this['archivedThreads']['remove'](_0x35b54e);});}),this['listenTo'](_0x4377cc,'removeCommentThread',(_0x4249e3,{threadId:_0x248dc6})=>{const _0x1c6269=_0x4377cc['getCommentThread'](_0x248dc6);this['stopListening'](_0x1c6269),this['archivedThreads']['has'](_0x1c6269)&&this['archivedThreads']['remove'](_0x1c6269);},{'priority':'highest'}),this['listenTo'](_0x3ac81a['collection'],'focus',(_0xf6dff2,_0x30d54c)=>{_0x30d54c['isVisible']||(_0x30d54c['isActive']=!0x0,_0x3ac81a['activate'](_0x30d54c));});}['_calculatePosition'](_0x19266d){const _0x3e848b=[...this['archivedThreads']]['findIndex'](_0x1fe400=>_0x1fe400['archivedAt']<_0x19266d);return _0x3e848b>-0x1?_0x3e848b: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(_0x1fe93e){super(_0x1fe93e),this['annotationViews']=new ckeditor5['ViewCollection'](),this['_pendingThreads']=[];}['init'](){const _0x4321ee=this['editor'],_0xd077f7=this['_hideDialogOnAnnotationEscape']['bind'](this);_0x4321ee['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](ckeditor5['ButtonView'],!0x0)),_0x4321ee['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x2305bf=this['_createCommentsArchiveButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x2305bf['set']({'role':'menuitemcheckbox'}),_0x2305bf;});const _0x5176bc=_0x4321ee['plugins']['get'](CommentsArchive),_0x80d74a=_0x4321ee['plugins']['get']('Annotations'),_0x37df8c=_0x4321ee['plugins']['get']('CommentsRepository');_0x5176bc['archivedThreads']['forEach'](_0x5006f3=>{this['_handleNewThread'](_0x5006f3);}),this['listenTo'](_0x5176bc['archivedThreads'],'add',(_0x11727b,_0x35839b)=>{this['_handleNewThread'](_0x35839b);}),this['listenTo'](_0x80d74a['collection'],'add',(_0x9aa725,_0x302fb3)=>{const _0xf84664=this['_pendingThreads']['find'](_0x44a616=>{const _0x8ca4a6=_0x37df8c['_threadToController']['get'](_0x44a616);return _0x8ca4a6&&_0x302fb3['innerView']===_0x8ca4a6['view'];});if(_0xf84664){const _0x5b1a9e=this['_calculatePosition'](_0xf84664['archivedAt']);this['_addAnnotationToArchive'](_0x302fb3,_0x5b1a9e),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0xf84664),0x1);}}),this['listenTo'](_0x5176bc['archivedThreads'],'remove',(_0x53c10a,_0x59c37d)=>{const _0x240f42=_0x4321ee['config']['get']('collaboration.channelId');if(!_0x240f42||_0x59c37d['channelId']===_0x240f42){if(this['_pendingThreads']['includes'](_0x59c37d))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x59c37d),0x1);else{const _0x37001d=_0x37df8c['_threadToController']['get'](_0x59c37d),_0x42b2ef=_0x80d74a['getByInnerView'](_0x37001d['view']);this['annotationViews']['remove'](_0x42b2ef['view']),this['stopListening'](_0x42b2ef),this['stopListening'](_0x42b2ef['focusableElements']);}}}),this['listenTo'](_0x80d74a['collection'],'add',(_0x4f71df,_0x5e754d)=>{this['listenTo'](_0x5e754d,'escape',_0xd077f7);}),this['listenTo'](_0x80d74a['collection'],'remove',(_0x4766b5,_0x254f5c)=>{this['stopListening'](_0x254f5c,'escape',_0xd077f7);});}['_addAnnotationToArchive'](_0x50c756,_0x2e6dd5){this['listenTo'](_0x50c756,'set:isVisible',_0x5a7fc6=>{_0x5a7fc6['return']=!0x1,_0x5a7fc6['stop']();}),this['annotationViews']['add'](_0x50c756['view'],_0x2e6dd5);}['_handleNewThread'](_0x365296){const _0x304adb=this['editor']['plugins']['get']('CommentsRepository'),_0x1ca38b=this['editor']['plugins']['get']('Annotations'),_0x53da1c=this['editor']['config']['get']('collaboration.channelId');if(!_0x53da1c||_0x365296['channelId']===_0x53da1c){const _0x54a81d=_0x304adb['_threadToController']['get'](_0x365296);if(!_0x54a81d)return void this['_pendingThreads']['push'](_0x365296);const _0x47f7fd=this['_calculatePosition'](_0x365296['archivedAt']),_0x56487a=_0x1ca38b['getByInnerView'](_0x54a81d['view']);_0x56487a['isVisible']&&_0x1ca38b['_visibleAnnotations']['remove'](_0x56487a),this['_addAnnotationToArchive'](_0x56487a,_0x47f7fd);}}['_calculatePosition'](_0x55e01a){const _0x5409e2=this['editor']['config']['get']('collaboration.channelId'),_0x4664a3=[...this['editor']['plugins']['get'](CommentsArchive)['archivedThreads']]['filter'](_0x54d122=>_0x54d122['channelId']===_0x5409e2)['findIndex'](_0x112d72=>_0x112d72['archivedAt']<_0x55e01a);return _0x4664a3<0x0||_0x4664a3>this['annotationViews']['length']?this['annotationViews']['length']:_0x4664a3-0x1;}['_toggleDialog'](){const _0x318f88=this['editor'],_0x3aa860=_0x318f88['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new CommentsArchiveView(_0x318f88['locale'],this['annotationViews'])),'commentsArchive'===_0x3aa860['id']?_0x3aa860['hide']():_0x3aa860['show']({'id':'commentsArchive','title':getTranslation$f(_0x318f88['locale'],'COMMENTS_ARCHIVE'),'icon':ckeditor5['IconCommentsArchive'],'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x134863,_0x3cad0a=!0x1){const _0x140680=this['editor']['locale'],_0x26bd61=this['editor']['plugins']['get']('Dialog'),_0x45ad4d=new _0x134863(_0x140680);return _0x45ad4d['bind']('isEnabled')['to'](this,'isEnabled'),_0x45ad4d['bind']('isOn')['to'](_0x26bd61,'id',_0x57910b=>'commentsArchive'===_0x57910b),_0x45ad4d['set']({'label':getTranslation$f(_0x140680,'COMMENTS_ARCHIVE'),'icon':ckeditor5['IconCommentsArchive'],'isToggleable':!0x0}),_0x3cad0a&&(_0x45ad4d['tooltip']=!0x0),this['listenTo'](_0x45ad4d,'execute',()=>this['_toggleDialog']()),_0x45ad4d;}['_hideDialogOnAnnotationEscape']=_0x110956=>{const _0xda360=_0x110956['source'];if(!this['annotationViews']['has'](_0xda360['view']))return;const _0x8404d3=this['editor']['plugins']['get']('Dialog');_0x8404d3['isOpen']&&'commentsArchive'===_0x8404d3['id']&&(_0x8404d3['hide'](),_0x110956['stop']());};}class Comments extends ckeditor5['Plugin']{static get['requires'](){return[CommentsRepository,CommentsEditing,CommentsUI,CommentsArchive,CommentsArchiveUI,CommentsOnly,_0x1cef39,_0x1512a2,InlineAnnotations];}static get['pluginName'](){return'Comments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getElementText(_0x5d338c){let _0xfe420f='';for(const _0x3e72bd of _0x5d338c['getChildren']())_0x3e72bd instanceof ckeditor5['ModelText']&&(_0xfe420f+=_0x3e72bd['data']);return _0xfe420f;}function getDefaultFeatureHeadingNames(_0x149ffe){const _0x442b05=_0x149ffe['config']['get']('heading.options');return _0x442b05?_0x442b05['reduce']((_0x92ad0d,_0x47e991)=>('paragraph'!==_0x47e991['model']&&_0x92ad0d['push'](_0x47e991['model']),_0x92ad0d),[]):_0x149ffe['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 _0x1a2f0f=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0xa7891a=[];_0x1a2f0f['model']['document']['on']('change',_0x587714(()=>{const _0x3f231d=_0xa7891a;_0xa7891a=this['_getOutlineDefinitions']();const _0x3bf3b8=ckeditor5['diff'](_0x3f231d,_0xa7891a,(_0x303358,_0x59a011)=>_0x303358['level']===_0x59a011['level']&&_0x303358['text']===_0x59a011['text']&&_0x303358['modelElement']===_0x59a011['modelElement']),_0x588215=ckeditor5['diffToChanges'](_0x3bf3b8,_0xa7891a),_0x5d8e56=this['_getActiveHeading'](),_0x50ad6c=_0xa7891a['findIndex'](_0x1ddd58=>_0x1ddd58['modelElement']===_0x5d8e56);_0x588215['length']&&this['fire']('change',{'outlineDefinitions':_0xa7891a,'activeItemIndex':_0x50ad6c,'outlineChanges':_0x588215}),this['fire']('activeItemIndex',{'index':_0x50ad6c});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x36909e=this['editor'],_0x5f58ba=[],_0xdea003=this['_headingNames'];for(const _0x567eaa of _0x36909e['model']['document']['getRootNames']())_0x81ad41(_0x36909e['model']['document']['getRoot'](_0x567eaa));function _0x81ad41(_0x4505b7){for(const _0x3f5acf of _0x4505b7['getChildren']())_0x3f5acf['is']('element')&&(_0xdea003['includes'](_0x3f5acf['name'])&&_0x5f58ba['push']({'level':_0xdea003['indexOf'](_0x3f5acf['name'])+0x1,'text':getElementText(_0x3f5acf),'modelElement':_0x3f5acf}),_0x81ad41(_0x3f5acf));}return _0x5f58ba;}['_getActiveHeading'](){const _0x49df78=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x33703f=new ckeditor5['ModelTreeWalker']({'direction':'backward','startPosition':_0x49df78});for(const _0x14cf83 of _0x33703f)if(_0x14cf83['item']['is']('element')&&this['_headingNames']['includes'](_0x14cf83['item']['name']))return _0x14cf83['item'];}['_getHeadingNames'](){const _0x12848a=this['editor']['config']['get']('documentOutline.headings');return _0x12848a||getDefaultFeatureHeadingNames(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x202317=this['editor'],_0x26a2e3=['h1','h2','h3','h4','h5','h6'],_0x37ad89=[];for(const _0x178117 of _0x26a2e3){const _0x5c4455=_0x202317['editing']['view']['domConverter']['domToView'](document['createElement'](_0x178117)),_0x40bff1=_0x202317['data']['toModel'](_0x5c4455)['getChild'](0x0);_0x40bff1?.['is']('element')&&_0x37ad89['push'](_0x40bff1['name']);}this['_headingNames']=_0x37ad89;}}function getTranslation$e(_0x40795f,_0x442ee7){const t=_0x40795f['t'];switch(_0x442ee7){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 _0x442ee7;}}class DocumentOutlineItemView extends ckeditor5['View']{constructor(_0x3fbd21,_0x217c0a=!0x1){super(_0x3fbd21);const _0x596f3a=this['bindTemplate'],_0x530021=_0x217c0a?'['+getTranslation$e(_0x3fbd21,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x1ab1dc=>!_0x1ab1dc),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x596f3a['to']('level',_0x174f3d=>'ck-document-outline__item_level-'+_0x174f3d),_0x596f3a['if']('isActive','ck-document-outline__item_active'),_0x596f3a['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x596f3a['to']('text')},'children':[{'text':_0x596f3a['to']('text',_0x285317=>_0x285317||_0x530021)}],'on':{'click':_0x596f3a['to']('click')}});}}class DocumentOutlineView extends ckeditor5['View']{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x5ecb15,_0x173a2f=!0x1,_0x183b26){super(_0x5ecb15),this['showEmptyHeadingText']=_0x173a2f,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x183b26,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x4e0112,_0x20bbb6,_0x111127,_0x53f904)=>{this['_setActiveItem'](_0x53f904,_0x111127);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x5ecb15['contentLanguageDirection'],'data-document-outline-empty-placeholder':getTranslation$e(_0x5ecb15,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x563220){_0x563220['forEach'](_0x5b9590=>{'insert'==_0x5b9590['type']?this['_insertItem'](_0x5b9590['index'],..._0x5b9590['values']):'delete'==_0x5b9590['type']&&this['_deleteItem'](_0x5b9590['index'],_0x5b9590['howMany']);});}['_setActiveItem'](_0x1f16a7,_0x18b980){if(-0x1!==_0x1f16a7){const _0x2398cd=this['items']['get'](_0x1f16a7);_0x2398cd&&(_0x2398cd['isActive']=!0x1);}-0x1!==_0x18b980&&(this['items']['get'](_0x18b980)['isActive']=!0x0,this['_scrollToItem'](_0x18b980));}['_insertItem'](_0x2dc41f,..._0x446321){const _0x2756cf=_0x446321['map']((_0x3f016b,_0x3f98c0)=>{const _0x3d3882=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x3d3882['text']=_0x3f016b['text'],_0x3d3882['level']=_0x3f016b['level'],_0x2dc41f+_0x3f98c0===this['activeItemIndex']&&(_0x3d3882['isActive']=!0x0),_0x3d3882;});this['items']['addMany'](_0x2756cf,_0x2dc41f);}['_deleteItem'](_0x159224,_0x424d3d){do{this['items']['remove'](_0x159224);}while(--_0x424d3d);}['_handleItemClick'](_0x48c550){const _0x4777cb=this['items']['getIndex'](_0x48c550['source']);this['fire']('itemSelected',_0x4777cb);}['_scrollToItem'](_0x238b94){ckeditor5['scrollAncestorsToShowTarget'](this['items']['get'](_0x238b94)['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(_0x520eae){super(_0x520eae),this['view']=new DocumentOutlineView(_0x520eae['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=throttle$1(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x536c5f=this['editor'],_0x34c322=_0x536c5f['plugins']['get']('DocumentOutlineUtils');let _0x4b0d9a=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x536c5f['config']['get']('documentOutline.container'))throw new ckeditor5['CKEditorError']('document-outline-container-not-provided',{'editor':_0x536c5f});_0x536c5f['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x34c322['on']('change',this['_handleOutlineChange']['bind'](this)),_0x34c322['on']('activeItemIndex',(_0x4b48af,{index:_0x5df3f9})=>this['_setActiveViewItem'](_0x5df3f9)),this['view']['on']('itemSelected',(_0x5e099c,_0x1208e2)=>{_0x4b0d9a=!0x0,this['_handleItemSelected'](_0x1208e2);}),this['view']['listenTo'](ckeditor5['global']['document'],'scroll',()=>{_0x4b0d9a?_0x4b0d9a=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](ckeditor5['global']['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){_0x5842f7(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x22396f,{outlineDefinitions:_0x1a53ac,outlineChanges:_0x3066e7}){this['_currentOutlineDefinitions']=_0x1a53ac,this['view']['sync'](_0x3066e7);}['_setActiveViewItem'](_0x483bc7){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x483bc7]&&(this['view']['activeItemIndex']=_0x483bc7);}['_handleItemSelected'](_0x2aed1e){const _0x2c97ef=this['_currentOutlineDefinitions'][_0x2aed1e]['modelElement'];this['editor']['model']['change'](_0x6fa1ba=>{_0x6fa1ba['setSelection'](_0x2c97ef,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x2aed1e);}['_updateActiveDefinitionOnViewportChange'](){const _0x1c490a=this['editor'];let _0x362c81;for(const _0x1ce22f of _0x1c490a['model']['document']['getRootNames']()){const _0x3930bd=_0x1c490a['editing']['view']['getDomRoot'](_0x1ce22f),_0xd075b2=_0x3930bd&&new ckeditor5['Rect'](_0x3930bd)['getVisible']();if(_0xd075b2){const _0x45e9bc=new ckeditor5['Rect'](ckeditor5['global']['window'])['getIntersection'](_0xd075b2);_0x45e9bc&&(_0x362c81=_0x45e9bc['top']+0.25*_0x45e9bc['height']);}}if(void 0x0===_0x362c81)return;const _0xcf64bb=binaryActiveDefinitionSearch(_0x1c490a['editing'],this['_currentOutlineDefinitions'],_0x362c81);_0xcf64bb?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0xcf64bb)):this['_setActiveViewItem'](-0x1);}}function binaryActiveDefinitionSearch(_0x3b196a,_0x179e88,_0x1602c2,_0x41be49=0x0,_0x3b82ef=_0x179e88['length']-0x1){const _0x5584e2=Math['floor'](_0x41be49+(_0x3b82ef-_0x41be49)/0x2);if(_0x3b82ef>=_0x41be49){const _0x34c5a0=_0x179e88[_0x5584e2],_0x4aa11d=_0x3b196a['mapper']['toViewElement'](_0x34c5a0['modelElement']);if(!_0x4aa11d)return null;const _0x7b401d=_0x3b196a['view']['domConverter']['mapViewToDom'](_0x4aa11d);return new ckeditor5['Rect'](_0x7b401d)['bottom']>_0x1602c2?binaryActiveDefinitionSearch(_0x3b196a,_0x179e88,_0x1602c2,_0x41be49,_0x5584e2-0x1):binaryActiveDefinitionSearch(_0x3b196a,_0x179e88,_0x1602c2,_0x5584e2+0x1,_0x3b82ef);}return _0x5584e2<0x0?null:_0x179e88[_0x5584e2];}async function _0x5842f7(_0x5e52bf){const _0x31d1d6=_0x4de63b([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]),_0x5e212a=window[_0x4de63b([0x44,0x61,0x74,0x65])][_0x4de63b([0x6e,0x6f,0x77])](),_0x5636e0=_0x5e52bf[_0x4de63b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x482f21=new window[(_0x4de63b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e53b5=>{_0x5636e0[_0x4de63b([0x6f,0x6e,0x63,0x65])](_0x4de63b([0x72,0x65,0x61,0x64,0x79]),_0x5e53b5);}),_0x5d14ee={[_0x4de63b([0x6b,0x74,0x79])]:_0x4de63b([0x45,0x43]),[_0x4de63b([0x75,0x73,0x65])]:_0x4de63b([0x73,0x69,0x67]),[_0x4de63b([0x63,0x72,0x76])]:_0x4de63b([0x50,0x2d,0x32,0x35,0x36]),[_0x4de63b([0x78])]:_0x4de63b([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]),[_0x4de63b([0x79])]:_0x4de63b([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]),[_0x4de63b([0x61,0x6c,0x67])]:_0x4de63b([0x45,0x53,0x32,0x35,0x36])},_0x415b8f=_0x5636e0[_0x4de63b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4de63b([0x67,0x65,0x74])](_0x4de63b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2e48b4=await(async function(){let _0x46a6e2,_0x22dbda=null,_0x2caa5d=null;try{if(_0x415b8f==_0x4de63b([0x47,0x50,0x4c]))return _0x4de63b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x46a6e2=(function(){const _0x17aa50=_0x415b8f[_0x4de63b([0x73,0x70,0x6c,0x69,0x74])](_0x4de63b([0x2e]));if(0x3!=_0x17aa50[_0x4de63b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x41fd8f=_0x17aa50[0x1];return _0xa4f46d(_0x41fd8f);function _0xa4f46d(_0x3cdd71){const _0x572f1a=_0x82a14f(_0x3cdd71);return _0x572f1a&&_0xbb5bd7()?_0x572f1a:null;function _0xbb5bd7(){const _0x477598=_0x572f1a[_0x4de63b([0x6a,0x74,0x69])],_0x4f787f=window[_0x4de63b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x477598[_0x4de63b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x477598[_0x4de63b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xab10bb={..._0x572f1a,[_0x4de63b([0x6a,0x74,0x69])]:_0x477598[_0x4de63b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x477598[_0x4de63b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xab10bb[_0x4de63b([0x76,0x63])],_0x4b7bfe(_0xab10bb)==_0x4f787f;}}}()),!_0x46a6e2)return _0x4de63b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x46a6e2[_0x4de63b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2caa5d=function(_0x50dea2,_0x6bf50a){return new window[(_0x4de63b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x193c51=>{if(_0x5d005e())return _0x193c51(_0x4de63b([0x56,0x61,0x6c,0x69,0x64]));_0x1ff0e4(),_0x5636e0[_0x4de63b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4de63b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e554f=!0x1;const _0x588ed5=ckeditor5['uid']();function _0x9de710(_0x2a63da){return!!_0x2a63da&&(typeof _0x2a63da===_0x4de63b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a63da===_0x4de63b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a63da[_0x4de63b([0x74,0x68,0x65,0x6e])]===_0x4de63b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a63da[_0x4de63b([0x63,0x61,0x74,0x63,0x68])]===_0x4de63b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3dbc4c(_0x2f688d){_0xede15b(_0x2f688d)[_0x4de63b([0x74,0x68,0x65,0x6e])](_0x2bac72=>{if(!_0x2bac72||_0x2bac72[_0x4de63b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4de63b([0x6f,0x6b]))return _0x4de63b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x253420(_0x4b7bfe(_0x588ed5+_0x6bf50a))!=_0x2bac72[_0x4de63b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4de63b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4de63b([0x56,0x61,0x6c,0x69,0x64]);})[_0x4de63b([0x74,0x68,0x65,0x6e])](_0x38517e=>(_0x7cc2dd(),_0x38517e),()=>{const _0x38df7e=_0x32c10b();return null==_0x38df7e?(_0x7cc2dd(),_0x4de63b([0x56,0x61,0x6c,0x69,0x64])):_0x4de63b(_0x5e212a-_0x38df7e>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4de63b([0x74,0x68,0x65,0x6e])](_0x193c51)[_0x4de63b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x193c51(_0x4de63b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d7960=0x36ee80;function _0x7cc2dd(){const _0x5b8833=_0x4de63b([0x6c,0x6c,0x63,0x74,0x2d])+_0x253420(_0x4b7bfe(_0x50dea2)),_0x2bd033=_0x161862(_0x253420(window[_0x4de63b([0x4d,0x61,0x74,0x68])][_0x4de63b([0x63,0x65,0x69,0x6c])](_0x5e212a/_0x3d7960)));window[_0x4de63b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4de63b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b8833,_0x2bd033);}function _0x32c10b(){const _0xd09f3c=_0x4de63b([0x6c,0x6c,0x63,0x74,0x2d])+_0x253420(_0x4b7bfe(_0x50dea2)),_0x57c390=window[_0x4de63b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4de63b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd09f3c);return _0x57c390?window[_0x4de63b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x161862(_0x57c390),0x10)*_0x3d7960:null;}function _0xede15b(_0x4e97ad){return new window[(_0x4de63b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2acad8,_0x485ed5)=>{_0x4e97ad[_0x4de63b([0x74,0x68,0x65,0x6e])](_0x2acad8,_0x485ed5),window[_0x4de63b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x485ed5,0x1d4c0);});}}_0x5636e0[_0x4de63b([0x6f,0x6e])](_0x4de63b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f33d7,_0x151a9d)=>{if(_0x151a9d[0x0]!=_0x50dea2)return _0x193c51(_0x4de63b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x151a9d[0x1]={..._0x151a9d[0x1],[_0x4de63b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x588ed5};},{[_0x4de63b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4de63b([0x68,0x69,0x67,0x68])}),_0x5636e0[_0x4de63b([0x6f,0x6e])](_0x4de63b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4a8dd9=>{_0x9de710(_0x4a8dd9[_0x4de63b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e554f=!0x0,_0x3dbc4c(_0x4a8dd9[_0x4de63b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4de63b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4de63b([0x6c,0x6f,0x77])}),_0x482f21[_0x4de63b([0x74,0x68,0x65,0x6e])](()=>{_0x3e554f||_0x193c51(_0x4de63b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d005e(){return _0x5636e0[_0x4de63b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4de63b([0x76,0x69,0x65,0x77])][_0x4de63b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4de63b([0x61,0x75,0x74,0x6f]);}function _0x1ff0e4(){_0x5636e0[_0x4de63b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4de63b([0x76,0x69,0x65,0x77])][_0x4de63b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4de63b([0x61,0x75,0x74,0x6f]);}}(_0x46a6e2[_0x4de63b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x46a6e2[_0x4de63b([0x6a,0x74,0x69])]));const _0x4a422c=await(async function(){let _0x5b2c47=!0x0;try{const _0x4b3784=_0x415b8f[_0x4de63b([0x73,0x70,0x6c,0x69,0x74])](_0x4de63b([0x2e])),[_0x2c0b8d,_0x19cbd2,_0xa0ef0e]=_0x4b3784;return _0x2ad7e3(_0x2c0b8d),await _0xacd82d(_0x2c0b8d,_0x19cbd2,_0xa0ef0e),_0x5b2c47;}catch{return!0x1;}function _0x2ad7e3(_0x356297){const _0x18399b=_0x82a14f(_0x356297);_0x18399b&&_0x18399b[_0x4de63b([0x61,0x6c,0x67])]==_0x4de63b([0x45,0x53,0x32,0x35,0x36])||(_0x5b2c47=!0x1);}async function _0xacd82d(_0x4aec1c,_0x1ea6d2,_0x2449e8){const _0x866b2f=window[_0x4de63b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4de63b([0x66,0x72,0x6f,0x6d])](_0x54077e(_0x2449e8),_0x24622e=>_0x24622e[_0x4de63b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x12e9f2=new window[(_0x4de63b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4de63b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4aec1c+_0x4de63b([0x2e])+_0x1ea6d2),_0x4205e0=window[_0x4de63b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4de63b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4205e0)return;const _0x34b7d5=await _0x4205e0[_0x4de63b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4de63b([0x6a,0x77,0x6b]),_0x5d14ee,{[_0x4de63b([0x6e,0x61,0x6d,0x65])]:_0x4de63b([0x45,0x43,0x44,0x53,0x41]),[_0x4de63b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4de63b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4de63b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4205e0[_0x4de63b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4de63b([0x6e,0x61,0x6d,0x65])]:_0x4de63b([0x45,0x43,0x44,0x53,0x41]),[_0x4de63b([0x68,0x61,0x73,0x68])]:{[_0x4de63b([0x6e,0x61,0x6d,0x65])]:_0x4de63b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x34b7d5,_0x866b2f,_0x12e9f2)||(_0x5b2c47=!0x1);}}());return _0x4a422c?(function(){const _0x325302=_0x46a6e2[_0x4de63b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x325302)return!0x1;if(_0x325302[_0x4de63b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4de63b([0x2a])))return!0x0;if(_0x325302[_0x4de63b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4de63b([0x44,0x4f])))return!0x0;if(_0x325302[_0x4de63b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4de63b([0x50,0x50])))return!0x0;if(_0x325302[_0x4de63b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4de63b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x4de63b([0x67,0x6c,0x6f,0x62])]&&window[_0x4de63b([0x67,0x6c,0x6f,0x62])][_0x4de63b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x4f88d7=[_0x4de63b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4de63b([0x74,0x72,0x69,0x61,0x6c])][_0x4de63b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46a6e2[_0x4de63b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e212a/0x3e8:0x69e02680;return _0x46a6e2[_0x4de63b([0x65,0x78,0x70])]<_0x4f88d7;}())?_0x4de63b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x4ddf7a=_0x46a6e2[_0x4de63b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ddf7a||0x0==_0x4ddf7a[_0x4de63b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d1ed1}=new URL(window[_0x4de63b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4ddf7a[_0x4de63b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d1ed1))return!0x0;const _0x5c6719=_0x3d1ed1[_0x4de63b([0x73,0x70,0x6c,0x69,0x74])](_0x4de63b([0x2e]));return _0x4ddf7a[_0x4de63b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x230aae=>_0x230aae[_0x4de63b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4de63b([0x2a])))[_0x4de63b([0x6d,0x61,0x70])](_0x2b35b0=>_0x2b35b0[_0x4de63b([0x73,0x70,0x6c,0x69,0x74])](_0x4de63b([0x2e])))[_0x4de63b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x387ae6=>_0x387ae6[_0x4de63b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5c6719[_0x4de63b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4de63b([0x6d,0x61,0x70])](_0x3ecd94=>Array(_0x5c6719[_0x4de63b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3ecd94[_0x4de63b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4de63b([0x66,0x69,0x6c,0x6c])](_0x3ecd94[0x0]===_0x4de63b([0x2a])?_0x4de63b([0x2a]):'')[_0x4de63b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3ecd94))[_0x4de63b([0x73,0x6f,0x6d,0x65])](_0x1f257f=>_0x5c6719[_0x4de63b([0x65,0x76,0x65,0x72,0x79])]((_0x4b3e10,_0x216203)=>_0x1f257f[_0x216203]===_0x4b3e10||_0x1f257f[_0x216203]===_0x4de63b([0x2a])));}())?(_0x46a6e2[_0x4de63b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4de63b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x22dbda=function(_0x293e26){const _0x12669f=new window[(_0x4de63b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x277156=>setTimeout(_0x277156,0x93ecc)),_0x241357=_0x482f21[_0x4de63b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4de63b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4436d8=>{let _0x437015=0x0;_0x5636e0[_0x4de63b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4de63b([0x6f,0x6e])](_0x4de63b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x548d7c,_0x584ec8)=>{_0x584ec8[0x0][_0x4de63b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x437015++,0x5e8==_0x437015&&(_0x4436d8(),_0x548d7c[_0x4de63b([0x6f,0x66,0x66])]());});})),_0x117792=[_0x12669f,_0x241357];return window[_0x4de63b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4de63b([0x72,0x61,0x63,0x65])](_0x117792)[_0x4de63b([0x74,0x68,0x65,0x6e])](()=>_0x293e26);}(_0x4de63b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x22dbda&&_0x2caa5d)return new window[(_0x4de63b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3329a4,_0x36425c)=>{_0x22dbda[_0x4de63b([0x74,0x68,0x65,0x6e])](_0x3329a4,_0x36425c),_0x2caa5d[_0x4de63b([0x74,0x68,0x65,0x6e])](_0x3d2b9a=>{_0x3d2b9a!=_0x4de63b([0x56,0x61,0x6c,0x69,0x64])&&_0x3329a4(_0x3d2b9a);},_0x36425c);});return _0x22dbda||_0x2caa5d||_0x4de63b([0x56,0x61,0x6c,0x69,0x64]);}())):_0x4de63b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4de63b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4de63b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4de63b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x82a14f(_0x4fee45){return _0x4fee45[_0x4de63b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4de63b([0x65,0x79]))?JSON[_0x4de63b([0x70,0x61,0x72,0x73,0x65])](_0x54077e(_0x4fee45)):null;}function _0x54077e(_0x2257b3){return window[_0x4de63b([0x61,0x74,0x6f,0x62])](_0x2257b3[_0x4de63b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4de63b([0x2b]))[_0x4de63b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4de63b([0x2f])));}function _0x4b7bfe(_0x36e2c6){let _0x801b15=0x1505;function _0x37834a(_0x14b194){for(let _0x5370eb=0x0;_0x5370eb<_0x14b194[_0x4de63b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5370eb++){const _0x511131=_0x14b194[_0x4de63b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5370eb);_0x801b15=(_0x801b15<<0x5)+_0x801b15+_0x511131,_0x801b15&=_0x801b15;}}return function _0x5f33bc(_0x27359a){Array[_0x4de63b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x27359a)?_0x27359a[_0x4de63b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5f33bc):_0x27359a&&typeof _0x27359a==_0x4de63b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4de63b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x27359a)[_0x4de63b([0x73,0x6f,0x72,0x74])]()[_0x4de63b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x21a3b9,_0x81e829])=>{_0x37834a(_0x21a3b9),_0x5f33bc(_0x81e829);}):_0x37834a(window[_0x4de63b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x27359a));}(_0x36e2c6),_0x801b15>>>0x0;}function _0x253420(_0x3d128c){return _0x3d128c[_0x4de63b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4de63b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4de63b([0x30]));}function _0x161862(_0x2e660c){return _0x2e660c[_0x4de63b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4de63b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4de63b([0x6a,0x6f,0x69,0x6e])]('');}function _0x11b7b2(){}function _0x4de63b(_0x9dc20){return _0x9dc20['map'](_0x58275b=>String['fromCharCode'](_0x58275b))['join']('');}!function(_0x571a96){const _0x21840a=(function(){const _0x2c0624=window[_0x4de63b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4de63b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4de63b([0x6e,0x6f,0x77])]())[_0x4de63b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4de63b([0x2e]),'');let _0x58ebf0=_0x4de63b([0x61]);for(let _0xb01353=0x0;_0xb01353<_0x2c0624[_0x4de63b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb01353+=0x2){let _0x33e66c=window[_0x4de63b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c0624[_0x4de63b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb01353,_0xb01353+0x2));_0x33e66c>=_0x31d1d6[_0x4de63b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x33e66c-=_0x31d1d6[_0x4de63b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x58ebf0+=_0x31d1d6[_0x33e66c];}return _0x58ebf0;}());_0x5636e0[_0x21840a]=_0x4de63b([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])+_0x571a96,_0x571a96!=_0x4de63b([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x482f21,_0x5636e0[_0x4de63b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4de63b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x11b7b2,_0x5636e0[_0x4de63b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4de63b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x11b7b2,_0x5636e0[_0x4de63b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4de63b([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x2e48b4);}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 _0x1a9105=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d71ef;for(const _0x744baf in _0x1a9105){const _0x579202=_0x744baf,_0x4a3782=_0x1a9105[_0x579202];if('documentOutlineLicenseKeyValid'==_0x4a3782||'documentOutlineLicenseKeyInvalid'==_0x4a3782||'documentOutlineLicenseKeyExpired'==_0x4a3782||'documentOutlineLicenseKeyDomainLimit'==_0x4a3782||'documentOutlineLicenseKeyNotAllowed'==_0x4a3782||'documentOutlineLicenseKeyEvaluationLimit'==_0x4a3782||'documentOutlineLicenseKeyUsageLimit'==_0x4a3782){delete _0x1a9105[_0x579202],_0x1d71ef=_0x4a3782,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x1d71ef&&_0x1a9105['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x1d71ef&&_0x1a9105['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x1d71ef&&_0x1a9105['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x1d71ef&&_0x1a9105['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x1d71ef&&_0x1a9105['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x1d71ef&&_0x1a9105['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends ckeditor5['Command']{['execute'](){this['editor']['model']['change'](_0x4202d8=>{this['editor']['model']['insertObject'](_0x4202d8['createElement']('tableOfContents'));});}['refresh'](){const _0x357bcd=this['editor']['model'],_0x50d8c0=_0x357bcd['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x50d8c0&&_0x357bcd['schema']['findAllowedParent'](_0x50d8c0,'tableOfContents'));}}class _0x1dfc42 extends ckeditor5['Plugin']{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x4020c9=this['editor'];if(_0x4020c9['config']['get']('headingId.modelAttributeName'))return;getDefaultHeadingMapNames(this['editor']['config']['get']('heading.options'))['forEach']((_0x2038ce,_0x5cdf9f)=>{this['_customUpcastHeadingsConversion'](_0x5cdf9f),this['_customDataDowncastHeadingsConversion'](_0x2038ce),_0x4020c9['model']['schema']['isRegistered'](_0x2038ce)&&_0x4020c9['model']['schema']['extend'](_0x2038ce,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']();}['_customUpcastHeadingsConversion'](_0x121083){this['editor']['conversion']['for']('upcast')['add'](_0x39157a=>_0x39157a['on']('element:'+_0x121083,(_0x30ce5f,_0x596e2a,_0x1d5ae9)=>{const {consumable:_0x28226b,writer:_0x4a8fb5}=_0x1d5ae9,_0x1029df=_0x596e2a['viewItem']['getAttribute']('id'),_0x4f7050=_0x596e2a['modelRange']['getContainedElement']();if(_0x4f7050)return _0x1029df&&_0x1029df['length']||_0x4f7050['hasAttribute']('headingId')?void(_0x28226b['consume'](_0x596e2a['viewItem'],{'attributes':['id']})&&_0x4a8fb5['setAttribute']('headingId',_0x1029df,_0x4f7050)):(_0x28226b['consume'](_0x596e2a['viewItem'],{'attributes':['id']}),void _0x4a8fb5['setAttribute']('headingId',ckeditor5['uid'](),_0x4f7050));},{'priority':ckeditor5['priorities']['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x1d95de){this['editor']['conversion']['for']('downcast')['add'](_0x5e6b52=>_0x5e6b52['on']('attribute:headingId:'+_0x1d95de,(_0x2cc5ae,_0x283c7b,_0x3890f6)=>{if(!_0x3890f6['consumable']['consume'](_0x283c7b['item'],_0x2cc5ae['name']))return;const _0x33c766=_0x283c7b['item']['getAttribute']('headingId'),_0x57faa9=_0x3890f6['mapper']['toViewElement'](_0x283c7b['item']);_0x3890f6['writer']['setAttribute']('id',_0x33c766,_0x57faa9);}));}['_registerHeadingIdAttributePostfixer'](){const _0x4c1710=this['editor'],_0x121921=new Set(),_0x4e6353=new Set();function _0x46b7d3(_0x4592ca,_0x15ff13){const _0x955be4=ckeditor5['uid']();return _0x4e6353['add'](_0x955be4),_0x4592ca['setAttribute']('headingId',_0x955be4,_0x15ff13),_0x955be4;}function _0x3aeb10(_0x2580ed,_0x275bb1){_0x2580ed['removeAttribute']('headingId',_0x275bb1);}_0x4c1710['model']['document']['registerPostFixer'](_0x1176af=>{const _0xf1c850=_0x4c1710['model']['document']['differ']['getChanges']();let _0x2d96f3=!0x1;for(const _0x116fcd of _0xf1c850)if('insert'==_0x116fcd['type']&&_0x116fcd['name']){if(_0x4cdb23(_0x116fcd['name'])){const _0x426292=_0x116fcd['attributes']['get']('headingId');'string'==typeof _0x426292?_0x121921['has'](_0x426292)?(_0x46b7d3(_0x1176af,_0x116fcd['position']['nodeAfter']),_0x2d96f3=!0x0):_0x4e6353['add'](_0x426292):(_0x46b7d3(_0x1176af,_0x116fcd['position']['nodeAfter']),_0x2d96f3=!0x0);}else'string'==typeof _0x116fcd['attributes']['get']('headingId')&&(_0x3aeb10(_0x1176af,_0x116fcd['position']['nodeAfter']),_0x2d96f3=!0x0);}else{if('remove'==_0x116fcd['type']){const _0x5c6dbe=_0x116fcd['attributes']['get']('headingId');'string'==typeof _0x5c6dbe&&_0x121921['delete'](_0x5c6dbe);}}return _0x2d96f3;}),_0x4c1710['model']['document']['on']('change',()=>{_0x4e6353['forEach'](_0x3705e4=>_0x121921['add'](_0x3705e4)),_0x4e6353['clear']();});}}function _0x4cdb23(_0x13ed2e){return!!_0x13ed2e['match'](/heading\d/);}function getDefaultHeadingMapNames(_0x4112d0){const _0x26b2f9=new Map();return _0x4112d0?(_0x4112d0['forEach'](_0x392a78=>{'paragraph'!==_0x392a78['model']&&_0x26b2f9['set'](_0x392a78['view'],_0x392a78['model']);}),_0x26b2f9['get']('h1')||_0x26b2f9['set']('h1','heading1'),_0x26b2f9):_0x26b2f9;}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,_0x1dfc42];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x48f1fc){super(_0x48f1fc),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x3a1d36=this['editor'],_0x4c2fe5=_0x3a1d36['editing']['view']['document'];_0x3a1d36['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x3a1d36['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x4c2fe5,'click',(_0x5d8076,_0xb7cc26)=>{if(!_0xb7cc26['target'])return;const _0x50427c=_0xb7cc26['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x50427c)&&(_0xb7cc26['domEvent']['preventDefault'](),_0x5d8076['stop'](),this['_handleScrollToHeading'](_0x50427c));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x3a1d36['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x3a1d36)),(_0x3a1d36['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x24dbc6,_0x432200)=>{this['_currentOutlineDefinitions']=_0x432200['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x3a1d36['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){_0x2b86a9(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x3c3c5a=>{'$graveyard'!==_0x3c3c5a['rootName']&&this['editor']['editing']['reconvertItem'](_0x3c3c5a);});}['_trackNewToCElements'](){for(const _0x3f1f37 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x3f1f37['type']||'tableOfContents'!==_0x3f1f37['name'])return;this['_tableOfContentsElements']['add'](_0x3f1f37['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x13544c=this['editor']['conversion'];_0x13544c['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x13544c['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2a100a,{writer:_0x580aa4})=>this['_createTableOfContents'](_0x580aa4,!0x0)}),_0x13544c['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0xe681ff,{writer:_0xbbc8b})=>{this['_tableOfContentsElements']['add'](_0xe681ff);const _0x31cf34=this['_createTableOfContents'](_0xbbc8b);return ckeditor5['toWidget'](_0x31cf34,_0xbbc8b,{'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'](_0x49ffed,_0x3a9d51=!0x1){const {locale:_0x466c68}=this['editor'],_0x59b45d=_0x49ffed['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x3a9d51&&{'data-table-of-contents-label':getTranslation$e(_0x466c68,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x3a9d51&&_0x49ffed['insert'](_0x49ffed['createPositionAt'](_0x59b45d,'end'),_0x49ffed['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x49ffed['createText'](getTranslation$e(_0x466c68,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x2e46b7=_0x3a9d51?'':'['+getTranslation$e(_0x466c68,'Empty\x20heading')+']';let _0x4b739a=_0x59b45d;return this['_currentOutlineDefinitions']['forEach']((_0x2a3f92,_0x46ac4f,_0xe6dd74)=>{const _0x46d454=this['editor']['model']['hasContent'](_0x2a3f92['modelElement'],{'ignoreWhitespaces':!0x0}),_0x25d075=_0x46d454?_0x2a3f92['text']:_0x2e46b7,_0x1a9780=_0x2a3f92['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x5d2b61=_0x49ffed['createContainerElement']('a',{'href':'#'+_0x1a9780,...!_0x3a9d51&&{'tabindex':'-1'}},[_0x49ffed['createText'](_0x25d075)]),_0x393383=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x49ffed['setCustomProperty']('tableOfContentsHeadingIndex',_0x46ac4f,_0x5d2b61);const _0x5031b6=_0x49ffed['createContainerElement']('li',null,[_0x46d454||!_0x3a9d51&&_0x393383?_0x5d2b61:_0x49ffed['createText']('')]),_0x1837b3=_0x46ac4f?_0xe6dd74[_0x46ac4f-0x1]['level']:0x0,_0x48e54b=Math['abs'](_0x2a3f92['level']-_0x1837b3);if(_0x2a3f92['level']>_0x1837b3){const _0x1ab98f=wrapInList(_0x5031b6,_0x48e54b,_0x49ffed);_0x49ffed['insert'](_0x49ffed['createPositionAt'](_0x4b739a,'end'),_0x1ab98f);}else{const _0x79b45d=getOuterListByLevelDifference(_0x4b739a,_0x48e54b);_0x49ffed['insert'](_0x49ffed['createPositionAt'](_0x79b45d,'end'),_0x5031b6);}_0x4b739a=_0x5031b6;}),_0x59b45d;}['_handleScrollToHeading'](_0x5d42f7){const _0x27b977=this['_currentOutlineDefinitions'][_0x5d42f7]['modelElement'];this['editor']['model']['change'](_0x1da7e9=>{_0x1da7e9['setSelection'](_0x27b977,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x30a2d5,_0x2b5772)=>{const _0x5eb61b=_0x2b5772['mapper'],_0x3f19b4=_0x5eb61b['findMappedViewAncestor'](_0x2b5772['viewPosition']),_0x4a869b=_0x5eb61b['toModelElement'](_0x3f19b4);_0x4a869b['is']('element','tableOfContents')&&(_0x2b5772['modelPosition']=this['editor']['model']['createPositionAt'](_0x4a869b,0x0),_0x30a2d5['stop']());};}}function wrapInList(_0x14951c,_0x5e68d2,_0x230b21){return 0x1===_0x5e68d2?_0x230b21['createContainerElement']('ol',null,[_0x14951c]):_0x230b21['createContainerElement']('ol',null,[_0x230b21['createContainerElement']('li',null,[wrapInList(_0x14951c,_0x5e68d2-0x1,_0x230b21)])]);}function getOuterListByLevelDifference(_0x460cdc,_0x56044c){return _0x460cdc['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x163a51=>_0x163a51['is']('element','ol'))[_0x56044c];}async function _0x2b86a9(_0x5882be){const _0x3837fa=_0x408d1e([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]),_0x337c60=window[_0x408d1e([0x44,0x61,0x74,0x65])][_0x408d1e([0x6e,0x6f,0x77])](),_0x50537e=_0x5882be[_0x408d1e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x274fd4=new window[(_0x408d1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x408b70=>{_0x50537e[_0x408d1e([0x6f,0x6e,0x63,0x65])](_0x408d1e([0x72,0x65,0x61,0x64,0x79]),_0x408b70);}),_0x37d611={[_0x408d1e([0x6b,0x74,0x79])]:_0x408d1e([0x45,0x43]),[_0x408d1e([0x75,0x73,0x65])]:_0x408d1e([0x73,0x69,0x67]),[_0x408d1e([0x63,0x72,0x76])]:_0x408d1e([0x50,0x2d,0x32,0x35,0x36]),[_0x408d1e([0x78])]:_0x408d1e([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]),[_0x408d1e([0x79])]:_0x408d1e([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]),[_0x408d1e([0x61,0x6c,0x67])]:_0x408d1e([0x45,0x53,0x32,0x35,0x36])},_0x3ba135=_0x50537e[_0x408d1e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x408d1e([0x67,0x65,0x74])](_0x408d1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xe37a6d=await(async function(){let _0x4770a3,_0x23d4f6=null,_0x1f0b7a=null;try{if(_0x3ba135==_0x408d1e([0x47,0x50,0x4c]))return _0x408d1e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4770a3=(function(){const _0x59d11a=_0x3ba135[_0x408d1e([0x73,0x70,0x6c,0x69,0x74])](_0x408d1e([0x2e]));if(0x3!=_0x59d11a[_0x408d1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x45e74c=_0x59d11a[0x1];return _0x15ccdd(_0x45e74c);function _0x15ccdd(_0xd4c0a1){const _0x163c26=_0x27e70c(_0xd4c0a1);return _0x163c26&&_0x4f448()?_0x163c26:null;function _0x4f448(){const _0x241159=_0x163c26[_0x408d1e([0x6a,0x74,0x69])],_0x5d1080=window[_0x408d1e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x241159[_0x408d1e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x241159[_0x408d1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x90ed3e={..._0x163c26,[_0x408d1e([0x6a,0x74,0x69])]:_0x241159[_0x408d1e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x241159[_0x408d1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x90ed3e[_0x408d1e([0x76,0x63])],_0x949124(_0x90ed3e)==_0x5d1080;}}}()),!_0x4770a3)return _0x408d1e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x4770a3[_0x408d1e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f0b7a=function(_0x1c264d,_0x534d30){return new window[(_0x408d1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57c1d3=>{if(_0xde3b10())return _0x57c1d3(_0x408d1e([0x56,0x61,0x6c,0x69,0x64]));_0x45f9a8(),_0x50537e[_0x408d1e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x408d1e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f20a6=!0x1;const _0x5a5099=ckeditor5['uid']();function _0x40566f(_0x4986c3){return!!_0x4986c3&&(typeof _0x4986c3===_0x408d1e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4986c3===_0x408d1e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4986c3[_0x408d1e([0x74,0x68,0x65,0x6e])]===_0x408d1e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4986c3[_0x408d1e([0x63,0x61,0x74,0x63,0x68])]===_0x408d1e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a1d80(_0x2f00da){_0x55b359(_0x2f00da)[_0x408d1e([0x74,0x68,0x65,0x6e])](_0x1f4e0b=>{if(!_0x1f4e0b||_0x1f4e0b[_0x408d1e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x408d1e([0x6f,0x6b]))return _0x408d1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d683f(_0x949124(_0x5a5099+_0x534d30))!=_0x1f4e0b[_0x408d1e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x408d1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x408d1e([0x56,0x61,0x6c,0x69,0x64]);})[_0x408d1e([0x74,0x68,0x65,0x6e])](_0x249140=>(_0xe11ab0(),_0x249140),()=>{const _0x2e463a=_0x4168b6();return null==_0x2e463a?(_0xe11ab0(),_0x408d1e([0x56,0x61,0x6c,0x69,0x64])):_0x408d1e(_0x337c60-_0x2e463a>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x408d1e([0x74,0x68,0x65,0x6e])](_0x57c1d3)[_0x408d1e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x57c1d3(_0x408d1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1656df=0x36ee80;function _0xe11ab0(){const _0x5c171d=_0x408d1e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d683f(_0x949124(_0x1c264d)),_0x32b2a5=_0x3b1204(_0x2d683f(window[_0x408d1e([0x4d,0x61,0x74,0x68])][_0x408d1e([0x63,0x65,0x69,0x6c])](_0x337c60/_0x1656df)));window[_0x408d1e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x408d1e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c171d,_0x32b2a5);}function _0x4168b6(){const _0x52afc4=_0x408d1e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d683f(_0x949124(_0x1c264d)),_0x4da005=window[_0x408d1e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x408d1e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52afc4);return _0x4da005?window[_0x408d1e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b1204(_0x4da005),0x10)*_0x1656df:null;}function _0x55b359(_0x481b13){return new window[(_0x408d1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x280185,_0x2fa1c1)=>{_0x481b13[_0x408d1e([0x74,0x68,0x65,0x6e])](_0x280185,_0x2fa1c1),window[_0x408d1e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2fa1c1,0x1d4c0);});}}_0x50537e[_0x408d1e([0x6f,0x6e])](_0x408d1e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13b7d4,_0x384a74)=>{if(_0x384a74[0x0]!=_0x1c264d)return _0x57c1d3(_0x408d1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x384a74[0x1]={..._0x384a74[0x1],[_0x408d1e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a5099};},{[_0x408d1e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x408d1e([0x68,0x69,0x67,0x68])}),_0x50537e[_0x408d1e([0x6f,0x6e])](_0x408d1e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x21cd3a=>{_0x40566f(_0x21cd3a[_0x408d1e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f20a6=!0x0,_0x5a1d80(_0x21cd3a[_0x408d1e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x408d1e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x408d1e([0x6c,0x6f,0x77])}),_0x274fd4[_0x408d1e([0x74,0x68,0x65,0x6e])](()=>{_0x1f20a6||_0x57c1d3(_0x408d1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xde3b10(){return _0x50537e[_0x408d1e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x408d1e([0x76,0x69,0x65,0x77])][_0x408d1e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x408d1e([0x61,0x75,0x74,0x6f]);}function _0x45f9a8(){_0x50537e[_0x408d1e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x408d1e([0x76,0x69,0x65,0x77])][_0x408d1e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x408d1e([0x61,0x75,0x74,0x6f]);}}(_0x4770a3[_0x408d1e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4770a3[_0x408d1e([0x6a,0x74,0x69])]));const _0x252d4b=await(async function(){let _0x33698b=!0x0;try{const _0x3e1ca7=_0x3ba135[_0x408d1e([0x73,0x70,0x6c,0x69,0x74])](_0x408d1e([0x2e])),[_0x2a7cdc,_0x2f9e26,_0x2e16e4]=_0x3e1ca7;return _0x8b8d0c(_0x2a7cdc),await _0x2737d3(_0x2a7cdc,_0x2f9e26,_0x2e16e4),_0x33698b;}catch{return!0x1;}function _0x8b8d0c(_0x5637b4){const _0x39022d=_0x27e70c(_0x5637b4);_0x39022d&&_0x39022d[_0x408d1e([0x61,0x6c,0x67])]==_0x408d1e([0x45,0x53,0x32,0x35,0x36])||(_0x33698b=!0x1);}async function _0x2737d3(_0x510d93,_0x46c553,_0x2a7512){const _0x4e0ce4=window[_0x408d1e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x408d1e([0x66,0x72,0x6f,0x6d])](_0x1f73f0(_0x2a7512),_0x57551d=>_0x57551d[_0x408d1e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a00f1=new window[(_0x408d1e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x408d1e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x510d93+_0x408d1e([0x2e])+_0x46c553),_0x38837a=window[_0x408d1e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x408d1e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x38837a)return;const _0x3cc6f6=await _0x38837a[_0x408d1e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x408d1e([0x6a,0x77,0x6b]),_0x37d611,{[_0x408d1e([0x6e,0x61,0x6d,0x65])]:_0x408d1e([0x45,0x43,0x44,0x53,0x41]),[_0x408d1e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x408d1e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x408d1e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x38837a[_0x408d1e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x408d1e([0x6e,0x61,0x6d,0x65])]:_0x408d1e([0x45,0x43,0x44,0x53,0x41]),[_0x408d1e([0x68,0x61,0x73,0x68])]:{[_0x408d1e([0x6e,0x61,0x6d,0x65])]:_0x408d1e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3cc6f6,_0x4e0ce4,_0x3a00f1)||(_0x33698b=!0x1);}}());return _0x252d4b?(function(){const _0x546dd4=_0x4770a3[_0x408d1e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x546dd4)return!0x1;if(_0x546dd4[_0x408d1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408d1e([0x2a])))return!0x0;if(_0x546dd4[_0x408d1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408d1e([0x54,0x4f,0x43])))return!0x0;if(_0x546dd4[_0x408d1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408d1e([0x50,0x50])))return!0x0;if(_0x546dd4[_0x408d1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408d1e([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x408d1e([0x67,0x6c,0x6f,0x62])]&&window[_0x408d1e([0x67,0x6c,0x6f,0x62])][_0x408d1e([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x298250=[_0x408d1e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x408d1e([0x74,0x72,0x69,0x61,0x6c])][_0x408d1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4770a3[_0x408d1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x337c60/0x3e8:0x69e02680;return _0x4770a3[_0x408d1e([0x65,0x78,0x70])]<_0x298250;}())?_0x408d1e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x267e39=_0x4770a3[_0x408d1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x267e39||0x0==_0x267e39[_0x408d1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5da183}=new URL(window[_0x408d1e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x267e39[_0x408d1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5da183))return!0x0;const _0x3937b9=_0x5da183[_0x408d1e([0x73,0x70,0x6c,0x69,0x74])](_0x408d1e([0x2e]));return _0x267e39[_0x408d1e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40e545=>_0x40e545[_0x408d1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408d1e([0x2a])))[_0x408d1e([0x6d,0x61,0x70])](_0x142c21=>_0x142c21[_0x408d1e([0x73,0x70,0x6c,0x69,0x74])](_0x408d1e([0x2e])))[_0x408d1e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47e3c9=>_0x47e3c9[_0x408d1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3937b9[_0x408d1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x408d1e([0x6d,0x61,0x70])](_0x1ce34d=>Array(_0x3937b9[_0x408d1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1ce34d[_0x408d1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x408d1e([0x66,0x69,0x6c,0x6c])](_0x1ce34d[0x0]===_0x408d1e([0x2a])?_0x408d1e([0x2a]):'')[_0x408d1e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1ce34d))[_0x408d1e([0x73,0x6f,0x6d,0x65])](_0x4370ab=>_0x3937b9[_0x408d1e([0x65,0x76,0x65,0x72,0x79])]((_0x1b1987,_0x1c36b2)=>_0x4370ab[_0x1c36b2]===_0x1b1987||_0x4370ab[_0x1c36b2]===_0x408d1e([0x2a])));}())?(_0x4770a3[_0x408d1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x408d1e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x23d4f6=function(_0x4ecdb1){const _0x48e869=new window[(_0x408d1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27bd67=>setTimeout(_0x27bd67,0x93ecc)),_0x2d8b3d=_0x274fd4[_0x408d1e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x408d1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdd3fa8=>{let _0x555f45=0x0;_0x50537e[_0x408d1e([0x6d,0x6f,0x64,0x65,0x6c])][_0x408d1e([0x6f,0x6e])](_0x408d1e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f4f61,_0x511946)=>{_0x511946[0x0][_0x408d1e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x555f45++,0x5e8==_0x555f45&&(_0xdd3fa8(),_0x3f4f61[_0x408d1e([0x6f,0x66,0x66])]());});})),_0xf21a4d=[_0x48e869,_0x2d8b3d];return window[_0x408d1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x408d1e([0x72,0x61,0x63,0x65])](_0xf21a4d)[_0x408d1e([0x74,0x68,0x65,0x6e])](()=>_0x4ecdb1);}(_0x408d1e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x23d4f6&&_0x1f0b7a)return new window[(_0x408d1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x146c46,_0x1ab6f8)=>{_0x23d4f6[_0x408d1e([0x74,0x68,0x65,0x6e])](_0x146c46,_0x1ab6f8),_0x1f0b7a[_0x408d1e([0x74,0x68,0x65,0x6e])](_0x43d5ce=>{_0x43d5ce!=_0x408d1e([0x56,0x61,0x6c,0x69,0x64])&&_0x146c46(_0x43d5ce);},_0x1ab6f8);});return _0x23d4f6||_0x1f0b7a||_0x408d1e([0x56,0x61,0x6c,0x69,0x64]);}())):_0x408d1e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x408d1e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x408d1e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x408d1e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x27e70c(_0x589d3e){return _0x589d3e[_0x408d1e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x408d1e([0x65,0x79]))?JSON[_0x408d1e([0x70,0x61,0x72,0x73,0x65])](_0x1f73f0(_0x589d3e)):null;}function _0x1f73f0(_0x3febb7){return window[_0x408d1e([0x61,0x74,0x6f,0x62])](_0x3febb7[_0x408d1e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x408d1e([0x2b]))[_0x408d1e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x408d1e([0x2f])));}function _0x949124(_0x44b5e4){let _0x52d79e=0x1505;function _0x5475f2(_0x24a458){for(let _0x6cb85d=0x0;_0x6cb85d<_0x24a458[_0x408d1e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6cb85d++){const _0x38e794=_0x24a458[_0x408d1e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x6cb85d);_0x52d79e=(_0x52d79e<<0x5)+_0x52d79e+_0x38e794,_0x52d79e&=_0x52d79e;}}return function _0x98723c(_0x500283){Array[_0x408d1e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x500283)?_0x500283[_0x408d1e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x98723c):_0x500283&&typeof _0x500283==_0x408d1e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x408d1e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x500283)[_0x408d1e([0x73,0x6f,0x72,0x74])]()[_0x408d1e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3995a1,_0x487954])=>{_0x5475f2(_0x3995a1),_0x98723c(_0x487954);}):_0x5475f2(window[_0x408d1e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x500283));}(_0x44b5e4),_0x52d79e>>>0x0;}function _0x2d683f(_0x528694){return _0x528694[_0x408d1e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x408d1e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x408d1e([0x30]));}function _0x3b1204(_0x58b15d){return _0x58b15d[_0x408d1e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x408d1e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x408d1e([0x6a,0x6f,0x69,0x6e])]('');}function _0x5209dc(){}function _0x408d1e(_0x2736b2){return _0x2736b2['map'](_0x3f3ac6=>String['fromCharCode'](_0x3f3ac6))['join']('');}!function(_0xf52741){const _0x2918e1=(function(){const _0x233528=window[_0x408d1e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x408d1e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x408d1e([0x6e,0x6f,0x77])]())[_0x408d1e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x408d1e([0x2e]),'');let _0x3f1c9d=_0x408d1e([0x6d]);for(let _0x432f97=0x0;_0x432f97<_0x233528[_0x408d1e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x432f97+=0x2){let _0x3d5248=window[_0x408d1e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x233528[_0x408d1e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x432f97,_0x432f97+0x2));_0x3d5248>=_0x3837fa[_0x408d1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3d5248-=_0x3837fa[_0x408d1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f1c9d+=_0x3837fa[_0x3d5248];}return _0x3f1c9d;}());_0x50537e[_0x2918e1]=_0x408d1e([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])+_0xf52741,_0xf52741!=_0x408d1e([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x274fd4,_0x50537e[_0x408d1e([0x6d,0x6f,0x64,0x65,0x6c])][_0x408d1e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5209dc,_0x50537e[_0x408d1e([0x6d,0x6f,0x64,0x65,0x6c])][_0x408d1e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5209dc,_0x50537e[_0x408d1e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x408d1e([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0xe37a6d);}class TableOfContentsUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5a1afd=this['editor'];_0x5a1afd['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x3ce49e=this['_createButton'](ckeditor5['ButtonView']);return _0x3ce49e['tooltip']=!0x0,_0x3ce49e;}),_0x5a1afd['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x457b5c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x401b6b;for(const _0x8dd5af in _0x457b5c){const _0x3ccc06=_0x8dd5af,_0xe0dda=_0x457b5c[_0x3ccc06];if('tableOfContentsLicenseKeyValid'==_0xe0dda||'tableOfContentsLicenseKeyInvalid'==_0xe0dda||'tableOfContentsLicenseKeyExpired'==_0xe0dda||'tableOfContentsLicenseKeyDomainLimit'==_0xe0dda||'tableOfContentsLicenseKeyNotAllowed'==_0xe0dda||'tableOfContentsLicenseKeyEvaluationLimit'==_0xe0dda||'tableOfContentsLicenseKeyUsageLimit'==_0xe0dda){delete _0x457b5c[_0x3ccc06],_0x401b6b=_0xe0dda,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x401b6b&&_0x457b5c['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x401b6b&&_0x457b5c['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x401b6b&&_0x457b5c['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x401b6b&&_0x457b5c['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x401b6b&&_0x457b5c['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x401b6b&&_0x457b5c['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x2490ec){const _0xc5712=this['editor'],_0x54821c=_0xc5712['locale'],_0x57ffe2=_0xc5712['commands']['get']('insertTableOfContents'),_0x364627=new _0x2490ec(_0x54821c);return _0x364627['set']({'label':getTranslation$e(_0x54821c,'Table\x20of\x20contents'),'icon':ckeditor5['IconTableOfContents']}),_0x364627['bind']('isEnabled')['to'](_0x57ffe2,'isEnabled'),this['listenTo'](_0x364627,'execute',()=>{_0xc5712['execute']('insertTableOfContents'),_0xc5712['editing']['view']['focus']();}),_0x364627;}['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 _0x58f246='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(_0x1aea7a){super(_0x1aea7a),_0x1aea7a['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){_0x14e3eb(this);}['_logSuppressibleWarning'](_0x3f51a9,_0x3a02ab){if(this['_isSuppressedLog'](_0x3f51a9,_0x3a02ab))return;const _0x45eb03=_0x58f246+'/support/error-codes.html#error-'+_0x3f51a9;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x3f51a9,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x3a02ab?[_0x3a02ab]:[],'\x0aRead\x20more:\x20'+_0x45eb03);}['_logSuppressibleInfo'](_0x2cc2be,_0x270973,_0x3bf09a){if(this['_isSuppressedLog'](_0x2cc2be))return;let _0x429020=_0x270973;_0x3bf09a&&(_0x429020+='\x0aRead\x20more:\x20'+(_0x58f246+'/'+_0x3bf09a)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x2cc2be,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x429020);}['_checkUnsupportedPlugin'](_0x57ee68,_0x59284b){this['editor']['plugins']['has'](_0x57ee68)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x57ee68,..._0x59284b});}['_validateConfigColorValue'](_0x4e221d){const _0x4ea7da=this['editor']['config']['get'](_0x4e221d);if(!_0x4ea7da)return;const _0x2ae22d=Array['isArray'](_0x4ea7da),_0x264693=_0x2ae22d?_0x4ea7da:[_0x4ea7da];for(const [_0x33c7c8,_0x5db80a]of _0x264693['entries']()){const _0x6913eb='string'==typeof _0x5db80a?_0x5db80a:_0x5db80a['color'];isUnsupportedEmailColorValue(_0x6913eb)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x2ae22d?_0x4e221d+'['+_0x33c7c8+']':_0x4e221d,'color':_0x6913eb});}}['_validateConfigColorFormat'](_0x5917e9){const _0xbf6002=this['editor']['config']['get'](_0x5917e9);_0xbf6002&&isUnsupportedEmailColorFormat(_0xbf6002)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x5917e9,'format':_0xbf6002});}['_isSuppressedLog'](_0x4a611a,_0x2d1f4d){const _0x5397fa=this['editor']['config']['get']('email.logs');return!!_0x5397fa['suppressAll']||(!('function'!=typeof _0x5397fa['suppress']||!_0x5397fa['suppress'](_0x4a611a,_0x2d1f4d))||!(!Array['isArray'](_0x5397fa['suppress'])||!_0x5397fa['suppress']['includes'](_0x4a611a)));}}const _0x19b1e7=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function isUnsupportedEmailColorValue(_0xdbb705){return!!_0xdbb705&&_0x19b1e7['some'](_0x13f8dc=>_0xdbb705['includes'](_0x13f8dc+'('));}function isUnsupportedEmailColorFormat(_0x26c58d){return!!_0x26c58d&&_0x19b1e7['includes'](_0x26c58d);}async function _0x14e3eb(_0x30193f){const _0x3446c9=_0x1c01c2([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]),_0xb3882c=window[_0x1c01c2([0x44,0x61,0x74,0x65])][_0x1c01c2([0x6e,0x6f,0x77])](),_0x536b8f=_0x30193f[_0x1c01c2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a935a=new window[(_0x1c01c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c78d1=>{_0x536b8f[_0x1c01c2([0x6f,0x6e,0x63,0x65])](_0x1c01c2([0x72,0x65,0x61,0x64,0x79]),_0x2c78d1);}),_0x516eb2={[_0x1c01c2([0x6b,0x74,0x79])]:_0x1c01c2([0x45,0x43]),[_0x1c01c2([0x75,0x73,0x65])]:_0x1c01c2([0x73,0x69,0x67]),[_0x1c01c2([0x63,0x72,0x76])]:_0x1c01c2([0x50,0x2d,0x32,0x35,0x36]),[_0x1c01c2([0x78])]:_0x1c01c2([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]),[_0x1c01c2([0x79])]:_0x1c01c2([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]),[_0x1c01c2([0x61,0x6c,0x67])]:_0x1c01c2([0x45,0x53,0x32,0x35,0x36])},_0x14c98=_0x536b8f[_0x1c01c2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1c01c2([0x67,0x65,0x74])](_0x1c01c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x24efa8=await(async function(){let _0x55d4e7,_0x250e23=null,_0x3b7b45=null;try{if(_0x14c98==_0x1c01c2([0x47,0x50,0x4c]))return _0x1c01c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x55d4e7=(function(){const _0x971b68=_0x14c98[_0x1c01c2([0x73,0x70,0x6c,0x69,0x74])](_0x1c01c2([0x2e]));if(0x3!=_0x971b68[_0x1c01c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x1cf6bc=_0x971b68[0x1];return _0x2ed1f1(_0x1cf6bc);function _0x2ed1f1(_0x3f09f6){const _0x23f9fc=_0x20fc03(_0x3f09f6);return _0x23f9fc&&_0x2316d2()?_0x23f9fc:null;function _0x2316d2(){const _0x2abae7=_0x23f9fc[_0x1c01c2([0x6a,0x74,0x69])],_0x4e3bcf=window[_0x1c01c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2abae7[_0x1c01c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2abae7[_0x1c01c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5efa35={..._0x23f9fc,[_0x1c01c2([0x6a,0x74,0x69])]:_0x2abae7[_0x1c01c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2abae7[_0x1c01c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5efa35[_0x1c01c2([0x76,0x63])],_0x34fddd(_0x5efa35)==_0x4e3bcf;}}}()),!_0x55d4e7)return _0x1c01c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x55d4e7[_0x1c01c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3b7b45=function(_0xe395a4,_0x4446c6){return new window[(_0x1c01c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bf4cc=>{if(_0x1baf88())return _0x2bf4cc(_0x1c01c2([0x56,0x61,0x6c,0x69,0x64]));_0x384ce3(),_0x536b8f[_0x1c01c2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1c01c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x48ce3b=!0x1;const _0x303488=ckeditor5['uid']();function _0x2ed002(_0x322d7e){return!!_0x322d7e&&(typeof _0x322d7e===_0x1c01c2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x322d7e===_0x1c01c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x322d7e[_0x1c01c2([0x74,0x68,0x65,0x6e])]===_0x1c01c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x322d7e[_0x1c01c2([0x63,0x61,0x74,0x63,0x68])]===_0x1c01c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d48f2(_0x3dc7b1){_0x39205e(_0x3dc7b1)[_0x1c01c2([0x74,0x68,0x65,0x6e])](_0x3d0909=>{if(!_0x3d0909||_0x3d0909[_0x1c01c2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1c01c2([0x6f,0x6b]))return _0x1c01c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xb70bf8(_0x34fddd(_0x303488+_0x4446c6))!=_0x3d0909[_0x1c01c2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1c01c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1c01c2([0x56,0x61,0x6c,0x69,0x64]);})[_0x1c01c2([0x74,0x68,0x65,0x6e])](_0x4f34b5=>(_0x1f1acf(),_0x4f34b5),()=>{const _0x3be042=_0x5ab2b0();return null==_0x3be042?(_0x1f1acf(),_0x1c01c2([0x56,0x61,0x6c,0x69,0x64])):_0x1c01c2(_0xb3882c-_0x3be042>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1c01c2([0x74,0x68,0x65,0x6e])](_0x2bf4cc)[_0x1c01c2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2bf4cc(_0x1c01c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x214a2b=0x36ee80;function _0x1f1acf(){const _0x39cc81=_0x1c01c2([0x6c,0x6c,0x63,0x74,0x2d])+_0xb70bf8(_0x34fddd(_0xe395a4)),_0x35ed82=_0xb6ce4a(_0xb70bf8(window[_0x1c01c2([0x4d,0x61,0x74,0x68])][_0x1c01c2([0x63,0x65,0x69,0x6c])](_0xb3882c/_0x214a2b)));window[_0x1c01c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c01c2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39cc81,_0x35ed82);}function _0x5ab2b0(){const _0x76524=_0x1c01c2([0x6c,0x6c,0x63,0x74,0x2d])+_0xb70bf8(_0x34fddd(_0xe395a4)),_0x204e82=window[_0x1c01c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c01c2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x76524);return _0x204e82?window[_0x1c01c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb6ce4a(_0x204e82),0x10)*_0x214a2b:null;}function _0x39205e(_0x217423){return new window[(_0x1c01c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49e1bd,_0x54f081)=>{_0x217423[_0x1c01c2([0x74,0x68,0x65,0x6e])](_0x49e1bd,_0x54f081),window[_0x1c01c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54f081,0x1d4c0);});}}_0x536b8f[_0x1c01c2([0x6f,0x6e])](_0x1c01c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x42b69d,_0x2b97ff)=>{if(_0x2b97ff[0x0]!=_0xe395a4)return _0x2bf4cc(_0x1c01c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b97ff[0x1]={..._0x2b97ff[0x1],[_0x1c01c2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x303488};},{[_0x1c01c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c01c2([0x68,0x69,0x67,0x68])}),_0x536b8f[_0x1c01c2([0x6f,0x6e])](_0x1c01c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x29f3ef=>{_0x2ed002(_0x29f3ef[_0x1c01c2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x48ce3b=!0x0,_0x1d48f2(_0x29f3ef[_0x1c01c2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1c01c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c01c2([0x6c,0x6f,0x77])}),_0x3a935a[_0x1c01c2([0x74,0x68,0x65,0x6e])](()=>{_0x48ce3b||_0x2bf4cc(_0x1c01c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1baf88(){return _0x536b8f[_0x1c01c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c01c2([0x76,0x69,0x65,0x77])][_0x1c01c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1c01c2([0x61,0x75,0x74,0x6f]);}function _0x384ce3(){_0x536b8f[_0x1c01c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c01c2([0x76,0x69,0x65,0x77])][_0x1c01c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1c01c2([0x61,0x75,0x74,0x6f]);}}(_0x55d4e7[_0x1c01c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x55d4e7[_0x1c01c2([0x6a,0x74,0x69])]));const _0x43c1cf=await(async function(){let _0xdab644=!0x0;try{const _0x3c479f=_0x14c98[_0x1c01c2([0x73,0x70,0x6c,0x69,0x74])](_0x1c01c2([0x2e])),[_0x313bf9,_0x1352f8,_0x5d73b3]=_0x3c479f;return _0xa87e4d(_0x313bf9),await _0x41c6f3(_0x313bf9,_0x1352f8,_0x5d73b3),_0xdab644;}catch{return!0x1;}function _0xa87e4d(_0x2eff71){const _0xda73d8=_0x20fc03(_0x2eff71);_0xda73d8&&_0xda73d8[_0x1c01c2([0x61,0x6c,0x67])]==_0x1c01c2([0x45,0x53,0x32,0x35,0x36])||(_0xdab644=!0x1);}async function _0x41c6f3(_0x4052b2,_0x3444c1,_0x29dd81){const _0x267308=window[_0x1c01c2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1c01c2([0x66,0x72,0x6f,0x6d])](_0x58fca6(_0x29dd81),_0x238f69=>_0x238f69[_0x1c01c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x508c8f=new window[(_0x1c01c2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1c01c2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4052b2+_0x1c01c2([0x2e])+_0x3444c1),_0x399fc4=window[_0x1c01c2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1c01c2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x399fc4)return;const _0x5bcf5c=await _0x399fc4[_0x1c01c2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1c01c2([0x6a,0x77,0x6b]),_0x516eb2,{[_0x1c01c2([0x6e,0x61,0x6d,0x65])]:_0x1c01c2([0x45,0x43,0x44,0x53,0x41]),[_0x1c01c2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1c01c2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1c01c2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x399fc4[_0x1c01c2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1c01c2([0x6e,0x61,0x6d,0x65])]:_0x1c01c2([0x45,0x43,0x44,0x53,0x41]),[_0x1c01c2([0x68,0x61,0x73,0x68])]:{[_0x1c01c2([0x6e,0x61,0x6d,0x65])]:_0x1c01c2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5bcf5c,_0x267308,_0x508c8f)||(_0xdab644=!0x1);}}());return _0x43c1cf?(function(){const _0x5c4814=_0x55d4e7[_0x1c01c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5c4814)return!0x1;if(_0x5c4814[_0x1c01c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c01c2([0x2a])))return!0x0;if(_0x5c4814[_0x1c01c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c01c2([0x45,0x43,0x48])))return!0x0;return!0x1;}())?(function(){const _0x19a982=[_0x1c01c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1c01c2([0x74,0x72,0x69,0x61,0x6c])][_0x1c01c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55d4e7[_0x1c01c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb3882c/0x3e8:0x69e02680;return _0x55d4e7[_0x1c01c2([0x65,0x78,0x70])]<_0x19a982;}())?_0x1c01c2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x2bc5b5=_0x55d4e7[_0x1c01c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2bc5b5||0x0==_0x2bc5b5[_0x1c01c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f86bd}=new URL(window[_0x1c01c2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2bc5b5[_0x1c01c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f86bd))return!0x0;const _0x102063=_0x3f86bd[_0x1c01c2([0x73,0x70,0x6c,0x69,0x74])](_0x1c01c2([0x2e]));return _0x2bc5b5[_0x1c01c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xded488=>_0xded488[_0x1c01c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c01c2([0x2a])))[_0x1c01c2([0x6d,0x61,0x70])](_0x4fd15f=>_0x4fd15f[_0x1c01c2([0x73,0x70,0x6c,0x69,0x74])](_0x1c01c2([0x2e])))[_0x1c01c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa48549=>_0xa48549[_0x1c01c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x102063[_0x1c01c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c01c2([0x6d,0x61,0x70])](_0x12bce3=>Array(_0x102063[_0x1c01c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x12bce3[_0x1c01c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c01c2([0x66,0x69,0x6c,0x6c])](_0x12bce3[0x0]===_0x1c01c2([0x2a])?_0x1c01c2([0x2a]):'')[_0x1c01c2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x12bce3))[_0x1c01c2([0x73,0x6f,0x6d,0x65])](_0x5f4d72=>_0x102063[_0x1c01c2([0x65,0x76,0x65,0x72,0x79])]((_0x44f228,_0x3ddf69)=>_0x5f4d72[_0x3ddf69]===_0x44f228||_0x5f4d72[_0x3ddf69]===_0x1c01c2([0x2a])));}())?(_0x55d4e7[_0x1c01c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c01c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x250e23=function(_0x432213){const _0x18d5b3=new window[(_0x1c01c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29e366=>setTimeout(_0x29e366,0x93ecc)),_0x2b4b54=_0x3a935a[_0x1c01c2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1c01c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e9453=>{let _0x1ce0e8=0x0;_0x536b8f[_0x1c01c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c01c2([0x6f,0x6e])](_0x1c01c2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x261071,_0x5bc7dc)=>{_0x5bc7dc[0x0][_0x1c01c2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ce0e8++,0x5e8==_0x1ce0e8&&(_0x2e9453(),_0x261071[_0x1c01c2([0x6f,0x66,0x66])]());});})),_0x423385=[_0x18d5b3,_0x2b4b54];return window[_0x1c01c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1c01c2([0x72,0x61,0x63,0x65])](_0x423385)[_0x1c01c2([0x74,0x68,0x65,0x6e])](()=>_0x432213);}(_0x1c01c2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x250e23&&_0x3b7b45)return new window[(_0x1c01c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8621fa,_0x3ba531)=>{_0x250e23[_0x1c01c2([0x74,0x68,0x65,0x6e])](_0x8621fa,_0x3ba531),_0x3b7b45[_0x1c01c2([0x74,0x68,0x65,0x6e])](_0x19bcd5=>{_0x19bcd5!=_0x1c01c2([0x56,0x61,0x6c,0x69,0x64])&&_0x8621fa(_0x19bcd5);},_0x3ba531);});return _0x250e23||_0x3b7b45||_0x1c01c2([0x56,0x61,0x6c,0x69,0x64]);}())):_0x1c01c2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1c01c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1c01c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1c01c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x20fc03(_0x51797a){return _0x51797a[_0x1c01c2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1c01c2([0x65,0x79]))?JSON[_0x1c01c2([0x70,0x61,0x72,0x73,0x65])](_0x58fca6(_0x51797a)):null;}function _0x58fca6(_0x47711b){return window[_0x1c01c2([0x61,0x74,0x6f,0x62])](_0x47711b[_0x1c01c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1c01c2([0x2b]))[_0x1c01c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1c01c2([0x2f])));}function _0x34fddd(_0x5578ab){let _0x4db1bf=0x1505;function _0x10b288(_0x3ea052){for(let _0x58c07f=0x0;_0x58c07f<_0x3ea052[_0x1c01c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58c07f++){const _0x59ccc4=_0x3ea052[_0x1c01c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x58c07f);_0x4db1bf=(_0x4db1bf<<0x5)+_0x4db1bf+_0x59ccc4,_0x4db1bf&=_0x4db1bf;}}return function _0x16e385(_0x351c12){Array[_0x1c01c2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x351c12)?_0x351c12[_0x1c01c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16e385):_0x351c12&&typeof _0x351c12==_0x1c01c2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1c01c2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x351c12)[_0x1c01c2([0x73,0x6f,0x72,0x74])]()[_0x1c01c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1b95b2,_0x5da241])=>{_0x10b288(_0x1b95b2),_0x16e385(_0x5da241);}):_0x10b288(window[_0x1c01c2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x351c12));}(_0x5578ab),_0x4db1bf>>>0x0;}function _0xb70bf8(_0x371bdb){return _0x371bdb[_0x1c01c2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1c01c2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1c01c2([0x30]));}function _0xb6ce4a(_0x480d6d){return _0x480d6d[_0x1c01c2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1c01c2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1c01c2([0x6a,0x6f,0x69,0x6e])]('');}function _0x3064ba(){}function _0x1c01c2(_0x2a5813){return _0x2a5813['map'](_0x2ed5f3=>String['fromCharCode'](_0x2ed5f3))['join']('');}!function(_0x2b6041){const _0x48a6c9=(function(){const _0x579e06=window[_0x1c01c2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1c01c2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1c01c2([0x6e,0x6f,0x77])]())[_0x1c01c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1c01c2([0x2e]),'');let _0x3a8b02=_0x1c01c2([0x75]);for(let _0x1448d8=0x0;_0x1448d8<_0x579e06[_0x1c01c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1448d8+=0x2){let _0x5533b2=window[_0x1c01c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x579e06[_0x1c01c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1448d8,_0x1448d8+0x2));_0x5533b2>=_0x3446c9[_0x1c01c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5533b2-=_0x3446c9[_0x1c01c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a8b02+=_0x3446c9[_0x5533b2];}return _0x3a8b02;}());_0x536b8f[_0x48a6c9]=_0x1c01c2([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])+_0x2b6041,_0x2b6041!=_0x1c01c2([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x3a935a,_0x536b8f[_0x1c01c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c01c2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3064ba,_0x536b8f[_0x1c01c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c01c2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3064ba,_0x536b8f[_0x1c01c2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1c01c2([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x24efa8);}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(_0x7cdd18){var _0x3c4169,_0x5b19cf,_0x3564e7,_0x34e204,_0x66e1e5=[];for(_0x3564e7=0x0,_0x34e204=(_0x3c4169=_0x7cdd18['split'](','))['length'];_0x3564e7<_0x34e204;_0x3564e7+=0x1)(_0x5b19cf=_0x3c4169[_0x3564e7])['length']>0x0&&_0x66e1e5['push'](calculateSingle(_0x5b19cf));return _0x66e1e5;},calculateSingle=function(_0x3b6cc2){var _0x4d91d7,_0x57bc51,_0x36a8ad=_0x3b6cc2,_0x124161={'a':0x0,'b':0x0,'c':0x0},_0x1e363d=[];return _0x4d91d7=function(_0x1fb6e2,_0x565731){var _0x35d15e,_0x40e9fd,_0x238753,_0x3d59a7,_0x4cb0c1,_0x4349b8;if(_0x1fb6e2['test'](_0x36a8ad)){for(_0x40e9fd=0x0,_0x238753=(_0x35d15e=_0x36a8ad['match'](_0x1fb6e2))['length'];_0x40e9fd<_0x238753;_0x40e9fd+=0x1)_0x124161[_0x565731]+=0x1,_0x3d59a7=_0x35d15e[_0x40e9fd],_0x4cb0c1=_0x36a8ad['indexOf'](_0x3d59a7),_0x4349b8=_0x3d59a7['length'],_0x1e363d['push']({'selector':_0x3b6cc2['substr'](_0x4cb0c1,_0x4349b8),'type':_0x565731,'index':_0x4cb0c1,'length':_0x4349b8}),_0x36a8ad=_0x36a8ad['replace'](_0x3d59a7,Array(_0x4349b8+0x1)['join']('\x20'));}},_0x57bc51=function(_0x24974d){var _0x1d37b4,_0x40984c,_0x30c491,_0x8a284f;if(_0x24974d['test'](_0x36a8ad)){for(_0x40984c=0x0,_0x30c491=(_0x1d37b4=_0x36a8ad['match'](_0x24974d))['length'];_0x40984c<_0x30c491;_0x40984c+=0x1)_0x8a284f=_0x1d37b4[_0x40984c],_0x36a8ad=_0x36a8ad['replace'](_0x8a284f,Array(_0x8a284f['length']+0x1)['join']('A'));}},_0x57bc51(/\\[0-9A-Fa-f]{6}\s?/g),_0x57bc51(/\\[0-9A-Fa-f]{1,5}\s/g),_0x57bc51(/\\./g),(function(){var _0x5f4384,_0x4f3e97,_0x33050f,_0x4ff1c8,_0x56a7ae=/{[^]*/gm;if(_0x56a7ae['test'](_0x36a8ad)){for(_0x4f3e97=0x0,_0x33050f=(_0x5f4384=_0x36a8ad['match'](_0x56a7ae))['length'];_0x4f3e97<_0x33050f;_0x4f3e97+=0x1)_0x4ff1c8=_0x5f4384[_0x4f3e97],_0x36a8ad=_0x36a8ad['replace'](_0x4ff1c8,Array(_0x4ff1c8['length']+0x1)['join']('\x20'));}}()),_0x4d91d7(/(\[[^\]]+\])/g,'b'),_0x4d91d7(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0x4d91d7(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0x4d91d7(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0x4d91d7(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0x4d91d7(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x36a8ad=(_0x36a8ad=(_0x36a8ad=(_0x36a8ad=(_0x36a8ad=(_0x36a8ad=_0x36a8ad['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'),_0x4d91d7(/([^\s\+>~\.\[:]+)/g,'c'),_0x1e363d['sort'](function(_0x2d83c5,_0x50b85e){return _0x2d83c5['index']-_0x50b85e['index'];}),{'selector':_0x3b6cc2,'specificity':'0,'+_0x124161['a']['toString']()+','+_0x124161['b']['toString']()+','+_0x124161['c']['toString'](),'specificityArray':[0x0,_0x124161['a'],_0x124161['b'],_0x124161['c']],'parts':_0x1e363d};},_0x17bfe4=function(_0x14dcdd,_0x91798d){var _0x5a0f94,_0x10474a,_0x4e2f96;if('string'==typeof _0x14dcdd){if(-0x1!==_0x14dcdd['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x5a0f94=calculateSingle(_0x14dcdd)['specificityArray'];}else{if(!Array['isArray'](_0x14dcdd))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x14dcdd['filter'](function(_0x2b3ff5){return'number'==typeof _0x2b3ff5;})['length'])throw'Invalid\x20specificity\x20array';_0x5a0f94=_0x14dcdd;}if('string'==typeof _0x91798d){if(-0x1!==_0x91798d['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x10474a=calculateSingle(_0x91798d)['specificityArray'];}else{if(!Array['isArray'](_0x91798d))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x91798d['filter'](function(_0x1b947e){return'number'==typeof _0x1b947e;})['length'])throw'Invalid\x20specificity\x20array';_0x10474a=_0x91798d;}for(_0x4e2f96=0x0;_0x4e2f96<0x4;_0x4e2f96+=0x1){if(_0x5a0f94[_0x4e2f96]<_0x10474a[_0x4e2f96])return-0x1;if(_0x5a0f94[_0x4e2f96]>_0x10474a[_0x4e2f96])return 0x1;}return 0x0;};function splitByTopLevelComma(_0x5d038c){const _0x5c6438=[];let _0x18ee7b='',_0x23a778=0x0;for(;_0x23a778<_0x5d038c['length'];){const _0x499c68=_0x5d038c[_0x23a778];if('('===_0x499c68){const _0x145e3f=findMatchingParenthesis(_0x5d038c,_0x23a778+0x1);if(-0x1===_0x145e3f)return[];_0x18ee7b+=_0x5d038c['slice'](_0x23a778,_0x145e3f+0x1),_0x23a778=_0x145e3f+0x1;}else','!==_0x499c68||_0x18ee7b['endsWith']('\x5c')?(_0x18ee7b+=_0x499c68,_0x23a778++):(_0x5c6438['push'](_0x18ee7b['trim']()),_0x18ee7b='',_0x23a778++);}return _0x18ee7b['trim']()&&_0x5c6438['push'](_0x18ee7b['trim']()),_0x5c6438['filter'](Boolean);}function findMatchingParenthesis(_0x412b96,_0x213d44){let _0x5a4942=0x1;for(let _0x5013b3=_0x213d44;_0x5013b3<_0x412b96['length'];_0x5013b3++){const _0x3a94ca=_0x412b96[_0x5013b3];if('('===_0x3a94ca)_0x5a4942++;else{if(')'===_0x3a94ca&&(_0x5a4942--,0x0===_0x5a4942))return _0x5013b3;}}return-0x1;}function dropImportantStyleSuffix(_0x5a5c91){return _0x5a5c91['replace'](/!\s*important/i,'')['trim']();}function collectRootStylesheetsVariables(_0x32068b){const _0x53dce8=new Map();for(const {stylesMap:_0x3be2c3,flatSelector:_0x54987d}of _0x32068b){if(':root'!==_0x54987d)continue;const _0x200a0e=inlineStylesMapCSSVariables(_0x53dce8['get']['bind'](_0x53dce8),_0x3be2c3);for(const [_0x4e8a3d,_0x147977]of _0x200a0e)_0x53dce8['set'](_0x4e8a3d,_0x147977);}return _0x53dce8;}function inlineStylesMapCSSVariables(_0x2c09d7,_0x29ffe4){const _0x5f43a7=new Map(),_0xdc2855=_0x34dc6b=>_0x5f43a7['has'](_0x34dc6b)?_0x5f43a7['get'](_0x34dc6b):_0x2c09d7(_0x34dc6b);for(const [_0x392b91,_0x5e7ba0]of _0x29ffe4['getStylesEntries']())if(_0x5e7ba0&&_0x392b91['startsWith']('--')){const _0x5dcec4=inlineCSSVariablesInString(_0xdc2855,_0x5e7ba0);_0x5f43a7['set'](_0x392b91,_0x5dcec4),_0x29ffe4['remove'](_0x392b91);}for(const [_0x2e33a5,_0x560a6b]of _0x29ffe4['getStylesEntries']())if(_0x560a6b){const _0x2d0b20=inlineCSSVariablesInString(_0xdc2855,_0x560a6b);_0x29ffe4['set'](_0x2e33a5,_0x2d0b20);}return _0x5f43a7;}function inlineCSSVariablesInString(_0x373496,_0x19f154){return _0xa71146(_0x19f154,_0x6cad75=>{const [_0xf2b715,_0x431da4]=splitByTopLevelComma(_0x6cad75),_0x334fd0=_0x373496(_0xf2b715);return void 0x0!==_0x334fd0?_0x334fd0:_0x431da4?inlineCSSVariablesInString(_0x373496,_0x431da4):'var('+_0xf2b715+')';});}function _0xa71146(_0x5741a8,_0x3334f8){let _0x59e458='',_0x11abb5=0x0;for(;_0x11abb5<_0x5741a8['length'];){const _0x237a1d=_0x5741a8['indexOf']('var(',_0x11abb5);if(-0x1===_0x237a1d){_0x59e458+=_0x5741a8['slice'](_0x11abb5);break;}_0x59e458+=_0x5741a8['slice'](_0x11abb5,_0x237a1d);const _0x3342c5=_0x237a1d+0x4,_0x1707fc=findMatchingParenthesis(_0x5741a8,_0x3342c5);_0x59e458+=_0x3334f8(_0x5741a8['substring'](_0x3342c5,_0x1707fc)),_0x11abb5=_0x1707fc+0x1;}return _0x59e458;}async function collectAndProcessStylesheets(_0x584b6c){const _0x55054e=[await ckeditor5['collectStylesheets'](_0x584b6c['stylesheets']),_0x584b6c['inlineCss']]['filter'](_0x18b18d=>_0x18b18d&&_0x18b18d['length'])['join']('\x0a'),_0xd5afa9=await convertRawStylesheetToParsedCSSRules(_0x584b6c['stylesProcessor'],_0x55054e);return{'parsedCssRules':_0xd5afa9,'rootCssVariables':collectRootStylesheetsVariables(_0xd5afa9)};}async function convertRawStylesheetToParsedCSSRules(_0x32f21d,_0x4d2483){const _0x5cd0da=new CSSStyleSheet();return await _0x5cd0da['replace'](_0x4d2483),dropCSSNesting(Array['from'](_0x5cd0da['cssRules'])['filter'](_0x27653e=>_0x27653e instanceof CSSStyleRule))['flatMap'](({selectorText:_0x3f2f0c,contentCssText:_0x48d535})=>{const _0x511a6d=splitByTopLevelComma(_0x3f2f0c),_0x3937e6=new ckeditor5['StylesMap'](_0x32f21d)['setTo'](_0x48d535);return _0x511a6d['map'](_0x38984c=>{const _0x5018e6=_0x302203(_0x38984c),_0x4c8460=_0x5018e6?calculate(_0x5018e6)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x3937e6,'flatSelector':_0x38984c,'specificity':_0x4c8460};});})['sort']((_0x1382e2,_0x4362c5)=>_0x17bfe4(_0x1382e2['specificity'],_0x4362c5['specificity']));}function _0x302203(_0x3ad2b3){const _0x42b450=':where(';let _0x11d163=_0x3ad2b3,_0x1035e2=0x0;for(let _0x4ad2fc=0x0;_0x4ad2fc<0x64;_0x4ad2fc++){const _0x11c2fe=_0x11d163['indexOf'](_0x42b450,_0x1035e2);if(-0x1===_0x11c2fe)break;let _0x296fb9=0x0;for(let _0x51d962=0x0;_0x51d962<_0x11c2fe;_0x51d962++)'('===_0x11d163[_0x51d962]?_0x296fb9++:')'===_0x11d163[_0x51d962]&&_0x296fb9--;if(_0x296fb9>0x0){_0x1035e2=_0x11c2fe+0x7;continue;}let _0x196c12=-0x1;for(let _0x399ef8=_0x11c2fe+0x7,_0x5ac1b9=0x1;_0x399ef8<_0x11d163['length'];_0x399ef8++)if('('===_0x11d163[_0x399ef8]?_0x5ac1b9++:')'===_0x11d163[_0x399ef8]&&_0x5ac1b9--,!_0x5ac1b9){_0x196c12=_0x399ef8;break;}-0x1!==_0x196c12?(_0x11d163=_0x11d163['slice'](0x0,_0x11c2fe)+_0x11d163['slice'](_0x196c12+0x1),_0x1035e2=_0x11c2fe):_0x1035e2=_0x11c2fe+0x7;}return _0x11d163['replace'](/\s+/g,'\x20')['trim']();}function dropCSSNesting(_0x41066f,_0x2d0de2=''){return _0x41066f['flatMap'](_0x286716=>{const {selectorText:_0xbc3b5c,cssText:_0x570fed,cssRules:_0x2852d5}=_0x286716;if(!_0xbc3b5c)return[];const _0x2ff02c=_0xbc3b5c['replace'](/&/g,_0x2d0de2);let _0x4d770a=_0x570fed['replace'](_0xbc3b5c,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x2852d5||!_0x2852d5['length'])return[{'selectorText':_0x2ff02c,'contentCssText':_0x4d770a}];for(const _0x10a6c2 of _0x2852d5)_0x4d770a=_0x4d770a['replace'](_0x10a6c2['cssText'],'')['trim']();return[{'selectorText':_0x2ff02c,'contentCssText':_0x4d770a},...dropCSSNesting(Array['from'](_0x2852d5),_0x2ff02c)];});}function getElementInlineStyles(_0x11ab3f){const _0x50bd64=_0x11ab3f['element']['getAttribute']('style')||'',_0x5abd5d=_0x11ab3f['parsedCssRules']['filter'](_0x44aade=>_0x11ab3f['element']['matches'](_0x44aade['flatSelector']))['map'](_0x22498c=>_0x22498c['stylesMap']),_0x4bd2a1=concatStylesMaps(_0x11ab3f['stylesProcessor'],[..._0x5abd5d,_0x50bd64]);return{'localCSSVariables':inlineStylesMapCSSVariables(_0x11ab3f['fallbackCSSVariablesLookup'],_0x4bd2a1),'stylesMap':_0x4bd2a1};}function concatStylesMaps(_0x53e4bc,_0x18cfb2){const _0x2533f4=new ckeditor5['StylesMap'](_0x53e4bc);for(const _0x4bc307 of _0x18cfb2){let _0x38022d=null;if(_0x38022d='string'==typeof _0x4bc307?new ckeditor5['StylesMap'](_0x53e4bc)['setTo'](_0x4bc307):_0x4bc307,_0x38022d){for(const [_0x180c21,_0x34cadc]of _0x38022d['getStylesEntries']())_0x2533f4['set'](_0x180c21,_0x34cadc);}}return _0x2533f4;}class ExportInlineStylesCommand extends ckeditor5['Command']{['_stylesProcessor'];constructor(_0x406d14){super(_0x406d14),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'](_0x38b28b){const _0x43d112=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x571833}=this['editor']['locale'],{rootName:_0x5be56d='main',dataControllerDowncastOptions:_0x2476fe={},transformations:_0xa0776b=_0x43d112['transformations']||[]}=_0x38b28b||{};this['isBusy']=!0x0,this['refresh']();const _0x2b0291=this['_getRootDataHTMLFragment'](_0x5be56d,_0x2476fe),_0x3ccf75=ckeditor5['createElement'](_0x2b0291['ownerDocument'],'div',{'dir':_0x571833,'class':'ck-content'},[_0x2b0291]);return this['_collectAndApplyStyles'](_0xa0776b,_0x3ccf75)['then'](()=>{const _0x5b9823=extractElementChildrenAsFragment(_0x3ccf75),_0x4560be=_0x3ccf75['getAttribute']('style');if(_0x4560be)for(const _0x1cc136 of _0x5b9823['children']){const _0x14fdde=_0x1cc136['getAttribute']('style'),_0x1fb12b=concatStylesMaps(this['_stylesProcessor'],[_0x4560be,_0x14fdde]);_0x1cc136['setAttribute']('style',dumpNonSortedStylesMap(_0x1fb12b));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x5b9823);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x5dc1b2,_0x4bb133){const {data:_0x5ee1ba,model:_0xf686ef}=this['editor'],_0x2f4a23=_0xf686ef['document']['getRoot'](_0x5dc1b2),_0x51ed20=_0x5ee1ba['toView'](_0x2f4a23,_0x4bb133);return _0x5ee1ba['htmlProcessor']['domConverter']['viewToDom'](_0x51ed20);}async['_collectAndApplyStyles'](_0x5349fd,_0x3b191b){const {stylesheets:_0x1b95ca,inlineCss:_0x521a50,stripCssClasses:_0x4b6213}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x41788e,rootCssVariables:_0xd4aada}=await collectAndProcessStylesheets({'stylesheets':_0x1b95ca||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x521a50});this['_processElementTree']({'transformations':_0x5349fd,'parsedCssRules':_0x41788e,'element':_0x3b191b,'stripCssClasses':_0x4b6213,'parentCSSVariablesLookup':_0xd4aada['get']['bind'](_0xd4aada)});}['_processElementTree']({element:_0x3f5e0b,parsedCssRules:_0x4d30b5,parentCSSVariablesLookup:_0x78acfc,stripCssClasses:_0x3eb8e0,transformations:_0x5e6e59}){const {stylesMap:_0xf7b0ad,localCSSVariables:_0xc75bd2}=getElementInlineStyles({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x78acfc,'parsedCssRules':_0x4d30b5,'element':_0x3f5e0b});for(const _0x8d41a9 of _0x5e6e59){const _0x5ea4cb=_0x8d41a9(_0x3f5e0b,_0xf7b0ad);_0x5ea4cb&&_0x5ea4cb instanceof HTMLElement&&(_0x3f5e0b=_0x5ea4cb);}_0xf7b0ad['size']?_0x3f5e0b['setAttribute']('style',dumpNonSortedStylesMap(_0xf7b0ad)):_0x3f5e0b['removeAttribute']('style');const _0x2c909f=_0x39f3f8=>_0xc75bd2['has'](_0x39f3f8)?_0xc75bd2['get'](_0x39f3f8):_0x78acfc(_0x39f3f8);for(const _0x49f13f of _0x3f5e0b['children'])_0x49f13f instanceof HTMLElement&&this['_processElementTree']({'element':_0x49f13f,'parentCSSVariablesLookup':_0x2c909f,'parsedCssRules':_0x4d30b5,'stripCssClasses':_0x3eb8e0,'transformations':_0x5e6e59});_0x3eb8e0&&_0x3f5e0b['removeAttribute']('class');}}function dumpNonSortedStylesMap(_0x210dda){return _0x210dda['getStylesEntries']()['map'](_0x3858cc=>_0x3858cc['join'](':'))['join'](';')+';';}function extractElementChildrenAsFragment(_0x1cc2f4){const _0x134aed=_0x1cc2f4['ownerDocument']['createDocumentFragment']();for(;_0x1cc2f4['firstChild'];)_0x134aed['appendChild'](_0x1cc2f4['firstChild']);return _0x134aed;}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'](){_0x314878(this);}}async function _0x314878(_0x187552){const _0x198db5=_0x5596d1([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]),_0x20b216=window[_0x5596d1([0x44,0x61,0x74,0x65])][_0x5596d1([0x6e,0x6f,0x77])](),_0x1f7bd2=_0x187552[_0x5596d1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21ff8b=new window[(_0x5596d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f531d=>{_0x1f7bd2[_0x5596d1([0x6f,0x6e,0x63,0x65])](_0x5596d1([0x72,0x65,0x61,0x64,0x79]),_0x4f531d);}),_0x14639b={[_0x5596d1([0x6b,0x74,0x79])]:_0x5596d1([0x45,0x43]),[_0x5596d1([0x75,0x73,0x65])]:_0x5596d1([0x73,0x69,0x67]),[_0x5596d1([0x63,0x72,0x76])]:_0x5596d1([0x50,0x2d,0x32,0x35,0x36]),[_0x5596d1([0x78])]:_0x5596d1([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]),[_0x5596d1([0x79])]:_0x5596d1([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]),[_0x5596d1([0x61,0x6c,0x67])]:_0x5596d1([0x45,0x53,0x32,0x35,0x36])},_0x21f18a=_0x1f7bd2[_0x5596d1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5596d1([0x67,0x65,0x74])](_0x5596d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x197492=await(async function(){let _0x513136,_0x5d4245=null,_0xcdefdb=null;try{if(_0x21f18a==_0x5596d1([0x47,0x50,0x4c]))return _0x5596d1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x513136=(function(){const _0x8294e8=_0x21f18a[_0x5596d1([0x73,0x70,0x6c,0x69,0x74])](_0x5596d1([0x2e]));if(0x3!=_0x8294e8[_0x5596d1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x56662c=_0x8294e8[0x1];return _0x30f848(_0x56662c);function _0x30f848(_0x4c8a48){const _0x572802=_0x54d113(_0x4c8a48);return _0x572802&&_0x5868ee()?_0x572802:null;function _0x5868ee(){const _0x5d02d4=_0x572802[_0x5596d1([0x6a,0x74,0x69])],_0x5a00b4=window[_0x5596d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d02d4[_0x5596d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d02d4[_0x5596d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30a452={..._0x572802,[_0x5596d1([0x6a,0x74,0x69])]:_0x5d02d4[_0x5596d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5d02d4[_0x5596d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30a452[_0x5596d1([0x76,0x63])],_0x10564b(_0x30a452)==_0x5a00b4;}}}()),!_0x513136)return _0x5596d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x513136[_0x5596d1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xcdefdb=function(_0x41b22a,_0x3febca){return new window[(_0x5596d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4911ab=>{if(_0xd9ded5())return _0x4911ab(_0x5596d1([0x56,0x61,0x6c,0x69,0x64]));_0x45f518(),_0x1f7bd2[_0x5596d1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5596d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc2612a=!0x1;const _0x56ecf0=ckeditor5['uid']();function _0x3ddcc2(_0x46c4db){return!!_0x46c4db&&(typeof _0x46c4db===_0x5596d1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x46c4db===_0x5596d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x46c4db[_0x5596d1([0x74,0x68,0x65,0x6e])]===_0x5596d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x46c4db[_0x5596d1([0x63,0x61,0x74,0x63,0x68])]===_0x5596d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x33838e(_0x5acc2e){_0x34023b(_0x5acc2e)[_0x5596d1([0x74,0x68,0x65,0x6e])](_0xbab79b=>{if(!_0xbab79b||_0xbab79b[_0x5596d1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5596d1([0x6f,0x6b]))return _0x5596d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2505e5(_0x10564b(_0x56ecf0+_0x3febca))!=_0xbab79b[_0x5596d1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5596d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5596d1([0x56,0x61,0x6c,0x69,0x64]);})[_0x5596d1([0x74,0x68,0x65,0x6e])](_0x4873ad=>(_0x2c58c3(),_0x4873ad),()=>{const _0x112c0c=_0x137a52();return null==_0x112c0c?(_0x2c58c3(),_0x5596d1([0x56,0x61,0x6c,0x69,0x64])):_0x5596d1(_0x20b216-_0x112c0c>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5596d1([0x74,0x68,0x65,0x6e])](_0x4911ab)[_0x5596d1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4911ab(_0x5596d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3656eb=0x36ee80;function _0x2c58c3(){const _0x1fefef=_0x5596d1([0x6c,0x6c,0x63,0x74,0x2d])+_0x2505e5(_0x10564b(_0x41b22a)),_0x5adc0e=_0x404048(_0x2505e5(window[_0x5596d1([0x4d,0x61,0x74,0x68])][_0x5596d1([0x63,0x65,0x69,0x6c])](_0x20b216/_0x3656eb)));window[_0x5596d1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5596d1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1fefef,_0x5adc0e);}function _0x137a52(){const _0x54b499=_0x5596d1([0x6c,0x6c,0x63,0x74,0x2d])+_0x2505e5(_0x10564b(_0x41b22a)),_0x664ece=window[_0x5596d1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5596d1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54b499);return _0x664ece?window[_0x5596d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x404048(_0x664ece),0x10)*_0x3656eb:null;}function _0x34023b(_0x1bf07d){return new window[(_0x5596d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ab85d,_0x14fbb3)=>{_0x1bf07d[_0x5596d1([0x74,0x68,0x65,0x6e])](_0x5ab85d,_0x14fbb3),window[_0x5596d1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x14fbb3,0x1d4c0);});}}_0x1f7bd2[_0x5596d1([0x6f,0x6e])](_0x5596d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22aff0,_0xeadbc3)=>{if(_0xeadbc3[0x0]!=_0x41b22a)return _0x4911ab(_0x5596d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xeadbc3[0x1]={..._0xeadbc3[0x1],[_0x5596d1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x56ecf0};},{[_0x5596d1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5596d1([0x68,0x69,0x67,0x68])}),_0x1f7bd2[_0x5596d1([0x6f,0x6e])](_0x5596d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ec001=>{_0x3ddcc2(_0x2ec001[_0x5596d1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc2612a=!0x0,_0x33838e(_0x2ec001[_0x5596d1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5596d1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5596d1([0x6c,0x6f,0x77])}),_0x21ff8b[_0x5596d1([0x74,0x68,0x65,0x6e])](()=>{_0xc2612a||_0x4911ab(_0x5596d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xd9ded5(){return _0x1f7bd2[_0x5596d1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5596d1([0x76,0x69,0x65,0x77])][_0x5596d1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5596d1([0x61,0x75,0x74,0x6f]);}function _0x45f518(){_0x1f7bd2[_0x5596d1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5596d1([0x76,0x69,0x65,0x77])][_0x5596d1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5596d1([0x61,0x75,0x74,0x6f]);}}(_0x513136[_0x5596d1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x513136[_0x5596d1([0x6a,0x74,0x69])]));const _0x13d8e9=await(async function(){let _0x599f6f=!0x0;try{const _0x358232=_0x21f18a[_0x5596d1([0x73,0x70,0x6c,0x69,0x74])](_0x5596d1([0x2e])),[_0x346d38,_0x18f352,_0xeb331]=_0x358232;return _0x42a9b5(_0x346d38),await _0x51c9b6(_0x346d38,_0x18f352,_0xeb331),_0x599f6f;}catch{return!0x1;}function _0x42a9b5(_0x1b7c05){const _0x4911b9=_0x54d113(_0x1b7c05);_0x4911b9&&_0x4911b9[_0x5596d1([0x61,0x6c,0x67])]==_0x5596d1([0x45,0x53,0x32,0x35,0x36])||(_0x599f6f=!0x1);}async function _0x51c9b6(_0x50242b,_0x28a775,_0x6e6cb6){const _0x229b82=window[_0x5596d1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5596d1([0x66,0x72,0x6f,0x6d])](_0x3fff51(_0x6e6cb6),_0x5d5d67=>_0x5d5d67[_0x5596d1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x205f8a=new window[(_0x5596d1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5596d1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x50242b+_0x5596d1([0x2e])+_0x28a775),_0x31f202=window[_0x5596d1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5596d1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x31f202)return;const _0x1da985=await _0x31f202[_0x5596d1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5596d1([0x6a,0x77,0x6b]),_0x14639b,{[_0x5596d1([0x6e,0x61,0x6d,0x65])]:_0x5596d1([0x45,0x43,0x44,0x53,0x41]),[_0x5596d1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5596d1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5596d1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x31f202[_0x5596d1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5596d1([0x6e,0x61,0x6d,0x65])]:_0x5596d1([0x45,0x43,0x44,0x53,0x41]),[_0x5596d1([0x68,0x61,0x73,0x68])]:{[_0x5596d1([0x6e,0x61,0x6d,0x65])]:_0x5596d1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1da985,_0x229b82,_0x205f8a)||(_0x599f6f=!0x1);}}());return _0x13d8e9?(function(){const _0x48c0c0=_0x513136[_0x5596d1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x48c0c0)return!0x1;if(_0x48c0c0[_0x5596d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5596d1([0x2a])))return!0x0;if(_0x48c0c0[_0x5596d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5596d1([0x45,0x49,0x53])))return!0x0;return!0x1;}())?(function(){const _0x148755=[_0x5596d1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5596d1([0x74,0x72,0x69,0x61,0x6c])][_0x5596d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x513136[_0x5596d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x20b216/0x3e8:0x69e02680;return _0x513136[_0x5596d1([0x65,0x78,0x70])]<_0x148755;}())?_0x5596d1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x31d8db=_0x513136[_0x5596d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31d8db||0x0==_0x31d8db[_0x5596d1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb9a82b}=new URL(window[_0x5596d1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x31d8db[_0x5596d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb9a82b))return!0x0;const _0x314545=_0xb9a82b[_0x5596d1([0x73,0x70,0x6c,0x69,0x74])](_0x5596d1([0x2e]));return _0x31d8db[_0x5596d1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e34e8=>_0x1e34e8[_0x5596d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5596d1([0x2a])))[_0x5596d1([0x6d,0x61,0x70])](_0x799fab=>_0x799fab[_0x5596d1([0x73,0x70,0x6c,0x69,0x74])](_0x5596d1([0x2e])))[_0x5596d1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44727a=>_0x44727a[_0x5596d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x314545[_0x5596d1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5596d1([0x6d,0x61,0x70])](_0x5d7d3e=>Array(_0x314545[_0x5596d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d7d3e[_0x5596d1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5596d1([0x66,0x69,0x6c,0x6c])](_0x5d7d3e[0x0]===_0x5596d1([0x2a])?_0x5596d1([0x2a]):'')[_0x5596d1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d7d3e))[_0x5596d1([0x73,0x6f,0x6d,0x65])](_0x519db5=>_0x314545[_0x5596d1([0x65,0x76,0x65,0x72,0x79])]((_0x5f3565,_0x2aea8f)=>_0x519db5[_0x2aea8f]===_0x5f3565||_0x519db5[_0x2aea8f]===_0x5596d1([0x2a])));}())?(_0x513136[_0x5596d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5596d1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5d4245=function(_0x2f48a1){const _0x218d3d=new window[(_0x5596d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1296f5=>setTimeout(_0x1296f5,0x93ecc)),_0x813e19=_0x21ff8b[_0x5596d1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5596d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bac7a=>{let _0x4802c7=0x0;_0x1f7bd2[_0x5596d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x5596d1([0x6f,0x6e])](_0x5596d1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x383df3,_0xc01b6)=>{_0xc01b6[0x0][_0x5596d1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4802c7++,0x5e8==_0x4802c7&&(_0x1bac7a(),_0x383df3[_0x5596d1([0x6f,0x66,0x66])]());});})),_0x307e06=[_0x218d3d,_0x813e19];return window[_0x5596d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5596d1([0x72,0x61,0x63,0x65])](_0x307e06)[_0x5596d1([0x74,0x68,0x65,0x6e])](()=>_0x2f48a1);}(_0x5596d1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x5d4245&&_0xcdefdb)return new window[(_0x5596d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c2ddd,_0x3db1de)=>{_0x5d4245[_0x5596d1([0x74,0x68,0x65,0x6e])](_0x2c2ddd,_0x3db1de),_0xcdefdb[_0x5596d1([0x74,0x68,0x65,0x6e])](_0x2a2e21=>{_0x2a2e21!=_0x5596d1([0x56,0x61,0x6c,0x69,0x64])&&_0x2c2ddd(_0x2a2e21);},_0x3db1de);});return _0x5d4245||_0xcdefdb||_0x5596d1([0x56,0x61,0x6c,0x69,0x64]);}())):_0x5596d1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5596d1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5596d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5596d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x54d113(_0x8c65f1){return _0x8c65f1[_0x5596d1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5596d1([0x65,0x79]))?JSON[_0x5596d1([0x70,0x61,0x72,0x73,0x65])](_0x3fff51(_0x8c65f1)):null;}function _0x3fff51(_0x582d5d){return window[_0x5596d1([0x61,0x74,0x6f,0x62])](_0x582d5d[_0x5596d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5596d1([0x2b]))[_0x5596d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5596d1([0x2f])));}function _0x10564b(_0x332907){let _0x21db55=0x1505;function _0x9a9b8(_0x4c5f6b){for(let _0xae128c=0x0;_0xae128c<_0x4c5f6b[_0x5596d1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xae128c++){const _0x3db4dc=_0x4c5f6b[_0x5596d1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xae128c);_0x21db55=(_0x21db55<<0x5)+_0x21db55+_0x3db4dc,_0x21db55&=_0x21db55;}}return function _0x1e065a(_0x152c4f){Array[_0x5596d1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x152c4f)?_0x152c4f[_0x5596d1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e065a):_0x152c4f&&typeof _0x152c4f==_0x5596d1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5596d1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x152c4f)[_0x5596d1([0x73,0x6f,0x72,0x74])]()[_0x5596d1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x166650,_0x3add7f])=>{_0x9a9b8(_0x166650),_0x1e065a(_0x3add7f);}):_0x9a9b8(window[_0x5596d1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x152c4f));}(_0x332907),_0x21db55>>>0x0;}function _0x2505e5(_0x4a6b33){return _0x4a6b33[_0x5596d1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5596d1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5596d1([0x30]));}function _0x404048(_0x349d07){return _0x349d07[_0x5596d1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5596d1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5596d1([0x6a,0x6f,0x69,0x6e])]('');}function _0x413087(){}function _0x5596d1(_0x31dacb){return _0x31dacb['map'](_0x26f47e=>String['fromCharCode'](_0x26f47e))['join']('');}!function(_0x194089){const _0x48c304=(function(){const _0x11ac0f=window[_0x5596d1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5596d1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5596d1([0x6e,0x6f,0x77])]())[_0x5596d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5596d1([0x2e]),'');let _0xd9588a=_0x5596d1([0x44]);for(let _0xf7535=0x0;_0xf7535<_0x11ac0f[_0x5596d1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf7535+=0x2){let _0x485b0d=window[_0x5596d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11ac0f[_0x5596d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf7535,_0xf7535+0x2));_0x485b0d>=_0x198db5[_0x5596d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x485b0d-=_0x198db5[_0x5596d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd9588a+=_0x198db5[_0x485b0d];}return _0xd9588a;}());_0x1f7bd2[_0x48c304]=_0x5596d1([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])+_0x194089,_0x194089!=_0x5596d1([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x21ff8b;const _0x3ee591=_0x1f7bd2['commands'][_0x5596d1([0x67,0x65,0x74])](_0x5596d1([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x3ee591&&_0x3ee591[_0x5596d1([0x6f,0x6e])](_0x5596d1([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x517691=>{_0x517691['stop']();},{'priority':_0x5596d1([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),(_0x1f7bd2[_0x5596d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x5596d1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x413087,_0x1f7bd2[_0x5596d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x5596d1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x413087,_0x1f7bd2[_0x5596d1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5596d1([0x6d,0x6f,0x64,0x65,0x6c])));}());}(_0x197492);}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 _0x2ddc85=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xe9d111;for(const _0x471ed3 in _0x2ddc85){const _0x480cfa=_0x471ed3,_0x50979a=_0x2ddc85[_0x480cfa];if('exportInlineStylesLicenseKeyValid'==_0x50979a||'exportInlineStylesLicenseKeyInvalid'==_0x50979a||'exportInlineStylesLicenseKeyExpired'==_0x50979a||'exportInlineStylesLicenseKeyDomainLimit'==_0x50979a||'exportInlineStylesLicenseKeyNotAllowed'==_0x50979a||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x50979a||'exportInlineStylesLicenseKeyUsageLimit'==_0x50979a){delete _0x2ddc85[_0x480cfa],_0xe9d111=_0x50979a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0xe9d111&&_0x2ddc85['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0xe9d111&&_0x2ddc85['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0xe9d111&&_0x2ddc85['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0xe9d111&&_0x2ddc85['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0xe9d111&&_0x2ddc85['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0xe9d111&&_0x2ddc85['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getEmailInlineStylesTransformations(_0x2aa875={}){const _0x3cc57a=[transformEmailFloatToAlign,transformEmailMarginToAlign,transformEmailImageWidthAttributes];return _0x2aa875['useFigureToTableFallback']&&_0x3cc57a['push'](transformEmailFigureToTable,transformEmailFigcaptionToDiv),_0x3cc57a;}function transformEmailFloatToAlign(_0x5ab0ce,_0x1aeaa5){if(!['TABLE','IMG']['includes'](_0x5ab0ce['tagName']))return;const _0x54c172=_0x1aeaa5['getAsString']('float');if(_0x54c172){const _0x3b1c1c=dropImportantStyleSuffix(_0x54c172);'left'!==_0x3b1c1c&&'right'!==_0x3b1c1c||_0x5ab0ce['setAttribute']('align',_0x3b1c1c);}}function transformEmailMarginToAlign(_0x2dc1bf,_0xc7eeea){if('TABLE'!==_0x2dc1bf['tagName']||_0xc7eeea['has']('float'))return;const _0x320779=getAlignFromMargins(_0xc7eeea),_0x35c45e=_0xc7eeea['getAsString']('width');(_0x320779||_0x35c45e)&&(_0x476cf4(_0x2dc1bf,_0x2dc1bf,{'align':_0x320779,'width':_0x35c45e}),_0xc7eeea['remove']('width'),_0xc7eeea['remove']('margin-left'),_0xc7eeea['remove']('margin-right'),_0xc7eeea['remove']('min-width'),_0xc7eeea['remove']('max-width'));}function transformEmailImageWidthAttributes(_0x56e7ca,_0x57327e){if('IMG'!==_0x56e7ca['tagName'])return;const _0x509ddc=_0x57327e['getAsString']('width');_0x509ddc&&(_0x56e7ca['setAttribute']('width',_0x509ddc),_0x56e7ca['setAttribute']('height','auto'));}function transformEmailFigureToTable(_0x31f2b7,_0x10eb44){if('FIGURE'!==_0x31f2b7['tagName'])return;const _0x4919a8=getAlignFromMargins(_0x10eb44),_0xc6cfd3=_0x10eb44['getAsString']('width');if(!_0x4919a8&&!_0xc6cfd3)return;const _0x341881=createReplacementElement(_0x31f2b7,'div');return _0x476cf4(_0x31f2b7,_0x341881,{'align':_0x4919a8,'width':_0xc6cfd3}),_0x10eb44['set']('width','100%'),_0x10eb44['remove']('margin-left'),_0x10eb44['remove']('margin-right'),_0x10eb44['remove']('min-width'),_0x10eb44['remove']('max-width'),_0x341881;}function transformEmailFigcaptionToDiv(_0x43d61a){if('FIGCAPTION'!==_0x43d61a['tagName'])return;const _0x34138a=createReplacementElement(_0x43d61a,'div');return _0x43d61a['replaceWith'](_0x34138a),_0x34138a;}function _0x476cf4(_0x1d61c7,_0x4b8b68,_0xdbedae){const _0x111eb5=_0x1d61c7['ownerDocument'],{table:_0xc6fdd5,cell:_0xc052b0}=createWrapperTable(_0x111eb5,'100%');_0xdbedae['align']&&_0xc052b0['setAttribute']('align',dropImportantStyleSuffix(_0xdbedae['align']));let _0x2352de=_0xc052b0;if(_0xdbedae['width']){const {table:_0x2fa53a,cell:_0x214b9a}=createWrapperTable(_0x111eb5,dropImportantStyleSuffix(_0xdbedae['width']));_0xc052b0['appendChild'](_0x2fa53a),_0x2352de=_0x214b9a;}_0x1d61c7['replaceWith'](_0xc6fdd5),_0x1d61c7['removeAttribute']('align'),_0x1d61c7['removeAttribute']('width'),_0x2352de['appendChild'](_0x4b8b68);}function createWrapperTable(_0x15b3f9,_0x9be571){const _0x467ae3=_0x15b3f9['createElement']('table');_0x467ae3['setAttribute']('width',_0x9be571),_0x467ae3['setAttribute']('cellpadding','0'),_0x467ae3['setAttribute']('cellspacing','0'),_0x467ae3['setAttribute']('border','0'),_0x467ae3['setAttribute']('role','presentation');const _0x5ae044=_0x15b3f9['createElement']('tbody'),_0x20b938=_0x15b3f9['createElement']('tr'),_0x5a583b=_0x15b3f9['createElement']('td');return _0x467ae3['appendChild'](_0x5ae044),_0x5ae044['appendChild'](_0x20b938),_0x20b938['appendChild'](_0x5a583b),{'table':_0x467ae3,'cell':_0x5a583b};}function getAlignFromMargins(_0x10ce4c){const _0x2517c9=_0x10ce4c['getAsString']('margin-left'),_0x3a09ce=_0x10ce4c['getAsString']('margin-right'),_0x125da0=_0x2517c9&&dropImportantStyleSuffix(_0x2517c9),_0x780076=_0x3a09ce&&dropImportantStyleSuffix(_0x3a09ce);return'auto'===_0x125da0&&'auto'===_0x780076?'center':'auto'===_0x125da0?'right':'auto'===_0x780076?'left':void 0x0;}function createReplacementElement(_0x560261,_0x4577d4){const _0x421101=_0x560261['ownerDocument']['createElement'](_0x4577d4);for(const _0x111d78 of Array['from'](_0x560261['attributes']))_0x421101['setAttribute'](_0x111d78['name'],_0x111d78['value']);for(;_0x560261['firstChild'];)_0x421101['appendChild'](_0x560261['firstChild']);return _0x421101;}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:_0xacde98,plugins:_0x446c6c}=this['editor'],_0x5376af=_0xacde98['get']('exportInlineStyles');if(_0x5376af?.['transformations']?.['includes'](transformEmailFigureToTable))return;_0x446c6c['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 _0x46e2d=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('ExportInlineStyles')||_0x46e2d['_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 _0x322a9e=this['editor']['plugins']['get'](EmailConfigurationLogger),_0x172d6e=this['editor']['config']['get']('list');_0x172d6e&&_0x172d6e['properties']&&_0x172d6e['properties']['reversed']&&_0x322a9e['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x172d6e&&_0x172d6e['enableListItemMarkerFormatting']&&_0x322a9e['_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:_0x5d0cc7}=this['editor'],_0x518b13=_0x5d0cc7['get'](EmailConfigurationLogger);_0x5d0cc7['has']('Table')&&(_0x5d0cc7['has']('PlainTableOutput')||_0x518b13['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x5d0cc7['has']('TableLayout')||_0x518b13['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x23eaa1,plugins:_0x1de1b1}=this['editor'];_0x23eaa1['get']('table')&&_0x1de1b1['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x4961dd){const _0x247872=this['editor']['plugins']['get'](EmailConfigurationLogger);_0x247872['_validateConfigColorValue']('table.'+_0x4961dd+'.borderColors'),_0x247872['_validateConfigColorValue']('table.'+_0x4961dd+'.backgroundColors'),_0x247872['_validateConfigColorValue']('table.'+_0x4961dd+'.defaultProperties.borderColor'),_0x247872['_validateConfigColorValue']('table.'+_0x4961dd+'.defaultProperties'),_0x247872['_validateConfigColorFormat']('table.'+_0x4961dd+'.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 _0x18f376=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('EmptyBlock')||_0x18f376['_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:_0x2101f3}=this['editor'];_0x2101f3['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x2101f3['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x9b210a){const _0x24c044=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['config']['get'](_0x9b210a)&&(_0x24c044['_validateConfigColorValue'](_0x9b210a+'.colors'),_0x24c044['_validateConfigColorValue'](_0x9b210a+'.documentColors'),_0x24c044['_validateConfigColorFormat'](_0x9b210a+'.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:_0x2c178b}=this['editor'],_0x5558ee=_0x2c178b['get'](EmailConfigurationLogger);_0x2c178b['has']('SourceEditing')||_0x2c178b['has']('SourceEditingEnhanced')||_0x5558ee['_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:_0x5e364e}=this['editor'];if(!_0x5e364e['has']('DataFilter'))return;const _0x5e0836=_0x5e364e['get']('DataFilter'),_0x446f58=_0x5e364e['get'](EmailConfigurationLogger);for(const _0x3a02c7 of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x5e0836['once']('register:'+_0x3a02c7,(_0x4d1840,_0x49d73c)=>{_0x446f58['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x49d73c['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 _0x4b6b90=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('MergeFields')||_0x4b6b90['_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 _0x555961=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('Template')||_0x555961['_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:_0x7917c3,plugins:_0x314cb5}=this['editor'],_0x531823=_0x314cb5['get'](EmailConfigurationLogger),_0x12b62a=_0x7917c3['get']('exportInlineStyles');_0x12b62a?.['transformations']?.['includes'](transformEmailFigureToTable)||_0x531823['_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 _0x1e465b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1706fd;for(const _0x3cc7b9 in _0x1e465b){const _0x1d5fb1=_0x3cc7b9,_0x2e09a0=_0x1e465b[_0x1d5fb1];if('emailConfigurationHelperLicenseKeyValid'==_0x2e09a0||'emailConfigurationHelperLicenseKeyInvalid'==_0x2e09a0||'emailConfigurationHelperLicenseKeyExpired'==_0x2e09a0||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x2e09a0||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x2e09a0||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x2e09a0||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x2e09a0){delete _0x1e465b[_0x1d5fb1],_0x1706fd=_0x2e09a0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x1706fd&&_0x1e465b['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x1706fd&&_0x1e465b['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x1706fd&&_0x1e465b['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x1706fd&&_0x1e465b['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x1706fd&&_0x1e465b['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x1706fd&&_0x1e465b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getTranslation$d(_0x2fc016,_0x1d3604){const t=_0x2fc016['t'];switch(_0x1d3604){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 _0x1d3604;}}const _0x4ef3a2='https://pdf-converter.cke-cs.com/v1/convert/';class ExportPdfCommand extends ckeditor5['Command']{constructor(_0x2ac3c3){super(_0x2ac3c3),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x3b0f5d={}){const _0x5c52c4=this['editor'],_0x4072a6=_0x3b0f5d['converterUrl']||_0x4ef3a2,_0x1e386d=_0x3b0f5d['dataCallback']||(_0x484e9d=>_0x484e9d['data']['get']()),_0x15ac01=_0x5c52c4['plugins']['get']('ExportPdf'),_0x67d00=_0x3b0f5d['token']||_0x15ac01['_token'];return this['isBusy']=!0x0,this['refresh'](),ckeditor5['collectStylesheets'](_0x3b0f5d['stylesheets']||['EDITOR_STYLES'])['then'](async _0x3e2f9f=>{if(_0x5c52c4['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x5c52c4['locale'],'PDF\x20export\x20started')),_0x5c52c4['plugins']['has']('MergeFields')){_0x3b0f5d['converterOptions']||(_0x3b0f5d['converterOptions']={});const _0x5ce9c0=_0x5c52c4['plugins']['get']('MergeFieldsEditing'),_0x3028fd=_0x5ce9c0['previewMode'],{prefix:_0x3c0930,suffix:_0x2d7615}=_0x5c52c4['config']['get']('mergeFields'),_0x56b0e7='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x1d92f5={'prefix':_0x3c0930,'suffix':_0x2d7615,'data':{}};if('$labels'===_0x3028fd){for(const _0x587f2b of _0x5ce9c0['getMergeFieldsIds']())'image'===_0x5ce9c0['getMergeFieldType'](_0x587f2b)?_0x1d92f5['data'][_0x587f2b]=_0x56b0e7:_0x1d92f5['data'][_0x587f2b]=_0x5ce9c0['wrapInAffixes'](_0x5ce9c0['getLabel'](_0x587f2b)||_0x587f2b);}else{const _0x54f129='$defaultValues'===_0x3028fd?_0x5ce9c0['getDefaultValues']():_0x5ce9c0['getDataSetValues'](_0x3028fd,!0x0);for(const _0x592ea7 of Object['entries'](_0x54f129)){const [_0x8bdab8,_0x1c8134]=_0x592ea7;'image'===_0x5ce9c0['getMergeFieldType'](_0x8bdab8)?_0x1d92f5['data'][_0x8bdab8]=null!==_0x1c8134?_0x1c8134:_0x56b0e7:_0x1d92f5['data'][_0x8bdab8]=null!==_0x1c8134?_0x1c8134:_0x5ce9c0['getLabel'](_0x8bdab8)||_0x8bdab8;}}_0x3b0f5d['converterOptions']['merge_fields']=_0x1d92f5;}const _0x277d5e=0x2===_0x3b0f5d['version']?prepareContentInlineStyleV2(_0x3b0f5d['converterOptions']):prepareContentInlineStyle(_0x3b0f5d['converterOptions']),_0x379448={'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'+_0x5c52c4['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x277d5e+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x1e386d(_0x5c52c4)+'\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':_0x3e2f9f,[0x2===_0x3b0f5d['version']?'config':'options']:_0x3b0f5d['converterOptions']},_0x4707f8={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x67d00?{'Authorization':_0x67d00['value']}:null,'x-cs-app-id':_0x3b0f5d['appID']||'cke5'},'body':JSON['stringify'](_0x379448)};return window['fetch'](_0x4072a6,_0x4707f8)['then'](_0x15b274=>{if(0xc8!==_0x15b274['status'])throw _0x15b274;return _0x15b274['blob']();})['then'](_0x21e491=>{_0x5c52c4['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x5c52c4['locale'],'PDF\x20export\x20successful'));const _0x3ad28b='function'==typeof _0x3b0f5d['fileName']?_0x3b0f5d['fileName']():_0x3b0f5d['fileName'];this['_downloadFile'](_0x21e491,_0x3ad28b||'document.pdf');});})['catch'](_0x15aded=>{const _0x26e359=_0x5c52c4['plugins']['get']('Notification');throw _0x5c52c4['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x5c52c4['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x26e359['showWarning'](getTranslation$d(_0x5c52c4['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x15aded;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x46bd72,_0x1614fa){const _0x394f22=document['createElement']('a');_0x394f22['href']=window['URL']['createObjectURL'](_0x46bd72),_0x394f22['download']=_0x1614fa,_0x394f22['click'](),_0x394f22['remove']();}}function prepareContentInlineStyle(_0x2a35ff){return generatePageWidthStyle({'pageWidth':pageFormatToWidth(_0x2a35ff?.['format']||'A4'),'marginLeft':_0x2a35ff?.['margin_left'],'marginRight':_0x2a35ff?.['margin_right']});}function prepareContentInlineStyleV2(_0x214372){const _0x538ba9=_0x214372?.['document']?.['margins'];return generatePageWidthStyle({'pageWidth':pageFormatToWidth(_0x214372?.['document']?.['size']||'A4'),'marginLeft':_0x538ba9?.['left'],'marginRight':_0x538ba9?.['right']});}function generatePageWidthStyle({pageWidth:_0x131e3c,marginLeft:_0x554e90,marginRight:_0xaa3cf7}){return'width:calc('+[_0x131e3c,_0x554e90,_0xaa3cf7]['filter'](Boolean)['join']('\x20-\x20')+');';}function pageFormatToWidth(_0x194625){if('object'==typeof _0x194625&&'width'in _0x194625)return _0x194625['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']}[_0x194625['toLowerCase']()][0x0];}class ExportPdfUI extends ckeditor5['Plugin']{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x85fef4=this['editor'];_0x85fef4['ui']['componentFactory']['add']('exportPdf',()=>{const _0x29050a=this['_createButton'](ckeditor5['ButtonView']),_0x2c8017=_0x85fef4['commands']['get']('exportPdf');return _0x29050a['set']({'tooltip':!0x0}),_0x29050a['bind']('isOn')['to'](_0x2c8017,'isBusy'),_0x29050a;}),_0x85fef4['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView']));}['_createButton'](_0x37b4a2){const _0x355a2f=this['editor'],_0x59e2fb=_0x355a2f['config']['get']('exportPdf')||{},_0x26ef4d=_0x355a2f['commands']['get']('exportPdf'),_0x4cfa31=new _0x37b4a2(_0x355a2f['locale']),_0x253a3c=new ckeditor5['SpinnerView']();return _0x4cfa31['children']['add'](_0x253a3c),_0x253a3c['bind']('isVisible')['to'](_0x26ef4d,'isBusy'),_0x4cfa31['iconView']['bind']('isVisible')['to'](_0x26ef4d,'isBusy',_0x55944e=>!_0x55944e),_0x4cfa31['set']({'icon':ckeditor5['IconExportPdf']}),_0x4cfa31['bind']('isEnabled')['to'](_0x26ef4d,'isEnabled'),_0x4cfa31['bind']('label')['to'](_0x26ef4d,'isBusy',_0x3aef48=>getTranslation$d(_0x355a2f['locale'],_0x3aef48?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0x4cfa31,'execute',()=>{_0x355a2f['execute']('exportPdf',_0x59e2fb),_0x355a2f['editing']['view']['focus']();}),_0x4cfa31;}}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['CloudServices',ckeditor5['Notification'],ExportPdfUI];}['init'](){const _0x4b76de=this['editor'],_0xecf627=_0x4b76de['config']['get']('exportPdf')||{};_0x4b76de['commands']['add']('exportPdf',new ExportPdfCommand(_0x4b76de));const _0x3e1ffd=_0x4b76de['plugins']['get']('CloudServices');!0x1===_0xecf627['tokenUrl']?this['_token']=null:_0xecf627['tokenUrl']?_0x3e1ffd['registerTokenUrl'](_0xecf627['tokenUrl'])['then'](_0x3b6b9d=>{this['_token']=_0x3b6b9d;}):this['_token']=_0x3e1ffd['token'];}}function getConverterOptions(_0x4d01ab,_0x2bc387={}){const _0x6f0b1d=_0x4d01ab['plugins']['has']('Users'),_0x4f7655=_0x4d01ab['plugins']['has']('CommentsRepository'),_0x50b8d3=_0x4d01ab['plugins']['has']('TrackChanges'),_0x447797=_0x2bc387;if(_0x6f0b1d&&_0x4f7655){const _0x543fc6=getComments(_0x4d01ab['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x543fc6)['length']&&(_0x447797['comments']=_0x543fc6);}if(_0x6f0b1d&&_0x50b8d3){const _0x8e4288=_0x4d01ab['plugins']['get']('TrackChanges'),_0x3b9e64=_0x4d01ab['plugins']['get']('Users'),_0x643e75=getSuggestions(_0x8e4288['getSuggestions']({'toJSON':!0x0}),_0x3b9e64['users']);Object['keys'](_0x643e75)['length']&&(_0x447797['suggestions']=_0x643e75);}return(_0x447797['suggestions']||_0x447797['comments'])&&(_0x447797['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x447797;}function getComments(_0x41fff4){const _0x5e7f4c={};if(!_0x41fff4['length'])return _0x5e7f4c;for(const _0x367938 of _0x41fff4)_0x367938['comments']['map'](_0xbffe0f=>{void 0x0===_0x5e7f4c[_0x367938['id']]&&(_0x5e7f4c[_0x367938['id']]=[]),_0x5e7f4c[_0x367938['id']]['push']({'author':_0xbffe0f['author']['name'],'content':_0xbffe0f['content'],'created':_0xbffe0f['createdAt'],'is_resolved':_0x367938['isResolved']});});return _0x5e7f4c;}function getSuggestions(_0x51f1ef,_0xfebc25){const _0x34550e={};if(!_0x51f1ef['length']||!_0xfebc25['length'])return _0x34550e;for(const {id:_0x4f3344,createdAt:_0x26b78b,authorId:_0xeaacac,attributes:_0x307acb}of _0x51f1ef){const _0x316c00=_0x307acb&&_0x307acb['@external'],_0xeedcab=_0x316c00?_0x316c00['authorName']:_0xfebc25['get'](_0xeaacac)['name'];_0x34550e[_0x4f3344]={'author':_0xeedcab,'created':_0x26b78b};}return _0x34550e;}function getConverterOptionsV2(_0x528b46,_0xd71c23={}){const _0x3259d0=_0x528b46['plugins']['has']('Users'),_0x28ab73=_0x528b46['plugins']['has']('CommentsRepository'),_0xb41de7=_0x528b46['plugins']['has']('TrackChanges'),_0x34a534=_0x528b46['plugins']['has']('MergeFields'),_0x2c91fa=_0x528b46['locale']['contentLanguage'],_0x54181f=_0xd71c23,_0x173edc={};if(_0x54181f['document']=_0x54181f['document']||{},_0x54181f['document']['language']=_0x54181f['document']['language']||_0x2c91fa,_0x3259d0&&_0x28ab73){const _0x4434ff=getCommentsV2(_0x528b46['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x4434ff['length']&&(_0x173edc['comment_threads']=_0x4434ff);}if(_0x3259d0&&_0xb41de7){const _0x2fc23e=_0x528b46['plugins']['get']('TrackChanges'),_0x5c9fa8=_0x528b46['plugins']['get']('Users'),_0xa0d5b8=getSuggestionsV2(_0x2fc23e['getSuggestions']({'toJSON':!0x0}),_0x5c9fa8['users']);_0xa0d5b8['length']&&(_0x173edc['suggestions']=_0xa0d5b8);}if(_0x34a534){const _0x2b25a3=_0x528b46['plugins']['get']('MergeFieldsEditing'),_0x49d998=_0x2b25a3['previewMode'],{prefix:_0x372aa3,suffix:_0x203a58}=_0x528b46['config']['get']('mergeFields');if(_0x54181f['merge_fields']={'prefix':_0x372aa3,'suffix':_0x203a58},'$labels'!==_0x49d998){_0x54181f['merge_fields']['data']={};const _0x4a0ed8='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x490af5='$defaultValues'===_0x49d998?_0x2b25a3['getDefaultValues']():_0x2b25a3['getDataSetValues'](_0x49d998,!0x0);for(const _0x5bdf4b of Object['entries'](_0x490af5)){const [_0x520b49,_0x5a3384]=_0x5bdf4b;'image'===_0x2b25a3['getMergeFieldType'](_0x520b49)?_0x54181f['merge_fields']['data'][_0x520b49]=null!==_0x5a3384?_0x5a3384:_0x4a0ed8:_0x54181f['merge_fields']['data'][_0x520b49]=null!==_0x5a3384?_0x5a3384:_0x2b25a3['getLabel'](_0x520b49)||_0x520b49;}}}return(_0x173edc['comment_threads']||_0x173edc['suggestions'])&&(_0x54181f['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x54181f['collaboration_features']=_0x173edc),_0x54181f;}function getCommentsV2(_0x1e3cd3){const _0x38e447=[];if(!_0x1e3cd3['length'])return _0x38e447;for(const _0x5b3a15 of _0x1e3cd3){const _0x3d4a31=_0x5b3a15['comments']['map'](_0x61caa3=>({'author':_0x61caa3['author']['name'],'content':_0x61caa3['content'],'created_at':_0x61caa3['createdAt']}));_0x38e447['push']({'thread_id':_0x5b3a15['id'],'is_resolved':_0x5b3a15['isResolved'],'comments':_0x3d4a31});}return _0x38e447;}function getSuggestionsV2(_0x33afe4,_0x2212a6){return _0x33afe4['length']&&_0x2212a6['length']?_0x33afe4['map'](({id:_0x126c61,createdAt:_0x4ba879,authorId:_0x2f9162,attributes:_0x425a92})=>{const _0x13a32e=_0x425a92&&_0x425a92['@external'];return{'id':_0x126c61,'author':_0x13a32e?_0x13a32e['authorName']:_0x2212a6['get'](_0x2f9162)['name'],'created_at':_0x4ba879};}):[];}function getTranslation$c(_0x27c483,_0xf80e1){const t=_0x27c483['t'];switch(_0xf80e1){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 _0xf80e1;}}const _0x383b4c='https://docx-converter.cke-cs.com/v1/convert',_0x16080a='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(_0x6d8e3c){super(_0x6d8e3c),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x2aed6b={}){const _0x129f26=this['editor'],_0x4bfeae=_0x2aed6b['version']||0x2,_0x504c2c=0x1===_0x4bfeae,_0x14ceaf=_0x2aed6b['converterUrl']||(_0x504c2c?_0x383b4c:_0x16080a),_0x480460=_0x2aed6b['converterOptions']||{},_0x76f8b4=_0x129f26['plugins']['get']('ExportWord'),_0x33d976=_0x2aed6b['token']||_0x76f8b4['_token'],_0x35a33c=!0x0===_0x480460['auto_pagination'],_0x377a50=_0x2aed6b['dataCallback']||(_0xdfe1c1=>_0xdfe1c1['data']['get']({'pagination':_0x35a33c}));return 0x2===_0x4bfeae&&_0x2b63a8(_0x480460)&&ckeditor5['logWarning']('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),ckeditor5['collectStylesheets'](_0x2aed6b['stylesheets']||['EDITOR_STYLES'])['then'](async _0x5a0381=>{_0x129f26['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x129f26['locale'],'Word\x20document\x20export\x20started'));const _0x3a3ee5=await _0x377a50(_0x129f26),_0x8116ca={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x129f26['locale']['contentLanguageDirection']+'\x22>'+_0x3a3ee5+'</div>','css':_0x5a0381,[_0x504c2c?'options':'config']:{..._0x480460,..._0x504c2c?getConverterOptions(_0x129f26,_0x480460):getConverterOptionsV2(_0x129f26,_0x480460)}},_0x470f5e={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x33d976?{'Authorization':_0x33d976['value']}:null},'body':JSON['stringify'](_0x8116ca)};return window['fetch'](_0x14ceaf,_0x470f5e)['then'](_0x268ff6=>{if(0xc8!==_0x268ff6['status'])throw _0x268ff6;return _0x268ff6['blob']();})['then'](_0x522d32=>{_0x129f26['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x129f26['locale'],'Word\x20document\x20export\x20successful'));const _0x5d9ed0='function'==typeof _0x2aed6b['fileName']?_0x2aed6b['fileName']():_0x2aed6b['fileName'];this['_downloadFile'](_0x522d32,_0x5d9ed0||'document.docx');});})['catch'](_0x7a56ee=>{const _0x36cd8=_0x129f26['plugins']['get']('Notification');throw _0x129f26['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x129f26['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x36cd8['showWarning'](getTranslation$c(_0x129f26['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x7a56ee;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x3b6e02,_0x17546e){const _0x367449=document['createElement']('a');_0x367449['href']=window['URL']['createObjectURL'](_0x3b6e02),_0x367449['download']=_0x17546e,_0x367449['click'](),_0x367449['remove']();}}function _0x2b63a8(_0x12a45b){for(const _0x23adf8 of firstVersionApiKeys)if(void 0x0!==_0x12a45b[_0x23adf8])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 _0x2c6d81=this['editor'];_0x2c6d81['ui']['componentFactory']['add']('exportWord',()=>{const _0xa71067=_0x2c6d81['commands']['get']('exportWord'),_0x2b9adc=this['_createButton'](ckeditor5['ButtonView']);return _0x2b9adc['set']({'tooltip':!0x0}),_0x2b9adc['bind']('isOn')['to'](_0xa71067,'isBusy'),_0x2b9adc;}),_0x2c6d81['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView']));}['_createButton'](_0x33ce2f){const _0x3f7aec=this['editor'],_0x81820b=_0x3f7aec['config']['get']('exportWord')||{},_0x19f050=_0x3f7aec['commands']['get']('exportWord'),_0x565497=new _0x33ce2f(_0x3f7aec['locale']),_0x79726e=new ckeditor5['SpinnerView']();return _0x565497['children']['add'](_0x79726e),_0x79726e['bind']('isVisible')['to'](_0x19f050,'isBusy'),_0x565497['iconView']['bind']('isVisible')['to'](_0x19f050,'isBusy',_0xb58bbf=>!_0xb58bbf),_0x565497['set']({'icon':ckeditor5['IconExportWord']}),_0x565497['bind']('isEnabled')['to'](_0x19f050,'isEnabled'),_0x565497['bind']('label')['to'](_0x19f050,'isBusy',_0x33aab6=>getTranslation$c(_0x3f7aec['locale'],_0x33aab6?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x565497,'execute',()=>{_0x3f7aec['execute']('exportWord',_0x81820b),_0x3f7aec['editing']['view']['focus']();}),_0x565497;}}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['CloudServices',ckeditor5['Notification'],ExportWordUI];}['init'](){const _0x5eb043=this['editor'],_0x26f6db=_0x5eb043['config']['get']('exportWord')||{};_0x5eb043['commands']['add']('exportWord',new ExportWordCommand(_0x5eb043));const _0x5351f9=_0x5eb043['plugins']['get']('CloudServices');!0x1===_0x26f6db['tokenUrl']?this['_token']=null:_0x26f6db['tokenUrl']?_0x5351f9['registerTokenUrl'](_0x26f6db['tokenUrl'])['then'](_0x683bb7=>{this['_token']=_0x683bb7;}):this['_token']=_0x5351f9['token'];}}class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x8c672a,_0x46c3e6){this['_model']=_0x8c672a,this['_elementName']=_0x46c3e6['elementName'],this['_getElementKey']=_0x46c3e6['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x111d65){const _0x4abc31=new Set(),_0x4b3517=new Map();for(const _0x5cb88c of _0x111d65){if('insert'===_0x5cb88c['type']&&'$text'!==_0x5cb88c['name']&&_0x5cb88c['position']['nodeAfter']){const _0x1f9b18=this['_model']['createRangeOn'](_0x5cb88c['position']['nodeAfter']);for(const _0x23f929 of _0x1f9b18['getItems']()){if(!_0x23f929['is']('element',this['_elementName']))continue;const _0x5e71be=this['_getElementKey'](_0x23f929);_0x4b3517['has'](_0x5e71be)||_0x4b3517['set'](_0x5e71be,[]),_0x4b3517['get'](_0x5e71be)['push'](_0x23f929);}}if('remove'===_0x5cb88c['type']&&_0x5cb88c['name']===this['_elementName']){const _0x3ea70b=this['_getElementKey']({'getAttribute':_0x21696c=>_0x5cb88c['attributes']['get'](_0x21696c)});_0x4abc31['add'](_0x3ea70b);}}for(const [_0x30147b,_0x63dcbc]of this['_trackedElements'])'$graveyard'===_0x63dcbc['root']['rootName']&&_0x4abc31['add'](_0x30147b);for(const _0x1706fb of _0x4abc31)this['_trackedElements']['delete'](_0x1706fb);for(const [_0x1da586,_0xc5f1cf]of _0x4b3517)this['_trackedElements']['set'](_0x1da586,_0xc5f1cf[_0xc5f1cf['length']-0x1]);const _0x378dfb=new Set();for(const [_0x55cc7e,_0x3b314f]of _0x4b3517)_0x4abc31['has'](_0x55cc7e)&&(_0x378dfb['add'](_0x3b314f[0x0]),_0x3b314f['length']>0x1?_0x4b3517['set'](_0x55cc7e,_0x3b314f['slice'](0x1)):_0x4b3517['delete'](_0x55cc7e),_0x4abc31['delete'](_0x55cc7e));return{'removed':Array['from'](_0x4abc31),'inserted':Array['from'](_0x4b3517['values']())['flat'](),'moved':Array['from'](_0x378dfb)};}}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(_0x4cafee){super(_0x4cafee),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x50abf7=>_0x50abf7['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x18aca5=>_0x18aca5['getAttribute']('footnoteId')});}['init'](){const {editor:_0x465a1d}=this,{model:_0x534850,data:_0x4adc0c}=_0x465a1d;_0x534850['document']['registerPostFixer'](_0x4d9f80=>{const _0xadb8e5=_0x534850['document']['differ']['getChanges']();let _0x4cdafc=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4d9f80,_0xadb8e5)&&(_0x4cdafc=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4d9f80,_0xadb8e5)&&(_0x4cdafc=!0x0),this['_handleFootnoteReferencesChanges'](_0x4d9f80,_0xadb8e5)&&(_0x4cdafc=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4d9f80)&&(_0x4cdafc=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4d9f80)&&(_0x4cdafc=!0x0),this['_sortFootnoteDefinitions'](_0x4d9f80)&&(_0x4cdafc=!0x0),_0x4cdafc;}),this['listenTo'](_0x534850['document'],'change:data',()=>{_0x534850['enqueueChange']({'isUndoable':!0x1},_0x41b97e=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x41b97e);});},{'priority':'low'}),this['listenTo'](_0x4adc0c,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x383a74){return this['_footnotes']['find'](_0x55c4e2=>_0x55c4e2['id']===_0x383a74)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x1ea277){this['_footnoteFormatter']=_0x1ea277;}['_updateFootnotesCounters'](_0x4d1860,_0x26ff0b=0x0){let _0x10e4fe=!0x1;for(let _0x386ec9=_0x26ff0b;_0x386ec9<this['_footnotes']['length'];_0x386ec9++)this['_updateFootnoteRefCounter'](_0x4d1860,_0x386ec9)&&(_0x10e4fe=!0x0);return _0x10e4fe;}['_insertEmptyFootnotesDefinitionsContainer'](_0x520250,_0x25f886){const _0x154cf3=_0x520250['createElement']('footnotesDefinitions',{});return _0x520250['append'](_0x154cf3,_0x25f886),this['_footnotesDefinitions']=_0x154cf3,_0x154cf3;}['_ensureFootnotesDefinitionsContainerExists'](_0x3289a6){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x3e23ba=this['_footnotes'][0x0]['reference']['root'],_0x3921b3=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3289a6,_0x3e23ba);for(const _0x943113 of this['_footnotes'])_0x943113['definition']['parent']||_0x3289a6['insert'](_0x943113['definition'],_0x3921b3,'end');this['_updateFootnotesCounters'](_0x3289a6);}['_handleFootnotesDefinitionsObjectChanges'](_0x5b32f1,_0x16d09b){let _0x111e5a=!0x1;const {inserted:_0xa8deed,removed:_0x35a2e3,moved:_0x279315}=this['_footnoteDefsContainerTracker']['getChanges'](_0x16d09b);if(_0x279315['length']&&(this['_footnotesDefinitions']=_0x279315[0x0]),_0xa8deed['length']){if(_0xa8deed['length']>0x1||this['_footnotesDefinitions']&&_0xa8deed['some'](_0x18d8b1=>_0x18d8b1!==this['_footnotesDefinitions'])){const _0x375aad=_0x5b32f1['createElement']('footnotesDefinitions',{}),_0x524440=[];this['_footnotesDefinitions']&&_0x524440['push'](this['_footnotesDefinitions']),_0x524440['push'](..._0xa8deed),_0x5b32f1['insert'](_0x375aad,_0x524440[0x0],'before');for(const _0xfe7133 of _0x524440)_0x5b32f1['move'](_0x5b32f1['createRangeIn'](_0xfe7133),_0x5b32f1['createPositionAt'](_0x375aad,'end')),_0x5b32f1['remove'](_0xfe7133);this['_footnotesDefinitions']=_0x375aad,this['_updateFootnotesCounters'](_0x5b32f1),_0x111e5a=!0x0;}else this['_footnotesDefinitions']=_0xa8deed[0x0];}if(_0x35a2e3['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x268796 of this['_footnotes'])_0x5b32f1['remove'](_0x268796['reference']),_0x111e5a=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x111e5a;}['_handleFootnoteDefinitionsChanges'](_0x407583,_0x5f19e5){let _0x1e8b63=!0x1;const _0x591f53=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x55a751,moved:_0xae9920}=this['_footnoteDefsTracker']['getChanges'](_0x5f19e5);for(const _0x204ef6 of[..._0xae9920,..._0x55a751]){const _0x54a358=_0x204ef6['getAttribute']('footnoteId'),_0x232948=this['getFootnote'](_0x54a358);_0x232948&&(_0x232948['definition']=_0x204ef6),ensureDefinitionIsNotEmpty(_0x407583,_0x591f53,_0x204ef6)&&(_0x1e8b63=!0x0);}return _0x1e8b63;}['_handleFootnoteReferencesChanges'](_0x49f14d,_0x51caa8){let _0x47024f=!0x1;const {removed:_0x52837c,inserted:_0x53c8a7,moved:_0x17ca47}=this['_footnoteRefsTracker']['getChanges'](_0x51caa8);for(const _0x3d658a of _0x52837c)this['_handleRemoveFootnoteReferenceById'](_0x49f14d,_0x3d658a)&&(_0x47024f=!0x0);for(const _0x260b77 of _0x53c8a7)this['_handleInsertedFootnoteReference'](_0x49f14d,_0x260b77)&&(_0x47024f=!0x0);for(const _0x5d6b0f of _0x17ca47)this['_handleMovedFootnoteReference'](_0x49f14d,_0x5d6b0f)&&(_0x47024f=!0x0);return _0x47024f;}['_handleFootnotesDefinitionsObjectSync'](_0xad1e88){if(!this['_footnotesDefinitions'])return!0x1;let _0xbc6a6f=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x2514be=[];for(const _0x3bb7d4 of this['_footnotesDefinitions']['getChildren']()){const _0x280d52=_0x3bb7d4['getAttribute']('footnoteId');this['getFootnote'](_0x280d52)||(_0x2514be['unshift'](_0x3bb7d4),_0xbc6a6f=!0x0);}for(const _0x3c91d6 of _0x2514be)_0xad1e88['remove'](_0x3c91d6);}const _0x1ad9b6=new Set(),_0x6f2ddd=[];for(const _0x5b21a9 of this['_footnotesDefinitions']['getChildren']()){const _0x2817f3=_0x5b21a9['getAttribute']('footnoteId');_0x1ad9b6['has'](_0x2817f3)?(_0x6f2ddd['unshift'](_0x5b21a9),_0xbc6a6f=!0x0):_0x1ad9b6['add'](_0x2817f3);}for(const _0x30cceb of _0x6f2ddd)_0xad1e88['remove'](_0x30cceb);return this['_footnotesDefinitions']['childCount']||(_0xad1e88['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0xbc6a6f=!0x0),_0xbc6a6f;}['_handleInsertedFootnoteReference'](_0x51ac79,_0x45baa5){if(this['_footnotes']['find'](_0x303ad6=>_0x303ad6['reference']===_0x45baa5))return!0x1;let _0x58e967=!0x1;const _0x21b39f=_0x45baa5['getAttribute']('footnoteId'),_0x28f3fe=this['_footnotes']['findIndex'](_0x3c73de=>_0x3c73de['id']===_0x21b39f);-0x1!==_0x28f3fe&&(_0x51ac79['remove'](this['_footnotes'][_0x28f3fe]['reference']),this['_footnotes']['splice'](_0x28f3fe,0x1),_0x58e967=!0x0);let _0x2423fa=this['_footnotesDefinitions']?findFootnoteDefinitionInContainer(this['_footnotesDefinitions'],_0x21b39f):null;_0x2423fa||(_0x2423fa=_0x51ac79['createElement']('footnoteDefinition',{'footnoteId':_0x21b39f}),this['_footnotesDefinitions']&&(_0x51ac79['insert'](_0x2423fa,this['_footnotesDefinitions'],'end'),_0x58e967=!0x0));const _0x28f170={'id':_0x21b39f,'reference':_0x45baa5,'definition':_0x2423fa},_0x2d8f70=findInsertFootnoteReferenceIndex(this['editor']['model'],this['_footnotes'],_0x45baa5);this['_footnotes']['splice'](_0x2d8f70,0x0,_0x28f170);let _0x4a95a4=_0x2d8f70;return-0x1!==_0x28f3fe&&(_0x4a95a4=Math['min'](_0x2d8f70,_0x28f3fe)),this['_updateFootnotesCounters'](_0x51ac79,_0x4a95a4)&&(_0x58e967=!0x0),_0x58e967;}['_handleRemoveFootnoteReferenceById'](_0xfdc873,_0x5a5f94){const _0x3e82cf=this['_footnotes']['findIndex'](_0x2a41be=>_0x2a41be['id']===_0x5a5f94);if(-0x1===_0x3e82cf)return!0x1;let _0x1e28fb=!0x1;const _0x347476=this['_footnotes'][_0x3e82cf];return'$graveyard'!==_0x347476['definition']['root']['rootName']&&(_0xfdc873['remove'](_0x347476['definition']),_0x1e28fb=!0x0),this['_footnotes']['splice'](_0x3e82cf,0x1),this['_updateFootnotesCounters'](_0xfdc873,_0x3e82cf)&&(_0x1e28fb=!0x0),_0x1e28fb;}['_handleMovedFootnoteReference'](_0x3c343a,_0x11683e){const _0x519688=_0x11683e['getAttribute']('footnoteId'),_0x5ce39b=this['_footnotes']['findIndex'](_0x5a7a95=>_0x5a7a95['id']===_0x519688),_0x321b35=this['_footnotes'][_0x5ce39b];let _0x510c4=!0x1;_0x321b35['reference']=_0x11683e,this['_footnotes']['splice'](_0x5ce39b,0x1);const _0x5cbff1=findInsertFootnoteReferenceIndex(this['editor']['model'],this['_footnotes'],_0x11683e);return this['_footnotes']['splice'](_0x5cbff1,0x0,_0x321b35),this['_updateFootnotesCounters'](_0x3c343a,Math['min'](_0x5ce39b,_0x5cbff1))&&(_0x510c4=!0x0),_0x510c4;}['_updateFootnoteRefCounter'](_0x4cffa4,_0x4a810c){if(!this['_footnotesDefinitions'])return!0x1;const _0x10d16e=this['_footnotes'][_0x4a810c];let _0x336190;return _0x336190=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x10d16e,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x4a810c+0x1}):String(_0x4a810c+0x1),_0x10d16e['reference']['getAttribute']('footnoteCounter')!=_0x336190&&(_0x4cffa4['setAttribute']('footnoteCounter',_0x336190,_0x10d16e['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x27d261){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(_0x23b8c8(this['_footnotes']['map'](_0x28c78a=>_0x28c78a['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x17dd73=>_0x17dd73['getAttribute']('footnoteId'))))return!0x1;let _0x2ee712=!0x1;for(let _0x204a29=0x0;_0x204a29<this['_footnotes']['length'];_0x204a29++){const _0x1bed8a=this['_footnotes'][_0x204a29],_0x1460cb=_0x27d261['createPositionBefore'](_0x1bed8a['definition']),_0x3e85e5=_0x27d261['createPositionAt'](this['_footnotesDefinitions'],_0x204a29);_0x1460cb['isEqual'](_0x3e85e5)||(_0x27d261['move'](_0x27d261['createRangeOn'](_0x1bed8a['definition']),_0x3e85e5),_0x2ee712=!0x0);}return _0x2ee712;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2f1b11){if(!this['_footnotes']['length'])return!0x1;const {model:_0x205363}=this['editor'];let _0x2e83c9=!0x1;for(let _0x152ffb=0x0;_0x152ffb<this['_footnotes']['length']-0x1;_0x152ffb++){const _0x2c0e2c=this['_footnotes'][_0x152ffb],_0x431201=this['_footnotes'][_0x152ffb+0x1],_0x1643ef=_0x205363['createPositionBefore'](_0x2c0e2c['reference']),_0xe4de8=_0x205363['createPositionBefore'](_0x431201['reference']);'after'===_0x1643ef['compareWith'](_0xe4de8)&&(this['_handleMovedFootnoteReference'](_0x2f1b11,_0x2c0e2c['reference']),_0x152ffb=-0x1,_0x2e83c9=!0x0);}return _0x2e83c9;}}function ensureDefinitionIsNotEmpty(_0x8c9f3e,_0x2185ef,_0x1004b0){if(_0x1004b0['childCount'])return!0x1;const _0xbf9a7f=_0x2185ef?'paragraph':'footnoteInlineContent';return _0x8c9f3e['insert'](_0x8c9f3e['createElement'](_0xbf9a7f),_0x1004b0),!0x0;}function findFootnoteDefinitionInContainer(_0x5224bd,_0x38faaf){for(const _0x2725f8 of _0x5224bd['getChildren']())if(_0x2725f8['getAttribute']('footnoteId')===_0x38faaf)return _0x2725f8;return null;}function findInsertFootnoteReferenceIndex(_0x3ef716,_0x546643,_0x5a81c3){if(0x0===_0x546643['length'])return 0x0;const _0x6e4dd8=_0x3ef716['createPositionBefore'](_0x5a81c3);for(let _0x341446=0x0;_0x341446<_0x546643['length'];_0x341446++){const _0xdee3e1=_0x546643[_0x341446],_0x5ccf93=_0x3ef716['createPositionBefore'](_0xdee3e1['reference']);if('before'===_0x6e4dd8['compareWith'](_0x5ccf93))return _0x341446;}const _0x435907=_0x5a81c3['root'];let _0x5a2ff1=-0x1;for(let _0x3db8c3=_0x546643['length']-0x1;_0x3db8c3>=0x0;_0x3db8c3--)if(_0x546643[_0x3db8c3]['reference']['root']===_0x435907){_0x5a2ff1=_0x3db8c3;break;}if(-0x1!==_0x5a2ff1)return _0x5a2ff1+0x1;const _0x437d28=_0x3ef716['document']['getRootNames'](),_0x3f7096=_0x437d28['indexOf'](_0x435907['rootName']),_0x1baee3=_0x437d28[_0x3f7096+0x1];if(_0x1baee3){for(let _0x2bc1b8=0x0;_0x2bc1b8<_0x546643['length'];_0x2bc1b8++)if(_0x546643[_0x2bc1b8]['reference']['root']['rootName']===_0x1baee3)return _0x2bc1b8;}return _0x546643['length'];}function _0x23b8c8(_0x267aca,_0x30c2c9){if(_0x267aca['length']!==_0x30c2c9['length'])return!0x1;for(let _0x1f394b=0x0;_0x1f394b<_0x267aca['length'];_0x1f394b++)if(_0x267aca[_0x1f394b]!==_0x30c2c9[_0x1f394b])return!0x1;return!0x0;}class InsertFootnoteCommand extends ckeditor5['Command']{['refresh'](){const _0x2a3ab2=this['editor']['model']['document']['selection'],_0x1ecf7b=this['_getPositionToInsertFootnote'](_0x2a3ab2);this['isEnabled']=!!_0x1ecf7b;}['execute'](_0x421fe9){const {editor:_0x5a9824}=this,{model:_0x5d7787}=_0x5a9824,{selection:_0x492d5a}=_0x5d7787['document'],_0x4a2494=this['_getPositionToInsertFootnote'](_0x492d5a);if(!_0x4a2494)return;const _0x293cc2=_0x5a9824['plugins']['get']('FootnotesEditing'),_0x348dde=_0x421fe9?.['footnoteId']??ckeditor5['uid']();isFootnoteIdValid(_0x348dde)?(_0x5d7787['change'](_0x1f28f9=>{const _0x2d34d4=_0x1f28f9['createElement']('footnoteRef',{'footnoteId':_0x348dde});_0x5d7787['insertObject'](_0x2d34d4,_0x4a2494,null);}),_0x293cc2['_moveSelectionToFootnoteDefinition'](_0x348dde)):ckeditor5['logWarning']('insert-footnote-command-executed-with-invalid-id');}['_getPositionToInsertFootnote'](_0x5c101a){const {model:_0x1b8586}=this['editor'],{schema:_0x1bee56}=_0x1b8586,_0x1413d3=_0x5c101a['getFirstRange']();for(const _0x3acc8 of _0x1413d3['getItems']())if(_0x1bee56['isBlock'](_0x3acc8)||_0x1bee56['isObject'](_0x3acc8))return null;const _0x29363e=_0x1413d3['end'];return _0x1bee56['checkChild'](_0x29363e,'footnoteRef')?_0x29363e:null;}}function isFootnoteIdValid(_0x42361d){return'string'==typeof _0x42361d&&_0x42361d['length']>0x0&&!/\s/['test'](_0x42361d)&&!/^\d/['test'](_0x42361d);}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:_0x22f01d}=this;_0x22f01d['config']['define']('footnotes.multiBlock',!0x0),_0x22f01d['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x22f01d)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){_0x316c36(this);}['_moveSelectionToFootnoteDefinition'](_0x1dd82d){const {plugins:_0x221d98,editing:_0x26acc4,model:_0x49b2a3}=this['editor'],_0x413305=_0x221d98['get'](FootnotesTracker)['getFootnote'](_0x1dd82d);return!!_0x413305&&(_0x49b2a3['change'](_0x1ef909=>{_0x1ef909['setSelection'](_0x1ef909['createPositionAt'](_0x413305['definition'],'end'));}),_0x26acc4['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x16c6fd){const {plugins:_0x45fbe6,editing:_0x10a8c9,model:_0x53f9dc}=this['editor'],_0x3553dc=_0x45fbe6['get'](FootnotesTracker)['getFootnote'](_0x16c6fd);return!!_0x3553dc&&(_0x53f9dc['change'](_0x38d94b=>{_0x38d94b['setSelection'](_0x3553dc['reference'],'on');}),_0x10a8c9['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5115c2}=this['editor']['model'],_0x297def=this['editor']['config']['get']('footnotes.multiBlock');_0x5115c2['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5115c2['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5115c2['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x297def?_0x5115c2['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5115c2['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5115c2['addChildCheck'](_0x2e9244=>{for(const _0x468677 of _0x2e9244)if('footnoteDefinition'===_0x468677['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3737d7}=this,{conversion:_0xedc3a1,editing:_0x55d45d}=_0x3737d7,{t:t}=_0x3737d7['locale'];_0xedc3a1['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x48d170,{writer:_0x218443,consumable:_0x4b3c72})=>{const _0x429127=_0x48d170['getChild'](0x0);if(!_0x429127||!_0x429127['is']('element','a'))return null;const _0x221b4e=_0x429127['getAttribute']('href')||'';if(!_0x221b4e['startsWith']('#'))return null;const _0x3a7bf2=_0x221b4e['replace'](/^#/,'');if(!_0x3a7bf2)return null;_0x4b3c72['consume'](_0x429127,{'name':!0x0,'attributes':['href']});for(const {item:_0x4c99dd}of _0x55d45d['view']['createRangeIn'](_0x429127))_0x4c99dd['is']('$textProxy')?_0x4b3c72['consume'](_0x4c99dd['textNode'],{'name':!0x0}):_0x4c99dd['is']('element')&&_0x4b3c72['consume'](_0x4c99dd,{'name':!0x0});return _0x218443['createElement']('footnoteRef',{'footnoteId':_0x3a7bf2});}}),_0xedc3a1['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4c2acb,{writer:_0x2e87f2})=>createFootnoteRefView(_0x4c2acb,_0x2e87f2)}),_0xedc3a1['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4f5372,{writer:_0x40a835})=>{const _0x4daace=_0x4f5372['getAttribute']('footnoteCounter');return ckeditor5['toWidget'](createFootnoteRefView(_0x4f5372,_0x40a835),_0x40a835,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4daace)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3477ad}=this,{t:t}=_0x3477ad['locale'],{conversion:_0x11625b}=_0x3477ad;_0x11625b['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x11625b['for']('upcast')['add'](_0x674058=>{_0x674058['on']('element:ol',(_0x511523,_0x47d797,_0x13d735)=>{const _0x4ce0f=_0x47d797['viewItem'];if(!_0x4ce0f['hasClass']('footnotes-list')||!_0x47d797['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x13d735['consumable']['consume'](_0x4ce0f,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5d5862,modelCursor:_0x552578}=_0x13d735['convertChildren'](_0x47d797['viewItem'],_0x47d797['modelCursor']);_0x47d797['modelRange']=_0x5d5862,_0x47d797['modelCursor']=_0x552578;}),_0x674058['on']('element:hr',(_0x326c57,_0x4769d8,_0x37d1c6)=>{const _0x13eb16=_0x4769d8['viewItem'];_0x13eb16['hasClass']('footnotes-divider')&&_0x4769d8['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x37d1c6['consumable']['consume'](_0x13eb16,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x11625b['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4ccc9c,{writer:_0x216f70})=>createFootnotesWrapperView(_0x216f70)}),_0x11625b['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xc40335,{writer:_0x5b3d14})=>{const _0x19637c=createFootnotesWrapperView(_0x5b3d14,{'data-footnotes-list-label':t('Footnotes')}),_0x2d1c7f=ckeditor5['toWidget'](_0x19637c,_0x5b3d14,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5b3d14['setCustomProperty']('footnotesDefinitions',!0x0,_0x2d1c7f),_0x2d1c7f;}});}['_defineDefinitionConverters'](){const {editor:_0x53d76f}=this,{conversion:_0x53a7c3,locale:_0x426267}=_0x53d76f,_0x9837a4=_0x53d76f['config']['get']('footnotes.multiBlock');_0x53a7c3['for']('upcast')['add'](_0x225552=>{_0x225552['on']('element:li',(_0x30bf0f,_0x410393,_0x500023)=>{const _0xf819ba=_0x410393['viewItem'];if(!_0xf819ba['hasClass']('footnote-definition')||!_0xf819ba['getAttribute']('id'))return;const _0x16fa02=_0xf819ba['parent'];if(!_0x16fa02['is']('element','ol')||!_0x16fa02['hasClass']('footnotes-list'))return;if(!_0x500023['consumable']['test'](_0xf819ba,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x48356a=_0x500023['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xf819ba['getAttribute']('id')});if(!_0x500023['safeInsert'](_0x48356a,_0x410393['modelCursor']))return;_0x500023['consumable']['consume'](_0xf819ba,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4eb372=Array['from'](_0xf819ba['getChildren']())['find'](_0x37d297=>_0x37d297['is']('element')&&_0x37d297['hasClass']('footnote-content'));for(const _0x31ac9c of _0xf819ba['getChildren']())_0x31ac9c['is']('element')&&(_0x500023['consumable']['consume'](_0x31ac9c,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x500023['consumable']['consume'](_0x31ac9c,{'name':!0x0,'classes':'footnote-content'}));if(_0x4eb372){if(_0x9837a4)_0x500023['convertChildren'](_0x4eb372,_0x48356a);else{const _0x239fc8=_0x500023['writer']['createElement']('footnoteInlineContent');_0x500023['writer']['insert'](_0x239fc8,_0x48356a),_0x500023['convertChildren'](_0x4eb372,_0x239fc8);}}_0x500023['updateConversionResult'](_0x48356a,_0x410393);});}),_0x53a7c3['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1b86c7,{writer:_0x211bc9})=>createFootnoteDefinitionView(_0x1b86c7,_0x211bc9,_0x426267,{'dataPipeline':!0x0})}),_0x53a7c3['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2a93ce,{writer:_0x8512f1})=>createFootnoteDefinitionView(_0x2a93ce,_0x8512f1,_0x426267)});}['_defineBogusParagraphConverters'](){const {editor:_0x3f212e}=this,{conversion:_0x30ea9d}=_0x3f212e;_0x3f212e['config']['get']('footnotes.multiBlock')?(_0x30ea9d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':footnoteBogusParagraphCreator(),'converterPriority':'high'}),_0x30ea9d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':footnoteBogusParagraphCreator({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3f212e['model']['document'],'change:data',()=>{footnoteDefinitionRefreshHandler(_0x3f212e['model'],_0x3f212e['editing']);})):(_0x30ea9d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':footnoteBogusParagraphCreator()}),_0x30ea9d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x22f1eb,{writer:_0x25f230})=>{const _0xf1b5d9=_0x25f230['createContainerElement']('span');return _0x25f230['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xf1b5d9),_0xf1b5d9;}}));}['_defineKeyboardHandlers'](){const {editor:_0xee34c5}=this,{editing:_0x3aad70,t:t}=_0xee34c5,_0xdc1d19=_0xee34c5['model']['document']['selection'];_0xee34c5['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xee34c5['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3aad70['view']['document'],'enter',(_0x35fe3c,_0x1c1d0c)=>{const _0x526d32=getSelectedFootnoteRef(_0xdc1d19);if(_0x526d32){const _0x55bb49=_0x526d32['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x55bb49),_0x1c1d0c['preventDefault'](),_0x35fe3c['stop']();}},{'context':ckeditor5['isWidget']});}['_defineClickHandlers'](){const {editor:_0x1eda9b}=this,{editing:_0x410f51}=_0x1eda9b;_0x1eda9b['editing']['view']['addObserver'](ckeditor5['PointerObserver']),_0x1eda9b['editing']['view']['addObserver'](ckeditor5['ClickObserver']);let _0xc7c6dd=!0x1;this['listenTo'](_0x410f51['view']['document'],'pointerdown',(_0x5f5533,_0xd5bba5)=>{const {target:_0x44cfbf}=_0xd5bba5,_0x40402f=_0x410f51['view']['document']['selection'];_0xc7c6dd=!!(_0x44cfbf?.['is']('element','a')&&_0x44cfbf['parent']?.['is']('element','sup')&&_0x44cfbf['parent']['hasClass']('footnote'))&&_0x40402f['getSelectedElement']()===_0x44cfbf['parent'];},{'priority':'high'}),this['listenTo'](_0x410f51['view']['document'],'click',(_0x234385,_0x1720b1)=>{const {target:_0x3ce4ca}=_0x1720b1;if(!_0x3ce4ca?.['is']('element','a'))return;if(_0x3ce4ca['parent']?.['is']('element','sup')&&_0x3ce4ca['parent']['hasClass']('footnote')&&!_0xc7c6dd)return void _0x1720b1['preventDefault']();let _0x58c98a=_0x3ce4ca['getAttribute']('href');if(!_0x58c98a?.['startsWith']('#'))return;_0x58c98a=_0x58c98a['slice'](0x1);let _0x240956=!0x1;(_0x58c98a['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x58c98a['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x58c98a))&&(_0x240956=!0x0),_0x240956&&(_0x1720b1['preventDefault'](),_0x234385['stop']());},{'priority':'high','context':'$capture'});}}function getSelectedFootnoteRef(_0x5b042a){const _0x4b3a4a=_0x5b042a['getSelectedElement']();return _0x4b3a4a?.['is']('element','footnoteRef')?_0x4b3a4a:null;}function footnoteBogusParagraphCreator({dataPipeline:_0x3e7d2c}={}){return(_0x234264,{writer:_0xdbed1d})=>{if(!shouldUseBogusParagraphInFootnote(_0x234264))return null;if(!_0x3e7d2c)return _0xdbed1d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1575bd=_0xdbed1d['createContainerElement']('p');return _0xdbed1d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1575bd),_0x1575bd;};}function shouldUseBogusParagraphInFootnote(_0x480e2b){const {parent:_0x1a4864}=_0x480e2b;if(!_0x1a4864?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1a4864['childCount'])return!0x1;for(const _0x47d160 of _0x480e2b['getAttributeKeys']())if(!_0x47d160['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x47d160)return!0x1;return!0x0;}function footnoteDefinitionRefreshHandler(_0x366507,_0x29ec58){const _0x196c03=_0x366507['document']['differ'],_0x2a6c4a=new Set();for(const _0x374722 of _0x196c03['getChanges']()){const _0x2d4a9c='attribute'==_0x374722['type']?_0x374722['range']['start']['parent']:_0x374722['position']['parent'];_0x2d4a9c['is']('element','footnoteDefinition')&&_0x2a6c4a['add'](_0x2d4a9c);}for(const _0xa733c9 of _0x2a6c4a['values']()){const _0x5a44de=Array['from'](_0xa733c9['getChildren']())['filter'](_0x13a6d0=>_0x305e1f(_0x13a6d0,_0x29ec58['mapper']));for(const _0x34c845 of _0x5a44de)_0x29ec58['reconvertItem'](_0x34c845);}}function _0x305e1f(_0x4552a5,_0x226acb){if(!_0x4552a5['is']('element','paragraph'))return!0x1;const _0x1fdb53=_0x226acb['toViewElement'](_0x4552a5);return!!_0x1fdb53&&shouldUseBogusParagraphInFootnote(_0x4552a5)!==_0x1fdb53['is']('element','span');}function isFootnotesDefinitionsWidget(_0x408967){return ckeditor5['isWidget'](_0x408967)&&_0x408967['is']('containerElement')&&!!_0x408967['getCustomProperty']('footnotesDefinitions');}function createFootnotesWrapperView(_0x5aba8f,_0x408563={}){const _0x1ebe7f=_0x5aba8f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x20cd51=_0x5aba8f['createContainerElement']('ol',{'class':'footnotes-list'},_0x5aba8f['createSlot']());return _0x5aba8f['createContainerElement']('div',{'class':'footnotes',..._0x408563},[_0x1ebe7f,_0x20cd51]);}function createFootnoteRefView(_0x127af5,_0x2b8348){const _0x587313=_0x127af5['getAttribute']('footnoteId'),_0x2e8a2f=_0x127af5['getAttribute']('footnoteCounter'),_0x2b8770=_0x2b8348['createUIElement']('a',{'href':'#'+_0x587313},function(_0x192ead){const _0x489afe=this['toDomElement'](_0x192ead);return _0x489afe['textContent']=_0x2e8a2f,_0x489afe;}),_0x48e5af=_0x2b8348['createContainerElement']('sup',{'id':'ref-'+_0x587313,'class':'footnote'},[_0x2b8770]);return _0x48e5af['getFillerOffset']=()=>null,_0x48e5af;}function createFootnoteDefinitionView(_0x397d34,_0x35b7d5,_0xaa6656,{dataPipeline:_0x5bef75}={}){const {t:t}=_0xaa6656,_0x270b1c=_0x397d34['getAttribute']('footnoteId'),_0x3dc59c=_0x35b7d5['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x270b1c},function(_0x4b480d){const _0x4ffa18=this['toDomElement'](_0x4b480d);return _0x4ffa18['innerText']='^',_0x4ffa18;}),_0xd4093d=_0x5bef75?_0x35b7d5['createContainerElement']('div',{'class':'footnote-content'}):ckeditor5['toWidgetEditable'](_0x35b7d5['createEditableElement']('div',{'class':'footnote-content'}),_0x35b7d5,{'label':t('Footnote\x20content.')});return _0x35b7d5['insert'](_0x35b7d5['createPositionAt'](_0xd4093d,0x0),_0x35b7d5['createSlot']()),_0x35b7d5['createContainerElement']('li',{'class':'footnote-definition','id':_0x270b1c},[_0x3dc59c,_0xd4093d]);}async function _0x316c36(_0x4d9de8){const _0x546b38=_0x4754f1([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]),_0xd1d3dd=window[_0x4754f1([0x44,0x61,0x74,0x65])][_0x4754f1([0x6e,0x6f,0x77])](),_0x1a7b33=_0x4d9de8[_0x4754f1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x303457=new window[(_0x4754f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59bfcb=>{_0x1a7b33[_0x4754f1([0x6f,0x6e,0x63,0x65])](_0x4754f1([0x72,0x65,0x61,0x64,0x79]),_0x59bfcb);}),_0x224267={[_0x4754f1([0x6b,0x74,0x79])]:_0x4754f1([0x45,0x43]),[_0x4754f1([0x75,0x73,0x65])]:_0x4754f1([0x73,0x69,0x67]),[_0x4754f1([0x63,0x72,0x76])]:_0x4754f1([0x50,0x2d,0x32,0x35,0x36]),[_0x4754f1([0x78])]:_0x4754f1([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]),[_0x4754f1([0x79])]:_0x4754f1([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]),[_0x4754f1([0x61,0x6c,0x67])]:_0x4754f1([0x45,0x53,0x32,0x35,0x36])},_0x279059=_0x1a7b33[_0x4754f1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4754f1([0x67,0x65,0x74])](_0x4754f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x523d9a=await(async function(){let _0x1e9c23,_0x13a95a=null,_0x421636=null;try{if(_0x279059==_0x4754f1([0x47,0x50,0x4c]))return _0x4754f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1e9c23=(function(){const _0x201549=_0x279059[_0x4754f1([0x73,0x70,0x6c,0x69,0x74])](_0x4754f1([0x2e]));if(0x3!=_0x201549[_0x4754f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x2aa764=_0x201549[0x1];return _0xc2368f(_0x2aa764);function _0xc2368f(_0x5a8dec){const _0x785dc9=_0x264dda(_0x5a8dec);return _0x785dc9&&_0x4dd12c()?_0x785dc9:null;function _0x4dd12c(){const _0x82c114=_0x785dc9[_0x4754f1([0x6a,0x74,0x69])],_0x7557c4=window[_0x4754f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x82c114[_0x4754f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x82c114[_0x4754f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d0b6a={..._0x785dc9,[_0x4754f1([0x6a,0x74,0x69])]:_0x82c114[_0x4754f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x82c114[_0x4754f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d0b6a[_0x4754f1([0x76,0x63])],_0x48b4e6(_0x3d0b6a)==_0x7557c4;}}}()),!_0x1e9c23)return _0x4754f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x1e9c23[_0x4754f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x421636=function(_0x1f6ad5,_0x5f4291){return new window[(_0x4754f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f47b6=>{if(_0x16ccdd())return _0x5f47b6(_0x4754f1([0x56,0x61,0x6c,0x69,0x64]));_0x2a9ac9(),_0x1a7b33[_0x4754f1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4754f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x41b9ae=!0x1;const _0x2df7f2=ckeditor5['uid']();function _0x2057da(_0x8975ca){return!!_0x8975ca&&(typeof _0x8975ca===_0x4754f1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x8975ca===_0x4754f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x8975ca[_0x4754f1([0x74,0x68,0x65,0x6e])]===_0x4754f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x8975ca[_0x4754f1([0x63,0x61,0x74,0x63,0x68])]===_0x4754f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x438f86(_0x258b11){_0x2ec2a5(_0x258b11)[_0x4754f1([0x74,0x68,0x65,0x6e])](_0x59b142=>{if(!_0x59b142||_0x59b142[_0x4754f1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4754f1([0x6f,0x6b]))return _0x4754f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2874f2(_0x48b4e6(_0x2df7f2+_0x5f4291))!=_0x59b142[_0x4754f1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4754f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4754f1([0x56,0x61,0x6c,0x69,0x64]);})[_0x4754f1([0x74,0x68,0x65,0x6e])](_0x30bed4=>(_0x108c98(),_0x30bed4),()=>{const _0xa62369=_0x17a7fa();return null==_0xa62369?(_0x108c98(),_0x4754f1([0x56,0x61,0x6c,0x69,0x64])):_0x4754f1(_0xd1d3dd-_0xa62369>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4754f1([0x74,0x68,0x65,0x6e])](_0x5f47b6)[_0x4754f1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5f47b6(_0x4754f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2d67f5=0x36ee80;function _0x108c98(){const _0x45e768=_0x4754f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x2874f2(_0x48b4e6(_0x1f6ad5)),_0x221f18=_0x456431(_0x2874f2(window[_0x4754f1([0x4d,0x61,0x74,0x68])][_0x4754f1([0x63,0x65,0x69,0x6c])](_0xd1d3dd/_0x2d67f5)));window[_0x4754f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4754f1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45e768,_0x221f18);}function _0x17a7fa(){const _0x39e5da=_0x4754f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x2874f2(_0x48b4e6(_0x1f6ad5)),_0x418c62=window[_0x4754f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4754f1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39e5da);return _0x418c62?window[_0x4754f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x456431(_0x418c62),0x10)*_0x2d67f5:null;}function _0x2ec2a5(_0x2c6ebd){return new window[(_0x4754f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1629b6,_0x5db40a)=>{_0x2c6ebd[_0x4754f1([0x74,0x68,0x65,0x6e])](_0x1629b6,_0x5db40a),window[_0x4754f1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5db40a,0x1d4c0);});}}_0x1a7b33[_0x4754f1([0x6f,0x6e])](_0x4754f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1af60b,_0x40e3fb)=>{if(_0x40e3fb[0x0]!=_0x1f6ad5)return _0x5f47b6(_0x4754f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x40e3fb[0x1]={..._0x40e3fb[0x1],[_0x4754f1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2df7f2};},{[_0x4754f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4754f1([0x68,0x69,0x67,0x68])}),_0x1a7b33[_0x4754f1([0x6f,0x6e])](_0x4754f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x450f0d=>{_0x2057da(_0x450f0d[_0x4754f1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x41b9ae=!0x0,_0x438f86(_0x450f0d[_0x4754f1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4754f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4754f1([0x6c,0x6f,0x77])}),_0x303457[_0x4754f1([0x74,0x68,0x65,0x6e])](()=>{_0x41b9ae||_0x5f47b6(_0x4754f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x16ccdd(){return _0x1a7b33[_0x4754f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4754f1([0x76,0x69,0x65,0x77])][_0x4754f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4754f1([0x61,0x75,0x74,0x6f]);}function _0x2a9ac9(){_0x1a7b33[_0x4754f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4754f1([0x76,0x69,0x65,0x77])][_0x4754f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4754f1([0x61,0x75,0x74,0x6f]);}}(_0x1e9c23[_0x4754f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1e9c23[_0x4754f1([0x6a,0x74,0x69])]));const _0x50a4d3=await(async function(){let _0x2e3b7d=!0x0;try{const _0x419d1e=_0x279059[_0x4754f1([0x73,0x70,0x6c,0x69,0x74])](_0x4754f1([0x2e])),[_0x48ca03,_0x224a88,_0x2ff022]=_0x419d1e;return _0x3ec9aa(_0x48ca03),await _0x322940(_0x48ca03,_0x224a88,_0x2ff022),_0x2e3b7d;}catch{return!0x1;}function _0x3ec9aa(_0x556ad4){const _0x4400dd=_0x264dda(_0x556ad4);_0x4400dd&&_0x4400dd[_0x4754f1([0x61,0x6c,0x67])]==_0x4754f1([0x45,0x53,0x32,0x35,0x36])||(_0x2e3b7d=!0x1);}async function _0x322940(_0x5f018e,_0x5708ff,_0x12096e){const _0x15db13=window[_0x4754f1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4754f1([0x66,0x72,0x6f,0x6d])](_0x5b5328(_0x12096e),_0x259434=>_0x259434[_0x4754f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x225376=new window[(_0x4754f1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4754f1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5f018e+_0x4754f1([0x2e])+_0x5708ff),_0x30d9d5=window[_0x4754f1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4754f1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x30d9d5)return;const _0x4e781f=await _0x30d9d5[_0x4754f1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4754f1([0x6a,0x77,0x6b]),_0x224267,{[_0x4754f1([0x6e,0x61,0x6d,0x65])]:_0x4754f1([0x45,0x43,0x44,0x53,0x41]),[_0x4754f1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4754f1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4754f1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x30d9d5[_0x4754f1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4754f1([0x6e,0x61,0x6d,0x65])]:_0x4754f1([0x45,0x43,0x44,0x53,0x41]),[_0x4754f1([0x68,0x61,0x73,0x68])]:{[_0x4754f1([0x6e,0x61,0x6d,0x65])]:_0x4754f1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e781f,_0x15db13,_0x225376)||(_0x2e3b7d=!0x1);}}());return _0x50a4d3?(function(){const _0x1b1595=_0x1e9c23[_0x4754f1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1b1595)return!0x1;if(_0x1b1595[_0x4754f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4754f1([0x2a])))return!0x0;if(_0x1b1595[_0x4754f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4754f1([0x46,0x4f,0x4f])))return!0x0;return!0x1;}())?(function(){const _0x24fd38=[_0x4754f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4754f1([0x74,0x72,0x69,0x61,0x6c])][_0x4754f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e9c23[_0x4754f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd1d3dd/0x3e8:0x69e02680;return _0x1e9c23[_0x4754f1([0x65,0x78,0x70])]<_0x24fd38;}())?_0x4754f1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x115876=_0x1e9c23[_0x4754f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x115876||0x0==_0x115876[_0x4754f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3cb9a5}=new URL(window[_0x4754f1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x115876[_0x4754f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cb9a5))return!0x0;const _0x1662af=_0x3cb9a5[_0x4754f1([0x73,0x70,0x6c,0x69,0x74])](_0x4754f1([0x2e]));return _0x115876[_0x4754f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12efe7=>_0x12efe7[_0x4754f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4754f1([0x2a])))[_0x4754f1([0x6d,0x61,0x70])](_0x290996=>_0x290996[_0x4754f1([0x73,0x70,0x6c,0x69,0x74])](_0x4754f1([0x2e])))[_0x4754f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e34e1=>_0x2e34e1[_0x4754f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1662af[_0x4754f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4754f1([0x6d,0x61,0x70])](_0x51a1fb=>Array(_0x1662af[_0x4754f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x51a1fb[_0x4754f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4754f1([0x66,0x69,0x6c,0x6c])](_0x51a1fb[0x0]===_0x4754f1([0x2a])?_0x4754f1([0x2a]):'')[_0x4754f1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x51a1fb))[_0x4754f1([0x73,0x6f,0x6d,0x65])](_0x1d491d=>_0x1662af[_0x4754f1([0x65,0x76,0x65,0x72,0x79])]((_0x1ba8cd,_0x402690)=>_0x1d491d[_0x402690]===_0x1ba8cd||_0x1d491d[_0x402690]===_0x4754f1([0x2a])));}())?(_0x1e9c23[_0x4754f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4754f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x13a95a=function(_0x992032){const _0x3c5c7d=new window[(_0x4754f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2299bf=>setTimeout(_0x2299bf,0x93ecc)),_0x2fa360=_0x303457[_0x4754f1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4754f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x519bf2=>{let _0x9709e4=0x0;_0x1a7b33[_0x4754f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4754f1([0x6f,0x6e])](_0x4754f1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x280fc5,_0x33575d)=>{_0x33575d[0x0][_0x4754f1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9709e4++,0x5e8==_0x9709e4&&(_0x519bf2(),_0x280fc5[_0x4754f1([0x6f,0x66,0x66])]());});})),_0x2877d8=[_0x3c5c7d,_0x2fa360];return window[_0x4754f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4754f1([0x72,0x61,0x63,0x65])](_0x2877d8)[_0x4754f1([0x74,0x68,0x65,0x6e])](()=>_0x992032);}(_0x4754f1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x13a95a&&_0x421636)return new window[(_0x4754f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f4ab3,_0x2f114e)=>{_0x13a95a[_0x4754f1([0x74,0x68,0x65,0x6e])](_0x4f4ab3,_0x2f114e),_0x421636[_0x4754f1([0x74,0x68,0x65,0x6e])](_0x415de6=>{_0x415de6!=_0x4754f1([0x56,0x61,0x6c,0x69,0x64])&&_0x4f4ab3(_0x415de6);},_0x2f114e);});return _0x13a95a||_0x421636||_0x4754f1([0x56,0x61,0x6c,0x69,0x64]);}())):_0x4754f1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4754f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4754f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4754f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x264dda(_0x560d06){return _0x560d06[_0x4754f1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4754f1([0x65,0x79]))?JSON[_0x4754f1([0x70,0x61,0x72,0x73,0x65])](_0x5b5328(_0x560d06)):null;}function _0x5b5328(_0x570b92){return window[_0x4754f1([0x61,0x74,0x6f,0x62])](_0x570b92[_0x4754f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4754f1([0x2b]))[_0x4754f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4754f1([0x2f])));}function _0x48b4e6(_0x59596c){let _0x3ab369=0x1505;function _0xb555fe(_0x244671){for(let _0x297f3c=0x0;_0x297f3c<_0x244671[_0x4754f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x297f3c++){const _0x510b7c=_0x244671[_0x4754f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x297f3c);_0x3ab369=(_0x3ab369<<0x5)+_0x3ab369+_0x510b7c,_0x3ab369&=_0x3ab369;}}return function _0x12f763(_0x3f2b47){Array[_0x4754f1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f2b47)?_0x3f2b47[_0x4754f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12f763):_0x3f2b47&&typeof _0x3f2b47==_0x4754f1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4754f1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f2b47)[_0x4754f1([0x73,0x6f,0x72,0x74])]()[_0x4754f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2954f5,_0x568dfd])=>{_0xb555fe(_0x2954f5),_0x12f763(_0x568dfd);}):_0xb555fe(window[_0x4754f1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f2b47));}(_0x59596c),_0x3ab369>>>0x0;}function _0x2874f2(_0x32ba2f){return _0x32ba2f[_0x4754f1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4754f1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4754f1([0x30]));}function _0x456431(_0xa6d045){return _0xa6d045[_0x4754f1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4754f1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4754f1([0x6a,0x6f,0x69,0x6e])]('');}function _0x5b9ec2(){}function _0x4754f1(_0x658aee){return _0x658aee['map'](_0x3a473d=>String['fromCharCode'](_0x3a473d))['join']('');}!function(_0xaa2cca){const _0x4c6b06=(function(){const _0x387bda=window[_0x4754f1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4754f1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4754f1([0x6e,0x6f,0x77])]())[_0x4754f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4754f1([0x2e]),'');let _0xdc3dcf=_0x4754f1([0x75]);for(let _0x8534cc=0x0;_0x8534cc<_0x387bda[_0x4754f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8534cc+=0x2){let _0x39916c=window[_0x4754f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x387bda[_0x4754f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8534cc,_0x8534cc+0x2));_0x39916c>=_0x546b38[_0x4754f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x39916c-=_0x546b38[_0x4754f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xdc3dcf+=_0x546b38[_0x39916c];}return _0xdc3dcf;}());_0x1a7b33[_0x4c6b06]=_0x4754f1([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xaa2cca,_0xaa2cca!=_0x4754f1([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x303457,_0x1a7b33[_0x4754f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4754f1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5b9ec2,_0x1a7b33[_0x4754f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4754f1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5b9ec2,_0x1a7b33[_0x4754f1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4754f1([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x523d9a);}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:_0x609640}=this,{plugins:_0x4c96ce,model:_0x47b299}=_0x609640,_0x444844=_0x4c96ce['get'](ckeditor5['ClipboardPipeline']),_0x1e807a=_0x4c96ce['get'](FootnotesTracker);this['listenTo'](_0x444844,'outputTransformation',(_0x44ad24,_0x5720b9)=>{const _0x108e4d=pickAllFootnotesRefsIdsFromRange(_0x47b299['createRangeIn'](_0x5720b9['content']));if(!_0x108e4d['length'])return;const _0x17b937=_0x1e807a['getFootnotes'](),_0x3c3a5a=_0x108e4d['reduce']((_0x34b464,_0x3612aa)=>{const _0x2f1b6d=_0x17b937['find'](_0x1d9004=>_0x1d9004['id']===_0x3612aa);if(_0x2f1b6d){const _0x284ec3=_0x609640['data']['toView'](_0x2f1b6d['definition'],{'isClipboardPipeline':!0x0}),_0x4fbed1=_0x609640['data']['htmlProcessor']['toData'](_0x284ec3);_0x34b464[_0x2f1b6d['id']]=_0x4fbed1;}return _0x34b464;},Object['create'](null));_0x5720b9['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x3c3a5a));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x44052b}=this,{model:_0x59c619,plugins:_0x361f34}=_0x44052b,{view:_0x7d7e5b}=_0x44052b['editing'],_0x4f175e=_0x361f34['get'](ckeditor5['ClipboardPipeline']),_0x5b0ed4=_0x361f34['get'](FootnotesTracker),_0x9d9ca7=_0x44052b['config']['get']('footnotes.multiBlock');let _0x526ddb=null;this['listenTo'](_0x7d7e5b['document'],'clipboardInput',(_0x35cb63,_0x12a65d)=>{const _0x2bb9a3=_0x12a65d['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x526ddb=_0x2bb9a3?JSON['parse'](_0x2bb9a3):null;}),this['listenTo'](_0x4f175e,'contentInsertion',(_0x56704e,_0x291b9f)=>{const _0x2881c0=_0x291b9f['sourceEditorId']===this['editor']['id'];_0x2881c0&&'drop'===_0x291b9f['method']||_0x59c619['change'](_0x2b2579=>{let _0x3f5764=_0x5b0ed4['getFootnotesDefinitionsObjectElement']();const _0x23b8f4=!!_0x3f5764&&Array['from'](_0x59c619['document']['selection']['getSelectedBlocks']())['includes'](_0x3f5764);if(!_0x526ddb&&areThereFootnotesRefsInRange(_0x59c619['createRangeIn'](_0x291b9f['content']))&&(_0x526ddb=extractFootnotesDefinitionsFromContent(_0x2b2579,_0x291b9f['content'])),(_0x3f5764&&!_0x23b8f4||!_0x3f5764&&!_0x526ddb)&&removeFootnoteDefinitionsFromFragment(_0x2b2579,_0x291b9f['content']),!_0x526ddb)return;const {selection:_0x292363}=_0x59c619['document'],_0xaef111=_0x292363['getFirstRange']()['root'];_0x3f5764&&!_0x23b8f4||(_0x3f5764=findFootnoteDefinitionsElementInFragment(_0x2b2579,_0x291b9f['content']),_0x3f5764||=_0x5b0ed4['_insertEmptyFootnotesDefinitionsContainer'](_0x2b2579,_0xaef111));const _0xeafd92=Array['from'](_0x292363['getRanges']())['flatMap'](pickAllFootnotesRefsIdsFromRange),_0xe9ab36=regenerateFootnoteIdsInFragment(_0x2b2579,_0x291b9f['content'],_0x4b6cb1=>{if(!_0x2881c0)return!0x0;return!!_0x5b0ed4['getFootnote'](_0x4b6cb1)&&!_0xeafd92['includes'](_0x4b6cb1);});for(const [_0x1b2e24,_0xe50b08]of Object['entries'](_0x526ddb)){const _0x479da3=_0xe9ab36[_0x1b2e24]||_0x1b2e24;let _0x4edd19;if('string'!=typeof _0xe50b08)_0x4edd19=_0xe50b08,_0x479da3!==_0x1b2e24&&_0x2b2579['setAttribute']('footnoteId',_0x479da3,_0x4edd19);else{_0x4edd19=_0x2b2579['createElement']('footnoteDefinition',{'footnoteId':_0x479da3});const _0x364d9a=_0x44052b['data']['htmlProcessor']['toView'](_0xe50b08);let _0x584648;if(_0x9d9ca7)_0x584648=_0x44052b['data']['toModel'](_0x364d9a,_0x4edd19);else{_0x584648=_0x2b2579['createElement']('footnoteInlineContent');const _0x459a53=_0x44052b['data']['toModel'](_0x364d9a,_0x584648);_0x2b2579['insert'](_0x459a53,_0x584648);}_0x2b2579['append'](_0x584648,_0x4edd19);}_0x2b2579['insert'](_0x4edd19,_0x3f5764,'end');}_0x526ddb=null;});});}}function removeFootnoteDefinitionsFromFragment(_0x195443,_0x3ea031){const _0x1a799f=[];for(const {item:_0xa17abc}of _0x195443['createRangeIn'](_0x3ea031))_0xa17abc['is']('element','footnotesDefinitions')&&_0x1a799f['push'](_0xa17abc);for(const _0x5ceeeb of _0x1a799f)_0x195443['remove'](_0x5ceeeb);}function findFootnoteDefinitionsElementInFragment(_0x13fb63,_0x461a40){for(const {item:_0x1ae88a}of _0x13fb63['createRangeIn'](_0x461a40))if(_0x1ae88a['is']('element','footnotesDefinitions'))return _0x1ae88a;return null;}function pickAllFootnotesRefsIdsFromRange(_0x4952dd){const _0xf68342=new Set();for(const {item:_0x1cd12c}of _0x4952dd)_0x1cd12c['is']('element','footnoteRef')&&_0xf68342['add'](_0x1cd12c['getAttribute']('footnoteId'));return Array['from'](_0xf68342);}function areThereFootnotesRefsInRange(_0x40e8d6){for(const {item:_0x46db9d}of _0x40e8d6)if(_0x46db9d['is']('element','footnoteRef'))return!0x0;return!0x1;}function extractFootnotesDefinitionsFromContent(_0x242fe0,_0x53ce11){const _0x376131=findFootnoteDefinitionsElementInFragment(_0x242fe0,_0x53ce11);if(!_0x376131)return null;const _0x4ba5e6=Object['create'](null);for(const _0x40d520 of _0x376131['getChildren']())_0x40d520['is']('element','footnoteDefinition')&&_0x40d520['hasAttribute']('footnoteId')&&(_0x4ba5e6[_0x40d520['getAttribute']('footnoteId')]=_0x242fe0['cloneElement'](_0x40d520,!0x0));return Object['keys'](_0x4ba5e6)['length']?_0x4ba5e6:null;}function regenerateFootnoteIdsInFragment(_0x2f6ef2,_0x6372db,_0x20ca2b){const _0xd819db=Object['create'](null);for(const {item:_0x335626}of _0x2f6ef2['createRangeIn'](_0x6372db))if(_0x335626['is']('element','footnoteRef')){const _0x13afb4=_0x335626['getAttribute']('footnoteId');if(!_0x20ca2b(_0x13afb4))continue;_0xd819db[_0x13afb4]||(_0xd819db[_0x13afb4]=ckeditor5['uid']()),_0x2f6ef2['setAttribute']('footnoteId',_0xd819db[_0x13afb4],_0x335626);}return _0xd819db;}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:_0x57f2f8}=this,{componentFactory:_0x5e0be8}=_0x57f2f8['ui'];_0x5e0be8['add']('insertFootnote',getInsertFootnoteButtonCreator(_0x57f2f8,ckeditor5['ButtonView'])),_0x5e0be8['add']('menuBar:insertFootnote',getInsertFootnoteButtonCreator(_0x57f2f8,ckeditor5['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5c2286=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x54d99d;for(const _0xfc8c8c in _0x5c2286){const _0x305d16=_0xfc8c8c,_0x192c06=_0x5c2286[_0x305d16];if('footnotesLicenseKeyValid'==_0x192c06||'footnotesLicenseKeyInvalid'==_0x192c06||'footnotesLicenseKeyExpired'==_0x192c06||'footnotesLicenseKeyDomainLimit'==_0x192c06||'footnotesLicenseKeyNotAllowed'==_0x192c06||'footnotesLicenseKeyEvaluationLimit'==_0x192c06||'footnotesLicenseKeyUsageLimit'==_0x192c06){delete _0x5c2286[_0x305d16],_0x54d99d=_0x192c06,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x54d99d&&_0x5c2286['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x54d99d&&_0x5c2286['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x54d99d&&_0x5c2286['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x54d99d&&_0x5c2286['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x54d99d&&_0x5c2286['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x54d99d&&_0x5c2286['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getInsertFootnoteButtonCreator(_0x3fbf8e,_0x1ef424){const _0x206dcf=_0x3fbf8e['commands']['get']('insertFootnote');return _0x9851c8=>{const {t:t}=_0x9851c8,_0x266cc0=new _0x1ef424(_0x9851c8),_0xeffe92=_0x266cc0 instanceof ckeditor5['MenuBarMenuListItemButtonView'];return _0x266cc0['bind']('isEnabled')['to'](_0x206dcf,'isEnabled'),_0x266cc0['set']({'label':t(_0xeffe92?'Footnote':'Insert\x20footnote'),'icon':ckeditor5['IconFootnote'],'tooltip':!0x0}),_0x266cc0['on']('execute',()=>{_0x206dcf['execute'](),_0x3fbf8e['editing']['view']['focus']();}),_0x266cc0;};}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 _0x54039c=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class FootnotesStyleCommand extends ckeditor5['Command']{['refresh'](){const {editor:_0x2dd496}=this,_0x1a36d0=_0x2dd496['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1a36d0,this['value']=_0x1a36d0?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x33018c}){const {editor:_0x4c003f}=this,_0x27ddf5=_0x4c003f['plugins']['get'](FootnotesTracker),_0x5984e3=_0x27ddf5['getFootnotesDefinitionsObjectElement']();_0x5984e3&&_0x54039c['includes'](_0x33018c)&&_0x4c003f['model']['change'](_0x32290c=>{_0x32290c['setAttribute']('footnotesListStyle',_0x33018c,_0x5984e3),_0x27ddf5['_updateFootnotesCounters'](_0x32290c);});}}class FootnotesStartCommand extends ckeditor5['Command']{['refresh'](){const {editor:_0x33555d}=this,_0x5dba91=_0x33555d['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5dba91,this['value']=_0x5dba91?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0xf72640}){const {editor:_0x596438}=this,_0x507589=_0x596438['plugins']['get'](FootnotesTracker),_0x28569f=_0x507589['getFootnotesDefinitionsObjectElement']();_0x28569f&&Number['isInteger'](_0xf72640)&&_0x596438['model']['change'](_0x353b0a=>{_0x353b0a['setAttribute']('footnotesListStart',_0xf72640,_0x28569f),_0x507589['_updateFootnotesCounters'](_0x353b0a);});}}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:_0x16dac7}=this;_0x16dac7['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x16dac7['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x16dac7['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x16dac7)),_0x16dac7['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x16dac7)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x54a134}=this,{schema:_0x352789}=_0x54a134['model'];_0x352789['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x2c2131}=this,{conversion:_0x3104d0,model:_0x2e2bc5}=_0x2c2131,{schema:_0x54d723}=_0x2e2bc5;_0x3104d0['for']('upcast')['add'](_0x3b7abd=>{_0x3b7abd['on']('element:ol',(_0x155a6a,_0x23d8ee,_0x75929f)=>{const _0x29e72c=_0x23d8ee['viewItem'],_0x1e50e4=_0x23d8ee['modelCursor']?.['parent'];_0x29e72c['hasClass']('footnotes-list')&&_0x1e50e4?.['is']('element','footnotesDefinitions')&&(upcastFootnotesListStart(_0x29e72c,_0x1e50e4,_0x75929f,_0x54d723),upcastFootnotesListStyle(_0x29e72c,_0x1e50e4,_0x75929f,_0x54d723));});}),_0x3104d0['for']('downcast')['add'](_0x388986=>{_0x388986['on']('attribute:footnotesListStart:footnotesDefinitions',downcastFootnotesListStart()),_0x388986['on']('attribute:footnotesListStyle:footnotesDefinitions',downcastFootnotesListStyle());});}['_definePostfixer'](){const {editor:_0x4740dc}=this,{model:_0x4cf382}=_0x4740dc,_0x1a0194=_0x4740dc['plugins']['get'](FootnotesTracker),_0x472be0=this['_getDefaultListStyle'](),_0x526f98=this['_getDefaultStartIndex']();_0x4cf382['document']['registerPostFixer'](_0xbb8f3b=>{const _0x27c1d6=_0x4cf382['document']['differ']['getChanges']();let _0x6c259d=!0x1;for(const _0x204889 of _0x27c1d6){if('insert'!==_0x204889['type']||'$text'===_0x204889['name'])continue;const _0x44a5a5=_0x4cf382['createRangeOn'](_0x204889['position']['nodeAfter']);for(const _0xcbf078 of _0x44a5a5['getItems']())_0xcbf078['is']('element','footnotesDefinitions')&&(!_0xcbf078['hasAttribute']('footnotesListStart')&&_0x4cf382['schema']['checkAttribute'](_0xcbf078,'footnotesListStart')&&(_0xbb8f3b['setAttribute']('footnotesListStart',_0x526f98,_0xcbf078),_0x6c259d=!0x0),!_0xcbf078['hasAttribute']('footnotesListStyle')&&_0x4cf382['schema']['checkAttribute'](_0xcbf078,'footnotesListStyle')&&(_0xbb8f3b['setAttribute']('footnotesListStyle',_0x472be0,_0xcbf078),_0x6c259d=!0x0));}return _0x6c259d&&_0x1a0194['_updateFootnotesCounters'](_0xbb8f3b),_0x6c259d;});}['_defineFormatter'](){const {editor:_0x56352d}=this;_0x56352d['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x359b35=>this['_formatFootnoteListValue'](_0x359b35));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x507d18,value:_0x5a5700,digits:_0x6c0ede}){const _0x49defd=_0x507d18['getAttribute']('footnotesListStyle'),_0x2a2aae=_0x507d18['getAttribute']('footnotesListStart'),_0x15b858=Math['floor'](_0x5a5700)+(_0x2a2aae??0x1)-0x1;switch(_0x49defd){case'decimal-leading-zero':return formatDecimalLeadingZero(_0x15b858,Math['max'](0x2,_0x6c0ede));case'lower-alpha':case'lower-latin':return toLatin(_0x15b858,!0x1);case'upper-alpha':case'upper-latin':return toLatin(_0x15b858,!0x0);case'lower-roman':return toRoman(_0x15b858,!0x1);case'upper-roman':return toRoman(_0x15b858,!0x0);default:return String(_0x15b858);}}}function upcastFootnotesListStart(_0x341e21,_0x2dd65d,_0x459123,_0x1b54b4){if(!_0x1b54b4['checkAttribute'](_0x2dd65d,'footnotesListStart'))return;let _0x56f1c5=0x1;const _0x673d59=_0x459123['consumable']['consume'](_0x341e21,{'attributes':'start'});if(_0x673d59){const _0x399503=Number['parseInt'](_0x341e21['getAttribute']('start'),0xa);Number['isNaN'](_0x399503)||(_0x56f1c5=_0x399503);}!_0x673d59&&_0x2dd65d['hasAttribute']('footnotesListStart')||_0x459123['writer']['setAttribute']('footnotesListStart',_0x56f1c5,_0x2dd65d);}function upcastFootnotesListStyle(_0x4d8259,_0x2271a2,_0x10357e,_0x4fbdc7){if(!_0x4fbdc7['checkAttribute'](_0x2271a2,'footnotesListStyle'))return;let _0x122577='decimal',_0x53393d=!0x1;if(_0x10357e['consumable']['consume'](_0x4d8259,{'attributes':'type'})){const _0x48d338={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x4d8259['getAttribute']('type')];_0x48d338&&(_0x122577=_0x48d338),_0x53393d=!0x0;}_0x10357e['consumable']['consume'](_0x4d8259,{'styles':'list-style-type'})&&(_0x122577=normalizeFootnotesListStyle(_0x4d8259['getStyle']('list-style-type')),_0x53393d=!0x0),!_0x53393d&&_0x2271a2['hasAttribute']('footnotesListStyle')||_0x10357e['writer']['setAttribute']('footnotesListStyle',_0x122577,_0x2271a2);}function normalizeFootnotesListStyle(_0x47a77b){switch(_0x47a77b){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x47a77b;}}function downcastFootnotesListStart(){return(_0x3f724f,_0x2abe30,_0x5592a7)=>{if(!_0x5592a7['consumable']['consume'](_0x2abe30['item'],_0x3f724f['name']))return;const _0x88185a=getOlElementFromFootnotesDefinitions(_0x2abe30['item'],_0x5592a7['mapper']),{attributeNewValue:_0x926554}=_0x2abe30;null==_0x926554||0x1===_0x926554?_0x5592a7['writer']['removeAttribute']('start',_0x88185a):_0x5592a7['writer']['setAttribute']('start',String(_0x926554),_0x88185a);};}function downcastFootnotesListStyle(){return(_0x2b6516,_0x236576,_0x5f2ece)=>{if(!_0x5f2ece['consumable']['consume'](_0x236576['item'],_0x2b6516['name']))return;const _0x46ab25=getOlElementFromFootnotesDefinitions(_0x236576['item'],_0x5f2ece['mapper']),{attributeNewValue:_0x421987}=_0x236576;_0x421987&&'decimal'!==_0x421987?_0x5f2ece['writer']['setStyle']('list-style-type',_0x421987,_0x46ab25):_0x5f2ece['writer']['removeStyle']('list-style-type',_0x46ab25);};}function getOlElementFromFootnotesDefinitions(_0x5ca932,_0xd0338c){const _0x5d2e5b=_0xd0338c['toViewElement'](_0x5ca932);return Array['from'](_0x5d2e5b['getChildren']())['find'](_0x4c4e7b=>_0x4c4e7b['is']('element','ol')&&_0x4c4e7b['hasClass']('footnotes-list'));}function formatDecimalLeadingZero(_0x10d2c8,_0x130091){return String(_0x10d2c8)['padStart'](_0x130091,'0');}function toLatin(_0x136898,_0x1d383b){let _0x5f29bc='',_0x372c8f=_0x136898;for(;_0x372c8f>0x0;){const _0xdec30c=(_0x372c8f-0x1)%0x1a;_0x5f29bc=String['fromCharCode'](0x61+_0xdec30c)+_0x5f29bc,_0x372c8f=Math['floor']((_0x372c8f-0x1)/0x1a);}return _0x1d383b?_0x5f29bc['toUpperCase']():_0x5f29bc;}const _0x545b9b=[{'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 toRoman(_0x484b62,_0xf55ee2){let _0x36bd4a='',_0x112959=_0x484b62;for(const {value:_0xa1e879,numeral:_0x4e7b00}of _0x545b9b)for(;_0x112959>=_0xa1e879;)_0x36bd4a+=_0x4e7b00,_0x112959-=_0xa1e879;return _0xf55ee2?_0x36bd4a:_0x36bd4a['toLowerCase']();}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(_0x19dae3,{styleButtonViews:_0x57212b,styleGridAriaLabel:_0x49809a}){super(_0x19dae3),(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'](_0x57212b,_0x49809a),[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 _0x5700e3 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5700e3['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 _0x44c42e=_0xb84423=>_0xb84423['stopPropagation']();this['keystrokes']['set']('arrowright',_0x44c42e),this['keystrokes']['set']('arrowleft',_0x44c42e),this['keystrokes']['set']('arrowup',_0x44c42e),this['keystrokes']['set']('arrowdown',_0x44c42e);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x19f05f,_0x2b6d09){const _0x2b8936=new ckeditor5['View'](this['locale']);return _0x2b8936['children']=_0x2b8936['createCollection'](),_0x2b8936['children']['addMany'](_0x19f05f),_0x2b8936['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2b6d09,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2b8936['children']}),_0x2b8936['children']['delegate']('execute')['to'](this),_0x2b8936['focus']=function(){for(const _0x459a43 of this['children'])if(_0x459a43 instanceof ckeditor5['ButtonView']&&_0x459a43['isOn'])return void _0x459a43['focus']();this['children']['first']['focus']();},_0x2b8936['focusTracker']=new ckeditor5['FocusTracker'](),_0x2b8936['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0x2b8936['render'](),_0x2b8936['keystrokes']['listenTo'](_0x2b8936['element']),this['children']['add'](_0x2b8936),_0x2b8936;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4796b7=this['_createStartIndexPropertyView'](),_0x1df0f0=[_0x4796b7],_0x5cb84e=new ckeditor5['CollapsibleView'](this['locale'],_0x1df0f0);return _0x5cb84e['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5cb84e['buttonView']['bind']('isEnabled')['toMany'](_0x1df0f0,'isEnabled',(..._0x4ef954)=>_0x4ef954['some'](_0x35745e=>_0x35745e)),_0x5cb84e['buttonView']['on']('change:isEnabled',(_0x4647d7,_0x5d17f1,_0x337407)=>{_0x337407||(_0x5cb84e['isCollapsed']=!0x0);}),this['children']['add'](_0x5cb84e),[_0x4796b7,_0x5cb84e];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5a9c94=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputNumber']);return _0x5a9c94['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5a9c94['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5a9c94['fieldView']['on']('input',()=>{const _0x801c50=_0x5a9c94['fieldView']['element'],_0x2fe74f=_0x801c50['valueAsNumber'];Number['isNaN'](_0x2fe74f)?_0x5a9c94['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x801c50['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2fe74f}):_0x5a9c94['errorText']=t(_0x2fe74f<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5a9c94;}}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:_0x5052ae}=this,{componentFactory:_0x36bd07}=_0x5052ae['ui'];_0x5052ae['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x36bd07['add']('footnotesStyle',getFootnotesStyleDropdownViewCreator(_0x5052ae));}['afterInit'](){const {editor:_0x1ba80f}=this,{t:t}=_0x1ba80f['locale'],_0x5394a3=_0x1ba80f['plugins']['get'](ckeditor5['WidgetToolbarRepository']),{defaultPositions:_0x4d1e86}=ckeditor5['BalloonPanelView'];_0x5394a3['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1ba80f['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x23ac82=>{let _0x44f09b=_0x23ac82['getFirstPosition']()?.['parent'];return _0x44f09b?.['is']('$text')&&(_0x44f09b=_0x44f09b['parent']),_0x44f09b?.['is']('element')?_0x44f09b['findAncestor'](isFootnotesDefinitionsWidget):null;},'positions':[_0x4d1e86['southArrowNorth'],_0x4d1e86['southArrowNorthMiddleWest'],_0x4d1e86['southArrowNorthMiddleEast'],_0x4d1e86['southArrowNorthWest'],_0x4d1e86['southArrowNorthEast'],_0x4d1e86['northArrowSouth'],_0x4d1e86['northArrowSouthMiddleWest'],_0x4d1e86['northArrowSouthMiddleEast'],_0x4d1e86['northArrowSouthWest'],_0x4d1e86['northArrowSouthEast'],_0x4d1e86['viewportStickyNorth']]});}}function getFootnotesStyleDropdownViewCreator(_0x4eef87){return _0x5860f2=>{const {t:t}=_0x5860f2,_0x624ea0=_0x4eef87['commands']['get']('footnotesStyle'),_0x5797b6=ckeditor5['createDropdown'](_0x5860f2),{buttonView:_0x45ea0c}=_0x5797b6;return _0x5797b6['class']='ck-footnotes-styles-dropdown',_0x5797b6['bind']('isEnabled')['to'](_0x624ea0,'isEnabled'),_0x45ea0c['set']({'label':t('Footnotes\x20style'),'icon':ckeditor5['IconFootnote'],'tooltip':!0x0}),_0x5797b6['once']('change:isOpen',()=>{const _0x2a4079=createFootnotesDefinitionsPropertiesView({'editor':_0x4eef87,'dropdownView':_0x5797b6});_0x5797b6['panelView']['children']['add'](_0x2a4079);}),_0x5797b6;};}function createFootnotesDefinitionsPropertiesView({editor:_0x58350c,dropdownView:_0x4d6209}){const {t:t}=_0x58350c['locale'],_0x3b8f3e=t('Footnotes\x20definitions\x20styles'),_0x485fcb=createFootnotesDefinitionStyleButtons(_0x58350c),_0x559f17=new FootnotesDefinitionsPropertiesView(_0x58350c['locale'],{'styleGridAriaLabel':_0x3b8f3e,'styleButtonViews':_0x485fcb}),_0x36d15b=_0x58350c['commands']['get']('footnotesStart');return _0x559f17['startIndexFieldView']['bind']('isEnabled')['to'](_0x36d15b),_0x559f17['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x36d15b),_0x559f17['on']('footnotesListStart',(_0x17fbb9,_0x649a3e)=>{_0x58350c['execute']('footnotesStart',{'value':_0x649a3e['startIndex']});}),_0x559f17['delegate']('execute')['to'](_0x4d6209),_0x559f17;}function createFootnotesDefinitionStyleButtons(_0x30e3a0){const t=_0x30e3a0['locale']['t'];return[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':ckeditor5['IconListStyleDecimal']},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':ckeditor5['IconListStyleDecimalLeadingZero']},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':ckeditor5['IconListStyleLowerRoman']},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':ckeditor5['IconListStyleUpperRoman']},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':ckeditor5['IconListStyleLowerLatin']},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':ckeditor5['IconListStyleUpperLatin']}]['map'](getFootnoteStyleButtonCreator(_0x30e3a0));}function getFootnoteStyleButtonCreator(_0x5cf6b7){const _0xcb4e7e=_0x5cf6b7['locale'];return({label:_0x15a91c,icon:_0x483907,tooltip:_0x27e36a,style:_0x2b681b})=>{const _0x2e2337=_0x5cf6b7['commands']['get']('footnotesStyle'),_0x1b7e65=new ckeditor5['ButtonView'](_0xcb4e7e);return _0x1b7e65['set']({'label':_0x15a91c,'icon':_0x483907,'tooltip':_0x27e36a}),_0x1b7e65['bind']('isOn')['to'](_0x2e2337,'value',_0x4ac604=>_0x4ac604===_0x2b681b),_0x1b7e65['bind']('isEnabled')['to'](_0x2e2337,'isEnabled'),_0x1b7e65['on']('execute',()=>{_0x5cf6b7['execute']('footnotesStyle',{'value':_0x2b681b}),_0x5cf6b7['editing']['view']['focus']();}),_0x1b7e65;};}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 _0x343ad1='copyFormat',_0x5c9d1b='pasteFormat',_0x1cc84e='ck-format-painter-active';class CopyFormatCommand extends ckeditor5['Command']{constructor(_0x433124){super(_0x433124),this['value']=void 0x0,this['on']('change:isEnabled',(_0xc0952a,_0x4ad8bb,_0x2de7a7)=>{_0x2de7a7||this['reset']();}),this['on']('change:value',()=>_0x433124['commands']['get'](_0x5c9d1b)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x530dc9=this['editor']['model'],_0x31b60b=_0x530dc9['document']['selection'];return Object['fromEntries'](Array['from'](_0x31b60b['getAttributes']())['filter'](([_0x539510])=>_0x530dc9['schema']['getAttributeProperties'](_0x539510)['isFormatting']));}}class PasteFormatCommand extends ckeditor5['Command']{constructor(_0x188a93){super(_0x188a93),this['_removeFormatCommand']=new RemoveFormatCommandAlias(_0x188a93);}['execute'](_0x25fbde={}){const _0x149414=this['editor']['model'],_0x3de49c=_0x149414['document']['selection'],_0x1f42ae=Array['from'](_0x3de49c['getRanges']()),_0x73acf9=_0x3de49c['isCollapsed']?[this['_createRangeOnEntireWord'](_0x149414,_0x3de49c)]:_0x1f42ae;_0x149414['change'](_0x539ae3=>{_0x539ae3['setSelection'](_0x73acf9),this['_removeFormatCommand']['execute']();for(const _0x49a0b1 in _0x25fbde)for(const _0x15acc1 of _0x149414['schema']['getValidRanges'](_0x73acf9,_0x49a0b1))_0x539ae3['setAttribute'](_0x49a0b1,_0x25fbde[_0x49a0b1],_0x15acc1);_0x539ae3['setSelection'](_0x1f42ae);});}['_createRangeOnEntireWord'](_0x37e28d,_0x1a7991){const _0x10be10=_0x37e28d['createSelection'](_0x1a7991);_0x37e28d['modifySelection'](_0x10be10,{'unit':'word','direction':'backward'});const _0x43d9f2=_0x10be10['getFirstPosition']();_0x37e28d['modifySelection'](_0x10be10,{'unit':'word','direction':'forward'});const _0x5097b9=_0x10be10['getLastPosition']();return _0x37e28d['createRange'](_0x43d9f2,_0x5097b9);}}class RemoveFormatCommandAlias extends ckeditor5['Command']{['execute'](){const _0x5f4abe=this['editor']['model'],_0x273859=_0x5f4abe['schema'];_0x5f4abe['change'](_0x2a461f=>{for(const _0x859a93 of this['_getFormattingItems'](_0x5f4abe['document']['selection'],_0x273859))if(_0x859a93['is']('selection')){for(const _0x3c68bb of this['_getFormattingAttributes'](_0x859a93,_0x273859))_0x2a461f['removeSelectionAttribute'](_0x3c68bb);}else{const _0x45fc55=_0x2a461f['createRangeOn'](_0x859a93);for(const _0x13d97d of this['_getFormattingAttributes'](_0x859a93,_0x273859))_0x2a461f['removeAttribute'](_0x13d97d,_0x45fc55);}});}*['_getFormattingItems'](_0xb232f1,_0x495a21){const _0x399ca9=_0x33813a=>!!ckeditor5['first'](this['_getFormattingAttributes'](_0x33813a,_0x495a21));for(const _0x52db38 of _0xb232f1['getRanges']())for(const _0x476377 of _0x52db38['getItems']())!_0x495a21['isBlock'](_0x476377)&&_0x399ca9(_0x476377)&&(yield _0x476377);for(const _0x5f7687 of _0xb232f1['getSelectedBlocks']())_0x399ca9(_0x5f7687)&&(yield _0x5f7687);_0x399ca9(_0xb232f1)&&(yield _0xb232f1);}*['_getFormattingAttributes'](_0x3f8c12,_0x27bac0){for(const [_0x35897e]of _0x3f8c12['getAttributes']()){const _0x3a722a=_0x27bac0['getAttributeProperties'](_0x35897e);_0x3a722a&&_0x3a722a['isFormatting']&&(yield _0x35897e);}}}class FormatPainterEditing extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4effc7=this['editor'];_0x4effc7['commands']['add'](_0x343ad1,new CopyFormatCommand(_0x4effc7)),_0x4effc7['commands']['add'](_0x5c9d1b,new PasteFormatCommand(_0x4effc7)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x55dbb8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f6018;for(const _0x1fb55f in _0x55dbb8){const _0x39c41b=_0x1fb55f,_0x1bf3e3=_0x55dbb8[_0x39c41b];if('formatPainterLicenseKeyValid'==_0x1bf3e3||'formatPainterLicenseKeyInvalid'==_0x1bf3e3||'formatPainterLicenseKeyExpired'==_0x1bf3e3||'formatPainterLicenseKeyDomainLimit'==_0x1bf3e3||'formatPainterLicenseKeyNotAllowed'==_0x1bf3e3||'formatPainterLicenseKeyEvaluationLimit'==_0x1bf3e3||'formatPainterLicenseKeyUsageLimit'==_0x1bf3e3){delete _0x55dbb8[_0x39c41b],_0x2f6018=_0x1bf3e3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x2f6018&&_0x55dbb8['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x2f6018&&_0x55dbb8['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x2f6018&&_0x55dbb8['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x2f6018&&_0x55dbb8['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x2f6018&&_0x55dbb8['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x2f6018&&_0x55dbb8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getTranslation$b(_0xe86509,_0x3109bf){const t=_0xe86509['t'];switch(_0x3109bf){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.');default:return _0x3109bf;}}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 _0x4d3d32=this['editor'];_0x4d3d32['editing']['view']['addObserver'](ckeditor5['ClickObserver']),_0x4d3d32['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':getTranslation$b(_0x4d3d32['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':getTranslation$b(_0x4d3d32['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x4d3d32['ui']['componentFactory']['add']('formatPainter',_0x3e342d=>{const _0x44271c=ckeditor5['createDropdown'](_0x3e342d,ckeditor5['SplitButtonView']),_0xd7f2c7=_0x4d3d32['commands']['get'](_0x343ad1);_0x44271c['buttonView']['set']({'label':getTranslation$b(_0x4d3d32['locale'],'Paint\x20formatting'),'icon':ckeditor5['IconPaintRoller'],'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x44271c['class']='ck-format-painter-dropdown',_0xd7f2c7&&(_0x44271c['bind']('isEnabled')['to'](_0xd7f2c7,'isEnabled'),this['listenTo'](_0xd7f2c7,'change:isEnabled',(_0x47207f,_0xed9027,_0x10f1d0)=>{_0x10f1d0||this['_finishPainting']();}),_0x44271c['buttonView']['bind']('isOn')['to'](_0xd7f2c7,'value',_0x16b9a0=>!!_0x16b9a0),this['listenTo'](_0x4d3d32,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0xd7f2c7,'change:value',(_0x12bb25,_0xdacb,_0x2ee34d)=>{this['_toggleSpecialCursor'](!!_0x2ee34d);}));const _0x142488=new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$b(_0x4d3d32['locale'],'Continuous\x20painting'),'tooltip':getTranslation$b(_0x4d3d32['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});ckeditor5['addListToDropdown'](_0x44271c,new ckeditor5['Collection']([{'type':'switchbutton','model':_0x142488}]),{'role':'menu'});const _0x1f6193=()=>{this['_copyFormatting'](),this['listenTo'](ckeditor5['global']['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x142488['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x44271c,'execute',()=>{_0x142488['isOn']=!_0x142488['isOn'];}),this['listenTo'](_0x44271c['buttonView'],'execute',()=>{_0x4d3d32['editing']['view']['focus'](),_0x44271c['buttonView']['isOn']?this['_finishPainting']():_0x1f6193();}),_0x4d3d32['keystrokes']['set']('Ctrl+Alt+C',(_0x55a3ec,_0x46b9f3)=>{_0x1f6193(),_0x142488['isOn']=!0x0,_0x46b9f3();},{'priority':'high'}),_0x4d3d32['keystrokes']['set']('Ctrl+Alt+V',(_0x3f6d5c,_0x22bc50)=>{_0x44271c['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x142488['isOn']||this['_finishPainting'](),_0x22bc50());},{'priority':'high'}),_0x4d3d32['keystrokes']['set']('Esc',(_0x556ee2,_0x178ec6)=>{_0x44271c['buttonView']['isOn']&&(_0x142488['isOn']=!0x1,this['_finishPainting'](),_0x178ec6());}),_0x44271c;});}['afterInit'](){_0x2eb8fd(this);}['_toggleSpecialCursor'](_0x283037){this['editor']['editing']['view']['change'](_0x5b6f4e=>{for(const _0x38b782 of this['editor']['editing']['view']['document']['roots'])_0x283037?_0x5b6f4e['addClass'](_0x1cc84e,_0x38b782):_0x5b6f4e['removeClass'](_0x1cc84e,_0x38b782);});}['_copyFormatting'](){const {editor:_0x13b333}=this;_0x13b333['execute'](_0x343ad1),_0x13b333['ui']['ariaLiveAnnouncer']['announce'](getTranslation$b(_0x13b333['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x5c8859}=this,_0x4fe69a=_0x5c8859['commands']['get'](_0x343ad1)['value'];_0x5c8859['execute'](_0x5c9d1b,_0x4fe69a),_0x5c8859['ui']['ariaLiveAnnouncer']['announce'](getTranslation$b(_0x5c8859['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](_0x343ad1)['reset'](),this['stopListening'](ckeditor5['global']['window']['document'],'mouseup');}}async function _0x2eb8fd(_0x27b643){const _0x1d0b77=_0x2a9515([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]),_0x40c674=window[_0x2a9515([0x44,0x61,0x74,0x65])][_0x2a9515([0x6e,0x6f,0x77])](),_0x9022db=_0x27b643[_0x2a9515([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x453cde=new window[(_0x2a9515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d9edc=>{_0x9022db[_0x2a9515([0x6f,0x6e,0x63,0x65])](_0x2a9515([0x72,0x65,0x61,0x64,0x79]),_0x4d9edc);}),_0x102cf7={[_0x2a9515([0x6b,0x74,0x79])]:_0x2a9515([0x45,0x43]),[_0x2a9515([0x75,0x73,0x65])]:_0x2a9515([0x73,0x69,0x67]),[_0x2a9515([0x63,0x72,0x76])]:_0x2a9515([0x50,0x2d,0x32,0x35,0x36]),[_0x2a9515([0x78])]:_0x2a9515([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]),[_0x2a9515([0x79])]:_0x2a9515([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]),[_0x2a9515([0x61,0x6c,0x67])]:_0x2a9515([0x45,0x53,0x32,0x35,0x36])},_0x319a0f=_0x9022db[_0x2a9515([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a9515([0x67,0x65,0x74])](_0x2a9515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x40a851=await(async function(){let _0xbe0338,_0x4c4396=null,_0x39c31b=null;try{if(_0x319a0f==_0x2a9515([0x47,0x50,0x4c]))return _0x2a9515([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xbe0338=(function(){const _0x89c61c=_0x319a0f[_0x2a9515([0x73,0x70,0x6c,0x69,0x74])](_0x2a9515([0x2e]));if(0x3!=_0x89c61c[_0x2a9515([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x2ba536=_0x89c61c[0x1];return _0x5bf55b(_0x2ba536);function _0x5bf55b(_0x4924f0){const _0x518142=_0x1d03e7(_0x4924f0);return _0x518142&&_0x38bcb9()?_0x518142:null;function _0x38bcb9(){const _0x32b4db=_0x518142[_0x2a9515([0x6a,0x74,0x69])],_0x27924e=window[_0x2a9515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32b4db[_0x2a9515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32b4db[_0x2a9515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x286128={..._0x518142,[_0x2a9515([0x6a,0x74,0x69])]:_0x32b4db[_0x2a9515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x32b4db[_0x2a9515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x286128[_0x2a9515([0x76,0x63])],_0x2f3eda(_0x286128)==_0x27924e;}}}()),!_0xbe0338)return _0x2a9515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0xbe0338[_0x2a9515([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39c31b=function(_0x3dc20b,_0x30959c){return new window[(_0x2a9515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x130276=>{if(_0x29213d())return _0x130276(_0x2a9515([0x56,0x61,0x6c,0x69,0x64]));_0x5e872d(),_0x9022db[_0x2a9515([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a9515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x6a69d0=!0x1;const _0x3b9d35=ckeditor5['uid']();function _0x96ebc7(_0x1b7ea6){return!!_0x1b7ea6&&(typeof _0x1b7ea6===_0x2a9515([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b7ea6===_0x2a9515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b7ea6[_0x2a9515([0x74,0x68,0x65,0x6e])]===_0x2a9515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b7ea6[_0x2a9515([0x63,0x61,0x74,0x63,0x68])]===_0x2a9515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3651a8(_0x4238d0){_0x43bd44(_0x4238d0)[_0x2a9515([0x74,0x68,0x65,0x6e])](_0x3bb1b6=>{if(!_0x3bb1b6||_0x3bb1b6[_0x2a9515([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a9515([0x6f,0x6b]))return _0x2a9515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1f4dea(_0x2f3eda(_0x3b9d35+_0x30959c))!=_0x3bb1b6[_0x2a9515([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a9515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a9515([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a9515([0x74,0x68,0x65,0x6e])](_0x1d31b8=>(_0x464348(),_0x1d31b8),()=>{const _0x4638fe=_0x46831c();return null==_0x4638fe?(_0x464348(),_0x2a9515([0x56,0x61,0x6c,0x69,0x64])):_0x2a9515(_0x40c674-_0x4638fe>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a9515([0x74,0x68,0x65,0x6e])](_0x130276)[_0x2a9515([0x63,0x61,0x74,0x63,0x68])](()=>{_0x130276(_0x2a9515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5c44c7=0x36ee80;function _0x464348(){const _0x460e55=_0x2a9515([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f4dea(_0x2f3eda(_0x3dc20b)),_0x239516=_0x2abfbf(_0x1f4dea(window[_0x2a9515([0x4d,0x61,0x74,0x68])][_0x2a9515([0x63,0x65,0x69,0x6c])](_0x40c674/_0x5c44c7)));window[_0x2a9515([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a9515([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x460e55,_0x239516);}function _0x46831c(){const _0x36eacf=_0x2a9515([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f4dea(_0x2f3eda(_0x3dc20b)),_0x4bd1a5=window[_0x2a9515([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a9515([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36eacf);return _0x4bd1a5?window[_0x2a9515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2abfbf(_0x4bd1a5),0x10)*_0x5c44c7:null;}function _0x43bd44(_0x274e4f){return new window[(_0x2a9515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x387d9b,_0x4f4cc6)=>{_0x274e4f[_0x2a9515([0x74,0x68,0x65,0x6e])](_0x387d9b,_0x4f4cc6),window[_0x2a9515([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4f4cc6,0x1d4c0);});}}_0x9022db[_0x2a9515([0x6f,0x6e])](_0x2a9515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x141096,_0x294a69)=>{if(_0x294a69[0x0]!=_0x3dc20b)return _0x130276(_0x2a9515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x294a69[0x1]={..._0x294a69[0x1],[_0x2a9515([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b9d35};},{[_0x2a9515([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a9515([0x68,0x69,0x67,0x68])}),_0x9022db[_0x2a9515([0x6f,0x6e])](_0x2a9515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2df363=>{_0x96ebc7(_0x2df363[_0x2a9515([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x6a69d0=!0x0,_0x3651a8(_0x2df363[_0x2a9515([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a9515([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a9515([0x6c,0x6f,0x77])}),_0x453cde[_0x2a9515([0x74,0x68,0x65,0x6e])](()=>{_0x6a69d0||_0x130276(_0x2a9515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x29213d(){return _0x9022db[_0x2a9515([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a9515([0x76,0x69,0x65,0x77])][_0x2a9515([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a9515([0x61,0x75,0x74,0x6f]);}function _0x5e872d(){_0x9022db[_0x2a9515([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a9515([0x76,0x69,0x65,0x77])][_0x2a9515([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a9515([0x61,0x75,0x74,0x6f]);}}(_0xbe0338[_0x2a9515([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xbe0338[_0x2a9515([0x6a,0x74,0x69])]));const _0x576f53=await(async function(){let _0x1db4e3=!0x0;try{const _0x3d7ede=_0x319a0f[_0x2a9515([0x73,0x70,0x6c,0x69,0x74])](_0x2a9515([0x2e])),[_0xa20c7a,_0xb9ff50,_0x36828d]=_0x3d7ede;return _0x2afa5b(_0xa20c7a),await _0x6b0999(_0xa20c7a,_0xb9ff50,_0x36828d),_0x1db4e3;}catch{return!0x1;}function _0x2afa5b(_0x359398){const _0x402742=_0x1d03e7(_0x359398);_0x402742&&_0x402742[_0x2a9515([0x61,0x6c,0x67])]==_0x2a9515([0x45,0x53,0x32,0x35,0x36])||(_0x1db4e3=!0x1);}async function _0x6b0999(_0x354f44,_0x54fd7e,_0x596d76){const _0x229c38=window[_0x2a9515([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a9515([0x66,0x72,0x6f,0x6d])](_0xc5bc20(_0x596d76),_0x4bb656=>_0x4bb656[_0x2a9515([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x541ca9=new window[(_0x2a9515([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a9515([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x354f44+_0x2a9515([0x2e])+_0x54fd7e),_0x7ac1e1=window[_0x2a9515([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a9515([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x7ac1e1)return;const _0x5505ed=await _0x7ac1e1[_0x2a9515([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a9515([0x6a,0x77,0x6b]),_0x102cf7,{[_0x2a9515([0x6e,0x61,0x6d,0x65])]:_0x2a9515([0x45,0x43,0x44,0x53,0x41]),[_0x2a9515([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a9515([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a9515([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x7ac1e1[_0x2a9515([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a9515([0x6e,0x61,0x6d,0x65])]:_0x2a9515([0x45,0x43,0x44,0x53,0x41]),[_0x2a9515([0x68,0x61,0x73,0x68])]:{[_0x2a9515([0x6e,0x61,0x6d,0x65])]:_0x2a9515([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5505ed,_0x229c38,_0x541ca9)||(_0x1db4e3=!0x1);}}());return _0x576f53?(function(){const _0x5380b9=_0xbe0338[_0x2a9515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5380b9)return!0x1;if(_0x5380b9[_0x2a9515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a9515([0x2a])))return!0x0;if(_0x5380b9[_0x2a9515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a9515([0x46,0x50])))return!0x0;if(_0x5380b9[_0x2a9515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a9515([0x50,0x50])))return!0x0;if(_0x5380b9[_0x2a9515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a9515([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x2a9515([0x67,0x6c,0x6f,0x62])]&&window[_0x2a9515([0x67,0x6c,0x6f,0x62])][_0x2a9515([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x19b505=[_0x2a9515([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a9515([0x74,0x72,0x69,0x61,0x6c])][_0x2a9515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbe0338[_0x2a9515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x40c674/0x3e8:0x69e02680;return _0xbe0338[_0x2a9515([0x65,0x78,0x70])]<_0x19b505;}())?_0x2a9515([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x1e621a=_0xbe0338[_0x2a9515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1e621a||0x0==_0x1e621a[_0x2a9515([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x511a86}=new URL(window[_0x2a9515([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1e621a[_0x2a9515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x511a86))return!0x0;const _0x3bc28a=_0x511a86[_0x2a9515([0x73,0x70,0x6c,0x69,0x74])](_0x2a9515([0x2e]));return _0x1e621a[_0x2a9515([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f5a9e=>_0x3f5a9e[_0x2a9515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a9515([0x2a])))[_0x2a9515([0x6d,0x61,0x70])](_0x3413da=>_0x3413da[_0x2a9515([0x73,0x70,0x6c,0x69,0x74])](_0x2a9515([0x2e])))[_0x2a9515([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57c2cf=>_0x57c2cf[_0x2a9515([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3bc28a[_0x2a9515([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a9515([0x6d,0x61,0x70])](_0x2c6139=>Array(_0x3bc28a[_0x2a9515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2c6139[_0x2a9515([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a9515([0x66,0x69,0x6c,0x6c])](_0x2c6139[0x0]===_0x2a9515([0x2a])?_0x2a9515([0x2a]):'')[_0x2a9515([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2c6139))[_0x2a9515([0x73,0x6f,0x6d,0x65])](_0x320037=>_0x3bc28a[_0x2a9515([0x65,0x76,0x65,0x72,0x79])]((_0x29e3cc,_0x55cc60)=>_0x320037[_0x55cc60]===_0x29e3cc||_0x320037[_0x55cc60]===_0x2a9515([0x2a])));}())?(_0xbe0338[_0x2a9515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a9515([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c4396=function(_0x68a2c2){const _0x25dcfa=new window[(_0x2a9515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52082b=>setTimeout(_0x52082b,0x93ecc)),_0xdbf193=_0x453cde[_0x2a9515([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a9515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f7051=>{let _0x58bf77=0x0;_0x9022db[_0x2a9515([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a9515([0x6f,0x6e])](_0x2a9515([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x259bb6,_0x2bd11c)=>{_0x2bd11c[0x0][_0x2a9515([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58bf77++,0x5e8==_0x58bf77&&(_0x3f7051(),_0x259bb6[_0x2a9515([0x6f,0x66,0x66])]());});})),_0x5d365b=[_0x25dcfa,_0xdbf193];return window[_0x2a9515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a9515([0x72,0x61,0x63,0x65])](_0x5d365b)[_0x2a9515([0x74,0x68,0x65,0x6e])](()=>_0x68a2c2);}(_0x2a9515([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x4c4396&&_0x39c31b)return new window[(_0x2a9515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55dc26,_0x2ee865)=>{_0x4c4396[_0x2a9515([0x74,0x68,0x65,0x6e])](_0x55dc26,_0x2ee865),_0x39c31b[_0x2a9515([0x74,0x68,0x65,0x6e])](_0x18cb28=>{_0x18cb28!=_0x2a9515([0x56,0x61,0x6c,0x69,0x64])&&_0x55dc26(_0x18cb28);},_0x2ee865);});return _0x4c4396||_0x39c31b||_0x2a9515([0x56,0x61,0x6c,0x69,0x64]);}())):_0x2a9515([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a9515([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a9515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2a9515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x1d03e7(_0x4fbf21){return _0x4fbf21[_0x2a9515([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a9515([0x65,0x79]))?JSON[_0x2a9515([0x70,0x61,0x72,0x73,0x65])](_0xc5bc20(_0x4fbf21)):null;}function _0xc5bc20(_0x5cbaa9){return window[_0x2a9515([0x61,0x74,0x6f,0x62])](_0x5cbaa9[_0x2a9515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a9515([0x2b]))[_0x2a9515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a9515([0x2f])));}function _0x2f3eda(_0x3eaea8){let _0x4802ff=0x1505;function _0x4fa2c3(_0x2cf782){for(let _0x1a72ea=0x0;_0x1a72ea<_0x2cf782[_0x2a9515([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a72ea++){const _0x29d719=_0x2cf782[_0x2a9515([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a72ea);_0x4802ff=(_0x4802ff<<0x5)+_0x4802ff+_0x29d719,_0x4802ff&=_0x4802ff;}}return function _0x5bba43(_0x2ff665){Array[_0x2a9515([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ff665)?_0x2ff665[_0x2a9515([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5bba43):_0x2ff665&&typeof _0x2ff665==_0x2a9515([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a9515([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ff665)[_0x2a9515([0x73,0x6f,0x72,0x74])]()[_0x2a9515([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39e698,_0x13856c])=>{_0x4fa2c3(_0x39e698),_0x5bba43(_0x13856c);}):_0x4fa2c3(window[_0x2a9515([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ff665));}(_0x3eaea8),_0x4802ff>>>0x0;}function _0x1f4dea(_0x4e460d){return _0x4e460d[_0x2a9515([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a9515([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a9515([0x30]));}function _0x2abfbf(_0x1ce21b){return _0x1ce21b[_0x2a9515([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a9515([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a9515([0x6a,0x6f,0x69,0x6e])]('');}function _0x25fbd1(){}function _0x2a9515(_0xd3748f){return _0xd3748f['map'](_0x375363=>String['fromCharCode'](_0x375363))['join']('');}!function(_0x28857a){const _0x592330=(function(){const _0x36cad3=window[_0x2a9515([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a9515([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a9515([0x6e,0x6f,0x77])]())[_0x2a9515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a9515([0x2e]),'');let _0x2093c7=_0x2a9515([0x51]);for(let _0x3c523a=0x0;_0x3c523a<_0x36cad3[_0x2a9515([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c523a+=0x2){let _0x4639be=window[_0x2a9515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36cad3[_0x2a9515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c523a,_0x3c523a+0x2));_0x4639be>=_0x1d0b77[_0x2a9515([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4639be-=_0x1d0b77[_0x2a9515([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2093c7+=_0x1d0b77[_0x4639be];}return _0x2093c7;}());_0x9022db[_0x592330]=_0x2a9515([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x28857a,_0x28857a!=_0x2a9515([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x453cde,_0x9022db[_0x2a9515([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a9515([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25fbd1,_0x9022db[_0x2a9515([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a9515([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25fbd1,_0x9022db[_0x2a9515([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a9515([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x40a851);}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(_0x53d358,_0xaa8d1d){const t=_0x53d358['t'];switch(_0xaa8d1d){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 _0xaa8d1d;}}class ImportWordUI extends ckeditor5['Plugin']{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2f2d34=this['editor'];_0x2f2d34['ui']['componentFactory']['add']('importWord',()=>{const _0x41bd9b=this['_createButton'](ckeditor5['FileDialogButtonView']),_0x2214c9=_0x2f2d34['commands']['get']('importWord');return _0x41bd9b['bind']('isOn')['to'](_0x2214c9,'isBusy'),_0x41bd9b['tooltip']=!0x0,_0x41bd9b;}),_0x2f2d34['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemFileDialogButtonView']));}['_createButton'](_0x599dcf){const _0x59c6a2=this['editor'],_0x386ba1=_0x59c6a2['commands']['get']('importWord'),_0x18f8de=new _0x599dcf(_0x59c6a2['locale']),_0x137bdf=new ckeditor5['SpinnerView']();return _0x18f8de['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x18f8de['set']({'icon':ckeditor5['IconImportWord']}),_0x18f8de['bind']('isEnabled')['to'](_0x386ba1),_0x18f8de['bind']('label')['to'](_0x386ba1,'isBusy',_0x293962=>getTranslation$a(_0x59c6a2['locale'],_0x293962?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x137bdf['bind']('isVisible')['to'](_0x386ba1,'isBusy'),_0x18f8de['iconView']['bind']('isVisible')['to'](_0x386ba1,'isBusy',_0x4fae6b=>!_0x4fae6b),_0x18f8de['children']['add'](_0x137bdf),_0x18f8de['on']('done',(_0xad8ff3,_0xb86f3e)=>{_0x59c6a2['execute']('importWord',_0xb86f3e[0x0],{}),_0x59c6a2['editing']['view']['focus']();}),_0x18f8de;}}class ImportWordCommand extends ckeditor5['Command']{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x1ea674){super(_0x1ea674),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x52f043,_0x395912)=>{const _0x38bad2=new DataTransfer();_0x38bad2['setData']('text/html',_0x395912['html']);const _0xb317b7=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x5478ea=>{this['_importMarker']['stopListening'](),_0x5478ea['setSelection'](_0xb317b7),_0x1ea674['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x38bad2});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3e2c5d,_0x3628a4={}){if(this['isBusy'])return Promise['resolve']();const _0x18d241=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x182e3f,suffix:_0x38ad8a}=this['editor']['config']['get']('mergeFields');_0x3628a4['merge_fields']={'prefix':_0x182e3f,'suffix':_0x38ad8a};}const _0x23ebd3={'url':_0x18d241['converterUrl'],'file':_0x3e2c5d,'serviceConfig':{..._0x3628a4,'formatting':_0x18d241['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x23ebd3)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x4cc3e4=this['editor']['model'],_0x2293c8=_0x4cc3e4['schema'],_0x251a70=_0x4cc3e4['document']['selection'],_0x4a325a=ckeditor5['first'](_0x251a70['getSelectedBlocks']());return!!_0x4a325a&&_0x2293c8['checkChild'](_0x4a325a['parent'],'paragraph');}['_prepareForImport'](){const _0x18fe85=this['editor'],_0x27d766=_0x18fe85['model'],_0x5dec54=_0x27d766['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x18fe85['model']['createBatch']({'isUndoable':!0x0}),_0x27d766['enqueueChange'](this['_undoStepBatch'],_0x28a0d4=>{_0x5dec54['isCollapsed']||_0x27d766['deleteContent'](_0x5dec54,{'leaveUnmerged':!0x0});const _0x36e9d0=_0x5dec54['getFirstPosition'](),_0x1ba08f=ckeditor5['first'](_0x5dec54['getSelectedBlocks']());let _0x596be7;_0x596be7=_0x1ba08f['is']('element','paragraph')&&_0x1ba08f['isEmpty']?_0x36e9d0:_0x36e9d0['isAtStart']?_0x27d766['createPositionBefore'](_0x1ba08f):_0x36e9d0['isAtEnd']?_0x27d766['createPositionAfter'](_0x1ba08f):_0x28a0d4['split'](_0x36e9d0)['position'],this['_importMarker']=_0x28a0d4['addMarker']('importWord:'+ckeditor5['uid'](),{'usingOperation':!0x1,'affectsData':!0x1,'range':new ckeditor5['ModelRange'](_0x596be7)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x391914=this['editor']['model'];_0x391914['markers']['has'](this['_importMarker'])&&_0x391914['enqueueChange'](this['_undoStepBatch'],_0x59ad07=>{_0x59ad07['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0xdb4c1c,file:_0x2e2c6a,serviceConfig:_0x51bd2c}){const _0x3f490c=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x30608a=new FormData();_0x30608a['set']('config',JSON['stringify'](_0x51bd2c)),_0x30608a['set']('file',_0x2e2c6a);const _0x1edaea={'method':'POST','headers':{},'body':_0x30608a,'signal':this['_abortController']['signal']};return _0x3f490c&&(_0x1edaea['headers']['Authorization']=_0x3f490c['value']),fetch(_0xdb4c1c,_0x1edaea);}['_handleImportResponse'](_0x27227c){return _0x27227c['ok']?_0x27227c['json']()['then'](_0x1a1d9e=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',{..._0x1a1d9e,'undoStepBatch':this['_undoStepBatch']});}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void ckeditor5['logWarning']('import-word-plugin-import-cancelled');const _0x1231f7=this['editor'],_0x5f4e42=getTranslation$a(_0x1231f7['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x1231f7['plugins']['get']('Notification')['showWarning'](_0x5f4e42),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'],'CloudServices'];}constructor(_0x2014c9){super(_0x2014c9),this['_token']=null;}async['init'](){const _0x388747=this['editor'];_0x388747['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x388747['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x388747['commands']['add']('importWord',new ImportWordCommand(_0x388747));const {tokenUrl:_0x17633e}=_0x388747['config']['get']('importWord');if(_0x17633e){const {tokenUrl:_0xaba5d7}=_0x388747['config']['get']('cloudServices')||{};this['_token']=_0x17633e===_0xaba5d7?_0x388747['plugins']['get']('CloudServices')['token']:await _0x388747['plugins']['get']('CloudServices')['registerTokenUrl'](_0x17633e);}}['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 _0x10c20a=this['editor']['model']['document'],_0xb3f257=ckeditor5['first'](_0x10c20a['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0xb3f257)&&this['_canHaveLineHeight'](_0xb3f257),this['value']=this['isEnabled']&&_0xb3f257['getAttribute']('lineHeight');}['execute'](_0x2d7742={}){const _0x704644=this['editor']['model'],_0x9ade49=_0x704644['document']['selection'],_0x1b672d=_0x2d7742['value'];_0x704644['change'](_0x5bf462=>{const _0x4a44aa=Array['from'](_0x9ade49['getSelectedBlocks']())['filter'](_0x4fc2b3=>this['_canHaveLineHeight'](_0x4fc2b3));for(const _0x4ac959 of _0x4a44aa)_0x1b672d?_0x5bf462['setAttribute']('lineHeight',_0x1b672d,_0x4ac959):_0x5bf462['removeAttribute']('lineHeight',_0x4ac959);});}['_canHaveLineHeight'](_0x4ee66d){return this['editor']['model']['schema']['checkAttribute'](_0x4ee66d,'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(_0x10b3f5){return'string'==typeof _0x10b3f5&&'default'===_0x10b3f5['toLowerCase']();}function normalizeOptions(_0x25f83c){return _0x25f83c['options']['map'](_0xdb641=>isLineHeightDefaultValue(_0xdb641)?{'title':String(_0x25f83c['defaultValue']),'model':'default'}:('number'==typeof _0xdb641&&(_0xdb641=String(_0xdb641)),'string'!=typeof _0xdb641?_0xdb641:parseFloat(_0xdb641)?{'title':_0xdb641,'model':_0xdb641,'view':{'name':'span','styles':{'line-height':_0xdb641}}}:findPreset(_0xdb641)))['filter'](_0x3dd6fc=>void 0x0!==_0x3dd6fc);}function findPreset(_0x3cd8c6){return'string'==typeof _0x3cd8c6?namedPresets[_0x3cd8c6]:namedPresets[_0x3cd8c6['model']];}function buildDefinition(_0x2e6c2d,_0x3d3007){const _0x352d69={'model':{'key':_0x2e6c2d,'values':[]},'view':{}};for(const _0x3db41c of _0x3d3007)'class'===_0x3db41c['view']?.['key']?(_0x352d69['model']['values']['push'](_0x3db41c['model']),_0x352d69['view'][_0x3db41c['model']]={'key':'class','value':_0x3db41c['view']['value']}):(_0x352d69['model']['values']['push'](_0x3db41c['model']),_0x352d69['view'][_0x3db41c['model']]={'key':'style','value':'line-height:'+_0x3db41c['model']+';'});return _0x352d69;}class LineHeightTodoListIntegration extends ckeditor5['Plugin']{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x1977c6,conversion:_0x3b9069}=this['editor'];if(!_0x1977c6['has']('ListEditing')||!_0x1977c6['has']('TodoListEditing'))return;_0x1977c6['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x3577a7,_0xb6e4d9,_0x1803f6,_0x30c5ee,_0x3f9c57){'todo'==_0x3f9c57['getAttribute']('listType')&&_0xb6e4d9&&(_0x3577a7['addClass']('ck-list-marker-line-height',_0x1803f6),_0x3577a7['setStyle']('--ck-content-list-marker-line-height',_0xb6e4d9,_0x1803f6));}}),_0x3b9069['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x3b9069['for']('upcast')['add'](_0x4efb16=>{_0x4efb16['on']('element:li',attributeUpcastConsumingConverter({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function attributeUpcastConsumingConverter(_0x3f303b){const _0x2b96f0=new ckeditor5['Matcher'](_0x3f303b);return(_0x4589af,_0x4b1dfc,_0x45a880)=>{const _0x4eb53e=_0x2b96f0['match'](_0x4b1dfc['viewItem']);if(!_0x4eb53e)return;const _0x8c9f14=_0x4eb53e['match'];_0x8c9f14['name']=!0x1,_0x45a880['consumable']['consume'](_0x4b1dfc['viewItem'],_0x8c9f14);};}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(_0x36f667){super(_0x36f667),_0x36f667['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x370f86=this['editor'];this['_validateConfig'](),_0x370f86['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x370f86['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x370f86['commands']['add']('lineHeight',new LineHeightCommand(_0x370f86)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){_0x308427(this);}['_validateConfig'](){const _0x14a7d8=this['editor'];if(!_0x14a7d8['config']['get']('lineHeight.supportAllValues'))return;const _0x2a9d8b=_0x14a7d8['config']['get']('lineHeight.options')['filter'](_0x3018d4=>'string'==typeof _0x3018d4&&(!isLineHeightDefaultValue(_0x3018d4)&&isNaN(Number(_0x3018d4))));if(_0x2a9d8b['length'])throw new ckeditor5['CKEditorError']('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x2a9d8b});}['_prepareAnyValueConverters'](){const _0xba670a=this['editor'],_0x103609=this['editor']['config']['get']('lineHeight.defaultValue');_0xba670a['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x45bdf4=>String(_0x45bdf4)===String(_0x103609)?null:{'key':'style','value':{'line-height':_0x45bdf4}}}),_0xba670a['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x5aa690=>{let _0x52d6d3=_0x5aa690['getStyle']('line-height');return ckeditor5['isPercentageStyleValue'](_0x52d6d3)&&(_0x52d6d3=String(Number(_0x52d6d3['slice'](0x0,-0x1))/0x64)),String(_0x52d6d3)===String(_0x103609)?null:_0x52d6d3;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x38725d=this['editor'],_0x32163f=this['editor']['config']['get']('lineHeight.defaultValue'),_0x52927b=buildDefinition('lineHeight',normalizeOptions(this['editor']['config']['get']('lineHeight'))['filter'](_0x5b173c=>_0x5b173c['model']));_0x38725d['conversion']['attributeToAttribute'](_0x52927b),_0x38725d['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x31a85d=>{let _0x842f6a=_0x31a85d['getStyle']('line-height');return ckeditor5['isPercentageStyleValue'](_0x842f6a)&&(_0x842f6a=String(Number(_0x842f6a['slice'](0x0,-0x1))/0x64)),_0x842f6a===String(_0x32163f)?null:_0x52927b['model']['values']['includes'](_0x842f6a)?_0x842f6a:null;}}});}}async function _0x308427(_0x4ba42b){const _0x504540=_0x31d139([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]),_0x269b89=window[_0x31d139([0x44,0x61,0x74,0x65])][_0x31d139([0x6e,0x6f,0x77])](),_0x2615e7=_0x4ba42b[_0x31d139([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x482dc4=new window[(_0x31d139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1816db=>{_0x2615e7[_0x31d139([0x6f,0x6e,0x63,0x65])](_0x31d139([0x72,0x65,0x61,0x64,0x79]),_0x1816db);}),_0x1aff90={[_0x31d139([0x6b,0x74,0x79])]:_0x31d139([0x45,0x43]),[_0x31d139([0x75,0x73,0x65])]:_0x31d139([0x73,0x69,0x67]),[_0x31d139([0x63,0x72,0x76])]:_0x31d139([0x50,0x2d,0x32,0x35,0x36]),[_0x31d139([0x78])]:_0x31d139([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]),[_0x31d139([0x79])]:_0x31d139([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]),[_0x31d139([0x61,0x6c,0x67])]:_0x31d139([0x45,0x53,0x32,0x35,0x36])},_0x4eac60=_0x2615e7[_0x31d139([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x31d139([0x67,0x65,0x74])](_0x31d139([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5d33e3=await(async function(){let _0x24c2cd,_0x51463d=null,_0x22f9a2=null;try{if(_0x4eac60==_0x31d139([0x47,0x50,0x4c]))return _0x31d139([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x24c2cd=(function(){const _0x36ce28=_0x4eac60[_0x31d139([0x73,0x70,0x6c,0x69,0x74])](_0x31d139([0x2e]));if(0x3!=_0x36ce28[_0x31d139([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0xff697=_0x36ce28[0x1];return _0x2168a2(_0xff697);function _0x2168a2(_0x5e70a7){const _0x13eb1d=_0x5455dd(_0x5e70a7);return _0x13eb1d&&_0x21b543()?_0x13eb1d:null;function _0x21b543(){const _0x23b880=_0x13eb1d[_0x31d139([0x6a,0x74,0x69])],_0x5aee24=window[_0x31d139([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23b880[_0x31d139([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23b880[_0x31d139([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x16c0ca={..._0x13eb1d,[_0x31d139([0x6a,0x74,0x69])]:_0x23b880[_0x31d139([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23b880[_0x31d139([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x16c0ca[_0x31d139([0x76,0x63])],_0x1a51e0(_0x16c0ca)==_0x5aee24;}}}()),!_0x24c2cd)return _0x31d139([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x24c2cd[_0x31d139([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x22f9a2=function(_0x386f24,_0x1d1675){return new window[(_0x31d139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x491c2d=>{if(_0x2e486d())return _0x491c2d(_0x31d139([0x56,0x61,0x6c,0x69,0x64]));_0x4f55cd(),_0x2615e7[_0x31d139([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x31d139([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc999a6=!0x1;const _0x9b7977=ckeditor5['uid']();function _0x143c1b(_0x229f6b){return!!_0x229f6b&&(typeof _0x229f6b===_0x31d139([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x229f6b===_0x31d139([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x229f6b[_0x31d139([0x74,0x68,0x65,0x6e])]===_0x31d139([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x229f6b[_0x31d139([0x63,0x61,0x74,0x63,0x68])]===_0x31d139([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1dbb18(_0x455bc2){_0x436c25(_0x455bc2)[_0x31d139([0x74,0x68,0x65,0x6e])](_0x55078c=>{if(!_0x55078c||_0x55078c[_0x31d139([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x31d139([0x6f,0x6b]))return _0x31d139([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd28485(_0x1a51e0(_0x9b7977+_0x1d1675))!=_0x55078c[_0x31d139([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x31d139([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x31d139([0x56,0x61,0x6c,0x69,0x64]);})[_0x31d139([0x74,0x68,0x65,0x6e])](_0x50a2d8=>(_0x4b5d32(),_0x50a2d8),()=>{const _0x5ae4b9=_0x42540a();return null==_0x5ae4b9?(_0x4b5d32(),_0x31d139([0x56,0x61,0x6c,0x69,0x64])):_0x31d139(_0x269b89-_0x5ae4b9>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x31d139([0x74,0x68,0x65,0x6e])](_0x491c2d)[_0x31d139([0x63,0x61,0x74,0x63,0x68])](()=>{_0x491c2d(_0x31d139([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e9637=0x36ee80;function _0x4b5d32(){const _0x2575f7=_0x31d139([0x6c,0x6c,0x63,0x74,0x2d])+_0xd28485(_0x1a51e0(_0x386f24)),_0x3c6e7c=_0x534242(_0xd28485(window[_0x31d139([0x4d,0x61,0x74,0x68])][_0x31d139([0x63,0x65,0x69,0x6c])](_0x269b89/_0x4e9637)));window[_0x31d139([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31d139([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2575f7,_0x3c6e7c);}function _0x42540a(){const _0x21aced=_0x31d139([0x6c,0x6c,0x63,0x74,0x2d])+_0xd28485(_0x1a51e0(_0x386f24)),_0x2578c4=window[_0x31d139([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31d139([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21aced);return _0x2578c4?window[_0x31d139([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x534242(_0x2578c4),0x10)*_0x4e9637:null;}function _0x436c25(_0xb8bac3){return new window[(_0x31d139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd2d039,_0x7df19a)=>{_0xb8bac3[_0x31d139([0x74,0x68,0x65,0x6e])](_0xd2d039,_0x7df19a),window[_0x31d139([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7df19a,0x1d4c0);});}}_0x2615e7[_0x31d139([0x6f,0x6e])](_0x31d139([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1003ee,_0x245db3)=>{if(_0x245db3[0x0]!=_0x386f24)return _0x491c2d(_0x31d139([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x245db3[0x1]={..._0x245db3[0x1],[_0x31d139([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x9b7977};},{[_0x31d139([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31d139([0x68,0x69,0x67,0x68])}),_0x2615e7[_0x31d139([0x6f,0x6e])](_0x31d139([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3df211=>{_0x143c1b(_0x3df211[_0x31d139([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc999a6=!0x0,_0x1dbb18(_0x3df211[_0x31d139([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x31d139([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31d139([0x6c,0x6f,0x77])}),_0x482dc4[_0x31d139([0x74,0x68,0x65,0x6e])](()=>{_0xc999a6||_0x491c2d(_0x31d139([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2e486d(){return _0x2615e7[_0x31d139([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31d139([0x76,0x69,0x65,0x77])][_0x31d139([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x31d139([0x61,0x75,0x74,0x6f]);}function _0x4f55cd(){_0x2615e7[_0x31d139([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31d139([0x76,0x69,0x65,0x77])][_0x31d139([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x31d139([0x61,0x75,0x74,0x6f]);}}(_0x24c2cd[_0x31d139([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x24c2cd[_0x31d139([0x6a,0x74,0x69])]));const _0x33ada1=await(async function(){let _0x105711=!0x0;try{const _0xe3644a=_0x4eac60[_0x31d139([0x73,0x70,0x6c,0x69,0x74])](_0x31d139([0x2e])),[_0x4cb365,_0x12f675,_0x3218f9]=_0xe3644a;return _0x50f3c0(_0x4cb365),await _0x1b4266(_0x4cb365,_0x12f675,_0x3218f9),_0x105711;}catch{return!0x1;}function _0x50f3c0(_0x5ade4d){const _0x1d5232=_0x5455dd(_0x5ade4d);_0x1d5232&&_0x1d5232[_0x31d139([0x61,0x6c,0x67])]==_0x31d139([0x45,0x53,0x32,0x35,0x36])||(_0x105711=!0x1);}async function _0x1b4266(_0xf31dc9,_0x336844,_0x9ac862){const _0xdb87e8=window[_0x31d139([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x31d139([0x66,0x72,0x6f,0x6d])](_0x1ea7e4(_0x9ac862),_0x32b75c=>_0x32b75c[_0x31d139([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4c3857=new window[(_0x31d139([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x31d139([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xf31dc9+_0x31d139([0x2e])+_0x336844),_0x2d0d82=window[_0x31d139([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x31d139([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2d0d82)return;const _0x40b6bd=await _0x2d0d82[_0x31d139([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x31d139([0x6a,0x77,0x6b]),_0x1aff90,{[_0x31d139([0x6e,0x61,0x6d,0x65])]:_0x31d139([0x45,0x43,0x44,0x53,0x41]),[_0x31d139([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x31d139([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x31d139([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2d0d82[_0x31d139([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x31d139([0x6e,0x61,0x6d,0x65])]:_0x31d139([0x45,0x43,0x44,0x53,0x41]),[_0x31d139([0x68,0x61,0x73,0x68])]:{[_0x31d139([0x6e,0x61,0x6d,0x65])]:_0x31d139([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x40b6bd,_0xdb87e8,_0x4c3857)||(_0x105711=!0x1);}}());return _0x33ada1?(function(){const _0x1a5cdc=_0x24c2cd[_0x31d139([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1a5cdc)return!0x1;if(_0x1a5cdc[_0x31d139([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31d139([0x2a])))return!0x0;if(_0x1a5cdc[_0x31d139([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31d139([0x4c,0x48])))return!0x0;return!0x1;}())?(function(){const _0x4df5b0=[_0x31d139([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x31d139([0x74,0x72,0x69,0x61,0x6c])][_0x31d139([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24c2cd[_0x31d139([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x269b89/0x3e8:0x69e02680;return _0x24c2cd[_0x31d139([0x65,0x78,0x70])]<_0x4df5b0;}())?_0x31d139([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x39113a=_0x24c2cd[_0x31d139([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x39113a||0x0==_0x39113a[_0x31d139([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c3e5b}=new URL(window[_0x31d139([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x39113a[_0x31d139([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c3e5b))return!0x0;const _0x3d4c4a=_0x5c3e5b[_0x31d139([0x73,0x70,0x6c,0x69,0x74])](_0x31d139([0x2e]));return _0x39113a[_0x31d139([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23f0dc=>_0x23f0dc[_0x31d139([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31d139([0x2a])))[_0x31d139([0x6d,0x61,0x70])](_0xf38f91=>_0xf38f91[_0x31d139([0x73,0x70,0x6c,0x69,0x74])](_0x31d139([0x2e])))[_0x31d139([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb64603=>_0xb64603[_0x31d139([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d4c4a[_0x31d139([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31d139([0x6d,0x61,0x70])](_0x4d88c0=>Array(_0x3d4c4a[_0x31d139([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4d88c0[_0x31d139([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31d139([0x66,0x69,0x6c,0x6c])](_0x4d88c0[0x0]===_0x31d139([0x2a])?_0x31d139([0x2a]):'')[_0x31d139([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4d88c0))[_0x31d139([0x73,0x6f,0x6d,0x65])](_0x2e6386=>_0x3d4c4a[_0x31d139([0x65,0x76,0x65,0x72,0x79])]((_0x23af0b,_0x4eb9ef)=>_0x2e6386[_0x4eb9ef]===_0x23af0b||_0x2e6386[_0x4eb9ef]===_0x31d139([0x2a])));}())?(_0x24c2cd[_0x31d139([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31d139([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x51463d=function(_0x5ac6ee){const _0x580db4=new window[(_0x31d139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x355a96=>setTimeout(_0x355a96,0x93ecc)),_0xb3ef98=_0x482dc4[_0x31d139([0x74,0x68,0x65,0x6e])](()=>new window[(_0x31d139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49719e=>{let _0x31eddd=0x0;_0x2615e7[_0x31d139([0x6d,0x6f,0x64,0x65,0x6c])][_0x31d139([0x6f,0x6e])](_0x31d139([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e3f0d,_0x3a97b2)=>{_0x3a97b2[0x0][_0x31d139([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x31eddd++,0x5e8==_0x31eddd&&(_0x49719e(),_0x5e3f0d[_0x31d139([0x6f,0x66,0x66])]());});})),_0x12c5ba=[_0x580db4,_0xb3ef98];return window[_0x31d139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x31d139([0x72,0x61,0x63,0x65])](_0x12c5ba)[_0x31d139([0x74,0x68,0x65,0x6e])](()=>_0x5ac6ee);}(_0x31d139([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x51463d&&_0x22f9a2)return new window[(_0x31d139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24d89b,_0x3b83f2)=>{_0x51463d[_0x31d139([0x74,0x68,0x65,0x6e])](_0x24d89b,_0x3b83f2),_0x22f9a2[_0x31d139([0x74,0x68,0x65,0x6e])](_0x118ac7=>{_0x118ac7!=_0x31d139([0x56,0x61,0x6c,0x69,0x64])&&_0x24d89b(_0x118ac7);},_0x3b83f2);});return _0x51463d||_0x22f9a2||_0x31d139([0x56,0x61,0x6c,0x69,0x64]);}())):_0x31d139([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x31d139([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x31d139([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x31d139([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x5455dd(_0x3b72be){return _0x3b72be[_0x31d139([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x31d139([0x65,0x79]))?JSON[_0x31d139([0x70,0x61,0x72,0x73,0x65])](_0x1ea7e4(_0x3b72be)):null;}function _0x1ea7e4(_0x40ba7a){return window[_0x31d139([0x61,0x74,0x6f,0x62])](_0x40ba7a[_0x31d139([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x31d139([0x2b]))[_0x31d139([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x31d139([0x2f])));}function _0x1a51e0(_0x50f146){let _0x113477=0x1505;function _0x2e0433(_0x53af8c){for(let _0xeaffc7=0x0;_0xeaffc7<_0x53af8c[_0x31d139([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xeaffc7++){const _0x1f1c6d=_0x53af8c[_0x31d139([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xeaffc7);_0x113477=(_0x113477<<0x5)+_0x113477+_0x1f1c6d,_0x113477&=_0x113477;}}return function _0x5cf2d9(_0x500f72){Array[_0x31d139([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x500f72)?_0x500f72[_0x31d139([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5cf2d9):_0x500f72&&typeof _0x500f72==_0x31d139([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x31d139([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x500f72)[_0x31d139([0x73,0x6f,0x72,0x74])]()[_0x31d139([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x365e95,_0x5730ea])=>{_0x2e0433(_0x365e95),_0x5cf2d9(_0x5730ea);}):_0x2e0433(window[_0x31d139([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x500f72));}(_0x50f146),_0x113477>>>0x0;}function _0xd28485(_0x12b95a){return _0x12b95a[_0x31d139([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x31d139([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x31d139([0x30]));}function _0x534242(_0x243a52){return _0x243a52[_0x31d139([0x73,0x70,0x6c,0x69,0x74])]('')[_0x31d139([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x31d139([0x6a,0x6f,0x69,0x6e])]('');}function _0x27adfa(){}function _0x31d139(_0x37c4bb){return _0x37c4bb['map'](_0x3bc00=>String['fromCharCode'](_0x3bc00))['join']('');}!function(_0x33474b){const _0x48907a=(function(){const _0x5109ab=window[_0x31d139([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x31d139([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x31d139([0x6e,0x6f,0x77])]())[_0x31d139([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x31d139([0x2e]),'');let _0x1423c0=_0x31d139([0x50]);for(let _0x3f8a0a=0x0;_0x3f8a0a<_0x5109ab[_0x31d139([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f8a0a+=0x2){let _0x20c3de=window[_0x31d139([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5109ab[_0x31d139([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f8a0a,_0x3f8a0a+0x2));_0x20c3de>=_0x504540[_0x31d139([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x20c3de-=_0x504540[_0x31d139([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1423c0+=_0x504540[_0x20c3de];}return _0x1423c0;}());_0x2615e7[_0x48907a]=_0x31d139([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33474b,_0x33474b!=_0x31d139([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x482dc4,_0x2615e7[_0x31d139([0x6d,0x6f,0x64,0x65,0x6c])][_0x31d139([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x27adfa,_0x2615e7[_0x31d139([0x6d,0x6f,0x64,0x65,0x6c])][_0x31d139([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x27adfa,_0x2615e7[_0x31d139([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x31d139([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x5d33e3);}class LineHeightUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x56434f={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x56434f),this['_registerMenuBarComponent'](_0x56434f),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3c85d9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x576cec;for(const _0x5a75fc in _0x3c85d9){const _0x222ac1=_0x5a75fc,_0x2bd69b=_0x3c85d9[_0x222ac1];if('lineHeightLicenseKeyValid'==_0x2bd69b||'lineHeightLicenseKeyInvalid'==_0x2bd69b||'lineHeightLicenseKeyExpired'==_0x2bd69b||'lineHeightLicenseKeyDomainLimit'==_0x2bd69b||'lineHeightLicenseKeyNotAllowed'==_0x2bd69b||'lineHeightLicenseKeyEvaluationLimit'==_0x2bd69b||'lineHeightLicenseKeyUsageLimit'==_0x2bd69b){delete _0x3c85d9[_0x222ac1],_0x576cec=_0x2bd69b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x576cec&&_0x3c85d9['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x576cec&&_0x3c85d9['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x576cec&&_0x3c85d9['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x576cec&&_0x3c85d9['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x576cec&&_0x3c85d9['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x576cec&&_0x3c85d9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x39d57e=this['editor'],t=_0x39d57e['t'],_0x4ae148=_0x39d57e['config']['get']('lineHeight'),_0x111100={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return normalizeOptions(_0x4ae148)['map'](_0x1875c7=>{const _0x3232f8=_0x111100[_0x1875c7['title']];return _0x3232f8&&_0x3232f8!=_0x1875c7['title']&&(_0x1875c7=Object['assign']({},_0x1875c7,{'title':_0x3232f8})),_0x1875c7;});}['_prepareListOptions'](){const _0x226bf6=this['editor']['commands']['get']('lineHeight'),_0x489069=this['editor']['config']['get']('lineHeight.defaultValue'),_0x35a56b=this['_getLocalizedLineHeightOptions'](),_0x571a1d=new ckeditor5['Collection'](),_0x4cdea7=_0x1046fd=>'default'===_0x1046fd||String(_0x489069)===_0x1046fd;for(const _0x24c100 of _0x35a56b){const _0x218d38={'type':'button','model':new ckeditor5['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x24c100['title'],'withText':!0x0})};_0x4cdea7(_0x24c100['model'])?(_0x218d38['model']['bind']('isOn')['to'](_0x226bf6,'value',_0x451d5d=>!_0x451d5d),_0x218d38['model']['commandParam']=void 0x0):(_0x218d38['model']['bind']('isOn')['to'](_0x226bf6,'value',_0x2d3331=>_0x2d3331===_0x24c100['model']),_0x218d38['model']['commandParam']=_0x24c100['model']),_0x571a1d['add'](_0x218d38);}if(this['_shouldRenderCustomValueOption']()){const _0x255cec=this['_getCustomValueOptionDefinition'](_0x35a56b);_0x571a1d['add'](_0x255cec);}return _0x571a1d;}['_getCustomValueOptionDefinition'](_0x597e13){const _0x1e62e3=this['editor'],t=_0x1e62e3['t'],_0x1a03a4=_0x1e62e3['commands']['get']('lineHeight'),_0x3a5e07=_0x597e13['map'](_0x3db680=>_0x3db680['model']),_0x5c6124={'type':'button','model':new ckeditor5['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5c6124['model']['bind']('commandParam')['to'](_0x1a03a4,'value'),_0x5c6124['model']['bind']('isOn')['to'](_0x1a03a4,'value',_0x4a0dc5=>!!_0x4a0dc5&&!_0x3a5e07['includes'](String(_0x4a0dc5))),_0x5c6124['model']['bind']('label')['to'](_0x1a03a4,'value',_0x787e40=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x787e40))),_0x5c6124;}['_registerToolbarComponent']({accessibleLabel:_0x3cb0d7,options:_0x7c0757}){const _0x160178=this['editor'],_0x950442=_0x160178['commands']['get']('lineHeight');_0x160178['ui']['componentFactory']['add']('lineHeight',_0x46d663=>{const _0x2b1794=ckeditor5['createDropdown'](_0x46d663);return ckeditor5['addListToDropdown'](_0x2b1794,_0x7c0757,{'role':'menu','ariaLabel':_0x3cb0d7}),_0x2b1794['buttonView']['set']({'label':_0x3cb0d7,'tooltip':!0x0,'icon':ckeditor5['IconLineHeight']}),_0x2b1794['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2b1794['bind']('isEnabled')['to'](_0x950442),this['listenTo'](_0x2b1794,'execute',_0x2dc3b9=>{_0x160178['execute'](_0x2dc3b9['source']['commandName'],{'value':_0x2dc3b9['source']['commandParam']}),_0x160178['editing']['view']['focus']();}),_0x2b1794['once']('change:isOpen',()=>{const _0x3000ba=_0x2b1794['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2b1794,_0x7c0757,_0x3000ba);}),_0x2b1794;});}['_registerMenuBarComponent']({accessibleLabel:_0x3ab10e,options:_0x5c4511}){const _0x336754=this['editor'],_0x4863e4=_0x336754['commands']['get']('lineHeight');_0x336754['ui']['componentFactory']['add']('menuBar:lineHeight',_0x596c9c=>{const _0x16b283=new ckeditor5['MenuBarMenuView'](_0x596c9c);_0x16b283['buttonView']['set']({'label':_0x3ab10e,'icon':ckeditor5['IconLineHeight']}),_0x16b283['bind']('isEnabled')['to'](_0x4863e4);const _0x38cc95=new ckeditor5['MenuBarMenuListView'](_0x596c9c);for(const _0x27c1a6 of _0x5c4511){const _0x4c9ab5=new ckeditor5['MenuBarMenuListItemView'](_0x596c9c,_0x16b283),_0x3da4ea=new ckeditor5['MenuBarMenuListItemButtonView'](_0x596c9c);_0x3da4ea['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3da4ea['bind'](...Object['keys'](_0x27c1a6['model']))['to'](_0x27c1a6['model']),_0x3da4ea['delegate']('execute')['to'](_0x16b283),_0x3da4ea['on']('execute',()=>{_0x336754['execute'](_0x27c1a6['model']['commandName'],{'value':_0x27c1a6['model']['commandParam']}),_0x336754['editing']['view']['focus']();}),_0x4c9ab5['children']['add'](_0x3da4ea),_0x38cc95['items']['add'](_0x4c9ab5);}return _0x16b283['panelView']['children']['add'](_0x38cc95),this['_attachCustomOptionVisibilityHandler'](_0x16b283,_0x5c4511,_0x38cc95),_0x16b283;});}['_attachCustomOptionVisibilityHandler'](_0x55249e,_0x213401,_0x54360a){if(!this['_shouldRenderCustomValueOption']())return;const _0x3640ae=()=>{if(!_0x55249e['isOpen'])return;_0x54360a['items']['last']['isVisible']=Boolean(_0x213401['last']['model']['isOn']);};_0x3640ae(),_0x55249e['on']('change:isOpen',()=>{_0x3640ae();});}}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(_0x2e287d,_0x2cf3d3,_0x22c3f2){super(_0x2e287d),this['defaultListMarkerStyle']=_0x2cf3d3,this['_listDefinitions']=_0x22c3f2,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2b478b={}){const _0x2f706e=this['editor']['model'],_0x24413d=_0x2b478b['listMarkerStyle']||this['defaultListMarkerStyle'];_0x2f706e['change'](()=>{const _0x354810=this['_getListTypeFromListMarkerStyle'](_0x24413d);if(!_0x354810)return;const _0x8e9d92=_0x354810+'List';this['editor']['execute'](_0x8e9d92,{'additionalAttributes':{'listMarkerStyle':_0x24413d}});});}['_getValue'](){const _0x488626=ckeditor5['first'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x488626)?_0x488626['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x76b134=this['editor'],_0x193867=_0x76b134['commands']['get']('customNumberedList'),_0x1238ed=_0x76b134['commands']['get']('customBulletedList');return _0x193867['isEnabled']||_0x1238ed['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x271e0d){const _0x47751b=this['_listDefinitions']['find'](_0x49938b=>_0x49938b['listMarkerStyle']==_0x271e0d);return _0x47751b?_0x47751b['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['ListEditing'];}constructor(_0x1a5545){super(_0x1a5545);const _0x1053af=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x4bd4ff=>_0x4bd4ff+'.'}]},..._0x1053af];}['init'](){const _0x568568=this['editor'],_0xdd463e=_0x568568['model'],_0x5c71e7=_0x568568['editing']['view'],_0x2c4889=_0x568568['plugins']['get']('ListEditing');_0x568568['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x568568,'legal',this['_listDefinitions'])),_0xdd463e['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0xdd463e['schema']['addAttributeCheck']((_0x46877c,_0x118085)=>{const _0x2467c1=_0x46877c['last'];if('listMarker'==_0x118085||'listMarkerStyle'==_0x118085)return!(!_0x2467c1['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x4f5447=>_0x4f5447['listType']==_0x2467c1['getAttribute']('listType')))&&void 0x0;});for(const _0x1c3f05 of this['_listDefinitions'])_0x568568['conversion']['for']('upcast')['add'](_0x1a3680=>{_0x1a3680['on']('element:'+('customNumbered'==_0x1c3f05['listType']?'ol':'ul'),multiLevelListUpcastConverter(_0x1c3f05,_0xdd463e['schema']),{'priority':'low'});}),_0x2c4889['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x933a8a,_0x2437f3,_0x43d961){_0x2437f3==_0x1c3f05['listMarkerStyle']?(_0x933a8a['addClass'](['multi-level-list',_0x1c3f05['className']],_0x43d961),_0x933a8a['setStyle']('list-style-type','none',_0x43d961)):(_0x933a8a['removeClass'](['multi-level-list',_0x1c3f05['className']],_0x43d961),_0x933a8a['removeStyle']('list-style-type',_0x43d961));}}),_0x2c4889['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x1c4e48,_0x1da134,{dataPipeline:_0x57169c}){if(!_0x1da134['hasAttribute']('listMarker'))return null;if(_0x1da134['getAttribute']('listType')!=_0x1c3f05['listType']||_0x1da134['getAttribute']('listMarkerStyle')!=_0x1c3f05['listMarkerStyle'])return null;const _0x10933d=String(_0x1da134['getAttribute']('listMarker')),_0x804922=this['canInjectMarkerIntoElement'](_0x1da134);return _0x1c4e48['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x57169c&&{'contenteditable':'false','data-multi-level-list-marker':_0x10933d}},function(_0x7b8fc7){const _0x95c11e=this['toDomElement'](_0x7b8fc7);return _0x804922?(_0x95c11e['appendChild'](ckeditor5['createElement'](_0x7b8fc7,'span',{},_0x57169c?_0x7b8fc7['createTextNode'](_0x10933d):[])),_0x95c11e['appendChild'](_0x7b8fc7['createTextNode']('\u00a0'))):_0x57169c&&_0x95c11e['appendChild'](_0x7b8fc7['createTextNode'](_0x10933d)),_0x95c11e;});},'canInjectMarkerIntoElement':_0x361a77=>_0xdd463e['schema']['checkChild'](_0x361a77,'$text')&&_0xdd463e['schema']['checkChild'](_0x361a77,'$inlineObject')&&!_0xdd463e['schema']['isLimit'](_0x361a77)&&_0x361a77['getAttribute']('listType')==_0x1c3f05['listType']&&_0x361a77['getAttribute']('listMarkerStyle')==_0x1c3f05['listMarkerStyle']});_0x568568['conversion']['for']('upcast')['add'](_0x3418dc=>{_0x3418dc['on']('element:span',multiLevelListMarkerUpcastConverter(_0x5c71e7));}),_0x2c4889['on']('postFixer',(_0x1237ed,{listNodes:_0x539656,writer:_0x175ed0})=>{const _0x50ab0d=[];for(const {node:_0x4ab311,previousNodeInList:_0x4dcdbd}of _0x539656){const _0x51cf2c=_0x4ab311['getAttribute']('listType'),_0xbd99fa=_0x4ab311['getAttribute']('listMarkerStyle')||('customNumbered'==_0x51cf2c?'legal':void 0x0),_0x44efd5=this['_listDefinitions']['find'](_0x4c5b2a=>_0x4c5b2a['listType']==_0x51cf2c&&_0x4c5b2a['listMarkerStyle']==_0xbd99fa);if('customNumbered'!=_0x51cf2c&&'customBulleted'!=_0x51cf2c&&(_0x4ab311['hasAttribute']('listMarker')&&(_0x175ed0['removeAttribute']('listMarker',_0x4ab311),_0x1237ed['return']=!0x0),_0x4ab311['hasAttribute']('listMarkerStyle')&&(_0x175ed0['removeAttribute']('listMarkerStyle',_0x4ab311),_0x1237ed['return']=!0x0)),!_0x44efd5){'customBulleted'!=_0x51cf2c||_0xbd99fa||(_0x175ed0['setAttribute']('listType','bulleted',_0x4ab311),_0x1237ed['return']=!0x0);continue;}_0x4ab311['hasAttribute']('listMarkerStyle')||(_0x175ed0['setAttribute']('listMarkerStyle',_0xbd99fa,_0x4ab311),_0x1237ed['return']=!0x0);const _0x120ed5=_0x4ab311['getAttribute']('listIndent');if(_0x4dcdbd&&_0x4dcdbd['getAttribute']('listItemId')==_0x4ab311['getAttribute']('listItemId'))continue;_0x50ab0d['length']=_0x120ed5+0x1,_0x4dcdbd||_0x50ab0d[_0x120ed5]?_0x4dcdbd&&_0x4dcdbd['getAttribute']('listType')!=_0x44efd5['listType']?_0x50ab0d[_0x120ed5]=0x1:_0x50ab0d[_0x120ed5]++:_0x50ab0d[_0x120ed5]=_0x4ab311['getAttribute']('listStart')||0x1;const _0x10205e=generateMarker(_0x120ed5,_0x44efd5,_0x50ab0d);_0x4ab311['getAttribute']('listMarker')!=_0x10205e&&(_0x175ed0['setAttribute']('listMarker',_0x10205e,_0x4ab311),_0x1237ed['return']=!0x0);}});const _0x4f4aea=_0x568568['editing']['view']['document'];this['listenTo'](_0x4f4aea,'clipboardOutput',(_0x5baa2a,_0x54adee)=>{const _0xaf3ac2=new ckeditor5['Matcher']({'name':'span','classes':'multi-level-list__marker'}),_0x1109f6=new ckeditor5['Matcher']({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x21c2a0=new ckeditor5['ViewUpcastWriter'](_0x54adee['content']['document']),_0x56935c=[];for(const _0x15d77d of _0x21c2a0['createRangeIn'](_0x54adee['content'])['getItems']())_0x15d77d['is']('element')&&_0xaf3ac2['match'](_0x15d77d)&&_0x56935c['push'](_0x15d77d),_0x15d77d['is']('element')&&_0x1109f6['match'](_0x15d77d)&&_0x21c2a0['removeStyle']('list-style-type',_0x15d77d);for(const _0x3b9e7e of _0x56935c)_0x21c2a0['remove'](_0x3b9e7e);});}['afterInit'](){_0x53977a(this);}}function generateMarker(_0x4b60e7,_0x13c64e,_0x29aa5b){let _0x5c1012=_0x13c64e['listMarkers'][_0x4b60e7%_0x13c64e['listMarkers']['length']];if(void 0x0===_0x5c1012['showMarkerPath']||_0x5c1012['showMarkerPath'])return _0x29aa5b['slice'](0x0,_0x4b60e7+0x1)['map']((_0x15a1b4,_0x51c0dd)=>(_0x5c1012=_0x13c64e['listMarkers'][_0x51c0dd%_0x13c64e['listMarkers']['length']],getMarkerString(_0x5c1012['marker'],_0x15a1b4)))['join']('');{const _0xa5f41a=_0x29aa5b[_0x29aa5b['length']-0x1];return getMarkerString(_0x5c1012['marker'],_0xa5f41a);}}function getMarkerString(_0x2e3353,_0x36e2b8){return'function'==typeof _0x2e3353?_0x2e3353(_0x36e2b8):_0x2e3353;}function multiLevelListUpcastConverter(_0x5e37d1,_0x509b24){return(_0x5e3c99,_0x639ea6,_0x2d0bb1)=>{const _0x5948c7=_0x639ea6['viewItem'];if(_0x639ea6['modelRange']||Object['assign'](_0x639ea6,_0x2d0bb1['convertChildren'](_0x639ea6['viewItem'],_0x639ea6['modelCursor'])),!_0x2d0bb1['consumable']['test'](_0x5948c7,{'classes':_0x5e37d1['className']}))return;const _0x3900bb=Array['from'](_0x639ea6['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x2696c3=>_0x509b24['checkAttribute'](_0x2696c3,'listItemId'));if(!_0x3900bb['length'])return;_0x2d0bb1['consumable']['consume'](_0x5948c7,{'classes':_0x5e37d1['className']}),_0x2d0bb1['consumable']['consume'](_0x5948c7,{'classes':'multi-level-list'}),_0x2d0bb1['consumable']['consume'](_0x5948c7,{'styles':'list-style-type'});const _0xf8f17f=_0x3900bb[0x0]['getAttribute']('listIndent');for(const _0x1a362e of _0x3900bb)_0x1a362e['getAttribute']('listIndent')==_0xf8f17f&&(_0x2d0bb1['writer']['setAttribute']('listType',_0x5e37d1['listType'],_0x1a362e),_0x2d0bb1['writer']['setAttribute']('listMarkerStyle',_0x5e37d1['listMarkerStyle'],_0x1a362e));};}function multiLevelListMarkerUpcastConverter(_0x5316a5){return(_0x2b7537,_0x8a0a8c,{writer:_0x1e289f,consumable:_0x383cb5})=>{const _0x1632cf=_0x8a0a8c['modelCursor'],_0x3d97df=_0x1632cf['parent'],_0x503241=_0x8a0a8c['viewItem'];if(_0x383cb5['consume'](_0x503241,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x1632cf['isAtStart']&&_0x3d97df['hasAttribute']('listType')&&_0x503241['childCount']>0x0){const _0x405de8=_0x5316a5['createRangeIn'](_0x503241);let _0x4cce5d='';for(const _0x2454d8 of _0x405de8['getItems']())_0x2454d8['is']('$textProxy')?(_0x4cce5d+=_0x2454d8['data']['trim'](),_0x383cb5['consume'](_0x2454d8['textNode'])):_0x383cb5['consume'](_0x2454d8,{'name':!0x0});_0x1e289f['setAttribute']('listMarker',_0x4cce5d['trim'](),_0x3d97df);}};}async function _0x53977a(_0x2bcece){const _0xfd84e0=_0x5e8acb([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]),_0x17b2bb=window[_0x5e8acb([0x44,0x61,0x74,0x65])][_0x5e8acb([0x6e,0x6f,0x77])](),_0x195110=_0x2bcece[_0x5e8acb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d059f=new window[(_0x5e8acb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ef2a7=>{_0x195110[_0x5e8acb([0x6f,0x6e,0x63,0x65])](_0x5e8acb([0x72,0x65,0x61,0x64,0x79]),_0x5ef2a7);}),_0x48671d={[_0x5e8acb([0x6b,0x74,0x79])]:_0x5e8acb([0x45,0x43]),[_0x5e8acb([0x75,0x73,0x65])]:_0x5e8acb([0x73,0x69,0x67]),[_0x5e8acb([0x63,0x72,0x76])]:_0x5e8acb([0x50,0x2d,0x32,0x35,0x36]),[_0x5e8acb([0x78])]:_0x5e8acb([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]),[_0x5e8acb([0x79])]:_0x5e8acb([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]),[_0x5e8acb([0x61,0x6c,0x67])]:_0x5e8acb([0x45,0x53,0x32,0x35,0x36])},_0x56871b=_0x195110[_0x5e8acb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5e8acb([0x67,0x65,0x74])](_0x5e8acb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x30c156=await(async function(){let _0x271d69,_0x34cb2f=null,_0xc5d2d=null;try{if(_0x56871b==_0x5e8acb([0x47,0x50,0x4c]))return _0x5e8acb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x271d69=(function(){const _0x2ea0f8=_0x56871b[_0x5e8acb([0x73,0x70,0x6c,0x69,0x74])](_0x5e8acb([0x2e]));if(0x3!=_0x2ea0f8[_0x5e8acb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x49679b=_0x2ea0f8[0x1];return _0x23e8a5(_0x49679b);function _0x23e8a5(_0x4f1194){const _0x4d6b1d=_0x16c6bd(_0x4f1194);return _0x4d6b1d&&_0x5064df()?_0x4d6b1d:null;function _0x5064df(){const _0x40e734=_0x4d6b1d[_0x5e8acb([0x6a,0x74,0x69])],_0x41b522=window[_0x5e8acb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40e734[_0x5e8acb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40e734[_0x5e8acb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3dac2b={..._0x4d6b1d,[_0x5e8acb([0x6a,0x74,0x69])]:_0x40e734[_0x5e8acb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40e734[_0x5e8acb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3dac2b[_0x5e8acb([0x76,0x63])],_0x1d6dca(_0x3dac2b)==_0x41b522;}}}()),!_0x271d69)return _0x5e8acb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x271d69[_0x5e8acb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc5d2d=function(_0x151278,_0x32dbc2){return new window[(_0x5e8acb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x472110=>{if(_0x1dfc13())return _0x472110(_0x5e8acb([0x56,0x61,0x6c,0x69,0x64]));_0x1ddefc(),_0x195110[_0x5e8acb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5e8acb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x994c6e=!0x1;const _0x50294b=ckeditor5['uid']();function _0x38479e(_0x54f022){return!!_0x54f022&&(typeof _0x54f022===_0x5e8acb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x54f022===_0x5e8acb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x54f022[_0x5e8acb([0x74,0x68,0x65,0x6e])]===_0x5e8acb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x54f022[_0x5e8acb([0x63,0x61,0x74,0x63,0x68])]===_0x5e8acb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c5489(_0x314e99){_0x26b672(_0x314e99)[_0x5e8acb([0x74,0x68,0x65,0x6e])](_0x53386e=>{if(!_0x53386e||_0x53386e[_0x5e8acb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5e8acb([0x6f,0x6b]))return _0x5e8acb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1c9823(_0x1d6dca(_0x50294b+_0x32dbc2))!=_0x53386e[_0x5e8acb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5e8acb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5e8acb([0x56,0x61,0x6c,0x69,0x64]);})[_0x5e8acb([0x74,0x68,0x65,0x6e])](_0x3ef867=>(_0x8a4971(),_0x3ef867),()=>{const _0x71c150=_0xed5dce();return null==_0x71c150?(_0x8a4971(),_0x5e8acb([0x56,0x61,0x6c,0x69,0x64])):_0x5e8acb(_0x17b2bb-_0x71c150>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5e8acb([0x74,0x68,0x65,0x6e])](_0x472110)[_0x5e8acb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x472110(_0x5e8acb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4b3cf4=0x36ee80;function _0x8a4971(){const _0x53f4eb=_0x5e8acb([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c9823(_0x1d6dca(_0x151278)),_0x779799=_0x555ea1(_0x1c9823(window[_0x5e8acb([0x4d,0x61,0x74,0x68])][_0x5e8acb([0x63,0x65,0x69,0x6c])](_0x17b2bb/_0x4b3cf4)));window[_0x5e8acb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e8acb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53f4eb,_0x779799);}function _0xed5dce(){const _0x50ffee=_0x5e8acb([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c9823(_0x1d6dca(_0x151278)),_0x3f4049=window[_0x5e8acb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e8acb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50ffee);return _0x3f4049?window[_0x5e8acb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x555ea1(_0x3f4049),0x10)*_0x4b3cf4:null;}function _0x26b672(_0xbd32c2){return new window[(_0x5e8acb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d86fe,_0x139880)=>{_0xbd32c2[_0x5e8acb([0x74,0x68,0x65,0x6e])](_0x4d86fe,_0x139880),window[_0x5e8acb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x139880,0x1d4c0);});}}_0x195110[_0x5e8acb([0x6f,0x6e])](_0x5e8acb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4a4407,_0x2cd456)=>{if(_0x2cd456[0x0]!=_0x151278)return _0x472110(_0x5e8acb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2cd456[0x1]={..._0x2cd456[0x1],[_0x5e8acb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x50294b};},{[_0x5e8acb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e8acb([0x68,0x69,0x67,0x68])}),_0x195110[_0x5e8acb([0x6f,0x6e])](_0x5e8acb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3bcfb9=>{_0x38479e(_0x3bcfb9[_0x5e8acb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x994c6e=!0x0,_0x3c5489(_0x3bcfb9[_0x5e8acb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5e8acb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e8acb([0x6c,0x6f,0x77])}),_0x2d059f[_0x5e8acb([0x74,0x68,0x65,0x6e])](()=>{_0x994c6e||_0x472110(_0x5e8acb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1dfc13(){return _0x195110[_0x5e8acb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e8acb([0x76,0x69,0x65,0x77])][_0x5e8acb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5e8acb([0x61,0x75,0x74,0x6f]);}function _0x1ddefc(){_0x195110[_0x5e8acb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e8acb([0x76,0x69,0x65,0x77])][_0x5e8acb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5e8acb([0x61,0x75,0x74,0x6f]);}}(_0x271d69[_0x5e8acb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x271d69[_0x5e8acb([0x6a,0x74,0x69])]));const _0x473619=await(async function(){let _0x552326=!0x0;try{const _0x1bb3f7=_0x56871b[_0x5e8acb([0x73,0x70,0x6c,0x69,0x74])](_0x5e8acb([0x2e])),[_0x14f712,_0x305db8,_0x374e78]=_0x1bb3f7;return _0x3a2790(_0x14f712),await _0x11e6a2(_0x14f712,_0x305db8,_0x374e78),_0x552326;}catch{return!0x1;}function _0x3a2790(_0x215ca2){const _0x5d8512=_0x16c6bd(_0x215ca2);_0x5d8512&&_0x5d8512[_0x5e8acb([0x61,0x6c,0x67])]==_0x5e8acb([0x45,0x53,0x32,0x35,0x36])||(_0x552326=!0x1);}async function _0x11e6a2(_0x42c50,_0x58ba0b,_0x296379){const _0x24d580=window[_0x5e8acb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5e8acb([0x66,0x72,0x6f,0x6d])](_0x40efa3(_0x296379),_0x146c9c=>_0x146c9c[_0x5e8acb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e8894=new window[(_0x5e8acb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5e8acb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x42c50+_0x5e8acb([0x2e])+_0x58ba0b),_0x5be910=window[_0x5e8acb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5e8acb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5be910)return;const _0x2dd05d=await _0x5be910[_0x5e8acb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5e8acb([0x6a,0x77,0x6b]),_0x48671d,{[_0x5e8acb([0x6e,0x61,0x6d,0x65])]:_0x5e8acb([0x45,0x43,0x44,0x53,0x41]),[_0x5e8acb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5e8acb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5e8acb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5be910[_0x5e8acb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5e8acb([0x6e,0x61,0x6d,0x65])]:_0x5e8acb([0x45,0x43,0x44,0x53,0x41]),[_0x5e8acb([0x68,0x61,0x73,0x68])]:{[_0x5e8acb([0x6e,0x61,0x6d,0x65])]:_0x5e8acb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2dd05d,_0x24d580,_0x5e8894)||(_0x552326=!0x1);}}());return _0x473619?(function(){const _0x42f107=_0x271d69[_0x5e8acb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x42f107)return!0x1;if(_0x42f107[_0x5e8acb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e8acb([0x2a])))return!0x0;if(_0x42f107[_0x5e8acb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e8acb([0x4d,0x4c,0x4c])))return!0x0;return!0x1;}())?(function(){const _0x54de32=[_0x5e8acb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5e8acb([0x74,0x72,0x69,0x61,0x6c])][_0x5e8acb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x271d69[_0x5e8acb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x17b2bb/0x3e8:0x69e02680;return _0x271d69[_0x5e8acb([0x65,0x78,0x70])]<_0x54de32;}())?_0x5e8acb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x159de0=_0x271d69[_0x5e8acb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x159de0||0x0==_0x159de0[_0x5e8acb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1165a1}=new URL(window[_0x5e8acb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x159de0[_0x5e8acb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1165a1))return!0x0;const _0x181c41=_0x1165a1[_0x5e8acb([0x73,0x70,0x6c,0x69,0x74])](_0x5e8acb([0x2e]));return _0x159de0[_0x5e8acb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b6627=>_0x3b6627[_0x5e8acb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e8acb([0x2a])))[_0x5e8acb([0x6d,0x61,0x70])](_0x572c7d=>_0x572c7d[_0x5e8acb([0x73,0x70,0x6c,0x69,0x74])](_0x5e8acb([0x2e])))[_0x5e8acb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5202a7=>_0x5202a7[_0x5e8acb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x181c41[_0x5e8acb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e8acb([0x6d,0x61,0x70])](_0x4429e6=>Array(_0x181c41[_0x5e8acb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4429e6[_0x5e8acb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e8acb([0x66,0x69,0x6c,0x6c])](_0x4429e6[0x0]===_0x5e8acb([0x2a])?_0x5e8acb([0x2a]):'')[_0x5e8acb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4429e6))[_0x5e8acb([0x73,0x6f,0x6d,0x65])](_0x22cff5=>_0x181c41[_0x5e8acb([0x65,0x76,0x65,0x72,0x79])]((_0x5036c8,_0x3b4383)=>_0x22cff5[_0x3b4383]===_0x5036c8||_0x22cff5[_0x3b4383]===_0x5e8acb([0x2a])));}())?(_0x271d69[_0x5e8acb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e8acb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x34cb2f=function(_0x23add2){const _0x3276e4=new window[(_0x5e8acb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2599ac=>setTimeout(_0x2599ac,0x93ecc)),_0x3ff358=_0x2d059f[_0x5e8acb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5e8acb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x463371=>{let _0x56df72=0x0;_0x195110[_0x5e8acb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e8acb([0x6f,0x6e])](_0x5e8acb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5be08a,_0xf50e58)=>{_0xf50e58[0x0][_0x5e8acb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x56df72++,0x5e8==_0x56df72&&(_0x463371(),_0x5be08a[_0x5e8acb([0x6f,0x66,0x66])]());});})),_0x32415a=[_0x3276e4,_0x3ff358];return window[_0x5e8acb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5e8acb([0x72,0x61,0x63,0x65])](_0x32415a)[_0x5e8acb([0x74,0x68,0x65,0x6e])](()=>_0x23add2);}(_0x5e8acb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x34cb2f&&_0xc5d2d)return new window[(_0x5e8acb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x364417,_0x55cc49)=>{_0x34cb2f[_0x5e8acb([0x74,0x68,0x65,0x6e])](_0x364417,_0x55cc49),_0xc5d2d[_0x5e8acb([0x74,0x68,0x65,0x6e])](_0x539017=>{_0x539017!=_0x5e8acb([0x56,0x61,0x6c,0x69,0x64])&&_0x364417(_0x539017);},_0x55cc49);});return _0x34cb2f||_0xc5d2d||_0x5e8acb([0x56,0x61,0x6c,0x69,0x64]);}())):_0x5e8acb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5e8acb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5e8acb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5e8acb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x16c6bd(_0x193406){return _0x193406[_0x5e8acb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5e8acb([0x65,0x79]))?JSON[_0x5e8acb([0x70,0x61,0x72,0x73,0x65])](_0x40efa3(_0x193406)):null;}function _0x40efa3(_0x55a7f5){return window[_0x5e8acb([0x61,0x74,0x6f,0x62])](_0x55a7f5[_0x5e8acb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5e8acb([0x2b]))[_0x5e8acb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5e8acb([0x2f])));}function _0x1d6dca(_0x44fd54){let _0x1969da=0x1505;function _0x55ff3a(_0x484b75){for(let _0x321f39=0x0;_0x321f39<_0x484b75[_0x5e8acb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x321f39++){const _0x42bd4c=_0x484b75[_0x5e8acb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x321f39);_0x1969da=(_0x1969da<<0x5)+_0x1969da+_0x42bd4c,_0x1969da&=_0x1969da;}}return function _0xffcafd(_0x1735ee){Array[_0x5e8acb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1735ee)?_0x1735ee[_0x5e8acb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xffcafd):_0x1735ee&&typeof _0x1735ee==_0x5e8acb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5e8acb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1735ee)[_0x5e8acb([0x73,0x6f,0x72,0x74])]()[_0x5e8acb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1a4253,_0x51835d])=>{_0x55ff3a(_0x1a4253),_0xffcafd(_0x51835d);}):_0x55ff3a(window[_0x5e8acb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1735ee));}(_0x44fd54),_0x1969da>>>0x0;}function _0x1c9823(_0xfb19ca){return _0xfb19ca[_0x5e8acb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5e8acb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5e8acb([0x30]));}function _0x555ea1(_0x38c06a){return _0x38c06a[_0x5e8acb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5e8acb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5e8acb([0x6a,0x6f,0x69,0x6e])]('');}function _0x25fde8(){}function _0x5e8acb(_0x5ea8d3){return _0x5ea8d3['map'](_0xc66ae0=>String['fromCharCode'](_0xc66ae0))['join']('');}!function(_0x215a63){const _0x103d84=(function(){const _0x1dfa70=window[_0x5e8acb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5e8acb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5e8acb([0x6e,0x6f,0x77])]())[_0x5e8acb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5e8acb([0x2e]),'');let _0x15a53e=_0x5e8acb([0x75]);for(let _0x360b71=0x0;_0x360b71<_0x1dfa70[_0x5e8acb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x360b71+=0x2){let _0x1ff4f3=window[_0x5e8acb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1dfa70[_0x5e8acb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x360b71,_0x360b71+0x2));_0x1ff4f3>=_0xfd84e0[_0x5e8acb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ff4f3-=_0xfd84e0[_0x5e8acb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x15a53e+=_0xfd84e0[_0x1ff4f3];}return _0x15a53e;}());_0x195110[_0x103d84]=_0x5e8acb([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x215a63,_0x215a63!=_0x5e8acb([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x2d059f,_0x195110[_0x5e8acb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e8acb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25fde8,_0x195110[_0x5e8acb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e8acb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25fde8,_0x195110[_0x5e8acb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5e8acb([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x30c156);}function getTranslation$9(_0x19e624,_0x22cc18){const _0x35b139=_0x19e624['t'],t=_0x19e624['t'];switch(_0x22cc18){case'Start\x20at':return _0x35b139('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x35b139('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x35b139('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x35b139('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 _0x22cc18;}}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(_0x47450c,{enabledProperties:_0x18fd71,styleButtonViews:_0x4a7688,styleGridAriaLabel:_0x292e59}){super(_0x47450c);const _0x232a0f=['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'}}),_0x18fd71['styles']?(this['stylesView']=this['_createStylesView'](_0x4a7688,_0x292e59),this['children']['add'](this['stylesView'])):_0x232a0f['push']('ck-multi-level-list-properties_without-styles'),_0x18fd71['startIndex']&&(this['_addListPropertyViews'](_0x18fd71),_0x232a0f['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x232a0f},'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 _0x483720 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x483720['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 _0x251045=_0x2fbfe9=>_0x2fbfe9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x251045),this['keystrokes']['set']('arrowleft',_0x251045),this['keystrokes']['set']('arrowup',_0x251045),this['keystrokes']['set']('arrowdown',_0x251045);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x9acd2c,_0x38b8a0){const _0x11adf3=new ckeditor5['View'](this['locale']);return _0x11adf3['children']=_0x11adf3['createCollection'](),_0x11adf3['children']['addMany'](_0x9acd2c),_0x11adf3['setTemplate']({'tag':'div','attributes':{'aria-label':_0x38b8a0,'class':['ck','ck-multi-level-list-styles']},'children':_0x11adf3['children']}),_0x11adf3['children']['delegate']('execute')['to'](this),_0x11adf3['focus']=function(){this['children']['first']['focus']();},_0x11adf3['focusTracker']=new ckeditor5['FocusTracker'](),_0x11adf3['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0x11adf3['render'](),_0x11adf3['keystrokes']['listenTo'](_0x11adf3['element']),_0x11adf3;}['_addListPropertyViews'](_0x411aa2){const _0x291669=[];_0x411aa2['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x291669['push'](this['startIndexFieldView'])),_0x411aa2['styles']?(this['additionalPropertiesCollapsibleView']=new ckeditor5['CollapsibleView'](this['locale'],_0x291669),this['additionalPropertiesCollapsibleView']['set']({'label':getTranslation$9(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x291669,'isEnabled',(..._0x26ef7f)=>_0x26ef7f['some'](_0x1f2daf=>_0x1f2daf)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x18f6e1,_0x931a0,_0x6e7db1)=>{_0x6e7db1||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x291669);}['_createStartIndexField'](){const _0x473f7c=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputNumber']);return _0x473f7c['set']({'label':getTranslation$9(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x473f7c['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x473f7c['fieldView']['on']('input',()=>{const _0x4284d8=_0x473f7c['fieldView']['element'],_0xdab6c1=_0x4284d8['valueAsNumber'];Number['isNaN'](_0xdab6c1)?_0x473f7c['errorText']=getTranslation$9(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x4284d8['checkValidity']()?this['fire']('listStart',{'startIndex':_0xdab6c1}):_0x473f7c['errorText']=getTranslation$9(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x473f7c;}}class MultiLevelListUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x999bdb=this['editor'];_0x999bdb['ui']['componentFactory']['add']('multiLevelList',getViewCreator({'editor':_0x999bdb,'parentCommandName':'multiLevelList','buttonLabel':getTranslation$9(_0x999bdb['locale'],'Multi-level\x20List'),'buttonIcon':ckeditor5['IconMultiLevelList'],'styleGridAriaLabel':getTranslation$9(_0x999bdb['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x999bdb['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x26ac4d=_0x999bdb['commands']['get']('multiLevelList'),_0x1c6f00=new ckeditor5['MenuBarMenuListItemButtonView'](_0x999bdb['locale']);return _0x1c6f00['set']({'label':getTranslation$9(_0x999bdb['locale'],'Multi-level\x20List'),'icon':ckeditor5['IconMultiLevelList']}),_0x1c6f00['bind']('isEnabled')['to'](_0x26ac4d),_0x1c6f00['bind']('isOn')['to'](_0x26ac4d,'value',_0x25deeb=>!!_0x25deeb),_0x1c6f00['on']('execute',()=>{_0x999bdb['execute']('multiLevelList'),_0x999bdb['editing']['view']['focus']();}),_0x1c6f00;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x185b74=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3af9b0;for(const _0x3a69e0 in _0x185b74){const _0x42c96c=_0x3a69e0,_0x1791b2=_0x185b74[_0x42c96c];if('multiLevelListLicenseKeyValid'==_0x1791b2||'multiLevelListLicenseKeyInvalid'==_0x1791b2||'multiLevelListLicenseKeyExpired'==_0x1791b2||'multiLevelListLicenseKeyDomainLimit'==_0x1791b2||'multiLevelListLicenseKeyNotAllowed'==_0x1791b2||'multiLevelListLicenseKeyEvaluationLimit'==_0x1791b2||'multiLevelListLicenseKeyUsageLimit'==_0x1791b2){delete _0x185b74[_0x42c96c],_0x3af9b0=_0x1791b2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x3af9b0&&_0x185b74['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x3af9b0&&_0x185b74['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x3af9b0&&_0x185b74['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x3af9b0&&_0x185b74['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x3af9b0&&_0x185b74['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x3af9b0&&_0x185b74['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getViewCreator({editor:_0xa40800,parentCommandName:_0x53df01,buttonLabel:_0x1d937f,buttonIcon:_0x277f6f,styleGridAriaLabel:_0x21c911,styleDefinitions:_0x32ebc7}){const _0x2b695a=_0xa40800['commands']['get'](_0x53df01),_0x54e710=_0xa40800['config']['get']('list.properties')||{},_0x560b88=_0xa40800['plugins']['has']('ListProperties'),_0x3c4f00=_0x54e710['startIndex'];return _0x560b88&&_0x3c4f00?_0x3f7eb6=>{const _0x5a6aa3=ckeditor5['createDropdown'](_0x3f7eb6,ckeditor5['SplitButtonView']),_0x2d431c=_0x5a6aa3['buttonView'];return _0x5a6aa3['bind']('isEnabled')['to'](_0x2b695a),_0x5a6aa3['class']='ck-list-styles-dropdown',_0x2d431c['on']('execute',()=>{_0xa40800['execute'](_0x53df01),_0xa40800['editing']['view']['focus']();}),_0x2d431c['set']({'label':_0x1d937f,'icon':_0x277f6f,'tooltip':!0x0,'isToggleable':!0x0}),_0x2d431c['bind']('isOn')['to'](_0x2b695a,'value',_0x40bca7=>!!_0x40bca7),_0x5a6aa3['once']('change:isOpen',()=>{const _0xef6744=createListPropertiesView({'editor':_0xa40800,'dropdownView':_0x5a6aa3,'styleGridAriaLabel':_0x21c911,'styleDefinitions':_0x32ebc7});_0x5a6aa3['panelView']['children']['add'](_0xef6744);}),_0x5a6aa3['on']('execute',()=>{_0xa40800['editing']['view']['focus']();}),_0x5a6aa3;}:_0x1a3d35=>{const _0x22b6e5=new ckeditor5['ButtonView'](_0x1a3d35);return _0x22b6e5['set']({'label':_0x1d937f,'icon':_0x277f6f,'tooltip':!0x0,'isToggleable':!0x0}),_0x22b6e5['bind']('isOn')['to'](_0x2b695a,'value',_0x6f5020=>!!_0x6f5020),_0x22b6e5['on']('execute',()=>{_0xa40800['execute'](_0x53df01),_0xa40800['editing']['view']['focus']();}),_0x22b6e5;};}function createListPropertiesView({editor:_0x5da65a,dropdownView:_0x1945f2,styleDefinitions:_0x4ee8dd,styleGridAriaLabel:_0x48c985}){const _0x5646eb=_0x5da65a['locale'],_0x392922=_0x5da65a['config']['get']('list.properties');_0x392922['reversed']=!0x1,_0x4ee8dd['length']||(_0x392922['styles']=!0x1);const _0x1c1338=new MultiLevelListView(_0x5646eb,{'styleGridAriaLabel':_0x48c985,'enabledProperties':_0x392922,'styleButtonViews':null});if(_0x392922['startIndex']){const _0x702a85=_0x5da65a['commands']['get']('listStart');_0x1c1338['startIndexFieldView']['bind']('isEnabled')['to'](_0x702a85),_0x1c1338['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x702a85),_0x1c1338['on']('listStart',(_0x269863,_0x406c41)=>_0x5da65a['execute']('listStart',_0x406c41));}return _0x1c1338['delegate']('execute')['to'](_0x1945f2),_0x1c1338;}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 _0x3f5d1a=this['editor']['model'],_0x41288f=_0x3f5d1a['schema']['checkChild'](_0x3f5d1a['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x41288f;}['execute'](_0x47a287){if(!_0x47a287||'string'!=typeof _0x47a287)return;const _0x467a8c=this['editor']['model'];_0x467a8c['change'](_0x8e1a72=>{_0x467a8c['deleteContent'](_0x467a8c['document']['selection']);const _0x51753d=_0x8e1a72['createElement']('mergeField',{'id':_0x47a287});for(const [_0x338de1,_0x1f805a]of _0x467a8c['document']['selection']['getAttributes']())_0x467a8c['schema']['checkAttribute'](_0x51753d,_0x338de1)&&_0x8e1a72['setAttribute'](_0x338de1,_0x1f805a,_0x51753d);_0x467a8c['insertContent'](_0x51753d,_0x467a8c['document']['selection'],0x0,{'setSelection':'after'});});}}class InsertMergeFieldBlockCommand extends ckeditor5['Command']{['refresh'](){const _0x5d6484=this['editor']['model'],_0x323aea=_0x5d6484['document']['selection'];this['isEnabled']=isAllowedInParent(_0x323aea,_0x5d6484);}['execute'](_0x49a0f9,_0x172468){if(!_0x49a0f9||'string'!=typeof _0x49a0f9)return;const _0x22348e=this['editor']['model'];_0x22348e['change'](_0x2261bb=>{const _0x413b1b=_0x2261bb['createElement']('mergeFieldBlock',{'id':_0x49a0f9});_0x22348e['insertObject'](_0x413b1b,_0x22348e['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x172468?void 0x0:'auto'});});}}function isAllowedInParent(_0x36f4c0,_0x15c4c6){let _0x3c84ad=ckeditor5['findOptimalInsertionRange'](_0x36f4c0,_0x15c4c6)['start']['parent'];return _0x3c84ad['isEmpty']&&!_0x15c4c6['schema']['isLimit'](_0x3c84ad)&&(_0x3c84ad=_0x3c84ad['parent']),_0x15c4c6['schema']['checkChild'](_0x3c84ad,'mergeFieldBlock');}class InsertMergeFieldImageCommand extends ckeditor5['Command']{constructor(_0x122a94){super(_0x122a94),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0x1664b6,_0x2a88a4){if(!_0x1664b6||'string'!=typeof _0x1664b6)return;const _0xb750=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x5151af=_0xb750['getMergeFieldWidth'](_0x1664b6),_0x306f98=_0xb750['getMergeFieldHeight'](_0x1664b6);this['editor']['execute']('insertImage',{'source':{'src':_0xb750['wrapInAffixes'](_0x1664b6),'width':_0x5151af,'height':_0x306f98},'breakBlock':_0x2a88a4&&_0x2a88a4['breakBlock']});}}class _0x5b02b3 extends ckeditor5['Command']{constructor(_0x574abe){super(_0x574abe);const _0x242858=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x242858,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x576251){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x576251;}}const _0x6477c7=0x78,_0x29cfda=0x190,_0x1ae6e6=0x190,_0x7fd928=/^[a-zA-Z0-9_.-]+$/;class MergeFieldsEditing extends ckeditor5['Plugin']{['availablePreviewModes'];['flattenedMergeFieldDefinitions']=[];['_mergeFieldElements'];['_mergeFieldPrefix'];['_mergeFieldSuffix'];['_mergeFieldRegExp'];['_shouldPreviewHtmlValues'];static get['requires'](){return['ImageUtils','ImageEditing'];}static get['pluginName'](){return'MergeFieldsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x237dd7){super(_0x237dd7),_0x237dd7['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x237dd7['config']['define']('mergeFields.dataSets',[]),_0x237dd7['config']['define']('mergeFields.definitions',[]),_0x237dd7['config']['define']('mergeFields.prefix','{{'),_0x237dd7['config']['define']('mergeFields.suffix','}}'),_0x237dd7['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x237dd7['config']['define']('mergeFields.sanitizeHtml',_0x24891e=>(ckeditor5['logWarning']('merge-fields-provide-sanitize-function'),{'html':_0x24891e,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x237dd7['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x237dd7['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x237dd7['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0x35b99a='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0xef48ea='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0x35b99a+'[^'+(_0x35b99a+_0xef48ea)+'\x20]+'+_0xef48ea+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x1a17e5=_0x237dd7['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x1a17e5),this['set']('previewMode',_0x1a17e5),this['_mergeFieldElements']=new Set();}['init'](){const _0x54fed7=this['editor'];_0x54fed7['commands']['add']('insertMergeField',new InsertMergeFieldCommand(_0x54fed7)),_0x54fed7['commands']['add']('insertMergeFieldBlock',new InsertMergeFieldBlockCommand(_0x54fed7)),_0x54fed7['commands']['add']('insertMergeFieldImage',new InsertMergeFieldImageCommand(_0x54fed7)),_0x54fed7['commands']['add']('previewMergeFields',new _0x5b02b3(_0x54fed7)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x4b0c7e,_0x52f6ef,_0x2748ab)=>{this['_validatePreviewMode'](_0x2748ab),this['refreshMergeFields']();}),this['listenTo'](_0x54fed7['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x54fed7['editing']['mapper']['on']('viewToModelPosition',ckeditor5['viewToModelPositionOutsideModelElement'](_0x54fed7['model'],_0x156a32=>_0x156a32['hasClass']('ck-merge-field'))),_0x54fed7['editing']['mapper']['on']('viewToModelPosition',ckeditor5['viewToModelPositionOutsideModelElement'](_0x54fed7['model'],_0x993a7d=>_0x993a7d['hasClass']('ck-merge-field-block'))),_0x54fed7['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),_0x391831(this);}['isMergeField'](_0x384ffb){return'mergeField'===_0x384ffb['name']||'mergeFieldBlock'===_0x384ffb['name']||!!('imageBlock'===_0x384ffb['name']||'imageInline'===_0x384ffb['name']&&_0x384ffb['getAttribute']('src'))&&!!_0x384ffb['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0x4a3eb7={},_0x2735d5=this['getMergeFieldsIds']();for(const _0x4afa2a of _0x2735d5)_0x4a3eb7[_0x4afa2a]=this['getMergeFieldDefaultValue'](_0x4afa2a);return _0x4a3eb7;}['getDataSetValues'](_0x87abd1,_0x7a6f22=!0x1){const _0x3cac0d={},_0x375d51=this['getMergeFieldsIds']();for(const _0x59ee45 of _0x375d51){let _0x44bcff=this['getMergeFieldValue'](_0x59ee45,_0x87abd1);null===_0x44bcff&&_0x7a6f22&&(_0x44bcff=this['getMergeFieldDefaultValue'](_0x59ee45)),_0x3cac0d[_0x59ee45]=_0x44bcff;}return _0x3cac0d;}['getLabel'](_0x2428db){const _0x3d0747=this['getDefinition'](_0x2428db);return _0x3d0747&&_0x3d0747['label']?_0x3d0747['label']:null;}['getMergeFieldDefaultValue'](_0x4107eb){const _0x25a7c8=this['getDefinition'](_0x4107eb);if(!_0x25a7c8||void 0x0===_0x25a7c8['defaultValue'])return null;const _0x5e0fa4='function'==typeof _0x25a7c8['defaultValue']?_0x25a7c8['defaultValue'](this['editor']):_0x25a7c8['defaultValue'];return String(_0x5e0fa4);}['getMergeFieldValue'](_0x1e035f,_0x57afca){const _0x625837=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x135867=>_0x135867['id']===_0x57afca);if(!_0x625837)throw new ckeditor5['CKEditorError']('merge-fields-data-set-not-found',null);const _0x2aa815=_0x625837['values'][_0x1e035f];if(void 0x0===_0x2aa815)return null;const _0x38e535='function'==typeof _0x2aa815?_0x2aa815(this['editor']):_0x2aa815;return String(_0x38e535);}['getMergeFieldType'](_0x15a462){if('string'!=typeof _0x15a462){const _0x5deb03=_0x15a462;return'mergeField'===_0x5deb03['name']?'text':'mergeFieldBlock'===_0x5deb03['name']?'block':'imageBlock'!==_0x5deb03['name']&&'imageInline'!==_0x5deb03['name']||!_0x5deb03['getAttribute']('src')?null:_0x5deb03['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x15c3ae=this['getDefinition'](_0x15a462);return _0x15c3ae&&_0x15c3ae['type']?_0x15c3ae['type']:'text';}['getMergeFieldHeight'](_0x3c2d8a){const _0x3e0e20=this['getDefinition'](_0x3c2d8a);return _0x3e0e20&&'block'===_0x3e0e20['type']?_0x3e0e20['height']||_0x6477c7:_0x3e0e20&&'image'===_0x3e0e20['type']?_0x3e0e20['height']||_0x29cfda:null;}['getMergeFieldWidth'](_0xae2ed2){const _0x272a43=this['getDefinition'](_0xae2ed2);return _0x272a43&&'image'===_0x272a43['type']?_0x272a43['width']||_0x1ae6e6:null;}['getDocumentMergeFieldsIds'](){const _0x3fd518=new Set();for(const _0x493fc4 of this['_mergeFieldElements'])'$graveyard'!==_0x493fc4['root']['rootName']&&('image'===this['getMergeFieldType'](_0x493fc4)?_0x3fd518['add'](this['unwrapAffixes'](_0x493fc4['getAttribute']('src'))):_0x3fd518['add'](_0x493fc4['getAttribute']('id')));return Array['from'](_0x3fd518);}['getMergeFieldsIds'](){const _0x524db8=this['flattenedMergeFieldDefinitions']['map'](_0x103dc3=>_0x103dc3['id']),_0x424913=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x524db8,..._0x424913]));}['getDefinition'](_0x1dc7c9){return this['flattenedMergeFieldDefinitions']['find'](_0x1bad24=>_0x1bad24['id']===_0x1dc7c9)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x3dd031=>{'$graveyard'!==_0x3dd031['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x3dd031);});}['wrapInAffixes'](_0x4d26e3){return this['_mergeFieldPrefix']+_0x4d26e3+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x183646){return _0x183646['slice'](this['_mergeFieldPrefix']['length'],_0x183646['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x5aeb16=new Set(),_0x5df8d2=this['editor'];return _0x5df8d2['config']['get']('mergeFields.definitions')['reduce']((_0x31439a,_0x5c3458)=>{if('groupId'in _0x5c3458){if(_0x5aeb16['has'](_0x5c3458['groupId']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-group-id',_0x5df8d2,{'duplicateId':_0x5c3458['groupId']});_0x5aeb16['add'](_0x5c3458['groupId']);}return'groupId'in _0x5c3458?function(_0x4ca609,_0x43e476){for(const _0xd76836 of _0x43e476['definitions'])_0x4ca609=_0x4ca609['concat'](_0xd76836);return _0x4ca609;}['bind'](_0x5df8d2)(_0x31439a,_0x5c3458):_0x31439a['concat'](_0x5c3458);},new Array());}['_validateConfig'](){const _0x3d2d46=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x3d2d46['test'](this['_mergeFieldPrefix'])||!_0x3d2d46['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 _0x42a44b=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x275309=>{if(!_0x7fd928['test'](_0x275309['id']))throw new ckeditor5['CKEditorError']('merge-fields-invalid-id',this,{'incorrectId':_0x275309['id']});if(_0x42a44b['has'](_0x275309['id']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x275309['id']});_0x42a44b['add'](_0x275309['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new ckeditor5['CKEditorError']('merge-fields-prefix-and-suffix-must-differ',this);const _0xecb806=this['editor']['config']['get']('mergeFields.previewModes'),_0x14a145=['$labels','$defaultValues','$dataSets'];if(!_0xecb806['length']||!_0xecb806['every'](_0x39a6ec=>_0x14a145['includes'](_0x39a6ec)))throw new ckeditor5['CKEditorError']('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0xecb806});const _0xa99a53=new Set(),_0x12cce1=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x11b6ae of _0x12cce1){if(_0xa99a53['has'](_0x11b6ae['id']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x11b6ae['id']});_0xa99a53['add'](_0x11b6ae['id']);}}['_getAvailablePreviewModes'](){const _0x40a5e4=this['editor']['config']['get']('mergeFields.previewModes'),_0x264a9b=[];if(_0x40a5e4['includes']('$labels')&&_0x264a9b['push']('$labels'),_0x40a5e4['includes']('$defaultValues')&&_0x264a9b['push']('$defaultValues'),_0x40a5e4['includes']('$dataSets')){const _0x3441e9=this['editor']['config']['get']('mergeFields.dataSets');_0x264a9b['push'](..._0x3441e9['map'](_0x2966e3=>_0x2966e3['id']));}return _0x264a9b;}['_defineSchema'](){const _0x4f39a5=this['editor']['model']['schema'];_0x4f39a5['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x4f39a5['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0x6ace74=this['editor']['conversion'];_0x6ace74['for']('upcast')['add'](_0xf6ae67=>{_0xf6ae67['on']('text',(_0x3a9daa,_0x3baf36,_0x3a654a)=>{const {writer:_0x15d2c6,safeInsert:_0x3dc376}=_0x3a654a,{viewItem:_0x44e278}=_0x3baf36,_0x41d0e2=_0x44e278['data']['split'](this['_mergeFieldRegExp'])['filter'](_0x12f525=>_0x12f525);if(0x1===_0x41d0e2['length']&&!_0x41d0e2[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x3baf36['modelRange'])return;const _0x41738c=_0x15d2c6['createElement']('$cursor');_0x15d2c6['insert'](_0x41738c,_0x3baf36['modelCursor']);const _0xc075d9=[];for(const _0x27ba23 of _0x3baf36['modelRange']['getItems']()){if(!_0x27ba23['is']('$textProxy'))continue;const _0x4f976f=_0x27ba23['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x33ba14=_0x27ba23['parent'],_0x5dbae4=_0x27ba23['textNode']['startOffset'];for(const _0x349b7 of[..._0x4f976f]['reverse']()){const _0x57dc7c=_0x349b7[0x0],_0x4feb16=_0x15d2c6['createPositionAt'](_0x33ba14,_0x349b7['index']+_0x5dbae4),_0x62812e=_0x4feb16['getShiftedBy'](_0x57dc7c['length']),_0x205a8e=_0x15d2c6['createRange'](_0x4feb16,_0x62812e),_0x4e4447=this['unwrapAffixes'](_0x57dc7c),_0x3e5a6d=this['getMergeFieldType'](_0x4e4447),_0x438554='block'==_0x3e5a6d?'mergeFieldBlock':'mergeField',_0x536cf1=_0x15d2c6['createElement'](_0x438554,{'id':_0x4e4447});_0x15d2c6['remove'](_0x205a8e),_0x15d2c6['insert'](_0x536cf1,_0x4feb16),'block'==_0x3e5a6d&&_0xc075d9['push'](_0x536cf1);}}_0xc075d9['reverse']();for(const _0x2a8cb7 of _0xc075d9){const _0x8a6a1=_0x15d2c6['createPositionBefore'](_0x2a8cb7),_0x149b08=_0x2a8cb7['nextSibling']==_0x41738c;_0x15d2c6['remove'](_0x2a8cb7),_0x3dc376(_0x2a8cb7,_0x8a6a1)&&_0x149b08&&_0x15d2c6['move'](_0x15d2c6['createRangeOn'](_0x41738c),_0x15d2c6['createPositionAfter'](_0x2a8cb7));}_0x3baf36['modelCursor']=_0x15d2c6['createPositionBefore'](_0x41738c),_0x3baf36['modelRange']=_0x15d2c6['createRange'](_0x3baf36['modelRange']['start'],_0x3baf36['modelCursor']),_0x15d2c6['remove'](_0x41738c);},{'priority':ckeditor5['priorities']['get']('lowest')-0x1});}),_0x6ace74['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0xebc3ce,{writer:_0x2a487f})=>_0x2a487f['createElement']('mergeField',{'id':_0xebc3ce['getAttribute']('data-ck-merge-field')})}),_0x6ace74['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x40c7af,{writer:_0x378f17})=>_0x378f17['createElement']('mergeFieldBlock',{'id':_0x40c7af['getAttribute']('data-ck-merge-field')})}),_0x6ace74['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0x6ace74['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x2b408a,{writer:_0x13b553})=>this['_createMergeFieldWidget'](_0x2b408a,_0x13b553,'text')}),_0x6ace74['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x1a2298,{writer:_0x4ad6a6,options:_0x591d48})=>this['_createTextualMergeField'](_0x1a2298,_0x4ad6a6,_0x591d48)}),_0x6ace74['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x17e5b3,{writer:_0x3e066f})=>this['_createMergeFieldWidget'](_0x17e5b3,_0x3e066f,'block')}),_0x6ace74['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x1f9cad,{writer:_0x532569,options:_0x228069})=>this['_createTextualMergeField'](_0x1f9cad,_0x532569,_0x228069)}),_0x6ace74['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0x6ace74['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x54e649=>{_0x54e649['on']('element:img',(_0x5de99a,_0x573d5c,_0x291fc9)=>{_0x291fc9['consumable']['test'](_0x573d5c['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x291fc9['writer']['setAttribute']('src',this['wrapInAffixes'](_0x573d5c['viewItem']['getAttribute']('data-ck-merge-field')),_0x573d5c['modelCursor']['nodeBefore']),_0x291fc9['consumable']['consume'](_0x573d5c['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x39c5d7){const _0x1bb689=this['editor']['plugins']['get']('ImageUtils'),_0x5397fe=(_0x4564b1,_0x17dee7,_0x5ef2b2)=>{if(!0x1!==_0x5ef2b2['consumable']['test'](_0x17dee7['item'],_0x4564b1['name']))return;if(!String(_0x17dee7['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x336c72=_0x5ef2b2['writer'],_0x19feee=_0x5ef2b2['mapper']['toViewElement'](_0x17dee7['item']),_0x39715c=_0x1bb689['findViewImgElement'](_0x19feee),_0x5ed8d8=String(_0x17dee7['attributeNewValue']),_0x2e5092=this['unwrapAffixes'](_0x5ed8d8),_0x50cbc2=_0x5ef2b2['options']['mergeFieldsData'];if(_0x5ef2b2['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x37280a;return _0x37280a='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x2e5092)||this['getLabel'](_0x2e5092)||this['wrapInAffixes'](_0x2e5092):this['getMergeFieldValue'](_0x2e5092,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x2e5092)||this['getLabel'](_0x2e5092)||this['wrapInAffixes'](_0x2e5092),_0x336c72['setAttribute']('data-ck-merge-field',_0x2e5092,_0x39715c),void _0x336c72['setAttribute'](_0x17dee7['attributeKey'],_0x37280a,_0x39715c);}const _0x2b7e8a=_0x50cbc2&&_0x50cbc2[_0x2e5092]?_0x50cbc2[_0x2e5092]:_0x5ed8d8;_0x336c72['setAttribute'](_0x17dee7['attributeKey'],_0x2b7e8a,_0x39715c);};return _0x41078c=>{_0x41078c['on']('attribute:src:'+_0x39c5d7,_0x5397fe,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0x521602){const _0xc4bf0c=this['editor']['plugins']['get']('ImageUtils'),_0x2aa252=(_0x25c33d,_0x725e3,_0x9ddb38)=>{if(!0x1!==_0x9ddb38['consumable']['test'](_0x725e3['item'],_0x25c33d['name']))return;if(!String(_0x725e3['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x4e2d70=_0x9ddb38['writer'],_0xeba4b9=_0x9ddb38['mapper']['toViewElement'](_0x725e3['item']),_0x4e4db8=_0xc4bf0c['findViewImgElement'](_0xeba4b9),_0x13aea2=String(_0x725e3['attributeNewValue']),_0x25b334=this['unwrapAffixes'](_0x13aea2),_0x542af1=this['getMergeFieldDefaultValue'](_0x25b334),_0x475dd5='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x313fe1,_0x19bfe6='',_0x174439='';if('$labels'===this['previewMode'])_0x313fe1=_0x475dd5;else{if('$defaultValues'===this['previewMode'])_0x542af1?(_0x313fe1=_0x542af1,_0x174439='\x20ck-merge-field-image_with-value'):(_0x313fe1=_0x475dd5,_0x19bfe6='WARNING_MISSING_DEFAULT_VALUE',_0x174439='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x353825=this['getMergeFieldValue'](_0x25b334,this['previewMode']);_0x353825?(_0x313fe1=_0x353825,_0x174439='\x20ck-merge-field-image_with-value'):_0x542af1?(_0x313fe1=_0x542af1,_0x174439='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0x19bfe6='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x313fe1=_0x475dd5,_0x174439='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0x19bfe6='WARNING_MISSING_DATA');}}if(_0x4e2d70['addClass']('ck-merge-field-image'+_0x174439,_0xeba4b9),_0x4e2d70['setAttribute'](_0x725e3['attributeKey'],_0x313fe1,_0x4e4db8),'$labels'===this['previewMode']){const _0x39c8b1='imageInline'===_0x521602?'span':'div',_0x3c0a60=this['_mergeFieldPrefix'],_0x39f693=this['_mergeFieldSuffix'],_0x4cf8ae=_0x4e2d70['createContainerElement'](_0x39c8b1,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0x4e2d70['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x483855){const _0x5ee445=this['toDomElement'](_0x483855);return _0x5ee445['innerHTML']=_0x3c0a60,_0x5ee445;}),_0x4e2d70['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x4e2d70['createText'](this['getLabel'](_0x25b334)||_0x25b334)),_0x4e2d70['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x54bdeb){const _0x3cfeac=this['toDomElement'](_0x54bdeb);return _0x3cfeac['innerHTML']=_0x39f693,_0x3cfeac;})]);_0x4e2d70['insert'](_0x4e2d70['createPositionAt'](_0xeba4b9,'end'),_0x4cf8ae),_0x4e2d70['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x25b334)||_0x25b334,_0x4cf8ae);}else{if(_0x19bfe6&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x19bfe6)){const _0x24b83b='imageInline'===_0x521602?'span':'div',_0x3aeca4=_0x174439['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x193de6=_0x4e2d70['createContainerElement'](_0x24b83b,{'class':'ck-merge-field'+_0x3aeca4,'data-cke-tooltip-instant':'true'},[_0x4e2d70['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x4e2d70['createText'](this['getLabel'](_0x25b334)||_0x25b334))]),_0x56c875=_0x4e2d70['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x24bb3f){const _0x200c64=this['toDomElement'](_0x24bb3f),_0x45cc97=new ckeditor5['IconView']();return _0x45cc97['set']({'content':ckeditor5['IconWarning']}),_0x45cc97['render'](),_0x200c64['appendChild'](_0x45cc97['element']),_0x200c64;});_0x4e2d70['insert'](_0x4e2d70['createPositionAt'](_0x193de6,'end'),_0x56c875),_0x4e2d70['insert'](_0x4e2d70['createPositionAt'](_0xeba4b9,'end'),_0x193de6),_0x4e2d70['setCustomProperty']('mergeFieldStatus',_0x19bfe6,_0x193de6),_0x4e2d70['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x25b334)||_0x25b334,_0x193de6);}}_0x4e2d70['setAttribute']('data-merge-field-name',_0x25b334,_0xeba4b9),_0x19bfe6&&_0x4e2d70['setCustomProperty']('mergeFieldStatus',_0x19bfe6,_0xeba4b9);};return _0x1a1e26=>{_0x1a1e26['on']('attribute:src:'+_0x521602,_0x2aa252,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0x211081,_0x35250f){if(!_0x35250f['target'])return null;const _0x6262a1=_0x35250f['target']['parentElement'];return _0x6262a1&&_0x6262a1['classList']['contains']('ck-merge-field-image')?new ckeditor5['ResizeObserver'](_0x6262a1,_0x5d36b6=>{const _0x172ccc=_0x5d36b6['target'],_0x53cc0b=_0x172ccc['querySelector']('.ck-merge-field'),_0x1f2912=_0x172ccc['querySelector']('.ck-merge-field__content');_0x53cc0b&&_0x1f2912&&(_0x1f2912['scrollWidth']>_0x1f2912['getBoundingClientRect']()['width']?_0x53cc0b['removeAttribute']('data-cke-tooltip-disabled'):_0x53cc0b['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x13fb04,_0xfb00cb,_0x20e30e){const {label:_0x12f8ed,classes:_0x54832e,status:_0x44dbf9,height:_0x31d1e4}=this['_prepareViewElementData'](_0x13fb04),_0x33a539=this['_mergeFieldPrefix'],_0x4daf6f=this['_mergeFieldSuffix'],_0x456848=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x533912='text'===_0x20e30e?'span':'div';let _0x46cf26;if('$labels'===this['previewMode'])_0x46cf26=_0xfb00cb['createContainerElement'](_0x533912,{'class':_0x54832e},[_0xfb00cb['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x324af9){const _0x57559b=this['toDomElement'](_0x324af9);return _0x57559b['innerHTML']=_0x33a539,_0x57559b;}),_0xfb00cb['createContainerElement']('span',{'class':'ck-merge-field__content'},_0xfb00cb['createText'](String(_0x12f8ed))),_0xfb00cb['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x1f4617){const _0x337ba0=this['toDomElement'](_0x1f4617);return _0x337ba0['innerHTML']=_0x4daf6f,_0x337ba0;})]);else{if(_0x44dbf9){const _0x371839=this['_shouldPreviewHtmlValues']?_0xfb00cb['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x193abc,_0x2b3023){_0x2b3023['setContentOf'](_0x193abc,_0x456848(_0x12f8ed)['html']);}):_0xfb00cb['createContainerElement']('span',{'class':'ck-merge-field__content'},_0xfb00cb['createText'](_0x12f8ed));if(_0x46cf26=_0xfb00cb['createContainerElement'](_0x533912,{'class':_0x54832e},[_0x371839]),'text'===_0x20e30e||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x44dbf9)){const _0x42f822=_0xfb00cb['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x62c158){const _0x1ffc68=this['toDomElement'](_0x62c158),_0x5163fa=new ckeditor5['IconView']();return _0x5163fa['set']({'content':ckeditor5['IconWarning']}),_0x5163fa['render'](),_0x1ffc68['appendChild'](_0x5163fa['element']),_0x1ffc68;});_0xfb00cb['insert'](_0xfb00cb['createPositionAt'](_0x46cf26,'end'),_0x42f822);}_0xfb00cb['setCustomProperty']('mergeFieldStatus',_0x44dbf9,_0x46cf26);}else{const _0x26d3d4=this['_shouldPreviewHtmlValues']?_0xfb00cb['createRawElement'](_0x533912,{},function(_0x28408b,_0x17ab37){_0x17ab37['setContentOf'](_0x28408b,_0x456848(_0x12f8ed)['html']);}):_0xfb00cb['createText'](_0x12f8ed);_0x46cf26=_0xfb00cb['createContainerElement'](_0x533912,{'class':_0x54832e},_0x26d3d4);}}if('block'===_0x20e30e){const _0x43e58c=_0xfb00cb['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0x46cf26]);if(('$labels'===this['previewMode']||_0x44dbf9&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x44dbf9))&&_0xfb00cb['setAttribute']('style','height:\x20'+_0x31d1e4+'px',_0x43e58c),_0x46cf26['hasClass']('ck-merge-field_with-value'))_0xfb00cb['addClass']('ck-merge-field-block_with-value',_0x43e58c);else{if(_0x46cf26['hasClass']('ck-merge-field_with-warning')){for(const _0x170353 of _0x46cf26['getClassNames']())if('ck-merge-field'!==_0x170353){const _0x5c54f8=_0x170353['replace']('ck-merge-field','ck-merge-field-block');_0xfb00cb['addClass'](_0x5c54f8,_0x43e58c);}_0xfb00cb['setCustomProperty']('mergeFieldStatus',_0x44dbf9,_0x43e58c);}}return _0xfb00cb['setCustomProperty']('mergeFieldBlock',!0x0,_0x43e58c),_0xfb00cb['setAttribute']('data-merge-field-name',_0x13fb04['getAttribute']('id'),_0x43e58c),ckeditor5['toWidget'](_0x43e58c,_0xfb00cb,{'hasSelectionHandle':!0x0});}return _0xfb00cb['setCustomProperty']('mergeField',!0x0,_0x46cf26),_0xfb00cb['setAttribute']('data-merge-field-name',_0x13fb04['getAttribute']('id'),_0x46cf26),ckeditor5['toWidget'](_0x46cf26,_0xfb00cb);}['_prepareViewElementData'](_0x3a7bbe){const _0xd5e13d=_0x3a7bbe['getAttribute']('id'),_0x466639=this['getDefinition'](_0xd5e13d);if(!_0x466639)return'$labels'===this['previewMode']?{'label':_0xd5e13d,'classes':'ck-merge-field'}:{'label':_0xd5e13d,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x4bd76f=this['getLabel'](_0xd5e13d)||_0xd5e13d,_0x418548=this['getMergeFieldDefaultValue'](_0xd5e13d),_0x97968b=this['getMergeFieldHeight'](_0xd5e13d);if('$labels'===this['previewMode'])return{'label':_0x4bd76f,'height':_0x97968b,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x418548?{'label':_0x418548,'height':_0x97968b,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x4bd76f,'height':_0x97968b,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x2800a0=this['getMergeFieldValue'](_0x466639['id'],this['previewMode']);return _0x2800a0?{'label':_0x2800a0,'height':_0x97968b,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x418548?{'label':_0x418548,'height':_0x97968b,'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':_0x4bd76f,'height':_0x97968b,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0x7e351d,_0x3e880a,_0x1a8b20){const _0x8bcf9=_0x7e351d['getAttribute']('id');let _0x433004;if(_0x1a8b20['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x8bcf9,_0x3e880a);const _0x42b4d5=_0x1a8b20['mergeFieldsData'],_0x12e86e=_0x42b4d5&&_0x42b4d5[_0x8bcf9]?_0x42b4d5[_0x8bcf9]:this['wrapInAffixes'](_0x8bcf9);if(_0x42b4d5)_0x433004=_0x3e880a['createRawElement']('span',{},function(_0x55e8a2,_0x466c4e){_0x466c4e['setContentOf'](_0x55e8a2,String(_0x12e86e));});else{_0x433004=_0x3e880a['createContainerElement']('span');const _0x3f2663=_0x3e880a['createText'](_0x12e86e);_0x3e880a['insert'](_0x3e880a['createPositionAt'](_0x433004,'end'),_0x3f2663);}return _0x3e880a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x433004),_0x433004;}['_downcastForClipboard'](_0x3d4a23,_0x3f7f82){const _0x56fdd6='block'===this['getMergeFieldType'](_0x3d4a23)?'div':'span';let _0x4d15f6,_0x2d4ac0;_0x4d15f6='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x3d4a23)||this['getLabel'](_0x3d4a23)||this['wrapInAffixes'](_0x3d4a23):this['getMergeFieldValue'](_0x3d4a23,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x3d4a23)||this['getLabel'](_0x3d4a23)||this['wrapInAffixes'](_0x3d4a23);const _0x33c872=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x2d4ac0=this['_shouldPreviewHtmlValues']?_0x3f7f82['createRawElement'](_0x56fdd6,{'data-ck-merge-field':_0x3d4a23},function(_0x1e1be1,_0x5626de){_0x5626de['setContentOf'](_0x1e1be1,_0x33c872(_0x4d15f6)['html']);}):_0x3f7f82['createContainerElement'](_0x56fdd6,{'data-ck-merge-field':_0x3d4a23},_0x3f7f82['createText'](_0x4d15f6)),_0x2d4ac0;}['_validatePreviewMode'](_0x555cb9){if(!this['availablePreviewModes']['includes'](_0x555cb9))throw new ckeditor5['CKEditorError']('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x555cb9});}['_trackAddedMergeFields'](){for(const _0x5a0626 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x5a0626['type']||'$text'===_0x5a0626['name'])continue;if('mergeField'===_0x5a0626['name']||'mergeFieldBlock'===_0x5a0626['name']){this['_mergeFieldElements']['add'](_0x5a0626['position']['nodeAfter']);continue;}if('imageInline'===_0x5a0626['name']||'imageBlock'===_0x5a0626['name']&&_0x5a0626['attributes']['get']('src')&&String(_0x5a0626['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x5a0626['position']['nodeAfter']);continue;}const _0x55718c=this['editor']['model']['createRangeIn'](_0x5a0626['position']['nodeAfter']);for(const _0x5eefe7 of _0x55718c['getItems']())_0x5eefe7['is']('element')&&this['isMergeField'](_0x5eefe7)&&this['_mergeFieldElements']['add'](_0x5eefe7);}}['_registerConversionPostFixer'](){const _0x45d155=this['editor'];_0x45d155['model']['document']['registerPostFixer'](_0x19f0a1=>{if(!_0x19f0a1['batch']['isLocal'])return!0x1;const _0x229374=[],_0x128dc7=new Set(),_0xef3f57=this['_mergeFieldRegExp'];let _0x55168b=!0x1;for(const _0x532ee0 of _0x45d155['model']['document']['differ']['getChanges']())if('insert'===_0x532ee0['type']||'remove'===_0x532ee0['type']){let _0x30c4b1='$text'==_0x532ee0['name']?_0x532ee0['position']['parent']:_0x532ee0['position']['nodeAfter'];if(!_0x30c4b1)continue;_0x30c4b1['is']('$text')&&(_0x30c4b1=_0x30c4b1['parent']),_0x246a00(_0x30c4b1);}for(const _0x5d8302 of _0x229374['reverse']()){const {match:_0x2783a6,item:_0x54e255}=_0x5d8302,_0x10ab4a=_0x19f0a1['createPositionAt'](_0x54e255,_0x2783a6['index']),_0x3dd615=_0x10ab4a['getShiftedBy'](_0x2783a6[0x0]['length']),_0x3a444b=_0x19f0a1['createRange'](_0x10ab4a,_0x3dd615),_0x512dbb=_0x2783a6[0x0],_0x745998=this['unwrapAffixes'](_0x512dbb),_0x31f94e=_0x7b36a3(_0x3a444b),_0x3752fc=this['getMergeFieldType'](_0x745998);if(_0x7fd928['test'](_0x745998)){if(_0x31f94e['set']('id',_0x745998),'block'===_0x3752fc){const _0xf5e40f=_0x19f0a1['createElement']('mergeFieldBlock',{'id':_0x745998});_0x19f0a1['remove'](_0x3a444b),_0x45d155['model']['insertObject'](_0xf5e40f,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0x3752fc){const _0x2b3283=_0x19f0a1['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0x745998)});_0x19f0a1['remove'](_0x3a444b),_0x45d155['model']['insertObject'](_0x2b3283,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x250fb1=_0x19f0a1['createElement']('mergeField',_0x31f94e);_0x45d155['model']['schema']['checkChild'](_0x3a444b['start'],'mergeField')?_0x45d155['model']['insertObject'](_0x250fb1,_0x3a444b):_0x19f0a1['remove'](_0x3a444b);}}_0x55168b=!0x0;}}return _0x55168b;function _0x246a00(_0x52f6cb){let _0x20e051='',_0x59f275=0x0;if(!_0x128dc7['has'](_0x52f6cb))for(const _0xe8b4d2 of _0x52f6cb['getChildren']()){const _0x258043=_0xe8b4d2['nextSibling'];if(_0xe8b4d2['is']('$text')&&(''===_0x20e051&&_0xe8b4d2['startOffset']&&(_0x59f275=_0xe8b4d2['startOffset']),_0x20e051+=_0xe8b4d2['data']),!_0x258043||_0x258043['is']('element')){for(const _0x272a61 of _0x20e051['matchAll'](_0xef3f57))_0x272a61['index']=_0x272a61['index']+_0x59f275,_0x229374['push']({'match':_0x272a61,'item':_0x52f6cb});_0x128dc7['add'](_0x52f6cb),_0x20e051='';}_0xe8b4d2['is']('element')&&_0x246a00(_0xe8b4d2);}}function _0x7b36a3(_0x38eec1){const _0x5bffbe=_0x38eec1['getItems'](),_0x31bbc4=_0x5bffbe['next']()['value'],_0x91ac21=new Map(_0x31bbc4['getAttributes']());for(const _0x1030be of _0x5bffbe)for(const [_0x291fff,_0x2f6793]of _0x91ac21)_0x1030be['getAttribute'](_0x291fff)!==_0x2f6793&&_0x91ac21['delete'](_0x291fff);return _0x91ac21;}});}['_disableCommandOnMergeFields'](_0x408e99){const _0x5b2e07=this['editor'],_0x369c36=_0x5b2e07['commands']['get'](_0x408e99);_0x369c36&&_0x369c36['on']('set:isEnabled',(_0x261d84,_0xa11463,_0x3221a3)=>{if(0x1==_0x3221a3){const _0x1aab96=_0x5b2e07['model']['document']['selection']['getSelectedElement']();_0x1aab96&&this['isMergeField'](_0x1aab96)&&(_0x261d84['return']=!0x1,_0x261d84['stop']());}});}}async function _0x391831(_0x3487ac){const _0x210edc=_0x40c431([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]),_0x105bce=window[_0x40c431([0x44,0x61,0x74,0x65])][_0x40c431([0x6e,0x6f,0x77])](),_0x3e863b=_0x3487ac[_0x40c431([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4e3cfe=new window[(_0x40c431([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d4ac6=>{_0x3e863b[_0x40c431([0x6f,0x6e,0x63,0x65])](_0x40c431([0x72,0x65,0x61,0x64,0x79]),_0x4d4ac6);}),_0xc7a17e={[_0x40c431([0x6b,0x74,0x79])]:_0x40c431([0x45,0x43]),[_0x40c431([0x75,0x73,0x65])]:_0x40c431([0x73,0x69,0x67]),[_0x40c431([0x63,0x72,0x76])]:_0x40c431([0x50,0x2d,0x32,0x35,0x36]),[_0x40c431([0x78])]:_0x40c431([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]),[_0x40c431([0x79])]:_0x40c431([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]),[_0x40c431([0x61,0x6c,0x67])]:_0x40c431([0x45,0x53,0x32,0x35,0x36])},_0x1a93b6=_0x3e863b[_0x40c431([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40c431([0x67,0x65,0x74])](_0x40c431([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x44b8cf=await(async function(){let _0x411116,_0x5f3025=null,_0x49c5c7=null;try{if(_0x1a93b6==_0x40c431([0x47,0x50,0x4c]))return _0x40c431([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x411116=(function(){const _0xdd36a4=_0x1a93b6[_0x40c431([0x73,0x70,0x6c,0x69,0x74])](_0x40c431([0x2e]));if(0x3!=_0xdd36a4[_0x40c431([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x30806a=_0xdd36a4[0x1];return _0x2e30f8(_0x30806a);function _0x2e30f8(_0x16a9a2){const _0x4281cd=_0x137823(_0x16a9a2);return _0x4281cd&&_0x57809e()?_0x4281cd:null;function _0x57809e(){const _0x24cb52=_0x4281cd[_0x40c431([0x6a,0x74,0x69])],_0x258295=window[_0x40c431([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24cb52[_0x40c431([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24cb52[_0x40c431([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x26d412={..._0x4281cd,[_0x40c431([0x6a,0x74,0x69])]:_0x24cb52[_0x40c431([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x24cb52[_0x40c431([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x26d412[_0x40c431([0x76,0x63])],_0xeded91(_0x26d412)==_0x258295;}}}()),!_0x411116)return _0x40c431([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x411116[_0x40c431([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x49c5c7=function(_0x37eab7,_0x467239){return new window[(_0x40c431([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47e333=>{if(_0xf7f67f())return _0x47e333(_0x40c431([0x56,0x61,0x6c,0x69,0x64]));_0x218d80(),_0x3e863b[_0x40c431([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40c431([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5083c9=!0x1;const _0x153781=ckeditor5['uid']();function _0x1d4e41(_0x2ce561){return!!_0x2ce561&&(typeof _0x2ce561===_0x40c431([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ce561===_0x40c431([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ce561[_0x40c431([0x74,0x68,0x65,0x6e])]===_0x40c431([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ce561[_0x40c431([0x63,0x61,0x74,0x63,0x68])]===_0x40c431([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x583e37(_0x17626a){_0x105183(_0x17626a)[_0x40c431([0x74,0x68,0x65,0x6e])](_0x2f61aa=>{if(!_0x2f61aa||_0x2f61aa[_0x40c431([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40c431([0x6f,0x6b]))return _0x40c431([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x10d603(_0xeded91(_0x153781+_0x467239))!=_0x2f61aa[_0x40c431([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40c431([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40c431([0x56,0x61,0x6c,0x69,0x64]);})[_0x40c431([0x74,0x68,0x65,0x6e])](_0x398c60=>(_0x414a29(),_0x398c60),()=>{const _0x5d8389=_0x2f7f53();return null==_0x5d8389?(_0x414a29(),_0x40c431([0x56,0x61,0x6c,0x69,0x64])):_0x40c431(_0x105bce-_0x5d8389>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40c431([0x74,0x68,0x65,0x6e])](_0x47e333)[_0x40c431([0x63,0x61,0x74,0x63,0x68])](()=>{_0x47e333(_0x40c431([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d951f=0x36ee80;function _0x414a29(){const _0x499de6=_0x40c431([0x6c,0x6c,0x63,0x74,0x2d])+_0x10d603(_0xeded91(_0x37eab7)),_0x44fa6a=_0x31388d(_0x10d603(window[_0x40c431([0x4d,0x61,0x74,0x68])][_0x40c431([0x63,0x65,0x69,0x6c])](_0x105bce/_0x5d951f)));window[_0x40c431([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40c431([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x499de6,_0x44fa6a);}function _0x2f7f53(){const _0x3a3502=_0x40c431([0x6c,0x6c,0x63,0x74,0x2d])+_0x10d603(_0xeded91(_0x37eab7)),_0x1f3da0=window[_0x40c431([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40c431([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a3502);return _0x1f3da0?window[_0x40c431([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31388d(_0x1f3da0),0x10)*_0x5d951f:null;}function _0x105183(_0xdaaab){return new window[(_0x40c431([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x185785,_0x14e8b4)=>{_0xdaaab[_0x40c431([0x74,0x68,0x65,0x6e])](_0x185785,_0x14e8b4),window[_0x40c431([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x14e8b4,0x1d4c0);});}}_0x3e863b[_0x40c431([0x6f,0x6e])](_0x40c431([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3d2a0b,_0x58e3fa)=>{if(_0x58e3fa[0x0]!=_0x37eab7)return _0x47e333(_0x40c431([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x58e3fa[0x1]={..._0x58e3fa[0x1],[_0x40c431([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x153781};},{[_0x40c431([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40c431([0x68,0x69,0x67,0x68])}),_0x3e863b[_0x40c431([0x6f,0x6e])](_0x40c431([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x34e305=>{_0x1d4e41(_0x34e305[_0x40c431([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5083c9=!0x0,_0x583e37(_0x34e305[_0x40c431([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40c431([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40c431([0x6c,0x6f,0x77])}),_0x4e3cfe[_0x40c431([0x74,0x68,0x65,0x6e])](()=>{_0x5083c9||_0x47e333(_0x40c431([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf7f67f(){return _0x3e863b[_0x40c431([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40c431([0x76,0x69,0x65,0x77])][_0x40c431([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40c431([0x61,0x75,0x74,0x6f]);}function _0x218d80(){_0x3e863b[_0x40c431([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40c431([0x76,0x69,0x65,0x77])][_0x40c431([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40c431([0x61,0x75,0x74,0x6f]);}}(_0x411116[_0x40c431([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x411116[_0x40c431([0x6a,0x74,0x69])]));const _0x1dfb32=await(async function(){let _0x4e2045=!0x0;try{const _0x197324=_0x1a93b6[_0x40c431([0x73,0x70,0x6c,0x69,0x74])](_0x40c431([0x2e])),[_0xa3a911,_0x37f2cf,_0x599f5d]=_0x197324;return _0x3852de(_0xa3a911),await _0x55d633(_0xa3a911,_0x37f2cf,_0x599f5d),_0x4e2045;}catch{return!0x1;}function _0x3852de(_0x267a7e){const _0x317278=_0x137823(_0x267a7e);_0x317278&&_0x317278[_0x40c431([0x61,0x6c,0x67])]==_0x40c431([0x45,0x53,0x32,0x35,0x36])||(_0x4e2045=!0x1);}async function _0x55d633(_0x2305a1,_0x354fd1,_0x4c3859){const _0x45508f=window[_0x40c431([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40c431([0x66,0x72,0x6f,0x6d])](_0x3a78f5(_0x4c3859),_0x3c17c5=>_0x3c17c5[_0x40c431([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4be10b=new window[(_0x40c431([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40c431([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2305a1+_0x40c431([0x2e])+_0x354fd1),_0x335107=window[_0x40c431([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40c431([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x335107)return;const _0xe096c9=await _0x335107[_0x40c431([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40c431([0x6a,0x77,0x6b]),_0xc7a17e,{[_0x40c431([0x6e,0x61,0x6d,0x65])]:_0x40c431([0x45,0x43,0x44,0x53,0x41]),[_0x40c431([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40c431([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40c431([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x335107[_0x40c431([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40c431([0x6e,0x61,0x6d,0x65])]:_0x40c431([0x45,0x43,0x44,0x53,0x41]),[_0x40c431([0x68,0x61,0x73,0x68])]:{[_0x40c431([0x6e,0x61,0x6d,0x65])]:_0x40c431([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe096c9,_0x45508f,_0x4be10b)||(_0x4e2045=!0x1);}}());return _0x1dfb32?(function(){const _0x39954d=_0x411116[_0x40c431([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x39954d)return!0x1;if(_0x39954d[_0x40c431([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40c431([0x2a])))return!0x0;if(_0x39954d[_0x40c431([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40c431([0x4d,0x46])))return!0x0;return!0x1;}())?(function(){const _0x17ff59=[_0x40c431([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40c431([0x74,0x72,0x69,0x61,0x6c])][_0x40c431([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x411116[_0x40c431([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x105bce/0x3e8:0x69e02680;return _0x411116[_0x40c431([0x65,0x78,0x70])]<_0x17ff59;}())?_0x40c431([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x26e05c=_0x411116[_0x40c431([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x26e05c||0x0==_0x26e05c[_0x40c431([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x511491}=new URL(window[_0x40c431([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x26e05c[_0x40c431([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x511491))return!0x0;const _0x11d4d4=_0x511491[_0x40c431([0x73,0x70,0x6c,0x69,0x74])](_0x40c431([0x2e]));return _0x26e05c[_0x40c431([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3259d7=>_0x3259d7[_0x40c431([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40c431([0x2a])))[_0x40c431([0x6d,0x61,0x70])](_0x49d37e=>_0x49d37e[_0x40c431([0x73,0x70,0x6c,0x69,0x74])](_0x40c431([0x2e])))[_0x40c431([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e37e7=>_0x2e37e7[_0x40c431([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x11d4d4[_0x40c431([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40c431([0x6d,0x61,0x70])](_0x3f6025=>Array(_0x11d4d4[_0x40c431([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3f6025[_0x40c431([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40c431([0x66,0x69,0x6c,0x6c])](_0x3f6025[0x0]===_0x40c431([0x2a])?_0x40c431([0x2a]):'')[_0x40c431([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3f6025))[_0x40c431([0x73,0x6f,0x6d,0x65])](_0xb4fdb2=>_0x11d4d4[_0x40c431([0x65,0x76,0x65,0x72,0x79])]((_0x354c88,_0x150602)=>_0xb4fdb2[_0x150602]===_0x354c88||_0xb4fdb2[_0x150602]===_0x40c431([0x2a])));}())?(_0x411116[_0x40c431([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40c431([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5f3025=function(_0x346bf2){const _0xc8d31b=new window[(_0x40c431([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f1855=>setTimeout(_0x5f1855,0x93ecc)),_0x502fab=_0x4e3cfe[_0x40c431([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40c431([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c98aa=>{let _0x574265=0x0;_0x3e863b[_0x40c431([0x6d,0x6f,0x64,0x65,0x6c])][_0x40c431([0x6f,0x6e])](_0x40c431([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3955e9,_0x1b10ed)=>{_0x1b10ed[0x0][_0x40c431([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x574265++,0x5e8==_0x574265&&(_0x2c98aa(),_0x3955e9[_0x40c431([0x6f,0x66,0x66])]());});})),_0x3768af=[_0xc8d31b,_0x502fab];return window[_0x40c431([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40c431([0x72,0x61,0x63,0x65])](_0x3768af)[_0x40c431([0x74,0x68,0x65,0x6e])](()=>_0x346bf2);}(_0x40c431([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x5f3025&&_0x49c5c7)return new window[(_0x40c431([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26f4e8,_0x255b9c)=>{_0x5f3025[_0x40c431([0x74,0x68,0x65,0x6e])](_0x26f4e8,_0x255b9c),_0x49c5c7[_0x40c431([0x74,0x68,0x65,0x6e])](_0x4e7cd1=>{_0x4e7cd1!=_0x40c431([0x56,0x61,0x6c,0x69,0x64])&&_0x26f4e8(_0x4e7cd1);},_0x255b9c);});return _0x5f3025||_0x49c5c7||_0x40c431([0x56,0x61,0x6c,0x69,0x64]);}())):_0x40c431([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40c431([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40c431([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40c431([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x137823(_0x2985e5){return _0x2985e5[_0x40c431([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40c431([0x65,0x79]))?JSON[_0x40c431([0x70,0x61,0x72,0x73,0x65])](_0x3a78f5(_0x2985e5)):null;}function _0x3a78f5(_0x1a84c6){return window[_0x40c431([0x61,0x74,0x6f,0x62])](_0x1a84c6[_0x40c431([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40c431([0x2b]))[_0x40c431([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40c431([0x2f])));}function _0xeded91(_0x13e2ac){let _0xd36ac3=0x1505;function _0xbb12ea(_0x4ed592){for(let _0x4a7233=0x0;_0x4a7233<_0x4ed592[_0x40c431([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a7233++){const _0x1cbc86=_0x4ed592[_0x40c431([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4a7233);_0xd36ac3=(_0xd36ac3<<0x5)+_0xd36ac3+_0x1cbc86,_0xd36ac3&=_0xd36ac3;}}return function _0x4b5cad(_0x1e6d1b){Array[_0x40c431([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e6d1b)?_0x1e6d1b[_0x40c431([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b5cad):_0x1e6d1b&&typeof _0x1e6d1b==_0x40c431([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40c431([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e6d1b)[_0x40c431([0x73,0x6f,0x72,0x74])]()[_0x40c431([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x656e70,_0x105769])=>{_0xbb12ea(_0x656e70),_0x4b5cad(_0x105769);}):_0xbb12ea(window[_0x40c431([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e6d1b));}(_0x13e2ac),_0xd36ac3>>>0x0;}function _0x10d603(_0x47f408){return _0x47f408[_0x40c431([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40c431([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40c431([0x30]));}function _0x31388d(_0x5852e0){return _0x5852e0[_0x40c431([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40c431([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40c431([0x6a,0x6f,0x69,0x6e])]('');}function _0x4510a8(){}function _0x40c431(_0x35a5c2){return _0x35a5c2['map'](_0x5023b7=>String['fromCharCode'](_0x5023b7))['join']('');}!function(_0x4f7432){const _0x488dde=(function(){const _0x3acaa1=window[_0x40c431([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40c431([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40c431([0x6e,0x6f,0x77])]())[_0x40c431([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40c431([0x2e]),'');let _0x3a90a7=_0x40c431([0x63]);for(let _0x4c25f0=0x0;_0x4c25f0<_0x3acaa1[_0x40c431([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c25f0+=0x2){let _0x327220=window[_0x40c431([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3acaa1[_0x40c431([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c25f0,_0x4c25f0+0x2));_0x327220>=_0x210edc[_0x40c431([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x327220-=_0x210edc[_0x40c431([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a90a7+=_0x210edc[_0x327220];}return _0x3a90a7;}());_0x3e863b[_0x488dde]=_0x40c431([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4f7432,_0x4f7432!=_0x40c431([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x4e3cfe,_0x3e863b[_0x40c431([0x6d,0x6f,0x64,0x65,0x6c])][_0x40c431([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4510a8,_0x3e863b[_0x40c431([0x6d,0x6f,0x64,0x65,0x6c])][_0x40c431([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4510a8,_0x3e863b[_0x40c431([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40c431([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x44b8cf);}class MergeFieldsListView extends ckeditor5['ListView']{['filter'](_0x410724){return ckeditor5['filterGroupAndItemNames'](_0x410724,this['items']);}}class _0x35f527 extends ckeditor5['View']{constructor(_0x53afbf){super(_0x53afbf),this['set']('text','');const _0x5950ee=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':_0x5950ee['to']('text')}]}]});}}function getTranslation$8(_0x5365c7,_0x1e2f5e){const t=_0x5365c7['t'];switch(_0x1e2f5e){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 _0x1e2f5e;}}class _0x11e0d4 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_balloon'];['_balloonPanelView']=null;static get['requires'](){return['Mention',MergeFieldsEditing,ckeditor5['ContextualBalloon'],ckeditor5['Widget']];}static get['pluginName'](){return'MergeFieldsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3e9f88){super(_0x3e9f88),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0x3aab97=this['editor'];_0x3aab97['ui']['componentFactory']['add']('insertMergeField',_0x250132=>{const _0x1d43ae=createInsertMergeFieldDropdown(_0x250132);return _0x1d43ae['bind']('isEnabled')['toMany']([_0x3aab97['commands']['get']('insertMergeField'),_0x3aab97['commands']['get']('insertMergeFieldBlock'),_0x3aab97['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0x449c1c)=>_0x449c1c['some'](_0x133dcc=>_0x133dcc)),_0x1d43ae['once']('change:isOpen',()=>{const _0x36a219={'insertInline':_0x3aab97['commands']['get']('insertMergeField'),'insertBlock':_0x3aab97['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x3aab97['commands']['get']('insertMergeFieldImage')},_0x3e34a0=createMergeFieldsListView(_0x250132,_0x3aab97['config']['get']('mergeFields.definitions'),_0x36a219);_0x3e34a0['delegate']('execute')['to'](_0x1d43ae),_0x1d43ae['on']('execute',(_0x1f4f11,_0x51531f)=>{const _0x4de98f=_0x3aab97['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x51531f);'image'===_0x4de98f?_0x3aab97['execute']('insertMergeFieldImage',_0x51531f):'block'===_0x4de98f?_0x3aab97['execute']('insertMergeFieldBlock',_0x51531f):_0x3aab97['execute']('insertMergeField',_0x51531f),_0x3aab97['editing']['view']['focus']();});const _0x4545d7=createMergeFieldsSearchTextView(_0x250132,_0x3e34a0);_0x1d43ae['panelView']['children']['add'](_0x4545d7),_0x1d43ae['on']('change:isOpen',(_0x433151,_0x59c579,_0x3f8f76)=>{_0x3f8f76&&_0x4545d7['reset']();});}),_0x1d43ae;}),_0x3aab97['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x5c5568=>{const _0x3d1c8b=new ckeditor5['MenuBarMenuView'](_0x5c5568),_0x2762fe={'insertInline':_0x3aab97['commands']['get']('insertMergeField'),'insertBlock':_0x3aab97['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x3aab97['commands']['get']('insertMergeFieldImage')};_0x3d1c8b['buttonView']['set']({'label':getTranslation$8(_0x5c5568,'Merge\x20field'),'icon':ckeditor5['IconInsertMergeField']}),_0x3d1c8b['bind']('isEnabled')['toMany']([...Object['values'](_0x2762fe)],'isEnabled',(..._0x413ed8)=>_0x413ed8['some'](_0x180244=>_0x180244));const _0x13bdfb=[],_0x27e6b2=new ckeditor5['MenuBarMenuListView'](_0x5c5568);for(const _0x1d4ac7 of _0x3aab97['config']['get']('mergeFields.definitions'))if('groupId'in _0x1d4ac7){const _0x408f70=new ckeditor5['MenuBarMenuListItemView'](_0x5c5568,_0x3d1c8b),_0x3d98e2=createMenuBarSubmenu(_0x5c5568,_0x1d4ac7,_0x2762fe);_0x408f70['children']['add'](_0x3d98e2),_0x3d98e2['delegate']('execute')['to'](_0x3d1c8b),_0x27e6b2['items']['add'](_0x408f70);}else _0x13bdfb['push'](_0x1d4ac7);if(_0x13bdfb['length']){if(0x0===_0x27e6b2['items']['length'])for(const _0x1bc882 of _0x13bdfb){let _0x4e5785;_0x4e5785='block'===_0x1bc882['type']?_0x2762fe['insertBlock']:'image'===_0x1bc882['type']?_0x2762fe['insertImage']:_0x2762fe['insertInline'];const _0x37b598=createMenuBarListItem(_0x5c5568,_0x1bc882,_0x3d1c8b,_0x4e5785);_0x27e6b2['items']['add'](_0x37b598);}else{const _0x1ec9a1=new ckeditor5['MenuBarMenuListItemView'](_0x5c5568,_0x3d1c8b),_0x50e991=createMenuBarSubmenu(_0x5c5568,{'groupId':'Other','definitions':_0x13bdfb},_0x2762fe);_0x1ec9a1['children']['add'](_0x50e991),_0x50e991['delegate']('execute')['to'](_0x3d1c8b),_0x27e6b2['items']['add'](_0x1ec9a1);}}return _0x3d1c8b['panelView']['children']['add'](_0x27e6b2),_0x3d1c8b['on']('execute',(_0x44fe11,_0x35c625)=>{const _0x26e777=_0x3aab97['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x35c625);'image'===_0x26e777?_0x3aab97['execute']('insertMergeFieldImage',_0x35c625):'block'===_0x26e777?_0x3aab97['execute']('insertMergeFieldBlock',_0x35c625):_0x3aab97['execute']('insertMergeField',_0x35c625),_0x3aab97['editing']['view']['focus']();}),_0x3d1c8b;});const _0x2dd573=_0x3aab97['config']['get']('mergeFields.previewModes'),_0xbebdde=[];if(_0x2dd573['includes']('$labels')&&_0xbebdde['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':getTranslation$8(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x2dd573['includes']('$defaultValues')&&_0xbebdde['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':getTranslation$8(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x2dd573['includes']('$dataSets')){const _0x215eaf=_0x3aab97['config']['get']('mergeFields.dataSets');if(_0x215eaf['length']){for(const _0x91912a of _0x215eaf)_0xbebdde['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x91912a['label']||_0x91912a['id'],'commandValue':_0x91912a['id']})});}}_0x3aab97['ui']['componentFactory']['add']('previewMergeFields',_0x19140b=>{const _0x51cbe9=_0x3aab97['commands']['get']('previewMergeFields'),_0x33f7cd=new ckeditor5['Collection']();for(const _0x14ffda of _0xf3eb06(_0xbebdde))_0x14ffda['model']['bind']('isOn')['to'](_0x51cbe9,'value',_0x3cf02b=>_0x3cf02b===_0x14ffda['model']['commandValue']),_0x33f7cd['add'](_0x14ffda);const _0x506fa5=ckeditor5['createDropdown'](_0x19140b),_0x4c0e26=getTranslation$8(_0x19140b,'Merge\x20fields\x20preview');return _0x506fa5['bind']('isEnabled')['to'](_0x51cbe9),ckeditor5['addListToDropdown'](_0x506fa5,_0x33f7cd,{'ariaLabel':_0x4c0e26,'role':'menu'}),_0x506fa5['set']({'class':'ck-merge-fields-preview-dropdown'}),_0x506fa5['buttonView']['set']({'label':_0x4c0e26,'ariaLabel':_0x4c0e26,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':ckeditor5['IconPreviewMergeFields'],'tooltip':!0x0}),this['listenTo'](_0x506fa5,'execute',_0x4a0e91=>{const {commandValue:_0x2fb277}=_0x4a0e91['source'];_0x3aab97['execute']('previewMergeFields',_0x2fb277),_0x3aab97['editing']['view']['focus']();}),_0x506fa5;}),_0x3aab97['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x2028ea=>{const _0x1b55b4=new ckeditor5['MenuBarMenuView'](_0x2028ea),_0x5aaf7e=_0x3aab97['commands']['get']('previewMergeFields');_0x1b55b4['buttonView']['set']({'label':getTranslation$8(_0x2028ea,'Merge\x20fields\x20preview'),'icon':ckeditor5['IconPreviewMergeFields']}),_0x1b55b4['bind']('isEnabled')['to'](_0x5aaf7e);const _0x79659e=new ckeditor5['MenuBarMenuListView'](_0x2028ea);_0x79659e['set']({'ariaLabel':getTranslation$8(_0x2028ea,'Merge\x20fields\x20preview')});for(const _0x143344 of _0xf3eb06(_0xbebdde)){const _0x53660d=new ckeditor5['MenuBarMenuListItemView'](_0x2028ea,_0x1b55b4),_0x150561=new ckeditor5['MenuBarMenuListItemButtonView'](_0x2028ea);_0x143344['model']['bind']('isOn')['to'](_0x5aaf7e,'value',_0x21d921=>_0x21d921===_0x143344['model']['commandValue']),_0x150561['isToggleable']=!0x0,_0x150561['bind'](...Object['keys'](_0x143344['model']))['to'](_0x143344['model']),_0x150561['delegate']('execute')['to'](_0x1b55b4),_0x150561['on']('execute',_0x8116c7=>{const {commandValue:_0x5f15e2}=_0x8116c7['source'];_0x3aab97['execute']('previewMergeFields',_0x5f15e2),_0x3aab97['editing']['view']['focus']();}),_0x53660d['children']['add'](_0x150561),_0x79659e['items']['add'](_0x53660d);}return _0x1b55b4['panelView']['children']['add'](_0x79659e),_0x1b55b4;}),this['_balloon']=_0x3aab97['plugins']['get'](ckeditor5['ContextualBalloon']),this['listenTo'](_0x3aab97['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0x3aab97['ui']['focusTracker'],'change:isFocused',(_0x2b576e,_0x459667,_0x4554e7)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0x4554e7?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5926fe=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x41d513;for(const _0x433e33 in _0x5926fe){const _0x4a2b04=_0x433e33,_0x4bd2d7=_0x5926fe[_0x4a2b04];if('mergeFieldsLicenseKeyValid'==_0x4bd2d7||'mergeFieldsLicenseKeyInvalid'==_0x4bd2d7||'mergeFieldsLicenseKeyExpired'==_0x4bd2d7||'mergeFieldsLicenseKeyDomainLimit'==_0x4bd2d7||'mergeFieldsLicenseKeyNotAllowed'==_0x4bd2d7||'mergeFieldsLicenseKeyEvaluationLimit'==_0x4bd2d7||'mergeFieldsLicenseKeyUsageLimit'==_0x4bd2d7){delete _0x5926fe[_0x4a2b04],_0x41d513=_0x4bd2d7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0x41d513&&_0x5926fe['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0x41d513&&_0x5926fe['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0x41d513&&_0x5926fe['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0x41d513&&_0x5926fe['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0x41d513&&_0x5926fe['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0x41d513&&_0x5926fe['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x4f7bf8=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0x3d3661=!(!_0x4f7bf8||!_0x4f7bf8['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0x3d3661){const _0x878c67=_0x4f7bf8['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=getTranslation$8(this['editor']['locale'],_0x878c67),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0x3d3661){const _0x16b8d7=_0x4f7bf8['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](getTranslation$8(this['editor']['locale'],_0x16b8d7));}}}['_showBalloon'](_0x5bf0cc){this['_balloonPanelView']||(this['_balloonPanelView']=new _0x35f527(this['editor']['locale']),this['_balloonPanelView']['text']=_0x5bf0cc),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0x49ddf0=this['editor']['editing']['view'];return{'target':()=>{const _0x366c96=_0x49ddf0['document']['selection']['getFirstRange'](),_0x347217=_0x49ddf0['domConverter']['mapViewToDom'](_0x366c96['getContainedElement']());return _0x347217?Array['from'](_0x347217['getClientRects']())[0x0]:_0x49ddf0['domConverter']['viewRangeToDom'](_0x366c96);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0x22a0e0=>_0x22a0e0))return;const _0x3ca0ba=this['editor']['config']['get']('mergeFields.previewModes');_0x3ca0ba['indexOf']('$defaultValues')>-0x1&&_0x3ca0ba['length']>0x1&&(_0x3ca0ba['splice'](_0x3ca0ba['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0x3ca0ba));}['_removeMenuBarButtonIfUnnecessary'](){const _0x464f6b=this['editor']['config'];if(_0x464f6b['get']('mergeFields.previewModes')){const _0x27d0a5=_0x464f6b['get']('mergeFields.previewModes');if(0x1===_0x27d0a5['length']){if(_0x27d0a5['includes']('$dataSets'))0x1===_0x464f6b['get']('mergeFields.dataSets')['length']&&_0x4bb62a();else _0x4bb62a();}}function _0x4bb62a(){const _0x483ffe=_0x464f6b['get']('menuBar.removeItems');_0x483ffe?(_0x483ffe['push']('menuBar:previewMergeFields'),_0x464f6b['set']('menuBar.removeItems',_0x483ffe)):_0x464f6b['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0x556a9b=this['editor'],_0x357a5f=_0x556a9b['config']['get']('mention.feeds'),_0x524a9f=_0x556a9b['config']['get']('mergeFields.prefix');_0x357a5f['push']({'marker':_0x524a9f,'dropdownLimit':0xa,'feed':_0x213a77=>_0x556a9b['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x57225d=>{const _0x22c26d=_0x556a9b['commands']['get']('insertMergeField')['isEnabled'],_0xbfb937=_0x556a9b['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x2bcf1d=_0x556a9b['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x340381=_0x556a9b['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x57225d['id']);if('text'===_0x340381&&!_0x22c26d)return!0x1;if('block'===_0x340381&&!_0xbfb937)return!0x1;if('image'===_0x340381&&!_0x2bcf1d)return!0x1;return(_0x556a9b['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x57225d['id'])||_0x57225d['id'])['toLowerCase']()['includes'](_0x213a77['toLowerCase']());}),'itemRenderer':_0x4609e7=>{const _0x50dcfe=document['createElement']('button');return _0x50dcfe['innerHTML']=''+(_0x4609e7['label']||_0x4609e7['id']),_0x50dcfe;}}),_0x556a9b['config']['set']('mention.feeds',_0x357a5f);}['_overrideMentionExecuteListener'](){const _0x127662=this['editor'];_0x127662['commands']['get']('mention')['on']('execute',(_0x2b02f4,_0x43d5c8)=>{const _0x151dc6=_0x43d5c8[0x0];_0x151dc6['marker']===_0x127662['config']['get']('mergeFields.prefix')&&_0x127662['model']['change'](_0x43ba60=>{_0x43ba60['remove'](_0x151dc6['range']);const _0xad2f81=_0x151dc6['mention']['id'],_0x175f30=_0x127662['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0xad2f81);'text'===_0x175f30?_0x127662['execute']('insertMergeField',_0xad2f81):'block'===_0x175f30?_0x127662['execute']('insertMergeFieldBlock',_0xad2f81,!0x1):_0x127662['execute']('insertMergeFieldImage',_0xad2f81,{'breakBlock':!0x0}),_0x2b02f4['stop']();});},{'priority':'high'});}}function createInsertMergeFieldDropdown(_0x27f10d){const _0x2e6e83=ckeditor5['createDropdown'](_0x27f10d);return _0x2e6e83['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x2e6e83['buttonView']['set']({'label':getTranslation$8(_0x27f10d,'Insert\x20merge\x20field'),'icon':ckeditor5['IconInsertMergeField'],'tooltip':!0x0}),_0x2e6e83;}function createMergeFieldsListView(_0x40db84,_0x1e3466,_0x2c2990){const _0x505fdf=new MergeFieldsListView(_0x40db84),_0x1aed42=[],_0x4a8441=[];for(const _0x199780 of _0x1e3466)if('groupId'in _0x199780){const _0x1a0ec6=createMergeFieldsGroupView(_0x40db84,_0x199780['groupLabel']||_0x199780['groupId'],_0x199780['definitions'],_0x2c2990);_0x1a0ec6['delegate']('execute')['to'](_0x505fdf),_0x4a8441['push'](_0x1a0ec6);}else _0x1aed42['push'](_0x199780);if(_0x1aed42['length']){const _0x81625b=createMergeFieldsGroupView(_0x40db84,'Other',_0x1aed42,_0x2c2990);_0x81625b['delegate']('execute')['to'](_0x505fdf),_0x4a8441['push'](_0x81625b);}return _0x505fdf['items']['addMany'](_0x4a8441),_0x505fdf;}function createMergeFieldsGroupView(_0x1afe2a,_0x5d69fc,_0x22ba75,_0x4baf1a){const _0x3adeed=new ckeditor5['ListItemGroupView'](_0x1afe2a,new ckeditor5['LabelWithHighlightView']());_0x3adeed['label']=_0x5d69fc;for(const _0x3cfc12 of _0x22ba75){let _0x56d6fb;_0x56d6fb='block'===_0x3cfc12['type']?_0x4baf1a['insertBlock']:'image'===_0x3cfc12['type']?_0x4baf1a['insertImage']:_0x4baf1a['insertInline'];const _0x21cca1=createMergeFieldListItemView(_0x1afe2a,_0x3cfc12,_0x56d6fb);_0x21cca1['delegate']('execute')['to'](_0x3adeed),_0x3adeed['items']['add'](_0x21cca1);}return _0x3adeed;}function createMergeFieldListItemView(_0x30a655,_0x2e50d7,_0x5d1b96){const _0x19e2c7=new ckeditor5['ListItemView'](_0x30a655),_0x26f8a3=new ckeditor5['ButtonLabelWithHighlightView'](),_0x4c6c42=new ckeditor5['ButtonView'](_0x30a655,_0x26f8a3);return _0x19e2c7['children']['add'](_0x4c6c42),_0x4c6c42['set']({'label':_0x2e50d7['label']||_0x2e50d7['id'],'withText':!0x0}),_0x4c6c42['bind']('isEnabled')['to'](_0x5d1b96),_0x4c6c42['on']('execute',()=>{_0x19e2c7['fire']('execute',_0x2e50d7['id']);}),_0x19e2c7;}function createMergeFieldsSearchTextView(_0x25eb3b,_0x34645c){return new ckeditor5['SearchTextView'](_0x25eb3b,{'filteredView':_0x34645c,'queryView':{'label':getTranslation$8(_0x25eb3b,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':getTranslation$8(_0x25eb3b,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':getTranslation$8(_0x25eb3b,'No\x20merge\x20fields\x20available')}}}});}function createMenuBarSubmenu(_0x36273d,_0x1b0173,_0x52d62f){const _0x299bd6=new ckeditor5['MenuBarMenuView'](_0x36273d),_0x550913=new ckeditor5['MenuBarMenuListView'](_0x36273d);for(const _0x49151c of _0x1b0173['definitions']){let _0x38178c;_0x38178c='block'===_0x49151c['type']?_0x52d62f['insertBlock']:'image'===_0x49151c['type']?_0x52d62f['insertImage']:_0x52d62f['insertInline'];const _0x2f1568=createMenuBarListItem(_0x36273d,_0x49151c,_0x299bd6,_0x38178c);_0x550913['items']['add'](_0x2f1568);}return _0x299bd6['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0x299bd6['buttonView']['set']({'label':_0x1b0173['groupLabel']||_0x1b0173['groupId']}),_0x299bd6['panelView']['children']['add'](_0x550913),_0x299bd6;}function createMenuBarListItem(_0x276d5c,_0x306df1,_0x2ff6cb,_0x9a7d95){const _0x1e181a=new ckeditor5['MenuBarMenuListItemView'](_0x276d5c,_0x2ff6cb),_0x1ee9d6=new ckeditor5['MenuBarMenuListItemButtonView'](_0x276d5c);return _0x1ee9d6['set']({'label':_0x306df1['label']||_0x306df1['id']}),_0x1e181a['delegate']('execute')['to'](_0x2ff6cb),_0x1e181a['children']['add'](_0x1ee9d6),_0x1ee9d6['bind']('isEnabled')['to'](_0x9a7d95),_0x1ee9d6['on']('execute',()=>{_0x1e181a['fire']('execute',_0x306df1['id']);}),_0x1e181a;}class _0x8801a8 extends ckeditor5['Plugin']{static get['requires'](){return[MergeFieldsEditing,_0x11e0d4];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x248d1e=0x64,_0x254076=0xc8;class PaginationLookup extends ckeditor5['Plugin']{['_recalculatePageBreaksDebounced']=_0x587714(()=>this['_recalculatePageBreaks'](),_0x254076);['_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 _0x334c6e=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x334c6e),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x1cf6f7,_0x51e68f,_0x44b0d7)=>{_0x44b0d7&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){_0x2b452a(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x2b40e1=this['editor'],_0x575fcb=_0x2b40e1['editing']['view'],_0x270ccc=this['_getAttachedDomRoot']();if(!_0x270ccc||0x0===_0x270ccc['childElementCount'])return void _0x2b40e1['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x39b9cf,pageHeight:_0x63b8ce}=_0x2b40e1['config']['get']('pagination'),{top:_0x584905,left:_0x5b9bc0,bottom:_0x5affa7,right:_0xa65c46}=this['_configuredPaddings'];this['_pagesContainer']=new ckeditor5['View'](_0x2b40e1['locale']);const _0x3c0d1c=this['_pagesContainer'];_0x3c0d1c['set']('class',''),_0x3c0d1c['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x39b9cf,'width':_0x39b9cf,'height':'calc(\x20'+_0x63b8ce+'\x20-\x20'+_0x584905+'\x20-\x20'+_0x5affa7+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0xa65c46+'\x200\x20'+_0x5b9bc0,'columnGap':'calc('+_0x5b9bc0+'\x20+\x20'+_0xa65c46+'\x20+\x20'+_0x248d1e+'px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x3c0d1c['bindTemplate']['to']('class')}}),_0x3c0d1c['render'](),_0x270ccc['parentNode']['insertBefore'](_0x3c0d1c['element'],_0x270ccc['nextSibling']),this['listenTo'](_0x575fcb,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x2e3123 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2e3123['ownerDocument']['body']['contains'](_0x2e3123))return _0x2e3123;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x4c8b1f=this['editor']['editing']['view'],_0x2646c0=this['_pagesContainer'],_0x3b4f40=this['_getAttachedDomRoot']();if(!_0x3b4f40)return Promise['resolve']();for(_0x2646c0['class']=['ck-reset','ck-pagination-view',..._0x3b4f40['classList']]['join']('\x20');_0x2646c0['element']['firstChild'];)_0x2646c0['element']['firstChild']['remove']();const _0x356f1f=Array['from'](_0x4c8b1f['domRoots']);_0x356f1f['sort'](([,_0x4bede3],[,_0xdff646])=>_0x4bede3['compareDocumentPosition'](_0xdff646)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x837210,_0x4a935b]of _0x356f1f){const _0x52d99c=_0x4a935b['cloneNode'](!0x0);'attributeStyleMap'in _0x52d99c&&_0x52d99c['attributeStyleMap']['clear'](),_0x52d99c['dataset']['rootName']=_0x837210,_0x52d99c['className']='ck-content\x20ck-pagination_enabled',_0x52d99c['removeAttribute']('id'),_0x52d99c['tabIndex']=-0x1,_0x2646c0['element']['append'](_0x52d99c);}const _0x2f54f3=Array['from'](_0x2646c0['element']['querySelectorAll']('img'));return _0x3ca0c9(_0x2f54f3)['then'](()=>{for(const _0x548fce of _0x2f54f3['filter'](_0xfe8c39=>!_0xfe8c39['closest']('table')))if(_0x548fce['offsetParent']){const _0x433370=ckeditor5['global']['window']['getComputedStyle'](_0x548fce),_0x1765af=ckeditor5['global']['document']['createElement']('span');for(const _0x180538 of _0x433370)_0x1765af['style']['setProperty'](_0x180538,_0x433370[_0x180538]);_0x1765af['style']['backgroundImage']='url(\x20'+_0x548fce['src']+'\x20)',_0x1765af['style']['breakInside']='avoid','PICTURE'==_0x548fce['parentElement']?.['tagName']?_0x548fce['parentElement']['replaceWith'](_0x1765af):_0x548fce['replaceWith'](_0x1765af);}return nextAnimationFrame();})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x5e8f44=this['_pagesContainer']['element'];if(!_0x5e8f44['ownerDocument']['body']['contains'](_0x5e8f44))return;const _0x306ef7=new ckeditor5['Rect'](_0x5e8f44)['excludeScrollbarsAndBorders'](),_0x3e83b5=Math['floor'](_0x306ef7['width']+_0x248d1e),_0x5e08e6=findPageStarterInfos(_0x5e8f44,Math['floor'](_0x306ef7['left']-_0x5e8f44['scrollLeft']),_0x3e83b5,_0x306ef7['height'])['map'](_0x1d6229=>this['_mapPageStarterInfoToPageBreakInfo'](_0x1d6229))['filter'](_0x59c870=>!0x1!==_0x59c870);_0x5e08e6['every'](_0x7a3a12=>!!_0x7a3a12)&&(this['pageBreaks']=_0x5e08e6);}['_mapPageStarterInfoToPageBreakInfo'](_0x179611){const _0x25867b=this['editor']['editing']['view'],_0x43a2ed=this['editor']['editing']['mapper'],_0x293457=_0x25867b['domConverter'],_0x1fbe04=_0x179611['path']['shift'](),_0x4976c6=this['_pagesContainer']['element']['childNodes'][_0x1fbe04]['dataset']['rootName'],_0x5195ae=_0x25867b['getDomRoot'](_0x4976c6);if(!_0x5195ae)return null;const _0x517fa3=pageElementToViewElement(_0x5195ae,_0x179611);if(!_0x517fa3)return null;const _0x4e7f49=_0x293457['domPositionToView'](_0x517fa3,_0x179611['textOffset']||0x0);return _0x4e7f49?'manual'==_0x179611['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x4e7f49,_0x517fa3):'text'==_0x179611['type']&&_0x43a2ed['toModelPosition'](_0x4e7f49)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x4e7f49,_0x517fa3,_0x179611['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x4e7f49,_0x517fa3,_0x179611['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x245845,_0x311787){const _0x3daf3e=this['editor']['model'],_0x33b15c=this['editor']['editing']['mapper']['toModelElement'](_0x245845['parent']),_0x4b66b0=_0x3daf3e['createRangeOn'](_0x33b15c);return new _0x178a4d({'type':'manual','modelRange':_0x4b66b0,'domNode':_0x311787,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0xffd6c9,_0x20ebec,_0x72a6e4){const _0x556f7a=this['editor']['model'],_0x1c913e=this['editor']['editing']['mapper'],_0x1f0626=this['editor']['editing']['view']['domConverter'];if(_0x72a6e4>=_0x20ebec['length'])return null;const _0x3c4b45=_0x1c913e['toModelPosition'](_0xffd6c9),_0x5e0cec=_0x556f7a['createRange'](_0x3c4b45),_0x3433de=_0x1c913e['findMappedViewAncestor'](_0xffd6c9),_0xe43732=_0x1f0626['mapViewToDom'](_0x3433de);return new _0x178a4d({'type':'text','modelRange':_0x5e0cec,'domNode':_0x20ebec,'offset':findOffsetTopForTextOffset(_0x20ebec,_0x72a6e4,_0xe43732)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x4ae705,_0x2218b4,_0x363b26){const _0x58d2e0=this['editor']['model'],_0x4a686e=this['editor']['editing'],_0x5d6897=_0x4a686e['mapper'],_0x3936e0=_0x4a686e['view']['domConverter'],_0x222c3e=_0x5d6897['findMappedViewAncestor'](_0x4ae705),_0x3a1596=_0x5d6897['toModelElement'](_0x222c3e);if(!_0x3a1596||_0x3a1596['is']('element','$root'))return!0x1;const _0x11198b=getTopMostParentBlockTouchingPosition(_0x58d2e0['createPositionBefore'](_0x3a1596))||_0x3a1596;let _0x55fa3a=_0x5d6897['toViewElement'](_0x11198b),_0x193fce=_0x58d2e0['createRangeOn'](_0x11198b);const _0x28985a=_0x58d2e0['createPositionBefore'](_0x11198b)['nodeBefore'];if(_0x28985a&&_0x28985a['is']('element','imageBlock')){const _0x4a1916=_0x5d6897['toViewElement'](_0x28985a),_0x2f5f64=_0x3936e0['mapViewToDom'](_0x4a1916),_0x46f0e7=ckeditor5['global']['window']['getComputedStyle'](_0x2f5f64)['float'];'left'!=_0x46f0e7&&'right'!=_0x46f0e7||(_0x193fce=_0x58d2e0['createRangeOn'](_0x28985a));}for(;_0x55fa3a['parent']!==_0x55fa3a['root']&&0x0===_0x55fa3a['index'];)_0x55fa3a=_0x55fa3a['parent'];const _0x2ee6d6=new ckeditor5['Rect'](isHTMLElement(_0x2218b4)?_0x2218b4:createDomRangeOn(_0x2218b4)),_0x5c64da=_0x363b26?_0x2ee6d6['height']-_0x363b26:0x0,_0xc0e5d8=_0x3936e0['mapViewToDom'](_0x55fa3a),_0x3d5102=new ckeditor5['Rect'](_0xc0e5d8);return new _0x178a4d({'type':'element','modelRange':_0x193fce,'domNode':_0xc0e5d8,'offset':Math['round'](_0x5c64da)||_0x222c3e!=findBlockAncestor(_0x4ae705)?_0x5c64da+_0x2ee6d6['top']-_0x3d5102['top']:0x0});}get['_configuredPaddings'](){const _0x56c8b2=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x56c8b2);}static['_findPageStarterInfos'](_0x2e1a01,_0x24e90b,_0x5351d8,_0x3c4351,_0x3c67ec){return findPageStarterInfos(_0x2e1a01,_0x24e90b,_0x5351d8,_0x3c4351,_0x3c67ec);}}class _0x178a4d{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x5f1b22,modelRange:_0x26ffbc,domNode:_0x46b5d2,offset:_0x291690}){this['type']=_0x5f1b22,this['modelRange']=_0x26ffbc,this['_domNode']=_0x46b5d2,this['_offset']=_0x291690;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x49ec04=new ckeditor5['Rect'](isHTMLElement(this['_domNode'])?this['_domNode']:createDomRangeOn(this['_domNode']));return'manual'==this['type']?_0x49ec04['top']+_0x49ec04['height']/0x2:_0x49ec04['top']+this['_offset'];}}function _0x4cd552(_0x40eb15){return!(!_0x40eb15||!isHTMLElement(_0x40eb15))&&Boolean(_0x40eb15['classList']['contains']('page-break')||_0x40eb15['closest']('.page-break'));}function pageElementToViewElement(_0x330a92,_0x2ff8b6){let _0xcadea7=_0x330a92;for(const _0x3abf34 of _0x2ff8b6['path']){if(!_0xcadea7)return null;_0xcadea7=_0xcadea7['childNodes'][_0x3abf34];}return _0xcadea7;}function findOffsetTopForTextOffset(_0x1ff1c0,_0x3de587,_0x65ea39){const _0x18bc02=createDomRangeOn(_0x1ff1c0),_0x2f2412=createDomRangeIn(_0x65ea39);let _0x1dd23c;_0x1dd23c=0x0==_0x3de587?createDomRangeMultiNode(_0x2f2412['startContainer'],_0x2f2412['startOffset'],_0x1ff1c0['parentNode'],Array['from'](_0x1ff1c0['parentNode']['childNodes'])['indexOf'](_0x1ff1c0)):createDomRangeMultiNode(_0x2f2412['startContainer'],_0x2f2412['startOffset'],_0x1ff1c0,_0x3de587);const _0x55789a=createDomRangeMultiNode(_0x1ff1c0,_0x3de587,_0x2f2412['endContainer'],_0x2f2412['endOffset']),_0x303ad7=new ckeditor5['Rect'](_0x1dd23c)['bottom'];return(new ckeditor5['Rect'](_0x55789a)['top']+_0x303ad7)/0x2-new ckeditor5['Rect'](_0x18bc02)['top'];}function getTopMostParentBlockTouchingPosition(_0x3f1ab0){const _0x1794e1=_0x3f1ab0['parent'],_0x973157=_0x1794e1['root']['document']['model'],_0x47acb7=_0x1794e1['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x33ced6=null;for(const _0x4a135d of _0x47acb7){if(_0x4a135d['is']('rootElement'))return _0x33ced6;if(!_0x973157['createPositionBefore'](_0x4a135d)['isTouching'](_0x3f1ab0))return _0x33ced6;_0x33ced6=_0x4a135d;}}function findBlockAncestor(_0x240d25){let _0x450e2e=_0x240d25['parent'];for(;_0x450e2e['is']('$text')||_0x450e2e['is']('attributeElement');)_0x450e2e=_0x450e2e['parent'];return _0x450e2e;}function _0x3ca0c9(_0x11a381){return Promise['all'](_0x11a381['map'](_0x146863=>Promise['race']([_0x134a95(_0x146863),timeout(0x3e8)])));}function _0x134a95(_0x40e838){return _0x40e838['hasAttribute']('width')&&_0x40e838['hasAttribute']('height')?Promise['resolve']():new Promise(_0x912068=>{function _0x8f3dd2(){_0x40e838['removeEventListener']('load',_0x8f3dd2),_0x40e838['removeEventListener']('error',_0x8f3dd2),_0x912068();}_0x40e838['complete']?_0x912068():(_0x40e838['addEventListener']('load',_0x8f3dd2),_0x40e838['addEventListener']('error',_0x8f3dd2));});}function timeout(_0xb0a0a){return new Promise(_0x5dd430=>setTimeout(_0x5dd430,_0xb0a0a));}function nextAnimationFrame(){return new Promise(_0x4dea19=>ckeditor5['global']['window']['requestAnimationFrame'](()=>_0x4dea19()));}function createDomRangeOn(_0xf6407e){const _0x4f6abb=ckeditor5['global']['document']['createRange']();return _0x4f6abb['selectNode'](_0xf6407e),_0x4f6abb;}function createDomRangeIn(_0x371842){const _0x475ffb=ckeditor5['global']['document']['createRange']();return _0x475ffb['selectNodeContents'](_0x371842),_0x475ffb;}function createDomRange(_0x23ec9d,_0x37fc6e,_0x367d63){const _0x1e8c33=ckeditor5['global']['document']['createRange']();return _0x1e8c33['setStart'](_0x23ec9d,_0x37fc6e),_0x1e8c33['setEnd'](_0x23ec9d,_0x367d63),_0x1e8c33;}function createDomRangeMultiNode(_0x5175a9,_0x2830c6,_0x2e9c99,_0x5be787){const _0x3a7808=ckeditor5['global']['document']['createRange']();return _0x3a7808['setStart'](_0x5175a9,_0x2830c6),_0x3a7808['setEnd'](_0x2e9c99,_0x5be787),_0x3a7808;}function findPageStarterInfos(_0x23df20,_0x4608da,_0x2f0440,_0x506972,_0x2d7e63){const _0x56878b=[];for(const [_0x58a29b,_0x1ddb76]of _0x23df20['childNodes']['entries']()){let _0x3699ff=[];isHTMLElement(_0x1ddb76)&&_0x1ddb76['offsetParent']&&['static','relative']['includes'](ckeditor5['global']['window']['getComputedStyle'](_0x1ddb76)['position'])?_0x3699ff=findPageStartersInElementNode(_0x1ddb76,_0x58a29b,_0x4608da,_0x2f0440,_0x506972,_0x2d7e63):isText(_0x1ddb76)&&(_0x3699ff=findPageStartersInTextNode(_0x1ddb76,_0x58a29b,_0x4608da,_0x2f0440,_0x2d7e63)),_0x3699ff['length']&&(_0x56878b['push'](..._0x3699ff),_0x4608da+=_0x3699ff['length']*_0x2f0440,_0x2d7e63=!0x1);}return _0x56878b;}function findPageStartersInElementNode(_0x2e8153,_0x1dc540,_0x15327d,_0x5f0229,_0x10869e,_0x4805e9){const _0x5e2067=[];if(_0x4cd552(_0x2e8153['previousSibling'])&&(_0x5e2067['push']({'type':'manual','offset':0x0,'path':[_0x1dc540-0x1]}),_0x4805e9=!0x0),'table-row'==ckeditor5['global']['window']['getComputedStyle'](_0x2e8153)['display']){let _0x200d3d=0x0,_0x3125e2=!0x1;for(const _0x27f248 of _0x2e8153['getClientRects']())_0x200d3d+=_0x27f248['height'],_0x27f248['left']>=_0x15327d&&(_0x3125e2=!0x0);if(_0x200d3d<_0x10869e&&_0x3125e2)return _0x4805e9||_0x5e2067['push']({'type':'element','offset':0x0,'path':[_0x1dc540]}),_0x5e2067;}const _0x33857a=_0x2e8153['closest']('figure.image');if(_0x33857a&&_0x4b16f4(_0x33857a)){const _0x2783b2=ckeditor5['global']['window']['getComputedStyle'](_0x33857a)['float'];if('left'==_0x2783b2||'right'==_0x2783b2)return _0x5e2067;}const _0x79b369=findPageStarterInfos(_0x2e8153,_0x15327d,_0x5f0229,_0x10869e,_0x4805e9);if(_0x79b369['length']){for(const _0x4c6367 of _0x79b369)_0x5e2067['push']({'type':_0x4c6367['type'],'offset':_0x4c6367['offset'],'textOffset':_0x4c6367['textOffset'],'path':[_0x1dc540,..._0x4c6367['path']]}),_0x15327d+=_0x5f0229,_0x4805e9=!0x1;return _0x5e2067;}return _0x5e2067['push'](...findPageStartersInLeafElementNode(_0x2e8153,_0x1dc540,_0x15327d,_0x5f0229,_0x4805e9)),_0x5e2067;}function findPageStartersInLeafElementNode(_0x2b743d,_0x5d8c66,_0x32dc8b,_0xef543f,_0x4affe8){const _0x5c0d1e=[];if('table-cell'==ckeditor5['global']['window']['getComputedStyle'](_0x2b743d)['display'])return[];const _0x12d331=[];for(const _0xffffe5 of _0x2b743d['getClientRects']())if(_0xffffe5['left']>=_0x32dc8b){for(const _0x36d623 of _0x12d331)_0x36d623['height']+=_0xffffe5['height'];_0x12d331['push']({'height':_0xffffe5['height']}),_0x32dc8b+=_0xef543f;}for(const _0x3a3879 of _0x12d331)_0x4affe8||_0x5c0d1e['push']({'type':'element','offset':_0x3a3879['height'],'textOffset':0x0,'path':[_0x5d8c66]}),_0x4affe8=!0x1;return _0x5c0d1e;}function findPageStartersInTextNode(_0x4b5f17,_0x29f093,_0x512dea,_0x4d9b17,_0x113de4){const _0x5419b3=createDomRangeOn(_0x4b5f17),_0x44adeb=[];let _0x1e512b=0x0;for(const _0x57145c of _0x5419b3['getClientRects']())if(_0x57145c['left']>=_0x512dea){const _0x330659=findLastTextOffsetOnPage(_0x4b5f17,_0x1e512b,_0x512dea,_0x4d9b17);_0x113de4||_0x44adeb['push']({'type':'text','path':[_0x29f093],'textOffset':_0x330659}),_0x1e512b=_0x330659,_0x512dea+=_0x4d9b17,_0x113de4=!0x1;}return _0x44adeb;}function findLastTextOffsetOnPage(_0x30866e,_0x2d4676,_0x26cedc,_0x2aff66){let _0x5bed9c=_0x2d4676,_0x209d07=_0x30866e['length'];for(;_0x209d07-_0x5bed9c>0x1;){const _0x4f2553=Math['ceil']((_0x5bed9c+_0x209d07)/0x2);domRangeContainsPageBreak(createDomRange(_0x30866e,_0x5bed9c,_0x4f2553),_0x26cedc,_0x2aff66)?_0x209d07=_0x4f2553:_0x5bed9c=_0x4f2553;}return _0x5bed9c;}function domRangeContainsPageBreak(_0x323101,_0x1f586f,_0x4040f1){for(const _0x17f95a of _0x323101['getClientRects']())if(_0x17f95a['left']>=_0x1f586f&&_0x17f95a['left']<_0x1f586f+_0x4040f1)return!0x0;return!0x1;}function _0x4b16f4(_0xd4088a){let _0x571c95=!0x1;const _0xb510d9=_0xd4088a['parentElement']['dataset']['rootName'],_0x5bbd9e=_0xd4088a['nextElementSibling'],_0x2046e2=_0xd4088a['previousElementSibling'],_0x51a77e=_0x5bbd9e&&ckeditor5['global']['window']['getComputedStyle'](_0x5bbd9e)['float'],_0x35b68f=_0x5bbd9e&&'ck-fake-selection-container'===_0x5bbd9e['className'];return!_0xb510d9||_0x5bbd9e||_0x2046e2||(_0x571c95=!0x0),_0xb510d9&&!_0x2046e2&&_0x35b68f&&(_0x571c95=!0x0),_0xb510d9&&!_0x2046e2&&'none'!==_0x51a77e&&(_0x571c95=!0x0),!_0x571c95;}function isHTMLElement(_0x27c0f6){return _0x27c0f6['nodeType']==Node['ELEMENT_NODE'];}function isText(_0x3077e5){return _0x3077e5['nodeType']==Node['TEXT_NODE'];}async function _0x2b452a(_0x5700f3){const _0x22e04a=_0xd7d703([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]),_0x28cc57=window[_0xd7d703([0x44,0x61,0x74,0x65])][_0xd7d703([0x6e,0x6f,0x77])](),_0x382404=_0x5700f3[_0xd7d703([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xad5f3=new window[(_0xd7d703([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58d6e3=>{_0x382404[_0xd7d703([0x6f,0x6e,0x63,0x65])](_0xd7d703([0x72,0x65,0x61,0x64,0x79]),_0x58d6e3);}),_0x2077eb={[_0xd7d703([0x6b,0x74,0x79])]:_0xd7d703([0x45,0x43]),[_0xd7d703([0x75,0x73,0x65])]:_0xd7d703([0x73,0x69,0x67]),[_0xd7d703([0x63,0x72,0x76])]:_0xd7d703([0x50,0x2d,0x32,0x35,0x36]),[_0xd7d703([0x78])]:_0xd7d703([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]),[_0xd7d703([0x79])]:_0xd7d703([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]),[_0xd7d703([0x61,0x6c,0x67])]:_0xd7d703([0x45,0x53,0x32,0x35,0x36])},_0x11b3fd=_0x382404[_0xd7d703([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xd7d703([0x67,0x65,0x74])](_0xd7d703([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x576a40=await(async function(){let _0x257df4,_0x4b7288=null,_0x11535d=null;try{if(_0x11b3fd==_0xd7d703([0x47,0x50,0x4c]))return _0xd7d703([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x257df4=(function(){const _0x3503ad=_0x11b3fd[_0xd7d703([0x73,0x70,0x6c,0x69,0x74])](_0xd7d703([0x2e]));if(0x3!=_0x3503ad[_0xd7d703([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x1f5816=_0x3503ad[0x1];return _0x4aff4d(_0x1f5816);function _0x4aff4d(_0x3d65ac){const _0xe500c4=_0x37a499(_0x3d65ac);return _0xe500c4&&_0x362c50()?_0xe500c4:null;function _0x362c50(){const _0x1ed23e=_0xe500c4[_0xd7d703([0x6a,0x74,0x69])],_0x171d30=window[_0xd7d703([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ed23e[_0xd7d703([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ed23e[_0xd7d703([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x276056={..._0xe500c4,[_0xd7d703([0x6a,0x74,0x69])]:_0x1ed23e[_0xd7d703([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1ed23e[_0xd7d703([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x276056[_0xd7d703([0x76,0x63])],_0x3d59c0(_0x276056)==_0x171d30;}}}()),!_0x257df4)return _0xd7d703([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x257df4[_0xd7d703([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x11535d=function(_0x2daf49,_0x39b5f5){return new window[(_0xd7d703([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4827ca=>{if(_0x9c3f2d())return _0x4827ca(_0xd7d703([0x56,0x61,0x6c,0x69,0x64]));_0x9fef1b(),_0x382404[_0xd7d703([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xd7d703([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x14d9e7=!0x1;const _0xc02bf1=ckeditor5['uid']();function _0x50ba76(_0x2ca8f0){return!!_0x2ca8f0&&(typeof _0x2ca8f0===_0xd7d703([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ca8f0===_0xd7d703([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ca8f0[_0xd7d703([0x74,0x68,0x65,0x6e])]===_0xd7d703([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ca8f0[_0xd7d703([0x63,0x61,0x74,0x63,0x68])]===_0xd7d703([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x49a611(_0x545e6d){_0x4bfcae(_0x545e6d)[_0xd7d703([0x74,0x68,0x65,0x6e])](_0x37301f=>{if(!_0x37301f||_0x37301f[_0xd7d703([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xd7d703([0x6f,0x6b]))return _0xd7d703([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2fb9cb(_0x3d59c0(_0xc02bf1+_0x39b5f5))!=_0x37301f[_0xd7d703([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xd7d703([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xd7d703([0x56,0x61,0x6c,0x69,0x64]);})[_0xd7d703([0x74,0x68,0x65,0x6e])](_0x495349=>(_0x3037cc(),_0x495349),()=>{const _0xb1971d=_0x2b91cb();return null==_0xb1971d?(_0x3037cc(),_0xd7d703([0x56,0x61,0x6c,0x69,0x64])):_0xd7d703(_0x28cc57-_0xb1971d>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xd7d703([0x74,0x68,0x65,0x6e])](_0x4827ca)[_0xd7d703([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4827ca(_0xd7d703([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e3711=0x36ee80;function _0x3037cc(){const _0x397d61=_0xd7d703([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fb9cb(_0x3d59c0(_0x2daf49)),_0x1b8e5a=_0x1d2367(_0x2fb9cb(window[_0xd7d703([0x4d,0x61,0x74,0x68])][_0xd7d703([0x63,0x65,0x69,0x6c])](_0x28cc57/_0x1e3711)));window[_0xd7d703([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd7d703([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x397d61,_0x1b8e5a);}function _0x2b91cb(){const _0x5944f0=_0xd7d703([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fb9cb(_0x3d59c0(_0x2daf49)),_0x4766b0=window[_0xd7d703([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd7d703([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5944f0);return _0x4766b0?window[_0xd7d703([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d2367(_0x4766b0),0x10)*_0x1e3711:null;}function _0x4bfcae(_0x2f55d5){return new window[(_0xd7d703([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25bc9a,_0x20151c)=>{_0x2f55d5[_0xd7d703([0x74,0x68,0x65,0x6e])](_0x25bc9a,_0x20151c),window[_0xd7d703([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x20151c,0x1d4c0);});}}_0x382404[_0xd7d703([0x6f,0x6e])](_0xd7d703([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x23d0e1,_0x48775a)=>{if(_0x48775a[0x0]!=_0x2daf49)return _0x4827ca(_0xd7d703([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x48775a[0x1]={..._0x48775a[0x1],[_0xd7d703([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xc02bf1};},{[_0xd7d703([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd7d703([0x68,0x69,0x67,0x68])}),_0x382404[_0xd7d703([0x6f,0x6e])](_0xd7d703([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x54a21f=>{_0x50ba76(_0x54a21f[_0xd7d703([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x14d9e7=!0x0,_0x49a611(_0x54a21f[_0xd7d703([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xd7d703([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd7d703([0x6c,0x6f,0x77])}),_0xad5f3[_0xd7d703([0x74,0x68,0x65,0x6e])](()=>{_0x14d9e7||_0x4827ca(_0xd7d703([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x9c3f2d(){return _0x382404[_0xd7d703([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd7d703([0x76,0x69,0x65,0x77])][_0xd7d703([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xd7d703([0x61,0x75,0x74,0x6f]);}function _0x9fef1b(){_0x382404[_0xd7d703([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd7d703([0x76,0x69,0x65,0x77])][_0xd7d703([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xd7d703([0x61,0x75,0x74,0x6f]);}}(_0x257df4[_0xd7d703([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x257df4[_0xd7d703([0x6a,0x74,0x69])]));const _0xcaff18=await(async function(){let _0x59c6a3=!0x0;try{const _0x3ec407=_0x11b3fd[_0xd7d703([0x73,0x70,0x6c,0x69,0x74])](_0xd7d703([0x2e])),[_0x41239e,_0x170c37,_0x2b1346]=_0x3ec407;return _0x17f766(_0x41239e),await _0x3b49a5(_0x41239e,_0x170c37,_0x2b1346),_0x59c6a3;}catch{return!0x1;}function _0x17f766(_0x4dc39b){const _0x144334=_0x37a499(_0x4dc39b);_0x144334&&_0x144334[_0xd7d703([0x61,0x6c,0x67])]==_0xd7d703([0x45,0x53,0x32,0x35,0x36])||(_0x59c6a3=!0x1);}async function _0x3b49a5(_0x295c38,_0x15e725,_0x298a37){const _0x1acfc2=window[_0xd7d703([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xd7d703([0x66,0x72,0x6f,0x6d])](_0x23712d(_0x298a37),_0x5c7cd9=>_0x5c7cd9[_0xd7d703([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3107e6=new window[(_0xd7d703([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xd7d703([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x295c38+_0xd7d703([0x2e])+_0x15e725),_0xc026ca=window[_0xd7d703([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xd7d703([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc026ca)return;const _0x5597cb=await _0xc026ca[_0xd7d703([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xd7d703([0x6a,0x77,0x6b]),_0x2077eb,{[_0xd7d703([0x6e,0x61,0x6d,0x65])]:_0xd7d703([0x45,0x43,0x44,0x53,0x41]),[_0xd7d703([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xd7d703([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xd7d703([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc026ca[_0xd7d703([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xd7d703([0x6e,0x61,0x6d,0x65])]:_0xd7d703([0x45,0x43,0x44,0x53,0x41]),[_0xd7d703([0x68,0x61,0x73,0x68])]:{[_0xd7d703([0x6e,0x61,0x6d,0x65])]:_0xd7d703([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5597cb,_0x1acfc2,_0x3107e6)||(_0x59c6a3=!0x1);}}());return _0xcaff18?(function(){const _0x16b58d=_0x257df4[_0xd7d703([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x16b58d)return!0x1;if(_0x16b58d[_0xd7d703([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd7d703([0x2a])))return!0x0;if(_0x16b58d[_0xd7d703([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd7d703([0x50,0x41,0x47])))return!0x0;return!0x1;}())?(function(){const _0x288779=[_0xd7d703([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xd7d703([0x74,0x72,0x69,0x61,0x6c])][_0xd7d703([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x257df4[_0xd7d703([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x28cc57/0x3e8:0x69e02680;return _0x257df4[_0xd7d703([0x65,0x78,0x70])]<_0x288779;}())?_0xd7d703([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x542497=_0x257df4[_0xd7d703([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x542497||0x0==_0x542497[_0xd7d703([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f5b2b}=new URL(window[_0xd7d703([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x542497[_0xd7d703([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f5b2b))return!0x0;const _0x33108f=_0x1f5b2b[_0xd7d703([0x73,0x70,0x6c,0x69,0x74])](_0xd7d703([0x2e]));return _0x542497[_0xd7d703([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x290959=>_0x290959[_0xd7d703([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd7d703([0x2a])))[_0xd7d703([0x6d,0x61,0x70])](_0x1d31ec=>_0x1d31ec[_0xd7d703([0x73,0x70,0x6c,0x69,0x74])](_0xd7d703([0x2e])))[_0xd7d703([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2cb5e6=>_0x2cb5e6[_0xd7d703([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x33108f[_0xd7d703([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd7d703([0x6d,0x61,0x70])](_0x44d841=>Array(_0x33108f[_0xd7d703([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x44d841[_0xd7d703([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd7d703([0x66,0x69,0x6c,0x6c])](_0x44d841[0x0]===_0xd7d703([0x2a])?_0xd7d703([0x2a]):'')[_0xd7d703([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x44d841))[_0xd7d703([0x73,0x6f,0x6d,0x65])](_0x1f6d36=>_0x33108f[_0xd7d703([0x65,0x76,0x65,0x72,0x79])]((_0x40ffb7,_0x209430)=>_0x1f6d36[_0x209430]===_0x40ffb7||_0x1f6d36[_0x209430]===_0xd7d703([0x2a])));}())?(_0x257df4[_0xd7d703([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd7d703([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4b7288=function(_0xb4bd26){const _0x3a82c=new window[(_0xd7d703([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1093e2=>setTimeout(_0x1093e2,0x93ecc)),_0x2de6c5=_0xad5f3[_0xd7d703([0x74,0x68,0x65,0x6e])](()=>new window[(_0xd7d703([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x186a08=>{let _0x2f52bf=0x0;_0x382404[_0xd7d703([0x6d,0x6f,0x64,0x65,0x6c])][_0xd7d703([0x6f,0x6e])](_0xd7d703([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xaa702d,_0x385a7e)=>{_0x385a7e[0x0][_0xd7d703([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f52bf++,0x5e8==_0x2f52bf&&(_0x186a08(),_0xaa702d[_0xd7d703([0x6f,0x66,0x66])]());});})),_0x11d311=[_0x3a82c,_0x2de6c5];return window[_0xd7d703([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xd7d703([0x72,0x61,0x63,0x65])](_0x11d311)[_0xd7d703([0x74,0x68,0x65,0x6e])](()=>_0xb4bd26);}(_0xd7d703([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x4b7288&&_0x11535d)return new window[(_0xd7d703([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x168495,_0x521aac)=>{_0x4b7288[_0xd7d703([0x74,0x68,0x65,0x6e])](_0x168495,_0x521aac),_0x11535d[_0xd7d703([0x74,0x68,0x65,0x6e])](_0x42d68e=>{_0x42d68e!=_0xd7d703([0x56,0x61,0x6c,0x69,0x64])&&_0x168495(_0x42d68e);},_0x521aac);});return _0x4b7288||_0x11535d||_0xd7d703([0x56,0x61,0x6c,0x69,0x64]);}())):_0xd7d703([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xd7d703([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xd7d703([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xd7d703([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x37a499(_0xa3e862){return _0xa3e862[_0xd7d703([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xd7d703([0x65,0x79]))?JSON[_0xd7d703([0x70,0x61,0x72,0x73,0x65])](_0x23712d(_0xa3e862)):null;}function _0x23712d(_0x5353ea){return window[_0xd7d703([0x61,0x74,0x6f,0x62])](_0x5353ea[_0xd7d703([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xd7d703([0x2b]))[_0xd7d703([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xd7d703([0x2f])));}function _0x3d59c0(_0x2bae2c){let _0x2b216a=0x1505;function _0x1d110(_0x440152){for(let _0x29623e=0x0;_0x29623e<_0x440152[_0xd7d703([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29623e++){const _0x3d90b9=_0x440152[_0xd7d703([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29623e);_0x2b216a=(_0x2b216a<<0x5)+_0x2b216a+_0x3d90b9,_0x2b216a&=_0x2b216a;}}return function _0x51f7a3(_0x5bb798){Array[_0xd7d703([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5bb798)?_0x5bb798[_0xd7d703([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51f7a3):_0x5bb798&&typeof _0x5bb798==_0xd7d703([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xd7d703([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5bb798)[_0xd7d703([0x73,0x6f,0x72,0x74])]()[_0xd7d703([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xaaf0be,_0x92d5ee])=>{_0x1d110(_0xaaf0be),_0x51f7a3(_0x92d5ee);}):_0x1d110(window[_0xd7d703([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5bb798));}(_0x2bae2c),_0x2b216a>>>0x0;}function _0x2fb9cb(_0x5498e1){return _0x5498e1[_0xd7d703([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xd7d703([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xd7d703([0x30]));}function _0x1d2367(_0x14aa7c){return _0x14aa7c[_0xd7d703([0x73,0x70,0x6c,0x69,0x74])]('')[_0xd7d703([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xd7d703([0x6a,0x6f,0x69,0x6e])]('');}function _0x4d14ec(){}function _0xd7d703(_0x513809){return _0x513809['map'](_0x1909cf=>String['fromCharCode'](_0x1909cf))['join']('');}!function(_0x2dc652){const _0x15fc0e=(function(){const _0x74569f=window[_0xd7d703([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xd7d703([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd7d703([0x6e,0x6f,0x77])]())[_0xd7d703([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd7d703([0x2e]),'');let _0x92bb85=_0xd7d703([0x49]);for(let _0x2162a1=0x0;_0x2162a1<_0x74569f[_0xd7d703([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2162a1+=0x2){let _0x1b4067=window[_0xd7d703([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x74569f[_0xd7d703([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2162a1,_0x2162a1+0x2));_0x1b4067>=_0x22e04a[_0xd7d703([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1b4067-=_0x22e04a[_0xd7d703([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x92bb85+=_0x22e04a[_0x1b4067];}return _0x92bb85;}());_0x382404[_0x15fc0e]=_0xd7d703([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2dc652,_0x2dc652!=_0xd7d703([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0xad5f3,_0x382404[_0xd7d703([0x6d,0x6f,0x64,0x65,0x6c])][_0xd7d703([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4d14ec,_0x382404[_0xd7d703([0x6d,0x6f,0x64,0x65,0x6c])][_0xd7d703([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4d14ec,_0x382404[_0xd7d703([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd7d703([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x576a40);}const toPx=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');let _0x4aad82=class extends ckeditor5['View']{constructor(){super();const _0x44a730=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x44a730['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x44a730['if']('isVisible','ck-hidden',_0x3b7598=>!_0x3b7598)],'style':{'left':_0x44a730['to']('left',_0x2f549f=>toPx(_0x2f549f)),'top':_0x44a730['to']('top',_0x452410=>toPx(_0x452410)),'width':_0x44a730['to']('width',_0x767cd=>toPx(_0x767cd))}}});}};class LinesRepository{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x50e2d6){this['_viewCollection']=_0x50e2d6['ui']['view']['body'];}['destroy'](){for(const _0x2a990d of this['_hiddenLines'])_0x2a990d['destroy']();}['cleanLines'](){for(const _0x2809eb of this['_visibleLines'])_0x2809eb['isVisible']=!0x1,this['_hiddenLines']['add'](_0x2809eb);this['_visibleLines']['clear']();}['showLine'](_0x270ab0,_0x28dfad,_0x2dbfcb,_0xa0264b){let _0x1d11b6;this['_hiddenLines']['size']?(_0x1d11b6=ckeditor5['first'](this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x1d11b6)):_0x1d11b6=new _0x4aad82(),_0x1d11b6['set']({'pageNumber':_0xa0264b,'left':_0x270ab0,'top':_0x28dfad,'width':_0x2dbfcb}),_0x1d11b6['isVisible']=!0x0,this['_viewCollection']['has'](_0x1d11b6)||this['_viewCollection']['add'](_0x1d11b6),this['_visibleLines']['add'](_0x1d11b6);}['setViewCollection'](_0x555cfa){for(const _0x2a754a of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x2a754a)&&this['_viewCollection']['remove'](_0x2a754a);this['_viewCollection']=_0x555cfa;}}const _0x313301='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'](_0x313301),this['on']('change:isEnabled',(_0x1e634a,_0xeae884,_0x52394c)=>{_0x52394c||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](_0x313301,_0x52394c);});}['destroy'](){this['_toggleEditingRootsClass'](_0x313301,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x4785fb){if(!this['isEnabled'])return;const _0x40e31b=_0x4785fb>0x1?this['_getPageBreakLineOffset'](_0x4785fb-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x40e31b-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':ckeditor5['env']['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x3cac09=this['editor'],_0x39d897=this['_getAttachedDomRoot']();_0x39d897?(this['_scrollableEditingRootDomAncestor']&&_0x3cac09['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=findScrollableElement(_0x39d897),_0x3cac09['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new ckeditor5['ResizeObserver'](this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x3cac09['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x383389=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x383389['ui']['view']['listenTo'](ckeditor5['global']['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x383389['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x19bd7d of this['editor']['editing']['view']['domRoots']['values']())if(_0x19bd7d['ownerDocument']['body']['contains'](_0x19bd7d))return _0x19bd7d;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x4a695e=this['_getAttachedDomRoot'](),_0x52c505=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x4a695e||0x1==_0x52c505['length'])return void(this['pageNumber']=0x1);const _0xab5469=new ckeditor5['Rect'](_0x4a695e)['excludeScrollbarsAndBorders'](),_0x68d38b=new ckeditor5['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x98fcf0=_0x68d38b['top']+_0x68d38b['height']/0x3;let _0xf2c3ff=!0x1;const _0x357288=[];for(let _0x14f467=0x1;_0x14f467<_0x52c505['length'];_0x14f467++){const _0x527aeb=this['_getPageBreakLineOffset'](_0x14f467,_0x68d38b);if(!_0x527aeb)continue;const _0x477646=_0x68d38b['top']+_0x527aeb-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x357288['push']({'pageOffsetTop':_0x477646,'domRootRect':_0xab5469,'domScrollableRect':_0x68d38b,'pageNumber':_0x14f467}),_0x477646>_0x98fcf0&&!_0xf2c3ff&&(this['pageNumber']=_0x14f467,_0xf2c3ff=!0x0);}this['_renderPageBreakLines'](_0x357288),_0xf2c3ff||(this['pageNumber']=_0x52c505['length']);}['_renderPageBreakLines'](_0x472d49){const {scrollX:_0x180ffd,scrollY:_0x61ae34}=ckeditor5['global']['window'];if(_0x472d49['length']){for(const {domScrollableRect:_0x251edd,pageOffsetTop:_0xd31915,domRootRect:_0x2cd726,pageNumber:_0x56b0c3}of _0x472d49)_0x251edd['top']<_0xd31915&&_0xd31915<_0x251edd['bottom']&&this['linesRepository']['showLine'](_0x2cd726['left']+_0x180ffd,_0xd31915+_0x61ae34,_0x2cd726['width'],_0x56b0c3+0x1);}}['_getPageBreakLineOffset'](_0x50090a,_0x40a88f=null){const _0x4793fd=this['_paginationLookupPlugin']['pageBreaks'][_0x50090a]['offset'];return _0x4793fd?(_0x40a88f||(_0x40a88f=new ckeditor5['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x4793fd-_0x40a88f['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x214d71,_0x18c7ab=!0x0){const _0x4c453b=this['editor']['editing']['view'];_0x4c453b['change'](_0x2f266b=>{for(const _0x112efb of _0x4c453b['document']['roots'])_0x18c7ab?_0x2f266b['addClass'](_0x214d71,_0x112efb):_0x2f266b['removeClass'](_0x214d71,_0x112efb);});}}function findScrollableElement(_0x388f0b){let _0x531df5=_0x388f0b;do{_0x531df5=_0x531df5['parentElement'];const _0x14bdd0=ckeditor5['global']['window']['getComputedStyle'](_0x531df5)['overflowY'];if('auto'==_0x14bdd0||'scroll'==_0x14bdd0)break;}while('BODY'!=_0x531df5['tagName']);return _0x531df5;}function getTranslation$7(_0x18fe64,_0x5299b0,..._0x59edb0){const t=_0x18fe64['t'];switch(_0x5299b0){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)',..._0x59edb0);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 _0x5299b0;}}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 _0x2bee05=this['editor']['plugins']['get']('Pagination'),_0x303e02=this['editor']['plugins']['get'](PaginationLookup),_0x2806ef=this['editor']['plugins']['get'](PaginationRenderer);this['bind']('isEnabled')['to'](_0x2bee05),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x2806ef),this['listenTo'](_0x303e02,'change:pageBreaks',(_0x45e183,_0x1c0410,_0x2c6371,_0x529b52)=>{this['totalPages']=_0x2c6371['length'],this['_updatePageBreakMarkers'](_0x2c6371,_0x529b52);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3ff252=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x47a26e;for(const _0x56f16f in _0x3ff252){const _0x5f1c5b=_0x56f16f,_0x48a604=_0x3ff252[_0x5f1c5b];if('paginationLicenseKeyValid'==_0x48a604||'paginationLicenseKeyInvalid'==_0x48a604||'paginationLicenseKeyExpired'==_0x48a604||'paginationLicenseKeyDomainLimit'==_0x48a604||'paginationLicenseKeyNotAllowed'==_0x48a604||'paginationLicenseKeyEvaluationLimit'==_0x48a604||'paginationLicenseKeyUsageLimit'==_0x48a604){delete _0x3ff252[_0x5f1c5b],_0x47a26e=_0x48a604,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x47a26e&&_0x3ff252['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x47a26e&&_0x3ff252['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x47a26e&&_0x3ff252['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x47a26e&&_0x3ff252['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x47a26e&&_0x3ff252['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x47a26e&&_0x3ff252['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x1094ae){if(!this['isEnabled'])return;this['editor']['plugins']['get'](PaginationRenderer)['scrollToPage'](this['_validatePageNumber'](_0x1094ae));}['moveSelectionToPage'](_0x556f86){if(!this['isEnabled'])return;const _0x291b91=this['editor'],_0x542f22=this['editor']['plugins']['get'](PaginationLookup)['pageBreaks'][_0x556f86-0x1];_0x542f22&&_0x291b91['model']['change'](_0x3dbb66=>{switch(_0x542f22['type']){case'manual':{const _0x51baf3=_0x291b91['model']['schema']['getNearestSelectionRange'](_0x542f22['modelRange']['end'],'forward');_0x3dbb66['setSelection'](_0x51baf3);break;}case'element':{const _0x4a2bc=_0x291b91['model']['schema']['getNearestSelectionRange'](_0x542f22['modelRange']['start'],'forward');_0x3dbb66['setSelection'](_0x4a2bc);break;}case'text':{const _0x3c9077=_0x542f22['modelRange']['start'];if(_0x3c9077['textNode']&&'\x20'===_0x3c9077['textNode']['data'][_0x3c9077['offset']]){const _0x3a5797=_0x3dbb66['createPositionAt'](_0x3c9077['parent'],_0x3c9077['offset']+0x1);_0x3dbb66['setSelection'](_0x3a5797);}else _0x3dbb66['setSelection'](_0x542f22['modelRange']);}}_0x291b91['editing']['view']['focus']();});}['goToNextPage'](){const _0x52e0a6=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x52e0a6),this['scrollToPage'](_0x52e0a6);}['goToPreviousPage'](){const _0x1e3657=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x1e3657),this['scrollToPage'](_0x1e3657);}['_updatePageBreakMarkers'](_0x269c9b,_0x2d983c){const _0x53178a=this['editor']['model'];this['isEnabled']&&_0x53178a['change'](_0x3bc287=>{for(let _0x274d50=0x1;_0x274d50<_0x269c9b['length'];_0x274d50++){const _0x584906=_0x269c9b[_0x274d50]['modelRange'],_0xcc9fcc='pagination:'+(_0x274d50+0x1);_0x53178a['markers']['has'](_0xcc9fcc)?_0x3bc287['updateMarker'](_0xcc9fcc,{'range':_0x584906}):_0x3bc287['addMarker'](_0xcc9fcc,{'range':_0x584906,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x5615f2=_0x269c9b['length'];_0x5615f2<_0x2d983c['length'];_0x5615f2++){const _0x4257de='pagination:'+(_0x5615f2+0x1);_0x53178a['markers']['has'](_0x4257de)&&_0x3bc287['removeMarker'](_0x4257de);}});}['_setUpDataDowncastConversion'](){const _0x5934e8='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x1f38d1=>{_0x1f38d1['on']('addMarker:'+_0x5934e8,(_0x516554,{markerRange:_0x18334f,markerName:_0x1d4c45},_0x3993bb)=>{if(!_0x3993bb['options']['pagination'])return;if(!_0x3993bb['consumable']['consume'](_0x18334f,_0x516554['name']))return;const _0x130aa0=_0x18334f['getContainedElement']();let _0xa2ce57=_0x130aa0?_0x3993bb['mapper']['toViewElement'](_0x130aa0):null;if(!_0xa2ce57){const _0x506726=_0x18334f['start'];if(_0x3993bb['schema']['checkChild'](_0x506726,'$text')){const _0x4bbb67=_0x3993bb['mapper']['toViewPosition'](_0x506726);_0xa2ce57=_0x3993bb['writer']['createContainerElement']('span'),_0xa2ce57['getFillerOffset']=()=>null,_0x3993bb['writer']['insert'](_0x4bbb67,_0xa2ce57);}else{const _0x2b9a88=_0x506726['nodeAfter'];_0xa2ce57=_0x3993bb['mapper']['toViewElement'](_0x2b9a88);}}for(;_0xa2ce57['parent']!==_0xa2ce57['root']&&0x0===_0xa2ce57['index'];)_0xa2ce57=_0xa2ce57['parent'];const _0x4527ea=_0x1d4c45['substring'](0xb);_0xa2ce57['hasClass']('page-break')||(_0x3993bb['writer']['setStyle']('page-break-before','always',_0xa2ce57),_0x3993bb['writer']['setAttribute']('data-pagination-page',_0x4527ea,_0xa2ce57),_0x3993bb['mapper']['bindElementToMarker'](_0xa2ce57,_0x1d4c45)),_0x516554['stop']();});});}['_setupKeystrokes'](){const _0x34f8c6=this['editor'];_0x34f8c6['keystrokes']['set']('Shift+Pageup',(_0x1563b7,_0x16a6fb)=>{this['goToPreviousPage'](),_0x16a6fb();}),_0x34f8c6['keystrokes']['set']('Shift+Pagedown',(_0x39cf51,_0x58cc02)=>{this['goToNextPage'](),_0x58cc02();}),_0x34f8c6['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':getTranslation$7(_0x34f8c6['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':getTranslation$7(_0x34f8c6['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':getTranslation$7(_0x34f8c6['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x4e1927){return _0x4e1927<0x1&&(_0x4e1927=0x1),_0x4e1927>this['totalPages']&&(_0x4e1927=this['totalPages']),_0x4e1927;}}class PageNavigatorView extends ckeditor5['View']{['pageNumberView'];constructor(_0x512195){super(_0x512195);const _0x49319c=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new ckeditor5['InputNumberView'](_0x512195,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x2430e6=>getTranslation$7(_0x512195,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x2430e6)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x101df6=>!_0x101df6),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x49319c['if']('isEnabled','ck-disabled',_0x477ceb=>!_0x477ceb)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x49319c['to']('totalPages')}]}]});}['render'](){super['render']();const _0x41042b=this['pageNumberView']['element'],_0x2a0d11=_0x54d232=>{this['pageNumberView']['element']['value']=String(_0x54d232);};_0x2a0d11(this['pageNumber']),this['on']('change:pageNumber',(_0x1e7bf6,_0x23b516,_0xd1202c)=>{_0x2a0d11(_0xd1202c);}),this['listenTo'](_0x41042b,'keydown',(_0x3260d1,_0x497074)=>{if('ArrowUp'===_0x497074['key']||'ArrowDown'===_0x497074['key'])return void _0x497074['stopPropagation']();if(_0x497074['keyCode']!==ckeditor5['keyCodes']['enter'])return;_0x497074['preventDefault']();const _0x19eeaa=_0x41042b['valueAsNumber'];Number['isNaN'](_0x19eeaa)?_0x41042b['value']=String(this['pageNumber']):(_0x41042b['checkValidity']()?this['pageNumber']=_0x19eeaa:_0x19eeaa>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x41042b['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x41042b['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x41042b,'blur',()=>{_0x41042b['value']=String(this['pageNumber']);}),this['listenTo'](_0x41042b,'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 _0x2d75bd=this['editor'],_0x28692c=_0x2d75bd['plugins']['get']('PaginationEditing');_0x2d75bd['ui']['componentFactory']['add']('pageNavigation',_0x4f9298=>{const _0x72d374=new PageNavigatorView(_0x4f9298);return _0x72d374['bind']('pageNumber')['to'](_0x28692c),_0x72d374['bind']('totalPages')['to'](_0x28692c),_0x72d374['bind']('isEnabled')['to'](_0x28692c),_0x72d374['on']('navigation',(_0x59fa0d,_0x3d5241)=>{_0x28692c['moveSelectionToPage'](_0x3d5241),_0x28692c['scrollToPage'](_0x3d5241);}),_0x72d374;}),_0x2d75bd['ui']['componentFactory']['add']('nextPage',_0x219d48=>{const _0x47c63e=new ckeditor5['ButtonView'](_0x219d48);return _0x47c63e['isEnabled']=!0x0,_0x47c63e['label']=getTranslation$7(_0x2d75bd['locale'],'Go\x20to\x20next\x20page'),_0x47c63e['icon']=ckeditor5['IconArrowDown'],_0x47c63e['tooltip']=!0x0,_0x47c63e['keystroke']='Shift+PageDown',_0x47c63e['bind']('isEnabled')['to'](_0x28692c),this['listenTo'](_0x47c63e,'execute',()=>{_0x28692c['goToNextPage']();}),_0x47c63e;}),_0x2d75bd['ui']['componentFactory']['add']('previousPage',_0x31c976=>{const _0x378a7d=new ckeditor5['ButtonView'](_0x31c976);return _0x378a7d['isEnabled']=!0x0,_0x378a7d['label']=getTranslation$7(_0x2d75bd['locale'],'Go\x20to\x20previous\x20page'),_0x378a7d['icon']=ckeditor5['IconArrowUp'],_0x378a7d['tooltip']=!0x0,_0x378a7d['keystroke']='Shift+PageUp',_0x378a7d['bind']('isEnabled')['to'](_0x28692c),this['listenTo'](_0x378a7d,'execute',()=>{_0x28692c['goToPreviousPage']();}),_0x378a7d;});}}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(_0x572809){super(_0x572809),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1090b3=this['editor']['plugins']['get'](PaginationEditing);this['bind']('pageNumber')['to'](_0x1090b3),this['bind']('totalPages')['to'](_0x1090b3),ckeditor5['env']['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x259dd4){this['editor']['plugins']['get'](PaginationEditing)['scrollToPage'](_0x259dd4);}}const _0x5a4b30=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function isMSExcelContent(_0x2468ef){return _0x5a4b30['test'](_0x2468ef);}const _0x5ce401=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function getMatchingStyles(_0x59736a,_0x9c3d1b){const _0x32b51e=new Map();for(const [_0x4f2535,_0x1f79f9]of _0x9c3d1b){if(!_0x4f2535['tagName']&&!_0x4f2535['className'])continue;const _0x2ec805=!_0x4f2535['tagName']||_0x59736a['name']===_0x4f2535['tagName'],_0x4894cd=!_0x4f2535['className']||_0x59736a['hasClass'](_0x4f2535['className']);_0x2ec805&&_0x4894cd&&_0x32b51e['set'](_0x4f2535,_0x1f79f9);}return _0x32b51e;}function extractStyles(_0x4a5d9d){const _0x5a8ed4={};for(const _0x5bdf73 of _0x4a5d9d)for(const _0xcac19f of _0x5bdf73['cssRules'])if(_0xcac19f instanceof CSSStyleRule){const _0xca4b05=parseCSSStyleDeclaration(_0xcac19f['style']);_0x5a8ed4[_0xcac19f['selectorText']]=Object['assign']({},_0x5a8ed4[_0xcac19f['selectorText']]||{},_0xca4b05);}return _0x5a8ed4;}function expandStyles(_0x32ba7b){const _0x5dc503=new Map();for(const _0xa53ae4 in _0x32ba7b){const _0x456dde=parseCSSSelector(_0xa53ae4),_0x976b5d=_0x32ba7b[_0xa53ae4];for(const _0x144b8b of _0x456dde)_0x5dc503['set'](_0x144b8b,_0x976b5d);}return _0x5dc503;}function parseCSSStyleDeclaration(_0x51aa85){const _0x14486a={};for(let _0x13d631=0x0;_0x13d631<_0x51aa85['length'];_0x13d631++){const _0xb1eed0=_0x51aa85[_0x13d631],_0x4931d8=_0x51aa85['getPropertyValue'](_0xb1eed0);'initial'!==_0x4931d8&&(_0x14486a[_0xb1eed0]=_0x4931d8);}return _0x14486a;}function parseCSSSelector(_0x5d17bc){const _0x49d6f8=_0x5d17bc['split'](',')['map'](_0x4a575b=>_0x4a575b['trim']()),_0x50c319=[];for(const _0x3961df of _0x49d6f8){const _0x5bea57=_0x5ce401['exec'](_0x3961df);_0x5bea57&&_0x50c319['push'](_0x5bea57['groups']);}return _0x50c319;}function flattenStyleDefinitions(_0x4e1924){const _0x452b10={};for(const _0x28834c of _0x4e1924)Object['assign'](_0x452b10,_0x28834c);return _0x452b10;}class MSOfficeStylesInliner extends ckeditor5['PasteFromOfficeMSWordNormalizer']{['execute'](_0x1af1ff){const {body:_0x248732,styles:_0x51e81a}=_0x1af1ff['_parsedData'],_0x30673d=new ckeditor5['ViewUpcastWriter'](_0x248732['document']),_0x1d41ba=_0x30673d['createRangeIn'](_0x248732),_0xe9b631=expandStyles(extractStyles(_0x51e81a));for(const _0x40cc4e of _0x1d41ba){if('elementStart'!==_0x40cc4e['type'])continue;const _0x36b5a2=getMatchingStyles(_0x40cc4e['item'],_0xe9b631);if(_0x36b5a2['size']){const _0x2803a0=flattenStyleDefinitions(Array['from'](_0x36b5a2['values']()));for(const _0x166c01 in _0x2803a0){const _0x2662e2=_0x40cc4e['item'];_0x2662e2['hasStyle'](_0x166c01)||_0x30673d['setStyle'](_0x166c01,_0x2803a0[_0x166c01],_0x2662e2);}}}_0x1af1ff['content']=_0x248732;}['isActive'](_0x1033e4){return super['isActive'](_0x1033e4)||isMSExcelContent(_0x1033e4);}}class PasteFromOfficeEnhancedInliner extends ckeditor5['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x137dc0=this['editor'],_0x400c2e=_0x137dc0['plugins']['get']('ClipboardPipeline'),_0x1b9b55=_0x137dc0['editing']['view']['document'],_0x29f5b0=new MSOfficeStylesInliner(_0x1b9b55);_0x400c2e['on']('inputTransformation',(_0x81a96f,_0x1ecd37)=>{const _0x476dc1=_0x1ecd37['dataTransfer']['getData']('text/html');_0x29f5b0['isActive'](_0x476dc1)&&(_0x1ecd37['_parsedData']||(_0x1ecd37['_parsedData']=ckeditor5['parsePasteOfficeHtml'](_0x476dc1,_0x1b9b55['stylesProcessor'])),_0x29f5b0['execute'](_0x1ecd37));},{'priority':ckeditor5['priorities']['get']('high')+0xb});}['afterInit'](){_0x58e3c9(this);}}async function _0x58e3c9(_0x916fc2){const _0x4f99ac=_0x50d705([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]),_0x3d119b=window[_0x50d705([0x44,0x61,0x74,0x65])][_0x50d705([0x6e,0x6f,0x77])](),_0x552516=_0x916fc2[_0x50d705([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3abc8b=new window[(_0x50d705([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x117f89=>{_0x552516[_0x50d705([0x6f,0x6e,0x63,0x65])](_0x50d705([0x72,0x65,0x61,0x64,0x79]),_0x117f89);}),_0x4e59fa={[_0x50d705([0x6b,0x74,0x79])]:_0x50d705([0x45,0x43]),[_0x50d705([0x75,0x73,0x65])]:_0x50d705([0x73,0x69,0x67]),[_0x50d705([0x63,0x72,0x76])]:_0x50d705([0x50,0x2d,0x32,0x35,0x36]),[_0x50d705([0x78])]:_0x50d705([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]),[_0x50d705([0x79])]:_0x50d705([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]),[_0x50d705([0x61,0x6c,0x67])]:_0x50d705([0x45,0x53,0x32,0x35,0x36])},_0x4f034b=_0x552516[_0x50d705([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x50d705([0x67,0x65,0x74])](_0x50d705([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2d3754=await(async function(){let _0x302cfa,_0x6c2d51=null,_0x49482e=null;try{if(_0x4f034b==_0x50d705([0x47,0x50,0x4c]))return _0x50d705([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x302cfa=(function(){const _0xe57de1=_0x4f034b[_0x50d705([0x73,0x70,0x6c,0x69,0x74])](_0x50d705([0x2e]));if(0x3!=_0xe57de1[_0x50d705([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x4e97f5=_0xe57de1[0x1];return _0x5bf5cc(_0x4e97f5);function _0x5bf5cc(_0x1ac0cb){const _0x5b84f0=_0x11a1d2(_0x1ac0cb);return _0x5b84f0&&_0x1bf1bd()?_0x5b84f0:null;function _0x1bf1bd(){const _0x433302=_0x5b84f0[_0x50d705([0x6a,0x74,0x69])],_0x2eca42=window[_0x50d705([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x433302[_0x50d705([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x433302[_0x50d705([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa6c57b={..._0x5b84f0,[_0x50d705([0x6a,0x74,0x69])]:_0x433302[_0x50d705([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x433302[_0x50d705([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa6c57b[_0x50d705([0x76,0x63])],_0x3de9b5(_0xa6c57b)==_0x2eca42;}}}()),!_0x302cfa)return _0x50d705([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x302cfa[_0x50d705([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x49482e=function(_0x195afb,_0x6685fb){return new window[(_0x50d705([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3efae7=>{if(_0x3adb92())return _0x3efae7(_0x50d705([0x56,0x61,0x6c,0x69,0x64]));_0x3858bb(),_0x552516[_0x50d705([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x50d705([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c83ce=!0x1;const _0x1d5767=ckeditor5['uid']();function _0x16457c(_0x1fb770){return!!_0x1fb770&&(typeof _0x1fb770===_0x50d705([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1fb770===_0x50d705([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1fb770[_0x50d705([0x74,0x68,0x65,0x6e])]===_0x50d705([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1fb770[_0x50d705([0x63,0x61,0x74,0x63,0x68])]===_0x50d705([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51dda1(_0x6b103a){_0x337301(_0x6b103a)[_0x50d705([0x74,0x68,0x65,0x6e])](_0x526538=>{if(!_0x526538||_0x526538[_0x50d705([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x50d705([0x6f,0x6b]))return _0x50d705([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3c2027(_0x3de9b5(_0x1d5767+_0x6685fb))!=_0x526538[_0x50d705([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x50d705([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x50d705([0x56,0x61,0x6c,0x69,0x64]);})[_0x50d705([0x74,0x68,0x65,0x6e])](_0x14d629=>(_0x1e68e2(),_0x14d629),()=>{const _0x53130a=_0x3c3946();return null==_0x53130a?(_0x1e68e2(),_0x50d705([0x56,0x61,0x6c,0x69,0x64])):_0x50d705(_0x3d119b-_0x53130a>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x50d705([0x74,0x68,0x65,0x6e])](_0x3efae7)[_0x50d705([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3efae7(_0x50d705([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xb0e2ac=0x36ee80;function _0x1e68e2(){const _0x307453=_0x50d705([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c2027(_0x3de9b5(_0x195afb)),_0x9640f0=_0x4aeb93(_0x3c2027(window[_0x50d705([0x4d,0x61,0x74,0x68])][_0x50d705([0x63,0x65,0x69,0x6c])](_0x3d119b/_0xb0e2ac)));window[_0x50d705([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50d705([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x307453,_0x9640f0);}function _0x3c3946(){const _0x590786=_0x50d705([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c2027(_0x3de9b5(_0x195afb)),_0x2f171e=window[_0x50d705([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50d705([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x590786);return _0x2f171e?window[_0x50d705([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4aeb93(_0x2f171e),0x10)*_0xb0e2ac:null;}function _0x337301(_0xfd6807){return new window[(_0x50d705([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40be69,_0xbc87ff)=>{_0xfd6807[_0x50d705([0x74,0x68,0x65,0x6e])](_0x40be69,_0xbc87ff),window[_0x50d705([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xbc87ff,0x1d4c0);});}}_0x552516[_0x50d705([0x6f,0x6e])](_0x50d705([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x78c300,_0x365e3c)=>{if(_0x365e3c[0x0]!=_0x195afb)return _0x3efae7(_0x50d705([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x365e3c[0x1]={..._0x365e3c[0x1],[_0x50d705([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1d5767};},{[_0x50d705([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50d705([0x68,0x69,0x67,0x68])}),_0x552516[_0x50d705([0x6f,0x6e])](_0x50d705([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x103cc9=>{_0x16457c(_0x103cc9[_0x50d705([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c83ce=!0x0,_0x51dda1(_0x103cc9[_0x50d705([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x50d705([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50d705([0x6c,0x6f,0x77])}),_0x3abc8b[_0x50d705([0x74,0x68,0x65,0x6e])](()=>{_0x4c83ce||_0x3efae7(_0x50d705([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3adb92(){return _0x552516[_0x50d705([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50d705([0x76,0x69,0x65,0x77])][_0x50d705([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x50d705([0x61,0x75,0x74,0x6f]);}function _0x3858bb(){_0x552516[_0x50d705([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50d705([0x76,0x69,0x65,0x77])][_0x50d705([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x50d705([0x61,0x75,0x74,0x6f]);}}(_0x302cfa[_0x50d705([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x302cfa[_0x50d705([0x6a,0x74,0x69])]));const _0x34919e=await(async function(){let _0x5171d7=!0x0;try{const _0x264730=_0x4f034b[_0x50d705([0x73,0x70,0x6c,0x69,0x74])](_0x50d705([0x2e])),[_0x5c4feb,_0x17bdb4,_0x2a188a]=_0x264730;return _0x1bd87f(_0x5c4feb),await _0x1b3458(_0x5c4feb,_0x17bdb4,_0x2a188a),_0x5171d7;}catch{return!0x1;}function _0x1bd87f(_0x5d4380){const _0x10cb91=_0x11a1d2(_0x5d4380);_0x10cb91&&_0x10cb91[_0x50d705([0x61,0x6c,0x67])]==_0x50d705([0x45,0x53,0x32,0x35,0x36])||(_0x5171d7=!0x1);}async function _0x1b3458(_0x3fe9a9,_0x36bc7d,_0x3c027d){const _0x23a150=window[_0x50d705([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x50d705([0x66,0x72,0x6f,0x6d])](_0xe56365(_0x3c027d),_0x4c1852=>_0x4c1852[_0x50d705([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c3c71=new window[(_0x50d705([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x50d705([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3fe9a9+_0x50d705([0x2e])+_0x36bc7d),_0x2d1d5d=window[_0x50d705([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x50d705([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2d1d5d)return;const _0x2a089f=await _0x2d1d5d[_0x50d705([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x50d705([0x6a,0x77,0x6b]),_0x4e59fa,{[_0x50d705([0x6e,0x61,0x6d,0x65])]:_0x50d705([0x45,0x43,0x44,0x53,0x41]),[_0x50d705([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x50d705([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x50d705([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2d1d5d[_0x50d705([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x50d705([0x6e,0x61,0x6d,0x65])]:_0x50d705([0x45,0x43,0x44,0x53,0x41]),[_0x50d705([0x68,0x61,0x73,0x68])]:{[_0x50d705([0x6e,0x61,0x6d,0x65])]:_0x50d705([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2a089f,_0x23a150,_0x3c3c71)||(_0x5171d7=!0x1);}}());return _0x34919e?(function(){const _0x598138=_0x302cfa[_0x50d705([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x598138)return!0x1;if(_0x598138[_0x50d705([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d705([0x2a])))return!0x0;if(_0x598138[_0x50d705([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d705([0x50,0x4f,0x45])))return!0x0;if(_0x598138[_0x50d705([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d705([0x50,0x50])))return!0x0;if(_0x598138[_0x50d705([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d705([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x50d705([0x67,0x6c,0x6f,0x62])]&&window[_0x50d705([0x67,0x6c,0x6f,0x62])][_0x50d705([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x4f5dbc=[_0x50d705([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x50d705([0x74,0x72,0x69,0x61,0x6c])][_0x50d705([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x302cfa[_0x50d705([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d119b/0x3e8:0x69e02680;return _0x302cfa[_0x50d705([0x65,0x78,0x70])]<_0x4f5dbc;}())?_0x50d705([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x372013=_0x302cfa[_0x50d705([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x372013||0x0==_0x372013[_0x50d705([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4da89c}=new URL(window[_0x50d705([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x372013[_0x50d705([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4da89c))return!0x0;const _0x47458f=_0x4da89c[_0x50d705([0x73,0x70,0x6c,0x69,0x74])](_0x50d705([0x2e]));return _0x372013[_0x50d705([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x423e38=>_0x423e38[_0x50d705([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d705([0x2a])))[_0x50d705([0x6d,0x61,0x70])](_0x20fa67=>_0x20fa67[_0x50d705([0x73,0x70,0x6c,0x69,0x74])](_0x50d705([0x2e])))[_0x50d705([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b232e=>_0x3b232e[_0x50d705([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x47458f[_0x50d705([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x50d705([0x6d,0x61,0x70])](_0x5302ce=>Array(_0x47458f[_0x50d705([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5302ce[_0x50d705([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x50d705([0x66,0x69,0x6c,0x6c])](_0x5302ce[0x0]===_0x50d705([0x2a])?_0x50d705([0x2a]):'')[_0x50d705([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5302ce))[_0x50d705([0x73,0x6f,0x6d,0x65])](_0x5cabb7=>_0x47458f[_0x50d705([0x65,0x76,0x65,0x72,0x79])]((_0x7020ca,_0x278b69)=>_0x5cabb7[_0x278b69]===_0x7020ca||_0x5cabb7[_0x278b69]===_0x50d705([0x2a])));}())?(_0x302cfa[_0x50d705([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50d705([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x6c2d51=function(_0x5523cf){const _0x5b19a9=new window[(_0x50d705([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48440d=>setTimeout(_0x48440d,0x93ecc)),_0x1e6f27=_0x3abc8b[_0x50d705([0x74,0x68,0x65,0x6e])](()=>new window[(_0x50d705([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x479cdf=>{let _0x573465=0x0;_0x552516[_0x50d705([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d705([0x6f,0x6e])](_0x50d705([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x24fba0,_0x321703)=>{_0x321703[0x0][_0x50d705([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x573465++,0x5e8==_0x573465&&(_0x479cdf(),_0x24fba0[_0x50d705([0x6f,0x66,0x66])]());});})),_0x3f0686=[_0x5b19a9,_0x1e6f27];return window[_0x50d705([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x50d705([0x72,0x61,0x63,0x65])](_0x3f0686)[_0x50d705([0x74,0x68,0x65,0x6e])](()=>_0x5523cf);}(_0x50d705([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x6c2d51&&_0x49482e)return new window[(_0x50d705([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a1550,_0x169ed2)=>{_0x6c2d51[_0x50d705([0x74,0x68,0x65,0x6e])](_0x1a1550,_0x169ed2),_0x49482e[_0x50d705([0x74,0x68,0x65,0x6e])](_0x42d6f=>{_0x42d6f!=_0x50d705([0x56,0x61,0x6c,0x69,0x64])&&_0x1a1550(_0x42d6f);},_0x169ed2);});return _0x6c2d51||_0x49482e||_0x50d705([0x56,0x61,0x6c,0x69,0x64]);}())):_0x50d705([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x50d705([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x50d705([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x50d705([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x11a1d2(_0x5742c5){return _0x5742c5[_0x50d705([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x50d705([0x65,0x79]))?JSON[_0x50d705([0x70,0x61,0x72,0x73,0x65])](_0xe56365(_0x5742c5)):null;}function _0xe56365(_0x553385){return window[_0x50d705([0x61,0x74,0x6f,0x62])](_0x553385[_0x50d705([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x50d705([0x2b]))[_0x50d705([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x50d705([0x2f])));}function _0x3de9b5(_0x4067a4){let _0x2267fb=0x1505;function _0x2a5491(_0x821b75){for(let _0x7ee20f=0x0;_0x7ee20f<_0x821b75[_0x50d705([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7ee20f++){const _0x27a1bc=_0x821b75[_0x50d705([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x7ee20f);_0x2267fb=(_0x2267fb<<0x5)+_0x2267fb+_0x27a1bc,_0x2267fb&=_0x2267fb;}}return function _0x147eff(_0x429f1f){Array[_0x50d705([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x429f1f)?_0x429f1f[_0x50d705([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x147eff):_0x429f1f&&typeof _0x429f1f==_0x50d705([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x50d705([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x429f1f)[_0x50d705([0x73,0x6f,0x72,0x74])]()[_0x50d705([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x9ea914,_0x2b71ef])=>{_0x2a5491(_0x9ea914),_0x147eff(_0x2b71ef);}):_0x2a5491(window[_0x50d705([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x429f1f));}(_0x4067a4),_0x2267fb>>>0x0;}function _0x3c2027(_0x5411d3){return _0x5411d3[_0x50d705([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x50d705([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x50d705([0x30]));}function _0x4aeb93(_0x3d731f){return _0x3d731f[_0x50d705([0x73,0x70,0x6c,0x69,0x74])]('')[_0x50d705([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x50d705([0x6a,0x6f,0x69,0x6e])]('');}function _0x127010(){}function _0x50d705(_0x98f754){return _0x98f754['map'](_0x152ef1=>String['fromCharCode'](_0x152ef1))['join']('');}!function(_0x53b5a0){const _0x307599=(function(){const _0x53dc8c=window[_0x50d705([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x50d705([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x50d705([0x6e,0x6f,0x77])]())[_0x50d705([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x50d705([0x2e]),'');let _0x78c1e3=_0x50d705([0x73]);for(let _0x3b74f1=0x0;_0x3b74f1<_0x53dc8c[_0x50d705([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b74f1+=0x2){let _0x4a9cda=window[_0x50d705([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53dc8c[_0x50d705([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b74f1,_0x3b74f1+0x2));_0x4a9cda>=_0x4f99ac[_0x50d705([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4a9cda-=_0x4f99ac[_0x50d705([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x78c1e3+=_0x4f99ac[_0x4a9cda];}return _0x78c1e3;}());_0x552516[_0x307599]=_0x50d705([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])+_0x53b5a0,_0x53b5a0!=_0x50d705([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x3abc8b,_0x552516[_0x50d705([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d705([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x127010,_0x552516[_0x50d705([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d705([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x127010,_0x552516[_0x50d705([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x50d705([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x2d3754);}const _0x52da92=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],_0x30f33a=['color','font-family','font-size'],_0x64ace2={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x255ad4=>Number(_0x255ad4)>=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(_0x24970a){return _0x52da92['includes'](_0x24970a);}function isPropertyToBePropagatedAsSpan(_0x4bbb91){return _0x30f33a['includes'](_0x4bbb91);}function isPropertyToBePropagatedAsHTMLElement(_0xa67f88){return _0xa67f88 in _0x64ace2;}function getStylePropertyNamesToPropagate(_0x23f966){return Array['from'](_0x23f966['getStyleNames']())['filter'](isPropertyToBePropagated);}function propagateStyleProperties(_0x51fb34,_0x1776b7,_0x148ea9){const {spanStyles:_0x506ba3,stylesToBeHtmlElements:_0xf21e31}=getStylesToPropagate(_0x51fb34,_0x148ea9);propagateStylesAsHTMLElements(_0x51fb34,_0x1776b7,_0xf21e31),propagateStylesAsSpan(_0x51fb34,_0x1776b7,_0x506ba3);}function propagateStylesAsHTMLElements(_0x27f587,_0x466075,_0x4792bc){for(const _0x3a3dd5 in _0x4792bc){_0x4792bc[_0x3a3dd5]['forEach'](([,_0x916b5])=>{const _0x3e795b=_0x466075['createElement'](_0x916b5,[],_0x27f587['getChildren']());_0x466075['insertChild'](0x0,_0x3e795b,_0x27f587);}),_0x466075['removeStyle'](_0x3a3dd5,_0x27f587);}}function propagateStylesAsSpan(_0x2acf02,_0x18bb71,_0x48eef9){if(!Object['keys'](_0x48eef9)['length'])return;const _0x4f2d30=_0x18bb71['createElement']('span',[],_0x2acf02['getChildren']());_0x18bb71['setStyle'](_0x48eef9,_0x4f2d30),_0x18bb71['insertChild'](0x0,_0x4f2d30,_0x2acf02),_0x18bb71['removeStyle'](Object['keys'](_0x48eef9),_0x2acf02);}function getStylesToPropagate(_0x587222,_0xf2d211){const _0x2957a9={},_0x18412c={};return _0xf2d211['forEach'](_0x3fab04=>{const _0x4b9158=_0x587222['getStyle'](_0x3fab04);if(_0x4b9158){if(isPropertyToBePropagatedAsSpan(_0x3fab04))_0x2957a9[_0x3fab04]=_0x4b9158;else{if(isPropertyToBePropagatedAsHTMLElement(_0x3fab04)){const _0x5ed2ee=_0x4b9158['split']('\x20');_0x64ace2[_0x3fab04]['forEach'](([_0x44d952,_0x38122d])=>{for(const _0x1a58ae of _0x5ed2ee){('function'==typeof _0x44d952&&_0x44d952(_0x1a58ae)||_0x44d952===_0x1a58ae)&&(_0x18412c[_0x3fab04]=[..._0x18412c[_0x3fab04]||[],[_0x44d952,_0x38122d]]);}});}}}}),{'spanStyles':_0x2957a9,'stylesToBeHtmlElements':_0x18412c};}class MSOfficeInlineStylePropagator extends ckeditor5['PasteFromOfficeMSWordNormalizer']{['execute'](_0x39b79b){const {body:_0x32d7c4}=_0x39b79b['_parsedData'],_0x46ba23=new ckeditor5['ViewUpcastWriter'](_0x32d7c4['document']),_0x1c7858=_0x46ba23['createRangeIn'](_0x32d7c4),_0x7f16b9=new ckeditor5['ViewDocument'](_0x46ba23['document']['stylesProcessor']),_0x409c69=[...new ckeditor5['ViewDomConverter'](_0x7f16b9)['blockElements'],'font'],_0x4f7154=_0x1c7858['getItems']();for(const _0x165594 of _0x4f7154)_0x165594['is']('element')&&_0x409c69['includes'](_0x165594['name'])&&propagateStyleProperties(_0x165594,_0x46ba23,getStylePropertyNamesToPropagate(_0x165594));_0x39b79b['content']=_0x32d7c4;}['isActive'](_0x2ff20d){return super['isActive'](_0x2ff20d)||isMSExcelContent(_0x2ff20d);}}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['PasteFromOffice'];}['init'](){const _0x139d61=this['editor'],_0x2916f5=_0x139d61['plugins']['get']('ClipboardPipeline'),_0x145241=_0x139d61['editing']['view']['document'],_0x18c97e=new MSOfficeInlineStylePropagator(_0x145241);_0x2916f5['on']('inputTransformation',(_0x2733ed,_0x47a6a4)=>{const _0x86a0eb=_0x47a6a4['dataTransfer']['getData']('text/html');_0x18c97e['isActive'](_0x86a0eb)&&(_0x47a6a4['_parsedData']||(_0x47a6a4['_parsedData']=ckeditor5['parsePasteOfficeHtml'](_0x86a0eb,_0x145241['stylesProcessor'])),_0x18c97e['execute'](_0x47a6a4));},{'priority':ckeditor5['priorities']['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x333a0a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x10270a;for(const _0x40999c in _0x333a0a){const _0xb5e277=_0x40999c,_0x430b2a=_0x333a0a[_0xb5e277];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x430b2a||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x430b2a||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x430b2a||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x430b2a||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x430b2a||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x430b2a||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x430b2a){delete _0x333a0a[_0xb5e277],_0x10270a=_0x430b2a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x10270a&&_0x333a0a['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x10270a&&_0x333a0a['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x10270a&&_0x333a0a['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x10270a&&_0x333a0a['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x10270a&&_0x333a0a['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x10270a&&_0x333a0a['_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['PasteFromOffice',PasteFromOfficeEnhancedInliner,PasteFromOfficeEnhancedPropagator];}}var _0x4c5dda='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{},_0x4883bc={},_0x4e8937={},_0x17a8e6,_0x3601fc;function requireAspromise(){if(_0x3601fc)return _0x17a8e6;return _0x3601fc=0x1,_0x17a8e6=function(_0x1ba120,_0x265845){var _0x592b31=new Array(arguments['length']-0x1),_0x1b81b8=0x0,_0x1f8046=0x2,_0x323fe6=!0x0;for(;_0x1f8046<arguments['length'];)_0x592b31[_0x1b81b8++]=arguments[_0x1f8046++];return new Promise(function(_0x1a055a,_0x235a2e){_0x592b31[_0x1b81b8]=function(_0x392a80){if(_0x323fe6){if(_0x323fe6=!0x1,_0x392a80)_0x235a2e(_0x392a80);else{for(var _0x3465af=new Array(arguments['length']-0x1),_0x14f045=0x0;_0x14f045<_0x3465af['length'];)_0x3465af[_0x14f045++]=arguments[_0x14f045];_0x1a055a['apply'](null,_0x3465af);}}};try{_0x1ba120['apply'](_0x265845||null,_0x592b31);}catch(_0x5bcaa4){_0x323fe6&&(_0x323fe6=!0x1,_0x235a2e(_0x5bcaa4));}});},_0x17a8e6;}var _0x29760c={},_0x517e04,eventemitter,hasRequiredEventemitter,float,hasRequiredFloat,_0xd7ed24,_0x2ba860;function requireBase64(){return _0x517e04||(_0x517e04=0x1,function(_0x4e42be){var _0x23e48c=_0x4e42be;_0x23e48c['length']=function(_0x329946){var _0x510f28=_0x329946['length'];if(!_0x510f28)return 0x0;for(var _0x48ef2f=0x0;--_0x510f28%0x4>0x1&&'='===_0x329946['charAt'](_0x510f28);)++_0x48ef2f;return Math['ceil'](0x3*_0x329946['length'])/0x4-_0x48ef2f;};for(var _0x27d8cc=new Array(0x40),_0x10acab=new Array(0x7b),_0x795da7=0x0;_0x795da7<0x40;)_0x10acab[_0x27d8cc[_0x795da7]=_0x795da7<0x1a?_0x795da7+0x41:_0x795da7<0x34?_0x795da7+0x47:_0x795da7<0x3e?_0x795da7-0x4:_0x795da7-0x3b|0x2b]=_0x795da7++;_0x23e48c['encode']=function(_0x4e22b2,_0x11cdec,_0x1501bc){for(var t,_0x321be1=null,_0x407184=[],_0x2c1c38=0x0,_0x2d9126=0x0;_0x11cdec<_0x1501bc;){var _0x4243f4=_0x4e22b2[_0x11cdec++];switch(_0x2d9126){case 0x0:_0x407184[_0x2c1c38++]=_0x27d8cc[_0x4243f4>>0x2],t=(0x3&_0x4243f4)<<0x4,_0x2d9126=0x1;break;case 0x1:_0x407184[_0x2c1c38++]=_0x27d8cc[t|_0x4243f4>>0x4],t=(0xf&_0x4243f4)<<0x2,_0x2d9126=0x2;break;case 0x2:_0x407184[_0x2c1c38++]=_0x27d8cc[t|_0x4243f4>>0x6],_0x407184[_0x2c1c38++]=_0x27d8cc[0x3f&_0x4243f4],_0x2d9126=0x0;}_0x2c1c38>0x1fff&&((_0x321be1||(_0x321be1=[]))['push'](String['fromCharCode']['apply'](String,_0x407184)),_0x2c1c38=0x0);}return _0x2d9126&&(_0x407184[_0x2c1c38++]=_0x27d8cc[t],_0x407184[_0x2c1c38++]=0x3d,0x1===_0x2d9126&&(_0x407184[_0x2c1c38++]=0x3d)),_0x321be1?(_0x2c1c38&&_0x321be1['push'](String['fromCharCode']['apply'](String,_0x407184['slice'](0x0,_0x2c1c38))),_0x321be1['join']('')):String['fromCharCode']['apply'](String,_0x407184['slice'](0x0,_0x2c1c38));};var _0xdfa3a3='invalid\x20encoding';_0x23e48c['decode']=function(_0x1be39d,_0x131d84,_0xb82b79){for(var t,_0x3faaef=_0xb82b79,_0x324fdc=0x0,_0x39533f=0x0;_0x39533f<_0x1be39d['length'];){var _0x38afc3=_0x1be39d['charCodeAt'](_0x39533f++);if(0x3d===_0x38afc3&&_0x324fdc>0x1)break;if(void 0x0===(_0x38afc3=_0x10acab[_0x38afc3]))throw Error(_0xdfa3a3);switch(_0x324fdc){case 0x0:t=_0x38afc3,_0x324fdc=0x1;break;case 0x1:_0x131d84[_0xb82b79++]=t<<0x2|(0x30&_0x38afc3)>>0x4,t=_0x38afc3,_0x324fdc=0x2;break;case 0x2:_0x131d84[_0xb82b79++]=(0xf&t)<<0x4|(0x3c&_0x38afc3)>>0x2,t=_0x38afc3,_0x324fdc=0x3;break;case 0x3:_0x131d84[_0xb82b79++]=(0x3&t)<<0x6|_0x38afc3,_0x324fdc=0x0;}}if(0x1===_0x324fdc)throw Error(_0xdfa3a3);return _0xb82b79-_0x3faaef;},_0x23e48c['test']=function(_0x412ec4){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x412ec4);};}(_0x29760c)),_0x29760c;}function requireEventemitter(){if(hasRequiredEventemitter)return eventemitter;function _0x21fb00(){this['_listeners']={};}return hasRequiredEventemitter=0x1,eventemitter=_0x21fb00,_0x21fb00['prototype']['on']=function(_0x4648ad,_0x51b767,_0x58f37b){return(this['_listeners'][_0x4648ad]||(this['_listeners'][_0x4648ad]=[]))['push']({'fn':_0x51b767,'ctx':_0x58f37b||this}),this;},_0x21fb00['prototype']['off']=function(_0x29ae88,_0x4ac4d6){if(void 0x0===_0x29ae88)this['_listeners']={};else{if(void 0x0===_0x4ac4d6)this['_listeners'][_0x29ae88]=[];else{for(var _0x30e9ca=this['_listeners'][_0x29ae88],_0x396d82=0x0;_0x396d82<_0x30e9ca['length'];)_0x30e9ca[_0x396d82]['fn']===_0x4ac4d6?_0x30e9ca['splice'](_0x396d82,0x1):++_0x396d82;}}return this;},_0x21fb00['prototype']['emit']=function(_0x6d87df){var _0x41b36e=this['_listeners'][_0x6d87df];if(_0x41b36e){for(var _0x216871=[],_0x92c4=0x1;_0x92c4<arguments['length'];)_0x216871['push'](arguments[_0x92c4++]);for(_0x92c4=0x0;_0x92c4<_0x41b36e['length'];)_0x41b36e[_0x92c4]['fn']['apply'](_0x41b36e[_0x92c4++]['ctx'],_0x216871);}return this;},eventemitter;}function requireFloat(){if(hasRequiredFloat)return float;function _0x1d3608(_0x1097c7){return'undefined'!=typeof Float32Array?(function(){var _0x34878a=new Float32Array([-0x0]),_0x5c7aed=new Uint8Array(_0x34878a['buffer']),_0x5c1c41=0x80===_0x5c7aed[0x3];function _0x5661f0(_0x325d2f,_0x49841c,_0xa30c21){_0x34878a[0x0]=_0x325d2f,_0x49841c[_0xa30c21]=_0x5c7aed[0x0],_0x49841c[_0xa30c21+0x1]=_0x5c7aed[0x1],_0x49841c[_0xa30c21+0x2]=_0x5c7aed[0x2],_0x49841c[_0xa30c21+0x3]=_0x5c7aed[0x3];}function _0x38043c(_0x36411f,_0x20ae5f,_0x250566){_0x34878a[0x0]=_0x36411f,_0x20ae5f[_0x250566]=_0x5c7aed[0x3],_0x20ae5f[_0x250566+0x1]=_0x5c7aed[0x2],_0x20ae5f[_0x250566+0x2]=_0x5c7aed[0x1],_0x20ae5f[_0x250566+0x3]=_0x5c7aed[0x0];}function _0x2192a9(_0x49f7ec,_0x386220){return _0x5c7aed[0x0]=_0x49f7ec[_0x386220],_0x5c7aed[0x1]=_0x49f7ec[_0x386220+0x1],_0x5c7aed[0x2]=_0x49f7ec[_0x386220+0x2],_0x5c7aed[0x3]=_0x49f7ec[_0x386220+0x3],_0x34878a[0x0];}function _0x196f6d(_0x54b70f,_0x35fd44){return _0x5c7aed[0x3]=_0x54b70f[_0x35fd44],_0x5c7aed[0x2]=_0x54b70f[_0x35fd44+0x1],_0x5c7aed[0x1]=_0x54b70f[_0x35fd44+0x2],_0x5c7aed[0x0]=_0x54b70f[_0x35fd44+0x3],_0x34878a[0x0];}_0x1097c7['writeFloatLE']=_0x5c1c41?_0x5661f0:_0x38043c,_0x1097c7['writeFloatBE']=_0x5c1c41?_0x38043c:_0x5661f0,_0x1097c7['readFloatLE']=_0x5c1c41?_0x2192a9:_0x196f6d,_0x1097c7['readFloatBE']=_0x5c1c41?_0x196f6d:_0x2192a9;}()):(function(){function _0x256c9f(_0x50a5ee,_0x1b7504,_0x4308e7,_0xc836fe){var _0x3aed78=_0x1b7504<0x0?0x1:0x0;if(_0x3aed78&&(_0x1b7504=-_0x1b7504),0x0===_0x1b7504)_0x50a5ee(0x1/_0x1b7504>0x0?0x0:0x80000000,_0x4308e7,_0xc836fe);else{if(isNaN(_0x1b7504))_0x50a5ee(0x7fc00000,_0x4308e7,_0xc836fe);else{if(_0x1b7504>0xffffff00000000000000000000000000)_0x50a5ee((_0x3aed78<<0x1f|0x7f800000)>>>0x0,_0x4308e7,_0xc836fe);else{if(_0x1b7504<1.1754943508222875e-38)_0x50a5ee((_0x3aed78<<0x1f|Math['round'](_0x1b7504/1.401298464324817e-45))>>>0x0,_0x4308e7,_0xc836fe);else{var _0x14b82e=Math['floor'](Math['log'](_0x1b7504)/Math['LN2']);_0x50a5ee((_0x3aed78<<0x1f|_0x14b82e+0x7f<<0x17|0x7fffff&Math['round'](_0x1b7504*Math['pow'](0x2,-_0x14b82e)*0x800000))>>>0x0,_0x4308e7,_0xc836fe);}}}}}function _0x55c4dc(_0x1bf795,_0x1f365e,_0x38888d){var _0x5d96e7=_0x1bf795(_0x1f365e,_0x38888d),_0x31a36a=0x2*(_0x5d96e7>>0x1f)+0x1,_0x135ca7=_0x5d96e7>>>0x17&0xff,_0x4ce505=0x7fffff&_0x5d96e7;return 0xff===_0x135ca7?_0x4ce505?NaN:_0x31a36a*(0x1/0x0):0x0===_0x135ca7?1.401298464324817e-45*_0x31a36a*_0x4ce505:_0x31a36a*Math['pow'](0x2,_0x135ca7-0x96)*(_0x4ce505+0x800000);}_0x1097c7['writeFloatLE']=_0x256c9f['bind'](null,_0x2ac8d0),_0x1097c7['writeFloatBE']=_0x256c9f['bind'](null,_0x54443c),_0x1097c7['readFloatLE']=_0x55c4dc['bind'](null,_0x2f8d87),_0x1097c7['readFloatBE']=_0x55c4dc['bind'](null,_0x4d7903);}()),'undefined'!=typeof Float64Array?(function(){var _0xd343d6=new Float64Array([-0x0]),_0x3737a7=new Uint8Array(_0xd343d6['buffer']),_0x5153fb=0x80===_0x3737a7[0x7];function _0x3ba064(_0x28256b,_0x4c1550,_0x49faa9){_0xd343d6[0x0]=_0x28256b,_0x4c1550[_0x49faa9]=_0x3737a7[0x0],_0x4c1550[_0x49faa9+0x1]=_0x3737a7[0x1],_0x4c1550[_0x49faa9+0x2]=_0x3737a7[0x2],_0x4c1550[_0x49faa9+0x3]=_0x3737a7[0x3],_0x4c1550[_0x49faa9+0x4]=_0x3737a7[0x4],_0x4c1550[_0x49faa9+0x5]=_0x3737a7[0x5],_0x4c1550[_0x49faa9+0x6]=_0x3737a7[0x6],_0x4c1550[_0x49faa9+0x7]=_0x3737a7[0x7];}function _0x18bace(_0x3f64bb,_0x56c5d0,_0x3a12be){_0xd343d6[0x0]=_0x3f64bb,_0x56c5d0[_0x3a12be]=_0x3737a7[0x7],_0x56c5d0[_0x3a12be+0x1]=_0x3737a7[0x6],_0x56c5d0[_0x3a12be+0x2]=_0x3737a7[0x5],_0x56c5d0[_0x3a12be+0x3]=_0x3737a7[0x4],_0x56c5d0[_0x3a12be+0x4]=_0x3737a7[0x3],_0x56c5d0[_0x3a12be+0x5]=_0x3737a7[0x2],_0x56c5d0[_0x3a12be+0x6]=_0x3737a7[0x1],_0x56c5d0[_0x3a12be+0x7]=_0x3737a7[0x0];}function _0x5981f0(_0x22cc9a,_0x189361){return _0x3737a7[0x0]=_0x22cc9a[_0x189361],_0x3737a7[0x1]=_0x22cc9a[_0x189361+0x1],_0x3737a7[0x2]=_0x22cc9a[_0x189361+0x2],_0x3737a7[0x3]=_0x22cc9a[_0x189361+0x3],_0x3737a7[0x4]=_0x22cc9a[_0x189361+0x4],_0x3737a7[0x5]=_0x22cc9a[_0x189361+0x5],_0x3737a7[0x6]=_0x22cc9a[_0x189361+0x6],_0x3737a7[0x7]=_0x22cc9a[_0x189361+0x7],_0xd343d6[0x0];}function _0x75ac33(_0x35c885,_0x4ed6ef){return _0x3737a7[0x7]=_0x35c885[_0x4ed6ef],_0x3737a7[0x6]=_0x35c885[_0x4ed6ef+0x1],_0x3737a7[0x5]=_0x35c885[_0x4ed6ef+0x2],_0x3737a7[0x4]=_0x35c885[_0x4ed6ef+0x3],_0x3737a7[0x3]=_0x35c885[_0x4ed6ef+0x4],_0x3737a7[0x2]=_0x35c885[_0x4ed6ef+0x5],_0x3737a7[0x1]=_0x35c885[_0x4ed6ef+0x6],_0x3737a7[0x0]=_0x35c885[_0x4ed6ef+0x7],_0xd343d6[0x0];}_0x1097c7['writeDoubleLE']=_0x5153fb?_0x3ba064:_0x18bace,_0x1097c7['writeDoubleBE']=_0x5153fb?_0x18bace:_0x3ba064,_0x1097c7['readDoubleLE']=_0x5153fb?_0x5981f0:_0x75ac33,_0x1097c7['readDoubleBE']=_0x5153fb?_0x75ac33:_0x5981f0;}()):(function(){function _0x1a123f(_0x2f574a,_0x2f8cf2,_0x2d8925,_0x1d67bf,_0x11d227,_0x4ed88b){var _0x33946c=_0x1d67bf<0x0?0x1:0x0;if(_0x33946c&&(_0x1d67bf=-_0x1d67bf),0x0===_0x1d67bf)_0x2f574a(0x0,_0x11d227,_0x4ed88b+_0x2f8cf2),_0x2f574a(0x1/_0x1d67bf>0x0?0x0:0x80000000,_0x11d227,_0x4ed88b+_0x2d8925);else{if(isNaN(_0x1d67bf))_0x2f574a(0x0,_0x11d227,_0x4ed88b+_0x2f8cf2),_0x2f574a(0x7ff80000,_0x11d227,_0x4ed88b+_0x2d8925);else{if(_0x1d67bf>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x2f574a(0x0,_0x11d227,_0x4ed88b+_0x2f8cf2),_0x2f574a((_0x33946c<<0x1f|0x7ff00000)>>>0x0,_0x11d227,_0x4ed88b+_0x2d8925);else{var _0x6417fa;if(_0x1d67bf<2.2250738585072014e-308)_0x2f574a((_0x6417fa=_0x1d67bf/5e-324)>>>0x0,_0x11d227,_0x4ed88b+_0x2f8cf2),_0x2f574a((_0x33946c<<0x1f|_0x6417fa/0x100000000)>>>0x0,_0x11d227,_0x4ed88b+_0x2d8925);else{var _0x1ffca9=Math['floor'](Math['log'](_0x1d67bf)/Math['LN2']);0x400===_0x1ffca9&&(_0x1ffca9=0x3ff),_0x2f574a(0x10000000000000*(_0x6417fa=_0x1d67bf*Math['pow'](0x2,-_0x1ffca9))>>>0x0,_0x11d227,_0x4ed88b+_0x2f8cf2),_0x2f574a((_0x33946c<<0x1f|_0x1ffca9+0x3ff<<0x14|0x100000*_0x6417fa&0xfffff)>>>0x0,_0x11d227,_0x4ed88b+_0x2d8925);}}}}}function _0x5d0158(_0x441cf6,_0x3ca09f,_0x3be024,_0x2c2906,_0x528ef2){var _0x4e4b3e=_0x441cf6(_0x2c2906,_0x528ef2+_0x3ca09f),_0x4a1ccb=_0x441cf6(_0x2c2906,_0x528ef2+_0x3be024),_0x14e3ae=0x2*(_0x4a1ccb>>0x1f)+0x1,_0x24a07c=_0x4a1ccb>>>0x14&0x7ff,_0x11b5ca=0x100000000*(0xfffff&_0x4a1ccb)+_0x4e4b3e;return 0x7ff===_0x24a07c?_0x11b5ca?NaN:_0x14e3ae*(0x1/0x0):0x0===_0x24a07c?5e-324*_0x14e3ae*_0x11b5ca:_0x14e3ae*Math['pow'](0x2,_0x24a07c-0x433)*(_0x11b5ca+0x10000000000000);}_0x1097c7['writeDoubleLE']=_0x1a123f['bind'](null,_0x2ac8d0,0x0,0x4),_0x1097c7['writeDoubleBE']=_0x1a123f['bind'](null,_0x54443c,0x4,0x0),_0x1097c7['readDoubleLE']=_0x5d0158['bind'](null,_0x2f8d87,0x0,0x4),_0x1097c7['readDoubleBE']=_0x5d0158['bind'](null,_0x4d7903,0x4,0x0);}()),_0x1097c7;}function _0x2ac8d0(_0x33ef4d,_0xe0de11,_0xe3fbee){_0xe0de11[_0xe3fbee]=0xff&_0x33ef4d,_0xe0de11[_0xe3fbee+0x1]=_0x33ef4d>>>0x8&0xff,_0xe0de11[_0xe3fbee+0x2]=_0x33ef4d>>>0x10&0xff,_0xe0de11[_0xe3fbee+0x3]=_0x33ef4d>>>0x18;}function _0x54443c(_0x4e3373,_0x5e22be,_0x4477ec){_0x5e22be[_0x4477ec]=_0x4e3373>>>0x18,_0x5e22be[_0x4477ec+0x1]=_0x4e3373>>>0x10&0xff,_0x5e22be[_0x4477ec+0x2]=_0x4e3373>>>0x8&0xff,_0x5e22be[_0x4477ec+0x3]=0xff&_0x4e3373;}function _0x2f8d87(_0x552e78,_0x420c36){return(_0x552e78[_0x420c36]|_0x552e78[_0x420c36+0x1]<<0x8|_0x552e78[_0x420c36+0x2]<<0x10|_0x552e78[_0x420c36+0x3]<<0x18)>>>0x0;}function _0x4d7903(_0x3dc384,_0x562390){return(_0x3dc384[_0x562390]<<0x18|_0x3dc384[_0x562390+0x1]<<0x10|_0x3dc384[_0x562390+0x2]<<0x8|_0x3dc384[_0x562390+0x3])>>>0x0;}return hasRequiredFloat=0x1,float=_0x1d3608(_0x1d3608);}function requireInquire(){if(_0x2ba860)return _0xd7ed24;function _0x2b44bf(_0x184bbb){try{var _0x284ada=eval('quire'['replace'](/^/,'re'))(_0x184bbb);if(_0x284ada&&(_0x284ada['length']||Object['keys'](_0x284ada)['length']))return _0x284ada;}catch(_0x1f23cd){}return null;}return _0x2ba860=0x1,_0xd7ed24=_0x2b44bf,_0xd7ed24;}var utf8={},hasRequiredUtf8,_0x4faad8,_0x99fce6,longbits,hasRequiredLongbits,_0xa6d1f5,writer,hasRequiredWriter,writer_buffer,hasRequiredWriter_buffer,_0x2119fb,_0x49d425,_0x357b0b,_0x23e1cd;function requireUtf8(){return hasRequiredUtf8||(hasRequiredUtf8=0x1,function(_0x1126ce){var _0x364956=_0x1126ce;_0x364956['length']=function(_0x17685a){for(var _0x49694e=0x0,_0x44bd83=0x0,_0x23b11b=0x0;_0x23b11b<_0x17685a['length'];++_0x23b11b)(_0x44bd83=_0x17685a['charCodeAt'](_0x23b11b))<0x80?_0x49694e+=0x1:_0x44bd83<0x800?_0x49694e+=0x2:0xd800==(0xfc00&_0x44bd83)&&0xdc00==(0xfc00&_0x17685a['charCodeAt'](_0x23b11b+0x1))?(++_0x23b11b,_0x49694e+=0x4):_0x49694e+=0x3;return _0x49694e;},_0x364956['read']=function(_0x2e6279,_0x25bcf1,_0x45783d){if(_0x45783d-_0x25bcf1<0x1)return'';for(var t,_0x5d5de5=null,_0x4c116a=[],_0x6860ef=0x0;_0x25bcf1<_0x45783d;)(t=_0x2e6279[_0x25bcf1++])<0x80?_0x4c116a[_0x6860ef++]=t:t>0xbf&&t<0xe0?_0x4c116a[_0x6860ef++]=(0x1f&t)<<0x6|0x3f&_0x2e6279[_0x25bcf1++]:t>0xef&&t<0x16d?(t=((0x7&t)<<0x12|(0x3f&_0x2e6279[_0x25bcf1++])<<0xc|(0x3f&_0x2e6279[_0x25bcf1++])<<0x6|0x3f&_0x2e6279[_0x25bcf1++])-0x10000,_0x4c116a[_0x6860ef++]=0xd800+(t>>0xa),_0x4c116a[_0x6860ef++]=0xdc00+(0x3ff&t)):_0x4c116a[_0x6860ef++]=(0xf&t)<<0xc|(0x3f&_0x2e6279[_0x25bcf1++])<<0x6|0x3f&_0x2e6279[_0x25bcf1++],_0x6860ef>0x1fff&&((_0x5d5de5||(_0x5d5de5=[]))['push'](String['fromCharCode']['apply'](String,_0x4c116a)),_0x6860ef=0x0);return _0x5d5de5?(_0x6860ef&&_0x5d5de5['push'](String['fromCharCode']['apply'](String,_0x4c116a['slice'](0x0,_0x6860ef))),_0x5d5de5['join']('')):String['fromCharCode']['apply'](String,_0x4c116a['slice'](0x0,_0x6860ef));},_0x364956['write']=function(_0x2791a7,_0x448767,_0x353d35){for(var _0x1653fb,_0x236aca,_0x4759a5=_0x353d35,_0x57ce23=0x0;_0x57ce23<_0x2791a7['length'];++_0x57ce23)(_0x1653fb=_0x2791a7['charCodeAt'](_0x57ce23))<0x80?_0x448767[_0x353d35++]=_0x1653fb:_0x1653fb<0x800?(_0x448767[_0x353d35++]=_0x1653fb>>0x6|0xc0,_0x448767[_0x353d35++]=0x3f&_0x1653fb|0x80):0xd800==(0xfc00&_0x1653fb)&&0xdc00==(0xfc00&(_0x236aca=_0x2791a7['charCodeAt'](_0x57ce23+0x1)))?(_0x1653fb=0x10000+((0x3ff&_0x1653fb)<<0xa)+(0x3ff&_0x236aca),++_0x57ce23,_0x448767[_0x353d35++]=_0x1653fb>>0x12|0xf0,_0x448767[_0x353d35++]=_0x1653fb>>0xc&0x3f|0x80,_0x448767[_0x353d35++]=_0x1653fb>>0x6&0x3f|0x80,_0x448767[_0x353d35++]=0x3f&_0x1653fb|0x80):(_0x448767[_0x353d35++]=_0x1653fb>>0xc|0xe0,_0x448767[_0x353d35++]=_0x1653fb>>0x6&0x3f|0x80,_0x448767[_0x353d35++]=0x3f&_0x1653fb|0x80);return _0x353d35-_0x4759a5;};}(utf8)),utf8;}function requirePool(){if(_0x99fce6)return _0x4faad8;return _0x99fce6=0x1,_0x4faad8=function(_0x570d59,_0x18c2ff,_0x3df7ba){var _0x3ef256=_0x3df7ba||0x2000,_0x1da76a=_0x3ef256>>>0x1,_0xbb2ccb=null,_0x4ea879=_0x3ef256;return function(_0x1db87a){if(_0x1db87a<0x1||_0x1db87a>_0x1da76a)return _0x570d59(_0x1db87a);_0x4ea879+_0x1db87a>_0x3ef256&&(_0xbb2ccb=_0x570d59(_0x3ef256),_0x4ea879=0x0);var _0x5bd42f=_0x18c2ff['call'](_0xbb2ccb,_0x4ea879,_0x4ea879+=_0x1db87a);return 0x7&_0x4ea879&&(_0x4ea879=0x1+(0x7|_0x4ea879)),_0x5bd42f;};},_0x4faad8;}function requireLongbits(){if(hasRequiredLongbits)return longbits;hasRequiredLongbits=0x1,longbits=_0x16aa5a;var _0x51d856=requireMinimal$1();function _0x16aa5a(_0x3cc374,_0x213c8b){this['lo']=_0x3cc374>>>0x0,this['hi']=_0x213c8b>>>0x0;}var _0x5c5cad=_0x16aa5a['zero']=new _0x16aa5a(0x0,0x0);_0x5c5cad['toNumber']=function(){return 0x0;},_0x5c5cad['zzEncode']=_0x5c5cad['zzDecode']=function(){return this;},_0x5c5cad['length']=function(){return 0x1;};var _0x2ea391=_0x16aa5a['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x16aa5a['fromNumber']=function(_0x1d02e0){if(0x0===_0x1d02e0)return _0x5c5cad;var _0x3b3031=_0x1d02e0<0x0;_0x3b3031&&(_0x1d02e0=-_0x1d02e0);var _0x39acb8=_0x1d02e0>>>0x0,_0x48de42=(_0x1d02e0-_0x39acb8)/0x100000000>>>0x0;return _0x3b3031&&(_0x48de42=~_0x48de42>>>0x0,_0x39acb8=~_0x39acb8>>>0x0,++_0x39acb8>0xffffffff&&(_0x39acb8=0x0,++_0x48de42>0xffffffff&&(_0x48de42=0x0))),new _0x16aa5a(_0x39acb8,_0x48de42);},_0x16aa5a['from']=function(_0x1a07c5){if('number'==typeof _0x1a07c5)return _0x16aa5a['fromNumber'](_0x1a07c5);if(_0x51d856['isString'](_0x1a07c5)){if(!_0x51d856['Long'])return _0x16aa5a['fromNumber'](parseInt(_0x1a07c5,0xa));_0x1a07c5=_0x51d856['Long']['fromString'](_0x1a07c5);}return _0x1a07c5['low']||_0x1a07c5['high']?new _0x16aa5a(_0x1a07c5['low']>>>0x0,_0x1a07c5['high']>>>0x0):_0x5c5cad;},_0x16aa5a['prototype']['toNumber']=function(_0x3a8748){if(!_0x3a8748&&this['hi']>>>0x1f){var _0x2e1ebc=0x1+~this['lo']>>>0x0,_0x5934c1=~this['hi']>>>0x0;return _0x2e1ebc||(_0x5934c1=_0x5934c1+0x1>>>0x0),-(_0x2e1ebc+0x100000000*_0x5934c1);}return this['lo']+0x100000000*this['hi'];},_0x16aa5a['prototype']['toLong']=function(_0x4b0654){return _0x51d856['Long']?new _0x51d856['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0x4b0654)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0x4b0654)};};var _0x51cf25=String['prototype']['charCodeAt'];return _0x16aa5a['fromHash']=function(_0x243fb0){return _0x243fb0===_0x2ea391?_0x5c5cad:new _0x16aa5a((_0x51cf25['call'](_0x243fb0,0x0)|_0x51cf25['call'](_0x243fb0,0x1)<<0x8|_0x51cf25['call'](_0x243fb0,0x2)<<0x10|_0x51cf25['call'](_0x243fb0,0x3)<<0x18)>>>0x0,(_0x51cf25['call'](_0x243fb0,0x4)|_0x51cf25['call'](_0x243fb0,0x5)<<0x8|_0x51cf25['call'](_0x243fb0,0x6)<<0x10|_0x51cf25['call'](_0x243fb0,0x7)<<0x18)>>>0x0);},_0x16aa5a['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);},_0x16aa5a['prototype']['zzEncode']=function(){var _0x55666b=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0x55666b)>>>0x0,this['lo']=(this['lo']<<0x1^_0x55666b)>>>0x0,this;},_0x16aa5a['prototype']['zzDecode']=function(){var _0x2a7317=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x2a7317)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x2a7317)>>>0x0,this;},_0x16aa5a['prototype']['length']=function(){var _0x2242ed=this['lo'],_0x4659d7=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x131734=this['hi']>>>0x18;return 0x0===_0x131734?0x0===_0x4659d7?_0x2242ed<0x4000?_0x2242ed<0x80?0x1:0x2:_0x2242ed<0x200000?0x3:0x4:_0x4659d7<0x4000?_0x4659d7<0x80?0x5:0x6:_0x4659d7<0x200000?0x7:0x8:_0x131734<0x80?0x9:0xa;},longbits;}function requireMinimal$1(){return _0xa6d1f5||(_0xa6d1f5=0x1,function(_0x290c95){var _0x4f480e=_0x290c95;function _0x31935a(_0x38b2fb,_0x570336,_0x2f7d67){for(var _0x66b3d5=Object['keys'](_0x570336),_0x13ab41=0x0;_0x13ab41<_0x66b3d5['length'];++_0x13ab41)void 0x0!==_0x38b2fb[_0x66b3d5[_0x13ab41]]&&_0x2f7d67||(_0x38b2fb[_0x66b3d5[_0x13ab41]]=_0x570336[_0x66b3d5[_0x13ab41]]);return _0x38b2fb;}function _0x401330(_0x483f36){function _0x10311f(_0x4b6805,_0x3ceb96){if(!(this instanceof _0x10311f))return new _0x10311f(_0x4b6805,_0x3ceb96);Object['defineProperty'](this,'message',{'get':function(){return _0x4b6805;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x10311f):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0x3ceb96&&_0x31935a(this,_0x3ceb96);}return _0x10311f['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x10311f,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x483f36;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x10311f;}_0x4f480e['asPromise']=requireAspromise(),_0x4f480e['base64']=requireBase64(),_0x4f480e['EventEmitter']=requireEventemitter(),_0x4f480e['float']=requireFloat(),_0x4f480e['inquire']=requireInquire(),_0x4f480e['utf8']=requireUtf8(),_0x4f480e['pool']=requirePool(),_0x4f480e['LongBits']=requireLongbits(),_0x4f480e['isNode']=Boolean(void 0x0!==_0x4c5dda&&_0x4c5dda&&_0x4c5dda['process']&&_0x4c5dda['process']['versions']&&_0x4c5dda['process']['versions']['node']),_0x4f480e['global']=_0x4f480e['isNode']&&_0x4c5dda||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||_0x4e8937,_0x4f480e['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x4f480e['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x4f480e['isInteger']=Number['isInteger']||function(_0x203ec4){return'number'==typeof _0x203ec4&&isFinite(_0x203ec4)&&Math['floor'](_0x203ec4)===_0x203ec4;},_0x4f480e['isString']=function(_0x150df1){return'string'==typeof _0x150df1||_0x150df1 instanceof String;},_0x4f480e['isObject']=function(_0x13bf73){return _0x13bf73&&'object'==typeof _0x13bf73;},_0x4f480e['isset']=_0x4f480e['isSet']=function(_0x3b1bcf,_0x2f9dab){var _0x3b4905=_0x3b1bcf[_0x2f9dab];return!(null==_0x3b4905||!_0x3b1bcf['hasOwnProperty'](_0x2f9dab))&&('object'!=typeof _0x3b4905||(Array['isArray'](_0x3b4905)?_0x3b4905['length']:Object['keys'](_0x3b4905)['length'])>0x0);},_0x4f480e['Buffer']=(function(){try{var _0x153c9e=_0x4f480e['inquire']('buffer')['Buffer'];return _0x153c9e['prototype']['utf8Write']?_0x153c9e:null;}catch(_0x283281){return null;}}()),_0x4f480e['_Buffer_from']=null,_0x4f480e['_Buffer_allocUnsafe']=null,_0x4f480e['newBuffer']=function(_0x496539){return'number'==typeof _0x496539?_0x4f480e['Buffer']?_0x4f480e['_Buffer_allocUnsafe'](_0x496539):new _0x4f480e['Array'](_0x496539):_0x4f480e['Buffer']?_0x4f480e['_Buffer_from'](_0x496539):'undefined'==typeof Uint8Array?_0x496539:new Uint8Array(_0x496539);},_0x4f480e['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x4f480e['Long']=_0x4f480e['global']['dcodeIO']&&_0x4f480e['global']['dcodeIO']['Long']||_0x4f480e['global']['Long']||_0x4f480e['inquire']('long'),_0x4f480e['key2Re']=/^true|false|0|1$/,_0x4f480e['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x4f480e['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x4f480e['longToHash']=function(_0x562c55){return _0x562c55?_0x4f480e['LongBits']['from'](_0x562c55)['toHash']():_0x4f480e['LongBits']['zeroHash'];},_0x4f480e['longFromHash']=function(_0x4b59b1,_0x16f727){var _0x1ca1ec=_0x4f480e['LongBits']['fromHash'](_0x4b59b1);return _0x4f480e['Long']?_0x4f480e['Long']['fromBits'](_0x1ca1ec['lo'],_0x1ca1ec['hi'],_0x16f727):_0x1ca1ec['toNumber'](Boolean(_0x16f727));},_0x4f480e['merge']=_0x31935a,_0x4f480e['lcFirst']=function(_0x1e1903){return _0x1e1903['charAt'](0x0)['toLowerCase']()+_0x1e1903['substring'](0x1);},_0x4f480e['newError']=_0x401330,_0x4f480e['ProtocolError']=_0x401330('ProtocolError'),_0x4f480e['oneOfGetter']=function(_0x360830){for(var _0x545da1={},_0x10e187=0x0;_0x10e187<_0x360830['length'];++_0x10e187)_0x545da1[_0x360830[_0x10e187]]=0x1;return function(){for(var _0x218e7d=Object['keys'](this),_0x42adfa=_0x218e7d['length']-0x1;_0x42adfa>-0x1;--_0x42adfa)if(0x1===_0x545da1[_0x218e7d[_0x42adfa]]&&void 0x0!==this[_0x218e7d[_0x42adfa]]&&null!==this[_0x218e7d[_0x42adfa]])return _0x218e7d[_0x42adfa];};},_0x4f480e['oneOfSetter']=function(_0xa941ba){return function(_0xc50f92){for(var _0xe98117=0x0;_0xe98117<_0xa941ba['length'];++_0xe98117)_0xa941ba[_0xe98117]!==_0xc50f92&&delete this[_0xa941ba[_0xe98117]];};},_0x4f480e['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x4f480e['_configure']=function(){var _0x286764=_0x4f480e['Buffer'];_0x286764?(_0x4f480e['_Buffer_from']=_0x286764['from']!==Uint8Array['from']&&_0x286764['from']||function(_0x447755,_0x26ab0f){return new _0x286764(_0x447755,_0x26ab0f);},_0x4f480e['_Buffer_allocUnsafe']=_0x286764['allocUnsafe']||function(_0xcd9f32){return new _0x286764(_0xcd9f32);}):_0x4f480e['_Buffer_from']=_0x4f480e['_Buffer_allocUnsafe']=null;};}(_0x4e8937)),_0x4e8937;}function requireWriter(){if(hasRequiredWriter)return writer;hasRequiredWriter=0x1,writer=_0x210c72;var _0x3a98eb,_0x414b1d=requireMinimal$1(),_0x411377=_0x414b1d['LongBits'],_0x33d834=_0x414b1d['base64'],_0x2051c1=_0x414b1d['utf8'];function _0x1351e0(_0xc72e1,_0x2ec65e,_0x14267b){this['fn']=_0xc72e1,this['len']=_0x2ec65e,this['next']=void 0x0,this['val']=_0x14267b;}function _0x3abf12(){}function _0xf06ee4(_0x1b90b1){this['head']=_0x1b90b1['head'],this['tail']=_0x1b90b1['tail'],this['len']=_0x1b90b1['len'],this['next']=_0x1b90b1['states'];}function _0x210c72(){this['len']=0x0,this['head']=new _0x1351e0(_0x3abf12,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0x275d24=function(){return _0x414b1d['Buffer']?function(){return(_0x210c72['create']=function(){return new _0x3a98eb();})();}:function(){return new _0x210c72();};};function _0x23230e(_0x4d6540,_0x4fcc59,_0x38f4a9){_0x4fcc59[_0x38f4a9]=0xff&_0x4d6540;}function _0x2bf1d8(_0x9ce64c,_0x402223){this['len']=_0x9ce64c,this['next']=void 0x0,this['val']=_0x402223;}function _0x3c53cb(_0x2c1045,_0x12b8a1,_0x3ee4c7){for(;_0x2c1045['hi'];)_0x12b8a1[_0x3ee4c7++]=0x7f&_0x2c1045['lo']|0x80,_0x2c1045['lo']=(_0x2c1045['lo']>>>0x7|_0x2c1045['hi']<<0x19)>>>0x0,_0x2c1045['hi']>>>=0x7;for(;_0x2c1045['lo']>0x7f;)_0x12b8a1[_0x3ee4c7++]=0x7f&_0x2c1045['lo']|0x80,_0x2c1045['lo']=_0x2c1045['lo']>>>0x7;_0x12b8a1[_0x3ee4c7++]=_0x2c1045['lo'];}function _0x419e67(_0x15a775,_0x874f58,_0x38f334){_0x874f58[_0x38f334]=0xff&_0x15a775,_0x874f58[_0x38f334+0x1]=_0x15a775>>>0x8&0xff,_0x874f58[_0x38f334+0x2]=_0x15a775>>>0x10&0xff,_0x874f58[_0x38f334+0x3]=_0x15a775>>>0x18;}_0x210c72['create']=_0x275d24(),_0x210c72['alloc']=function(_0x260cc6){return new _0x414b1d['Array'](_0x260cc6);},_0x414b1d['Array']!==Array&&(_0x210c72['alloc']=_0x414b1d['pool'](_0x210c72['alloc'],_0x414b1d['Array']['prototype']['subarray'])),_0x210c72['prototype']['_push']=function(_0x290b6f,_0x113016,_0x5a4f72){return this['tail']=this['tail']['next']=new _0x1351e0(_0x290b6f,_0x113016,_0x5a4f72),this['len']+=_0x113016,this;},_0x2bf1d8['prototype']=Object['create'](_0x1351e0['prototype']),_0x2bf1d8['prototype']['fn']=function(_0x5557c5,_0x569eef,_0x28aea2){for(;_0x5557c5>0x7f;)_0x569eef[_0x28aea2++]=0x7f&_0x5557c5|0x80,_0x5557c5>>>=0x7;_0x569eef[_0x28aea2]=_0x5557c5;},_0x210c72['prototype']['uint32']=function(_0x4d43de){return this['len']+=(this['tail']=this['tail']['next']=new _0x2bf1d8((_0x4d43de>>>=0x0)<0x80?0x1:_0x4d43de<0x4000?0x2:_0x4d43de<0x200000?0x3:_0x4d43de<0x10000000?0x4:0x5,_0x4d43de))['len'],this;},_0x210c72['prototype']['int32']=function(_0x6260f2){return _0x6260f2<0x0?this['_push'](_0x3c53cb,0xa,_0x411377['fromNumber'](_0x6260f2)):this['uint32'](_0x6260f2);},_0x210c72['prototype']['sint32']=function(_0x232ea5){return this['uint32']((_0x232ea5<<0x1^_0x232ea5>>0x1f)>>>0x0);},_0x210c72['prototype']['uint64']=function(_0x4a8a42){var _0x2d02a0=_0x411377['from'](_0x4a8a42);return this['_push'](_0x3c53cb,_0x2d02a0['length'](),_0x2d02a0);},_0x210c72['prototype']['int64']=_0x210c72['prototype']['uint64'],_0x210c72['prototype']['sint64']=function(_0xde206e){var _0x261c53=_0x411377['from'](_0xde206e)['zzEncode']();return this['_push'](_0x3c53cb,_0x261c53['length'](),_0x261c53);},_0x210c72['prototype']['bool']=function(_0x1049f2){return this['_push'](_0x23230e,0x1,_0x1049f2?0x1:0x0);},_0x210c72['prototype']['fixed32']=function(_0x4cc5d8){return this['_push'](_0x419e67,0x4,_0x4cc5d8>>>0x0);},_0x210c72['prototype']['sfixed32']=_0x210c72['prototype']['fixed32'],_0x210c72['prototype']['fixed64']=function(_0x4435c3){var _0x2162e0=_0x411377['from'](_0x4435c3);return this['_push'](_0x419e67,0x4,_0x2162e0['lo'])['_push'](_0x419e67,0x4,_0x2162e0['hi']);},_0x210c72['prototype']['sfixed64']=_0x210c72['prototype']['fixed64'],_0x210c72['prototype']['float']=function(_0x4e3219){return this['_push'](_0x414b1d['float']['writeFloatLE'],0x4,_0x4e3219);},_0x210c72['prototype']['double']=function(_0x3def3a){return this['_push'](_0x414b1d['float']['writeDoubleLE'],0x8,_0x3def3a);};var _0x4595be=_0x414b1d['Array']['prototype']['set']?function(_0xd65d33,_0x1552b5,_0xfadf23){_0x1552b5['set'](_0xd65d33,_0xfadf23);}:function(_0x1e9fb9,_0x186fff,_0x3222f1){for(var _0x2cf7a4=0x0;_0x2cf7a4<_0x1e9fb9['length'];++_0x2cf7a4)_0x186fff[_0x3222f1+_0x2cf7a4]=_0x1e9fb9[_0x2cf7a4];};return _0x210c72['prototype']['bytes']=function(_0x18e4c8){var _0x5c4481=_0x18e4c8['length']>>>0x0;if(!_0x5c4481)return this['_push'](_0x23230e,0x1,0x0);if(_0x414b1d['isString'](_0x18e4c8)){var _0x66dded=_0x210c72['alloc'](_0x5c4481=_0x33d834['length'](_0x18e4c8));_0x33d834['decode'](_0x18e4c8,_0x66dded,0x0),_0x18e4c8=_0x66dded;}return this['uint32'](_0x5c4481)['_push'](_0x4595be,_0x5c4481,_0x18e4c8);},_0x210c72['prototype']['string']=function(_0x574a7d){var _0x1abe69=_0x2051c1['length'](_0x574a7d);return _0x1abe69?this['uint32'](_0x1abe69)['_push'](_0x2051c1['write'],_0x1abe69,_0x574a7d):this['_push'](_0x23230e,0x1,0x0);},_0x210c72['prototype']['fork']=function(){return this['states']=new _0xf06ee4(this),this['head']=this['tail']=new _0x1351e0(_0x3abf12,0x0,0x0),this['len']=0x0,this;},_0x210c72['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 _0x1351e0(_0x3abf12,0x0,0x0),this['len']=0x0),this;},_0x210c72['prototype']['ldelim']=function(){var _0xe94e16=this['head'],_0x50bf8c=this['tail'],_0x46d722=this['len'];return this['reset']()['uint32'](_0x46d722),_0x46d722&&(this['tail']['next']=_0xe94e16['next'],this['tail']=_0x50bf8c,this['len']+=_0x46d722),this;},_0x210c72['prototype']['finish']=function(){for(var _0x5dd4bd=this['head']['next'],_0x2413e8=this['constructor']['alloc'](this['len']),_0x26bfba=0x0;_0x5dd4bd;)_0x5dd4bd['fn'](_0x5dd4bd['val'],_0x2413e8,_0x26bfba),_0x26bfba+=_0x5dd4bd['len'],_0x5dd4bd=_0x5dd4bd['next'];return _0x2413e8;},_0x210c72['_configure']=function(_0x33eade){_0x3a98eb=_0x33eade,_0x210c72['create']=_0x275d24(),_0x3a98eb['_configure']();},writer;}function requireWriter_buffer(){if(hasRequiredWriter_buffer)return writer_buffer;hasRequiredWriter_buffer=0x1,writer_buffer=_0x163fe0;var _0xdab7ad=requireWriter();(_0x163fe0['prototype']=Object['create'](_0xdab7ad['prototype']))['constructor']=_0x163fe0;var _0x37d587=requireMinimal$1();function _0x163fe0(){_0xdab7ad['call'](this);}function _0x30db4b(_0x55c7a6,_0x2015ba,_0x57428d){_0x55c7a6['length']<0x28?_0x37d587['utf8']['write'](_0x55c7a6,_0x2015ba,_0x57428d):_0x2015ba['utf8Write']?_0x2015ba['utf8Write'](_0x55c7a6,_0x57428d):_0x2015ba['write'](_0x55c7a6,_0x57428d);}return _0x163fe0['_configure']=function(){_0x163fe0['alloc']=_0x37d587['_Buffer_allocUnsafe'],_0x163fe0['writeBytesBuffer']=_0x37d587['Buffer']&&_0x37d587['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x37d587['Buffer']['prototype']['set']['name']?function(_0x4bd0c0,_0x534ab9,_0x116794){_0x534ab9['set'](_0x4bd0c0,_0x116794);}:function(_0x208360,_0x3ee9cd,_0x2c6735){if(_0x208360['copy'])_0x208360['copy'](_0x3ee9cd,_0x2c6735,0x0,_0x208360['length']);else{for(var _0xa195d9=0x0;_0xa195d9<_0x208360['length'];)_0x3ee9cd[_0x2c6735++]=_0x208360[_0xa195d9++];}};},_0x163fe0['prototype']['bytes']=function(_0x3fe24b){_0x37d587['isString'](_0x3fe24b)&&(_0x3fe24b=_0x37d587['_Buffer_from'](_0x3fe24b,'base64'));var _0x500280=_0x3fe24b['length']>>>0x0;return this['uint32'](_0x500280),_0x500280&&this['_push'](_0x163fe0['writeBytesBuffer'],_0x500280,_0x3fe24b),this;},_0x163fe0['prototype']['string']=function(_0x471d20){var _0x3ebfb2=_0x37d587['Buffer']['byteLength'](_0x471d20);return this['uint32'](_0x3ebfb2),_0x3ebfb2&&this['_push'](_0x30db4b,_0x3ebfb2,_0x471d20),this;},_0x163fe0['_configure'](),writer_buffer;}function requireReader(){if(_0x49d425)return _0x2119fb;_0x49d425=0x1,_0x2119fb=_0x4ba158;var _0x3eff77,_0x1eaa25=requireMinimal$1(),_0x501575=_0x1eaa25['LongBits'],_0x463357=_0x1eaa25['utf8'];function _0x44614f(_0x6dc71a,_0x188ea5){return RangeError('index\x20out\x20of\x20range:\x20'+_0x6dc71a['pos']+'\x20+\x20'+(_0x188ea5||0x1)+'\x20>\x20'+_0x6dc71a['len']);}function _0x4ba158(_0x9ad32b){this['buf']=_0x9ad32b,this['pos']=0x0,this['len']=_0x9ad32b['length'];}var _0x52f69e='undefined'!=typeof Uint8Array?function(_0x2eedb1){if(_0x2eedb1 instanceof Uint8Array||Array['isArray'](_0x2eedb1))return new _0x4ba158(_0x2eedb1);throw Error('illegal\x20buffer');}:function(_0x345779){if(Array['isArray'](_0x345779))return new _0x4ba158(_0x345779);throw Error('illegal\x20buffer');},_0x13c1e0=function(){return _0x1eaa25['Buffer']?function(_0x55b6a4){return(_0x4ba158['create']=function(_0x263620){return _0x1eaa25['Buffer']['isBuffer'](_0x263620)?new _0x3eff77(_0x263620):_0x52f69e(_0x263620);})(_0x55b6a4);}:_0x52f69e;};function _0x1df129(){var _0x3118f5=new _0x501575(0x0,0x0),_0x2b5973=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0x2b5973<0x3;++_0x2b5973){if(this['pos']>=this['len'])throw _0x44614f(this);if(_0x3118f5['lo']=(_0x3118f5['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x2b5973)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x3118f5;}return _0x3118f5['lo']=(_0x3118f5['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0x2b5973)>>>0x0,_0x3118f5;}for(;_0x2b5973<0x4;++_0x2b5973)if(_0x3118f5['lo']=(_0x3118f5['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x2b5973)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x3118f5;if(_0x3118f5['lo']=(_0x3118f5['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x3118f5['hi']=(_0x3118f5['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x3118f5;if(_0x2b5973=0x0,this['len']-this['pos']>0x4){for(;_0x2b5973<0x5;++_0x2b5973)if(_0x3118f5['hi']=(_0x3118f5['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x2b5973+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x3118f5;}else for(;_0x2b5973<0x5;++_0x2b5973){if(this['pos']>=this['len'])throw _0x44614f(this);if(_0x3118f5['hi']=(_0x3118f5['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x2b5973+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x3118f5;}throw Error('invalid\x20varint\x20encoding');}function _0x1a4912(_0x198a18,_0x20bc1d){return(_0x198a18[_0x20bc1d-0x4]|_0x198a18[_0x20bc1d-0x3]<<0x8|_0x198a18[_0x20bc1d-0x2]<<0x10|_0x198a18[_0x20bc1d-0x1]<<0x18)>>>0x0;}function _0x9e2fe7(){if(this['pos']+0x8>this['len'])throw _0x44614f(this,0x8);return new _0x501575(_0x1a4912(this['buf'],this['pos']+=0x4),_0x1a4912(this['buf'],this['pos']+=0x4));}return _0x4ba158['create']=_0x13c1e0(),_0x4ba158['prototype']['_slice']=_0x1eaa25['Array']['prototype']['subarray']||_0x1eaa25['Array']['prototype']['slice'],_0x4ba158['prototype']['uint32']=(function(){var _0x61241e=0xffffffff;return function(){if(_0x61241e=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x61241e;if(_0x61241e=(_0x61241e|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x61241e;if(_0x61241e=(_0x61241e|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x61241e;if(_0x61241e=(_0x61241e|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x61241e;if(_0x61241e=(_0x61241e|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x61241e;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0x44614f(this,0xa);return _0x61241e;};}()),_0x4ba158['prototype']['int32']=function(){return 0x0|this['uint32']();},_0x4ba158['prototype']['sint32']=function(){var _0x21f9c1=this['uint32']();return _0x21f9c1>>>0x1^-(0x1&_0x21f9c1);},_0x4ba158['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0x4ba158['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x44614f(this,0x4);return _0x1a4912(this['buf'],this['pos']+=0x4);},_0x4ba158['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x44614f(this,0x4);return 0x0|_0x1a4912(this['buf'],this['pos']+=0x4);},_0x4ba158['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0x44614f(this,0x4);var _0x41cd8c=_0x1eaa25['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x41cd8c;},_0x4ba158['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0x44614f(this,0x4);var _0x4d6ee2=_0x1eaa25['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x4d6ee2;},_0x4ba158['prototype']['bytes']=function(){var _0x52b509=this['uint32'](),_0x32b390=this['pos'],_0x52798e=this['pos']+_0x52b509;if(_0x52798e>this['len'])throw _0x44614f(this,_0x52b509);if(this['pos']+=_0x52b509,Array['isArray'](this['buf']))return this['buf']['slice'](_0x32b390,_0x52798e);if(_0x32b390===_0x52798e){var _0x24dbbf=_0x1eaa25['Buffer'];return _0x24dbbf?_0x24dbbf['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0x32b390,_0x52798e);},_0x4ba158['prototype']['string']=function(){var _0x5c6bb8=this['bytes']();return _0x463357['read'](_0x5c6bb8,0x0,_0x5c6bb8['length']);},_0x4ba158['prototype']['skip']=function(_0x37cb00){if('number'==typeof _0x37cb00){if(this['pos']+_0x37cb00>this['len'])throw _0x44614f(this,_0x37cb00);this['pos']+=_0x37cb00;}else do{if(this['pos']>=this['len'])throw _0x44614f(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0x4ba158['prototype']['skipType']=function(_0x395d81){switch(_0x395d81){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0x395d81=0x7&this['uint32']());)this['skipType'](_0x395d81);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0x395d81+'\x20at\x20offset\x20'+this['pos']);}return this;},_0x4ba158['_configure']=function(_0x25ce25){_0x3eff77=_0x25ce25,_0x4ba158['create']=_0x13c1e0(),_0x3eff77['_configure']();var _0x498088=_0x1eaa25['Long']?'toLong':'toNumber';_0x1eaa25['merge'](_0x4ba158['prototype'],{'int64':function(){return _0x1df129['call'](this)[_0x498088](!0x1);},'uint64':function(){return _0x1df129['call'](this)[_0x498088](!0x0);},'sint64':function(){return _0x1df129['call'](this)['zzDecode']()[_0x498088](!0x1);},'fixed64':function(){return _0x9e2fe7['call'](this)[_0x498088](!0x0);},'sfixed64':function(){return _0x9e2fe7['call'](this)[_0x498088](!0x1);}});},_0x2119fb;}function requireReader_buffer(){if(_0x23e1cd)return _0x357b0b;_0x23e1cd=0x1,_0x357b0b=_0x5a29a6;var _0x243bac=requireReader();(_0x5a29a6['prototype']=Object['create'](_0x243bac['prototype']))['constructor']=_0x5a29a6;var _0x3be74b=requireMinimal$1();function _0x5a29a6(_0x572fca){_0x243bac['call'](this,_0x572fca);}return _0x5a29a6['_configure']=function(){_0x3be74b['Buffer']&&(_0x5a29a6['prototype']['_slice']=_0x3be74b['Buffer']['prototype']['slice']);},_0x5a29a6['prototype']['string']=function(){var _0x5164a=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0x5164a,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0x5164a,this['len']));},_0x5a29a6['_configure'](),_0x357b0b;}var _0x31ace3={},_0x4464c7,_0x42c80d,_0xd24b16,roots,hasRequiredRoots,_0x391c30,_0x49950c,_0x57751f;function requireService(){if(_0x42c80d)return _0x4464c7;_0x42c80d=0x1,_0x4464c7=_0x17b7b9;var _0x472727=requireMinimal$1();function _0x17b7b9(_0x6aa776,_0x396459,_0x18a8bf){if('function'!=typeof _0x6aa776)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x472727['EventEmitter']['call'](this),this['rpcImpl']=_0x6aa776,this['requestDelimited']=Boolean(_0x396459),this['responseDelimited']=Boolean(_0x18a8bf);}return(_0x17b7b9['prototype']=Object['create'](_0x472727['EventEmitter']['prototype']))['constructor']=_0x17b7b9,_0x17b7b9['prototype']['rpcCall']=function _0x34af35(_0x39cd7f,_0x1498da,_0x3b45cf,_0x341e15,_0x2dc51f){if(!_0x341e15)throw TypeError('request\x20must\x20be\x20specified');var _0xf7e8d9=this;if(!_0x2dc51f)return _0x472727['asPromise'](_0x34af35,_0xf7e8d9,_0x39cd7f,_0x1498da,_0x3b45cf,_0x341e15);if(_0xf7e8d9['rpcImpl'])try{return _0xf7e8d9['rpcImpl'](_0x39cd7f,_0x1498da[_0xf7e8d9['requestDelimited']?'encodeDelimited':'encode'](_0x341e15)['finish'](),function(_0x3cd4b3,_0x3a810a){if(_0x3cd4b3)return _0xf7e8d9['emit']('error',_0x3cd4b3,_0x39cd7f),_0x2dc51f(_0x3cd4b3);if(null!==_0x3a810a){if(!(_0x3a810a instanceof _0x3b45cf))try{_0x3a810a=_0x3b45cf[_0xf7e8d9['responseDelimited']?'decodeDelimited':'decode'](_0x3a810a);}catch(_0x26e006){return _0xf7e8d9['emit']('error',_0x26e006,_0x39cd7f),_0x2dc51f(_0x26e006);}return _0xf7e8d9['emit']('data',_0x3a810a,_0x39cd7f),_0x2dc51f(null,_0x3a810a);}_0xf7e8d9['end'](!0x0);});}catch(_0x1da544){return _0xf7e8d9['emit']('error',_0x1da544,_0x39cd7f),void setTimeout(function(){_0x2dc51f(_0x1da544);},0x0);}else setTimeout(function(){_0x2dc51f(Error('already\x20ended'));},0x0);},_0x17b7b9['prototype']['end']=function(_0x277aa8){return this['rpcImpl']&&(_0x277aa8||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;},_0x4464c7;}function requireRpc(){return _0xd24b16||(_0xd24b16=0x1,_0x31ace3['Service']=requireService()),_0x31ace3;}function requireRoots(){return hasRequiredRoots?roots:(hasRequiredRoots=0x1,roots={});}function requireIndexMinimal(){return _0x391c30||(_0x391c30=0x1,function(_0xc83fce){var _0x15cff8=_0xc83fce;function _0xbe10b5(){_0x15cff8['util']['_configure'](),_0x15cff8['Writer']['_configure'](_0x15cff8['BufferWriter']),_0x15cff8['Reader']['_configure'](_0x15cff8['BufferReader']);}_0x15cff8['build']='minimal',_0x15cff8['Writer']=requireWriter(),_0x15cff8['BufferWriter']=requireWriter_buffer(),_0x15cff8['Reader']=requireReader(),_0x15cff8['BufferReader']=requireReader_buffer(),_0x15cff8['util']=requireMinimal$1(),_0x15cff8['rpc']=requireRpc(),_0x15cff8['roots']=requireRoots(),_0x15cff8['configure']=_0xbe10b5,_0xbe10b5();}(_0x4883bc)),_0x4883bc;}function requireMinimal(){return _0x57751f?_0x49950c:(_0x57751f=0x1,_0x49950c=requireIndexMinimal());}var minimalExports=requireMinimal();const _0x504e8f=Object['create'](null);_0x504e8f['open']='0',_0x504e8f['close']='1',_0x504e8f['ping']='2',_0x504e8f['pong']='3',_0x504e8f['message']='4',_0x504e8f['upgrade']='5',_0x504e8f['noop']='6';const _0x130f30=Object['create'](null);Object['keys'](_0x504e8f)['forEach'](_0x532259=>{_0x130f30[_0x504e8f[_0x532259]]=_0x532259;});const _0x1da17f={'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,_0x425f2e=_0x3d33c2=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x3d33c2):_0x3d33c2&&_0x3d33c2['buffer']instanceof ArrayBuffer,encodePacket=({type:_0x990160,data:_0x25abfd},_0x25e943,_0xe64be8)=>withNativeBlob$1&&_0x25abfd instanceof Blob?_0x25e943?_0xe64be8(_0x25abfd):_0x37361b(_0x25abfd,_0xe64be8):withNativeArrayBuffer$2&&(_0x25abfd instanceof ArrayBuffer||_0x425f2e(_0x25abfd))?_0x25e943?_0xe64be8(_0x25abfd):_0x37361b(new Blob([_0x25abfd]),_0xe64be8):_0xe64be8(_0x504e8f[_0x990160]+(_0x25abfd||'')),_0x37361b=(_0x58698a,_0x3ab285)=>{const _0x1f5a8b=new FileReader();return _0x1f5a8b['onload']=function(){const _0x369217=_0x1f5a8b['result']['split'](',')[0x1];_0x3ab285('b'+(_0x369217||''));},_0x1f5a8b['readAsDataURL'](_0x58698a);};function toArray(_0x3d20dd){return _0x3d20dd instanceof Uint8Array?_0x3d20dd:_0x3d20dd instanceof ArrayBuffer?new Uint8Array(_0x3d20dd):new Uint8Array(_0x3d20dd['buffer'],_0x3d20dd['byteOffset'],_0x3d20dd['byteLength']);}let _0x1b2fa0;function encodePacketToBinary(_0x1e26b6,_0x12b668){return withNativeBlob$1&&_0x1e26b6['data']instanceof Blob?_0x1e26b6['data']['arrayBuffer']()['then'](toArray)['then'](_0x12b668):withNativeArrayBuffer$2&&(_0x1e26b6['data']instanceof ArrayBuffer||_0x425f2e(_0x1e26b6['data']))?_0x12b668(toArray(_0x1e26b6['data'])):void encodePacket(_0x1e26b6,!0x1,_0x10ffea=>{_0x1b2fa0||(_0x1b2fa0=new TextEncoder()),_0x12b668(_0x1b2fa0['encode'](_0x10ffea));});}const _0xbf8f69='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',_0x1c1bf8='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let _0x37f319=0x0;_0x37f319<_0xbf8f69['length'];_0x37f319++)_0x1c1bf8[_0xbf8f69['charCodeAt'](_0x37f319)]=_0x37f319;const _0x2ea6b5=_0x34eb6d=>{let _0x2d3751,_0x4c70db,_0x38ca13,_0x45b7a8,_0x471278,_0x3cf2aa=0.75*_0x34eb6d['length'],_0x434691=_0x34eb6d['length'],_0x54f2e8=0x0;'='===_0x34eb6d[_0x34eb6d['length']-0x1]&&(_0x3cf2aa--,'='===_0x34eb6d[_0x34eb6d['length']-0x2]&&_0x3cf2aa--);const _0x3497f8=new ArrayBuffer(_0x3cf2aa),_0xc26cae=new Uint8Array(_0x3497f8);for(_0x2d3751=0x0;_0x2d3751<_0x434691;_0x2d3751+=0x4)_0x4c70db=_0x1c1bf8[_0x34eb6d['charCodeAt'](_0x2d3751)],_0x38ca13=_0x1c1bf8[_0x34eb6d['charCodeAt'](_0x2d3751+0x1)],_0x45b7a8=_0x1c1bf8[_0x34eb6d['charCodeAt'](_0x2d3751+0x2)],_0x471278=_0x1c1bf8[_0x34eb6d['charCodeAt'](_0x2d3751+0x3)],_0xc26cae[_0x54f2e8++]=_0x4c70db<<0x2|_0x38ca13>>0x4,_0xc26cae[_0x54f2e8++]=(0xf&_0x38ca13)<<0x4|_0x45b7a8>>0x2,_0xc26cae[_0x54f2e8++]=(0x3&_0x45b7a8)<<0x6|0x3f&_0x471278;return _0x3497f8;},withNativeArrayBuffer$1='function'==typeof ArrayBuffer,decodePacket=(_0x4da039,_0x1ecc05)=>{if('string'!=typeof _0x4da039)return{'type':'message','data':_0x4398f1(_0x4da039,_0x1ecc05)};const _0x242375=_0x4da039['charAt'](0x0);if('b'===_0x242375)return{'type':'message','data':decodeBase64Packet(_0x4da039['substring'](0x1),_0x1ecc05)};return _0x130f30[_0x242375]?_0x4da039['length']>0x1?{'type':_0x130f30[_0x242375],'data':_0x4da039['substring'](0x1)}:{'type':_0x130f30[_0x242375]}:_0x1da17f;},decodeBase64Packet=(_0x361c9f,_0xcf2e34)=>{if(withNativeArrayBuffer$1){const _0x5d72fa=_0x2ea6b5(_0x361c9f);return _0x4398f1(_0x5d72fa,_0xcf2e34);}return{'base64':!0x0,'data':_0x361c9f};},_0x4398f1=(_0x431031,_0x439787)=>'blob'===_0x439787?_0x431031 instanceof Blob?_0x431031:new Blob([_0x431031]):_0x431031 instanceof ArrayBuffer?_0x431031:_0x431031['buffer'],_0x3c5085=String['fromCharCode'](0x1e),_0x2bd424=(_0x4d5b11,_0x1b6d3b)=>{const _0x29d41a=_0x4d5b11['length'],_0x1d1e1c=new Array(_0x29d41a);let _0x1b1a83=0x0;_0x4d5b11['forEach']((_0x59a391,_0x3203bd)=>{encodePacket(_0x59a391,!0x1,_0x26925f=>{_0x1d1e1c[_0x3203bd]=_0x26925f,++_0x1b1a83===_0x29d41a&&_0x1b6d3b(_0x1d1e1c['join'](_0x3c5085));});});},_0x2be9a2=(_0x441f6b,_0x3ab1a1)=>{const _0x431235=_0x441f6b['split'](_0x3c5085),_0x20d0b9=[];for(let _0x3eaadd=0x0;_0x3eaadd<_0x431235['length'];_0x3eaadd++){const _0x402da6=decodePacket(_0x431235[_0x3eaadd],_0x3ab1a1);if(_0x20d0b9['push'](_0x402da6),'error'===_0x402da6['type'])break;}return _0x20d0b9;};function createPacketEncoderStream(){return new TransformStream({'transform'(_0x5c4b32,_0x7f03e8){encodePacketToBinary(_0x5c4b32,_0x1171fe=>{const _0x5ca248=_0x1171fe['length'];let _0x1bd554;if(_0x5ca248<0x7e)_0x1bd554=new Uint8Array(0x1),new DataView(_0x1bd554['buffer'])['setUint8'](0x0,_0x5ca248);else{if(_0x5ca248<0x10000){_0x1bd554=new Uint8Array(0x3);const _0x4a70b0=new DataView(_0x1bd554['buffer']);_0x4a70b0['setUint8'](0x0,0x7e),_0x4a70b0['setUint16'](0x1,_0x5ca248);}else{_0x1bd554=new Uint8Array(0x9);const _0x3e2017=new DataView(_0x1bd554['buffer']);_0x3e2017['setUint8'](0x0,0x7f),_0x3e2017['setBigUint64'](0x1,BigInt(_0x5ca248));}}_0x5c4b32['data']&&'string'!=typeof _0x5c4b32['data']&&(_0x1bd554[0x0]|=0x80),_0x7f03e8['enqueue'](_0x1bd554),_0x7f03e8['enqueue'](_0x1171fe);});}});}let _0x222614;function totalLength(_0x51a43f){return _0x51a43f['reduce']((_0x4498e1,_0x353840)=>_0x4498e1+_0x353840['length'],0x0);}function concatChunks(_0x36a5f6,_0x21c1c8){if(_0x36a5f6[0x0]['length']===_0x21c1c8)return _0x36a5f6['shift']();const _0x2bf4d2=new Uint8Array(_0x21c1c8);let _0x3afba5=0x0;for(let _0x27ade7=0x0;_0x27ade7<_0x21c1c8;_0x27ade7++)_0x2bf4d2[_0x27ade7]=_0x36a5f6[0x0][_0x3afba5++],_0x3afba5===_0x36a5f6[0x0]['length']&&(_0x36a5f6['shift'](),_0x3afba5=0x0);return _0x36a5f6['length']&&_0x3afba5<_0x36a5f6[0x0]['length']&&(_0x36a5f6[0x0]=_0x36a5f6[0x0]['slice'](_0x3afba5)),_0x2bf4d2;}function createPacketDecoderStream(_0x20aeaf,_0x473ee0){_0x222614||(_0x222614=new TextDecoder());const _0x334ee8=[];let _0x25f971=0x0,_0x43c6ae=-0x1,_0x2fa548=!0x1;return new TransformStream({'transform'(_0x46d0d1,_0x18f567){for(_0x334ee8['push'](_0x46d0d1);;){if(0x0===_0x25f971){if(totalLength(_0x334ee8)<0x1)break;const _0x41eeab=concatChunks(_0x334ee8,0x1);_0x2fa548=!(0x80&~_0x41eeab[0x0]),_0x43c6ae=0x7f&_0x41eeab[0x0],_0x25f971=_0x43c6ae<0x7e?0x3:0x7e===_0x43c6ae?0x1:0x2;}else{if(0x1===_0x25f971){if(totalLength(_0x334ee8)<0x2)break;const _0x192601=concatChunks(_0x334ee8,0x2);_0x43c6ae=new DataView(_0x192601['buffer'],_0x192601['byteOffset'],_0x192601['length'])['getUint16'](0x0),_0x25f971=0x3;}else{if(0x2===_0x25f971){if(totalLength(_0x334ee8)<0x8)break;const _0x2667a7=concatChunks(_0x334ee8,0x8),_0x436679=new DataView(_0x2667a7['buffer'],_0x2667a7['byteOffset'],_0x2667a7['length']),_0x100365=_0x436679['getUint32'](0x0);if(_0x100365>Math['pow'](0x2,0x15)-0x1){_0x18f567['enqueue'](_0x1da17f);break;}_0x43c6ae=_0x100365*Math['pow'](0x2,0x20)+_0x436679['getUint32'](0x4),_0x25f971=0x3;}else{if(totalLength(_0x334ee8)<_0x43c6ae)break;const _0xfb3830=concatChunks(_0x334ee8,_0x43c6ae);_0x18f567['enqueue'](decodePacket(_0x2fa548?_0xfb3830:_0x222614['decode'](_0xfb3830),_0x473ee0)),_0x25f971=0x0;}}}if(0x0===_0x43c6ae||_0x43c6ae>_0x20aeaf){_0x18f567['enqueue'](_0x1da17f);break;}}}});}const protocol=0x4;function Emitter(_0x37e79e){if(_0x37e79e)return _0x57c7c4(_0x37e79e);}function _0x57c7c4(_0x445e17){for(var _0x2bc15e in Emitter['prototype'])_0x445e17[_0x2bc15e]=Emitter['prototype'][_0x2bc15e];return _0x445e17;}Emitter['prototype']['on']=Emitter['prototype']['addEventListener']=function(_0x536c4f,_0x448ca0){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0x536c4f]=this['_callbacks']['$'+_0x536c4f]||[])['push'](_0x448ca0),this;},Emitter['prototype']['once']=function(_0x38243f,_0x15da1e){function _0x19b4df(){this['off'](_0x38243f,_0x19b4df),_0x15da1e['apply'](this,arguments);}return _0x19b4df['fn']=_0x15da1e,this['on'](_0x38243f,_0x19b4df),this;},Emitter['prototype']['off']=Emitter['prototype']['removeListener']=Emitter['prototype']['removeAllListeners']=Emitter['prototype']['removeEventListener']=function(_0x41e0cf,_0xe2590f){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0xdf4478,_0xd2283e=this['_callbacks']['$'+_0x41e0cf];if(!_0xd2283e)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0x41e0cf],this;for(var _0x19e5f5=0x0;_0x19e5f5<_0xd2283e['length'];_0x19e5f5++)if((_0xdf4478=_0xd2283e[_0x19e5f5])===_0xe2590f||_0xdf4478['fn']===_0xe2590f){_0xd2283e['splice'](_0x19e5f5,0x1);break;}return 0x0===_0xd2283e['length']&&delete this['_callbacks']['$'+_0x41e0cf],this;},Emitter['prototype']['emit']=function(_0x2d8510){this['_callbacks']=this['_callbacks']||{};for(var _0x570fec=new Array(arguments['length']-0x1),_0x3dde90=this['_callbacks']['$'+_0x2d8510],_0x546086=0x1;_0x546086<arguments['length'];_0x546086++)_0x570fec[_0x546086-0x1]=arguments[_0x546086];if(_0x3dde90){_0x546086=0x0;for(var _0x4e23e7=(_0x3dde90=_0x3dde90['slice'](0x0))['length'];_0x546086<_0x4e23e7;++_0x546086)_0x3dde90[_0x546086]['apply'](this,_0x570fec);}return this;},Emitter['prototype']['emitReserved']=Emitter['prototype']['emit'],Emitter['prototype']['listeners']=function(_0x27a768){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x27a768]||[];},Emitter['prototype']['hasListeners']=function(_0x4d81f9){return!!this['listeners'](_0x4d81f9)['length'];};const _0x5eb04a='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function _0x5b7b0f(_0x42f83b,..._0x1a6f93){return _0x1a6f93['reduce']((_0x146726,_0x1d6308)=>(_0x42f83b['hasOwnProperty'](_0x1d6308)&&(_0x146726[_0x1d6308]=_0x42f83b[_0x1d6308]),_0x146726),{});}const _0x318298=_0x5eb04a['setTimeout'],_0x48fa3c=_0x5eb04a['clearTimeout'];function installTimerFunctions(_0xf8817f,_0x349656){_0x349656['useNativeTimers']?(_0xf8817f['setTimeoutFn']=_0x318298['bind'](_0x5eb04a),_0xf8817f['clearTimeoutFn']=_0x48fa3c['bind'](_0x5eb04a)):(_0xf8817f['setTimeoutFn']=_0x5eb04a['setTimeout']['bind'](_0x5eb04a),_0xf8817f['clearTimeoutFn']=_0x5eb04a['clearTimeout']['bind'](_0x5eb04a));}const _0x1bd60c=1.33;function byteLength(_0x165392){return'string'==typeof _0x165392?utf8Length(_0x165392):Math['ceil']((_0x165392['byteLength']||_0x165392['size'])*_0x1bd60c);}function utf8Length(_0x215343){let _0x4e7575=0x0,_0x48c15f=0x0;for(let _0x503317=0x0,_0x5c2198=_0x215343['length'];_0x503317<_0x5c2198;_0x503317++)_0x4e7575=_0x215343['charCodeAt'](_0x503317),_0x4e7575<0x80?_0x48c15f+=0x1:_0x4e7575<0x800?_0x48c15f+=0x2:_0x4e7575<0xd800||_0x4e7575>=0xe000?_0x48c15f+=0x3:(_0x503317++,_0x48c15f+=0x4);return _0x48c15f;}function _0x21f640(_0x4d8edf){let _0x4c5b38='';for(let _0x3c0bba in _0x4d8edf)_0x4d8edf['hasOwnProperty'](_0x3c0bba)&&(_0x4c5b38['length']&&(_0x4c5b38+='&'),_0x4c5b38+=encodeURIComponent(_0x3c0bba)+'='+encodeURIComponent(_0x4d8edf[_0x3c0bba]));return _0x4c5b38;}function _0x2afa25(_0x1a4892){let _0x4e9cc6={},_0x19ce05=_0x1a4892['split']('&');for(let _0x24e5e7=0x0,_0x1f32e3=_0x19ce05['length'];_0x24e5e7<_0x1f32e3;_0x24e5e7++){let _0xc1eef7=_0x19ce05[_0x24e5e7]['split']('=');_0x4e9cc6[decodeURIComponent(_0xc1eef7[0x0])]=decodeURIComponent(_0xc1eef7[0x1]);}return _0x4e9cc6;}class TransportError extends Error{constructor(_0x300e9,_0x2cb149,_0x45c720){super(_0x300e9),this['description']=_0x2cb149,this['context']=_0x45c720,this['type']='TransportError';}}class Transport extends Emitter{constructor(_0xa38cf1){super(),this['writable']=!0x1,installTimerFunctions(this,_0xa38cf1),this['opts']=_0xa38cf1,this['query']=_0xa38cf1['query'],this['socket']=_0xa38cf1['socket'];}['onError'](_0x2d5fe4,_0x58b720,_0x47534e){return super['emitReserved']('error',new TransportError(_0x2d5fe4,_0x58b720,_0x47534e)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x540ba3){'open'===this['readyState']&&this['write'](_0x540ba3);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0x437b45){const _0x2e0e78=decodePacket(_0x437b45,this['socket']['binaryType']);this['onPacket'](_0x2e0e78);}['onPacket'](_0x50ce09){super['emitReserved']('packet',_0x50ce09);}['onClose'](_0x513a9f){this['readyState']='closed',super['emitReserved']('close',_0x513a9f);}['pause'](_0x47f5e7){}['createUri'](_0x11e434,_0x45cbd0={}){return _0x11e434+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x45cbd0);}['_hostname'](){const _0x4a7c6c=this['opts']['hostname'];return-0x1===_0x4a7c6c['indexOf'](':')?_0x4a7c6c:'['+_0x4a7c6c+']';}['_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'](_0x1d3aff){const _0x32f4da=_0x21f640(_0x1d3aff);return _0x32f4da['length']?'?'+_0x32f4da:'';}}const alphabet='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),length=0x40,_0x33e39a={};let _0x5dd295=0x0,_0x548d02=0x0,_0x54ff88;function _0x17a28a(_0x18cf9f){let _0x1ec551='';do{_0x1ec551=alphabet[_0x18cf9f%length]+_0x1ec551,_0x18cf9f=Math['floor'](_0x18cf9f/length);}while(_0x18cf9f>0x0);return _0x1ec551;}function yeast(){const _0x215320=_0x17a28a(+new Date());return _0x215320!==_0x54ff88?(_0x5dd295=0x0,_0x54ff88=_0x215320):_0x215320+'.'+_0x17a28a(_0x5dd295++);}for(;_0x548d02<length;_0x548d02++)_0x33e39a[alphabet[_0x548d02]]=_0x548d02;let _0x282583=!0x1;try{_0x282583='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x452fbd){}const _0x2d6d74=_0x282583;function _0x110c81(_0xe31ab5){const _0x402e25=_0xe31ab5['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x402e25||_0x2d6d74))return new XMLHttpRequest();}catch(_0x382b11){}if(!_0x402e25)try{return new _0x5eb04a[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0xd6ecea){}}function createCookieJar(){}function empty(){}const _0x327d9d=null!=new _0x110c81({'xdomain':!0x1})['responseType'];class _0x5d8a1c extends Transport{constructor(_0xfbd94f){if(super(_0xfbd94f),this['polling']=!0x1,'undefined'!=typeof location){const _0x13a139='https:'===location['protocol'];let _0x4be4f7=location['port'];_0x4be4f7||(_0x4be4f7=_0x13a139?'443':'80'),this['xd']='undefined'!=typeof location&&_0xfbd94f['hostname']!==location['hostname']||_0x4be4f7!==_0xfbd94f['port'];}const _0x26031f=_0xfbd94f&&_0xfbd94f['forceBase64'];this['supportsBinary']=_0x327d9d&&!_0x26031f,this['opts']['withCredentials']&&(this['cookieJar']=createCookieJar());}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0x19a7d7){this['readyState']='pausing';const _0x58c092=()=>{this['readyState']='paused',_0x19a7d7();};if(this['polling']||!this['writable']){let _0x1df4f0=0x0;this['polling']&&(_0x1df4f0++,this['once']('pollComplete',function(){--_0x1df4f0||_0x58c092();})),this['writable']||(_0x1df4f0++,this['once']('drain',function(){--_0x1df4f0||_0x58c092();}));}else _0x58c092();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0x55ba6a){_0x2be9a2(_0x55ba6a,this['socket']['binaryType'])['forEach'](_0x59998f=>{if('opening'===this['readyState']&&'open'===_0x59998f['type']&&this['onOpen'](),'close'===_0x59998f['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0x59998f);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0x2dbf85=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x2dbf85():this['once']('open',_0x2dbf85);}['write'](_0xb0ad12){this['writable']=!0x1,_0x2bd424(_0xb0ad12,_0x4ccf66=>{this['doWrite'](_0x4ccf66,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x32bf9e=this['opts']['secure']?'https':'http',_0x450c39=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0x450c39[this['opts']['timestampParam']]=yeast()),this['supportsBinary']||_0x450c39['sid']||(_0x450c39['b64']=0x1),this['createUri'](_0x32bf9e,_0x450c39);}['request'](_0x166a36={}){return Object['assign'](_0x166a36,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new Request(this['uri'](),_0x166a36);}['doWrite'](_0x5a3c91,_0x4c4f9c){const _0x51976e=this['request']({'method':'POST','data':_0x5a3c91});_0x51976e['on']('success',_0x4c4f9c),_0x51976e['on']('error',(_0x238033,_0x1ccde6)=>{this['onError']('xhr\x20post\x20error',_0x238033,_0x1ccde6);});}['doPoll'](){const _0x457a81=this['request']();_0x457a81['on']('data',this['onData']['bind'](this)),_0x457a81['on']('error',(_0x26b29a,_0x53a901)=>{this['onError']('xhr\x20poll\x20error',_0x26b29a,_0x53a901);}),this['pollXhr']=_0x457a81;}}class Request extends Emitter{constructor(_0x3b3fe8,_0x23cff7){super(),installTimerFunctions(this,_0x23cff7),this['opts']=_0x23cff7,this['method']=_0x23cff7['method']||'GET',this['uri']=_0x3b3fe8,this['data']=void 0x0!==_0x23cff7['data']?_0x23cff7['data']:null,this['create']();}['create'](){var _0x22dd9e;const _0x1cf9d1=_0x5b7b0f(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x1cf9d1['xdomain']=!!this['opts']['xd'];const _0x1efb97=this['xhr']=new _0x110c81(_0x1cf9d1);try{_0x1efb97['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0x1efb97['setDisableHeaderCheck']&&_0x1efb97['setDisableHeaderCheck'](!0x0);for(let _0x15fea6 in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x15fea6)&&_0x1efb97['setRequestHeader'](_0x15fea6,this['opts']['extraHeaders'][_0x15fea6]);}}catch(_0x130a42){}if('POST'===this['method'])try{_0x1efb97['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x18377c){}try{_0x1efb97['setRequestHeader']('Accept','*/*');}catch(_0x5c2891){}null===(_0x22dd9e=this['opts']['cookieJar'])||void 0x0===_0x22dd9e||_0x22dd9e['addCookies'](_0x1efb97),'withCredentials'in _0x1efb97&&(_0x1efb97['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0x1efb97['timeout']=this['opts']['requestTimeout']),_0x1efb97['onreadystatechange']=()=>{var _0x343242;0x3===_0x1efb97['readyState']&&(null===(_0x343242=this['opts']['cookieJar'])||void 0x0===_0x343242||_0x343242['parseCookies'](_0x1efb97)),0x4===_0x1efb97['readyState']&&(0xc8===_0x1efb97['status']||0x4c7===_0x1efb97['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0x1efb97['status']?_0x1efb97['status']:0x0);},0x0));},_0x1efb97['send'](this['data']);}catch(_0x465fbf){return void this['setTimeoutFn'](()=>{this['onError'](_0x465fbf);},0x0);}'undefined'!=typeof document&&(this['index']=Request['requestsCount']++,Request['requests'][this['index']]=this);}['onError'](_0x543e6e){this['emitReserved']('error',_0x543e6e,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0x459605){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=empty,_0x459605)try{this['xhr']['abort']();}catch(_0x5b4503){}'undefined'!=typeof document&&delete Request['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0x48d44c=this['xhr']['responseText'];null!==_0x48d44c&&(this['emitReserved']('data',_0x48d44c),this['emitReserved']('success'),this['cleanup']());}['abort'](){this['cleanup']();}}if(Request['requestsCount']=0x0,Request['requests']={},'undefined'!=typeof document){if('function'==typeof attachEvent)attachEvent('onunload',_0x387e8e);else{if('function'==typeof addEventListener){const _0x47706d='onpagehide'in _0x5eb04a?'pagehide':'unload';addEventListener(_0x47706d,_0x387e8e,!0x1);}}}function _0x387e8e(){for(let _0x2f7cd2 in Request['requests'])Request['requests']['hasOwnProperty'](_0x2f7cd2)&&Request['requests'][_0x2f7cd2]['abort']();}const nextTick='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x5da9c9=>Promise['resolve']()['then'](_0x5da9c9):(_0x22aaaa,_0x29cbf3)=>_0x29cbf3(_0x22aaaa,0x0),WebSocket$2=_0x5eb04a['WebSocket']||_0x5eb04a['MozWebSocket'],usingBrowserWebSocket=!0x0,defaultBinaryType='arraybuffer',isReactNative='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase']();class _0x25577d extends Transport{constructor(_0xcf9032){super(_0xcf9032),this['supportsBinary']=!_0xcf9032['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x556073=this['uri'](),_0x4428c3=this['opts']['protocols'],_0x257d04=isReactNative?{}:_0x5b7b0f(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0x257d04['headers']=this['opts']['extraHeaders']);try{this['ws']=usingBrowserWebSocket&&!isReactNative?_0x4428c3?new WebSocket$2(_0x556073,_0x4428c3):new WebSocket$2(_0x556073):new WebSocket$2(_0x556073,_0x4428c3,_0x257d04);}catch(_0x3f3247){return this['emitReserved']('error',_0x3f3247);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x12b91c=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x12b91c}),this['ws']['onmessage']=_0x1a1347=>this['onData'](_0x1a1347['data']),this['ws']['onerror']=_0x58a20b=>this['onError']('websocket\x20error',_0x58a20b);}['write'](_0x3c467f){this['writable']=!0x1;for(let _0x12d616=0x0;_0x12d616<_0x3c467f['length'];_0x12d616++){const _0x168818=_0x3c467f[_0x12d616],_0x7433fa=_0x12d616===_0x3c467f['length']-0x1;encodePacket(_0x168818,this['supportsBinary'],_0x51b594=>{try{usingBrowserWebSocket&&this['ws']['send'](_0x51b594);}catch(_0x593cad){}_0x7433fa&&nextTick(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0x2cd40e=this['opts']['secure']?'wss':'ws',_0x4ecf96=this['query']||{};return this['opts']['timestampRequests']&&(_0x4ecf96[this['opts']['timestampParam']]=yeast()),this['supportsBinary']||(_0x4ecf96['b64']=0x1),this['createUri'](_0x2cd40e,_0x4ecf96);}['check'](){return!!WebSocket$2;}}class _0x3db3c6 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'](_0x184b03=>{this['onError']('webtransport\x20error',_0x184b03);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0x526e8e=>{const _0x4bf7d8=createPacketDecoderStream(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x375e19=_0x526e8e['readable']['pipeThrough'](_0x4bf7d8)['getReader'](),_0x202991=createPacketEncoderStream();_0x202991['readable']['pipeTo'](_0x526e8e['writable']),this['writer']=_0x202991['writable']['getWriter']();const _0x1fbc7f=()=>{_0x375e19['read']()['then'](({done:_0x164650,value:_0x20ca39})=>{_0x164650||(this['onPacket'](_0x20ca39),_0x1fbc7f());})['catch'](_0x53d8e8=>{});};_0x1fbc7f();const _0x182be7={'type':'open'};this['query']['sid']&&(_0x182be7['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0x182be7)['then'](()=>this['onOpen']());});}));}['write'](_0x223045){this['writable']=!0x1;for(let _0x5ca2c2=0x0;_0x5ca2c2<_0x223045['length'];_0x5ca2c2++){const _0x16defa=_0x223045[_0x5ca2c2],_0x1bf46b=_0x5ca2c2===_0x223045['length']-0x1;this['writer']['write'](_0x16defa)['then'](()=>{_0x1bf46b&&nextTick(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x17815e;null===(_0x17815e=this['transport'])||void 0x0===_0x17815e||_0x17815e['close']();}}const transports={'websocket':_0x25577d,'webtransport':_0x3db3c6,'polling':_0x5d8a1c},_0x2b03b7=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(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 _0x809640(_0x341ab8){if(_0x341ab8['length']>0x7d0)throw'URI\x20too\x20long';const _0x451939=_0x341ab8,_0x55b600=_0x341ab8['indexOf']('['),_0x2cae39=_0x341ab8['indexOf'](']');-0x1!=_0x55b600&&-0x1!=_0x2cae39&&(_0x341ab8=_0x341ab8['substring'](0x0,_0x55b600)+_0x341ab8['substring'](_0x55b600,_0x2cae39)['replace'](/:/g,';')+_0x341ab8['substring'](_0x2cae39,_0x341ab8['length']));let _0x77f403=_0x2b03b7['exec'](_0x341ab8||''),_0x43dc36={},_0x2e8490=0xe;for(;_0x2e8490--;)_0x43dc36[parts[_0x2e8490]]=_0x77f403[_0x2e8490]||'';return-0x1!=_0x55b600&&-0x1!=_0x2cae39&&(_0x43dc36['source']=_0x451939,_0x43dc36['host']=_0x43dc36['host']['substring'](0x1,_0x43dc36['host']['length']-0x1)['replace'](/;/g,':'),_0x43dc36['authority']=_0x43dc36['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0x43dc36['ipv6uri']=!0x0),_0x43dc36['pathNames']=pathNames(_0x43dc36,_0x43dc36['path']),_0x43dc36['queryKey']=_0x28e665(_0x43dc36,_0x43dc36['query']),_0x43dc36;}function pathNames(_0xb95de8,_0x18e289){const _0x3df485=_0x18e289['replace'](/\/{2,9}/g,'/')['split']('/');return'/'!=_0x18e289['slice'](0x0,0x1)&&0x0!==_0x18e289['length']||_0x3df485['splice'](0x0,0x1),'/'==_0x18e289['slice'](-0x1)&&_0x3df485['splice'](_0x3df485['length']-0x1,0x1),_0x3df485;}function _0x28e665(_0x137b14,_0x5f1e23){const _0x4e6bfb={};return _0x5f1e23['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0xb31162,_0x416d46,_0x4a5e12){_0x416d46&&(_0x4e6bfb[_0x416d46]=_0x4a5e12);}),_0x4e6bfb;}let Socket$1=class _0x23a151 extends Emitter{constructor(_0x31a925,_0x3b9c07={}){super(),this['binaryType']=defaultBinaryType,this['writeBuffer']=[],_0x31a925&&'object'==typeof _0x31a925&&(_0x3b9c07=_0x31a925,_0x31a925=null),_0x31a925?(_0x31a925=_0x809640(_0x31a925),_0x3b9c07['hostname']=_0x31a925['host'],_0x3b9c07['secure']='https'===_0x31a925['protocol']||'wss'===_0x31a925['protocol'],_0x3b9c07['port']=_0x31a925['port'],_0x31a925['query']&&(_0x3b9c07['query']=_0x31a925['query'])):_0x3b9c07['host']&&(_0x3b9c07['hostname']=_0x809640(_0x3b9c07['host'])['host']),installTimerFunctions(this,_0x3b9c07),this['secure']=null!=_0x3b9c07['secure']?_0x3b9c07['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0x3b9c07['hostname']&&!_0x3b9c07['port']&&(_0x3b9c07['port']=this['secure']?'443':'80'),this['hostname']=_0x3b9c07['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0x3b9c07['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0x3b9c07['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},_0x3b9c07),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=_0x2afa25(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'](_0x52af71){const _0x34e579=Object['assign']({},this['opts']['query']);_0x34e579['EIO']=protocol,_0x34e579['transport']=_0x52af71,this['id']&&(_0x34e579['sid']=this['id']);const _0x485e31=Object['assign']({},this['opts'],{'query':_0x34e579,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x52af71]);return new transports[_0x52af71](_0x485e31);}['open'](){let _0x29c103;if(this['opts']['rememberUpgrade']&&_0x23a151['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0x29c103='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0x29c103=this['transports'][0x0];}this['readyState']='opening';try{_0x29c103=this['createTransport'](_0x29c103);}catch(_0x2a2683){return this['transports']['shift'](),void this['open']();}_0x29c103['open'](),this['setTransport'](_0x29c103);}['setTransport'](_0x1229e8){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x1229e8,_0x1229e8['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0x1a7f3b=>this['onClose']('transport\x20close',_0x1a7f3b));}['probe'](_0x4aba3d){let _0x4d84d0=this['createTransport'](_0x4aba3d),_0x4df854=!0x1;_0x23a151['priorWebsocketSuccess']=!0x1;const _0x5234ed=()=>{_0x4df854||(_0x4d84d0['send']([{'type':'ping','data':'probe'}]),_0x4d84d0['once']('packet',_0x128c71=>{if(!_0x4df854){if('pong'===_0x128c71['type']&&'probe'===_0x128c71['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x4d84d0),!_0x4d84d0)return;_0x23a151['priorWebsocketSuccess']='websocket'===_0x4d84d0['name'],this['transport']['pause'](()=>{_0x4df854||'closed'!==this['readyState']&&(_0x3bf800(),this['setTransport'](_0x4d84d0),_0x4d84d0['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x4d84d0),_0x4d84d0=null,this['upgrading']=!0x1,this['flush']());});}else{const _0x4e008d=new Error('probe\x20error');_0x4e008d['transport']=_0x4d84d0['name'],this['emitReserved']('upgradeError',_0x4e008d);}}}));};function _0x223c28(){_0x4df854||(_0x4df854=!0x0,_0x3bf800(),_0x4d84d0['close'](),_0x4d84d0=null);}const _0x420397=_0x1f6993=>{const _0x322dd3=new Error('probe\x20error:\x20'+_0x1f6993);_0x322dd3['transport']=_0x4d84d0['name'],_0x223c28(),this['emitReserved']('upgradeError',_0x322dd3);};function _0x5d102b(){_0x420397('transport\x20closed');}function _0x341499(){_0x420397('socket\x20closed');}function _0x2e90f7(_0x46c2e0){_0x4d84d0&&_0x46c2e0['name']!==_0x4d84d0['name']&&_0x223c28();}const _0x3bf800=()=>{_0x4d84d0['removeListener']('open',_0x5234ed),_0x4d84d0['removeListener']('error',_0x420397),_0x4d84d0['removeListener']('close',_0x5d102b),this['off']('close',_0x341499),this['off']('upgrading',_0x2e90f7);};_0x4d84d0['once']('open',_0x5234ed),_0x4d84d0['once']('error',_0x420397),_0x4d84d0['once']('close',_0x5d102b),this['once']('close',_0x341499),this['once']('upgrading',_0x2e90f7),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x4aba3d?this['setTimeoutFn'](()=>{_0x4df854||_0x4d84d0['open']();},0xc8):_0x4d84d0['open']();}['onOpen'](){if(this['readyState']='open',_0x23a151['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0x53ac2a=0x0;const _0x58c02a=this['upgrades']['length'];for(;_0x53ac2a<_0x58c02a;_0x53ac2a++)this['probe'](this['upgrades'][_0x53ac2a]);}}['onPacket'](_0x453cbb){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x453cbb),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0x453cbb['type']){case'open':this['onHandshake'](JSON['parse'](_0x453cbb['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0xfbdfaf=new Error('server\x20error');_0xfbdfaf['code']=_0x453cbb['data'],this['onError'](_0xfbdfaf);break;case'message':this['emitReserved']('data',_0x453cbb['data']),this['emitReserved']('message',_0x453cbb['data']);}}['onHandshake'](_0x46ef56){this['emitReserved']('handshake',_0x46ef56),this['id']=_0x46ef56['sid'],this['transport']['query']['sid']=_0x46ef56['sid'],this['upgrades']=this['filterUpgrades'](_0x46ef56['upgrades']),this['pingInterval']=_0x46ef56['pingInterval'],this['pingTimeout']=_0x46ef56['pingTimeout'],this['maxPayload']=_0x46ef56['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 _0x3fdfdc=this['getWritablePackets']();this['transport']['send'](_0x3fdfdc),this['prevBufferLen']=_0x3fdfdc['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0x578c65=0x1;for(let _0x5946f2=0x0;_0x5946f2<this['writeBuffer']['length'];_0x5946f2++){const _0x372851=this['writeBuffer'][_0x5946f2]['data'];if(_0x372851&&(_0x578c65+=byteLength(_0x372851)),_0x5946f2>0x0&&_0x578c65>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0x5946f2);_0x578c65+=0x2;}return this['writeBuffer'];}['write'](_0xf803ef,_0x543573,_0x2ae20e){return this['sendPacket']('message',_0xf803ef,_0x543573,_0x2ae20e),this;}['send'](_0x50b80f,_0x2510a5,_0x4bf6e9){return this['sendPacket']('message',_0x50b80f,_0x2510a5,_0x4bf6e9),this;}['sendPacket'](_0x558a4d,_0x230209,_0x9336e2,_0xf45ae0){if('function'==typeof _0x230209&&(_0xf45ae0=_0x230209,_0x230209=void 0x0),'function'==typeof _0x9336e2&&(_0xf45ae0=_0x9336e2,_0x9336e2=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x9336e2=_0x9336e2||{})['compress']=!0x1!==_0x9336e2['compress'];const _0x1e8ab1={'type':_0x558a4d,'data':_0x230209,'options':_0x9336e2};this['emitReserved']('packetCreate',_0x1e8ab1),this['writeBuffer']['push'](_0x1e8ab1),_0xf45ae0&&this['once']('flush',_0xf45ae0),this['flush']();}['close'](){const _0x1324c3=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0x40bdff=()=>{this['off']('upgrade',_0x40bdff),this['off']('upgradeError',_0x40bdff),_0x1324c3();},_0x401749=()=>{this['once']('upgrade',_0x40bdff),this['once']('upgradeError',_0x40bdff);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x401749():_0x1324c3();}):this['upgrading']?_0x401749():_0x1324c3()),this;}['onError'](_0x2d3fe4){_0x23a151['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0x2d3fe4),this['onClose']('transport\x20error',_0x2d3fe4);}['onClose'](_0xc232b5,_0x3f11aa){'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',_0xc232b5,_0x3f11aa),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0x2c2599){const _0xdca4d4=[];let _0x380c26=0x0;const _0x5621d1=_0x2c2599['length'];for(;_0x380c26<_0x5621d1;_0x380c26++)~this['transports']['indexOf'](_0x2c2599[_0x380c26])&&_0xdca4d4['push'](_0x2c2599[_0x380c26]);return _0xdca4d4;}};function _0x1e9524(_0x582669,_0x5c0133='',_0x3342b9){let _0x18c532=_0x582669;_0x3342b9=_0x3342b9||'undefined'!=typeof location&&location,null==_0x582669&&(_0x582669=_0x3342b9['protocol']+'//'+_0x3342b9['host']),'string'==typeof _0x582669&&('/'===_0x582669['charAt'](0x0)&&(_0x582669='/'===_0x582669['charAt'](0x1)?_0x3342b9['protocol']+_0x582669:_0x3342b9['host']+_0x582669),/^(https?|wss?):\/\//['test'](_0x582669)||(_0x582669=void 0x0!==_0x3342b9?_0x3342b9['protocol']+'//'+_0x582669:'https://'+_0x582669),_0x18c532=_0x809640(_0x582669)),_0x18c532['port']||(/^(http|ws)$/['test'](_0x18c532['protocol'])?_0x18c532['port']='80':/^(http|ws)s$/['test'](_0x18c532['protocol'])&&(_0x18c532['port']='443')),_0x18c532['path']=_0x18c532['path']||'/';const _0x16f3a0=-0x1!==_0x18c532['host']['indexOf'](':')?'['+_0x18c532['host']+']':_0x18c532['host'];return _0x18c532['id']=_0x18c532['protocol']+'://'+_0x16f3a0+':'+_0x18c532['port']+_0x5c0133,_0x18c532['href']=_0x18c532['protocol']+'://'+_0x16f3a0+(_0x3342b9&&_0x3342b9['port']===_0x18c532['port']?'':':'+_0x18c532['port']),_0x18c532;}Socket$1['protocol']=protocol;const withNativeArrayBuffer='function'==typeof ArrayBuffer,_0x1f6ae2=_0x3fc464=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x3fc464):_0x3fc464['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 _0x33a4cd(_0x21e42b){return withNativeArrayBuffer&&(_0x21e42b instanceof ArrayBuffer||_0x1f6ae2(_0x21e42b))||withNativeBlob&&_0x21e42b instanceof Blob||withNativeFile&&_0x21e42b instanceof File;}function _0x183203(_0x105f40,_0x1cd6ae){if(!_0x105f40||'object'!=typeof _0x105f40)return!0x1;if(Array['isArray'](_0x105f40)){for(let _0x5149d5=0x0,_0x247d42=_0x105f40['length'];_0x5149d5<_0x247d42;_0x5149d5++)if(_0x183203(_0x105f40[_0x5149d5]))return!0x0;return!0x1;}if(_0x33a4cd(_0x105f40))return!0x0;if(_0x105f40['toJSON']&&'function'==typeof _0x105f40['toJSON']&&0x1===arguments['length'])return _0x183203(_0x105f40['toJSON'](),!0x0);for(const _0x1375f2 in _0x105f40)if(Object['prototype']['hasOwnProperty']['call'](_0x105f40,_0x1375f2)&&_0x183203(_0x105f40[_0x1375f2]))return!0x0;return!0x1;}function deconstructPacket(_0x281947){const _0x1d658c=[],_0x1fc171=_0x281947['data'],_0x174f5c=_0x281947;return _0x174f5c['data']=_deconstructPacket(_0x1fc171,_0x1d658c),_0x174f5c['attachments']=_0x1d658c['length'],{'packet':_0x174f5c,'buffers':_0x1d658c};}function _deconstructPacket(_0x46fa11,_0x1164ea){if(!_0x46fa11)return _0x46fa11;if(_0x33a4cd(_0x46fa11)){const _0x29b111={'_placeholder':!0x0,'num':_0x1164ea['length']};return _0x1164ea['push'](_0x46fa11),_0x29b111;}if(Array['isArray'](_0x46fa11)){const _0x139ec1=new Array(_0x46fa11['length']);for(let _0x2d63b4=0x0;_0x2d63b4<_0x46fa11['length'];_0x2d63b4++)_0x139ec1[_0x2d63b4]=_deconstructPacket(_0x46fa11[_0x2d63b4],_0x1164ea);return _0x139ec1;}if('object'==typeof _0x46fa11&&!(_0x46fa11 instanceof Date)){const _0x6d38b0={};for(const _0x5a9571 in _0x46fa11)Object['prototype']['hasOwnProperty']['call'](_0x46fa11,_0x5a9571)&&(_0x6d38b0[_0x5a9571]=_deconstructPacket(_0x46fa11[_0x5a9571],_0x1164ea));return _0x6d38b0;}return _0x46fa11;}function reconstructPacket(_0x910292,_0x497f53){return _0x910292['data']=_reconstructPacket(_0x910292['data'],_0x497f53),delete _0x910292['attachments'],_0x910292;}function _reconstructPacket(_0x11642c,_0x1316b6){if(!_0x11642c)return _0x11642c;if(_0x11642c&&!0x0===_0x11642c['_placeholder']){if('number'==typeof _0x11642c['num']&&_0x11642c['num']>=0x0&&_0x11642c['num']<_0x1316b6['length'])return _0x1316b6[_0x11642c['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0x11642c)){for(let _0x3f486d=0x0;_0x3f486d<_0x11642c['length'];_0x3f486d++)_0x11642c[_0x3f486d]=_reconstructPacket(_0x11642c[_0x3f486d],_0x1316b6);}else{if('object'==typeof _0x11642c){for(const _0x2f7270 in _0x11642c)Object['prototype']['hasOwnProperty']['call'](_0x11642c,_0x2f7270)&&(_0x11642c[_0x2f7270]=_reconstructPacket(_0x11642c[_0x2f7270],_0x1316b6));}}return _0x11642c;}const _0x3889e2=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'];var PacketType;!function(_0x4550a8){_0x4550a8[_0x4550a8['CONNECT']=0x0]='CONNECT',_0x4550a8[_0x4550a8['DISCONNECT']=0x1]='DISCONNECT',_0x4550a8[_0x4550a8['EVENT']=0x2]='EVENT',_0x4550a8[_0x4550a8['ACK']=0x3]='ACK',_0x4550a8[_0x4550a8['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x4550a8[_0x4550a8['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x4550a8[_0x4550a8['BINARY_ACK']=0x6]='BINARY_ACK';}(PacketType||(PacketType={}));let _0xd40db2=class{constructor(_0x3a71ef){this['replacer']=_0x3a71ef;}['encode'](_0x566902){return _0x566902['type']!==PacketType['EVENT']&&_0x566902['type']!==PacketType['ACK']||!_0x183203(_0x566902)?[this['encodeAsString'](_0x566902)]:this['encodeAsBinary']({'type':_0x566902['type']===PacketType['EVENT']?PacketType['BINARY_EVENT']:PacketType['BINARY_ACK'],'nsp':_0x566902['nsp'],'data':_0x566902['data'],'id':_0x566902['id']});}['encodeAsString'](_0x3f520a){let _0x2d6fb9=''+_0x3f520a['type'];return _0x3f520a['type']!==PacketType['BINARY_EVENT']&&_0x3f520a['type']!==PacketType['BINARY_ACK']||(_0x2d6fb9+=_0x3f520a['attachments']+'-'),_0x3f520a['nsp']&&'/'!==_0x3f520a['nsp']&&(_0x2d6fb9+=_0x3f520a['nsp']+','),null!=_0x3f520a['id']&&(_0x2d6fb9+=_0x3f520a['id']),null!=_0x3f520a['data']&&(_0x2d6fb9+=JSON['stringify'](_0x3f520a['data'],this['replacer'])),_0x2d6fb9;}['encodeAsBinary'](_0x326846){const _0x4c56b6=deconstructPacket(_0x326846),_0x132fec=this['encodeAsString'](_0x4c56b6['packet']),_0x5ee0dc=_0x4c56b6['buffers'];return _0x5ee0dc['unshift'](_0x132fec),_0x5ee0dc;}},_0x46079b=class _0x7d692e extends Emitter{constructor(_0x2771fd){super(),this['opts']=Object['assign']({'reviver':void 0x0,'maxAttachments':0xa},'function'==typeof _0x2771fd?{'reviver':_0x2771fd}:_0x2771fd);}['add'](_0x5c8c23){let _0x2a5175;if('string'==typeof _0x5c8c23){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x2a5175=this['decodeString'](_0x5c8c23);const _0x5f03c4=_0x2a5175['type']===PacketType['BINARY_EVENT'];_0x5f03c4||_0x2a5175['type']===PacketType['BINARY_ACK']?(_0x2a5175['type']=_0x5f03c4?PacketType['EVENT']:PacketType['ACK'],this['reconstructor']=new BinaryReconstructor(_0x2a5175),0x0===_0x2a5175['attachments']&&super['emitReserved']('decoded',_0x2a5175)):super['emitReserved']('decoded',_0x2a5175);}else{if(!_0x33a4cd(_0x5c8c23)&&!_0x5c8c23['base64'])throw new Error('Unknown\x20type:\x20'+_0x5c8c23);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x2a5175=this['reconstructor']['takeBinaryData'](_0x5c8c23),_0x2a5175&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x2a5175));}}['decodeString'](_0x419a49){let _0x281e20=0x0;const _0x228eb7={'type':Number(_0x419a49['charAt'](0x0))};if(void 0x0===PacketType[_0x228eb7['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x228eb7['type']);if(_0x228eb7['type']===PacketType['BINARY_EVENT']||_0x228eb7['type']===PacketType['BINARY_ACK']){const _0x243c17=_0x281e20+0x1;for(;'-'!==_0x419a49['charAt'](++_0x281e20)&&_0x281e20!=_0x419a49['length'];);const _0xd4321=_0x419a49['substring'](_0x243c17,_0x281e20);if(_0xd4321!=Number(_0xd4321)||'-'!==_0x419a49['charAt'](_0x281e20))throw new Error('Illegal\x20attachments');const _0x216ccf=Number(_0xd4321);if(!isInteger(_0x216ccf)||_0x216ccf<0x0)throw new Error('Illegal\x20attachments');if(_0x216ccf>this['opts']['maxAttachments'])throw new Error('too\x20many\x20attachments');_0x228eb7['attachments']=_0x216ccf;}if('/'===_0x419a49['charAt'](_0x281e20+0x1)){const _0x1b8097=_0x281e20+0x1;for(;++_0x281e20;){if(','===_0x419a49['charAt'](_0x281e20))break;if(_0x281e20===_0x419a49['length'])break;}_0x228eb7['nsp']=_0x419a49['substring'](_0x1b8097,_0x281e20);}else _0x228eb7['nsp']='/';const _0x44390f=_0x419a49['charAt'](_0x281e20+0x1);if(''!==_0x44390f&&Number(_0x44390f)==_0x44390f){const _0x20f6a9=_0x281e20+0x1;for(;++_0x281e20;){const _0x465aa7=_0x419a49['charAt'](_0x281e20);if(null==_0x465aa7||Number(_0x465aa7)!=_0x465aa7){--_0x281e20;break;}if(_0x281e20===_0x419a49['length'])break;}_0x228eb7['id']=Number(_0x419a49['substring'](_0x20f6a9,_0x281e20+0x1));}if(_0x419a49['charAt'](++_0x281e20)){const _0x5f45b1=this['tryParse'](_0x419a49['substr'](_0x281e20));if(!_0x7d692e['isPayloadValid'](_0x228eb7['type'],_0x5f45b1))throw new Error('invalid\x20payload');_0x228eb7['data']=_0x5f45b1;}return _0x228eb7;}['tryParse'](_0xaf22bd){try{return JSON['parse'](_0xaf22bd,this['opts']['reviver']);}catch(_0x5629fd){return!0x1;}}static['isPayloadValid'](_0x1a6ca5,_0x26d2c7){switch(_0x1a6ca5){case PacketType['CONNECT']:return isObject$2(_0x26d2c7);case PacketType['DISCONNECT']:return void 0x0===_0x26d2c7;case PacketType['CONNECT_ERROR']:return'string'==typeof _0x26d2c7||isObject$2(_0x26d2c7);case PacketType['EVENT']:case PacketType['BINARY_EVENT']:return Array['isArray'](_0x26d2c7)&&('number'==typeof _0x26d2c7[0x0]||'string'==typeof _0x26d2c7[0x0]&&-0x1===_0x3889e2['indexOf'](_0x26d2c7[0x0]));case PacketType['ACK']:case PacketType['BINARY_ACK']:return Array['isArray'](_0x26d2c7);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}};class BinaryReconstructor{constructor(_0x5e06ec){this['packet']=_0x5e06ec,this['buffers']=[],this['reconPack']=_0x5e06ec;}['takeBinaryData'](_0x327d10){if(this['buffers']['push'](_0x327d10),this['buffers']['length']===this['reconPack']['attachments']){const _0x1b6052=reconstructPacket(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x1b6052;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}}const isInteger=Number['isInteger']||function(_0x1e78bb){return'number'==typeof _0x1e78bb&&isFinite(_0x1e78bb)&&Math['floor'](_0x1e78bb)===_0x1e78bb;};function isObject$2(_0x546870){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x546870);}var _0x4ab3b7=Object['freeze']({'__proto__':null,'Decoder':_0x46079b,'Encoder':_0xd40db2,get 'PacketType'(){return PacketType;}});function _0x112c8b(_0x200a07,_0x1ed8db,_0x5dd114){return _0x200a07['on'](_0x1ed8db,_0x5dd114),function(){_0x200a07['off'](_0x1ed8db,_0x5dd114);};}const _0x17682a=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});class Socket extends Emitter{constructor(_0x1151ec,_0x177522,_0xac6b62){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']=_0x1151ec,this['nsp']=_0x177522,_0xac6b62&&_0xac6b62['auth']&&(this['auth']=_0xac6b62['auth']),this['_opts']=Object['assign']({},_0xac6b62),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x27a22c=this['io'];this['subs']=[_0x112c8b(_0x27a22c,'open',this['onopen']['bind'](this)),_0x112c8b(_0x27a22c,'packet',this['onpacket']['bind'](this)),_0x112c8b(_0x27a22c,'error',this['onerror']['bind'](this)),_0x112c8b(_0x27a22c,'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'](..._0x2aba86){return _0x2aba86['unshift']('message'),this['emit']['apply'](this,_0x2aba86),this;}['emit'](_0x487a8d,..._0x517ed3){if(_0x17682a['hasOwnProperty'](_0x487a8d))throw new Error('\x22'+_0x487a8d['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0x517ed3['unshift'](_0x487a8d),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0x517ed3),this;const _0x346363={'type':PacketType['EVENT'],'data':_0x517ed3,'options':{}};if(_0x346363['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0x517ed3[_0x517ed3['length']-0x1]){const _0xd4f18d=this['ids']++,_0x4270c7=_0x517ed3['pop']();this['_registerAckCallback'](_0xd4f18d,_0x4270c7),_0x346363['id']=_0xd4f18d;}const _0x8592c9=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return this['flags']['volatile']&&(!_0x8592c9||!this['connected'])||(this['connected']?(this['notifyOutgoingListeners'](_0x346363),this['packet'](_0x346363)):this['sendBuffer']['push'](_0x346363)),this['flags']={},this;}['_registerAckCallback'](_0xc7161,_0x1b6f7c){var _0x5c4405;const _0x2eb1be=null!==(_0x5c4405=this['flags']['timeout'])&&void 0x0!==_0x5c4405?_0x5c4405:this['_opts']['ackTimeout'];if(void 0x0===_0x2eb1be)return void(this['acks'][_0xc7161]=_0x1b6f7c);const _0x42bc64=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0xc7161];for(let _0x38d1de=0x0;_0x38d1de<this['sendBuffer']['length'];_0x38d1de++)this['sendBuffer'][_0x38d1de]['id']===_0xc7161&&this['sendBuffer']['splice'](_0x38d1de,0x1);_0x1b6f7c['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x2eb1be);this['acks'][_0xc7161]=(..._0x20d22d)=>{this['io']['clearTimeoutFn'](_0x42bc64),_0x1b6f7c['apply'](this,[null,..._0x20d22d]);};}['emitWithAck'](_0x41196c,..._0x37b385){const _0x28ea4e=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x21154b,_0x4470d8)=>{_0x37b385['push']((_0x3ebc38,_0x404cc0)=>_0x28ea4e?_0x3ebc38?_0x4470d8(_0x3ebc38):_0x21154b(_0x404cc0):_0x21154b(_0x3ebc38)),this['emit'](_0x41196c,..._0x37b385);});}['_addToQueue'](_0x35e735){let _0xa0627d;'function'==typeof _0x35e735[_0x35e735['length']-0x1]&&(_0xa0627d=_0x35e735['pop']());const _0x24d67f={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0x35e735,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0x35e735['push']((_0x3d1f42,..._0x490913)=>{if(_0x24d67f!==this['_queue'][0x0])return;return null!==_0x3d1f42?_0x24d67f['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0xa0627d&&_0xa0627d(_0x3d1f42)):(this['_queue']['shift'](),_0xa0627d&&_0xa0627d(null,..._0x490913)),_0x24d67f['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0x24d67f),this['_drainQueue']();}['_drainQueue'](_0x11721c=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x3c6fe3=this['_queue'][0x0];_0x3c6fe3['pending']&&!_0x11721c||(_0x3c6fe3['pending']=!0x0,_0x3c6fe3['tryCount']++,this['flags']=_0x3c6fe3['flags'],this['emit']['apply'](this,_0x3c6fe3['args']));}['packet'](_0x12ddf9){_0x12ddf9['nsp']=this['nsp'],this['io']['_packet'](_0x12ddf9);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0x14cff3=>{this['_sendConnectPacket'](_0x14cff3);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0x5c9c42){this['packet']({'type':PacketType['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0x5c9c42):_0x5c9c42});}['onerror'](_0x35baef){this['connected']||this['emitReserved']('connect_error',_0x35baef);}['onclose'](_0x5d4980,_0x6c5233){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x5d4980,_0x6c5233);}['onpacket'](_0x4fbc8f){if(_0x4fbc8f['nsp']===this['nsp'])switch(_0x4fbc8f['type']){case PacketType['CONNECT']:_0x4fbc8f['data']&&_0x4fbc8f['data']['sid']?this['onconnect'](_0x4fbc8f['data']['sid'],_0x4fbc8f['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'](_0x4fbc8f);break;case PacketType['ACK']:case PacketType['BINARY_ACK']:this['onack'](_0x4fbc8f);break;case PacketType['DISCONNECT']:this['ondisconnect']();break;case PacketType['CONNECT_ERROR']:this['destroy']();const _0x42f741=new Error(_0x4fbc8f['data']['message']);_0x42f741['data']=_0x4fbc8f['data']['data'],this['emitReserved']('connect_error',_0x42f741);}}['onevent'](_0x12d9e6){const _0x3dc947=_0x12d9e6['data']||[];null!=_0x12d9e6['id']&&_0x3dc947['push'](this['ack'](_0x12d9e6['id'])),this['connected']?this['emitEvent'](_0x3dc947):this['receiveBuffer']['push'](Object['freeze'](_0x3dc947));}['emitEvent'](_0x3bf6ac){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x130382=this['_anyListeners']['slice']();for(const _0xf691e8 of _0x130382)_0xf691e8['apply'](this,_0x3bf6ac);}super['emit']['apply'](this,_0x3bf6ac),this['_pid']&&_0x3bf6ac['length']&&'string'==typeof _0x3bf6ac[_0x3bf6ac['length']-0x1]&&(this['_lastOffset']=_0x3bf6ac[_0x3bf6ac['length']-0x1]);}['ack'](_0x41d24c){const _0x262d46=this;let _0x272131=!0x1;return function(..._0x26a9c3){_0x272131||(_0x272131=!0x0,_0x262d46['packet']({'type':PacketType['ACK'],'id':_0x41d24c,'data':_0x26a9c3}));};}['onack'](_0x4bc518){const _0x236bd7=this['acks'][_0x4bc518['id']];'function'==typeof _0x236bd7&&(_0x236bd7['apply'](this,_0x4bc518['data']),delete this['acks'][_0x4bc518['id']]);}['onconnect'](_0x24fbe4,_0x3d7050){this['id']=_0x24fbe4,this['recovered']=_0x3d7050&&this['_pid']===_0x3d7050,this['_pid']=_0x3d7050,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x3a184d=>this['emitEvent'](_0x3a184d)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0xa354d8=>{this['notifyOutgoingListeners'](_0xa354d8),this['packet'](_0xa354d8);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0x99d98a=>_0x99d98a()),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'](_0xff1d30){return this['flags']['compress']=_0xff1d30,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x152673){return this['flags']['timeout']=_0x152673,this;}['onAny'](_0x1c694e){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x1c694e),this;}['prependAny'](_0x41a01e){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0x41a01e),this;}['offAny'](_0x196d20){if(!this['_anyListeners'])return this;if(_0x196d20){const _0x55bf4b=this['_anyListeners'];for(let _0x5e88fd=0x0;_0x5e88fd<_0x55bf4b['length'];_0x5e88fd++)if(_0x196d20===_0x55bf4b[_0x5e88fd])return _0x55bf4b['splice'](_0x5e88fd,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0xabe02b){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0xabe02b),this;}['prependAnyOutgoing'](_0x5311e5){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0x5311e5),this;}['offAnyOutgoing'](_0x3df625){if(!this['_anyOutgoingListeners'])return this;if(_0x3df625){const _0x116180=this['_anyOutgoingListeners'];for(let _0x307874=0x0;_0x307874<_0x116180['length'];_0x307874++)if(_0x3df625===_0x116180[_0x307874])return _0x116180['splice'](_0x307874,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0x5c495b){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x277afb=this['_anyOutgoingListeners']['slice']();for(const _0x186789 of _0x277afb)_0x186789['apply'](this,_0x5c495b['data']);}}}function _0x1cd373(_0x46a08b){_0x46a08b=_0x46a08b||{},this['ms']=_0x46a08b['min']||0x64,this['max']=_0x46a08b['max']||0x2710,this['factor']=_0x46a08b['factor']||0x2,this['jitter']=_0x46a08b['jitter']>0x0&&_0x46a08b['jitter']<=0x1?_0x46a08b['jitter']:0x0,this['attempts']=0x0;}_0x1cd373['prototype']['duration']=function(){var _0x1317d0=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0x3c6da4=Math['random'](),_0x38aee9=Math['floor'](_0x3c6da4*this['jitter']*_0x1317d0);_0x1317d0=0x1&Math['floor'](0xa*_0x3c6da4)?_0x1317d0+_0x38aee9:_0x1317d0-_0x38aee9;}return 0x0|Math['min'](_0x1317d0,this['max']);},_0x1cd373['prototype']['reset']=function(){this['attempts']=0x0;},_0x1cd373['prototype']['setMin']=function(_0x3e136f){this['ms']=_0x3e136f;},_0x1cd373['prototype']['setMax']=function(_0x3828c4){this['max']=_0x3828c4;},_0x1cd373['prototype']['setJitter']=function(_0x462354){this['jitter']=_0x462354;};class _0x304c3e extends Emitter{constructor(_0x16e6a8,_0x33aa78){var _0xe00e97;super(),this['nsps']={},this['subs']=[],_0x16e6a8&&'object'==typeof _0x16e6a8&&(_0x33aa78=_0x16e6a8,_0x16e6a8=void 0x0),(_0x33aa78=_0x33aa78||{})['path']=_0x33aa78['path']||'/socket.io',this['opts']=_0x33aa78,installTimerFunctions(this,_0x33aa78),this['reconnection'](!0x1!==_0x33aa78['reconnection']),this['reconnectionAttempts'](_0x33aa78['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x33aa78['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x33aa78['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0xe00e97=_0x33aa78['randomizationFactor'])&&void 0x0!==_0xe00e97?_0xe00e97:0.5),this['backoff']=new _0x1cd373({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x33aa78['timeout']?0x4e20:_0x33aa78['timeout']),this['_readyState']='closed',this['uri']=_0x16e6a8;const _0x234e2c=_0x33aa78['parser']||_0x4ab3b7;this['encoder']=new _0x234e2c['Encoder'](),this['decoder']=new _0x234e2c['Decoder'](),this['_autoConnect']=!0x1!==_0x33aa78['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x54827b){return arguments['length']?(this['_reconnection']=!!_0x54827b,this):this['_reconnection'];}['reconnectionAttempts'](_0x5f498a){return void 0x0===_0x5f498a?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x5f498a,this);}['reconnectionDelay'](_0xd359a3){var _0x418cc7;return void 0x0===_0xd359a3?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0xd359a3,null===(_0x418cc7=this['backoff'])||void 0x0===_0x418cc7||_0x418cc7['setMin'](_0xd359a3),this);}['randomizationFactor'](_0x2773ff){var _0x1912c2;return void 0x0===_0x2773ff?this['_randomizationFactor']:(this['_randomizationFactor']=_0x2773ff,null===(_0x1912c2=this['backoff'])||void 0x0===_0x1912c2||_0x1912c2['setJitter'](_0x2773ff),this);}['reconnectionDelayMax'](_0x1c6dc4){var _0xa16a1c;return void 0x0===_0x1c6dc4?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x1c6dc4,null===(_0xa16a1c=this['backoff'])||void 0x0===_0xa16a1c||_0xa16a1c['setMax'](_0x1c6dc4),this);}['timeout'](_0x470a9b){return arguments['length']?(this['_timeout']=_0x470a9b,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x58964e){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new Socket$1(this['uri'],this['opts']);const _0x4d0a15=this['engine'],_0x6b1c33=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x33e33c=_0x112c8b(_0x4d0a15,'open',function(){_0x6b1c33['onopen'](),_0x58964e&&_0x58964e();}),_0x10874e=_0x3a8bc5=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0x3a8bc5),_0x58964e?_0x58964e(_0x3a8bc5):this['maybeReconnectOnOpen']();},_0x116306=_0x112c8b(_0x4d0a15,'error',_0x10874e);if(!0x1!==this['_timeout']){const _0x5195ba=this['_timeout'],_0x2e85f2=this['setTimeoutFn'](()=>{_0x33e33c(),_0x10874e(new Error('timeout')),_0x4d0a15['close']();},_0x5195ba);this['opts']['autoUnref']&&_0x2e85f2['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x2e85f2);});}return this['subs']['push'](_0x33e33c),this['subs']['push'](_0x116306),this;}['connect'](_0xbe82cb){return this['open'](_0xbe82cb);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x2c4439=this['engine'];this['subs']['push'](_0x112c8b(_0x2c4439,'ping',this['onping']['bind'](this)),_0x112c8b(_0x2c4439,'data',this['ondata']['bind'](this)),_0x112c8b(_0x2c4439,'error',this['onerror']['bind'](this)),_0x112c8b(_0x2c4439,'close',this['onclose']['bind'](this)),_0x112c8b(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0x546d35){try{this['decoder']['add'](_0x546d35);}catch(_0x1061fa){this['onclose']('parse\x20error',_0x1061fa);}}['ondecoded'](_0x31fd81){nextTick(()=>{this['emitReserved']('packet',_0x31fd81);},this['setTimeoutFn']);}['onerror'](_0x4b75c7){this['emitReserved']('error',_0x4b75c7);}['socket'](_0xdf5d0a,_0x2e7952){let _0x421a4b=this['nsps'][_0xdf5d0a];return _0x421a4b?this['_autoConnect']&&!_0x421a4b['active']&&_0x421a4b['connect']():(_0x421a4b=new Socket(this,_0xdf5d0a,_0x2e7952),this['nsps'][_0xdf5d0a]=_0x421a4b),_0x421a4b;}['_destroy'](_0x2e4113){const _0x5d92ba=Object['keys'](this['nsps']);for(const _0xb9c63d of _0x5d92ba){if(this['nsps'][_0xb9c63d]['active'])return;}this['_close']();}['_packet'](_0x1a396a){const _0x55b788=this['encoder']['encode'](_0x1a396a);for(let _0x3ee292=0x0;_0x3ee292<_0x55b788['length'];_0x3ee292++)this['engine']['write'](_0x55b788[_0x3ee292],_0x1a396a['options']);}['cleanup'](){this['subs']['forEach'](_0x3dabc6=>_0x3dabc6()),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'](_0x226206,_0x2ec364){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x226206,_0x2ec364),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x3dc4a6=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0xf3545c=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x13982e=this['setTimeoutFn'](()=>{_0x3dc4a6['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x3dc4a6['backoff']['attempts']),_0x3dc4a6['skipReconnect']||_0x3dc4a6['open'](_0x17717b=>{_0x17717b?(_0x3dc4a6['_reconnecting']=!0x1,_0x3dc4a6['reconnect'](),this['emitReserved']('reconnect_error',_0x17717b)):_0x3dc4a6['onreconnect']();}));},_0xf3545c);this['opts']['autoUnref']&&_0x13982e['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x13982e);});}}['onreconnect'](){const _0x4ae6a3=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x4ae6a3);}}const _0x440422={};function _0x15e3cd(_0x5db982,_0x455677){'object'==typeof _0x5db982&&(_0x455677=_0x5db982,_0x5db982=void 0x0);const _0x5dda1c=_0x1e9524(_0x5db982,(_0x455677=_0x455677||{})['path']||'/socket.io'),_0x28abc2=_0x5dda1c['source'],_0x4ec268=_0x5dda1c['id'],_0x1ffced=_0x5dda1c['path'],_0x406796=_0x440422[_0x4ec268]&&_0x1ffced in _0x440422[_0x4ec268]['nsps'];let _0x2ec9f9;return _0x455677['forceNew']||_0x455677['force\x20new\x20connection']||!0x1===_0x455677['multiplex']||_0x406796?_0x2ec9f9=new _0x304c3e(_0x28abc2,_0x455677):(_0x440422[_0x4ec268]||(_0x440422[_0x4ec268]=new _0x304c3e(_0x28abc2,_0x455677)),_0x2ec9f9=_0x440422[_0x4ec268]),_0x5dda1c['query']&&!_0x455677['query']&&(_0x455677['query']=_0x5dda1c['queryKey']),_0x2ec9f9['socket'](_0x5dda1c['path'],_0x455677);}var requiresPort,hasRequiredRequiresPort;function requireRequiresPort(){return hasRequiredRequiresPort||(hasRequiredRequiresPort=0x1,requiresPort=function(_0x434161,_0x24de43){if(_0x24de43=_0x24de43['split'](':')[0x0],!(_0x434161=+_0x434161))return!0x1;switch(_0x24de43){case'http':case'ws':return 0x50!==_0x434161;case'https':case'wss':return 0x1bb!==_0x434161;case'ftp':return 0x15!==_0x434161;case'gopher':return 0x46!==_0x434161;case'file':return!0x1;}return 0x0!==_0x434161;}),requiresPort;}Object['assign'](_0x15e3cd,{'Manager':_0x304c3e,'Socket':Socket,'io':_0x15e3cd,'connect':_0x15e3cd});var querystringify={},hasRequiredQuerystringify,_0x15309e,_0x1d38c2;function requireQuerystringify(){if(hasRequiredQuerystringify)return querystringify;hasRequiredQuerystringify=0x1;var _0x3a4863=Object['prototype']['hasOwnProperty'];function _0x55825b(_0x37da72){try{return decodeURIComponent(_0x37da72['replace'](/\+/g,'\x20'));}catch(_0x156fa4){return null;}}function _0x4e2404(_0x2655cd){try{return encodeURIComponent(_0x2655cd);}catch(_0x528e2d){return null;}}return querystringify['stringify']=function(_0x462b13,_0x1217b7){_0x1217b7=_0x1217b7||'';var _0x151365,_0x2feb52,_0x1bc171=[];for(_0x2feb52 in('string'!=typeof _0x1217b7&&(_0x1217b7='?'),_0x462b13))if(_0x3a4863['call'](_0x462b13,_0x2feb52)){if((_0x151365=_0x462b13[_0x2feb52])||null!=_0x151365&&!isNaN(_0x151365)||(_0x151365=''),_0x2feb52=_0x4e2404(_0x2feb52),_0x151365=_0x4e2404(_0x151365),null===_0x2feb52||null===_0x151365)continue;_0x1bc171['push'](_0x2feb52+'='+_0x151365);}return _0x1bc171['length']?_0x1217b7+_0x1bc171['join']('&'):'';},querystringify['parse']=function(_0xf7ab3a){for(var _0x53f25c,_0x1c50d4=/([^=?#&]+)=?([^&]*)/g,_0x460f96={};_0x53f25c=_0x1c50d4['exec'](_0xf7ab3a);){var _0x5d9550=_0x55825b(_0x53f25c[0x1]),_0x2d98e5=_0x55825b(_0x53f25c[0x2]);null===_0x5d9550||null===_0x2d98e5||_0x5d9550 in _0x460f96||(_0x460f96[_0x5d9550]=_0x2d98e5);}return _0x460f96;},querystringify;}function requireUrlParse(){if(_0x1d38c2)return _0x15309e;_0x1d38c2=0x1;var _0x1d40e5=requireRequiresPort(),_0x58ddc7=requireQuerystringify(),_0xb06015=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x1885d1=/[\n\r\t]/g,_0x184a02=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0x24dc19=/:\d+$/,_0x591c49=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x47391c=/^[a-zA-Z]:/;function _0x579bb1(_0x19e5f9){return(_0x19e5f9||'')['toString']()['replace'](_0xb06015,'');}var _0x3fbb33=[['#','hash'],['?','query'],function(_0xc3008d,_0x40d293){return _0x25691c(_0x40d293['protocol'])?_0xc3008d['replace'](/\\/g,'/'):_0xc3008d;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x491644={'hash':0x1,'query':0x1};function _0x259505(_0x57168a){var _0x550e22,_0x21f7c2=('undefined'!=typeof window?window:void 0x0!==_0x4c5dda?_0x4c5dda:'undefined'!=typeof self?self:{})['location']||{},_0x398366={},_0x56ba46=typeof(_0x57168a=_0x57168a||_0x21f7c2);if('blob:'===_0x57168a['protocol'])_0x398366=new _0x3eedf6(unescape(_0x57168a['pathname']),{});else{if('string'===_0x56ba46){for(_0x550e22 in(_0x398366=new _0x3eedf6(_0x57168a,{}),_0x491644))delete _0x398366[_0x550e22];}else{if('object'===_0x56ba46){for(_0x550e22 in _0x57168a)_0x550e22 in _0x491644||(_0x398366[_0x550e22]=_0x57168a[_0x550e22]);void 0x0===_0x398366['slashes']&&(_0x398366['slashes']=_0x184a02['test'](_0x57168a['href']));}}}return _0x398366;}function _0x25691c(_0xb3f0f8){return'file:'===_0xb3f0f8||'ftp:'===_0xb3f0f8||'http:'===_0xb3f0f8||'https:'===_0xb3f0f8||'ws:'===_0xb3f0f8||'wss:'===_0xb3f0f8;}function _0x8ddb46(_0x498f53,_0x2c6290){_0x498f53=(_0x498f53=_0x579bb1(_0x498f53))['replace'](_0x1885d1,''),_0x2c6290=_0x2c6290||{};var _0xefd145,_0x967394=_0x591c49['exec'](_0x498f53),_0x566271=_0x967394[0x1]?_0x967394[0x1]['toLowerCase']():'',_0x54c7c2=!!_0x967394[0x2],_0x4f41c0=!!_0x967394[0x3],_0x34f37f=0x0;return _0x54c7c2?_0x4f41c0?(_0xefd145=_0x967394[0x2]+_0x967394[0x3]+_0x967394[0x4],_0x34f37f=_0x967394[0x2]['length']+_0x967394[0x3]['length']):(_0xefd145=_0x967394[0x2]+_0x967394[0x4],_0x34f37f=_0x967394[0x2]['length']):_0x4f41c0?(_0xefd145=_0x967394[0x3]+_0x967394[0x4],_0x34f37f=_0x967394[0x3]['length']):_0xefd145=_0x967394[0x4],'file:'===_0x566271?_0x34f37f>=0x2&&(_0xefd145=_0xefd145['slice'](0x2)):_0x25691c(_0x566271)?_0xefd145=_0x967394[0x4]:_0x566271?_0x54c7c2&&(_0xefd145=_0xefd145['slice'](0x2)):_0x34f37f>=0x2&&_0x25691c(_0x2c6290['protocol'])&&(_0xefd145=_0x967394[0x4]),{'protocol':_0x566271,'slashes':_0x54c7c2||_0x25691c(_0x566271),'slashesCount':_0x34f37f,'rest':_0xefd145};}function _0x3eedf6(_0x4f79c6,_0x431ab0,_0x3acdf9){if(_0x4f79c6=(_0x4f79c6=_0x579bb1(_0x4f79c6))['replace'](_0x1885d1,''),!(this instanceof _0x3eedf6))return new _0x3eedf6(_0x4f79c6,_0x431ab0,_0x3acdf9);var _0x517443,_0x47985e,_0x1eb5ad,_0x4d416c,_0x2f8d79,_0x101690,_0x247c4c=_0x3fbb33['slice'](),_0x504e29=typeof _0x431ab0,_0x533746=this,_0x311b80=0x0;for('object'!==_0x504e29&&'string'!==_0x504e29&&(_0x3acdf9=_0x431ab0,_0x431ab0=null),_0x3acdf9&&'function'!=typeof _0x3acdf9&&(_0x3acdf9=_0x58ddc7['parse']),_0x517443=!(_0x47985e=_0x8ddb46(_0x4f79c6||'',_0x431ab0=_0x259505(_0x431ab0)))['protocol']&&!_0x47985e['slashes'],_0x533746['slashes']=_0x47985e['slashes']||_0x517443&&_0x431ab0['slashes'],_0x533746['protocol']=_0x47985e['protocol']||_0x431ab0['protocol']||'',_0x4f79c6=_0x47985e['rest'],('file:'===_0x47985e['protocol']&&(0x2!==_0x47985e['slashesCount']||_0x47391c['test'](_0x4f79c6))||!_0x47985e['slashes']&&(_0x47985e['protocol']||_0x47985e['slashesCount']<0x2||!_0x25691c(_0x533746['protocol'])))&&(_0x247c4c[0x3]=[/(.*)/,'pathname']);_0x311b80<_0x247c4c['length'];_0x311b80++)'function'!=typeof(_0x4d416c=_0x247c4c[_0x311b80])?(_0x1eb5ad=_0x4d416c[0x0],_0x101690=_0x4d416c[0x1],_0x1eb5ad!=_0x1eb5ad?_0x533746[_0x101690]=_0x4f79c6:'string'==typeof _0x1eb5ad?~(_0x2f8d79='@'===_0x1eb5ad?_0x4f79c6['lastIndexOf'](_0x1eb5ad):_0x4f79c6['indexOf'](_0x1eb5ad))&&('number'==typeof _0x4d416c[0x2]?(_0x533746[_0x101690]=_0x4f79c6['slice'](0x0,_0x2f8d79),_0x4f79c6=_0x4f79c6['slice'](_0x2f8d79+_0x4d416c[0x2])):(_0x533746[_0x101690]=_0x4f79c6['slice'](_0x2f8d79),_0x4f79c6=_0x4f79c6['slice'](0x0,_0x2f8d79))):(_0x2f8d79=_0x1eb5ad['exec'](_0x4f79c6))&&(_0x533746[_0x101690]=_0x2f8d79[0x1],_0x4f79c6=_0x4f79c6['slice'](0x0,_0x2f8d79['index'])),_0x533746[_0x101690]=_0x533746[_0x101690]||_0x517443&&_0x4d416c[0x3]&&_0x431ab0[_0x101690]||'',_0x4d416c[0x4]&&(_0x533746[_0x101690]=_0x533746[_0x101690]['toLowerCase']())):_0x4f79c6=_0x4d416c(_0x4f79c6,_0x533746);_0x3acdf9&&(_0x533746['query']=_0x3acdf9(_0x533746['query'])),_0x517443&&_0x431ab0['slashes']&&'/'!==_0x533746['pathname']['charAt'](0x0)&&(''!==_0x533746['pathname']||''!==_0x431ab0['pathname'])&&(_0x533746['pathname']=function(_0x22e71b,_0x100401){if(''===_0x22e71b)return _0x100401;for(var _0x343070=(_0x100401||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x22e71b['split']('/')),_0x104904=_0x343070['length'],_0x5cac7e=_0x343070[_0x104904-0x1],_0x4e0ada=!0x1,_0x19b214=0x0;_0x104904--;)'.'===_0x343070[_0x104904]?_0x343070['splice'](_0x104904,0x1):'..'===_0x343070[_0x104904]?(_0x343070['splice'](_0x104904,0x1),_0x19b214++):_0x19b214&&(0x0===_0x104904&&(_0x4e0ada=!0x0),_0x343070['splice'](_0x104904,0x1),_0x19b214--);return _0x4e0ada&&_0x343070['unshift'](''),'.'!==_0x5cac7e&&'..'!==_0x5cac7e||_0x343070['push'](''),_0x343070['join']('/');}(_0x533746['pathname'],_0x431ab0['pathname'])),'/'!==_0x533746['pathname']['charAt'](0x0)&&_0x25691c(_0x533746['protocol'])&&(_0x533746['pathname']='/'+_0x533746['pathname']),_0x1d40e5(_0x533746['port'],_0x533746['protocol'])||(_0x533746['host']=_0x533746['hostname'],_0x533746['port']=''),_0x533746['username']=_0x533746['password']='',_0x533746['auth']&&(~(_0x2f8d79=_0x533746['auth']['indexOf'](':'))?(_0x533746['username']=_0x533746['auth']['slice'](0x0,_0x2f8d79),_0x533746['username']=encodeURIComponent(decodeURIComponent(_0x533746['username'])),_0x533746['password']=_0x533746['auth']['slice'](_0x2f8d79+0x1),_0x533746['password']=encodeURIComponent(decodeURIComponent(_0x533746['password']))):_0x533746['username']=encodeURIComponent(decodeURIComponent(_0x533746['auth'])),_0x533746['auth']=_0x533746['password']?_0x533746['username']+':'+_0x533746['password']:_0x533746['username']),_0x533746['origin']='file:'!==_0x533746['protocol']&&_0x25691c(_0x533746['protocol'])&&_0x533746['host']?_0x533746['protocol']+'//'+_0x533746['host']:'null',_0x533746['href']=_0x533746['toString']();}return _0x3eedf6['prototype']={'set':function(_0x413f99,_0x2977c8,_0x2ef037){var _0x1ae5c7=this;switch(_0x413f99){case'query':'string'==typeof _0x2977c8&&_0x2977c8['length']&&(_0x2977c8=(_0x2ef037||_0x58ddc7['parse'])(_0x2977c8)),_0x1ae5c7[_0x413f99]=_0x2977c8;break;case'port':_0x1ae5c7[_0x413f99]=_0x2977c8,_0x1d40e5(_0x2977c8,_0x1ae5c7['protocol'])?_0x2977c8&&(_0x1ae5c7['host']=_0x1ae5c7['hostname']+':'+_0x2977c8):(_0x1ae5c7['host']=_0x1ae5c7['hostname'],_0x1ae5c7[_0x413f99]='');break;case'hostname':_0x1ae5c7[_0x413f99]=_0x2977c8,_0x1ae5c7['port']&&(_0x2977c8+=':'+_0x1ae5c7['port']),_0x1ae5c7['host']=_0x2977c8;break;case'host':_0x1ae5c7[_0x413f99]=_0x2977c8,_0x24dc19['test'](_0x2977c8)?(_0x2977c8=_0x2977c8['split'](':'),_0x1ae5c7['port']=_0x2977c8['pop'](),_0x1ae5c7['hostname']=_0x2977c8['join'](':')):(_0x1ae5c7['hostname']=_0x2977c8,_0x1ae5c7['port']='');break;case'protocol':_0x1ae5c7['protocol']=_0x2977c8['toLowerCase'](),_0x1ae5c7['slashes']=!_0x2ef037;break;case'pathname':case'hash':if(_0x2977c8){var _0x379725='pathname'===_0x413f99?'/':'#';_0x1ae5c7[_0x413f99]=_0x2977c8['charAt'](0x0)!==_0x379725?_0x379725+_0x2977c8:_0x2977c8;}else _0x1ae5c7[_0x413f99]=_0x2977c8;break;case'username':case'password':_0x1ae5c7[_0x413f99]=encodeURIComponent(_0x2977c8);break;case'auth':var _0x27bfef=_0x2977c8['indexOf'](':');~_0x27bfef?(_0x1ae5c7['username']=_0x2977c8['slice'](0x0,_0x27bfef),_0x1ae5c7['username']=encodeURIComponent(decodeURIComponent(_0x1ae5c7['username'])),_0x1ae5c7['password']=_0x2977c8['slice'](_0x27bfef+0x1),_0x1ae5c7['password']=encodeURIComponent(decodeURIComponent(_0x1ae5c7['password']))):_0x1ae5c7['username']=encodeURIComponent(decodeURIComponent(_0x2977c8));}for(var _0x16730b=0x0;_0x16730b<_0x3fbb33['length'];_0x16730b++){var _0x2c15bf=_0x3fbb33[_0x16730b];_0x2c15bf[0x4]&&(_0x1ae5c7[_0x2c15bf[0x1]]=_0x1ae5c7[_0x2c15bf[0x1]]['toLowerCase']());}return _0x1ae5c7['auth']=_0x1ae5c7['password']?_0x1ae5c7['username']+':'+_0x1ae5c7['password']:_0x1ae5c7['username'],_0x1ae5c7['origin']='file:'!==_0x1ae5c7['protocol']&&_0x25691c(_0x1ae5c7['protocol'])&&_0x1ae5c7['host']?_0x1ae5c7['protocol']+'//'+_0x1ae5c7['host']:'null',_0x1ae5c7['href']=_0x1ae5c7['toString'](),_0x1ae5c7;},'toString':function(_0x189102){_0x189102&&'function'==typeof _0x189102||(_0x189102=_0x58ddc7['stringify']);var _0x2adae9,_0x2ee74d=this,_0x3a228e=_0x2ee74d['host'],_0x27ae14=_0x2ee74d['protocol'];_0x27ae14&&':'!==_0x27ae14['charAt'](_0x27ae14['length']-0x1)&&(_0x27ae14+=':');var _0x2b2571=_0x27ae14+(_0x2ee74d['protocol']&&_0x2ee74d['slashes']||_0x25691c(_0x2ee74d['protocol'])?'//':'');return _0x2ee74d['username']?(_0x2b2571+=_0x2ee74d['username'],_0x2ee74d['password']&&(_0x2b2571+=':'+_0x2ee74d['password']),_0x2b2571+='@'):_0x2ee74d['password']?(_0x2b2571+=':'+_0x2ee74d['password'],_0x2b2571+='@'):'file:'!==_0x2ee74d['protocol']&&_0x25691c(_0x2ee74d['protocol'])&&!_0x3a228e&&'/'!==_0x2ee74d['pathname']&&(_0x2b2571+='@'),(':'===_0x3a228e[_0x3a228e['length']-0x1]||_0x24dc19['test'](_0x2ee74d['hostname'])&&!_0x2ee74d['port'])&&(_0x3a228e+=':'),_0x2b2571+=_0x3a228e+_0x2ee74d['pathname'],(_0x2adae9='object'==typeof _0x2ee74d['query']?_0x189102(_0x2ee74d['query']):_0x2ee74d['query'])&&(_0x2b2571+='?'!==_0x2adae9['charAt'](0x0)?'?'+_0x2adae9:_0x2adae9),_0x2ee74d['hash']&&(_0x2b2571+=_0x2ee74d['hash']),_0x2b2571;}},_0x3eedf6['extractProtocol']=_0x8ddb46,_0x3eedf6['location']=_0x259505,_0x3eedf6['trimLeft']=_0x579bb1,_0x3eedf6['qs']=_0x58ddc7,_0x15309e=_0x3eedf6;}var urlParseExports=requireUrlParse();let getRandomValues;const _0x8c1d3d=new Uint8Array(0x10);function _0xb98b8c(){if(!getRandomValues&&(getRandomValues='undefined'!=typeof crypto&&crypto['getRandomValues']&&crypto['getRandomValues']['bind'](crypto),!getRandomValues))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return getRandomValues(_0x8c1d3d);}const byteToHex=[];for(let _0x392bd8=0x0;_0x392bd8<0x100;++_0x392bd8)byteToHex['push']((_0x392bd8+0x100)['toString'](0x10)['slice'](0x1));function unsafeStringify(_0x4151d5,_0x5d52f1=0x0){return byteToHex[_0x4151d5[_0x5d52f1+0x0]]+byteToHex[_0x4151d5[_0x5d52f1+0x1]]+byteToHex[_0x4151d5[_0x5d52f1+0x2]]+byteToHex[_0x4151d5[_0x5d52f1+0x3]]+'-'+byteToHex[_0x4151d5[_0x5d52f1+0x4]]+byteToHex[_0x4151d5[_0x5d52f1+0x5]]+'-'+byteToHex[_0x4151d5[_0x5d52f1+0x6]]+byteToHex[_0x4151d5[_0x5d52f1+0x7]]+'-'+byteToHex[_0x4151d5[_0x5d52f1+0x8]]+byteToHex[_0x4151d5[_0x5d52f1+0x9]]+'-'+byteToHex[_0x4151d5[_0x5d52f1+0xa]]+byteToHex[_0x4151d5[_0x5d52f1+0xb]]+byteToHex[_0x4151d5[_0x5d52f1+0xc]]+byteToHex[_0x4151d5[_0x5d52f1+0xd]]+byteToHex[_0x4151d5[_0x5d52f1+0xe]]+byteToHex[_0x4151d5[_0x5d52f1+0xf]];}const _0xbfcf2f='undefined'!=typeof crypto&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto);var native$1={'randomUUID':_0xbfcf2f};function _0x188bab(_0x1208b4,_0x2751ed,_0x1c62bc){if(native$1['randomUUID']&&!_0x1208b4)return native$1['randomUUID']();const _0xf8596=(_0x1208b4=_0x1208b4||{})['random']||(_0x1208b4['rng']||_0xb98b8c)();return _0xf8596[0x6]=0xf&_0xf8596[0x6]|0x40,_0xf8596[0x8]=0x3f&_0xf8596[0x8]|0x80,unsafeStringify(_0xf8596);}class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x754f3f){}}class _0x2f3fee extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x42cd3a){super();}static['fromJSON'](_0x156496){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class GetUserMessage extends _0x2f3fee{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x45b525){super(),this['id']=_0x45b525;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x1cafea){return new GetUserMessage(_0x1cafea['id']);}}class GetUserResponse extends _0x2f3fee{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x2b6623){super(),this['attributes']=_0x2b6623;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x75973a=>({'key':_0x75973a,'value':JSON['stringify'](this['attributes'][_0x75973a])}))};}static['fromJSON'](_0x17ac14){const _0x54b448=_0x17ac14['attributes']['reduce']((_0x532320,_0x24aef6)=>(_0x532320[_0x24aef6['key']]=_0x24aef6['value']?JSON['parse'](_0x24aef6['value']):null,_0x532320),{});return new GetUserResponse(_0x54b448);}}const _0x13734b=/* #__PURE__ -- @preserve */
((()=>{var _0x121a90=minimalExports['Reader'],_0x10e177=minimalExports['Writer'],_0x3aba14=minimalExports['util'],_0x3ef7a7=minimalExports['roots']['default']||(minimalExports['roots']['default']={});return _0x3ef7a7['StringStringPacketDataMessage']=(function(){function _0x364253(_0x1c101d){if(_0x1c101d){for(var _0x5db265=Object['keys'](_0x1c101d),_0x7512e3=0x0;_0x7512e3<_0x5db265['length'];++_0x7512e3)null!=_0x1c101d[_0x5db265[_0x7512e3]]&&(this[_0x5db265[_0x7512e3]]=_0x1c101d[_0x5db265[_0x7512e3]]);}}return _0x364253['prototype']['data']='',_0x364253['prototype']['data1']='',_0x364253['create']=function(_0x493daa){return new _0x364253(_0x493daa);},_0x364253['encode']=function(_0x1383c3,_0x483941){return _0x483941||(_0x483941=_0x10e177['create']()),null!=_0x1383c3['data']&&Object['hasOwnProperty']['call'](_0x1383c3,'data')&&_0x483941['uint32'](0xa)['string'](_0x1383c3['data']),null!=_0x1383c3['data1']&&Object['hasOwnProperty']['call'](_0x1383c3,'data1')&&_0x483941['uint32'](0x12)['string'](_0x1383c3['data1']),_0x483941;},_0x364253['encodeDelimited']=function(_0x1d4c0a,_0x32363e){return this['encode'](_0x1d4c0a,_0x32363e)['ldelim']();},_0x364253['decode']=function(_0x5801e1,_0x59c61b,_0x3785a6){_0x5801e1 instanceof _0x121a90||(_0x5801e1=_0x121a90['create'](_0x5801e1));for(var _0xad86ea=void 0x0===_0x59c61b?_0x5801e1['len']:_0x5801e1['pos']+_0x59c61b,_0x4373fc=new _0x3ef7a7['StringStringPacketDataMessage']();_0x5801e1['pos']<_0xad86ea;){var _0x569d39=_0x5801e1['uint32']();if(_0x569d39===_0x3785a6)break;switch(_0x569d39>>>0x3){case 0x1:_0x4373fc['data']=_0x5801e1['string']();break;case 0x2:_0x4373fc['data1']=_0x5801e1['string']();break;default:_0x5801e1['skipType'](0x7&_0x569d39);}}return _0x4373fc;},_0x364253['decodeDelimited']=function(_0x9c7aea){return _0x9c7aea instanceof _0x121a90||(_0x9c7aea=new _0x121a90(_0x9c7aea)),this['decode'](_0x9c7aea,_0x9c7aea['uint32']());},_0x364253['verify']=function(_0x19af18){return'object'!=typeof _0x19af18||null===_0x19af18?'object\x20expected':null!=_0x19af18['data']&&_0x19af18['hasOwnProperty']('data')&&!_0x3aba14['isString'](_0x19af18['data'])?'data:\x20string\x20expected':null!=_0x19af18['data1']&&_0x19af18['hasOwnProperty']('data1')&&!_0x3aba14['isString'](_0x19af18['data1'])?'data1:\x20string\x20expected':null;},_0x364253['fromObject']=function(_0x3f01d0){if(_0x3f01d0 instanceof _0x3ef7a7['StringStringPacketDataMessage'])return _0x3f01d0;var _0x72ae11=new _0x3ef7a7['StringStringPacketDataMessage']();return null!=_0x3f01d0['data']&&(_0x72ae11['data']=String(_0x3f01d0['data'])),null!=_0x3f01d0['data1']&&(_0x72ae11['data1']=String(_0x3f01d0['data1'])),_0x72ae11;},_0x364253['toObject']=function(_0x1b8c60,_0x722612){_0x722612||(_0x722612={});var _0xa98d0a={};return _0x722612['defaults']&&(_0xa98d0a['data']='',_0xa98d0a['data1']=''),null!=_0x1b8c60['data']&&_0x1b8c60['hasOwnProperty']('data')&&(_0xa98d0a['data']=_0x1b8c60['data']),null!=_0x1b8c60['data1']&&_0x1b8c60['hasOwnProperty']('data1')&&(_0xa98d0a['data1']=_0x1b8c60['data1']),_0xa98d0a;},_0x364253['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x364253['getTypeUrl']=function(_0xcddb06){return void 0x0===_0xcddb06&&(_0xcddb06='type.googleapis.com'),_0xcddb06+'/StringStringPacketDataMessage';},_0x364253;}()),_0x3ef7a7['StringObjectPacketDataMessage']=(function(){function _0x13da05(_0xd67749){if(_0xd67749){for(var _0x71c3be=Object['keys'](_0xd67749),_0x8c855b=0x0;_0x8c855b<_0x71c3be['length'];++_0x8c855b)null!=_0xd67749[_0x71c3be[_0x8c855b]]&&(this[_0x71c3be[_0x8c855b]]=_0xd67749[_0x71c3be[_0x8c855b]]);}}return _0x13da05['prototype']['data']='',_0x13da05['prototype']['data1']='',_0x13da05['create']=function(_0xfbdb86){return new _0x13da05(_0xfbdb86);},_0x13da05['encode']=function(_0xb6e171,_0x24a9e6){return _0x24a9e6||(_0x24a9e6=_0x10e177['create']()),null!=_0xb6e171['data']&&Object['hasOwnProperty']['call'](_0xb6e171,'data')&&_0x24a9e6['uint32'](0xa)['string'](_0xb6e171['data']),null!=_0xb6e171['data1']&&Object['hasOwnProperty']['call'](_0xb6e171,'data1')&&_0x24a9e6['uint32'](0x12)['string'](_0xb6e171['data1']),_0x24a9e6;},_0x13da05['encodeDelimited']=function(_0x2e62c0,_0x16f61f){return this['encode'](_0x2e62c0,_0x16f61f)['ldelim']();},_0x13da05['decode']=function(_0x56ccd6,_0x5ad7f7,_0x186e9c){_0x56ccd6 instanceof _0x121a90||(_0x56ccd6=_0x121a90['create'](_0x56ccd6));for(var _0x38a916=void 0x0===_0x5ad7f7?_0x56ccd6['len']:_0x56ccd6['pos']+_0x5ad7f7,_0x2747ca=new _0x3ef7a7['StringObjectPacketDataMessage']();_0x56ccd6['pos']<_0x38a916;){var _0x2e7ada=_0x56ccd6['uint32']();if(_0x2e7ada===_0x186e9c)break;switch(_0x2e7ada>>>0x3){case 0x1:_0x2747ca['data']=_0x56ccd6['string']();break;case 0x2:_0x2747ca['data1']=_0x56ccd6['string']();break;default:_0x56ccd6['skipType'](0x7&_0x2e7ada);}}return _0x2747ca;},_0x13da05['decodeDelimited']=function(_0x52501f){return _0x52501f instanceof _0x121a90||(_0x52501f=new _0x121a90(_0x52501f)),this['decode'](_0x52501f,_0x52501f['uint32']());},_0x13da05['verify']=function(_0x45c918){return'object'!=typeof _0x45c918||null===_0x45c918?'object\x20expected':null!=_0x45c918['data']&&_0x45c918['hasOwnProperty']('data')&&!_0x3aba14['isString'](_0x45c918['data'])?'data:\x20string\x20expected':null!=_0x45c918['data1']&&_0x45c918['hasOwnProperty']('data1')&&!_0x3aba14['isString'](_0x45c918['data1'])?'data1:\x20string\x20expected':null;},_0x13da05['fromObject']=function(_0x3dbc19){if(_0x3dbc19 instanceof _0x3ef7a7['StringObjectPacketDataMessage'])return _0x3dbc19;var _0x485abc=new _0x3ef7a7['StringObjectPacketDataMessage']();return null!=_0x3dbc19['data']&&(_0x485abc['data']=String(_0x3dbc19['data'])),null!=_0x3dbc19['data1']&&(_0x485abc['data1']=String(_0x3dbc19['data1'])),_0x485abc;},_0x13da05['toObject']=function(_0x178bc5,_0x2f02cb){_0x2f02cb||(_0x2f02cb={});var _0x3d9eef={};return _0x2f02cb['defaults']&&(_0x3d9eef['data']='',_0x3d9eef['data1']=''),null!=_0x178bc5['data']&&_0x178bc5['hasOwnProperty']('data')&&(_0x3d9eef['data']=_0x178bc5['data']),null!=_0x178bc5['data1']&&_0x178bc5['hasOwnProperty']('data1')&&(_0x3d9eef['data1']=_0x178bc5['data1']),_0x3d9eef;},_0x13da05['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x13da05['getTypeUrl']=function(_0x3eac6c){return void 0x0===_0x3eac6c&&(_0x3eac6c='type.googleapis.com'),_0x3eac6c+'/StringObjectPacketDataMessage';},_0x13da05;}()),_0x3ef7a7['StringNumberPacketDataMessage']=(function(){function _0x4697d1(_0x5398de){if(_0x5398de){for(var _0x2cf8c2=Object['keys'](_0x5398de),_0x143109=0x0;_0x143109<_0x2cf8c2['length'];++_0x143109)null!=_0x5398de[_0x2cf8c2[_0x143109]]&&(this[_0x2cf8c2[_0x143109]]=_0x5398de[_0x2cf8c2[_0x143109]]);}}return _0x4697d1['prototype']['data']='',_0x4697d1['prototype']['data1']=0x0,_0x4697d1['create']=function(_0x585213){return new _0x4697d1(_0x585213);},_0x4697d1['encode']=function(_0x131e4c,_0x48d255){return _0x48d255||(_0x48d255=_0x10e177['create']()),null!=_0x131e4c['data']&&Object['hasOwnProperty']['call'](_0x131e4c,'data')&&_0x48d255['uint32'](0xa)['string'](_0x131e4c['data']),null!=_0x131e4c['data1']&&Object['hasOwnProperty']['call'](_0x131e4c,'data1')&&_0x48d255['uint32'](0x10)['uint32'](_0x131e4c['data1']),_0x48d255;},_0x4697d1['encodeDelimited']=function(_0x599a09,_0x24bfd5){return this['encode'](_0x599a09,_0x24bfd5)['ldelim']();},_0x4697d1['decode']=function(_0x5a9622,_0x461089,_0x55bed1){_0x5a9622 instanceof _0x121a90||(_0x5a9622=_0x121a90['create'](_0x5a9622));for(var _0x4a5d10=void 0x0===_0x461089?_0x5a9622['len']:_0x5a9622['pos']+_0x461089,_0x57d27f=new _0x3ef7a7['StringNumberPacketDataMessage']();_0x5a9622['pos']<_0x4a5d10;){var _0x527ad7=_0x5a9622['uint32']();if(_0x527ad7===_0x55bed1)break;switch(_0x527ad7>>>0x3){case 0x1:_0x57d27f['data']=_0x5a9622['string']();break;case 0x2:_0x57d27f['data1']=_0x5a9622['uint32']();break;default:_0x5a9622['skipType'](0x7&_0x527ad7);}}return _0x57d27f;},_0x4697d1['decodeDelimited']=function(_0x1dd337){return _0x1dd337 instanceof _0x121a90||(_0x1dd337=new _0x121a90(_0x1dd337)),this['decode'](_0x1dd337,_0x1dd337['uint32']());},_0x4697d1['verify']=function(_0x264d3e){return'object'!=typeof _0x264d3e||null===_0x264d3e?'object\x20expected':null!=_0x264d3e['data']&&_0x264d3e['hasOwnProperty']('data')&&!_0x3aba14['isString'](_0x264d3e['data'])?'data:\x20string\x20expected':null!=_0x264d3e['data1']&&_0x264d3e['hasOwnProperty']('data1')&&!_0x3aba14['isInteger'](_0x264d3e['data1'])?'data1:\x20integer\x20expected':null;},_0x4697d1['fromObject']=function(_0xf03d77){if(_0xf03d77 instanceof _0x3ef7a7['StringNumberPacketDataMessage'])return _0xf03d77;var _0x3d6d39=new _0x3ef7a7['StringNumberPacketDataMessage']();return null!=_0xf03d77['data']&&(_0x3d6d39['data']=String(_0xf03d77['data'])),null!=_0xf03d77['data1']&&(_0x3d6d39['data1']=_0xf03d77['data1']>>>0x0),_0x3d6d39;},_0x4697d1['toObject']=function(_0x1c0acd,_0x3a3b06){_0x3a3b06||(_0x3a3b06={});var _0x21a5d7={};return _0x3a3b06['defaults']&&(_0x21a5d7['data']='',_0x21a5d7['data1']=0x0),null!=_0x1c0acd['data']&&_0x1c0acd['hasOwnProperty']('data')&&(_0x21a5d7['data']=_0x1c0acd['data']),null!=_0x1c0acd['data1']&&_0x1c0acd['hasOwnProperty']('data1')&&(_0x21a5d7['data1']=_0x1c0acd['data1']),_0x21a5d7;},_0x4697d1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4697d1['getTypeUrl']=function(_0x1a5260){return void 0x0===_0x1a5260&&(_0x1a5260='type.googleapis.com'),_0x1a5260+'/StringNumberPacketDataMessage';},_0x4697d1;}()),_0x3ef7a7['StringBytesPacketDataMessage']=(function(){function _0x6f92a8(_0x2379b1){if(_0x2379b1){for(var _0x350876=Object['keys'](_0x2379b1),_0x59ffa2=0x0;_0x59ffa2<_0x350876['length'];++_0x59ffa2)null!=_0x2379b1[_0x350876[_0x59ffa2]]&&(this[_0x350876[_0x59ffa2]]=_0x2379b1[_0x350876[_0x59ffa2]]);}}return _0x6f92a8['prototype']['data']='',_0x6f92a8['prototype']['data1']=_0x3aba14['newBuffer']([]),_0x6f92a8['create']=function(_0x3e7809){return new _0x6f92a8(_0x3e7809);},_0x6f92a8['encode']=function(_0x4a1969,_0xf538be){return _0xf538be||(_0xf538be=_0x10e177['create']()),null!=_0x4a1969['data']&&Object['hasOwnProperty']['call'](_0x4a1969,'data')&&_0xf538be['uint32'](0xa)['string'](_0x4a1969['data']),null!=_0x4a1969['data1']&&Object['hasOwnProperty']['call'](_0x4a1969,'data1')&&_0xf538be['uint32'](0x12)['bytes'](_0x4a1969['data1']),_0xf538be;},_0x6f92a8['encodeDelimited']=function(_0x88b810,_0x78fb86){return this['encode'](_0x88b810,_0x78fb86)['ldelim']();},_0x6f92a8['decode']=function(_0xf6cf0f,_0x472c93,_0x3f71af){_0xf6cf0f instanceof _0x121a90||(_0xf6cf0f=_0x121a90['create'](_0xf6cf0f));for(var _0x8da824=void 0x0===_0x472c93?_0xf6cf0f['len']:_0xf6cf0f['pos']+_0x472c93,_0x39ffdb=new _0x3ef7a7['StringBytesPacketDataMessage']();_0xf6cf0f['pos']<_0x8da824;){var _0x2e3007=_0xf6cf0f['uint32']();if(_0x2e3007===_0x3f71af)break;switch(_0x2e3007>>>0x3){case 0x1:_0x39ffdb['data']=_0xf6cf0f['string']();break;case 0x2:_0x39ffdb['data1']=_0xf6cf0f['bytes']();break;default:_0xf6cf0f['skipType'](0x7&_0x2e3007);}}return _0x39ffdb;},_0x6f92a8['decodeDelimited']=function(_0x18a1da){return _0x18a1da instanceof _0x121a90||(_0x18a1da=new _0x121a90(_0x18a1da)),this['decode'](_0x18a1da,_0x18a1da['uint32']());},_0x6f92a8['verify']=function(_0x5cbec6){return'object'!=typeof _0x5cbec6||null===_0x5cbec6?'object\x20expected':null!=_0x5cbec6['data']&&_0x5cbec6['hasOwnProperty']('data')&&!_0x3aba14['isString'](_0x5cbec6['data'])?'data:\x20string\x20expected':null!=_0x5cbec6['data1']&&_0x5cbec6['hasOwnProperty']('data1')&&!(_0x5cbec6['data1']&&'number'==typeof _0x5cbec6['data1']['length']||_0x3aba14['isString'](_0x5cbec6['data1']))?'data1:\x20buffer\x20expected':null;},_0x6f92a8['fromObject']=function(_0x45e014){if(_0x45e014 instanceof _0x3ef7a7['StringBytesPacketDataMessage'])return _0x45e014;var _0x433ec2=new _0x3ef7a7['StringBytesPacketDataMessage']();return null!=_0x45e014['data']&&(_0x433ec2['data']=String(_0x45e014['data'])),null!=_0x45e014['data1']&&('string'==typeof _0x45e014['data1']?_0x3aba14['base64']['decode'](_0x45e014['data1'],_0x433ec2['data1']=_0x3aba14['newBuffer'](_0x3aba14['base64']['length'](_0x45e014['data1'])),0x0):_0x45e014['data1']['length']>=0x0&&(_0x433ec2['data1']=_0x45e014['data1'])),_0x433ec2;},_0x6f92a8['toObject']=function(_0x53c5a2,_0x5d932e){_0x5d932e||(_0x5d932e={});var _0x3f438f={};return _0x5d932e['defaults']&&(_0x3f438f['data']='',_0x5d932e['bytes']===String?_0x3f438f['data1']='':(_0x3f438f['data1']=[],_0x5d932e['bytes']!==Array&&(_0x3f438f['data1']=_0x3aba14['newBuffer'](_0x3f438f['data1'])))),null!=_0x53c5a2['data']&&_0x53c5a2['hasOwnProperty']('data')&&(_0x3f438f['data']=_0x53c5a2['data']),null!=_0x53c5a2['data1']&&_0x53c5a2['hasOwnProperty']('data1')&&(_0x3f438f['data1']=_0x5d932e['bytes']===String?_0x3aba14['base64']['encode'](_0x53c5a2['data1'],0x0,_0x53c5a2['data1']['length']):_0x5d932e['bytes']===Array?Array['prototype']['slice']['call'](_0x53c5a2['data1']):_0x53c5a2['data1']),_0x3f438f;},_0x6f92a8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x6f92a8['getTypeUrl']=function(_0x4fd324){return void 0x0===_0x4fd324&&(_0x4fd324='type.googleapis.com'),_0x4fd324+'/StringBytesPacketDataMessage';},_0x6f92a8;}()),_0x3ef7a7['PacketOptionsMessage']=(function(){function _0x294231(_0x57afae){if(this['rooms']=[],this['except']=[],_0x57afae){for(var _0x279bfc=Object['keys'](_0x57afae),_0x2f6e9d=0x0;_0x2f6e9d<_0x279bfc['length'];++_0x2f6e9d)null!=_0x57afae[_0x279bfc[_0x2f6e9d]]&&(this[_0x279bfc[_0x2f6e9d]]=_0x57afae[_0x279bfc[_0x2f6e9d]]);}}return _0x294231['prototype']['flags']='',_0x294231['prototype']['rooms']=_0x3aba14['emptyArray'],_0x294231['prototype']['except']=_0x3aba14['emptyArray'],_0x294231['create']=function(_0x5f205f){return new _0x294231(_0x5f205f);},_0x294231['encode']=function(_0x1d2809,_0x3fc05c){if(_0x3fc05c||(_0x3fc05c=_0x10e177['create']()),null!=_0x1d2809['flags']&&Object['hasOwnProperty']['call'](_0x1d2809,'flags')&&_0x3fc05c['uint32'](0xa)['string'](_0x1d2809['flags']),null!=_0x1d2809['rooms']&&_0x1d2809['rooms']['length']){for(var _0x3b8c07=0x0;_0x3b8c07<_0x1d2809['rooms']['length'];++_0x3b8c07)_0x3fc05c['uint32'](0x12)['string'](_0x1d2809['rooms'][_0x3b8c07]);}if(null!=_0x1d2809['except']&&_0x1d2809['except']['length']){for(_0x3b8c07=0x0;_0x3b8c07<_0x1d2809['except']['length'];++_0x3b8c07)_0x3fc05c['uint32'](0x1a)['string'](_0x1d2809['except'][_0x3b8c07]);}return _0x3fc05c;},_0x294231['encodeDelimited']=function(_0x3d2d6f,_0x1ada6a){return this['encode'](_0x3d2d6f,_0x1ada6a)['ldelim']();},_0x294231['decode']=function(_0x1c4095,_0x2530a8,_0x204490){_0x1c4095 instanceof _0x121a90||(_0x1c4095=_0x121a90['create'](_0x1c4095));for(var _0x84d4ab=void 0x0===_0x2530a8?_0x1c4095['len']:_0x1c4095['pos']+_0x2530a8,_0x4fcaf5=new _0x3ef7a7['PacketOptionsMessage']();_0x1c4095['pos']<_0x84d4ab;){var _0x347ea0=_0x1c4095['uint32']();if(_0x347ea0===_0x204490)break;switch(_0x347ea0>>>0x3){case 0x1:_0x4fcaf5['flags']=_0x1c4095['string']();break;case 0x2:_0x4fcaf5['rooms']&&_0x4fcaf5['rooms']['length']||(_0x4fcaf5['rooms']=[]),_0x4fcaf5['rooms']['push'](_0x1c4095['string']());break;case 0x3:_0x4fcaf5['except']&&_0x4fcaf5['except']['length']||(_0x4fcaf5['except']=[]),_0x4fcaf5['except']['push'](_0x1c4095['string']());break;default:_0x1c4095['skipType'](0x7&_0x347ea0);}}return _0x4fcaf5;},_0x294231['decodeDelimited']=function(_0x591ec8){return _0x591ec8 instanceof _0x121a90||(_0x591ec8=new _0x121a90(_0x591ec8)),this['decode'](_0x591ec8,_0x591ec8['uint32']());},_0x294231['verify']=function(_0x210bf7){if('object'!=typeof _0x210bf7||null===_0x210bf7)return'object\x20expected';if(null!=_0x210bf7['flags']&&_0x210bf7['hasOwnProperty']('flags')&&!_0x3aba14['isString'](_0x210bf7['flags']))return'flags:\x20string\x20expected';if(null!=_0x210bf7['rooms']&&_0x210bf7['hasOwnProperty']('rooms')){if(!Array['isArray'](_0x210bf7['rooms']))return'rooms:\x20array\x20expected';for(var _0x4d37d1=0x0;_0x4d37d1<_0x210bf7['rooms']['length'];++_0x4d37d1)if(!_0x3aba14['isString'](_0x210bf7['rooms'][_0x4d37d1]))return'rooms:\x20string[]\x20expected';}if(null!=_0x210bf7['except']&&_0x210bf7['hasOwnProperty']('except')){if(!Array['isArray'](_0x210bf7['except']))return'except:\x20array\x20expected';for(_0x4d37d1=0x0;_0x4d37d1<_0x210bf7['except']['length'];++_0x4d37d1)if(!_0x3aba14['isString'](_0x210bf7['except'][_0x4d37d1]))return'except:\x20string[]\x20expected';}return null;},_0x294231['fromObject']=function(_0x4d5fa9){if(_0x4d5fa9 instanceof _0x3ef7a7['PacketOptionsMessage'])return _0x4d5fa9;var _0x741ab6=new _0x3ef7a7['PacketOptionsMessage']();if(null!=_0x4d5fa9['flags']&&(_0x741ab6['flags']=String(_0x4d5fa9['flags'])),_0x4d5fa9['rooms']){if(!Array['isArray'](_0x4d5fa9['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x741ab6['rooms']=[];for(var _0x21b038=0x0;_0x21b038<_0x4d5fa9['rooms']['length'];++_0x21b038)_0x741ab6['rooms'][_0x21b038]=String(_0x4d5fa9['rooms'][_0x21b038]);}if(_0x4d5fa9['except']){if(!Array['isArray'](_0x4d5fa9['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x741ab6['except']=[],_0x21b038=0x0;_0x21b038<_0x4d5fa9['except']['length'];++_0x21b038)_0x741ab6['except'][_0x21b038]=String(_0x4d5fa9['except'][_0x21b038]);}return _0x741ab6;},_0x294231['toObject']=function(_0x3c2b32,_0x1ec94d){_0x1ec94d||(_0x1ec94d={});var _0x37ce18={};if((_0x1ec94d['arrays']||_0x1ec94d['defaults'])&&(_0x37ce18['rooms']=[],_0x37ce18['except']=[]),_0x1ec94d['defaults']&&(_0x37ce18['flags']=''),null!=_0x3c2b32['flags']&&_0x3c2b32['hasOwnProperty']('flags')&&(_0x37ce18['flags']=_0x3c2b32['flags']),_0x3c2b32['rooms']&&_0x3c2b32['rooms']['length']){_0x37ce18['rooms']=[];for(var _0x4c5ba=0x0;_0x4c5ba<_0x3c2b32['rooms']['length'];++_0x4c5ba)_0x37ce18['rooms'][_0x4c5ba]=_0x3c2b32['rooms'][_0x4c5ba];}if(_0x3c2b32['except']&&_0x3c2b32['except']['length']){for(_0x37ce18['except']=[],_0x4c5ba=0x0;_0x4c5ba<_0x3c2b32['except']['length'];++_0x4c5ba)_0x37ce18['except'][_0x4c5ba]=_0x3c2b32['except'][_0x4c5ba];}return _0x37ce18;},_0x294231['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x294231['getTypeUrl']=function(_0x50d270){return void 0x0===_0x50d270&&(_0x50d270='type.googleapis.com'),_0x50d270+'/PacketOptionsMessage';},_0x294231;}()),_0x3ef7a7['PacketMessage']=(function(){function _0x14cbf4(_0x15b445){if(_0x15b445){for(var _0xb5fc15=Object['keys'](_0x15b445),_0x560165=0x0;_0x560165<_0xb5fc15['length'];++_0x560165)null!=_0x15b445[_0xb5fc15[_0x560165]]&&(this[_0xb5fc15[_0x560165]]=_0x15b445[_0xb5fc15[_0x560165]]);}}return _0x14cbf4['prototype']['type']=0x0,_0x14cbf4['prototype']['id']=0x0,_0x14cbf4['prototype']['nsp']='',_0x14cbf4['prototype']['data']=_0x3aba14['newBuffer']([]),_0x14cbf4['prototype']['options']=_0x3aba14['newBuffer']([]),_0x14cbf4['create']=function(_0x44276d){return new _0x14cbf4(_0x44276d);},_0x14cbf4['encode']=function(_0x4beeb3,_0x3688af){return _0x3688af||(_0x3688af=_0x10e177['create']()),null!=_0x4beeb3['type']&&Object['hasOwnProperty']['call'](_0x4beeb3,'type')&&_0x3688af['uint32'](0x8)['uint32'](_0x4beeb3['type']),null!=_0x4beeb3['id']&&Object['hasOwnProperty']['call'](_0x4beeb3,'id')&&_0x3688af['uint32'](0x10)['uint32'](_0x4beeb3['id']),null!=_0x4beeb3['nsp']&&Object['hasOwnProperty']['call'](_0x4beeb3,'nsp')&&_0x3688af['uint32'](0x1a)['string'](_0x4beeb3['nsp']),null!=_0x4beeb3['data']&&Object['hasOwnProperty']['call'](_0x4beeb3,'data')&&_0x3688af['uint32'](0x22)['bytes'](_0x4beeb3['data']),null!=_0x4beeb3['options']&&Object['hasOwnProperty']['call'](_0x4beeb3,'options')&&_0x3688af['uint32'](0x2a)['bytes'](_0x4beeb3['options']),_0x3688af;},_0x14cbf4['encodeDelimited']=function(_0x197712,_0x4fa1a1){return this['encode'](_0x197712,_0x4fa1a1)['ldelim']();},_0x14cbf4['decode']=function(_0x4bb4a0,_0x394fbb,_0x5a00d7){_0x4bb4a0 instanceof _0x121a90||(_0x4bb4a0=_0x121a90['create'](_0x4bb4a0));for(var _0x285ee2=void 0x0===_0x394fbb?_0x4bb4a0['len']:_0x4bb4a0['pos']+_0x394fbb,_0x1d2d58=new _0x3ef7a7['PacketMessage']();_0x4bb4a0['pos']<_0x285ee2;){var _0xb3a504=_0x4bb4a0['uint32']();if(_0xb3a504===_0x5a00d7)break;switch(_0xb3a504>>>0x3){case 0x1:_0x1d2d58['type']=_0x4bb4a0['uint32']();break;case 0x2:_0x1d2d58['id']=_0x4bb4a0['uint32']();break;case 0x3:_0x1d2d58['nsp']=_0x4bb4a0['string']();break;case 0x4:_0x1d2d58['data']=_0x4bb4a0['bytes']();break;case 0x5:_0x1d2d58['options']=_0x4bb4a0['bytes']();break;default:_0x4bb4a0['skipType'](0x7&_0xb3a504);}}return _0x1d2d58;},_0x14cbf4['decodeDelimited']=function(_0x1178f5){return _0x1178f5 instanceof _0x121a90||(_0x1178f5=new _0x121a90(_0x1178f5)),this['decode'](_0x1178f5,_0x1178f5['uint32']());},_0x14cbf4['verify']=function(_0x10f64d){return'object'!=typeof _0x10f64d||null===_0x10f64d?'object\x20expected':null!=_0x10f64d['type']&&_0x10f64d['hasOwnProperty']('type')&&!_0x3aba14['isInteger'](_0x10f64d['type'])?'type:\x20integer\x20expected':null!=_0x10f64d['id']&&_0x10f64d['hasOwnProperty']('id')&&!_0x3aba14['isInteger'](_0x10f64d['id'])?'id:\x20integer\x20expected':null!=_0x10f64d['nsp']&&_0x10f64d['hasOwnProperty']('nsp')&&!_0x3aba14['isString'](_0x10f64d['nsp'])?'nsp:\x20string\x20expected':null!=_0x10f64d['data']&&_0x10f64d['hasOwnProperty']('data')&&!(_0x10f64d['data']&&'number'==typeof _0x10f64d['data']['length']||_0x3aba14['isString'](_0x10f64d['data']))?'data:\x20buffer\x20expected':null!=_0x10f64d['options']&&_0x10f64d['hasOwnProperty']('options')&&!(_0x10f64d['options']&&'number'==typeof _0x10f64d['options']['length']||_0x3aba14['isString'](_0x10f64d['options']))?'options:\x20buffer\x20expected':null;},_0x14cbf4['fromObject']=function(_0x547fed){if(_0x547fed instanceof _0x3ef7a7['PacketMessage'])return _0x547fed;var _0x512c44=new _0x3ef7a7['PacketMessage']();return null!=_0x547fed['type']&&(_0x512c44['type']=_0x547fed['type']>>>0x0),null!=_0x547fed['id']&&(_0x512c44['id']=_0x547fed['id']>>>0x0),null!=_0x547fed['nsp']&&(_0x512c44['nsp']=String(_0x547fed['nsp'])),null!=_0x547fed['data']&&('string'==typeof _0x547fed['data']?_0x3aba14['base64']['decode'](_0x547fed['data'],_0x512c44['data']=_0x3aba14['newBuffer'](_0x3aba14['base64']['length'](_0x547fed['data'])),0x0):_0x547fed['data']['length']>=0x0&&(_0x512c44['data']=_0x547fed['data'])),null!=_0x547fed['options']&&('string'==typeof _0x547fed['options']?_0x3aba14['base64']['decode'](_0x547fed['options'],_0x512c44['options']=_0x3aba14['newBuffer'](_0x3aba14['base64']['length'](_0x547fed['options'])),0x0):_0x547fed['options']['length']>=0x0&&(_0x512c44['options']=_0x547fed['options'])),_0x512c44;},_0x14cbf4['toObject']=function(_0x10122b,_0x2c6bc3){_0x2c6bc3||(_0x2c6bc3={});var _0x239c64={};return _0x2c6bc3['defaults']&&(_0x239c64['type']=0x0,_0x239c64['id']=0x0,_0x239c64['nsp']='',_0x2c6bc3['bytes']===String?_0x239c64['data']='':(_0x239c64['data']=[],_0x2c6bc3['bytes']!==Array&&(_0x239c64['data']=_0x3aba14['newBuffer'](_0x239c64['data']))),_0x2c6bc3['bytes']===String?_0x239c64['options']='':(_0x239c64['options']=[],_0x2c6bc3['bytes']!==Array&&(_0x239c64['options']=_0x3aba14['newBuffer'](_0x239c64['options'])))),null!=_0x10122b['type']&&_0x10122b['hasOwnProperty']('type')&&(_0x239c64['type']=_0x10122b['type']),null!=_0x10122b['id']&&_0x10122b['hasOwnProperty']('id')&&(_0x239c64['id']=_0x10122b['id']),null!=_0x10122b['nsp']&&_0x10122b['hasOwnProperty']('nsp')&&(_0x239c64['nsp']=_0x10122b['nsp']),null!=_0x10122b['data']&&_0x10122b['hasOwnProperty']('data')&&(_0x239c64['data']=_0x2c6bc3['bytes']===String?_0x3aba14['base64']['encode'](_0x10122b['data'],0x0,_0x10122b['data']['length']):_0x2c6bc3['bytes']===Array?Array['prototype']['slice']['call'](_0x10122b['data']):_0x10122b['data']),null!=_0x10122b['options']&&_0x10122b['hasOwnProperty']('options')&&(_0x239c64['options']=_0x2c6bc3['bytes']===String?_0x3aba14['base64']['encode'](_0x10122b['options'],0x0,_0x10122b['options']['length']):_0x2c6bc3['bytes']===Array?Array['prototype']['slice']['call'](_0x10122b['options']):_0x10122b['options']),_0x239c64;},_0x14cbf4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x14cbf4['getTypeUrl']=function(_0x23574e){return void 0x0===_0x23574e&&(_0x23574e='type.googleapis.com'),_0x23574e+'/PacketMessage';},_0x14cbf4;}()),_0x3ef7a7['ObjectObjectPacketDataMessage']=(function(){function _0x26a65b(_0x3ccf11){if(_0x3ccf11){for(var _0x1e46d0=Object['keys'](_0x3ccf11),_0x24b0e3=0x0;_0x24b0e3<_0x1e46d0['length'];++_0x24b0e3)null!=_0x3ccf11[_0x1e46d0[_0x24b0e3]]&&(this[_0x1e46d0[_0x24b0e3]]=_0x3ccf11[_0x1e46d0[_0x24b0e3]]);}}return _0x26a65b['prototype']['data']='',_0x26a65b['prototype']['data1']='',_0x26a65b['create']=function(_0x51c9ea){return new _0x26a65b(_0x51c9ea);},_0x26a65b['encode']=function(_0x501d57,_0x41a804){return _0x41a804||(_0x41a804=_0x10e177['create']()),null!=_0x501d57['data']&&Object['hasOwnProperty']['call'](_0x501d57,'data')&&_0x41a804['uint32'](0xa)['string'](_0x501d57['data']),null!=_0x501d57['data1']&&Object['hasOwnProperty']['call'](_0x501d57,'data1')&&_0x41a804['uint32'](0x12)['string'](_0x501d57['data1']),_0x41a804;},_0x26a65b['encodeDelimited']=function(_0x4bc31f,_0x48ec4a){return this['encode'](_0x4bc31f,_0x48ec4a)['ldelim']();},_0x26a65b['decode']=function(_0x44802b,_0x5024a3,_0x5de672){_0x44802b instanceof _0x121a90||(_0x44802b=_0x121a90['create'](_0x44802b));for(var _0x4a61d6=void 0x0===_0x5024a3?_0x44802b['len']:_0x44802b['pos']+_0x5024a3,_0x29c271=new _0x3ef7a7['ObjectObjectPacketDataMessage']();_0x44802b['pos']<_0x4a61d6;){var _0x2b457c=_0x44802b['uint32']();if(_0x2b457c===_0x5de672)break;switch(_0x2b457c>>>0x3){case 0x1:_0x29c271['data']=_0x44802b['string']();break;case 0x2:_0x29c271['data1']=_0x44802b['string']();break;default:_0x44802b['skipType'](0x7&_0x2b457c);}}return _0x29c271;},_0x26a65b['decodeDelimited']=function(_0x1eba12){return _0x1eba12 instanceof _0x121a90||(_0x1eba12=new _0x121a90(_0x1eba12)),this['decode'](_0x1eba12,_0x1eba12['uint32']());},_0x26a65b['verify']=function(_0x7ee1b9){return'object'!=typeof _0x7ee1b9||null===_0x7ee1b9?'object\x20expected':null!=_0x7ee1b9['data']&&_0x7ee1b9['hasOwnProperty']('data')&&!_0x3aba14['isString'](_0x7ee1b9['data'])?'data:\x20string\x20expected':null!=_0x7ee1b9['data1']&&_0x7ee1b9['hasOwnProperty']('data1')&&!_0x3aba14['isString'](_0x7ee1b9['data1'])?'data1:\x20string\x20expected':null;},_0x26a65b['fromObject']=function(_0x23bc76){if(_0x23bc76 instanceof _0x3ef7a7['ObjectObjectPacketDataMessage'])return _0x23bc76;var _0x1f3105=new _0x3ef7a7['ObjectObjectPacketDataMessage']();return null!=_0x23bc76['data']&&(_0x1f3105['data']=String(_0x23bc76['data'])),null!=_0x23bc76['data1']&&(_0x1f3105['data1']=String(_0x23bc76['data1'])),_0x1f3105;},_0x26a65b['toObject']=function(_0x31f204,_0x2b8c0c){_0x2b8c0c||(_0x2b8c0c={});var _0x44ba9b={};return _0x2b8c0c['defaults']&&(_0x44ba9b['data']='',_0x44ba9b['data1']=''),null!=_0x31f204['data']&&_0x31f204['hasOwnProperty']('data')&&(_0x44ba9b['data']=_0x31f204['data']),null!=_0x31f204['data1']&&_0x31f204['hasOwnProperty']('data1')&&(_0x44ba9b['data1']=_0x31f204['data1']),_0x44ba9b;},_0x26a65b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x26a65b['getTypeUrl']=function(_0x4e6f5e){return void 0x0===_0x4e6f5e&&(_0x4e6f5e='type.googleapis.com'),_0x4e6f5e+'/ObjectObjectPacketDataMessage';},_0x26a65b;}()),_0x3ef7a7['ObjectBufferPacketDataMessage']=(function(){function _0x1e5ae6(_0x52b93b){if(_0x52b93b){for(var _0x4ab378=Object['keys'](_0x52b93b),_0x528fb9=0x0;_0x528fb9<_0x4ab378['length'];++_0x528fb9)null!=_0x52b93b[_0x4ab378[_0x528fb9]]&&(this[_0x4ab378[_0x528fb9]]=_0x52b93b[_0x4ab378[_0x528fb9]]);}}return _0x1e5ae6['prototype']['data']='',_0x1e5ae6['prototype']['data1']=_0x3aba14['newBuffer']([]),_0x1e5ae6['create']=function(_0x2acfdb){return new _0x1e5ae6(_0x2acfdb);},_0x1e5ae6['encode']=function(_0xaf3487,_0x27c11a){return _0x27c11a||(_0x27c11a=_0x10e177['create']()),null!=_0xaf3487['data']&&Object['hasOwnProperty']['call'](_0xaf3487,'data')&&_0x27c11a['uint32'](0xa)['string'](_0xaf3487['data']),null!=_0xaf3487['data1']&&Object['hasOwnProperty']['call'](_0xaf3487,'data1')&&_0x27c11a['uint32'](0x12)['bytes'](_0xaf3487['data1']),_0x27c11a;},_0x1e5ae6['encodeDelimited']=function(_0x1ca2bb,_0x5257c3){return this['encode'](_0x1ca2bb,_0x5257c3)['ldelim']();},_0x1e5ae6['decode']=function(_0x29a0e8,_0x4da10d,_0x1ad039){_0x29a0e8 instanceof _0x121a90||(_0x29a0e8=_0x121a90['create'](_0x29a0e8));for(var _0x13bfa7=void 0x0===_0x4da10d?_0x29a0e8['len']:_0x29a0e8['pos']+_0x4da10d,_0x2a37a5=new _0x3ef7a7['ObjectBufferPacketDataMessage']();_0x29a0e8['pos']<_0x13bfa7;){var _0x287052=_0x29a0e8['uint32']();if(_0x287052===_0x1ad039)break;switch(_0x287052>>>0x3){case 0x1:_0x2a37a5['data']=_0x29a0e8['string']();break;case 0x2:_0x2a37a5['data1']=_0x29a0e8['bytes']();break;default:_0x29a0e8['skipType'](0x7&_0x287052);}}return _0x2a37a5;},_0x1e5ae6['decodeDelimited']=function(_0x4a29a0){return _0x4a29a0 instanceof _0x121a90||(_0x4a29a0=new _0x121a90(_0x4a29a0)),this['decode'](_0x4a29a0,_0x4a29a0['uint32']());},_0x1e5ae6['verify']=function(_0x5d970a){return'object'!=typeof _0x5d970a||null===_0x5d970a?'object\x20expected':null!=_0x5d970a['data']&&_0x5d970a['hasOwnProperty']('data')&&!_0x3aba14['isString'](_0x5d970a['data'])?'data:\x20string\x20expected':null!=_0x5d970a['data1']&&_0x5d970a['hasOwnProperty']('data1')&&!(_0x5d970a['data1']&&'number'==typeof _0x5d970a['data1']['length']||_0x3aba14['isString'](_0x5d970a['data1']))?'data1:\x20buffer\x20expected':null;},_0x1e5ae6['fromObject']=function(_0x3c711f){if(_0x3c711f instanceof _0x3ef7a7['ObjectBufferPacketDataMessage'])return _0x3c711f;var _0x2ceac1=new _0x3ef7a7['ObjectBufferPacketDataMessage']();return null!=_0x3c711f['data']&&(_0x2ceac1['data']=String(_0x3c711f['data'])),null!=_0x3c711f['data1']&&('string'==typeof _0x3c711f['data1']?_0x3aba14['base64']['decode'](_0x3c711f['data1'],_0x2ceac1['data1']=_0x3aba14['newBuffer'](_0x3aba14['base64']['length'](_0x3c711f['data1'])),0x0):_0x3c711f['data1']['length']>=0x0&&(_0x2ceac1['data1']=_0x3c711f['data1'])),_0x2ceac1;},_0x1e5ae6['toObject']=function(_0x2ded09,_0x21f307){_0x21f307||(_0x21f307={});var _0x4d7eac={};return _0x21f307['defaults']&&(_0x4d7eac['data']='',_0x21f307['bytes']===String?_0x4d7eac['data1']='':(_0x4d7eac['data1']=[],_0x21f307['bytes']!==Array&&(_0x4d7eac['data1']=_0x3aba14['newBuffer'](_0x4d7eac['data1'])))),null!=_0x2ded09['data']&&_0x2ded09['hasOwnProperty']('data')&&(_0x4d7eac['data']=_0x2ded09['data']),null!=_0x2ded09['data1']&&_0x2ded09['hasOwnProperty']('data1')&&(_0x4d7eac['data1']=_0x21f307['bytes']===String?_0x3aba14['base64']['encode'](_0x2ded09['data1'],0x0,_0x2ded09['data1']['length']):_0x21f307['bytes']===Array?Array['prototype']['slice']['call'](_0x2ded09['data1']):_0x2ded09['data1']),_0x4d7eac;},_0x1e5ae6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1e5ae6['getTypeUrl']=function(_0xe67b9c){return void 0x0===_0xe67b9c&&(_0xe67b9c='type.googleapis.com'),_0xe67b9c+'/ObjectBufferPacketDataMessage';},_0x1e5ae6;}()),_0x3ef7a7['NumberStringPacketDataMessage']=(function(){function _0x12d74e(_0x3d3bc3){if(_0x3d3bc3){for(var _0x2a86ec=Object['keys'](_0x3d3bc3),_0x2f36ed=0x0;_0x2f36ed<_0x2a86ec['length'];++_0x2f36ed)null!=_0x3d3bc3[_0x2a86ec[_0x2f36ed]]&&(this[_0x2a86ec[_0x2f36ed]]=_0x3d3bc3[_0x2a86ec[_0x2f36ed]]);}}return _0x12d74e['prototype']['data']=0x0,_0x12d74e['prototype']['data1']='',_0x12d74e['create']=function(_0x2f67b1){return new _0x12d74e(_0x2f67b1);},_0x12d74e['encode']=function(_0x470feb,_0x24cecd){return _0x24cecd||(_0x24cecd=_0x10e177['create']()),null!=_0x470feb['data']&&Object['hasOwnProperty']['call'](_0x470feb,'data')&&_0x24cecd['uint32'](0x8)['uint32'](_0x470feb['data']),null!=_0x470feb['data1']&&Object['hasOwnProperty']['call'](_0x470feb,'data1')&&_0x24cecd['uint32'](0x12)['string'](_0x470feb['data1']),_0x24cecd;},_0x12d74e['encodeDelimited']=function(_0xa3410f,_0x4472c9){return this['encode'](_0xa3410f,_0x4472c9)['ldelim']();},_0x12d74e['decode']=function(_0x210b7b,_0x61d11f,_0x247ef3){_0x210b7b instanceof _0x121a90||(_0x210b7b=_0x121a90['create'](_0x210b7b));for(var _0x59f2bd=void 0x0===_0x61d11f?_0x210b7b['len']:_0x210b7b['pos']+_0x61d11f,_0x273725=new _0x3ef7a7['NumberStringPacketDataMessage']();_0x210b7b['pos']<_0x59f2bd;){var _0x2fee5d=_0x210b7b['uint32']();if(_0x2fee5d===_0x247ef3)break;switch(_0x2fee5d>>>0x3){case 0x1:_0x273725['data']=_0x210b7b['uint32']();break;case 0x2:_0x273725['data1']=_0x210b7b['string']();break;default:_0x210b7b['skipType'](0x7&_0x2fee5d);}}return _0x273725;},_0x12d74e['decodeDelimited']=function(_0x595f0a){return _0x595f0a instanceof _0x121a90||(_0x595f0a=new _0x121a90(_0x595f0a)),this['decode'](_0x595f0a,_0x595f0a['uint32']());},_0x12d74e['verify']=function(_0x40539d){return'object'!=typeof _0x40539d||null===_0x40539d?'object\x20expected':null!=_0x40539d['data']&&_0x40539d['hasOwnProperty']('data')&&!_0x3aba14['isInteger'](_0x40539d['data'])?'data:\x20integer\x20expected':null!=_0x40539d['data1']&&_0x40539d['hasOwnProperty']('data1')&&!_0x3aba14['isString'](_0x40539d['data1'])?'data1:\x20string\x20expected':null;},_0x12d74e['fromObject']=function(_0x33696f){if(_0x33696f instanceof _0x3ef7a7['NumberStringPacketDataMessage'])return _0x33696f;var _0x289566=new _0x3ef7a7['NumberStringPacketDataMessage']();return null!=_0x33696f['data']&&(_0x289566['data']=_0x33696f['data']>>>0x0),null!=_0x33696f['data1']&&(_0x289566['data1']=String(_0x33696f['data1'])),_0x289566;},_0x12d74e['toObject']=function(_0x3f5a1c,_0x467f4f){_0x467f4f||(_0x467f4f={});var _0x364b77={};return _0x467f4f['defaults']&&(_0x364b77['data']=0x0,_0x364b77['data1']=''),null!=_0x3f5a1c['data']&&_0x3f5a1c['hasOwnProperty']('data')&&(_0x364b77['data']=_0x3f5a1c['data']),null!=_0x3f5a1c['data1']&&_0x3f5a1c['hasOwnProperty']('data1')&&(_0x364b77['data1']=_0x3f5a1c['data1']),_0x364b77;},_0x12d74e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x12d74e['getTypeUrl']=function(_0x28a8ed){return void 0x0===_0x28a8ed&&(_0x28a8ed='type.googleapis.com'),_0x28a8ed+'/NumberStringPacketDataMessage';},_0x12d74e;}()),_0x3ef7a7['NumberObjectPacketDataMessage']=(function(){function _0x3ebc42(_0x15bacf){if(_0x15bacf){for(var _0x11fd75=Object['keys'](_0x15bacf),_0x5b6c96=0x0;_0x5b6c96<_0x11fd75['length'];++_0x5b6c96)null!=_0x15bacf[_0x11fd75[_0x5b6c96]]&&(this[_0x11fd75[_0x5b6c96]]=_0x15bacf[_0x11fd75[_0x5b6c96]]);}}return _0x3ebc42['prototype']['data']=0x0,_0x3ebc42['prototype']['data1']='',_0x3ebc42['create']=function(_0xee96d3){return new _0x3ebc42(_0xee96d3);},_0x3ebc42['encode']=function(_0x569989,_0x1da2c4){return _0x1da2c4||(_0x1da2c4=_0x10e177['create']()),null!=_0x569989['data']&&Object['hasOwnProperty']['call'](_0x569989,'data')&&_0x1da2c4['uint32'](0x8)['uint32'](_0x569989['data']),null!=_0x569989['data1']&&Object['hasOwnProperty']['call'](_0x569989,'data1')&&_0x1da2c4['uint32'](0x12)['string'](_0x569989['data1']),_0x1da2c4;},_0x3ebc42['encodeDelimited']=function(_0x448b64,_0x5a3967){return this['encode'](_0x448b64,_0x5a3967)['ldelim']();},_0x3ebc42['decode']=function(_0x27b802,_0x100f90,_0x1c5b21){_0x27b802 instanceof _0x121a90||(_0x27b802=_0x121a90['create'](_0x27b802));for(var _0x5a4f77=void 0x0===_0x100f90?_0x27b802['len']:_0x27b802['pos']+_0x100f90,_0x19f0d7=new _0x3ef7a7['NumberObjectPacketDataMessage']();_0x27b802['pos']<_0x5a4f77;){var _0x2945cc=_0x27b802['uint32']();if(_0x2945cc===_0x1c5b21)break;switch(_0x2945cc>>>0x3){case 0x1:_0x19f0d7['data']=_0x27b802['uint32']();break;case 0x2:_0x19f0d7['data1']=_0x27b802['string']();break;default:_0x27b802['skipType'](0x7&_0x2945cc);}}return _0x19f0d7;},_0x3ebc42['decodeDelimited']=function(_0xc5b344){return _0xc5b344 instanceof _0x121a90||(_0xc5b344=new _0x121a90(_0xc5b344)),this['decode'](_0xc5b344,_0xc5b344['uint32']());},_0x3ebc42['verify']=function(_0x63a9fb){return'object'!=typeof _0x63a9fb||null===_0x63a9fb?'object\x20expected':null!=_0x63a9fb['data']&&_0x63a9fb['hasOwnProperty']('data')&&!_0x3aba14['isInteger'](_0x63a9fb['data'])?'data:\x20integer\x20expected':null!=_0x63a9fb['data1']&&_0x63a9fb['hasOwnProperty']('data1')&&!_0x3aba14['isString'](_0x63a9fb['data1'])?'data1:\x20string\x20expected':null;},_0x3ebc42['fromObject']=function(_0x5c9dbd){if(_0x5c9dbd instanceof _0x3ef7a7['NumberObjectPacketDataMessage'])return _0x5c9dbd;var _0x5becc9=new _0x3ef7a7['NumberObjectPacketDataMessage']();return null!=_0x5c9dbd['data']&&(_0x5becc9['data']=_0x5c9dbd['data']>>>0x0),null!=_0x5c9dbd['data1']&&(_0x5becc9['data1']=String(_0x5c9dbd['data1'])),_0x5becc9;},_0x3ebc42['toObject']=function(_0x2cc51f,_0x2c81cb){_0x2c81cb||(_0x2c81cb={});var _0xf957d9={};return _0x2c81cb['defaults']&&(_0xf957d9['data']=0x0,_0xf957d9['data1']=''),null!=_0x2cc51f['data']&&_0x2cc51f['hasOwnProperty']('data')&&(_0xf957d9['data']=_0x2cc51f['data']),null!=_0x2cc51f['data1']&&_0x2cc51f['hasOwnProperty']('data1')&&(_0xf957d9['data1']=_0x2cc51f['data1']),_0xf957d9;},_0x3ebc42['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3ebc42['getTypeUrl']=function(_0x479103){return void 0x0===_0x479103&&(_0x479103='type.googleapis.com'),_0x479103+'/NumberObjectPacketDataMessage';},_0x3ebc42;}()),_0x3ef7a7['NumberNumberPacketDataMessage']=(function(){function _0xcbfa28(_0x1c0f9f){if(_0x1c0f9f){for(var _0x1209e5=Object['keys'](_0x1c0f9f),_0x441cbc=0x0;_0x441cbc<_0x1209e5['length'];++_0x441cbc)null!=_0x1c0f9f[_0x1209e5[_0x441cbc]]&&(this[_0x1209e5[_0x441cbc]]=_0x1c0f9f[_0x1209e5[_0x441cbc]]);}}return _0xcbfa28['prototype']['data']=0x0,_0xcbfa28['prototype']['data1']=0x0,_0xcbfa28['create']=function(_0x11ecba){return new _0xcbfa28(_0x11ecba);},_0xcbfa28['encode']=function(_0x27a028,_0x3c84e7){return _0x3c84e7||(_0x3c84e7=_0x10e177['create']()),null!=_0x27a028['data']&&Object['hasOwnProperty']['call'](_0x27a028,'data')&&_0x3c84e7['uint32'](0x8)['uint32'](_0x27a028['data']),null!=_0x27a028['data1']&&Object['hasOwnProperty']['call'](_0x27a028,'data1')&&_0x3c84e7['uint32'](0x10)['uint32'](_0x27a028['data1']),_0x3c84e7;},_0xcbfa28['encodeDelimited']=function(_0x220184,_0x49a348){return this['encode'](_0x220184,_0x49a348)['ldelim']();},_0xcbfa28['decode']=function(_0x409ede,_0x1e7900,_0x413173){_0x409ede instanceof _0x121a90||(_0x409ede=_0x121a90['create'](_0x409ede));for(var _0x2ab645=void 0x0===_0x1e7900?_0x409ede['len']:_0x409ede['pos']+_0x1e7900,_0x18d2db=new _0x3ef7a7['NumberNumberPacketDataMessage']();_0x409ede['pos']<_0x2ab645;){var _0x55d64d=_0x409ede['uint32']();if(_0x55d64d===_0x413173)break;switch(_0x55d64d>>>0x3){case 0x1:_0x18d2db['data']=_0x409ede['uint32']();break;case 0x2:_0x18d2db['data1']=_0x409ede['uint32']();break;default:_0x409ede['skipType'](0x7&_0x55d64d);}}return _0x18d2db;},_0xcbfa28['decodeDelimited']=function(_0x5d7b90){return _0x5d7b90 instanceof _0x121a90||(_0x5d7b90=new _0x121a90(_0x5d7b90)),this['decode'](_0x5d7b90,_0x5d7b90['uint32']());},_0xcbfa28['verify']=function(_0xe2e88d){return'object'!=typeof _0xe2e88d||null===_0xe2e88d?'object\x20expected':null!=_0xe2e88d['data']&&_0xe2e88d['hasOwnProperty']('data')&&!_0x3aba14['isInteger'](_0xe2e88d['data'])?'data:\x20integer\x20expected':null!=_0xe2e88d['data1']&&_0xe2e88d['hasOwnProperty']('data1')&&!_0x3aba14['isInteger'](_0xe2e88d['data1'])?'data1:\x20integer\x20expected':null;},_0xcbfa28['fromObject']=function(_0x5801c2){if(_0x5801c2 instanceof _0x3ef7a7['NumberNumberPacketDataMessage'])return _0x5801c2;var _0x174fee=new _0x3ef7a7['NumberNumberPacketDataMessage']();return null!=_0x5801c2['data']&&(_0x174fee['data']=_0x5801c2['data']>>>0x0),null!=_0x5801c2['data1']&&(_0x174fee['data1']=_0x5801c2['data1']>>>0x0),_0x174fee;},_0xcbfa28['toObject']=function(_0xee6149,_0x3f7078){_0x3f7078||(_0x3f7078={});var _0x4c4f8f={};return _0x3f7078['defaults']&&(_0x4c4f8f['data']=0x0,_0x4c4f8f['data1']=0x0),null!=_0xee6149['data']&&_0xee6149['hasOwnProperty']('data')&&(_0x4c4f8f['data']=_0xee6149['data']),null!=_0xee6149['data1']&&_0xee6149['hasOwnProperty']('data1')&&(_0x4c4f8f['data1']=_0xee6149['data1']),_0x4c4f8f;},_0xcbfa28['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xcbfa28['getTypeUrl']=function(_0x1c8f20){return void 0x0===_0x1c8f20&&(_0x1c8f20='type.googleapis.com'),_0x1c8f20+'/NumberNumberPacketDataMessage';},_0xcbfa28;}()),_0x3ef7a7['NumberBytesPacketDataMessage']=(function(){function _0x3a0f18(_0x37daf4){if(_0x37daf4){for(var _0xe0f492=Object['keys'](_0x37daf4),_0x5a2e7d=0x0;_0x5a2e7d<_0xe0f492['length'];++_0x5a2e7d)null!=_0x37daf4[_0xe0f492[_0x5a2e7d]]&&(this[_0xe0f492[_0x5a2e7d]]=_0x37daf4[_0xe0f492[_0x5a2e7d]]);}}return _0x3a0f18['prototype']['data']=0x0,_0x3a0f18['prototype']['data1']=_0x3aba14['newBuffer']([]),_0x3a0f18['create']=function(_0x508859){return new _0x3a0f18(_0x508859);},_0x3a0f18['encode']=function(_0x15072e,_0x91e14a){return _0x91e14a||(_0x91e14a=_0x10e177['create']()),null!=_0x15072e['data']&&Object['hasOwnProperty']['call'](_0x15072e,'data')&&_0x91e14a['uint32'](0x8)['uint32'](_0x15072e['data']),null!=_0x15072e['data1']&&Object['hasOwnProperty']['call'](_0x15072e,'data1')&&_0x91e14a['uint32'](0x12)['bytes'](_0x15072e['data1']),_0x91e14a;},_0x3a0f18['encodeDelimited']=function(_0x236455,_0x2a1bc4){return this['encode'](_0x236455,_0x2a1bc4)['ldelim']();},_0x3a0f18['decode']=function(_0x11ab39,_0x44fb1f,_0x2aaec9){_0x11ab39 instanceof _0x121a90||(_0x11ab39=_0x121a90['create'](_0x11ab39));for(var _0x256a93=void 0x0===_0x44fb1f?_0x11ab39['len']:_0x11ab39['pos']+_0x44fb1f,_0x6a1c82=new _0x3ef7a7['NumberBytesPacketDataMessage']();_0x11ab39['pos']<_0x256a93;){var _0x1376c4=_0x11ab39['uint32']();if(_0x1376c4===_0x2aaec9)break;switch(_0x1376c4>>>0x3){case 0x1:_0x6a1c82['data']=_0x11ab39['uint32']();break;case 0x2:_0x6a1c82['data1']=_0x11ab39['bytes']();break;default:_0x11ab39['skipType'](0x7&_0x1376c4);}}return _0x6a1c82;},_0x3a0f18['decodeDelimited']=function(_0x206703){return _0x206703 instanceof _0x121a90||(_0x206703=new _0x121a90(_0x206703)),this['decode'](_0x206703,_0x206703['uint32']());},_0x3a0f18['verify']=function(_0x387c6c){return'object'!=typeof _0x387c6c||null===_0x387c6c?'object\x20expected':null!=_0x387c6c['data']&&_0x387c6c['hasOwnProperty']('data')&&!_0x3aba14['isInteger'](_0x387c6c['data'])?'data:\x20integer\x20expected':null!=_0x387c6c['data1']&&_0x387c6c['hasOwnProperty']('data1')&&!(_0x387c6c['data1']&&'number'==typeof _0x387c6c['data1']['length']||_0x3aba14['isString'](_0x387c6c['data1']))?'data1:\x20buffer\x20expected':null;},_0x3a0f18['fromObject']=function(_0x316eb0){if(_0x316eb0 instanceof _0x3ef7a7['NumberBytesPacketDataMessage'])return _0x316eb0;var _0x122ec9=new _0x3ef7a7['NumberBytesPacketDataMessage']();return null!=_0x316eb0['data']&&(_0x122ec9['data']=_0x316eb0['data']>>>0x0),null!=_0x316eb0['data1']&&('string'==typeof _0x316eb0['data1']?_0x3aba14['base64']['decode'](_0x316eb0['data1'],_0x122ec9['data1']=_0x3aba14['newBuffer'](_0x3aba14['base64']['length'](_0x316eb0['data1'])),0x0):_0x316eb0['data1']['length']>=0x0&&(_0x122ec9['data1']=_0x316eb0['data1'])),_0x122ec9;},_0x3a0f18['toObject']=function(_0x22a16e,_0x168127){_0x168127||(_0x168127={});var _0x2e8972={};return _0x168127['defaults']&&(_0x2e8972['data']=0x0,_0x168127['bytes']===String?_0x2e8972['data1']='':(_0x2e8972['data1']=[],_0x168127['bytes']!==Array&&(_0x2e8972['data1']=_0x3aba14['newBuffer'](_0x2e8972['data1'])))),null!=_0x22a16e['data']&&_0x22a16e['hasOwnProperty']('data')&&(_0x2e8972['data']=_0x22a16e['data']),null!=_0x22a16e['data1']&&_0x22a16e['hasOwnProperty']('data1')&&(_0x2e8972['data1']=_0x168127['bytes']===String?_0x3aba14['base64']['encode'](_0x22a16e['data1'],0x0,_0x22a16e['data1']['length']):_0x168127['bytes']===Array?Array['prototype']['slice']['call'](_0x22a16e['data1']):_0x22a16e['data1']),_0x2e8972;},_0x3a0f18['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3a0f18['getTypeUrl']=function(_0x30014d){return void 0x0===_0x30014d&&(_0x30014d='type.googleapis.com'),_0x30014d+'/NumberBytesPacketDataMessage';},_0x3a0f18;}()),_0x3ef7a7['BytesBytesPacketDataMessage']=(function(){function _0x1f0448(_0x49a317){if(_0x49a317){for(var _0x15546c=Object['keys'](_0x49a317),_0x2c5fd6=0x0;_0x2c5fd6<_0x15546c['length'];++_0x2c5fd6)null!=_0x49a317[_0x15546c[_0x2c5fd6]]&&(this[_0x15546c[_0x2c5fd6]]=_0x49a317[_0x15546c[_0x2c5fd6]]);}}return _0x1f0448['prototype']['data']=_0x3aba14['newBuffer']([]),_0x1f0448['prototype']['data1']=_0x3aba14['newBuffer']([]),_0x1f0448['create']=function(_0x5b4498){return new _0x1f0448(_0x5b4498);},_0x1f0448['encode']=function(_0x1fc542,_0x66354){return _0x66354||(_0x66354=_0x10e177['create']()),null!=_0x1fc542['data']&&Object['hasOwnProperty']['call'](_0x1fc542,'data')&&_0x66354['uint32'](0xa)['bytes'](_0x1fc542['data']),null!=_0x1fc542['data1']&&Object['hasOwnProperty']['call'](_0x1fc542,'data1')&&_0x66354['uint32'](0x12)['bytes'](_0x1fc542['data1']),_0x66354;},_0x1f0448['encodeDelimited']=function(_0x4bbfef,_0x28cd35){return this['encode'](_0x4bbfef,_0x28cd35)['ldelim']();},_0x1f0448['decode']=function(_0x1db37a,_0x465857,_0x2e7f5c){_0x1db37a instanceof _0x121a90||(_0x1db37a=_0x121a90['create'](_0x1db37a));for(var _0x532c53=void 0x0===_0x465857?_0x1db37a['len']:_0x1db37a['pos']+_0x465857,_0x27752e=new _0x3ef7a7['BytesBytesPacketDataMessage']();_0x1db37a['pos']<_0x532c53;){var _0x5d5063=_0x1db37a['uint32']();if(_0x5d5063===_0x2e7f5c)break;switch(_0x5d5063>>>0x3){case 0x1:_0x27752e['data']=_0x1db37a['bytes']();break;case 0x2:_0x27752e['data1']=_0x1db37a['bytes']();break;default:_0x1db37a['skipType'](0x7&_0x5d5063);}}return _0x27752e;},_0x1f0448['decodeDelimited']=function(_0xd9b5cc){return _0xd9b5cc instanceof _0x121a90||(_0xd9b5cc=new _0x121a90(_0xd9b5cc)),this['decode'](_0xd9b5cc,_0xd9b5cc['uint32']());},_0x1f0448['verify']=function(_0x51daf7){return'object'!=typeof _0x51daf7||null===_0x51daf7?'object\x20expected':null!=_0x51daf7['data']&&_0x51daf7['hasOwnProperty']('data')&&!(_0x51daf7['data']&&'number'==typeof _0x51daf7['data']['length']||_0x3aba14['isString'](_0x51daf7['data']))?'data:\x20buffer\x20expected':null!=_0x51daf7['data1']&&_0x51daf7['hasOwnProperty']('data1')&&!(_0x51daf7['data1']&&'number'==typeof _0x51daf7['data1']['length']||_0x3aba14['isString'](_0x51daf7['data1']))?'data1:\x20buffer\x20expected':null;},_0x1f0448['fromObject']=function(_0x4a42a2){if(_0x4a42a2 instanceof _0x3ef7a7['BytesBytesPacketDataMessage'])return _0x4a42a2;var _0x15e04d=new _0x3ef7a7['BytesBytesPacketDataMessage']();return null!=_0x4a42a2['data']&&('string'==typeof _0x4a42a2['data']?_0x3aba14['base64']['decode'](_0x4a42a2['data'],_0x15e04d['data']=_0x3aba14['newBuffer'](_0x3aba14['base64']['length'](_0x4a42a2['data'])),0x0):_0x4a42a2['data']['length']>=0x0&&(_0x15e04d['data']=_0x4a42a2['data'])),null!=_0x4a42a2['data1']&&('string'==typeof _0x4a42a2['data1']?_0x3aba14['base64']['decode'](_0x4a42a2['data1'],_0x15e04d['data1']=_0x3aba14['newBuffer'](_0x3aba14['base64']['length'](_0x4a42a2['data1'])),0x0):_0x4a42a2['data1']['length']>=0x0&&(_0x15e04d['data1']=_0x4a42a2['data1'])),_0x15e04d;},_0x1f0448['toObject']=function(_0x3c1147,_0x4aaf72){_0x4aaf72||(_0x4aaf72={});var _0x18636c={};return _0x4aaf72['defaults']&&(_0x4aaf72['bytes']===String?_0x18636c['data']='':(_0x18636c['data']=[],_0x4aaf72['bytes']!==Array&&(_0x18636c['data']=_0x3aba14['newBuffer'](_0x18636c['data']))),_0x4aaf72['bytes']===String?_0x18636c['data1']='':(_0x18636c['data1']=[],_0x4aaf72['bytes']!==Array&&(_0x18636c['data1']=_0x3aba14['newBuffer'](_0x18636c['data1'])))),null!=_0x3c1147['data']&&_0x3c1147['hasOwnProperty']('data')&&(_0x18636c['data']=_0x4aaf72['bytes']===String?_0x3aba14['base64']['encode'](_0x3c1147['data'],0x0,_0x3c1147['data']['length']):_0x4aaf72['bytes']===Array?Array['prototype']['slice']['call'](_0x3c1147['data']):_0x3c1147['data']),null!=_0x3c1147['data1']&&_0x3c1147['hasOwnProperty']('data1')&&(_0x18636c['data1']=_0x4aaf72['bytes']===String?_0x3aba14['base64']['encode'](_0x3c1147['data1'],0x0,_0x3c1147['data1']['length']):_0x4aaf72['bytes']===Array?Array['prototype']['slice']['call'](_0x3c1147['data1']):_0x3c1147['data1']),_0x18636c;},_0x1f0448['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1f0448['getTypeUrl']=function(_0x1111fe){return void 0x0===_0x1111fe&&(_0x1111fe='type.googleapis.com'),_0x1111fe+'/BytesBytesPacketDataMessage';},_0x1f0448;}()),_0x3ef7a7['ChannelMessage']=(function(){function _0x2dc8c8(_0x4ecba0){if(_0x4ecba0){for(var _0x33be70=Object['keys'](_0x4ecba0),_0x4f7aa4=0x0;_0x4f7aa4<_0x33be70['length'];++_0x4f7aa4)null!=_0x4ecba0[_0x33be70[_0x4f7aa4]]&&(this[_0x33be70[_0x4f7aa4]]=_0x4ecba0[_0x33be70[_0x4f7aa4]]);}}return _0x2dc8c8['prototype']['type']=0x0,_0x2dc8c8['prototype']['socketId']='',_0x2dc8c8['prototype']['data']=_0x3aba14['newBuffer']([]),_0x2dc8c8['create']=function(_0x10c2a6){return new _0x2dc8c8(_0x10c2a6);},_0x2dc8c8['encode']=function(_0x2dd35e,_0x11491d){return _0x11491d||(_0x11491d=_0x10e177['create']()),null!=_0x2dd35e['type']&&Object['hasOwnProperty']['call'](_0x2dd35e,'type')&&_0x11491d['uint32'](0x8)['uint32'](_0x2dd35e['type']),null!=_0x2dd35e['socketId']&&Object['hasOwnProperty']['call'](_0x2dd35e,'socketId')&&_0x11491d['uint32'](0x12)['string'](_0x2dd35e['socketId']),null!=_0x2dd35e['data']&&Object['hasOwnProperty']['call'](_0x2dd35e,'data')&&_0x11491d['uint32'](0x1a)['bytes'](_0x2dd35e['data']),_0x11491d;},_0x2dc8c8['encodeDelimited']=function(_0x2c8d69,_0x43413f){return this['encode'](_0x2c8d69,_0x43413f)['ldelim']();},_0x2dc8c8['decode']=function(_0x4bdedd,_0x9c7c4d,_0x3ca50e){_0x4bdedd instanceof _0x121a90||(_0x4bdedd=_0x121a90['create'](_0x4bdedd));for(var _0xb5d177=void 0x0===_0x9c7c4d?_0x4bdedd['len']:_0x4bdedd['pos']+_0x9c7c4d,_0x43ba5c=new _0x3ef7a7['ChannelMessage']();_0x4bdedd['pos']<_0xb5d177;){var _0x43a4c3=_0x4bdedd['uint32']();if(_0x43a4c3===_0x3ca50e)break;switch(_0x43a4c3>>>0x3){case 0x1:_0x43ba5c['type']=_0x4bdedd['uint32']();break;case 0x2:_0x43ba5c['socketId']=_0x4bdedd['string']();break;case 0x3:_0x43ba5c['data']=_0x4bdedd['bytes']();break;default:_0x4bdedd['skipType'](0x7&_0x43a4c3);}}return _0x43ba5c;},_0x2dc8c8['decodeDelimited']=function(_0x2da27c){return _0x2da27c instanceof _0x121a90||(_0x2da27c=new _0x121a90(_0x2da27c)),this['decode'](_0x2da27c,_0x2da27c['uint32']());},_0x2dc8c8['verify']=function(_0x5236df){return'object'!=typeof _0x5236df||null===_0x5236df?'object\x20expected':null!=_0x5236df['type']&&_0x5236df['hasOwnProperty']('type')&&!_0x3aba14['isInteger'](_0x5236df['type'])?'type:\x20integer\x20expected':null!=_0x5236df['socketId']&&_0x5236df['hasOwnProperty']('socketId')&&!_0x3aba14['isString'](_0x5236df['socketId'])?'socketId:\x20string\x20expected':null!=_0x5236df['data']&&_0x5236df['hasOwnProperty']('data')&&!(_0x5236df['data']&&'number'==typeof _0x5236df['data']['length']||_0x3aba14['isString'](_0x5236df['data']))?'data:\x20buffer\x20expected':null;},_0x2dc8c8['fromObject']=function(_0x583d34){if(_0x583d34 instanceof _0x3ef7a7['ChannelMessage'])return _0x583d34;var _0x1b1124=new _0x3ef7a7['ChannelMessage']();return null!=_0x583d34['type']&&(_0x1b1124['type']=_0x583d34['type']>>>0x0),null!=_0x583d34['socketId']&&(_0x1b1124['socketId']=String(_0x583d34['socketId'])),null!=_0x583d34['data']&&('string'==typeof _0x583d34['data']?_0x3aba14['base64']['decode'](_0x583d34['data'],_0x1b1124['data']=_0x3aba14['newBuffer'](_0x3aba14['base64']['length'](_0x583d34['data'])),0x0):_0x583d34['data']['length']>=0x0&&(_0x1b1124['data']=_0x583d34['data'])),_0x1b1124;},_0x2dc8c8['toObject']=function(_0x5a7fae,_0x32453c){_0x32453c||(_0x32453c={});var _0x533a89={};return _0x32453c['defaults']&&(_0x533a89['type']=0x0,_0x533a89['socketId']='',_0x32453c['bytes']===String?_0x533a89['data']='':(_0x533a89['data']=[],_0x32453c['bytes']!==Array&&(_0x533a89['data']=_0x3aba14['newBuffer'](_0x533a89['data'])))),null!=_0x5a7fae['type']&&_0x5a7fae['hasOwnProperty']('type')&&(_0x533a89['type']=_0x5a7fae['type']),null!=_0x5a7fae['socketId']&&_0x5a7fae['hasOwnProperty']('socketId')&&(_0x533a89['socketId']=_0x5a7fae['socketId']),null!=_0x5a7fae['data']&&_0x5a7fae['hasOwnProperty']('data')&&(_0x533a89['data']=_0x32453c['bytes']===String?_0x3aba14['base64']['encode'](_0x5a7fae['data'],0x0,_0x5a7fae['data']['length']):_0x32453c['bytes']===Array?Array['prototype']['slice']['call'](_0x5a7fae['data']):_0x5a7fae['data']),_0x533a89;},_0x2dc8c8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2dc8c8['getTypeUrl']=function(_0x16b2ce){return void 0x0===_0x16b2ce&&(_0x16b2ce='type.googleapis.com'),_0x16b2ce+'/ChannelMessage';},_0x2dc8c8;}()),_0x3ef7a7['GetUserResponse']=(function(){function _0x4a270b(_0x3c8a65){if(this['attributes']=[],_0x3c8a65){for(var _0x4634db=Object['keys'](_0x3c8a65),_0x37b486=0x0;_0x37b486<_0x4634db['length'];++_0x37b486)null!=_0x3c8a65[_0x4634db[_0x37b486]]&&(this[_0x4634db[_0x37b486]]=_0x3c8a65[_0x4634db[_0x37b486]]);}}return _0x4a270b['prototype']['attributes']=_0x3aba14['emptyArray'],_0x4a270b['create']=function(_0x72b54a){return new _0x4a270b(_0x72b54a);},_0x4a270b['encode']=function(_0x4735e9,_0xee931f){if(_0xee931f||(_0xee931f=_0x10e177['create']()),null!=_0x4735e9['attributes']&&_0x4735e9['attributes']['length']){for(var _0x32c5ca=0x0;_0x32c5ca<_0x4735e9['attributes']['length'];++_0x32c5ca)_0x3ef7a7['KeyValueDescriptor']['encode'](_0x4735e9['attributes'][_0x32c5ca],_0xee931f['uint32'](0xa)['fork']())['ldelim']();}return _0xee931f;},_0x4a270b['encodeDelimited']=function(_0x19819f,_0x1f7329){return this['encode'](_0x19819f,_0x1f7329)['ldelim']();},_0x4a270b['decode']=function(_0x5b3118,_0x49546a,_0x17b88f){_0x5b3118 instanceof _0x121a90||(_0x5b3118=_0x121a90['create'](_0x5b3118));for(var _0x36d9c6=void 0x0===_0x49546a?_0x5b3118['len']:_0x5b3118['pos']+_0x49546a,_0xfe3ca8=new _0x3ef7a7['GetUserResponse']();_0x5b3118['pos']<_0x36d9c6;){var _0x3c113d=_0x5b3118['uint32']();if(_0x3c113d===_0x17b88f)break;_0x3c113d>>>0x3==0x1?(_0xfe3ca8['attributes']&&_0xfe3ca8['attributes']['length']||(_0xfe3ca8['attributes']=[]),_0xfe3ca8['attributes']['push'](_0x3ef7a7['KeyValueDescriptor']['decode'](_0x5b3118,_0x5b3118['uint32']()))):_0x5b3118['skipType'](0x7&_0x3c113d);}return _0xfe3ca8;},_0x4a270b['decodeDelimited']=function(_0x3aa397){return _0x3aa397 instanceof _0x121a90||(_0x3aa397=new _0x121a90(_0x3aa397)),this['decode'](_0x3aa397,_0x3aa397['uint32']());},_0x4a270b['verify']=function(_0x533d2e){if('object'!=typeof _0x533d2e||null===_0x533d2e)return'object\x20expected';if(null!=_0x533d2e['attributes']&&_0x533d2e['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x533d2e['attributes']))return'attributes:\x20array\x20expected';for(var _0x135d5f=0x0;_0x135d5f<_0x533d2e['attributes']['length'];++_0x135d5f){var _0x12044b=_0x3ef7a7['KeyValueDescriptor']['verify'](_0x533d2e['attributes'][_0x135d5f]);if(_0x12044b)return'attributes.'+_0x12044b;}}return null;},_0x4a270b['fromObject']=function(_0x31ed50){if(_0x31ed50 instanceof _0x3ef7a7['GetUserResponse'])return _0x31ed50;var _0x528ada=new _0x3ef7a7['GetUserResponse']();if(_0x31ed50['attributes']){if(!Array['isArray'](_0x31ed50['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x528ada['attributes']=[];for(var _0x1e36ed=0x0;_0x1e36ed<_0x31ed50['attributes']['length'];++_0x1e36ed){if('object'!=typeof _0x31ed50['attributes'][_0x1e36ed])throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x528ada['attributes'][_0x1e36ed]=_0x3ef7a7['KeyValueDescriptor']['fromObject'](_0x31ed50['attributes'][_0x1e36ed]);}}return _0x528ada;},_0x4a270b['toObject']=function(_0x206d41,_0xf29d2){_0xf29d2||(_0xf29d2={});var _0x26ffa9={};if((_0xf29d2['arrays']||_0xf29d2['defaults'])&&(_0x26ffa9['attributes']=[]),_0x206d41['attributes']&&_0x206d41['attributes']['length']){_0x26ffa9['attributes']=[];for(var _0x5590ae=0x0;_0x5590ae<_0x206d41['attributes']['length'];++_0x5590ae)_0x26ffa9['attributes'][_0x5590ae]=_0x3ef7a7['KeyValueDescriptor']['toObject'](_0x206d41['attributes'][_0x5590ae],_0xf29d2);}return _0x26ffa9;},_0x4a270b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4a270b['getTypeUrl']=function(_0x1573cd){return void 0x0===_0x1573cd&&(_0x1573cd='type.googleapis.com'),_0x1573cd+'/GetUserResponse';},_0x4a270b;}()),_0x3ef7a7['GetManyUsersResponse']=(function(){function _0x16fb4b(_0x3dad7f){if(this['users']=[],_0x3dad7f){for(var _0x12527f=Object['keys'](_0x3dad7f),_0x507f2a=0x0;_0x507f2a<_0x12527f['length'];++_0x507f2a)null!=_0x3dad7f[_0x12527f[_0x507f2a]]&&(this[_0x12527f[_0x507f2a]]=_0x3dad7f[_0x12527f[_0x507f2a]]);}}return _0x16fb4b['prototype']['users']=_0x3aba14['emptyArray'],_0x16fb4b['create']=function(_0x152af7){return new _0x16fb4b(_0x152af7);},_0x16fb4b['encode']=function(_0xb3ada,_0x56cd42){if(_0x56cd42||(_0x56cd42=_0x10e177['create']()),null!=_0xb3ada['users']&&_0xb3ada['users']['length']){for(var _0x5dabec=0x0;_0x5dabec<_0xb3ada['users']['length'];++_0x5dabec)_0x3ef7a7['UserDescriptor']['encode'](_0xb3ada['users'][_0x5dabec],_0x56cd42['uint32'](0xa)['fork']())['ldelim']();}return _0x56cd42;},_0x16fb4b['encodeDelimited']=function(_0x42fcec,_0x46531a){return this['encode'](_0x42fcec,_0x46531a)['ldelim']();},_0x16fb4b['decode']=function(_0x2f3f9c,_0x57f101,_0x2609e8){_0x2f3f9c instanceof _0x121a90||(_0x2f3f9c=_0x121a90['create'](_0x2f3f9c));for(var _0x42d72c=void 0x0===_0x57f101?_0x2f3f9c['len']:_0x2f3f9c['pos']+_0x57f101,_0x3fb1ab=new _0x3ef7a7['GetManyUsersResponse']();_0x2f3f9c['pos']<_0x42d72c;){var _0x3e55fb=_0x2f3f9c['uint32']();if(_0x3e55fb===_0x2609e8)break;_0x3e55fb>>>0x3==0x1?(_0x3fb1ab['users']&&_0x3fb1ab['users']['length']||(_0x3fb1ab['users']=[]),_0x3fb1ab['users']['push'](_0x3ef7a7['UserDescriptor']['decode'](_0x2f3f9c,_0x2f3f9c['uint32']()))):_0x2f3f9c['skipType'](0x7&_0x3e55fb);}return _0x3fb1ab;},_0x16fb4b['decodeDelimited']=function(_0x1d33db){return _0x1d33db instanceof _0x121a90||(_0x1d33db=new _0x121a90(_0x1d33db)),this['decode'](_0x1d33db,_0x1d33db['uint32']());},_0x16fb4b['verify']=function(_0x3ccfe2){if('object'!=typeof _0x3ccfe2||null===_0x3ccfe2)return'object\x20expected';if(null!=_0x3ccfe2['users']&&_0x3ccfe2['hasOwnProperty']('users')){if(!Array['isArray'](_0x3ccfe2['users']))return'users:\x20array\x20expected';for(var _0x35809b=0x0;_0x35809b<_0x3ccfe2['users']['length'];++_0x35809b){var _0x15a360=_0x3ef7a7['UserDescriptor']['verify'](_0x3ccfe2['users'][_0x35809b]);if(_0x15a360)return'users.'+_0x15a360;}}return null;},_0x16fb4b['fromObject']=function(_0x18ba20){if(_0x18ba20 instanceof _0x3ef7a7['GetManyUsersResponse'])return _0x18ba20;var _0x4ab0df=new _0x3ef7a7['GetManyUsersResponse']();if(_0x18ba20['users']){if(!Array['isArray'](_0x18ba20['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x4ab0df['users']=[];for(var _0x368191=0x0;_0x368191<_0x18ba20['users']['length'];++_0x368191){if('object'!=typeof _0x18ba20['users'][_0x368191])throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x4ab0df['users'][_0x368191]=_0x3ef7a7['UserDescriptor']['fromObject'](_0x18ba20['users'][_0x368191]);}}return _0x4ab0df;},_0x16fb4b['toObject']=function(_0x2ce265,_0xa6546e){_0xa6546e||(_0xa6546e={});var _0x451632={};if((_0xa6546e['arrays']||_0xa6546e['defaults'])&&(_0x451632['users']=[]),_0x2ce265['users']&&_0x2ce265['users']['length']){_0x451632['users']=[];for(var _0x317c41=0x0;_0x317c41<_0x2ce265['users']['length'];++_0x317c41)_0x451632['users'][_0x317c41]=_0x3ef7a7['UserDescriptor']['toObject'](_0x2ce265['users'][_0x317c41],_0xa6546e);}return _0x451632;},_0x16fb4b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x16fb4b['getTypeUrl']=function(_0x4c3f78){return void 0x0===_0x4c3f78&&(_0x4c3f78='type.googleapis.com'),_0x4c3f78+'/GetManyUsersResponse';},_0x16fb4b;}()),_0x3ef7a7['GetUserMessage']=(function(){function _0x5ddafe(_0x13b09f){if(_0x13b09f){for(var _0x49d928=Object['keys'](_0x13b09f),_0xe91459=0x0;_0xe91459<_0x49d928['length'];++_0xe91459)null!=_0x13b09f[_0x49d928[_0xe91459]]&&(this[_0x49d928[_0xe91459]]=_0x13b09f[_0x49d928[_0xe91459]]);}}return _0x5ddafe['prototype']['id']='',_0x5ddafe['create']=function(_0x4c9d8d){return new _0x5ddafe(_0x4c9d8d);},_0x5ddafe['encode']=function(_0x22a46c,_0x2c2ef9){return _0x2c2ef9||(_0x2c2ef9=_0x10e177['create']()),null!=_0x22a46c['id']&&Object['hasOwnProperty']['call'](_0x22a46c,'id')&&_0x2c2ef9['uint32'](0xa)['string'](_0x22a46c['id']),_0x2c2ef9;},_0x5ddafe['encodeDelimited']=function(_0x4903f6,_0x144aef){return this['encode'](_0x4903f6,_0x144aef)['ldelim']();},_0x5ddafe['decode']=function(_0xa932c1,_0x50eec,_0x121b32){_0xa932c1 instanceof _0x121a90||(_0xa932c1=_0x121a90['create'](_0xa932c1));for(var _0x183e20=void 0x0===_0x50eec?_0xa932c1['len']:_0xa932c1['pos']+_0x50eec,_0x18484f=new _0x3ef7a7['GetUserMessage']();_0xa932c1['pos']<_0x183e20;){var _0x5ad00c=_0xa932c1['uint32']();if(_0x5ad00c===_0x121b32)break;_0x5ad00c>>>0x3==0x1?_0x18484f['id']=_0xa932c1['string']():_0xa932c1['skipType'](0x7&_0x5ad00c);}return _0x18484f;},_0x5ddafe['decodeDelimited']=function(_0x2c9235){return _0x2c9235 instanceof _0x121a90||(_0x2c9235=new _0x121a90(_0x2c9235)),this['decode'](_0x2c9235,_0x2c9235['uint32']());},_0x5ddafe['verify']=function(_0x3b7f46){return'object'!=typeof _0x3b7f46||null===_0x3b7f46?'object\x20expected':null!=_0x3b7f46['id']&&_0x3b7f46['hasOwnProperty']('id')&&!_0x3aba14['isString'](_0x3b7f46['id'])?'id:\x20string\x20expected':null;},_0x5ddafe['fromObject']=function(_0x232f60){if(_0x232f60 instanceof _0x3ef7a7['GetUserMessage'])return _0x232f60;var _0x25b1e9=new _0x3ef7a7['GetUserMessage']();return null!=_0x232f60['id']&&(_0x25b1e9['id']=String(_0x232f60['id'])),_0x25b1e9;},_0x5ddafe['toObject']=function(_0x50a330,_0x9415c3){_0x9415c3||(_0x9415c3={});var _0x3bf0ae={};return _0x9415c3['defaults']&&(_0x3bf0ae['id']=''),null!=_0x50a330['id']&&_0x50a330['hasOwnProperty']('id')&&(_0x3bf0ae['id']=_0x50a330['id']),_0x3bf0ae;},_0x5ddafe['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5ddafe['getTypeUrl']=function(_0x5671ed){return void 0x0===_0x5671ed&&(_0x5671ed='type.googleapis.com'),_0x5671ed+'/GetUserMessage';},_0x5ddafe;}()),_0x3ef7a7['GetManyUsersMessage']=(function(){function _0x13a08d(_0x491e03){if(this['ids']=[],_0x491e03){for(var _0x40ca04=Object['keys'](_0x491e03),_0x46a7e5=0x0;_0x46a7e5<_0x40ca04['length'];++_0x46a7e5)null!=_0x491e03[_0x40ca04[_0x46a7e5]]&&(this[_0x40ca04[_0x46a7e5]]=_0x491e03[_0x40ca04[_0x46a7e5]]);}}return _0x13a08d['prototype']['ids']=_0x3aba14['emptyArray'],_0x13a08d['create']=function(_0x2fc79f){return new _0x13a08d(_0x2fc79f);},_0x13a08d['encode']=function(_0x32ef06,_0xe4a50e){if(_0xe4a50e||(_0xe4a50e=_0x10e177['create']()),null!=_0x32ef06['ids']&&_0x32ef06['ids']['length']){for(var _0x877aca=0x0;_0x877aca<_0x32ef06['ids']['length'];++_0x877aca)_0xe4a50e['uint32'](0xa)['string'](_0x32ef06['ids'][_0x877aca]);}return _0xe4a50e;},_0x13a08d['encodeDelimited']=function(_0x5c9ca0,_0x16092c){return this['encode'](_0x5c9ca0,_0x16092c)['ldelim']();},_0x13a08d['decode']=function(_0x2b47b1,_0x1e293e,_0x189e24){_0x2b47b1 instanceof _0x121a90||(_0x2b47b1=_0x121a90['create'](_0x2b47b1));for(var _0x5e0309=void 0x0===_0x1e293e?_0x2b47b1['len']:_0x2b47b1['pos']+_0x1e293e,_0x5cc137=new _0x3ef7a7['GetManyUsersMessage']();_0x2b47b1['pos']<_0x5e0309;){var _0xfd4845=_0x2b47b1['uint32']();if(_0xfd4845===_0x189e24)break;_0xfd4845>>>0x3==0x1?(_0x5cc137['ids']&&_0x5cc137['ids']['length']||(_0x5cc137['ids']=[]),_0x5cc137['ids']['push'](_0x2b47b1['string']())):_0x2b47b1['skipType'](0x7&_0xfd4845);}return _0x5cc137;},_0x13a08d['decodeDelimited']=function(_0x14b37d){return _0x14b37d instanceof _0x121a90||(_0x14b37d=new _0x121a90(_0x14b37d)),this['decode'](_0x14b37d,_0x14b37d['uint32']());},_0x13a08d['verify']=function(_0x38f839){if('object'!=typeof _0x38f839||null===_0x38f839)return'object\x20expected';if(null!=_0x38f839['ids']&&_0x38f839['hasOwnProperty']('ids')){if(!Array['isArray'](_0x38f839['ids']))return'ids:\x20array\x20expected';for(var _0x31f80c=0x0;_0x31f80c<_0x38f839['ids']['length'];++_0x31f80c)if(!_0x3aba14['isString'](_0x38f839['ids'][_0x31f80c]))return'ids:\x20string[]\x20expected';}return null;},_0x13a08d['fromObject']=function(_0xf30c3b){if(_0xf30c3b instanceof _0x3ef7a7['GetManyUsersMessage'])return _0xf30c3b;var _0x2a24df=new _0x3ef7a7['GetManyUsersMessage']();if(_0xf30c3b['ids']){if(!Array['isArray'](_0xf30c3b['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x2a24df['ids']=[];for(var _0x2d3feb=0x0;_0x2d3feb<_0xf30c3b['ids']['length'];++_0x2d3feb)_0x2a24df['ids'][_0x2d3feb]=String(_0xf30c3b['ids'][_0x2d3feb]);}return _0x2a24df;},_0x13a08d['toObject']=function(_0x4a86be,_0x4c7915){_0x4c7915||(_0x4c7915={});var _0x46f852={};if((_0x4c7915['arrays']||_0x4c7915['defaults'])&&(_0x46f852['ids']=[]),_0x4a86be['ids']&&_0x4a86be['ids']['length']){_0x46f852['ids']=[];for(var _0x25f4a3=0x0;_0x25f4a3<_0x4a86be['ids']['length'];++_0x25f4a3)_0x46f852['ids'][_0x25f4a3]=_0x4a86be['ids'][_0x25f4a3];}return _0x46f852;},_0x13a08d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x13a08d['getTypeUrl']=function(_0x2a018e){return void 0x0===_0x2a018e&&(_0x2a018e='type.googleapis.com'),_0x2a018e+'/GetManyUsersMessage';},_0x13a08d;}()),_0x3ef7a7['UserDescriptor']=(function(){function _0x34d386(_0x59ecf5){if(this['attributes']=[],_0x59ecf5){for(var _0x1840fe=Object['keys'](_0x59ecf5),_0x2e9800=0x0;_0x2e9800<_0x1840fe['length'];++_0x2e9800)null!=_0x59ecf5[_0x1840fe[_0x2e9800]]&&(this[_0x1840fe[_0x2e9800]]=_0x59ecf5[_0x1840fe[_0x2e9800]]);}}return _0x34d386['prototype']['attributes']=_0x3aba14['emptyArray'],_0x34d386['create']=function(_0x41689c){return new _0x34d386(_0x41689c);},_0x34d386['encode']=function(_0x20f84f,_0x3130a9){if(_0x3130a9||(_0x3130a9=_0x10e177['create']()),null!=_0x20f84f['attributes']&&_0x20f84f['attributes']['length']){for(var _0x2aec46=0x0;_0x2aec46<_0x20f84f['attributes']['length'];++_0x2aec46)_0x3ef7a7['KeyValueDescriptor']['encode'](_0x20f84f['attributes'][_0x2aec46],_0x3130a9['uint32'](0xa)['fork']())['ldelim']();}return _0x3130a9;},_0x34d386['encodeDelimited']=function(_0x3b87cc,_0x212fdb){return this['encode'](_0x3b87cc,_0x212fdb)['ldelim']();},_0x34d386['decode']=function(_0x592b81,_0x44b887,_0x1824f9){_0x592b81 instanceof _0x121a90||(_0x592b81=_0x121a90['create'](_0x592b81));for(var _0xc03d4=void 0x0===_0x44b887?_0x592b81['len']:_0x592b81['pos']+_0x44b887,_0x51a426=new _0x3ef7a7['UserDescriptor']();_0x592b81['pos']<_0xc03d4;){var _0xa81d6a=_0x592b81['uint32']();if(_0xa81d6a===_0x1824f9)break;_0xa81d6a>>>0x3==0x1?(_0x51a426['attributes']&&_0x51a426['attributes']['length']||(_0x51a426['attributes']=[]),_0x51a426['attributes']['push'](_0x3ef7a7['KeyValueDescriptor']['decode'](_0x592b81,_0x592b81['uint32']()))):_0x592b81['skipType'](0x7&_0xa81d6a);}return _0x51a426;},_0x34d386['decodeDelimited']=function(_0x4c868a){return _0x4c868a instanceof _0x121a90||(_0x4c868a=new _0x121a90(_0x4c868a)),this['decode'](_0x4c868a,_0x4c868a['uint32']());},_0x34d386['verify']=function(_0x2257ea){if('object'!=typeof _0x2257ea||null===_0x2257ea)return'object\x20expected';if(null!=_0x2257ea['attributes']&&_0x2257ea['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x2257ea['attributes']))return'attributes:\x20array\x20expected';for(var _0x532e16=0x0;_0x532e16<_0x2257ea['attributes']['length'];++_0x532e16){var _0x5ee076=_0x3ef7a7['KeyValueDescriptor']['verify'](_0x2257ea['attributes'][_0x532e16]);if(_0x5ee076)return'attributes.'+_0x5ee076;}}return null;},_0x34d386['fromObject']=function(_0x3f08ca){if(_0x3f08ca instanceof _0x3ef7a7['UserDescriptor'])return _0x3f08ca;var _0x1eacfb=new _0x3ef7a7['UserDescriptor']();if(_0x3f08ca['attributes']){if(!Array['isArray'](_0x3f08ca['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x1eacfb['attributes']=[];for(var _0x590d01=0x0;_0x590d01<_0x3f08ca['attributes']['length'];++_0x590d01){if('object'!=typeof _0x3f08ca['attributes'][_0x590d01])throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x1eacfb['attributes'][_0x590d01]=_0x3ef7a7['KeyValueDescriptor']['fromObject'](_0x3f08ca['attributes'][_0x590d01]);}}return _0x1eacfb;},_0x34d386['toObject']=function(_0x40f405,_0x7fa113){_0x7fa113||(_0x7fa113={});var _0x4bb22b={};if((_0x7fa113['arrays']||_0x7fa113['defaults'])&&(_0x4bb22b['attributes']=[]),_0x40f405['attributes']&&_0x40f405['attributes']['length']){_0x4bb22b['attributes']=[];for(var _0x56c41c=0x0;_0x56c41c<_0x40f405['attributes']['length'];++_0x56c41c)_0x4bb22b['attributes'][_0x56c41c]=_0x3ef7a7['KeyValueDescriptor']['toObject'](_0x40f405['attributes'][_0x56c41c],_0x7fa113);}return _0x4bb22b;},_0x34d386['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x34d386['getTypeUrl']=function(_0x4e23dc){return void 0x0===_0x4e23dc&&(_0x4e23dc='type.googleapis.com'),_0x4e23dc+'/UserDescriptor';},_0x34d386;}()),_0x3ef7a7['TrackChangesGetSuggestionResponse']=(function(){function _0xab03c6(_0x356120){if(_0x356120){for(var _0x39b466=Object['keys'](_0x356120),_0x236d50=0x0;_0x236d50<_0x39b466['length'];++_0x236d50)null!=_0x356120[_0x39b466[_0x236d50]]&&(this[_0x39b466[_0x236d50]]=_0x356120[_0x39b466[_0x236d50]]);}}return _0xab03c6['prototype']['id']='',_0xab03c6['prototype']['authorId']='',_0xab03c6['prototype']['type']='',_0xab03c6['prototype']['createdAt']='',_0xab03c6['prototype']['data']='',_0xab03c6['prototype']['hasComments']=!0x1,_0xab03c6['prototype']['state']='',_0xab03c6['prototype']['attributes']='',_0xab03c6['create']=function(_0x337e8b){return new _0xab03c6(_0x337e8b);},_0xab03c6['encode']=function(_0x2dc564,_0x17f1a1){return _0x17f1a1||(_0x17f1a1=_0x10e177['create']()),null!=_0x2dc564['id']&&Object['hasOwnProperty']['call'](_0x2dc564,'id')&&_0x17f1a1['uint32'](0xa)['string'](_0x2dc564['id']),null!=_0x2dc564['authorId']&&Object['hasOwnProperty']['call'](_0x2dc564,'authorId')&&_0x17f1a1['uint32'](0x12)['string'](_0x2dc564['authorId']),null!=_0x2dc564['type']&&Object['hasOwnProperty']['call'](_0x2dc564,'type')&&_0x17f1a1['uint32'](0x1a)['string'](_0x2dc564['type']),null!=_0x2dc564['createdAt']&&Object['hasOwnProperty']['call'](_0x2dc564,'createdAt')&&_0x17f1a1['uint32'](0x22)['string'](_0x2dc564['createdAt']),null!=_0x2dc564['data']&&Object['hasOwnProperty']['call'](_0x2dc564,'data')&&_0x17f1a1['uint32'](0x2a)['string'](_0x2dc564['data']),null!=_0x2dc564['hasComments']&&Object['hasOwnProperty']['call'](_0x2dc564,'hasComments')&&_0x17f1a1['uint32'](0x30)['bool'](_0x2dc564['hasComments']),null!=_0x2dc564['state']&&Object['hasOwnProperty']['call'](_0x2dc564,'state')&&_0x17f1a1['uint32'](0x3a)['string'](_0x2dc564['state']),null!=_0x2dc564['attributes']&&Object['hasOwnProperty']['call'](_0x2dc564,'attributes')&&_0x17f1a1['uint32'](0x42)['string'](_0x2dc564['attributes']),_0x17f1a1;},_0xab03c6['encodeDelimited']=function(_0x1dbbad,_0x303fe3){return this['encode'](_0x1dbbad,_0x303fe3)['ldelim']();},_0xab03c6['decode']=function(_0x19bd68,_0x1ce0d6,_0x3e14d6){_0x19bd68 instanceof _0x121a90||(_0x19bd68=_0x121a90['create'](_0x19bd68));for(var _0x28dfb0=void 0x0===_0x1ce0d6?_0x19bd68['len']:_0x19bd68['pos']+_0x1ce0d6,_0x26c7a5=new _0x3ef7a7['TrackChangesGetSuggestionResponse']();_0x19bd68['pos']<_0x28dfb0;){var _0x28de1a=_0x19bd68['uint32']();if(_0x28de1a===_0x3e14d6)break;switch(_0x28de1a>>>0x3){case 0x1:_0x26c7a5['id']=_0x19bd68['string']();break;case 0x2:_0x26c7a5['authorId']=_0x19bd68['string']();break;case 0x3:_0x26c7a5['type']=_0x19bd68['string']();break;case 0x4:_0x26c7a5['createdAt']=_0x19bd68['string']();break;case 0x5:_0x26c7a5['data']=_0x19bd68['string']();break;case 0x6:_0x26c7a5['hasComments']=_0x19bd68['bool']();break;case 0x7:_0x26c7a5['state']=_0x19bd68['string']();break;case 0x8:_0x26c7a5['attributes']=_0x19bd68['string']();break;default:_0x19bd68['skipType'](0x7&_0x28de1a);}}return _0x26c7a5;},_0xab03c6['decodeDelimited']=function(_0x8bf4c1){return _0x8bf4c1 instanceof _0x121a90||(_0x8bf4c1=new _0x121a90(_0x8bf4c1)),this['decode'](_0x8bf4c1,_0x8bf4c1['uint32']());},_0xab03c6['verify']=function(_0x373140){return'object'!=typeof _0x373140||null===_0x373140?'object\x20expected':null!=_0x373140['id']&&_0x373140['hasOwnProperty']('id')&&!_0x3aba14['isString'](_0x373140['id'])?'id:\x20string\x20expected':null!=_0x373140['authorId']&&_0x373140['hasOwnProperty']('authorId')&&!_0x3aba14['isString'](_0x373140['authorId'])?'authorId:\x20string\x20expected':null!=_0x373140['type']&&_0x373140['hasOwnProperty']('type')&&!_0x3aba14['isString'](_0x373140['type'])?'type:\x20string\x20expected':null!=_0x373140['createdAt']&&_0x373140['hasOwnProperty']('createdAt')&&!_0x3aba14['isString'](_0x373140['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x373140['data']&&_0x373140['hasOwnProperty']('data')&&!_0x3aba14['isString'](_0x373140['data'])?'data:\x20string\x20expected':null!=_0x373140['hasComments']&&_0x373140['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x373140['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x373140['state']&&_0x373140['hasOwnProperty']('state')&&!_0x3aba14['isString'](_0x373140['state'])?'state:\x20string\x20expected':null!=_0x373140['attributes']&&_0x373140['hasOwnProperty']('attributes')&&!_0x3aba14['isString'](_0x373140['attributes'])?'attributes:\x20string\x20expected':null;},_0xab03c6['fromObject']=function(_0x105b42){if(_0x105b42 instanceof _0x3ef7a7['TrackChangesGetSuggestionResponse'])return _0x105b42;var _0x1974bf=new _0x3ef7a7['TrackChangesGetSuggestionResponse']();return null!=_0x105b42['id']&&(_0x1974bf['id']=String(_0x105b42['id'])),null!=_0x105b42['authorId']&&(_0x1974bf['authorId']=String(_0x105b42['authorId'])),null!=_0x105b42['type']&&(_0x1974bf['type']=String(_0x105b42['type'])),null!=_0x105b42['createdAt']&&(_0x1974bf['createdAt']=String(_0x105b42['createdAt'])),null!=_0x105b42['data']&&(_0x1974bf['data']=String(_0x105b42['data'])),null!=_0x105b42['hasComments']&&(_0x1974bf['hasComments']=Boolean(_0x105b42['hasComments'])),null!=_0x105b42['state']&&(_0x1974bf['state']=String(_0x105b42['state'])),null!=_0x105b42['attributes']&&(_0x1974bf['attributes']=String(_0x105b42['attributes'])),_0x1974bf;},_0xab03c6['toObject']=function(_0x2facf8,_0x423a0d){_0x423a0d||(_0x423a0d={});var _0x28f1a5={};return _0x423a0d['defaults']&&(_0x28f1a5['id']='',_0x28f1a5['authorId']='',_0x28f1a5['type']='',_0x28f1a5['createdAt']='',_0x28f1a5['data']='',_0x28f1a5['hasComments']=!0x1,_0x28f1a5['state']='',_0x28f1a5['attributes']=''),null!=_0x2facf8['id']&&_0x2facf8['hasOwnProperty']('id')&&(_0x28f1a5['id']=_0x2facf8['id']),null!=_0x2facf8['authorId']&&_0x2facf8['hasOwnProperty']('authorId')&&(_0x28f1a5['authorId']=_0x2facf8['authorId']),null!=_0x2facf8['type']&&_0x2facf8['hasOwnProperty']('type')&&(_0x28f1a5['type']=_0x2facf8['type']),null!=_0x2facf8['createdAt']&&_0x2facf8['hasOwnProperty']('createdAt')&&(_0x28f1a5['createdAt']=_0x2facf8['createdAt']),null!=_0x2facf8['data']&&_0x2facf8['hasOwnProperty']('data')&&(_0x28f1a5['data']=_0x2facf8['data']),null!=_0x2facf8['hasComments']&&_0x2facf8['hasOwnProperty']('hasComments')&&(_0x28f1a5['hasComments']=_0x2facf8['hasComments']),null!=_0x2facf8['state']&&_0x2facf8['hasOwnProperty']('state')&&(_0x28f1a5['state']=_0x2facf8['state']),null!=_0x2facf8['attributes']&&_0x2facf8['hasOwnProperty']('attributes')&&(_0x28f1a5['attributes']=_0x2facf8['attributes']),_0x28f1a5;},_0xab03c6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xab03c6['getTypeUrl']=function(_0x5bf557){return void 0x0===_0x5bf557&&(_0x5bf557='type.googleapis.com'),_0x5bf557+'/TrackChangesGetSuggestionResponse';},_0xab03c6;}()),_0x3ef7a7['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x255471(_0x10ed8f){if(this['suggestions']=[],this['suggestionsV2']=[],_0x10ed8f){for(var _0x3477ee=Object['keys'](_0x10ed8f),_0x917904=0x0;_0x917904<_0x3477ee['length'];++_0x917904)null!=_0x10ed8f[_0x3477ee[_0x917904]]&&(this[_0x3477ee[_0x917904]]=_0x10ed8f[_0x3477ee[_0x917904]]);}}return _0x255471['prototype']['suggestions']=_0x3aba14['emptyArray'],_0x255471['prototype']['suggestionsV2']=_0x3aba14['emptyArray'],_0x255471['create']=function(_0xc460e5){return new _0x255471(_0xc460e5);},_0x255471['encode']=function(_0x3ca172,_0x2c09f9){if(_0x2c09f9||(_0x2c09f9=_0x10e177['create']()),null!=_0x3ca172['suggestions']&&_0x3ca172['suggestions']['length']){for(var _0x5dda2f=0x0;_0x5dda2f<_0x3ca172['suggestions']['length'];++_0x5dda2f)_0x2c09f9['uint32'](0xa)['string'](_0x3ca172['suggestions'][_0x5dda2f]);}if(null!=_0x3ca172['suggestionsV2']&&_0x3ca172['suggestionsV2']['length']){for(_0x5dda2f=0x0;_0x5dda2f<_0x3ca172['suggestionsV2']['length'];++_0x5dda2f)_0x3ef7a7['SuggestionDescriptor']['encode'](_0x3ca172['suggestionsV2'][_0x5dda2f],_0x2c09f9['uint32'](0x12)['fork']())['ldelim']();}return _0x2c09f9;},_0x255471['encodeDelimited']=function(_0x4be569,_0x39d3e8){return this['encode'](_0x4be569,_0x39d3e8)['ldelim']();},_0x255471['decode']=function(_0x2c2292,_0x5c1c4c,_0x30906d){_0x2c2292 instanceof _0x121a90||(_0x2c2292=_0x121a90['create'](_0x2c2292));for(var _0x1e547d=void 0x0===_0x5c1c4c?_0x2c2292['len']:_0x2c2292['pos']+_0x5c1c4c,_0x4da8c5=new _0x3ef7a7['TrackChangesGetAllSuggestionsResponse']();_0x2c2292['pos']<_0x1e547d;){var _0x49cc2b=_0x2c2292['uint32']();if(_0x49cc2b===_0x30906d)break;switch(_0x49cc2b>>>0x3){case 0x1:_0x4da8c5['suggestions']&&_0x4da8c5['suggestions']['length']||(_0x4da8c5['suggestions']=[]),_0x4da8c5['suggestions']['push'](_0x2c2292['string']());break;case 0x2:_0x4da8c5['suggestionsV2']&&_0x4da8c5['suggestionsV2']['length']||(_0x4da8c5['suggestionsV2']=[]),_0x4da8c5['suggestionsV2']['push'](_0x3ef7a7['SuggestionDescriptor']['decode'](_0x2c2292,_0x2c2292['uint32']()));break;default:_0x2c2292['skipType'](0x7&_0x49cc2b);}}return _0x4da8c5;},_0x255471['decodeDelimited']=function(_0x57c93a){return _0x57c93a instanceof _0x121a90||(_0x57c93a=new _0x121a90(_0x57c93a)),this['decode'](_0x57c93a,_0x57c93a['uint32']());},_0x255471['verify']=function(_0x5df6b4){if('object'!=typeof _0x5df6b4||null===_0x5df6b4)return'object\x20expected';if(null!=_0x5df6b4['suggestions']&&_0x5df6b4['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x5df6b4['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x41d774=0x0;_0x41d774<_0x5df6b4['suggestions']['length'];++_0x41d774)if(!_0x3aba14['isString'](_0x5df6b4['suggestions'][_0x41d774]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x5df6b4['suggestionsV2']&&_0x5df6b4['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x5df6b4['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x41d774=0x0;_0x41d774<_0x5df6b4['suggestionsV2']['length'];++_0x41d774){var _0x471bfe=_0x3ef7a7['SuggestionDescriptor']['verify'](_0x5df6b4['suggestionsV2'][_0x41d774]);if(_0x471bfe)return'suggestionsV2.'+_0x471bfe;}}return null;},_0x255471['fromObject']=function(_0x185d40){if(_0x185d40 instanceof _0x3ef7a7['TrackChangesGetAllSuggestionsResponse'])return _0x185d40;var _0x5d65d8=new _0x3ef7a7['TrackChangesGetAllSuggestionsResponse']();if(_0x185d40['suggestions']){if(!Array['isArray'](_0x185d40['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x5d65d8['suggestions']=[];for(var _0x489181=0x0;_0x489181<_0x185d40['suggestions']['length'];++_0x489181)_0x5d65d8['suggestions'][_0x489181]=String(_0x185d40['suggestions'][_0x489181]);}if(_0x185d40['suggestionsV2']){if(!Array['isArray'](_0x185d40['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x5d65d8['suggestionsV2']=[],_0x489181=0x0;_0x489181<_0x185d40['suggestionsV2']['length'];++_0x489181){if('object'!=typeof _0x185d40['suggestionsV2'][_0x489181])throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x5d65d8['suggestionsV2'][_0x489181]=_0x3ef7a7['SuggestionDescriptor']['fromObject'](_0x185d40['suggestionsV2'][_0x489181]);}}return _0x5d65d8;},_0x255471['toObject']=function(_0x1f2bb8,_0x4465bf){_0x4465bf||(_0x4465bf={});var _0x4322dc={};if((_0x4465bf['arrays']||_0x4465bf['defaults'])&&(_0x4322dc['suggestions']=[],_0x4322dc['suggestionsV2']=[]),_0x1f2bb8['suggestions']&&_0x1f2bb8['suggestions']['length']){_0x4322dc['suggestions']=[];for(var _0x3fb59f=0x0;_0x3fb59f<_0x1f2bb8['suggestions']['length'];++_0x3fb59f)_0x4322dc['suggestions'][_0x3fb59f]=_0x1f2bb8['suggestions'][_0x3fb59f];}if(_0x1f2bb8['suggestionsV2']&&_0x1f2bb8['suggestionsV2']['length']){for(_0x4322dc['suggestionsV2']=[],_0x3fb59f=0x0;_0x3fb59f<_0x1f2bb8['suggestionsV2']['length'];++_0x3fb59f)_0x4322dc['suggestionsV2'][_0x3fb59f]=_0x3ef7a7['SuggestionDescriptor']['toObject'](_0x1f2bb8['suggestionsV2'][_0x3fb59f],_0x4465bf);}return _0x4322dc;},_0x255471['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x255471['getTypeUrl']=function(_0x4caec1){return void 0x0===_0x4caec1&&(_0x4caec1='type.googleapis.com'),_0x4caec1+'/TrackChangesGetAllSuggestionsResponse';},_0x255471;}()),_0x3ef7a7['TrackChangesConnectResponse']=(function(){function _0x2a6e4d(_0x4c60d0){if(this['suggestions']=[],this['suggestionsV2']=[],_0x4c60d0){for(var _0x1071c2=Object['keys'](_0x4c60d0),_0x25a832=0x0;_0x25a832<_0x1071c2['length'];++_0x25a832)null!=_0x4c60d0[_0x1071c2[_0x25a832]]&&(this[_0x1071c2[_0x25a832]]=_0x4c60d0[_0x1071c2[_0x25a832]]);}}return _0x2a6e4d['prototype']['channel']='',_0x2a6e4d['prototype']['suggestions']=_0x3aba14['emptyArray'],_0x2a6e4d['prototype']['suggestionsV2']=_0x3aba14['emptyArray'],_0x2a6e4d['create']=function(_0x16dbfc){return new _0x2a6e4d(_0x16dbfc);},_0x2a6e4d['encode']=function(_0x13930e,_0x3ae023){if(_0x3ae023||(_0x3ae023=_0x10e177['create']()),null!=_0x13930e['channel']&&Object['hasOwnProperty']['call'](_0x13930e,'channel')&&_0x3ae023['uint32'](0xa)['string'](_0x13930e['channel']),null!=_0x13930e['suggestions']&&_0x13930e['suggestions']['length']){for(var _0x4f7b31=0x0;_0x4f7b31<_0x13930e['suggestions']['length'];++_0x4f7b31)_0x3ae023['uint32'](0x12)['string'](_0x13930e['suggestions'][_0x4f7b31]);}if(null!=_0x13930e['suggestionsV2']&&_0x13930e['suggestionsV2']['length']){for(_0x4f7b31=0x0;_0x4f7b31<_0x13930e['suggestionsV2']['length'];++_0x4f7b31)_0x3ef7a7['SuggestionDescriptor']['encode'](_0x13930e['suggestionsV2'][_0x4f7b31],_0x3ae023['uint32'](0x1a)['fork']())['ldelim']();}return _0x3ae023;},_0x2a6e4d['encodeDelimited']=function(_0xe78878,_0x457ecc){return this['encode'](_0xe78878,_0x457ecc)['ldelim']();},_0x2a6e4d['decode']=function(_0x3dd040,_0x30e353,_0x2ebdf2){_0x3dd040 instanceof _0x121a90||(_0x3dd040=_0x121a90['create'](_0x3dd040));for(var _0x5b6f06=void 0x0===_0x30e353?_0x3dd040['len']:_0x3dd040['pos']+_0x30e353,_0x2695a0=new _0x3ef7a7['TrackChangesConnectResponse']();_0x3dd040['pos']<_0x5b6f06;){var _0x9fa97d=_0x3dd040['uint32']();if(_0x9fa97d===_0x2ebdf2)break;switch(_0x9fa97d>>>0x3){case 0x1:_0x2695a0['channel']=_0x3dd040['string']();break;case 0x2:_0x2695a0['suggestions']&&_0x2695a0['suggestions']['length']||(_0x2695a0['suggestions']=[]),_0x2695a0['suggestions']['push'](_0x3dd040['string']());break;case 0x3:_0x2695a0['suggestionsV2']&&_0x2695a0['suggestionsV2']['length']||(_0x2695a0['suggestionsV2']=[]),_0x2695a0['suggestionsV2']['push'](_0x3ef7a7['SuggestionDescriptor']['decode'](_0x3dd040,_0x3dd040['uint32']()));break;default:_0x3dd040['skipType'](0x7&_0x9fa97d);}}return _0x2695a0;},_0x2a6e4d['decodeDelimited']=function(_0x4f4251){return _0x4f4251 instanceof _0x121a90||(_0x4f4251=new _0x121a90(_0x4f4251)),this['decode'](_0x4f4251,_0x4f4251['uint32']());},_0x2a6e4d['verify']=function(_0x1e0933){if('object'!=typeof _0x1e0933||null===_0x1e0933)return'object\x20expected';if(null!=_0x1e0933['channel']&&_0x1e0933['hasOwnProperty']('channel')&&!_0x3aba14['isString'](_0x1e0933['channel']))return'channel:\x20string\x20expected';if(null!=_0x1e0933['suggestions']&&_0x1e0933['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x1e0933['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x68a35c=0x0;_0x68a35c<_0x1e0933['suggestions']['length'];++_0x68a35c)if(!_0x3aba14['isString'](_0x1e0933['suggestions'][_0x68a35c]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x1e0933['suggestionsV2']&&_0x1e0933['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x1e0933['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x68a35c=0x0;_0x68a35c<_0x1e0933['suggestionsV2']['length'];++_0x68a35c){var _0x3a9a8a=_0x3ef7a7['SuggestionDescriptor']['verify'](_0x1e0933['suggestionsV2'][_0x68a35c]);if(_0x3a9a8a)return'suggestionsV2.'+_0x3a9a8a;}}return null;},_0x2a6e4d['fromObject']=function(_0xbf136e){if(_0xbf136e instanceof _0x3ef7a7['TrackChangesConnectResponse'])return _0xbf136e;var _0x18d4c1=new _0x3ef7a7['TrackChangesConnectResponse']();if(null!=_0xbf136e['channel']&&(_0x18d4c1['channel']=String(_0xbf136e['channel'])),_0xbf136e['suggestions']){if(!Array['isArray'](_0xbf136e['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x18d4c1['suggestions']=[];for(var _0x324233=0x0;_0x324233<_0xbf136e['suggestions']['length'];++_0x324233)_0x18d4c1['suggestions'][_0x324233]=String(_0xbf136e['suggestions'][_0x324233]);}if(_0xbf136e['suggestionsV2']){if(!Array['isArray'](_0xbf136e['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x18d4c1['suggestionsV2']=[],_0x324233=0x0;_0x324233<_0xbf136e['suggestionsV2']['length'];++_0x324233){if('object'!=typeof _0xbf136e['suggestionsV2'][_0x324233])throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x18d4c1['suggestionsV2'][_0x324233]=_0x3ef7a7['SuggestionDescriptor']['fromObject'](_0xbf136e['suggestionsV2'][_0x324233]);}}return _0x18d4c1;},_0x2a6e4d['toObject']=function(_0x30aec8,_0x5411c3){_0x5411c3||(_0x5411c3={});var _0x3557ce={};if((_0x5411c3['arrays']||_0x5411c3['defaults'])&&(_0x3557ce['suggestions']=[],_0x3557ce['suggestionsV2']=[]),_0x5411c3['defaults']&&(_0x3557ce['channel']=''),null!=_0x30aec8['channel']&&_0x30aec8['hasOwnProperty']('channel')&&(_0x3557ce['channel']=_0x30aec8['channel']),_0x30aec8['suggestions']&&_0x30aec8['suggestions']['length']){_0x3557ce['suggestions']=[];for(var _0xc012aa=0x0;_0xc012aa<_0x30aec8['suggestions']['length'];++_0xc012aa)_0x3557ce['suggestions'][_0xc012aa]=_0x30aec8['suggestions'][_0xc012aa];}if(_0x30aec8['suggestionsV2']&&_0x30aec8['suggestionsV2']['length']){for(_0x3557ce['suggestionsV2']=[],_0xc012aa=0x0;_0xc012aa<_0x30aec8['suggestionsV2']['length'];++_0xc012aa)_0x3557ce['suggestionsV2'][_0xc012aa]=_0x3ef7a7['SuggestionDescriptor']['toObject'](_0x30aec8['suggestionsV2'][_0xc012aa],_0x5411c3);}return _0x3557ce;},_0x2a6e4d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2a6e4d['getTypeUrl']=function(_0x4120e1){return void 0x0===_0x4120e1&&(_0x4120e1='type.googleapis.com'),_0x4120e1+'/TrackChangesConnectResponse';},_0x2a6e4d;}()),_0x3ef7a7['TrackChangesAddSuggestionResponse']=(function(){function _0x1fb9b6(_0x574e48){if(_0x574e48){for(var _0x18d4e0=Object['keys'](_0x574e48),_0x3c1ba4=0x0;_0x3c1ba4<_0x18d4e0['length'];++_0x3c1ba4)null!=_0x574e48[_0x18d4e0[_0x3c1ba4]]&&(this[_0x18d4e0[_0x3c1ba4]]=_0x574e48[_0x18d4e0[_0x3c1ba4]]);}}return _0x1fb9b6['prototype']['id']='',_0x1fb9b6['prototype']['authorId']='',_0x1fb9b6['prototype']['type']='',_0x1fb9b6['prototype']['createdAt']='',_0x1fb9b6['prototype']['data']='',_0x1fb9b6['prototype']['hasComments']=!0x1,_0x1fb9b6['prototype']['state']='',_0x1fb9b6['prototype']['attributes']='',_0x1fb9b6['create']=function(_0x2b5932){return new _0x1fb9b6(_0x2b5932);},_0x1fb9b6['encode']=function(_0x146daf,_0x166404){return _0x166404||(_0x166404=_0x10e177['create']()),null!=_0x146daf['id']&&Object['hasOwnProperty']['call'](_0x146daf,'id')&&_0x166404['uint32'](0xa)['string'](_0x146daf['id']),null!=_0x146daf['authorId']&&Object['hasOwnProperty']['call'](_0x146daf,'authorId')&&_0x166404['uint32'](0x12)['string'](_0x146daf['authorId']),null!=_0x146daf['type']&&Object['hasOwnProperty']['call'](_0x146daf,'type')&&_0x166404['uint32'](0x1a)['string'](_0x146daf['type']),null!=_0x146daf['createdAt']&&Object['hasOwnProperty']['call'](_0x146daf,'createdAt')&&_0x166404['uint32'](0x22)['string'](_0x146daf['createdAt']),null!=_0x146daf['data']&&Object['hasOwnProperty']['call'](_0x146daf,'data')&&_0x166404['uint32'](0x2a)['string'](_0x146daf['data']),null!=_0x146daf['hasComments']&&Object['hasOwnProperty']['call'](_0x146daf,'hasComments')&&_0x166404['uint32'](0x30)['bool'](_0x146daf['hasComments']),null!=_0x146daf['state']&&Object['hasOwnProperty']['call'](_0x146daf,'state')&&_0x166404['uint32'](0x3a)['string'](_0x146daf['state']),null!=_0x146daf['attributes']&&Object['hasOwnProperty']['call'](_0x146daf,'attributes')&&_0x166404['uint32'](0x42)['string'](_0x146daf['attributes']),_0x166404;},_0x1fb9b6['encodeDelimited']=function(_0x11a6a0,_0x35b1e0){return this['encode'](_0x11a6a0,_0x35b1e0)['ldelim']();},_0x1fb9b6['decode']=function(_0xdadab1,_0x333714,_0x1ee039){_0xdadab1 instanceof _0x121a90||(_0xdadab1=_0x121a90['create'](_0xdadab1));for(var _0x11a988=void 0x0===_0x333714?_0xdadab1['len']:_0xdadab1['pos']+_0x333714,_0x86fa59=new _0x3ef7a7['TrackChangesAddSuggestionResponse']();_0xdadab1['pos']<_0x11a988;){var _0x4e4e27=_0xdadab1['uint32']();if(_0x4e4e27===_0x1ee039)break;switch(_0x4e4e27>>>0x3){case 0x1:_0x86fa59['id']=_0xdadab1['string']();break;case 0x2:_0x86fa59['authorId']=_0xdadab1['string']();break;case 0x3:_0x86fa59['type']=_0xdadab1['string']();break;case 0x4:_0x86fa59['createdAt']=_0xdadab1['string']();break;case 0x5:_0x86fa59['data']=_0xdadab1['string']();break;case 0x6:_0x86fa59['hasComments']=_0xdadab1['bool']();break;case 0x7:_0x86fa59['state']=_0xdadab1['string']();break;case 0x8:_0x86fa59['attributes']=_0xdadab1['string']();break;default:_0xdadab1['skipType'](0x7&_0x4e4e27);}}return _0x86fa59;},_0x1fb9b6['decodeDelimited']=function(_0x1dcfce){return _0x1dcfce instanceof _0x121a90||(_0x1dcfce=new _0x121a90(_0x1dcfce)),this['decode'](_0x1dcfce,_0x1dcfce['uint32']());},_0x1fb9b6['verify']=function(_0x253a4f){return'object'!=typeof _0x253a4f||null===_0x253a4f?'object\x20expected':null!=_0x253a4f['id']&&_0x253a4f['hasOwnProperty']('id')&&!_0x3aba14['isString'](_0x253a4f['id'])?'id:\x20string\x20expected':null!=_0x253a4f['authorId']&&_0x253a4f['hasOwnProperty']('authorId')&&!_0x3aba14['isString'](_0x253a4f['authorId'])?'authorId:\x20string\x20expected':null!=_0x253a4f['type']&&_0x253a4f['hasOwnProperty']('type')&&!_0x3aba14['isString'](_0x253a4f['type'])?'type:\x20string\x20expected':null!=_0x253a4f['createdAt']&&_0x253a4f['hasOwnProperty']('createdAt')&&!_0x3aba14['isString'](_0x253a4f['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x253a4f['data']&&_0x253a4f['hasOwnProperty']('data')&&!_0x3aba14['isString'](_0x253a4f['data'])?'data:\x20string\x20expected':null!=_0x253a4f['hasComments']&&_0x253a4f['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x253a4f['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x253a4f['state']&&_0x253a4f['hasOwnProperty']('state')&&!_0x3aba14['isString'](_0x253a4f['state'])?'state:\x20string\x20expected':null!=_0x253a4f['attributes']&&_0x253a4f['hasOwnProperty']('attributes')&&!_0x3aba14['isString'](_0x253a4f['attributes'])?'attributes:\x20string\x20expected':null;},_0x1fb9b6['fromObject']=function(_0x20e1c4){if(_0x20e1c4 instanceof _0x3ef7a7['TrackChangesAddSuggestionResponse'])return _0x20e1c4;var _0x485afe=new _0x3ef7a7['TrackChangesAddSuggestionResponse']();return null!=_0x20e1c4['id']&&(_0x485afe['id']=String(_0x20e1c4['id'])),null!=_0x20e1c4['authorId']&&(_0x485afe['authorId']=String(_0x20e1c4['authorId'])),null!=_0x20e1c4['type']&&(_0x485afe['type']=String(_0x20e1c4['type'])),null!=_0x20e1c4['createdAt']&&(_0x485afe['createdAt']=String(_0x20e1c4['createdAt'])),null!=_0x20e1c4['data']&&(_0x485afe['data']=String(_0x20e1c4['data'])),null!=_0x20e1c4['hasComments']&&(_0x485afe['hasComments']=Boolean(_0x20e1c4['hasComments'])),null!=_0x20e1c4['state']&&(_0x485afe['state']=String(_0x20e1c4['state'])),null!=_0x20e1c4['attributes']&&(_0x485afe['attributes']=String(_0x20e1c4['attributes'])),_0x485afe;},_0x1fb9b6['toObject']=function(_0x198282,_0x6e5aea){_0x6e5aea||(_0x6e5aea={});var _0x55a698={};return _0x6e5aea['defaults']&&(_0x55a698['id']='',_0x55a698['authorId']='',_0x55a698['type']='',_0x55a698['createdAt']='',_0x55a698['data']='',_0x55a698['hasComments']=!0x1,_0x55a698['state']='',_0x55a698['attributes']=''),null!=_0x198282['id']&&_0x198282['hasOwnProperty']('id')&&(_0x55a698['id']=_0x198282['id']),null!=_0x198282['authorId']&&_0x198282['hasOwnProperty']('authorId')&&(_0x55a698['authorId']=_0x198282['authorId']),null!=_0x198282['type']&&_0x198282['hasOwnProperty']('type')&&(_0x55a698['type']=_0x198282['type']),null!=_0x198282['createdAt']&&_0x198282['hasOwnProperty']('createdAt')&&(_0x55a698['createdAt']=_0x198282['createdAt']),null!=_0x198282['data']&&_0x198282['hasOwnProperty']('data')&&(_0x55a698['data']=_0x198282['data']),null!=_0x198282['hasComments']&&_0x198282['hasOwnProperty']('hasComments')&&(_0x55a698['hasComments']=_0x198282['hasComments']),null!=_0x198282['state']&&_0x198282['hasOwnProperty']('state')&&(_0x55a698['state']=_0x198282['state']),null!=_0x198282['attributes']&&_0x198282['hasOwnProperty']('attributes')&&(_0x55a698['attributes']=_0x198282['attributes']),_0x55a698;},_0x1fb9b6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1fb9b6['getTypeUrl']=function(_0x54ae68){return void 0x0===_0x54ae68&&(_0x54ae68='type.googleapis.com'),_0x54ae68+'/TrackChangesAddSuggestionResponse';},_0x1fb9b6;}()),_0x3ef7a7['TrackChangesUpdateSuggestionMessage']=(function(){function _0x4b6a0d(_0x36b419){if(_0x36b419){for(var _0x3886c5=Object['keys'](_0x36b419),_0x1f3610=0x0;_0x1f3610<_0x3886c5['length'];++_0x1f3610)null!=_0x36b419[_0x3886c5[_0x1f3610]]&&(this[_0x3886c5[_0x1f3610]]=_0x36b419[_0x3886c5[_0x1f3610]]);}}return _0x4b6a0d['prototype']['id']='',_0x4b6a0d['prototype']['documentId']='',_0x4b6a0d['prototype']['hasComments']=!0x1,_0x4b6a0d['prototype']['isHasCommentsModified']=!0x1,_0x4b6a0d['prototype']['state']='',_0x4b6a0d['prototype']['attributes']='',_0x4b6a0d['create']=function(_0x4246f0){return new _0x4b6a0d(_0x4246f0);},_0x4b6a0d['encode']=function(_0x31379e,_0x463162){return _0x463162||(_0x463162=_0x10e177['create']()),null!=_0x31379e['id']&&Object['hasOwnProperty']['call'](_0x31379e,'id')&&_0x463162['uint32'](0xa)['string'](_0x31379e['id']),null!=_0x31379e['documentId']&&Object['hasOwnProperty']['call'](_0x31379e,'documentId')&&_0x463162['uint32'](0x12)['string'](_0x31379e['documentId']),null!=_0x31379e['hasComments']&&Object['hasOwnProperty']['call'](_0x31379e,'hasComments')&&_0x463162['uint32'](0x18)['bool'](_0x31379e['hasComments']),null!=_0x31379e['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x31379e,'isHasCommentsModified')&&_0x463162['uint32'](0x20)['bool'](_0x31379e['isHasCommentsModified']),null!=_0x31379e['state']&&Object['hasOwnProperty']['call'](_0x31379e,'state')&&_0x463162['uint32'](0x2a)['string'](_0x31379e['state']),null!=_0x31379e['attributes']&&Object['hasOwnProperty']['call'](_0x31379e,'attributes')&&_0x463162['uint32'](0x32)['string'](_0x31379e['attributes']),_0x463162;},_0x4b6a0d['encodeDelimited']=function(_0x58cff3,_0x573525){return this['encode'](_0x58cff3,_0x573525)['ldelim']();},_0x4b6a0d['decode']=function(_0x300e07,_0x5b5377,_0x31c516){_0x300e07 instanceof _0x121a90||(_0x300e07=_0x121a90['create'](_0x300e07));for(var _0x856dc=void 0x0===_0x5b5377?_0x300e07['len']:_0x300e07['pos']+_0x5b5377,_0x1be1db=new _0x3ef7a7['TrackChangesUpdateSuggestionMessage']();_0x300e07['pos']<_0x856dc;){var _0x2c53f5=_0x300e07['uint32']();if(_0x2c53f5===_0x31c516)break;switch(_0x2c53f5>>>0x3){case 0x1:_0x1be1db['id']=_0x300e07['string']();break;case 0x2:_0x1be1db['documentId']=_0x300e07['string']();break;case 0x3:_0x1be1db['hasComments']=_0x300e07['bool']();break;case 0x4:_0x1be1db['isHasCommentsModified']=_0x300e07['bool']();break;case 0x5:_0x1be1db['state']=_0x300e07['string']();break;case 0x6:_0x1be1db['attributes']=_0x300e07['string']();break;default:_0x300e07['skipType'](0x7&_0x2c53f5);}}return _0x1be1db;},_0x4b6a0d['decodeDelimited']=function(_0x1335df){return _0x1335df instanceof _0x121a90||(_0x1335df=new _0x121a90(_0x1335df)),this['decode'](_0x1335df,_0x1335df['uint32']());},_0x4b6a0d['verify']=function(_0x2ac944){return'object'!=typeof _0x2ac944||null===_0x2ac944?'object\x20expected':null!=_0x2ac944['id']&&_0x2ac944['hasOwnProperty']('id')&&!_0x3aba14['isString'](_0x2ac944['id'])?'id:\x20string\x20expected':null!=_0x2ac944['documentId']&&_0x2ac944['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x2ac944['documentId'])?'documentId:\x20string\x20expected':null!=_0x2ac944['hasComments']&&_0x2ac944['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x2ac944['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x2ac944['isHasCommentsModified']&&_0x2ac944['hasOwnProperty']('isHasCommentsModified')&&'boolean'!=typeof _0x2ac944['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x2ac944['state']&&_0x2ac944['hasOwnProperty']('state')&&!_0x3aba14['isString'](_0x2ac944['state'])?'state:\x20string\x20expected':null!=_0x2ac944['attributes']&&_0x2ac944['hasOwnProperty']('attributes')&&!_0x3aba14['isString'](_0x2ac944['attributes'])?'attributes:\x20string\x20expected':null;},_0x4b6a0d['fromObject']=function(_0x59fe69){if(_0x59fe69 instanceof _0x3ef7a7['TrackChangesUpdateSuggestionMessage'])return _0x59fe69;var _0x5a7d75=new _0x3ef7a7['TrackChangesUpdateSuggestionMessage']();return null!=_0x59fe69['id']&&(_0x5a7d75['id']=String(_0x59fe69['id'])),null!=_0x59fe69['documentId']&&(_0x5a7d75['documentId']=String(_0x59fe69['documentId'])),null!=_0x59fe69['hasComments']&&(_0x5a7d75['hasComments']=Boolean(_0x59fe69['hasComments'])),null!=_0x59fe69['isHasCommentsModified']&&(_0x5a7d75['isHasCommentsModified']=Boolean(_0x59fe69['isHasCommentsModified'])),null!=_0x59fe69['state']&&(_0x5a7d75['state']=String(_0x59fe69['state'])),null!=_0x59fe69['attributes']&&(_0x5a7d75['attributes']=String(_0x59fe69['attributes'])),_0x5a7d75;},_0x4b6a0d['toObject']=function(_0x26831e,_0x23488a){_0x23488a||(_0x23488a={});var _0x227185={};return _0x23488a['defaults']&&(_0x227185['id']='',_0x227185['documentId']='',_0x227185['hasComments']=!0x1,_0x227185['isHasCommentsModified']=!0x1,_0x227185['state']='',_0x227185['attributes']=''),null!=_0x26831e['id']&&_0x26831e['hasOwnProperty']('id')&&(_0x227185['id']=_0x26831e['id']),null!=_0x26831e['documentId']&&_0x26831e['hasOwnProperty']('documentId')&&(_0x227185['documentId']=_0x26831e['documentId']),null!=_0x26831e['hasComments']&&_0x26831e['hasOwnProperty']('hasComments')&&(_0x227185['hasComments']=_0x26831e['hasComments']),null!=_0x26831e['isHasCommentsModified']&&_0x26831e['hasOwnProperty']('isHasCommentsModified')&&(_0x227185['isHasCommentsModified']=_0x26831e['isHasCommentsModified']),null!=_0x26831e['state']&&_0x26831e['hasOwnProperty']('state')&&(_0x227185['state']=_0x26831e['state']),null!=_0x26831e['attributes']&&_0x26831e['hasOwnProperty']('attributes')&&(_0x227185['attributes']=_0x26831e['attributes']),_0x227185;},_0x4b6a0d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4b6a0d['getTypeUrl']=function(_0x125250){return void 0x0===_0x125250&&(_0x125250='type.googleapis.com'),_0x125250+'/TrackChangesUpdateSuggestionMessage';},_0x4b6a0d;}()),_0x3ef7a7['TrackChangesGetSuggestionMessage']=(function(){function _0x5db860(_0x47f06b){if(_0x47f06b){for(var _0x2eea6e=Object['keys'](_0x47f06b),_0xad1ec3=0x0;_0xad1ec3<_0x2eea6e['length'];++_0xad1ec3)null!=_0x47f06b[_0x2eea6e[_0xad1ec3]]&&(this[_0x2eea6e[_0xad1ec3]]=_0x47f06b[_0x2eea6e[_0xad1ec3]]);}}return _0x5db860['prototype']['id']='',_0x5db860['prototype']['documentId']='',_0x5db860['create']=function(_0xfa1186){return new _0x5db860(_0xfa1186);},_0x5db860['encode']=function(_0x4117b8,_0x976700){return _0x976700||(_0x976700=_0x10e177['create']()),null!=_0x4117b8['id']&&Object['hasOwnProperty']['call'](_0x4117b8,'id')&&_0x976700['uint32'](0xa)['string'](_0x4117b8['id']),null!=_0x4117b8['documentId']&&Object['hasOwnProperty']['call'](_0x4117b8,'documentId')&&_0x976700['uint32'](0x12)['string'](_0x4117b8['documentId']),_0x976700;},_0x5db860['encodeDelimited']=function(_0x4a3931,_0x48da66){return this['encode'](_0x4a3931,_0x48da66)['ldelim']();},_0x5db860['decode']=function(_0x18c3e7,_0xc6f637,_0x2779d6){_0x18c3e7 instanceof _0x121a90||(_0x18c3e7=_0x121a90['create'](_0x18c3e7));for(var _0x4d69a8=void 0x0===_0xc6f637?_0x18c3e7['len']:_0x18c3e7['pos']+_0xc6f637,_0x342093=new _0x3ef7a7['TrackChangesGetSuggestionMessage']();_0x18c3e7['pos']<_0x4d69a8;){var _0x15e7fd=_0x18c3e7['uint32']();if(_0x15e7fd===_0x2779d6)break;switch(_0x15e7fd>>>0x3){case 0x1:_0x342093['id']=_0x18c3e7['string']();break;case 0x2:_0x342093['documentId']=_0x18c3e7['string']();break;default:_0x18c3e7['skipType'](0x7&_0x15e7fd);}}return _0x342093;},_0x5db860['decodeDelimited']=function(_0x227d80){return _0x227d80 instanceof _0x121a90||(_0x227d80=new _0x121a90(_0x227d80)),this['decode'](_0x227d80,_0x227d80['uint32']());},_0x5db860['verify']=function(_0x49182a){return'object'!=typeof _0x49182a||null===_0x49182a?'object\x20expected':null!=_0x49182a['id']&&_0x49182a['hasOwnProperty']('id')&&!_0x3aba14['isString'](_0x49182a['id'])?'id:\x20string\x20expected':null!=_0x49182a['documentId']&&_0x49182a['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x49182a['documentId'])?'documentId:\x20string\x20expected':null;},_0x5db860['fromObject']=function(_0x37d6e9){if(_0x37d6e9 instanceof _0x3ef7a7['TrackChangesGetSuggestionMessage'])return _0x37d6e9;var _0x33fa95=new _0x3ef7a7['TrackChangesGetSuggestionMessage']();return null!=_0x37d6e9['id']&&(_0x33fa95['id']=String(_0x37d6e9['id'])),null!=_0x37d6e9['documentId']&&(_0x33fa95['documentId']=String(_0x37d6e9['documentId'])),_0x33fa95;},_0x5db860['toObject']=function(_0x201aba,_0x1b8486){_0x1b8486||(_0x1b8486={});var _0x3fc73e={};return _0x1b8486['defaults']&&(_0x3fc73e['id']='',_0x3fc73e['documentId']=''),null!=_0x201aba['id']&&_0x201aba['hasOwnProperty']('id')&&(_0x3fc73e['id']=_0x201aba['id']),null!=_0x201aba['documentId']&&_0x201aba['hasOwnProperty']('documentId')&&(_0x3fc73e['documentId']=_0x201aba['documentId']),_0x3fc73e;},_0x5db860['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5db860['getTypeUrl']=function(_0x4251e1){return void 0x0===_0x4251e1&&(_0x4251e1='type.googleapis.com'),_0x4251e1+'/TrackChangesGetSuggestionMessage';},_0x5db860;}()),_0x3ef7a7['TrackChangesGetAllSuggestionMessage']=(function(){function _0x14d0dd(_0x22ec20){if(_0x22ec20){for(var _0x4f44c2=Object['keys'](_0x22ec20),_0x4f736b=0x0;_0x4f736b<_0x4f44c2['length'];++_0x4f736b)null!=_0x22ec20[_0x4f44c2[_0x4f736b]]&&(this[_0x4f44c2[_0x4f736b]]=_0x22ec20[_0x4f44c2[_0x4f736b]]);}}return _0x14d0dd['prototype']['documentId']='',_0x14d0dd['create']=function(_0x5cfced){return new _0x14d0dd(_0x5cfced);},_0x14d0dd['encode']=function(_0xe320ed,_0x563aa4){return _0x563aa4||(_0x563aa4=_0x10e177['create']()),null!=_0xe320ed['documentId']&&Object['hasOwnProperty']['call'](_0xe320ed,'documentId')&&_0x563aa4['uint32'](0xa)['string'](_0xe320ed['documentId']),_0x563aa4;},_0x14d0dd['encodeDelimited']=function(_0x5c6bf5,_0x234ee1){return this['encode'](_0x5c6bf5,_0x234ee1)['ldelim']();},_0x14d0dd['decode']=function(_0x3fe938,_0x375543,_0x2d5e75){_0x3fe938 instanceof _0x121a90||(_0x3fe938=_0x121a90['create'](_0x3fe938));for(var _0x3bc478=void 0x0===_0x375543?_0x3fe938['len']:_0x3fe938['pos']+_0x375543,_0x33fcf6=new _0x3ef7a7['TrackChangesGetAllSuggestionMessage']();_0x3fe938['pos']<_0x3bc478;){var _0x32a869=_0x3fe938['uint32']();if(_0x32a869===_0x2d5e75)break;_0x32a869>>>0x3==0x1?_0x33fcf6['documentId']=_0x3fe938['string']():_0x3fe938['skipType'](0x7&_0x32a869);}return _0x33fcf6;},_0x14d0dd['decodeDelimited']=function(_0x45dd20){return _0x45dd20 instanceof _0x121a90||(_0x45dd20=new _0x121a90(_0x45dd20)),this['decode'](_0x45dd20,_0x45dd20['uint32']());},_0x14d0dd['verify']=function(_0x2562b2){return'object'!=typeof _0x2562b2||null===_0x2562b2?'object\x20expected':null!=_0x2562b2['documentId']&&_0x2562b2['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x2562b2['documentId'])?'documentId:\x20string\x20expected':null;},_0x14d0dd['fromObject']=function(_0x2866aa){if(_0x2866aa instanceof _0x3ef7a7['TrackChangesGetAllSuggestionMessage'])return _0x2866aa;var _0x412193=new _0x3ef7a7['TrackChangesGetAllSuggestionMessage']();return null!=_0x2866aa['documentId']&&(_0x412193['documentId']=String(_0x2866aa['documentId'])),_0x412193;},_0x14d0dd['toObject']=function(_0xd73bf9,_0x46d40d){_0x46d40d||(_0x46d40d={});var _0x4e4f78={};return _0x46d40d['defaults']&&(_0x4e4f78['documentId']=''),null!=_0xd73bf9['documentId']&&_0xd73bf9['hasOwnProperty']('documentId')&&(_0x4e4f78['documentId']=_0xd73bf9['documentId']),_0x4e4f78;},_0x14d0dd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x14d0dd['getTypeUrl']=function(_0x509330){return void 0x0===_0x509330&&(_0x509330='type.googleapis.com'),_0x509330+'/TrackChangesGetAllSuggestionMessage';},_0x14d0dd;}()),_0x3ef7a7['TrackChangesConnectMessage']=(function(){function _0x4019c9(_0x5a5288){if(_0x5a5288){for(var _0x3eff81=Object['keys'](_0x5a5288),_0x5a3c12=0x0;_0x5a3c12<_0x3eff81['length'];++_0x5a3c12)null!=_0x5a5288[_0x3eff81[_0x5a3c12]]&&(this[_0x3eff81[_0x5a3c12]]=_0x5a5288[_0x3eff81[_0x5a3c12]]);}}return _0x4019c9['prototype']['documentId']='',_0x4019c9['create']=function(_0x237021){return new _0x4019c9(_0x237021);},_0x4019c9['encode']=function(_0x13415b,_0x36ef98){return _0x36ef98||(_0x36ef98=_0x10e177['create']()),null!=_0x13415b['documentId']&&Object['hasOwnProperty']['call'](_0x13415b,'documentId')&&_0x36ef98['uint32'](0xa)['string'](_0x13415b['documentId']),_0x36ef98;},_0x4019c9['encodeDelimited']=function(_0x4cb064,_0x60df50){return this['encode'](_0x4cb064,_0x60df50)['ldelim']();},_0x4019c9['decode']=function(_0x470b5d,_0x4cecb0,_0x1565fe){_0x470b5d instanceof _0x121a90||(_0x470b5d=_0x121a90['create'](_0x470b5d));for(var _0x25fc4c=void 0x0===_0x4cecb0?_0x470b5d['len']:_0x470b5d['pos']+_0x4cecb0,_0x44fe0f=new _0x3ef7a7['TrackChangesConnectMessage']();_0x470b5d['pos']<_0x25fc4c;){var _0x27a277=_0x470b5d['uint32']();if(_0x27a277===_0x1565fe)break;_0x27a277>>>0x3==0x1?_0x44fe0f['documentId']=_0x470b5d['string']():_0x470b5d['skipType'](0x7&_0x27a277);}return _0x44fe0f;},_0x4019c9['decodeDelimited']=function(_0x321630){return _0x321630 instanceof _0x121a90||(_0x321630=new _0x121a90(_0x321630)),this['decode'](_0x321630,_0x321630['uint32']());},_0x4019c9['verify']=function(_0x266dc2){return'object'!=typeof _0x266dc2||null===_0x266dc2?'object\x20expected':null!=_0x266dc2['documentId']&&_0x266dc2['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x266dc2['documentId'])?'documentId:\x20string\x20expected':null;},_0x4019c9['fromObject']=function(_0x4be246){if(_0x4be246 instanceof _0x3ef7a7['TrackChangesConnectMessage'])return _0x4be246;var _0x2fd67a=new _0x3ef7a7['TrackChangesConnectMessage']();return null!=_0x4be246['documentId']&&(_0x2fd67a['documentId']=String(_0x4be246['documentId'])),_0x2fd67a;},_0x4019c9['toObject']=function(_0x3aba03,_0x2ae854){_0x2ae854||(_0x2ae854={});var _0x4e980b={};return _0x2ae854['defaults']&&(_0x4e980b['documentId']=''),null!=_0x3aba03['documentId']&&_0x3aba03['hasOwnProperty']('documentId')&&(_0x4e980b['documentId']=_0x3aba03['documentId']),_0x4e980b;},_0x4019c9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4019c9['getTypeUrl']=function(_0x66d902){return void 0x0===_0x66d902&&(_0x66d902='type.googleapis.com'),_0x66d902+'/TrackChangesConnectMessage';},_0x4019c9;}()),_0x3ef7a7['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0x55759d(_0x332c89){if(this['ids']=[],_0x332c89){for(var _0x2608f0=Object['keys'](_0x332c89),_0x10731c=0x0;_0x10731c<_0x2608f0['length'];++_0x10731c)null!=_0x332c89[_0x2608f0[_0x10731c]]&&(this[_0x2608f0[_0x10731c]]=_0x332c89[_0x2608f0[_0x10731c]]);}}return _0x55759d['prototype']['ids']=_0x3aba14['emptyArray'],_0x55759d['prototype']['documentId']='',_0x55759d['prototype']['state']='',_0x55759d['create']=function(_0xd6ce27){return new _0x55759d(_0xd6ce27);},_0x55759d['encode']=function(_0xf9034,_0x1dc031){if(_0x1dc031||(_0x1dc031=_0x10e177['create']()),null!=_0xf9034['ids']&&_0xf9034['ids']['length']){for(var _0x3e8cc2=0x0;_0x3e8cc2<_0xf9034['ids']['length'];++_0x3e8cc2)_0x1dc031['uint32'](0xa)['string'](_0xf9034['ids'][_0x3e8cc2]);}return null!=_0xf9034['documentId']&&Object['hasOwnProperty']['call'](_0xf9034,'documentId')&&_0x1dc031['uint32'](0x12)['string'](_0xf9034['documentId']),null!=_0xf9034['state']&&Object['hasOwnProperty']['call'](_0xf9034,'state')&&_0x1dc031['uint32'](0x1a)['string'](_0xf9034['state']),_0x1dc031;},_0x55759d['encodeDelimited']=function(_0x218daa,_0x3bb0a9){return this['encode'](_0x218daa,_0x3bb0a9)['ldelim']();},_0x55759d['decode']=function(_0x1692cf,_0x49d81d,_0x58889b){_0x1692cf instanceof _0x121a90||(_0x1692cf=_0x121a90['create'](_0x1692cf));for(var _0x65b6f1=void 0x0===_0x49d81d?_0x1692cf['len']:_0x1692cf['pos']+_0x49d81d,_0x3baf69=new _0x3ef7a7['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x1692cf['pos']<_0x65b6f1;){var _0x5eeccc=_0x1692cf['uint32']();if(_0x5eeccc===_0x58889b)break;switch(_0x5eeccc>>>0x3){case 0x1:_0x3baf69['ids']&&_0x3baf69['ids']['length']||(_0x3baf69['ids']=[]),_0x3baf69['ids']['push'](_0x1692cf['string']());break;case 0x2:_0x3baf69['documentId']=_0x1692cf['string']();break;case 0x3:_0x3baf69['state']=_0x1692cf['string']();break;default:_0x1692cf['skipType'](0x7&_0x5eeccc);}}return _0x3baf69;},_0x55759d['decodeDelimited']=function(_0x323fe4){return _0x323fe4 instanceof _0x121a90||(_0x323fe4=new _0x121a90(_0x323fe4)),this['decode'](_0x323fe4,_0x323fe4['uint32']());},_0x55759d['verify']=function(_0x450b15){if('object'!=typeof _0x450b15||null===_0x450b15)return'object\x20expected';if(null!=_0x450b15['ids']&&_0x450b15['hasOwnProperty']('ids')){if(!Array['isArray'](_0x450b15['ids']))return'ids:\x20array\x20expected';for(var _0x373eec=0x0;_0x373eec<_0x450b15['ids']['length'];++_0x373eec)if(!_0x3aba14['isString'](_0x450b15['ids'][_0x373eec]))return'ids:\x20string[]\x20expected';}return null!=_0x450b15['documentId']&&_0x450b15['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x450b15['documentId'])?'documentId:\x20string\x20expected':null!=_0x450b15['state']&&_0x450b15['hasOwnProperty']('state')&&!_0x3aba14['isString'](_0x450b15['state'])?'state:\x20string\x20expected':null;},_0x55759d['fromObject']=function(_0xde17f6){if(_0xde17f6 instanceof _0x3ef7a7['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0xde17f6;var _0x895735=new _0x3ef7a7['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0xde17f6['ids']){if(!Array['isArray'](_0xde17f6['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x895735['ids']=[];for(var _0x459497=0x0;_0x459497<_0xde17f6['ids']['length'];++_0x459497)_0x895735['ids'][_0x459497]=String(_0xde17f6['ids'][_0x459497]);}return null!=_0xde17f6['documentId']&&(_0x895735['documentId']=String(_0xde17f6['documentId'])),null!=_0xde17f6['state']&&(_0x895735['state']=String(_0xde17f6['state'])),_0x895735;},_0x55759d['toObject']=function(_0x5e8df5,_0x4a95be){_0x4a95be||(_0x4a95be={});var _0x3c63e3={};if((_0x4a95be['arrays']||_0x4a95be['defaults'])&&(_0x3c63e3['ids']=[]),_0x4a95be['defaults']&&(_0x3c63e3['documentId']='',_0x3c63e3['state']=''),_0x5e8df5['ids']&&_0x5e8df5['ids']['length']){_0x3c63e3['ids']=[];for(var _0x50a8a8=0x0;_0x50a8a8<_0x5e8df5['ids']['length'];++_0x50a8a8)_0x3c63e3['ids'][_0x50a8a8]=_0x5e8df5['ids'][_0x50a8a8];}return null!=_0x5e8df5['documentId']&&_0x5e8df5['hasOwnProperty']('documentId')&&(_0x3c63e3['documentId']=_0x5e8df5['documentId']),null!=_0x5e8df5['state']&&_0x5e8df5['hasOwnProperty']('state')&&(_0x3c63e3['state']=_0x5e8df5['state']),_0x3c63e3;},_0x55759d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x55759d['getTypeUrl']=function(_0x68a6cb){return void 0x0===_0x68a6cb&&(_0x68a6cb='type.googleapis.com'),_0x68a6cb+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0x55759d;}()),_0x3ef7a7['TrackChangesAddSuggestionMessage']=(function(){function _0x1ac449(_0x220f52){if(_0x220f52){for(var _0x51be82=Object['keys'](_0x220f52),_0x2ae9df=0x0;_0x2ae9df<_0x51be82['length'];++_0x2ae9df)null!=_0x220f52[_0x51be82[_0x2ae9df]]&&(this[_0x51be82[_0x2ae9df]]=_0x220f52[_0x51be82[_0x2ae9df]]);}}return _0x1ac449['prototype']['id']='',_0x1ac449['prototype']['documentId']='',_0x1ac449['prototype']['type']='',_0x1ac449['prototype']['data']='',_0x1ac449['prototype']['originalSuggestionId']='',_0x1ac449['prototype']['attributes']='',_0x1ac449['create']=function(_0x4074ca){return new _0x1ac449(_0x4074ca);},_0x1ac449['encode']=function(_0x47a1df,_0x1b0bc3){return _0x1b0bc3||(_0x1b0bc3=_0x10e177['create']()),null!=_0x47a1df['id']&&Object['hasOwnProperty']['call'](_0x47a1df,'id')&&_0x1b0bc3['uint32'](0xa)['string'](_0x47a1df['id']),null!=_0x47a1df['documentId']&&Object['hasOwnProperty']['call'](_0x47a1df,'documentId')&&_0x1b0bc3['uint32'](0x12)['string'](_0x47a1df['documentId']),null!=_0x47a1df['type']&&Object['hasOwnProperty']['call'](_0x47a1df,'type')&&_0x1b0bc3['uint32'](0x1a)['string'](_0x47a1df['type']),null!=_0x47a1df['data']&&Object['hasOwnProperty']['call'](_0x47a1df,'data')&&_0x1b0bc3['uint32'](0x22)['string'](_0x47a1df['data']),null!=_0x47a1df['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x47a1df,'originalSuggestionId')&&_0x1b0bc3['uint32'](0x2a)['string'](_0x47a1df['originalSuggestionId']),null!=_0x47a1df['attributes']&&Object['hasOwnProperty']['call'](_0x47a1df,'attributes')&&_0x1b0bc3['uint32'](0x32)['string'](_0x47a1df['attributes']),_0x1b0bc3;},_0x1ac449['encodeDelimited']=function(_0x5de936,_0x44f449){return this['encode'](_0x5de936,_0x44f449)['ldelim']();},_0x1ac449['decode']=function(_0x35328b,_0x4e0b96,_0x17f6c9){_0x35328b instanceof _0x121a90||(_0x35328b=_0x121a90['create'](_0x35328b));for(var _0x1d318c=void 0x0===_0x4e0b96?_0x35328b['len']:_0x35328b['pos']+_0x4e0b96,_0x5a40f0=new _0x3ef7a7['TrackChangesAddSuggestionMessage']();_0x35328b['pos']<_0x1d318c;){var _0x1f4692=_0x35328b['uint32']();if(_0x1f4692===_0x17f6c9)break;switch(_0x1f4692>>>0x3){case 0x1:_0x5a40f0['id']=_0x35328b['string']();break;case 0x2:_0x5a40f0['documentId']=_0x35328b['string']();break;case 0x3:_0x5a40f0['type']=_0x35328b['string']();break;case 0x4:_0x5a40f0['data']=_0x35328b['string']();break;case 0x5:_0x5a40f0['originalSuggestionId']=_0x35328b['string']();break;case 0x6:_0x5a40f0['attributes']=_0x35328b['string']();break;default:_0x35328b['skipType'](0x7&_0x1f4692);}}return _0x5a40f0;},_0x1ac449['decodeDelimited']=function(_0x4b148e){return _0x4b148e instanceof _0x121a90||(_0x4b148e=new _0x121a90(_0x4b148e)),this['decode'](_0x4b148e,_0x4b148e['uint32']());},_0x1ac449['verify']=function(_0x1e8bb7){return'object'!=typeof _0x1e8bb7||null===_0x1e8bb7?'object\x20expected':null!=_0x1e8bb7['id']&&_0x1e8bb7['hasOwnProperty']('id')&&!_0x3aba14['isString'](_0x1e8bb7['id'])?'id:\x20string\x20expected':null!=_0x1e8bb7['documentId']&&_0x1e8bb7['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x1e8bb7['documentId'])?'documentId:\x20string\x20expected':null!=_0x1e8bb7['type']&&_0x1e8bb7['hasOwnProperty']('type')&&!_0x3aba14['isString'](_0x1e8bb7['type'])?'type:\x20string\x20expected':null!=_0x1e8bb7['data']&&_0x1e8bb7['hasOwnProperty']('data')&&!_0x3aba14['isString'](_0x1e8bb7['data'])?'data:\x20string\x20expected':null!=_0x1e8bb7['originalSuggestionId']&&_0x1e8bb7['hasOwnProperty']('originalSuggestionId')&&!_0x3aba14['isString'](_0x1e8bb7['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x1e8bb7['attributes']&&_0x1e8bb7['hasOwnProperty']('attributes')&&!_0x3aba14['isString'](_0x1e8bb7['attributes'])?'attributes:\x20string\x20expected':null;},_0x1ac449['fromObject']=function(_0xc3658e){if(_0xc3658e instanceof _0x3ef7a7['TrackChangesAddSuggestionMessage'])return _0xc3658e;var _0x593efc=new _0x3ef7a7['TrackChangesAddSuggestionMessage']();return null!=_0xc3658e['id']&&(_0x593efc['id']=String(_0xc3658e['id'])),null!=_0xc3658e['documentId']&&(_0x593efc['documentId']=String(_0xc3658e['documentId'])),null!=_0xc3658e['type']&&(_0x593efc['type']=String(_0xc3658e['type'])),null!=_0xc3658e['data']&&(_0x593efc['data']=String(_0xc3658e['data'])),null!=_0xc3658e['originalSuggestionId']&&(_0x593efc['originalSuggestionId']=String(_0xc3658e['originalSuggestionId'])),null!=_0xc3658e['attributes']&&(_0x593efc['attributes']=String(_0xc3658e['attributes'])),_0x593efc;},_0x1ac449['toObject']=function(_0x4fc6d4,_0x131240){_0x131240||(_0x131240={});var _0x17202d={};return _0x131240['defaults']&&(_0x17202d['id']='',_0x17202d['documentId']='',_0x17202d['type']='',_0x17202d['data']='',_0x17202d['originalSuggestionId']='',_0x17202d['attributes']=''),null!=_0x4fc6d4['id']&&_0x4fc6d4['hasOwnProperty']('id')&&(_0x17202d['id']=_0x4fc6d4['id']),null!=_0x4fc6d4['documentId']&&_0x4fc6d4['hasOwnProperty']('documentId')&&(_0x17202d['documentId']=_0x4fc6d4['documentId']),null!=_0x4fc6d4['type']&&_0x4fc6d4['hasOwnProperty']('type')&&(_0x17202d['type']=_0x4fc6d4['type']),null!=_0x4fc6d4['data']&&_0x4fc6d4['hasOwnProperty']('data')&&(_0x17202d['data']=_0x4fc6d4['data']),null!=_0x4fc6d4['originalSuggestionId']&&_0x4fc6d4['hasOwnProperty']('originalSuggestionId')&&(_0x17202d['originalSuggestionId']=_0x4fc6d4['originalSuggestionId']),null!=_0x4fc6d4['attributes']&&_0x4fc6d4['hasOwnProperty']('attributes')&&(_0x17202d['attributes']=_0x4fc6d4['attributes']),_0x17202d;},_0x1ac449['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1ac449['getTypeUrl']=function(_0x252e2c){return void 0x0===_0x252e2c&&(_0x252e2c='type.googleapis.com'),_0x252e2c+'/TrackChangesAddSuggestionMessage';},_0x1ac449;}()),_0x3ef7a7['SuggestionDescriptor']=(function(){function _0xe7d0c2(_0x19a818){if(_0x19a818){for(var _0x481c04=Object['keys'](_0x19a818),_0xd242cf=0x0;_0xd242cf<_0x481c04['length'];++_0xd242cf)null!=_0x19a818[_0x481c04[_0xd242cf]]&&(this[_0x481c04[_0xd242cf]]=_0x19a818[_0x481c04[_0xd242cf]]);}}return _0xe7d0c2['prototype']['id']='',_0xe7d0c2['prototype']['authorId']='',_0xe7d0c2['prototype']['type']='',_0xe7d0c2['prototype']['createdAt']='',_0xe7d0c2['prototype']['data']='',_0xe7d0c2['prototype']['hasComments']=!0x1,_0xe7d0c2['prototype']['state']='',_0xe7d0c2['prototype']['attributes']='',_0xe7d0c2['create']=function(_0xbfb182){return new _0xe7d0c2(_0xbfb182);},_0xe7d0c2['encode']=function(_0x2455ba,_0x24e2d3){return _0x24e2d3||(_0x24e2d3=_0x10e177['create']()),null!=_0x2455ba['id']&&Object['hasOwnProperty']['call'](_0x2455ba,'id')&&_0x24e2d3['uint32'](0xa)['string'](_0x2455ba['id']),null!=_0x2455ba['authorId']&&Object['hasOwnProperty']['call'](_0x2455ba,'authorId')&&_0x24e2d3['uint32'](0x12)['string'](_0x2455ba['authorId']),null!=_0x2455ba['type']&&Object['hasOwnProperty']['call'](_0x2455ba,'type')&&_0x24e2d3['uint32'](0x1a)['string'](_0x2455ba['type']),null!=_0x2455ba['createdAt']&&Object['hasOwnProperty']['call'](_0x2455ba,'createdAt')&&_0x24e2d3['uint32'](0x22)['string'](_0x2455ba['createdAt']),null!=_0x2455ba['data']&&Object['hasOwnProperty']['call'](_0x2455ba,'data')&&_0x24e2d3['uint32'](0x2a)['string'](_0x2455ba['data']),null!=_0x2455ba['hasComments']&&Object['hasOwnProperty']['call'](_0x2455ba,'hasComments')&&_0x24e2d3['uint32'](0x30)['bool'](_0x2455ba['hasComments']),null!=_0x2455ba['state']&&Object['hasOwnProperty']['call'](_0x2455ba,'state')&&_0x24e2d3['uint32'](0x3a)['string'](_0x2455ba['state']),null!=_0x2455ba['attributes']&&Object['hasOwnProperty']['call'](_0x2455ba,'attributes')&&_0x24e2d3['uint32'](0x42)['string'](_0x2455ba['attributes']),_0x24e2d3;},_0xe7d0c2['encodeDelimited']=function(_0x468dc0,_0x4b2edd){return this['encode'](_0x468dc0,_0x4b2edd)['ldelim']();},_0xe7d0c2['decode']=function(_0x5ec39f,_0x1b4808,_0x188ca4){_0x5ec39f instanceof _0x121a90||(_0x5ec39f=_0x121a90['create'](_0x5ec39f));for(var _0x5d8863=void 0x0===_0x1b4808?_0x5ec39f['len']:_0x5ec39f['pos']+_0x1b4808,_0x5145e2=new _0x3ef7a7['SuggestionDescriptor']();_0x5ec39f['pos']<_0x5d8863;){var _0x84761=_0x5ec39f['uint32']();if(_0x84761===_0x188ca4)break;switch(_0x84761>>>0x3){case 0x1:_0x5145e2['id']=_0x5ec39f['string']();break;case 0x2:_0x5145e2['authorId']=_0x5ec39f['string']();break;case 0x3:_0x5145e2['type']=_0x5ec39f['string']();break;case 0x4:_0x5145e2['createdAt']=_0x5ec39f['string']();break;case 0x5:_0x5145e2['data']=_0x5ec39f['string']();break;case 0x6:_0x5145e2['hasComments']=_0x5ec39f['bool']();break;case 0x7:_0x5145e2['state']=_0x5ec39f['string']();break;case 0x8:_0x5145e2['attributes']=_0x5ec39f['string']();break;default:_0x5ec39f['skipType'](0x7&_0x84761);}}return _0x5145e2;},_0xe7d0c2['decodeDelimited']=function(_0x279eb5){return _0x279eb5 instanceof _0x121a90||(_0x279eb5=new _0x121a90(_0x279eb5)),this['decode'](_0x279eb5,_0x279eb5['uint32']());},_0xe7d0c2['verify']=function(_0x2c9961){return'object'!=typeof _0x2c9961||null===_0x2c9961?'object\x20expected':null!=_0x2c9961['id']&&_0x2c9961['hasOwnProperty']('id')&&!_0x3aba14['isString'](_0x2c9961['id'])?'id:\x20string\x20expected':null!=_0x2c9961['authorId']&&_0x2c9961['hasOwnProperty']('authorId')&&!_0x3aba14['isString'](_0x2c9961['authorId'])?'authorId:\x20string\x20expected':null!=_0x2c9961['type']&&_0x2c9961['hasOwnProperty']('type')&&!_0x3aba14['isString'](_0x2c9961['type'])?'type:\x20string\x20expected':null!=_0x2c9961['createdAt']&&_0x2c9961['hasOwnProperty']('createdAt')&&!_0x3aba14['isString'](_0x2c9961['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x2c9961['data']&&_0x2c9961['hasOwnProperty']('data')&&!_0x3aba14['isString'](_0x2c9961['data'])?'data:\x20string\x20expected':null!=_0x2c9961['hasComments']&&_0x2c9961['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x2c9961['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x2c9961['state']&&_0x2c9961['hasOwnProperty']('state')&&!_0x3aba14['isString'](_0x2c9961['state'])?'state:\x20string\x20expected':null!=_0x2c9961['attributes']&&_0x2c9961['hasOwnProperty']('attributes')&&!_0x3aba14['isString'](_0x2c9961['attributes'])?'attributes:\x20string\x20expected':null;},_0xe7d0c2['fromObject']=function(_0x8932fa){if(_0x8932fa instanceof _0x3ef7a7['SuggestionDescriptor'])return _0x8932fa;var _0x539aa9=new _0x3ef7a7['SuggestionDescriptor']();return null!=_0x8932fa['id']&&(_0x539aa9['id']=String(_0x8932fa['id'])),null!=_0x8932fa['authorId']&&(_0x539aa9['authorId']=String(_0x8932fa['authorId'])),null!=_0x8932fa['type']&&(_0x539aa9['type']=String(_0x8932fa['type'])),null!=_0x8932fa['createdAt']&&(_0x539aa9['createdAt']=String(_0x8932fa['createdAt'])),null!=_0x8932fa['data']&&(_0x539aa9['data']=String(_0x8932fa['data'])),null!=_0x8932fa['hasComments']&&(_0x539aa9['hasComments']=Boolean(_0x8932fa['hasComments'])),null!=_0x8932fa['state']&&(_0x539aa9['state']=String(_0x8932fa['state'])),null!=_0x8932fa['attributes']&&(_0x539aa9['attributes']=String(_0x8932fa['attributes'])),_0x539aa9;},_0xe7d0c2['toObject']=function(_0x50e562,_0x38f1db){_0x38f1db||(_0x38f1db={});var _0x57db2f={};return _0x38f1db['defaults']&&(_0x57db2f['id']='',_0x57db2f['authorId']='',_0x57db2f['type']='',_0x57db2f['createdAt']='',_0x57db2f['data']='',_0x57db2f['hasComments']=!0x1,_0x57db2f['state']='',_0x57db2f['attributes']=''),null!=_0x50e562['id']&&_0x50e562['hasOwnProperty']('id')&&(_0x57db2f['id']=_0x50e562['id']),null!=_0x50e562['authorId']&&_0x50e562['hasOwnProperty']('authorId')&&(_0x57db2f['authorId']=_0x50e562['authorId']),null!=_0x50e562['type']&&_0x50e562['hasOwnProperty']('type')&&(_0x57db2f['type']=_0x50e562['type']),null!=_0x50e562['createdAt']&&_0x50e562['hasOwnProperty']('createdAt')&&(_0x57db2f['createdAt']=_0x50e562['createdAt']),null!=_0x50e562['data']&&_0x50e562['hasOwnProperty']('data')&&(_0x57db2f['data']=_0x50e562['data']),null!=_0x50e562['hasComments']&&_0x50e562['hasOwnProperty']('hasComments')&&(_0x57db2f['hasComments']=_0x50e562['hasComments']),null!=_0x50e562['state']&&_0x50e562['hasOwnProperty']('state')&&(_0x57db2f['state']=_0x50e562['state']),null!=_0x50e562['attributes']&&_0x50e562['hasOwnProperty']('attributes')&&(_0x57db2f['attributes']=_0x50e562['attributes']),_0x57db2f;},_0xe7d0c2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xe7d0c2['getTypeUrl']=function(_0x53f7a2){return void 0x0===_0x53f7a2&&(_0x53f7a2='type.googleapis.com'),_0x53f7a2+'/SuggestionDescriptor';},_0xe7d0c2;}()),_0x3ef7a7['SessionsConnectResponse']=(function(){function _0x52d942(_0x58fbde){if(this['sockets']=[],_0x58fbde){for(var _0x39b237=Object['keys'](_0x58fbde),_0x3c7ca2=0x0;_0x3c7ca2<_0x39b237['length'];++_0x3c7ca2)null!=_0x58fbde[_0x39b237[_0x3c7ca2]]&&(this[_0x39b237[_0x3c7ca2]]=_0x58fbde[_0x39b237[_0x3c7ca2]]);}}return _0x52d942['prototype']['channel']='',_0x52d942['prototype']['sockets']=_0x3aba14['emptyArray'],_0x52d942['create']=function(_0x43adc0){return new _0x52d942(_0x43adc0);},_0x52d942['encode']=function(_0x51cd59,_0x1d7067){if(_0x1d7067||(_0x1d7067=_0x10e177['create']()),null!=_0x51cd59['channel']&&Object['hasOwnProperty']['call'](_0x51cd59,'channel')&&_0x1d7067['uint32'](0xa)['string'](_0x51cd59['channel']),null!=_0x51cd59['sockets']&&_0x51cd59['sockets']['length']){for(var _0x3381f6=0x0;_0x3381f6<_0x51cd59['sockets']['length'];++_0x3381f6)_0x3ef7a7['SessionsSocketDescriptor']['encode'](_0x51cd59['sockets'][_0x3381f6],_0x1d7067['uint32'](0x12)['fork']())['ldelim']();}return _0x1d7067;},_0x52d942['encodeDelimited']=function(_0x4d5c01,_0x200f72){return this['encode'](_0x4d5c01,_0x200f72)['ldelim']();},_0x52d942['decode']=function(_0x474da4,_0x19177e,_0x16c943){_0x474da4 instanceof _0x121a90||(_0x474da4=_0x121a90['create'](_0x474da4));for(var _0x572c13=void 0x0===_0x19177e?_0x474da4['len']:_0x474da4['pos']+_0x19177e,_0x13e43b=new _0x3ef7a7['SessionsConnectResponse']();_0x474da4['pos']<_0x572c13;){var _0x2f3a9b=_0x474da4['uint32']();if(_0x2f3a9b===_0x16c943)break;switch(_0x2f3a9b>>>0x3){case 0x1:_0x13e43b['channel']=_0x474da4['string']();break;case 0x2:_0x13e43b['sockets']&&_0x13e43b['sockets']['length']||(_0x13e43b['sockets']=[]),_0x13e43b['sockets']['push'](_0x3ef7a7['SessionsSocketDescriptor']['decode'](_0x474da4,_0x474da4['uint32']()));break;default:_0x474da4['skipType'](0x7&_0x2f3a9b);}}return _0x13e43b;},_0x52d942['decodeDelimited']=function(_0x344147){return _0x344147 instanceof _0x121a90||(_0x344147=new _0x121a90(_0x344147)),this['decode'](_0x344147,_0x344147['uint32']());},_0x52d942['verify']=function(_0x1eb6aa){if('object'!=typeof _0x1eb6aa||null===_0x1eb6aa)return'object\x20expected';if(null!=_0x1eb6aa['channel']&&_0x1eb6aa['hasOwnProperty']('channel')&&!_0x3aba14['isString'](_0x1eb6aa['channel']))return'channel:\x20string\x20expected';if(null!=_0x1eb6aa['sockets']&&_0x1eb6aa['hasOwnProperty']('sockets')){if(!Array['isArray'](_0x1eb6aa['sockets']))return'sockets:\x20array\x20expected';for(var _0x8186da=0x0;_0x8186da<_0x1eb6aa['sockets']['length'];++_0x8186da){var _0x30d97f=_0x3ef7a7['SessionsSocketDescriptor']['verify'](_0x1eb6aa['sockets'][_0x8186da]);if(_0x30d97f)return'sockets.'+_0x30d97f;}}return null;},_0x52d942['fromObject']=function(_0x522ecc){if(_0x522ecc instanceof _0x3ef7a7['SessionsConnectResponse'])return _0x522ecc;var _0x11eac4=new _0x3ef7a7['SessionsConnectResponse']();if(null!=_0x522ecc['channel']&&(_0x11eac4['channel']=String(_0x522ecc['channel'])),_0x522ecc['sockets']){if(!Array['isArray'](_0x522ecc['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x11eac4['sockets']=[];for(var _0x57af72=0x0;_0x57af72<_0x522ecc['sockets']['length'];++_0x57af72){if('object'!=typeof _0x522ecc['sockets'][_0x57af72])throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x11eac4['sockets'][_0x57af72]=_0x3ef7a7['SessionsSocketDescriptor']['fromObject'](_0x522ecc['sockets'][_0x57af72]);}}return _0x11eac4;},_0x52d942['toObject']=function(_0x490e8d,_0x661d31){_0x661d31||(_0x661d31={});var _0x49a4b7={};if((_0x661d31['arrays']||_0x661d31['defaults'])&&(_0x49a4b7['sockets']=[]),_0x661d31['defaults']&&(_0x49a4b7['channel']=''),null!=_0x490e8d['channel']&&_0x490e8d['hasOwnProperty']('channel')&&(_0x49a4b7['channel']=_0x490e8d['channel']),_0x490e8d['sockets']&&_0x490e8d['sockets']['length']){_0x49a4b7['sockets']=[];for(var _0x2ff7bd=0x0;_0x2ff7bd<_0x490e8d['sockets']['length'];++_0x2ff7bd)_0x49a4b7['sockets'][_0x2ff7bd]=_0x3ef7a7['SessionsSocketDescriptor']['toObject'](_0x490e8d['sockets'][_0x2ff7bd],_0x661d31);}return _0x49a4b7;},_0x52d942['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x52d942['getTypeUrl']=function(_0x74e6f4){return void 0x0===_0x74e6f4&&(_0x74e6f4='type.googleapis.com'),_0x74e6f4+'/SessionsConnectResponse';},_0x52d942;}()),_0x3ef7a7['SocketDisconnectMessage']=(function(){function _0x1f155c(_0x73a4ba){if(_0x73a4ba){for(var _0x462dc1=Object['keys'](_0x73a4ba),_0x2fb571=0x0;_0x2fb571<_0x462dc1['length'];++_0x2fb571)null!=_0x73a4ba[_0x462dc1[_0x2fb571]]&&(this[_0x462dc1[_0x2fb571]]=_0x73a4ba[_0x462dc1[_0x2fb571]]);}}return _0x1f155c['prototype']['id']='',_0x1f155c['create']=function(_0x29c9c9){return new _0x1f155c(_0x29c9c9);},_0x1f155c['encode']=function(_0x294abc,_0x8f8f25){return _0x8f8f25||(_0x8f8f25=_0x10e177['create']()),null!=_0x294abc['id']&&Object['hasOwnProperty']['call'](_0x294abc,'id')&&_0x8f8f25['uint32'](0xa)['string'](_0x294abc['id']),_0x8f8f25;},_0x1f155c['encodeDelimited']=function(_0x3f67a6,_0x46c4a9){return this['encode'](_0x3f67a6,_0x46c4a9)['ldelim']();},_0x1f155c['decode']=function(_0xe477c1,_0x8d28db,_0x34099e){_0xe477c1 instanceof _0x121a90||(_0xe477c1=_0x121a90['create'](_0xe477c1));for(var _0x5c3f52=void 0x0===_0x8d28db?_0xe477c1['len']:_0xe477c1['pos']+_0x8d28db,_0x32e68c=new _0x3ef7a7['SocketDisconnectMessage']();_0xe477c1['pos']<_0x5c3f52;){var _0x2e2415=_0xe477c1['uint32']();if(_0x2e2415===_0x34099e)break;_0x2e2415>>>0x3==0x1?_0x32e68c['id']=_0xe477c1['string']():_0xe477c1['skipType'](0x7&_0x2e2415);}return _0x32e68c;},_0x1f155c['decodeDelimited']=function(_0x566037){return _0x566037 instanceof _0x121a90||(_0x566037=new _0x121a90(_0x566037)),this['decode'](_0x566037,_0x566037['uint32']());},_0x1f155c['verify']=function(_0x576ba9){return'object'!=typeof _0x576ba9||null===_0x576ba9?'object\x20expected':null!=_0x576ba9['id']&&_0x576ba9['hasOwnProperty']('id')&&!_0x3aba14['isString'](_0x576ba9['id'])?'id:\x20string\x20expected':null;},_0x1f155c['fromObject']=function(_0x38788a){if(_0x38788a instanceof _0x3ef7a7['SocketDisconnectMessage'])return _0x38788a;var _0x167b6f=new _0x3ef7a7['SocketDisconnectMessage']();return null!=_0x38788a['id']&&(_0x167b6f['id']=String(_0x38788a['id'])),_0x167b6f;},_0x1f155c['toObject']=function(_0x1810f5,_0x32ca12){_0x32ca12||(_0x32ca12={});var _0x5cbc07={};return _0x32ca12['defaults']&&(_0x5cbc07['id']=''),null!=_0x1810f5['id']&&_0x1810f5['hasOwnProperty']('id')&&(_0x5cbc07['id']=_0x1810f5['id']),_0x5cbc07;},_0x1f155c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1f155c['getTypeUrl']=function(_0x44beb9){return void 0x0===_0x44beb9&&(_0x44beb9='type.googleapis.com'),_0x44beb9+'/SocketDisconnectMessage';},_0x1f155c;}()),_0x3ef7a7['SocketConnectMessage']=(function(){function _0x26cd1b(_0x484be6){if(this['permissions']=[],_0x484be6){for(var _0x3f534b=Object['keys'](_0x484be6),_0x11f456=0x0;_0x11f456<_0x3f534b['length'];++_0x11f456)null!=_0x484be6[_0x3f534b[_0x11f456]]&&(this[_0x3f534b[_0x11f456]]=_0x484be6[_0x3f534b[_0x11f456]]);}}return _0x26cd1b['prototype']['id']='',_0x26cd1b['prototype']['userId']='',_0x26cd1b['prototype']['role']='',_0x26cd1b['prototype']['permissions']=_0x3aba14['emptyArray'],_0x26cd1b['create']=function(_0xd7f8){return new _0x26cd1b(_0xd7f8);},_0x26cd1b['encode']=function(_0x25d6e4,_0x4f4b86){if(_0x4f4b86||(_0x4f4b86=_0x10e177['create']()),null!=_0x25d6e4['id']&&Object['hasOwnProperty']['call'](_0x25d6e4,'id')&&_0x4f4b86['uint32'](0xa)['string'](_0x25d6e4['id']),null!=_0x25d6e4['userId']&&Object['hasOwnProperty']['call'](_0x25d6e4,'userId')&&_0x4f4b86['uint32'](0x12)['string'](_0x25d6e4['userId']),null!=_0x25d6e4['role']&&Object['hasOwnProperty']['call'](_0x25d6e4,'role')&&_0x4f4b86['uint32'](0x1a)['string'](_0x25d6e4['role']),null!=_0x25d6e4['permissions']&&_0x25d6e4['permissions']['length']){for(var _0x513990=0x0;_0x513990<_0x25d6e4['permissions']['length'];++_0x513990)_0x4f4b86['uint32'](0x22)['string'](_0x25d6e4['permissions'][_0x513990]);}return _0x4f4b86;},_0x26cd1b['encodeDelimited']=function(_0x3f07d9,_0x4a38b2){return this['encode'](_0x3f07d9,_0x4a38b2)['ldelim']();},_0x26cd1b['decode']=function(_0x4c1964,_0x1cf8ea,_0x291be5){_0x4c1964 instanceof _0x121a90||(_0x4c1964=_0x121a90['create'](_0x4c1964));for(var _0x5ea98a=void 0x0===_0x1cf8ea?_0x4c1964['len']:_0x4c1964['pos']+_0x1cf8ea,_0xfae67b=new _0x3ef7a7['SocketConnectMessage']();_0x4c1964['pos']<_0x5ea98a;){var _0x9d26c5=_0x4c1964['uint32']();if(_0x9d26c5===_0x291be5)break;switch(_0x9d26c5>>>0x3){case 0x1:_0xfae67b['id']=_0x4c1964['string']();break;case 0x2:_0xfae67b['userId']=_0x4c1964['string']();break;case 0x3:_0xfae67b['role']=_0x4c1964['string']();break;case 0x4:_0xfae67b['permissions']&&_0xfae67b['permissions']['length']||(_0xfae67b['permissions']=[]),_0xfae67b['permissions']['push'](_0x4c1964['string']());break;default:_0x4c1964['skipType'](0x7&_0x9d26c5);}}return _0xfae67b;},_0x26cd1b['decodeDelimited']=function(_0x501302){return _0x501302 instanceof _0x121a90||(_0x501302=new _0x121a90(_0x501302)),this['decode'](_0x501302,_0x501302['uint32']());},_0x26cd1b['verify']=function(_0x5b867a){if('object'!=typeof _0x5b867a||null===_0x5b867a)return'object\x20expected';if(null!=_0x5b867a['id']&&_0x5b867a['hasOwnProperty']('id')&&!_0x3aba14['isString'](_0x5b867a['id']))return'id:\x20string\x20expected';if(null!=_0x5b867a['userId']&&_0x5b867a['hasOwnProperty']('userId')&&!_0x3aba14['isString'](_0x5b867a['userId']))return'userId:\x20string\x20expected';if(null!=_0x5b867a['role']&&_0x5b867a['hasOwnProperty']('role')&&!_0x3aba14['isString'](_0x5b867a['role']))return'role:\x20string\x20expected';if(null!=_0x5b867a['permissions']&&_0x5b867a['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x5b867a['permissions']))return'permissions:\x20array\x20expected';for(var _0x6c4245=0x0;_0x6c4245<_0x5b867a['permissions']['length'];++_0x6c4245)if(!_0x3aba14['isString'](_0x5b867a['permissions'][_0x6c4245]))return'permissions:\x20string[]\x20expected';}return null;},_0x26cd1b['fromObject']=function(_0x40afd9){if(_0x40afd9 instanceof _0x3ef7a7['SocketConnectMessage'])return _0x40afd9;var _0x3a6967=new _0x3ef7a7['SocketConnectMessage']();if(null!=_0x40afd9['id']&&(_0x3a6967['id']=String(_0x40afd9['id'])),null!=_0x40afd9['userId']&&(_0x3a6967['userId']=String(_0x40afd9['userId'])),null!=_0x40afd9['role']&&(_0x3a6967['role']=String(_0x40afd9['role'])),_0x40afd9['permissions']){if(!Array['isArray'](_0x40afd9['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x3a6967['permissions']=[];for(var _0x15f5ce=0x0;_0x15f5ce<_0x40afd9['permissions']['length'];++_0x15f5ce)_0x3a6967['permissions'][_0x15f5ce]=String(_0x40afd9['permissions'][_0x15f5ce]);}return _0x3a6967;},_0x26cd1b['toObject']=function(_0x2c4e9f,_0x1b1876){_0x1b1876||(_0x1b1876={});var _0x33c639={};if((_0x1b1876['arrays']||_0x1b1876['defaults'])&&(_0x33c639['permissions']=[]),_0x1b1876['defaults']&&(_0x33c639['id']='',_0x33c639['userId']='',_0x33c639['role']=''),null!=_0x2c4e9f['id']&&_0x2c4e9f['hasOwnProperty']('id')&&(_0x33c639['id']=_0x2c4e9f['id']),null!=_0x2c4e9f['userId']&&_0x2c4e9f['hasOwnProperty']('userId')&&(_0x33c639['userId']=_0x2c4e9f['userId']),null!=_0x2c4e9f['role']&&_0x2c4e9f['hasOwnProperty']('role')&&(_0x33c639['role']=_0x2c4e9f['role']),_0x2c4e9f['permissions']&&_0x2c4e9f['permissions']['length']){_0x33c639['permissions']=[];for(var _0x28ceef=0x0;_0x28ceef<_0x2c4e9f['permissions']['length'];++_0x28ceef)_0x33c639['permissions'][_0x28ceef]=_0x2c4e9f['permissions'][_0x28ceef];}return _0x33c639;},_0x26cd1b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x26cd1b['getTypeUrl']=function(_0x14dc20){return void 0x0===_0x14dc20&&(_0x14dc20='type.googleapis.com'),_0x14dc20+'/SocketConnectMessage';},_0x26cd1b;}()),_0x3ef7a7['SessionsConnectMessage']=(function(){function _0x480686(_0x291b37){if(_0x291b37){for(var _0x5f5940=Object['keys'](_0x291b37),_0x503f0f=0x0;_0x503f0f<_0x5f5940['length'];++_0x503f0f)null!=_0x291b37[_0x5f5940[_0x503f0f]]&&(this[_0x5f5940[_0x503f0f]]=_0x291b37[_0x5f5940[_0x503f0f]]);}}return _0x480686['prototype']['id']='',_0x480686['prototype']['sessionType']=0x0,_0x480686['create']=function(_0x36bb50){return new _0x480686(_0x36bb50);},_0x480686['encode']=function(_0x581e81,_0x5b0d2a){return _0x5b0d2a||(_0x5b0d2a=_0x10e177['create']()),null!=_0x581e81['id']&&Object['hasOwnProperty']['call'](_0x581e81,'id')&&_0x5b0d2a['uint32'](0xa)['string'](_0x581e81['id']),null!=_0x581e81['sessionType']&&Object['hasOwnProperty']['call'](_0x581e81,'sessionType')&&_0x5b0d2a['uint32'](0x10)['uint32'](_0x581e81['sessionType']),_0x5b0d2a;},_0x480686['encodeDelimited']=function(_0x53af57,_0x2dd471){return this['encode'](_0x53af57,_0x2dd471)['ldelim']();},_0x480686['decode']=function(_0x718f83,_0x5bf1cb,_0x355e59){_0x718f83 instanceof _0x121a90||(_0x718f83=_0x121a90['create'](_0x718f83));for(var _0x1be1ea=void 0x0===_0x5bf1cb?_0x718f83['len']:_0x718f83['pos']+_0x5bf1cb,_0x57eb06=new _0x3ef7a7['SessionsConnectMessage']();_0x718f83['pos']<_0x1be1ea;){var _0x622e35=_0x718f83['uint32']();if(_0x622e35===_0x355e59)break;switch(_0x622e35>>>0x3){case 0x1:_0x57eb06['id']=_0x718f83['string']();break;case 0x2:_0x57eb06['sessionType']=_0x718f83['uint32']();break;default:_0x718f83['skipType'](0x7&_0x622e35);}}return _0x57eb06;},_0x480686['decodeDelimited']=function(_0x60197c){return _0x60197c instanceof _0x121a90||(_0x60197c=new _0x121a90(_0x60197c)),this['decode'](_0x60197c,_0x60197c['uint32']());},_0x480686['verify']=function(_0x4b71c5){return'object'!=typeof _0x4b71c5||null===_0x4b71c5?'object\x20expected':null!=_0x4b71c5['id']&&_0x4b71c5['hasOwnProperty']('id')&&!_0x3aba14['isString'](_0x4b71c5['id'])?'id:\x20string\x20expected':null!=_0x4b71c5['sessionType']&&_0x4b71c5['hasOwnProperty']('sessionType')&&!_0x3aba14['isInteger'](_0x4b71c5['sessionType'])?'sessionType:\x20integer\x20expected':null;},_0x480686['fromObject']=function(_0xfe8cef){if(_0xfe8cef instanceof _0x3ef7a7['SessionsConnectMessage'])return _0xfe8cef;var _0x5841b6=new _0x3ef7a7['SessionsConnectMessage']();return null!=_0xfe8cef['id']&&(_0x5841b6['id']=String(_0xfe8cef['id'])),null!=_0xfe8cef['sessionType']&&(_0x5841b6['sessionType']=_0xfe8cef['sessionType']>>>0x0),_0x5841b6;},_0x480686['toObject']=function(_0x2f2df4,_0x1bae84){_0x1bae84||(_0x1bae84={});var _0x210c9a={};return _0x1bae84['defaults']&&(_0x210c9a['id']='',_0x210c9a['sessionType']=0x0),null!=_0x2f2df4['id']&&_0x2f2df4['hasOwnProperty']('id')&&(_0x210c9a['id']=_0x2f2df4['id']),null!=_0x2f2df4['sessionType']&&_0x2f2df4['hasOwnProperty']('sessionType')&&(_0x210c9a['sessionType']=_0x2f2df4['sessionType']),_0x210c9a;},_0x480686['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x480686['getTypeUrl']=function(_0x193d7e){return void 0x0===_0x193d7e&&(_0x193d7e='type.googleapis.com'),_0x193d7e+'/SessionsConnectMessage';},_0x480686;}()),_0x3ef7a7['SessionsSocketDescriptor']=(function(){function _0x20b74c(_0x43fc27){if(this['permissions']=[],_0x43fc27){for(var _0x2f9305=Object['keys'](_0x43fc27),_0x5c397c=0x0;_0x5c397c<_0x2f9305['length'];++_0x5c397c)null!=_0x43fc27[_0x2f9305[_0x5c397c]]&&(this[_0x2f9305[_0x5c397c]]=_0x43fc27[_0x2f9305[_0x5c397c]]);}}return _0x20b74c['prototype']['session']='',_0x20b74c['prototype']['user']='',_0x20b74c['prototype']['role']='',_0x20b74c['prototype']['permissions']=_0x3aba14['emptyArray'],_0x20b74c['create']=function(_0x4843f2){return new _0x20b74c(_0x4843f2);},_0x20b74c['encode']=function(_0x3f462a,_0x598bc1){if(_0x598bc1||(_0x598bc1=_0x10e177['create']()),null!=_0x3f462a['session']&&Object['hasOwnProperty']['call'](_0x3f462a,'session')&&_0x598bc1['uint32'](0xa)['string'](_0x3f462a['session']),null!=_0x3f462a['user']&&Object['hasOwnProperty']['call'](_0x3f462a,'user')&&_0x598bc1['uint32'](0x12)['string'](_0x3f462a['user']),null!=_0x3f462a['role']&&Object['hasOwnProperty']['call'](_0x3f462a,'role')&&_0x598bc1['uint32'](0x1a)['string'](_0x3f462a['role']),null!=_0x3f462a['permissions']&&_0x3f462a['permissions']['length']){for(var _0x1f7f1e=0x0;_0x1f7f1e<_0x3f462a['permissions']['length'];++_0x1f7f1e)_0x598bc1['uint32'](0x22)['string'](_0x3f462a['permissions'][_0x1f7f1e]);}return _0x598bc1;},_0x20b74c['encodeDelimited']=function(_0x271eb3,_0x384754){return this['encode'](_0x271eb3,_0x384754)['ldelim']();},_0x20b74c['decode']=function(_0x55be02,_0x1d881f,_0x2ca619){_0x55be02 instanceof _0x121a90||(_0x55be02=_0x121a90['create'](_0x55be02));for(var _0x20d1dd=void 0x0===_0x1d881f?_0x55be02['len']:_0x55be02['pos']+_0x1d881f,_0x26342b=new _0x3ef7a7['SessionsSocketDescriptor']();_0x55be02['pos']<_0x20d1dd;){var _0x95415c=_0x55be02['uint32']();if(_0x95415c===_0x2ca619)break;switch(_0x95415c>>>0x3){case 0x1:_0x26342b['session']=_0x55be02['string']();break;case 0x2:_0x26342b['user']=_0x55be02['string']();break;case 0x3:_0x26342b['role']=_0x55be02['string']();break;case 0x4:_0x26342b['permissions']&&_0x26342b['permissions']['length']||(_0x26342b['permissions']=[]),_0x26342b['permissions']['push'](_0x55be02['string']());break;default:_0x55be02['skipType'](0x7&_0x95415c);}}return _0x26342b;},_0x20b74c['decodeDelimited']=function(_0xb59021){return _0xb59021 instanceof _0x121a90||(_0xb59021=new _0x121a90(_0xb59021)),this['decode'](_0xb59021,_0xb59021['uint32']());},_0x20b74c['verify']=function(_0x3c1135){if('object'!=typeof _0x3c1135||null===_0x3c1135)return'object\x20expected';if(null!=_0x3c1135['session']&&_0x3c1135['hasOwnProperty']('session')&&!_0x3aba14['isString'](_0x3c1135['session']))return'session:\x20string\x20expected';if(null!=_0x3c1135['user']&&_0x3c1135['hasOwnProperty']('user')&&!_0x3aba14['isString'](_0x3c1135['user']))return'user:\x20string\x20expected';if(null!=_0x3c1135['role']&&_0x3c1135['hasOwnProperty']('role')&&!_0x3aba14['isString'](_0x3c1135['role']))return'role:\x20string\x20expected';if(null!=_0x3c1135['permissions']&&_0x3c1135['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x3c1135['permissions']))return'permissions:\x20array\x20expected';for(var _0x2c0804=0x0;_0x2c0804<_0x3c1135['permissions']['length'];++_0x2c0804)if(!_0x3aba14['isString'](_0x3c1135['permissions'][_0x2c0804]))return'permissions:\x20string[]\x20expected';}return null;},_0x20b74c['fromObject']=function(_0x2188b2){if(_0x2188b2 instanceof _0x3ef7a7['SessionsSocketDescriptor'])return _0x2188b2;var _0x439aa6=new _0x3ef7a7['SessionsSocketDescriptor']();if(null!=_0x2188b2['session']&&(_0x439aa6['session']=String(_0x2188b2['session'])),null!=_0x2188b2['user']&&(_0x439aa6['user']=String(_0x2188b2['user'])),null!=_0x2188b2['role']&&(_0x439aa6['role']=String(_0x2188b2['role'])),_0x2188b2['permissions']){if(!Array['isArray'](_0x2188b2['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x439aa6['permissions']=[];for(var _0x4620cb=0x0;_0x4620cb<_0x2188b2['permissions']['length'];++_0x4620cb)_0x439aa6['permissions'][_0x4620cb]=String(_0x2188b2['permissions'][_0x4620cb]);}return _0x439aa6;},_0x20b74c['toObject']=function(_0x3a852a,_0x5cb89e){_0x5cb89e||(_0x5cb89e={});var _0x44a3ab={};if((_0x5cb89e['arrays']||_0x5cb89e['defaults'])&&(_0x44a3ab['permissions']=[]),_0x5cb89e['defaults']&&(_0x44a3ab['session']='',_0x44a3ab['user']='',_0x44a3ab['role']=''),null!=_0x3a852a['session']&&_0x3a852a['hasOwnProperty']('session')&&(_0x44a3ab['session']=_0x3a852a['session']),null!=_0x3a852a['user']&&_0x3a852a['hasOwnProperty']('user')&&(_0x44a3ab['user']=_0x3a852a['user']),null!=_0x3a852a['role']&&_0x3a852a['hasOwnProperty']('role')&&(_0x44a3ab['role']=_0x3a852a['role']),_0x3a852a['permissions']&&_0x3a852a['permissions']['length']){_0x44a3ab['permissions']=[];for(var _0x127831=0x0;_0x127831<_0x3a852a['permissions']['length'];++_0x127831)_0x44a3ab['permissions'][_0x127831]=_0x3a852a['permissions'][_0x127831];}return _0x44a3ab;},_0x20b74c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x20b74c['getTypeUrl']=function(_0x1f666a){return void 0x0===_0x1f666a&&(_0x1f666a='type.googleapis.com'),_0x1f666a+'/SessionsSocketDescriptor';},_0x20b74c;}()),_0x3ef7a7['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0x1cb77d(_0x27c7e6){if(_0x27c7e6){for(var _0x43e085=Object['keys'](_0x27c7e6),_0x406e0a=0x0;_0x406e0a<_0x43e085['length'];++_0x406e0a)null!=_0x27c7e6[_0x43e085[_0x406e0a]]&&(this[_0x43e085[_0x406e0a]]=_0x27c7e6[_0x43e085[_0x406e0a]]);}}return _0x1cb77d['prototype']['requestId']=0x0,_0x1cb77d['create']=function(_0x2f4272){return new _0x1cb77d(_0x2f4272);},_0x1cb77d['encode']=function(_0x5718f2,_0x510cd6){return _0x510cd6||(_0x510cd6=_0x10e177['create']()),null!=_0x5718f2['requestId']&&Object['hasOwnProperty']['call'](_0x5718f2,'requestId')&&_0x510cd6['uint32'](0x8)['uint32'](_0x5718f2['requestId']),_0x510cd6;},_0x1cb77d['encodeDelimited']=function(_0x2fbbcb,_0x224034){return this['encode'](_0x2fbbcb,_0x224034)['ldelim']();},_0x1cb77d['decode']=function(_0x5a92d5,_0x38717c,_0x3358d6){_0x5a92d5 instanceof _0x121a90||(_0x5a92d5=_0x121a90['create'](_0x5a92d5));for(var _0x27c742=void 0x0===_0x38717c?_0x5a92d5['len']:_0x5a92d5['pos']+_0x38717c,_0x287878=new _0x3ef7a7['RevisionHistoryUpdateRevisionsResponse']();_0x5a92d5['pos']<_0x27c742;){var _0x5d6fde=_0x5a92d5['uint32']();if(_0x5d6fde===_0x3358d6)break;_0x5d6fde>>>0x3==0x1?_0x287878['requestId']=_0x5a92d5['uint32']():_0x5a92d5['skipType'](0x7&_0x5d6fde);}return _0x287878;},_0x1cb77d['decodeDelimited']=function(_0x317221){return _0x317221 instanceof _0x121a90||(_0x317221=new _0x121a90(_0x317221)),this['decode'](_0x317221,_0x317221['uint32']());},_0x1cb77d['verify']=function(_0xdf5450){return'object'!=typeof _0xdf5450||null===_0xdf5450?'object\x20expected':null!=_0xdf5450['requestId']&&_0xdf5450['hasOwnProperty']('requestId')&&!_0x3aba14['isInteger'](_0xdf5450['requestId'])?'requestId:\x20integer\x20expected':null;},_0x1cb77d['fromObject']=function(_0x700c9){if(_0x700c9 instanceof _0x3ef7a7['RevisionHistoryUpdateRevisionsResponse'])return _0x700c9;var _0x5be242=new _0x3ef7a7['RevisionHistoryUpdateRevisionsResponse']();return null!=_0x700c9['requestId']&&(_0x5be242['requestId']=_0x700c9['requestId']>>>0x0),_0x5be242;},_0x1cb77d['toObject']=function(_0x1a629a,_0x2dd28d){_0x2dd28d||(_0x2dd28d={});var _0x45988d={};return _0x2dd28d['defaults']&&(_0x45988d['requestId']=0x0),null!=_0x1a629a['requestId']&&_0x1a629a['hasOwnProperty']('requestId')&&(_0x45988d['requestId']=_0x1a629a['requestId']),_0x45988d;},_0x1cb77d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1cb77d['getTypeUrl']=function(_0xc84fcb){return void 0x0===_0xc84fcb&&(_0xc84fcb='type.googleapis.com'),_0xc84fcb+'/RevisionHistoryUpdateRevisionsResponse';},_0x1cb77d;}()),_0x3ef7a7['RevisionHistoryGetRevisionResponse']=(function(){function _0x184670(_0x37caf3){if(_0x37caf3){for(var _0x3930a8=Object['keys'](_0x37caf3),_0x337a2d=0x0;_0x337a2d<_0x3930a8['length'];++_0x337a2d)null!=_0x37caf3[_0x3930a8[_0x337a2d]]&&(this[_0x3930a8[_0x337a2d]]=_0x37caf3[_0x3930a8[_0x337a2d]]);}}return _0x184670['prototype']['revisionId']='',_0x184670['prototype']['name']='',_0x184670['prototype']['creatorId']='',_0x184670['prototype']['authorsIds']='',_0x184670['prototype']['diffData']='',_0x184670['prototype']['createdAt']='',_0x184670['prototype']['attributes']='',_0x184670['prototype']['toVersion']=0x0,_0x184670['prototype']['fromVersion']=0x0,_0x184670['prototype']['isEmptyCurrent']=!0x1,_0x184670['create']=function(_0x417a87){return new _0x184670(_0x417a87);},_0x184670['encode']=function(_0x26ca69,_0x90cf7c){return _0x90cf7c||(_0x90cf7c=_0x10e177['create']()),null!=_0x26ca69['revisionId']&&Object['hasOwnProperty']['call'](_0x26ca69,'revisionId')&&_0x90cf7c['uint32'](0xa)['string'](_0x26ca69['revisionId']),null!=_0x26ca69['name']&&Object['hasOwnProperty']['call'](_0x26ca69,'name')&&_0x90cf7c['uint32'](0x12)['string'](_0x26ca69['name']),null!=_0x26ca69['creatorId']&&Object['hasOwnProperty']['call'](_0x26ca69,'creatorId')&&_0x90cf7c['uint32'](0x1a)['string'](_0x26ca69['creatorId']),null!=_0x26ca69['authorsIds']&&Object['hasOwnProperty']['call'](_0x26ca69,'authorsIds')&&_0x90cf7c['uint32'](0x22)['string'](_0x26ca69['authorsIds']),null!=_0x26ca69['diffData']&&Object['hasOwnProperty']['call'](_0x26ca69,'diffData')&&_0x90cf7c['uint32'](0x2a)['string'](_0x26ca69['diffData']),null!=_0x26ca69['createdAt']&&Object['hasOwnProperty']['call'](_0x26ca69,'createdAt')&&_0x90cf7c['uint32'](0x32)['string'](_0x26ca69['createdAt']),null!=_0x26ca69['attributes']&&Object['hasOwnProperty']['call'](_0x26ca69,'attributes')&&_0x90cf7c['uint32'](0x3a)['string'](_0x26ca69['attributes']),null!=_0x26ca69['toVersion']&&Object['hasOwnProperty']['call'](_0x26ca69,'toVersion')&&_0x90cf7c['uint32'](0x40)['uint32'](_0x26ca69['toVersion']),null!=_0x26ca69['fromVersion']&&Object['hasOwnProperty']['call'](_0x26ca69,'fromVersion')&&_0x90cf7c['uint32'](0x48)['uint32'](_0x26ca69['fromVersion']),null!=_0x26ca69['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x26ca69,'isEmptyCurrent')&&_0x90cf7c['uint32'](0x50)['bool'](_0x26ca69['isEmptyCurrent']),_0x90cf7c;},_0x184670['encodeDelimited']=function(_0x2c41af,_0x269b1a){return this['encode'](_0x2c41af,_0x269b1a)['ldelim']();},_0x184670['decode']=function(_0x22ba9c,_0x2bdd50,_0x40f99c){_0x22ba9c instanceof _0x121a90||(_0x22ba9c=_0x121a90['create'](_0x22ba9c));for(var _0x2d4121=void 0x0===_0x2bdd50?_0x22ba9c['len']:_0x22ba9c['pos']+_0x2bdd50,_0x443074=new _0x3ef7a7['RevisionHistoryGetRevisionResponse']();_0x22ba9c['pos']<_0x2d4121;){var _0x48c67e=_0x22ba9c['uint32']();if(_0x48c67e===_0x40f99c)break;switch(_0x48c67e>>>0x3){case 0x1:_0x443074['revisionId']=_0x22ba9c['string']();break;case 0x2:_0x443074['name']=_0x22ba9c['string']();break;case 0x3:_0x443074['creatorId']=_0x22ba9c['string']();break;case 0x4:_0x443074['authorsIds']=_0x22ba9c['string']();break;case 0x5:_0x443074['diffData']=_0x22ba9c['string']();break;case 0x6:_0x443074['createdAt']=_0x22ba9c['string']();break;case 0x7:_0x443074['attributes']=_0x22ba9c['string']();break;case 0x8:_0x443074['toVersion']=_0x22ba9c['uint32']();break;case 0x9:_0x443074['fromVersion']=_0x22ba9c['uint32']();break;case 0xa:_0x443074['isEmptyCurrent']=_0x22ba9c['bool']();break;default:_0x22ba9c['skipType'](0x7&_0x48c67e);}}return _0x443074;},_0x184670['decodeDelimited']=function(_0x546d23){return _0x546d23 instanceof _0x121a90||(_0x546d23=new _0x121a90(_0x546d23)),this['decode'](_0x546d23,_0x546d23['uint32']());},_0x184670['verify']=function(_0x5da2da){return'object'!=typeof _0x5da2da||null===_0x5da2da?'object\x20expected':null!=_0x5da2da['revisionId']&&_0x5da2da['hasOwnProperty']('revisionId')&&!_0x3aba14['isString'](_0x5da2da['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x5da2da['name']&&_0x5da2da['hasOwnProperty']('name')&&!_0x3aba14['isString'](_0x5da2da['name'])?'name:\x20string\x20expected':null!=_0x5da2da['creatorId']&&_0x5da2da['hasOwnProperty']('creatorId')&&!_0x3aba14['isString'](_0x5da2da['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x5da2da['authorsIds']&&_0x5da2da['hasOwnProperty']('authorsIds')&&!_0x3aba14['isString'](_0x5da2da['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x5da2da['diffData']&&_0x5da2da['hasOwnProperty']('diffData')&&!_0x3aba14['isString'](_0x5da2da['diffData'])?'diffData:\x20string\x20expected':null!=_0x5da2da['createdAt']&&_0x5da2da['hasOwnProperty']('createdAt')&&!_0x3aba14['isString'](_0x5da2da['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x5da2da['attributes']&&_0x5da2da['hasOwnProperty']('attributes')&&!_0x3aba14['isString'](_0x5da2da['attributes'])?'attributes:\x20string\x20expected':null!=_0x5da2da['toVersion']&&_0x5da2da['hasOwnProperty']('toVersion')&&!_0x3aba14['isInteger'](_0x5da2da['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x5da2da['fromVersion']&&_0x5da2da['hasOwnProperty']('fromVersion')&&!_0x3aba14['isInteger'](_0x5da2da['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x5da2da['isEmptyCurrent']&&_0x5da2da['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x5da2da['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x184670['fromObject']=function(_0x36a5db){if(_0x36a5db instanceof _0x3ef7a7['RevisionHistoryGetRevisionResponse'])return _0x36a5db;var _0x11112d=new _0x3ef7a7['RevisionHistoryGetRevisionResponse']();return null!=_0x36a5db['revisionId']&&(_0x11112d['revisionId']=String(_0x36a5db['revisionId'])),null!=_0x36a5db['name']&&(_0x11112d['name']=String(_0x36a5db['name'])),null!=_0x36a5db['creatorId']&&(_0x11112d['creatorId']=String(_0x36a5db['creatorId'])),null!=_0x36a5db['authorsIds']&&(_0x11112d['authorsIds']=String(_0x36a5db['authorsIds'])),null!=_0x36a5db['diffData']&&(_0x11112d['diffData']=String(_0x36a5db['diffData'])),null!=_0x36a5db['createdAt']&&(_0x11112d['createdAt']=String(_0x36a5db['createdAt'])),null!=_0x36a5db['attributes']&&(_0x11112d['attributes']=String(_0x36a5db['attributes'])),null!=_0x36a5db['toVersion']&&(_0x11112d['toVersion']=_0x36a5db['toVersion']>>>0x0),null!=_0x36a5db['fromVersion']&&(_0x11112d['fromVersion']=_0x36a5db['fromVersion']>>>0x0),null!=_0x36a5db['isEmptyCurrent']&&(_0x11112d['isEmptyCurrent']=Boolean(_0x36a5db['isEmptyCurrent'])),_0x11112d;},_0x184670['toObject']=function(_0x197bda,_0x98fc90){_0x98fc90||(_0x98fc90={});var _0x46cc0e={};return _0x98fc90['defaults']&&(_0x46cc0e['revisionId']='',_0x46cc0e['name']='',_0x46cc0e['creatorId']='',_0x46cc0e['authorsIds']='',_0x46cc0e['diffData']='',_0x46cc0e['createdAt']='',_0x46cc0e['attributes']='',_0x46cc0e['toVersion']=0x0,_0x46cc0e['fromVersion']=0x0,_0x46cc0e['isEmptyCurrent']=!0x1),null!=_0x197bda['revisionId']&&_0x197bda['hasOwnProperty']('revisionId')&&(_0x46cc0e['revisionId']=_0x197bda['revisionId']),null!=_0x197bda['name']&&_0x197bda['hasOwnProperty']('name')&&(_0x46cc0e['name']=_0x197bda['name']),null!=_0x197bda['creatorId']&&_0x197bda['hasOwnProperty']('creatorId')&&(_0x46cc0e['creatorId']=_0x197bda['creatorId']),null!=_0x197bda['authorsIds']&&_0x197bda['hasOwnProperty']('authorsIds')&&(_0x46cc0e['authorsIds']=_0x197bda['authorsIds']),null!=_0x197bda['diffData']&&_0x197bda['hasOwnProperty']('diffData')&&(_0x46cc0e['diffData']=_0x197bda['diffData']),null!=_0x197bda['createdAt']&&_0x197bda['hasOwnProperty']('createdAt')&&(_0x46cc0e['createdAt']=_0x197bda['createdAt']),null!=_0x197bda['attributes']&&_0x197bda['hasOwnProperty']('attributes')&&(_0x46cc0e['attributes']=_0x197bda['attributes']),null!=_0x197bda['toVersion']&&_0x197bda['hasOwnProperty']('toVersion')&&(_0x46cc0e['toVersion']=_0x197bda['toVersion']),null!=_0x197bda['fromVersion']&&_0x197bda['hasOwnProperty']('fromVersion')&&(_0x46cc0e['fromVersion']=_0x197bda['fromVersion']),null!=_0x197bda['isEmptyCurrent']&&_0x197bda['hasOwnProperty']('isEmptyCurrent')&&(_0x46cc0e['isEmptyCurrent']=_0x197bda['isEmptyCurrent']),_0x46cc0e;},_0x184670['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x184670['getTypeUrl']=function(_0x306c13){return void 0x0===_0x306c13&&(_0x306c13='type.googleapis.com'),_0x306c13+'/RevisionHistoryGetRevisionResponse';},_0x184670;}()),_0x3ef7a7['RevisionHistoryConnectResponse']=(function(){function _0x13c41f(_0x2bc174){if(this['revisions']=[],_0x2bc174){for(var _0x3a81dd=Object['keys'](_0x2bc174),_0x53c50c=0x0;_0x53c50c<_0x3a81dd['length'];++_0x53c50c)null!=_0x2bc174[_0x3a81dd[_0x53c50c]]&&(this[_0x3a81dd[_0x53c50c]]=_0x2bc174[_0x3a81dd[_0x53c50c]]);}}return _0x13c41f['prototype']['channel']='',_0x13c41f['prototype']['requestId']=0x0,_0x13c41f['prototype']['revisions']=_0x3aba14['emptyArray'],_0x13c41f['create']=function(_0x325905){return new _0x13c41f(_0x325905);},_0x13c41f['encode']=function(_0x7b2eab,_0x5a993f){if(_0x5a993f||(_0x5a993f=_0x10e177['create']()),null!=_0x7b2eab['channel']&&Object['hasOwnProperty']['call'](_0x7b2eab,'channel')&&_0x5a993f['uint32'](0xa)['string'](_0x7b2eab['channel']),null!=_0x7b2eab['requestId']&&Object['hasOwnProperty']['call'](_0x7b2eab,'requestId')&&_0x5a993f['uint32'](0x10)['uint32'](_0x7b2eab['requestId']),null!=_0x7b2eab['revisions']&&_0x7b2eab['revisions']['length']){for(var _0x2f8d5d=0x0;_0x2f8d5d<_0x7b2eab['revisions']['length'];++_0x2f8d5d)_0x3ef7a7['RevisionDescriptor']['encode'](_0x7b2eab['revisions'][_0x2f8d5d],_0x5a993f['uint32'](0x1a)['fork']())['ldelim']();}return _0x5a993f;},_0x13c41f['encodeDelimited']=function(_0x529087,_0x3277be){return this['encode'](_0x529087,_0x3277be)['ldelim']();},_0x13c41f['decode']=function(_0x19bf26,_0x2c79da,_0x5b47cc){_0x19bf26 instanceof _0x121a90||(_0x19bf26=_0x121a90['create'](_0x19bf26));for(var _0x1e7e99=void 0x0===_0x2c79da?_0x19bf26['len']:_0x19bf26['pos']+_0x2c79da,_0xe1d8=new _0x3ef7a7['RevisionHistoryConnectResponse']();_0x19bf26['pos']<_0x1e7e99;){var _0x4fac91=_0x19bf26['uint32']();if(_0x4fac91===_0x5b47cc)break;switch(_0x4fac91>>>0x3){case 0x1:_0xe1d8['channel']=_0x19bf26['string']();break;case 0x2:_0xe1d8['requestId']=_0x19bf26['uint32']();break;case 0x3:_0xe1d8['revisions']&&_0xe1d8['revisions']['length']||(_0xe1d8['revisions']=[]),_0xe1d8['revisions']['push'](_0x3ef7a7['RevisionDescriptor']['decode'](_0x19bf26,_0x19bf26['uint32']()));break;default:_0x19bf26['skipType'](0x7&_0x4fac91);}}return _0xe1d8;},_0x13c41f['decodeDelimited']=function(_0x2b58b3){return _0x2b58b3 instanceof _0x121a90||(_0x2b58b3=new _0x121a90(_0x2b58b3)),this['decode'](_0x2b58b3,_0x2b58b3['uint32']());},_0x13c41f['verify']=function(_0x5336b3){if('object'!=typeof _0x5336b3||null===_0x5336b3)return'object\x20expected';if(null!=_0x5336b3['channel']&&_0x5336b3['hasOwnProperty']('channel')&&!_0x3aba14['isString'](_0x5336b3['channel']))return'channel:\x20string\x20expected';if(null!=_0x5336b3['requestId']&&_0x5336b3['hasOwnProperty']('requestId')&&!_0x3aba14['isInteger'](_0x5336b3['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x5336b3['revisions']&&_0x5336b3['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x5336b3['revisions']))return'revisions:\x20array\x20expected';for(var _0x376299=0x0;_0x376299<_0x5336b3['revisions']['length'];++_0x376299){var _0x457905=_0x3ef7a7['RevisionDescriptor']['verify'](_0x5336b3['revisions'][_0x376299]);if(_0x457905)return'revisions.'+_0x457905;}}return null;},_0x13c41f['fromObject']=function(_0x3fa835){if(_0x3fa835 instanceof _0x3ef7a7['RevisionHistoryConnectResponse'])return _0x3fa835;var _0x592297=new _0x3ef7a7['RevisionHistoryConnectResponse']();if(null!=_0x3fa835['channel']&&(_0x592297['channel']=String(_0x3fa835['channel'])),null!=_0x3fa835['requestId']&&(_0x592297['requestId']=_0x3fa835['requestId']>>>0x0),_0x3fa835['revisions']){if(!Array['isArray'](_0x3fa835['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x592297['revisions']=[];for(var _0x292861=0x0;_0x292861<_0x3fa835['revisions']['length'];++_0x292861){if('object'!=typeof _0x3fa835['revisions'][_0x292861])throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x592297['revisions'][_0x292861]=_0x3ef7a7['RevisionDescriptor']['fromObject'](_0x3fa835['revisions'][_0x292861]);}}return _0x592297;},_0x13c41f['toObject']=function(_0x1a9757,_0x114378){_0x114378||(_0x114378={});var _0x437977={};if((_0x114378['arrays']||_0x114378['defaults'])&&(_0x437977['revisions']=[]),_0x114378['defaults']&&(_0x437977['channel']='',_0x437977['requestId']=0x0),null!=_0x1a9757['channel']&&_0x1a9757['hasOwnProperty']('channel')&&(_0x437977['channel']=_0x1a9757['channel']),null!=_0x1a9757['requestId']&&_0x1a9757['hasOwnProperty']('requestId')&&(_0x437977['requestId']=_0x1a9757['requestId']),_0x1a9757['revisions']&&_0x1a9757['revisions']['length']){_0x437977['revisions']=[];for(var _0x1b191f=0x0;_0x1b191f<_0x1a9757['revisions']['length'];++_0x1b191f)_0x437977['revisions'][_0x1b191f]=_0x3ef7a7['RevisionDescriptor']['toObject'](_0x1a9757['revisions'][_0x1b191f],_0x114378);}return _0x437977;},_0x13c41f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x13c41f['getTypeUrl']=function(_0x3f29ff){return void 0x0===_0x3f29ff&&(_0x3f29ff='type.googleapis.com'),_0x3f29ff+'/RevisionHistoryConnectResponse';},_0x13c41f;}()),_0x3ef7a7['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x2c63af(_0x3ab56a){if(this['revisions']=[],_0x3ab56a){for(var _0x2bce41=Object['keys'](_0x3ab56a),_0x6a6a5d=0x0;_0x6a6a5d<_0x2bce41['length'];++_0x6a6a5d)null!=_0x3ab56a[_0x2bce41[_0x6a6a5d]]&&(this[_0x2bce41[_0x6a6a5d]]=_0x3ab56a[_0x2bce41[_0x6a6a5d]]);}}return _0x2c63af['prototype']['documentId']='',_0x2c63af['prototype']['requestId']=0x0,_0x2c63af['prototype']['revisions']=_0x3aba14['emptyArray'],_0x2c63af['create']=function(_0x253a9f){return new _0x2c63af(_0x253a9f);},_0x2c63af['encode']=function(_0x3b7d40,_0x30b6c0){if(_0x30b6c0||(_0x30b6c0=_0x10e177['create']()),null!=_0x3b7d40['documentId']&&Object['hasOwnProperty']['call'](_0x3b7d40,'documentId')&&_0x30b6c0['uint32'](0xa)['string'](_0x3b7d40['documentId']),null!=_0x3b7d40['requestId']&&Object['hasOwnProperty']['call'](_0x3b7d40,'requestId')&&_0x30b6c0['uint32'](0x10)['uint32'](_0x3b7d40['requestId']),null!=_0x3b7d40['revisions']&&_0x3b7d40['revisions']['length']){for(var _0x4ee1e0=0x0;_0x4ee1e0<_0x3b7d40['revisions']['length'];++_0x4ee1e0)_0x3ef7a7['RevisionDescriptor']['encode'](_0x3b7d40['revisions'][_0x4ee1e0],_0x30b6c0['uint32'](0x1a)['fork']())['ldelim']();}return _0x30b6c0;},_0x2c63af['encodeDelimited']=function(_0x3623c6,_0x5abde2){return this['encode'](_0x3623c6,_0x5abde2)['ldelim']();},_0x2c63af['decode']=function(_0x154bcb,_0xa19683,_0x10211f){_0x154bcb instanceof _0x121a90||(_0x154bcb=_0x121a90['create'](_0x154bcb));for(var _0x53d13f=void 0x0===_0xa19683?_0x154bcb['len']:_0x154bcb['pos']+_0xa19683,_0x58c61f=new _0x3ef7a7['RevisionHistoryUpdateRevisionsMessage']();_0x154bcb['pos']<_0x53d13f;){var _0x55ef3e=_0x154bcb['uint32']();if(_0x55ef3e===_0x10211f)break;switch(_0x55ef3e>>>0x3){case 0x1:_0x58c61f['documentId']=_0x154bcb['string']();break;case 0x2:_0x58c61f['requestId']=_0x154bcb['uint32']();break;case 0x3:_0x58c61f['revisions']&&_0x58c61f['revisions']['length']||(_0x58c61f['revisions']=[]),_0x58c61f['revisions']['push'](_0x3ef7a7['RevisionDescriptor']['decode'](_0x154bcb,_0x154bcb['uint32']()));break;default:_0x154bcb['skipType'](0x7&_0x55ef3e);}}return _0x58c61f;},_0x2c63af['decodeDelimited']=function(_0x1dc7f1){return _0x1dc7f1 instanceof _0x121a90||(_0x1dc7f1=new _0x121a90(_0x1dc7f1)),this['decode'](_0x1dc7f1,_0x1dc7f1['uint32']());},_0x2c63af['verify']=function(_0x2b13bc){if('object'!=typeof _0x2b13bc||null===_0x2b13bc)return'object\x20expected';if(null!=_0x2b13bc['documentId']&&_0x2b13bc['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x2b13bc['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x2b13bc['requestId']&&_0x2b13bc['hasOwnProperty']('requestId')&&!_0x3aba14['isInteger'](_0x2b13bc['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x2b13bc['revisions']&&_0x2b13bc['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x2b13bc['revisions']))return'revisions:\x20array\x20expected';for(var _0x4f96c4=0x0;_0x4f96c4<_0x2b13bc['revisions']['length'];++_0x4f96c4){var _0x3525cd=_0x3ef7a7['RevisionDescriptor']['verify'](_0x2b13bc['revisions'][_0x4f96c4]);if(_0x3525cd)return'revisions.'+_0x3525cd;}}return null;},_0x2c63af['fromObject']=function(_0x5abd9a){if(_0x5abd9a instanceof _0x3ef7a7['RevisionHistoryUpdateRevisionsMessage'])return _0x5abd9a;var _0x2d2300=new _0x3ef7a7['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x5abd9a['documentId']&&(_0x2d2300['documentId']=String(_0x5abd9a['documentId'])),null!=_0x5abd9a['requestId']&&(_0x2d2300['requestId']=_0x5abd9a['requestId']>>>0x0),_0x5abd9a['revisions']){if(!Array['isArray'](_0x5abd9a['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x2d2300['revisions']=[];for(var _0x5f7426=0x0;_0x5f7426<_0x5abd9a['revisions']['length'];++_0x5f7426){if('object'!=typeof _0x5abd9a['revisions'][_0x5f7426])throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x2d2300['revisions'][_0x5f7426]=_0x3ef7a7['RevisionDescriptor']['fromObject'](_0x5abd9a['revisions'][_0x5f7426]);}}return _0x2d2300;},_0x2c63af['toObject']=function(_0x587b50,_0x3d3129){_0x3d3129||(_0x3d3129={});var _0x540fd9={};if((_0x3d3129['arrays']||_0x3d3129['defaults'])&&(_0x540fd9['revisions']=[]),_0x3d3129['defaults']&&(_0x540fd9['documentId']='',_0x540fd9['requestId']=0x0),null!=_0x587b50['documentId']&&_0x587b50['hasOwnProperty']('documentId')&&(_0x540fd9['documentId']=_0x587b50['documentId']),null!=_0x587b50['requestId']&&_0x587b50['hasOwnProperty']('requestId')&&(_0x540fd9['requestId']=_0x587b50['requestId']),_0x587b50['revisions']&&_0x587b50['revisions']['length']){_0x540fd9['revisions']=[];for(var _0x4f32dd=0x0;_0x4f32dd<_0x587b50['revisions']['length'];++_0x4f32dd)_0x540fd9['revisions'][_0x4f32dd]=_0x3ef7a7['RevisionDescriptor']['toObject'](_0x587b50['revisions'][_0x4f32dd],_0x3d3129);}return _0x540fd9;},_0x2c63af['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2c63af['getTypeUrl']=function(_0x3c928a){return void 0x0===_0x3c928a&&(_0x3c928a='type.googleapis.com'),_0x3c928a+'/RevisionHistoryUpdateRevisionsMessage';},_0x2c63af;}()),_0x3ef7a7['RevisionHistoryReconnectMessage']=(function(){function _0x241b0f(_0x269798){if(_0x269798){for(var _0xc19297=Object['keys'](_0x269798),_0x5577d7=0x0;_0x5577d7<_0xc19297['length'];++_0x5577d7)null!=_0x269798[_0xc19297[_0x5577d7]]&&(this[_0xc19297[_0x5577d7]]=_0x269798[_0xc19297[_0x5577d7]]);}}return _0x241b0f['prototype']['documentId']='',_0x241b0f['prototype']['requestId']=0x0,_0x241b0f['create']=function(_0x558199){return new _0x241b0f(_0x558199);},_0x241b0f['encode']=function(_0x305573,_0x4b828f){return _0x4b828f||(_0x4b828f=_0x10e177['create']()),null!=_0x305573['documentId']&&Object['hasOwnProperty']['call'](_0x305573,'documentId')&&_0x4b828f['uint32'](0xa)['string'](_0x305573['documentId']),null!=_0x305573['requestId']&&Object['hasOwnProperty']['call'](_0x305573,'requestId')&&_0x4b828f['uint32'](0x10)['uint32'](_0x305573['requestId']),_0x4b828f;},_0x241b0f['encodeDelimited']=function(_0x5c8e7b,_0x5090cb){return this['encode'](_0x5c8e7b,_0x5090cb)['ldelim']();},_0x241b0f['decode']=function(_0x21dc79,_0x5ee385,_0x5a2f40){_0x21dc79 instanceof _0x121a90||(_0x21dc79=_0x121a90['create'](_0x21dc79));for(var _0x4fc668=void 0x0===_0x5ee385?_0x21dc79['len']:_0x21dc79['pos']+_0x5ee385,_0x59801e=new _0x3ef7a7['RevisionHistoryReconnectMessage']();_0x21dc79['pos']<_0x4fc668;){var _0x1872f7=_0x21dc79['uint32']();if(_0x1872f7===_0x5a2f40)break;switch(_0x1872f7>>>0x3){case 0x1:_0x59801e['documentId']=_0x21dc79['string']();break;case 0x2:_0x59801e['requestId']=_0x21dc79['uint32']();break;default:_0x21dc79['skipType'](0x7&_0x1872f7);}}return _0x59801e;},_0x241b0f['decodeDelimited']=function(_0x5f4478){return _0x5f4478 instanceof _0x121a90||(_0x5f4478=new _0x121a90(_0x5f4478)),this['decode'](_0x5f4478,_0x5f4478['uint32']());},_0x241b0f['verify']=function(_0x51a3ad){return'object'!=typeof _0x51a3ad||null===_0x51a3ad?'object\x20expected':null!=_0x51a3ad['documentId']&&_0x51a3ad['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x51a3ad['documentId'])?'documentId:\x20string\x20expected':null!=_0x51a3ad['requestId']&&_0x51a3ad['hasOwnProperty']('requestId')&&!_0x3aba14['isInteger'](_0x51a3ad['requestId'])?'requestId:\x20integer\x20expected':null;},_0x241b0f['fromObject']=function(_0x38d52c){if(_0x38d52c instanceof _0x3ef7a7['RevisionHistoryReconnectMessage'])return _0x38d52c;var _0x26a140=new _0x3ef7a7['RevisionHistoryReconnectMessage']();return null!=_0x38d52c['documentId']&&(_0x26a140['documentId']=String(_0x38d52c['documentId'])),null!=_0x38d52c['requestId']&&(_0x26a140['requestId']=_0x38d52c['requestId']>>>0x0),_0x26a140;},_0x241b0f['toObject']=function(_0x32b3c9,_0x102dd1){_0x102dd1||(_0x102dd1={});var _0x4adbd3={};return _0x102dd1['defaults']&&(_0x4adbd3['documentId']='',_0x4adbd3['requestId']=0x0),null!=_0x32b3c9['documentId']&&_0x32b3c9['hasOwnProperty']('documentId')&&(_0x4adbd3['documentId']=_0x32b3c9['documentId']),null!=_0x32b3c9['requestId']&&_0x32b3c9['hasOwnProperty']('requestId')&&(_0x4adbd3['requestId']=_0x32b3c9['requestId']),_0x4adbd3;},_0x241b0f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x241b0f['getTypeUrl']=function(_0x1c1477){return void 0x0===_0x1c1477&&(_0x1c1477='type.googleapis.com'),_0x1c1477+'/RevisionHistoryReconnectMessage';},_0x241b0f;}()),_0x3ef7a7['RevisionHistoryGetRevisionMessage']=(function(){function _0x3e58a5(_0x7e2d0e){if(_0x7e2d0e){for(var _0x21bf87=Object['keys'](_0x7e2d0e),_0x159614=0x0;_0x159614<_0x21bf87['length'];++_0x159614)null!=_0x7e2d0e[_0x21bf87[_0x159614]]&&(this[_0x21bf87[_0x159614]]=_0x7e2d0e[_0x21bf87[_0x159614]]);}}return _0x3e58a5['prototype']['documentId']='',_0x3e58a5['prototype']['revisionId']='',_0x3e58a5['create']=function(_0x5a62c1){return new _0x3e58a5(_0x5a62c1);},_0x3e58a5['encode']=function(_0x1b5302,_0xca52de){return _0xca52de||(_0xca52de=_0x10e177['create']()),null!=_0x1b5302['documentId']&&Object['hasOwnProperty']['call'](_0x1b5302,'documentId')&&_0xca52de['uint32'](0xa)['string'](_0x1b5302['documentId']),null!=_0x1b5302['revisionId']&&Object['hasOwnProperty']['call'](_0x1b5302,'revisionId')&&_0xca52de['uint32'](0x12)['string'](_0x1b5302['revisionId']),_0xca52de;},_0x3e58a5['encodeDelimited']=function(_0x4bc104,_0x2e5199){return this['encode'](_0x4bc104,_0x2e5199)['ldelim']();},_0x3e58a5['decode']=function(_0x49b803,_0x2c10d5,_0xd8e132){_0x49b803 instanceof _0x121a90||(_0x49b803=_0x121a90['create'](_0x49b803));for(var _0x1538ab=void 0x0===_0x2c10d5?_0x49b803['len']:_0x49b803['pos']+_0x2c10d5,_0x3d3030=new _0x3ef7a7['RevisionHistoryGetRevisionMessage']();_0x49b803['pos']<_0x1538ab;){var _0x14b106=_0x49b803['uint32']();if(_0x14b106===_0xd8e132)break;switch(_0x14b106>>>0x3){case 0x1:_0x3d3030['documentId']=_0x49b803['string']();break;case 0x2:_0x3d3030['revisionId']=_0x49b803['string']();break;default:_0x49b803['skipType'](0x7&_0x14b106);}}return _0x3d3030;},_0x3e58a5['decodeDelimited']=function(_0x12c275){return _0x12c275 instanceof _0x121a90||(_0x12c275=new _0x121a90(_0x12c275)),this['decode'](_0x12c275,_0x12c275['uint32']());},_0x3e58a5['verify']=function(_0x5eda14){return'object'!=typeof _0x5eda14||null===_0x5eda14?'object\x20expected':null!=_0x5eda14['documentId']&&_0x5eda14['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x5eda14['documentId'])?'documentId:\x20string\x20expected':null!=_0x5eda14['revisionId']&&_0x5eda14['hasOwnProperty']('revisionId')&&!_0x3aba14['isString'](_0x5eda14['revisionId'])?'revisionId:\x20string\x20expected':null;},_0x3e58a5['fromObject']=function(_0x35b6e4){if(_0x35b6e4 instanceof _0x3ef7a7['RevisionHistoryGetRevisionMessage'])return _0x35b6e4;var _0x2f2dad=new _0x3ef7a7['RevisionHistoryGetRevisionMessage']();return null!=_0x35b6e4['documentId']&&(_0x2f2dad['documentId']=String(_0x35b6e4['documentId'])),null!=_0x35b6e4['revisionId']&&(_0x2f2dad['revisionId']=String(_0x35b6e4['revisionId'])),_0x2f2dad;},_0x3e58a5['toObject']=function(_0xc24a55,_0x47105a){_0x47105a||(_0x47105a={});var _0x3128b0={};return _0x47105a['defaults']&&(_0x3128b0['documentId']='',_0x3128b0['revisionId']=''),null!=_0xc24a55['documentId']&&_0xc24a55['hasOwnProperty']('documentId')&&(_0x3128b0['documentId']=_0xc24a55['documentId']),null!=_0xc24a55['revisionId']&&_0xc24a55['hasOwnProperty']('revisionId')&&(_0x3128b0['revisionId']=_0xc24a55['revisionId']),_0x3128b0;},_0x3e58a5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3e58a5['getTypeUrl']=function(_0x43c1f5){return void 0x0===_0x43c1f5&&(_0x43c1f5='type.googleapis.com'),_0x43c1f5+'/RevisionHistoryGetRevisionMessage';},_0x3e58a5;}()),_0x3ef7a7['RevisionHistoryConnectMessage']=(function(){function _0x4c9f89(_0x43bf3e){if(_0x43bf3e){for(var _0x2d3619=Object['keys'](_0x43bf3e),_0x85bd4b=0x0;_0x85bd4b<_0x2d3619['length'];++_0x85bd4b)null!=_0x43bf3e[_0x2d3619[_0x85bd4b]]&&(this[_0x2d3619[_0x85bd4b]]=_0x43bf3e[_0x2d3619[_0x85bd4b]]);}}return _0x4c9f89['prototype']['documentId']='',_0x4c9f89['create']=function(_0x3e9f0d){return new _0x4c9f89(_0x3e9f0d);},_0x4c9f89['encode']=function(_0x39ed1f,_0x40d582){return _0x40d582||(_0x40d582=_0x10e177['create']()),null!=_0x39ed1f['documentId']&&Object['hasOwnProperty']['call'](_0x39ed1f,'documentId')&&_0x40d582['uint32'](0xa)['string'](_0x39ed1f['documentId']),_0x40d582;},_0x4c9f89['encodeDelimited']=function(_0x5c638c,_0x395363){return this['encode'](_0x5c638c,_0x395363)['ldelim']();},_0x4c9f89['decode']=function(_0x345924,_0x4af7fb,_0x291519){_0x345924 instanceof _0x121a90||(_0x345924=_0x121a90['create'](_0x345924));for(var _0x3f5c89=void 0x0===_0x4af7fb?_0x345924['len']:_0x345924['pos']+_0x4af7fb,_0x363ab0=new _0x3ef7a7['RevisionHistoryConnectMessage']();_0x345924['pos']<_0x3f5c89;){var _0x3a2da9=_0x345924['uint32']();if(_0x3a2da9===_0x291519)break;_0x3a2da9>>>0x3==0x1?_0x363ab0['documentId']=_0x345924['string']():_0x345924['skipType'](0x7&_0x3a2da9);}return _0x363ab0;},_0x4c9f89['decodeDelimited']=function(_0x261dc4){return _0x261dc4 instanceof _0x121a90||(_0x261dc4=new _0x121a90(_0x261dc4)),this['decode'](_0x261dc4,_0x261dc4['uint32']());},_0x4c9f89['verify']=function(_0x3d5459){return'object'!=typeof _0x3d5459||null===_0x3d5459?'object\x20expected':null!=_0x3d5459['documentId']&&_0x3d5459['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x3d5459['documentId'])?'documentId:\x20string\x20expected':null;},_0x4c9f89['fromObject']=function(_0x2dea5c){if(_0x2dea5c instanceof _0x3ef7a7['RevisionHistoryConnectMessage'])return _0x2dea5c;var _0x402f85=new _0x3ef7a7['RevisionHistoryConnectMessage']();return null!=_0x2dea5c['documentId']&&(_0x402f85['documentId']=String(_0x2dea5c['documentId'])),_0x402f85;},_0x4c9f89['toObject']=function(_0x3079fb,_0xa6934){_0xa6934||(_0xa6934={});var _0x23dbde={};return _0xa6934['defaults']&&(_0x23dbde['documentId']=''),null!=_0x3079fb['documentId']&&_0x3079fb['hasOwnProperty']('documentId')&&(_0x23dbde['documentId']=_0x3079fb['documentId']),_0x23dbde;},_0x4c9f89['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4c9f89['getTypeUrl']=function(_0x6c866e){return void 0x0===_0x6c866e&&(_0x6c866e='type.googleapis.com'),_0x6c866e+'/RevisionHistoryConnectMessage';},_0x4c9f89;}()),_0x3ef7a7['RevisionDescriptor']=(function(){function _0x399064(_0x2b4735){if(_0x2b4735){for(var _0xb83a6b=Object['keys'](_0x2b4735),_0x1c4016=0x0;_0x1c4016<_0xb83a6b['length'];++_0x1c4016)null!=_0x2b4735[_0xb83a6b[_0x1c4016]]&&(this[_0xb83a6b[_0x1c4016]]=_0x2b4735[_0xb83a6b[_0x1c4016]]);}}return _0x399064['prototype']['revisionId']='',_0x399064['prototype']['name']='',_0x399064['prototype']['creatorId']='',_0x399064['prototype']['authorsIds']='',_0x399064['prototype']['diffData']='',_0x399064['prototype']['createdAt']='',_0x399064['prototype']['attributes']='',_0x399064['prototype']['toVersion']=0x0,_0x399064['prototype']['fromVersion']=0x0,_0x399064['prototype']['isEmptyCurrent']=!0x1,_0x399064['create']=function(_0x4ef34f){return new _0x399064(_0x4ef34f);},_0x399064['encode']=function(_0x2af7be,_0x222cc3){return _0x222cc3||(_0x222cc3=_0x10e177['create']()),null!=_0x2af7be['revisionId']&&Object['hasOwnProperty']['call'](_0x2af7be,'revisionId')&&_0x222cc3['uint32'](0xa)['string'](_0x2af7be['revisionId']),null!=_0x2af7be['name']&&Object['hasOwnProperty']['call'](_0x2af7be,'name')&&_0x222cc3['uint32'](0x12)['string'](_0x2af7be['name']),null!=_0x2af7be['creatorId']&&Object['hasOwnProperty']['call'](_0x2af7be,'creatorId')&&_0x222cc3['uint32'](0x1a)['string'](_0x2af7be['creatorId']),null!=_0x2af7be['authorsIds']&&Object['hasOwnProperty']['call'](_0x2af7be,'authorsIds')&&_0x222cc3['uint32'](0x22)['string'](_0x2af7be['authorsIds']),null!=_0x2af7be['diffData']&&Object['hasOwnProperty']['call'](_0x2af7be,'diffData')&&_0x222cc3['uint32'](0x2a)['string'](_0x2af7be['diffData']),null!=_0x2af7be['createdAt']&&Object['hasOwnProperty']['call'](_0x2af7be,'createdAt')&&_0x222cc3['uint32'](0x32)['string'](_0x2af7be['createdAt']),null!=_0x2af7be['attributes']&&Object['hasOwnProperty']['call'](_0x2af7be,'attributes')&&_0x222cc3['uint32'](0x3a)['string'](_0x2af7be['attributes']),null!=_0x2af7be['toVersion']&&Object['hasOwnProperty']['call'](_0x2af7be,'toVersion')&&_0x222cc3['uint32'](0x40)['uint32'](_0x2af7be['toVersion']),null!=_0x2af7be['fromVersion']&&Object['hasOwnProperty']['call'](_0x2af7be,'fromVersion')&&_0x222cc3['uint32'](0x48)['uint32'](_0x2af7be['fromVersion']),null!=_0x2af7be['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x2af7be,'isEmptyCurrent')&&_0x222cc3['uint32'](0x50)['bool'](_0x2af7be['isEmptyCurrent']),_0x222cc3;},_0x399064['encodeDelimited']=function(_0x4ac6e4,_0x3e4b6e){return this['encode'](_0x4ac6e4,_0x3e4b6e)['ldelim']();},_0x399064['decode']=function(_0x1631ed,_0x2498fe,_0x2a29d3){_0x1631ed instanceof _0x121a90||(_0x1631ed=_0x121a90['create'](_0x1631ed));for(var _0x25f336=void 0x0===_0x2498fe?_0x1631ed['len']:_0x1631ed['pos']+_0x2498fe,_0x27d4f5=new _0x3ef7a7['RevisionDescriptor']();_0x1631ed['pos']<_0x25f336;){var _0x276831=_0x1631ed['uint32']();if(_0x276831===_0x2a29d3)break;switch(_0x276831>>>0x3){case 0x1:_0x27d4f5['revisionId']=_0x1631ed['string']();break;case 0x2:_0x27d4f5['name']=_0x1631ed['string']();break;case 0x3:_0x27d4f5['creatorId']=_0x1631ed['string']();break;case 0x4:_0x27d4f5['authorsIds']=_0x1631ed['string']();break;case 0x5:_0x27d4f5['diffData']=_0x1631ed['string']();break;case 0x6:_0x27d4f5['createdAt']=_0x1631ed['string']();break;case 0x7:_0x27d4f5['attributes']=_0x1631ed['string']();break;case 0x8:_0x27d4f5['toVersion']=_0x1631ed['uint32']();break;case 0x9:_0x27d4f5['fromVersion']=_0x1631ed['uint32']();break;case 0xa:_0x27d4f5['isEmptyCurrent']=_0x1631ed['bool']();break;default:_0x1631ed['skipType'](0x7&_0x276831);}}return _0x27d4f5;},_0x399064['decodeDelimited']=function(_0x463458){return _0x463458 instanceof _0x121a90||(_0x463458=new _0x121a90(_0x463458)),this['decode'](_0x463458,_0x463458['uint32']());},_0x399064['verify']=function(_0x4c94af){return'object'!=typeof _0x4c94af||null===_0x4c94af?'object\x20expected':null!=_0x4c94af['revisionId']&&_0x4c94af['hasOwnProperty']('revisionId')&&!_0x3aba14['isString'](_0x4c94af['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x4c94af['name']&&_0x4c94af['hasOwnProperty']('name')&&!_0x3aba14['isString'](_0x4c94af['name'])?'name:\x20string\x20expected':null!=_0x4c94af['creatorId']&&_0x4c94af['hasOwnProperty']('creatorId')&&!_0x3aba14['isString'](_0x4c94af['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x4c94af['authorsIds']&&_0x4c94af['hasOwnProperty']('authorsIds')&&!_0x3aba14['isString'](_0x4c94af['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x4c94af['diffData']&&_0x4c94af['hasOwnProperty']('diffData')&&!_0x3aba14['isString'](_0x4c94af['diffData'])?'diffData:\x20string\x20expected':null!=_0x4c94af['createdAt']&&_0x4c94af['hasOwnProperty']('createdAt')&&!_0x3aba14['isString'](_0x4c94af['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x4c94af['attributes']&&_0x4c94af['hasOwnProperty']('attributes')&&!_0x3aba14['isString'](_0x4c94af['attributes'])?'attributes:\x20string\x20expected':null!=_0x4c94af['toVersion']&&_0x4c94af['hasOwnProperty']('toVersion')&&!_0x3aba14['isInteger'](_0x4c94af['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x4c94af['fromVersion']&&_0x4c94af['hasOwnProperty']('fromVersion')&&!_0x3aba14['isInteger'](_0x4c94af['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x4c94af['isEmptyCurrent']&&_0x4c94af['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x4c94af['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x399064['fromObject']=function(_0x1f8998){if(_0x1f8998 instanceof _0x3ef7a7['RevisionDescriptor'])return _0x1f8998;var _0x18332e=new _0x3ef7a7['RevisionDescriptor']();return null!=_0x1f8998['revisionId']&&(_0x18332e['revisionId']=String(_0x1f8998['revisionId'])),null!=_0x1f8998['name']&&(_0x18332e['name']=String(_0x1f8998['name'])),null!=_0x1f8998['creatorId']&&(_0x18332e['creatorId']=String(_0x1f8998['creatorId'])),null!=_0x1f8998['authorsIds']&&(_0x18332e['authorsIds']=String(_0x1f8998['authorsIds'])),null!=_0x1f8998['diffData']&&(_0x18332e['diffData']=String(_0x1f8998['diffData'])),null!=_0x1f8998['createdAt']&&(_0x18332e['createdAt']=String(_0x1f8998['createdAt'])),null!=_0x1f8998['attributes']&&(_0x18332e['attributes']=String(_0x1f8998['attributes'])),null!=_0x1f8998['toVersion']&&(_0x18332e['toVersion']=_0x1f8998['toVersion']>>>0x0),null!=_0x1f8998['fromVersion']&&(_0x18332e['fromVersion']=_0x1f8998['fromVersion']>>>0x0),null!=_0x1f8998['isEmptyCurrent']&&(_0x18332e['isEmptyCurrent']=Boolean(_0x1f8998['isEmptyCurrent'])),_0x18332e;},_0x399064['toObject']=function(_0x47bc22,_0x2ce376){_0x2ce376||(_0x2ce376={});var _0x9dd5d9={};return _0x2ce376['defaults']&&(_0x9dd5d9['revisionId']='',_0x9dd5d9['name']='',_0x9dd5d9['creatorId']='',_0x9dd5d9['authorsIds']='',_0x9dd5d9['diffData']='',_0x9dd5d9['createdAt']='',_0x9dd5d9['attributes']='',_0x9dd5d9['toVersion']=0x0,_0x9dd5d9['fromVersion']=0x0,_0x9dd5d9['isEmptyCurrent']=!0x1),null!=_0x47bc22['revisionId']&&_0x47bc22['hasOwnProperty']('revisionId')&&(_0x9dd5d9['revisionId']=_0x47bc22['revisionId']),null!=_0x47bc22['name']&&_0x47bc22['hasOwnProperty']('name')&&(_0x9dd5d9['name']=_0x47bc22['name']),null!=_0x47bc22['creatorId']&&_0x47bc22['hasOwnProperty']('creatorId')&&(_0x9dd5d9['creatorId']=_0x47bc22['creatorId']),null!=_0x47bc22['authorsIds']&&_0x47bc22['hasOwnProperty']('authorsIds')&&(_0x9dd5d9['authorsIds']=_0x47bc22['authorsIds']),null!=_0x47bc22['diffData']&&_0x47bc22['hasOwnProperty']('diffData')&&(_0x9dd5d9['diffData']=_0x47bc22['diffData']),null!=_0x47bc22['createdAt']&&_0x47bc22['hasOwnProperty']('createdAt')&&(_0x9dd5d9['createdAt']=_0x47bc22['createdAt']),null!=_0x47bc22['attributes']&&_0x47bc22['hasOwnProperty']('attributes')&&(_0x9dd5d9['attributes']=_0x47bc22['attributes']),null!=_0x47bc22['toVersion']&&_0x47bc22['hasOwnProperty']('toVersion')&&(_0x9dd5d9['toVersion']=_0x47bc22['toVersion']),null!=_0x47bc22['fromVersion']&&_0x47bc22['hasOwnProperty']('fromVersion')&&(_0x9dd5d9['fromVersion']=_0x47bc22['fromVersion']),null!=_0x47bc22['isEmptyCurrent']&&_0x47bc22['hasOwnProperty']('isEmptyCurrent')&&(_0x9dd5d9['isEmptyCurrent']=_0x47bc22['isEmptyCurrent']),_0x9dd5d9;},_0x399064['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x399064['getTypeUrl']=function(_0x219628){return void 0x0===_0x219628&&(_0x219628='type.googleapis.com'),_0x219628+'/RevisionDescriptor';},_0x399064;}()),_0x3ef7a7['IsEditorBundleUploadedResponse']=(function(){function _0x3db496(_0x649e01){if(_0x649e01){for(var _0x367cc6=Object['keys'](_0x649e01),_0x10d332=0x0;_0x10d332<_0x367cc6['length'];++_0x10d332)null!=_0x649e01[_0x367cc6[_0x10d332]]&&(this[_0x367cc6[_0x10d332]]=_0x649e01[_0x367cc6[_0x10d332]]);}}return _0x3db496['prototype']['isUploaded']=!0x1,_0x3db496['create']=function(_0x14b9d1){return new _0x3db496(_0x14b9d1);},_0x3db496['encode']=function(_0x3780c8,_0x42f7cf){return _0x42f7cf||(_0x42f7cf=_0x10e177['create']()),null!=_0x3780c8['isUploaded']&&Object['hasOwnProperty']['call'](_0x3780c8,'isUploaded')&&_0x42f7cf['uint32'](0x8)['bool'](_0x3780c8['isUploaded']),_0x42f7cf;},_0x3db496['encodeDelimited']=function(_0x37aa14,_0x1eaff5){return this['encode'](_0x37aa14,_0x1eaff5)['ldelim']();},_0x3db496['decode']=function(_0x1f9145,_0xee34ba,_0x9d93d8){_0x1f9145 instanceof _0x121a90||(_0x1f9145=_0x121a90['create'](_0x1f9145));for(var _0x18f04b=void 0x0===_0xee34ba?_0x1f9145['len']:_0x1f9145['pos']+_0xee34ba,_0xe3e344=new _0x3ef7a7['IsEditorBundleUploadedResponse']();_0x1f9145['pos']<_0x18f04b;){var _0x530b5a=_0x1f9145['uint32']();if(_0x530b5a===_0x9d93d8)break;_0x530b5a>>>0x3==0x1?_0xe3e344['isUploaded']=_0x1f9145['bool']():_0x1f9145['skipType'](0x7&_0x530b5a);}return _0xe3e344;},_0x3db496['decodeDelimited']=function(_0x1b7060){return _0x1b7060 instanceof _0x121a90||(_0x1b7060=new _0x121a90(_0x1b7060)),this['decode'](_0x1b7060,_0x1b7060['uint32']());},_0x3db496['verify']=function(_0x4a45fe){return'object'!=typeof _0x4a45fe||null===_0x4a45fe?'object\x20expected':null!=_0x4a45fe['isUploaded']&&_0x4a45fe['hasOwnProperty']('isUploaded')&&'boolean'!=typeof _0x4a45fe['isUploaded']?'isUploaded:\x20boolean\x20expected':null;},_0x3db496['fromObject']=function(_0x76735){if(_0x76735 instanceof _0x3ef7a7['IsEditorBundleUploadedResponse'])return _0x76735;var _0x47d3f1=new _0x3ef7a7['IsEditorBundleUploadedResponse']();return null!=_0x76735['isUploaded']&&(_0x47d3f1['isUploaded']=Boolean(_0x76735['isUploaded'])),_0x47d3f1;},_0x3db496['toObject']=function(_0x4e2f43,_0x301945){_0x301945||(_0x301945={});var _0x9f76ee={};return _0x301945['defaults']&&(_0x9f76ee['isUploaded']=!0x1),null!=_0x4e2f43['isUploaded']&&_0x4e2f43['hasOwnProperty']('isUploaded')&&(_0x9f76ee['isUploaded']=_0x4e2f43['isUploaded']),_0x9f76ee;},_0x3db496['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3db496['getTypeUrl']=function(_0x3f4505){return void 0x0===_0x3f4505&&(_0x3f4505='type.googleapis.com'),_0x3f4505+'/IsEditorBundleUploadedResponse';},_0x3db496;}()),_0x3ef7a7['IsEditorBundleUploadedMessage']=(function(){function _0x2b6a26(_0x4e1bd2){if(_0x4e1bd2){for(var _0x7d731b=Object['keys'](_0x4e1bd2),_0x2b0fb0=0x0;_0x2b0fb0<_0x7d731b['length'];++_0x2b0fb0)null!=_0x4e1bd2[_0x7d731b[_0x2b0fb0]]&&(this[_0x7d731b[_0x2b0fb0]]=_0x4e1bd2[_0x7d731b[_0x2b0fb0]]);}}return _0x2b6a26['prototype']['bundleVersion']='',_0x2b6a26['create']=function(_0x106de3){return new _0x2b6a26(_0x106de3);},_0x2b6a26['encode']=function(_0x2928ac,_0x226ce2){return _0x226ce2||(_0x226ce2=_0x10e177['create']()),null!=_0x2928ac['bundleVersion']&&Object['hasOwnProperty']['call'](_0x2928ac,'bundleVersion')&&_0x226ce2['uint32'](0xa)['string'](_0x2928ac['bundleVersion']),_0x226ce2;},_0x2b6a26['encodeDelimited']=function(_0x201830,_0x10e94d){return this['encode'](_0x201830,_0x10e94d)['ldelim']();},_0x2b6a26['decode']=function(_0x3a7004,_0x373776,_0x37dc42){_0x3a7004 instanceof _0x121a90||(_0x3a7004=_0x121a90['create'](_0x3a7004));for(var _0x39717a=void 0x0===_0x373776?_0x3a7004['len']:_0x3a7004['pos']+_0x373776,_0x289672=new _0x3ef7a7['IsEditorBundleUploadedMessage']();_0x3a7004['pos']<_0x39717a;){var _0x3a876c=_0x3a7004['uint32']();if(_0x3a876c===_0x37dc42)break;_0x3a876c>>>0x3==0x1?_0x289672['bundleVersion']=_0x3a7004['string']():_0x3a7004['skipType'](0x7&_0x3a876c);}return _0x289672;},_0x2b6a26['decodeDelimited']=function(_0x572c35){return _0x572c35 instanceof _0x121a90||(_0x572c35=new _0x121a90(_0x572c35)),this['decode'](_0x572c35,_0x572c35['uint32']());},_0x2b6a26['verify']=function(_0x2343e7){return'object'!=typeof _0x2343e7||null===_0x2343e7?'object\x20expected':null!=_0x2343e7['bundleVersion']&&_0x2343e7['hasOwnProperty']('bundleVersion')&&!_0x3aba14['isString'](_0x2343e7['bundleVersion'])?'bundleVersion:\x20string\x20expected':null;},_0x2b6a26['fromObject']=function(_0x5429f6){if(_0x5429f6 instanceof _0x3ef7a7['IsEditorBundleUploadedMessage'])return _0x5429f6;var _0x2e0450=new _0x3ef7a7['IsEditorBundleUploadedMessage']();return null!=_0x5429f6['bundleVersion']&&(_0x2e0450['bundleVersion']=String(_0x5429f6['bundleVersion'])),_0x2e0450;},_0x2b6a26['toObject']=function(_0x5b2d41,_0x457877){_0x457877||(_0x457877={});var _0x22b0aa={};return _0x457877['defaults']&&(_0x22b0aa['bundleVersion']=''),null!=_0x5b2d41['bundleVersion']&&_0x5b2d41['hasOwnProperty']('bundleVersion')&&(_0x22b0aa['bundleVersion']=_0x5b2d41['bundleVersion']),_0x22b0aa;},_0x2b6a26['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2b6a26['getTypeUrl']=function(_0x1a6a5e){return void 0x0===_0x1a6a5e&&(_0x1a6a5e='type.googleapis.com'),_0x1a6a5e+'/IsEditorBundleUploadedMessage';},_0x2b6a26;}()),_0x3ef7a7['KeyValueDescriptor']=(function(){function _0x3216f9(_0x3c5ac0){if(_0x3c5ac0){for(var _0x45296a=Object['keys'](_0x3c5ac0),_0xa98583=0x0;_0xa98583<_0x45296a['length'];++_0xa98583)null!=_0x3c5ac0[_0x45296a[_0xa98583]]&&(this[_0x45296a[_0xa98583]]=_0x3c5ac0[_0x45296a[_0xa98583]]);}}return _0x3216f9['prototype']['key']='',_0x3216f9['prototype']['value']='',_0x3216f9['create']=function(_0x5ad447){return new _0x3216f9(_0x5ad447);},_0x3216f9['encode']=function(_0xcb5f9f,_0x2a63b9){return _0x2a63b9||(_0x2a63b9=_0x10e177['create']()),null!=_0xcb5f9f['key']&&Object['hasOwnProperty']['call'](_0xcb5f9f,'key')&&_0x2a63b9['uint32'](0xa)['string'](_0xcb5f9f['key']),null!=_0xcb5f9f['value']&&Object['hasOwnProperty']['call'](_0xcb5f9f,'value')&&_0x2a63b9['uint32'](0x12)['string'](_0xcb5f9f['value']),_0x2a63b9;},_0x3216f9['encodeDelimited']=function(_0x1f6a62,_0xe46bad){return this['encode'](_0x1f6a62,_0xe46bad)['ldelim']();},_0x3216f9['decode']=function(_0x4f5945,_0x2e6468,_0x1c8610){_0x4f5945 instanceof _0x121a90||(_0x4f5945=_0x121a90['create'](_0x4f5945));for(var _0x11d176=void 0x0===_0x2e6468?_0x4f5945['len']:_0x4f5945['pos']+_0x2e6468,_0x5a1a87=new _0x3ef7a7['KeyValueDescriptor']();_0x4f5945['pos']<_0x11d176;){var _0x1df498=_0x4f5945['uint32']();if(_0x1df498===_0x1c8610)break;switch(_0x1df498>>>0x3){case 0x1:_0x5a1a87['key']=_0x4f5945['string']();break;case 0x2:_0x5a1a87['value']=_0x4f5945['string']();break;default:_0x4f5945['skipType'](0x7&_0x1df498);}}return _0x5a1a87;},_0x3216f9['decodeDelimited']=function(_0x345578){return _0x345578 instanceof _0x121a90||(_0x345578=new _0x121a90(_0x345578)),this['decode'](_0x345578,_0x345578['uint32']());},_0x3216f9['verify']=function(_0x32ec74){return'object'!=typeof _0x32ec74||null===_0x32ec74?'object\x20expected':null!=_0x32ec74['key']&&_0x32ec74['hasOwnProperty']('key')&&!_0x3aba14['isString'](_0x32ec74['key'])?'key:\x20string\x20expected':null!=_0x32ec74['value']&&_0x32ec74['hasOwnProperty']('value')&&!_0x3aba14['isString'](_0x32ec74['value'])?'value:\x20string\x20expected':null;},_0x3216f9['fromObject']=function(_0x26f2e0){if(_0x26f2e0 instanceof _0x3ef7a7['KeyValueDescriptor'])return _0x26f2e0;var _0x1281f9=new _0x3ef7a7['KeyValueDescriptor']();return null!=_0x26f2e0['key']&&(_0x1281f9['key']=String(_0x26f2e0['key'])),null!=_0x26f2e0['value']&&(_0x1281f9['value']=String(_0x26f2e0['value'])),_0x1281f9;},_0x3216f9['toObject']=function(_0x352deb,_0x3897a9){_0x3897a9||(_0x3897a9={});var _0xae1640={};return _0x3897a9['defaults']&&(_0xae1640['key']='',_0xae1640['value']=''),null!=_0x352deb['key']&&_0x352deb['hasOwnProperty']('key')&&(_0xae1640['key']=_0x352deb['key']),null!=_0x352deb['value']&&_0x352deb['hasOwnProperty']('value')&&(_0xae1640['value']=_0x352deb['value']),_0xae1640;},_0x3216f9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3216f9['getTypeUrl']=function(_0x4d57a3){return void 0x0===_0x4d57a3&&(_0x4d57a3='type.googleapis.com'),_0x4d57a3+'/KeyValueDescriptor';},_0x3216f9;}()),_0x3ef7a7['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x58dfda(_0x5ae992){if(this['threads']=[],this['threadsV2']=[],_0x5ae992){for(var _0x3ca8ef=Object['keys'](_0x5ae992),_0x1237be=0x0;_0x1237be<_0x3ca8ef['length'];++_0x1237be)null!=_0x5ae992[_0x3ca8ef[_0x1237be]]&&(this[_0x3ca8ef[_0x1237be]]=_0x5ae992[_0x3ca8ef[_0x1237be]]);}}return _0x58dfda['prototype']['threads']=_0x3aba14['emptyArray'],_0x58dfda['prototype']['threadsV2']=_0x3aba14['emptyArray'],_0x58dfda['create']=function(_0x109c98){return new _0x58dfda(_0x109c98);},_0x58dfda['encode']=function(_0x11a4af,_0x3eb3ec){if(_0x3eb3ec||(_0x3eb3ec=_0x10e177['create']()),null!=_0x11a4af['threads']&&_0x11a4af['threads']['length']){for(var _0x39ae83=0x0;_0x39ae83<_0x11a4af['threads']['length'];++_0x39ae83)_0x3eb3ec['uint32'](0xa)['string'](_0x11a4af['threads'][_0x39ae83]);}if(null!=_0x11a4af['threadsV2']&&_0x11a4af['threadsV2']['length']){for(_0x39ae83=0x0;_0x39ae83<_0x11a4af['threadsV2']['length'];++_0x39ae83)_0x3ef7a7['CommentsThreadDescriptor']['encode'](_0x11a4af['threadsV2'][_0x39ae83],_0x3eb3ec['uint32'](0x12)['fork']())['ldelim']();}return _0x3eb3ec;},_0x58dfda['encodeDelimited']=function(_0x5c2bd4,_0x3d77ff){return this['encode'](_0x5c2bd4,_0x3d77ff)['ldelim']();},_0x58dfda['decode']=function(_0x20cee5,_0x58bd21,_0x26fc1c){_0x20cee5 instanceof _0x121a90||(_0x20cee5=_0x121a90['create'](_0x20cee5));for(var _0x403f83=void 0x0===_0x58bd21?_0x20cee5['len']:_0x20cee5['pos']+_0x58bd21,_0x28ed21=new _0x3ef7a7['CommentsV2GetDocumentThreadsResponse']();_0x20cee5['pos']<_0x403f83;){var _0x45840c=_0x20cee5['uint32']();if(_0x45840c===_0x26fc1c)break;switch(_0x45840c>>>0x3){case 0x1:_0x28ed21['threads']&&_0x28ed21['threads']['length']||(_0x28ed21['threads']=[]),_0x28ed21['threads']['push'](_0x20cee5['string']());break;case 0x2:_0x28ed21['threadsV2']&&_0x28ed21['threadsV2']['length']||(_0x28ed21['threadsV2']=[]),_0x28ed21['threadsV2']['push'](_0x3ef7a7['CommentsThreadDescriptor']['decode'](_0x20cee5,_0x20cee5['uint32']()));break;default:_0x20cee5['skipType'](0x7&_0x45840c);}}return _0x28ed21;},_0x58dfda['decodeDelimited']=function(_0x332648){return _0x332648 instanceof _0x121a90||(_0x332648=new _0x121a90(_0x332648)),this['decode'](_0x332648,_0x332648['uint32']());},_0x58dfda['verify']=function(_0x174a00){if('object'!=typeof _0x174a00||null===_0x174a00)return'object\x20expected';if(null!=_0x174a00['threads']&&_0x174a00['hasOwnProperty']('threads')){if(!Array['isArray'](_0x174a00['threads']))return'threads:\x20array\x20expected';for(var _0x54240d=0x0;_0x54240d<_0x174a00['threads']['length'];++_0x54240d)if(!_0x3aba14['isString'](_0x174a00['threads'][_0x54240d]))return'threads:\x20string[]\x20expected';}if(null!=_0x174a00['threadsV2']&&_0x174a00['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x174a00['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x54240d=0x0;_0x54240d<_0x174a00['threadsV2']['length'];++_0x54240d){var _0x54c4c2=_0x3ef7a7['CommentsThreadDescriptor']['verify'](_0x174a00['threadsV2'][_0x54240d]);if(_0x54c4c2)return'threadsV2.'+_0x54c4c2;}}return null;},_0x58dfda['fromObject']=function(_0x2dd16a){if(_0x2dd16a instanceof _0x3ef7a7['CommentsV2GetDocumentThreadsResponse'])return _0x2dd16a;var _0x1d73b6=new _0x3ef7a7['CommentsV2GetDocumentThreadsResponse']();if(_0x2dd16a['threads']){if(!Array['isArray'](_0x2dd16a['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x1d73b6['threads']=[];for(var _0x576f6a=0x0;_0x576f6a<_0x2dd16a['threads']['length'];++_0x576f6a)_0x1d73b6['threads'][_0x576f6a]=String(_0x2dd16a['threads'][_0x576f6a]);}if(_0x2dd16a['threadsV2']){if(!Array['isArray'](_0x2dd16a['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0x1d73b6['threadsV2']=[],_0x576f6a=0x0;_0x576f6a<_0x2dd16a['threadsV2']['length'];++_0x576f6a){if('object'!=typeof _0x2dd16a['threadsV2'][_0x576f6a])throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x1d73b6['threadsV2'][_0x576f6a]=_0x3ef7a7['CommentsThreadDescriptor']['fromObject'](_0x2dd16a['threadsV2'][_0x576f6a]);}}return _0x1d73b6;},_0x58dfda['toObject']=function(_0x54ebba,_0x24097f){_0x24097f||(_0x24097f={});var _0x2c7d1c={};if((_0x24097f['arrays']||_0x24097f['defaults'])&&(_0x2c7d1c['threads']=[],_0x2c7d1c['threadsV2']=[]),_0x54ebba['threads']&&_0x54ebba['threads']['length']){_0x2c7d1c['threads']=[];for(var _0x1103c2=0x0;_0x1103c2<_0x54ebba['threads']['length'];++_0x1103c2)_0x2c7d1c['threads'][_0x1103c2]=_0x54ebba['threads'][_0x1103c2];}if(_0x54ebba['threadsV2']&&_0x54ebba['threadsV2']['length']){for(_0x2c7d1c['threadsV2']=[],_0x1103c2=0x0;_0x1103c2<_0x54ebba['threadsV2']['length'];++_0x1103c2)_0x2c7d1c['threadsV2'][_0x1103c2]=_0x3ef7a7['CommentsThreadDescriptor']['toObject'](_0x54ebba['threadsV2'][_0x1103c2],_0x24097f);}return _0x2c7d1c;},_0x58dfda['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x58dfda['getTypeUrl']=function(_0x5dd833){return void 0x0===_0x5dd833&&(_0x5dd833='type.googleapis.com'),_0x5dd833+'/CommentsV2GetDocumentThreadsResponse';},_0x58dfda;}()),_0x3ef7a7['CommentsV2GetCommentThreadResponse']=(function(){function _0x9c2657(_0x51a5f3){if(this['comments']=[],this['commentsV2']=[],_0x51a5f3){for(var _0x30bfba=Object['keys'](_0x51a5f3),_0x21d8bc=0x0;_0x21d8bc<_0x30bfba['length'];++_0x21d8bc)null!=_0x51a5f3[_0x30bfba[_0x21d8bc]]&&(this[_0x30bfba[_0x21d8bc]]=_0x51a5f3[_0x30bfba[_0x21d8bc]]);}}return _0x9c2657['prototype']['commentThreadId']='',_0x9c2657['prototype']['comments']=_0x3aba14['emptyArray'],_0x9c2657['prototype']['commentsV2']=_0x3aba14['emptyArray'],_0x9c2657['prototype']['resolvedAt']='',_0x9c2657['prototype']['resolvedBy']='',_0x9c2657['prototype']['context']='',_0x9c2657['prototype']['createdAt']='',_0x9c2657['prototype']['deletedAt']='',_0x9c2657['prototype']['attributes']='',_0x9c2657['prototype']['unlinkedAt']='',_0x9c2657['create']=function(_0x16948c){return new _0x9c2657(_0x16948c);},_0x9c2657['encode']=function(_0x5093ba,_0x72520c){if(_0x72520c||(_0x72520c=_0x10e177['create']()),null!=_0x5093ba['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5093ba,'commentThreadId')&&_0x72520c['uint32'](0xa)['string'](_0x5093ba['commentThreadId']),null!=_0x5093ba['comments']&&_0x5093ba['comments']['length']){for(var _0x13d56a=0x0;_0x13d56a<_0x5093ba['comments']['length'];++_0x13d56a)_0x72520c['uint32'](0x12)['string'](_0x5093ba['comments'][_0x13d56a]);}if(null!=_0x5093ba['commentsV2']&&_0x5093ba['commentsV2']['length']){for(_0x13d56a=0x0;_0x13d56a<_0x5093ba['commentsV2']['length'];++_0x13d56a)_0x3ef7a7['CommentDescriptor']['encode'](_0x5093ba['commentsV2'][_0x13d56a],_0x72520c['uint32'](0x1a)['fork']())['ldelim']();}return null!=_0x5093ba['resolvedAt']&&Object['hasOwnProperty']['call'](_0x5093ba,'resolvedAt')&&_0x72520c['uint32'](0x22)['string'](_0x5093ba['resolvedAt']),null!=_0x5093ba['resolvedBy']&&Object['hasOwnProperty']['call'](_0x5093ba,'resolvedBy')&&_0x72520c['uint32'](0x2a)['string'](_0x5093ba['resolvedBy']),null!=_0x5093ba['context']&&Object['hasOwnProperty']['call'](_0x5093ba,'context')&&_0x72520c['uint32'](0x32)['string'](_0x5093ba['context']),null!=_0x5093ba['createdAt']&&Object['hasOwnProperty']['call'](_0x5093ba,'createdAt')&&_0x72520c['uint32'](0x3a)['string'](_0x5093ba['createdAt']),null!=_0x5093ba['deletedAt']&&Object['hasOwnProperty']['call'](_0x5093ba,'deletedAt')&&_0x72520c['uint32'](0x42)['string'](_0x5093ba['deletedAt']),null!=_0x5093ba['attributes']&&Object['hasOwnProperty']['call'](_0x5093ba,'attributes')&&_0x72520c['uint32'](0x4a)['string'](_0x5093ba['attributes']),null!=_0x5093ba['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x5093ba,'unlinkedAt')&&_0x72520c['uint32'](0x52)['string'](_0x5093ba['unlinkedAt']),_0x72520c;},_0x9c2657['encodeDelimited']=function(_0x26ee9d,_0x6f9429){return this['encode'](_0x26ee9d,_0x6f9429)['ldelim']();},_0x9c2657['decode']=function(_0x252f91,_0x1966c6,_0x4b798b){_0x252f91 instanceof _0x121a90||(_0x252f91=_0x121a90['create'](_0x252f91));for(var _0x10f8dd=void 0x0===_0x1966c6?_0x252f91['len']:_0x252f91['pos']+_0x1966c6,_0x352521=new _0x3ef7a7['CommentsV2GetCommentThreadResponse']();_0x252f91['pos']<_0x10f8dd;){var _0x228467=_0x252f91['uint32']();if(_0x228467===_0x4b798b)break;switch(_0x228467>>>0x3){case 0x1:_0x352521['commentThreadId']=_0x252f91['string']();break;case 0x2:_0x352521['comments']&&_0x352521['comments']['length']||(_0x352521['comments']=[]),_0x352521['comments']['push'](_0x252f91['string']());break;case 0x3:_0x352521['commentsV2']&&_0x352521['commentsV2']['length']||(_0x352521['commentsV2']=[]),_0x352521['commentsV2']['push'](_0x3ef7a7['CommentDescriptor']['decode'](_0x252f91,_0x252f91['uint32']()));break;case 0x4:_0x352521['resolvedAt']=_0x252f91['string']();break;case 0x5:_0x352521['resolvedBy']=_0x252f91['string']();break;case 0x6:_0x352521['context']=_0x252f91['string']();break;case 0x7:_0x352521['createdAt']=_0x252f91['string']();break;case 0x8:_0x352521['deletedAt']=_0x252f91['string']();break;case 0x9:_0x352521['attributes']=_0x252f91['string']();break;case 0xa:_0x352521['unlinkedAt']=_0x252f91['string']();break;default:_0x252f91['skipType'](0x7&_0x228467);}}return _0x352521;},_0x9c2657['decodeDelimited']=function(_0x2ab5ca){return _0x2ab5ca instanceof _0x121a90||(_0x2ab5ca=new _0x121a90(_0x2ab5ca)),this['decode'](_0x2ab5ca,_0x2ab5ca['uint32']());},_0x9c2657['verify']=function(_0x310cdd){if('object'!=typeof _0x310cdd||null===_0x310cdd)return'object\x20expected';if(null!=_0x310cdd['commentThreadId']&&_0x310cdd['hasOwnProperty']('commentThreadId')&&!_0x3aba14['isString'](_0x310cdd['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x310cdd['comments']&&_0x310cdd['hasOwnProperty']('comments')){if(!Array['isArray'](_0x310cdd['comments']))return'comments:\x20array\x20expected';for(var _0x4de218=0x0;_0x4de218<_0x310cdd['comments']['length'];++_0x4de218)if(!_0x3aba14['isString'](_0x310cdd['comments'][_0x4de218]))return'comments:\x20string[]\x20expected';}if(null!=_0x310cdd['commentsV2']&&_0x310cdd['hasOwnProperty']('commentsV2')){if(!Array['isArray'](_0x310cdd['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x4de218=0x0;_0x4de218<_0x310cdd['commentsV2']['length'];++_0x4de218){var _0x5bca8c=_0x3ef7a7['CommentDescriptor']['verify'](_0x310cdd['commentsV2'][_0x4de218]);if(_0x5bca8c)return'commentsV2.'+_0x5bca8c;}}return null!=_0x310cdd['resolvedAt']&&_0x310cdd['hasOwnProperty']('resolvedAt')&&!_0x3aba14['isString'](_0x310cdd['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x310cdd['resolvedBy']&&_0x310cdd['hasOwnProperty']('resolvedBy')&&!_0x3aba14['isString'](_0x310cdd['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x310cdd['context']&&_0x310cdd['hasOwnProperty']('context')&&!_0x3aba14['isString'](_0x310cdd['context'])?'context:\x20string\x20expected':null!=_0x310cdd['createdAt']&&_0x310cdd['hasOwnProperty']('createdAt')&&!_0x3aba14['isString'](_0x310cdd['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x310cdd['deletedAt']&&_0x310cdd['hasOwnProperty']('deletedAt')&&!_0x3aba14['isString'](_0x310cdd['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x310cdd['attributes']&&_0x310cdd['hasOwnProperty']('attributes')&&!_0x3aba14['isString'](_0x310cdd['attributes'])?'attributes:\x20string\x20expected':null!=_0x310cdd['unlinkedAt']&&_0x310cdd['hasOwnProperty']('unlinkedAt')&&!_0x3aba14['isString'](_0x310cdd['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x9c2657['fromObject']=function(_0x53c9c9){if(_0x53c9c9 instanceof _0x3ef7a7['CommentsV2GetCommentThreadResponse'])return _0x53c9c9;var _0x345fad=new _0x3ef7a7['CommentsV2GetCommentThreadResponse']();if(null!=_0x53c9c9['commentThreadId']&&(_0x345fad['commentThreadId']=String(_0x53c9c9['commentThreadId'])),_0x53c9c9['comments']){if(!Array['isArray'](_0x53c9c9['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x345fad['comments']=[];for(var _0x4c641e=0x0;_0x4c641e<_0x53c9c9['comments']['length'];++_0x4c641e)_0x345fad['comments'][_0x4c641e]=String(_0x53c9c9['comments'][_0x4c641e]);}if(_0x53c9c9['commentsV2']){if(!Array['isArray'](_0x53c9c9['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x345fad['commentsV2']=[],_0x4c641e=0x0;_0x4c641e<_0x53c9c9['commentsV2']['length'];++_0x4c641e){if('object'!=typeof _0x53c9c9['commentsV2'][_0x4c641e])throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x345fad['commentsV2'][_0x4c641e]=_0x3ef7a7['CommentDescriptor']['fromObject'](_0x53c9c9['commentsV2'][_0x4c641e]);}}return null!=_0x53c9c9['resolvedAt']&&(_0x345fad['resolvedAt']=String(_0x53c9c9['resolvedAt'])),null!=_0x53c9c9['resolvedBy']&&(_0x345fad['resolvedBy']=String(_0x53c9c9['resolvedBy'])),null!=_0x53c9c9['context']&&(_0x345fad['context']=String(_0x53c9c9['context'])),null!=_0x53c9c9['createdAt']&&(_0x345fad['createdAt']=String(_0x53c9c9['createdAt'])),null!=_0x53c9c9['deletedAt']&&(_0x345fad['deletedAt']=String(_0x53c9c9['deletedAt'])),null!=_0x53c9c9['attributes']&&(_0x345fad['attributes']=String(_0x53c9c9['attributes'])),null!=_0x53c9c9['unlinkedAt']&&(_0x345fad['unlinkedAt']=String(_0x53c9c9['unlinkedAt'])),_0x345fad;},_0x9c2657['toObject']=function(_0x3dd533,_0x15a46c){_0x15a46c||(_0x15a46c={});var _0x30d13d={};if((_0x15a46c['arrays']||_0x15a46c['defaults'])&&(_0x30d13d['comments']=[],_0x30d13d['commentsV2']=[]),_0x15a46c['defaults']&&(_0x30d13d['commentThreadId']='',_0x30d13d['resolvedAt']='',_0x30d13d['resolvedBy']='',_0x30d13d['context']='',_0x30d13d['createdAt']='',_0x30d13d['deletedAt']='',_0x30d13d['attributes']='',_0x30d13d['unlinkedAt']=''),null!=_0x3dd533['commentThreadId']&&_0x3dd533['hasOwnProperty']('commentThreadId')&&(_0x30d13d['commentThreadId']=_0x3dd533['commentThreadId']),_0x3dd533['comments']&&_0x3dd533['comments']['length']){_0x30d13d['comments']=[];for(var _0x3c73a3=0x0;_0x3c73a3<_0x3dd533['comments']['length'];++_0x3c73a3)_0x30d13d['comments'][_0x3c73a3]=_0x3dd533['comments'][_0x3c73a3];}if(_0x3dd533['commentsV2']&&_0x3dd533['commentsV2']['length']){for(_0x30d13d['commentsV2']=[],_0x3c73a3=0x0;_0x3c73a3<_0x3dd533['commentsV2']['length'];++_0x3c73a3)_0x30d13d['commentsV2'][_0x3c73a3]=_0x3ef7a7['CommentDescriptor']['toObject'](_0x3dd533['commentsV2'][_0x3c73a3],_0x15a46c);}return null!=_0x3dd533['resolvedAt']&&_0x3dd533['hasOwnProperty']('resolvedAt')&&(_0x30d13d['resolvedAt']=_0x3dd533['resolvedAt']),null!=_0x3dd533['resolvedBy']&&_0x3dd533['hasOwnProperty']('resolvedBy')&&(_0x30d13d['resolvedBy']=_0x3dd533['resolvedBy']),null!=_0x3dd533['context']&&_0x3dd533['hasOwnProperty']('context')&&(_0x30d13d['context']=_0x3dd533['context']),null!=_0x3dd533['createdAt']&&_0x3dd533['hasOwnProperty']('createdAt')&&(_0x30d13d['createdAt']=_0x3dd533['createdAt']),null!=_0x3dd533['deletedAt']&&_0x3dd533['hasOwnProperty']('deletedAt')&&(_0x30d13d['deletedAt']=_0x3dd533['deletedAt']),null!=_0x3dd533['attributes']&&_0x3dd533['hasOwnProperty']('attributes')&&(_0x30d13d['attributes']=_0x3dd533['attributes']),null!=_0x3dd533['unlinkedAt']&&_0x3dd533['hasOwnProperty']('unlinkedAt')&&(_0x30d13d['unlinkedAt']=_0x3dd533['unlinkedAt']),_0x30d13d;},_0x9c2657['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x9c2657['getTypeUrl']=function(_0x5d02f7){return void 0x0===_0x5d02f7&&(_0x5d02f7='type.googleapis.com'),_0x5d02f7+'/CommentsV2GetCommentThreadResponse';},_0x9c2657;}()),_0x3ef7a7['CommentsV2ConnectResponse']=(function(){function _0xd11cd6(_0x2b89f6){if(this['threads']=[],this['threadsV2']=[],_0x2b89f6){for(var _0x1eb07c=Object['keys'](_0x2b89f6),_0x3900f5=0x0;_0x3900f5<_0x1eb07c['length'];++_0x3900f5)null!=_0x2b89f6[_0x1eb07c[_0x3900f5]]&&(this[_0x1eb07c[_0x3900f5]]=_0x2b89f6[_0x1eb07c[_0x3900f5]]);}}return _0xd11cd6['prototype']['channel']='',_0xd11cd6['prototype']['threads']=_0x3aba14['emptyArray'],_0xd11cd6['prototype']['threadsV2']=_0x3aba14['emptyArray'],_0xd11cd6['create']=function(_0x484178){return new _0xd11cd6(_0x484178);},_0xd11cd6['encode']=function(_0x18cf4a,_0x5276a7){if(_0x5276a7||(_0x5276a7=_0x10e177['create']()),null!=_0x18cf4a['channel']&&Object['hasOwnProperty']['call'](_0x18cf4a,'channel')&&_0x5276a7['uint32'](0xa)['string'](_0x18cf4a['channel']),null!=_0x18cf4a['threads']&&_0x18cf4a['threads']['length']){for(var _0x437529=0x0;_0x437529<_0x18cf4a['threads']['length'];++_0x437529)_0x5276a7['uint32'](0x12)['string'](_0x18cf4a['threads'][_0x437529]);}if(null!=_0x18cf4a['threadsV2']&&_0x18cf4a['threadsV2']['length']){for(_0x437529=0x0;_0x437529<_0x18cf4a['threadsV2']['length'];++_0x437529)_0x3ef7a7['CommentsThreadDescriptor']['encode'](_0x18cf4a['threadsV2'][_0x437529],_0x5276a7['uint32'](0x1a)['fork']())['ldelim']();}return _0x5276a7;},_0xd11cd6['encodeDelimited']=function(_0x3af04e,_0x32ec17){return this['encode'](_0x3af04e,_0x32ec17)['ldelim']();},_0xd11cd6['decode']=function(_0x25ec3d,_0x25789f,_0x9926c0){_0x25ec3d instanceof _0x121a90||(_0x25ec3d=_0x121a90['create'](_0x25ec3d));for(var _0x2bfd36=void 0x0===_0x25789f?_0x25ec3d['len']:_0x25ec3d['pos']+_0x25789f,_0x21a332=new _0x3ef7a7['CommentsV2ConnectResponse']();_0x25ec3d['pos']<_0x2bfd36;){var _0x3ba292=_0x25ec3d['uint32']();if(_0x3ba292===_0x9926c0)break;switch(_0x3ba292>>>0x3){case 0x1:_0x21a332['channel']=_0x25ec3d['string']();break;case 0x2:_0x21a332['threads']&&_0x21a332['threads']['length']||(_0x21a332['threads']=[]),_0x21a332['threads']['push'](_0x25ec3d['string']());break;case 0x3:_0x21a332['threadsV2']&&_0x21a332['threadsV2']['length']||(_0x21a332['threadsV2']=[]),_0x21a332['threadsV2']['push'](_0x3ef7a7['CommentsThreadDescriptor']['decode'](_0x25ec3d,_0x25ec3d['uint32']()));break;default:_0x25ec3d['skipType'](0x7&_0x3ba292);}}return _0x21a332;},_0xd11cd6['decodeDelimited']=function(_0x5b29d9){return _0x5b29d9 instanceof _0x121a90||(_0x5b29d9=new _0x121a90(_0x5b29d9)),this['decode'](_0x5b29d9,_0x5b29d9['uint32']());},_0xd11cd6['verify']=function(_0x5b9576){if('object'!=typeof _0x5b9576||null===_0x5b9576)return'object\x20expected';if(null!=_0x5b9576['channel']&&_0x5b9576['hasOwnProperty']('channel')&&!_0x3aba14['isString'](_0x5b9576['channel']))return'channel:\x20string\x20expected';if(null!=_0x5b9576['threads']&&_0x5b9576['hasOwnProperty']('threads')){if(!Array['isArray'](_0x5b9576['threads']))return'threads:\x20array\x20expected';for(var _0x23d33d=0x0;_0x23d33d<_0x5b9576['threads']['length'];++_0x23d33d)if(!_0x3aba14['isString'](_0x5b9576['threads'][_0x23d33d]))return'threads:\x20string[]\x20expected';}if(null!=_0x5b9576['threadsV2']&&_0x5b9576['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x5b9576['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x23d33d=0x0;_0x23d33d<_0x5b9576['threadsV2']['length'];++_0x23d33d){var _0x370857=_0x3ef7a7['CommentsThreadDescriptor']['verify'](_0x5b9576['threadsV2'][_0x23d33d]);if(_0x370857)return'threadsV2.'+_0x370857;}}return null;},_0xd11cd6['fromObject']=function(_0x3289ff){if(_0x3289ff instanceof _0x3ef7a7['CommentsV2ConnectResponse'])return _0x3289ff;var _0x530d17=new _0x3ef7a7['CommentsV2ConnectResponse']();if(null!=_0x3289ff['channel']&&(_0x530d17['channel']=String(_0x3289ff['channel'])),_0x3289ff['threads']){if(!Array['isArray'](_0x3289ff['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x530d17['threads']=[];for(var _0x3f7919=0x0;_0x3f7919<_0x3289ff['threads']['length'];++_0x3f7919)_0x530d17['threads'][_0x3f7919]=String(_0x3289ff['threads'][_0x3f7919]);}if(_0x3289ff['threadsV2']){if(!Array['isArray'](_0x3289ff['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x530d17['threadsV2']=[],_0x3f7919=0x0;_0x3f7919<_0x3289ff['threadsV2']['length'];++_0x3f7919){if('object'!=typeof _0x3289ff['threadsV2'][_0x3f7919])throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x530d17['threadsV2'][_0x3f7919]=_0x3ef7a7['CommentsThreadDescriptor']['fromObject'](_0x3289ff['threadsV2'][_0x3f7919]);}}return _0x530d17;},_0xd11cd6['toObject']=function(_0x125caf,_0x51b586){_0x51b586||(_0x51b586={});var _0x57b38d={};if((_0x51b586['arrays']||_0x51b586['defaults'])&&(_0x57b38d['threads']=[],_0x57b38d['threadsV2']=[]),_0x51b586['defaults']&&(_0x57b38d['channel']=''),null!=_0x125caf['channel']&&_0x125caf['hasOwnProperty']('channel')&&(_0x57b38d['channel']=_0x125caf['channel']),_0x125caf['threads']&&_0x125caf['threads']['length']){_0x57b38d['threads']=[];for(var _0x47e140=0x0;_0x47e140<_0x125caf['threads']['length'];++_0x47e140)_0x57b38d['threads'][_0x47e140]=_0x125caf['threads'][_0x47e140];}if(_0x125caf['threadsV2']&&_0x125caf['threadsV2']['length']){for(_0x57b38d['threadsV2']=[],_0x47e140=0x0;_0x47e140<_0x125caf['threadsV2']['length'];++_0x47e140)_0x57b38d['threadsV2'][_0x47e140]=_0x3ef7a7['CommentsThreadDescriptor']['toObject'](_0x125caf['threadsV2'][_0x47e140],_0x51b586);}return _0x57b38d;},_0xd11cd6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xd11cd6['getTypeUrl']=function(_0x103dfc){return void 0x0===_0x103dfc&&(_0x103dfc='type.googleapis.com'),_0x103dfc+'/CommentsV2ConnectResponse';},_0xd11cd6;}()),_0x3ef7a7['CommentsV2AddCommentResponse']=(function(){function _0x52da7f(_0x310791){if(_0x310791){for(var _0x859cca=Object['keys'](_0x310791),_0x5df99c=0x0;_0x5df99c<_0x859cca['length'];++_0x5df99c)null!=_0x310791[_0x859cca[_0x5df99c]]&&(this[_0x859cca[_0x5df99c]]=_0x310791[_0x859cca[_0x5df99c]]);}}return _0x52da7f['prototype']['commentThreadId']='',_0x52da7f['prototype']['commentId']='',_0x52da7f['prototype']['createdAt']='',_0x52da7f['create']=function(_0x18a96a){return new _0x52da7f(_0x18a96a);},_0x52da7f['encode']=function(_0x143595,_0x57ab2d){return _0x57ab2d||(_0x57ab2d=_0x10e177['create']()),null!=_0x143595['commentThreadId']&&Object['hasOwnProperty']['call'](_0x143595,'commentThreadId')&&_0x57ab2d['uint32'](0xa)['string'](_0x143595['commentThreadId']),null!=_0x143595['commentId']&&Object['hasOwnProperty']['call'](_0x143595,'commentId')&&_0x57ab2d['uint32'](0x12)['string'](_0x143595['commentId']),null!=_0x143595['createdAt']&&Object['hasOwnProperty']['call'](_0x143595,'createdAt')&&_0x57ab2d['uint32'](0x1a)['string'](_0x143595['createdAt']),_0x57ab2d;},_0x52da7f['encodeDelimited']=function(_0x1c570a,_0x349bb5){return this['encode'](_0x1c570a,_0x349bb5)['ldelim']();},_0x52da7f['decode']=function(_0x4d7fbe,_0x4072ec,_0x2e9594){_0x4d7fbe instanceof _0x121a90||(_0x4d7fbe=_0x121a90['create'](_0x4d7fbe));for(var _0x9c89a8=void 0x0===_0x4072ec?_0x4d7fbe['len']:_0x4d7fbe['pos']+_0x4072ec,_0x3bb83c=new _0x3ef7a7['CommentsV2AddCommentResponse']();_0x4d7fbe['pos']<_0x9c89a8;){var _0x44ecfb=_0x4d7fbe['uint32']();if(_0x44ecfb===_0x2e9594)break;switch(_0x44ecfb>>>0x3){case 0x1:_0x3bb83c['commentThreadId']=_0x4d7fbe['string']();break;case 0x2:_0x3bb83c['commentId']=_0x4d7fbe['string']();break;case 0x3:_0x3bb83c['createdAt']=_0x4d7fbe['string']();break;default:_0x4d7fbe['skipType'](0x7&_0x44ecfb);}}return _0x3bb83c;},_0x52da7f['decodeDelimited']=function(_0x2bc6b0){return _0x2bc6b0 instanceof _0x121a90||(_0x2bc6b0=new _0x121a90(_0x2bc6b0)),this['decode'](_0x2bc6b0,_0x2bc6b0['uint32']());},_0x52da7f['verify']=function(_0x3e75ed){return'object'!=typeof _0x3e75ed||null===_0x3e75ed?'object\x20expected':null!=_0x3e75ed['commentThreadId']&&_0x3e75ed['hasOwnProperty']('commentThreadId')&&!_0x3aba14['isString'](_0x3e75ed['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x3e75ed['commentId']&&_0x3e75ed['hasOwnProperty']('commentId')&&!_0x3aba14['isString'](_0x3e75ed['commentId'])?'commentId:\x20string\x20expected':null!=_0x3e75ed['createdAt']&&_0x3e75ed['hasOwnProperty']('createdAt')&&!_0x3aba14['isString'](_0x3e75ed['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x52da7f['fromObject']=function(_0x14f506){if(_0x14f506 instanceof _0x3ef7a7['CommentsV2AddCommentResponse'])return _0x14f506;var _0x179aac=new _0x3ef7a7['CommentsV2AddCommentResponse']();return null!=_0x14f506['commentThreadId']&&(_0x179aac['commentThreadId']=String(_0x14f506['commentThreadId'])),null!=_0x14f506['commentId']&&(_0x179aac['commentId']=String(_0x14f506['commentId'])),null!=_0x14f506['createdAt']&&(_0x179aac['createdAt']=String(_0x14f506['createdAt'])),_0x179aac;},_0x52da7f['toObject']=function(_0x51d2b5,_0x3f21e1){_0x3f21e1||(_0x3f21e1={});var _0x504fec={};return _0x3f21e1['defaults']&&(_0x504fec['commentThreadId']='',_0x504fec['commentId']='',_0x504fec['createdAt']=''),null!=_0x51d2b5['commentThreadId']&&_0x51d2b5['hasOwnProperty']('commentThreadId')&&(_0x504fec['commentThreadId']=_0x51d2b5['commentThreadId']),null!=_0x51d2b5['commentId']&&_0x51d2b5['hasOwnProperty']('commentId')&&(_0x504fec['commentId']=_0x51d2b5['commentId']),null!=_0x51d2b5['createdAt']&&_0x51d2b5['hasOwnProperty']('createdAt')&&(_0x504fec['createdAt']=_0x51d2b5['createdAt']),_0x504fec;},_0x52da7f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x52da7f['getTypeUrl']=function(_0x380ca5){return void 0x0===_0x380ca5&&(_0x380ca5='type.googleapis.com'),_0x380ca5+'/CommentsV2AddCommentResponse';},_0x52da7f;}()),_0x3ef7a7['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x551d80(_0x3f4d8e){if(_0x3f4d8e){for(var _0x2f20da=Object['keys'](_0x3f4d8e),_0x4bad65=0x0;_0x4bad65<_0x2f20da['length'];++_0x4bad65)null!=_0x3f4d8e[_0x2f20da[_0x4bad65]]&&(this[_0x2f20da[_0x4bad65]]=_0x3f4d8e[_0x2f20da[_0x4bad65]]);}}return _0x551d80['prototype']['commentThreadId']='',_0x551d80['prototype']['documentId']='',_0x551d80['prototype']['resolvedAt']='',_0x551d80['prototype']['resolvedBy']='',_0x551d80['create']=function(_0x18f696){return new _0x551d80(_0x18f696);},_0x551d80['encode']=function(_0x2b7960,_0x393170){return _0x393170||(_0x393170=_0x10e177['create']()),null!=_0x2b7960['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2b7960,'commentThreadId')&&_0x393170['uint32'](0xa)['string'](_0x2b7960['commentThreadId']),null!=_0x2b7960['documentId']&&Object['hasOwnProperty']['call'](_0x2b7960,'documentId')&&_0x393170['uint32'](0x12)['string'](_0x2b7960['documentId']),null!=_0x2b7960['resolvedAt']&&Object['hasOwnProperty']['call'](_0x2b7960,'resolvedAt')&&_0x393170['uint32'](0x1a)['string'](_0x2b7960['resolvedAt']),null!=_0x2b7960['resolvedBy']&&Object['hasOwnProperty']['call'](_0x2b7960,'resolvedBy')&&_0x393170['uint32'](0x22)['string'](_0x2b7960['resolvedBy']),_0x393170;},_0x551d80['encodeDelimited']=function(_0x545e63,_0x17a05e){return this['encode'](_0x545e63,_0x17a05e)['ldelim']();},_0x551d80['decode']=function(_0x545093,_0x1240c1,_0x16ff22){_0x545093 instanceof _0x121a90||(_0x545093=_0x121a90['create'](_0x545093));for(var _0x2e250e=void 0x0===_0x1240c1?_0x545093['len']:_0x545093['pos']+_0x1240c1,_0x226ac9=new _0x3ef7a7['CommentsV2ResolveCommentThreadResponse']();_0x545093['pos']<_0x2e250e;){var _0x4e1959=_0x545093['uint32']();if(_0x4e1959===_0x16ff22)break;switch(_0x4e1959>>>0x3){case 0x1:_0x226ac9['commentThreadId']=_0x545093['string']();break;case 0x2:_0x226ac9['documentId']=_0x545093['string']();break;case 0x3:_0x226ac9['resolvedAt']=_0x545093['string']();break;case 0x4:_0x226ac9['resolvedBy']=_0x545093['string']();break;default:_0x545093['skipType'](0x7&_0x4e1959);}}return _0x226ac9;},_0x551d80['decodeDelimited']=function(_0x3124f3){return _0x3124f3 instanceof _0x121a90||(_0x3124f3=new _0x121a90(_0x3124f3)),this['decode'](_0x3124f3,_0x3124f3['uint32']());},_0x551d80['verify']=function(_0x59d198){return'object'!=typeof _0x59d198||null===_0x59d198?'object\x20expected':null!=_0x59d198['commentThreadId']&&_0x59d198['hasOwnProperty']('commentThreadId')&&!_0x3aba14['isString'](_0x59d198['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x59d198['documentId']&&_0x59d198['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x59d198['documentId'])?'documentId:\x20string\x20expected':null!=_0x59d198['resolvedAt']&&_0x59d198['hasOwnProperty']('resolvedAt')&&!_0x3aba14['isString'](_0x59d198['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x59d198['resolvedBy']&&_0x59d198['hasOwnProperty']('resolvedBy')&&!_0x3aba14['isString'](_0x59d198['resolvedBy'])?'resolvedBy:\x20string\x20expected':null;},_0x551d80['fromObject']=function(_0x445a17){if(_0x445a17 instanceof _0x3ef7a7['CommentsV2ResolveCommentThreadResponse'])return _0x445a17;var _0x15fd1d=new _0x3ef7a7['CommentsV2ResolveCommentThreadResponse']();return null!=_0x445a17['commentThreadId']&&(_0x15fd1d['commentThreadId']=String(_0x445a17['commentThreadId'])),null!=_0x445a17['documentId']&&(_0x15fd1d['documentId']=String(_0x445a17['documentId'])),null!=_0x445a17['resolvedAt']&&(_0x15fd1d['resolvedAt']=String(_0x445a17['resolvedAt'])),null!=_0x445a17['resolvedBy']&&(_0x15fd1d['resolvedBy']=String(_0x445a17['resolvedBy'])),_0x15fd1d;},_0x551d80['toObject']=function(_0x32cb2f,_0x22e050){_0x22e050||(_0x22e050={});var _0x1932fd={};return _0x22e050['defaults']&&(_0x1932fd['commentThreadId']='',_0x1932fd['documentId']='',_0x1932fd['resolvedAt']='',_0x1932fd['resolvedBy']=''),null!=_0x32cb2f['commentThreadId']&&_0x32cb2f['hasOwnProperty']('commentThreadId')&&(_0x1932fd['commentThreadId']=_0x32cb2f['commentThreadId']),null!=_0x32cb2f['documentId']&&_0x32cb2f['hasOwnProperty']('documentId')&&(_0x1932fd['documentId']=_0x32cb2f['documentId']),null!=_0x32cb2f['resolvedAt']&&_0x32cb2f['hasOwnProperty']('resolvedAt')&&(_0x1932fd['resolvedAt']=_0x32cb2f['resolvedAt']),null!=_0x32cb2f['resolvedBy']&&_0x32cb2f['hasOwnProperty']('resolvedBy')&&(_0x1932fd['resolvedBy']=_0x32cb2f['resolvedBy']),_0x1932fd;},_0x551d80['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x551d80['getTypeUrl']=function(_0x3142c1){return void 0x0===_0x3142c1&&(_0x3142c1='type.googleapis.com'),_0x3142c1+'/CommentsV2ResolveCommentThreadResponse';},_0x551d80;}()),_0x3ef7a7['CommentsV2AddCommentThreadResponse']=(function(){function _0x513c96(_0x348292){if(this['comments']=[],_0x348292){for(var _0x30e93f=Object['keys'](_0x348292),_0xaefd8=0x0;_0xaefd8<_0x30e93f['length'];++_0xaefd8)null!=_0x348292[_0x30e93f[_0xaefd8]]&&(this[_0x30e93f[_0xaefd8]]=_0x348292[_0x30e93f[_0xaefd8]]);}}return _0x513c96['prototype']['commentThreadId']='',_0x513c96['prototype']['createdAt']='',_0x513c96['prototype']['comments']=_0x3aba14['emptyArray'],_0x513c96['create']=function(_0x408197){return new _0x513c96(_0x408197);},_0x513c96['encode']=function(_0x438019,_0x168d6e){if(_0x168d6e||(_0x168d6e=_0x10e177['create']()),null!=_0x438019['commentThreadId']&&Object['hasOwnProperty']['call'](_0x438019,'commentThreadId')&&_0x168d6e['uint32'](0xa)['string'](_0x438019['commentThreadId']),null!=_0x438019['createdAt']&&Object['hasOwnProperty']['call'](_0x438019,'createdAt')&&_0x168d6e['uint32'](0x12)['string'](_0x438019['createdAt']),null!=_0x438019['comments']&&_0x438019['comments']['length']){for(var _0x551c1a=0x0;_0x551c1a<_0x438019['comments']['length'];++_0x551c1a)_0x3ef7a7['CommentThreadAddedCommentDescriptor']['encode'](_0x438019['comments'][_0x551c1a],_0x168d6e['uint32'](0x1a)['fork']())['ldelim']();}return _0x168d6e;},_0x513c96['encodeDelimited']=function(_0x2713ee,_0x1a1dc3){return this['encode'](_0x2713ee,_0x1a1dc3)['ldelim']();},_0x513c96['decode']=function(_0x571075,_0x1a225d,_0x3ca253){_0x571075 instanceof _0x121a90||(_0x571075=_0x121a90['create'](_0x571075));for(var _0x33ea0d=void 0x0===_0x1a225d?_0x571075['len']:_0x571075['pos']+_0x1a225d,_0xc2cff5=new _0x3ef7a7['CommentsV2AddCommentThreadResponse']();_0x571075['pos']<_0x33ea0d;){var _0x3efe16=_0x571075['uint32']();if(_0x3efe16===_0x3ca253)break;switch(_0x3efe16>>>0x3){case 0x1:_0xc2cff5['commentThreadId']=_0x571075['string']();break;case 0x2:_0xc2cff5['createdAt']=_0x571075['string']();break;case 0x3:_0xc2cff5['comments']&&_0xc2cff5['comments']['length']||(_0xc2cff5['comments']=[]),_0xc2cff5['comments']['push'](_0x3ef7a7['CommentThreadAddedCommentDescriptor']['decode'](_0x571075,_0x571075['uint32']()));break;default:_0x571075['skipType'](0x7&_0x3efe16);}}return _0xc2cff5;},_0x513c96['decodeDelimited']=function(_0x3f12c8){return _0x3f12c8 instanceof _0x121a90||(_0x3f12c8=new _0x121a90(_0x3f12c8)),this['decode'](_0x3f12c8,_0x3f12c8['uint32']());},_0x513c96['verify']=function(_0x4202d4){if('object'!=typeof _0x4202d4||null===_0x4202d4)return'object\x20expected';if(null!=_0x4202d4['commentThreadId']&&_0x4202d4['hasOwnProperty']('commentThreadId')&&!_0x3aba14['isString'](_0x4202d4['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x4202d4['createdAt']&&_0x4202d4['hasOwnProperty']('createdAt')&&!_0x3aba14['isString'](_0x4202d4['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x4202d4['comments']&&_0x4202d4['hasOwnProperty']('comments')){if(!Array['isArray'](_0x4202d4['comments']))return'comments:\x20array\x20expected';for(var _0x3a503b=0x0;_0x3a503b<_0x4202d4['comments']['length'];++_0x3a503b){var _0x1cff6f=_0x3ef7a7['CommentThreadAddedCommentDescriptor']['verify'](_0x4202d4['comments'][_0x3a503b]);if(_0x1cff6f)return'comments.'+_0x1cff6f;}}return null;},_0x513c96['fromObject']=function(_0x182b54){if(_0x182b54 instanceof _0x3ef7a7['CommentsV2AddCommentThreadResponse'])return _0x182b54;var _0x2db638=new _0x3ef7a7['CommentsV2AddCommentThreadResponse']();if(null!=_0x182b54['commentThreadId']&&(_0x2db638['commentThreadId']=String(_0x182b54['commentThreadId'])),null!=_0x182b54['createdAt']&&(_0x2db638['createdAt']=String(_0x182b54['createdAt'])),_0x182b54['comments']){if(!Array['isArray'](_0x182b54['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x2db638['comments']=[];for(var _0x358e32=0x0;_0x358e32<_0x182b54['comments']['length'];++_0x358e32){if('object'!=typeof _0x182b54['comments'][_0x358e32])throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x2db638['comments'][_0x358e32]=_0x3ef7a7['CommentThreadAddedCommentDescriptor']['fromObject'](_0x182b54['comments'][_0x358e32]);}}return _0x2db638;},_0x513c96['toObject']=function(_0x3242ce,_0x5aa429){_0x5aa429||(_0x5aa429={});var _0x1222ac={};if((_0x5aa429['arrays']||_0x5aa429['defaults'])&&(_0x1222ac['comments']=[]),_0x5aa429['defaults']&&(_0x1222ac['commentThreadId']='',_0x1222ac['createdAt']=''),null!=_0x3242ce['commentThreadId']&&_0x3242ce['hasOwnProperty']('commentThreadId')&&(_0x1222ac['commentThreadId']=_0x3242ce['commentThreadId']),null!=_0x3242ce['createdAt']&&_0x3242ce['hasOwnProperty']('createdAt')&&(_0x1222ac['createdAt']=_0x3242ce['createdAt']),_0x3242ce['comments']&&_0x3242ce['comments']['length']){_0x1222ac['comments']=[];for(var _0x35f12c=0x0;_0x35f12c<_0x3242ce['comments']['length'];++_0x35f12c)_0x1222ac['comments'][_0x35f12c]=_0x3ef7a7['CommentThreadAddedCommentDescriptor']['toObject'](_0x3242ce['comments'][_0x35f12c],_0x5aa429);}return _0x1222ac;},_0x513c96['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x513c96['getTypeUrl']=function(_0x1a8724){return void 0x0===_0x1a8724&&(_0x1a8724='type.googleapis.com'),_0x1a8724+'/CommentsV2AddCommentThreadResponse';},_0x513c96;}()),_0x3ef7a7['CommentsV2UpdateCommentMessage']=(function(){function _0x5da738(_0x230f90){if(_0x230f90){for(var _0x11d025=Object['keys'](_0x230f90),_0xde72c0=0x0;_0xde72c0<_0x11d025['length'];++_0xde72c0)null!=_0x230f90[_0x11d025[_0xde72c0]]&&(this[_0x11d025[_0xde72c0]]=_0x230f90[_0x11d025[_0xde72c0]]);}}return _0x5da738['prototype']['commentThreadId']='',_0x5da738['prototype']['commentId']='',_0x5da738['prototype']['content']='',_0x5da738['prototype']['documentId']='',_0x5da738['prototype']['attributes']='',_0x5da738['prototype']['isAttributesUpdated']=!0x1,_0x5da738['prototype']['commentThread']=null,_0x5da738['create']=function(_0x5e9c40){return new _0x5da738(_0x5e9c40);},_0x5da738['encode']=function(_0x10adc8,_0x40e03d){return _0x40e03d||(_0x40e03d=_0x10e177['create']()),null!=_0x10adc8['commentThreadId']&&Object['hasOwnProperty']['call'](_0x10adc8,'commentThreadId')&&_0x40e03d['uint32'](0xa)['string'](_0x10adc8['commentThreadId']),null!=_0x10adc8['commentId']&&Object['hasOwnProperty']['call'](_0x10adc8,'commentId')&&_0x40e03d['uint32'](0x12)['string'](_0x10adc8['commentId']),null!=_0x10adc8['content']&&Object['hasOwnProperty']['call'](_0x10adc8,'content')&&_0x40e03d['uint32'](0x1a)['string'](_0x10adc8['content']),null!=_0x10adc8['documentId']&&Object['hasOwnProperty']['call'](_0x10adc8,'documentId')&&_0x40e03d['uint32'](0x22)['string'](_0x10adc8['documentId']),null!=_0x10adc8['attributes']&&Object['hasOwnProperty']['call'](_0x10adc8,'attributes')&&_0x40e03d['uint32'](0x2a)['string'](_0x10adc8['attributes']),null!=_0x10adc8['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x10adc8,'isAttributesUpdated')&&_0x40e03d['uint32'](0x30)['bool'](_0x10adc8['isAttributesUpdated']),null!=_0x10adc8['commentThread']&&Object['hasOwnProperty']['call'](_0x10adc8,'commentThread')&&_0x3ef7a7['CommentsThreadDescriptor']['encode'](_0x10adc8['commentThread'],_0x40e03d['uint32'](0x3a)['fork']())['ldelim'](),_0x40e03d;},_0x5da738['encodeDelimited']=function(_0x55d89b,_0x1f5b82){return this['encode'](_0x55d89b,_0x1f5b82)['ldelim']();},_0x5da738['decode']=function(_0x24c114,_0x28cd59,_0x287840){_0x24c114 instanceof _0x121a90||(_0x24c114=_0x121a90['create'](_0x24c114));for(var _0x3b891b=void 0x0===_0x28cd59?_0x24c114['len']:_0x24c114['pos']+_0x28cd59,_0x32a6a0=new _0x3ef7a7['CommentsV2UpdateCommentMessage']();_0x24c114['pos']<_0x3b891b;){var _0x5c3f62=_0x24c114['uint32']();if(_0x5c3f62===_0x287840)break;switch(_0x5c3f62>>>0x3){case 0x1:_0x32a6a0['commentThreadId']=_0x24c114['string']();break;case 0x2:_0x32a6a0['commentId']=_0x24c114['string']();break;case 0x3:_0x32a6a0['content']=_0x24c114['string']();break;case 0x4:_0x32a6a0['documentId']=_0x24c114['string']();break;case 0x5:_0x32a6a0['attributes']=_0x24c114['string']();break;case 0x6:_0x32a6a0['isAttributesUpdated']=_0x24c114['bool']();break;case 0x7:_0x32a6a0['commentThread']=_0x3ef7a7['CommentsThreadDescriptor']['decode'](_0x24c114,_0x24c114['uint32']());break;default:_0x24c114['skipType'](0x7&_0x5c3f62);}}return _0x32a6a0;},_0x5da738['decodeDelimited']=function(_0x1bf298){return _0x1bf298 instanceof _0x121a90||(_0x1bf298=new _0x121a90(_0x1bf298)),this['decode'](_0x1bf298,_0x1bf298['uint32']());},_0x5da738['verify']=function(_0x1c4f31){if('object'!=typeof _0x1c4f31||null===_0x1c4f31)return'object\x20expected';if(null!=_0x1c4f31['commentThreadId']&&_0x1c4f31['hasOwnProperty']('commentThreadId')&&!_0x3aba14['isString'](_0x1c4f31['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x1c4f31['commentId']&&_0x1c4f31['hasOwnProperty']('commentId')&&!_0x3aba14['isString'](_0x1c4f31['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x1c4f31['content']&&_0x1c4f31['hasOwnProperty']('content')&&!_0x3aba14['isString'](_0x1c4f31['content']))return'content:\x20string\x20expected';if(null!=_0x1c4f31['documentId']&&_0x1c4f31['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x1c4f31['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x1c4f31['attributes']&&_0x1c4f31['hasOwnProperty']('attributes')&&!_0x3aba14['isString'](_0x1c4f31['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x1c4f31['isAttributesUpdated']&&_0x1c4f31['hasOwnProperty']('isAttributesUpdated')&&'boolean'!=typeof _0x1c4f31['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x1c4f31['commentThread']&&_0x1c4f31['hasOwnProperty']('commentThread')){var _0x26fd83=_0x3ef7a7['CommentsThreadDescriptor']['verify'](_0x1c4f31['commentThread']);if(_0x26fd83)return'commentThread.'+_0x26fd83;}return null;},_0x5da738['fromObject']=function(_0x5c6e6d){if(_0x5c6e6d instanceof _0x3ef7a7['CommentsV2UpdateCommentMessage'])return _0x5c6e6d;var _0x4d35ec=new _0x3ef7a7['CommentsV2UpdateCommentMessage']();if(null!=_0x5c6e6d['commentThreadId']&&(_0x4d35ec['commentThreadId']=String(_0x5c6e6d['commentThreadId'])),null!=_0x5c6e6d['commentId']&&(_0x4d35ec['commentId']=String(_0x5c6e6d['commentId'])),null!=_0x5c6e6d['content']&&(_0x4d35ec['content']=String(_0x5c6e6d['content'])),null!=_0x5c6e6d['documentId']&&(_0x4d35ec['documentId']=String(_0x5c6e6d['documentId'])),null!=_0x5c6e6d['attributes']&&(_0x4d35ec['attributes']=String(_0x5c6e6d['attributes'])),null!=_0x5c6e6d['isAttributesUpdated']&&(_0x4d35ec['isAttributesUpdated']=Boolean(_0x5c6e6d['isAttributesUpdated'])),null!=_0x5c6e6d['commentThread']){if('object'!=typeof _0x5c6e6d['commentThread'])throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x4d35ec['commentThread']=_0x3ef7a7['CommentsThreadDescriptor']['fromObject'](_0x5c6e6d['commentThread']);}return _0x4d35ec;},_0x5da738['toObject']=function(_0x37c24e,_0x403d0a){_0x403d0a||(_0x403d0a={});var _0x37a802={};return _0x403d0a['defaults']&&(_0x37a802['commentThreadId']='',_0x37a802['commentId']='',_0x37a802['content']='',_0x37a802['documentId']='',_0x37a802['attributes']='',_0x37a802['isAttributesUpdated']=!0x1,_0x37a802['commentThread']=null),null!=_0x37c24e['commentThreadId']&&_0x37c24e['hasOwnProperty']('commentThreadId')&&(_0x37a802['commentThreadId']=_0x37c24e['commentThreadId']),null!=_0x37c24e['commentId']&&_0x37c24e['hasOwnProperty']('commentId')&&(_0x37a802['commentId']=_0x37c24e['commentId']),null!=_0x37c24e['content']&&_0x37c24e['hasOwnProperty']('content')&&(_0x37a802['content']=_0x37c24e['content']),null!=_0x37c24e['documentId']&&_0x37c24e['hasOwnProperty']('documentId')&&(_0x37a802['documentId']=_0x37c24e['documentId']),null!=_0x37c24e['attributes']&&_0x37c24e['hasOwnProperty']('attributes')&&(_0x37a802['attributes']=_0x37c24e['attributes']),null!=_0x37c24e['isAttributesUpdated']&&_0x37c24e['hasOwnProperty']('isAttributesUpdated')&&(_0x37a802['isAttributesUpdated']=_0x37c24e['isAttributesUpdated']),null!=_0x37c24e['commentThread']&&_0x37c24e['hasOwnProperty']('commentThread')&&(_0x37a802['commentThread']=_0x3ef7a7['CommentsThreadDescriptor']['toObject'](_0x37c24e['commentThread'],_0x403d0a)),_0x37a802;},_0x5da738['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5da738['getTypeUrl']=function(_0x355842){return void 0x0===_0x355842&&(_0x355842='type.googleapis.com'),_0x355842+'/CommentsV2UpdateCommentMessage';},_0x5da738;}()),_0x3ef7a7['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x2b93c1(_0x5bbd74){if(_0x5bbd74){for(var _0x526a6b=Object['keys'](_0x5bbd74),_0x424e3a=0x0;_0x424e3a<_0x526a6b['length'];++_0x424e3a)null!=_0x5bbd74[_0x526a6b[_0x424e3a]]&&(this[_0x526a6b[_0x424e3a]]=_0x5bbd74[_0x526a6b[_0x424e3a]]);}}return _0x2b93c1['prototype']['commentThreadId']='',_0x2b93c1['prototype']['documentId']='',_0x2b93c1['create']=function(_0x55bb36){return new _0x2b93c1(_0x55bb36);},_0x2b93c1['encode']=function(_0x120732,_0x166a15){return _0x166a15||(_0x166a15=_0x10e177['create']()),null!=_0x120732['commentThreadId']&&Object['hasOwnProperty']['call'](_0x120732,'commentThreadId')&&_0x166a15['uint32'](0xa)['string'](_0x120732['commentThreadId']),null!=_0x120732['documentId']&&Object['hasOwnProperty']['call'](_0x120732,'documentId')&&_0x166a15['uint32'](0x12)['string'](_0x120732['documentId']),_0x166a15;},_0x2b93c1['encodeDelimited']=function(_0x6f62ea,_0x281f59){return this['encode'](_0x6f62ea,_0x281f59)['ldelim']();},_0x2b93c1['decode']=function(_0x1f78e2,_0x562169,_0x2d935f){_0x1f78e2 instanceof _0x121a90||(_0x1f78e2=_0x121a90['create'](_0x1f78e2));for(var _0x436ee0=void 0x0===_0x562169?_0x1f78e2['len']:_0x1f78e2['pos']+_0x562169,_0x39db10=new _0x3ef7a7['CommentsV2RemoveCommentThreadMessage']();_0x1f78e2['pos']<_0x436ee0;){var _0x28884d=_0x1f78e2['uint32']();if(_0x28884d===_0x2d935f)break;switch(_0x28884d>>>0x3){case 0x1:_0x39db10['commentThreadId']=_0x1f78e2['string']();break;case 0x2:_0x39db10['documentId']=_0x1f78e2['string']();break;default:_0x1f78e2['skipType'](0x7&_0x28884d);}}return _0x39db10;},_0x2b93c1['decodeDelimited']=function(_0x380a89){return _0x380a89 instanceof _0x121a90||(_0x380a89=new _0x121a90(_0x380a89)),this['decode'](_0x380a89,_0x380a89['uint32']());},_0x2b93c1['verify']=function(_0x5f1645){return'object'!=typeof _0x5f1645||null===_0x5f1645?'object\x20expected':null!=_0x5f1645['commentThreadId']&&_0x5f1645['hasOwnProperty']('commentThreadId')&&!_0x3aba14['isString'](_0x5f1645['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5f1645['documentId']&&_0x5f1645['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x5f1645['documentId'])?'documentId:\x20string\x20expected':null;},_0x2b93c1['fromObject']=function(_0xfcf6ce){if(_0xfcf6ce instanceof _0x3ef7a7['CommentsV2RemoveCommentThreadMessage'])return _0xfcf6ce;var _0x5b4a5c=new _0x3ef7a7['CommentsV2RemoveCommentThreadMessage']();return null!=_0xfcf6ce['commentThreadId']&&(_0x5b4a5c['commentThreadId']=String(_0xfcf6ce['commentThreadId'])),null!=_0xfcf6ce['documentId']&&(_0x5b4a5c['documentId']=String(_0xfcf6ce['documentId'])),_0x5b4a5c;},_0x2b93c1['toObject']=function(_0x1b60a8,_0x28bb01){_0x28bb01||(_0x28bb01={});var _0xa05f44={};return _0x28bb01['defaults']&&(_0xa05f44['commentThreadId']='',_0xa05f44['documentId']=''),null!=_0x1b60a8['commentThreadId']&&_0x1b60a8['hasOwnProperty']('commentThreadId')&&(_0xa05f44['commentThreadId']=_0x1b60a8['commentThreadId']),null!=_0x1b60a8['documentId']&&_0x1b60a8['hasOwnProperty']('documentId')&&(_0xa05f44['documentId']=_0x1b60a8['documentId']),_0xa05f44;},_0x2b93c1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2b93c1['getTypeUrl']=function(_0x459009){return void 0x0===_0x459009&&(_0x459009='type.googleapis.com'),_0x459009+'/CommentsV2RemoveCommentThreadMessage';},_0x2b93c1;}()),_0x3ef7a7['CommentsV2RemoveCommentMessage']=(function(){function _0x38e13a(_0x476732){if(_0x476732){for(var _0x583ee8=Object['keys'](_0x476732),_0x5acf53=0x0;_0x5acf53<_0x583ee8['length'];++_0x5acf53)null!=_0x476732[_0x583ee8[_0x5acf53]]&&(this[_0x583ee8[_0x5acf53]]=_0x476732[_0x583ee8[_0x5acf53]]);}}return _0x38e13a['prototype']['commentThreadId']='',_0x38e13a['prototype']['commentId']='',_0x38e13a['prototype']['documentId']='',_0x38e13a['create']=function(_0x5865bd){return new _0x38e13a(_0x5865bd);},_0x38e13a['encode']=function(_0x3c10d1,_0x43b02b){return _0x43b02b||(_0x43b02b=_0x10e177['create']()),null!=_0x3c10d1['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3c10d1,'commentThreadId')&&_0x43b02b['uint32'](0xa)['string'](_0x3c10d1['commentThreadId']),null!=_0x3c10d1['commentId']&&Object['hasOwnProperty']['call'](_0x3c10d1,'commentId')&&_0x43b02b['uint32'](0x12)['string'](_0x3c10d1['commentId']),null!=_0x3c10d1['documentId']&&Object['hasOwnProperty']['call'](_0x3c10d1,'documentId')&&_0x43b02b['uint32'](0x1a)['string'](_0x3c10d1['documentId']),_0x43b02b;},_0x38e13a['encodeDelimited']=function(_0x2712ed,_0x21a152){return this['encode'](_0x2712ed,_0x21a152)['ldelim']();},_0x38e13a['decode']=function(_0x319408,_0x1b5abf,_0x23cb8e){_0x319408 instanceof _0x121a90||(_0x319408=_0x121a90['create'](_0x319408));for(var _0x3b2dc0=void 0x0===_0x1b5abf?_0x319408['len']:_0x319408['pos']+_0x1b5abf,_0xe89241=new _0x3ef7a7['CommentsV2RemoveCommentMessage']();_0x319408['pos']<_0x3b2dc0;){var _0x498da6=_0x319408['uint32']();if(_0x498da6===_0x23cb8e)break;switch(_0x498da6>>>0x3){case 0x1:_0xe89241['commentThreadId']=_0x319408['string']();break;case 0x2:_0xe89241['commentId']=_0x319408['string']();break;case 0x3:_0xe89241['documentId']=_0x319408['string']();break;default:_0x319408['skipType'](0x7&_0x498da6);}}return _0xe89241;},_0x38e13a['decodeDelimited']=function(_0x377832){return _0x377832 instanceof _0x121a90||(_0x377832=new _0x121a90(_0x377832)),this['decode'](_0x377832,_0x377832['uint32']());},_0x38e13a['verify']=function(_0x27f95a){return'object'!=typeof _0x27f95a||null===_0x27f95a?'object\x20expected':null!=_0x27f95a['commentThreadId']&&_0x27f95a['hasOwnProperty']('commentThreadId')&&!_0x3aba14['isString'](_0x27f95a['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x27f95a['commentId']&&_0x27f95a['hasOwnProperty']('commentId')&&!_0x3aba14['isString'](_0x27f95a['commentId'])?'commentId:\x20string\x20expected':null!=_0x27f95a['documentId']&&_0x27f95a['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x27f95a['documentId'])?'documentId:\x20string\x20expected':null;},_0x38e13a['fromObject']=function(_0x3eee1e){if(_0x3eee1e instanceof _0x3ef7a7['CommentsV2RemoveCommentMessage'])return _0x3eee1e;var _0x334922=new _0x3ef7a7['CommentsV2RemoveCommentMessage']();return null!=_0x3eee1e['commentThreadId']&&(_0x334922['commentThreadId']=String(_0x3eee1e['commentThreadId'])),null!=_0x3eee1e['commentId']&&(_0x334922['commentId']=String(_0x3eee1e['commentId'])),null!=_0x3eee1e['documentId']&&(_0x334922['documentId']=String(_0x3eee1e['documentId'])),_0x334922;},_0x38e13a['toObject']=function(_0x1b57ca,_0x1ff3e2){_0x1ff3e2||(_0x1ff3e2={});var _0x112bd7={};return _0x1ff3e2['defaults']&&(_0x112bd7['commentThreadId']='',_0x112bd7['commentId']='',_0x112bd7['documentId']=''),null!=_0x1b57ca['commentThreadId']&&_0x1b57ca['hasOwnProperty']('commentThreadId')&&(_0x112bd7['commentThreadId']=_0x1b57ca['commentThreadId']),null!=_0x1b57ca['commentId']&&_0x1b57ca['hasOwnProperty']('commentId')&&(_0x112bd7['commentId']=_0x1b57ca['commentId']),null!=_0x1b57ca['documentId']&&_0x1b57ca['hasOwnProperty']('documentId')&&(_0x112bd7['documentId']=_0x1b57ca['documentId']),_0x112bd7;},_0x38e13a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x38e13a['getTypeUrl']=function(_0x9a54ab){return void 0x0===_0x9a54ab&&(_0x9a54ab='type.googleapis.com'),_0x9a54ab+'/CommentsV2RemoveCommentMessage';},_0x38e13a;}()),_0x3ef7a7['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x7e428f(_0x32fe72){if(_0x32fe72){for(var _0x53a761=Object['keys'](_0x32fe72),_0xc4a793=0x0;_0xc4a793<_0x53a761['length'];++_0xc4a793)null!=_0x32fe72[_0x53a761[_0xc4a793]]&&(this[_0x53a761[_0xc4a793]]=_0x32fe72[_0x53a761[_0xc4a793]]);}}return _0x7e428f['prototype']['documentId']='',_0x7e428f['create']=function(_0x3cf063){return new _0x7e428f(_0x3cf063);},_0x7e428f['encode']=function(_0x4a0826,_0xa58ce8){return _0xa58ce8||(_0xa58ce8=_0x10e177['create']()),null!=_0x4a0826['documentId']&&Object['hasOwnProperty']['call'](_0x4a0826,'documentId')&&_0xa58ce8['uint32'](0xa)['string'](_0x4a0826['documentId']),_0xa58ce8;},_0x7e428f['encodeDelimited']=function(_0x504651,_0x34fe0b){return this['encode'](_0x504651,_0x34fe0b)['ldelim']();},_0x7e428f['decode']=function(_0x33e183,_0x480d02,_0x4e609d){_0x33e183 instanceof _0x121a90||(_0x33e183=_0x121a90['create'](_0x33e183));for(var _0xbd4550=void 0x0===_0x480d02?_0x33e183['len']:_0x33e183['pos']+_0x480d02,_0x425f31=new _0x3ef7a7['CommentsV2GetDocumentThreadsMessage']();_0x33e183['pos']<_0xbd4550;){var _0x54ea37=_0x33e183['uint32']();if(_0x54ea37===_0x4e609d)break;_0x54ea37>>>0x3==0x1?_0x425f31['documentId']=_0x33e183['string']():_0x33e183['skipType'](0x7&_0x54ea37);}return _0x425f31;},_0x7e428f['decodeDelimited']=function(_0x1175c2){return _0x1175c2 instanceof _0x121a90||(_0x1175c2=new _0x121a90(_0x1175c2)),this['decode'](_0x1175c2,_0x1175c2['uint32']());},_0x7e428f['verify']=function(_0x2b6c7d){return'object'!=typeof _0x2b6c7d||null===_0x2b6c7d?'object\x20expected':null!=_0x2b6c7d['documentId']&&_0x2b6c7d['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x2b6c7d['documentId'])?'documentId:\x20string\x20expected':null;},_0x7e428f['fromObject']=function(_0xedb540){if(_0xedb540 instanceof _0x3ef7a7['CommentsV2GetDocumentThreadsMessage'])return _0xedb540;var _0x4642fd=new _0x3ef7a7['CommentsV2GetDocumentThreadsMessage']();return null!=_0xedb540['documentId']&&(_0x4642fd['documentId']=String(_0xedb540['documentId'])),_0x4642fd;},_0x7e428f['toObject']=function(_0x12e453,_0x4b00d6){_0x4b00d6||(_0x4b00d6={});var _0x1bb79f={};return _0x4b00d6['defaults']&&(_0x1bb79f['documentId']=''),null!=_0x12e453['documentId']&&_0x12e453['hasOwnProperty']('documentId')&&(_0x1bb79f['documentId']=_0x12e453['documentId']),_0x1bb79f;},_0x7e428f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x7e428f['getTypeUrl']=function(_0xe63db0){return void 0x0===_0xe63db0&&(_0xe63db0='type.googleapis.com'),_0xe63db0+'/CommentsV2GetDocumentThreadsMessage';},_0x7e428f;}()),_0x3ef7a7['CommentsV2GetCommentThreadMessage']=(function(){function _0x43e406(_0x4d91f8){if(_0x4d91f8){for(var _0x24a79f=Object['keys'](_0x4d91f8),_0x5d331d=0x0;_0x5d331d<_0x24a79f['length'];++_0x5d331d)null!=_0x4d91f8[_0x24a79f[_0x5d331d]]&&(this[_0x24a79f[_0x5d331d]]=_0x4d91f8[_0x24a79f[_0x5d331d]]);}}return _0x43e406['prototype']['commentThreadId']='',_0x43e406['prototype']['documentId']='',_0x43e406['create']=function(_0x1171d7){return new _0x43e406(_0x1171d7);},_0x43e406['encode']=function(_0x5bc086,_0x413c88){return _0x413c88||(_0x413c88=_0x10e177['create']()),null!=_0x5bc086['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5bc086,'commentThreadId')&&_0x413c88['uint32'](0xa)['string'](_0x5bc086['commentThreadId']),null!=_0x5bc086['documentId']&&Object['hasOwnProperty']['call'](_0x5bc086,'documentId')&&_0x413c88['uint32'](0x12)['string'](_0x5bc086['documentId']),_0x413c88;},_0x43e406['encodeDelimited']=function(_0x4e65c4,_0x8a5527){return this['encode'](_0x4e65c4,_0x8a5527)['ldelim']();},_0x43e406['decode']=function(_0x38ea64,_0x29b338,_0x467adb){_0x38ea64 instanceof _0x121a90||(_0x38ea64=_0x121a90['create'](_0x38ea64));for(var _0x30d270=void 0x0===_0x29b338?_0x38ea64['len']:_0x38ea64['pos']+_0x29b338,_0xc5e537=new _0x3ef7a7['CommentsV2GetCommentThreadMessage']();_0x38ea64['pos']<_0x30d270;){var _0x5dd24e=_0x38ea64['uint32']();if(_0x5dd24e===_0x467adb)break;switch(_0x5dd24e>>>0x3){case 0x1:_0xc5e537['commentThreadId']=_0x38ea64['string']();break;case 0x2:_0xc5e537['documentId']=_0x38ea64['string']();break;default:_0x38ea64['skipType'](0x7&_0x5dd24e);}}return _0xc5e537;},_0x43e406['decodeDelimited']=function(_0xae228){return _0xae228 instanceof _0x121a90||(_0xae228=new _0x121a90(_0xae228)),this['decode'](_0xae228,_0xae228['uint32']());},_0x43e406['verify']=function(_0x561ca9){return'object'!=typeof _0x561ca9||null===_0x561ca9?'object\x20expected':null!=_0x561ca9['commentThreadId']&&_0x561ca9['hasOwnProperty']('commentThreadId')&&!_0x3aba14['isString'](_0x561ca9['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x561ca9['documentId']&&_0x561ca9['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x561ca9['documentId'])?'documentId:\x20string\x20expected':null;},_0x43e406['fromObject']=function(_0x357ce0){if(_0x357ce0 instanceof _0x3ef7a7['CommentsV2GetCommentThreadMessage'])return _0x357ce0;var _0x232886=new _0x3ef7a7['CommentsV2GetCommentThreadMessage']();return null!=_0x357ce0['commentThreadId']&&(_0x232886['commentThreadId']=String(_0x357ce0['commentThreadId'])),null!=_0x357ce0['documentId']&&(_0x232886['documentId']=String(_0x357ce0['documentId'])),_0x232886;},_0x43e406['toObject']=function(_0x10c2b7,_0x505a03){_0x505a03||(_0x505a03={});var _0x2d42b8={};return _0x505a03['defaults']&&(_0x2d42b8['commentThreadId']='',_0x2d42b8['documentId']=''),null!=_0x10c2b7['commentThreadId']&&_0x10c2b7['hasOwnProperty']('commentThreadId')&&(_0x2d42b8['commentThreadId']=_0x10c2b7['commentThreadId']),null!=_0x10c2b7['documentId']&&_0x10c2b7['hasOwnProperty']('documentId')&&(_0x2d42b8['documentId']=_0x10c2b7['documentId']),_0x2d42b8;},_0x43e406['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x43e406['getTypeUrl']=function(_0x4bab93){return void 0x0===_0x4bab93&&(_0x4bab93='type.googleapis.com'),_0x4bab93+'/CommentsV2GetCommentThreadMessage';},_0x43e406;}()),_0x3ef7a7['CommentsV2ConnectMessage']=(function(){function _0xcdde29(_0x3e2aea){if(_0x3e2aea){for(var _0x1f2fd2=Object['keys'](_0x3e2aea),_0x51c416=0x0;_0x51c416<_0x1f2fd2['length'];++_0x51c416)null!=_0x3e2aea[_0x1f2fd2[_0x51c416]]&&(this[_0x1f2fd2[_0x51c416]]=_0x3e2aea[_0x1f2fd2[_0x51c416]]);}}return _0xcdde29['prototype']['documentId']='',_0xcdde29['create']=function(_0x13a47e){return new _0xcdde29(_0x13a47e);},_0xcdde29['encode']=function(_0x2e3230,_0x1cdd59){return _0x1cdd59||(_0x1cdd59=_0x10e177['create']()),null!=_0x2e3230['documentId']&&Object['hasOwnProperty']['call'](_0x2e3230,'documentId')&&_0x1cdd59['uint32'](0xa)['string'](_0x2e3230['documentId']),_0x1cdd59;},_0xcdde29['encodeDelimited']=function(_0x1d46f9,_0x41301c){return this['encode'](_0x1d46f9,_0x41301c)['ldelim']();},_0xcdde29['decode']=function(_0x8cef2e,_0x42dda2,_0x5f313e){_0x8cef2e instanceof _0x121a90||(_0x8cef2e=_0x121a90['create'](_0x8cef2e));for(var _0x484b90=void 0x0===_0x42dda2?_0x8cef2e['len']:_0x8cef2e['pos']+_0x42dda2,_0x25c685=new _0x3ef7a7['CommentsV2ConnectMessage']();_0x8cef2e['pos']<_0x484b90;){var _0x1f87e8=_0x8cef2e['uint32']();if(_0x1f87e8===_0x5f313e)break;_0x1f87e8>>>0x3==0x1?_0x25c685['documentId']=_0x8cef2e['string']():_0x8cef2e['skipType'](0x7&_0x1f87e8);}return _0x25c685;},_0xcdde29['decodeDelimited']=function(_0x121655){return _0x121655 instanceof _0x121a90||(_0x121655=new _0x121a90(_0x121655)),this['decode'](_0x121655,_0x121655['uint32']());},_0xcdde29['verify']=function(_0x472cac){return'object'!=typeof _0x472cac||null===_0x472cac?'object\x20expected':null!=_0x472cac['documentId']&&_0x472cac['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x472cac['documentId'])?'documentId:\x20string\x20expected':null;},_0xcdde29['fromObject']=function(_0x1e5a0b){if(_0x1e5a0b instanceof _0x3ef7a7['CommentsV2ConnectMessage'])return _0x1e5a0b;var _0x15fb4c=new _0x3ef7a7['CommentsV2ConnectMessage']();return null!=_0x1e5a0b['documentId']&&(_0x15fb4c['documentId']=String(_0x1e5a0b['documentId'])),_0x15fb4c;},_0xcdde29['toObject']=function(_0x1a7f95,_0x39694e){_0x39694e||(_0x39694e={});var _0x928f10={};return _0x39694e['defaults']&&(_0x928f10['documentId']=''),null!=_0x1a7f95['documentId']&&_0x1a7f95['hasOwnProperty']('documentId')&&(_0x928f10['documentId']=_0x1a7f95['documentId']),_0x928f10;},_0xcdde29['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xcdde29['getTypeUrl']=function(_0x19000e){return void 0x0===_0x19000e&&(_0x19000e='type.googleapis.com'),_0x19000e+'/CommentsV2ConnectMessage';},_0xcdde29;}()),_0x3ef7a7['CommentsV2AddCommentMessage']=(function(){function _0x4ce370(_0x1ed6fb){if(_0x1ed6fb){for(var _0x468488=Object['keys'](_0x1ed6fb),_0x4e8bf4=0x0;_0x4e8bf4<_0x468488['length'];++_0x4e8bf4)null!=_0x1ed6fb[_0x468488[_0x4e8bf4]]&&(this[_0x468488[_0x4e8bf4]]=_0x1ed6fb[_0x468488[_0x4e8bf4]]);}}return _0x4ce370['prototype']['commentThreadId']='',_0x4ce370['prototype']['content']='',_0x4ce370['prototype']['documentId']='',_0x4ce370['prototype']['commentId']='',_0x4ce370['prototype']['createdAt']='',_0x4ce370['prototype']['userId']='',_0x4ce370['prototype']['attributes']='',_0x4ce370['prototype']['commentThread']=null,_0x4ce370['create']=function(_0x2a7fdf){return new _0x4ce370(_0x2a7fdf);},_0x4ce370['encode']=function(_0x6c6356,_0x43c303){return _0x43c303||(_0x43c303=_0x10e177['create']()),null!=_0x6c6356['commentThreadId']&&Object['hasOwnProperty']['call'](_0x6c6356,'commentThreadId')&&_0x43c303['uint32'](0xa)['string'](_0x6c6356['commentThreadId']),null!=_0x6c6356['content']&&Object['hasOwnProperty']['call'](_0x6c6356,'content')&&_0x43c303['uint32'](0x12)['string'](_0x6c6356['content']),null!=_0x6c6356['documentId']&&Object['hasOwnProperty']['call'](_0x6c6356,'documentId')&&_0x43c303['uint32'](0x1a)['string'](_0x6c6356['documentId']),null!=_0x6c6356['commentId']&&Object['hasOwnProperty']['call'](_0x6c6356,'commentId')&&_0x43c303['uint32'](0x22)['string'](_0x6c6356['commentId']),null!=_0x6c6356['createdAt']&&Object['hasOwnProperty']['call'](_0x6c6356,'createdAt')&&_0x43c303['uint32'](0x2a)['string'](_0x6c6356['createdAt']),null!=_0x6c6356['userId']&&Object['hasOwnProperty']['call'](_0x6c6356,'userId')&&_0x43c303['uint32'](0x32)['string'](_0x6c6356['userId']),null!=_0x6c6356['attributes']&&Object['hasOwnProperty']['call'](_0x6c6356,'attributes')&&_0x43c303['uint32'](0x3a)['string'](_0x6c6356['attributes']),null!=_0x6c6356['commentThread']&&Object['hasOwnProperty']['call'](_0x6c6356,'commentThread')&&_0x3ef7a7['CommentsThreadDescriptor']['encode'](_0x6c6356['commentThread'],_0x43c303['uint32'](0x42)['fork']())['ldelim'](),_0x43c303;},_0x4ce370['encodeDelimited']=function(_0x2775f3,_0x9c2e21){return this['encode'](_0x2775f3,_0x9c2e21)['ldelim']();},_0x4ce370['decode']=function(_0x545dbb,_0x26e717,_0x249d39){_0x545dbb instanceof _0x121a90||(_0x545dbb=_0x121a90['create'](_0x545dbb));for(var _0x446af4=void 0x0===_0x26e717?_0x545dbb['len']:_0x545dbb['pos']+_0x26e717,_0x41ce9d=new _0x3ef7a7['CommentsV2AddCommentMessage']();_0x545dbb['pos']<_0x446af4;){var _0x2d96c5=_0x545dbb['uint32']();if(_0x2d96c5===_0x249d39)break;switch(_0x2d96c5>>>0x3){case 0x1:_0x41ce9d['commentThreadId']=_0x545dbb['string']();break;case 0x2:_0x41ce9d['content']=_0x545dbb['string']();break;case 0x3:_0x41ce9d['documentId']=_0x545dbb['string']();break;case 0x4:_0x41ce9d['commentId']=_0x545dbb['string']();break;case 0x5:_0x41ce9d['createdAt']=_0x545dbb['string']();break;case 0x6:_0x41ce9d['userId']=_0x545dbb['string']();break;case 0x7:_0x41ce9d['attributes']=_0x545dbb['string']();break;case 0x8:_0x41ce9d['commentThread']=_0x3ef7a7['CommentsThreadDescriptor']['decode'](_0x545dbb,_0x545dbb['uint32']());break;default:_0x545dbb['skipType'](0x7&_0x2d96c5);}}return _0x41ce9d;},_0x4ce370['decodeDelimited']=function(_0x4fafc6){return _0x4fafc6 instanceof _0x121a90||(_0x4fafc6=new _0x121a90(_0x4fafc6)),this['decode'](_0x4fafc6,_0x4fafc6['uint32']());},_0x4ce370['verify']=function(_0x4b9339){if('object'!=typeof _0x4b9339||null===_0x4b9339)return'object\x20expected';if(null!=_0x4b9339['commentThreadId']&&_0x4b9339['hasOwnProperty']('commentThreadId')&&!_0x3aba14['isString'](_0x4b9339['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x4b9339['content']&&_0x4b9339['hasOwnProperty']('content')&&!_0x3aba14['isString'](_0x4b9339['content']))return'content:\x20string\x20expected';if(null!=_0x4b9339['documentId']&&_0x4b9339['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x4b9339['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x4b9339['commentId']&&_0x4b9339['hasOwnProperty']('commentId')&&!_0x3aba14['isString'](_0x4b9339['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x4b9339['createdAt']&&_0x4b9339['hasOwnProperty']('createdAt')&&!_0x3aba14['isString'](_0x4b9339['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x4b9339['userId']&&_0x4b9339['hasOwnProperty']('userId')&&!_0x3aba14['isString'](_0x4b9339['userId']))return'userId:\x20string\x20expected';if(null!=_0x4b9339['attributes']&&_0x4b9339['hasOwnProperty']('attributes')&&!_0x3aba14['isString'](_0x4b9339['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x4b9339['commentThread']&&_0x4b9339['hasOwnProperty']('commentThread')){var _0x2ec2b1=_0x3ef7a7['CommentsThreadDescriptor']['verify'](_0x4b9339['commentThread']);if(_0x2ec2b1)return'commentThread.'+_0x2ec2b1;}return null;},_0x4ce370['fromObject']=function(_0x127535){if(_0x127535 instanceof _0x3ef7a7['CommentsV2AddCommentMessage'])return _0x127535;var _0x5c8c5d=new _0x3ef7a7['CommentsV2AddCommentMessage']();if(null!=_0x127535['commentThreadId']&&(_0x5c8c5d['commentThreadId']=String(_0x127535['commentThreadId'])),null!=_0x127535['content']&&(_0x5c8c5d['content']=String(_0x127535['content'])),null!=_0x127535['documentId']&&(_0x5c8c5d['documentId']=String(_0x127535['documentId'])),null!=_0x127535['commentId']&&(_0x5c8c5d['commentId']=String(_0x127535['commentId'])),null!=_0x127535['createdAt']&&(_0x5c8c5d['createdAt']=String(_0x127535['createdAt'])),null!=_0x127535['userId']&&(_0x5c8c5d['userId']=String(_0x127535['userId'])),null!=_0x127535['attributes']&&(_0x5c8c5d['attributes']=String(_0x127535['attributes'])),null!=_0x127535['commentThread']){if('object'!=typeof _0x127535['commentThread'])throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x5c8c5d['commentThread']=_0x3ef7a7['CommentsThreadDescriptor']['fromObject'](_0x127535['commentThread']);}return _0x5c8c5d;},_0x4ce370['toObject']=function(_0x33461e,_0x1e5104){_0x1e5104||(_0x1e5104={});var _0x10a342={};return _0x1e5104['defaults']&&(_0x10a342['commentThreadId']='',_0x10a342['content']='',_0x10a342['documentId']='',_0x10a342['commentId']='',_0x10a342['createdAt']='',_0x10a342['userId']='',_0x10a342['attributes']='',_0x10a342['commentThread']=null),null!=_0x33461e['commentThreadId']&&_0x33461e['hasOwnProperty']('commentThreadId')&&(_0x10a342['commentThreadId']=_0x33461e['commentThreadId']),null!=_0x33461e['content']&&_0x33461e['hasOwnProperty']('content')&&(_0x10a342['content']=_0x33461e['content']),null!=_0x33461e['documentId']&&_0x33461e['hasOwnProperty']('documentId')&&(_0x10a342['documentId']=_0x33461e['documentId']),null!=_0x33461e['commentId']&&_0x33461e['hasOwnProperty']('commentId')&&(_0x10a342['commentId']=_0x33461e['commentId']),null!=_0x33461e['createdAt']&&_0x33461e['hasOwnProperty']('createdAt')&&(_0x10a342['createdAt']=_0x33461e['createdAt']),null!=_0x33461e['userId']&&_0x33461e['hasOwnProperty']('userId')&&(_0x10a342['userId']=_0x33461e['userId']),null!=_0x33461e['attributes']&&_0x33461e['hasOwnProperty']('attributes')&&(_0x10a342['attributes']=_0x33461e['attributes']),null!=_0x33461e['commentThread']&&_0x33461e['hasOwnProperty']('commentThread')&&(_0x10a342['commentThread']=_0x3ef7a7['CommentsThreadDescriptor']['toObject'](_0x33461e['commentThread'],_0x1e5104)),_0x10a342;},_0x4ce370['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4ce370['getTypeUrl']=function(_0x3b6991){return void 0x0===_0x3b6991&&(_0x3b6991='type.googleapis.com'),_0x3b6991+'/CommentsV2AddCommentMessage';},_0x4ce370;}()),_0x3ef7a7['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x5f103a(_0x438bbe){if(_0x438bbe){for(var _0x3350e0=Object['keys'](_0x438bbe),_0x1cbe32=0x0;_0x1cbe32<_0x3350e0['length'];++_0x1cbe32)null!=_0x438bbe[_0x3350e0[_0x1cbe32]]&&(this[_0x3350e0[_0x1cbe32]]=_0x438bbe[_0x3350e0[_0x1cbe32]]);}}return _0x5f103a['prototype']['commentThreadId']='',_0x5f103a['prototype']['documentId']='',_0x5f103a['prototype']['context']='',_0x5f103a['prototype']['attributes']='',_0x5f103a['prototype']['unlinkedAt']='',_0x5f103a['create']=function(_0x9b6e9b){return new _0x5f103a(_0x9b6e9b);},_0x5f103a['encode']=function(_0x5bc043,_0x139ce3){return _0x139ce3||(_0x139ce3=_0x10e177['create']()),null!=_0x5bc043['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5bc043,'commentThreadId')&&_0x139ce3['uint32'](0xa)['string'](_0x5bc043['commentThreadId']),null!=_0x5bc043['documentId']&&Object['hasOwnProperty']['call'](_0x5bc043,'documentId')&&_0x139ce3['uint32'](0x12)['string'](_0x5bc043['documentId']),null!=_0x5bc043['context']&&Object['hasOwnProperty']['call'](_0x5bc043,'context')&&_0x139ce3['uint32'](0x1a)['string'](_0x5bc043['context']),null!=_0x5bc043['attributes']&&Object['hasOwnProperty']['call'](_0x5bc043,'attributes')&&_0x139ce3['uint32'](0x22)['string'](_0x5bc043['attributes']),null!=_0x5bc043['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x5bc043,'unlinkedAt')&&_0x139ce3['uint32'](0x2a)['string'](_0x5bc043['unlinkedAt']),_0x139ce3;},_0x5f103a['encodeDelimited']=function(_0x3f18be,_0x5f1ae6){return this['encode'](_0x3f18be,_0x5f1ae6)['ldelim']();},_0x5f103a['decode']=function(_0x433b9c,_0x4cc5d4,_0x46c0b7){_0x433b9c instanceof _0x121a90||(_0x433b9c=_0x121a90['create'](_0x433b9c));for(var _0x2e3114=void 0x0===_0x4cc5d4?_0x433b9c['len']:_0x433b9c['pos']+_0x4cc5d4,_0x25c4b0=new _0x3ef7a7['CommentsV2UpdateCommentThreadMessage']();_0x433b9c['pos']<_0x2e3114;){var _0x46b962=_0x433b9c['uint32']();if(_0x46b962===_0x46c0b7)break;switch(_0x46b962>>>0x3){case 0x1:_0x25c4b0['commentThreadId']=_0x433b9c['string']();break;case 0x2:_0x25c4b0['documentId']=_0x433b9c['string']();break;case 0x3:_0x25c4b0['context']=_0x433b9c['string']();break;case 0x4:_0x25c4b0['attributes']=_0x433b9c['string']();break;case 0x5:_0x25c4b0['unlinkedAt']=_0x433b9c['string']();break;default:_0x433b9c['skipType'](0x7&_0x46b962);}}return _0x25c4b0;},_0x5f103a['decodeDelimited']=function(_0x59336){return _0x59336 instanceof _0x121a90||(_0x59336=new _0x121a90(_0x59336)),this['decode'](_0x59336,_0x59336['uint32']());},_0x5f103a['verify']=function(_0x1c3dca){return'object'!=typeof _0x1c3dca||null===_0x1c3dca?'object\x20expected':null!=_0x1c3dca['commentThreadId']&&_0x1c3dca['hasOwnProperty']('commentThreadId')&&!_0x3aba14['isString'](_0x1c3dca['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1c3dca['documentId']&&_0x1c3dca['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x1c3dca['documentId'])?'documentId:\x20string\x20expected':null!=_0x1c3dca['context']&&_0x1c3dca['hasOwnProperty']('context')&&!_0x3aba14['isString'](_0x1c3dca['context'])?'context:\x20string\x20expected':null!=_0x1c3dca['attributes']&&_0x1c3dca['hasOwnProperty']('attributes')&&!_0x3aba14['isString'](_0x1c3dca['attributes'])?'attributes:\x20string\x20expected':null!=_0x1c3dca['unlinkedAt']&&_0x1c3dca['hasOwnProperty']('unlinkedAt')&&!_0x3aba14['isString'](_0x1c3dca['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x5f103a['fromObject']=function(_0x2b12b0){if(_0x2b12b0 instanceof _0x3ef7a7['CommentsV2UpdateCommentThreadMessage'])return _0x2b12b0;var _0x33d2aa=new _0x3ef7a7['CommentsV2UpdateCommentThreadMessage']();return null!=_0x2b12b0['commentThreadId']&&(_0x33d2aa['commentThreadId']=String(_0x2b12b0['commentThreadId'])),null!=_0x2b12b0['documentId']&&(_0x33d2aa['documentId']=String(_0x2b12b0['documentId'])),null!=_0x2b12b0['context']&&(_0x33d2aa['context']=String(_0x2b12b0['context'])),null!=_0x2b12b0['attributes']&&(_0x33d2aa['attributes']=String(_0x2b12b0['attributes'])),null!=_0x2b12b0['unlinkedAt']&&(_0x33d2aa['unlinkedAt']=String(_0x2b12b0['unlinkedAt'])),_0x33d2aa;},_0x5f103a['toObject']=function(_0x32538d,_0x29d200){_0x29d200||(_0x29d200={});var _0x3ac09b={};return _0x29d200['defaults']&&(_0x3ac09b['commentThreadId']='',_0x3ac09b['documentId']='',_0x3ac09b['context']='',_0x3ac09b['attributes']='',_0x3ac09b['unlinkedAt']=''),null!=_0x32538d['commentThreadId']&&_0x32538d['hasOwnProperty']('commentThreadId')&&(_0x3ac09b['commentThreadId']=_0x32538d['commentThreadId']),null!=_0x32538d['documentId']&&_0x32538d['hasOwnProperty']('documentId')&&(_0x3ac09b['documentId']=_0x32538d['documentId']),null!=_0x32538d['context']&&_0x32538d['hasOwnProperty']('context')&&(_0x3ac09b['context']=_0x32538d['context']),null!=_0x32538d['attributes']&&_0x32538d['hasOwnProperty']('attributes')&&(_0x3ac09b['attributes']=_0x32538d['attributes']),null!=_0x32538d['unlinkedAt']&&_0x32538d['hasOwnProperty']('unlinkedAt')&&(_0x3ac09b['unlinkedAt']=_0x32538d['unlinkedAt']),_0x3ac09b;},_0x5f103a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5f103a['getTypeUrl']=function(_0x3f5a75){return void 0x0===_0x3f5a75&&(_0x3f5a75='type.googleapis.com'),_0x3f5a75+'/CommentsV2UpdateCommentThreadMessage';},_0x5f103a;}()),_0x3ef7a7['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x5670ba(_0x227e60){if(_0x227e60){for(var _0x27bd30=Object['keys'](_0x227e60),_0x509168=0x0;_0x509168<_0x27bd30['length'];++_0x509168)null!=_0x227e60[_0x27bd30[_0x509168]]&&(this[_0x27bd30[_0x509168]]=_0x227e60[_0x27bd30[_0x509168]]);}}return _0x5670ba['prototype']['commentThreadId']='',_0x5670ba['prototype']['documentId']='',_0x5670ba['prototype']['resolvedBy']='',_0x5670ba['prototype']['resolvedAt']='',_0x5670ba['create']=function(_0x572604){return new _0x5670ba(_0x572604);},_0x5670ba['encode']=function(_0x42065c,_0x1de2f7){return _0x1de2f7||(_0x1de2f7=_0x10e177['create']()),null!=_0x42065c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x42065c,'commentThreadId')&&_0x1de2f7['uint32'](0xa)['string'](_0x42065c['commentThreadId']),null!=_0x42065c['documentId']&&Object['hasOwnProperty']['call'](_0x42065c,'documentId')&&_0x1de2f7['uint32'](0x12)['string'](_0x42065c['documentId']),null!=_0x42065c['resolvedBy']&&Object['hasOwnProperty']['call'](_0x42065c,'resolvedBy')&&_0x1de2f7['uint32'](0x1a)['string'](_0x42065c['resolvedBy']),null!=_0x42065c['resolvedAt']&&Object['hasOwnProperty']['call'](_0x42065c,'resolvedAt')&&_0x1de2f7['uint32'](0x22)['string'](_0x42065c['resolvedAt']),_0x1de2f7;},_0x5670ba['encodeDelimited']=function(_0x1c4648,_0x450385){return this['encode'](_0x1c4648,_0x450385)['ldelim']();},_0x5670ba['decode']=function(_0x37a3e6,_0x2befb7,_0x4ea47c){_0x37a3e6 instanceof _0x121a90||(_0x37a3e6=_0x121a90['create'](_0x37a3e6));for(var _0x42cb7f=void 0x0===_0x2befb7?_0x37a3e6['len']:_0x37a3e6['pos']+_0x2befb7,_0x1e7805=new _0x3ef7a7['CommentsV2ResolveCommentThreadMessage']();_0x37a3e6['pos']<_0x42cb7f;){var _0x49d686=_0x37a3e6['uint32']();if(_0x49d686===_0x4ea47c)break;switch(_0x49d686>>>0x3){case 0x1:_0x1e7805['commentThreadId']=_0x37a3e6['string']();break;case 0x2:_0x1e7805['documentId']=_0x37a3e6['string']();break;case 0x3:_0x1e7805['resolvedBy']=_0x37a3e6['string']();break;case 0x4:_0x1e7805['resolvedAt']=_0x37a3e6['string']();break;default:_0x37a3e6['skipType'](0x7&_0x49d686);}}return _0x1e7805;},_0x5670ba['decodeDelimited']=function(_0x14b2dd){return _0x14b2dd instanceof _0x121a90||(_0x14b2dd=new _0x121a90(_0x14b2dd)),this['decode'](_0x14b2dd,_0x14b2dd['uint32']());},_0x5670ba['verify']=function(_0x581684){return'object'!=typeof _0x581684||null===_0x581684?'object\x20expected':null!=_0x581684['commentThreadId']&&_0x581684['hasOwnProperty']('commentThreadId')&&!_0x3aba14['isString'](_0x581684['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x581684['documentId']&&_0x581684['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x581684['documentId'])?'documentId:\x20string\x20expected':null!=_0x581684['resolvedBy']&&_0x581684['hasOwnProperty']('resolvedBy')&&!_0x3aba14['isString'](_0x581684['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x581684['resolvedAt']&&_0x581684['hasOwnProperty']('resolvedAt')&&!_0x3aba14['isString'](_0x581684['resolvedAt'])?'resolvedAt:\x20string\x20expected':null;},_0x5670ba['fromObject']=function(_0x3d2569){if(_0x3d2569 instanceof _0x3ef7a7['CommentsV2ResolveCommentThreadMessage'])return _0x3d2569;var _0x12171a=new _0x3ef7a7['CommentsV2ResolveCommentThreadMessage']();return null!=_0x3d2569['commentThreadId']&&(_0x12171a['commentThreadId']=String(_0x3d2569['commentThreadId'])),null!=_0x3d2569['documentId']&&(_0x12171a['documentId']=String(_0x3d2569['documentId'])),null!=_0x3d2569['resolvedBy']&&(_0x12171a['resolvedBy']=String(_0x3d2569['resolvedBy'])),null!=_0x3d2569['resolvedAt']&&(_0x12171a['resolvedAt']=String(_0x3d2569['resolvedAt'])),_0x12171a;},_0x5670ba['toObject']=function(_0x480d9c,_0x42deb3){_0x42deb3||(_0x42deb3={});var _0x248c36={};return _0x42deb3['defaults']&&(_0x248c36['commentThreadId']='',_0x248c36['documentId']='',_0x248c36['resolvedBy']='',_0x248c36['resolvedAt']=''),null!=_0x480d9c['commentThreadId']&&_0x480d9c['hasOwnProperty']('commentThreadId')&&(_0x248c36['commentThreadId']=_0x480d9c['commentThreadId']),null!=_0x480d9c['documentId']&&_0x480d9c['hasOwnProperty']('documentId')&&(_0x248c36['documentId']=_0x480d9c['documentId']),null!=_0x480d9c['resolvedBy']&&_0x480d9c['hasOwnProperty']('resolvedBy')&&(_0x248c36['resolvedBy']=_0x480d9c['resolvedBy']),null!=_0x480d9c['resolvedAt']&&_0x480d9c['hasOwnProperty']('resolvedAt')&&(_0x248c36['resolvedAt']=_0x480d9c['resolvedAt']),_0x248c36;},_0x5670ba['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5670ba['getTypeUrl']=function(_0x309c03){return void 0x0===_0x309c03&&(_0x309c03='type.googleapis.com'),_0x309c03+'/CommentsV2ResolveCommentThreadMessage';},_0x5670ba;}()),_0x3ef7a7['CommentsV2ReopenCommentThreadMessage']=(function(){function _0xc35d1c(_0x3a4f30){if(_0x3a4f30){for(var _0x5df067=Object['keys'](_0x3a4f30),_0x1c0787=0x0;_0x1c0787<_0x5df067['length'];++_0x1c0787)null!=_0x3a4f30[_0x5df067[_0x1c0787]]&&(this[_0x5df067[_0x1c0787]]=_0x3a4f30[_0x5df067[_0x1c0787]]);}}return _0xc35d1c['prototype']['commentThreadId']='',_0xc35d1c['prototype']['documentId']='',_0xc35d1c['create']=function(_0x52ba7b){return new _0xc35d1c(_0x52ba7b);},_0xc35d1c['encode']=function(_0x2a133a,_0xaa8b34){return _0xaa8b34||(_0xaa8b34=_0x10e177['create']()),null!=_0x2a133a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2a133a,'commentThreadId')&&_0xaa8b34['uint32'](0xa)['string'](_0x2a133a['commentThreadId']),null!=_0x2a133a['documentId']&&Object['hasOwnProperty']['call'](_0x2a133a,'documentId')&&_0xaa8b34['uint32'](0x12)['string'](_0x2a133a['documentId']),_0xaa8b34;},_0xc35d1c['encodeDelimited']=function(_0x5f1c91,_0xc4eb24){return this['encode'](_0x5f1c91,_0xc4eb24)['ldelim']();},_0xc35d1c['decode']=function(_0x303315,_0x21da1c,_0x32c762){_0x303315 instanceof _0x121a90||(_0x303315=_0x121a90['create'](_0x303315));for(var _0x3ec92e=void 0x0===_0x21da1c?_0x303315['len']:_0x303315['pos']+_0x21da1c,_0x3db9b0=new _0x3ef7a7['CommentsV2ReopenCommentThreadMessage']();_0x303315['pos']<_0x3ec92e;){var _0x2a2188=_0x303315['uint32']();if(_0x2a2188===_0x32c762)break;switch(_0x2a2188>>>0x3){case 0x1:_0x3db9b0['commentThreadId']=_0x303315['string']();break;case 0x2:_0x3db9b0['documentId']=_0x303315['string']();break;default:_0x303315['skipType'](0x7&_0x2a2188);}}return _0x3db9b0;},_0xc35d1c['decodeDelimited']=function(_0x1be402){return _0x1be402 instanceof _0x121a90||(_0x1be402=new _0x121a90(_0x1be402)),this['decode'](_0x1be402,_0x1be402['uint32']());},_0xc35d1c['verify']=function(_0x273462){return'object'!=typeof _0x273462||null===_0x273462?'object\x20expected':null!=_0x273462['commentThreadId']&&_0x273462['hasOwnProperty']('commentThreadId')&&!_0x3aba14['isString'](_0x273462['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x273462['documentId']&&_0x273462['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x273462['documentId'])?'documentId:\x20string\x20expected':null;},_0xc35d1c['fromObject']=function(_0x4c2b94){if(_0x4c2b94 instanceof _0x3ef7a7['CommentsV2ReopenCommentThreadMessage'])return _0x4c2b94;var _0x1e3a0b=new _0x3ef7a7['CommentsV2ReopenCommentThreadMessage']();return null!=_0x4c2b94['commentThreadId']&&(_0x1e3a0b['commentThreadId']=String(_0x4c2b94['commentThreadId'])),null!=_0x4c2b94['documentId']&&(_0x1e3a0b['documentId']=String(_0x4c2b94['documentId'])),_0x1e3a0b;},_0xc35d1c['toObject']=function(_0x4a6671,_0x321a2c){_0x321a2c||(_0x321a2c={});var _0x1afd61={};return _0x321a2c['defaults']&&(_0x1afd61['commentThreadId']='',_0x1afd61['documentId']=''),null!=_0x4a6671['commentThreadId']&&_0x4a6671['hasOwnProperty']('commentThreadId')&&(_0x1afd61['commentThreadId']=_0x4a6671['commentThreadId']),null!=_0x4a6671['documentId']&&_0x4a6671['hasOwnProperty']('documentId')&&(_0x1afd61['documentId']=_0x4a6671['documentId']),_0x1afd61;},_0xc35d1c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xc35d1c['getTypeUrl']=function(_0x51fc36){return void 0x0===_0x51fc36&&(_0x51fc36='type.googleapis.com'),_0x51fc36+'/CommentsV2ReopenCommentThreadMessage';},_0xc35d1c;}()),_0x3ef7a7['CommentsV2AddCommentThreadMessage']=(function(){function _0x405e66(_0x5b5a52){if(this['comments']=[],_0x5b5a52){for(var _0x203985=Object['keys'](_0x5b5a52),_0x4e6a76=0x0;_0x4e6a76<_0x203985['length'];++_0x4e6a76)null!=_0x5b5a52[_0x203985[_0x4e6a76]]&&(this[_0x203985[_0x4e6a76]]=_0x5b5a52[_0x203985[_0x4e6a76]]);}}return _0x405e66['prototype']['documentId']='',_0x405e66['prototype']['commentThreadId']='',_0x405e66['prototype']['context']='',_0x405e66['prototype']['createdAt']='',_0x405e66['prototype']['resolvedAt']='',_0x405e66['prototype']['resolvedBy']='',_0x405e66['prototype']['attributes']='',_0x405e66['prototype']['deletedAt']='',_0x405e66['prototype']['comments']=_0x3aba14['emptyArray'],_0x405e66['create']=function(_0x5e4c46){return new _0x405e66(_0x5e4c46);},_0x405e66['encode']=function(_0x389961,_0x2582cb){if(_0x2582cb||(_0x2582cb=_0x10e177['create']()),null!=_0x389961['documentId']&&Object['hasOwnProperty']['call'](_0x389961,'documentId')&&_0x2582cb['uint32'](0xa)['string'](_0x389961['documentId']),null!=_0x389961['commentThreadId']&&Object['hasOwnProperty']['call'](_0x389961,'commentThreadId')&&_0x2582cb['uint32'](0x12)['string'](_0x389961['commentThreadId']),null!=_0x389961['context']&&Object['hasOwnProperty']['call'](_0x389961,'context')&&_0x2582cb['uint32'](0x1a)['string'](_0x389961['context']),null!=_0x389961['createdAt']&&Object['hasOwnProperty']['call'](_0x389961,'createdAt')&&_0x2582cb['uint32'](0x22)['string'](_0x389961['createdAt']),null!=_0x389961['resolvedAt']&&Object['hasOwnProperty']['call'](_0x389961,'resolvedAt')&&_0x2582cb['uint32'](0x2a)['string'](_0x389961['resolvedAt']),null!=_0x389961['resolvedBy']&&Object['hasOwnProperty']['call'](_0x389961,'resolvedBy')&&_0x2582cb['uint32'](0x32)['string'](_0x389961['resolvedBy']),null!=_0x389961['attributes']&&Object['hasOwnProperty']['call'](_0x389961,'attributes')&&_0x2582cb['uint32'](0x3a)['string'](_0x389961['attributes']),null!=_0x389961['deletedAt']&&Object['hasOwnProperty']['call'](_0x389961,'deletedAt')&&_0x2582cb['uint32'](0x42)['string'](_0x389961['deletedAt']),null!=_0x389961['comments']&&_0x389961['comments']['length']){for(var _0x257037=0x0;_0x257037<_0x389961['comments']['length'];++_0x257037)_0x3ef7a7['CommentDescriptor']['encode'](_0x389961['comments'][_0x257037],_0x2582cb['uint32'](0x4a)['fork']())['ldelim']();}return _0x2582cb;},_0x405e66['encodeDelimited']=function(_0x16afbe,_0x1cc30a){return this['encode'](_0x16afbe,_0x1cc30a)['ldelim']();},_0x405e66['decode']=function(_0x347da4,_0x41ce21,_0xf0eb83){_0x347da4 instanceof _0x121a90||(_0x347da4=_0x121a90['create'](_0x347da4));for(var _0x184de5=void 0x0===_0x41ce21?_0x347da4['len']:_0x347da4['pos']+_0x41ce21,_0x721859=new _0x3ef7a7['CommentsV2AddCommentThreadMessage']();_0x347da4['pos']<_0x184de5;){var _0x1798b2=_0x347da4['uint32']();if(_0x1798b2===_0xf0eb83)break;switch(_0x1798b2>>>0x3){case 0x1:_0x721859['documentId']=_0x347da4['string']();break;case 0x2:_0x721859['commentThreadId']=_0x347da4['string']();break;case 0x3:_0x721859['context']=_0x347da4['string']();break;case 0x4:_0x721859['createdAt']=_0x347da4['string']();break;case 0x5:_0x721859['resolvedAt']=_0x347da4['string']();break;case 0x6:_0x721859['resolvedBy']=_0x347da4['string']();break;case 0x7:_0x721859['attributes']=_0x347da4['string']();break;case 0x8:_0x721859['deletedAt']=_0x347da4['string']();break;case 0x9:_0x721859['comments']&&_0x721859['comments']['length']||(_0x721859['comments']=[]),_0x721859['comments']['push'](_0x3ef7a7['CommentDescriptor']['decode'](_0x347da4,_0x347da4['uint32']()));break;default:_0x347da4['skipType'](0x7&_0x1798b2);}}return _0x721859;},_0x405e66['decodeDelimited']=function(_0x48b413){return _0x48b413 instanceof _0x121a90||(_0x48b413=new _0x121a90(_0x48b413)),this['decode'](_0x48b413,_0x48b413['uint32']());},_0x405e66['verify']=function(_0x12d99d){if('object'!=typeof _0x12d99d||null===_0x12d99d)return'object\x20expected';if(null!=_0x12d99d['documentId']&&_0x12d99d['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x12d99d['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x12d99d['commentThreadId']&&_0x12d99d['hasOwnProperty']('commentThreadId')&&!_0x3aba14['isString'](_0x12d99d['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x12d99d['context']&&_0x12d99d['hasOwnProperty']('context')&&!_0x3aba14['isString'](_0x12d99d['context']))return'context:\x20string\x20expected';if(null!=_0x12d99d['createdAt']&&_0x12d99d['hasOwnProperty']('createdAt')&&!_0x3aba14['isString'](_0x12d99d['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x12d99d['resolvedAt']&&_0x12d99d['hasOwnProperty']('resolvedAt')&&!_0x3aba14['isString'](_0x12d99d['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x12d99d['resolvedBy']&&_0x12d99d['hasOwnProperty']('resolvedBy')&&!_0x3aba14['isString'](_0x12d99d['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x12d99d['attributes']&&_0x12d99d['hasOwnProperty']('attributes')&&!_0x3aba14['isString'](_0x12d99d['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x12d99d['deletedAt']&&_0x12d99d['hasOwnProperty']('deletedAt')&&!_0x3aba14['isString'](_0x12d99d['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x12d99d['comments']&&_0x12d99d['hasOwnProperty']('comments')){if(!Array['isArray'](_0x12d99d['comments']))return'comments:\x20array\x20expected';for(var _0x18446a=0x0;_0x18446a<_0x12d99d['comments']['length'];++_0x18446a){var _0x2c674b=_0x3ef7a7['CommentDescriptor']['verify'](_0x12d99d['comments'][_0x18446a]);if(_0x2c674b)return'comments.'+_0x2c674b;}}return null;},_0x405e66['fromObject']=function(_0x320f06){if(_0x320f06 instanceof _0x3ef7a7['CommentsV2AddCommentThreadMessage'])return _0x320f06;var _0xa08a0=new _0x3ef7a7['CommentsV2AddCommentThreadMessage']();if(null!=_0x320f06['documentId']&&(_0xa08a0['documentId']=String(_0x320f06['documentId'])),null!=_0x320f06['commentThreadId']&&(_0xa08a0['commentThreadId']=String(_0x320f06['commentThreadId'])),null!=_0x320f06['context']&&(_0xa08a0['context']=String(_0x320f06['context'])),null!=_0x320f06['createdAt']&&(_0xa08a0['createdAt']=String(_0x320f06['createdAt'])),null!=_0x320f06['resolvedAt']&&(_0xa08a0['resolvedAt']=String(_0x320f06['resolvedAt'])),null!=_0x320f06['resolvedBy']&&(_0xa08a0['resolvedBy']=String(_0x320f06['resolvedBy'])),null!=_0x320f06['attributes']&&(_0xa08a0['attributes']=String(_0x320f06['attributes'])),null!=_0x320f06['deletedAt']&&(_0xa08a0['deletedAt']=String(_0x320f06['deletedAt'])),_0x320f06['comments']){if(!Array['isArray'](_0x320f06['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0xa08a0['comments']=[];for(var _0x46756d=0x0;_0x46756d<_0x320f06['comments']['length'];++_0x46756d){if('object'!=typeof _0x320f06['comments'][_0x46756d])throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0xa08a0['comments'][_0x46756d]=_0x3ef7a7['CommentDescriptor']['fromObject'](_0x320f06['comments'][_0x46756d]);}}return _0xa08a0;},_0x405e66['toObject']=function(_0x49b258,_0x30aa8d){_0x30aa8d||(_0x30aa8d={});var _0xa4f5fe={};if((_0x30aa8d['arrays']||_0x30aa8d['defaults'])&&(_0xa4f5fe['comments']=[]),_0x30aa8d['defaults']&&(_0xa4f5fe['documentId']='',_0xa4f5fe['commentThreadId']='',_0xa4f5fe['context']='',_0xa4f5fe['createdAt']='',_0xa4f5fe['resolvedAt']='',_0xa4f5fe['resolvedBy']='',_0xa4f5fe['attributes']='',_0xa4f5fe['deletedAt']=''),null!=_0x49b258['documentId']&&_0x49b258['hasOwnProperty']('documentId')&&(_0xa4f5fe['documentId']=_0x49b258['documentId']),null!=_0x49b258['commentThreadId']&&_0x49b258['hasOwnProperty']('commentThreadId')&&(_0xa4f5fe['commentThreadId']=_0x49b258['commentThreadId']),null!=_0x49b258['context']&&_0x49b258['hasOwnProperty']('context')&&(_0xa4f5fe['context']=_0x49b258['context']),null!=_0x49b258['createdAt']&&_0x49b258['hasOwnProperty']('createdAt')&&(_0xa4f5fe['createdAt']=_0x49b258['createdAt']),null!=_0x49b258['resolvedAt']&&_0x49b258['hasOwnProperty']('resolvedAt')&&(_0xa4f5fe['resolvedAt']=_0x49b258['resolvedAt']),null!=_0x49b258['resolvedBy']&&_0x49b258['hasOwnProperty']('resolvedBy')&&(_0xa4f5fe['resolvedBy']=_0x49b258['resolvedBy']),null!=_0x49b258['attributes']&&_0x49b258['hasOwnProperty']('attributes')&&(_0xa4f5fe['attributes']=_0x49b258['attributes']),null!=_0x49b258['deletedAt']&&_0x49b258['hasOwnProperty']('deletedAt')&&(_0xa4f5fe['deletedAt']=_0x49b258['deletedAt']),_0x49b258['comments']&&_0x49b258['comments']['length']){_0xa4f5fe['comments']=[];for(var _0x355d66=0x0;_0x355d66<_0x49b258['comments']['length'];++_0x355d66)_0xa4f5fe['comments'][_0x355d66]=_0x3ef7a7['CommentDescriptor']['toObject'](_0x49b258['comments'][_0x355d66],_0x30aa8d);}return _0xa4f5fe;},_0x405e66['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x405e66['getTypeUrl']=function(_0x3ddf21){return void 0x0===_0x3ddf21&&(_0x3ddf21='type.googleapis.com'),_0x3ddf21+'/CommentsV2AddCommentThreadMessage';},_0x405e66;}()),_0x3ef7a7['CommentThreadAddedCommentDescriptor']=(function(){function _0x7cc6e7(_0xca6c08){if(_0xca6c08){for(var _0x2b95ec=Object['keys'](_0xca6c08),_0x553ca3=0x0;_0x553ca3<_0x2b95ec['length'];++_0x553ca3)null!=_0xca6c08[_0x2b95ec[_0x553ca3]]&&(this[_0x2b95ec[_0x553ca3]]=_0xca6c08[_0x2b95ec[_0x553ca3]]);}}return _0x7cc6e7['prototype']['commentId']='',_0x7cc6e7['prototype']['createdAt']='',_0x7cc6e7['create']=function(_0x417524){return new _0x7cc6e7(_0x417524);},_0x7cc6e7['encode']=function(_0x4351de,_0x2c34a5){return _0x2c34a5||(_0x2c34a5=_0x10e177['create']()),null!=_0x4351de['commentId']&&Object['hasOwnProperty']['call'](_0x4351de,'commentId')&&_0x2c34a5['uint32'](0xa)['string'](_0x4351de['commentId']),null!=_0x4351de['createdAt']&&Object['hasOwnProperty']['call'](_0x4351de,'createdAt')&&_0x2c34a5['uint32'](0x12)['string'](_0x4351de['createdAt']),_0x2c34a5;},_0x7cc6e7['encodeDelimited']=function(_0x202b16,_0x273eb6){return this['encode'](_0x202b16,_0x273eb6)['ldelim']();},_0x7cc6e7['decode']=function(_0x2af901,_0x243f34,_0xf680f5){_0x2af901 instanceof _0x121a90||(_0x2af901=_0x121a90['create'](_0x2af901));for(var _0x16bd87=void 0x0===_0x243f34?_0x2af901['len']:_0x2af901['pos']+_0x243f34,_0x421d67=new _0x3ef7a7['CommentThreadAddedCommentDescriptor']();_0x2af901['pos']<_0x16bd87;){var _0x741f64=_0x2af901['uint32']();if(_0x741f64===_0xf680f5)break;switch(_0x741f64>>>0x3){case 0x1:_0x421d67['commentId']=_0x2af901['string']();break;case 0x2:_0x421d67['createdAt']=_0x2af901['string']();break;default:_0x2af901['skipType'](0x7&_0x741f64);}}return _0x421d67;},_0x7cc6e7['decodeDelimited']=function(_0x5c7898){return _0x5c7898 instanceof _0x121a90||(_0x5c7898=new _0x121a90(_0x5c7898)),this['decode'](_0x5c7898,_0x5c7898['uint32']());},_0x7cc6e7['verify']=function(_0x5361fd){return'object'!=typeof _0x5361fd||null===_0x5361fd?'object\x20expected':null!=_0x5361fd['commentId']&&_0x5361fd['hasOwnProperty']('commentId')&&!_0x3aba14['isString'](_0x5361fd['commentId'])?'commentId:\x20string\x20expected':null!=_0x5361fd['createdAt']&&_0x5361fd['hasOwnProperty']('createdAt')&&!_0x3aba14['isString'](_0x5361fd['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x7cc6e7['fromObject']=function(_0x29048d){if(_0x29048d instanceof _0x3ef7a7['CommentThreadAddedCommentDescriptor'])return _0x29048d;var _0x24a794=new _0x3ef7a7['CommentThreadAddedCommentDescriptor']();return null!=_0x29048d['commentId']&&(_0x24a794['commentId']=String(_0x29048d['commentId'])),null!=_0x29048d['createdAt']&&(_0x24a794['createdAt']=String(_0x29048d['createdAt'])),_0x24a794;},_0x7cc6e7['toObject']=function(_0x3803f5,_0x348af9){_0x348af9||(_0x348af9={});var _0x347faf={};return _0x348af9['defaults']&&(_0x347faf['commentId']='',_0x347faf['createdAt']=''),null!=_0x3803f5['commentId']&&_0x3803f5['hasOwnProperty']('commentId')&&(_0x347faf['commentId']=_0x3803f5['commentId']),null!=_0x3803f5['createdAt']&&_0x3803f5['hasOwnProperty']('createdAt')&&(_0x347faf['createdAt']=_0x3803f5['createdAt']),_0x347faf;},_0x7cc6e7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x7cc6e7['getTypeUrl']=function(_0x217858){return void 0x0===_0x217858&&(_0x217858='type.googleapis.com'),_0x217858+'/CommentThreadAddedCommentDescriptor';},_0x7cc6e7;}()),_0x3ef7a7['CommentsThreadDescriptor']=(function(){function _0x4b6e06(_0x5f5c99){if(this['comments']=[],_0x5f5c99){for(var _0x5620cc=Object['keys'](_0x5f5c99),_0x146e5d=0x0;_0x146e5d<_0x5620cc['length'];++_0x146e5d)null!=_0x5f5c99[_0x5620cc[_0x146e5d]]&&(this[_0x5620cc[_0x146e5d]]=_0x5f5c99[_0x5620cc[_0x146e5d]]);}}return _0x4b6e06['prototype']['commentThreadId']='',_0x4b6e06['prototype']['comments']=_0x3aba14['emptyArray'],_0x4b6e06['prototype']['resolvedAt']='',_0x4b6e06['prototype']['resolvedBy']='',_0x4b6e06['prototype']['context']='',_0x4b6e06['prototype']['createdAt']='',_0x4b6e06['prototype']['deletedAt']='',_0x4b6e06['prototype']['attributes']='',_0x4b6e06['prototype']['unlinkedAt']='',_0x4b6e06['create']=function(_0x45302e){return new _0x4b6e06(_0x45302e);},_0x4b6e06['encode']=function(_0x2c1327,_0x384801){if(_0x384801||(_0x384801=_0x10e177['create']()),null!=_0x2c1327['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2c1327,'commentThreadId')&&_0x384801['uint32'](0xa)['string'](_0x2c1327['commentThreadId']),null!=_0x2c1327['comments']&&_0x2c1327['comments']['length']){for(var _0x7072e=0x0;_0x7072e<_0x2c1327['comments']['length'];++_0x7072e)_0x3ef7a7['CommentDescriptor']['encode'](_0x2c1327['comments'][_0x7072e],_0x384801['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x2c1327['resolvedAt']&&Object['hasOwnProperty']['call'](_0x2c1327,'resolvedAt')&&_0x384801['uint32'](0x1a)['string'](_0x2c1327['resolvedAt']),null!=_0x2c1327['resolvedBy']&&Object['hasOwnProperty']['call'](_0x2c1327,'resolvedBy')&&_0x384801['uint32'](0x22)['string'](_0x2c1327['resolvedBy']),null!=_0x2c1327['context']&&Object['hasOwnProperty']['call'](_0x2c1327,'context')&&_0x384801['uint32'](0x2a)['string'](_0x2c1327['context']),null!=_0x2c1327['createdAt']&&Object['hasOwnProperty']['call'](_0x2c1327,'createdAt')&&_0x384801['uint32'](0x32)['string'](_0x2c1327['createdAt']),null!=_0x2c1327['deletedAt']&&Object['hasOwnProperty']['call'](_0x2c1327,'deletedAt')&&_0x384801['uint32'](0x3a)['string'](_0x2c1327['deletedAt']),null!=_0x2c1327['attributes']&&Object['hasOwnProperty']['call'](_0x2c1327,'attributes')&&_0x384801['uint32'](0x42)['string'](_0x2c1327['attributes']),null!=_0x2c1327['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x2c1327,'unlinkedAt')&&_0x384801['uint32'](0x4a)['string'](_0x2c1327['unlinkedAt']),_0x384801;},_0x4b6e06['encodeDelimited']=function(_0xe53bf0,_0x239ed6){return this['encode'](_0xe53bf0,_0x239ed6)['ldelim']();},_0x4b6e06['decode']=function(_0x2ea4ee,_0x1278ec,_0x1ac953){_0x2ea4ee instanceof _0x121a90||(_0x2ea4ee=_0x121a90['create'](_0x2ea4ee));for(var _0x4cbd1f=void 0x0===_0x1278ec?_0x2ea4ee['len']:_0x2ea4ee['pos']+_0x1278ec,_0x23d342=new _0x3ef7a7['CommentsThreadDescriptor']();_0x2ea4ee['pos']<_0x4cbd1f;){var _0x587e69=_0x2ea4ee['uint32']();if(_0x587e69===_0x1ac953)break;switch(_0x587e69>>>0x3){case 0x1:_0x23d342['commentThreadId']=_0x2ea4ee['string']();break;case 0x2:_0x23d342['comments']&&_0x23d342['comments']['length']||(_0x23d342['comments']=[]),_0x23d342['comments']['push'](_0x3ef7a7['CommentDescriptor']['decode'](_0x2ea4ee,_0x2ea4ee['uint32']()));break;case 0x3:_0x23d342['resolvedAt']=_0x2ea4ee['string']();break;case 0x4:_0x23d342['resolvedBy']=_0x2ea4ee['string']();break;case 0x5:_0x23d342['context']=_0x2ea4ee['string']();break;case 0x6:_0x23d342['createdAt']=_0x2ea4ee['string']();break;case 0x7:_0x23d342['deletedAt']=_0x2ea4ee['string']();break;case 0x8:_0x23d342['attributes']=_0x2ea4ee['string']();break;case 0x9:_0x23d342['unlinkedAt']=_0x2ea4ee['string']();break;default:_0x2ea4ee['skipType'](0x7&_0x587e69);}}return _0x23d342;},_0x4b6e06['decodeDelimited']=function(_0x28d3e8){return _0x28d3e8 instanceof _0x121a90||(_0x28d3e8=new _0x121a90(_0x28d3e8)),this['decode'](_0x28d3e8,_0x28d3e8['uint32']());},_0x4b6e06['verify']=function(_0x5bb0da){if('object'!=typeof _0x5bb0da||null===_0x5bb0da)return'object\x20expected';if(null!=_0x5bb0da['commentThreadId']&&_0x5bb0da['hasOwnProperty']('commentThreadId')&&!_0x3aba14['isString'](_0x5bb0da['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x5bb0da['comments']&&_0x5bb0da['hasOwnProperty']('comments')){if(!Array['isArray'](_0x5bb0da['comments']))return'comments:\x20array\x20expected';for(var _0x4235d9=0x0;_0x4235d9<_0x5bb0da['comments']['length'];++_0x4235d9){var _0x5caa66=_0x3ef7a7['CommentDescriptor']['verify'](_0x5bb0da['comments'][_0x4235d9]);if(_0x5caa66)return'comments.'+_0x5caa66;}}return null!=_0x5bb0da['resolvedAt']&&_0x5bb0da['hasOwnProperty']('resolvedAt')&&!_0x3aba14['isString'](_0x5bb0da['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x5bb0da['resolvedBy']&&_0x5bb0da['hasOwnProperty']('resolvedBy')&&!_0x3aba14['isString'](_0x5bb0da['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x5bb0da['context']&&_0x5bb0da['hasOwnProperty']('context')&&!_0x3aba14['isString'](_0x5bb0da['context'])?'context:\x20string\x20expected':null!=_0x5bb0da['createdAt']&&_0x5bb0da['hasOwnProperty']('createdAt')&&!_0x3aba14['isString'](_0x5bb0da['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x5bb0da['deletedAt']&&_0x5bb0da['hasOwnProperty']('deletedAt')&&!_0x3aba14['isString'](_0x5bb0da['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x5bb0da['attributes']&&_0x5bb0da['hasOwnProperty']('attributes')&&!_0x3aba14['isString'](_0x5bb0da['attributes'])?'attributes:\x20string\x20expected':null!=_0x5bb0da['unlinkedAt']&&_0x5bb0da['hasOwnProperty']('unlinkedAt')&&!_0x3aba14['isString'](_0x5bb0da['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x4b6e06['fromObject']=function(_0x5135bf){if(_0x5135bf instanceof _0x3ef7a7['CommentsThreadDescriptor'])return _0x5135bf;var _0x33eb17=new _0x3ef7a7['CommentsThreadDescriptor']();if(null!=_0x5135bf['commentThreadId']&&(_0x33eb17['commentThreadId']=String(_0x5135bf['commentThreadId'])),_0x5135bf['comments']){if(!Array['isArray'](_0x5135bf['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x33eb17['comments']=[];for(var _0x1a2ce2=0x0;_0x1a2ce2<_0x5135bf['comments']['length'];++_0x1a2ce2){if('object'!=typeof _0x5135bf['comments'][_0x1a2ce2])throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x33eb17['comments'][_0x1a2ce2]=_0x3ef7a7['CommentDescriptor']['fromObject'](_0x5135bf['comments'][_0x1a2ce2]);}}return null!=_0x5135bf['resolvedAt']&&(_0x33eb17['resolvedAt']=String(_0x5135bf['resolvedAt'])),null!=_0x5135bf['resolvedBy']&&(_0x33eb17['resolvedBy']=String(_0x5135bf['resolvedBy'])),null!=_0x5135bf['context']&&(_0x33eb17['context']=String(_0x5135bf['context'])),null!=_0x5135bf['createdAt']&&(_0x33eb17['createdAt']=String(_0x5135bf['createdAt'])),null!=_0x5135bf['deletedAt']&&(_0x33eb17['deletedAt']=String(_0x5135bf['deletedAt'])),null!=_0x5135bf['attributes']&&(_0x33eb17['attributes']=String(_0x5135bf['attributes'])),null!=_0x5135bf['unlinkedAt']&&(_0x33eb17['unlinkedAt']=String(_0x5135bf['unlinkedAt'])),_0x33eb17;},_0x4b6e06['toObject']=function(_0x1b394f,_0x459a1c){_0x459a1c||(_0x459a1c={});var _0xde6174={};if((_0x459a1c['arrays']||_0x459a1c['defaults'])&&(_0xde6174['comments']=[]),_0x459a1c['defaults']&&(_0xde6174['commentThreadId']='',_0xde6174['resolvedAt']='',_0xde6174['resolvedBy']='',_0xde6174['context']='',_0xde6174['createdAt']='',_0xde6174['deletedAt']='',_0xde6174['attributes']='',_0xde6174['unlinkedAt']=''),null!=_0x1b394f['commentThreadId']&&_0x1b394f['hasOwnProperty']('commentThreadId')&&(_0xde6174['commentThreadId']=_0x1b394f['commentThreadId']),_0x1b394f['comments']&&_0x1b394f['comments']['length']){_0xde6174['comments']=[];for(var _0x21e327=0x0;_0x21e327<_0x1b394f['comments']['length'];++_0x21e327)_0xde6174['comments'][_0x21e327]=_0x3ef7a7['CommentDescriptor']['toObject'](_0x1b394f['comments'][_0x21e327],_0x459a1c);}return null!=_0x1b394f['resolvedAt']&&_0x1b394f['hasOwnProperty']('resolvedAt')&&(_0xde6174['resolvedAt']=_0x1b394f['resolvedAt']),null!=_0x1b394f['resolvedBy']&&_0x1b394f['hasOwnProperty']('resolvedBy')&&(_0xde6174['resolvedBy']=_0x1b394f['resolvedBy']),null!=_0x1b394f['context']&&_0x1b394f['hasOwnProperty']('context')&&(_0xde6174['context']=_0x1b394f['context']),null!=_0x1b394f['createdAt']&&_0x1b394f['hasOwnProperty']('createdAt')&&(_0xde6174['createdAt']=_0x1b394f['createdAt']),null!=_0x1b394f['deletedAt']&&_0x1b394f['hasOwnProperty']('deletedAt')&&(_0xde6174['deletedAt']=_0x1b394f['deletedAt']),null!=_0x1b394f['attributes']&&_0x1b394f['hasOwnProperty']('attributes')&&(_0xde6174['attributes']=_0x1b394f['attributes']),null!=_0x1b394f['unlinkedAt']&&_0x1b394f['hasOwnProperty']('unlinkedAt')&&(_0xde6174['unlinkedAt']=_0x1b394f['unlinkedAt']),_0xde6174;},_0x4b6e06['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4b6e06['getTypeUrl']=function(_0xde0eb1){return void 0x0===_0xde0eb1&&(_0xde0eb1='type.googleapis.com'),_0xde0eb1+'/CommentsThreadDescriptor';},_0x4b6e06;}()),_0x3ef7a7['CommentDescriptor']=(function(){function _0x3fa7e6(_0x243f37){if(_0x243f37){for(var _0x1c0118=Object['keys'](_0x243f37),_0x1dcfef=0x0;_0x1dcfef<_0x1c0118['length'];++_0x1dcfef)null!=_0x243f37[_0x1c0118[_0x1dcfef]]&&(this[_0x1c0118[_0x1dcfef]]=_0x243f37[_0x1c0118[_0x1dcfef]]);}}return _0x3fa7e6['prototype']['commentId']='',_0x3fa7e6['prototype']['commentThreadId']='',_0x3fa7e6['prototype']['userId']='',_0x3fa7e6['prototype']['content']='',_0x3fa7e6['prototype']['documentId']='',_0x3fa7e6['prototype']['createdAt']='',_0x3fa7e6['prototype']['attributes']='',_0x3fa7e6['create']=function(_0x913588){return new _0x3fa7e6(_0x913588);},_0x3fa7e6['encode']=function(_0x48e06,_0x402288){return _0x402288||(_0x402288=_0x10e177['create']()),null!=_0x48e06['commentId']&&Object['hasOwnProperty']['call'](_0x48e06,'commentId')&&_0x402288['uint32'](0xa)['string'](_0x48e06['commentId']),null!=_0x48e06['commentThreadId']&&Object['hasOwnProperty']['call'](_0x48e06,'commentThreadId')&&_0x402288['uint32'](0x12)['string'](_0x48e06['commentThreadId']),null!=_0x48e06['userId']&&Object['hasOwnProperty']['call'](_0x48e06,'userId')&&_0x402288['uint32'](0x1a)['string'](_0x48e06['userId']),null!=_0x48e06['content']&&Object['hasOwnProperty']['call'](_0x48e06,'content')&&_0x402288['uint32'](0x22)['string'](_0x48e06['content']),null!=_0x48e06['documentId']&&Object['hasOwnProperty']['call'](_0x48e06,'documentId')&&_0x402288['uint32'](0x2a)['string'](_0x48e06['documentId']),null!=_0x48e06['createdAt']&&Object['hasOwnProperty']['call'](_0x48e06,'createdAt')&&_0x402288['uint32'](0x32)['string'](_0x48e06['createdAt']),null!=_0x48e06['attributes']&&Object['hasOwnProperty']['call'](_0x48e06,'attributes')&&_0x402288['uint32'](0x3a)['string'](_0x48e06['attributes']),_0x402288;},_0x3fa7e6['encodeDelimited']=function(_0x36f489,_0x341c22){return this['encode'](_0x36f489,_0x341c22)['ldelim']();},_0x3fa7e6['decode']=function(_0x3811c3,_0x4cb01b,_0x403b7b){_0x3811c3 instanceof _0x121a90||(_0x3811c3=_0x121a90['create'](_0x3811c3));for(var _0x1ba0eb=void 0x0===_0x4cb01b?_0x3811c3['len']:_0x3811c3['pos']+_0x4cb01b,_0x2bd77e=new _0x3ef7a7['CommentDescriptor']();_0x3811c3['pos']<_0x1ba0eb;){var _0x258640=_0x3811c3['uint32']();if(_0x258640===_0x403b7b)break;switch(_0x258640>>>0x3){case 0x1:_0x2bd77e['commentId']=_0x3811c3['string']();break;case 0x2:_0x2bd77e['commentThreadId']=_0x3811c3['string']();break;case 0x3:_0x2bd77e['userId']=_0x3811c3['string']();break;case 0x4:_0x2bd77e['content']=_0x3811c3['string']();break;case 0x5:_0x2bd77e['documentId']=_0x3811c3['string']();break;case 0x6:_0x2bd77e['createdAt']=_0x3811c3['string']();break;case 0x7:_0x2bd77e['attributes']=_0x3811c3['string']();break;default:_0x3811c3['skipType'](0x7&_0x258640);}}return _0x2bd77e;},_0x3fa7e6['decodeDelimited']=function(_0x2263c3){return _0x2263c3 instanceof _0x121a90||(_0x2263c3=new _0x121a90(_0x2263c3)),this['decode'](_0x2263c3,_0x2263c3['uint32']());},_0x3fa7e6['verify']=function(_0x138b53){return'object'!=typeof _0x138b53||null===_0x138b53?'object\x20expected':null!=_0x138b53['commentId']&&_0x138b53['hasOwnProperty']('commentId')&&!_0x3aba14['isString'](_0x138b53['commentId'])?'commentId:\x20string\x20expected':null!=_0x138b53['commentThreadId']&&_0x138b53['hasOwnProperty']('commentThreadId')&&!_0x3aba14['isString'](_0x138b53['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x138b53['userId']&&_0x138b53['hasOwnProperty']('userId')&&!_0x3aba14['isString'](_0x138b53['userId'])?'userId:\x20string\x20expected':null!=_0x138b53['content']&&_0x138b53['hasOwnProperty']('content')&&!_0x3aba14['isString'](_0x138b53['content'])?'content:\x20string\x20expected':null!=_0x138b53['documentId']&&_0x138b53['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x138b53['documentId'])?'documentId:\x20string\x20expected':null!=_0x138b53['createdAt']&&_0x138b53['hasOwnProperty']('createdAt')&&!_0x3aba14['isString'](_0x138b53['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x138b53['attributes']&&_0x138b53['hasOwnProperty']('attributes')&&!_0x3aba14['isString'](_0x138b53['attributes'])?'attributes:\x20string\x20expected':null;},_0x3fa7e6['fromObject']=function(_0x4883f3){if(_0x4883f3 instanceof _0x3ef7a7['CommentDescriptor'])return _0x4883f3;var _0x3b11ab=new _0x3ef7a7['CommentDescriptor']();return null!=_0x4883f3['commentId']&&(_0x3b11ab['commentId']=String(_0x4883f3['commentId'])),null!=_0x4883f3['commentThreadId']&&(_0x3b11ab['commentThreadId']=String(_0x4883f3['commentThreadId'])),null!=_0x4883f3['userId']&&(_0x3b11ab['userId']=String(_0x4883f3['userId'])),null!=_0x4883f3['content']&&(_0x3b11ab['content']=String(_0x4883f3['content'])),null!=_0x4883f3['documentId']&&(_0x3b11ab['documentId']=String(_0x4883f3['documentId'])),null!=_0x4883f3['createdAt']&&(_0x3b11ab['createdAt']=String(_0x4883f3['createdAt'])),null!=_0x4883f3['attributes']&&(_0x3b11ab['attributes']=String(_0x4883f3['attributes'])),_0x3b11ab;},_0x3fa7e6['toObject']=function(_0x4b6074,_0xb3df6b){_0xb3df6b||(_0xb3df6b={});var _0x5458d0={};return _0xb3df6b['defaults']&&(_0x5458d0['commentId']='',_0x5458d0['commentThreadId']='',_0x5458d0['userId']='',_0x5458d0['content']='',_0x5458d0['documentId']='',_0x5458d0['createdAt']='',_0x5458d0['attributes']=''),null!=_0x4b6074['commentId']&&_0x4b6074['hasOwnProperty']('commentId')&&(_0x5458d0['commentId']=_0x4b6074['commentId']),null!=_0x4b6074['commentThreadId']&&_0x4b6074['hasOwnProperty']('commentThreadId')&&(_0x5458d0['commentThreadId']=_0x4b6074['commentThreadId']),null!=_0x4b6074['userId']&&_0x4b6074['hasOwnProperty']('userId')&&(_0x5458d0['userId']=_0x4b6074['userId']),null!=_0x4b6074['content']&&_0x4b6074['hasOwnProperty']('content')&&(_0x5458d0['content']=_0x4b6074['content']),null!=_0x4b6074['documentId']&&_0x4b6074['hasOwnProperty']('documentId')&&(_0x5458d0['documentId']=_0x4b6074['documentId']),null!=_0x4b6074['createdAt']&&_0x4b6074['hasOwnProperty']('createdAt')&&(_0x5458d0['createdAt']=_0x4b6074['createdAt']),null!=_0x4b6074['attributes']&&_0x4b6074['hasOwnProperty']('attributes')&&(_0x5458d0['attributes']=_0x4b6074['attributes']),_0x5458d0;},_0x3fa7e6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3fa7e6['getTypeUrl']=function(_0x20ee8a){return void 0x0===_0x20ee8a&&(_0x20ee8a='type.googleapis.com'),_0x20ee8a+'/CommentDescriptor';},_0x3fa7e6;}()),_0x3ef7a7['GetDocumentDetailsResponse']=(function(){function _0x325e7b(_0x5409a6){if(_0x5409a6){for(var _0x2d45cd=Object['keys'](_0x5409a6),_0x3fe130=0x0;_0x3fe130<_0x2d45cd['length'];++_0x3fe130)null!=_0x5409a6[_0x2d45cd[_0x3fe130]]&&(this[_0x2d45cd[_0x3fe130]]=_0x5409a6[_0x2d45cd[_0x3fe130]]);}}return _0x325e7b['prototype']['lastDocumentSessionId']='',_0x325e7b['prototype']['lastDocumentSessionOperationId']='',_0x325e7b['prototype']['currentDocumentSessionId']='',_0x325e7b['prototype']['currentDocumentSessionVersion']=0x0,_0x325e7b['prototype']['currentDocumentSessionOperationId']='',_0x325e7b['create']=function(_0x575df4){return new _0x325e7b(_0x575df4);},_0x325e7b['encode']=function(_0xcc2f54,_0x1f9587){return _0x1f9587||(_0x1f9587=_0x10e177['create']()),null!=_0xcc2f54['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0xcc2f54,'lastDocumentSessionId')&&_0x1f9587['uint32'](0xa)['string'](_0xcc2f54['lastDocumentSessionId']),null!=_0xcc2f54['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0xcc2f54,'lastDocumentSessionOperationId')&&_0x1f9587['uint32'](0x12)['string'](_0xcc2f54['lastDocumentSessionOperationId']),null!=_0xcc2f54['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0xcc2f54,'currentDocumentSessionId')&&_0x1f9587['uint32'](0x1a)['string'](_0xcc2f54['currentDocumentSessionId']),null!=_0xcc2f54['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0xcc2f54,'currentDocumentSessionVersion')&&_0x1f9587['uint32'](0x20)['uint32'](_0xcc2f54['currentDocumentSessionVersion']),null!=_0xcc2f54['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0xcc2f54,'currentDocumentSessionOperationId')&&_0x1f9587['uint32'](0x2a)['string'](_0xcc2f54['currentDocumentSessionOperationId']),_0x1f9587;},_0x325e7b['encodeDelimited']=function(_0x7cbba2,_0x50eb43){return this['encode'](_0x7cbba2,_0x50eb43)['ldelim']();},_0x325e7b['decode']=function(_0x5cbf7f,_0x1a2737,_0x4efde4){_0x5cbf7f instanceof _0x121a90||(_0x5cbf7f=_0x121a90['create'](_0x5cbf7f));for(var _0x36f9b0=void 0x0===_0x1a2737?_0x5cbf7f['len']:_0x5cbf7f['pos']+_0x1a2737,_0x2c3f59=new _0x3ef7a7['GetDocumentDetailsResponse']();_0x5cbf7f['pos']<_0x36f9b0;){var _0x400c72=_0x5cbf7f['uint32']();if(_0x400c72===_0x4efde4)break;switch(_0x400c72>>>0x3){case 0x1:_0x2c3f59['lastDocumentSessionId']=_0x5cbf7f['string']();break;case 0x2:_0x2c3f59['lastDocumentSessionOperationId']=_0x5cbf7f['string']();break;case 0x3:_0x2c3f59['currentDocumentSessionId']=_0x5cbf7f['string']();break;case 0x4:_0x2c3f59['currentDocumentSessionVersion']=_0x5cbf7f['uint32']();break;case 0x5:_0x2c3f59['currentDocumentSessionOperationId']=_0x5cbf7f['string']();break;default:_0x5cbf7f['skipType'](0x7&_0x400c72);}}return _0x2c3f59;},_0x325e7b['decodeDelimited']=function(_0x440429){return _0x440429 instanceof _0x121a90||(_0x440429=new _0x121a90(_0x440429)),this['decode'](_0x440429,_0x440429['uint32']());},_0x325e7b['verify']=function(_0x165193){return'object'!=typeof _0x165193||null===_0x165193?'object\x20expected':null!=_0x165193['lastDocumentSessionId']&&_0x165193['hasOwnProperty']('lastDocumentSessionId')&&!_0x3aba14['isString'](_0x165193['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x165193['lastDocumentSessionOperationId']&&_0x165193['hasOwnProperty']('lastDocumentSessionOperationId')&&!_0x3aba14['isString'](_0x165193['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x165193['currentDocumentSessionId']&&_0x165193['hasOwnProperty']('currentDocumentSessionId')&&!_0x3aba14['isString'](_0x165193['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x165193['currentDocumentSessionVersion']&&_0x165193['hasOwnProperty']('currentDocumentSessionVersion')&&!_0x3aba14['isInteger'](_0x165193['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x165193['currentDocumentSessionOperationId']&&_0x165193['hasOwnProperty']('currentDocumentSessionOperationId')&&!_0x3aba14['isString'](_0x165193['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null;},_0x325e7b['fromObject']=function(_0x436d6d){if(_0x436d6d instanceof _0x3ef7a7['GetDocumentDetailsResponse'])return _0x436d6d;var _0x33cd64=new _0x3ef7a7['GetDocumentDetailsResponse']();return null!=_0x436d6d['lastDocumentSessionId']&&(_0x33cd64['lastDocumentSessionId']=String(_0x436d6d['lastDocumentSessionId'])),null!=_0x436d6d['lastDocumentSessionOperationId']&&(_0x33cd64['lastDocumentSessionOperationId']=String(_0x436d6d['lastDocumentSessionOperationId'])),null!=_0x436d6d['currentDocumentSessionId']&&(_0x33cd64['currentDocumentSessionId']=String(_0x436d6d['currentDocumentSessionId'])),null!=_0x436d6d['currentDocumentSessionVersion']&&(_0x33cd64['currentDocumentSessionVersion']=_0x436d6d['currentDocumentSessionVersion']>>>0x0),null!=_0x436d6d['currentDocumentSessionOperationId']&&(_0x33cd64['currentDocumentSessionOperationId']=String(_0x436d6d['currentDocumentSessionOperationId'])),_0x33cd64;},_0x325e7b['toObject']=function(_0x61763e,_0x309f6d){_0x309f6d||(_0x309f6d={});var _0xcb3b5c={};return _0x309f6d['defaults']&&(_0xcb3b5c['lastDocumentSessionId']='',_0xcb3b5c['lastDocumentSessionOperationId']='',_0xcb3b5c['currentDocumentSessionId']='',_0xcb3b5c['currentDocumentSessionVersion']=0x0,_0xcb3b5c['currentDocumentSessionOperationId']=''),null!=_0x61763e['lastDocumentSessionId']&&_0x61763e['hasOwnProperty']('lastDocumentSessionId')&&(_0xcb3b5c['lastDocumentSessionId']=_0x61763e['lastDocumentSessionId']),null!=_0x61763e['lastDocumentSessionOperationId']&&_0x61763e['hasOwnProperty']('lastDocumentSessionOperationId')&&(_0xcb3b5c['lastDocumentSessionOperationId']=_0x61763e['lastDocumentSessionOperationId']),null!=_0x61763e['currentDocumentSessionId']&&_0x61763e['hasOwnProperty']('currentDocumentSessionId')&&(_0xcb3b5c['currentDocumentSessionId']=_0x61763e['currentDocumentSessionId']),null!=_0x61763e['currentDocumentSessionVersion']&&_0x61763e['hasOwnProperty']('currentDocumentSessionVersion')&&(_0xcb3b5c['currentDocumentSessionVersion']=_0x61763e['currentDocumentSessionVersion']),null!=_0x61763e['currentDocumentSessionOperationId']&&_0x61763e['hasOwnProperty']('currentDocumentSessionOperationId')&&(_0xcb3b5c['currentDocumentSessionOperationId']=_0x61763e['currentDocumentSessionOperationId']),_0xcb3b5c;},_0x325e7b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x325e7b['getTypeUrl']=function(_0x55ff69){return void 0x0===_0x55ff69&&(_0x55ff69='type.googleapis.com'),_0x55ff69+'/GetDocumentDetailsResponse';},_0x325e7b;}()),_0x3ef7a7['CollaborativeEditingResponse']=(function(){function _0x3f51c6(_0x2ef75c){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x2ef75c){for(var _0x5c96e6=Object['keys'](_0x2ef75c),_0xc109ed=0x0;_0xc109ed<_0x5c96e6['length'];++_0xc109ed)null!=_0x2ef75c[_0x5c96e6[_0xc109ed]]&&(this[_0x5c96e6[_0xc109ed]]=_0x2ef75c[_0x5c96e6[_0xc109ed]]);}}return _0x3f51c6['prototype']['version']=0x0,_0x3f51c6['prototype']['buffers']=_0x3aba14['emptyArray'],_0x3f51c6['prototype']['types']=_0x3aba14['emptyArray'],_0x3f51c6['prototype']['metadata']=_0x3aba14['emptyArray'],_0x3f51c6['prototype']['lastOperationId']='',_0x3f51c6['prototype']['lastOperationAcceptedAt']='',_0x3f51c6['create']=function(_0x2b0c3c){return new _0x3f51c6(_0x2b0c3c);},_0x3f51c6['encode']=function(_0xcee47f,_0x409348){if(_0x409348||(_0x409348=_0x10e177['create']()),null!=_0xcee47f['version']&&Object['hasOwnProperty']['call'](_0xcee47f,'version')&&_0x409348['uint32'](0x8)['uint32'](_0xcee47f['version']),null!=_0xcee47f['buffers']&&_0xcee47f['buffers']['length']){for(var _0x2a0a49=0x0;_0x2a0a49<_0xcee47f['buffers']['length'];++_0x2a0a49)_0x409348['uint32'](0x12)['bytes'](_0xcee47f['buffers'][_0x2a0a49]);}if(null!=_0xcee47f['types']&&_0xcee47f['types']['length']){for(_0x409348['uint32'](0x1a)['fork'](),_0x2a0a49=0x0;_0x2a0a49<_0xcee47f['types']['length'];++_0x2a0a49)_0x409348['uint32'](_0xcee47f['types'][_0x2a0a49]);_0x409348['ldelim']();}if(null!=_0xcee47f['metadata']&&_0xcee47f['metadata']['length']){for(_0x2a0a49=0x0;_0x2a0a49<_0xcee47f['metadata']['length'];++_0x2a0a49)_0x3ef7a7['OperationMetadataDescriptor']['encode'](_0xcee47f['metadata'][_0x2a0a49],_0x409348['uint32'](0x2a)['fork']())['ldelim']();}return null!=_0xcee47f['lastOperationId']&&Object['hasOwnProperty']['call'](_0xcee47f,'lastOperationId')&&_0x409348['uint32'](0x32)['string'](_0xcee47f['lastOperationId']),null!=_0xcee47f['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0xcee47f,'lastOperationAcceptedAt')&&_0x409348['uint32'](0x3a)['string'](_0xcee47f['lastOperationAcceptedAt']),_0x409348;},_0x3f51c6['encodeDelimited']=function(_0x32c495,_0x2bd240){return this['encode'](_0x32c495,_0x2bd240)['ldelim']();},_0x3f51c6['decode']=function(_0x2f0029,_0x45baa7,_0x506974){_0x2f0029 instanceof _0x121a90||(_0x2f0029=_0x121a90['create'](_0x2f0029));for(var _0x4c759b=void 0x0===_0x45baa7?_0x2f0029['len']:_0x2f0029['pos']+_0x45baa7,_0x143630=new _0x3ef7a7['CollaborativeEditingResponse']();_0x2f0029['pos']<_0x4c759b;){var _0x5986da=_0x2f0029['uint32']();if(_0x5986da===_0x506974)break;switch(_0x5986da>>>0x3){case 0x1:_0x143630['version']=_0x2f0029['uint32']();break;case 0x2:_0x143630['buffers']&&_0x143630['buffers']['length']||(_0x143630['buffers']=[]),_0x143630['buffers']['push'](_0x2f0029['bytes']());break;case 0x3:if(_0x143630['types']&&_0x143630['types']['length']||(_0x143630['types']=[]),0x2==(0x7&_0x5986da)){for(var _0x16db34=_0x2f0029['uint32']()+_0x2f0029['pos'];_0x2f0029['pos']<_0x16db34;)_0x143630['types']['push'](_0x2f0029['uint32']());}else _0x143630['types']['push'](_0x2f0029['uint32']());break;case 0x5:_0x143630['metadata']&&_0x143630['metadata']['length']||(_0x143630['metadata']=[]),_0x143630['metadata']['push'](_0x3ef7a7['OperationMetadataDescriptor']['decode'](_0x2f0029,_0x2f0029['uint32']()));break;case 0x6:_0x143630['lastOperationId']=_0x2f0029['string']();break;case 0x7:_0x143630['lastOperationAcceptedAt']=_0x2f0029['string']();break;default:_0x2f0029['skipType'](0x7&_0x5986da);}}return _0x143630;},_0x3f51c6['decodeDelimited']=function(_0x43804c){return _0x43804c instanceof _0x121a90||(_0x43804c=new _0x121a90(_0x43804c)),this['decode'](_0x43804c,_0x43804c['uint32']());},_0x3f51c6['verify']=function(_0x2a9f18){if('object'!=typeof _0x2a9f18||null===_0x2a9f18)return'object\x20expected';if(null!=_0x2a9f18['version']&&_0x2a9f18['hasOwnProperty']('version')&&!_0x3aba14['isInteger'](_0x2a9f18['version']))return'version:\x20integer\x20expected';if(null!=_0x2a9f18['buffers']&&_0x2a9f18['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x2a9f18['buffers']))return'buffers:\x20array\x20expected';for(var _0x3715c6=0x0;_0x3715c6<_0x2a9f18['buffers']['length'];++_0x3715c6)if(!(_0x2a9f18['buffers'][_0x3715c6]&&'number'==typeof _0x2a9f18['buffers'][_0x3715c6]['length']||_0x3aba14['isString'](_0x2a9f18['buffers'][_0x3715c6])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x2a9f18['types']&&_0x2a9f18['hasOwnProperty']('types')){if(!Array['isArray'](_0x2a9f18['types']))return'types:\x20array\x20expected';for(_0x3715c6=0x0;_0x3715c6<_0x2a9f18['types']['length'];++_0x3715c6)if(!_0x3aba14['isInteger'](_0x2a9f18['types'][_0x3715c6]))return'types:\x20integer[]\x20expected';}if(null!=_0x2a9f18['metadata']&&_0x2a9f18['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x2a9f18['metadata']))return'metadata:\x20array\x20expected';for(_0x3715c6=0x0;_0x3715c6<_0x2a9f18['metadata']['length'];++_0x3715c6){var _0x3b1eaf=_0x3ef7a7['OperationMetadataDescriptor']['verify'](_0x2a9f18['metadata'][_0x3715c6]);if(_0x3b1eaf)return'metadata.'+_0x3b1eaf;}}return null!=_0x2a9f18['lastOperationId']&&_0x2a9f18['hasOwnProperty']('lastOperationId')&&!_0x3aba14['isString'](_0x2a9f18['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x2a9f18['lastOperationAcceptedAt']&&_0x2a9f18['hasOwnProperty']('lastOperationAcceptedAt')&&!_0x3aba14['isString'](_0x2a9f18['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x3f51c6['fromObject']=function(_0x4ea0c3){if(_0x4ea0c3 instanceof _0x3ef7a7['CollaborativeEditingResponse'])return _0x4ea0c3;var _0x937db7=new _0x3ef7a7['CollaborativeEditingResponse']();if(null!=_0x4ea0c3['version']&&(_0x937db7['version']=_0x4ea0c3['version']>>>0x0),_0x4ea0c3['buffers']){if(!Array['isArray'](_0x4ea0c3['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x937db7['buffers']=[];for(var _0x527d86=0x0;_0x527d86<_0x4ea0c3['buffers']['length'];++_0x527d86)'string'==typeof _0x4ea0c3['buffers'][_0x527d86]?_0x3aba14['base64']['decode'](_0x4ea0c3['buffers'][_0x527d86],_0x937db7['buffers'][_0x527d86]=_0x3aba14['newBuffer'](_0x3aba14['base64']['length'](_0x4ea0c3['buffers'][_0x527d86])),0x0):_0x4ea0c3['buffers'][_0x527d86]['length']>=0x0&&(_0x937db7['buffers'][_0x527d86]=_0x4ea0c3['buffers'][_0x527d86]);}if(_0x4ea0c3['types']){if(!Array['isArray'](_0x4ea0c3['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x937db7['types']=[],_0x527d86=0x0;_0x527d86<_0x4ea0c3['types']['length'];++_0x527d86)_0x937db7['types'][_0x527d86]=_0x4ea0c3['types'][_0x527d86]>>>0x0;}if(_0x4ea0c3['metadata']){if(!Array['isArray'](_0x4ea0c3['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x937db7['metadata']=[],_0x527d86=0x0;_0x527d86<_0x4ea0c3['metadata']['length'];++_0x527d86){if('object'!=typeof _0x4ea0c3['metadata'][_0x527d86])throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x937db7['metadata'][_0x527d86]=_0x3ef7a7['OperationMetadataDescriptor']['fromObject'](_0x4ea0c3['metadata'][_0x527d86]);}}return null!=_0x4ea0c3['lastOperationId']&&(_0x937db7['lastOperationId']=String(_0x4ea0c3['lastOperationId'])),null!=_0x4ea0c3['lastOperationAcceptedAt']&&(_0x937db7['lastOperationAcceptedAt']=String(_0x4ea0c3['lastOperationAcceptedAt'])),_0x937db7;},_0x3f51c6['toObject']=function(_0x4ccdf2,_0x3a3b47){_0x3a3b47||(_0x3a3b47={});var _0x271610={};if((_0x3a3b47['arrays']||_0x3a3b47['defaults'])&&(_0x271610['buffers']=[],_0x271610['types']=[],_0x271610['metadata']=[]),_0x3a3b47['defaults']&&(_0x271610['version']=0x0,_0x271610['lastOperationId']='',_0x271610['lastOperationAcceptedAt']=''),null!=_0x4ccdf2['version']&&_0x4ccdf2['hasOwnProperty']('version')&&(_0x271610['version']=_0x4ccdf2['version']),_0x4ccdf2['buffers']&&_0x4ccdf2['buffers']['length']){_0x271610['buffers']=[];for(var _0x5dac86=0x0;_0x5dac86<_0x4ccdf2['buffers']['length'];++_0x5dac86)_0x271610['buffers'][_0x5dac86]=_0x3a3b47['bytes']===String?_0x3aba14['base64']['encode'](_0x4ccdf2['buffers'][_0x5dac86],0x0,_0x4ccdf2['buffers'][_0x5dac86]['length']):_0x3a3b47['bytes']===Array?Array['prototype']['slice']['call'](_0x4ccdf2['buffers'][_0x5dac86]):_0x4ccdf2['buffers'][_0x5dac86];}if(_0x4ccdf2['types']&&_0x4ccdf2['types']['length']){for(_0x271610['types']=[],_0x5dac86=0x0;_0x5dac86<_0x4ccdf2['types']['length'];++_0x5dac86)_0x271610['types'][_0x5dac86]=_0x4ccdf2['types'][_0x5dac86];}if(_0x4ccdf2['metadata']&&_0x4ccdf2['metadata']['length']){for(_0x271610['metadata']=[],_0x5dac86=0x0;_0x5dac86<_0x4ccdf2['metadata']['length'];++_0x5dac86)_0x271610['metadata'][_0x5dac86]=_0x3ef7a7['OperationMetadataDescriptor']['toObject'](_0x4ccdf2['metadata'][_0x5dac86],_0x3a3b47);}return null!=_0x4ccdf2['lastOperationId']&&_0x4ccdf2['hasOwnProperty']('lastOperationId')&&(_0x271610['lastOperationId']=_0x4ccdf2['lastOperationId']),null!=_0x4ccdf2['lastOperationAcceptedAt']&&_0x4ccdf2['hasOwnProperty']('lastOperationAcceptedAt')&&(_0x271610['lastOperationAcceptedAt']=_0x4ccdf2['lastOperationAcceptedAt']),_0x271610;},_0x3f51c6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3f51c6['getTypeUrl']=function(_0x26b213){return void 0x0===_0x26b213&&(_0x26b213='type.googleapis.com'),_0x26b213+'/CollaborativeEditingResponse';},_0x3f51c6;}()),_0x3ef7a7['CollaborativeEditingConnectResponse']=(function(){function _0x495cd4(_0x1dba19){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x1dba19){for(var _0xf13ee6=Object['keys'](_0x1dba19),_0x1c72e0=0x0;_0x1c72e0<_0xf13ee6['length'];++_0x1c72e0)null!=_0x1dba19[_0xf13ee6[_0x1c72e0]]&&(this[_0xf13ee6[_0x1c72e0]]=_0x1dba19[_0xf13ee6[_0x1c72e0]]);}}return _0x495cd4['prototype']['channel']='',_0x495cd4['prototype']['offset']=0x0,_0x495cd4['prototype']['version']=0x0,_0x495cd4['prototype']['buffers']=_0x3aba14['emptyArray'],_0x495cd4['prototype']['types']=_0x3aba14['emptyArray'],_0x495cd4['prototype']['metadata']=_0x3aba14['emptyArray'],_0x495cd4['prototype']['initData']='',_0x495cd4['prototype']['isInitialized']=!0x1,_0x495cd4['prototype']['sessionId']='',_0x495cd4['prototype']['lastOperationId']='',_0x495cd4['prototype']['sessionCreatedAt']='',_0x495cd4['create']=function(_0x280930){return new _0x495cd4(_0x280930);},_0x495cd4['encode']=function(_0xb85333,_0x4fcdad){if(_0x4fcdad||(_0x4fcdad=_0x10e177['create']()),null!=_0xb85333['channel']&&Object['hasOwnProperty']['call'](_0xb85333,'channel')&&_0x4fcdad['uint32'](0xa)['string'](_0xb85333['channel']),null!=_0xb85333['offset']&&Object['hasOwnProperty']['call'](_0xb85333,'offset')&&_0x4fcdad['uint32'](0x10)['uint32'](_0xb85333['offset']),null!=_0xb85333['version']&&Object['hasOwnProperty']['call'](_0xb85333,'version')&&_0x4fcdad['uint32'](0x18)['uint32'](_0xb85333['version']),null!=_0xb85333['buffers']&&_0xb85333['buffers']['length']){for(var _0x25b55a=0x0;_0x25b55a<_0xb85333['buffers']['length'];++_0x25b55a)_0x4fcdad['uint32'](0x22)['bytes'](_0xb85333['buffers'][_0x25b55a]);}if(null!=_0xb85333['types']&&_0xb85333['types']['length']){for(_0x4fcdad['uint32'](0x2a)['fork'](),_0x25b55a=0x0;_0x25b55a<_0xb85333['types']['length'];++_0x25b55a)_0x4fcdad['uint32'](_0xb85333['types'][_0x25b55a]);_0x4fcdad['ldelim']();}if(null!=_0xb85333['metadata']&&_0xb85333['metadata']['length']){for(_0x25b55a=0x0;_0x25b55a<_0xb85333['metadata']['length'];++_0x25b55a)_0x3ef7a7['OperationMetadataDescriptor']['encode'](_0xb85333['metadata'][_0x25b55a],_0x4fcdad['uint32'](0x3a)['fork']())['ldelim']();}return null!=_0xb85333['initData']&&Object['hasOwnProperty']['call'](_0xb85333,'initData')&&_0x4fcdad['uint32'](0x42)['string'](_0xb85333['initData']),null!=_0xb85333['isInitialized']&&Object['hasOwnProperty']['call'](_0xb85333,'isInitialized')&&_0x4fcdad['uint32'](0x48)['bool'](_0xb85333['isInitialized']),null!=_0xb85333['sessionId']&&Object['hasOwnProperty']['call'](_0xb85333,'sessionId')&&_0x4fcdad['uint32'](0x52)['string'](_0xb85333['sessionId']),null!=_0xb85333['lastOperationId']&&Object['hasOwnProperty']['call'](_0xb85333,'lastOperationId')&&_0x4fcdad['uint32'](0x5a)['string'](_0xb85333['lastOperationId']),null!=_0xb85333['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0xb85333,'sessionCreatedAt')&&_0x4fcdad['uint32'](0x62)['string'](_0xb85333['sessionCreatedAt']),_0x4fcdad;},_0x495cd4['encodeDelimited']=function(_0x1a2483,_0x313776){return this['encode'](_0x1a2483,_0x313776)['ldelim']();},_0x495cd4['decode']=function(_0x151418,_0x1eb086,_0x2c1a01){_0x151418 instanceof _0x121a90||(_0x151418=_0x121a90['create'](_0x151418));for(var _0x4ff56c=void 0x0===_0x1eb086?_0x151418['len']:_0x151418['pos']+_0x1eb086,_0x320337=new _0x3ef7a7['CollaborativeEditingConnectResponse']();_0x151418['pos']<_0x4ff56c;){var _0x3d0fee=_0x151418['uint32']();if(_0x3d0fee===_0x2c1a01)break;switch(_0x3d0fee>>>0x3){case 0x1:_0x320337['channel']=_0x151418['string']();break;case 0x2:_0x320337['offset']=_0x151418['uint32']();break;case 0x3:_0x320337['version']=_0x151418['uint32']();break;case 0x4:_0x320337['buffers']&&_0x320337['buffers']['length']||(_0x320337['buffers']=[]),_0x320337['buffers']['push'](_0x151418['bytes']());break;case 0x5:if(_0x320337['types']&&_0x320337['types']['length']||(_0x320337['types']=[]),0x2==(0x7&_0x3d0fee)){for(var _0x86dd2b=_0x151418['uint32']()+_0x151418['pos'];_0x151418['pos']<_0x86dd2b;)_0x320337['types']['push'](_0x151418['uint32']());}else _0x320337['types']['push'](_0x151418['uint32']());break;case 0x7:_0x320337['metadata']&&_0x320337['metadata']['length']||(_0x320337['metadata']=[]),_0x320337['metadata']['push'](_0x3ef7a7['OperationMetadataDescriptor']['decode'](_0x151418,_0x151418['uint32']()));break;case 0x8:_0x320337['initData']=_0x151418['string']();break;case 0x9:_0x320337['isInitialized']=_0x151418['bool']();break;case 0xa:_0x320337['sessionId']=_0x151418['string']();break;case 0xb:_0x320337['lastOperationId']=_0x151418['string']();break;case 0xc:_0x320337['sessionCreatedAt']=_0x151418['string']();break;default:_0x151418['skipType'](0x7&_0x3d0fee);}}return _0x320337;},_0x495cd4['decodeDelimited']=function(_0x1431b8){return _0x1431b8 instanceof _0x121a90||(_0x1431b8=new _0x121a90(_0x1431b8)),this['decode'](_0x1431b8,_0x1431b8['uint32']());},_0x495cd4['verify']=function(_0x42c93e){if('object'!=typeof _0x42c93e||null===_0x42c93e)return'object\x20expected';if(null!=_0x42c93e['channel']&&_0x42c93e['hasOwnProperty']('channel')&&!_0x3aba14['isString'](_0x42c93e['channel']))return'channel:\x20string\x20expected';if(null!=_0x42c93e['offset']&&_0x42c93e['hasOwnProperty']('offset')&&!_0x3aba14['isInteger'](_0x42c93e['offset']))return'offset:\x20integer\x20expected';if(null!=_0x42c93e['version']&&_0x42c93e['hasOwnProperty']('version')&&!_0x3aba14['isInteger'](_0x42c93e['version']))return'version:\x20integer\x20expected';if(null!=_0x42c93e['buffers']&&_0x42c93e['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x42c93e['buffers']))return'buffers:\x20array\x20expected';for(var _0x285510=0x0;_0x285510<_0x42c93e['buffers']['length'];++_0x285510)if(!(_0x42c93e['buffers'][_0x285510]&&'number'==typeof _0x42c93e['buffers'][_0x285510]['length']||_0x3aba14['isString'](_0x42c93e['buffers'][_0x285510])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x42c93e['types']&&_0x42c93e['hasOwnProperty']('types')){if(!Array['isArray'](_0x42c93e['types']))return'types:\x20array\x20expected';for(_0x285510=0x0;_0x285510<_0x42c93e['types']['length'];++_0x285510)if(!_0x3aba14['isInteger'](_0x42c93e['types'][_0x285510]))return'types:\x20integer[]\x20expected';}if(null!=_0x42c93e['metadata']&&_0x42c93e['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x42c93e['metadata']))return'metadata:\x20array\x20expected';for(_0x285510=0x0;_0x285510<_0x42c93e['metadata']['length'];++_0x285510){var _0x2006cf=_0x3ef7a7['OperationMetadataDescriptor']['verify'](_0x42c93e['metadata'][_0x285510]);if(_0x2006cf)return'metadata.'+_0x2006cf;}}return null!=_0x42c93e['initData']&&_0x42c93e['hasOwnProperty']('initData')&&!_0x3aba14['isString'](_0x42c93e['initData'])?'initData:\x20string\x20expected':null!=_0x42c93e['isInitialized']&&_0x42c93e['hasOwnProperty']('isInitialized')&&'boolean'!=typeof _0x42c93e['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x42c93e['sessionId']&&_0x42c93e['hasOwnProperty']('sessionId')&&!_0x3aba14['isString'](_0x42c93e['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x42c93e['lastOperationId']&&_0x42c93e['hasOwnProperty']('lastOperationId')&&!_0x3aba14['isString'](_0x42c93e['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x42c93e['sessionCreatedAt']&&_0x42c93e['hasOwnProperty']('sessionCreatedAt')&&!_0x3aba14['isString'](_0x42c93e['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x495cd4['fromObject']=function(_0x4b883a){if(_0x4b883a instanceof _0x3ef7a7['CollaborativeEditingConnectResponse'])return _0x4b883a;var _0x34cd1f=new _0x3ef7a7['CollaborativeEditingConnectResponse']();if(null!=_0x4b883a['channel']&&(_0x34cd1f['channel']=String(_0x4b883a['channel'])),null!=_0x4b883a['offset']&&(_0x34cd1f['offset']=_0x4b883a['offset']>>>0x0),null!=_0x4b883a['version']&&(_0x34cd1f['version']=_0x4b883a['version']>>>0x0),_0x4b883a['buffers']){if(!Array['isArray'](_0x4b883a['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x34cd1f['buffers']=[];for(var _0x16400d=0x0;_0x16400d<_0x4b883a['buffers']['length'];++_0x16400d)'string'==typeof _0x4b883a['buffers'][_0x16400d]?_0x3aba14['base64']['decode'](_0x4b883a['buffers'][_0x16400d],_0x34cd1f['buffers'][_0x16400d]=_0x3aba14['newBuffer'](_0x3aba14['base64']['length'](_0x4b883a['buffers'][_0x16400d])),0x0):_0x4b883a['buffers'][_0x16400d]['length']>=0x0&&(_0x34cd1f['buffers'][_0x16400d]=_0x4b883a['buffers'][_0x16400d]);}if(_0x4b883a['types']){if(!Array['isArray'](_0x4b883a['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x34cd1f['types']=[],_0x16400d=0x0;_0x16400d<_0x4b883a['types']['length'];++_0x16400d)_0x34cd1f['types'][_0x16400d]=_0x4b883a['types'][_0x16400d]>>>0x0;}if(_0x4b883a['metadata']){if(!Array['isArray'](_0x4b883a['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x34cd1f['metadata']=[],_0x16400d=0x0;_0x16400d<_0x4b883a['metadata']['length'];++_0x16400d){if('object'!=typeof _0x4b883a['metadata'][_0x16400d])throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x34cd1f['metadata'][_0x16400d]=_0x3ef7a7['OperationMetadataDescriptor']['fromObject'](_0x4b883a['metadata'][_0x16400d]);}}return null!=_0x4b883a['initData']&&(_0x34cd1f['initData']=String(_0x4b883a['initData'])),null!=_0x4b883a['isInitialized']&&(_0x34cd1f['isInitialized']=Boolean(_0x4b883a['isInitialized'])),null!=_0x4b883a['sessionId']&&(_0x34cd1f['sessionId']=String(_0x4b883a['sessionId'])),null!=_0x4b883a['lastOperationId']&&(_0x34cd1f['lastOperationId']=String(_0x4b883a['lastOperationId'])),null!=_0x4b883a['sessionCreatedAt']&&(_0x34cd1f['sessionCreatedAt']=String(_0x4b883a['sessionCreatedAt'])),_0x34cd1f;},_0x495cd4['toObject']=function(_0x2ff47e,_0x2623ed){_0x2623ed||(_0x2623ed={});var _0x39b7cc={};if((_0x2623ed['arrays']||_0x2623ed['defaults'])&&(_0x39b7cc['buffers']=[],_0x39b7cc['types']=[],_0x39b7cc['metadata']=[]),_0x2623ed['defaults']&&(_0x39b7cc['channel']='',_0x39b7cc['offset']=0x0,_0x39b7cc['version']=0x0,_0x39b7cc['initData']='',_0x39b7cc['isInitialized']=!0x1,_0x39b7cc['sessionId']='',_0x39b7cc['lastOperationId']='',_0x39b7cc['sessionCreatedAt']=''),null!=_0x2ff47e['channel']&&_0x2ff47e['hasOwnProperty']('channel')&&(_0x39b7cc['channel']=_0x2ff47e['channel']),null!=_0x2ff47e['offset']&&_0x2ff47e['hasOwnProperty']('offset')&&(_0x39b7cc['offset']=_0x2ff47e['offset']),null!=_0x2ff47e['version']&&_0x2ff47e['hasOwnProperty']('version')&&(_0x39b7cc['version']=_0x2ff47e['version']),_0x2ff47e['buffers']&&_0x2ff47e['buffers']['length']){_0x39b7cc['buffers']=[];for(var _0x30f3ea=0x0;_0x30f3ea<_0x2ff47e['buffers']['length'];++_0x30f3ea)_0x39b7cc['buffers'][_0x30f3ea]=_0x2623ed['bytes']===String?_0x3aba14['base64']['encode'](_0x2ff47e['buffers'][_0x30f3ea],0x0,_0x2ff47e['buffers'][_0x30f3ea]['length']):_0x2623ed['bytes']===Array?Array['prototype']['slice']['call'](_0x2ff47e['buffers'][_0x30f3ea]):_0x2ff47e['buffers'][_0x30f3ea];}if(_0x2ff47e['types']&&_0x2ff47e['types']['length']){for(_0x39b7cc['types']=[],_0x30f3ea=0x0;_0x30f3ea<_0x2ff47e['types']['length'];++_0x30f3ea)_0x39b7cc['types'][_0x30f3ea]=_0x2ff47e['types'][_0x30f3ea];}if(_0x2ff47e['metadata']&&_0x2ff47e['metadata']['length']){for(_0x39b7cc['metadata']=[],_0x30f3ea=0x0;_0x30f3ea<_0x2ff47e['metadata']['length'];++_0x30f3ea)_0x39b7cc['metadata'][_0x30f3ea]=_0x3ef7a7['OperationMetadataDescriptor']['toObject'](_0x2ff47e['metadata'][_0x30f3ea],_0x2623ed);}return null!=_0x2ff47e['initData']&&_0x2ff47e['hasOwnProperty']('initData')&&(_0x39b7cc['initData']=_0x2ff47e['initData']),null!=_0x2ff47e['isInitialized']&&_0x2ff47e['hasOwnProperty']('isInitialized')&&(_0x39b7cc['isInitialized']=_0x2ff47e['isInitialized']),null!=_0x2ff47e['sessionId']&&_0x2ff47e['hasOwnProperty']('sessionId')&&(_0x39b7cc['sessionId']=_0x2ff47e['sessionId']),null!=_0x2ff47e['lastOperationId']&&_0x2ff47e['hasOwnProperty']('lastOperationId')&&(_0x39b7cc['lastOperationId']=_0x2ff47e['lastOperationId']),null!=_0x2ff47e['sessionCreatedAt']&&_0x2ff47e['hasOwnProperty']('sessionCreatedAt')&&(_0x39b7cc['sessionCreatedAt']=_0x2ff47e['sessionCreatedAt']),_0x39b7cc;},_0x495cd4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x495cd4['getTypeUrl']=function(_0x35ee8b){return void 0x0===_0x35ee8b&&(_0x35ee8b='type.googleapis.com'),_0x35ee8b+'/CollaborativeEditingConnectResponse';},_0x495cd4;}()),_0x3ef7a7['GetDocumentDetailsMessage']=(function(){function _0x24609f(_0x588186){if(_0x588186){for(var _0x1ae13f=Object['keys'](_0x588186),_0xda69e2=0x0;_0xda69e2<_0x1ae13f['length'];++_0xda69e2)null!=_0x588186[_0x1ae13f[_0xda69e2]]&&(this[_0x1ae13f[_0xda69e2]]=_0x588186[_0x1ae13f[_0xda69e2]]);}}return _0x24609f['prototype']['documentId']='',_0x24609f['prototype']['environmentId']='',_0x24609f['create']=function(_0x53fce7){return new _0x24609f(_0x53fce7);},_0x24609f['encode']=function(_0x2b9820,_0x1ace9c){return _0x1ace9c||(_0x1ace9c=_0x10e177['create']()),null!=_0x2b9820['documentId']&&Object['hasOwnProperty']['call'](_0x2b9820,'documentId')&&_0x1ace9c['uint32'](0xa)['string'](_0x2b9820['documentId']),null!=_0x2b9820['environmentId']&&Object['hasOwnProperty']['call'](_0x2b9820,'environmentId')&&_0x1ace9c['uint32'](0x12)['string'](_0x2b9820['environmentId']),_0x1ace9c;},_0x24609f['encodeDelimited']=function(_0x41ae4f,_0x17eca5){return this['encode'](_0x41ae4f,_0x17eca5)['ldelim']();},_0x24609f['decode']=function(_0x1cb836,_0x1f41b9,_0x176dea){_0x1cb836 instanceof _0x121a90||(_0x1cb836=_0x121a90['create'](_0x1cb836));for(var _0x4f075e=void 0x0===_0x1f41b9?_0x1cb836['len']:_0x1cb836['pos']+_0x1f41b9,_0x548108=new _0x3ef7a7['GetDocumentDetailsMessage']();_0x1cb836['pos']<_0x4f075e;){var _0x32a09a=_0x1cb836['uint32']();if(_0x32a09a===_0x176dea)break;switch(_0x32a09a>>>0x3){case 0x1:_0x548108['documentId']=_0x1cb836['string']();break;case 0x2:_0x548108['environmentId']=_0x1cb836['string']();break;default:_0x1cb836['skipType'](0x7&_0x32a09a);}}return _0x548108;},_0x24609f['decodeDelimited']=function(_0x24b3a7){return _0x24b3a7 instanceof _0x121a90||(_0x24b3a7=new _0x121a90(_0x24b3a7)),this['decode'](_0x24b3a7,_0x24b3a7['uint32']());},_0x24609f['verify']=function(_0x31deb6){return'object'!=typeof _0x31deb6||null===_0x31deb6?'object\x20expected':null!=_0x31deb6['documentId']&&_0x31deb6['hasOwnProperty']('documentId')&&!_0x3aba14['isString'](_0x31deb6['documentId'])?'documentId:\x20string\x20expected':null!=_0x31deb6['environmentId']&&_0x31deb6['hasOwnProperty']('environmentId')&&!_0x3aba14['isString'](_0x31deb6['environmentId'])?'environmentId:\x20string\x20expected':null;},_0x24609f['fromObject']=function(_0xd8b88){if(_0xd8b88 instanceof _0x3ef7a7['GetDocumentDetailsMessage'])return _0xd8b88;var _0x5cadf0=new _0x3ef7a7['GetDocumentDetailsMessage']();return null!=_0xd8b88['documentId']&&(_0x5cadf0['documentId']=String(_0xd8b88['documentId'])),null!=_0xd8b88['environmentId']&&(_0x5cadf0['environmentId']=String(_0xd8b88['environmentId'])),_0x5cadf0;},_0x24609f['toObject']=function(_0x18e024,_0x5130c4){_0x5130c4||(_0x5130c4={});var _0x1bd333={};return _0x5130c4['defaults']&&(_0x1bd333['documentId']='',_0x1bd333['environmentId']=''),null!=_0x18e024['documentId']&&_0x18e024['hasOwnProperty']('documentId')&&(_0x1bd333['documentId']=_0x18e024['documentId']),null!=_0x18e024['environmentId']&&_0x18e024['hasOwnProperty']('environmentId')&&(_0x1bd333['environmentId']=_0x18e024['environmentId']),_0x1bd333;},_0x24609f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x24609f['getTypeUrl']=function(_0x2c3bb9){return void 0x0===_0x2c3bb9&&(_0x2c3bb9='type.googleapis.com'),_0x2c3bb9+'/GetDocumentDetailsMessage';},_0x24609f;}()),_0x3ef7a7['CollaborativeEditingUpdateMessage']=(function(){function _0x4c1d18(_0x5278a8){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x5278a8){for(var _0x7eb98b=Object['keys'](_0x5278a8),_0x1ef88b=0x0;_0x1ef88b<_0x7eb98b['length'];++_0x1ef88b)null!=_0x5278a8[_0x7eb98b[_0x1ef88b]]&&(this[_0x7eb98b[_0x1ef88b]]=_0x5278a8[_0x7eb98b[_0x1ef88b]]);}}return _0x4c1d18['prototype']['id']='',_0x4c1d18['prototype']['baseVersion']=0x0,_0x4c1d18['prototype']['buffers']=_0x3aba14['emptyArray'],_0x4c1d18['prototype']['types']=_0x3aba14['emptyArray'],_0x4c1d18['prototype']['metadata']=_0x3aba14['emptyArray'],_0x4c1d18['prototype']['lastOperationId']='',_0x4c1d18['create']=function(_0x456fb9){return new _0x4c1d18(_0x456fb9);},_0x4c1d18['encode']=function(_0x2971fc,_0x1ddd59){if(_0x1ddd59||(_0x1ddd59=_0x10e177['create']()),null!=_0x2971fc['id']&&Object['hasOwnProperty']['call'](_0x2971fc,'id')&&_0x1ddd59['uint32'](0xa)['string'](_0x2971fc['id']),null!=_0x2971fc['baseVersion']&&Object['hasOwnProperty']['call'](_0x2971fc,'baseVersion')&&_0x1ddd59['uint32'](0x10)['uint32'](_0x2971fc['baseVersion']),null!=_0x2971fc['buffers']&&_0x2971fc['buffers']['length']){for(var _0x6b1f93=0x0;_0x6b1f93<_0x2971fc['buffers']['length'];++_0x6b1f93)_0x1ddd59['uint32'](0x1a)['bytes'](_0x2971fc['buffers'][_0x6b1f93]);}if(null!=_0x2971fc['types']&&_0x2971fc['types']['length']){for(_0x1ddd59['uint32'](0x22)['fork'](),_0x6b1f93=0x0;_0x6b1f93<_0x2971fc['types']['length'];++_0x6b1f93)_0x1ddd59['uint32'](_0x2971fc['types'][_0x6b1f93]);_0x1ddd59['ldelim']();}if(null!=_0x2971fc['metadata']&&_0x2971fc['metadata']['length']){for(_0x6b1f93=0x0;_0x6b1f93<_0x2971fc['metadata']['length'];++_0x6b1f93)_0x3ef7a7['OperationMetadataDescriptor']['encode'](_0x2971fc['metadata'][_0x6b1f93],_0x1ddd59['uint32'](0x32)['fork']())['ldelim']();}return null!=_0x2971fc['lastOperationId']&&Object['hasOwnProperty']['call'](_0x2971fc,'lastOperationId')&&_0x1ddd59['uint32'](0x3a)['string'](_0x2971fc['lastOperationId']),_0x1ddd59;},_0x4c1d18['encodeDelimited']=function(_0x55b7d3,_0x2d0eba){return this['encode'](_0x55b7d3,_0x2d0eba)['ldelim']();},_0x4c1d18['decode']=function(_0x360549,_0x5777f8,_0x29e0c4){_0x360549 instanceof _0x121a90||(_0x360549=_0x121a90['create'](_0x360549));for(var _0x116485=void 0x0===_0x5777f8?_0x360549['len']:_0x360549['pos']+_0x5777f8,_0x28c873=new _0x3ef7a7['CollaborativeEditingUpdateMessage']();_0x360549['pos']<_0x116485;){var _0x32bccc=_0x360549['uint32']();if(_0x32bccc===_0x29e0c4)break;switch(_0x32bccc>>>0x3){case 0x1:_0x28c873['id']=_0x360549['string']();break;case 0x2:_0x28c873['baseVersion']=_0x360549['uint32']();break;case 0x3:_0x28c873['buffers']&&_0x28c873['buffers']['length']||(_0x28c873['buffers']=[]),_0x28c873['buffers']['push'](_0x360549['bytes']());break;case 0x4:if(_0x28c873['types']&&_0x28c873['types']['length']||(_0x28c873['types']=[]),0x2==(0x7&_0x32bccc)){for(var _0x4f516f=_0x360549['uint32']()+_0x360549['pos'];_0x360549['pos']<_0x4f516f;)_0x28c873['types']['push'](_0x360549['uint32']());}else _0x28c873['types']['push'](_0x360549['uint32']());break;case 0x6:_0x28c873['metadata']&&_0x28c873['metadata']['length']||(_0x28c873['metadata']=[]),_0x28c873['metadata']['push'](_0x3ef7a7['OperationMetadataDescriptor']['decode'](_0x360549,_0x360549['uint32']()));break;case 0x7:_0x28c873['lastOperationId']=_0x360549['string']();break;default:_0x360549['skipType'](0x7&_0x32bccc);}}return _0x28c873;},_0x4c1d18['decodeDelimited']=function(_0x11a143){return _0x11a143 instanceof _0x121a90||(_0x11a143=new _0x121a90(_0x11a143)),this['decode'](_0x11a143,_0x11a143['uint32']());},_0x4c1d18['verify']=function(_0x416bfc){if('object'!=typeof _0x416bfc||null===_0x416bfc)return'object\x20expected';if(null!=_0x416bfc['id']&&_0x416bfc['hasOwnProperty']('id')&&!_0x3aba14['isString'](_0x416bfc['id']))return'id:\x20string\x20expected';if(null!=_0x416bfc['baseVersion']&&_0x416bfc['hasOwnProperty']('baseVersion')&&!_0x3aba14['isInteger'](_0x416bfc['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x416bfc['buffers']&&_0x416bfc['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x416bfc['buffers']))return'buffers:\x20array\x20expected';for(var _0x460f6e=0x0;_0x460f6e<_0x416bfc['buffers']['length'];++_0x460f6e)if(!(_0x416bfc['buffers'][_0x460f6e]&&'number'==typeof _0x416bfc['buffers'][_0x460f6e]['length']||_0x3aba14['isString'](_0x416bfc['buffers'][_0x460f6e])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x416bfc['types']&&_0x416bfc['hasOwnProperty']('types')){if(!Array['isArray'](_0x416bfc['types']))return'types:\x20array\x20expected';for(_0x460f6e=0x0;_0x460f6e<_0x416bfc['types']['length'];++_0x460f6e)if(!_0x3aba14['isInteger'](_0x416bfc['types'][_0x460f6e]))return'types:\x20integer[]\x20expected';}if(null!=_0x416bfc['metadata']&&_0x416bfc['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x416bfc['metadata']))return'metadata:\x20array\x20expected';for(_0x460f6e=0x0;_0x460f6e<_0x416bfc['metadata']['length'];++_0x460f6e){var _0x2e398c=_0x3ef7a7['OperationMetadataDescriptor']['verify'](_0x416bfc['metadata'][_0x460f6e]);if(_0x2e398c)return'metadata.'+_0x2e398c;}}return null!=_0x416bfc['lastOperationId']&&_0x416bfc['hasOwnProperty']('lastOperationId')&&!_0x3aba14['isString'](_0x416bfc['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x4c1d18['fromObject']=function(_0x26f9fb){if(_0x26f9fb instanceof _0x3ef7a7['CollaborativeEditingUpdateMessage'])return _0x26f9fb;var _0x4cea09=new _0x3ef7a7['CollaborativeEditingUpdateMessage']();if(null!=_0x26f9fb['id']&&(_0x4cea09['id']=String(_0x26f9fb['id'])),null!=_0x26f9fb['baseVersion']&&(_0x4cea09['baseVersion']=_0x26f9fb['baseVersion']>>>0x0),_0x26f9fb['buffers']){if(!Array['isArray'](_0x26f9fb['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x4cea09['buffers']=[];for(var _0x10c0fb=0x0;_0x10c0fb<_0x26f9fb['buffers']['length'];++_0x10c0fb)'string'==typeof _0x26f9fb['buffers'][_0x10c0fb]?_0x3aba14['base64']['decode'](_0x26f9fb['buffers'][_0x10c0fb],_0x4cea09['buffers'][_0x10c0fb]=_0x3aba14['newBuffer'](_0x3aba14['base64']['length'](_0x26f9fb['buffers'][_0x10c0fb])),0x0):_0x26f9fb['buffers'][_0x10c0fb]['length']>=0x0&&(_0x4cea09['buffers'][_0x10c0fb]=_0x26f9fb['buffers'][_0x10c0fb]);}if(_0x26f9fb['types']){if(!Array['isArray'](_0x26f9fb['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x4cea09['types']=[],_0x10c0fb=0x0;_0x10c0fb<_0x26f9fb['types']['length'];++_0x10c0fb)_0x4cea09['types'][_0x10c0fb]=_0x26f9fb['types'][_0x10c0fb]>>>0x0;}if(_0x26f9fb['metadata']){if(!Array['isArray'](_0x26f9fb['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x4cea09['metadata']=[],_0x10c0fb=0x0;_0x10c0fb<_0x26f9fb['metadata']['length'];++_0x10c0fb){if('object'!=typeof _0x26f9fb['metadata'][_0x10c0fb])throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x4cea09['metadata'][_0x10c0fb]=_0x3ef7a7['OperationMetadataDescriptor']['fromObject'](_0x26f9fb['metadata'][_0x10c0fb]);}}return null!=_0x26f9fb['lastOperationId']&&(_0x4cea09['lastOperationId']=String(_0x26f9fb['lastOperationId'])),_0x4cea09;},_0x4c1d18['toObject']=function(_0x56949c,_0x3257fc){_0x3257fc||(_0x3257fc={});var _0x3340f2={};if((_0x3257fc['arrays']||_0x3257fc['defaults'])&&(_0x3340f2['buffers']=[],_0x3340f2['types']=[],_0x3340f2['metadata']=[]),_0x3257fc['defaults']&&(_0x3340f2['id']='',_0x3340f2['baseVersion']=0x0,_0x3340f2['lastOperationId']=''),null!=_0x56949c['id']&&_0x56949c['hasOwnProperty']('id')&&(_0x3340f2['id']=_0x56949c['id']),null!=_0x56949c['baseVersion']&&_0x56949c['hasOwnProperty']('baseVersion')&&(_0x3340f2['baseVersion']=_0x56949c['baseVersion']),_0x56949c['buffers']&&_0x56949c['buffers']['length']){_0x3340f2['buffers']=[];for(var _0x1e755f=0x0;_0x1e755f<_0x56949c['buffers']['length'];++_0x1e755f)_0x3340f2['buffers'][_0x1e755f]=_0x3257fc['bytes']===String?_0x3aba14['base64']['encode'](_0x56949c['buffers'][_0x1e755f],0x0,_0x56949c['buffers'][_0x1e755f]['length']):_0x3257fc['bytes']===Array?Array['prototype']['slice']['call'](_0x56949c['buffers'][_0x1e755f]):_0x56949c['buffers'][_0x1e755f];}if(_0x56949c['types']&&_0x56949c['types']['length']){for(_0x3340f2['types']=[],_0x1e755f=0x0;_0x1e755f<_0x56949c['types']['length'];++_0x1e755f)_0x3340f2['types'][_0x1e755f]=_0x56949c['types'][_0x1e755f];}if(_0x56949c['metadata']&&_0x56949c['metadata']['length']){for(_0x3340f2['metadata']=[],_0x1e755f=0x0;_0x1e755f<_0x56949c['metadata']['length'];++_0x1e755f)_0x3340f2['metadata'][_0x1e755f]=_0x3ef7a7['OperationMetadataDescriptor']['toObject'](_0x56949c['metadata'][_0x1e755f],_0x3257fc);}return null!=_0x56949c['lastOperationId']&&_0x56949c['hasOwnProperty']('lastOperationId')&&(_0x3340f2['lastOperationId']=_0x56949c['lastOperationId']),_0x3340f2;},_0x4c1d18['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4c1d18['getTypeUrl']=function(_0x421630){return void 0x0===_0x421630&&(_0x421630='type.googleapis.com'),_0x421630+'/CollaborativeEditingUpdateMessage';},_0x4c1d18;}()),_0x3ef7a7['CollaborativeEditingReconnectMessage']=(function(){function _0x2b8c24(_0xa0c419){if(_0xa0c419){for(var _0x43d2b0=Object['keys'](_0xa0c419),_0x5aea64=0x0;_0x5aea64<_0x43d2b0['length'];++_0x5aea64)null!=_0xa0c419[_0x43d2b0[_0x5aea64]]&&(this[_0x43d2b0[_0x5aea64]]=_0xa0c419[_0x43d2b0[_0x5aea64]]);}}return _0x2b8c24['prototype']['id']='',_0x2b8c24['prototype']['bundleVersion']='',_0x2b8c24['prototype']['lastKnowVersion']=0x0,_0x2b8c24['create']=function(_0x21442d){return new _0x2b8c24(_0x21442d);},_0x2b8c24['encode']=function(_0x54f8f5,_0x52c1a8){return _0x52c1a8||(_0x52c1a8=_0x10e177['create']()),null!=_0x54f8f5['id']&&Object['hasOwnProperty']['call'](_0x54f8f5,'id')&&_0x52c1a8['uint32'](0xa)['string'](_0x54f8f5['id']),null!=_0x54f8f5['bundleVersion']&&Object['hasOwnProperty']['call'](_0x54f8f5,'bundleVersion')&&_0x52c1a8['uint32'](0x12)['string'](_0x54f8f5['bundleVersion']),null!=_0x54f8f5['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x54f8f5,'lastKnowVersion')&&_0x52c1a8['uint32'](0x18)['uint32'](_0x54f8f5['lastKnowVersion']),_0x52c1a8;},_0x2b8c24['encodeDelimited']=function(_0x55418d,_0x569678){return this['encode'](_0x55418d,_0x569678)['ldelim']();},_0x2b8c24['decode']=function(_0x5da471,_0x3c68dd,_0x2edfca){_0x5da471 instanceof _0x121a90||(_0x5da471=_0x121a90['create'](_0x5da471));for(var _0x2dcb6b=void 0x0===_0x3c68dd?_0x5da471['len']:_0x5da471['pos']+_0x3c68dd,_0x347d09=new _0x3ef7a7['CollaborativeEditingReconnectMessage']();_0x5da471['pos']<_0x2dcb6b;){var _0x1024c3=_0x5da471['uint32']();if(_0x1024c3===_0x2edfca)break;switch(_0x1024c3>>>0x3){case 0x1:_0x347d09['id']=_0x5da471['string']();break;case 0x2:_0x347d09['bundleVersion']=_0x5da471['string']();break;case 0x3:_0x347d09['lastKnowVersion']=_0x5da471['uint32']();break;default:_0x5da471['skipType'](0x7&_0x1024c3);}}return _0x347d09;},_0x2b8c24['decodeDelimited']=function(_0x3a0c1f){return _0x3a0c1f instanceof _0x121a90||(_0x3a0c1f=new _0x121a90(_0x3a0c1f)),this['decode'](_0x3a0c1f,_0x3a0c1f['uint32']());},_0x2b8c24['verify']=function(_0x4adc68){return'object'!=typeof _0x4adc68||null===_0x4adc68?'object\x20expected':null!=_0x4adc68['id']&&_0x4adc68['hasOwnProperty']('id')&&!_0x3aba14['isString'](_0x4adc68['id'])?'id:\x20string\x20expected':null!=_0x4adc68['bundleVersion']&&_0x4adc68['hasOwnProperty']('bundleVersion')&&!_0x3aba14['isString'](_0x4adc68['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x4adc68['lastKnowVersion']&&_0x4adc68['hasOwnProperty']('lastKnowVersion')&&!_0x3aba14['isInteger'](_0x4adc68['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null;},_0x2b8c24['fromObject']=function(_0x40c89d){if(_0x40c89d instanceof _0x3ef7a7['CollaborativeEditingReconnectMessage'])return _0x40c89d;var _0xb0b1e4=new _0x3ef7a7['CollaborativeEditingReconnectMessage']();return null!=_0x40c89d['id']&&(_0xb0b1e4['id']=String(_0x40c89d['id'])),null!=_0x40c89d['bundleVersion']&&(_0xb0b1e4['bundleVersion']=String(_0x40c89d['bundleVersion'])),null!=_0x40c89d['lastKnowVersion']&&(_0xb0b1e4['lastKnowVersion']=_0x40c89d['lastKnowVersion']>>>0x0),_0xb0b1e4;},_0x2b8c24['toObject']=function(_0x4d24c5,_0x27c05f){_0x27c05f||(_0x27c05f={});var _0x481a85={};return _0x27c05f['defaults']&&(_0x481a85['id']='',_0x481a85['bundleVersion']='',_0x481a85['lastKnowVersion']=0x0),null!=_0x4d24c5['id']&&_0x4d24c5['hasOwnProperty']('id')&&(_0x481a85['id']=_0x4d24c5['id']),null!=_0x4d24c5['bundleVersion']&&_0x4d24c5['hasOwnProperty']('bundleVersion')&&(_0x481a85['bundleVersion']=_0x4d24c5['bundleVersion']),null!=_0x4d24c5['lastKnowVersion']&&_0x4d24c5['hasOwnProperty']('lastKnowVersion')&&(_0x481a85['lastKnowVersion']=_0x4d24c5['lastKnowVersion']),_0x481a85;},_0x2b8c24['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2b8c24['getTypeUrl']=function(_0x440047){return void 0x0===_0x440047&&(_0x440047='type.googleapis.com'),_0x440047+'/CollaborativeEditingReconnectMessage';},_0x2b8c24;}()),_0x3ef7a7['CollaborativeEditingConnectMessage']=(function(){function _0x295936(_0x324ff9){if(this['buffers']=[],this['types']=[],_0x324ff9){for(var _0x228530=Object['keys'](_0x324ff9),_0x3ea4eb=0x0;_0x3ea4eb<_0x228530['length'];++_0x3ea4eb)null!=_0x324ff9[_0x228530[_0x3ea4eb]]&&(this[_0x228530[_0x3ea4eb]]=_0x324ff9[_0x228530[_0x3ea4eb]]);}}return _0x295936['prototype']['id']='',_0x295936['prototype']['bundleVersion']='',_0x295936['prototype']['buffers']=_0x3aba14['emptyArray'],_0x295936['prototype']['types']=_0x3aba14['emptyArray'],_0x295936['prototype']['lastOperationId']='',_0x295936['create']=function(_0x3c8bf9){return new _0x295936(_0x3c8bf9);},_0x295936['encode']=function(_0xa882ac,_0xef505f){if(_0xef505f||(_0xef505f=_0x10e177['create']()),null!=_0xa882ac['id']&&Object['hasOwnProperty']['call'](_0xa882ac,'id')&&_0xef505f['uint32'](0xa)['string'](_0xa882ac['id']),null!=_0xa882ac['bundleVersion']&&Object['hasOwnProperty']['call'](_0xa882ac,'bundleVersion')&&_0xef505f['uint32'](0x12)['string'](_0xa882ac['bundleVersion']),null!=_0xa882ac['buffers']&&_0xa882ac['buffers']['length']){for(var _0x2fba68=0x0;_0x2fba68<_0xa882ac['buffers']['length'];++_0x2fba68)_0xef505f['uint32'](0x1a)['bytes'](_0xa882ac['buffers'][_0x2fba68]);}if(null!=_0xa882ac['types']&&_0xa882ac['types']['length']){for(_0xef505f['uint32'](0x22)['fork'](),_0x2fba68=0x0;_0x2fba68<_0xa882ac['types']['length'];++_0x2fba68)_0xef505f['uint32'](_0xa882ac['types'][_0x2fba68]);_0xef505f['ldelim']();}return null!=_0xa882ac['lastOperationId']&&Object['hasOwnProperty']['call'](_0xa882ac,'lastOperationId')&&_0xef505f['uint32'](0x2a)['string'](_0xa882ac['lastOperationId']),_0xef505f;},_0x295936['encodeDelimited']=function(_0xa3f48e,_0x50b409){return this['encode'](_0xa3f48e,_0x50b409)['ldelim']();},_0x295936['decode']=function(_0x466b8c,_0x102100,_0x48e011){_0x466b8c instanceof _0x121a90||(_0x466b8c=_0x121a90['create'](_0x466b8c));for(var _0x571f83=void 0x0===_0x102100?_0x466b8c['len']:_0x466b8c['pos']+_0x102100,_0x153490=new _0x3ef7a7['CollaborativeEditingConnectMessage']();_0x466b8c['pos']<_0x571f83;){var _0x3f9cad=_0x466b8c['uint32']();if(_0x3f9cad===_0x48e011)break;switch(_0x3f9cad>>>0x3){case 0x1:_0x153490['id']=_0x466b8c['string']();break;case 0x2:_0x153490['bundleVersion']=_0x466b8c['string']();break;case 0x3:_0x153490['buffers']&&_0x153490['buffers']['length']||(_0x153490['buffers']=[]),_0x153490['buffers']['push'](_0x466b8c['bytes']());break;case 0x4:if(_0x153490['types']&&_0x153490['types']['length']||(_0x153490['types']=[]),0x2==(0x7&_0x3f9cad)){for(var _0x15e2c5=_0x466b8c['uint32']()+_0x466b8c['pos'];_0x466b8c['pos']<_0x15e2c5;)_0x153490['types']['push'](_0x466b8c['uint32']());}else _0x153490['types']['push'](_0x466b8c['uint32']());break;case 0x5:_0x153490['lastOperationId']=_0x466b8c['string']();break;default:_0x466b8c['skipType'](0x7&_0x3f9cad);}}return _0x153490;},_0x295936['decodeDelimited']=function(_0x10587f){return _0x10587f instanceof _0x121a90||(_0x10587f=new _0x121a90(_0x10587f)),this['decode'](_0x10587f,_0x10587f['uint32']());},_0x295936['verify']=function(_0x106f30){if('object'!=typeof _0x106f30||null===_0x106f30)return'object\x20expected';if(null!=_0x106f30['id']&&_0x106f30['hasOwnProperty']('id')&&!_0x3aba14['isString'](_0x106f30['id']))return'id:\x20string\x20expected';if(null!=_0x106f30['bundleVersion']&&_0x106f30['hasOwnProperty']('bundleVersion')&&!_0x3aba14['isString'](_0x106f30['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x106f30['buffers']&&_0x106f30['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x106f30['buffers']))return'buffers:\x20array\x20expected';for(var _0x304187=0x0;_0x304187<_0x106f30['buffers']['length'];++_0x304187)if(!(_0x106f30['buffers'][_0x304187]&&'number'==typeof _0x106f30['buffers'][_0x304187]['length']||_0x3aba14['isString'](_0x106f30['buffers'][_0x304187])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x106f30['types']&&_0x106f30['hasOwnProperty']('types')){if(!Array['isArray'](_0x106f30['types']))return'types:\x20array\x20expected';for(_0x304187=0x0;_0x304187<_0x106f30['types']['length'];++_0x304187)if(!_0x3aba14['isInteger'](_0x106f30['types'][_0x304187]))return'types:\x20integer[]\x20expected';}return null!=_0x106f30['lastOperationId']&&_0x106f30['hasOwnProperty']('lastOperationId')&&!_0x3aba14['isString'](_0x106f30['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x295936['fromObject']=function(_0x1aaa54){if(_0x1aaa54 instanceof _0x3ef7a7['CollaborativeEditingConnectMessage'])return _0x1aaa54;var _0x819336=new _0x3ef7a7['CollaborativeEditingConnectMessage']();if(null!=_0x1aaa54['id']&&(_0x819336['id']=String(_0x1aaa54['id'])),null!=_0x1aaa54['bundleVersion']&&(_0x819336['bundleVersion']=String(_0x1aaa54['bundleVersion'])),_0x1aaa54['buffers']){if(!Array['isArray'](_0x1aaa54['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x819336['buffers']=[];for(var _0x2c841d=0x0;_0x2c841d<_0x1aaa54['buffers']['length'];++_0x2c841d)'string'==typeof _0x1aaa54['buffers'][_0x2c841d]?_0x3aba14['base64']['decode'](_0x1aaa54['buffers'][_0x2c841d],_0x819336['buffers'][_0x2c841d]=_0x3aba14['newBuffer'](_0x3aba14['base64']['length'](_0x1aaa54['buffers'][_0x2c841d])),0x0):_0x1aaa54['buffers'][_0x2c841d]['length']>=0x0&&(_0x819336['buffers'][_0x2c841d]=_0x1aaa54['buffers'][_0x2c841d]);}if(_0x1aaa54['types']){if(!Array['isArray'](_0x1aaa54['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x819336['types']=[],_0x2c841d=0x0;_0x2c841d<_0x1aaa54['types']['length'];++_0x2c841d)_0x819336['types'][_0x2c841d]=_0x1aaa54['types'][_0x2c841d]>>>0x0;}return null!=_0x1aaa54['lastOperationId']&&(_0x819336['lastOperationId']=String(_0x1aaa54['lastOperationId'])),_0x819336;},_0x295936['toObject']=function(_0x44b141,_0x41f458){_0x41f458||(_0x41f458={});var _0x3c56d5={};if((_0x41f458['arrays']||_0x41f458['defaults'])&&(_0x3c56d5['buffers']=[],_0x3c56d5['types']=[]),_0x41f458['defaults']&&(_0x3c56d5['id']='',_0x3c56d5['bundleVersion']='',_0x3c56d5['lastOperationId']=''),null!=_0x44b141['id']&&_0x44b141['hasOwnProperty']('id')&&(_0x3c56d5['id']=_0x44b141['id']),null!=_0x44b141['bundleVersion']&&_0x44b141['hasOwnProperty']('bundleVersion')&&(_0x3c56d5['bundleVersion']=_0x44b141['bundleVersion']),_0x44b141['buffers']&&_0x44b141['buffers']['length']){_0x3c56d5['buffers']=[];for(var _0x11b14d=0x0;_0x11b14d<_0x44b141['buffers']['length'];++_0x11b14d)_0x3c56d5['buffers'][_0x11b14d]=_0x41f458['bytes']===String?_0x3aba14['base64']['encode'](_0x44b141['buffers'][_0x11b14d],0x0,_0x44b141['buffers'][_0x11b14d]['length']):_0x41f458['bytes']===Array?Array['prototype']['slice']['call'](_0x44b141['buffers'][_0x11b14d]):_0x44b141['buffers'][_0x11b14d];}if(_0x44b141['types']&&_0x44b141['types']['length']){for(_0x3c56d5['types']=[],_0x11b14d=0x0;_0x11b14d<_0x44b141['types']['length'];++_0x11b14d)_0x3c56d5['types'][_0x11b14d]=_0x44b141['types'][_0x11b14d];}return null!=_0x44b141['lastOperationId']&&_0x44b141['hasOwnProperty']('lastOperationId')&&(_0x3c56d5['lastOperationId']=_0x44b141['lastOperationId']),_0x3c56d5;},_0x295936['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x295936['getTypeUrl']=function(_0x354be5){return void 0x0===_0x354be5&&(_0x354be5='type.googleapis.com'),_0x354be5+'/CollaborativeEditingConnectMessage';},_0x295936;}()),_0x3ef7a7['OperationMetadataDescriptor']=(function(){function _0x3529d4(_0x4989b4){if(_0x4989b4){for(var _0x3625db=Object['keys'](_0x4989b4),_0x4ac513=0x0;_0x4ac513<_0x3625db['length'];++_0x4ac513)null!=_0x4989b4[_0x3625db[_0x4ac513]]&&(this[_0x3625db[_0x4ac513]]=_0x4989b4[_0x3625db[_0x4ac513]]);}}return _0x3529d4['prototype']['userId']='',_0x3529d4['prototype']['type']='',_0x3529d4['prototype']['createdAt']='',_0x3529d4['create']=function(_0x42fc55){return new _0x3529d4(_0x42fc55);},_0x3529d4['encode']=function(_0x5831ea,_0x3cd33c){return _0x3cd33c||(_0x3cd33c=_0x10e177['create']()),null!=_0x5831ea['userId']&&Object['hasOwnProperty']['call'](_0x5831ea,'userId')&&_0x3cd33c['uint32'](0xa)['string'](_0x5831ea['userId']),null!=_0x5831ea['type']&&Object['hasOwnProperty']['call'](_0x5831ea,'type')&&_0x3cd33c['uint32'](0x12)['string'](_0x5831ea['type']),null!=_0x5831ea['createdAt']&&Object['hasOwnProperty']['call'](_0x5831ea,'createdAt')&&_0x3cd33c['uint32'](0x1a)['string'](_0x5831ea['createdAt']),_0x3cd33c;},_0x3529d4['encodeDelimited']=function(_0x3fd2c9,_0x4ca518){return this['encode'](_0x3fd2c9,_0x4ca518)['ldelim']();},_0x3529d4['decode']=function(_0x1743cf,_0x2ecfe1,_0x490b64){_0x1743cf instanceof _0x121a90||(_0x1743cf=_0x121a90['create'](_0x1743cf));for(var _0x556b29=void 0x0===_0x2ecfe1?_0x1743cf['len']:_0x1743cf['pos']+_0x2ecfe1,_0x569867=new _0x3ef7a7['OperationMetadataDescriptor']();_0x1743cf['pos']<_0x556b29;){var _0x2ff0db=_0x1743cf['uint32']();if(_0x2ff0db===_0x490b64)break;switch(_0x2ff0db>>>0x3){case 0x1:_0x569867['userId']=_0x1743cf['string']();break;case 0x2:_0x569867['type']=_0x1743cf['string']();break;case 0x3:_0x569867['createdAt']=_0x1743cf['string']();break;default:_0x1743cf['skipType'](0x7&_0x2ff0db);}}return _0x569867;},_0x3529d4['decodeDelimited']=function(_0xfede4d){return _0xfede4d instanceof _0x121a90||(_0xfede4d=new _0x121a90(_0xfede4d)),this['decode'](_0xfede4d,_0xfede4d['uint32']());},_0x3529d4['verify']=function(_0x5e2929){return'object'!=typeof _0x5e2929||null===_0x5e2929?'object\x20expected':null!=_0x5e2929['userId']&&_0x5e2929['hasOwnProperty']('userId')&&!_0x3aba14['isString'](_0x5e2929['userId'])?'userId:\x20string\x20expected':null!=_0x5e2929['type']&&_0x5e2929['hasOwnProperty']('type')&&!_0x3aba14['isString'](_0x5e2929['type'])?'type:\x20string\x20expected':null!=_0x5e2929['createdAt']&&_0x5e2929['hasOwnProperty']('createdAt')&&!_0x3aba14['isString'](_0x5e2929['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x3529d4['fromObject']=function(_0x1c2390){if(_0x1c2390 instanceof _0x3ef7a7['OperationMetadataDescriptor'])return _0x1c2390;var _0x155792=new _0x3ef7a7['OperationMetadataDescriptor']();return null!=_0x1c2390['userId']&&(_0x155792['userId']=String(_0x1c2390['userId'])),null!=_0x1c2390['type']&&(_0x155792['type']=String(_0x1c2390['type'])),null!=_0x1c2390['createdAt']&&(_0x155792['createdAt']=String(_0x1c2390['createdAt'])),_0x155792;},_0x3529d4['toObject']=function(_0x2f09b9,_0xd32582){_0xd32582||(_0xd32582={});var _0x585c3b={};return _0xd32582['defaults']&&(_0x585c3b['userId']='',_0x585c3b['type']='',_0x585c3b['createdAt']=''),null!=_0x2f09b9['userId']&&_0x2f09b9['hasOwnProperty']('userId')&&(_0x585c3b['userId']=_0x2f09b9['userId']),null!=_0x2f09b9['type']&&_0x2f09b9['hasOwnProperty']('type')&&(_0x585c3b['type']=_0x2f09b9['type']),null!=_0x2f09b9['createdAt']&&_0x2f09b9['hasOwnProperty']('createdAt')&&(_0x585c3b['createdAt']=_0x2f09b9['createdAt']),_0x585c3b;},_0x3529d4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3529d4['getTypeUrl']=function(_0x42e76a){return void 0x0===_0x42e76a&&(_0x42e76a='type.googleapis.com'),_0x42e76a+'/OperationMetadataDescriptor';},_0x3529d4;}()),_0x3ef7a7;})());class _0x53d826{static['decode'](_0x2f547f,_0x17fc34){const _0x2be050=_getType(_0x17fc34)['decode']('undefined'==typeof window?_0x2f547f:new Uint8Array(_0x2f547f));return _0x17fc34['fromJSON']({..._0x2be050});}static['encode'](_0x680fc1){const _0x370601=_getType(_0x680fc1['constructor']),_0x30c371=_0x680fc1['toJSON'](),_0x5c447b=_0x370601['verify'](_0x30c371);if(_0x5c447b)throw Error(_0x5c447b);return _0x370601['encode'](_0x370601['create'](_0x30c371))['finish']();}}function _getType(_0x5c26c3){return _0x13734b[_0x5c26c3['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends _0x2f3fee{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x3cb260){super(),this['ids']=_0x3cb260;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x460db9){return new GetManyUsersMessage(_0x460db9['ids']);}}class GetManyUsersResponse extends _0x2f3fee{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x2895d1){super(),this['users']=_0x2895d1;}['toJSON'](){return{'users':this['users']['map'](_0x4ab342)};}static['fromJSON'](_0x26d49c){return new GetManyUsersResponse(_0x26d49c['users']['map'](_0x1d407c));}}function _0x4ab342(_0x965f51){return{'attributes':Object['keys'](_0x965f51)['map'](_0x446180=>({'key':_0x446180,'value':JSON['stringify'](_0x965f51[_0x446180])}))};}function _0x1d407c(_0x4fbcaf){return _0x4fbcaf['attributes']['reduce']((_0x275df3,_0x2bbfa0)=>(_0x275df3[_0x2bbfa0['key']]=_0x2bbfa0['value']?JSON['parse'](_0x2bbfa0['value']):null,_0x275df3),{});}class _0x46d2aa{static ['_SERVICE']=0x2;constructor(_0xa77404={}){this['_attributes']=new Map();for(const _0x546d8e of Object['keys'](_0xa77404))'id'!==_0x546d8e?(this['_attributes']['set'](_0x546d8e,_0xa77404[_0x546d8e]),Object['defineProperty'](this,_0x546d8e,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x546d8e)})):this['id']=_0xa77404['id'];}static['fromData'](_0x5f1b28){return new _0x46d2aa(_0x5f1b28);}static async['get'](_0x1e286f,_0x30d1fe){const _0x437dea=new GetUserMessage(_0x30d1fe);try{const _0x28110d=await _0x1e286f['_sendRequest'](_0x46d2aa['_SERVICE'],GetUserMessage['TYPE'],_0x53d826['encode'](_0x437dea)),_0x2024ac=_0x53d826['decode'](_0x28110d,GetUserResponse);return new _0x46d2aa(_0x2024ac['attributes']);}catch(_0x29f9c1){return new _0x46d2aa({'id':_0x30d1fe});}}static async['getMany'](_0x7b0e9f,_0x519205){const _0x2313aa=new GetManyUsersMessage(_0x519205);try{const _0x411fa9=await _0x7b0e9f['_sendRequest'](_0x46d2aa['_SERVICE'],GetManyUsersMessage['TYPE'],_0x53d826['encode'](_0x2313aa));return _0x53d826['decode'](_0x411fa9,GetManyUsersResponse)['users']['map'](_0x10f594=>new _0x46d2aa(_0x10f594));}catch(_0xde73fc){return _0x519205['map'](_0x958e67=>new _0x46d2aa({'id':_0x958e67}));}}}class _0x58bbe2 extends _0x2f3fee{['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(_0x400f99,_0x2f335b,_0x49b7b8){super(),this['type']=_0x400f99,this['socketId']=_0x2f335b,this['data']=_0x49b7b8;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x5bca9f){return new _0x58bbe2(_0x5bca9f['type'],_0x5bca9f['socketId'],_0x5bca9f['data']);}}class _0x2c58b9 extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x2a7af1,_0x12837d,_0x5b660a){super(),this['_channelName']=_0x2a7af1,this['_wsGateway']=_0x12837d,this['_socket']=_0x5b660a,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x30582f,_0x120b73=!0x1){let _0x5a4088='';return _0x120b73&&(_0x5a4088+='all:'),_0x5a4088+='event',_0x30582f&&(_0x5a4088+=':'+_0x30582f),_0x5a4088;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x3e8bc2=>{const _0x58eef4=_0x53d826['decode'](_0x3e8bc2,_0x58bbe2);this['fire'](this['getEventName'](_0x58eef4['type'],!0x0),_0x58eef4['data'],_0x58eef4['socketId']),_0x58eef4['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x58eef4['type']),_0x58eef4['data'],_0x58eef4['socketId']);});}}class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x7fb6d6,_0x1d2c1b,_0x33557f=null,_0x182255={}){super('cloud-services-internal-error:\x20'+_0x7fb6d6),this['context']=_0x1d2c1b,this['code']=_0x33557f,this['data']=_0x182255,this['name']='CKEditorError';}static['fromPublicError'](_0x139e87){return new CKEditorCloudServicesError(function(_0x42fcab){let _0x52109e='cloud-services-error:\x20'+_0x42fcab['message'];return _0x42fcab['data']&&(_0x52109e+='\x0aError\x20data:\x20'+JSON['stringify'](_0x42fcab['data'])),_0x42fcab['explanation']&&(_0x52109e+='\x0aExplanation:\x20'+_0x42fcab['explanation']),_0x42fcab['action']&&(_0x52109e+='\x0aAction:\x20'+_0x42fcab['action']),_0x42fcab['traceId']&&(_0x52109e+='\x0aTraceId:\x20'+_0x42fcab['traceId']),_0x42fcab['code']&&(_0x52109e+='\x0aCode:\x20'+_0x42fcab['code']),_0x52109e;}(_0x139e87),_0x139e87);}}class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0x39c5b8,_0x4b5724){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x39c5b8,this['code']=_0x4b5724['code'],this['traceId']=_0x4b5724['traceId'],this['data']=_0x4b5724['data'];}static['fromPublicError'](_0x132d34){return new CKEditorCloudServicesServerError(function(_0x1c08db){let _0x5355df='cloud-services-server-error:\x20'+_0x1c08db['message'];return _0x1c08db['explanation']&&(_0x5355df+='\x0aExplanation:\x20'+_0x1c08db['explanation']),_0x1c08db['action']&&(_0x5355df+='\x0aAction:\x20'+_0x1c08db['action']),_0x1c08db['traceId']&&(_0x5355df+='\x0aTraceId:\x20'+_0x1c08db['traceId']),_0x1c08db['code']&&(_0x5355df+='\x0aCode:\x20'+_0x1c08db['code']),_0x5355df;}(_0x132d34),_0x132d34);}}class PacketOptionsMessage extends _0x2f3fee{['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(_0x470035,_0xd03916=[],_0x3bbf9c=[]){super(),this['flags']=_0x470035,this['rooms']=_0xd03916,this['except']=_0x3bbf9c;}['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'](_0x687701){return new PacketOptionsMessage(_0x687701['flags']&&JSON['parse'](_0x687701['flags']),_0x687701['rooms'],_0x687701['except']);}}const _0x3b753a=/* #__PURE__ -- @preserve */
((()=>!('undefined'==typeof process||!process['versions']?.['node']))()),MessageDataTypes_BUFFER=0x1,MessageDataTypes_STRING=0x2,MessageDataTypes_NUMBER=0x3,MessageDataTypes_OBJECT=0x4;class ParserUtils{static['getPacketType'](..._0x51f1a4){let _0x963d00=0x0;for(let _0x1e25b8=0x0;_0x1e25b8<_0x51f1a4['length'];_0x1e25b8++)_0x963d00+=_0x51f1a4[_0x1e25b8]*Math['pow'](0xa,_0x51f1a4['length']-_0x1e25b8-0x1);return _0x963d00;}static['getType'](_0x8bbdaa){if(ParserUtils['isBuffer'](_0x8bbdaa))return MessageDataTypes_BUFFER;const _0x3ab35c=typeof _0x8bbdaa;return'string'===_0x3ab35c?MessageDataTypes_STRING:'number'===_0x3ab35c?MessageDataTypes_NUMBER:MessageDataTypes_OBJECT;}static['isBuffer'](_0x595207){return _0x3b753a&&Buffer['isBuffer'](_0x595207)||_0x595207 instanceof ArrayBuffer||_0x595207 instanceof Uint8Array||this['_isBufferView'](_0x595207);}static['_isBufferView'](_0x2ad7fe){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x2ad7fe):_0x2ad7fe['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends _0x2f3fee{['data'];['data1'];static['create'](_0x1b8ba6,_0x416d44){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(_0x54257b,_0x1057e5){super(),this['data']=_0x54257b,this['data1']=_0x1057e5;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x4ca8e2){return new NumberBytesPacketDataMessage(_0x4ca8e2['data'],_0x4ca8e2['data1']);}static['create'](_0xd95ce4,_0x33b464){return new NumberBytesPacketDataMessage(_0xd95ce4,_0x33b464);}}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(_0x5245b3,_0x3af286){super(),this['data']=_0x5245b3,this['data1']=_0x3af286;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x41da12){return new StringBytesPacketDataMessage(_0x41da12['data'],_0x41da12['data1']);}static['create'](_0x3519fe,_0x1b02d6){return new StringBytesPacketDataMessage(_0x3519fe,_0x1b02d6);}}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(_0x3d4b68,_0x2e769e){super(),this['data']=_0x3d4b68,this['data1']=_0x2e769e;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x513d6e){return new BytesBytesPacketDataMessage(_0x513d6e['data'],_0x513d6e['data1']);}static['create'](_0x534294,_0x59d33d){return new BytesBytesPacketDataMessage(_0x534294,_0x59d33d);}}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(_0x5b97b7,_0x5471ef){super(),this['data']=_0x5b97b7,this['data1']=_0x5471ef;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x3670dc){return new StringObjectPacketDataMessage(_0x3670dc['data'],_0x3670dc['data1']&&JSON['parse'](_0x3670dc['data1']));}static['create'](_0x58266e,_0x3b3355){return new StringObjectPacketDataMessage(_0x58266e,_0x3b3355);}}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(_0x5b2d4a,_0x128a12){super(),this['data']=_0x5b2d4a,this['data1']=_0x128a12;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0xa9691f){return new NumberObjectPacketDataMessage(_0xa9691f['data'],_0xa9691f['data1']&&JSON['parse'](_0xa9691f['data1']));}static['create'](_0x390d81,_0x7ea96){return new NumberObjectPacketDataMessage(_0x390d81,_0x7ea96);}}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(_0x40bb93,_0x18f42a){super(),this['data']=_0x40bb93,this['data1']=_0x18f42a;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x113950){return new ObjectObjectPacketDataMessage(_0x113950['data']&&JSON['parse'](_0x113950['data']),_0x113950['data1']&&JSON['parse'](_0x113950['data1']));}static['create'](_0x15a5dd,_0xbc8832){return new ObjectObjectPacketDataMessage(_0x15a5dd,_0xbc8832);}}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(_0x4eba88,_0x3f900f){super(),this['data']=_0x4eba88,this['data1']=_0x3f900f;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x43ab01){return new ObjectBufferPacketDataMessage(_0x43ab01['data']&&JSON['parse'](_0x43ab01['data']),_0x43ab01['data1']);}static['create'](_0x34f8ab,_0x35a26c){return new ObjectBufferPacketDataMessage(_0x34f8ab,_0x35a26c);}}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(_0x43154c,_0x3bba48){super(),this['data']=_0x43154c,this['data1']=_0x3bba48;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x2d73d6){return new StringStringPacketDataMessage(_0x2d73d6['data'],_0x2d73d6['data1']);}static['create'](_0x507b29,_0x390017){return new StringStringPacketDataMessage(_0x507b29,_0x390017);}}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(_0x515e15,_0x24db84){super(),this['data']=_0x515e15,this['data1']=_0x24db84;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x174128){return new StringNumberPacketDataMessage(_0x174128['data'],_0x174128['data1']);}static['create'](_0x465a92,_0x30ed7b){return new StringNumberPacketDataMessage(_0x465a92,_0x30ed7b);}}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(_0x20a14d,_0x3be83d){super(),this['data']=_0x20a14d,this['data1']=_0x3be83d;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x412919){return new NumberNumberPacketDataMessage(_0x412919['data'],_0x412919['data1']);}static['create'](_0x22f094,_0x28649d){return new NumberNumberPacketDataMessage(_0x22f094,_0x28649d);}}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(_0x219994,_0x3c7df0){super(),this['data']=_0x219994,this['data1']=_0x3c7df0;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x212c71){return new NumberStringPacketDataMessage(_0x212c71['data'],_0x212c71['data1']);}static['create'](_0x5bd617,_0x52b5b1){return new NumberStringPacketDataMessage(_0x5bd617,_0x52b5b1);}}const _0x582891=/* #__PURE__ -- @preserve */
((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((_0x1484b8,_0x451560)=>(_0x1484b8[_0x451560['TYPE']]=_0x451560,_0x1484b8),{}))());class PacketMessage extends _0x2f3fee{['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(_0x2dee1f,_0x462350,_0x17b095,_0x5a831b='/',_0x1d5acc){super(),this['type']=_0x2dee1f,this['data']=_0x462350,this['id']=_0x17b095,this['nsp']=_0x5a831b,this['options']=_0x1d5acc??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 _0x3c6432=_0x53d826['encode'](this['options']),_0x5ebf87=_0x53d826['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x5ebf87,'options':_0x3c6432};}static['fromJSON'](_0x5c8a66){const _0x271713=Math['floor'](_0x5c8a66['type']/0xa);return new PacketMessage(_0x5c8a66['type']-0xa*_0x271713,_0x53d826['decode'](_0x5c8a66['data'],_0x582891[_0x271713]),_0x5c8a66['id'],_0x5c8a66['nsp'],_0x5c8a66['options']?_0x53d826['decode'](_0x5c8a66['options'],PacketOptionsMessage):new PacketOptionsMessage());}static['create'](_0x55b5ca,_0x53e3e5={}){const _0x4684f9=ParserUtils['getPacketType'](ParserUtils['getType'](_0x55b5ca['data'][0x0]),ParserUtils['getType'](_0x55b5ca['data'][0x1]??_0x55b5ca['data'][0x0]));return new PacketMessage(_0x55b5ca['type'],_0x582891[_0x4684f9]['create'](_0x55b5ca['data'][0x0],_0x55b5ca['data'][0x1]),_0x55b5ca['id'],_0x55b5ca['nsp'],new PacketOptionsMessage(_0x53e3e5['flags'],_0x53e3e5['rooms'],_0x53e3e5['except']));}}class PacketParser{['encode'](_0x69365d,_0x49aaa2,_0xd2f15e,_0x5dc2e8='/',_0x4fa6c5={}){if(_0x49aaa2['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x1f4396={'type':_0x69365d,'data':_0x49aaa2,'id':_0xd2f15e,'nsp':_0x5dc2e8};return _0x53d826['encode'](PacketMessage['create'](_0x1f4396,_0x4fa6c5));}['decode'](_0x1143b0){const _0x110c21=_0x53d826['decode'](_0x1143b0,PacketMessage);return{'packet':{'id':_0x110c21['id'],'type':_0x110c21['type'],'data':_0x110c21['packetData'],'nsp':_0x110c21['nsp']},'options':{'flags':_0x110c21['options']['flags'],'rooms':_0x110c21['options']['rooms'],'except':_0x110c21['options']['except']}};}}const _0x235a5f=/* #__PURE__ -- @preserve */
((()=>[PacketType['EVENT'],PacketType['ACK'],PacketType['BINARY_ACK'],PacketType['BINARY_EVENT']])());class _0xa0d754 extends _0xd40db2{['_packetParser'];constructor(_0x57a6e9){super(),this['_packetParser']=_0x57a6e9??new PacketParser();}['encode'](_0x156f26){if(_0x235a5f['includes'](_0x156f26['type']))try{return[this['_packetParser']['encode'](_0x156f26['type'],_0x156f26['data'],_0x156f26['id'],_0x156f26['nsp'])];}catch(_0x52e1f3){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0x52e1f3['message']}});}return super['encode'](_0x156f26);}}class _0x6de9a4 extends _0x46079b{['_packetParser'];constructor(_0x5dda41){super(),this['_packetParser']=_0x5dda41??new PacketParser();}['add'](_0x891d0){if(!ParserUtils['isBuffer'](_0x891d0))return super['add'](_0x891d0);let _0x36d2cf;try{_0x36d2cf=this['_packetParser']['decode'](_0x891d0)['packet'];}catch(_0x3e209e){return super['add'](_0x891d0);}super['emitReserved']('decoded',_0x36d2cf);}}class WebSocketRequest{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
_0xfb9241();['timeout'];constructor(_0x46aeaf,_0x596b85){this['_context']=_0x46aeaf,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),_0x596b85);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x2251fe){this['_deferredPromise']['resolve'](_0x2251fe);}['error'](_0x37ac1b){this['_deferredPromise']['reject'](_0x37ac1b);}}class WebSocketGatewayRequestsManager{['_context'];['_requests']=new Set();constructor(_0x1f2659){this['_context']=_0x1f2659;}async['send'](_0x4ba7e5,_0x5cac98=0xafc8){const _0x5630a8=this['_createRequest'](_0x5cac98);try{return _0x4ba7e5(_0x5630a8),await _0x5630a8['promise'];}finally{this['_finishRequest'](_0x5630a8);}}['errorAll'](_0x1dfba4){for(const _0x42701d of this['_requests'])_0x42701d['error'](_0x1dfba4);}['waitForAllRequests'](_0x1ca811=0xafc8){return this['_waitForRequests'](_0x1ca811);}['_createRequest'](_0x38af15){const _0x21aa11=new WebSocketRequest(this['_context'],_0x38af15);return this['_requests']['add'](_0x21aa11),_0x21aa11;}['_finishRequest'](_0x3e7ec9){this['_requests']['delete'](_0x3e7ec9),clearTimeout(_0x3e7ec9['timeout']);}async['_waitForRequests'](_0x30cfe2=0x1388,_0x56930b=0x0){return!this['_requests']['size']||_0x56930b>=_0x30cfe2/0x1f4?Promise['resolve']():(await new Promise(_0x26b6c6=>{setTimeout(_0x26b6c6,0x1f4);}),this['_waitForRequests'](_0x30cfe2,_0x56930b++));}}function _0xfb9241(){let _0x183363,_0x20578a;const _0x4ada10=new Promise((_0x3bf2d9,_0x29943d)=>{_0x183363=_0x3bf2d9,_0x20578a=_0x29943d;});return{'resolve':_0x183363,'reject':_0x20578a,'promise':_0x4ada10};}const _0x4009dd={'DISCONNECTED':'disconnected','CONNECTING':'connecting','CONNECTED':'connected'};let WebSocketGateway$1=class _0x316bf2 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x4009dd['DISCONNECTED'])());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
((()=>_0x4009dd['CONNECTING'])());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x4009dd['CONNECTED'])());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
((()=>ckeditor5['priorities']['get']('highest')+0xf423f)());constructor(_0x3e61fc,_0x252162,_0x3db2bb,_0x3d40c1,_0x1aa075){if(super(),this['_token']=_0x252162,this['_options']=_0x3db2bb??{},this['_connectionProvider']=_0x3d40c1??_0x15e3cd,this['_userFactory']=_0x1aa075??_0x46d2aa['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x3e61fc)throw new TypeError('Api\x20address\x20must\x20be\x20provided.');if(!this['_token'])throw new TypeError('Token\x20must\x20be\x20provided.');this['_options']['requestTimeout']||(this['_options']['requestTimeout']=0x4e20),this['_url']=urlParseExports(_0x3e61fc['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',_0x4009dd['DISCONNECTED']),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0x1a1ac8,_0x1965a,_0x5f25f4)=>{if(this['_debugEvent']('ws-gw:change:state',_0x5f25f4),_0x5f25f4!==_0x316bf2['STATE_CONNECTED']){if(_0x5f25f4===_0x316bf2['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new CKEditorCloudServicesError('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](_0x46d2aa,this,this['_socketAuth']?.['userId']);}catch(_0x4d1047){}},{'priority':_0x316bf2['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0x2ed91b,_0x346281)=>{this['_options']['onError']?this['_options']['onError'](_0x346281):console['error'](_0x346281);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0x412892){return this['_requestsManager']['waitForAllRequests'](_0x412892);}['disconnect'](){this['state']!==_0x4009dd['DISCONNECTED']&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=_0x4009dd['DISCONNECTED']);}async['reconnect'](){this['_socket']||this['state']!==_0x4009dd['DISCONNECTED']||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0x4050c8,_0x377dfa='local.cs.dev:443/ws-v2',_0x205059={},_0x55e4b0=_0x15e3cd,_0x1db300=_0x46d2aa['get']){const _0xca4871=new _0x316bf2(_0x377dfa,_0x4050c8,_0x205059,_0x55e4b0,_0x1db300);return await _0xca4871['_connect'](),_0xca4871;}['_sendRequest'](_0x5d610f,_0x13468f,_0xa570ee){if(!_0x5d610f)throw new CKEditorCloudServicesError('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==_0x316bf2['STATE_CONNECTED'])throw new CKEditorCloudServicesError('Not\x20connected.',this);if(!this['_socketAuth']||!this['_socketAuth']['isAuthenticated'])throw new CKEditorCloudServicesError('Not\x20authenticated.',this);const _0x112822=new ArrayBuffer(_0xa570ee['length']+0x2),_0x5d5f22=new Uint8Array(_0x112822);return _0x5d5f22[0x0]=_0x5d610f,_0x5d5f22[0x1]=parseInt(_0x13468f),_0x5d5f22['set'](_0xa570ee,0x2),this['_emit'](0x1,_0x5d5f22);}['_getChannel'](_0x21ff49,_0x1fe443){const _0x2cf6cb=''+_0x21ff49+_0x1fe443;return!this['_channels']['has'](_0x2cf6cb)&&this['_socket']&&this['_channels']['set'](_0x2cf6cb,new _0x2c58b9(_0x2cf6cb,this,this['_socket'])),this['_channels']['get'](_0x2cf6cb);}['_connect'](){return new Promise((_0x3d134b,_0x4f3c6b)=>{const _0x31d819=this['_setupSocket']();!this['socketId']&&_0x31d819['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x4f3c6b);}),_0x31d819['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x3d134b();}catch(_0x40b5c5){_0x4f3c6b(_0x40b5c5);}}),_0x31d819['connect']();});}['_getPortByProtocol'](_0x706db5){return['http:','ws:']['includes'](_0x706db5)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x1437aa=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x1f655b=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x1437aa,_0xeee018=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0x4d95b0=this['_connectionProvider'](_0x1f655b,{'parser':{'Encoder':_0xa0d754,'Decoder':_0x6de9a4},'path':_0xeee018+'/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':'53.0.3'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=_0x4009dd['CONNECTING'],_0x4d95b0['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0x4d95b0['id'];}),_0x4d95b0['on']('connect_error',_0x1dac43=>{this['_debugEvent']('connect_error',_0x1dac43);}),_0x4d95b0['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0x4d95b0['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0x4d95b0['io']['on']('reconnect_attempt',_0x326813=>{this['_debugEvent']('reconnect_attempt',_0x326813),this['state']=_0x4009dd['CONNECTING'],this['_connectionAttempt']=_0x326813;}),_0x4d95b0['on']('unauthorized',_0x40adc0=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x40adc0);}),_0x4d95b0['on']('authenticationRequest',async _0x5dc699=>{this['_debugEvent']('authenticationRequest',_0x5dc699['attempt']),await this['_onReconnect']();}),this['_socket']=_0x4d95b0,_0x4d95b0;}['_emit'](_0x855ff2,_0x144866){const _0xa8493c=this['_socket'];return this['_requestsManager']['send'](_0xb443af=>{_0xa8493c['emit'](_0x855ff2,_0x144866,(_0x161297,_0x51dedb)=>{if(_0x161297)return _0xb443af['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x161297));_0xb443af['response'](_0x51dedb);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x529377,_0x549042){this['_socketAuth']={'environmentId':_0x529377,'userId':_0x549042,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=_0x4009dd['CONNECTED'];const _0x2f1348=async(_0x4670d1,_0xd51134,_0x34db53)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x34db53);}catch(_0x2a8abe){}};this['_token']['on']('change:value',_0x2f1348),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x2f1348);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=_0x4009dd['DISCONNECTED'],this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x26eb88 of this['_channels']['values']())_0x26eb88['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0x349c12,_0x4b6d59){if(!this['_isDebugModeEnabled']())return;const _0x4f7fe8=void 0x0!==_0x4b6d59?',\x20data:\x20'+_0x4b6d59:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0x349c12+_0x4f7fe8);}['_reconnectionAttemptError'](_0x12da71){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x12da71(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:_0x5445e8}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x5445e8));}async['_authenticate'](_0x1617ee){try{this['_debugEvent']('authenticate:start');const _0x3f4977=await this['_emit'](0x2,{'token':_0x1617ee});this['_debugEvent']('authenticate:success','envId:\x20'+_0x3f4977['environmentId']+',\x20userId:\x20'+_0x3f4977['userId']),this['_addAuthData'](_0x3f4977['environmentId'],_0x3f4977['userId']);}catch(_0x520090){throw this['_debugEvent']('authenticate:error',_0x520090['message']),this['_removeAuthData'](),_0x520090;}}['_isDebugModeEnabled'](){return!!ckeditor5['global']['window']['localStorage']&&'true'===(ckeditor5['global']['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}};class IsEditorBundleUploadedMessage extends _0x2f3fee{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x6ea11b){super(),this['bundleVersion']=_0x6ea11b;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0x13ff50){return new IsEditorBundleUploadedMessage(_0x13ff50['bundleVersion']);}}class IsEditorBundleUploadedResponse extends _0x2f3fee{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x2e5578){super(),this['isUploaded']=_0x2e5578;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x416bec){return new IsEditorBundleUploadedResponse(_0x416bec['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x2de8d5,_0x2fdccd){const _0x3ede33=new IsEditorBundleUploadedMessage(_0x2fdccd);if(_0x2de8d5['state']!==_0x4009dd['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x2de8d5);const _0x481186=await _0x2de8d5['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],_0x53d826['encode'](_0x3ede33));return _0x53d826['decode'](_0x481186,IsEditorBundleUploadedResponse)['isUploaded'];}}class RevisionHistoryGetRevisionMessage extends _0x2f3fee{['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(_0xee459c,_0x1bc4e6){super(),this['documentId']=_0xee459c,this['revisionId']=_0x1bc4e6;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x18bbf1){return new RevisionHistoryGetRevisionMessage(_0x18bbf1['documentId'],_0x18bbf1['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'](_0x414a61){return{'revisionId':_0x414a61['id'],'name':_0x414a61['name'],'creatorId':_0x414a61['creatorId'],'createdAt':_0x414a61['createdAt'],'fromVersion':_0x414a61['fromVersion'],'toVersion':_0x414a61['toVersion'],'isEmptyCurrent':_0x414a61['isEmptyCurrent'],'diffData':_0x414a61['diffData']?JSON['stringify'](_0x414a61['diffData']):void 0x0,'attributes':_0x414a61['attributes'],'authorsIds':_0x414a61['authorsIds']};}static['toJSON'](_0x20b732){return{'revisionId':_0x20b732['revisionId'],'name':_0x20b732['name'],'creatorId':_0x20b732['creatorId'],'authorsIds':_0x20b732['authorsIds']?JSON['stringify'](_0x20b732['authorsIds']):void 0x0,'diffData':_0x20b732['diffData'],'createdAt':_0x20b732['createdAt']?.['toISOString'](),'attributes':_0x20b732['attributes']?JSON['stringify'](_0x20b732['attributes']):void 0x0,'toVersion':_0x20b732['toVersion'],'fromVersion':_0x20b732['fromVersion'],'isEmptyCurrent':_0x20b732['isEmptyCurrent']};}static['fromJSON'](_0x16e172){return{'revisionId':(_0x16e172={..._0x16e172})['revisionId'],'name':_0x16e172['name'],'creatorId':_0x16e172['creatorId'],'authorsIds':_0x16e172['authorsIds']?JSON['parse'](_0x16e172['authorsIds']):void 0x0,'diffData':_0x16e172['diffData'],'createdAt':_0x16e172['createdAt']?new Date(_0x16e172['createdAt']):void 0x0,'attributes':_0x16e172['attributes']?JSON['parse'](_0x16e172['attributes']):void 0x0,'toVersion':_0x16e172['toVersion'],'fromVersion':_0x16e172['fromVersion'],'isEmptyCurrent':_0x16e172['isEmptyCurrent']};}static['toObject'](_0x346ffb){return function(_0x5d17c7){for(const [_0x466865,_0x7d8f4]of Object['entries'](_0x5d17c7))void 0x0===_0x7d8f4&&delete _0x5d17c7[_0x466865];return _0x5d17c7;}({'id':_0x346ffb['revisionId'],'name':_0x346ffb['name'],'creatorId':_0x346ffb['creatorId'],'createdAt':_0x346ffb['createdAt'],'fromVersion':_0x346ffb['fromVersion'],'toVersion':_0x346ffb['toVersion'],'isEmptyCurrent':_0x346ffb['isEmptyCurrent'],'diffData':_0x346ffb['diffData']?JSON['parse'](_0x346ffb['diffData']):void 0x0,'attributes':_0x346ffb['attributes'],'authorsIds':_0x346ffb['authorsIds']});}}class RevisionHistoryGetRevisionResponse extends _0x2f3fee{['revisionId'];['name'];['creatorId'];['authorsIds'];['createdAt'];['diffData'];['attributes'];['fromVersion'];['toVersion'];['isEmptyCurrent'];static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(_0x23e85b,_0x1c9ad4,_0x44f908,_0x108167,_0x28ecc3,_0x3a22e5,_0x32392c,_0x4afdd5,_0x4553bc,_0x52e728){super(),this['revisionId']=_0x23e85b,this['name']=_0x1c9ad4,this['creatorId']=_0x44f908,this['authorsIds']=_0x108167,this['createdAt']=_0x28ecc3,this['diffData']=_0x3a22e5,this['attributes']=_0x32392c,this['fromVersion']=_0x4afdd5,this['toVersion']=_0x4553bc,this['isEmptyCurrent']=_0x52e728;}['toJSON'](){return RevisionDescriptor['toJSON'](this);}['toObject'](){return RevisionDescriptor['toObject'](this);}static['create'](_0x3d0bb0){return new RevisionHistoryGetRevisionResponse(_0x3d0bb0['revisionId'],_0x3d0bb0['name'],_0x3d0bb0['creatorId'],_0x3d0bb0['authorsIds'],_0x3d0bb0['createdAt'],_0x3d0bb0['diffData'],_0x3d0bb0['attributes'],_0x3d0bb0['fromVersion'],_0x3d0bb0['toVersion'],_0x3d0bb0['isEmptyCurrent']);}static['fromJSON'](_0x25d032){return new RevisionHistoryGetRevisionResponse(_0x25d032['revisionId'],_0x25d032['name'],_0x25d032['creatorId'],_0x25d032['authorsIds']?JSON['parse'](_0x25d032['authorsIds']):void 0x0,_0x25d032['createdAt']?new Date(_0x25d032['createdAt']):void 0x0,_0x25d032['diffData'],_0x25d032['attributes']?JSON['parse'](_0x25d032['attributes']):void 0x0,_0x25d032['fromVersion'],_0x25d032['toVersion'],_0x25d032['isEmptyCurrent']);}}class RevisionHistoryUpdateRevisionsMessage extends _0x2f3fee{['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(_0x1de00f,_0x56332c,_0x363377){super(),this['documentId']=_0x1de00f,this['requestId']=_0x56332c,this['revisions']=_0x363377;}['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'](_0x1cb976){return new RevisionHistoryUpdateRevisionsMessage(_0x1cb976['documentId'],_0x1cb976['requestId'],_0x1cb976['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0x1547d1){return new RevisionHistoryUpdateRevisionsMessage(_0x1547d1['documentId'],_0x1547d1['requestId'],_0x1547d1['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends _0x2f3fee{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x36379e){super(),this['requestId']=_0x36379e;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0x5a8918){return new RevisionHistoryUpdateRevisionsResponse(_0x5a8918['requestId']);}}class RevisionHistoryConnectMessage extends _0x2f3fee{['documentId'];static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x91ac26){super(),this['documentId']=_0x91ac26;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x3a4299){return new RevisionHistoryConnectMessage(_0x3a4299['documentId']);}}class RevisionHistoryConnectResponse extends _0x2f3fee{['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(_0x1ac8d2,_0x85db34,_0x5fd863){super(),this['channel']=_0x1ac8d2,this['requestId']=_0x85db34,this['revisions']=_0x5fd863;}['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'](_0x2abd64){return new RevisionHistoryConnectResponse(_0x2abd64['channel'],_0x2abd64['requestId'],_0x2abd64['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryReconnectMessage extends _0x2f3fee{['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(_0xe3d39a,_0x51a65f){super(),this['documentId']=_0xe3d39a,this['requestId']=_0x51a65f;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x29caa5){return new RevisionHistoryReconnectMessage(_0x29caa5['documentId'],_0x29caa5['requestId']);}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x4c134b,_0x5a46d3){super(_0x4c134b+'\x20Service\x20is\x20not\x20connected.',_0x5a46d3);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0x5efcb1){super(),this['_documentId']=_0x5efcb1;}get['isConnected'](){return this['_isConnected'];}['connect'](_0x2988fe){return this['_isConnected']?Promise['resolve']():this['_connect'](_0x2988fe,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'](_0x362875,_0x36baaf){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x362875);return this['_connect'](_0x362875,new RevisionHistoryReconnectMessage(this['_documentId'],_0x36baaf));}async['updateRevisions'](_0x5c0ce2,_0xebe9ef){const _0x14607b=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':_0xebe9ef,'revisions':_0x5c0ce2}),_0x442e85=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x14607b),{requestId:_0x3c6923}=_0x53d826['decode'](_0x442e85,RevisionHistoryUpdateRevisionsResponse);return _0x3c6923;}async['getRevision'](_0x448471){const _0x5c68bf=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x448471),_0x33f403=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x5c68bf);return _0x53d826['decode'](_0x33f403,RevisionHistoryGetRevisionResponse)['toObject']();}async['_connect'](_0x2331b8,_0x1a4b3e){if(_0x2331b8['state']!==_0x4009dd['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x2331b8);this['_wsGateway']=_0x2331b8,this['stopListening'](_0x2331b8,'change:state');const _0xe3c603=await _0x2331b8['_sendRequest'](0xc,_0x1a4b3e['constructor']['TYPE'],_0x53d826['encode'](_0x1a4b3e)),{channel:_0xe44087,requestId:_0x271476,revisions:_0x521a6e}=_0x53d826['decode'](_0xe3c603,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](_0x2331b8,'change:state',(_0x54380f,_0x5c6614,_0x180198)=>this['_onWsGatewayStateChange'](_0x180198),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x2331b8,_0xe44087),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0x521a6e,'requestId':_0x271476};}['_connectToChannel'](_0x21db0c,_0x105224){this['_channel']=_0x21db0c['_getChannel'](RevisionHistoryService['_SERVICE'],_0x105224),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(_0x101a11,_0x4dd137)=>{const {documentId:_0x1bc117,requestId:_0x4333e8,revisions:_0xae6b31}=_0x53d826['decode'](_0x4dd137,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x1bc117,'requestId':_0x4333e8,'revisionsData':_0xae6b31});});}['_onWsGatewayStateChange'](_0x220509){_0x220509===_0x4009dd['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x203097,_0x25f0a2){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0x203097,_0x53d826['encode'](_0x25f0a2));}}class AddSuggestionMessage extends _0x2f3fee{['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(_0x4e8c6f,_0x235d06,_0x13c278,_0x501233={},_0x2cbb40=null,_0x21e8ea=null){super(),this['id']=_0x4e8c6f,this['documentId']=_0x235d06,this['type']=_0x13c278,this['data']=_0x501233,this['originalSuggestionId']=_0x2cbb40,this['attributes']=_0x21e8ea;}['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'](_0x986513){return new AddSuggestionMessage(_0x986513['id'],_0x986513['documentId'],_0x986513['type'],JSON['parse'](_0x986513['data']),_0x986513['originalSuggestionId']??null,_0x986513['attributes']?JSON['parse'](_0x986513['attributes']):null);}}class AddSuggestionResponse extends _0x2f3fee{['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(_0x51f41b,_0x18bb0e,_0x2f6bde,_0x3640be,_0x3cee6c,_0x27a655,_0x1032cc={},_0x5e1a5d=null){super(),this['id']=_0x51f41b,this['authorId']=_0x18bb0e,this['type']=_0x2f6bde,this['hasComments']=_0x3cee6c,this['state']=_0x27a655,this['data']=_0x1032cc,this['attributes']=_0x5e1a5d,this['createdAt']=_0x3640be?new Date(_0x3640be):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'](_0x3a531e){return new AddSuggestionResponse(_0x3a531e['id'],_0x3a531e['authorId'],_0x3a531e['type'],_0x3a531e['createdAt'],_0x3a531e['hasComments'],_0x3a531e['state'],JSON['parse'](_0x3a531e['data']),_0x3a531e['attributes']?JSON['parse'](_0x3a531e['attributes']):null);}}class GetSuggestionMessage extends _0x2f3fee{['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(_0x50ef05,_0x41ff5d){super(),this['id']=_0x50ef05,this['documentId']=_0x41ff5d;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0x571f69){return new GetSuggestionMessage(_0x571f69['id'],_0x571f69['documentId']);}}class GetSuggestionResponse extends _0x2f3fee{['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(_0x4619ea,_0x51f878,_0x44cebe,_0x414bee,_0x33f33f,_0x5dfc6f,_0x5eb06b={},_0x17f756=null){super(),this['id']=_0x4619ea,this['authorId']=_0x51f878,this['type']=_0x44cebe,this['hasComments']=_0x33f33f,this['state']=_0x5dfc6f,this['data']=_0x5eb06b,this['attributes']=_0x17f756,this['createdAt']=new Date(_0x414bee);}['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'](_0x8fbaca){return new GetSuggestionResponse(_0x8fbaca['id'],_0x8fbaca['authorId'],_0x8fbaca['type'],_0x8fbaca['createdAt'],_0x8fbaca['hasComments'],_0x8fbaca['state'],JSON['parse'](_0x8fbaca['data']),_0x8fbaca['attributes']?JSON['parse'](_0x8fbaca['attributes']):null);}}class GetAllSuggestionsMessage extends _0x2f3fee{['documentId'];static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x310578){super(),this['documentId']=_0x310578;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x30e41f){return new GetAllSuggestionsMessage(_0x30e41f['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'](_0x14190b){return{..._0x14190b,'data':_0x14190b['data']?JSON['stringify'](_0x14190b['data']):_0x14190b['data'],'attributes':_0x14190b['attributes']?JSON['stringify'](_0x14190b['attributes']):_0x14190b['attributes'],'createdAt':_0x14190b['createdAt']?.['toISOString']()};}static['fromJSON'](_0x4765b8){return{..._0x4765b8,'data':_0x4765b8['data']?JSON['parse'](_0x4765b8['data']):_0x4765b8['data'],'attributes':_0x4765b8['attributes']?JSON['parse'](_0x4765b8['attributes']):_0x4765b8['attributes'],'createdAt':_0x4765b8['createdAt']?new Date(_0x4765b8['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends _0x2f3fee{['_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(_0x1d8e70,_0x52d4ba){super(),this['_suggestions']=_0x1d8e70,this['_suggestionsV2']=_0x52d4ba,this['suggestions']=_0x52d4ba?.['length']?_0x52d4ba:_0x1d8e70;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0x26b159=>JSON['stringify'](_0x26b159)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x59751e){return new GetAllSuggestionResponse(_0x59751e['suggestions']?.['map'](_suggestionFromString),_0x59751e['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function _suggestionFromString(_0x23eafb){const _0x3c16f3=JSON['parse'](_0x23eafb);return _0x3c16f3['createdAt']=_0x3c16f3['createdAt']?new Date(_0x3c16f3['createdAt']):void 0x0,_0x3c16f3;}class UpdateSuggestionMessage extends _0x2f3fee{['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(_0x3dd4d5,_0x283e58,_0x81c09a,_0xe85b72,_0x1909f3,_0x238f0a=null){super(),this['id']=_0x3dd4d5,this['documentId']=_0x283e58,this['hasComments']=_0x81c09a,this['isHasCommentsModified']=_0xe85b72,this['state']=_0x1909f3,this['attributes']=_0x238f0a;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x1da7de){return new UpdateSuggestionMessage(_0x1da7de['id'],_0x1da7de['documentId'],_0x1da7de['hasComments'],_0x1da7de['isHasCommentsModified'],_0x1da7de['state'],_0x1da7de['attributes']?JSON['parse'](_0x1da7de['attributes']):null);}}let ConnectMessage$1=class _0x92070a extends _0x2f3fee{['documentId'];static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x2817aa){super(),this['documentId']=_0x2817aa;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x314f5f){return new _0x92070a(_0x314f5f['documentId']);}},ConnectResponse$1=class _0x4f6cca extends _0x2f3fee{['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(_0x5efb0d,_0x116f94,_0x376f9b){super(),this['channel']=_0x5efb0d,this['_suggestions']=_0x116f94,this['_suggestionsV2']=_0x376f9b,this['suggestions']=_0x376f9b?.['length']?_0x376f9b:_0x116f94;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x9808d5=>JSON['stringify'](_0x9808d5)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x29d138){return new _0x4f6cca(_0x29d138['channel'],_0x29d138['suggestions']?.['map'](_0x57877d=>JSON['parse'](_0x57877d)),_0x29d138['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends _0x2f3fee{['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(_0x403f59,_0x6c412e,_0x530042){super(),this['ids']=_0x403f59,this['documentId']=_0x6c412e,this['state']=_0x530042;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0x1725f3){return new BatchUpdateSuggestionsStateMessage(_0x1725f3['ids'],_0x1725f3['documentId'],_0x1725f3['state']);}}class _0x188116 extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0x9f8602){super(),this['_documentId']=_0x9f8602;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x2453a4){if(this['_isConnected'])return;if(_0x2453a4['state']!==_0x4009dd['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x2453a4);const _0xa4fe23=new ConnectMessage$1(this['_documentId']);this['_wsGateway']=_0x2453a4,this['stopListening'](_0x2453a4,'change:state');const _0x510ec5=await _0x2453a4['_sendRequest'](0xa,ConnectMessage$1['TYPE'],_0x53d826['encode'](_0xa4fe23)),_0x4f4ba4=_0x53d826['decode'](_0x510ec5,ConnectResponse$1);return this['listenTo'](_0x2453a4,'change:state',(_0x329e35,_0x24fcf0,_0x5494c6)=>this['_onWsGatewayStateChange'](_0x5494c6),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x2453a4,_0x4f4ba4['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x4f4ba4['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'](_0x71a225,_0x5a87b5,_0x5a5cb3,_0x17d66b=null,_0x137494){const _0x51c9e0=new AddSuggestionMessage(_0x71a225,this['_documentId'],_0x5a87b5,_0x5a5cb3,_0x17d66b,_0x137494),_0x28e526=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x51c9e0);return _0x53d826['decode'](_0x28e526,AddSuggestionResponse);}async['get'](_0x61b0b,_0x38bab9=0x1){const _0x33b9ac=new GetSuggestionMessage(_0x61b0b,this['_documentId']);try{const _0x2aa4d6=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x33b9ac);return _0x53d826['decode'](_0x2aa4d6,GetSuggestionResponse);}catch(_0x2b7030){if('CKEditorCloudServicesServerError'===_0x2b7030['name']&&'404'===_0x2b7030['code']&&_0x38bab9<0x5)return await(_0x5e1618=0x64*_0x38bab9,new Promise(_0xf8f1a1=>{setTimeout(_0xf8f1a1,_0x5e1618);})),this['get'](_0x61b0b,_0x38bab9+0x1);if('CKEditorCloudServicesServerError'===_0x2b7030['name'])throw _0x2b7030;throw CKEditorCloudServicesServerError['fromPublicError'](_0x2b7030);}var _0x5e1618;}async['getAll'](){const _0x6980ca=new GetAllSuggestionsMessage(this['_documentId']),_0xce5d61=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x6980ca),{suggestions:_0x33a395}=_0x53d826['decode'](_0xce5d61,GetAllSuggestionResponse);return _0x33a395;}async['update'](_0x206789,_0x53ed45={}){const {hasComments:_0x2cf4c1,state:_0x25e0d6,attributes:_0x53812c}=_0x53ed45,_0x75489c=void 0x0!==_0x2cf4c1,_0x14b185=new UpdateSuggestionMessage(_0x206789,this['_documentId'],_0x2cf4c1,_0x75489c,_0x25e0d6,_0x53812c);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x14b185);}async['batchUpdateState'](_0x2da0f8){const _0x8a4cdf=new BatchUpdateSuggestionsStateMessage(_0x2da0f8['ids'],this['_documentId'],_0x2da0f8['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x8a4cdf);}['_connectToChannel'](_0x4481ff,_0x3319e2){this['_channel']=_0x4481ff['_getChannel'](_0x188116['_SERVICE'],_0x3319e2),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(_0x155f45,_0x3ad354)=>{const _0x891d8f=_0x53d826['decode'](_0x3ad354,UpdateSuggestionMessage);this['fire']('suggestionUpdated',_0x891d8f);});}['_onWsGatewayStateChange'](_0x109e31){_0x109e31===_0x4009dd['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0xc17cd4,_0x23084c){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0xc17cd4,_0x53d826['encode'](_0x23084c));}}class SessionsConnectResponse extends _0x2f3fee{['channel'];['sockets'];static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x439b5a,_0x45cfcd=[]){super(),this['channel']=_0x439b5a,this['sockets']=_0x45cfcd;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0x5cb62a=>({'user':_0x5cb62a['userId'],'session':_0x5cb62a['id'],'role':_0x5cb62a['role'],'permissions':_0x5cb62a['permissions']}))};}static['fromJSON'](_0x576275){return new SessionsConnectResponse(_0x576275['channel'],_0x576275['sockets']['map'](_0x49888f=>({'id':_0x49888f['session'],'userId':_0x49888f['user'],'role':_0x49888f['role'],'permissions':_0x49888f['permissions']})));}}class SessionsConnectMessage extends _0x2f3fee{['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(_0x4cc7d9,_0x5770b1){super(),this['id']=_0x4cc7d9,this['sessionType']=_0x5770b1;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x14e4a8){return new SessionsConnectMessage(_0x14e4a8['id'],_0x14e4a8['sessionType']);}}class SocketConnectMessage extends _0x2f3fee{['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(_0x201b75,_0x4a4886,_0x1b5dd0,_0x536fff){super(),this['id']=_0x201b75,this['userId']=_0x4a4886,this['role']=_0x1b5dd0,this['permissions']=_0x536fff;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x273ff3){return new SocketConnectMessage(_0x273ff3['id'],_0x273ff3['userId'],_0x273ff3['role'],_0x273ff3['permissions']);}}class SocketDisconnectMessage extends _0x2f3fee{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x1b6289){super(),this['id']=_0x1b6289;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x3a3e70){return new SocketDisconnectMessage(_0x3a3e70['id']);}}class SessionCollection extends ckeditor5['Collection']{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0xdc8d7e,_0x1099c3){super({'idProperty':'id'}),this['_id']=_0xdc8d7e,this['_sessionType']=_0x1099c3;}async['connect'](_0x194bf4){this['_wsGateway']=_0x194bf4,this['stopListening'](_0x194bf4,'change:state');const _0x5f5a03=new SessionsConnectMessage(this['_id'],this['_sessionType']);let _0x23298f;try{const _0x21ad0f=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],_0x53d826['encode'](_0x5f5a03));_0x23298f=_0x53d826['decode'](_0x21ad0f,SessionsConnectResponse);}catch(_0x59c2e0){_0x23298f=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x23298f['channel'],this['_sessionType']);const _0x576340=await async function(_0x341bd1,_0x39c481){const _0x43f77f=_0x39c481['map'](_0xcf7d22=>_0xcf7d22['userId']),_0xa65a9d=_0x43f77f['length']?await _0x46d2aa['getMany'](_0x341bd1,_0x43f77f):[];return _0x39c481['map'](_0x2675d0=>{const _0x1e38c0={'id':_0x2675d0['id'],'role':_0x2675d0['role'],'permissions':_0x2675d0['permissions']};return _0x1e38c0['user']=_0x2675d0['userId']&&_0xa65a9d['find'](_0x14a897=>_0x14a897['id']===_0x2675d0['userId'])||new _0x46d2aa(),_0x1e38c0;});}(this['_wsGateway'],_0x23298f['sockets']);for(const _0x1f3629 of _0x576340)super['add'](_0x1f3629);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x2666f5,_0x159a52,_0x1c149c)=>this['_onWsGatewayStateChange'](_0x1c149c),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x5cdb46=!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']&&_0x5cdb46&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x5cdb46&&this['stopListening']();}}['add'](_0x27f086,_0x463a12){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x3d97ab){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0x2130a8,_0x4eeb41,_0x39dfa5){this['_channel']=_0x2130a8['_getChannel'](_0x39dfa5,_0x4eeb41),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async _0x6f9b79=>{const _0x3433da=_0x53d826['decode'](_0x6f9b79,SocketConnectMessage);if(-0x1===this['getIndex'](_0x3433da['id'])){const _0x2d2877={'id':_0x3433da['id'],'role':_0x3433da['role'],'permissions':_0x3433da['permissions']};_0x3433da['userId']&&(_0x2d2877['user']=await _0x46d2aa['get'](_0x2130a8,_0x3433da['userId'])),super['add'](_0x2d2877);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],_0x4acb21=>{const _0x3fea0e=_0x53d826['decode'](_0x4acb21,SocketDisconnectMessage);-0x1!==this['getIndex'](_0x3fea0e['id'])&&super['remove'](_0x3fea0e['id']);}));}async['_onWsGatewayStateChange'](_0x3ecb51){_0x3ecb51===WebSocketGateway$1['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x3ecb51===WebSocketGateway$1['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0x39e36e;for(this['_isRunning']=!0x0;_0x39e36e=this['_eventsQueue']['shift']();){const _0x23133a=this['_handlers']['get'](_0x39e36e['eventName']);_0x23133a&&await _0x23133a(_0x39e36e['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x468bbe,_0x24dbc3,_0x5e6b8f){const _0x25bd1c=_0x468bbe['getEventName'](_0x24dbc3,!0x0);this['listenTo'](_0x468bbe,_0x25bd1c,async(_0x32abc8,_0x642ff5)=>{const _0x2b8a04=_0x32abc8['name'];this['_eventsQueue']['push']({'eventName':_0x2b8a04,'data':_0x642ff5}),await this['_runQueue']();}),this['_handlers']['set'](_0x25bd1c,_0x5e6b8f);}}let _0x30e5ee=class{static async['getConnectedSessions'](_0xcb5a3,_0x42523a,_0x496242){const _0x357ed4=new SessionCollection(_0x42523a,_0x496242);return await _0x357ed4['connect'](_0xcb5a3),_0x357ed4;}};class CollaborativeEditingConnectMessage extends _0x2f3fee{['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(_0x533fc2,_0x395024,_0xa209ca,_0x23adcd,_0x3a3187=''){super(),this['id']=_0x533fc2,this['buffers']=_0x395024,this['types']=_0xa209ca,this['bundleVersion']=_0x23adcd,this['lastOperationId']=_0x3a3187;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x330104){return new CollaborativeEditingConnectMessage(_0x330104['id'],_0x330104['buffers'],_0x330104['types'],_0x330104['bundleVersion'],_0x330104['lastOperationId']);}}class OperationMetadataHelpers{static['prepareMetadataForOperations'](_0x25a5a1,_0xfeb19b){if(!_0x25a5a1?.['length']||!_0xfeb19b?.['length'])return[];const _0x154c30=[];let _0x30c612=0x0;for(const _0x247cb8 of _0x25a5a1)if(0x0!==_0x247cb8){if(!_0xfeb19b[_0x30c612])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x154c30['push'](_0xfeb19b[_0x30c612]),_0x30c612++;}else _0x154c30['push'](_0x154c30[_0x154c30['length']-0x1]);return _0x154c30;}static['removeUnnecessaryMetadata'](_0x2a36dc,_0x2d76cb){if(!_0x2a36dc?.['length']||!_0x2d76cb?.['length'])return[];const _0x3ab824=[];for(let _0x2d2678=0x0;_0x2d2678<_0x2a36dc['length'];_0x2d2678++)if(0x0!==_0x2a36dc[_0x2d2678]){if(!_0x2d76cb[_0x2d2678])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x3ab824['push'](_0x2d76cb[_0x2d2678]);}return _0x3ab824;}}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:_0x115d0b,..._0x434fa9}){const _0x56935a={..._0x434fa9};return _0x115d0b?.['toISOString']&&(_0x56935a['createdAt']=_0x115d0b['toISOString']()),_0x56935a;}static['fromJSON']({createdAt:_0x3803e0,..._0xadcadd}){const _0x4a84b6={..._0xadcadd};return _0x3803e0&&(_0x4a84b6['createdAt']=new Date(_0x3803e0)),_0x4a84b6;}}class CollaborativeEditingUpdateMessage extends _0x2f3fee{['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(_0x2db1e1,_0x3114a3,_0x409bd2,_0xf9072a,_0x476eb8=[],_0x132e1b=''){super(),this['id']=_0x2db1e1,this['buffers']=_0x3114a3,this['types']=_0x409bd2,this['baseVersion']=_0xf9072a,this['metadata']=_0x476eb8,this['lastOperationId']=_0x132e1b;}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'](_0x19c007){return new CollaborativeEditingUpdateMessage(_0x19c007['id'],_0x19c007['buffers'],_0x19c007['types'],_0x19c007['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x19c007['types'],_0x19c007['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x19c007['lastOperationId']);}}class CollaborativeEditingReconnectMessage extends _0x2f3fee{['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(_0x479463,_0x31c1f7,_0x44afa9){super(),this['id']=_0x479463,this['lastKnowVersion']=_0x31c1f7,this['bundleVersion']=_0x44afa9;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0x55f5f7){return new CollaborativeEditingReconnectMessage(_0x55f5f7['id'],_0x55f5f7['lastKnowVersion'],_0x55f5f7['bundleVersion']);}}class CollaborativeEditingResponse extends _0x2f3fee{['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(_0x1b538c,_0x54c9e2=[],_0xeff889=[],_0x2f4146=[],_0x55fde8='',_0x232b66=null){super(),this['version']=_0x1b538c,this['buffers']=_0x54c9e2,this['types']=_0xeff889,this['metadata']=_0x2f4146,this['lastOperationId']=_0x55fde8,this['lastOperationAcceptedAt']=_0x232b66;}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'](_0x5d6377){return new CollaborativeEditingResponse(_0x5d6377['version'],_0x5d6377['buffers'],_0x5d6377['types'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x5d6377['types'],_0x5d6377['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x5d6377['lastOperationId'],_0x5d6377['lastOperationAcceptedAt']?new Date(_0x5d6377['lastOperationAcceptedAt']):null);}static['create'](_0xf272eb){return new CollaborativeEditingResponse(_0xf272eb['version'],_0xf272eb['buffers'],_0xf272eb['types'],_0xf272eb['metadata'],_0xf272eb['lastOperationId'],_0xf272eb['lastOperationAcceptedAt']?new Date(_0xf272eb['lastOperationAcceptedAt']):null);}}class CollaborativeEditingConnectResponse extends _0x2f3fee{['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(_0x27d1e0,_0x9177e6,_0x2ecadf=[],_0xa3a6cb=[],_0x480305=0x0,_0x15e3f0=[],_0x4ecd94=null,_0x3f080b='',_0x5d63ba='',_0x29483f=null){super(),this['channel']=_0x27d1e0,this['version']=_0x9177e6,this['buffers']=_0x2ecadf,this['types']=_0xa3a6cb,this['offset']=_0x480305,this['metadata']=_0x15e3f0,this['initData']=_0x4ecd94,this['sessionId']=_0x3f080b,this['lastOperationId']=_0x5d63ba,this['sessionCreatedAt']=_0x29483f;}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'](_0x1bbca8){return new CollaborativeEditingConnectResponse(_0x1bbca8['channel'],_0x1bbca8['version'],_0x1bbca8['buffers'],_0x1bbca8['types'],_0x1bbca8['offset'],_0x1bbca8['metadata'],_0x1bbca8['initData'],_0x1bbca8['sessionId'],_0x1bbca8['lastOperationId'],_0x1bbca8['sessionCreatedAt']);}static['fromJSON'](_0xcf7fc9){let _0x4bd13f=null;return!0x0===_0xcf7fc9['isInitialized']?_0x4bd13f=_0xcf7fc9['initData']??'':'boolean'!=typeof _0xcf7fc9['isInitialized']&&_0xcf7fc9['initData']&&(_0x4bd13f=_0xcf7fc9['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0xcf7fc9['channel'],'version':_0xcf7fc9['version'],'buffers':_0xcf7fc9['buffers'],'types':_0xcf7fc9['types'],'offset':_0xcf7fc9['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](_0xcf7fc9['types'],_0xcf7fc9['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':_0x4bd13f,'sessionId':_0xcf7fc9['sessionId'],'lastOperationId':_0xcf7fc9['lastOperationId'],'sessionCreatedAt':_0xcf7fc9['sessionCreatedAt']?new Date(_0xcf7fc9['sessionCreatedAt']):null});}}class GetDocumentDetailsResponse extends _0x2f3fee{['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(_0x54e97f,_0x1e8c7f){super(),this['lastDocumentSession']=_0x54e97f,this['currentDocumentSession']=_0x1e8c7f;}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'](_0x48e5e5){const _0x198917=_0x48e5e5['lastDocumentSessionId']?{'id':_0x48e5e5['lastDocumentSessionId'],'lastOperationId':_0x48e5e5['lastDocumentSessionOperationId']}:void 0x0,_0x1651b8=_0x48e5e5['currentDocumentSessionId']?{'lastOperationId':_0x48e5e5['currentDocumentSessionOperationId'],'version':_0x48e5e5['currentDocumentSessionVersion'],'id':_0x48e5e5['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(_0x198917,_0x1651b8);}}class GetDocumentDetailsMessage extends _0x2f3fee{['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(_0x19ba2d){super(),this['documentId']=_0x19ba2d;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x3b1ab1){return new GetDocumentDetailsMessage(_0x3b1ab1['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x51ad53,_0xe8f406){if(super(),!_0x51ad53)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0xe8f406??_0x188bab(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x51ad53;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0xae13af,_0xff81af={'buffers':[],'types':[]},_0x5302ae){const _0x2230ad=new CollaborativeEditingConnectMessage(this['getId'](),_0xff81af['buffers'],_0xff81af['types'],this['_bundleVersion'],_0x5302ae);return this['_connect'](_0xae13af,_0x2230ad);}['reconnect'](_0x41b583,_0x3f5619){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x41b583);return this['_connect'](_0x41b583,new CollaborativeEditingReconnectMessage(this['getId'](),_0x3f5619,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 _0xb51ddd=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x7a7544=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],_0x53d826['encode'](_0xb51ddd));return _0x53d826['decode'](_0x7a7544,GetDocumentDetailsResponse);}async['sendOperations'](_0x59c1d5,_0x175360,_0x53f0ea){if(!_0x59c1d5?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x2966e8='number'==typeof _0x175360?_0x175360:parseInt(_0x175360);if(!Number['isInteger'](_0x2966e8)||_0x2966e8<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x29f677=new CollaborativeEditingUpdateMessage(this['getId'](),_0x59c1d5['buffers'],_0x59c1d5['types'],_0x2966e8,[],_0x53f0ea);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x1c31eb=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],_0x53d826['encode'](_0x29f677));return _0x53d826['decode'](_0x1c31eb,CollaborativeEditingResponse);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']||(this['_connectedSessions']=await _0x30e5ee['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1)),this['_connectedSessions'];}static['getConnectedSessions'](_0xe3b933,_0x575fce){return _0x30e5ee['getConnectedSessions'](_0xe3b933,_0x575fce,0x1);}async['_connect'](_0x317664,_0x586c2f){if(this['isConnected']())return;if(_0x317664['state']!==WebSocketGateway$1['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x317664);this['_wsGateway']=_0x317664,this['stopListening'](_0x317664,'change:state');const _0x567644=await _0x317664['_sendRequest'](0x1,_0x586c2f['constructor']['TYPE'],_0x53d826['encode'](_0x586c2f)),_0x53018a=_0x53d826['decode'](_0x567644,CollaborativeEditingConnectResponse);return this['listenTo'](_0x317664,'change:state',(_0x2753ec,_0x32caba,_0x43e0de)=>this['_onWsGatewayStateChange'](_0x43e0de),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x317664,_0x53018a['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x53018a;}['_connectToChannel'](_0x268851,_0x1867b8){this['_channel']=_0x268851['_getChannel'](0x1,_0x1867b8),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(_0x3feb15,_0x2c43bf)=>{const _0x326b88=_0x53d826['decode'](_0x2c43bf,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',_0x326b88['baseVersion'],_0x326b88['data'],_0x326b88['metadata']);});}['_onWsGatewayStateChange'](_0x12384a){_0x12384a===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'](_0xe3fd86){return{..._0xe3fd86,'createdAt':_0xe3fd86['createdAt']?.['toISOString'](),'attributes':_0xe3fd86['attributes']?JSON['stringify'](_0xe3fd86['attributes']):null};}static['fromJSON'](_0x45f6db){return{..._0x45f6db,'createdAt':new Date(_0x45f6db['createdAt']),'attributes':_0x45f6db['attributes']?JSON['parse'](_0x45f6db['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'](_0x3379e9){return{..._0x3379e9,'createdAt':_0x3379e9['createdAt']?.['toISOString'](),'deletedAt':_0x3379e9['deletedAt']?.['toISOString'](),'resolvedAt':_0x3379e9['resolvedAt']?.['toISOString'](),'attributes':_0x3379e9['attributes']?JSON['stringify'](_0x3379e9['attributes']):null,'context':_0x3379e9['context']?JSON['stringify'](_0x3379e9['context']):_0x3379e9['context'],'comments':_0x3379e9['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':_0x3379e9['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x295dc7){return{..._0x295dc7,'createdAt':_0x295dc7['createdAt']?new Date(_0x295dc7['createdAt']):void 0x0,'deletedAt':_0x295dc7['deletedAt']?new Date(_0x295dc7['deletedAt']):void 0x0,'resolvedAt':_0x295dc7['resolvedAt']?new Date(_0x295dc7['resolvedAt']):void 0x0,'attributes':_0x295dc7['attributes']?JSON['parse'](_0x295dc7['attributes']):null,'context':_0x295dc7['context']?JSON['parse'](_0x295dc7['context']):void 0x0,'comments':_0x295dc7['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':_0x295dc7['unlinkedAt']?new Date(_0x295dc7['unlinkedAt']):void 0x0};}}class AddCommentMessage extends _0x2f3fee{['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(_0x354a38,_0x12c075,_0x4999c6,_0x1cc190='',_0x31806b,_0xa38965='',_0x5de154=null,_0x3290b4){super(),this['documentId']=_0x354a38,this['commentThreadId']=_0x12c075,this['content']=_0x4999c6,this['commentId']=_0x1cc190,this['userId']=_0xa38965,this['attributes']=_0x5de154,this['commentThread']=_0x3290b4,this['createdAt']=_0x31806b?new Date(_0x31806b):'';}['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'](_0xa2906d){return new AddCommentMessage(_0xa2906d['documentId'],_0xa2906d['commentThreadId'],_0xa2906d['content'],_0xa2906d['commentId']?_0xa2906d['commentId']:void 0x0,_0xa2906d['createdAt']?new Date(_0xa2906d['createdAt']):void 0x0,_0xa2906d['userId']?_0xa2906d['userId']:void 0x0,_0xa2906d['attributes']?JSON['parse'](_0xa2906d['attributes']):{},_0xa2906d['commentThread']?CommentsThreadDescriptor['fromJSON'](_0xa2906d['commentThread']):void 0x0);}}class AddCommentResponse extends _0x2f3fee{['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(_0x273c9c,_0x2dd9dc,_0x5fbbb5){super(),this['commentThreadId']=_0x273c9c,this['commentId']=_0x2dd9dc,this['createdAt']=new Date(_0x5fbbb5);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x1d9386){return new AddCommentResponse(_0x1d9386['commentThreadId'],_0x1d9386['commentId'],_0x1d9386['createdAt']);}}class ConnectMessage extends _0x2f3fee{['documentId'];static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x456b35){super(),this['documentId']=_0x456b35;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x1fd73d){return new ConnectMessage(_0x1fd73d['documentId']);}}class ConnectResponse extends _0x2f3fee{['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(_0x54a5f5,_0x2cec88,_0x453571){super(),this['channel']=_0x54a5f5,this['_threads']=_0x2cec88,this['_threadsV2']=_0x453571,this['threads']=_0x453571?.['length']?_0x453571:_0x2cec88;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0x145879=>JSON['stringify'](_0x145879)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x29fc1e){return new ConnectResponse(_0x29fc1e['channel'],_0x29fc1e['threads']?.['map'](_0x4c013f=>JSON['parse'](_0x4c013f)),_0x29fc1e['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends _0x2f3fee{['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(_0x537a97,_0x56ad7e,_0x269eaa){super(),this['documentId']=_0x537a97,this['commentThreadId']=_0x56ad7e,this['commentId']=_0x269eaa;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0xf4034f){return new RemoveCommentMessage(_0xf4034f['documentId'],_0xf4034f['commentThreadId'],_0xf4034f['commentId']);}}class RemoveCommentThreadMessage extends _0x2f3fee{['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(_0x228ac4,_0x50d5bf){super(),this['documentId']=_0x228ac4,this['commentThreadId']=_0x50d5bf;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x91eed9){return new RemoveCommentThreadMessage(_0x91eed9['documentId'],_0x91eed9['commentThreadId']);}}class UpdateCommentMessage extends _0x2f3fee{['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(_0x1fb11b,_0x28e057,_0x1f38ca,_0x59c84f,_0x599aba=null,_0x2869ea=!0x1,_0x2f62f8){super(),this['documentId']=_0x1fb11b,this['commentThreadId']=_0x28e057,this['commentId']=_0x1f38ca,this['content']=_0x59c84f,this['attributes']=_0x599aba,this['isAttributesUpdated']=_0x2869ea,this['commentThread']=_0x2f62f8;}['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'](_0x2585e0){return new UpdateCommentMessage(_0x2585e0['documentId'],_0x2585e0['commentThreadId'],_0x2585e0['commentId'],_0x2585e0['content'],_0x2585e0['attributes']?JSON['parse'](_0x2585e0['attributes']):null,_0x2585e0['isAttributesUpdated'],_0x2585e0['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x2585e0['commentThread']):void 0x0);}}class GetCommentThreadMessage extends _0x2f3fee{['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(_0x330910,_0x1fb898){super(),this['commentThreadId']=_0x330910,this['documentId']=_0x1fb898;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0x20b45f){return new GetCommentThreadMessage(_0x20b45f['commentThreadId'],_0x20b45f['documentId']);}}class GetCommentThreadResponse extends _0x2f3fee{['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(_0x5e418e,_0x4f84a5,_0x580a0e,_0x3dd8a2,_0x4b0339,_0x3057ea,_0x4b940c,_0x5c2869,_0x478287,_0x2d179e){super(),this['commentThreadId']=_0x5e418e,this['_comments']=_0x4f84a5,this['_commentsV2']=_0x580a0e,this['resolvedBy']=_0x4b0339,this['comments']=_0x580a0e?.['length']?_0x580a0e:_0x4f84a5,this['createdAt']=_0x4b940c?new Date(_0x4b940c):void 0x0,this['deletedAt']='string'==typeof _0x5c2869?new Date(_0x5c2869):_0x5c2869,this['resolvedAt']='string'==typeof _0x478287?new Date(_0x478287):_0x478287,this['unlinkedAt']='string'==typeof _0x2d179e?new Date(_0x2d179e):_0x2d179e,this['attributes']='string'==typeof _0x3dd8a2?JSON['parse'](_0x3dd8a2):_0x3dd8a2,this['context']='string'==typeof _0x3057ea?JSON['parse'](_0x3057ea):_0x3057ea;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x446f5e=>JSON['stringify'](_0x446f5e)),'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'](_0x1cfc32){return new GetCommentThreadResponse(_0x1cfc32['commentThreadId'],_0x1cfc32['comments']?.['map'](_0x13fa42=>function(_0x3e5970){const _0x50deb8=JSON['parse'](_0x3e5970);return{..._0x50deb8,'createdAt':new Date(_0x50deb8['createdAt'])};}(_0x13fa42)),_0x1cfc32['commentsV2']?.['map'](CommentDescriptor['fromJSON']),_0x1cfc32['attributes']?JSON['parse'](_0x1cfc32['attributes']):_0x1cfc32['attributes'],_0x1cfc32['resolvedBy'],_0x1cfc32['context']?JSON['parse'](_0x1cfc32['context']):_0x1cfc32['context'],_0x1cfc32['createdAt'],_0x1cfc32['deletedAt'],_0x1cfc32['resolvedAt'],_0x1cfc32['unlinkedAt']);}}class GetDocumentThreadsMessage extends _0x2f3fee{['documentId'];static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x144516){super(),this['documentId']=_0x144516;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x198f39){return new GetDocumentThreadsMessage(_0x198f39['documentId']);}}class GetDocumentThreadsResponse extends _0x2f3fee{['_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(_0x2de396,_0x10a1c9){super(),this['_threads']=_0x2de396,this['_threadsV2']=_0x10a1c9,this['threads']=_0x10a1c9?.['length']?_0x10a1c9:_0x2de396;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0x4bce46=>JSON['stringify'](_0x4bce46)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x2ad168){return new GetDocumentThreadsResponse(_0x2ad168['threads']?.['map'](_0x36ad5b=>function(_0x2565fb){const _0x254d0b=JSON['parse'](_0x2565fb),_0xfd8e71={..._0x254d0b};return _0x254d0b['comments']&&(_0xfd8e71['comments']=_0x254d0b['comments']?.['map'](_0x556d66=>({..._0x556d66,'createdAt':new Date(_0x556d66['createdAt'])}))),_0xfd8e71;}(_0x36ad5b)),_0x2ad168['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'](_0x1c8a98){return{'commentId':_0x1c8a98['commentId'],'createdAt':_0x1c8a98['createdAt']?.['toISOString']()};}static['fromJSON'](_0x153109){return{'commentId':_0x153109['commentId'],'createdAt':new Date(_0x153109['createdAt'])};}}class AddCommentThreadResponse extends _0x2f3fee{['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(_0x324098,_0x6a7c20,_0x17b001=[]){super(),this['commentThreadId']=_0x324098,this['comments']=_0x17b001,this['createdAt']=new Date(_0x6a7c20);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x1b0c1d=>CommentThreadAddedCommentDescriptor['toJSON'](_0x1b0c1d))};}static['fromJSON'](_0xe9e00d){return new AddCommentThreadResponse(_0xe9e00d['commentThreadId'],_0xe9e00d['createdAt'],_0xe9e00d['comments']['map'](_0x295688=>CommentThreadAddedCommentDescriptor['fromJSON'](_0x295688)));}}class AddCommentThreadMessage extends _0x2f3fee{['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(_0x2fd4dc,_0x53ab46,_0x4f7f62=[],_0x5c81dc,_0x2e0ec1=null,_0x3c6493=null,_0x29b1b8=null,_0x5bc61a=null,_0x161e74=null){super(),this['documentId']=_0x2fd4dc,this['commentThreadId']=_0x53ab46,this['comments']=_0x4f7f62,this['context']=_0x5c81dc,this['resolvedBy']=_0x2e0ec1,this['attributes']=_0x161e74,this['createdAt']=_0x3c6493?new Date(_0x3c6493):'',this['resolvedAt']=_0x29b1b8?new Date(_0x29b1b8):'',this['deletedAt']=_0x5bc61a?new Date(_0x5bc61a):'';}['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'](_0x5ce9ef=>CommentDescriptor['toJSON'](_0x5ce9ef))};}static['fromJSON'](_0x3c70a0){return new AddCommentThreadMessage(_0x3c70a0['documentId'],_0x3c70a0['commentThreadId'],_0x3c70a0['comments']?.['map'](_0x56d9fa=>CommentDescriptor['fromJSON']({..._0x56d9fa,'documentId':_0x3c70a0['documentId'],'commentThreadId':_0x3c70a0['commentThreadId']})),_0x3c70a0['context']?JSON['parse'](_0x3c70a0['context']):_0x3c70a0['context'],_0x3c70a0['resolvedBy'],_0x3c70a0['createdAt']?new Date(_0x3c70a0['createdAt']):void 0x0,_0x3c70a0['resolvedAt']?new Date(_0x3c70a0['resolvedAt']):void 0x0,_0x3c70a0['deletedAt']?new Date(_0x3c70a0['deletedAt']):void 0x0,_0x3c70a0['attributes']?JSON['parse'](_0x3c70a0['attributes']):_0x3c70a0['attributes']);}}class ResolveCommentThreadMessage extends _0x2f3fee{['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(_0x9acd18,_0x56605a,_0x34d349,_0x1b8e7a){super(),this['commentThreadId']=_0x9acd18,this['documentId']=_0x56605a,this['resolvedBy']=_0x34d349,this['resolvedAt']=_0x1b8e7a?new Date(_0x1b8e7a):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x55fad7){return new ResolveCommentThreadMessage(_0x55fad7['commentThreadId'],_0x55fad7['documentId'],_0x55fad7['resolvedBy'],_0x55fad7['resolvedAt']);}}class ReopenCommentThreadMessage extends _0x2f3fee{['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(_0x26fe78,_0x192fd3){super(),this['commentThreadId']=_0x26fe78,this['documentId']=_0x192fd3;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x24d1ae){return new ReopenCommentThreadMessage(_0x24d1ae['commentThreadId'],_0x24d1ae['documentId']);}}class UpdateCommentThreadMessage extends _0x2f3fee{['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(_0x4600bc,_0x143cd6,_0x2679bf,_0x31fb0c=null,_0x358b5e=null){super(),this['commentThreadId']=_0x4600bc,this['documentId']=_0x143cd6,this['context']=_0x2679bf,this['attributes']=_0x31fb0c,this['unlinkedAt']=_0x358b5e?new Date(_0x358b5e):'';}['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'](_0x1f59f){return new UpdateCommentThreadMessage(_0x1f59f['commentThreadId'],_0x1f59f['documentId'],_0x1f59f['context']?JSON['parse'](_0x1f59f['context']):_0x1f59f['context'],_0x1f59f['attributes']?JSON['parse'](_0x1f59f['attributes']):null,_0x1f59f['unlinkedAt']?new Date(_0x1f59f['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends _0x2f3fee{['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(_0x463f03,_0x5d9ace,_0x1767d0,_0x2be4b4){super(),this['commentThreadId']=_0x463f03,this['documentId']=_0x5d9ace,this['resolvedBy']=_0x1767d0,this['resolvedAt']=new Date(_0x2be4b4);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x1b8a6d){return new ResolveCommentThreadResponse(_0x1b8a6d['commentThreadId'],_0x1b8a6d['documentId'],_0x1b8a6d['resolvedBy'],_0x1b8a6d['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x18e2d1){super(),this['_documentId']=_0x18e2d1;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x111924){if(this['_isConnected'])return;if(_0x111924['state']!==_0x4009dd['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x111924);const _0x3c69db=new ConnectMessage(this['_documentId']);this['_wsGateway']=_0x111924,this['stopListening'](_0x111924,'change:state');const _0x7db93a=await _0x111924['_sendRequest'](0x9,ConnectMessage['TYPE'],_0x53d826['encode'](_0x3c69db)),{channel:_0xef9501,threads:_0x4f9083}=_0x53d826['decode'](_0x7db93a,ConnectResponse);return this['listenTo'](_0x111924,'change:state',(_0x161dff,_0x2f3f6d,_0x27772c)=>this['_onWsGatewayStateChange'](_0x27772c),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x111924,_0xef9501),this['_isConnected']=!0x0,this['fire']('connected'),_0x4f9083;}['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'](_0x37db9c,_0x2086eb,_0x41c0c4,_0x66c9f7){const _0x45693e=new AddCommentMessage(this['_documentId'],_0x37db9c,_0x41c0c4,_0x2086eb,void 0x0,void 0x0,_0x66c9f7),_0x144647=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x45693e);return _0x53d826['decode'](_0x144647,AddCommentResponse);}async['updateComment'](_0x2299f2,_0x22f0ff,_0x4ebb1b,_0x91b62c){const _0x5daafe=void 0x0!==_0x91b62c,_0x5c4e17=new UpdateCommentMessage(this['_documentId'],_0x2299f2,_0x22f0ff,_0x4ebb1b,_0x91b62c,_0x5daafe);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0x5c4e17);}async['removeComment'](_0x3603a1,_0x5280be){const _0x3872ec=new RemoveCommentMessage(this['_documentId'],_0x3603a1,_0x5280be);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x3872ec);}async['removeCommentThread'](_0x2e0b7a){const _0x315259=new RemoveCommentThreadMessage(this['_documentId'],_0x2e0b7a);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0x315259);}async['addCommentThread'](_0x1ad91f){const _0x3325ec=new AddCommentThreadMessage(this['_documentId'],_0x1ad91f['commentThreadId'],_0x1ad91f['comments']?.['map'](_0x279963=>({..._0x279963,'documentId':this['_documentId'],'commentThreadId':_0x1ad91f['commentThreadId']})),_0x1ad91f['context'],_0x1ad91f['resolvedBy'],_0x1ad91f['createdAt'],_0x1ad91f['resolvedAt'],_0x1ad91f['deletedAt'],_0x1ad91f['attributes']),_0x33f0da=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x3325ec);return _0x53d826['decode'](_0x33f0da,AddCommentThreadResponse);}async['resolveCommentThread'](_0x2cab67){const _0x2ba9d8=new ResolveCommentThreadMessage(_0x2cab67,this['_documentId']),_0x4d84a9=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0x2ba9d8);return _0x53d826['decode'](_0x4d84a9,ResolveCommentThreadResponse);}async['reopenCommentThread'](_0x24ef8e){const _0x3332ff=new ReopenCommentThreadMessage(_0x24ef8e,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x3332ff);}async['updateCommentThread'](_0x199997){const _0x2d3685=new UpdateCommentThreadMessage(_0x199997['commentThreadId'],this['_documentId'],_0x199997['context'],_0x199997['attributes'],_0x199997['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0x2d3685);}async['getCommentThread'](_0x2d4d45,_0x4c8076=0x1){const _0x8b4cd6=new GetCommentThreadMessage(_0x2d4d45,this['_documentId']);try{const _0x5ee649=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0x8b4cd6),_0x5649e5=_0x53d826['decode'](_0x5ee649,GetCommentThreadResponse);return{'commentThreadId':_0x5649e5['commentThreadId'],'comments':_0x5649e5['comments'],'attributes':_0x5649e5['attributes'],'context':_0x5649e5['context'],'resolvedAt':_0x5649e5['resolvedAt'],'resolvedBy':_0x5649e5['resolvedBy'],'deletedAt':_0x5649e5['deletedAt'],'unlinkedAt':_0x5649e5['unlinkedAt']};}catch(_0x225b76){if('CKEditorCloudServicesServerError'===_0x225b76['name']&&'404'===_0x225b76['code']&&_0x4c8076<0x5)return await(_0x20bf85=0x64*_0x4c8076,new Promise(_0x41793c=>{setTimeout(_0x41793c,_0x20bf85);})),this['getCommentThread'](_0x2d4d45,_0x4c8076+0x1);if('CKEditorCloudServicesServerError'===_0x225b76['name'])throw _0x225b76;throw CKEditorCloudServicesServerError['fromPublicError'](_0x225b76);}var _0x20bf85;}async['getDocumentThreads'](){const _0x43581e=new GetDocumentThreadsMessage(this['_documentId']),_0x46e99b=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0x43581e),{threads:_0x481256}=_0x53d826['decode'](_0x46e99b,GetDocumentThreadsResponse);return{'threads':_0x481256};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']||(this['_connectedSessions']=await _0x30e5ee['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9)),this['_connectedSessions'];}['_connectToChannel'](_0x3d5943,_0x284e89){this['_channel']=_0x3d5943['_getChannel'](CommentsService['_SERVICE'],_0x284e89),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(_0x4ae4fd,_0x1a4307)=>{const _0xf35aa2=_0x53d826['decode'](_0x1a4307,AddCommentMessage);this['fire']('commentAdded',_0xf35aa2);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(_0x5c4122,_0x5044c4)=>{const _0x3d5a50=_0x53d826['decode'](_0x5044c4,RemoveCommentMessage);this['fire']('commentRemoved',_0x3d5a50);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(_0x53d935,_0x1a34f1)=>{const _0x23f3a8=_0x53d826['decode'](_0x1a34f1,UpdateCommentMessage);this['fire']('commentUpdated',_0x23f3a8);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(_0x43de0e,_0x55ed1d)=>{const _0x422ad5=_0x53d826['decode'](_0x55ed1d,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',_0x422ad5);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(_0x8b5d4d,_0x101b10)=>{const _0x2235ec=_0x53d826['decode'](_0x101b10,AddCommentThreadMessage);this['fire']('commentThreadAdded',_0x2235ec);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(_0x43fcb9,_0x50255d)=>{const _0x127566=_0x53d826['decode'](_0x50255d,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',_0x127566);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(_0x274b6c,_0x31cf9f)=>{const _0x51068d=_0x53d826['decode'](_0x31cf9f,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',_0x51068d);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(_0x5ed0ab,_0x2763ff)=>{const _0x4bc3f8=_0x53d826['decode'](_0x2763ff,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',_0x4bc3f8);}));}['_onWsGatewayStateChange'](_0x2bf5c2){_0x2bf5c2===_0x4009dd['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x511908,_0x4f6aa3){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x511908,_0x53d826['encode'](_0x4f6aa3));}}class WebSocketGateway extends ckeditor5['ContextPlugin']{static ['WebSocketGateway']=/* #__PURE__ -- @preserve */
((()=>WebSocketGateway$1)());static ['initialReconnectionInterval']=0x3e8;['connection'];['_reconnectionStack'];['_shouldPluginsReconnect'];['_domEmitter'];static get['requires'](){return['CloudServices',ckeditor5['Notification']];}static get['pluginName'](){return'WebSocketGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4a9a9f){super(_0x4a9a9f),this['set']('state',_0x4009dd['CONNECTED']),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new(ckeditor5['DomEmitterMixin']())();}['init'](){const _0x12d9ff=this['context'],_0x40e1c3=_0x12d9ff['plugins']['get']('CloudServices'),_0x4986b4=_0x12d9ff['plugins']['get'](ckeditor5['Notification']);if(!_0x40e1c3['token'])throw new ckeditor5['CKEditorError']('websocketgateway-missing-token',this);if(!_0x40e1c3['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'](_0x40e1c3['token'],_0x40e1c3['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0x296dfe=>{if(this['connection']=_0x296dfe,this['bind']('state')['to'](_0x296dfe,'state',this,'_isBrowserOffline',(_0x525d67,_0x2828ef)=>('connected'!==_0x525d67&&(this['_shouldPluginsReconnect']=!0x0),_0x2828ef||_0x525d67!==_0x4009dd['CONNECTED']?_0x4009dd['DISCONNECTED']:this['state']==_0x4009dd['DISCONNECTED']&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),_0x4009dd['CONNECTING']):_0x4009dd['CONNECTED'])),this['connection']['on']('error',(_0x386401,_0xc17898)=>{if('limitExceeded'!==_0xc17898['code'])throw console['error'](_0xc17898),new ckeditor5['CKEditorError']('cloudservices-init',null,{'originalError':_0xc17898});_0x4986b4['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'});}),!_0x296dfe['me'])return new Promise(_0x31e996=>_0x296dfe['on']('change:me',_0x31e996));})['catch'](_0x26b0e8=>{throw console['error'](_0x26b0e8),new ckeditor5['CKEditorError']('cloudservices-init',null,{'originalError':_0x26b0e8});});}['addToReconnectionStack'](_0x16644d){if('function'!=typeof _0x16644d['reconnect'])throw new ckeditor5['CKEditorError']('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x16644d))throw new ckeditor5['CKEditorError']('websocketgateway-plugin-already-registered',this,{'name':_0x16644d['constructor']['pluginName']});this['_reconnectionStack']['add'](_0x16644d);}['removeFromReconnectionStack'](_0xc7ff3a){this['_reconnectionStack']['delete'](_0xc7ff3a);}['isInReconnectionStack'](_0x151fbd){return this['_reconnectionStack']['has'](_0x151fbd);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x1de162=>_0x1de162['reconnect']())))['then'](()=>this['state']=_0x4009dd['CONNECTED'])['catch'](_0x4fe38e=>{throw console['error'](_0x4fe38e),new ckeditor5['CKEditorError']('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=_0x4009dd['DISCONNECTED'],this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}}class _0x3dd12d 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,_0xd5bff4];}constructor(_0x20114a){super(_0x20114a),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'](_0xd5bff4);}['init'](){const _0x2a8bb0=this['context']['plugins']['get'](WebSocketGateway);this['listenTo'](_0x2a8bb0,'change:state',(_0x19a6f0,_0x18ffaf,_0x6155bf)=>{if('connected'!==_0x6155bf)this['channelSessions']['forEach'](_0x1384bc=>_0x1384bc['clear']()),this['channelConnectedUsers']['forEach'](_0x2bb86b=>_0x2bb86b['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x1bd995,_0x54b028]of this['_registeredSessions'])for(const _0x2213de of _0x54b028)this['_handleSessionAdd'](_0x1bd995,_0x2213de);}}),this['_createUser'](_0x2a8bb0['connection']['me'],!0x0);}['register'](_0x11ef77,_0x941083){if(this['_registeredSessions']['has'](_0x11ef77))throw new ckeditor5['CKEditorError']('sessions-register-already-registered',null,{'channelId':_0x11ef77});this['_registeredSessions']['set'](_0x11ef77,_0x941083),this['channelSessions']['set'](_0x11ef77,new ckeditor5['Collection']()),this['channelConnectedUsers']['set'](_0x11ef77,new ckeditor5['Collection']()),this['listenTo'](_0x941083,'add',(_0x44a734,_0x11f87e)=>this['_handleSessionAdd'](_0x11ef77,_0x11f87e)),this['listenTo'](_0x941083,'remove',(_0x3d9739,_0x3f8265)=>this['_handleSessionRemove'](_0x11ef77,_0x3f8265));for(const _0x2af30f of _0x941083)this['_handleSessionAdd'](_0x11ef77,_0x2af30f);}['unregister'](_0xb27586){if(!this['_registeredSessions']['has'](_0xb27586))throw new ckeditor5['CKEditorError']('sessions-unregister-not-exist',null,{'channelId':_0xb27586});const _0x50d7f1=this['_registeredSessions']['get'](_0xb27586);this['stopListening'](_0x50d7f1);for(const _0x251842 of _0x50d7f1)'connected'===this['context']['plugins']['get'](WebSocketGateway)['state']&&this['_handleSessionRemove'](_0xb27586,_0x251842);this['_registeredSessions']['delete'](_0xb27586),this['channelSessions']['delete'](_0xb27586),this['channelConnectedUsers']['delete'](_0xb27586);}get['mySessionId'](){return this['context']['plugins']['get'](WebSocketGateway)['connection']['sessionId'];}['getUserBySessionId'](_0x5c5d3e){for(const _0x62087 of this['channelSessions']['values']())for(const _0x4b7984 of _0x62087)if(_0x4b7984['id']===_0x5c5d3e)return _0x4b7984['user'];}['getUserSessions'](_0x4107dc,_0x3c4a24){const _0x2b5243=_0x3c4a24?[this['channelSessions']['get'](_0x3c4a24)]:this['channelSessions']['values'](),_0x723a0a=new Set();for(const _0x270aea of _0x2b5243)for(const _0x29a040 of _0x270aea)_0x29a040['user']['id']===_0x4107dc['id']&&_0x723a0a['add'](_0x29a040['id']);return _0x723a0a;}['getUserRole'](_0x491a8b){for(const _0x1ba601 of this['channelSessions']['values']())for(const _0x1ff36a of _0x1ba601)if(_0x1ff36a['user']===_0x491a8b)return _0x1ff36a['role'];}['_handleSessionAdd'](_0x46f4f6,_0x3e3dca){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x319170=_0x3e3dca['user'],_0x27b549=this['_users']['getUser'](_0x319170['id'])||this['_createUser'](_0x319170),_0x2d1a38=Object['assign']({},_0x3e3dca,{'user':_0x27b549});if(this['channelSessions']['get'](_0x46f4f6)['add'](_0x2d1a38),!_0x319170['hiddenInPresenceList']){const _0x414fbd=this['channelConnectedUsers']['get'](_0x46f4f6);_0x414fbd['has'](_0x27b549['id'])||_0x414fbd['add'](_0x27b549),this['allConnectedUsers']['has'](_0x27b549['id'])||_0x319170['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x27b549,_0x27b549['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0x46f4f6,{'channelId':_0x46f4f6,'session':_0x2d1a38});}['_handleSessionRemove'](_0x47e1b7,_0x48c73c){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x5ab522=this['channelConnectedUsers']['get'](_0x47e1b7),_0x3314fe=_0x48c73c['user'];_0x3314fe['id']&&(this['channelSessions']['get'](_0x47e1b7)['remove'](_0x48c73c['id']),_0x5ab522['has'](_0x3314fe['id'])&&!this['getUserSessions'](_0x3314fe,_0x47e1b7)['size']&&_0x5ab522['remove'](_0x3314fe['id']),this['allConnectedUsers']['get'](_0x3314fe['id'])&&!this['getUserSessions'](_0x3314fe)['size']&&this['allConnectedUsers']['remove'](_0x3314fe['id']));}['_createUser'](_0x417b44,_0x39a82c){const _0x29be78=this['_users']['addUser'](_0x417b44);return _0x39a82c&&this['_users']['defineMe'](_0x417b44['id']),_0x29be78['orderNumber']=this['_uniqueUsersCount']++,_0x29be78;}}class _0x4a817d extends ckeditor5['Plugin']{['_domEmitter']=new(ckeditor5['DomEmitterMixin']())();static get['requires'](){return[_0x3dd12d];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xfc4a05=this['editor'],_0x5729e3=_0xfc4a05['plugins']['get'](_0x3dd12d);_0xfc4a05['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x1f0058,{writer:_0x398272})=>createUserPositionViewElement(_0x1f0058,_0x398272,_0x5729e3,_0xfc4a05)}),_0xfc4a05['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0x1ae7d1=>createUserRangeViewElement(_0x1ae7d1,_0x5729e3)}),createUserMarkerPostFixer(_0xfc4a05),this['_domEmitter']['listenTo'](ckeditor5['global']['document'],'keydown',(_0x4a523a,{key:_0x1f4551})=>{'Escape'===_0x1f4551&&hideHoveredUserPositionMarkersTooltips(_0xfc4a05);},{'useCapture':!0x0});}['afterInit'](){const _0x2d75b9=this['editor'],_0x396345=_0x2d75b9['commands']['get']('undo');_0x396345&&_0x2d75b9['model']['on']('applyOperation',(_0x48b507,_0x1ed0f1)=>{const _0x437a52=_0x1ed0f1[0x0];if(!_0x437a52['isDocumentOperation'])return;if('marker'!=_0x437a52['type']||!_0x437a52['name']['startsWith']('user:'))return;const _0x2a1563=_0x437a52['batch'];_0x396345['_createdBatches']['has'](_0x2a1563)&&(_0x437a52['newRange']=_0x437a52['oldRange']?_0x2d75b9['model']['createRange'](_0x437a52['oldRange']['start'],_0x437a52['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x23e311=this['editor'],_0x3e563c=_0x23e311['model']['document'],_0x2c351a=_0x23e311['plugins']['get'](_0x3dd12d);_0x23e311['model']['enqueueChange']({'isUndoable':!0x1},_0x16b1c9=>{const _0x26cf92='user:range:'+_0x2c351a['mySessionId'],_0xfec542='user:position:'+_0x2c351a['mySessionId'],_0x48184c=_0x23e311['model']['markers']['has'](_0x26cf92);_0x23e311['editing']['view']['hasDomSelection']?updateUserMarkers(_0x2c351a['mySessionId'],_0x3e563c['selection']['getFirstRange'](),_0x23e311['model'],_0x16b1c9):_0x48184c&&(_0x16b1c9['removeMarker'](_0x26cf92),_0x16b1c9['removeMarker'](_0xfec542));});}}function updateUserMarkers(_0x4a03fe,_0x5ee10d,_0x5d88e7,_0x2a091a){const _0x21279e='user:range:'+_0x4a03fe,_0x5bc20d='user:position:'+_0x4a03fe,_0x1b1c93=_0x5ee10d['getContainedElement']();let _0x544bd4=_0x5ee10d['start'];if(_0x1b1c93&&_0x1b1c93['is']('element','tableCell')){const _0x3ac2a5=getPositionForText(_0x5ee10d,_0x5d88e7);_0x3ac2a5&&(_0x544bd4=_0x3ac2a5,_0x5ee10d=_0x2a091a['createRange'](_0x544bd4));}const _0x5a5ffa=_0x2a091a['createRange'](_0x544bd4);_0x5d88e7['markers']['has'](_0x21279e)?(_0x2a091a['updateMarker'](_0x21279e,{'range':_0x5ee10d}),_0x2a091a['updateMarker'](_0x5bc20d,{'range':_0x5a5ffa})):(_0x2a091a['addMarker'](_0x21279e,{'range':_0x5ee10d,'usingOperation':!0x0}),_0x2a091a['addMarker'](_0x5bc20d,{'range':_0x5a5ffa,'usingOperation':!0x0}));}function getPositionForText(_0x250958,_0x11090f){for(const _0x425e1a of _0x250958['getPositions']())if(_0x11090f['schema']['checkChild'](_0x425e1a,'$text'))return _0x425e1a;}function createUserPositionViewElement(_0x15d3e1,_0x30e1dc,_0x16180f,_0x38b5bc){const _0x3796b2=_0x15d3e1['markerName']['split'](':')[0x2],_0x2a2290=_0x16180f['getUserBySessionId'](_0x3796b2);if(!_0x2a2290||_0x3796b2===_0x16180f['mySessionId'])return;if(!_0x38b5bc['model']['schema']['checkChild'](_0x15d3e1['markerRange']['start'],'$text'))return;const _0xf8e80a={'class':'ck-user__marker\x20'+_0x2a2290['color']['getMarkerClass'](),'data-name':_0x2a2290['name'],'data-session-id':_0x3796b2},_0x480d25=_0x38b5bc['model']['markers']['get'](_0x15d3e1['markerName'])['getStart'](),_0x40c87f=_0x480d25['nodeAfter'],_0x424b1a=_0x38b5bc['model']['schema'];if(_0x40c87f&&_0x424b1a['isObject'](_0x40c87f)&&_0x424b1a['isInline'](_0x40c87f)&&!_0x38b5bc['model']['markers']['get']('user:range:'+_0x3796b2)['getRange']()['isCollapsed'])return;const _0x41ea94=_0x480d25['parent'];return _0x38b5bc['model']['schema']['isLimit'](_0x41ea94)&&!_0x38b5bc['model']['hasContent'](_0x41ea94)&&(_0xf8e80a['contenteditable']=!0x1),createUserPositionMarkerElement(_0x30e1dc,_0xf8e80a,_0x2a2290);}function createUserRangeViewElement(_0x500f63,_0x28b584){const _0x5a8807=_0x500f63['markerName']['split'](':')[0x2];if(_0x5a8807===_0x28b584['mySessionId'])return null;const _0x42d23d=_0x28b584['getUserBySessionId'](_0x5a8807);return _0x42d23d?{'id':_0x5a8807,'classes':['ck-user__selection',_0x42d23d['color']['getSelectionClass']()],'attributes':{'data-session-id':_0x5a8807},'priority':0x7d0+_0x42d23d['orderNumber']}:{'id':_0x5a8807,'classes':[]};}function createUserPositionMarkerElement(_0x5f2bfe,_0x27d9bc,_0x30b400){const _0xe020bc=_0x5f2bfe['createUIElement']('span',_0x27d9bc);return _0x5f2bfe['setCustomProperty']('userPositionMarker',!0x0,_0xe020bc),_0xe020bc['render']=function(_0xa0600f){const _0x4e9c5b=this['toDomElement'](_0xa0600f),_0x1ef1e2=document['createElement']('span');return _0x1ef1e2['classList']['add']('ck-user__marker-tooltip'),_0x1ef1e2['setAttribute']('contenteditable','false'),_0x1ef1e2['setAttribute']('spellcheck','false'),_0x1ef1e2['textContent']=_0x30b400['name'],_0x4e9c5b['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0x1ef1e2['outerHTML']+'⁠',_0x4e9c5b['addEventListener']('mouseenter',()=>{_0x4e9c5b['classList']['add']('ck-user__marker_hovered');}),_0x4e9c5b['addEventListener']('mouseleave',()=>{_0x4e9c5b['classList']['remove']('ck-user__marker_hovered');}),_0x4e9c5b;},_0xe020bc['isSimilar']=function(_0xb0f669){return!(!this['getCustomProperty']('userPositionMarker')||!_0xb0f669['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0xb0f669['getAttribute']('data-session-id'));},_0xe020bc;}function hideHoveredUserPositionMarkersTooltips(_0x5157a3){_0x5157a3['editing']['view']['change'](_0x316d1c=>{for(const _0x5edef0 of _0x5157a3['model']['markers']){if(!_0x5edef0['name']['startsWith']('user:position'))continue;const _0x4de6cd=_0x5157a3['editing']['mapper']['markerNameToElements'](_0x5edef0['name']);if(_0x4de6cd){for(const _0x58eb11 of _0x4de6cd)_0x316d1c['removeClass']('ck-user__marker_hovered',_0x58eb11);}}});}function createUserMarkerPostFixer(_0xb4a439){const _0x5e3d0b=_0xb4a439['model'],_0x149a1c=new Map(),_0x3470d4=_0xb4a439['plugins']['get'](_0x3dd12d);_0x5e3d0b['markers']['on']('update:user:range',(_0x4175b5,_0xd1d31a,_0x2b950b,_0x9e11a5)=>{if(!_0x9e11a5&&_0x149a1c['get'](_0xd1d31a['name']))return _0x149a1c['get'](_0xd1d31a['name'])['detach'](),void _0x149a1c['delete'](_0xd1d31a['name']);const _0x1aed75=_0xd1d31a['name']['split'](':')[0x2];if(_0x1aed75===_0x3470d4['mySessionId'])return;const _0x4a276e='user:position:'+_0x1aed75;_0x5e3d0b['markers']['has'](_0x4a276e)&&_0xb4a439['editing']['reconvertMarker'](_0x4a276e),_0xd1d31a['on']('change:range',(_0x14f6a4,_0x13ca8f,_0x32e28a)=>{if('$graveyard'!=_0x13ca8f['root']['rootName']&&'$graveyard'==_0xd1d31a['getRange']()['root']['rootName']&&!_0x149a1c['has'](_0xd1d31a['name'])){const _0x2e1dbf=_0x5e3d0b['schema']['getNearestSelectionRange'](_0x32e28a['deletionPosition']);if(_0x2e1dbf){const _0x234eda=ckeditor5['ModelLiveRange']['fromRange'](_0x2e1dbf);_0x149a1c['set'](_0xd1d31a['name'],_0x234eda),_0x234eda['on']('change:range',(_0xc5824b,_0x5d84b3,_0x60fe9b)=>{if('$graveyard'==_0x234eda['root']['rootName']){const _0x42ea6b=_0x5e3d0b['schema']['getNearestSelectionRange'](_0x60fe9b['deletionPosition']);_0x42ea6b?(_0x234eda['start']=_0x42ea6b['start'],_0x234eda['end']=_0x42ea6b['end']):(_0x149a1c['delete'](_0xd1d31a['name']),_0x234eda['detach']());}});}}});}),_0x5e3d0b['document']['on']('change',()=>{_0x149a1c['size']>0x0&&_0x5e3d0b['enqueueChange']({'isUndoable':!0x1},_0x558ff9=>{for(const [_0x504fd4,_0x4858b6]of _0x149a1c)'$graveyard'==_0x5e3d0b['markers']['get'](_0x504fd4)['getRange']()['root']['rootName']&&(updateUserMarkers(_0x504fd4['split'](':')[0x2],_0x4858b6['toRange'](),_0x5e3d0b,_0x558ff9),_0x4858b6['detach']());_0x149a1c['clear']();});});}function getTranslation$6(_0x314e9d,_0x491c37,_0xf342d8){const _0x5eeaa4=_0x314e9d['t'],t=_0x314e9d['t'];switch(_0x491c37){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 _0x5eeaa4({'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'},_0xf342d8);default:return'';}}const _0x354298=/* #__PURE__ -- @preserve */
((()=>{var _0x4ab140=minimalExports['Reader'],_0x28324b=minimalExports['Writer'],_0x2a07e3=minimalExports['util'],_0x3ba022=minimalExports['roots']['default']||(minimalExports['roots']['default']={});return _0x3ba022['AttributeOperation']=(function(){function _0x22f1d9(_0x53dc8a){if(_0x53dc8a){for(var _0x4b340e=Object['keys'](_0x53dc8a),_0x1460dd=0x0;_0x1460dd<_0x4b340e['length'];++_0x1460dd)null!=_0x53dc8a[_0x4b340e[_0x1460dd]]&&(this[_0x4b340e[_0x1460dd]]=_0x53dc8a[_0x4b340e[_0x1460dd]]);}}return _0x22f1d9['prototype']['range']=null,_0x22f1d9['prototype']['key']='',_0x22f1d9['prototype']['oldValueBoolean']=!0x1,_0x22f1d9['prototype']['oldValueJson']='',_0x22f1d9['prototype']['newValueBoolean']=!0x1,_0x22f1d9['prototype']['newValueJson']='',_0x22f1d9['prototype']['wasUndone']=!0x1,_0x22f1d9['create']=function(_0x23100a){return new _0x22f1d9(_0x23100a);},_0x22f1d9['encode']=function(_0x4698c0,_0x4a8498){return _0x4a8498||(_0x4a8498=_0x28324b['create']()),null!=_0x4698c0['range']&&Object['hasOwnProperty']['call'](_0x4698c0,'range')&&_0x3ba022['Range']['encode'](_0x4698c0['range'],_0x4a8498['uint32'](0xa)['fork']())['ldelim'](),null!=_0x4698c0['key']&&Object['hasOwnProperty']['call'](_0x4698c0,'key')&&_0x4a8498['uint32'](0x12)['string'](_0x4698c0['key']),null!=_0x4698c0['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x4698c0,'oldValueBoolean')&&_0x4a8498['uint32'](0x18)['bool'](_0x4698c0['oldValueBoolean']),null!=_0x4698c0['oldValueJson']&&Object['hasOwnProperty']['call'](_0x4698c0,'oldValueJson')&&_0x4a8498['uint32'](0x22)['string'](_0x4698c0['oldValueJson']),null!=_0x4698c0['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x4698c0,'newValueBoolean')&&_0x4a8498['uint32'](0x28)['bool'](_0x4698c0['newValueBoolean']),null!=_0x4698c0['newValueJson']&&Object['hasOwnProperty']['call'](_0x4698c0,'newValueJson')&&_0x4a8498['uint32'](0x32)['string'](_0x4698c0['newValueJson']),null!=_0x4698c0['wasUndone']&&Object['hasOwnProperty']['call'](_0x4698c0,'wasUndone')&&_0x4a8498['uint32'](0x38)['bool'](_0x4698c0['wasUndone']),_0x4a8498;},_0x22f1d9['encodeDelimited']=function(_0x1a0519,_0x107cc3){return this['encode'](_0x1a0519,_0x107cc3)['ldelim']();},_0x22f1d9['decode']=function(_0x34b2ab,_0x189020){_0x34b2ab instanceof _0x4ab140||(_0x34b2ab=_0x4ab140['create'](_0x34b2ab));for(var _0x3ab336=void 0x0===_0x189020?_0x34b2ab['len']:_0x34b2ab['pos']+_0x189020,_0xc0b81=new _0x3ba022['AttributeOperation']();_0x34b2ab['pos']<_0x3ab336;){var _0x5d486a=_0x34b2ab['uint32']();switch(_0x5d486a>>>0x3){case 0x1:_0xc0b81['range']=_0x3ba022['Range']['decode'](_0x34b2ab,_0x34b2ab['uint32']());break;case 0x2:_0xc0b81['key']=_0x34b2ab['string']();break;case 0x3:_0xc0b81['oldValueBoolean']=_0x34b2ab['bool']();break;case 0x4:_0xc0b81['oldValueJson']=_0x34b2ab['string']();break;case 0x5:_0xc0b81['newValueBoolean']=_0x34b2ab['bool']();break;case 0x6:_0xc0b81['newValueJson']=_0x34b2ab['string']();break;case 0x7:_0xc0b81['wasUndone']=_0x34b2ab['bool']();break;default:_0x34b2ab['skipType'](0x7&_0x5d486a);}}return _0xc0b81;},_0x22f1d9['decodeDelimited']=function(_0x365432){return _0x365432 instanceof _0x4ab140||(_0x365432=new _0x4ab140(_0x365432)),this['decode'](_0x365432,_0x365432['uint32']());},_0x22f1d9['verify']=function(_0x3c6f85){if('object'!=typeof _0x3c6f85||null===_0x3c6f85)return'object\x20expected';if(null!=_0x3c6f85['range']&&_0x3c6f85['hasOwnProperty']('range')){var _0x30b73c=_0x3ba022['Range']['verify'](_0x3c6f85['range']);if(_0x30b73c)return'range.'+_0x30b73c;}return null!=_0x3c6f85['key']&&_0x3c6f85['hasOwnProperty']('key')&&!_0x2a07e3['isString'](_0x3c6f85['key'])?'key:\x20string\x20expected':null!=_0x3c6f85['oldValueBoolean']&&_0x3c6f85['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x3c6f85['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x3c6f85['oldValueJson']&&_0x3c6f85['hasOwnProperty']('oldValueJson')&&!_0x2a07e3['isString'](_0x3c6f85['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x3c6f85['newValueBoolean']&&_0x3c6f85['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x3c6f85['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x3c6f85['newValueJson']&&_0x3c6f85['hasOwnProperty']('newValueJson')&&!_0x2a07e3['isString'](_0x3c6f85['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x3c6f85['wasUndone']&&_0x3c6f85['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3c6f85['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x22f1d9['fromObject']=function(_0x446bfe){if(_0x446bfe instanceof _0x3ba022['AttributeOperation'])return _0x446bfe;var _0x167e1c=new _0x3ba022['AttributeOperation']();if(null!=_0x446bfe['range']){if('object'!=typeof _0x446bfe['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x167e1c['range']=_0x3ba022['Range']['fromObject'](_0x446bfe['range']);}return null!=_0x446bfe['key']&&(_0x167e1c['key']=String(_0x446bfe['key'])),null!=_0x446bfe['oldValueBoolean']&&(_0x167e1c['oldValueBoolean']=Boolean(_0x446bfe['oldValueBoolean'])),null!=_0x446bfe['oldValueJson']&&(_0x167e1c['oldValueJson']=String(_0x446bfe['oldValueJson'])),null!=_0x446bfe['newValueBoolean']&&(_0x167e1c['newValueBoolean']=Boolean(_0x446bfe['newValueBoolean'])),null!=_0x446bfe['newValueJson']&&(_0x167e1c['newValueJson']=String(_0x446bfe['newValueJson'])),null!=_0x446bfe['wasUndone']&&(_0x167e1c['wasUndone']=Boolean(_0x446bfe['wasUndone'])),_0x167e1c;},_0x22f1d9['toObject']=function(_0x4b9772,_0x343726){_0x343726||(_0x343726={});var _0x238e55={};return _0x343726['defaults']&&(_0x238e55['range']=null,_0x238e55['key']='',_0x238e55['oldValueBoolean']=!0x1,_0x238e55['oldValueJson']='',_0x238e55['newValueBoolean']=!0x1,_0x238e55['newValueJson']='',_0x238e55['wasUndone']=!0x1),null!=_0x4b9772['range']&&_0x4b9772['hasOwnProperty']('range')&&(_0x238e55['range']=_0x3ba022['Range']['toObject'](_0x4b9772['range'],_0x343726)),null!=_0x4b9772['key']&&_0x4b9772['hasOwnProperty']('key')&&(_0x238e55['key']=_0x4b9772['key']),null!=_0x4b9772['oldValueBoolean']&&_0x4b9772['hasOwnProperty']('oldValueBoolean')&&(_0x238e55['oldValueBoolean']=_0x4b9772['oldValueBoolean']),null!=_0x4b9772['oldValueJson']&&_0x4b9772['hasOwnProperty']('oldValueJson')&&(_0x238e55['oldValueJson']=_0x4b9772['oldValueJson']),null!=_0x4b9772['newValueBoolean']&&_0x4b9772['hasOwnProperty']('newValueBoolean')&&(_0x238e55['newValueBoolean']=_0x4b9772['newValueBoolean']),null!=_0x4b9772['newValueJson']&&_0x4b9772['hasOwnProperty']('newValueJson')&&(_0x238e55['newValueJson']=_0x4b9772['newValueJson']),null!=_0x4b9772['wasUndone']&&_0x4b9772['hasOwnProperty']('wasUndone')&&(_0x238e55['wasUndone']=_0x4b9772['wasUndone']),_0x238e55;},_0x22f1d9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x22f1d9['getTypeUrl']=function(_0x464c2d){return void 0x0===_0x464c2d&&(_0x464c2d='type.googleapis.com'),_0x464c2d+'/AttributeOperation';},_0x22f1d9;}()),_0x3ba022['InsertOperation']=(function(){function _0x50d9be(_0x2ae851){if(this['nodes']=[],_0x2ae851){for(var _0x1d86b1=Object['keys'](_0x2ae851),_0x1d96c1=0x0;_0x1d96c1<_0x1d86b1['length'];++_0x1d96c1)null!=_0x2ae851[_0x1d86b1[_0x1d96c1]]&&(this[_0x1d86b1[_0x1d96c1]]=_0x2ae851[_0x1d86b1[_0x1d96c1]]);}}return _0x50d9be['prototype']['position']=null,_0x50d9be['prototype']['nodes']=_0x2a07e3['emptyArray'],_0x50d9be['prototype']['shouldReceiveAttributes']=!0x1,_0x50d9be['prototype']['wasUndone']=!0x1,_0x50d9be['create']=function(_0x723984){return new _0x50d9be(_0x723984);},_0x50d9be['encode']=function(_0x1c0cae,_0x3db5f9){if(_0x3db5f9||(_0x3db5f9=_0x28324b['create']()),null!=_0x1c0cae['position']&&Object['hasOwnProperty']['call'](_0x1c0cae,'position')&&_0x3ba022['Position']['encode'](_0x1c0cae['position'],_0x3db5f9['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1c0cae['nodes']&&_0x1c0cae['nodes']['length']){for(var _0x166fc8=0x0;_0x166fc8<_0x1c0cae['nodes']['length'];++_0x166fc8)_0x3ba022['Element']['encode'](_0x1c0cae['nodes'][_0x166fc8],_0x3db5f9['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x1c0cae['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x1c0cae,'shouldReceiveAttributes')&&_0x3db5f9['uint32'](0x18)['bool'](_0x1c0cae['shouldReceiveAttributes']),null!=_0x1c0cae['wasUndone']&&Object['hasOwnProperty']['call'](_0x1c0cae,'wasUndone')&&_0x3db5f9['uint32'](0x20)['bool'](_0x1c0cae['wasUndone']),_0x3db5f9;},_0x50d9be['encodeDelimited']=function(_0x541ba6,_0x4bbc7f){return this['encode'](_0x541ba6,_0x4bbc7f)['ldelim']();},_0x50d9be['decode']=function(_0x2ae5d8,_0x1f0c83){_0x2ae5d8 instanceof _0x4ab140||(_0x2ae5d8=_0x4ab140['create'](_0x2ae5d8));for(var _0x36d0c7=void 0x0===_0x1f0c83?_0x2ae5d8['len']:_0x2ae5d8['pos']+_0x1f0c83,_0x114764=new _0x3ba022['InsertOperation']();_0x2ae5d8['pos']<_0x36d0c7;){var _0x1333fd=_0x2ae5d8['uint32']();switch(_0x1333fd>>>0x3){case 0x1:_0x114764['position']=_0x3ba022['Position']['decode'](_0x2ae5d8,_0x2ae5d8['uint32']());break;case 0x2:_0x114764['nodes']&&_0x114764['nodes']['length']||(_0x114764['nodes']=[]),_0x114764['nodes']['push'](_0x3ba022['Element']['decode'](_0x2ae5d8,_0x2ae5d8['uint32']()));break;case 0x3:_0x114764['shouldReceiveAttributes']=_0x2ae5d8['bool']();break;case 0x4:_0x114764['wasUndone']=_0x2ae5d8['bool']();break;default:_0x2ae5d8['skipType'](0x7&_0x1333fd);}}return _0x114764;},_0x50d9be['decodeDelimited']=function(_0x121e05){return _0x121e05 instanceof _0x4ab140||(_0x121e05=new _0x4ab140(_0x121e05)),this['decode'](_0x121e05,_0x121e05['uint32']());},_0x50d9be['verify']=function(_0xa6e5f6){if('object'!=typeof _0xa6e5f6||null===_0xa6e5f6)return'object\x20expected';if(null!=_0xa6e5f6['position']&&_0xa6e5f6['hasOwnProperty']('position')&&(_0x36ab58=_0x3ba022['Position']['verify'](_0xa6e5f6['position'])))return'position.'+_0x36ab58;if(null!=_0xa6e5f6['nodes']&&_0xa6e5f6['hasOwnProperty']('nodes')){if(!Array['isArray'](_0xa6e5f6['nodes']))return'nodes:\x20array\x20expected';for(var _0x10cf4a=0x0;_0x10cf4a<_0xa6e5f6['nodes']['length'];++_0x10cf4a){var _0x36ab58;if(_0x36ab58=_0x3ba022['Element']['verify'](_0xa6e5f6['nodes'][_0x10cf4a]))return'nodes.'+_0x36ab58;}}return null!=_0xa6e5f6['shouldReceiveAttributes']&&_0xa6e5f6['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0xa6e5f6['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0xa6e5f6['wasUndone']&&_0xa6e5f6['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xa6e5f6['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x50d9be['fromObject']=function(_0x57146c){if(_0x57146c instanceof _0x3ba022['InsertOperation'])return _0x57146c;var _0x15d78d=new _0x3ba022['InsertOperation']();if(null!=_0x57146c['position']){if('object'!=typeof _0x57146c['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x15d78d['position']=_0x3ba022['Position']['fromObject'](_0x57146c['position']);}if(_0x57146c['nodes']){if(!Array['isArray'](_0x57146c['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x15d78d['nodes']=[];for(var _0x47f1a7=0x0;_0x47f1a7<_0x57146c['nodes']['length'];++_0x47f1a7){if('object'!=typeof _0x57146c['nodes'][_0x47f1a7])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x15d78d['nodes'][_0x47f1a7]=_0x3ba022['Element']['fromObject'](_0x57146c['nodes'][_0x47f1a7]);}}return null!=_0x57146c['shouldReceiveAttributes']&&(_0x15d78d['shouldReceiveAttributes']=Boolean(_0x57146c['shouldReceiveAttributes'])),null!=_0x57146c['wasUndone']&&(_0x15d78d['wasUndone']=Boolean(_0x57146c['wasUndone'])),_0x15d78d;},_0x50d9be['toObject']=function(_0x446a2b,_0x4dbfc9){_0x4dbfc9||(_0x4dbfc9={});var _0x45ead4={};if((_0x4dbfc9['arrays']||_0x4dbfc9['defaults'])&&(_0x45ead4['nodes']=[]),_0x4dbfc9['defaults']&&(_0x45ead4['position']=null,_0x45ead4['shouldReceiveAttributes']=!0x1,_0x45ead4['wasUndone']=!0x1),null!=_0x446a2b['position']&&_0x446a2b['hasOwnProperty']('position')&&(_0x45ead4['position']=_0x3ba022['Position']['toObject'](_0x446a2b['position'],_0x4dbfc9)),_0x446a2b['nodes']&&_0x446a2b['nodes']['length']){_0x45ead4['nodes']=[];for(var _0x8812c8=0x0;_0x8812c8<_0x446a2b['nodes']['length'];++_0x8812c8)_0x45ead4['nodes'][_0x8812c8]=_0x3ba022['Element']['toObject'](_0x446a2b['nodes'][_0x8812c8],_0x4dbfc9);}return null!=_0x446a2b['shouldReceiveAttributes']&&_0x446a2b['hasOwnProperty']('shouldReceiveAttributes')&&(_0x45ead4['shouldReceiveAttributes']=_0x446a2b['shouldReceiveAttributes']),null!=_0x446a2b['wasUndone']&&_0x446a2b['hasOwnProperty']('wasUndone')&&(_0x45ead4['wasUndone']=_0x446a2b['wasUndone']),_0x45ead4;},_0x50d9be['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x50d9be['getTypeUrl']=function(_0x52c2d4){return void 0x0===_0x52c2d4&&(_0x52c2d4='type.googleapis.com'),_0x52c2d4+'/InsertOperation';},_0x50d9be;}()),_0x3ba022['MarkerOperation']=(function(){function _0x1a8eb1(_0x27a30b){if(_0x27a30b){for(var _0x2c833a=Object['keys'](_0x27a30b),_0x417a20=0x0;_0x417a20<_0x2c833a['length'];++_0x417a20)null!=_0x27a30b[_0x2c833a[_0x417a20]]&&(this[_0x2c833a[_0x417a20]]=_0x27a30b[_0x2c833a[_0x417a20]]);}}return _0x1a8eb1['prototype']['name']='',_0x1a8eb1['prototype']['oldRange']=null,_0x1a8eb1['prototype']['newRange']=null,_0x1a8eb1['prototype']['affectsData']=!0x1,_0x1a8eb1['prototype']['wasUndone']=!0x1,_0x1a8eb1['create']=function(_0x45925a){return new _0x1a8eb1(_0x45925a);},_0x1a8eb1['encode']=function(_0x4f0cb8,_0x2cac1b){return _0x2cac1b||(_0x2cac1b=_0x28324b['create']()),null!=_0x4f0cb8['name']&&Object['hasOwnProperty']['call'](_0x4f0cb8,'name')&&_0x2cac1b['uint32'](0xa)['string'](_0x4f0cb8['name']),null!=_0x4f0cb8['oldRange']&&Object['hasOwnProperty']['call'](_0x4f0cb8,'oldRange')&&_0x3ba022['Range']['encode'](_0x4f0cb8['oldRange'],_0x2cac1b['uint32'](0x12)['fork']())['ldelim'](),null!=_0x4f0cb8['newRange']&&Object['hasOwnProperty']['call'](_0x4f0cb8,'newRange')&&_0x3ba022['Range']['encode'](_0x4f0cb8['newRange'],_0x2cac1b['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x4f0cb8['affectsData']&&Object['hasOwnProperty']['call'](_0x4f0cb8,'affectsData')&&_0x2cac1b['uint32'](0x20)['bool'](_0x4f0cb8['affectsData']),null!=_0x4f0cb8['wasUndone']&&Object['hasOwnProperty']['call'](_0x4f0cb8,'wasUndone')&&_0x2cac1b['uint32'](0x28)['bool'](_0x4f0cb8['wasUndone']),_0x2cac1b;},_0x1a8eb1['encodeDelimited']=function(_0x25119e,_0x119ccd){return this['encode'](_0x25119e,_0x119ccd)['ldelim']();},_0x1a8eb1['decode']=function(_0x3c7c4b,_0x4ba054){_0x3c7c4b instanceof _0x4ab140||(_0x3c7c4b=_0x4ab140['create'](_0x3c7c4b));for(var _0x2f2f0e=void 0x0===_0x4ba054?_0x3c7c4b['len']:_0x3c7c4b['pos']+_0x4ba054,_0x5b6e0c=new _0x3ba022['MarkerOperation']();_0x3c7c4b['pos']<_0x2f2f0e;){var _0x230f64=_0x3c7c4b['uint32']();switch(_0x230f64>>>0x3){case 0x1:_0x5b6e0c['name']=_0x3c7c4b['string']();break;case 0x2:_0x5b6e0c['oldRange']=_0x3ba022['Range']['decode'](_0x3c7c4b,_0x3c7c4b['uint32']());break;case 0x3:_0x5b6e0c['newRange']=_0x3ba022['Range']['decode'](_0x3c7c4b,_0x3c7c4b['uint32']());break;case 0x4:_0x5b6e0c['affectsData']=_0x3c7c4b['bool']();break;case 0x5:_0x5b6e0c['wasUndone']=_0x3c7c4b['bool']();break;default:_0x3c7c4b['skipType'](0x7&_0x230f64);}}return _0x5b6e0c;},_0x1a8eb1['decodeDelimited']=function(_0x5bbdec){return _0x5bbdec instanceof _0x4ab140||(_0x5bbdec=new _0x4ab140(_0x5bbdec)),this['decode'](_0x5bbdec,_0x5bbdec['uint32']());},_0x1a8eb1['verify']=function(_0x303788){if('object'!=typeof _0x303788||null===_0x303788)return'object\x20expected';if(null!=_0x303788['name']&&_0x303788['hasOwnProperty']('name')&&!_0x2a07e3['isString'](_0x303788['name']))return'name:\x20string\x20expected';var _0x103519;if(null!=_0x303788['oldRange']&&_0x303788['hasOwnProperty']('oldRange')&&(_0x103519=_0x3ba022['Range']['verify'](_0x303788['oldRange'])))return'oldRange.'+_0x103519;if(null!=_0x303788['newRange']&&_0x303788['hasOwnProperty']('newRange')&&(_0x103519=_0x3ba022['Range']['verify'](_0x303788['newRange'])))return'newRange.'+_0x103519;return null!=_0x303788['affectsData']&&_0x303788['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x303788['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x303788['wasUndone']&&_0x303788['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x303788['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1a8eb1['fromObject']=function(_0x4649f4){if(_0x4649f4 instanceof _0x3ba022['MarkerOperation'])return _0x4649f4;var _0x31c39e=new _0x3ba022['MarkerOperation']();if(null!=_0x4649f4['name']&&(_0x31c39e['name']=String(_0x4649f4['name'])),null!=_0x4649f4['oldRange']){if('object'!=typeof _0x4649f4['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x31c39e['oldRange']=_0x3ba022['Range']['fromObject'](_0x4649f4['oldRange']);}if(null!=_0x4649f4['newRange']){if('object'!=typeof _0x4649f4['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x31c39e['newRange']=_0x3ba022['Range']['fromObject'](_0x4649f4['newRange']);}return null!=_0x4649f4['affectsData']&&(_0x31c39e['affectsData']=Boolean(_0x4649f4['affectsData'])),null!=_0x4649f4['wasUndone']&&(_0x31c39e['wasUndone']=Boolean(_0x4649f4['wasUndone'])),_0x31c39e;},_0x1a8eb1['toObject']=function(_0x1a6609,_0x81ec2f){_0x81ec2f||(_0x81ec2f={});var _0x5945ac={};return _0x81ec2f['defaults']&&(_0x5945ac['name']='',_0x5945ac['oldRange']=null,_0x5945ac['newRange']=null,_0x5945ac['affectsData']=!0x1,_0x5945ac['wasUndone']=!0x1),null!=_0x1a6609['name']&&_0x1a6609['hasOwnProperty']('name')&&(_0x5945ac['name']=_0x1a6609['name']),null!=_0x1a6609['oldRange']&&_0x1a6609['hasOwnProperty']('oldRange')&&(_0x5945ac['oldRange']=_0x3ba022['Range']['toObject'](_0x1a6609['oldRange'],_0x81ec2f)),null!=_0x1a6609['newRange']&&_0x1a6609['hasOwnProperty']('newRange')&&(_0x5945ac['newRange']=_0x3ba022['Range']['toObject'](_0x1a6609['newRange'],_0x81ec2f)),null!=_0x1a6609['affectsData']&&_0x1a6609['hasOwnProperty']('affectsData')&&(_0x5945ac['affectsData']=_0x1a6609['affectsData']),null!=_0x1a6609['wasUndone']&&_0x1a6609['hasOwnProperty']('wasUndone')&&(_0x5945ac['wasUndone']=_0x1a6609['wasUndone']),_0x5945ac;},_0x1a8eb1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1a8eb1['getTypeUrl']=function(_0x41d761){return void 0x0===_0x41d761&&(_0x41d761='type.googleapis.com'),_0x41d761+'/MarkerOperation';},_0x1a8eb1;}()),_0x3ba022['MergeOperation']=(function(){function _0x1e9e3f(_0x4c1036){if(_0x4c1036){for(var _0x25d318=Object['keys'](_0x4c1036),_0x157fae=0x0;_0x157fae<_0x25d318['length'];++_0x157fae)null!=_0x4c1036[_0x25d318[_0x157fae]]&&(this[_0x25d318[_0x157fae]]=_0x4c1036[_0x25d318[_0x157fae]]);}}return _0x1e9e3f['prototype']['sourcePosition']=null,_0x1e9e3f['prototype']['targetPosition']=null,_0x1e9e3f['prototype']['graveyardPosition']=null,_0x1e9e3f['prototype']['howMany']=0x0,_0x1e9e3f['prototype']['wasUndone']=!0x1,_0x1e9e3f['create']=function(_0x17caf8){return new _0x1e9e3f(_0x17caf8);},_0x1e9e3f['encode']=function(_0x4600ab,_0xa7808b){return _0xa7808b||(_0xa7808b=_0x28324b['create']()),null!=_0x4600ab['sourcePosition']&&Object['hasOwnProperty']['call'](_0x4600ab,'sourcePosition')&&_0x3ba022['Position']['encode'](_0x4600ab['sourcePosition'],_0xa7808b['uint32'](0xa)['fork']())['ldelim'](),null!=_0x4600ab['targetPosition']&&Object['hasOwnProperty']['call'](_0x4600ab,'targetPosition')&&_0x3ba022['Position']['encode'](_0x4600ab['targetPosition'],_0xa7808b['uint32'](0x12)['fork']())['ldelim'](),null!=_0x4600ab['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x4600ab,'graveyardPosition')&&_0x3ba022['Position']['encode'](_0x4600ab['graveyardPosition'],_0xa7808b['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x4600ab['howMany']&&Object['hasOwnProperty']['call'](_0x4600ab,'howMany')&&_0xa7808b['uint32'](0x20)['uint32'](_0x4600ab['howMany']),null!=_0x4600ab['wasUndone']&&Object['hasOwnProperty']['call'](_0x4600ab,'wasUndone')&&_0xa7808b['uint32'](0x28)['bool'](_0x4600ab['wasUndone']),_0xa7808b;},_0x1e9e3f['encodeDelimited']=function(_0x154abf,_0x2cd2e2){return this['encode'](_0x154abf,_0x2cd2e2)['ldelim']();},_0x1e9e3f['decode']=function(_0x305a7b,_0x123aec){_0x305a7b instanceof _0x4ab140||(_0x305a7b=_0x4ab140['create'](_0x305a7b));for(var _0x257a53=void 0x0===_0x123aec?_0x305a7b['len']:_0x305a7b['pos']+_0x123aec,_0x5bdb51=new _0x3ba022['MergeOperation']();_0x305a7b['pos']<_0x257a53;){var _0x2c9efe=_0x305a7b['uint32']();switch(_0x2c9efe>>>0x3){case 0x1:_0x5bdb51['sourcePosition']=_0x3ba022['Position']['decode'](_0x305a7b,_0x305a7b['uint32']());break;case 0x2:_0x5bdb51['targetPosition']=_0x3ba022['Position']['decode'](_0x305a7b,_0x305a7b['uint32']());break;case 0x3:_0x5bdb51['graveyardPosition']=_0x3ba022['Position']['decode'](_0x305a7b,_0x305a7b['uint32']());break;case 0x4:_0x5bdb51['howMany']=_0x305a7b['uint32']();break;case 0x5:_0x5bdb51['wasUndone']=_0x305a7b['bool']();break;default:_0x305a7b['skipType'](0x7&_0x2c9efe);}}return _0x5bdb51;},_0x1e9e3f['decodeDelimited']=function(_0x3f6469){return _0x3f6469 instanceof _0x4ab140||(_0x3f6469=new _0x4ab140(_0x3f6469)),this['decode'](_0x3f6469,_0x3f6469['uint32']());},_0x1e9e3f['verify']=function(_0x4d356e){if('object'!=typeof _0x4d356e||null===_0x4d356e)return'object\x20expected';var _0x41c4e3;if(null!=_0x4d356e['sourcePosition']&&_0x4d356e['hasOwnProperty']('sourcePosition')&&(_0x41c4e3=_0x3ba022['Position']['verify'](_0x4d356e['sourcePosition'])))return'sourcePosition.'+_0x41c4e3;if(null!=_0x4d356e['targetPosition']&&_0x4d356e['hasOwnProperty']('targetPosition')&&(_0x41c4e3=_0x3ba022['Position']['verify'](_0x4d356e['targetPosition'])))return'targetPosition.'+_0x41c4e3;if(null!=_0x4d356e['graveyardPosition']&&_0x4d356e['hasOwnProperty']('graveyardPosition')&&(_0x41c4e3=_0x3ba022['Position']['verify'](_0x4d356e['graveyardPosition'])))return'graveyardPosition.'+_0x41c4e3;return null!=_0x4d356e['howMany']&&_0x4d356e['hasOwnProperty']('howMany')&&!_0x2a07e3['isInteger'](_0x4d356e['howMany'])?'howMany:\x20integer\x20expected':null!=_0x4d356e['wasUndone']&&_0x4d356e['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4d356e['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1e9e3f['fromObject']=function(_0x440348){if(_0x440348 instanceof _0x3ba022['MergeOperation'])return _0x440348;var _0x30616b=new _0x3ba022['MergeOperation']();if(null!=_0x440348['sourcePosition']){if('object'!=typeof _0x440348['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x30616b['sourcePosition']=_0x3ba022['Position']['fromObject'](_0x440348['sourcePosition']);}if(null!=_0x440348['targetPosition']){if('object'!=typeof _0x440348['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x30616b['targetPosition']=_0x3ba022['Position']['fromObject'](_0x440348['targetPosition']);}if(null!=_0x440348['graveyardPosition']){if('object'!=typeof _0x440348['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x30616b['graveyardPosition']=_0x3ba022['Position']['fromObject'](_0x440348['graveyardPosition']);}return null!=_0x440348['howMany']&&(_0x30616b['howMany']=_0x440348['howMany']>>>0x0),null!=_0x440348['wasUndone']&&(_0x30616b['wasUndone']=Boolean(_0x440348['wasUndone'])),_0x30616b;},_0x1e9e3f['toObject']=function(_0x1a5dbd,_0x4ec911){_0x4ec911||(_0x4ec911={});var _0x315833={};return _0x4ec911['defaults']&&(_0x315833['sourcePosition']=null,_0x315833['targetPosition']=null,_0x315833['graveyardPosition']=null,_0x315833['howMany']=0x0,_0x315833['wasUndone']=!0x1),null!=_0x1a5dbd['sourcePosition']&&_0x1a5dbd['hasOwnProperty']('sourcePosition')&&(_0x315833['sourcePosition']=_0x3ba022['Position']['toObject'](_0x1a5dbd['sourcePosition'],_0x4ec911)),null!=_0x1a5dbd['targetPosition']&&_0x1a5dbd['hasOwnProperty']('targetPosition')&&(_0x315833['targetPosition']=_0x3ba022['Position']['toObject'](_0x1a5dbd['targetPosition'],_0x4ec911)),null!=_0x1a5dbd['graveyardPosition']&&_0x1a5dbd['hasOwnProperty']('graveyardPosition')&&(_0x315833['graveyardPosition']=_0x3ba022['Position']['toObject'](_0x1a5dbd['graveyardPosition'],_0x4ec911)),null!=_0x1a5dbd['howMany']&&_0x1a5dbd['hasOwnProperty']('howMany')&&(_0x315833['howMany']=_0x1a5dbd['howMany']),null!=_0x1a5dbd['wasUndone']&&_0x1a5dbd['hasOwnProperty']('wasUndone')&&(_0x315833['wasUndone']=_0x1a5dbd['wasUndone']),_0x315833;},_0x1e9e3f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1e9e3f['getTypeUrl']=function(_0x531c54){return void 0x0===_0x531c54&&(_0x531c54='type.googleapis.com'),_0x531c54+'/MergeOperation';},_0x1e9e3f;}()),_0x3ba022['MoveOperation']=(function(){function _0x46be29(_0x203a36){if(_0x203a36){for(var _0x2b3b21=Object['keys'](_0x203a36),_0x2455d2=0x0;_0x2455d2<_0x2b3b21['length'];++_0x2455d2)null!=_0x203a36[_0x2b3b21[_0x2455d2]]&&(this[_0x2b3b21[_0x2455d2]]=_0x203a36[_0x2b3b21[_0x2455d2]]);}}return _0x46be29['prototype']['sourcePosition']=null,_0x46be29['prototype']['howMany']=0x0,_0x46be29['prototype']['targetPosition']=null,_0x46be29['prototype']['wasUndone']=!0x1,_0x46be29['create']=function(_0x1592f9){return new _0x46be29(_0x1592f9);},_0x46be29['encode']=function(_0x280e43,_0x299371){return _0x299371||(_0x299371=_0x28324b['create']()),null!=_0x280e43['sourcePosition']&&Object['hasOwnProperty']['call'](_0x280e43,'sourcePosition')&&_0x3ba022['Position']['encode'](_0x280e43['sourcePosition'],_0x299371['uint32'](0xa)['fork']())['ldelim'](),null!=_0x280e43['howMany']&&Object['hasOwnProperty']['call'](_0x280e43,'howMany')&&_0x299371['uint32'](0x10)['uint32'](_0x280e43['howMany']),null!=_0x280e43['targetPosition']&&Object['hasOwnProperty']['call'](_0x280e43,'targetPosition')&&_0x3ba022['Position']['encode'](_0x280e43['targetPosition'],_0x299371['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x280e43['wasUndone']&&Object['hasOwnProperty']['call'](_0x280e43,'wasUndone')&&_0x299371['uint32'](0x20)['bool'](_0x280e43['wasUndone']),_0x299371;},_0x46be29['encodeDelimited']=function(_0x3c5daf,_0x3b37b3){return this['encode'](_0x3c5daf,_0x3b37b3)['ldelim']();},_0x46be29['decode']=function(_0x5d47e0,_0x2cf4ac){_0x5d47e0 instanceof _0x4ab140||(_0x5d47e0=_0x4ab140['create'](_0x5d47e0));for(var _0x4262a1=void 0x0===_0x2cf4ac?_0x5d47e0['len']:_0x5d47e0['pos']+_0x2cf4ac,_0xbff739=new _0x3ba022['MoveOperation']();_0x5d47e0['pos']<_0x4262a1;){var _0x167ff9=_0x5d47e0['uint32']();switch(_0x167ff9>>>0x3){case 0x1:_0xbff739['sourcePosition']=_0x3ba022['Position']['decode'](_0x5d47e0,_0x5d47e0['uint32']());break;case 0x2:_0xbff739['howMany']=_0x5d47e0['uint32']();break;case 0x3:_0xbff739['targetPosition']=_0x3ba022['Position']['decode'](_0x5d47e0,_0x5d47e0['uint32']());break;case 0x4:_0xbff739['wasUndone']=_0x5d47e0['bool']();break;default:_0x5d47e0['skipType'](0x7&_0x167ff9);}}return _0xbff739;},_0x46be29['decodeDelimited']=function(_0x51a7b7){return _0x51a7b7 instanceof _0x4ab140||(_0x51a7b7=new _0x4ab140(_0x51a7b7)),this['decode'](_0x51a7b7,_0x51a7b7['uint32']());},_0x46be29['verify']=function(_0x54d168){if('object'!=typeof _0x54d168||null===_0x54d168)return'object\x20expected';var _0x16dd7d;if(null!=_0x54d168['sourcePosition']&&_0x54d168['hasOwnProperty']('sourcePosition')&&(_0x16dd7d=_0x3ba022['Position']['verify'](_0x54d168['sourcePosition'])))return'sourcePosition.'+_0x16dd7d;if(null!=_0x54d168['howMany']&&_0x54d168['hasOwnProperty']('howMany')&&!_0x2a07e3['isInteger'](_0x54d168['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x54d168['targetPosition']&&_0x54d168['hasOwnProperty']('targetPosition')&&(_0x16dd7d=_0x3ba022['Position']['verify'](_0x54d168['targetPosition'])))return'targetPosition.'+_0x16dd7d;return null!=_0x54d168['wasUndone']&&_0x54d168['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x54d168['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x46be29['fromObject']=function(_0x483da7){if(_0x483da7 instanceof _0x3ba022['MoveOperation'])return _0x483da7;var _0x23bce5=new _0x3ba022['MoveOperation']();if(null!=_0x483da7['sourcePosition']){if('object'!=typeof _0x483da7['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x23bce5['sourcePosition']=_0x3ba022['Position']['fromObject'](_0x483da7['sourcePosition']);}if(null!=_0x483da7['howMany']&&(_0x23bce5['howMany']=_0x483da7['howMany']>>>0x0),null!=_0x483da7['targetPosition']){if('object'!=typeof _0x483da7['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x23bce5['targetPosition']=_0x3ba022['Position']['fromObject'](_0x483da7['targetPosition']);}return null!=_0x483da7['wasUndone']&&(_0x23bce5['wasUndone']=Boolean(_0x483da7['wasUndone'])),_0x23bce5;},_0x46be29['toObject']=function(_0x3c6631,_0x57623c){_0x57623c||(_0x57623c={});var _0x4ae3da={};return _0x57623c['defaults']&&(_0x4ae3da['sourcePosition']=null,_0x4ae3da['howMany']=0x0,_0x4ae3da['targetPosition']=null,_0x4ae3da['wasUndone']=!0x1),null!=_0x3c6631['sourcePosition']&&_0x3c6631['hasOwnProperty']('sourcePosition')&&(_0x4ae3da['sourcePosition']=_0x3ba022['Position']['toObject'](_0x3c6631['sourcePosition'],_0x57623c)),null!=_0x3c6631['howMany']&&_0x3c6631['hasOwnProperty']('howMany')&&(_0x4ae3da['howMany']=_0x3c6631['howMany']),null!=_0x3c6631['targetPosition']&&_0x3c6631['hasOwnProperty']('targetPosition')&&(_0x4ae3da['targetPosition']=_0x3ba022['Position']['toObject'](_0x3c6631['targetPosition'],_0x57623c)),null!=_0x3c6631['wasUndone']&&_0x3c6631['hasOwnProperty']('wasUndone')&&(_0x4ae3da['wasUndone']=_0x3c6631['wasUndone']),_0x4ae3da;},_0x46be29['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x46be29['getTypeUrl']=function(_0x1ab35e){return void 0x0===_0x1ab35e&&(_0x1ab35e='type.googleapis.com'),_0x1ab35e+'/MoveOperation';},_0x46be29;}()),_0x3ba022['RenameOperation']=(function(){function _0x359557(_0x323c51){if(_0x323c51){for(var _0x3f53b3=Object['keys'](_0x323c51),_0x2d3885=0x0;_0x2d3885<_0x3f53b3['length'];++_0x2d3885)null!=_0x323c51[_0x3f53b3[_0x2d3885]]&&(this[_0x3f53b3[_0x2d3885]]=_0x323c51[_0x3f53b3[_0x2d3885]]);}}return _0x359557['prototype']['position']=null,_0x359557['prototype']['oldName']='',_0x359557['prototype']['newName']='',_0x359557['prototype']['wasUndone']=!0x1,_0x359557['create']=function(_0xae726a){return new _0x359557(_0xae726a);},_0x359557['encode']=function(_0x834081,_0x3eec93){return _0x3eec93||(_0x3eec93=_0x28324b['create']()),null!=_0x834081['position']&&Object['hasOwnProperty']['call'](_0x834081,'position')&&_0x3ba022['Position']['encode'](_0x834081['position'],_0x3eec93['uint32'](0xa)['fork']())['ldelim'](),null!=_0x834081['oldName']&&Object['hasOwnProperty']['call'](_0x834081,'oldName')&&_0x3eec93['uint32'](0x12)['string'](_0x834081['oldName']),null!=_0x834081['newName']&&Object['hasOwnProperty']['call'](_0x834081,'newName')&&_0x3eec93['uint32'](0x1a)['string'](_0x834081['newName']),null!=_0x834081['wasUndone']&&Object['hasOwnProperty']['call'](_0x834081,'wasUndone')&&_0x3eec93['uint32'](0x20)['bool'](_0x834081['wasUndone']),_0x3eec93;},_0x359557['encodeDelimited']=function(_0x15bdcf,_0x268bd1){return this['encode'](_0x15bdcf,_0x268bd1)['ldelim']();},_0x359557['decode']=function(_0x84911b,_0x2add3f){_0x84911b instanceof _0x4ab140||(_0x84911b=_0x4ab140['create'](_0x84911b));for(var _0x1fb168=void 0x0===_0x2add3f?_0x84911b['len']:_0x84911b['pos']+_0x2add3f,_0x15cd26=new _0x3ba022['RenameOperation']();_0x84911b['pos']<_0x1fb168;){var _0x4696b3=_0x84911b['uint32']();switch(_0x4696b3>>>0x3){case 0x1:_0x15cd26['position']=_0x3ba022['Position']['decode'](_0x84911b,_0x84911b['uint32']());break;case 0x2:_0x15cd26['oldName']=_0x84911b['string']();break;case 0x3:_0x15cd26['newName']=_0x84911b['string']();break;case 0x4:_0x15cd26['wasUndone']=_0x84911b['bool']();break;default:_0x84911b['skipType'](0x7&_0x4696b3);}}return _0x15cd26;},_0x359557['decodeDelimited']=function(_0x5de5cb){return _0x5de5cb instanceof _0x4ab140||(_0x5de5cb=new _0x4ab140(_0x5de5cb)),this['decode'](_0x5de5cb,_0x5de5cb['uint32']());},_0x359557['verify']=function(_0x2a73ce){if('object'!=typeof _0x2a73ce||null===_0x2a73ce)return'object\x20expected';if(null!=_0x2a73ce['position']&&_0x2a73ce['hasOwnProperty']('position')){var _0x11f63b=_0x3ba022['Position']['verify'](_0x2a73ce['position']);if(_0x11f63b)return'position.'+_0x11f63b;}return null!=_0x2a73ce['oldName']&&_0x2a73ce['hasOwnProperty']('oldName')&&!_0x2a07e3['isString'](_0x2a73ce['oldName'])?'oldName:\x20string\x20expected':null!=_0x2a73ce['newName']&&_0x2a73ce['hasOwnProperty']('newName')&&!_0x2a07e3['isString'](_0x2a73ce['newName'])?'newName:\x20string\x20expected':null!=_0x2a73ce['wasUndone']&&_0x2a73ce['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2a73ce['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x359557['fromObject']=function(_0x33adaf){if(_0x33adaf instanceof _0x3ba022['RenameOperation'])return _0x33adaf;var _0x37a0af=new _0x3ba022['RenameOperation']();if(null!=_0x33adaf['position']){if('object'!=typeof _0x33adaf['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x37a0af['position']=_0x3ba022['Position']['fromObject'](_0x33adaf['position']);}return null!=_0x33adaf['oldName']&&(_0x37a0af['oldName']=String(_0x33adaf['oldName'])),null!=_0x33adaf['newName']&&(_0x37a0af['newName']=String(_0x33adaf['newName'])),null!=_0x33adaf['wasUndone']&&(_0x37a0af['wasUndone']=Boolean(_0x33adaf['wasUndone'])),_0x37a0af;},_0x359557['toObject']=function(_0x120dd5,_0x28666d){_0x28666d||(_0x28666d={});var _0x335395={};return _0x28666d['defaults']&&(_0x335395['position']=null,_0x335395['oldName']='',_0x335395['newName']='',_0x335395['wasUndone']=!0x1),null!=_0x120dd5['position']&&_0x120dd5['hasOwnProperty']('position')&&(_0x335395['position']=_0x3ba022['Position']['toObject'](_0x120dd5['position'],_0x28666d)),null!=_0x120dd5['oldName']&&_0x120dd5['hasOwnProperty']('oldName')&&(_0x335395['oldName']=_0x120dd5['oldName']),null!=_0x120dd5['newName']&&_0x120dd5['hasOwnProperty']('newName')&&(_0x335395['newName']=_0x120dd5['newName']),null!=_0x120dd5['wasUndone']&&_0x120dd5['hasOwnProperty']('wasUndone')&&(_0x335395['wasUndone']=_0x120dd5['wasUndone']),_0x335395;},_0x359557['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x359557['getTypeUrl']=function(_0x41d1f4){return void 0x0===_0x41d1f4&&(_0x41d1f4='type.googleapis.com'),_0x41d1f4+'/RenameOperation';},_0x359557;}()),_0x3ba022['RootAttributeOperation']=(function(){function _0x379bc9(_0x350e88){if(_0x350e88){for(var _0x18b1df=Object['keys'](_0x350e88),_0x2dbe5d=0x0;_0x2dbe5d<_0x18b1df['length'];++_0x2dbe5d)null!=_0x350e88[_0x18b1df[_0x2dbe5d]]&&(this[_0x18b1df[_0x2dbe5d]]=_0x350e88[_0x18b1df[_0x2dbe5d]]);}}return _0x379bc9['prototype']['root']='',_0x379bc9['prototype']['key']='',_0x379bc9['prototype']['oldValueBoolean']=!0x1,_0x379bc9['prototype']['oldValueJson']='',_0x379bc9['prototype']['newValueBoolean']=!0x1,_0x379bc9['prototype']['newValueJson']='',_0x379bc9['prototype']['wasUndone']=!0x1,_0x379bc9['create']=function(_0x4911d3){return new _0x379bc9(_0x4911d3);},_0x379bc9['encode']=function(_0x16ac89,_0x2c7f1b){return _0x2c7f1b||(_0x2c7f1b=_0x28324b['create']()),null!=_0x16ac89['root']&&Object['hasOwnProperty']['call'](_0x16ac89,'root')&&_0x2c7f1b['uint32'](0xa)['string'](_0x16ac89['root']),null!=_0x16ac89['key']&&Object['hasOwnProperty']['call'](_0x16ac89,'key')&&_0x2c7f1b['uint32'](0x12)['string'](_0x16ac89['key']),null!=_0x16ac89['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x16ac89,'oldValueBoolean')&&_0x2c7f1b['uint32'](0x18)['bool'](_0x16ac89['oldValueBoolean']),null!=_0x16ac89['oldValueJson']&&Object['hasOwnProperty']['call'](_0x16ac89,'oldValueJson')&&_0x2c7f1b['uint32'](0x22)['string'](_0x16ac89['oldValueJson']),null!=_0x16ac89['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x16ac89,'newValueBoolean')&&_0x2c7f1b['uint32'](0x28)['bool'](_0x16ac89['newValueBoolean']),null!=_0x16ac89['newValueJson']&&Object['hasOwnProperty']['call'](_0x16ac89,'newValueJson')&&_0x2c7f1b['uint32'](0x32)['string'](_0x16ac89['newValueJson']),null!=_0x16ac89['wasUndone']&&Object['hasOwnProperty']['call'](_0x16ac89,'wasUndone')&&_0x2c7f1b['uint32'](0x38)['bool'](_0x16ac89['wasUndone']),_0x2c7f1b;},_0x379bc9['encodeDelimited']=function(_0x505b21,_0x521e27){return this['encode'](_0x505b21,_0x521e27)['ldelim']();},_0x379bc9['decode']=function(_0x3e0dcf,_0x41dc3a){_0x3e0dcf instanceof _0x4ab140||(_0x3e0dcf=_0x4ab140['create'](_0x3e0dcf));for(var _0x1b08e6=void 0x0===_0x41dc3a?_0x3e0dcf['len']:_0x3e0dcf['pos']+_0x41dc3a,_0x395471=new _0x3ba022['RootAttributeOperation']();_0x3e0dcf['pos']<_0x1b08e6;){var _0x45ef21=_0x3e0dcf['uint32']();switch(_0x45ef21>>>0x3){case 0x1:_0x395471['root']=_0x3e0dcf['string']();break;case 0x2:_0x395471['key']=_0x3e0dcf['string']();break;case 0x3:_0x395471['oldValueBoolean']=_0x3e0dcf['bool']();break;case 0x4:_0x395471['oldValueJson']=_0x3e0dcf['string']();break;case 0x5:_0x395471['newValueBoolean']=_0x3e0dcf['bool']();break;case 0x6:_0x395471['newValueJson']=_0x3e0dcf['string']();break;case 0x7:_0x395471['wasUndone']=_0x3e0dcf['bool']();break;default:_0x3e0dcf['skipType'](0x7&_0x45ef21);}}return _0x395471;},_0x379bc9['decodeDelimited']=function(_0xad2274){return _0xad2274 instanceof _0x4ab140||(_0xad2274=new _0x4ab140(_0xad2274)),this['decode'](_0xad2274,_0xad2274['uint32']());},_0x379bc9['verify']=function(_0x206a66){return'object'!=typeof _0x206a66||null===_0x206a66?'object\x20expected':null!=_0x206a66['root']&&_0x206a66['hasOwnProperty']('root')&&!_0x2a07e3['isString'](_0x206a66['root'])?'root:\x20string\x20expected':null!=_0x206a66['key']&&_0x206a66['hasOwnProperty']('key')&&!_0x2a07e3['isString'](_0x206a66['key'])?'key:\x20string\x20expected':null!=_0x206a66['oldValueBoolean']&&_0x206a66['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x206a66['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x206a66['oldValueJson']&&_0x206a66['hasOwnProperty']('oldValueJson')&&!_0x2a07e3['isString'](_0x206a66['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x206a66['newValueBoolean']&&_0x206a66['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x206a66['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x206a66['newValueJson']&&_0x206a66['hasOwnProperty']('newValueJson')&&!_0x2a07e3['isString'](_0x206a66['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x206a66['wasUndone']&&_0x206a66['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x206a66['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x379bc9['fromObject']=function(_0x501802){if(_0x501802 instanceof _0x3ba022['RootAttributeOperation'])return _0x501802;var _0x424289=new _0x3ba022['RootAttributeOperation']();return null!=_0x501802['root']&&(_0x424289['root']=String(_0x501802['root'])),null!=_0x501802['key']&&(_0x424289['key']=String(_0x501802['key'])),null!=_0x501802['oldValueBoolean']&&(_0x424289['oldValueBoolean']=Boolean(_0x501802['oldValueBoolean'])),null!=_0x501802['oldValueJson']&&(_0x424289['oldValueJson']=String(_0x501802['oldValueJson'])),null!=_0x501802['newValueBoolean']&&(_0x424289['newValueBoolean']=Boolean(_0x501802['newValueBoolean'])),null!=_0x501802['newValueJson']&&(_0x424289['newValueJson']=String(_0x501802['newValueJson'])),null!=_0x501802['wasUndone']&&(_0x424289['wasUndone']=Boolean(_0x501802['wasUndone'])),_0x424289;},_0x379bc9['toObject']=function(_0x28e218,_0x2ff4b0){_0x2ff4b0||(_0x2ff4b0={});var _0x1b74b3={};return _0x2ff4b0['defaults']&&(_0x1b74b3['root']='',_0x1b74b3['key']='',_0x1b74b3['oldValueBoolean']=!0x1,_0x1b74b3['oldValueJson']='',_0x1b74b3['newValueBoolean']=!0x1,_0x1b74b3['newValueJson']='',_0x1b74b3['wasUndone']=!0x1),null!=_0x28e218['root']&&_0x28e218['hasOwnProperty']('root')&&(_0x1b74b3['root']=_0x28e218['root']),null!=_0x28e218['key']&&_0x28e218['hasOwnProperty']('key')&&(_0x1b74b3['key']=_0x28e218['key']),null!=_0x28e218['oldValueBoolean']&&_0x28e218['hasOwnProperty']('oldValueBoolean')&&(_0x1b74b3['oldValueBoolean']=_0x28e218['oldValueBoolean']),null!=_0x28e218['oldValueJson']&&_0x28e218['hasOwnProperty']('oldValueJson')&&(_0x1b74b3['oldValueJson']=_0x28e218['oldValueJson']),null!=_0x28e218['newValueBoolean']&&_0x28e218['hasOwnProperty']('newValueBoolean')&&(_0x1b74b3['newValueBoolean']=_0x28e218['newValueBoolean']),null!=_0x28e218['newValueJson']&&_0x28e218['hasOwnProperty']('newValueJson')&&(_0x1b74b3['newValueJson']=_0x28e218['newValueJson']),null!=_0x28e218['wasUndone']&&_0x28e218['hasOwnProperty']('wasUndone')&&(_0x1b74b3['wasUndone']=_0x28e218['wasUndone']),_0x1b74b3;},_0x379bc9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x379bc9['getTypeUrl']=function(_0x253655){return void 0x0===_0x253655&&(_0x253655='type.googleapis.com'),_0x253655+'/RootAttributeOperation';},_0x379bc9;}()),_0x3ba022['RootOperation']=(function(){function _0x638c94(_0x5eff59){if(_0x5eff59){for(var _0x5cdcc3=Object['keys'](_0x5eff59),_0x37e8cd=0x0;_0x37e8cd<_0x5cdcc3['length'];++_0x37e8cd)null!=_0x5eff59[_0x5cdcc3[_0x37e8cd]]&&(this[_0x5cdcc3[_0x37e8cd]]=_0x5eff59[_0x5cdcc3[_0x37e8cd]]);}}return _0x638c94['prototype']['rootName']='',_0x638c94['prototype']['elementName']='',_0x638c94['prototype']['isAdd']=!0x1,_0x638c94['prototype']['wasUndone']=!0x1,_0x638c94['create']=function(_0x2a3e09){return new _0x638c94(_0x2a3e09);},_0x638c94['encode']=function(_0x3e2b91,_0x225389){return _0x225389||(_0x225389=_0x28324b['create']()),null!=_0x3e2b91['rootName']&&Object['hasOwnProperty']['call'](_0x3e2b91,'rootName')&&_0x225389['uint32'](0xa)['string'](_0x3e2b91['rootName']),null!=_0x3e2b91['elementName']&&Object['hasOwnProperty']['call'](_0x3e2b91,'elementName')&&_0x225389['uint32'](0x12)['string'](_0x3e2b91['elementName']),null!=_0x3e2b91['isAdd']&&Object['hasOwnProperty']['call'](_0x3e2b91,'isAdd')&&_0x225389['uint32'](0x18)['bool'](_0x3e2b91['isAdd']),null!=_0x3e2b91['wasUndone']&&Object['hasOwnProperty']['call'](_0x3e2b91,'wasUndone')&&_0x225389['uint32'](0x20)['bool'](_0x3e2b91['wasUndone']),_0x225389;},_0x638c94['encodeDelimited']=function(_0x15407e,_0x5eeab8){return this['encode'](_0x15407e,_0x5eeab8)['ldelim']();},_0x638c94['decode']=function(_0x3d65d2,_0x28aee5){_0x3d65d2 instanceof _0x4ab140||(_0x3d65d2=_0x4ab140['create'](_0x3d65d2));for(var _0xb60eae=void 0x0===_0x28aee5?_0x3d65d2['len']:_0x3d65d2['pos']+_0x28aee5,_0x4a914a=new _0x3ba022['RootOperation']();_0x3d65d2['pos']<_0xb60eae;){var _0x18203b=_0x3d65d2['uint32']();switch(_0x18203b>>>0x3){case 0x1:_0x4a914a['rootName']=_0x3d65d2['string']();break;case 0x2:_0x4a914a['elementName']=_0x3d65d2['string']();break;case 0x3:_0x4a914a['isAdd']=_0x3d65d2['bool']();break;case 0x4:_0x4a914a['wasUndone']=_0x3d65d2['bool']();break;default:_0x3d65d2['skipType'](0x7&_0x18203b);}}return _0x4a914a;},_0x638c94['decodeDelimited']=function(_0x583165){return _0x583165 instanceof _0x4ab140||(_0x583165=new _0x4ab140(_0x583165)),this['decode'](_0x583165,_0x583165['uint32']());},_0x638c94['verify']=function(_0x526e53){return'object'!=typeof _0x526e53||null===_0x526e53?'object\x20expected':null!=_0x526e53['rootName']&&_0x526e53['hasOwnProperty']('rootName')&&!_0x2a07e3['isString'](_0x526e53['rootName'])?'rootName:\x20string\x20expected':null!=_0x526e53['elementName']&&_0x526e53['hasOwnProperty']('elementName')&&!_0x2a07e3['isString'](_0x526e53['elementName'])?'elementName:\x20string\x20expected':null!=_0x526e53['isAdd']&&_0x526e53['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x526e53['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x526e53['wasUndone']&&_0x526e53['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x526e53['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x638c94['fromObject']=function(_0x1f6a27){if(_0x1f6a27 instanceof _0x3ba022['RootOperation'])return _0x1f6a27;var _0x268012=new _0x3ba022['RootOperation']();return null!=_0x1f6a27['rootName']&&(_0x268012['rootName']=String(_0x1f6a27['rootName'])),null!=_0x1f6a27['elementName']&&(_0x268012['elementName']=String(_0x1f6a27['elementName'])),null!=_0x1f6a27['isAdd']&&(_0x268012['isAdd']=Boolean(_0x1f6a27['isAdd'])),null!=_0x1f6a27['wasUndone']&&(_0x268012['wasUndone']=Boolean(_0x1f6a27['wasUndone'])),_0x268012;},_0x638c94['toObject']=function(_0x4b7be7,_0x107540){_0x107540||(_0x107540={});var _0x874e10={};return _0x107540['defaults']&&(_0x874e10['rootName']='',_0x874e10['elementName']='',_0x874e10['isAdd']=!0x1,_0x874e10['wasUndone']=!0x1),null!=_0x4b7be7['rootName']&&_0x4b7be7['hasOwnProperty']('rootName')&&(_0x874e10['rootName']=_0x4b7be7['rootName']),null!=_0x4b7be7['elementName']&&_0x4b7be7['hasOwnProperty']('elementName')&&(_0x874e10['elementName']=_0x4b7be7['elementName']),null!=_0x4b7be7['isAdd']&&_0x4b7be7['hasOwnProperty']('isAdd')&&(_0x874e10['isAdd']=_0x4b7be7['isAdd']),null!=_0x4b7be7['wasUndone']&&_0x4b7be7['hasOwnProperty']('wasUndone')&&(_0x874e10['wasUndone']=_0x4b7be7['wasUndone']),_0x874e10;},_0x638c94['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x638c94['getTypeUrl']=function(_0x465c64){return void 0x0===_0x465c64&&(_0x465c64='type.googleapis.com'),_0x465c64+'/RootOperation';},_0x638c94;}()),_0x3ba022['SplitOperation']=(function(){function _0x12d513(_0xa089fe){if(_0xa089fe){for(var _0x417a59=Object['keys'](_0xa089fe),_0x547e9d=0x0;_0x547e9d<_0x417a59['length'];++_0x547e9d)null!=_0xa089fe[_0x417a59[_0x547e9d]]&&(this[_0x417a59[_0x547e9d]]=_0xa089fe[_0x417a59[_0x547e9d]]);}}return _0x12d513['prototype']['splitPosition']=null,_0x12d513['prototype']['graveyardPosition']=null,_0x12d513['prototype']['howMany']=0x0,_0x12d513['prototype']['insertionPosition']=null,_0x12d513['prototype']['wasUndone']=!0x1,_0x12d513['create']=function(_0x4b718d){return new _0x12d513(_0x4b718d);},_0x12d513['encode']=function(_0x4427cd,_0x276726){return _0x276726||(_0x276726=_0x28324b['create']()),null!=_0x4427cd['splitPosition']&&Object['hasOwnProperty']['call'](_0x4427cd,'splitPosition')&&_0x3ba022['Position']['encode'](_0x4427cd['splitPosition'],_0x276726['uint32'](0xa)['fork']())['ldelim'](),null!=_0x4427cd['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x4427cd,'graveyardPosition')&&_0x3ba022['Position']['encode'](_0x4427cd['graveyardPosition'],_0x276726['uint32'](0x12)['fork']())['ldelim'](),null!=_0x4427cd['howMany']&&Object['hasOwnProperty']['call'](_0x4427cd,'howMany')&&_0x276726['uint32'](0x18)['uint32'](_0x4427cd['howMany']),null!=_0x4427cd['insertionPosition']&&Object['hasOwnProperty']['call'](_0x4427cd,'insertionPosition')&&_0x3ba022['Position']['encode'](_0x4427cd['insertionPosition'],_0x276726['uint32'](0x22)['fork']())['ldelim'](),null!=_0x4427cd['wasUndone']&&Object['hasOwnProperty']['call'](_0x4427cd,'wasUndone')&&_0x276726['uint32'](0x28)['bool'](_0x4427cd['wasUndone']),_0x276726;},_0x12d513['encodeDelimited']=function(_0x516c2a,_0x50c005){return this['encode'](_0x516c2a,_0x50c005)['ldelim']();},_0x12d513['decode']=function(_0x48886e,_0x2d6589){_0x48886e instanceof _0x4ab140||(_0x48886e=_0x4ab140['create'](_0x48886e));for(var _0x1bf5a0=void 0x0===_0x2d6589?_0x48886e['len']:_0x48886e['pos']+_0x2d6589,_0x5b0143=new _0x3ba022['SplitOperation']();_0x48886e['pos']<_0x1bf5a0;){var _0x1b4860=_0x48886e['uint32']();switch(_0x1b4860>>>0x3){case 0x1:_0x5b0143['splitPosition']=_0x3ba022['Position']['decode'](_0x48886e,_0x48886e['uint32']());break;case 0x2:_0x5b0143['graveyardPosition']=_0x3ba022['Position']['decode'](_0x48886e,_0x48886e['uint32']());break;case 0x3:_0x5b0143['howMany']=_0x48886e['uint32']();break;case 0x4:_0x5b0143['insertionPosition']=_0x3ba022['Position']['decode'](_0x48886e,_0x48886e['uint32']());break;case 0x5:_0x5b0143['wasUndone']=_0x48886e['bool']();break;default:_0x48886e['skipType'](0x7&_0x1b4860);}}return _0x5b0143;},_0x12d513['decodeDelimited']=function(_0x5393af){return _0x5393af instanceof _0x4ab140||(_0x5393af=new _0x4ab140(_0x5393af)),this['decode'](_0x5393af,_0x5393af['uint32']());},_0x12d513['verify']=function(_0x375439){if('object'!=typeof _0x375439||null===_0x375439)return'object\x20expected';var _0x1ce0eb;if(null!=_0x375439['splitPosition']&&_0x375439['hasOwnProperty']('splitPosition')&&(_0x1ce0eb=_0x3ba022['Position']['verify'](_0x375439['splitPosition'])))return'splitPosition.'+_0x1ce0eb;if(null!=_0x375439['graveyardPosition']&&_0x375439['hasOwnProperty']('graveyardPosition')&&(_0x1ce0eb=_0x3ba022['Position']['verify'](_0x375439['graveyardPosition'])))return'graveyardPosition.'+_0x1ce0eb;if(null!=_0x375439['howMany']&&_0x375439['hasOwnProperty']('howMany')&&!_0x2a07e3['isInteger'](_0x375439['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x375439['insertionPosition']&&_0x375439['hasOwnProperty']('insertionPosition')&&(_0x1ce0eb=_0x3ba022['Position']['verify'](_0x375439['insertionPosition'])))return'insertionPosition.'+_0x1ce0eb;return null!=_0x375439['wasUndone']&&_0x375439['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x375439['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x12d513['fromObject']=function(_0x1f2ac4){if(_0x1f2ac4 instanceof _0x3ba022['SplitOperation'])return _0x1f2ac4;var _0x5a9cdd=new _0x3ba022['SplitOperation']();if(null!=_0x1f2ac4['splitPosition']){if('object'!=typeof _0x1f2ac4['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x5a9cdd['splitPosition']=_0x3ba022['Position']['fromObject'](_0x1f2ac4['splitPosition']);}if(null!=_0x1f2ac4['graveyardPosition']){if('object'!=typeof _0x1f2ac4['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x5a9cdd['graveyardPosition']=_0x3ba022['Position']['fromObject'](_0x1f2ac4['graveyardPosition']);}if(null!=_0x1f2ac4['howMany']&&(_0x5a9cdd['howMany']=_0x1f2ac4['howMany']>>>0x0),null!=_0x1f2ac4['insertionPosition']){if('object'!=typeof _0x1f2ac4['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x5a9cdd['insertionPosition']=_0x3ba022['Position']['fromObject'](_0x1f2ac4['insertionPosition']);}return null!=_0x1f2ac4['wasUndone']&&(_0x5a9cdd['wasUndone']=Boolean(_0x1f2ac4['wasUndone'])),_0x5a9cdd;},_0x12d513['toObject']=function(_0x552bdd,_0x16e430){_0x16e430||(_0x16e430={});var _0x4b2129={};return _0x16e430['defaults']&&(_0x4b2129['splitPosition']=null,_0x4b2129['graveyardPosition']=null,_0x4b2129['howMany']=0x0,_0x4b2129['insertionPosition']=null,_0x4b2129['wasUndone']=!0x1),null!=_0x552bdd['splitPosition']&&_0x552bdd['hasOwnProperty']('splitPosition')&&(_0x4b2129['splitPosition']=_0x3ba022['Position']['toObject'](_0x552bdd['splitPosition'],_0x16e430)),null!=_0x552bdd['graveyardPosition']&&_0x552bdd['hasOwnProperty']('graveyardPosition')&&(_0x4b2129['graveyardPosition']=_0x3ba022['Position']['toObject'](_0x552bdd['graveyardPosition'],_0x16e430)),null!=_0x552bdd['howMany']&&_0x552bdd['hasOwnProperty']('howMany')&&(_0x4b2129['howMany']=_0x552bdd['howMany']),null!=_0x552bdd['insertionPosition']&&_0x552bdd['hasOwnProperty']('insertionPosition')&&(_0x4b2129['insertionPosition']=_0x3ba022['Position']['toObject'](_0x552bdd['insertionPosition'],_0x16e430)),null!=_0x552bdd['wasUndone']&&_0x552bdd['hasOwnProperty']('wasUndone')&&(_0x4b2129['wasUndone']=_0x552bdd['wasUndone']),_0x4b2129;},_0x12d513['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x12d513['getTypeUrl']=function(_0x504834){return void 0x0===_0x504834&&(_0x504834='type.googleapis.com'),_0x504834+'/SplitOperation';},_0x12d513;}()),_0x3ba022['Position']=(function(){function _0x21737e(_0x52d35e){if(this['path']=[],_0x52d35e){for(var _0x5046ac=Object['keys'](_0x52d35e),_0x92051e=0x0;_0x92051e<_0x5046ac['length'];++_0x92051e)null!=_0x52d35e[_0x5046ac[_0x92051e]]&&(this[_0x5046ac[_0x92051e]]=_0x52d35e[_0x5046ac[_0x92051e]]);}}return _0x21737e['prototype']['root']='',_0x21737e['prototype']['rootMain']=!0x1,_0x21737e['prototype']['rootGraveyard']=!0x1,_0x21737e['prototype']['path']=_0x2a07e3['emptyArray'],_0x21737e['prototype']['stickiness']='',_0x21737e['create']=function(_0x1b183e){return new _0x21737e(_0x1b183e);},_0x21737e['encode']=function(_0x1c2335,_0x159c51){if(_0x159c51||(_0x159c51=_0x28324b['create']()),null!=_0x1c2335['root']&&Object['hasOwnProperty']['call'](_0x1c2335,'root')&&_0x159c51['uint32'](0xa)['string'](_0x1c2335['root']),null!=_0x1c2335['rootMain']&&Object['hasOwnProperty']['call'](_0x1c2335,'rootMain')&&_0x159c51['uint32'](0x10)['bool'](_0x1c2335['rootMain']),null!=_0x1c2335['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x1c2335,'rootGraveyard')&&_0x159c51['uint32'](0x18)['bool'](_0x1c2335['rootGraveyard']),null!=_0x1c2335['path']&&_0x1c2335['path']['length']){_0x159c51['uint32'](0x22)['fork']();for(var _0x38bb14=0x0;_0x38bb14<_0x1c2335['path']['length'];++_0x38bb14)_0x159c51['uint32'](_0x1c2335['path'][_0x38bb14]);_0x159c51['ldelim']();}return null!=_0x1c2335['stickiness']&&Object['hasOwnProperty']['call'](_0x1c2335,'stickiness')&&_0x159c51['uint32'](0x2a)['string'](_0x1c2335['stickiness']),_0x159c51;},_0x21737e['encodeDelimited']=function(_0x3be897,_0x14478d){return this['encode'](_0x3be897,_0x14478d)['ldelim']();},_0x21737e['decode']=function(_0x39ab79,_0x5dbc2f){_0x39ab79 instanceof _0x4ab140||(_0x39ab79=_0x4ab140['create'](_0x39ab79));for(var _0x2c6ade=void 0x0===_0x5dbc2f?_0x39ab79['len']:_0x39ab79['pos']+_0x5dbc2f,_0x1b9196=new _0x3ba022['Position']();_0x39ab79['pos']<_0x2c6ade;){var _0x5e2656=_0x39ab79['uint32']();switch(_0x5e2656>>>0x3){case 0x1:_0x1b9196['root']=_0x39ab79['string']();break;case 0x2:_0x1b9196['rootMain']=_0x39ab79['bool']();break;case 0x3:_0x1b9196['rootGraveyard']=_0x39ab79['bool']();break;case 0x4:if(_0x1b9196['path']&&_0x1b9196['path']['length']||(_0x1b9196['path']=[]),0x2==(0x7&_0x5e2656)){for(var _0x34e606=_0x39ab79['uint32']()+_0x39ab79['pos'];_0x39ab79['pos']<_0x34e606;)_0x1b9196['path']['push'](_0x39ab79['uint32']());}else _0x1b9196['path']['push'](_0x39ab79['uint32']());break;case 0x5:_0x1b9196['stickiness']=_0x39ab79['string']();break;default:_0x39ab79['skipType'](0x7&_0x5e2656);}}return _0x1b9196;},_0x21737e['decodeDelimited']=function(_0xf67953){return _0xf67953 instanceof _0x4ab140||(_0xf67953=new _0x4ab140(_0xf67953)),this['decode'](_0xf67953,_0xf67953['uint32']());},_0x21737e['verify']=function(_0x15447c){if('object'!=typeof _0x15447c||null===_0x15447c)return'object\x20expected';if(null!=_0x15447c['root']&&_0x15447c['hasOwnProperty']('root')&&!_0x2a07e3['isString'](_0x15447c['root']))return'root:\x20string\x20expected';if(null!=_0x15447c['rootMain']&&_0x15447c['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x15447c['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x15447c['rootGraveyard']&&_0x15447c['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x15447c['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x15447c['path']&&_0x15447c['hasOwnProperty']('path')){if(!Array['isArray'](_0x15447c['path']))return'path:\x20array\x20expected';for(var _0x3d2dc8=0x0;_0x3d2dc8<_0x15447c['path']['length'];++_0x3d2dc8)if(!_0x2a07e3['isInteger'](_0x15447c['path'][_0x3d2dc8]))return'path:\x20integer[]\x20expected';}return null!=_0x15447c['stickiness']&&_0x15447c['hasOwnProperty']('stickiness')&&!_0x2a07e3['isString'](_0x15447c['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x21737e['fromObject']=function(_0xf9ae7e){if(_0xf9ae7e instanceof _0x3ba022['Position'])return _0xf9ae7e;var _0x19ee17=new _0x3ba022['Position']();if(null!=_0xf9ae7e['root']&&(_0x19ee17['root']=String(_0xf9ae7e['root'])),null!=_0xf9ae7e['rootMain']&&(_0x19ee17['rootMain']=Boolean(_0xf9ae7e['rootMain'])),null!=_0xf9ae7e['rootGraveyard']&&(_0x19ee17['rootGraveyard']=Boolean(_0xf9ae7e['rootGraveyard'])),_0xf9ae7e['path']){if(!Array['isArray'](_0xf9ae7e['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x19ee17['path']=[];for(var _0x59bc6c=0x0;_0x59bc6c<_0xf9ae7e['path']['length'];++_0x59bc6c)_0x19ee17['path'][_0x59bc6c]=_0xf9ae7e['path'][_0x59bc6c]>>>0x0;}return null!=_0xf9ae7e['stickiness']&&(_0x19ee17['stickiness']=String(_0xf9ae7e['stickiness'])),_0x19ee17;},_0x21737e['toObject']=function(_0xd358d5,_0x2d66e0){_0x2d66e0||(_0x2d66e0={});var _0x29bad9={};if((_0x2d66e0['arrays']||_0x2d66e0['defaults'])&&(_0x29bad9['path']=[]),_0x2d66e0['defaults']&&(_0x29bad9['root']='',_0x29bad9['rootMain']=!0x1,_0x29bad9['rootGraveyard']=!0x1,_0x29bad9['stickiness']=''),null!=_0xd358d5['root']&&_0xd358d5['hasOwnProperty']('root')&&(_0x29bad9['root']=_0xd358d5['root']),null!=_0xd358d5['rootMain']&&_0xd358d5['hasOwnProperty']('rootMain')&&(_0x29bad9['rootMain']=_0xd358d5['rootMain']),null!=_0xd358d5['rootGraveyard']&&_0xd358d5['hasOwnProperty']('rootGraveyard')&&(_0x29bad9['rootGraveyard']=_0xd358d5['rootGraveyard']),_0xd358d5['path']&&_0xd358d5['path']['length']){_0x29bad9['path']=[];for(var _0x41535c=0x0;_0x41535c<_0xd358d5['path']['length'];++_0x41535c)_0x29bad9['path'][_0x41535c]=_0xd358d5['path'][_0x41535c];}return null!=_0xd358d5['stickiness']&&_0xd358d5['hasOwnProperty']('stickiness')&&(_0x29bad9['stickiness']=_0xd358d5['stickiness']),_0x29bad9;},_0x21737e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x21737e['getTypeUrl']=function(_0x5270ec){return void 0x0===_0x5270ec&&(_0x5270ec='type.googleapis.com'),_0x5270ec+'/Position';},_0x21737e;}()),_0x3ba022['Range']=(function(){function _0x28cc6f(_0x5279ea){if(_0x5279ea){for(var _0xed09b1=Object['keys'](_0x5279ea),_0x1ceb2a=0x0;_0x1ceb2a<_0xed09b1['length'];++_0x1ceb2a)null!=_0x5279ea[_0xed09b1[_0x1ceb2a]]&&(this[_0xed09b1[_0x1ceb2a]]=_0x5279ea[_0xed09b1[_0x1ceb2a]]);}}return _0x28cc6f['prototype']['start']=null,_0x28cc6f['prototype']['end']=null,_0x28cc6f['create']=function(_0x37995e){return new _0x28cc6f(_0x37995e);},_0x28cc6f['encode']=function(_0x1fcd57,_0x304087){return _0x304087||(_0x304087=_0x28324b['create']()),null!=_0x1fcd57['start']&&Object['hasOwnProperty']['call'](_0x1fcd57,'start')&&_0x3ba022['Position']['encode'](_0x1fcd57['start'],_0x304087['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1fcd57['end']&&Object['hasOwnProperty']['call'](_0x1fcd57,'end')&&_0x3ba022['Position']['encode'](_0x1fcd57['end'],_0x304087['uint32'](0x12)['fork']())['ldelim'](),_0x304087;},_0x28cc6f['encodeDelimited']=function(_0x4da3ca,_0x18d07d){return this['encode'](_0x4da3ca,_0x18d07d)['ldelim']();},_0x28cc6f['decode']=function(_0x4515d9,_0x3956bf){_0x4515d9 instanceof _0x4ab140||(_0x4515d9=_0x4ab140['create'](_0x4515d9));for(var _0x1a2a79=void 0x0===_0x3956bf?_0x4515d9['len']:_0x4515d9['pos']+_0x3956bf,_0x461cbb=new _0x3ba022['Range']();_0x4515d9['pos']<_0x1a2a79;){var _0x23295e=_0x4515d9['uint32']();switch(_0x23295e>>>0x3){case 0x1:_0x461cbb['start']=_0x3ba022['Position']['decode'](_0x4515d9,_0x4515d9['uint32']());break;case 0x2:_0x461cbb['end']=_0x3ba022['Position']['decode'](_0x4515d9,_0x4515d9['uint32']());break;default:_0x4515d9['skipType'](0x7&_0x23295e);}}return _0x461cbb;},_0x28cc6f['decodeDelimited']=function(_0x555509){return _0x555509 instanceof _0x4ab140||(_0x555509=new _0x4ab140(_0x555509)),this['decode'](_0x555509,_0x555509['uint32']());},_0x28cc6f['verify']=function(_0x2d9237){if('object'!=typeof _0x2d9237||null===_0x2d9237)return'object\x20expected';var _0x1d005d;if(null!=_0x2d9237['start']&&_0x2d9237['hasOwnProperty']('start')&&(_0x1d005d=_0x3ba022['Position']['verify'](_0x2d9237['start'])))return'start.'+_0x1d005d;if(null!=_0x2d9237['end']&&_0x2d9237['hasOwnProperty']('end')&&(_0x1d005d=_0x3ba022['Position']['verify'](_0x2d9237['end'])))return'end.'+_0x1d005d;return null;},_0x28cc6f['fromObject']=function(_0x1a6e5b){if(_0x1a6e5b instanceof _0x3ba022['Range'])return _0x1a6e5b;var _0x99bff3=new _0x3ba022['Range']();if(null!=_0x1a6e5b['start']){if('object'!=typeof _0x1a6e5b['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x99bff3['start']=_0x3ba022['Position']['fromObject'](_0x1a6e5b['start']);}if(null!=_0x1a6e5b['end']){if('object'!=typeof _0x1a6e5b['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x99bff3['end']=_0x3ba022['Position']['fromObject'](_0x1a6e5b['end']);}return _0x99bff3;},_0x28cc6f['toObject']=function(_0x1e0962,_0x1f0a6f){_0x1f0a6f||(_0x1f0a6f={});var _0x5f3037={};return _0x1f0a6f['defaults']&&(_0x5f3037['start']=null,_0x5f3037['end']=null),null!=_0x1e0962['start']&&_0x1e0962['hasOwnProperty']('start')&&(_0x5f3037['start']=_0x3ba022['Position']['toObject'](_0x1e0962['start'],_0x1f0a6f)),null!=_0x1e0962['end']&&_0x1e0962['hasOwnProperty']('end')&&(_0x5f3037['end']=_0x3ba022['Position']['toObject'](_0x1e0962['end'],_0x1f0a6f)),_0x5f3037;},_0x28cc6f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x28cc6f['getTypeUrl']=function(_0x1265b7){return void 0x0===_0x1265b7&&(_0x1265b7='type.googleapis.com'),_0x1265b7+'/Range';},_0x28cc6f;}()),_0x3ba022['Element']=(function(){function _0x1234d4(_0x3cf3a4){if(this['children']=[],this['attributesBoolean']={},_0x3cf3a4){for(var _0x53aa3a=Object['keys'](_0x3cf3a4),_0x16a68e=0x0;_0x16a68e<_0x53aa3a['length'];++_0x16a68e)null!=_0x3cf3a4[_0x53aa3a[_0x16a68e]]&&(this[_0x53aa3a[_0x16a68e]]=_0x3cf3a4[_0x53aa3a[_0x16a68e]]);}}return _0x1234d4['prototype']['name']='',_0x1234d4['prototype']['children']=_0x2a07e3['emptyArray'],_0x1234d4['prototype']['data']='',_0x1234d4['prototype']['attributesBoolean']=_0x2a07e3['emptyObject'],_0x1234d4['prototype']['attributesJson']='',_0x1234d4['create']=function(_0x59e7df){return new _0x1234d4(_0x59e7df);},_0x1234d4['encode']=function(_0x2831b9,_0x1a7035){if(_0x1a7035||(_0x1a7035=_0x28324b['create']()),null!=_0x2831b9['name']&&Object['hasOwnProperty']['call'](_0x2831b9,'name')&&_0x1a7035['uint32'](0xa)['string'](_0x2831b9['name']),null!=_0x2831b9['children']&&_0x2831b9['children']['length']){for(var _0x527f16=0x0;_0x527f16<_0x2831b9['children']['length'];++_0x527f16)_0x3ba022['Element']['encode'](_0x2831b9['children'][_0x527f16],_0x1a7035['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x2831b9['data']&&Object['hasOwnProperty']['call'](_0x2831b9,'data')&&_0x1a7035['uint32'](0x1a)['string'](_0x2831b9['data']),null!=_0x2831b9['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x2831b9,'attributesBoolean')){var _0x590a5b=Object['keys'](_0x2831b9['attributesBoolean']);for(_0x527f16=0x0;_0x527f16<_0x590a5b['length'];++_0x527f16)_0x1a7035['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x590a5b[_0x527f16])['uint32'](0x10)['bool'](_0x2831b9['attributesBoolean'][_0x590a5b[_0x527f16]])['ldelim']();}return null!=_0x2831b9['attributesJson']&&Object['hasOwnProperty']['call'](_0x2831b9,'attributesJson')&&_0x1a7035['uint32'](0x2a)['string'](_0x2831b9['attributesJson']),_0x1a7035;},_0x1234d4['encodeDelimited']=function(_0x57f4c2,_0x11b75b){return this['encode'](_0x57f4c2,_0x11b75b)['ldelim']();},_0x1234d4['decode']=function(_0xd69b9b,_0x78df35){_0xd69b9b instanceof _0x4ab140||(_0xd69b9b=_0x4ab140['create'](_0xd69b9b));for(var _0x22b937,_0x42e880,_0x4a799c=void 0x0===_0x78df35?_0xd69b9b['len']:_0xd69b9b['pos']+_0x78df35,_0x276940=new _0x3ba022['Element']();_0xd69b9b['pos']<_0x4a799c;){var _0x4ad567=_0xd69b9b['uint32']();switch(_0x4ad567>>>0x3){case 0x1:_0x276940['name']=_0xd69b9b['string']();break;case 0x2:_0x276940['children']&&_0x276940['children']['length']||(_0x276940['children']=[]),_0x276940['children']['push'](_0x3ba022['Element']['decode'](_0xd69b9b,_0xd69b9b['uint32']()));break;case 0x3:_0x276940['data']=_0xd69b9b['string']();break;case 0x4:_0x276940['attributesBoolean']===_0x2a07e3['emptyObject']&&(_0x276940['attributesBoolean']={});var _0x2dac56=_0xd69b9b['uint32']()+_0xd69b9b['pos'];for(_0x22b937='',_0x42e880=!0x1;_0xd69b9b['pos']<_0x2dac56;){var _0x43f4b7=_0xd69b9b['uint32']();switch(_0x43f4b7>>>0x3){case 0x1:_0x22b937=_0xd69b9b['string']();break;case 0x2:_0x42e880=_0xd69b9b['bool']();break;default:_0xd69b9b['skipType'](0x7&_0x43f4b7);}}_0x276940['attributesBoolean'][_0x22b937]=_0x42e880;break;case 0x5:_0x276940['attributesJson']=_0xd69b9b['string']();break;default:_0xd69b9b['skipType'](0x7&_0x4ad567);}}return _0x276940;},_0x1234d4['decodeDelimited']=function(_0x3ff57b){return _0x3ff57b instanceof _0x4ab140||(_0x3ff57b=new _0x4ab140(_0x3ff57b)),this['decode'](_0x3ff57b,_0x3ff57b['uint32']());},_0x1234d4['verify']=function(_0x378055){if('object'!=typeof _0x378055||null===_0x378055)return'object\x20expected';if(null!=_0x378055['name']&&_0x378055['hasOwnProperty']('name')&&!_0x2a07e3['isString'](_0x378055['name']))return'name:\x20string\x20expected';if(null!=_0x378055['children']&&_0x378055['hasOwnProperty']('children')){if(!Array['isArray'](_0x378055['children']))return'children:\x20array\x20expected';for(var _0x4e8e93=0x0;_0x4e8e93<_0x378055['children']['length'];++_0x4e8e93){var _0x596807=_0x3ba022['Element']['verify'](_0x378055['children'][_0x4e8e93]);if(_0x596807)return'children.'+_0x596807;}}if(null!=_0x378055['data']&&_0x378055['hasOwnProperty']('data')&&!_0x2a07e3['isString'](_0x378055['data']))return'data:\x20string\x20expected';if(null!=_0x378055['attributesBoolean']&&_0x378055['hasOwnProperty']('attributesBoolean')){if(!_0x2a07e3['isObject'](_0x378055['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x54ccff=Object['keys'](_0x378055['attributesBoolean']);for(_0x4e8e93=0x0;_0x4e8e93<_0x54ccff['length'];++_0x4e8e93)if('boolean'!=typeof _0x378055['attributesBoolean'][_0x54ccff[_0x4e8e93]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x378055['attributesJson']&&_0x378055['hasOwnProperty']('attributesJson')&&!_0x2a07e3['isString'](_0x378055['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x1234d4['fromObject']=function(_0x1d70de){if(_0x1d70de instanceof _0x3ba022['Element'])return _0x1d70de;var _0x176183=new _0x3ba022['Element']();if(null!=_0x1d70de['name']&&(_0x176183['name']=String(_0x1d70de['name'])),_0x1d70de['children']){if(!Array['isArray'](_0x1d70de['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x176183['children']=[];for(var _0x42b982=0x0;_0x42b982<_0x1d70de['children']['length'];++_0x42b982){if('object'!=typeof _0x1d70de['children'][_0x42b982])throw TypeError('.Element.children:\x20object\x20expected');_0x176183['children'][_0x42b982]=_0x3ba022['Element']['fromObject'](_0x1d70de['children'][_0x42b982]);}}if(null!=_0x1d70de['data']&&(_0x176183['data']=String(_0x1d70de['data'])),_0x1d70de['attributesBoolean']){if('object'!=typeof _0x1d70de['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x176183['attributesBoolean']={};var _0x48ef66=Object['keys'](_0x1d70de['attributesBoolean']);for(_0x42b982=0x0;_0x42b982<_0x48ef66['length'];++_0x42b982)_0x176183['attributesBoolean'][_0x48ef66[_0x42b982]]=Boolean(_0x1d70de['attributesBoolean'][_0x48ef66[_0x42b982]]);}return null!=_0x1d70de['attributesJson']&&(_0x176183['attributesJson']=String(_0x1d70de['attributesJson'])),_0x176183;},_0x1234d4['toObject']=function(_0x181b22,_0x5627aa){_0x5627aa||(_0x5627aa={});var _0x522d1c,_0xdff614={};if((_0x5627aa['arrays']||_0x5627aa['defaults'])&&(_0xdff614['children']=[]),(_0x5627aa['objects']||_0x5627aa['defaults'])&&(_0xdff614['attributesBoolean']={}),_0x5627aa['defaults']&&(_0xdff614['name']='',_0xdff614['data']='',_0xdff614['attributesJson']=''),null!=_0x181b22['name']&&_0x181b22['hasOwnProperty']('name')&&(_0xdff614['name']=_0x181b22['name']),_0x181b22['children']&&_0x181b22['children']['length']){_0xdff614['children']=[];for(var _0x3fd753=0x0;_0x3fd753<_0x181b22['children']['length'];++_0x3fd753)_0xdff614['children'][_0x3fd753]=_0x3ba022['Element']['toObject'](_0x181b22['children'][_0x3fd753],_0x5627aa);}if(null!=_0x181b22['data']&&_0x181b22['hasOwnProperty']('data')&&(_0xdff614['data']=_0x181b22['data']),_0x181b22['attributesBoolean']&&(_0x522d1c=Object['keys'](_0x181b22['attributesBoolean']))['length']){_0xdff614['attributesBoolean']={};for(_0x3fd753=0x0;_0x3fd753<_0x522d1c['length'];++_0x3fd753)_0xdff614['attributesBoolean'][_0x522d1c[_0x3fd753]]=_0x181b22['attributesBoolean'][_0x522d1c[_0x3fd753]];}return null!=_0x181b22['attributesJson']&&_0x181b22['hasOwnProperty']('attributesJson')&&(_0xdff614['attributesJson']=_0x181b22['attributesJson']),_0xdff614;},_0x1234d4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1234d4['getTypeUrl']=function(_0x1317dd){return void 0x0===_0x1317dd&&(_0x1317dd='type.googleapis.com'),_0x1317dd+'/Element';},_0x1234d4;}()),_0x3ba022;})());class ProtobufFactory{['_protobufRoot'];constructor(){this['_protobufRoot']=_0x354298;}['getDescriptor'](_0x25bfbc){return new ProtobufDescriptor(this['_protobufRoot'][_0x25bfbc]);}}class ProtobufDescriptor{['_protobuf'];constructor(_0x516dff){this['_protobuf']=_0x516dff;}['compress'](_0x4f9256){const _0x5e97e0=this['_protobuf']['verify'](_0x4f9256);if(_0x5e97e0)throw Error(_0x5e97e0);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x4f9256))['finish']();}['decompress'](_0x39f864){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x39f864),{'oneofs':!0x0});}}function getPositionShiftedBy(_0xdbae12,_0x34d058){const _0x25235a=_0xf3eb06(_0xdbae12);return _0x25235a['path'][_0x25235a['path']['length']-0x1]+=_0x34d058,_0x25235a;}function arePositionsEqual(_0x28e1e0,_0x491615){return _0x28e1e0['root']===_0x491615['root']&&_0x1df005(_0x28e1e0['path'],_0x491615['path']);}function parsePositionBeforeCompression(_0x1bdc90){_mapPositions(_0x1bdc90,_0x484999=>('main'==_0x484999['root']?(_0x484999['rootMain']=!0x0,delete _0x484999['root']):'$graveyard'==_0x484999['root']&&(_0x484999['rootGraveyard']=!0x0,delete _0x484999['root']),_0x484999));}function parsePositionAfterCompression(_0x362cf5){_mapPositions(_0x362cf5,_0x4fb1c3=>(_0x4fb1c3['rootMain']?(_0x4fb1c3['root']='main',delete _0x4fb1c3['rootMain']):_0x4fb1c3['rootGraveyard']&&(_0x4fb1c3['root']='$graveyard',delete _0x4fb1c3['rootGraveyard']),_0x4fb1c3));}function _mapPositions(_0x427889,_0x550299){for(const _0x22420f in _0x427889){const _0x2d59db=_0x427889[_0x22420f];'nodes'!==_0x22420f&&isObject$3(_0x2d59db)&&(_0x2d59db['path']&&(_0x2d59db['root']||_0x2d59db['rootMain']||_0x2d59db['rootGraveyard'])?_0x427889[_0x22420f]=_0x550299(_0x2d59db):_mapPositions(_0x2d59db,_0x550299));}return _0x427889;}class OperationCompressor{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x2902fe,_0x48fce1,_0x4b2c60){this['_id']=_0x2902fe,this['_operationName']=_0x48fce1,this['_protobufDescriptor']=_0x4b2c60;}['compress'](_0x5e4066,_0x3b02ad){const _0x3a11a9=_0x3b02ad['operations'][_0x3b02ad['index']++];return parsePositionBeforeCompression(_0x3a11a9),_0x5e4066['buffers']['push'](this['_protobufDescriptor']['compress'](_0x3a11a9)),_0x5e4066['types']['push'](this['_id']),!0x0;}['decompress'](_0x426b5b,_0x4bb7c8){_0x4bb7c8['typeIndex']++;const _0x42f6d7=_0x4bb7c8['buffers'][_0x4bb7c8['bufferIndex']++],_0x5d1111=this['_protobufDescriptor']['decompress'](_0x42f6d7);parsePositionAfterCompression(_0x5d1111),_0x5d1111['__className']=this['_operationName'],_0x426b5b['push'](_0x5d1111);}}class AttributeOperationCompressor extends OperationCompressor{['compress'](_0xa0b62b,_0x5a116f){const _0x19b95e=_0x5a116f['operations'][_0x5a116f['index']++];return this['_serializeOneOf']('oldValue',_0x19b95e),this['_serializeOneOf']('newValue',_0x19b95e),parsePositionBeforeCompression(_0x19b95e),_0xa0b62b['buffers']['push'](this['_protobufDescriptor']['compress'](_0x19b95e)),_0xa0b62b['types']['push'](this['_id']),!0x0;}['decompress'](_0x2ef933,_0x5b82fa){_0x5b82fa['typeIndex']++;const _0x2dcb2e=_0x5b82fa['buffers'][_0x5b82fa['bufferIndex']++],_0x2b568d=this['_protobufDescriptor']['decompress'](_0x2dcb2e);this['_deserializeOneOf']('oldValue',_0x2b568d),this['_deserializeOneOf']('newValue',_0x2b568d),parsePositionAfterCompression(_0x2b568d),_0x2b568d['__className']=this['_operationName'],_0x2ef933['push'](_0x2b568d);}['_serializeOneOf'](_0x340c72,_0x3d9009){const _0x18550b=_0x3d9009[_0x340c72];'boolean'==typeof _0x18550b?_0x3d9009[_0x340c72+'Boolean']=_0x18550b:_0x3d9009[_0x340c72+'Json']=JSON['stringify'](_0x18550b);}['_deserializeOneOf'](_0x3291d7,_0x51f897){const _0x3e5901=_0x3291d7+'Json';_0x51f897[_0x3e5901]?(_0x51f897[_0x3291d7]=JSON['parse'](_0x51f897[_0x3e5901]),delete _0x51f897[_0x3e5901]):(_0x51f897[_0x3291d7]=_0x51f897[_0x3291d7+'Boolean'],delete _0x51f897[_0x3291d7+'Boolean']);}}class InsertOperationCompressor extends OperationCompressor{['compress'](_0x50a981,_0x4578e8){const _0x456f1a=_0x4578e8['operations'][_0x4578e8['index']++];return this['_serializeNodesAttributes'](_0x456f1a['nodes']),parsePositionBeforeCompression(_0x456f1a),_0x50a981['buffers']['push'](this['_protobufDescriptor']['compress'](_0x456f1a)),_0x50a981['types']['push'](this['_id']),!0x0;}['decompress'](_0x3f4b93,_0x2c6fd9){_0x2c6fd9['typeIndex']++;const _0x13ec97=_0x2c6fd9['buffers'][_0x2c6fd9['bufferIndex']++],_0x44581c=this['_protobufDescriptor']['decompress'](_0x13ec97);_0x44581c['nodes']||(_0x44581c['nodes']=[]),this['_deserializeNodesAttributes'](_0x44581c['nodes']),parsePositionAfterCompression(_0x44581c),_0x44581c['__className']=this['_operationName'],_0x3f4b93['push'](_0x44581c);}['_serializeNodesAttributes'](_0x500599){for(const _0x33caad of _0x500599){if(_0x33caad['attributes']){const _0x3506cf=_0x33caad['attributes'];this['_areValuesBoolean'](_0x3506cf)?_0x33caad['attributesBoolean']=_0x3506cf:_0x33caad['attributesJson']=JSON['stringify'](_0x3506cf);}_0x33caad['children']&&this['_serializeNodesAttributes'](_0x33caad['children']);}}['_deserializeNodesAttributes'](_0x5e6597){for(const _0x100267 of _0x5e6597)(_0x100267['attributesBoolean']||_0x100267['attributesJson'])&&(_0x100267['attributesBoolean']?(_0x100267['attributes']=_0x100267['attributesBoolean'],delete _0x100267['attributesBoolean']):(_0x100267['attributes']=JSON['parse'](_0x100267['attributesJson']),delete _0x100267['attributesJson'])),_0x100267['children']&&this['_deserializeNodesAttributes'](_0x100267['children']);}['_areValuesBoolean'](_0x2e3f7b){return Object['keys'](_0x2e3f7b)['every'](_0x468d3a=>'boolean'==typeof _0x2e3f7b[_0x468d3a]);}}class MarkerOperationCompressor extends OperationCompressor{['decompress'](_0x193063,_0x12f2f5){super['decompress'](_0x193063,_0x12f2f5);const _0x5b1049=_0x193063[_0x193063['length']-0x1];_0x5b1049['oldRange']||(_0x5b1049['oldRange']=null),_0x5b1049['newRange']||(_0x5b1049['newRange']=null);}}class NoOperationCompressor extends OperationCompressor{['compress'](_0x1833d2,_0x33bfce){return _0x33bfce['index']++,_0x1833d2['types']['push'](this['_id']),!0x0;}['decompress'](_0x2b9b09,_0x3a4c35){_0x3a4c35['typeIndex']++,_0x2b9b09['push']({'__className':this['_operationName']});}}class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor{['_omittedNamespace'];constructor(_0x1db3f3,_0x2dbe0c,_0x469698,_0xc7975b){super(_0x1db3f3,_0x2dbe0c,_0x469698),this['_omittedNamespace']=_0xc7975b+':';}['compress'](_0x424e48,_0x577319){const _0x187701=_0x577319['operations'][_0x577319['index']];return!('MarkerOperation'!=_0x187701['__className']||!_0x187701['name']['startsWith'](this['_omittedNamespace']))&&(_0x187701['name']=_0x187701['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x424e48,_0x577319),!0x0);}['decompress'](_0x5443c7,_0x2bc939){super['decompress'](_0x5443c7,_0x2bc939);const _0x37d76f=_0x5443c7[_0x5443c7['length']-0x1];_0x37d76f['name']=this['_omittedNamespace']+_0x37d76f['name'];}}class ActionCompressor{['_id'];['_context'];constructor(_0x3b49e2,_0x270026){this['_id']=_0x3b49e2,this['_context']=_0x270026;}['compress'](_0x150cc5,_0x30c8df){let _0x3287d7,_0x190b57=_0x30c8df['operations'][_0x30c8df['index']],_0x855065=_0x30c8df['operations'][_0x30c8df['index']+0x1];for(;_0x855065&&this['_compareOperations'](_0x190b57,_0x855065);)_0x3287d7?(_0x3287d7=this['_combineNext'](_0x190b57,_0x3287d7),_0x150cc5['types']['push'](0x0)):(_0x3287d7=_0xf3eb06(_0x190b57),_0x150cc5['types']['push'](this['_id'])),_0x30c8df['index']++,_0x190b57=_0x30c8df['operations'][_0x30c8df['index']],_0x855065=_0x30c8df['operations'][_0x30c8df['index']+0x1];return!!_0x3287d7&&(_0x3287d7=this['_combineNext'](_0x30c8df['operations'][_0x30c8df['index']++],_0x3287d7),_0x150cc5['types']['push'](0x0),_0x150cc5['buffers']['push'](this['_compressSingleOperation'](_0x3287d7)),!0x0);}['decompress'](_0x5adee1,_0x22114d){const _0x4f1149=this['_decompressSingleOperation'](_0x22114d);for(;0x0==_0x22114d['types'][_0x22114d['typeIndex']];)_0x22114d['typeIndex']++,_0x5adee1['push'](this['_splitCurrent'](_0x4f1149));_0x5adee1['push'](_0x4f1149);}}class TypingActionCompressor extends ActionCompressor{['_combineNext'](_0x44c08c,_0x3e81c5){return _0x3e81c5['nodes'][0x0]['data']+=_0x44c08c['nodes'][0x0]['data'],_0x3e81c5;}['_splitCurrent'](_0x34817a){const _0x3fb258=_0xf3eb06(_0x34817a),_0x809be2=_0x3fb258['nodes'][0x0],_0x54ea09=_0x34817a['nodes'][0x0],_0x6c5fe7=_0x54ea09['data'][Symbol['iterator']]()['next']()['value'],_0x472f22=_0x6c5fe7['length'];return _0x809be2['data']=_0x6c5fe7,_0x54ea09['data']=_0x54ea09['data']['substr'](_0x472f22),_0x34817a['position']=getPositionShiftedBy(_0x34817a['position'],_0x472f22),_0x3fb258;}['_compareOperations'](_0x584514,_0x2b3476){if(this['_checkOperation'](_0x584514)&&this['_checkOperation'](_0x2b3476)){const _0x4ee2c5=_0x584514['nodes'][0x0]['data']['length'],_0x975518=arePositionsEqual(getPositionShiftedBy(_0x584514['position'],_0x4ee2c5),_0x2b3476['position']),_0x422df0=_0x584514['nodes'][0x0],_0x30a6fd=_0x2b3476['nodes'][0x0];return _0x975518&&this['_compareAttributes'](_0x422df0,_0x30a6fd);}return!0x1;}['_compressSingleOperation'](_0x2e66ac){const _0x5b7ce5={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x5b7ce5,{'operations':[_0x2e66ac],'index':0x0}),_0x5b7ce5['buffers'][0x0];}['_decompressSingleOperation'](_0xe45ede){const _0x547802=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x547802,_0xe45ede),_0x547802[0x0];}['_checkOperation'](_0x11f4d0){return'InsertOperation'==_0x11f4d0['__className']&&0x1==_0x11f4d0['nodes']['length']&&_0x11f4d0['nodes'][0x0]['data']&&!_0x11f4d0['wasUndone']&&0x1==Array['from'](_0x11f4d0['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x2aa864,_0x2d7c15){const _0x8466d8=Object['keys'](_0x2aa864['attributes']||{}),_0x23da00=Object['keys'](_0x2d7c15['attributes']||{});return _0x8466d8['length']===_0x23da00['length']&&_0x8466d8['every'](_0x3820f8=>_0x2d7c15['attributes'][_0x3820f8]&&_0x2d7c15['attributes'][_0x3820f8]===_0x2aa864['attributes'][_0x3820f8]);}}class DeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x3cb560,_0x484c00){return _0x484c00['howMany']++,_0x484c00['sourcePosition']=_0xf3eb06(_0x3cb560['sourcePosition']),_0x484c00;}['_splitCurrent'](_0x99214f){const _0x30caf1=_0xf3eb06(_0x99214f);return _0x99214f['howMany']--,_0x30caf1['howMany']=0x1,_0x30caf1['sourcePosition']=getPositionShiftedBy(_0x30caf1['sourcePosition'],_0x99214f['howMany']),_0x30caf1;}['_compareOperations'](_0x353ad5,_0x4283d8){return!(!this['_checkOperation'](_0x353ad5)||!this['_checkOperation'](_0x4283d8))&&(arePositionsEqual(getPositionShiftedBy(_0x353ad5['sourcePosition'],-0x1),_0x4283d8['sourcePosition'])&&arePositionsEqual(_0x353ad5['targetPosition'],_0x4283d8['targetPosition']));}['_compressSingleOperation'](_0x42c504){const _0x51a381={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x51a381,{'operations':[_0x42c504],'index':0x0}),_0x51a381['buffers'][0x0];}['_decompressSingleOperation'](_0x39d816){const _0x13f691=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x13f691,_0x39d816),_0x13f691[0x0];}['_checkOperation'](_0x59a366){return'MoveOperation'==_0x59a366['__className']&&'$graveyard'==_0x59a366['targetPosition']['root']&&0x1==_0x59a366['howMany']&&!_0x59a366['wasUndone'];}}class ForwardDeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x57ae06,_0x3192f6){return _0x3192f6['howMany']++,_0x3192f6;}['_splitCurrent'](_0xa28a93){const _0x2d50e6=_0xf3eb06(_0xa28a93);return _0x2d50e6['howMany']=0x1,_0xa28a93['howMany']--,_0x2d50e6;}['_compareOperations'](_0x548cff,_0x57a30a){return!(!this['_checkOperation'](_0x548cff)||!this['_checkOperation'](_0x57a30a))&&(arePositionsEqual(_0x548cff['sourcePosition'],_0x57a30a['sourcePosition'])&&arePositionsEqual(_0x548cff['targetPosition'],_0x57a30a['targetPosition']));}['_compressSingleOperation'](_0x5dda55){const _0x38417a={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x38417a,{'operations':[_0x5dda55],'index':0x0}),_0x38417a['buffers'][0x0];}['_decompressSingleOperation'](_0xebed0c){const _0x9be66b=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x9be66b,_0xebed0c),_0x9be66b[0x0];}['_checkOperation'](_0x36c501){return'MoveOperation'==_0x36c501['__className']&&'$graveyard'==_0x36c501['targetPosition']['root']&&0x1==_0x36c501['howMany']&&!_0x36c501['wasUndone'];}}class UserSelectionActionCompressor extends ActionCompressor{['compress'](_0x4e4350,_0x1b36b8){if(!this['_compareOperations'](_0x1b36b8['operations'][_0x1b36b8['index']],_0x1b36b8['operations'][_0x1b36b8['index']+0x1]))return!0x1;const _0x5c6a84=_0x1b36b8['operations'][_0x1b36b8['index']++];return _0x5c6a84['oldRange']=null,_0x5c6a84['newRange']&&arePositionsEqual(_0x5c6a84['newRange']['start'],_0x5c6a84['newRange']['end'])&&(_0x5c6a84['newRange']['end']=null),_0x1b36b8['index']++,_0x4e4350['types']['push'](this['_id']),_0x4e4350['types']['push'](0x0),_0x4e4350['buffers']['push'](this['_compressSingleOperation'](_0x5c6a84)),!0x0;}['decompress'](_0x34fa20,_0x57df1b){const _0x3351af=this['_decompressSingleOperation'](_0x57df1b);_0x3351af['newRange']&&!_0x3351af['newRange']['end']&&(_0x3351af['newRange']['end']=_0xf3eb06(_0x3351af['newRange']['start']));const _0x3313b8=_0xf3eb06(_0x3351af);_0x3313b8['newRange']&&(_0x3313b8['newRange']['start']['stickiness']='toNone',_0x3313b8['newRange']['end']=_0xf3eb06(_0x3313b8['newRange']['start'])),_0x3313b8['name']='user:position:'+_0x3313b8['name']['split'](':')[0x2],_0x57df1b['typeIndex']++,_0x34fa20['push'](_0x3351af),_0x34fa20['push'](_0x3313b8);}['_compressSingleOperation'](_0x42004c){const _0xaad8b3={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0xaad8b3,{'operations':[_0x42004c],'index':0x0}),_0xaad8b3['buffers'][0x0];}['_decompressSingleOperation'](_0x5d3a97){const _0xa15f9b=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0xa15f9b,_0x5d3a97),_0xa15f9b[0x0];}['_compareOperations'](_0x13bf82,_0x5de941){return!(!_0x13bf82||!_0x5de941)&&('MarkerOperation'==_0x13bf82['__className']&&'MarkerOperation'==_0x5de941['__className']&&!(!_0x13bf82['name']['startsWith']('user:')||!_0x5de941['name']['startsWith']('user:')||_0x13bf82['name']==_0x5de941['name']));}}class _0x3601bb{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new ProtobufFactory();const _0x176f8e=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',_0x176f8e,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new AnnotationMarkerOperationCompressor(0x13,'MarkerOperation',_0x176f8e,'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'](_0x139107){if(!_0x139107||!_0x139107[0x0])throw new ckeditor5['CKEditorError']('no-operations-provided',this);const _0x3bb60b={'operations':_0x139107,'index':0x0},_0x498174={'types':[],'buffers':[],'baseVersion':_0x139107[0x0]['baseVersion']};for(;_0x3bb60b['index']<_0x3bb60b['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x498174,_0x3bb60b))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x498174,_0x3bb60b))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x498174,_0x3bb60b))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x498174,_0x3bb60b))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x498174,_0x3bb60b))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x498174,_0x3bb60b))continue;const _0x17d34d=_0x3bb60b['operations'][_0x3bb60b['index']]['__className'];this['_getCompressorByName'](_0x17d34d)['compress'](_0x498174,_0x3bb60b);}return _0x498174;}['decompress'](_0x66cc6e){const _0x31a813=[],_0xd591b1={'types':_0x66cc6e['types'],'buffers':_0x66cc6e['buffers'],'baseVersion':_0x66cc6e['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0xd591b1['typeIndex']<_0xd591b1['types']['length'];){const _0x2f52cf=_0xd591b1['types'][_0xd591b1['typeIndex']],_0xe1097d=this['_compressorById']['get'](_0x2f52cf);if(!_0xe1097d)throw new ckeditor5['CKEditorError']('decompress-compressor-not-found',this,{'type':_0x2f52cf});_0xe1097d['decompress'](_0x31a813,_0xd591b1);}return _0x31a813['forEach']((_0xc03391,_0x3d8f0c)=>_0xc03391['baseVersion']=_0x66cc6e['baseVersion']+_0x3d8f0c),_0x31a813;}['_getCompressorByName'](_0x3665c7){return this['_compressorByName']['get'](_0x3665c7);}['_registerOperationCompressor'](_0x30166a,_0x52e280,_0x54368a){const _0x286433=new _0x54368a(_0x30166a,_0x52e280,this['_protobufFactory']['getDescriptor'](_0x52e280));this['_registerCompressor'](_0x30166a,_0x52e280,_0x286433);}['_registerActionCompressor'](_0x3903ef,_0x2f6125,_0x139a7e){const _0x18982e=new _0x139a7e(_0x3903ef,this);this['_registerCompressor'](_0x3903ef,_0x2f6125,_0x18982e);}['_registerCompressor'](_0x43ea39,_0x46303d,_0x158e43){this['_compressorById']['set'](_0x43ea39,_0x158e43),this['_compressorByName']['set'](_0x46303d,_0x158e43);}}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,_0x3dd12d,_0x4a817d,ckeditor5['PendingActions'],_0xd5bff4,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 _0x3dbbaf=this['serverHistory']['getOperations']();for(let _0x3bbe43=_0x3dbbaf['length']-0x1;_0x3bbe43>=0x0;_0x3bbe43--){const _0xcd3f88=_0x3dbbaf[_0x3bbe43];if(!this['_disconnectionOperations']['has'](_0xcd3f88))return _0xcd3f88['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0x52f394){if(super(_0x52f394),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 _0x4e8b7f=_0x52f394['config']['get']('cloudServices.bundleVersion')||ckeditor5['version'];this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x4e8b7f,this['_channelId']),this['_document']=this['editor']['model']['document'],this['_compressor']=new _0x3601bb(),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 _0x256143=this['editor'],_0x439e6f=_0x256143['plugins']['get'](_0xd5bff4),_0x3d1bf6=_0x256143['plugins']['get'](WebSocketGateway);this['listenTo'](_0x439e6f,'getOperationAuthor',(_0x2c9629,_0x61f616)=>{const _0x2fd874=_0x61f616[0x0];_0x2fd874['_authorId']&&(_0x2c9629['return']=_0x439e6f['getUser'](_0x2fd874['_authorId']),_0x2c9629['stop']()),null===_0x2fd874['_authorId']&&(_0x2c9629['return']=null,_0x2c9629['stop']());},{'priority':'high'}),this['listenTo'](_0x256143['model']['document']['selection'],'change:range',(_0x4c1069,_0x40be77)=>{_0x40be77['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x256143['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x256143['model']['on']('applyOperation',(_0x5cec0a,_0x5c1cbd)=>{const _0x2bed9f=_0x5c1cbd[0x0];_0x2bed9f['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x2bed9f),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['bind']('_isEditingAllowed')['to'](_0x3d1bf6,'state',this,'_hasSynchronizationProblem',(_0x201167,_0x498ba1)=>'connected'===_0x201167&&!_0x498ba1),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x256143['disableReadOnlyMode']('rtc-offline'):_0x256143['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x256143['disableReadOnlyMode']('rtc-offline'):_0x256143['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0x49c800=this['editor']['plugins']['get'](_0x3dd12d),_0x27ece6=this['editor']['plugins']['get'](WebSocketGateway);try{this['_isPendingUpdate']=!0x0,_0x49c800['unregister'](this['_channelId']);const _0x207e0e=await this['_service']['reconnect'](_0x27ece6['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x207e0e)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x53c3e0=await this['_service']['getConnectedSessions']();_0x49c800['register'](this['_channelId'],_0x53c3e0),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x2b595a){if(isSessionNotExistingError(_0x2b595a)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(isBaseVersionMismatchError(_0x2b595a)){const _0x4991a7=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'](_0x4991a7);}else{if(!(_0x2b595a instanceof ReconnectionError))throw _0x2b595a;this['_handleReconnectionError']();}}}}['destroy'](){const _0x2ef3bd=this['editor']['plugins']['get'](WebSocketGateway),_0x3bdd5a=this['editor']['plugins']['get'](_0x3dd12d);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x3bdd5a['channelSessions']['has'](this['_channelId'])&&_0x3bdd5a['unregister'](this['_channelId']),_0x2ef3bd['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x37b7d4){if(this['sessionId']!==_0x37b7d4['sessionId']&&this['_lastSyncedOperationId']!==_0x37b7d4['lastOperationId'])throw new ReconnectionError();return this['sessionId']=_0x37b7d4['sessionId'],this['_handleServerResponse']([],{..._0x37b7d4,'wereChangesApplied':!0x1,'data':_0x37b7d4['data']},'reconnect');}async['_connectService'](_0x30f904,_0x9bc3dc=!0x1){const {connection:_0x2798a4}=this['editor']['plugins']['get'](WebSocketGateway);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x2798a4,this['_channelId'])['then'](_0x3b6425=>this['_initSessionsHandling'](_0x3b6425))['catch'](_0x20d61b=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0x20d61b);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x431291,_0x382050)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0x382050);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_isConnected']=!0x1;});const _0x9daa69=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x30f904);this['_isPendingUpdate']=!0x0;const _0x15f4e7=await this['_service']['connect'](_0x2798a4,this['_compressOperations'](_0x30f904),_0x9daa69);if(this['sessionId']=_0x15f4e7['sessionId'],_0x9bc3dc){if(!_0x15f4e7['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x15f4e7['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x30f904,_0x15f4e7,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x15f4e7,_0x30f904);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0x113278=this['editor']['plugins']['get'](_0x3dd12d),_0x5eaad9=this['editor']['plugins']['get'](_0x4a817d),_0x2bb731=_0x113278['channelSessions']['get'](this['_channelId']);_0x2bb731&&_0x2bb731['length']>0x1?_0x5eaad9['createUserMarkerOperations']():this['listenTo'](_0x113278,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x113278['channelSessions']['get'](this['_channelId'])['length']&&_0x5eaad9['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x31931d,_0x28c20e,_0x265c49,_0x2db057){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x28c20e){const _0x498cca=this['_decompressOperations'](_0x265c49,_0x2db057);await this['_fetchMissingUsers'](_0x498cca),this['_handleExternalOperations'](_0x498cca,_0x28c20e,_0x265c49['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x339453}=this['editor'];let _0x3667c9;try{_0x3667c9=await this['_service']['getDocumentDetails']();}catch{const _0x4d7c66=getTranslation$6(_0x339453,'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'](_0x4d7c66);}const _0x3057f3=_0x3667c9['currentDocumentSession']||_0x3667c9['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0x3057f3['lastOperationId']){const _0x2c559e=getTranslation$6(_0x339453,'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'](_0x2c559e);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x520070){const _0x48ba8a=this['editor']['plugins']['get'](_0x3dd12d);this['listenTo'](_0x48ba8a,'sessionAdd:'+this['_channelId'],(_0x86ec00,{session:_0x10b434})=>{if(_0x10b434['id']===_0x48ba8a['mySessionId']){_0x86ec00['off']();const _0x2adb4b=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x58fc28=_0x10b434['permissions'];_0x2adb4b&&_0x2adb4b['isEnabled']&&(_0x58fc28=_0x58fc28['filter'](_0x4bc18a=>'document:write'!==_0x4bc18a)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x58fc28,this['_channelId']);}}),_0x48ba8a['register'](this['_channelId'],_0x520070);}['_initThrowingOnDataSet'](){const _0x4c743a=this['editor']['data']['set'];this['editor']['data']['set']=(..._0xc9b3e6)=>{if(!_0xc9b3e6[_0xc9b3e6['length']-0x1]['suppressErrorInCollaboration'])throw new ckeditor5['CKEditorError']('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0x4c743a['apply'](this['editor']['data'],_0xc9b3e6);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0xe39efb,[_0x296458])=>{if(this['_document']['version'])throw new ckeditor5['CKEditorError']('realtimecollaborationclient-init-document-already-initialized',this);_0xe39efb['stop'](),this['_setPendingAction']();const _0x2f94a4=this['editor']['config']['get']('rootsAttributes'),_0x1deb9f=this['_getOperationsFromInitData'](_0x296458,_0x2f94a4);0x0==_0x1deb9f['length']&&_0x1deb9f['push'](new ckeditor5['NoOperation'](0x0)),_0xe39efb['return']=this['_connectService'](_0x1deb9f)['then'](()=>{this['editor']['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x1b9a0b=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x1b9a0b))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x49c5c4,[_0x4eca0e,_0x4a08df])=>{_0x49c5c4['stop']();const _0x3fbec4=this['editor']['model']['document']['getRoot'](_0x4eca0e);if(!this['_knownRootNames']['has'](_0x4eca0e)){const _0x3ab2ea=_0x4a08df&&_0x4a08df['data']?_0x4a08df['data']:'',_0x3c39cf=_0x4a08df&&_0x4a08df['attributes']?_0x4a08df['attributes']:{};await this['_loadRoot'](_0x4eca0e,_0x3ab2ea,_0x3c39cf);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x3fbec4['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0x3fbec4);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x465123){const _0x1b271c=this['editor']['plugins']['get'](_0xd5bff4),{connection:_0x45373b}=this['editor']['plugins']['get'](WebSocketGateway),_0x3c0690=new Set();for(const _0x3ddb9d of _0x465123){const _0x267884=_0x3ddb9d['_authorId'];_0x267884&&!_0x1b271c['getUser'](_0x267884)&&_0x3c0690['add'](_0x267884);}if(0x0===_0x3c0690['size'])return;const _0x449703=await _0x46d2aa['getMany'](_0x45373b,Array['from'](_0x3c0690));for(const _0x4231a1 of _0x449703)_0x1b271c['getUser'](_0x4231a1['id'])||_0x1b271c['addUser'](_0x4231a1);}['_getOperationsFromInitData'](_0x4261ef,_0x4914d2={}){const _0x5e02c2=this['editor']['model'],_0x2580a4=[];let _0x4fedc5=0x0;const _0x3c5556='string'==typeof _0x4261ef?{'main':_0x4261ef}:_0x4261ef;for(const _0x405a04 of Object['keys'](_0x3c5556)){if(!this['_document']['roots']['has'](_0x405a04))throw new ckeditor5['CKEditorError']('realtimecollaborationclient-init-non-existent-root',this);const _0xe16d0a=this['editor']['data']['parse'](_0x3c5556[_0x405a04]),_0x258d93=this['_document']['getRoot'](_0x405a04),_0x1e730f=new ckeditor5['InsertOperation'](_0x5e02c2['createPositionAt'](_0x258d93,0x0),_0xe16d0a,_0x4fedc5++);_0x2580a4['push'](_0x1e730f);for(const [_0x3ce5dd,_0xabdaaf]of _0xe16d0a['markers']){const _0x322643=_0x5e02c2['createRange'](_0x5e02c2['createPositionFromPath'](_0x258d93,_0xabdaaf['start']['path']['slice']()),_0x5e02c2['createPositionFromPath'](_0x258d93,_0xabdaaf['end']['path']['slice']())),_0x4cc81c=new ckeditor5['MarkerOperation'](_0x3ce5dd,null,_0x322643,_0x5e02c2['markers'],!0x0,_0x4fedc5++);_0x2580a4['push'](_0x4cc81c);}}if(_0x4914d2)for(const [_0x3ceca4,_0x5c35db]of Object['entries'](_0x4914d2)){const _0x2d08ab=_0x5e02c2['document']['getRoot'](_0x3ceca4);if(!_0x2d08ab)throw new ckeditor5['CKEditorError']('multi-root-editor-root-attributes-no-root',null);for(const [_0x502136,_0x3831a2]of Object['entries'](_0x5c35db))if(null!==_0x3831a2){const _0x14e3f9=new ckeditor5['RootAttributeOperation'](_0x2d08ab,_0x502136,null,_0x3831a2,_0x4fedc5++);_0x2580a4['push'](_0x14e3f9);}}return _0x2580a4;}async['_loadRoot'](_0x368f56,_0x42f871,_0x4078cc){this['_getOperationsFromInitData']({[_0x368f56]:_0x42f871},{[_0x368f56]:_0x4078cc})['forEach']((_0x3a57c1,_0x2c03d2)=>{_0x3a57c1['baseVersion']=this['_document']['version']+_0x2c03d2,_0x3a57c1['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x3a57c1);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0x2f204d,_0x1b1467){let _0x8cc701;this['_offset']=_0x2f204d['offset'];const _0x51013f=_0x2f204d['wereChangesApplied']&&!_0x2f204d['initData'],_0x246b4e=_0x51013f?0x0:_0x2f204d['data']['baseVersion'];if(_0x1b1467['forEach'](_0x368020=>{_0x368020['_isInit']=!0x0,_0x368020['createdAt']=_0x2f204d['sessionCreatedAt'],_0x368020['_authorId']=null;}),_0x51013f)_0x8cc701=_0x1b1467,this['_applyOperationsSet'](_0x8cc701,_0x51013f);else{if(_0x2f204d['initData']){const _0x26b8c0=this['_getOperationsFromInitData'](_0x2f204d['initData']);this['_document']['history']['version']=-_0x26b8c0['length'],_0x26b8c0['forEach'](_0x38336b=>{_0x38336b['baseVersion']-=_0x26b8c0['length'],_0x38336b['createdAt']=_0x2f204d['sessionCreatedAt'],_0x38336b['_isInit']=!0x0,_0x38336b['_authorId']=null;}),this['_applyOperationsSet'](_0x26b8c0,!0x0),this['serverHistory']['version']=-_0x26b8c0['length']+this['_offset'],this['_updateServerHistory'](_0x26b8c0);}this['_document']['history']['version']=_0x246b4e,_0x8cc701=this['_decompressOperations'](_0x2f204d['data'],_0x2f204d['metadata']),await this['_fetchMissingUsers'](_0x8cc701),this['_applyOperationsSet'](_0x8cc701,_0x51013f);}_0x2f204d['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x8cc701,_0x2f204d['lastOperationId']),this['_lastSyncedOperationId']=_0x2f204d['lastOperationId']),this['serverHistory']['version']=_0x246b4e+this['_offset'],this['_updateServerHistory'](_0x8cc701),_0x1b1467['filter'](_0x624a78=>{const _0x320c15=this['_getAffectedRoot'](_0x624a78);return _0x320c15&&!this['_knownRootNames']['has'](_0x320c15);})['forEach']((_0x62b1b2,_0xac4174)=>{_0x62b1b2['baseVersion']=this['_document']['version']+_0xac4174,this['_saveOperationInBuffer'](_0x62b1b2);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0x486d10,_0x10cb70){const _0x22c0f5=_0x10cb70&&_0x10cb70['message'];if(_0x22c0f5&&_0x22c0f5['startsWith']('realtimecollaborationclient'))throw _0x10cb70;const _0x2657f8=this['editor']['plugins']['get'](WebSocketGateway);throw this['_isPendingUpdate']=!0x0,_0x2657f8['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new ckeditor5['CKEditorError'](_0x486d10,this['editor'],_0x22c0f5?{'originalError':_0x22c0f5}:void 0x0);}['_saveOperationInBuffer'](_0x5f2fe){this['_knownOperations']['has'](_0x5f2fe)||(this['_knownOperations']['add'](_0x5f2fe),this['_bufferedOperations']['push'](_0x5f2fe),this['_pendingAction']||'marker'==_0x5f2fe['type']&&!_0x5f2fe['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0x1c7b9d=!0x1){!_0x1c7b9d&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0x286d06=>{_0x286d06&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0x12e4d5=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,isDisconnectionError$3(_0x12e4d5)||this['_crash'](_0x12e4d5['message'],_0x12e4d5);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0x409b02=>{this['on']('change:_isPendingUpdate',()=>{_0x409b02();});});}async['_sendBufferedOperations'](){const _0x5311db=this['editor']['plugins']['get'](_0x4a817d);if(this['_shouldSendSelectionUpdate']()&&(_0x5311db['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x4ff66d=[...this['_bufferedOperations']];for(const _0x302eab of _0x4ff66d)_0x302eab['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x302eab);const _0x3dffee=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x4ff66d),_0x1fa06a=requestCount++,_0x281700=this['_compressOperations'](_0x4ff66d),_0x142bbf=await this['_service']['sendOperations'](_0x281700,_0x281700['baseVersion'],_0x3dffee);try{return await this['_handleServerResponse'](_0x4ff66d,_0x142bbf,_0x1fa06a);}catch(_0x86fe5f){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0x86fe5f);}}async['_handleServerResponse'](_0x40d862,_0x52ffae,_0x2c056b){if('error'in _0x52ffae)throw _0x52ffae['error'];let _0x552a14=!0x1;if(_0x52ffae['wereChangesApplied']){_0x52ffae['lastOperationId']&&(this['_lastSyncedOperationId']=_0x52ffae['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x38a17c=>!_0x40d862['includes'](_0x38a17c));for(const _0x4d8827 of _0x40d862)_0x4d8827['createdAt']='lastOperationAcceptedAt'in _0x52ffae&&_0x52ffae['lastOperationAcceptedAt']||void 0x0;updateBaseVersions(_0x40d862,_0x52ffae['version']-_0x40d862['length']),this['_updateServerHistory'](_0x40d862);const _0x3cdefd=_0x40d862['filter'](_0x102b47=>{if(!_0x102b47['_isInit'])return!0x1;const _0x252387=this['_getAffectedRoot'](_0x102b47);return _0x252387&&!this['_knownRootNames']['has'](_0x252387);});updateBaseVersions(_0x3cdefd,this['_document']['version']),this['_applyOperationsSet'](_0x3cdefd),_0x552a14=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0x48eadd=this['_decompressOperations'](_0x52ffae['data'],_0x52ffae['metadata'])['filter'](_0x1b70fc=>_0x1b70fc['baseVersion']>=this['_lastServerVersion']);_0x48eadd['forEach'](_0x3f6a02=>this['_addKnownRoot'](_0x3f6a02)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x11ebff=>!_0x11ebff['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x11ebff))),this['_bufferedOperations']['length']&&updateBaseVersions(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x48eadd),_0x552a14=this['_handleExternalOperations'](_0x48eadd,_0x52ffae['version'],_0x52ffae['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0x552a14?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x208557,_0x3ec919,_0x203cec){try{const _0x3a49d4={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4f296d,operationsB:_0x251fee,originalOperations:_0x279e3a}=ckeditor5['transformOperationSets'](_0x208557,this['_bufferedOperations'],_0x3a49d4);updateBaseVersions(_0x4f296d,this['_document']['version']),updateBaseVersions(_0x251fee,_0x3ec919);for(const _0x4088ef of _0x4f296d){const _0x371f0c=_0x279e3a['get'](_0x4088ef);_0x4088ef['_authorId']=_0x371f0c?_0x371f0c['_authorId']:null;}_0x203cec&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x208557,_0x203cec),this['_lastSyncedOperationId']=_0x203cec),this['_bufferedOperations']=[..._0x251fee],this['_applyOperationsSet'](_0x4f296d),this['_updateServerHistory'](_0x208557);}catch(_0x36efa5){return console['error'](_0x36efa5),!0x1;}return!0x0;}['_applyOperationsSet'](_0xea0af6,_0x2b5514=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x27caaa=>{for(const _0x3117b9 of _0xea0af6)this['_knownOperations']['add'](_0x3117b9),this['_addKnownRoot'](_0x3117b9),_0x27caaa['batch']['addOperation'](_0x3117b9),this['editor']['model']['applyOperation'](_0x3117b9);});}['_addKnownRoot'](_0xa125de){const _0x5e19c1=this['_getAffectedRoot'](_0xa125de);_0x5e19c1&&this['_knownRootNames']['add'](_0x5e19c1);}['_getAffectedRoot'](_0x503046){let _0x517768,_0x1fc5a9;switch(_0x503046['type']){case'insert':_0x517768=_0x503046['position']['root'];break;case'marker':if(_0x1fc5a9=_0x503046['newRange'],!_0x1fc5a9)return null;_0x517768=_0x1fc5a9['root'];break;case'addRootAttribute':_0x517768=_0x503046['root'];break;case'addRoot':_0x517768=_0x503046['affectedSelectable'];break;case'move':_0x517768=_0x503046['targetPosition']['root'];break;default:return null;}return _0x517768['rootName'];}['_updateServerHistory'](_0x3870a0){_0x3870a0['forEach'](_0x1922b3=>{const _0x430c74=_0x1922b3['clone']();_0x430c74['_authorId']=_0x1922b3['_authorId'],_0x430c74['_isInit']=!!_0x1922b3['_isInit'],_0x430c74['createdAt']=_0x1922b3['createdAt'],_0x430c74['baseVersion']+=this['_offset'],_0x1922b3['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x430c74),this['serverHistory']['addOperation'](_0x430c74);});}['_handleReconnectionError'](_0xc33bbb){const _0x353719=this['editor']['plugins']['get']('Notification'),_0x21d07a=this['editor']['locale'];_0xc33bbb||(_0xc33bbb=getTranslation$6(_0x21d07a,'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.')),_0x353719['showWarning'](_0xc33bbb,{'title':getTranslation$6(_0x21d07a,'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'](_0x4c9063){const _0x5d2f26=_0x4c9063['map'](_0x362a8a=>_0x362a8a['toJSON']());return this['_compressor']['compress'](_0x5d2f26);}['_decompressOperations'](_0x4e76c3,_0x4004dd){return this['_compressor']['decompress'](_0x4e76c3)['map']((_0x42195,_0x5aa4ce)=>{const _0x48b28c='init'==_0x4004dd[_0x5aa4ce]['type'];if('InsertOperation'==_0x42195['__className']){const _0x12b89a=_0x42195['position']['root'];!this['_document']['getRoot'](_0x12b89a)&&(this['_document']['createRoot']('$root',_0x12b89a)['_isAttached']=!0x1);}const _0x338dca=ckeditor5['OperationFactory']['fromJSON'](_0x42195,this['_document']);return _0x338dca['wasUndone']=_0x42195['wasUndone'],_0x338dca['_isInit']=_0x48b28c,_0x338dca['_authorId']=_0x48b28c?null:_0x4004dd[_0x5aa4ce]['userId'],_0x338dca['_isDisconnection']='cs:removeUser'===_0x4004dd[_0x5aa4ce]['type'],_0x338dca['createdAt']=_0x4004dd[_0x5aa4ce]['createdAt'],_0x338dca;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x3dc9e3=this['editor']['plugins']['get'](_0x3dd12d)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x3dc9e3&&_0x3dc9e3['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}}class ReconnectionError extends Error{}function updateBaseVersions(_0x447293,_0x102fb0){for(const _0x457909 of _0x447293)_0x457909['baseVersion']=_0x102fb0++;}function isSessionNotExistingError(_0x463c95){return'404'===_0x463c95['code'];}function isBaseVersionMismatchError(_0x52a0fe){return'409'===_0x52a0fe['code'];}function isDisconnectionError$3(_0x3aa699){return _0x3aa699['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x3aa699['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0x3aa699['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class OperationIdentifier{['_ignoredOperations'];['_operationToId'];constructor(_0x12e190){this['_ignoredOperations']=_0x12e190,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x56a045){let _0x251d25=_0x56a045['length'];for(;_0x251d25--;){const _0x130a9f=_0x56a045[_0x251d25];if(!this['_ignoredOperations']['has'](_0x130a9f)){if(!this['_operationToId']['has'](_0x130a9f)){const _0xc709a6=ckeditor5['uid']()['slice'](0x1,0x12);this['_operationToId']['set'](_0x130a9f,_0xc709a6);}return this['_operationToId']['get'](_0x130a9f);}}}['setIdForTheLastOperation'](_0x224874,_0x5adbde){if(!_0x5adbde)return;let _0x4fc095=_0x224874['length'];for(;_0x4fc095--;){const _0x5135a9=_0x224874[_0x4fc095];this['_ignoredOperations']['has'](_0x5135a9)||this['_operationToId']['set'](_0x5135a9,_0x5adbde);}}}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 CloudServicesCommentsAdapter extends ckeditor5['ContextPlugin']{static ['CommentsService']=/* #__PURE__ -- @preserve */
((()=>CommentsService)());['_services'];static get['requires'](){return[WebSocketGateway,'CommentsRepository',_0x3dd12d,_0xd5bff4];}static get['pluginName'](){return'CloudServicesCommentsAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x530d7f){super(_0x530d7f),this['_services']=new Map();}async['init'](){const _0x369b63=this['context'],_0x5a3e1b=_0x369b63['plugins']['get']('CommentsRepository');if(_0x369b63['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),_0x5a3e1b['adapter']={'addCommentThread':async({channelId:_0x5314da,threadId:_0x3dfea7,comments:_0x5e6697,resolvedAt:_0x347ff1,resolvedBy:_0x944da8,context:_0x31a1f6,attributes:_0xfd7748})=>{const _0x2de05f=await this['_getService'](_0x5314da)['addCommentThread']({'commentThreadId':_0x3dfea7,'comments':_0x5e6697['map'](_0x256ef5=>parseLocalCommentToRemote(_0x256ef5,_0x5314da,_0x3dfea7)),'resolvedAt':_0x347ff1,'resolvedBy':_0x944da8,'context':_0x31a1f6,'attributes':_0xfd7748})['catch'](handleDisconnectionError$1);return{'threadId':_0x2de05f['commentThreadId'],'comments':_0x2de05f['comments']};},'getCommentThread':async({channelId:_0x222913,threadId:_0x415cb6})=>{const _0xf1995d=await this['_getService'](_0x222913)['getCommentThread'](_0x415cb6)['catch'](_0x2fbf0e)['catch'](handleDisconnectionError$1);return _0xf1995d?_0xf1995d['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0xf1995d]),{'threadId':_0xf1995d['commentThreadId'],'comments':_0xf1995d['comments']['map'](parseRemoteCommentToLocal),'context':_0xf1995d['context'],'resolvedAt':_0xf1995d['resolvedAt'],'resolvedBy':_0xf1995d['resolvedBy'],'attributes':_0xf1995d['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x1870e9,threadId:_0x282013,context:_0x7587eb,unlinkedAt:_0x2148c9,attributes:_0x4b8b0c})=>this['_getService'](_0x1870e9)['updateCommentThread']({'commentThreadId':_0x282013,'context':_0x7587eb,'attributes':_0x4b8b0c,'unlinkedAt':_0x2148c9})['catch'](_0x2fbf0e)['catch'](handleDisconnectionError$1),'resolveCommentThread':async({channelId:_0x290c28,threadId:_0x1264a6})=>{const _0x5a0ee5=await this['_getService'](_0x290c28)['resolveCommentThread'](_0x1264a6)['catch'](_0x2fbf0e)['catch'](handleDisconnectionError$1);return{'threadId':_0x5a0ee5['commentThreadId'],'resolvedAt':_0x5a0ee5['resolvedAt'],'resolvedBy':_0x5a0ee5['resolvedBy']};},'reopenCommentThread':async({channelId:_0x278584,threadId:_0x25e7a7})=>this['_getService'](_0x278584)['reopenCommentThread'](_0x25e7a7)['catch'](_0x2fbf0e)['catch'](handleDisconnectionError$1),'removeCommentThread':({channelId:_0x25dc3e,threadId:_0x2c2266})=>this['_getService'](_0x25dc3e)['removeCommentThread'](_0x2c2266)['catch'](_0x2fbf0e)['catch'](handleDisconnectionError$1),'addComment':({channelId:_0x44619a,threadId:_0xb4ad58,commentId:_0x287388,content:_0x2b6e59,attributes:_0x4f113c})=>this['_getService'](_0x44619a)['addComment'](_0xb4ad58,_0x287388,_0x2b6e59,_0x4f113c)['catch'](handleDisconnectionError$1),'updateComment':({channelId:_0x39af0d,threadId:_0x9d371a,commentId:_0x293660,content:_0x57aed6,attributes:_0x286a8c})=>this['_getService'](_0x39af0d)['updateComment'](_0x9d371a,_0x293660,_0x57aed6,_0x286a8c)['catch'](_0x2fbf0e)['catch'](handleDisconnectionError$1),'removeComment':({channelId:_0x1e0002,threadId:_0x3f3fea,commentId:_0x5b69f8})=>this['_getService'](_0x1e0002)['removeComment'](_0x3f3fea,_0x5b69f8)['catch'](_0x2fbf0e)['catch'](handleDisconnectionError$1)},_0x369b63 instanceof ckeditor5['Context']){const _0x1d8ccb=_0x369b63['config']['get']('collaboration.channelId'),_0x4b69ef=_0x369b63['plugins']['get'](_0x3dd12d);await this['_setUpService'](_0x1d8ccb);const _0x33386b=await this['_services']['get'](_0x1d8ccb)['getConnectedSessions']();this['listenTo'](_0x4b69ef,'sessionAdd:'+_0x1d8ccb,(_0xf8693,{session:_0x231add})=>{_0x231add['id']===_0x4b69ef['mySessionId']&&(_0xf8693['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0x231add['permissions'],_0x1d8ccb));}),_0x4b69ef['register'](_0x1d8ccb,_0x33386b);}}async['_setUpService'](_0x45d2ee){if(this['_services']['has'](_0x45d2ee))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x45d2ee});const _0x4b30c1=this['context']['plugins']['get']('CommentsRepository'),_0x5b3e71=new CloudServicesCommentsAdapter['CommentsService'](_0x45d2ee);this['_services']['set'](_0x45d2ee,_0x5b3e71),this['listenTo'](_0x5b3e71,'commentThreadAdded',(_0x188480,_0x2270a7)=>{const {commentThreadId:_0x2ca67e,documentId:_0x6a4514,context:_0x4d75,attributes:_0x3d898a,resolvedAt:_0x442458,resolvedBy:_0x5b4ccb,comments:_0x250dd1}=_0x2270a7;_0x4b30c1['getCommentThread'](_0x2ca67e)||_0x4b30c1['addCommentThread']({'threadId':_0x2ca67e,'channelId':_0x6a4514,'comments':_0x250dd1?_0x250dd1['map'](parseRemoteCommentToLocal):[],'context':_0x4d75,'attributes':_0x3d898a,'resolvedAt':_0x442458,'resolvedBy':_0x5b4ccb,'isFromAdapter':!0x0});}),this['listenTo'](_0x5b3e71,'commentThreadUpdated',(_0x423f3e,{commentThreadId:_0x4c5ac3,documentId:_0x59fb7b,context:_0x4f4223,unlinkedAt:_0x577fe0,attributes:_0x449dfb})=>{_0x4b30c1['getCommentThread'](_0x4c5ac3)&&_0x4b30c1['updateCommentThread']({'threadId':_0x4c5ac3,'channelId':_0x59fb7b,'context':_0x4f4223,'unlinkedAt':_0x577fe0,'attributes':_0x449dfb,'isFromAdapter':!0x0});}),this['listenTo'](_0x5b3e71,'commentThreadResolved',(_0x5e1579,{commentThreadId:_0x16fa25,resolvedBy:_0x3b1917,resolvedAt:_0x2fac63})=>{const _0x1f7476=_0x4b30c1['getCommentThread'](_0x16fa25);_0x1f7476&&_0x1f7476['resolve']({'resolvedBy':_0x3b1917,'resolvedAt':_0x2fac63,'isFromAdapter':!0x0});}),this['listenTo'](_0x5b3e71,'commentThreadReopened',(_0x5dbb97,{commentThreadId:_0x5102cd})=>{const _0x1cd84d=_0x4b30c1['getCommentThread'](_0x5102cd);_0x1cd84d&&_0x1cd84d['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0x5b3e71,'commentThreadRemoved',(_0x11eef6,{commentThreadId:_0x1dd8b4})=>{const _0x549869=_0x4b30c1['getCommentThread'](_0x1dd8b4);_0x549869&&_0x549869['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x5b3e71,'commentAdded',(_0x56de74,_0x29bffe)=>{const _0x55756c=_0x29bffe['commentThreadId'],_0x5d5b56=_0x4b30c1['getCommentThread'](_0x55756c);_0x5d5b56&&_0x5d5b56['addComment']({...parseRemoteCommentToLocal(_0x29bffe),'isFromAdapter':!0x0});}),this['listenTo'](_0x5b3e71,'commentUpdated',(_0x2ddb8a,{commentThreadId:_0x5ae81d,commentId:_0x4c7e12,content:_0x5ad1a5,attributes:_0x3c038e})=>{const _0x162266=_0x4b30c1['getCommentThread'](_0x5ae81d);if(_0x162266){const _0x36d5c0=_0x162266['getComment'](_0x4c7e12);_0x36d5c0&&_0x36d5c0['update']({'content':_0x5ad1a5,'attributes':_0x3c038e,'isFromAdapter':!0x0});}}),this['listenTo'](_0x5b3e71,'commentRemoved',(_0x11e37d,{commentThreadId:_0x3d16ba,commentId:_0x4c05cd})=>{const _0x21a654=_0x4b30c1['getCommentThread'](_0x3d16ba);if(_0x21a654){const _0x30342c=_0x21a654['getComment'](_0x4c05cd);_0x30342c&&_0x30342c['remove']({'isFromAdapter':!0x0});}}),await this['_connectService'](_0x45d2ee);}['destroy'](){if(this['context']instanceof ckeditor5['Context']){const _0x48ad6f=this['context']['config']['get']('collaboration.channelId');this['_terminateService'](_0x48ad6f);}}['_terminateService'](_0x2218cc){if(!this['_services']['has'](_0x2218cc))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x2218cc});this['_getService'](_0x2218cc)['disconnect'](),this['_services']['delete'](_0x2218cc);}async['reconnect'](){for(const _0x523dd9 of this['_services']['keys']())await this['_connectService'](_0x523dd9);if(this['context']instanceof ckeditor5['Context']){const _0x262cfb=this['context']['config']['get']('collaboration.channelId'),_0x1b46ed=this['context']['plugins']['get'](_0x3dd12d);_0x1b46ed['unregister'](_0x262cfb);const _0x508a57=await this['_services']['get'](_0x262cfb)['getConnectedSessions']();_0x1b46ed['register'](_0x262cfb,_0x508a57);}}async['_connectService'](_0x163045){const {connection:_0x500f7b}=this['context']['plugins']['get'](WebSocketGateway),_0x3edcc7=this['context']['plugins']['get']('CommentsRepository'),_0x306ffe=this['_services']['get'](_0x163045),_0x3ec176=await _0x306ffe['connect'](_0x500f7b);await this['_fetchMissingUsersForThreads'](_0x3ec176);const _0x22d67d=new Set(Array['from'](_0x3edcc7['getCommentThreads']({'channelId':_0x163045}),_0x171b14=>_0x171b14['id']));for(const _0x1cae1f of _0x3ec176)_0x1cae1f['deletedAt']||_0x22d67d['delete'](_0x1cae1f['commentThreadId']);for(const _0x375cac of _0x22d67d)_0x3edcc7['getCommentThread'](_0x375cac)['remove']({'isFromAdapter':!0x0});for(const _0x1a6cd5 of _0x3ec176){let _0x56274a=_0x3edcc7['getCommentThread'](_0x1a6cd5['commentThreadId']);const {commentThreadId:_0xd7da5f,context:_0x5a36e0,attributes:_0x285b71,resolvedBy:_0x331df6,resolvedAt:_0x3ccb30,unlinkedAt:_0x9f8450,deletedAt:_0x2148ee}=_0x1a6cd5;if(_0x2148ee)continue;_0x56274a||(_0x56274a=_0x3edcc7['addCommentThread']({'channelId':_0x163045,'threadId':_0xd7da5f,'context':_0x5a36e0,'attributes':_0x285b71||{},'resolvedBy':_0x331df6,'resolvedAt':_0x3ccb30,'unlinkedAt':_0x9f8450,'isFromAdapter':!0x0}));const _0x5a9d41=new Set(Array['from'](_0x56274a['comments'],_0x5ae3af=>_0x5ae3af['id']));for(const _0x1ae249 of _0x1a6cd5['comments'])_0x5a9d41['delete'](_0x1ae249['commentId']);for(const _0x5987a2 of _0x5a9d41)_0x56274a['getComment'](_0x5987a2)['remove']({'isFromAdapter':!0x0});for(const _0x3b132c of _0x1a6cd5['comments']){const _0x36100a=_0x56274a['getComment'](_0x3b132c['commentId']);_0x36100a?_0x36100a['content']!==_0x3b132c['content']&&_0x36100a['update']({'content':_0x3b132c['content'],'isFromAdapter':!0x0}):_0x56274a['addComment'](Object['assign'](parseRemoteCommentToLocal(_0x3b132c),{'isFromAdapter':!0x0}));}}}['_getService'](_0x51880e){if(!this['_services']['has'](_0x51880e))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x51880e});return this['_services']['get'](_0x51880e);}async['_fetchMissingUsersForThreads'](_0x2ed1b6){const _0x5de078=this['context']['plugins']['get'](_0xd5bff4),{connection:_0x144039}=this['context']['plugins']['get'](WebSocketGateway),_0x3c2fca=new Set();for(const {resolvedBy:_0xbae5fc,comments:_0x1a658c}of _0x2ed1b6){_0xbae5fc&&!_0x5de078['getUser'](_0xbae5fc)&&_0x3c2fca['add'](_0xbae5fc);for(const {userId:_0x2f0ae5}of _0x1a658c)_0x5de078['getUser'](_0x2f0ae5)||_0x3c2fca['add'](_0x2f0ae5);}if(0x0===_0x3c2fca['size'])return;const _0x5d043c=await _0x46d2aa['getMany'](_0x144039,Array['from'](_0x3c2fca));for(const _0x4fa35d of _0x5d043c)_0x5de078['getUser'](_0x4fa35d['id'])||_0x5de078['addUser'](_0x4fa35d);}}async function _0x2fbf0e(_0x4e424a){if('404'!==_0x4e424a['code'])throw _0x4e424a;}function handleDisconnectionError$1(_0x4e6cab){if(isDisconnectionError$2(_0x4e6cab))return new Promise(()=>{});throw _0x4e6cab;}function isDisconnectionError$2(_0x55643f){return _0x55643f['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x55643f['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x55643f['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}function parseRemoteCommentToLocal(_0x4a96cf){return{'threadId':_0x4a96cf['commentThreadId'],'commentId':_0x4a96cf['commentId'],'content':_0x4a96cf['content'],'createdAt':_0x4a96cf['createdAt'],'authorId':_0x4a96cf['userId'],'attributes':_0x4a96cf['attributes']||{}};}function parseLocalCommentToRemote(_0x584a8a,_0x3f5359,_0x127401){return{'commentThreadId':_0x127401,'commentId':_0x584a8a['commentId'],'userId':_0x584a8a['authorId'],'content':_0x584a8a['content'],'documentId':_0x3f5359,'createdAt':_0x584a8a['createdAt'],'attributes':_0x584a8a['attributes']||{}};}class CloudServicesTrackChangesAdapter extends ckeditor5['Plugin']{static ['TrackChangesService']=/* #__PURE__ -- @preserve */
((()=>_0x188116)());['_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(_0x407e21){super(_0x407e21);const _0x4360ef=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x4360ef);}['init'](){const _0x327c66=this['editor']['plugins']['get'](WebSocketGateway),_0x310440=this['editor']['plugins']['get']('TrackChangesEditing');return _0x310440['adapter']={'getSuggestion':async _0x58e204=>{await this['_waitForServiceReady']();const _0xd98908=await this['_trackChangesService']['get'](_0x58e204)['catch'](handleDisconnectionError);return await this['_fetchMissingUsersForThreads']([_0xd98908]),_0xd98908;},'addSuggestion':async({id:_0x1f8db2,type:_0x5a83db,data:_0x1741a,originalSuggestionId:_0x424e7b,attributes:_0x4dade3})=>{await this['_waitForServiceReady']();const _0x1a159b={'id':_0x1f8db2,'type':_0x5a83db,'data':_0x1741a,'originalSuggestionId':_0x424e7b,'attributes':_0x4dade3},_0x2ba186=await this['_trackChangesService']['add'](_0x1f8db2,_0x5a83db,_0x1741a,_0x424e7b,_0x4dade3)['catch'](_0x3ac985=>{if(isDisconnectionError$1(_0x3ac985))return new Promise(_0x361f81=>{this['_bufferedRequests']['set'](_0x1f8db2,{'resolve':_0x361f81,'suggestionData':_0x1a159b});});throw _0x3ac985;});return this['_bufferedRequests']['delete'](_0x1f8db2),_0x2ba186;},'updateSuggestion':async(_0x279eff,_0x34a48e)=>{if(await this['_waitForServiceReady'](),'open'!==_0x34a48e['state'])return this['_trackChangesService']['update'](_0x279eff,_0x34a48e)['catch'](handleDisconnectionError);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0x5d6c20,_0x29869a)=>{_0x310440['hasSuggestion'](_0x29869a['id'])&&(_0x310440['getSuggestion'](_0x29869a['id'])['attributes']=_0x29869a['attributes']);}),this['_trackChangesService']['connect'](_0x327c66['connection'])['then'](_0x43bbbd=>(_0x327c66['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x43bbbd)['then'](()=>{for(const _0x226500 of _0x43bbbd){_0x310440['addSuggestionData'](_0x226500)['_saved']=!0x0;}})));}async['reconnect'](){const _0x2d49a2=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x29b8bd}=this['editor']['plugins']['get'](WebSocketGateway),_0x26d2b9=await this['_trackChangesService']['connect'](_0x29b8bd);await this['_fetchMissingUsersForThreads'](_0x26d2b9);for(const {suggestionData:_0x23dd8e,resolve:_0x3c4cc6}of this['_bufferedRequests']['values']()){let _0x554655=_0x26d2b9['find'](_0x28bce4=>_0x28bce4['id']===_0x23dd8e['id']);_0x554655||(_0x554655=await this['_trackChangesService']['add'](_0x23dd8e['id'],_0x23dd8e['type'],_0x23dd8e['data'],_0x23dd8e['originalSuggestionId'])),_0x3c4cc6(_0x554655);}for(const _0x12cfc3 of _0x26d2b9)_0x2d49a2['hasSuggestion'](_0x12cfc3['id'])||_0x2d49a2['addSuggestionData'](_0x12cfc3);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0x54ae98=>{this['listenTo'](this['_trackChangesService'],'connected',_0x2f9563=>{_0x2f9563['off'](),_0x54ae98();});});}async['_fetchMissingUsersForThreads'](_0x343fc5){const _0x1878bd=this['editor']['plugins']['get'](_0xd5bff4),{connection:_0x308bfc}=this['editor']['plugins']['get'](WebSocketGateway),_0x58ff3a=new Set();for(const {authorId:_0x455f0c}of _0x343fc5)_0x1878bd['getUser'](_0x455f0c)||_0x58ff3a['add'](_0x455f0c);if(0x0===_0x58ff3a['size'])return;const _0x286369=await _0x46d2aa['getMany'](_0x308bfc,Array['from'](_0x58ff3a));for(const _0x1ea6e1 of _0x286369)_0x1878bd['getUser'](_0x1ea6e1['id'])||_0x1878bd['addUser'](_0x1ea6e1);}}function handleDisconnectionError(_0x278bef){if(isDisconnectionError$1(_0x278bef))return new Promise(()=>{});throw _0x278bef;}function isDisconnectionError$1(_0x305c58){return _0x305c58['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x305c58['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 _0x2ed7e5=this['editor']['plugins']['get'](WebSocketGateway),_0x339dae=this['editor']['plugins']['get']('CommentsEditing'),_0x9fe211=this['editor']['plugins']['get'](CloudServicesCommentsAdapter);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x2ed7e5,'change:state',(_0x4326e4,_0xbf0ee5,_0x112ef6)=>{_0x339dae['isThreadsLoadingPaused']='connected'!==_0x112ef6;});}),this['listenTo'](_0x2ed7e5,'change:state',(_0x227ad0,_0x318ad8,_0x246a6b)=>{this['editor']['plugins']['get']('CommentsRepository')['switchReadOnly']('connected'!==_0x246a6b);}),_0x9fe211['_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,'TrackChanges'];}static get['pluginName'](){return'RealTimeCollaborativeTrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CloudServicesRevisionHistoryAdapter extends ckeditor5['Plugin']{static ['RevisionHistoryService']=/* #__PURE__ -- @preserve */
((()=>RevisionHistoryService)());['_lastRequestId'];['_revisionTracker'];['_revisionHistoryService'];['_oldOffset'];static get['requires'](){return[WebSocketGateway,RealTimeCollaborationClient,'RevisionHistory',_0x3dd12d,_0xd5bff4];}static get['pluginName'](){return'CloudServicesRevisionHistoryAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1ef3b5){super(_0x1ef3b5);const _0x4a6906=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x4a6906);}async['init'](){const _0x312fe6=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x31cebe=_0x312fe6['serverHistory'],_0x3170aa=this['editor']['plugins']['get'](WebSocketGateway);this['_revisionTracker']['setSource']({'history':_0x31cebe,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x312fe6['sessionId']});const _0x4446b4=this['editor']['config']['get']('cloudServices.bundleVersion')||ckeditor5['version'],_0x3476a1=await EditorService['isBundleUploaded'](_0x3170aa['connection'],_0x4446b4);this['editor']['plugins']['get']('RevisionHistory')['adapter']={'getRevision':async({revisionId:_0x2fd2fa})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x2fd2fa)),'updateRevisions':async _0x2b9c9e=>{await this['_waitForServiceReady']();const _0x14a501=this['_revisionTracker']['currentRevision'];if(_0x3476a1&&0x1===_0x2b9c9e['length']&&_0x2b9c9e[0x0]['id']===_0x14a501['id'])return _0x2b9c9e;for(const _0x5014fe of _0x2b9c9e)_0x5014fe['id']===_0x14a501['id']&&(_0x5014fe['isEmptyCurrent']=_0x5014fe['fromVersion']===_0x5014fe['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x2b9c9e,this['_lastRequestId'])['then'](_0xe7091a=>(this['_lastRequestId']=_0xe7091a,_0x2b9c9e))['catch'](_0x2b01a8=>{if(isDisconnectionError(_0x2b01a8)||'400'===_0x2b01a8['code']&&void 0x0!==_0x2b01a8['data']['wrongRequestId']){for(const _0x455255 of _0x2b9c9e){!this['_revisionTracker']['repository']['getRevision'](_0x455255['id'])||this['_revisionTracker']['_bufferUpdate'](_0x455255['id'],_0x455255,!0x1);}if(isDisconnectionError(_0x2b01a8))throw _0x2b01a8;return _0x2b9c9e;}throw _0x2b01a8;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x3e2208,{revisionsData:_0x26e3d5,requestId:_0x36932d})=>{Math['max'](..._0x26e3d5['map'](_0x4a4ec5=>_0x4a4ec5['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x26e3d5,_0x36932d);}):this['_handleRevisionsUpdate'](_0x26e3d5,_0x36932d);});const {revisions:_0x40edbb,requestId:_0xdb1d14}=await this['_revisionHistoryService']['connect'](_0x3170aa['connection']);_0x3170aa['addToReconnectionStack'](this),this['_lastRequestId']=_0xdb1d14,await this['_fetchMissingUsers'](_0x40edbb);for(const _0x4f56d4 of _0x40edbb)this['_revisionTracker']['addRevisionData'](_0x4f56d4);this['listenTo'](_0x312fe6,'change:_isConnected',(_0xf088bb,_0x56ff74,_0x23ddb2)=>{_0x23ddb2&&(this['_oldOffset']=_0x312fe6['_offset'],_0xf088bb['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](_0x3170aa,'state',_0x2d521e=>_0x2d521e===_0x4009dd['CONNECTED']);}async['reconnect'](){const _0x44f938=this['editor']['plugins']['get'](WebSocketGateway),_0x44d284=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x2ceb1a=async()=>{const _0x3e55c9=this['_revisionTracker']['currentRevision'],_0x36cbdb=_0x3e55c9['id'],_0x1007c5=_0x36cbdb!==_0x44d284['sessionId'];if(_0x1007c5){const _0x39ae3e=_0x44d284['_offset']-this['_oldOffset'],_0x5c2d77=this['_getLatestVersionFromServerOperations']();this['_revisionTracker']['_revisionDataBuilder']['reInit']();if(_0x3e55c9['toVersion']+_0x39ae3e!==_0x5c2d77){const _0x5c06f6=_0x3e55c9['fromVersion']+_0x39ae3e,_0x1411b2=this['editor']['plugins']['get'](_0xd5bff4),_0x1a73e3=this['_revisionTracker']['buildRevisionData']({'revision':_0x3e55c9,'from':_0x5c06f6,'to':_0x5c2d77});_0x1a73e3['id']=_0x3e55c9['id'];const _0x38d7a0=_0x1a73e3['authorsIds']['map'](_0x7a9d67=>_0x1411b2['getUser'](_0x7a9d67));_0x3e55c9['_update']({..._0x1a73e3,'authors':_0x38d7a0},!0x0),this['_revisionTracker']['_bufferUpdate'](_0x3e55c9['id'],_0x1a73e3,!0x0);}this['_revisionTracker']['_startingVersion']=_0x5c2d77,(_0x3e55c9['toVersion']===_0x3e55c9['fromVersion']&&!this['_revisionTracker']['_bufferedUpdates']['has'](_0x36cbdb)&&this['_revisionTracker']['repository']['_revisions']['remove'](_0x36cbdb),this['_revisionTracker']['_createCurrentRevision'](_0x5c2d77));}const {revisions:_0x449dd0,requestId:_0x1ade86}=await this['_revisionHistoryService']['reconnect'](_0x44f938['connection'],this['_lastRequestId']);_0x1007c5&&_0x449dd0['length']>0x0?_0x44d284['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x449dd0),this['_handleRevisionsUpdate'](_0x449dd0,_0x1ade86),this['_revisionTracker']['sendBufferedUpdates']());};return _0x44d284['_isConnected']?_0x2ceb1a():new Promise((_0x558ef2,_0xb5153a)=>{_0x44d284['once']('change:_isConnected',()=>{_0x2ceb1a()['then'](_0x558ef2)['catch'](_0xb5153a);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x33cd4a=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0x152cf2=>{_0x152cf2['off'](),_0x33cd4a();});});}['_getLatestVersionFromServerOperations'](){const _0x5bc372=this['editor']['plugins']['get'](RealTimeCollaborationClient)['serverHistory']['getOperations']()['reverse']();for(const _0x2a7f5a of _0x5bc372)if('marker'!==_0x2a7f5a['type']||_0x2a7f5a['affectsData'])return _0x2a7f5a['baseVersion']+0x1;}['_getLatestVersion'](){const _0x5d1cdc=this['editor']['plugins']['get'](RealTimeCollaborationClient);return new Promise(_0x4a4262=>{_0x5d1cdc['_isPendingUpdate']?_0x5d1cdc['once']('change:_isPendingUpdate',()=>{_0x4a4262(this['_getLatestVersionFromServerOperations']());}):_0x4a4262(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0x3bd781,_0x52b94d){const _0x1b72ac=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x52b94d;for(const _0x419463 of _0x3bd781){const _0x467dd9=_0x1b72ac['getRevision'](_0x419463['id']);if(_0x467dd9){if((_0x419463['fromVersion']||_0x419463['toVersion'])&&(_0x419463['diffData']=null),_0x467dd9===this['_revisionTracker']['currentRevision']){const _0x301b8e=Math['max'](_0x467dd9['toVersion'],_0x419463['toVersion']),_0x14c472=Math['max'](_0x467dd9['fromVersion'],_0x419463['fromVersion']);let _0x279060;_0x467dd9['toVersion']===_0x419463['toVersion']&&_0x467dd9['fromVersion']===_0x419463['fromVersion']?(_0x279060=!0x0,this['_preventResendingRevisionData'](_0x419463)):_0x419463['toVersion']===_0x301b8e&&_0x419463['fromVersion']===_0x14c472?_0x279060=!0x1:(_0x467dd9['toVersion']===_0x301b8e&&_0x467dd9['fromVersion']===_0x14c472||this['_fixRevision']({'revision':_0x467dd9,'from':_0x14c472,'to':_0x301b8e}),_0x279060=!0x0),_0x279060&&(delete _0x419463['fromVersion'],delete _0x419463['toVersion'],delete _0x419463['diffData'],delete _0x419463['createdAt'],delete _0x419463['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0x419463),this['_preventResendingRevisionData'](_0x419463);}else this['_revisionTracker']['addRevisionData'](_0x419463);}const _0x376f20=_0x1b72ac['getRevisions']();_0x376f20['reverse']();for(let _0x314e1f=0x0;_0x314e1f<_0x376f20['length']-0x1;_0x314e1f++){const _0x547264=_0x376f20[_0x314e1f],_0xae7aa7=_0x376f20[_0x314e1f+0x1];if(_0x547264['fromVersion']<_0xae7aa7['toVersion']){const _0x52b8df=_0xae7aa7['toVersion'],_0x44c3b9=Math['max'](_0x52b8df,_0x547264['toVersion']);this['_fixRevision']({'revision':_0x547264,'from':_0x52b8df,'to':_0x44c3b9});}}}['_fixRevision']({revision:_0x21fd78,from:_0xcb70f7,to:_0x52770e}={}){const _0x359128=this['editor']['plugins']['get'](_0xd5bff4),_0x372560=this['_revisionTracker']['buildRevisionData']({'revision':_0x21fd78,'from':_0xcb70f7,'to':_0x52770e});_0x372560['authors']=_0x372560['authorsIds']['map'](_0x22a4dd=>_0x359128['getUser'](_0x22a4dd)),_0x21fd78['_update'](_0x372560);}['_preventResendingRevisionData'](_0x4ebcd0){const _0x41d072={};_0x41d072['id']=_0x4ebcd0['id'];for(const _0x94104a of Object['keys'](_0x4ebcd0))'id'!==_0x94104a&&(_0x41d072[_0x94104a]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0x41d072['id'],_0x41d072,!0x0);}async['_fetchMissingUsers'](_0x224e30){const _0x55bfee=this['editor']['plugins']['get'](_0xd5bff4),{connection:_0x3412b6}=this['editor']['plugins']['get'](WebSocketGateway),_0x389a1c=new Set();for(const _0x6b7e5a of _0x224e30){for(const _0x1d02c9 of _0x6b7e5a['authorsIds'])_0x280e85(_0x1d02c9);_0x6b7e5a['creatorId']&&_0x280e85(_0x6b7e5a['creatorId']);}if(0x0===_0x389a1c['size'])return;const _0x26b1d0=await _0x46d2aa['getMany'](_0x3412b6,Array['from'](_0x389a1c));for(const _0xdcd1ee of _0x26b1d0)_0x55bfee['getUser'](_0xdcd1ee['id'])||_0x55bfee['addUser'](_0xdcd1ee);function _0x280e85(_0x1f4fb2){_0x55bfee['getUser'](_0x1f4fb2)||_0x389a1c['add'](_0x1f4fb2);}}}function isDisconnectionError(_0x2f60c4){return _0x2f60c4['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x2f60c4['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x2f60c4['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(_0x3b2cb4,_0xbe5953=0x6){super(_0x3b2cb4);const _0x1a60bc=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0xbe5953,this['bind']('isHidden')['to'](this,'usersCount',_0x4140ff=>_0x4140ff<_0xbe5953),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0x1a60bc['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':_0x1a60bc['to']('usersCount',_0x3afee3=>'+'+(_0x3afee3-this['_collapseAt']+0x2)['toString']())}]}]}]});}}class PresenceInlineListView extends ckeditor5['View']{['items'];['keystrokes'];constructor(_0x3ba2d3){super(_0x3ba2d3);const _0x2a8808=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x2a8808['if']('hasPopup'),'aria-expanded':_0x2a8808['to']('isExpanded',_0x5ef612=>this['hasPopup']&&String(_0x5ef612)),'aria-label':_0x2a8808['to']('hasPopup',_0x5b3700=>getTranslation$6(_0x3ba2d3,_0x5b3700?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x2a8808['to']('hasPopup',_0x228702=>!!_0x228702&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x2a8808['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x2a8808['to'](_0x499b84=>{const _0x470af8=_0x499b84,_0xae628e=document['querySelector']('.ck-presence-list__dropdown-list'),_0x1703fd=document['querySelector']('.ck-balloon-panel_with-arrow');_0xae628e?.['contains'](_0x470af8['relatedTarget'])||_0x1703fd?.['contains'](_0x470af8['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x209e1a,_0x22f3e9,_0x47a127)=>{this['element']&&(_0x47a127?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(_0x3467e2,_0xd35c0b=0x6){super(_0x3467e2);const _0x2e716a=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new PresenceCounterView(this['locale'],_0xd35c0b),this['inlineListView']=new PresenceInlineListView(_0x3467e2),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x319b92 of this['inlineListView']['items'])_0x319b92['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',_0x2e716a['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}}class PresenceDropdownListView extends ckeditor5['View']{['listWrapperView'];constructor(_0x2b9eec,_0x13dde7){super(_0x2b9eec);const _0x4ddd0e=this['bindTemplate'];this['listWrapperView']=new PresenceDropdownListWrapperView(_0x2b9eec,_0x13dde7),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':getTranslation$6(_0x2b9eec,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x4ddd0e['to'](_0x3d5eca=>{const _0x3e0c45=_0x3d5eca,_0x4a5dbf=document['querySelector']('.ck-presence-list__list'),_0x3f7022=document['querySelector']('.ck-balloon-panel_with-arrow');_0x4a5dbf?.['contains'](_0x3e0c45['relatedTarget'])||_0x3f7022?.['contains'](_0x3e0c45['relatedTarget'])||this['fire']('presencelist:hide');})}});}}class PresenceDropdownListWrapperView extends ckeditor5['ListView']{constructor(_0x5d653a,_0x2fc594){super(_0x5d653a);const _0x27e521=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0x2fc594?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x27e521['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x27e521['to']('role'),'aria-label':_0x27e521['to']('ariaLabel'),'aria-labelledby':_0x27e521['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 _0x1a5513=this['element'];_0x1a5513&&(this['_isScrollable']=Math['max'](_0x1a5513['scrollHeight'],_0x1a5513['clientHeight'])>0.8*window['innerHeight']);}}class PresenceDropdownListItemView extends ckeditor5['ListItemView']{['userView'];constructor(_0x5113c9,_0x3f8eb1,_0xb98cc7){super(_0x5113c9);const _0x10e0fd=this['bindTemplate'];this['userView']=new _0x267a8b(_0x5113c9,_0x3f8eb1);const _0x19f269={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x3f8eb1['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x3f8eb1['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x3f8eb1['color']['getBackgroundColorClass']()],'aria-hidden':'true'}}]};_0xb98cc7&&(_0x19f269['tag']='button',_0x19f269['on']={'click':_0x10e0fd['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x19f269);}['focus'](){this['element']['focus']();}}class PresenceInlineListItemView extends ckeditor5['View']{['userView'];['markerView'];constructor(_0x74ef2c,_0x36c42d,_0xd7c067){super(_0x74ef2c);const _0x3dd84b=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new _0x267a8b(_0x74ef2c,_0x36c42d),this['markerView']=new _0x5e1fa3(_0x74ef2c,_0x36c42d);const _0xc1fe85=new ckeditor5['LabelView'](_0x74ef2c);_0xc1fe85['template']['tag']='span',_0xc1fe85['text']=_0x36c42d['name'];const _0x134146={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0x3dd84b['to']('isFocusable',_0x21992f=>!!_0x21992f&&0x0),'aria-labelledby':_0xc1fe85['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0x3dd84b['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x3dd84b['to']('hasTooltip',_0x4244f8=>!_0x4244f8),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0xc1fe85]};_0xd7c067&&(_0x134146['tag']='button',_0x134146['on']={'click':_0x3dd84b['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x134146);}}class _0x5e1fa3 extends ckeditor5['View']{constructor(_0x47e4c1,_0x43ccc1){super(_0x47e4c1),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x43ccc1['color']['getBackgroundColorClass']()],'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(_0x97bc09){super(_0x97bc09),this['context']['config']['define']('presenceList',defaultPresenceListConfig);const _0x4aedbe=_0x97bc09['config']['get']('presenceList.collapseAt');if('number'!=typeof _0x4aedbe)throw new ckeditor5['CKEditorError']('presencelist-collapseat-invalid-format',this);if(_0x4aedbe<0x1)throw new ckeditor5['CKEditorError']('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](_0x3dd12d)['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[_0x3dd12d];}['init'](){for(const _0x529620 of this['_allConnectedUsers'])this['_handleUserAdd'](_0x529620);this['listenTo'](this['_allConnectedUsers'],'add',(_0x1e0505,_0x1d7a4d)=>{this['_handleUserAdd'](_0x1d7a4d);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0x5c344e,_0x2c8d14)=>{this['_handleUserRemove'](_0x2c8d14);});}['_createView'](){const _0x4ac299=this['context'],_0x90905c=new PresenceListView(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0x55f68a=this['balloonPanelView'];if(!isElement$2(_0x4ac299['config']['get']('presenceList.container')))throw new ckeditor5['CKEditorError']('presencelist-missing-container',this);return _0x90905c['counterView']['bind']('usersCount')['to'](this),_0x90905c['bind']('isCollapsed')['to'](this,'usersCount',_0x4e3991=>{const {collapseAt:_0x1149f9}=_0x4ac299['config']['get']('presenceList'),_0x3ac4a4=_0x4e3991>=_0x1149f9;if(_0x3ac4a4&&!_0x90905c['inlineListView']['items']['find'](_0x31a97=>_0x31a97 instanceof PresenceCounterView)){const _0x5a959d=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0x5a959d&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0x90905c['inlineListView']['items']['add'](_0x90905c['counterView']);}return _0x3ac4a4||this['hideDropdown'](),_0x3ac4a4;}),_0x90905c['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x126559=>{const _0x5e06f2=_0x4ac299['config']['get']('presenceList'),_0x1b1b86=new PresenceInlineListItemView(_0x4ac299['locale'],_0x126559,!!_0x5e06f2['onClick']);return _0x1b1b86['bind']('hasTooltip')['to'](_0x90905c,'isCollapsed',_0x2f68c6=>!_0x2f68c6),_0x1b1b86['bind']('isFocusable')['to'](_0x90905c,'isCollapsed',_0x38f760=>!_0x38f760),_0x5e06f2['onClick']&&this['listenTo'](_0x1b1b86,'execute',()=>{this['view']['isCollapsed']||_0x5e06f2['onClick'](_0x126559,_0x1b1b86['element']);}),_0x1b1b86;}),this['listenTo'](_0x90905c['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0x90905c['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0x90905c['inlineListView']['keystrokes']['set']('Enter',(_0x20092a,_0x1c5c3e)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x1c5c3e());}),_0x90905c['render'](),_0x55f68a['render'](),ckeditor5['clickOutsideHandler']({'emitter':_0x90905c,'activator':()=>_0x55f68a['isVisible'],'contextElements':[_0x55f68a['element'],_0x90905c['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x4ac299['config']['get']('presenceList.container')['appendChild'](_0x90905c['element']),this['_bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0x90905c;}['_handleUserAdd'](_0x300cbc){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x300cbc['isMe'])return;const _0x2ed6af=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x2ed6af-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0x3a9a97=_0x300cbc['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x300cbc,_0x3a9a97);}['_handleUserRemove'](_0xa9a614){this['usersCount']--;const {collapseAt:_0x2eac63}=this['context']['config']['get']('presenceList'),_0x4554b0=this['usersCount']>=_0x2eac63;if(this['currentDisplayedUsers']['get'](_0xa9a614['id']))this['currentDisplayedUsers']['remove'](_0xa9a614['id']);else{if(_0x4554b0&&this['currentDisplayedUsers']['length']+0x1===_0x2eac63-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0x4554b0?0x1:0x0)<this['usersCount']){for(const _0x38c4b5 of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0x38c4b5['id'])&&(this['currentDisplayedUsers']['add'](_0x38c4b5,Math['min'](this['currentDisplayedUsers']['length']-(_0x4554b0?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0x4554b0?0x1:0x0)===_0x2eac63-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0x5d5f93=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new PresenceDropdownListView(this['context']['locale'],!!_0x5d5f93['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0xfac66e}=this['presenceDropdownView'];_0xfac66e['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x4cae7d=>{if(!_0x5d5f93['displayMe']&&_0x4cae7d['isMe'])return null;const _0x3dff1b=new PresenceDropdownListItemView(this['context']['locale'],_0x4cae7d,!!_0x5d5f93['onClick']);return _0x5d5f93['onClick']&&this['listenTo'](_0x3dff1b,'execute',()=>{_0x5d5f93['onClick'](_0x4cae7d,_0x3dff1b['element']);}),_0x3dff1b;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0xfac66e['focus'](),_0xfac66e['checkIfScrollable']();const _0x4ceb99=(_0x2a0d9b,_0x342158)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x342158();};_0xfac66e['keystrokes']['set']('Esc',_0x4ceb99),_0xfac66e['keystrokes']['set']('Shift+Tab',_0x4ceb99),_0xfac66e['keystrokes']['set']('Tab',(_0x4e1ef6,_0xdff0d8)=>{focusNextElement(this['view']['element']),this['hideDropdown'](),_0xdff0d8();}),_0xfac66e['focusTracker']['add'](this['view']['element']),_0xfac66e['focusTracker']['on']('change:isFocused',(_0x208939,_0x58ad38,_0x2cc5ef)=>{_0x2cc5ef||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(_0x218bf2){const _0x3e8e3f=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0xeb345c=>_0xeb345c+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x197637=[...document['body']['querySelectorAll'](_0x3e8e3f)]['filter'](_0x3d7c23=>_0x3d7c23===document['activeElement']||_0x3d7c23['offsetWidth']+_0x3d7c23['offsetHeight']>0x0)['sort']((_0x4f611b,_0x1b3774)=>(_0x4f611b['tabIndex']||0x0)-(_0x1b3774['tabIndex']||0x0)),_0x29e8af=_0x197637['indexOf'](_0x218bf2),_0x391e6d=_0x197637[(_0x29e8af+0x1)%_0x197637['length']];_0x391e6d&&_0x391e6d['focus']();}class PresenceList extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x3dd12d,PresenceListUI];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x4383e2 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x48f460){super(),this['id']=_0x48f460['id']||ckeditor5['uid'](),this['creator']=_0x48f460['creator']||null,this['authors']=_0x48f460['authors']||[],this['diffData']=_0x48f460['diffData']||null,this['toVersion']=_0x48f460['toVersion']||0x0,this['fromVersion']=_0x48f460['fromVersion']||0x0,this['set']('name',_0x48f460['name']||''),this['set']('createdAt',_0x48f460['createdAt']||new Date()),this['set']('attributes',_0x48f460['attributes']||{});}['setName'](_0x267d22){this['_update']({'name':_0x267d22});}['setAttribute'](_0x45b90c,_0x45e1fc){const _0x14a5e9=_0xf3eb06(this['attributes']);set(_0x14a5e9,_0x45b90c,_0x45e1fc),this['_update']({'attributes':_0x14a5e9});}['removeAttribute'](_0x4bb77b){const _0x5b73ca=_0xf3eb06(this['attributes']);unset(_0x5b73ca,_0x4bb77b),this['_update']({'attributes':_0x5b73ca});}['_update'](_0x4868df,_0x44f96a=!0x1){let _0x40352d=!0x1;const _0x272057={'id':this['id']},_0x22cb83=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x2a0f0d of _0x22cb83){const _0x2094a2=_0x4868df[_0x2a0f0d];void 0x0!==_0x2094a2&&_0x2094a2!==this[_0x2a0f0d]&&(this[_0x2a0f0d]=_0x2094a2,_0x272057[_0x2a0f0d]=_0x2094a2,_0x40352d=!0x0);}_0x40352d&&(_0x272057['authors']&&(_0x272057['authorsIds']=_0x272057['authors']['map'](_0x4505c9=>_0x4505c9['id']),delete _0x272057['authors']),this['fire']('_update',_0x272057,_0x44f96a));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x358bc4=>_0x358bc4['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[_0xd5bff4];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x592d5e){super(_0x592d5e),this['_revisions']=new ckeditor5['Collection']();}['afterInit'](){_0x2ad9dc(this);}['createRevision'](_0x5db761){const _0x32b539=this['editor']['plugins']['get']('Users');return new _0x4383e2({'id':_0x5db761['id'],'name':_0x5db761['name'],'creator':_0x5db761['creatorId']?_0x32b539['getUser'](_0x5db761['creatorId']):null,'diffData':_0x5db761['diffData']||_0x5db761['data'],'authors':_0x5db761['authorsIds']['map'](_0x2fee0d=>_0x32b539['getUser'](_0x2fee0d)),'createdAt':new Date(_0x5db761['createdAt']),'attributes':_0x5db761['attributes'],'fromVersion':_0x5db761['fromVersion'],'toVersion':_0x5db761['toVersion']});}['addRevision'](_0x1bbbde,_0xf3961b=0x0){this['_revisions']['add'](_0x1bbbde,_0xf3961b);}['getRevision'](_0x1949de){return this['_revisions']['get'](_0x1949de);}['getRevisions'](_0x49a9c0={'toJSON':!0x1}){const _0x3ac6d0=Array['from'](this['_revisions']);return _0x3ac6d0['reverse'](),_0x49a9c0['toJSON']?_0x3ac6d0['map'](_0x59d54a=>_0x59d54a['toJSON']()):_0x3ac6d0;}['getIndex'](_0x162099){return this['_revisions']['getIndex'](_0x162099);}['getEarlierVisibleRevision'](_0x14bd70){const [,_0xa26b4]=this['getRevisionsIterator'](_0x14bd70,{'direction':'earlier'});return _0xa26b4;}['getLaterVisibleRevision'](_0x118d6e){const [,_0x3d5e36]=this['getRevisionsIterator'](_0x118d6e,{'direction':'later'});return _0x3d5e36;}['getRevisionsInDiff'](_0x20cdc9){const _0x3103a0=[];for(const _0x5c833c of this['getRevisionsIterator'](_0x20cdc9['newRevisionId']))if(_0x3103a0['push'](_0x5c833c),_0x5c833c['id']===_0x20cdc9['oldRevisionId'])break;return _0x3103a0;}*['getRevisionsIterator'](_0x19a5bd,{direction:_0x536dc7='earlier',filter:_0x48357d=()=>!0x0}={}){const _0x4e98b0='earlier'===_0x536dc7?0x1:-0x1;let _0x2d5952=this['_revisions']['get'](_0x19a5bd),_0x5c35e6=this['getIndex'](_0x2d5952);for(yield _0x2d5952;_0x2d5952;){if(_0x5c35e6+=_0x4e98b0,_0x2d5952=this['getRevision'](_0x5c35e6),!_0x2d5952)return;_0x48357d(_0x2d5952)&&(yield _0x2d5952);}}}async function _0x2ad9dc(_0x4cc20a){const _0x1578ed=_0x12b570([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]),_0x1bd103=0xeb829,_0x2baf34=window[_0x12b570([0x44,0x61,0x74,0x65])][_0x12b570([0x6e,0x6f,0x77])](),_0x4a7bb3=_0x4cc20a[_0x12b570([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x168fcf=new window[(_0x12b570([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6d311b=>{_0x4a7bb3[_0x12b570([0x6f,0x6e,0x63,0x65])](_0x12b570([0x72,0x65,0x61,0x64,0x79]),_0x6d311b);}),_0x3444d7={[_0x12b570([0x6b,0x74,0x79])]:_0x12b570([0x45,0x43]),[_0x12b570([0x75,0x73,0x65])]:_0x12b570([0x73,0x69,0x67]),[_0x12b570([0x63,0x72,0x76])]:_0x12b570([0x50,0x2d,0x32,0x35,0x36]),[_0x12b570([0x78])]:_0x12b570([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]),[_0x12b570([0x79])]:_0x12b570([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]),[_0x12b570([0x61,0x6c,0x67])]:_0x12b570([0x45,0x53,0x32,0x35,0x36])},_0xabcde5=_0x4a7bb3[_0x12b570([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x12b570([0x67,0x65,0x74])](_0x12b570([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2f8eb1=await(async function(){let _0x2deafb,_0x240fef=null,_0x309c5f=null;try{if(_0xabcde5==_0x12b570([0x47,0x50,0x4c]))return _0x12b570([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2deafb=(function(){const _0x27ee98=_0xabcde5[_0x12b570([0x73,0x70,0x6c,0x69,0x74])](_0x12b570([0x2e]));if(0x3!=_0x27ee98[_0x12b570([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x4bc2a9=_0x27ee98[0x1];return _0x2e5bf9(_0x4bc2a9);function _0x2e5bf9(_0x1ced3a){const _0x5d6bb5=_0x2de956(_0x1ced3a);return _0x5d6bb5&&_0x55f071()?_0x5d6bb5:null;function _0x55f071(){const _0x2bb90d=_0x5d6bb5[_0x12b570([0x6a,0x74,0x69])],_0x31423f=window[_0x12b570([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bb90d[_0x12b570([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2bb90d[_0x12b570([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x91b0f1={..._0x5d6bb5,[_0x12b570([0x6a,0x74,0x69])]:_0x2bb90d[_0x12b570([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2bb90d[_0x12b570([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x91b0f1[_0x12b570([0x76,0x63])],_0x543a32(_0x91b0f1)==_0x31423f;}}}()),!_0x2deafb)return _0x12b570([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x2deafb[_0x12b570([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x309c5f=function(_0x4024ab,_0x50af23){return new window[(_0x12b570([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2874b1=>{if(_0xc42678())return _0x2874b1(_0x12b570([0x56,0x61,0x6c,0x69,0x64]));_0x31633c(),_0x4a7bb3[_0x12b570([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x12b570([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x509c86=!0x1;const _0x5e4ad1=ckeditor5['uid']();function _0x5ba76b(_0x192658){return!!_0x192658&&(typeof _0x192658===_0x12b570([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x192658===_0x12b570([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x192658[_0x12b570([0x74,0x68,0x65,0x6e])]===_0x12b570([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x192658[_0x12b570([0x63,0x61,0x74,0x63,0x68])]===_0x12b570([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51dbba(_0x5d7b58){_0x167e1a(_0x5d7b58)[_0x12b570([0x74,0x68,0x65,0x6e])](_0x40e6d4=>{if(!_0x40e6d4||_0x40e6d4[_0x12b570([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x12b570([0x6f,0x6b]))return _0x12b570([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x53697a(_0x543a32(_0x5e4ad1+_0x50af23))!=_0x40e6d4[_0x12b570([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x12b570([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x12b570([0x56,0x61,0x6c,0x69,0x64]);})[_0x12b570([0x74,0x68,0x65,0x6e])](_0x1e52e3=>(_0x18e1c9(),_0x1e52e3),()=>{const _0x37d1aa=_0x32dfe1();return null==_0x37d1aa?(_0x18e1c9(),_0x12b570([0x56,0x61,0x6c,0x69,0x64])):_0x12b570(_0x2baf34-_0x37d1aa>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x12b570([0x74,0x68,0x65,0x6e])](_0x2874b1)[_0x12b570([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2874b1(_0x12b570([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x17a5f9=0x36ee80;function _0x18e1c9(){const _0x231aba=_0x12b570([0x6c,0x6c,0x63,0x74,0x2d])+_0x53697a(_0x543a32(_0x4024ab)),_0x35ae61=_0x1ec102(_0x53697a(window[_0x12b570([0x4d,0x61,0x74,0x68])][_0x12b570([0x63,0x65,0x69,0x6c])](_0x2baf34/_0x17a5f9)));window[_0x12b570([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12b570([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x231aba,_0x35ae61);}function _0x32dfe1(){const _0x1167e7=_0x12b570([0x6c,0x6c,0x63,0x74,0x2d])+_0x53697a(_0x543a32(_0x4024ab)),_0xa54ada=window[_0x12b570([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12b570([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1167e7);return _0xa54ada?window[_0x12b570([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ec102(_0xa54ada),0x10)*_0x17a5f9:null;}function _0x167e1a(_0x2f14b1){return new window[(_0x12b570([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x71675a,_0x1372a6)=>{_0x2f14b1[_0x12b570([0x74,0x68,0x65,0x6e])](_0x71675a,_0x1372a6),window[_0x12b570([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1372a6,0x1d4c0);});}}_0x4a7bb3[_0x12b570([0x6f,0x6e])](_0x12b570([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21d402,_0x8de7c0)=>{if(_0x8de7c0[0x0]!=_0x4024ab)return _0x2874b1(_0x12b570([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x8de7c0[0x1]={..._0x8de7c0[0x1],[_0x12b570([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e4ad1};},{[_0x12b570([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12b570([0x68,0x69,0x67,0x68])}),_0x4a7bb3[_0x12b570([0x6f,0x6e])](_0x12b570([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4cb7ec=>{_0x5ba76b(_0x4cb7ec[_0x12b570([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x509c86=!0x0,_0x51dbba(_0x4cb7ec[_0x12b570([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x12b570([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12b570([0x6c,0x6f,0x77])}),_0x168fcf[_0x12b570([0x74,0x68,0x65,0x6e])](()=>{_0x509c86||_0x2874b1(_0x12b570([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc42678(){return _0x4a7bb3[_0x12b570([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12b570([0x76,0x69,0x65,0x77])][_0x12b570([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x12b570([0x61,0x75,0x74,0x6f]);}function _0x31633c(){_0x4a7bb3[_0x12b570([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12b570([0x76,0x69,0x65,0x77])][_0x12b570([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x12b570([0x61,0x75,0x74,0x6f]);}}(_0x2deafb[_0x12b570([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2deafb[_0x12b570([0x6a,0x74,0x69])]));const _0x5ce8e0=await(async function(){let _0x35425a=!0x0;try{const _0x52008f=_0xabcde5[_0x12b570([0x73,0x70,0x6c,0x69,0x74])](_0x12b570([0x2e])),[_0x4effae,_0x2d757c,_0x478c76]=_0x52008f;return _0x11b768(_0x4effae),await _0x5b3038(_0x4effae,_0x2d757c,_0x478c76),_0x35425a;}catch{return!0x1;}function _0x11b768(_0x5ae253){const _0x511e26=_0x2de956(_0x5ae253);_0x511e26&&_0x511e26[_0x12b570([0x61,0x6c,0x67])]==_0x12b570([0x45,0x53,0x32,0x35,0x36])||(_0x35425a=!0x1);}async function _0x5b3038(_0x203736,_0x4b4da9,_0x469bd5){const _0x2876dc=window[_0x12b570([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x12b570([0x66,0x72,0x6f,0x6d])](_0x84d32d(_0x469bd5),_0x5e52cf=>_0x5e52cf[_0x12b570([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x46d2c2=new window[(_0x12b570([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x12b570([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x203736+_0x12b570([0x2e])+_0x4b4da9),_0x14706f=window[_0x12b570([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x12b570([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x14706f)return;const _0x2c74f5=await _0x14706f[_0x12b570([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x12b570([0x6a,0x77,0x6b]),_0x3444d7,{[_0x12b570([0x6e,0x61,0x6d,0x65])]:_0x12b570([0x45,0x43,0x44,0x53,0x41]),[_0x12b570([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x12b570([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x12b570([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x14706f[_0x12b570([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x12b570([0x6e,0x61,0x6d,0x65])]:_0x12b570([0x45,0x43,0x44,0x53,0x41]),[_0x12b570([0x68,0x61,0x73,0x68])]:{[_0x12b570([0x6e,0x61,0x6d,0x65])]:_0x12b570([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2c74f5,_0x2876dc,_0x46d2c2)||(_0x35425a=!0x1);}}());return _0x5ce8e0?(function(){const _0x144712=_0x2deafb[_0x12b570([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x144712)return!0x1;if(_0x144712[_0x12b570([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12b570([0x2a])))return!0x0;if(_0x144712[_0x12b570([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12b570([0x52,0x48])))return!0x0;if(_0x144712[_0x12b570([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12b570([0x52,0x52,0x48]))){if(_0x347e62(_0x12b570([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1af286(_0x12b570([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x12b570([0x73,0x74,0x61,0x74,0x65])]==_0x12b570([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x347e62(_0x12b570([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]))||_0x347e62(_0x12b570([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 _0x297843=[_0x12b570([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x12b570([0x74,0x72,0x69,0x61,0x6c])][_0x12b570([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2deafb[_0x12b570([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2baf34/0x3e8:0x69e02680;return _0x2deafb[_0x12b570([0x65,0x78,0x70])]<_0x297843;}())?_0x12b570([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x2c240f=_0x2deafb[_0x12b570([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2c240f||0x0==_0x2c240f[_0x12b570([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x13789c}=new URL(window[_0x12b570([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2c240f[_0x12b570([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13789c))return!0x0;const _0x302501=_0x13789c[_0x12b570([0x73,0x70,0x6c,0x69,0x74])](_0x12b570([0x2e]));return _0x2c240f[_0x12b570([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c99cf=>_0x4c99cf[_0x12b570([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12b570([0x2a])))[_0x12b570([0x6d,0x61,0x70])](_0x1ea00e=>_0x1ea00e[_0x12b570([0x73,0x70,0x6c,0x69,0x74])](_0x12b570([0x2e])))[_0x12b570([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a3c4e=>_0x2a3c4e[_0x12b570([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x302501[_0x12b570([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12b570([0x6d,0x61,0x70])](_0x17a36c=>Array(_0x302501[_0x12b570([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x17a36c[_0x12b570([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12b570([0x66,0x69,0x6c,0x6c])](_0x17a36c[0x0]===_0x12b570([0x2a])?_0x12b570([0x2a]):'')[_0x12b570([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x17a36c))[_0x12b570([0x73,0x6f,0x6d,0x65])](_0x45aa72=>_0x302501[_0x12b570([0x65,0x76,0x65,0x72,0x79])]((_0x597943,_0x547384)=>_0x45aa72[_0x547384]===_0x597943||_0x45aa72[_0x547384]===_0x12b570([0x2a])));}())?(_0x2deafb[_0x12b570([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12b570([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x240fef=function(_0x1303bb){const _0x30ad1c=new window[(_0x12b570([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50b449=>setTimeout(_0x50b449,0x93ecc)),_0x1f6876=_0x168fcf[_0x12b570([0x74,0x68,0x65,0x6e])](()=>new window[(_0x12b570([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16ca36=>{const _0x4e92b9=0x7,_0x7f37f3=_0x4cc20a[_0x12b570([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x59c6e6(){_0x7f37f3[_0x12b570([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4e92b9&&_0x16ca36();}_0x59c6e6(),_0x7f37f3[_0x12b570([0x6f,0x6e])](_0x12b570([0x61,0x64,0x64]),_0x59c6e6);})),_0x2ae7a3=new window[(_0x12b570([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x262560=>{function _0x497e2d(){for(const _0x1c8473 in window)if(window[_0x12b570([0x4e,0x75,0x6d,0x62,0x65,0x72])]['isNaN'](window[_0x12b570([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0x1c8473))&&window[_0x1c8473]==_0x1bd103)return _0x262560();_0x4a7bb3[_0x12b570([0x73,0x74,0x61,0x74,0x65])]!=_0x12b570([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x12b570([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x497e2d,0x1388);}_0x347e62(_0x12b570([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x497e2d();}),_0x5eb6d8=[_0x30ad1c,_0x1f6876,_0x2ae7a3];return window[_0x12b570([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x12b570([0x72,0x61,0x63,0x65])](_0x5eb6d8)[_0x12b570([0x74,0x68,0x65,0x6e])](()=>_0x1303bb);}(_0x12b570([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x240fef&&_0x309c5f)return new window[(_0x12b570([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x199ea1,_0x109ae1)=>{_0x240fef[_0x12b570([0x74,0x68,0x65,0x6e])](_0x199ea1,_0x109ae1),_0x309c5f[_0x12b570([0x74,0x68,0x65,0x6e])](_0x37228c=>{_0x37228c!=_0x12b570([0x56,0x61,0x6c,0x69,0x64])&&_0x199ea1(_0x37228c);},_0x109ae1);});return _0x240fef||_0x309c5f||_0x12b570([0x56,0x61,0x6c,0x69,0x64]);}())):_0x12b570([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x12b570([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x12b570([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x12b570([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x206331(){const _0x2f4ca3=window[_0x12b570([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x12b570([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x12b570([0x6e,0x6f,0x77])]())[_0x12b570([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x12b570([0x2e]),'');let _0x28afda=_0x12b570([0x76]);for(let _0x5042aa=0x0;_0x5042aa<_0x2f4ca3[_0x12b570([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5042aa+=0x2){let _0x421340=window[_0x12b570([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f4ca3[_0x12b570([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5042aa,_0x5042aa+0x2));_0x421340>=_0x1578ed[_0x12b570([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x421340-=_0x1578ed[_0x12b570([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x28afda+=_0x1578ed[_0x421340];}return _0x28afda;}function _0x2de956(_0x26aca4){return _0x26aca4[_0x12b570([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x12b570([0x65,0x79]))?JSON[_0x12b570([0x70,0x61,0x72,0x73,0x65])](_0x84d32d(_0x26aca4)):null;}function _0x84d32d(_0x2fabc3){return window[_0x12b570([0x61,0x74,0x6f,0x62])](_0x2fabc3[_0x12b570([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x12b570([0x2b]))[_0x12b570([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x12b570([0x2f])));}function _0x543a32(_0x325b5f){let _0x30e7f1=0x1505;function _0x11f62f(_0x3e3c1d){for(let _0x19c1e3=0x0;_0x19c1e3<_0x3e3c1d[_0x12b570([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19c1e3++){const _0x492399=_0x3e3c1d[_0x12b570([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19c1e3);_0x30e7f1=(_0x30e7f1<<0x5)+_0x30e7f1+_0x492399,_0x30e7f1&=_0x30e7f1;}}return function _0xd772c8(_0x4a7466){Array[_0x12b570([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a7466)?_0x4a7466[_0x12b570([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd772c8):_0x4a7466&&typeof _0x4a7466==_0x12b570([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x12b570([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a7466)[_0x12b570([0x73,0x6f,0x72,0x74])]()[_0x12b570([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x281816,_0xa8098e])=>{_0x11f62f(_0x281816),_0xd772c8(_0xa8098e);}):_0x11f62f(window[_0x12b570([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a7466));}(_0x325b5f),_0x30e7f1>>>0x0;}function _0x53697a(_0x1b0e74){return _0x1b0e74[_0x12b570([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x12b570([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x12b570([0x30]));}function _0x1ec102(_0x1adb80){return _0x1adb80[_0x12b570([0x73,0x70,0x6c,0x69,0x74])]('')[_0x12b570([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x12b570([0x6a,0x6f,0x69,0x6e])]('');}function _0x347e62(_0x154579){return _0x4a7bb3[_0x12b570([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x12b570([0x68,0x61,0x73])](_0x154579);}function _0x1af286(_0x17cd91){return _0x4a7bb3[_0x12b570([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x12b570([0x67,0x65,0x74])](_0x17cd91);}function _0x552fdc(){}function _0x12b570(_0x3d70ec){return _0x3d70ec['map'](_0x1947ae=>String['fromCharCode'](_0x1947ae))['join']('');}!function(_0x1728b2){const _0x33adfa=_0x206331();_0x4a7bb3[_0x33adfa]=_0x12b570([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])+_0x1728b2,_0x1728b2[_0x12b570([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x12b570([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x206331()]=_0x1bd103),_0x1728b2!=_0x12b570([0x56,0x61,0x6c,0x69,0x64])&&(async function(){if(await _0x168fcf,_0x347e62(_0x12b570([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0xb833b3=_0x4cc20a[_0x12b570([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0x468e7c=_0x4cc20a[_0x12b570([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])](_0xb833b3[_0x12b570([0x69,0x64])]),_0x4c2fc9=_0x1af286(_0x12b570([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x4c2fc9[_0x12b570([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0xb833b3['id'],_0x468e7c?_0x468e7c['id']:null,!0x0),_0x4c2fc9[_0x12b570([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x12b570([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4c2fc9[_0x12b570([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4c2fc9[_0x12b570([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x552fdc,void(_0x4c2fc9[_0x12b570([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x552fdc);}if(_0x347e62(_0x12b570([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x18f4fa=_0x1af286(_0x12b570([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x18f4fa[_0x12b570([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x12b570([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x18f4fa[_0x12b570([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x18f4fa[_0x12b570([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x552fdc,_0x18f4fa[_0x12b570([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x552fdc;}_0x4a7bb3[_0x12b570([0x6d,0x6f,0x64,0x65,0x6c])][_0x12b570([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x552fdc,_0x4a7bb3[_0x12b570([0x6d,0x6f,0x64,0x65,0x6c])][_0x12b570([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x552fdc,_0x4a7bb3[_0x12b570([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12b570([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x2f8eb1);}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'](_0x4f608b,_0x552699){if(_0x4f608b['diffData']||!_0x552699)return;const _0xc25098=this['editor']['config']['get']('collaboration.channelId'),_0x753e0a=await _0x552699['getRevision']({'channelId':_0xc25098,'revisionId':_0x4f608b['id']});_0x4f608b['diffData']=_0x753e0a['diffData'];}['getRevisionDocumentData'](_0x5a01b0){const _0x264f19={};for(const _0x348762 in _0x5a01b0['diffData']){if(_0x5a01b0['diffData'][_0x348762]['attachChange']&&!_0x5a01b0['diffData'][_0x348762]['attachChange']['isAttached'])continue;const _0x2b392a=this['_removeRevisionMarkers'](JSON['parse'](_0x5a01b0['diffData'][_0x348762]['insertions'])),_0xc8e1f9=this['editor']['editing']['view']['document'],_0x24d341=new ckeditor5['ViewDocumentFragment'](_0xc8e1f9,_0x2b392a['map'](_0x241a7d=>this['_getViewFromDiffObj'](_0x241a7d,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x264f19[_0x348762]=this['editor']['data']['processor']['toData'](_0x24d341),this['editor']['data']['processor']['useFillerType']('default');}return _0x264f19;}['getRevisionRootsAttributes'](_0x526e04){const _0x39d744={};for(const _0x274210 in _0x526e04['diffData'])_0x526e04['diffData'][_0x274210]['attachChange']&&!_0x526e04['diffData'][_0x274210]['attachChange']['isAttached']||(_0x39d744[_0x274210]=_0x526e04['diffData'][_0x274210]['attributesAfter']||{});return _0x39d744;}['_getTypeCharForViewElement'](_0xb1195a){return this['_viewClassToTypeChar']['get'](_0xb1195a['constructor']);}['_getViewFromDiffObj'](_0x50c6ed,_0x45153b){const _0x1c7a4e=this['editor']['editing']['view']['document'];if('string'==typeof _0x50c6ed)return new ckeditor5['ViewText'](_0x1c7a4e,_0x50c6ed);{let _0x314a2a,_0x68a435;_0x68a435='u'==_0x50c6ed['type']||'r'==_0x50c6ed['type']?[]:_0x50c6ed['children']['map'](_0x482d2e=>this['_getViewFromDiffObj'](_0x482d2e,_0x45153b));const _0x52c717=this['_typeCharToViewClass']['get'](_0x50c6ed['type'])||ckeditor5['ViewElement'],_0x41e1c0=this['editor']['data']['htmlProcessor']['domConverter'];if(_0x314a2a=new _0x52c717(_0x1c7a4e,_0x50c6ed['name'],_0x50c6ed['attributes'],_0x68a435),'u'==_0x50c6ed['type']&&_0x50c6ed['children'][0x0]){const _0x4b098c=_0x50c6ed['children'][0x0];if(_0x314a2a['render']=function(_0x762823){const _0x1b1c90=_0x762823['createElement']('div');return _0x1b1c90['innerHTML']=_0x4b098c,_0x1b1c90['childNodes'][0x0];},_0x45153b){const _0x2737e7=new ckeditor5['ViewDocumentFragment'](_0x1c7a4e);_0x2737e7['_appendChild'](_0x314a2a);const _0x55f2b3=Array['from'](_0x41e1c0['viewChildrenToDom'](_0x2737e7,{'bind':!0x1})),_0x353c9d=_0x41e1c0['domDocument']['createElement']('div');_0x353c9d['append'](..._0x55f2b3),_0x314a2a=Array['from'](_0x41e1c0['domChildrenToView'](_0x353c9d))[0x0];}}else{if('r'==_0x50c6ed['type']&&_0x50c6ed['children'][0x0]){const _0x36fba9=_0x50c6ed['children'][0x0];if(_0x314a2a['render']=function(_0x3dee63){_0x3dee63['innerHTML']=_0x36fba9;},_0x45153b){const _0x465031=new ckeditor5['ViewDocumentFragment'](_0x1c7a4e);_0x465031['_appendChild'](_0x314a2a);const _0x819b12=Array['from'](_0x41e1c0['viewChildrenToDom'](_0x465031,{'bind':!0x1})),_0x49b1ff=_0x41e1c0['domDocument']['createElement']('div');_0x49b1ff['append'](..._0x819b12);const _0x14f7a3=Array['from'](_0x41e1c0['domChildrenToView'](_0x49b1ff));_0x14f7a3['length']>0x1?_0x314a2a['_appendChild'](_0x14f7a3):_0x314a2a=_0x14f7a3[0x0];}}}if(_0x50c6ed['customProperties']){for(const [_0x25db30,_0x374cf7]of _0x50c6ed['customProperties'])_0x314a2a['_setCustomProperty'](_0x25db30,_0x374cf7);}const _0x2c7587=void 0x0===_0x50c6ed['fillerOffset']?null:_0x50c6ed['fillerOffset'];return null!==_0x2c7587&&(_0x314a2a['getFillerOffset']=()=>_0x2c7587),_0x314a2a;}}['_makeModelFromViewString'](_0x93986f){const _0x4c87b4=JSON['parse'](_0x93986f),_0x4f6923=this['editor']['editing']['view']['document'],_0x33a7be=new ckeditor5['ViewDocumentFragment'](_0x4f6923,_0x4c87b4['map'](_0x3ba6b7=>this['_getViewFromDiffObj'](_0x3ba6b7,!0x0)));return this['editor']['data']['toModel'](_0x33a7be);}['_removeRevisionMarkers'](_0x1d0d89){return(_0x1d0d89=_0x1d0d89['filter'](_0x49b15b=>!_0x49b15b['name']||'revision-start'!==_0x49b15b['name']&&'revision-end'!==_0x49b15b['name']))['forEach'](_0x154289=>{'string'!=typeof _0x154289&&(_0x154289['children']=this['_removeRevisionMarkers'](_0x154289['children']),_0x154289['attributes']=_0x154289['attributes']['filter'](_0x136e19=>!_0x136e19[0x0]['startsWith']('data-revision-')));}),_0x1d0d89;}}function getTranslation$5(_0x41ff90,_0x54c23b,_0x172a1c){const t=_0x41ff90['t'];switch(_0x54c23b){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'},_0x172a1c);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x172a1c);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 _0x6e161d 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[_0xd5bff4,RevisionsRepository,RevisionHistoryUtils,ckeditor5['PendingActions']];}constructor(_0x3993b7){super(_0x3993b7),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 _0x376bc7=ckeditor5['uid']();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x376bc7},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 _0x35e3b4=this['repository']['getRevision'](0x0),_0x53b1b3=_0x35e3b4&&null===_0x35e3b4['creator']?_0x35e3b4:null;if(this['_continueCurrentRevision']=!!_0x53b1b3&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0xa4ba56=this['_source']['getCurrentRevisionId'](),_0x220b0d=this['repository']['getRevision'](_0xa4ba56);if(_0x220b0d)this['_startingVersion']=_0x220b0d['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1d615f=this['_source']['history']['_operations']['find'](_0x2b68f1=>!_0x2b68f1['_isInit']),_0x108321=_0x1d615f?_0x1d615f['baseVersion']:this['_source']['history']['version'];_0x35e3b4?(_0x35e3b4['toVersion']<_0x108321&&_0x35e3b4['_update']({'toVersion':_0x108321}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x53b1b3['id'],this['_startingVersion']=_0x53b1b3['fromVersion']):(this['_startingVersion']=_0x35e3b4['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x108321,this['_continueCurrentRevision']=!0x1);}}else _0x53b1b3&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x53b1b3['toVersion'],this['editor']['model']['document']['history']['version']),_0x53b1b3['fromVersion']===_0x53b1b3['toVersion']?(0x0!==_0x53b1b3['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x53b1b3['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x53b1b3['id'],this['_startingVersion']=_0x53b1b3['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',_0x3e410c=>!_0x3e410c),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x279fe4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x459d66;for(const _0x4a6e82 in _0x279fe4){const _0x2b58f0=_0x4a6e82,_0x1e82fd=_0x279fe4[_0x2b58f0];if('revisionHistoryLicenseKeyValid'==_0x1e82fd||'revisionHistoryLicenseKeyInvalid'==_0x1e82fd||'revisionHistoryLicenseKeyExpired'==_0x1e82fd||'revisionHistoryLicenseKeyDomainLimit'==_0x1e82fd||'revisionHistoryLicenseKeyNotAllowed'==_0x1e82fd||'revisionHistoryLicenseKeyEvaluationLimit'==_0x1e82fd||'revisionHistoryLicenseKeyUsageLimit'==_0x1e82fd){delete _0x279fe4[_0x2b58f0],_0x459d66=_0x1e82fd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x459d66&&_0x279fe4['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x459d66&&_0x279fe4['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x459d66&&_0x279fe4['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x459d66&&_0x279fe4['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x459d66&&_0x279fe4['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x459d66&&_0x279fe4['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x145d5a=this['repository']['getRevision'](0x0),_0x5aecf8=await this['getRevisionDocumentData'](_0x145d5a),_0x86f79b=await this['getRevisionRootsAttributes'](_0x145d5a);this['_replaceEditorDataWithRevisionData'](_0x5aecf8,_0x86f79b);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x58783f){this['_source']=_0x58783f;}async['update'](){const _0x515014=await this['_source']['getLatestVersion']();if(_0x515014>this['currentRevision']['toVersion']){await this['_loadState']();const _0x1c26b7=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x515014});_0x1c26b7['authors']=_0x1c26b7['authorsIds']['map'](_0x10a56b=>this['editor']['plugins']['get']('Users')['getUser'](_0x10a56b)),this['currentRevision']['_update'](_0x1c26b7);}}async['saveRevision'](_0x4d41ed={},_0x383377=null){const _0x250903=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x383377>this['currentRevision']['toVersion']&&(_0x383377=null),null===_0x383377&&(_0x383377=await this['_source']['getLatestVersion']());const _0x23b29f=this['_getFromVersion'](_0x383377),_0x26d026=this['buildRevisionData']({'from':_0x23b29f,'to':_0x383377});if(this['currentRevision']['toVersion']<_0x383377){const _0x2cdc3f=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x383377,'to':_0x383377});_0x2cdc3f['authors']=[],_0x2cdc3f['authorsIds']=[],_0x2cdc3f['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x2cdc3f,!0x0),delete _0x2cdc3f['authors'],_0x250903['push'](_0x2cdc3f);}_0x4d41ed['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4d41ed['name']=_0x4d41ed['name']||null,_0x4d41ed['id']=_0x4d41ed['id']||ckeditor5['uid'](),_0x4d41ed={..._0x4d41ed,..._0x26d026};const _0x723fb=this['addRevisionData'](_0x4d41ed);_0x250903['push'](_0x4d41ed);const _0x218f59=this['repository']['getIndex'](_0x723fb);if(0x0!==_0x218f59){const _0x3574aa=this['repository']['getRevision'](_0x218f59-0x1);if(_0x3574aa['fromVersion']!==_0x383377){const _0x19b3e2=this['_revisionDataBuilder']['getData'](_0x383377,_0x3574aa['toVersion']),_0x1deeff={'id':_0x3574aa['id'],'diffData':_0x19b3e2['diffData'],'authorsIds':_0x19b3e2['authorsIds'],'authors':_0x19b3e2['authorsIds']['map'](_0x802229=>this['editor']['plugins']['get']('Users')['getUser'](_0x802229)),'fromVersion':_0x383377};_0x3574aa===this['currentRevision']&&(_0x1deeff['createdAt']=new Date(_0x4d41ed['createdAt']['getTime']()+0xa)),_0x3574aa['_update'](_0x1deeff,!0x0),delete _0x1deeff['authors'],_0x250903['push'](_0x1deeff);}}if(this['adapter']){for(const _0x5e0cf of _0x250903)this['_bufferUpdate'](_0x5e0cf['id'],_0x5e0cf,!0x0);this['sendBufferedUpdates']();}return _0x723fb;}['addRevisionData'](_0x154dbc){const _0x3e71de=this['repository']['createRevision'](_0x154dbc);return this['adapter']&&_0x3e71de['on']('_update',(_0x1f3bc6,_0x2ef3e2,_0xb8c4f6)=>{_0xb8c4f6||(this['_bufferUpdate'](_0x2ef3e2['id'],_0x2ef3e2,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x3e71de,this['_findInsertionIndex'](_0x3e71de)),_0x3e71de;}async['getRevisionDocumentData'](_0x2877b7){return await this['_utils']['loadRevisionData'](_0x2877b7,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x2877b7);}async['getRevisionRootsAttributes'](_0x214490){return await this['_utils']['loadRevisionData'](_0x214490,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x214490);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x115a27=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0xc03e6e=0x0;_0xc03e6e<_0x115a27['length'];_0xc03e6e++){const _0x23c534=_0x115a27[_0xc03e6e];let _0x556d8b=!0x1;for(const _0x3cd03f of Object['keys'](_0x23c534))void 0x0===_0x23c534[_0x3cd03f]?delete _0x23c534[_0x3cd03f]:'id'!==_0x3cd03f&&(_0x556d8b=!0x0);_0x556d8b||(_0x115a27[_0xc03e6e]=null);}if(_0x115a27=_0x115a27['filter'](_0x1029be=>null!==_0x1029be),!_0x115a27['length'])return;for(let _0xe1ca20=0x0;_0xe1ca20<_0x115a27['length'];_0xe1ca20++){const _0x13f7c2=_0x115a27[_0xe1ca20];void 0x0!==_0x13f7c2['fromVersion']&&void 0x0===_0x13f7c2['toVersion']&&(_0x13f7c2['toVersion']=this['repository']['getRevision'](_0x13f7c2['id'])['toVersion']),void 0x0!==_0x13f7c2['toVersion']&&void 0x0===_0x13f7c2['fromVersion']&&(_0x13f7c2['fromVersion']=this['repository']['getRevision'](_0x13f7c2['id'])['fromVersion']);}const _0x4ec0be=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x115a27,_0x4ec0be)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x411b57=>{if(_0x411b57){for(const _0x418844 of _0x411b57)this['setRevisionData']({'id':_0x418844['id'],'createdAt':_0x418844['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x1f760f=null,from:_0x203d32=null,to:_0x1cf1e0=null}){_0x203d32=null!==_0x203d32?_0x203d32:_0x1f760f['fromVersion'],_0x1cf1e0=null!==_0x1cf1e0?_0x1cf1e0:_0x1f760f['toVersion'];const _0x549419=this['_revisionDataBuilder']['getData'](_0x203d32,_0x1cf1e0),_0x4581b3={'diffData':_0x549419['diffData'],'authorsIds':_0x549419['authorsIds'],'fromVersion':_0x203d32,'toVersion':_0x1cf1e0};if(!_0x1f760f||_0x1cf1e0!==_0x1f760f['toVersion']){const _0x44e95b=_0x1cf1e0-0x1,_0xfa7858=this['_source']['history']['getOperation'](_0x44e95b);_0x4581b3['createdAt']=_0xfa7858&&_0xfa7858['createdAt']||new Date();}if(this['_loadedStateData']&&_0x203d32===this['_loadedStateData']['fromVersion']){for(const _0x2b3487 of this['_loadedStateData']['authors'])_0x4581b3['authorsIds']['includes'](_0x2b3487['id'])||_0x4581b3['authorsIds']['push'](_0x2b3487['id']);}return _0x4581b3;}['_bufferUpdate'](_0x1e9a75,_0x29ea57,_0x29fe17){if(this['_bufferedUpdates']['has'](_0x1e9a75)){const _0x124faf=this['_bufferedUpdates']['get'](_0x1e9a75);_0x29ea57=_0x29fe17?{..._0x124faf,..._0x29ea57}:{..._0x29ea57,..._0x124faf};}this['_bufferedUpdates']['set'](_0x1e9a75,_0x29ea57);}['setRevisionData'](_0x8b5948){const _0x25e933=this['repository']['getRevision'](_0x8b5948['id']);if(_0x8b5948['createdAt']&&(_0x8b5948['createdAt']=new Date(_0x8b5948['createdAt'])),_0x8b5948['authorsIds']){const _0x3479a4=this['editor']['plugins']['get']('Users');_0x8b5948['authors']=_0x8b5948['authorsIds']['map'](_0x1b3316=>_0x3479a4['getUser'](_0x1b3316));}_0x25e933['_update'](_0x8b5948,!0x0);}['_createInitialRevision'](_0x15e8e0){const _0x1081c0=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x1081c0)this['_initialRevisionId']=_0x1081c0['id'];else{const _0x4cc536=!this['editor']['model']['document']['roots']['find'](_0xd2b774=>this['editor']['model']['hasContent'](_0xd2b774)),_0x247981=this['editor']['plugins']['get']('Users')['me']['id'],_0x454dfd=getTranslation$5(this['editor']['locale'],_0x4cc536?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x15e8e0,'to':_0x15e8e0,'id':this['_initialRevisionId'],'name':_0x454dfd,'creatorId':_0x247981});}}['_createCurrentRevision'](_0x172abe){const _0x51f83e=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x51f83e),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x172abe,'to':_0x172abe,'id':_0x51f83e,'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'](_0x55fe70,_0x546593){let _0x5ad3ae=this['editor']['config']['get']('initialData'),_0x2d21cb=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x5ad3ae){_0x5ad3ae={};for(const _0x3e102c of this['editor']['model']['document']['getRootNames']())_0x5ad3ae[_0x3e102c]='';}if('string'==typeof _0x5ad3ae&&(_0x5ad3ae={'main':_0x5ad3ae}),void 0x0===_0x2d21cb){_0x2d21cb={};for(const _0x163bc0 of this['editor']['model']['document']['getRootNames']())_0x2d21cb[_0x163bc0]={};}let _0x37f384=!0x1;const _0x53d92e=Object['keys'](_0x5ad3ae),_0x3a8863=Object['keys'](_0x55fe70);for(const _0x36eb2e of _0x53d92e){if(_0x5ad3ae[_0x36eb2e]!==_0x55fe70[_0x36eb2e]&&''!==_0x5ad3ae[_0x36eb2e]['trim']()){_0x37f384=!0x0;break;}if(!_0x1df005(_0x2d21cb[_0x36eb2e],_0x546593[_0x36eb2e])&&Object['keys'](_0x2d21cb[_0x36eb2e])['length']>0x0){_0x37f384=!0x0;break;}}_0x37f384||(_0x37f384=_0x3a8863['some'](_0x1c4dd8=>!this['editor']['model']['document']['getRoot'](_0x1c4dd8))),_0x37f384&&ckeditor5['logWarning']('editor-initial-data-replaced-with-revision-data',{'editorData':_0x5ad3ae,'editorRootsAttributes':_0x2d21cb,'revisionData':_0x55fe70,'revisionRootsAttributes':_0x546593}),this['editor']['config']['set']('initialData',_0x55fe70),this['editor']['config']['set']('rootsAttributes',_0x546593);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x2be726=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x2be726['add'](getTranslation$5(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x20a97f){const _0xe9fe57=this['repository']['getRevisions']();_0xe9fe57['reverse']();let _0x27bab8=0x0;for(;_0x27bab8<_0xe9fe57['length'];){const _0x5dbf2e=_0xe9fe57[_0x27bab8];if(_0x5dbf2e===this['currentRevision']){_0x27bab8++;continue;}if(_0x5dbf2e['id']===this['_initialRevisionId'])break;const _0x41239f=_0x20a97f['toVersion']-_0x5dbf2e['toVersion']||_0x20a97f['fromVersion']-_0x5dbf2e['fromVersion'];if(_0x41239f>0x0)break;if(_0x41239f<0x0)_0x27bab8++;else{if(!_0x20a97f['creator']&&_0x5dbf2e['creator'])break;if(_0x5dbf2e['creator']||!_0x20a97f['creator']){if(_0x20a97f['createdAt']>_0x5dbf2e['createdAt'])break;_0x27bab8++;}else _0x27bab8++;}}return _0x27bab8;}['_getFromVersion'](_0x383b8a){const _0x77d1f5=this['repository']['getRevisions']();_0x77d1f5['reverse'](),_0x77d1f5['shift']();const _0x3bf19d=_0x77d1f5['find'](_0x56a866=>_0x56a866['toVersion']<=_0x383b8a)['toVersion'];return _0x3bf19d<this['_startingVersion']?this['_startingVersion']:_0x3bf19d;}['_makeRevision']({name:_0x15e435,from:_0x9d4826,to:_0x58eeab,creatorId:_0x2c3bff,id:_0x3fdb57}){const _0x204535=this['buildRevisionData']({'from':_0x9d4826,'to':_0x58eeab});_0x204535['name']=_0x15e435,_0x204535['creatorId']=_0x2c3bff,_0x204535['id']=_0x3fdb57;const _0x24c03a=this['addRevisionData'](_0x204535);return this['adapter']&&this['_bufferUpdate'](_0x204535['id'],_0x204535,!0x0),_0x24c03a;}['_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(_0x5d0d36){this['editor']=_0x5d0d36,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'](_0x23c39b){this['source']=_0x23c39b;const _0x396684=new Map(),_0x275cb7=new Map(),_0x1560e6=this['editor']['model']['document']['roots']['map'](_0x4280f7=>_0x4280f7['rootName']);for(const _0x116ccf of _0x1560e6){const _0x18190d=this['editor']['model']['document']['getRoot'](_0x116ccf),_0x50d076=_cloneRoot(_0x18190d);_0x396684['set'](_0x116ccf,_0x50d076),_0x275cb7['set'](_0x116ccf,Object['fromEntries'](_0x18190d['getAttributes']()));}const _0x46adca=Array['from'](this['editor']['model']['markers'])['map'](_0x3b7aef=>[_0x3b7aef['name'],_0x3b7aef['getRange']()]),_0x175459=this['source']['version'];this['_saveMetaData'](_0x175459,_0x396684,_0x46adca,_0x275cb7),this['_startingRevisionId']=this['_revisionId'];const _0x3ede78=new Map(),_0x37193c=new Map();for(const _0x1d99ae of _0x1560e6){const _0x4760c9=_emptyRoot(_0x1d99ae);_0x3ede78['set'](_0x1d99ae,_0x4760c9),_0x37193c['set'](_0x1d99ae,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3ede78,[],_0x37193c);}['getData'](_0x127696,_0x3f105e){if(this['_lastFrom']===_0x127696&&this['_lastTo']<=_0x3f105e)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3f105e,!0x0);else{if(!this['_savedMetaData']['has'](_0x127696)){const _0x2dafa4=this['_getPreviousFrom'](_0x127696);this['_calculateMetaData'](_0x2dafa4,_0x127696,!0x1);}this['_calculateMetaData'](_0x127696,_0x3f105e,!0x0);}return this['_lastFrom']=_0x127696,this['_lastTo']=_0x3f105e,this['_getState']();}['loadState'](_0x288dcd){if(!this['_savedMetaData']['has'](_0x288dcd['fromVersion'])){const _0x33fedb=this['_getPreviousFrom'](_0x288dcd['fromVersion']);this['_calculateMetaData'](_0x33fedb,_0x288dcd['fromVersion'],!0x1);}this['_calculateMetaData'](_0x288dcd['fromVersion'],_0x288dcd['toVersion'],!0x1);const _0x3a65d8=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x288dcd['fromVersion'],this['_lastTo']=_0x288dcd['toVersion'];for(const _0x264aa1 in _0x288dcd['diffData']){const _0x1ff9fd=_0x288dcd['diffData'][_0x264aa1]['attachChange'],_0x3889c2=_0xf3eb06(_0x288dcd['diffData'][_0x264aa1]['attributesBefore'])||{},_0x1de8bf=_0x3a65d8['_makeModelFromViewString'](_0x288dcd['diffData'][_0x264aa1]['deletions']);_0x1de8bf['rootName']=_0x264aa1,_0x1de8bf['_isAttached']=!_0x1ff9fd||!_0x1ff9fd['isAttached'],_0x1de8bf['isAttached']=()=>_0x1de8bf['_isAttached'],this['_baseRoots']['set'](_0x264aa1,_0x1de8bf),this['_baseRootsAttributes']['set'](_0x264aa1,_0x3889c2),_0x1ff9fd&&this['_touchedRoots']['set'](_0x264aa1,_0x1ff9fd);const _0x5e52b3=this['_makeIdsRoot'](_0x1de8bf);this['_baseIdsRoots']['set'](_0x264aa1,_0x5e52b3);for(const [_0x496d3a,_0x18dc90]of _0x1de8bf['markers']){if(!_0x496d3a['startsWith']('revision:'))continue;const _0x24c109=_0x496d3a['split'](':')[0x2];for(const _0x1dbf7b of _0x18dc90['getWalker']({'singleCharacters':!0x0})){const _0x356220=this['_getVidAttributeName'](_0x1dbf7b),_0x521ef8='elementEnd'==_0x1dbf7b['type']?_0x1dbf7b['previousPosition']['path']['slice'](0x0,-0x1):_0x1dbf7b['previousPosition']['path'],_0x158b33=_0x5e52b3['getNodeByPath'](_0x521ef8)['getAttribute'](_0x356220);this['_touched']['set'](_0x158b33,{'userId':_0x24c109});}_0x1de8bf['markers']['delete'](_0x496d3a);}}this['_startingRevisionId']=this['_revisionId'];const _0x35f223=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x11a8f2=>!this['_touched']['has'](_0x11a8f2));let _0x37b1a5=0x0;const _0x4e6d54=new Map();for(const _0x387fd0 in _0x288dcd['diffData']){const _0xe9d022=_0x288dcd['diffData'][_0x387fd0]['attachChange'],_0x16e204=_0xf3eb06(_0x288dcd['diffData'][_0x387fd0]['attributesAfter'])||{},_0x2a98c1=_0x3a65d8['_makeModelFromViewString'](_0x288dcd['diffData'][_0x387fd0]['insertions']);_0x2a98c1['rootName']=_0x387fd0,_0x2a98c1['_isAttached']=!_0xe9d022||_0xe9d022['isAttached'],_0x2a98c1['isAttached']=()=>_0x2a98c1['_isAttached'],this['_diffRoots']['set'](_0x387fd0,_0x2a98c1),this['_diffRootsAttributes']['set'](_0x387fd0,_0x16e204);const _0x1d564f=this['_makeIdsRoot'](_0x2a98c1,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x387fd0,_0x1d564f),_0x4e6d54['set'](_0x387fd0,_0x2a98c1['isAttached']()?_0x16e204:{});for(const [_0x5b0305,_0x577042]of _0x2a98c1['markers']){if(!_0x5b0305['startsWith']('revision:'))continue;const _0x39f4a1=_0x5b0305['split'](':')[0x2];for(const _0xc99293 of _0x577042['getWalker']({'singleCharacters':!0x0})){const _0x294385=this['_getVidAttributeName'](_0xc99293),_0xd6b622=this['_revisionId']++,_0x161605='elementEnd'==_0xc99293['type']?_0xc99293['previousPosition']['path']['slice'](0x0,-0x1):_0xc99293['previousPosition']['path'];_0x1d564f['getNodeByPath'](_0x161605)['_setAttribute'](_0x294385,_0xd6b622),this['_touched']['set'](_0xd6b622,{'userId':_0x39f4a1});}_0x2a98c1['markers']['delete'](_0x5b0305);}for(const _0x217ae3 of this['editor']['model']['createRangeIn'](_0x2a98c1)['getWalker']({'singleCharacters':!0x0})){const _0x46de6d=this['_getVidAttributeName'](_0x217ae3),_0x261c46='elementEnd'==_0x217ae3['type']?_0x217ae3['previousPosition']['path']['slice'](0x0,-0x1):_0x217ae3['previousPosition']['path'],_0x36440f=_0x1d564f['getNodeByPath'](_0x261c46);_0x36440f['getAttribute'](_0x46de6d)>0x0||_0x36440f['_setAttribute'](_0x46de6d,_0x35f223[_0x37b1a5++]);}for(const [_0x2310f9,_0x2037fe]of _0x2a98c1['markers'])_0x2310f9['startsWith']('revision:')||this['_markers']['set'](_0x2310f9,_0x2037fe);}const {roots:_0x17ac78}=this['_savedMetaData']['get'](_0x288dcd['fromVersion']),{roots:_0x5418f3}=this['_savedMetaData']['get'](_0x288dcd['toVersion']),_0x37716d=_cloneRoot(_0x17ac78['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0x37716d),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x37716d,Number['NEGATIVE_INFINITY']));const _0x38b7ac=_cloneRoot(_0x5418f3['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0x38b7ac),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x38b7ac));const _0x424023=Array['from'](this['_diffRoots'])['map'](([_0x136377,_0x4a7423])=>[_0x136377,_cloneRoot(_0x4a7423)]);this['_saveMetaData'](this['_lastTo'],_0x424023,this['_markers'],_0x4e6d54);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_saveMetaData'](_0x218591,_0x7a44bd,_0x1b295f,_0x4132dd){const _0x4f015e=new Map(_0x7a44bd),_0x5db3e4=new Map(_0xf3eb06(_0x4132dd)),_0x50cac7=new Map();for(const [_0x42bf49,_0x1b347e]of _0x1b295f)_0x50cac7['set'](_0x42bf49,{'start':_0x1b347e['start']['clone'](),'end':_0x1b347e['end']['clone'](),'rootName':_0x1b347e['root']['rootName']});this['_savedMetaData']['set'](_0x218591,{'roots':_0x4f015e,'markers':_0x50cac7,'rootsAttributes':_0x5db3e4});}['_removeMetaData'](_0x8bfe10){this['_savedMetaData']['delete'](_0x8bfe10);}['_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'](_0x52177f,_0x1c31ea=null){let _0x394ec2=null;_0x52177f['is']('documentFragment')||(_0x394ec2=new ckeditor5['ModelElement'](_0x52177f['name'],{'vid_start':null===_0x1c31ea?this['_revisionId']++:_0x1c31ea++}));const _0x15cfa9=[];for(const _0x1f999d of _0x52177f['getChildren']())if(_0x1f999d['is']('element')){_0x15cfa9['push'](this['_makeIdsRoot'](_0x1f999d,_0x1c31ea));const _0x50b673=_0x15cfa9[_0x15cfa9['length']-0x1];null!==_0x1c31ea&&(_0x1c31ea=_0x50b673['is']('element','$text')?_0x50b673['getAttribute']('vid')+0x1:_0x50b673['getAttribute']('vid_end')+0x1);}else{for(let _0x2fcf24=0x0;_0x2fcf24<_0x1f999d['offsetSize'];_0x2fcf24++)_0x15cfa9['push'](new ckeditor5['ModelElement']('$text',{'vid':null===_0x1c31ea?this['_revisionId']++:_0x1c31ea++}));}if(_0x52177f['is']('documentFragment')){const _0x29911d=_emptyRoot(_0x52177f['rootName']);return _0x29911d['_insertChild'](0x0,_0x15cfa9),_0x29911d;}return _0x394ec2['_setAttribute']('vid_end',null===_0x1c31ea?this['_revisionId']++:_0x1c31ea++),_0x394ec2['_insertChild'](0x0,_0x15cfa9),_0x394ec2;}['_calculateMetaData'](_0xeb8186,_0x1fd4c4,_0x5a7134){this['_reset']();const {roots:_0x468a6b,markers:_0x2fb2e9,rootsAttributes:_0x39c7e8}=this['_savedMetaData']['get'](_0xeb8186);this['_baseRoots']=new Map(_0x468a6b),this['_baseRootsAttributes']=new Map(_0xf3eb06(_0x39c7e8));for(const [_0x30fc4d,_0x2f2da5]of this['_baseRoots'])if('$graveyard'!==_0x30fc4d&&(this['_diffRoots']['set'](_0x30fc4d,_cloneRoot(_0x2f2da5)),this['_diffRootsAttributes']=new Map(_0xf3eb06(_0x39c7e8)),_0x5a7134)){const _0x4726cb=this['_revisionId'];this['_idsRoots']['set'](_0x30fc4d,this['_makeIdsRoot'](_0x2f2da5)),this['_baseIdsRoots']['set'](_0x30fc4d,this['_makeIdsRoot'](_0x2f2da5,_0x4726cb));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',_cloneRoot(this['_baseRoots']['get']('$graveyard'))),_0x5a7134&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x4bd7a7,_0x2e3df7]of _0x2fb2e9){const _0x13f65c=this['_baseRoots']['get'](_0x2e3df7['rootName']),_0x4f0c10=this['_diffRoots']['get'](_0x2e3df7['rootName']),_0x43bc50=new ckeditor5['ModelRange'](this['_fixPosition'](_0x2e3df7['start'],_0x13f65c),this['_fixPosition'](_0x2e3df7['end'],_0x13f65c)),_0x1fdc66=this['_fixRange'](_0x43bc50,_0x4f0c10);_0x13f65c['markers']['set'](_0x4bd7a7,_0x43bc50),this['_markers']['set'](_0x4bd7a7,_0x1fdc66);}this['_applyOperations'](_0xeb8186,_0x1fd4c4,_0x5a7134);}['_applyOperations'](_0x19fd05,_0x1d4e86,_0x5878fc){for(const _0x200189 of this['source']['getOperations'](_0x19fd05,_0x1d4e86))this['_handleOperation'](_0x200189,_0x5878fc);for(const _0x3fc1f9 of this['_diffRoots']['values']())_0x3fc1f9['markers']['clear']();for(const [_0x2e149e,_0x3e2cbe]of this['_markers']){this['_diffRoots']['get'](_0x3e2cbe['root']['rootName'])['markers']['set'](_0x2e149e,_0x3e2cbe['clone']());}const _0x227f19=new Map(),_0x1c0737=new Map();for(const [_0x340eb6,_0x4fd523]of this['_diffRoots'])_0x227f19['set'](_0x340eb6,_cloneRoot(_0x4fd523)),_0x1c0737['set'](_0x340eb6,this['_diffRootsAttributes']['get'](_0x340eb6));this['_saveMetaData'](_0x1d4e86,_0x227f19,this['_markers'],_0x1c0737);}['_getPreviousFrom'](_0x818a13){const _0x6fe1d5=Array['from'](this['_savedMetaData']['keys']());_0x6fe1d5['sort']((_0x359320,_0x48c4e8)=>_0x359320-_0x48c4e8),_0x6fe1d5['reverse']();for(const _0x5aef59 of _0x6fe1d5)if(_0x5aef59<_0x818a13)return _0x5aef59;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x3718df,_0x4ee367){const _0x544464=Array['from'](_0x4ee367['markers'])['map'](([_0x35e977,_0x43873e])=>[_0x35e977,this['_fixRange'](_0x43873e,_0x3718df)]);_0x3718df['markers']=new Map(_0x544464);}['_transformMarkers'](_0x3f29a5){for(const _0x3ba42a of this['_markers']['values']()){const _0x429e5a=_0x3ba42a['getTransformedByOperation'](_0x3f29a5),_0x1ea165=ckeditor5['ModelRange']['_createFromRanges'](_0x429e5a);_0x3ba42a['start']=_0x1ea165['start'],_0x3ba42a['end']=_0x1ea165['end'];}}['_handleOperation'](_0x3ff029,_0x3db50a){if('addRoot'!=_0x3ff029['type']&&'detachRoot'!=_0x3ff029['type']){if('insert'==_0x3ff029['type']){const _0x395cbd=_0x3ff029['position']['root']['rootName'];this['_diffRoots']['has'](_0x395cbd)||(this['_diffRoots']['set'](_0x395cbd,_emptyRoot(_0x395cbd,!0x0)),this['_diffRootsAttributes']['set'](_0x395cbd,{}),_0x3db50a&&this['_idsRoots']['set'](_0x395cbd,_emptyRoot(_0x395cbd,!0x0)));}else{if('addRootAttribute'==_0x3ff029['type']||'removeRootAttribute'==_0x3ff029['type']||'changeRootAttribute'==_0x3ff029['type'])return void this['_handleRootAttributeOperation'](_0x3ff029);'marker'==_0x3ff029['type']&&this['_handleMarkerOperation'](_0x3ff029);}if('marker'!==_0x3ff029['type']){const _0x2e0a16=this['_cloneOperation'](_0x3ff029,this['_diffRoots']);_0x2e0a16['_execute'](),this['_transformMarkers'](_0x2e0a16);}if(_0x3db50a)switch(_0x3ff029['type']){case'insert':this['_handleInsertOperation'](_0x3ff029);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x3ff029);break;case'merge':this['_handleMergeOperation'](_0x3ff029);break;case'split':this['_handleSplitOperation'](_0x3ff029);}}else this['_handleRootOperation'](_0x3ff029,_0x3db50a);}['_cloneOperation'](_0x10fb8c,_0x360c35){const _0x2c4817=_0x10fb8c['clone']();return _0x2c4817['_authorId']=_0x10fb8c['_authorId'],this['_fixOperation'](_0x2c4817,_0x360c35),_0x2c4817;}['_getBaseVids'](_0xf7b45f){return _0xf7b45f['map'](_0x240555=>{const _0x5754c4=this['_getVidAttributeName'](_0x240555);return Number(_0x240555['item']['getAttribute'](_0x5754c4));});}['_generateTape'](_0xa0160f,_0x3f438a){if(_0xa0160f['is']('element','$text'))_0x3f438a['push']({'item':_0xa0160f,'type':'text'});else{_0xa0160f['is']('element')&&_0x3f438a['push']({'item':_0xa0160f,'type':'elementStart'});for(const _0x2ca237 of _0xa0160f['getChildren']())this['_generateTape'](_0x2ca237,_0x3f438a);_0xa0160f['is']('element')&&_0x3f438a['push']({'item':_0xa0160f,'type':'elementEnd'});}return _0x3f438a;}['_getState'](){const _0x5c9fd2=new Map(this['_touched']),_0x7485e1=new Map(_0x5c9fd2),_0x55873e=new Map(),_0x38bd65={'insertions':{},'deletions':{}},_0x3f313a={'insertions':{},'deletions':{}},_0x36e311=new Map(),_0x3bddc4=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3bddc4['delete']('$graveyard');for(const _0x35f33e of _0x3bddc4){const _0xe9574a=this['_diffRoots']['get'](_0x35f33e)||_emptyRoot(_0x35f33e,!0x1),_0x19da28=this['_baseRoots']['get'](_0x35f33e)||_emptyRoot(_0x35f33e,!0x1);_0xe9574a['isAttached']()||_0x19da28['isAttached']()?(_0x38bd65['insertions'][_0x35f33e]=_cloneRoot(_0xe9574a),_0x38bd65['deletions'][_0x35f33e]=_cloneRoot(_0x19da28),this['_copyMarkers'](_0x38bd65['deletions'][_0x35f33e],_0x19da28),this['_copyMarkers'](_0x38bd65['insertions'][_0x35f33e],_0xe9574a),_0x3f313a['insertions'][_0x35f33e]=this['_generateTape'](this['_idsRoots']['get'](_0x35f33e),[]),_0x3f313a['deletions'][_0x35f33e]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x35f33e)||_emptyRoot(_0x35f33e,!0x1),[])):_0x3bddc4['delete'](_0x35f33e);}for(const _0x15f29a of _0x3bddc4){const _0x4fe079=_0x3f313a['insertions'][_0x15f29a];for(const _0x4113ee of _0x4fe079){const _0x53f767=this['_getVidAttributeName'](_0x4113ee),_0xa3c820=_0x4113ee['item']['getAttribute'](_0x53f767);_0x7485e1['delete'](_0xa3c820),_0xa3c820>=this['_startingRevisionId']&&_0x55873e['set'](_0xa3c820,_0x5c9fd2['get'](_0xa3c820));}}for(const _0x56d216 of _0x3bddc4){const _0x7b54ca=_0x3f313a['insertions'][_0x56d216],_0x2839b0=this['_getBaseVids'](_0x3f313a['deletions'][_0x56d216]);let _0x5dadd9=0x0;for(const _0x476413 of _0x7b54ca){const _0x28166a=this['_getVidAttributeName'](_0x476413),_0x2d459f=_0x476413['item']['getAttribute'](_0x28166a);if(!_0x55873e['has'](_0x2d459f)&&!_0x36e311['has'](_0x2d459f)){if(_0x7485e1['has'](_0x2d459f))_0x5dadd9++;else{if(_0x2d459f!=_0x2839b0[_0x5dadd9]){const _0x3b3a08=_0x5c9fd2['get'](_0x2d459f)||_0x5c9fd2['get'](_0x2839b0[_0x5dadd9]);for(;_0x2d459f!=_0x2839b0[_0x5dadd9];)_0x7485e1['has'](_0x2839b0[_0x5dadd9])||(_0x36e311['set'](_0x2839b0[_0x5dadd9],_0x3b3a08),_0x5c9fd2['set'](_0x2839b0[_0x5dadd9],_0x3b3a08)),_0x5dadd9++;}_0x5dadd9++;}}}}for(const _0x121b33 of _0x3bddc4){const _0x313aae=_0x3f313a['insertions'][_0x121b33];for(const _0x1cf954 of _0x313aae){const _0x58c772=this['_getVidAttributeName'](_0x1cf954),_0xa1de9f=_0x1cf954['item']['getAttribute'](_0x58c772);if(_0x36e311['has'](_0xa1de9f)){const _0xd7b715=_0x36e311['get'](_0xa1de9f);_0x7485e1['has'](_0xa1de9f)||_0x7485e1['set'](_0xa1de9f,{..._0xd7b715}),_0x55873e['set'](_0xa1de9f,{..._0xd7b715});}}}for(const _0x2933de of _0x7485e1['keys']())_0x2933de>=this['_startingRevisionId']&&_0x7485e1['delete'](_0x2933de);const _0x48e24d=new Map();for(const _0x198b80 of _0x3bddc4){let _0x51836e=_0x3f313a['insertions'][_0x198b80];for(const _0x17ae45 of _0x51836e)if(_0x17ae45['item']['is']('element','tableCell')){const _0x423cd8=this['_getVidAttributeName'](_0x17ae45),_0xf6fcd3=_0x17ae45['item']['getAttribute'](_0x423cd8);if(_0x55873e['has'](_0xf6fcd3)){const _0x3d1358=_0x17ae45['item']['parent']['parent']['getAttribute']('vid_start'),_0x5634e0=_0x48e24d['get'](_0x3d1358)||new Set();_0x5634e0['add'](_0x55873e['get'](_0xf6fcd3)['userId']),_0x48e24d['set'](_0x3d1358,_0x5634e0);}}_0x51836e=_0x3f313a['deletions'][_0x198b80];for(const _0x4a5c2b of _0x51836e)if(_0x4a5c2b['item']['is']('element','tableCell')){const _0x10bde5=this['_getVidAttributeName'](_0x4a5c2b),_0x1d55ea=_0x4a5c2b['item']['getAttribute'](_0x10bde5);if(_0x7485e1['has'](_0x1d55ea)){const _0x45dc00=_0x4a5c2b['item']['parent']['parent']['getAttribute']('vid_start'),_0x49f096=_0x48e24d['get'](_0x45dc00)||new Set();_0x49f096['add'](_0x7485e1['get'](_0x1d55ea)['userId']),_0x48e24d['set'](_0x45dc00,_0x49f096);}}for(const _0x4ded34 of _0x48e24d['keys']())(_0x55873e['has'](_0x4ded34)||_0x7485e1['has'](_0x4ded34))&&_0x48e24d['delete'](_0x4ded34);}for(const _0x349798 of _0x3bddc4){const _0x46d005=_0x3f313a['insertions'][_0x349798];let _0x40b73a=null,_0x161d6f=null;for(const _0x45adcf of _0x46d005){const _0x2c903e=this['_getVidAttributeName'](_0x45adcf),_0x4d3380=_0x45adcf['item']['getAttribute'](_0x2c903e),_0x37b356=_0x48e24d['get'](_0x4d3380);_0x37b356&&'elementStart'==_0x45adcf['type']&&(_0x40b73a=Array['from'](_0x37b356)[0x0],_0x161d6f=_0x45adcf['item']['getAttribute']('vid_end')),_0x40b73a&&(_0x7485e1['set'](_0x4d3380,{'userId':_0x40b73a}),_0x55873e['set'](_0x4d3380,{'userId':_0x40b73a})),_0x4d3380==_0x161d6f&&(_0x40b73a=null,_0x161d6f=null);}}const _0x1df4e2={},_0x3133e0=new Set();for(const _0x16df27 of _0x3bddc4){const _0x4780c8=_0x38bd65['deletions'][_0x16df27],_0x49a678=_0x38bd65['insertions'][_0x16df27];for(const {userId:_0xe61234}of this['_touchedMarkers']['values']())null!==_0xe61234&&_0x3133e0['add'](_0xe61234);for(const {userId:_0x574a53}of this['_touchedRoots']['values']())null!==_0x574a53&&_0x3133e0['add'](_0x574a53);this['_markChanges'](_0x49a678,_0x3f313a['insertions'][_0x16df27],_0x55873e,'insertion',_0x3133e0),this['_markChanges'](_0x4780c8,_0x3f313a['deletions'][_0x16df27],_0x7485e1,'deletion',_0x3133e0),_0x1df4e2[_0x16df27]={'insertions':this['_prepareViewToSave'](_0x49a678),'deletions':this['_prepareViewToSave'](_0x4780c8),'attachChange':this['_touchedRoots']['get'](_0x16df27)||null,'attributesBefore':_0xf3eb06(this['_baseRootsAttributes']['get'](_0x16df27))||{},'attributesAfter':_0xf3eb06(this['_diffRootsAttributes']['get'](_0x16df27))};}return{'diffData':_0x1df4e2,'authorsIds':Array['from'](_0x3133e0)};}['_processRootBeforeSave'](_0x14e0f1){for(const [,_0x46ced0]of _0x14e0f1['markers']){const _0x587e40=_0x46ced0['start']['getAncestors']()['filter'](_0x1e7a6a=>'tableCell'==_0x1e7a6a['name']);for(const _0x25c4cc of _0x587e40)0x1==_0x25c4cc['childCount']&&_0x25c4cc['getChild'](0x0)['is']('element','paragraph')&&_0x25c4cc['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x511d35){this['_processRootBeforeSave'](_0x511d35);const _0x4b00e9=this['editor']['data']['toView'](_0x511d35,{}),_0xe2b736=Array['from'](_0x4b00e9['getChildren']())['map'](_0x3f1e94=>this['_getViewJson'](_0x3f1e94));return JSON['stringify'](_0xe2b736);}['_getViewJson'](_0x25b2b8){if(_0x25b2b8['is']('$text'))return _0x25b2b8['data'];{const _0x37f579=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x4cc31c=_0x25b2b8,_0x17c37a=this['editor']['data']['htmlProcessor']['domConverter'],_0xcf0810={'type':_0x37f579['_getTypeCharForViewElement'](_0x4cc31c),'name':_0x4cc31c['name'],'attributes':Array['from'](_0x4cc31c['getAttributes']()),'children':Array['from'](_0x4cc31c['getChildren']())['map'](_0x1440bf=>this['_getViewJson'](_0x1440bf))};if(_0x25b2b8['is']('uiElement')&&'$comment'!=_0x25b2b8['name']){const _0x5b3f7f=_0x25b2b8['render'](_0x17c37a['domDocument'],_0x17c37a);_0xcf0810['children']['push'](_0x5b3f7f['outerHTML']);}else{if(_0x25b2b8['is']('rawElement')){const _0x4424d9=_0x17c37a['domDocument']['createElement'](_0x4cc31c['name']);_0x25b2b8['render'](_0x4424d9,_0x17c37a),_0xcf0810['children']['push'](_0x4424d9['innerHTML']);}}const _0x447a7f=Array['from'](_0x4cc31c['getCustomProperties']());_0x447a7f['length']>0x0&&(_0xcf0810['customProperties']=_0x447a7f);const _0x466f3e=_0x4cc31c['getFillerOffset']();return null!==_0x466f3e&&(_0xcf0810['fillerOffset']=_0x466f3e),_0xcf0810;}}['_markChanges'](_0x541c93,_0x2cf312,_0x15af09,_0x50da24,_0x38aef0){let _0x2e9c73=null,_0x274fe9=null,_0x11d43b=0x0;const _0x1f0bb7=this['editor']['model'];for(let _0x19a915=0x0;_0x19a915<_0x2cf312['length'];_0x19a915++){const _0x4e1ae7=this['_getVidAttributeName'](_0x2cf312[_0x19a915]),_0x3ece96=_0x2cf312[_0x19a915]['item']['getAttribute'](_0x4e1ae7),_0x2f374c=_0x15af09['get'](_0x3ece96),_0x3aa7ce=_0x19a915==_0x2cf312['length']-0x1;(!_0x2e9c73&&_0x2f374c&&(_0x2e9c73=_0x2f374c,_0x274fe9=_0x2cf312[_0x19a915]),_0x2e9c73&&(!_0x2f374c||_0x2f374c['userId']!=_0x2e9c73['userId']))&&(_0x553990(_0x2f374c,_getPosBefore(_0x274fe9,_0x541c93,_0x1f0bb7),_getPosBefore(_0x2cf312[_0x19a915],_0x541c93,_0x1f0bb7)),_0x2e9c73=_0x2f374c||null,_0x274fe9=_0x2f374c?_0x2cf312[_0x19a915]:null),_0x2e9c73&&_0x3aa7ce&&_0x553990(_0x2f374c,_getPosBefore(_0x274fe9,_0x541c93,_0x1f0bb7),_getPosAfter(_0x2cf312[_0x19a915],_0x541c93,_0x1f0bb7));}function _0x553990(_0x5c4cc3,_0x4007ac,_0x5e85cf){const _0xd64f71=_0x2e9c73['userId'],_0x10ba0a='revision:'+_0x50da24+':'+_0xd64f71+':'+_0x11d43b++,_0x353105=_0x1f0bb7['createRange'](_0x4007ac,_0x5e85cf);_0x541c93['markers']['set'](_0x10ba0a,_0x353105),null!==_0xd64f71&&_0x38aef0['add'](_0xd64f71);}}['_getVidAttributeName'](_0x2993aa){switch(_0x2993aa['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x434286,_0x5ec263){_0x434286['baseVersion']=null;for(const _0x52e7f9 in _0x434286){const _0x1747bb=_0x434286[_0x52e7f9];if(_0x1747bb instanceof ckeditor5['ModelPosition']){const _0x330026=_0x5ec263['get'](_0x1747bb['root']['rootName']);_0x434286[_0x52e7f9]=this['_fixPosition'](_0x1747bb,_0x330026);}if(_0x1747bb instanceof ckeditor5['ModelRange']){const _0x126164=_0x5ec263['get'](_0x1747bb['root']['rootName']);_0x434286[_0x52e7f9]=this['_fixRange'](_0x1747bb,_0x126164);}'root'===_0x52e7f9&&(_0x434286['root']=_0x5ec263['get'](_0x434286['root']['rootName']));}}['_fixRange'](_0x5753ea,_0x3aa5a1){return this['editor']['model']['createRange'](this['_fixPosition'](_0x5753ea['start'],_0x3aa5a1),this['_fixPosition'](_0x5753ea['end'],_0x3aa5a1));}['_fixPosition'](_0x58ca9c,_0x34d7ca){return this['editor']['model']['createPositionFromPath'](_0x34d7ca,_0x58ca9c['path'],_0x58ca9c['stickiness']);}['_handleInsertOperation'](_0xf0f56a){const _0x55246c=this['_idsRoots']['get'](_0xf0f56a['position']['root']['rootName']),_0x2eb776=this['_fixPosition'](_0xf0f56a['position'],_0x55246c),_0x33dae8=null===_0xf0f56a['_authorId']?null:_0xf0f56a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4a41aa=_0x2eb776['parent'],_0x59a979=this['_revisionId'],_0x3a9946=[];for(const _0x19e626 of _0xf0f56a['nodes'])if(_0x19e626['is']('element'))_0x3a9946['push'](this['_makeIdsRoot'](_0x19e626));else{for(let _0x22e3e3=0x0;_0x22e3e3<_0x19e626['offsetSize'];_0x22e3e3++)_0x3a9946['push'](new ckeditor5['ModelElement']('$text',{'vid':this['_revisionId']++}));}const _0xd617f5=this['_revisionId'];for(let _0x33fc7c=_0x59a979;_0x33fc7c<_0xd617f5;_0x33fc7c++)this['_touched']['set'](_0x33fc7c,{'userId':_0x33dae8});_0x4a41aa['_insertChild'](_0x2eb776['offset'],_0x3a9946);}['_handleMoveOperation'](_0x113697){(_0x113697=this['_cloneOperation'](_0x113697,this['_idsRoots']))['_execute']();const _0x403b93=null===_0x113697['_authorId']?null:_0x113697['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x52816d=_0x113697['getMovedRangeStart'](),_0x19119f=_0x52816d['parent'],_0x209b2a=_0x52816d['offset'];!function _0x454861(_0x44e34f,_0x57b6aa,_0x3e8688,_0x2875d1){for(let _0x45ea8f=_0x3e8688;_0x45ea8f<_0x2875d1;_0x45ea8f++){const _0x37567c=_0x57b6aa['getChild'](_0x45ea8f);_0x37567c['is']('element','$text')?_0x44e34f['set'](_0x37567c['getAttribute']('vid'),{'userId':_0x403b93}):(_0x44e34f['set'](_0x37567c['getAttribute']('vid_start'),{'userId':_0x403b93}),_0x454861(_0x44e34f,_0x37567c,0x0,_0x37567c['childCount']),_0x44e34f['set'](_0x37567c['getAttribute']('vid_end'),{'userId':_0x403b93}));}}(this['_touched'],_0x19119f,_0x209b2a,_0x209b2a+_0x113697['howMany']);}['_handleMergeOperation'](_0xfb7283){const _0x59b4a2=null===(_0xfb7283=this['_cloneOperation'](_0xfb7283,this['_idsRoots']))['_authorId']?null:_0xfb7283['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5e8f5e=_0xfb7283['targetPosition']['parent'],_0x5bc934=_0xfb7283['sourcePosition']['parent'],_0x778005=_0x5e8f5e['getAttribute']('vid_end'),_0x3c8b9e=_0x5bc934['getAttribute']('vid_start');_0x5e8f5e['_setAttribute']('vid_end',_0x5bc934['getAttribute']('vid_end')),_0x5bc934['_setAttribute']('vid_end',_0x778005),this['_touched']['set'](_0x3c8b9e,{'userId':_0x59b4a2}),this['_touched']['set'](_0x778005,{'userId':_0x59b4a2}),_0xfb7283['_execute']();}['_handleSplitOperation'](_0x51dab1){const _0x2e2a75=null===(_0x51dab1=this['_cloneOperation'](_0x51dab1,this['_idsRoots']))['_authorId']?null:_0x51dab1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4230b6=_0x51dab1['graveyardPosition'],_0xfe899f=_0x51dab1['splitPosition']['parent'];_0x51dab1['_execute']();const _0x45f7ae=_0xfe899f['getAttribute']('vid_end'),_0x420f30=_0x51dab1['insertionPosition']['nodeAfter'];if(_0x4230b6){const _0xbc6d42=_0x420f30['getAttribute']('vid_end'),_0x565836=_0xfe899f['getAttribute']('vid_end');_0xfe899f['_setAttribute']('vid_end',_0xbc6d42),_0x420f30['_setAttribute']('vid_end',_0x565836),this['_touched']['set'](_0xfe899f['getAttribute']('vid_end'),{'userId':_0x2e2a75}),this['_touched']['set'](_0x420f30['getAttribute']('vid_start'),{'userId':_0x2e2a75});}else{const _0x5e7f69=this['_revisionId']++,_0x24c81e=this['_revisionId']++;_0xfe899f['_setAttribute']('vid_end',_0x5e7f69),_0x420f30['_setAttribute']('vid_start',_0x24c81e),_0x420f30['_setAttribute']('vid_end',_0x45f7ae),this['_touched']['set'](_0x5e7f69,{'userId':_0x2e2a75}),this['_touched']['set'](_0x24c81e,{'userId':_0x2e2a75});}}['_handleMarkerOperation'](_0x230c37){if(!_0x230c37['affectsData'])return;const _0x4c2478=(_0x230c37=this['_cloneOperation'](_0x230c37,this['_diffRoots']))['oldRange']?_0x230c37['oldRange']['root']:null,_0x58a371=_0x230c37['newRange']?_0x230c37['newRange']['root']:null;_0x4c2478&&this['_markers']['delete'](_0x230c37['name']),_0x58a371&&this['_markers']['set'](_0x230c37['name'],_0x230c37['newRange']['clone']());const _0x530965=null===_0x230c37['_authorId']?null:_0x230c37['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xfdbe6e=_0x230c37['name'];if(!this['_touchedMarkers']['has'](_0xfdbe6e))return void this['_touchedMarkers']['set'](_0xfdbe6e,{'range':_0x230c37['oldRange'],'userId':_0x530965});const _0x3f74eb=this['_touchedMarkers']['get'](_0xfdbe6e),_0x39fc5f=_0x3f74eb['range'],_0x495167=_0x230c37['newRange'];null==_0x39fc5f&&null==_0x495167||_0x39fc5f&&_0x495167&&_0x39fc5f['isEqual'](_0x495167)?this['_touchedMarkers']['delete'](_0x230c37['name']):_0x3f74eb['userId']=_0x530965;}['_handleRootOperation'](_0x50de40,_0x17d93e){this['_diffRoots']['has'](_0x50de40['rootName'])?this['_diffRoots']['get'](_0x50de40['rootName'])['_isAttached']=_0x50de40['isAdd']:(this['_diffRoots']['set'](_0x50de40['rootName'],_emptyRoot(_0x50de40['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x50de40['rootName'],{}),_0x17d93e&&this['_idsRoots']['set'](_0x50de40['rootName'],_emptyRoot(_0x50de40['rootName'],!0x0)));const _0x402787=null===_0x50de40['_authorId']?null:_0x50de40['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x249755=this['_touchedRoots']['get'](_0x50de40['rootName']);_0x249755&&_0x249755['userId']===_0x402787?this['_touchedRoots']['delete'](_0x50de40['rootName']):this['_touchedRoots']['set'](_0x50de40['rootName'],{'userId':_0x402787,'isAttached':_0x50de40['isAdd']});}['_handleRootAttributeOperation'](_0x36a0e1){const _0x2fbc1b=this['_diffRootsAttributes']['get'](_0x36a0e1['root']['rootName']);null===_0x36a0e1['newValue']?delete _0x2fbc1b[_0x36a0e1['key']]:_0x2fbc1b[_0x36a0e1['key']]=_0x36a0e1['newValue'];}}function _cloneRoot(_0x4d945b){const _0x427633=_emptyRoot(_0x4d945b['rootName'],_0x4d945b['isAttached']());for(const _0x2469bf of _0x4d945b['getChildren']()){const _0x5da7f7=_0x2469bf['_clone'](!0x0);_0x427633['_appendChild'](_0x5da7f7);}return _0x427633;}function _emptyRoot(_0x851b82,_0x1a36fc=!0x0){const _0x100386=new ckeditor5['ModelDocumentFragment']();return _0x100386['rootName']=_0x851b82,_0x100386['_isAttached']=_0x1a36fc,_0x100386['isAttached']=()=>_0x100386['_isAttached'],_0x100386;}function _getPosBefore(_0x3e796e,_0xa4655,_0x54b979){const _0x1a0218='elementEnd'==_0x3e796e['type']?_0x54b979['createPositionAt'](_0x3e796e['item'],'end'):_0x54b979['createPositionBefore'](_0x3e796e['item']);return _0x54b979['createPositionFromPath'](_0xa4655,_0x1a0218['path'],_0x1a0218['stickiness']);}function _getPosAfter(_0x52e4ab,_0x4424e3,_0x5d0015){const _0x325d9c='elementStart'==_0x52e4ab['type']?_0x5d0015['createPositionAt'](_0x52e4ab['item'],0x0):_0x5d0015['createPositionAfter'](_0x52e4ab['item']);return _0x5d0015['createPositionFromPath'](_0x4424e3,_0x325d9c['path'],_0x325d9c['stickiness']);}class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
ckeditor5['CssTransitionDisablerMixin'](ckeditor5['View']){['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x59a311,_0x33d8d5){super(_0x59a311),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x33d8d5),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 _0x251407=_0x369987=>_0x369987['stopPropagation']();this['keystrokes']['set']('arrowright',_0x251407),this['keystrokes']['set']('arrowleft',_0x251407),this['keystrokes']['set']('arrowup',_0x251407),this['keystrokes']['set']('arrowdown',_0x251407);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x461c55){this['revisionNameInputView']['fieldView']['element']['value']=_0x461c55['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x3c3e96){const _0x1faa4c=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputText']),_0x211cb1=_0x1faa4c['fieldView'];_0x211cb1['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5f17de=getTranslation$5(this['locale'],'Name\x20of\x20the\x20revision');return!_0x3c3e96&&(_0x5f17de+='\x20('+getTranslation$5(this['locale'],'optional')+')'),(_0x1faa4c['label']=_0x5f17de,_0x211cb1['on']('input',()=>{this['revisionNameInputValue']=_0x211cb1['element']['value']['trim']();}),_0x1faa4c);}}class RevisionHistoryUI extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x6e161d];}['_saveRevisionFormView'];['init'](){const _0xb89682=this['editor'],_0x100409=_0xb89682['plugins']['get']('RevisionTracker');_0xb89682['ui']['componentFactory']['add']('revisionHistory',_0x9e1a70=>{const _0x1a52c0=ckeditor5['createDropdown'](_0x9e1a70),_0x3da623=_0x1a52c0['panelView']['children'],_0x3c0ad3=new ckeditor5['ListView'](_0x9e1a70),_0x2200ee=new ckeditor5['ListItemView'](_0x9e1a70),_0x11defa=this['_createSaveRevisionButton'](ckeditor5['ButtonView']),_0x21a07f=new ckeditor5['ListItemView'](_0x9e1a70),_0x3b44d3=this['_createOpenRevisionButton'](ckeditor5['ButtonView']);return _0x1a52c0['bind']('isEnabled')['to'](_0x100409,'isReady',_0x100409,'isEnabled',_0xb89682,'isReadOnly',(_0x4ee56c,_0x806a11,_0x147b55)=>_0x4ee56c&&_0x806a11&&!_0x147b55),_0x1a52c0['buttonView']['set']({'icon':ckeditor5['IconHistory'],'label':getTranslation$5(_0x9e1a70,'Revision\x20history'),'tooltip':!0x0}),_0x11defa['set']({'withText':!0x0,'role':'menuitem'}),_0x3b44d3['set']({'withText':!0x0,'role':'menuitem'}),this['listenTo'](_0x3b44d3,'execute',()=>{_0x1a52c0['isOpen']=!0x1,_0xb89682['editing']['view']['focus']();},{'priority':'low'}),_0x2200ee['children']['add'](_0x11defa),_0x21a07f['children']['add'](_0x3b44d3),_0x3c0ad3['role']='menu',_0x3c0ad3['items']['addMany']([_0x2200ee,_0x21a07f]),_0x3da623['add'](_0x3c0ad3),_0x1a52c0;}),_0xb89682['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x377744=this['editor'],_0x95d00c=_0x377744['locale'],_0x5ce139=_0x377744['plugins']['get']('RevisionTracker'),_0x2b77e3=new ckeditor5['MenuBarMenuView'](_0x95d00c),_0x1d33fe=new ckeditor5['MenuBarMenuListView'](_0x95d00c);_0x2b77e3['bind']('isEnabled')['to'](_0x5ce139,'isReady',_0x5ce139,'isEnabled',_0x377744,'isReadOnly',(_0x326d8c,_0x151dfc,_0x10e0ca)=>_0x326d8c&&_0x151dfc&&!_0x10e0ca),_0x2b77e3['buttonView']['set']({'icon':ckeditor5['IconHistory'],'label':getTranslation$5(_0x95d00c,'Revision\x20history')});const _0xfe2782=new ckeditor5['MenuBarMenuListItemView'](_0x95d00c,_0x2b77e3),_0x306f46=this['_createSaveRevisionButton'](ckeditor5['MenuBarMenuListItemButtonView']);_0x306f46['delegate']('execute')['to'](_0x2b77e3),_0xfe2782['children']['add'](_0x306f46),_0x1d33fe['items']['add'](_0xfe2782);const _0x3557d2=new ckeditor5['MenuBarMenuListItemView'](_0x95d00c,_0x2b77e3),_0x3e5de6=this['_createOpenRevisionButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x3e5de6['delegate']('execute')['to'](_0x2b77e3),_0x3557d2['children']['add'](_0x3e5de6),_0x1d33fe['items']['add'](_0x3557d2),_0x2b77e3['panelView']['children']['add'](_0x1d33fe),_0x2b77e3;}['_createSaveRevisionButton'](_0x4232df){const _0x574790=this['editor'],_0x45d7ac=_0x574790['plugins']['get']('RevisionTracker'),_0x2afb08=new _0x4232df(_0x574790['locale']);return _0x2afb08['set']({'label':getTranslation$5(_0x574790['locale'],'Save\x20current\x20revision')}),_0x2afb08['bind']('isEnabled')['to'](_0x45d7ac,'isReady',_0x45d7ac,'isEnabled',_0x574790,'isReadOnly',(_0x5e5512,_0x24ea7b,_0x247f6d)=>_0x5e5512&&_0x24ea7b&&!_0x247f6d),this['listenTo'](_0x2afb08,'execute',()=>{this['_showDialog']();}),_0x2afb08;}['_createOpenRevisionButton'](_0x28583a){const _0x535bf2=this['editor'],_0x181f05=_0x535bf2['plugins']['get']('RevisionTracker'),_0x536f51=new _0x28583a(_0x535bf2['locale']);return _0x536f51['set']({'label':getTranslation$5(_0x535bf2['locale'],'Open\x20revision\x20history')}),_0x536f51['bind']('isEnabled')['to'](_0x181f05,'isReady',_0x535bf2,'isReadOnly',(_0xfa3b78,_0x10142d)=>_0xfa3b78&&!_0x10142d),this['listenTo'](_0x536f51,'execute',()=>{_0x535bf2['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x536f51;}['_showDialog'](){const _0x4b72b5=this['editor'],_0x2aee91=_0x4b72b5['locale'],_0x322548=_0x4b72b5['plugins']['get']('Dialog'),_0x1fd548=_0x4b72b5['plugins']['get']('RevisionTracker');function _0x374c78(_0x24d5f5){_0x4b72b5['config']['get']('revisionHistory.requireRevisionName')&&''===_0x24d5f5['revisionName']?_0x24d5f5['revisionNameInputView']['errorText']=getTranslation$5(_0x2aee91,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x4b72b5['plugins']['get'](_0x6e161d)['saveRevision']({'name':_0x24d5f5['revisionName']}),_0x322548['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x374c78(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x322548['show']({'id':'revisionSave','title':getTranslation$5(_0x2aee91,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':getTranslation$5(_0x4b72b5['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x322548['hide']()},{'label':getTranslation$5(_0x4b72b5['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x3e973e){_0x3e973e['bind']('isEnabled')['to'](_0x1fd548,'isReady',_0x1fd548,'isEnabled',_0x4b72b5,'isReadOnly',(_0x1a7dee,_0xb074ae,_0x160789)=>_0x1a7dee&&_0xb074ae&&!_0x160789);},'onExecute':()=>_0x374c78(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x241e10=this['editor'],_0x50d1a6=_0x241e10['locale'];this['_saveRevisionFormView']=new RevisionHistorySaveRevisionFormView(_0x50d1a6,_0x241e10['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class ChangeDetailsView extends ckeditor5['View']{['changeId'];['_model'];constructor(_0x1031f0,_0x12375b){super(_0x1031f0),this['_model']=_0x12375b,this['changeId']=_0x12375b['id'];const _0x597527=this['bindTemplate'],_0x34819e=getTranslation$5(_0x1031f0,_0x12375b['data']['isSuggestion']?'Suggested\x20by':'add'==_0x12375b['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x12375b['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x597527['to']('type',_0x204eba=>'ck-revision-change__'+_0x204eba)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x34819e}]},{'text':'\x20'+_0x12375b['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class ChangeItem extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x59cf63){super(),this['id']=_0x59cf63['id']||ckeditor5['uid'](),this['author']=_0x59cf63['author'],this['type']=_0x59cf63['type'],this['data']=_0x59cf63['data']||{},this['rootName']=_0x59cf63['rootName'],this['set']('createdAt',_0x59cf63['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class _0x17b432{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x33ca08,_0xeb5c4d){this['newRevisionId']=_0x33ca08,this['oldRevisionId']=_0xeb5c4d,this['changes']=new ckeditor5['Collection']();}['_setChanges'](_0x54107c){for(const _0x296c73 of _0x54107c)this['changes']['add'](_0x296c73);}}class _0xfe065c 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[_0xd5bff4,ckeditor5['ContextualBalloon'],RevisionsRepository,RevisionHistoryUtils];}constructor(_0x452a8b){super(_0x452a8b),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',(_0x232bda,_0x7cc395,_0x11129f)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x2fb5be=>{for(const _0x1c0156 of this['editor']['editing']['view']['document']['roots'])_0x11129f?_0x2fb5be['removeClass']('ck-editor__editable__overlay',_0x1c0156):_0x2fb5be['addClass']('ck-editor__editable__overlay',_0x1c0156);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1f897d=>null!==_0x1f897d),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x115a17,_0xe6386b,_0x2af423)=>_0x115a17&&_0x2af423?_0xe6386b['changes']['getIndex'](_0x2af423):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x1b65ec,_0x1c3feb)=>_0x1b65ec?_0x1c3feb['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](ckeditor5['ContextualBalloon']);}['init'](){const _0x44391f=this['editor'],_0x338c1e=new _0x3276d5(_0x44391f,{'direction':'backward'}),_0x3fd3ab=new _0x3276d5(_0x44391f,{'direction':'forward'});(_0x44391f['commands']['add']('showPreviousChange',_0x338c1e),_0x44391f['commands']['add']('showNextChange',_0x3fd3ab),_0x44391f['commands']['add']('restoreRevision',new RestoreRevisionCommand(_0x44391f)),this['on']('change:numberOfChanges',()=>{_0x338c1e['refresh'](),_0x3fd3ab['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x44391f['enableReadOnlyMode']('revision-viewer'),_0x44391f['plugins']['has']('WidgetToolbarRepository'))&&_0x44391f['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionDocumentData'](_0x123227){return await this['_utils']['loadRevisionData'](_0x123227,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x123227);}async['getRevisionRootsAttributes'](_0x20fd99){return await this['_utils']['loadRevisionData'](_0x20fd99,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x20fd99);}async['compare'](_0x3dfb1c,_0x58202a,_0x26efe8=!0x1){if(!this['isEnabled'])return;const _0x9e84ce=this['diff'],_0x231e00=this['repository'],_0x1ccd32='string'==typeof _0x3dfb1c?_0x231e00['getRevision'](_0x3dfb1c):_0x3dfb1c,_0x7fd4df='string'==typeof _0x58202a?_0x231e00['getRevision'](_0x58202a):_0x58202a,_0x53baf4=_0x1ccd32['id'],_0x798925=_0x7fd4df?_0x7fd4df['id']:null;if(!_0x26efe8&&this['diff']&&this['diff']['newRevisionId']===_0x53baf4&&this['diff']['oldRevisionId']===_0x798925)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new _0x17b432(_0x53baf4,_0x798925);const _0x3d251a=this['_getRevisionsRange'](_0x1ccd32,_0x7fd4df,!0x0)['map'](_0x213c48=>this['_utils']['loadRevisionData'](_0x213c48,this['adapter']));return _0x3d251a['push'](new Promise(_0x4e19b7=>{setTimeout(_0x4e19b7,0x14);})),Promise['all'](_0x3d251a)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x1fa319=this['_getDiff'](_0x53baf4,_0x798925);for(const _0x5927fe of _0x1fa319['changes'])this['_changeIdToChange']['set'](_0x5927fe['id'],_0x5927fe);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4ce48b=>{for(const _0xc7ec62 of this['editor']['model']['document']['getRootNames']())_0x4ce48b['detachRoot'](_0xc7ec62);for(const _0x45bbbb of Object['keys'](_0x1fa319['model'])){const _0x22c5c9=_0x4ce48b['addRoot'](_0x45bbbb);for(const _0x49f37a of Object['keys'](_0x1fa319['attributes'][_0x45bbbb]))_0x4ce48b['setAttribute'](_0x49f37a,_0x1fa319['attributes'][_0x45bbbb][_0x49f37a],_0x22c5c9);_0x4ce48b['insert'](_0x1fa319['model'][_0x45bbbb],_0x22c5c9,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x1fa319['changes'])),this['isReady']=!0x0;})['catch'](_0xe7b4a7=>{console['error'](_0xe7b4a7),this['_cleanUp'](),_0x9e84ce&&(this['diff']=_0x9e84ce),this['isReady']=!0x0;});}['addRevisionData'](_0x55b919,_0x805a74){const _0x5ba1ca=this['repository']['createRevision'](_0x55b919);return _0x5ba1ca['on']('_update',(_0xe6492e,_0x40f0f7,_0x82aadb)=>_0x805a74(_0x40f0f7,_0x82aadb,_0x5ba1ca)),this['repository']['addRevision'](_0x5ba1ca),_0x5ba1ca;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x1e4d40=>{for(const _0x187683 of this['editor']['model']['document']['getRootNames']())_0x1e4d40['detachRoot'](_0x187683);});}['_sortAndFilterDiffChanges'](_0x3811cd){const _0x2b4d56=[],_0x3b39e7=new Map();for(const _0x499af5 of this['editor']['model']['document']['getRootNames']()){const _0xcddf09=this['editor']['editing']['view']['getDomRoot'](_0x499af5);if(!_0xcddf09)continue;const _0x503c0f=_0xcddf09['getClientRects']()['item'](0x0);_0x503c0f&&(_0x2b4d56['push'](_0x499af5),_0x3b39e7['set'](_0x499af5,_0x503c0f));}return _0x2b4d56['sort']((_0x4a354a,_0x12a702)=>{const _0x2d7528=_0x3b39e7['get'](_0x4a354a),_0x28b017=_0x3b39e7['get'](_0x12a702);return _0x2d7528['y']-_0x28b017['y']||_0x2d7528['x']-_0x28b017['x'];}),(_0x3811cd=_0x3811cd['filter'](_0x226a1f=>_0x2b4d56['includes'](_0x226a1f['rootName'])))['sort']((_0x4bc759,_0x216c0c)=>_0x2b4d56['indexOf'](_0x4bc759['rootName'])-_0x2b4d56['indexOf'](_0x216c0c['rootName'])),_0x3811cd;}['_makeTape'](_0x25138b){const _0x332e55=Array['from'](_0x25138b['markers'])['filter'](([_0x3a22f7,_0x4be9cb])=>_0x3a22f7['startsWith']('revision:')&&!_0x4be9cb['isCollapsed']),_0x5257ad=Array['from'](this['editor']['model']['createRangeIn'](_0x25138b)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x332e55['length'])for(const _0x67c4c2 of _0x5257ad){const [_0x56097d,_0x504257]=_0x332e55[0x0],[,_0x25b4c3,_0x532a6f]=_0x56097d['split'](':');if(_0x504257['end']['isEqual'](_0x67c4c2['nextPosition'])&&_0x332e55['shift'](),(_0x67c4c2['previousPosition']['isEqual'](_0x504257['start'])||_0x67c4c2['previousPosition']['isAfter'](_0x504257['start']))&&('insertion'==_0x25b4c3?_0x67c4c2['isAdded']={'userId':_0x532a6f}:'deletion'==_0x25b4c3&&(_0x67c4c2['isRemoved']={'userId':_0x532a6f})),0x0==_0x332e55['length'])break;}return _0x5257ad;}['_refreshStartEndIndex'](_0x1fa85d){const _0x2795ba=new Map();for(let _0x2ce5b2=0x0;_0x2ce5b2<_0x1fa85d['length'];_0x2ce5b2++)'text'===_0x1fa85d[_0x2ce5b2]['type']?(_0x1fa85d[_0x2ce5b2]['item']['startIndex']=_0x2ce5b2,_0x1fa85d[_0x2ce5b2]['item']['endIndex']=_0x2ce5b2):('elementStart'===_0x1fa85d[_0x2ce5b2]['type']?_0x1fa85d[_0x2ce5b2]['item']['startIndex']=_0x2ce5b2:'elementEnd'===_0x1fa85d[_0x2ce5b2]['type']&&(_0x1fa85d[_0x2ce5b2]['item']['endIndex']=_0x2ce5b2),_0x2795ba['set'](_0x1fa85d[_0x2ce5b2]['id'],_0x2ce5b2));for(const _0x28da34 of _0x2795ba['values']())'elementStart'===_0x1fa85d[_0x28da34]['type']?_0x1fa85d[_0x28da34]['item']['endIndex']=_0x2795ba['get'](_0x1fa85d[_0x28da34]['pairId']):'elementEnd'===_0x1fa85d[_0x28da34]['type']&&(_0x1fa85d[_0x28da34]['item']['startIndex']=_0x2795ba['get'](_0x1fa85d[_0x28da34]['pairId']));}['_processTape'](_0x2e232a){for(let _0x270890=0x0;_0x270890<_0x2e232a['length'];_0x270890++){if('elementStart'===_0x2e232a[_0x270890]['type'])_0x2e232a[_0x270890]['item']['startIndex']=_0x270890;else{if('elementEnd'===_0x2e232a[_0x270890]['type']){_0x2e232a[_0x270890]['item']['endIndex']=_0x270890;const _0x30f940=_0x2e232a[_0x270890]['item']['startIndex'];_0x2e232a[_0x30f940]['pairId']=_0x2e232a[_0x270890]['id'],_0x2e232a[_0x270890]['pairId']=_0x2e232a[_0x30f940]['id'];}else _0x2e232a[_0x270890]['item']['startIndex']=_0x270890,_0x2e232a[_0x270890]['item']['endIndex']=_0x270890,_0x2e232a[_0x270890]['pairId']=null;}_0x2e232a[_0x270890]['markersStart']||(_0x2e232a[_0x270890]['markersStart']=[],_0x2e232a[_0x270890]['markersEnd']=[]);}}['_markInsertions'](_0x4e88fb,_0x4e3db7){const _0x5adb25=_0x4e88fb['filter'](_0x37b2c1=>!_0x37b2c1['isAdded']);for(let _0x2a04cf=0x0;_0x2a04cf<_0x4e3db7['length'];_0x2a04cf++)_0x4e3db7[_0x2a04cf]['isAdded']&&(_0x5adb25[_0x2a04cf]['isAdded']=_0x4e3db7[_0x2a04cf]['isAdded']);}['_getDiff'](_0x7b4f5b,_0x2ac863=null){const _0x652c6f=this['repository']['getRevision'](_0x7b4f5b),_0x4161a5=_0x2ac863?this['repository']['getRevision'](_0x2ac863):null,_0x372c0f=this['_getRevisionsRange'](_0x652c6f,_0x4161a5),_0x3b015f=_0x372c0f[_0x372c0f['length']-0x1],_0x30acaf=new Map(),_0x2c1005={'model':{},'attributes':{},'changes':[]},_0x58a22c=new Set(),_0x8f8580=new Map();for(let _0x38eba7=_0x372c0f['length']-0x1;_0x38eba7>=0x0;_0x38eba7--){const _0x4b6c37=_0x372c0f[_0x38eba7];for(const _0x53d423 of Object['keys'](_0x4b6c37['diffData']))if(_0x4b6c37['diffData'][_0x53d423]['attachChange']){const _0x3b2787=_0x4b6c37['diffData'][_0x53d423]['attachChange'];_0x3b2787['isAttached']?(_0x58a22c['add'](_0x53d423),_0x8f8580['has'](_0x53d423)&&_0x8f8580['get'](_0x53d423)['userId']==_0x3b2787['userId']?_0x8f8580['delete'](_0x53d423):_0x8f8580['set'](_0x53d423,_0x3b2787)):_0x8f8580['has'](_0x53d423)?(_0x58a22c['delete'](_0x53d423),_0x8f8580['delete'](_0x53d423)):(_0x58a22c['add'](_0x53d423),_0x8f8580['set'](_0x53d423,_0x3b2787));}else _0x58a22c['add'](_0x53d423);}for(const _0x3081a3 of _0x58a22c){const _0x2bb3dc=_0x8f8580['has'](_0x3081a3)&&!_0x8f8580['get'](_0x3081a3)['isAttached'];let _0x341c5c=_0x2bb3dc?_0x372c0f['length']-0x1:0x0;const _0x356b2a=_0x2bb3dc?-0x1:0x1;for(;_0x372c0f[_0x341c5c];){const _0x5bb5c6=_0x372c0f[_0x341c5c];if(_0x5bb5c6['diffData'][_0x3081a3]){const _0x5714eb=_0x2bb3dc?_0x5bb5c6['diffData'][_0x3081a3]['attributesBefore']:_0x5bb5c6['diffData'][_0x3081a3]['attributesAfter'];_0x2c1005['attributes'][_0x3081a3]=_0x5714eb?_0xf3eb06(_0x5714eb):{};break;}_0x341c5c+=_0x356b2a;}}for(const _0x480461 of _0x372c0f){_0x480461['model']={};for(const _0x343bd3 of _0x480461['authors'])_0x30acaf['set'](_0x343bd3['id'],_0x343bd3);for(const _0x20d15e of _0x58a22c){const _0x1c7dd4=_0x480461['diffData'][_0x20d15e]?_0x480461['diffData'][_0x20d15e]['insertions']:'[]',_0x2a95ce=_0x480461['diffData'][_0x20d15e]?_0x480461['diffData'][_0x20d15e]['deletions']:'[]';_0x480461['model'][_0x20d15e]={'insertions':this['_utils']['_makeModelFromViewString'](_0x1c7dd4),'deletions':this['_utils']['_makeModelFromViewString'](_0x2a95ce)};}}for(const _0x3bf04c of _0x58a22c){let _0xd744a9=null,_0x166812=0x0;const _0x139ea9=new Map(Array['from'](_0x652c6f['model'][_0x3bf04c]['insertions']['markers'])['filter'](([_0x118212])=>!_0x118212['startsWith']('revision:')));let _0x1f4efb=0x0;for(const _0xaa1b4f of _0x372c0f){const _0xc4c82e=this['_makeTape'](_0xaa1b4f['model'][_0x3bf04c]['insertions']);_0xaa1b4f==_0x652c6f?(_0xd744a9=_0xc4c82e,_0x166812=_0xd744a9['length'],_0xd744a9['forEach'](_0x79ae9b=>{_0x79ae9b['id']=_0x1f4efb++;}),this['_processTape'](_0xd744a9)):this['_markInsertions'](_0xd744a9,_0xc4c82e);const _0x38ab51=_0xd744a9['filter'](_0x43a483=>!_0x43a483['isAdded'])['map'](_0x2e1c74=>_0x2e1c74['id']);let _0x56ea37=0x0;const _0x1eca20=this['_makeTape'](_0xaa1b4f['model'][_0x3bf04c]['deletions']);_0x1eca20['forEach'](_0x2588e3=>{_0x2588e3['isRemoved']?_0x2588e3['id']=_0x166812++:_0x2588e3['id']=_0x38ab51[_0x56ea37++];}),this['_processTape'](_0x1eca20),this['_setDistance'](_0xd744a9,'isAdded'),this['_setDistance'](_0x1eca20,'isRemoved'),_0xaa1b4f==_0x652c6f&&this['_markMarkers'](_0xd744a9,_0x139ea9),_0xd744a9=this['_joinTapes'](_0xd744a9,_0x1eca20),this['_refreshStartEndIndex'](_0xd744a9),this['_setDistance'](_0xd744a9,'isRemoved');}_0xd744a9=_0xd744a9['filter'](_0x2412c8=>!(_0x2412c8['isAdded']&&_0x2412c8['isRemoved']));const _0x18cc78=new Map(_0x3b015f['model'][_0x3bf04c]['deletions']['markers']),_0x56c185=new Set(_0x139ea9['keys']());for(const _0x389a2d of _0x18cc78['keys']())_0x56c185['delete'](_0x389a2d);this['_markSuggestions'](_0xd744a9,_0x56c185),this['_fixObsoleteTags'](_0xd744a9),_0xd744a9=this['_removeMissingPairs'](_0xd744a9),_0xd744a9=this['_markMismatchedRemovedTags'](_0xd744a9),_0xd744a9=this['_removeUnsupportedChanges'](_0xd744a9);const {root:_0x5b6284,changes:_0x57f302}=this['_makeModelFromTape'](_0xd744a9,_0x30acaf,_0x3bf04c);_0x2c1005['model'][_0x3bf04c]=_0x5b6284;const _0x4325bb=_0x8f8580['get'](_0x3bf04c);if(_0x4325bb){const _0x21b44b=_0x30acaf['get'](_0x4325bb['userId']),_0x1cecd4=new ChangeItem({'author':_0x21b44b,'type':_0x4325bb['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3bf04c});_0x57f302['unshift'](_0x1cecd4),_0x2c1005['attributes'][_0x3bf04c]['revisionHistoryAttachChange']=_0x1cecd4['id'];}_0x2c1005['changes']=_0x2c1005['changes']['concat'](_0x57f302);}return _0x2c1005;}['_markMarkers'](_0x5a0ba1,_0xddb464){for(let _0x4a4812=0x0;_0x4a4812<_0x5a0ba1['length'];_0x4a4812++)for(const [_0x151d67,_0xd80cc0]of _0xddb464)!_0xd80cc0['isCollapsed']&&_0xd80cc0['start']['isEqual'](_0x5a0ba1[_0x4a4812]['previousPosition'])&&_0x5a0ba1[_0x4a4812]['markersStart']['push'](_0x151d67),_0xd80cc0['end']['isEqual'](_0x5a0ba1[_0x4a4812]['nextPosition'])&&_0x5a0ba1[_0x4a4812]['markersEnd']['push'](_0x151d67);}['_joinTapes'](_0x5b2ec8,_0x3166bf){let _0xf1321a=[],_0x48f6e3=0x0,_0x12b762=0x0;for(;_0x48f6e3<_0x5b2ec8['length']||_0x12b762<_0x3166bf['length'];){const _0x4fc908=_0x5b2ec8[_0x48f6e3]||{},_0xb6b2e7=_0x3166bf[_0x12b762]||{};if(_0x4fc908['id']==_0xb6b2e7['id'])_0x48f6e3++,_0x12b762++,_0xf1321a['push'](_0x4fc908);else{if(_0xb6b2e7['isRemoved']&&_0x4fc908['isAdded']){const {commonTape:_0x19f8b5,iEnd:_0x26061a,jEnd:_0x51bdc4}=this['_threeWayMerge'](_0x5b2ec8,_0x48f6e3,_0x3166bf,_0x12b762);_0xf1321a=_0xf1321a['concat'](_0x19f8b5),_0x48f6e3=_0x26061a,_0x12b762=_0x51bdc4;}else _0xb6b2e7['isRemoved']?(_0x12b762++,_0xf1321a['push'](_0xb6b2e7)):(_0x48f6e3++,_0xf1321a['push'](_0x4fc908));}}return _0xf1321a;}['_markSuggestions'](_0x5e9792,_0x3703a4){const _0x44bb8a=[];for(let _0x4535cc=0x0;_0x4535cc<_0x5e9792['length'];_0x4535cc++){for(let _0x22758d=0x0;_0x22758d<_0x5e9792[_0x4535cc]['markersStart']['length'];_0x22758d++){const _0x5d0ae7=_0x5e9792[_0x4535cc]['markersStart'][_0x22758d];if(!_0x3703a4['has'](_0x5d0ae7))continue;const {group:_0x30ad2e,type:_0x199c82,authorId:_0x3bd8e9}=_0x265916(_0x5d0ae7);'revision-suggestion'!=_0x30ad2e||'insertion'!=_0x199c82&&'deletion'!=_0x199c82||(_0x44bb8a['unshift']({'type':_0x199c82,'name':_0x5d0ae7,'userId':_0x3bd8e9}),_0x5e9792[_0x4535cc]['markersStart']['splice'](_0x22758d,0x1),_0x22758d--);}_0xb4fbce(_0x5e9792[_0x4535cc]);for(let _0xf6ff11=0x0;_0xf6ff11<_0x5e9792[_0x4535cc]['markersEnd']['length'];_0xf6ff11++){const _0x3c9f93=_0x5e9792[_0x4535cc]['markersEnd'][_0xf6ff11];if(!_0x3703a4['has'](_0x3c9f93))continue;const {group:_0x2a0b56,type:_0x2ebcf0}=_0x265916(_0x3c9f93);if('revision-suggestion'!=_0x2a0b56||'insertion'!=_0x2ebcf0&&'deletion'!=_0x2ebcf0)continue;_0x5e9792[_0x4535cc]['markersEnd']['splice'](_0xf6ff11,0x1),_0xf6ff11--;const _0x179bde=_0x44bb8a['findIndex'](_0x596cd4=>_0x596cd4['name']==_0x3c9f93);_0x179bde>-0x1&&_0x44bb8a['splice'](_0x179bde,0x1);}}function _0x265916(_0x4059d2){const _0x5a5a7f=_0x4059d2['split'](':');return{'group':_0x5a5a7f[0x0],'type':_0x5a5a7f[0x1],'subType':_0x5a5a7f['length']>=0x5?_0x5a5a7f[0x2]:null,'id':_0x5a5a7f['length']<0x5?_0x5a5a7f[0x2]:_0x5a5a7f[0x3],'authorId':_0x5a5a7f['length']<0x5?_0x5a5a7f[0x3]:_0x5a5a7f[0x4],'markerCount':0x6==_0x5a5a7f['length']?_0x5a5a7f[0x5]:null};}function _0xb4fbce(_0x8b2da2){for(let _0x42f597=0x0;_0x42f597<_0x44bb8a['length'];_0x42f597++){if(_0x8b2da2['isAdded']&&'insertion'==_0x44bb8a[_0x42f597]['type']&&_0x8b2da2['isAdded']['userId']==_0x44bb8a[_0x42f597]['userId'])return _0x8b2da2['isAddSuggestion']=_0x44bb8a[_0x42f597],void delete _0x8b2da2['isAdded'];if(!_0x8b2da2['isAdded']&&!_0x8b2da2['isRemoved']&&'deletion'==_0x44bb8a[_0x42f597]['type'])return void(_0x8b2da2['isRemoveSuggestion']=_0x44bb8a[_0x42f597]);}}}['_setDistance'](_0x421b7b,_0x35f4d0){let _0x22c06e=0x0,_0x3c4356=!0x1;const _0x21ad99=new Map();for(const _0x2e632c of _0x421b7b)_0x2e632c[_0x35f4d0]?_0x3c4356&&(_0x22c06e++,_0x3c4356=!0x1):(_0x22c06e++,_0x3c4356=!0x0),_0x21ad99['set'](_0x2e632c['id'],_0x22c06e);for(let _0x56f61c=0x0;_0x56f61c<_0x421b7b['length'];_0x56f61c++){if('isRemoved'==_0x35f4d0&&_0x421b7b[_0x56f61c]['isAdded']||'isAdded'==_0x35f4d0&&_0x421b7b[_0x56f61c]['isRemoved'])continue;if('text'==_0x421b7b[_0x56f61c]['type']){_0x421b7b[_0x56f61c]['distance']=0x0;continue;}const _0x2353c9=_0x21ad99['get'](_0x421b7b[_0x56f61c]['pairId']),_0x4e20f8=_0x21ad99['get'](_0x421b7b[_0x56f61c]['id']);_0x421b7b[_0x56f61c]['distance']=_0x2353c9-_0x4e20f8;}}['_getRevisionsRange'](_0x3a2356,_0x1c0b78,_0x129e8d=!0x1){const _0x1dbee2=[];let _0x32eaa3=this['repository']['getIndex'](_0x3a2356),_0x1b20e8=this['repository']['getIndex'](_0x1c0b78);for(-0x1==_0x1b20e8&&(_0x1b20e8=this['repository']['_revisions']['length'],_0x129e8d=!0x1);_0x32eaa3<_0x1b20e8;)_0x1dbee2['push'](this['repository']['getRevision'](_0x32eaa3)),_0x32eaa3++;return _0x129e8d&&_0x1dbee2['push'](this['repository']['getRevision'](_0x32eaa3)),_0x1dbee2;}['_threeWayMerge'](_0x25677a,_0x16cb9c,_0x59336c,_0x2da34d){const _0x2806f1=this['editor']['model']['schema'];let _0x245a18=_0x16cb9c;for(;_0x25677a[_0x245a18]&&_0x25677a[_0x245a18]['isAdded'];)_0x245a18++;let _0x2df701=_0x2da34d;for(;_0x59336c[_0x2df701]&&_0x59336c[_0x2df701]['isRemoved'];)_0x2df701++;_0x50f320(_0x25677a,_0x16cb9c,_0x245a18),_0x50f320(_0x59336c,_0x2da34d,_0x2df701);const _0x587199=_0x59336c['slice'](_0x2da34d,_0x2df701)['concat'](_0x25677a['slice'](_0x16cb9c,_0x245a18));return _0x587199['sort']((_0x32ed13,_0x3a34e6)=>_0x32ed13['side']!=_0x3a34e6['side']?_0x32ed13['side']-_0x3a34e6['side']:_0x32ed13['level']!=_0x3a34e6['level']?_0x32ed13['level']-_0x3a34e6['level']:_0x32ed13['distance']!=_0x3a34e6['distance']?_0x3a34e6['distance']-_0x32ed13['distance']:!!_0x32ed13['isAdded']!=!!_0x3a34e6['isAdded']?-0x1==_0x32ed13['side']||0x0==_0x32ed13['side']?_0x32ed13['isAdded']?-0x1:0x1:_0x32ed13['isAdded']?0x1:-0x1:_0x32ed13['index']-_0x3a34e6['index']),{'commonTape':_0x587199,'iEnd':_0x245a18,'jEnd':_0x2df701};function _0x50f320(_0x4e9067,_0x351334,_0x185442){let _0x8b2472=-0x1,_0xf41677=Number['POSITIVE_INFINITY'],_0x5ef4b6=!0x0;for(let _0x1707cc=_0x351334;_0x1707cc<_0x185442;_0x1707cc++)if(_0x2806f1['isInline'](_0x4e9067[_0x1707cc]['item'])||(_0x5ef4b6=!0x1),_0x4e9067[_0x1707cc]['item']['startIndex']<_0x351334&&(_0x8b2472=_0x1707cc),_0x4e9067[_0x1707cc]['item']['endIndex']>=_0x185442){_0xf41677=_0x1707cc;break;}_0x5ef4b6&&(_0x8b2472=_0x185442-0x1);for(let _0x413b17=_0x351334;_0x413b17<_0x185442;_0x413b17++)_0x4e9067[_0x413b17]['side']=_0x413b17<=_0x8b2472?-0x1:_0x413b17<_0xf41677?0x0:0x1,_0x4e9067[_0x413b17]['index']=_0x413b17;let _0xaaf71=0x0;for(let _0x255330=_0x351334;_0x255330<=_0x8b2472;_0x255330++)0x0==_0x4e9067[_0x255330]['distance']?_0x4e9067[_0x255330]['level']=_0xaaf71:(_0xaaf71++,_0x4e9067[_0x255330]['level']=_0xaaf71,_0xaaf71++);for(let _0x45724b=_0x351334;_0x45724b<_0x185442;_0x45724b++)0x0==_0x4e9067[_0x45724b]['side']&&(_0x4e9067[_0x45724b]['level']=_0xaaf71);_0xaaf71=0x0;for(let _0x4fe046=_0x185442-0x1;_0x4fe046>=_0xf41677;_0x4fe046--)0x0==_0x4e9067[_0x4fe046]['distance']?_0x4e9067[_0x4fe046]['level']=_0xaaf71:(_0xaaf71--,_0x4e9067[_0x4fe046]['level']=_0xaaf71,_0xaaf71--);}}['_fixObsoleteTags'](_0x3e6a50){const _0x4d523e=new Map(),_0x132273=this['editor']['model']['schema'];for(let _0x936c42=0x1;_0x936c42<_0x3e6a50['length'];_0x936c42++){let _0x10c139,_0x5591ec,_0xda55ad;const _0x1d119d=_0x3e6a50[_0x936c42],_0x331ff1=_0x3e6a50[_0x936c42-0x1];if('text'==_0x1d119d['type'])continue;if(_0x1d119d['type']!=_0x331ff1['type'])continue;if(!_0x132273['isBlock'](_0x331ff1['item'])||_0x132273['isLimit'](_0x331ff1['item']))continue;if(!_0x132273['isBlock'](_0x1d119d['item'])||_0x132273['isLimit'](_0x1d119d['item']))continue;if((_0x3e6a50[_0x936c42]['isAdded']||_0x3e6a50[_0x936c42]['isAddSuggestion'])&&_0x3e6a50[_0x936c42-0x1]['isRemoved'])_0x10c139=_0x3e6a50[_0x936c42],_0x5591ec=_0x3e6a50[_0x936c42-0x1],_0xda55ad=_0x936c42-0x1;else{if(!_0x3e6a50[_0x936c42]['isRemoved']||!_0x3e6a50[_0x936c42-0x1]['isAdded']&&!_0x3e6a50[_0x936c42-0x1]['isAddSuggestion'])continue;_0x10c139=_0x3e6a50[_0x936c42-0x1],_0x5591ec=_0x3e6a50[_0x936c42],_0xda55ad=_0x936c42;}const _0x58fd56=_0x10c139['level']==_0x5591ec['level'],_0xc1834c=Math['abs'](_0x10c139['level'])<Math['abs'](_0x5591ec['level'])&&0x0==_0x5591ec['distance'];(_0x58fd56||_0xc1834c)&&(_0x4d523e['set'](_0x5591ec['id'],_0x10c139['id']),_0x3e6a50['splice'](_0xda55ad,0x1),_0x936c42--,_0x10c139['isAdded']=!0x1);}for(let _0x1dd712=0x0;_0x1dd712<_0x3e6a50['length'];_0x1dd712++)_0x4d523e['has'](_0x3e6a50[_0x1dd712]['pairId'])&&(_0x3e6a50[_0x1dd712]['pairId']=_0x4d523e['get'](_0x3e6a50[_0x1dd712]['pairId']));}['_removeMissingPairs'](_0x5967bf){const _0x435f74=new Set(_0x5967bf['map'](_0x1a8f6b=>_0x1a8f6b['id']));for(let _0x32e55c=0x0;_0x32e55c<_0x5967bf['length'];_0x32e55c++)_0x435f74['has'](_0x5967bf[_0x32e55c]['pairId'])||0x0==_0x5967bf[_0x32e55c]['distance']||(_0x5967bf[_0x32e55c]['isIncorrect']=!0x0);return _0x5967bf['filter'](_0x5015e8=>!_0x5015e8['isIncorrect']);}['_markMismatchedRemovedTags'](_0xd4e052){const _0x9076d4=new Set();for(let _0x187a05=0x0;_0x187a05<_0xd4e052['length'];_0x187a05++){if(_0x9076d4['has'](_0xd4e052[_0x187a05]['id'])&&_0xd4e052[_0x187a05]['isRemoved']&&(_0xd4e052[_0x187a05]['isIncorrect']=!0x0),_0xd4e052[_0x187a05]['isIncorrect'])continue;if(0x0==_0xd4e052[_0x187a05]['distance'])continue;if('elementStart'!=_0xd4e052[_0x187a05]['type'])continue;if(null==_0xd4e052[_0x187a05]['pairId'])continue;let _0x4162bf=_0x187a05+0x1,_0x403d1b=0x0;for(;_0xd4e052[_0x4162bf]['id']!=_0xd4e052[_0x187a05]['pairId'];)'elementStart'==_0xd4e052[_0x4162bf]['type']?_0x403d1b++:'elementEnd'==_0xd4e052[_0x4162bf]['type']&&_0x403d1b--,_0x4162bf++;if(0x0!=_0x403d1b){if(_0xd4e052[_0x187a05]['isRemoved'])_0xd4e052[_0x187a05]['isIncorrect']=!0x0;else{for(;_0x4162bf!=_0x187a05;)_0xd4e052[_0x4162bf]['isRemoved']&&0x0!=_0xd4e052[_0x4162bf]['distance']&&(_0xd4e052[_0x4162bf]['isIncorrect']=!0x0,_0x9076d4['add'](_0xd4e052[_0x4162bf]['pairId'])),_0x4162bf--;}}}return _0xd4e052['filter'](_0x4d347a=>!_0x4d347a['isIncorrect']);}['_removeUnsupportedChanges'](_0x2c4690){const _0x1d82ab=this['editor']['model']['schema'];for(let _0x58d207=0x0;_0x58d207<_0x2c4690['length'];_0x58d207++){if(!(_0x2c4690[_0x58d207]['isAdded']||_0x2c4690[_0x58d207]['isAddSuggestion']||_0x2c4690[_0x58d207]['isRemoved']||_0x2c4690[_0x58d207]['isRemoveSuggestion']))continue;if(0x0==_0x2c4690[_0x58d207]['distance'])continue;const _0x3ab17c=_0x2c4690[_0x58d207]['item'];_0x1d82ab['isBlock'](_0x3ab17c)||_0x1d82ab['isLimit'](_0x3ab17c)||(_0x2c4690[_0x58d207]['isAdded']&&delete _0x2c4690[_0x58d207]['isAdded'],_0x2c4690[_0x58d207]['isAddSuggestion']&&delete _0x2c4690[_0x58d207]['isAddSuggestion'],_0x2c4690[_0x58d207]['isRemoveSuggestion']&&delete _0x2c4690[_0x58d207]['isRemoveSuggestion'],_0x2c4690[_0x58d207]['isRemoved']&&(_0x2c4690[_0x58d207]['isIncorrect']=!0x0));}return _0x2c4690['filter'](_0x1dd74e=>!_0x1dd74e['isIncorrect']);}['_makeModelFromTape'](_0x81d491,_0x4267f5,_0x569b28){const _0x13de59=new ckeditor5['ModelDocumentFragment'](),_0x52ea27=[],_0xe3ad6a=new Map(),_0xf3ae8b=this['editor']['model'],_0xa60495=_0xf3ae8b['schema'],_0x407e6b=[_0x13de59],_0x1f3c7f={},_0x47bf87={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x15b4bb=null;const _0x242c32=[0x0];for(let _0x2f2045=0x0;_0x2f2045<_0x81d491['length'];_0x2f2045++)if('elementStart'===_0x81d491[_0x2f2045]['type']){_0x81d491[_0x2f2045]['previousPosition']=_0xf3ae8b['createPositionFromPath'](_0x13de59,_0x242c32);const _0x55ebdd=new ckeditor5['ModelElement'](_0x81d491[_0x2f2045]['item']['name'],_0x81d491[_0x2f2045]['item']['getAttributes']());_0x407e6b[0x0]['_appendChild'](_0x55ebdd),_0x242c32['push'](0x0),_0x407e6b['unshift'](_0x55ebdd),_0x81d491[_0x2f2045]['nextPosition']=_0xf3ae8b['createPositionFromPath'](_0x13de59,_0x242c32);}else'elementEnd'===_0x81d491[_0x2f2045]['type']?(_0x407e6b['shift'](),_0x81d491[_0x2f2045]['previousPosition']=_0xf3ae8b['createPositionFromPath'](_0x13de59,_0x242c32),_0x242c32['pop'](),_0x242c32[_0x242c32['length']-0x1]++,_0x81d491[_0x2f2045]['nextPosition']=_0xf3ae8b['createPositionFromPath'](_0x13de59,_0x242c32)):(_0x81d491[_0x2f2045]['previousPosition']=_0xf3ae8b['createPositionFromPath'](_0x13de59,_0x242c32),_0x15b4bb?_0x15b4bb['_data']+=_0x81d491[_0x2f2045]['item']['data']:_0x15b4bb=new ckeditor5['ModelText'](_0x81d491[_0x2f2045]['item']['data'],_0x81d491[_0x2f2045]['item']['getAttributes']()),_0x81d491[_0x2f2045+0x1]&&'text'===_0x81d491[_0x2f2045+0x1]['type']&&_0x5b1fe3(_0x15b4bb,_0x81d491[_0x2f2045+0x1]['item'])||(_0x407e6b[0x0]['_appendChild'](_0x15b4bb),_0x15b4bb=null),_0x242c32[_0x242c32['length']-0x1]+=_0x81d491[_0x2f2045]['item']['offsetSize'],_0x81d491[_0x2f2045]['nextPosition']=_0xf3ae8b['createPositionFromPath'](_0x13de59,_0x242c32));for(let _0x38adfb=0x0;_0x38adfb<_0x81d491['length'];_0x38adfb++){const _0x1d547d=_0x81d491[_0x38adfb]['previousPosition'],_0x36543b=_0x81d491[_0x38adfb]['nextPosition'];for(const _0x1625d8 of _0x81d491[_0x38adfb]['markersStart'])_0xe3ad6a['set'](_0x1625d8,{'start':_0x1d547d,'end':null});_0x4d6ed6('isRemoveSuggestion',_0x38adfb,_0x1d547d,_0x36543b),_0x4d6ed6('isAddSuggestion',_0x38adfb,_0x1d547d,_0x36543b),_0x4d6ed6('isRemoved',_0x38adfb,_0x1d547d,_0x36543b),_0x4d6ed6('isAdded',_0x38adfb,_0x1d547d,_0x36543b);for(const _0x2b04e0 of _0x81d491[_0x38adfb]['markersEnd']){const _0x107580=_0xe3ad6a['get'](_0x2b04e0);_0x107580?_0x107580['end']=_0x36543b:_0xe3ad6a['set'](_0x2b04e0,{'start':_0x36543b,'end':_0x36543b});}}for(const [_0x447058,_0x2e3ac2]of _0xe3ad6a){const _0x25a9d6=this['editor']['model']['createRange'](_0x2e3ac2['start'],_0x2e3ac2['end']);_0x13de59['markers']['set'](_0x447058,_0x25a9d6);}return _0x52ea27['sort']((_0x174ba4,_0x2a3540)=>{const _0x1cf72c=_0x13de59['markers']['get']('revision:'+_0x174ba4['id']),_0x5d9e66=_0x13de59['markers']['get']('revision:'+_0x2a3540['id']);return _0x1cf72c['start']['isBefore'](_0x5d9e66['start'])?-0x1:_0x1cf72c['start']['isAfter'](_0x5d9e66['start'])?0x1:_0x1cf72c['end']['isBefore'](_0x5d9e66['end'])?-0x1:_0x1cf72c['end']['isAfter'](_0x5d9e66['end'])?0x1:'add'===_0x174ba4['type']?-0x1:0x1;}),{'root':_0x13de59,'changes':_0x52ea27};function _0x4d6ed6(_0x18faae,_0x41cc0e,_0x35e9ec,_0x405c04){const _0xfd8ae2=!!_0x81d491[_0x41cc0e][_0x18faae],_0x3099b8=_0xfd8ae2?_0x81d491[_0x41cc0e][_0x18faae]['userId']:null,_0x479cb8=_0x41cc0e===_0x81d491['length']-0x1,_0x565233=_0x47bf87[_0x18faae][0x0],_0x4a3822=_0xa60495['isObject'](_0x81d491[_0x41cc0e]['item']);!_0x1f3c7f[_0x18faae]&&_0xfd8ae2?_0x1f3c7f[_0x18faae]={'start':_0x35e9ec,'tapeItem':_0x81d491[_0x41cc0e],'userId':_0x3099b8,'type':_0x18faae}:_0x1f3c7f[_0x18faae]&&!_0xfd8ae2?(_0x1f3c7f[_0x18faae]['end']=_0x35e9ec,_0x46dfff(_0x1f3c7f[_0x18faae]),_0x1f3c7f[_0x18faae]=null):_0x1f3c7f[_0x18faae]&&_0xfd8ae2&&_0x1f3c7f[_0x18faae]['userId']!==_0x3099b8&&(_0x1f3c7f[_0x18faae]['end']=_0x35e9ec,_0x565233&&_0x565233['userId']===_0x1f3c7f[_0x18faae]['userId']||_0x46dfff(_0x1f3c7f[_0x18faae]),_0x1f3c7f[_0x18faae]={'start':_0x35e9ec,'tapeItem':_0x81d491[_0x41cc0e],'userId':_0x3099b8,'type':_0x18faae}),_0x1f3c7f[_0x18faae]&&_0x4a3822&&('elementStart'!==_0x81d491[_0x41cc0e]['type']||_0x565233&&_0x565233['userId']===_0x3099b8||_0x47bf87[_0x18faae]['unshift']({'userId':_0x3099b8,'object':_0x81d491[_0x41cc0e]['item'],'change':_0x1f3c7f[_0x18faae]}),'elementEnd'===_0x81d491[_0x41cc0e]['type']&&_0x565233&&_0x565233['object']===_0x81d491[_0x41cc0e]['item']&&(_0x47bf87[_0x18faae]['shift'](),_0x1f3c7f[_0x18faae]=_0x565233['change'])),_0x1f3c7f[_0x18faae]&&_0x479cb8&&(_0x1f3c7f[_0x18faae]['end']=_0x405c04,_0x46dfff(_0x1f3c7f[_0x18faae]),_0x1f3c7f[_0x18faae]=null);}function _0x46dfff({start:_0x21c812,end:_0x2df2cc,tapeItem:_0x425377,userId:_0x17979e,type:_0x331b4f}){const _0x5dad7c=_0x425377['item'],_0x39adb1=_0xf3ae8b['schema']['isBlock'](_0x5dad7c)&&!_0xf3ae8b['schema']['isLimit'](_0x5dad7c),_0xd5fe7a=_0x21c812['nodeAfter']==_0x2df2cc['parent']&&_0x2df2cc['isAtStart'];if(_0x39adb1&&_0xd5fe7a)return;const _0x2fb9fd=_0xf3ae8b['createRange'](_0x21c812,_0x2df2cc),_0x50e237=_0x4267f5['get'](_0x17979e),_0x320772=new ChangeItem({'author':_0x50e237,'type':'isAdded'==_0x331b4f||'isAddSuggestion'==_0x331b4f?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x331b4f||'isRemoveSuggestion'==_0x331b4f},'createdAt':new Date(),'rootName':_0x569b28});_0x52ea27['push'](_0x320772),_0x13de59['markers']['set']('revision:'+_0x320772['id'],_0x2fb9fd);}function _0x5b1fe3(_0x132127,_0x334388){const _0x2e72af=_0x132127['getAttributes'](),_0x304fd7=_0x334388['getAttributes']();for(const _0x1acd2b of _0x2e72af){if(_0x1acd2b[0x1]!==_0x334388['getAttribute'](_0x1acd2b[0x0]))return!0x1;_0x304fd7['next']();}return _0x304fd7['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0xe3f293=>{const _0x1a6662=_0xe3f293['markerName']['split'](':')[0x1],_0x502b7e=this['_getChangeFromId'](_0x1a6662);if(!_0x502b7e)return null;const _0x55c5f8='add'==_0x502b7e['type']?'insertion':'deletion',_0x1e4b1c=['ck-suggestion-marker','ck-suggestion-marker-'+_0x55c5f8];return _0x502b7e['data']['isSuggestion']&&_0x1e4b1c['push']('ck-suggestion-marker-'+_0x55c5f8+'-new'),this['activeChange']==_0x502b7e&&_0x1e4b1c['push']('ck-suggestion-marker--active'),{'classes':_0x1e4b1c,'attributes':{'data-change-id':_0x1a6662}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x365988=>{_0x365988['on']('element:pre',(_0x2b0745,_0x22331e,_0x1bed0f)=>{const _0x3a8ccc=_0x22331e['viewItem']['getChild'](0x0);if(!_0x3a8ccc||!_0x3a8ccc['is']('element','code'))return;if(!_0x1bed0f['consumable']['consume'](_0x3a8ccc,{'attributes':['vid_start','vid_end']}))return;const _0x53784b=_0x22331e['modelRange']['start']['nodeAfter'];_0x1bed0f['writer']['setAttribute']('vid_start',_0x3a8ccc['getAttribute']('vid_start'),_0x53784b),_0x1bed0f['writer']['setAttribute']('vid_end',_0x3a8ccc['getAttribute']('vid_end'),_0x53784b);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x98a098=>{_0x98a098['on']('element',(_0x24a9bb,_0x525a0a,_0x145074)=>{if(!_0x145074['consumable']['consume'](_0x525a0a['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x525a0a['modelRange']['isCollapsed'])return;const _0x3e3d50=_0x525a0a['modelRange']['start']['nodeAfter'];_0x3e3d50['hasAttribute']('vid_start')||_0x3e3d50['hasAttribute']('vid')||(_0x145074['writer']['setAttribute']('vid_start',_0x525a0a['viewItem']['getAttribute']('vid_start'),_0x3e3d50),_0x145074['writer']['setAttribute']('vid_end',_0x525a0a['viewItem']['getAttribute']('vid_end'),_0x3e3d50));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4e0570=>_0x4e0570['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x5de7f4,[,_0x5f5337])=>{['vid_start','vid_end','vid']['includes'](_0x5f5337)&&(_0x5de7f4['return']=!0x0,_0x5de7f4['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x268645=>{_0x268645['on']('attribute:vid',(_0x49af47,_0x25010e,_0x303f39)=>{if('\x20'!=_0x25010e['item']['data']||_0x25010e['item']['parent']['maxOffset']>0x1)return;if(!_0x303f39['consumable']['consume'](_0x25010e['item'],_0x49af47['name']))return;const _0x2bc84a=_0x303f39['writer'],_0x408e7f=_0x303f39['mapper']['toViewRange'](_0x25010e['range']);_0x2bc84a['wrap'](_0x408e7f,_0x2bc84a['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',(_0x129c35,_0xbf8a3,_0x140ec2)=>{const _0x501c35=_0x140ec2['mapper']['markerNameToElements'](_0xbf8a3['markerName']);if(_0x501c35){for(const _0x16cb62 of _0x501c35)(_0x16cb62['hasClass']('ck-suggestion-marker-split')||_0x16cb62['hasClass']('ck-suggestion-marker-merge'))&&(_0x140ec2['mapper']['unbindElementFromMarkerName'](_0x16cb62,_0xbf8a3['markerName']),_0x140ec2['writer']['remove'](_0x16cb62));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x1295ce,_0x2a81dc,_0x52cccd)=>{const _0x49e71b=_0x2a81dc['markerName']['split'](':')[0x1],_0x5addc6=this['_getChangeFromId'](_0x49e71b);if(!_0x5addc6)return null;const _0x4e0eae='add'==_0x5addc6['type']?'split':'merge';if(_0x52cccd['consumable']['test'](_0x2a81dc['markerRange'],_0x1295ce['name']))for(const _0x1da19f of _0x2a81dc['markerRange']['getItems']()){if(!_0x1da19f['is']('element','softBreak'))continue;const _0x2d836d=_0x52cccd['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4e0eae}),_0xa59a66=_0x52cccd['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x1da19f));_0x5addc6['data']['isSuggestion']&&_0x52cccd['writer']['addClass']('ck-suggestion-marker-'+_0x4e0eae+'-new',_0x2d836d),this['activeChange']==_0x5addc6&&_0x52cccd['writer']['addClass']('ck-suggestion-marker--active',_0x2d836d),_0x52cccd['writer']['insert'](_0xa59a66,_0x2d836d),_0x52cccd['mapper']['bindElementToMarker'](_0x2d836d,_0x2a81dc['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x1ae988=>{for(const _0x57ce0b of this['editor']['model']['document']['getRootNames']()){const _0x29b5f1=this['editor']['model']['document']['getRoot'](_0x57ce0b),_0x6f92d1=this['editor']['editing']['view']['document']['getRoot'](_0x57ce0b);if(_0x6f92d1){const _0x1380a6=_0x29b5f1['getAttribute']('revisionHistoryAttachChange');if(_0x1ae988['removeAttribute']('data-change-id',_0x6f92d1),_0x1ae988['removeClass']('ck-revision-history-root-add',_0x6f92d1),_0x1ae988['removeClass']('ck-revision-history-root-remove',_0x6f92d1),_0x1ae988['removeClass']('ck-revision-history-root--active',_0x6f92d1),_0x1380a6){const _0x3c1109=this['_getChangeFromId'](_0x1380a6);if(!_0x3c1109)return null;_0x1ae988['setAttribute']('data-change-id',_0x1380a6,_0x6f92d1),_0x1ae988['addClass']('ck-revision-history-root-'+_0x3c1109['type'],_0x6f92d1),this['activeChange']==_0x3c1109&&_0x1ae988['addClass']('ck-revision-history-root--active',_0x6f92d1);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x234641=>'revision-comment:'+_0x234641,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x1d42d=>'revision-suggestion:'+_0x1d42d,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x3b8787=>({'name':'suggestion:'+_0x3b8787,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x599ce2=>{const _0x13a994=_0x599ce2['markerName']['split'](':')[0x1];return'insertion'!=_0x13a994&&'deletion'!=_0x13a994?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x13a994]};}}),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',(_0x505d34,_0x3d1d0a,_0x3923e5)=>{const _0x5edf3a=_0x3923e5['mapper']['markerNameToElements'](_0x3d1d0a['markerName']);if(_0x5edf3a){for(const _0x34f3ff of _0x5edf3a)_0x34f3ff['is']('uiElement')&&(_0x3923e5['mapper']['unbindElementFromMarkerName'](_0x34f3ff,_0x3d1d0a['markerName']),_0x3923e5['writer']['remove'](_0x34f3ff));}},{'priority':'high'});}['_getChangeFromId'](_0x3df2e2){return this['_changeIdToChange']['get'](_0x3df2e2);}['_getViewForChange'](_0x5b8ab9){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new ChangeDetailsView(this['editor']['locale'],_0x5b8ab9),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x3a6f4d,_0x22b58a,_0x1f6106,_0x4e6b90)=>{_0x4e6b90&&this['_balloon']['remove'](_0x4e6b90),_0x1f6106&&(this['_balloon']['add']({'view':_0x1f6106,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x465cfa=this['editor']['editing'],_0x32371b=this['_getChangeFromId'](_0x1f6106['changeId']);let _0xa40963;if(_0x32371b['data']['isOnRoot']){const _0x3fbfb8=_0x465cfa['view']['getDomRoot'](_0x32371b['rootName']);_0xa40963=Array['from'](_0x3fbfb8['getClientRects']());}else{const _0x2b3816=this['editor']['model']['markers']['get']('revision:'+_0x1f6106['changeId']);_0xa40963=Array['from'](_0x465cfa['mapper']['markerNameToElements'](_0x2b3816['name']))['map'](_0x25c962=>_0x465cfa['view']['domConverter']['mapViewToDom'](_0x25c962))['map'](_0x2ae1f4=>Array['from'](_0x2ae1f4['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0xa40963[0x0];return _0xa40963['find'](_0x5d6926=>_0x5d6926['top']-0x3<=this['_activeViewTarget']['y']&&_0x5d6926['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x5d6926['left']-0x3<=this['_activeViewTarget']['x']&&_0x5d6926['right']+0x3>=this['_activeViewTarget']['x'])||_0xa40963[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x22c038,_0x1e7ea5,_0x31121a,_0xa2106)=>{this['activeView']=_0x31121a?this['_getViewForChange'](_0x31121a):null,this['editor']['model']['change'](()=>{const _0x913e44=this['editor']['editing'];_0xa2106&&(_0xa2106['data']['isOnRoot']?_0x913e44['view']['change'](_0x30887e=>{_0x30887e['removeClass']('ck-revision-history-root--active',_0x913e44['view']['document']['getRoot'](_0xa2106['rootName']));}):_0x913e44['reconvertMarker']('revision:'+_0xa2106['id'])),_0x31121a&&(_0x31121a['data']['isOnRoot']?_0x913e44['view']['change'](_0x33a7a2=>{_0x33a7a2['addClass']('ck-revision-history-root--active',_0x913e44['view']['document']['getRoot'](_0x31121a['rootName']));}):_0x913e44['reconvertMarker']('revision:'+_0x31121a['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x18ca18,_0x238ef3)=>{if(this['activeChange'])return;const _0x41a566=this['_findChangeIdFromDomTarget'](_0x238ef3['target']),_0x5a221c=this['_changeIdToChange']['get'](_0x41a566);_0x5a221c?(this['_activeViewTarget']={'x':_0x238ef3['domEvent']['x'],'y':_0x238ef3['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x5a221c)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x1645ee,_0x368167)=>{const _0x2c9249=this['_findChangeIdFromDomTarget'](_0x368167['target']),_0x231d9c=this['_changeIdToChange']['get'](_0x2c9249);_0x231d9c?(this['_activeViewTarget']={'x':_0x368167['domEvent']['x'],'y':_0x368167['domEvent']['y']},_0x231d9c===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x231d9c):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x368a64){do{const _0xa417fd=_0x368a64['getAttribute']('data-change-id');if(_0xa417fd)return _0xa417fd;_0x368a64=_0x368a64['parent'];}while(_0x368a64);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x41e89c=>{for(const _0x3dbb2f of this['editor']['model']['markers'])_0x41e89c['removeMarker'](_0x3dbb2f);});}}function downcastSplitMergeMarker(_0x4952cf){const _0x338902=_0x4952cf['plugins']['get']('RevisionViewer');return(_0xf4fcf3,_0x241547,_0x4d4623)=>{const _0x150730=_0x241547['markerName']['split'](':')[0x1],_0x9579e9=_0x338902['_getChangeFromId'](_0x150730);if(!_0x9579e9)return null;const _0x2deabe='add'==_0x9579e9['type']?'split':'merge';if(!_0x4d4623['consumable']['test'](_0x241547['markerRange'],_0xf4fcf3['name']))return;const _0x59aac8=_0x241547['markerRange']['getWalker'](),_0x154731=_0x241547['markerRange']['start'],_0x59e035=_0x4952cf['model']['schema'];let _0x2bca60=null,_0x33e940=null,_0x5c7401=!0x1,_0x28aca0=!0x1;for(const _0x2003ba of _0x59aac8){const _0x23cb60=_0x2003ba['item'];_0x5c7401=_0x5c7401||_0x59e035['isContent'](_0x23cb60);const _0x3cfa09=_0x4d4623['mapper']['toViewElement'](_0x23cb60);if(_0x3cfa09&&_0x3cfa09['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2003ba['type']&&(_0x59e035['isBlock'](_0x23cb60)&&!_0x59e035['isLimit'](_0x23cb60)&&(_0x23cb60['nextSibling']||_0x154731['isAtEnd']?_0x2bca60&&_0x2bca60['parent']==_0x23cb60||(_0x2bca60=_0x23cb60,_0x22eb01(_0x2003ba['previousPosition']),_0x28aca0=!0x0):_0x33e940=_0x33e940||_0x2003ba['previousPosition']));}function _0x22eb01(_0x4eb2b9){const _0x3862a9=_0x4d4623['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2deabe}),_0x483b12=_0x4d4623['mapper']['toViewPosition'](_0x4eb2b9);_0x9579e9['data']['isSuggestion']&&_0x4d4623['writer']['addClass']('ck-suggestion-marker-'+_0x2deabe+'-new',_0x3862a9),_0x338902['activeChange']==_0x9579e9&&_0x4d4623['writer']['addClass']('ck-suggestion-marker--active',_0x3862a9),_0x4d4623['writer']['insert'](_0x483b12,_0x3862a9),_0x4d4623['mapper']['bindElementToMarker'](_0x3862a9,_0x241547['markerName']);}_0x5c7401||_0x28aca0||!_0x33e940||_0x22eb01(_0x33e940);};}function downcastSplitMergeMarkerSuggestion(_0x236e4d,_0xcaad4c){return(_0x1fac10,_0x21a5d6,_0x4f5874)=>{if(!_0x4f5874['consumable']['test'](_0x21a5d6['markerRange'],_0x1fac10['name']))return;const _0x441dc0=_0x21a5d6['markerRange']['getWalker'](),_0x4c73c3=_0x21a5d6['markerRange']['start'],_0x2e566b=_0x236e4d['model']['schema'];let _0x28db9d=null,_0x1f9d0b=null,_0x48bc81=!0x1,_0x85826b=!0x1;for(const _0x5a3e88 of _0x441dc0){const _0x2aadb2=_0x5a3e88['item'];_0x48bc81=_0x48bc81||_0x2e566b['isContent'](_0x2aadb2);const _0x35acd5=_0x4f5874['mapper']['toViewElement'](_0x2aadb2);if(_0x35acd5&&_0x35acd5['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5a3e88['type']&&(_0x2e566b['isBlock'](_0x2aadb2)&&!_0x2e566b['isLimit'](_0x2aadb2)&&(_0x2aadb2['nextSibling']||_0x4c73c3['isAtEnd']?_0x28db9d&&_0x28db9d['parent']==_0x2aadb2||(_0x28db9d=_0x2aadb2,_0x463021(_0x5a3e88['previousPosition']),_0x85826b=!0x0):_0x1f9d0b=_0x1f9d0b||_0x5a3e88['previousPosition']));}function _0x463021(_0x1d69b0){const _0x58c0f0=_0x4f5874['mapper']['toViewPosition'](_0x1d69b0),_0x1965a8=_0x4f5874['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xcaad4c});_0x4f5874['writer']['insert'](_0x58c0f0,_0x1965a8),_0x4f5874['mapper']['bindElementToMarker'](_0x1965a8,_0x21a5d6['markerName']);}_0x48bc81||_0x85826b||!_0x1f9d0b||_0x463021(_0x1f9d0b);};}class RestoreRevisionCommand extends ckeditor5['Command']{constructor(_0x4c72e0){super(_0x4c72e0);const _0x379b36=_0x4c72e0['plugins']['get'](_0xfe065c);this['affectsData']=!0x1,this['listenTo'](_0x379b36,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x379b36,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x4e5b2b=this['editor'],_0x5151cf=_0x4e5b2b['plugins']['get'](_0xfe065c),_0x165a55=_0x5151cf['isReady']?_0x5151cf['diff']['newRevisionId']:null;_0x4e5b2b['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x165a55);}['refresh'](){const {isReady:_0x437c26,isEnabled:_0x46e857,repository:_0x48ed72,diff:_0xc7b32f}=this['editor']['plugins']['get'](_0xfe065c),_0x3187ce=_0xc7b32f&&_0x48ed72['getLaterVisibleRevision'](_0xc7b32f['newRevisionId']);this['isEnabled']=_0x437c26&&_0x46e857&&Boolean(_0x3187ce);}}class _0x3276d5 extends ckeditor5['Command']{['_step'];constructor(_0x51640c,{direction:_0x433d4d}){super(_0x51640c);const _0x275729=_0x51640c['plugins']['get'](_0xfe065c);this['affectsData']=!0x1,this['_step']='forward'===_0x433d4d?0x1:-0x1,this['listenTo'](_0x275729,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x275729,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x275729,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x217476=this['editor'],_0xea50c6=_0x217476['plugins']['get'](_0xfe065c),{isNavigationMode:_0x49603c,currentChangeNumber:_0x417c8e}=_0xea50c6;let _0x171534;if(_0xea50c6['activeChange']=_0x49603c?_0xea50c6['diff']['changes']['get'](_0x417c8e+this['_step']):_0xea50c6['diff']['changes']['first'],_0xea50c6['activeChange']['data']['isOnRoot'])_0x171534=_0x217476['editing']['view']['getDomRoot'](_0xea50c6['activeChange']['rootName']);else{const _0x299624=_0x217476['model']['markers']['get']('revision:'+_0xea50c6['activeChange']['id']);_0x171534=getMarkerDomElement(_0x217476['editing'],_0x299624);}ckeditor5['scrollViewportToShowTarget']({'target':_0x171534,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3dfacd,currentChangeNumber:_0x367b5f,numberOfChanges:_0x45a3a8,isReady:_0x33c278,isEnabled:_0xb9c670}=this['editor']['plugins']['get'](_0xfe065c);this['isEnabled']=!!(_0xb9c670&&_0x33c278&&_0x45a3a8)&&(!_0x3dfacd||(0x1===this['_step']?_0x367b5f<_0x45a3a8-0x1:_0x367b5f>0x0));}}class ChangesNavigationView extends ckeditor5['View']{constructor(_0x1da5e3){super(_0x1da5e3);const _0x1d8b9d=this['bindTemplate'],_0x4e6def=new ckeditor5['ButtonView'](_0x1da5e3),_0x376b98=new ckeditor5['ButtonView'](_0x1da5e3);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',(_0x3c7895,_0x433495)=>_0x3c7895&&_0x433495>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x3789b9,_0x24cd74,_0x19bd5f,_0x19378f)=>{if(!_0x3789b9)return getTranslation$5(_0x1da5e3,'Loading...');if(!_0x19bd5f)return getTranslation$5(_0x1da5e3,'No\x20changes');const _0x38835e=getTranslation$5(_0x1da5e3,'NUMBER_OF_CHANGES',_0x19bd5f);return _0x19378f?getTranslation$5(_0x1da5e3,'X_OF_Y_CHANGES',[_0x24cd74+0x1,_0x19bd5f]):_0x38835e;}),_0x4e6def['set']({'label':getTranslation$5(_0x1da5e3,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':ckeditor5['IconChevronUp']}),_0x376b98['set']({'label':getTranslation$5(_0x1da5e3,'Show\x20next\x20change'),'tooltip':!0x0,'icon':ckeditor5['IconChevronDown']}),_0x4e6def['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x376b98['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x4e6def['on']('execute',()=>this['fire']('execute','backward')),_0x376b98['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',_0x1d8b9d['if']('_isStatusLabelVisible','ck-hidden',_0x174862=>!_0x174862)]},'children':[{'text':_0x1d8b9d['to']('isNavigationMode',_0x3a5d78=>_0x3a5d78?getTranslation$5(_0x1da5e3,'EDIT_X_OF_Y_REVISIONS')+':\x20':getTranslation$5(_0x1da5e3,'Total')+':\x20')}]},{'text':_0x1d8b9d['to']('_statusText')}]},new ckeditor5['ToolbarSeparatorView'](),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x4e6def,_0x376b98]}]});}}const _0x1c2325='ck-editor__editable__loading-overlay';class _0x5b22b6 extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x4caab5=this['editor']['editing']['view'];_0x4caab5['change'](_0x39bad8=>{for(const _0x504806 of _0x4caab5['document']['roots'])_0x39bad8['addClass'](_0x1c2325,_0x504806);});}['hide'](){const _0xfe7fba=this['editor']['editing']['view'];_0xfe7fba['change'](_0x1492e6=>{for(const _0x3b9c33 of _0xfe7fba['document']['roots'])_0x1492e6['removeClass'](_0x1c2325,_0x3b9c33);});}}class _0x6104f4 extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xfe065c,_0x5b22b6];}['init'](){const _0x237db5=this['editor'],_0x304f74=_0x237db5['plugins']['get'](_0xfe065c),_0xd5fac3=_0x237db5['plugins']['get'](_0x5b22b6);_0x237db5['ui']['componentFactory']['add']('exitToEditing',_0x3f7446=>{const _0x1e34e9=new ckeditor5['ButtonView'](_0x3f7446);return _0x1e34e9['set']({'label':getTranslation$5(_0x3f7446,'Back\x20to\x20editing'),'icon':ckeditor5['IconUndo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x1e34e9,'execute',()=>{_0x237db5['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x1e34e9;}),_0x237db5['ui']['componentFactory']['add']('restoreRevision',_0x7b7a85=>{const _0x51eff0=new ckeditor5['ButtonView'](_0x7b7a85);return _0x51eff0['set']({'label':getTranslation$5(_0x7b7a85,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x51eff0['bind']('isEnabled')['to'](_0x237db5['commands']['get']('restoreRevision')),this['listenTo'](_0x51eff0,'execute',()=>_0x237db5['execute']('restoreRevision')),_0x51eff0;}),_0x237db5['ui']['componentFactory']['add']('changesNavigation',_0x3d6be1=>{const _0xc8e764=new ChangesNavigationView(_0x3d6be1),_0x50b78e=_0x237db5['commands']['get']('showPreviousChange'),_0x33a2dd=_0x237db5['commands']['get']('showNextChange');return _0xc8e764['bind']('isBackwardNavigationEnabled')['to'](_0x50b78e,'isEnabled'),_0xc8e764['bind']('isForwardNavigationEnabled')['to'](_0x33a2dd,'isEnabled'),_0xc8e764['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x304f74),this['listenTo'](_0xc8e764,'execute',(_0x45e99e,_0x634c14)=>{_0x237db5['execute']('forward'===_0x634c14?'showNextChange':'showPreviousChange');}),_0xc8e764;}),_0xd5fac3['show'](),_0x304f74['on']('change:isReady',(_0x3e638f,_0x12bde5,_0x53b6e1)=>{_0x53b6e1?_0xd5fac3['hide']():_0xd5fac3['show']();});}}class _0x1d9ed9 extends ckeditor5['LabeledFieldView']{['_resizeObserver']=null;constructor(_0x67ef09,_0x5c39fe){super(_0x67ef09,_0x5c39fe);const _0x462734=this['bindTemplate'];this['set']({'label':getTranslation$5(_0x67ef09,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=getTranslation$5(_0x67ef09,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x462734['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 _0x4dec89=this['fieldView']['element'];this['_tooltipString']=_0x4dec89['scrollWidth']>_0x4dec89['clientWidth']&&_0x4dec89['value']||'';}}class RevisionAuthorView extends ckeditor5['View']{constructor(_0x2134b7,_0x221c02,_0x264187){super(_0x2134b7);const _0x1badf1=new ckeditor5['IconView']();_0x1badf1['set']({'content':ckeditor5['IconUser'],'viewBox':'0\x200\x2011\x2010'});const _0x2ccc31=['ck','ck-revision-history-sidebar__revision-author'];_0x264187&&_0x2ccc31['push']('ck-revision-history-sidebar__revision-author_creator');const _0x38a391=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':getTranslation$5(_0x2134b7,_0x264187?'Revision\x20creator':'Revision\x20author')},'children':[_0x1badf1,_0x221c02['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x2ccc31},'children':_0x38a391});}}function dateToPrettyFormat(_0x38f19b,_0x576cb1){return _0x576cb1['toLocaleDateString'](_0x38f19b,{'month':'long','day':'numeric'})+',\x20'+_0x576cb1['toLocaleTimeString'](_0x38f19b,{'hour':'numeric','minute':'numeric'});}function createActionsDropdownView(_0x53a446,_0x32819c){const _0x22b8c3=_0x53a446['bindTemplate'],_0x467b55=_0x53a446['locale'],_0x1c1d04=ckeditor5['createDropdown'](_0x467b55);_0x1c1d04['panelPosition']='sw';const _0xd03217=_createDropdownOptions(_0x53a446,_0x32819c);return _0x53a446['bind']('isActionsDropdownOpen')['to'](_0x1c1d04,'isOpen'),_0x1c1d04['buttonView']['set']({'label':getTranslation$5(_0x467b55,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':ckeditor5['IconThreeVerticalDots']}),_0x1c1d04['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x22b8c3['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x22b8c3['to'](_0x1be8e2=>_0x1be8e2['stopPropagation']())}}),_0x1c1d04['on']('execute',_0x455be3=>{_0x53a446['isReady']&&'function'==typeof _0x455be3['source']['_action']&&_0x455be3['source']['_action'](_0x53a446);}),ckeditor5['addListToDropdown'](_0x1c1d04,_0xd03217,{'role':'menu'}),_0x1c1d04['listenTo'](_0x53a446,'change:isActionsDropdownOpen',(_0x15d4e5,_0x3df660,_0x4adb62)=>{if(_0x4adb62)for(const _0x3b00bd of _0x1c1d04['listView']['items']){const _0x3f2e82=_0x3b00bd['children']['first'],_0x5f4f51=_0x32819c['find'](_0x8b0ab9=>_0x8b0ab9['action']===_0x3f2e82['_action'])['isVisible'];_0x3b00bd['isVisible']=void 0x0===_0x5f4f51||_0x5f4f51(_0x53a446);}}),_0x1c1d04;}function _createDropdownOptions(_0x17a7fb,_0x327a44){const _0x1294c5=_getLocalizedOptions(_0x17a7fb,_0x327a44),_0x24863f=new ckeditor5['Collection']();for(const _0x179ee9 of _0x1294c5){const _0x4b0470={'type':'button','model':new ckeditor5['UIModel']({'label':_0x179ee9['name'],'class':_0x179ee9['class'],'withText':!0x0,'role':'menuitem','_action':_0x179ee9['action']})};_0x4b0470['model']['bind']('isEnabled')['to'](_0x17a7fb,'isActionsDropdownOpen',_0x1e824e=>'function'!=typeof _0x179ee9['isEnabled']||(!_0x1e824e||_0x179ee9['isEnabled'](_0x17a7fb))),_0x24863f['add'](_0x4b0470);}return _0x24863f;}function _getLocalizedOptions(_0x19d1da,_0x37a2c4){const _0x39b99c=_0x19d1da['locale'],_0xef29a3={'Compare\x20against\x20selected':getTranslation$5(_0x39b99c,'Compare\x20against\x20selected'),'Name\x20this\x20revision':getTranslation$5(_0x39b99c,'Name\x20this\x20revision'),'Restore\x20this\x20revision':getTranslation$5(_0x39b99c,'Restore\x20this\x20revision')};return _0x37a2c4['map'](_0x13d104=>{const _0x8aa084=_0xef29a3[_0x13d104['name']];return _0x8aa084&&_0x8aa084!==_0x13d104['name']&&(_0x13d104['name']=_0x8aa084),_0x13d104;});}class _0x1ef402 extends/* #__PURE__ -- @preserve */
_0x46dab4(ckeditor5['View']){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0xe657a2,_0x513904,_0x2af575,_0x32786a){super(_0xe657a2);const _0x2d2ece=this['bindTemplate'],_0x2d805d=getAuthorViews(_0xe657a2,_0x513904);this['id']=_0x513904['id'],this['_revision']=_0x513904,this['_requireRevisionName']=_0x32786a,this['bind']('name','createdAt')['to'](_0x513904),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x20cceb=>dateToPrettyFormat(_0xe657a2['uiLanguage'],_0x20cceb)),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new _0x1d9ed9(_0xe657a2,ckeditor5['createLabeledInputText']),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x21f5ce=>_0x21f5ce||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x4d6bd8,_0x1351c3)=>_0x4d6bd8&&_0x1351c3),this['revisionActionsView']=_0x2af575&&_0x2af575['length']?createActionsDropdownView(this,_0x2af575):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x2d2ece['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x2d2ece['if']('isEnabled','ck-disabled',_0x40b450=>!_0x40b450),_0x2d2ece['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x2d2ece['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x2d2ece['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':_0x2d2ece['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':_0x2d805d}]},this['revisionActionsView']],'on':{'click':_0x2d2ece['to'](_0x1b97b5=>{_0x1b97b5['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x920fe7=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x920fe7,'change',()=>{this['_requireRevisionName']&&!_0x920fe7['value']||this['fire']('setName',{'id':this['id'],'name':_0x920fe7['value']}),_0x920fe7['value']||(_0x920fe7['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(_0x3609e3,_0x36e5bb){const _0x493e9c=Array['from'](_0x36e5bb['authors'])['filter'](_0xe2e3f0=>_0xe2e3f0!=_0x36e5bb['creator']);return _0x36e5bb['creator']&&_0x493e9c['unshift'](_0x36e5bb['creator']),_0x493e9c['map'](_0x2fbe5a=>new RevisionAuthorView(_0x3609e3,_0x2fbe5a,_0x2fbe5a==_0x36e5bb['creator']));}function getDateTimePeriodInfo(_0x360ab2,_0x3cee68){const _0x2302c3=DateTime['fromJSDate'](_0x360ab2)['setLocale'](_0x3cee68),_0x39eedc=DateTime['local'](),_0x461171=_0x39eedc['minus']({'days':0x1})['startOf']('day');let _0x5a860c,_0x2954d7;return _0x2302c3['hasSame'](_0x39eedc,'day')?(_0x5a860c=_0x2302c3['startOf']('day')['toJSDate'](),_0x2954d7=_0x2302c3['toRelativeCalendar']()):_0x2302c3['hasSame'](_0x461171,'day')?(_0x5a860c=_0x461171['toJSDate'](),_0x2954d7=_0x2302c3['toRelativeCalendar']()):_0x2302c3['hasSame'](_0x39eedc,'week')?(_0x5a860c=_0x2302c3['startOf']('week')['toJSDate'](),_0x2954d7=_0x2302c3['weekdayLong']||''):_0x2302c3['hasSame'](_0x39eedc,'year')?(_0x5a860c=_0x2302c3['startOf']('month')['toJSDate'](),_0x2954d7=_0x2302c3['monthLong']||''):(_0x5a860c=_0x2302c3['startOf']('year')['toJSDate'](),_0x2954d7=String(_0x2302c3['year'])),{'startDate':_0x5a860c,'localizedPeriodName':_0x2954d7};}class _0x1eb062 extends ckeditor5['View']{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2c4f4e,_0x501543,_0x8a2644,_0x176a74){super(_0x2c4f4e);const _0x17462c=getDateTimePeriodInfo(_0x501543,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x501543,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x8a2644,this['_requireRevisionName']=_0x176a74,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':_0x17462c}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x511b8c){const _0x1e7598=new _0x1ef402(this['locale'],_0x511b8c,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x1e7598);}['removeRevision'](_0x25e4fc){const _0x1714b0=this['revisionViews']['find'](_0x44d2f6=>_0x44d2f6['id']===_0x25e4fc['id']);this['revisionViews']['remove'](_0x1714b0);}}class _0x300ed6 extends ckeditor5['View']{constructor(_0x483d6d){super(_0x483d6d);const _0x4d268c=new ckeditor5['IconView']();_0x4d268c['content']=ckeditor5['IconHistory'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x4d268c,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[getTranslation$5(_0x483d6d,'Revision\x20history')]}]});}}class _0x18dd90 extends ckeditor5['View']{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2254ce,_0x834ef,_0x3932ce,_0x528179){super(_0x2254ce);const _0x267110=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x834ef,this['_revisionActions']=_0x3932ce,this['_requireRevisionName']=_0x528179,this['on']('select',(_0x4f8e7f,_0x292f26)=>{this['fire']('revisionSelected',_0x292f26);}),this['on']('setName',(_0x2bbc0d,_0x35c35a)=>{this['fire']('revisionSetName',_0x35c35a);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new _0x300ed6(_0x2254ce),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x267110['if']('isEnabled','ck-disabled',_0x4a8d84=>!_0x4a8d84)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x146603 of this['_revisions'])this['_addRevision'](_0x146603);this['_revisions']['on']('add',(_0xdb2190,_0x32c31a)=>{this['_addRevision'](_0x32c31a);}),this['_revisions']['on']('remove',(_0x141b70,_0xe54de6)=>{this['_removeRevision'](_0xe54de6);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x4b180a=>_0x4b180a['revisionViews']['map'](_0x4bdd05=>_0x4bdd05))['flat']();}['selectRevision'](_0x4c6fb3){for(const _0x16df1c of this['revisionViews'])_0x4c6fb3&&_0x4c6fb3['id']===_0x16df1c['id']?_0x16df1c['select']():_0x16df1c['deselect']();}['highlightRevisions'](_0x4ca3b5){for(const _0x3f15b1 of this['revisionViews'])_0x4ca3b5['some'](({id:_0x2cf5ed})=>_0x2cf5ed===_0x3f15b1['id'])?_0x3f15b1['highlight']():_0x3f15b1['unhighlight']();}['_addRevision'](_0x62f097){const _0x29d1f=getDateTimePeriodInfo(_0x62f097['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x59471d=this['timePeriodViews']['get'](0x0);_0x59471d&&_0x59471d['startDate']['getTime']()===_0x29d1f['getTime']()||(_0x59471d=new _0x1eb062(this['locale'],_0x29d1f,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x59471d)),_0x59471d['addRevision'](_0x62f097);}['_removeRevision'](_0x31c689){const _0x147380=getDateTimePeriodInfo(_0x31c689['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x147380)['removeRevision'](_0x31c689);}['_getTimePeriodViewByStartDate'](_0x7e880){return this['timePeriodViews']['find'](_0x5aff99=>_0x5aff99['startDate']['getTime']()===_0x7e880['getTime']());}}class _0x1fb2fa 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[_0xfe065c];}constructor(_0x12061e){super(_0x12061e),this['_revisionViewer']=_0x12061e['plugins']['get'](_0xfe065c),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x433a05=this['_revisionsRepository']['_revisions'],_0xc234ff=this['_createRevisionActions'](),_0x4ba88e=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new _0x18dd90(this['editor']['locale'],_0x433a05,_0xc234ff,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',(_0x5f3325,_0x1c4f41)=>{_0x1c4f41['revisionViews']['on']('add',(_0x5ee7d9,_0x357602)=>{_0x357602['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)),_0x4ba88e['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x289b44=this['_revisionsRepository']['getRevision'](0x0);if(_0x289b44){const _0x402684=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x289b44['id']);this['_revisionViewer']['compare'](_0x289b44,_0x402684);}}['_handleRevisionSelected'](_0x11e6c4,_0x3bad5b){const _0x1d3bc2=this['_revisionsRepository']['getRevision'](_0x3bad5b['id']),_0x2af2ef=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1d3bc2['id']);this['_revisionViewer']['compare'](_0x1d3bc2,_0x2af2ef);}['_handleRevisionSetName'](_0x1e3b3f,_0x5bd5b8){this['_revisionsRepository']['getRevision'](_0x5bd5b8['id'])['setName'](_0x5bd5b8['name']);}['_handleDiffChange'](_0xfaefc7,_0x4fb3d1,_0x270191){const _0x38646f=this['_revisionsRepository']['getRevisionsInDiff'](_0x270191);_0x38646f['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x38646f),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x38646f[0x0]));}['_createRevisionActions'](){const _0x17483f=this['editor'],_0x6da064=_0x1fb2fa['availableRevisionActions'],_0x38a1c0=_0x17483f['config']['get']('revisionHistory.revisionActions')||_0x1fb2fa['defaultRevisionActions'];if(_0x38a1c0['length'])return _0x38a1c0['map'](_0x4e34b9=>{const _0x54ce3a='string'==typeof _0x4e34b9?Object['assign']({},_0x6da064[_0x4e34b9]):_0x4e34b9;return _0x54ce3a['action']=_0x54ce3a['action']['bind'](this,_0x17483f),_0x54ce3a['isVisible']&&(_0x54ce3a['isVisible']=_0x54ce3a['isVisible']['bind'](this,_0x17483f)),_0x54ce3a;});}}function availableRevisionActions(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x32d82d},_0x258019)=>{const _0x509eef=_0x32d82d['get'](_0xfe065c),_0x388c01=_0x509eef['repository'];let _0x4e2546=_0x509eef['diff']['newRevisionId'],_0x29c519=_0x258019['id'];_0x388c01['getIndex'](_0x4e2546)>_0x388c01['getIndex'](_0x29c519)&&([_0x4e2546,_0x29c519]=[_0x29c519,_0x4e2546]),_0x509eef['compare'](_0x4e2546,_0x29c519);},'isVisible':({plugins:_0x3c30de},_0x1d99cc)=>{const _0x371a72=_0x3c30de['get'](_0xfe065c);return!(_0x371a72['repository']['getRevisionsInDiff'](_0x371a72['diff'])['length']>0x2)&&!_0x1d99cc['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x3d622f,{id:_0xced47b})=>{_0x3d622f['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xced47b);},'isVisible':({plugins:_0x2bd66e},_0x4e228d)=>!!_0x2bd66e['get'](_0xfe065c)['repository']['getLaterVisibleRevision'](_0x4e228d['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x23a726},{id:_0x2ea3ac,revisionNameView:_0x5acb09})=>{const _0x2c189c=_0x23a726['get'](_0xfe065c),_0x3a0ba6=_0x2c189c['repository']['getEarlierVisibleRevision'](_0x2ea3ac);_0x2c189c['compare'](_0x2ea3ac,_0x3a0ba6),_0x5acb09['focus'](),_0x5acb09['fieldView']['select']();}}};}class RevisionViewerEditorUI extends ckeditor5['EditorUI']{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x595b0c,_0x3a117e){super(_0x595b0c),this['_view']=_0x3a117e,this['_toolbarConfig']=ckeditor5['normalizeToolbarConfig'](_0x595b0c['config']['get']('toolbar')),this['_elementReplacer']=new ckeditor5['ElementReplacer']();}get['element'](){return this['view']['element'];}['init'](_0x366b9d){const _0x577be2=this['editor'],_0x53cdbb=this['view'],_0x2682cb=_0x577be2['editing']['view'],_0x4f1a4c=_0x53cdbb['editable'],_0x4ec902=_0x2682cb['document']['getRoot']();_0x4f1a4c['name']=_0x4ec902['rootName'],_0x53cdbb['render']();const _0x183021=_0x4f1a4c['element'];this['setEditableElement'](_0x4f1a4c['name'],_0x183021),_0x53cdbb['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2682cb['attachDomRoot'](_0x183021),this['_elementReplacer']['replace'](_0x366b9d,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x4c6200=this['view'],_0x418b6e=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x418b6e['detachDomRoot'](_0x4c6200['editable']['name']),_0x4c6200['destroy']();}['_initToolbar'](){const _0x3527e3=this['view'];_0x3527e3['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x3527e3['stickyPanel']['limiterElement']=_0x3527e3['element'],_0x3527e3['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x465642})=>_0x465642),_0x3527e3['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x3527e3['toolbar']);}}class RevisionViewerEditorUIView extends ckeditor5['BoxedEditorUIView']{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x230978,_0x4b59ee,_0x3bc619={}){super(_0x230978),this['stickyPanel']=new ckeditor5['StickyPanelView'](_0x230978),this['toolbar']=new ckeditor5['ToolbarView'](_0x230978,{'shouldGroupWhenFull':_0x3bc619['shouldToolbarGroupWhenFull']}),this['_editable']=new ckeditor5['InlineEditableUIView'](_0x230978,_0x4b59ee);}['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(_0x44238d,_0x51f3ab){super(_0x51f3ab),this['sourceElement']=_0x44238d,this['model']['document']['createRoot']();const _0x6c5aea=new RevisionViewerEditorUIView(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new RevisionViewerEditorUI(this,_0x6c5aea);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x4581ad,_0x569327){const _0x3c35a3=new this(_0x4581ad,_0x569327);return await _0x3c35a3['initPlugins'](),await _0x3c35a3['ui']['init'](_0x4581ad),await _0x3c35a3['data']['init'](_0x3c35a3['config']['get']('initialData')||''),_0x3c35a3['fire']('ready'),_0x3c35a3;}}const blackListedPlugins$1=['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(_0x46043b){function _0x2dceea(_0x43ce93){return _0x43ce93['map'](_0x14edde=>String['fromCharCode'](_0x14edde))['join']('');}super(_0x46043b),this['result']='end',_0x46043b[_0x2dceea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dceea([0x76,0x69,0x65,0x77])][_0x2dceea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2dceea([0x61,0x75,0x74,0x6f]),_0x46043b[_0x2dceea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x2dceea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2dceea([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x2dceea([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x2dceea([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[_0x6e161d,RevisionHistoryUI];}constructor(_0x53622e){if(super(_0x53622e),!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',_0x179f86=>this['_showRevisionViewer']({..._0x179f86,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x20ea5d=>this['_closeRevisionViewer'](_0x20ea5d)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x110c45=>this['_restoreRevision'](_0x110c45)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x428d84){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x428d84;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x36457e){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x36457e);}['getRevision'](_0x35ffc7){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x35ffc7);}['getRevisions'](_0x121407){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x121407||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x14f7ef=this['editor'],_0x32aeca=sanitizeEditorConfig(_0x14f7ef,blackListedPlugins$1),_0x355d5e=_0x14f7ef['plugins']['get']('RevisionTracker'),_0x1f2d18=_0x14f7ef['plugins']['get']('Users')['users'];_0x32aeca['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x32aeca['lazyRoots'];class _0x3c8308 extends ckeditor5['Plugin']{static get['requires'](){return[_0xfe065c,'Users'];}['init'](){const _0x3ca300=this['editor']['plugins']['get']('Users');for(const _0x4518d4 of _0x1f2d18)_0x4518d4['isAnonymous']||_0x3ca300['getUser'](_0x4518d4['id'])||_0x3ca300['addUser'](_0x4518d4);const _0x417dfd=_0x355d5e['repository']['getRevisions']();let _0x54dacc=null;const _0x39afa9=this['editor']['plugins']['get']('RevisionViewer');_0x39afa9['adapter']=_0x355d5e['adapter'],_0x39afa9['bind']('isEnabled')['to'](_0x355d5e),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x14f7ef,'isReadOnly',_0x4d32c4=>!_0x4d32c4);for(const _0x468b90 of _0x417dfd){const _0x1e009d=null===_0x468b90['creator'];if(_0x1e009d&&_0x468b90['toVersion']===_0x468b90['fromVersion'])continue;const _0x5b8cca=_0x468b90['toJSON']();_0x39afa9['addRevisionData'](_0x5b8cca,(_0x229ded,_0x1a013a,_0x22b9a6)=>{if(_0x1e009d){if(_0x54dacc)_0x54dacc['_update'](_0x229ded,_0x1a013a);else{if(!_0x1a013a){const _0x41faf0=_0x22b9a6['toJSON']();_0x41faf0['id']=ckeditor5['uid'](),_0x355d5e['saveRevision'](_0x41faf0,_0x22b9a6['toVersion'])['then'](_0x48aaad=>{_0x54dacc=_0x48aaad;});}}}else _0x468b90['_update'](_0x229ded,_0x1a013a);});}}}return _0x32aeca['plugins']['push'](RevisionViewerIntegration,_0xfe065c,_0x6104f4,_0x3c8308,_0x1fb2fa),_0x32aeca;}['_enhanceShowRevisionViewerCallback'](){const _0x62a8fa=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x529b15=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x266b62=this['editor']['plugins']['get']('Autosave');await _0x266b62['save']();}else await _0x529b15['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x2ea672=this['editor']['plugins']['get']('Dialog');_0x2ea672['isOpen']&&_0x2ea672['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0x2f743c=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x4a8f3b of _0x2f743c)_0x4a8f3b['class']=_0x4a8f3b['class']?_0x4a8f3b['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0x2cf4f3=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x2cf4f3&&_0x2cf4f3['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x509665=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x509665&&_0x509665['setAttribute']('tabindex','-1');}}const _0x46692b=this['_getRevisionViewerEditorConfig']();return _0x62a8fa(_0x46692b)['then'](_0x2d02cc=>{return(this['_viewerEditor']=_0x2d02cc,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'),_0x2d02cc);})['catch'](_0x516990=>(console['error'](_0x516990),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x1d46e5=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 _0x4eb444=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x229297 of _0x4eb444)_0x229297['class']='ck-tab-panel_disabled'===_0x229297['class']?'':_0x229297['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x1385b=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x1385b&&_0x1385b['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x15446e=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x15446e&&_0x15446e['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x1d46e5(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x162eee=this['editor']['plugins']['get']('Annotations');_0x162eee['refreshVisibility'](),_0x162eee['refreshPositioning']();}});});}['_showRevisionViewer'](_0x46014b){const _0x2f460d=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x58ba1c=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x56538c=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return RevisionViewerEditor['create'](_0x56538c,_0x46014b)['then'](_0x552163=>(_0x58ba1c['style']['display']='block',_0x2f460d['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0x552163));}['_closeRevisionViewer'](_0x10ce31){const _0x5cccc9=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x5cccc9['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0x10ce31['destroy']();}async['_restoreRevision'](_0x506eb7){const _0x594bb4=this['editor'],_0xa76f67=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x59b7e6=_0x594bb4['plugins']['get']('RevisionTracker'),_0x463ec7=_0x594bb4['plugins']['get']('RevisionHistoryUtils'),_0x2caf78=_0xa76f67['repository']['getRevision'](_0x506eb7);let _0x16a388,_0x188826,_0x5e2b44;try{await _0x463ec7['loadRevisionData'](_0x2caf78,this['adapter']),_0x16a388=_0x463ec7['getRevisionDocumentData'](_0x2caf78),_0x188826=_0x463ec7['getRevisionRootsAttributes'](_0x2caf78);}catch(_0x5f2fdc){return void console['error'](_0x5f2fdc);}_0x594bb4['model']['change'](_0x46af30=>{for(const _0x51c4d1 of Array['from'](_0x594bb4['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x46af30['removeMarker'](_0x51c4d1);}),_0xa76f67['isReady']=!0x1,_0x594bb4['model']['enqueueChange'](_0x54a736=>{_0x54a736['setSelection'](null),_0x54a736['removeSelectionAttribute'](_0x594bb4['model']['document']['selection']['getAttributeKeys']());const _0x3b8ad5=Object['keys'](_0x16a388);for(const _0x257efe of _0x594bb4['model']['document']['roots'])'$graveyard'!=_0x257efe['rootName']&&_0x257efe['isAttached']()&&!_0x3b8ad5['includes'](_0x257efe['rootName'])&&_0x54a736['detachRoot'](_0x257efe);for(const _0x27d28a of _0x3b8ad5){let _0x4c4fe6=_0x594bb4['model']['document']['getRoot'](_0x27d28a);_0x4c4fe6&&_0x4c4fe6['isAttached']()||(_0x4c4fe6=_0x54a736['addRoot'](_0x27d28a));const _0x49d3e6=_0x188826[_0x27d28a],_0x17ef09=Object['keys'](_0x49d3e6),_0x20ce68=_0x16a388[_0x27d28a];for(const _0x2e2fee of _0x4c4fe6['getAttributeKeys']())_0x17ef09['includes'](_0x2e2fee)||_0x54a736['removeAttribute'](_0x2e2fee,_0x4c4fe6);for(const _0x1cf27d of _0x17ef09)_0x54a736['setAttribute'](_0x1cf27d,_0x188826[_0x27d28a][_0x1cf27d],_0x4c4fe6);_0x54a736['remove'](_0x54a736['createRangeIn'](_0x4c4fe6)),_0x54a736['insert'](_0x594bb4['data']['parse'](_0x20ce68,_0x4c4fe6),_0x4c4fe6,0x0);}});const _0x389511=getTranslation$5(_0x594bb4['locale'],'Restored');if(_0x2caf78['name'])_0x5e2b44=-0x1==_0x2caf78['name']['indexOf'](_0x389511)?_0x389511+':\x20'+_0x2caf78['name']:_0x2caf78['name'];else _0x5e2b44=_0x389511+':\x20'+(_0x2caf78['createdAt']['toLocaleDateString'](_0x594bb4['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x2caf78['createdAt']['toLocaleTimeString'](_0x594bb4['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x59b7e6['saveRevision']({'name':_0x5e2b44}),_0xa76f67['isReady']=!0x0,_0x594bb4['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}function getTranslation$4(_0x5d4262,_0x19a368){const t=_0x5d4262['t'],_0x1f637d=_0x5d4262['t'];switch(_0x19a368){case'AI\x20Assistant':return _0x1f637d('AI\x20Assistant');case'Block\x20quote':return _0x1f637d('Block\x20quote');case'Bulleted\x20list':return _0x1f637d('Bulleted\x20list');case'Insert\x20code\x20block':return _0x1f637d('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x1f637d('Open\x20file\x20manager');case'Insert\x20image':return _0x1f637d('Insert\x20image');case'Heading\x201':return _0x1f637d('Heading\x201');case'Heading\x202':return _0x1f637d('Heading\x202');case'Heading\x203':return _0x1f637d('Heading\x203');case'Heading\x204':return _0x1f637d('Heading\x204');case'Heading\x205':return _0x1f637d('Heading\x205');case'Heading\x206':return _0x1f637d('Heading\x206');case'Horizontal\x20line':return _0x1f637d('Horizontal\x20line');case'Insert\x20HTML':return _0x1f637d('Insert\x20HTML');case'Increase\x20indent':return _0x1f637d('Increase\x20indent');case'Insert\x20table':return _0x1f637d('Insert\x20table');case'Table\x20of\x20contents':return _0x1f637d('Table\x20of\x20contents');case'Numbered\x20list':return _0x1f637d('Numbered\x20list');case'Decrease\x20indent':return _0x1f637d('Decrease\x20indent');case'Paragraph':return _0x1f637d('Paragraph');case'To-do\x20list':return _0x1f637d('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 _0x19a368;}}class _0xbe2de5 extends ckeditor5['Plugin']{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xae3272){super(_0xae3272),this['_allowedCommands']=null;}['afterInit'](){const _0x2ac7b4=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x41d0ff=getExcludedHeadings(this['editor']['config']['get']('heading.options')),_0x169736=this['getDefaultCommands']()['filter'](_0x1bb6fd=>!_0x41d0ff['includes'](_0x1bb6fd['id']));let _0x169a1d=_0x169736['filter'](_0x4afcd6=>!_0x2ac7b4['includes'](_0x4afcd6['commandName']));const _0x2dc2c3=this['editor']['config']['get']('slashCommand.extraCommands');_0x2dc2c3&&_0x2dc2c3['length']&&(_0x169a1d=_0x169a1d['concat'](_0x2dc2c3));const _0x6755b4=this['editor']['config']['get']('template.definitions');_0x6755b4&&_0x6755b4['length']&&(_0x169a1d=_0x169a1d['concat'](mapTemplates(_0x6755b4)));const _0x439e37=this['editor']['config']['get']('style.definitions');_0x439e37&&_0x439e37['length']&&(_0x169a1d=_0x169a1d['concat'](mapStyles(_0x439e37)));const _0x522493=_0x169a1d['filter'](_0x3cb7f8=>!_0x3cb7f8['commandName']||void 0x0!==this['editor']['commands']['get'](_0x3cb7f8['commandName'])),_0x1f3090=[];for(const _0x3b7a72 of _0x522493)_0x1f3090['push']({'id':_0x3b7a72['id'],'commandName':_0x3b7a72['commandName'],'title':'function'==typeof _0x3b7a72['title']?_0x3b7a72['title'](this['editor']):_0x3b7a72['title'],'description':_0x3b7a72['description'],'icon':_0x3b7a72['icon'],'isIconColorInherited':_0x3b7a72['isIconColorInherited'],'aliases':_0x3b7a72['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x3b7a72),'execute':()=>this['_proxyExecute'](_0x3b7a72)});this['_allowedCommands']=_0x1f3090['sort'](_0x305745),_0x2067a8(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x2d0ab9=_0x3a187e=>getTranslation$4(this['editor']['locale'],_0x3a187e);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':ckeditor5['IconRobotPencil'],'title':_0x2d0ab9('AI\x20Assistant'),'description':_0x2d0ab9('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x46e3b1=>{setTimeout(()=>_0x46e3b1['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':ckeditor5['IconQuote'],'title':_0x2d0ab9('Block\x20quote'),'description':_0x2d0ab9('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':ckeditor5['IconBulletedList'],'title':_0x2d0ab9('Bulleted\x20list'),'description':_0x2d0ab9('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':ckeditor5['IconCodeBlock'],'title':_0x2d0ab9('Insert\x20code\x20block'),'description':_0x2d0ab9('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':ckeditor5['IconBrowseFiles'],'title':_0x2d0ab9('Open\x20file\x20manager'),'description':_0x2d0ab9('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':ckeditor5['IconBrowseFiles'],'title':_0x2d0ab9('Insert\x20image'),'description':_0x2d0ab9('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':ckeditor5['IconEmoji'],'title':_0x2d0ab9('Emoji'),'description':_0x2d0ab9('Insert\x20an\x20emoji'),'execute':_0x2997ba=>{setTimeout(()=>_0x2997ba['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':ckeditor5['IconHeading1'],'title':_0x2d0ab9('Heading\x201'),'description':_0x2d0ab9('Create\x20a\x20heading\x20level\x201'),'execute':_0x186b39=>{_0x186b39['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':ckeditor5['IconHeading2'],'title':_0x2d0ab9('Heading\x202'),'description':_0x2d0ab9('Create\x20a\x20heading\x20level\x202'),'execute':_0x302507=>{_0x302507['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':ckeditor5['IconHeading3'],'title':_0x2d0ab9('Heading\x203'),'description':_0x2d0ab9('Create\x20a\x20heading\x20level\x203'),'execute':_0x128724=>{_0x128724['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':ckeditor5['IconHeading4'],'title':_0x2d0ab9('Heading\x204'),'description':_0x2d0ab9('Create\x20a\x20heading\x20level\x204'),'execute':_0x28df34=>{_0x28df34['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':ckeditor5['IconHeading5'],'title':_0x2d0ab9('Heading\x205'),'description':_0x2d0ab9('Create\x20a\x20heading\x20level\x205'),'execute':_0x39a703=>{_0x39a703['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':ckeditor5['IconHeading6'],'title':_0x2d0ab9('Heading\x206'),'description':_0x2d0ab9('Create\x20a\x20heading\x20level\x206'),'execute':_0x4303a2=>{_0x4303a2['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':ckeditor5['IconHorizontalLine'],'title':_0x2d0ab9('Horizontal\x20line'),'description':_0x2d0ab9('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':ckeditor5['IconHtml'],'title':_0x2d0ab9('Insert\x20HTML'),'description':_0x2d0ab9('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':ckeditor5['IconIndent'],'title':_0x2d0ab9('Increase\x20indent'),'description':_0x2d0ab9('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x2d0ab9('Insert\x20Mermaid\x20diagram'),'description':_0x2d0ab9('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':ckeditor5['IconTable'],'title':_0x2d0ab9('Insert\x20table'),'description':_0x2d0ab9('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':ckeditor5['IconTableOfContents'],'title':_0x2d0ab9('Table\x20of\x20contents'),'description':_0x2d0ab9('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':ckeditor5['IconNumberedList'],'title':_0x2d0ab9('Numbered\x20list'),'description':_0x2d0ab9('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':ckeditor5['IconOutdent'],'title':_0x2d0ab9('Decrease\x20indent'),'description':_0x2d0ab9('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':ckeditor5['IconParagraph'],'title':_0x2d0ab9('Paragraph'),'description':_0x2d0ab9('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':ckeditor5['IconTodoList'],'title':_0x2d0ab9('To-do\x20list'),'description':_0x2d0ab9('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':ckeditor5['IconFootnote'],'title':_0x2d0ab9('Footnote'),'description':_0x2d0ab9('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x9b9acb){return _0x9b9acb['isEnabled']?_0x9b9acb['isEnabled'](this['editor']):!_0x9b9acb['commandName']||this['editor']['commands']['get'](_0x9b9acb['commandName'])['isEnabled'];}['_proxyExecute'](_0xe183af){if(_0xe183af['execute'])_0xe183af['execute'](this['editor']);else{if(!_0xe183af['commandName'])throw new ckeditor5['CKEditorError']('slash-command-execute-missing',this['editor'],{'commandDefinition':_0xe183af});this['editor']['execute'](_0xe183af['commandName']);}}}function _0x305745(_0x29a8fb,_0x3b7876){return _0x29a8fb['title']<_0x3b7876['title']?-0x1:_0x29a8fb['title']>_0x3b7876['title']?0x1:0x0;}function convertTitleToId(_0x239349,_0x4d838f){return _0x4d838f+'-'+_0x239349['toLowerCase']()['split']('\x20')['join']('-');}function mapTemplates(_0x287535){return _0x287535['map'](_0x4f1b85=>{const {title:_0x22e526,icon:_0x24dce0,description:_0x3dc5ee,data:_0x21def0}=_0x4f1b85,_0x2dc5ec={'id':convertTitleToId(_0x22e526,'template'),'commandName':'insertTemplate','execute':_0x3f3dc3=>{_0x3f3dc3['execute']('insertTemplate',_0x21def0);},'description':_0x3dc5ee,'icon':_0x24dce0,'title':_0x22e526};return _0x24dce0&&(_0x2dc5ec['isIconColorInherited']=!0x1),_0x2dc5ec;});}function mapStyles(_0xd2043f){return _0xd2043f['map'](_0x53c889=>{const _0xa346ba={'id':convertTitleToId(_0x53c889['name'],'style'),'commandName':'style','execute':_0x166b8a=>{_0x166b8a['execute']('style',{'styleName':_0x53c889['name']});},'isEnabled':_0x3f6e8f=>{const _0x2a7229=_0x3f6e8f['commands']['get']('style');return _0x2a7229['isEnabled']&&_0x2a7229['enabledStyles']['includes'](_0x53c889['name']);},'title':_0x53c889['name']};return _0xa346ba;});}function getExcludedHeadings(_0x49e47c){let _0x2479e7=['heading4','heading5','heading6'];if(_0x49e47c){const _0x5e590d=_0x49e47c['map'](_0x556aeb=>_0x556aeb['model']);_0x2479e7=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x2dc939=>!_0x5e590d['includes'](_0x2dc939));}return _0x2479e7;}async function _0x2067a8(_0x19ca7a){const _0x515c70=_0x390285([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]),_0x3f815b=window[_0x390285([0x44,0x61,0x74,0x65])][_0x390285([0x6e,0x6f,0x77])](),_0x3c3004=_0x19ca7a[_0x390285([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1c09d7=new window[(_0x390285([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34e40b=>{_0x3c3004[_0x390285([0x6f,0x6e,0x63,0x65])](_0x390285([0x72,0x65,0x61,0x64,0x79]),_0x34e40b);}),_0x32c5c9={[_0x390285([0x6b,0x74,0x79])]:_0x390285([0x45,0x43]),[_0x390285([0x75,0x73,0x65])]:_0x390285([0x73,0x69,0x67]),[_0x390285([0x63,0x72,0x76])]:_0x390285([0x50,0x2d,0x32,0x35,0x36]),[_0x390285([0x78])]:_0x390285([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]),[_0x390285([0x79])]:_0x390285([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]),[_0x390285([0x61,0x6c,0x67])]:_0x390285([0x45,0x53,0x32,0x35,0x36])},_0x312bd2=_0x3c3004[_0x390285([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x390285([0x67,0x65,0x74])](_0x390285([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1ab48e=await(async function(){let _0x1fe308,_0x5e325b=null,_0x5eba1f=null;try{if(_0x312bd2==_0x390285([0x47,0x50,0x4c]))return _0x390285([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1fe308=(function(){const _0x1d88aa=_0x312bd2[_0x390285([0x73,0x70,0x6c,0x69,0x74])](_0x390285([0x2e]));if(0x3!=_0x1d88aa[_0x390285([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x2ab057=_0x1d88aa[0x1];return _0x43245d(_0x2ab057);function _0x43245d(_0x297db2){const _0x492a40=_0x2a4909(_0x297db2);return _0x492a40&&_0xb1bfc2()?_0x492a40:null;function _0xb1bfc2(){const _0xf8811c=_0x492a40[_0x390285([0x6a,0x74,0x69])],_0x3503ff=window[_0x390285([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf8811c[_0x390285([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf8811c[_0x390285([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53481c={..._0x492a40,[_0x390285([0x6a,0x74,0x69])]:_0xf8811c[_0x390285([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf8811c[_0x390285([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53481c[_0x390285([0x76,0x63])],_0x20e494(_0x53481c)==_0x3503ff;}}}()),!_0x1fe308)return _0x390285([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x1fe308[_0x390285([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5eba1f=function(_0x5c0aad,_0x5b1d73){return new window[(_0x390285([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa2502e=>{if(_0x1e2fe3())return _0xa2502e(_0x390285([0x56,0x61,0x6c,0x69,0x64]));_0x11abb8(),_0x3c3004[_0x390285([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x390285([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31c69b=!0x1;const _0x199938=ckeditor5['uid']();function _0x508dc0(_0x111862){return!!_0x111862&&(typeof _0x111862===_0x390285([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x111862===_0x390285([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x111862[_0x390285([0x74,0x68,0x65,0x6e])]===_0x390285([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x111862[_0x390285([0x63,0x61,0x74,0x63,0x68])]===_0x390285([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x15a9bf(_0x276d9c){_0x1626c1(_0x276d9c)[_0x390285([0x74,0x68,0x65,0x6e])](_0x269411=>{if(!_0x269411||_0x269411[_0x390285([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x390285([0x6f,0x6b]))return _0x390285([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x98632b(_0x20e494(_0x199938+_0x5b1d73))!=_0x269411[_0x390285([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x390285([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x390285([0x56,0x61,0x6c,0x69,0x64]);})[_0x390285([0x74,0x68,0x65,0x6e])](_0x267ed3=>(_0x4c5d97(),_0x267ed3),()=>{const _0x7fc5c0=_0x479b76();return null==_0x7fc5c0?(_0x4c5d97(),_0x390285([0x56,0x61,0x6c,0x69,0x64])):_0x390285(_0x3f815b-_0x7fc5c0>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x390285([0x74,0x68,0x65,0x6e])](_0xa2502e)[_0x390285([0x63,0x61,0x74,0x63,0x68])](()=>{_0xa2502e(_0x390285([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1bdcce=0x36ee80;function _0x4c5d97(){const _0x2e87b4=_0x390285([0x6c,0x6c,0x63,0x74,0x2d])+_0x98632b(_0x20e494(_0x5c0aad)),_0x1325e8=_0x2539f9(_0x98632b(window[_0x390285([0x4d,0x61,0x74,0x68])][_0x390285([0x63,0x65,0x69,0x6c])](_0x3f815b/_0x1bdcce)));window[_0x390285([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x390285([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e87b4,_0x1325e8);}function _0x479b76(){const _0x5a0e9f=_0x390285([0x6c,0x6c,0x63,0x74,0x2d])+_0x98632b(_0x20e494(_0x5c0aad)),_0x2dd773=window[_0x390285([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x390285([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a0e9f);return _0x2dd773?window[_0x390285([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2539f9(_0x2dd773),0x10)*_0x1bdcce:null;}function _0x1626c1(_0x2acf9b){return new window[(_0x390285([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x64abb1,_0xc8732a)=>{_0x2acf9b[_0x390285([0x74,0x68,0x65,0x6e])](_0x64abb1,_0xc8732a),window[_0x390285([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc8732a,0x1d4c0);});}}_0x3c3004[_0x390285([0x6f,0x6e])](_0x390285([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x831326,_0x5d0695)=>{if(_0x5d0695[0x0]!=_0x5c0aad)return _0xa2502e(_0x390285([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d0695[0x1]={..._0x5d0695[0x1],[_0x390285([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x199938};},{[_0x390285([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x390285([0x68,0x69,0x67,0x68])}),_0x3c3004[_0x390285([0x6f,0x6e])](_0x390285([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b8f45=>{_0x508dc0(_0x1b8f45[_0x390285([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31c69b=!0x0,_0x15a9bf(_0x1b8f45[_0x390285([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x390285([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x390285([0x6c,0x6f,0x77])}),_0x1c09d7[_0x390285([0x74,0x68,0x65,0x6e])](()=>{_0x31c69b||_0xa2502e(_0x390285([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1e2fe3(){return _0x3c3004[_0x390285([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x390285([0x76,0x69,0x65,0x77])][_0x390285([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x390285([0x61,0x75,0x74,0x6f]);}function _0x11abb8(){_0x3c3004[_0x390285([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x390285([0x76,0x69,0x65,0x77])][_0x390285([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x390285([0x61,0x75,0x74,0x6f]);}}(_0x1fe308[_0x390285([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1fe308[_0x390285([0x6a,0x74,0x69])]));const _0x5b0544=await(async function(){let _0x1b3d95=!0x0;try{const _0x4e1d89=_0x312bd2[_0x390285([0x73,0x70,0x6c,0x69,0x74])](_0x390285([0x2e])),[_0x214e62,_0xa024dd,_0x548e3a]=_0x4e1d89;return _0x56ecfa(_0x214e62),await _0x283fd0(_0x214e62,_0xa024dd,_0x548e3a),_0x1b3d95;}catch{return!0x1;}function _0x56ecfa(_0x4a771c){const _0xaac095=_0x2a4909(_0x4a771c);_0xaac095&&_0xaac095[_0x390285([0x61,0x6c,0x67])]==_0x390285([0x45,0x53,0x32,0x35,0x36])||(_0x1b3d95=!0x1);}async function _0x283fd0(_0x37337e,_0x2dbaa2,_0x1cf501){const _0x183a28=window[_0x390285([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x390285([0x66,0x72,0x6f,0x6d])](_0x10ddd6(_0x1cf501),_0x359390=>_0x359390[_0x390285([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39deed=new window[(_0x390285([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x390285([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x37337e+_0x390285([0x2e])+_0x2dbaa2),_0x4faf49=window[_0x390285([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x390285([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4faf49)return;const _0x23f68e=await _0x4faf49[_0x390285([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x390285([0x6a,0x77,0x6b]),_0x32c5c9,{[_0x390285([0x6e,0x61,0x6d,0x65])]:_0x390285([0x45,0x43,0x44,0x53,0x41]),[_0x390285([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x390285([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x390285([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4faf49[_0x390285([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x390285([0x6e,0x61,0x6d,0x65])]:_0x390285([0x45,0x43,0x44,0x53,0x41]),[_0x390285([0x68,0x61,0x73,0x68])]:{[_0x390285([0x6e,0x61,0x6d,0x65])]:_0x390285([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x23f68e,_0x183a28,_0x39deed)||(_0x1b3d95=!0x1);}}());return _0x5b0544?(function(){const _0x5b28ca=_0x1fe308[_0x390285([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5b28ca)return!0x1;if(_0x5b28ca[_0x390285([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x390285([0x2a])))return!0x0;if(_0x5b28ca[_0x390285([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x390285([0x53,0x43])))return!0x0;if(_0x5b28ca[_0x390285([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x390285([0x50,0x50])))return!0x0;if(_0x5b28ca[_0x390285([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x390285([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x390285([0x67,0x6c,0x6f,0x62])]&&window[_0x390285([0x67,0x6c,0x6f,0x62])][_0x390285([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x4c55c9=[_0x390285([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x390285([0x74,0x72,0x69,0x61,0x6c])][_0x390285([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fe308[_0x390285([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f815b/0x3e8:0x69e02680;return _0x1fe308[_0x390285([0x65,0x78,0x70])]<_0x4c55c9;}())?_0x390285([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x4f96f7=_0x1fe308[_0x390285([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4f96f7||0x0==_0x4f96f7[_0x390285([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x236f74}=new URL(window[_0x390285([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4f96f7[_0x390285([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x236f74))return!0x0;const _0xe8c501=_0x236f74[_0x390285([0x73,0x70,0x6c,0x69,0x74])](_0x390285([0x2e]));return _0x4f96f7[_0x390285([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x326952=>_0x326952[_0x390285([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x390285([0x2a])))[_0x390285([0x6d,0x61,0x70])](_0x2629fb=>_0x2629fb[_0x390285([0x73,0x70,0x6c,0x69,0x74])](_0x390285([0x2e])))[_0x390285([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b8928=>_0x1b8928[_0x390285([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xe8c501[_0x390285([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x390285([0x6d,0x61,0x70])](_0x75ea08=>Array(_0xe8c501[_0x390285([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x75ea08[_0x390285([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x390285([0x66,0x69,0x6c,0x6c])](_0x75ea08[0x0]===_0x390285([0x2a])?_0x390285([0x2a]):'')[_0x390285([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x75ea08))[_0x390285([0x73,0x6f,0x6d,0x65])](_0x22bc8f=>_0xe8c501[_0x390285([0x65,0x76,0x65,0x72,0x79])]((_0x35c7d3,_0x4a8f38)=>_0x22bc8f[_0x4a8f38]===_0x35c7d3||_0x22bc8f[_0x4a8f38]===_0x390285([0x2a])));}())?(_0x1fe308[_0x390285([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x390285([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e325b=function(_0x1c5a72){const _0x13d533=new window[(_0x390285([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b54f2=>setTimeout(_0x2b54f2,0x93ecc)),_0x1bb182=_0x1c09d7[_0x390285([0x74,0x68,0x65,0x6e])](()=>new window[(_0x390285([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56190b=>{let _0x218136=0x0;_0x3c3004[_0x390285([0x6d,0x6f,0x64,0x65,0x6c])][_0x390285([0x6f,0x6e])](_0x390285([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1fca5e,_0x385da5)=>{_0x385da5[0x0][_0x390285([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x218136++,0x5e8==_0x218136&&(_0x56190b(),_0x1fca5e[_0x390285([0x6f,0x66,0x66])]());});})),_0x5ce504=[_0x13d533,_0x1bb182];return window[_0x390285([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x390285([0x72,0x61,0x63,0x65])](_0x5ce504)[_0x390285([0x74,0x68,0x65,0x6e])](()=>_0x1c5a72);}(_0x390285([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x5e325b&&_0x5eba1f)return new window[(_0x390285([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35091a,_0x3646e2)=>{_0x5e325b[_0x390285([0x74,0x68,0x65,0x6e])](_0x35091a,_0x3646e2),_0x5eba1f[_0x390285([0x74,0x68,0x65,0x6e])](_0x461e2e=>{_0x461e2e!=_0x390285([0x56,0x61,0x6c,0x69,0x64])&&_0x35091a(_0x461e2e);},_0x3646e2);});return _0x5e325b||_0x5eba1f||_0x390285([0x56,0x61,0x6c,0x69,0x64]);}())):_0x390285([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x390285([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x390285([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x390285([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x2a4909(_0x1b4f39){return _0x1b4f39[_0x390285([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x390285([0x65,0x79]))?JSON[_0x390285([0x70,0x61,0x72,0x73,0x65])](_0x10ddd6(_0x1b4f39)):null;}function _0x10ddd6(_0x3eb6ad){return window[_0x390285([0x61,0x74,0x6f,0x62])](_0x3eb6ad[_0x390285([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x390285([0x2b]))[_0x390285([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x390285([0x2f])));}function _0x20e494(_0x5d7150){let _0x44b64e=0x1505;function _0x46e7ee(_0xbc3070){for(let _0x27b509=0x0;_0x27b509<_0xbc3070[_0x390285([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27b509++){const _0x58578d=_0xbc3070[_0x390285([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x27b509);_0x44b64e=(_0x44b64e<<0x5)+_0x44b64e+_0x58578d,_0x44b64e&=_0x44b64e;}}return function _0x22182a(_0x5470ef){Array[_0x390285([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5470ef)?_0x5470ef[_0x390285([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x22182a):_0x5470ef&&typeof _0x5470ef==_0x390285([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x390285([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5470ef)[_0x390285([0x73,0x6f,0x72,0x74])]()[_0x390285([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x15280a,_0x32f3c1])=>{_0x46e7ee(_0x15280a),_0x22182a(_0x32f3c1);}):_0x46e7ee(window[_0x390285([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5470ef));}(_0x5d7150),_0x44b64e>>>0x0;}function _0x98632b(_0x39d1b8){return _0x39d1b8[_0x390285([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x390285([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x390285([0x30]));}function _0x2539f9(_0x480991){return _0x480991[_0x390285([0x73,0x70,0x6c,0x69,0x74])]('')[_0x390285([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x390285([0x6a,0x6f,0x69,0x6e])]('');}function _0x18e31f(){}function _0x390285(_0x56c870){return _0x56c870['map'](_0x2d1671=>String['fromCharCode'](_0x2d1671))['join']('');}!function(_0x5b707b){const _0x574248=(function(){const _0x46cdda=window[_0x390285([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x390285([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x390285([0x6e,0x6f,0x77])]())[_0x390285([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x390285([0x2e]),'');let _0x34438c=_0x390285([0x75]);for(let _0x5c012f=0x0;_0x5c012f<_0x46cdda[_0x390285([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c012f+=0x2){let _0x137a3d=window[_0x390285([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46cdda[_0x390285([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c012f,_0x5c012f+0x2));_0x137a3d>=_0x515c70[_0x390285([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x137a3d-=_0x515c70[_0x390285([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x34438c+=_0x515c70[_0x137a3d];}return _0x34438c;}());_0x3c3004[_0x574248]=_0x390285([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b707b,_0x5b707b!=_0x390285([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x1c09d7,_0x3c3004[_0x390285([0x6d,0x6f,0x64,0x65,0x6c])][_0x390285([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18e31f,_0x3c3004[_0x390285([0x6d,0x6f,0x64,0x65,0x6c])][_0x390285([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18e31f,_0x3c3004[_0x390285([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x390285([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x1ab48e);}class SlashCommandEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xbe2de5];}['getMatchingCommands'](_0x1e56fb){const _0x51c10e=_0x1e56fb&&_0x1e56fb['toLowerCase']();let _0x8084a2=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x8084a2=_0x8084a2['filter'](_0xfc4c04=>_0xfc4c04['isEnabled']()),_0x51c10e){const _0x33e1a9=[],_0x534ef8=[],_0x10064f=[],_0x3e038e=[];for(const _0x31a410 of _0x8084a2)_0x31a410['id']['toLowerCase']()['includes'](_0x51c10e)?_0x33e1a9['push'](_0x31a410):_0x31a410['title']['toLowerCase']()['includes'](_0x51c10e)?_0x534ef8['push'](_0x31a410):_0x31a410['aliases']&&_0x31a410['aliases']['some'](_0x4a4053=>_0x4a4053['toLowerCase']()['includes'](_0x51c10e))?_0x10064f['push'](_0x31a410):_0x31a410['description']&&_0x31a410['description']['toLowerCase']()['includes'](_0x51c10e)&&_0x3e038e['push'](_0x31a410);_0x8084a2=_0x33e1a9['concat'](_0x534ef8,_0x10064f,_0x3e038e);}return _0x8084a2;}}class SlashCommandButtonView extends ckeditor5['ButtonView']{constructor(_0x25b5f7,_0x4bb058){super(_0x25b5f7),this['textPartView']=this['_createTextPartView'](_0x25b5f7,_0x4bb058),void 0x0!==_0x4bb058['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x4bb058['isIconColorInherited']),this['set']({'icon':_0x4bb058['icon']||ckeditor5['IconPlay'],'withText':!0x0,'label':_0x4bb058['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x4ba92f,_0x3ad11d){const _0x2aafc9=new ckeditor5['View'](_0x4ba92f);return _0x2aafc9['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x3ad11d['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x3ad11d['description']}]}]:[this['labelView']]}),_0x2aafc9;}}class _0x5a1692 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x127a94){super(_0x127a94),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x926e99=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1987f4;for(const _0x162de9 in _0x926e99){const _0x2151cc=_0x162de9,_0x57dba9=_0x926e99[_0x2151cc];if('slashCommandLicenseKeyValid'==_0x57dba9||'slashCommandLicenseKeyInvalid'==_0x57dba9||'slashCommandLicenseKeyExpired'==_0x57dba9||'slashCommandLicenseKeyDomainLimit'==_0x57dba9||'slashCommandLicenseKeyNotAllowed'==_0x57dba9||'slashCommandLicenseKeyEvaluationLimit'==_0x57dba9||'slashCommandLicenseKeyUsageLimit'==_0x57dba9){delete _0x926e99[_0x2151cc],_0x1987f4=_0x57dba9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x1987f4&&_0x926e99['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x1987f4&&_0x926e99['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x1987f4&&_0x926e99['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x1987f4&&_0x926e99['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x1987f4&&_0x926e99['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x1987f4&&_0x926e99['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x439f1a=this['editor'],_0x321096=this['editor']['plugins']['get']('SlashCommandEditing'),_0x1748c3=_0x439f1a['config']['get']('mention.feeds');_0x1748c3['push']({'marker':'/','feed':_0x1a7e77=>_0x321096['getMatchingCommands'](_0x1a7e77),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x439f1a['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x439f1a['config']['set']('mention.feeds',_0x1748c3);}['_overrideMentionExecuteListener'](){const _0x1b63a0=this['editor'];_0x1b63a0['commands']['get']('mention')['on']('execute',(_0x3aa106,_0x43f7e2)=>{const _0xe78ffd=_0x43f7e2[0x0],_0x2c473d=_0x1b63a0['model'];'/'===_0xe78ffd['marker']&&_0x2c473d['change'](_0x46e9a8=>{_0x46e9a8['remove'](_0xe78ffd['range']),_0xe78ffd['mention']['execute'](),_0x3aa106['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x220cec){const _0x15e428=this['editor']['locale'],_0xfa4fda=new SlashCommandButtonView(_0x15e428,_0x220cec);return _0xfa4fda['render'](),_0xfa4fda['element'];}}class _0xb47fad extends ckeditor5['Plugin']{static get['requires'](){return['Mention',SlashCommandEditing,_0x5a1692];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getTranslation$3(_0xa2cc15,_0x152bc5){const t=_0xa2cc15['t'];switch(_0x152bc5){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 _0x152bc5;}}function getActiveRootName(_0x532548){const _0xfbb580=_0x532548['editing']['view']['document']['roots'],_0x59c120=_0xfbb580['length'];if(0x0===_0x59c120)throw new ckeditor5['CKEditorError']('source-editing-enhanced-editor-no-root',_0x532548);if(0x1===_0x59c120)return _0xfbb580['first']['rootName'];return Array['from'](_0x532548['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function formatSource(_0x1502c5){return isHtml(_0x1502c5)?ckeditor5['formatHtml'](_0x1502c5):_0x1502c5;}function unformatSource(_0x590f3c){return isHtml(_0x590f3c['replace'](/^[\n\s]*/g,''))?_0x590f3c['replace'](/\s+/g,''):_0x590f3c;}function isHtml(_0x5806cf){return _0x5806cf['startsWith']('<');}let _0x34acb1=[],_0x1478c=[];function isExtendingChar(_0x383f6f){if(_0x383f6f<0x300)return!0x1;for(let _0x2a66de=0x0,_0xb5fa81=_0x34acb1['length'];;){let _0x552ee5=_0x2a66de+_0xb5fa81>>0x1;if(_0x383f6f<_0x34acb1[_0x552ee5])_0xb5fa81=_0x552ee5;else{if(!(_0x383f6f>=_0x1478c[_0x552ee5]))return!0x0;_0x2a66de=_0x552ee5+0x1;}if(_0x2a66de==_0xb5fa81)return!0x1;}}function isRegionalIndicator(_0x1a7584){return _0x1a7584>=0x1f1e6&&_0x1a7584<=0x1f1ff;}((()=>{let _0x357b42='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'](_0x546ff1=>_0x546ff1?parseInt(_0x546ff1,0x24):0x1);for(let _0x266410=0x0,_0x57ff6f=0x0;_0x266410<_0x357b42['length'];_0x266410++)(_0x266410%0x2?_0x1478c:_0x34acb1)['push'](_0x57ff6f+=_0x357b42[_0x266410]);})());const _0x51387f=0x200d;function findClusterBreak$1(_0x5cc215,_0x38a0a6,_0x16f97e=!0x0,_0x278f15=!0x0){return(_0x16f97e?nextClusterBreak:prevClusterBreak)(_0x5cc215,_0x38a0a6,_0x278f15);}function nextClusterBreak(_0x40328c,_0x2807a7,_0x59c5f3){if(_0x2807a7==_0x40328c['length'])return _0x2807a7;_0x2807a7&&surrogateLow$1(_0x40328c['charCodeAt'](_0x2807a7))&&surrogateHigh$1(_0x40328c['charCodeAt'](_0x2807a7-0x1))&&_0x2807a7--;let _0x3f923d=codePointAt$1(_0x40328c,_0x2807a7);for(_0x2807a7+=codePointSize$1(_0x3f923d);_0x2807a7<_0x40328c['length'];){let _0x342e30=codePointAt$1(_0x40328c,_0x2807a7);if(_0x3f923d==_0x51387f||_0x342e30==_0x51387f||_0x59c5f3&&isExtendingChar(_0x342e30))_0x2807a7+=codePointSize$1(_0x342e30),_0x3f923d=_0x342e30;else{if(!isRegionalIndicator(_0x342e30))break;{let _0x3c7eac=0x0,_0x4a1804=_0x2807a7-0x2;for(;_0x4a1804>=0x0&&isRegionalIndicator(codePointAt$1(_0x40328c,_0x4a1804));)_0x3c7eac++,_0x4a1804-=0x2;if(_0x3c7eac%0x2==0x0)break;_0x2807a7+=0x2;}}}return _0x2807a7;}function prevClusterBreak(_0x30f121,_0x506047,_0xb00ca1){for(;_0x506047>0x0;){let _0x2e8d94=nextClusterBreak(_0x30f121,_0x506047-0x2,_0xb00ca1);if(_0x2e8d94<_0x506047)return _0x2e8d94;_0x506047--;}return 0x0;}function codePointAt$1(_0x15cf87,_0x115f5d){let _0x5dda11=_0x15cf87['charCodeAt'](_0x115f5d);if(!surrogateHigh$1(_0x5dda11)||_0x115f5d+0x1==_0x15cf87['length'])return _0x5dda11;let _0x4528a8=_0x15cf87['charCodeAt'](_0x115f5d+0x1);return surrogateLow$1(_0x4528a8)?_0x4528a8-0xdc00+(_0x5dda11-0xd800<<0xa)+0x10000:_0x5dda11;}function surrogateLow$1(_0x19a1b6){return _0x19a1b6>=0xdc00&&_0x19a1b6<0xe000;}function surrogateHigh$1(_0x5d4acc){return _0x5d4acc>=0xd800&&_0x5d4acc<0xdc00;}function codePointSize$1(_0x28d0ac){return _0x28d0ac<0x10000?0x1:0x2;}class Text{['lineAt'](_0x3872e5){if(_0x3872e5<0x0||_0x3872e5>this['length'])throw new RangeError('Invalid\x20position\x20'+_0x3872e5+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0x3872e5,!0x1,0x1,0x0);}['line'](_0x58da0b){if(_0x58da0b<0x1||_0x58da0b>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x58da0b+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x58da0b,!0x0,0x1,0x0);}['replace'](_0x178b1b,_0x52a8ec,_0x561d0b){[_0x178b1b,_0x52a8ec]=_0x40fe01(this,_0x178b1b,_0x52a8ec);let _0x97900=[];return this['decompose'](0x0,_0x178b1b,_0x97900,0x2),_0x561d0b['length']&&_0x561d0b['decompose'](0x0,_0x561d0b['length'],_0x97900,0x3),this['decompose'](_0x52a8ec,this['length'],_0x97900,0x1),TextNode['from'](_0x97900,this['length']-(_0x52a8ec-_0x178b1b)+_0x561d0b['length']);}['append'](_0xf77913){return this['replace'](this['length'],this['length'],_0xf77913);}['slice'](_0x3ad8e0,_0x1aae40=this['length']){[_0x3ad8e0,_0x1aae40]=_0x40fe01(this,_0x3ad8e0,_0x1aae40);let _0x2a2a0f=[];return this['decompose'](_0x3ad8e0,_0x1aae40,_0x2a2a0f,0x0),TextNode['from'](_0x2a2a0f,_0x1aae40-_0x3ad8e0);}['eq'](_0x4f26d3){if(_0x4f26d3==this)return!0x0;if(_0x4f26d3['length']!=this['length']||_0x4f26d3['lines']!=this['lines'])return!0x1;let _0x2ad7d0=this['scanIdentical'](_0x4f26d3,0x1),_0x4337f3=this['length']-this['scanIdentical'](_0x4f26d3,-0x1),_0x57e283=new RawTextCursor(this),_0x49ed6b=new RawTextCursor(_0x4f26d3);for(let _0x230840=_0x2ad7d0,_0xa4740d=_0x2ad7d0;;){if(_0x57e283['next'](_0x230840),_0x49ed6b['next'](_0x230840),_0x230840=0x0,_0x57e283['lineBreak']!=_0x49ed6b['lineBreak']||_0x57e283['done']!=_0x49ed6b['done']||_0x57e283['value']!=_0x49ed6b['value'])return!0x1;if(_0xa4740d+=_0x57e283['value']['length'],_0x57e283['done']||_0xa4740d>=_0x4337f3)return!0x0;}}['iter'](_0x37f695=0x1){return new RawTextCursor(this,_0x37f695);}['iterRange'](_0x44e124,_0x22fe15=this['length']){return new PartialTextCursor(this,_0x44e124,_0x22fe15);}['iterLines'](_0x4557e1,_0x4671c3){let _0x10c08b;if(null==_0x4557e1)_0x10c08b=this['iter']();else{null==_0x4671c3&&(_0x4671c3=this['lines']+0x1);let _0x34ebb5=this['line'](_0x4557e1)['from'];_0x10c08b=this['iterRange'](_0x34ebb5,Math['max'](_0x34ebb5,_0x4671c3==this['lines']+0x1?this['length']:_0x4671c3<=0x1?0x0:this['line'](_0x4671c3-0x1)['to']));}return new _0x3740e6(_0x10c08b);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x505115=[];return this['flatten'](_0x505115),_0x505115;}constructor(){}static['of'](_0x52fea8){if(0x0==_0x52fea8['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x52fea8['length']||_0x52fea8[0x0]?_0x52fea8['length']<=0x20?new TextLeaf(_0x52fea8):TextNode['from'](TextLeaf['split'](_0x52fea8,[])):Text['empty'];}}class TextLeaf extends Text{constructor(_0x1a8c06,_0x1ac7f2=textLength(_0x1a8c06)){super(),this['text']=_0x1a8c06,this['length']=_0x1ac7f2;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0x350a26,_0x44453f,_0x3cd85e,_0x4bacc1){for(let _0x15975d=0x0;;_0x15975d++){let _0x38bb1f=this['text'][_0x15975d],_0x43db90=_0x4bacc1+_0x38bb1f['length'];if((_0x44453f?_0x3cd85e:_0x43db90)>=_0x350a26)return new _0x4cf98b(_0x4bacc1,_0x43db90,_0x3cd85e,_0x38bb1f);_0x4bacc1=_0x43db90+0x1,_0x3cd85e++;}}['decompose'](_0x10a358,_0x454c61,_0x1a6753,_0x3c1bb1){let _0x310bda=_0x10a358<=0x0&&_0x454c61>=this['length']?this:new TextLeaf(sliceText(this['text'],_0x10a358,_0x454c61),Math['min'](_0x454c61,this['length'])-Math['max'](0x0,_0x10a358));if(0x1&_0x3c1bb1){let _0x6d7717=_0x1a6753['pop'](),_0x1de6a2=appendText(_0x310bda['text'],_0x6d7717['text']['slice'](),0x0,_0x310bda['length']);if(_0x1de6a2['length']<=0x20)_0x1a6753['push'](new TextLeaf(_0x1de6a2,_0x6d7717['length']+_0x310bda['length']));else{let _0x1fb6e8=_0x1de6a2['length']>>0x1;_0x1a6753['push'](new TextLeaf(_0x1de6a2['slice'](0x0,_0x1fb6e8)),new TextLeaf(_0x1de6a2['slice'](_0x1fb6e8)));}}else _0x1a6753['push'](_0x310bda);}['replace'](_0x61b36c,_0x19ad0d,_0x4e1d9c){if(!(_0x4e1d9c instanceof TextLeaf))return super['replace'](_0x61b36c,_0x19ad0d,_0x4e1d9c);[_0x61b36c,_0x19ad0d]=_0x40fe01(this,_0x61b36c,_0x19ad0d);let _0x1f0eef=appendText(this['text'],appendText(_0x4e1d9c['text'],sliceText(this['text'],0x0,_0x61b36c)),_0x19ad0d),_0x2f2ba5=this['length']+_0x4e1d9c['length']-(_0x19ad0d-_0x61b36c);return _0x1f0eef['length']<=0x20?new TextLeaf(_0x1f0eef,_0x2f2ba5):TextNode['from'](TextLeaf['split'](_0x1f0eef,[]),_0x2f2ba5);}['sliceString'](_0x203803,_0x2f43cc=this['length'],_0x1b8501='\x0a'){[_0x203803,_0x2f43cc]=_0x40fe01(this,_0x203803,_0x2f43cc);let _0x5948ba='';for(let _0x9a7e37=0x0,_0x115479=0x0;_0x9a7e37<=_0x2f43cc&&_0x115479<this['text']['length'];_0x115479++){let _0x5c871d=this['text'][_0x115479],_0x2d3f55=_0x9a7e37+_0x5c871d['length'];_0x9a7e37>_0x203803&&_0x115479&&(_0x5948ba+=_0x1b8501),_0x203803<_0x2d3f55&&_0x2f43cc>_0x9a7e37&&(_0x5948ba+=_0x5c871d['slice'](Math['max'](0x0,_0x203803-_0x9a7e37),_0x2f43cc-_0x9a7e37)),_0x9a7e37=_0x2d3f55+0x1;}return _0x5948ba;}['flatten'](_0x4613ae){for(let _0x170558 of this['text'])_0x4613ae['push'](_0x170558);}['scanIdentical'](){return 0x0;}static['split'](_0x17f4bd,_0x30a885){let _0x34df55=[],_0x5d6e2d=-0x1;for(let _0xa8c83e of _0x17f4bd)_0x34df55['push'](_0xa8c83e),_0x5d6e2d+=_0xa8c83e['length']+0x1,0x20==_0x34df55['length']&&(_0x30a885['push'](new TextLeaf(_0x34df55,_0x5d6e2d)),_0x34df55=[],_0x5d6e2d=-0x1);return _0x5d6e2d>-0x1&&_0x30a885['push'](new TextLeaf(_0x34df55,_0x5d6e2d)),_0x30a885;}}class TextNode extends Text{constructor(_0x181044,_0x383f93){super(),this['children']=_0x181044,this['length']=_0x383f93,this['lines']=0x0;for(let _0x25d324 of _0x181044)this['lines']+=_0x25d324['lines'];}['lineInner'](_0x1e8742,_0xba94a2,_0x53dc18,_0x5327f7){for(let _0x2dbdaa=0x0;;_0x2dbdaa++){let _0x4cdedc=this['children'][_0x2dbdaa],_0x2297c7=_0x5327f7+_0x4cdedc['length'],_0xecf6f0=_0x53dc18+_0x4cdedc['lines']-0x1;if((_0xba94a2?_0xecf6f0:_0x2297c7)>=_0x1e8742)return _0x4cdedc['lineInner'](_0x1e8742,_0xba94a2,_0x53dc18,_0x5327f7);_0x5327f7=_0x2297c7+0x1,_0x53dc18=_0xecf6f0+0x1;}}['decompose'](_0xc68104,_0x21b17a,_0x4a4e99,_0x5e1088){for(let _0x29c7e4=0x0,_0x1f4da8=0x0;_0x1f4da8<=_0x21b17a&&_0x29c7e4<this['children']['length'];_0x29c7e4++){let _0x4810be=this['children'][_0x29c7e4],_0x2c1ab7=_0x1f4da8+_0x4810be['length'];if(_0xc68104<=_0x2c1ab7&&_0x21b17a>=_0x1f4da8){let _0x1bf846=_0x5e1088&((_0x1f4da8<=_0xc68104?0x1:0x0)|(_0x2c1ab7>=_0x21b17a?0x2:0x0));_0x1f4da8>=_0xc68104&&_0x2c1ab7<=_0x21b17a&&!_0x1bf846?_0x4a4e99['push'](_0x4810be):_0x4810be['decompose'](_0xc68104-_0x1f4da8,_0x21b17a-_0x1f4da8,_0x4a4e99,_0x1bf846);}_0x1f4da8=_0x2c1ab7+0x1;}}['replace'](_0x5e0c18,_0x3fe565,_0x3aa049){if([_0x5e0c18,_0x3fe565]=_0x40fe01(this,_0x5e0c18,_0x3fe565),_0x3aa049['lines']<this['lines'])for(let _0x552f73=0x0,_0x317ce5=0x0;_0x552f73<this['children']['length'];_0x552f73++){let _0x14141e=this['children'][_0x552f73],_0x41d5b3=_0x317ce5+_0x14141e['length'];if(_0x5e0c18>=_0x317ce5&&_0x3fe565<=_0x41d5b3){let _0x1176c5=_0x14141e['replace'](_0x5e0c18-_0x317ce5,_0x3fe565-_0x317ce5,_0x3aa049),_0x353e0c=this['lines']-_0x14141e['lines']+_0x1176c5['lines'];if(_0x1176c5['lines']<_0x353e0c>>0x4&&_0x1176c5['lines']>_0x353e0c>>0x6){let _0x185b42=this['children']['slice']();return _0x185b42[_0x552f73]=_0x1176c5,new TextNode(_0x185b42,this['length']-(_0x3fe565-_0x5e0c18)+_0x3aa049['length']);}return super['replace'](_0x317ce5,_0x41d5b3,_0x1176c5);}_0x317ce5=_0x41d5b3+0x1;}return super['replace'](_0x5e0c18,_0x3fe565,_0x3aa049);}['sliceString'](_0x1618c0,_0xc688e1=this['length'],_0x4de639='\x0a'){[_0x1618c0,_0xc688e1]=_0x40fe01(this,_0x1618c0,_0xc688e1);let _0x87d0a0='';for(let _0x1d5b6b=0x0,_0x50943f=0x0;_0x1d5b6b<this['children']['length']&&_0x50943f<=_0xc688e1;_0x1d5b6b++){let _0x13b3f9=this['children'][_0x1d5b6b],_0x47f442=_0x50943f+_0x13b3f9['length'];_0x50943f>_0x1618c0&&_0x1d5b6b&&(_0x87d0a0+=_0x4de639),_0x1618c0<_0x47f442&&_0xc688e1>_0x50943f&&(_0x87d0a0+=_0x13b3f9['sliceString'](_0x1618c0-_0x50943f,_0xc688e1-_0x50943f,_0x4de639)),_0x50943f=_0x47f442+0x1;}return _0x87d0a0;}['flatten'](_0x2e39a0){for(let _0x131fa1 of this['children'])_0x131fa1['flatten'](_0x2e39a0);}['scanIdentical'](_0x1eb22a,_0x3717a1){if(!(_0x1eb22a instanceof TextNode))return 0x0;let _0x4effbc=0x0,[_0x45d826,_0x58fbf2,_0x4a88bb,_0x4bf1a0]=_0x3717a1>0x0?[0x0,0x0,this['children']['length'],_0x1eb22a['children']['length']]:[this['children']['length']-0x1,_0x1eb22a['children']['length']-0x1,-0x1,-0x1];for(;;_0x45d826+=_0x3717a1,_0x58fbf2+=_0x3717a1){if(_0x45d826==_0x4a88bb||_0x58fbf2==_0x4bf1a0)return _0x4effbc;let _0x200b83=this['children'][_0x45d826],_0x20033b=_0x1eb22a['children'][_0x58fbf2];if(_0x200b83!=_0x20033b)return _0x4effbc+_0x200b83['scanIdentical'](_0x20033b,_0x3717a1);_0x4effbc+=_0x200b83['length']+0x1;}}static['from'](_0x563057,_0xa2f722=_0x563057['reduce']((_0x128b18,_0x5594ed)=>_0x128b18+_0x5594ed['length']+0x1,-0x1)){let _0x24586e=0x0;for(let _0x400d01 of _0x563057)_0x24586e+=_0x400d01['lines'];if(_0x24586e<0x20){let _0x5861b8=[];for(let _0x5ea088 of _0x563057)_0x5ea088['flatten'](_0x5861b8);return new TextLeaf(_0x5861b8,_0xa2f722);}let _0x1b01b4=Math['max'](0x20,_0x24586e>>0x5),_0x305d95=_0x1b01b4<<0x1,_0x1f2b1a=_0x1b01b4>>0x1,_0x1aa2b2=[],_0x31ed6f=0x0,_0x491cfd=-0x1,_0x4b9027=[];function _0x39bc46(_0x294dae){let _0x58d5b7;if(_0x294dae['lines']>_0x305d95&&_0x294dae instanceof TextNode){for(let _0xa8a820 of _0x294dae['children'])_0x39bc46(_0xa8a820);}else _0x294dae['lines']>_0x1f2b1a&&(_0x31ed6f>_0x1f2b1a||!_0x31ed6f)?(_0x1ecf02(),_0x1aa2b2['push'](_0x294dae)):_0x294dae instanceof TextLeaf&&_0x31ed6f&&(_0x58d5b7=_0x4b9027[_0x4b9027['length']-0x1])instanceof TextLeaf&&_0x294dae['lines']+_0x58d5b7['lines']<=0x20?(_0x31ed6f+=_0x294dae['lines'],_0x491cfd+=_0x294dae['length']+0x1,_0x4b9027[_0x4b9027['length']-0x1]=new TextLeaf(_0x58d5b7['text']['concat'](_0x294dae['text']),_0x58d5b7['length']+0x1+_0x294dae['length'])):(_0x31ed6f+_0x294dae['lines']>_0x1b01b4&&_0x1ecf02(),_0x31ed6f+=_0x294dae['lines'],_0x491cfd+=_0x294dae['length']+0x1,_0x4b9027['push'](_0x294dae));}function _0x1ecf02(){0x0!=_0x31ed6f&&(_0x1aa2b2['push'](0x1==_0x4b9027['length']?_0x4b9027[0x0]:TextNode['from'](_0x4b9027,_0x491cfd)),_0x491cfd=-0x1,_0x31ed6f=_0x4b9027['length']=0x0);}for(let _0xde5453 of _0x563057)_0x39bc46(_0xde5453);return _0x1ecf02(),0x1==_0x1aa2b2['length']?_0x1aa2b2[0x0]:new TextNode(_0x1aa2b2,_0xa2f722);}}function textLength(_0x4269d7){let _0x24e549=-0x1;for(let _0x4a8a5c of _0x4269d7)_0x24e549+=_0x4a8a5c['length']+0x1;return _0x24e549;}function appendText(_0x5ba46d,_0x486421,_0x52e432=0x0,_0x17ad08=0x3b9aca00){for(let _0x3af42f=0x0,_0x17c994=0x0,_0x22840a=!0x0;_0x17c994<_0x5ba46d['length']&&_0x3af42f<=_0x17ad08;_0x17c994++){let _0x1ebae6=_0x5ba46d[_0x17c994],_0x25c61c=_0x3af42f+_0x1ebae6['length'];_0x25c61c>=_0x52e432&&(_0x25c61c>_0x17ad08&&(_0x1ebae6=_0x1ebae6['slice'](0x0,_0x17ad08-_0x3af42f)),_0x3af42f<_0x52e432&&(_0x1ebae6=_0x1ebae6['slice'](_0x52e432-_0x3af42f)),_0x22840a?(_0x486421[_0x486421['length']-0x1]+=_0x1ebae6,_0x22840a=!0x1):_0x486421['push'](_0x1ebae6)),_0x3af42f=_0x25c61c+0x1;}return _0x486421;}function sliceText(_0x4cf6bb,_0x43bb5f,_0x134d65){return appendText(_0x4cf6bb,[''],_0x43bb5f,_0x134d65);}Text['empty']=new TextLeaf([''],0x0);class RawTextCursor{constructor(_0x20fadd,_0x5097de=0x1){this['dir']=_0x5097de,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x20fadd],this['offsets']=[_0x5097de>0x0?0x1:(_0x20fadd instanceof TextLeaf?_0x20fadd['text']['length']:_0x20fadd['children']['length'])<<0x1];}['nextInner'](_0x3a4ae4,_0x37902f){for(this['done']=this['lineBreak']=!0x1;;){let _0x491c49=this['nodes']['length']-0x1,_0x32c536=this['nodes'][_0x491c49],_0x14fb85=this['offsets'][_0x491c49],_0x21949b=_0x14fb85>>0x1,_0x4e19dd=_0x32c536 instanceof TextLeaf?_0x32c536['text']['length']:_0x32c536['children']['length'];if(_0x21949b==(_0x37902f>0x0?_0x4e19dd:0x0)){if(0x0==_0x491c49)return this['done']=!0x0,this['value']='',this;_0x37902f>0x0&&this['offsets'][_0x491c49-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x14fb85)==(_0x37902f>0x0?0x0:0x1)){if(this['offsets'][_0x491c49]+=_0x37902f,0x0==_0x3a4ae4)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x3a4ae4--;}else{if(_0x32c536 instanceof TextLeaf){let _0x46f242=_0x32c536['text'][_0x21949b+(_0x37902f<0x0?-0x1:0x0)];if(this['offsets'][_0x491c49]+=_0x37902f,_0x46f242['length']>Math['max'](0x0,_0x3a4ae4))return this['value']=0x0==_0x3a4ae4?_0x46f242:_0x37902f>0x0?_0x46f242['slice'](_0x3a4ae4):_0x46f242['slice'](0x0,_0x46f242['length']-_0x3a4ae4),this;_0x3a4ae4-=_0x46f242['length'];}else{let _0x39914f=_0x32c536['children'][_0x21949b+(_0x37902f<0x0?-0x1:0x0)];_0x3a4ae4>_0x39914f['length']?(_0x3a4ae4-=_0x39914f['length'],this['offsets'][_0x491c49]+=_0x37902f):(_0x37902f<0x0&&this['offsets'][_0x491c49]--,this['nodes']['push'](_0x39914f),this['offsets']['push'](_0x37902f>0x0?0x1:(_0x39914f instanceof TextLeaf?_0x39914f['text']['length']:_0x39914f['children']['length'])<<0x1));}}}}}['next'](_0x1dc5bb=0x0){return _0x1dc5bb<0x0&&(this['nextInner'](-_0x1dc5bb,-this['dir']),_0x1dc5bb=this['value']['length']),this['nextInner'](_0x1dc5bb,this['dir']);}}class PartialTextCursor{constructor(_0x173421,_0x1aa0c1,_0x14991b){this['value']='',this['done']=!0x1,this['cursor']=new RawTextCursor(_0x173421,_0x1aa0c1>_0x14991b?-0x1:0x1),this['pos']=_0x1aa0c1>_0x14991b?_0x173421['length']:0x0,this['from']=Math['min'](_0x1aa0c1,_0x14991b),this['to']=Math['max'](_0x1aa0c1,_0x14991b);}['nextInner'](_0x239ffb,_0x53a858){if(_0x53a858<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x239ffb+=Math['max'](0x0,_0x53a858<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x5567da=_0x53a858<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x239ffb>_0x5567da&&(_0x239ffb=_0x5567da),_0x5567da-=_0x239ffb;let {value:_0xf15b6b}=this['cursor']['next'](_0x239ffb);return this['pos']+=(_0xf15b6b['length']+_0x239ffb)*_0x53a858,this['value']=_0xf15b6b['length']<=_0x5567da?_0xf15b6b:_0x53a858<0x0?_0xf15b6b['slice'](_0xf15b6b['length']-_0x5567da):_0xf15b6b['slice'](0x0,_0x5567da),this['done']=!this['value'],this;}['next'](_0x1799c1=0x0){return _0x1799c1<0x0?_0x1799c1=Math['max'](_0x1799c1,this['from']-this['pos']):_0x1799c1>0x0&&(_0x1799c1=Math['min'](_0x1799c1,this['to']-this['pos'])),this['nextInner'](_0x1799c1,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}}class _0x3740e6{constructor(_0x45adb7){this['inner']=_0x45adb7,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x56813f=0x0){let {done:_0x49a306,lineBreak:_0x3bd110,value:_0x3caa3a}=this['inner']['next'](_0x56813f);return _0x49a306&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0x49a306?(this['done']=!0x0,this['value']=''):_0x3bd110?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x3caa3a,this['afterBreak']=!0x1),this;}get['lineBreak'](){return!0x1;}}'undefined'!=typeof Symbol&&(Text['prototype'][Symbol['iterator']]=function(){return this['iter']();},RawTextCursor['prototype'][Symbol['iterator']]=PartialTextCursor['prototype'][Symbol['iterator']]=_0x3740e6['prototype'][Symbol['iterator']]=function(){return this;});let _0x4cf98b=class{constructor(_0x36c9d6,_0x3a8e34,_0x493954,_0x117dfa){this['from']=_0x36c9d6,this['to']=_0x3a8e34,this['number']=_0x493954,this['text']=_0x117dfa;}get['length'](){return this['to']-this['from'];}};function _0x40fe01(_0x229fb5,_0x2cb6fc,_0x429077){return[_0x2cb6fc=Math['max'](0x0,Math['min'](_0x229fb5['length'],_0x2cb6fc)),Math['max'](_0x2cb6fc,Math['min'](_0x229fb5['length'],_0x429077))];}function findClusterBreak(_0x12330e,_0x3cca7d,_0x2b0a65=!0x0,_0x597cb0=!0x0){return findClusterBreak$1(_0x12330e,_0x3cca7d,_0x2b0a65,_0x597cb0);}function surrogateLow(_0x27f7d0){return _0x27f7d0>=0xdc00&&_0x27f7d0<0xe000;}function surrogateHigh(_0x1b7e14){return _0x1b7e14>=0xd800&&_0x1b7e14<0xdc00;}function codePointAt(_0x39feb5,_0x162c6f){let _0x509b8c=_0x39feb5['charCodeAt'](_0x162c6f);if(!surrogateHigh(_0x509b8c)||_0x162c6f+0x1==_0x39feb5['length'])return _0x509b8c;let _0x48ba3e=_0x39feb5['charCodeAt'](_0x162c6f+0x1);return surrogateLow(_0x48ba3e)?_0x48ba3e-0xdc00+(_0x509b8c-0xd800<<0xa)+0x10000:_0x509b8c;}function fromCodePoint(_0x2816bc){return _0x2816bc<=0xffff?String['fromCharCode'](_0x2816bc):(_0x2816bc-=0x10000,String['fromCharCode'](0xd800+(_0x2816bc>>0xa),0xdc00+(0x3ff&_0x2816bc)));}function codePointSize(_0x446adf){return _0x446adf<0x10000?0x1:0x2;}const DefaultSplit=/\r\n?|\n/;var _0x20171d=function(_0x73c731){return _0x73c731[_0x73c731['Simple']=0x0]='Simple',_0x73c731[_0x73c731['TrackDel']=0x1]='TrackDel',_0x73c731[_0x73c731['TrackBefore']=0x2]='TrackBefore',_0x73c731[_0x73c731['TrackAfter']=0x3]='TrackAfter',_0x73c731;}(_0x20171d||(_0x20171d={}));class _0x53d4ba{constructor(_0x26d372){this['sections']=_0x26d372;}get['length'](){let _0x3cab8e=0x0;for(let _0x4443fe=0x0;_0x4443fe<this['sections']['length'];_0x4443fe+=0x2)_0x3cab8e+=this['sections'][_0x4443fe];return _0x3cab8e;}get['newLength'](){let _0x454b9d=0x0;for(let _0x4cc024=0x0;_0x4cc024<this['sections']['length'];_0x4cc024+=0x2){let _0xa4a14=this['sections'][_0x4cc024+0x1];_0x454b9d+=_0xa4a14<0x0?this['sections'][_0x4cc024]:_0xa4a14;}return _0x454b9d;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0x87daa3){for(let _0x13217c=0x0,_0x28f890=0x0,_0x4f3ee2=0x0;_0x13217c<this['sections']['length'];){let _0x5ca33d=this['sections'][_0x13217c++],_0x2c2ca7=this['sections'][_0x13217c++];_0x2c2ca7<0x0?(_0x87daa3(_0x28f890,_0x4f3ee2,_0x5ca33d),_0x4f3ee2+=_0x5ca33d):_0x4f3ee2+=_0x2c2ca7,_0x28f890+=_0x5ca33d;}}['iterChangedRanges'](_0x51b51f,_0x1a46cf=!0x1){iterChanges(this,_0x51b51f,_0x1a46cf);}get['invertedDesc'](){let _0x6f37d9=[];for(let _0x44fd4a=0x0;_0x44fd4a<this['sections']['length'];){let _0x12f1ec=this['sections'][_0x44fd4a++],_0x55bd42=this['sections'][_0x44fd4a++];_0x55bd42<0x0?_0x6f37d9['push'](_0x12f1ec,_0x55bd42):_0x6f37d9['push'](_0x55bd42,_0x12f1ec);}return new _0x53d4ba(_0x6f37d9);}['composeDesc'](_0x1eacf9){return this['empty']?_0x1eacf9:_0x1eacf9['empty']?this:composeSets(this,_0x1eacf9);}['mapDesc'](_0x4a8fa5,_0x6af689=!0x1){return _0x4a8fa5['empty']?this:mapSet(this,_0x4a8fa5,_0x6af689);}['mapPos'](_0x11fe34,_0x4c2ad6=-0x1,_0x5ff2ef=_0x20171d['Simple']){let _0x413f2d=0x0,_0x3a15cc=0x0;for(let _0x4391d7=0x0;_0x4391d7<this['sections']['length'];){let _0x2c665d=this['sections'][_0x4391d7++],_0x43174b=this['sections'][_0x4391d7++],_0x149d40=_0x413f2d+_0x2c665d;if(_0x43174b<0x0){if(_0x149d40>_0x11fe34)return _0x3a15cc+(_0x11fe34-_0x413f2d);_0x3a15cc+=_0x2c665d;}else{if(_0x5ff2ef!=_0x20171d['Simple']&&_0x149d40>=_0x11fe34&&(_0x5ff2ef==_0x20171d['TrackDel']&&_0x413f2d<_0x11fe34&&_0x149d40>_0x11fe34||_0x5ff2ef==_0x20171d['TrackBefore']&&_0x413f2d<_0x11fe34||_0x5ff2ef==_0x20171d['TrackAfter']&&_0x149d40>_0x11fe34))return null;if(_0x149d40>_0x11fe34||_0x149d40==_0x11fe34&&_0x4c2ad6<0x0&&!_0x2c665d)return _0x11fe34==_0x413f2d||_0x4c2ad6<0x0?_0x3a15cc:_0x3a15cc+_0x43174b;_0x3a15cc+=_0x43174b;}_0x413f2d=_0x149d40;}if(_0x11fe34>_0x413f2d)throw new RangeError('Position\x20'+_0x11fe34+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x413f2d);return _0x3a15cc;}['touchesRange'](_0x31f620,_0x2f542c=_0x31f620){for(let _0x30474f=0x0,_0x15c3ab=0x0;_0x30474f<this['sections']['length']&&_0x15c3ab<=_0x2f542c;){let _0x2cc423=_0x15c3ab+this['sections'][_0x30474f++];if(this['sections'][_0x30474f++]>=0x0&&_0x15c3ab<=_0x2f542c&&_0x2cc423>=_0x31f620)return!(_0x15c3ab<_0x31f620&&_0x2cc423>_0x2f542c)||'cover';_0x15c3ab=_0x2cc423;}return!0x1;}['toString'](){let _0x5c0bfb='';for(let _0x54ac6a=0x0;_0x54ac6a<this['sections']['length'];){let _0x222231=this['sections'][_0x54ac6a++],_0x3926dc=this['sections'][_0x54ac6a++];_0x5c0bfb+=(_0x5c0bfb?'\x20':'')+_0x222231+(_0x3926dc>=0x0?':'+_0x3926dc:'');}return _0x5c0bfb;}['toJSON'](){return this['sections'];}static['fromJSON'](_0xb1242d){if(!Array['isArray'](_0xb1242d)||_0xb1242d['length']%0x2||_0xb1242d['some'](_0x4485e4=>'number'!=typeof _0x4485e4))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new _0x53d4ba(_0xb1242d);}static['create'](_0x286e5a){return new _0x53d4ba(_0x286e5a);}}class ChangeSet extends _0x53d4ba{constructor(_0x2a5c1b,_0x3570e5){super(_0x2a5c1b),this['inserted']=_0x3570e5;}['apply'](_0x2686ff){if(this['length']!=_0x2686ff['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return iterChanges(this,(_0x36f1eb,_0x18c8b6,_0x3f022a,_0x209e74,_0x3ef2e3)=>_0x2686ff=_0x2686ff['replace'](_0x3f022a,_0x3f022a+(_0x18c8b6-_0x36f1eb),_0x3ef2e3),!0x1),_0x2686ff;}['mapDesc'](_0x5a164b,_0x554e9c=!0x1){return mapSet(this,_0x5a164b,_0x554e9c,!0x0);}['invert'](_0xe44387){let _0x2b6dce=this['sections']['slice'](),_0x375e2d=[];for(let _0xc05888=0x0,_0x1b1e7b=0x0;_0xc05888<_0x2b6dce['length'];_0xc05888+=0x2){let _0x31eb6b=_0x2b6dce[_0xc05888],_0x3b1c22=_0x2b6dce[_0xc05888+0x1];if(_0x3b1c22>=0x0){_0x2b6dce[_0xc05888]=_0x3b1c22,_0x2b6dce[_0xc05888+0x1]=_0x31eb6b;let _0x3f5c0e=_0xc05888>>0x1;for(;_0x375e2d['length']<_0x3f5c0e;)_0x375e2d['push'](Text['empty']);_0x375e2d['push'](_0x31eb6b?_0xe44387['slice'](_0x1b1e7b,_0x1b1e7b+_0x31eb6b):Text['empty']);}_0x1b1e7b+=_0x31eb6b;}return new ChangeSet(_0x2b6dce,_0x375e2d);}['compose'](_0x3f38ee){return this['empty']?_0x3f38ee:_0x3f38ee['empty']?this:composeSets(this,_0x3f38ee,!0x0);}['map'](_0x2a9a5c,_0x2326c1=!0x1){return _0x2a9a5c['empty']?this:mapSet(this,_0x2a9a5c,_0x2326c1,!0x0);}['iterChanges'](_0x3d7b82,_0x4ebbf0=!0x1){iterChanges(this,_0x3d7b82,_0x4ebbf0);}get['desc'](){return _0x53d4ba['create'](this['sections']);}['filter'](_0x11ee3f){let _0x1fa818=[],_0x136d5a=[],_0x2cac24=[],_0x3996e9=new SectionIter(this);t:for(let _0x38fba7=0x0,_0x5800f4=0x0;;){let _0x37fab9=_0x38fba7==_0x11ee3f['length']?0x3b9aca00:_0x11ee3f[_0x38fba7++];for(;_0x5800f4<_0x37fab9||_0x5800f4==_0x37fab9&&0x0==_0x3996e9['len'];){if(_0x3996e9['done'])break t;let _0x39bf5c=Math['min'](_0x3996e9['len'],_0x37fab9-_0x5800f4);addSection(_0x2cac24,_0x39bf5c,-0x1);let _0x3042a0=-0x1==_0x3996e9['ins']?-0x1:0x0==_0x3996e9['off']?_0x3996e9['ins']:0x0;addSection(_0x1fa818,_0x39bf5c,_0x3042a0),_0x3042a0>0x0&&addInsert(_0x136d5a,_0x1fa818,_0x3996e9['text']),_0x3996e9['forward'](_0x39bf5c),_0x5800f4+=_0x39bf5c;}let _0x3c3024=_0x11ee3f[_0x38fba7++];for(;_0x5800f4<_0x3c3024;){if(_0x3996e9['done'])break t;let _0x2533ce=Math['min'](_0x3996e9['len'],_0x3c3024-_0x5800f4);addSection(_0x1fa818,_0x2533ce,-0x1),addSection(_0x2cac24,_0x2533ce,-0x1==_0x3996e9['ins']?-0x1:0x0==_0x3996e9['off']?_0x3996e9['ins']:0x0),_0x3996e9['forward'](_0x2533ce),_0x5800f4+=_0x2533ce;}}return{'changes':new ChangeSet(_0x1fa818,_0x136d5a),'filtered':_0x53d4ba['create'](_0x2cac24)};}['toJSON'](){let _0x540760=[];for(let _0x57fc2b=0x0;_0x57fc2b<this['sections']['length'];_0x57fc2b+=0x2){let _0x16a504=this['sections'][_0x57fc2b],_0x248784=this['sections'][_0x57fc2b+0x1];_0x248784<0x0?_0x540760['push'](_0x16a504):0x0==_0x248784?_0x540760['push']([_0x16a504]):_0x540760['push']([_0x16a504]['concat'](this['inserted'][_0x57fc2b>>0x1]['toJSON']()));}return _0x540760;}static['of'](_0x320995,_0x58a09b,_0x3f4963){let _0x55cd35=[],_0x464aef=[],_0x572ed7=0x0,_0x3d7d4d=null;function _0x21701b(_0x399cfd=!0x1){if(!_0x399cfd&&!_0x55cd35['length'])return;_0x572ed7<_0x58a09b&&addSection(_0x55cd35,_0x58a09b-_0x572ed7,-0x1);let _0x1460c1=new ChangeSet(_0x55cd35,_0x464aef);_0x3d7d4d=_0x3d7d4d?_0x3d7d4d['compose'](_0x1460c1['map'](_0x3d7d4d)):_0x1460c1,_0x55cd35=[],_0x464aef=[],_0x572ed7=0x0;}return function _0x41e3d6(_0x3b9a4b){if(Array['isArray'](_0x3b9a4b)){for(let _0x34f507 of _0x3b9a4b)_0x41e3d6(_0x34f507);}else{if(_0x3b9a4b instanceof ChangeSet){if(_0x3b9a4b['length']!=_0x58a09b)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x3b9a4b['length']+',\x20expected\x20'+_0x58a09b+')');_0x21701b(),_0x3d7d4d=_0x3d7d4d?_0x3d7d4d['compose'](_0x3b9a4b['map'](_0x3d7d4d)):_0x3b9a4b;}else{let {from:_0x571a61,to:_0x46adb6=_0x571a61,insert:_0x3356cf}=_0x3b9a4b;if(_0x571a61>_0x46adb6||_0x571a61<0x0||_0x46adb6>_0x58a09b)throw new RangeError('Invalid\x20change\x20range\x20'+_0x571a61+'\x20to\x20'+_0x46adb6+'\x20(in\x20doc\x20of\x20length\x20'+_0x58a09b+')');let _0x226e85=_0x3356cf?'string'==typeof _0x3356cf?Text['of'](_0x3356cf['split'](_0x3f4963||DefaultSplit)):_0x3356cf:Text['empty'],_0x32b8b0=_0x226e85['length'];if(_0x571a61==_0x46adb6&&0x0==_0x32b8b0)return;_0x571a61<_0x572ed7&&_0x21701b(),_0x571a61>_0x572ed7&&addSection(_0x55cd35,_0x571a61-_0x572ed7,-0x1),addSection(_0x55cd35,_0x46adb6-_0x571a61,_0x32b8b0),addInsert(_0x464aef,_0x55cd35,_0x226e85),_0x572ed7=_0x46adb6;}}}(_0x320995),_0x21701b(!_0x3d7d4d),_0x3d7d4d;}static['empty'](_0x27bfbe){return new ChangeSet(_0x27bfbe?[_0x27bfbe,-0x1]:[],[]);}static['fromJSON'](_0x530999){if(!Array['isArray'](_0x530999))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0xaa7996=[],_0x286e37=[];for(let _0x129aa5=0x0;_0x129aa5<_0x530999['length'];_0x129aa5++){let _0x11218f=_0x530999[_0x129aa5];if('number'==typeof _0x11218f)_0xaa7996['push'](_0x11218f,-0x1);else{if(!Array['isArray'](_0x11218f)||'number'!=typeof _0x11218f[0x0]||_0x11218f['some']((_0x1ddf36,_0x11d7ac)=>_0x11d7ac&&'string'!=typeof _0x1ddf36))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x11218f['length'])_0xaa7996['push'](_0x11218f[0x0],0x0);else{for(;_0x286e37['length']<_0x129aa5;)_0x286e37['push'](Text['empty']);_0x286e37[_0x129aa5]=Text['of'](_0x11218f['slice'](0x1)),_0xaa7996['push'](_0x11218f[0x0],_0x286e37[_0x129aa5]['length']);}}}return new ChangeSet(_0xaa7996,_0x286e37);}static['createSet'](_0x1b2b3f,_0xd28636){return new ChangeSet(_0x1b2b3f,_0xd28636);}}function addSection(_0x423428,_0x2e942e,_0x57a4b7,_0x39176f=!0x1){if(0x0==_0x2e942e&&_0x57a4b7<=0x0)return;let _0x5dadd1=_0x423428['length']-0x2;_0x5dadd1>=0x0&&_0x57a4b7<=0x0&&_0x57a4b7==_0x423428[_0x5dadd1+0x1]?_0x423428[_0x5dadd1]+=_0x2e942e:_0x5dadd1>=0x0&&0x0==_0x2e942e&&0x0==_0x423428[_0x5dadd1]?_0x423428[_0x5dadd1+0x1]+=_0x57a4b7:_0x39176f?(_0x423428[_0x5dadd1]+=_0x2e942e,_0x423428[_0x5dadd1+0x1]+=_0x57a4b7):_0x423428['push'](_0x2e942e,_0x57a4b7);}function addInsert(_0x348058,_0x288c20,_0xb3fe87){if(0x0==_0xb3fe87['length'])return;let _0x298f5b=_0x288c20['length']-0x2>>0x1;if(_0x298f5b<_0x348058['length'])_0x348058[_0x348058['length']-0x1]=_0x348058[_0x348058['length']-0x1]['append'](_0xb3fe87);else{for(;_0x348058['length']<_0x298f5b;)_0x348058['push'](Text['empty']);_0x348058['push'](_0xb3fe87);}}function iterChanges(_0x482783,_0x10a864,_0x398742){let _0x36205e=_0x482783['inserted'];for(let _0x33d42d=0x0,_0x1912a0=0x0,_0x46aa75=0x0;_0x46aa75<_0x482783['sections']['length'];){let _0x3a1286=_0x482783['sections'][_0x46aa75++],_0x5b12d3=_0x482783['sections'][_0x46aa75++];if(_0x5b12d3<0x0)_0x33d42d+=_0x3a1286,_0x1912a0+=_0x3a1286;else{let _0x1379e5=_0x33d42d,_0x51d8bc=_0x1912a0,_0x3b3a6b=Text['empty'];for(;_0x1379e5+=_0x3a1286,_0x51d8bc+=_0x5b12d3,_0x5b12d3&&_0x36205e&&(_0x3b3a6b=_0x3b3a6b['append'](_0x36205e[_0x46aa75-0x2>>0x1])),!(_0x398742||_0x46aa75==_0x482783['sections']['length']||_0x482783['sections'][_0x46aa75+0x1]<0x0);)_0x3a1286=_0x482783['sections'][_0x46aa75++],_0x5b12d3=_0x482783['sections'][_0x46aa75++];_0x10a864(_0x33d42d,_0x1379e5,_0x1912a0,_0x51d8bc,_0x3b3a6b),_0x33d42d=_0x1379e5,_0x1912a0=_0x51d8bc;}}}function mapSet(_0x42498b,_0x4b8904,_0x2799fd,_0x39fcb1=!0x1){let _0x3c5d20=[],_0x2241f8=_0x39fcb1?[]:null,_0x51731f=new SectionIter(_0x42498b),_0x20f083=new SectionIter(_0x4b8904);for(let _0x38903a=-0x1;;){if(_0x51731f['done']&&_0x20f083['len']||_0x20f083['done']&&_0x51731f['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0x51731f['ins']&&-0x1==_0x20f083['ins']){let _0x4b8157=Math['min'](_0x51731f['len'],_0x20f083['len']);addSection(_0x3c5d20,_0x4b8157,-0x1),_0x51731f['forward'](_0x4b8157),_0x20f083['forward'](_0x4b8157);}else{if(_0x20f083['ins']>=0x0&&(_0x51731f['ins']<0x0||_0x38903a==_0x51731f['i']||0x0==_0x51731f['off']&&(_0x20f083['len']<_0x51731f['len']||_0x20f083['len']==_0x51731f['len']&&!_0x2799fd))){let _0x260692=_0x20f083['len'];for(addSection(_0x3c5d20,_0x20f083['ins'],-0x1);_0x260692;){let _0x51cfbb=Math['min'](_0x51731f['len'],_0x260692);_0x51731f['ins']>=0x0&&_0x38903a<_0x51731f['i']&&_0x51731f['len']<=_0x51cfbb&&(addSection(_0x3c5d20,0x0,_0x51731f['ins']),_0x2241f8&&addInsert(_0x2241f8,_0x3c5d20,_0x51731f['text']),_0x38903a=_0x51731f['i']),_0x51731f['forward'](_0x51cfbb),_0x260692-=_0x51cfbb;}_0x20f083['next']();}else{if(!(_0x51731f['ins']>=0x0)){if(_0x51731f['done']&&_0x20f083['done'])return _0x2241f8?ChangeSet['createSet'](_0x3c5d20,_0x2241f8):_0x53d4ba['create'](_0x3c5d20);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x5ae25c=0x0,_0x583a38=_0x51731f['len'];for(;_0x583a38;)if(-0x1==_0x20f083['ins']){let _0x3654f9=Math['min'](_0x583a38,_0x20f083['len']);_0x5ae25c+=_0x3654f9,_0x583a38-=_0x3654f9,_0x20f083['forward'](_0x3654f9);}else{if(!(0x0==_0x20f083['ins']&&_0x20f083['len']<_0x583a38))break;_0x583a38-=_0x20f083['len'],_0x20f083['next']();}addSection(_0x3c5d20,_0x5ae25c,_0x38903a<_0x51731f['i']?_0x51731f['ins']:0x0),_0x2241f8&&_0x38903a<_0x51731f['i']&&addInsert(_0x2241f8,_0x3c5d20,_0x51731f['text']),_0x38903a=_0x51731f['i'],_0x51731f['forward'](_0x51731f['len']-_0x583a38);}}}}}function composeSets(_0x4e5e82,_0x344a74,_0x372d52=!0x1){let _0x1aca01=[],_0x4cc459=_0x372d52?[]:null,_0x4f2622=new SectionIter(_0x4e5e82),_0x3e5268=new SectionIter(_0x344a74);for(let _0x2b80e6=!0x1;;){if(_0x4f2622['done']&&_0x3e5268['done'])return _0x4cc459?ChangeSet['createSet'](_0x1aca01,_0x4cc459):_0x53d4ba['create'](_0x1aca01);if(0x0==_0x4f2622['ins'])addSection(_0x1aca01,_0x4f2622['len'],0x0,_0x2b80e6),_0x4f2622['next']();else{if(0x0!=_0x3e5268['len']||_0x3e5268['done']){if(_0x4f2622['done']||_0x3e5268['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x13ff05=Math['min'](_0x4f2622['len2'],_0x3e5268['len']),_0x3214ab=_0x1aca01['length'];if(-0x1==_0x4f2622['ins']){let _0x2ed5a9=-0x1==_0x3e5268['ins']?-0x1:_0x3e5268['off']?0x0:_0x3e5268['ins'];addSection(_0x1aca01,_0x13ff05,_0x2ed5a9,_0x2b80e6),_0x4cc459&&_0x2ed5a9&&addInsert(_0x4cc459,_0x1aca01,_0x3e5268['text']);}else-0x1==_0x3e5268['ins']?(addSection(_0x1aca01,_0x4f2622['off']?0x0:_0x4f2622['len'],_0x13ff05,_0x2b80e6),_0x4cc459&&addInsert(_0x4cc459,_0x1aca01,_0x4f2622['textBit'](_0x13ff05))):(addSection(_0x1aca01,_0x4f2622['off']?0x0:_0x4f2622['len'],_0x3e5268['off']?0x0:_0x3e5268['ins'],_0x2b80e6),_0x4cc459&&!_0x3e5268['off']&&addInsert(_0x4cc459,_0x1aca01,_0x3e5268['text']));_0x2b80e6=(_0x4f2622['ins']>_0x13ff05||_0x3e5268['ins']>=0x0&&_0x3e5268['len']>_0x13ff05)&&(_0x2b80e6||_0x1aca01['length']>_0x3214ab),_0x4f2622['forward2'](_0x13ff05),_0x3e5268['forward'](_0x13ff05);}}else addSection(_0x1aca01,0x0,_0x3e5268['ins'],_0x2b80e6),_0x4cc459&&addInsert(_0x4cc459,_0x1aca01,_0x3e5268['text']),_0x3e5268['next']();}}}class SectionIter{constructor(_0x2150b9){this['set']=_0x2150b9,this['i']=0x0,this['next']();}['next'](){let {sections:_0xf1747e}=this['set'];this['i']<_0xf1747e['length']?(this['len']=_0xf1747e[this['i']++],this['ins']=_0xf1747e[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:_0x2e5c9c}=this['set'],_0x54539e=this['i']-0x2>>0x1;return _0x54539e>=_0x2e5c9c['length']?Text['empty']:_0x2e5c9c[_0x54539e];}['textBit'](_0x210011){let {inserted:_0x2cf34b}=this['set'],_0x15e53c=this['i']-0x2>>0x1;return _0x15e53c>=_0x2cf34b['length']&&!_0x210011?Text['empty']:_0x2cf34b[_0x15e53c]['slice'](this['off'],null==_0x210011?void 0x0:this['off']+_0x210011);}['forward'](_0x65b4fd){_0x65b4fd==this['len']?this['next']():(this['len']-=_0x65b4fd,this['off']+=_0x65b4fd);}['forward2'](_0x27ab7f){-0x1==this['ins']?this['forward'](_0x27ab7f):_0x27ab7f==this['ins']?this['next']():(this['ins']-=_0x27ab7f,this['off']+=_0x27ab7f);}}class SelectionRange{constructor(_0x198e6f,_0x4f2d4a,_0x2339ea){this['from']=_0x198e6f,this['to']=_0x4f2d4a,this['flags']=_0x2339ea;}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 _0x3fd67f=0x7&this['flags'];return 0x7==_0x3fd67f?null:_0x3fd67f;}get['goalColumn'](){let _0x43c0ac=this['flags']>>0x6;return 0xffffff==_0x43c0ac?void 0x0:_0x43c0ac;}['map'](_0x3dd289,_0x3e48d7=-0x1){let _0x2d31ea,_0x43bbb1;return this['empty']?_0x2d31ea=_0x43bbb1=_0x3dd289['mapPos'](this['from'],_0x3e48d7):(_0x2d31ea=_0x3dd289['mapPos'](this['from'],0x1),_0x43bbb1=_0x3dd289['mapPos'](this['to'],-0x1)),_0x2d31ea==this['from']&&_0x43bbb1==this['to']?this:new SelectionRange(_0x2d31ea,_0x43bbb1,this['flags']);}['extend'](_0x4f2ea4,_0x3a8d5d=_0x4f2ea4){if(_0x4f2ea4<=this['anchor']&&_0x3a8d5d>=this['anchor'])return EditorSelection['range'](_0x4f2ea4,_0x3a8d5d);let _0x2f3ac2=Math['abs'](_0x4f2ea4-this['anchor'])>Math['abs'](_0x3a8d5d-this['anchor'])?_0x4f2ea4:_0x3a8d5d;return EditorSelection['range'](this['anchor'],_0x2f3ac2);}['eq'](_0x3b13bf,_0x7d1fef=!0x1){return!(this['anchor']!=_0x3b13bf['anchor']||this['head']!=_0x3b13bf['head']||_0x7d1fef&&this['empty']&&this['assoc']!=_0x3b13bf['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0x53ec99){if(!_0x53ec99||'number'!=typeof _0x53ec99['anchor']||'number'!=typeof _0x53ec99['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return EditorSelection['range'](_0x53ec99['anchor'],_0x53ec99['head']);}static['create'](_0x2fd2cc,_0x3fff5c,_0x4c8b42){return new SelectionRange(_0x2fd2cc,_0x3fff5c,_0x4c8b42);}}class EditorSelection{constructor(_0x4e2255,_0x1eea7b){this['ranges']=_0x4e2255,this['mainIndex']=_0x1eea7b;}['map'](_0x153690,_0x8a968b=-0x1){return _0x153690['empty']?this:EditorSelection['create'](this['ranges']['map'](_0x560879=>_0x560879['map'](_0x153690,_0x8a968b)),this['mainIndex']);}['eq'](_0x4550b4,_0x534a46=!0x1){if(this['ranges']['length']!=_0x4550b4['ranges']['length']||this['mainIndex']!=_0x4550b4['mainIndex'])return!0x1;for(let _0x31c3d3=0x0;_0x31c3d3<this['ranges']['length'];_0x31c3d3++)if(!this['ranges'][_0x31c3d3]['eq'](_0x4550b4['ranges'][_0x31c3d3],_0x534a46))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x1bfb11,_0x170a7b=!0x0){return EditorSelection['create']([_0x1bfb11]['concat'](this['ranges']),_0x170a7b?0x0:this['mainIndex']+0x1);}['replaceRange'](_0x570a90,_0x2f8198=this['mainIndex']){let _0x35caec=this['ranges']['slice']();return _0x35caec[_0x2f8198]=_0x570a90,EditorSelection['create'](_0x35caec,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0xa9ba0=>_0xa9ba0['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0x1228af){if(!_0x1228af||!Array['isArray'](_0x1228af['ranges'])||'number'!=typeof _0x1228af['main']||_0x1228af['main']>=_0x1228af['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0x1228af['ranges']['map'](_0x1b1240=>SelectionRange['fromJSON'](_0x1b1240)),_0x1228af['main']);}static['single'](_0x5c0d21,_0x1d2e9e=_0x5c0d21){return new EditorSelection([EditorSelection['range'](_0x5c0d21,_0x1d2e9e)],0x0);}static['create'](_0x251bbf,_0x5cc9d2=0x0){if(0x0==_0x251bbf['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0x2318c7=0x0,_0x10707d=0x0;_0x10707d<_0x251bbf['length'];_0x10707d++){let _0x29c858=_0x251bbf[_0x10707d];if(_0x29c858['empty']?_0x29c858['from']<=_0x2318c7:_0x29c858['from']<_0x2318c7)return EditorSelection['normalized'](_0x251bbf['slice'](),_0x5cc9d2);_0x2318c7=_0x29c858['to'];}return new EditorSelection(_0x251bbf,_0x5cc9d2);}static['cursor'](_0x35fc3f,_0x558900=0x0,_0x140058,_0xe1db85){return SelectionRange['create'](_0x35fc3f,_0x35fc3f,(0x0==_0x558900?0x0:_0x558900<0x0?0x8:0x10)|(null==_0x140058?0x7:Math['min'](0x6,_0x140058))|(null!=_0xe1db85?_0xe1db85:0xffffff)<<0x6);}static['range'](_0x366fbc,_0x54c334,_0x42e290,_0x3fa024){let _0x574886=(null!=_0x42e290?_0x42e290:0xffffff)<<0x6|(null==_0x3fa024?0x7:Math['min'](0x6,_0x3fa024));return _0x54c334<_0x366fbc?SelectionRange['create'](_0x54c334,_0x366fbc,0x30|_0x574886):SelectionRange['create'](_0x366fbc,_0x54c334,(_0x54c334>_0x366fbc?0x8:0x0)|_0x574886);}static['normalized'](_0x221cbc,_0x2bf185=0x0){let _0x385cde=_0x221cbc[_0x2bf185];_0x221cbc['sort']((_0x5996ff,_0x5ee898)=>_0x5996ff['from']-_0x5ee898['from']),_0x2bf185=_0x221cbc['indexOf'](_0x385cde);for(let _0x1805be=0x1;_0x1805be<_0x221cbc['length'];_0x1805be++){let _0x52f704=_0x221cbc[_0x1805be],_0x18299c=_0x221cbc[_0x1805be-0x1];if(_0x52f704['empty']?_0x52f704['from']<=_0x18299c['to']:_0x52f704['from']<_0x18299c['to']){let _0x4d35cb=_0x18299c['from'],_0x88542b=Math['max'](_0x52f704['to'],_0x18299c['to']);_0x1805be<=_0x2bf185&&_0x2bf185--,_0x221cbc['splice'](--_0x1805be,0x2,_0x52f704['anchor']>_0x52f704['head']?EditorSelection['range'](_0x88542b,_0x4d35cb):EditorSelection['range'](_0x4d35cb,_0x88542b));}}return new EditorSelection(_0x221cbc,_0x2bf185);}}function checkSelection(_0x3d0f30,_0x16a1c6){for(let _0x488750 of _0x3d0f30['ranges'])if(_0x488750['to']>_0x16a1c6)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let nextID=0x0;class Facet{constructor(_0x21a971,_0x40e51a,_0x392bd7,_0x392e2f,_0x5adb44){this['combine']=_0x21a971,this['compareInput']=_0x40e51a,this['compare']=_0x392bd7,this['isStatic']=_0x392e2f,this['id']=nextID++,this['default']=_0x21a971([]),this['extensions']='function'==typeof _0x5adb44?_0x5adb44(this):_0x5adb44;}get['reader'](){return this;}static['define'](_0xd7ddf7={}){return new Facet(_0xd7ddf7['combine']||(_0x1b7f12=>_0x1b7f12),_0xd7ddf7['compareInput']||((_0x2f810a,_0x2ad534)=>_0x2f810a===_0x2ad534),_0xd7ddf7['compare']||(_0xd7ddf7['combine']?(_0x2e17ae,_0x5405e8)=>_0x2e17ae===_0x5405e8:_0x8897e0),!!_0xd7ddf7['static'],_0xd7ddf7['enables']);}['of'](_0x4a6df5){return new FacetProvider([],this,0x0,_0x4a6df5);}['compute'](_0x5a47c3,_0x586b75){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x5a47c3,this,0x1,_0x586b75);}['computeN'](_0x4eb714,_0x464c83){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x4eb714,this,0x2,_0x464c83);}['from'](_0xaec93f,_0x1fa2e6){return _0x1fa2e6||(_0x1fa2e6=_0x3290bd=>_0x3290bd),this['compute']([_0xaec93f],_0x294623=>_0x1fa2e6(_0x294623['field'](_0xaec93f)));}}function _0x8897e0(_0x2b29a1,_0x580d82){return _0x2b29a1==_0x580d82||_0x2b29a1['length']==_0x580d82['length']&&_0x2b29a1['every']((_0x5174cd,_0x30ea88)=>_0x5174cd===_0x580d82[_0x30ea88]);}class FacetProvider{constructor(_0x4c23e1,_0x5c428f,_0x253ad0,_0x221844){this['dependencies']=_0x4c23e1,this['facet']=_0x5c428f,this['type']=_0x253ad0,this['value']=_0x221844,this['id']=nextID++;}['dynamicSlot'](_0x5078d5){var _0x14cd82;let _0x485f39=this['value'],_0x4255e1=this['facet']['compareInput'],_0x192ce4=this['id'],_0x4978cd=_0x5078d5[_0x192ce4]>>0x1,_0x3bb8a9=0x2==this['type'],_0x124e9e=!0x1,_0x57ef20=!0x1,_0x5c21b2=[];for(let _0x7be3a6 of this['dependencies'])'doc'==_0x7be3a6?_0x124e9e=!0x0:'selection'==_0x7be3a6?_0x57ef20=!0x0:0x1&(null!==(_0x14cd82=_0x5078d5[_0x7be3a6['id']])&&void 0x0!==_0x14cd82?_0x14cd82:0x1)||_0x5c21b2['push'](_0x5078d5[_0x7be3a6['id']]);return{'create':_0x33f1a5=>(_0x33f1a5['values'][_0x4978cd]=_0x485f39(_0x33f1a5),0x1),'update'(_0x54d664,_0x5aaca5){if(_0x124e9e&&_0x5aaca5['docChanged']||_0x57ef20&&(_0x5aaca5['docChanged']||_0x5aaca5['selection'])||_0x2dd11d(_0x54d664,_0x5c21b2)){let _0x4f3391=_0x485f39(_0x54d664);if(_0x3bb8a9?!_0x3c0191(_0x4f3391,_0x54d664['values'][_0x4978cd],_0x4255e1):!_0x4255e1(_0x4f3391,_0x54d664['values'][_0x4978cd]))return _0x54d664['values'][_0x4978cd]=_0x4f3391,0x1;}return 0x0;},'reconfigure':(_0x26db32,_0x21c384)=>{let _0x161900,_0x29b468=_0x21c384['config']['address'][_0x192ce4];if(null!=_0x29b468){let _0x5059ca=getAddr(_0x21c384,_0x29b468);if(this['dependencies']['every'](_0x32e104=>_0x32e104 instanceof Facet?_0x21c384['facet'](_0x32e104)===_0x26db32['facet'](_0x32e104):!(_0x32e104 instanceof StateField)||_0x21c384['field'](_0x32e104,!0x1)==_0x26db32['field'](_0x32e104,!0x1))||(_0x3bb8a9?_0x3c0191(_0x161900=_0x485f39(_0x26db32),_0x5059ca,_0x4255e1):_0x4255e1(_0x161900=_0x485f39(_0x26db32),_0x5059ca)))return _0x26db32['values'][_0x4978cd]=_0x5059ca,0x0;}else _0x161900=_0x485f39(_0x26db32);return _0x26db32['values'][_0x4978cd]=_0x161900,0x1;}};}}function _0x3c0191(_0x25ffdc,_0x344fa9,_0xa55db0){if(_0x25ffdc['length']!=_0x344fa9['length'])return!0x1;for(let _0x12474a=0x0;_0x12474a<_0x25ffdc['length'];_0x12474a++)if(!_0xa55db0(_0x25ffdc[_0x12474a],_0x344fa9[_0x12474a]))return!0x1;return!0x0;}function _0x2dd11d(_0x24a389,_0x4cd00c){let _0x2d47f7=!0x1;for(let _0x206e9b of _0x4cd00c)0x1&_0x34c711(_0x24a389,_0x206e9b)&&(_0x2d47f7=!0x0);return _0x2d47f7;}function dynamicFacetSlot(_0x3f7d34,_0x49ce49,_0x494801){let _0x32b7b0=_0x494801['map'](_0xb2db05=>_0x3f7d34[_0xb2db05['id']]),_0x4a0b51=_0x494801['map'](_0x105aa9=>_0x105aa9['type']),_0x4c2e15=_0x32b7b0['filter'](_0x44caf8=>!(0x1&_0x44caf8)),_0x1dc2a6=_0x3f7d34[_0x49ce49['id']]>>0x1;function _0x17a6aa(_0xc51735){let _0x5b157e=[];for(let _0x5b3a6f=0x0;_0x5b3a6f<_0x32b7b0['length'];_0x5b3a6f++){let _0x459f51=getAddr(_0xc51735,_0x32b7b0[_0x5b3a6f]);if(0x2==_0x4a0b51[_0x5b3a6f]){for(let _0x1fbb61 of _0x459f51)_0x5b157e['push'](_0x1fbb61);}else _0x5b157e['push'](_0x459f51);}return _0x49ce49['combine'](_0x5b157e);}return{'create'(_0x1a8898){for(let _0x316b0d of _0x32b7b0)_0x34c711(_0x1a8898,_0x316b0d);return _0x1a8898['values'][_0x1dc2a6]=_0x17a6aa(_0x1a8898),0x1;},'update'(_0x38e5cb,_0x2d6455){if(!_0x2dd11d(_0x38e5cb,_0x4c2e15))return 0x0;let _0x46ac0e=_0x17a6aa(_0x38e5cb);return _0x49ce49['compare'](_0x46ac0e,_0x38e5cb['values'][_0x1dc2a6])?0x0:(_0x38e5cb['values'][_0x1dc2a6]=_0x46ac0e,0x1);},'reconfigure'(_0x30b836,_0x3a8684){let _0x27b09a=_0x2dd11d(_0x30b836,_0x32b7b0),_0x21a6ce=_0x3a8684['config']['facets'][_0x49ce49['id']],_0x51b1a3=_0x3a8684['facet'](_0x49ce49);if(_0x21a6ce&&!_0x27b09a&&_0x8897e0(_0x494801,_0x21a6ce))return _0x30b836['values'][_0x1dc2a6]=_0x51b1a3,0x0;let _0x4917ff=_0x17a6aa(_0x30b836);return _0x49ce49['compare'](_0x4917ff,_0x51b1a3)?(_0x30b836['values'][_0x1dc2a6]=_0x51b1a3,0x0):(_0x30b836['values'][_0x1dc2a6]=_0x4917ff,0x1);}};}const initField=Facet['define']({'static':!0x0});class StateField{constructor(_0x5dfe75,_0x1ea203,_0xc2dbdb,_0x5be0f3,_0x3cb119){this['id']=_0x5dfe75,this['createF']=_0x1ea203,this['updateF']=_0xc2dbdb,this['compareF']=_0x5be0f3,this['spec']=_0x3cb119,this['provides']=void 0x0;}static['define'](_0x35ea36){let _0x198602=new StateField(nextID++,_0x35ea36['create'],_0x35ea36['update'],_0x35ea36['compare']||((_0x25369c,_0xcaf0ee)=>_0x25369c===_0xcaf0ee),_0x35ea36);return _0x35ea36['provide']&&(_0x198602['provides']=_0x35ea36['provide'](_0x198602)),_0x198602;}['create'](_0x273772){let _0x2a01ca=_0x273772['facet'](initField)['find'](_0x2ffff3=>_0x2ffff3['field']==this);return((null==_0x2a01ca?void 0x0:_0x2a01ca['create'])||this['createF'])(_0x273772);}['slot'](_0x4d8710){let _0x5b8fca=_0x4d8710[this['id']]>>0x1;return{'create':_0x63c423=>(_0x63c423['values'][_0x5b8fca]=this['create'](_0x63c423),0x1),'update':(_0x14b70f,_0x2abebc)=>{let _0x5bf7e6=_0x14b70f['values'][_0x5b8fca],_0x44d53f=this['updateF'](_0x5bf7e6,_0x2abebc);return this['compareF'](_0x5bf7e6,_0x44d53f)?0x0:(_0x14b70f['values'][_0x5b8fca]=_0x44d53f,0x1);},'reconfigure':(_0x56a7c0,_0x11941c)=>{let _0x1784cd,_0x3162eb=_0x56a7c0['facet'](initField),_0x19d0de=_0x11941c['facet'](initField);return(_0x1784cd=_0x3162eb['find'](_0x2f2e24=>_0x2f2e24['field']==this))&&_0x1784cd!=_0x19d0de['find'](_0x25a288=>_0x25a288['field']==this)?(_0x56a7c0['values'][_0x5b8fca]=_0x1784cd['create'](_0x56a7c0),0x1):null!=_0x11941c['config']['address'][this['id']]?(_0x56a7c0['values'][_0x5b8fca]=_0x11941c['field'](this),0x0):(_0x56a7c0['values'][_0x5b8fca]=this['create'](_0x56a7c0),0x1);}};}['init'](_0x5d1082){return[this,initField['of']({'field':this,'create':_0x5d1082})];}get['extension'](){return this;}}const _0x137657={'lowest':0x4,'low':0x3,'default':0x2,'high':0x1,'highest':0x0};function _0x2af393(_0x11e013){return _0x360fee=>new PrecExtension(_0x360fee,_0x11e013);}const _0x5510a7={'highest':_0x2af393(_0x137657['highest']),'high':_0x2af393(_0x137657['high']),'default':_0x2af393(_0x137657['default']),'low':_0x2af393(_0x137657['low']),'lowest':_0x2af393(_0x137657['lowest'])};class PrecExtension{constructor(_0xa55be6,_0x229611){this['inner']=_0xa55be6,this['prec']=_0x229611;}}class Compartment{['of'](_0x4d5ea8){return new CompartmentInstance(this,_0x4d5ea8);}['reconfigure'](_0xa60b02){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0xa60b02});}['get'](_0x4c9033){return _0x4c9033['config']['compartments']['get'](this);}}class CompartmentInstance{constructor(_0x45aa21,_0x44e0d6){this['compartment']=_0x45aa21,this['inner']=_0x44e0d6;}}class Configuration{constructor(_0x450ad5,_0x3ace6f,_0x5748c5,_0x1e3154,_0x4f2b79,_0x330a00){for(this['base']=_0x450ad5,this['compartments']=_0x3ace6f,this['dynamicSlots']=_0x5748c5,this['address']=_0x1e3154,this['staticValues']=_0x4f2b79,this['facets']=_0x330a00,this['statusTemplate']=[];this['statusTemplate']['length']<_0x5748c5['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0x4d0238){let _0x964657=this['address'][_0x4d0238['id']];return null==_0x964657?_0x4d0238['default']:this['staticValues'][_0x964657>>0x1];}static['resolve'](_0xe1b940,_0x10c8db,_0x1d5394){let _0x2d8467=[],_0x58ae86=Object['create'](null),_0x47d84c=new Map();for(let _0x2547af of flatten(_0xe1b940,_0x10c8db,_0x47d84c))_0x2547af instanceof StateField?_0x2d8467['push'](_0x2547af):(_0x58ae86[_0x2547af['facet']['id']]||(_0x58ae86[_0x2547af['facet']['id']]=[]))['push'](_0x2547af);let _0x25d52e=Object['create'](null),_0xf9a672=[],_0x1e2266=[];for(let _0x27f444 of _0x2d8467)_0x25d52e[_0x27f444['id']]=_0x1e2266['length']<<0x1,_0x1e2266['push'](_0x30e526=>_0x27f444['slot'](_0x30e526));let _0x92dc2c=null==_0x1d5394?void 0x0:_0x1d5394['config']['facets'];for(let _0x408cef in _0x58ae86){let _0x466d49=_0x58ae86[_0x408cef],_0x24d27b=_0x466d49[0x0]['facet'],_0x41604c=_0x92dc2c&&_0x92dc2c[_0x408cef]||[];if(_0x466d49['every'](_0x3e537b=>0x0==_0x3e537b['type'])){if(_0x25d52e[_0x24d27b['id']]=_0xf9a672['length']<<0x1|0x1,_0x8897e0(_0x41604c,_0x466d49))_0xf9a672['push'](_0x1d5394['facet'](_0x24d27b));else{let _0x2e4489=_0x24d27b['combine'](_0x466d49['map'](_0x30a5ce=>_0x30a5ce['value']));_0xf9a672['push'](_0x1d5394&&_0x24d27b['compare'](_0x2e4489,_0x1d5394['facet'](_0x24d27b))?_0x1d5394['facet'](_0x24d27b):_0x2e4489);}}else{for(let _0x4d1502 of _0x466d49)0x0==_0x4d1502['type']?(_0x25d52e[_0x4d1502['id']]=_0xf9a672['length']<<0x1|0x1,_0xf9a672['push'](_0x4d1502['value'])):(_0x25d52e[_0x4d1502['id']]=_0x1e2266['length']<<0x1,_0x1e2266['push'](_0x34a9aa=>_0x4d1502['dynamicSlot'](_0x34a9aa)));_0x25d52e[_0x24d27b['id']]=_0x1e2266['length']<<0x1,_0x1e2266['push'](_0x175be=>dynamicFacetSlot(_0x175be,_0x24d27b,_0x466d49));}}let _0x561c92=_0x1e2266['map'](_0x34aced=>_0x34aced(_0x25d52e));return new Configuration(_0xe1b940,_0x47d84c,_0x561c92,_0x25d52e,_0xf9a672,_0x58ae86);}}function flatten(_0x1175e1,_0x4bb8ca,_0x47af23){let _0x9d3879=[[],[],[],[],[]],_0x159831=new Map();return function _0x2daadf(_0x437e85,_0x44aba){let _0x1e4b54=_0x159831['get'](_0x437e85);if(null!=_0x1e4b54){if(_0x1e4b54<=_0x44aba)return;let _0x50a040=_0x9d3879[_0x1e4b54]['indexOf'](_0x437e85);_0x50a040>-0x1&&_0x9d3879[_0x1e4b54]['splice'](_0x50a040,0x1),_0x437e85 instanceof CompartmentInstance&&_0x47af23['delete'](_0x437e85['compartment']);}if(_0x159831['set'](_0x437e85,_0x44aba),Array['isArray'](_0x437e85)){for(let _0x139fe0 of _0x437e85)_0x2daadf(_0x139fe0,_0x44aba);}else{if(_0x437e85 instanceof CompartmentInstance){if(_0x47af23['has'](_0x437e85['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x4fe666=_0x4bb8ca['get'](_0x437e85['compartment'])||_0x437e85['inner'];_0x47af23['set'](_0x437e85['compartment'],_0x4fe666),_0x2daadf(_0x4fe666,_0x44aba);}else{if(_0x437e85 instanceof PrecExtension)_0x2daadf(_0x437e85['inner'],_0x437e85['prec']);else{if(_0x437e85 instanceof StateField)_0x9d3879[_0x44aba]['push'](_0x437e85),_0x437e85['provides']&&_0x2daadf(_0x437e85['provides'],_0x44aba);else{if(_0x437e85 instanceof FacetProvider)_0x9d3879[_0x44aba]['push'](_0x437e85),_0x437e85['facet']['extensions']&&_0x2daadf(_0x437e85['facet']['extensions'],_0x137657['default']);else{let _0x5b79a2=_0x437e85['extension'];if(!_0x5b79a2)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x437e85+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x2daadf(_0x5b79a2,_0x44aba);}}}}}}(_0x1175e1,_0x137657['default']),_0x9d3879['reduce']((_0x342374,_0x57f33e)=>_0x342374['concat'](_0x57f33e));}function _0x34c711(_0x3672a0,_0x16f0b4){if(0x1&_0x16f0b4)return 0x2;let _0x22ea64=_0x16f0b4>>0x1,_0x1ae382=_0x3672a0['status'][_0x22ea64];if(0x4==_0x1ae382)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x1ae382)return _0x1ae382;_0x3672a0['status'][_0x22ea64]=0x4;let _0x37b25d=_0x3672a0['computeSlot'](_0x3672a0,_0x3672a0['config']['dynamicSlots'][_0x22ea64]);return _0x3672a0['status'][_0x22ea64]=0x2|_0x37b25d;}function getAddr(_0x436bcd,_0x28e623){return 0x1&_0x28e623?_0x436bcd['config']['staticValues'][_0x28e623>>0x1]:_0x436bcd['values'][_0x28e623>>0x1];}const languageData=Facet['define'](),allowMultipleSelections=Facet['define']({'combine':_0x4222c8=>_0x4222c8['some'](_0x4d78af=>_0x4d78af),'static':!0x0}),lineSeparator=Facet['define']({'combine':_0x2e8b37=>_0x2e8b37['length']?_0x2e8b37[0x0]:void 0x0,'static':!0x0}),changeFilter=Facet['define'](),transactionFilter=Facet['define'](),transactionExtender=Facet['define'](),_0x3e3fa8=Facet['define']({'combine':_0x31c1c2=>!!_0x31c1c2['length']&&_0x31c1c2[0x0]});class Annotation{constructor(_0x1959ec,_0x431636){this['type']=_0x1959ec,this['value']=_0x431636;}static['define'](){return new AnnotationType();}}class AnnotationType{['of'](_0x42e81d){return new Annotation(this,_0x42e81d);}}class StateEffectType{constructor(_0x5a5d05){this['map']=_0x5a5d05;}['of'](_0x5db44f){return new StateEffect(this,_0x5db44f);}}class StateEffect{constructor(_0x141edf,_0x5d5a4e){this['type']=_0x141edf,this['value']=_0x5d5a4e;}['map'](_0x102ec1){let _0x4db4f5=this['type']['map'](this['value'],_0x102ec1);return void 0x0===_0x4db4f5?void 0x0:_0x4db4f5==this['value']?this:new StateEffect(this['type'],_0x4db4f5);}['is'](_0x4e839d){return this['type']==_0x4e839d;}static['define'](_0x211f6d={}){return new StateEffectType(_0x211f6d['map']||(_0x362163=>_0x362163));}static['mapEffects'](_0x342dee,_0x5e41a4){if(!_0x342dee['length'])return _0x342dee;let _0x35f137=[];for(let _0x4e7550 of _0x342dee){let _0x589c09=_0x4e7550['map'](_0x5e41a4);_0x589c09&&_0x35f137['push'](_0x589c09);}return _0x35f137;}}StateEffect['reconfigure']=StateEffect['define'](),StateEffect['appendConfig']=StateEffect['define']();class Transaction{constructor(_0x5a1c5d,_0x2a0e98,_0x4b9fd3,_0x1ed6e5,_0x3dac08,_0x4646c5){this['startState']=_0x5a1c5d,this['changes']=_0x2a0e98,this['selection']=_0x4b9fd3,this['effects']=_0x1ed6e5,this['annotations']=_0x3dac08,this['scrollIntoView']=_0x4646c5,this['_doc']=null,this['_state']=null,_0x4b9fd3&&checkSelection(_0x4b9fd3,_0x2a0e98['newLength']),_0x3dac08['some'](_0xb5b8ea=>_0xb5b8ea['type']==Transaction['time'])||(this['annotations']=_0x3dac08['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x242f8f,_0x30ba4b,_0x1528c5,_0x5bc504,_0x6d8032,_0x42343e){return new Transaction(_0x242f8f,_0x30ba4b,_0x1528c5,_0x5bc504,_0x6d8032,_0x42343e);}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'](_0x19ab83){for(let _0x56fc28 of this['annotations'])if(_0x56fc28['type']==_0x19ab83)return _0x56fc28['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x2727fa){let _0x318f2c=this['annotation'](Transaction['userEvent']);return!(!_0x318f2c||!(_0x318f2c==_0x2727fa||_0x318f2c['length']>_0x2727fa['length']&&_0x318f2c['slice'](0x0,_0x2727fa['length'])==_0x2727fa&&'.'==_0x318f2c[_0x2727fa['length']]));}}function _0x2d0f08(_0x438371,_0x1b6ba6){let _0x39f539=[];for(let _0x598fe8=0x0,_0x4c10c4=0x0;;){let _0x5345ad,_0x25187e;if(_0x598fe8<_0x438371['length']&&(_0x4c10c4==_0x1b6ba6['length']||_0x1b6ba6[_0x4c10c4]>=_0x438371[_0x598fe8]))_0x5345ad=_0x438371[_0x598fe8++],_0x25187e=_0x438371[_0x598fe8++];else{if(!(_0x4c10c4<_0x1b6ba6['length']))return _0x39f539;_0x5345ad=_0x1b6ba6[_0x4c10c4++],_0x25187e=_0x1b6ba6[_0x4c10c4++];}!_0x39f539['length']||_0x39f539[_0x39f539['length']-0x1]<_0x5345ad?_0x39f539['push'](_0x5345ad,_0x25187e):_0x39f539[_0x39f539['length']-0x1]<_0x25187e&&(_0x39f539[_0x39f539['length']-0x1]=_0x25187e);}}function mergeTransaction(_0x43411e,_0x5d7ffc,_0x523b0e){var _0x5c61db;let _0x551624,_0x554e48,_0xfda09c;return _0x523b0e?(_0x551624=_0x5d7ffc['changes'],_0x554e48=ChangeSet['empty'](_0x5d7ffc['changes']['length']),_0xfda09c=_0x43411e['changes']['compose'](_0x5d7ffc['changes'])):(_0x551624=_0x5d7ffc['changes']['map'](_0x43411e['changes']),_0x554e48=_0x43411e['changes']['mapDesc'](_0x5d7ffc['changes'],!0x0),_0xfda09c=_0x43411e['changes']['compose'](_0x551624)),{'changes':_0xfda09c,'selection':_0x5d7ffc['selection']?_0x5d7ffc['selection']['map'](_0x554e48):null===(_0x5c61db=_0x43411e['selection'])||void 0x0===_0x5c61db?void 0x0:_0x5c61db['map'](_0x551624),'effects':StateEffect['mapEffects'](_0x43411e['effects'],_0x551624)['concat'](StateEffect['mapEffects'](_0x5d7ffc['effects'],_0x554e48)),'annotations':_0x43411e['annotations']['length']?_0x43411e['annotations']['concat'](_0x5d7ffc['annotations']):_0x5d7ffc['annotations'],'scrollIntoView':_0x43411e['scrollIntoView']||_0x5d7ffc['scrollIntoView']};}function resolveTransactionInner(_0x42e227,_0x2dce3a,_0x55becd){let _0x27bf60=_0x2dce3a['selection'],_0x210f26=_0x28d052(_0x2dce3a['annotations']);return _0x2dce3a['userEvent']&&(_0x210f26=_0x210f26['concat'](Transaction['userEvent']['of'](_0x2dce3a['userEvent']))),{'changes':_0x2dce3a['changes']instanceof ChangeSet?_0x2dce3a['changes']:ChangeSet['of'](_0x2dce3a['changes']||[],_0x55becd,_0x42e227['facet'](lineSeparator)),'selection':_0x27bf60&&(_0x27bf60 instanceof EditorSelection?_0x27bf60:EditorSelection['single'](_0x27bf60['anchor'],_0x27bf60['head'])),'effects':_0x28d052(_0x2dce3a['effects']),'annotations':_0x210f26,'scrollIntoView':!!_0x2dce3a['scrollIntoView']};}function resolveTransaction(_0x35716f,_0x152269,_0x9c4e9d){let _0xa71839=resolveTransactionInner(_0x35716f,_0x152269['length']?_0x152269[0x0]:{},_0x35716f['doc']['length']);_0x152269['length']&&!0x1===_0x152269[0x0]['filter']&&(_0x9c4e9d=!0x1);for(let _0x1f16bd=0x1;_0x1f16bd<_0x152269['length'];_0x1f16bd++){!0x1===_0x152269[_0x1f16bd]['filter']&&(_0x9c4e9d=!0x1);let _0x4a5383=!!_0x152269[_0x1f16bd]['sequential'];_0xa71839=mergeTransaction(_0xa71839,resolveTransactionInner(_0x35716f,_0x152269[_0x1f16bd],_0x4a5383?_0xa71839['changes']['newLength']:_0x35716f['doc']['length']),_0x4a5383);}let _0x317d58=Transaction['create'](_0x35716f,_0xa71839['changes'],_0xa71839['selection'],_0xa71839['effects'],_0xa71839['annotations'],_0xa71839['scrollIntoView']);return extendTransaction(_0x9c4e9d?filterTransaction(_0x317d58):_0x317d58);}function filterTransaction(_0x329580){let _0xacdfbd=_0x329580['startState'],_0x39883c=!0x0;for(let _0x13d2f8 of _0xacdfbd['facet'](changeFilter)){let _0x246db6=_0x13d2f8(_0x329580);if(!0x1===_0x246db6){_0x39883c=!0x1;break;}Array['isArray'](_0x246db6)&&(_0x39883c=!0x0===_0x39883c?_0x246db6:_0x2d0f08(_0x39883c,_0x246db6));}if(!0x0!==_0x39883c){let _0x2e3010,_0x340aa2;if(!0x1===_0x39883c)_0x340aa2=_0x329580['changes']['invertedDesc'],_0x2e3010=ChangeSet['empty'](_0xacdfbd['doc']['length']);else{let _0x90f937=_0x329580['changes']['filter'](_0x39883c);_0x2e3010=_0x90f937['changes'],_0x340aa2=_0x90f937['filtered']['mapDesc'](_0x90f937['changes'])['invertedDesc'];}_0x329580=Transaction['create'](_0xacdfbd,_0x2e3010,_0x329580['selection']&&_0x329580['selection']['map'](_0x340aa2),StateEffect['mapEffects'](_0x329580['effects'],_0x340aa2),_0x329580['annotations'],_0x329580['scrollIntoView']);}let _0x370d28=_0xacdfbd['facet'](transactionFilter);for(let _0xff6153=_0x370d28['length']-0x1;_0xff6153>=0x0;_0xff6153--){let _0x5eb0fe=_0x370d28[_0xff6153](_0x329580);_0x329580=_0x5eb0fe instanceof Transaction?_0x5eb0fe:Array['isArray'](_0x5eb0fe)&&0x1==_0x5eb0fe['length']&&_0x5eb0fe[0x0]instanceof Transaction?_0x5eb0fe[0x0]:resolveTransaction(_0xacdfbd,_0x28d052(_0x5eb0fe),!0x1);}return _0x329580;}function extendTransaction(_0x35aed4){let _0x490206=_0x35aed4['startState'],_0x46cf5c=_0x490206['facet'](transactionExtender),_0x346548=_0x35aed4;for(let _0x47b811=_0x46cf5c['length']-0x1;_0x47b811>=0x0;_0x47b811--){let _0x47e8a0=_0x46cf5c[_0x47b811](_0x35aed4);_0x47e8a0&&Object['keys'](_0x47e8a0)['length']&&(_0x346548=mergeTransaction(_0x346548,resolveTransactionInner(_0x490206,_0x47e8a0,_0x35aed4['changes']['newLength']),!0x0));}return _0x346548==_0x35aed4?_0x35aed4:Transaction['create'](_0x490206,_0x35aed4['changes'],_0x35aed4['selection'],_0x346548['effects'],_0x346548['annotations'],_0x346548['scrollIntoView']);}Transaction['time']=Annotation['define'](),Transaction['userEvent']=Annotation['define'](),Transaction['addToHistory']=Annotation['define'](),Transaction['remote']=Annotation['define']();const _0x3fdb12=[];function _0x28d052(_0x2b092e){return null==_0x2b092e?_0x3fdb12:Array['isArray'](_0x2b092e)?_0x2b092e:[_0x2b092e];}var CharCategory=function(_0x960d4b){return _0x960d4b[_0x960d4b['Word']=0x0]='Word',_0x960d4b[_0x960d4b['Space']=0x1]='Space',_0x960d4b[_0x960d4b['Other']=0x2]='Other',_0x960d4b;}(CharCategory||(CharCategory={}));const _0x8858e=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let _0x500cba;try{_0x500cba=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0x5a197e){}function _0x36c05e(_0x12adfc){if(_0x500cba)return _0x500cba['test'](_0x12adfc);for(let _0x3f749f=0x0;_0x3f749f<_0x12adfc['length'];_0x3f749f++){let _0x3547e8=_0x12adfc[_0x3f749f];if(/\w/['test'](_0x3547e8)||_0x3547e8>'\u0080'&&(_0x3547e8['toUpperCase']()!=_0x3547e8['toLowerCase']()||_0x8858e['test'](_0x3547e8)))return!0x0;}return!0x1;}function makeCategorizer(_0x1f1181){return _0x4f077e=>{if(!/\S/['test'](_0x4f077e))return CharCategory['Space'];if(_0x36c05e(_0x4f077e))return CharCategory['Word'];for(let _0x521f89=0x0;_0x521f89<_0x1f1181['length'];_0x521f89++)if(_0x4f077e['indexOf'](_0x1f1181[_0x521f89])>-0x1)return CharCategory['Word'];return CharCategory['Other'];};}class EditorState{constructor(_0x22e7c5,_0x244917,_0x4ff6af,_0x427cb2,_0x5c3944,_0x42b44d){this['config']=_0x22e7c5,this['doc']=_0x244917,this['selection']=_0x4ff6af,this['values']=_0x427cb2,this['status']=_0x22e7c5['statusTemplate']['slice'](),this['computeSlot']=_0x5c3944,_0x42b44d&&(_0x42b44d['_state']=this);for(let _0x455362=0x0;_0x455362<this['config']['dynamicSlots']['length'];_0x455362++)_0x34c711(this,_0x455362<<0x1);this['computeSlot']=null;}['field'](_0x56f684,_0x28273d=!0x0){let _0x15b256=this['config']['address'][_0x56f684['id']];if(null!=_0x15b256)return _0x34c711(this,_0x15b256),getAddr(this,_0x15b256);if(_0x28273d)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x19977a){return resolveTransaction(this,_0x19977a,!0x0);}['applyTransaction'](_0x508c89){let _0x1c63e6,_0x1ed8f5=this['config'],{base:_0x5258e7,compartments:_0x5236c7}=_0x1ed8f5;for(let _0x3ab2d2 of _0x508c89['effects'])_0x3ab2d2['is'](Compartment['reconfigure'])?(_0x1ed8f5&&(_0x5236c7=new Map(),_0x1ed8f5['compartments']['forEach']((_0x1bf3fa,_0x2a27bd)=>_0x5236c7['set'](_0x2a27bd,_0x1bf3fa)),_0x1ed8f5=null),_0x5236c7['set'](_0x3ab2d2['value']['compartment'],_0x3ab2d2['value']['extension'])):_0x3ab2d2['is'](StateEffect['reconfigure'])?(_0x1ed8f5=null,_0x5258e7=_0x3ab2d2['value']):_0x3ab2d2['is'](StateEffect['appendConfig'])&&(_0x1ed8f5=null,_0x5258e7=_0x28d052(_0x5258e7)['concat'](_0x3ab2d2['value']));if(_0x1ed8f5)_0x1c63e6=_0x508c89['startState']['values']['slice']();else _0x1ed8f5=Configuration['resolve'](_0x5258e7,_0x5236c7,this),_0x1c63e6=new EditorState(_0x1ed8f5,this['doc'],this['selection'],_0x1ed8f5['dynamicSlots']['map'](()=>null),(_0x52891e,_0xcb8a36)=>_0xcb8a36['reconfigure'](_0x52891e,this),null)['values'];let _0x74f618=_0x508c89['startState']['facet'](allowMultipleSelections)?_0x508c89['newSelection']:_0x508c89['newSelection']['asSingle']();new EditorState(_0x1ed8f5,_0x508c89['newDoc'],_0x74f618,_0x1c63e6,(_0x25f5b4,_0x5bf1fc)=>_0x5bf1fc['update'](_0x25f5b4,_0x508c89),_0x508c89);}['replaceSelection'](_0x4c4d4b){return'string'==typeof _0x4c4d4b&&(_0x4c4d4b=this['toText'](_0x4c4d4b)),this['changeByRange'](_0x2cf8a2=>({'changes':{'from':_0x2cf8a2['from'],'to':_0x2cf8a2['to'],'insert':_0x4c4d4b},'range':EditorSelection['cursor'](_0x2cf8a2['from']+_0x4c4d4b['length'])}));}['changeByRange'](_0x56470e){let _0x507faa=this['selection'],_0x28180a=_0x56470e(_0x507faa['ranges'][0x0]),_0x4c4ef8=this['changes'](_0x28180a['changes']),_0x28a94b=[_0x28180a['range']],_0x179b98=_0x28d052(_0x28180a['effects']);for(let _0xa90950=0x1;_0xa90950<_0x507faa['ranges']['length'];_0xa90950++){let _0x33716f=_0x56470e(_0x507faa['ranges'][_0xa90950]),_0x32dda2=this['changes'](_0x33716f['changes']),_0x3f5cf3=_0x32dda2['map'](_0x4c4ef8);for(let _0x453614=0x0;_0x453614<_0xa90950;_0x453614++)_0x28a94b[_0x453614]=_0x28a94b[_0x453614]['map'](_0x3f5cf3);let _0x311b9b=_0x4c4ef8['mapDesc'](_0x32dda2,!0x0);_0x28a94b['push'](_0x33716f['range']['map'](_0x311b9b)),_0x4c4ef8=_0x4c4ef8['compose'](_0x3f5cf3),_0x179b98=StateEffect['mapEffects'](_0x179b98,_0x3f5cf3)['concat'](StateEffect['mapEffects'](_0x28d052(_0x33716f['effects']),_0x311b9b));}return{'changes':_0x4c4ef8,'selection':EditorSelection['create'](_0x28a94b,_0x507faa['mainIndex']),'effects':_0x179b98};}['changes'](_0x2a4aaf=[]){return _0x2a4aaf instanceof ChangeSet?_0x2a4aaf:ChangeSet['of'](_0x2a4aaf,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0x3e2155){return Text['of'](_0x3e2155['split'](this['facet'](EditorState['lineSeparator'])||DefaultSplit));}['sliceDoc'](_0x1d29ce=0x0,_0x1146fb=this['doc']['length']){return this['doc']['sliceString'](_0x1d29ce,_0x1146fb,this['lineBreak']);}['facet'](_0x322b78){let _0x9b9e90=this['config']['address'][_0x322b78['id']];return null==_0x9b9e90?_0x322b78['default']:(_0x34c711(this,_0x9b9e90),getAddr(this,_0x9b9e90));}['toJSON'](_0x3ab9fd){let _0x1b7d6={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0x3ab9fd)for(let _0x174d57 in _0x3ab9fd){let _0x1a5cf6=_0x3ab9fd[_0x174d57];_0x1a5cf6 instanceof StateField&&null!=this['config']['address'][_0x1a5cf6['id']]&&(_0x1b7d6[_0x174d57]=_0x1a5cf6['spec']['toJSON'](this['field'](_0x3ab9fd[_0x174d57]),this));}return _0x1b7d6;}static['fromJSON'](_0x374b5d,_0x463e18={},_0x2e3bbf){if(!_0x374b5d||'string'!=typeof _0x374b5d['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x4d40e3=[];if(_0x2e3bbf){for(let _0x3e71ab in _0x2e3bbf)if(Object['prototype']['hasOwnProperty']['call'](_0x374b5d,_0x3e71ab)){let _0x4a48fd=_0x2e3bbf[_0x3e71ab],_0x142986=_0x374b5d[_0x3e71ab];_0x4d40e3['push'](_0x4a48fd['init'](_0x516276=>_0x4a48fd['spec']['fromJSON'](_0x142986,_0x516276)));}}return EditorState['create']({'doc':_0x374b5d['doc'],'selection':EditorSelection['fromJSON'](_0x374b5d['selection']),'extensions':_0x463e18['extensions']?_0x4d40e3['concat']([_0x463e18['extensions']]):_0x4d40e3});}static['create'](_0x5ac979={}){let _0x416172=Configuration['resolve'](_0x5ac979['extensions']||[],new Map()),_0x560345=_0x5ac979['doc']instanceof Text?_0x5ac979['doc']:Text['of']((_0x5ac979['doc']||'')['split'](_0x416172['staticFacet'](EditorState['lineSeparator'])||DefaultSplit)),_0x4bdcd5=_0x5ac979['selection']?_0x5ac979['selection']instanceof EditorSelection?_0x5ac979['selection']:EditorSelection['single'](_0x5ac979['selection']['anchor'],_0x5ac979['selection']['head']):EditorSelection['single'](0x0);return checkSelection(_0x4bdcd5,_0x560345['length']),_0x416172['staticFacet'](allowMultipleSelections)||(_0x4bdcd5=_0x4bdcd5['asSingle']()),new EditorState(_0x416172,_0x560345,_0x4bdcd5,_0x416172['dynamicSlots']['map'](()=>null),(_0x5dfe73,_0x21a785)=>_0x21a785['create'](_0x5dfe73),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](_0x3e3fa8);}['phrase'](_0x487063,..._0x572982){for(let _0x43624e of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x43624e,_0x487063)){_0x487063=_0x43624e[_0x487063];break;}return _0x572982['length']&&(_0x487063=_0x487063['replace'](/\$(\$|\d*)/g,(_0x598579,_0x397e96)=>{if('$'==_0x397e96)return'$';let _0x34244c=+(_0x397e96||0x1);return!_0x34244c||_0x34244c>_0x572982['length']?_0x598579:_0x572982[_0x34244c-0x1];})),_0x487063;}['languageDataAt'](_0x44d301,_0x305340,_0x1fc0a9=-0x1){let _0x455894=[];for(let _0x96aa68 of this['facet'](languageData))for(let _0x3d9c34 of _0x96aa68(this,_0x305340,_0x1fc0a9))Object['prototype']['hasOwnProperty']['call'](_0x3d9c34,_0x44d301)&&_0x455894['push'](_0x3d9c34[_0x44d301]);return _0x455894;}['charCategorizer'](_0x35955a){return makeCategorizer(this['languageDataAt']('wordChars',_0x35955a)['join'](''));}['wordAt'](_0x295253){let {text:_0x3e6510,from:_0x4faba7,length:_0x3f481f}=this['doc']['lineAt'](_0x295253),_0x4de888=this['charCategorizer'](_0x295253),_0x38df24=_0x295253-_0x4faba7,_0x494862=_0x295253-_0x4faba7;for(;_0x38df24>0x0;){let _0x2e9c97=findClusterBreak(_0x3e6510,_0x38df24,!0x1);if(_0x4de888(_0x3e6510['slice'](_0x2e9c97,_0x38df24))!=CharCategory['Word'])break;_0x38df24=_0x2e9c97;}for(;_0x494862<_0x3f481f;){let _0x11eeb9=findClusterBreak(_0x3e6510,_0x494862);if(_0x4de888(_0x3e6510['slice'](_0x494862,_0x11eeb9))!=CharCategory['Word'])break;_0x494862=_0x11eeb9;}return _0x38df24==_0x494862?null:EditorSelection['range'](_0x38df24+_0x4faba7,_0x494862+_0x4faba7);}}function _0x280ccf(_0x1823ef,_0x45f81f,_0x3a4b83={}){let _0x4198db={};for(let _0x1fb0a8 of _0x1823ef)for(let _0x4e16fa of Object['keys'](_0x1fb0a8)){let _0x57d985=_0x1fb0a8[_0x4e16fa],_0x555bb4=_0x4198db[_0x4e16fa];if(void 0x0===_0x555bb4)_0x4198db[_0x4e16fa]=_0x57d985;else{if(_0x555bb4===_0x57d985||void 0x0===_0x57d985);else{if(!Object['hasOwnProperty']['call'](_0x3a4b83,_0x4e16fa))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x4e16fa);_0x4198db[_0x4e16fa]=_0x3a4b83[_0x4e16fa](_0x555bb4,_0x57d985);}}}for(let _0x3a5ae9 in _0x45f81f)void 0x0===_0x4198db[_0x3a5ae9]&&(_0x4198db[_0x3a5ae9]=_0x45f81f[_0x3a5ae9]);return _0x4198db;}EditorState['allowMultipleSelections']=allowMultipleSelections,EditorState['tabSize']=Facet['define']({'combine':_0x54355e=>_0x54355e['length']?_0x54355e[0x0]:0x4}),EditorState['lineSeparator']=lineSeparator,EditorState['readOnly']=_0x3e3fa8,EditorState['phrases']=Facet['define']({'compare'(_0x4235cd,_0x2d3ff7){let _0x2cb7ab=Object['keys'](_0x4235cd),_0x1fd1c6=Object['keys'](_0x2d3ff7);return _0x2cb7ab['length']==_0x1fd1c6['length']&&_0x2cb7ab['every'](_0x28e319=>_0x4235cd[_0x28e319]==_0x2d3ff7[_0x28e319]);}}),EditorState['languageData']=languageData,EditorState['changeFilter']=changeFilter,EditorState['transactionFilter']=transactionFilter,EditorState['transactionExtender']=transactionExtender,Compartment['reconfigure']=StateEffect['define']();class _0x5aecfe{['eq'](_0x3d0800){return this==_0x3d0800;}['range'](_0x12ad68,_0x3b529d=_0x12ad68){return _0x60096f['create'](_0x12ad68,_0x3b529d,this);}}_0x5aecfe['prototype']['startSide']=_0x5aecfe['prototype']['endSide']=0x0,_0x5aecfe['prototype']['point']=!0x1,_0x5aecfe['prototype']['mapMode']=_0x20171d['TrackDel'];let _0x60096f=class _0x1f6751{constructor(_0x47791f,_0x207a6b,_0x4feb83){this['from']=_0x47791f,this['to']=_0x207a6b,this['value']=_0x4feb83;}static['create'](_0x2a263a,_0x30f8bc,_0x58a6a2){return new _0x1f6751(_0x2a263a,_0x30f8bc,_0x58a6a2);}};function _0x41ae60(_0x25ed1a,_0xd1acdd){return _0x25ed1a['from']-_0xd1acdd['from']||_0x25ed1a['value']['startSide']-_0xd1acdd['value']['startSide'];}class _0x2603e5{constructor(_0x416158,_0x37c038,_0x2efcfb,_0x46d22c){this['from']=_0x416158,this['to']=_0x37c038,this['value']=_0x2efcfb,this['maxPoint']=_0x46d22c;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x5a6335,_0x25de52,_0xba1e40,_0x40cdfb=0x0){let _0x5ab2cb=_0xba1e40?this['to']:this['from'];for(let _0x18a70f=_0x40cdfb,_0x820cd1=_0x5ab2cb['length'];;){if(_0x18a70f==_0x820cd1)return _0x18a70f;let _0x7f2e97=_0x18a70f+_0x820cd1>>0x1,_0x133d02=_0x5ab2cb[_0x7f2e97]-_0x5a6335||(_0xba1e40?this['value'][_0x7f2e97]['endSide']:this['value'][_0x7f2e97]['startSide'])-_0x25de52;if(_0x7f2e97==_0x18a70f)return _0x133d02>=0x0?_0x18a70f:_0x820cd1;_0x133d02>=0x0?_0x820cd1=_0x7f2e97:_0x18a70f=_0x7f2e97+0x1;}}['between'](_0x5c5404,_0x438ef4,_0x35ebc6,_0x32dfe4){for(let _0xc8e4ba=this['findIndex'](_0x438ef4,-0x3b9aca00,!0x0),_0xabaa75=this['findIndex'](_0x35ebc6,0x3b9aca00,!0x1,_0xc8e4ba);_0xc8e4ba<_0xabaa75;_0xc8e4ba++)if(!0x1===_0x32dfe4(this['from'][_0xc8e4ba]+_0x5c5404,this['to'][_0xc8e4ba]+_0x5c5404,this['value'][_0xc8e4ba]))return!0x1;}['map'](_0x31c237,_0x1d7761){let _0x1f4af3=[],_0x5a0b22=[],_0xad4850=[],_0x30a96c=-0x1,_0x201b9b=-0x1;for(let _0x3ec80b=0x0;_0x3ec80b<this['value']['length'];_0x3ec80b++){let _0x50656e,_0x4a7d8a,_0x1b9eb1=this['value'][_0x3ec80b],_0x4f0888=this['from'][_0x3ec80b]+_0x31c237,_0x2b828b=this['to'][_0x3ec80b]+_0x31c237;if(_0x4f0888==_0x2b828b){let _0x3eb861=_0x1d7761['mapPos'](_0x4f0888,_0x1b9eb1['startSide'],_0x1b9eb1['mapMode']);if(null==_0x3eb861)continue;if(_0x50656e=_0x4a7d8a=_0x3eb861,_0x1b9eb1['startSide']!=_0x1b9eb1['endSide']&&(_0x4a7d8a=_0x1d7761['mapPos'](_0x4f0888,_0x1b9eb1['endSide']),_0x4a7d8a<_0x50656e))continue;}else{if(_0x50656e=_0x1d7761['mapPos'](_0x4f0888,_0x1b9eb1['startSide']),_0x4a7d8a=_0x1d7761['mapPos'](_0x2b828b,_0x1b9eb1['endSide']),_0x50656e>_0x4a7d8a||_0x50656e==_0x4a7d8a&&_0x1b9eb1['startSide']>0x0&&_0x1b9eb1['endSide']<=0x0)continue;}(_0x4a7d8a-_0x50656e||_0x1b9eb1['endSide']-_0x1b9eb1['startSide'])<0x0||(_0x30a96c<0x0&&(_0x30a96c=_0x50656e),_0x1b9eb1['point']&&(_0x201b9b=Math['max'](_0x201b9b,_0x4a7d8a-_0x50656e)),_0x1f4af3['push'](_0x1b9eb1),_0x5a0b22['push'](_0x50656e-_0x30a96c),_0xad4850['push'](_0x4a7d8a-_0x30a96c));}return{'mapped':_0x1f4af3['length']?new _0x2603e5(_0x5a0b22,_0xad4850,_0x1f4af3,_0x201b9b):null,'pos':_0x30a96c};}}class RangeSet{constructor(_0x22ee5d,_0x495b4f,_0x21b4bc,_0x59d8ea){this['chunkPos']=_0x22ee5d,this['chunk']=_0x495b4f,this['nextLayer']=_0x21b4bc,this['maxPoint']=_0x59d8ea;}static['create'](_0x11d784,_0x456957,_0x3832a7,_0x4f27eb){return new RangeSet(_0x11d784,_0x456957,_0x3832a7,_0x4f27eb);}get['length'](){let _0x283453=this['chunk']['length']-0x1;return _0x283453<0x0?0x0:Math['max'](this['chunkEnd'](_0x283453),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x287b68=this['nextLayer']['size'];for(let _0x517a4f of this['chunk'])_0x287b68+=_0x517a4f['value']['length'];return _0x287b68;}['chunkEnd'](_0x465520){return this['chunkPos'][_0x465520]+this['chunk'][_0x465520]['length'];}['update'](_0x50845d){let {add:_0x3a8464=[],sort:_0x521606=!0x1,filterFrom:_0xebac=0x0,filterTo:_0x1a89a5=this['length']}=_0x50845d,_0x3682b9=_0x50845d['filter'];if(0x0==_0x3a8464['length']&&!_0x3682b9)return this;if(_0x521606&&(_0x3a8464=_0x3a8464['slice']()['sort'](_0x41ae60)),this['isEmpty'])return _0x3a8464['length']?RangeSet['of'](_0x3a8464):this;let _0x472386=new _0x55defa(this,null,-0x1)['goto'](0x0),_0x2af995=0x0,_0x2ceeaf=[],_0x24767f=new RangeSetBuilder();for(;_0x472386['value']||_0x2af995<_0x3a8464['length'];)if(_0x2af995<_0x3a8464['length']&&(_0x472386['from']-_0x3a8464[_0x2af995]['from']||_0x472386['startSide']-_0x3a8464[_0x2af995]['value']['startSide'])>=0x0){let _0x3de57a=_0x3a8464[_0x2af995++];_0x24767f['addInner'](_0x3de57a['from'],_0x3de57a['to'],_0x3de57a['value'])||_0x2ceeaf['push'](_0x3de57a);}else 0x1==_0x472386['rangeIndex']&&_0x472386['chunkIndex']<this['chunk']['length']&&(_0x2af995==_0x3a8464['length']||this['chunkEnd'](_0x472386['chunkIndex'])<_0x3a8464[_0x2af995]['from'])&&(!_0x3682b9||_0xebac>this['chunkEnd'](_0x472386['chunkIndex'])||_0x1a89a5<this['chunkPos'][_0x472386['chunkIndex']])&&_0x24767f['addChunk'](this['chunkPos'][_0x472386['chunkIndex']],this['chunk'][_0x472386['chunkIndex']])?_0x472386['nextChunk']():((!_0x3682b9||_0xebac>_0x472386['to']||_0x1a89a5<_0x472386['from']||_0x3682b9(_0x472386['from'],_0x472386['to'],_0x472386['value']))&&(_0x24767f['addInner'](_0x472386['from'],_0x472386['to'],_0x472386['value'])||_0x2ceeaf['push'](_0x60096f['create'](_0x472386['from'],_0x472386['to'],_0x472386['value']))),_0x472386['next']());return _0x24767f['finishInner'](this['nextLayer']['isEmpty']&&!_0x2ceeaf['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0x2ceeaf,'filter':_0x3682b9,'filterFrom':_0xebac,'filterTo':_0x1a89a5}));}['map'](_0x2e269c){if(_0x2e269c['empty']||this['isEmpty'])return this;let _0x521404=[],_0x2bf3c1=[],_0x247249=-0x1;for(let _0x266f18=0x0;_0x266f18<this['chunk']['length'];_0x266f18++){let _0x15e4f4=this['chunkPos'][_0x266f18],_0x136299=this['chunk'][_0x266f18],_0x4a482d=_0x2e269c['touchesRange'](_0x15e4f4,_0x15e4f4+_0x136299['length']);if(!0x1===_0x4a482d)_0x247249=Math['max'](_0x247249,_0x136299['maxPoint']),_0x521404['push'](_0x136299),_0x2bf3c1['push'](_0x2e269c['mapPos'](_0x15e4f4));else{if(!0x0===_0x4a482d){let {mapped:_0x5c4b1e,pos:_0x2a9573}=_0x136299['map'](_0x15e4f4,_0x2e269c);_0x5c4b1e&&(_0x247249=Math['max'](_0x247249,_0x5c4b1e['maxPoint']),_0x521404['push'](_0x5c4b1e),_0x2bf3c1['push'](_0x2a9573));}}}let _0x2dda64=this['nextLayer']['map'](_0x2e269c);return 0x0==_0x521404['length']?_0x2dda64:new RangeSet(_0x2bf3c1,_0x521404,_0x2dda64||RangeSet['empty'],_0x247249);}['between'](_0x4f4a21,_0x1e9ce4,_0x5311ef){if(!this['isEmpty']){for(let _0x4abcb2=0x0;_0x4abcb2<this['chunk']['length'];_0x4abcb2++){let _0x1b24da=this['chunkPos'][_0x4abcb2],_0x4fdc19=this['chunk'][_0x4abcb2];if(_0x1e9ce4>=_0x1b24da&&_0x4f4a21<=_0x1b24da+_0x4fdc19['length']&&!0x1===_0x4fdc19['between'](_0x1b24da,_0x4f4a21-_0x1b24da,_0x1e9ce4-_0x1b24da,_0x5311ef))return;}this['nextLayer']['between'](_0x4f4a21,_0x1e9ce4,_0x5311ef);}}['iter'](_0x59482a=0x0){return _0x11160c['from']([this])['goto'](_0x59482a);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0x2a7312,_0x2d1956=0x0){return _0x11160c['from'](_0x2a7312)['goto'](_0x2d1956);}static['compare'](_0x43d992,_0xf4e9d1,_0x15a55a,_0x4686c0,_0x8ba548=-0x1){let _0x6adac9=_0x43d992['filter'](_0x5460c6=>_0x5460c6['maxPoint']>0x0||!_0x5460c6['isEmpty']&&_0x5460c6['maxPoint']>=_0x8ba548),_0x4205af=_0xf4e9d1['filter'](_0x5c5a90=>_0x5c5a90['maxPoint']>0x0||!_0x5c5a90['isEmpty']&&_0x5c5a90['maxPoint']>=_0x8ba548),_0x19a832=_0x177cae(_0x6adac9,_0x4205af,_0x15a55a),_0x28e632=new _0x2a3d1b(_0x6adac9,_0x19a832,_0x8ba548),_0x50a7d4=new _0x2a3d1b(_0x4205af,_0x19a832,_0x8ba548);_0x15a55a['iterGaps']((_0x1808d8,_0x54eb7d,_0x2ec389)=>_0xbfada(_0x28e632,_0x1808d8,_0x50a7d4,_0x54eb7d,_0x2ec389,_0x4686c0)),_0x15a55a['empty']&&0x0==_0x15a55a['length']&&_0xbfada(_0x28e632,0x0,_0x50a7d4,0x0,0x0,_0x4686c0);}static['eq'](_0x352152,_0x17ec46,_0x359525=0x0,_0x27aab3){null==_0x27aab3&&(_0x27aab3=0x3b9ac9ff);let _0x3fd310=_0x352152['filter'](_0x156b84=>!_0x156b84['isEmpty']&&_0x17ec46['indexOf'](_0x156b84)<0x0),_0x39b197=_0x17ec46['filter'](_0x3bb840=>!_0x3bb840['isEmpty']&&_0x352152['indexOf'](_0x3bb840)<0x0);if(_0x3fd310['length']!=_0x39b197['length'])return!0x1;if(!_0x3fd310['length'])return!0x0;let _0x111f9b=_0x177cae(_0x3fd310,_0x39b197),_0xae99f9=new _0x2a3d1b(_0x3fd310,_0x111f9b,0x0)['goto'](_0x359525),_0x557c6c=new _0x2a3d1b(_0x39b197,_0x111f9b,0x0)['goto'](_0x359525);for(;;){if(_0xae99f9['to']!=_0x557c6c['to']||!_0x520110(_0xae99f9['active'],_0x557c6c['active'])||_0xae99f9['point']&&(!_0x557c6c['point']||!_0xae99f9['point']['eq'](_0x557c6c['point'])))return!0x1;if(_0xae99f9['to']>_0x27aab3)return!0x0;_0xae99f9['next'](),_0x557c6c['next']();}}static['spans'](_0x271cec,_0x46d90c,_0x447132,_0x1fcade,_0x45f6cd=-0x1){let _0x555da2=new _0x2a3d1b(_0x271cec,null,_0x45f6cd)['goto'](_0x46d90c),_0x25c4c8=_0x46d90c,_0x57665a=_0x555da2['openStart'];for(;;){let _0x316c67=Math['min'](_0x555da2['to'],_0x447132);if(_0x555da2['point']){let _0x5b167b=_0x555da2['activeForPoint'](_0x555da2['to']),_0x32fe93=_0x555da2['pointFrom']<_0x46d90c?_0x5b167b['length']+0x1:_0x555da2['point']['startSide']<0x0?_0x5b167b['length']:Math['min'](_0x5b167b['length'],_0x57665a);_0x1fcade['point'](_0x25c4c8,_0x316c67,_0x555da2['point'],_0x5b167b,_0x32fe93,_0x555da2['pointRank']),_0x57665a=Math['min'](_0x555da2['openEnd'](_0x316c67),_0x5b167b['length']);}else _0x316c67>_0x25c4c8&&(_0x1fcade['span'](_0x25c4c8,_0x316c67,_0x555da2['active'],_0x57665a),_0x57665a=_0x555da2['openEnd'](_0x316c67));if(_0x555da2['to']>_0x447132)return _0x57665a+(_0x555da2['point']&&_0x555da2['to']>_0x447132?0x1:0x0);_0x25c4c8=_0x555da2['to'],_0x555da2['next']();}}static['of'](_0x1b3cb7,_0x441427=!0x1){let _0x243f01=new RangeSetBuilder();for(let _0x2217b3 of _0x1b3cb7 instanceof _0x60096f?[_0x1b3cb7]:_0x441427?lazySort(_0x1b3cb7):_0x1b3cb7)_0x243f01['add'](_0x2217b3['from'],_0x2217b3['to'],_0x2217b3['value']);return _0x243f01['finish']();}static['join'](_0x36bc6b){if(!_0x36bc6b['length'])return RangeSet['empty'];let _0x5394bf=_0x36bc6b[_0x36bc6b['length']-0x1];for(let _0x100ed5=_0x36bc6b['length']-0x2;_0x100ed5>=0x0;_0x100ed5--)for(let _0x32f0fd=_0x36bc6b[_0x100ed5];_0x32f0fd!=RangeSet['empty'];_0x32f0fd=_0x32f0fd['nextLayer'])_0x5394bf=new RangeSet(_0x32f0fd['chunkPos'],_0x32f0fd['chunk'],_0x5394bf,Math['max'](_0x32f0fd['maxPoint'],_0x5394bf['maxPoint']));return _0x5394bf;}}function lazySort(_0x4fc280){if(_0x4fc280['length']>0x1)for(let _0x2c2a57=_0x4fc280[0x0],_0x539462=0x1;_0x539462<_0x4fc280['length'];_0x539462++){let _0x152116=_0x4fc280[_0x539462];if(_0x41ae60(_0x2c2a57,_0x152116)>0x0)return _0x4fc280['slice']()['sort'](_0x41ae60);_0x2c2a57=_0x152116;}return _0x4fc280;}RangeSet['empty']=new RangeSet([],[],null,-0x1),RangeSet['empty']['nextLayer']=RangeSet['empty'];class RangeSetBuilder{['finishChunk'](_0x299a36){this['chunks']['push'](new _0x2603e5(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,_0x299a36&&(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'](_0x3bb261,_0x279148,_0x4acf6b){this['addInner'](_0x3bb261,_0x279148,_0x4acf6b)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0x3bb261,_0x279148,_0x4acf6b);}['addInner'](_0x2206ee,_0x2b7a52,_0x103bdc){let _0x5e5202=_0x2206ee-this['lastTo']||_0x103bdc['startSide']-this['last']['endSide'];if(_0x5e5202<=0x0&&(_0x2206ee-this['lastFrom']||_0x103bdc['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x5e5202<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x2206ee),this['from']['push'](_0x2206ee-this['chunkStart']),this['to']['push'](_0x2b7a52-this['chunkStart']),this['last']=_0x103bdc,this['lastFrom']=_0x2206ee,this['lastTo']=_0x2b7a52,this['value']['push'](_0x103bdc),_0x103bdc['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x2b7a52-_0x2206ee)),!0x0);}['addChunk'](_0x8a319f,_0x55fc7e){if((_0x8a319f-this['lastTo']||_0x55fc7e['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x55fc7e['maxPoint']),this['chunks']['push'](_0x55fc7e),this['chunkPos']['push'](_0x8a319f);let _0x3eaf01=_0x55fc7e['value']['length']-0x1;return this['last']=_0x55fc7e['value'][_0x3eaf01],this['lastFrom']=_0x55fc7e['from'][_0x3eaf01]+_0x8a319f,this['lastTo']=_0x55fc7e['to'][_0x3eaf01]+_0x8a319f,!0x0;}['finish'](){return this['finishInner'](RangeSet['empty']);}['finishInner'](_0x596c4c){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x596c4c;let _0x4119e9=RangeSet['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x596c4c):_0x596c4c,this['setMaxPoint']);return this['from']=null,_0x4119e9;}}function _0x177cae(_0x227fbc,_0x3e9827,_0x21cc25){let _0x519667=new Map();for(let _0x508f1d of _0x227fbc)for(let _0x35f648=0x0;_0x35f648<_0x508f1d['chunk']['length'];_0x35f648++)_0x508f1d['chunk'][_0x35f648]['maxPoint']<=0x0&&_0x519667['set'](_0x508f1d['chunk'][_0x35f648],_0x508f1d['chunkPos'][_0x35f648]);let _0x17a5f5=new Set();for(let _0xa2c6 of _0x3e9827)for(let _0x28d6d4=0x0;_0x28d6d4<_0xa2c6['chunk']['length'];_0x28d6d4++){let _0x18d9ce=_0x519667['get'](_0xa2c6['chunk'][_0x28d6d4]);null==_0x18d9ce||(_0x21cc25?_0x21cc25['mapPos'](_0x18d9ce):_0x18d9ce)!=_0xa2c6['chunkPos'][_0x28d6d4]||(null==_0x21cc25?void 0x0:_0x21cc25['touchesRange'](_0x18d9ce,_0x18d9ce+_0xa2c6['chunk'][_0x28d6d4]['length']))||_0x17a5f5['add'](_0xa2c6['chunk'][_0x28d6d4]);}return _0x17a5f5;}class _0x55defa{constructor(_0x381bee,_0x3759b7,_0xc864c6,_0x37fb5d=0x0){this['layer']=_0x381bee,this['skip']=_0x3759b7,this['minPoint']=_0xc864c6,this['rank']=_0x37fb5d;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x1f7c6b,_0xce812f=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x1f7c6b,_0xce812f,!0x1),this;}['gotoInner'](_0x4af2c7,_0x50f0c4,_0x1e5102){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x3b376c=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x3b376c)||this['layer']['chunkEnd'](this['chunkIndex'])<_0x4af2c7||_0x3b376c['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x1e5102=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x4c60b8=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0x4af2c7-this['layer']['chunkPos'][this['chunkIndex']],_0x50f0c4,!0x0);(!_0x1e5102||this['rangeIndex']<_0x4c60b8)&&this['setRangeIndex'](_0x4c60b8);}this['next']();}['forward'](_0x25db41,_0x434bf0){(this['to']-_0x25db41||this['endSide']-_0x434bf0)<0x0&&this['gotoInner'](_0x25db41,_0x434bf0,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0x1177c8=this['layer']['chunkPos'][this['chunkIndex']],_0x284cf4=this['layer']['chunk'][this['chunkIndex']],_0x49d202=_0x1177c8+_0x284cf4['from'][this['rangeIndex']];if(this['from']=_0x49d202,this['to']=_0x1177c8+_0x284cf4['to'][this['rangeIndex']],this['value']=_0x284cf4['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0x3f5cb4){if(_0x3f5cb4==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']=_0x3f5cb4;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0xd5497f){return this['from']-_0xd5497f['from']||this['startSide']-_0xd5497f['startSide']||this['rank']-_0xd5497f['rank']||this['to']-_0xd5497f['to']||this['endSide']-_0xd5497f['endSide'];}}class _0x11160c{constructor(_0x36df8e){this['heap']=_0x36df8e;}static['from'](_0x237bfc,_0x147699=null,_0x33d5f9=-0x1){let _0xb69b15=[];for(let _0x205897=0x0;_0x205897<_0x237bfc['length'];_0x205897++)for(let _0x19c5dd=_0x237bfc[_0x205897];!_0x19c5dd['isEmpty'];_0x19c5dd=_0x19c5dd['nextLayer'])_0x19c5dd['maxPoint']>=_0x33d5f9&&_0xb69b15['push'](new _0x55defa(_0x19c5dd,_0x147699,_0x33d5f9,_0x205897));return 0x1==_0xb69b15['length']?_0xb69b15[0x0]:new _0x11160c(_0xb69b15);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0x5abb68,_0x35a93e=-0x3b9aca00){for(let _0x401537 of this['heap'])_0x401537['goto'](_0x5abb68,_0x35a93e);for(let _0x24d7e0=this['heap']['length']>>0x1;_0x24d7e0>=0x0;_0x24d7e0--)_0x441164(this['heap'],_0x24d7e0);return this['next'](),this;}['forward'](_0x34c6aa,_0x540405){for(let _0x591b46 of this['heap'])_0x591b46['forward'](_0x34c6aa,_0x540405);for(let _0x322382=this['heap']['length']>>0x1;_0x322382>=0x0;_0x322382--)_0x441164(this['heap'],_0x322382);(this['to']-_0x34c6aa||this['value']['endSide']-_0x540405)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x2d9897=this['heap'][0x0];this['from']=_0x2d9897['from'],this['to']=_0x2d9897['to'],this['value']=_0x2d9897['value'],this['rank']=_0x2d9897['rank'],_0x2d9897['value']&&_0x2d9897['next'](),_0x441164(this['heap'],0x0);}}}function _0x441164(_0x1546a3,_0x5d8583){for(let _0x3ec34e=_0x1546a3[_0x5d8583];;){let _0x49398e=0x1+(_0x5d8583<<0x1);if(_0x49398e>=_0x1546a3['length'])break;let _0x405e7e=_0x1546a3[_0x49398e];if(_0x49398e+0x1<_0x1546a3['length']&&_0x405e7e['compare'](_0x1546a3[_0x49398e+0x1])>=0x0&&(_0x405e7e=_0x1546a3[_0x49398e+0x1],_0x49398e++),_0x3ec34e['compare'](_0x405e7e)<0x0)break;_0x1546a3[_0x49398e]=_0x3ec34e,_0x1546a3[_0x5d8583]=_0x405e7e,_0x5d8583=_0x49398e;}}class _0x2a3d1b{constructor(_0x254661,_0x348c01,_0x1d066e){this['minPoint']=_0x1d066e,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']=_0x11160c['from'](_0x254661,_0x348c01,_0x1d066e);}['goto'](_0x581b97,_0x386bf7=-0x3b9aca00){return this['cursor']['goto'](_0x581b97,_0x386bf7),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0x581b97,this['endSide']=_0x386bf7,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x1ebc98,_0x5191ad){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x1ebc98||this['active'][this['minActive']]['endSide']-_0x5191ad)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x1ebc98,_0x5191ad);}['removeActive'](_0x476415){_0xf27520(this['active'],_0x476415),_0xf27520(this['activeTo'],_0x476415),_0xf27520(this['activeRank'],_0x476415),this['minActive']=_0x436109(this['active'],this['activeTo']);}['addActive'](_0x4e4538){let _0x231bcf=0x0,{value:_0x3a9267,to:_0x495f19,rank:_0x1a735c}=this['cursor'];for(;_0x231bcf<this['activeRank']['length']&&(_0x1a735c-this['activeRank'][_0x231bcf]||_0x495f19-this['activeTo'][_0x231bcf])>0x0;)_0x231bcf++;insert(this['active'],_0x231bcf,_0x3a9267),insert(this['activeTo'],_0x231bcf,_0x495f19),insert(this['activeRank'],_0x231bcf,_0x1a735c),_0x4e4538&&insert(_0x4e4538,_0x231bcf,this['cursor']['from']),this['minActive']=_0x436109(this['active'],this['activeTo']);}['next'](){let _0x2dde3e=this['to'],_0x20de3b=this['point'];this['point']=null;let _0x4fd9a0=this['openStart']<0x0?[]:null;for(;;){let _0x11f338=this['minActive'];if(_0x11f338>-0x1&&(this['activeTo'][_0x11f338]-this['cursor']['from']||this['active'][_0x11f338]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x11f338]>_0x2dde3e){this['to']=this['activeTo'][_0x11f338],this['endSide']=this['active'][_0x11f338]['endSide'];break;}this['removeActive'](_0x11f338),_0x4fd9a0&&_0xf27520(_0x4fd9a0,_0x11f338);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x2dde3e){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x33fdf5=this['cursor']['value'];if(_0x33fdf5['point']){if(!(_0x20de3b&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x33fdf5,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x33fdf5['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0x4fd9a0),this['cursor']['next']();}}}if(_0x4fd9a0){this['openStart']=0x0;for(let _0x538d69=_0x4fd9a0['length']-0x1;_0x538d69>=0x0&&_0x4fd9a0[_0x538d69]<_0x2dde3e;_0x538d69--)this['openStart']++;}}['activeForPoint'](_0x1d0f07){if(!this['active']['length'])return this['active'];let _0x20aa6d=[];for(let _0x206b07=this['active']['length']-0x1;_0x206b07>=0x0&&!(this['activeRank'][_0x206b07]<this['pointRank']);_0x206b07--)(this['activeTo'][_0x206b07]>_0x1d0f07||this['activeTo'][_0x206b07]==_0x1d0f07&&this['active'][_0x206b07]['endSide']>=this['point']['endSide'])&&_0x20aa6d['push'](this['active'][_0x206b07]);return _0x20aa6d['reverse']();}['openEnd'](_0x13686c){let _0x2db220=0x0;for(let _0x5a6759=this['activeTo']['length']-0x1;_0x5a6759>=0x0&&this['activeTo'][_0x5a6759]>_0x13686c;_0x5a6759--)_0x2db220++;return _0x2db220;}}function _0xbfada(_0x4c38f7,_0x3fc8c9,_0x4bcdc6,_0xaaf020,_0x2a93a3,_0x5bd035){_0x4c38f7['goto'](_0x3fc8c9),_0x4bcdc6['goto'](_0xaaf020);let _0x5d05ee=_0xaaf020+_0x2a93a3,_0x135211=_0xaaf020,_0x5275f0=_0xaaf020-_0x3fc8c9;for(;;){let _0x1030b0=_0x4c38f7['to']+_0x5275f0-_0x4bcdc6['to'],_0x57c8fb=_0x1030b0||_0x4c38f7['endSide']-_0x4bcdc6['endSide'],_0x41c2cd=_0x57c8fb<0x0?_0x4c38f7['to']+_0x5275f0:_0x4bcdc6['to'],_0xad82e1=Math['min'](_0x41c2cd,_0x5d05ee);if(_0x4c38f7['point']||_0x4bcdc6['point']?_0x4c38f7['point']&&_0x4bcdc6['point']&&(_0x4c38f7['point']==_0x4bcdc6['point']||_0x4c38f7['point']['eq'](_0x4bcdc6['point']))&&_0x520110(_0x4c38f7['activeForPoint'](_0x4c38f7['to']),_0x4bcdc6['activeForPoint'](_0x4bcdc6['to']))||_0x5bd035['comparePoint'](_0x135211,_0xad82e1,_0x4c38f7['point'],_0x4bcdc6['point']):_0xad82e1>_0x135211&&!_0x520110(_0x4c38f7['active'],_0x4bcdc6['active'])&&_0x5bd035['compareRange'](_0x135211,_0xad82e1,_0x4c38f7['active'],_0x4bcdc6['active']),_0x41c2cd>_0x5d05ee)break;(_0x1030b0||_0x4c38f7['openEnd']!=_0x4bcdc6['openEnd'])&&_0x5bd035['boundChange']&&_0x5bd035['boundChange'](_0x41c2cd),_0x135211=_0x41c2cd,_0x57c8fb<=0x0&&_0x4c38f7['next'](),_0x57c8fb>=0x0&&_0x4bcdc6['next']();}}function _0x520110(_0x3abecf,_0x454afb){if(_0x3abecf['length']!=_0x454afb['length'])return!0x1;for(let _0x344d0f=0x0;_0x344d0f<_0x3abecf['length'];_0x344d0f++)if(_0x3abecf[_0x344d0f]!=_0x454afb[_0x344d0f]&&!_0x3abecf[_0x344d0f]['eq'](_0x454afb[_0x344d0f]))return!0x1;return!0x0;}function _0xf27520(_0x1ff20d,_0x4c3126){for(let _0x370e11=_0x4c3126,_0x52e6c7=_0x1ff20d['length']-0x1;_0x370e11<_0x52e6c7;_0x370e11++)_0x1ff20d[_0x370e11]=_0x1ff20d[_0x370e11+0x1];_0x1ff20d['pop']();}function insert(_0x40dcfb,_0x4a99c3,_0x150e9c){for(let _0x3da283=_0x40dcfb['length']-0x1;_0x3da283>=_0x4a99c3;_0x3da283--)_0x40dcfb[_0x3da283+0x1]=_0x40dcfb[_0x3da283];_0x40dcfb[_0x4a99c3]=_0x150e9c;}function _0x436109(_0x77a8c4,_0x137c52){let _0x57f98d=-0x1,_0x5610b1=0x3b9aca00;for(let _0x586247=0x0;_0x586247<_0x137c52['length'];_0x586247++)(_0x137c52[_0x586247]-_0x5610b1||_0x77a8c4[_0x586247]['endSide']-_0x77a8c4[_0x57f98d]['endSide'])<0x0&&(_0x57f98d=_0x586247,_0x5610b1=_0x137c52[_0x586247]);return _0x57f98d;}function countColumn(_0x289671,_0x588b73,_0x2444f3=_0x289671['length']){let _0x451209=0x0;for(let _0x491f06=0x0;_0x491f06<_0x2444f3&&_0x491f06<_0x289671['length'];)0x9==_0x289671['charCodeAt'](_0x491f06)?(_0x451209+=_0x588b73-_0x451209%_0x588b73,_0x491f06++):(_0x451209++,_0x491f06=findClusterBreak(_0x289671,_0x491f06));return _0x451209;}function _0x4f0671(_0x55d43b,_0x1a9f90,_0x5b52bd,_0x33c634){for(let _0x516a90=0x0,_0xbd8498=0x0;;){if(_0xbd8498>=_0x1a9f90)return _0x516a90;if(_0x516a90==_0x55d43b['length'])break;_0xbd8498+=0x9==_0x55d43b['charCodeAt'](_0x516a90)?_0x5b52bd-_0xbd8498%_0x5b52bd:0x1,_0x516a90=findClusterBreak(_0x55d43b,_0x516a90);}return!0x0===_0x33c634?-0x1:_0x55d43b['length'];}const _0x3d7755='ͼ',_0x1efc49='undefined'==typeof Symbol?'__'+_0x3d7755:Symbol['for'](_0x3d7755),_0x331f17='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),top='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};class StyleModule{constructor(_0x5d86d8,_0x45adae){this['rules']=[];let {finish:_0x4d65df}=_0x45adae||{};function _0x538ad2(_0x490f19){return/^@/['test'](_0x490f19)?[_0x490f19]:_0x490f19['split'](/,\s*/);}function _0x244056(_0x35a24a,_0x4d80b3,_0x393d18,_0x436c9b){let _0x57552e=[],_0x424d07=/^@(\w+)\b/['exec'](_0x35a24a[0x0]),_0x2d84f5=_0x424d07&&'keyframes'==_0x424d07[0x1];if(_0x424d07&&null==_0x4d80b3)return _0x393d18['push'](_0x35a24a[0x0]+';');for(let _0x48f942 in _0x4d80b3){let _0x4a2722=_0x4d80b3[_0x48f942];if(/&/['test'](_0x48f942))_0x244056(_0x48f942['split'](/,\s*/)['map'](_0x5c462d=>_0x35a24a['map'](_0x22bc4a=>_0x5c462d['replace'](/&/,_0x22bc4a)))['reduce']((_0x200c21,_0x32fda8)=>_0x200c21['concat'](_0x32fda8)),_0x4a2722,_0x393d18);else{if(_0x4a2722&&'object'==typeof _0x4a2722){if(!_0x424d07)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0x48f942+')\x20should\x20be\x20a\x20primitive\x20value.');_0x244056(_0x538ad2(_0x48f942),_0x4a2722,_0x57552e,_0x2d84f5);}else null!=_0x4a2722&&_0x57552e['push'](_0x48f942['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0x210ff0=>'-'+_0x210ff0['toLowerCase']())+':\x20'+_0x4a2722+';');}}(_0x57552e['length']||_0x2d84f5)&&_0x393d18['push']((!_0x4d65df||_0x424d07||_0x436c9b?_0x35a24a:_0x35a24a['map'](_0x4d65df))['join'](',\x20')+'\x20{'+_0x57552e['join']('\x20')+'}');}for(let _0x5a76c2 in _0x5d86d8)_0x244056(_0x538ad2(_0x5a76c2),_0x5d86d8[_0x5a76c2],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0x35700a=top[_0x1efc49]||0x1;return top[_0x1efc49]=_0x35700a+0x1,_0x3d7755+_0x35700a['toString'](0x24);}static['mount'](_0x514d0a,_0x4f71d1,_0x1f49fc){let _0x50eeca=_0x514d0a[_0x331f17],_0xadd329=_0x1f49fc&&_0x1f49fc['nonce'];_0x50eeca?_0xadd329&&_0x50eeca['setNonce'](_0xadd329):_0x50eeca=new StyleSet(_0x514d0a,_0xadd329),_0x50eeca['mount'](Array['isArray'](_0x4f71d1)?_0x4f71d1:[_0x4f71d1],_0x514d0a);}}let adoptedSet=new Map();class StyleSet{constructor(_0x47ae1a,_0x4b6c7f){let _0x56f6ab=_0x47ae1a['ownerDocument']||_0x47ae1a,_0x4c9d0f=_0x56f6ab['defaultView'];if(!_0x47ae1a['head']&&_0x47ae1a['adoptedStyleSheets']&&_0x4c9d0f['CSSStyleSheet']){let _0x4f3269=adoptedSet['get'](_0x56f6ab);if(_0x4f3269)return _0x47ae1a[_0x331f17]=_0x4f3269;this['sheet']=new _0x4c9d0f['CSSStyleSheet'](),adoptedSet['set'](_0x56f6ab,this);}else this['styleTag']=_0x56f6ab['createElement']('style'),_0x4b6c7f&&this['styleTag']['setAttribute']('nonce',_0x4b6c7f);this['modules']=[],_0x47ae1a[_0x331f17]=this;}['mount'](_0x9fc73b,_0x409c0e){let _0x52df4c=this['sheet'],_0x3f63b4=0x0,_0x19d35f=0x0;for(let _0x10f844=0x0;_0x10f844<_0x9fc73b['length'];_0x10f844++){let _0x1789f0=_0x9fc73b[_0x10f844],_0x1d2849=this['modules']['indexOf'](_0x1789f0);if(_0x1d2849<_0x19d35f&&_0x1d2849>-0x1&&(this['modules']['splice'](_0x1d2849,0x1),_0x19d35f--,_0x1d2849=-0x1),-0x1==_0x1d2849){if(this['modules']['splice'](_0x19d35f++,0x0,_0x1789f0),_0x52df4c){for(let _0x31fa40=0x0;_0x31fa40<_0x1789f0['rules']['length'];_0x31fa40++)_0x52df4c['insertRule'](_0x1789f0['rules'][_0x31fa40],_0x3f63b4++);}}else{for(;_0x19d35f<_0x1d2849;)_0x3f63b4+=this['modules'][_0x19d35f++]['rules']['length'];_0x3f63b4+=_0x1789f0['rules']['length'],_0x19d35f++;}}if(_0x52df4c)_0x409c0e['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x409c0e['adoptedStyleSheets']=[this['sheet'],..._0x409c0e['adoptedStyleSheets']]);else{let _0x1a5b12='';for(let _0x104bc3=0x0;_0x104bc3<this['modules']['length'];_0x104bc3++)_0x1a5b12+=this['modules'][_0x104bc3]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x1a5b12;let _0x1113ea=_0x409c0e['head']||_0x409c0e;this['styleTag']['parentNode']!=_0x1113ea&&_0x1113ea['insertBefore'](this['styleTag'],_0x1113ea['firstChild']);}}['setNonce'](_0x3ec115){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0x3ec115&&this['styleTag']['setAttribute']('nonce',_0x3ec115);}}for(var _0x477196={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'},_0x53ba96='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),_0x30df7d='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),_0x4e1c1f=0x0;_0x4e1c1f<0xa;_0x4e1c1f++)_0x477196[0x30+_0x4e1c1f]=_0x477196[0x60+_0x4e1c1f]=String(_0x4e1c1f);for(var _0x4e1c1f=0x1;_0x4e1c1f<=0x18;_0x4e1c1f++)_0x477196[_0x4e1c1f+0x6f]='F'+_0x4e1c1f;for(var _0x4e1c1f=0x41;_0x4e1c1f<=0x5a;_0x4e1c1f++)_0x477196[_0x4e1c1f]=String['fromCharCode'](_0x4e1c1f+0x20),shift[_0x4e1c1f]=String['fromCharCode'](_0x4e1c1f);for(var _0x139184 in _0x477196)shift['hasOwnProperty'](_0x139184)||(shift[_0x139184]=_0x477196[_0x139184]);function _0x16d24e(_0x90e305){var _0x46a74a=!(_0x53ba96&&_0x90e305['metaKey']&&_0x90e305['shiftKey']&&!_0x90e305['ctrlKey']&&!_0x90e305['altKey']||_0x30df7d&&_0x90e305['shiftKey']&&_0x90e305['key']&&0x1==_0x90e305['key']['length']||'Unidentified'==_0x90e305['key'])&&_0x90e305['key']||(_0x90e305['shiftKey']?shift:_0x477196)[_0x90e305['keyCode']]||_0x90e305['key']||'Unidentified';return'Esc'==_0x46a74a&&(_0x46a74a='Escape'),'Del'==_0x46a74a&&(_0x46a74a='Delete'),'Left'==_0x46a74a&&(_0x46a74a='ArrowLeft'),'Up'==_0x46a74a&&(_0x46a74a='ArrowUp'),'Right'==_0x46a74a&&(_0x46a74a='ArrowRight'),'Down'==_0x46a74a&&(_0x46a74a='ArrowDown'),_0x46a74a;}let _0x2707f9='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},_0x2be791='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const _0x307c15=/Edge\/(\d+)/['exec'](_0x2707f9['userAgent']),ie_upto10=/MSIE \d/['test'](_0x2707f9['userAgent']),_0x531101=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](_0x2707f9['userAgent']),_0x409eae=!!(ie_upto10||_0x531101||_0x307c15),_0x7d6f16=!_0x409eae&&/gecko\/(\d+)/i['test'](_0x2707f9['userAgent']),_0x5c9da8=!_0x409eae&&/Chrome\/(\d+)/['exec'](_0x2707f9['userAgent']),webkit='webkitFontSmoothing'in _0x2be791['documentElement']['style'],_0x568f58=!_0x409eae&&/Apple Computer/['test'](_0x2707f9['vendor']),_0x245267=_0x568f58&&(/Mobile\/\w+/['test'](_0x2707f9['userAgent'])||_0x2707f9['maxTouchPoints']>0x2);var _0x394245={'mac':_0x245267||/Mac/['test'](_0x2707f9['platform']),'windows':/Win/['test'](_0x2707f9['platform']),'linux':/Linux|X11/['test'](_0x2707f9['platform']),'ie':_0x409eae,'ie_version':ie_upto10?_0x2be791['documentMode']||0x6:_0x531101?+_0x531101[0x1]:_0x307c15?+_0x307c15[0x1]:0x0,'gecko':_0x7d6f16,'gecko_version':_0x7d6f16?+(/Firefox\/(\d+)/['exec'](_0x2707f9['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!_0x5c9da8,'chrome_version':_0x5c9da8?+_0x5c9da8[0x1]:0x0,'ios':_0x245267,'android':/Android\b/['test'](_0x2707f9['userAgent']),'webkit_version':webkit?+(/\bAppleWebKit\/(\d+)/['exec'](_0x2707f9['userAgent'])||[0x0,0x0])[0x1]:0x0,'safari':_0x568f58,'safari_version':_0x568f58?+(/\bVersion\/(\d+(\.\d+)?)/['exec'](_0x2707f9['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=_0x2be791['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};function getSelection(_0x823404){let _0x559f36;return _0x559f36=0xb==_0x823404['nodeType']?_0x823404['getSelection']?_0x823404:_0x823404['ownerDocument']:_0x823404,_0x559f36['getSelection']();}function contains(_0x2549ff,_0x2d9006){return!!_0x2d9006&&(_0x2549ff==_0x2d9006||_0x2549ff['contains'](0x1!=_0x2d9006['nodeType']?_0x2d9006['parentNode']:_0x2d9006));}function hasSelection(_0x1e3726,_0x38c3cd){if(!_0x38c3cd['anchorNode'])return!0x1;try{return contains(_0x1e3726,_0x38c3cd['anchorNode']);}catch(_0x50f006){return!0x1;}}function clientRectsFor(_0x3babdc){return 0x3==_0x3babdc['nodeType']?textRange(_0x3babdc,0x0,_0x3babdc['nodeValue']['length'])['getClientRects']():0x1==_0x3babdc['nodeType']?_0x3babdc['getClientRects']():[];}function isEquivalentPosition(_0x2a2f3c,_0x15bac1,_0x95811e,_0x17528d){return!!_0x95811e&&(_0x2690c7(_0x2a2f3c,_0x15bac1,_0x95811e,_0x17528d,-0x1)||_0x2690c7(_0x2a2f3c,_0x15bac1,_0x95811e,_0x17528d,0x1));}function _0x54b1dd(_0x3808ba){for(var _0x4ffcf8=0x0;;_0x4ffcf8++)if(!(_0x3808ba=_0x3808ba['previousSibling']))return _0x4ffcf8;}function isBlockElement(_0x4231e6){return 0x1==_0x4231e6['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0x4231e6['nodeName']);}function _0x2690c7(_0x120037,_0x233dba,_0x44946b,_0x22fda3,_0x19ed3d){for(;;){if(_0x120037==_0x44946b&&_0x233dba==_0x22fda3)return!0x0;if(_0x233dba==(_0x19ed3d<0x0?0x0:maxOffset(_0x120037))){if('DIV'==_0x120037['nodeName'])return!0x1;let _0x3e548d=_0x120037['parentNode'];if(!_0x3e548d||0x1!=_0x3e548d['nodeType'])return!0x1;_0x233dba=_0x54b1dd(_0x120037)+(_0x19ed3d<0x0?0x0:0x1),_0x120037=_0x3e548d;}else{if(0x1!=_0x120037['nodeType'])return!0x1;if(0x1==(_0x120037=_0x120037['childNodes'][_0x233dba+(_0x19ed3d<0x0?-0x1:0x0)])['nodeType']&&'false'==_0x120037['contentEditable'])return!0x1;_0x233dba=_0x19ed3d<0x0?maxOffset(_0x120037):0x0;}}}function maxOffset(_0x14fe7d){return 0x3==_0x14fe7d['nodeType']?_0x14fe7d['nodeValue']['length']:_0x14fe7d['childNodes']['length'];}function flattenRect(_0x5335f1,_0x4cf031){let _0x204efa=_0x4cf031?_0x5335f1['left']:_0x5335f1['right'];return{'left':_0x204efa,'right':_0x204efa,'top':_0x5335f1['top'],'bottom':_0x5335f1['bottom']};}function windowRect(_0x1b7db0){let _0x263189=_0x1b7db0['visualViewport'];return _0x263189?{'left':0x0,'right':_0x263189['width'],'top':0x0,'bottom':_0x263189['height']}:{'left':0x0,'right':_0x1b7db0['innerWidth'],'top':0x0,'bottom':_0x1b7db0['innerHeight']};}function getScale(_0x5505bf,_0x5cf212){let _0x563339=_0x5cf212['width']/_0x5505bf['offsetWidth'],_0x30b841=_0x5cf212['height']/_0x5505bf['offsetHeight'];return(_0x563339>0.995&&_0x563339<1.005||!isFinite(_0x563339)||Math['abs'](_0x5cf212['width']-_0x5505bf['offsetWidth'])<0x1)&&(_0x563339=0x1),(_0x30b841>0.995&&_0x30b841<1.005||!isFinite(_0x30b841)||Math['abs'](_0x5cf212['height']-_0x5505bf['offsetHeight'])<0x1)&&(_0x30b841=0x1),{'scaleX':_0x563339,'scaleY':_0x30b841};}function scrollRectIntoView(_0x1a863a,_0x7cc557,_0x782491,_0x5a6be0,_0x4a5dbb,_0x5c0d44,_0x14362d,_0x193d71){let _0x53e535=_0x1a863a['ownerDocument'],_0x3b42d1=_0x53e535['defaultView']||window;for(let _0x177cd5=_0x1a863a,_0x4d1747=!0x1;_0x177cd5&&!_0x4d1747;)if(0x1==_0x177cd5['nodeType']){let _0x34bddf,_0x5e318a=_0x177cd5==_0x53e535['body'],_0x302232=0x1,_0x52be89=0x1;if(_0x5e318a)_0x34bddf=windowRect(_0x3b42d1);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x177cd5)['position'])&&(_0x4d1747=!0x0),_0x177cd5['scrollHeight']<=_0x177cd5['clientHeight']&&_0x177cd5['scrollWidth']<=_0x177cd5['clientWidth']){_0x177cd5=_0x177cd5['assignedSlot']||_0x177cd5['parentNode'];continue;}let _0x4f678a=_0x177cd5['getBoundingClientRect']();({scaleX:_0x302232,scaleY:_0x52be89}=getScale(_0x177cd5,_0x4f678a),_0x34bddf={'left':_0x4f678a['left'],'right':_0x4f678a['left']+_0x177cd5['clientWidth']*_0x302232,'top':_0x4f678a['top'],'bottom':_0x4f678a['top']+_0x177cd5['clientHeight']*_0x52be89});}let _0x174aa5=0x0,_0x3598d4=0x0;if('nearest'==_0x4a5dbb)_0x7cc557['top']<_0x34bddf['top']?(_0x3598d4=_0x7cc557['top']-(_0x34bddf['top']+_0x14362d),_0x782491>0x0&&_0x7cc557['bottom']>_0x34bddf['bottom']+_0x3598d4&&(_0x3598d4=_0x7cc557['bottom']-_0x34bddf['bottom']+_0x14362d)):_0x7cc557['bottom']>_0x34bddf['bottom']&&(_0x3598d4=_0x7cc557['bottom']-_0x34bddf['bottom']+_0x14362d,_0x782491<0x0&&_0x7cc557['top']-_0x3598d4<_0x34bddf['top']&&(_0x3598d4=_0x7cc557['top']-(_0x34bddf['top']+_0x14362d)));else{let _0x5abb8e=_0x7cc557['bottom']-_0x7cc557['top'],_0x59c7a5=_0x34bddf['bottom']-_0x34bddf['top'];_0x3598d4=('center'==_0x4a5dbb&&_0x5abb8e<=_0x59c7a5?_0x7cc557['top']+_0x5abb8e/0x2-_0x59c7a5/0x2:'start'==_0x4a5dbb||'center'==_0x4a5dbb&&_0x782491<0x0?_0x7cc557['top']-_0x14362d:_0x7cc557['bottom']-_0x59c7a5+_0x14362d)-_0x34bddf['top'];}if('nearest'==_0x5a6be0)_0x7cc557['left']<_0x34bddf['left']?(_0x174aa5=_0x7cc557['left']-(_0x34bddf['left']+_0x5c0d44),_0x782491>0x0&&_0x7cc557['right']>_0x34bddf['right']+_0x174aa5&&(_0x174aa5=_0x7cc557['right']-_0x34bddf['right']+_0x5c0d44)):_0x7cc557['right']>_0x34bddf['right']&&(_0x174aa5=_0x7cc557['right']-_0x34bddf['right']+_0x5c0d44,_0x782491<0x0&&_0x7cc557['left']<_0x34bddf['left']+_0x174aa5&&(_0x174aa5=_0x7cc557['left']-(_0x34bddf['left']+_0x5c0d44)));else _0x174aa5=('center'==_0x5a6be0?_0x7cc557['left']+(_0x7cc557['right']-_0x7cc557['left'])/0x2-(_0x34bddf['right']-_0x34bddf['left'])/0x2:'start'==_0x5a6be0==_0x193d71?_0x7cc557['left']-_0x5c0d44:_0x7cc557['right']-(_0x34bddf['right']-_0x34bddf['left'])+_0x5c0d44)-_0x34bddf['left'];if(_0x174aa5||_0x3598d4){if(_0x5e318a)_0x3b42d1['scrollBy'](_0x174aa5,_0x3598d4);else{let _0x1ce67d=0x0,_0x109246=0x0;if(_0x3598d4){let _0x259f51=_0x177cd5['scrollTop'];_0x177cd5['scrollTop']+=_0x3598d4/_0x52be89,_0x109246=(_0x177cd5['scrollTop']-_0x259f51)*_0x52be89;}if(_0x174aa5){let _0x50b4c2=_0x177cd5['scrollLeft'];_0x177cd5['scrollLeft']+=_0x174aa5/_0x302232,_0x1ce67d=(_0x177cd5['scrollLeft']-_0x50b4c2)*_0x302232;}_0x7cc557={'left':_0x7cc557['left']-_0x1ce67d,'top':_0x7cc557['top']-_0x109246,'right':_0x7cc557['right']-_0x1ce67d,'bottom':_0x7cc557['bottom']-_0x109246},_0x1ce67d&&Math['abs'](_0x1ce67d-_0x174aa5)<0x1&&(_0x5a6be0='nearest'),_0x109246&&Math['abs'](_0x109246-_0x3598d4)<0x1&&(_0x4a5dbb='nearest');}}if(_0x5e318a)break;(_0x7cc557['top']<_0x34bddf['top']||_0x7cc557['bottom']>_0x34bddf['bottom']||_0x7cc557['left']<_0x34bddf['left']||_0x7cc557['right']>_0x34bddf['right'])&&(_0x7cc557={'left':Math['max'](_0x7cc557['left'],_0x34bddf['left']),'right':Math['min'](_0x7cc557['right'],_0x34bddf['right']),'top':Math['max'](_0x7cc557['top'],_0x34bddf['top']),'bottom':Math['min'](_0x7cc557['bottom'],_0x34bddf['bottom'])}),_0x177cd5=_0x177cd5['assignedSlot']||_0x177cd5['parentNode'];}else{if(0xb!=_0x177cd5['nodeType'])break;_0x177cd5=_0x177cd5['host'];}}function scrollableParents(_0xa986cf){let _0x90f433,_0x1cc354,_0x62f5de=_0xa986cf['ownerDocument'];for(let _0x46d9b9=_0xa986cf['parentNode'];_0x46d9b9&&!(_0x46d9b9==_0x62f5de['body']||_0x90f433&&_0x1cc354);)if(0x1==_0x46d9b9['nodeType'])!_0x1cc354&&_0x46d9b9['scrollHeight']>_0x46d9b9['clientHeight']&&(_0x1cc354=_0x46d9b9),!_0x90f433&&_0x46d9b9['scrollWidth']>_0x46d9b9['clientWidth']&&(_0x90f433=_0x46d9b9),_0x46d9b9=_0x46d9b9['assignedSlot']||_0x46d9b9['parentNode'];else{if(0xb!=_0x46d9b9['nodeType'])break;_0x46d9b9=_0x46d9b9['host'];}return{'x':_0x90f433,'y':_0x1cc354};}class DOMSelectionState{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x4fd21c){return this['anchorNode']==_0x4fd21c['anchorNode']&&this['anchorOffset']==_0x4fd21c['anchorOffset']&&this['focusNode']==_0x4fd21c['focusNode']&&this['focusOffset']==_0x4fd21c['focusOffset'];}['setRange'](_0x2e222f){let {anchorNode:_0x46820e,focusNode:_0x113852}=_0x2e222f;this['set'](_0x46820e,Math['min'](_0x2e222f['anchorOffset'],_0x46820e?maxOffset(_0x46820e):0x0),_0x113852,Math['min'](_0x2e222f['focusOffset'],_0x113852?maxOffset(_0x113852):0x0));}['set'](_0x2e4832,_0x241a21,_0x4a3e64,_0x4a954a){this['anchorNode']=_0x2e4832,this['anchorOffset']=_0x241a21,this['focusNode']=_0x4a3e64,this['focusOffset']=_0x4a954a;}}let preventScrollSupported=null,scratchRange;function focusPreventScroll(_0x17fd0d){if(_0x17fd0d['setActive'])return _0x17fd0d['setActive']();if(preventScrollSupported)return _0x17fd0d['focus'](preventScrollSupported);let _0x461418=[];for(let _0x58070f=_0x17fd0d;_0x58070f&&(_0x461418['push'](_0x58070f,_0x58070f['scrollTop'],_0x58070f['scrollLeft']),_0x58070f!=_0x58070f['ownerDocument']);_0x58070f=_0x58070f['parentNode']);if(_0x17fd0d['focus'](null==preventScrollSupported?{get 'preventScroll'(){return preventScrollSupported={'preventScroll':!0x0},!0x0;}}:void 0x0),!preventScrollSupported){preventScrollSupported=!0x1;for(let _0x4b983e=0x0;_0x4b983e<_0x461418['length'];){let _0x2c7f46=_0x461418[_0x4b983e++],_0x261961=_0x461418[_0x4b983e++],_0x5869ff=_0x461418[_0x4b983e++];_0x2c7f46['scrollTop']!=_0x261961&&(_0x2c7f46['scrollTop']=_0x261961),_0x2c7f46['scrollLeft']!=_0x5869ff&&(_0x2c7f46['scrollLeft']=_0x5869ff);}}}function textRange(_0x22ba6f,_0x26ce76,_0x3d193f=_0x26ce76){let _0x414afc=scratchRange||(scratchRange=document['createRange']());return _0x414afc['setEnd'](_0x22ba6f,_0x3d193f),_0x414afc['setStart'](_0x22ba6f,_0x26ce76),_0x414afc;}function dispatchKey(_0x3979c1,_0x5b9d48,_0x255747,_0x434125){let _0x15f4e3={'key':_0x5b9d48,'code':_0x5b9d48,'keyCode':_0x255747,'which':_0x255747,'cancelable':!0x0};_0x434125&&({altKey:_0x15f4e3['altKey'],ctrlKey:_0x15f4e3['ctrlKey'],shiftKey:_0x15f4e3['shiftKey'],metaKey:_0x15f4e3['metaKey']}=_0x434125);let _0x331a2f=new KeyboardEvent('keydown',_0x15f4e3);_0x331a2f['synthetic']=!0x0,_0x3979c1['dispatchEvent'](_0x331a2f);let _0x2b7a27=new KeyboardEvent('keyup',_0x15f4e3);return _0x2b7a27['synthetic']=!0x0,_0x3979c1['dispatchEvent'](_0x2b7a27),_0x331a2f['defaultPrevented']||_0x2b7a27['defaultPrevented'];}function getRoot(_0x2ab6fd){for(;_0x2ab6fd;){if(_0x2ab6fd&&(0x9==_0x2ab6fd['nodeType']||0xb==_0x2ab6fd['nodeType']&&_0x2ab6fd['host']))return _0x2ab6fd;_0x2ab6fd=_0x2ab6fd['assignedSlot']||_0x2ab6fd['parentNode'];}return null;}function clearAttributes(_0x1e9b3b){for(;_0x1e9b3b['attributes']['length'];)_0x1e9b3b['removeAttributeNode'](_0x1e9b3b['attributes'][0x0]);}function atElementStart(_0x55dc39,_0x52fa8c){let _0x19282b=_0x52fa8c['focusNode'],_0x559d1f=_0x52fa8c['focusOffset'];if(!_0x19282b||_0x52fa8c['anchorNode']!=_0x19282b||_0x52fa8c['anchorOffset']!=_0x559d1f)return!0x1;for(_0x559d1f=Math['min'](_0x559d1f,maxOffset(_0x19282b));;)if(_0x559d1f){if(0x1!=_0x19282b['nodeType'])return!0x1;let _0x2c301c=_0x19282b['childNodes'][_0x559d1f-0x1];'false'==_0x2c301c['contentEditable']?_0x559d1f--:(_0x19282b=_0x2c301c,_0x559d1f=maxOffset(_0x19282b));}else{if(_0x19282b==_0x55dc39)return!0x0;_0x559d1f=_0x54b1dd(_0x19282b),_0x19282b=_0x19282b['parentNode'];}}function isScrolledToBottom(_0x352f8f){return _0x352f8f['scrollTop']>Math['max'](0x1,_0x352f8f['scrollHeight']-_0x352f8f['clientHeight']-0x4);}function textNodeBefore(_0x18211b,_0x428611){for(let _0x40c8d3=_0x18211b,_0x3b6b6c=_0x428611;;){if(0x3==_0x40c8d3['nodeType']&&_0x3b6b6c>0x0)return{'node':_0x40c8d3,'offset':_0x3b6b6c};if(0x1==_0x40c8d3['nodeType']&&_0x3b6b6c>0x0){if('false'==_0x40c8d3['contentEditable'])return null;_0x40c8d3=_0x40c8d3['childNodes'][_0x3b6b6c-0x1],_0x3b6b6c=maxOffset(_0x40c8d3);}else{if(!_0x40c8d3['parentNode']||isBlockElement(_0x40c8d3))return null;_0x3b6b6c=_0x54b1dd(_0x40c8d3),_0x40c8d3=_0x40c8d3['parentNode'];}}}function textNodeAfter(_0x309a6a,_0x1cf563){for(let _0x3e0df5=_0x309a6a,_0x1e7fc5=_0x1cf563;;){if(0x3==_0x3e0df5['nodeType']&&_0x1e7fc5<_0x3e0df5['nodeValue']['length'])return{'node':_0x3e0df5,'offset':_0x1e7fc5};if(0x1==_0x3e0df5['nodeType']&&_0x1e7fc5<_0x3e0df5['childNodes']['length']){if('false'==_0x3e0df5['contentEditable'])return null;_0x3e0df5=_0x3e0df5['childNodes'][_0x1e7fc5],_0x1e7fc5=0x0;}else{if(!_0x3e0df5['parentNode']||isBlockElement(_0x3e0df5))return null;_0x1e7fc5=_0x54b1dd(_0x3e0df5)+0x1,_0x3e0df5=_0x3e0df5['parentNode'];}}}_0x394245['safari']&&_0x394245['safari_version']>=0x1a&&(preventScrollSupported=!0x1);class _0x22b6c3{constructor(_0x40d349,_0x59fdda,_0x5b7fcb=!0x0){this['node']=_0x40d349,this['offset']=_0x59fdda,this['precise']=_0x5b7fcb;}static['before'](_0x2670a9,_0x52960e){return new _0x22b6c3(_0x2670a9['parentNode'],_0x54b1dd(_0x2670a9),_0x52960e);}static['after'](_0x54467d,_0xaad9ca){return new _0x22b6c3(_0x54467d['parentNode'],_0x54b1dd(_0x54467d)+0x1,_0xaad9ca);}}const _0x2802e7=[];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'](_0x100b35){let _0x569b2e=this['posAtStart'];for(let _0x1f2869 of this['children']){if(_0x1f2869==_0x100b35)return _0x569b2e;_0x569b2e+=_0x1f2869['length']+_0x1f2869['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x3eaf6e){return this['posBefore'](_0x3eaf6e)+_0x3eaf6e['length'];}['sync'](_0x1a8114,_0x5d4830){if(0x2&this['flags']){let _0x4a37c9,_0x5aec62=this['dom'],_0x2150c5=null;for(let _0x2c036b of this['children']){if(0x7&_0x2c036b['flags']){if(!_0x2c036b['dom']&&(_0x4a37c9=_0x2150c5?_0x2150c5['nextSibling']:_0x5aec62['firstChild'])){let _0x223cd8=ContentView['get'](_0x4a37c9);(!_0x223cd8||!_0x223cd8['parent']&&_0x223cd8['canReuseDOM'](_0x2c036b))&&_0x2c036b['reuseDOM'](_0x4a37c9);}_0x2c036b['sync'](_0x1a8114,_0x5d4830),_0x2c036b['flags']&=-0x8;}if(_0x4a37c9=_0x2150c5?_0x2150c5['nextSibling']:_0x5aec62['firstChild'],_0x5d4830&&!_0x5d4830['written']&&_0x5d4830['node']==_0x5aec62&&_0x4a37c9!=_0x2c036b['dom']&&(_0x5d4830['written']=!0x0),_0x2c036b['dom']['parentNode']==_0x5aec62){for(;_0x4a37c9&&_0x4a37c9!=_0x2c036b['dom'];)_0x4a37c9=_0x592ced(_0x4a37c9);}else _0x5aec62['insertBefore'](_0x2c036b['dom'],_0x4a37c9);_0x2150c5=_0x2c036b['dom'];}for(_0x4a37c9=_0x2150c5?_0x2150c5['nextSibling']:_0x5aec62['firstChild'],_0x4a37c9&&_0x5d4830&&_0x5d4830['node']==_0x5aec62&&(_0x5d4830['written']=!0x0);_0x4a37c9;)_0x4a37c9=_0x592ced(_0x4a37c9);}else{if(0x1&this['flags']){for(let _0x25048d of this['children'])0x7&_0x25048d['flags']&&(_0x25048d['sync'](_0x1a8114,_0x5d4830),_0x25048d['flags']&=-0x8);}}}['reuseDOM'](_0xebb300){}['localPosFromDOM'](_0x4da911,_0x2c314e){let _0x5641d3;if(_0x4da911==this['dom'])_0x5641d3=this['dom']['childNodes'][_0x2c314e];else{let _0x2cfed=0x0==maxOffset(_0x4da911)?0x0:0x0==_0x2c314e?-0x1:0x1;for(;;){let _0x5d0aa4=_0x4da911['parentNode'];if(_0x5d0aa4==this['dom'])break;0x0==_0x2cfed&&_0x5d0aa4['firstChild']!=_0x5d0aa4['lastChild']&&(_0x2cfed=_0x4da911==_0x5d0aa4['firstChild']?-0x1:0x1),_0x4da911=_0x5d0aa4;}_0x5641d3=_0x2cfed<0x0?_0x4da911:_0x4da911['nextSibling'];}if(_0x5641d3==this['dom']['firstChild'])return 0x0;for(;_0x5641d3&&!ContentView['get'](_0x5641d3);)_0x5641d3=_0x5641d3['nextSibling'];if(!_0x5641d3)return this['length'];for(let _0x37e097=0x0,_0x1e493e=0x0;;_0x37e097++){let _0x167ca0=this['children'][_0x37e097];if(_0x167ca0['dom']==_0x5641d3)return _0x1e493e;_0x1e493e+=_0x167ca0['length']+_0x167ca0['breakAfter'];}}['domBoundsAround'](_0x79af1e,_0x250c06,_0x4ed024=0x0){let _0x5d0ff3=-0x1,_0x5ace6a=-0x1,_0xbd8dbe=-0x1,_0x481d71=-0x1;for(let _0x36d090=0x0,_0x567a52=_0x4ed024,_0x4be115=_0x4ed024;_0x36d090<this['children']['length'];_0x36d090++){let _0x53fdb9=this['children'][_0x36d090],_0x59bdce=_0x567a52+_0x53fdb9['length'];if(_0x567a52<_0x79af1e&&_0x59bdce>_0x250c06)return _0x53fdb9['domBoundsAround'](_0x79af1e,_0x250c06,_0x567a52);if(_0x59bdce>=_0x79af1e&&-0x1==_0x5d0ff3&&(_0x5d0ff3=_0x36d090,_0x5ace6a=_0x567a52),_0x567a52>_0x250c06&&_0x53fdb9['dom']['parentNode']==this['dom']){_0xbd8dbe=_0x36d090,_0x481d71=_0x4be115;break;}_0x4be115=_0x59bdce,_0x567a52=_0x59bdce+_0x53fdb9['breakAfter'];}return{'from':_0x5ace6a,'to':_0x481d71<0x0?_0x4ed024+this['length']:_0x481d71,'startDOM':(_0x5d0ff3?this['children'][_0x5d0ff3-0x1]['dom']['nextSibling']:null)||this['dom']['firstChild'],'endDOM':_0xbd8dbe<this['children']['length']&&_0xbd8dbe>=0x0?this['children'][_0xbd8dbe]['dom']:null};}['markDirty'](_0x570daf=!0x1){this['flags']|=0x2,this['markParentsDirty'](_0x570daf);}['markParentsDirty'](_0x29f658){for(let _0x4eece1=this['parent'];_0x4eece1;_0x4eece1=_0x4eece1['parent']){if(_0x29f658&&(_0x4eece1['flags']|=0x2),0x1&_0x4eece1['flags'])return;_0x4eece1['flags']|=0x1,_0x29f658=!0x1;}}['setParent'](_0x2218af){this['parent']!=_0x2218af&&(this['parent']=_0x2218af,0x7&this['flags']&&this['markParentsDirty'](!0x0));}['setDOM'](_0xb151bd){this['dom']!=_0xb151bd&&(this['dom']&&(this['dom']['cmView']=null),this['dom']=_0xb151bd,_0xb151bd['cmView']=this);}get['rootView'](){for(let _0x120ddc=this;;){let _0x408eaf=_0x120ddc['parent'];if(!_0x408eaf)return _0x120ddc;_0x120ddc=_0x408eaf;}}['replaceChildren'](_0x4ca6da,_0x1acb30,_0x6de072=_0x2802e7){this['markDirty']();for(let _0x55e745=_0x4ca6da;_0x55e745<_0x1acb30;_0x55e745++){let _0xfba38d=this['children'][_0x55e745];_0xfba38d['parent']==this&&_0x6de072['indexOf'](_0xfba38d)<0x0&&_0xfba38d['destroy']();}_0x6de072['length']<0xfa?this['children']['splice'](_0x4ca6da,_0x1acb30-_0x4ca6da,..._0x6de072):this['children']=[]['concat'](this['children']['slice'](0x0,_0x4ca6da),_0x6de072,this['children']['slice'](_0x1acb30));for(let _0x2a606f=0x0;_0x2a606f<_0x6de072['length'];_0x2a606f++)_0x6de072[_0x2a606f]['setParent'](this);}['ignoreMutation'](_0x5343e1){return!0x1;}['ignoreEvent'](_0x220d35){return!0x1;}['childCursor'](_0x51e756=this['length']){return new _0x3c3d70(this['children'],_0x51e756,this['children']['length']);}['childPos'](_0x4c7ca7,_0x2d2eda=0x1){return this['childCursor']()['findPos'](_0x4c7ca7,_0x2d2eda);}['toString'](){let _0x5bf815=this['constructor']['name']['replace']('View','');return _0x5bf815+(this['children']['length']?'('+this['children']['join']()+')':this['length']?'['+('Text'==_0x5bf815?this['text']:this['length'])+']':'')+(this['breakAfter']?'#':'');}static['get'](_0x309ce9){return _0x309ce9['cmView'];}get['isEditable'](){return!0x0;}get['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['merge'](_0x232957,_0x57a886,_0x491dbd,_0x3447a3,_0x4fc8b6,_0x39f175){return!0x1;}['become'](_0x39b32f){return!0x1;}['canReuseDOM'](_0x5f3b9a){return _0x5f3b9a['constructor']==this['constructor']&&!(0x8&(this['flags']|_0x5f3b9a['flags']));}['getSide'](){return 0x0;}['destroy'](){for(let _0x15975a of this['children'])_0x15975a['parent']==this&&_0x15975a['destroy']();this['parent']=null;}}function _0x592ced(_0x4705b6){let _0x3dd6aa=_0x4705b6['nextSibling'];return _0x4705b6['parentNode']['removeChild'](_0x4705b6),_0x3dd6aa;}ContentView['prototype']['breakAfter']=0x0;class _0x3c3d70{constructor(_0x5a033b,_0x348c92,_0x507e47){this['children']=_0x5a033b,this['pos']=_0x348c92,this['i']=_0x507e47,this['off']=0x0;}['findPos'](_0x1103d2,_0x1048bf=0x1){for(;;){if(_0x1103d2>this['pos']||_0x1103d2==this['pos']&&(_0x1048bf>0x0||0x0==this['i']||this['children'][this['i']-0x1]['breakAfter']))return this['off']=_0x1103d2-this['pos'],this;let _0x9fce0d=this['children'][--this['i']];this['pos']-=_0x9fce0d['length']+_0x9fce0d['breakAfter'];}}}function _0x2dc570(_0x671cdb,_0x172cf8,_0x28d427,_0x966707,_0x17e7f4,_0xbee07d,_0x57b023,_0x3ccd36,_0x3f6811){let {children:_0x277afd}=_0x671cdb,_0x30f2e1=_0x277afd['length']?_0x277afd[_0x172cf8]:null,_0xa3114f=_0xbee07d['length']?_0xbee07d[_0xbee07d['length']-0x1]:null,_0x522231=_0xa3114f?_0xa3114f['breakAfter']:_0x57b023;if(!(_0x172cf8==_0x966707&&_0x30f2e1&&!_0x57b023&&!_0x522231&&_0xbee07d['length']<0x2&&_0x30f2e1['merge'](_0x28d427,_0x17e7f4,_0xbee07d['length']?_0xa3114f:null,0x0==_0x28d427,_0x3ccd36,_0x3f6811))){if(_0x966707<_0x277afd['length']){let _0x5953da=_0x277afd[_0x966707];_0x5953da&&(_0x17e7f4<_0x5953da['length']||_0x5953da['breakAfter']&&(null==_0xa3114f?void 0x0:_0xa3114f['breakAfter']))?(_0x172cf8==_0x966707&&(_0x5953da=_0x5953da['split'](_0x17e7f4),_0x17e7f4=0x0),!_0x522231&&_0xa3114f&&_0x5953da['merge'](0x0,_0x17e7f4,_0xa3114f,!0x0,0x0,_0x3f6811)?_0xbee07d[_0xbee07d['length']-0x1]=_0x5953da:((_0x17e7f4||_0x5953da['children']['length']&&!_0x5953da['children'][0x0]['length'])&&_0x5953da['merge'](0x0,_0x17e7f4,null,!0x1,0x0,_0x3f6811),_0xbee07d['push'](_0x5953da))):(null==_0x5953da?void 0x0:_0x5953da['breakAfter'])&&(_0xa3114f?_0xa3114f['breakAfter']=0x1:_0x57b023=0x1),_0x966707++;}for(_0x30f2e1&&(_0x30f2e1['breakAfter']=_0x57b023,_0x28d427>0x0&&(!_0x57b023&&_0xbee07d['length']&&_0x30f2e1['merge'](_0x28d427,_0x30f2e1['length'],_0xbee07d[0x0],!0x1,_0x3ccd36,0x0)?_0x30f2e1['breakAfter']=_0xbee07d['shift']()['breakAfter']:(_0x28d427<_0x30f2e1['length']||_0x30f2e1['children']['length']&&0x0==_0x30f2e1['children'][_0x30f2e1['children']['length']-0x1]['length'])&&_0x30f2e1['merge'](_0x28d427,_0x30f2e1['length'],null,!0x1,_0x3ccd36,0x0),_0x172cf8++));_0x172cf8<_0x966707&&_0xbee07d['length'];)if(_0x277afd[_0x966707-0x1]['become'](_0xbee07d[_0xbee07d['length']-0x1]))_0x966707--,_0xbee07d['pop'](),_0x3f6811=_0xbee07d['length']?0x0:_0x3ccd36;else{if(!_0x277afd[_0x172cf8]['become'](_0xbee07d[0x0]))break;_0x172cf8++,_0xbee07d['shift'](),_0x3ccd36=_0xbee07d['length']?0x0:_0x3f6811;}!_0xbee07d['length']&&_0x172cf8&&_0x966707<_0x277afd['length']&&!_0x277afd[_0x172cf8-0x1]['breakAfter']&&_0x277afd[_0x966707]['merge'](0x0,0x0,_0x277afd[_0x172cf8-0x1],!0x1,_0x3ccd36,_0x3f6811)&&_0x172cf8--,(_0x172cf8<_0x966707||_0xbee07d['length'])&&_0x671cdb['replaceChildren'](_0x172cf8,_0x966707,_0xbee07d);}}function mergeChildrenInto(_0x4bb58b,_0x2a16cd,_0x1d15bb,_0x1f7255,_0x17bc3d,_0x44ede9){let _0x52da7b=_0x4bb58b['childCursor'](),{i:_0x299192,off:_0x372ca8}=_0x52da7b['findPos'](_0x1d15bb,0x1),{i:_0x588624,off:_0x52718d}=_0x52da7b['findPos'](_0x2a16cd,-0x1),_0x357764=_0x2a16cd-_0x1d15bb;for(let _0x2538f0 of _0x1f7255)_0x357764+=_0x2538f0['length'];_0x4bb58b['length']+=_0x357764,_0x2dc570(_0x4bb58b,_0x588624,_0x52718d,_0x299192,_0x372ca8,_0x1f7255,0x0,_0x17bc3d,_0x44ede9);}const _0x44ae12=0x100;class TextView extends ContentView{constructor(_0x2f53fa){super(),this['text']=_0x2f53fa;}get['length'](){return this['text']['length'];}['createDOM'](_0x34dff0){this['setDOM'](_0x34dff0||document['createTextNode'](this['text']));}['sync'](_0x585927,_0x22eb15){this['dom']||this['createDOM'](),this['dom']['nodeValue']!=this['text']&&(_0x22eb15&&_0x22eb15['node']==this['dom']&&(_0x22eb15['written']=!0x0),this['dom']['nodeValue']=this['text']);}['reuseDOM'](_0x39e7da){0x3==_0x39e7da['nodeType']&&this['createDOM'](_0x39e7da);}['merge'](_0x3d8726,_0x26662e,_0x4a0a17){return!(0x8&this['flags']||_0x4a0a17&&(!(_0x4a0a17 instanceof TextView)||this['length']-(_0x26662e-_0x3d8726)+_0x4a0a17['length']>_0x44ae12||0x8&_0x4a0a17['flags']))&&(this['text']=this['text']['slice'](0x0,_0x3d8726)+(_0x4a0a17?_0x4a0a17['text']:'')+this['text']['slice'](_0x26662e),this['markDirty'](),!0x0);}['split'](_0x1c86bd){let _0x51598e=new TextView(this['text']['slice'](_0x1c86bd));return this['text']=this['text']['slice'](0x0,_0x1c86bd),this['markDirty'](),_0x51598e['flags']|=0x8&this['flags'],_0x51598e;}['localPosFromDOM'](_0x231392,_0x41528d){return _0x231392==this['dom']?_0x41528d:_0x41528d?this['text']['length']:0x0;}['domAtPos'](_0x4e77d8){return new _0x22b6c3(this['dom'],_0x4e77d8);}['domBoundsAround'](_0x402e97,_0x13c75a,_0x45a365){return{'from':_0x45a365,'to':_0x45a365+this['length'],'startDOM':this['dom'],'endDOM':this['dom']['nextSibling']};}['coordsAt'](_0x3595e7,_0x4013cb){return textCoords(this['dom'],_0x3595e7,_0x4013cb);}}class _0x3a3d3f extends ContentView{constructor(_0x1d1be1,_0x16ebfa=[],_0x4380bd=0x0){super(),this['mark']=_0x1d1be1,this['children']=_0x16ebfa,this['length']=_0x4380bd;for(let _0x1a79a9 of _0x16ebfa)_0x1a79a9['setParent'](this);}['setAttrs'](_0x3263a9){if(clearAttributes(_0x3263a9),this['mark']['class']&&(_0x3263a9['className']=this['mark']['class']),this['mark']['attrs']){for(let _0x41e3c7 in this['mark']['attrs'])_0x3263a9['setAttribute'](_0x41e3c7,this['mark']['attrs'][_0x41e3c7]);}return _0x3263a9;}['canReuseDOM'](_0x4191cb){return super['canReuseDOM'](_0x4191cb)&&!(0x8&(this['flags']|_0x4191cb['flags']));}['reuseDOM'](_0x37e641){_0x37e641['nodeName']==this['mark']['tagName']['toUpperCase']()&&(this['setDOM'](_0x37e641),this['flags']|=0x6);}['sync'](_0xfdb122,_0x2e0c5d){this['dom']?0x4&this['flags']&&this['setAttrs'](this['dom']):this['setDOM'](this['setAttrs'](document['createElement'](this['mark']['tagName']))),super['sync'](_0xfdb122,_0x2e0c5d);}['merge'](_0xd1ddc1,_0x4ad91f,_0x2124c3,_0x3cbd89,_0x259d1d,_0x538219){return(!_0x2124c3||!(!(_0x2124c3 instanceof _0x3a3d3f&&_0x2124c3['mark']['eq'](this['mark']))||_0xd1ddc1&&_0x259d1d<=0x0||_0x4ad91f<this['length']&&_0x538219<=0x0))&&(mergeChildrenInto(this,_0xd1ddc1,_0x4ad91f,_0x2124c3?_0x2124c3['children']['slice']():[],_0x259d1d-0x1,_0x538219-0x1),this['markDirty'](),!0x0);}['split'](_0x46e2b5){let _0x250665=[],_0x24847e=0x0,_0x4783c3=-0x1,_0x2dfffb=0x0;for(let _0x11a2fe of this['children']){let _0x116b95=_0x24847e+_0x11a2fe['length'];_0x116b95>_0x46e2b5&&_0x250665['push'](_0x24847e<_0x46e2b5?_0x11a2fe['split'](_0x46e2b5-_0x24847e):_0x11a2fe),_0x4783c3<0x0&&_0x24847e>=_0x46e2b5&&(_0x4783c3=_0x2dfffb),_0x24847e=_0x116b95,_0x2dfffb++;}let _0x46b58f=this['length']-_0x46e2b5;return this['length']=_0x46e2b5,_0x4783c3>-0x1&&(this['children']['length']=_0x4783c3,this['markDirty']()),new _0x3a3d3f(this['mark'],_0x250665,_0x46b58f);}['domAtPos'](_0x8709c){return inlineDOMAtPos(this,_0x8709c);}['coordsAt'](_0x28796a,_0x1f9769){return _0x408350(this,_0x28796a,_0x1f9769);}}function textCoords(_0x2c0c91,_0x1c4d66,_0x31b58d){let _0x325172=_0x2c0c91['nodeValue']['length'];_0x1c4d66>_0x325172&&(_0x1c4d66=_0x325172);let _0xa9edd6=_0x1c4d66,_0x133cd3=_0x1c4d66,_0x1da9b0=0x0;0x0==_0x1c4d66&&_0x31b58d<0x0||_0x1c4d66==_0x325172&&_0x31b58d>=0x0?_0x394245['chrome']||_0x394245['gecko']||(_0x1c4d66?(_0xa9edd6--,_0x1da9b0=0x1):_0x133cd3<_0x325172&&(_0x133cd3++,_0x1da9b0=-0x1)):_0x31b58d<0x0?_0xa9edd6--:_0x133cd3<_0x325172&&_0x133cd3++;let _0x217d67=textRange(_0x2c0c91,_0xa9edd6,_0x133cd3)['getClientRects']();if(!_0x217d67['length'])return null;let _0x3e9e4f=_0x217d67[(_0x1da9b0?_0x1da9b0<0x0:_0x31b58d>=0x0)?0x0:_0x217d67['length']-0x1];return _0x394245['safari']&&!_0x1da9b0&&0x0==_0x3e9e4f['width']&&(_0x3e9e4f=Array['prototype']['find']['call'](_0x217d67,_0x5c227b=>_0x5c227b['width'])||_0x3e9e4f),_0x1da9b0?flattenRect(_0x3e9e4f,_0x1da9b0<0x0):_0x3e9e4f||null;}class WidgetView extends ContentView{static['create'](_0x5d4fb4,_0x369627,_0x43d040){return new WidgetView(_0x5d4fb4,_0x369627,_0x43d040);}constructor(_0x18880f,_0x21e42a,_0x101518){super(),this['widget']=_0x18880f,this['length']=_0x21e42a,this['side']=_0x101518,this['prevWidget']=null;}['split'](_0x2f7ce1){let _0x23acab=WidgetView['create'](this['widget'],this['length']-_0x2f7ce1,this['side']);return this['length']-=_0x2f7ce1,_0x23acab;}['sync'](_0x58db47){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x58db47)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x58db47)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}['getSide'](){return this['side'];}['merge'](_0x5a1263,_0x4d9297,_0x4e2d82,_0x253ab5,_0x9666e6,_0x548c18){return!(_0x4e2d82&&(!(_0x4e2d82 instanceof WidgetView&&this['widget']['compare'](_0x4e2d82['widget']))||_0x5a1263>0x0&&_0x9666e6<=0x0||_0x4d9297<this['length']&&_0x548c18<=0x0))&&(this['length']=_0x5a1263+(_0x4e2d82?_0x4e2d82['length']:0x0)+(this['length']-_0x4d9297),!0x0);}['become'](_0x259087){return _0x259087 instanceof WidgetView&&_0x259087['side']==this['side']&&this['widget']['constructor']==_0x259087['widget']['constructor']&&(this['widget']['compare'](_0x259087['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x259087['widget'],this['length']=_0x259087['length'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x53256d){return this['widget']['ignoreEvent'](_0x53256d);}get['overrideDOMText'](){if(0x0==this['length'])return Text['empty'];let _0x32de25=this;for(;_0x32de25['parent'];)_0x32de25=_0x32de25['parent'];let {view:_0x2c6b9e}=_0x32de25,_0x5cdb2b=_0x2c6b9e&&_0x2c6b9e['state']['doc'],_0x40c198=this['posAtStart'];return _0x5cdb2b?_0x5cdb2b['slice'](_0x40c198,_0x40c198+this['length']):Text['empty'];}['domAtPos'](_0x55f03e){return(this['length']?0x0==_0x55f03e:this['side']>0x0)?_0x22b6c3['before'](this['dom']):_0x22b6c3['after'](this['dom'],_0x55f03e==this['length']);}['domBoundsAround'](){return null;}['coordsAt'](_0x1bad9a,_0x3c786d){let _0x23f790=this['widget']['coordsAt'](this['dom'],_0x1bad9a,_0x3c786d);if(_0x23f790)return _0x23f790;let _0x14cfb3=this['dom']['getClientRects'](),_0x1e49c3=null;if(!_0x14cfb3['length'])return null;let _0x4b9f89=this['side']?this['side']<0x0:_0x1bad9a>0x0;for(let _0x1f422e=_0x4b9f89?_0x14cfb3['length']-0x1:0x0;_0x1e49c3=_0x14cfb3[_0x1f422e],!(_0x1bad9a>0x0?0x0==_0x1f422e:_0x1f422e==_0x14cfb3['length']-0x1||_0x1e49c3['top']<_0x1e49c3['bottom']);_0x1f422e+=_0x4b9f89?-0x1:0x1);return flattenRect(_0x1e49c3,!_0x4b9f89);}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(_0x3e079e){super(),this['side']=_0x3e079e;}get['length'](){return 0x0;}['merge'](){return!0x1;}['become'](_0x40df05){return _0x40df05 instanceof WidgetBufferView&&_0x40df05['side']==this['side'];}['split'](){return new WidgetBufferView(this['side']);}['sync'](){if(!this['dom']){let _0x57b892=document['createElement']('img');_0x57b892['className']='cm-widgetBuffer',_0x57b892['setAttribute']('aria-hidden','true'),this['setDOM'](_0x57b892);}}['getSide'](){return this['side'];}['domAtPos'](_0x1ef83e){return this['side']>0x0?_0x22b6c3['before'](this['dom']):_0x22b6c3['after'](this['dom']);}['localPosFromDOM'](){return 0x0;}['domBoundsAround'](){return null;}['coordsAt'](_0x420da4){return this['dom']['getBoundingClientRect']();}get['overrideDOMText'](){return Text['empty'];}get['isHidden'](){return!0x0;}}function inlineDOMAtPos(_0x431d83,_0x12552f){let _0x2bd4d8=_0x431d83['dom'],{children:_0x20634a}=_0x431d83,_0xcfb5e1=0x0;for(let _0x485e6=0x0;_0xcfb5e1<_0x20634a['length'];_0xcfb5e1++){let _0x39d9c7=_0x20634a[_0xcfb5e1],_0x1a4c28=_0x485e6+_0x39d9c7['length'];if(!(_0x1a4c28==_0x485e6&&_0x39d9c7['getSide']()<=0x0)){if(_0x12552f>_0x485e6&&_0x12552f<_0x1a4c28&&_0x39d9c7['dom']['parentNode']==_0x2bd4d8)return _0x39d9c7['domAtPos'](_0x12552f-_0x485e6);if(_0x12552f<=_0x485e6)break;_0x485e6=_0x1a4c28;}}for(let _0x52faaa=_0xcfb5e1;_0x52faaa>0x0;_0x52faaa--){let _0x1430ea=_0x20634a[_0x52faaa-0x1];if(_0x1430ea['dom']['parentNode']==_0x2bd4d8)return _0x1430ea['domAtPos'](_0x1430ea['length']);}for(let _0x1b1dac=_0xcfb5e1;_0x1b1dac<_0x20634a['length'];_0x1b1dac++){let _0x57310c=_0x20634a[_0x1b1dac];if(_0x57310c['dom']['parentNode']==_0x2bd4d8)return _0x57310c['domAtPos'](0x0);}return new _0x22b6c3(_0x2bd4d8,0x0);}function joinInlineInto(_0x1a0ee5,_0x5410bd,_0x41d034){let _0x58bd89,{children:_0x194f4d}=_0x1a0ee5;_0x41d034>0x0&&_0x5410bd instanceof _0x3a3d3f&&_0x194f4d['length']&&(_0x58bd89=_0x194f4d[_0x194f4d['length']-0x1])instanceof _0x3a3d3f&&_0x58bd89['mark']['eq'](_0x5410bd['mark'])?joinInlineInto(_0x58bd89,_0x5410bd['children'][0x0],_0x41d034-0x1):(_0x194f4d['push'](_0x5410bd),_0x5410bd['setParent'](_0x1a0ee5)),_0x1a0ee5['length']+=_0x5410bd['length'];}function _0x408350(_0x7f4fe2,_0x34da19,_0x218f7b){let _0x5921a6=null,_0x3d0e48=-0x1,_0x43cdfe=null,_0x4a032b=-0x1;!function _0xdb57b5(_0x55169a,_0x122988){for(let _0x3a7ad4=0x0,_0x4cca28=0x0;_0x3a7ad4<_0x55169a['children']['length']&&_0x4cca28<=_0x122988;_0x3a7ad4++){let _0x1fb6ca=_0x55169a['children'][_0x3a7ad4],_0x26c1eb=_0x4cca28+_0x1fb6ca['length'];_0x26c1eb>=_0x122988&&(_0x1fb6ca['children']['length']?_0xdb57b5(_0x1fb6ca,_0x122988-_0x4cca28):(!_0x43cdfe||_0x43cdfe['isHidden']&&(_0x218f7b>0x0||_0x45ee2c(_0x43cdfe,_0x1fb6ca)))&&(_0x26c1eb>_0x122988||_0x4cca28==_0x26c1eb&&_0x1fb6ca['getSide']()>0x0)?(_0x43cdfe=_0x1fb6ca,_0x4a032b=_0x122988-_0x4cca28):(_0x4cca28<_0x122988||_0x4cca28==_0x26c1eb&&_0x1fb6ca['getSide']()<0x0&&!_0x1fb6ca['isHidden'])&&(_0x5921a6=_0x1fb6ca,_0x3d0e48=_0x122988-_0x4cca28)),_0x4cca28=_0x26c1eb;}}(_0x7f4fe2,_0x34da19);let _0x248cdb=(_0x218f7b<0x0?_0x5921a6:_0x43cdfe)||_0x5921a6||_0x43cdfe;return _0x248cdb?_0x248cdb['coordsAt'](Math['max'](0x0,_0x248cdb==_0x5921a6?_0x3d0e48:_0x4a032b),_0x218f7b):fallbackRect(_0x7f4fe2);}function fallbackRect(_0x1d534e){let _0x2f7ab1=_0x1d534e['dom']['lastChild'];if(!_0x2f7ab1)return _0x1d534e['dom']['getBoundingClientRect']();let _0x108385=clientRectsFor(_0x2f7ab1);return _0x108385[_0x108385['length']-0x1]||null;}function _0x45ee2c(_0x48de7a,_0x301137){let _0x1f93c1=_0x48de7a['coordsAt'](0x0,0x1),_0x5f2ca3=_0x301137['coordsAt'](0x0,0x1);return _0x1f93c1&&_0x5f2ca3&&_0x5f2ca3['top']<_0x1f93c1['bottom'];}function combineAttrs(_0x475b2c,_0x35c977){for(let _0xebfd7d in _0x475b2c)'class'==_0xebfd7d&&_0x35c977['class']?_0x35c977['class']+='\x20'+_0x475b2c['class']:'style'==_0xebfd7d&&_0x35c977['style']?_0x35c977['style']+=';'+_0x475b2c['style']:_0x35c977[_0xebfd7d]=_0x475b2c[_0xebfd7d];return _0x35c977;}TextView['prototype']['children']=WidgetView['prototype']['children']=WidgetBufferView['prototype']['children']=_0x2802e7;const noAttrs$1=Object['create'](null);function attrsEq(_0x2b59ee,_0x1c96f8,_0x58e8a5){if(_0x2b59ee==_0x1c96f8)return!0x0;_0x2b59ee||(_0x2b59ee=noAttrs$1),_0x1c96f8||(_0x1c96f8=noAttrs$1);let _0x2420e1=Object['keys'](_0x2b59ee),_0x42e59e=Object['keys'](_0x1c96f8);if(_0x2420e1['length']-(_0x58e8a5&&_0x2420e1['indexOf'](_0x58e8a5)>-0x1?0x1:0x0)!=_0x42e59e['length']-(_0x58e8a5&&_0x42e59e['indexOf'](_0x58e8a5)>-0x1?0x1:0x0))return!0x1;for(let _0x3fc22c of _0x2420e1)if(_0x3fc22c!=_0x58e8a5&&(-0x1==_0x42e59e['indexOf'](_0x3fc22c)||_0x2b59ee[_0x3fc22c]!==_0x1c96f8[_0x3fc22c]))return!0x1;return!0x0;}function updateAttrs(_0x28e242,_0x2272da,_0x3c8ca9){let _0x480e12=!0x1;if(_0x2272da){for(let _0x443cba in _0x2272da)_0x3c8ca9&&_0x443cba in _0x3c8ca9||(_0x480e12=!0x0,'style'==_0x443cba?_0x28e242['style']['cssText']='':_0x28e242['removeAttribute'](_0x443cba));}if(_0x3c8ca9){for(let _0x270692 in _0x3c8ca9)_0x2272da&&_0x2272da[_0x270692]==_0x3c8ca9[_0x270692]||(_0x480e12=!0x0,'style'==_0x270692?_0x28e242['style']['cssText']=_0x3c8ca9[_0x270692]:_0x28e242['setAttribute'](_0x270692,_0x3c8ca9[_0x270692]));}return _0x480e12;}function getAttrs$1(_0x45c131){let _0x3a8224=Object['create'](null);for(let _0x241f5a=0x0;_0x241f5a<_0x45c131['attributes']['length'];_0x241f5a++){let _0x3caa1f=_0x45c131['attributes'][_0x241f5a];_0x3a8224[_0x3caa1f['name']]=_0x3caa1f['value'];}return _0x3a8224;}class WidgetType{['eq'](_0x275462){return!0x1;}['updateDOM'](_0x343662,_0x299c73){return!0x1;}['compare'](_0x11651e){return this==_0x11651e||this['constructor']==_0x11651e['constructor']&&this['eq'](_0x11651e);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0x3e7ea2){return!0x0;}['coordsAt'](_0x27f7ca,_0x3e3a8b,_0x281f14){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0x5db639){}}var _0x533a79=function(_0x5341d2){return _0x5341d2[_0x5341d2['Text']=0x0]='Text',_0x5341d2[_0x5341d2['WidgetBefore']=0x1]='WidgetBefore',_0x5341d2[_0x5341d2['WidgetAfter']=0x2]='WidgetAfter',_0x5341d2[_0x5341d2['WidgetRange']=0x3]='WidgetRange',_0x5341d2;}(_0x533a79||(_0x533a79={}));class Decoration extends _0x5aecfe{constructor(_0x5d61b0,_0x49e28a,_0x521263,_0x1dbe59){super(),this['startSide']=_0x5d61b0,this['endSide']=_0x49e28a,this['widget']=_0x521263,this['spec']=_0x1dbe59;}get['heightRelevant'](){return!0x1;}static['mark'](_0x2ab66e){return new MarkDecoration(_0x2ab66e);}static['widget'](_0x5d9544){let _0x17241f=Math['max'](-0x2710,Math['min'](0x2710,_0x5d9544['side']||0x0)),_0x2fc5f3=!!_0x5d9544['block'];return _0x17241f+=_0x2fc5f3&&!_0x5d9544['inlineOrder']?_0x17241f>0x0?0x11e1a300:-0x17d78400:_0x17241f>0x0?0x5f5e100:-0x5f5e100,new PointDecoration(_0x5d9544,_0x17241f,_0x17241f,_0x2fc5f3,_0x5d9544['widget']||null,!0x1);}static['replace'](_0x290f45){let _0x5577db,_0x2e9f9a,_0x230bf0=!!_0x290f45['block'];if(_0x290f45['isBlockGap'])_0x5577db=-0x1dcd6500,_0x2e9f9a=0x17d78400;else{let {start:_0x4cd040,end:_0x2f5ecd}=getInclusive(_0x290f45,_0x230bf0);_0x5577db=(_0x4cd040?_0x230bf0?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x2e9f9a=0x1+(_0x2f5ecd?_0x230bf0?0xbebc200:0x1:-0x23c34600);}return new PointDecoration(_0x290f45,_0x5577db,_0x2e9f9a,_0x230bf0,_0x290f45['widget']||null,!0x0);}static['line'](_0x58afd8){return new LineDecoration(_0x58afd8);}static['set'](_0x4ba366,_0x265115=!0x1){return RangeSet['of'](_0x4ba366,_0x265115);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}}Decoration['none']=RangeSet['empty'];class MarkDecoration extends Decoration{constructor(_0x55cbc6){let {start:_0x22582c,end:_0x43a123}=getInclusive(_0x55cbc6);super(_0x22582c?-0x1:0x1dcd6500,_0x43a123?0x1:-0x23c34600,null,_0x55cbc6),this['tagName']=_0x55cbc6['tagName']||'span',this['class']=_0x55cbc6['class']||'',this['attrs']=_0x55cbc6['attributes']||null;}['eq'](_0x2ea9c2){var _0x28cb86,_0x5dd7a2;return this==_0x2ea9c2||_0x2ea9c2 instanceof MarkDecoration&&this['tagName']==_0x2ea9c2['tagName']&&(this['class']||(null===(_0x28cb86=this['attrs'])||void 0x0===_0x28cb86?void 0x0:_0x28cb86['class']))==(_0x2ea9c2['class']||(null===(_0x5dd7a2=_0x2ea9c2['attrs'])||void 0x0===_0x5dd7a2?void 0x0:_0x5dd7a2['class']))&&attrsEq(this['attrs'],_0x2ea9c2['attrs'],'class');}['range'](_0x49ac84,_0x363971=_0x49ac84){if(_0x49ac84>=_0x363971)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0x49ac84,_0x363971);}}MarkDecoration['prototype']['point']=!0x1;class LineDecoration extends Decoration{constructor(_0x7e043f){super(-0xbebc200,-0xbebc200,null,_0x7e043f);}['eq'](_0x29d7de){return _0x29d7de instanceof LineDecoration&&this['spec']['class']==_0x29d7de['spec']['class']&&attrsEq(this['spec']['attributes'],_0x29d7de['spec']['attributes']);}['range'](_0xdbe699,_0x4fda29=_0xdbe699){if(_0x4fda29!=_0xdbe699)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0xdbe699,_0x4fda29);}}LineDecoration['prototype']['mapMode']=_0x20171d['TrackBefore'],LineDecoration['prototype']['point']=!0x0;class PointDecoration extends Decoration{constructor(_0x144342,_0x2cb505,_0x509cb1,_0xf8271f,_0x3b693a,_0x4b8198){super(_0x2cb505,_0x509cb1,_0x3b693a,_0x144342),this['block']=_0xf8271f,this['isReplace']=_0x4b8198,this['mapMode']=_0xf8271f?_0x2cb505<=0x0?_0x20171d['TrackBefore']:_0x20171d['TrackAfter']:_0x20171d['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?_0x533a79['WidgetRange']:this['startSide']<=0x0?_0x533a79['WidgetBefore']:_0x533a79['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0xa0eb46){return _0xa0eb46 instanceof PointDecoration&&widgetsEq(this['widget'],_0xa0eb46['widget'])&&this['block']==_0xa0eb46['block']&&this['startSide']==_0xa0eb46['startSide']&&this['endSide']==_0xa0eb46['endSide'];}['range'](_0x3a610c,_0x2c9ee4=_0x3a610c){if(this['isReplace']&&(_0x3a610c>_0x2c9ee4||_0x3a610c==_0x2c9ee4&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0x2c9ee4!=_0x3a610c)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0x3a610c,_0x2c9ee4);}}function getInclusive(_0x956a12,_0x435398=!0x1){let {inclusiveStart:_0xcc827b,inclusiveEnd:_0x1df903}=_0x956a12;return null==_0xcc827b&&(_0xcc827b=_0x956a12['inclusive']),null==_0x1df903&&(_0x1df903=_0x956a12['inclusive']),{'start':null!=_0xcc827b?_0xcc827b:_0x435398,'end':null!=_0x1df903?_0x1df903:_0x435398};}function widgetsEq(_0x52b6b3,_0x18fe5c){return _0x52b6b3==_0x18fe5c||!!(_0x52b6b3&&_0x18fe5c&&_0x52b6b3['compare'](_0x18fe5c));}function _0x318814(_0x2a18b6,_0x2972e7,_0x45785c,_0x24dcb4=0x0){let _0x1d4965=_0x45785c['length']-0x1;_0x1d4965>=0x0&&_0x45785c[_0x1d4965]+_0x24dcb4>=_0x2a18b6?_0x45785c[_0x1d4965]=Math['max'](_0x45785c[_0x1d4965],_0x2972e7):_0x45785c['push'](_0x2a18b6,_0x2972e7);}PointDecoration['prototype']['point']=!0x0;class _0x32c628 extends ContentView{constructor(){super(...arguments),this['children']=[],this['length']=0x0,this['prevAttrs']=void 0x0,this['attrs']=null,this['breakAfter']=0x0;}['merge'](_0x128fa5,_0x343295,_0x248fdb,_0x5bd6f2,_0x46b955,_0x17bc5b){if(_0x248fdb){if(!(_0x248fdb instanceof _0x32c628))return!0x1;this['dom']||_0x248fdb['transferDOM'](this);}return _0x5bd6f2&&this['setDeco'](_0x248fdb?_0x248fdb['attrs']:null),mergeChildrenInto(this,_0x128fa5,_0x343295,_0x248fdb?_0x248fdb['children']['slice']():[],_0x46b955,_0x17bc5b),!0x0;}['split'](_0x3e2e65){let _0x24a843=new _0x32c628();if(_0x24a843['breakAfter']=this['breakAfter'],0x0==this['length'])return _0x24a843;let {i:_0x200aaf,off:_0x4660ce}=this['childPos'](_0x3e2e65);_0x4660ce&&(_0x24a843['append'](this['children'][_0x200aaf]['split'](_0x4660ce),0x0),this['children'][_0x200aaf]['merge'](_0x4660ce,this['children'][_0x200aaf]['length'],null,!0x1,0x0,0x0),_0x200aaf++);for(let _0x21f815=_0x200aaf;_0x21f815<this['children']['length'];_0x21f815++)_0x24a843['append'](this['children'][_0x21f815],0x0);for(;_0x200aaf>0x0&&0x0==this['children'][_0x200aaf-0x1]['length'];)this['children'][--_0x200aaf]['destroy']();return this['children']['length']=_0x200aaf,this['markDirty'](),this['length']=_0x3e2e65,_0x24a843;}['transferDOM'](_0x448fb3){this['dom']&&(this['markDirty'](),_0x448fb3['setDOM'](this['dom']),_0x448fb3['prevAttrs']=void 0x0===this['prevAttrs']?this['attrs']:this['prevAttrs'],this['prevAttrs']=void 0x0,this['dom']=null);}['setDeco'](_0xe57832){attrsEq(this['attrs'],_0xe57832)||(this['dom']&&(this['prevAttrs']=this['attrs'],this['markDirty']()),this['attrs']=_0xe57832);}['append'](_0x309cb8,_0x40753e){joinInlineInto(this,_0x309cb8,_0x40753e);}['addLineDeco'](_0x150214){let _0x3cff92=_0x150214['spec']['attributes'],_0x2c7d2b=_0x150214['spec']['class'];_0x3cff92&&(this['attrs']=combineAttrs(_0x3cff92,this['attrs']||{})),_0x2c7d2b&&(this['attrs']=combineAttrs({'class':_0x2c7d2b},this['attrs']||{}));}['domAtPos'](_0x237c0b){return inlineDOMAtPos(this,_0x237c0b);}['reuseDOM'](_0x2ca1e5){'DIV'==_0x2ca1e5['nodeName']&&(this['setDOM'](_0x2ca1e5),this['flags']|=0x6);}['sync'](_0x5ec4a6,_0x1e616a){var _0xd6a13d;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'](_0x5ec4a6,_0x1e616a);let _0x20b13e=this['dom']['lastChild'];for(;_0x20b13e&&ContentView['get'](_0x20b13e)instanceof _0x3a3d3f;)_0x20b13e=_0x20b13e['lastChild'];if(!(_0x20b13e&&this['length']&&('BR'==_0x20b13e['nodeName']||0x0!=(null===(_0xd6a13d=ContentView['get'](_0x20b13e))||void 0x0===_0xd6a13d?void 0x0:_0xd6a13d['isEditable'])||_0x394245['ios']&&this['children']['some'](_0x509ab9=>_0x509ab9 instanceof TextView)))){let _0x14dfc7=document['createElement']('BR');_0x14dfc7['cmIgnore']=!0x0,this['dom']['appendChild'](_0x14dfc7);}}['measureTextSize'](){if(0x0==this['children']['length']||this['length']>0x14)return null;let _0x432894,_0x3724c1=0x0;for(let _0x109b9b of this['children']){if(!(_0x109b9b instanceof TextView)||/[^ -~]/['test'](_0x109b9b['text']))return null;let _0x39468d=clientRectsFor(_0x109b9b['dom']);if(0x1!=_0x39468d['length'])return null;_0x3724c1+=_0x39468d[0x0]['width'],_0x432894=_0x39468d[0x0]['height'];}return _0x3724c1?{'lineHeight':this['dom']['getBoundingClientRect']()['height'],'charWidth':_0x3724c1/this['length'],'textHeight':_0x432894}:null;}['coordsAt'](_0x185b47,_0x20b72a){let _0x3fc855=_0x408350(this,_0x185b47,_0x20b72a);if(!this['children']['length']&&_0x3fc855&&this['parent']){let {heightOracle:_0x129ba7}=this['parent']['view']['viewState'],_0x4db6f5=_0x3fc855['bottom']-_0x3fc855['top'];if(Math['abs'](_0x4db6f5-_0x129ba7['lineHeight'])<0x2&&_0x129ba7['textHeight']<_0x4db6f5){let _0x5d521e=(_0x4db6f5-_0x129ba7['textHeight'])/0x2;return{'top':_0x3fc855['top']+_0x5d521e,'bottom':_0x3fc855['bottom']-_0x5d521e,'left':_0x3fc855['left'],'right':_0x3fc855['left']};}}return _0x3fc855;}['become'](_0x4f1bd8){return _0x4f1bd8 instanceof _0x32c628&&0x0==this['children']['length']&&0x0==_0x4f1bd8['children']['length']&&attrsEq(this['attrs'],_0x4f1bd8['attrs'])&&this['breakAfter']==_0x4f1bd8['breakAfter'];}['covers'](){return!0x0;}static['find'](_0x3a4f03,_0x4ec30d){for(let _0xbb5aae=0x0,_0x323186=0x0;_0xbb5aae<_0x3a4f03['children']['length'];_0xbb5aae++){let _0x36d804=_0x3a4f03['children'][_0xbb5aae],_0x5ea847=_0x323186+_0x36d804['length'];if(_0x5ea847>=_0x4ec30d){if(_0x36d804 instanceof _0x32c628)return _0x36d804;if(_0x5ea847>_0x4ec30d)break;}_0x323186=_0x5ea847+_0x36d804['breakAfter'];}return null;}}class BlockWidgetView extends ContentView{constructor(_0x37b77a,_0x11a4ad,_0x434a60){super(),this['widget']=_0x37b77a,this['length']=_0x11a4ad,this['deco']=_0x434a60,this['breakAfter']=0x0,this['prevWidget']=null;}['merge'](_0x36baa0,_0x1ff03e,_0x1256ec,_0x13fc2e,_0xe2d13c,_0xe6f33d){return!(_0x1256ec&&(!(_0x1256ec instanceof BlockWidgetView&&this['widget']['compare'](_0x1256ec['widget']))||_0x36baa0>0x0&&_0xe2d13c<=0x0||_0x1ff03e<this['length']&&_0xe6f33d<=0x0))&&(this['length']=_0x36baa0+(_0x1256ec?_0x1256ec['length']:0x0)+(this['length']-_0x1ff03e),!0x0);}['domAtPos'](_0x3bfcbe){return 0x0==_0x3bfcbe?_0x22b6c3['before'](this['dom']):_0x22b6c3['after'](this['dom'],_0x3bfcbe==this['length']);}['split'](_0x48beb3){let _0x1dbebe=this['length']-_0x48beb3;this['length']=_0x48beb3;let _0x28912c=new BlockWidgetView(this['widget'],_0x1dbebe,this['deco']);return _0x28912c['breakAfter']=this['breakAfter'],_0x28912c;}get['children'](){return _0x2802e7;}['sync'](_0x48d8f4){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x48d8f4)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x48d8f4)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}get['overrideDOMText'](){return this['parent']?this['parent']['view']['state']['doc']['slice'](this['posAtStart'],this['posAtEnd']):Text['empty'];}['domBoundsAround'](){return null;}['become'](_0x13065c){return _0x13065c instanceof BlockWidgetView&&_0x13065c['widget']['constructor']==this['widget']['constructor']&&(_0x13065c['widget']['compare'](this['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x13065c['widget'],this['length']=_0x13065c['length'],this['deco']=_0x13065c['deco'],this['breakAfter']=_0x13065c['breakAfter'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x30025c){return this['widget']['ignoreEvent'](_0x30025c);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}['coordsAt'](_0x116098,_0x410396){let _0x287622=this['widget']['coordsAt'](this['dom'],_0x116098,_0x410396);return _0x287622||(this['widget']instanceof BlockGapWidget?null:flattenRect(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0x116098:_0x410396<=0x0));}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}['covers'](_0x103be9){let {startSide:_0x1f9c52,endSide:_0x52b653}=this['deco'];return _0x1f9c52!=_0x52b653&&(_0x103be9<0x0?_0x1f9c52<0x0:_0x52b653>0x0);}}class BlockGapWidget extends WidgetType{constructor(_0x317867){super(),this['height']=_0x317867;}['toDOM'](){let _0x228d18=document['createElement']('div');return _0x228d18['className']='cm-gap',this['updateDOM'](_0x228d18),_0x228d18;}['eq'](_0x3eccc7){return _0x3eccc7['height']==this['height'];}['updateDOM'](_0x25110b){return _0x25110b['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}}class ContentBuilder{constructor(_0x1dc8f8,_0x38fb9d,_0x351dbf,_0x55538b){this['doc']=_0x1dc8f8,this['pos']=_0x38fb9d,this['end']=_0x351dbf,this['disallowBlockEffectsFor']=_0x55538b,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']=_0x1dc8f8['iter'](),this['skip']=_0x38fb9d;}['posCovered'](){if(0x0==this['content']['length'])return!this['breakAtStart']&&this['doc']['lineAt'](this['pos'])['from']!=this['pos'];let _0x135c82=this['content'][this['content']['length']-0x1];return!(_0x135c82['breakAfter']||_0x135c82 instanceof BlockWidgetView&&_0x135c82['deco']['endSide']<0x0);}['getLine'](){return this['curLine']||(this['content']['push'](this['curLine']=new _0x32c628()),this['atCursorPos']=!0x0),this['curLine'];}['flushBuffer'](_0x4e1413=this['bufferMarks']){this['pendingBuffer']&&(this['curLine']['append'](_0x318327(new WidgetBufferView(-0x1),_0x4e1413),_0x4e1413['length']),this['pendingBuffer']=0x0);}['addBlockWidget'](_0x5b73c3){this['flushBuffer'](),this['curLine']=null,this['content']['push'](_0x5b73c3);}['finish'](_0x239558){this['pendingBuffer']&&_0x239558<=this['bufferMarks']['length']?this['flushBuffer']():this['pendingBuffer']=0x0,this['posCovered']()||_0x239558&&this['content']['length']&&this['content'][this['content']['length']-0x1]instanceof BlockWidgetView||this['getLine']();}['buildText'](_0xd78441,_0x3672f2,_0x974ba6){for(;_0xd78441>0x0;){if(this['textOff']==this['text']['length']){let {value:_0x3111d7,lineBreak:_0x515072,done:_0x358546}=this['cursor']['next'](this['skip']);if(this['skip']=0x0,_0x358546)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');if(_0x515072){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,_0xd78441--;continue;}this['text']=_0x3111d7,this['textOff']=0x0;}let _0x45ea46=Math['min'](this['text']['length']-this['textOff'],_0xd78441),_0x2ad216=Math['min'](_0x45ea46,0x200);this['flushBuffer'](_0x3672f2['slice'](_0x3672f2['length']-_0x974ba6)),this['getLine']()['append'](_0x318327(new TextView(this['text']['slice'](this['textOff'],this['textOff']+_0x2ad216)),_0x3672f2),_0x974ba6),this['atCursorPos']=!0x0,this['textOff']+=_0x2ad216,_0xd78441-=_0x2ad216,_0x974ba6=_0x45ea46<=_0x2ad216?0x0:_0x3672f2['length'];}}['span'](_0xe3823c,_0x53ae94,_0x3eeedd,_0xc545ec){this['buildText'](_0x53ae94-_0xe3823c,_0x3eeedd,_0xc545ec),this['pos']=_0x53ae94,this['openStart']<0x0&&(this['openStart']=_0xc545ec);}['point'](_0x1e325b,_0xcc2cde,_0x4e22d6,_0x2f8d5a,_0x41fde2,_0x34b643){if(this['disallowBlockEffectsFor'][_0x34b643]&&_0x4e22d6 instanceof PointDecoration){if(_0x4e22d6['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0xcc2cde>this['doc']['lineAt'](this['pos'])['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}let _0x122290=_0xcc2cde-_0x1e325b;if(_0x4e22d6 instanceof PointDecoration){if(_0x4e22d6['block'])_0x4e22d6['startSide']>0x0&&!this['posCovered']()&&this['getLine'](),this['addBlockWidget'](new BlockWidgetView(_0x4e22d6['widget']||NullWidget['block'],_0x122290,_0x4e22d6));else{let _0x5402b7=WidgetView['create'](_0x4e22d6['widget']||NullWidget['inline'],_0x122290,_0x122290?0x0:_0x4e22d6['startSide']),_0x183d5d=this['atCursorPos']&&!_0x5402b7['isEditable']&&_0x41fde2<=_0x2f8d5a['length']&&(_0x1e325b<_0xcc2cde||_0x4e22d6['startSide']>0x0),_0x3c62ee=!_0x5402b7['isEditable']&&(_0x1e325b<_0xcc2cde||_0x41fde2>_0x2f8d5a['length']||_0x4e22d6['startSide']<=0x0),_0x547a37=this['getLine']();0x2!=this['pendingBuffer']||_0x183d5d||_0x5402b7['isEditable']||(this['pendingBuffer']=0x0),this['flushBuffer'](_0x2f8d5a),_0x183d5d&&(_0x547a37['append'](_0x318327(new WidgetBufferView(0x1),_0x2f8d5a),_0x41fde2),_0x41fde2=_0x2f8d5a['length']+Math['max'](0x0,_0x41fde2-_0x2f8d5a['length'])),_0x547a37['append'](_0x318327(_0x5402b7,_0x2f8d5a),_0x41fde2),this['atCursorPos']=_0x3c62ee,this['pendingBuffer']=_0x3c62ee?_0x1e325b<_0xcc2cde||_0x41fde2>_0x2f8d5a['length']?0x1:0x2:0x0,this['pendingBuffer']&&(this['bufferMarks']=_0x2f8d5a['slice']());}}else this['doc']['lineAt'](this['pos'])['from']==this['pos']&&this['getLine']()['addLineDeco'](_0x4e22d6);_0x122290&&(this['textOff']+_0x122290<=this['text']['length']?this['textOff']+=_0x122290:(this['skip']+=_0x122290-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0),this['pos']=_0xcc2cde),this['openStart']<0x0&&(this['openStart']=_0x41fde2);}static['build'](_0x1d1787,_0xf3c2e5,_0x31e73,_0x18f3a9,_0x45e6e4){let _0x23b983=new ContentBuilder(_0x1d1787,_0xf3c2e5,_0x31e73,_0x45e6e4);return _0x23b983['openEnd']=RangeSet['spans'](_0x18f3a9,_0xf3c2e5,_0x31e73,_0x23b983),_0x23b983['openStart']<0x0&&(_0x23b983['openStart']=_0x23b983['openEnd']),_0x23b983['finish'](_0x23b983['openEnd']),_0x23b983;}}function _0x318327(_0x323749,_0x26813a){for(let _0x51ac85 of _0x26813a)_0x323749=new _0x3a3d3f(_0x51ac85,[_0x323749],_0x323749['length']);return _0x323749;}class NullWidget extends WidgetType{constructor(_0xf1a0c2){super(),this['tag']=_0xf1a0c2;}['eq'](_0x49ab82){return _0x49ab82['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0x49dd32){return _0x49dd32['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}}NullWidget['inline']=new NullWidget('span'),NullWidget['block']=new NullWidget('div');var Direction=function(_0x3f7b7f){return _0x3f7b7f[_0x3f7b7f['LTR']=0x0]='LTR',_0x3f7b7f[_0x3f7b7f['RTL']=0x1]='RTL',_0x3f7b7f;}(Direction||(Direction={}));const _0x29de2a=Direction['LTR'],_0x45d569=Direction['RTL'];function _0x2b6c80(_0x39bb35){let _0x4c2494=[];for(let _0x2f9ff2=0x0;_0x2f9ff2<_0x39bb35['length'];_0x2f9ff2++)_0x4c2494['push'](0x1<<+_0x39bb35[_0x2f9ff2]);return _0x4c2494;}const _0xa4566b=_0x2b6c80('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),_0x2cfc86=_0x2b6c80('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),Brackets=Object['create'](null),BracketStack=[];for(let _0xbf5141 of['()','[]','{}']){let _0x19f485=_0xbf5141['charCodeAt'](0x0),_0x8d0320=_0xbf5141['charCodeAt'](0x1);Brackets[_0x19f485]=_0x8d0320,Brackets[_0x8d0320]=-_0x19f485;}function _0x2cf7ec(_0x5f06dd){return _0x5f06dd<=0xf7?_0xa4566b[_0x5f06dd]:0x590<=_0x5f06dd&&_0x5f06dd<=0x5f4?0x2:0x600<=_0x5f06dd&&_0x5f06dd<=0x6f9?_0x2cfc86[_0x5f06dd-0x600]:0x6ee<=_0x5f06dd&&_0x5f06dd<=0x8ac?0x4:0x2000<=_0x5f06dd&&_0x5f06dd<=0x200c?0x100:0xfb50<=_0x5f06dd&&_0x5f06dd<=0xfdff?0x4:0x1;}const _0x1294d0=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class _0x550b2a{get['dir'](){return this['level']%0x2?_0x45d569:_0x29de2a;}constructor(_0x2281db,_0x4b505e,_0x1595f3){this['from']=_0x2281db,this['to']=_0x4b505e,this['level']=_0x1595f3;}['side'](_0x709cc1,_0x967a19){return this['dir']==_0x967a19==_0x709cc1?this['to']:this['from'];}['forward'](_0x464a60,_0x3955ec){return _0x464a60==(this['dir']==_0x3955ec);}static['find'](_0x4d212a,_0x135357,_0x4e9f64,_0x1be90d){let _0x198888=-0x1;for(let _0x593535=0x0;_0x593535<_0x4d212a['length'];_0x593535++){let _0x2b5bd0=_0x4d212a[_0x593535];if(_0x2b5bd0['from']<=_0x135357&&_0x2b5bd0['to']>=_0x135357){if(_0x2b5bd0['level']==_0x4e9f64)return _0x593535;(_0x198888<0x0||(0x0!=_0x1be90d?_0x1be90d<0x0?_0x2b5bd0['from']<_0x135357:_0x2b5bd0['to']>_0x135357:_0x4d212a[_0x198888]['level']>_0x2b5bd0['level']))&&(_0x198888=_0x593535);}}if(_0x198888<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0x198888;}}function isolatesEq(_0x133af7,_0x39a828){if(_0x133af7['length']!=_0x39a828['length'])return!0x1;for(let _0x898046=0x0;_0x898046<_0x133af7['length'];_0x898046++){let _0x500a22=_0x133af7[_0x898046],_0x2f1d89=_0x39a828[_0x898046];if(_0x500a22['from']!=_0x2f1d89['from']||_0x500a22['to']!=_0x2f1d89['to']||_0x500a22['direction']!=_0x2f1d89['direction']||!isolatesEq(_0x500a22['inner'],_0x2f1d89['inner']))return!0x1;}return!0x0;}const types=[];function computeCharTypes(_0x445fda,_0xc79adf,_0x57944c,_0x350d9b,_0x1d6b2f){for(let _0x3a10f4=0x0;_0x3a10f4<=_0x350d9b['length'];_0x3a10f4++){let _0x4ddd49=_0x3a10f4?_0x350d9b[_0x3a10f4-0x1]['to']:_0xc79adf,_0x5921ee=_0x3a10f4<_0x350d9b['length']?_0x350d9b[_0x3a10f4]['from']:_0x57944c,_0x4b8c92=_0x3a10f4?0x100:_0x1d6b2f;for(let _0x3ec762=_0x4ddd49,_0xb9142e=_0x4b8c92,_0x3640ce=_0x4b8c92;_0x3ec762<_0x5921ee;_0x3ec762++){let _0x486e53=_0x2cf7ec(_0x445fda['charCodeAt'](_0x3ec762));0x200==_0x486e53?_0x486e53=_0xb9142e:0x8==_0x486e53&&0x4==_0x3640ce&&(_0x486e53=0x10),types[_0x3ec762]=0x4==_0x486e53?0x2:_0x486e53,0x7&_0x486e53&&(_0x3640ce=_0x486e53),_0xb9142e=_0x486e53;}for(let _0x184ebb=_0x4ddd49,_0x4c4e6b=_0x4b8c92,_0x45d6e9=_0x4b8c92;_0x184ebb<_0x5921ee;_0x184ebb++){let _0x44f07d=types[_0x184ebb];if(0x80==_0x44f07d)_0x184ebb<_0x5921ee-0x1&&_0x4c4e6b==types[_0x184ebb+0x1]&&0x18&_0x4c4e6b?_0x44f07d=types[_0x184ebb]=_0x4c4e6b:types[_0x184ebb]=0x100;else{if(0x40==_0x44f07d){let _0x35df5e=_0x184ebb+0x1;for(;_0x35df5e<_0x5921ee&&0x40==types[_0x35df5e];)_0x35df5e++;let _0x4f1df3=_0x184ebb&&0x8==_0x4c4e6b||_0x35df5e<_0x57944c&&0x8==types[_0x35df5e]?0x1==_0x45d6e9?0x1:0x8:0x100;for(let _0x577733=_0x184ebb;_0x577733<_0x35df5e;_0x577733++)types[_0x577733]=_0x4f1df3;_0x184ebb=_0x35df5e-0x1;}else 0x8==_0x44f07d&&0x1==_0x45d6e9&&(types[_0x184ebb]=0x1);}_0x4c4e6b=_0x44f07d,0x7&_0x44f07d&&(_0x45d6e9=_0x44f07d);}}}function processBracketPairs(_0x1dfe28,_0x37cf5a,_0xb5ef8d,_0x27295a,_0x5ccb9d){let _0xe5ea0=0x1==_0x5ccb9d?0x2:0x1;for(let _0x1f70de=0x0,_0x55bffd=0x0,_0xe30737=0x0;_0x1f70de<=_0x27295a['length'];_0x1f70de++){let _0x35de9c=_0x1f70de?_0x27295a[_0x1f70de-0x1]['to']:_0x37cf5a,_0x3ca6dd=_0x1f70de<_0x27295a['length']?_0x27295a[_0x1f70de]['from']:_0xb5ef8d;for(let _0x194e2a,_0x2bbec9,_0x254a9e,_0x260555=_0x35de9c;_0x260555<_0x3ca6dd;_0x260555++)if(_0x2bbec9=Brackets[_0x194e2a=_0x1dfe28['charCodeAt'](_0x260555)]){if(_0x2bbec9<0x0){for(let _0x23a0ab=_0x55bffd-0x3;_0x23a0ab>=0x0;_0x23a0ab-=0x3)if(BracketStack[_0x23a0ab+0x1]==-_0x2bbec9){let _0x32d089=BracketStack[_0x23a0ab+0x2],_0xd5e3a0=0x2&_0x32d089?_0x5ccb9d:0x4&_0x32d089?0x1&_0x32d089?_0xe5ea0:_0x5ccb9d:0x0;_0xd5e3a0&&(types[_0x260555]=types[BracketStack[_0x23a0ab]]=_0xd5e3a0),_0x55bffd=_0x23a0ab;break;}}else{if(0xbd==BracketStack['length'])break;BracketStack[_0x55bffd++]=_0x260555,BracketStack[_0x55bffd++]=_0x194e2a,BracketStack[_0x55bffd++]=_0xe30737;}}else{if(0x2==(_0x254a9e=types[_0x260555])||0x1==_0x254a9e){let _0xb119c9=_0x254a9e==_0x5ccb9d;_0xe30737=_0xb119c9?0x0:0x1;for(let _0x51ea35=_0x55bffd-0x3;_0x51ea35>=0x0;_0x51ea35-=0x3){let _0x3b73ce=BracketStack[_0x51ea35+0x2];if(0x2&_0x3b73ce)break;if(_0xb119c9)BracketStack[_0x51ea35+0x2]|=0x2;else{if(0x4&_0x3b73ce)break;BracketStack[_0x51ea35+0x2]|=0x4;}}}}}}function processNeutrals(_0x5db79e,_0xed3e4a,_0x3f8579,_0xeacbb2){for(let _0x9497dd=0x0,_0x7fcc47=_0xeacbb2;_0x9497dd<=_0x3f8579['length'];_0x9497dd++){let _0x296df6=_0x9497dd?_0x3f8579[_0x9497dd-0x1]['to']:_0x5db79e,_0x1a71f1=_0x9497dd<_0x3f8579['length']?_0x3f8579[_0x9497dd]['from']:_0xed3e4a;for(let _0x330b5b=_0x296df6;_0x330b5b<_0x1a71f1;){let _0x51e8d7=types[_0x330b5b];if(0x100==_0x51e8d7){let _0x156fc6=_0x330b5b+0x1;for(;;)if(_0x156fc6==_0x1a71f1){if(_0x9497dd==_0x3f8579['length'])break;_0x156fc6=_0x3f8579[_0x9497dd++]['to'],_0x1a71f1=_0x9497dd<_0x3f8579['length']?_0x3f8579[_0x9497dd]['from']:_0xed3e4a;}else{if(0x100!=types[_0x156fc6])break;_0x156fc6++;}let _0x47dcc5=0x1==_0x7fcc47,_0x4d2c3e=_0x47dcc5==(0x1==(_0x156fc6<_0xed3e4a?types[_0x156fc6]:_0xeacbb2))?_0x47dcc5?0x1:0x2:_0xeacbb2;for(let _0x3f9b55=_0x156fc6,_0x3cc6b9=_0x9497dd,_0x3dfc9d=_0x3cc6b9?_0x3f8579[_0x3cc6b9-0x1]['to']:_0x5db79e;_0x3f9b55>_0x330b5b;)_0x3f9b55==_0x3dfc9d&&(_0x3f9b55=_0x3f8579[--_0x3cc6b9]['from'],_0x3dfc9d=_0x3cc6b9?_0x3f8579[_0x3cc6b9-0x1]['to']:_0x5db79e),types[--_0x3f9b55]=_0x4d2c3e;_0x330b5b=_0x156fc6;}else _0x7fcc47=_0x51e8d7,_0x330b5b++;}}}function emitSpans(_0x315898,_0x42a17f,_0x14b2c0,_0x1dba92,_0x58b739,_0x26d722,_0x16af54){let _0x533320=_0x1dba92%0x2?0x2:0x1;if(_0x1dba92%0x2==_0x58b739%0x2)for(let _0x54dc28=_0x42a17f,_0x1a4a7d=0x0;_0x54dc28<_0x14b2c0;){let _0x199b56=!0x0,_0x487847=!0x1;if(_0x1a4a7d==_0x26d722['length']||_0x54dc28<_0x26d722[_0x1a4a7d]['from']){let _0x9ae9a4=types[_0x54dc28];_0x9ae9a4!=_0x533320&&(_0x199b56=!0x1,_0x487847=0x10==_0x9ae9a4);}let _0x108b99=_0x199b56||0x1!=_0x533320?null:[],_0x2b6ba2=_0x199b56?_0x1dba92:_0x1dba92+0x1,_0xdd6bfa=_0x54dc28;t:for(;;)if(_0x1a4a7d<_0x26d722['length']&&_0xdd6bfa==_0x26d722[_0x1a4a7d]['from']){if(_0x487847)break t;let _0x405d69=_0x26d722[_0x1a4a7d];if(!_0x199b56)for(let _0x39b442=_0x405d69['to'],_0x52f32e=_0x1a4a7d+0x1;;){if(_0x39b442==_0x14b2c0)break t;if(!(_0x52f32e<_0x26d722['length']&&_0x26d722[_0x52f32e]['from']==_0x39b442)){if(types[_0x39b442]==_0x533320)break t;break;}_0x39b442=_0x26d722[_0x52f32e++]['to'];}if(_0x1a4a7d++,_0x108b99)_0x108b99['push'](_0x405d69);else _0x405d69['from']>_0x54dc28&&_0x16af54['push'](new _0x550b2a(_0x54dc28,_0x405d69['from'],_0x2b6ba2)),computeSectionOrder(_0x315898,_0x405d69['direction']==_0x29de2a!=!(_0x2b6ba2%0x2)?_0x1dba92+0x1:_0x1dba92,_0x58b739,_0x405d69['inner'],_0x405d69['from'],_0x405d69['to'],_0x16af54),_0x54dc28=_0x405d69['to'];_0xdd6bfa=_0x405d69['to'];}else{if(_0xdd6bfa==_0x14b2c0||(_0x199b56?types[_0xdd6bfa]!=_0x533320:types[_0xdd6bfa]==_0x533320))break;_0xdd6bfa++;}_0x108b99?emitSpans(_0x315898,_0x54dc28,_0xdd6bfa,_0x1dba92+0x1,_0x58b739,_0x108b99,_0x16af54):_0x54dc28<_0xdd6bfa&&_0x16af54['push'](new _0x550b2a(_0x54dc28,_0xdd6bfa,_0x2b6ba2)),_0x54dc28=_0xdd6bfa;}else for(let _0xef2936=_0x14b2c0,_0x1e978f=_0x26d722['length'];_0xef2936>_0x42a17f;){let _0x4556bd=!0x0,_0x4905c5=!0x1;if(!_0x1e978f||_0xef2936>_0x26d722[_0x1e978f-0x1]['to']){let _0x15677f=types[_0xef2936-0x1];_0x15677f!=_0x533320&&(_0x4556bd=!0x1,_0x4905c5=0x10==_0x15677f);}let _0x251588=_0x4556bd||0x1!=_0x533320?null:[],_0xf689a2=_0x4556bd?_0x1dba92:_0x1dba92+0x1,_0x42411a=_0xef2936;t:for(;;)if(_0x1e978f&&_0x42411a==_0x26d722[_0x1e978f-0x1]['to']){if(_0x4905c5)break t;let _0x2e71b8=_0x26d722[--_0x1e978f];if(!_0x4556bd)for(let _0x11b225=_0x2e71b8['from'],_0x34d3ab=_0x1e978f;;){if(_0x11b225==_0x42a17f)break t;if(!_0x34d3ab||_0x26d722[_0x34d3ab-0x1]['to']!=_0x11b225){if(types[_0x11b225-0x1]==_0x533320)break t;break;}_0x11b225=_0x26d722[--_0x34d3ab]['from'];}if(_0x251588)_0x251588['push'](_0x2e71b8);else _0x2e71b8['to']<_0xef2936&&_0x16af54['push'](new _0x550b2a(_0x2e71b8['to'],_0xef2936,_0xf689a2)),computeSectionOrder(_0x315898,_0x2e71b8['direction']==_0x29de2a!=!(_0xf689a2%0x2)?_0x1dba92+0x1:_0x1dba92,_0x58b739,_0x2e71b8['inner'],_0x2e71b8['from'],_0x2e71b8['to'],_0x16af54),_0xef2936=_0x2e71b8['from'];_0x42411a=_0x2e71b8['from'];}else{if(_0x42411a==_0x42a17f||(_0x4556bd?types[_0x42411a-0x1]!=_0x533320:types[_0x42411a-0x1]==_0x533320))break;_0x42411a--;}_0x251588?emitSpans(_0x315898,_0x42411a,_0xef2936,_0x1dba92+0x1,_0x58b739,_0x251588,_0x16af54):_0x42411a<_0xef2936&&_0x16af54['push'](new _0x550b2a(_0x42411a,_0xef2936,_0xf689a2)),_0xef2936=_0x42411a;}}function computeSectionOrder(_0x5cd0aa,_0x1cf8e7,_0x397f80,_0x9b809b,_0x2d2bdc,_0x1eb157,_0x40b9e8){let _0x56ea0d=_0x1cf8e7%0x2?0x2:0x1;computeCharTypes(_0x5cd0aa,_0x2d2bdc,_0x1eb157,_0x9b809b,_0x56ea0d),processBracketPairs(_0x5cd0aa,_0x2d2bdc,_0x1eb157,_0x9b809b,_0x56ea0d),processNeutrals(_0x2d2bdc,_0x1eb157,_0x9b809b,_0x56ea0d),emitSpans(_0x5cd0aa,_0x2d2bdc,_0x1eb157,_0x1cf8e7,_0x397f80,_0x9b809b,_0x40b9e8);}function computeOrder(_0x46753d,_0x28cff5,_0x55f495){if(!_0x46753d)return[new _0x550b2a(0x0,0x0,_0x28cff5==_0x45d569?0x1:0x0)];if(_0x28cff5==_0x29de2a&&!_0x55f495['length']&&!_0x1294d0['test'](_0x46753d))return trivialOrder(_0x46753d['length']);if(_0x55f495['length']){for(;_0x46753d['length']>types['length'];)types[types['length']]=0x100;}let _0x6bb035=[],_0x5c6f90=_0x28cff5==_0x29de2a?0x0:0x1;return computeSectionOrder(_0x46753d,_0x5c6f90,_0x5c6f90,_0x55f495,0x0,_0x46753d['length'],_0x6bb035),_0x6bb035;}function trivialOrder(_0xc3f421){return[new _0x550b2a(0x0,_0xc3f421,0x0)];}let _0xc391d4='';function _0x163e07(_0xc596ef,_0x4bb8a4,_0x2134b1,_0x123edf,_0x33f2ba){var _0x5f37bd;let _0x53238f=_0x123edf['head']-_0xc596ef['from'],_0x4b4c4c=_0x550b2a['find'](_0x4bb8a4,_0x53238f,null!==(_0x5f37bd=_0x123edf['bidiLevel'])&&void 0x0!==_0x5f37bd?_0x5f37bd:-0x1,_0x123edf['assoc']),_0x148f7e=_0x4bb8a4[_0x4b4c4c],_0x4171ac=_0x148f7e['side'](_0x33f2ba,_0x2134b1);if(_0x53238f==_0x4171ac){let _0x269c00=_0x4b4c4c+=_0x33f2ba?0x1:-0x1;if(_0x269c00<0x0||_0x269c00>=_0x4bb8a4['length'])return null;_0x148f7e=_0x4bb8a4[_0x4b4c4c=_0x269c00],_0x53238f=_0x148f7e['side'](!_0x33f2ba,_0x2134b1),_0x4171ac=_0x148f7e['side'](_0x33f2ba,_0x2134b1);}let _0x9f6ddd=findClusterBreak(_0xc596ef['text'],_0x53238f,_0x148f7e['forward'](_0x33f2ba,_0x2134b1));(_0x9f6ddd<_0x148f7e['from']||_0x9f6ddd>_0x148f7e['to'])&&(_0x9f6ddd=_0x4171ac),_0xc391d4=_0xc596ef['text']['slice'](Math['min'](_0x53238f,_0x9f6ddd),Math['max'](_0x53238f,_0x9f6ddd));let _0x2764af=_0x4b4c4c==(_0x33f2ba?_0x4bb8a4['length']-0x1:0x0)?null:_0x4bb8a4[_0x4b4c4c+(_0x33f2ba?0x1:-0x1)];return _0x2764af&&_0x9f6ddd==_0x4171ac&&_0x2764af['level']+(_0x33f2ba?0x0:0x1)<_0x148f7e['level']?EditorSelection['cursor'](_0x2764af['side'](!_0x33f2ba,_0x2134b1)+_0xc596ef['from'],_0x2764af['forward'](_0x33f2ba,_0x2134b1)?0x1:-0x1,_0x2764af['level']):EditorSelection['cursor'](_0x9f6ddd+_0xc596ef['from'],_0x148f7e['forward'](_0x33f2ba,_0x2134b1)?-0x1:0x1,_0x148f7e['level']);}function autoDirection(_0x5ee7b2,_0xc66804,_0x49dbe6){for(let _0x5e728e=_0xc66804;_0x5e728e<_0x49dbe6;_0x5e728e++){let _0x2bd6d6=_0x2cf7ec(_0x5ee7b2['charCodeAt'](_0x5e728e));if(0x1==_0x2bd6d6)return _0x29de2a;if(0x2==_0x2bd6d6||0x4==_0x2bd6d6)return _0x45d569;}return _0x29de2a;}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':_0xc798f7=>_0xc798f7['some'](_0x1e34b2=>_0x1e34b2)}),nativeSelectionHidden=Facet['define']({'combine':_0x276a5a=>_0x276a5a['some'](_0x43ef9e=>_0x43ef9e)}),_0x4a8fac=Facet['define']();class ScrollTarget{constructor(_0x213b66,_0x14c321='nearest',_0xfc5389='nearest',_0x304b22=0x5,_0x216acc=0x5,_0x454446=!0x1){this['range']=_0x213b66,this['y']=_0x14c321,this['x']=_0xfc5389,this['yMargin']=_0x304b22,this['xMargin']=_0x216acc,this['isSnapshot']=_0x454446;}['map'](_0x4d8d4d){return _0x4d8d4d['empty']?this:new ScrollTarget(this['range']['map'](_0x4d8d4d),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x2afcc9){return this['range']['to']<=_0x2afcc9['doc']['length']?this:new ScrollTarget(EditorSelection['cursor'](_0x2afcc9['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}}const scrollIntoView$1=StateEffect['define']({'map':(t,_0x99f270)=>t['map'](_0x99f270)}),setEditContextFormatting=StateEffect['define']();function logException(_0x659a7d,_0x2a7300,_0x1e33fe){let _0x436ebc=_0x659a7d['facet'](exceptionSink);_0x436ebc['length']?_0x436ebc[0x0](_0x2a7300):window['onerror']&&window['onerror'](String(_0x2a7300),_0x1e33fe,void 0x0,void 0x0,_0x2a7300)||(_0x1e33fe?console['error'](_0x1e33fe+':',_0x2a7300):console['error'](_0x2a7300));}const editable=Facet['define']({'combine':_0x5227f4=>!_0x5227f4['length']||_0x5227f4[0x0]});let nextPluginID=0x0;const _0x4460ff=Facet['define']({'combine':_0x5ad3c9=>_0x5ad3c9['filter']((_0x18e10d,_0x267bcb)=>{for(let _0x44e297=0x0;_0x44e297<_0x267bcb;_0x44e297++)if(_0x5ad3c9[_0x44e297]['plugin']==_0x18e10d['plugin'])return!0x1;return!0x0;})});class _0x3d5509{constructor(_0x3af191,_0x30e4e7,_0x2e3215,_0x16519d,_0x1efda6){this['id']=_0x3af191,this['create']=_0x30e4e7,this['domEventHandlers']=_0x2e3215,this['domEventObservers']=_0x16519d,this['baseExtensions']=_0x1efda6(this),this['extension']=this['baseExtensions']['concat'](_0x4460ff['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x3c2617){return this['baseExtensions']['concat'](_0x4460ff['of']({'plugin':this,'arg':_0x3c2617}));}static['define'](_0x4532d7,_0x1c040){const {eventHandlers:_0x339a60,eventObservers:_0x59ae45,provide:_0x290862,decorations:_0x15992c}=_0x1c040||{};return new _0x3d5509(nextPluginID++,_0x4532d7,_0x339a60,_0x59ae45,_0x445634=>{let _0x1db4fd=[];return _0x15992c&&_0x1db4fd['push'](decorations['of'](_0x1226a6=>{let _0x41688d=_0x1226a6['plugin'](_0x445634);return _0x41688d?_0x15992c(_0x41688d):Decoration['none'];})),_0x290862&&_0x1db4fd['push'](_0x290862(_0x445634)),_0x1db4fd;});}static['fromClass'](_0x1358b2,_0x4a49cb){return _0x3d5509['define']((_0x1df574,_0x33fa32)=>new _0x1358b2(_0x1df574,_0x33fa32),_0x4a49cb);}}class PluginInstance{constructor(_0x30245e){this['spec']=_0x30245e,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}['update'](_0x4f6637){if(this['value']){if(this['mustUpdate']){let _0x53fb49=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x53fb49);}catch(_0x211c70){if(logException(_0x53fb49['state'],_0x211c70,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0xe4e56f){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0x4f6637,this['spec']['arg']);}catch(_0x19b0c4){logException(_0x4f6637['state'],_0x19b0c4,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0x51106b){var _0x842842;if(null===(_0x842842=this['value'])||void 0x0===_0x842842?void 0x0:_0x842842['destroy'])try{this['value']['destroy']();}catch(_0x2a762b){logException(_0x51106b['state'],_0x2a762b,'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(_0x5afe61,_0xeb5319){let _0x4e91b7=_0x5afe61['state']['facet'](bidiIsolatedRanges);if(!_0x4e91b7['length'])return _0x4e91b7;let _0x23e9a9=_0x4e91b7['map'](_0x56f963=>_0x56f963 instanceof Function?_0x56f963(_0x5afe61):_0x56f963),_0xa7041c=[];return RangeSet['spans'](_0x23e9a9,_0xeb5319['from'],_0xeb5319['to'],{'point'(){},'span'(_0x25084d,_0x5cf4e0,_0x3462ed,_0x8dd588){let _0x20eaac=_0x25084d-_0xeb5319['from'],_0x1542a6=_0x5cf4e0-_0xeb5319['from'],_0x299dec=_0xa7041c;for(let _0x4fed38=_0x3462ed['length']-0x1;_0x4fed38>=0x0;_0x4fed38--,_0x8dd588--){let _0x51ca8b,_0x57cb30=_0x3462ed[_0x4fed38]['spec']['bidiIsolate'];if(null==_0x57cb30&&(_0x57cb30=autoDirection(_0xeb5319['text'],_0x20eaac,_0x1542a6)),_0x8dd588>0x0&&_0x299dec['length']&&(_0x51ca8b=_0x299dec[_0x299dec['length']-0x1])['to']==_0x20eaac&&_0x51ca8b['direction']==_0x57cb30)_0x51ca8b['to']=_0x1542a6,_0x299dec=_0x51ca8b['inner'];else{let _0x59e619={'from':_0x20eaac,'to':_0x1542a6,'direction':_0x57cb30,'inner':[]};_0x299dec['push'](_0x59e619),_0x299dec=_0x59e619['inner'];}}}}),_0xa7041c;}const _0x40318e=Facet['define']();function getScrollMargins(_0x2f083e){let _0x52aca0=0x0,_0x13aee3=0x0,_0x21762d=0x0,_0x4bf2d8=0x0;for(let _0x495387 of _0x2f083e['state']['facet'](_0x40318e)){let _0x3337ee=_0x495387(_0x2f083e);_0x3337ee&&(null!=_0x3337ee['left']&&(_0x52aca0=Math['max'](_0x52aca0,_0x3337ee['left'])),null!=_0x3337ee['right']&&(_0x13aee3=Math['max'](_0x13aee3,_0x3337ee['right'])),null!=_0x3337ee['top']&&(_0x21762d=Math['max'](_0x21762d,_0x3337ee['top'])),null!=_0x3337ee['bottom']&&(_0x4bf2d8=Math['max'](_0x4bf2d8,_0x3337ee['bottom'])));}return{'left':_0x52aca0,'right':_0x13aee3,'top':_0x21762d,'bottom':_0x4bf2d8};}const styleModule=Facet['define']();class _0xaeeecc{constructor(_0x31566a,_0x152924,_0x5ceb58,_0x2357ea){this['fromA']=_0x31566a,this['toA']=_0x152924,this['fromB']=_0x5ceb58,this['toB']=_0x2357ea;}['join'](_0x422754){return new _0xaeeecc(Math['min'](this['fromA'],_0x422754['fromA']),Math['max'](this['toA'],_0x422754['toA']),Math['min'](this['fromB'],_0x422754['fromB']),Math['max'](this['toB'],_0x422754['toB']));}['addToSet'](_0x5e1541){let _0x3a1daa=_0x5e1541['length'],_0x287e49=this;for(;_0x3a1daa>0x0;_0x3a1daa--){let _0x3edfd0=_0x5e1541[_0x3a1daa-0x1];if(!(_0x3edfd0['fromA']>_0x287e49['toA'])){if(_0x3edfd0['toA']<_0x287e49['fromA'])break;_0x287e49=_0x287e49['join'](_0x3edfd0),_0x5e1541['splice'](_0x3a1daa-0x1,0x1);}}return _0x5e1541['splice'](_0x3a1daa,0x0,_0x287e49),_0x5e1541;}static['extendWithRanges'](_0x1428c8,_0x1b4552){if(0x0==_0x1b4552['length'])return _0x1428c8;let _0x453bb3=[];for(let _0x5a42cf=0x0,_0x364b55=0x0,_0xb7dd6d=0x0,_0x1bd2d6=0x0;;_0x5a42cf++){let _0x4a1f6f=_0x5a42cf==_0x1428c8['length']?null:_0x1428c8[_0x5a42cf],_0x44cced=_0xb7dd6d-_0x1bd2d6,_0x485543=_0x4a1f6f?_0x4a1f6f['fromB']:0x3b9aca00;for(;_0x364b55<_0x1b4552['length']&&_0x1b4552[_0x364b55]<_0x485543;){let _0x251395=_0x1b4552[_0x364b55],_0x1a0424=_0x1b4552[_0x364b55+0x1],_0x2dc0e3=Math['max'](_0x1bd2d6,_0x251395),_0x517381=Math['min'](_0x485543,_0x1a0424);if(_0x2dc0e3<=_0x517381&&new _0xaeeecc(_0x2dc0e3+_0x44cced,_0x517381+_0x44cced,_0x2dc0e3,_0x517381)['addToSet'](_0x453bb3),_0x1a0424>_0x485543)break;_0x364b55+=0x2;}if(!_0x4a1f6f)return _0x453bb3;new _0xaeeecc(_0x4a1f6f['fromA'],_0x4a1f6f['toA'],_0x4a1f6f['fromB'],_0x4a1f6f['toB'])['addToSet'](_0x453bb3),_0xb7dd6d=_0x4a1f6f['toA'],_0x1bd2d6=_0x4a1f6f['toB'];}}}class ViewUpdate{constructor(_0x40bfde,_0x226aea,_0x4dd6fe){this['view']=_0x40bfde,this['state']=_0x226aea,this['transactions']=_0x4dd6fe,this['flags']=0x0,this['startState']=_0x40bfde['state'],this['changes']=ChangeSet['empty'](this['startState']['doc']['length']);for(let _0x8abf12 of _0x4dd6fe)this['changes']=this['changes']['compose'](_0x8abf12['changes']);let _0x50045a=[];this['changes']['iterChangedRanges']((_0x3c5c8,_0x533b6e,_0x1bb9b1,_0x34ed8e)=>_0x50045a['push'](new _0xaeeecc(_0x3c5c8,_0x533b6e,_0x1bb9b1,_0x34ed8e))),this['changedRanges']=_0x50045a;}static['create'](_0x521ea2,_0x2d8875,_0x1e55fb){return new ViewUpdate(_0x521ea2,_0x2d8875,_0x1e55fb);}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'](_0x11b07f=>_0x11b07f['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}}class _0x2625ad extends ContentView{get['length'](){return this['view']['state']['doc']['length'];}constructor(_0x5dbb47){super(),this['view']=_0x5dbb47,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'](_0x5dbb47['contentDOM']),this['children']=[new _0x32c628()],this['children'][0x0]['setParent'](this),this['updateDeco'](),this['updateInner']([new _0xaeeecc(0x0,0x0,0x0,_0x5dbb47['state']['doc']['length'])],0x0,null);}['update'](_0x4f866c){var _0x20c123;let _0x271cf7=_0x4f866c['changedRanges'];this['minWidth']>0x0&&_0x271cf7['length']&&(_0x271cf7['every'](({fromA:_0x464e14,toA:_0x5b8505})=>_0x5b8505<this['minWidthFrom']||_0x464e14>this['minWidthTo'])?(this['minWidthFrom']=_0x4f866c['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x4f866c['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x4f866c);let _0x19caff=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x20c123=this['domChanged'])||void 0x0===_0x20c123?void 0x0:_0x20c123['newSel'])?_0x19caff=this['domChanged']['newSel']['head']:touchesComposition(_0x4f866c['changes'],this['hasComposition'])||_0x4f866c['selectionSet']||(_0x19caff=_0x4f866c['state']['selection']['main']['head']));let _0x5472d1=_0x19caff>-0x1?findCompositionRange(this['view'],_0x4f866c['changes'],_0x19caff):null;if(this['domChanged']=null,this['hasComposition']){this['markedForComposition']['clear']();let {from:_0x529ccf,to:_0x1bcac1}=this['hasComposition'];_0x271cf7=new _0xaeeecc(_0x529ccf,_0x1bcac1,_0x4f866c['changes']['mapPos'](_0x529ccf,-0x1),_0x4f866c['changes']['mapPos'](_0x1bcac1,0x1))['addToSet'](_0x271cf7['slice']());}this['hasComposition']=_0x5472d1?{'from':_0x5472d1['range']['fromB'],'to':_0x5472d1['range']['toB']}:null,(_0x394245['ie']||_0x394245['chrome'])&&!_0x5472d1&&_0x4f866c&&_0x4f866c['state']['doc']['lines']!=_0x4f866c['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x4cd7c3=_0x2d996f(this['decorations'],this['updateDeco'](),_0x4f866c['changes']);return _0x271cf7=_0xaeeecc['extendWithRanges'](_0x271cf7,_0x4cd7c3),!!(0x7&this['flags']||0x0!=_0x271cf7['length'])&&(this['updateInner'](_0x271cf7,_0x4f866c['startState']['doc']['length'],_0x5472d1),_0x4f866c['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0x33ae40,_0x538a99,_0x8055ec){this['view']['viewState']['mustMeasureContent']=!0x0,this['updateChildren'](_0x33ae40,_0x538a99,_0x8055ec);let {observer:_0x1788f3}=this['view'];_0x1788f3['ignore'](()=>{this['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x547061=_0x394245['chrome']||_0x394245['ios']?{'node':_0x1788f3['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['sync'](this['view'],_0x547061),this['flags']&=-0x8,_0x547061&&(_0x547061['written']||_0x1788f3['selectionRange']['focusNode']!=_0x547061['node'])&&(this['forceSelection']=!0x0),this['dom']['style']['height']='';}),this['markedForComposition']['forEach'](_0x2abc55=>_0x2abc55['flags']&=-0x9);let _0x1b31e8=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0x440952 of this['children'])_0x440952 instanceof BlockWidgetView&&_0x440952['widget']instanceof BlockGapWidget&&_0x1b31e8['push'](_0x440952['dom']);}_0x1788f3['updateGaps'](_0x1b31e8);}['updateChildren'](_0xa9b7ab,_0x2656c0,_0x57a652){let _0x2eaf14=_0x57a652?_0x57a652['range']['addToSet'](_0xa9b7ab['slice']()):_0xa9b7ab,_0x1a20c8=this['childCursor'](_0x2656c0);for(let _0x22b2c3=_0x2eaf14['length']-0x1;;_0x22b2c3--){let _0x1e87f6=_0x22b2c3>=0x0?_0x2eaf14[_0x22b2c3]:null;if(!_0x1e87f6)break;let _0x1959aa,_0x12bd62,_0x4ddce1,_0x45391f,{fromA:_0x11d76b,toA:_0x373812,fromB:_0x25edf7,toB:_0x23bcdc}=_0x1e87f6;if(_0x57a652&&_0x57a652['range']['fromB']<_0x23bcdc&&_0x57a652['range']['toB']>_0x25edf7){let _0x578a04=ContentBuilder['build'](this['view']['state']['doc'],_0x25edf7,_0x57a652['range']['fromB'],this['decorations'],this['dynamicDecorationMap']),_0xd1f9e5=ContentBuilder['build'](this['view']['state']['doc'],_0x57a652['range']['toB'],_0x23bcdc,this['decorations'],this['dynamicDecorationMap']);_0x12bd62=_0x578a04['breakAtStart'],_0x4ddce1=_0x578a04['openStart'],_0x45391f=_0xd1f9e5['openEnd'];let _0x5133fd=this['compositionView'](_0x57a652);_0xd1f9e5['breakAtStart']?_0x5133fd['breakAfter']=0x1:_0xd1f9e5['content']['length']&&_0x5133fd['merge'](_0x5133fd['length'],_0x5133fd['length'],_0xd1f9e5['content'][0x0],!0x1,_0xd1f9e5['openStart'],0x0)&&(_0x5133fd['breakAfter']=_0xd1f9e5['content'][0x0]['breakAfter'],_0xd1f9e5['content']['shift']()),_0x578a04['content']['length']&&_0x5133fd['merge'](0x0,0x0,_0x578a04['content'][_0x578a04['content']['length']-0x1],!0x0,0x0,_0x578a04['openEnd'])&&_0x578a04['content']['pop'](),_0x1959aa=_0x578a04['content']['concat'](_0x5133fd)['concat'](_0xd1f9e5['content']);}else({content:_0x1959aa,breakAtStart:_0x12bd62,openStart:_0x4ddce1,openEnd:_0x45391f}=ContentBuilder['build'](this['view']['state']['doc'],_0x25edf7,_0x23bcdc,this['decorations'],this['dynamicDecorationMap']));let {i:_0x2c4947,off:_0x298345}=_0x1a20c8['findPos'](_0x373812,0x1),{i:_0x368089,off:_0x3b8f62}=_0x1a20c8['findPos'](_0x11d76b,-0x1);_0x2dc570(this,_0x368089,_0x3b8f62,_0x2c4947,_0x298345,_0x1959aa,_0x12bd62,_0x4ddce1,_0x45391f);}_0x57a652&&this['fixCompositionDOM'](_0x57a652);}['updateEditContextFormatting'](_0x31bb37){this['editContextFormatting']=this['editContextFormatting']['map'](_0x31bb37['changes']);for(let _0x84a056 of _0x31bb37['transactions'])for(let _0x8e2e3c of _0x84a056['effects'])_0x8e2e3c['is'](setEditContextFormatting)&&(this['editContextFormatting']=_0x8e2e3c['value']);}['compositionView'](_0xdea337){let _0x450543=new TextView(_0xdea337['text']['nodeValue']);_0x450543['flags']|=0x8;for(let {deco:_0x120f3a}of _0xdea337['marks'])_0x450543=new _0x3a3d3f(_0x120f3a,[_0x450543],_0x450543['length']);let _0x2a0ff0=new _0x32c628();return _0x2a0ff0['append'](_0x450543,0x0),_0x2a0ff0;}['fixCompositionDOM'](_0x303406){let _0x12dc04=(_0x4416cc,_0x1fd7bb)=>{_0x1fd7bb['flags']|=0x8|(_0x1fd7bb['children']['some'](_0x5a452c=>0x7&_0x5a452c['flags'])?0x1:0x0),this['markedForComposition']['add'](_0x1fd7bb);let _0x10de4c=ContentView['get'](_0x4416cc);_0x10de4c&&_0x10de4c!=_0x1fd7bb&&(_0x10de4c['dom']=null),_0x1fd7bb['setDOM'](_0x4416cc);},_0xd7b50e=this['childPos'](_0x303406['range']['fromB'],0x1),_0x4818a6=this['children'][_0xd7b50e['i']];_0x12dc04(_0x303406['line'],_0x4818a6);for(let _0x48e1bc=_0x303406['marks']['length']-0x1;_0x48e1bc>=-0x1;_0x48e1bc--)_0xd7b50e=_0x4818a6['childPos'](_0xd7b50e['off'],0x1),_0x4818a6=_0x4818a6['children'][_0xd7b50e['i']],_0x12dc04(_0x48e1bc>=0x0?_0x303406['marks'][_0x48e1bc]['node']:_0x303406['text'],_0x4818a6);}['updateSelection'](_0x1cb59e=!0x1,_0x25a14=!0x1){!_0x1cb59e&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let _0x380d19=this['view']['root']['activeElement'],_0x4938db=_0x380d19==this['dom'],_0x5aecb6=!_0x4938db&&!(this['view']['state']['facet'](editable)||this['dom']['tabIndex']>-0x1)&&hasSelection(this['dom'],this['view']['observer']['selectionRange'])&&!(_0x380d19&&this['dom']['contains'](_0x380d19));if(!(_0x4938db||_0x25a14||_0x5aecb6))return;let _0x4da833=this['forceSelection'];this['forceSelection']=!0x1;let _0x162ccb=this['view']['state']['selection']['main'],_0x3b06cc=this['moveToLine'](this['domAtPos'](_0x162ccb['anchor'])),_0x2f3c98=_0x162ccb['empty']?_0x3b06cc:this['moveToLine'](this['domAtPos'](_0x162ccb['head']));if(_0x394245['gecko']&&_0x162ccb['empty']&&!this['hasComposition']&&betweenUneditable(_0x3b06cc)){let _0x10a11e=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0x3b06cc['node']['insertBefore'](_0x10a11e,_0x3b06cc['node']['childNodes'][_0x3b06cc['offset']]||null)),_0x3b06cc=_0x2f3c98=new _0x22b6c3(_0x10a11e,0x0),_0x4da833=!0x0;}let _0x279603=this['view']['observer']['selectionRange'];!_0x4da833&&_0x279603['focusNode']&&(isEquivalentPosition(_0x3b06cc['node'],_0x3b06cc['offset'],_0x279603['anchorNode'],_0x279603['anchorOffset'])&&isEquivalentPosition(_0x2f3c98['node'],_0x2f3c98['offset'],_0x279603['focusNode'],_0x279603['focusOffset'])||this['suppressWidgetCursorChange'](_0x279603,_0x162ccb))||(this['view']['observer']['ignore'](()=>{_0x394245['android']&&_0x394245['chrome']&&this['dom']['contains'](_0x279603['focusNode'])&&inUneditable(_0x279603['focusNode'],this['dom'])&&(this['dom']['blur'](),this['dom']['focus']({'preventScroll':!0x0}));let _0x4c41ca=getSelection(this['view']['root']);if(_0x4c41ca){if(_0x162ccb['empty']){if(_0x394245['gecko']){let _0x5c998d=nextToUneditable(_0x3b06cc['node'],_0x3b06cc['offset']);if(_0x5c998d&&0x3!=_0x5c998d){let _0x59fe33=(0x1==_0x5c998d?textNodeBefore:textNodeAfter)(_0x3b06cc['node'],_0x3b06cc['offset']);_0x59fe33&&(_0x3b06cc=new _0x22b6c3(_0x59fe33['node'],_0x59fe33['offset']));}}_0x4c41ca['collapse'](_0x3b06cc['node'],_0x3b06cc['offset']),null!=_0x162ccb['bidiLevel']&&void 0x0!==_0x4c41ca['caretBidiLevel']&&(_0x4c41ca['caretBidiLevel']=_0x162ccb['bidiLevel']);}else{if(_0x4c41ca['extend']){_0x4c41ca['collapse'](_0x3b06cc['node'],_0x3b06cc['offset']);try{_0x4c41ca['extend'](_0x2f3c98['node'],_0x2f3c98['offset']);}catch(_0x399047){}}else{let _0x47cf2c=document['createRange']();_0x162ccb['anchor']>_0x162ccb['head']&&([_0x3b06cc,_0x2f3c98]=[_0x2f3c98,_0x3b06cc]),_0x47cf2c['setEnd'](_0x2f3c98['node'],_0x2f3c98['offset']),_0x47cf2c['setStart'](_0x3b06cc['node'],_0x3b06cc['offset']),_0x4c41ca['removeAllRanges'](),_0x4c41ca['addRange'](_0x47cf2c);}}}else;_0x5aecb6&&this['view']['root']['activeElement']==this['dom']&&(this['dom']['blur'](),_0x380d19&&_0x380d19['focus']());}),this['view']['observer']['setSelectionRange'](_0x3b06cc,_0x2f3c98)),this['impreciseAnchor']=_0x3b06cc['precise']?null:new _0x22b6c3(_0x279603['anchorNode'],_0x279603['anchorOffset']),this['impreciseHead']=_0x2f3c98['precise']?null:new _0x22b6c3(_0x279603['focusNode'],_0x279603['focusOffset']);}['suppressWidgetCursorChange'](_0x1a2a42,_0x2f8db5){return this['hasComposition']&&_0x2f8db5['empty']&&isEquivalentPosition(_0x1a2a42['focusNode'],_0x1a2a42['focusOffset'],_0x1a2a42['anchorNode'],_0x1a2a42['anchorOffset'])&&this['posFromDOM'](_0x1a2a42['focusNode'],_0x1a2a42['focusOffset'])==_0x2f8db5['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x477563}=this,_0x4f9506=_0x477563['state']['selection']['main'],_0x185ff0=getSelection(_0x477563['root']),{anchorNode:_0x26fed8,anchorOffset:_0x4c63aa}=_0x477563['observer']['selectionRange'];if(!(_0x185ff0&&_0x4f9506['empty']&&_0x4f9506['assoc']&&_0x185ff0['modify']))return;let _0x344534=_0x32c628['find'](this,_0x4f9506['head']);if(!_0x344534)return;let _0x4b0b51=_0x344534['posAtStart'];if(_0x4f9506['head']==_0x4b0b51||_0x4f9506['head']==_0x4b0b51+_0x344534['length'])return;let _0xa9c32f=this['coordsAt'](_0x4f9506['head'],-0x1),_0x440b6c=this['coordsAt'](_0x4f9506['head'],0x1);if(!_0xa9c32f||!_0x440b6c||_0xa9c32f['bottom']>_0x440b6c['top'])return;let _0x37425d=this['domAtPos'](_0x4f9506['head']+_0x4f9506['assoc']);_0x185ff0['collapse'](_0x37425d['node'],_0x37425d['offset']),_0x185ff0['modify']('move',_0x4f9506['assoc']<0x0?'forward':'backward','lineboundary'),_0x477563['observer']['readSelectionRange']();let _0x51e483=_0x477563['observer']['selectionRange'];_0x477563['docView']['posFromDOM'](_0x51e483['anchorNode'],_0x51e483['anchorOffset'])!=_0x4f9506['from']&&_0x185ff0['collapse'](_0x26fed8,_0x4c63aa);}['moveToLine'](_0x18506c){let _0x2143f2,_0x134605=this['dom'];if(_0x18506c['node']!=_0x134605)return _0x18506c;for(let _0x49d119=_0x18506c['offset'];!_0x2143f2&&_0x49d119<_0x134605['childNodes']['length'];_0x49d119++){let _0x116156=ContentView['get'](_0x134605['childNodes'][_0x49d119]);_0x116156 instanceof _0x32c628&&(_0x2143f2=_0x116156['domAtPos'](0x0));}for(let _0x31eade=_0x18506c['offset']-0x1;!_0x2143f2&&_0x31eade>=0x0;_0x31eade--){let _0x491aa6=ContentView['get'](_0x134605['childNodes'][_0x31eade]);_0x491aa6 instanceof _0x32c628&&(_0x2143f2=_0x491aa6['domAtPos'](_0x491aa6['length']));}return _0x2143f2?new _0x22b6c3(_0x2143f2['node'],_0x2143f2['offset'],!0x0):_0x18506c;}['nearest'](_0x5e7fe1){for(let _0xd0bb96=_0x5e7fe1;_0xd0bb96;){let _0x24d032=ContentView['get'](_0xd0bb96);if(_0x24d032&&_0x24d032['rootView']==this)return _0x24d032;_0xd0bb96=_0xd0bb96['parentNode'];}return null;}['posFromDOM'](_0x8e735,_0x381c6f){let _0x1bc800=this['nearest'](_0x8e735);if(!_0x1bc800)throw new RangeError('Trying\x20to\x20find\x20position\x20for\x20a\x20DOM\x20position\x20outside\x20of\x20the\x20document');return _0x1bc800['localPosFromDOM'](_0x8e735,_0x381c6f)+_0x1bc800['posAtStart'];}['domAtPos'](_0x2214ee){let {i:_0x59e467,off:_0x6d988b}=this['childCursor']()['findPos'](_0x2214ee,-0x1);for(;_0x59e467<this['children']['length']-0x1;){let _0xafef8a=this['children'][_0x59e467];if(_0x6d988b<_0xafef8a['length']||_0xafef8a instanceof _0x32c628)break;_0x59e467++,_0x6d988b=0x0;}return this['children'][_0x59e467]['domAtPos'](_0x6d988b);}['coordsAt'](_0x42d445,_0x2869cb){let _0x39ca7d=null,_0x4822ce=0x0;for(let _0x340974=this['length'],_0x5e4ea3=this['children']['length']-0x1;_0x5e4ea3>=0x0;_0x5e4ea3--){let _0x18f40a=this['children'][_0x5e4ea3],_0x446223=_0x340974-_0x18f40a['breakAfter'],_0x40b45c=_0x446223-_0x18f40a['length'];if(_0x446223<_0x42d445)break;if(_0x40b45c<=_0x42d445&&(_0x40b45c<_0x42d445||_0x18f40a['covers'](-0x1))&&(_0x446223>_0x42d445||_0x18f40a['covers'](0x1))&&(!_0x39ca7d||_0x18f40a instanceof _0x32c628&&!(_0x39ca7d instanceof _0x32c628&&_0x2869cb>=0x0)))_0x39ca7d=_0x18f40a,_0x4822ce=_0x40b45c;else{if(_0x39ca7d&&_0x40b45c==_0x42d445&&_0x446223==_0x42d445&&_0x18f40a instanceof BlockWidgetView&&Math['abs'](_0x2869cb)<0x2){if(_0x18f40a['deco']['startSide']<0x0)break;_0x5e4ea3&&(_0x39ca7d=null);}}_0x340974=_0x40b45c;}return _0x39ca7d?_0x39ca7d['coordsAt'](_0x42d445-_0x4822ce,_0x2869cb):null;}['coordsForChar'](_0x5caead){let {i:_0x45b408,off:_0x433cd6}=this['childPos'](_0x5caead,0x1),_0x880bff=this['children'][_0x45b408];if(!(_0x880bff instanceof _0x32c628))return null;for(;_0x880bff['children']['length'];){let {i:_0x5c5e31,off:_0x2e03fb}=_0x880bff['childPos'](_0x433cd6,0x1);for(;;_0x5c5e31++){if(_0x5c5e31==_0x880bff['children']['length'])return null;if((_0x880bff=_0x880bff['children'][_0x5c5e31])['length'])break;}_0x433cd6=_0x2e03fb;}if(!(_0x880bff instanceof TextView))return null;let _0x2f1451=findClusterBreak(_0x880bff['text'],_0x433cd6);if(_0x2f1451==_0x433cd6)return null;let _0x1c7292=textRange(_0x880bff['dom'],_0x433cd6,_0x2f1451)['getClientRects']();for(let _0x1745a4=0x0;_0x1745a4<_0x1c7292['length'];_0x1745a4++){let _0x5e0058=_0x1c7292[_0x1745a4];if(_0x1745a4==_0x1c7292['length']-0x1||_0x5e0058['top']<_0x5e0058['bottom']&&_0x5e0058['left']<_0x5e0058['right'])return _0x5e0058;}return null;}['measureVisibleLineHeights'](_0x52fb56){let _0x2f459a=[],{from:_0x6b8ed8,to:_0x5ab036}=_0x52fb56,_0x1cc396=this['view']['contentDOM']['clientWidth'],_0x174c38=_0x1cc396>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0x28aa0b=-0x1,_0x8dc27f=this['view']['textDirection']==Direction['LTR'];for(let _0x3a21ae=0x0,_0x41b14b=0x0;_0x41b14b<this['children']['length'];_0x41b14b++){let _0xc35419=this['children'][_0x41b14b],_0x1989c3=_0x3a21ae+_0xc35419['length'];if(_0x1989c3>_0x5ab036)break;if(_0x3a21ae>=_0x6b8ed8){let _0x2e60aa=_0xc35419['dom']['getBoundingClientRect']();if(_0x2f459a['push'](_0x2e60aa['height']),_0x174c38){let _0x4a9657=_0xc35419['dom']['lastChild'],_0x2b1ced=_0x4a9657?clientRectsFor(_0x4a9657):[];if(_0x2b1ced['length']){let _0x20577e=_0x2b1ced[_0x2b1ced['length']-0x1],_0xe34ad7=_0x8dc27f?_0x20577e['right']-_0x2e60aa['left']:_0x2e60aa['right']-_0x20577e['left'];_0xe34ad7>_0x28aa0b&&(_0x28aa0b=_0xe34ad7,this['minWidth']=_0x1cc396,this['minWidthFrom']=_0x3a21ae,this['minWidthTo']=_0x1989c3);}}}_0x3a21ae=_0x1989c3+_0xc35419['breakAfter'];}return _0x2f459a;}['textDirectionAt'](_0xcab2e8){let {i:_0x217cd5}=this['childPos'](_0xcab2e8,0x1);return'rtl'==getComputedStyle(this['children'][_0x217cd5]['dom'])['direction']?Direction['RTL']:Direction['LTR'];}['measureTextSize'](){for(let _0x30336e of this['children'])if(_0x30336e instanceof _0x32c628){let _0x3c1d41=_0x30336e['measureTextSize']();if(_0x3c1d41)return _0x3c1d41;}let _0x36c010,_0x2966be,_0x10f55b,_0xee3e7f=document['createElement']('div');return _0xee3e7f['className']='cm-line',_0xee3e7f['style']['width']='99999px',_0xee3e7f['style']['position']='absolute',_0xee3e7f['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['dom']['appendChild'](_0xee3e7f);let _0x37cfa5=clientRectsFor(_0xee3e7f['firstChild'])[0x0];_0x36c010=_0xee3e7f['getBoundingClientRect']()['height'],_0x2966be=_0x37cfa5?_0x37cfa5['width']/0x1b:0x7,_0x10f55b=_0x37cfa5?_0x37cfa5['height']:_0x36c010,_0xee3e7f['remove']();}),{'lineHeight':_0x36c010,'charWidth':_0x2966be,'textHeight':_0x10f55b};}['childCursor'](_0x242de1=this['length']){let _0x4bb84b=this['children']['length'];return _0x4bb84b&&(_0x242de1-=this['children'][--_0x4bb84b]['length']),new _0x3c3d70(this['children'],_0x242de1,_0x4bb84b);}['computeBlockGapDeco'](){let _0x31f063=[],_0x53c03b=this['view']['viewState'];for(let _0x499590=0x0,_0x52189c=0x0;;_0x52189c++){let _0x4bda58=_0x52189c==_0x53c03b['viewports']['length']?null:_0x53c03b['viewports'][_0x52189c],_0x2a0120=_0x4bda58?_0x4bda58['from']-0x1:this['length'];if(_0x2a0120>_0x499590){let _0x3dbfd8=(_0x53c03b['lineBlockAt'](_0x2a0120)['bottom']-_0x53c03b['lineBlockAt'](_0x499590)['top'])/this['view']['scaleY'];_0x31f063['push'](Decoration['replace']({'widget':new BlockGapWidget(_0x3dbfd8),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x499590,_0x2a0120));}if(!_0x4bda58)break;_0x499590=_0x4bda58['to']+0x1;}return Decoration['set'](_0x31f063);}['updateDeco'](){let _0x45e052=0x1,_0x5c4fd9=this['view']['state']['facet'](decorations)['map'](_0x5c3ba1=>(this['dynamicDecorationMap'][_0x45e052++]='function'==typeof _0x5c3ba1)?_0x5c3ba1(this['view']):_0x5c3ba1),_0x413b06=!0x1,_0x39506d=this['view']['state']['facet'](outerDecorations)['map']((_0x3b8198,_0x1d48e4)=>{let _0x1270d5='function'==typeof _0x3b8198;return _0x1270d5&&(_0x413b06=!0x0),_0x1270d5?_0x3b8198(this['view']):_0x3b8198;});for(_0x39506d['length']&&(this['dynamicDecorationMap'][_0x45e052++]=_0x413b06,_0x5c4fd9['push'](RangeSet['join'](_0x39506d))),this['decorations']=[this['editContextFormatting'],..._0x5c4fd9,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0x45e052<this['decorations']['length'];)this['dynamicDecorationMap'][_0x45e052++]=!0x1;return this['decorations'];}['scrollIntoView'](_0x5c057c){if(_0x5c057c['isSnapshot']){let _0x19333d=this['view']['viewState']['lineBlockAt'](_0x5c057c['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x19333d['top']-_0x5c057c['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x5c057c['xMargin']);}for(let _0x36a96a of this['view']['state']['facet'](_0x4a8fac))try{if(_0x36a96a(this['view'],_0x5c057c['range'],_0x5c057c))return!0x0;}catch(_0x329f81){logException(this['view']['state'],_0x329f81,'scroll\x20handler');}let _0x20603c,{range:_0x493fee}=_0x5c057c,_0x4ee054=this['coordsAt'](_0x493fee['head'],_0x493fee['empty']?_0x493fee['assoc']:_0x493fee['head']>_0x493fee['anchor']?-0x1:0x1);if(!_0x4ee054)return;!_0x493fee['empty']&&(_0x20603c=this['coordsAt'](_0x493fee['anchor'],_0x493fee['anchor']>_0x493fee['head']?-0x1:0x1))&&(_0x4ee054={'left':Math['min'](_0x4ee054['left'],_0x20603c['left']),'top':Math['min'](_0x4ee054['top'],_0x20603c['top']),'right':Math['max'](_0x4ee054['right'],_0x20603c['right']),'bottom':Math['max'](_0x4ee054['bottom'],_0x20603c['bottom'])});let _0x2efa86=getScrollMargins(this['view']),_0x44e084={'left':_0x4ee054['left']-_0x2efa86['left'],'top':_0x4ee054['top']-_0x2efa86['top'],'right':_0x4ee054['right']+_0x2efa86['right'],'bottom':_0x4ee054['bottom']+_0x2efa86['bottom']},{offsetWidth:_0x1f9101,offsetHeight:_0xa92787}=this['view']['scrollDOM'];scrollRectIntoView(this['view']['scrollDOM'],_0x44e084,_0x493fee['head']<_0x493fee['anchor']?-0x1:0x1,_0x5c057c['x'],_0x5c057c['y'],Math['max'](Math['min'](_0x5c057c['xMargin'],_0x1f9101),-_0x1f9101),Math['max'](Math['min'](_0x5c057c['yMargin'],_0xa92787),-_0xa92787),this['view']['textDirection']==Direction['LTR']);}}function betweenUneditable(_0x116978){return 0x1==_0x116978['node']['nodeType']&&_0x116978['node']['firstChild']&&(0x0==_0x116978['offset']||'false'==_0x116978['node']['childNodes'][_0x116978['offset']-0x1]['contentEditable'])&&(_0x116978['offset']==_0x116978['node']['childNodes']['length']||'false'==_0x116978['node']['childNodes'][_0x116978['offset']]['contentEditable']);}function findCompositionNode(_0xed4b13,_0x22fdbf){let _0x49ea8c=_0xed4b13['observer']['selectionRange'];if(!_0x49ea8c['focusNode'])return null;let _0x3a947a=textNodeBefore(_0x49ea8c['focusNode'],_0x49ea8c['focusOffset']),_0x3e15b2=textNodeAfter(_0x49ea8c['focusNode'],_0x49ea8c['focusOffset']),_0x5d80bb=_0x3a947a||_0x3e15b2;if(_0x3e15b2&&_0x3a947a&&_0x3e15b2['node']!=_0x3a947a['node']){let _0x2763f3=ContentView['get'](_0x3e15b2['node']);if(!_0x2763f3||_0x2763f3 instanceof TextView&&_0x2763f3['text']!=_0x3e15b2['node']['nodeValue'])_0x5d80bb=_0x3e15b2;else{if(_0xed4b13['docView']['lastCompositionAfterCursor']){let _0x26cd32=ContentView['get'](_0x3a947a['node']);!_0x26cd32||_0x26cd32 instanceof TextView&&_0x26cd32['text']!=_0x3a947a['node']['nodeValue']||(_0x5d80bb=_0x3e15b2);}}}if(_0xed4b13['docView']['lastCompositionAfterCursor']=_0x5d80bb!=_0x3a947a,!_0x5d80bb)return null;let _0x599843=_0x22fdbf-_0x5d80bb['offset'];return{'from':_0x599843,'to':_0x599843+_0x5d80bb['node']['nodeValue']['length'],'node':_0x5d80bb['node']};}function findCompositionRange(_0x4e8e43,_0x5eefd8,_0x42e97e){let _0x4ded8c=findCompositionNode(_0x4e8e43,_0x42e97e);if(!_0x4ded8c)return null;let {node:_0x105b81,from:_0x59bc7d,to:_0x658054}=_0x4ded8c,_0x58ffb1=_0x105b81['nodeValue'];if(/[\n\r]/['test'](_0x58ffb1))return null;if(_0x4e8e43['state']['doc']['sliceString'](_0x4ded8c['from'],_0x4ded8c['to'])!=_0x58ffb1)return null;let _0x1f2161=_0x5eefd8['invertedDesc'],_0x1164d2=new _0xaeeecc(_0x1f2161['mapPos'](_0x59bc7d),_0x1f2161['mapPos'](_0x658054),_0x59bc7d,_0x658054),_0x27d9c8=[];for(let _0x420c83=_0x105b81['parentNode'];;_0x420c83=_0x420c83['parentNode']){let _0x587f08=ContentView['get'](_0x420c83);if(_0x587f08 instanceof _0x3a3d3f)_0x27d9c8['push']({'node':_0x420c83,'deco':_0x587f08['mark']});else{if(_0x587f08 instanceof _0x32c628||'DIV'==_0x420c83['nodeName']&&_0x420c83['parentNode']==_0x4e8e43['contentDOM'])return{'range':_0x1164d2,'text':_0x105b81,'marks':_0x27d9c8,'line':_0x420c83};if(_0x420c83==_0x4e8e43['contentDOM'])return null;_0x27d9c8['push']({'node':_0x420c83,'deco':new MarkDecoration({'inclusive':!0x0,'attributes':getAttrs$1(_0x420c83),'tagName':_0x420c83['tagName']['toLowerCase']()})});}}}function nextToUneditable(_0x5894e2,_0x3d8ed7){return 0x1!=_0x5894e2['nodeType']?0x0:(_0x3d8ed7&&'false'==_0x5894e2['childNodes'][_0x3d8ed7-0x1]['contentEditable']?0x1:0x0)|(_0x3d8ed7<_0x5894e2['childNodes']['length']&&'false'==_0x5894e2['childNodes'][_0x3d8ed7]['contentEditable']?0x2:0x0);}let DecorationComparator$1=class{constructor(){this['changes']=[];}['compareRange'](_0x485046,_0x557b06){_0x318814(_0x485046,_0x557b06,this['changes']);}['comparePoint'](_0x339e6d,_0x3bf1fd){_0x318814(_0x339e6d,_0x3bf1fd,this['changes']);}['boundChange'](_0x55b171){_0x318814(_0x55b171,_0x55b171,this['changes']);}};function _0x2d996f(_0x350083,_0x28b4fc,_0x4cbd68){let _0x321855=new DecorationComparator$1();return RangeSet['compare'](_0x350083,_0x28b4fc,_0x4cbd68,_0x321855),_0x321855['changes'];}function inUneditable(_0x69a103,_0x508868){for(let _0x2085e6=_0x69a103;_0x2085e6&&_0x2085e6!=_0x508868;_0x2085e6=_0x2085e6['assignedSlot']||_0x2085e6['parentNode'])if(0x1==_0x2085e6['nodeType']&&'false'==_0x2085e6['contentEditable'])return!0x0;return!0x1;}function touchesComposition(_0x2d44db,_0x2785e){let _0x4cb93f=!0x1;return _0x2785e&&_0x2d44db['iterChangedRanges']((_0x314f97,_0x3acca5)=>{_0x314f97<_0x2785e['to']&&_0x3acca5>_0x2785e['from']&&(_0x4cb93f=!0x0);}),_0x4cb93f;}function groupAt(_0x51e113,_0x571ef3,_0x4a509e=0x1){let _0x5576be=_0x51e113['charCategorizer'](_0x571ef3),_0x3919fe=_0x51e113['doc']['lineAt'](_0x571ef3),_0x93b5b7=_0x571ef3-_0x3919fe['from'];if(0x0==_0x3919fe['length'])return EditorSelection['cursor'](_0x571ef3);0x0==_0x93b5b7?_0x4a509e=0x1:_0x93b5b7==_0x3919fe['length']&&(_0x4a509e=-0x1);let _0x43e9a2=_0x93b5b7,_0x396a94=_0x93b5b7;_0x4a509e<0x0?_0x43e9a2=findClusterBreak(_0x3919fe['text'],_0x93b5b7,!0x1):_0x396a94=findClusterBreak(_0x3919fe['text'],_0x93b5b7);let _0x5681f1=_0x5576be(_0x3919fe['text']['slice'](_0x43e9a2,_0x396a94));for(;_0x43e9a2>0x0;){let _0x3f4a3a=findClusterBreak(_0x3919fe['text'],_0x43e9a2,!0x1);if(_0x5576be(_0x3919fe['text']['slice'](_0x3f4a3a,_0x43e9a2))!=_0x5681f1)break;_0x43e9a2=_0x3f4a3a;}for(;_0x396a94<_0x3919fe['length'];){let _0x913d95=findClusterBreak(_0x3919fe['text'],_0x396a94);if(_0x5576be(_0x3919fe['text']['slice'](_0x396a94,_0x913d95))!=_0x5681f1)break;_0x396a94=_0x913d95;}return EditorSelection['range'](_0x43e9a2+_0x3919fe['from'],_0x396a94+_0x3919fe['from']);}function getdx(_0x1afe0a,_0x515ef6){return _0x515ef6['left']>_0x1afe0a?_0x515ef6['left']-_0x1afe0a:Math['max'](0x0,_0x1afe0a-_0x515ef6['right']);}function getdy(_0x48b90f,_0x50cc91){return _0x50cc91['top']>_0x48b90f?_0x50cc91['top']-_0x48b90f:Math['max'](0x0,_0x48b90f-_0x50cc91['bottom']);}function _0x4f26e0(_0x360bd4,_0x2765c1){return _0x360bd4['top']<_0x2765c1['bottom']-0x1&&_0x360bd4['bottom']>_0x2765c1['top']+0x1;}function _0x5d5703(_0x58036f,_0xc46ea8){return _0xc46ea8<_0x58036f['top']?{'top':_0xc46ea8,'left':_0x58036f['left'],'right':_0x58036f['right'],'bottom':_0x58036f['bottom']}:_0x58036f;}function upBot(_0x4e0ab5,_0x3ebcc0){return _0x3ebcc0>_0x4e0ab5['bottom']?{'top':_0x4e0ab5['top'],'left':_0x4e0ab5['left'],'right':_0x4e0ab5['right'],'bottom':_0x3ebcc0}:_0x4e0ab5;}function domPosAtCoords(_0x4f2bb6,_0x4525d6,_0x33bb26){let _0x244491,_0x4c88a7,_0x36821d,_0x4af37b,_0x4ce91b,_0x2c7842,_0x5aface,_0x614888,_0x3d4600=!0x1;for(let _0x34147d=_0x4f2bb6['firstChild'];_0x34147d;_0x34147d=_0x34147d['nextSibling']){let _0x364e04=clientRectsFor(_0x34147d);for(let _0x376b32=0x0;_0x376b32<_0x364e04['length'];_0x376b32++){let _0x5614b1=_0x364e04[_0x376b32];_0x4c88a7&&_0x4f26e0(_0x4c88a7,_0x5614b1)&&(_0x5614b1=_0x5d5703(upBot(_0x5614b1,_0x4c88a7['bottom']),_0x4c88a7['top']));let _0x1bef00=getdx(_0x4525d6,_0x5614b1),_0x19735f=getdy(_0x33bb26,_0x5614b1);if(0x0==_0x1bef00&&0x0==_0x19735f)return 0x3==_0x34147d['nodeType']?domPosInText(_0x34147d,_0x4525d6,_0x33bb26):domPosAtCoords(_0x34147d,_0x4525d6,_0x33bb26);(!_0x244491||_0x4af37b>_0x19735f||_0x4af37b==_0x19735f&&_0x36821d>_0x1bef00)&&(_0x244491=_0x34147d,_0x4c88a7=_0x5614b1,_0x36821d=_0x1bef00,_0x4af37b=_0x19735f,_0x3d4600=!_0x1bef00||(_0x4525d6<_0x5614b1['left']?_0x376b32>0x0:_0x376b32<_0x364e04['length']-0x1)),0x0==_0x1bef00?_0x33bb26>_0x5614b1['bottom']&&(!_0x5aface||_0x5aface['bottom']<_0x5614b1['bottom'])?(_0x4ce91b=_0x34147d,_0x5aface=_0x5614b1):_0x33bb26<_0x5614b1['top']&&(!_0x614888||_0x614888['top']>_0x5614b1['top'])&&(_0x2c7842=_0x34147d,_0x614888=_0x5614b1):_0x5aface&&_0x4f26e0(_0x5aface,_0x5614b1)?_0x5aface=upBot(_0x5aface,_0x5614b1['bottom']):_0x614888&&_0x4f26e0(_0x614888,_0x5614b1)&&(_0x614888=_0x5d5703(_0x614888,_0x5614b1['top']));}}if(_0x5aface&&_0x5aface['bottom']>=_0x33bb26?(_0x244491=_0x4ce91b,_0x4c88a7=_0x5aface):_0x614888&&_0x614888['top']<=_0x33bb26&&(_0x244491=_0x2c7842,_0x4c88a7=_0x614888),!_0x244491)return{'node':_0x4f2bb6,'offset':0x0};let _0x13cffe=Math['max'](_0x4c88a7['left'],Math['min'](_0x4c88a7['right'],_0x4525d6));return 0x3==_0x244491['nodeType']?domPosInText(_0x244491,_0x13cffe,_0x33bb26):_0x3d4600&&'false'!=_0x244491['contentEditable']?domPosAtCoords(_0x244491,_0x13cffe,_0x33bb26):{'node':_0x4f2bb6,'offset':Array['prototype']['indexOf']['call'](_0x4f2bb6['childNodes'],_0x244491)+(_0x4525d6>=(_0x4c88a7['left']+_0x4c88a7['right'])/0x2?0x1:0x0)};}function domPosInText(_0x112c68,_0x154b50,_0x412d8a){let _0x1f4c4c=_0x112c68['nodeValue']['length'],_0x22e882=-0x1,_0x1167d6=0x3b9aca00,_0x99f470=0x0;for(let _0xbca519=0x0;_0xbca519<_0x1f4c4c;_0xbca519++){let _0x4d4422=textRange(_0x112c68,_0xbca519,_0xbca519+0x1)['getClientRects']();for(let _0x3e537c=0x0;_0x3e537c<_0x4d4422['length'];_0x3e537c++){let _0x2d6e60=_0x4d4422[_0x3e537c];if(_0x2d6e60['top']==_0x2d6e60['bottom'])continue;_0x99f470||(_0x99f470=_0x154b50-_0x2d6e60['left']);let _0x414ca2=(_0x2d6e60['top']>_0x412d8a?_0x2d6e60['top']-_0x412d8a:_0x412d8a-_0x2d6e60['bottom'])-0x1;if(_0x2d6e60['left']-0x1<=_0x154b50&&_0x2d6e60['right']+0x1>=_0x154b50&&_0x414ca2<_0x1167d6){let _0x318c57=_0x154b50>=(_0x2d6e60['left']+_0x2d6e60['right'])/0x2,_0x2cc33a=_0x318c57;(_0x394245['chrome']||_0x394245['gecko'])&&(textRange(_0x112c68,_0xbca519)['getBoundingClientRect']()['left']==_0x2d6e60['right']&&(_0x2cc33a=!_0x318c57));if(_0x414ca2<=0x0)return{'node':_0x112c68,'offset':_0xbca519+(_0x2cc33a?0x1:0x0)};_0x22e882=_0xbca519+(_0x2cc33a?0x1:0x0),_0x1167d6=_0x414ca2;}}}return{'node':_0x112c68,'offset':_0x22e882>-0x1?_0x22e882:_0x99f470>0x0?_0x112c68['nodeValue']['length']:0x0};}function posAtCoords(_0x568bd7,_0x542a31,_0x52ccb5,_0x4952ed=-0x1){var _0x3ddce7,_0x4bc11a;let _0xf2be8a,_0x59b91d=_0x568bd7['contentDOM']['getBoundingClientRect'](),_0xd92a93=_0x59b91d['top']+_0x568bd7['viewState']['paddingTop'],{docHeight:_0x25359f}=_0x568bd7['viewState'],{x:_0x421bec,y:_0x2429f7}=_0x542a31,_0x1bcf4a=_0x2429f7-_0xd92a93;if(_0x1bcf4a<0x0)return 0x0;if(_0x1bcf4a>_0x25359f)return _0x568bd7['state']['doc']['length'];for(let _0x449144=_0x568bd7['viewState']['heightOracle']['textHeight']/0x2,_0x5cab66=!0x1;_0xf2be8a=_0x568bd7['elementAtHeight'](_0x1bcf4a),_0xf2be8a['type']!=_0x533a79['Text'];)for(;_0x1bcf4a=_0x4952ed>0x0?_0xf2be8a['bottom']+_0x449144:_0xf2be8a['top']-_0x449144,!(_0x1bcf4a>=0x0&&_0x1bcf4a<=_0x25359f);){if(_0x5cab66)return _0x52ccb5?null:0x0;_0x5cab66=!0x0,_0x4952ed=-_0x4952ed;}_0x2429f7=_0xd92a93+_0x1bcf4a;let _0x24effe=_0xf2be8a['from'];if(_0x24effe<_0x568bd7['viewport']['from'])return 0x0==_0x568bd7['viewport']['from']?0x0:_0x52ccb5?null:posAtCoordsImprecise(_0x568bd7,_0x59b91d,_0xf2be8a,_0x421bec,_0x2429f7);if(_0x24effe>_0x568bd7['viewport']['to'])return _0x568bd7['viewport']['to']==_0x568bd7['state']['doc']['length']?_0x568bd7['state']['doc']['length']:_0x52ccb5?null:posAtCoordsImprecise(_0x568bd7,_0x59b91d,_0xf2be8a,_0x421bec,_0x2429f7);let _0x83cfa6=_0x568bd7['dom']['ownerDocument'],_0x546bc2=_0x568bd7['root']['elementFromPoint']?_0x568bd7['root']:_0x83cfa6,_0x58ae9d=_0x546bc2['elementFromPoint'](_0x421bec,_0x2429f7);_0x58ae9d&&!_0x568bd7['contentDOM']['contains'](_0x58ae9d)&&(_0x58ae9d=null),_0x58ae9d||(_0x421bec=Math['max'](_0x59b91d['left']+0x1,Math['min'](_0x59b91d['right']-0x1,_0x421bec)),_0x58ae9d=_0x546bc2['elementFromPoint'](_0x421bec,_0x2429f7),_0x58ae9d&&!_0x568bd7['contentDOM']['contains'](_0x58ae9d)&&(_0x58ae9d=null));let _0x15bccd,_0x436a30=-0x1;if(_0x58ae9d&&0x0!=(null===(_0x3ddce7=_0x568bd7['docView']['nearest'](_0x58ae9d))||void 0x0===_0x3ddce7?void 0x0:_0x3ddce7['isEditable'])){if(_0x83cfa6['caretPositionFromPoint']){let _0x5be2b0=_0x83cfa6['caretPositionFromPoint'](_0x421bec,_0x2429f7);_0x5be2b0&&({offsetNode:_0x15bccd,offset:_0x436a30}=_0x5be2b0);}else{if(_0x83cfa6['caretRangeFromPoint']){let _0x1e43a4=_0x83cfa6['caretRangeFromPoint'](_0x421bec,_0x2429f7);_0x1e43a4&&({startContainer:_0x15bccd,startOffset:_0x436a30}=_0x1e43a4);}}_0x15bccd&&(!_0x568bd7['contentDOM']['contains'](_0x15bccd)||_0x394245['safari']&&isSuspiciousSafariCaretResult(_0x15bccd,_0x436a30,_0x421bec)||_0x394245['chrome']&&isSuspiciousChromeCaretResult(_0x15bccd,_0x436a30,_0x421bec))&&(_0x15bccd=void 0x0),_0x15bccd&&(_0x436a30=Math['min'](maxOffset(_0x15bccd),_0x436a30));}if(!_0x15bccd||!_0x568bd7['docView']['dom']['contains'](_0x15bccd)){let _0x58fa9a=_0x32c628['find'](_0x568bd7['docView'],_0x24effe);if(!_0x58fa9a)return _0x1bcf4a>_0xf2be8a['top']+_0xf2be8a['height']/0x2?_0xf2be8a['to']:_0xf2be8a['from'];({node:_0x15bccd,offset:_0x436a30}=domPosAtCoords(_0x58fa9a['dom'],_0x421bec,_0x2429f7));}let _0x259055=_0x568bd7['docView']['nearest'](_0x15bccd);if(!_0x259055)return null;if(_0x259055['isWidget']&&0x1==(null===(_0x4bc11a=_0x259055['dom'])||void 0x0===_0x4bc11a?void 0x0:_0x4bc11a['nodeType'])){let _0x2904a7=_0x259055['dom']['getBoundingClientRect']();return _0x542a31['y']<_0x2904a7['top']||_0x542a31['y']<=_0x2904a7['bottom']&&_0x542a31['x']<=(_0x2904a7['left']+_0x2904a7['right'])/0x2?_0x259055['posAtStart']:_0x259055['posAtEnd'];}return _0x259055['localPosFromDOM'](_0x15bccd,_0x436a30)+_0x259055['posAtStart'];}function posAtCoordsImprecise(_0x2a3e55,_0x3f77f9,_0x41a03f,_0x2f06e7,_0x544203){let _0x2f1743=Math['round']((_0x2f06e7-_0x3f77f9['left'])*_0x2a3e55['defaultCharacterWidth']);if(_0x2a3e55['lineWrapping']&&_0x41a03f['height']>1.5*_0x2a3e55['defaultLineHeight']){let _0x508988=_0x2a3e55['viewState']['heightOracle']['textHeight'];_0x2f1743+=Math['floor']((_0x544203-_0x41a03f['top']-0.5*(_0x2a3e55['defaultLineHeight']-_0x508988))/_0x508988)*_0x2a3e55['viewState']['heightOracle']['lineLength'];}let _0x221782=_0x2a3e55['state']['sliceDoc'](_0x41a03f['from'],_0x41a03f['to']);return _0x41a03f['from']+_0x4f0671(_0x221782,_0x2f1743,_0x2a3e55['state']['tabSize']);}function _0x2acbb7(_0x27b178,_0x4f6738,_0x2cbe52){let _0x1d57e4,_0x4db849=_0x27b178;if(0x3!=_0x27b178['nodeType']||_0x4f6738!=(_0x1d57e4=_0x27b178['nodeValue']['length']))return!0x1;for(;;){let _0x134b06=_0x4db849['nextSibling'];if(_0x134b06){if('BR'==_0x134b06['nodeName'])break;return!0x1;}{let _0x6dc6ad=_0x4db849['parentNode'];if(!_0x6dc6ad||'DIV'==_0x6dc6ad['nodeName'])break;_0x4db849=_0x6dc6ad;}}return textRange(_0x27b178,_0x1d57e4-0x1,_0x1d57e4)['getBoundingClientRect']()['right']>_0x2cbe52;}function isSuspiciousSafariCaretResult(_0x3266bd,_0x487280,_0x2b95a4){return _0x2acbb7(_0x3266bd,_0x487280,_0x2b95a4);}function isSuspiciousChromeCaretResult(_0x40e604,_0x212066,_0x3961da){if(0x0!=_0x212066)return _0x2acbb7(_0x40e604,_0x212066,_0x3961da);for(let _0xe9f34a=_0x40e604;;){let _0x5c89c3=_0xe9f34a['parentNode'];if(!_0x5c89c3||0x1!=_0x5c89c3['nodeType']||_0x5c89c3['firstChild']!=_0xe9f34a)return!0x1;if(_0x5c89c3['classList']['contains']('cm-line'))break;_0xe9f34a=_0x5c89c3;}return _0x3961da-(0x1==_0x40e604['nodeType']?_0x40e604['getBoundingClientRect']():textRange(_0x40e604,0x0,Math['max'](_0x40e604['nodeValue']['length'],0x1))['getBoundingClientRect']())['left']>0x5;}function blockAt(_0x21eb6f,_0xe132b4,_0x42c8e7){let _0x522be2=_0x21eb6f['lineBlockAt'](_0xe132b4);if(Array['isArray'](_0x522be2['type'])){let _0x2e23e0;for(let _0x2f45db of _0x522be2['type']){if(_0x2f45db['from']>_0xe132b4)break;if(!(_0x2f45db['to']<_0xe132b4)){if(_0x2f45db['from']<_0xe132b4&&_0x2f45db['to']>_0xe132b4)return _0x2f45db;_0x2e23e0&&(_0x2f45db['type']!=_0x533a79['Text']||_0x2e23e0['type']==_0x2f45db['type']&&!(_0x42c8e7<0x0?_0x2f45db['from']<_0xe132b4:_0x2f45db['to']>_0xe132b4))||(_0x2e23e0=_0x2f45db);}}return _0x2e23e0||_0x522be2;}return _0x522be2;}function _0xa2373e(_0x433210,_0x27ed53,_0x278ab9,_0x45dd9e){let _0x59b516=blockAt(_0x433210,_0x27ed53['head'],_0x27ed53['assoc']||-0x1),_0x22091c=_0x45dd9e&&_0x59b516['type']==_0x533a79['Text']&&(_0x433210['lineWrapping']||_0x59b516['widgetLineBreaks'])?_0x433210['coordsAtPos'](_0x27ed53['assoc']<0x0&&_0x27ed53['head']>_0x59b516['from']?_0x27ed53['head']-0x1:_0x27ed53['head']):null;if(_0x22091c){let _0x1a0651=_0x433210['dom']['getBoundingClientRect'](),_0x44b2d1=_0x433210['textDirectionAt'](_0x59b516['from']),_0x142f01=_0x433210['posAtCoords']({'x':_0x278ab9==(_0x44b2d1==Direction['LTR'])?_0x1a0651['right']-0x1:_0x1a0651['left']+0x1,'y':(_0x22091c['top']+_0x22091c['bottom'])/0x2});if(null!=_0x142f01)return EditorSelection['cursor'](_0x142f01,_0x278ab9?-0x1:0x1);}return EditorSelection['cursor'](_0x278ab9?_0x59b516['to']:_0x59b516['from'],_0x278ab9?-0x1:0x1);}function _0x3b41d3(_0x3a15db,_0x293ecd,_0x2e75ba,_0x2ee5ac){let _0x50c923=_0x3a15db['state']['doc']['lineAt'](_0x293ecd['head']),_0x3e5e11=_0x3a15db['bidiSpans'](_0x50c923),_0x5632da=_0x3a15db['textDirectionAt'](_0x50c923['from']);for(let _0x3e0b94=_0x293ecd,_0x5496c9=null;;){let _0x4b2797=_0x163e07(_0x50c923,_0x3e5e11,_0x5632da,_0x3e0b94,_0x2e75ba),_0x1c744b=_0xc391d4;if(!_0x4b2797){if(_0x50c923['number']==(_0x2e75ba?_0x3a15db['state']['doc']['lines']:0x1))return _0x3e0b94;_0x1c744b='\x0a',_0x50c923=_0x3a15db['state']['doc']['line'](_0x50c923['number']+(_0x2e75ba?0x1:-0x1)),_0x3e5e11=_0x3a15db['bidiSpans'](_0x50c923),_0x4b2797=_0x3a15db['visualLineSide'](_0x50c923,!_0x2e75ba);}if(_0x5496c9){if(!_0x5496c9(_0x1c744b))return _0x3e0b94;}else{if(!_0x2ee5ac)return _0x4b2797;_0x5496c9=_0x2ee5ac(_0x1c744b);}_0x3e0b94=_0x4b2797;}}function _0x233c98(_0x50bcfb,_0xee29f6,_0x2b9d8a){let _0xdf5789=_0x50bcfb['state']['charCategorizer'](_0xee29f6),_0x2d8a2a=_0xdf5789(_0x2b9d8a);return _0x22ae56=>{let _0x20a92f=_0xdf5789(_0x22ae56);return _0x2d8a2a==CharCategory['Space']&&(_0x2d8a2a=_0x20a92f),_0x2d8a2a==_0x20a92f;};}function moveVertically(_0x3a681f,_0x460e8a,_0x4dc560,_0x36441e){let _0x5188fd=_0x460e8a['head'],_0x482597=_0x4dc560?0x1:-0x1;if(_0x5188fd==(_0x4dc560?_0x3a681f['state']['doc']['length']:0x0))return EditorSelection['cursor'](_0x5188fd,_0x460e8a['assoc']);let _0x2099ff,_0x420b4d=_0x460e8a['goalColumn'],_0x112a4d=_0x3a681f['contentDOM']['getBoundingClientRect'](),_0x24a986=_0x3a681f['coordsAtPos'](_0x5188fd,_0x460e8a['assoc']||-0x1),_0x44e2f5=_0x3a681f['documentTop'];if(_0x24a986)null==_0x420b4d&&(_0x420b4d=_0x24a986['left']-_0x112a4d['left']),_0x2099ff=_0x482597<0x0?_0x24a986['top']:_0x24a986['bottom'];else{let _0x2f2b8d=_0x3a681f['viewState']['lineBlockAt'](_0x5188fd);null==_0x420b4d&&(_0x420b4d=Math['min'](_0x112a4d['right']-_0x112a4d['left'],_0x3a681f['defaultCharacterWidth']*(_0x5188fd-_0x2f2b8d['from']))),_0x2099ff=(_0x482597<0x0?_0x2f2b8d['top']:_0x2f2b8d['bottom'])+_0x44e2f5;}let _0x4afc1f=_0x112a4d['left']+_0x420b4d,_0x2651b2=null!=_0x36441e?_0x36441e:_0x3a681f['viewState']['heightOracle']['textHeight']>>0x1;for(let _0x433065=0x0;;_0x433065+=0xa){let _0x38ee04=_0x2099ff+(_0x2651b2+_0x433065)*_0x482597,_0x56f652=posAtCoords(_0x3a681f,{'x':_0x4afc1f,'y':_0x38ee04},!0x1,_0x482597);if(_0x38ee04<_0x112a4d['top']||_0x38ee04>_0x112a4d['bottom']||(_0x482597<0x0?_0x56f652<_0x5188fd:_0x56f652>_0x5188fd)){let _0x4321c6=_0x3a681f['docView']['coordsForChar'](_0x56f652),_0x375c01=!_0x4321c6||_0x38ee04<_0x4321c6['top']?-0x1:0x1;return EditorSelection['cursor'](_0x56f652,_0x375c01,void 0x0,_0x420b4d);}}}function skipAtomicRanges(_0x588f68,_0xa18620,_0x1c1192){for(;;){let _0x9117a4=0x0;for(let _0x1afcf7 of _0x588f68)_0x1afcf7['between'](_0xa18620-0x1,_0xa18620+0x1,(_0x450433,_0x5145c4,_0x3fd272)=>{if(_0xa18620>_0x450433&&_0xa18620<_0x5145c4){let _0x50910b=_0x9117a4||_0x1c1192||(_0xa18620-_0x450433<_0x5145c4-_0xa18620?-0x1:0x1);_0xa18620=_0x50910b<0x0?_0x450433:_0x5145c4,_0x9117a4=_0x50910b;}});if(!_0x9117a4)return _0xa18620;}}function skipAtomsForSelection(_0x2ab704,_0x4590c9){let _0x2a4daa=null;for(let _0x3aceac=0x0;_0x3aceac<_0x4590c9['ranges']['length'];_0x3aceac++){let _0x30770b=_0x4590c9['ranges'][_0x3aceac],_0x20d512=null;if(_0x30770b['empty']){let _0x290090=skipAtomicRanges(_0x2ab704,_0x30770b['from'],0x0);_0x290090!=_0x30770b['from']&&(_0x20d512=EditorSelection['cursor'](_0x290090,-0x1));}else{let _0x22752d=skipAtomicRanges(_0x2ab704,_0x30770b['from'],-0x1),_0x4f7da8=skipAtomicRanges(_0x2ab704,_0x30770b['to'],0x1);_0x22752d==_0x30770b['from']&&_0x4f7da8==_0x30770b['to']||(_0x20d512=EditorSelection['range'](_0x30770b['from']==_0x30770b['anchor']?_0x22752d:_0x4f7da8,_0x30770b['from']==_0x30770b['head']?_0x22752d:_0x4f7da8));}_0x20d512&&(_0x2a4daa||(_0x2a4daa=_0x4590c9['ranges']['slice']()),_0x2a4daa[_0x3aceac]=_0x20d512);}return _0x2a4daa?EditorSelection['create'](_0x2a4daa,_0x4590c9['mainIndex']):_0x4590c9;}function skipAtoms(_0x490c64,_0x2e720e,_0x4683a1){let _0x3ddb43=skipAtomicRanges(_0x490c64['state']['facet'](atomicRanges)['map'](_0x55523d=>_0x55523d(_0x490c64)),_0x4683a1['from'],_0x2e720e['head']>_0x4683a1['from']?-0x1:0x1);return _0x3ddb43==_0x4683a1['from']?_0x4683a1:EditorSelection['cursor'](_0x3ddb43,_0x3ddb43<_0x4683a1['from']?0x1:-0x1);}const _0x46929f='';class _0x310a0e{constructor(_0xbf1b42,_0x182790){this['points']=_0xbf1b42,this['text']='',this['lineSeparator']=_0x182790['facet'](EditorState['lineSeparator']);}['append'](_0x13fb26){this['text']+=_0x13fb26;}['lineBreak'](){this['text']+=_0x46929f;}['readRange'](_0x471768,_0x34ae69){if(!_0x471768)return this;let _0x186327=_0x471768['parentNode'];for(let _0x34d11e=_0x471768;;){this['findPointBefore'](_0x186327,_0x34d11e);let _0x2e0d40=this['text']['length'];this['readNode'](_0x34d11e);let _0x2a2132=_0x34d11e['nextSibling'];if(_0x2a2132==_0x34ae69)break;let _0x528cbc=ContentView['get'](_0x34d11e),_0x258205=ContentView['get'](_0x2a2132);(_0x528cbc&&_0x258205?_0x528cbc['breakAfter']:(_0x528cbc?_0x528cbc['breakAfter']:isBlockElement(_0x34d11e))||isBlockElement(_0x2a2132)&&('BR'!=_0x34d11e['nodeName']||_0x34d11e['cmIgnore'])&&this['text']['length']>_0x2e0d40)&&!isEmptyToEnd(_0x2a2132,_0x34ae69)&&this['lineBreak'](),_0x34d11e=_0x2a2132;}return this['findPointBefore'](_0x186327,_0x34ae69),this;}['readTextNode'](_0x1873a8){let _0x170d39=_0x1873a8['nodeValue'];for(let _0x4a24c6 of this['points'])_0x4a24c6['node']==_0x1873a8&&(_0x4a24c6['pos']=this['text']['length']+Math['min'](_0x4a24c6['offset'],_0x170d39['length']));for(let _0x368a5f=0x0,_0x293065=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x5161ba,_0x4c1388=-0x1,_0x536498=0x1;if(this['lineSeparator']?(_0x4c1388=_0x170d39['indexOf'](this['lineSeparator'],_0x368a5f),_0x536498=this['lineSeparator']['length']):(_0x5161ba=_0x293065['exec'](_0x170d39))&&(_0x4c1388=_0x5161ba['index'],_0x536498=_0x5161ba[0x0]['length']),this['append'](_0x170d39['slice'](_0x368a5f,_0x4c1388<0x0?_0x170d39['length']:_0x4c1388)),_0x4c1388<0x0)break;if(this['lineBreak'](),_0x536498>0x1){for(let _0x2af5a7 of this['points'])_0x2af5a7['node']==_0x1873a8&&_0x2af5a7['pos']>this['text']['length']&&(_0x2af5a7['pos']-=_0x536498-0x1);}_0x368a5f=_0x4c1388+_0x536498;}}['readNode'](_0x7ea48b){if(_0x7ea48b['cmIgnore'])return;let _0x5c920d=ContentView['get'](_0x7ea48b),_0x42200a=_0x5c920d&&_0x5c920d['overrideDOMText'];if(null!=_0x42200a){this['findPointInside'](_0x7ea48b,_0x42200a['length']);for(let _0x565db6=_0x42200a['iter']();!_0x565db6['next']()['done'];)_0x565db6['lineBreak']?this['lineBreak']():this['append'](_0x565db6['value']);}else 0x3==_0x7ea48b['nodeType']?this['readTextNode'](_0x7ea48b):'BR'==_0x7ea48b['nodeName']?_0x7ea48b['nextSibling']&&this['lineBreak']():0x1==_0x7ea48b['nodeType']&&this['readRange'](_0x7ea48b['firstChild'],null);}['findPointBefore'](_0x2979b4,_0x1c2990){for(let _0x838d86 of this['points'])_0x838d86['node']==_0x2979b4&&_0x2979b4['childNodes'][_0x838d86['offset']]==_0x1c2990&&(_0x838d86['pos']=this['text']['length']);}['findPointInside'](_0x14655d,_0x1ee5a5){for(let _0x58ce70 of this['points'])(0x3==_0x14655d['nodeType']?_0x58ce70['node']==_0x14655d:_0x14655d['contains'](_0x58ce70['node']))&&(_0x58ce70['pos']=this['text']['length']+(isAtEnd(_0x14655d,_0x58ce70['node'],_0x58ce70['offset'])?_0x1ee5a5:0x0));}}function isAtEnd(_0x8d9449,_0x2d654a,_0x3e5f5c){for(;;){if(!_0x2d654a||_0x3e5f5c<maxOffset(_0x2d654a))return!0x1;if(_0x2d654a==_0x8d9449)return!0x0;_0x3e5f5c=_0x54b1dd(_0x2d654a)+0x1,_0x2d654a=_0x2d654a['parentNode'];}}function isEmptyToEnd(_0x36c9c7,_0xc1a4ae){let _0x409e88;for(;_0x36c9c7!=_0xc1a4ae&&_0x36c9c7;_0x36c9c7=_0x36c9c7['nextSibling']){let _0xced1d4=ContentView['get'](_0x36c9c7);if(!(null==_0xced1d4?void 0x0:_0xced1d4['isWidget'])&&!_0x36c9c7['cmIgnore'])return!0x1;_0xced1d4&&(_0x409e88||(_0x409e88=[]))['push'](_0xced1d4);}if(_0x409e88)for(let _0x10b2cc of _0x409e88){let _0x4a05c1=_0x10b2cc['overrideDOMText'];if(null==_0x4a05c1?void 0x0:_0x4a05c1['length'])return!0x1;}return!0x0;}class DOMPoint{constructor(_0xfb1d2a,_0x23085a){this['node']=_0xfb1d2a,this['offset']=_0x23085a,this['pos']=-0x1;}}class _0x1478dd{constructor(_0x5c165d,_0x5386e7,_0x5af7ff,_0x42876c){this['typeOver']=_0x42876c,this['bounds']=null,this['text']='',this['domChanged']=_0x5386e7>-0x1;let {impreciseHead:_0x2e03bf,impreciseAnchor:_0x54255d}=_0x5c165d['docView'];if(_0x5c165d['state']['readOnly']&&_0x5386e7>-0x1)this['newSel']=null;else{if(_0x5386e7>-0x1&&(this['bounds']=_0x5c165d['docView']['domBoundsAround'](_0x5386e7,_0x5af7ff,0x0))){let _0x181774=_0x2e03bf||_0x54255d?[]:selectionPoints(_0x5c165d),_0x355b2f=new _0x310a0e(_0x181774,_0x5c165d['state']);_0x355b2f['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0x355b2f['text'],this['newSel']=selectionFromPoints(_0x181774,this['bounds']['from']);}else{let _0x4fc527=_0x5c165d['observer']['selectionRange'],_0x1bf5ab=_0x2e03bf&&_0x2e03bf['node']==_0x4fc527['focusNode']&&_0x2e03bf['offset']==_0x4fc527['focusOffset']||!contains(_0x5c165d['contentDOM'],_0x4fc527['focusNode'])?_0x5c165d['state']['selection']['main']['head']:_0x5c165d['docView']['posFromDOM'](_0x4fc527['focusNode'],_0x4fc527['focusOffset']),_0x452258=_0x54255d&&_0x54255d['node']==_0x4fc527['anchorNode']&&_0x54255d['offset']==_0x4fc527['anchorOffset']||!contains(_0x5c165d['contentDOM'],_0x4fc527['anchorNode'])?_0x5c165d['state']['selection']['main']['anchor']:_0x5c165d['docView']['posFromDOM'](_0x4fc527['anchorNode'],_0x4fc527['anchorOffset']),_0x31f02e=_0x5c165d['viewport'];if((_0x394245['ios']||_0x394245['chrome'])&&_0x5c165d['state']['selection']['main']['empty']&&_0x1bf5ab!=_0x452258&&(_0x31f02e['from']>0x0||_0x31f02e['to']<_0x5c165d['state']['doc']['length'])){let _0x4d6bf1=Math['min'](_0x1bf5ab,_0x452258),_0x2bc672=Math['max'](_0x1bf5ab,_0x452258),_0x4be3b4=_0x31f02e['from']-_0x4d6bf1,_0x5d2099=_0x31f02e['to']-_0x2bc672;0x0!=_0x4be3b4&&0x1!=_0x4be3b4&&0x0!=_0x4d6bf1||0x0!=_0x5d2099&&-0x1!=_0x5d2099&&_0x2bc672!=_0x5c165d['state']['doc']['length']||(_0x1bf5ab=0x0,_0x452258=_0x5c165d['state']['doc']['length']);}this['newSel']=EditorSelection['single'](_0x452258,_0x1bf5ab);}}}}function _0x3b8f64(_0x189cb4,_0x4a0eb6){let _0x577805,{newSel:_0x4f6ebb}=_0x4a0eb6,_0x284b1e=_0x189cb4['state']['selection']['main'],_0x1d4244=_0x189cb4['inputState']['lastKeyTime']>Date['now']()-0x64?_0x189cb4['inputState']['lastKeyCode']:-0x1;if(_0x4a0eb6['bounds']){let {from:_0x5317c9,to:_0xe800c9}=_0x4a0eb6['bounds'],_0x2e94e5=_0x284b1e['from'],_0x4a5af4=null;(0x8===_0x1d4244||_0x394245['android']&&_0x4a0eb6['text']['length']<_0xe800c9-_0x5317c9)&&(_0x2e94e5=_0x284b1e['to'],_0x4a5af4='end');let _0x1f898e=_0x114484(_0x189cb4['state']['doc']['sliceString'](_0x5317c9,_0xe800c9,_0x46929f),_0x4a0eb6['text'],_0x2e94e5-_0x5317c9,_0x4a5af4);_0x1f898e&&(_0x394245['chrome']&&0xd==_0x1d4244&&_0x1f898e['toB']==_0x1f898e['from']+0x2&&_0x4a0eb6['text']['slice'](_0x1f898e['from'],_0x1f898e['toB'])==_0x46929f+_0x46929f&&_0x1f898e['toB']--,_0x577805={'from':_0x5317c9+_0x1f898e['from'],'to':_0x5317c9+_0x1f898e['toA'],'insert':Text['of'](_0x4a0eb6['text']['slice'](_0x1f898e['from'],_0x1f898e['toB'])['split'](_0x46929f))});}else _0x4f6ebb&&(!_0x189cb4['hasFocus']&&_0x189cb4['state']['facet'](editable)||_0x4f6ebb['main']['eq'](_0x284b1e))&&(_0x4f6ebb=null);if(!_0x577805&&!_0x4f6ebb)return!0x1;if(!_0x577805&&_0x4a0eb6['typeOver']&&!_0x284b1e['empty']&&_0x4f6ebb&&_0x4f6ebb['main']['empty']?_0x577805={'from':_0x284b1e['from'],'to':_0x284b1e['to'],'insert':_0x189cb4['state']['doc']['slice'](_0x284b1e['from'],_0x284b1e['to'])}:(_0x394245['mac']||_0x394245['android'])&&_0x577805&&_0x577805['from']==_0x577805['to']&&_0x577805['from']==_0x284b1e['head']-0x1&&/^\. ?$/['test'](_0x577805['insert']['toString']())&&'off'==_0x189cb4['contentDOM']['getAttribute']('autocorrect')?(_0x4f6ebb&&0x2==_0x577805['insert']['length']&&(_0x4f6ebb=EditorSelection['single'](_0x4f6ebb['main']['anchor']-0x1,_0x4f6ebb['main']['head']-0x1)),_0x577805={'from':_0x577805['from'],'to':_0x577805['to'],'insert':Text['of']([_0x577805['insert']['toString']()['replace']('.','\x20')])}):_0x577805&&_0x577805['from']>=_0x284b1e['from']&&_0x577805['to']<=_0x284b1e['to']&&(_0x577805['from']!=_0x284b1e['from']||_0x577805['to']!=_0x284b1e['to'])&&_0x284b1e['to']-_0x284b1e['from']-(_0x577805['to']-_0x577805['from'])<=0x4?_0x577805={'from':_0x284b1e['from'],'to':_0x284b1e['to'],'insert':_0x189cb4['state']['doc']['slice'](_0x284b1e['from'],_0x577805['from'])['append'](_0x577805['insert'])['append'](_0x189cb4['state']['doc']['slice'](_0x577805['to'],_0x284b1e['to']))}:_0x394245['chrome']&&_0x577805&&_0x577805['from']==_0x577805['to']&&_0x577805['from']==_0x284b1e['head']&&'\x0a\x20'==_0x577805['insert']['toString']()&&_0x189cb4['lineWrapping']&&(_0x4f6ebb&&(_0x4f6ebb=EditorSelection['single'](_0x4f6ebb['main']['anchor']-0x1,_0x4f6ebb['main']['head']-0x1)),_0x577805={'from':_0x284b1e['from'],'to':_0x284b1e['to'],'insert':Text['of'](['\x20'])}),_0x577805)return _0x1d2a45(_0x189cb4,_0x577805,_0x4f6ebb,_0x1d4244);if(_0x4f6ebb&&!_0x4f6ebb['main']['eq'](_0x284b1e)){let _0x2b44ad=!0x1,_0x346cf6='select';return _0x189cb4['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x189cb4['inputState']['lastSelectionOrigin']&&(_0x2b44ad=!0x0),_0x346cf6=_0x189cb4['inputState']['lastSelectionOrigin'],'select.pointer'==_0x346cf6&&(_0x4f6ebb=skipAtomsForSelection(_0x189cb4['state']['facet'](atomicRanges)['map'](_0x35df4b=>_0x35df4b(_0x189cb4)),_0x4f6ebb))),_0x189cb4['dispatch']({'selection':_0x4f6ebb,'scrollIntoView':_0x2b44ad,'userEvent':_0x346cf6}),!0x0;}return!0x1;}function _0x1d2a45(_0x1393f2,_0x1f16da,_0x550cc1,_0x36dce7=-0x1){if(_0x394245['ios']&&_0x1393f2['inputState']['flushIOSKey'](_0x1f16da))return!0x0;let _0x5396be=_0x1393f2['state']['selection']['main'];if(_0x394245['android']&&(_0x1f16da['to']==_0x5396be['to']&&(_0x1f16da['from']==_0x5396be['from']||_0x1f16da['from']==_0x5396be['from']-0x1&&'\x20'==_0x1393f2['state']['sliceDoc'](_0x1f16da['from'],_0x5396be['from']))&&0x1==_0x1f16da['insert']['length']&&0x2==_0x1f16da['insert']['lines']&&dispatchKey(_0x1393f2['contentDOM'],'Enter',0xd)||(_0x1f16da['from']==_0x5396be['from']-0x1&&_0x1f16da['to']==_0x5396be['to']&&0x0==_0x1f16da['insert']['length']||0x8==_0x36dce7&&_0x1f16da['insert']['length']<_0x1f16da['to']-_0x1f16da['from']&&_0x1f16da['to']>_0x5396be['head'])&&dispatchKey(_0x1393f2['contentDOM'],'Backspace',0x8)||_0x1f16da['from']==_0x5396be['from']&&_0x1f16da['to']==_0x5396be['to']+0x1&&0x0==_0x1f16da['insert']['length']&&dispatchKey(_0x1393f2['contentDOM'],'Delete',0x2e)))return!0x0;let _0x2788ae,_0x1c3b43=_0x1f16da['insert']['toString']();_0x1393f2['inputState']['composing']>=0x0&&_0x1393f2['inputState']['composing']++;let _0x2f0ff9=()=>_0x2788ae||(_0x2788ae=applyDefaultInsert(_0x1393f2,_0x1f16da,_0x550cc1));return _0x1393f2['state']['facet'](inputHandler$1)['some'](_0x461928=>_0x461928(_0x1393f2,_0x1f16da['from'],_0x1f16da['to'],_0x1c3b43,_0x2f0ff9))||_0x1393f2['dispatch'](_0x2f0ff9()),!0x0;}function applyDefaultInsert(_0x22babf,_0x1791ec,_0x51f85c){let _0x3d25a8,_0x38172e=_0x22babf['state'],_0xda945e=_0x38172e['selection']['main'],_0x8f8ef3=-0x1;if(_0x1791ec['from']==_0x1791ec['to']&&_0x1791ec['from']<_0xda945e['from']||_0x1791ec['from']>_0xda945e['to']){let _0x476811=_0x1791ec['from']<_0xda945e['from']?-0x1:0x1,_0x185afa=_0x476811<0x0?_0xda945e['from']:_0xda945e['to'],_0x21e7d1=skipAtomicRanges(_0x38172e['facet'](atomicRanges)['map'](_0x5e65ca=>_0x5e65ca(_0x22babf)),_0x185afa,_0x476811);_0x1791ec['from']==_0x21e7d1&&(_0x8f8ef3=_0x21e7d1);}if(_0x8f8ef3>-0x1)_0x3d25a8={'changes':_0x1791ec,'selection':EditorSelection['cursor'](_0x1791ec['from']+_0x1791ec['insert']['length'],-0x1)};else{if(_0x1791ec['from']>=_0xda945e['from']&&_0x1791ec['to']<=_0xda945e['to']&&_0x1791ec['to']-_0x1791ec['from']>=(_0xda945e['to']-_0xda945e['from'])/0x3&&(!_0x51f85c||_0x51f85c['main']['empty']&&_0x51f85c['main']['from']==_0x1791ec['from']+_0x1791ec['insert']['length'])&&_0x22babf['inputState']['composing']<0x0){let _0x3b9e63=_0xda945e['from']<_0x1791ec['from']?_0x38172e['sliceDoc'](_0xda945e['from'],_0x1791ec['from']):'',_0x4b906c=_0xda945e['to']>_0x1791ec['to']?_0x38172e['sliceDoc'](_0x1791ec['to'],_0xda945e['to']):'';_0x3d25a8=_0x38172e['replaceSelection'](_0x22babf['state']['toText'](_0x3b9e63+_0x1791ec['insert']['sliceString'](0x0,void 0x0,_0x22babf['state']['lineBreak'])+_0x4b906c));}else{let _0x191ddc=_0x38172e['changes'](_0x1791ec),_0x61c717=_0x51f85c&&_0x51f85c['main']['to']<=_0x191ddc['newLength']?_0x51f85c['main']:void 0x0;if(_0x38172e['selection']['ranges']['length']>0x1&&_0x22babf['inputState']['composing']>=0x0&&_0x1791ec['to']<=_0xda945e['to']&&_0x1791ec['to']>=_0xda945e['to']-0xa){let _0x39e574,_0x35924e=_0x22babf['state']['sliceDoc'](_0x1791ec['from'],_0x1791ec['to']),_0x3a6914=_0x51f85c&&findCompositionNode(_0x22babf,_0x51f85c['main']['head']);if(_0x3a6914){let _0x3f9603=_0x1791ec['insert']['length']-(_0x1791ec['to']-_0x1791ec['from']);_0x39e574={'from':_0x3a6914['from'],'to':_0x3a6914['to']-_0x3f9603};}else _0x39e574=_0x22babf['state']['doc']['lineAt'](_0xda945e['head']);let _0x452fb4=_0xda945e['to']-_0x1791ec['to'],_0x22b0f3=_0xda945e['to']-_0xda945e['from'];_0x3d25a8=_0x38172e['changeByRange'](_0x21b5dc=>{if(_0x21b5dc['from']==_0xda945e['from']&&_0x21b5dc['to']==_0xda945e['to'])return{'changes':_0x191ddc,'range':_0x61c717||_0x21b5dc['map'](_0x191ddc)};let _0x353926=_0x21b5dc['to']-_0x452fb4,_0x568e40=_0x353926-_0x35924e['length'];if(_0x21b5dc['to']-_0x21b5dc['from']!=_0x22b0f3||_0x22babf['state']['sliceDoc'](_0x568e40,_0x353926)!=_0x35924e||_0x21b5dc['to']>=_0x39e574['from']&&_0x21b5dc['from']<=_0x39e574['to'])return{'range':_0x21b5dc};let _0x8711e5=_0x38172e['changes']({'from':_0x568e40,'to':_0x353926,'insert':_0x1791ec['insert']}),_0x23019c=_0x21b5dc['to']-_0xda945e['to'];return{'changes':_0x8711e5,'range':_0x61c717?EditorSelection['range'](Math['max'](0x0,_0x61c717['anchor']+_0x23019c),Math['max'](0x0,_0x61c717['head']+_0x23019c)):_0x21b5dc['map'](_0x8711e5)};});}else _0x3d25a8={'changes':_0x191ddc,'selection':_0x61c717&&_0x38172e['selection']['replaceRange'](_0x61c717)};}}let _0x42e074='input.type';return(_0x22babf['composing']||_0x22babf['inputState']['compositionPendingChange']&&_0x22babf['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x22babf['inputState']['compositionPendingChange']=!0x1,_0x42e074+='.compose',_0x22babf['inputState']['compositionFirstChange']&&(_0x42e074+='.start',_0x22babf['inputState']['compositionFirstChange']=!0x1)),_0x38172e['update'](_0x3d25a8,{'userEvent':_0x42e074,'scrollIntoView':!0x0});}function _0x114484(_0x220b26,_0x2dc9ab,_0x55c8b2,_0x523da9){let _0x5aae6a=Math['min'](_0x220b26['length'],_0x2dc9ab['length']),_0x6192aa=0x0;for(;_0x6192aa<_0x5aae6a&&_0x220b26['charCodeAt'](_0x6192aa)==_0x2dc9ab['charCodeAt'](_0x6192aa);)_0x6192aa++;if(_0x6192aa==_0x5aae6a&&_0x220b26['length']==_0x2dc9ab['length'])return null;let _0x355280=_0x220b26['length'],_0x1ea5f3=_0x2dc9ab['length'];for(;_0x355280>0x0&&_0x1ea5f3>0x0&&_0x220b26['charCodeAt'](_0x355280-0x1)==_0x2dc9ab['charCodeAt'](_0x1ea5f3-0x1);)_0x355280--,_0x1ea5f3--;'end'==_0x523da9&&(_0x55c8b2-=_0x355280+Math['max'](0x0,_0x6192aa-Math['min'](_0x355280,_0x1ea5f3))-_0x6192aa);if(_0x355280<_0x6192aa&&_0x220b26['length']<_0x2dc9ab['length'])_0x6192aa-=_0x55c8b2<=_0x6192aa&&_0x55c8b2>=_0x355280?_0x6192aa-_0x55c8b2:0x0,_0x1ea5f3=_0x6192aa+(_0x1ea5f3-_0x355280),_0x355280=_0x6192aa;else _0x1ea5f3<_0x6192aa&&(_0x6192aa-=_0x55c8b2<=_0x6192aa&&_0x55c8b2>=_0x1ea5f3?_0x6192aa-_0x55c8b2:0x0,_0x355280=_0x6192aa+(_0x355280-_0x1ea5f3),_0x1ea5f3=_0x6192aa);return{'from':_0x6192aa,'toA':_0x355280,'toB':_0x1ea5f3};}function selectionPoints(_0x15ece9){let _0x1ca6c4=[];if(_0x15ece9['root']['activeElement']!=_0x15ece9['contentDOM'])return _0x1ca6c4;let {anchorNode:_0x584b1e,anchorOffset:_0x3d5896,focusNode:_0x2b35bb,focusOffset:_0x8776c9}=_0x15ece9['observer']['selectionRange'];return _0x584b1e&&(_0x1ca6c4['push'](new DOMPoint(_0x584b1e,_0x3d5896)),_0x2b35bb==_0x584b1e&&_0x8776c9==_0x3d5896||_0x1ca6c4['push'](new DOMPoint(_0x2b35bb,_0x8776c9))),_0x1ca6c4;}function selectionFromPoints(_0x31df66,_0x1bc4b2){if(0x0==_0x31df66['length'])return null;let _0x461c60=_0x31df66[0x0]['pos'],_0x2a18f3=0x2==_0x31df66['length']?_0x31df66[0x1]['pos']:_0x461c60;return _0x461c60>-0x1&&_0x2a18f3>-0x1?EditorSelection['single'](_0x461c60+_0x1bc4b2,_0x2a18f3+_0x1bc4b2):null;}class InputState{['setSelectionOrigin'](_0x62c057){this['lastSelectionOrigin']=_0x62c057,this['lastSelectionTime']=Date['now']();}constructor(_0x218a5e){this['view']=_0x218a5e,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']=_0x218a5e['hasFocus'],_0x394245['safari']&&_0x218a5e['contentDOM']['addEventListener']('input',()=>null),_0x394245['gecko']&&firefoxCopyCutHack(_0x218a5e['contentDOM']['ownerDocument']);}['handleEvent'](_0x3b2d7d){eventBelongsToEditor(this['view'],_0x3b2d7d)&&!this['ignoreDuringComposition'](_0x3b2d7d)&&('keydown'==_0x3b2d7d['type']&&this['keydown'](_0x3b2d7d)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x3b2d7d['type'],_0x3b2d7d)):this['runHandlers'](_0x3b2d7d['type'],_0x3b2d7d)));}['runHandlers'](_0xaf8360,_0x121eb9){let _0x717935=this['handlers'][_0xaf8360];if(_0x717935){for(let _0x9a8627 of _0x717935['observers'])_0x9a8627(this['view'],_0x121eb9);for(let _0x449627 of _0x717935['handlers']){if(_0x121eb9['defaultPrevented'])break;if(_0x449627(this['view'],_0x121eb9)){_0x121eb9['preventDefault']();break;}}}}['ensureHandlers'](_0x38e18c){let _0x54f7d0=computeHandlers(_0x38e18c),_0x18dfc3=this['handlers'],_0x34ffd2=this['view']['contentDOM'];for(let _0x9182ae in _0x54f7d0)if('scroll'!=_0x9182ae){let _0x17c306=!_0x54f7d0[_0x9182ae]['handlers']['length'],_0x2524c2=_0x18dfc3[_0x9182ae];_0x2524c2&&_0x17c306!=!_0x2524c2['handlers']['length']&&(_0x34ffd2['removeEventListener'](_0x9182ae,this['handleEvent']),_0x2524c2=null),_0x2524c2||_0x34ffd2['addEventListener'](_0x9182ae,this['handleEvent'],{'passive':_0x17c306});}for(let _0x2b9ec5 in _0x18dfc3)'scroll'==_0x2b9ec5||_0x54f7d0[_0x2b9ec5]||_0x34ffd2['removeEventListener'](_0x2b9ec5,this['handleEvent']);this['handlers']=_0x54f7d0;}['keydown'](_0x1695ab){if(this['lastKeyCode']=_0x1695ab['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x1695ab['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x1695ab['keyCode']&&_0x1457a2['indexOf'](_0x1695ab['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),_0x394245['android']&&_0x394245['chrome']&&!_0x1695ab['synthetic']&&(0xd==_0x1695ab['keyCode']||0x8==_0x1695ab['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x1695ab['key'],_0x1695ab['keyCode']),!0x0;let _0x305f44;return!_0x394245['ios']||_0x1695ab['synthetic']||_0x1695ab['altKey']||_0x1695ab['metaKey']||!((_0x305f44=_0x190909['find'](_0x7199e5=>_0x7199e5['keyCode']==_0x1695ab['keyCode']))&&!_0x1695ab['ctrlKey']||_0x4f2ccc['indexOf'](_0x1695ab['key'])>-0x1&&_0x1695ab['ctrlKey']&&!_0x1695ab['shiftKey'])?(0xe5!=_0x1695ab['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x305f44||_0x1695ab,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0xb86a80){let _0x254360=this['pendingIOSKey'];return!!_0x254360&&(!('Enter'==_0x254360['key']&&_0xb86a80&&_0xb86a80['from']<_0xb86a80['to']&&/^\S+$/['test'](_0xb86a80['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,dispatchKey(this['view']['contentDOM'],_0x254360['key'],_0x254360['keyCode'],_0x254360 instanceof KeyboardEvent?_0x254360:void 0x0)));}['ignoreDuringComposition'](_0x2773dc){return!(!/^key/['test'](_0x2773dc['type'])||_0x2773dc['synthetic'])&&(this['composing']>0x0||!!(_0x394245['safari']&&!_0x394245['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0x16b804){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x16b804;}['update'](_0x424d3f){this['view']['observer']['update'](_0x424d3f),this['mouseSelection']&&this['mouseSelection']['update'](_0x424d3f),this['draggedContent']&&_0x424d3f['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x424d3f['changes'])),_0x424d3f['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}}function _0x230ca3(_0x4be04f,_0x4cc700){return(_0x33b66e,_0x285dfa)=>{try{return _0x4cc700['call'](_0x4be04f,_0x285dfa,_0x33b66e);}catch(_0x3939cd){logException(_0x33b66e['state'],_0x3939cd);}};}function computeHandlers(_0x416579){let _0x19824c=Object['create'](null);function _0x61f0ee(_0x37817b){return _0x19824c[_0x37817b]||(_0x19824c[_0x37817b]={'observers':[],'handlers':[]});}for(let _0x3df89c of _0x416579){let _0x2103bf=_0x3df89c['spec'],_0x5d3104=_0x2103bf&&_0x2103bf['plugin']['domEventHandlers'],_0x3b31e1=_0x2103bf&&_0x2103bf['plugin']['domEventObservers'];if(_0x5d3104)for(let _0x5cecdb in _0x5d3104){let _0x5dbc01=_0x5d3104[_0x5cecdb];_0x5dbc01&&_0x61f0ee(_0x5cecdb)['handlers']['push'](_0x230ca3(_0x3df89c['value'],_0x5dbc01));}if(_0x3b31e1)for(let _0x283d6d in _0x3b31e1){let _0x370c9e=_0x3b31e1[_0x283d6d];_0x370c9e&&_0x61f0ee(_0x283d6d)['observers']['push'](_0x230ca3(_0x3df89c['value'],_0x370c9e));}}for(let _0x7c5c25 in _0x550bad)_0x61f0ee(_0x7c5c25)['handlers']['push'](_0x550bad[_0x7c5c25]);for(let _0xf87981 in _0x5d4cd6)_0x61f0ee(_0xf87981)['observers']['push'](_0x5d4cd6[_0xf87981]);return _0x19824c;}const _0x190909=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],_0x4f2ccc='dthko',_0x1457a2=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1],_0x4bbdc7=0x6;function _0x1da96e(_0x1ef0ee){return 0.7*Math['max'](0x0,_0x1ef0ee)+0x8;}function dist(_0x2daf38,_0x18bb55){return Math['max'](Math['abs'](_0x2daf38['clientX']-_0x18bb55['clientX']),Math['abs'](_0x2daf38['clientY']-_0x18bb55['clientY']));}class MouseSelection{constructor(_0xd5038a,_0x265c85,_0x473e8b,_0x5c7ed0){this['view']=_0xd5038a,this['startEvent']=_0x265c85,this['style']=_0x473e8b,this['mustSelect']=_0x5c7ed0,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0x265c85,this['scrollParents']=scrollableParents(_0xd5038a['contentDOM']),this['atoms']=_0xd5038a['state']['facet'](atomicRanges)['map'](_0x291854=>_0x291854(_0xd5038a));let _0x1d9eef=_0xd5038a['contentDOM']['ownerDocument'];_0x1d9eef['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x1d9eef['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0x265c85['shiftKey'],this['multiple']=_0xd5038a['state']['facet'](EditorState['allowMultipleSelections'])&&addsSelectionRange(_0xd5038a,_0x265c85),this['dragging']=!(!isInPrimarySelection(_0xd5038a,_0x265c85)||0x1!=getClickType(_0x265c85))&&null;}['start'](_0xcef0a2){!0x1===this['dragging']&&this['select'](_0xcef0a2);}['move'](_0x52eadc){if(0x0==_0x52eadc['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&dist(this['startEvent'],_0x52eadc)<0xa)return;this['select'](this['lastEvent']=_0x52eadc);let _0x270bb2=0x0,_0x36fcc2=0x0,_0x46ec59=0x0,_0x4353c9=0x0,_0x1ee05e=this['view']['win']['innerWidth'],_0xb40b64=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x46ec59,right:_0x1ee05e}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x4353c9,bottom:_0xb40b64}=this['scrollParents']['y']['getBoundingClientRect']());let _0x2f671c=getScrollMargins(this['view']);_0x52eadc['clientX']-_0x2f671c['left']<=_0x46ec59+_0x4bbdc7?_0x270bb2=-_0x1da96e(_0x46ec59-_0x52eadc['clientX']):_0x52eadc['clientX']+_0x2f671c['right']>=_0x1ee05e-_0x4bbdc7&&(_0x270bb2=_0x1da96e(_0x52eadc['clientX']-_0x1ee05e)),_0x52eadc['clientY']-_0x2f671c['top']<=_0x4353c9+_0x4bbdc7?_0x36fcc2=-_0x1da96e(_0x4353c9-_0x52eadc['clientY']):_0x52eadc['clientY']+_0x2f671c['bottom']>=_0xb40b64-_0x4bbdc7&&(_0x36fcc2=_0x1da96e(_0x52eadc['clientY']-_0xb40b64)),this['setScrollSpeed'](_0x270bb2,_0x36fcc2);}['up'](_0x4977c9){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0x4977c9['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0x165340=this['view']['contentDOM']['ownerDocument'];_0x165340['removeEventListener']('mousemove',this['move']),_0x165340['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0x4042e7,_0x167f45){this['scrollSpeed']={'x':_0x4042e7,'y':_0x167f45},_0x4042e7||_0x167f45?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x12bafb,y:_0x1fe23e}=this['scrollSpeed'];_0x12bafb&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x12bafb,_0x12bafb=0x0),_0x1fe23e&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0x1fe23e,_0x1fe23e=0x0),(_0x12bafb||_0x1fe23e)&&this['view']['win']['scrollBy'](_0x12bafb,_0x1fe23e),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['select'](_0x459aae){let {view:_0x5d4813}=this,_0x59e822=skipAtomsForSelection(this['atoms'],this['style']['get'](_0x459aae,this['extend'],this['multiple']));!this['mustSelect']&&_0x59e822['eq'](_0x5d4813['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x59e822,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x3b92d6){_0x3b92d6['transactions']['some'](_0x311775=>_0x311775['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x3b92d6)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}}function addsSelectionRange(_0x309c2b,_0x2779bc){let _0x4cdb07=_0x309c2b['state']['facet'](clickAddsSelectionRange);return _0x4cdb07['length']?_0x4cdb07[0x0](_0x2779bc):_0x394245['mac']?_0x2779bc['metaKey']:_0x2779bc['ctrlKey'];}function dragMovesSelection(_0x56d1cc,_0x4e502e){let _0x4aa4de=_0x56d1cc['state']['facet'](dragMovesSelection$1);return _0x4aa4de['length']?_0x4aa4de[0x0](_0x4e502e):_0x394245['mac']?!_0x4e502e['altKey']:!_0x4e502e['ctrlKey'];}function isInPrimarySelection(_0x2c205f,_0x514052){let {main:_0x1224ed}=_0x2c205f['state']['selection'];if(_0x1224ed['empty'])return!0x1;let _0x3db572=getSelection(_0x2c205f['root']);if(!_0x3db572||0x0==_0x3db572['rangeCount'])return!0x0;let _0x262b0d=_0x3db572['getRangeAt'](0x0)['getClientRects']();for(let _0x3c4fba=0x0;_0x3c4fba<_0x262b0d['length'];_0x3c4fba++){let _0xbbc0bc=_0x262b0d[_0x3c4fba];if(_0xbbc0bc['left']<=_0x514052['clientX']&&_0xbbc0bc['right']>=_0x514052['clientX']&&_0xbbc0bc['top']<=_0x514052['clientY']&&_0xbbc0bc['bottom']>=_0x514052['clientY'])return!0x0;}return!0x1;}function eventBelongsToEditor(_0x2e6ae9,_0x2d8bdf){if(!_0x2d8bdf['bubbles'])return!0x0;if(_0x2d8bdf['defaultPrevented'])return!0x1;for(let _0x484695,_0x97c2e6=_0x2d8bdf['target'];_0x97c2e6!=_0x2e6ae9['contentDOM'];_0x97c2e6=_0x97c2e6['parentNode'])if(!_0x97c2e6||0xb==_0x97c2e6['nodeType']||(_0x484695=ContentView['get'](_0x97c2e6))&&_0x484695['ignoreEvent'](_0x2d8bdf))return!0x1;return!0x0;}const _0x550bad=Object['create'](null),_0x5d4cd6=Object['create'](null),_0x5b13ce=_0x394245['ie']&&_0x394245['ie_version']<0xf||_0x394245['ios']&&_0x394245['webkit_version']<0x25c;function capturePaste(_0x42a6f9){let _0x18516b=_0x42a6f9['dom']['parentNode'];if(!_0x18516b)return;let _0x49f84f=_0x18516b['appendChild'](document['createElement']('textarea'));_0x49f84f['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x49f84f['focus'](),setTimeout(()=>{_0x42a6f9['focus'](),_0x49f84f['remove'](),doPaste(_0x42a6f9,_0x49f84f['value']);},0x32);}function textFilter(_0x4d0a2f,_0x359852,_0x5caf8c){for(let _0x51119e of _0x4d0a2f['facet'](_0x359852))_0x5caf8c=_0x51119e(_0x5caf8c,_0x4d0a2f);return _0x5caf8c;}function doPaste(_0x5a61f1,_0x2760c0){_0x2760c0=textFilter(_0x5a61f1['state'],clipboardInputFilter,_0x2760c0);let _0x1a9169,{state:_0x42b757}=_0x5a61f1,_0x34ed0=0x1,_0x4e0c67=_0x42b757['toText'](_0x2760c0),_0x1cfca3=_0x4e0c67['lines']==_0x42b757['selection']['ranges']['length'];if(null!=lastLinewiseCopy&&_0x42b757['selection']['ranges']['every'](_0x141694=>_0x141694['empty'])&&lastLinewiseCopy==_0x4e0c67['toString']()){let _0x5c20d3=-0x1;_0x1a9169=_0x42b757['changeByRange'](_0x1f6564=>{let _0x60324c=_0x42b757['doc']['lineAt'](_0x1f6564['from']);if(_0x60324c['from']==_0x5c20d3)return{'range':_0x1f6564};_0x5c20d3=_0x60324c['from'];let _0x1f154e=_0x42b757['toText']((_0x1cfca3?_0x4e0c67['line'](_0x34ed0++)['text']:_0x2760c0)+_0x42b757['lineBreak']);return{'changes':{'from':_0x60324c['from'],'insert':_0x1f154e},'range':EditorSelection['cursor'](_0x1f6564['from']+_0x1f154e['length'])};});}else _0x1a9169=_0x1cfca3?_0x42b757['changeByRange'](_0x546e45=>{let _0x51218b=_0x4e0c67['line'](_0x34ed0++);return{'changes':{'from':_0x546e45['from'],'to':_0x546e45['to'],'insert':_0x51218b['text']},'range':EditorSelection['cursor'](_0x546e45['from']+_0x51218b['length'])};}):_0x42b757['replaceSelection'](_0x4e0c67);_0x5a61f1['dispatch'](_0x1a9169,{'userEvent':'input.paste','scrollIntoView':!0x0});}function _0x15a4e9(_0x36dfdc,_0x2cfcf6,_0x5b6f74,_0x5ba591){if(0x1==_0x5ba591)return EditorSelection['cursor'](_0x2cfcf6,_0x5b6f74);if(0x2==_0x5ba591)return groupAt(_0x36dfdc['state'],_0x2cfcf6,_0x5b6f74);{let _0x1bc0ef=_0x32c628['find'](_0x36dfdc['docView'],_0x2cfcf6),_0x22d5b9=_0x36dfdc['state']['doc']['lineAt'](_0x1bc0ef?_0x1bc0ef['posAtEnd']:_0x2cfcf6),_0x12339f=_0x1bc0ef?_0x1bc0ef['posAtStart']:_0x22d5b9['from'],_0xb15bde=_0x1bc0ef?_0x1bc0ef['posAtEnd']:_0x22d5b9['to'];return _0xb15bde<_0x36dfdc['state']['doc']['length']&&_0xb15bde==_0x22d5b9['to']&&_0xb15bde++,EditorSelection['range'](_0x12339f,_0xb15bde);}}_0x5d4cd6['scroll']=_0x2f913c=>{_0x2f913c['inputState']['lastScrollTop']=_0x2f913c['scrollDOM']['scrollTop'],_0x2f913c['inputState']['lastScrollLeft']=_0x2f913c['scrollDOM']['scrollLeft'];},_0x550bad['keydown']=(_0x313f8b,_0x3256de)=>(_0x313f8b['inputState']['setSelectionOrigin']('select'),0x1b==_0x3256de['keyCode']&&0x0!=_0x313f8b['inputState']['tabFocusMode']&&(_0x313f8b['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),_0x5d4cd6['touchstart']=(_0x242b41,_0x3e6003)=>{_0x242b41['inputState']['lastTouchTime']=Date['now'](),_0x242b41['inputState']['setSelectionOrigin']('select.pointer');},_0x5d4cd6['touchmove']=_0x6fd9b=>{_0x6fd9b['inputState']['setSelectionOrigin']('select.pointer');},_0x550bad['mousedown']=(_0x50e928,_0x5d2ca0)=>{if(_0x50e928['observer']['flush'](),_0x50e928['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0x1e5854=null;for(let _0x525aa5 of _0x50e928['state']['facet'](mouseSelectionStyle))if(_0x1e5854=_0x525aa5(_0x50e928,_0x5d2ca0),_0x1e5854)break;if(_0x1e5854||0x0!=_0x5d2ca0['button']||(_0x1e5854=basicMouseSelection(_0x50e928,_0x5d2ca0)),_0x1e5854){let _0x3d6a8e=!_0x50e928['hasFocus'];_0x50e928['inputState']['startMouseSelection'](new MouseSelection(_0x50e928,_0x5d2ca0,_0x1e5854,_0x3d6a8e)),_0x3d6a8e&&_0x50e928['observer']['ignore'](()=>{focusPreventScroll(_0x50e928['contentDOM']);let _0x27ded6=_0x50e928['root']['activeElement'];_0x27ded6&&!_0x27ded6['contains'](_0x50e928['contentDOM'])&&_0x27ded6['blur']();});let _0x5aca24=_0x50e928['inputState']['mouseSelection'];if(_0x5aca24)return _0x5aca24['start'](_0x5d2ca0),!0x1===_0x5aca24['dragging'];}else _0x50e928['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};let _0x1dce35=(_0x597d58,_0x4ab254,_0xe8c514)=>_0x4ab254>=_0xe8c514['top']&&_0x4ab254<=_0xe8c514['bottom']&&_0x597d58>=_0xe8c514['left']&&_0x597d58<=_0xe8c514['right'];function findPositionSide(_0x1bf4bb,_0x2e257a,_0x5802a6,_0x4b4ba2){let _0x117eca=_0x32c628['find'](_0x1bf4bb['docView'],_0x2e257a);if(!_0x117eca)return 0x1;let _0x2b3c0e=_0x2e257a-_0x117eca['posAtStart'];if(0x0==_0x2b3c0e)return 0x1;if(_0x2b3c0e==_0x117eca['length'])return-0x1;let _0x18748c=_0x117eca['coordsAt'](_0x2b3c0e,-0x1);if(_0x18748c&&_0x1dce35(_0x5802a6,_0x4b4ba2,_0x18748c))return-0x1;let _0x31c2a9=_0x117eca['coordsAt'](_0x2b3c0e,0x1);return _0x31c2a9&&_0x1dce35(_0x5802a6,_0x4b4ba2,_0x31c2a9)?0x1:_0x18748c&&_0x18748c['bottom']>=_0x4b4ba2?-0x1:0x1;}function _0x3711a7(_0x18684d,_0x401135){let _0x573e49=_0x18684d['posAtCoords']({'x':_0x401135['clientX'],'y':_0x401135['clientY']},!0x1);return{'pos':_0x573e49,'bias':findPositionSide(_0x18684d,_0x573e49,_0x401135['clientX'],_0x401135['clientY'])};}const BadMouseDetail=_0x394245['ie']&&_0x394245['ie_version']<=0xb;let lastMouseDown=null,lastMouseDownCount=0x0,lastMouseDownTime=0x0;function getClickType(_0x2deb4d){if(!BadMouseDetail)return _0x2deb4d['detail'];let _0x1ceda8=lastMouseDown,_0x47003a=lastMouseDownTime;return lastMouseDown=_0x2deb4d,lastMouseDownTime=Date['now'](),lastMouseDownCount=!_0x1ceda8||_0x47003a>Date['now']()-0x190&&Math['abs'](_0x1ceda8['clientX']-_0x2deb4d['clientX'])<0x2&&Math['abs'](_0x1ceda8['clientY']-_0x2deb4d['clientY'])<0x2?(lastMouseDownCount+0x1)%0x3:0x1;}function basicMouseSelection(_0x46ef7e,_0x481fdd){let _0x220325=_0x3711a7(_0x46ef7e,_0x481fdd),_0x42c109=getClickType(_0x481fdd),_0x190418=_0x46ef7e['state']['selection'];return{'update'(_0x4fcb10){_0x4fcb10['docChanged']&&(_0x220325['pos']=_0x4fcb10['changes']['mapPos'](_0x220325['pos']),_0x190418=_0x190418['map'](_0x4fcb10['changes']));},'get'(_0xdbaf8e,_0x3ee2ea,_0x35150f){let _0x123b09,_0x250ff2=_0x3711a7(_0x46ef7e,_0xdbaf8e),_0x1cb623=_0x15a4e9(_0x46ef7e,_0x250ff2['pos'],_0x250ff2['bias'],_0x42c109);if(_0x220325['pos']!=_0x250ff2['pos']&&!_0x3ee2ea){let _0x39b73f=_0x15a4e9(_0x46ef7e,_0x220325['pos'],_0x220325['bias'],_0x42c109),_0x4f8487=Math['min'](_0x39b73f['from'],_0x1cb623['from']),_0x1419b8=Math['max'](_0x39b73f['to'],_0x1cb623['to']);_0x1cb623=_0x4f8487<_0x1cb623['from']?EditorSelection['range'](_0x4f8487,_0x1419b8):EditorSelection['range'](_0x1419b8,_0x4f8487);}return _0x3ee2ea?_0x190418['replaceRange'](_0x190418['main']['extend'](_0x1cb623['from'],_0x1cb623['to'])):_0x35150f&&0x1==_0x42c109&&_0x190418['ranges']['length']>0x1&&(_0x123b09=_0x45d62b(_0x190418,_0x250ff2['pos']))?_0x123b09:_0x35150f?_0x190418['addRange'](_0x1cb623):EditorSelection['create']([_0x1cb623]);}};}function _0x45d62b(_0x3a0a8b,_0x104383){for(let _0x33c001=0x0;_0x33c001<_0x3a0a8b['ranges']['length'];_0x33c001++){let {from:_0x4074d0,to:_0xf449d2}=_0x3a0a8b['ranges'][_0x33c001];if(_0x4074d0<=_0x104383&&_0xf449d2>=_0x104383)return EditorSelection['create'](_0x3a0a8b['ranges']['slice'](0x0,_0x33c001)['concat'](_0x3a0a8b['ranges']['slice'](_0x33c001+0x1)),_0x3a0a8b['mainIndex']==_0x33c001?0x0:_0x3a0a8b['mainIndex']-(_0x3a0a8b['mainIndex']>_0x33c001?0x1:0x0));}return null;}function dropText(_0x828fe4,_0x5f25cd,_0x1ef784,_0x1a6f35){if(!(_0x1ef784=textFilter(_0x828fe4['state'],clipboardInputFilter,_0x1ef784)))return;let _0x3b9aad=_0x828fe4['posAtCoords']({'x':_0x5f25cd['clientX'],'y':_0x5f25cd['clientY']},!0x1),{draggedContent:_0xad2a4d}=_0x828fe4['inputState'],_0x3c0446=_0x1a6f35&&_0xad2a4d&&dragMovesSelection(_0x828fe4,_0x5f25cd)?{'from':_0xad2a4d['from'],'to':_0xad2a4d['to']}:null,_0x35bda9={'from':_0x3b9aad,'insert':_0x1ef784},_0x1a2d6b=_0x828fe4['state']['changes'](_0x3c0446?[_0x3c0446,_0x35bda9]:_0x35bda9);_0x828fe4['focus'](),_0x828fe4['dispatch']({'changes':_0x1a2d6b,'selection':{'anchor':_0x1a2d6b['mapPos'](_0x3b9aad,-0x1),'head':_0x1a2d6b['mapPos'](_0x3b9aad,0x1)},'userEvent':_0x3c0446?'move.drop':'input.drop'}),_0x828fe4['inputState']['draggedContent']=null;}function captureCopy(_0x182ded,_0x46fd75){let _0x56f8a5=_0x182ded['dom']['parentNode'];if(!_0x56f8a5)return;let _0x18fd42=_0x56f8a5['appendChild'](document['createElement']('textarea'));_0x18fd42['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x18fd42['value']=_0x46fd75,_0x18fd42['focus'](),_0x18fd42['selectionEnd']=_0x46fd75['length'],_0x18fd42['selectionStart']=0x0,setTimeout(()=>{_0x18fd42['remove'](),_0x182ded['focus']();},0x32);}function _0x41965d(_0x457469){let _0x302c01=[],_0x30268f=[],_0x2360de=!0x1;for(let _0x5997d0 of _0x457469['selection']['ranges'])_0x5997d0['empty']||(_0x302c01['push'](_0x457469['sliceDoc'](_0x5997d0['from'],_0x5997d0['to'])),_0x30268f['push'](_0x5997d0));if(!_0x302c01['length']){let _0x2811d5=-0x1;for(let {from:_0x4818a5}of _0x457469['selection']['ranges']){let _0x28413b=_0x457469['doc']['lineAt'](_0x4818a5);_0x28413b['number']>_0x2811d5&&(_0x302c01['push'](_0x28413b['text']),_0x30268f['push']({'from':_0x28413b['from'],'to':Math['min'](_0x457469['doc']['length'],_0x28413b['to']+0x1)})),_0x2811d5=_0x28413b['number'];}_0x2360de=!0x0;}return{'text':textFilter(_0x457469,clipboardOutputFilter,_0x302c01['join'](_0x457469['lineBreak'])),'ranges':_0x30268f,'linewise':_0x2360de};}_0x550bad['dragstart']=(_0x4dae40,_0x28cc41)=>{let {selection:{main:_0x40d717}}=_0x4dae40['state'];if(_0x28cc41['target']['draggable']){let _0x30ef10=_0x4dae40['docView']['nearest'](_0x28cc41['target']);if(_0x30ef10&&_0x30ef10['isWidget']){let _0x2a40e2=_0x30ef10['posAtStart'],_0x26b75e=_0x2a40e2+_0x30ef10['length'];(_0x2a40e2>=_0x40d717['to']||_0x26b75e<=_0x40d717['from'])&&(_0x40d717=EditorSelection['range'](_0x2a40e2,_0x26b75e));}}let {inputState:_0x488289}=_0x4dae40;return _0x488289['mouseSelection']&&(_0x488289['mouseSelection']['dragging']=!0x0),_0x488289['draggedContent']=_0x40d717,_0x28cc41['dataTransfer']&&(_0x28cc41['dataTransfer']['setData']('Text',textFilter(_0x4dae40['state'],clipboardOutputFilter,_0x4dae40['state']['sliceDoc'](_0x40d717['from'],_0x40d717['to']))),_0x28cc41['dataTransfer']['effectAllowed']='copyMove'),!0x1;},_0x550bad['dragend']=_0x21158f=>(_0x21158f['inputState']['draggedContent']=null,!0x1),_0x550bad['drop']=(_0x4201e0,_0x46c9dd)=>{if(!_0x46c9dd['dataTransfer'])return!0x1;if(_0x4201e0['state']['readOnly'])return!0x0;let _0x4e92b3=_0x46c9dd['dataTransfer']['files'];if(_0x4e92b3&&_0x4e92b3['length']){let _0x164ee4=Array(_0x4e92b3['length']),_0x44e8f8=0x0,_0x732d49=()=>{++_0x44e8f8==_0x4e92b3['length']&&dropText(_0x4201e0,_0x46c9dd,_0x164ee4['filter'](_0x5e9941=>null!=_0x5e9941)['join'](_0x4201e0['state']['lineBreak']),!0x1);};for(let _0x17ae81=0x0;_0x17ae81<_0x4e92b3['length'];_0x17ae81++){let _0x579d3=new FileReader();_0x579d3['onerror']=_0x732d49,_0x579d3['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0x579d3['result'])||(_0x164ee4[_0x17ae81]=_0x579d3['result']),_0x732d49();},_0x579d3['readAsText'](_0x4e92b3[_0x17ae81]);}return!0x0;}{let _0x5b9428=_0x46c9dd['dataTransfer']['getData']('Text');if(_0x5b9428)return dropText(_0x4201e0,_0x46c9dd,_0x5b9428,!0x0),!0x0;}return!0x1;},_0x550bad['paste']=(_0x46f5ca,_0x583a62)=>{if(_0x46f5ca['state']['readOnly'])return!0x0;_0x46f5ca['observer']['flush']();let _0x1e0e1d=_0x5b13ce?null:_0x583a62['clipboardData'];return _0x1e0e1d?(doPaste(_0x46f5ca,_0x1e0e1d['getData']('text/plain')||_0x1e0e1d['getData']('text/uri-list')),!0x0):(capturePaste(_0x46f5ca),!0x1);};let lastLinewiseCopy=null;_0x550bad['copy']=_0x550bad['cut']=(_0xa81814,_0x2ea40c)=>{let {text:_0x5b1969,ranges:_0x3f66be,linewise:_0x8d5a3}=_0x41965d(_0xa81814['state']);if(!_0x5b1969&&!_0x8d5a3)return!0x1;lastLinewiseCopy=_0x8d5a3?_0x5b1969:null,'cut'!=_0x2ea40c['type']||_0xa81814['state']['readOnly']||_0xa81814['dispatch']({'changes':_0x3f66be,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x325b51=_0x5b13ce?null:_0x2ea40c['clipboardData'];return _0x325b51?(_0x325b51['clearData'](),_0x325b51['setData']('text/plain',_0x5b1969),!0x0):(captureCopy(_0xa81814,_0x5b1969),!0x1);};const _0x18116c=Annotation['define']();function focusChangeTransaction(_0x58d8f3,_0x46b20b){let _0xe19261=[];for(let _0x421f1b of _0x58d8f3['facet'](focusChangeEffect)){let _0x300844=_0x421f1b(_0x58d8f3,_0x46b20b);_0x300844&&_0xe19261['push'](_0x300844);}return _0xe19261['length']?_0x58d8f3['update']({'effects':_0xe19261,'annotations':_0x18116c['of'](!0x0)}):null;}function updateForFocusChange(_0x3b6314){setTimeout(()=>{let _0x709306=_0x3b6314['hasFocus'];if(_0x709306!=_0x3b6314['inputState']['notifiedFocused']){let _0x24d835=focusChangeTransaction(_0x3b6314['state'],_0x709306);_0x24d835?_0x3b6314['dispatch'](_0x24d835):_0x3b6314['update']([]);}},0xa);}_0x5d4cd6['focus']=_0x3fa3ad=>{_0x3fa3ad['inputState']['lastFocusTime']=Date['now'](),_0x3fa3ad['scrollDOM']['scrollTop']||!_0x3fa3ad['inputState']['lastScrollTop']&&!_0x3fa3ad['inputState']['lastScrollLeft']||(_0x3fa3ad['scrollDOM']['scrollTop']=_0x3fa3ad['inputState']['lastScrollTop'],_0x3fa3ad['scrollDOM']['scrollLeft']=_0x3fa3ad['inputState']['lastScrollLeft']),updateForFocusChange(_0x3fa3ad);},_0x5d4cd6['blur']=_0x52521d=>{_0x52521d['observer']['clearSelectionRange'](),updateForFocusChange(_0x52521d);},_0x5d4cd6['compositionstart']=_0x5d4cd6['compositionupdate']=_0x257c35=>{_0x257c35['observer']['editContext']||(null==_0x257c35['inputState']['compositionFirstChange']&&(_0x257c35['inputState']['compositionFirstChange']=!0x0),_0x257c35['inputState']['composing']<0x0&&(_0x257c35['inputState']['composing']=0x0));},_0x5d4cd6['compositionend']=_0x4d4bf0=>{_0x4d4bf0['observer']['editContext']||(_0x4d4bf0['inputState']['composing']=-0x1,_0x4d4bf0['inputState']['compositionEndedAt']=Date['now'](),_0x4d4bf0['inputState']['compositionPendingKey']=!0x0,_0x4d4bf0['inputState']['compositionPendingChange']=_0x4d4bf0['observer']['pendingRecords']()['length']>0x0,_0x4d4bf0['inputState']['compositionFirstChange']=null,_0x394245['chrome']&&_0x394245['android']?_0x4d4bf0['observer']['flushSoon']():_0x4d4bf0['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x4d4bf0['observer']['flush']()):setTimeout(()=>{_0x4d4bf0['inputState']['composing']<0x0&&_0x4d4bf0['docView']['hasComposition']&&_0x4d4bf0['update']([]);},0x32));},_0x5d4cd6['contextmenu']=_0x4bfc57=>{_0x4bfc57['inputState']['lastContextMenu']=Date['now']();},_0x550bad['beforeinput']=(_0x5933df,_0x52d340)=>{var _0x1c37bf,_0x56ac8d;if('insertReplacementText'==_0x52d340['inputType']&&_0x5933df['observer']['editContext']){let _0x321dd2=null===(_0x1c37bf=_0x52d340['dataTransfer'])||void 0x0===_0x1c37bf?void 0x0:_0x1c37bf['getData']('text/plain'),_0x355cc2=_0x52d340['getTargetRanges']();if(_0x321dd2&&_0x355cc2['length']){let _0x25e4f4=_0x355cc2[0x0],_0x47257a=_0x5933df['posAtDOM'](_0x25e4f4['startContainer'],_0x25e4f4['startOffset']),_0x3c39a4=_0x5933df['posAtDOM'](_0x25e4f4['endContainer'],_0x25e4f4['endOffset']);return _0x1d2a45(_0x5933df,{'from':_0x47257a,'to':_0x3c39a4,'insert':_0x5933df['state']['toText'](_0x321dd2)},null),!0x0;}}let _0x38b083;if(_0x394245['chrome']&&_0x394245['android']&&(_0x38b083=_0x190909['find'](_0x124329=>_0x124329['inputType']==_0x52d340['inputType']))&&(_0x5933df['observer']['delayAndroidKey'](_0x38b083['key'],_0x38b083['keyCode']),'Backspace'==_0x38b083['key']||'Delete'==_0x38b083['key'])){let _0xeeb144=(null===(_0x56ac8d=window['visualViewport'])||void 0x0===_0x56ac8d?void 0x0:_0x56ac8d['height'])||0x0;setTimeout(()=>{var _0x21acc1;((null===(_0x21acc1=window['visualViewport'])||void 0x0===_0x21acc1?void 0x0:_0x21acc1['height'])||0x0)>_0xeeb144+0xa&&_0x5933df['hasFocus']&&(_0x5933df['contentDOM']['blur'](),_0x5933df['focus']());},0x64);}return _0x394245['ios']&&'deleteContentForward'==_0x52d340['inputType']&&_0x5933df['observer']['flushSoon'](),_0x394245['safari']&&'insertText'==_0x52d340['inputType']&&_0x5933df['inputState']['composing']>=0x0&&setTimeout(()=>_0x5d4cd6['compositionend'](_0x5933df,_0x52d340),0x14),!0x1;};const _0x1af239=new Set();function firefoxCopyCutHack(_0x34b928){_0x1af239['has'](_0x34b928)||(_0x1af239['add'](_0x34b928),_0x34b928['addEventListener']('copy',()=>{}),_0x34b928['addEventListener']('cut',()=>{}));}const wrappingWhiteSpace=['pre-wrap','normal','pre-line','break-spaces'];let heightChangeFlag=!0x1;function clearHeightChangeFlag(){heightChangeFlag=!0x1;}class HeightOracle{constructor(_0x32d685){this['lineWrapping']=_0x32d685,this['doc']=Text['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x554915,_0x2c24e1){let _0x706bd4=this['doc']['lineAt'](_0x2c24e1)['number']-this['doc']['lineAt'](_0x554915)['number']+0x1;return this['lineWrapping']&&(_0x706bd4+=Math['max'](0x0,Math['ceil']((_0x2c24e1-_0x554915-_0x706bd4*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x706bd4;}['heightForLine'](_0xeafac8){if(!this['lineWrapping'])return this['lineHeight'];return(0x1+Math['max'](0x0,Math['ceil']((_0xeafac8-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight'];}['setDoc'](_0x36c6ae){return this['doc']=_0x36c6ae,this;}['mustRefreshForWrapping'](_0x118268){return wrappingWhiteSpace['indexOf'](_0x118268)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0xce1916){let _0x2c1c6b=!0x1;for(let _0x2171b1=0x0;_0x2171b1<_0xce1916['length'];_0x2171b1++){let _0x11063d=_0xce1916[_0x2171b1];_0x11063d<0x0?_0x2171b1++:this['heightSamples'][Math['floor'](0xa*_0x11063d)]||(_0x2c1c6b=!0x0,this['heightSamples'][Math['floor'](0xa*_0x11063d)]=!0x0);}return _0x2c1c6b;}['refresh'](_0x2927d7,_0x40689,_0x503661,_0x2e340a,_0x172d97,_0x39061e){let _0x4b26eb=wrappingWhiteSpace['indexOf'](_0x2927d7)>-0x1,_0xb11a2a=Math['round'](_0x40689)!=Math['round'](this['lineHeight'])||this['lineWrapping']!=_0x4b26eb;if(this['lineWrapping']=_0x4b26eb,this['lineHeight']=_0x40689,this['charWidth']=_0x503661,this['textHeight']=_0x2e340a,this['lineLength']=_0x172d97,_0xb11a2a){this['heightSamples']={};for(let _0x18fceb=0x0;_0x18fceb<_0x39061e['length'];_0x18fceb++){let _0x2500ce=_0x39061e[_0x18fceb];_0x2500ce<0x0?_0x18fceb++:this['heightSamples'][Math['floor'](0xa*_0x2500ce)]=!0x0;}}return _0xb11a2a;}}class MeasuredHeights{constructor(_0x1fa3ce,_0x89f886){this['from']=_0x1fa3ce,this['heights']=_0x89f886,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}}class _0x4817c7{constructor(_0x5c00bd,_0x226419,_0x29e53d,_0x158a3a,_0x5ad6b6){this['from']=_0x5c00bd,this['length']=_0x226419,this['top']=_0x29e53d,this['height']=_0x158a3a,this['_content']=_0x5ad6b6;}get['type'](){return'number'==typeof this['_content']?_0x533a79['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'](_0x5ab47f){let _0x3ea9da=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x5ab47f['_content'])?_0x5ab47f['_content']:[_0x5ab47f]);return new _0x4817c7(this['from'],this['length']+_0x5ab47f['length'],this['top'],this['height']+_0x5ab47f['height'],_0x3ea9da);}}var _0x33a3ae=function(_0xe66d18){return _0xe66d18[_0xe66d18['ByPos']=0x0]='ByPos',_0xe66d18[_0xe66d18['ByHeight']=0x1]='ByHeight',_0xe66d18[_0xe66d18['ByPosNoHeight']=0x2]='ByPosNoHeight',_0xe66d18;}(_0x33a3ae||(_0x33a3ae={}));const _0x4bd716=0.001;class HeightMap{constructor(_0x402c34,_0x440914,_0x4a7ce5=0x2){this['length']=_0x402c34,this['height']=_0x440914,this['flags']=_0x4a7ce5;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0x22203e){this['flags']=(_0x22203e?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x526efa){this['height']!=_0x526efa&&(Math['abs'](this['height']-_0x526efa)>_0x4bd716&&(heightChangeFlag=!0x0),this['height']=_0x526efa);}['replace'](_0x428289,_0x2feae9,_0x2ac6d8){return HeightMap['of'](_0x2ac6d8);}['decomposeLeft'](_0x599a07,_0x4c4998){_0x4c4998['push'](this);}['decomposeRight'](_0x5c8a4f,_0x31a855){_0x31a855['push'](this);}['applyChanges'](_0x26e134,_0x283de0,_0x588b5b,_0x1b7d06){let _0x2f1a3a=this,_0x3260b1=_0x588b5b['doc'];for(let _0x3737d5=_0x1b7d06['length']-0x1;_0x3737d5>=0x0;_0x3737d5--){let {fromA:_0x43a357,toA:_0x23157d,fromB:_0x5c01a6,toB:_0x29171b}=_0x1b7d06[_0x3737d5],_0x1de7ca=_0x2f1a3a['lineAt'](_0x43a357,_0x33a3ae['ByPosNoHeight'],_0x588b5b['setDoc'](_0x283de0),0x0,0x0),_0x18a9e0=_0x1de7ca['to']>=_0x23157d?_0x1de7ca:_0x2f1a3a['lineAt'](_0x23157d,_0x33a3ae['ByPosNoHeight'],_0x588b5b,0x0,0x0);for(_0x29171b+=_0x18a9e0['to']-_0x23157d,_0x23157d=_0x18a9e0['to'];_0x3737d5>0x0&&_0x1de7ca['from']<=_0x1b7d06[_0x3737d5-0x1]['toA'];)_0x43a357=_0x1b7d06[_0x3737d5-0x1]['fromA'],_0x5c01a6=_0x1b7d06[_0x3737d5-0x1]['fromB'],_0x3737d5--,_0x43a357<_0x1de7ca['from']&&(_0x1de7ca=_0x2f1a3a['lineAt'](_0x43a357,_0x33a3ae['ByPosNoHeight'],_0x588b5b,0x0,0x0));_0x5c01a6+=_0x1de7ca['from']-_0x43a357,_0x43a357=_0x1de7ca['from'];let _0x1dfd5c=_0x2478ee['build'](_0x588b5b['setDoc'](_0x3260b1),_0x26e134,_0x5c01a6,_0x29171b);_0x2f1a3a=_0x157159(_0x2f1a3a,_0x2f1a3a['replace'](_0x43a357,_0x23157d,_0x1dfd5c));}return _0x2f1a3a['updateHeight'](_0x588b5b,0x0);}static['empty'](){return new HeightMapText(0x0,0x0);}static['of'](_0xa29363){if(0x1==_0xa29363['length'])return _0xa29363[0x0];let _0x3272b8=0x0,_0x1e042d=_0xa29363['length'],_0x3c5652=0x0,_0x1a0fc0=0x0;for(;;)if(_0x3272b8==_0x1e042d){if(_0x3c5652>0x2*_0x1a0fc0){let _0x479322=_0xa29363[_0x3272b8-0x1];_0x479322['break']?_0xa29363['splice'](--_0x3272b8,0x1,_0x479322['left'],null,_0x479322['right']):_0xa29363['splice'](--_0x3272b8,0x1,_0x479322['left'],_0x479322['right']),_0x1e042d+=0x1+_0x479322['break'],_0x3c5652-=_0x479322['size'];}else{if(!(_0x1a0fc0>0x2*_0x3c5652))break;{let _0x2898c3=_0xa29363[_0x1e042d];_0x2898c3['break']?_0xa29363['splice'](_0x1e042d,0x1,_0x2898c3['left'],null,_0x2898c3['right']):_0xa29363['splice'](_0x1e042d,0x1,_0x2898c3['left'],_0x2898c3['right']),_0x1e042d+=0x2+_0x2898c3['break'],_0x1a0fc0-=_0x2898c3['size'];}}}else{if(_0x3c5652<_0x1a0fc0){let _0x9d6c06=_0xa29363[_0x3272b8++];_0x9d6c06&&(_0x3c5652+=_0x9d6c06['size']);}else{let _0x431cac=_0xa29363[--_0x1e042d];_0x431cac&&(_0x1a0fc0+=_0x431cac['size']);}}let _0x4f3e9a=0x0;return null==_0xa29363[_0x3272b8-0x1]?(_0x4f3e9a=0x1,_0x3272b8--):null==_0xa29363[_0x3272b8]&&(_0x4f3e9a=0x1,_0x1e042d++),new HeightMapBranch(HeightMap['of'](_0xa29363['slice'](0x0,_0x3272b8)),_0x4f3e9a,HeightMap['of'](_0xa29363['slice'](_0x1e042d)));}}function _0x157159(_0x223631,_0x5cda52){return _0x223631==_0x5cda52?_0x223631:(_0x223631['constructor']!=_0x5cda52['constructor']&&(heightChangeFlag=!0x0),_0x5cda52);}HeightMap['prototype']['size']=0x1;class HeightMapBlock extends HeightMap{constructor(_0x4122a7,_0x3d5439,_0xb5f420){super(_0x4122a7,_0x3d5439),this['deco']=_0xb5f420;}['blockAt'](_0x809122,_0x2ffa8f,_0x4270f9,_0x111c91){return new _0x4817c7(_0x111c91,this['length'],_0x4270f9,this['height'],this['deco']||0x0);}['lineAt'](_0x3cce77,_0x21168a,_0x39686b,_0x3f2d60,_0x2ffde7){return this['blockAt'](0x0,_0x39686b,_0x3f2d60,_0x2ffde7);}['forEachLine'](_0x3feaa4,_0x3457d0,_0x5bcd6d,_0x400538,_0x1c0d76,_0x29d7ed){_0x3feaa4<=_0x1c0d76+this['length']&&_0x3457d0>=_0x1c0d76&&_0x29d7ed(this['blockAt'](0x0,_0x5bcd6d,_0x400538,_0x1c0d76));}['updateHeight'](_0x1fd227,_0x46ddfb=0x0,_0x4822e2=!0x1,_0x524eea){return _0x524eea&&_0x524eea['from']<=_0x46ddfb&&_0x524eea['more']&&this['setHeight'](_0x524eea['heights'][_0x524eea['index']++]),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}}class HeightMapText extends HeightMapBlock{constructor(_0x314811,_0x19d9b0){super(_0x314811,_0x19d9b0,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0;}['blockAt'](_0x309e60,_0x44db21,_0x2c6ec4,_0x31d323){return new _0x4817c7(_0x31d323,this['length'],_0x2c6ec4,this['height'],this['breaks']);}['replace'](_0x1b7f75,_0x285d0a,_0x3ce531){let _0x305923=_0x3ce531[0x0];return 0x1==_0x3ce531['length']&&(_0x305923 instanceof HeightMapText||_0x305923 instanceof HeightMapGap&&0x4&_0x305923['flags'])&&Math['abs'](this['length']-_0x305923['length'])<0xa?(_0x305923 instanceof HeightMapGap?_0x305923=new HeightMapText(_0x305923['length'],this['height']):_0x305923['height']=this['height'],this['outdated']||(_0x305923['outdated']=!0x1),_0x305923):HeightMap['of'](_0x3ce531);}['updateHeight'](_0x5bf893,_0x3ced09=0x0,_0x48257b=!0x1,_0x217f11){return _0x217f11&&_0x217f11['from']<=_0x3ced09&&_0x217f11['more']?this['setHeight'](_0x217f11['heights'][_0x217f11['index']++]):(_0x48257b||this['outdated'])&&this['setHeight'](Math['max'](this['widgetHeight'],_0x5bf893['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0x5bf893['lineHeight']),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}}class HeightMapGap extends HeightMap{constructor(_0x1eceaa){super(_0x1eceaa,0x0);}['heightMetrics'](_0x48b99b,_0x221304){let _0x1542df,_0x342918=_0x48b99b['doc']['lineAt'](_0x221304)['number'],_0x2387a7=_0x48b99b['doc']['lineAt'](_0x221304+this['length'])['number'],_0x5533c6=_0x2387a7-_0x342918+0x1,_0x594b9e=0x0;if(_0x48b99b['lineWrapping']){let _0x1ce2ab=Math['min'](this['height'],_0x48b99b['lineHeight']*_0x5533c6);_0x1542df=_0x1ce2ab/_0x5533c6,this['length']>_0x5533c6+0x1&&(_0x594b9e=(this['height']-_0x1ce2ab)/(this['length']-_0x5533c6-0x1));}else _0x1542df=this['height']/_0x5533c6;return{'firstLine':_0x342918,'lastLine':_0x2387a7,'perLine':_0x1542df,'perChar':_0x594b9e};}['blockAt'](_0x1b91b5,_0x572971,_0x31cf38,_0x326511){let {firstLine:_0x368958,lastLine:_0x2533f8,perLine:_0x113628,perChar:_0x5e1fac}=this['heightMetrics'](_0x572971,_0x326511);if(_0x572971['lineWrapping']){let _0x8d9cc8=_0x326511+(_0x1b91b5<_0x572971['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0x1b91b5-_0x31cf38)/this['height']))*this['length'])),_0x757156=_0x572971['doc']['lineAt'](_0x8d9cc8),_0x251abc=_0x113628+_0x757156['length']*_0x5e1fac,_0x2f6624=Math['max'](_0x31cf38,_0x1b91b5-_0x251abc/0x2);return new _0x4817c7(_0x757156['from'],_0x757156['length'],_0x2f6624,_0x251abc,0x0);}{let _0x303ee6=Math['max'](0x0,Math['min'](_0x2533f8-_0x368958,Math['floor']((_0x1b91b5-_0x31cf38)/_0x113628))),{from:_0x21d086,length:_0x3ddd04}=_0x572971['doc']['line'](_0x368958+_0x303ee6);return new _0x4817c7(_0x21d086,_0x3ddd04,_0x31cf38+_0x113628*_0x303ee6,_0x113628,0x0);}}['lineAt'](_0xd04ea0,_0x3d5bc4,_0x140c01,_0x55de9c,_0x2874f3){if(_0x3d5bc4==_0x33a3ae['ByHeight'])return this['blockAt'](_0xd04ea0,_0x140c01,_0x55de9c,_0x2874f3);if(_0x3d5bc4==_0x33a3ae['ByPosNoHeight']){let {from:_0x494865,to:_0x3e1064}=_0x140c01['doc']['lineAt'](_0xd04ea0);return new _0x4817c7(_0x494865,_0x3e1064-_0x494865,0x0,0x0,0x0);}let {firstLine:_0x58ea17,perLine:_0x3ae53f,perChar:_0x1d81b3}=this['heightMetrics'](_0x140c01,_0x2874f3),_0x133d1c=_0x140c01['doc']['lineAt'](_0xd04ea0),_0x3cf59d=_0x3ae53f+_0x133d1c['length']*_0x1d81b3,_0x1dfc83=_0x133d1c['number']-_0x58ea17,_0x3d2968=_0x55de9c+_0x3ae53f*_0x1dfc83+_0x1d81b3*(_0x133d1c['from']-_0x2874f3-_0x1dfc83);return new _0x4817c7(_0x133d1c['from'],_0x133d1c['length'],Math['max'](_0x55de9c,Math['min'](_0x3d2968,_0x55de9c+this['height']-_0x3cf59d)),_0x3cf59d,0x0);}['forEachLine'](_0x568012,_0x2f121c,_0x3e2a2d,_0x2bde7d,_0x211ee0,_0x1279ef){_0x568012=Math['max'](_0x568012,_0x211ee0),_0x2f121c=Math['min'](_0x2f121c,_0x211ee0+this['length']);let {firstLine:_0x1b18b2,perLine:_0x2743bb,perChar:_0x5aff1e}=this['heightMetrics'](_0x3e2a2d,_0x211ee0);for(let _0x55d846=_0x568012,_0x16e3fb=_0x2bde7d;_0x55d846<=_0x2f121c;){let _0x424c40=_0x3e2a2d['doc']['lineAt'](_0x55d846);if(_0x55d846==_0x568012){let _0x1970e1=_0x424c40['number']-_0x1b18b2;_0x16e3fb+=_0x2743bb*_0x1970e1+_0x5aff1e*(_0x568012-_0x211ee0-_0x1970e1);}let _0x4564ab=_0x2743bb+_0x5aff1e*_0x424c40['length'];_0x1279ef(new _0x4817c7(_0x424c40['from'],_0x424c40['length'],_0x16e3fb,_0x4564ab,0x0)),_0x16e3fb+=_0x4564ab,_0x55d846=_0x424c40['to']+0x1;}}['replace'](_0x209135,_0x26a6fa,_0x2cce14){let _0x3d574d=this['length']-_0x26a6fa;if(_0x3d574d>0x0){let _0x463157=_0x2cce14[_0x2cce14['length']-0x1];_0x463157 instanceof HeightMapGap?_0x2cce14[_0x2cce14['length']-0x1]=new HeightMapGap(_0x463157['length']+_0x3d574d):_0x2cce14['push'](null,new HeightMapGap(_0x3d574d-0x1));}if(_0x209135>0x0){let _0x53ad18=_0x2cce14[0x0];_0x53ad18 instanceof HeightMapGap?_0x2cce14[0x0]=new HeightMapGap(_0x209135+_0x53ad18['length']):_0x2cce14['unshift'](new HeightMapGap(_0x209135-0x1),null);}return HeightMap['of'](_0x2cce14);}['decomposeLeft'](_0xd798ff,_0x4c66d6){_0x4c66d6['push'](new HeightMapGap(_0xd798ff-0x1),null);}['decomposeRight'](_0x3310e0,_0x48be83){_0x48be83['push'](null,new HeightMapGap(this['length']-_0x3310e0-0x1));}['updateHeight'](_0x14a0b2,_0x21af78=0x0,_0x2ffe13=!0x1,_0x358e9a){let _0x28cb75=_0x21af78+this['length'];if(_0x358e9a&&_0x358e9a['from']<=_0x21af78+this['length']&&_0x358e9a['more']){let _0x2813aa=[],_0x47f977=Math['max'](_0x21af78,_0x358e9a['from']),_0x4534b1=-0x1;for(_0x358e9a['from']>_0x21af78&&_0x2813aa['push'](new HeightMapGap(_0x358e9a['from']-_0x21af78-0x1)['updateHeight'](_0x14a0b2,_0x21af78));_0x47f977<=_0x28cb75&&_0x358e9a['more'];){let _0x2de247=_0x14a0b2['doc']['lineAt'](_0x47f977)['length'];_0x2813aa['length']&&_0x2813aa['push'](null);let _0x2cd0d7=_0x358e9a['heights'][_0x358e9a['index']++];-0x1==_0x4534b1?_0x4534b1=_0x2cd0d7:Math['abs'](_0x2cd0d7-_0x4534b1)>=_0x4bd716&&(_0x4534b1=-0x2);let _0x2ad922=new HeightMapText(_0x2de247,_0x2cd0d7);_0x2ad922['outdated']=!0x1,_0x2813aa['push'](_0x2ad922),_0x47f977+=_0x2de247+0x1;}_0x47f977<=_0x28cb75&&_0x2813aa['push'](null,new HeightMapGap(_0x28cb75-_0x47f977)['updateHeight'](_0x14a0b2,_0x47f977));let _0x5e761d=HeightMap['of'](_0x2813aa);return(_0x4534b1<0x0||Math['abs'](_0x5e761d['height']-this['height'])>=_0x4bd716||Math['abs'](_0x4534b1-this['heightMetrics'](_0x14a0b2,_0x21af78)['perLine'])>=_0x4bd716)&&(heightChangeFlag=!0x0),_0x157159(this,_0x5e761d);}return(_0x2ffe13||this['outdated'])&&(this['setHeight'](_0x14a0b2['heightForGap'](_0x21af78,_0x21af78+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}}class HeightMapBranch extends HeightMap{constructor(_0x219cb0,_0x2c6753,_0x1e55ef){super(_0x219cb0['length']+_0x2c6753+_0x1e55ef['length'],_0x219cb0['height']+_0x1e55ef['height'],_0x2c6753|(_0x219cb0['outdated']||_0x1e55ef['outdated']?0x2:0x0)),this['left']=_0x219cb0,this['right']=_0x1e55ef,this['size']=_0x219cb0['size']+_0x1e55ef['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0x3aad39,_0xfa582,_0x4a6747,_0x185f63){let _0x255f99=_0x4a6747+this['left']['height'];return _0x3aad39<_0x255f99?this['left']['blockAt'](_0x3aad39,_0xfa582,_0x4a6747,_0x185f63):this['right']['blockAt'](_0x3aad39,_0xfa582,_0x255f99,_0x185f63+this['left']['length']+this['break']);}['lineAt'](_0xefec15,_0x210439,_0x3f9d73,_0x1f92d2,_0x7c1cf){let _0x52edc3=_0x1f92d2+this['left']['height'],_0x394d0e=_0x7c1cf+this['left']['length']+this['break'],_0x348877=_0x210439==_0x33a3ae['ByHeight']?_0xefec15<_0x52edc3:_0xefec15<_0x394d0e,_0x5de81a=_0x348877?this['left']['lineAt'](_0xefec15,_0x210439,_0x3f9d73,_0x1f92d2,_0x7c1cf):this['right']['lineAt'](_0xefec15,_0x210439,_0x3f9d73,_0x52edc3,_0x394d0e);if(this['break']||(_0x348877?_0x5de81a['to']<_0x394d0e:_0x5de81a['from']>_0x394d0e))return _0x5de81a;let _0x4930ae=_0x210439==_0x33a3ae['ByPosNoHeight']?_0x33a3ae['ByPosNoHeight']:_0x33a3ae['ByPos'];return _0x348877?_0x5de81a['join'](this['right']['lineAt'](_0x394d0e,_0x4930ae,_0x3f9d73,_0x52edc3,_0x394d0e)):this['left']['lineAt'](_0x394d0e,_0x4930ae,_0x3f9d73,_0x1f92d2,_0x7c1cf)['join'](_0x5de81a);}['forEachLine'](_0x1cc8d2,_0x37efa3,_0x4490c3,_0x354423,_0xb0998e,_0x2a0693){let _0x421693=_0x354423+this['left']['height'],_0x4d538e=_0xb0998e+this['left']['length']+this['break'];if(this['break'])_0x1cc8d2<_0x4d538e&&this['left']['forEachLine'](_0x1cc8d2,_0x37efa3,_0x4490c3,_0x354423,_0xb0998e,_0x2a0693),_0x37efa3>=_0x4d538e&&this['right']['forEachLine'](_0x1cc8d2,_0x37efa3,_0x4490c3,_0x421693,_0x4d538e,_0x2a0693);else{let _0x590868=this['lineAt'](_0x4d538e,_0x33a3ae['ByPos'],_0x4490c3,_0x354423,_0xb0998e);_0x1cc8d2<_0x590868['from']&&this['left']['forEachLine'](_0x1cc8d2,_0x590868['from']-0x1,_0x4490c3,_0x354423,_0xb0998e,_0x2a0693),_0x590868['to']>=_0x1cc8d2&&_0x590868['from']<=_0x37efa3&&_0x2a0693(_0x590868),_0x37efa3>_0x590868['to']&&this['right']['forEachLine'](_0x590868['to']+0x1,_0x37efa3,_0x4490c3,_0x421693,_0x4d538e,_0x2a0693);}}['replace'](_0x305f99,_0x249ba0,_0x57982e){let _0x1e4f1b=this['left']['length']+this['break'];if(_0x249ba0<_0x1e4f1b)return this['balanced'](this['left']['replace'](_0x305f99,_0x249ba0,_0x57982e),this['right']);if(_0x305f99>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x305f99-_0x1e4f1b,_0x249ba0-_0x1e4f1b,_0x57982e));let _0x2973c1=[];_0x305f99>0x0&&this['decomposeLeft'](_0x305f99,_0x2973c1);let _0x48c7c0=_0x2973c1['length'];for(let _0x30c840 of _0x57982e)_0x2973c1['push'](_0x30c840);if(_0x305f99>0x0&&_0x276f71(_0x2973c1,_0x48c7c0-0x1),_0x249ba0<this['length']){let _0x22ad55=_0x2973c1['length'];this['decomposeRight'](_0x249ba0,_0x2973c1),_0x276f71(_0x2973c1,_0x22ad55);}return HeightMap['of'](_0x2973c1);}['decomposeLeft'](_0x2aea9a,_0x2a1b1e){let _0x4e0d80=this['left']['length'];if(_0x2aea9a<=_0x4e0d80)return this['left']['decomposeLeft'](_0x2aea9a,_0x2a1b1e);_0x2a1b1e['push'](this['left']),this['break']&&(_0x4e0d80++,_0x2aea9a>=_0x4e0d80&&_0x2a1b1e['push'](null)),_0x2aea9a>_0x4e0d80&&this['right']['decomposeLeft'](_0x2aea9a-_0x4e0d80,_0x2a1b1e);}['decomposeRight'](_0x2670c3,_0xf8baae){let _0x2deb9e=this['left']['length'],_0x3e3a2a=_0x2deb9e+this['break'];if(_0x2670c3>=_0x3e3a2a)return this['right']['decomposeRight'](_0x2670c3-_0x3e3a2a,_0xf8baae);_0x2670c3<_0x2deb9e&&this['left']['decomposeRight'](_0x2670c3,_0xf8baae),this['break']&&_0x2670c3<_0x3e3a2a&&_0xf8baae['push'](null),_0xf8baae['push'](this['right']);}['balanced'](_0x552107,_0x45f498){return _0x552107['size']>0x2*_0x45f498['size']||_0x45f498['size']>0x2*_0x552107['size']?HeightMap['of'](this['break']?[_0x552107,null,_0x45f498]:[_0x552107,_0x45f498]):(this['left']=_0x157159(this['left'],_0x552107),this['right']=_0x157159(this['right'],_0x45f498),this['setHeight'](_0x552107['height']+_0x45f498['height']),this['outdated']=_0x552107['outdated']||_0x45f498['outdated'],this['size']=_0x552107['size']+_0x45f498['size'],this['length']=_0x552107['length']+this['break']+_0x45f498['length'],this);}['updateHeight'](_0xcf3110,_0x2a9335=0x0,_0x615d0b=!0x1,_0x58f651){let {left:_0x4edee0,right:_0x1107f7}=this,_0x5396f8=_0x2a9335+_0x4edee0['length']+this['break'],_0x4bab9e=null;return _0x58f651&&_0x58f651['from']<=_0x2a9335+_0x4edee0['length']&&_0x58f651['more']?_0x4bab9e=_0x4edee0=_0x4edee0['updateHeight'](_0xcf3110,_0x2a9335,_0x615d0b,_0x58f651):_0x4edee0['updateHeight'](_0xcf3110,_0x2a9335,_0x615d0b),_0x58f651&&_0x58f651['from']<=_0x5396f8+_0x1107f7['length']&&_0x58f651['more']?_0x4bab9e=_0x1107f7=_0x1107f7['updateHeight'](_0xcf3110,_0x5396f8,_0x615d0b,_0x58f651):_0x1107f7['updateHeight'](_0xcf3110,_0x5396f8,_0x615d0b),_0x4bab9e?this['balanced'](_0x4edee0,_0x1107f7):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}}function _0x276f71(_0x1d720a,_0x5dd979){let _0x417630,_0x2d79e8;null==_0x1d720a[_0x5dd979]&&(_0x417630=_0x1d720a[_0x5dd979-0x1])instanceof HeightMapGap&&(_0x2d79e8=_0x1d720a[_0x5dd979+0x1])instanceof HeightMapGap&&_0x1d720a['splice'](_0x5dd979-0x1,0x3,new HeightMapGap(_0x417630['length']+0x1+_0x2d79e8['length']));}const relevantWidgetHeight=0x5;class _0x2478ee{constructor(_0x3b9297,_0x2a981a){this['pos']=_0x3b9297,this['oracle']=_0x2a981a,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x3b9297;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0x2a1cdc,_0x39247b){if(this['lineStart']>-0x1){let _0x5f249c=Math['min'](_0x39247b,this['lineEnd']),_0x3df8a1=this['nodes'][this['nodes']['length']-0x1];_0x3df8a1 instanceof HeightMapText?_0x3df8a1['length']+=_0x5f249c-this['pos']:(_0x5f249c>this['pos']||!this['isCovered'])&&this['nodes']['push'](new HeightMapText(_0x5f249c-this['pos'],-0x1)),this['writtenTo']=_0x5f249c,_0x39247b>_0x5f249c&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x39247b;}['point'](_0x436faf,_0x459b14,_0x37b79f){if(_0x436faf<_0x459b14||_0x37b79f['heightRelevant']){let _0x3a0876=_0x37b79f['widget']?_0x37b79f['widget']['estimatedHeight']:0x0,_0x199c5f=_0x37b79f['widget']?_0x37b79f['widget']['lineBreaks']:0x0;_0x3a0876<0x0&&(_0x3a0876=this['oracle']['lineHeight']);let _0x6b3c80=_0x459b14-_0x436faf;_0x37b79f['block']?this['addBlock'](new HeightMapBlock(_0x6b3c80,_0x3a0876,_0x37b79f)):(_0x6b3c80||_0x199c5f||_0x3a0876>=relevantWidgetHeight)&&this['addLineDeco'](_0x3a0876,_0x199c5f,_0x6b3c80);}else _0x459b14>_0x436faf&&this['span'](_0x436faf,_0x459b14);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x139629,to:_0x32f775}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x139629,this['lineEnd']=_0x32f775,this['writtenTo']<_0x139629&&((this['writtenTo']<_0x139629-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x139629-0x1)),this['nodes']['push'](null)),this['pos']>_0x139629&&this['nodes']['push'](new HeightMapText(this['pos']-_0x139629,-0x1)),this['writtenTo']=this['pos'];}['blankContent'](_0x4e574e,_0x4c3ccf){let _0x18d5e3=new HeightMapGap(_0x4c3ccf-_0x4e574e);return this['oracle']['doc']['lineAt'](_0x4e574e)['to']==_0x4c3ccf&&(_0x18d5e3['flags']|=0x4),_0x18d5e3;}['ensureLine'](){this['enterLine']();let _0x116fa2=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x116fa2 instanceof HeightMapText)return _0x116fa2;let _0x21bfe0=new HeightMapText(0x0,-0x1);return this['nodes']['push'](_0x21bfe0),_0x21bfe0;}['addBlock'](_0x22d09a){this['enterLine']();let _0x4082c6=_0x22d09a['deco'];_0x4082c6&&_0x4082c6['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0x22d09a),this['writtenTo']=this['pos']=this['pos']+_0x22d09a['length'],_0x4082c6&&_0x4082c6['endSide']>0x0&&(this['covering']=_0x22d09a);}['addLineDeco'](_0x59342a,_0x45ba95,_0x3fc1e2){let _0x280406=this['ensureLine']();_0x280406['length']+=_0x3fc1e2,_0x280406['collapsed']+=_0x3fc1e2,_0x280406['widgetHeight']=Math['max'](_0x280406['widgetHeight'],_0x59342a),_0x280406['breaks']+=_0x45ba95,this['writtenTo']=this['pos']=this['pos']+_0x3fc1e2;}['finish'](_0x469f6a){let _0x42c35c=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x42c35c instanceof HeightMapText||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x42c35c)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new HeightMapText(0x0,-0x1));let _0x5ad8af=_0x469f6a;for(let _0xd94203 of this['nodes'])_0xd94203 instanceof HeightMapText&&_0xd94203['updateHeight'](this['oracle'],_0x5ad8af),_0x5ad8af+=_0xd94203?_0xd94203['length']:0x1;return this['nodes'];}static['build'](_0x510e9d,_0x270fd3,_0x1c3be2,_0x441d2a){let _0x2ac12e=new _0x2478ee(_0x1c3be2,_0x510e9d);return RangeSet['spans'](_0x270fd3,_0x1c3be2,_0x441d2a,_0x2ac12e,0x0),_0x2ac12e['finish'](_0x1c3be2);}}function heightRelevantDecoChanges(_0x3626bd,_0x482619,_0x49be20){let _0x19718c=new DecorationComparator();return RangeSet['compare'](_0x3626bd,_0x482619,_0x49be20,_0x19718c,0x0),_0x19718c['changes'];}class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x7545a8,_0xfd508a,_0x241041,_0xff6cb2){(_0x7545a8<_0xfd508a||_0x241041&&_0x241041['heightRelevant']||_0xff6cb2&&_0xff6cb2['heightRelevant'])&&_0x318814(_0x7545a8,_0xfd508a,this['changes'],0x5);}}function _0x4050ef(_0x3278a1,_0x204cea){let _0x5b555b=_0x3278a1['getBoundingClientRect'](),_0x795d02=_0x3278a1['ownerDocument'],_0xa15f65=_0x795d02['defaultView']||window,_0x2cb0d0=Math['max'](0x0,_0x5b555b['left']),_0x1c1a8f=Math['min'](_0xa15f65['innerWidth'],_0x5b555b['right']),_0x51ea78=Math['max'](0x0,_0x5b555b['top']),_0x18b751=Math['min'](_0xa15f65['innerHeight'],_0x5b555b['bottom']);for(let _0x3d6592=_0x3278a1['parentNode'];_0x3d6592&&_0x3d6592!=_0x795d02['body'];)if(0x1==_0x3d6592['nodeType']){let _0x2f95ec=_0x3d6592,_0x6f4145=window['getComputedStyle'](_0x2f95ec);if((_0x2f95ec['scrollHeight']>_0x2f95ec['clientHeight']||_0x2f95ec['scrollWidth']>_0x2f95ec['clientWidth'])&&'visible'!=_0x6f4145['overflow']){let _0x10038c=_0x2f95ec['getBoundingClientRect']();_0x2cb0d0=Math['max'](_0x2cb0d0,_0x10038c['left']),_0x1c1a8f=Math['min'](_0x1c1a8f,_0x10038c['right']),_0x51ea78=Math['max'](_0x51ea78,_0x10038c['top']),_0x18b751=Math['min'](_0x3d6592==_0x3278a1['parentNode']?_0xa15f65['innerHeight']:_0x18b751,_0x10038c['bottom']);}_0x3d6592='absolute'==_0x6f4145['position']||'fixed'==_0x6f4145['position']?_0x2f95ec['offsetParent']:_0x2f95ec['parentNode'];}else{if(0xb!=_0x3d6592['nodeType'])break;_0x3d6592=_0x3d6592['host'];}return{'left':_0x2cb0d0-_0x5b555b['left'],'right':Math['max'](_0x2cb0d0,_0x1c1a8f)-_0x5b555b['left'],'top':_0x51ea78-(_0x5b555b['top']+_0x204cea),'bottom':Math['max'](_0x51ea78,_0x18b751)-(_0x5b555b['top']+_0x204cea)};}function _0x45ddf8(_0x56f15b){let _0x421acc=_0x56f15b['getBoundingClientRect'](),_0x2dc8ed=_0x56f15b['ownerDocument']['defaultView']||window;return _0x421acc['left']<_0x2dc8ed['innerWidth']&&_0x421acc['right']>0x0&&_0x421acc['top']<_0x2dc8ed['innerHeight']&&_0x421acc['bottom']>0x0;}function _0x4101c6(_0xfa79bf,_0x6a09ae){let _0x2a287a=_0xfa79bf['getBoundingClientRect']();return{'left':0x0,'right':_0x2a287a['right']-_0x2a287a['left'],'top':_0x6a09ae,'bottom':_0x2a287a['bottom']-(_0x2a287a['top']+_0x6a09ae)};}class _0x2ebee2{constructor(_0x34f5da,_0x4cbf0a,_0x441968,_0x49b94e){this['from']=_0x34f5da,this['to']=_0x4cbf0a,this['size']=_0x441968,this['displaySize']=_0x49b94e;}static['same'](_0x52e5f4,_0x27fdfe){if(_0x52e5f4['length']!=_0x27fdfe['length'])return!0x1;for(let _0xf32bc1=0x0;_0xf32bc1<_0x52e5f4['length'];_0xf32bc1++){let _0x532f96=_0x52e5f4[_0xf32bc1],_0x233f85=_0x27fdfe[_0xf32bc1];if(_0x532f96['from']!=_0x233f85['from']||_0x532f96['to']!=_0x233f85['to']||_0x532f96['size']!=_0x233f85['size'])return!0x1;}return!0x0;}['draw'](_0x3bba80,_0x3bf60e){return Decoration['replace']({'widget':new LineGapWidget(this['displaySize']*(_0x3bf60e?_0x3bba80['scaleY']:_0x3bba80['scaleX']),_0x3bf60e)})['range'](this['from'],this['to']);}}class LineGapWidget extends WidgetType{constructor(_0x5e1392,_0x245c0e){super(),this['size']=_0x5e1392,this['vertical']=_0x245c0e;}['eq'](_0x825155){return _0x825155['size']==this['size']&&_0x825155['vertical']==this['vertical'];}['toDOM'](){let _0x50e8bf=document['createElement']('div');return this['vertical']?_0x50e8bf['style']['height']=this['size']+'px':(_0x50e8bf['style']['width']=this['size']+'px',_0x50e8bf['style']['height']='2px',_0x50e8bf['style']['display']='inline-block'),_0x50e8bf;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}}class ViewState{constructor(_0x5c6c21){this['state']=_0x5c6c21,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']=_0x2faaec,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=Direction['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x593b1f=_0x5c6c21['facet'](contentAttributes)['some'](_0x61416a=>'function'!=typeof _0x61416a&&'cm-lineWrapping'==_0x61416a['class']);this['heightOracle']=new HeightOracle(_0x593b1f),this['stateDeco']=_0x5c6c21['facet'](decorations)['filter'](_0x2b141d=>'function'!=typeof _0x2b141d),this['heightMap']=HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle']['setDoc'](_0x5c6c21['doc']),[new _0xaeeecc(0x0,0x0,0x0,_0x5c6c21['doc']['length'])]);for(let _0x445428=0x0;_0x445428<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x445428++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=Decoration['set'](this['lineGaps']['map'](_0x360f4e=>_0x360f4e['draw'](this,!0x1))),this['computeVisibleRanges']();}['updateForViewport'](){let _0x56a72d=[this['viewport']],{main:_0x8be03d}=this['state']['selection'];for(let _0x4ad199=0x0;_0x4ad199<=0x1;_0x4ad199++){let _0x42aee7=_0x4ad199?_0x8be03d['head']:_0x8be03d['anchor'];if(!_0x56a72d['some'](({from:_0x2471dc,to:_0x1e84f9})=>_0x42aee7>=_0x2471dc&&_0x42aee7<=_0x1e84f9)){let {from:_0x44dd91,to:_0x2a5a6a}=this['lineBlockAt'](_0x42aee7);_0x56a72d['push'](new Viewport(_0x44dd91,_0x2a5a6a));}}return this['viewports']=_0x56a72d['sort']((_0xfc3493,_0x3fcfa4)=>_0xfc3493['from']-_0x3fcfa4['from']),this['updateScaler']();}['updateScaler'](){let _0x510018=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?_0x2faaec:new _0x2bfae2(this['heightOracle'],this['heightMap'],this['viewports']),_0x510018['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,_0x5b5946=>{this['viewportLines']['push'](_0x481dbd(_0x5b5946,this['scaler']));});}['update'](_0x4a2abc,_0x2c7011=null){this['state']=_0x4a2abc['state'];let _0xb2b6e6=this['stateDeco'];this['stateDeco']=this['state']['facet'](decorations)['filter'](_0x490267=>'function'!=typeof _0x490267);let _0xa8c6e9=_0x4a2abc['changedRanges'],_0x3bec85=_0xaeeecc['extendWithRanges'](_0xa8c6e9,heightRelevantDecoChanges(_0xb2b6e6,this['stateDeco'],_0x4a2abc?_0x4a2abc['changes']:ChangeSet['empty'](this['state']['doc']['length']))),_0x3d6024=this['heightMap']['height'],_0x2341a7=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollTop']);clearHeightChangeFlag(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x4a2abc['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x3bec85),(this['heightMap']['height']!=_0x3d6024||heightChangeFlag)&&(_0x4a2abc['flags']|=0x2),_0x2341a7?(this['scrollAnchorPos']=_0x4a2abc['changes']['mapPos'](_0x2341a7['from'],-0x1),this['scrollAnchorHeight']=_0x2341a7['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x3d6024);let _0x3ac280=_0x3bec85['length']?this['mapViewport'](this['viewport'],_0x4a2abc['changes']):this['viewport'];(_0x2c7011&&(_0x2c7011['range']['head']<_0x3ac280['from']||_0x2c7011['range']['head']>_0x3ac280['to'])||!this['viewportIsAppropriate'](_0x3ac280))&&(_0x3ac280=this['getViewport'](0x0,_0x2c7011));let _0x5bbd98=_0x3ac280['from']!=this['viewport']['from']||_0x3ac280['to']!=this['viewport']['to'];this['viewport']=_0x3ac280,_0x4a2abc['flags']|=this['updateForViewport'](),(_0x5bbd98||!_0x4a2abc['changes']['empty']||0x2&_0x4a2abc['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x4a2abc['changes']))),_0x4a2abc['flags']|=this['computeVisibleRanges'](_0x4a2abc['changes']),_0x2c7011&&(this['scrollTarget']=_0x2c7011),!this['mustEnforceCursorAssoc']&&_0x4a2abc['selectionSet']&&_0x4a2abc['view']['lineWrapping']&&_0x4a2abc['state']['selection']['main']['empty']&&_0x4a2abc['state']['selection']['main']['assoc']&&!_0x4a2abc['state']['facet'](nativeSelectionHidden)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](_0x12fe12){let _0x19ab0a=_0x12fe12['contentDOM'],_0x38e8cd=window['getComputedStyle'](_0x19ab0a),_0x24d007=this['heightOracle'],_0x4b89e6=_0x38e8cd['whiteSpace'];this['defaultTextDirection']='rtl'==_0x38e8cd['direction']?Direction['RTL']:Direction['LTR'];let _0x1793bb=this['heightOracle']['mustRefreshForWrapping'](_0x4b89e6),_0x12f05e=_0x19ab0a['getBoundingClientRect'](),_0x5be8e3=_0x1793bb||this['mustMeasureContent']||this['contentDOMHeight']!=_0x12f05e['height'];this['contentDOMHeight']=_0x12f05e['height'],this['mustMeasureContent']=!0x1;let _0x8fcfea=0x0,_0x464654=0x0;if(_0x12f05e['width']&&_0x12f05e['height']){let {scaleX:_0x1911fc,scaleY:_0x4f66e5}=getScale(_0x19ab0a,_0x12f05e);(_0x1911fc>0.005&&Math['abs'](this['scaleX']-_0x1911fc)>0.005||_0x4f66e5>0.005&&Math['abs'](this['scaleY']-_0x4f66e5)>0.005)&&(this['scaleX']=_0x1911fc,this['scaleY']=_0x4f66e5,_0x8fcfea|=0x10,_0x1793bb=_0x5be8e3=!0x0);}let _0x4d72d0=(parseInt(_0x38e8cd['paddingTop'])||0x0)*this['scaleY'],_0x1a149b=(parseInt(_0x38e8cd['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x4d72d0&&this['paddingBottom']==_0x1a149b||(this['paddingTop']=_0x4d72d0,this['paddingBottom']=_0x1a149b,_0x8fcfea|=0x12),this['editorWidth']!=_0x12fe12['scrollDOM']['clientWidth']&&(_0x24d007['lineWrapping']&&(_0x5be8e3=!0x0),this['editorWidth']=_0x12fe12['scrollDOM']['clientWidth'],_0x8fcfea|=0x10);let _0x49d50a=_0x12fe12['scrollDOM']['scrollTop']*this['scaleY'];this['scrollTop']!=_0x49d50a&&(this['scrollAnchorHeight']=-0x1,this['scrollTop']=_0x49d50a),this['scrolledToBottom']=isScrolledToBottom(_0x12fe12['scrollDOM']);let _0x494a11=(this['printing']?_0x4101c6:_0x4050ef)(_0x19ab0a,this['paddingTop']),_0x59fe9e=_0x494a11['top']-this['pixelViewport']['top'],_0x26f743=_0x494a11['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x494a11;let _0x2d5a43=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x2d5a43!=this['inView']&&(this['inView']=_0x2d5a43,_0x2d5a43&&(_0x5be8e3=!0x0)),!this['inView']&&!this['scrollTarget']&&!_0x45ddf8(_0x12fe12['dom']))return 0x0;let _0x5954e5=_0x12f05e['width'];if(this['contentDOMWidth']==_0x5954e5&&this['editorHeight']==_0x12fe12['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0x12f05e['width'],this['editorHeight']=_0x12fe12['scrollDOM']['clientHeight'],_0x8fcfea|=0x10),_0x5be8e3){let _0x59701c=_0x12fe12['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x24d007['mustRefreshForHeights'](_0x59701c)&&(_0x1793bb=!0x0),_0x1793bb||_0x24d007['lineWrapping']&&Math['abs'](_0x5954e5-this['contentDOMWidth'])>_0x24d007['charWidth']){let {lineHeight:_0x1dbce1,charWidth:_0xfb8ea1,textHeight:_0x286a5c}=_0x12fe12['docView']['measureTextSize']();_0x1793bb=_0x1dbce1>0x0&&_0x24d007['refresh'](_0x4b89e6,_0x1dbce1,_0xfb8ea1,_0x286a5c,Math['max'](0x5,_0x5954e5/_0xfb8ea1),_0x59701c),_0x1793bb&&(_0x12fe12['docView']['minWidth']=0x0,_0x8fcfea|=0x10);}_0x59fe9e>0x0&&_0x26f743>0x0?_0x464654=Math['max'](_0x59fe9e,_0x26f743):_0x59fe9e<0x0&&_0x26f743<0x0&&(_0x464654=Math['min'](_0x59fe9e,_0x26f743)),clearHeightChangeFlag();for(let _0xcf6fd3 of this['viewports']){let _0x2eff42=_0xcf6fd3['from']==this['viewport']['from']?_0x59701c:_0x12fe12['docView']['measureVisibleLineHeights'](_0xcf6fd3);this['heightMap']=(_0x1793bb?HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle'],[new _0xaeeecc(0x0,0x0,0x0,_0x12fe12['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x24d007,0x0,_0x1793bb,new MeasuredHeights(_0xcf6fd3['from'],_0x2eff42));}heightChangeFlag&&(_0x8fcfea|=0x2);}let _0x4a5a18=!this['viewportIsAppropriate'](this['viewport'],_0x464654)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x4a5a18&&(0x2&_0x8fcfea&&(_0x8fcfea|=this['updateScaler']()),this['viewport']=this['getViewport'](_0x464654,this['scrollTarget']),_0x8fcfea|=this['updateForViewport']()),(0x2&_0x8fcfea||_0x4a5a18)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0x1793bb?[]:this['lineGaps'],_0x12fe12)),_0x8fcfea|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x12fe12['docView']['enforceCursorAssoc']()),_0x8fcfea;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0x28e83c,_0xda37f7){let _0x36d14b=0.5-Math['max'](-0.5,Math['min'](0.5,_0x28e83c/0x3e8/0x2)),_0x3bb081=this['heightMap'],_0x312603=this['heightOracle'],{visibleTop:_0x241107,visibleBottom:_0xb7dc50}=this,_0x21adb3=new Viewport(_0x3bb081['lineAt'](_0x241107-0x3e8*_0x36d14b,_0x33a3ae['ByHeight'],_0x312603,0x0,0x0)['from'],_0x3bb081['lineAt'](_0xb7dc50+0x3e8*(0x1-_0x36d14b),_0x33a3ae['ByHeight'],_0x312603,0x0,0x0)['to']);if(_0xda37f7){let {head:_0x545aff}=_0xda37f7['range'];if(_0x545aff<_0x21adb3['from']||_0x545aff>_0x21adb3['to']){let _0x4d883a,_0x3dbebe=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x22fade=_0x3bb081['lineAt'](_0x545aff,_0x33a3ae['ByPos'],_0x312603,0x0,0x0);_0x4d883a='center'==_0xda37f7['y']?(_0x22fade['top']+_0x22fade['bottom'])/0x2-_0x3dbebe/0x2:'start'==_0xda37f7['y']||'nearest'==_0xda37f7['y']&&_0x545aff<_0x21adb3['from']?_0x22fade['top']:_0x22fade['bottom']-_0x3dbebe,_0x21adb3=new Viewport(_0x3bb081['lineAt'](_0x4d883a-0x1f4,_0x33a3ae['ByHeight'],_0x312603,0x0,0x0)['from'],_0x3bb081['lineAt'](_0x4d883a+_0x3dbebe+0x1f4,_0x33a3ae['ByHeight'],_0x312603,0x0,0x0)['to']);}}return _0x21adb3;}['mapViewport'](_0x4b92c2,_0x483b52){let _0x221b45=_0x483b52['mapPos'](_0x4b92c2['from'],-0x1),_0x832cfe=_0x483b52['mapPos'](_0x4b92c2['to'],0x1);return new Viewport(this['heightMap']['lineAt'](_0x221b45,_0x33a3ae['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0x832cfe,_0x33a3ae['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0x34adfb,to:_0x337725},_0x246d5b=0x0){if(!this['inView'])return!0x0;let {top:_0xea9fb5}=this['heightMap']['lineAt'](_0x34adfb,_0x33a3ae['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x4d937b}=this['heightMap']['lineAt'](_0x337725,_0x33a3ae['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x2e8c5d,visibleBottom:_0x38b5c1}=this;return(0x0==_0x34adfb||_0xea9fb5<=_0x2e8c5d-Math['max'](0xa,Math['min'](-_0x246d5b,0xfa)))&&(_0x337725==this['state']['doc']['length']||_0x4d937b>=_0x38b5c1+Math['max'](0xa,Math['min'](_0x246d5b,0xfa)))&&_0xea9fb5>_0x2e8c5d-0x7d0&&_0x4d937b<_0x38b5c1+0x7d0;}['mapLineGaps'](_0x1669a7,_0x3eceea){if(!_0x1669a7['length']||_0x3eceea['empty'])return _0x1669a7;let _0x5b11e9=[];for(let _0x205bad of _0x1669a7)_0x3eceea['touchesRange'](_0x205bad['from'],_0x205bad['to'])||_0x5b11e9['push'](new _0x2ebee2(_0x3eceea['mapPos'](_0x205bad['from']),_0x3eceea['mapPos'](_0x205bad['to']),_0x205bad['size'],_0x205bad['displaySize']));return _0x5b11e9;}['ensureLineGaps'](_0x5d7290,_0x1722b8){let _0x3e1716=this['heightOracle']['lineWrapping'],_0x5b180b=_0x3e1716?0x2710:0x7d0,_0x326738=_0x5b180b>>0x1,_0x49c0c9=_0x5b180b<<0x1;if(this['defaultTextDirection']!=Direction['LTR']&&!_0x3e1716)return[];let _0x23a44f=[],_0x58b475=(_0x1550d5,_0xe19ae9,_0x2a5173,_0x98c32f)=>{if(_0xe19ae9-_0x1550d5<_0x326738)return;let _0xdb30bd=this['state']['selection']['main'],_0x1dd5b4=[_0xdb30bd['from']];_0xdb30bd['empty']||_0x1dd5b4['push'](_0xdb30bd['to']);for(let _0x4967b0 of _0x1dd5b4)if(_0x4967b0>_0x1550d5&&_0x4967b0<_0xe19ae9)return _0x58b475(_0x1550d5,_0x4967b0-0xa,_0x2a5173,_0x98c32f),void _0x58b475(_0x4967b0+0xa,_0xe19ae9,_0x2a5173,_0x98c32f);let _0x4dc549=_0x2e92cb(_0x5d7290,_0x328072=>_0x328072['from']>=_0x2a5173['from']&&_0x328072['to']<=_0x2a5173['to']&&Math['abs'](_0x328072['from']-_0x1550d5)<_0x326738&&Math['abs'](_0x328072['to']-_0xe19ae9)<_0x326738&&!_0x1dd5b4['some'](_0x2bdb49=>_0x328072['from']<_0x2bdb49&&_0x328072['to']>_0x2bdb49));if(!_0x4dc549){if(_0xe19ae9<_0x2a5173['to']&&_0x1722b8&&_0x3e1716&&_0x1722b8['visibleRanges']['some'](_0x59befc=>_0x59befc['from']<=_0xe19ae9&&_0x59befc['to']>=_0xe19ae9)){let _0x5680cd=_0x1722b8['moveToLineBoundary'](EditorSelection['cursor'](_0xe19ae9),!0x1,!0x0)['head'];_0x5680cd>_0x1550d5&&(_0xe19ae9=_0x5680cd);}let _0x15f4bc=this['gapSize'](_0x2a5173,_0x1550d5,_0xe19ae9,_0x98c32f);_0x4dc549=new _0x2ebee2(_0x1550d5,_0xe19ae9,_0x15f4bc,_0x3e1716||_0x15f4bc<0x1e8480?_0x15f4bc:0x1e8480);}_0x23a44f['push'](_0x4dc549);},_0x134294=_0x27964f=>{if(_0x27964f['length']<_0x49c0c9||_0x27964f['type']!=_0x533a79['Text'])return;let _0x5f4fbe=lineStructure(_0x27964f['from'],_0x27964f['to'],this['stateDeco']);if(_0x5f4fbe['total']<_0x49c0c9)return;let _0x3ad364,_0x187e0f,_0x4ad23d=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0x3e1716){let _0x57cb5e,_0x165533,_0x583f78=_0x5b180b/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x4ad23d){let _0x21cd53=findFraction(_0x5f4fbe,_0x4ad23d),_0x1ddafc=((this['visibleBottom']-this['visibleTop'])/0x2+_0x583f78)/_0x27964f['height'];_0x57cb5e=_0x21cd53-_0x1ddafc,_0x165533=_0x21cd53+_0x1ddafc;}else _0x57cb5e=(this['visibleTop']-_0x27964f['top']-_0x583f78)/_0x27964f['height'],_0x165533=(this['visibleBottom']-_0x27964f['top']+_0x583f78)/_0x27964f['height'];_0x3ad364=findPosition(_0x5f4fbe,_0x57cb5e),_0x187e0f=findPosition(_0x5f4fbe,_0x165533);}else{let _0x3d9a9a=_0x5f4fbe['total']*this['heightOracle']['charWidth'],_0xf29349=_0x5b180b*this['heightOracle']['charWidth'],_0xca372=0x0;if(_0x3d9a9a>0x1e8480){for(let _0x8645ae of _0x5d7290)_0x8645ae['from']>=_0x27964f['from']&&_0x8645ae['from']<_0x27964f['to']&&_0x8645ae['size']!=_0x8645ae['displaySize']&&_0x8645ae['from']*this['heightOracle']['charWidth']+_0xca372<this['pixelViewport']['left']&&(_0xca372=_0x8645ae['size']-_0x8645ae['displaySize']);}let _0x42d9da,_0x1f3ef3,_0x1473fd=this['pixelViewport']['left']+_0xca372,_0x1a1477=this['pixelViewport']['right']+_0xca372;if(null!=_0x4ad23d){let _0x31a209=findFraction(_0x5f4fbe,_0x4ad23d),_0x49e97e=((_0x1a1477-_0x1473fd)/0x2+_0xf29349)/_0x3d9a9a;_0x42d9da=_0x31a209-_0x49e97e,_0x1f3ef3=_0x31a209+_0x49e97e;}else _0x42d9da=(_0x1473fd-_0xf29349)/_0x3d9a9a,_0x1f3ef3=(_0x1a1477+_0xf29349)/_0x3d9a9a;_0x3ad364=findPosition(_0x5f4fbe,_0x42d9da),_0x187e0f=findPosition(_0x5f4fbe,_0x1f3ef3);}_0x3ad364>_0x27964f['from']&&_0x58b475(_0x27964f['from'],_0x3ad364,_0x27964f,_0x5f4fbe),_0x187e0f<_0x27964f['to']&&_0x58b475(_0x187e0f,_0x27964f['to'],_0x27964f,_0x5f4fbe);};for(let _0x13b557 of this['viewportLines'])Array['isArray'](_0x13b557['type'])?_0x13b557['type']['forEach'](_0x134294):_0x134294(_0x13b557);return _0x23a44f;}['gapSize'](_0xd42627,_0x2a6e91,_0x22199d,_0x4b8f82){let _0x587771=findFraction(_0x4b8f82,_0x22199d)-findFraction(_0x4b8f82,_0x2a6e91);return this['heightOracle']['lineWrapping']?_0xd42627['height']*_0x587771:_0x4b8f82['total']*this['heightOracle']['charWidth']*_0x587771;}['updateLineGaps'](_0x342dbf){_0x2ebee2['same'](_0x342dbf,this['lineGaps'])||(this['lineGaps']=_0x342dbf,this['lineGapDeco']=Decoration['set'](_0x342dbf['map'](_0xf88700=>_0xf88700['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0x1173df){let _0x148683=this['stateDeco'];this['lineGaps']['length']&&(_0x148683=_0x148683['concat'](this['lineGapDeco']));let _0x412d80=[];RangeSet['spans'](_0x148683,this['viewport']['from'],this['viewport']['to'],{'span'(_0x1ce0dd,_0x391163){_0x412d80['push']({'from':_0x1ce0dd,'to':_0x391163});},'point'(){}},0x14);let _0x1dea07=0x0;if(_0x412d80['length']!=this['visibleRanges']['length'])_0x1dea07=0xc;else for(let _0x14952a=0x0;_0x14952a<_0x412d80['length']&&!(0x8&_0x1dea07);_0x14952a++){let _0x30acb9=this['visibleRanges'][_0x14952a],_0x2ac8f2=_0x412d80[_0x14952a];_0x30acb9['from']==_0x2ac8f2['from']&&_0x30acb9['to']==_0x2ac8f2['to']||(_0x1dea07|=0x4,_0x1173df&&_0x1173df['mapPos'](_0x30acb9['from'],-0x1)==_0x2ac8f2['from']&&_0x1173df['mapPos'](_0x30acb9['to'],0x1)==_0x2ac8f2['to']||(_0x1dea07|=0x8));}return this['visibleRanges']=_0x412d80,_0x1dea07;}['lineBlockAt'](_0x1f24d5){return _0x1f24d5>=this['viewport']['from']&&_0x1f24d5<=this['viewport']['to']&&this['viewportLines']['find'](_0x39b999=>_0x39b999['from']<=_0x1f24d5&&_0x39b999['to']>=_0x1f24d5)||_0x481dbd(this['heightMap']['lineAt'](_0x1f24d5,_0x33a3ae['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x16710b){return _0x16710b>=this['viewportLines'][0x0]['top']&&_0x16710b<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0x49b87d=>_0x49b87d['top']<=_0x16710b&&_0x49b87d['bottom']>=_0x16710b)||_0x481dbd(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x16710b),_0x33a3ae['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['scrollAnchorAt'](_0x45816e){let _0x182ff1=this['lineBlockAtHeight'](_0x45816e+0x8);return _0x182ff1['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x45816e>0xc8?_0x182ff1:this['viewportLines'][0x0];}['elementAtHeight'](_0x463567){return _0x481dbd(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x463567),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(_0x580a03,_0x586655){this['from']=_0x580a03,this['to']=_0x586655;}}function lineStructure(_0x14eef6,_0x2e7fea,_0x9e05b3){let _0x3a43b4=[],_0x5ab229=_0x14eef6,_0x4ef5aa=0x0;return RangeSet['spans'](_0x9e05b3,_0x14eef6,_0x2e7fea,{'span'(){},'point'(_0x29c8d3,_0x1cfc36){_0x29c8d3>_0x5ab229&&(_0x3a43b4['push']({'from':_0x5ab229,'to':_0x29c8d3}),_0x4ef5aa+=_0x29c8d3-_0x5ab229),_0x5ab229=_0x1cfc36;}},0x14),_0x5ab229<_0x2e7fea&&(_0x3a43b4['push']({'from':_0x5ab229,'to':_0x2e7fea}),_0x4ef5aa+=_0x2e7fea-_0x5ab229),{'total':_0x4ef5aa,'ranges':_0x3a43b4};}function findPosition({total:_0x1443cf,ranges:_0x44c625},_0x4565df){if(_0x4565df<=0x0)return _0x44c625[0x0]['from'];if(_0x4565df>=0x1)return _0x44c625[_0x44c625['length']-0x1]['to'];let _0x56cff3=Math['floor'](_0x1443cf*_0x4565df);for(let _0x136424=0x0;;_0x136424++){let {from:_0xb0bda7,to:_0x332290}=_0x44c625[_0x136424],_0x70d23e=_0x332290-_0xb0bda7;if(_0x56cff3<=_0x70d23e)return _0xb0bda7+_0x56cff3;_0x56cff3-=_0x70d23e;}}function findFraction(_0x1189e6,_0x3f09ce){let _0x4637e1=0x0;for(let {from:_0x4842f7,to:_0x125f9e}of _0x1189e6['ranges']){if(_0x3f09ce<=_0x125f9e){_0x4637e1+=_0x3f09ce-_0x4842f7;break;}_0x4637e1+=_0x125f9e-_0x4842f7;}return _0x4637e1/_0x1189e6['total'];}function _0x2e92cb(_0x3c0df9,_0x5ebbb9){for(let _0x104968 of _0x3c0df9)if(_0x5ebbb9(_0x104968))return _0x104968;}const _0x2faaec={'toDOM':_0x2651bb=>_0x2651bb,'fromDOM':_0x131ca8=>_0x131ca8,'scale':0x1,'eq'(_0xeefce9){return _0xeefce9==this;}};class _0x2bfae2{constructor(_0x4143fd,_0xb0464a,_0x5a06cd){let _0x2d175d=0x0,_0x50d0a9=0x0,_0x2b5c9b=0x0;this['viewports']=_0x5a06cd['map'](({from:_0x58b436,to:_0x285673})=>{let _0x48fcd4=_0xb0464a['lineAt'](_0x58b436,_0x33a3ae['ByPos'],_0x4143fd,0x0,0x0)['top'],_0x1bcc72=_0xb0464a['lineAt'](_0x285673,_0x33a3ae['ByPos'],_0x4143fd,0x0,0x0)['bottom'];return _0x2d175d+=_0x1bcc72-_0x48fcd4,{'from':_0x58b436,'to':_0x285673,'top':_0x48fcd4,'bottom':_0x1bcc72,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x2d175d)/(_0xb0464a['height']-_0x2d175d);for(let _0x505e75 of this['viewports'])_0x505e75['domTop']=_0x2b5c9b+(_0x505e75['top']-_0x50d0a9)*this['scale'],_0x2b5c9b=_0x505e75['domBottom']=_0x505e75['domTop']+(_0x505e75['bottom']-_0x505e75['top']),_0x50d0a9=_0x505e75['bottom'];}['toDOM'](_0x4dad6a){for(let _0xb7d02e=0x0,_0x10a5e0=0x0,_0x404ac3=0x0;;_0xb7d02e++){let _0xd16c5d=_0xb7d02e<this['viewports']['length']?this['viewports'][_0xb7d02e]:null;if(!_0xd16c5d||_0x4dad6a<_0xd16c5d['top'])return _0x404ac3+(_0x4dad6a-_0x10a5e0)*this['scale'];if(_0x4dad6a<=_0xd16c5d['bottom'])return _0xd16c5d['domTop']+(_0x4dad6a-_0xd16c5d['top']);_0x10a5e0=_0xd16c5d['bottom'],_0x404ac3=_0xd16c5d['domBottom'];}}['fromDOM'](_0x4fd796){for(let _0x20bd78=0x0,_0x495f7b=0x0,_0x57a021=0x0;;_0x20bd78++){let _0x51e514=_0x20bd78<this['viewports']['length']?this['viewports'][_0x20bd78]:null;if(!_0x51e514||_0x4fd796<_0x51e514['domTop'])return _0x495f7b+(_0x4fd796-_0x57a021)/this['scale'];if(_0x4fd796<=_0x51e514['domBottom'])return _0x51e514['top']+(_0x4fd796-_0x51e514['domTop']);_0x495f7b=_0x51e514['bottom'],_0x57a021=_0x51e514['domBottom'];}}['eq'](_0xadb26f){return _0xadb26f instanceof _0x2bfae2&&(this['scale']==_0xadb26f['scale']&&this['viewports']['length']==_0xadb26f['viewports']['length']&&this['viewports']['every']((_0x507db6,_0x13456e)=>_0x507db6['from']==_0xadb26f['viewports'][_0x13456e]['from']&&_0x507db6['to']==_0xadb26f['viewports'][_0x13456e]['to']));}}function _0x481dbd(_0x344525,_0xd18af4){if(0x1==_0xd18af4['scale'])return _0x344525;let _0x2ce1e8=_0xd18af4['toDOM'](_0x344525['top']),_0x4d7f82=_0xd18af4['toDOM'](_0x344525['bottom']);return new _0x4817c7(_0x344525['from'],_0x344525['length'],_0x2ce1e8,_0x4d7f82-_0x2ce1e8,Array['isArray'](_0x344525['_content'])?_0x344525['_content']['map'](_0x5d8cac=>_0x481dbd(_0x5d8cac,_0xd18af4)):_0x344525['_content']);}const theme=Facet['define']({'combine':_0x492191=>_0x492191['join']('\x20')}),_0x1ec378=Facet['define']({'combine':_0x4ada90=>_0x4ada90['indexOf'](!0x0)>-0x1}),_0x3587a3=StyleModule['newName'](),baseLightID=StyleModule['newName'](),_0x201343=StyleModule['newName'](),lightDarkIDs={'&light':'.'+baseLightID,'&dark':'.'+_0x201343};function _0x12554c(_0x294a17,_0x1ababf,_0x4abc86){return new StyleModule(_0x1ababf,{'finish':_0x1d1c59=>/&/['test'](_0x1d1c59)?_0x1d1c59['replace'](/&\w*/,_0x11d5bb=>{if('&'==_0x11d5bb)return _0x294a17;if(!_0x4abc86||!_0x4abc86[_0x11d5bb])throw new RangeError('Unsupported\x20selector:\x20'+_0x11d5bb);return _0x4abc86[_0x11d5bb];}):_0x294a17+'\x20'+_0x1d1c59});}const _0x100a9a=_0x12554c('.'+_0x3587a3,{'&':{'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=_0x394245['ie']&&_0x394245['ie_version']<=0xb;class _0x3b5d20{constructor(_0x7a1ac3){this['view']=_0x7a1ac3,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']=_0x7a1ac3['contentDOM'],this['observer']=new MutationObserver(_0x509cb7=>{for(let _0x19c47b of _0x509cb7)this['queue']['push'](_0x19c47b);(_0x394245['ie']&&_0x394245['ie_version']<=0xb||_0x394245['ios']&&_0x7a1ac3['composing'])&&_0x509cb7['some'](_0x1eb129=>'childList'==_0x1eb129['type']&&_0x1eb129['removedNodes']['length']||'characterData'==_0x1eb129['type']&&_0x1eb129['oldValue']['length']>_0x1eb129['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!_0x394245['android']||!0x1===_0x7a1ac3['constructor']['EDIT_CONTEXT']||_0x394245['chrome']&&_0x394245['chrome_version']<0x7e||(this['editContext']=new EditContextManager(_0x7a1ac3),_0x7a1ac3['state']['facet'](editable)&&(_0x7a1ac3['contentDOM']['editContext']=this['editContext']['editContext'])),useCharData&&(this['onCharData']=_0x3951ed=>{this['queue']['push']({'target':_0x3951ed['target'],'type':'characterData','oldValue':_0x3951ed['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 _0x38521b;(null===(_0x38521b=this['view']['docView'])||void 0x0===_0x38521b?void 0x0:_0x38521b['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0x7a1ac3['scrollDOM'])),this['addWindowListeners'](this['win']=_0x7a1ac3['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x195b87=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x195b87['length']>0x0&&_0x195b87[_0x195b87['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(_0x2e92dd=>{_0x2e92dd['length']>0x0&&_0x2e92dd[_0x2e92dd['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x3f7ad4){this['view']['inputState']['runHandlers']('scroll',_0x3f7ad4),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x43c9bb){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x43c9bb);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0x418a4b){('change'!=_0x418a4b['type']&&_0x418a4b['type']||_0x418a4b['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0x4b2f30){if(this['gapIntersection']&&(_0x4b2f30['length']!=this['gaps']['length']||this['gaps']['some']((_0x58479a,_0x4850df)=>_0x58479a!=_0x4b2f30[_0x4850df]))){this['gapIntersection']['disconnect']();for(let _0x6978de of _0x4b2f30)this['gapIntersection']['observe'](_0x6978de);this['gaps']=_0x4b2f30;}}['onSelectionChange'](_0x111710){let _0x24ad73=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x4320b1}=this,_0x5f4ca8=this['selectionRange'];if(_0x4320b1['state']['facet'](editable)?_0x4320b1['root']['activeElement']!=this['dom']:!hasSelection(this['dom'],_0x5f4ca8))return;let _0x2e8c82=_0x5f4ca8['anchorNode']&&_0x4320b1['docView']['nearest'](_0x5f4ca8['anchorNode']);_0x2e8c82&&_0x2e8c82['ignoreEvent'](_0x111710)?_0x24ad73||(this['selectionChanged']=!0x1):(_0x394245['ie']&&_0x394245['ie_version']<=0xb||_0x394245['android']&&_0x394245['chrome'])&&!_0x4320b1['state']['selection']['main']['empty']&&_0x5f4ca8['focusNode']&&isEquivalentPosition(_0x5f4ca8['focusNode'],_0x5f4ca8['focusOffset'],_0x5f4ca8['anchorNode'],_0x5f4ca8['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x255187}=this,_0x4b24f1=getSelection(_0x255187['root']);if(!_0x4b24f1)return!0x1;let _0xed6375=_0x394245['safari']&&0xb==_0x255187['root']['nodeType']&&_0x255187['root']['activeElement']==this['dom']&&safariSelectionRangeHack(this['view'],_0x4b24f1)||_0x4b24f1;if(!_0xed6375||this['selectionRange']['eq'](_0xed6375))return!0x1;let _0x561aa8=hasSelection(this['dom'],_0xed6375);return _0x561aa8&&!this['selectionChanged']&&_0x255187['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x255187['inputState']['lastTouchTime']<Date['now']()-0x12c&&atElementStart(this['dom'],_0xed6375)?(this['view']['inputState']['lastFocusTime']=0x0,_0x255187['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0xed6375),_0x561aa8&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0x5b4be3,_0x2f08d4){this['selectionRange']['set'](_0x5b4be3['node'],_0x5b4be3['offset'],_0x2f08d4['node'],_0x2f08d4['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0x318cd9=0x0,_0xd3fa6d=null;for(let _0xff0e2f=this['dom'];_0xff0e2f;)if(0x1==_0xff0e2f['nodeType'])!_0xd3fa6d&&_0x318cd9<this['scrollTargets']['length']&&this['scrollTargets'][_0x318cd9]==_0xff0e2f?_0x318cd9++:_0xd3fa6d||(_0xd3fa6d=this['scrollTargets']['slice'](0x0,_0x318cd9)),_0xd3fa6d&&_0xd3fa6d['push'](_0xff0e2f),_0xff0e2f=_0xff0e2f['assignedSlot']||_0xff0e2f['parentNode'];else{if(0xb!=_0xff0e2f['nodeType'])break;_0xff0e2f=_0xff0e2f['host'];}if(_0x318cd9<this['scrollTargets']['length']&&!_0xd3fa6d&&(_0xd3fa6d=this['scrollTargets']['slice'](0x0,_0x318cd9)),_0xd3fa6d){for(let _0x484e35 of this['scrollTargets'])_0x484e35['removeEventListener']('scroll',this['onScroll']);for(let _0x3015f5 of this['scrollTargets']=_0xd3fa6d)_0x3015f5['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x400282){if(!this['active'])return _0x400282();try{return this['stop'](),_0x400282();}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'](_0x559025,_0x1f15ee){var _0x297a69;if(!this['delayedAndroidKey']){let _0x169d19=()=>{let _0x179d3a=this['delayedAndroidKey'];_0x179d3a&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x179d3a['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x179d3a['force']&&dispatchKey(this['dom'],_0x179d3a['key'],_0x179d3a['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0x169d19);}this['delayedAndroidKey']&&'Enter'!=_0x559025||(this['delayedAndroidKey']={'key':_0x559025,'keyCode':_0x1f15ee,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x297a69=this['delayedAndroidKey'])||void 0x0===_0x297a69?void 0x0:_0x297a69['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 _0x5aa8ac of this['observer']['takeRecords']())this['queue']['push'](_0x5aa8ac);return this['queue'];}['processRecords'](){let _0xd33d83=this['pendingRecords']();_0xd33d83['length']&&(this['queue']=[]);let _0x3f761d=-0x1,_0x47676a=-0x1,_0x26e363=!0x1;for(let _0x462e72 of _0xd33d83){let _0x5df928=this['readMutation'](_0x462e72);_0x5df928&&(_0x5df928['typeOver']&&(_0x26e363=!0x0),-0x1==_0x3f761d?{from:_0x3f761d,to:_0x47676a}=_0x5df928:(_0x3f761d=Math['min'](_0x5df928['from'],_0x3f761d),_0x47676a=Math['max'](_0x5df928['to'],_0x47676a)));}return{'from':_0x3f761d,'to':_0x47676a,'typeOver':_0x26e363};}['readChange'](){let {from:_0x49b995,to:_0x3da22b,typeOver:_0x4a3b1a}=this['processRecords'](),_0x1dfac0=this['selectionChanged']&&hasSelection(this['dom'],this['selectionRange']);if(_0x49b995<0x0&&!_0x1dfac0)return null;_0x49b995>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x3578b4=new _0x1478dd(this['view'],_0x49b995,_0x3da22b,_0x4a3b1a);return this['view']['docView']['domChanged']={'newSel':_0x3578b4['newSel']?_0x3578b4['newSel']['main']:null},_0x3578b4;}['flush'](_0x3a5519=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0x3a5519&&this['readSelectionRange']();let _0x2f27de=this['readChange']();if(!_0x2f27de)return this['view']['requestMeasure'](),!0x1;let _0xe89007=this['view']['state'],_0x4b9bf1=_0x3b8f64(this['view'],_0x2f27de);return this['view']['state']==_0xe89007&&(_0x2f27de['domChanged']||_0x2f27de['newSel']&&!_0x2f27de['newSel']['main']['eq'](this['view']['state']['selection']['main']))&&this['view']['update']([]),_0x4b9bf1;}['readMutation'](_0x6be082){let _0x564dbe=this['view']['docView']['nearest'](_0x6be082['target']);if(!_0x564dbe||_0x564dbe['ignoreMutation'](_0x6be082))return null;if(_0x564dbe['markDirty']('attributes'==_0x6be082['type']),'attributes'==_0x6be082['type']&&(_0x564dbe['flags']|=0x4),'childList'==_0x6be082['type']){let _0xff4367=_0xb060e7(_0x564dbe,_0x6be082['previousSibling']||_0x6be082['target']['previousSibling'],-0x1),_0x3232bb=_0xb060e7(_0x564dbe,_0x6be082['nextSibling']||_0x6be082['target']['nextSibling'],0x1);return{'from':_0xff4367?_0x564dbe['posAfter'](_0xff4367):_0x564dbe['posAtStart'],'to':_0x3232bb?_0x564dbe['posBefore'](_0x3232bb):_0x564dbe['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x6be082['type']?{'from':_0x564dbe['posAtStart'],'to':_0x564dbe['posAtEnd'],'typeOver':_0x6be082['target']['nodeValue']==_0x6be082['oldValue']}:null;}['setWindow'](_0x553a41){_0x553a41!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x553a41,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0xc9bede){_0xc9bede['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0xc9bede['addEventListener']('beforeprint',this['onPrint']),_0xc9bede['addEventListener']('scroll',this['onScroll']),_0xc9bede['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x3c1549){_0x3c1549['removeEventListener']('scroll',this['onScroll']),_0x3c1549['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x3c1549['removeEventListener']('beforeprint',this['onPrint']),_0x3c1549['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0x222c9c){this['editContext']&&(this['editContext']['update'](_0x222c9c),_0x222c9c['startState']['facet'](editable)!=_0x222c9c['state']['facet'](editable)&&(_0x222c9c['view']['contentDOM']['editContext']=_0x222c9c['state']['facet'](editable)?this['editContext']['editContext']:null));}['destroy'](){var _0x47d01e,_0x1be3af,_0x31fdaa;this['stop'](),null===(_0x47d01e=this['intersection'])||void 0x0===_0x47d01e||_0x47d01e['disconnect'](),null===(_0x1be3af=this['gapIntersection'])||void 0x0===_0x1be3af||_0x1be3af['disconnect'](),null===(_0x31fdaa=this['resizeScroll'])||void 0x0===_0x31fdaa||_0x31fdaa['disconnect']();for(let _0x196337 of this['scrollTargets'])_0x196337['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 _0xb060e7(_0x239311,_0x4bfed7,_0x341f84){for(;_0x4bfed7;){let _0x55afee=ContentView['get'](_0x4bfed7);if(_0x55afee&&_0x55afee['parent']==_0x239311)return _0x55afee;let _0x20a383=_0x4bfed7['parentNode'];_0x4bfed7=_0x20a383!=_0x239311['dom']?_0x20a383:_0x341f84>0x0?_0x4bfed7['nextSibling']:_0x4bfed7['previousSibling'];}return null;}function buildSelectionRangeFromRange(_0x447e28,_0x592964){let _0x73e54c=_0x592964['startContainer'],_0x5b1e78=_0x592964['startOffset'],_0xf5e8b0=_0x592964['endContainer'],_0x4ebfff=_0x592964['endOffset'],_0x1466f1=_0x447e28['docView']['domAtPos'](_0x447e28['state']['selection']['main']['anchor']);return isEquivalentPosition(_0x1466f1['node'],_0x1466f1['offset'],_0xf5e8b0,_0x4ebfff)&&([_0x73e54c,_0x5b1e78,_0xf5e8b0,_0x4ebfff]=[_0xf5e8b0,_0x4ebfff,_0x73e54c,_0x5b1e78]),{'anchorNode':_0x73e54c,'anchorOffset':_0x5b1e78,'focusNode':_0xf5e8b0,'focusOffset':_0x4ebfff};}function safariSelectionRangeHack(_0x28ff52,_0x1c99b4){if(_0x1c99b4['getComposedRanges']){let _0xf45ab6=_0x1c99b4['getComposedRanges'](_0x28ff52['root'])[0x0];if(_0xf45ab6)return buildSelectionRangeFromRange(_0x28ff52,_0xf45ab6);}let _0x3f326b=null;function _0x5cd167(_0x23f73b){_0x23f73b['preventDefault'](),_0x23f73b['stopImmediatePropagation'](),_0x3f326b=_0x23f73b['getTargetRanges']()[0x0];}return _0x28ff52['contentDOM']['addEventListener']('beforeinput',_0x5cd167,!0x0),_0x28ff52['dom']['ownerDocument']['execCommand']('indent'),_0x28ff52['contentDOM']['removeEventListener']('beforeinput',_0x5cd167,!0x0),_0x3f326b?buildSelectionRangeFromRange(_0x28ff52,_0x3f326b):null;}class EditContextManager{constructor(_0x5e0b08){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x5e0b08['state']);let _0xbcbf6f=this['editContext']=new window['EditContext']({'text':_0x5e0b08['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x5e0b08['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x5e0b08['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x2e2231=>{let _0x21aa13=_0x5e0b08['state']['selection']['main'],{anchor:_0x19c245,head:_0x33ed3c}=_0x21aa13,_0x48bd86=this['toEditorPos'](_0x2e2231['updateRangeStart']),_0x542f2f=this['toEditorPos'](_0x2e2231['updateRangeEnd']);_0x5e0b08['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x2e2231['updateRangeStart'],'editorBase':_0x48bd86,'drifted':!0x1});let _0x309eed=_0x542f2f-_0x48bd86>_0x2e2231['text']['length'];_0x48bd86==this['from']&&_0x19c245<this['from']?_0x48bd86=_0x19c245:_0x542f2f==this['to']&&_0x19c245>this['to']&&(_0x542f2f=_0x19c245);let _0x173887=_0x114484(_0x5e0b08['state']['sliceDoc'](_0x48bd86,_0x542f2f),_0x2e2231['text'],(_0x309eed?_0x21aa13['from']:_0x21aa13['to'])-_0x48bd86,_0x309eed?'end':null);if(!_0x173887){let _0x144ed3=EditorSelection['single'](this['toEditorPos'](_0x2e2231['selectionStart']),this['toEditorPos'](_0x2e2231['selectionEnd']));return void(_0x144ed3['main']['eq'](_0x21aa13)||_0x5e0b08['dispatch']({'selection':_0x144ed3,'userEvent':'select'}));}let _0x28d177={'from':_0x173887['from']+_0x48bd86,'to':_0x173887['toA']+_0x48bd86,'insert':Text['of'](_0x2e2231['text']['slice'](_0x173887['from'],_0x173887['toB'])['split']('\x0a'))};if((_0x394245['mac']||_0x394245['android'])&&_0x28d177['from']==_0x33ed3c-0x1&&/^\. ?$/['test'](_0x2e2231['text'])&&'off'==_0x5e0b08['contentDOM']['getAttribute']('autocorrect')&&(_0x28d177={'from':_0x48bd86,'to':_0x542f2f,'insert':Text['of']([_0x2e2231['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x28d177,!_0x5e0b08['state']['readOnly']){let _0x39d440=this['to']-this['from']+(_0x28d177['to']-_0x28d177['from']+_0x28d177['insert']['length']);_0x1d2a45(_0x5e0b08,_0x28d177,EditorSelection['single'](this['toEditorPos'](_0x2e2231['selectionStart'],_0x39d440),this['toEditorPos'](_0x2e2231['selectionEnd'],_0x39d440)));}this['pendingContextChange']&&(this['revertPending'](_0x5e0b08['state']),this['setSelection'](_0x5e0b08['state'])),_0x28d177['from']<_0x28d177['to']&&!_0x28d177['insert']['length']&&_0x5e0b08['inputState']['composing']>=0x0&&!/[\\p{Alphabetic}\\p{Number}_]/['test'](_0xbcbf6f['text']['slice'](Math['max'](0x0,_0x2e2231['updateRangeStart']-0x1),Math['min'](_0xbcbf6f['text']['length'],_0x2e2231['updateRangeStart']+0x1)))&&this['handlers']['compositionend'](_0x2e2231);},this['handlers']['characterboundsupdate']=_0x3bd50d=>{let _0x1da543=[],_0x36f64d=null;for(let _0x7efbd5=this['toEditorPos'](_0x3bd50d['rangeStart']),_0xfe9601=this['toEditorPos'](_0x3bd50d['rangeEnd']);_0x7efbd5<_0xfe9601;_0x7efbd5++){let _0x417275=_0x5e0b08['coordsForChar'](_0x7efbd5);_0x36f64d=_0x417275&&new DOMRect(_0x417275['left'],_0x417275['top'],_0x417275['right']-_0x417275['left'],_0x417275['bottom']-_0x417275['top'])||_0x36f64d||new DOMRect(),_0x1da543['push'](_0x36f64d);}_0xbcbf6f['updateCharacterBounds'](_0x3bd50d['rangeStart'],_0x1da543);},this['handlers']['textformatupdate']=_0x11aaaa=>{let _0x33217e=[];for(let _0x1adaec of _0x11aaaa['getTextFormats']()){let _0x28b6e0=_0x1adaec['underlineStyle'],_0x42e4e2=_0x1adaec['underlineThickness'];if(!/none/i['test'](_0x28b6e0)&&!/none/i['test'](_0x42e4e2)){let _0x1dec60=this['toEditorPos'](_0x1adaec['rangeStart']),_0x3e7785=this['toEditorPos'](_0x1adaec['rangeEnd']);if(_0x1dec60<_0x3e7785){let _0x4604e8='text-decoration:\x20underline\x20'+(/^[a-z]/['test'](_0x28b6e0)?_0x28b6e0+'\x20':'Dashed'==_0x28b6e0?'dashed\x20':'Squiggle'==_0x28b6e0?'wavy\x20':'')+(/thin/i['test'](_0x42e4e2)?0x1:0x2)+'px';_0x33217e['push'](Decoration['mark']({'attributes':{'style':_0x4604e8}})['range'](_0x1dec60,_0x3e7785));}}}_0x5e0b08['dispatch']({'effects':setEditContextFormatting['of'](Decoration['set'](_0x33217e))});},this['handlers']['compositionstart']=()=>{_0x5e0b08['inputState']['composing']<0x0&&(_0x5e0b08['inputState']['composing']=0x0,_0x5e0b08['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x5e0b08['inputState']['composing']=-0x1,_0x5e0b08['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0x40541a}=this['composing'];this['composing']=null,_0x40541a&&this['reset'](_0x5e0b08['state']);}};for(let _0x3e2a51 in this['handlers'])_0xbcbf6f['addEventListener'](_0x3e2a51,this['handlers'][_0x3e2a51]);this['measureReq']={'read':_0x2297f7=>{this['editContext']['updateControlBounds'](_0x2297f7['contentDOM']['getBoundingClientRect']());let _0x349bbc=getSelection(_0x2297f7['root']);_0x349bbc&&_0x349bbc['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x349bbc['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0x1baaf6){let _0x38c2d2=0x0,_0x3c889f=!0x1,_0x270524=this['pendingContextChange'];return _0x1baaf6['changes']['iterChanges']((_0x10c5ea,_0x31e2cb,_0x2f77ff,_0x14e693,_0x204436)=>{if(_0x3c889f)return;let _0x10ca03=_0x204436['length']-(_0x31e2cb-_0x10c5ea);if(_0x270524&&_0x31e2cb>=_0x270524['to']){if(_0x270524['from']==_0x10c5ea&&_0x270524['to']==_0x31e2cb&&_0x270524['insert']['eq'](_0x204436))return _0x270524=this['pendingContextChange']=null,_0x38c2d2+=_0x10ca03,void(this['to']+=_0x10ca03);_0x270524=null,this['revertPending'](_0x1baaf6['state']);}if(_0x10c5ea+=_0x38c2d2,(_0x31e2cb+=_0x38c2d2)<=this['from'])this['from']+=_0x10ca03,this['to']+=_0x10ca03;else{if(_0x10c5ea<this['to']){if(_0x10c5ea<this['from']||_0x31e2cb>this['to']||this['to']-this['from']+_0x204436['length']>0x7530)return void(_0x3c889f=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x10c5ea),this['toContextPos'](_0x31e2cb),_0x204436['toString']()),this['to']+=_0x10ca03;}}_0x38c2d2+=_0x10ca03;}),_0x270524&&!_0x3c889f&&this['revertPending'](_0x1baaf6['state']),!_0x3c889f;}['update'](_0x57d390){let _0x5ab8ee=this['pendingContextChange'],_0x49f300=_0x57d390['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0x57d390['changes']['touchesRange'](_0x49f300['from'],_0x49f300['to'])&&_0x57d390['transactions']['some'](_0x1aa9ec=>!_0x1aa9ec['isUserEvent']('input.type')&&_0x1aa9ec['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0x57d390['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0x57d390)&&this['rangeIsValid'](_0x57d390['state'])?(_0x57d390['docChanged']||_0x57d390['selectionSet']||_0x5ab8ee)&&this['setSelection'](_0x57d390['state']):(this['pendingContextChange']=null,this['reset'](_0x57d390['state'])),(_0x57d390['geometryChanged']||_0x57d390['docChanged']||_0x57d390['selectionSet'])&&_0x57d390['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x54c971){let {head:_0x32301}=_0x54c971['selection']['main'];this['from']=Math['max'](0x0,_0x32301-0x2710),this['to']=Math['min'](_0x54c971['doc']['length'],_0x32301+0x2710);}['reset'](_0x2c4007){this['resetRange'](_0x2c4007),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x2c4007['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x2c4007);}['revertPending'](_0x1579af){let _0x170738=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0x170738['from']),this['toContextPos'](_0x170738['from']+_0x170738['insert']['length']),_0x1579af['doc']['sliceString'](_0x170738['from'],_0x170738['to']));}['setSelection'](_0x31aa6e){let {main:_0x5c8258}=_0x31aa6e['selection'],_0x157368=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x5c8258['anchor']))),_0x1c0942=this['toContextPos'](_0x5c8258['head']);this['editContext']['selectionStart']==_0x157368&&this['editContext']['selectionEnd']==_0x1c0942||this['editContext']['updateSelection'](_0x157368,_0x1c0942);}['rangeIsValid'](_0x42fc45){let {head:_0x4c5ab3}=_0x42fc45['selection']['main'];return!(this['from']>0x0&&_0x4c5ab3-this['from']<0x1f4||this['to']<_0x42fc45['doc']['length']&&this['to']-_0x4c5ab3<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0x33206b,_0x58dfdd=this['to']-this['from']){_0x33206b=Math['min'](_0x33206b,_0x58dfdd);let _0x25a508=this['composing'];return _0x25a508&&_0x25a508['drifted']?_0x25a508['editorBase']+(_0x33206b-_0x25a508['contextBase']):_0x33206b+this['from'];}['toContextPos'](_0x2df8f8){let _0x445fb6=this['composing'];return _0x445fb6&&_0x445fb6['drifted']?_0x445fb6['contextBase']+(_0x2df8f8-_0x445fb6['editorBase']):_0x2df8f8-this['from'];}['destroy'](){for(let _0x16d169 in this['handlers'])this['editContext']['removeEventListener'](_0x16d169,this['handlers'][_0x16d169]);}}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(_0x88e977={}){var _0x3d5ce3;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']),_0x88e977['parent']&&_0x88e977['parent']['appendChild'](this['dom']);let {dispatch:_0x284f2b}=_0x88e977;this['dispatchTransactions']=_0x88e977['dispatchTransactions']||_0x284f2b&&(_0x1abc62=>_0x1abc62['forEach'](_0x385bd2=>_0x284f2b(_0x385bd2,this)))||(_0x54db76=>this['update'](_0x54db76)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0x88e977['root']||getRoot(_0x88e977['parent'])||document,this['viewState']=new ViewState(_0x88e977['state']||EditorState['create'](_0x88e977)),_0x88e977['scrollTo']&&_0x88e977['scrollTo']['is'](scrollIntoView$1)&&(this['viewState']['scrollTarget']=_0x88e977['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](_0x4460ff)['map'](_0x224195=>new PluginInstance(_0x224195));for(let _0x1cc542 of this['plugins'])_0x1cc542['update'](this);this['observer']=new _0x3b5d20(this),this['inputState']=new InputState(this),this['inputState']['ensureHandlers'](this['plugins']),this['docView']=new _0x2625ad(this),this['mountStyles'](),this['updateAttrs'](),this['updateState']=0x0,this['requestMeasure'](),(null===(_0x3d5ce3=document['fonts'])||void 0x0===_0x3d5ce3?void 0x0:_0x3d5ce3['ready'])&&document['fonts']['ready']['then'](()=>this['requestMeasure']());}['dispatch'](..._0x25cfe4){let _0x42ac35=0x1==_0x25cfe4['length']&&_0x25cfe4[0x0]instanceof Transaction?_0x25cfe4:0x1==_0x25cfe4['length']&&Array['isArray'](_0x25cfe4[0x0])?_0x25cfe4[0x0]:[this['state']['update'](..._0x25cfe4)];this['dispatchTransactions'](_0x42ac35,this);}['update'](_0x13e511){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x2b2a74,_0x4a8392=!0x1,_0x4f07ab=!0x1,_0x187e69=this['state'];for(let _0x2b75ce of _0x13e511){if(_0x2b75ce['startState']!=_0x187e69)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0x187e69=_0x2b75ce['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0x187e69);let _0x2fb24e=this['hasFocus'],_0x29f269=0x0,_0x147044=null;_0x13e511['some'](_0x575c33=>_0x575c33['annotation'](_0x18116c))?(this['inputState']['notifiedFocused']=_0x2fb24e,_0x29f269=0x1):_0x2fb24e!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x2fb24e,_0x147044=focusChangeTransaction(_0x187e69,_0x2fb24e),_0x147044||(_0x29f269=0x1));let _0x46be86=this['observer']['delayedAndroidKey'],_0xe8567d=null;if(_0x46be86?(this['observer']['clearDelayedAndroidKey'](),_0xe8567d=this['observer']['readChange'](),(_0xe8567d&&!this['state']['doc']['eq'](_0x187e69['doc'])||!this['state']['selection']['eq'](_0x187e69['selection']))&&(_0xe8567d=null)):this['observer']['clear'](),_0x187e69['facet'](EditorState['phrases'])!=this['state']['facet'](EditorState['phrases']))return this['setState'](_0x187e69);_0x2b2a74=ViewUpdate['create'](this,_0x187e69,_0x13e511),_0x2b2a74['flags']|=_0x29f269;let _0x1f8f28=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x23a05f of _0x13e511){if(_0x1f8f28&&(_0x1f8f28=_0x1f8f28['map'](_0x23a05f['changes'])),_0x23a05f['scrollIntoView']){let {main:_0x32bbca}=_0x23a05f['state']['selection'];_0x1f8f28=new ScrollTarget(_0x32bbca['empty']?_0x32bbca:EditorSelection['cursor'](_0x32bbca['head'],_0x32bbca['head']>_0x32bbca['anchor']?-0x1:0x1));}for(let _0x533ffe of _0x23a05f['effects'])_0x533ffe['is'](scrollIntoView$1)&&(_0x1f8f28=_0x533ffe['value']['clip'](this['state']));}this['viewState']['update'](_0x2b2a74,_0x1f8f28),this['bidiCache']=_0x37f4e1['update'](this['bidiCache'],_0x2b2a74['changes']),_0x2b2a74['empty']||(this['updatePlugins'](_0x2b2a74),this['inputState']['update'](_0x2b2a74)),_0x4a8392=this['docView']['update'](_0x2b2a74),this['state']['facet'](styleModule)!=this['styleModules']&&this['mountStyles'](),_0x4f07ab=this['updateAttrs'](),this['showAnnouncements'](_0x13e511),this['docView']['updateSelection'](_0x4a8392,_0x13e511['some'](_0x249d3a=>_0x249d3a['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x2b2a74['startState']['facet'](theme)!=_0x2b2a74['state']['facet'](theme)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x4a8392||_0x4f07ab||_0x1f8f28||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x4a8392&&this['docViewUpdate'](),!_0x2b2a74['empty']){for(let _0x5c04dc of this['state']['facet'](updateListener))try{_0x5c04dc(_0x2b2a74);}catch(_0x21b09a){logException(this['state'],_0x21b09a,'update\x20listener');}}(_0x147044||_0xe8567d)&&Promise['resolve']()['then'](()=>{_0x147044&&this['state']==_0x147044['startState']&&this['dispatch'](_0x147044),_0xe8567d&&!_0x3b8f64(this,_0xe8567d)&&_0x46be86['force']&&dispatchKey(this['contentDOM'],_0x46be86['key'],_0x46be86['keyCode']);});}['setState'](_0x4fdf8f){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']=_0x4fdf8f);this['updateState']=0x2;let _0x4b292d=this['hasFocus'];try{for(let _0x5b9820 of this['plugins'])_0x5b9820['destroy'](this);this['viewState']=new ViewState(_0x4fdf8f),this['plugins']=_0x4fdf8f['facet'](_0x4460ff)['map'](_0x578e80=>new PluginInstance(_0x578e80)),this['pluginMap']['clear']();for(let _0x5485c1 of this['plugins'])_0x5485c1['update'](this);this['docView']['destroy'](),this['docView']=new _0x2625ad(this),this['inputState']['ensureHandlers'](this['plugins']),this['mountStyles'](),this['updateAttrs'](),this['bidiCache']=[];}finally{this['updateState']=0x0;}_0x4b292d&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0x32556d){let _0x40a9d2=_0x32556d['startState']['facet'](_0x4460ff),_0x626b4=_0x32556d['state']['facet'](_0x4460ff);if(_0x40a9d2!=_0x626b4){let _0x59ab5b=[];for(let _0x5e78ec of _0x626b4){let _0x3332f0=_0x40a9d2['indexOf'](_0x5e78ec);if(_0x3332f0<0x0)_0x59ab5b['push'](new PluginInstance(_0x5e78ec));else{let _0x54a887=this['plugins'][_0x3332f0];_0x54a887['mustUpdate']=_0x32556d,_0x59ab5b['push'](_0x54a887);}}for(let _0x6b2469 of this['plugins'])_0x6b2469['mustUpdate']!=_0x32556d&&_0x6b2469['destroy'](this);this['plugins']=_0x59ab5b,this['pluginMap']['clear']();}else{for(let _0x42a25f of this['plugins'])_0x42a25f['mustUpdate']=_0x32556d;}for(let _0x435c6a=0x0;_0x435c6a<this['plugins']['length'];_0x435c6a++)this['plugins'][_0x435c6a]['update'](this);_0x40a9d2!=_0x626b4&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0x3a0878 of this['plugins']){let _0x1ebf26=_0x3a0878['value'];if(_0x1ebf26&&_0x1ebf26['docViewUpdate'])try{_0x1ebf26['docViewUpdate'](this);}catch(_0x814fdc){logException(this['state'],_0x814fdc,'doc\x20view\x20update\x20listener');}}}['measure'](_0x2a3613=!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,_0x2a3613&&this['observer']['forceFlush']();let _0x34d175=null,_0x2aa032=this['scrollDOM'],_0x49439a=_0x2aa032['scrollTop']*this['scaleY'],{scrollAnchorPos:_0x13c7ce,scrollAnchorHeight:_0x1b9c11}=this['viewState'];Math['abs'](_0x49439a-this['viewState']['scrollTop'])>0x1&&(_0x1b9c11=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0x570de7=0x0;;_0x570de7++){if(_0x1b9c11<0x0){if(isScrolledToBottom(_0x2aa032))_0x13c7ce=-0x1,_0x1b9c11=this['viewState']['heightMap']['height'];else{let _0x45e17d=this['viewState']['scrollAnchorAt'](_0x49439a);_0x13c7ce=_0x45e17d['from'],_0x1b9c11=_0x45e17d['top'];}}this['updateState']=0x1;let _0x52678b=this['viewState']['measure'](this);if(!_0x52678b&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0x570de7>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x47cc23=[];0x4&_0x52678b||([this['measureRequests'],_0x47cc23]=[_0x47cc23,this['measureRequests']]);let _0x4aa55d=_0x47cc23['map'](_0xb64b95=>{try{return _0xb64b95['read'](this);}catch(_0x252c35){return logException(this['state'],_0x252c35),_0x4ab929;}}),_0x14289f=ViewUpdate['create'](this,this['state'],[]),_0x3bb26a=!0x1;_0x14289f['flags']|=_0x52678b,_0x34d175?_0x34d175['flags']|=_0x52678b:_0x34d175=_0x14289f,this['updateState']=0x2,_0x14289f['empty']||(this['updatePlugins'](_0x14289f),this['inputState']['update'](_0x14289f),this['updateAttrs'](),_0x3bb26a=this['docView']['update'](_0x14289f),_0x3bb26a&&this['docViewUpdate']());for(let _0x8ceef9=0x0;_0x8ceef9<_0x47cc23['length'];_0x8ceef9++)if(_0x4aa55d[_0x8ceef9]!=_0x4ab929)try{let _0x31cd7c=_0x47cc23[_0x8ceef9];_0x31cd7c['write']&&_0x31cd7c['write'](_0x4aa55d[_0x8ceef9],this);}catch(_0x40dfe6){logException(this['state'],_0x40dfe6);}if(_0x3bb26a&&this['docView']['updateSelection'](!0x0),!_0x14289f['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0x1b9c11=-0x1;continue;}{let _0x2a2798=(_0x13c7ce<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0x13c7ce)['top'])-_0x1b9c11;if(_0x2a2798>0x1||_0x2a2798<-0x1){_0x49439a+=_0x2a2798,_0x2aa032['scrollTop']=_0x49439a/this['scaleY'],_0x1b9c11=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0x34d175&&!_0x34d175['empty']){for(let _0x4fcaf2 of this['state']['facet'](updateListener))_0x4fcaf2(_0x34d175);}}get['themeClasses'](){return _0x3587a3+'\x20'+(this['state']['facet'](_0x1ec378)?_0x201343:baseLightID)+'\x20'+this['state']['facet'](theme);}['updateAttrs'](){let _0x403cd6=attrsFromFacet(this,editorAttributes,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x375852={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](editable)?'true':'false','class':'cm-content','style':_0x394245['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x375852['aria-readonly']='true'),attrsFromFacet(this,contentAttributes,_0x375852);let _0x41492c=this['observer']['ignore'](()=>{let _0x53b002=updateAttrs(this['contentDOM'],this['contentAttrs'],_0x375852),_0x2f7dc9=updateAttrs(this['dom'],this['editorAttrs'],_0x403cd6);return _0x53b002||_0x2f7dc9;});return this['editorAttrs']=_0x403cd6,this['contentAttrs']=_0x375852,_0x41492c;}['showAnnouncements'](_0x40402a){let _0x1a7e5b=!0x0;for(let _0x171dca of _0x40402a)for(let _0x2dfa42 of _0x171dca['effects'])_0x2dfa42['is'](EditorView['announce'])&&(_0x1a7e5b&&(this['announceDOM']['textContent']=''),_0x1a7e5b=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x2dfa42['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](styleModule);let _0x3aa93f=this['state']['facet'](EditorView['cspNonce']);StyleModule['mount'](this['root'],this['styleModules']['concat'](_0x100a9a)['reverse'](),_0x3aa93f?{'nonce':_0x3aa93f}: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'](_0x3da8ec){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x3da8ec){if(this['measureRequests']['indexOf'](_0x3da8ec)>-0x1)return;if(null!=_0x3da8ec['key']){for(let _0x1160b6=0x0;_0x1160b6<this['measureRequests']['length'];_0x1160b6++)if(this['measureRequests'][_0x1160b6]['key']===_0x3da8ec['key'])return void(this['measureRequests'][_0x1160b6]=_0x3da8ec);}this['measureRequests']['push'](_0x3da8ec);}}['plugin'](_0x1ed368){let _0x15d9dd=this['pluginMap']['get'](_0x1ed368);return(void 0x0===_0x15d9dd||_0x15d9dd&&_0x15d9dd['plugin']!=_0x1ed368)&&this['pluginMap']['set'](_0x1ed368,_0x15d9dd=this['plugins']['find'](_0x156da5=>_0x156da5['plugin']==_0x1ed368)||null),_0x15d9dd&&_0x15d9dd['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'](_0x4ebe37){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0x4ebe37);}['lineBlockAtHeight'](_0x3bbdd4){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0x3bbdd4);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0x20802c){return this['viewState']['lineBlockAt'](_0x20802c);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0x2a37a2,_0x3bb215,_0x169bd3){return skipAtoms(this,_0x2a37a2,_0x3b41d3(this,_0x2a37a2,_0x3bb215,_0x169bd3));}['moveByGroup'](_0x6996b9,_0x2eb18c){return skipAtoms(this,_0x6996b9,_0x3b41d3(this,_0x6996b9,_0x2eb18c,_0x4a4b67=>_0x233c98(this,_0x6996b9['head'],_0x4a4b67)));}['visualLineSide'](_0x350605,_0x1dac75){let _0x64522c=this['bidiSpans'](_0x350605),_0x3becef=this['textDirectionAt'](_0x350605['from']),_0x413a67=_0x64522c[_0x1dac75?_0x64522c['length']-0x1:0x0];return EditorSelection['cursor'](_0x413a67['side'](_0x1dac75,_0x3becef)+_0x350605['from'],_0x413a67['forward'](!_0x1dac75,_0x3becef)?0x1:-0x1);}['moveToLineBoundary'](_0x5872fa,_0x414374,_0x413c93=!0x0){return _0xa2373e(this,_0x5872fa,_0x414374,_0x413c93);}['moveVertically'](_0x397cc8,_0x540d96,_0x2c00f6){return skipAtoms(this,_0x397cc8,moveVertically(this,_0x397cc8,_0x540d96,_0x2c00f6));}['domAtPos'](_0x33cc8a){return this['docView']['domAtPos'](_0x33cc8a);}['posAtDOM'](_0x3b63c5,_0x37f144=0x0){return this['docView']['posFromDOM'](_0x3b63c5,_0x37f144);}['posAtCoords'](_0x473556,_0x156912=!0x0){return this['readMeasured'](),posAtCoords(this,_0x473556,_0x156912);}['coordsAtPos'](_0x5be624,_0x5cc5e1=0x1){this['readMeasured']();let _0x3a94a8=this['docView']['coordsAt'](_0x5be624,_0x5cc5e1);if(!_0x3a94a8||_0x3a94a8['left']==_0x3a94a8['right'])return _0x3a94a8;let _0x5a5989=this['state']['doc']['lineAt'](_0x5be624),_0x12607d=this['bidiSpans'](_0x5a5989);return flattenRect(_0x3a94a8,_0x12607d[_0x550b2a['find'](_0x12607d,_0x5be624-_0x5a5989['from'],-0x1,_0x5cc5e1)]['dir']==Direction['LTR']==_0x5cc5e1>0x0);}['coordsForChar'](_0x4b53b6){return this['readMeasured'](),this['docView']['coordsForChar'](_0x4b53b6);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0x6a4025){return!this['state']['facet'](perLineTextDirection)||_0x6a4025<this['viewport']['from']||_0x6a4025>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0x6a4025));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x178c73){if(_0x178c73['length']>_0x5ba62d)return trivialOrder(_0x178c73['length']);let _0x3f8259,_0x3d7c5d=this['textDirectionAt'](_0x178c73['from']);for(let _0x238f7f of this['bidiCache'])if(_0x238f7f['from']==_0x178c73['from']&&_0x238f7f['dir']==_0x3d7c5d&&(_0x238f7f['fresh']||isolatesEq(_0x238f7f['isolates'],_0x3f8259=getIsolatedRanges(this,_0x178c73))))return _0x238f7f['order'];_0x3f8259||(_0x3f8259=getIsolatedRanges(this,_0x178c73));let _0x2071b3=computeOrder(_0x178c73['text'],_0x3d7c5d,_0x3f8259);return this['bidiCache']['push'](new _0x37f4e1(_0x178c73['from'],_0x178c73['to'],_0x3d7c5d,_0x3f8259,!0x0,_0x2071b3)),_0x2071b3;}get['hasFocus'](){var _0x200ccd;return(this['dom']['ownerDocument']['hasFocus']()||_0x394245['safari']&&(null===(_0x200ccd=this['inputState'])||void 0x0===_0x200ccd?void 0x0:_0x200ccd['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{focusPreventScroll(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0x1eb67e){this['_root']!=_0x1eb67e&&(this['_root']=_0x1eb67e,this['observer']['setWindow']((0x9==_0x1eb67e['nodeType']?_0x1eb67e:_0x1eb67e['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x4f25ef of this['plugins'])_0x4f25ef['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'](_0x378e6f,_0x54bd02={}){return scrollIntoView$1['of'](new ScrollTarget('number'==typeof _0x378e6f?EditorSelection['cursor'](_0x378e6f):_0x378e6f,_0x54bd02['y'],_0x54bd02['x'],_0x54bd02['yMargin'],_0x54bd02['xMargin']));}['scrollSnapshot'](){let {scrollTop:_0x452d64,scrollLeft:_0xe14cb2}=this['scrollDOM'],_0x1023e4=this['viewState']['scrollAnchorAt'](_0x452d64);return scrollIntoView$1['of'](new ScrollTarget(EditorSelection['cursor'](_0x1023e4['from']),'start','start',_0x1023e4['top']-_0x452d64,_0xe14cb2,!0x0));}['setTabFocusMode'](_0x332683){null==_0x332683?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x332683?this['inputState']['tabFocusMode']=_0x332683?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x332683);}static['domEventHandlers'](_0x8fa142){return _0x3d5509['define'](()=>({}),{'eventHandlers':_0x8fa142});}static['domEventObservers'](_0x55be4e){return _0x3d5509['define'](()=>({}),{'eventObservers':_0x55be4e});}static['theme'](_0x39d620,_0x2c70bb){let _0x19a8e0=StyleModule['newName'](),_0xfa50f0=[theme['of'](_0x19a8e0),styleModule['of'](_0x12554c('.'+_0x19a8e0,_0x39d620))];return _0x2c70bb&&_0x2c70bb['dark']&&_0xfa50f0['push'](_0x1ec378['of'](!0x0)),_0xfa50f0;}static['baseTheme'](_0x3b0f22){return _0x5510a7['lowest'](styleModule['of'](_0x12554c('.'+_0x3587a3,_0x3b0f22,lightDarkIDs)));}static['findFromDOM'](_0x28e696){var _0x55237d;let _0x39d670=_0x28e696['querySelector']('.cm-content'),_0x26691f=_0x39d670&&ContentView['get'](_0x39d670)||ContentView['get'](_0x28e696);return(null===(_0x55237d=null==_0x26691f?void 0x0:_0x26691f['rootView'])||void 0x0===_0x55237d?void 0x0:_0x55237d['view'])||null;}}EditorView['styleModule']=styleModule,EditorView['inputHandler']=inputHandler$1,EditorView['clipboardInputFilter']=clipboardInputFilter,EditorView['clipboardOutputFilter']=clipboardOutputFilter,EditorView['scrollHandler']=_0x4a8fac,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']=_0x40318e,EditorView['darkTheme']=_0x1ec378,EditorView['cspNonce']=Facet['define']({'combine':_0x43cada=>_0x43cada['length']?_0x43cada[0x0]:''}),EditorView['contentAttributes']=contentAttributes,EditorView['editorAttributes']=editorAttributes,EditorView['lineWrapping']=EditorView['contentAttributes']['of']({'class':'cm-lineWrapping'}),EditorView['announce']=StateEffect['define']();const _0x5ba62d=0x1000,_0x4ab929={};class _0x37f4e1{constructor(_0x48300d,_0x49f522,_0x2a7a0f,_0x24f291,_0x376bdd,_0x2c703e){this['from']=_0x48300d,this['to']=_0x49f522,this['dir']=_0x2a7a0f,this['isolates']=_0x24f291,this['fresh']=_0x376bdd,this['order']=_0x2c703e;}static['update'](_0x340588,_0x4960c9){if(_0x4960c9['empty']&&!_0x340588['some'](_0x440541=>_0x440541['fresh']))return _0x340588;let _0x2bfb82=[],_0x164dde=_0x340588['length']?_0x340588[_0x340588['length']-0x1]['dir']:Direction['LTR'];for(let _0x2d1f97=Math['max'](0x0,_0x340588['length']-0xa);_0x2d1f97<_0x340588['length'];_0x2d1f97++){let _0x1156d3=_0x340588[_0x2d1f97];_0x1156d3['dir']!=_0x164dde||_0x4960c9['touchesRange'](_0x1156d3['from'],_0x1156d3['to'])||_0x2bfb82['push'](new _0x37f4e1(_0x4960c9['mapPos'](_0x1156d3['from'],0x1),_0x4960c9['mapPos'](_0x1156d3['to'],-0x1),_0x1156d3['dir'],_0x1156d3['isolates'],!0x1,_0x1156d3['order']));}return _0x2bfb82;}}function attrsFromFacet(_0x4e77be,_0x5ab1c7,_0x25166b){for(let _0x2d62a9=_0x4e77be['state']['facet'](_0x5ab1c7),_0x4a6c13=_0x2d62a9['length']-0x1;_0x4a6c13>=0x0;_0x4a6c13--){let _0x46fb69=_0x2d62a9[_0x4a6c13],_0x4eff46='function'==typeof _0x46fb69?_0x46fb69(_0x4e77be):_0x46fb69;_0x4eff46&&combineAttrs(_0x4eff46,_0x25166b);}return _0x25166b;}const currentPlatform=_0x394245['mac']?'mac':_0x394245['windows']?'win':_0x394245['linux']?'linux':'key';function _0x4aee14(_0x466629,_0x1bad2){const _0x3d4c1f=_0x466629['split'](/-(?!$)/);let _0x520055,_0x45a046,_0x5e31e7,_0x1229e4,_0xf6be77=_0x3d4c1f[_0x3d4c1f['length']-0x1];'Space'==_0xf6be77&&(_0xf6be77='\x20');for(let _0x56417b=0x0;_0x56417b<_0x3d4c1f['length']-0x1;++_0x56417b){const _0x3b75a1=_0x3d4c1f[_0x56417b];if(/^(cmd|meta|m)$/i['test'](_0x3b75a1))_0x1229e4=!0x0;else{if(/^a(lt)?$/i['test'](_0x3b75a1))_0x520055=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x3b75a1))_0x45a046=!0x0;else{if(/^s(hift)?$/i['test'](_0x3b75a1))_0x5e31e7=!0x0;else{if(!/^mod$/i['test'](_0x3b75a1))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x3b75a1);'mac'==_0x1bad2?_0x1229e4=!0x0:_0x45a046=!0x0;}}}}}return _0x520055&&(_0xf6be77='Alt-'+_0xf6be77),_0x45a046&&(_0xf6be77='Ctrl-'+_0xf6be77),_0x1229e4&&(_0xf6be77='Meta-'+_0xf6be77),_0x5e31e7&&(_0xf6be77='Shift-'+_0xf6be77),_0xf6be77;}function _0x314b89(_0x395739,_0x31c101,_0x3890b3){return _0x31c101['altKey']&&(_0x395739='Alt-'+_0x395739),_0x31c101['ctrlKey']&&(_0x395739='Ctrl-'+_0x395739),_0x31c101['metaKey']&&(_0x395739='Meta-'+_0x395739),!0x1!==_0x3890b3&&_0x31c101['shiftKey']&&(_0x395739='Shift-'+_0x395739),_0x395739;}const handleKeyEvents=_0x5510a7['default'](EditorView['domEventHandlers']({'keydown':(_0x3c3a1f,_0x1511a9)=>_0x4e971e(getKeymap(_0x1511a9['state']),_0x3c3a1f,_0x1511a9,'editor')})),_0x16b200=Facet['define']({'enables':handleKeyEvents}),_0x34045f=new WeakMap();function getKeymap(_0x345552){let _0x5b067a=_0x345552['facet'](_0x16b200),_0x19fa70=_0x34045f['get'](_0x5b067a);return _0x19fa70||_0x34045f['set'](_0x5b067a,_0x19fa70=_0x332693(_0x5b067a['reduce']((_0x3d745f,_0xfc34ea)=>_0x3d745f['concat'](_0xfc34ea),[]))),_0x19fa70;}let storedPrefix=null;const PrefixTimeout=0xfa0;function _0x332693(_0x2eee7d,_0x50db88=currentPlatform){let _0xee7c1a=Object['create'](null),_0xe331f6=Object['create'](null),_0x2199fc=(_0x2f703c,_0x4351b1)=>{let _0x43791b=_0xe331f6[_0x2f703c];if(null==_0x43791b)_0xe331f6[_0x2f703c]=_0x4351b1;else{if(_0x43791b!=_0x4351b1)throw new Error('Key\x20binding\x20'+_0x2f703c+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x5ae7b5=(_0x2f6ff2,_0x406239,_0x27680d,_0x10ca35,_0x365f33)=>{var _0x2d8e59,_0x171bef;let _0x538816=_0xee7c1a[_0x2f6ff2]||(_0xee7c1a[_0x2f6ff2]=Object['create'](null)),_0x4ea38b=_0x406239['split'](/ (?!$)/)['map'](_0x54212f=>_0x4aee14(_0x54212f,_0x50db88));for(let _0x18ee96=0x1;_0x18ee96<_0x4ea38b['length'];_0x18ee96++){let _0x594526=_0x4ea38b['slice'](0x0,_0x18ee96)['join']('\x20');_0x2199fc(_0x594526,!0x0),_0x538816[_0x594526]||(_0x538816[_0x594526]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x1fafe6=>{let _0x2e7c41=storedPrefix={'view':_0x1fafe6,'prefix':_0x594526,'scope':_0x2f6ff2};return setTimeout(()=>{storedPrefix==_0x2e7c41&&(storedPrefix=null);},PrefixTimeout),!0x0;}]});}let _0x35442d=_0x4ea38b['join']('\x20');_0x2199fc(_0x35442d,!0x1);let _0x385226=_0x538816[_0x35442d]||(_0x538816[_0x35442d]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x171bef=null===(_0x2d8e59=_0x538816['_any'])||void 0x0===_0x2d8e59?void 0x0:_0x2d8e59['run'])||void 0x0===_0x171bef?void 0x0:_0x171bef['slice']())||[]});_0x27680d&&_0x385226['run']['push'](_0x27680d),_0x10ca35&&(_0x385226['preventDefault']=!0x0),_0x365f33&&(_0x385226['stopPropagation']=!0x0);};for(let _0x44d9cd of _0x2eee7d){let _0x3e40b8=_0x44d9cd['scope']?_0x44d9cd['scope']['split']('\x20'):['editor'];if(_0x44d9cd['any'])for(let _0x4cc517 of _0x3e40b8){let _0x5a734e=_0xee7c1a[_0x4cc517]||(_0xee7c1a[_0x4cc517]=Object['create'](null));_0x5a734e['_any']||(_0x5a734e['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0x273651}=_0x44d9cd;for(let _0x5bc676 in _0x5a734e)_0x5a734e[_0x5bc676]['run']['push'](_0x8f170c=>_0x273651(_0x8f170c,currentKeyEvent));}let _0x19bae1=_0x44d9cd[_0x50db88]||_0x44d9cd['key'];if(_0x19bae1){for(let _0x376767 of _0x3e40b8)_0x5ae7b5(_0x376767,_0x19bae1,_0x44d9cd['run'],_0x44d9cd['preventDefault'],_0x44d9cd['stopPropagation']),_0x44d9cd['shift']&&_0x5ae7b5(_0x376767,'Shift-'+_0x19bae1,_0x44d9cd['shift'],_0x44d9cd['preventDefault'],_0x44d9cd['stopPropagation']);}}return _0xee7c1a;}let currentKeyEvent=null;function _0x4e971e(_0x202315,_0x19b1a1,_0x47c22d,_0x229c43){currentKeyEvent=_0x19b1a1;let _0x147db1=_0x16d24e(_0x19b1a1),_0x1b9587=codePointSize(codePointAt(_0x147db1,0x0))==_0x147db1['length']&&'\x20'!=_0x147db1,_0x181a9a='',_0xe92d36=!0x1,_0xde1e77=!0x1,_0x5c0e4f=!0x1;storedPrefix&&storedPrefix['view']==_0x47c22d&&storedPrefix['scope']==_0x229c43&&(_0x181a9a=storedPrefix['prefix']+'\x20',_0x1457a2['indexOf'](_0x19b1a1['keyCode'])<0x0&&(_0xde1e77=!0x0,storedPrefix=null));let _0x20f62a,_0x3f2740,_0x576cd6=new Set(),_0x803b3c=_0x538c43=>{if(_0x538c43){for(let _0x3d0a2b of _0x538c43['run'])if(!_0x576cd6['has'](_0x3d0a2b)&&(_0x576cd6['add'](_0x3d0a2b),_0x3d0a2b(_0x47c22d)))return _0x538c43['stopPropagation']&&(_0x5c0e4f=!0x0),!0x0;_0x538c43['preventDefault']&&(_0x538c43['stopPropagation']&&(_0x5c0e4f=!0x0),_0xde1e77=!0x0);}return!0x1;},_0x5a80f1=_0x202315[_0x229c43];return _0x5a80f1&&(_0x803b3c(_0x5a80f1[_0x181a9a+_0x314b89(_0x147db1,_0x19b1a1,!_0x1b9587)])?_0xe92d36=!0x0:!_0x1b9587||!(_0x19b1a1['altKey']||_0x19b1a1['metaKey']||_0x19b1a1['ctrlKey'])||_0x394245['windows']&&_0x19b1a1['ctrlKey']&&_0x19b1a1['altKey']||_0x394245['mac']&&_0x19b1a1['altKey']&&!_0x19b1a1['ctrlKey']&&!_0x19b1a1['metaKey']||!(_0x20f62a=_0x477196[_0x19b1a1['keyCode']])||_0x20f62a==_0x147db1?_0x1b9587&&_0x19b1a1['shiftKey']&&_0x803b3c(_0x5a80f1[_0x181a9a+_0x314b89(_0x147db1,_0x19b1a1,!0x0)])&&(_0xe92d36=!0x0):(_0x803b3c(_0x5a80f1[_0x181a9a+_0x314b89(_0x20f62a,_0x19b1a1,!0x0)])||_0x19b1a1['shiftKey']&&(_0x3f2740=shift[_0x19b1a1['keyCode']])!=_0x147db1&&_0x3f2740!=_0x20f62a&&_0x803b3c(_0x5a80f1[_0x181a9a+_0x314b89(_0x3f2740,_0x19b1a1,!0x1)]))&&(_0xe92d36=!0x0),!_0xe92d36&&_0x803b3c(_0x5a80f1['_any'])&&(_0xe92d36=!0x0)),_0xde1e77&&(_0xe92d36=!0x0),_0xe92d36&&_0x5c0e4f&&_0x19b1a1['stopPropagation'](),currentKeyEvent=null,_0xe92d36;}class RectangleMarker{constructor(_0xa4422,_0x220491,_0x286fa2,_0x504b05,_0x39ba2a){this['className']=_0xa4422,this['left']=_0x220491,this['top']=_0x286fa2,this['width']=_0x504b05,this['height']=_0x39ba2a;}['draw'](){let _0x5c3f0c=document['createElement']('div');return _0x5c3f0c['className']=this['className'],this['adjust'](_0x5c3f0c),_0x5c3f0c;}['update'](_0x14c237,_0x29d9ad){return _0x29d9ad['className']==this['className']&&(this['adjust'](_0x14c237),!0x0);}['adjust'](_0x171cce){_0x171cce['style']['left']=this['left']+'px',_0x171cce['style']['top']=this['top']+'px',null!=this['width']&&(_0x171cce['style']['width']=this['width']+'px'),_0x171cce['style']['height']=this['height']+'px';}['eq'](_0x1bbd9e){return this['left']==_0x1bbd9e['left']&&this['top']==_0x1bbd9e['top']&&this['width']==_0x1bbd9e['width']&&this['height']==_0x1bbd9e['height']&&this['className']==_0x1bbd9e['className'];}static['forRange'](_0x45a3ca,_0xffec66,_0x3f7bee){if(_0x3f7bee['empty']){let _0x3be271=_0x45a3ca['coordsAtPos'](_0x3f7bee['head'],_0x3f7bee['assoc']||0x1);if(!_0x3be271)return[];let _0x1e4063=getBase(_0x45a3ca);return[new RectangleMarker(_0xffec66,_0x3be271['left']-_0x1e4063['left'],_0x3be271['top']-_0x1e4063['top'],null,_0x3be271['bottom']-_0x3be271['top'])];}return rectanglesForRange(_0x45a3ca,_0xffec66,_0x3f7bee);}}function getBase(_0x4885fb){let _0x3ff401=_0x4885fb['scrollDOM']['getBoundingClientRect']();return{'left':(_0x4885fb['textDirection']==Direction['LTR']?_0x3ff401['left']:_0x3ff401['right']-_0x4885fb['scrollDOM']['clientWidth']*_0x4885fb['scaleX'])-_0x4885fb['scrollDOM']['scrollLeft']*_0x4885fb['scaleX'],'top':_0x3ff401['top']-_0x4885fb['scrollDOM']['scrollTop']*_0x4885fb['scaleY']};}function _0x36c63b(_0x3c59a6,_0x1e7b60,_0x47b768,_0x5e4f3a){let _0x159b29=_0x3c59a6['coordsAtPos'](_0x1e7b60,0x2*_0x47b768);if(!_0x159b29)return _0x5e4f3a;let _0x100e99=_0x3c59a6['dom']['getBoundingClientRect'](),_0xab55a=(_0x159b29['top']+_0x159b29['bottom'])/0x2,_0x222cf8=_0x3c59a6['posAtCoords']({'x':_0x100e99['left']+0x1,'y':_0xab55a}),_0x2d1366=_0x3c59a6['posAtCoords']({'x':_0x100e99['right']-0x1,'y':_0xab55a});return null==_0x222cf8||null==_0x2d1366?_0x5e4f3a:{'from':Math['max'](_0x5e4f3a['from'],Math['min'](_0x222cf8,_0x2d1366)),'to':Math['min'](_0x5e4f3a['to'],Math['max'](_0x222cf8,_0x2d1366))};}function rectanglesForRange(_0x295be9,_0xfdbb65,_0x4de7e2){if(_0x4de7e2['to']<=_0x295be9['viewport']['from']||_0x4de7e2['from']>=_0x295be9['viewport']['to'])return[];let _0x46ce11=Math['max'](_0x4de7e2['from'],_0x295be9['viewport']['from']),_0x343804=Math['min'](_0x4de7e2['to'],_0x295be9['viewport']['to']),_0xca02a9=_0x295be9['textDirection']==Direction['LTR'],_0x42b87c=_0x295be9['contentDOM'],_0x3821b4=_0x42b87c['getBoundingClientRect'](),_0x59f60b=getBase(_0x295be9),_0x11dcc1=_0x42b87c['querySelector']('.cm-line'),_0x345b19=_0x11dcc1&&window['getComputedStyle'](_0x11dcc1),_0x502510=_0x3821b4['left']+(_0x345b19?parseInt(_0x345b19['paddingLeft'])+Math['min'](0x0,parseInt(_0x345b19['textIndent'])):0x0),_0x31f1ac=_0x3821b4['right']-(_0x345b19?parseInt(_0x345b19['paddingRight']):0x0),_0x578d10=blockAt(_0x295be9,_0x46ce11,0x1),_0x2a467f=blockAt(_0x295be9,_0x343804,-0x1),_0x833a79=_0x578d10['type']==_0x533a79['Text']?_0x578d10:null,_0x1a5617=_0x2a467f['type']==_0x533a79['Text']?_0x2a467f:null;if(_0x833a79&&(_0x295be9['lineWrapping']||_0x578d10['widgetLineBreaks'])&&(_0x833a79=_0x36c63b(_0x295be9,_0x46ce11,0x1,_0x833a79)),_0x1a5617&&(_0x295be9['lineWrapping']||_0x2a467f['widgetLineBreaks'])&&(_0x1a5617=_0x36c63b(_0x295be9,_0x343804,-0x1,_0x1a5617)),_0x833a79&&_0x1a5617&&_0x833a79['from']==_0x1a5617['from']&&_0x833a79['to']==_0x1a5617['to'])return _0x314301(_0x213a3b(_0x4de7e2['from'],_0x4de7e2['to'],_0x833a79));{let _0x4ba220=_0x833a79?_0x213a3b(_0x4de7e2['from'],null,_0x833a79):_0x4dcade(_0x578d10,!0x1),_0x1c7234=_0x1a5617?_0x213a3b(null,_0x4de7e2['to'],_0x1a5617):_0x4dcade(_0x2a467f,!0x0),_0x5230a8=[];return(_0x833a79||_0x578d10)['to']<(_0x1a5617||_0x2a467f)['from']-(_0x833a79&&_0x1a5617?0x1:0x0)||_0x578d10['widgetLineBreaks']>0x1&&_0x4ba220['bottom']+_0x295be9['defaultLineHeight']/0x2<_0x1c7234['top']?_0x5230a8['push'](_0x61b54(_0x502510,_0x4ba220['bottom'],_0x31f1ac,_0x1c7234['top'])):_0x4ba220['bottom']<_0x1c7234['top']&&_0x295be9['elementAtHeight']((_0x4ba220['bottom']+_0x1c7234['top'])/0x2)['type']==_0x533a79['Text']&&(_0x4ba220['bottom']=_0x1c7234['top']=(_0x4ba220['bottom']+_0x1c7234['top'])/0x2),_0x314301(_0x4ba220)['concat'](_0x5230a8)['concat'](_0x314301(_0x1c7234));}function _0x61b54(_0x2229ec,_0x22b5de,_0x24245a,_0x18150c){return new RectangleMarker(_0xfdbb65,_0x2229ec-_0x59f60b['left'],_0x22b5de-_0x59f60b['top'],_0x24245a-_0x2229ec,_0x18150c-_0x22b5de);}function _0x314301({top:_0xeea31c,bottom:_0x1792fb,horizontal:_0x3ba89e}){let _0x5488d8=[];for(let _0x435226=0x0;_0x435226<_0x3ba89e['length'];_0x435226+=0x2)_0x5488d8['push'](_0x61b54(_0x3ba89e[_0x435226],_0xeea31c,_0x3ba89e[_0x435226+0x1],_0x1792fb));return _0x5488d8;}function _0x213a3b(_0x43e8fc,_0x4d2a51,_0x5cc39e){let _0x2d5acb=0x3b9aca00,_0x2a7fa5=-0x3b9aca00,_0x22b679=[];function _0x407798(_0x1b58be,_0x47e6b2,_0x47e84c,_0x15f8ec,_0x40ecf7){let _0x2b757d=_0x295be9['coordsAtPos'](_0x1b58be,_0x1b58be==_0x5cc39e['to']?-0x2:0x2),_0x4456e6=_0x295be9['coordsAtPos'](_0x47e84c,_0x47e84c==_0x5cc39e['from']?0x2:-0x2);_0x2b757d&&_0x4456e6&&(_0x2d5acb=Math['min'](_0x2b757d['top'],_0x4456e6['top'],_0x2d5acb),_0x2a7fa5=Math['max'](_0x2b757d['bottom'],_0x4456e6['bottom'],_0x2a7fa5),_0x40ecf7==Direction['LTR']?_0x22b679['push'](_0xca02a9&&_0x47e6b2?_0x502510:_0x2b757d['left'],_0xca02a9&&_0x15f8ec?_0x31f1ac:_0x4456e6['right']):_0x22b679['push'](!_0xca02a9&&_0x15f8ec?_0x502510:_0x4456e6['left'],!_0xca02a9&&_0x47e6b2?_0x31f1ac:_0x2b757d['right']));}let _0x35bcbb=null!=_0x43e8fc?_0x43e8fc:_0x5cc39e['from'],_0x4d0245=null!=_0x4d2a51?_0x4d2a51:_0x5cc39e['to'];for(let _0x5bc7da of _0x295be9['visibleRanges'])if(_0x5bc7da['to']>_0x35bcbb&&_0x5bc7da['from']<_0x4d0245)for(let _0x519a96=Math['max'](_0x5bc7da['from'],_0x35bcbb),_0x59fdd9=Math['min'](_0x5bc7da['to'],_0x4d0245);;){let _0x5e0538=_0x295be9['state']['doc']['lineAt'](_0x519a96);for(let _0x526d40 of _0x295be9['bidiSpans'](_0x5e0538)){let _0x3dbf85=_0x526d40['from']+_0x5e0538['from'],_0x3c41c4=_0x526d40['to']+_0x5e0538['from'];if(_0x3dbf85>=_0x59fdd9)break;_0x3c41c4>_0x519a96&&_0x407798(Math['max'](_0x3dbf85,_0x519a96),null==_0x43e8fc&&_0x3dbf85<=_0x35bcbb,Math['min'](_0x3c41c4,_0x59fdd9),null==_0x4d2a51&&_0x3c41c4>=_0x4d0245,_0x526d40['dir']);}if(_0x519a96=_0x5e0538['to']+0x1,_0x519a96>=_0x59fdd9)break;}return 0x0==_0x22b679['length']&&_0x407798(_0x35bcbb,null==_0x43e8fc,_0x4d0245,null==_0x4d2a51,_0x295be9['textDirection']),{'top':_0x2d5acb,'bottom':_0x2a7fa5,'horizontal':_0x22b679};}function _0x4dcade(_0x47dc68,_0x35fa97){let _0x2306b5=_0x3821b4['top']+(_0x35fa97?_0x47dc68['top']:_0x47dc68['bottom']);return{'top':_0x2306b5,'bottom':_0x2306b5,'horizontal':[]};}}function _0x2451fe(_0x486c29,_0x261ed9){return _0x486c29['constructor']==_0x261ed9['constructor']&&_0x486c29['eq'](_0x261ed9);}class _0x5bf810{constructor(_0x332112,_0x3c7aea){this['view']=_0x332112,this['layer']=_0x3c7aea,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0x332112['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x3c7aea['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x3c7aea['class']&&this['dom']['classList']['add'](_0x3c7aea['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0x332112['state']),_0x332112['requestMeasure'](this['measureReq']),_0x3c7aea['mount']&&_0x3c7aea['mount'](this['dom'],_0x332112);}['update'](_0x584986){_0x584986['startState']['facet'](_0x3ec7db)!=_0x584986['state']['facet'](_0x3ec7db)&&this['setOrder'](_0x584986['state']),(this['layer']['update'](_0x584986,this['dom'])||_0x584986['geometryChanged'])&&(this['scale'](),_0x584986['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0xa48762){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0xa48762['requestMeasure'](this['measureReq']);}['setOrder'](_0x582e75){let _0x43930f=0x0,_0x56c2aa=_0x582e75['facet'](_0x3ec7db);for(;_0x43930f<_0x56c2aa['length']&&_0x56c2aa[_0x43930f]!=this['layer'];)_0x43930f++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x43930f);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x1ecde5,scaleY:_0x17e480}=this['view'];_0x1ecde5==this['scaleX']&&_0x17e480==this['scaleY']||(this['scaleX']=_0x1ecde5,this['scaleY']=_0x17e480,this['dom']['style']['transform']='scale('+0x1/_0x1ecde5+',\x20'+0x1/_0x17e480+')');}['draw'](_0x2aacb2){if(_0x2aacb2['length']!=this['drawn']['length']||_0x2aacb2['some']((_0x3c4762,_0x383a9d)=>!_0x2451fe(_0x3c4762,this['drawn'][_0x383a9d]))){let _0x61bdf8=this['dom']['firstChild'],_0x24a256=0x0;for(let _0x2e9d1a of _0x2aacb2)_0x2e9d1a['update']&&_0x61bdf8&&_0x2e9d1a['constructor']&&this['drawn'][_0x24a256]['constructor']&&_0x2e9d1a['update'](_0x61bdf8,this['drawn'][_0x24a256])?(_0x61bdf8=_0x61bdf8['nextSibling'],_0x24a256++):this['dom']['insertBefore'](_0x2e9d1a['draw'](),_0x61bdf8);for(;_0x61bdf8;){let _0x33efc5=_0x61bdf8['nextSibling'];_0x61bdf8['remove'](),_0x61bdf8=_0x33efc5;}this['drawn']=_0x2aacb2,_0x394245['safari']&&_0x394245['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 _0x3ec7db=Facet['define']();function _0x584242(_0x301f69){return[_0x3d5509['define'](_0x596ea6=>new _0x5bf810(_0x596ea6,_0x301f69)),_0x3ec7db['of'](_0x301f69)];}const selectionConfig=Facet['define']({'combine':_0x54bcf2=>_0x280ccf(_0x54bcf2,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0},{'cursorBlinkRate':(_0x4568a5,_0x1d347a)=>Math['min'](_0x4568a5,_0x1d347a),'drawRangeCursor':(_0x473e01,_0x14a38b)=>_0x473e01||_0x14a38b})});function drawSelection(_0x112577={}){return[selectionConfig['of'](_0x112577),_0x5ad469,selectionLayer,hideNativeSelection,nativeSelectionHidden['of'](!0x0)];}function _0x41f31a(_0xe08986){return _0xe08986['startState']['facet'](selectionConfig)!=_0xe08986['state']['facet'](selectionConfig);}const _0x5ad469=_0x584242({'above':!0x0,'markers'(_0x145f62){let {state:_0xffec04}=_0x145f62,_0x515adc=_0xffec04['facet'](selectionConfig),_0xdefbbc=[];for(let _0x16aebc of _0xffec04['selection']['ranges']){let _0x38dffa=_0x16aebc==_0xffec04['selection']['main'];if(_0x16aebc['empty']||_0x515adc['drawRangeCursor']){let _0x4d0a4e=_0x38dffa?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0xf5c80e=_0x16aebc['empty']?_0x16aebc:EditorSelection['cursor'](_0x16aebc['head'],_0x16aebc['head']>_0x16aebc['anchor']?-0x1:0x1);for(let _0x16cb23 of RectangleMarker['forRange'](_0x145f62,_0x4d0a4e,_0xf5c80e))_0xdefbbc['push'](_0x16cb23);}}return _0xdefbbc;},'update'(_0x175e04,_0x5d77b9){_0x175e04['transactions']['some'](_0x1bf0db=>_0x1bf0db['selection'])&&(_0x5d77b9['style']['animationName']='cm-blink'==_0x5d77b9['style']['animationName']?'cm-blink2':'cm-blink');let _0x5ec51f=_0x41f31a(_0x175e04);return _0x5ec51f&&setBlinkRate(_0x175e04['state'],_0x5d77b9),_0x175e04['docChanged']||_0x175e04['selectionSet']||_0x5ec51f;},'mount'(_0x2008fd,_0x41156f){setBlinkRate(_0x41156f['state'],_0x2008fd);},'class':'cm-cursorLayer'});function setBlinkRate(_0xe5a3dd,_0x3ff56a){_0x3ff56a['style']['animationDuration']=_0xe5a3dd['facet'](selectionConfig)['cursorBlinkRate']+'ms';}const selectionLayer=_0x584242({'above':!0x1,'markers':_0xeeb75a=>_0xeeb75a['state']['selection']['ranges']['map'](_0x5a6c0b=>_0x5a6c0b['empty']?[]:RectangleMarker['forRange'](_0xeeb75a,'cm-selectionBackground',_0x5a6c0b))['reduce']((_0x114c7b,_0x10945c)=>_0x114c7b['concat'](_0x10945c)),'update':(_0x34c82b,_0xa3e052)=>_0x34c82b['docChanged']||_0x34c82b['selectionSet']||_0x34c82b['viewportChanged']||_0x41f31a(_0x34c82b),'class':'cm-selectionLayer'}),hideNativeSelection=_0x5510a7['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':(_0x543e0a,_0x54431c)=>null==_0x543e0a?null:_0x54431c['mapPos'](_0x543e0a)}),_0x2dafc3=StateField['define']({'create':()=>null,'update':(_0x585e66,_0x5b584c)=>(null!=_0x585e66&&(_0x585e66=_0x5b584c['changes']['mapPos'](_0x585e66)),_0x5b584c['effects']['reduce']((_0x1edcb0,_0xca81f0)=>_0xca81f0['is'](setDropCursorPos)?_0xca81f0['value']:_0x1edcb0,_0x585e66))}),_0x3a81f7=_0x3d5509['fromClass'](class{constructor(_0x5de7c6){this['view']=_0x5de7c6,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x5cec63){var _0x34679a;let _0xf38868=_0x5cec63['state']['field'](_0x2dafc3);null==_0xf38868?null!=this['cursor']&&(null===(_0x34679a=this['cursor'])||void 0x0===_0x34679a||_0x34679a['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x5cec63['startState']['field'](_0x2dafc3)!=_0xf38868||_0x5cec63['docChanged']||_0x5cec63['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x183dd9}=this,_0x26e69=_0x183dd9['state']['field'](_0x2dafc3),_0x39f7e2=null!=_0x26e69&&_0x183dd9['coordsAtPos'](_0x26e69);if(!_0x39f7e2)return null;let _0x1fe7a8=_0x183dd9['scrollDOM']['getBoundingClientRect']();return{'left':_0x39f7e2['left']-_0x1fe7a8['left']+_0x183dd9['scrollDOM']['scrollLeft']*_0x183dd9['scaleX'],'top':_0x39f7e2['top']-_0x1fe7a8['top']+_0x183dd9['scrollDOM']['scrollTop']*_0x183dd9['scaleY'],'height':_0x39f7e2['bottom']-_0x39f7e2['top']};}['drawCursor'](_0x38d54f){if(this['cursor']){let {scaleX:_0x8f316b,scaleY:_0x438227}=this['view'];_0x38d54f?(this['cursor']['style']['left']=_0x38d54f['left']/_0x8f316b+'px',this['cursor']['style']['top']=_0x38d54f['top']/_0x438227+'px',this['cursor']['style']['height']=_0x38d54f['height']/_0x438227+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0x59e5ef){this['view']['state']['field'](_0x2dafc3)!=_0x59e5ef&&this['view']['dispatch']({'effects':setDropCursorPos['of'](_0x59e5ef)});}},{'eventObservers':{'dragover'(_0x34ac18){this['setDropPos'](this['view']['posAtCoords']({'x':_0x34ac18['clientX'],'y':_0x34ac18['clientY']}));},'dragleave'(_0x54ffc5){_0x54ffc5['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x54ffc5['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function _0x2be06c(){return[_0x2dafc3,_0x3a81f7];}function iterMatches(_0x11e48b,_0x40a39a,_0x370bd6,_0x3e1aa6,_0x42fa76){_0x40a39a['lastIndex']=0x0;for(let _0x2df240,_0x15dbe9=_0x11e48b['iterRange'](_0x370bd6,_0x3e1aa6),_0x94a15c=_0x370bd6;!_0x15dbe9['next']()['done'];_0x94a15c+=_0x15dbe9['value']['length'])if(!_0x15dbe9['lineBreak']){for(;_0x2df240=_0x40a39a['exec'](_0x15dbe9['value']);)_0x42fa76(_0x94a15c+_0x2df240['index'],_0x2df240);}}function matchRanges(_0x3bbf49,_0x19def2){let _0x22a81b=_0x3bbf49['visibleRanges'];if(0x1==_0x22a81b['length']&&_0x22a81b[0x0]['from']==_0x3bbf49['viewport']['from']&&_0x22a81b[0x0]['to']==_0x3bbf49['viewport']['to'])return _0x22a81b;let _0x67f78a=[];for(let {from:_0x2461ad,to:_0x46af03}of _0x22a81b)_0x2461ad=Math['max'](_0x3bbf49['state']['doc']['lineAt'](_0x2461ad)['from'],_0x2461ad-_0x19def2),_0x46af03=Math['min'](_0x3bbf49['state']['doc']['lineAt'](_0x46af03)['to'],_0x46af03+_0x19def2),_0x67f78a['length']&&_0x67f78a[_0x67f78a['length']-0x1]['to']>=_0x2461ad?_0x67f78a[_0x67f78a['length']-0x1]['to']=_0x46af03:_0x67f78a['push']({'from':_0x2461ad,'to':_0x46af03});return _0x67f78a;}class MatchDecorator{constructor(_0x2088b7){const {regexp:_0x46fbb5,decoration:_0x236aef,decorate:_0x156e37,boundary:_0x431cbf,maxLength:_0x44b777=0x3e8}=_0x2088b7;if(!_0x46fbb5['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x46fbb5,_0x156e37)this['addMatch']=(_0x22b7b4,_0x427658,_0x34d565,_0x20b399)=>_0x156e37(_0x20b399,_0x34d565,_0x34d565+_0x22b7b4[0x0]['length'],_0x22b7b4,_0x427658);else{if('function'==typeof _0x236aef)this['addMatch']=(_0x1b9cd5,_0x583575,_0xfcd56a,_0x41cc79)=>{let _0x5e5e2b=_0x236aef(_0x1b9cd5,_0x583575,_0xfcd56a);_0x5e5e2b&&_0x41cc79(_0xfcd56a,_0xfcd56a+_0x1b9cd5[0x0]['length'],_0x5e5e2b);};else{if(!_0x236aef)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0x236674,_0x1fa59d,_0x11ec40,_0x160973)=>_0x160973(_0x11ec40,_0x11ec40+_0x236674[0x0]['length'],_0x236aef);}}this['boundary']=_0x431cbf,this['maxLength']=_0x44b777;}['createDeco'](_0x40e13b){let _0x41705c=new RangeSetBuilder(),_0x4408cf=_0x41705c['add']['bind'](_0x41705c);for(let {from:_0x5df383,to:_0x2e102a}of matchRanges(_0x40e13b,this['maxLength']))iterMatches(_0x40e13b['state']['doc'],this['regexp'],_0x5df383,_0x2e102a,(_0x17a7ef,_0x53e827)=>this['addMatch'](_0x53e827,_0x40e13b,_0x17a7ef,_0x4408cf));return _0x41705c['finish']();}['updateDeco'](_0xe4c077,_0x2d6ce4){let _0x393bf9=0x3b9aca00,_0x443ce0=-0x1;return _0xe4c077['docChanged']&&_0xe4c077['changes']['iterChanges']((_0x1a26d3,_0x52d2e7,_0x3686ec,_0x523e36)=>{_0x523e36>=_0xe4c077['view']['viewport']['from']&&_0x3686ec<=_0xe4c077['view']['viewport']['to']&&(_0x393bf9=Math['min'](_0x3686ec,_0x393bf9),_0x443ce0=Math['max'](_0x523e36,_0x443ce0));}),_0xe4c077['viewportMoved']||_0x443ce0-_0x393bf9>0x3e8?this['createDeco'](_0xe4c077['view']):_0x443ce0>-0x1?this['updateRange'](_0xe4c077['view'],_0x2d6ce4['map'](_0xe4c077['changes']),_0x393bf9,_0x443ce0):_0x2d6ce4;}['updateRange'](_0x1e822e,_0xee935c,_0xec30db,_0x1951cd){for(let _0x8ec346 of _0x1e822e['visibleRanges']){let _0x3813f1=Math['max'](_0x8ec346['from'],_0xec30db),_0x4a3c3b=Math['min'](_0x8ec346['to'],_0x1951cd);if(_0x4a3c3b>=_0x3813f1){let _0x32083=_0x1e822e['state']['doc']['lineAt'](_0x3813f1),_0x67621=_0x32083['to']<_0x4a3c3b?_0x1e822e['state']['doc']['lineAt'](_0x4a3c3b):_0x32083,_0x2bd8bf=Math['max'](_0x8ec346['from'],_0x32083['from']),_0x54e8e0=Math['min'](_0x8ec346['to'],_0x67621['to']);if(this['boundary']){for(;_0x3813f1>_0x32083['from'];_0x3813f1--)if(this['boundary']['test'](_0x32083['text'][_0x3813f1-0x1-_0x32083['from']])){_0x2bd8bf=_0x3813f1;break;}for(;_0x4a3c3b<_0x67621['to'];_0x4a3c3b++)if(this['boundary']['test'](_0x67621['text'][_0x4a3c3b-_0x67621['from']])){_0x54e8e0=_0x4a3c3b;break;}}let _0x54f625,_0x1ebe24=[],_0x1e483c=(_0x3f6de5,_0x571374,_0x562eb1)=>_0x1ebe24['push'](_0x562eb1['range'](_0x3f6de5,_0x571374));if(_0x32083==_0x67621){for(this['regexp']['lastIndex']=_0x2bd8bf-_0x32083['from'];(_0x54f625=this['regexp']['exec'](_0x32083['text']))&&_0x54f625['index']<_0x54e8e0-_0x32083['from'];)this['addMatch'](_0x54f625,_0x1e822e,_0x54f625['index']+_0x32083['from'],_0x1e483c);}else iterMatches(_0x1e822e['state']['doc'],this['regexp'],_0x2bd8bf,_0x54e8e0,(_0x3d9a7a,_0x2de7f6)=>this['addMatch'](_0x2de7f6,_0x1e822e,_0x3d9a7a,_0x1e483c));_0xee935c=_0xee935c['update']({'filterFrom':_0x2bd8bf,'filterTo':_0x54e8e0,'filter':(_0x233aa2,_0x9c70db)=>_0x233aa2<_0x2bd8bf||_0x9c70db>_0x54e8e0,'add':_0x1ebe24});}}return _0xee935c;}}const UnicodeRegexpSupport=null!=/x/['unicode']?'gu':'g',_0x483213=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',UnicodeRegexpSupport),_0x36ccb8={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 _0x26bd21;if(null==_supportsTabSize&&'undefined'!=typeof document&&document['body']){let _0x528b58=document['body']['style'];_supportsTabSize=null!=(null!==(_0x26bd21=_0x528b58['tabSize'])&&void 0x0!==_0x26bd21?_0x26bd21:_0x528b58['MozTabSize']);}return _supportsTabSize||!0x1;}const _0x9ecb01=Facet['define']({'combine'(_0x281123){let _0x170255=_0x280ccf(_0x281123,{'render':null,'specialChars':_0x483213,'addSpecialChars':null});return(_0x170255['replaceTabs']=!supportsTabSize())&&(_0x170255['specialChars']=new RegExp('\x09|'+_0x170255['specialChars']['source'],UnicodeRegexpSupport)),_0x170255['addSpecialChars']&&(_0x170255['specialChars']=new RegExp(_0x170255['specialChars']['source']+'|'+_0x170255['addSpecialChars']['source'],UnicodeRegexpSupport)),_0x170255;}});function highlightSpecialChars(_0x3b8cd1={}){return[_0x9ecb01['of'](_0x3b8cd1),_0x5a20f7()];}let _0x1015eb=null;function _0x5a20f7(){return _0x1015eb||(_0x1015eb=_0x3d5509['fromClass'](class{constructor(_0x3ffe63){this['view']=_0x3ffe63,this['decorations']=Decoration['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x3ffe63['state']['facet'](_0x9ecb01)),this['decorations']=this['decorator']['createDeco'](_0x3ffe63);}['makeDecorator'](_0x566b64){return new MatchDecorator({'regexp':_0x566b64['specialChars'],'decoration':(_0x1209c9,_0x4bf191,_0x169df9)=>{let {doc:_0x51c2d1}=_0x4bf191['state'],_0x4fc3c5=codePointAt(_0x1209c9[0x0],0x0);if(0x9==_0x4fc3c5){let _0x149636=_0x51c2d1['lineAt'](_0x169df9),_0x53624b=_0x4bf191['state']['tabSize'],_0x40880d=countColumn(_0x149636['text'],_0x53624b,_0x169df9-_0x149636['from']);return Decoration['replace']({'widget':new TabWidget((_0x53624b-_0x40880d%_0x53624b)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x4fc3c5]||(this['decorationCache'][_0x4fc3c5]=Decoration['replace']({'widget':new SpecialCharWidget(_0x566b64,_0x4fc3c5)}));},'boundary':_0x566b64['replaceTabs']?void 0x0:/[^]/});}['update'](_0x3d4b95){let _0x5a9668=_0x3d4b95['state']['facet'](_0x9ecb01);_0x3d4b95['startState']['facet'](_0x9ecb01)!=_0x5a9668?(this['decorator']=this['makeDecorator'](_0x5a9668),this['decorations']=this['decorator']['createDeco'](_0x3d4b95['view'])):this['decorations']=this['decorator']['updateDeco'](_0x3d4b95,this['decorations']);}},{'decorations':_0xd96760=>_0xd96760['decorations']}));}const DefaultPlaceholder='•';function _0x1e0a83(_0x1ded4e){return _0x1ded4e>=0x20?DefaultPlaceholder:0xa==_0x1ded4e?'␤':String['fromCharCode'](0x2400+_0x1ded4e);}class SpecialCharWidget extends WidgetType{constructor(_0x32016b,_0x445bb1){super(),this['options']=_0x32016b,this['code']=_0x445bb1;}['eq'](_0xbbd433){return _0xbbd433['code']==this['code'];}['toDOM'](_0x5e4656){let _0x1e08a3=_0x1e0a83(this['code']),_0x18d924=_0x5e4656['state']['phrase']('Control\x20character')+'\x20'+(_0x36ccb8[this['code']]||'0x'+this['code']['toString'](0x10)),_0x10addf=this['options']['render']&&this['options']['render'](this['code'],_0x18d924,_0x1e08a3);if(_0x10addf)return _0x10addf;let _0x1ddede=document['createElement']('span');return _0x1ddede['textContent']=_0x1e08a3,_0x1ddede['title']=_0x18d924,_0x1ddede['setAttribute']('aria-label',_0x18d924),_0x1ddede['className']='cm-specialChar',_0x1ddede;}['ignoreEvent'](){return!0x1;}}class TabWidget extends WidgetType{constructor(_0x5d4aa4){super(),this['width']=_0x5d4aa4;}['eq'](_0x587c12){return _0x587c12['width']==this['width'];}['toDOM'](){let _0xe6f1d9=document['createElement']('span');return _0xe6f1d9['textContent']='\x09',_0xe6f1d9['className']='cm-tab',_0xe6f1d9['style']['width']=this['width']+'px',_0xe6f1d9;}['ignoreEvent'](){return!0x1;}}function highlightActiveLine(){return activeLineHighlighter;}const _0x2c4c71=Decoration['line']({'class':'cm-activeLine'}),activeLineHighlighter=_0x3d5509['fromClass'](class{constructor(_0x32bb6f){this['decorations']=this['getDeco'](_0x32bb6f);}['update'](_0xe89f32){(_0xe89f32['docChanged']||_0xe89f32['selectionSet'])&&(this['decorations']=this['getDeco'](_0xe89f32['view']));}['getDeco'](_0x57f0a0){let _0x2d170e=-0x1,_0x4a7c29=[];for(let _0x3b48bf of _0x57f0a0['state']['selection']['ranges']){let _0x574510=_0x57f0a0['lineBlockAt'](_0x3b48bf['head']);_0x574510['from']>_0x2d170e&&(_0x4a7c29['push'](_0x2c4c71['range'](_0x574510['from'])),_0x2d170e=_0x574510['from']);}return Decoration['set'](_0x4a7c29);}},{'decorations':_0x156b2d=>_0x156b2d['decorations']}),_0x2c3754=0x7d0;function rectangleFor(_0x35af56,_0x3d670c,_0x44fcd1){let _0x33b7f7=Math['min'](_0x3d670c['line'],_0x44fcd1['line']),_0x3000ad=Math['max'](_0x3d670c['line'],_0x44fcd1['line']),_0x51fe3f=[];if(_0x3d670c['off']>_0x2c3754||_0x44fcd1['off']>_0x2c3754||_0x3d670c['col']<0x0||_0x44fcd1['col']<0x0){let _0x435609=Math['min'](_0x3d670c['off'],_0x44fcd1['off']),_0xa10749=Math['max'](_0x3d670c['off'],_0x44fcd1['off']);for(let _0x57b315=_0x33b7f7;_0x57b315<=_0x3000ad;_0x57b315++){let _0x55340c=_0x35af56['doc']['line'](_0x57b315);_0x55340c['length']<=_0xa10749&&_0x51fe3f['push'](EditorSelection['range'](_0x55340c['from']+_0x435609,_0x55340c['to']+_0xa10749));}}else{let _0x2dd1a9=Math['min'](_0x3d670c['col'],_0x44fcd1['col']),_0x4b63b4=Math['max'](_0x3d670c['col'],_0x44fcd1['col']);for(let _0x2f48ae=_0x33b7f7;_0x2f48ae<=_0x3000ad;_0x2f48ae++){let _0x28731e=_0x35af56['doc']['line'](_0x2f48ae),_0x4b4109=_0x4f0671(_0x28731e['text'],_0x2dd1a9,_0x35af56['tabSize'],!0x0);if(_0x4b4109<0x0)_0x51fe3f['push'](EditorSelection['cursor'](_0x28731e['to']));else{let _0x25f83d=_0x4f0671(_0x28731e['text'],_0x4b63b4,_0x35af56['tabSize']);_0x51fe3f['push'](EditorSelection['range'](_0x28731e['from']+_0x4b4109,_0x28731e['from']+_0x25f83d));}}}return _0x51fe3f;}function absoluteColumn(_0x2467b5,_0xdc7ba4){let _0xe45921=_0x2467b5['coordsAtPos'](_0x2467b5['viewport']['from']);return _0xe45921?Math['round'](Math['abs']((_0xe45921['left']-_0xdc7ba4)/_0x2467b5['defaultCharacterWidth'])):-0x1;}function getPos(_0x4ebda4,_0x10d757){let _0x1f0cae=_0x4ebda4['posAtCoords']({'x':_0x10d757['clientX'],'y':_0x10d757['clientY']},!0x1),_0x3d0294=_0x4ebda4['state']['doc']['lineAt'](_0x1f0cae),_0x1f9d82=_0x1f0cae-_0x3d0294['from'],_0x1217cc=_0x1f9d82>_0x2c3754?-0x1:_0x1f9d82==_0x3d0294['length']?absoluteColumn(_0x4ebda4,_0x10d757['clientX']):countColumn(_0x3d0294['text'],_0x4ebda4['state']['tabSize'],_0x1f0cae-_0x3d0294['from']);return{'line':_0x3d0294['number'],'col':_0x1217cc,'off':_0x1f9d82};}function rectangleSelectionStyle(_0x2f6796,_0x2ade7b){let _0x4fec44=getPos(_0x2f6796,_0x2ade7b),_0xd8c5ee=_0x2f6796['state']['selection'];return _0x4fec44?{'update'(_0x48cfd0){if(_0x48cfd0['docChanged']){let _0x51eb49=_0x48cfd0['changes']['mapPos'](_0x48cfd0['startState']['doc']['line'](_0x4fec44['line'])['from']),_0x5b37a4=_0x48cfd0['state']['doc']['lineAt'](_0x51eb49);_0x4fec44={'line':_0x5b37a4['number'],'col':_0x4fec44['col'],'off':Math['min'](_0x4fec44['off'],_0x5b37a4['length'])},_0xd8c5ee=_0xd8c5ee['map'](_0x48cfd0['changes']);}},'get'(_0x4ff684,_0x4a11e2,_0xd18b68){let _0x4e3a0d=getPos(_0x2f6796,_0x4ff684);if(!_0x4e3a0d)return _0xd8c5ee;let _0x5b25d2=rectangleFor(_0x2f6796['state'],_0x4fec44,_0x4e3a0d);return _0x5b25d2['length']?_0xd18b68?EditorSelection['create'](_0x5b25d2['concat'](_0xd8c5ee['ranges'])):EditorSelection['create'](_0x5b25d2):_0xd8c5ee;}}:null;}function rectangularSelection(_0x9e61ae){return EditorView['mouseSelectionStyle']['of']((_0x187584,_0x42ca34)=>{return(_0x3ee820=_0x42ca34)['altKey']&&0x0==_0x3ee820['button']?rectangleSelectionStyle(_0x187584,_0x42ca34):null;var _0x3ee820;});}const _0x42a753={'Alt':[0x12,_0x298afc=>!!_0x298afc['altKey']],'Control':[0x11,_0x12afa1=>!!_0x12afa1['ctrlKey']],'Shift':[0x10,_0x179da1=>!!_0x179da1['shiftKey']],'Meta':[0x5b,_0x43ef90=>!!_0x43ef90['metaKey']]},_0x2ab00e={'style':'cursor:\x20crosshair'};function _0x3dfbad(_0x409d5b={}){let [_0x512ac2,_0x2cc92d]=_0x42a753[_0x409d5b['key']||'Alt'],_0x67971d=_0x3d5509['fromClass'](class{constructor(_0x456edb){this['view']=_0x456edb,this['isDown']=!0x1;}['set'](_0x3b6536){this['isDown']!=_0x3b6536&&(this['isDown']=_0x3b6536,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0x1fb673){this['set'](_0x1fb673['keyCode']==_0x512ac2||_0x2cc92d(_0x1fb673));},'keyup'(_0x10d3b5){_0x10d3b5['keyCode']!=_0x512ac2&&_0x2cc92d(_0x10d3b5)||this['set'](!0x1);},'mousemove'(_0x4e08f6){this['set'](_0x2cc92d(_0x4e08f6));}}});return[_0x67971d,EditorView['contentAttributes']['of'](_0x512a15=>{var _0x637628;return(null===(_0x637628=_0x512a15['plugin'](_0x67971d))||void 0x0===_0x637628?void 0x0:_0x637628['isDown'])?_0x2ab00e:null;})];}const Outside='-10000px';class TooltipViewManager{constructor(_0x5f43d5,_0x1b4b39,_0x4f3b05,_0x501c2e){this['facet']=_0x1b4b39,this['createTooltipView']=_0x4f3b05,this['removeTooltipView']=_0x501c2e,this['input']=_0x5f43d5['state']['facet'](_0x1b4b39),this['tooltips']=this['input']['filter'](t=>t);let _0x1d9867=null;this['tooltipViews']=this['tooltips']['map'](t=>_0x1d9867=_0x4f3b05(t,_0x1d9867));}['update'](_0x538473,_0x5e6d45){var _0x538b78;let _0x3b7da2=_0x538473['state']['facet'](this['facet']),_0x147ea5=_0x3b7da2['filter'](_0x3c161a=>_0x3c161a);if(_0x3b7da2===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x538473);return!0x1;}let _0x1b3fb4=[],_0x2f3a38=_0x5e6d45?[]:null;for(let _0x3ed3e6=0x0;_0x3ed3e6<_0x147ea5['length'];_0x3ed3e6++){let _0x456ced=_0x147ea5[_0x3ed3e6],_0x4a9a55=-0x1;if(_0x456ced){for(let _0xbd3683=0x0;_0xbd3683<this['tooltips']['length'];_0xbd3683++){let _0x27239b=this['tooltips'][_0xbd3683];_0x27239b&&_0x27239b['create']==_0x456ced['create']&&(_0x4a9a55=_0xbd3683);}if(_0x4a9a55<0x0)_0x1b3fb4[_0x3ed3e6]=this['createTooltipView'](_0x456ced,_0x3ed3e6?_0x1b3fb4[_0x3ed3e6-0x1]:null),_0x2f3a38&&(_0x2f3a38[_0x3ed3e6]=!!_0x456ced['above']);else{let _0x3e7fe6=_0x1b3fb4[_0x3ed3e6]=this['tooltipViews'][_0x4a9a55];_0x2f3a38&&(_0x2f3a38[_0x3ed3e6]=_0x5e6d45[_0x4a9a55]),_0x3e7fe6['update']&&_0x3e7fe6['update'](_0x538473);}}}for(let t of this['tooltipViews'])_0x1b3fb4['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x538b78=t['destroy'])||void 0x0===_0x538b78||_0x538b78['call'](t));return _0x5e6d45&&(_0x2f3a38['forEach']((_0x5687db,_0x30edd4)=>_0x5e6d45[_0x30edd4]=_0x5687db),_0x5e6d45['length']=_0x2f3a38['length']),this['input']=_0x3b7da2,this['tooltips']=_0x147ea5,this['tooltipViews']=_0x1b3fb4,!0x0;}}function _0x1812be(_0x24fa73){let _0xa948d9=_0x24fa73['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0xa948d9['clientHeight'],'right':_0xa948d9['clientWidth']};}const tooltipConfig=Facet['define']({'combine':_0x4ac9ba=>{var _0x51598b,_0x2d8822,_0x438c14;return{'position':_0x394245['ios']?'absolute':(null===(_0x51598b=_0x4ac9ba['find'](_0x3f2cca=>_0x3f2cca['position']))||void 0x0===_0x51598b?void 0x0:_0x51598b['position'])||'fixed','parent':(null===(_0x2d8822=_0x4ac9ba['find'](_0x3ee580=>_0x3ee580['parent']))||void 0x0===_0x2d8822?void 0x0:_0x2d8822['parent'])||null,'tooltipSpace':(null===(_0x438c14=_0x4ac9ba['find'](_0x829e37=>_0x829e37['tooltipSpace']))||void 0x0===_0x438c14?void 0x0:_0x438c14['tooltipSpace'])||_0x1812be};}}),knownHeight=new WeakMap(),tooltipPlugin=_0x3d5509['fromClass'](class{constructor(_0xb9b570){this['view']=_0xb9b570,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0x16a85f=_0xb9b570['state']['facet'](tooltipConfig);this['position']=_0x16a85f['position'],this['parent']=_0x16a85f['parent'],this['classes']=_0xb9b570['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(_0xb9b570,showTooltip,(t,_0x5d7e89)=>this['createTooltip'](t,_0x5d7e89),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(_0x5a8de4=>{Date['now']()>this['lastTransaction']-0x32&&_0x5a8de4['length']>0x0&&_0x5a8de4[_0x5a8de4['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0xb9b570['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 _0xb9f202 of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0xb9f202['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0x2077c3){_0x2077c3['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x5f5697=this['manager']['update'](_0x2077c3,this['above']);_0x5f5697&&this['observeIntersection']();let _0xb33fa5=_0x5f5697||_0x2077c3['geometryChanged'],_0x5d8c0b=_0x2077c3['state']['facet'](tooltipConfig);if(_0x5d8c0b['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x5d8c0b['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0xb33fa5=!0x0;}if(_0x5d8c0b['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x5d8c0b['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0xb33fa5=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0xb33fa5&&this['maybeMeasure']();}['createTooltip'](_0x4715a0,_0x998ca6){let _0x691c3b=_0x4715a0['create'](this['view']),_0x547d3b=_0x998ca6?_0x998ca6['dom']:null;if(_0x691c3b['dom']['classList']['add']('cm-tooltip'),_0x4715a0['arrow']&&!_0x691c3b['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0x22faee=document['createElement']('div');_0x22faee['className']='cm-tooltip-arrow',_0x691c3b['dom']['appendChild'](_0x22faee);}return _0x691c3b['dom']['style']['position']=this['position'],_0x691c3b['dom']['style']['top']=Outside,_0x691c3b['dom']['style']['left']='0px',this['container']['insertBefore'](_0x691c3b['dom'],_0x547d3b),_0x691c3b['mount']&&_0x691c3b['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0x691c3b['dom']),_0x691c3b;}['destroy'](){var _0x46d87d,_0x443a8d,_0x37f9e6;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0x4fec8e of this['manager']['tooltipViews'])_0x4fec8e['dom']['remove'](),null===(_0x46d87d=_0x4fec8e['destroy'])||void 0x0===_0x46d87d||_0x46d87d['call'](_0x4fec8e);this['parent']&&this['container']['remove'](),null===(_0x443a8d=this['resizeObserver'])||void 0x0===_0x443a8d||_0x443a8d['disconnect'](),null===(_0x37f9e6=this['intersectionObserver'])||void 0x0===_0x37f9e6||_0x37f9e6['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0x240339=0x1,_0x5e2b48=0x1,_0x294f0f=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x5e68f3}=this['manager']['tooltipViews'][0x0];if(_0x394245['gecko'])_0x294f0f=_0x5e68f3['offsetParent']!=this['container']['ownerDocument']['body'];else{if(_0x5e68f3['style']['top']==Outside&&'0px'==_0x5e68f3['style']['left']){let _0x3d7e79=_0x5e68f3['getBoundingClientRect']();_0x294f0f=Math['abs'](_0x3d7e79['top']+0x2710)>0x1||Math['abs'](_0x3d7e79['left'])>0x1;}}}if(_0x294f0f||'absolute'==this['position']){if(this['parent']){let _0x39a41e=this['parent']['getBoundingClientRect']();_0x39a41e['width']&&_0x39a41e['height']&&(_0x240339=_0x39a41e['width']/this['parent']['offsetWidth'],_0x5e2b48=_0x39a41e['height']/this['parent']['offsetHeight']);}else({scaleX:_0x240339,scaleY:_0x5e2b48}=this['view']['viewState']);}let _0x49956d=this['view']['scrollDOM']['getBoundingClientRect'](),_0x4af704=getScrollMargins(this['view']);return{'visible':{'left':_0x49956d['left']+_0x4af704['left'],'top':_0x49956d['top']+_0x4af704['top'],'right':_0x49956d['right']-_0x4af704['right'],'bottom':_0x49956d['bottom']-_0x4af704['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x53c548)=>{let _0x42f88d=this['manager']['tooltipViews'][_0x53c548];return _0x42f88d['getCoords']?_0x42f88d['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0xeabbbd})=>_0xeabbbd['getBoundingClientRect']()),'space':this['view']['state']['facet'](tooltipConfig)['tooltipSpace'](this['view']),'scaleX':_0x240339,'scaleY':_0x5e2b48,'makeAbsolute':_0x294f0f};}['writeMeasure'](_0x2e0549){var _0x15a7c9;if(_0x2e0549['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0x6e9ebc,space:_0x44e16b,scaleX:_0x1931b2,scaleY:_0x520c3d}=_0x2e0549,_0x472b35=[];for(let _0x59e0c7=0x0;_0x59e0c7<this['manager']['tooltips']['length'];_0x59e0c7++){let _0x47cb5f=this['manager']['tooltips'][_0x59e0c7],_0x176d6c=this['manager']['tooltipViews'][_0x59e0c7],{dom:_0x1fc433}=_0x176d6c,_0x22615f=_0x2e0549['pos'][_0x59e0c7],_0x5f3541=_0x2e0549['size'][_0x59e0c7];if(!_0x22615f||!0x1!==_0x47cb5f['clip']&&(_0x22615f['bottom']<=Math['max'](_0x6e9ebc['top'],_0x44e16b['top'])||_0x22615f['top']>=Math['min'](_0x6e9ebc['bottom'],_0x44e16b['bottom'])||_0x22615f['right']<Math['max'](_0x6e9ebc['left'],_0x44e16b['left'])-0.1||_0x22615f['left']>Math['min'](_0x6e9ebc['right'],_0x44e16b['right'])+0.1)){_0x1fc433['style']['top']=Outside;continue;}let _0x557d44=_0x47cb5f['arrow']?_0x176d6c['dom']['querySelector']('.cm-tooltip-arrow'):null,_0x59c2e2=_0x557d44?0x7:0x0,_0xe520f3=_0x5f3541['right']-_0x5f3541['left'],_0x23db07=null!==(_0x15a7c9=knownHeight['get'](_0x176d6c))&&void 0x0!==_0x15a7c9?_0x15a7c9:_0x5f3541['bottom']-_0x5f3541['top'],_0x39a9ba=_0x176d6c['offset']||noOffset,_0x149622=this['view']['textDirection']==Direction['LTR'],_0x33a576=_0x5f3541['width']>_0x44e16b['right']-_0x44e16b['left']?_0x149622?_0x44e16b['left']:_0x44e16b['right']-_0x5f3541['width']:_0x149622?Math['max'](_0x44e16b['left'],Math['min'](_0x22615f['left']-(_0x557d44?0xe:0x0)+_0x39a9ba['x'],_0x44e16b['right']-_0xe520f3)):Math['min'](Math['max'](_0x44e16b['left'],_0x22615f['left']-_0xe520f3+(_0x557d44?0xe:0x0)-_0x39a9ba['x']),_0x44e16b['right']-_0xe520f3),_0x14f336=this['above'][_0x59e0c7];!_0x47cb5f['strictSide']&&(_0x14f336?_0x22615f['top']-_0x23db07-_0x59c2e2-_0x39a9ba['y']<_0x44e16b['top']:_0x22615f['bottom']+_0x23db07+_0x59c2e2+_0x39a9ba['y']>_0x44e16b['bottom'])&&_0x14f336==_0x44e16b['bottom']-_0x22615f['bottom']>_0x22615f['top']-_0x44e16b['top']&&(_0x14f336=this['above'][_0x59e0c7]=!_0x14f336);let _0x3622da=(_0x14f336?_0x22615f['top']-_0x44e16b['top']:_0x44e16b['bottom']-_0x22615f['bottom'])-_0x59c2e2;if(_0x3622da<_0x23db07&&!0x1!==_0x176d6c['resize']){if(_0x3622da<this['view']['defaultLineHeight']){_0x1fc433['style']['top']=Outside;continue;}knownHeight['set'](_0x176d6c,_0x23db07),_0x1fc433['style']['height']=(_0x23db07=_0x3622da)/_0x520c3d+'px';}else _0x1fc433['style']['height']&&(_0x1fc433['style']['height']='');let _0x26cbf4=_0x14f336?_0x22615f['top']-_0x23db07-_0x59c2e2-_0x39a9ba['y']:_0x22615f['bottom']+_0x59c2e2+_0x39a9ba['y'],_0x1a3fe3=_0x33a576+_0xe520f3;if(!0x0!==_0x176d6c['overlap']){for(let _0x572f78 of _0x472b35)_0x572f78['left']<_0x1a3fe3&&_0x572f78['right']>_0x33a576&&_0x572f78['top']<_0x26cbf4+_0x23db07&&_0x572f78['bottom']>_0x26cbf4&&(_0x26cbf4=_0x14f336?_0x572f78['top']-_0x23db07-0x2-_0x59c2e2:_0x572f78['bottom']+_0x59c2e2+0x2);}if('absolute'==this['position']?(_0x1fc433['style']['top']=(_0x26cbf4-_0x2e0549['parent']['top'])/_0x520c3d+'px',setLeftStyle(_0x1fc433,(_0x33a576-_0x2e0549['parent']['left'])/_0x1931b2)):(_0x1fc433['style']['top']=_0x26cbf4/_0x520c3d+'px',setLeftStyle(_0x1fc433,_0x33a576/_0x1931b2)),_0x557d44){let _0x126e79=_0x22615f['left']+(_0x149622?_0x39a9ba['x']:-_0x39a9ba['x'])-(_0x33a576+0xe-0x7);_0x557d44['style']['left']=_0x126e79/_0x1931b2+'px';}!0x0!==_0x176d6c['overlap']&&_0x472b35['push']({'left':_0x33a576,'top':_0x26cbf4,'right':_0x1a3fe3,'bottom':_0x26cbf4+_0x23db07}),_0x1fc433['classList']['toggle']('cm-tooltip-above',_0x14f336),_0x1fc433['classList']['toggle']('cm-tooltip-below',!_0x14f336),_0x176d6c['positioned']&&_0x176d6c['positioned'](_0x2e0549['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 _0x11b002 of this['manager']['tooltipViews'])_0x11b002['dom']['style']['top']=Outside;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function setLeftStyle(_0x4e55f9,_0x20698b){let _0x529dde=parseInt(_0x4e55f9['style']['left'],0xa);(isNaN(_0x529dde)||Math['abs'](_0x20698b-_0x529dde)>0x1)&&(_0x4e55f9['style']['left']=_0x20698b+'px');}const _0x170c1c=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,_0x170c1c]});function getTooltip(_0x158a25,_0xba7e6d){let _0x1a8564=_0x158a25['plugin'](tooltipPlugin);if(!_0x1a8564)return null;let _0x182f8b=_0x1a8564['manager']['tooltips']['indexOf'](_0xba7e6d);return _0x182f8b<0x0?null:_0x1a8564['manager']['tooltipViews'][_0x182f8b];}class GutterMarker extends _0x5aecfe{['compare'](_0x3f27bf){return this==_0x3f27bf||this['constructor']==_0x3f27bf['constructor']&&this['eq'](_0x3f27bf);}['eq'](_0x2e453c){return!0x1;}['destroy'](_0x3a81f6){}}GutterMarker['prototype']['elementClass']='',GutterMarker['prototype']['toDOM']=void 0x0,GutterMarker['prototype']['mapMode']=_0x20171d['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(_0x403cda){return[gutters(),activeGutters['of']({...defaults$1,..._0x403cda})];}const unfixGutters=Facet['define']({'combine':_0x1683b4=>_0x1683b4['some'](_0x4bc55f=>_0x4bc55f)});function gutters(_0xfbd8ef){return[gutterView];}const gutterView=_0x3d5509['fromClass'](class{constructor(_0xb5d3d5){this['view']=_0xb5d3d5,this['domAfter']=null,this['prevViewport']=_0xb5d3d5['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']=_0xb5d3d5['state']['facet'](activeGutters)['map'](_0x50627b=>new SingleGutterView(_0xb5d3d5,_0x50627b)),this['fixed']=!_0xb5d3d5['state']['facet'](unfixGutters);for(let _0x958f54 of this['gutters'])'after'==_0x958f54['config']['side']?this['getDOMAfter']()['appendChild'](_0x958f54['dom']):this['dom']['appendChild'](_0x958f54['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0xb5d3d5['scrollDOM']['insertBefore'](this['dom'],_0xb5d3d5['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'](_0x25cbe0){if(this['updateGutters'](_0x25cbe0)){let _0x4f4824=this['prevViewport'],_0xee0044=_0x25cbe0['view']['viewport'],_0x371bd3=Math['min'](_0x4f4824['to'],_0xee0044['to'])-Math['max'](_0x4f4824['from'],_0xee0044['from']);this['syncGutters'](_0x371bd3<0.8*(_0xee0044['to']-_0xee0044['from']));}if(_0x25cbe0['geometryChanged']){let _0x15d3a5=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0x15d3a5,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0x15d3a5);}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']=_0x25cbe0['view']['viewport'];}['syncGutters'](_0x4524e9){let _0x26f278=this['dom']['nextSibling'];_0x4524e9&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0x521aaa=RangeSet['iter'](this['view']['state']['facet'](gutterLineClass),this['view']['viewport']['from']),_0x3c9558=[],_0x5a11ff=this['gutters']['map'](_0x13bcbb=>new UpdateContext(_0x13bcbb,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x2e1629 of this['view']['viewportLineBlocks'])if(_0x3c9558['length']&&(_0x3c9558=[]),Array['isArray'](_0x2e1629['type'])){let _0x85543a=!0x0;for(let _0xa09236 of _0x2e1629['type'])if(_0xa09236['type']==_0x533a79['Text']&&_0x85543a){_0x48756e(_0x521aaa,_0x3c9558,_0xa09236['from']);for(let _0x14b842 of _0x5a11ff)_0x14b842['line'](this['view'],_0xa09236,_0x3c9558);_0x85543a=!0x1;}else{if(_0xa09236['widget']){for(let _0xca7d7d of _0x5a11ff)_0xca7d7d['widget'](this['view'],_0xa09236);}}}else{if(_0x2e1629['type']==_0x533a79['Text']){_0x48756e(_0x521aaa,_0x3c9558,_0x2e1629['from']);for(let _0x5c15dc of _0x5a11ff)_0x5c15dc['line'](this['view'],_0x2e1629,_0x3c9558);}else{if(_0x2e1629['widget']){for(let _0x462226 of _0x5a11ff)_0x462226['widget'](this['view'],_0x2e1629);}}}for(let _0x425ece of _0x5a11ff)_0x425ece['finish']();_0x4524e9&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0x26f278),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}['updateGutters'](_0x2edb88){let _0xb40295=_0x2edb88['startState']['facet'](activeGutters),_0x4a803b=_0x2edb88['state']['facet'](activeGutters),_0xb431ad=_0x2edb88['docChanged']||_0x2edb88['heightChanged']||_0x2edb88['viewportChanged']||!RangeSet['eq'](_0x2edb88['startState']['facet'](gutterLineClass),_0x2edb88['state']['facet'](gutterLineClass),_0x2edb88['view']['viewport']['from'],_0x2edb88['view']['viewport']['to']);if(_0xb40295==_0x4a803b){for(let _0x2540ee of this['gutters'])_0x2540ee['update'](_0x2edb88)&&(_0xb431ad=!0x0);}else{_0xb431ad=!0x0;let _0x85923f=[];for(let _0x51baf9 of _0x4a803b){let _0x34b42c=_0xb40295['indexOf'](_0x51baf9);_0x34b42c<0x0?_0x85923f['push'](new SingleGutterView(this['view'],_0x51baf9)):(this['gutters'][_0x34b42c]['update'](_0x2edb88),_0x85923f['push'](this['gutters'][_0x34b42c]));}for(let _0x16ebc6 of this['gutters'])_0x16ebc6['dom']['remove'](),_0x85923f['indexOf'](_0x16ebc6)<0x0&&_0x16ebc6['destroy']();for(let _0x2ef1ac of _0x85923f)'after'==_0x2ef1ac['config']['side']?this['getDOMAfter']()['appendChild'](_0x2ef1ac['dom']):this['dom']['appendChild'](_0x2ef1ac['dom']);this['gutters']=_0x85923f;}return _0xb431ad;}['destroy'](){for(let _0x159668 of this['gutters'])_0x159668['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0x1e3ec9=>EditorView['scrollMargins']['of'](_0x3e7701=>{let _0x40bd9c=_0x3e7701['plugin'](_0x1e3ec9);if(!_0x40bd9c||0x0==_0x40bd9c['gutters']['length']||!_0x40bd9c['fixed'])return null;let _0x3dd93e=_0x40bd9c['dom']['offsetWidth']*_0x3e7701['scaleX'],_0x7ba0a2=_0x40bd9c['domAfter']?_0x40bd9c['domAfter']['offsetWidth']*_0x3e7701['scaleX']:0x0;return _0x3e7701['textDirection']==Direction['LTR']?{'left':_0x3dd93e,'right':_0x7ba0a2}:{'right':_0x3dd93e,'left':_0x7ba0a2};})});function _0xa55596(_0xbede50){return Array['isArray'](_0xbede50)?_0xbede50:[_0xbede50];}function _0x48756e(_0x2849a4,_0x5aaa47,_0x135be7){for(;_0x2849a4['value']&&_0x2849a4['from']<=_0x135be7;)_0x2849a4['from']==_0x135be7&&_0x5aaa47['push'](_0x2849a4['value']),_0x2849a4['next']();}class UpdateContext{constructor(_0x512bc6,_0xe390cc,_0x2c6e43){this['gutter']=_0x512bc6,this['height']=_0x2c6e43,this['i']=0x0,this['cursor']=RangeSet['iter'](_0x512bc6['markers'],_0xe390cc['from']);}['addElement'](_0x4485ff,_0x46b82d,_0x5f0ab4){let {gutter:_0x1231a2}=this,_0x1d59a9=(_0x46b82d['top']-this['height'])/_0x4485ff['scaleY'],_0x2e9c02=_0x46b82d['height']/_0x4485ff['scaleY'];if(this['i']==_0x1231a2['elements']['length']){let _0x77e553=new GutterElement(_0x4485ff,_0x2e9c02,_0x1d59a9,_0x5f0ab4);_0x1231a2['elements']['push'](_0x77e553),_0x1231a2['dom']['appendChild'](_0x77e553['dom']);}else _0x1231a2['elements'][this['i']]['update'](_0x4485ff,_0x2e9c02,_0x1d59a9,_0x5f0ab4);this['height']=_0x46b82d['bottom'],this['i']++;}['line'](_0x2e02c2,_0x4cff7f,_0x2da0a7){let _0x12fc5c=[];_0x48756e(this['cursor'],_0x12fc5c,_0x4cff7f['from']),_0x2da0a7['length']&&(_0x12fc5c=_0x12fc5c['concat'](_0x2da0a7));let _0x4d948d=this['gutter']['config']['lineMarker'](_0x2e02c2,_0x4cff7f,_0x12fc5c);_0x4d948d&&_0x12fc5c['unshift'](_0x4d948d);let _0x567b71=this['gutter'];(0x0!=_0x12fc5c['length']||_0x567b71['config']['renderEmptyElements'])&&this['addElement'](_0x2e02c2,_0x4cff7f,_0x12fc5c);}['widget'](_0x56f53c,_0xae10ad){let _0xec4e0a=this['gutter']['config']['widgetMarker'](_0x56f53c,_0xae10ad['widget'],_0xae10ad),_0x2db0c8=_0xec4e0a?[_0xec4e0a]:null;for(let _0xc563c7 of _0x56f53c['state']['facet'](gutterWidgetClass)){let _0x3936ba=_0xc563c7(_0x56f53c,_0xae10ad['widget'],_0xae10ad);_0x3936ba&&(_0x2db0c8||(_0x2db0c8=[]))['push'](_0x3936ba);}_0x2db0c8&&this['addElement'](_0x56f53c,_0xae10ad,_0x2db0c8);}['finish'](){let _0x264ee7=this['gutter'];for(;_0x264ee7['elements']['length']>this['i'];){let _0x561fe=_0x264ee7['elements']['pop']();_0x264ee7['dom']['removeChild'](_0x561fe['dom']),_0x561fe['destroy']();}}}class SingleGutterView{constructor(_0x5c9702,_0xcf08fe){this['view']=_0x5c9702,this['config']=_0xcf08fe,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x288584 in _0xcf08fe['domEventHandlers'])this['dom']['addEventListener'](_0x288584,_0x4388b7=>{let _0xe167d6,_0x4d5e16=_0x4388b7['target'];if(_0x4d5e16!=this['dom']&&this['dom']['contains'](_0x4d5e16)){for(;_0x4d5e16['parentNode']!=this['dom'];)_0x4d5e16=_0x4d5e16['parentNode'];let _0x43a0c7=_0x4d5e16['getBoundingClientRect']();_0xe167d6=(_0x43a0c7['top']+_0x43a0c7['bottom'])/0x2;}else _0xe167d6=_0x4388b7['clientY'];let _0xe72d00=_0x5c9702['lineBlockAtHeight'](_0xe167d6-_0x5c9702['documentTop']);_0xcf08fe['domEventHandlers'][_0x288584](_0x5c9702,_0xe72d00,_0x4388b7)&&_0x4388b7['preventDefault']();});this['markers']=_0xa55596(_0xcf08fe['markers'](_0x5c9702)),_0xcf08fe['initialSpacer']&&(this['spacer']=new GutterElement(_0x5c9702,0x0,0x0,[_0xcf08fe['initialSpacer'](_0x5c9702)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0xcc2ee){let _0x144fed=this['markers'];if(this['markers']=_0xa55596(this['config']['markers'](_0xcc2ee['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x48ab2d=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0xcc2ee);_0x48ab2d!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0xcc2ee['view'],0x0,0x0,[_0x48ab2d]);}let _0x5decd5=_0xcc2ee['view']['viewport'];return!RangeSet['eq'](this['markers'],_0x144fed,_0x5decd5['from'],_0x5decd5['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0xcc2ee);}['destroy'](){for(let _0x2db52a of this['elements'])_0x2db52a['destroy']();}}class GutterElement{constructor(_0x1a496c,_0x4de96d,_0x379d65,_0x427370){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x1a496c,_0x4de96d,_0x379d65,_0x427370);}['update'](_0x5527bd,_0x57181a,_0x4f2ff9,_0x5758ce){this['height']!=_0x57181a&&(this['height']=_0x57181a,this['dom']['style']['height']=_0x57181a+'px'),this['above']!=_0x4f2ff9&&(this['dom']['style']['marginTop']=(this['above']=_0x4f2ff9)?_0x4f2ff9+'px':''),_0x3495d3(this['markers'],_0x5758ce)||this['setMarkers'](_0x5527bd,_0x5758ce);}['setMarkers'](_0x4dd8b1,_0x400754){let _0x53ff12='cm-gutterElement',_0x3f5247=this['dom']['firstChild'];for(let _0x4bee6a=0x0,_0x4df481=0x0;;){let _0x57f336=_0x4df481,_0x2ad4fb=_0x4bee6a<_0x400754['length']?_0x400754[_0x4bee6a++]:null,_0x204505=!0x1;if(_0x2ad4fb){let _0x53302c=_0x2ad4fb['elementClass'];_0x53302c&&(_0x53ff12+='\x20'+_0x53302c);for(let _0x2c59ab=_0x4df481;_0x2c59ab<this['markers']['length'];_0x2c59ab++)if(this['markers'][_0x2c59ab]['compare'](_0x2ad4fb)){_0x57f336=_0x2c59ab,_0x204505=!0x0;break;}}else _0x57f336=this['markers']['length'];for(;_0x4df481<_0x57f336;){let _0x4def00=this['markers'][_0x4df481++];if(_0x4def00['toDOM']){_0x4def00['destroy'](_0x3f5247);let _0x34014d=_0x3f5247['nextSibling'];_0x3f5247['remove'](),_0x3f5247=_0x34014d;}}if(!_0x2ad4fb)break;_0x2ad4fb['toDOM']&&(_0x204505?_0x3f5247=_0x3f5247['nextSibling']:this['dom']['insertBefore'](_0x2ad4fb['toDOM'](_0x4dd8b1),_0x3f5247)),_0x204505&&_0x4df481++;}this['dom']['className']=_0x53ff12,this['markers']=_0x400754;}['destroy'](){this['setMarkers'](null,[]);}}function _0x3495d3(_0x2132ef,_0x1f0bb8){if(_0x2132ef['length']!=_0x1f0bb8['length'])return!0x1;for(let _0x1c4dea=0x0;_0x1c4dea<_0x2132ef['length'];_0x1c4dea++)if(!_0x2132ef[_0x1c4dea]['compare'](_0x1f0bb8[_0x1c4dea]))return!0x1;return!0x0;}const _0x3ebdca=Facet['define'](),lineNumberWidgetMarker=Facet['define'](),_0x553b3c=Facet['define']({'combine':_0x24b0d1=>_0x280ccf(_0x24b0d1,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x307fc7,_0x38917d){let _0x3cff27=Object['assign']({},_0x307fc7);for(let _0x135aa8 in _0x38917d){let _0x114c31=_0x3cff27[_0x135aa8],_0xac3eba=_0x38917d[_0x135aa8];_0x3cff27[_0x135aa8]=_0x114c31?(_0x1012e1,_0x3095b4,_0x1239c8)=>_0x114c31(_0x1012e1,_0x3095b4,_0x1239c8)||_0xac3eba(_0x1012e1,_0x3095b4,_0x1239c8):_0xac3eba;}return _0x3cff27;}})});class _0x50974e extends GutterMarker{constructor(_0x1ae4f8){super(),this['number']=_0x1ae4f8;}['eq'](_0x3782df){return this['number']==_0x3782df['number'];}['toDOM'](){return document['createTextNode'](this['number']);}}function formatNumber(_0x22f247,_0x55eddc){return _0x22f247['state']['facet'](_0x553b3c)['formatNumber'](_0x55eddc,_0x22f247['state']);}const lineNumberGutter=activeGutters['compute']([_0x553b3c],_0xf127d1=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0x563c6b=>_0x563c6b['state']['facet'](_0x3ebdca),'lineMarker':(_0x3df304,_0x4a3ceb,_0x32753e)=>_0x32753e['some'](_0x5f494e=>_0x5f494e['toDOM'])?null:new _0x50974e(formatNumber(_0x3df304,_0x3df304['state']['doc']['lineAt'](_0x4a3ceb['from'])['number'])),'widgetMarker':(_0x56a720,_0x2ba26a,_0x1e61e8)=>{for(let _0x4b645e of _0x56a720['state']['facet'](lineNumberWidgetMarker)){let _0x1e84ca=_0x4b645e(_0x56a720,_0x2ba26a,_0x1e61e8);if(_0x1e84ca)return _0x1e84ca;}return null;},'lineMarkerChange':_0x1ae68e=>_0x1ae68e['startState']['facet'](_0x553b3c)!=_0x1ae68e['state']['facet'](_0x553b3c),'initialSpacer':_0x258696=>new _0x50974e(formatNumber(_0x258696,_0x17fb18(_0x258696['state']['doc']['lines']))),'updateSpacer'(_0x1d05b6,_0x490973){let _0x21c75a=formatNumber(_0x490973['view'],_0x17fb18(_0x490973['view']['state']['doc']['lines']));return _0x21c75a==_0x1d05b6['number']?_0x1d05b6:new _0x50974e(_0x21c75a);},'domEventHandlers':_0xf127d1['facet'](_0x553b3c)['domEventHandlers'],'side':'before'}));function _0xf3517(_0x3d3eb2={}){return[_0x553b3c['of'](_0x3d3eb2),gutters(),lineNumberGutter];}function _0x17fb18(_0x80605){let _0x49b32d=0x9;for(;_0x49b32d<_0x80605;)_0x49b32d=0xa*_0x49b32d+0x9;return _0x49b32d;}const activeLineGutterMarker=new class extends GutterMarker{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),activeLineGutterHighlighter=gutterLineClass['compute'](['selection'],_0x4e5d5f=>{let _0x3d70f4=[],_0x57220c=-0x1;for(let _0x246c1a of _0x4e5d5f['selection']['ranges']){let _0x3bb838=_0x4e5d5f['doc']['lineAt'](_0x246c1a['head'])['from'];_0x3bb838>_0x57220c&&(_0x57220c=_0x3bb838,_0x3d70f4['push'](activeLineGutterMarker['range'](_0x3bb838)));}return RangeSet['of'](_0x3d70f4);});function highlightActiveLineGutter(){return activeLineGutterHighlighter;}const DefaultBufferLength=0x400;let nextPropID=0x0;class _0x277344{constructor(_0x12ccf2,_0x10f5d6){this['from']=_0x12ccf2,this['to']=_0x10f5d6;}}class _0x5f3026{constructor(_0x358815={}){this['id']=nextPropID++,this['perNode']=!!_0x358815['perNode'],this['deserialize']=_0x358815['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');}),this['combine']=_0x358815['combine']||null;}['add'](_0x128d5b){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x128d5b&&(_0x128d5b=_0x5bfc6f['match'](_0x128d5b)),_0x4ffe00=>{let _0x33f7a4=_0x128d5b(_0x4ffe00);return void 0x0===_0x33f7a4?null:[this,_0x33f7a4];};}}_0x5f3026['closedBy']=new _0x5f3026({'deserialize':_0x1a781d=>_0x1a781d['split']('\x20')}),_0x5f3026['openedBy']=new _0x5f3026({'deserialize':_0x8d15b8=>_0x8d15b8['split']('\x20')}),_0x5f3026['group']=new _0x5f3026({'deserialize':_0x21ad74=>_0x21ad74['split']('\x20')}),_0x5f3026['isolate']=new _0x5f3026({'deserialize':_0x3a248a=>{if(_0x3a248a&&'rtl'!=_0x3a248a&&'ltr'!=_0x3a248a&&'auto'!=_0x3a248a)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x3a248a);return _0x3a248a||'auto';}}),_0x5f3026['contextHash']=new _0x5f3026({'perNode':!0x0}),_0x5f3026['lookAhead']=new _0x5f3026({'perNode':!0x0}),_0x5f3026['mounted']=new _0x5f3026({'perNode':!0x0});class MountedTree{constructor(_0x31e3d5,_0x24229b,_0x1dbcdf){this['tree']=_0x31e3d5,this['overlay']=_0x24229b,this['parser']=_0x1dbcdf;}static['get'](_0x43f31f){return _0x43f31f&&_0x43f31f['props']&&_0x43f31f['props'][_0x5f3026['mounted']['id']];}}const _0x206094=Object['create'](null);class _0x5bfc6f{constructor(_0x30ce77,_0x3e99ad,_0x422217,_0x491acd=0x0){this['name']=_0x30ce77,this['props']=_0x3e99ad,this['id']=_0x422217,this['flags']=_0x491acd;}static['define'](_0x1feae4){let _0x439623=_0x1feae4['props']&&_0x1feae4['props']['length']?Object['create'](null):_0x206094,_0x124690=(_0x1feae4['top']?0x1:0x0)|(_0x1feae4['skipped']?0x2:0x0)|(_0x1feae4['error']?0x4:0x0)|(null==_0x1feae4['name']?0x8:0x0),_0x12f9c4=new _0x5bfc6f(_0x1feae4['name']||'',_0x439623,_0x1feae4['id'],_0x124690);if(_0x1feae4['props']){for(let _0x5c4a24 of _0x1feae4['props'])if(Array['isArray'](_0x5c4a24)||(_0x5c4a24=_0x5c4a24(_0x12f9c4)),_0x5c4a24){if(_0x5c4a24[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x439623[_0x5c4a24[0x0]['id']]=_0x5c4a24[0x1];}}return _0x12f9c4;}['prop'](_0x507fd5){return this['props'][_0x507fd5['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'](_0x4367fe){if('string'==typeof _0x4367fe){if(this['name']==_0x4367fe)return!0x0;let _0x5e1d50=this['prop'](_0x5f3026['group']);return!!_0x5e1d50&&_0x5e1d50['indexOf'](_0x4367fe)>-0x1;}return this['id']==_0x4367fe;}static['match'](_0x9c53f6){let _0x45ca28=Object['create'](null);for(let _0x5f2e01 in _0x9c53f6)for(let _0x5e62a4 of _0x5f2e01['split']('\x20'))_0x45ca28[_0x5e62a4]=_0x9c53f6[_0x5f2e01];return _0x9458d5=>{for(let _0x5765c1=_0x9458d5['prop'](_0x5f3026['group']),_0x211d9d=-0x1;_0x211d9d<(_0x5765c1?_0x5765c1['length']:0x0);_0x211d9d++){let _0x198d40=_0x45ca28[_0x211d9d<0x0?_0x9458d5['name']:_0x5765c1[_0x211d9d]];if(_0x198d40)return _0x198d40;}};}}_0x5bfc6f['none']=new _0x5bfc6f('',Object['create'](null),0x0,0x8);class NodeSet{constructor(_0x199f75){this['types']=_0x199f75;for(let _0x21cd4b=0x0;_0x21cd4b<_0x199f75['length'];_0x21cd4b++)if(_0x199f75[_0x21cd4b]['id']!=_0x21cd4b)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0x5ef261){let _0x271270=[];for(let _0x1f8126 of this['types']){let _0x5aeed6=null;for(let _0xa07a7e of _0x5ef261){let _0x8aa1d4=_0xa07a7e(_0x1f8126);if(_0x8aa1d4){_0x5aeed6||(_0x5aeed6=Object['assign']({},_0x1f8126['props']));let _0x35d64d=_0x8aa1d4[0x1],_0x1b6a71=_0x8aa1d4[0x0];_0x1b6a71['combine']&&_0x1b6a71['id']in _0x5aeed6&&(_0x35d64d=_0x1b6a71['combine'](_0x5aeed6[_0x1b6a71['id']],_0x35d64d)),_0x5aeed6[_0x1b6a71['id']]=_0x35d64d;}}_0x271270['push'](_0x5aeed6?new _0x5bfc6f(_0x1f8126['name'],_0x5aeed6,_0x1f8126['id'],_0x1f8126['flags']):_0x1f8126);}return new NodeSet(_0x271270);}}const _0x41b260=new WeakMap(),_0x5e1dfa=new WeakMap();var IterMode;!function(_0x4bef37){_0x4bef37[_0x4bef37['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x4bef37[_0x4bef37['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x4bef37[_0x4bef37['IgnoreMounts']=0x4]='IgnoreMounts',_0x4bef37[_0x4bef37['IgnoreOverlays']=0x8]='IgnoreOverlays';}(IterMode||(IterMode={}));class _0x155fca{constructor(_0x1d8ef2,_0x194d11,_0x44a56e,_0x4cb19f,_0x2e26c7){if(this['type']=_0x1d8ef2,this['children']=_0x194d11,this['positions']=_0x44a56e,this['length']=_0x4cb19f,this['props']=null,_0x2e26c7&&_0x2e26c7['length']){this['props']=Object['create'](null);for(let [_0x5c34c3,_0x185cc2]of _0x2e26c7)this['props']['number'==typeof _0x5c34c3?_0x5c34c3:_0x5c34c3['id']]=_0x185cc2;}}['toString'](){let _0x40a807=MountedTree['get'](this);if(_0x40a807&&!_0x40a807['overlay'])return _0x40a807['tree']['toString']();let _0x409f02='';for(let _0x107421 of this['children']){let _0x4757ca=_0x107421['toString']();_0x4757ca&&(_0x409f02&&(_0x409f02+=','),_0x409f02+=_0x4757ca);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x409f02['length']?'('+_0x409f02+')':''):_0x409f02;}['cursor'](_0x4a7fee=0x0){return new _0x3f9a08(this['topNode'],_0x4a7fee);}['cursorAt'](_0x422fee,_0x13dbc8=0x0,_0x3c27ea=0x0){let _0x3ecac6=_0x41b260['get'](this)||this['topNode'],_0xc1e826=new _0x3f9a08(_0x3ecac6);return _0xc1e826['moveTo'](_0x422fee,_0x13dbc8),_0x41b260['set'](this,_0xc1e826['_tree']),_0xc1e826;}get['topNode'](){return new _0x332019(this,0x0,0x0,null);}['resolve'](_0x194616,_0x57e8dd=0x0){let _0x5ecd07=_0x2a86ca(_0x41b260['get'](this)||this['topNode'],_0x194616,_0x57e8dd,!0x1);return _0x41b260['set'](this,_0x5ecd07),_0x5ecd07;}['resolveInner'](_0x57fa73,_0x3ed651=0x0){let _0x3116ae=_0x2a86ca(_0x5e1dfa['get'](this)||this['topNode'],_0x57fa73,_0x3ed651,!0x0);return _0x5e1dfa['set'](this,_0x3116ae),_0x3116ae;}['resolveStack'](_0x9fd8de,_0x56cc6b=0x0){return stackIterator(this,_0x9fd8de,_0x56cc6b);}['iterate'](_0x39cbfe){let {enter:_0x3a1719,leave:_0x4bf0b4,from:_0x4bb591=0x0,to:_0x10ddc6=this['length']}=_0x39cbfe,_0x183ca1=_0x39cbfe['mode']||0x0,_0x20ea38=(_0x183ca1&IterMode['IncludeAnonymous'])>0x0;for(let _0x3d9d69=this['cursor'](_0x183ca1|IterMode['IncludeAnonymous']);;){let _0x54ff69=!0x1;if(_0x3d9d69['from']<=_0x10ddc6&&_0x3d9d69['to']>=_0x4bb591&&(!_0x20ea38&&_0x3d9d69['type']['isAnonymous']||!0x1!==_0x3a1719(_0x3d9d69))){if(_0x3d9d69['firstChild']())continue;_0x54ff69=!0x0;}for(;_0x54ff69&&_0x4bf0b4&&(_0x20ea38||!_0x3d9d69['type']['isAnonymous'])&&_0x4bf0b4(_0x3d9d69),!_0x3d9d69['nextSibling']();){if(!_0x3d9d69['parent']())return;_0x54ff69=!0x0;}}}['prop'](_0x46121c){return _0x46121c['perNode']?this['props']?this['props'][_0x46121c['id']]:void 0x0:this['type']['prop'](_0x46121c);}get['propValues'](){let _0x565433=[];if(this['props']){for(let _0x5b9631 in this['props'])_0x565433['push']([+_0x5b9631,this['props'][_0x5b9631]]);}return _0x565433;}['balance'](_0x1396ab={}){return this['children']['length']<=0x8?this:_0x530ea3(_0x5bfc6f['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0x2afa93,_0x498a47,_0x523f03)=>new _0x155fca(this['type'],_0x2afa93,_0x498a47,_0x523f03,this['propValues']),_0x1396ab['makeTree']||((_0x253413,_0x134889,_0x151efb)=>new _0x155fca(_0x5bfc6f['none'],_0x253413,_0x134889,_0x151efb)));}static['build'](_0x51f34b){return _0x41381f(_0x51f34b);}}_0x155fca['empty']=new _0x155fca(_0x5bfc6f['none'],[],[],0x0);class FlatBufferCursor{constructor(_0x2e17cc,_0x32cf4c){this['buffer']=_0x2e17cc,this['index']=_0x32cf4c;}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 _0xee4b7c{constructor(_0x41eb90,_0x145205,_0x3b9245){this['buffer']=_0x41eb90,this['length']=_0x145205,this['set']=_0x3b9245;}get['type'](){return _0x5bfc6f['none'];}['toString'](){let _0x2c0299=[];for(let _0x3408ba=0x0;_0x3408ba<this['buffer']['length'];)_0x2c0299['push'](this['childString'](_0x3408ba)),_0x3408ba=this['buffer'][_0x3408ba+0x3];return _0x2c0299['join'](',');}['childString'](_0xdf8b36){let _0x5ec25f=this['buffer'][_0xdf8b36],_0x6711fa=this['buffer'][_0xdf8b36+0x3],_0x1070ce=this['set']['types'][_0x5ec25f],_0x5a30f3=_0x1070ce['name'];if(/\W/['test'](_0x5a30f3)&&!_0x1070ce['isError']&&(_0x5a30f3=JSON['stringify'](_0x5a30f3)),_0x6711fa==(_0xdf8b36+=0x4))return _0x5a30f3;let _0x396943=[];for(;_0xdf8b36<_0x6711fa;)_0x396943['push'](this['childString'](_0xdf8b36)),_0xdf8b36=this['buffer'][_0xdf8b36+0x3];return _0x5a30f3+'('+_0x396943['join'](',')+')';}['findChild'](_0x53011a,_0x414015,_0x3de918,_0x304bfd,_0x38f0e2){let {buffer:_0x14da3d}=this,_0x2eb929=-0x1;for(let _0x195c74=_0x53011a;_0x195c74!=_0x414015&&!(_0x294f1f(_0x38f0e2,_0x304bfd,_0x14da3d[_0x195c74+0x1],_0x14da3d[_0x195c74+0x2])&&(_0x2eb929=_0x195c74,_0x3de918>0x0));_0x195c74=_0x14da3d[_0x195c74+0x3]);return _0x2eb929;}['slice'](_0x12ae4e,_0x545882,_0x9f9e6a){let _0x140f40=this['buffer'],_0x278f79=new Uint16Array(_0x545882-_0x12ae4e),_0x49af69=0x0;for(let _0x1d2f75=_0x12ae4e,_0x4894aa=0x0;_0x1d2f75<_0x545882;){_0x278f79[_0x4894aa++]=_0x140f40[_0x1d2f75++],_0x278f79[_0x4894aa++]=_0x140f40[_0x1d2f75++]-_0x9f9e6a;let _0x31447c=_0x278f79[_0x4894aa++]=_0x140f40[_0x1d2f75++]-_0x9f9e6a;_0x278f79[_0x4894aa++]=_0x140f40[_0x1d2f75++]-_0x12ae4e,_0x49af69=Math['max'](_0x49af69,_0x31447c);}return new _0xee4b7c(_0x278f79,_0x49af69,this['set']);}}function _0x294f1f(_0x48b648,_0x4d4165,_0x26e6ca,_0x11430d){switch(_0x48b648){case-0x2:return _0x26e6ca<_0x4d4165;case-0x1:return _0x11430d>=_0x4d4165&&_0x26e6ca<_0x4d4165;case 0x0:return _0x26e6ca<_0x4d4165&&_0x11430d>_0x4d4165;case 0x1:return _0x26e6ca<=_0x4d4165&&_0x11430d>_0x4d4165;case 0x2:return _0x11430d>_0x4d4165;case 0x4:return!0x0;}}function _0x2a86ca(_0xfcafb5,_0x38a103,_0x9f3ac9,_0x2bd91b){for(var _0x5a5c72;_0xfcafb5['from']==_0xfcafb5['to']||(_0x9f3ac9<0x1?_0xfcafb5['from']>=_0x38a103:_0xfcafb5['from']>_0x38a103)||(_0x9f3ac9>-0x1?_0xfcafb5['to']<=_0x38a103:_0xfcafb5['to']<_0x38a103);){let _0x236548=!_0x2bd91b&&_0xfcafb5 instanceof _0x332019&&_0xfcafb5['index']<0x0?null:_0xfcafb5['parent'];if(!_0x236548)return _0xfcafb5;_0xfcafb5=_0x236548;}let _0x2e715e=_0x2bd91b?0x0:IterMode['IgnoreOverlays'];if(_0x2bd91b){for(let _0x1a1ca2=_0xfcafb5,_0x54e83e=_0x1a1ca2['parent'];_0x54e83e;_0x1a1ca2=_0x54e83e,_0x54e83e=_0x1a1ca2['parent'])_0x1a1ca2 instanceof _0x332019&&_0x1a1ca2['index']<0x0&&(null===(_0x5a5c72=_0x54e83e['enter'](_0x38a103,_0x9f3ac9,_0x2e715e))||void 0x0===_0x5a5c72?void 0x0:_0x5a5c72['from'])!=_0x1a1ca2['from']&&(_0xfcafb5=_0x54e83e);}for(;;){let _0x55dcac=_0xfcafb5['enter'](_0x38a103,_0x9f3ac9,_0x2e715e);if(!_0x55dcac)return _0xfcafb5;_0xfcafb5=_0x55dcac;}}class _0x3010b4{['cursor'](_0x51a5bd=0x0){return new _0x3f9a08(this,_0x51a5bd);}['getChild'](_0x12b8f4,_0xbfd0b2=null,_0x436ac7=null){let _0x1debf5=getChildren(this,_0x12b8f4,_0xbfd0b2,_0x436ac7);return _0x1debf5['length']?_0x1debf5[0x0]:null;}['getChildren'](_0x511285,_0x1f20bf=null,_0x390c69=null){return getChildren(this,_0x511285,_0x1f20bf,_0x390c69);}['resolve'](_0x11b087,_0x4e91e4=0x0){return _0x2a86ca(this,_0x11b087,_0x4e91e4,!0x1);}['resolveInner'](_0x11cfca,_0xd60eb5=0x0){return _0x2a86ca(this,_0x11cfca,_0xd60eb5,!0x0);}['matchContext'](_0x3b9e44){return matchNodeContext(this['parent'],_0x3b9e44);}['enterUnfinishedNodesBefore'](_0x1be694){let _0x270485=this['childBefore'](_0x1be694),_0x11fcf0=this;for(;_0x270485;){let _0x35c6d3=_0x270485['lastChild'];if(!_0x35c6d3||_0x35c6d3['to']!=_0x270485['to'])break;_0x35c6d3['type']['isError']&&_0x35c6d3['from']==_0x35c6d3['to']?(_0x11fcf0=_0x270485,_0x270485=_0x35c6d3['prevSibling']):_0x270485=_0x35c6d3;}return _0x11fcf0;}get['node'](){return this;}get['next'](){return this['parent'];}}class _0x332019 extends _0x3010b4{constructor(_0x2aa5b3,_0x52a5b7,_0x4ec498,_0x5dc600){super(),this['_tree']=_0x2aa5b3,this['from']=_0x52a5b7,this['index']=_0x4ec498,this['_parent']=_0x5dc600;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0x220253,_0x248e02,_0x565e16,_0x3ca09d,_0x28a864=0x0){for(let _0x3e2802=this;;){for(let {children:_0x3359b3,positions:_0x43fbef}=_0x3e2802['_tree'],_0x2d0178=_0x248e02>0x0?_0x3359b3['length']:-0x1;_0x220253!=_0x2d0178;_0x220253+=_0x248e02){let _0x40da82=_0x3359b3[_0x220253],_0x2add7b=_0x43fbef[_0x220253]+_0x3e2802['from'];if(_0x294f1f(_0x3ca09d,_0x565e16,_0x2add7b,_0x2add7b+_0x40da82['length'])){if(_0x40da82 instanceof _0xee4b7c){if(_0x28a864&IterMode['ExcludeBuffers'])continue;let _0x234376=_0x40da82['findChild'](0x0,_0x40da82['buffer']['length'],_0x248e02,_0x565e16-_0x2add7b,_0x3ca09d);if(_0x234376>-0x1)return new _0x311101(new BufferContext(_0x3e2802,_0x40da82,_0x220253,_0x2add7b),null,_0x234376);}else{if(_0x28a864&IterMode['IncludeAnonymous']||!_0x40da82['type']['isAnonymous']||_0x4754d7(_0x40da82)){let _0x3ee193;if(!(_0x28a864&IterMode['IgnoreMounts'])&&(_0x3ee193=MountedTree['get'](_0x40da82))&&!_0x3ee193['overlay'])return new _0x332019(_0x3ee193['tree'],_0x2add7b,_0x220253,_0x3e2802);let _0x461131=new _0x332019(_0x40da82,_0x2add7b,_0x220253,_0x3e2802);return _0x28a864&IterMode['IncludeAnonymous']||!_0x461131['type']['isAnonymous']?_0x461131:_0x461131['nextChild'](_0x248e02<0x0?_0x40da82['children']['length']-0x1:0x0,_0x248e02,_0x565e16,_0x3ca09d);}}}}if(_0x28a864&IterMode['IncludeAnonymous']||!_0x3e2802['type']['isAnonymous'])return null;if(_0x220253=_0x3e2802['index']>=0x0?_0x3e2802['index']+_0x248e02:_0x248e02<0x0?-0x1:_0x3e2802['_parent']['_tree']['children']['length'],_0x3e2802=_0x3e2802['_parent'],!_0x3e2802)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'](_0x337c2c){return this['nextChild'](0x0,0x1,_0x337c2c,0x2);}['childBefore'](_0x28c390){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0x28c390,-0x2);}['enter'](_0x3d378d,_0x5e5fdf,_0x1a6918=0x0){let _0x3db07c;if(!(_0x1a6918&IterMode['IgnoreOverlays'])&&(_0x3db07c=MountedTree['get'](this['_tree']))&&_0x3db07c['overlay']){let _0xddd5e3=_0x3d378d-this['from'];for(let {from:_0x5ab9fe,to:_0x177f28}of _0x3db07c['overlay'])if((_0x5e5fdf>0x0?_0x5ab9fe<=_0xddd5e3:_0x5ab9fe<_0xddd5e3)&&(_0x5e5fdf<0x0?_0x177f28>=_0xddd5e3:_0x177f28>_0xddd5e3))return new _0x332019(_0x3db07c['tree'],_0x3db07c['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0x3d378d,_0x5e5fdf,_0x1a6918);}['nextSignificantParent'](){let _0x281c3f=this;for(;_0x281c3f['type']['isAnonymous']&&_0x281c3f['_parent'];)_0x281c3f=_0x281c3f['_parent'];return _0x281c3f;}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(_0x23752d,_0x2fd86c,_0x18f2f3,_0x371adf){let _0x41e66b=_0x23752d['cursor'](),_0x56438e=[];if(!_0x41e66b['firstChild']())return _0x56438e;if(null!=_0x18f2f3){for(let _0x4dd998=!0x1;!_0x4dd998;)if(_0x4dd998=_0x41e66b['type']['is'](_0x18f2f3),!_0x41e66b['nextSibling']())return _0x56438e;}for(;;){if(null!=_0x371adf&&_0x41e66b['type']['is'](_0x371adf))return _0x56438e;if(_0x41e66b['type']['is'](_0x2fd86c)&&_0x56438e['push'](_0x41e66b['node']),!_0x41e66b['nextSibling']())return null==_0x371adf?_0x56438e:[];}}function matchNodeContext(_0x382f36,_0x55fdf4,_0x83e280=_0x55fdf4['length']-0x1){for(let _0x5bab39=_0x382f36;_0x83e280>=0x0;_0x5bab39=_0x5bab39['parent']){if(!_0x5bab39)return!0x1;if(!_0x5bab39['type']['isAnonymous']){if(_0x55fdf4[_0x83e280]&&_0x55fdf4[_0x83e280]!=_0x5bab39['name'])return!0x1;_0x83e280--;}}return!0x0;}class BufferContext{constructor(_0x26b122,_0x297a3b,_0x365a39,_0x167c54){this['parent']=_0x26b122,this['buffer']=_0x297a3b,this['index']=_0x365a39,this['start']=_0x167c54;}}class _0x311101 extends _0x3010b4{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(_0x2b179c,_0x4082d9,_0x8601d6){super(),this['context']=_0x2b179c,this['_parent']=_0x4082d9,this['index']=_0x8601d6,this['type']=_0x2b179c['buffer']['set']['types'][_0x2b179c['buffer']['buffer'][_0x8601d6]];}['child'](_0x553155,_0x1c2445,_0xc73409){let {buffer:_0x8d4dab}=this['context'],_0x1ac28b=_0x8d4dab['findChild'](this['index']+0x4,_0x8d4dab['buffer'][this['index']+0x3],_0x553155,_0x1c2445-this['context']['start'],_0xc73409);return _0x1ac28b<0x0?null:new _0x311101(this['context'],this,_0x1ac28b);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0x5eadc4){return this['child'](0x1,_0x5eadc4,0x2);}['childBefore'](_0x236c88){return this['child'](-0x1,_0x236c88,-0x2);}['enter'](_0x5bed34,_0x48fe3d,_0x765e91=0x0){if(_0x765e91&IterMode['ExcludeBuffers'])return null;let {buffer:_0xd64540}=this['context'],_0x477e92=_0xd64540['findChild'](this['index']+0x4,_0xd64540['buffer'][this['index']+0x3],_0x48fe3d>0x0?0x1:-0x1,_0x5bed34-this['context']['start'],_0x48fe3d);return _0x477e92<0x0?null:new _0x311101(this['context'],this,_0x477e92);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0x34de0f){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x34de0f,_0x34de0f,0x0,0x4);}get['nextSibling'](){let {buffer:_0x46dec2}=this['context'],_0x33cb6e=_0x46dec2['buffer'][this['index']+0x3];return _0x33cb6e<(this['_parent']?_0x46dec2['buffer'][this['_parent']['index']+0x3]:_0x46dec2['buffer']['length'])?new _0x311101(this['context'],this['_parent'],_0x33cb6e):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x88cdad}=this['context'],_0x1884a9=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0x1884a9?this['externalSibling'](-0x1):new _0x311101(this['context'],this['_parent'],_0x88cdad['findChild'](_0x1884a9,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0x1d9b95=[],_0xf7fbdb=[],{buffer:_0x3b2efe}=this['context'],_0x509437=this['index']+0x4,_0x2ad9e1=_0x3b2efe['buffer'][this['index']+0x3];if(_0x2ad9e1>_0x509437){let _0x14791a=_0x3b2efe['buffer'][this['index']+0x1];_0x1d9b95['push'](_0x3b2efe['slice'](_0x509437,_0x2ad9e1,_0x14791a)),_0xf7fbdb['push'](0x0);}return new _0x155fca(this['type'],_0x1d9b95,_0xf7fbdb,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}}function iterStack(_0x476c17){if(!_0x476c17['length'])return null;let _0x66562f=0x0,_0x3ad431=_0x476c17[0x0];for(let _0x4a12b6=0x1;_0x4a12b6<_0x476c17['length'];_0x4a12b6++){let _0x1e7444=_0x476c17[_0x4a12b6];(_0x1e7444['from']>_0x3ad431['from']||_0x1e7444['to']<_0x3ad431['to'])&&(_0x3ad431=_0x1e7444,_0x66562f=_0x4a12b6);}let _0x30710d=_0x3ad431 instanceof _0x332019&&_0x3ad431['index']<0x0?null:_0x3ad431['parent'],_0x28d92f=_0x476c17['slice']();return _0x30710d?_0x28d92f[_0x66562f]=_0x30710d:_0x28d92f['splice'](_0x66562f,0x1),new StackIterator(_0x28d92f,_0x3ad431);}class StackIterator{constructor(_0x36ff91,_0x231d05){this['heads']=_0x36ff91,this['node']=_0x231d05;}get['next'](){return iterStack(this['heads']);}}function stackIterator(_0x3f5aff,_0x235a33,_0x41ca7c){let _0x56e038=_0x3f5aff['resolveInner'](_0x235a33,_0x41ca7c),_0x2899bb=null;for(let _0x1bc9b9=_0x56e038 instanceof _0x332019?_0x56e038:_0x56e038['context']['parent'];_0x1bc9b9;_0x1bc9b9=_0x1bc9b9['parent'])if(_0x1bc9b9['index']<0x0){let _0x4d6dc9=_0x1bc9b9['parent'];(_0x2899bb||(_0x2899bb=[_0x56e038]))['push'](_0x4d6dc9['resolve'](_0x235a33,_0x41ca7c)),_0x1bc9b9=_0x4d6dc9;}else{let _0x342a11=MountedTree['get'](_0x1bc9b9['tree']);if(_0x342a11&&_0x342a11['overlay']&&_0x342a11['overlay'][0x0]['from']<=_0x235a33&&_0x342a11['overlay'][_0x342a11['overlay']['length']-0x1]['to']>=_0x235a33){let _0x5ebd8f=new _0x332019(_0x342a11['tree'],_0x342a11['overlay'][0x0]['from']+_0x1bc9b9['from'],-0x1,_0x1bc9b9);(_0x2899bb||(_0x2899bb=[_0x56e038]))['push'](_0x2a86ca(_0x5ebd8f,_0x235a33,_0x41ca7c,!0x1));}}return _0x2899bb?iterStack(_0x2899bb):_0x56e038;}class _0x3f9a08{get['name'](){return this['type']['name'];}constructor(_0x5cd50d,_0x5b95bf=0x0){if(this['mode']=_0x5b95bf,this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,_0x5cd50d instanceof _0x332019)this['yieldNode'](_0x5cd50d);else{this['_tree']=_0x5cd50d['context']['parent'],this['buffer']=_0x5cd50d['context'];for(let _0x244790=_0x5cd50d['_parent'];_0x244790;_0x244790=_0x244790['_parent'])this['stack']['unshift'](_0x244790['index']);this['bufferNode']=_0x5cd50d,this['yieldBuf'](_0x5cd50d['index']);}}['yieldNode'](_0x1a177a){return!!_0x1a177a&&(this['_tree']=_0x1a177a,this['type']=_0x1a177a['type'],this['from']=_0x1a177a['from'],this['to']=_0x1a177a['to'],!0x0);}['yieldBuf'](_0x2cae51,_0x3843e7){this['index']=_0x2cae51;let {start:_0x5eeed2,buffer:_0x1d3444}=this['buffer'];return this['type']=_0x3843e7||_0x1d3444['set']['types'][_0x1d3444['buffer'][_0x2cae51]],this['from']=_0x5eeed2+_0x1d3444['buffer'][_0x2cae51+0x1],this['to']=_0x5eeed2+_0x1d3444['buffer'][_0x2cae51+0x2],!0x0;}['yield'](_0x304466){return!!_0x304466&&(_0x304466 instanceof _0x332019?(this['buffer']=null,this['yieldNode'](_0x304466)):(this['buffer']=_0x304466['context'],this['yieldBuf'](_0x304466['index'],_0x304466['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x287738,_0x3cb24b,_0x46c74b){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x287738<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x287738,_0x3cb24b,_0x46c74b,this['mode']));let {buffer:_0x1bc051}=this['buffer'],_0x28a3df=_0x1bc051['findChild'](this['index']+0x4,_0x1bc051['buffer'][this['index']+0x3],_0x287738,_0x3cb24b-this['buffer']['start'],_0x46c74b);return!(_0x28a3df<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x28a3df));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x13916f){return this['enterChild'](0x1,_0x13916f,0x2);}['childBefore'](_0x16b85e){return this['enterChild'](-0x1,_0x16b85e,-0x2);}['enter'](_0x136f03,_0x4a84ef,_0x46c719=this['mode']){return this['buffer']?!(_0x46c719&IterMode['ExcludeBuffers'])&&this['enterChild'](0x1,_0x136f03,_0x4a84ef):this['yield'](this['_tree']['enter'](_0x136f03,_0x4a84ef,_0x46c719));}['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 _0x18b7b0=this['mode']&IterMode['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0x18b7b0);}['sibling'](_0x51b3af){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0x51b3af,_0x51b3af,0x0,0x4,this['mode']));let {buffer:_0x269b4c}=this['buffer'],_0x2a6027=this['stack']['length']-0x1;if(_0x51b3af<0x0){let _0x1a22ce=_0x2a6027<0x0?0x0:this['stack'][_0x2a6027]+0x4;if(this['index']!=_0x1a22ce)return this['yieldBuf'](_0x269b4c['findChild'](_0x1a22ce,this['index'],-0x1,0x0,0x4));}else{let _0x188c19=_0x269b4c['buffer'][this['index']+0x3];if(_0x188c19<(_0x2a6027<0x0?_0x269b4c['buffer']['length']:_0x269b4c['buffer'][this['stack'][_0x2a6027]+0x3]))return this['yieldBuf'](_0x188c19);}return _0x2a6027<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0x51b3af,_0x51b3af,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0x4ba5eb){let _0x749424,_0x5b29dd,{buffer:_0xfaf551}=this;if(_0xfaf551){if(_0x4ba5eb>0x0){if(this['index']<_0xfaf551['buffer']['buffer']['length'])return!0x1;}else{for(let _0x35db70=0x0;_0x35db70<this['index'];_0x35db70++)if(_0xfaf551['buffer']['buffer'][_0x35db70+0x3]<this['index'])return!0x1;}({index:_0x749424,parent:_0x5b29dd}=_0xfaf551);}else({index:_0x749424,_parent:_0x5b29dd}=this['_tree']);for(;_0x5b29dd;{index:_0x749424,_parent:_0x5b29dd}=_0x5b29dd)if(_0x749424>-0x1)for(let _0x45c5f5=_0x749424+_0x4ba5eb,_0x533085=_0x4ba5eb<0x0?-0x1:_0x5b29dd['_tree']['children']['length'];_0x45c5f5!=_0x533085;_0x45c5f5+=_0x4ba5eb){let _0x5602dd=_0x5b29dd['_tree']['children'][_0x45c5f5];if(this['mode']&IterMode['IncludeAnonymous']||_0x5602dd instanceof _0xee4b7c||!_0x5602dd['type']['isAnonymous']||_0x4754d7(_0x5602dd))return!0x1;}return!0x0;}['move'](_0x5b63bf,_0xc026b9){if(_0xc026b9&&this['enterChild'](_0x5b63bf,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0x5b63bf))return!0x0;if(this['atLastNode'](_0x5b63bf)||!this['parent']())return!0x1;}}['next'](_0x1c7033=!0x0){return this['move'](0x1,_0x1c7033);}['prev'](_0x5db9e2=!0x0){return this['move'](-0x1,_0x5db9e2);}['moveTo'](_0xb9a50b,_0xefa5cc=0x0){for(;(this['from']==this['to']||(_0xefa5cc<0x1?this['from']>=_0xb9a50b:this['from']>_0xb9a50b)||(_0xefa5cc>-0x1?this['to']<=_0xb9a50b:this['to']<_0xb9a50b))&&this['parent'](););for(;this['enterChild'](0x1,_0xb9a50b,_0xefa5cc););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0x577981=this['bufferNode'],_0x1811be=null,_0x230023=0x0;if(_0x577981&&_0x577981['context']==this['buffer']){t:for(let _0x27c98b=this['index'],_0x4acbd0=this['stack']['length'];_0x4acbd0>=0x0;){for(let _0x27cd12=_0x577981;_0x27cd12;_0x27cd12=_0x27cd12['_parent'])if(_0x27cd12['index']==_0x27c98b){if(_0x27c98b==this['index'])return _0x27cd12;_0x1811be=_0x27cd12,_0x230023=_0x4acbd0+0x1;break t;}_0x27c98b=this['stack'][--_0x4acbd0];}}for(let _0x4ab79e=_0x230023;_0x4ab79e<this['stack']['length'];_0x4ab79e++)_0x1811be=new _0x311101(this['buffer'],_0x1811be,this['stack'][_0x4ab79e]);return this['bufferNode']=new _0x311101(this['buffer'],_0x1811be,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0x49ad97,_0x34da94){for(let _0x582a44=0x0;;){let _0x46c7c4=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x49ad97(this)){if(this['firstChild']()){_0x582a44++;continue;}this['type']['isAnonymous']||(_0x46c7c4=!0x0);}for(;;){if(_0x46c7c4&&_0x34da94&&_0x34da94(this),_0x46c7c4=this['type']['isAnonymous'],!_0x582a44)return;if(this['nextSibling']())break;this['parent'](),_0x582a44--,_0x46c7c4=!0x0;}}}['matchContext'](_0x544cf4){if(!this['buffer'])return matchNodeContext(this['node']['parent'],_0x544cf4);let {buffer:_0x4673da}=this['buffer'],{types:_0xba8c9e}=_0x4673da['set'];for(let _0x2dfb4c=_0x544cf4['length']-0x1,_0x1126b5=this['stack']['length']-0x1;_0x2dfb4c>=0x0;_0x1126b5--){if(_0x1126b5<0x0)return matchNodeContext(this['_tree'],_0x544cf4,_0x2dfb4c);let _0x8917bd=_0xba8c9e[_0x4673da['buffer'][this['stack'][_0x1126b5]]];if(!_0x8917bd['isAnonymous']){if(_0x544cf4[_0x2dfb4c]&&_0x544cf4[_0x2dfb4c]!=_0x8917bd['name'])return!0x1;_0x2dfb4c--;}}return!0x0;}}function _0x4754d7(_0x461d41){return _0x461d41['children']['some'](_0x5b5dba=>_0x5b5dba instanceof _0xee4b7c||!_0x5b5dba['type']['isAnonymous']||_0x4754d7(_0x5b5dba));}function _0x41381f(_0x247c5d){var _0x165e8d;let {buffer:_0x4ac5bc,nodeSet:_0x1d3bc5,maxBufferLength:_0x49b0ce=DefaultBufferLength,reused:_0x18085f=[],minRepeatType:_0x4add8f=_0x1d3bc5['types']['length']}=_0x247c5d,_0x2e4086=Array['isArray'](_0x4ac5bc)?new FlatBufferCursor(_0x4ac5bc,_0x4ac5bc['length']):_0x4ac5bc,_0x35825b=_0x1d3bc5['types'],_0x5a6f99=0x0,_0x3cd846=0x0;function _0x42717e(_0x3d5ba8,_0x4d1fe8,_0x2e5d87,_0x5680a1,_0x43bcdb,_0x29c563){let {id:_0xe5ff1e,start:_0x6c5b4d,end:_0x27bf5a,size:_0x3fb016}=_0x2e4086,_0x62688=_0x3cd846,_0x5e0db6=_0x5a6f99;if(_0x3fb016<0x0){if(_0x2e4086['next'](),-0x1==_0x3fb016){let _0x46590e=_0x18085f[_0xe5ff1e];return _0x2e5d87['push'](_0x46590e),void _0x5680a1['push'](_0x6c5b4d-_0x3d5ba8);}if(-0x3==_0x3fb016)return void(_0x5a6f99=_0xe5ff1e);if(-0x4==_0x3fb016)return void(_0x3cd846=_0xe5ff1e);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x3fb016);}let _0x418883,_0x4d5796,_0x43a4d9=_0x35825b[_0xe5ff1e],_0x52327f=_0x6c5b4d-_0x3d5ba8;if(_0x27bf5a-_0x6c5b4d<=_0x49b0ce&&(_0x4d5796=function(_0x5aca45,_0x69853e){let _0x472bc1=_0x2e4086['fork'](),_0x9e1bfe=0x0,_0x1d5443=0x0,_0x5a42b5=0x0,_0x5f027d=_0x472bc1['end']-_0x49b0ce,_0x199c0a={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0x3cfa7b=_0x472bc1['pos']-_0x5aca45;_0x472bc1['pos']>_0x3cfa7b;){let _0x10903a=_0x472bc1['size'];if(_0x472bc1['id']==_0x69853e&&_0x10903a>=0x0){_0x199c0a['size']=_0x9e1bfe,_0x199c0a['start']=_0x1d5443,_0x199c0a['skip']=_0x5a42b5,_0x5a42b5+=0x4,_0x9e1bfe+=0x4,_0x472bc1['next']();continue;}let _0x1a6481=_0x472bc1['pos']-_0x10903a;if(_0x10903a<0x0||_0x1a6481<_0x3cfa7b||_0x472bc1['start']<_0x5f027d)break;let _0x441fd5=_0x472bc1['id']>=_0x4add8f?0x4:0x0,_0x3cd515=_0x472bc1['start'];for(_0x472bc1['next']();_0x472bc1['pos']>_0x1a6481;){if(_0x472bc1['size']<0x0){if(-0x3!=_0x472bc1['size'])break t;_0x441fd5+=0x4;}else _0x472bc1['id']>=_0x4add8f&&(_0x441fd5+=0x4);_0x472bc1['next']();}_0x1d5443=_0x3cd515,_0x9e1bfe+=_0x10903a,_0x5a42b5+=_0x441fd5;}return(_0x69853e<0x0||_0x9e1bfe==_0x5aca45)&&(_0x199c0a['size']=_0x9e1bfe,_0x199c0a['start']=_0x1d5443,_0x199c0a['skip']=_0x5a42b5),_0x199c0a['size']>0x4?_0x199c0a:void 0x0;}(_0x2e4086['pos']-_0x4d1fe8,_0x43bcdb))){let _0x4c64f0=new Uint16Array(_0x4d5796['size']-_0x4d5796['skip']),_0x48d312=_0x2e4086['pos']-_0x4d5796['size'],_0x575a5c=_0x4c64f0['length'];for(;_0x2e4086['pos']>_0x48d312;)_0x575a5c=_0x15743f(_0x4d5796['start'],_0x4c64f0,_0x575a5c);_0x418883=new _0xee4b7c(_0x4c64f0,_0x27bf5a-_0x4d5796['start'],_0x1d3bc5),_0x52327f=_0x4d5796['start']-_0x3d5ba8;}else{let _0x3b30a7=_0x2e4086['pos']-_0x3fb016;_0x2e4086['next']();let _0x51c487=[],_0x4b4a1b=[],_0x6357af=_0xe5ff1e>=_0x4add8f?_0xe5ff1e:-0x1,_0x4a5e3e=0x0,_0x46f358=_0x27bf5a;for(;_0x2e4086['pos']>_0x3b30a7;)_0x6357af>=0x0&&_0x2e4086['id']==_0x6357af&&_0x2e4086['size']>=0x0?(_0x2e4086['end']<=_0x46f358-_0x49b0ce&&(_0x5bd5ee(_0x51c487,_0x4b4a1b,_0x6c5b4d,_0x4a5e3e,_0x2e4086['end'],_0x46f358,_0x6357af,_0x62688,_0x5e0db6),_0x4a5e3e=_0x51c487['length'],_0x46f358=_0x2e4086['end']),_0x2e4086['next']()):_0x29c563>0x9c4?_0x38c368(_0x6c5b4d,_0x3b30a7,_0x51c487,_0x4b4a1b):_0x42717e(_0x6c5b4d,_0x3b30a7,_0x51c487,_0x4b4a1b,_0x6357af,_0x29c563+0x1);if(_0x6357af>=0x0&&_0x4a5e3e>0x0&&_0x4a5e3e<_0x51c487['length']&&_0x5bd5ee(_0x51c487,_0x4b4a1b,_0x6c5b4d,_0x4a5e3e,_0x6c5b4d,_0x46f358,_0x6357af,_0x62688,_0x5e0db6),_0x51c487['reverse'](),_0x4b4a1b['reverse'](),_0x6357af>-0x1&&_0x4a5e3e>0x0){let _0x4deba8=function(_0x4aa39e,_0x36d989){return(_0x285b27,_0x299071,_0xf94aba)=>{let _0x336f20,_0x40e638,_0x33c484=0x0,_0x25a230=_0x285b27['length']-0x1;if(_0x25a230>=0x0&&(_0x336f20=_0x285b27[_0x25a230])instanceof _0x155fca){if(!_0x25a230&&_0x336f20['type']==_0x4aa39e&&_0x336f20['length']==_0xf94aba)return _0x336f20;(_0x40e638=_0x336f20['prop'](_0x5f3026['lookAhead']))&&(_0x33c484=_0x299071[_0x25a230]+_0x336f20['length']+_0x40e638);}return _0x46ac92(_0x4aa39e,_0x285b27,_0x299071,_0xf94aba,_0x33c484,_0x36d989);};}(_0x43a4d9,_0x5e0db6);_0x418883=_0x530ea3(_0x43a4d9,_0x51c487,_0x4b4a1b,0x0,_0x51c487['length'],0x0,_0x27bf5a-_0x6c5b4d,_0x4deba8,_0x4deba8);}else _0x418883=_0x46ac92(_0x43a4d9,_0x51c487,_0x4b4a1b,_0x27bf5a-_0x6c5b4d,_0x62688-_0x27bf5a,_0x5e0db6);}_0x2e5d87['push'](_0x418883),_0x5680a1['push'](_0x52327f);}function _0x38c368(_0x34dcfc,_0x574ad7,_0x174067,_0xdf6037){let _0x15cf8f=[],_0x3fc676=0x0,_0x21de1d=-0x1;for(;_0x2e4086['pos']>_0x574ad7;){let {id:_0x9e48e3,start:_0x51ba4c,end:_0x5133b4,size:_0x2cc864}=_0x2e4086;if(_0x2cc864>0x4)_0x2e4086['next']();else{if(_0x21de1d>-0x1&&_0x51ba4c<_0x21de1d)break;_0x21de1d<0x0&&(_0x21de1d=_0x5133b4-_0x49b0ce),_0x15cf8f['push'](_0x9e48e3,_0x51ba4c,_0x5133b4),_0x3fc676++,_0x2e4086['next']();}}if(_0x3fc676){let _0x3c7682=new Uint16Array(0x4*_0x3fc676),_0x364290=_0x15cf8f[_0x15cf8f['length']-0x2];for(let _0x40fd2f=_0x15cf8f['length']-0x3,_0x18ba54=0x0;_0x40fd2f>=0x0;_0x40fd2f-=0x3)_0x3c7682[_0x18ba54++]=_0x15cf8f[_0x40fd2f],_0x3c7682[_0x18ba54++]=_0x15cf8f[_0x40fd2f+0x1]-_0x364290,_0x3c7682[_0x18ba54++]=_0x15cf8f[_0x40fd2f+0x2]-_0x364290,_0x3c7682[_0x18ba54++]=_0x18ba54;_0x174067['push'](new _0xee4b7c(_0x3c7682,_0x15cf8f[0x2]-_0x364290,_0x1d3bc5)),_0xdf6037['push'](_0x364290-_0x34dcfc);}}function _0x5bd5ee(_0xb9f97d,_0x41f701,_0x512f3a,_0x20c158,_0x7a1690,_0xcceb40,_0x1dfb87,_0x36e88b,_0x54c024){let _0xa08f2=[],_0x40bf88=[];for(;_0xb9f97d['length']>_0x20c158;)_0xa08f2['push'](_0xb9f97d['pop']()),_0x40bf88['push'](_0x41f701['pop']()+_0x512f3a-_0x7a1690);_0xb9f97d['push'](_0x46ac92(_0x1d3bc5['types'][_0x1dfb87],_0xa08f2,_0x40bf88,_0xcceb40-_0x7a1690,_0x36e88b-_0xcceb40,_0x54c024)),_0x41f701['push'](_0x7a1690-_0x512f3a);}function _0x46ac92(_0x1f080e,_0x525425,_0x3cf88d,_0x312b23,_0x2a752e,_0xcfc8fd,_0x378044){if(_0xcfc8fd){let _0x3faba2=[_0x5f3026['contextHash'],_0xcfc8fd];_0x378044=_0x378044?[_0x3faba2]['concat'](_0x378044):[_0x3faba2];}if(_0x2a752e>0x19){let _0x71e7a6=[_0x5f3026['lookAhead'],_0x2a752e];_0x378044=_0x378044?[_0x71e7a6]['concat'](_0x378044):[_0x71e7a6];}return new _0x155fca(_0x1f080e,_0x525425,_0x3cf88d,_0x312b23,_0x378044);}function _0x15743f(_0x3b737a,_0x3ff122,_0x52a5c5){let {id:_0x2e1a8c,start:_0x351d8b,end:_0x28346e,size:_0x1b1510}=_0x2e4086;if(_0x2e4086['next'](),_0x1b1510>=0x0&&_0x2e1a8c<_0x4add8f){let _0x47a2d7=_0x52a5c5;if(_0x1b1510>0x4){let _0xfb71bf=_0x2e4086['pos']-(_0x1b1510-0x4);for(;_0x2e4086['pos']>_0xfb71bf;)_0x52a5c5=_0x15743f(_0x3b737a,_0x3ff122,_0x52a5c5);}_0x3ff122[--_0x52a5c5]=_0x47a2d7,_0x3ff122[--_0x52a5c5]=_0x28346e-_0x3b737a,_0x3ff122[--_0x52a5c5]=_0x351d8b-_0x3b737a,_0x3ff122[--_0x52a5c5]=_0x2e1a8c;}else-0x3==_0x1b1510?_0x5a6f99=_0x2e1a8c:-0x4==_0x1b1510&&(_0x3cd846=_0x2e1a8c);return _0x52a5c5;}let _0x3062fa=[],_0x300804=[];for(;_0x2e4086['pos']>0x0;)_0x42717e(_0x247c5d['start']||0x0,_0x247c5d['bufferStart']||0x0,_0x3062fa,_0x300804,-0x1,0x0);let _0x2f3937=null!==(_0x165e8d=_0x247c5d['length'])&&void 0x0!==_0x165e8d?_0x165e8d:_0x3062fa['length']?_0x300804[0x0]+_0x3062fa[0x0]['length']:0x0;return new _0x155fca(_0x35825b[_0x247c5d['topID']],_0x3062fa['reverse'](),_0x300804['reverse'](),_0x2f3937);}const _0x5ab7ef=new WeakMap();function _0x17cd22(_0x5b6842,_0x331fff){if(!_0x5b6842['isAnonymous']||_0x331fff instanceof _0xee4b7c||_0x331fff['type']!=_0x5b6842)return 0x1;let _0xb9a39e=_0x5ab7ef['get'](_0x331fff);if(null==_0xb9a39e){_0xb9a39e=0x1;for(let _0x33db47 of _0x331fff['children']){if(_0x33db47['type']!=_0x5b6842||!(_0x33db47 instanceof _0x155fca)){_0xb9a39e=0x1;break;}_0xb9a39e+=_0x17cd22(_0x5b6842,_0x33db47);}_0x5ab7ef['set'](_0x331fff,_0xb9a39e);}return _0xb9a39e;}function _0x530ea3(_0x56a157,_0x2bc790,_0x3b1ce1,_0x1260ad,_0x1bc9e9,_0x83eefa,_0x4c8e9b,_0x1d36d7,_0x499ed8){let _0x716f9a=0x0;for(let _0x41d5bc=_0x1260ad;_0x41d5bc<_0x1bc9e9;_0x41d5bc++)_0x716f9a+=_0x17cd22(_0x56a157,_0x2bc790[_0x41d5bc]);let _0x45e75a=Math['ceil'](1.5*_0x716f9a/0x8),_0x208495=[],_0x17f090=[];return function _0x34592e(_0x1353e5,_0x1db968,_0x4720f1,_0x400cfb,_0x406c51){for(let _0x399282=_0x4720f1;_0x399282<_0x400cfb;){let _0x4af59d=_0x399282,_0x4549aa=_0x1db968[_0x399282],_0x534a51=_0x17cd22(_0x56a157,_0x1353e5[_0x399282]);for(_0x399282++;_0x399282<_0x400cfb;_0x399282++){let _0x35b86f=_0x17cd22(_0x56a157,_0x1353e5[_0x399282]);if(_0x534a51+_0x35b86f>=_0x45e75a)break;_0x534a51+=_0x35b86f;}if(_0x399282==_0x4af59d+0x1){if(_0x534a51>_0x45e75a){let _0x3653bf=_0x1353e5[_0x4af59d];_0x34592e(_0x3653bf['children'],_0x3653bf['positions'],0x0,_0x3653bf['children']['length'],_0x1db968[_0x4af59d]+_0x406c51);continue;}_0x208495['push'](_0x1353e5[_0x4af59d]);}else{let _0x3533a5=_0x1db968[_0x399282-0x1]+_0x1353e5[_0x399282-0x1]['length']-_0x4549aa;_0x208495['push'](_0x530ea3(_0x56a157,_0x1353e5,_0x1db968,_0x4af59d,_0x399282,_0x4549aa,_0x3533a5,null,_0x499ed8));}_0x17f090['push'](_0x4549aa+_0x406c51-_0x83eefa);}}(_0x2bc790,_0x3b1ce1,_0x1260ad,_0x1bc9e9,0x0),(_0x1d36d7||_0x499ed8)(_0x208495,_0x17f090,_0x4c8e9b);}class _0x576911{constructor(){this['map']=new WeakMap();}['setBuffer'](_0x3e70e0,_0x4d4fff,_0x5edd29){let _0x1ad0f2=this['map']['get'](_0x3e70e0);_0x1ad0f2||this['map']['set'](_0x3e70e0,_0x1ad0f2=new Map()),_0x1ad0f2['set'](_0x4d4fff,_0x5edd29);}['getBuffer'](_0x2ee805,_0xd6602a){let _0x250640=this['map']['get'](_0x2ee805);return _0x250640&&_0x250640['get'](_0xd6602a);}['set'](_0x155f55,_0x1e8016){_0x155f55 instanceof _0x311101?this['setBuffer'](_0x155f55['context']['buffer'],_0x155f55['index'],_0x1e8016):_0x155f55 instanceof _0x332019&&this['map']['set'](_0x155f55['tree'],_0x1e8016);}['get'](_0x76f487){return _0x76f487 instanceof _0x311101?this['getBuffer'](_0x76f487['context']['buffer'],_0x76f487['index']):_0x76f487 instanceof _0x332019?this['map']['get'](_0x76f487['tree']):void 0x0;}['cursorSet'](_0x19724e,_0x5df2e0){_0x19724e['buffer']?this['setBuffer'](_0x19724e['buffer']['buffer'],_0x19724e['index'],_0x5df2e0):this['map']['set'](_0x19724e['tree'],_0x5df2e0);}['cursorGet'](_0x34df72){return _0x34df72['buffer']?this['getBuffer'](_0x34df72['buffer']['buffer'],_0x34df72['index']):this['map']['get'](_0x34df72['tree']);}}class TreeFragment{constructor(_0x3169cf,_0x35fa75,_0x645db,_0x2b063a,_0x510d77=!0x1,_0x1d30f7=!0x1){this['from']=_0x3169cf,this['to']=_0x35fa75,this['tree']=_0x645db,this['offset']=_0x2b063a,this['open']=(_0x510d77?0x1:0x0)|(_0x1d30f7?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x7e24d2,_0x3b2546=[],_0x26234b=!0x1){let _0x556fa0=[new TreeFragment(0x0,_0x7e24d2['length'],_0x7e24d2,0x0,!0x1,_0x26234b)];for(let _0xf05be of _0x3b2546)_0xf05be['to']>_0x7e24d2['length']&&_0x556fa0['push'](_0xf05be);return _0x556fa0;}static['applyChanges'](_0x133fa1,_0x2448ae,_0x478e64=0x80){if(!_0x2448ae['length'])return _0x133fa1;let _0x56380c=[],_0x4ac403=0x1,_0x434785=_0x133fa1['length']?_0x133fa1[0x0]:null;for(let _0x450d9b=0x0,_0x3615de=0x0,_0x40ead5=0x0;;_0x450d9b++){let _0x20e9c7=_0x450d9b<_0x2448ae['length']?_0x2448ae[_0x450d9b]:null,_0x454797=_0x20e9c7?_0x20e9c7['fromA']:0x3b9aca00;if(_0x454797-_0x3615de>=_0x478e64)for(;_0x434785&&_0x434785['from']<_0x454797;){let _0x3d570d=_0x434785;if(_0x3615de>=_0x3d570d['from']||_0x454797<=_0x3d570d['to']||_0x40ead5){let _0x47c8df=Math['max'](_0x3d570d['from'],_0x3615de)-_0x40ead5,_0x5a5221=Math['min'](_0x3d570d['to'],_0x454797)-_0x40ead5;_0x3d570d=_0x47c8df>=_0x5a5221?null:new TreeFragment(_0x47c8df,_0x5a5221,_0x3d570d['tree'],_0x3d570d['offset']+_0x40ead5,_0x450d9b>0x0,!!_0x20e9c7);}if(_0x3d570d&&_0x56380c['push'](_0x3d570d),_0x434785['to']>_0x454797)break;_0x434785=_0x4ac403<_0x133fa1['length']?_0x133fa1[_0x4ac403++]:null;}if(!_0x20e9c7)break;_0x3615de=_0x20e9c7['toA'],_0x40ead5=_0x20e9c7['toA']-_0x20e9c7['toB'];}return _0x56380c;}}class _0x4c4bed{['startParse'](_0x5f237b,_0x39f943,_0x40fe36){return'string'==typeof _0x5f237b&&(_0x5f237b=new StringInput(_0x5f237b)),_0x40fe36=_0x40fe36?_0x40fe36['length']?_0x40fe36['map'](_0x439a09=>new _0x277344(_0x439a09['from'],_0x439a09['to'])):[new _0x277344(0x0,0x0)]:[new _0x277344(0x0,_0x5f237b['length'])],this['createParse'](_0x5f237b,_0x39f943||[],_0x40fe36);}['parse'](_0x516d93,_0x27ab2e,_0x1546bd){let _0x54ed26=this['startParse'](_0x516d93,_0x27ab2e,_0x1546bd);for(;;){let _0x34da2b=_0x54ed26['advance']();if(_0x34da2b)return _0x34da2b;}}}class StringInput{constructor(_0x44b242){this['string']=_0x44b242;}get['length'](){return this['string']['length'];}['chunk'](_0x5e9850){return this['string']['slice'](_0x5e9850);}get['lineChunks'](){return!0x1;}['read'](_0xfc42d0,_0x5a0fcb){return this['string']['slice'](_0xfc42d0,_0x5a0fcb);}}function _0x29c3e3(_0x361701){return(_0x41eda9,_0x31ebd2,_0x4e61c1,_0x3a485f)=>new _0x679460(_0x41eda9,_0x361701,_0x31ebd2,_0x4e61c1,_0x3a485f);}class _0x14bd76{constructor(_0x836761,_0x2a3453,_0x2dc234,_0x306af5,_0x1965a7){this['parser']=_0x836761,this['parse']=_0x2a3453,this['overlay']=_0x2dc234,this['target']=_0x306af5,this['from']=_0x1965a7;}}function _0x564069(_0x2ba116){if(!_0x2ba116['length']||_0x2ba116['some'](_0x860781=>_0x860781['from']>=_0x860781['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x2ba116));}class ActiveOverlay{constructor(_0x5b40ae,_0x1f8624,_0x278363,_0x1759d7,_0x3127c7,_0x1a1b1b,_0x23d37b){this['parser']=_0x5b40ae,this['predicate']=_0x1f8624,this['mounts']=_0x278363,this['index']=_0x1759d7,this['start']=_0x3127c7,this['target']=_0x1a1b1b,this['prev']=_0x23d37b,this['depth']=0x0,this['ranges']=[];}}const stoppedInner=new _0x5f3026({'perNode':!0x0});class _0x679460{constructor(_0x5af07d,_0x22b4ed,_0x3ac6ec,_0x479ff1,_0x4d2fc1){this['nest']=_0x22b4ed,this['input']=_0x3ac6ec,this['fragments']=_0x479ff1,this['ranges']=_0x4d2fc1,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0x5af07d;}['advance'](){if(this['baseParse']){let _0x215e71=this['baseParse']['advance']();if(!_0x215e71)return null;if(this['baseParse']=null,this['baseTree']=_0x215e71,this['startInner'](),null!=this['stoppedAt']){for(let _0x4dc0a6 of this['inner'])_0x4dc0a6['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x54f7d9=this['baseTree'];return null!=this['stoppedAt']&&(_0x54f7d9=new _0x155fca(_0x54f7d9['type'],_0x54f7d9['children'],_0x54f7d9['positions'],_0x54f7d9['length'],_0x54f7d9['propValues']['concat']([[stoppedInner,this['stoppedAt']]]))),_0x54f7d9;}let _0x2c61ce=this['inner'][this['innerDone']],_0x1a1e8e=_0x2c61ce['parse']['advance']();if(_0x1a1e8e){this['innerDone']++;let _0x303d59=Object['assign'](Object['create'](null),_0x2c61ce['target']['props']);_0x303d59[_0x5f3026['mounted']['id']]=new MountedTree(_0x1a1e8e,_0x2c61ce['overlay'],_0x2c61ce['parser']),_0x2c61ce['target']['props']=_0x303d59;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x258e76=this['input']['length'];for(let _0x13d5b5=this['innerDone'];_0x13d5b5<this['inner']['length'];_0x13d5b5++)this['inner'][_0x13d5b5]['from']<_0x258e76&&(_0x258e76=Math['min'](_0x258e76,this['inner'][_0x13d5b5]['parse']['parsedPos']));return _0x258e76;}['stopAt'](_0x121849){if(this['stoppedAt']=_0x121849,this['baseParse'])this['baseParse']['stopAt'](_0x121849);else{for(let _0x2e5733=this['innerDone'];_0x2e5733<this['inner']['length'];_0x2e5733++)this['inner'][_0x2e5733]['parse']['stopAt'](_0x121849);}}['startInner'](){let _0x1ab965=new FragmentCursor$2(this['fragments']),_0x579e97=null,_0x35de43=null,_0xa4652=new _0x3f9a08(new _0x332019(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),IterMode['IncludeAnonymous']|IterMode['IgnoreMounts']);t:for(let _0x178f81,_0x165b9a;;){let _0x4fdd4f,_0x5e49ab=!0x0;if(null!=this['stoppedAt']&&_0xa4652['from']>=this['stoppedAt'])_0x5e49ab=!0x1;else{if(_0x1ab965['hasNode'](_0xa4652)){if(_0x579e97){let _0x17806b=_0x579e97['mounts']['find'](_0x167c37=>_0x167c37['frag']['from']<=_0xa4652['from']&&_0x167c37['frag']['to']>=_0xa4652['to']&&_0x167c37['mount']['overlay']);if(_0x17806b)for(let _0x1a697b of _0x17806b['mount']['overlay']){let _0x5a58e0=_0x1a697b['from']+_0x17806b['pos'],_0x28ba7a=_0x1a697b['to']+_0x17806b['pos'];_0x5a58e0>=_0xa4652['from']&&_0x28ba7a<=_0xa4652['to']&&!_0x579e97['ranges']['some'](_0x2bb7a2=>_0x2bb7a2['from']<_0x28ba7a&&_0x2bb7a2['to']>_0x5a58e0)&&_0x579e97['ranges']['push']({'from':_0x5a58e0,'to':_0x28ba7a});}}_0x5e49ab=!0x1;}else{if(_0x35de43&&(_0x165b9a=_0x5913ea(_0x35de43['ranges'],_0xa4652['from'],_0xa4652['to'])))_0x5e49ab=0x2!=_0x165b9a;else{if(!_0xa4652['type']['isAnonymous']&&(_0x178f81=this['nest'](_0xa4652,this['input']))&&(_0xa4652['from']<_0xa4652['to']||!_0x178f81['overlay'])){_0xa4652['tree']||(materialize(_0xa4652),_0x579e97&&_0x579e97['depth']++,_0x35de43&&_0x35de43['depth']++);let _0x4a1f07=_0x1ab965['findMounts'](_0xa4652['from'],_0x178f81['parser']);if('function'==typeof _0x178f81['overlay'])_0x579e97=new ActiveOverlay(_0x178f81['parser'],_0x178f81['overlay'],_0x4a1f07,this['inner']['length'],_0xa4652['from'],_0xa4652['tree'],_0x579e97);else{let _0x5b5423=_0x4fcaa0(this['ranges'],_0x178f81['overlay']||(_0xa4652['from']<_0xa4652['to']?[new _0x277344(_0xa4652['from'],_0xa4652['to'])]:[]));_0x5b5423['length']&&_0x564069(_0x5b5423),!_0x5b5423['length']&&_0x178f81['overlay']||this['inner']['push'](new _0x14bd76(_0x178f81['parser'],_0x5b5423['length']?_0x178f81['parser']['startParse'](this['input'],enterFragments(_0x4a1f07,_0x5b5423),_0x5b5423):_0x178f81['parser']['startParse'](''),_0x178f81['overlay']?_0x178f81['overlay']['map'](_0x52b879=>new _0x277344(_0x52b879['from']-_0xa4652['from'],_0x52b879['to']-_0xa4652['from'])):null,_0xa4652['tree'],_0x5b5423['length']?_0x5b5423[0x0]['from']:_0xa4652['from'])),_0x178f81['overlay']?_0x5b5423['length']&&(_0x35de43={'ranges':_0x5b5423,'depth':0x0,'prev':_0x35de43}):_0x5e49ab=!0x1;}}else{if(_0x579e97&&(_0x4fdd4f=_0x579e97['predicate'](_0xa4652))&&(!0x0===_0x4fdd4f&&(_0x4fdd4f=new _0x277344(_0xa4652['from'],_0xa4652['to'])),_0x4fdd4f['from']<_0x4fdd4f['to'])){let _0x3444c0=_0x579e97['ranges']['length']-0x1;_0x3444c0>=0x0&&_0x579e97['ranges'][_0x3444c0]['to']==_0x4fdd4f['from']?_0x579e97['ranges'][_0x3444c0]={'from':_0x579e97['ranges'][_0x3444c0]['from'],'to':_0x4fdd4f['to']}:_0x579e97['ranges']['push'](_0x4fdd4f);}}}}}if(_0x5e49ab&&_0xa4652['firstChild']())_0x579e97&&_0x579e97['depth']++,_0x35de43&&_0x35de43['depth']++;else for(;!_0xa4652['nextSibling']();){if(!_0xa4652['parent']())break t;if(_0x579e97&&!--_0x579e97['depth']){let _0x37c401=_0x4fcaa0(this['ranges'],_0x579e97['ranges']);_0x37c401['length']&&(_0x564069(_0x37c401),this['inner']['splice'](_0x579e97['index'],0x0,new _0x14bd76(_0x579e97['parser'],_0x579e97['parser']['startParse'](this['input'],enterFragments(_0x579e97['mounts'],_0x37c401),_0x37c401),_0x579e97['ranges']['map'](_0x5e3da9=>new _0x277344(_0x5e3da9['from']-_0x579e97['start'],_0x5e3da9['to']-_0x579e97['start'])),_0x579e97['target'],_0x37c401[0x0]['from']))),_0x579e97=_0x579e97['prev'];}_0x35de43&&!--_0x35de43['depth']&&(_0x35de43=_0x35de43['prev']);}}}}function _0x5913ea(_0x4c165a,_0x4ca246,_0x542ce6){for(let _0x38d5f5 of _0x4c165a){if(_0x38d5f5['from']>=_0x542ce6)break;if(_0x38d5f5['to']>_0x4ca246)return _0x38d5f5['from']<=_0x4ca246&&_0x38d5f5['to']>=_0x542ce6?0x2:0x1;}return 0x0;}function _0x3d6496(_0x30b043,_0x360005,_0x1bc29a,_0x372522,_0x56546a,_0x32ac09){if(_0x360005<_0x1bc29a){let _0x18d8ad=_0x30b043['buffer'][_0x360005+0x1];_0x372522['push'](_0x30b043['slice'](_0x360005,_0x1bc29a,_0x18d8ad)),_0x56546a['push'](_0x18d8ad-_0x32ac09);}}function materialize(_0x980783){let {node:_0x328fb2}=_0x980783,_0x528f98=[],_0x2cdc8a=_0x328fb2['context']['buffer'];do{_0x528f98['push'](_0x980783['index']),_0x980783['parent']();}while(!_0x980783['tree']);let _0x1fb6b2=_0x980783['tree'],_0x3d5ab4=_0x1fb6b2['children']['indexOf'](_0x2cdc8a),_0x2cd8bd=_0x1fb6b2['children'][_0x3d5ab4],_0xcd9da7=_0x2cd8bd['buffer'],_0x5ddb4a=[_0x3d5ab4];_0x1fb6b2['children'][_0x3d5ab4]=function _0x285b37(_0xf85eaf,_0x404cfa,_0xd2efbd,_0x473c48,_0x31076a,_0x38f56a){let _0x2f17bd=_0x528f98[_0x38f56a],_0x1c3160=[],_0x20acc0=[];_0x3d6496(_0x2cd8bd,_0xf85eaf,_0x2f17bd,_0x1c3160,_0x20acc0,_0x473c48);let _0x1271a1=_0xcd9da7[_0x2f17bd+0x1],_0x36deac=_0xcd9da7[_0x2f17bd+0x2];_0x5ddb4a['push'](_0x1c3160['length']);let _0x8ddbb7=_0x38f56a?_0x285b37(_0x2f17bd+0x4,_0xcd9da7[_0x2f17bd+0x3],_0x2cd8bd['set']['types'][_0xcd9da7[_0x2f17bd]],_0x1271a1,_0x36deac-_0x1271a1,_0x38f56a-0x1):_0x328fb2['toTree']();return _0x1c3160['push'](_0x8ddbb7),_0x20acc0['push'](_0x1271a1-_0x473c48),_0x3d6496(_0x2cd8bd,_0xcd9da7[_0x2f17bd+0x3],_0x404cfa,_0x1c3160,_0x20acc0,_0x473c48),new _0x155fca(_0xd2efbd,_0x1c3160,_0x20acc0,_0x31076a);}(0x0,_0xcd9da7['length'],_0x5bfc6f['none'],0x0,_0x2cd8bd['length'],_0x528f98['length']-0x1);for(let _0x985b37 of _0x5ddb4a){let _0xa5a56c=_0x980783['tree']['children'][_0x985b37],_0x4f72c6=_0x980783['tree']['positions'][_0x985b37];_0x980783['yield'](new _0x332019(_0xa5a56c,_0x4f72c6+_0x980783['from'],_0x985b37,_0x980783['_tree']));}}class StructureCursor{constructor(_0x59f6e8,_0x5144ac){this['offset']=_0x5144ac,this['done']=!0x1,this['cursor']=_0x59f6e8['cursor'](IterMode['IncludeAnonymous']|IterMode['IgnoreMounts']);}['moveTo'](_0x33e326){let {cursor:_0x5ef423}=this,_0x2ba596=_0x33e326-this['offset'];for(;!this['done']&&_0x5ef423['from']<_0x2ba596;)_0x5ef423['to']>=_0x33e326&&_0x5ef423['enter'](_0x2ba596,0x1,IterMode['IgnoreOverlays']|IterMode['ExcludeBuffers'])||_0x5ef423['next'](!0x1)||(this['done']=!0x0);}['hasNode'](_0x4b27c8){if(this['moveTo'](_0x4b27c8['from']),!this['done']&&this['cursor']['from']+this['offset']==_0x4b27c8['from']&&this['cursor']['tree'])for(let _0x3e5ed4=this['cursor']['tree'];;){if(_0x3e5ed4==_0x4b27c8['tree'])return!0x0;if(!(_0x3e5ed4['children']['length']&&0x0==_0x3e5ed4['positions'][0x0]&&_0x3e5ed4['children'][0x0]instanceof _0x155fca))break;_0x3e5ed4=_0x3e5ed4['children'][0x0];}return!0x1;}}let FragmentCursor$2=class{constructor(_0x45edad){var _0x402f6a;if(this['fragments']=_0x45edad,this['curTo']=0x0,this['fragI']=0x0,_0x45edad['length']){let _0xdeeb11=this['curFrag']=_0x45edad[0x0];this['curTo']=null!==(_0x402f6a=_0xdeeb11['tree']['prop'](stoppedInner))&&void 0x0!==_0x402f6a?_0x402f6a:_0xdeeb11['to'],this['inner']=new StructureCursor(_0xdeeb11['tree'],-_0xdeeb11['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x3267b2){for(;this['curFrag']&&_0x3267b2['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x3267b2['from']&&this['curTo']>=_0x3267b2['to']&&this['inner']['hasNode'](_0x3267b2);}['nextFrag'](){var _0x564c70;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0x5fe25f=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x564c70=_0x5fe25f['tree']['prop'](stoppedInner))&&void 0x0!==_0x564c70?_0x564c70:_0x5fe25f['to'],this['inner']=new StructureCursor(_0x5fe25f['tree'],-_0x5fe25f['offset']);}}['findMounts'](_0xd83521,_0x3d36e4){var _0x26421f;let _0xcf44d5=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0xd83521,0x1);for(let _0x3affdb=this['inner']['cursor']['node'];_0x3affdb;_0x3affdb=_0x3affdb['parent']){let _0x21f89c=null===(_0x26421f=_0x3affdb['tree'])||void 0x0===_0x26421f?void 0x0:_0x26421f['prop'](_0x5f3026['mounted']);if(_0x21f89c&&_0x21f89c['parser']==_0x3d36e4)for(let _0x217ccf=this['fragI'];_0x217ccf<this['fragments']['length'];_0x217ccf++){let _0x52fb77=this['fragments'][_0x217ccf];if(_0x52fb77['from']>=_0x3affdb['to'])break;_0x52fb77['tree']==this['curFrag']['tree']&&_0xcf44d5['push']({'frag':_0x52fb77,'pos':_0x3affdb['from']-_0x52fb77['offset'],'mount':_0x21f89c});}}}return _0xcf44d5;}};function _0x4fcaa0(_0x5759e1,_0x4d53c9){let _0x127aeb=null,_0x560b5b=_0x4d53c9;for(let _0x39e8a3=0x1,_0x22f11f=0x0;_0x39e8a3<_0x5759e1['length'];_0x39e8a3++){let _0x491e84=_0x5759e1[_0x39e8a3-0x1]['to'],_0x3f32e1=_0x5759e1[_0x39e8a3]['from'];for(;_0x22f11f<_0x560b5b['length'];_0x22f11f++){let _0x3ac11c=_0x560b5b[_0x22f11f];if(_0x3ac11c['from']>=_0x3f32e1)break;_0x3ac11c['to']<=_0x491e84||(_0x127aeb||(_0x560b5b=_0x127aeb=_0x4d53c9['slice']()),_0x3ac11c['from']<_0x491e84?(_0x127aeb[_0x22f11f]=new _0x277344(_0x3ac11c['from'],_0x491e84),_0x3ac11c['to']>_0x3f32e1&&_0x127aeb['splice'](_0x22f11f+0x1,0x0,new _0x277344(_0x3f32e1,_0x3ac11c['to']))):_0x3ac11c['to']>_0x3f32e1?_0x127aeb[_0x22f11f--]=new _0x277344(_0x3f32e1,_0x3ac11c['to']):_0x127aeb['splice'](_0x22f11f--,0x1));}}return _0x560b5b;}function _0x47a7d5(_0x597405,_0x2fcfdc,_0x4b687d,_0x31335e){let _0xb4b1e0=0x0,_0x546c43=0x0,_0xfd5c40=!0x1,_0x6ca4d2=!0x1,_0x1777a9=-0x3b9aca00,_0x5553d2=[];for(;;){let _0x52de31=_0xb4b1e0==_0x597405['length']?0x3b9aca00:_0xfd5c40?_0x597405[_0xb4b1e0]['to']:_0x597405[_0xb4b1e0]['from'],_0x2e4dce=_0x546c43==_0x2fcfdc['length']?0x3b9aca00:_0x6ca4d2?_0x2fcfdc[_0x546c43]['to']:_0x2fcfdc[_0x546c43]['from'];if(_0xfd5c40!=_0x6ca4d2){let _0x2a050a=Math['max'](_0x1777a9,_0x4b687d),_0x3825ad=Math['min'](_0x52de31,_0x2e4dce,_0x31335e);_0x2a050a<_0x3825ad&&_0x5553d2['push'](new _0x277344(_0x2a050a,_0x3825ad));}if(_0x1777a9=Math['min'](_0x52de31,_0x2e4dce),0x3b9aca00==_0x1777a9)break;_0x52de31==_0x1777a9&&(_0xfd5c40?(_0xfd5c40=!0x1,_0xb4b1e0++):_0xfd5c40=!0x0),_0x2e4dce==_0x1777a9&&(_0x6ca4d2?(_0x6ca4d2=!0x1,_0x546c43++):_0x6ca4d2=!0x0);}return _0x5553d2;}function enterFragments(_0x65116a,_0x69f871){let _0x31dbd4=[];for(let {pos:_0xf90a7e,mount:_0x413094,frag:_0x5b8fd0}of _0x65116a){let _0x427084=_0xf90a7e+(_0x413094['overlay']?_0x413094['overlay'][0x0]['from']:0x0),_0x5aebd3=_0x427084+_0x413094['tree']['length'],_0x15f865=Math['max'](_0x5b8fd0['from'],_0x427084),_0x718dc3=Math['min'](_0x5b8fd0['to'],_0x5aebd3);if(_0x413094['overlay']){let _0x1be764=_0x47a7d5(_0x69f871,_0x413094['overlay']['map'](_0x212e43=>new _0x277344(_0x212e43['from']+_0xf90a7e,_0x212e43['to']+_0xf90a7e)),_0x15f865,_0x718dc3);for(let _0x785ec4=0x0,_0x928814=_0x15f865;;_0x785ec4++){let _0x898633=_0x785ec4==_0x1be764['length'],_0x203b10=_0x898633?_0x718dc3:_0x1be764[_0x785ec4]['from'];if(_0x203b10>_0x928814&&_0x31dbd4['push'](new TreeFragment(_0x928814,_0x203b10,_0x413094['tree'],-_0x427084,_0x5b8fd0['from']>=_0x928814||_0x5b8fd0['openStart'],_0x5b8fd0['to']<=_0x203b10||_0x5b8fd0['openEnd'])),_0x898633)break;_0x928814=_0x1be764[_0x785ec4]['to'];}}else _0x31dbd4['push'](new TreeFragment(_0x15f865,_0x718dc3,_0x413094['tree'],-_0x427084,_0x5b8fd0['from']>=_0x427084||_0x5b8fd0['openStart'],_0x5b8fd0['to']<=_0x5aebd3||_0x5b8fd0['openEnd']));}return _0x31dbd4;}let nextTagID=0x0;class _0x325b02{constructor(_0x459a93,_0x4c1670,_0x7a7ea9,_0x32d3e3){this['name']=_0x459a93,this['set']=_0x4c1670,this['base']=_0x7a7ea9,this['modified']=_0x32d3e3,this['id']=nextTagID++;}['toString'](){let {name:_0x440664}=this;for(let _0xf62791 of this['modified'])_0xf62791['name']&&(_0x440664=_0xf62791['name']+'('+_0x440664+')');return _0x440664;}static['define'](_0x2b4c57,_0x63e0a7){let _0x5aaab1='string'==typeof _0x2b4c57?_0x2b4c57:'?';if(_0x2b4c57 instanceof _0x325b02&&(_0x63e0a7=_0x2b4c57),null==_0x63e0a7?void 0x0:_0x63e0a7['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x572766=new _0x325b02(_0x5aaab1,[],null,[]);if(_0x572766['set']['push'](_0x572766),_0x63e0a7){for(let t of _0x63e0a7['set'])_0x572766['set']['push'](t);}return _0x572766;}static['defineModifier'](_0xdfd2f6){let _0x6222dc=new _0x33f5ee(_0xdfd2f6);return _0x1ddab1=>_0x1ddab1['modified']['indexOf'](_0x6222dc)>-0x1?_0x1ddab1:_0x33f5ee['get'](_0x1ddab1['base']||_0x1ddab1,_0x1ddab1['modified']['concat'](_0x6222dc)['sort']((_0x2ecab4,_0x3f89db)=>_0x2ecab4['id']-_0x3f89db['id']));}}let nextModifierID=0x0;class _0x33f5ee{constructor(_0x6e46b6){this['name']=_0x6e46b6,this['instances']=[],this['id']=nextModifierID++;}static['get'](_0x40ffe2,_0x8837b8){if(!_0x8837b8['length'])return _0x40ffe2;let _0x3b71d=_0x8837b8[0x0]['instances']['find'](t=>t['base']==_0x40ffe2&&_0x3b90f0(_0x8837b8,t['modified']));if(_0x3b71d)return _0x3b71d;let _0x53f4be=[],_0x83a278=new _0x325b02(_0x40ffe2['name'],_0x53f4be,_0x40ffe2,_0x8837b8);for(let _0x1d1460 of _0x8837b8)_0x1d1460['instances']['push'](_0x83a278);let _0xe132e6=powerSet(_0x8837b8);for(let _0x22c7f1 of _0x40ffe2['set'])if(!_0x22c7f1['modified']['length']){for(let _0x278a07 of _0xe132e6)_0x53f4be['push'](_0x33f5ee['get'](_0x22c7f1,_0x278a07));}return _0x83a278;}}function _0x3b90f0(_0x4461d4,_0x374aa3){return _0x4461d4['length']==_0x374aa3['length']&&_0x4461d4['every']((_0x57dfb9,_0x5e35c2)=>_0x57dfb9==_0x374aa3[_0x5e35c2]);}function powerSet(_0x218638){let _0x6d8391=[[]];for(let _0x43edd5=0x0;_0x43edd5<_0x218638['length'];_0x43edd5++)for(let _0x36eee5=0x0,_0x5e5def=_0x6d8391['length'];_0x36eee5<_0x5e5def;_0x36eee5++)_0x6d8391['push'](_0x6d8391[_0x36eee5]['concat'](_0x218638[_0x43edd5]));return _0x6d8391['sort']((_0x3c761d,_0x4b7a95)=>_0x4b7a95['length']-_0x3c761d['length']);}function styleTags(_0x2e71df){let _0x595ac3=Object['create'](null);for(let _0x17b393 in _0x2e71df){let _0x78f0d=_0x2e71df[_0x17b393];Array['isArray'](_0x78f0d)||(_0x78f0d=[_0x78f0d]);for(let _0x1d4f73 of _0x17b393['split']('\x20'))if(_0x1d4f73){let _0xd8a63b=[],_0x3af3bb=0x2,_0x55092d=_0x1d4f73;for(let _0x46a48c=0x0;;){if('...'==_0x55092d&&_0x46a48c>0x0&&_0x46a48c+0x3==_0x1d4f73['length']){_0x3af3bb=0x1;break;}let _0x1091e8=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x55092d);if(!_0x1091e8)throw new RangeError('Invalid\x20path:\x20'+_0x1d4f73);if(_0xd8a63b['push']('*'==_0x1091e8[0x0]?'':'\x22'==_0x1091e8[0x0][0x0]?JSON['parse'](_0x1091e8[0x0]):_0x1091e8[0x0]),_0x46a48c+=_0x1091e8[0x0]['length'],_0x46a48c==_0x1d4f73['length'])break;let _0x1aebd0=_0x1d4f73[_0x46a48c++];if(_0x46a48c==_0x1d4f73['length']&&'!'==_0x1aebd0){_0x3af3bb=0x0;break;}if('/'!=_0x1aebd0)throw new RangeError('Invalid\x20path:\x20'+_0x1d4f73);_0x55092d=_0x1d4f73['slice'](_0x46a48c);}let _0x87c02b=_0xd8a63b['length']-0x1,_0x583e7a=_0xd8a63b[_0x87c02b];if(!_0x583e7a)throw new RangeError('Invalid\x20path:\x20'+_0x1d4f73);let _0x2055e8=new _0x2511ac(_0x78f0d,_0x3af3bb,_0x87c02b>0x0?_0xd8a63b['slice'](0x0,_0x87c02b):null);_0x595ac3[_0x583e7a]=_0x2055e8['sort'](_0x595ac3[_0x583e7a]);}}return _0x59c369['add'](_0x595ac3);}const _0x59c369=new _0x5f3026({'combine'(_0x148681,_0x4ed091){let _0x4469ee,_0x4c34ba,_0x3996ad;for(;_0x148681||_0x4ed091;){if(!_0x148681||_0x4ed091&&_0x148681['depth']>=_0x4ed091['depth']?(_0x3996ad=_0x4ed091,_0x4ed091=_0x4ed091['next']):(_0x3996ad=_0x148681,_0x148681=_0x148681['next']),_0x4469ee&&_0x4469ee['mode']==_0x3996ad['mode']&&!_0x3996ad['context']&&!_0x4469ee['context'])continue;let _0x3bfd47=new _0x2511ac(_0x3996ad['tags'],_0x3996ad['mode'],_0x3996ad['context']);_0x4469ee?_0x4469ee['next']=_0x3bfd47:_0x4c34ba=_0x3bfd47,_0x4469ee=_0x3bfd47;}return _0x4c34ba;}});class _0x2511ac{constructor(_0x31d01b,_0x4cb848,_0x1d251e,_0x2d2b46){this['tags']=_0x31d01b,this['mode']=_0x4cb848,this['context']=_0x1d251e,this['next']=_0x2d2b46;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0x453822){return!_0x453822||_0x453822['depth']<this['depth']?(this['next']=_0x453822,this):(_0x453822['next']=this['sort'](_0x453822['next']),_0x453822);}get['depth'](){return this['context']?this['context']['length']:0x0;}}function tagHighlighter(_0x244f8a,_0x45f5a2){let _0x4eff33=Object['create'](null);for(let _0x4a20e2 of _0x244f8a)if(Array['isArray'](_0x4a20e2['tag'])){for(let _0xc8b289 of _0x4a20e2['tag'])_0x4eff33[_0xc8b289['id']]=_0x4a20e2['class'];}else _0x4eff33[_0x4a20e2['tag']['id']]=_0x4a20e2['class'];let {scope:_0x399920,all:_0x32af71=null}=_0x45f5a2||{};return{'style':_0xbad33=>{let _0x1affaa=_0x32af71;for(let _0x5a97f4 of _0xbad33)for(let _0xe0b6f8 of _0x5a97f4['set']){let _0x1f3a9d=_0x4eff33[_0xe0b6f8['id']];if(_0x1f3a9d){_0x1affaa=_0x1affaa?_0x1affaa+'\x20'+_0x1f3a9d:_0x1f3a9d;break;}}return _0x1affaa;},'scope':_0x399920};}function highlightTags(_0x5a0362,_0x528d33){let _0x314a33=null;for(let _0x2c6576 of _0x5a0362){let _0x461af8=_0x2c6576['style'](_0x528d33);_0x461af8&&(_0x314a33=_0x314a33?_0x314a33+'\x20'+_0x461af8:_0x461af8);}return _0x314a33;}function highlightTree(_0x69890c,_0xa88daa,_0x1cdd3c,_0x121d97=0x0,_0x28a618=_0x69890c['length']){let _0x3f913b=new HighlightBuilder(_0x121d97,Array['isArray'](_0xa88daa)?_0xa88daa:[_0xa88daa],_0x1cdd3c);_0x3f913b['highlightRange'](_0x69890c['cursor'](),_0x121d97,_0x28a618,'',_0x3f913b['highlighters']),_0x3f913b['flush'](_0x28a618);}_0x2511ac['empty']=new _0x2511ac([],0x2,null);class HighlightBuilder{constructor(_0x254213,_0x42e22b,_0x37104e){this['at']=_0x254213,this['highlighters']=_0x42e22b,this['span']=_0x37104e,this['class']='';}['startSpan'](_0x5c129a,_0x1c01d8){_0x1c01d8!=this['class']&&(this['flush'](_0x5c129a),_0x5c129a>this['at']&&(this['at']=_0x5c129a),this['class']=_0x1c01d8);}['flush'](_0x1a7ffb){_0x1a7ffb>this['at']&&this['class']&&this['span'](this['at'],_0x1a7ffb,this['class']);}['highlightRange'](_0x30da3c,_0x340010,_0x2eb58f,_0x236997,_0x42974f){let {type:_0xff5fb3,from:_0x450605,to:_0x307521}=_0x30da3c;if(_0x450605>=_0x2eb58f||_0x307521<=_0x340010)return;_0xff5fb3['isTop']&&(_0x42974f=this['highlighters']['filter'](_0xacbf52=>!_0xacbf52['scope']||_0xacbf52['scope'](_0xff5fb3)));let _0x2af95b=_0x236997,_0x52c28b=getStyleTags(_0x30da3c)||_0x2511ac['empty'],_0x2d66a0=highlightTags(_0x42974f,_0x52c28b['tags']);if(_0x2d66a0&&(_0x2af95b&&(_0x2af95b+='\x20'),_0x2af95b+=_0x2d66a0,0x1==_0x52c28b['mode']&&(_0x236997+=(_0x236997?'\x20':'')+_0x2d66a0)),this['startSpan'](Math['max'](_0x340010,_0x450605),_0x2af95b),_0x52c28b['opaque'])return;let _0x2876cd=_0x30da3c['tree']&&_0x30da3c['tree']['prop'](_0x5f3026['mounted']);if(_0x2876cd&&_0x2876cd['overlay']){let _0x1d2d82=_0x30da3c['node']['enter'](_0x2876cd['overlay'][0x0]['from']+_0x450605,0x1),_0x1e9dba=this['highlighters']['filter'](_0x1d7ae8=>!_0x1d7ae8['scope']||_0x1d7ae8['scope'](_0x2876cd['tree']['type'])),_0x1dcc6a=_0x30da3c['firstChild']();for(let _0x196fbc=0x0,_0x44fba1=_0x450605;;_0x196fbc++){let _0x3417db=_0x196fbc<_0x2876cd['overlay']['length']?_0x2876cd['overlay'][_0x196fbc]:null,_0x26c3b5=_0x3417db?_0x3417db['from']+_0x450605:_0x307521,_0x55d240=Math['max'](_0x340010,_0x44fba1),_0x19797d=Math['min'](_0x2eb58f,_0x26c3b5);if(_0x55d240<_0x19797d&&_0x1dcc6a){for(;_0x30da3c['from']<_0x19797d&&(this['highlightRange'](_0x30da3c,_0x55d240,_0x19797d,_0x236997,_0x42974f),this['startSpan'](Math['min'](_0x19797d,_0x30da3c['to']),_0x2af95b),!(_0x30da3c['to']>=_0x26c3b5)&&_0x30da3c['nextSibling']()););}if(!_0x3417db||_0x26c3b5>_0x2eb58f)break;_0x44fba1=_0x3417db['to']+_0x450605,_0x44fba1>_0x340010&&(this['highlightRange'](_0x1d2d82['cursor'](),Math['max'](_0x340010,_0x3417db['from']+_0x450605),Math['min'](_0x2eb58f,_0x44fba1),'',_0x1e9dba),this['startSpan'](Math['min'](_0x2eb58f,_0x44fba1),_0x2af95b));}_0x1dcc6a&&_0x30da3c['parent']();}else{if(_0x30da3c['firstChild']()){_0x2876cd&&(_0x236997='');do{if(!(_0x30da3c['to']<=_0x340010)){if(_0x30da3c['from']>=_0x2eb58f)break;this['highlightRange'](_0x30da3c,_0x340010,_0x2eb58f,_0x236997,_0x42974f),this['startSpan'](Math['min'](_0x2eb58f,_0x30da3c['to']),_0x2af95b);}}while(_0x30da3c['nextSibling']());_0x30da3c['parent']();}}}}function getStyleTags(_0x5203bc){let _0x566549=_0x5203bc['type']['prop'](_0x59c369);for(;_0x566549&&_0x566549['context']&&!_0x5203bc['matchContext'](_0x566549['context']);)_0x566549=_0x566549['next'];return _0x566549||null;}const t=_0x325b02['define'],comment=t(),_0x2efe65=t(),typeName=t(_0x2efe65),propertyName=t(_0x2efe65),literal=t(),string=t(literal),_0x10941c=t(literal),content=t(),_0x1caad3=t(content),_0x3ea165=t(),operator=t(),punctuation=t(),bracket=t(punctuation),meta=t(),tags$1={'comment':comment,'lineComment':t(comment),'blockComment':t(comment),'docComment':t(comment),'name':_0x2efe65,'variableName':t(_0x2efe65),'typeName':typeName,'tagName':t(typeName),'propertyName':propertyName,'attributeName':t(propertyName),'className':t(_0x2efe65),'labelName':t(_0x2efe65),'namespace':t(_0x2efe65),'macroName':t(_0x2efe65),'literal':literal,'string':string,'docString':t(string),'character':t(string),'attributeValue':t(string),'number':_0x10941c,'integer':t(_0x10941c),'float':t(_0x10941c),'bool':t(literal),'regexp':t(literal),'escape':t(literal),'color':t(literal),'url':t(literal),'keyword':_0x3ea165,'self':t(_0x3ea165),'null':t(_0x3ea165),'atom':t(_0x3ea165),'unit':t(_0x3ea165),'modifier':t(_0x3ea165),'operatorKeyword':t(_0x3ea165),'controlKeyword':t(_0x3ea165),'definitionKeyword':t(_0x3ea165),'moduleKeyword':t(_0x3ea165),'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':_0x1caad3,'heading1':t(_0x1caad3),'heading2':t(_0x1caad3),'heading3':t(_0x1caad3),'heading4':t(_0x1caad3),'heading5':t(_0x1caad3),'heading6':t(_0x1caad3),'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':_0x325b02['defineModifier']('definition'),'constant':_0x325b02['defineModifier']('constant'),'function':_0x325b02['defineModifier']('function'),'standard':_0x325b02['defineModifier']('standard'),'local':_0x325b02['defineModifier']('local'),'special':_0x325b02['defineModifier']('special')};for(let _0x1df21e in tags$1){let _0x15db7a=tags$1[_0x1df21e];_0x15db7a instanceof _0x325b02&&(_0x15db7a['name']=_0x1df21e);}var _0x5593c0;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 _0x5f3026();function defineLanguageFacet(_0x27a060){return Facet['define']({'combine':_0x27a060?_0x4afcf2=>_0x4afcf2['concat'](_0x27a060):void 0x0});}const _0x23fd6e=new _0x5f3026();class _0x4880ed{constructor(_0x2df876,_0xc88444,_0x27fbb2=[],_0x29f637=''){this['data']=_0x2df876,this['name']=_0x29f637,EditorState['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](EditorState['prototype'],'tree',{'get'(){return syntaxTree(this);}}),this['parser']=_0xc88444,this['extension']=[_0x13727d['of'](this),EditorState['languageData']['of']((_0x109bbc,_0x1c114c,_0x16a87f)=>{let _0x5b123b=topNodeAt(_0x109bbc,_0x1c114c,_0x16a87f),_0x237b59=_0x5b123b['type']['prop'](languageDataProp);if(!_0x237b59)return[];let _0x591a65=_0x109bbc['facet'](_0x237b59),_0x363595=_0x5b123b['type']['prop'](_0x23fd6e);if(_0x363595){let _0x2a4d8b=_0x5b123b['resolve'](_0x1c114c-_0x5b123b['from'],_0x16a87f);for(let _0x4057c7 of _0x363595)if(_0x4057c7['test'](_0x2a4d8b,_0x109bbc)){let _0x155e43=_0x109bbc['facet'](_0x4057c7['facet']);return'replace'==_0x4057c7['type']?_0x155e43:_0x155e43['concat'](_0x591a65);}}return _0x591a65;})]['concat'](_0x27fbb2);}['isActiveAt'](_0x3ae415,_0x468680,_0x3ded93=-0x1){return topNodeAt(_0x3ae415,_0x468680,_0x3ded93)['type']['prop'](languageDataProp)==this['data'];}['findRegions'](_0x18de64){let _0x4b1ab2=_0x18de64['facet'](_0x13727d);if((null==_0x4b1ab2?void 0x0:_0x4b1ab2['data'])==this['data'])return[{'from':0x0,'to':_0x18de64['doc']['length']}];if(!_0x4b1ab2||!_0x4b1ab2['allowsNesting'])return[];let _0x3c1c43=[],_0xd74315=(_0x2fca35,_0x35020b)=>{if(_0x2fca35['prop'](languageDataProp)==this['data'])return void _0x3c1c43['push']({'from':_0x35020b,'to':_0x35020b+_0x2fca35['length']});let _0x313f0f=_0x2fca35['prop'](_0x5f3026['mounted']);if(_0x313f0f){if(_0x313f0f['tree']['prop'](languageDataProp)==this['data']){if(_0x313f0f['overlay']){for(let _0x22596a of _0x313f0f['overlay'])_0x3c1c43['push']({'from':_0x22596a['from']+_0x35020b,'to':_0x22596a['to']+_0x35020b});}else _0x3c1c43['push']({'from':_0x35020b,'to':_0x35020b+_0x2fca35['length']});return;}if(_0x313f0f['overlay']){let _0x24425b=_0x3c1c43['length'];if(_0xd74315(_0x313f0f['tree'],_0x313f0f['overlay'][0x0]['from']+_0x35020b),_0x3c1c43['length']>_0x24425b)return;}}for(let _0x212f76=0x0;_0x212f76<_0x2fca35['children']['length'];_0x212f76++){let _0x5ba3bf=_0x2fca35['children'][_0x212f76];_0x5ba3bf instanceof _0x155fca&&_0xd74315(_0x5ba3bf,_0x2fca35['positions'][_0x212f76]+_0x35020b);}};return _0xd74315(syntaxTree(_0x18de64),0x0),_0x3c1c43;}get['allowsNesting'](){return!0x0;}}function topNodeAt(_0x4e7ffe,_0x2a9b05,_0x42f03f){let _0x1d52a3=_0x4e7ffe['facet'](_0x13727d),_0x251bd9=syntaxTree(_0x4e7ffe)['topNode'];if(!_0x1d52a3||_0x1d52a3['allowsNesting']){for(let _0x1b3772=_0x251bd9;_0x1b3772;_0x1b3772=_0x1b3772['enter'](_0x2a9b05,_0x42f03f,IterMode['ExcludeBuffers']))_0x1b3772['type']['isTop']&&(_0x251bd9=_0x1b3772);}return _0x251bd9;}_0x4880ed['setState']=StateEffect['define']();class _0x4a150d extends _0x4880ed{constructor(_0x41cc19,_0x40e884,_0x33f973){super(_0x41cc19,_0x40e884,[],_0x33f973),this['parser']=_0x40e884;}static['define'](_0x258cc3){let _0x542272=defineLanguageFacet(_0x258cc3['languageData']);return new _0x4a150d(_0x542272,_0x258cc3['parser']['configure']({'props':[languageDataProp['add'](_0x4b3637=>_0x4b3637['isTop']?_0x542272:void 0x0)]}),_0x258cc3['name']);}['configure'](_0x5f15de,_0x1af2cc){return new _0x4a150d(this['data'],this['parser']['configure'](_0x5f15de),_0x1af2cc||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}}function syntaxTree(_0x291587){let _0x212efd=_0x291587['field'](_0x4880ed['state'],!0x1);return _0x212efd?_0x212efd['tree']:_0x155fca['empty'];}class DocInput{constructor(_0x4ead74){this['doc']=_0x4ead74,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x4ead74['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0x3ff45c){return this['string']=this['cursor']['next'](_0x3ff45c-this['cursorPos'])['value'],this['cursorPos']=_0x3ff45c+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0x353e21){return this['syncTo'](_0x353e21),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x4a83c6,_0x5a9659){let _0x28b818=this['cursorPos']-this['string']['length'];return _0x4a83c6<_0x28b818||_0x5a9659>=this['cursorPos']?this['doc']['sliceString'](_0x4a83c6,_0x5a9659):this['string']['slice'](_0x4a83c6-_0x28b818,_0x5a9659-_0x28b818);}}let currentContext=null;class ParseContext{constructor(_0x36219e,_0x48b1f9,_0x1393f8=[],_0xe98c41,_0x5c5b4d,_0x40bec3,_0x4416e4,_0x2d305f){this['parser']=_0x36219e,this['state']=_0x48b1f9,this['fragments']=_0x1393f8,this['tree']=_0xe98c41,this['treeLen']=_0x5c5b4d,this['viewport']=_0x40bec3,this['skipped']=_0x4416e4,this['scheduleOn']=_0x2d305f,this['parse']=null,this['tempSkipped']=[];}static['create'](_0x552bab,_0x3eee0b,_0x58914f){return new ParseContext(_0x552bab,_0x3eee0b,[],_0x155fca['empty'],0x0,_0x58914f,[],null);}['startParse'](){return this['parser']['startParse'](new DocInput(this['state']['doc']),this['fragments']);}['work'](_0x3b1690,_0x24b82f){return null!=_0x24b82f&&_0x24b82f>=this['state']['doc']['length']&&(_0x24b82f=void 0x0),this['tree']!=_0x155fca['empty']&&this['isDone'](null!=_0x24b82f?_0x24b82f:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x1a43dd;if('number'==typeof _0x3b1690){let _0x145ce6=Date['now']()+_0x3b1690;_0x3b1690=()=>Date['now']()>_0x145ce6;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x24b82f&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x24b82f)&&_0x24b82f<this['state']['doc']['length']&&this['parse']['stopAt'](_0x24b82f);;){let _0x23341f=this['parse']['advance']();if(_0x23341f){if(this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](_0x23341f,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x1a43dd=this['parse']['stoppedAt'])&&void 0x0!==_0x1a43dd?_0x1a43dd:this['state']['doc']['length'],this['tree']=_0x23341f,this['parse']=null,!(this['treeLen']<(null!=_0x24b82f?_0x24b82f:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x3b1690())return!0x1;}});}['takeTree'](){let _0x439648,_0xf466b2;this['parse']&&(_0x439648=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x439648)&&this['parse']['stopAt'](_0x439648),this['withContext'](()=>{for(;!(_0xf466b2=this['parse']['advance']()););}),this['treeLen']=_0x439648,this['tree']=_0xf466b2,this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0x1d82c0){let _0x1c5a07=currentContext;currentContext=this;try{return _0x1d82c0();}finally{currentContext=_0x1c5a07;}}['withoutTempSkipped'](_0x2fd3b7){for(let _0x45819f;_0x45819f=this['tempSkipped']['pop']();)_0x2fd3b7=cutFragments(_0x2fd3b7,_0x45819f['from'],_0x45819f['to']);return _0x2fd3b7;}['changes'](_0x46e740,_0x5a9953){let {fragments:_0x5cc24a,tree:_0x850601,treeLen:_0x24b8f2,viewport:_0x1d4f4a,skipped:_0x32ad0f}=this;if(this['takeTree'](),!_0x46e740['empty']){let _0x1ea5ef=[];if(_0x46e740['iterChangedRanges']((_0x4617c0,_0x3f1911,_0x5084a8,_0x21b19f)=>_0x1ea5ef['push']({'fromA':_0x4617c0,'toA':_0x3f1911,'fromB':_0x5084a8,'toB':_0x21b19f})),_0x5cc24a=TreeFragment['applyChanges'](_0x5cc24a,_0x1ea5ef),_0x850601=_0x155fca['empty'],_0x24b8f2=0x0,_0x1d4f4a={'from':_0x46e740['mapPos'](_0x1d4f4a['from'],-0x1),'to':_0x46e740['mapPos'](_0x1d4f4a['to'],0x1)},this['skipped']['length']){_0x32ad0f=[];for(let _0x2ab779 of this['skipped']){let _0x59e969=_0x46e740['mapPos'](_0x2ab779['from'],0x1),_0x4e7e3e=_0x46e740['mapPos'](_0x2ab779['to'],-0x1);_0x59e969<_0x4e7e3e&&_0x32ad0f['push']({'from':_0x59e969,'to':_0x4e7e3e});}}}return new ParseContext(this['parser'],_0x5a9953,_0x5cc24a,_0x850601,_0x24b8f2,_0x1d4f4a,_0x32ad0f,this['scheduleOn']);}['updateViewport'](_0x20e076){if(this['viewport']['from']==_0x20e076['from']&&this['viewport']['to']==_0x20e076['to'])return!0x1;this['viewport']=_0x20e076;let _0x5e19c7=this['skipped']['length'];for(let _0x1c60da=0x0;_0x1c60da<this['skipped']['length'];_0x1c60da++){let {from:_0x199f06,to:_0x1e2c80}=this['skipped'][_0x1c60da];_0x199f06<_0x20e076['to']&&_0x1e2c80>_0x20e076['from']&&(this['fragments']=cutFragments(this['fragments'],_0x199f06,_0x1e2c80),this['skipped']['splice'](_0x1c60da--,0x1));}return!(this['skipped']['length']>=_0x5e19c7)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x98b489,_0x33b190){this['skipped']['push']({'from':_0x98b489,'to':_0x33b190});}static['getSkippingParser'](_0x43c191){return new class extends _0x4c4bed{['createParse'](_0x5cd894,_0x1b24b0,_0x2a583d){let _0x4e8759=_0x2a583d[0x0]['from'],_0x18924f=_0x2a583d[_0x2a583d['length']-0x1]['to'];return{'parsedPos':_0x4e8759,'advance'(){let _0x420faa=currentContext;if(_0x420faa){for(let _0x5413af of _0x2a583d)_0x420faa['tempSkipped']['push'](_0x5413af);_0x43c191&&(_0x420faa['scheduleOn']=_0x420faa['scheduleOn']?Promise['all']([_0x420faa['scheduleOn'],_0x43c191]):_0x43c191);}return this['parsedPos']=_0x18924f,new _0x155fca(_0x5bfc6f['none'],[],[],_0x18924f-_0x4e8759);},'stoppedAt':null,'stopAt'(){}};}}();}['isDone'](_0x4a4408){_0x4a4408=Math['min'](_0x4a4408,this['state']['doc']['length']);let _0x292c87=this['fragments'];return this['treeLen']>=_0x4a4408&&_0x292c87['length']&&0x0==_0x292c87[0x0]['from']&&_0x292c87[0x0]['to']>=_0x4a4408;}static['get'](){return currentContext;}}function cutFragments(_0x1afdbd,_0x2db8c9,_0x2f7641){return TreeFragment['applyChanges'](_0x1afdbd,[{'fromA':_0x2db8c9,'toA':_0x2f7641,'fromB':_0x2db8c9,'toB':_0x2f7641}]);}class LanguageState{constructor(_0x300e9e){this['context']=_0x300e9e,this['tree']=_0x300e9e['tree'];}['apply'](_0x4e8401){if(!_0x4e8401['docChanged']&&this['tree']==this['context']['tree'])return this;let _0x8f93a1=this['context']['changes'](_0x4e8401['changes'],_0x4e8401['state']),_0x4cc46b=this['context']['treeLen']==_0x4e8401['startState']['doc']['length']?void 0x0:Math['max'](_0x4e8401['changes']['mapPos'](this['context']['treeLen']),_0x8f93a1['viewport']['to']);return _0x8f93a1['work'](0x14,_0x4cc46b)||_0x8f93a1['takeTree'](),new LanguageState(_0x8f93a1);}static['init'](_0x14e096){let _0xd4992=Math['min'](0xbb8,_0x14e096['doc']['length']),_0x666196=ParseContext['create'](_0x14e096['facet'](_0x13727d)['parser'],_0x14e096,{'from':0x0,'to':_0xd4992});return _0x666196['work'](0x14,_0xd4992)||_0x666196['takeTree'](),new LanguageState(_0x666196);}}_0x4880ed['state']=StateField['define']({'create':LanguageState['init'],'update'(_0x5dcdc6,_0x12a411){for(let _0x16a6cf of _0x12a411['effects'])if(_0x16a6cf['is'](_0x4880ed['setState']))return _0x16a6cf['value'];return _0x12a411['startState']['facet'](_0x13727d)!=_0x12a411['state']['facet'](_0x13727d)?LanguageState['init'](_0x12a411['state']):_0x5dcdc6['apply'](_0x12a411);}});let requestIdle=_0x1b53e2=>{let _0x59df6a=setTimeout(()=>_0x1b53e2(),0x1f4);return()=>clearTimeout(_0x59df6a);};'undefined'!=typeof requestIdleCallback&&(requestIdle=_0x1acf4d=>{let _0x22ef48=-0x1,_0x80c4dc=setTimeout(()=>{_0x22ef48=requestIdleCallback(_0x1acf4d,{'timeout':0x190});},0x64);return()=>_0x22ef48<0x0?clearTimeout(_0x80c4dc):cancelIdleCallback(_0x22ef48);});const isInputPending='undefined'!=typeof navigator&&(null===(_0x5593c0=navigator['scheduling'])||void 0x0===_0x5593c0?void 0x0:_0x5593c0['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,_0x4c892a=_0x3d5509['fromClass'](class{constructor(_0x4f40c7){this['view']=_0x4f40c7,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0x238379){let _0x46541a=this['view']['state']['field'](_0x4880ed['state'])['context'];(_0x46541a['updateViewport'](_0x238379['view']['viewport'])||this['view']['viewport']['to']>_0x46541a['treeLen'])&&this['scheduleWork'](),(_0x238379['docChanged']||_0x238379['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x46541a);}['scheduleWork'](){if(this['working'])return;let {state:_0x2726d1}=this['view'],_0x117074=_0x2726d1['field'](_0x4880ed['state']);_0x117074['tree']==_0x117074['context']['tree']&&_0x117074['context']['isDone'](_0x2726d1['doc']['length'])||(this['working']=requestIdle(this['work']));}['work'](_0x3a5b3d){this['working']=null;let _0x44ec47=Date['now']();if(this['chunkEnd']<_0x44ec47&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x44ec47+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x396ca7,viewport:{to:_0x4d42a6}}=this['view'],_0x13d30f=_0x396ca7['field'](_0x4880ed['state']);if(_0x13d30f['tree']==_0x13d30f['context']['tree']&&_0x13d30f['context']['isDone'](_0x4d42a6+0x186a0))return;let _0x98919f=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x3a5b3d&&!isInputPending?Math['max'](0x19,_0x3a5b3d['timeRemaining']()-0x5):0x3b9aca00),_0x1f2a61=_0x13d30f['context']['treeLen']<_0x4d42a6&&_0x396ca7['doc']['length']>_0x4d42a6+0x3e8,_0x13b2a8=_0x13d30f['context']['work'](()=>isInputPending&&isInputPending()||Date['now']()>_0x98919f,_0x4d42a6+(_0x1f2a61?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x44ec47,(_0x13b2a8||this['chunkBudget']<=0x0)&&(_0x13d30f['context']['takeTree'](),this['view']['dispatch']({'effects':_0x4880ed['setState']['of'](new LanguageState(_0x13d30f['context']))})),this['chunkBudget']>0x0&&(!_0x13b2a8||_0x1f2a61)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x13d30f['context']);}['checkAsyncSchedule'](_0x2f162e){_0x2f162e['scheduleOn']&&(this['workScheduled']++,_0x2f162e['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x302866=>logException(this['view']['state'],_0x302866))['then'](()=>this['workScheduled']--),_0x2f162e['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),_0x13727d=Facet['define']({'combine':_0x4feee9=>_0x4feee9['length']?_0x4feee9[0x0]:null,'enables':_0x10abbc=>[_0x4880ed['state'],_0x4c892a,EditorView['contentAttributes']['compute']([_0x10abbc],_0x19f8d9=>{let _0x29bb99=_0x19f8d9['facet'](_0x10abbc);return _0x29bb99&&_0x29bb99['name']?{'data-language':_0x29bb99['name']}:{};})]});class LanguageSupport{constructor(_0x28f685,_0x486519=[]){this['language']=_0x28f685,this['support']=_0x486519,this['extension']=[_0x28f685,_0x486519];}}class LanguageDescription{constructor(_0x50e4a7,_0x2bbd04,_0x5616c5,_0x283d03,_0x18e6e7,_0x963da2=void 0x0){this['name']=_0x50e4a7,this['alias']=_0x2bbd04,this['extensions']=_0x5616c5,this['filename']=_0x283d03,this['loadFunc']=_0x18e6e7,this['support']=_0x963da2,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0x54b3ee=>this['support']=_0x54b3ee,_0x2592b7=>{throw this['loading']=null,_0x2592b7;}));}static['of'](_0x4765d1){let {load:_0x2f38f4,support:_0x44ebeb}=_0x4765d1;if(!_0x2f38f4){if(!_0x44ebeb)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0x2f38f4=()=>Promise['resolve'](_0x44ebeb);}return new LanguageDescription(_0x4765d1['name'],(_0x4765d1['alias']||[])['concat'](_0x4765d1['name'])['map'](_0x1f30c1=>_0x1f30c1['toLowerCase']()),_0x4765d1['extensions']||[],_0x4765d1['filename'],_0x2f38f4,_0x44ebeb);}static['matchFilename'](_0x150683,_0x3cea2f){for(let _0x1538cf of _0x150683)if(_0x1538cf['filename']&&_0x1538cf['filename']['test'](_0x3cea2f))return _0x1538cf;let _0x31c041=/\.([^.]+)$/['exec'](_0x3cea2f);if(_0x31c041){for(let _0x35f616 of _0x150683)if(_0x35f616['extensions']['indexOf'](_0x31c041[0x1])>-0x1)return _0x35f616;}return null;}static['matchLanguageName'](_0x5d05f2,_0x4ea344,_0x2bfa85=!0x0){_0x4ea344=_0x4ea344['toLowerCase']();for(let _0xb41898 of _0x5d05f2)if(_0xb41898['alias']['some'](_0x54c0a6=>_0x54c0a6==_0x4ea344))return _0xb41898;if(_0x2bfa85){for(let _0x134d0b of _0x5d05f2)for(let _0x3ff9c6 of _0x134d0b['alias']){let _0x3cd115=_0x4ea344['indexOf'](_0x3ff9c6);if(_0x3cd115>-0x1&&(_0x3ff9c6['length']>0x2||!/\w/['test'](_0x4ea344[_0x3cd115-0x1])&&!/\w/['test'](_0x4ea344[_0x3cd115+_0x3ff9c6['length']])))return _0x134d0b;}}return null;}}const indentService=Facet['define'](),indentUnit=Facet['define']({'combine':_0x23b706=>{if(!_0x23b706['length'])return'\x20\x20';let _0x2f48a5=_0x23b706[0x0];if(!_0x2f48a5||/\S/['test'](_0x2f48a5)||Array['from'](_0x2f48a5)['some'](_0x2ec63e=>_0x2ec63e!=_0x2f48a5[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x23b706[0x0]));return _0x2f48a5;}});function getIndentUnit(_0x77da2f){let _0x2c0ae1=_0x77da2f['facet'](indentUnit);return 0x9==_0x2c0ae1['charCodeAt'](0x0)?_0x77da2f['tabSize']*_0x2c0ae1['length']:_0x2c0ae1['length'];}function indentString(_0x3d23df,_0x137742){let _0x4db51c='',_0xda209b=_0x3d23df['tabSize'],_0x4a3a06=_0x3d23df['facet'](indentUnit)[0x0];if('\x09'==_0x4a3a06){for(;_0x137742>=_0xda209b;)_0x4db51c+='\x09',_0x137742-=_0xda209b;_0x4a3a06='\x20';}for(let _0x13e823=0x0;_0x13e823<_0x137742;_0x13e823++)_0x4db51c+=_0x4a3a06;return _0x4db51c;}function getIndentation(_0x15145d,_0x57b72d){_0x15145d instanceof EditorState&&(_0x15145d=new IndentContext(_0x15145d));for(let _0x5015b6 of _0x15145d['state']['facet'](indentService)){let _0x1fa1e8=_0x5015b6(_0x15145d,_0x57b72d);if(void 0x0!==_0x1fa1e8)return _0x1fa1e8;}let _0x1fc3a0=syntaxTree(_0x15145d['state']);return _0x1fc3a0['length']>=_0x57b72d?syntaxIndentation(_0x15145d,_0x1fc3a0,_0x57b72d):null;}class IndentContext{constructor(_0x23a691,_0x33fa94={}){this['state']=_0x23a691,this['options']=_0x33fa94,this['unit']=getIndentUnit(_0x23a691);}['lineAt'](_0x35b553,_0x42296d=0x1){let _0x5ed6d0=this['state']['doc']['lineAt'](_0x35b553),{simulateBreak:_0xadfa02,simulateDoubleBreak:_0x4fd877}=this['options'];return null!=_0xadfa02&&_0xadfa02>=_0x5ed6d0['from']&&_0xadfa02<=_0x5ed6d0['to']?_0x4fd877&&_0xadfa02==_0x35b553?{'text':'','from':_0x35b553}:(_0x42296d<0x0?_0xadfa02<_0x35b553:_0xadfa02<=_0x35b553)?{'text':_0x5ed6d0['text']['slice'](_0xadfa02-_0x5ed6d0['from']),'from':_0xadfa02}:{'text':_0x5ed6d0['text']['slice'](0x0,_0xadfa02-_0x5ed6d0['from']),'from':_0x5ed6d0['from']}:_0x5ed6d0;}['textAfterPos'](_0x2e5d09,_0x997fa2=0x1){if(this['options']['simulateDoubleBreak']&&_0x2e5d09==this['options']['simulateBreak'])return'';let {text:_0x270fdb,from:_0x1965e3}=this['lineAt'](_0x2e5d09,_0x997fa2);return _0x270fdb['slice'](_0x2e5d09-_0x1965e3,Math['min'](_0x270fdb['length'],_0x2e5d09+0x64-_0x1965e3));}['column'](_0x24dd08,_0xa58775=0x1){let {text:_0x32c5a,from:_0x338a8d}=this['lineAt'](_0x24dd08,_0xa58775),_0x5a7f16=this['countColumn'](_0x32c5a,_0x24dd08-_0x338a8d),_0x5b1274=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0x338a8d):-0x1;return _0x5b1274>-0x1&&(_0x5a7f16+=_0x5b1274-this['countColumn'](_0x32c5a,_0x32c5a['search'](/\S|$/))),_0x5a7f16;}['countColumn'](_0x8f5c09,_0x51d315=_0x8f5c09['length']){return countColumn(_0x8f5c09,this['state']['tabSize'],_0x51d315);}['lineIndent'](_0x88ad9,_0x26d7f2=0x1){let {text:_0x1fd5d4,from:_0x170e06}=this['lineAt'](_0x88ad9,_0x26d7f2),_0x270d49=this['options']['overrideIndentation'];if(_0x270d49){let _0x5e1266=_0x270d49(_0x170e06);if(_0x5e1266>-0x1)return _0x5e1266;}return this['countColumn'](_0x1fd5d4,_0x1fd5d4['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}}const indentNodeProp=new _0x5f3026();function syntaxIndentation(_0x3701dc,_0x381d08,_0xb26a51){let _0x1ddb4a=_0x381d08['resolveStack'](_0xb26a51),_0x33086c=_0x381d08['resolveInner'](_0xb26a51,-0x1)['resolve'](_0xb26a51,0x0)['enterUnfinishedNodesBefore'](_0xb26a51);if(_0x33086c!=_0x1ddb4a['node']){let _0x1d0714=[];for(let _0x499b00=_0x33086c;_0x499b00&&!(_0x499b00['from']<_0x1ddb4a['node']['from']||_0x499b00['to']>_0x1ddb4a['node']['to']||_0x499b00['from']==_0x1ddb4a['node']['from']&&_0x499b00['type']==_0x1ddb4a['node']['type']);_0x499b00=_0x499b00['parent'])_0x1d0714['push'](_0x499b00);for(let _0x19ecff=_0x1d0714['length']-0x1;_0x19ecff>=0x0;_0x19ecff--)_0x1ddb4a={'node':_0x1d0714[_0x19ecff],'next':_0x1ddb4a};}return indentFor(_0x1ddb4a,_0x3701dc,_0xb26a51);}function indentFor(_0x38176e,_0x5d7ce0,_0x5abeb1){for(let _0x8eba9c=_0x38176e;_0x8eba9c;_0x8eba9c=_0x8eba9c['next']){let _0x413601=indentStrategy(_0x8eba9c['node']);if(_0x413601)return _0x413601(TreeIndentContext['create'](_0x5d7ce0,_0x5abeb1,_0x8eba9c));}return 0x0;}function _0x5bdc0a(_0x237d54){return _0x237d54['pos']==_0x237d54['options']['simulateBreak']&&_0x237d54['options']['simulateDoubleBreak'];}function indentStrategy(_0x5279b3){let _0x4828da=_0x5279b3['type']['prop'](indentNodeProp);if(_0x4828da)return _0x4828da;let _0x2365be,_0x863133=_0x5279b3['firstChild'];if(_0x863133&&(_0x2365be=_0x863133['type']['prop'](_0x5f3026['closedBy']))){let _0x14f2b9=_0x5279b3['lastChild'],_0x5085ee=_0x14f2b9&&_0x2365be['indexOf'](_0x14f2b9['name'])>-0x1;return _0x73bfe5=>delimitedStrategy(_0x73bfe5,!0x0,0x1,void 0x0,_0x5085ee&&!_0x5bdc0a(_0x73bfe5)?_0x14f2b9['from']:void 0x0);}return null==_0x5279b3['parent']?topIndent:null;}function topIndent(){return 0x0;}class TreeIndentContext extends IndentContext{constructor(_0x41fecf,_0x56dcdf,_0x8c7b1f){super(_0x41fecf['state'],_0x41fecf['options']),this['base']=_0x41fecf,this['pos']=_0x56dcdf,this['context']=_0x8c7b1f;}get['node'](){return this['context']['node'];}static['create'](_0x162801,_0x8a7fd9,_0x2a6252){return new TreeIndentContext(_0x162801,_0x8a7fd9,_0x2a6252);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0x118f08){let _0x29d008=this['state']['doc']['lineAt'](_0x118f08['from']);for(;;){let _0x2afcc1=_0x118f08['resolve'](_0x29d008['from']);for(;_0x2afcc1['parent']&&_0x2afcc1['parent']['from']==_0x2afcc1['from'];)_0x2afcc1=_0x2afcc1['parent'];if(isParent(_0x2afcc1,_0x118f08))break;_0x29d008=this['state']['doc']['lineAt'](_0x2afcc1['from']);}return this['lineIndent'](_0x29d008['from']);}['continue'](){return indentFor(this['context']['next'],this['base'],this['pos']);}}function isParent(_0x4bc268,_0x2739b4){for(let _0x547925=_0x2739b4;_0x547925;_0x547925=_0x547925['parent'])if(_0x4bc268==_0x547925)return!0x0;return!0x1;}function bracketedAligned(_0x2056e8){let _0x211e61=_0x2056e8['node'],_0x30c8f0=_0x211e61['childAfter'](_0x211e61['from']),_0x1a96c1=_0x211e61['lastChild'];if(!_0x30c8f0)return null;let _0x51321e=_0x2056e8['options']['simulateBreak'],_0x3e8bff=_0x2056e8['state']['doc']['lineAt'](_0x30c8f0['from']),_0x126de7=null==_0x51321e||_0x51321e<=_0x3e8bff['from']?_0x3e8bff['to']:Math['min'](_0x3e8bff['to'],_0x51321e);for(let _0x203283=_0x30c8f0['to'];;){let _0x1deef6=_0x211e61['childAfter'](_0x203283);if(!_0x1deef6||_0x1deef6==_0x1a96c1)return null;if(!_0x1deef6['type']['isSkipped']){if(_0x1deef6['from']>=_0x126de7)return null;let _0x18846c=/^ */['exec'](_0x3e8bff['text']['slice'](_0x30c8f0['to']-_0x3e8bff['from']))[0x0]['length'];return{'from':_0x30c8f0['from'],'to':_0x30c8f0['to']+_0x18846c};}_0x203283=_0x1deef6['to'];}}function delimitedIndent({closing:_0x3c1949,align:_0x340a83=!0x0,units:_0xa33dbd=0x1}){return _0x283b3a=>delimitedStrategy(_0x283b3a,_0x340a83,_0xa33dbd,_0x3c1949);}function delimitedStrategy(_0x392724,_0x5db9d4,_0x4e40d1,_0x23f605,_0x5183da){let _0x26e7cd=_0x392724['textAfter'],_0x4383fe=_0x26e7cd['match'](/^\s*/)[0x0]['length'],_0x2cec79=_0x23f605&&_0x26e7cd['slice'](_0x4383fe,_0x4383fe+_0x23f605['length'])==_0x23f605||_0x5183da==_0x392724['pos']+_0x4383fe,_0x348e02=_0x5db9d4?bracketedAligned(_0x392724):null;return _0x348e02?_0x2cec79?_0x392724['column'](_0x348e02['from']):_0x392724['column'](_0x348e02['to']):_0x392724['baseIndent']+(_0x2cec79?0x0:_0x392724['unit']*_0x4e40d1);}const flatIndent=_0x319e6d=>_0x319e6d['baseIndent'];function continuedIndent({except:_0x90d2,units:_0x739fdf=0x1}={}){return _0x47f27=>{let _0x149245=_0x90d2&&_0x90d2['test'](_0x47f27['textAfter']);return _0x47f27['baseIndent']+(_0x149245?0x0:_0x739fdf*_0x47f27['unit']);};}const DontIndentBeyond=0xc8;function indentOnInput(){return EditorState['transactionFilter']['of'](_0x1abc99=>{if(!_0x1abc99['docChanged']||!_0x1abc99['isUserEvent']('input.type')&&!_0x1abc99['isUserEvent']('input.complete'))return _0x1abc99;let _0x2e08cf=_0x1abc99['startState']['languageDataAt']('indentOnInput',_0x1abc99['startState']['selection']['main']['head']);if(!_0x2e08cf['length'])return _0x1abc99;let _0xdf25d7=_0x1abc99['newDoc'],{head:_0x383797}=_0x1abc99['newSelection']['main'],_0x30ce0e=_0xdf25d7['lineAt'](_0x383797);if(_0x383797>_0x30ce0e['from']+DontIndentBeyond)return _0x1abc99;let _0x3427d8=_0xdf25d7['sliceString'](_0x30ce0e['from'],_0x383797);if(!_0x2e08cf['some'](_0x41edae=>_0x41edae['test'](_0x3427d8)))return _0x1abc99;let {state:_0x455556}=_0x1abc99,_0x6c34f6=-0x1,_0x5c9e8d=[];for(let {head:_0x4d54a5}of _0x455556['selection']['ranges']){let _0x4dc6bc=_0x455556['doc']['lineAt'](_0x4d54a5);if(_0x4dc6bc['from']==_0x6c34f6)continue;_0x6c34f6=_0x4dc6bc['from'];let _0x47ed95=getIndentation(_0x455556,_0x4dc6bc['from']);if(null==_0x47ed95)continue;let _0x3d9187=/^\s*/['exec'](_0x4dc6bc['text'])[0x0],_0x9f21d=indentString(_0x455556,_0x47ed95);_0x3d9187!=_0x9f21d&&_0x5c9e8d['push']({'from':_0x4dc6bc['from'],'to':_0x4dc6bc['from']+_0x3d9187['length'],'insert':_0x9f21d});}return _0x5c9e8d['length']?[_0x1abc99,{'changes':_0x5c9e8d,'sequential':!0x0}]:_0x1abc99;});}const _0xe3b88f=Facet['define'](),_0x285c96=new _0x5f3026();function _0x52dd83(_0x5cb691){let _0x2ca881=_0x5cb691['firstChild'],_0x450715=_0x5cb691['lastChild'];return _0x2ca881&&_0x2ca881['to']<_0x450715['from']?{'from':_0x2ca881['to'],'to':_0x450715['type']['isError']?_0x5cb691['to']:_0x450715['from']}:null;}function syntaxFolding(_0x3c1573,_0x115dab,_0x33fd7d){let _0x115bf3=syntaxTree(_0x3c1573);if(_0x115bf3['length']<_0x33fd7d)return null;let _0x1cb2c3=null;for(let _0x467061=_0x115bf3['resolveStack'](_0x33fd7d,0x1);_0x467061;_0x467061=_0x467061['next']){let _0x325372=_0x467061['node'];if(_0x325372['to']<=_0x33fd7d||_0x325372['from']>_0x33fd7d)continue;if(_0x1cb2c3&&_0x325372['from']<_0x115dab)break;let _0x16a88e=_0x325372['type']['prop'](_0x285c96);if(_0x16a88e&&(_0x325372['to']<_0x115bf3['length']-0x32||_0x115bf3['length']==_0x3c1573['doc']['length']||!_0x288287(_0x325372))){let _0x4749a9=_0x16a88e(_0x325372,_0x3c1573);_0x4749a9&&_0x4749a9['from']<=_0x33fd7d&&_0x4749a9['from']>=_0x115dab&&_0x4749a9['to']>_0x33fd7d&&(_0x1cb2c3=_0x4749a9);}}return _0x1cb2c3;}function _0x288287(_0x492a37){let _0x486d1c=_0x492a37['lastChild'];return _0x486d1c&&_0x486d1c['to']==_0x492a37['to']&&_0x486d1c['type']['isError'];}function _0x486a1b(_0x59cd29,_0x5db8b1,_0x193c84){for(let _0x7db63d of _0x59cd29['facet'](_0xe3b88f)){let _0x37484c=_0x7db63d(_0x59cd29,_0x5db8b1,_0x193c84);if(_0x37484c)return _0x37484c;}return syntaxFolding(_0x59cd29,_0x5db8b1,_0x193c84);}function _0x20a65b(_0x5ef2f8,_0x23c91d){let _0x2cadcd=_0x23c91d['mapPos'](_0x5ef2f8['from'],0x1),_0x5e282e=_0x23c91d['mapPos'](_0x5ef2f8['to'],-0x1);return _0x2cadcd>=_0x5e282e?void 0x0:{'from':_0x2cadcd,'to':_0x5e282e};}const foldEffect=StateEffect['define']({'map':_0x20a65b}),unfoldEffect=StateEffect['define']({'map':_0x20a65b});function selectedLines(_0x875307){let _0x144aa0=[];for(let {head:_0x4418da}of _0x875307['state']['selection']['ranges'])_0x144aa0['some'](_0x5b6596=>_0x5b6596['from']<=_0x4418da&&_0x5b6596['to']>=_0x4418da)||_0x144aa0['push'](_0x875307['lineBlockAt'](_0x4418da));return _0x144aa0;}const foldState=StateField['define']({'create':()=>Decoration['none'],'update'(_0x50ac10,_0xbacf9e){_0xbacf9e['isUserEvent']('delete')&&_0xbacf9e['changes']['iterChangedRanges']((_0x6dcc92,_0x57a0bc)=>_0x50ac10=_0x393df9(_0x50ac10,_0x6dcc92,_0x57a0bc)),_0x50ac10=_0x50ac10['map'](_0xbacf9e['changes']);for(let _0x33097f of _0xbacf9e['effects'])if(_0x33097f['is'](foldEffect)&&!foldExists(_0x50ac10,_0x33097f['value']['from'],_0x33097f['value']['to'])){let {preparePlaceholder:_0x2e182e}=_0xbacf9e['state']['facet'](_0x5e9eaa),_0x48eaca=_0x2e182e?Decoration['replace']({'widget':new PreparedFoldWidget(_0x2e182e(_0xbacf9e['state'],_0x33097f['value']))}):foldWidget;_0x50ac10=_0x50ac10['update']({'add':[_0x48eaca['range'](_0x33097f['value']['from'],_0x33097f['value']['to'])]});}else _0x33097f['is'](unfoldEffect)&&(_0x50ac10=_0x50ac10['update']({'filter':(_0x2344cb,_0x15e471)=>_0x33097f['value']['from']!=_0x2344cb||_0x33097f['value']['to']!=_0x15e471,'filterFrom':_0x33097f['value']['from'],'filterTo':_0x33097f['value']['to']}));return _0xbacf9e['selection']&&(_0x50ac10=_0x393df9(_0x50ac10,_0xbacf9e['selection']['main']['head'])),_0x50ac10;},'provide':_0x1a282b=>EditorView['decorations']['from'](_0x1a282b),'toJSON'(_0x5bc352,_0x5b568c){let _0x5da65d=[];return _0x5bc352['between'](0x0,_0x5b568c['doc']['length'],(_0x5ddf5b,_0xde11)=>{_0x5da65d['push'](_0x5ddf5b,_0xde11);}),_0x5da65d;},'fromJSON'(_0x27d278){if(!Array['isArray'](_0x27d278)||_0x27d278['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x35d458=[];for(let _0x2303e1=0x0;_0x2303e1<_0x27d278['length'];){let _0x52edbb=_0x27d278[_0x2303e1++],_0x32d1cc=_0x27d278[_0x2303e1++];if('number'!=typeof _0x52edbb||'number'!=typeof _0x32d1cc)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x35d458['push'](foldWidget['range'](_0x52edbb,_0x32d1cc));}return Decoration['set'](_0x35d458,!0x0);}});function _0x393df9(_0x435ba7,_0x109203,_0x4fc170=_0x109203){let _0x4eec74=!0x1;return _0x435ba7['between'](_0x109203,_0x4fc170,(_0x4be054,_0x3dac51)=>{_0x4be054<_0x4fc170&&_0x3dac51>_0x109203&&(_0x4eec74=!0x0);}),_0x4eec74?_0x435ba7['update']({'filterFrom':_0x109203,'filterTo':_0x4fc170,'filter':(_0x2b1ae1,_0x6c1f78)=>_0x2b1ae1>=_0x4fc170||_0x6c1f78<=_0x109203}):_0x435ba7;}function _0x2936e3(_0x3a9625,_0x325722,_0x5eecf3){var _0x366e50;let _0x478db7=null;return null===(_0x366e50=_0x3a9625['field'](foldState,!0x1))||void 0x0===_0x366e50||_0x366e50['between'](_0x325722,_0x5eecf3,(_0xf9acec,_0x31b03e)=>{(!_0x478db7||_0x478db7['from']>_0xf9acec)&&(_0x478db7={'from':_0xf9acec,'to':_0x31b03e});}),_0x478db7;}function foldExists(_0x503d57,_0x16b020,_0x251096){let _0x62e3=!0x1;return _0x503d57['between'](_0x16b020,_0x16b020,(_0x21e4e0,_0x2b98db)=>{_0x21e4e0==_0x16b020&&_0x2b98db==_0x251096&&(_0x62e3=!0x0);}),_0x62e3;}function _0x1a71b5(_0x27018a,_0x5632cb){return _0x27018a['field'](foldState,!0x1)?_0x5632cb:_0x5632cb['concat'](StateEffect['appendConfig']['of'](_0x2e5686()));}const _0x377f11=_0x2917b8=>{for(let _0x323b58 of selectedLines(_0x2917b8)){let _0x45a5c0=_0x486a1b(_0x2917b8['state'],_0x323b58['from'],_0x323b58['to']);if(_0x45a5c0)return _0x2917b8['dispatch']({'effects':_0x1a71b5(_0x2917b8['state'],[foldEffect['of'](_0x45a5c0),_0x5320ea(_0x2917b8,_0x45a5c0)])}),!0x0;}return!0x1;},_0x8d1ce9=_0x356222=>{if(!_0x356222['state']['field'](foldState,!0x1))return!0x1;let _0x238fe6=[];for(let _0x378233 of selectedLines(_0x356222)){let _0x3bc396=_0x2936e3(_0x356222['state'],_0x378233['from'],_0x378233['to']);_0x3bc396&&_0x238fe6['push'](unfoldEffect['of'](_0x3bc396),_0x5320ea(_0x356222,_0x3bc396,!0x1));}return _0x238fe6['length']&&_0x356222['dispatch']({'effects':_0x238fe6}),_0x238fe6['length']>0x0;};function _0x5320ea(_0x5496b1,_0x1400ac,_0x39cb8c=!0x0){let _0x549034=_0x5496b1['state']['doc']['lineAt'](_0x1400ac['from'])['number'],_0x1ef042=_0x5496b1['state']['doc']['lineAt'](_0x1400ac['to'])['number'];return EditorView['announce']['of'](_0x5496b1['state']['phrase'](_0x39cb8c?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x549034+'\x20'+_0x5496b1['state']['phrase']('to')+'\x20'+_0x1ef042+'.');}const _0x5ed029=_0x26d629=>{let {state:_0x224b82}=_0x26d629,_0x545661=[];for(let _0x38e48c=0x0;_0x38e48c<_0x224b82['doc']['length'];){let _0x2dfc2e=_0x26d629['lineBlockAt'](_0x38e48c),_0x10b478=_0x486a1b(_0x224b82,_0x2dfc2e['from'],_0x2dfc2e['to']);_0x10b478&&_0x545661['push'](foldEffect['of'](_0x10b478)),_0x38e48c=(_0x10b478?_0x26d629['lineBlockAt'](_0x10b478['to']):_0x2dfc2e)['to']+0x1;}return _0x545661['length']&&_0x26d629['dispatch']({'effects':_0x1a71b5(_0x26d629['state'],_0x545661)}),!!_0x545661['length'];},_0x46f2ed=_0x50dec9=>{let _0x443172=_0x50dec9['state']['field'](foldState,!0x1);if(!_0x443172||!_0x443172['size'])return!0x1;let _0x222037=[];return _0x443172['between'](0x0,_0x50dec9['state']['doc']['length'],(_0x5dcc3d,_0x4e8802)=>{_0x222037['push'](unfoldEffect['of']({'from':_0x5dcc3d,'to':_0x4e8802}));}),_0x50dec9['dispatch']({'effects':_0x222037}),!0x0;},_0x81f15a=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0x377f11},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0x8d1ce9},{'key':'Ctrl-Alt-[','run':_0x5ed029},{'key':'Ctrl-Alt-]','run':_0x46f2ed}],defaultConfig={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},_0x5e9eaa=Facet['define']({'combine':_0x3a3af1=>_0x280ccf(_0x3a3af1,defaultConfig)});function _0x2e5686(_0x34ffd7){return[foldState,_0x5c571e];}function widgetToDOM(_0x4bb227,_0x59d9bf){let {state:_0xb99020}=_0x4bb227,_0x279d2e=_0xb99020['facet'](_0x5e9eaa),_0x521305=_0x40c9d8=>{let _0x666a4=_0x4bb227['lineBlockAt'](_0x4bb227['posAtDOM'](_0x40c9d8['target'])),_0x32e527=_0x2936e3(_0x4bb227['state'],_0x666a4['from'],_0x666a4['to']);_0x32e527&&_0x4bb227['dispatch']({'effects':unfoldEffect['of'](_0x32e527)}),_0x40c9d8['preventDefault']();};if(_0x279d2e['placeholderDOM'])return _0x279d2e['placeholderDOM'](_0x4bb227,_0x521305,_0x59d9bf);let _0xf5d23c=document['createElement']('span');return _0xf5d23c['textContent']=_0x279d2e['placeholderText'],_0xf5d23c['setAttribute']('aria-label',_0xb99020['phrase']('folded\x20code')),_0xf5d23c['title']=_0xb99020['phrase']('unfold'),_0xf5d23c['className']='cm-foldPlaceholder',_0xf5d23c['onclick']=_0x521305,_0xf5d23c;}const foldWidget=Decoration['replace']({'widget':new class extends WidgetType{['toDOM'](_0x3bdbbc){return widgetToDOM(_0x3bdbbc,null);}}()});class PreparedFoldWidget extends WidgetType{constructor(_0x576a2e){super(),this['value']=_0x576a2e;}['eq'](_0x4c88a6){return this['value']==_0x4c88a6['value'];}['toDOM'](_0x54a8c6){return widgetToDOM(_0x54a8c6,this['value']);}}const foldGutterDefaults={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};class _0x41b4a6 extends GutterMarker{constructor(_0x5cef1f,_0x2d66c){super(),this['config']=_0x5cef1f,this['open']=_0x2d66c;}['eq'](_0x533c35){return this['config']==_0x533c35['config']&&this['open']==_0x533c35['open'];}['toDOM'](_0x332fe8){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x2f3c65=document['createElement']('span');return _0x2f3c65['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x2f3c65['title']=_0x332fe8['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x2f3c65;}}function foldGutter(_0x258a5a={}){let _0x26e490={...foldGutterDefaults,..._0x258a5a},_0x55c0d2=new _0x41b4a6(_0x26e490,!0x0),_0x42ecd2=new _0x41b4a6(_0x26e490,!0x1),_0x735aba=_0x3d5509['fromClass'](class{constructor(_0x46b2aa){this['from']=_0x46b2aa['viewport']['from'],this['markers']=this['buildMarkers'](_0x46b2aa);}['update'](_0x32bce0){(_0x32bce0['docChanged']||_0x32bce0['viewportChanged']||_0x32bce0['startState']['facet'](_0x13727d)!=_0x32bce0['state']['facet'](_0x13727d)||_0x32bce0['startState']['field'](foldState,!0x1)!=_0x32bce0['state']['field'](foldState,!0x1)||syntaxTree(_0x32bce0['startState'])!=syntaxTree(_0x32bce0['state'])||_0x26e490['foldingChanged'](_0x32bce0))&&(this['markers']=this['buildMarkers'](_0x32bce0['view']));}['buildMarkers'](_0x317268){let _0x3be0ee=new RangeSetBuilder();for(let _0x5a965c of _0x317268['viewportLineBlocks']){let _0x59af81=_0x2936e3(_0x317268['state'],_0x5a965c['from'],_0x5a965c['to'])?_0x42ecd2:_0x486a1b(_0x317268['state'],_0x5a965c['from'],_0x5a965c['to'])?_0x55c0d2:null;_0x59af81&&_0x3be0ee['add'](_0x5a965c['from'],_0x5a965c['from'],_0x59af81);}return _0x3be0ee['finish']();}}),{domEventHandlers:_0x383689}=_0x26e490;return[_0x735aba,gutter({'class':'cm-foldGutter','markers'(_0x6ee639){var _0x39c9b2;return(null===(_0x39c9b2=_0x6ee639['plugin'](_0x735aba))||void 0x0===_0x39c9b2?void 0x0:_0x39c9b2['markers'])||RangeSet['empty'];},'initialSpacer':()=>new _0x41b4a6(_0x26e490,!0x1),'domEventHandlers':{..._0x383689,'click':(_0x43ae7e,_0x4e4152,_0x5994a6)=>{if(_0x383689['click']&&_0x383689['click'](_0x43ae7e,_0x4e4152,_0x5994a6))return!0x0;let _0x1159f0=_0x2936e3(_0x43ae7e['state'],_0x4e4152['from'],_0x4e4152['to']);if(_0x1159f0)return _0x43ae7e['dispatch']({'effects':unfoldEffect['of'](_0x1159f0)}),!0x0;let _0x5f125e=_0x486a1b(_0x43ae7e['state'],_0x4e4152['from'],_0x4e4152['to']);return!!_0x5f125e&&(_0x43ae7e['dispatch']({'effects':foldEffect['of'](_0x5f125e)}),!0x0);}}}),_0x2e5686()];}const _0x5c571e=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(_0x45564b,_0x437f13){let _0x43947e;function _0x390e4b(_0x137c98){let _0x30480a=StyleModule['newName']();return(_0x43947e||(_0x43947e=Object['create'](null)))['.'+_0x30480a]=_0x137c98,_0x30480a;}this['specs']=_0x45564b;const _0x2cbefb='string'==typeof _0x437f13['all']?_0x437f13['all']:_0x437f13['all']?_0x390e4b(_0x437f13['all']):void 0x0,_0x179b0e=_0x437f13['scope'];this['scope']=_0x179b0e instanceof _0x4880ed?_0x29aec2=>_0x29aec2['prop'](languageDataProp)==_0x179b0e['data']:_0x179b0e?_0x22d5f5=>_0x22d5f5==_0x179b0e:void 0x0,this['style']=tagHighlighter(_0x45564b['map'](_0x187ad5=>({'tag':_0x187ad5['tag'],'class':_0x187ad5['class']||_0x390e4b(Object['assign']({},_0x187ad5,{'tag':null}))})),{'all':_0x2cbefb})['style'],this['module']=_0x43947e?new StyleModule(_0x43947e):null,this['themeType']=_0x437f13['themeType'];}static['define'](_0x3cf5d3,_0x16796a){return new HighlightStyle(_0x3cf5d3,_0x16796a||{});}}const highlighterFacet=Facet['define'](),fallbackHighlighter=Facet['define']({'combine':_0x59273c=>_0x59273c['length']?[_0x59273c[0x0]]:null});function getHighlighters(_0x3c46c6){let _0x5c9f6b=_0x3c46c6['facet'](highlighterFacet);return _0x5c9f6b['length']?_0x5c9f6b:_0x3c46c6['facet'](fallbackHighlighter);}function syntaxHighlighting(_0xe78b43,_0x52305f){let _0x581e31,_0x2c9ad9=[treeHighlighter];return _0xe78b43 instanceof HighlightStyle&&(_0xe78b43['module']&&_0x2c9ad9['push'](EditorView['styleModule']['of'](_0xe78b43['module'])),_0x581e31=_0xe78b43['themeType']),(null==_0x52305f?void 0x0:_0x52305f['fallback'])?_0x2c9ad9['push'](fallbackHighlighter['of'](_0xe78b43)):_0x581e31?_0x2c9ad9['push'](highlighterFacet['computeN']([EditorView['darkTheme']],_0x4e5834=>_0x4e5834['facet'](EditorView['darkTheme'])==('dark'==_0x581e31)?[_0xe78b43]:[])):_0x2c9ad9['push'](highlighterFacet['of'](_0xe78b43)),_0x2c9ad9;}class TreeHighlighter{constructor(_0x3944c7){this['markCache']=Object['create'](null),this['tree']=syntaxTree(_0x3944c7['state']),this['decorations']=this['buildDeco'](_0x3944c7,getHighlighters(_0x3944c7['state'])),this['decoratedTo']=_0x3944c7['viewport']['to'];}['update'](_0x3996db){let _0x376195=syntaxTree(_0x3996db['state']),_0xf51816=getHighlighters(_0x3996db['state']),_0x13d0e7=_0xf51816!=getHighlighters(_0x3996db['startState']),{viewport:_0x369fae}=_0x3996db['view'],_0x1f36b2=_0x3996db['changes']['mapPos'](this['decoratedTo'],0x1);_0x376195['length']<_0x369fae['to']&&!_0x13d0e7&&_0x376195['type']==this['tree']['type']&&_0x1f36b2>=_0x369fae['to']?(this['decorations']=this['decorations']['map'](_0x3996db['changes']),this['decoratedTo']=_0x1f36b2):(_0x376195!=this['tree']||_0x3996db['viewportChanged']||_0x13d0e7)&&(this['tree']=_0x376195,this['decorations']=this['buildDeco'](_0x3996db['view'],_0xf51816),this['decoratedTo']=_0x369fae['to']);}['buildDeco'](_0x324c05,_0x291aa1){if(!_0x291aa1||!this['tree']['length'])return Decoration['none'];let _0x57ad48=new RangeSetBuilder();for(let {from:_0x49b78a,to:_0xe0e12b}of _0x324c05['visibleRanges'])highlightTree(this['tree'],_0x291aa1,(_0x1a9fd1,_0x277208,_0x21962a)=>{_0x57ad48['add'](_0x1a9fd1,_0x277208,this['markCache'][_0x21962a]||(this['markCache'][_0x21962a]=Decoration['mark']({'class':_0x21962a})));},_0x49b78a,_0xe0e12b);return _0x57ad48['finish']();}}const treeHighlighter=_0x5510a7['high'](_0x3d5509['fromClass'](TreeHighlighter,{'decorations':_0x1b2b95=>_0x1b2b95['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'}]),_0x158f6e=EditorView['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),DefaultScanDist=0x2710,DefaultBrackets='()[]{}',bracketMatchingConfig=Facet['define']({'combine':_0x2e447e=>_0x280ccf(_0x2e447e,{'afterCursor':!0x0,'brackets':DefaultBrackets,'maxScanDistance':DefaultScanDist,'renderMatch':defaultRenderMatch})}),matchingMark=Decoration['mark']({'class':'cm-matchingBracket'}),nonmatchingMark=Decoration['mark']({'class':'cm-nonmatchingBracket'});function defaultRenderMatch(_0x78a1f2){let _0x189a0e=[],_0x5a26e2=_0x78a1f2['matched']?matchingMark:nonmatchingMark;return _0x189a0e['push'](_0x5a26e2['range'](_0x78a1f2['start']['from'],_0x78a1f2['start']['to'])),_0x78a1f2['end']&&_0x189a0e['push'](_0x5a26e2['range'](_0x78a1f2['end']['from'],_0x78a1f2['end']['to'])),_0x189a0e;}const bracketMatchingState=StateField['define']({'create':()=>Decoration['none'],'update'(_0x5b835a,_0x46d947){if(!_0x46d947['docChanged']&&!_0x46d947['selection'])return _0x5b835a;let _0x2a1fda=[],_0x39b264=_0x46d947['state']['facet'](bracketMatchingConfig);for(let _0x4428d4 of _0x46d947['state']['selection']['ranges']){if(!_0x4428d4['empty'])continue;let _0x2c07b3=matchBrackets(_0x46d947['state'],_0x4428d4['head'],-0x1,_0x39b264)||_0x4428d4['head']>0x0&&matchBrackets(_0x46d947['state'],_0x4428d4['head']-0x1,0x1,_0x39b264)||_0x39b264['afterCursor']&&(matchBrackets(_0x46d947['state'],_0x4428d4['head'],0x1,_0x39b264)||_0x4428d4['head']<_0x46d947['state']['doc']['length']&&matchBrackets(_0x46d947['state'],_0x4428d4['head']+0x1,-0x1,_0x39b264));_0x2c07b3&&(_0x2a1fda=_0x2a1fda['concat'](_0x39b264['renderMatch'](_0x2c07b3,_0x46d947['state'])));}return Decoration['set'](_0x2a1fda,!0x0);},'provide':_0x2335b7=>EditorView['decorations']['from'](_0x2335b7)}),bracketMatchingUnique=[bracketMatchingState,_0x158f6e];function bracketMatching(_0x41da59={}){return[bracketMatchingConfig['of'](_0x41da59),bracketMatchingUnique];}const bracketMatchingHandle=new _0x5f3026();function matchingNodes(_0x248fdd,_0x49ff50,_0x109b70){let _0x2e940b=_0x248fdd['prop'](_0x49ff50<0x0?_0x5f3026['openedBy']:_0x5f3026['closedBy']);if(_0x2e940b)return _0x2e940b;if(0x1==_0x248fdd['name']['length']){let _0x1cc646=_0x109b70['indexOf'](_0x248fdd['name']);if(_0x1cc646>-0x1&&_0x1cc646%0x2==(_0x49ff50<0x0?0x1:0x0))return[_0x109b70[_0x1cc646+_0x49ff50]];}return null;}function _0x52b2f8(_0x442433){let _0x4d4d47=_0x442433['type']['prop'](bracketMatchingHandle);return _0x4d4d47?_0x4d4d47(_0x442433['node']):_0x442433;}function matchBrackets(_0x27da73,_0x166d7c,_0x2a38d9,_0x308429={}){let _0x501d31=_0x308429['maxScanDistance']||DefaultScanDist,_0x28d84f=_0x308429['brackets']||DefaultBrackets,_0x25ec71=syntaxTree(_0x27da73),_0x1a6e3f=_0x25ec71['resolveInner'](_0x166d7c,_0x2a38d9);for(let _0x298054=_0x1a6e3f;_0x298054;_0x298054=_0x298054['parent']){let _0x53d952=matchingNodes(_0x298054['type'],_0x2a38d9,_0x28d84f);if(_0x53d952&&_0x298054['from']<_0x298054['to']){let _0x5b5e7d=_0x52b2f8(_0x298054);if(_0x5b5e7d&&(_0x2a38d9>0x0?_0x166d7c>=_0x5b5e7d['from']&&_0x166d7c<_0x5b5e7d['to']:_0x166d7c>_0x5b5e7d['from']&&_0x166d7c<=_0x5b5e7d['to']))return matchMarkedBrackets(_0x27da73,_0x166d7c,_0x2a38d9,_0x298054,_0x5b5e7d,_0x53d952,_0x28d84f);}}return matchPlainBrackets(_0x27da73,_0x166d7c,_0x2a38d9,_0x25ec71,_0x1a6e3f['type'],_0x501d31,_0x28d84f);}function matchMarkedBrackets(_0x369be3,_0x4b094b,_0x361abd,_0x51891c,_0x534823,_0x3229d3,_0x47277f){let _0x3ac8b8=_0x51891c['parent'],_0x54f9f3={'from':_0x534823['from'],'to':_0x534823['to']},_0xf67581=0x0,_0x594c2d=null==_0x3ac8b8?void 0x0:_0x3ac8b8['cursor']();if(_0x594c2d&&(_0x361abd<0x0?_0x594c2d['childBefore'](_0x51891c['from']):_0x594c2d['childAfter'](_0x51891c['to'])))do{if(_0x361abd<0x0?_0x594c2d['to']<=_0x51891c['from']:_0x594c2d['from']>=_0x51891c['to']){if(0x0==_0xf67581&&_0x3229d3['indexOf'](_0x594c2d['type']['name'])>-0x1&&_0x594c2d['from']<_0x594c2d['to']){let _0x70e2c=_0x52b2f8(_0x594c2d);return{'start':_0x54f9f3,'end':_0x70e2c?{'from':_0x70e2c['from'],'to':_0x70e2c['to']}:void 0x0,'matched':!0x0};}if(matchingNodes(_0x594c2d['type'],_0x361abd,_0x47277f))_0xf67581++;else{if(matchingNodes(_0x594c2d['type'],-_0x361abd,_0x47277f)){if(0x0==_0xf67581){let _0x3261dd=_0x52b2f8(_0x594c2d);return{'start':_0x54f9f3,'end':_0x3261dd&&_0x3261dd['from']<_0x3261dd['to']?{'from':_0x3261dd['from'],'to':_0x3261dd['to']}:void 0x0,'matched':!0x1};}_0xf67581--;}}}}while(_0x361abd<0x0?_0x594c2d['prevSibling']():_0x594c2d['nextSibling']());return{'start':_0x54f9f3,'matched':!0x1};}function matchPlainBrackets(_0x4d7fc3,_0x373335,_0x3eaa72,_0x1d5ba1,_0x4e0f9f,_0x1e9a37,_0x536944){let _0x21a1a6=_0x3eaa72<0x0?_0x4d7fc3['sliceDoc'](_0x373335-0x1,_0x373335):_0x4d7fc3['sliceDoc'](_0x373335,_0x373335+0x1),_0x373c12=_0x536944['indexOf'](_0x21a1a6);if(_0x373c12<0x0||_0x373c12%0x2==0x0!=_0x3eaa72>0x0)return null;let _0x34061c={'from':_0x3eaa72<0x0?_0x373335-0x1:_0x373335,'to':_0x3eaa72>0x0?_0x373335+0x1:_0x373335},_0x3afb4a=_0x4d7fc3['doc']['iterRange'](_0x373335,_0x3eaa72>0x0?_0x4d7fc3['doc']['length']:0x0),_0x3aea9b=0x0;for(let _0x33308b=0x0;!_0x3afb4a['next']()['done']&&_0x33308b<=_0x1e9a37;){let _0x35c59a=_0x3afb4a['value'];_0x3eaa72<0x0&&(_0x33308b+=_0x35c59a['length']);let _0x2e7c94=_0x373335+_0x33308b*_0x3eaa72;for(let _0x56b1b0=_0x3eaa72>0x0?0x0:_0x35c59a['length']-0x1,_0x302c1b=_0x3eaa72>0x0?_0x35c59a['length']:-0x1;_0x56b1b0!=_0x302c1b;_0x56b1b0+=_0x3eaa72){let _0x1a8316=_0x536944['indexOf'](_0x35c59a[_0x56b1b0]);if(!(_0x1a8316<0x0||_0x1d5ba1['resolveInner'](_0x2e7c94+_0x56b1b0,0x1)['type']!=_0x4e0f9f)){if(_0x1a8316%0x2==0x0==_0x3eaa72>0x0)_0x3aea9b++;else{if(0x1==_0x3aea9b)return{'start':_0x34061c,'end':{'from':_0x2e7c94+_0x56b1b0,'to':_0x2e7c94+_0x56b1b0+0x1},'matched':_0x1a8316>>0x1==_0x373c12>>0x1};_0x3aea9b--;}}}_0x3eaa72>0x0&&(_0x33308b+=_0x35c59a['length']);}return _0x3afb4a['done']?{'start':_0x34061c,'matched':!0x1}:null;}const _0x34c69e=Object['create'](null),typeArray=[_0x5bfc6f['none']],_0x1e1435=[],_0x11c809=Object['create'](null),defaultTable=Object['create'](null);for(let [_0x1d6e25,_0x23e7d8]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[_0x1d6e25]=createTokenType(_0x34c69e,_0x23e7d8);function warnForPart(_0x220b3b,_0x5d3bd0){_0x1e1435['indexOf'](_0x220b3b)>-0x1||(_0x1e1435['push'](_0x220b3b),console['warn'](_0x5d3bd0));}function createTokenType(_0x13c1ea,_0x222f42){let _0x4139ed=[];for(let _0x3eed8d of _0x222f42['split']('\x20')){let _0x1a819c=[];for(let _0x1b1c61 of _0x3eed8d['split']('.')){let _0x506552=_0x13c1ea[_0x1b1c61]||tags$1[_0x1b1c61];_0x506552?'function'==typeof _0x506552?_0x1a819c['length']?_0x1a819c=_0x1a819c['map'](_0x506552):warnForPart(_0x1b1c61,'Modifier\x20'+_0x1b1c61+'\x20used\x20at\x20start\x20of\x20tag'):_0x1a819c['length']?warnForPart(_0x1b1c61,'Tag\x20'+_0x1b1c61+'\x20used\x20as\x20modifier'):_0x1a819c=Array['isArray'](_0x506552)?_0x506552:[_0x506552]:warnForPart(_0x1b1c61,'Unknown\x20highlighting\x20tag\x20'+_0x1b1c61);}for(let _0x58f64c of _0x1a819c)_0x4139ed['push'](_0x58f64c);}if(!_0x4139ed['length'])return 0x0;let _0x498dfe=_0x222f42['replace'](/ /g,'_'),_0x643dc9=_0x498dfe+'\x20'+_0x4139ed['map'](t=>t['id']),_0x3814a1=_0x11c809[_0x643dc9];if(_0x3814a1)return _0x3814a1['id'];let _0x5d5283=_0x11c809[_0x643dc9]=_0x5bfc6f['define']({'id':typeArray['length'],'name':_0x498dfe,'props':[styleTags({[_0x498dfe]:_0x4139ed})]});return typeArray['push'](_0x5d5283),_0x5d5283['id'];}Direction['RTL'],Direction['LTR'];const toggleComment=_0x13603d=>{let {state:_0x237963}=_0x13603d,_0x46ed5c=_0x237963['doc']['lineAt'](_0x237963['selection']['main']['from']),_0x1c99ae=getConfig(_0x13603d['state'],_0x46ed5c['from']);return _0x1c99ae['line']?toggleLineComment(_0x13603d):!!_0x1c99ae['block']&&toggleBlockCommentByLine(_0x13603d);};function _0x45eaae(_0x7dfbfb,_0x3fb9c8){return({state:_0x32810a,dispatch:_0x27fe2e})=>{if(_0x32810a['readOnly'])return!0x1;let _0x53e409=_0x7dfbfb(_0x3fb9c8,_0x32810a);return!!_0x53e409&&(_0x27fe2e(_0x32810a['update'](_0x53e409)),!0x0);};}const toggleLineComment=_0x45eaae(changeLineComment,0x0),toggleBlockComment=_0x45eaae(changeBlockComment,0x0),toggleBlockCommentByLine=_0x45eaae((_0x553618,_0xc31e2c)=>changeBlockComment(_0x553618,_0xc31e2c,selectedLineRanges(_0xc31e2c)),0x0);function getConfig(_0x28e5dd,_0x5ce2af){let _0x1969e9=_0x28e5dd['languageDataAt']('commentTokens',_0x5ce2af,0x1);return _0x1969e9['length']?_0x1969e9[0x0]:{};}const _0x4e46a1=0x32;function findBlockComment(_0x51126d,{open:_0xad4a39,close:_0x1a7a17},_0x38cb2d,_0x5b7f31){let _0x10e57f,_0x203703,_0xc301af=_0x51126d['sliceDoc'](_0x38cb2d-_0x4e46a1,_0x38cb2d),_0x12aa6c=_0x51126d['sliceDoc'](_0x5b7f31,_0x5b7f31+_0x4e46a1),_0x7f74d7=/\s*$/['exec'](_0xc301af)[0x0]['length'],_0x53db8e=/^\s*/['exec'](_0x12aa6c)[0x0]['length'],_0x5d11b0=_0xc301af['length']-_0x7f74d7;if(_0xc301af['slice'](_0x5d11b0-_0xad4a39['length'],_0x5d11b0)==_0xad4a39&&_0x12aa6c['slice'](_0x53db8e,_0x53db8e+_0x1a7a17['length'])==_0x1a7a17)return{'open':{'pos':_0x38cb2d-_0x7f74d7,'margin':_0x7f74d7&&0x1},'close':{'pos':_0x5b7f31+_0x53db8e,'margin':_0x53db8e&&0x1}};_0x5b7f31-_0x38cb2d<=0x2*_0x4e46a1?_0x10e57f=_0x203703=_0x51126d['sliceDoc'](_0x38cb2d,_0x5b7f31):(_0x10e57f=_0x51126d['sliceDoc'](_0x38cb2d,_0x38cb2d+_0x4e46a1),_0x203703=_0x51126d['sliceDoc'](_0x5b7f31-_0x4e46a1,_0x5b7f31));let _0x41b82d=/^\s*/['exec'](_0x10e57f)[0x0]['length'],_0x53d969=/\s*$/['exec'](_0x203703)[0x0]['length'],_0x52993f=_0x203703['length']-_0x53d969-_0x1a7a17['length'];return _0x10e57f['slice'](_0x41b82d,_0x41b82d+_0xad4a39['length'])==_0xad4a39&&_0x203703['slice'](_0x52993f,_0x52993f+_0x1a7a17['length'])==_0x1a7a17?{'open':{'pos':_0x38cb2d+_0x41b82d+_0xad4a39['length'],'margin':/\s/['test'](_0x10e57f['charAt'](_0x41b82d+_0xad4a39['length']))?0x1:0x0},'close':{'pos':_0x5b7f31-_0x53d969-_0x1a7a17['length'],'margin':/\s/['test'](_0x203703['charAt'](_0x52993f-0x1))?0x1:0x0}}:null;}function selectedLineRanges(_0x16933d){let _0x3f86ac=[];for(let _0x2069b2 of _0x16933d['selection']['ranges']){let _0x4be408=_0x16933d['doc']['lineAt'](_0x2069b2['from']),_0x44ec96=_0x2069b2['to']<=_0x4be408['to']?_0x4be408:_0x16933d['doc']['lineAt'](_0x2069b2['to']);_0x44ec96['from']>_0x4be408['from']&&_0x44ec96['from']==_0x2069b2['to']&&(_0x44ec96=_0x2069b2['to']==_0x4be408['to']+0x1?_0x4be408:_0x16933d['doc']['lineAt'](_0x2069b2['to']-0x1));let _0x5983af=_0x3f86ac['length']-0x1;_0x5983af>=0x0&&_0x3f86ac[_0x5983af]['to']>_0x4be408['from']?_0x3f86ac[_0x5983af]['to']=_0x44ec96['to']:_0x3f86ac['push']({'from':_0x4be408['from']+/^\s*/['exec'](_0x4be408['text'])[0x0]['length'],'to':_0x44ec96['to']});}return _0x3f86ac;}function changeBlockComment(_0x14c103,_0x84eade,_0x594344=_0x84eade['selection']['ranges']){let _0x4af903=_0x594344['map'](_0x3c38ef=>getConfig(_0x84eade,_0x3c38ef['from'])['block']);if(!_0x4af903['every'](_0x8c5bbd=>_0x8c5bbd))return null;let _0x3d6666=_0x594344['map']((_0x848b37,_0x4b0f49)=>findBlockComment(_0x84eade,_0x4af903[_0x4b0f49],_0x848b37['from'],_0x848b37['to']));if(0x2!=_0x14c103&&!_0x3d6666['every'](_0x449c6d=>_0x449c6d))return{'changes':_0x84eade['changes'](_0x594344['map']((_0x48f8a5,_0x3acd53)=>_0x3d6666[_0x3acd53]?[]:[{'from':_0x48f8a5['from'],'insert':_0x4af903[_0x3acd53]['open']+'\x20'},{'from':_0x48f8a5['to'],'insert':'\x20'+_0x4af903[_0x3acd53]['close']}]))};if(0x1!=_0x14c103&&_0x3d6666['some'](_0x195093=>_0x195093)){let _0x2ce91f=[];for(let _0x2649c4,_0x201194=0x0;_0x201194<_0x3d6666['length'];_0x201194++)if(_0x2649c4=_0x3d6666[_0x201194]){let _0x4f407d=_0x4af903[_0x201194],{open:_0x21706d,close:_0x4f088a}=_0x2649c4;_0x2ce91f['push']({'from':_0x21706d['pos']-_0x4f407d['open']['length'],'to':_0x21706d['pos']+_0x21706d['margin']},{'from':_0x4f088a['pos']-_0x4f088a['margin'],'to':_0x4f088a['pos']+_0x4f407d['close']['length']});}return{'changes':_0x2ce91f};}return null;}function changeLineComment(_0x21b581,_0x47cf30,_0xdf012b=_0x47cf30['selection']['ranges']){let _0x37a089=[],_0x11e82a=-0x1;for(let {from:_0x406f2a,to:_0x563cf8}of _0xdf012b){let _0x3f1185=_0x37a089['length'],_0x29010e=0x3b9aca00,_0x261342=getConfig(_0x47cf30,_0x406f2a)['line'];if(_0x261342){for(let _0x19265d=_0x406f2a;_0x19265d<=_0x563cf8;){let _0x430ca3=_0x47cf30['doc']['lineAt'](_0x19265d);if(_0x430ca3['from']>_0x11e82a&&(_0x406f2a==_0x563cf8||_0x563cf8>_0x430ca3['from'])){_0x11e82a=_0x430ca3['from'];let _0x4bbf72=/^\s*/['exec'](_0x430ca3['text'])[0x0]['length'],_0x204d6e=_0x4bbf72==_0x430ca3['length'],_0x182fbb=_0x430ca3['text']['slice'](_0x4bbf72,_0x4bbf72+_0x261342['length'])==_0x261342?_0x4bbf72:-0x1;_0x4bbf72<_0x430ca3['text']['length']&&_0x4bbf72<_0x29010e&&(_0x29010e=_0x4bbf72),_0x37a089['push']({'line':_0x430ca3,'comment':_0x182fbb,'token':_0x261342,'indent':_0x4bbf72,'empty':_0x204d6e,'single':!0x1});}_0x19265d=_0x430ca3['to']+0x1;}if(_0x29010e<0x3b9aca00){for(let _0x18c69d=_0x3f1185;_0x18c69d<_0x37a089['length'];_0x18c69d++)_0x37a089[_0x18c69d]['indent']<_0x37a089[_0x18c69d]['line']['text']['length']&&(_0x37a089[_0x18c69d]['indent']=_0x29010e);}_0x37a089['length']==_0x3f1185+0x1&&(_0x37a089[_0x3f1185]['single']=!0x0);}}if(0x2!=_0x21b581&&_0x37a089['some'](_0x47194e=>_0x47194e['comment']<0x0&&(!_0x47194e['empty']||_0x47194e['single']))){let _0x4b3fa3=[];for(let {line:_0x5b00aa,token:_0x256629,indent:_0x12a9df,empty:_0x3545fc,single:_0x680470}of _0x37a089)!_0x680470&&_0x3545fc||_0x4b3fa3['push']({'from':_0x5b00aa['from']+_0x12a9df,'insert':_0x256629+'\x20'});let _0x5f8124=_0x47cf30['changes'](_0x4b3fa3);return{'changes':_0x5f8124,'selection':_0x47cf30['selection']['map'](_0x5f8124,0x1)};}if(0x1!=_0x21b581&&_0x37a089['some'](_0x1806ee=>_0x1806ee['comment']>=0x0)){let _0x5c4238=[];for(let {line:_0x2e7ca8,comment:_0x5b0324,token:_0x4ccfe8}of _0x37a089)if(_0x5b0324>=0x0){let _0x295168=_0x2e7ca8['from']+_0x5b0324,_0x555d35=_0x295168+_0x4ccfe8['length'];'\x20'==_0x2e7ca8['text'][_0x555d35-_0x2e7ca8['from']]&&_0x555d35++,_0x5c4238['push']({'from':_0x295168,'to':_0x555d35});}return{'changes':_0x5c4238};}return null;}const fromHistory=Annotation['define'](),isolateHistory=Annotation['define'](),invertedEffects=Facet['define'](),historyConfig=Facet['define']({'combine':_0x4812f8=>_0x280ccf(_0x4812f8,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0x30bf08,_0x11b226)=>_0x11b226},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0x973bdf,_0x52e6fd)=>(_0x462839,_0x344a5b)=>_0x973bdf(_0x462839,_0x344a5b)||_0x52e6fd(_0x462839,_0x344a5b)})}),historyField_=StateField['define']({'create':()=>HistoryState['empty'],'update'(_0x4d136a,_0x3541ba){let _0x7760c8=_0x3541ba['state']['facet'](historyConfig),_0x30eba7=_0x3541ba['annotation'](fromHistory);if(_0x30eba7){let _0x28b46f=HistEvent['fromTransaction'](_0x3541ba,_0x30eba7['selection']),_0x397ee3=_0x30eba7['side'],_0x546466=0x0==_0x397ee3?_0x4d136a['undone']:_0x4d136a['done'];return _0x546466=_0x28b46f?updateBranch(_0x546466,_0x546466['length'],_0x7760c8['minDepth'],_0x28b46f):addSelection(_0x546466,_0x3541ba['startState']['selection']),new HistoryState(0x0==_0x397ee3?_0x30eba7['rest']:_0x546466,0x0==_0x397ee3?_0x546466:_0x30eba7['rest']);}let _0x56cd96=_0x3541ba['annotation'](isolateHistory);if('full'!=_0x56cd96&&'before'!=_0x56cd96||(_0x4d136a=_0x4d136a['isolate']()),!0x1===_0x3541ba['annotation'](Transaction['addToHistory']))return _0x3541ba['changes']['empty']?_0x4d136a:_0x4d136a['addMapping'](_0x3541ba['changes']['desc']);let _0x3fa30e=HistEvent['fromTransaction'](_0x3541ba),_0x2866d8=_0x3541ba['annotation'](Transaction['time']),_0x18ba5a=_0x3541ba['annotation'](Transaction['userEvent']);return _0x3fa30e?_0x4d136a=_0x4d136a['addChanges'](_0x3fa30e,_0x2866d8,_0x18ba5a,_0x7760c8,_0x3541ba):_0x3541ba['selection']&&(_0x4d136a=_0x4d136a['addSelection'](_0x3541ba['startState']['selection'],_0x2866d8,_0x18ba5a,_0x7760c8['newGroupDelay'])),'full'!=_0x56cd96&&'after'!=_0x56cd96||(_0x4d136a=_0x4d136a['isolate']()),_0x4d136a;},'toJSON':_0x2491ab=>({'done':_0x2491ab['done']['map'](_0x2505d6=>_0x2505d6['toJSON']()),'undone':_0x2491ab['undone']['map'](_0x502fbd=>_0x502fbd['toJSON']())}),'fromJSON':_0x321e26=>new HistoryState(_0x321e26['done']['map'](HistEvent['fromJSON']),_0x321e26['undone']['map'](HistEvent['fromJSON']))});function history(_0x141681={}){return[historyField_,historyConfig['of'](_0x141681),EditorView['domEventHandlers']({'beforeinput'(_0xd732af,_0x48f06a){let _0x387322='historyUndo'==_0xd732af['inputType']?_0x28c26e:'historyRedo'==_0xd732af['inputType']?_0x1dcc6c:null;return!!_0x387322&&(_0xd732af['preventDefault'](),_0x387322(_0x48f06a));}})];}function _0x17afeb(_0x297666,_0x3afb24){return function({state:_0x22fbd2,dispatch:_0x217daa}){if(!_0x3afb24&&_0x22fbd2['readOnly'])return!0x1;let _0x4d3eb4=_0x22fbd2['field'](historyField_,!0x1);if(!_0x4d3eb4)return!0x1;let _0x49626b=_0x4d3eb4['pop'](_0x297666,_0x22fbd2,_0x3afb24);return!!_0x49626b&&(_0x217daa(_0x49626b),!0x0);};}const _0x28c26e=_0x17afeb(0x0,!0x1),_0x1dcc6c=_0x17afeb(0x1,!0x1),undoSelection=_0x17afeb(0x0,!0x0),redoSelection=_0x17afeb(0x1,!0x0);class HistEvent{constructor(_0x374785,_0x34b421,_0x547815,_0x360ff9,_0x28da33){this['changes']=_0x374785,this['effects']=_0x34b421,this['mapped']=_0x547815,this['startSelection']=_0x360ff9,this['selectionsAfter']=_0x28da33;}['setSelAfter'](_0x20f908){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0x20f908);}['toJSON'](){var _0x8d8275,_0x545060,_0x33e4f6;return{'changes':null===(_0x8d8275=this['changes'])||void 0x0===_0x8d8275?void 0x0:_0x8d8275['toJSON'](),'mapped':null===(_0x545060=this['mapped'])||void 0x0===_0x545060?void 0x0:_0x545060['toJSON'](),'startSelection':null===(_0x33e4f6=this['startSelection'])||void 0x0===_0x33e4f6?void 0x0:_0x33e4f6['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x3315a6=>_0x3315a6['toJSON']())};}static['fromJSON'](_0x283ade){return new HistEvent(_0x283ade['changes']&&ChangeSet['fromJSON'](_0x283ade['changes']),[],_0x283ade['mapped']&&_0x53d4ba['fromJSON'](_0x283ade['mapped']),_0x283ade['startSelection']&&EditorSelection['fromJSON'](_0x283ade['startSelection']),_0x283ade['selectionsAfter']['map'](EditorSelection['fromJSON']));}static['fromTransaction'](_0x34b652,_0x5be288){let _0x2b563b=_0x39d476;for(let _0x3df541 of _0x34b652['startState']['facet'](invertedEffects)){let _0x214eda=_0x3df541(_0x34b652);_0x214eda['length']&&(_0x2b563b=_0x2b563b['concat'](_0x214eda));}return!_0x2b563b['length']&&_0x34b652['changes']['empty']?null:new HistEvent(_0x34b652['changes']['invert'](_0x34b652['startState']['doc']),_0x2b563b,void 0x0,_0x5be288||_0x34b652['startState']['selection'],_0x39d476);}static['selection'](_0x808914){return new HistEvent(void 0x0,_0x39d476,void 0x0,void 0x0,_0x808914);}}function updateBranch(_0x5777fd,_0x4bcfa4,_0x276934,_0x5178b9){let _0x44c956=_0x4bcfa4+0x1>_0x276934+0x14?_0x4bcfa4-_0x276934-0x1:0x0,_0x1a6308=_0x5777fd['slice'](_0x44c956,_0x4bcfa4);return _0x1a6308['push'](_0x5178b9),_0x1a6308;}function isAdjacent(_0x3ba4c7,_0x18df5c){let _0xe45860=[],_0x5a7f56=!0x1;return _0x3ba4c7['iterChangedRanges']((_0x4c7218,t)=>_0xe45860['push'](_0x4c7218,t)),_0x18df5c['iterChangedRanges']((_0x364fb7,_0x393496,_0x5627f7,t)=>{for(let _0x51e97f=0x0;_0x51e97f<_0xe45860['length'];){let _0x93ebfa=_0xe45860[_0x51e97f++],_0x2b271e=_0xe45860[_0x51e97f++];t>=_0x93ebfa&&_0x5627f7<=_0x2b271e&&(_0x5a7f56=!0x0);}}),_0x5a7f56;}function eqSelectionShape(_0x34a901,_0x2f3d4e){return _0x34a901['ranges']['length']==_0x2f3d4e['ranges']['length']&&0x0===_0x34a901['ranges']['filter']((_0x3c195f,_0x441b0e)=>_0x3c195f['empty']!=_0x2f3d4e['ranges'][_0x441b0e]['empty'])['length'];}function _0x42bc03(_0x40d294,_0x13097d){return _0x40d294['length']?_0x13097d['length']?_0x40d294['concat'](_0x13097d):_0x40d294:_0x13097d;}const _0x39d476=[],MaxSelectionsPerEvent=0xc8;function addSelection(_0x315c32,_0x2ae339){if(_0x315c32['length']){let _0x4ba6b8=_0x315c32[_0x315c32['length']-0x1],_0x1f9aa1=_0x4ba6b8['selectionsAfter']['slice'](Math['max'](0x0,_0x4ba6b8['selectionsAfter']['length']-MaxSelectionsPerEvent));return _0x1f9aa1['length']&&_0x1f9aa1[_0x1f9aa1['length']-0x1]['eq'](_0x2ae339)?_0x315c32:(_0x1f9aa1['push'](_0x2ae339),updateBranch(_0x315c32,_0x315c32['length']-0x1,0x3b9aca00,_0x4ba6b8['setSelAfter'](_0x1f9aa1)));}return[HistEvent['selection']([_0x2ae339])];}function popSelection(_0x229fc5){let _0x50fff0=_0x229fc5[_0x229fc5['length']-0x1],_0x5c815d=_0x229fc5['slice']();return _0x5c815d[_0x229fc5['length']-0x1]=_0x50fff0['setSelAfter'](_0x50fff0['selectionsAfter']['slice'](0x0,_0x50fff0['selectionsAfter']['length']-0x1)),_0x5c815d;}function _0x2f736f(_0x1cf6f8,_0x223ebb){if(!_0x1cf6f8['length'])return _0x1cf6f8;let _0x1df9b1=_0x1cf6f8['length'],_0x3f2a55=_0x39d476;for(;_0x1df9b1;){let _0x2bf464=mapEvent(_0x1cf6f8[_0x1df9b1-0x1],_0x223ebb,_0x3f2a55);if(_0x2bf464['changes']&&!_0x2bf464['changes']['empty']||_0x2bf464['effects']['length']){let _0x1a1366=_0x1cf6f8['slice'](0x0,_0x1df9b1);return _0x1a1366[_0x1df9b1-0x1]=_0x2bf464,_0x1a1366;}_0x223ebb=_0x2bf464['mapped'],_0x1df9b1--,_0x3f2a55=_0x2bf464['selectionsAfter'];}return _0x3f2a55['length']?[HistEvent['selection'](_0x3f2a55)]:_0x39d476;}function mapEvent(_0x5b170e,_0x56f693,_0x5ab214){let _0x442d4f=_0x42bc03(_0x5b170e['selectionsAfter']['length']?_0x5b170e['selectionsAfter']['map'](_0xa3bde2=>_0xa3bde2['map'](_0x56f693)):_0x39d476,_0x5ab214);if(!_0x5b170e['changes'])return HistEvent['selection'](_0x442d4f);let _0x314a6a=_0x5b170e['changes']['map'](_0x56f693),_0x5d3bca=_0x56f693['mapDesc'](_0x5b170e['changes'],!0x0),_0x21a989=_0x5b170e['mapped']?_0x5b170e['mapped']['composeDesc'](_0x5d3bca):_0x5d3bca;return new HistEvent(_0x314a6a,StateEffect['mapEffects'](_0x5b170e['effects'],_0x56f693),_0x21a989,_0x5b170e['startSelection']['map'](_0x5d3bca),_0x442d4f);}const joinableUserEvent=/^(input\.type|delete)($|\.)/;class HistoryState{constructor(_0x340565,_0x331105,_0x3f98b2=0x0,_0xe77c5d=void 0x0){this['done']=_0x340565,this['undone']=_0x331105,this['prevTime']=_0x3f98b2,this['prevUserEvent']=_0xe77c5d;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0x24dc5a,_0x3822c1,_0x4f1c1a,_0x6c2b23,_0x43e91c){let _0xa9ffb6=this['done'],_0x14a3fd=_0xa9ffb6[_0xa9ffb6['length']-0x1];return _0xa9ffb6=_0x14a3fd&&_0x14a3fd['changes']&&!_0x14a3fd['changes']['empty']&&_0x24dc5a['changes']&&(!_0x4f1c1a||joinableUserEvent['test'](_0x4f1c1a))&&(!_0x14a3fd['selectionsAfter']['length']&&_0x3822c1-this['prevTime']<_0x6c2b23['newGroupDelay']&&_0x6c2b23['joinToEvent'](_0x43e91c,isAdjacent(_0x14a3fd['changes'],_0x24dc5a['changes']))||'input.type.compose'==_0x4f1c1a)?updateBranch(_0xa9ffb6,_0xa9ffb6['length']-0x1,_0x6c2b23['minDepth'],new HistEvent(_0x24dc5a['changes']['compose'](_0x14a3fd['changes']),_0x42bc03(StateEffect['mapEffects'](_0x24dc5a['effects'],_0x14a3fd['changes']),_0x14a3fd['effects']),_0x14a3fd['mapped'],_0x14a3fd['startSelection'],_0x39d476)):updateBranch(_0xa9ffb6,_0xa9ffb6['length'],_0x6c2b23['minDepth'],_0x24dc5a),new HistoryState(_0xa9ffb6,_0x39d476,_0x3822c1,_0x4f1c1a);}['addSelection'](_0x5470a4,_0x1c6479,_0x574c71,_0x57d280){let _0xa6e4d6=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:_0x39d476;return _0xa6e4d6['length']>0x0&&_0x1c6479-this['prevTime']<_0x57d280&&_0x574c71==this['prevUserEvent']&&_0x574c71&&/^select($|\.)/['test'](_0x574c71)&&eqSelectionShape(_0xa6e4d6[_0xa6e4d6['length']-0x1],_0x5470a4)?this:new HistoryState(addSelection(this['done'],_0x5470a4),this['undone'],_0x1c6479,_0x574c71);}['addMapping'](_0x13dafb){return new HistoryState(_0x2f736f(this['done'],_0x13dafb),_0x2f736f(this['undone'],_0x13dafb),this['prevTime'],this['prevUserEvent']);}['pop'](_0x269806,_0x54bd3b,_0x1bc0f0){let _0x28725e=0x0==_0x269806?this['done']:this['undone'];if(0x0==_0x28725e['length'])return null;let _0x5cb841=_0x28725e[_0x28725e['length']-0x1],_0x3b4e05=_0x5cb841['selectionsAfter'][0x0]||_0x54bd3b['selection'];if(_0x1bc0f0&&_0x5cb841['selectionsAfter']['length'])return _0x54bd3b['update']({'selection':_0x5cb841['selectionsAfter'][_0x5cb841['selectionsAfter']['length']-0x1],'annotations':fromHistory['of']({'side':_0x269806,'rest':popSelection(_0x28725e),'selection':_0x3b4e05}),'userEvent':0x0==_0x269806?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x5cb841['changes']){let _0x589336=0x1==_0x28725e['length']?_0x39d476:_0x28725e['slice'](0x0,_0x28725e['length']-0x1);return _0x5cb841['mapped']&&(_0x589336=_0x2f736f(_0x589336,_0x5cb841['mapped'])),_0x54bd3b['update']({'changes':_0x5cb841['changes'],'selection':_0x5cb841['startSelection'],'effects':_0x5cb841['effects'],'annotations':fromHistory['of']({'side':_0x269806,'rest':_0x589336,'selection':_0x3b4e05}),'filter':!0x1,'userEvent':0x0==_0x269806?'undo':'redo','scrollIntoView':!0x0});}return null;}}HistoryState['empty']=new HistoryState(_0x39d476,_0x39d476);const historyKeymap=[{'key':'Mod-z','run':_0x28c26e,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':_0x1dcc6c,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':_0x1dcc6c,'preventDefault':!0x0},{'key':'Mod-u','run':undoSelection,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':redoSelection,'preventDefault':!0x0}];function updateSel(_0x21501d,_0xbe2a96){return EditorSelection['create'](_0x21501d['ranges']['map'](_0xbe2a96),_0x21501d['mainIndex']);}function setSel(_0x27047d,_0x59f178){return _0x27047d['update']({'selection':_0x59f178,'scrollIntoView':!0x0,'userEvent':'select'});}function _0xdf7114({state:_0x42a956,dispatch:_0x33d774},_0x3d7471){let _0x37bd22=updateSel(_0x42a956['selection'],_0x3d7471);return!_0x37bd22['eq'](_0x42a956['selection'],!0x0)&&(_0x33d774(setSel(_0x42a956,_0x37bd22)),!0x0);}function _0x2fe2c7(_0xcdc11b,_0x36787e){return EditorSelection['cursor'](_0x36787e?_0xcdc11b['to']:_0xcdc11b['from']);}function _0x25516b(_0x319752,_0x52d2e9){return _0xdf7114(_0x319752,_0x3d0c5e=>_0x3d0c5e['empty']?_0x319752['moveByChar'](_0x3d0c5e,_0x52d2e9):_0x2fe2c7(_0x3d0c5e,_0x52d2e9));}function ltrAtCursor(_0x11a522){return _0x11a522['textDirectionAt'](_0x11a522['state']['selection']['main']['head'])==Direction['LTR'];}const cursorCharLeft=_0x4d0d6d=>_0x25516b(_0x4d0d6d,!ltrAtCursor(_0x4d0d6d)),cursorCharRight=_0x4fc5f5=>_0x25516b(_0x4fc5f5,ltrAtCursor(_0x4fc5f5));function _0x3bf34f(_0x9f41f7,_0x2defa4){return _0xdf7114(_0x9f41f7,_0x596d58=>_0x596d58['empty']?_0x9f41f7['moveByGroup'](_0x596d58,_0x2defa4):_0x2fe2c7(_0x596d58,_0x2defa4));}const cursorGroupLeft=_0x42b6b5=>_0x3bf34f(_0x42b6b5,!ltrAtCursor(_0x42b6b5)),cursorGroupRight=_0x18caa8=>_0x3bf34f(_0x18caa8,ltrAtCursor(_0x18caa8));function interestingNode(_0xa3492a,_0x104ed1,_0x46b4b2){if(_0x104ed1['type']['prop'](_0x46b4b2))return!0x0;let _0x226da4=_0x104ed1['to']-_0x104ed1['from'];return _0x226da4&&(_0x226da4>0x2||/[^\s,.;:]/['test'](_0xa3492a['sliceDoc'](_0x104ed1['from'],_0x104ed1['to'])))||_0x104ed1['firstChild'];}function moveBySyntax(_0xc0b78,_0x38b0d0,_0x15a02c){let _0x313b19,_0x11d619,_0x3ef30a=syntaxTree(_0xc0b78)['resolveInner'](_0x38b0d0['head']),_0x6a209c=_0x15a02c?_0x5f3026['closedBy']:_0x5f3026['openedBy'];for(let _0x4f4b2b=_0x38b0d0['head'];;){let _0x3035d9=_0x15a02c?_0x3ef30a['childAfter'](_0x4f4b2b):_0x3ef30a['childBefore'](_0x4f4b2b);if(!_0x3035d9)break;interestingNode(_0xc0b78,_0x3035d9,_0x6a209c)?_0x3ef30a=_0x3035d9:_0x4f4b2b=_0x15a02c?_0x3035d9['to']:_0x3035d9['from'];}return _0x11d619=_0x3ef30a['type']['prop'](_0x6a209c)&&(_0x313b19=_0x15a02c?matchBrackets(_0xc0b78,_0x3ef30a['from'],0x1):matchBrackets(_0xc0b78,_0x3ef30a['to'],-0x1))&&_0x313b19['matched']?_0x15a02c?_0x313b19['end']['to']:_0x313b19['end']['from']:_0x15a02c?_0x3ef30a['to']:_0x3ef30a['from'],EditorSelection['cursor'](_0x11d619,_0x15a02c?-0x1:0x1);}const cursorSyntaxLeft=_0x10b524=>_0xdf7114(_0x10b524,_0x293057=>moveBySyntax(_0x10b524['state'],_0x293057,!ltrAtCursor(_0x10b524))),cursorSyntaxRight=_0x40e2f8=>_0xdf7114(_0x40e2f8,_0x55fd8c=>moveBySyntax(_0x40e2f8['state'],_0x55fd8c,ltrAtCursor(_0x40e2f8)));function _0x57bbbb(_0x464d60,_0x2c7662){return _0xdf7114(_0x464d60,_0x346da0=>{if(!_0x346da0['empty'])return _0x2fe2c7(_0x346da0,_0x2c7662);let _0x4ca45a=_0x464d60['moveVertically'](_0x346da0,_0x2c7662);return _0x4ca45a['head']!=_0x346da0['head']?_0x4ca45a:_0x464d60['moveToLineBoundary'](_0x346da0,_0x2c7662);});}const _0x492184=_0x30548c=>_0x57bbbb(_0x30548c,!0x1),_0x8528b=_0x2ce7a6=>_0x57bbbb(_0x2ce7a6,!0x0);function _0x1fc594(_0x511c65){let _0x3d5d59,_0x1d6de7=_0x511c65['scrollDOM']['clientHeight']<_0x511c65['scrollDOM']['scrollHeight']-0x2,_0x2cea29=0x0,_0x2ca559=0x0;if(_0x1d6de7){for(let _0x58ca7a of _0x511c65['state']['facet'](EditorView['scrollMargins'])){let _0x1d0196=_0x58ca7a(_0x511c65);(null==_0x1d0196?void 0x0:_0x1d0196['top'])&&(_0x2cea29=Math['max'](null==_0x1d0196?void 0x0:_0x1d0196['top'],_0x2cea29)),(null==_0x1d0196?void 0x0:_0x1d0196['bottom'])&&(_0x2ca559=Math['max'](null==_0x1d0196?void 0x0:_0x1d0196['bottom'],_0x2ca559));}_0x3d5d59=_0x511c65['scrollDOM']['clientHeight']-_0x2cea29-_0x2ca559;}else _0x3d5d59=(_0x511c65['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0x2cea29,'marginBottom':_0x2ca559,'selfScroll':_0x1d6de7,'height':Math['max'](_0x511c65['defaultLineHeight'],_0x3d5d59-0x5)};}function _0x11ecb8(_0xf6f851,_0x3b7dbd){let _0x5cbe50,_0x5f34f5=_0x1fc594(_0xf6f851),{state:_0x4461e5}=_0xf6f851,_0x3a26f2=updateSel(_0x4461e5['selection'],_0x12cab1=>_0x12cab1['empty']?_0xf6f851['moveVertically'](_0x12cab1,_0x3b7dbd,_0x5f34f5['height']):_0x2fe2c7(_0x12cab1,_0x3b7dbd));if(_0x3a26f2['eq'](_0x4461e5['selection']))return!0x1;if(_0x5f34f5['selfScroll']){let _0x239d39=_0xf6f851['coordsAtPos'](_0x4461e5['selection']['main']['head']),_0x1fbbbc=_0xf6f851['scrollDOM']['getBoundingClientRect'](),_0x411682=_0x1fbbbc['top']+_0x5f34f5['marginTop'],_0x447353=_0x1fbbbc['bottom']-_0x5f34f5['marginBottom'];_0x239d39&&_0x239d39['top']>_0x411682&&_0x239d39['bottom']<_0x447353&&(_0x5cbe50=EditorView['scrollIntoView'](_0x3a26f2['main']['head'],{'y':'start','yMargin':_0x239d39['top']-_0x411682}));}return _0xf6f851['dispatch'](setSel(_0x4461e5,_0x3a26f2),{'effects':_0x5cbe50}),!0x0;}const _0x488f7e=_0x17c7da=>_0x11ecb8(_0x17c7da,!0x1),_0x100bda=_0x4fc9d3=>_0x11ecb8(_0x4fc9d3,!0x0);function _0x2633ac(_0x45e3d9,_0x5aad40,_0x3bcf29){let _0x1730d2=_0x45e3d9['lineBlockAt'](_0x5aad40['head']),_0x14016c=_0x45e3d9['moveToLineBoundary'](_0x5aad40,_0x3bcf29);if(_0x14016c['head']==_0x5aad40['head']&&_0x14016c['head']!=(_0x3bcf29?_0x1730d2['to']:_0x1730d2['from'])&&(_0x14016c=_0x45e3d9['moveToLineBoundary'](_0x5aad40,_0x3bcf29,!0x1)),!_0x3bcf29&&_0x14016c['head']==_0x1730d2['from']&&_0x1730d2['length']){let _0x5f39c9=/^\s*/['exec'](_0x45e3d9['state']['sliceDoc'](_0x1730d2['from'],Math['min'](_0x1730d2['from']+0x64,_0x1730d2['to'])))[0x0]['length'];_0x5f39c9&&_0x5aad40['head']!=_0x1730d2['from']+_0x5f39c9&&(_0x14016c=EditorSelection['cursor'](_0x1730d2['from']+_0x5f39c9));}return _0x14016c;}const _0x2f2eb9=_0x43df21=>_0xdf7114(_0x43df21,_0x551d98=>_0x2633ac(_0x43df21,_0x551d98,!0x0)),_0x2e07ea=_0x227c1d=>_0xdf7114(_0x227c1d,_0x5d3495=>_0x2633ac(_0x227c1d,_0x5d3495,!0x1)),cursorLineBoundaryLeft=_0x40e254=>_0xdf7114(_0x40e254,_0x5ef9b2=>_0x2633ac(_0x40e254,_0x5ef9b2,!ltrAtCursor(_0x40e254))),cursorLineBoundaryRight=_0xbb6315=>_0xdf7114(_0xbb6315,_0x3e4c3b=>_0x2633ac(_0xbb6315,_0x3e4c3b,ltrAtCursor(_0xbb6315))),cursorLineStart=_0x4fff4f=>_0xdf7114(_0x4fff4f,_0x1d20c3=>EditorSelection['cursor'](_0x4fff4f['lineBlockAt'](_0x1d20c3['head'])['from'],0x1)),_0x3eebc4=_0x12cf05=>_0xdf7114(_0x12cf05,_0x3c36d2=>EditorSelection['cursor'](_0x12cf05['lineBlockAt'](_0x3c36d2['head'])['to'],-0x1));function toMatchingBracket(_0x42222e,_0x10c52b,_0x1dabfb){let _0x2fa205=!0x1,_0x1b6379=updateSel(_0x42222e['selection'],_0x4763c3=>{let _0x15603f=matchBrackets(_0x42222e,_0x4763c3['head'],-0x1)||matchBrackets(_0x42222e,_0x4763c3['head'],0x1)||_0x4763c3['head']>0x0&&matchBrackets(_0x42222e,_0x4763c3['head']-0x1,0x1)||_0x4763c3['head']<_0x42222e['doc']['length']&&matchBrackets(_0x42222e,_0x4763c3['head']+0x1,-0x1);if(!_0x15603f||!_0x15603f['end'])return _0x4763c3;_0x2fa205=!0x0;let _0x54bb58=_0x15603f['start']['from']==_0x4763c3['head']?_0x15603f['end']['to']:_0x15603f['end']['from'];return EditorSelection['cursor'](_0x54bb58);});return!!_0x2fa205&&(_0x10c52b(setSel(_0x42222e,_0x1b6379)),!0x0);}const cursorMatchingBracket=({state:_0x98be90,dispatch:_0xf7d732})=>toMatchingBracket(_0x98be90,_0xf7d732);function extendSel(_0xf1a732,_0x757c7c){let _0x7d8ac7=updateSel(_0xf1a732['state']['selection'],_0x413526=>{let _0x1fc1a8=_0x757c7c(_0x413526);return EditorSelection['range'](_0x413526['anchor'],_0x1fc1a8['head'],_0x1fc1a8['goalColumn'],_0x1fc1a8['bidiLevel']||void 0x0);});return!_0x7d8ac7['eq'](_0xf1a732['state']['selection'])&&(_0xf1a732['dispatch'](setSel(_0xf1a732['state'],_0x7d8ac7)),!0x0);}function selectByChar(_0x393675,_0x4af979){return extendSel(_0x393675,_0x37f538=>_0x393675['moveByChar'](_0x37f538,_0x4af979));}const selectCharLeft=_0x140cd6=>selectByChar(_0x140cd6,!ltrAtCursor(_0x140cd6)),selectCharRight=_0x36368e=>selectByChar(_0x36368e,ltrAtCursor(_0x36368e));function selectByGroup(_0x4eccdd,_0x42b1d8){return extendSel(_0x4eccdd,_0x2ae9c1=>_0x4eccdd['moveByGroup'](_0x2ae9c1,_0x42b1d8));}const selectGroupLeft=_0x4a7cdf=>selectByGroup(_0x4a7cdf,!ltrAtCursor(_0x4a7cdf)),selectGroupRight=_0x2b721d=>selectByGroup(_0x2b721d,ltrAtCursor(_0x2b721d)),selectSyntaxLeft=_0xa0ade4=>extendSel(_0xa0ade4,_0x57ddfb=>moveBySyntax(_0xa0ade4['state'],_0x57ddfb,!ltrAtCursor(_0xa0ade4))),selectSyntaxRight=_0x37c4f4=>extendSel(_0x37c4f4,_0x11c1d8=>moveBySyntax(_0x37c4f4['state'],_0x11c1d8,ltrAtCursor(_0x37c4f4)));function selectByLine(_0xf7ca8a,_0x34fbac){return extendSel(_0xf7ca8a,_0x45c496=>_0xf7ca8a['moveVertically'](_0x45c496,_0x34fbac));}const selectLineUp=_0xc424aa=>selectByLine(_0xc424aa,!0x1),selectLineDown=_0xcf0ab=>selectByLine(_0xcf0ab,!0x0);function selectByPage(_0x397eaf,_0x286083){return extendSel(_0x397eaf,_0x4f20d2=>_0x397eaf['moveVertically'](_0x4f20d2,_0x286083,_0x1fc594(_0x397eaf)['height']));}const selectPageUp=_0x2182a0=>selectByPage(_0x2182a0,!0x1),selectPageDown=_0x2c9bd4=>selectByPage(_0x2c9bd4,!0x0),selectLineBoundaryForward=_0x59f9b2=>extendSel(_0x59f9b2,_0x574a75=>_0x2633ac(_0x59f9b2,_0x574a75,!0x0)),selectLineBoundaryBackward=_0x4967bf=>extendSel(_0x4967bf,_0x30900b=>_0x2633ac(_0x4967bf,_0x30900b,!0x1)),selectLineBoundaryLeft=_0x43058c=>extendSel(_0x43058c,_0x43d96d=>_0x2633ac(_0x43058c,_0x43d96d,!ltrAtCursor(_0x43058c))),selectLineBoundaryRight=_0xac87d9=>extendSel(_0xac87d9,_0x44ddcf=>_0x2633ac(_0xac87d9,_0x44ddcf,ltrAtCursor(_0xac87d9))),selectLineStart=_0x1808e2=>extendSel(_0x1808e2,_0x18ddb0=>EditorSelection['cursor'](_0x1808e2['lineBlockAt'](_0x18ddb0['head'])['from'])),selectLineEnd=_0x1ef9f9=>extendSel(_0x1ef9f9,_0x3ae2da=>EditorSelection['cursor'](_0x1ef9f9['lineBlockAt'](_0x3ae2da['head'])['to'])),cursorDocStart=({state:_0x58c163,dispatch:_0x29e521})=>(_0x29e521(setSel(_0x58c163,{'anchor':0x0})),!0x0),_0x18fb3d=({state:_0x406de2,dispatch:_0x21550a})=>(_0x21550a(setSel(_0x406de2,{'anchor':_0x406de2['doc']['length']})),!0x0),selectDocStart=({state:_0x399981,dispatch:_0x504a59})=>(_0x504a59(setSel(_0x399981,{'anchor':_0x399981['selection']['main']['anchor'],'head':0x0})),!0x0),selectDocEnd=({state:_0x10f15f,dispatch:_0x5df76c})=>(_0x5df76c(setSel(_0x10f15f,{'anchor':_0x10f15f['selection']['main']['anchor'],'head':_0x10f15f['doc']['length']})),!0x0),selectAll=({state:_0x1281c9,dispatch:_0x4c6fd8})=>(_0x4c6fd8(_0x1281c9['update']({'selection':{'anchor':0x0,'head':_0x1281c9['doc']['length']},'userEvent':'select'})),!0x0),selectLine=({state:_0x39b69b,dispatch:_0x34514d})=>{let _0x3175a7=selectedLineBlocks(_0x39b69b)['map'](({from:_0x46d159,to:_0x220ec5})=>EditorSelection['range'](_0x46d159,Math['min'](_0x220ec5+0x1,_0x39b69b['doc']['length'])));return _0x34514d(_0x39b69b['update']({'selection':EditorSelection['create'](_0x3175a7),'userEvent':'select'})),!0x0;},selectParentSyntax=({state:_0x5c60ed,dispatch:_0x1c6f4e})=>{let _0x521d6c=updateSel(_0x5c60ed['selection'],_0x343058=>{let _0x125f10=syntaxTree(_0x5c60ed),_0x3c08f8=_0x125f10['resolveStack'](_0x343058['from'],0x1);if(_0x343058['empty']){let _0x642cbd=_0x125f10['resolveStack'](_0x343058['from'],-0x1);_0x642cbd['node']['from']>=_0x3c08f8['node']['from']&&_0x642cbd['node']['to']<=_0x3c08f8['node']['to']&&(_0x3c08f8=_0x642cbd);}for(let _0x2f1f69=_0x3c08f8;_0x2f1f69;_0x2f1f69=_0x2f1f69['next']){let {node:_0x431e4c}=_0x2f1f69;if((_0x431e4c['from']<_0x343058['from']&&_0x431e4c['to']>=_0x343058['to']||_0x431e4c['to']>_0x343058['to']&&_0x431e4c['from']<=_0x343058['from'])&&_0x2f1f69['next'])return EditorSelection['range'](_0x431e4c['to'],_0x431e4c['from']);}return _0x343058;});return!_0x521d6c['eq'](_0x5c60ed['selection'])&&(_0x1c6f4e(setSel(_0x5c60ed,_0x521d6c)),!0x0);},simplifySelection=({state:_0x522f60,dispatch:_0x2116c6})=>{let _0x4f0714=_0x522f60['selection'],_0x18665d=null;return _0x4f0714['ranges']['length']>0x1?_0x18665d=EditorSelection['create']([_0x4f0714['main']]):_0x4f0714['main']['empty']||(_0x18665d=EditorSelection['create']([EditorSelection['cursor'](_0x4f0714['main']['head'])])),!!_0x18665d&&(_0x2116c6(setSel(_0x522f60,_0x18665d)),!0x0);};function deleteBy(_0x3bdb7e,_0x1d6058){if(_0x3bdb7e['state']['readOnly'])return!0x1;let _0x1f69c2='delete.selection',{state:_0x3b5e0d}=_0x3bdb7e,_0x48f067=_0x3b5e0d['changeByRange'](_0x5bbec4=>{let {from:_0x1f3996,to:_0x3417c3}=_0x5bbec4;if(_0x1f3996==_0x3417c3){let _0x3a42bb=_0x1d6058(_0x5bbec4);_0x3a42bb<_0x1f3996?(_0x1f69c2='delete.backward',_0x3a42bb=skipAtomic(_0x3bdb7e,_0x3a42bb,!0x1)):_0x3a42bb>_0x1f3996&&(_0x1f69c2='delete.forward',_0x3a42bb=skipAtomic(_0x3bdb7e,_0x3a42bb,!0x0)),_0x1f3996=Math['min'](_0x1f3996,_0x3a42bb),_0x3417c3=Math['max'](_0x3417c3,_0x3a42bb);}else _0x1f3996=skipAtomic(_0x3bdb7e,_0x1f3996,!0x1),_0x3417c3=skipAtomic(_0x3bdb7e,_0x3417c3,!0x0);return _0x1f3996==_0x3417c3?{'range':_0x5bbec4}:{'changes':{'from':_0x1f3996,'to':_0x3417c3},'range':EditorSelection['cursor'](_0x1f3996,_0x1f3996<_0x5bbec4['head']?-0x1:0x1)};});return!_0x48f067['changes']['empty']&&(_0x3bdb7e['dispatch'](_0x3b5e0d['update'](_0x48f067,{'scrollIntoView':!0x0,'userEvent':_0x1f69c2,'effects':'delete.selection'==_0x1f69c2?EditorView['announce']['of'](_0x3b5e0d['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function skipAtomic(_0x3d1ac3,_0x5cd61d,_0x544613){if(_0x3d1ac3 instanceof EditorView){for(let _0x376aee of _0x3d1ac3['state']['facet'](EditorView['atomicRanges'])['map'](_0x42107f=>_0x42107f(_0x3d1ac3)))_0x376aee['between'](_0x5cd61d,_0x5cd61d,(_0x529b56,_0x331d0a)=>{_0x529b56<_0x5cd61d&&_0x331d0a>_0x5cd61d&&(_0x5cd61d=_0x544613?_0x331d0a:_0x529b56);});}return _0x5cd61d;}const deleteByChar=(_0x5d7021,_0x2e7c6f,_0x12d72b)=>deleteBy(_0x5d7021,_0x4508d6=>{let _0x31f91e,_0x270faf,_0x2e17c0=_0x4508d6['from'],{state:_0x56e286}=_0x5d7021,_0x8ae878=_0x56e286['doc']['lineAt'](_0x2e17c0);if(_0x12d72b&&!_0x2e7c6f&&_0x2e17c0>_0x8ae878['from']&&_0x2e17c0<_0x8ae878['from']+0xc8&&!/[^ \t]/['test'](_0x31f91e=_0x8ae878['text']['slice'](0x0,_0x2e17c0-_0x8ae878['from']))){if('\x09'==_0x31f91e[_0x31f91e['length']-0x1])return _0x2e17c0-0x1;let _0x1b273b=countColumn(_0x31f91e,_0x56e286['tabSize'])%getIndentUnit(_0x56e286)||getIndentUnit(_0x56e286);for(let _0x149fd2=0x0;_0x149fd2<_0x1b273b&&'\x20'==_0x31f91e[_0x31f91e['length']-0x1-_0x149fd2];_0x149fd2++)_0x2e17c0--;_0x270faf=_0x2e17c0;}else _0x270faf=findClusterBreak(_0x8ae878['text'],_0x2e17c0-_0x8ae878['from'],_0x2e7c6f,_0x2e7c6f)+_0x8ae878['from'],_0x270faf==_0x2e17c0&&_0x8ae878['number']!=(_0x2e7c6f?_0x56e286['doc']['lines']:0x1)?_0x270faf+=_0x2e7c6f?0x1:-0x1:!_0x2e7c6f&&/[\ufe00-\ufe0f]/['test'](_0x8ae878['text']['slice'](_0x270faf-_0x8ae878['from'],_0x2e17c0-_0x8ae878['from']))&&(_0x270faf=findClusterBreak(_0x8ae878['text'],_0x270faf-_0x8ae878['from'],!0x1,!0x1)+_0x8ae878['from']);return _0x270faf;}),deleteCharBackward=_0x4be10c=>deleteByChar(_0x4be10c,!0x1,!0x0),deleteCharForward=_0x46506c=>deleteByChar(_0x46506c,!0x0,!0x1),deleteByGroup=(_0x483fe7,_0x156681)=>deleteBy(_0x483fe7,_0x2b7684=>{let _0x34ad7f=_0x2b7684['head'],{state:_0x1a7339}=_0x483fe7,_0x8a9b5d=_0x1a7339['doc']['lineAt'](_0x34ad7f),_0x48d4e1=_0x1a7339['charCategorizer'](_0x34ad7f);for(let _0x279345=null;;){if(_0x34ad7f==(_0x156681?_0x8a9b5d['to']:_0x8a9b5d['from'])){_0x34ad7f==_0x2b7684['head']&&_0x8a9b5d['number']!=(_0x156681?_0x1a7339['doc']['lines']:0x1)&&(_0x34ad7f+=_0x156681?0x1:-0x1);break;}let _0x4fa37e=findClusterBreak(_0x8a9b5d['text'],_0x34ad7f-_0x8a9b5d['from'],_0x156681)+_0x8a9b5d['from'],_0x700c77=_0x8a9b5d['text']['slice'](Math['min'](_0x34ad7f,_0x4fa37e)-_0x8a9b5d['from'],Math['max'](_0x34ad7f,_0x4fa37e)-_0x8a9b5d['from']),_0xc42053=_0x48d4e1(_0x700c77);if(null!=_0x279345&&_0xc42053!=_0x279345)break;'\x20'==_0x700c77&&_0x34ad7f==_0x2b7684['head']||(_0x279345=_0xc42053),_0x34ad7f=_0x4fa37e;}return _0x34ad7f;}),deleteGroupBackward=_0x17e34e=>deleteByGroup(_0x17e34e,!0x1),deleteGroupForward=_0x12120e=>deleteByGroup(_0x12120e,!0x0),deleteToLineEnd=_0x1f54b2=>deleteBy(_0x1f54b2,_0x4f90d=>{let _0x32a5ec=_0x1f54b2['lineBlockAt'](_0x4f90d['head'])['to'];return _0x4f90d['head']<_0x32a5ec?_0x32a5ec:Math['min'](_0x1f54b2['state']['doc']['length'],_0x4f90d['head']+0x1);}),deleteLineBoundaryBackward=_0x290bc9=>deleteBy(_0x290bc9,_0x3ffa7f=>{let _0x33a996=_0x290bc9['moveToLineBoundary'](_0x3ffa7f,!0x1)['head'];return _0x3ffa7f['head']>_0x33a996?_0x33a996:Math['max'](0x0,_0x3ffa7f['head']-0x1);}),deleteLineBoundaryForward=_0x1682a7=>deleteBy(_0x1682a7,_0xf59651=>{let _0x1d39ec=_0x1682a7['moveToLineBoundary'](_0xf59651,!0x0)['head'];return _0xf59651['head']<_0x1d39ec?_0x1d39ec:Math['min'](_0x1682a7['state']['doc']['length'],_0xf59651['head']+0x1);}),splitLine=({state:_0x574d11,dispatch:_0x1f530b})=>{if(_0x574d11['readOnly'])return!0x1;let _0xa54d72=_0x574d11['changeByRange'](_0x3bd42b=>({'changes':{'from':_0x3bd42b['from'],'to':_0x3bd42b['to'],'insert':Text['of'](['',''])},'range':EditorSelection['cursor'](_0x3bd42b['from'])}));return _0x1f530b(_0x574d11['update'](_0xa54d72,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;},transposeChars=({state:_0x4411d9,dispatch:_0x2c53cd})=>{if(_0x4411d9['readOnly'])return!0x1;let _0x1b0c6a=_0x4411d9['changeByRange'](_0x3aaa5d=>{if(!_0x3aaa5d['empty']||0x0==_0x3aaa5d['from']||_0x3aaa5d['from']==_0x4411d9['doc']['length'])return{'range':_0x3aaa5d};let _0x7903aa=_0x3aaa5d['from'],_0x674ae7=_0x4411d9['doc']['lineAt'](_0x7903aa),_0x339f06=_0x7903aa==_0x674ae7['from']?_0x7903aa-0x1:findClusterBreak(_0x674ae7['text'],_0x7903aa-_0x674ae7['from'],!0x1)+_0x674ae7['from'],_0x1ca1bc=_0x7903aa==_0x674ae7['to']?_0x7903aa+0x1:findClusterBreak(_0x674ae7['text'],_0x7903aa-_0x674ae7['from'],!0x0)+_0x674ae7['from'];return{'changes':{'from':_0x339f06,'to':_0x1ca1bc,'insert':_0x4411d9['doc']['slice'](_0x7903aa,_0x1ca1bc)['append'](_0x4411d9['doc']['slice'](_0x339f06,_0x7903aa))},'range':EditorSelection['cursor'](_0x1ca1bc)};});return!_0x1b0c6a['changes']['empty']&&(_0x2c53cd(_0x4411d9['update'](_0x1b0c6a,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);};function selectedLineBlocks(_0x1c0c8b){let _0x26fc8e=[],_0x520a75=-0x1;for(let _0x5c7910 of _0x1c0c8b['selection']['ranges']){let _0x20a8bc=_0x1c0c8b['doc']['lineAt'](_0x5c7910['from']),_0x296a3a=_0x1c0c8b['doc']['lineAt'](_0x5c7910['to']);if(_0x5c7910['empty']||_0x5c7910['to']!=_0x296a3a['from']||(_0x296a3a=_0x1c0c8b['doc']['lineAt'](_0x5c7910['to']-0x1)),_0x520a75>=_0x20a8bc['number']){let _0x210efe=_0x26fc8e[_0x26fc8e['length']-0x1];_0x210efe['to']=_0x296a3a['to'],_0x210efe['ranges']['push'](_0x5c7910);}else _0x26fc8e['push']({'from':_0x20a8bc['from'],'to':_0x296a3a['to'],'ranges':[_0x5c7910]});_0x520a75=_0x296a3a['number']+0x1;}return _0x26fc8e;}function _0x5ae5e7(_0x182749,_0x5eba38,_0x2c6ba6){if(_0x182749['readOnly'])return!0x1;let _0x595ed9=[],_0x3af226=[];for(let _0x423a16 of selectedLineBlocks(_0x182749)){if(_0x2c6ba6?_0x423a16['to']==_0x182749['doc']['length']:0x0==_0x423a16['from'])continue;let _0x12028a=_0x182749['doc']['lineAt'](_0x2c6ba6?_0x423a16['to']+0x1:_0x423a16['from']-0x1),_0x4e02e8=_0x12028a['length']+0x1;if(_0x2c6ba6){_0x595ed9['push']({'from':_0x423a16['to'],'to':_0x12028a['to']},{'from':_0x423a16['from'],'insert':_0x12028a['text']+_0x182749['lineBreak']});for(let _0x2f41f6 of _0x423a16['ranges'])_0x3af226['push'](EditorSelection['range'](Math['min'](_0x182749['doc']['length'],_0x2f41f6['anchor']+_0x4e02e8),Math['min'](_0x182749['doc']['length'],_0x2f41f6['head']+_0x4e02e8)));}else{_0x595ed9['push']({'from':_0x12028a['from'],'to':_0x423a16['from']},{'from':_0x423a16['to'],'insert':_0x182749['lineBreak']+_0x12028a['text']});for(let _0x13b566 of _0x423a16['ranges'])_0x3af226['push'](EditorSelection['range'](_0x13b566['anchor']-_0x4e02e8,_0x13b566['head']-_0x4e02e8));}}return!!_0x595ed9['length']&&(_0x5eba38(_0x182749['update']({'changes':_0x595ed9,'scrollIntoView':!0x0,'selection':EditorSelection['create'](_0x3af226,_0x182749['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}const _0x206909=({state:_0x5a09c9,dispatch:_0x2fb140})=>_0x5ae5e7(_0x5a09c9,_0x2fb140,!0x1),_0x57760f=({state:_0x428e15,dispatch:_0x2bb040})=>_0x5ae5e7(_0x428e15,_0x2bb040,!0x0);function _0x1131ff(_0x30523b,_0x5a6ee8,_0x4f6326){if(_0x30523b['readOnly'])return!0x1;let _0x2f98e4=[];for(let _0x310be1 of selectedLineBlocks(_0x30523b))_0x4f6326?_0x2f98e4['push']({'from':_0x310be1['from'],'insert':_0x30523b['doc']['slice'](_0x310be1['from'],_0x310be1['to'])+_0x30523b['lineBreak']}):_0x2f98e4['push']({'from':_0x310be1['to'],'insert':_0x30523b['lineBreak']+_0x30523b['doc']['slice'](_0x310be1['from'],_0x310be1['to'])});return _0x5a6ee8(_0x30523b['update']({'changes':_0x2f98e4,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const _0x41c06c=({state:_0x1746d7,dispatch:_0x10803c})=>_0x1131ff(_0x1746d7,_0x10803c,!0x1),_0x53c9ef=({state:_0x561549,dispatch:_0x54f879})=>_0x1131ff(_0x561549,_0x54f879,!0x0),deleteLine=_0x582c8e=>{if(_0x582c8e['state']['readOnly'])return!0x1;let {state:_0x2d578e}=_0x582c8e,_0x202aa8=_0x2d578e['changes'](selectedLineBlocks(_0x2d578e)['map'](({from:_0x4c19c3,to:_0x8d350d})=>(_0x4c19c3>0x0?_0x4c19c3--:_0x8d350d<_0x2d578e['doc']['length']&&_0x8d350d++,{'from':_0x4c19c3,'to':_0x8d350d}))),_0x1ef245=updateSel(_0x2d578e['selection'],_0x1ffe83=>{let _0x3458e8;if(_0x582c8e['lineWrapping']){let _0x1f9225=_0x582c8e['lineBlockAt'](_0x1ffe83['head']),_0x1b0f29=_0x582c8e['coordsAtPos'](_0x1ffe83['head'],_0x1ffe83['assoc']||0x1);_0x1b0f29&&(_0x3458e8=_0x1f9225['bottom']+_0x582c8e['documentTop']-_0x1b0f29['bottom']+_0x582c8e['defaultLineHeight']/0x2);}return _0x582c8e['moveVertically'](_0x1ffe83,!0x0,_0x3458e8);})['map'](_0x202aa8);return _0x582c8e['dispatch']({'changes':_0x202aa8,'selection':_0x1ef245,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;};function isBetweenBrackets(_0x37fd6f,_0xb5673){if(/\(\)|\[\]|\{\}/['test'](_0x37fd6f['sliceDoc'](_0xb5673-0x1,_0xb5673+0x1)))return{'from':_0xb5673,'to':_0xb5673};let _0x41d891,_0x30594a=syntaxTree(_0x37fd6f)['resolveInner'](_0xb5673),_0x2a0776=_0x30594a['childBefore'](_0xb5673),_0x25a82d=_0x30594a['childAfter'](_0xb5673);return _0x2a0776&&_0x25a82d&&_0x2a0776['to']<=_0xb5673&&_0x25a82d['from']>=_0xb5673&&(_0x41d891=_0x2a0776['type']['prop'](_0x5f3026['closedBy']))&&_0x41d891['indexOf'](_0x25a82d['name'])>-0x1&&_0x37fd6f['doc']['lineAt'](_0x2a0776['to'])['from']==_0x37fd6f['doc']['lineAt'](_0x25a82d['from'])['from']&&!/\S/['test'](_0x37fd6f['sliceDoc'](_0x2a0776['to'],_0x25a82d['from']))?{'from':_0x2a0776['to'],'to':_0x25a82d['from']}:null;}const insertNewlineAndIndent=newlineAndIndent(!0x1),insertBlankLine=newlineAndIndent(!0x0);function newlineAndIndent(_0x4ed5b9){return({state:_0x5ade8f,dispatch:_0x3342fa})=>{if(_0x5ade8f['readOnly'])return!0x1;let _0x2c6567=_0x5ade8f['changeByRange'](_0xa16975=>{let {from:_0x205871,to:_0x3dc1c6}=_0xa16975,_0xb5ec52=_0x5ade8f['doc']['lineAt'](_0x205871),_0x2f6f26=!_0x4ed5b9&&_0x205871==_0x3dc1c6&&isBetweenBrackets(_0x5ade8f,_0x205871);_0x4ed5b9&&(_0x205871=_0x3dc1c6=(_0x3dc1c6<=_0xb5ec52['to']?_0xb5ec52:_0x5ade8f['doc']['lineAt'](_0x3dc1c6))['to']);let _0x132cda=new IndentContext(_0x5ade8f,{'simulateBreak':_0x205871,'simulateDoubleBreak':!!_0x2f6f26}),_0x420184=getIndentation(_0x132cda,_0x205871);for(null==_0x420184&&(_0x420184=countColumn(/^\s*/['exec'](_0x5ade8f['doc']['lineAt'](_0x205871)['text'])[0x0],_0x5ade8f['tabSize']));_0x3dc1c6<_0xb5ec52['to']&&/\s/['test'](_0xb5ec52['text'][_0x3dc1c6-_0xb5ec52['from']]);)_0x3dc1c6++;_0x2f6f26?{from:_0x205871,to:_0x3dc1c6}=_0x2f6f26:_0x205871>_0xb5ec52['from']&&_0x205871<_0xb5ec52['from']+0x64&&!/\S/['test'](_0xb5ec52['text']['slice'](0x0,_0x205871))&&(_0x205871=_0xb5ec52['from']);let _0x5e84c5=['',indentString(_0x5ade8f,_0x420184)];return _0x2f6f26&&_0x5e84c5['push'](indentString(_0x5ade8f,_0x132cda['lineIndent'](_0xb5ec52['from'],-0x1))),{'changes':{'from':_0x205871,'to':_0x3dc1c6,'insert':Text['of'](_0x5e84c5)},'range':EditorSelection['cursor'](_0x205871+0x1+_0x5e84c5[0x1]['length'])};});return _0x3342fa(_0x5ade8f['update'](_0x2c6567,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function changeBySelectedLine(_0x4f770c,_0x84bde9){let _0x50d797=-0x1;return _0x4f770c['changeByRange'](_0x52865c=>{let _0x754ee2=[];for(let _0x53eddb=_0x52865c['from'];_0x53eddb<=_0x52865c['to'];){let _0x3fb816=_0x4f770c['doc']['lineAt'](_0x53eddb);_0x3fb816['number']>_0x50d797&&(_0x52865c['empty']||_0x52865c['to']>_0x3fb816['from'])&&(_0x84bde9(_0x3fb816,_0x754ee2,_0x52865c),_0x50d797=_0x3fb816['number']),_0x53eddb=_0x3fb816['to']+0x1;}let _0x321658=_0x4f770c['changes'](_0x754ee2);return{'changes':_0x754ee2,'range':EditorSelection['range'](_0x321658['mapPos'](_0x52865c['anchor'],0x1),_0x321658['mapPos'](_0x52865c['head'],0x1))};});}const indentSelection=({state:_0x1a5b5f,dispatch:_0x35b51e})=>{if(_0x1a5b5f['readOnly'])return!0x1;let _0x583e48=Object['create'](null),_0x1e48b3=new IndentContext(_0x1a5b5f,{'overrideIndentation':_0x38e05f=>{let _0x12b03d=_0x583e48[_0x38e05f];return null==_0x12b03d?-0x1:_0x12b03d;}}),_0x55248f=changeBySelectedLine(_0x1a5b5f,(_0x44527f,_0x202450,_0x21d449)=>{let _0x3c175a=getIndentation(_0x1e48b3,_0x44527f['from']);if(null==_0x3c175a)return;/\S/['test'](_0x44527f['text'])||(_0x3c175a=0x0);let _0x626840=/^\s*/['exec'](_0x44527f['text'])[0x0],_0x3a892e=indentString(_0x1a5b5f,_0x3c175a);(_0x626840!=_0x3a892e||_0x21d449['from']<_0x44527f['from']+_0x626840['length'])&&(_0x583e48[_0x44527f['from']]=_0x3c175a,_0x202450['push']({'from':_0x44527f['from'],'to':_0x44527f['from']+_0x626840['length'],'insert':_0x3a892e}));});return _0x55248f['changes']['empty']||_0x35b51e(_0x1a5b5f['update'](_0x55248f,{'userEvent':'indent'})),!0x0;},indentMore=({state:_0x1efde1,dispatch:_0xbd4f7b})=>!_0x1efde1['readOnly']&&(_0xbd4f7b(_0x1efde1['update'](changeBySelectedLine(_0x1efde1,(_0x15ca32,_0x1ca088)=>{_0x1ca088['push']({'from':_0x15ca32['from'],'insert':_0x1efde1['facet'](indentUnit)});}),{'userEvent':'input.indent'})),!0x0),indentLess=({state:_0xb9f54c,dispatch:_0x5e47ec})=>!_0xb9f54c['readOnly']&&(_0x5e47ec(_0xb9f54c['update'](changeBySelectedLine(_0xb9f54c,(_0x4de4ae,_0x4be39b)=>{let _0xdfcabd=/^\s*/['exec'](_0x4de4ae['text'])[0x0];if(!_0xdfcabd)return;let _0x29e2b6=countColumn(_0xdfcabd,_0xb9f54c['tabSize']),_0x32b1ce=0x0,_0x51b583=indentString(_0xb9f54c,Math['max'](0x0,_0x29e2b6-getIndentUnit(_0xb9f54c)));for(;_0x32b1ce<_0xdfcabd['length']&&_0x32b1ce<_0x51b583['length']&&_0xdfcabd['charCodeAt'](_0x32b1ce)==_0x51b583['charCodeAt'](_0x32b1ce);)_0x32b1ce++;_0x4be39b['push']({'from':_0x4de4ae['from']+_0x32b1ce,'to':_0x4de4ae['from']+_0xdfcabd['length'],'insert':_0x51b583['slice'](_0x32b1ce)});}),{'userEvent':'delete.dedent'})),!0x0),toggleTabFocusMode=_0x58f8a9=>(_0x58f8a9['setTabFocusMode'](),!0x0),emacsStyleKeymap=[{'key':'Ctrl-b','run':cursorCharLeft,'shift':selectCharLeft,'preventDefault':!0x0},{'key':'Ctrl-f','run':cursorCharRight,'shift':selectCharRight},{'key':'Ctrl-p','run':_0x492184,'shift':selectLineUp},{'key':'Ctrl-n','run':_0x8528b,'shift':selectLineDown},{'key':'Ctrl-a','run':cursorLineStart,'shift':selectLineStart},{'key':'Ctrl-e','run':_0x3eebc4,'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':_0x100bda}],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':_0x492184,'shift':selectLineUp,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':cursorDocStart,'shift':selectDocStart},{'mac':'Ctrl-ArrowUp','run':_0x488f7e,'shift':selectPageUp},{'key':'ArrowDown','run':_0x8528b,'shift':selectLineDown,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':_0x18fb3d,'shift':selectDocEnd},{'mac':'Ctrl-ArrowDown','run':_0x100bda,'shift':selectPageDown},{'key':'PageUp','run':_0x488f7e,'shift':selectPageUp},{'key':'PageDown','run':_0x100bda,'shift':selectPageDown},{'key':'Home','run':_0x2e07ea,'shift':selectLineBoundaryBackward,'preventDefault':!0x0},{'key':'Mod-Home','run':cursorDocStart,'shift':selectDocStart},{'key':'End','run':_0x2f2eb9,'shift':selectLineBoundaryForward,'preventDefault':!0x0},{'key':'Mod-End','run':_0x18fb3d,'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'](_0x5b726e=>({'mac':_0x5b726e['key'],'run':_0x5b726e['run'],'shift':_0x5b726e['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':_0x206909},{'key':'Shift-Alt-ArrowUp','run':_0x41c06c},{'key':'Alt-ArrowDown','run':_0x57760f},{'key':'Shift-Alt-ArrowDown','run':_0x53c9ef},{'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(_0x109a5e,_0x4d0e03,_0x12ae27,_0x29fe8b){this['state']=_0x109a5e,this['pos']=_0x4d0e03,this['explicit']=_0x12ae27,this['view']=_0x29fe8b,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0x4b646a){let _0x5efe49=syntaxTree(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0x5efe49&&_0x4b646a['indexOf'](_0x5efe49['name'])<0x0;)_0x5efe49=_0x5efe49['parent'];return _0x5efe49?{'from':_0x5efe49['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0x5efe49['from'],this['pos']),'type':_0x5efe49['type']}:null;}['matchBefore'](_0x4c0490){let _0x3a9289=this['state']['doc']['lineAt'](this['pos']),_0x8ffcf0=Math['max'](_0x3a9289['from'],this['pos']-0xfa),_0x497124=_0x3a9289['text']['slice'](_0x8ffcf0-_0x3a9289['from'],this['pos']-_0x3a9289['from']),_0x2cbea3=_0x497124['search'](_0x2fff05(_0x4c0490,!0x1));return _0x2cbea3<0x0?null:{'from':_0x8ffcf0+_0x2cbea3,'to':this['pos'],'text':_0x497124['slice'](_0x2cbea3)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0x21f308,_0x257157,_0x48772d){'abort'==_0x21f308&&this['abortListeners']&&(this['abortListeners']['push'](_0x257157),_0x48772d&&_0x48772d['onDocChange']&&(this['abortOnDocChange']=!0x0));}}function toSet(_0x46f60d){let _0x162abb=Object['keys'](_0x46f60d)['join'](''),_0x55d4e6=/\w/['test'](_0x162abb);return _0x55d4e6&&(_0x162abb=_0x162abb['replace'](/\w/g,'')),'['+(_0x55d4e6?'\x5cw':'')+_0x162abb['replace'](/[^\w\s]/g,'\x5c$&')+']';}function prefixMatch(_0x9282e9){let _0x4c752a=Object['create'](null),_0x4d8ca6=Object['create'](null);for(let {label:_0x2c49b5}of _0x9282e9){_0x4c752a[_0x2c49b5[0x0]]=!0x0;for(let _0x45b00a=0x1;_0x45b00a<_0x2c49b5['length'];_0x45b00a++)_0x4d8ca6[_0x2c49b5[_0x45b00a]]=!0x0;}let _0x5ca39f=toSet(_0x4c752a)+toSet(_0x4d8ca6)+'*$';return[new RegExp('^'+_0x5ca39f),new RegExp(_0x5ca39f)];}function completeFromList(_0x2e2916){let _0x5b9d11=_0x2e2916['map'](_0x5230d4=>'string'==typeof _0x5230d4?{'label':_0x5230d4}:_0x5230d4),[_0x504d62,_0x598816]=_0x5b9d11['every'](_0x57526b=>/^\w+$/['test'](_0x57526b['label']))?[/\w*$/,/\w+$/]:prefixMatch(_0x5b9d11);return _0x106bd0=>{let _0x55780c=_0x106bd0['matchBefore'](_0x598816);return _0x55780c||_0x106bd0['explicit']?{'from':_0x55780c?_0x55780c['from']:_0x106bd0['pos'],'options':_0x5b9d11,'validFor':_0x504d62}:null;};}function ifNotIn(_0x42e05f,_0x5ec5f8){return _0x5b3c54=>{for(let _0x4249ee=syntaxTree(_0x5b3c54['state'])['resolveInner'](_0x5b3c54['pos'],-0x1);_0x4249ee;_0x4249ee=_0x4249ee['parent']){if(_0x42e05f['indexOf'](_0x4249ee['name'])>-0x1)return null;if(_0x4249ee['type']['isTop'])break;}return _0x5ec5f8(_0x5b3c54);};}class Option{constructor(_0x364ebc,_0x15b090,_0x1b5faf,_0x23d6c2){this['completion']=_0x364ebc,this['source']=_0x15b090,this['match']=_0x1b5faf,this['score']=_0x23d6c2;}}function _0x368444(_0x1becba){return _0x1becba['selection']['main']['from'];}function _0x2fff05(_0x5bf784,_0x436215){var _0x35eaa5;let {source:_0x52bbb4}=_0x5bf784,_0x25fc86=_0x436215&&'^'!=_0x52bbb4[0x0],_0x126a1a='$'!=_0x52bbb4[_0x52bbb4['length']-0x1];return _0x25fc86||_0x126a1a?new RegExp((_0x25fc86?'^':'')+'(?:'+_0x52bbb4+')'+(_0x126a1a?'$':''),null!==(_0x35eaa5=_0x5bf784['flags'])&&void 0x0!==_0x35eaa5?_0x35eaa5:_0x5bf784['ignoreCase']?'i':''):_0x5bf784;}const pickedCompletion=Annotation['define']();function insertCompletionText(_0x274842,_0x5db33b,_0x4debf1,_0xd81e6b){let {main:_0x4ea1f2}=_0x274842['selection'],_0x186294=_0x4debf1-_0x4ea1f2['from'],_0x29b2d8=_0xd81e6b-_0x4ea1f2['from'];return{..._0x274842['changeByRange'](_0x3295a1=>{if(_0x3295a1!=_0x4ea1f2&&_0x4debf1!=_0xd81e6b&&_0x274842['sliceDoc'](_0x3295a1['from']+_0x186294,_0x3295a1['from']+_0x29b2d8)!=_0x274842['sliceDoc'](_0x4debf1,_0xd81e6b))return{'range':_0x3295a1};let _0x236023=_0x274842['toText'](_0x5db33b);return{'changes':{'from':_0x3295a1['from']+_0x186294,'to':_0xd81e6b==_0x4ea1f2['from']?_0x3295a1['to']:_0x3295a1['from']+_0x29b2d8,'insert':_0x236023},'range':EditorSelection['cursor'](_0x3295a1['from']+_0x186294+_0x236023['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const _0x55e542=new WeakMap();function _0x428433(_0x244ddb){if(!Array['isArray'](_0x244ddb))return _0x244ddb;let _0x22ccb3=_0x55e542['get'](_0x244ddb);return _0x22ccb3||_0x55e542['set'](_0x244ddb,_0x22ccb3=completeFromList(_0x244ddb)),_0x22ccb3;}const startCompletionEffect=StateEffect['define'](),closeCompletionEffect=StateEffect['define']();class FuzzyMatcher{constructor(_0x4cb0a0){this['pattern']=_0x4cb0a0,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x110707=0x0;_0x110707<_0x4cb0a0['length'];){let _0x51f77e=codePointAt(_0x4cb0a0,_0x110707),_0x49cd2d=codePointSize(_0x51f77e);this['chars']['push'](_0x51f77e);let _0x6165eb=_0x4cb0a0['slice'](_0x110707,_0x110707+_0x49cd2d),_0x5404c4=_0x6165eb['toUpperCase']();this['folded']['push'](codePointAt(_0x5404c4==_0x6165eb?_0x6165eb['toLowerCase']():_0x5404c4,0x0)),_0x110707+=_0x49cd2d;}this['astral']=_0x4cb0a0['length']!=this['chars']['length'];}['ret'](_0x7d80f7,_0x1cf953){return this['score']=_0x7d80f7,this['matched']=_0x1cf953,this;}['match'](_0x36a847){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x36a847['length']<this['pattern']['length'])return null;let {chars:_0xca2134,folded:_0x2444dd,any:_0x4515c7,precise:_0x454136,byWord:_0x382cf0}=this;if(0x1==_0xca2134['length']){let _0x19100e=codePointAt(_0x36a847,0x0),_0x55a08c=codePointSize(_0x19100e),_0x3644fc=_0x55a08c==_0x36a847['length']?0x0:-0x64;if(_0x19100e==_0xca2134[0x0]);else{if(_0x19100e!=_0x2444dd[0x0])return null;_0x3644fc+=-0xc8;}return this['ret'](_0x3644fc,[0x0,_0x55a08c]);}let _0x174134=_0x36a847['indexOf'](this['pattern']);if(0x0==_0x174134)return this['ret'](_0x36a847['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x1e5e24=_0xca2134['length'],_0x5ead7e=0x0;if(_0x174134<0x0){for(let _0x5cc8da=0x0,_0x169de9=Math['min'](_0x36a847['length'],0xc8);_0x5cc8da<_0x169de9&&_0x5ead7e<_0x1e5e24;){let _0x5daa2b=codePointAt(_0x36a847,_0x5cc8da);_0x5daa2b!=_0xca2134[_0x5ead7e]&&_0x5daa2b!=_0x2444dd[_0x5ead7e]||(_0x4515c7[_0x5ead7e++]=_0x5cc8da),_0x5cc8da+=codePointSize(_0x5daa2b);}if(_0x5ead7e<_0x1e5e24)return null;}let _0x4aab7f=0x0,_0xd84349=0x0,_0x3ccbd2=!0x1,_0x7443e9=0x0,_0x54a6b2=-0x1,_0x5c999c=-0x1,_0x94736c=/[a-z]/['test'](_0x36a847),_0xb96308=!0x0;for(let _0x5384a7=0x0,_0x3494c1=Math['min'](_0x36a847['length'],0xc8),_0x32bcd3=0x0;_0x5384a7<_0x3494c1&&_0xd84349<_0x1e5e24;){let _0x278a22=codePointAt(_0x36a847,_0x5384a7);_0x174134<0x0&&(_0x4aab7f<_0x1e5e24&&_0x278a22==_0xca2134[_0x4aab7f]&&(_0x454136[_0x4aab7f++]=_0x5384a7),_0x7443e9<_0x1e5e24&&(_0x278a22==_0xca2134[_0x7443e9]||_0x278a22==_0x2444dd[_0x7443e9]?(0x0==_0x7443e9&&(_0x54a6b2=_0x5384a7),_0x5c999c=_0x5384a7+0x1,_0x7443e9++):_0x7443e9=0x0));let _0x1bc5ff,_0x445d72=_0x278a22<0xff?_0x278a22>=0x30&&_0x278a22<=0x39||_0x278a22>=0x61&&_0x278a22<=0x7a?0x2:_0x278a22>=0x41&&_0x278a22<=0x5a?0x1:0x0:(_0x1bc5ff=fromCodePoint(_0x278a22))!=_0x1bc5ff['toLowerCase']()?0x1:_0x1bc5ff!=_0x1bc5ff['toUpperCase']()?0x2:0x0;(!_0x5384a7||0x1==_0x445d72&&_0x94736c||0x0==_0x32bcd3&&0x0!=_0x445d72)&&(_0xca2134[_0xd84349]==_0x278a22||_0x2444dd[_0xd84349]==_0x278a22&&(_0x3ccbd2=!0x0)?_0x382cf0[_0xd84349++]=_0x5384a7:_0x382cf0['length']&&(_0xb96308=!0x1)),_0x32bcd3=_0x445d72,_0x5384a7+=codePointSize(_0x278a22);}return _0xd84349==_0x1e5e24&&0x0==_0x382cf0[0x0]&&_0xb96308?this['result']((_0x3ccbd2?-0xc8:0x0)-0x64,_0x382cf0,_0x36a847):_0x7443e9==_0x1e5e24&&0x0==_0x54a6b2?this['ret'](-0xc8-_0x36a847['length']+(_0x5c999c==_0x36a847['length']?0x0:-0x64),[0x0,_0x5c999c]):_0x174134>-0x1?this['ret'](-0x2bc-_0x36a847['length'],[_0x174134,_0x174134+this['pattern']['length']]):_0x7443e9==_0x1e5e24?this['ret'](-0x384-_0x36a847['length'],[_0x54a6b2,_0x5c999c]):_0xd84349==_0x1e5e24?this['result']((_0x3ccbd2?-0xc8:0x0)-0x64-0x2bc+(_0xb96308?0x0:-0x44c),_0x382cf0,_0x36a847):0x2==_0xca2134['length']?null:this['result']((_0x4515c7[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0x4515c7,_0x36a847);}['result'](_0x4241ea,_0x1e166c,_0x113e9f){let _0x11fadc=[],_0x363e4e=0x0;for(let _0x864d94 of _0x1e166c){let _0x4eb2ec=_0x864d94+(this['astral']?codePointSize(codePointAt(_0x113e9f,_0x864d94)):0x1);_0x363e4e&&_0x11fadc[_0x363e4e-0x1]==_0x864d94?_0x11fadc[_0x363e4e-0x1]=_0x4eb2ec:(_0x11fadc[_0x363e4e++]=_0x864d94,_0x11fadc[_0x363e4e++]=_0x4eb2ec);}return this['ret'](_0x4241ea-_0x113e9f['length'],_0x11fadc);}}class StrictMatcher{constructor(_0x2d5f63){this['pattern']=_0x2d5f63,this['matched']=[],this['score']=0x0,this['folded']=_0x2d5f63['toLowerCase']();}['match'](_0x50f16d){if(_0x50f16d['length']<this['pattern']['length'])return null;let _0x367c36=_0x50f16d['slice'](0x0,this['pattern']['length']),_0x586b8a=_0x367c36==this['pattern']?0x0:_0x367c36['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x586b8a?null:(this['matched']=[0x0,_0x367c36['length']],this['score']=_0x586b8a+(_0x50f16d['length']==this['pattern']['length']?0x0:-0x64),this);}}const completionConfig=Facet['define']({'combine':_0x59ba91=>_0x280ccf(_0x59ba91,{'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':(_0x5ab12e,_0x576e91)=>_0x5ab12e['label']['localeCompare'](_0x576e91['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x15ef01,_0xdbb1d6)=>_0x15ef01&&_0xdbb1d6,'closeOnBlur':(_0x3ce92f,_0x366fbb)=>_0x3ce92f&&_0x366fbb,'icons':(_0x1c33b4,_0x27305a)=>_0x1c33b4&&_0x27305a,'tooltipClass':(_0x2df777,_0x4233db)=>_0x35c1be=>_0x3ff2c2(_0x2df777(_0x35c1be),_0x4233db(_0x35c1be)),'optionClass':(_0x12d465,_0x3488b2)=>_0x12b7d4=>_0x3ff2c2(_0x12d465(_0x12b7d4),_0x3488b2(_0x12b7d4)),'addToOptions':(_0xeebdb3,_0x7fb17b)=>_0xeebdb3['concat'](_0x7fb17b),'filterStrict':(_0x59dbed,_0x12b1f3)=>_0x59dbed||_0x12b1f3})});function _0x3ff2c2(_0x1b0503,_0x63507){return _0x1b0503?_0x63507?_0x1b0503+'\x20'+_0x63507:_0x1b0503:_0x63507;}function defaultPositionInfo(_0x100f98,_0x492472,_0x1038a6,_0x2fba4b,_0x4613b4,_0x4004b8){let _0x3a2725,_0x3dae21,_0x13dc9f=_0x100f98['textDirection']==Direction['RTL'],_0x5f0fe1=_0x13dc9f,_0x1f4b01=!0x1,_0x5d7c8e='top',_0x4afb0a=_0x492472['left']-_0x4613b4['left'],_0x27e191=_0x4613b4['right']-_0x492472['right'],_0x36f2b9=_0x2fba4b['right']-_0x2fba4b['left'],_0x9794ed=_0x2fba4b['bottom']-_0x2fba4b['top'];if(_0x5f0fe1&&_0x4afb0a<Math['min'](_0x36f2b9,_0x27e191)?_0x5f0fe1=!0x1:!_0x5f0fe1&&_0x27e191<Math['min'](_0x36f2b9,_0x4afb0a)&&(_0x5f0fe1=!0x0),_0x36f2b9<=(_0x5f0fe1?_0x4afb0a:_0x27e191))_0x3a2725=Math['max'](_0x4613b4['top'],Math['min'](_0x1038a6['top'],_0x4613b4['bottom']-_0x9794ed))-_0x492472['top'],_0x3dae21=Math['min'](0x190,_0x5f0fe1?_0x4afb0a:_0x27e191);else{_0x1f4b01=!0x0,_0x3dae21=Math['min'](0x190,(_0x13dc9f?_0x492472['right']:_0x4613b4['right']-_0x492472['left'])-0x1e);let _0x4194db=_0x4613b4['bottom']-_0x492472['bottom'];_0x4194db>=_0x9794ed||_0x4194db>_0x492472['top']?_0x3a2725=_0x1038a6['bottom']-_0x492472['top']:(_0x5d7c8e='bottom',_0x3a2725=_0x492472['bottom']-_0x1038a6['top']);}return{'style':_0x5d7c8e+':\x20'+_0x3a2725/((_0x492472['bottom']-_0x492472['top'])/_0x4004b8['offsetHeight'])+'px;\x20max-width:\x20'+_0x3dae21/((_0x492472['right']-_0x492472['left'])/_0x4004b8['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x1f4b01?_0x13dc9f?'left-narrow':'right-narrow':_0x5f0fe1?'left':'right')};}function optionContent(_0x22893d){let _0x3135e1=_0x22893d['addToOptions']['slice']();return _0x22893d['icons']&&_0x3135e1['push']({'render'(_0x2762dd){let _0xb7e1b5=document['createElement']('div');return _0xb7e1b5['classList']['add']('cm-completionIcon'),_0x2762dd['type']&&_0xb7e1b5['classList']['add'](..._0x2762dd['type']['split'](/\s+/g)['map'](_0xfa9668=>'cm-completionIcon-'+_0xfa9668)),_0xb7e1b5['setAttribute']('aria-hidden','true'),_0xb7e1b5;},'position':0x14}),_0x3135e1['push']({'render'(_0x218e90,_0x5083cb,_0x27cf8a,_0x4bf109){let _0x39778d=document['createElement']('span');_0x39778d['className']='cm-completionLabel';let _0x4b820b=_0x218e90['displayLabel']||_0x218e90['label'],_0x28c8=0x0;for(let _0x559d46=0x0;_0x559d46<_0x4bf109['length'];){let _0x4b678e=_0x4bf109[_0x559d46++],_0x28d12c=_0x4bf109[_0x559d46++];_0x4b678e>_0x28c8&&_0x39778d['appendChild'](document['createTextNode'](_0x4b820b['slice'](_0x28c8,_0x4b678e)));let _0x454cfc=_0x39778d['appendChild'](document['createElement']('span'));_0x454cfc['appendChild'](document['createTextNode'](_0x4b820b['slice'](_0x4b678e,_0x28d12c))),_0x454cfc['className']='cm-completionMatchedText',_0x28c8=_0x28d12c;}return _0x28c8<_0x4b820b['length']&&_0x39778d['appendChild'](document['createTextNode'](_0x4b820b['slice'](_0x28c8))),_0x39778d;},'position':0x32},{'render'(_0x29ed88){if(!_0x29ed88['detail'])return null;let _0x2bd9ca=document['createElement']('span');return _0x2bd9ca['className']='cm-completionDetail',_0x2bd9ca['textContent']=_0x29ed88['detail'],_0x2bd9ca;},'position':0x50}),_0x3135e1['sort']((_0x467c94,_0x399140)=>_0x467c94['position']-_0x399140['position'])['map'](_0x285e64=>_0x285e64['render']);}function rangeAroundSelected(_0x41059f,_0x49689a,_0x40a4ab){if(_0x41059f<=_0x40a4ab)return{'from':0x0,'to':_0x41059f};if(_0x49689a<0x0&&(_0x49689a=0x0),_0x49689a<=_0x41059f>>0x1){let _0x1c45cf=Math['floor'](_0x49689a/_0x40a4ab);return{'from':_0x1c45cf*_0x40a4ab,'to':(_0x1c45cf+0x1)*_0x40a4ab};}let _0xc3769e=Math['floor']((_0x41059f-_0x49689a)/_0x40a4ab);return{'from':_0x41059f-(_0xc3769e+0x1)*_0x40a4ab,'to':_0x41059f-_0xc3769e*_0x40a4ab};}class CompletionTooltip{constructor(_0x3bb085,_0x348ced,_0x43b240){this['view']=_0x3bb085,this['stateField']=_0x348ced,this['applyCompletion']=_0x43b240,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x1944bf=>this['placeInfo'](_0x1944bf),'key':this},this['space']=null,this['currentClass']='';let _0x3ef330=_0x3bb085['state']['field'](_0x348ced),{options:_0x5d1351,selected:_0x519073}=_0x3ef330['open'],_0x316f92=_0x3bb085['state']['facet'](completionConfig);this['optionContent']=optionContent(_0x316f92),this['optionClass']=_0x316f92['optionClass'],this['tooltipClass']=_0x316f92['tooltipClass'],this['range']=rangeAroundSelected(_0x5d1351['length'],_0x519073,_0x316f92['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x3bb085['state']),this['dom']['addEventListener']('mousedown',_0x1594d8=>{let {options:_0x37d094}=_0x3bb085['state']['field'](_0x348ced)['open'];for(let _0x2c07e6,_0x1aeeed=_0x1594d8['target'];_0x1aeeed&&_0x1aeeed!=this['dom'];_0x1aeeed=_0x1aeeed['parentNode'])if('LI'==_0x1aeeed['nodeName']&&(_0x2c07e6=/-(\d+)$/['exec'](_0x1aeeed['id']))&&+_0x2c07e6[0x1]<_0x37d094['length'])return this['applyCompletion'](_0x3bb085,_0x37d094[+_0x2c07e6[0x1]]),void _0x1594d8['preventDefault']();}),this['dom']['addEventListener']('focusout',_0x551f95=>{let _0x46b1a1=_0x3bb085['state']['field'](this['stateField'],!0x1);_0x46b1a1&&_0x46b1a1['tooltip']&&_0x3bb085['state']['facet'](completionConfig)['closeOnBlur']&&_0x551f95['relatedTarget']!=_0x3bb085['contentDOM']&&_0x3bb085['dispatch']({'effects':closeCompletionEffect['of'](null)});}),this['showOptions'](_0x5d1351,_0x3ef330['id']);}['mount'](){this['updateSel']();}['showOptions'](_0x56379d,_0x2ba966){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x56379d,_0x2ba966,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0x423882){var _0x43811a;let _0x22960d=_0x423882['state']['field'](this['stateField']),_0x1cde9e=_0x423882['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0x423882['state']),_0x22960d!=_0x1cde9e){let {options:_0x4812ee,selected:_0x551c82,disabled:_0x32fc85}=_0x22960d['open'];_0x1cde9e['open']&&_0x1cde9e['open']['options']==_0x4812ee||(this['range']=rangeAroundSelected(_0x4812ee['length'],_0x551c82,_0x423882['state']['facet'](completionConfig)['maxRenderedOptions']),this['showOptions'](_0x4812ee,_0x22960d['id'])),this['updateSel'](),_0x32fc85!=(null===(_0x43811a=_0x1cde9e['open'])||void 0x0===_0x43811a?void 0x0:_0x43811a['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x32fc85);}}['updateTooltipClass'](_0x23ff4e){let _0x39a83e=this['tooltipClass'](_0x23ff4e);if(_0x39a83e!=this['currentClass']){for(let _0x5d0d4e of this['currentClass']['split']('\x20'))_0x5d0d4e&&this['dom']['classList']['remove'](_0x5d0d4e);for(let _0x3c153b of _0x39a83e['split']('\x20'))_0x3c153b&&this['dom']['classList']['add'](_0x3c153b);this['currentClass']=_0x39a83e;}}['positioned'](_0x2dde68){this['space']=_0x2dde68,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0x262606=this['view']['state']['field'](this['stateField']),_0x347945=_0x262606['open'];(_0x347945['selected']>-0x1&&_0x347945['selected']<this['range']['from']||_0x347945['selected']>=this['range']['to'])&&(this['range']=rangeAroundSelected(_0x347945['options']['length'],_0x347945['selected'],this['view']['state']['facet'](completionConfig)['maxRenderedOptions']),this['showOptions'](_0x347945['options'],_0x262606['id']));let _0x4216ad=this['updateSelectedOption'](_0x347945['selected']);if(_0x4216ad){this['destroyInfo']();let {completion:_0x3ea9d4}=_0x347945['options'][_0x347945['selected']],{info:_0x5a23e3}=_0x3ea9d4;if(!_0x5a23e3)return;let _0x28de47='string'==typeof _0x5a23e3?document['createTextNode'](_0x5a23e3):_0x5a23e3(_0x3ea9d4);if(!_0x28de47)return;'then'in _0x28de47?_0x28de47['then'](_0x5a83ef=>{_0x5a83ef&&this['view']['state']['field'](this['stateField'],!0x1)==_0x262606&&this['addInfoPane'](_0x5a83ef,_0x3ea9d4);})['catch'](_0xa9959b=>logException(this['view']['state'],_0xa9959b,'completion\x20info')):(this['addInfoPane'](_0x28de47,_0x3ea9d4),_0x4216ad['setAttribute']('aria-describedby',this['info']['id']));}}['addInfoPane'](_0x83730f,_0x49b9a0){this['destroyInfo']();let _0xf06f00=this['info']=document['createElement']('div');if(_0xf06f00['className']='cm-tooltip\x20cm-completionInfo',_0xf06f00['id']='cm-completionInfo-'+Math['floor'](0xffff*Math['random']())['toString'](0x10),null!=_0x83730f['nodeType'])_0xf06f00['appendChild'](_0x83730f),this['infoDestroy']=null;else{let {dom:_0x5c6c30,destroy:_0x32d8a1}=_0x83730f;_0xf06f00['appendChild'](_0x5c6c30),this['infoDestroy']=_0x32d8a1||null;}this['dom']['appendChild'](_0xf06f00),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0x1fb4ca){let _0x4f32c2=null;for(let _0x1f5cd5=this['list']['firstChild'],_0x4cdac8=this['range']['from'];_0x1f5cd5;_0x1f5cd5=_0x1f5cd5['nextSibling'],_0x4cdac8++)'LI'==_0x1f5cd5['nodeName']&&_0x1f5cd5['id']?_0x4cdac8==_0x1fb4ca?_0x1f5cd5['hasAttribute']('aria-selected')||(_0x1f5cd5['setAttribute']('aria-selected','true'),_0x4f32c2=_0x1f5cd5):_0x1f5cd5['hasAttribute']('aria-selected')&&(_0x1f5cd5['removeAttribute']('aria-selected'),_0x1f5cd5['removeAttribute']('aria-describedby')):_0x4cdac8--;return _0x4f32c2&&scrollIntoView(this['list'],_0x4f32c2),_0x4f32c2;}['measureInfo'](){let _0x2fc50b=this['dom']['querySelector']('[aria-selected]');if(!_0x2fc50b||!this['info'])return null;let _0x3f58a8=this['dom']['getBoundingClientRect'](),_0x3aaadb=this['info']['getBoundingClientRect'](),_0x2439c9=_0x2fc50b['getBoundingClientRect'](),_0x43f6b4=this['space'];if(!_0x43f6b4){let _0x294362=this['dom']['ownerDocument']['documentElement'];_0x43f6b4={'left':0x0,'top':0x0,'right':_0x294362['clientWidth'],'bottom':_0x294362['clientHeight']};}return _0x2439c9['top']>Math['min'](_0x43f6b4['bottom'],_0x3f58a8['bottom'])-0xa||_0x2439c9['bottom']<Math['max'](_0x43f6b4['top'],_0x3f58a8['top'])+0xa?null:this['view']['state']['facet'](completionConfig)['positionInfo'](this['view'],_0x3f58a8,_0x2439c9,_0x3aaadb,_0x43f6b4,this['dom']);}['placeInfo'](_0x57fca0){this['info']&&(_0x57fca0?(_0x57fca0['style']&&(this['info']['style']['cssText']=_0x57fca0['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x57fca0['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0xbdcb9,_0x30845b,_0x34a3c9){const _0x29c47b=document['createElement']('ul');_0x29c47b['id']=_0x30845b,_0x29c47b['setAttribute']('role','listbox'),_0x29c47b['setAttribute']('aria-expanded','true'),_0x29c47b['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0x29c47b['addEventListener']('mousedown',_0x370984=>{_0x370984['target']==_0x29c47b&&_0x370984['preventDefault']();});let _0x2f5523=null;for(let _0x44ba19=_0x34a3c9['from'];_0x44ba19<_0x34a3c9['to'];_0x44ba19++){let {completion:_0xd23a5f,match:_0x5ce6a4}=_0xbdcb9[_0x44ba19],{section:_0x5dc174}=_0xd23a5f;if(_0x5dc174){let _0xa9e63a='string'==typeof _0x5dc174?_0x5dc174:_0x5dc174['name'];if(_0xa9e63a!=_0x2f5523&&(_0x44ba19>_0x34a3c9['from']||0x0==_0x34a3c9['from'])){if(_0x2f5523=_0xa9e63a,'string'!=typeof _0x5dc174&&_0x5dc174['header'])_0x29c47b['appendChild'](_0x5dc174['header'](_0x5dc174));else _0x29c47b['appendChild'](document['createElement']('completion-section'))['textContent']=_0xa9e63a;}}const _0x132170=_0x29c47b['appendChild'](document['createElement']('li'));_0x132170['id']=_0x30845b+'-'+_0x44ba19,_0x132170['setAttribute']('role','option');let _0x1a22d5=this['optionClass'](_0xd23a5f);_0x1a22d5&&(_0x132170['className']=_0x1a22d5);for(let _0x54b644 of this['optionContent']){let _0x493332=_0x54b644(_0xd23a5f,this['view']['state'],this['view'],_0x5ce6a4);_0x493332&&_0x132170['appendChild'](_0x493332);}}return _0x34a3c9['from']&&_0x29c47b['classList']['add']('cm-completionListIncompleteTop'),_0x34a3c9['to']<_0xbdcb9['length']&&_0x29c47b['classList']['add']('cm-completionListIncompleteBottom'),_0x29c47b;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}}function completionTooltip(_0x2f6d47,_0x2dff97){return _0x312222=>new CompletionTooltip(_0x312222,_0x2f6d47,_0x2dff97);}function scrollIntoView(_0x531a96,_0x5022a2){let _0x4854ac=_0x531a96['getBoundingClientRect'](),_0xeeccd8=_0x5022a2['getBoundingClientRect'](),_0x2f0f68=_0x4854ac['height']/_0x531a96['offsetHeight'];_0xeeccd8['top']<_0x4854ac['top']?_0x531a96['scrollTop']-=(_0x4854ac['top']-_0xeeccd8['top'])/_0x2f0f68:_0xeeccd8['bottom']>_0x4854ac['bottom']&&(_0x531a96['scrollTop']+=(_0xeeccd8['bottom']-_0x4854ac['bottom'])/_0x2f0f68);}function _0x3fd908(_0x69aae7){return 0x64*(_0x69aae7['boost']||0x0)+(_0x69aae7['apply']?0xa:0x0)+(_0x69aae7['info']?0x5:0x0)+(_0x69aae7['type']?0x1:0x0);}function sortOptions(_0x2b6bbd,_0xa0887){let _0x59f775=[],_0x597dcc=null,_0x3f9018=null,_0x26e3b9=_0x229433=>{_0x59f775['push'](_0x229433);let {section:_0x26ac27}=_0x229433['completion'];if(_0x26ac27){_0x597dcc||(_0x597dcc=[]);let _0x28d77c='string'==typeof _0x26ac27?_0x26ac27:_0x26ac27['name'];_0x597dcc['some'](_0x31d290=>_0x31d290['name']==_0x28d77c)||_0x597dcc['push']('string'==typeof _0x26ac27?{'name':_0x28d77c}:_0x26ac27);}},_0x4503b2=_0xa0887['facet'](completionConfig);for(let _0x1a8f89 of _0x2b6bbd)if(_0x1a8f89['hasResult']()){let _0x25a937=_0x1a8f89['result']['getMatch'];if(!0x1===_0x1a8f89['result']['filter']){for(let _0x187801 of _0x1a8f89['result']['options'])_0x26e3b9(new Option(_0x187801,_0x1a8f89['source'],_0x25a937?_0x25a937(_0x187801):[],0x3b9aca00-_0x59f775['length']));}else{let _0x21ffe1,_0x59eb7f=_0xa0887['sliceDoc'](_0x1a8f89['from'],_0x1a8f89['to']),_0x88dd8b=_0x4503b2['filterStrict']?new StrictMatcher(_0x59eb7f):new FuzzyMatcher(_0x59eb7f);for(let _0x2f202d of _0x1a8f89['result']['options'])if(_0x21ffe1=_0x88dd8b['match'](_0x2f202d['label'])){let _0x3ef518=_0x2f202d['displayLabel']?_0x25a937?_0x25a937(_0x2f202d,_0x21ffe1['matched']):[]:_0x21ffe1['matched'],_0x436563=_0x21ffe1['score']+(_0x2f202d['boost']||0x0);if(_0x26e3b9(new Option(_0x2f202d,_0x1a8f89['source'],_0x3ef518,_0x436563)),'object'==typeof _0x2f202d['section']&&'dynamic'===_0x2f202d['section']['rank']){let {name:_0x2b002e}=_0x2f202d['section'];_0x3f9018||(_0x3f9018=Object['create'](null)),_0x3f9018[_0x2b002e]=Math['max'](_0x436563,_0x3f9018[_0x2b002e]||-0x3b9aca00);}}}}if(_0x597dcc){let _0x5a96f1=Object['create'](null),_0x4f3d1f=0x0,_0x47f549=(_0x5670fe,_0x3eae2e)=>('dynamic'===_0x5670fe['rank']&&'dynamic'===_0x3eae2e['rank']?_0x3f9018[_0x3eae2e['name']]-_0x3f9018[_0x5670fe['name']]:0x0)||('number'==typeof _0x5670fe['rank']?_0x5670fe['rank']:0x3b9aca00)-('number'==typeof _0x3eae2e['rank']?_0x3eae2e['rank']:0x3b9aca00)||(_0x5670fe['name']<_0x3eae2e['name']?-0x1:0x1);for(let _0x43dcce of _0x597dcc['sort'](_0x47f549))_0x4f3d1f-=0x186a0,_0x5a96f1[_0x43dcce['name']]=_0x4f3d1f;for(let _0x528ba8 of _0x59f775){let {section:_0x45412f}=_0x528ba8['completion'];_0x45412f&&(_0x528ba8['score']+=_0x5a96f1['string'==typeof _0x45412f?_0x45412f:_0x45412f['name']]);}}let _0x50f0c7=[],_0xec6430=null,_0x4d26ef=_0x4503b2['compareCompletions'];for(let _0x34bca3 of _0x59f775['sort']((_0x116555,_0x4bdc3f)=>_0x4bdc3f['score']-_0x116555['score']||_0x4d26ef(_0x116555['completion'],_0x4bdc3f['completion']))){let _0x94f691=_0x34bca3['completion'];!_0xec6430||_0xec6430['label']!=_0x94f691['label']||_0xec6430['detail']!=_0x94f691['detail']||null!=_0xec6430['type']&&null!=_0x94f691['type']&&_0xec6430['type']!=_0x94f691['type']||_0xec6430['apply']!=_0x94f691['apply']||_0xec6430['boost']!=_0x94f691['boost']?_0x50f0c7['push'](_0x34bca3):_0x3fd908(_0x34bca3['completion'])>_0x3fd908(_0xec6430)&&(_0x50f0c7[_0x50f0c7['length']-0x1]=_0x34bca3),_0xec6430=_0x34bca3['completion'];}return _0x50f0c7;}class CompletionDialog{constructor(_0x1f7516,_0x1277ed,_0x55aca1,_0x5f1a28,_0x13bf4c,_0x415f20){this['options']=_0x1f7516,this['attrs']=_0x1277ed,this['tooltip']=_0x55aca1,this['timestamp']=_0x5f1a28,this['selected']=_0x13bf4c,this['disabled']=_0x415f20;}['setSelected'](_0x2668b6,_0x52a459){return _0x2668b6==this['selected']||_0x2668b6>=this['options']['length']?this:new CompletionDialog(this['options'],makeAttrs(_0x52a459,_0x2668b6),this['tooltip'],this['timestamp'],_0x2668b6,this['disabled']);}static['build'](_0x492329,_0x56665f,_0x2640f7,_0x22e8f9,_0x44877b,_0x60dc30){if(_0x22e8f9&&!_0x60dc30&&_0x492329['some'](_0x57a1f9=>_0x57a1f9['isPending']))return _0x22e8f9['setDisabled']();let _0x526874=sortOptions(_0x492329,_0x56665f);if(!_0x526874['length'])return _0x22e8f9&&_0x492329['some'](_0x47cd7c=>_0x47cd7c['isPending'])?_0x22e8f9['setDisabled']():null;let _0x3f648b=_0x56665f['facet'](completionConfig)['selectOnOpen']?0x0:-0x1;if(_0x22e8f9&&_0x22e8f9['selected']!=_0x3f648b&&-0x1!=_0x22e8f9['selected']){let _0x4442e0=_0x22e8f9['options'][_0x22e8f9['selected']]['completion'];for(let _0x5f2aec=0x0;_0x5f2aec<_0x526874['length'];_0x5f2aec++)if(_0x526874[_0x5f2aec]['completion']==_0x4442e0){_0x3f648b=_0x5f2aec;break;}}return new CompletionDialog(_0x526874,makeAttrs(_0x2640f7,_0x3f648b),{'pos':_0x492329['reduce']((_0x28c82d,_0x311bb3)=>_0x311bb3['hasResult']()?Math['min'](_0x28c82d,_0x311bb3['from']):_0x28c82d,0x5f5e100),'create':createTooltip,'above':_0x44877b['aboveCursor']},_0x22e8f9?_0x22e8f9['timestamp']:Date['now'](),_0x3f648b,!0x1);}['map'](_0x4daffa){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0x4daffa['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(_0x44aba5,_0x1a7092,_0x3b8ba1){this['active']=_0x44aba5,this['id']=_0x1a7092,this['open']=_0x3b8ba1;}static['start'](){return new CompletionState(_0x1a69d9,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0x10554f){let {state:_0x5ef1c3}=_0x10554f,_0x51f2d4=_0x5ef1c3['facet'](completionConfig),_0x4c9dc6=(_0x51f2d4['override']||_0x5ef1c3['languageDataAt']('autocomplete',_0x368444(_0x5ef1c3))['map'](_0x428433))['map'](_0x15a459=>{let _0x5bc678=this['active']['find'](_0x5f5bb7=>_0x5f5bb7['source']==_0x15a459)||new ActiveSource(_0x15a459,this['active']['some'](_0x3be050=>0x0!=_0x3be050['state'])?0x1:0x0);return _0x5bc678['update'](_0x10554f,_0x51f2d4);});_0x4c9dc6['length']==this['active']['length']&&_0x4c9dc6['every']((_0x11f6c8,_0x53cfc2)=>_0x11f6c8==this['active'][_0x53cfc2])&&(_0x4c9dc6=this['active']);let _0x518b14=this['open'],_0x3812fd=_0x10554f['effects']['some'](_0x530e3b=>_0x530e3b['is'](setActiveEffect));_0x518b14&&_0x10554f['docChanged']&&(_0x518b14=_0x518b14['map'](_0x10554f['changes'])),_0x10554f['selection']||_0x4c9dc6['some'](_0x523b7e=>_0x523b7e['hasResult']()&&_0x10554f['changes']['touchesRange'](_0x523b7e['from'],_0x523b7e['to']))||!sameResults(_0x4c9dc6,this['active'])||_0x3812fd?_0x518b14=CompletionDialog['build'](_0x4c9dc6,_0x5ef1c3,this['id'],_0x518b14,_0x51f2d4,_0x3812fd):_0x518b14&&_0x518b14['disabled']&&!_0x4c9dc6['some'](_0x692d61=>_0x692d61['isPending'])&&(_0x518b14=null),!_0x518b14&&_0x4c9dc6['every'](_0x5ebf36=>!_0x5ebf36['isPending'])&&_0x4c9dc6['some'](_0x229383=>_0x229383['hasResult']())&&(_0x4c9dc6=_0x4c9dc6['map'](_0x565ad7=>_0x565ad7['hasResult']()?new ActiveSource(_0x565ad7['source'],0x0):_0x565ad7));for(let _0x22e152 of _0x10554f['effects'])_0x22e152['is'](setSelectedEffect)&&(_0x518b14=_0x518b14&&_0x518b14['setSelected'](_0x22e152['value'],this['id']));return _0x4c9dc6==this['active']&&_0x518b14==this['open']?this:new CompletionState(_0x4c9dc6,this['id'],_0x518b14);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?baseAttrs:noAttrs;}}function sameResults(_0x11bb0a,_0x544ac1){if(_0x11bb0a==_0x544ac1)return!0x0;for(let _0x48d12f=0x0,_0x4834dc=0x0;;){for(;_0x48d12f<_0x11bb0a['length']&&!_0x11bb0a[_0x48d12f]['hasResult']();)_0x48d12f++;for(;_0x4834dc<_0x544ac1['length']&&!_0x544ac1[_0x4834dc]['hasResult']();)_0x4834dc++;let _0xf877b9=_0x48d12f==_0x11bb0a['length'],_0x28b8e6=_0x4834dc==_0x544ac1['length'];if(_0xf877b9||_0x28b8e6)return _0xf877b9==_0x28b8e6;if(_0x11bb0a[_0x48d12f++]['result']!=_0x544ac1[_0x4834dc++]['result'])return!0x1;}}const baseAttrs={'aria-autocomplete':'list'},noAttrs={};function makeAttrs(_0x681c79,_0x54ed10){let _0x22ae7a={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0x681c79};return _0x54ed10>-0x1&&(_0x22ae7a['aria-activedescendant']=_0x681c79+'-'+_0x54ed10),_0x22ae7a;}const _0x1a69d9=[];function getUpdateType(_0x4ed78f,_0x1445d0){if(_0x4ed78f['isUserEvent']('input.complete')){let _0x3ac317=_0x4ed78f['annotation'](pickedCompletion);if(_0x3ac317&&_0x1445d0['activateOnCompletion'](_0x3ac317))return 0xc;}let _0x889036=_0x4ed78f['isUserEvent']('input.type');return _0x889036&&_0x1445d0['activateOnTyping']?0x5:_0x889036?0x1:_0x4ed78f['isUserEvent']('delete.backward')?0x2:_0x4ed78f['selection']?0x8:_0x4ed78f['docChanged']?0x10:0x0;}class ActiveSource{constructor(_0x32a409,_0x28c364,_0x1a3b1e=!0x1){this['source']=_0x32a409,this['state']=_0x28c364,this['explicit']=_0x1a3b1e;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x1c0ac5,_0x668e5){let _0x14e929=getUpdateType(_0x1c0ac5,_0x668e5),_0x1a86a6=this;(0x8&_0x14e929||0x10&_0x14e929&&this['touches'](_0x1c0ac5))&&(_0x1a86a6=new ActiveSource(_0x1a86a6['source'],0x0)),0x4&_0x14e929&&0x0==_0x1a86a6['state']&&(_0x1a86a6=new ActiveSource(this['source'],0x1)),_0x1a86a6=_0x1a86a6['updateFor'](_0x1c0ac5,_0x14e929);for(let _0x2be8ab of _0x1c0ac5['effects'])if(_0x2be8ab['is'](startCompletionEffect))_0x1a86a6=new ActiveSource(_0x1a86a6['source'],0x1,_0x2be8ab['value']);else{if(_0x2be8ab['is'](closeCompletionEffect))_0x1a86a6=new ActiveSource(_0x1a86a6['source'],0x0);else{if(_0x2be8ab['is'](setActiveEffect)){for(let _0x3c649c of _0x2be8ab['value'])_0x3c649c['source']==_0x1a86a6['source']&&(_0x1a86a6=_0x3c649c);}}}return _0x1a86a6;}['updateFor'](_0x15c8f4,_0x540396){return this['map'](_0x15c8f4['changes']);}['map'](_0x307d27){return this;}['touches'](_0x375aed){return _0x375aed['changes']['touchesRange'](_0x368444(_0x375aed['state']));}}class ActiveResult extends ActiveSource{constructor(_0x2e8f02,_0x244085,_0x245fa3,_0x521598,_0x4dbf95,_0x6c4603){super(_0x2e8f02,0x3,_0x244085),this['limit']=_0x245fa3,this['result']=_0x521598,this['from']=_0x4dbf95,this['to']=_0x6c4603;}['hasResult'](){return!0x0;}['updateFor'](_0x2d087d,_0x493777){var _0x153677;if(!(0x3&_0x493777))return this['map'](_0x2d087d['changes']);let _0x3c2883=this['result'];_0x3c2883['map']&&!_0x2d087d['changes']['empty']&&(_0x3c2883=_0x3c2883['map'](_0x3c2883,_0x2d087d['changes']));let _0x37aed8=_0x2d087d['changes']['mapPos'](this['from']),_0x275564=_0x2d087d['changes']['mapPos'](this['to'],0x1),_0x2e45a0=_0x368444(_0x2d087d['state']);if(_0x2e45a0>_0x275564||!_0x3c2883||0x2&_0x493777&&(_0x368444(_0x2d087d['startState'])==this['from']||_0x2e45a0<this['limit']))return new ActiveSource(this['source'],0x4&_0x493777?0x1:0x0);let _0x2a482b=_0x2d087d['changes']['mapPos'](this['limit']);return _0x392f3a(_0x3c2883['validFor'],_0x2d087d['state'],_0x37aed8,_0x275564)?new ActiveResult(this['source'],this['explicit'],_0x2a482b,_0x3c2883,_0x37aed8,_0x275564):_0x3c2883['update']&&(_0x3c2883=_0x3c2883['update'](_0x3c2883,_0x37aed8,_0x275564,new CompletionContext(_0x2d087d['state'],_0x2e45a0,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x2a482b,_0x3c2883,_0x3c2883['from'],null!==(_0x153677=_0x3c2883['to'])&&void 0x0!==_0x153677?_0x153677:_0x368444(_0x2d087d['state'])):new ActiveSource(this['source'],0x1,this['explicit']);}['map'](_0x1a6dc7){if(_0x1a6dc7['empty'])return this;return(this['result']['map']?this['result']['map'](this['result'],_0x1a6dc7):this['result'])?new ActiveResult(this['source'],this['explicit'],_0x1a6dc7['mapPos'](this['limit']),this['result'],_0x1a6dc7['mapPos'](this['from']),_0x1a6dc7['mapPos'](this['to'],0x1)):new ActiveSource(this['source'],0x0);}['touches'](_0x1921c6){return _0x1921c6['changes']['touchesRange'](this['from'],this['to']);}}function _0x392f3a(_0x439ebe,_0x15dc28,_0xc837de,_0x34e9c0){if(!_0x439ebe)return!0x1;let _0x27fc4a=_0x15dc28['sliceDoc'](_0xc837de,_0x34e9c0);return'function'==typeof _0x439ebe?_0x439ebe(_0x27fc4a,_0xc837de,_0x34e9c0,_0x15dc28):_0x2fff05(_0x439ebe,!0x0)['test'](_0x27fc4a);}const setActiveEffect=StateEffect['define']({'map':(_0x26edcc,_0x1a3b3c)=>_0x26edcc['map'](_0x5179e9=>_0x5179e9['map'](_0x1a3b3c))}),setSelectedEffect=StateEffect['define'](),completionState=StateField['define']({'create':()=>CompletionState['start'](),'update':(_0x277f7c,_0x144c9e)=>_0x277f7c['update'](_0x144c9e),'provide':_0x378f49=>[showTooltip['from'](_0x378f49,_0x1da19a=>_0x1da19a['tooltip']),EditorView['contentAttributes']['from'](_0x378f49,_0x119b00=>_0x119b00['attrs'])]});function applyCompletion(_0xe06da5,_0x39e78d){const _0x360803=_0x39e78d['completion']['apply']||_0x39e78d['completion']['label'];let _0x163f90=_0xe06da5['state']['field'](completionState)['active']['find'](_0x534fa4=>_0x534fa4['source']==_0x39e78d['source']);return _0x163f90 instanceof ActiveResult&&('string'==typeof _0x360803?_0xe06da5['dispatch']({...insertCompletionText(_0xe06da5['state'],_0x360803,_0x163f90['from'],_0x163f90['to']),'annotations':pickedCompletion['of'](_0x39e78d['completion'])}):_0x360803(_0xe06da5,_0x39e78d['completion'],_0x163f90['from'],_0x163f90['to']),!0x0);}const createTooltip=completionTooltip(completionState,applyCompletion);function moveCompletionSelection(_0x1ddaf3,_0x1a7587='option'){return _0x892ba6=>{let _0x3fd7cf=_0x892ba6['state']['field'](completionState,!0x1);if(!_0x3fd7cf||!_0x3fd7cf['open']||_0x3fd7cf['open']['disabled']||Date['now']()-_0x3fd7cf['open']['timestamp']<_0x892ba6['state']['facet'](completionConfig)['interactionDelay'])return!0x1;let _0x3f6997,_0x53d5bc=0x1;'page'==_0x1a7587&&(_0x3f6997=getTooltip(_0x892ba6,_0x3fd7cf['open']['tooltip']))&&(_0x53d5bc=Math['max'](0x2,Math['floor'](_0x3f6997['dom']['offsetHeight']/_0x3f6997['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0x3ed6f2}=_0x3fd7cf['open']['options'],_0x5611f5=_0x3fd7cf['open']['selected']>-0x1?_0x3fd7cf['open']['selected']+_0x53d5bc*(_0x1ddaf3?0x1:-0x1):_0x1ddaf3?0x0:_0x3ed6f2-0x1;return _0x5611f5<0x0?_0x5611f5='page'==_0x1a7587?0x0:_0x3ed6f2-0x1:_0x5611f5>=_0x3ed6f2&&(_0x5611f5='page'==_0x1a7587?_0x3ed6f2-0x1:0x0),_0x892ba6['dispatch']({'effects':setSelectedEffect['of'](_0x5611f5)}),!0x0;};}const acceptCompletion=_0x3bc1a8=>{let _0x2b1764=_0x3bc1a8['state']['field'](completionState,!0x1);return!(_0x3bc1a8['state']['readOnly']||!_0x2b1764||!_0x2b1764['open']||_0x2b1764['open']['selected']<0x0||_0x2b1764['open']['disabled']||Date['now']()-_0x2b1764['open']['timestamp']<_0x3bc1a8['state']['facet'](completionConfig)['interactionDelay'])&&applyCompletion(_0x3bc1a8,_0x2b1764['open']['options'][_0x2b1764['open']['selected']]);},startCompletion=_0x2ff12b=>!!_0x2ff12b['state']['field'](completionState,!0x1)&&(_0x2ff12b['dispatch']({'effects':startCompletionEffect['of'](!0x0)}),!0x0),closeCompletion=_0x4de4af=>{let _0x1df21c=_0x4de4af['state']['field'](completionState,!0x1);return!(!_0x1df21c||!_0x1df21c['active']['some'](_0x2a5008=>0x0!=_0x2a5008['state']))&&(_0x4de4af['dispatch']({'effects':closeCompletionEffect['of'](null)}),!0x0);};class _0x1733b1{constructor(_0x10c66d,_0x30115f){this['active']=_0x10c66d,this['context']=_0x30115f,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}}const MaxUpdateCount=0x32,MinAbortTime=0x3e8,completionPlugin=_0x3d5509['fromClass'](class{constructor(_0x4746a9){this['view']=_0x4746a9,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x141947 of _0x4746a9['state']['field'](completionState)['active'])_0x141947['isPending']&&this['startQuery'](_0x141947);}['update'](_0xa5ac8a){let _0x4aa860=_0xa5ac8a['state']['field'](completionState),_0x59c810=_0xa5ac8a['state']['facet'](completionConfig);if(!_0xa5ac8a['selectionSet']&&!_0xa5ac8a['docChanged']&&_0xa5ac8a['startState']['field'](completionState)==_0x4aa860)return;let _0x459112=_0xa5ac8a['transactions']['some'](_0x204ddb=>{let _0x5e1e9e=getUpdateType(_0x204ddb,_0x59c810);return 0x8&_0x5e1e9e||(_0x204ddb['selection']||_0x204ddb['docChanged'])&&!(0x3&_0x5e1e9e);});for(let _0x27e146=0x0;_0x27e146<this['running']['length'];_0x27e146++){let _0x236161=this['running'][_0x27e146];if(_0x459112||_0x236161['context']['abortOnDocChange']&&_0xa5ac8a['docChanged']||_0x236161['updates']['length']+_0xa5ac8a['transactions']['length']>MaxUpdateCount&&Date['now']()-_0x236161['time']>MinAbortTime){for(let _0x31f42d of _0x236161['context']['abortListeners'])try{_0x31f42d();}catch(_0x463086){logException(this['view']['state'],_0x463086);}_0x236161['context']['abortListeners']=null,this['running']['splice'](_0x27e146--,0x1);}else _0x236161['updates']['push'](..._0xa5ac8a['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0xa5ac8a['transactions']['some'](_0x3337f2=>_0x3337f2['effects']['some'](_0x3b0b69=>_0x3b0b69['is'](startCompletionEffect)))&&(this['pendingStart']=!0x0);let _0xf14c17=this['pendingStart']?0x32:_0x59c810['activateOnTypingDelay'];if(this['debounceUpdate']=_0x4aa860['active']['some'](_0xc962af=>_0xc962af['isPending']&&!this['running']['some'](_0x35016b=>_0x35016b['active']['source']==_0xc962af['source']))?setTimeout(()=>this['startUpdate'](),_0xf14c17):-0x1,0x0!=this['composing']){for(let _0x48926d of _0xa5ac8a['transactions'])_0x48926d['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0x48926d['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x2aa379}=this['view'],_0x419ee3=_0x2aa379['field'](completionState);for(let _0x456240 of _0x419ee3['active'])_0x456240['isPending']&&!this['running']['some'](_0x5a49c5=>_0x5a49c5['active']['source']==_0x456240['source'])&&this['startQuery'](_0x456240);this['running']['length']&&_0x419ee3['open']&&_0x419ee3['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](completionConfig)['updateSyncTime']));}['startQuery'](_0x177c19){let {state:_0x3b7859}=this['view'],_0xd1b655=_0x368444(_0x3b7859),_0x3fe80f=new CompletionContext(_0x3b7859,_0xd1b655,_0x177c19['explicit'],this['view']),_0x160a1f=new _0x1733b1(_0x177c19,_0x3fe80f);this['running']['push'](_0x160a1f),Promise['resolve'](_0x177c19['source'](_0x3fe80f))['then'](_0x4bf8e2=>{_0x160a1f['context']['aborted']||(_0x160a1f['done']=_0x4bf8e2||null,this['scheduleAccept']());},_0x13e71c=>{this['view']['dispatch']({'effects':closeCompletionEffect['of'](null)}),logException(this['view']['state'],_0x13e71c);});}['scheduleAccept'](){this['running']['every'](_0x569065=>void 0x0!==_0x569065['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](completionConfig)['updateSyncTime']));}['accept'](){var _0x412846;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0xeee089=[],_0x4c9e4a=this['view']['state']['facet'](completionConfig),_0x5d6fa8=this['view']['state']['field'](completionState);for(let _0x35316f=0x0;_0x35316f<this['running']['length'];_0x35316f++){let _0x4ae13d=this['running'][_0x35316f];if(void 0x0===_0x4ae13d['done'])continue;if(this['running']['splice'](_0x35316f--,0x1),_0x4ae13d['done']){let _0x2a43a7=_0x368444(_0x4ae13d['updates']['length']?_0x4ae13d['updates'][0x0]['startState']:this['view']['state']),_0x38a4d6=Math['min'](_0x2a43a7,_0x4ae13d['done']['from']+(_0x4ae13d['active']['explicit']?0x0:0x1)),_0x222ab5=new ActiveResult(_0x4ae13d['active']['source'],_0x4ae13d['active']['explicit'],_0x38a4d6,_0x4ae13d['done'],_0x4ae13d['done']['from'],null!==(_0x412846=_0x4ae13d['done']['to'])&&void 0x0!==_0x412846?_0x412846:_0x2a43a7);for(let _0x5dcf67 of _0x4ae13d['updates'])_0x222ab5=_0x222ab5['update'](_0x5dcf67,_0x4c9e4a);if(_0x222ab5['hasResult']()){_0xeee089['push'](_0x222ab5);continue;}}let _0xc20ec6=_0x5d6fa8['active']['find'](_0x445c65=>_0x445c65['source']==_0x4ae13d['active']['source']);if(_0xc20ec6&&_0xc20ec6['isPending']){if(null==_0x4ae13d['done']){let _0x14f8cd=new ActiveSource(_0x4ae13d['active']['source'],0x0);for(let _0x48a39d of _0x4ae13d['updates'])_0x14f8cd=_0x14f8cd['update'](_0x48a39d,_0x4c9e4a);_0x14f8cd['isPending']||_0xeee089['push'](_0x14f8cd);}else this['startQuery'](_0xc20ec6);}}(_0xeee089['length']||_0x5d6fa8['open']&&_0x5d6fa8['open']['disabled'])&&this['view']['dispatch']({'effects':setActiveEffect['of'](_0xeee089)});}},{'eventHandlers':{'blur'(_0x1b4e2d){let _0x5b9fd3=this['view']['state']['field'](completionState,!0x1);if(_0x5b9fd3&&_0x5b9fd3['tooltip']&&this['view']['state']['facet'](completionConfig)['closeOnBlur']){let _0x5875b5=_0x5b9fd3['open']&&getTooltip(this['view'],_0x5b9fd3['open']['tooltip']);_0x5875b5&&_0x5875b5['dom']['contains'](_0x1b4e2d['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;}}}),_0x5e7b91='object'==typeof navigator&&/Win/['test'](navigator['platform']),commitCharacters=_0x5510a7['highest'](EditorView['domEventHandlers']({'keydown'(_0x5b97a8,_0x366605){let _0x393541=_0x366605['state']['field'](completionState,!0x1);if(!_0x393541||!_0x393541['open']||_0x393541['open']['disabled']||_0x393541['open']['selected']<0x0||_0x5b97a8['key']['length']>0x1||_0x5b97a8['ctrlKey']&&(!_0x5e7b91||!_0x5b97a8['altKey'])||_0x5b97a8['metaKey'])return!0x1;let _0x30f8b2=_0x393541['open']['options'][_0x393541['open']['selected']],_0x41daea=_0x393541['active']['find'](_0x4f8d9b=>_0x4f8d9b['source']==_0x30f8b2['source']),_0x4ac5c2=_0x30f8b2['completion']['commitCharacters']||_0x41daea['result']['commitCharacters'];return _0x4ac5c2&&_0x4ac5c2['indexOf'](_0x5b97a8['key'])>-0x1&&applyCompletion(_0x366605,_0x30f8b2),!0x1;}})),_0x533368=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 _0x2150b7{constructor(_0x55e579,_0xb757e4,_0x15af57,_0xdae580){this['field']=_0x55e579,this['line']=_0xb757e4,this['from']=_0x15af57,this['to']=_0xdae580;}}class _0x6f3cdf{constructor(_0x333561,_0x202329,_0x34be93){this['field']=_0x333561,this['from']=_0x202329,this['to']=_0x34be93;}['map'](_0x2644c6){let _0x5232f4=_0x2644c6['mapPos'](this['from'],-0x1,_0x20171d['TrackDel']),_0x51b0db=_0x2644c6['mapPos'](this['to'],0x1,_0x20171d['TrackDel']);return null==_0x5232f4||null==_0x51b0db?null:new _0x6f3cdf(this['field'],_0x5232f4,_0x51b0db);}}class Snippet{constructor(_0xacf52c,_0x5ed80a){this['lines']=_0xacf52c,this['fieldPositions']=_0x5ed80a;}['instantiate'](_0x13bd31,_0x415227){let _0x29e3ee=[],_0x212d98=[_0x415227],_0x4964f7=_0x13bd31['doc']['lineAt'](_0x415227),_0x31d0b8=/^\s*/['exec'](_0x4964f7['text'])[0x0];for(let _0x44b6e9 of this['lines']){if(_0x29e3ee['length']){let _0x3a44e2=_0x31d0b8,_0x1ffcb2=/^\t*/['exec'](_0x44b6e9)[0x0]['length'];for(let _0x4025b3=0x0;_0x4025b3<_0x1ffcb2;_0x4025b3++)_0x3a44e2+=_0x13bd31['facet'](indentUnit);_0x212d98['push'](_0x415227+_0x3a44e2['length']-_0x1ffcb2),_0x44b6e9=_0x3a44e2+_0x44b6e9['slice'](_0x1ffcb2);}_0x29e3ee['push'](_0x44b6e9),_0x415227+=_0x44b6e9['length']+0x1;}let _0x4c0383=this['fieldPositions']['map'](_0x293dd3=>new _0x6f3cdf(_0x293dd3['field'],_0x212d98[_0x293dd3['line']]+_0x293dd3['from'],_0x212d98[_0x293dd3['line']]+_0x293dd3['to']));return{'text':_0x29e3ee,'ranges':_0x4c0383};}static['parse'](_0xb4d97c){let _0x3ca7c8,_0x3f6353=[],_0x1a705e=[],_0x20f8f4=[];for(let _0xfe18c9 of _0xb4d97c['split'](/\r\n?|\n/)){for(;_0x3ca7c8=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0xfe18c9);){let _0x361590=_0x3ca7c8[0x1]?+_0x3ca7c8[0x1]:null,_0x1a20db=_0x3ca7c8[0x2]||_0x3ca7c8[0x3]||'',_0x740734=-0x1,_0xa2e14f=_0x1a20db['replace'](/\\[{}]/g,_0x54b128=>_0x54b128[0x1]);for(let _0x410b81=0x0;_0x410b81<_0x3f6353['length'];_0x410b81++)(null!=_0x361590?_0x3f6353[_0x410b81]['seq']==_0x361590:_0xa2e14f&&_0x3f6353[_0x410b81]['name']==_0xa2e14f)&&(_0x740734=_0x410b81);if(_0x740734<0x0){let _0x557923=0x0;for(;_0x557923<_0x3f6353['length']&&(null==_0x361590||null!=_0x3f6353[_0x557923]['seq']&&_0x3f6353[_0x557923]['seq']<_0x361590);)_0x557923++;_0x3f6353['splice'](_0x557923,0x0,{'seq':_0x361590,'name':_0xa2e14f}),_0x740734=_0x557923;for(let _0x459681 of _0x20f8f4)_0x459681['field']>=_0x740734&&_0x459681['field']++;}for(let _0xf9ea41 of _0x20f8f4)if(_0xf9ea41['line']==_0x1a705e['length']&&_0xf9ea41['from']>_0x3ca7c8['index']){let _0x5d0c9b=_0x3ca7c8[0x2]?0x3+(_0x3ca7c8[0x1]||'')['length']:0x2;_0xf9ea41['from']-=_0x5d0c9b,_0xf9ea41['to']-=_0x5d0c9b;}_0x20f8f4['push'](new _0x2150b7(_0x740734,_0x1a705e['length'],_0x3ca7c8['index'],_0x3ca7c8['index']+_0xa2e14f['length'])),_0xfe18c9=_0xfe18c9['slice'](0x0,_0x3ca7c8['index'])+_0x1a20db+_0xfe18c9['slice'](_0x3ca7c8['index']+_0x3ca7c8[0x0]['length']);}_0xfe18c9=_0xfe18c9['replace'](/\\([{}])/g,(_0x5de60f,_0x5b6a6d,_0x56c2b5)=>{for(let _0x5debbb of _0x20f8f4)_0x5debbb['line']==_0x1a705e['length']&&_0x5debbb['from']>_0x56c2b5&&(_0x5debbb['from']--,_0x5debbb['to']--);return _0x5b6a6d;}),_0x1a705e['push'](_0xfe18c9);}return new Snippet(_0x1a705e,_0x20f8f4);}}let _0x403a43=Decoration['widget']({'widget':new class extends WidgetType{['toDOM'](){let _0x4ba490=document['createElement']('span');return _0x4ba490['className']='cm-snippetFieldPosition',_0x4ba490;}['ignoreEvent'](){return!0x1;}}()}),_0x36c025=Decoration['mark']({'class':'cm-snippetField'});class ActiveSnippet{constructor(_0x47af65,_0x4a0cf5){this['ranges']=_0x47af65,this['active']=_0x4a0cf5,this['deco']=Decoration['set'](_0x47af65['map'](_0x249200=>(_0x249200['from']==_0x249200['to']?_0x403a43:_0x36c025)['range'](_0x249200['from'],_0x249200['to'])),!0x0);}['map'](_0xda57fe){let _0x1f844d=[];for(let _0x17212e of this['ranges']){let _0x1bac53=_0x17212e['map'](_0xda57fe);if(!_0x1bac53)return null;_0x1f844d['push'](_0x1bac53);}return new ActiveSnippet(_0x1f844d,this['active']);}['selectionInsideField'](_0x5ba570){return _0x5ba570['ranges']['every'](_0x2847e4=>this['ranges']['some'](_0x585334=>_0x585334['field']==this['active']&&_0x585334['from']<=_0x2847e4['from']&&_0x585334['to']>=_0x2847e4['to']));}}const setActive=StateEffect['define']({'map':(_0x58de7b,_0x332be2)=>_0x58de7b&&_0x58de7b['map'](_0x332be2)}),_0x1bc0a6=StateEffect['define'](),snippetState=StateField['define']({'create':()=>null,'update'(_0x3ededa,_0x240612){for(let _0xdc5610 of _0x240612['effects']){if(_0xdc5610['is'](setActive))return _0xdc5610['value'];if(_0xdc5610['is'](_0x1bc0a6)&&_0x3ededa)return new ActiveSnippet(_0x3ededa['ranges'],_0xdc5610['value']);}return _0x3ededa&&_0x240612['docChanged']&&(_0x3ededa=_0x3ededa['map'](_0x240612['changes'])),_0x3ededa&&_0x240612['selection']&&!_0x3ededa['selectionInsideField'](_0x240612['selection'])&&(_0x3ededa=null),_0x3ededa;},'provide':_0x1e7d64=>EditorView['decorations']['from'](_0x1e7d64,_0x33812a=>_0x33812a?_0x33812a['deco']:Decoration['none'])});function fieldSelection(_0x583f5f,_0x348d5d){return EditorSelection['create'](_0x583f5f['filter'](_0x487de9=>_0x487de9['field']==_0x348d5d)['map'](_0x24e696=>EditorSelection['range'](_0x24e696['from'],_0x24e696['to'])));}function snippet(_0x2d2350){let _0x1e5efa=Snippet['parse'](_0x2d2350);return(_0x4f1e40,_0x448733,_0xdf671f,_0x2f995b)=>{let {text:_0x4d40a0,ranges:_0x5ade01}=_0x1e5efa['instantiate'](_0x4f1e40['state'],_0xdf671f),{main:_0x246c9a}=_0x4f1e40['state']['selection'],_0x20a200={'changes':{'from':_0xdf671f,'to':_0x2f995b==_0x246c9a['from']?_0x246c9a['to']:_0x2f995b,'insert':Text['of'](_0x4d40a0)},'scrollIntoView':!0x0,'annotations':_0x448733?[pickedCompletion['of'](_0x448733),Transaction['userEvent']['of']('input.complete')]:void 0x0};if(_0x5ade01['length']&&(_0x20a200['selection']=fieldSelection(_0x5ade01,0x0)),_0x5ade01['some'](_0x39e86a=>_0x39e86a['field']>0x0)){let _0x4618ef=new ActiveSnippet(_0x5ade01,0x0),_0x14c147=_0x20a200['effects']=[setActive['of'](_0x4618ef)];void 0x0===_0x4f1e40['state']['field'](snippetState,!0x1)&&_0x14c147['push'](StateEffect['appendConfig']['of']([snippetState,addSnippetKeymap,snippetPointerHandler,_0x533368]));}_0x4f1e40['dispatch'](_0x4f1e40['state']['update'](_0x20a200));};}function _0x459263(_0x5355b9){return({state:_0x8f3b15,dispatch:_0x389040})=>{let _0x4ae964=_0x8f3b15['field'](snippetState,!0x1);if(!_0x4ae964||_0x5355b9<0x0&&0x0==_0x4ae964['active'])return!0x1;let _0x48522c=_0x4ae964['active']+_0x5355b9,_0x43ac8f=_0x5355b9>0x0&&!_0x4ae964['ranges']['some'](_0x395ce2=>_0x395ce2['field']==_0x48522c+_0x5355b9);return _0x389040(_0x8f3b15['update']({'selection':fieldSelection(_0x4ae964['ranges'],_0x48522c),'effects':setActive['of'](_0x43ac8f?null:new ActiveSnippet(_0x4ae964['ranges'],_0x48522c)),'scrollIntoView':!0x0})),!0x0;};}const clearSnippet=({state:_0x36346a,dispatch:_0x25c21e})=>!!_0x36346a['field'](snippetState,!0x1)&&(_0x25c21e(_0x36346a['update']({'effects':setActive['of'](null)})),!0x0),nextSnippetField=_0x459263(0x1),prevSnippetField=_0x459263(-0x1),defaultSnippetKeymap=[{'key':'Tab','run':nextSnippetField,'shift':prevSnippetField},{'key':'Escape','run':clearSnippet}],snippetKeymap=Facet['define']({'combine':_0x3744b9=>_0x3744b9['length']?_0x3744b9[0x0]:defaultSnippetKeymap}),addSnippetKeymap=_0x5510a7['highest'](_0x16b200['compute']([snippetKeymap],_0x1568af=>_0x1568af['facet'](snippetKeymap)));function snippetCompletion(_0x2ae140,_0x244a50){return{..._0x244a50,'apply':snippet(_0x2ae140)};}const snippetPointerHandler=EditorView['domEventHandlers']({'mousedown'(_0x5acf6b,_0x565566){let _0x5b6fef,_0x1ac58c=_0x565566['state']['field'](snippetState,!0x1);if(!_0x1ac58c||null==(_0x5b6fef=_0x565566['posAtCoords']({'x':_0x5acf6b['clientX'],'y':_0x5acf6b['clientY']})))return!0x1;let _0x5dd05c=_0x1ac58c['ranges']['find'](_0x43ce74=>_0x43ce74['from']<=_0x5b6fef&&_0x43ce74['to']>=_0x5b6fef);return!(!_0x5dd05c||_0x5dd05c['field']==_0x1ac58c['active'])&&(_0x565566['dispatch']({'selection':fieldSelection(_0x1ac58c['ranges'],_0x5dd05c['field']),'effects':setActive['of'](_0x1ac58c['ranges']['some'](_0x643f1e=>_0x643f1e['field']>_0x5dd05c['field'])?new ActiveSnippet(_0x1ac58c['ranges'],_0x5dd05c['field']):null),'scrollIntoView':!0x0}),!0x0);}}),defaults={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},closeBracketEffect=StateEffect['define']({'map'(_0x1d92be,_0x3c0775){let _0x9aee3e=_0x3c0775['mapPos'](_0x1d92be,-0x1,_0x20171d['TrackAfter']);return null==_0x9aee3e?void 0x0:_0x9aee3e;}}),closedBracket=new class extends _0x5aecfe{}();closedBracket['startSide']=0x1,closedBracket['endSide']=-0x1;const bracketState=StateField['define']({'create':()=>RangeSet['empty'],'update'(_0x2ce45a,_0x35de3f){if(_0x2ce45a=_0x2ce45a['map'](_0x35de3f['changes']),_0x35de3f['selection']){let _0x994c8b=_0x35de3f['state']['doc']['lineAt'](_0x35de3f['selection']['main']['head']);_0x2ce45a=_0x2ce45a['update']({'filter':_0x18f939=>_0x18f939>=_0x994c8b['from']&&_0x18f939<=_0x994c8b['to']});}for(let _0x4fc3ae of _0x35de3f['effects'])_0x4fc3ae['is'](closeBracketEffect)&&(_0x2ce45a=_0x2ce45a['update']({'add':[closedBracket['range'](_0x4fc3ae['value'],_0x4fc3ae['value']+0x1)]}));return _0x2ce45a;}});function closeBrackets(){return[inputHandler,bracketState];}const _0x12beec='()[]{}<>«»»«［］｛｝';function _0x50aada(_0x300f82){for(let _0xe819a9=0x0;_0xe819a9<_0x12beec['length'];_0xe819a9+=0x2)if(_0x12beec['charCodeAt'](_0xe819a9)==_0x300f82)return _0x12beec['charAt'](_0xe819a9+0x1);return fromCodePoint(_0x300f82<0x80?_0x300f82:_0x300f82+0x1);}function _0x3148bd(_0x754513,_0x39fd52){return _0x754513['languageDataAt']('closeBrackets',_0x39fd52)[0x0]||defaults;}const _0x490c28='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),inputHandler=EditorView['inputHandler']['of']((_0x1ca07a,_0xfc2fbc,_0x2c2e85,_0x41b6dd)=>{if((_0x490c28?_0x1ca07a['composing']:_0x1ca07a['compositionStarted'])||_0x1ca07a['state']['readOnly'])return!0x1;let _0x4c6141=_0x1ca07a['state']['selection']['main'];if(_0x41b6dd['length']>0x2||0x2==_0x41b6dd['length']&&0x1==codePointSize(codePointAt(_0x41b6dd,0x0))||_0xfc2fbc!=_0x4c6141['from']||_0x2c2e85!=_0x4c6141['to'])return!0x1;let _0x1dfe84=insertBracket(_0x1ca07a['state'],_0x41b6dd);return!!_0x1dfe84&&(_0x1ca07a['dispatch'](_0x1dfe84),!0x0);}),deleteBracketPair=({state:_0x1b4133,dispatch:_0xa8c1df})=>{if(_0x1b4133['readOnly'])return!0x1;let _0x17b8b8=_0x3148bd(_0x1b4133,_0x1b4133['selection']['main']['head'])['brackets']||defaults['brackets'],_0x2e05ab=null,_0x432664=_0x1b4133['changeByRange'](_0x211eff=>{if(_0x211eff['empty']){let _0xb34b4e=_0x468edb(_0x1b4133['doc'],_0x211eff['head']);for(let _0x23d884 of _0x17b8b8)if(_0x23d884==_0xb34b4e&&nextChar(_0x1b4133['doc'],_0x211eff['head'])==_0x50aada(codePointAt(_0x23d884,0x0)))return{'changes':{'from':_0x211eff['head']-_0x23d884['length'],'to':_0x211eff['head']+_0x23d884['length']},'range':EditorSelection['cursor'](_0x211eff['head']-_0x23d884['length'])};}return{'range':_0x2e05ab=_0x211eff};});return _0x2e05ab||_0xa8c1df(_0x1b4133['update'](_0x432664,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x2e05ab;},closeBracketsKeymap=[{'key':'Backspace','run':deleteBracketPair}];function insertBracket(_0xae04cb,_0x307fd9){let _0x99b5b1=_0x3148bd(_0xae04cb,_0xae04cb['selection']['main']['head']),_0x4a7b7e=_0x99b5b1['brackets']||defaults['brackets'];for(let _0x2803bc of _0x4a7b7e){let _0x378dfa=_0x50aada(codePointAt(_0x2803bc,0x0));if(_0x307fd9==_0x2803bc)return _0x378dfa==_0x2803bc?_0x3a4fcf(_0xae04cb,_0x2803bc,_0x4a7b7e['indexOf'](_0x2803bc+_0x2803bc+_0x2803bc)>-0x1,_0x99b5b1):_0x327b18(_0xae04cb,_0x2803bc,_0x378dfa,_0x99b5b1['before']||defaults['before']);if(_0x307fd9==_0x378dfa&&closedBracketAt(_0xae04cb,_0xae04cb['selection']['main']['from']))return _0x46f2ab(_0xae04cb,_0x2803bc,_0x378dfa);}return null;}function closedBracketAt(_0x5c35c2,_0x7a48b9){let _0x1772c4=!0x1;return _0x5c35c2['field'](bracketState)['between'](0x0,_0x5c35c2['doc']['length'],_0x276881=>{_0x276881==_0x7a48b9&&(_0x1772c4=!0x0);}),_0x1772c4;}function nextChar(_0x1319fd,_0x25ec61){let _0xb7eea=_0x1319fd['sliceString'](_0x25ec61,_0x25ec61+0x2);return _0xb7eea['slice'](0x0,codePointSize(codePointAt(_0xb7eea,0x0)));}function _0x468edb(_0x488999,_0x286a60){let _0x3afb73=_0x488999['sliceString'](_0x286a60-0x2,_0x286a60);return codePointSize(codePointAt(_0x3afb73,0x0))==_0x3afb73['length']?_0x3afb73:_0x3afb73['slice'](0x1);}function _0x327b18(_0x2b4743,_0x115ce3,_0x28bcca,_0xcd491b){let _0x4d4d9a=null,_0x3658e1=_0x2b4743['changeByRange'](_0x3e606b=>{if(!_0x3e606b['empty'])return{'changes':[{'insert':_0x115ce3,'from':_0x3e606b['from']},{'insert':_0x28bcca,'from':_0x3e606b['to']}],'effects':closeBracketEffect['of'](_0x3e606b['to']+_0x115ce3['length']),'range':EditorSelection['range'](_0x3e606b['anchor']+_0x115ce3['length'],_0x3e606b['head']+_0x115ce3['length'])};let _0x22a88c=nextChar(_0x2b4743['doc'],_0x3e606b['head']);return!_0x22a88c||/\s/['test'](_0x22a88c)||_0xcd491b['indexOf'](_0x22a88c)>-0x1?{'changes':{'insert':_0x115ce3+_0x28bcca,'from':_0x3e606b['head']},'effects':closeBracketEffect['of'](_0x3e606b['head']+_0x115ce3['length']),'range':EditorSelection['cursor'](_0x3e606b['head']+_0x115ce3['length'])}:{'range':_0x4d4d9a=_0x3e606b};});return _0x4d4d9a?null:_0x2b4743['update'](_0x3658e1,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x46f2ab(_0xf328f7,_0x213944,_0x41d23){let _0x46a39c=null,_0x532787=_0xf328f7['changeByRange'](_0x3183f0=>_0x3183f0['empty']&&nextChar(_0xf328f7['doc'],_0x3183f0['head'])==_0x41d23?{'changes':{'from':_0x3183f0['head'],'to':_0x3183f0['head']+_0x41d23['length'],'insert':_0x41d23},'range':EditorSelection['cursor'](_0x3183f0['head']+_0x41d23['length'])}:_0x46a39c={'range':_0x3183f0});return _0x46a39c?null:_0xf328f7['update'](_0x532787,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x3a4fcf(_0x2f6618,_0x357bc7,_0x230783,_0x223b26){let _0x2d5285=_0x223b26['stringPrefixes']||defaults['stringPrefixes'],_0x1f912d=null,_0x1a5a1e=_0x2f6618['changeByRange'](_0x245e81=>{if(!_0x245e81['empty'])return{'changes':[{'insert':_0x357bc7,'from':_0x245e81['from']},{'insert':_0x357bc7,'from':_0x245e81['to']}],'effects':closeBracketEffect['of'](_0x245e81['to']+_0x357bc7['length']),'range':EditorSelection['range'](_0x245e81['anchor']+_0x357bc7['length'],_0x245e81['head']+_0x357bc7['length'])};let _0x3cf9e3,_0x43e456=_0x245e81['head'],_0x407668=nextChar(_0x2f6618['doc'],_0x43e456);if(_0x407668==_0x357bc7){if(nodeStart(_0x2f6618,_0x43e456))return{'changes':{'insert':_0x357bc7+_0x357bc7,'from':_0x43e456},'effects':closeBracketEffect['of'](_0x43e456+_0x357bc7['length']),'range':EditorSelection['cursor'](_0x43e456+_0x357bc7['length'])};if(closedBracketAt(_0x2f6618,_0x43e456)){let _0x52c692=_0x230783&&_0x2f6618['sliceDoc'](_0x43e456,_0x43e456+0x3*_0x357bc7['length'])==_0x357bc7+_0x357bc7+_0x357bc7?_0x357bc7+_0x357bc7+_0x357bc7:_0x357bc7;return{'changes':{'from':_0x43e456,'to':_0x43e456+_0x52c692['length'],'insert':_0x52c692},'range':EditorSelection['cursor'](_0x43e456+_0x52c692['length'])};}}else{if(_0x230783&&_0x2f6618['sliceDoc'](_0x43e456-0x2*_0x357bc7['length'],_0x43e456)==_0x357bc7+_0x357bc7&&(_0x3cf9e3=canStartStringAt(_0x2f6618,_0x43e456-0x2*_0x357bc7['length'],_0x2d5285))>-0x1&&nodeStart(_0x2f6618,_0x3cf9e3))return{'changes':{'insert':_0x357bc7+_0x357bc7+_0x357bc7+_0x357bc7,'from':_0x43e456},'effects':closeBracketEffect['of'](_0x43e456+_0x357bc7['length']),'range':EditorSelection['cursor'](_0x43e456+_0x357bc7['length'])};if(_0x2f6618['charCategorizer'](_0x43e456)(_0x407668)!=CharCategory['Word']&&canStartStringAt(_0x2f6618,_0x43e456,_0x2d5285)>-0x1&&!probablyInString(_0x2f6618,_0x43e456,_0x357bc7,_0x2d5285))return{'changes':{'insert':_0x357bc7+_0x357bc7,'from':_0x43e456},'effects':closeBracketEffect['of'](_0x43e456+_0x357bc7['length']),'range':EditorSelection['cursor'](_0x43e456+_0x357bc7['length'])};}return{'range':_0x1f912d=_0x245e81};});return _0x1f912d?null:_0x2f6618['update'](_0x1a5a1e,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function nodeStart(_0xa02b68,_0x5264c8){let _0x4bd0ec=syntaxTree(_0xa02b68)['resolveInner'](_0x5264c8+0x1);return _0x4bd0ec['parent']&&_0x4bd0ec['from']==_0x5264c8;}function probablyInString(_0x267871,_0x5702f8,_0x4a2dd6,_0xda1c4d){let _0x48df06=syntaxTree(_0x267871)['resolveInner'](_0x5702f8,-0x1),_0x19374c=_0xda1c4d['reduce']((_0x23b9a9,_0x2a4d38)=>Math['max'](_0x23b9a9,_0x2a4d38['length']),0x0);for(let _0x588c7a=0x0;_0x588c7a<0x5;_0x588c7a++){let _0x15ca1d=_0x267871['sliceDoc'](_0x48df06['from'],Math['min'](_0x48df06['to'],_0x48df06['from']+_0x4a2dd6['length']+_0x19374c)),_0x1066f0=_0x15ca1d['indexOf'](_0x4a2dd6);if(!_0x1066f0||_0x1066f0>-0x1&&_0xda1c4d['indexOf'](_0x15ca1d['slice'](0x0,_0x1066f0))>-0x1){let _0x1775c8=_0x48df06['firstChild'];for(;_0x1775c8&&_0x1775c8['from']==_0x48df06['from']&&_0x1775c8['to']-_0x1775c8['from']>_0x4a2dd6['length']+_0x1066f0;){if(_0x267871['sliceDoc'](_0x1775c8['to']-_0x4a2dd6['length'],_0x1775c8['to'])==_0x4a2dd6)return!0x1;_0x1775c8=_0x1775c8['firstChild'];}return!0x0;}let _0x543e2c=_0x48df06['to']==_0x5702f8&&_0x48df06['parent'];if(!_0x543e2c)break;_0x48df06=_0x543e2c;}return!0x1;}function canStartStringAt(_0x524cf7,_0x17f676,_0x1f3d17){let _0x15fba6=_0x524cf7['charCategorizer'](_0x17f676);if(_0x15fba6(_0x524cf7['sliceDoc'](_0x17f676-0x1,_0x17f676))!=CharCategory['Word'])return _0x17f676;for(let _0x50fc71 of _0x1f3d17){let _0x4e5e8e=_0x17f676-_0x50fc71['length'];if(_0x524cf7['sliceDoc'](_0x4e5e8e,_0x17f676)==_0x50fc71&&_0x15fba6(_0x524cf7['sliceDoc'](_0x4e5e8e-0x1,_0x4e5e8e))!=CharCategory['Word'])return _0x4e5e8e;}return-0x1;}function autocompletion(_0x366775={}){return[commitCharacters,completionState,completionConfig['of'](_0x366775),completionPlugin,completionKeymapExt,_0x533368];}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=_0x5510a7['highest'](_0x16b200['computeN']([completionConfig],_0x48b98a=>_0x48b98a['facet'](completionConfig)['defaultKeymap']?[completionKeymap]:[]));class Stack{constructor(_0x35c010,_0x3b6129,_0x3cf095,_0x5454aa,_0x4eaf62,_0x20d715,_0x909239,_0x577492,_0x2943cd,_0xd41aa0=0x0,_0x12a5d3){this['p']=_0x35c010,this['stack']=_0x3b6129,this['state']=_0x3cf095,this['reducePos']=_0x5454aa,this['pos']=_0x4eaf62,this['score']=_0x20d715,this['buffer']=_0x909239,this['bufferBase']=_0x577492,this['curContext']=_0x2943cd,this['lookAhead']=_0xd41aa0,this['parent']=_0x12a5d3;}['toString'](){return'['+this['stack']['filter']((_0x592bff,_0x3d2194)=>_0x3d2194%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x39da95,_0x1e476c,_0x40c546=0x0){let _0x564eab=_0x39da95['parser']['context'];return new Stack(_0x39da95,[],_0x1e476c,_0x40c546,_0x40c546,0x0,[],0x0,_0x564eab?new StackContext(_0x564eab,_0x564eab['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x364392,_0x1ece53){this['stack']['push'](this['state'],_0x1ece53,this['bufferBase']+this['buffer']['length']),this['state']=_0x364392;}['reduce'](_0x10b97d){var _0x37994e;let _0x3da5e4=_0x10b97d>>0x13,_0x37f290=0xffff&_0x10b97d,{parser:_0x409918}=this['p'],_0x14e597=this['reducePos']<this['pos']-0x19;_0x14e597&&this['setLookAhead'](this['pos']);let _0x543d22=_0x409918['dynamicPrecedence'](_0x37f290);if(_0x543d22&&(this['score']+=_0x543d22),0x0==_0x3da5e4)return this['pushState'](_0x409918['getGoto'](this['state'],_0x37f290,!0x0),this['reducePos']),_0x37f290<_0x409918['minRepeatTerm']&&this['storeNode'](_0x37f290,this['reducePos'],this['reducePos'],_0x14e597?0x8:0x4,!0x0),void this['reduceContext'](_0x37f290,this['reducePos']);let _0x27bdc7=this['stack']['length']-0x3*(_0x3da5e4-0x1)-(0x40000&_0x10b97d?0x6:0x0),_0x3f7dc8=_0x27bdc7?this['stack'][_0x27bdc7-0x2]:this['p']['ranges'][0x0]['from'],_0x192f79=this['reducePos']-_0x3f7dc8;_0x192f79>=0x7d0&&!(null===(_0x37994e=this['p']['parser']['nodeSet']['types'][_0x37f290])||void 0x0===_0x37994e?void 0x0:_0x37994e['isAnonymous'])&&(_0x3f7dc8==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x192f79):this['p']['lastBigReductionSize']<_0x192f79&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x3f7dc8,this['p']['lastBigReductionSize']=_0x192f79));let _0x168015=_0x27bdc7?this['stack'][_0x27bdc7-0x1]:0x0,_0x2c1dd6=this['bufferBase']+this['buffer']['length']-_0x168015;if(_0x37f290<_0x409918['minRepeatTerm']||0x20000&_0x10b97d){let _0x414aad=_0x409918['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0x37f290,_0x3f7dc8,_0x414aad,_0x2c1dd6+0x4,!0x0);}if(0x40000&_0x10b97d)this['state']=this['stack'][_0x27bdc7];else{let _0x4bba56=this['stack'][_0x27bdc7-0x3];this['state']=_0x409918['getGoto'](_0x4bba56,_0x37f290,!0x0);}for(;this['stack']['length']>_0x27bdc7;)this['stack']['pop']();this['reduceContext'](_0x37f290,_0x3f7dc8);}['storeNode'](_0x269146,_0x581fe1,_0x573053,_0x19b55e=0x4,_0x1e6651=!0x1){if(0x0==_0x269146&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x27c6c5=this,_0x51c3ff=this['buffer']['length'];if(0x0==_0x51c3ff&&_0x27c6c5['parent']&&(_0x51c3ff=_0x27c6c5['bufferBase']-_0x27c6c5['parent']['bufferBase'],_0x27c6c5=_0x27c6c5['parent']),_0x51c3ff>0x0&&0x0==_0x27c6c5['buffer'][_0x51c3ff-0x4]&&_0x27c6c5['buffer'][_0x51c3ff-0x1]>-0x1){if(_0x581fe1==_0x573053)return;if(_0x27c6c5['buffer'][_0x51c3ff-0x2]>=_0x581fe1)return void(_0x27c6c5['buffer'][_0x51c3ff-0x2]=_0x573053);}}if(_0x1e6651&&this['pos']!=_0x573053){let _0xb08e83=this['buffer']['length'];if(_0xb08e83>0x0&&(0x0!=this['buffer'][_0xb08e83-0x4]||this['buffer'][_0xb08e83-0x1]<0x0)){let _0x414fff=!0x1;for(let _0x4f7d0d=_0xb08e83;_0x4f7d0d>0x0&&this['buffer'][_0x4f7d0d-0x2]>_0x573053;_0x4f7d0d-=0x4)if(this['buffer'][_0x4f7d0d-0x1]>=0x0){_0x414fff=!0x0;break;}if(_0x414fff){for(;_0xb08e83>0x0&&this['buffer'][_0xb08e83-0x2]>_0x573053;)this['buffer'][_0xb08e83]=this['buffer'][_0xb08e83-0x4],this['buffer'][_0xb08e83+0x1]=this['buffer'][_0xb08e83-0x3],this['buffer'][_0xb08e83+0x2]=this['buffer'][_0xb08e83-0x2],this['buffer'][_0xb08e83+0x3]=this['buffer'][_0xb08e83-0x1],_0xb08e83-=0x4,_0x19b55e>0x4&&(_0x19b55e-=0x4);}}this['buffer'][_0xb08e83]=_0x269146,this['buffer'][_0xb08e83+0x1]=_0x581fe1,this['buffer'][_0xb08e83+0x2]=_0x573053,this['buffer'][_0xb08e83+0x3]=_0x19b55e;}else this['buffer']['push'](_0x269146,_0x581fe1,_0x573053,_0x19b55e);}['shift'](_0x195544,_0x5312b2,_0x1fd65a,_0x127b98){if(0x20000&_0x195544)this['pushState'](0xffff&_0x195544,this['pos']);else{if(0x40000&_0x195544)this['pos']=_0x127b98,this['shiftContext'](_0x5312b2,_0x1fd65a),_0x5312b2<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0x5312b2,_0x1fd65a,_0x127b98,0x4);else{let _0xa7feea=_0x195544,{parser:_0x4c5979}=this['p'];(_0x127b98>this['pos']||_0x5312b2<=_0x4c5979['maxNode'])&&(this['pos']=_0x127b98,_0x4c5979['stateFlag'](_0xa7feea,0x1)||(this['reducePos']=_0x127b98)),this['pushState'](_0xa7feea,_0x1fd65a),this['shiftContext'](_0x5312b2,_0x1fd65a),_0x5312b2<=_0x4c5979['maxNode']&&this['buffer']['push'](_0x5312b2,_0x1fd65a,_0x127b98,0x4);}}}['apply'](_0x5c412b,_0x3d4bde,_0x572e05,_0x519f61){0x10000&_0x5c412b?this['reduce'](_0x5c412b):this['shift'](_0x5c412b,_0x3d4bde,_0x572e05,_0x519f61);}['useNode'](_0x1e0750,_0x50488c){let _0x3151d0=this['p']['reused']['length']-0x1;(_0x3151d0<0x0||this['p']['reused'][_0x3151d0]!=_0x1e0750)&&(this['p']['reused']['push'](_0x1e0750),_0x3151d0++);let _0x2bbbc1=this['pos'];this['reducePos']=this['pos']=_0x2bbbc1+_0x1e0750['length'],this['pushState'](_0x50488c,_0x2bbbc1),this['buffer']['push'](_0x3151d0,_0x2bbbc1,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0x1e0750,this,this['p']['stream']['reset'](this['pos']-_0x1e0750['length'])));}['split'](){let _0x4bc7f3=this,_0x3c7a47=_0x4bc7f3['buffer']['length'];for(;_0x3c7a47>0x0&&_0x4bc7f3['buffer'][_0x3c7a47-0x2]>_0x4bc7f3['reducePos'];)_0x3c7a47-=0x4;let _0x1983d1=_0x4bc7f3['buffer']['slice'](_0x3c7a47),_0x207c1e=_0x4bc7f3['bufferBase']+_0x3c7a47;for(;_0x4bc7f3&&_0x207c1e==_0x4bc7f3['bufferBase'];)_0x4bc7f3=_0x4bc7f3['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x1983d1,_0x207c1e,this['curContext'],this['lookAhead'],_0x4bc7f3);}['recoverByDelete'](_0x4ecd70,_0xc9e578){let _0x399d10=_0x4ecd70<=this['p']['parser']['maxNode'];_0x399d10&&this['storeNode'](_0x4ecd70,this['pos'],_0xc9e578,0x4),this['storeNode'](0x0,this['pos'],_0xc9e578,_0x399d10?0x8:0x4),this['pos']=this['reducePos']=_0xc9e578,this['score']-=0xbe;}['canShift'](_0x238b3c){for(let _0x2abdaf=new SimulatedStack(this);;){let _0x419274=this['p']['parser']['stateSlot'](_0x2abdaf['state'],0x4)||this['p']['parser']['hasAction'](_0x2abdaf['state'],_0x238b3c);if(0x0==_0x419274)return!0x1;if(!(0x10000&_0x419274))return!0x0;_0x2abdaf['reduce'](_0x419274);}}['recoverByInsert'](_0x26a2de){if(this['stack']['length']>=0x12c)return[];let _0x1be7b9=this['p']['parser']['nextStates'](this['state']);if(_0x1be7b9['length']>0x8||this['stack']['length']>=0x78){let _0xf180df=[];for(let _0x35d936,_0x5e1b86=0x0;_0x5e1b86<_0x1be7b9['length'];_0x5e1b86+=0x2)(_0x35d936=_0x1be7b9[_0x5e1b86+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x35d936,_0x26a2de)&&_0xf180df['push'](_0x1be7b9[_0x5e1b86],_0x35d936);if(this['stack']['length']<0x78)for(let _0x45fa11=0x0;_0xf180df['length']<0x8&&_0x45fa11<_0x1be7b9['length'];_0x45fa11+=0x2){let _0x530bba=_0x1be7b9[_0x45fa11+0x1];_0xf180df['some']((_0x1206c6,_0x4583b4)=>0x1&_0x4583b4&&_0x1206c6==_0x530bba)||_0xf180df['push'](_0x1be7b9[_0x45fa11],_0x530bba);}_0x1be7b9=_0xf180df;}let _0x27f9de=[];for(let _0x50551c=0x0;_0x50551c<_0x1be7b9['length']&&_0x27f9de['length']<0x4;_0x50551c+=0x2){let _0x37109e=_0x1be7b9[_0x50551c+0x1];if(_0x37109e==this['state'])continue;let _0x48b6b0=this['split']();_0x48b6b0['pushState'](_0x37109e,this['pos']),_0x48b6b0['storeNode'](0x0,_0x48b6b0['pos'],_0x48b6b0['pos'],0x4,!0x0),_0x48b6b0['shiftContext'](_0x1be7b9[_0x50551c],this['pos']),_0x48b6b0['reducePos']=this['pos'],_0x48b6b0['score']-=0xc8,_0x27f9de['push'](_0x48b6b0);}return _0x27f9de;}['forceReduce'](){let {parser:_0x1ea1e5}=this['p'],_0x1d851a=_0x1ea1e5['stateSlot'](this['state'],0x5);if(!(0x10000&_0x1d851a))return!0x1;if(!_0x1ea1e5['validAction'](this['state'],_0x1d851a)){let _0x5770c2=_0x1d851a>>0x13,_0x196257=0xffff&_0x1d851a,_0x4e3a2b=this['stack']['length']-0x3*_0x5770c2;if(_0x4e3a2b<0x0||_0x1ea1e5['getGoto'](this['stack'][_0x4e3a2b],_0x196257,!0x1)<0x0){let _0x1e9778=this['findForcedReduction']();if(null==_0x1e9778)return!0x1;_0x1d851a=_0x1e9778;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x1d851a),!0x0;}['findForcedReduction'](){let {parser:_0x4c7649}=this['p'],_0x277822=[],_0x1cdaa9=(_0x59347c,_0x532cf3)=>{if(!_0x277822['includes'](_0x59347c))return _0x277822['push'](_0x59347c),_0x4c7649['allActions'](_0x59347c,_0x30c2ab=>{if(0x60000&_0x30c2ab);else{if(0x10000&_0x30c2ab){let _0x5364b1=(_0x30c2ab>>0x13)-_0x532cf3;if(_0x5364b1>0x1){let _0x23a5de=0xffff&_0x30c2ab,_0x494f96=this['stack']['length']-0x3*_0x5364b1;if(_0x494f96>=0x0&&_0x4c7649['getGoto'](this['stack'][_0x494f96],_0x23a5de,!0x1)>=0x0)return _0x5364b1<<0x13|0x10000|_0x23a5de;}}else{let _0x2309c9=_0x1cdaa9(_0x30c2ab,_0x532cf3+0x1);if(null!=_0x2309c9)return _0x2309c9;}}});};return _0x1cdaa9(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:_0x2a11b4}=this['p'];return 0xffff==_0x2a11b4['data'][_0x2a11b4['stateSlot'](this['state'],0x1)]&&!_0x2a11b4['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0x7afaa5){if(this['state']!=_0x7afaa5['state']||this['stack']['length']!=_0x7afaa5['stack']['length'])return!0x1;for(let _0x5ccf9a=0x0;_0x5ccf9a<this['stack']['length'];_0x5ccf9a+=0x3)if(this['stack'][_0x5ccf9a]!=_0x7afaa5['stack'][_0x5ccf9a])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0x2bffd8){return this['p']['parser']['dialect']['flags'][_0x2bffd8];}['shiftContext'](_0x43490b,_0x331dbe){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x43490b,this,this['p']['stream']['reset'](_0x331dbe)));}['reduceContext'](_0x5dfb23,_0x1dfcac){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x5dfb23,this,this['p']['stream']['reset'](_0x1dfcac)));}['emitContext'](){let _0x31dd05=this['buffer']['length']-0x1;(_0x31dd05<0x0||-0x3!=this['buffer'][_0x31dd05])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0x1ef079=this['buffer']['length']-0x1;(_0x1ef079<0x0||-0x4!=this['buffer'][_0x1ef079])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0x167cd4){if(_0x167cd4!=this['curContext']['context']){let _0x18953c=new StackContext(this['curContext']['tracker'],_0x167cd4);_0x18953c['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0x18953c;}}['setLookAhead'](_0x5d4dba){_0x5d4dba>this['lookAhead']&&(this['emitLookAhead'](),this['lookAhead']=_0x5d4dba);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}}class StackContext{constructor(_0x15586d,_0x31b5b2){this['tracker']=_0x15586d,this['context']=_0x31b5b2,this['hash']=_0x15586d['strict']?_0x15586d['hash'](_0x31b5b2):0x0;}}class SimulatedStack{constructor(_0x518bfd){this['start']=_0x518bfd,this['state']=_0x518bfd['state'],this['stack']=_0x518bfd['stack'],this['base']=this['stack']['length'];}['reduce'](_0x3abf5f){let _0x26927e=0xffff&_0x3abf5f,_0x137b83=_0x3abf5f>>0x13;0x0==_0x137b83?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x137b83-0x1);let _0x1af23a=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x26927e,!0x0);this['state']=_0x1af23a;}}class StackBufferCursor{constructor(_0x1a18ad,_0x45de36,_0x4960d3){this['stack']=_0x1a18ad,this['pos']=_0x45de36,this['index']=_0x4960d3,this['buffer']=_0x1a18ad['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0x430e20,_0x307513=_0x430e20['bufferBase']+_0x430e20['buffer']['length']){return new StackBufferCursor(_0x430e20,_0x307513,_0x307513-_0x430e20['bufferBase']);}['maybeNext'](){let _0x1c32f6=this['stack']['parent'];null!=_0x1c32f6&&(this['index']=this['stack']['bufferBase']-_0x1c32f6['bufferBase'],this['stack']=_0x1c32f6,this['buffer']=_0x1c32f6['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 _0x13e79d(_0x536af5,_0x526d21=Uint16Array){if('string'!=typeof _0x536af5)return _0x536af5;let _0x221cbb=null;for(let _0x19f22c=0x0,_0x5c0e40=0x0;_0x19f22c<_0x536af5['length'];){let _0x32f0be=0x0;for(;;){let _0x4dd62a=_0x536af5['charCodeAt'](_0x19f22c++),_0x175ca8=!0x1;if(0x7e==_0x4dd62a){_0x32f0be=0xffff;break;}_0x4dd62a>=0x5c&&_0x4dd62a--,_0x4dd62a>=0x22&&_0x4dd62a--;let _0x5c49a1=_0x4dd62a-0x20;if(_0x5c49a1>=0x2e&&(_0x5c49a1-=0x2e,_0x175ca8=!0x0),_0x32f0be+=_0x5c49a1,_0x175ca8)break;_0x32f0be*=0x2e;}_0x221cbb?_0x221cbb[_0x5c0e40++]=_0x32f0be:_0x221cbb=new _0x526d21(_0x32f0be);}return _0x221cbb;}class _0x3f39a3{constructor(){this['start']=-0x1,this['value']=-0x1,this['end']=-0x1,this['extended']=-0x1,this['lookAhead']=0x0,this['mask']=0x0,this['context']=0x0;}}const _0x1418bb=new _0x3f39a3();class InputStream{constructor(_0x1a4dd9,_0x2bcaf9){this['input']=_0x1a4dd9,this['ranges']=_0x2bcaf9,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=_0x1418bb,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0x2bcaf9[0x0]['from'],this['range']=_0x2bcaf9[0x0],this['end']=_0x2bcaf9[_0x2bcaf9['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0x51e82a,_0x6ce264){let _0x287c8b=this['range'],_0x469fda=this['rangeIndex'],_0x32a158=this['pos']+_0x51e82a;for(;_0x32a158<_0x287c8b['from'];){if(!_0x469fda)return null;let _0x53a765=this['ranges'][--_0x469fda];_0x32a158-=_0x287c8b['from']-_0x53a765['to'],_0x287c8b=_0x53a765;}for(;_0x6ce264<0x0?_0x32a158>_0x287c8b['to']:_0x32a158>=_0x287c8b['to'];){if(_0x469fda==this['ranges']['length']-0x1)return null;let _0x36a85a=this['ranges'][++_0x469fda];_0x32a158+=_0x36a85a['from']-_0x287c8b['to'],_0x287c8b=_0x36a85a;}return _0x32a158;}['clipPos'](_0x54663e){if(_0x54663e>=this['range']['from']&&_0x54663e<this['range']['to'])return _0x54663e;for(let _0x5b8cb6 of this['ranges'])if(_0x5b8cb6['to']>_0x54663e)return Math['max'](_0x54663e,_0x5b8cb6['from']);return this['end'];}['peek'](_0x11e662){let _0x506cf0,_0x1ca501,_0x5e6d3a=this['chunkOff']+_0x11e662;if(_0x5e6d3a>=0x0&&_0x5e6d3a<this['chunk']['length'])_0x506cf0=this['pos']+_0x11e662,_0x1ca501=this['chunk']['charCodeAt'](_0x5e6d3a);else{let _0x329e20=this['resolveOffset'](_0x11e662,0x1);if(null==_0x329e20)return-0x1;if(_0x506cf0=_0x329e20,_0x506cf0>=this['chunk2Pos']&&_0x506cf0<this['chunk2Pos']+this['chunk2']['length'])_0x1ca501=this['chunk2']['charCodeAt'](_0x506cf0-this['chunk2Pos']);else{let _0x3a5201=this['rangeIndex'],_0x4baea8=this['range'];for(;_0x4baea8['to']<=_0x506cf0;)_0x4baea8=this['ranges'][++_0x3a5201];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x506cf0),_0x506cf0+this['chunk2']['length']>_0x4baea8['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x4baea8['to']-_0x506cf0)),_0x1ca501=this['chunk2']['charCodeAt'](0x0);}}return _0x506cf0>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x506cf0+0x1),_0x1ca501;}['acceptToken'](_0x2dcad4,_0x1d709b=0x0){let _0x216e91=_0x1d709b?this['resolveOffset'](_0x1d709b,-0x1):this['pos'];if(null==_0x216e91||_0x216e91<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x2dcad4,this['token']['end']=_0x216e91;}['acceptTokenTo'](_0x13fe5f,_0x1203c3){this['token']['value']=_0x13fe5f,this['token']['end']=_0x1203c3;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0x2b9ad1,chunkPos:_0x3ee81b}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0x2b9ad1,this['chunk2Pos']=_0x3ee81b,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0x51ccee=this['input']['chunk'](this['pos']),_0x2279c5=this['pos']+_0x51ccee['length'];this['chunk']=_0x2279c5>this['range']['to']?_0x51ccee['slice'](0x0,this['range']['to']-this['pos']):_0x51ccee,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'](_0x347c47=0x1){for(this['chunkOff']+=_0x347c47;this['pos']+_0x347c47>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x347c47-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x347c47,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'](_0x1c0eda,_0x235e98){if(_0x235e98?(this['token']=_0x235e98,_0x235e98['start']=_0x1c0eda,_0x235e98['lookAhead']=_0x1c0eda+0x1,_0x235e98['value']=_0x235e98['extended']=-0x1):this['token']=_0x1418bb,this['pos']!=_0x1c0eda){if(this['pos']=_0x1c0eda,_0x1c0eda==this['end'])return this['setDone'](),this;for(;_0x1c0eda<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0x1c0eda>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0x1c0eda>=this['chunkPos']&&_0x1c0eda<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0x1c0eda-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x1f5ff1,_0x1d8c69){if(_0x1f5ff1>=this['chunkPos']&&_0x1d8c69<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x1f5ff1-this['chunkPos'],_0x1d8c69-this['chunkPos']);if(_0x1f5ff1>=this['chunk2Pos']&&_0x1d8c69<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x1f5ff1-this['chunk2Pos'],_0x1d8c69-this['chunk2Pos']);if(_0x1f5ff1>=this['range']['from']&&_0x1d8c69<=this['range']['to'])return this['input']['read'](_0x1f5ff1,_0x1d8c69);let _0xb1483d='';for(let _0x460654 of this['ranges']){if(_0x460654['from']>=_0x1d8c69)break;_0x460654['to']>_0x1f5ff1&&(_0xb1483d+=this['input']['read'](Math['max'](_0x460654['from'],_0x1f5ff1),Math['min'](_0x460654['to'],_0x1d8c69)));}return _0xb1483d;}}class _0x212cd9{constructor(_0x46106,_0x4e1444){this['data']=_0x46106,this['id']=_0x4e1444;}['token'](_0x28e3e4,_0xdbf77e){let {parser:_0x232ec4}=_0xdbf77e['p'];_0x5b9868(this['data'],_0x28e3e4,_0xdbf77e,this['id'],_0x232ec4['data'],_0x232ec4['tokenPrecTable']);}}_0x212cd9['prototype']['contextual']=_0x212cd9['prototype']['fallback']=_0x212cd9['prototype']['extend']=!0x1;class _0x2fb081{constructor(_0x326f0f,_0x4c8dd4,_0x36b7cd){this['precTable']=_0x4c8dd4,this['elseToken']=_0x36b7cd,this['data']='string'==typeof _0x326f0f?_0x13e79d(_0x326f0f):_0x326f0f;}['token'](_0x4d52c2,_0x4b2f04){let _0x32fea5=_0x4d52c2['pos'],_0x50e38d=0x0;for(;;){let _0x3001c5=_0x4d52c2['next']<0x0,_0x15feaa=_0x4d52c2['resolveOffset'](0x1,0x1);if(_0x5b9868(this['data'],_0x4d52c2,_0x4b2f04,0x0,this['data'],this['precTable']),_0x4d52c2['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x3001c5||_0x50e38d++,null==_0x15feaa)break;_0x4d52c2['reset'](_0x15feaa,_0x4d52c2['token']);}_0x50e38d&&(_0x4d52c2['reset'](_0x32fea5,_0x4d52c2['token']),_0x4d52c2['acceptToken'](this['elseToken'],_0x50e38d));}}_0x2fb081['prototype']['contextual']=_0x212cd9['prototype']['fallback']=_0x212cd9['prototype']['extend']=!0x1;class ExternalTokenizer{constructor(_0x1f74da,_0xee3ac4={}){this['token']=_0x1f74da,this['contextual']=!!_0xee3ac4['contextual'],this['fallback']=!!_0xee3ac4['fallback'],this['extend']=!!_0xee3ac4['extend'];}}function _0x5b9868(_0x763b0a,_0x2029d4,_0x16b1a2,_0x42320e,_0x28a256,_0x43fbdb){let _0x53a4f3=0x0,_0x445258=0x1<<_0x42320e,{dialect:_0x3bd4b3}=_0x16b1a2['p']['parser'];t:for(;0x0!=(_0x445258&_0x763b0a[_0x53a4f3]);){let _0x6f0b19=_0x763b0a[_0x53a4f3+0x1];for(let _0x1a2ef4=_0x53a4f3+0x3;_0x1a2ef4<_0x6f0b19;_0x1a2ef4+=0x2)if((_0x763b0a[_0x1a2ef4+0x1]&_0x445258)>0x0){let _0x32eafe=_0x763b0a[_0x1a2ef4];if(_0x3bd4b3['allows'](_0x32eafe)&&(-0x1==_0x2029d4['token']['value']||_0x2029d4['token']['value']==_0x32eafe||_0x3f1b1a(_0x32eafe,_0x2029d4['token']['value'],_0x28a256,_0x43fbdb))){_0x2029d4['acceptToken'](_0x32eafe);break;}}let _0x48245d=_0x2029d4['next'],_0x378cba=0x0,_0x33b49d=_0x763b0a[_0x53a4f3+0x2];if(!(_0x2029d4['next']<0x0&&_0x33b49d>_0x378cba&&0xffff==_0x763b0a[_0x6f0b19+0x3*_0x33b49d-0x3])){for(;_0x378cba<_0x33b49d;){let _0x1ebb39=_0x378cba+_0x33b49d>>0x1,_0x27d75c=_0x6f0b19+_0x1ebb39+(_0x1ebb39<<0x1),_0x139fbb=_0x763b0a[_0x27d75c],_0xbcb62=_0x763b0a[_0x27d75c+0x1]||0x10000;if(_0x48245d<_0x139fbb)_0x33b49d=_0x1ebb39;else{if(!(_0x48245d>=_0xbcb62)){_0x53a4f3=_0x763b0a[_0x27d75c+0x2],_0x2029d4['advance']();continue t;}_0x378cba=_0x1ebb39+0x1;}}break;}_0x53a4f3=_0x763b0a[_0x6f0b19+0x3*_0x33b49d-0x1];}}function findOffset(_0x363bab,_0x496599,_0x5de2e3){for(let _0x4b54b9,_0x2187f1=_0x496599;0xffff!=(_0x4b54b9=_0x363bab[_0x2187f1]);_0x2187f1++)if(_0x4b54b9==_0x5de2e3)return _0x2187f1-_0x496599;return-0x1;}function _0x3f1b1a(_0x1603f0,_0x399601,_0x24ce00,_0x246081){let _0x2cc621=findOffset(_0x24ce00,_0x246081,_0x399601);return _0x2cc621<0x0||findOffset(_0x24ce00,_0x246081,_0x1603f0)<_0x2cc621;}const _0x5d1d1e='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let stackIDs=null;function cutAt(_0x1b10dc,_0x2bee36,_0x1287b2){let _0x20cb64=_0x1b10dc['cursor'](IterMode['IncludeAnonymous']);for(_0x20cb64['moveTo'](_0x2bee36);;)if(!(_0x1287b2<0x0?_0x20cb64['childBefore'](_0x2bee36):_0x20cb64['childAfter'](_0x2bee36)))for(;;){if((_0x1287b2<0x0?_0x20cb64['to']<_0x2bee36:_0x20cb64['from']>_0x2bee36)&&!_0x20cb64['type']['isError'])return _0x1287b2<0x0?Math['max'](0x0,Math['min'](_0x20cb64['to']-0x1,_0x2bee36-0x19)):Math['min'](_0x1b10dc['length'],Math['max'](_0x20cb64['from']+0x1,_0x2bee36+0x19));if(_0x1287b2<0x0?_0x20cb64['prevSibling']():_0x20cb64['nextSibling']())break;if(!_0x20cb64['parent']())return _0x1287b2<0x0?0x0:_0x1b10dc['length'];}}let FragmentCursor$1=class{constructor(_0xa3ce47,_0x257879){this['fragments']=_0xa3ce47,this['nodeSet']=_0x257879,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0x38b8fa=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0x38b8fa){for(this['safeFrom']=_0x38b8fa['openStart']?cutAt(_0x38b8fa['tree'],_0x38b8fa['from']+_0x38b8fa['offset'],0x1)-_0x38b8fa['offset']:_0x38b8fa['from'],this['safeTo']=_0x38b8fa['openEnd']?cutAt(_0x38b8fa['tree'],_0x38b8fa['to']+_0x38b8fa['offset'],-0x1)-_0x38b8fa['offset']:_0x38b8fa['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0x38b8fa['tree']),this['start']['push'](-_0x38b8fa['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0xf3a29e){if(_0xf3a29e<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0xf3a29e;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x4f6f4f=this['trees']['length']-0x1;if(_0x4f6f4f<0x0)return this['nextFragment'](),null;let _0x43db3d=this['trees'][_0x4f6f4f],_0x3df35c=this['index'][_0x4f6f4f];if(_0x3df35c==_0x43db3d['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0x542d09=_0x43db3d['children'][_0x3df35c],_0x2dee15=this['start'][_0x4f6f4f]+_0x43db3d['positions'][_0x3df35c];if(_0x2dee15>_0xf3a29e)return this['nextStart']=_0x2dee15,null;if(_0x542d09 instanceof _0x155fca){if(_0x2dee15==_0xf3a29e){if(_0x2dee15<this['safeFrom'])return null;let _0xcc8595=_0x2dee15+_0x542d09['length'];if(_0xcc8595<=this['safeTo']){let _0x9c3e84=_0x542d09['prop'](_0x5f3026['lookAhead']);if(!_0x9c3e84||_0xcc8595+_0x9c3e84<this['fragment']['to'])return _0x542d09;}}this['index'][_0x4f6f4f]++,_0x2dee15+_0x542d09['length']>=Math['max'](this['safeFrom'],_0xf3a29e)&&(this['trees']['push'](_0x542d09),this['start']['push'](_0x2dee15),this['index']['push'](0x0));}else this['index'][_0x4f6f4f]++,this['nextStart']=_0x2dee15+_0x542d09['length'];}}};class _0x8ff497{constructor(_0x244ce9,_0xbe6aa4){this['stream']=_0xbe6aa4,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x244ce9['tokenizers']['map'](_0x396a=>new _0x3f39a3());}['getActions'](_0x810e81){let _0x12eded=0x0,_0x466a73=null,{parser:_0x1b42f4}=_0x810e81['p'],{tokenizers:_0x2df429}=_0x1b42f4,_0x1980ff=_0x1b42f4['stateSlot'](_0x810e81['state'],0x3),_0x10108b=_0x810e81['curContext']?_0x810e81['curContext']['hash']:0x0,_0x4e9f87=0x0;for(let _0x4ec556=0x0;_0x4ec556<_0x2df429['length'];_0x4ec556++){if(!(0x1<<_0x4ec556&_0x1980ff))continue;let _0x97c6b1=_0x2df429[_0x4ec556],_0x3f7b1d=this['tokens'][_0x4ec556];if((!_0x466a73||_0x97c6b1['fallback'])&&((_0x97c6b1['contextual']||_0x3f7b1d['start']!=_0x810e81['pos']||_0x3f7b1d['mask']!=_0x1980ff||_0x3f7b1d['context']!=_0x10108b)&&(this['updateCachedToken'](_0x3f7b1d,_0x97c6b1,_0x810e81),_0x3f7b1d['mask']=_0x1980ff,_0x3f7b1d['context']=_0x10108b),_0x3f7b1d['lookAhead']>_0x3f7b1d['end']+0x19&&(_0x4e9f87=Math['max'](_0x3f7b1d['lookAhead'],_0x4e9f87)),0x0!=_0x3f7b1d['value'])){let _0x4284b4=_0x12eded;if(_0x3f7b1d['extended']>-0x1&&(_0x12eded=this['addActions'](_0x810e81,_0x3f7b1d['extended'],_0x3f7b1d['end'],_0x12eded)),_0x12eded=this['addActions'](_0x810e81,_0x3f7b1d['value'],_0x3f7b1d['end'],_0x12eded),!_0x97c6b1['extend']&&(_0x466a73=_0x3f7b1d,_0x12eded>_0x4284b4))break;}}for(;this['actions']['length']>_0x12eded;)this['actions']['pop']();return _0x4e9f87&&_0x810e81['setLookAhead'](_0x4e9f87),_0x466a73||_0x810e81['pos']!=this['stream']['end']||(_0x466a73=new _0x3f39a3(),_0x466a73['value']=_0x810e81['p']['parser']['eofTerm'],_0x466a73['start']=_0x466a73['end']=_0x810e81['pos'],_0x12eded=this['addActions'](_0x810e81,_0x466a73['value'],_0x466a73['end'],_0x12eded)),this['mainToken']=_0x466a73,this['actions'];}['getMainToken'](_0x5f00b9){if(this['mainToken'])return this['mainToken'];let _0x53b6d5=new _0x3f39a3(),{pos:_0x1bfe55,p:_0xedb535}=_0x5f00b9;return _0x53b6d5['start']=_0x1bfe55,_0x53b6d5['end']=Math['min'](_0x1bfe55+0x1,_0xedb535['stream']['end']),_0x53b6d5['value']=_0x1bfe55==_0xedb535['stream']['end']?_0xedb535['parser']['eofTerm']:0x0,_0x53b6d5;}['updateCachedToken'](_0x13027b,_0x325610,_0x150ee3){let _0x2fa1a8=this['stream']['clipPos'](_0x150ee3['pos']);if(_0x325610['token'](this['stream']['reset'](_0x2fa1a8,_0x13027b),_0x150ee3),_0x13027b['value']>-0x1){let {parser:_0x56aa92}=_0x150ee3['p'];for(let _0x3e73ce=0x0;_0x3e73ce<_0x56aa92['specialized']['length'];_0x3e73ce++)if(_0x56aa92['specialized'][_0x3e73ce]==_0x13027b['value']){let _0x15d3c6=_0x56aa92['specializers'][_0x3e73ce](this['stream']['read'](_0x13027b['start'],_0x13027b['end']),_0x150ee3);if(_0x15d3c6>=0x0&&_0x150ee3['p']['parser']['dialect']['allows'](_0x15d3c6>>0x1)){0x1&_0x15d3c6?_0x13027b['extended']=_0x15d3c6>>0x1:_0x13027b['value']=_0x15d3c6>>0x1;break;}}}else _0x13027b['value']=0x0,_0x13027b['end']=this['stream']['clipPos'](_0x2fa1a8+0x1);}['putAction'](_0x466b74,_0x231c6b,_0x32e753,_0x13bdb6){for(let _0x49ae1e=0x0;_0x49ae1e<_0x13bdb6;_0x49ae1e+=0x3)if(this['actions'][_0x49ae1e]==_0x466b74)return _0x13bdb6;return this['actions'][_0x13bdb6++]=_0x466b74,this['actions'][_0x13bdb6++]=_0x231c6b,this['actions'][_0x13bdb6++]=_0x32e753,_0x13bdb6;}['addActions'](_0x5e833d,_0x2e8171,_0x39f082,_0x423b9d){let {state:_0x1acbca}=_0x5e833d,{parser:_0xef4139}=_0x5e833d['p'],{data:_0x15289c}=_0xef4139;for(let _0x1567fa=0x0;_0x1567fa<0x2;_0x1567fa++)for(let _0xad7b6=_0xef4139['stateSlot'](_0x1acbca,_0x1567fa?0x2:0x1);;_0xad7b6+=0x3){if(0xffff==_0x15289c[_0xad7b6]){if(0x1!=_0x15289c[_0xad7b6+0x1]){0x0==_0x423b9d&&0x2==_0x15289c[_0xad7b6+0x1]&&(_0x423b9d=this['putAction'](_0x798714(_0x15289c,_0xad7b6+0x2),_0x2e8171,_0x39f082,_0x423b9d));break;}_0xad7b6=_0x798714(_0x15289c,_0xad7b6+0x2);}_0x15289c[_0xad7b6]==_0x2e8171&&(_0x423b9d=this['putAction'](_0x798714(_0x15289c,_0xad7b6+0x1),_0x2e8171,_0x39f082,_0x423b9d));}return _0x423b9d;}}class _0xae6d73{constructor(_0x381112,_0x572150,_0x91a009,_0xf5ba6c){this['parser']=_0x381112,this['input']=_0x572150,this['ranges']=_0xf5ba6c,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(_0x572150,_0xf5ba6c),this['tokens']=new _0x8ff497(_0x381112,this['stream']),this['topTerm']=_0x381112['top'][0x1];let {from:_0x1784ec}=_0xf5ba6c[0x0];this['stacks']=[Stack['start'](this,_0x381112['top'][0x0],_0x1784ec)],this['fragments']=_0x91a009['length']&&this['stream']['end']-_0x1784ec>0x4*_0x381112['bufferLength']?new FragmentCursor$1(_0x91a009,_0x381112['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x1bac5e,_0x25e067,_0x3b9c9d=this['stacks'],_0x1863a3=this['minStackPos'],_0x14d392=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0x3b9c9d['length']){let [_0x2aab94]=_0x3b9c9d;for(;_0x2aab94['forceReduce']()&&_0x2aab94['stack']['length']&&_0x2aab94['stack'][_0x2aab94['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x27e530=0x0;_0x27e530<_0x3b9c9d['length'];_0x27e530++){let _0x3b6eba=_0x3b9c9d[_0x27e530];for(;;){if(this['tokens']['mainToken']=null,_0x3b6eba['pos']>_0x1863a3)_0x14d392['push'](_0x3b6eba);else{if(this['advanceStack'](_0x3b6eba,_0x14d392,_0x3b9c9d))continue;{_0x1bac5e||(_0x1bac5e=[],_0x25e067=[]),_0x1bac5e['push'](_0x3b6eba);let _0x3666b0=this['tokens']['getMainToken'](_0x3b6eba);_0x25e067['push'](_0x3666b0['value'],_0x3666b0['end']);}}break;}}if(!_0x14d392['length']){let _0x23dc7b=_0x1bac5e&&_0x29d3d2(_0x1bac5e);if(_0x23dc7b)return _0x5d1d1e&&console['log']('Finish\x20with\x20'+this['stackID'](_0x23dc7b)),this['stackToTree'](_0x23dc7b);if(this['parser']['strict'])throw _0x5d1d1e&&_0x1bac5e&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x1863a3);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x1bac5e){let _0x43a0ae=null!=this['stoppedAt']&&_0x1bac5e[0x0]['pos']>this['stoppedAt']?_0x1bac5e[0x0]:this['runRecovery'](_0x1bac5e,_0x25e067,_0x14d392);if(_0x43a0ae)return _0x5d1d1e&&console['log']('Force-finish\x20'+this['stackID'](_0x43a0ae)),this['stackToTree'](_0x43a0ae['forceAll']());}if(this['recovering']){let _0x3fce9f=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x14d392['length']>_0x3fce9f){for(_0x14d392['sort']((_0x37b7b4,_0x4cf637)=>_0x4cf637['score']-_0x37b7b4['score']);_0x14d392['length']>_0x3fce9f;)_0x14d392['pop']();}_0x14d392['some'](_0xdd36b2=>_0xdd36b2['reducePos']>_0x1863a3)&&this['recovering']--;}else{if(_0x14d392['length']>0x1){t:for(let _0x18edd6=0x0;_0x18edd6<_0x14d392['length']-0x1;_0x18edd6++){let _0x50f2dc=_0x14d392[_0x18edd6];for(let _0x3e4a53=_0x18edd6+0x1;_0x3e4a53<_0x14d392['length'];_0x3e4a53++){let _0x345bd1=_0x14d392[_0x3e4a53];if(_0x50f2dc['sameState'](_0x345bd1)||_0x50f2dc['buffer']['length']>0x1f4&&_0x345bd1['buffer']['length']>0x1f4){if(!((_0x50f2dc['score']-_0x345bd1['score']||_0x50f2dc['buffer']['length']-_0x345bd1['buffer']['length'])>0x0)){_0x14d392['splice'](_0x18edd6--,0x1);continue t;}_0x14d392['splice'](_0x3e4a53--,0x1);}}}_0x14d392['length']>0xc&&_0x14d392['splice'](0xc,_0x14d392['length']-0xc);}}this['minStackPos']=_0x14d392[0x0]['pos'];for(let _0x15626b=0x1;_0x15626b<_0x14d392['length'];_0x15626b++)_0x14d392[_0x15626b]['pos']<this['minStackPos']&&(this['minStackPos']=_0x14d392[_0x15626b]['pos']);return null;}['stopAt'](_0x23c0a1){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x23c0a1)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x23c0a1;}['advanceStack'](_0x39285f,_0x123f1b,_0x2ed598){let _0x5603bd=_0x39285f['pos'],{parser:_0x3bd3d5}=this,_0x475aec=_0x5d1d1e?this['stackID'](_0x39285f)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x5603bd>this['stoppedAt'])return _0x39285f['forceReduce']()?_0x39285f:null;if(this['fragments']){let _0x5b1ad0=_0x39285f['curContext']&&_0x39285f['curContext']['tracker']['strict'],_0x187cf4=_0x5b1ad0?_0x39285f['curContext']['hash']:0x0;for(let _0x42247d=this['fragments']['nodeAt'](_0x5603bd);_0x42247d;){let _0x39a758=this['parser']['nodeSet']['types'][_0x42247d['type']['id']]==_0x42247d['type']?_0x3bd3d5['getGoto'](_0x39285f['state'],_0x42247d['type']['id']):-0x1;if(_0x39a758>-0x1&&_0x42247d['length']&&(!_0x5b1ad0||(_0x42247d['prop'](_0x5f3026['contextHash'])||0x0)==_0x187cf4))return _0x39285f['useNode'](_0x42247d,_0x39a758),_0x5d1d1e&&console['log'](_0x475aec+this['stackID'](_0x39285f)+('\x20(via\x20reuse\x20of\x20'+_0x3bd3d5['getName'](_0x42247d['type']['id'])+')')),!0x0;if(!(_0x42247d instanceof _0x155fca)||0x0==_0x42247d['children']['length']||_0x42247d['positions'][0x0]>0x0)break;let _0x52b919=_0x42247d['children'][0x0];if(!(_0x52b919 instanceof _0x155fca&&0x0==_0x42247d['positions'][0x0]))break;_0x42247d=_0x52b919;}}let _0x1ae615=_0x3bd3d5['stateSlot'](_0x39285f['state'],0x4);if(_0x1ae615>0x0)return _0x39285f['reduce'](_0x1ae615),_0x5d1d1e&&console['log'](_0x475aec+this['stackID'](_0x39285f)+('\x20(via\x20always-reduce\x20'+_0x3bd3d5['getName'](0xffff&_0x1ae615)+')')),!0x0;if(_0x39285f['stack']['length']>=0x20d0){for(;_0x39285f['stack']['length']>0x1770&&_0x39285f['forceReduce'](););}let _0x40c638=this['tokens']['getActions'](_0x39285f);for(let _0xbf5fe9=0x0;_0xbf5fe9<_0x40c638['length'];){let _0x113f15=_0x40c638[_0xbf5fe9++],_0x3da7f6=_0x40c638[_0xbf5fe9++],_0x3de42b=_0x40c638[_0xbf5fe9++],_0x59c528=_0xbf5fe9==_0x40c638['length']||!_0x2ed598,_0x47de46=_0x59c528?_0x39285f:_0x39285f['split'](),_0x4c00f1=this['tokens']['mainToken'];if(_0x47de46['apply'](_0x113f15,_0x3da7f6,_0x4c00f1?_0x4c00f1['start']:_0x47de46['pos'],_0x3de42b),_0x5d1d1e&&console['log'](_0x475aec+this['stackID'](_0x47de46)+('\x20(via\x20'+(0x10000&_0x113f15?'reduce\x20of\x20'+_0x3bd3d5['getName'](0xffff&_0x113f15):'shift')+'\x20for\x20'+_0x3bd3d5['getName'](_0x3da7f6)+'\x20@\x20'+_0x5603bd+(_0x47de46==_0x39285f?'':',\x20split')+')')),_0x59c528)return!0x0;_0x47de46['pos']>_0x5603bd?_0x123f1b['push'](_0x47de46):_0x2ed598['push'](_0x47de46);}return!0x1;}['advanceFully'](_0x36134e,_0x43607c){let _0x3dbe4f=_0x36134e['pos'];for(;;){if(!this['advanceStack'](_0x36134e,null,null))return!0x1;if(_0x36134e['pos']>_0x3dbe4f)return pushStackDedup(_0x36134e,_0x43607c),!0x0;}}['runRecovery'](_0x1b2c59,_0x30dccb,_0x382e15){let _0x1d350c=null,_0x2c40f4=!0x1;for(let _0x548971=0x0;_0x548971<_0x1b2c59['length'];_0x548971++){let _0x566d4e=_0x1b2c59[_0x548971],_0xbe2a53=_0x30dccb[_0x548971<<0x1],_0x13e0ce=_0x30dccb[0x1+(_0x548971<<0x1)],_0x3bb9d7=_0x5d1d1e?this['stackID'](_0x566d4e)+'\x20->\x20':'';if(_0x566d4e['deadEnd']){if(_0x2c40f4)continue;if(_0x2c40f4=!0x0,_0x566d4e['restart'](),_0x5d1d1e&&console['log'](_0x3bb9d7+this['stackID'](_0x566d4e)+'\x20(restarted)'),this['advanceFully'](_0x566d4e,_0x382e15))continue;}let _0x25a4cd=_0x566d4e['split'](),_0x2b1d78=_0x3bb9d7;for(let _0x42b95b=0x0;_0x42b95b<0xa&&_0x25a4cd['forceReduce']();_0x42b95b++){if(_0x5d1d1e&&console['log'](_0x2b1d78+this['stackID'](_0x25a4cd)+'\x20(via\x20force-reduce)'),this['advanceFully'](_0x25a4cd,_0x382e15))break;_0x5d1d1e&&(_0x2b1d78=this['stackID'](_0x25a4cd)+'\x20->\x20');}for(let _0x2715ab of _0x566d4e['recoverByInsert'](_0xbe2a53))_0x5d1d1e&&console['log'](_0x3bb9d7+this['stackID'](_0x2715ab)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x2715ab,_0x382e15);this['stream']['end']>_0x566d4e['pos']?(_0x13e0ce==_0x566d4e['pos']&&(_0x13e0ce++,_0xbe2a53=0x0),_0x566d4e['recoverByDelete'](_0xbe2a53,_0x13e0ce),_0x5d1d1e&&console['log'](_0x3bb9d7+this['stackID'](_0x566d4e)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0xbe2a53)+')')),pushStackDedup(_0x566d4e,_0x382e15)):(!_0x1d350c||_0x1d350c['score']<_0x566d4e['score'])&&(_0x1d350c=_0x566d4e);}return _0x1d350c;}['stackToTree'](_0x232d54){return _0x232d54['close'](),_0x155fca['build']({'buffer':StackBufferCursor['create'](_0x232d54),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x232d54['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0x2f8c6c){let _0x520cc9=(stackIDs||(stackIDs=new WeakMap()))['get'](_0x2f8c6c);return _0x520cc9||stackIDs['set'](_0x2f8c6c,_0x520cc9=String['fromCodePoint'](this['nextStackID']++)),_0x520cc9+_0x2f8c6c;}}function pushStackDedup(_0xad886a,_0x13f13b){for(let _0xae098e=0x0;_0xae098e<_0x13f13b['length'];_0xae098e++){let _0x4a33c5=_0x13f13b[_0xae098e];if(_0x4a33c5['pos']==_0xad886a['pos']&&_0x4a33c5['sameState'](_0xad886a))return void(_0x13f13b[_0xae098e]['score']<_0xad886a['score']&&(_0x13f13b[_0xae098e]=_0xad886a));}_0x13f13b['push'](_0xad886a);}class Dialect{constructor(_0x5edcd7,_0x3d6456,_0x504210){this['source']=_0x5edcd7,this['flags']=_0x3d6456,this['disabled']=_0x504210;}['allows'](_0x2c7ed8){return!this['disabled']||0x0==this['disabled'][_0x2c7ed8];}}const _0x5ba212=_0x33dd00=>_0x33dd00;class ContextTracker{constructor(_0x575df0){this['start']=_0x575df0['start'],this['shift']=_0x575df0['shift']||_0x5ba212,this['reduce']=_0x575df0['reduce']||_0x5ba212,this['reuse']=_0x575df0['reuse']||_0x5ba212,this['hash']=_0x575df0['hash']||(()=>0x0),this['strict']=!0x1!==_0x575df0['strict'];}}class _0x51e1f3 extends _0x4c4bed{constructor(_0xc16264){if(super(),this['wrappers']=[],0xe!=_0xc16264['version'])throw new RangeError('Parser\x20version\x20('+_0xc16264['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x41b191=_0xc16264['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x41b191['length'];for(let _0x538004=0x0;_0x538004<_0xc16264['repeatNodeCount'];_0x538004++)_0x41b191['push']('');let _0x46bc94=Object['keys'](_0xc16264['topRules'])['map'](_0x21fa95=>_0xc16264['topRules'][_0x21fa95][0x1]),_0x1ad16f=[];for(let _0x154677=0x0;_0x154677<_0x41b191['length'];_0x154677++)_0x1ad16f['push']([]);function _0x19452e(_0x19321a,_0x5558ca,_0x1bde94){_0x1ad16f[_0x19321a]['push']([_0x5558ca,_0x5558ca['deserialize'](String(_0x1bde94))]);}if(_0xc16264['nodeProps'])for(let _0x2cb9d2 of _0xc16264['nodeProps']){let _0x16bf7a=_0x2cb9d2[0x0];'string'==typeof _0x16bf7a&&(_0x16bf7a=_0x5f3026[_0x16bf7a]);for(let _0x2a2e1b=0x1;_0x2a2e1b<_0x2cb9d2['length'];){let _0xed61a9=_0x2cb9d2[_0x2a2e1b++];if(_0xed61a9>=0x0)_0x19452e(_0xed61a9,_0x16bf7a,_0x2cb9d2[_0x2a2e1b++]);else{let _0xe20436=_0x2cb9d2[_0x2a2e1b+-_0xed61a9];for(let _0x3bd1d3=-_0xed61a9;_0x3bd1d3>0x0;_0x3bd1d3--)_0x19452e(_0x2cb9d2[_0x2a2e1b++],_0x16bf7a,_0xe20436);_0x2a2e1b++;}}}this['nodeSet']=new NodeSet(_0x41b191['map']((_0x1c3c50,_0x32cf1e)=>_0x5bfc6f['define']({'name':_0x32cf1e>=this['minRepeatTerm']?void 0x0:_0x1c3c50,'id':_0x32cf1e,'props':_0x1ad16f[_0x32cf1e],'top':_0x46bc94['indexOf'](_0x32cf1e)>-0x1,'error':0x0==_0x32cf1e,'skipped':_0xc16264['skippedNodes']&&_0xc16264['skippedNodes']['indexOf'](_0x32cf1e)>-0x1}))),_0xc16264['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0xc16264['propSources'])),this['strict']=!0x1,this['bufferLength']=DefaultBufferLength;let _0x1077f8=_0x13e79d(_0xc16264['tokenData']);this['context']=_0xc16264['context'],this['specializerSpecs']=_0xc16264['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x11e736=0x0;_0x11e736<this['specializerSpecs']['length'];_0x11e736++)this['specialized'][_0x11e736]=this['specializerSpecs'][_0x11e736]['term'];this['specializers']=this['specializerSpecs']['map'](getSpecializer),this['states']=_0x13e79d(_0xc16264['states'],Uint32Array),this['data']=_0x13e79d(_0xc16264['stateData']),this['goto']=_0x13e79d(_0xc16264['goto']),this['maxTerm']=_0xc16264['maxTerm'],this['tokenizers']=_0xc16264['tokenizers']['map'](_0x2739d6=>'number'==typeof _0x2739d6?new _0x212cd9(_0x1077f8,_0x2739d6):_0x2739d6),this['topRules']=_0xc16264['topRules'],this['dialects']=_0xc16264['dialects']||{},this['dynamicPrecedences']=_0xc16264['dynamicPrecedences']||null,this['tokenPrecTable']=_0xc16264['tokenPrec'],this['termNames']=_0xc16264['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x503bd2,_0x2481e0,_0x42a26f){let _0x27d2df=new _0xae6d73(this,_0x503bd2,_0x2481e0,_0x42a26f);for(let _0x40c708 of this['wrappers'])_0x27d2df=_0x40c708(_0x27d2df,_0x503bd2,_0x2481e0,_0x42a26f);return _0x27d2df;}['getGoto'](_0x424f83,_0x2fcfba,_0x2c8987=!0x1){let _0x38859f=this['goto'];if(_0x2fcfba>=_0x38859f[0x0])return-0x1;for(let _0x454d9a=_0x38859f[_0x2fcfba+0x1];;){let _0x29f92b=_0x38859f[_0x454d9a++],_0x50a820=0x1&_0x29f92b,_0x30a6ce=_0x38859f[_0x454d9a++];if(_0x50a820&&_0x2c8987)return _0x30a6ce;for(let _0x45921c=_0x454d9a+(_0x29f92b>>0x1);_0x454d9a<_0x45921c;_0x454d9a++)if(_0x38859f[_0x454d9a]==_0x424f83)return _0x30a6ce;if(_0x50a820)return-0x1;}}['hasAction'](_0x369ce0,_0x441153){let _0x266365=this['data'];for(let _0x258f0f=0x0;_0x258f0f<0x2;_0x258f0f++)for(let _0x645a61,_0x11bca3=this['stateSlot'](_0x369ce0,_0x258f0f?0x2:0x1);;_0x11bca3+=0x3){if(0xffff==(_0x645a61=_0x266365[_0x11bca3])){if(0x1!=_0x266365[_0x11bca3+0x1]){if(0x2==_0x266365[_0x11bca3+0x1])return _0x798714(_0x266365,_0x11bca3+0x2);break;}_0x645a61=_0x266365[_0x11bca3=_0x798714(_0x266365,_0x11bca3+0x2)];}if(_0x645a61==_0x441153||0x0==_0x645a61)return _0x798714(_0x266365,_0x11bca3+0x1);}return 0x0;}['stateSlot'](_0x12aa0b,_0x28214f){return this['states'][0x6*_0x12aa0b+_0x28214f];}['stateFlag'](_0x287f39,_0xceb850){return(this['stateSlot'](_0x287f39,0x0)&_0xceb850)>0x0;}['validAction'](_0x4456cf,_0x29302d){return!!this['allActions'](_0x4456cf,_0x437f1d=>_0x437f1d==_0x29302d||null);}['allActions'](_0x21766f,_0x5de273){let _0x121e70=this['stateSlot'](_0x21766f,0x4),_0x1b5d53=_0x121e70?_0x5de273(_0x121e70):void 0x0;for(let _0x153825=this['stateSlot'](_0x21766f,0x1);null==_0x1b5d53;_0x153825+=0x3){if(0xffff==this['data'][_0x153825]){if(0x1!=this['data'][_0x153825+0x1])break;_0x153825=_0x798714(this['data'],_0x153825+0x2);}_0x1b5d53=_0x5de273(_0x798714(this['data'],_0x153825+0x1));}return _0x1b5d53;}['nextStates'](_0x1903b1){let _0x5d49af=[];for(let _0x497f2e=this['stateSlot'](_0x1903b1,0x1);;_0x497f2e+=0x3){if(0xffff==this['data'][_0x497f2e]){if(0x1!=this['data'][_0x497f2e+0x1])break;_0x497f2e=_0x798714(this['data'],_0x497f2e+0x2);}if(!(0x1&this['data'][_0x497f2e+0x2])){let _0xd97f99=this['data'][_0x497f2e+0x1];_0x5d49af['some']((_0x2425bd,_0xb42510)=>0x1&_0xb42510&&_0x2425bd==_0xd97f99)||_0x5d49af['push'](this['data'][_0x497f2e],_0xd97f99);}}return _0x5d49af;}['configure'](_0x3b6e78){let _0x532baf=Object['assign'](Object['create'](_0x51e1f3['prototype']),this);if(_0x3b6e78['props']&&(_0x532baf['nodeSet']=this['nodeSet']['extend'](..._0x3b6e78['props'])),_0x3b6e78['top']){let _0x1830fc=this['topRules'][_0x3b6e78['top']];if(!_0x1830fc)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0x3b6e78['top']);_0x532baf['top']=_0x1830fc;}return _0x3b6e78['tokenizers']&&(_0x532baf['tokenizers']=this['tokenizers']['map'](t=>{let _0x353618=_0x3b6e78['tokenizers']['find'](_0x1876a8=>_0x1876a8['from']==t);return _0x353618?_0x353618['to']:t;})),_0x3b6e78['specializers']&&(_0x532baf['specializers']=this['specializers']['slice'](),_0x532baf['specializerSpecs']=this['specializerSpecs']['map']((_0x7c9894,_0x4de96f)=>{let _0xca15df=_0x3b6e78['specializers']['find'](_0x5967b5=>_0x5967b5['from']==_0x7c9894['external']);if(!_0xca15df)return _0x7c9894;let _0x2d97af=Object['assign'](Object['assign']({},_0x7c9894),{'external':_0xca15df['to']});return _0x532baf['specializers'][_0x4de96f]=getSpecializer(_0x2d97af),_0x2d97af;})),_0x3b6e78['contextTracker']&&(_0x532baf['context']=_0x3b6e78['contextTracker']),_0x3b6e78['dialect']&&(_0x532baf['dialect']=this['parseDialect'](_0x3b6e78['dialect'])),null!=_0x3b6e78['strict']&&(_0x532baf['strict']=_0x3b6e78['strict']),_0x3b6e78['wrap']&&(_0x532baf['wrappers']=_0x532baf['wrappers']['concat'](_0x3b6e78['wrap'])),null!=_0x3b6e78['bufferLength']&&(_0x532baf['bufferLength']=_0x3b6e78['bufferLength']),_0x532baf;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0x3134e5){return this['termNames']?this['termNames'][_0x3134e5]:String(_0x3134e5<=this['maxNode']&&this['nodeSet']['types'][_0x3134e5]['name']||_0x3134e5);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x1ed91d){let _0x1abd04=this['dynamicPrecedences'];return null==_0x1abd04?0x0:_0x1abd04[_0x1ed91d]||0x0;}['parseDialect'](_0x22e239){let _0x531842=Object['keys'](this['dialects']),_0x360a53=_0x531842['map'](()=>!0x1);if(_0x22e239)for(let _0x3ce2ed of _0x22e239['split']('\x20')){let _0x329db5=_0x531842['indexOf'](_0x3ce2ed);_0x329db5>=0x0&&(_0x360a53[_0x329db5]=!0x0);}let _0x58555e=null;for(let _0x2a1570=0x0;_0x2a1570<_0x531842['length'];_0x2a1570++)if(!_0x360a53[_0x2a1570]){for(let _0x4acca4,_0x55a0c4=this['dialects'][_0x531842[_0x2a1570]];0xffff!=(_0x4acca4=this['data'][_0x55a0c4++]);)(_0x58555e||(_0x58555e=new Uint8Array(this['maxTerm']+0x1)))[_0x4acca4]=0x1;}return new Dialect(_0x22e239,_0x360a53,_0x58555e);}static['deserialize'](_0x3646be){return new _0x51e1f3(_0x3646be);}}function _0x798714(_0x132d77,_0xd8e1f2){return _0x132d77[_0xd8e1f2]|_0x132d77[_0xd8e1f2+0x1]<<0x10;}function _0x29d3d2(_0x2b47a4){let _0x4e19ba=null;for(let _0x26a9c7 of _0x2b47a4){let _0x315874=_0x26a9c7['p']['stoppedAt'];(_0x26a9c7['pos']==_0x26a9c7['p']['stream']['end']||null!=_0x315874&&_0x26a9c7['pos']>_0x315874)&&_0x26a9c7['p']['parser']['stateFlag'](_0x26a9c7['state'],0x2)&&(!_0x4e19ba||_0x4e19ba['score']<_0x26a9c7['score'])&&(_0x4e19ba=_0x26a9c7);}return _0x4e19ba;}function getSpecializer(_0x38ab40){if(_0x38ab40['external']){let _0x5a0e83=_0x38ab40['extend']?0x1:0x0;return(_0x459b04,_0x2171ea)=>_0x38ab40['external'](_0x459b04,_0x2171ea)<<0x1|_0x5a0e83;}return _0x38ab40['get'];}const scriptText=0x37,StartCloseScriptTag=0x1,styleText=0x38,StartCloseStyleTag=0x2,textareaText=0x39,StartCloseTextareaTag=0x3,_0x2486ab=0x4,_0x5a8f15=0x5,StartTag=0x6,StartScriptTag=0x7,StartStyleTag=0x8,StartTextareaTag=0x9,StartSelfClosingTag=0xa,StartCloseTag=0xb,NoMatchStartCloseTag=0xc,MismatchedStartCloseTag=0xd,_0x22d602=0x3a,IncompleteTag=0xe,IncompleteCloseTag=0xf,commentContent$1=0x3b,Element$2=0x15,_0x2b35cf=0x17,Attribute=0x18,AttributeName=0x19,AttributeValue=0x1b,UnquotedAttributeValue=0x1c,ScriptText=0x1d,StyleText=0x20,TextareaText=0x23,_0x35dab6=0x25,_0x1ef64d=0x26,Dialect_noMatch=0x0,Dialect_selfClosing=0x1,_0x5889c8={'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},_0x1f5b3d={'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 _0x74330c(_0x1ad3e4){return 0x2d==_0x1ad3e4||0x2e==_0x1ad3e4||0x3a==_0x1ad3e4||_0x1ad3e4>=0x41&&_0x1ad3e4<=0x5a||0x5f==_0x1ad3e4||_0x1ad3e4>=0x61&&_0x1ad3e4<=0x7a||_0x1ad3e4>=0xa1;}let _0x5b33f6=null,cachedInput=null,_0x50a635=0x0;function tagNameAfter(_0xaa90a3,_0xdec140){let _0x55ff36=_0xaa90a3['pos']+_0xdec140;if(_0x50a635==_0x55ff36&&cachedInput==_0xaa90a3)return _0x5b33f6;let _0x4306ec=_0xaa90a3['peek'](_0xdec140),_0x572bee='';for(;_0x74330c(_0x4306ec);)_0x572bee+=String['fromCharCode'](_0x4306ec),_0x4306ec=_0xaa90a3['peek'](++_0xdec140);return cachedInput=_0xaa90a3,_0x50a635=_0x55ff36,_0x5b33f6=_0x572bee?_0x572bee['toLowerCase']():_0x4306ec==question$1||_0x4306ec==_0xfe5760?void 0x0:null;}const _0x51bc7b=0x3c,greaterThan=0x3e,_0x4a008e=0x2f,question$1=0x3f,_0xfe5760=0x21,_0x348ea2=0x2d;function ElementContext(_0x11b6ad,_0x45d9b2){this['name']=_0x11b6ad,this['parent']=_0x45d9b2;}const startTagTerms=[StartTag,StartSelfClosingTag,StartScriptTag,StartStyleTag,StartTextareaTag],elementContext=new ContextTracker({'start':null,'shift':(_0x2f8d58,_0x5264e3,_0x3e4645,_0xaaa3bd)=>startTagTerms['indexOf'](_0x5264e3)>-0x1?new ElementContext(tagNameAfter(_0xaaa3bd,0x1)||'',_0x2f8d58):_0x2f8d58,'reduce':(_0x24c087,_0x19de5f)=>_0x19de5f==Element$2&&_0x24c087?_0x24c087['parent']:_0x24c087,'reuse'(_0x1f5242,_0x3ca8e3,_0x1f53c4,_0x44573c){let _0x21a071=_0x3ca8e3['type']['id'];return _0x21a071==StartTag||_0x21a071==_0x35dab6?new ElementContext(tagNameAfter(_0x44573c,0x1)||'',_0x1f5242):_0x1f5242;},'strict':!0x1}),tagStart=new ExternalTokenizer((_0x13fcf9,_0x4e3f87)=>{if(_0x13fcf9['next']!=_0x51bc7b)return void(_0x13fcf9['next']<0x0&&_0x4e3f87['context']&&_0x13fcf9['acceptToken'](_0x22d602));_0x13fcf9['advance']();let _0x39ec35=_0x13fcf9['next']==_0x4a008e;_0x39ec35&&_0x13fcf9['advance']();let _0x5c9e61=tagNameAfter(_0x13fcf9,0x0);if(void 0x0===_0x5c9e61)return;if(!_0x5c9e61)return _0x13fcf9['acceptToken'](_0x39ec35?IncompleteCloseTag:IncompleteTag);let _0xebf604=_0x4e3f87['context']?_0x4e3f87['context']['name']:null;if(_0x39ec35){if(_0x5c9e61==_0xebf604)return _0x13fcf9['acceptToken'](StartCloseTag);if(_0xebf604&&implicitlyClosed[_0xebf604])return _0x13fcf9['acceptToken'](_0x22d602,-0x2);if(_0x4e3f87['dialectEnabled'](Dialect_noMatch))return _0x13fcf9['acceptToken'](NoMatchStartCloseTag);for(let _0x1d8f8b=_0x4e3f87['context'];_0x1d8f8b;_0x1d8f8b=_0x1d8f8b['parent'])if(_0x1d8f8b['name']==_0x5c9e61)return;_0x13fcf9['acceptToken'](MismatchedStartCloseTag);}else{if('script'==_0x5c9e61)return _0x13fcf9['acceptToken'](StartScriptTag);if('style'==_0x5c9e61)return _0x13fcf9['acceptToken'](StartStyleTag);if('textarea'==_0x5c9e61)return _0x13fcf9['acceptToken'](StartTextareaTag);if(_0x5889c8['hasOwnProperty'](_0x5c9e61))return _0x13fcf9['acceptToken'](StartSelfClosingTag);_0xebf604&&_0x1f5b3d[_0xebf604]&&_0x1f5b3d[_0xebf604][_0x5c9e61]?_0x13fcf9['acceptToken'](_0x22d602,-0x1):_0x13fcf9['acceptToken'](StartTag);}},{'contextual':!0x0}),commentContent=new ExternalTokenizer(_0x4a5e0d=>{for(let _0x362b17=0x0,_0xd67854=0x0;;_0xd67854++){if(_0x4a5e0d['next']<0x0){_0xd67854&&_0x4a5e0d['acceptToken'](commentContent$1);break;}if(_0x4a5e0d['next']==_0x348ea2)_0x362b17++;else{if(_0x4a5e0d['next']==greaterThan&&_0x362b17>=0x2){_0xd67854>=0x3&&_0x4a5e0d['acceptToken'](commentContent$1,-0x2);break;}_0x362b17=0x0;}_0x4a5e0d['advance']();}});function inForeignElement(_0x28c58f){for(;_0x28c58f;_0x28c58f=_0x28c58f['parent'])if('svg'==_0x28c58f['name']||'math'==_0x28c58f['name'])return!0x0;return!0x1;}const _0x2a19d6=new ExternalTokenizer((_0xcf2b12,_0x32d2a2)=>{if(_0xcf2b12['next']==_0x4a008e&&_0xcf2b12['peek'](0x1)==greaterThan){let _0x4aba19=_0x32d2a2['dialectEnabled'](Dialect_selfClosing)||inForeignElement(_0x32d2a2['context']);_0xcf2b12['acceptToken'](_0x4aba19?_0x5a8f15:_0x2486ab,0x2);}else _0xcf2b12['next']==greaterThan&&_0xcf2b12['acceptToken'](_0x2486ab,0x1);});function contentTokenizer(_0x3c9e00,_0x1461b4,_0x2ab252){let _0x18c9bb=0x2+_0x3c9e00['length'];return new ExternalTokenizer(_0x700375=>{for(let _0x2a365a=0x0,_0x1e0ace=0x0,_0x45f8c9=0x0;;_0x45f8c9++){if(_0x700375['next']<0x0){_0x45f8c9&&_0x700375['acceptToken'](_0x1461b4);break;}if(0x0==_0x2a365a&&_0x700375['next']==_0x51bc7b||0x1==_0x2a365a&&_0x700375['next']==_0x4a008e||_0x2a365a>=0x2&&_0x2a365a<_0x18c9bb&&_0x700375['next']==_0x3c9e00['charCodeAt'](_0x2a365a-0x2))_0x2a365a++,_0x1e0ace++;else{if(_0x2a365a==_0x18c9bb&&_0x700375['next']==greaterThan){_0x45f8c9>_0x1e0ace?_0x700375['acceptToken'](_0x1461b4,-_0x1e0ace):_0x700375['acceptToken'](_0x2ab252,-(_0x1e0ace-0x2));break;}if((0xa==_0x700375['next']||0xd==_0x700375['next'])&&_0x45f8c9){_0x700375['acceptToken'](_0x1461b4,0x1);break;}_0x2a365a=_0x1e0ace=0x0;}_0x700375['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']}),_0x520203=_0x51e1f3['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,_0x2a19d6,tagStart,commentContent,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0x10]},'dialects':{'noMatch':0x0,'selfClosing':0x203},'tokenPrec':0x205});function getAttrs(_0x1c8323,_0x2f20a9){let _0x51f28d=Object['create'](null);for(let _0x53810d of _0x1c8323['getChildren'](Attribute)){let _0x3d1199=_0x53810d['getChild'](AttributeName),_0x20df48=_0x53810d['getChild'](AttributeValue)||_0x53810d['getChild'](UnquotedAttributeValue);_0x3d1199&&(_0x51f28d[_0x2f20a9['read'](_0x3d1199['from'],_0x3d1199['to'])]=_0x20df48?_0x20df48['type']['id']==AttributeValue?_0x2f20a9['read'](_0x20df48['from']+0x1,_0x20df48['to']-0x1):_0x2f20a9['read'](_0x20df48['from'],_0x20df48['to']):'');}return _0x51f28d;}function _0x36f83c(_0x396e45,_0x36f330){let _0x5c5767=_0x396e45['getChild'](_0x2b35cf);return _0x5c5767?_0x36f330['read'](_0x5c5767['from'],_0x5c5767['to']):'\x20';}function maybeNest(_0x3f66db,_0x2b4e8b,_0x35ee6a){let _0x5afa2d;for(let _0x2a1637 of _0x35ee6a)if(!_0x2a1637['attrs']||_0x2a1637['attrs'](_0x5afa2d||(_0x5afa2d=getAttrs(_0x3f66db['node']['parent']['firstChild'],_0x2b4e8b))))return{'parser':_0x2a1637['parser']};return null;}function configureNesting(_0x176b58=[],_0x457e93=[]){let _0x216640=[],_0x4e1b23=[],_0x502c7c=[],_0x4f0d35=[];for(let _0x582785 of _0x176b58){('script'==_0x582785['tag']?_0x216640:'style'==_0x582785['tag']?_0x4e1b23:'textarea'==_0x582785['tag']?_0x502c7c:_0x4f0d35)['push'](_0x582785);}let _0x187761=_0x457e93['length']?Object['create'](null):null;for(let _0x3a9ab5 of _0x457e93)(_0x187761[_0x3a9ab5['name']]||(_0x187761[_0x3a9ab5['name']]=[]))['push'](_0x3a9ab5);return _0x29c3e3((_0x7e581a,_0x6024dc)=>{let _0x10eefc=_0x7e581a['type']['id'];if(_0x10eefc==ScriptText)return maybeNest(_0x7e581a,_0x6024dc,_0x216640);if(_0x10eefc==StyleText)return maybeNest(_0x7e581a,_0x6024dc,_0x4e1b23);if(_0x10eefc==TextareaText)return maybeNest(_0x7e581a,_0x6024dc,_0x502c7c);if(_0x10eefc==Element$2&&_0x4f0d35['length']){let _0x3eca41,_0xb85726=_0x7e581a['node'],_0x20ddb0=_0xb85726['firstChild'],_0x539bfe=_0x20ddb0&&_0x36f83c(_0x20ddb0,_0x6024dc);if(_0x539bfe){for(let _0x221a14 of _0x4f0d35)if(_0x221a14['tag']==_0x539bfe&&(!_0x221a14['attrs']||_0x221a14['attrs'](_0x3eca41||(_0x3eca41=getAttrs(_0x20ddb0,_0x6024dc))))){let _0x1566bd=_0xb85726['lastChild'],_0x87a7ce=_0x1566bd['type']['id']==_0x1ef64d?_0x1566bd['from']:_0xb85726['to'];if(_0x87a7ce>_0x20ddb0['to'])return{'parser':_0x221a14['parser'],'overlay':[{'from':_0x20ddb0['to'],'to':_0x87a7ce}]};}}}if(_0x187761&&_0x10eefc==Attribute){let _0xc733e2,_0x707426=_0x7e581a['node'];if(_0xc733e2=_0x707426['firstChild']){let _0x387895=_0x187761[_0x6024dc['read'](_0xc733e2['from'],_0xc733e2['to'])];if(_0x387895)for(let _0x52673b of _0x387895){if(_0x52673b['tagName']&&_0x52673b['tagName']!=_0x36f83c(_0x707426['parent'],_0x6024dc))continue;let _0x1a6fd6=_0x707426['lastChild'];if(_0x1a6fd6['type']['id']==AttributeValue){let _0x42b2a8=_0x1a6fd6['from']+0x1,_0x39274a=_0x1a6fd6['lastChild'],_0x354387=_0x1a6fd6['to']-(_0x39274a&&_0x39274a['isError']?0x0:0x1);if(_0x354387>_0x42b2a8)return{'parser':_0x52673b['parser'],'overlay':[{'from':_0x42b2a8,'to':_0x354387}]};}else{if(_0x1a6fd6['type']['id']==UnquotedAttributeValue)return{'parser':_0x52673b['parser'],'overlay':[{'from':_0x1a6fd6['from'],'to':_0x1a6fd6['to']}]};}}}}return null;});}const descendantOp=0x7a,Unit=0x1,identifier$2=0x7b,_0x1fbeed=0x7c,_0x50b687=0x2,queryIdentifier=0x7d,_0x3d4826=0x3,_0xd3fc12=0x4,_0x1f97a5=[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],_0x39f0b8=0x3a,_0x10aad1=0x28,_0x1707d2=0x5f,bracketL$1=0x5b,_0x5af53d=0x2d,_0xb9bc52=0x2e,_0x12dab4=0x23,percent=0x25,_0x4bc151=0x26,_0x266091=0x5c,_0x116c09=0xa,asterisk=0x2a;function _0x13f31f(_0x22d2e1){return _0x22d2e1>=0x41&&_0x22d2e1<=0x5a||_0x22d2e1>=0x61&&_0x22d2e1<=0x7a||_0x22d2e1>=0xa1;}function isDigit(_0xbbb30b){return _0xbbb30b>=0x30&&_0xbbb30b<=0x39;}function _0x455e14(_0x4d4ab8){return isDigit(_0x4d4ab8)||_0x4d4ab8>=0x61&&_0x4d4ab8<=0x66||_0x4d4ab8>=0x41&&_0x4d4ab8<=0x46;}const identifierTokens=(_0x202236,_0x432f4e,_0x31edf2)=>(_0x26b255,_0x35fc7d)=>{for(let _0x5a2740=!0x1,_0x15abcb=0x0,_0x450ec9=0x0;;_0x450ec9++){let {next:_0x510955}=_0x26b255;if(_0x13f31f(_0x510955)||_0x510955==_0x5af53d||_0x510955==_0x1707d2||_0x5a2740&&isDigit(_0x510955))!_0x5a2740&&(_0x510955!=_0x5af53d||_0x450ec9>0x0)&&(_0x5a2740=!0x0),_0x15abcb===_0x450ec9&&_0x510955==_0x5af53d&&_0x15abcb++,_0x26b255['advance']();else{if(_0x510955!=_0x266091||_0x26b255['peek'](0x1)==_0x116c09){_0x5a2740&&_0x26b255['acceptToken'](0x2==_0x15abcb&&_0x35fc7d['canShift'](_0x50b687)?_0x432f4e:_0x510955==_0x10aad1?_0x31edf2:_0x202236);break;}if(_0x26b255['advance'](),_0x455e14(_0x26b255['next'])){do{_0x26b255['advance']();}while(_0x455e14(_0x26b255['next']));0x20==_0x26b255['next']&&_0x26b255['advance']();}else _0x26b255['next']>-0x1&&_0x26b255['advance']();_0x5a2740=!0x0;}}},identifiers=new ExternalTokenizer(identifierTokens(identifier$2,_0x50b687,_0x1fbeed)),queryIdentifiers=new ExternalTokenizer(identifierTokens(queryIdentifier,_0x3d4826,_0xd3fc12)),descendant=new ExternalTokenizer(_0x3df496=>{if(_0x1f97a5['includes'](_0x3df496['peek'](-0x1))){let {next:_0x5e80b9}=_0x3df496;(_0x13f31f(_0x5e80b9)||_0x5e80b9==_0x1707d2||_0x5e80b9==_0x12dab4||_0x5e80b9==_0xb9bc52||_0x5e80b9==asterisk||_0x5e80b9==bracketL$1||_0x5e80b9==_0x39f0b8&&_0x13f31f(_0x3df496['peek'](0x1))||_0x5e80b9==_0x5af53d||_0x5e80b9==_0x4bc151)&&_0x3df496['acceptToken'](descendantOp);}}),unitToken=new ExternalTokenizer(_0x2d95af=>{if(!_0x1f97a5['includes'](_0x2d95af['peek'](-0x1))){let {next:_0x2e594b}=_0x2d95af;if(_0x2e594b==percent&&(_0x2d95af['advance'](),_0x2d95af['acceptToken'](Unit)),_0x13f31f(_0x2e594b)){do{_0x2d95af['advance']();}while(_0x13f31f(_0x2d95af['next'])||isDigit(_0x2d95af['next']));_0x2d95af['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']}),_0x39ca52={'__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},_0x16091c={'__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},_0x46e1f8=_0x51e1f3['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 _0x2fb081('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':_0x4a902e=>_0x39ca52[_0x4a902e]||-0x1},{'term':0x7d,'get':_0x1ba4e2=>spec_queryIdentifier[_0x1ba4e2]||-0x1},{'term':0x4,'get':_0x2f777e=>_0x16091c[_0x2f777e]||-0x1},{'term':0x19,'get':_0x4a5492=>spec_AtKeyword[_0x4a5492]||-0x1},{'term':0x7b,'get':_0x5c77d7=>spec_identifier$1[_0x5c77d7]||-0x1}],'tokenPrec':0x7ab});let _properties=null;function properties(){if(!_properties&&'object'==typeof document&&document['body']){let {style:_0x5b362a}=document['body'],_0x19e2cb=[],_0x43d591=new Set();for(let _0x538d00 in _0x5b362a)'cssText'!=_0x538d00&&'cssFloat'!=_0x538d00&&'string'==typeof _0x5b362a[_0x538d00]&&(/[A-Z]/['test'](_0x538d00)&&(_0x538d00=_0x538d00['replace'](/[A-Z]/g,_0x114d01=>'-'+_0x114d01['toLowerCase']())),_0x43d591['has'](_0x538d00)||(_0x19e2cb['push'](_0x538d00),_0x43d591['add'](_0x538d00)));_properties=_0x19e2cb['sort']()['map'](_0x43dfe6=>({'type':'property','label':_0x43dfe6,'apply':_0x43dfe6+':\x20'}));}return _properties||[];}const _0x1d5b4f=['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'](_0x2422db=>({'type':'class','label':_0x2422db})),_0x4bb0be=['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'](_0x570e1e=>({'type':'keyword','label':_0x570e1e}))['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'](_0x5328e5=>({'type':'constant','label':_0x5328e5}))),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'](_0x281a87=>({'type':'type','label':_0x281a87})),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'](_0x7bc78a=>({'type':'keyword','label':_0x7bc78a})),identifier$1=/^(\w[\w-]*|-\w[\w-]*|)$/,_0x2e0f75=/^-(-[\w-]*)?$/;function _0x3faf86(_0x39aaf7,_0x26c46d){var _0x465241;if(('('==_0x39aaf7['name']||_0x39aaf7['type']['isError'])&&(_0x39aaf7=_0x39aaf7['parent']||_0x39aaf7),'ArgList'!=_0x39aaf7['name'])return!0x1;let _0x22a74c=null===(_0x465241=_0x39aaf7['parent'])||void 0x0===_0x465241?void 0x0:_0x465241['firstChild'];return'Callee'==(null==_0x22a74c?void 0x0:_0x22a74c['name'])&&'var'==_0x26c46d['sliceString'](_0x22a74c['from'],_0x22a74c['to']);}const _0x5b5751=new _0x576911(),declSelector=['Declaration'];function astTop(_0x1c47bd){for(let _0x1dce8a=_0x1c47bd;;){if(_0x1dce8a['type']['isTop'])return _0x1dce8a;if(!(_0x1dce8a=_0x1dce8a['parent']))return _0x1c47bd;}}function _0x6d82aa(_0x44c9cd,_0x94960e,_0x2cc901){if(_0x94960e['to']-_0x94960e['from']>0x1000){let _0x4477b9=_0x5b5751['get'](_0x94960e);if(_0x4477b9)return _0x4477b9;let _0xdc39d5=[],_0x3a7d3d=new Set(),_0x2b6fac=_0x94960e['cursor'](IterMode['IncludeAnonymous']);if(_0x2b6fac['firstChild']())do{for(let _0x3d892d of _0x6d82aa(_0x44c9cd,_0x2b6fac['node'],_0x2cc901))_0x3a7d3d['has'](_0x3d892d['label'])||(_0x3a7d3d['add'](_0x3d892d['label']),_0xdc39d5['push'](_0x3d892d));}while(_0x2b6fac['nextSibling']());return _0x5b5751['set'](_0x94960e,_0xdc39d5),_0xdc39d5;}{let _0x3a8dd4=[],_0x1b1b24=new Set();return _0x94960e['cursor']()['iterate'](_0x5a587f=>{var _0x3a395b;if(_0x2cc901(_0x5a587f)&&_0x5a587f['matchContext'](declSelector)&&':'==(null===(_0x3a395b=_0x5a587f['node']['nextSibling'])||void 0x0===_0x3a395b?void 0x0:_0x3a395b['name'])){let _0x1fea32=_0x44c9cd['sliceString'](_0x5a587f['from'],_0x5a587f['to']);_0x1b1b24['has'](_0x1fea32)||(_0x1b1b24['add'](_0x1fea32),_0x3a8dd4['push']({'label':_0x1fea32,'type':'variable'}));}}),_0x3a8dd4;}}const defineCSSCompletionSource=_0x1c2996=>_0x120567=>{let {state:_0x3a4d9b,pos:_0xc5aa61}=_0x120567,_0x15e675=syntaxTree(_0x3a4d9b)['resolveInner'](_0xc5aa61,-0x1),_0x31a8e6=_0x15e675['type']['isError']&&_0x15e675['from']==_0x15e675['to']-0x1&&'-'==_0x3a4d9b['doc']['sliceString'](_0x15e675['from'],_0x15e675['to']);if('PropertyName'==_0x15e675['name']||(_0x31a8e6||'TagName'==_0x15e675['name'])&&/^(Block|Styles)$/['test'](_0x15e675['resolve'](_0x15e675['to'])['name']))return{'from':_0x15e675['from'],'options':properties(),'validFor':identifier$1};if('ValueName'==_0x15e675['name'])return{'from':_0x15e675['from'],'options':_0x4bb0be,'validFor':identifier$1};if('PseudoClassName'==_0x15e675['name'])return{'from':_0x15e675['from'],'options':_0x1d5b4f,'validFor':identifier$1};if(_0x1c2996(_0x15e675)||(_0x120567['explicit']||_0x31a8e6)&&_0x3faf86(_0x15e675,_0x3a4d9b['doc']))return{'from':_0x1c2996(_0x15e675)||_0x31a8e6?_0x15e675['from']:_0xc5aa61,'options':_0x6d82aa(_0x3a4d9b['doc'],astTop(_0x15e675),_0x1c2996),'validFor':_0x2e0f75};if('TagName'==_0x15e675['name']){for(let {parent:_0x36cb94}=_0x15e675;_0x36cb94;_0x36cb94=_0x36cb94['parent'])if('Block'==_0x36cb94['name'])return{'from':_0x15e675['from'],'options':properties(),'validFor':identifier$1};return{'from':_0x15e675['from'],'options':tags,'validFor':identifier$1};}if('AtKeyword'==_0x15e675['name'])return{'from':_0x15e675['from'],'options':atRules,'validFor':identifier$1};if(!_0x120567['explicit'])return null;let _0x197257=_0x15e675['resolve'](_0xc5aa61),_0x4845d1=_0x197257['childBefore'](_0xc5aa61);return _0x4845d1&&':'==_0x4845d1['name']&&'PseudoClassSelector'==_0x197257['name']?{'from':_0xc5aa61,'options':_0x1d5b4f,'validFor':identifier$1}:_0x4845d1&&':'==_0x4845d1['name']&&'Declaration'==_0x197257['name']||'ArgList'==_0x197257['name']?{'from':_0xc5aa61,'options':_0x4bb0be,'validFor':identifier$1}:'Block'==_0x197257['name']||'Styles'==_0x197257['name']?{'from':_0xc5aa61,'options':properties(),'validFor':identifier$1}:null;},cssCompletionSource=defineCSSCompletionSource(_0x753a4b=>'VariableName'==_0x753a4b['name']),_0x355e9b=_0x4a150d['define']({'name':'css','parser':_0x46e1f8['configure']({'props':[indentNodeProp['add']({'Declaration':continuedIndent()}),_0x285c96['add']({'Block\x20KeyframeList':_0x52dd83})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}});function _0x5ea03a(){return new LanguageSupport(_0x355e9b,_0x355e9b['data']['of']({'autocomplete':cssCompletionSource}));}const _0x44b0da=0x13c,_0x19ec84=0x13d,_0x1bf440=0x1,_0x242e10=0x2,questionDot=0x3,JSXStartTag=0x4,insertSemi=0x13e,_0x2aabbc=0x140,_0x570635=0x141,LineComment=0x5,BlockComment=0x6,Dialect_jsx=0x0,_0x385bc0=[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],_0x2265ba=0x7d,_0x31ac13=0x3b,_0xff5675=0x2f,star=0x2a,_0x31737b=0x2b,_0x2a6f0e=0x2d,lt=0x3c,_0x42e7aa=0x2c,question=0x3f,dot=0x2e,bracketL=0x5b,trackNewline=new ContextTracker({'start':!0x1,'shift':(_0x5f27d,_0x5a0690)=>_0x5a0690==LineComment||_0x5a0690==BlockComment||_0x5a0690==_0x2aabbc?_0x5f27d:_0x5a0690==_0x570635,'strict':!0x1}),insertSemicolon=new ExternalTokenizer((_0x4163b6,_0x3dd7a6)=>{let {next:_0x28b00b}=_0x4163b6;(_0x28b00b==_0x2265ba||-0x1==_0x28b00b||_0x3dd7a6['context'])&&_0x4163b6['acceptToken'](insertSemi);},{'contextual':!0x0,'fallback':!0x0}),_0x32e213=new ExternalTokenizer((_0x16e270,_0x2f6108)=>{let _0x7936ef,{next:_0x51caa7}=_0x16e270;_0x385bc0['indexOf'](_0x51caa7)>-0x1||(_0x51caa7!=_0xff5675||(_0x7936ef=_0x16e270['peek'](0x1))!=_0xff5675&&_0x7936ef!=star)&&(_0x51caa7==_0x2265ba||_0x51caa7==_0x31ac13||-0x1==_0x51caa7||_0x2f6108['context']||_0x16e270['acceptToken'](_0x44b0da));},{'contextual':!0x0}),_0x300c43=new ExternalTokenizer((_0x5f1387,_0x495246)=>{_0x5f1387['next']!=bracketL||_0x495246['context']||_0x5f1387['acceptToken'](_0x19ec84);},{'contextual':!0x0}),operatorToken=new ExternalTokenizer((_0x7476d4,_0x50e38e)=>{let {next:_0x38ce60}=_0x7476d4;if(_0x38ce60==_0x31737b||_0x38ce60==_0x2a6f0e){if(_0x7476d4['advance'](),_0x38ce60==_0x7476d4['next']){_0x7476d4['advance']();let _0x488e97=!_0x50e38e['context']&&_0x50e38e['canShift'](_0x1bf440);_0x7476d4['acceptToken'](_0x488e97?_0x1bf440:_0x242e10);}}else _0x38ce60==question&&_0x7476d4['peek'](0x1)==dot&&(_0x7476d4['advance'](),_0x7476d4['advance'](),(_0x7476d4['next']<0x30||_0x7476d4['next']>0x39)&&_0x7476d4['acceptToken'](questionDot));},{'contextual':!0x0});function identifierChar(_0x4194d4,_0x150776){return _0x4194d4>=0x41&&_0x4194d4<=0x5a||_0x4194d4>=0x61&&_0x4194d4<=0x7a||0x5f==_0x4194d4||_0x4194d4>=0xc0||!_0x150776&&_0x4194d4>=0x30&&_0x4194d4<=0x39;}const _0x1bffcf=new ExternalTokenizer((_0x36b6ce,_0x18248e)=>{if(_0x36b6ce['next']!=lt||!_0x18248e['dialectEnabled'](Dialect_jsx))return;if(_0x36b6ce['advance'](),_0x36b6ce['next']==_0xff5675)return;let _0x5d8414=0x0;for(;_0x385bc0['indexOf'](_0x36b6ce['next'])>-0x1;)_0x36b6ce['advance'](),_0x5d8414++;if(identifierChar(_0x36b6ce['next'],!0x0)){for(_0x36b6ce['advance'](),_0x5d8414++;identifierChar(_0x36b6ce['next'],!0x1);)_0x36b6ce['advance'](),_0x5d8414++;for(;_0x385bc0['indexOf'](_0x36b6ce['next'])>-0x1;)_0x36b6ce['advance'](),_0x5d8414++;if(_0x36b6ce['next']==_0x42e7aa)return;for(let _0x28cdf6=0x0;;_0x28cdf6++){if(0x7==_0x28cdf6){if(!identifierChar(_0x36b6ce['next'],!0x0))return;break;}if(_0x36b6ce['next']!='extends'['charCodeAt'](_0x28cdf6))break;_0x36b6ce['advance'](),_0x5d8414++;}}_0x36b6ce['acceptToken'](JSXStartTag,-_0x5d8414);}),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},_0xaf52f7={'__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},_0x6ec77d={'__proto__':null,'<':0xc1},_0x89426d=_0x51e1f3['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':[_0x32e213,_0x300c43,operatorToken,_0x1bffcf,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,insertSemicolon,new _0x2fb081('$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 _0x2fb081('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':_0x5155f4=>spec_identifier[_0x5155f4]||-0x1},{'term':0x157,'get':_0x2c7163=>_0xaf52f7[_0x2c7163]||-0x1},{'term':0x5f,'get':_0x2e598b=>_0x6ec77d[_0x2e598b]||-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'})]),_0x5623b4=new _0x576911(),_0x4010ae=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function _0x5719cf(_0x40ec2c){return(_0xc7a279,_0x46309d)=>{let _0x185dc5=_0xc7a279['node']['getChild']('VariableDefinition');return _0x185dc5&&_0x46309d(_0x185dc5,_0x40ec2c),!0x0;};}const functionContext=['FunctionDeclaration'],gatherCompletions={'FunctionDeclaration':_0x5719cf('function'),'ClassDeclaration':_0x5719cf('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':_0x5719cf('constant'),'TypeAliasDeclaration':_0x5719cf('type'),'NamespaceDeclaration':_0x5719cf('namespace'),'VariableDefinition'(_0x5b00fa,_0x4a6240){_0x5b00fa['matchContext'](functionContext)||_0x4a6240(_0x5b00fa,'variable');},'TypeDefinition'(_0x40aaac,_0x353e96){_0x353e96(_0x40aaac,'type');},'__proto__':null};function getScope(_0x409bb8,_0x2778ba){let _0x2ea20a=_0x5623b4['get'](_0x2778ba);if(_0x2ea20a)return _0x2ea20a;let _0x1f2202=[],_0x9a7b10=!0x0;function _0x2db907(_0x353e09,_0x17c9ba){let _0xc87f89=_0x409bb8['sliceString'](_0x353e09['from'],_0x353e09['to']);_0x1f2202['push']({'label':_0xc87f89,'type':_0x17c9ba});}return _0x2778ba['cursor'](IterMode['IncludeAnonymous'])['iterate'](_0x2e8da8=>{if(_0x9a7b10)_0x9a7b10=!0x1;else{if(_0x2e8da8['name']){let _0x3e33da=gatherCompletions[_0x2e8da8['name']];if(_0x3e33da&&_0x3e33da(_0x2e8da8,_0x2db907)||_0x4010ae['has'](_0x2e8da8['name']))return!0x1;}else{if(_0x2e8da8['to']-_0x2e8da8['from']>0x2000){for(let _0x348d8c of getScope(_0x409bb8,_0x2e8da8['node']))_0x1f2202['push'](_0x348d8c);return!0x1;}}}}),_0x5623b4['set'](_0x2778ba,_0x1f2202),_0x1f2202;}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(_0x54cfa5){let _0xbd5aee=syntaxTree(_0x54cfa5['state'])['resolveInner'](_0x54cfa5['pos'],-0x1);if(dontComplete['indexOf'](_0xbd5aee['name'])>-0x1)return null;let _0x358961='VariableName'==_0xbd5aee['name']||_0xbd5aee['to']-_0xbd5aee['from']<0x14&&Identifier['test'](_0x54cfa5['state']['sliceDoc'](_0xbd5aee['from'],_0xbd5aee['to']));if(!_0x358961&&!_0x54cfa5['explicit'])return null;let _0x5c0de5=[];for(let _0x3d0437=_0xbd5aee;_0x3d0437;_0x3d0437=_0x3d0437['parent'])_0x4010ae['has'](_0x3d0437['name'])&&(_0x5c0de5=_0x5c0de5['concat'](getScope(_0x54cfa5['state']['doc'],_0x3d0437)));return{'options':_0x5c0de5,'from':_0x358961?_0xbd5aee['from']:_0x54cfa5['pos'],'validFor':Identifier};}const javascriptLanguage=_0x4a150d['define']({'name':'javascript','parser':_0x89426d['configure']({'props':[indentNodeProp['add']({'IfStatement':continuedIndent({'except':/^\s*({|else\b)/}),'TryStatement':continuedIndent({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':flatIndent,'SwitchBody':_0x24605d=>{let _0x5147a8=_0x24605d['textAfter'],_0x175448=/^\s*\}/['test'](_0x5147a8),_0x553592=/^\s*(case|default)\b/['test'](_0x5147a8);return _0x24605d['baseIndent']+(_0x175448?0x0:_0x553592?0x1:0x2)*_0x24605d['unit'];},'Block':delimitedIndent({'closing':'}'}),'ArrowFunction':_0x12dbae=>_0x12dbae['baseIndent']+_0x12dbae['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':continuedIndent({'except':/^\s*{/}),'JSXElement'(_0x474050){let _0x25a7ed=/^\s*<\//['test'](_0x474050['textAfter']);return _0x474050['lineIndent'](_0x474050['node']['from'])+(_0x25a7ed?0x0:_0x474050['unit']);},'JSXEscape'(_0x20145b){let _0x4b8bb2=/\s*\}/['test'](_0x20145b['textAfter']);return _0x20145b['lineIndent'](_0x20145b['node']['from'])+(_0x4b8bb2?0x0:_0x20145b['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x48cf06=>_0x48cf06['column'](_0x48cf06['node']['from'])+_0x48cf06['unit']}),_0x285c96['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':_0x52dd83,'BlockComment':_0x4c44e0=>({'from':_0x4c44e0['from']+0x2,'to':_0x4c44e0['to']-0x2})})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),_0x1134db={'test':_0x97eab7=>/^JSX/['test'](_0x97eab7['name']),'facet':defineLanguageFacet({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},typescriptLanguage=javascriptLanguage['configure']({'dialect':'ts'},'typescript'),_0x5898eb=javascriptLanguage['configure']({'dialect':'jsx','props':[_0x23fd6e['add'](_0x1ce85b=>_0x1ce85b['isTop']?[_0x1134db]:void 0x0)]}),tsxLanguage=javascriptLanguage['configure']({'dialect':'jsx\x20ts','props':[_0x23fd6e['add'](_0x344725=>_0x344725['isTop']?[_0x1134db]:void 0x0)]},'typescript');let kwCompletion=_0x5ca2e7=>({'label':_0x5ca2e7,'type':'keyword'});const _0x5bcd3a='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=_0x5bcd3a['concat'](['declare','implements','private','protected','public']['map'](kwCompletion));function javascript(_0x146661={}){let _0x55c568=_0x146661['jsx']?_0x146661['typescript']?tsxLanguage:_0x5898eb:_0x146661['typescript']?typescriptLanguage:javascriptLanguage,_0x34d89f=_0x146661['typescript']?typescriptSnippets['concat'](typescriptKeywords):snippets['concat'](_0x5bcd3a);return new LanguageSupport(_0x55c568,[javascriptLanguage['data']['of']({'autocomplete':ifNotIn(dontComplete,completeFromList(_0x34d89f))}),javascriptLanguage['data']['of']({'autocomplete':localCompletionSource}),_0x146661['jsx']?autoCloseTags$1:[]]);}function _0x5d0f25(_0x4f2a74){for(;;){if('JSXOpenTag'==_0x4f2a74['name']||'JSXSelfClosingTag'==_0x4f2a74['name']||'JSXFragmentTag'==_0x4f2a74['name'])return _0x4f2a74;if('JSXEscape'==_0x4f2a74['name']||!_0x4f2a74['parent'])return null;_0x4f2a74=_0x4f2a74['parent'];}}function elementName$1(_0x2a544a,_0x4e78b1,_0xb96d9=_0x2a544a['length']){for(let _0x3d14b2=null==_0x4e78b1?void 0x0:_0x4e78b1['firstChild'];_0x3d14b2;_0x3d14b2=_0x3d14b2['nextSibling'])if('JSXIdentifier'==_0x3d14b2['name']||'JSXBuiltin'==_0x3d14b2['name']||'JSXNamespacedName'==_0x3d14b2['name']||'JSXMemberExpression'==_0x3d14b2['name'])return _0x2a544a['sliceString'](_0x3d14b2['from'],Math['min'](_0x3d14b2['to'],_0xb96d9));return'';}const _0x38e799='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),autoCloseTags$1=EditorView['inputHandler']['of']((_0x185f5d,_0x5d91bb,_0x569916,_0x4b61b7,_0x39e270)=>{if((_0x38e799?_0x185f5d['composing']:_0x185f5d['compositionStarted'])||_0x185f5d['state']['readOnly']||_0x5d91bb!=_0x569916||'>'!=_0x4b61b7&&'/'!=_0x4b61b7||!javascriptLanguage['isActiveAt'](_0x185f5d['state'],_0x5d91bb,-0x1))return!0x1;let _0x19ac9f=_0x39e270(),{state:_0xa068fc}=_0x19ac9f,_0x3906f7=_0xa068fc['changeByRange'](_0x47839c=>{var _0x3274e1;let _0x1ff769,{head:_0x2e7066}=_0x47839c,_0x361af3=syntaxTree(_0xa068fc)['resolveInner'](_0x2e7066-0x1,-0x1);if('JSXStartTag'==_0x361af3['name']&&(_0x361af3=_0x361af3['parent']),_0xa068fc['doc']['sliceString'](_0x2e7066-0x1,_0x2e7066)!=_0x4b61b7||'JSXAttributeValue'==_0x361af3['name']&&_0x361af3['to']>_0x2e7066);else{if('>'==_0x4b61b7&&'JSXFragmentTag'==_0x361af3['name'])return{'range':_0x47839c,'changes':{'from':_0x2e7066,'insert':'</>'}};if('/'==_0x4b61b7&&'JSXStartCloseTag'==_0x361af3['name']){let _0x3cf8ed=_0x361af3['parent'],_0x1eef2c=_0x3cf8ed['parent'];if(_0x1eef2c&&_0x3cf8ed['from']==_0x2e7066-0x2&&((_0x1ff769=elementName$1(_0xa068fc['doc'],_0x1eef2c['firstChild'],_0x2e7066))||'JSXFragmentTag'==(null===(_0x3274e1=_0x1eef2c['firstChild'])||void 0x0===_0x3274e1?void 0x0:_0x3274e1['name']))){let _0x10e8a4=_0x1ff769+'>';return{'range':EditorSelection['cursor'](_0x2e7066+_0x10e8a4['length'],-0x1),'changes':{'from':_0x2e7066,'insert':_0x10e8a4}};}}else{if('>'==_0x4b61b7){let _0xf965e6=_0x5d0f25(_0x361af3);if(_0xf965e6&&'JSXOpenTag'==_0xf965e6['name']&&!/^\/?>|^<\//['test'](_0xa068fc['doc']['sliceString'](_0x2e7066,_0x2e7066+0x2))&&(_0x1ff769=elementName$1(_0xa068fc['doc'],_0xf965e6,_0x2e7066)))return{'range':_0x47839c,'changes':{'from':_0x2e7066,'insert':'</'+_0x1ff769+'>'}};}}}return{'range':_0x47839c};});return!_0x3906f7['changes']['empty']&&(_0x185f5d['dispatch']([_0x19ac9f,_0xa068fc['update'](_0x3906f7,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),Targets=['_blank','_self','_top','_parent'],Charsets=['ascii','utf-8','utf-16','latin1','latin1'],Methods=['get','post','put','delete'],_0x23bcba=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],_0x342b3a=['true','false'],_0x3de5c9={},_0x37cf37={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':Targets,'hreflang':null}},'abbr':_0x3de5c9,'address':_0x3de5c9,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':_0x3de5c9,'aside':_0x3de5c9,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':_0x3de5c9,'base':{'attrs':{'href':null,'target':Targets}},'bdi':_0x3de5c9,'bdo':_0x3de5c9,'blockquote':{'attrs':{'cite':null}},'body':_0x3de5c9,'br':_0x3de5c9,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':_0x23bcba,'formmethod':Methods,'formnovalidate':['novalidate'],'formtarget':Targets,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':_0x3de5c9,'center':_0x3de5c9,'cite':_0x3de5c9,'code':_0x3de5c9,'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':_0x3de5c9,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':_0x3de5c9,'div':_0x3de5c9,'dl':_0x3de5c9,'dt':_0x3de5c9,'em':_0x3de5c9,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':_0x3de5c9,'figure':_0x3de5c9,'footer':_0x3de5c9,'form':{'attrs':{'action':null,'name':null,'accept-charset':Charsets,'autocomplete':['on','off'],'enctype':_0x23bcba,'method':Methods,'novalidate':['novalidate'],'target':Targets}},'h1':_0x3de5c9,'h2':_0x3de5c9,'h3':_0x3de5c9,'h4':_0x3de5c9,'h5':_0x3de5c9,'h6':_0x3de5c9,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':_0x3de5c9,'hgroup':_0x3de5c9,'hr':_0x3de5c9,'html':{'attrs':{'manifest':null}},'i':_0x3de5c9,'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':_0x23bcba,'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':_0x3de5c9,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':_0x3de5c9,'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':_0x3de5c9,'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':_0x3de5c9,'noscript':_0x3de5c9,'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':_0x3de5c9,'param':{'attrs':{'name':null,'value':null}},'pre':_0x3de5c9,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':_0x3de5c9,'rt':_0x3de5c9,'ruby':_0x3de5c9,'samp':_0x3de5c9,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':Charsets}},'section':_0x3de5c9,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':_0x3de5c9,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':_0x3de5c9,'strong':_0x3de5c9,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':_0x3de5c9,'summary':_0x3de5c9,'sup':_0x3de5c9,'table':_0x3de5c9,'tbody':_0x3de5c9,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':_0x3de5c9,'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':_0x3de5c9,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':_0x3de5c9,'time':{'attrs':{'datetime':null}},'title':_0x3de5c9,'tr':_0x3de5c9,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':_0x3de5c9,'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':_0x3de5c9},GlobalAttrs={'accesskey':null,'class':null,'contenteditable':_0x342b3a,'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':_0x342b3a,'autocorrect':_0x342b3a,'autocapitalize':_0x342b3a,'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':_0x342b3a,'aria-autocomplete':['inline','list','both','none'],'aria-busy':_0x342b3a,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':_0x342b3a,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':_0x342b3a,'aria-hidden':_0x342b3a,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':_0x342b3a,'aria-multiselectable':_0x342b3a,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':_0x342b3a,'aria-relevant':null,'aria-required':_0x342b3a,'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'](_0xcac360=>'on'+_0xcac360);for(let _0xf7a173 of eventAttributes)GlobalAttrs[_0xf7a173]=null;class _0x194023{constructor(_0x1555f7,_0x3ef155){this['tags']={..._0x37cf37,..._0x1555f7},this['globalAttrs']={...GlobalAttrs,..._0x3ef155},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}}function elementName(_0x603131,_0x3aa43e,_0x2189f7=_0x603131['length']){if(!_0x3aa43e)return'';let _0x44c6ba=_0x3aa43e['firstChild'],_0x47fbd4=_0x44c6ba&&_0x44c6ba['getChild']('TagName');return _0x47fbd4?_0x603131['sliceString'](_0x47fbd4['from'],Math['min'](_0x47fbd4['to'],_0x2189f7)):'';}function findParentElement(_0x27996e,_0x50bd42=!0x1){for(;_0x27996e;_0x27996e=_0x27996e['parent'])if('Element'==_0x27996e['name']){if(!_0x50bd42)return _0x27996e;_0x50bd42=!0x1;}return null;}function _0x525a56(_0x132bfc,_0x464509,_0x3efd19){let _0x71f06d=_0x3efd19['tags'][elementName(_0x132bfc,findParentElement(_0x464509))];return(null==_0x71f06d?void 0x0:_0x71f06d['children'])||_0x3efd19['allTags'];}function _0x3bdcc4(_0x2e945c,_0x307578){let _0x36c188=[];for(let _0x3c65f9=findParentElement(_0x307578);_0x3c65f9&&!_0x3c65f9['type']['isTop'];_0x3c65f9=findParentElement(_0x3c65f9['parent'])){let _0x2a6b2b=elementName(_0x2e945c,_0x3c65f9);if(_0x2a6b2b&&'CloseTag'==_0x3c65f9['lastChild']['name'])break;_0x2a6b2b&&_0x36c188['indexOf'](_0x2a6b2b)<0x0&&('EndTag'==_0x307578['name']||_0x307578['from']>=_0x3c65f9['firstChild']['to'])&&_0x36c188['push'](_0x2a6b2b);}return _0x36c188;}_0x194023['default']=new _0x194023();const identifier=/^[:\-\.\w\u00b7-\uffff]*$/;function completeTag(_0x177c23,_0x8b669d,_0x2baa25,_0x416453,_0x789408){let _0x2ad78f=/\s*>/['test'](_0x177c23['sliceDoc'](_0x789408,_0x789408+0x5))?'':'>',_0x1e23c0=findParentElement(_0x2baa25,'StartTag'==_0x2baa25['name']||'TagName'==_0x2baa25['name']);return{'from':_0x416453,'to':_0x789408,'options':_0x525a56(_0x177c23['doc'],_0x1e23c0,_0x8b669d)['map'](_0x2e4c8c=>({'label':_0x2e4c8c,'type':'type'}))['concat'](_0x3bdcc4(_0x177c23['doc'],_0x2baa25)['map']((_0x43308c,_0x33ae6b)=>({'label':'/'+_0x43308c,'apply':'/'+_0x43308c+_0x2ad78f,'type':'type','boost':0x63-_0x33ae6b}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function completeCloseTag(_0x5cae28,_0x2cf993,_0x4c5dc6,_0x1cb710){let _0x37af1c=/\s*>/['test'](_0x5cae28['sliceDoc'](_0x1cb710,_0x1cb710+0x5))?'':'>';return{'from':_0x4c5dc6,'to':_0x1cb710,'options':_0x3bdcc4(_0x5cae28['doc'],_0x2cf993)['map']((_0x2e8c73,_0x3a6675)=>({'label':_0x2e8c73,'apply':_0x2e8c73+_0x37af1c,'type':'type','boost':0x63-_0x3a6675})),'validFor':identifier};}function completeStartTag(_0x90ef87,_0x37b7cb,_0x34fd69,_0xbabdb9){let _0x36ead0=[],_0xbda199=0x0;for(let _0x277e6e of _0x525a56(_0x90ef87['doc'],_0x34fd69,_0x37b7cb))_0x36ead0['push']({'label':'<'+_0x277e6e,'type':'type'});for(let _0x3cdee1 of _0x3bdcc4(_0x90ef87['doc'],_0x34fd69))_0x36ead0['push']({'label':'</'+_0x3cdee1+'>','type':'type','boost':0x63-_0xbda199++});return{'from':_0xbabdb9,'to':_0xbabdb9,'options':_0x36ead0,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}function completeAttrName(_0x3a2f2d,_0xf72aa3,_0x53e7ce,_0x220f76,_0x29de1d){let _0x1bde74=findParentElement(_0x53e7ce),_0x546c52=_0x1bde74?_0xf72aa3['tags'][elementName(_0x3a2f2d['doc'],_0x1bde74)]:null,_0x5d18bb=_0x546c52&&_0x546c52['attrs']?Object['keys'](_0x546c52['attrs']):[];return{'from':_0x220f76,'to':_0x29de1d,'options':(_0x546c52&&!0x1===_0x546c52['globalAttrs']?_0x5d18bb:_0x5d18bb['length']?_0x5d18bb['concat'](_0xf72aa3['globalAttrNames']):_0xf72aa3['globalAttrNames'])['map'](_0x153270=>({'label':_0x153270,'type':'property'})),'validFor':identifier};}function completeAttrValue(_0x455276,_0x5f290a,_0x525878,_0x2397e5,_0x3246ce){var _0x1e36fd;let _0x50fb9c,_0x4053dc=null===(_0x1e36fd=_0x525878['parent'])||void 0x0===_0x1e36fd?void 0x0:_0x1e36fd['getChild']('AttributeName'),_0x9eea9b=[];if(_0x4053dc){let _0x54aec2=_0x455276['sliceDoc'](_0x4053dc['from'],_0x4053dc['to']),_0x3c937f=_0x5f290a['globalAttrs'][_0x54aec2];if(!_0x3c937f){let _0x9230c8=findParentElement(_0x525878),_0x5f3d0b=_0x9230c8?_0x5f290a['tags'][elementName(_0x455276['doc'],_0x9230c8)]:null;_0x3c937f=(null==_0x5f3d0b?void 0x0:_0x5f3d0b['attrs'])&&_0x5f3d0b['attrs'][_0x54aec2];}if(_0x3c937f){let _0x57a90f=_0x455276['sliceDoc'](_0x2397e5,_0x3246ce)['toLowerCase'](),_0x49d9b9='\x22',_0x5e571a='\x22';/^['"]/['test'](_0x57a90f)?(_0x50fb9c='\x22'==_0x57a90f[0x0]?/^[^"]*$/:/^[^']*$/,_0x49d9b9='',_0x5e571a=_0x455276['sliceDoc'](_0x3246ce,_0x3246ce+0x1)==_0x57a90f[0x0]?'':_0x57a90f[0x0],_0x57a90f=_0x57a90f['slice'](0x1),_0x2397e5++):_0x50fb9c=/^[^\s<>='"]*$/;for(let _0xaa309b of _0x3c937f)_0x9eea9b['push']({'label':_0xaa309b,'apply':_0x49d9b9+_0xaa309b+_0x5e571a,'type':'constant'});}}return{'from':_0x2397e5,'to':_0x3246ce,'options':_0x9eea9b,'validFor':_0x50fb9c};}function htmlCompletionFor(_0x5234db,_0x190416){let {state:_0x4fee55,pos:_0x5f2431}=_0x190416,_0x263388=syntaxTree(_0x4fee55)['resolveInner'](_0x5f2431,-0x1),_0x2d0d64=_0x263388['resolve'](_0x5f2431);for(let _0x4921fb,_0x3240a5=_0x5f2431;_0x2d0d64==_0x263388&&(_0x4921fb=_0x263388['childBefore'](_0x3240a5));){let _0x52dc7a=_0x4921fb['lastChild'];if(!_0x52dc7a||!_0x52dc7a['type']['isError']||_0x52dc7a['from']<_0x52dc7a['to'])break;_0x2d0d64=_0x263388=_0x4921fb,_0x3240a5=_0x52dc7a['from'];}return'TagName'==_0x263388['name']?_0x263388['parent']&&/CloseTag$/['test'](_0x263388['parent']['name'])?completeCloseTag(_0x4fee55,_0x263388,_0x263388['from'],_0x5f2431):completeTag(_0x4fee55,_0x5234db,_0x263388,_0x263388['from'],_0x5f2431):'StartTag'==_0x263388['name']||'IncompleteTag'==_0x263388['name']?completeTag(_0x4fee55,_0x5234db,_0x263388,_0x5f2431,_0x5f2431):'StartCloseTag'==_0x263388['name']||'IncompleteCloseTag'==_0x263388['name']?completeCloseTag(_0x4fee55,_0x263388,_0x5f2431,_0x5f2431):'OpenTag'==_0x263388['name']||'SelfClosingTag'==_0x263388['name']||'AttributeName'==_0x263388['name']?completeAttrName(_0x4fee55,_0x5234db,_0x263388,'AttributeName'==_0x263388['name']?_0x263388['from']:_0x5f2431,_0x5f2431):'Is'==_0x263388['name']||'AttributeValue'==_0x263388['name']||'UnquotedAttributeValue'==_0x263388['name']?completeAttrValue(_0x4fee55,_0x5234db,_0x263388,'Is'==_0x263388['name']?_0x5f2431:_0x263388['from'],_0x5f2431):!_0x190416['explicit']||'Element'!=_0x2d0d64['name']&&'Text'!=_0x2d0d64['name']&&'Document'!=_0x2d0d64['name']?null:completeStartTag(_0x4fee55,_0x5234db,_0x263388,_0x5f2431);}function htmlCompletionSource(_0x53784d){return htmlCompletionFor(_0x194023['default'],_0x53784d);}function htmlCompletionSourceWith(_0x3c66c3){let {extraTags:_0x30d8ce,extraGlobalAttributes:_0x4be023}=_0x3c66c3,_0x571705=_0x4be023||_0x30d8ce?new _0x194023(_0x30d8ce,_0x4be023):_0x194023['default'];return _0x368eb3=>htmlCompletionFor(_0x571705,_0x368eb3);}const _0x5ee43c=javascriptLanguage['parser']['configure']({'top':'SingleExpression'}),defaultNesting=[{'tag':'script','attrs':_0x18c32f=>'text/typescript'==_0x18c32f['type']||'ts'==_0x18c32f['lang'],'parser':typescriptLanguage['parser']},{'tag':'script','attrs':_0x478cbf=>'text/babel'==_0x478cbf['type']||'text/jsx'==_0x478cbf['type'],'parser':_0x5898eb['parser']},{'tag':'script','attrs':_0x400ae3=>'text/typescript-jsx'==_0x400ae3['type'],'parser':tsxLanguage['parser']},{'tag':'script','attrs':_0x35b32e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x35b32e['type']),'parser':_0x5ee43c},{'tag':'script','attrs':_0x2d70f2=>!_0x2d70f2['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x2d70f2['type']),'parser':javascriptLanguage['parser']},{'tag':'style','attrs':_0x2d1eaf=>(!_0x2d1eaf['lang']||'css'==_0x2d1eaf['lang'])&&(!_0x2d1eaf['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x2d1eaf['type'])),'parser':_0x355e9b['parser']}],defaultAttrs=[{'name':'style','parser':_0x355e9b['parser']['configure']({'top':'Styles'})}]['concat'](eventAttributes['map'](_0x3e5373=>({'name':_0x3e5373,'parser':javascriptLanguage['parser']}))),htmlPlain=_0x4a150d['define']({'name':'html','parser':_0x520203['configure']({'props':[indentNodeProp['add']({'Element'(_0x1ab054){let _0x42c287=/^(\s*)(<\/)?/['exec'](_0x1ab054['textAfter']);return _0x1ab054['node']['to']<=_0x1ab054['pos']+_0x42c287[0x0]['length']?_0x1ab054['continue']():_0x1ab054['lineIndent'](_0x1ab054['node']['from'])+(_0x42c287[0x2]?0x0:_0x1ab054['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0x592a13=>_0x592a13['column'](_0x592a13['node']['from'])+_0x592a13['unit'],'Document'(_0x84bc12){if(_0x84bc12['pos']+/\s*/['exec'](_0x84bc12['textAfter'])[0x0]['length']<_0x84bc12['node']['to'])return _0x84bc12['continue']();let _0x3b6e00,_0x2a2ba8=null;for(let _0x4a6c6a=_0x84bc12['node'];;){let _0x2ddb42=_0x4a6c6a['lastChild'];if(!_0x2ddb42||'Element'!=_0x2ddb42['name']||_0x2ddb42['to']!=_0x4a6c6a['to'])break;_0x2a2ba8=_0x4a6c6a=_0x2ddb42;}return _0x2a2ba8&&(!(_0x3b6e00=_0x2a2ba8['lastChild'])||'CloseTag'!=_0x3b6e00['name']&&'SelfClosingTag'!=_0x3b6e00['name'])?_0x84bc12['lineIndent'](_0x2a2ba8['from'])+_0x84bc12['unit']:null;}}),_0x285c96['add']({'Element'(_0x4dec1b){let _0xc5b099=_0x4dec1b['firstChild'],_0x43287c=_0x4dec1b['lastChild'];return _0xc5b099&&'OpenTag'==_0xc5b099['name']?{'from':_0xc5b099['to'],'to':'CloseTag'==_0x43287c['name']?_0x43287c['from']:_0x4dec1b['to']}:null;}}),bracketMatchingHandle['add']({'OpenTag\x20CloseTag':_0x1c0f1b=>_0x1c0f1b['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),htmlLanguage=htmlPlain['configure']({'wrap':configureNesting(defaultNesting,defaultAttrs)});function html(_0x5ef816={}){let _0x3f9047,_0x4b79d6='';!0x1===_0x5ef816['matchClosingTags']&&(_0x4b79d6='noMatch'),!0x0===_0x5ef816['selfClosingTags']&&(_0x4b79d6=(_0x4b79d6?_0x4b79d6+'\x20':'')+'selfClosing'),(_0x5ef816['nestedLanguages']&&_0x5ef816['nestedLanguages']['length']||_0x5ef816['nestedAttributes']&&_0x5ef816['nestedAttributes']['length'])&&(_0x3f9047=configureNesting((_0x5ef816['nestedLanguages']||[])['concat'](defaultNesting),(_0x5ef816['nestedAttributes']||[])['concat'](defaultAttrs)));let _0x4d121d=_0x3f9047?htmlPlain['configure']({'wrap':_0x3f9047,'dialect':_0x4b79d6}):_0x4b79d6?htmlLanguage['configure']({'dialect':_0x4b79d6}):htmlLanguage;return new LanguageSupport(_0x4d121d,[htmlLanguage['data']['of']({'autocomplete':htmlCompletionSourceWith(_0x5ef816)}),!0x1!==_0x5ef816['autoCloseTags']?autoCloseTags:[],javascript()['support'],_0x5ea03a()['support']]);}const _0x76d222=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']((_0x19403e,_0x310910,_0x5b407e,_0x5db8aa,_0x3efa6e)=>{if(_0x19403e['composing']||_0x19403e['state']['readOnly']||_0x310910!=_0x5b407e||'>'!=_0x5db8aa&&'/'!=_0x5db8aa||!htmlLanguage['isActiveAt'](_0x19403e['state'],_0x310910,-0x1))return!0x1;let _0x41d136=_0x3efa6e(),{state:_0x4cf96f}=_0x41d136,_0x4e9199=_0x4cf96f['changeByRange'](_0x64cacb=>{var _0x4889d9,_0x1db19f,_0x112fcf;let _0x21f0c5,_0x37ce90=_0x4cf96f['doc']['sliceString'](_0x64cacb['from']-0x1,_0x64cacb['to'])==_0x5db8aa,{head:_0xc97029}=_0x64cacb,_0x12e60b=syntaxTree(_0x4cf96f)['resolveInner'](_0xc97029,-0x1);if(_0x37ce90&&'>'==_0x5db8aa&&'EndTag'==_0x12e60b['name']){let _0x53d8f5=_0x12e60b['parent'];if('CloseTag'!=(null===(_0x1db19f=null===(_0x4889d9=_0x53d8f5['parent'])||void 0x0===_0x4889d9?void 0x0:_0x4889d9['lastChild'])||void 0x0===_0x1db19f?void 0x0:_0x1db19f['name'])&&(_0x21f0c5=elementName(_0x4cf96f['doc'],_0x53d8f5['parent'],_0xc97029))&&!_0x76d222['has'](_0x21f0c5))return{'range':_0x64cacb,'changes':{'from':_0xc97029,'to':_0xc97029+('>'===_0x4cf96f['doc']['sliceString'](_0xc97029,_0xc97029+0x1)?0x1:0x0),'insert':'</'+_0x21f0c5+'>'}};}else{if(_0x37ce90&&'/'==_0x5db8aa&&'IncompleteCloseTag'==_0x12e60b['name']){let _0x1cb8ca=_0x12e60b['parent'];if(_0x12e60b['from']==_0xc97029-0x2&&'CloseTag'!=(null===(_0x112fcf=_0x1cb8ca['lastChild'])||void 0x0===_0x112fcf?void 0x0:_0x112fcf['name'])&&(_0x21f0c5=elementName(_0x4cf96f['doc'],_0x1cb8ca,_0xc97029))&&!_0x76d222['has'](_0x21f0c5)){let _0x5178d2=_0xc97029+('>'===_0x4cf96f['doc']['sliceString'](_0xc97029,_0xc97029+0x1)?0x1:0x0),_0x2c81e0=_0x21f0c5+'>';return{'range':EditorSelection['cursor'](_0xc97029+_0x2c81e0['length'],-0x1),'changes':{'from':_0xc97029,'to':_0x5178d2,'insert':_0x2c81e0}};}}}return{'range':_0x64cacb};});return!_0x4e9199['changes']['empty']&&(_0x19403e['dispatch']([_0x41d136,_0x4cf96f['update'](_0x4e9199,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});class CompositeBlock{static['create'](_0xb2e2d4,_0xd84868,_0x1e99fe,_0x1899b8,_0x774ae6){return new CompositeBlock(_0xb2e2d4,_0xd84868,_0x1e99fe,_0x1899b8+(_0x1899b8<<0x8)+_0xb2e2d4+(_0xd84868<<0x4)|0x0,_0x774ae6,[],[]);}constructor(_0x5b026b,_0x5c6897,_0x4544fa,_0x1982f4,_0x3ad11b,_0x1e5b8c,_0x577702){this['type']=_0x5b026b,this['value']=_0x5c6897,this['from']=_0x4544fa,this['hash']=_0x1982f4,this['end']=_0x3ad11b,this['children']=_0x1e5b8c,this['positions']=_0x577702,this['hashProp']=[[_0x5f3026['contextHash'],_0x1982f4]];}['addChild'](_0x1eb8fe,_0x23d020){_0x1eb8fe['prop'](_0x5f3026['contextHash'])!=this['hash']&&(_0x1eb8fe=new _0x155fca(_0x1eb8fe['type'],_0x1eb8fe['children'],_0x1eb8fe['positions'],_0x1eb8fe['length'],this['hashProp'])),this['children']['push'](_0x1eb8fe),this['positions']['push'](_0x23d020);}['toTree'](_0x57b6ac,_0x1efee8=this['end']){let _0x4e3d95=this['children']['length']-0x1;return _0x4e3d95>=0x0&&(_0x1efee8=Math['max'](_0x1efee8,this['positions'][_0x4e3d95]+this['children'][_0x4e3d95]['length']+this['from'])),new _0x155fca(_0x57b6ac['types'][this['type']],this['children'],this['positions'],_0x1efee8-this['from'])['balance']({'makeTree':(_0x3f9a45,_0x5e8b7a,_0xb7b4e2)=>new _0x155fca(_0x5bfc6f['none'],_0x3f9a45,_0x5e8b7a,_0xb7b4e2,this['hashProp'])});}}var _0x1fcad0;!function(_0x832a3c){_0x832a3c[_0x832a3c['Document']=0x1]='Document',_0x832a3c[_0x832a3c['CodeBlock']=0x2]='CodeBlock',_0x832a3c[_0x832a3c['FencedCode']=0x3]='FencedCode',_0x832a3c[_0x832a3c['Blockquote']=0x4]='Blockquote',_0x832a3c[_0x832a3c['HorizontalRule']=0x5]='HorizontalRule',_0x832a3c[_0x832a3c['BulletList']=0x6]='BulletList',_0x832a3c[_0x832a3c['OrderedList']=0x7]='OrderedList',_0x832a3c[_0x832a3c['ListItem']=0x8]='ListItem',_0x832a3c[_0x832a3c['ATXHeading1']=0x9]='ATXHeading1',_0x832a3c[_0x832a3c['ATXHeading2']=0xa]='ATXHeading2',_0x832a3c[_0x832a3c['ATXHeading3']=0xb]='ATXHeading3',_0x832a3c[_0x832a3c['ATXHeading4']=0xc]='ATXHeading4',_0x832a3c[_0x832a3c['ATXHeading5']=0xd]='ATXHeading5',_0x832a3c[_0x832a3c['ATXHeading6']=0xe]='ATXHeading6',_0x832a3c[_0x832a3c['SetextHeading1']=0xf]='SetextHeading1',_0x832a3c[_0x832a3c['SetextHeading2']=0x10]='SetextHeading2',_0x832a3c[_0x832a3c['HTMLBlock']=0x11]='HTMLBlock',_0x832a3c[_0x832a3c['LinkReference']=0x12]='LinkReference',_0x832a3c[_0x832a3c['Paragraph']=0x13]='Paragraph',_0x832a3c[_0x832a3c['CommentBlock']=0x14]='CommentBlock',_0x832a3c[_0x832a3c['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0x832a3c[_0x832a3c['Escape']=0x16]='Escape',_0x832a3c[_0x832a3c['Entity']=0x17]='Entity',_0x832a3c[_0x832a3c['HardBreak']=0x18]='HardBreak',_0x832a3c[_0x832a3c['Emphasis']=0x19]='Emphasis',_0x832a3c[_0x832a3c['StrongEmphasis']=0x1a]='StrongEmphasis',_0x832a3c[_0x832a3c['Link']=0x1b]='Link',_0x832a3c[_0x832a3c['Image']=0x1c]='Image',_0x832a3c[_0x832a3c['InlineCode']=0x1d]='InlineCode',_0x832a3c[_0x832a3c['HTMLTag']=0x1e]='HTMLTag',_0x832a3c[_0x832a3c['Comment']=0x1f]='Comment',_0x832a3c[_0x832a3c['ProcessingInstruction']=0x20]='ProcessingInstruction',_0x832a3c[_0x832a3c['Autolink']=0x21]='Autolink',_0x832a3c[_0x832a3c['HeaderMark']=0x22]='HeaderMark',_0x832a3c[_0x832a3c['QuoteMark']=0x23]='QuoteMark',_0x832a3c[_0x832a3c['ListMark']=0x24]='ListMark',_0x832a3c[_0x832a3c['LinkMark']=0x25]='LinkMark',_0x832a3c[_0x832a3c['EmphasisMark']=0x26]='EmphasisMark',_0x832a3c[_0x832a3c['CodeMark']=0x27]='CodeMark',_0x832a3c[_0x832a3c['CodeText']=0x28]='CodeText',_0x832a3c[_0x832a3c['CodeInfo']=0x29]='CodeInfo',_0x832a3c[_0x832a3c['LinkTitle']=0x2a]='LinkTitle',_0x832a3c[_0x832a3c['LinkLabel']=0x2b]='LinkLabel',_0x832a3c[_0x832a3c['URL']=0x2c]='URL';}(_0x1fcad0||(_0x1fcad0={}));class _0x337afd{constructor(_0x5da7bc,_0xe5d0db){this['start']=_0x5da7bc,this['content']=_0xe5d0db,this['marks']=[],this['parsers']=[];}}class _0x24e9cd{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 _0x96ea53=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x96ea53,this['pos'],this['indent']),this['pos']=_0x96ea53,this['next']=_0x96ea53==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x96ea53);}['skipSpace'](_0x433d7e){return _0x25e773(this['text'],_0x433d7e);}['reset'](_0xa302ee){for(this['text']=_0xa302ee,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0x5b16e8){this['basePos']=_0x5b16e8,this['baseIndent']=this['countIndent'](_0x5b16e8,this['pos'],this['indent']);}['moveBaseColumn'](_0x1f44f0){this['baseIndent']=_0x1f44f0,this['basePos']=this['findColumn'](_0x1f44f0);}['addMarker'](_0x2223bd){this['markers']['push'](_0x2223bd);}['countIndent'](_0x35087c,_0x196d48=0x0,_0x5ae5cf=0x0){for(let _0x56fbb6=_0x196d48;_0x56fbb6<_0x35087c;_0x56fbb6++)_0x5ae5cf+=0x9==this['text']['charCodeAt'](_0x56fbb6)?0x4-_0x5ae5cf%0x4:0x1;return _0x5ae5cf;}['findColumn'](_0xa2e766){let _0x136d52=0x0;for(let _0x51d04d=0x0;_0x136d52<this['text']['length']&&_0x51d04d<_0xa2e766;_0x136d52++)_0x51d04d+=0x9==this['text']['charCodeAt'](_0x136d52)?0x4-_0x51d04d%0x4:0x1;return _0x136d52;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x2798b8='';for(let _0x1b220a=0x0;_0x1b220a<this['basePos'];_0x1b220a++)_0x2798b8+='\x20';return _0x2798b8+this['text']['slice'](this['basePos']);}}function skipForList(_0x176bd3,_0x1ae069,_0x4fb3bc){if(_0x4fb3bc['pos']==_0x4fb3bc['text']['length']||_0x176bd3!=_0x1ae069['block']&&_0x4fb3bc['indent']>=_0x1ae069['stack'][_0x4fb3bc['depth']+0x1]['value']+_0x4fb3bc['baseIndent'])return!0x0;if(_0x4fb3bc['indent']>=_0x4fb3bc['baseIndent']+0x4)return!0x1;let _0x31724c=(_0x176bd3['type']==_0x1fcad0['OrderedList']?isOrderedList:isBulletList)(_0x4fb3bc,_0x1ae069,!0x1);return _0x31724c>0x0&&(_0x176bd3['type']!=_0x1fcad0['BulletList']||isHorizontalRule(_0x4fb3bc,_0x1ae069,!0x1)<0x0)&&_0x4fb3bc['text']['charCodeAt'](_0x4fb3bc['pos']+_0x31724c-0x1)==_0x176bd3['value'];}const DefaultSkipMarkup={[_0x1fcad0['Blockquote']]:(_0x233009,_0x262ccf,_0x5da47d)=>0x3e==_0x5da47d['next']&&(_0x5da47d['markers']['push'](elt(_0x1fcad0['QuoteMark'],_0x262ccf['lineStart']+_0x5da47d['pos'],_0x262ccf['lineStart']+_0x5da47d['pos']+0x1)),_0x5da47d['moveBase'](_0x5da47d['pos']+(_0xe6c5ea(_0x5da47d['text']['charCodeAt'](_0x5da47d['pos']+0x1))?0x2:0x1)),_0x233009['end']=_0x262ccf['lineStart']+_0x5da47d['text']['length'],!0x0),[_0x1fcad0['ListItem']]:(_0x30ff36,_0x321474,_0x58cd89)=>!(_0x58cd89['indent']<_0x58cd89['baseIndent']+_0x30ff36['value']&&_0x58cd89['next']>-0x1)&&(_0x58cd89['moveBaseColumn'](_0x58cd89['baseIndent']+_0x30ff36['value']),!0x0),[_0x1fcad0['OrderedList']]:skipForList,[_0x1fcad0['BulletList']]:skipForList,[_0x1fcad0['Document']]:()=>!0x0};function _0xe6c5ea(_0x588241){return 0x20==_0x588241||0x9==_0x588241||0xa==_0x588241||0xd==_0x588241;}function _0x25e773(_0x358891,_0x42c2ef=0x0){for(;_0x42c2ef<_0x358891['length']&&_0xe6c5ea(_0x358891['charCodeAt'](_0x42c2ef));)_0x42c2ef++;return _0x42c2ef;}function _0x56f89d(_0x47d6d3,_0x2971ac,_0x112095){for(;_0x2971ac>_0x112095&&_0xe6c5ea(_0x47d6d3['charCodeAt'](_0x2971ac-0x1));)_0x2971ac--;return _0x2971ac;}function _0x36230c(_0xfdf2b0){if(0x60!=_0xfdf2b0['next']&&0x7e!=_0xfdf2b0['next'])return-0x1;let _0x1f7754=_0xfdf2b0['pos']+0x1;for(;_0x1f7754<_0xfdf2b0['text']['length']&&_0xfdf2b0['text']['charCodeAt'](_0x1f7754)==_0xfdf2b0['next'];)_0x1f7754++;if(_0x1f7754<_0xfdf2b0['pos']+0x3)return-0x1;if(0x60==_0xfdf2b0['next']){for(let _0x4654db=_0x1f7754;_0x4654db<_0xfdf2b0['text']['length'];_0x4654db++)if(0x60==_0xfdf2b0['text']['charCodeAt'](_0x4654db))return-0x1;}return _0x1f7754;}function isBlockquote(_0x469f6e){return 0x3e!=_0x469f6e['next']?-0x1:0x20==_0x469f6e['text']['charCodeAt'](_0x469f6e['pos']+0x1)?0x2:0x1;}function isHorizontalRule(_0x1534af,_0x55d9d8,_0x3abe5c){if(0x2a!=_0x1534af['next']&&0x2d!=_0x1534af['next']&&0x5f!=_0x1534af['next'])return-0x1;let _0x977343=0x1;for(let _0x355212=_0x1534af['pos']+0x1;_0x355212<_0x1534af['text']['length'];_0x355212++){let _0x464cd4=_0x1534af['text']['charCodeAt'](_0x355212);if(_0x464cd4==_0x1534af['next'])_0x977343++;else{if(!_0xe6c5ea(_0x464cd4))return-0x1;}}return _0x3abe5c&&0x2d==_0x1534af['next']&&isSetextUnderline(_0x1534af)>-0x1&&_0x1534af['depth']==_0x55d9d8['stack']['length']&&_0x55d9d8['parser']['leafBlockParsers']['indexOf'](DefaultLeafBlocks['SetextHeading'])>-0x1||_0x977343<0x3?-0x1:0x1;}function inList(_0x29a70e,_0x2edc37){for(let _0x977be8=_0x29a70e['stack']['length']-0x1;_0x977be8>=0x0;_0x977be8--)if(_0x29a70e['stack'][_0x977be8]['type']==_0x2edc37)return!0x0;return!0x1;}function isBulletList(_0x58dc2c,_0x13f252,_0x4bbcc5){return 0x2d!=_0x58dc2c['next']&&0x2b!=_0x58dc2c['next']&&0x2a!=_0x58dc2c['next']||_0x58dc2c['pos']!=_0x58dc2c['text']['length']-0x1&&!_0xe6c5ea(_0x58dc2c['text']['charCodeAt'](_0x58dc2c['pos']+0x1))||!(!_0x4bbcc5||inList(_0x13f252,_0x1fcad0['BulletList'])||_0x58dc2c['skipSpace'](_0x58dc2c['pos']+0x2)<_0x58dc2c['text']['length'])?-0x1:0x1;}function isOrderedList(_0x41d6a3,_0x4eaf18,_0x5a6273){let _0x51b0ad=_0x41d6a3['pos'],_0x12dcb1=_0x41d6a3['next'];for(;_0x12dcb1>=0x30&&_0x12dcb1<=0x39;){if(_0x51b0ad++,_0x51b0ad==_0x41d6a3['text']['length'])return-0x1;_0x12dcb1=_0x41d6a3['text']['charCodeAt'](_0x51b0ad);}return _0x51b0ad==_0x41d6a3['pos']||_0x51b0ad>_0x41d6a3['pos']+0x9||0x2e!=_0x12dcb1&&0x29!=_0x12dcb1||_0x51b0ad<_0x41d6a3['text']['length']-0x1&&!_0xe6c5ea(_0x41d6a3['text']['charCodeAt'](_0x51b0ad+0x1))||_0x5a6273&&!inList(_0x4eaf18,_0x1fcad0['OrderedList'])&&(_0x41d6a3['skipSpace'](_0x51b0ad+0x1)==_0x41d6a3['text']['length']||_0x51b0ad>_0x41d6a3['pos']+0x1||0x31!=_0x41d6a3['next'])?-0x1:_0x51b0ad+0x1-_0x41d6a3['pos'];}function isAtxHeading(_0x348576){if(0x23!=_0x348576['next'])return-0x1;let _0x224a4d=_0x348576['pos']+0x1;for(;_0x224a4d<_0x348576['text']['length']&&0x23==_0x348576['text']['charCodeAt'](_0x224a4d);)_0x224a4d++;if(_0x224a4d<_0x348576['text']['length']&&0x20!=_0x348576['text']['charCodeAt'](_0x224a4d))return-0x1;let _0x2fc2b=_0x224a4d-_0x348576['pos'];return _0x2fc2b>0x6?-0x1:_0x2fc2b;}function isSetextUnderline(_0x94693d){if(0x2d!=_0x94693d['next']&&0x3d!=_0x94693d['next']||_0x94693d['indent']>=_0x94693d['baseIndent']+0x4)return-0x1;let _0x2d8fce=_0x94693d['pos']+0x1;for(;_0x2d8fce<_0x94693d['text']['length']&&_0x94693d['text']['charCodeAt'](_0x2d8fce)==_0x94693d['next'];)_0x2d8fce++;let _0x16eecc=_0x2d8fce;for(;_0x2d8fce<_0x94693d['text']['length']&&_0xe6c5ea(_0x94693d['text']['charCodeAt'](_0x2d8fce));)_0x2d8fce++;return _0x2d8fce==_0x94693d['text']['length']?_0x16eecc:-0x1;}const EmptyLine=/^[ \t]*$/,CommentEnd=/-->/,_0x36a671=/\?>/,HTMLBlockStyle=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,CommentEnd],[/^\s*<\?/,_0x36a671],[/^\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 _0x348489(_0x5945d2,_0xfc45f0,_0x270505){if(0x3c!=_0x5945d2['next'])return-0x1;let _0x1e693f=_0x5945d2['text']['slice'](_0x5945d2['pos']);for(let _0xa8a794=0x0,_0x290eda=HTMLBlockStyle['length']-(_0x270505?0x1:0x0);_0xa8a794<_0x290eda;_0xa8a794++)if(HTMLBlockStyle[_0xa8a794][0x0]['test'](_0x1e693f))return _0xa8a794;return-0x1;}function getListIndent(_0x30edd6,_0x4a7201){let _0x537e97=_0x30edd6['countIndent'](_0x4a7201,_0x30edd6['pos'],_0x30edd6['indent']),_0x1a6c6b=_0x30edd6['countIndent'](_0x30edd6['skipSpace'](_0x4a7201),_0x4a7201,_0x537e97);return _0x1a6c6b>=_0x537e97+0x5?_0x537e97+0x1:_0x1a6c6b;}function addCodeText(_0x59d65b,_0x2cf445,_0x4bd88d){let _0x1ad342=_0x59d65b['length']-0x1;_0x1ad342>=0x0&&_0x59d65b[_0x1ad342]['to']==_0x2cf445&&_0x59d65b[_0x1ad342]['type']==_0x1fcad0['CodeText']?_0x59d65b[_0x1ad342]['to']=_0x4bd88d:_0x59d65b['push'](elt(_0x1fcad0['CodeText'],_0x2cf445,_0x4bd88d));}const DefaultBlockParsers={'LinkReference':void 0x0,'IndentedCode'(_0x5ba021,_0xc8e39a){let _0x1f5728=_0xc8e39a['baseIndent']+0x4;if(_0xc8e39a['indent']<_0x1f5728)return!0x1;let _0x3c75a6=_0xc8e39a['findColumn'](_0x1f5728),_0x2a5201=_0x5ba021['lineStart']+_0x3c75a6,_0x4a82c9=_0x5ba021['lineStart']+_0xc8e39a['text']['length'],_0x1bfef9=[],_0x1316f4=[];for(addCodeText(_0x1bfef9,_0x2a5201,_0x4a82c9);_0x5ba021['nextLine']()&&_0xc8e39a['depth']>=_0x5ba021['stack']['length'];)if(_0xc8e39a['pos']==_0xc8e39a['text']['length']){addCodeText(_0x1316f4,_0x5ba021['lineStart']-0x1,_0x5ba021['lineStart']);for(let _0x5e0d73 of _0xc8e39a['markers'])_0x1316f4['push'](_0x5e0d73);}else{if(_0xc8e39a['indent']<_0x1f5728)break;{if(_0x1316f4['length']){for(let _0x24c74c of _0x1316f4)_0x24c74c['type']==_0x1fcad0['CodeText']?addCodeText(_0x1bfef9,_0x24c74c['from'],_0x24c74c['to']):_0x1bfef9['push'](_0x24c74c);_0x1316f4=[];}addCodeText(_0x1bfef9,_0x5ba021['lineStart']-0x1,_0x5ba021['lineStart']);for(let _0x486788 of _0xc8e39a['markers'])_0x1bfef9['push'](_0x486788);_0x4a82c9=_0x5ba021['lineStart']+_0xc8e39a['text']['length'];let _0x1d8410=_0x5ba021['lineStart']+_0xc8e39a['findColumn'](_0xc8e39a['baseIndent']+0x4);_0x1d8410<_0x4a82c9&&addCodeText(_0x1bfef9,_0x1d8410,_0x4a82c9);}}return _0x1316f4['length']&&(_0x1316f4=_0x1316f4['filter'](_0xb64c85=>_0xb64c85['type']!=_0x1fcad0['CodeText']),_0x1316f4['length']&&(_0xc8e39a['markers']=_0x1316f4['concat'](_0xc8e39a['markers']))),_0x5ba021['addNode'](_0x5ba021['buffer']['writeElements'](_0x1bfef9,-_0x2a5201)['finish'](_0x1fcad0['CodeBlock'],_0x4a82c9-_0x2a5201),_0x2a5201),!0x0;},'FencedCode'(_0x1c1950,_0x323124){let _0x92ba73=_0x36230c(_0x323124);if(_0x92ba73<0x0)return!0x1;let _0x5f5561=_0x1c1950['lineStart']+_0x323124['pos'],_0x54fb29=_0x323124['next'],_0x219a77=_0x92ba73-_0x323124['pos'],_0x2854f2=_0x323124['skipSpace'](_0x92ba73),_0x557625=_0x56f89d(_0x323124['text'],_0x323124['text']['length'],_0x2854f2),_0x3d487=[elt(_0x1fcad0['CodeMark'],_0x5f5561,_0x5f5561+_0x219a77)];_0x2854f2<_0x557625&&_0x3d487['push'](elt(_0x1fcad0['CodeInfo'],_0x1c1950['lineStart']+_0x2854f2,_0x1c1950['lineStart']+_0x557625));for(let _0x45ae80=!0x0;_0x1c1950['nextLine']()&&_0x323124['depth']>=_0x1c1950['stack']['length'];_0x45ae80=!0x1){let _0x5e99f1=_0x323124['pos'];if(_0x323124['indent']-_0x323124['baseIndent']<0x4){for(;_0x5e99f1<_0x323124['text']['length']&&_0x323124['text']['charCodeAt'](_0x5e99f1)==_0x54fb29;)_0x5e99f1++;}if(_0x5e99f1-_0x323124['pos']>=_0x219a77&&_0x323124['skipSpace'](_0x5e99f1)==_0x323124['text']['length']){for(let _0x207d54 of _0x323124['markers'])_0x3d487['push'](_0x207d54);_0x3d487['push'](elt(_0x1fcad0['CodeMark'],_0x1c1950['lineStart']+_0x323124['pos'],_0x1c1950['lineStart']+_0x5e99f1)),_0x1c1950['nextLine']();break;}{_0x45ae80||addCodeText(_0x3d487,_0x1c1950['lineStart']-0x1,_0x1c1950['lineStart']);for(let _0x2bfab3 of _0x323124['markers'])_0x3d487['push'](_0x2bfab3);let _0x392a08=_0x1c1950['lineStart']+_0x323124['basePos'],_0x1b7fca=_0x1c1950['lineStart']+_0x323124['text']['length'];_0x392a08<_0x1b7fca&&addCodeText(_0x3d487,_0x392a08,_0x1b7fca);}}return _0x1c1950['addNode'](_0x1c1950['buffer']['writeElements'](_0x3d487,-_0x5f5561)['finish'](_0x1fcad0['FencedCode'],_0x1c1950['prevLineEnd']()-_0x5f5561),_0x5f5561),!0x0;},'Blockquote'(_0x3ca2ca,_0x352153){let _0x49060e=isBlockquote(_0x352153);return!(_0x49060e<0x0)&&(_0x3ca2ca['startContext'](_0x1fcad0['Blockquote'],_0x352153['pos']),_0x3ca2ca['addNode'](_0x1fcad0['QuoteMark'],_0x3ca2ca['lineStart']+_0x352153['pos'],_0x3ca2ca['lineStart']+_0x352153['pos']+0x1),_0x352153['moveBase'](_0x352153['pos']+_0x49060e),null);},'HorizontalRule'(_0x1f6b19,_0x26d590){if(isHorizontalRule(_0x26d590,_0x1f6b19,!0x1)<0x0)return!0x1;let _0x4ff1b4=_0x1f6b19['lineStart']+_0x26d590['pos'];return _0x1f6b19['nextLine'](),_0x1f6b19['addNode'](_0x1fcad0['HorizontalRule'],_0x4ff1b4),!0x0;},'BulletList'(_0x29b65a,_0x42649c){let _0x1f053e=isBulletList(_0x42649c,_0x29b65a,!0x1);if(_0x1f053e<0x0)return!0x1;_0x29b65a['block']['type']!=_0x1fcad0['BulletList']&&_0x29b65a['startContext'](_0x1fcad0['BulletList'],_0x42649c['basePos'],_0x42649c['next']);let _0x3704f6=getListIndent(_0x42649c,_0x42649c['pos']+0x1);return _0x29b65a['startContext'](_0x1fcad0['ListItem'],_0x42649c['basePos'],_0x3704f6-_0x42649c['baseIndent']),_0x29b65a['addNode'](_0x1fcad0['ListMark'],_0x29b65a['lineStart']+_0x42649c['pos'],_0x29b65a['lineStart']+_0x42649c['pos']+_0x1f053e),_0x42649c['moveBaseColumn'](_0x3704f6),null;},'OrderedList'(_0xe381a3,_0x497515){let _0x35795f=isOrderedList(_0x497515,_0xe381a3,!0x1);if(_0x35795f<0x0)return!0x1;_0xe381a3['block']['type']!=_0x1fcad0['OrderedList']&&_0xe381a3['startContext'](_0x1fcad0['OrderedList'],_0x497515['basePos'],_0x497515['text']['charCodeAt'](_0x497515['pos']+_0x35795f-0x1));let _0x16a011=getListIndent(_0x497515,_0x497515['pos']+_0x35795f);return _0xe381a3['startContext'](_0x1fcad0['ListItem'],_0x497515['basePos'],_0x16a011-_0x497515['baseIndent']),_0xe381a3['addNode'](_0x1fcad0['ListMark'],_0xe381a3['lineStart']+_0x497515['pos'],_0xe381a3['lineStart']+_0x497515['pos']+_0x35795f),_0x497515['moveBaseColumn'](_0x16a011),null;},'ATXHeading'(_0x5c6ea3,_0x2dbe36){let _0x419d95=isAtxHeading(_0x2dbe36);if(_0x419d95<0x0)return!0x1;let _0x20d4e6=_0x2dbe36['pos'],_0x15dcaf=_0x5c6ea3['lineStart']+_0x20d4e6,_0x597053=_0x56f89d(_0x2dbe36['text'],_0x2dbe36['text']['length'],_0x20d4e6),_0x5bc283=_0x597053;for(;_0x5bc283>_0x20d4e6&&_0x2dbe36['text']['charCodeAt'](_0x5bc283-0x1)==_0x2dbe36['next'];)_0x5bc283--;_0x5bc283!=_0x597053&&_0x5bc283!=_0x20d4e6&&_0xe6c5ea(_0x2dbe36['text']['charCodeAt'](_0x5bc283-0x1))||(_0x5bc283=_0x2dbe36['text']['length']);let _0x13f984=_0x5c6ea3['buffer']['write'](_0x1fcad0['HeaderMark'],0x0,_0x419d95)['writeElements'](_0x5c6ea3['parser']['parseInline'](_0x2dbe36['text']['slice'](_0x20d4e6+_0x419d95+0x1,_0x5bc283),_0x15dcaf+_0x419d95+0x1),-_0x15dcaf);_0x5bc283<_0x2dbe36['text']['length']&&_0x13f984['write'](_0x1fcad0['HeaderMark'],_0x5bc283-_0x20d4e6,_0x597053-_0x20d4e6);let _0x2b08ba=_0x13f984['finish'](_0x1fcad0['ATXHeading1']-0x1+_0x419d95,_0x2dbe36['text']['length']-_0x20d4e6);return _0x5c6ea3['nextLine'](),_0x5c6ea3['addNode'](_0x2b08ba,_0x15dcaf),!0x0;},'HTMLBlock'(_0x59d221,_0xc2de97){let _0x23190c=_0x348489(_0xc2de97,_0x59d221,!0x1);if(_0x23190c<0x0)return!0x1;let _0x4194ff=_0x59d221['lineStart']+_0xc2de97['pos'],_0x23e6cd=HTMLBlockStyle[_0x23190c][0x1],_0x444566=[],_0x3c7c97=_0x23e6cd!=EmptyLine;for(;!_0x23e6cd['test'](_0xc2de97['text'])&&_0x59d221['nextLine']();){if(_0xc2de97['depth']<_0x59d221['stack']['length']){_0x3c7c97=!0x1;break;}for(let _0x50dd41 of _0xc2de97['markers'])_0x444566['push'](_0x50dd41);}_0x3c7c97&&_0x59d221['nextLine']();let _0x26117e=_0x23e6cd==CommentEnd?_0x1fcad0['CommentBlock']:_0x23e6cd==_0x36a671?_0x1fcad0['ProcessingInstructionBlock']:_0x1fcad0['HTMLBlock'],_0x260815=_0x59d221['prevLineEnd']();return _0x59d221['addNode'](_0x59d221['buffer']['writeElements'](_0x444566,-_0x4194ff)['finish'](_0x26117e,_0x260815-_0x4194ff),_0x4194ff),!0x0;},'SetextHeading':void 0x0};class _0x32de2f{constructor(_0x59e685){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0x59e685['start'],this['advance'](_0x59e685['content']);}['nextLine'](_0x29c073,_0x19861a,_0x49ff89){if(-0x1==this['stage'])return!0x1;let _0x2108fb=_0x49ff89['content']+'\x0a'+_0x19861a['scrub'](),_0x8a41c9=this['advance'](_0x2108fb);return _0x8a41c9>-0x1&&_0x8a41c9<_0x2108fb['length']&&this['complete'](_0x29c073,_0x49ff89,_0x8a41c9);}['finish'](_0x39be98,_0x5ebe6d){return(0x2==this['stage']||0x3==this['stage'])&&_0x25e773(_0x5ebe6d['content'],this['pos'])==_0x5ebe6d['content']['length']&&this['complete'](_0x39be98,_0x5ebe6d,_0x5ebe6d['content']['length']);}['complete'](_0x5878d6,_0x537792,_0x1a3406){return _0x5878d6['addLeafElement'](_0x537792,elt(_0x1fcad0['LinkReference'],this['start'],this['start']+_0x1a3406,this['elts'])),!0x0;}['nextStage'](_0x523c4f){return _0x523c4f?(this['pos']=_0x523c4f['to']-this['start'],this['elts']['push'](_0x523c4f),this['stage']++,!0x0):(!0x1===_0x523c4f&&(this['stage']=-0x1),!0x1);}['advance'](_0x4ed641){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](_0xf9277c(_0x4ed641,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x4ed641['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](elt(_0x1fcad0['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x309f67=_0x25e773(_0x4ed641,this['pos']),_0x3b0a1a=0x0;if(_0x309f67>this['pos']){let _0x488e1f=parseLinkTitle(_0x4ed641,_0x309f67,this['start']);if(_0x488e1f){let _0x3c426e=_0x2f9277(_0x4ed641,_0x488e1f['to']-this['start']);_0x3c426e>0x0&&(this['nextStage'](_0x488e1f),_0x3b0a1a=_0x3c426e);}}return _0x3b0a1a||(_0x3b0a1a=_0x2f9277(_0x4ed641,this['pos'])),_0x3b0a1a>0x0&&_0x3b0a1a<_0x4ed641['length']?_0x3b0a1a:-0x1;}return _0x2f9277(_0x4ed641,this['pos']);}if(!this['nextStage'](_0x5a95f6(_0x4ed641,_0x25e773(_0x4ed641,this['pos']),this['start'])))return-0x1;}}}}function _0x2f9277(_0x1b5289,_0x3b00ae){for(;_0x3b00ae<_0x1b5289['length'];_0x3b00ae++){let _0x518a8a=_0x1b5289['charCodeAt'](_0x3b00ae);if(0xa==_0x518a8a)break;if(!_0xe6c5ea(_0x518a8a))return-0x1;}return _0x3b00ae;}class SetextHeadingParser{['nextLine'](_0x40cea0,_0x12910b,_0x1268be){let _0x516e98=_0x12910b['depth']<_0x40cea0['stack']['length']?-0x1:isSetextUnderline(_0x12910b),_0x10e345=_0x12910b['next'];if(_0x516e98<0x0)return!0x1;let _0x3c2dd7=elt(_0x1fcad0['HeaderMark'],_0x40cea0['lineStart']+_0x12910b['pos'],_0x40cea0['lineStart']+_0x516e98);return _0x40cea0['nextLine'](),_0x40cea0['addLeafElement'](_0x1268be,elt(0x3d==_0x10e345?_0x1fcad0['SetextHeading1']:_0x1fcad0['SetextHeading2'],_0x1268be['start'],_0x40cea0['prevLineEnd'](),[..._0x40cea0['parser']['parseInline'](_0x1268be['content'],_0x1268be['start']),_0x3c2dd7])),!0x0;}['finish'](){return!0x1;}}const DefaultLeafBlocks={'LinkReference':(_0x447cc2,_0x260970)=>0x5b==_0x260970['content']['charCodeAt'](0x0)?new _0x32de2f(_0x260970):null,'SetextHeading':()=>new SetextHeadingParser()},DefaultEndLeaf=[(_0xe28baa,_0x5adca8)=>isAtxHeading(_0x5adca8)>=0x0,(_0xa33600,_0x128007)=>_0x36230c(_0x128007)>=0x0,(_0x34848c,_0x3efc55)=>isBlockquote(_0x3efc55)>=0x0,(_0x325dda,_0x5de88c)=>isBulletList(_0x5de88c,_0x325dda,!0x0)>=0x0,(_0x229e73,_0x3d8115)=>isOrderedList(_0x3d8115,_0x229e73,!0x0)>=0x0,(_0x13cbbf,_0xcb4b03)=>isHorizontalRule(_0xcb4b03,_0x13cbbf,!0x0)>=0x0,(_0x4d72a5,_0x3a289f)=>_0x348489(_0x3a289f,_0x4d72a5,!0x0)>=0x0],scanLineResult={'text':'','end':0x0};class BlockContext{constructor(_0x2391c0,_0xd3bc44,_0x4fa80c,_0x5daba0){this['parser']=_0x2391c0,this['input']=_0xd3bc44,this['ranges']=_0x5daba0,this['line']=new _0x24e9cd(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0x5daba0[_0x5daba0['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0x5daba0[0x0]['from'],this['block']=CompositeBlock['create'](_0x1fcad0['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x4fa80c['length']?new FragmentCursor(_0x4fa80c,_0xd3bc44):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0x43683e}=this;for(;;){for(let _0x234ddf=0x0;;){let _0xa0ce7c=_0x43683e['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x234ddf<_0x43683e['markers']['length']&&(!_0xa0ce7c||_0x43683e['markers'][_0x234ddf]['from']<_0xa0ce7c['end']);){let _0x1bd7f8=_0x43683e['markers'][_0x234ddf++];this['addNode'](_0x1bd7f8['type'],_0x1bd7f8['from'],_0x1bd7f8['to']);}if(!_0xa0ce7c)break;this['finishContext']();}if(_0x43683e['pos']<_0x43683e['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0x43683e['basePos']))return null;t:for(;;){for(let _0x5b78f4 of this['parser']['blockParsers'])if(_0x5b78f4){let _0x3ea579=_0x5b78f4(this,_0x43683e);if(0x0!=_0x3ea579){if(0x1==_0x3ea579)return null;_0x43683e['forward']();continue t;}}break;}let _0x2e4bc7=new _0x337afd(this['lineStart']+_0x43683e['pos'],_0x43683e['text']['slice'](_0x43683e['pos']));for(let _0x69ff4c of this['parser']['leafBlockParsers'])if(_0x69ff4c){let _0x383091=_0x69ff4c(this,_0x2e4bc7);_0x383091&&_0x2e4bc7['parsers']['push'](_0x383091);}t:for(;this['nextLine']()&&_0x43683e['pos']!=_0x43683e['text']['length'];){if(_0x43683e['indent']<_0x43683e['baseIndent']+0x4){for(let _0x59241b of this['parser']['endLeafBlock'])if(_0x59241b(this,_0x43683e,_0x2e4bc7))break t;}for(let _0x345b09 of _0x2e4bc7['parsers'])if(_0x345b09['nextLine'](this,_0x43683e,_0x2e4bc7))return null;_0x2e4bc7['content']+='\x0a'+_0x43683e['scrub']();for(let _0x2c1095 of _0x43683e['markers'])_0x2e4bc7['marks']['push'](_0x2c1095);}return this['finishLeaf'](_0x2e4bc7),null;}['stopAt'](_0x4155bd){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x4155bd)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x4155bd;}['reuseFragment'](_0x132605){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x132605,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x55a015=this['fragments']['takeNodes'](this);return!!_0x55a015&&(this['absoluteLineStart']+=_0x55a015,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'](_0x4c657b=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x4c657b]['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'](_0x5b960e){let _0xa2d804=scanLineResult;if(_0xa2d804['end']=_0x5b960e,_0x5b960e>=this['to'])_0xa2d804['text']='';else{if(_0xa2d804['text']=this['lineChunkAt'](_0x5b960e),_0xa2d804['end']+=_0xa2d804['text']['length'],this['ranges']['length']>0x1){let _0x40f28e=this['absoluteLineStart'],_0x4f97d5=this['rangeI'];for(;this['ranges'][_0x4f97d5]['to']<_0xa2d804['end'];){_0x4f97d5++;let _0x3e29cb=this['ranges'][_0x4f97d5]['from'],_0x4ce08e=this['lineChunkAt'](_0x3e29cb);_0xa2d804['end']=_0x3e29cb+_0x4ce08e['length'],_0xa2d804['text']=_0xa2d804['text']['slice'](0x0,this['ranges'][_0x4f97d5-0x1]['to']-_0x40f28e)+_0x4ce08e,_0x40f28e=_0xa2d804['end']-_0xa2d804['text']['length'];}}}return _0xa2d804;}['readLine'](){let {line:_0x5d93c3}=this,{text:_0x459545,end:_0x5d1ae7}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x5d1ae7,_0x5d93c3['reset'](_0x459545);_0x5d93c3['depth']<this['stack']['length'];_0x5d93c3['depth']++){let _0x9d9337=this['stack'][_0x5d93c3['depth']],_0x5be50e=this['parser']['skipContextMarkup'][_0x9d9337['type']];if(!_0x5be50e)throw new Error('Unhandled\x20block\x20context\x20'+_0x1fcad0[_0x9d9337['type']]);let _0x5e5622=this['line']['markers']['length'];if(!_0x5be50e(_0x9d9337,this,_0x5d93c3)){this['line']['markers']['length']>_0x5e5622&&(_0x9d9337['end']=this['line']['markers'][this['line']['markers']['length']-0x1]['to']);break;}_0x5d93c3['forward']();}}['lineChunkAt'](_0x277dc3){let _0x55daf5,_0x1f7244=this['input']['chunk'](_0x277dc3);if(this['input']['lineChunks'])_0x55daf5='\x0a'==_0x1f7244?'':_0x1f7244;else{let _0x59dd4a=_0x1f7244['indexOf']('\x0a');_0x55daf5=_0x59dd4a<0x0?_0x1f7244:_0x1f7244['slice'](0x0,_0x59dd4a);}return _0x277dc3+_0x55daf5['length']>this['to']?_0x55daf5['slice'](0x0,this['to']-_0x277dc3):_0x55daf5;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0x410f3f,_0x2a22b4,_0x7bde5f=0x0){this['block']=CompositeBlock['create'](_0x410f3f,_0x7bde5f,this['lineStart']+_0x2a22b4,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0x4b9d13,_0x1e0c5c,_0x416c7a=0x0){this['startContext'](this['parser']['getNodeType'](_0x4b9d13),_0x1e0c5c,_0x416c7a);}['addNode'](_0x2642d5,_0x328c0b,_0xa4bb4e){'number'==typeof _0x2642d5&&(_0x2642d5=new _0x155fca(this['parser']['nodeSet']['types'][_0x2642d5],_0x41f63d,_0x41f63d,(null!=_0xa4bb4e?_0xa4bb4e:this['prevLineEnd']())-_0x328c0b)),this['block']['addChild'](_0x2642d5,_0x328c0b-this['block']['from']);}['addElement'](_0x4b2e73){this['block']['addChild'](_0x4b2e73['toTree'](this['parser']['nodeSet']),_0x4b2e73['from']-this['block']['from']);}['addLeafElement'](_0x10c4e2,_0x140b33){this['addNode'](this['buffer']['writeElements'](injectMarks(_0x140b33['children'],_0x10c4e2['marks']),-_0x140b33['from'])['finish'](_0x140b33['type'],_0x140b33['to']-_0x140b33['from']),_0x140b33['from']);}['finishContext'](){let _0x448692=this['stack']['pop'](),_0x5990f1=this['stack'][this['stack']['length']-0x1];_0x5990f1['addChild'](_0x448692['toTree'](this['parser']['nodeSet']),_0x448692['from']-_0x5990f1['from']),this['block']=_0x5990f1;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0x462550){return this['ranges']['length']>0x1?injectGaps(this['ranges'],0x0,_0x462550['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0x462550;}['finishLeaf'](_0x5d1f26){for(let _0x450635 of _0x5d1f26['parsers'])if(_0x450635['finish'](this,_0x5d1f26))return;let _0x28a2e7=injectMarks(this['parser']['parseInline'](_0x5d1f26['content'],_0x5d1f26['start']),_0x5d1f26['marks']);this['addNode'](this['buffer']['writeElements'](_0x28a2e7,-_0x5d1f26['start'])['finish'](_0x1fcad0['Paragraph'],_0x5d1f26['content']['length']),_0x5d1f26['start']);}['elt'](_0xab7b66,_0x1db4c5,_0x8a73a3,_0x1be36a){return'string'==typeof _0xab7b66?elt(this['parser']['getNodeType'](_0xab7b66),_0x1db4c5,_0x8a73a3,_0x1be36a):new TreeElement(_0xab7b66,_0x1db4c5);}get['buffer'](){return new _0x59d97c(this['parser']['nodeSet']);}}function injectGaps(_0x446bf1,_0x46f879,_0x32ecea,_0x482093,_0x33db07){let _0x3f106e=_0x446bf1[_0x46f879]['to'],_0x224d43=[],_0x895006=[],_0x2f6f86=_0x32ecea['from']+_0x482093;function _0x3306b6(_0xaa412,_0x613b6a){for(;_0x613b6a?_0xaa412>=_0x3f106e:_0xaa412>_0x3f106e;){let _0x216576=_0x446bf1[_0x46f879+0x1]['from']-_0x3f106e;_0x482093+=_0x216576,_0xaa412+=_0x216576,_0x46f879++,_0x3f106e=_0x446bf1[_0x46f879]['to'];}}for(let _0x3ea022=_0x32ecea['firstChild'];_0x3ea022;_0x3ea022=_0x3ea022['nextSibling']){_0x3306b6(_0x3ea022['from']+_0x482093,!0x0);let _0x5d6907,_0x2b4ec3=_0x3ea022['from']+_0x482093,_0xef0f1d=_0x33db07['get'](_0x3ea022['tree']);_0xef0f1d?_0x5d6907=_0xef0f1d:_0x3ea022['to']+_0x482093>_0x3f106e?(_0x5d6907=injectGaps(_0x446bf1,_0x46f879,_0x3ea022,_0x482093,_0x33db07),_0x3306b6(_0x3ea022['to']+_0x482093,!0x1)):_0x5d6907=_0x3ea022['toTree'](),_0x224d43['push'](_0x5d6907),_0x895006['push'](_0x2b4ec3-_0x2f6f86);}return _0x3306b6(_0x32ecea['to']+_0x482093,!0x1),new _0x155fca(_0x32ecea['type'],_0x224d43,_0x895006,_0x32ecea['to']+_0x482093-_0x2f6f86,_0x32ecea['tree']?_0x32ecea['tree']['propValues']:void 0x0);}class _0x396cb7 extends _0x4c4bed{constructor(_0x1371ea,_0x392630,_0x3addb7,_0x352214,_0x4a8db1,_0x2ba891,_0xffa75e,_0x5e29a7,_0x5d8593){super(),this['nodeSet']=_0x1371ea,this['blockParsers']=_0x392630,this['leafBlockParsers']=_0x3addb7,this['blockNames']=_0x352214,this['endLeafBlock']=_0x4a8db1,this['skipContextMarkup']=_0x2ba891,this['inlineParsers']=_0xffa75e,this['inlineNames']=_0x5e29a7,this['wrappers']=_0x5d8593,this['nodeTypes']=Object['create'](null);for(let t of _0x1371ea['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x28f489,_0x3e4568,_0x46520e){let _0x10e9ec=new BlockContext(this,_0x28f489,_0x3e4568,_0x46520e);for(let _0x2ae804 of this['wrappers'])_0x10e9ec=_0x2ae804(_0x10e9ec,_0x28f489,_0x3e4568,_0x46520e);return _0x10e9ec;}['configure'](_0x33d54b){let _0x42280f=_0x38e3cc(_0x33d54b);if(!_0x42280f)return this;let {nodeSet:_0x19ab22,skipContextMarkup:_0xcae053}=this,_0xc52fe=this['blockParsers']['slice'](),_0x56d435=this['leafBlockParsers']['slice'](),_0x433f00=this['blockNames']['slice'](),_0x59f8e4=this['inlineParsers']['slice'](),_0x10d26c=this['inlineNames']['slice'](),_0x3b5796=this['endLeafBlock']['slice'](),_0x4d43a4=this['wrappers'];if(nonEmpty(_0x42280f['defineNodes'])){_0xcae053=Object['assign']({},_0xcae053);let _0x22c5f2,_0x51163c=_0x19ab22['types']['slice']();for(let _0x5cc6ac of _0x42280f['defineNodes']){let {name:_0x18b30d,block:_0xbce321,composite:_0x3efeeb,style:_0x5b47e9}='string'==typeof _0x5cc6ac?{'name':_0x5cc6ac}:_0x5cc6ac;if(_0x51163c['some'](t=>t['name']==_0x18b30d))continue;_0x3efeeb&&(_0xcae053[_0x51163c['length']]=(_0x19fd0d,_0x571f87,_0x4d5188)=>_0x3efeeb(_0x571f87,_0x4d5188,_0x19fd0d['value']));let _0x4b99fb=_0x51163c['length'],_0x5b69a1=_0x3efeeb?['Block','BlockContext']:_0xbce321?_0x4b99fb>=_0x1fcad0['ATXHeading1']&&_0x4b99fb<=_0x1fcad0['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0x51163c['push'](_0x5bfc6f['define']({'id':_0x4b99fb,'name':_0x18b30d,'props':_0x5b69a1&&[[_0x5f3026['group'],_0x5b69a1]]})),_0x5b47e9&&(_0x22c5f2||(_0x22c5f2={}),Array['isArray'](_0x5b47e9)||_0x5b47e9 instanceof _0x325b02?_0x22c5f2[_0x18b30d]=_0x5b47e9:Object['assign'](_0x22c5f2,_0x5b47e9));}_0x19ab22=new NodeSet(_0x51163c),_0x22c5f2&&(_0x19ab22=_0x19ab22['extend'](styleTags(_0x22c5f2)));}if(nonEmpty(_0x42280f['props'])&&(_0x19ab22=_0x19ab22['extend'](..._0x42280f['props'])),nonEmpty(_0x42280f['remove']))for(let _0x57e030 of _0x42280f['remove']){let _0xb7cf8a=this['blockNames']['indexOf'](_0x57e030),_0x22dd0c=this['inlineNames']['indexOf'](_0x57e030);_0xb7cf8a>-0x1&&(_0xc52fe[_0xb7cf8a]=_0x56d435[_0xb7cf8a]=void 0x0),_0x22dd0c>-0x1&&(_0x59f8e4[_0x22dd0c]=void 0x0);}if(nonEmpty(_0x42280f['parseBlock']))for(let _0x32c163 of _0x42280f['parseBlock']){let _0x307861=_0x433f00['indexOf'](_0x32c163['name']);if(_0x307861>-0x1)_0xc52fe[_0x307861]=_0x32c163['parse'],_0x56d435[_0x307861]=_0x32c163['leaf'];else{let _0x58fcb1=_0x32c163['before']?_0x1b40ed(_0x433f00,_0x32c163['before']):_0x32c163['after']?_0x1b40ed(_0x433f00,_0x32c163['after'])+0x1:_0x433f00['length']-0x1;_0xc52fe['splice'](_0x58fcb1,0x0,_0x32c163['parse']),_0x56d435['splice'](_0x58fcb1,0x0,_0x32c163['leaf']),_0x433f00['splice'](_0x58fcb1,0x0,_0x32c163['name']);}_0x32c163['endLeaf']&&_0x3b5796['push'](_0x32c163['endLeaf']);}if(nonEmpty(_0x42280f['parseInline']))for(let _0x4fc6be of _0x42280f['parseInline']){let _0x432d72=_0x10d26c['indexOf'](_0x4fc6be['name']);if(_0x432d72>-0x1)_0x59f8e4[_0x432d72]=_0x4fc6be['parse'];else{let _0x773107=_0x4fc6be['before']?_0x1b40ed(_0x10d26c,_0x4fc6be['before']):_0x4fc6be['after']?_0x1b40ed(_0x10d26c,_0x4fc6be['after'])+0x1:_0x10d26c['length']-0x1;_0x59f8e4['splice'](_0x773107,0x0,_0x4fc6be['parse']),_0x10d26c['splice'](_0x773107,0x0,_0x4fc6be['name']);}}return _0x42280f['wrap']&&(_0x4d43a4=_0x4d43a4['concat'](_0x42280f['wrap'])),new _0x396cb7(_0x19ab22,_0xc52fe,_0x56d435,_0x433f00,_0x3b5796,_0xcae053,_0x59f8e4,_0x10d26c,_0x4d43a4);}['getNodeType'](_0x4a9c20){let _0x26d5b2=this['nodeTypes'][_0x4a9c20];if(null==_0x26d5b2)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0x4a9c20+'\x27');return _0x26d5b2;}['parseInline'](_0x4a1e0b,_0x4f73f7){let _0x8584db=new InlineContext(this,_0x4a1e0b,_0x4f73f7);t:for(let _0x555e09=_0x4f73f7;_0x555e09<_0x8584db['end'];){let _0x3c8aad=_0x8584db['char'](_0x555e09);for(let _0x1c08a1 of this['inlineParsers'])if(_0x1c08a1){let _0x5546=_0x1c08a1(_0x8584db,_0x3c8aad,_0x555e09);if(_0x5546>=0x0){_0x555e09=_0x5546;continue t;}}_0x555e09++;}return _0x8584db['resolveMarkers'](0x0);}}function nonEmpty(_0x4bf082){return null!=_0x4bf082&&_0x4bf082['length']>0x0;}function _0x38e3cc(_0x2b8954){if(!Array['isArray'](_0x2b8954))return _0x2b8954;if(0x0==_0x2b8954['length'])return null;let _0x36ef63=_0x38e3cc(_0x2b8954[0x0]);if(0x1==_0x2b8954['length'])return _0x36ef63;let _0x1db342=_0x38e3cc(_0x2b8954['slice'](0x1));if(!_0x1db342||!_0x36ef63)return _0x36ef63||_0x1db342;let _0x8a37b9=(_0x2edaf3,_0x2787ea)=>(_0x2edaf3||_0x41f63d)['concat'](_0x2787ea||_0x41f63d),_0x5ddd1e=_0x36ef63['wrap'],_0x2f7f40=_0x1db342['wrap'];return{'props':_0x8a37b9(_0x36ef63['props'],_0x1db342['props']),'defineNodes':_0x8a37b9(_0x36ef63['defineNodes'],_0x1db342['defineNodes']),'parseBlock':_0x8a37b9(_0x36ef63['parseBlock'],_0x1db342['parseBlock']),'parseInline':_0x8a37b9(_0x36ef63['parseInline'],_0x1db342['parseInline']),'remove':_0x8a37b9(_0x36ef63['remove'],_0x1db342['remove']),'wrap':_0x5ddd1e?_0x2f7f40?(_0xfeba5,_0x1e9647,_0x5b3ce4,_0x378c15)=>_0x5ddd1e(_0x2f7f40(_0xfeba5,_0x1e9647,_0x5b3ce4,_0x378c15),_0x1e9647,_0x5b3ce4,_0x378c15):_0x5ddd1e:_0x2f7f40};}function _0x1b40ed(_0x323136,_0x38cf89){let _0x5117ee=_0x323136['indexOf'](_0x38cf89);if(_0x5117ee<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x38cf89);return _0x5117ee;}let _0x4e0b82=[_0x5bfc6f['none']];for(let _0x3f214e=0x1,_0x4680b9;_0x4680b9=_0x1fcad0[_0x3f214e];_0x3f214e++)_0x4e0b82[_0x3f214e]=_0x5bfc6f['define']({'id':_0x3f214e,'name':_0x4680b9,'props':_0x3f214e>=_0x1fcad0['Escape']?[]:[[_0x5f3026['group'],_0x3f214e in DefaultSkipMarkup?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==_0x4680b9});const _0x41f63d=[];let _0x59d97c=class{constructor(_0x4964d5){this['nodeSet']=_0x4964d5,this['content']=[],this['nodes']=[];}['write'](_0x13e8ab,_0x3a6449,_0x33ab6c,_0x256827=0x0){return this['content']['push'](_0x13e8ab,_0x3a6449,_0x33ab6c,0x4+0x4*_0x256827),this;}['writeElements'](_0x43e877,_0x3ace3d=0x0){for(let _0x2244f7 of _0x43e877)_0x2244f7['writeTo'](this,_0x3ace3d);return this;}['finish'](_0x5c3350,_0x5f47fc){return _0x155fca['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0x5c3350,'length':_0x5f47fc});}},Element$1=class{constructor(_0x3cb208,_0x3a5a66,_0x141238,_0x2183dd=_0x41f63d){this['type']=_0x3cb208,this['from']=_0x3a5a66,this['to']=_0x141238,this['children']=_0x2183dd;}['writeTo'](_0x4bad45,_0x3f4a66){let _0x36ec25=_0x4bad45['content']['length'];_0x4bad45['writeElements'](this['children'],_0x3f4a66),_0x4bad45['content']['push'](this['type'],this['from']+_0x3f4a66,this['to']+_0x3f4a66,_0x4bad45['content']['length']+0x4-_0x36ec25);}['toTree'](_0x5212ad){return new _0x59d97c(_0x5212ad)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}};class TreeElement{constructor(_0x1b3fa0,_0x4fc598){this['tree']=_0x1b3fa0,this['from']=_0x4fc598;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return _0x41f63d;}['writeTo'](_0xb9afeb,_0x1a2dbd){_0xb9afeb['nodes']['push'](this['tree']),_0xb9afeb['content']['push'](_0xb9afeb['nodes']['length']-0x1,this['from']+_0x1a2dbd,this['to']+_0x1a2dbd,-0x1);}['toTree'](){return this['tree'];}}function elt(_0x13d739,_0x8ad01d,_0x20befb,_0x5b212b){return new Element$1(_0x13d739,_0x8ad01d,_0x20befb,_0x5b212b);}const _0x157ada={'resolve':'Emphasis','mark':'EmphasisMark'},EmphasisAsterisk={'resolve':'Emphasis','mark':'EmphasisMark'},LinkStart={},ImageStart={};class InlineDelimiter{constructor(_0x3fa261,_0x5be740,_0x368de7,_0x2ffa1e){this['type']=_0x3fa261,this['from']=_0x5be740,this['to']=_0x368de7,this['side']=_0x2ffa1e;}}const _0xe5a42e='!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~';let Punctuation=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{Punctuation=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x5b56e){}const DefaultInline={'Escape'(_0x399154,_0x5575c1,_0x3d4313){if(0x5c!=_0x5575c1||_0x3d4313==_0x399154['end']-0x1)return-0x1;let _0x74570c=_0x399154['char'](_0x3d4313+0x1);for(let _0x3c24e1=0x0;_0x3c24e1<_0xe5a42e['length'];_0x3c24e1++)if(_0xe5a42e['charCodeAt'](_0x3c24e1)==_0x74570c)return _0x399154['append'](elt(_0x1fcad0['Escape'],_0x3d4313,_0x3d4313+0x2));return-0x1;},'Entity'(_0x3f7bf1,_0x4f0300,_0x32d794){if(0x26!=_0x4f0300)return-0x1;let _0x3aa43d=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0x3f7bf1['slice'](_0x32d794+0x1,_0x32d794+0x1f));return _0x3aa43d?_0x3f7bf1['append'](elt(_0x1fcad0['Entity'],_0x32d794,_0x32d794+0x1+_0x3aa43d[0x0]['length'])):-0x1;},'InlineCode'(_0x408816,_0x268ac8,_0x1f70a0){if(0x60!=_0x268ac8||_0x1f70a0&&0x60==_0x408816['char'](_0x1f70a0-0x1))return-0x1;let _0x1e12f=_0x1f70a0+0x1;for(;_0x1e12f<_0x408816['end']&&0x60==_0x408816['char'](_0x1e12f);)_0x1e12f++;let _0x148139=_0x1e12f-_0x1f70a0,_0x22ca48=0x0;for(;_0x1e12f<_0x408816['end'];_0x1e12f++)if(0x60==_0x408816['char'](_0x1e12f)){if(_0x22ca48++,_0x22ca48==_0x148139&&0x60!=_0x408816['char'](_0x1e12f+0x1))return _0x408816['append'](elt(_0x1fcad0['InlineCode'],_0x1f70a0,_0x1e12f+0x1,[elt(_0x1fcad0['CodeMark'],_0x1f70a0,_0x1f70a0+_0x148139),elt(_0x1fcad0['CodeMark'],_0x1e12f+0x1-_0x148139,_0x1e12f+0x1)]));}else _0x22ca48=0x0;return-0x1;},'HTMLTag'(_0x25b378,_0x43acc7,_0x2dba4c){if(0x3c!=_0x43acc7||_0x2dba4c==_0x25b378['end']-0x1)return-0x1;let _0x1e8c42=_0x25b378['slice'](_0x2dba4c+0x1,_0x25b378['end']),_0x11417e=/^(?:[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'](_0x1e8c42);if(_0x11417e)return _0x25b378['append'](elt(_0x1fcad0['Autolink'],_0x2dba4c,_0x2dba4c+0x1+_0x11417e[0x0]['length'],[elt(_0x1fcad0['LinkMark'],_0x2dba4c,_0x2dba4c+0x1),elt(_0x1fcad0['URL'],_0x2dba4c+0x1,_0x2dba4c+_0x11417e[0x0]['length']),elt(_0x1fcad0['LinkMark'],_0x2dba4c+_0x11417e[0x0]['length'],_0x2dba4c+0x1+_0x11417e[0x0]['length'])]));let _0x5d9a0c=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x1e8c42);if(_0x5d9a0c)return _0x25b378['append'](elt(_0x1fcad0['Comment'],_0x2dba4c,_0x2dba4c+0x1+_0x5d9a0c[0x0]['length']));let _0x23a9e1=/^\?[^]*?\?>/['exec'](_0x1e8c42);if(_0x23a9e1)return _0x25b378['append'](elt(_0x1fcad0['ProcessingInstruction'],_0x2dba4c,_0x2dba4c+0x1+_0x23a9e1[0x0]['length']));let _0x5cafeb=/^(?:![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'](_0x1e8c42);return _0x5cafeb?_0x25b378['append'](elt(_0x1fcad0['HTMLTag'],_0x2dba4c,_0x2dba4c+0x1+_0x5cafeb[0x0]['length'])):-0x1;},'Emphasis'(_0xd202f4,_0x592083,_0x51ba92){if(0x5f!=_0x592083&&0x2a!=_0x592083)return-0x1;let _0x46666d=_0x51ba92+0x1;for(;_0xd202f4['char'](_0x46666d)==_0x592083;)_0x46666d++;let _0x2488df=_0xd202f4['slice'](_0x51ba92-0x1,_0x51ba92),_0x1d66d1=_0xd202f4['slice'](_0x46666d,_0x46666d+0x1),_0x430c92=Punctuation['test'](_0x2488df),_0x1f7c61=Punctuation['test'](_0x1d66d1),_0x5557b1=/\s|^$/['test'](_0x2488df),_0x34ebef=/\s|^$/['test'](_0x1d66d1),_0x4126dd=!_0x34ebef&&(!_0x1f7c61||_0x5557b1||_0x430c92),_0x3ba37c=!_0x5557b1&&(!_0x430c92||_0x34ebef||_0x1f7c61),_0x53efdb=_0x4126dd&&(0x2a==_0x592083||!_0x3ba37c||_0x430c92),_0x291c2e=_0x3ba37c&&(0x2a==_0x592083||!_0x4126dd||_0x1f7c61);return _0xd202f4['append'](new InlineDelimiter(0x5f==_0x592083?_0x157ada:EmphasisAsterisk,_0x51ba92,_0x46666d,(_0x53efdb?0x1:0x0)|(_0x291c2e?0x2:0x0)));},'HardBreak'(_0x1c5265,_0x4bd468,_0x1a2ee4){if(0x5c==_0x4bd468&&0xa==_0x1c5265['char'](_0x1a2ee4+0x1))return _0x1c5265['append'](elt(_0x1fcad0['HardBreak'],_0x1a2ee4,_0x1a2ee4+0x2));if(0x20==_0x4bd468){let _0x29b18b=_0x1a2ee4+0x1;for(;0x20==_0x1c5265['char'](_0x29b18b);)_0x29b18b++;if(0xa==_0x1c5265['char'](_0x29b18b)&&_0x29b18b>=_0x1a2ee4+0x2)return _0x1c5265['append'](elt(_0x1fcad0['HardBreak'],_0x1a2ee4,_0x29b18b+0x1));}return-0x1;},'Link':(_0x1d7924,_0x4a4394,_0x338559)=>0x5b==_0x4a4394?_0x1d7924['append'](new InlineDelimiter(LinkStart,_0x338559,_0x338559+0x1,0x1)):-0x1,'Image':(_0x4633f2,_0xf2deb1,_0x8c48eb)=>0x21==_0xf2deb1&&0x5b==_0x4633f2['char'](_0x8c48eb+0x1)?_0x4633f2['append'](new InlineDelimiter(ImageStart,_0x8c48eb,_0x8c48eb+0x2,0x1)):-0x1,'LinkEnd'(_0x1825a1,_0x2387ae,_0xdd61c0){if(0x5d!=_0x2387ae)return-0x1;for(let _0x2b06ae=_0x1825a1['parts']['length']-0x1;_0x2b06ae>=0x0;_0x2b06ae--){let _0x4030e2=_0x1825a1['parts'][_0x2b06ae];if(_0x4030e2 instanceof InlineDelimiter&&(_0x4030e2['type']==LinkStart||_0x4030e2['type']==ImageStart)){if(!_0x4030e2['side']||_0x1825a1['skipSpace'](_0x4030e2['to'])==_0xdd61c0&&!/[(\[]/['test'](_0x1825a1['slice'](_0xdd61c0+0x1,_0xdd61c0+0x2)))return _0x1825a1['parts'][_0x2b06ae]=null,-0x1;let _0x30aabe=_0x1825a1['takeContent'](_0x2b06ae),_0x4dcce=_0x1825a1['parts'][_0x2b06ae]=_0x50ad36(_0x1825a1,_0x30aabe,_0x4030e2['type']==LinkStart?_0x1fcad0['Link']:_0x1fcad0['Image'],_0x4030e2['from'],_0xdd61c0+0x1);if(_0x4030e2['type']==LinkStart)for(let _0xe37105=0x0;_0xe37105<_0x2b06ae;_0xe37105++){let _0x5144ed=_0x1825a1['parts'][_0xe37105];_0x5144ed instanceof InlineDelimiter&&_0x5144ed['type']==LinkStart&&(_0x5144ed['side']=0x0);}return _0x4dcce['to'];}}return-0x1;}};function _0x50ad36(_0x15a18d,_0x95b4a5,_0x1f41ce,_0x1a65e1,_0x3eda78){let {text:_0x471016}=_0x15a18d,_0x1f2181=_0x15a18d['char'](_0x3eda78),_0x454865=_0x3eda78;if(_0x95b4a5['unshift'](elt(_0x1fcad0['LinkMark'],_0x1a65e1,_0x1a65e1+(_0x1f41ce==_0x1fcad0['Image']?0x2:0x1))),_0x95b4a5['push'](elt(_0x1fcad0['LinkMark'],_0x3eda78-0x1,_0x3eda78)),0x28==_0x1f2181){let _0x41f510,_0x2be613=_0x15a18d['skipSpace'](_0x3eda78+0x1),_0x3693ce=_0x5a95f6(_0x471016,_0x2be613-_0x15a18d['offset'],_0x15a18d['offset']);_0x3693ce&&(_0x2be613=_0x15a18d['skipSpace'](_0x3693ce['to']),_0x2be613!=_0x3693ce['to']&&(_0x41f510=parseLinkTitle(_0x471016,_0x2be613-_0x15a18d['offset'],_0x15a18d['offset']),_0x41f510&&(_0x2be613=_0x15a18d['skipSpace'](_0x41f510['to'])))),0x29==_0x15a18d['char'](_0x2be613)&&(_0x95b4a5['push'](elt(_0x1fcad0['LinkMark'],_0x3eda78,_0x3eda78+0x1)),_0x454865=_0x2be613+0x1,_0x3693ce&&_0x95b4a5['push'](_0x3693ce),_0x41f510&&_0x95b4a5['push'](_0x41f510),_0x95b4a5['push'](elt(_0x1fcad0['LinkMark'],_0x2be613,_0x454865)));}else{if(0x5b==_0x1f2181){let _0x3680df=_0xf9277c(_0x471016,_0x3eda78-_0x15a18d['offset'],_0x15a18d['offset'],!0x1);_0x3680df&&(_0x95b4a5['push'](_0x3680df),_0x454865=_0x3680df['to']);}}return elt(_0x1f41ce,_0x1a65e1,_0x454865,_0x95b4a5);}function _0x5a95f6(_0x13d10a,_0x4085e0,_0x4c5a58){if(0x3c==_0x13d10a['charCodeAt'](_0x4085e0)){for(let _0x545dcb=_0x4085e0+0x1;_0x545dcb<_0x13d10a['length'];_0x545dcb++){let _0x1d9f68=_0x13d10a['charCodeAt'](_0x545dcb);if(0x3e==_0x1d9f68)return elt(_0x1fcad0['URL'],_0x4085e0+_0x4c5a58,_0x545dcb+0x1+_0x4c5a58);if(0x3c==_0x1d9f68||0xa==_0x1d9f68)return!0x1;}return null;}{let _0x4034a8=0x0,_0x3f88c0=_0x4085e0;for(let _0x4c4fe1=!0x1;_0x3f88c0<_0x13d10a['length'];_0x3f88c0++){let _0x5eed81=_0x13d10a['charCodeAt'](_0x3f88c0);if(_0xe6c5ea(_0x5eed81))break;if(_0x4c4fe1)_0x4c4fe1=!0x1;else{if(0x28==_0x5eed81)_0x4034a8++;else{if(0x29==_0x5eed81){if(!_0x4034a8)break;_0x4034a8--;}else 0x5c==_0x5eed81&&(_0x4c4fe1=!0x0);}}}return _0x3f88c0>_0x4085e0?elt(_0x1fcad0['URL'],_0x4085e0+_0x4c5a58,_0x3f88c0+_0x4c5a58):_0x3f88c0==_0x13d10a['length']&&null;}}function parseLinkTitle(_0x442f49,_0x428d7e,_0x2629e4){let _0x295aeb=_0x442f49['charCodeAt'](_0x428d7e);if(0x27!=_0x295aeb&&0x22!=_0x295aeb&&0x28!=_0x295aeb)return!0x1;let _0x3d5305=0x28==_0x295aeb?0x29:_0x295aeb;for(let _0x465cc1=_0x428d7e+0x1,_0x25b71a=!0x1;_0x465cc1<_0x442f49['length'];_0x465cc1++){let _0x3c501d=_0x442f49['charCodeAt'](_0x465cc1);if(_0x25b71a)_0x25b71a=!0x1;else{if(_0x3c501d==_0x3d5305)return elt(_0x1fcad0['LinkTitle'],_0x428d7e+_0x2629e4,_0x465cc1+0x1+_0x2629e4);0x5c==_0x3c501d&&(_0x25b71a=!0x0);}}return null;}function _0xf9277c(_0x2b06f0,_0x15af91,_0x408d89,_0x274977){for(let _0x346842=!0x1,_0x685128=_0x15af91+0x1,_0x5e8c09=Math['min'](_0x2b06f0['length'],_0x685128+0x3e7);_0x685128<_0x5e8c09;_0x685128++){let _0x499727=_0x2b06f0['charCodeAt'](_0x685128);if(_0x346842)_0x346842=!0x1;else{if(0x5d==_0x499727)return!_0x274977&&elt(_0x1fcad0['LinkLabel'],_0x15af91+_0x408d89,_0x685128+0x1+_0x408d89);if(_0x274977&&!_0xe6c5ea(_0x499727)&&(_0x274977=!0x1),0x5b==_0x499727)return!0x1;0x5c==_0x499727&&(_0x346842=!0x0);}}return null;}class InlineContext{constructor(_0x17b72b,_0x4e0c89,_0x53b31a){this['parser']=_0x17b72b,this['text']=_0x4e0c89,this['offset']=_0x53b31a,this['parts']=[];}['char'](_0x1fa43c){return _0x1fa43c>=this['end']?-0x1:this['text']['charCodeAt'](_0x1fa43c-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x5e4807,_0x135c46){return this['text']['slice'](_0x5e4807-this['offset'],_0x135c46-this['offset']);}['append'](_0x2f3380){return this['parts']['push'](_0x2f3380),_0x2f3380['to'];}['addDelimiter'](_0x421e7a,_0x5f4f3f,_0x5342e2,_0x931e70,_0x128ec4){return this['append'](new InlineDelimiter(_0x421e7a,_0x5f4f3f,_0x5342e2,(_0x931e70?0x1:0x0)|(_0x128ec4?0x2:0x0)));}get['hasOpenLink'](){for(let _0x2fab0d=this['parts']['length']-0x1;_0x2fab0d>=0x0;_0x2fab0d--){let _0x5a4810=this['parts'][_0x2fab0d];if(_0x5a4810 instanceof InlineDelimiter&&(_0x5a4810['type']==LinkStart||_0x5a4810['type']==ImageStart))return!0x0;}return!0x1;}['addElement'](_0xf0894e){return this['append'](_0xf0894e);}['resolveMarkers'](_0x3162d7){for(let _0x26d5bd=_0x3162d7;_0x26d5bd<this['parts']['length'];_0x26d5bd++){let _0x166e94=this['parts'][_0x26d5bd];if(!(_0x166e94 instanceof InlineDelimiter&&_0x166e94['type']['resolve']&&0x2&_0x166e94['side']))continue;let _0xd02159,_0x2e7949=_0x166e94['type']==_0x157ada||_0x166e94['type']==EmphasisAsterisk,_0x52000d=_0x166e94['to']-_0x166e94['from'],_0x3942d7=_0x26d5bd-0x1;for(;_0x3942d7>=_0x3162d7;_0x3942d7--){let _0xbe2bb7=this['parts'][_0x3942d7];if(_0xbe2bb7 instanceof InlineDelimiter&&0x1&_0xbe2bb7['side']&&_0xbe2bb7['type']==_0x166e94['type']&&!(_0x2e7949&&(0x1&_0x166e94['side']||0x2&_0xbe2bb7['side'])&&(_0xbe2bb7['to']-_0xbe2bb7['from']+_0x52000d)%0x3==0x0&&((_0xbe2bb7['to']-_0xbe2bb7['from'])%0x3||_0x52000d%0x3))){_0xd02159=_0xbe2bb7;break;}}if(!_0xd02159)continue;let _0x35d384=_0x166e94['type']['resolve'],_0x32c57b=[],_0x591ecd=_0xd02159['from'],_0x2efd08=_0x166e94['to'];if(_0x2e7949){let _0x4d5ceb=Math['min'](0x2,_0xd02159['to']-_0xd02159['from'],_0x52000d);_0x591ecd=_0xd02159['to']-_0x4d5ceb,_0x2efd08=_0x166e94['from']+_0x4d5ceb,_0x35d384=0x1==_0x4d5ceb?'Emphasis':'StrongEmphasis';}_0xd02159['type']['mark']&&_0x32c57b['push'](this['elt'](_0xd02159['type']['mark'],_0x591ecd,_0xd02159['to']));for(let _0x3e3214=_0x3942d7+0x1;_0x3e3214<_0x26d5bd;_0x3e3214++)this['parts'][_0x3e3214]instanceof Element$1&&_0x32c57b['push'](this['parts'][_0x3e3214]),this['parts'][_0x3e3214]=null;_0x166e94['type']['mark']&&_0x32c57b['push'](this['elt'](_0x166e94['type']['mark'],_0x166e94['from'],_0x2efd08));let _0x93f756=this['elt'](_0x35d384,_0x591ecd,_0x2efd08,_0x32c57b);this['parts'][_0x3942d7]=_0x2e7949&&_0xd02159['from']!=_0x591ecd?new InlineDelimiter(_0xd02159['type'],_0xd02159['from'],_0x591ecd,_0xd02159['side']):null,(this['parts'][_0x26d5bd]=_0x2e7949&&_0x166e94['to']!=_0x2efd08?new InlineDelimiter(_0x166e94['type'],_0x2efd08,_0x166e94['to'],_0x166e94['side']):null)?this['parts']['splice'](_0x26d5bd,0x0,_0x93f756):this['parts'][_0x26d5bd]=_0x93f756;}let _0x3f8d5d=[];for(let _0x44e571=_0x3162d7;_0x44e571<this['parts']['length'];_0x44e571++){let _0x16b910=this['parts'][_0x44e571];_0x16b910 instanceof Element$1&&_0x3f8d5d['push'](_0x16b910);}return _0x3f8d5d;}['findOpeningDelimiter'](_0x109563){for(let _0x268f06=this['parts']['length']-0x1;_0x268f06>=0x0;_0x268f06--){let _0xcb0e3a=this['parts'][_0x268f06];if(_0xcb0e3a instanceof InlineDelimiter&&_0xcb0e3a['type']==_0x109563&&0x1&_0xcb0e3a['side'])return _0x268f06;}return null;}['takeContent'](_0x449525){let _0x40206e=this['resolveMarkers'](_0x449525);return this['parts']['length']=_0x449525,_0x40206e;}['getDelimiterAt'](_0x2f7192){let _0x3203e7=this['parts'][_0x2f7192];return _0x3203e7 instanceof InlineDelimiter?_0x3203e7:null;}['skipSpace'](_0xdbb0c4){return _0x25e773(this['text'],_0xdbb0c4-this['offset'])+this['offset'];}['elt'](_0x1e6a99,_0x13f9ed,_0x590ba2,_0x2d08eb){return'string'==typeof _0x1e6a99?elt(this['parser']['getNodeType'](_0x1e6a99),_0x13f9ed,_0x590ba2,_0x2d08eb):new TreeElement(_0x1e6a99,_0x13f9ed);}}function injectMarks(_0x1e9f8b,_0x41b042){if(!_0x41b042['length'])return _0x1e9f8b;if(!_0x1e9f8b['length'])return _0x41b042;let _0x35609b=_0x1e9f8b['slice'](),_0x18b550=0x0;for(let _0x363abd of _0x41b042){for(;_0x18b550<_0x35609b['length']&&_0x35609b[_0x18b550]['to']<_0x363abd['to'];)_0x18b550++;if(_0x18b550<_0x35609b['length']&&_0x35609b[_0x18b550]['from']<_0x363abd['from']){let _0x1c7990=_0x35609b[_0x18b550];_0x1c7990 instanceof Element$1&&(_0x35609b[_0x18b550]=new Element$1(_0x1c7990['type'],_0x1c7990['from'],_0x1c7990['to'],injectMarks(_0x1c7990['children'],[_0x363abd])));}else _0x35609b['splice'](_0x18b550++,0x0,_0x363abd);}return _0x35609b;}InlineContext['linkStart']=LinkStart,InlineContext['imageStart']=ImageStart;const NotLast=[_0x1fcad0['CodeBlock'],_0x1fcad0['ListItem'],_0x1fcad0['OrderedList'],_0x1fcad0['BulletList']];class FragmentCursor{constructor(_0x515886,_0x3e4b8f){this['fragments']=_0x515886,this['input']=_0x3e4b8f,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x515886['length']&&(this['fragment']=_0x515886[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0x314ec1,_0x276d35){for(;this['fragment']&&this['fragment']['to']<=_0x314ec1;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0x314ec1?_0x314ec1-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x4fb7af=this['fragment']['to'];for(;_0x4fb7af>0x0&&'\x0a'!=this['input']['read'](_0x4fb7af-0x1,_0x4fb7af);)_0x4fb7af--;this['fragmentEnd']=_0x4fb7af?_0x4fb7af-0x1:0x0;}let _0x13094f=this['cursor'];_0x13094f||(_0x13094f=this['cursor']=this['fragment']['tree']['cursor'](),_0x13094f['firstChild']());let _0x188bf9=_0x314ec1+this['fragment']['offset'];for(;_0x13094f['to']<=_0x188bf9;)if(!_0x13094f['parent']())return!0x1;for(;;){if(_0x13094f['from']>=_0x188bf9)return this['fragment']['from']<=_0x276d35;if(!_0x13094f['childAfter'](_0x188bf9))return!0x1;}}['matches'](_0x146dd6){let _0x2f59ce=this['cursor']['tree'];return _0x2f59ce&&_0x2f59ce['prop'](_0x5f3026['contextHash'])==_0x146dd6;}['takeNodes'](_0x3ed8e5){let _0x37cc02=this['cursor'],_0x4cda30=this['fragment']['offset'],_0x7951c3=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0x2eabf2=_0x3ed8e5['absoluteLineStart'],_0x403c25=_0x2eabf2,_0x4b2826=_0x3ed8e5['block']['children']['length'],_0x8bc4f7=_0x403c25,_0x5d2827=_0x4b2826;for(;;){if(_0x37cc02['to']-_0x4cda30>_0x7951c3){if(_0x37cc02['type']['isAnonymous']&&_0x37cc02['firstChild']())continue;break;}let _0xc57c51=toRelative(_0x37cc02['from']-_0x4cda30,_0x3ed8e5['ranges']);if(_0x37cc02['to']-_0x4cda30<=_0x3ed8e5['ranges'][_0x3ed8e5['rangeI']]['to'])_0x3ed8e5['addNode'](_0x37cc02['tree'],_0xc57c51);else{let _0x95ba17=new _0x155fca(_0x3ed8e5['parser']['nodeSet']['types'][_0x1fcad0['Paragraph']],[],[],0x0,_0x3ed8e5['block']['hashProp']);_0x3ed8e5['reusePlaceholders']['set'](_0x95ba17,_0x37cc02['tree']),_0x3ed8e5['addNode'](_0x95ba17,_0xc57c51);}if(_0x37cc02['type']['is']('Block')&&(NotLast['indexOf'](_0x37cc02['type']['id'])<0x0?(_0x403c25=_0x37cc02['to']-_0x4cda30,_0x4b2826=_0x3ed8e5['block']['children']['length']):(_0x403c25=_0x8bc4f7,_0x4b2826=_0x5d2827,_0x8bc4f7=_0x37cc02['to']-_0x4cda30,_0x5d2827=_0x3ed8e5['block']['children']['length'])),!_0x37cc02['nextSibling']())break;}for(;_0x3ed8e5['block']['children']['length']>_0x4b2826;)_0x3ed8e5['block']['children']['pop'](),_0x3ed8e5['block']['positions']['pop']();return _0x403c25-_0x2eabf2;}}function toRelative(_0x6541d5,_0x4a9a39){let _0x255068=_0x6541d5;for(let _0x2e0e7f=0x1;_0x2e0e7f<_0x4a9a39['length'];_0x2e0e7f++){let _0x11110d=_0x4a9a39[_0x2e0e7f-0x1]['to'],_0x5cf313=_0x4a9a39[_0x2e0e7f]['from'];_0x11110d<_0x6541d5&&(_0x255068-=_0x5cf313-_0x11110d);}return _0x255068;}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']}),_0x26c642=new _0x396cb7(new NodeSet(_0x4e0b82)['extend'](markdownHighlighting),Object['keys'](DefaultBlockParsers)['map'](_0x20f150=>DefaultBlockParsers[_0x20f150]),Object['keys'](DefaultBlockParsers)['map'](_0x1c07ea=>DefaultLeafBlocks[_0x1c07ea]),Object['keys'](DefaultBlockParsers),DefaultEndLeaf,DefaultSkipMarkup,Object['keys'](DefaultInline)['map'](_0x324e95=>DefaultInline[_0x324e95]),Object['keys'](DefaultInline),[]);function leftOverSpace(_0x34c142,_0x180b60,_0x29f83c){let _0x41fb30=[];for(let _0x2c97fc=_0x34c142['firstChild'],_0x523b19=_0x180b60;;_0x2c97fc=_0x2c97fc['nextSibling']){let _0x42b59a=_0x2c97fc?_0x2c97fc['from']:_0x29f83c;if(_0x42b59a>_0x523b19&&_0x41fb30['push']({'from':_0x523b19,'to':_0x42b59a}),!_0x2c97fc)break;_0x523b19=_0x2c97fc['to'];}return _0x41fb30;}function _0x3ec44a(_0x141f10){let {codeParser:_0x314f07,htmlParser:_0x465695}=_0x141f10,_0x2f22d5=_0x29c3e3((_0x59e8a8,_0x46287b)=>{let _0x33499=_0x59e8a8['type']['id'];if(!_0x314f07||_0x33499!=_0x1fcad0['CodeBlock']&&_0x33499!=_0x1fcad0['FencedCode']){if(_0x465695&&(_0x33499==_0x1fcad0['HTMLBlock']||_0x33499==_0x1fcad0['HTMLTag']||_0x33499==_0x1fcad0['CommentBlock']))return{'parser':_0x465695,'overlay':leftOverSpace(_0x59e8a8['node'],_0x59e8a8['from'],_0x59e8a8['to'])};}else{let _0x310ade='';if(_0x33499==_0x1fcad0['FencedCode']){let _0x23181e=_0x59e8a8['node']['getChild'](_0x1fcad0['CodeInfo']);_0x23181e&&(_0x310ade=_0x46287b['read'](_0x23181e['from'],_0x23181e['to']));}let _0x4ca7d9=_0x314f07(_0x310ade);if(_0x4ca7d9)return{'parser':_0x4ca7d9,'overlay':_0x27befd=>_0x27befd['type']['id']==_0x1fcad0['CodeText']};}return null;});return{'wrap':_0x2f22d5};}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'(_0x542a37,_0x453d27,_0x42c544){if(0x7e!=_0x453d27||0x7e!=_0x542a37['char'](_0x42c544+0x1)||0x7e==_0x542a37['char'](_0x42c544+0x2))return-0x1;let _0x44fadb=_0x542a37['slice'](_0x42c544-0x1,_0x42c544),_0x19c384=_0x542a37['slice'](_0x42c544+0x2,_0x42c544+0x3),_0x2cd1dc=/\s|^$/['test'](_0x44fadb),_0x19dfd3=/\s|^$/['test'](_0x19c384),_0x34a66e=Punctuation['test'](_0x44fadb),_0x290f0b=Punctuation['test'](_0x19c384);return _0x542a37['addDelimiter'](StrikethroughDelim,_0x42c544,_0x42c544+0x2,!_0x19dfd3&&(!_0x290f0b||_0x2cd1dc||_0x34a66e),!_0x2cd1dc&&(!_0x34a66e||_0x19dfd3||_0x290f0b));},'after':'Emphasis'}]};function _0x286ed5(_0x3f9776,_0x24ad57,_0x5cc749=0x0,_0x3e7a74,_0x5996bf=0x0){let _0x1bcf8f=0x0,_0x3a570d=!0x0,_0x2a7054=-0x1,_0xf7170c=-0x1,_0x67d31d=!0x1,_0x1690d4=()=>{_0x3e7a74['push'](_0x3f9776['elt']('TableCell',_0x5996bf+_0x2a7054,_0x5996bf+_0xf7170c,_0x3f9776['parser']['parseInline'](_0x24ad57['slice'](_0x2a7054,_0xf7170c),_0x5996bf+_0x2a7054)));};for(let _0x4f4244=_0x5cc749;_0x4f4244<_0x24ad57['length'];_0x4f4244++){let _0x26e9d7=_0x24ad57['charCodeAt'](_0x4f4244);0x7c!=_0x26e9d7||_0x67d31d?(_0x67d31d||0x20!=_0x26e9d7&&0x9!=_0x26e9d7)&&(_0x2a7054<0x0&&(_0x2a7054=_0x4f4244),_0xf7170c=_0x4f4244+0x1):((!_0x3a570d||_0x2a7054>-0x1)&&_0x1bcf8f++,_0x3a570d=!0x1,_0x3e7a74&&(_0x2a7054>-0x1&&_0x1690d4(),_0x3e7a74['push'](_0x3f9776['elt']('TableDelimiter',_0x4f4244+_0x5996bf,_0x4f4244+_0x5996bf+0x1))),_0x2a7054=_0xf7170c=-0x1),_0x67d31d=!_0x67d31d&&0x5c==_0x26e9d7;}return _0x2a7054>-0x1&&(_0x1bcf8f++,_0x3e7a74&&_0x1690d4()),_0x1bcf8f;}function _0x8a7f54(_0xa2dde0,_0x77cf9f){for(let _0x141a19=_0x77cf9f;_0x141a19<_0xa2dde0['length'];_0x141a19++){let _0xef074a=_0xa2dde0['charCodeAt'](_0x141a19);if(0x7c==_0xef074a)return!0x0;0x5c==_0xef074a&&_0x141a19++;}return!0x1;}const delimiterLine=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class _0x3ac156{constructor(){this['rows']=null;}['nextLine'](_0x549271,_0x3d1376,_0x5829b2){if(null==this['rows']){let _0x5ca438;if(this['rows']=!0x1,(0x2d==_0x3d1376['next']||0x3a==_0x3d1376['next']||0x7c==_0x3d1376['next'])&&delimiterLine['test'](_0x5ca438=_0x3d1376['text']['slice'](_0x3d1376['pos']))){let _0x20f6cc=[];_0x286ed5(_0x549271,_0x5829b2['content'],0x0,_0x20f6cc,_0x5829b2['start'])==_0x286ed5(_0x549271,_0x5ca438,_0x3d1376['pos'])&&(this['rows']=[_0x549271['elt']('TableHeader',_0x5829b2['start'],_0x5829b2['start']+_0x5829b2['content']['length'],_0x20f6cc),_0x549271['elt']('TableDelimiter',_0x549271['lineStart']+_0x3d1376['pos'],_0x549271['lineStart']+_0x3d1376['text']['length'])]);}}else{if(this['rows']){let _0x193494=[];_0x286ed5(_0x549271,_0x3d1376['text'],_0x3d1376['pos'],_0x193494,_0x549271['lineStart']),this['rows']['push'](_0x549271['elt']('TableRow',_0x549271['lineStart']+_0x3d1376['pos'],_0x549271['lineStart']+_0x3d1376['text']['length'],_0x193494));}}return!0x1;}['finish'](_0x242e01,_0x593ca3){return!!this['rows']&&(_0x242e01['addLeafElement'](_0x593ca3,_0x242e01['elt']('Table',_0x593ca3['start'],_0x593ca3['start']+_0x593ca3['content']['length'],this['rows'])),!0x0);}}const _0x3c993b={'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':(_0x3c1abb,_0x213a35)=>_0x8a7f54(_0x213a35['content'],0x0)?new _0x3ac156():null,'endLeaf'(_0x3a9c2e,_0x3acde8,_0x5aa8be){if(_0x5aa8be['parsers']['some'](_0x10a55e=>_0x10a55e instanceof _0x3ac156)||!_0x8a7f54(_0x3acde8['text'],_0x3acde8['basePos']))return!0x1;let _0x61dfd7=_0x3a9c2e['peekLine']();return delimiterLine['test'](_0x61dfd7)&&_0x286ed5(_0x3a9c2e,_0x3acde8['text'],_0x3acde8['basePos'])==_0x286ed5(_0x3a9c2e,_0x61dfd7,_0x3acde8['basePos']);},'before':'SetextHeading'}]};class _0x13e486{['nextLine'](){return!0x1;}['finish'](_0x5852f9,_0x43f8bb){return _0x5852f9['addLeafElement'](_0x43f8bb,_0x5852f9['elt']('Task',_0x43f8bb['start'],_0x43f8bb['start']+_0x43f8bb['content']['length'],[_0x5852f9['elt']('TaskMarker',_0x43f8bb['start'],_0x43f8bb['start']+0x3),..._0x5852f9['parser']['parseInline'](_0x43f8bb['content']['slice'](0x3),_0x43f8bb['start']+0x3)])),!0x0;}}const TaskList={'defineNodes':[{'name':'Task','block':!0x0,'style':tags$1['list']},{'name':'TaskMarker','style':tags$1['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0x4f5a4d,_0x4158f6)=>/^\[[ xX]\][ \t]/['test'](_0x4158f6['content'])&&'ListItem'==_0x4f5a4d['parentType']()['name']?new _0x13e486():null,'after':'SetextHeading'}]},autolinkRE=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,_0xa71fdf=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,lastTwoDomainWords=/[\w-]+\.[\w-]+($|\/)/,_0x4d1bc7=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,_0x12f721=/\/[a-zA-Z\d@.]+/gy;function count(_0x122571,_0x145b0a,_0x346057,_0x56f4c8){let _0x6697dc=0x0;for(let _0x232ff9=_0x145b0a;_0x232ff9<_0x346057;_0x232ff9++)_0x122571[_0x232ff9]==_0x56f4c8&&_0x6697dc++;return _0x6697dc;}function autolinkURLEnd(_0x41192d,_0x49003e){_0xa71fdf['lastIndex']=_0x49003e;let _0x8df4d5=_0xa71fdf['exec'](_0x41192d);if(!_0x8df4d5||lastTwoDomainWords['exec'](_0x8df4d5[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x41d62a=_0x49003e+_0x8df4d5[0x0]['length'];for(;;){let _0x3c2206,_0x4192d1=_0x41192d[_0x41d62a-0x1];if(/[?!.,:*_~]/['test'](_0x4192d1)||')'==_0x4192d1&&count(_0x41192d,_0x49003e,_0x41d62a,')')>count(_0x41192d,_0x49003e,_0x41d62a,'('))_0x41d62a--;else{if(';'!=_0x4192d1||!(_0x3c2206=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x41192d['slice'](_0x49003e,_0x41d62a))))break;_0x41d62a=_0x49003e+_0x3c2206['index'];}}return _0x41d62a;}function autolinkEmailEnd(_0x4d60a6,_0x562f59){_0x4d1bc7['lastIndex']=_0x562f59;let _0x505253=_0x4d1bc7['exec'](_0x4d60a6);if(!_0x505253)return-0x1;let _0x8676ee=_0x505253[0x0][_0x505253[0x0]['length']-0x1];return'_'==_0x8676ee||'-'==_0x8676ee?-0x1:_0x562f59+_0x505253[0x0]['length']-('.'==_0x8676ee?0x1:0x0);}const Autolink={'parseInline':[{'name':'Autolink','parse'(_0x1cdb35,_0x4dbc4a,_0x41e3d2){let _0x1e2d92=_0x41e3d2-_0x1cdb35['offset'];if(_0x1e2d92&&/\w/['test'](_0x1cdb35['text'][_0x1e2d92-0x1]))return-0x1;autolinkRE['lastIndex']=_0x1e2d92;let _0x33bf7e=autolinkRE['exec'](_0x1cdb35['text']),_0x12bc97=-0x1;if(!_0x33bf7e)return-0x1;if(_0x33bf7e[0x1]||_0x33bf7e[0x2])(_0x12bc97=autolinkURLEnd(_0x1cdb35['text'],_0x1e2d92+_0x33bf7e[0x0]['length']),_0x12bc97>-0x1&&_0x1cdb35['hasOpenLink'])&&(_0x12bc97=_0x1e2d92+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x1cdb35['text']['slice'](_0x1e2d92,_0x12bc97))[0x0]['length']);else _0x33bf7e[0x3]?_0x12bc97=autolinkEmailEnd(_0x1cdb35['text'],_0x1e2d92):(_0x12bc97=autolinkEmailEnd(_0x1cdb35['text'],_0x1e2d92+_0x33bf7e[0x0]['length']),_0x12bc97>-0x1&&'xmpp:'==_0x33bf7e[0x0]&&(_0x12f721['lastIndex']=_0x12bc97,_0x33bf7e=_0x12f721['exec'](_0x1cdb35['text']),_0x33bf7e&&(_0x12bc97=_0x33bf7e['index']+_0x33bf7e[0x0]['length'])));return _0x12bc97<0x0?-0x1:(_0x1cdb35['addElement'](_0x1cdb35['elt']('URL',_0x41e3d2,_0x12bc97+_0x1cdb35['offset'])),_0x12bc97+_0x1cdb35['offset']);}}]},_0x2164be=[_0x3c993b,TaskList,Strikethrough,Autolink];function _0x359a62(_0x2fdc97,_0x30fb6a,_0xbae25e){return(_0x1b4707,_0x23eb7e,_0x1720b9)=>{if(_0x23eb7e!=_0x2fdc97||_0x1b4707['char'](_0x1720b9+0x1)==_0x2fdc97)return-0x1;let _0x51e809=[_0x1b4707['elt'](_0xbae25e,_0x1720b9,_0x1720b9+0x1)];for(let _0x52a3fa=_0x1720b9+0x1;_0x52a3fa<_0x1b4707['end'];_0x52a3fa++){let _0x55bc6f=_0x1b4707['char'](_0x52a3fa);if(_0x55bc6f==_0x2fdc97)return _0x1b4707['addElement'](_0x1b4707['elt'](_0x30fb6a,_0x1720b9,_0x52a3fa+0x1,_0x51e809['concat'](_0x1b4707['elt'](_0xbae25e,_0x52a3fa,_0x52a3fa+0x1))));if(0x5c==_0x55bc6f&&_0x51e809['push'](_0x1b4707['elt']('Escape',_0x52a3fa,0x2+_0x52a3fa++)),_0xe6c5ea(_0x55bc6f))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':_0x359a62(0x5e,'Superscript','SuperscriptMark')}]},Subscript={'defineNodes':[{'name':'Subscript','style':tags$1['special'](tags$1['content'])},{'name':'SubscriptMark','style':tags$1['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':_0x359a62(0x7e,'Subscript','SubscriptMark')}]},_0x360f33={'defineNodes':[{'name':'Emoji','style':tags$1['character']}],'parseInline':[{'name':'Emoji','parse'(_0x1d89c8,_0x409fdc,_0x2e57a3){let _0x191d94;return 0x3a==_0x409fdc&&(_0x191d94=/^[a-zA-Z_0-9]+:/['exec'](_0x1d89c8['slice'](_0x2e57a3+0x1,_0x1d89c8['end'])))?_0x1d89c8['addElement'](_0x1d89c8['elt']('Emoji',_0x2e57a3,_0x2e57a3+0x1+_0x191d94[0x0]['length'])):-0x1;}}]},data=defineLanguageFacet({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),_0x24e6f1=new _0x5f3026(),_0x402e14=_0x26c642['configure']({'props':[_0x285c96['add'](_0x44c97a=>!_0x44c97a['is']('Block')||_0x44c97a['is']('Document')||null!=_0x86bc68(_0x44c97a)||isList(_0x44c97a)?void 0x0:(_0x5f0c29,_0x1cc053)=>({'from':_0x1cc053['doc']['lineAt'](_0x5f0c29['from'])['to'],'to':_0x5f0c29['to']})),_0x24e6f1['add'](_0x86bc68),indentNodeProp['add']({'Document':()=>null}),languageDataProp['add']({'Document':data})]});function _0x86bc68(_0x47c1ae){let _0x543e72=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0x47c1ae['name']);return _0x543e72?+_0x543e72[0x1]:void 0x0;}function isList(_0x128324){return'OrderedList'==_0x128324['name']||'BulletList'==_0x128324['name'];}function findSectionEnd(_0xf13eca,_0x4ae98d){let _0x2eb822=_0xf13eca;for(;;){let _0xf2acc7,_0x35ccaf=_0x2eb822['nextSibling'];if(!_0x35ccaf||null!=(_0xf2acc7=_0x86bc68(_0x35ccaf['type']))&&_0xf2acc7<=_0x4ae98d)break;_0x2eb822=_0x35ccaf;}return _0x2eb822['to'];}const headerIndent=_0xe3b88f['of']((_0x2e16bd,_0x406fd5,_0x1f9f0c)=>{for(let _0xef5421=syntaxTree(_0x2e16bd)['resolveInner'](_0x1f9f0c,-0x1);_0xef5421&&!(_0xef5421['from']<_0x406fd5);_0xef5421=_0xef5421['parent']){let _0x5e3273=_0xef5421['type']['prop'](_0x24e6f1);if(null==_0x5e3273)continue;let _0x1f7a79=findSectionEnd(_0xef5421,_0x5e3273);if(_0x1f7a79>_0x1f9f0c)return{'from':_0x1f9f0c,'to':_0x1f7a79};}return null;});function _0x1b0a28(_0x46026f){return new _0x4880ed(data,_0x46026f,[headerIndent],'markdown');}const _0x6bb0bd=_0x1b0a28(_0x402e14),extended=_0x402e14['configure']([_0x2164be,Subscript,Superscript,_0x360f33,{'props':[_0x285c96['add']({'Table':(_0x436f4a,_0x4ca7a9)=>({'from':_0x4ca7a9['doc']['lineAt'](_0x436f4a['from'])['to'],'to':_0x436f4a['to']})})]}]),_0x1da675=_0x1b0a28(extended);function getCodeParser(_0x55dd9d,_0x35e83f){return _0x36996d=>{if(_0x36996d&&_0x55dd9d){let _0x5cc3eb=null;if(_0x36996d=/\S*/['exec'](_0x36996d)[0x0],_0x5cc3eb='function'==typeof _0x55dd9d?_0x55dd9d(_0x36996d):LanguageDescription['matchLanguageName'](_0x55dd9d,_0x36996d,!0x0),_0x5cc3eb instanceof LanguageDescription)return _0x5cc3eb['support']?_0x5cc3eb['support']['language']['parser']:ParseContext['getSkippingParser'](_0x5cc3eb['load']());if(_0x5cc3eb)return _0x5cc3eb['parser'];}return _0x35e83f?_0x35e83f['parser']:null;};}class Context{constructor(_0x321533,_0x5259ea,_0x4a2a31,_0x2da171,_0x22785d,_0x5b1aa3,_0x243d90){this['node']=_0x321533,this['from']=_0x5259ea,this['to']=_0x4a2a31,this['spaceBefore']=_0x2da171,this['spaceAfter']=_0x22785d,this['type']=_0x5b1aa3,this['item']=_0x243d90;}['blank'](_0x52a2b9,_0x1bb19d=!0x0){let _0x338a49=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0x52a2b9){for(;_0x338a49['length']<_0x52a2b9;)_0x338a49+='\x20';return _0x338a49;}for(let _0x8baf79=this['to']-this['from']-_0x338a49['length']-this['spaceAfter']['length'];_0x8baf79>0x0;_0x8baf79--)_0x338a49+='\x20';return _0x338a49+(_0x1bb19d?this['spaceAfter']:'');}['marker'](_0x184019,_0x239ad0){let _0xb1b3b2='OrderedList'==this['node']['name']?String(+itemNumber(this['item'],_0x184019)[0x2]+_0x239ad0):'';return this['spaceBefore']+_0xb1b3b2+this['type']+this['spaceAfter'];}}function getContext(_0xad6e75,_0x3e5c97){let _0x5e0451=[],_0x297be8=[];for(let _0x57447b=_0xad6e75;_0x57447b;_0x57447b=_0x57447b['parent']){if('FencedCode'==_0x57447b['name'])return _0x297be8;'ListItem'!=_0x57447b['name']&&'Blockquote'!=_0x57447b['name']||_0x5e0451['push'](_0x57447b);}for(let _0x41618d=_0x5e0451['length']-0x1;_0x41618d>=0x0;_0x41618d--){let _0x917f86,_0x355429=_0x5e0451[_0x41618d],_0x50e674=_0x3e5c97['lineAt'](_0x355429['from']),_0x272b3e=_0x355429['from']-_0x50e674['from'];if('Blockquote'==_0x355429['name']&&(_0x917f86=/^ *>( ?)/['exec'](_0x50e674['text']['slice'](_0x272b3e))))_0x297be8['push'](new Context(_0x355429,_0x272b3e,_0x272b3e+_0x917f86[0x0]['length'],'',_0x917f86[0x1],'>',null));else{if('ListItem'==_0x355429['name']&&'OrderedList'==_0x355429['parent']['name']&&(_0x917f86=/^( *)\d+([.)])( *)/['exec'](_0x50e674['text']['slice'](_0x272b3e)))){let _0x56c490=_0x917f86[0x3],_0x452993=_0x917f86[0x0]['length'];_0x56c490['length']>=0x4&&(_0x56c490=_0x56c490['slice'](0x0,_0x56c490['length']-0x4),_0x452993-=0x4),_0x297be8['push'](new Context(_0x355429['parent'],_0x272b3e,_0x272b3e+_0x452993,_0x917f86[0x1],_0x56c490,_0x917f86[0x2],_0x355429));}else{if('ListItem'==_0x355429['name']&&'BulletList'==_0x355429['parent']['name']&&(_0x917f86=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x50e674['text']['slice'](_0x272b3e)))){let _0x3db02c=_0x917f86[0x4],_0x394490=_0x917f86[0x0]['length'];_0x3db02c['length']>0x4&&(_0x3db02c=_0x3db02c['slice'](0x0,_0x3db02c['length']-0x4),_0x394490-=0x4);let _0x1d0c65=_0x917f86[0x2];_0x917f86[0x3]&&(_0x1d0c65+=_0x917f86[0x3]['replace'](/[xX]/,'\x20')),_0x297be8['push'](new Context(_0x355429['parent'],_0x272b3e,_0x272b3e+_0x394490,_0x917f86[0x1],_0x3db02c,_0x1d0c65,_0x355429));}}}}return _0x297be8;}function itemNumber(_0x5df7f6,_0x37d55a){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x37d55a['sliceString'](_0x5df7f6['from'],_0x5df7f6['from']+0xa));}function renumberList(_0x5a6e49,_0x13110f,_0x15d381,_0x3cfbb5=0x0){for(let _0x21585e=-0x1,_0x4bdd7a=_0x5a6e49;;){if('ListItem'==_0x4bdd7a['name']){let _0x5b8bda=itemNumber(_0x4bdd7a,_0x13110f),_0x2ad218=+_0x5b8bda[0x2];if(_0x21585e>=0x0){if(_0x2ad218!=_0x21585e+0x1)return;_0x15d381['push']({'from':_0x4bdd7a['from']+_0x5b8bda[0x1]['length'],'to':_0x4bdd7a['from']+_0x5b8bda[0x0]['length'],'insert':String(_0x21585e+0x2+_0x3cfbb5)});}_0x21585e=_0x2ad218;}let _0x3f5cbd=_0x4bdd7a['nextSibling'];if(!_0x3f5cbd)break;_0x4bdd7a=_0x3f5cbd;}}function normalizeIndent(_0x542c59,_0x245ed1){let _0x5c47b0=/^[ \t]*/['exec'](_0x542c59)[0x0]['length'];if(!_0x5c47b0||'\x09'!=_0x245ed1['facet'](indentUnit))return _0x542c59;let _0x41480d='';for(let _0x47086f=countColumn(_0x542c59,0x4,_0x5c47b0);_0x47086f>0x0;)_0x47086f>=0x4?(_0x41480d+='\x09',_0x47086f-=0x4):(_0x41480d+='\x20',_0x47086f--);return _0x41480d+_0x542c59['slice'](_0x5c47b0);}const insertNewlineContinueMarkup=({state:_0x28e88a,dispatch:_0x2a8cc4})=>{let _0x52751c=syntaxTree(_0x28e88a),{doc:_0x3abcdf}=_0x28e88a,_0x32868d=null,_0x37828e=_0x28e88a['changeByRange'](_0x5db5a4=>{if(!_0x5db5a4['empty']||!_0x1da675['isActiveAt'](_0x28e88a,_0x5db5a4['from'],0x0))return _0x32868d={'range':_0x5db5a4};let _0xc6c06b=_0x5db5a4['from'],_0x26846b=_0x3abcdf['lineAt'](_0xc6c06b),_0x2dcad8=getContext(_0x52751c['resolveInner'](_0xc6c06b,-0x1),_0x3abcdf);for(;_0x2dcad8['length']&&_0x2dcad8[_0x2dcad8['length']-0x1]['from']>_0xc6c06b-_0x26846b['from'];)_0x2dcad8['pop']();if(!_0x2dcad8['length'])return _0x32868d={'range':_0x5db5a4};let _0x3fc4d9=_0x2dcad8[_0x2dcad8['length']-0x1];if(_0x3fc4d9['to']-_0x3fc4d9['spaceAfter']['length']>_0xc6c06b-_0x26846b['from'])return _0x32868d={'range':_0x5db5a4};let _0x2f9f74=_0xc6c06b>=_0x3fc4d9['to']-_0x3fc4d9['spaceAfter']['length']&&!/\S/['test'](_0x26846b['text']['slice'](_0x3fc4d9['to']));if(_0x3fc4d9['item']&&_0x2f9f74){let _0x305d25=_0x3fc4d9['node']['firstChild'],_0x59da44=_0x3fc4d9['node']['getChild']('ListItem','ListItem');if(_0x305d25['to']>=_0xc6c06b||_0x59da44&&_0x59da44['to']<_0xc6c06b||_0x26846b['from']>0x0&&!/[^\s>]/['test'](_0x3abcdf['lineAt'](_0x26846b['from']-0x1)['text'])){let _0x17433e,_0x579436=_0x2dcad8['length']>0x1?_0x2dcad8[_0x2dcad8['length']-0x2]:null,_0x2ab648='';_0x579436&&_0x579436['item']?(_0x17433e=_0x26846b['from']+_0x579436['from'],_0x2ab648=_0x579436['marker'](_0x3abcdf,0x1)):_0x17433e=_0x26846b['from']+(_0x579436?_0x579436['to']:0x0);let _0xc68eee=[{'from':_0x17433e,'to':_0xc6c06b,'insert':_0x2ab648}];return'OrderedList'==_0x3fc4d9['node']['name']&&renumberList(_0x3fc4d9['item'],_0x3abcdf,_0xc68eee,-0x2),_0x579436&&'OrderedList'==_0x579436['node']['name']&&renumberList(_0x579436['item'],_0x3abcdf,_0xc68eee),{'range':EditorSelection['cursor'](_0x17433e+_0x2ab648['length']),'changes':_0xc68eee};}{let _0xbd9ba9=_0x50adb4(_0x2dcad8,_0x28e88a,_0x26846b);return{'range':EditorSelection['cursor'](_0xc6c06b+_0xbd9ba9['length']+0x1),'changes':{'from':_0x26846b['from'],'insert':_0xbd9ba9+_0x28e88a['lineBreak']}};}}if('Blockquote'==_0x3fc4d9['node']['name']&&_0x2f9f74&&_0x26846b['from']){let _0x2af45e=_0x3abcdf['lineAt'](_0x26846b['from']-0x1),_0x5d5c50=/>\s*$/['exec'](_0x2af45e['text']);if(_0x5d5c50&&_0x5d5c50['index']==_0x3fc4d9['from']){let _0x4f4fbf=_0x28e88a['changes']([{'from':_0x2af45e['from']+_0x5d5c50['index'],'to':_0x2af45e['to']},{'from':_0x26846b['from']+_0x3fc4d9['from'],'to':_0x26846b['to']}]);return{'range':_0x5db5a4['map'](_0x4f4fbf),'changes':_0x4f4fbf};}}let _0x430467=[];'OrderedList'==_0x3fc4d9['node']['name']&&renumberList(_0x3fc4d9['item'],_0x3abcdf,_0x430467);let _0x49a99e=_0x3fc4d9['item']&&_0x3fc4d9['item']['from']<_0x26846b['from'],_0x4633eb='';if(!_0x49a99e||/^[\s\d.)\-+*>]*/['exec'](_0x26846b['text'])[0x0]['length']>=_0x3fc4d9['to']){for(let _0x41b01a=0x0,_0x367b8a=_0x2dcad8['length']-0x1;_0x41b01a<=_0x367b8a;_0x41b01a++)_0x4633eb+=_0x41b01a!=_0x367b8a||_0x49a99e?_0x2dcad8[_0x41b01a]['blank'](_0x41b01a<_0x367b8a?countColumn(_0x26846b['text'],0x4,_0x2dcad8[_0x41b01a+0x1]['from'])-_0x4633eb['length']:null):_0x2dcad8[_0x41b01a]['marker'](_0x3abcdf,0x1);}let _0x2af54d=_0xc6c06b;for(;_0x2af54d>_0x26846b['from']&&/\s/['test'](_0x26846b['text']['charAt'](_0x2af54d-_0x26846b['from']-0x1));)_0x2af54d--;return _0x4633eb=normalizeIndent(_0x4633eb,_0x28e88a),nonTightList(_0x3fc4d9['node'],_0x28e88a['doc'])&&(_0x4633eb=_0x50adb4(_0x2dcad8,_0x28e88a,_0x26846b)+_0x28e88a['lineBreak']+_0x4633eb),_0x430467['push']({'from':_0x2af54d,'to':_0xc6c06b,'insert':_0x28e88a['lineBreak']+_0x4633eb}),{'range':EditorSelection['cursor'](_0x2af54d+_0x4633eb['length']+0x1),'changes':_0x430467};});return!_0x32868d&&(_0x2a8cc4(_0x28e88a['update'](_0x37828e,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);};function _0xe20326(_0x1f61c6){return'QuoteMark'==_0x1f61c6['name']||'ListMark'==_0x1f61c6['name'];}function nonTightList(_0x42447f,_0x5ad545){if('OrderedList'!=_0x42447f['name']&&'BulletList'!=_0x42447f['name'])return!0x1;let _0x4b3939=_0x42447f['firstChild'],_0x47db9e=_0x42447f['getChild']('ListItem','ListItem');if(!_0x47db9e)return!0x1;let _0x2e5f37=_0x5ad545['lineAt'](_0x4b3939['to']),_0xcc242c=_0x5ad545['lineAt'](_0x47db9e['from']),_0x370248=/^[\s>]*$/['test'](_0x2e5f37['text']);return _0x2e5f37['number']+(_0x370248?0x0:0x1)<_0xcc242c['number'];}function _0x50adb4(_0x3eac06,_0x5b5ff8,_0x48e063){let _0x25af74='';for(let _0x1c6506=0x0,_0x26c8e8=_0x3eac06['length']-0x2;_0x1c6506<=_0x26c8e8;_0x1c6506++)_0x25af74+=_0x3eac06[_0x1c6506]['blank'](_0x1c6506<_0x26c8e8?countColumn(_0x48e063['text'],0x4,Math['min'](_0x48e063['text']['length'],_0x3eac06[_0x1c6506+0x1]['from']))-_0x25af74['length']:null,_0x1c6506<_0x26c8e8);return normalizeIndent(_0x25af74,_0x5b5ff8);}function contextNodeForDelete(_0x4e52a4,_0x4df5aa){let _0x5c6b9e=_0x4e52a4['resolveInner'](_0x4df5aa,-0x1),_0x51d244=_0x4df5aa;_0xe20326(_0x5c6b9e)&&(_0x51d244=_0x5c6b9e['from'],_0x5c6b9e=_0x5c6b9e['parent']);for(let _0x5a2619;_0x5a2619=_0x5c6b9e['childBefore'](_0x51d244);)if(_0xe20326(_0x5a2619))_0x51d244=_0x5a2619['from'];else{if('OrderedList'!=_0x5a2619['name']&&'BulletList'!=_0x5a2619['name'])break;_0x5c6b9e=_0x5a2619['lastChild'],_0x51d244=_0x5c6b9e['to'];}return _0x5c6b9e;}const deleteMarkupBackward=({state:_0x5d1af3,dispatch:_0x2f4eff})=>{let _0x3a4234=syntaxTree(_0x5d1af3),_0xb1781d=null,_0x4e1a55=_0x5d1af3['changeByRange'](_0x427dc0=>{let _0x41f566=_0x427dc0['from'],{doc:_0x13a228}=_0x5d1af3;if(_0x427dc0['empty']&&_0x1da675['isActiveAt'](_0x5d1af3,_0x427dc0['from'])){let _0x54c9d5=_0x13a228['lineAt'](_0x41f566),_0x41d00f=getContext(contextNodeForDelete(_0x3a4234,_0x41f566),_0x13a228);if(_0x41d00f['length']){let _0x3394fd=_0x41d00f[_0x41d00f['length']-0x1],_0x3db869=_0x3394fd['to']-_0x3394fd['spaceAfter']['length']+(_0x3394fd['spaceAfter']?0x1:0x0);if(_0x41f566-_0x54c9d5['from']>_0x3db869&&!/\S/['test'](_0x54c9d5['text']['slice'](_0x3db869,_0x41f566-_0x54c9d5['from'])))return{'range':EditorSelection['cursor'](_0x54c9d5['from']+_0x3db869),'changes':{'from':_0x54c9d5['from']+_0x3db869,'to':_0x41f566}};if(_0x41f566-_0x54c9d5['from']==_0x3db869&&(!_0x3394fd['item']||_0x54c9d5['from']<=_0x3394fd['item']['from']||!/\S/['test'](_0x54c9d5['text']['slice'](0x0,_0x3394fd['to'])))){let _0x21afb2=_0x54c9d5['from']+_0x3394fd['from'];if(_0x3394fd['item']&&_0x3394fd['node']['from']<_0x3394fd['item']['from']&&/\S/['test'](_0x54c9d5['text']['slice'](_0x3394fd['from'],_0x3394fd['to']))){let _0x3ea89f=_0x3394fd['blank'](countColumn(_0x54c9d5['text'],0x4,_0x3394fd['to'])-countColumn(_0x54c9d5['text'],0x4,_0x3394fd['from']));return _0x21afb2==_0x54c9d5['from']&&(_0x3ea89f=normalizeIndent(_0x3ea89f,_0x5d1af3)),{'range':EditorSelection['cursor'](_0x21afb2+_0x3ea89f['length']),'changes':{'from':_0x21afb2,'to':_0x54c9d5['from']+_0x3394fd['to'],'insert':_0x3ea89f}};}if(_0x21afb2<_0x41f566)return{'range':EditorSelection['cursor'](_0x21afb2),'changes':{'from':_0x21afb2,'to':_0x41f566}};}}}return _0xb1781d={'range':_0x427dc0};});return!_0xb1781d&&(_0x2f4eff(_0x5d1af3['update'](_0x4e1a55,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);},_0x50bfe7=[{'key':'Enter','run':insertNewlineContinueMarkup},{'key':'Backspace','run':deleteMarkupBackward}],htmlNoMatch=html({'matchClosingTags':!0x1});function _0x506f9a(_0x50f155={}){let {codeLanguages:_0x467b5d,defaultCodeLanguage:_0x4ed692,addKeymap:_0x3a424d=!0x0,base:{parser:_0x4a60ef}=_0x6bb0bd,completeHTMLTags:_0x22d0cc=!0x0,htmlTagLanguage:_0x482806=htmlNoMatch}=_0x50f155;if(!(_0x4a60ef instanceof _0x396cb7))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0x18c6dc,_0x42a586=_0x50f155['extensions']?[_0x50f155['extensions']]:[],_0x588651=[_0x482806['support']];_0x4ed692 instanceof LanguageSupport?(_0x588651['push'](_0x4ed692['support']),_0x18c6dc=_0x4ed692['language']):_0x4ed692&&(_0x18c6dc=_0x4ed692);let _0x4ec41f=_0x467b5d||_0x18c6dc?getCodeParser(_0x467b5d,_0x18c6dc):void 0x0;_0x42a586['push'](_0x3ec44a({'codeParser':_0x4ec41f,'htmlParser':_0x482806['language']['parser']})),_0x3a424d&&_0x588651['push'](_0x5510a7['high'](_0x16b200['of'](_0x50bfe7)));let _0x449780=_0x1b0a28(_0x4a60ef['configure'](_0x42a586));return _0x22d0cc&&_0x588651['push'](_0x449780['data']['of']({'autocomplete':htmlTagCompletion})),new LanguageSupport(_0x449780,_0x588651);}function htmlTagCompletion(_0x433991){let {state:_0x5c8975,pos:_0x2f7cf8}=_0x433991,_0x5c1230=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0x5c8975['sliceDoc'](_0x2f7cf8-0x19,_0x2f7cf8));if(!_0x5c1230)return null;let _0x449d95=syntaxTree(_0x5c8975)['resolveInner'](_0x2f7cf8,-0x1);for(;_0x449d95&&!_0x449d95['type']['isTop'];){if('CodeBlock'==_0x449d95['name']||'FencedCode'==_0x449d95['name']||'ProcessingInstructionBlock'==_0x449d95['name']||'CommentBlock'==_0x449d95['name']||'Link'==_0x449d95['name']||'Image'==_0x449d95['name'])return null;_0x449d95=_0x449d95['parent'];}return{'from':_0x2f7cf8-_0x5c1230[0x0]['length'],'to':_0x2f7cf8,'options':htmlTagCompletions(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let _tagCompletions=null;function htmlTagCompletions(){if(_tagCompletions)return _tagCompletions;let _0x3e9cb6=htmlCompletionSource(new CompletionContext(EditorState['create']({'extensions':htmlNoMatch}),0x0,!0x0));return _tagCompletions=_0x3e9cb6?_0x3e9cb6['options']:[];}const _0x163643='#e5c07b',_0x576d78='#e06c75',_0x8e729e='#56b6c2',_0x54d276='#ffffff',_0x2f86a9='#abb2bf',stone='#7d8799',_0x354b9c='#61afef',_0x358c61='#98c379',_0x269a0a='#d19a66',violet='#c678dd',_0x3f632c='#21252b',highlightBackground='#2c313a',_0x352a43='#282c34',tooltipBackground='#353a42',selection='#3E4451',_0x4a0a8d='#528bff',_0x282d2e=EditorView['theme']({'&':{'color':_0x2f86a9,'backgroundColor':_0x352a43},'.cm-content':{'caretColor':_0x4a0a8d},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':_0x4a0a8d},'&.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':_0x3f632c,'color':_0x2f86a9},'.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':_0x352a43,'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':_0x2f86a9}}},{'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':_0x576d78},{'tag':[tags$1['function'](tags$1['variableName']),tags$1['labelName']],'color':_0x354b9c},{'tag':[tags$1['color'],tags$1['constant'](tags$1['name']),tags$1['standard'](tags$1['name'])],'color':_0x269a0a},{'tag':[tags$1['definition'](tags$1['name']),tags$1['separator']],'color':_0x2f86a9},{'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':_0x163643},{'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':_0x8e729e},{'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':_0x576d78},{'tag':[tags$1['atom'],tags$1['bool'],tags$1['special'](tags$1['variableName'])],'color':_0x269a0a},{'tag':[tags$1['processingInstruction'],tags$1['string'],tags$1['inserted']],'color':_0x358c61},{'tag':tags$1['invalid'],'color':_0x54d276}]),_0x4fe414=[_0x282d2e,syntaxHighlighting(oneDarkHighlightStyle)];function createCodeMirrorEditor(_0x5d2632){const _0x4e211c=getDefaultExtensions(),_0x3dcad0=new Compartment();_0x4e211c['push'](_0x3dcad0['of'](EditorView['editable']['of'](!0x0))),'html'===_0x5d2632['syntaxLanguage']?_0x4e211c['push'](html()):_0x4e211c['push'](_0x506f9a());const _0x44a37e=_0x3d4422(_0x5d2632['theme']);_0x44a37e&&_0x4e211c['push'](_0x44a37e),_0x4e211c['push'](...getKeybindings());const _0x4cd802=new EditorView({'extensions':_0x4e211c,'parent':_0x5d2632['parent']});return toggleTabFocusMode(_0x4cd802),{'focus':()=>{_0x4cd802['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x4cd802['focus']();},'getData':()=>_0x4cd802['state']['doc']['toString'](),'setData':_0x388ebd=>{_0x4cd802['dispatch']({'changes':{'from':0x0,'to':_0x4cd802['state']['doc']['length'],'insert':_0x388ebd},'annotations':Transaction['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3796a5=>{_0x4cd802['dispatch']({'effects':[_0x3dcad0['reconfigure'](EditorView['editable']['of'](!_0x3796a5))]});},'destroy':()=>{_0x4cd802['destroy']();},'instance':_0x4cd802};}function _0x3d4422(_0x367875){return _0x367875&&'default'!==_0x367875?'dark'===_0x367875?_0x4fe414:_0x367875:null;}function getKeybindings(){return[_0x16b200['of']([...closeBracketsKeymap,...defaultKeymap,...historyKeymap,..._0x81f15a,...completionKeymap,{'key':'Tab','run':indentMore,'shift':indentLess,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x1dcc6c,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x1dcc6c,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x28c26e,'preventDefault':!0x0,'stopPropagation':!0x0}])];}function getDefaultExtensions(){return[EditorView['lineWrapping'],autocompletion(),bracketMatching(),closeBrackets(),_0x3dfbad(),drawSelection(),_0x2be06c(),_0xf3517(),foldGutter(),highlightActiveLine(),highlightActiveLineGutter(),highlightSpecialChars(),history(),indentOnInput(),rectangularSelection(),syntaxHighlighting(defaultHighlightStyle,{'fallback':!0x0})];}class CodeEditorView extends ckeditor5['View']{['_codeEditorApi']=null;['_options'];constructor(_0x677dd1,_0x1ff289){super(_0x677dd1),this['_options']=_0x1ff289,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',(_0x4e3887,_0x274f13,_0x25250d)=>{this['setReadOnly'](_0x25250d);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x1e988d){this['_codeEditorApi']['setData'](_0x1e988d);}['setReadOnly'](_0x102e20){this['_codeEditorApi']['setReadOnly'](_0x102e20);}}const _0x5086c8='SourceEditingEnhancedMode';class EditSourceCommand extends ckeditor5['Command']{constructor(_0x138cba){super(_0x138cba),this['affectsData']=!0x1,this['editor']['plugins']['get'](ckeditor5['PendingActions'])['on']('change:hasAny',(_0x501f52,_0x30f031,_0x65341)=>{_0x65341?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x157074=this['editor'];for(const _0x549c6d of _0x157074['commands']['names']())['replaceSource','editSource']['includes'](_0x549c6d)||_0x157074['commands']['get'](_0x549c6d)['forceDisabled'](_0x5086c8);}['_enableCommands'](){const _0x7f1588=this['editor'];for(const _0xdb79c5 of _0x7f1588['commands']['commands']())_0xdb79c5['clearForceDisabled'](_0x5086c8);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x15e061=this['editor'],_0x4abb63=_0x15e061['locale'],_0x26d4ae=_0x15e061['plugins']['get']('Dialog'),_0x27ac26=getActiveRootName(_0x15e061),_0x4e39ff=formatSource(_0x15e061['data']['get']({'rootName':_0x27ac26})),_0x2da144=new CodeEditorView(_0x4abb63,{'syntaxLanguage':_0x15e061['plugins']['has']('Markdown')?'markdown':'html','theme':_0x15e061['config']['get']('sourceEditingEnhanced.theme')});let _0x47aa92=!0x0;const _0x35b470=_0x2a98b1=>{if(!_0x47aa92)return;return unformatSource(_0x2da144['getData']())!==unformatSource(_0x4e39ff)?window['confirm'](getTranslation$3(_0x4abb63,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x2a98b1['stop']():void 0x0;};_0x26d4ae['show']({'id':'sourceEditingEnhanced','title':getTranslation$3(_0x4abb63,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x2da144,'actionButtons':[{'label':getTranslation$3(_0x4abb63,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x26d4ae['hide']();}},{'label':getTranslation$3(_0x4abb63,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x60ef70=unformatSource(_0x2da144['getData']())!==unformatSource(_0x4e39ff);(_0x60ef70&&_0x15e061['execute']('replaceSource',_0x2da144['getData']()),_0x47aa92=!0x1,_0x26d4ae['hide'](),_0x60ef70&&'editables'in _0x15e061['ui']['view'])&&_0x15e061['ui']['view']['editables'][_0x27ac26]['element']['focus']();},'onCreate':_0x290a4f=>{_0x290a4f['set']('isEnabled',!_0x15e061['isReadOnly']),_0x290a4f['bind']('isEnabled')['to'](_0x15e061,'isReadOnly',this,'isEnabled',(_0x16e119,_0x560e0a)=>!_0x16e119&&_0x560e0a);}}],'onHide':()=>{this['_enableCommands'](),_0x26d4ae['off']('hide',_0x35b470),_0x2da144['destroy']();},'onShow':()=>{_0x2da144['bind']('isReadOnly')['to'](_0x15e061,'isReadOnly',this,'isEnabled',(_0x5c0cf7,_0x385aac)=>_0x5c0cf7||!_0x385aac),_0x2da144['setData'](_0x4e39ff),_0x2da144['focus'](),_0x26d4ae['on']('hide',_0x35b470,{'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 _0x22f88d=this['editor'],_0x530735=_0x22f88d['locale'],_0x14caab=new EditSourceCommand(_0x22f88d);_0x22f88d['commands']['add']('editSource',_0x14caab),_0x22f88d['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x4a01cc=this['_createButton'](ckeditor5['ButtonView'],_0x14caab);return _0x4a01cc['set']({'label':getTranslation$3(_0x530735,'Source'),'icon':ckeditor5['IconSource'],'tooltip':getTranslation$3(_0x530735,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x4a01cc;}),_0x22f88d['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x13f735=this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'],_0x14caab,!0x0);return _0x13f735['set']({'label':getTranslation$3(_0x530735,'Edit\x20source\x20modal\x20label'),'icon':ckeditor5['IconSource'],'role':'menuitemcheckbox'}),_0x13f735;}),this['_registerKeybindings']();}['afterInit'](){_0x1e3007(this);}['_createButton'](_0x213d9e,_0x2a7012,_0x488bb7=!0x1){const _0x31567d=new _0x213d9e(this['editor']['locale']);return _0x31567d['set']({'withText':_0x488bb7,'isToggleable':!0x1}),_0x31567d['bind']('isEnabled')['to'](_0x2a7012,'isEnabled'),this['listenTo'](_0x31567d,'execute',()=>_0x2a7012['execute']()),_0x31567d;}['_registerKeybindings'](){const _0x56314e=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':getTranslation$3(_0x56314e,'Source\x20Editing\x20Enhanced')});const _0x238ff1=ckeditor5['env']['isMac']||ckeditor5['env']['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':getTranslation$3(_0x56314e,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':getTranslation$3(_0x56314e,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':getTranslation$3(_0x56314e,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':getTranslation$3(_0x56314e,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':getTranslation$3(_0x56314e,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':getTranslation$3(_0x56314e,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':getTranslation$3(_0x56314e,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x238ff1?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':getTranslation$3(_0x56314e,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':getTranslation$3(_0x56314e,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':getTranslation$3(_0x56314e,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':getTranslation$3(_0x56314e,'Select\x20line'),'keystroke':_0x238ff1?'Ctrl!+L':'Alt+L'},{'label':getTranslation$3(_0x56314e,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x238ff1?'Alt+Shift+M':'Ctrl+M'},{'label':getTranslation$3(_0x56314e,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':getTranslation$3(_0x56314e,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':getTranslation$3(_0x56314e,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':getTranslation$3(_0x56314e,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':getTranslation$3(_0x56314e,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x238ff1?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}async function _0x1e3007(_0x38a9fd){const _0x5d8d18=_0x2db8e3([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]),_0xb8ebd3=window[_0x2db8e3([0x44,0x61,0x74,0x65])][_0x2db8e3([0x6e,0x6f,0x77])](),_0x31782e=_0x38a9fd[_0x2db8e3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xaed488=new window[(_0x2db8e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x478af4=>{_0x31782e[_0x2db8e3([0x6f,0x6e,0x63,0x65])](_0x2db8e3([0x72,0x65,0x61,0x64,0x79]),_0x478af4);}),_0x40021a={[_0x2db8e3([0x6b,0x74,0x79])]:_0x2db8e3([0x45,0x43]),[_0x2db8e3([0x75,0x73,0x65])]:_0x2db8e3([0x73,0x69,0x67]),[_0x2db8e3([0x63,0x72,0x76])]:_0x2db8e3([0x50,0x2d,0x32,0x35,0x36]),[_0x2db8e3([0x78])]:_0x2db8e3([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]),[_0x2db8e3([0x79])]:_0x2db8e3([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]),[_0x2db8e3([0x61,0x6c,0x67])]:_0x2db8e3([0x45,0x53,0x32,0x35,0x36])},_0x3817bb=_0x31782e[_0x2db8e3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2db8e3([0x67,0x65,0x74])](_0x2db8e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x578381=await(async function(){let _0x1b5ce0,_0x3fadcf=null,_0x3ad3f2=null;try{if(_0x3817bb==_0x2db8e3([0x47,0x50,0x4c]))return _0x2db8e3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b5ce0=(function(){const _0x21ace9=_0x3817bb[_0x2db8e3([0x73,0x70,0x6c,0x69,0x74])](_0x2db8e3([0x2e]));if(0x3!=_0x21ace9[_0x2db8e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x1fcb61=_0x21ace9[0x1];return _0x2f4dd8(_0x1fcb61);function _0x2f4dd8(_0x4d0771){const _0x49016d=_0x5be9e0(_0x4d0771);return _0x49016d&&_0x3ff60e()?_0x49016d:null;function _0x3ff60e(){const _0x41a342=_0x49016d[_0x2db8e3([0x6a,0x74,0x69])],_0x15dbcc=window[_0x2db8e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41a342[_0x2db8e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41a342[_0x2db8e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d26c1={..._0x49016d,[_0x2db8e3([0x6a,0x74,0x69])]:_0x41a342[_0x2db8e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x41a342[_0x2db8e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d26c1[_0x2db8e3([0x76,0x63])],_0xc7ab6f(_0x3d26c1)==_0x15dbcc;}}}()),!_0x1b5ce0)return _0x2db8e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x1b5ce0[_0x2db8e3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3ad3f2=function(_0x1dbaa3,_0x27006e){return new window[(_0x2db8e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24ace1=>{if(_0x2e760b())return _0x24ace1(_0x2db8e3([0x56,0x61,0x6c,0x69,0x64]));_0xa4fd05(),_0x31782e[_0x2db8e3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2db8e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x239956=!0x1;const _0x17da6e=ckeditor5['uid']();function _0x5b9531(_0x23c08b){return!!_0x23c08b&&(typeof _0x23c08b===_0x2db8e3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x23c08b===_0x2db8e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x23c08b[_0x2db8e3([0x74,0x68,0x65,0x6e])]===_0x2db8e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x23c08b[_0x2db8e3([0x63,0x61,0x74,0x63,0x68])]===_0x2db8e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x53ae6f(_0x5ac189){_0x2c3080(_0x5ac189)[_0x2db8e3([0x74,0x68,0x65,0x6e])](_0x23a0b2=>{if(!_0x23a0b2||_0x23a0b2[_0x2db8e3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2db8e3([0x6f,0x6b]))return _0x2db8e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd0eff3(_0xc7ab6f(_0x17da6e+_0x27006e))!=_0x23a0b2[_0x2db8e3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2db8e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2db8e3([0x56,0x61,0x6c,0x69,0x64]);})[_0x2db8e3([0x74,0x68,0x65,0x6e])](_0x3d80f9=>(_0x4c661f(),_0x3d80f9),()=>{const _0xeb2772=_0x5dce70();return null==_0xeb2772?(_0x4c661f(),_0x2db8e3([0x56,0x61,0x6c,0x69,0x64])):_0x2db8e3(_0xb8ebd3-_0xeb2772>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2db8e3([0x74,0x68,0x65,0x6e])](_0x24ace1)[_0x2db8e3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x24ace1(_0x2db8e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1108ba=0x36ee80;function _0x4c661f(){const _0x54c224=_0x2db8e3([0x6c,0x6c,0x63,0x74,0x2d])+_0xd0eff3(_0xc7ab6f(_0x1dbaa3)),_0x4eca40=_0x2c8f99(_0xd0eff3(window[_0x2db8e3([0x4d,0x61,0x74,0x68])][_0x2db8e3([0x63,0x65,0x69,0x6c])](_0xb8ebd3/_0x1108ba)));window[_0x2db8e3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2db8e3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54c224,_0x4eca40);}function _0x5dce70(){const _0x29c735=_0x2db8e3([0x6c,0x6c,0x63,0x74,0x2d])+_0xd0eff3(_0xc7ab6f(_0x1dbaa3)),_0x1bf613=window[_0x2db8e3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2db8e3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29c735);return _0x1bf613?window[_0x2db8e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c8f99(_0x1bf613),0x10)*_0x1108ba:null;}function _0x2c3080(_0x34ac34){return new window[(_0x2db8e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d56fb,_0x262e6a)=>{_0x34ac34[_0x2db8e3([0x74,0x68,0x65,0x6e])](_0x2d56fb,_0x262e6a),window[_0x2db8e3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x262e6a,0x1d4c0);});}}_0x31782e[_0x2db8e3([0x6f,0x6e])](_0x2db8e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb50638,_0x3aa369)=>{if(_0x3aa369[0x0]!=_0x1dbaa3)return _0x24ace1(_0x2db8e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3aa369[0x1]={..._0x3aa369[0x1],[_0x2db8e3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x17da6e};},{[_0x2db8e3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2db8e3([0x68,0x69,0x67,0x68])}),_0x31782e[_0x2db8e3([0x6f,0x6e])](_0x2db8e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x44687b=>{_0x5b9531(_0x44687b[_0x2db8e3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x239956=!0x0,_0x53ae6f(_0x44687b[_0x2db8e3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2db8e3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2db8e3([0x6c,0x6f,0x77])}),_0xaed488[_0x2db8e3([0x74,0x68,0x65,0x6e])](()=>{_0x239956||_0x24ace1(_0x2db8e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2e760b(){return _0x31782e[_0x2db8e3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2db8e3([0x76,0x69,0x65,0x77])][_0x2db8e3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2db8e3([0x61,0x75,0x74,0x6f]);}function _0xa4fd05(){_0x31782e[_0x2db8e3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2db8e3([0x76,0x69,0x65,0x77])][_0x2db8e3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2db8e3([0x61,0x75,0x74,0x6f]);}}(_0x1b5ce0[_0x2db8e3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b5ce0[_0x2db8e3([0x6a,0x74,0x69])]));const _0x577822=await(async function(){let _0x2d108a=!0x0;try{const _0x5be3d7=_0x3817bb[_0x2db8e3([0x73,0x70,0x6c,0x69,0x74])](_0x2db8e3([0x2e])),[_0x3b270b,_0x3f47b2,_0x5ebdab]=_0x5be3d7;return _0x138643(_0x3b270b),await _0x110edd(_0x3b270b,_0x3f47b2,_0x5ebdab),_0x2d108a;}catch{return!0x1;}function _0x138643(_0x4a3e59){const _0x33fb06=_0x5be9e0(_0x4a3e59);_0x33fb06&&_0x33fb06[_0x2db8e3([0x61,0x6c,0x67])]==_0x2db8e3([0x45,0x53,0x32,0x35,0x36])||(_0x2d108a=!0x1);}async function _0x110edd(_0x57280e,_0x90f726,_0x205d44){const _0x6c3ec3=window[_0x2db8e3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2db8e3([0x66,0x72,0x6f,0x6d])](_0x16c5bf(_0x205d44),_0x5deb27=>_0x5deb27[_0x2db8e3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x52bc1e=new window[(_0x2db8e3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2db8e3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x57280e+_0x2db8e3([0x2e])+_0x90f726),_0x15309d=window[_0x2db8e3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2db8e3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x15309d)return;const _0x594b92=await _0x15309d[_0x2db8e3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2db8e3([0x6a,0x77,0x6b]),_0x40021a,{[_0x2db8e3([0x6e,0x61,0x6d,0x65])]:_0x2db8e3([0x45,0x43,0x44,0x53,0x41]),[_0x2db8e3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2db8e3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2db8e3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x15309d[_0x2db8e3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2db8e3([0x6e,0x61,0x6d,0x65])]:_0x2db8e3([0x45,0x43,0x44,0x53,0x41]),[_0x2db8e3([0x68,0x61,0x73,0x68])]:{[_0x2db8e3([0x6e,0x61,0x6d,0x65])]:_0x2db8e3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x594b92,_0x6c3ec3,_0x52bc1e)||(_0x2d108a=!0x1);}}());return _0x577822?(function(){const _0x542eb6=_0x1b5ce0[_0x2db8e3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x542eb6)return!0x1;if(_0x542eb6[_0x2db8e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2db8e3([0x2a])))return!0x0;if(_0x542eb6[_0x2db8e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2db8e3([0x53,0x45,0x45])))return!0x0;return!0x1;}())?(function(){const _0x1f9211=[_0x2db8e3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2db8e3([0x74,0x72,0x69,0x61,0x6c])][_0x2db8e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b5ce0[_0x2db8e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb8ebd3/0x3e8:0x69e02680;return _0x1b5ce0[_0x2db8e3([0x65,0x78,0x70])]<_0x1f9211;}())?_0x2db8e3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x436de9=_0x1b5ce0[_0x2db8e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x436de9||0x0==_0x436de9[_0x2db8e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4bd339}=new URL(window[_0x2db8e3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x436de9[_0x2db8e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bd339))return!0x0;const _0x590ac1=_0x4bd339[_0x2db8e3([0x73,0x70,0x6c,0x69,0x74])](_0x2db8e3([0x2e]));return _0x436de9[_0x2db8e3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e3742=>_0x4e3742[_0x2db8e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2db8e3([0x2a])))[_0x2db8e3([0x6d,0x61,0x70])](_0x37e651=>_0x37e651[_0x2db8e3([0x73,0x70,0x6c,0x69,0x74])](_0x2db8e3([0x2e])))[_0x2db8e3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53361c=>_0x53361c[_0x2db8e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x590ac1[_0x2db8e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2db8e3([0x6d,0x61,0x70])](_0x22d740=>Array(_0x590ac1[_0x2db8e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x22d740[_0x2db8e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2db8e3([0x66,0x69,0x6c,0x6c])](_0x22d740[0x0]===_0x2db8e3([0x2a])?_0x2db8e3([0x2a]):'')[_0x2db8e3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x22d740))[_0x2db8e3([0x73,0x6f,0x6d,0x65])](_0x1570ee=>_0x590ac1[_0x2db8e3([0x65,0x76,0x65,0x72,0x79])]((_0x4ca538,_0x512e8d)=>_0x1570ee[_0x512e8d]===_0x4ca538||_0x1570ee[_0x512e8d]===_0x2db8e3([0x2a])));}())?(_0x1b5ce0[_0x2db8e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2db8e3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3fadcf=function(_0xf562d7){const _0xda28a4=new window[(_0x2db8e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ca952=>setTimeout(_0x1ca952,0x93ecc)),_0x1e79e8=_0xaed488[_0x2db8e3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2db8e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30d2b3=>{let _0x226359=0x0;_0x31782e[_0x2db8e3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2db8e3([0x6f,0x6e])](_0x2db8e3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x254dce,_0x1ebfe9)=>{_0x1ebfe9[0x0][_0x2db8e3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x226359++,0x5e8==_0x226359&&(_0x30d2b3(),_0x254dce[_0x2db8e3([0x6f,0x66,0x66])]());});})),_0x9c88ac=[_0xda28a4,_0x1e79e8];return window[_0x2db8e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2db8e3([0x72,0x61,0x63,0x65])](_0x9c88ac)[_0x2db8e3([0x74,0x68,0x65,0x6e])](()=>_0xf562d7);}(_0x2db8e3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x3fadcf&&_0x3ad3f2)return new window[(_0x2db8e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b628a,_0x492057)=>{_0x3fadcf[_0x2db8e3([0x74,0x68,0x65,0x6e])](_0x4b628a,_0x492057),_0x3ad3f2[_0x2db8e3([0x74,0x68,0x65,0x6e])](_0x4bc19c=>{_0x4bc19c!=_0x2db8e3([0x56,0x61,0x6c,0x69,0x64])&&_0x4b628a(_0x4bc19c);},_0x492057);});return _0x3fadcf||_0x3ad3f2||_0x2db8e3([0x56,0x61,0x6c,0x69,0x64]);}())):_0x2db8e3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2db8e3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2db8e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2db8e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x5be9e0(_0x2e8cbb){return _0x2e8cbb[_0x2db8e3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2db8e3([0x65,0x79]))?JSON[_0x2db8e3([0x70,0x61,0x72,0x73,0x65])](_0x16c5bf(_0x2e8cbb)):null;}function _0x16c5bf(_0x27cab3){return window[_0x2db8e3([0x61,0x74,0x6f,0x62])](_0x27cab3[_0x2db8e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2db8e3([0x2b]))[_0x2db8e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2db8e3([0x2f])));}function _0xc7ab6f(_0x1f22e){let _0x4624d6=0x1505;function _0x424dac(_0x3ea51f){for(let _0x42ab5a=0x0;_0x42ab5a<_0x3ea51f[_0x2db8e3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42ab5a++){const _0x1961b0=_0x3ea51f[_0x2db8e3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x42ab5a);_0x4624d6=(_0x4624d6<<0x5)+_0x4624d6+_0x1961b0,_0x4624d6&=_0x4624d6;}}return function _0x309222(_0x18f902){Array[_0x2db8e3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x18f902)?_0x18f902[_0x2db8e3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x309222):_0x18f902&&typeof _0x18f902==_0x2db8e3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2db8e3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x18f902)[_0x2db8e3([0x73,0x6f,0x72,0x74])]()[_0x2db8e3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ef651,_0x15fc19])=>{_0x424dac(_0x5ef651),_0x309222(_0x15fc19);}):_0x424dac(window[_0x2db8e3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x18f902));}(_0x1f22e),_0x4624d6>>>0x0;}function _0xd0eff3(_0x2d6f33){return _0x2d6f33[_0x2db8e3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2db8e3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2db8e3([0x30]));}function _0x2c8f99(_0x3d4703){return _0x3d4703[_0x2db8e3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2db8e3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2db8e3([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d3f93(){}function _0x2db8e3(_0x29f0f3){return _0x29f0f3['map'](_0x556067=>String['fromCharCode'](_0x556067))['join']('');}!function(_0x35b485){const _0x23ff3c=(function(){const _0x5d83b6=window[_0x2db8e3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2db8e3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2db8e3([0x6e,0x6f,0x77])]())[_0x2db8e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2db8e3([0x2e]),'');let _0x2c906=_0x2db8e3([0x4e]);for(let _0x38d0d4=0x0;_0x38d0d4<_0x5d83b6[_0x2db8e3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38d0d4+=0x2){let _0x40a4b5=window[_0x2db8e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d83b6[_0x2db8e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38d0d4,_0x38d0d4+0x2));_0x40a4b5>=_0x5d8d18[_0x2db8e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x40a4b5-=_0x5d8d18[_0x2db8e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c906+=_0x5d8d18[_0x40a4b5];}return _0x2c906;}());_0x31782e[_0x23ff3c]=_0x2db8e3([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])+_0x35b485,_0x35b485!=_0x2db8e3([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0xaed488,_0x31782e[_0x2db8e3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2db8e3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d3f93,_0x31782e[_0x2db8e3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2db8e3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d3f93,_0x31782e[_0x2db8e3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2db8e3([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x578381);}class _0x36a0a8 extends ckeditor5['Command']{constructor(_0x396ca9){super(_0x396ca9),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x57edf6,_0x1e62f9){const _0x39b6c3=this['editor'],_0x42f63c=_0x1e62f9?.['rootName']??getActiveRootName(_0x39b6c3);_0x39b6c3['data']['set']({[_0x42f63c]:_0x57edf6},{'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(_0x4802e5){super(_0x4802e5),_0x4802e5['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new _0x36a0a8(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x24df26=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4e7b35;for(const _0x2ede2e in _0x24df26){const _0x361bb4=_0x2ede2e,_0x3f3911=_0x24df26[_0x361bb4];if('sourceEditingEnhancedLicenseKeyValid'==_0x3f3911||'sourceEditingEnhancedLicenseKeyInvalid'==_0x3f3911||'sourceEditingEnhancedLicenseKeyExpired'==_0x3f3911||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3f3911||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3f3911||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3f3911||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3f3911){delete _0x24df26[_0x361bb4],_0x4e7b35=_0x3f3911,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x4e7b35&&_0x24df26['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x4e7b35&&_0x24df26['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4e7b35&&_0x24df26['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4e7b35&&_0x24df26['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4e7b35&&_0x24df26['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4e7b35&&_0x24df26['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x25a28f=this['editor'],_0x415f6c=_0x25a28f['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x415f6c&&_0x25a28f['plugins']['has']('RealTimeCollaborativeEditing'))throw new ckeditor5['CKEditorError']('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x415f6c&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x31cbfd=>_0x25a28f['plugins']['has'](_0x31cbfd))&&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.'),_0x25a28f['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'](_0x5e7d9f){const {model:_0x4ee1c8}=this['editor'];let _0x5ceb81;switch(typeof _0x5e7d9f){case'string':_0x5ceb81=_0x5e7d9f;break;case'function':_0x5ceb81=_0x5e7d9f();}'string'==typeof _0x5ceb81&&_0x4ee1c8['change'](()=>{const _0x1c6b13=this['editor']['data']['htmlProcessor']['toView'](_0x5ceb81),_0x59d0a9=this['editor']['data']['toModel'](_0x1c6b13);_0x4ee1c8['insertContent'](_0x59d0a9);});}}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:_0x13c422}=this;_0x13c422['commands']['add']('insertTemplate',new TemplateCommand(_0x13c422)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x12ba0e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x163392;for(const _0x543e39 in _0x12ba0e){const _0x3f8a05=_0x543e39,_0x2b13f0=_0x12ba0e[_0x3f8a05];if('templateLicenseKeyValid'==_0x2b13f0||'templateLicenseKeyInvalid'==_0x2b13f0||'templateLicenseKeyExpired'==_0x2b13f0||'templateLicenseKeyDomainLimit'==_0x2b13f0||'templateLicenseKeyNotAllowed'==_0x2b13f0||'templateLicenseKeyEvaluationLimit'==_0x2b13f0||'templateLicenseKeyUsageLimit'==_0x2b13f0){delete _0x12ba0e[_0x3f8a05],_0x163392=_0x2b13f0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x163392&&_0x12ba0e['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x163392&&_0x12ba0e['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x163392&&_0x12ba0e['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x163392&&_0x12ba0e['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x163392&&_0x12ba0e['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x163392&&_0x12ba0e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TemplateListView extends ckeditor5['ListView']{['filter'](_0x4cb366){if(!_0x4cb366)return this['_resetFiltering']();const _0x1437b2=new Map(),_0x5159bf=this['items']['map'](_0x5b5d99=>{const _0x1b74b4=_0x5b5d99['buttonView']['isMatching'](_0x4cb366);return _0x5b5d99['isVisible']=!!_0x1b74b4,_0x5b5d99['buttonView']['highlightText'](_0x1b74b4?_0x4cb366:null),_0x1b74b4&&_0x1437b2['set'](_0x5b5d99,_0x1b74b4),_0x5b5d99;})['sort'](unsortListItemsCallback)['sort'](getSortListItemsCallback(_0x1437b2));return this['items']['clear'](),this['items']['addMany'](_0x5159bf),{'resultsCount':_0x1437b2['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0xcd0f59=this['items']['map'](_0x2a5eea=>_0x2a5eea)['sort'](unsortListItemsCallback);return _0xcd0f59['forEach'](_0x1480a6=>{_0x1480a6['isVisible']=!0x0,_0x1480a6['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0xcd0f59),{'resultsCount':_0xcd0f59['length'],'totalItemsCount':_0xcd0f59['length']};}}function getSortListItemsCallback(_0x2c8215){return function(_0x273719,_0x12520e){const _0x361f98=_0x2c8215['get'](_0x273719),_0x477b00=_0x2c8215['get'](_0x12520e);return _0x361f98&&!_0x477b00?-0x1:_0x477b00&&!_0x361f98?0x1:_0x361f98||_0x477b00?_0x361f98['title']&&!_0x477b00['title']?-0x1:!_0x361f98['title']&&_0x477b00['title']?0x1:0x0:0x0;};}function unsortListItemsCallback(_0x1321e1,_0x2522db){return _0x1321e1['originalIndex']-_0x2522db['originalIndex'];}class TemplateListItemView extends ckeditor5['ListItemView']{['originalIndex'];['buttonView'];constructor(_0x16a57d,_0x2bd4f8){super(_0x16a57d),this['originalIndex']=_0x2bd4f8,this['buttonView']=null;}}class TemplateListButtonView extends ckeditor5['ButtonView']{['templateDefinition'];['textPartView'];constructor(_0x540e84,_0x40aaa1){super(_0x540e84),this['templateDefinition']=_0x40aaa1,this['textPartView']=null;const {icon:_0x5af6eb=ckeditor5['IconTemplateGeneric']}=_0x40aaa1;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x5af6eb}),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'](_0x4845b5){const {title:_0x3c7bdb,description:_0x31fd2c}=this['templateDefinition'],_0x50c416=!!_0x3c7bdb['match'](_0x4845b5),_0xbf37ad=!(!_0x31fd2c||!_0x31fd2c['match'](_0x4845b5));return _0x50c416||_0xbf37ad?{'title':_0x50c416,'description':_0xbf37ad}:null;}['highlightText'](_0x3544b3){this['textPartView']['highlightText'](_0x3544b3);}}class TextPartView extends ckeditor5['View']{constructor(_0x36d9d0,_0x44a660,_0x582bc7){super(_0x36d9d0),this['title']=_0x44a660['title'],this['description']=_0x44a660['description'],this['titleView']=new ckeditor5['HighlightedTextView'](),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x582bc7}});const _0x48199f=[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']}}),_0x48199f['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x48199f});}['highlightText'](_0x2bd746){this['titleView']['highlightText'](_0x2bd746),this['description']&&this['descriptionView']['highlightText'](_0x2bd746);}}function getTranslation$2(_0x28b3ad,_0x46f0f4,..._0x5323a9){const t=_0x28b3ad['t'];switch(_0x46f0f4){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x5323a9);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',..._0x5323a9);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x46f0f4;}}class TemplateUI extends ckeditor5['Plugin']{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3e5d38}=this,_0x169c7a=_0x3e5d38['config']['get']('template.definitions')||[];_0x3e5d38['ui']['componentFactory']['add']('insertTemplate',_0x1e8069=>{const _0x220e01=ckeditor5['createDropdown'](_0x1e8069),_0x4de293=this['_createTemplateListView'](_0x1e8069,_0x169c7a),_0x3be952=new ckeditor5['SearchTextView'](_0x1e8069,{'filteredView':_0x4de293,'queryView':{'label':getTranslation$2(_0x1e8069,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x473a93=>getTranslation$2(_0x1e8069,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x473a93),'secondary':getTranslation$2(_0x1e8069,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':getTranslation$2(_0x1e8069,'No\x20templates\x20available.')}}}}),_0xe6a4e1=_0x3e5d38['commands']['get']('insertTemplate');return _0x3be952['on']('search',(_0x2e42cb,_0xf00e0b)=>{_0xf00e0b['query']&&_0xf00e0b['query']['length']&&_0x3e5d38['ui']['ariaLiveAnnouncer']['announce'](getTranslation$2(_0x1e8069,'%0\x20templates\x20found',_0xf00e0b['resultsCount']));}),_0x220e01['bind']('isEnabled')['to'](_0xe6a4e1),_0x220e01['panelView']['children']['add'](_0x3be952),_0x220e01['buttonView']['set']({'label':getTranslation$2(_0x1e8069,'Insert\x20template'),'icon':ckeditor5['IconTemplate'],'tooltip':!0x0}),_0x220e01['on']('change:isOpen',(_0x362169,_0x31e56e,_0x45227f)=>{_0x45227f||_0x3be952['reset']();}),_0x220e01;}),_0x3e5d38['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x1f7040=>{const _0x236c49=_0x3e5d38['commands']['get']('insertTemplate'),_0x4dd941=new ckeditor5['MenuBarMenuView'](_0x1f7040);_0x4dd941['buttonView']['set']({'label':getTranslation$2(_0x1f7040,'Template'),'icon':ckeditor5['IconTemplate']});const _0x1f1a81=new ckeditor5['MenuBarMenuListView'](_0x1f7040);if(!_0x169c7a||!_0x169c7a['length']){const _0xccd2ef=new ckeditor5['MenuBarMenuListItemView'](_0x1f7040,_0x4dd941),_0xc5fd96=new ckeditor5['MenuBarMenuListItemButtonView'](_0x1f7040);_0xc5fd96['set']({'label':getTranslation$2(_0x1f7040,'No\x20templates\x20available.')}),_0xc5fd96['delegate']('execute')['to'](_0x4dd941),_0xc5fd96['on']('execute',()=>{_0x3e5d38['editing']['view']['focus']();}),_0xccd2ef['children']['add'](_0xc5fd96),_0x1f1a81['items']['add'](_0xccd2ef);}for(const _0x1a4b41 of _0x169c7a){const _0x35fbdd=new ckeditor5['MenuBarMenuListItemView'](_0x1f7040,_0x4dd941),_0x58da30=new ckeditor5['MenuBarMenuListItemButtonView'](_0x1f7040);_0x58da30['set']({'class':'ck-template-button','label':_0x1a4b41['title'],'icon':_0x1a4b41['icon']||ckeditor5['IconTemplateGeneric']}),_0x58da30['delegate']('execute')['to'](_0x4dd941),_0x58da30['on']('execute',()=>{_0x3e5d38['execute']('insertTemplate',_0x1a4b41['data']),_0x3e5d38['editing']['view']['focus']();}),_0x35fbdd['children']['add'](_0x58da30),_0x1f1a81['items']['add'](_0x35fbdd);}return _0x4dd941['panelView']['children']['add'](_0x1f1a81),_0x4dd941['bind']('isEnabled')['to'](_0x236c49,'isEnabled'),_0x4dd941;});}['afterInit'](){_0x1083e0(this);}['_createTemplateListView'](_0x5330f5,_0x3cea0b){const {editor:_0x3294d7}=this,_0x3bdc44=new TemplateListView(_0x5330f5);return _0x3bdc44['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x3bdc44['items']['addMany'](_0x3cea0b['map']((_0xff1e86,_0xba5c98)=>{const _0x5bcda3=new TemplateListItemView(_0x5330f5,_0xba5c98),_0x1ce8e1=new TemplateListButtonView(_0x5330f5,_0xff1e86);return _0x5bcda3['buttonView']=_0x1ce8e1,_0x5bcda3['children']['add'](_0x1ce8e1),_0x5bcda3['buttonView']['on']('execute',_0x45b807=>{_0x3294d7['execute']('insertTemplate',_0x45b807['source']['templateDefinition']['data']),_0x3294d7['editing']['view']['focus']();}),_0x5bcda3;})),_0x3bdc44;}}async function _0x1083e0(_0x8f4af8){const _0x2f5c52=_0x152110([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]),_0x3a68fc=window[_0x152110([0x44,0x61,0x74,0x65])][_0x152110([0x6e,0x6f,0x77])](),_0x181833=_0x8f4af8[_0x152110([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ab1d3=new window[(_0x152110([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x258ea9=>{_0x181833[_0x152110([0x6f,0x6e,0x63,0x65])](_0x152110([0x72,0x65,0x61,0x64,0x79]),_0x258ea9);}),_0x68f7a9={[_0x152110([0x6b,0x74,0x79])]:_0x152110([0x45,0x43]),[_0x152110([0x75,0x73,0x65])]:_0x152110([0x73,0x69,0x67]),[_0x152110([0x63,0x72,0x76])]:_0x152110([0x50,0x2d,0x32,0x35,0x36]),[_0x152110([0x78])]:_0x152110([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]),[_0x152110([0x79])]:_0x152110([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]),[_0x152110([0x61,0x6c,0x67])]:_0x152110([0x45,0x53,0x32,0x35,0x36])},_0x2ce010=_0x181833[_0x152110([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x152110([0x67,0x65,0x74])](_0x152110([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x338c67=await(async function(){let _0x4221ad,_0x40c3af=null,_0x4a6439=null;try{if(_0x2ce010==_0x152110([0x47,0x50,0x4c]))return _0x152110([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4221ad=(function(){const _0x33dfee=_0x2ce010[_0x152110([0x73,0x70,0x6c,0x69,0x74])](_0x152110([0x2e]));if(0x3!=_0x33dfee[_0x152110([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x2f4a74=_0x33dfee[0x1];return _0x149e2f(_0x2f4a74);function _0x149e2f(_0x1a9b93){const _0x51f634=_0x564edb(_0x1a9b93);return _0x51f634&&_0xa4fbe9()?_0x51f634:null;function _0xa4fbe9(){const _0x2af143=_0x51f634[_0x152110([0x6a,0x74,0x69])],_0x546410=window[_0x152110([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2af143[_0x152110([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2af143[_0x152110([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x377cde={..._0x51f634,[_0x152110([0x6a,0x74,0x69])]:_0x2af143[_0x152110([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2af143[_0x152110([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x377cde[_0x152110([0x76,0x63])],_0x54e833(_0x377cde)==_0x546410;}}}()),!_0x4221ad)return _0x152110([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x4221ad[_0x152110([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4a6439=function(_0x471d9e,_0x21a4c0){return new window[(_0x152110([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a8922=>{if(_0x1df695())return _0x1a8922(_0x152110([0x56,0x61,0x6c,0x69,0x64]));_0x566eca(),_0x181833[_0x152110([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x152110([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc7a96b=!0x1;const _0x5ea2c2=ckeditor5['uid']();function _0x470b93(_0xdc8e4b){return!!_0xdc8e4b&&(typeof _0xdc8e4b===_0x152110([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xdc8e4b===_0x152110([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xdc8e4b[_0x152110([0x74,0x68,0x65,0x6e])]===_0x152110([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xdc8e4b[_0x152110([0x63,0x61,0x74,0x63,0x68])]===_0x152110([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1b24b2(_0x48b5a7){_0x46e1d2(_0x48b5a7)[_0x152110([0x74,0x68,0x65,0x6e])](_0x3d2d5d=>{if(!_0x3d2d5d||_0x3d2d5d[_0x152110([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x152110([0x6f,0x6b]))return _0x152110([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x509a32(_0x54e833(_0x5ea2c2+_0x21a4c0))!=_0x3d2d5d[_0x152110([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x152110([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x152110([0x56,0x61,0x6c,0x69,0x64]);})[_0x152110([0x74,0x68,0x65,0x6e])](_0x11b735=>(_0x4a4b2d(),_0x11b735),()=>{const _0x3d2289=_0x3fe3fc();return null==_0x3d2289?(_0x4a4b2d(),_0x152110([0x56,0x61,0x6c,0x69,0x64])):_0x152110(_0x3a68fc-_0x3d2289>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x152110([0x74,0x68,0x65,0x6e])](_0x1a8922)[_0x152110([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1a8922(_0x152110([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc7656e=0x36ee80;function _0x4a4b2d(){const _0xc9b6f6=_0x152110([0x6c,0x6c,0x63,0x74,0x2d])+_0x509a32(_0x54e833(_0x471d9e)),_0x3a2b8f=_0x14fbdc(_0x509a32(window[_0x152110([0x4d,0x61,0x74,0x68])][_0x152110([0x63,0x65,0x69,0x6c])](_0x3a68fc/_0xc7656e)));window[_0x152110([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x152110([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc9b6f6,_0x3a2b8f);}function _0x3fe3fc(){const _0x313e3b=_0x152110([0x6c,0x6c,0x63,0x74,0x2d])+_0x509a32(_0x54e833(_0x471d9e)),_0x157231=window[_0x152110([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x152110([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x313e3b);return _0x157231?window[_0x152110([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14fbdc(_0x157231),0x10)*_0xc7656e:null;}function _0x46e1d2(_0x558cc5){return new window[(_0x152110([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ba62f,_0x34b741)=>{_0x558cc5[_0x152110([0x74,0x68,0x65,0x6e])](_0x1ba62f,_0x34b741),window[_0x152110([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x34b741,0x1d4c0);});}}_0x181833[_0x152110([0x6f,0x6e])](_0x152110([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x485688,_0x2ae2b9)=>{if(_0x2ae2b9[0x0]!=_0x471d9e)return _0x1a8922(_0x152110([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ae2b9[0x1]={..._0x2ae2b9[0x1],[_0x152110([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ea2c2};},{[_0x152110([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x152110([0x68,0x69,0x67,0x68])}),_0x181833[_0x152110([0x6f,0x6e])](_0x152110([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x18e09e=>{_0x470b93(_0x18e09e[_0x152110([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc7a96b=!0x0,_0x1b24b2(_0x18e09e[_0x152110([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x152110([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x152110([0x6c,0x6f,0x77])}),_0x2ab1d3[_0x152110([0x74,0x68,0x65,0x6e])](()=>{_0xc7a96b||_0x1a8922(_0x152110([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1df695(){return _0x181833[_0x152110([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x152110([0x76,0x69,0x65,0x77])][_0x152110([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x152110([0x61,0x75,0x74,0x6f]);}function _0x566eca(){_0x181833[_0x152110([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x152110([0x76,0x69,0x65,0x77])][_0x152110([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x152110([0x61,0x75,0x74,0x6f]);}}(_0x4221ad[_0x152110([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4221ad[_0x152110([0x6a,0x74,0x69])]));const _0x3f99c7=await(async function(){let _0x55f440=!0x0;try{const _0x395579=_0x2ce010[_0x152110([0x73,0x70,0x6c,0x69,0x74])](_0x152110([0x2e])),[_0x195202,_0x1ba7c0,_0x29d6c6]=_0x395579;return _0x5727e2(_0x195202),await _0x388e09(_0x195202,_0x1ba7c0,_0x29d6c6),_0x55f440;}catch{return!0x1;}function _0x5727e2(_0x5866d4){const _0x25aa42=_0x564edb(_0x5866d4);_0x25aa42&&_0x25aa42[_0x152110([0x61,0x6c,0x67])]==_0x152110([0x45,0x53,0x32,0x35,0x36])||(_0x55f440=!0x1);}async function _0x388e09(_0x1f1df7,_0x1a0ce3,_0x30b6e0){const _0x74a06c=window[_0x152110([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x152110([0x66,0x72,0x6f,0x6d])](_0x53258f(_0x30b6e0),_0x5f3e71=>_0x5f3e71[_0x152110([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5b1e08=new window[(_0x152110([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x152110([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1f1df7+_0x152110([0x2e])+_0x1a0ce3),_0x38c2e3=window[_0x152110([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x152110([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x38c2e3)return;const _0x544fe5=await _0x38c2e3[_0x152110([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x152110([0x6a,0x77,0x6b]),_0x68f7a9,{[_0x152110([0x6e,0x61,0x6d,0x65])]:_0x152110([0x45,0x43,0x44,0x53,0x41]),[_0x152110([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x152110([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x152110([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x38c2e3[_0x152110([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x152110([0x6e,0x61,0x6d,0x65])]:_0x152110([0x45,0x43,0x44,0x53,0x41]),[_0x152110([0x68,0x61,0x73,0x68])]:{[_0x152110([0x6e,0x61,0x6d,0x65])]:_0x152110([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x544fe5,_0x74a06c,_0x5b1e08)||(_0x55f440=!0x1);}}());return _0x3f99c7?(function(){const _0x441c1c=_0x4221ad[_0x152110([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x441c1c)return!0x1;if(_0x441c1c[_0x152110([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x152110([0x2a])))return!0x0;if(_0x441c1c[_0x152110([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x152110([0x54,0x50,0x4c])))return!0x0;if(_0x441c1c[_0x152110([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x152110([0x50,0x50])))return!0x0;if(_0x441c1c[_0x152110([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x152110([0x44,0x52,0x55,0x50]))&&window[_0x152110([0x44,0x72,0x75,0x70,0x61,0x6c])])return!0x0;if(_0x441c1c[_0x152110([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x152110([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x152110([0x67,0x6c,0x6f,0x62])]&&window[_0x152110([0x67,0x6c,0x6f,0x62])][_0x152110([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x3938d8=[_0x152110([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x152110([0x74,0x72,0x69,0x61,0x6c])][_0x152110([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4221ad[_0x152110([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a68fc/0x3e8:0x69e02680;return _0x4221ad[_0x152110([0x65,0x78,0x70])]<_0x3938d8;}())?_0x152110([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x37fb0c=_0x4221ad[_0x152110([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37fb0c||0x0==_0x37fb0c[_0x152110([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1e680a}=new URL(window[_0x152110([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x37fb0c[_0x152110([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e680a))return!0x0;const _0x571557=_0x1e680a[_0x152110([0x73,0x70,0x6c,0x69,0x74])](_0x152110([0x2e]));return _0x37fb0c[_0x152110([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22d91d=>_0x22d91d[_0x152110([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x152110([0x2a])))[_0x152110([0x6d,0x61,0x70])](_0x4b7f60=>_0x4b7f60[_0x152110([0x73,0x70,0x6c,0x69,0x74])](_0x152110([0x2e])))[_0x152110([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fe2d2=>_0x2fe2d2[_0x152110([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x571557[_0x152110([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x152110([0x6d,0x61,0x70])](_0x2aaa69=>Array(_0x571557[_0x152110([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2aaa69[_0x152110([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x152110([0x66,0x69,0x6c,0x6c])](_0x2aaa69[0x0]===_0x152110([0x2a])?_0x152110([0x2a]):'')[_0x152110([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2aaa69))[_0x152110([0x73,0x6f,0x6d,0x65])](_0x2c621c=>_0x571557[_0x152110([0x65,0x76,0x65,0x72,0x79])]((_0x4f2dac,_0x48efbc)=>_0x2c621c[_0x48efbc]===_0x4f2dac||_0x2c621c[_0x48efbc]===_0x152110([0x2a])));}())?(_0x4221ad[_0x152110([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x152110([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x40c3af=function(_0x1b297e){const _0x358c6b=new window[(_0x152110([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b9e11=>setTimeout(_0x4b9e11,0x93ecc)),_0xa03437=_0x2ab1d3[_0x152110([0x74,0x68,0x65,0x6e])](()=>new window[(_0x152110([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x948871=>{let _0x2a6a31=0x0;_0x181833[_0x152110([0x6d,0x6f,0x64,0x65,0x6c])][_0x152110([0x6f,0x6e])](_0x152110([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1a4300,_0x249da5)=>{_0x249da5[0x0][_0x152110([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a6a31++,0x5e8==_0x2a6a31&&(_0x948871(),_0x1a4300[_0x152110([0x6f,0x66,0x66])]());});})),_0x563f80=[_0x358c6b,_0xa03437];return window[_0x152110([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x152110([0x72,0x61,0x63,0x65])](_0x563f80)[_0x152110([0x74,0x68,0x65,0x6e])](()=>_0x1b297e);}(_0x152110([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x40c3af&&_0x4a6439)return new window[(_0x152110([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e68a0,_0x3dad5c)=>{_0x40c3af[_0x152110([0x74,0x68,0x65,0x6e])](_0x5e68a0,_0x3dad5c),_0x4a6439[_0x152110([0x74,0x68,0x65,0x6e])](_0x2536b1=>{_0x2536b1!=_0x152110([0x56,0x61,0x6c,0x69,0x64])&&_0x5e68a0(_0x2536b1);},_0x3dad5c);});return _0x40c3af||_0x4a6439||_0x152110([0x56,0x61,0x6c,0x69,0x64]);}())):_0x152110([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x152110([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x152110([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x152110([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x564edb(_0x65b157){return _0x65b157[_0x152110([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x152110([0x65,0x79]))?JSON[_0x152110([0x70,0x61,0x72,0x73,0x65])](_0x53258f(_0x65b157)):null;}function _0x53258f(_0x4d69e8){return window[_0x152110([0x61,0x74,0x6f,0x62])](_0x4d69e8[_0x152110([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x152110([0x2b]))[_0x152110([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x152110([0x2f])));}function _0x54e833(_0x1007c4){let _0x25777d=0x1505;function _0x3e7c4a(_0x85ce0c){for(let _0x49bcd2=0x0;_0x49bcd2<_0x85ce0c[_0x152110([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49bcd2++){const _0x229725=_0x85ce0c[_0x152110([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x49bcd2);_0x25777d=(_0x25777d<<0x5)+_0x25777d+_0x229725,_0x25777d&=_0x25777d;}}return function _0x27ed2c(_0x2b2345){Array[_0x152110([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2b2345)?_0x2b2345[_0x152110([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x27ed2c):_0x2b2345&&typeof _0x2b2345==_0x152110([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x152110([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2b2345)[_0x152110([0x73,0x6f,0x72,0x74])]()[_0x152110([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x372dde,_0x13b14b])=>{_0x3e7c4a(_0x372dde),_0x27ed2c(_0x13b14b);}):_0x3e7c4a(window[_0x152110([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2b2345));}(_0x1007c4),_0x25777d>>>0x0;}function _0x509a32(_0x210348){return _0x210348[_0x152110([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x152110([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x152110([0x30]));}function _0x14fbdc(_0x4be74b){return _0x4be74b[_0x152110([0x73,0x70,0x6c,0x69,0x74])]('')[_0x152110([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x152110([0x6a,0x6f,0x69,0x6e])]('');}function _0x4540fd(){}function _0x152110(_0x277e9e){return _0x277e9e['map'](_0x4ed6e1=>String['fromCharCode'](_0x4ed6e1))['join']('');}!function(_0x4a0cd2){const _0xeea778=(function(){const _0x3836a3=window[_0x152110([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x152110([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x152110([0x6e,0x6f,0x77])]())[_0x152110([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x152110([0x2e]),'');let _0x3f7d2f=_0x152110([0x67]);for(let _0x575311=0x0;_0x575311<_0x3836a3[_0x152110([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x575311+=0x2){let _0x597b4e=window[_0x152110([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3836a3[_0x152110([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x575311,_0x575311+0x2));_0x597b4e>=_0x2f5c52[_0x152110([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x597b4e-=_0x2f5c52[_0x152110([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f7d2f+=_0x2f5c52[_0x597b4e];}return _0x3f7d2f;}());_0x181833[_0xeea778]=_0x152110([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4a0cd2,_0x4a0cd2!=_0x152110([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x2ab1d3,_0x181833[_0x152110([0x6d,0x6f,0x64,0x65,0x6c])][_0x152110([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4540fd,_0x181833[_0x152110([0x6d,0x6f,0x64,0x65,0x6c])][_0x152110([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4540fd,_0x181833[_0x152110([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x152110([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x338c67);}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;}}class _0x1e821e extends ckeditor5['Command']{['_enabledCommands'];constructor(_0x2cf910,_0x4a9db0){super(_0x2cf910),this['_enabledCommands']=_0x4a9db0,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 _0x4ddae5 of this['editor']['commands']['commands']())_0x4ddae5['affectsData']&&!this['_enabledCommands']['has'](_0x4ddae5)&&_0x4ddae5['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x2cb7ae of this['editor']['commands']['commands']())_0x2cb7ae['affectsData']&&!this['_enabledCommands']['has'](_0x2cb7ae)&&_0x2cb7ae['clearForceDisabled']('TrackChangesCommand');}}class AcceptSuggestionCommand extends ckeditor5['Command']{['_suggestions'];constructor(_0x3075da,_0x3ef8d6){super(_0x3075da),this['_suggestions']=_0x3ef8d6,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x1f9276){const _0x3b61eb=this['_suggestions']['get'](_0x1f9276);if(!_0x3b61eb)throw new ckeditor5['CKEditorError']('track-changes-accept-suggestion-not-found',this);const _0x19a89b=_0x3b61eb['getRanges']();this['editor']['model']['canEditAt'](_0x19a89b)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x3b61eb);}}class DiscardSuggestionCommand extends ckeditor5['Command']{['_suggestions'];constructor(_0x20318b,_0x5dd5a4){super(_0x20318b),this['_suggestions']=_0x5dd5a4,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x223193){const _0x4948cf=this['_suggestions']['get'](_0x223193);if(!_0x4948cf)throw new ckeditor5['CKEditorError']('track-changes-discard-suggestion-not-found',this);const _0x39da13=_0x4948cf['getRanges']();this['editor']['model']['canEditAt'](_0x39da13)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x4948cf);}}function renderDescription(_0x4e4e8a,_0x1cf18e){let _0x402e31='';return _0x402e31+=_0x4e4e8a['split']('*')['map']((_0x40ce0b,_0x211b2a)=>_0x211b2a%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+sanitize(_0x40ce0b)+'</span>':sanitize(_0x40ce0b))['join'](''),_0x1cf18e&&(_0x402e31+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x1cf18e['value']+'\x22\x20title=\x22'+_0x1cf18e['title']+'\x22></span>'),_0x402e31;}function sanitize(_0x211202){const _0x2a7ae5=document['createElement']('span');return _0x2a7ae5['innerText']=_0x211202,_0x2a7ae5['innerHTML'];}function sortSuggestions(_0x566cf4){return _0x566cf4['sort']((_0x170fd3,_0x233b93)=>'attribute'===_0x170fd3['type']&&'attribute'!==_0x233b93['type']?-0x1:'attribute'!==_0x170fd3['type']&&'attribute'===_0x233b93['type']?0x1:'deletion'==_0x170fd3['type']&&'deletion'!=_0x233b93['type']?-0x1:'deletion'!=_0x170fd3['type']&&'deletion'==_0x233b93['type']?0x1:0x0);}function getSelectedSuggestions(_0xe1ac34,_0x48946c){const _0x4aaaf3=Array['from'](_0xe1ac34['getRanges']()),_0x5e181=new Set();for(const _0x1e722a of _0x48946c)if(_0x1e722a['isInContent']){for(const _0x34922e of _0x4aaaf3)for(const _0x2aed66 of _0x1e722a['getRanges']())(_0x34922e['isIntersecting'](_0x2aed66)||_0xe1ac34['isCollapsed']&&!_0x1e722a['isMultiRange']&&_0x1e722a['next']&&_0x2aed66['end']['isTouching'](_0x34922e['start']))&&_0x5e181['add'](_0x1e722a);}return _0x5e181;}function getRangesOfBlockGroups(_0x1507a7,_0x560af0){let _0x3a2a93,_0x3f9574=0x0;const _0x4ac752=[],_0x13ebf4=_0x560af0['schema'];for(;_0x3f9574<_0x1507a7['length'];){const _0x4cf6cf=_0x1507a7[_0x3f9574],_0x537a5d=_0x1507a7[_0x3f9574+0x1];_0x3a2a93||(_0x3a2a93=_0x560af0['createPositionBefore'](_0x4cf6cf)),_0x1cbbb4(_0x560af0,_0x4cf6cf,_0x537a5d)||(_0x4ac752['push'](_0x560af0['createRange'](_0x3a2a93,_0x13ebf4['isObject'](_0x4cf6cf)?_0x560af0['createPositionAfter'](_0x4cf6cf):_0x560af0['createPositionAt'](_0x4cf6cf,'end'))),_0x3a2a93=null),_0x3f9574++;}return _0x4ac752;}function _0x1cbbb4(_0xcbab65,_0x49260c,_0x4cdd95){if(!_0x4cdd95)return!0x1;const _0x44d8d0=_0xcbab65['createPositionAfter'](_0x49260c),_0xd26a=_0xcbab65['createPositionBefore'](_0x4cdd95);return _0x44d8d0['isTouching'](_0xd26a);}const _0x5b4754=0x64;function executeCommandForSuggestions(_0x2401f8,_0x181c40,_0x45dc3f){for(;_0x45dc3f['length'];){const _0x37861e=_0x45dc3f['splice'](0x0,_0x5b4754);_0x2401f8['change'](()=>{for(const _0x44cf18 of _0x37861e)_0x44cf18['isInContent']&&_0x181c40['execute'](_0x44cf18['id']);});}}class ExecuteOnAllSuggestionsCommand extends ckeditor5['Command']{['_command'];['_suggestions'];constructor(_0x4256f4,_0x493669,_0x5bc32b){super(_0x4256f4),this['_command']=_0x493669,this['_suggestions']=_0x5bc32b,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x132f02=Array['from'](this['_suggestions']['values']())['some'](_0x34cd28=>_0x34cd28['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x132f02;}['execute'](){const _0x261da9=sortSuggestions(Array['from'](this['_suggestions']['values']()));for(const _0x132377 of _0x261da9){const _0x520971=_0x132377['getRanges']();if(!this['editor']['model']['canEditAt'](_0x520971))return;}executeCommandForSuggestions(this['editor']['model'],this['_command'],_0x261da9);}}class ExecuteOnSelectedSuggestionsCommand extends ckeditor5['Command']{['_command'];['_suggestions'];['_selectedSuggestions'];constructor(_0x4852c0,_0x279915,_0x5d6e3e){super(_0x4852c0),this['_command']=_0x279915,this['_suggestions']=_0x5d6e3e,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x3c823b=this['editor']['model']['document']['selection'],_0x84319a=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=getSelectedSuggestions(_0x3c823b,_0x84319a),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0x44b755=sortSuggestions(Array['from'](this['_selectedSuggestions']));for(const _0x130b2b of _0x44b755){const _0x1c59a4=_0x130b2b['getRanges']();if(!this['editor']['model']['canEditAt'](_0x1c59a4))return;}executeCommandForSuggestions(this['editor']['model'],this['_command'],_0x44b755);}}class Suggestion extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['type'];['subType'];['author'];['creator'];['isExternal'];['data'];['createdAt'];['_originalSuggestionId'];['_isDataLoaded']=!0x1;['_model'];['_onAccept'];['_onDiscard'];['_onAttributesChange'];['_markerNames'];constructor(_0x35985b,_0x1cace3){super(),this['id']=_0x1cace3['id'],this['type']=_0x1cace3['type'],this['subType']=_0x1cace3['subType']||null,this['author']=_0x1cace3['author'],this['creator']=_0x1cace3['creator']||_0x1cace3['author'],this['isExternal']=Boolean(_0x1cace3['attributes']&&_0x1cace3['attributes']['@external']),this['data']=null,this['_originalSuggestionId']=_0x1cace3['originalSuggestionId']||null,this['_model']=_0x35985b,this['_onAccept']=_0x1cace3['onAccept'],this['_onDiscard']=_0x1cace3['onDiscard'],this['_onAttributesChange']=_0x1cace3['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x1cace3['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 _0x1c4db4=this;for(;_0x1c4db4['previous'];)_0x1c4db4=_0x1c4db4['previous'];return _0x1c4db4;}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'](_0x8849c6){this['_markerNames']['add'](_0x8849c6);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0x1b5086=>this['_model']['markers']['get'](_0x1b5086))['filter'](_0x361e90=>_0x361e90);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0x121293=>{for(const _0x5479f0 of this['getMarkers']())_0x121293['removeMarker'](_0x5479f0);}),this['_markerNames']['clear']();}['removeMarker'](_0xea48d8){this['_model']['change'](_0x5e52c5=>{_0x5e52c5['removeMarker'](_0xea48d8);}),this['_markerNames']['delete'](_0xea48d8);}['addRange'](_0x942be4){const _0x3cf5eb='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0x3cf5eb),this['_model']['change'](_0x2164ca=>{_0x2164ca['addMarker'](_0x3cf5eb,{'range':_0x942be4,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x44578f){for(const _0x33235e of this['getRanges']())if(_0x33235e['isIntersecting'](_0x44578f))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0x40dc03=>_0x40dc03['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x50e33d,_0x450a08)=>[..._0x50e33d,..._0x450a08['getItems']()],[]);}['getFirstRange'](){return this['getFirstMarker']()?.['getRange']()||null;}['getContainedElement'](){const _0x3271b6=this['getRanges']();if(0x1!=_0x3271b6['length'])return null;const _0x4a087a=_0x3271b6[0x0],_0x3faaad=_0x4a087a['start']['nodeAfter'],_0x1bcac2=_0x4a087a['end']['nodeBefore'];return _0x3faaad instanceof ckeditor5['ModelElement']?_0x3faaad!=_0x1bcac2?null:_0x3faaad: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 _0x18d7af=[];let _0x4d64b6=this['head'];for(;_0x4d64b6;)_0x18d7af['push'](_0x4d64b6),_0x4d64b6=_0x4d64b6['next'];return _0x18d7af;}['setAttribute'](_0x3b940f,_0x9fee7){const _0xe314ec=_0xf3eb06(this['attributes']);set(_0xe314ec,_0x3b940f,_0x9fee7),_0x1df005(_0xe314ec,this['attributes'])||(this['attributes']=_0xe314ec,this['_onAttributesChange'](_0xe314ec));}['removeAttribute'](_0xb77055){const _0x1a3d0f=_0xf3eb06(this['attributes']);unset(_0x1a3d0f,_0xb77055),_0x1df005(_0x1a3d0f,this['attributes'])||(this['attributes']=_0x1a3d0f,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$1(_0x197dc1,_0x313ff7,_0x1029e9){const _0x27b7fc=_0x197dc1['t'],t=_0x197dc1['t'];switch(_0x313ff7){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',_0x1029e9);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1029e9);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1029e9);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1029e9);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1029e9);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',_0x1029e9);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1029e9);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',_0x1029e9);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1029e9);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1029e9);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1029e9);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1029e9);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1029e9);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1029e9);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1029e9);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1029e9);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1029e9);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1029e9);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1029e9);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1029e9);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1029e9);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1029e9);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1029e9);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1029e9);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x1029e9);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'},_0x1029e9);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x1029e9);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x1029e9);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1029e9);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1029e9);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1029e9);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1029e9);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1029e9);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'},_0x1029e9);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1029e9);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1029e9);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1029e9);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1029e9);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'},_0x1029e9);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1029e9);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'},_0x1029e9);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_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'},_0x1029e9);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1029e9);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'},_0x1029e9);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1029e9);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'},_0x1029e9);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1029e9);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x1029e9);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x1029e9);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x1029e9);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1029e9);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'},_0x1029e9);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1029e9);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 _0x27b7fc({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1029e9);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x27b7fc({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1029e9);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1029e9);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'},_0x1029e9);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'},_0x1029e9);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'},_0x1029e9);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x313ff7;}}class SuggestionDescriptionFactory{['_customCallbacks'];['_itemLabels'];['_itemLabelsCallbacks'];['_attributeLabels'];['_schema'];['_locale'];constructor(_0x2790e8,_0x5b2dd8){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x2790e8,this['_locale']=_0x5b2dd8;}['getDescriptions'](_0x18e00f){const _0x124a00=[],_0x518a2b=new Set(),_0x54b154=new Set();for(let _0x2290cd=0x0;_0x2290cd<_0x18e00f['length'];_0x2290cd++){const _0x1e9b96=_0x18e00f[_0x2290cd];if(!_0x1e9b96['isInContent'])continue;const _0xa70906=this['_handleCustomCallbackDescription'](_0x1e9b96);if(_0xa70906){if(null!=_0x1e9b96['subType']){if(_0x518a2b['has'](_0x1e9b96['subType']))continue;_0x518a2b['add'](_0x1e9b96['subType']);}_0x124a00['push'](_0xa70906);}else{if('attribute'==_0x1e9b96['type']){const _0x2ca326=_0x1e9b96['data']['key'];if(_0x54b154['has'](_0x2ca326))continue;_0x54b154['add'](_0x1e9b96['data']['key']),_0x2ca326==renameAttributeKey?this['_handleRenameSuggestionDescription'](_0x124a00,_0x1e9b96):this['_handleAttributeSuggestionDescription'](_0x124a00,_0x1e9b96);continue;}'insertion'!=_0x1e9b96['type']&&'deletion'!=_0x1e9b96['type']||this['_handleInsertRemoveSuggestionDescription'](_0x124a00,_0x1e9b96,_0x18e00f[_0x2290cd+0x1]);}}return this['_resolveDescriptionItems'](_0x124a00);}['registerDescriptionCallback'](_0x153713){this['_customCallbacks']['push'](_0x153713);}['registerElementLabel'](_0x26b1d9,_0x32b31d,_0x20c343=ckeditor5['priorities']['normal']){'function'==typeof _0x26b1d9?ckeditor5['insertToPriorityArray'](this['_itemLabelsCallbacks'],{'matchingCallback':_0x26b1d9,'label':_0x32b31d,'priority':_0x20c343}):this['_itemLabels']['set'](_0x26b1d9,_0x32b31d);}['registerAttributeLabel'](_0x42ab0c,_0x15b635){this['_attributeLabels']['set'](_0x42ab0c,_0x15b635);}['getItemLabel'](_0x3035b4,_0x20e51a=0x1){let _0x4f1c8d;for(const _0x2ce5f3 of this['_itemLabelsCallbacks'])if(_0x2ce5f3['matchingCallback'](_0x3035b4)){_0x4f1c8d=_0x2ce5f3['label'];break;}return _0x4f1c8d||(_0x4f1c8d=this['_itemLabels']['get'](_0x3035b4['name'])),_0x4f1c8d?_0x4f1c8d(_0x20e51a):0x1!==_0x20e51a?_0x20e51a+'\x20'+_0x3035b4['name']+'s':''+_0x3035b4['name'];}['_addDescriptionItems'](_0x489ee9,_0x1dd49b){const _0x568e6a=_0x1dd49b['getFirstRange']()['getWalker'](),_0x116fd3='insertion'==_0x1dd49b['type']?'add':'remove';for(const _0x12c40c of _0x568e6a){const _0x425749=_0x12c40c['item'],_0x222d01=_0x489ee9[_0x489ee9['length']-0x1];if(_0x425749['is']('$textProxy'))_0x222d01&&_0x222d01['type']['indexOf']('Container')>-0x1&&_0x489ee9['pop'](),_0x222d01&&'text'==_0x222d01['type']?_0x222d01[_0x116fd3]+=_0x425749['data']:_0x489ee9['push']({'type':'text','add':'add'==_0x116fd3?_0x425749['data']:'','remove':'remove'==_0x116fd3?_0x425749['data']:''});else{if(this['_schema']['isObject'](_0x425749)){const _0x206740=_0x425749;if(_0x222d01&&_0x222d01['type']['indexOf']('Container')>-0x1&&_0x489ee9['pop'](),'elementEnd'==_0x12c40c['type'])continue;_0x222d01&&_0x222d01['type']==_0x116fd3+'Object'&&_0x222d01['element']['name']==_0x206740['name']?_0x222d01['quantity']++:_0x489ee9['push']({'type':_0x116fd3+'Object','element':_0x206740,'quantity':0x1}),_0x568e6a['skip'](_0x2a4906=>!('elementEnd'==_0x2a4906['type']&&_0x2a4906['item']==_0x425749));}else{if(this['_schema']['checkChild'](_0x425749,'$text')||_0x425749['is']('element','softBreak')){const _0x1ab344=_0x425749;if('add'==_0x116fd3&&'elementStart'==_0x12c40c['type']||'remove'==_0x116fd3&&'elementEnd'==_0x12c40c['type'])continue;if(_0x222d01&&-0x1==_0x222d01['type']['indexOf']('Container')){'text'==_0x222d01['type']&&(_0x222d01[_0x116fd3]+='\x0a');continue;}let _0x4eda98;if(_0x4eda98='add'==_0x116fd3?_0x1ab344['nextSibling']&&!this['_schema']['isObject'](_0x1ab344['nextSibling'])?_0x1ab344['nextSibling']:null:_0x1ab344['previousSibling']&&!this['_schema']['isObject'](_0x1ab344['previousSibling'])?_0x1ab344['previousSibling']:null,_0x1ab344['isEmpty']||_0x4eda98&&_0x4eda98['isEmpty']){const _0x3965bf=_0x4eda98&&_0x4eda98['isEmpty']?_0x4eda98:_0x1ab344;_0x222d01&&_0x222d01['type']==_0x116fd3+'EmptyContainer'&&_0x222d01['element']['name']==_0x3965bf['name']?_0x222d01['quantity']++:_0x489ee9['push']({'type':_0x116fd3+'EmptyContainer','element':_0x3965bf,'quantity':0x1});}else _0x489ee9['push']({'type':_0x116fd3+'Container','element':_0x1ab344});}}}}}['_resolveDescriptionItems'](_0xeee80b){const _0x18149b=this['_locale'],_0x2fc1ce=[],_0x38f2ed=[],_0x51fabe=[];for(const _0x28a224 of _0xeee80b)switch(_0x28a224['type']){case'text':if(_0x28a224['add']=_0x28a224['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x28a224['remove']=_0x28a224['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x28a224['add']&&''!=_0x28a224['remove']){_0x2fc1ce['push']({'type':'replace','content':getTranslation$1(_0x18149b,'REPLACE_TEXT',['\x22'+_0x28a224['remove']+'\x22','\x22'+_0x28a224['add']+'\x22'])});continue;}if(null!=_0x28a224['add']['match'](/^ +$/)){_0x2fc1ce['push']({'type':'insertion','content':getTranslation$1(_0x18149b,'*Insert:*\x20%0',getTranslation$1(_0x18149b,'ELEMENT_SPACE',_0x28a224['add']['length']))});continue;}if(null!=_0x28a224['remove']['match'](/^ +$/)){_0x2fc1ce['push']({'type':'deletion','content':getTranslation$1(_0x18149b,'*Remove:*\x20%0',getTranslation$1(_0x18149b,'ELEMENT_SPACE',_0x28a224['remove']['length']))});continue;}if(''!=_0x28a224['add']){_0x2fc1ce['push']({'type':'insertion','content':getTranslation$1(_0x18149b,'*Insert:*\x20%0','\x22'+_0x28a224['add']+'\x22')});continue;}_0x2fc1ce['push']({'type':'deletion','content':getTranslation$1(_0x18149b,'*Remove:*\x20%0','\x22'+_0x28a224['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x2fc1ce['push']({'type':'insertion','content':getTranslation$1(_0x18149b,'*Insert:*\x20%0',this['getItemLabel'](_0x28a224['element'],_0x28a224['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x2fc1ce['push']({'type':'deletion','content':getTranslation$1(_0x18149b,'*Remove:*\x20%0',this['getItemLabel'](_0x28a224['element'],_0x28a224['quantity']))});continue;case'addContainer':_0x2fc1ce['push']({'type':'insertion','content':getTranslation$1(_0x18149b,'*Split:*\x20%0',this['getItemLabel'](_0x28a224['element'],_0x28a224['quantity']))});continue;case'removeContainer':_0x2fc1ce['push']({'type':'deletion','content':getTranslation$1(_0x18149b,'*Merge:*\x20%0',this['getItemLabel'](_0x28a224['element'],_0x28a224['quantity']))});continue;case'addFormat':_0x38f2ed['push'](_0x28a224['key']);continue;case'removeFormat':_0x51fabe['push'](_0x28a224['key']);continue;default:_0x2fc1ce['push'](_0x28a224);}if(_0x38f2ed['length']){const _0x420722=_0x38f2ed['map'](_0x3c938d=>this['_attributeLabels']['has'](_0x3c938d)?this['_attributeLabels']['get'](_0x3c938d):_0x3c938d)['join'](',\x20');_0x2fc1ce['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Set\x20format:*\x20%0',_0x420722)});}if(_0x51fabe['length']){const _0x2209fe=_0x51fabe['map'](_0x532840=>this['_attributeLabels']['has'](_0x532840)?this['_attributeLabels']['get'](_0x532840):_0x532840)['join'](',\x20');_0x2fc1ce['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Remove\x20format:*\x20%0',_0x2209fe)});}return _0x2fc1ce;}['_handleCustomCallbackDescription'](_0x4970f7){for(const _0x2baf89 of this['_customCallbacks']){const _0x475c65=_0x2baf89(_0x4970f7);if(_0x475c65&&'type'in _0x475c65)return _0x475c65;}}['_handleAttributeSuggestionDescription'](_0x24fe4e,_0x3fadb4){const _0x42f948=_0x3fadb4['data'],_0x1bb795=void 0x0===_0x42f948['newValue']?'removeFormat':'addFormat';_0x24fe4e['push']({'type':_0x1bb795,'key':_0x42f948['key']});}['_handleRenameSuggestionDescription'](_0x469c99,_0x10db23){_0x469c99['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x10db23['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x1c3bed,_0x555019,_0xf61437){if(this['_addDescriptionItems'](_0x1c3bed,_0x555019),_0xf61437&&_0xf61437['getFirstRange']()&&!_0x555019['getFirstRange']()['end']['isEqual'](_0xf61437['getFirstRange']()['start'])){const _0x30daf0=_0x1c3bed[_0x1c3bed['length']-0x1],_0x1677fd='insertion'==_0x555019['type']?'add':'remove';_0x30daf0&&'text'==_0x30daf0['type']&&(_0x30daf0[_0x1677fd]+='\x0a');}}}class TrackChangesAIAssistant extends ckeditor5['Plugin']{['afterInit'](){const _0x554645=this['editor'],_0x2326b8=_0x554645['plugins']['get']('TrackChangesEditing');_0x554645['commands']['get']('showAIAssistant')&&_0x2326b8['enableCommand']('showAIAssistant');}}class _0x50eed2 extends ckeditor5['Plugin']{['afterInit'](){const _0x5c4ec9=this['editor'],_0x52f47e=_0x5c4ec9['plugins']['get']('TrackChangesEditing');_0x5c4ec9['commands']['get']('toggleAi')&&_0x52f47e['enableCommand']('toggleAi');}}class TrackChangesAIQuickActions extends ckeditor5['Plugin']{['afterInit'](){const _0x1e69e7=this['editor'],_0x52bf0d=_0x1e69e7['plugins']['get']('TrackChangesEditing');_0x1e69e7['commands']['get']('aiQuickAction')&&_0x52bf0d['enableCommand']('aiQuickAction');}}class TrackChangesAlignment extends ckeditor5['Plugin']{['afterInit'](){const _0xd4e2c8=this['editor'],_0x5dedc7=_0xd4e2c8['locale'];if(!_0xd4e2c8['plugins']['has']('AlignmentEditing'))return;const _0x5e0064=_0xd4e2c8['plugins']['get']('TrackChangesEditing');_0x5e0064['enableDefaultAttributesIntegration']('alignment'),_0x5e0064['descriptionFactory']['registerAttributeLabel']('alignment',getTranslation$1(_0x5dedc7,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x46a358=this['editor'],_0x3b76bb=_0x46a358['locale'];_0x46a358['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x224569=>{if('formatBlock'!=_0x224569['type'])return;const {data:_0x3c84eb}=_0x224569;if(_0x3c84eb&&'alignment'==_0x3c84eb['commandName']){const _0x56087f=_0x3c84eb['commandParams'][0x0]['value'];return{'type':'format','content':getTranslation$1(_0x3b76bb,'*Format:*\x20%0',function(_0x225f0e){switch(_0x225f0e){case'left':return getTranslation$1(_0x3b76bb,'FORMAT_ALIGN_TO_LEFT');case'right':return getTranslation$1(_0x3b76bb,'FORMAT_ALIGN_TO_RIGHT');case'center':return getTranslation$1(_0x3b76bb,'FORMAT_ALIGN_TO_CENTER');case'justify':return getTranslation$1(_0x3b76bb,'FORMAT_JUSTIFY_TEXT');}}(_0x56087f))};}});}}const basicStylesPlugins=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class TrackChangesBasicStyles extends ckeditor5['Plugin']{['afterInit'](){const _0x45f986=this['editor'],_0x2efb7a=_0x45f986['plugins']['get']('TrackChangesEditing'),_0x5bb4ec=_0x45f986['locale'];for(const _0x20fe21 of basicStylesPlugins){if(!_0x45f986['plugins']['has'](_0x20fe21))continue;const _0x20d6b5=_0x20fe21['slice'](0x0,-0x7)['toLowerCase'](),_0x507dd1='FORMAT_'+_0x20d6b5['toUpperCase']();_0x2efb7a['enableDefaultAttributesIntegration'](_0x20d6b5),_0x2efb7a['descriptionFactory']['registerAttributeLabel'](_0x20d6b5,getTranslation$1(_0x5bb4ec,_0x507dd1));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5581bd=this['editor'],_0x5cf271=_0x5581bd['locale'],_0x221f6b=_0x5581bd['plugins']['get']('TrackChangesEditing');function _0x32f2da(_0x16d7d7,_0x3f6297){_0x221f6b['descriptionFactory']['registerDescriptionCallback'](_0x2922d8=>{if('formatInline'!=_0x2922d8['type'])return;const {data:_0x802e09}=_0x2922d8;return _0x802e09&&_0x802e09['commandName']===_0x16d7d7?_0x802e09['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x5cf271,'*Format:*\x20%0',_0x3f6297)}:{'type':'format','content':getTranslation$1(_0x5cf271,'*Remove\x20format:*\x20%0',_0x3f6297)}:void 0x0;});}_0x32f2da('bold',getTranslation$1(_0x5cf271,'FORMAT_BOLD')),_0x32f2da('italic',getTranslation$1(_0x5cf271,'FORMAT_ITALIC')),_0x32f2da('underline',getTranslation$1(_0x5cf271,'FORMAT_UNDERLINE')),_0x32f2da('code',getTranslation$1(_0x5cf271,'FORMAT_CODE')),_0x32f2da('strikethrough',getTranslation$1(_0x5cf271,'FORMAT_STRIKETHROUGH')),_0x32f2da('subscript',getTranslation$1(_0x5cf271,'FORMAT_SUBSCRIPT')),_0x32f2da('superscript',getTranslation$1(_0x5cf271,'FORMAT_SUPERSCRIPT'));}}class TrackChangesBlockQuote extends ckeditor5['Plugin']{['afterInit'](){const _0x3ea495=this['editor'],_0x49bafd=_0x3ea495['locale'];if(!_0x3ea495['plugins']['has']('BlockQuoteEditing'))return;const _0x1c95a7=_0x3ea495['plugins']['get']('TrackChangesEditing'),_0x7a11d2=this['editor']['commands']['get']('blockQuote');_0x1c95a7['enableCommand']('blockQuote',(_0x259274,_0x20ee55={})=>{const _0x46acc8=this['editor']['model']['document']['selection'],_0x57bcd0=_0x20ee55&&void 0x0!==_0x20ee55['forceValue']?_0x20ee55['forceValue']:!_0x7a11d2['value'];let _0x9e953=[];if(_0x57bcd0){const _0x2eba6c=Array['from'](_0x46acc8['getSelectedBlocks']())['filter'](_0x2b48f3=>isInQuote(_0x2b48f3)||checkCanBeQuoted(_0x2b48f3,this['editor']['model']['schema']));_0x9e953=getRangesOfBlockGroups(_0x2eba6c,_0x3ea495['model']);}else{const _0x5063f6=Array['from'](_0x46acc8['getSelectedBlocks']())['filter'](_0xa23885=>isInQuote(_0xa23885));_0x9e953=getRangesOfBlockGroups(_0x5063f6,_0x3ea495['model']);}_0x3ea495['model']['change'](()=>{for(const _0x46e5a6 of _0x9e953)_0x1c95a7['markBlockFormat'](_0x46e5a6,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x57bcd0}]});});}),_0x1c95a7['descriptionFactory']['registerDescriptionCallback'](_0x1c2e44=>{const {data:_0x262b68}=_0x1c2e44;if(_0x262b68&&'blockQuote'==_0x262b68['commandName']){const _0x55690b=getTranslation$1(_0x49bafd,'ELEMENT_BLOCK_QUOTE');return _0x262b68['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x49bafd,'*Set\x20format:*\x20%0',_0x55690b)}:{'type':'format','content':getTranslation$1(_0x49bafd,'*Remove\x20format:*\x20%0',_0x55690b)};}});}}function checkCanBeQuoted(_0x138324,_0x2a53df){const _0x580c3b=_0x2a53df['checkChild'](_0x138324['parent'],'blockQuote'),_0x5b39cc=_0x2a53df['checkChild'](['$root','blockQuote'],_0x138324);return _0x580c3b&&_0x5b39cc;}function isInQuote(_0x1d1d04){return'blockQuote'==_0x1d1d04['parent']['name'];}class _0x19059b extends ckeditor5['Plugin']{['afterInit'](){const _0xa56a16=this['editor'],_0x2cf8e7=_0xa56a16['locale'],_0x51eb13=_0xa56a16['plugins']['get']('TrackChangesEditing');_0xa56a16['plugins']['has']('BookmarkEditing')&&(_0x51eb13['enableCommand']('insertBookmark'),_0x51eb13['enableDefaultAttributesIntegration']('updateBookmark'),_0x51eb13['descriptionFactory']['registerDescriptionCallback'](_0x14b49c=>{if('insertion'!=_0x14b49c['type']&&'deletion'!=_0x14b49c['type']&&'attribute'!=_0x14b49c['type'])return;const _0x30a9f7=_0x14b49c['getContainedElement']();if(null==_0x30a9f7)return;if(!_0x30a9f7['is']('element','bookmark'))return;const _0x416be7=_0x30a9f7['getAttribute']('bookmarkId');if('insertion'==_0x14b49c['type'])return{'type':'insertion','content':getTranslation$1(_0x2cf8e7,'*Insert:*\x20%0','\x22'+_0x416be7+'\x22\x20'+getTranslation$1(_0x2cf8e7,'ELEMENT_BOOKMARK'))};if('deletion'==_0x14b49c['type'])return{'type':'deletion','content':getTranslation$1(_0x2cf8e7,'*Remove:*\x20%0','\x22'+_0x416be7+'\x22\x20'+getTranslation$1(_0x2cf8e7,'ELEMENT_BOOKMARK'))};const {data:_0x268406}=_0x14b49c;if(!_0x268406||'bookmarkId'!=_0x268406['key'])return;return{'type':'format','content':getTranslation$1(_0x2cf8e7,'*Set\x20bookmark:*\x20%0','\x22'+_0x268406['newValue']+'\x22')};}));}}class _0x2cc028 extends ckeditor5['Plugin']{['afterInit'](){const _0xfb52a3=this['editor'];_0xfb52a3['plugins']['has']('CaseChange')&&(_0xfb52a3['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0xfb52a3['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0xfb52a3['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}}class _0xde2cd3 extends ckeditor5['Plugin']{['afterInit'](){const _0x5a6624=this['editor'];_0x5a6624['commands']['get']('ckbox')&&_0x5a6624['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}}class _0x1dfc01 extends ckeditor5['Plugin']{['afterInit'](){const _0x3420b3=this['editor'];if(!_0x3420b3['plugins']['has']('CodeBlock'))return;const _0x496555=_0x3420b3['plugins']['get']('TrackChangesEditing'),_0x44f750=_0x3420b3['locale'],_0x1b76ab=_0x3420b3['config']['get']('codeBlock')['languages'],_0x23a125=_0x3420b3['commands']['get']('codeBlock');_0x496555['enableCommand']('indentCodeBlock'),_0x496555['enableCommand']('outdentCodeBlock'),_0x496555['enableCommand']('codeBlock',(_0x3356f1,_0xfe54c4={})=>{const _0x51d565=_0x3420b3['model'],_0x11c81d=_0x3420b3['model']['document']['selection'],_0x3f0667=_0xfe54c4&&void 0x0!==_0xfe54c4['forceValue']?_0xfe54c4['forceValue']:!_0x23a125['value'];let _0xdb201a;_0xfe54c4['language']||(_0xfe54c4['language']=_0x1b76ab[0x0]['language']),_0xdb201a=_0x3f0667?Array['from'](_0x11c81d['getSelectedBlocks']())['filter'](_0x2df67e=>_0x31e720(_0x2df67e)||_0x57467f(_0x2df67e,_0x51d565['schema'])):Array['from'](_0x11c81d['getSelectedBlocks']())['filter'](_0xb644e3=>_0x31e720(_0xb644e3));const _0x36681e=getRangesOfBlockGroups(_0xdb201a,_0x51d565);_0x51d565['change'](()=>{for(const _0x1c8f2a of _0x36681e)_0x496555['markBlockFormat'](_0x1c8f2a,{'commandName':'codeBlock','commandParams':[{..._0xfe54c4,'forceValue':_0x3f0667}],'formatGroupId':'blockName'});});}),(_0x496555['descriptionFactory']['registerElementLabel']('codeBlock',_0x34a16a=>getTranslation$1(_0x44f750,'ELEMENT_CODE_BLOCK',_0x34a16a)),_0x496555['descriptionFactory']['registerDescriptionCallback'](_0x2ed898=>{if('formatBlock'!=_0x2ed898['type'])return;const _0x891f30=_0x44f750['t'],{data:_0x1fedfd}=_0x2ed898;if(!_0x1fedfd||'codeBlock'!=_0x1fedfd['commandName'])return;const _0x569220=_0x1fedfd['commandParams'][0x0]['language'],_0x3d85ca=_0x1b76ab['find'](_0x1b474e=>_0x1b474e['language']===_0x569220)['label'],_0x1d41f5=_0x891f30(_0x3d85ca)['toLowerCase']();return _0x1fedfd['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x44f750,'*Set\x20format:*\x20%0',getTranslation$1(_0x44f750,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x1d41f5+')')}:{'type':'format','content':getTranslation$1(_0x44f750,'*Remove\x20format:*\x20%0',getTranslation$1(_0x44f750,'ELEMENT_CODE_BLOCK',0x1))};}));}}function _0x57467f(_0x2ce07f,_0x32ac71){return!_0x2ce07f['is']('rootElement')&&!_0x32ac71['isLimit'](_0x2ce07f)&&_0x32ac71['checkChild'](_0x2ce07f['parent'],'codeBlock');}function _0x31e720(_0x434a31){return'codeBlock'==_0x434a31['name'];}class TrackChangesComments extends ckeditor5['Plugin']{['afterInit'](){const _0x5c95ad=this['editor'];if(!_0x5c95ad['plugins']['has']('CommentsEditing'))return;_0x5c95ad['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}}class TrackChangesDeleteCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Delete']];}['init'](){const _0x485f76=this['editor'],_0x26b1a3=_0x485f76['plugins']['get']('TrackChangesEditing');_0x26b1a3['enableCommand']('delete');const _0x57f783=_0x485f76['commands']['get']('deleteForward');_0x26b1a3['enableCommand']('deleteForward',(_0xe0d9ad,_0x1a9f07={})=>{const _0x3e4827=_0x485f76['model']['createSelection'](_0x485f76['model']['document']['selection']);_0x3e4827['isCollapsed']&&_0x485f76['model']['modifySelection'](_0x3e4827,{'direction':'forward','unit':_0x1a9f07['unit']});const _0xbf25c2=_0x3e4827['getFirstRange'](),_0x5c7460=ckeditor5['ModelLiveRange']['fromRange'](_0xbf25c2);let _0x2cb620;_0xe0d9ad(_0x1a9f07),_0x2cb620='$graveyard'==_0x5c7460['root']['rootName']?_0x485f76['model']['createRange'](_0xbf25c2['start']):_0x485f76['model']['createRange'](_0x5c7460['start'],_0x5c7460['end']),_0x5c7460['detach'](),_0x485f76['model']['enqueueChange'](_0x57f783['buffer']['batch'],_0x32408b=>{_0x57f783['buffer']['lock'](),_0x32408b['setSelection'](_0x32408b['createRange'](_0x2cb620['end'])),_0x57f783['buffer']['unlock']();});});}}class TrackChangesList extends ckeditor5['Plugin']{['afterInit'](){const _0x5bead5=this['editor'];if(!_0x5bead5['plugins']['has']('ListEditing'))return;const _0x4e3d07=_0x5bead5['locale'],_0x333c63=_0x5bead5['plugins']['get']('TrackChangesEditing'),_0xa734ba=_0x5bead5['plugins']['has']('TodoListEditing'),_0x2af4ed=!!_0x5bead5['config']['get']('list.multiBlock');function _0x1555fc(_0x5d96a4){return{'type':'format','content':''+getTranslation$1(_0x4e3d07,'*Set\x20format:*\x20%0',_0x5d96a4)};}function _0x292b73(_0x4f5ad6){return{'type':'format','content':''+getTranslation$1(_0x4e3d07,'*Remove\x20format:*\x20%0',_0x4f5ad6)};}_0x333c63['enableDefaultAttributesIntegration']('numberedList'),_0x333c63['enableDefaultAttributesIntegration']('bulletedList'),_0x333c63['enableDefaultAttributesIntegration']('customNumberedList'),_0x333c63['enableDefaultAttributesIntegration']('customBulletedList'),_0x333c63['enableDefaultAttributesIntegration']('indentList'),_0x333c63['enableDefaultAttributesIntegration']('outdentList'),_0x333c63['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x333c63['enableDefaultAttributesIntegration']('splitListItemBefore'),_0x2af4ed&&(_0x333c63['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x333c63['enableDefaultAttributesIntegration']('mergeListItemForward')),_0xa734ba&&(_0x333c63['enableDefaultAttributesIntegration']('todoList'),_0x333c63['enableDefaultAttributesIntegration']('checkTodoList'),_0x333c63['descriptionFactory']['registerDescriptionCallback'](_0xad3acb=>{const {data:_0x1325fa}=_0xad3acb;if(_0x1325fa&&'todoListChecked'==_0x1325fa['key'])return{'type':'format','content':_0x1325fa['newValue']?getTranslation$1(_0x4e3d07,'*Check\x20item*'):getTranslation$1(_0x4e3d07,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0x5f03aa=>{if(_0x5f03aa['batch']['isUndo'])return!0x1;let _0x45d8ce=!0x1;const _0x17c973=_0x333c63['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x59d7b9=>'todoListChecked'===_0x333c63['_getAttributeKey'](_0x59d7b9));for(const _0x3cd96a of _0x17c973){'todo'!=_0x3cd96a['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x333c63['_findSuggestions'](_0x3cd96a['getFirstRange'](),'attribute')['find'](_0x57ea9f=>'listType'===_0x333c63['_getAttributeKey'](_0x57ea9f['suggestion']))||(_0x5f03aa['removeMarker'](_0x3cd96a['getFirstMarker']()),_0x45d8ce=!0x0));}return _0x45d8ce;})),_0x333c63['descriptionFactory']['registerAttributeLabel']('listIndent',getTranslation$1(_0x4e3d07,'FORMAT_INDENT'));const _0x5e3c53={'type':'format','content':''};_0x333c63['descriptionFactory']['registerDescriptionCallback'](_0x33b18f=>{const {data:_0x19492f}=_0x33b18f;if(!_0x19492f||'listType'!=_0x19492f['key'])return;let _0x3281c4=_0x33b18f['head'];for(;_0x3281c4;){if(_0x3281c4['data']&&(('listStyle'==_0x3281c4['data']['key']||'listMarkerStyle'==_0x3281c4['data']['key'])&&(_0x3281c4['data']['newValue']&&'default'!=_0x3281c4['data']['newValue']||'default'!=_0x3281c4['data']['oldValue']&&!_0x19492f['newValue'])||!_0x2af4ed&&_0x3281c4['data']['key']==renameAttributeKey))return _0x5e3c53;_0x3281c4=_0x3281c4['next'];}if(null==_0x19492f['newValue'])switch(_0x19492f['oldValue']){case'bulleted':return _0x292b73(getTranslation$1(_0x4e3d07,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x292b73(getTranslation$1(_0x4e3d07,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x292b73(getTranslation$1(_0x4e3d07,'ELEMENT_TODO_LIST'));}switch(_0x19492f['newValue']){case'bulleted':return _0x1555fc(getTranslation$1(_0x4e3d07,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x1555fc(getTranslation$1(_0x4e3d07,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x1555fc(getTranslation$1(_0x4e3d07,'ELEMENT_TODO_LIST'));}}),_0x333c63['descriptionFactory']['registerDescriptionCallback'](_0x53c43d=>{const {data:_0x16caa2}=_0x53c43d;if(_0x16caa2&&'listIndent'==_0x16caa2['key'])return null==_0x16caa2['newValue']||null==_0x16caa2['oldValue']&&0x0==_0x16caa2['newValue']?_0x5e3c53:void 0x0;}),_0x333c63['descriptionFactory']['registerDescriptionCallback'](_0x3ac2dc=>{if('attribute'!=_0x3ac2dc['type'])return;const {data:_0x12c337}=_0x3ac2dc;if(!_0x12c337||'listItemId'!=_0x12c337['key'])return;const _0x4b898e=checkSiblingsListItemId(_0x3ac2dc);return'newValue'==_0x4b898e?{'type':'format','content':getTranslation$1(_0x4e3d07,'*Merge:*\x20list\x20item')}:'oldValue'==_0x4b898e?{'type':'format','content':getTranslation$1(_0x4e3d07,'*Split:*\x20list\x20item')}:_0x5e3c53;}),_0x5bead5['model']['document']['registerPostFixer'](_0x3fbd60=>this['listItemIdFixer'](_0x3fbd60)),_0x5bead5['model']['document']['registerPostFixer'](_0x5e2c41=>this['noTrackChangesFixer'](_0x5e2c41)),_0x5bead5['model']['document']['on']('change:data',(_0x2449e4,_0x435610)=>{if(_0x435610['isUndo']||!_0x435610['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x26b8ca){if(_0x26b8ca['batch']['isUndo']||!_0x26b8ca['batch']['isLocal'])return!0x1;let _0x2fd1fc=!0x1;const _0x147b48=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x3aad8c=>_0x3aad8c['data']&&'listItemId'==_0x3aad8c['data']['key'])['filter'](_0x1ead71=>_0x1ead71['data']['newValue']&&_0x1ead71['data']['oldValue']);for(const _0x18e477 of _0x147b48)checkSiblingsListItemId(_0x18e477)||(_0x26b8ca['removeMarker'](_0x18e477['getFirstMarker']()),_0x2fd1fc=!0x0);return _0x2fd1fc;}['noTrackChangesFixer'](_0x57faf6){if(_0x57faf6['batch']['isUndo']||!_0x57faf6['batch']['isLocal'])return!0x1;const _0x33c4d1=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x33c4d1['trackChangesCommand']['value'])return!0x1;let _0x54b6c7=!0x1;const _0x441141=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'],_0x1bd210=this['editor']['model']['document']['differ']['getChanges']()['filter'](_0x35497c=>'attribute'==_0x35497c['type'])['filter'](_0x4fce3d=>_0x441141['includes'](_0x4fce3d['attributeKey']));if(0x0==_0x1bd210['length'])return _0x54b6c7;for(const _0x3f95aa of _0x1bd210){const _0x1b8b61=_0x33c4d1['_findSuggestions'](_0x3f95aa['range'],'attribute')['filter'](_0x3b0e0d=>!_0x3b0e0d['meta']['isNextTo'])['map'](_0x163265=>_0x163265['suggestion'])['filter'](_0x245dd1=>{const _0x5cf09f=_0x33c4d1['_getAttributeKey'](_0x245dd1);return _0x441141['includes'](_0x5cf09f);});if(_0x1b8b61['length']){for(const _0x108db8 of _0x1b8b61)_0x57faf6['removeMarker'](_0x108db8['getFirstMarker']());_0x54b6c7=!0x0;}}return _0x54b6c7;}['assureChains'](){const _0x254c9f=this['editor']['plugins']['get']('TrackChangesEditing'),_0x4c38c5=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'];let _0xd06b08;const _0x594e90=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x4ffc6e=>{if(_0x4ffc6e['data']['oldRange']||!_0x4ffc6e['data']['newRange'])return null;if(!_0x4ffc6e['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x100278}=_0x254c9f['_splitMarkerName'](_0x4ffc6e['name']);if(!_0x254c9f['hasSuggestion'](_0x100278))return null;const _0x493d6e=_0x254c9f['getSuggestion'](_0x100278);return _0x4c38c5['includes'](_0x493d6e['data']['key']);})['map'](_0xbc7098=>{const {id:_0x35af08}=_0x254c9f['_splitMarkerName'](_0xbc7098['name']),_0xc3d7bc=_0x254c9f['getSuggestion'](_0x35af08);return _0xd06b08=_0xc3d7bc['attributes']['groupId'],_0xc3d7bc['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x594e90['size'])return;const _0x27e0d3=_0x254c9f['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x3804b8=>'attribute'==_0x3804b8['type']&&_0x3804b8['data']&&_0x4c38c5['includes'](_0x3804b8['data']['key'])&&_0x3804b8['attributes']['groupId']!=_0xd06b08)['map'](_0x1852f3=>({'listItem':_0x1852f3['getFirstRange']()['start']['nodeAfter'],'groupId':_0x1852f3['attributes']['groupId']})),_0x367a9e=new Set();for(const {groupId:_0x1d2046,listItem:_0x3e777a}of _0x27e0d3)_0x594e90['has'](_0x3e777a)&&_0x367a9e['add'](_0x1d2046);for(const _0x5c1a1f of _0x254c9f['getSuggestions']())_0x367a9e['has'](_0x5c1a1f['attributes']['groupId'])&&_0x5c1a1f['setAttribute']('groupId',_0xd06b08);}['_supportLegacySuggestions'](){const _0x16ab67=this['editor'],_0x175e42=_0x16ab67['locale'],_0x49f5c9=_0x16ab67['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x49f5c9['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0xccfe17,_0x3ed4ea){const _0x16add9=[];for(let _0x56b7ab of _0xccfe17)_0x56b7ab['start']['nodeAfter']===_0x56b7ab['end']['parent']&&(_0x56b7ab=_0x16ab67['model']['createRange'](_0x16ab67['model']['createPositionAt'](_0x56b7ab['start']['nodeAfter'],0x0))),_0x16add9['push'](_0x56b7ab);_0x16ab67['model']['change'](_0x346079=>{const _0x12401c=_0x16ab67['model']['document']['selection'],_0x504cd3=Array['from'](_0x12401c['getRanges']())['map'](_0x5a1405=>ckeditor5['ModelLiveRange']['fromRange'](_0x5a1405));_0x346079['setSelection'](_0x16add9),_0x16ab67['commands']['get'](_0x3ed4ea['commandName'])['refresh'](),_0x3ed4ea['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x16ab67['execute'](_0x3ed4ea['commandName'],..._0x3ed4ea['commandParams']),_0x346079['setSelection'](_0x504cd3);for(const _0x47b49c of _0x504cd3)_0x47b49c['detach']();});}),_0x49f5c9['descriptionFactory']['registerElementLabel'](function(_0xc318dc){const _0x232b1d=!_0x16ab67['model']['schema']['isObject'](_0xc318dc),_0x7cd371=_0xc318dc['previousSibling'],_0x308788=_0xc318dc['nextSibling'],_0x1969cf=_0xc318dc['getAttribute']('listItemId'),_0x421858=!_0x7cd371||_0x7cd371['getAttribute']('listItemId')!==_0x1969cf,_0x598901=!_0x308788||_0x308788['getAttribute']('listItemId')!==_0x1969cf;return _0x232b1d&&Boolean(_0x1969cf)&&_0x421858&&_0x598901;},_0x1196a4=>getTranslation$1(_0x175e42,'ELEMENT_LIST_ITEM',_0x1196a4));}['_registerLegacyDescription'](){const _0x14908b=this['editor'],_0x357ed8=_0x14908b['locale'];function _0x42b87b(_0x19c896){const _0x56f7fe=_0x14908b['commands']['get']('bulletedList')['value'],_0x1ea7d3=_0x14908b['commands']['get']('numberedList')['value'];return'numberedList'===_0x19c896?_0x56f7fe:_0x1ea7d3;}_0x14908b['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x15f072){if('formatBlock'!=_0x15f072['type'])return;const {data:_0x45bc3f}=_0x15f072;if(!_0x45bc3f)return;let _0x5e436b,_0x2ee4dd,_0x121bca,_0x210a2f;switch(_0x45bc3f['commandName']){case'bulletedList':_0x121bca=_0x45bc3f['commandParams'][0x0]['forceValue'],_0x210a2f=_0x42b87b(_0x45bc3f['commandName']),_0x5e436b=_0x121bca?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x210a2f&&_0x14908b['config']['get']('list.multiBlock')||(_0x5e436b='*Change\x20to:*\x20%0'),_0x2ee4dd={'type':'format','content':getTranslation$1(_0x357ed8,_0x5e436b,getTranslation$1(_0x357ed8,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x121bca=_0x45bc3f['commandParams'][0x0]['forceValue'],_0x210a2f=_0x42b87b(_0x45bc3f['commandName']),_0x5e436b=_0x121bca?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x210a2f&&_0x14908b['config']['get']('list.multiBlock')||(_0x5e436b='*Change\x20to:*\x20%0'),_0x2ee4dd={'type':'format','content':getTranslation$1(_0x357ed8,_0x5e436b,getTranslation$1(_0x357ed8,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x5e436b='*Indent:*\x20%0',_0x2ee4dd={'type':'format','content':getTranslation$1(_0x357ed8,_0x5e436b,getTranslation$1(_0x357ed8,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x5e436b=function(_0x25ef68){const _0x26a465=_0x25ef68['getFirstRange']();let _0x28b413=_0x26a465['start']['nodeAfter'];for(;_0x28b413&&_0x26a465['containsItem'](_0x28b413);){if(_0x28b413['getAttribute']('listIndent')>0x0)return!0x1;_0x28b413=_0x28b413['nextSibling'];}return!0x0;}(_0x15f072)?getTranslation$1(_0x357ed8,'*Format:*\x20remove\x20from\x20%0',getTranslation$1(_0x357ed8,function(_0x322711){return'ELEMENT_'+_0x322711['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x15f072))):getTranslation$1(_0x357ed8,'*Outdent:*\x20%0',getTranslation$1(_0x357ed8,'ELEMENT_LIST_ITEM')),_0x2ee4dd={'type':'format','content':_0x5e436b};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x45bc3f['multipleBlocks']&&(_0x5e436b='*Merge:*\x20%0',_0x2ee4dd={'type':'deletion','content':getTranslation$1(_0x357ed8,_0x5e436b,getTranslation$1(_0x357ed8,'ELEMENT_LIST_ITEM'))});}return _0x2ee4dd;});}}function checkSiblingsListItemId(_0x111a7f){let _0x531c0b=_0x111a7f['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x531c0b;){const _0x81cab=_0x531c0b['getAttribute']('listItemId');if(!_0x81cab)return!0x1;if(_0x81cab==_0x111a7f['data']['newValue'])return'newValue';if(_0x81cab==_0x111a7f['data']['oldValue'])return'oldValue';_0x531c0b=_0x531c0b['previousSibling'];}return!0x1;}class TrackChangesDocumentListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x50dd7a=this['editor']['config']['get']('list.properties'),_0x2b9c49=this['editor']['plugins']['get']('TrackChangesEditing');_0x50dd7a['styles']&&_0x2b9c49['enableDefaultAttributesIntegration']('listStyle'),_0x50dd7a['reversed']&&_0x2b9c49['enableDefaultAttributesIntegration']('listReversed'),_0x50dd7a['startIndex']&&_0x2b9c49['enableDefaultAttributesIntegration']('listStart');const _0xb7d37c={'type':'format','content':''};_0x2b9c49['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x1b02fd=this['editor']['locale'];_0x2b9c49['descriptionFactory']['registerAttributeLabel']('listReversed',getTranslation$1(_0x1b02fd,'FORMAT_LIST_REVERSED')),_0x2b9c49['descriptionFactory']['registerDescriptionCallback'](_0x6866a5=>{const {data:_0x327d1c}=_0x6866a5;if(_0x327d1c&&'listReversed'==_0x327d1c['key'])return null==_0x327d1c['newValue']||0x0==_0x327d1c['newValue']&&null==_0x327d1c['oldValue']?_0xb7d37c:void 0x0;}),_0x2b9c49['descriptionFactory']['registerAttributeLabel']('listStart',getTranslation$1(_0x1b02fd,'FORMAT_LIST_START')),_0x2b9c49['descriptionFactory']['registerDescriptionCallback'](_0x392c0f=>{const {data:_0x566454}=_0x392c0f;if(_0x566454&&'listStart'==_0x566454['key'])return null==_0x566454['newValue']||0x1==_0x566454['newValue']&&null==_0x566454['oldValue']?_0xb7d37c:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x17d812=>{if(_0x17d812['batch']['isUndo'])return!0x1;let _0x338318=!0x1;const _0x386e59=_0x2b9c49['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x3f4044=>{const _0x28f9ac=_0x2b9c49['_getAttributeKey'](_0x3f4044);return'listStart'==_0x28f9ac||'listReversed'==_0x28f9ac;});for(const _0x30cf3c of _0x386e59){const _0x2fcb2d=_0x30cf3c['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');if('numbered'==_0x2fcb2d||'customNumbered'==_0x2fcb2d)continue;_0x2b9c49['_findSuggestions'](_0x30cf3c['getFirstRange'](),'attribute')['find'](_0x405a0d=>'listType'==_0x2b9c49['_getAttributeKey'](_0x405a0d['suggestion']))||(_0x17d812['removeMarker'](_0x30cf3c['getFirstMarker']()),_0x338318=!0x0);}return _0x338318;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0x4d16d5){const _0x1b5e00=this['editor']['locale'],{data:_0x5683cc}=_0x4d16d5,_0x10cc4e={'type':'format','content':''};if(!_0x5683cc||'listStyle'!=_0x5683cc['key'])return;if(!_0x5683cc['oldValue'])return'default'==_0x5683cc['newValue']?_0x10cc4e:{'type':'format','content':''+getTranslation$1(_0x1b5e00,'*Set\x20format:*\x20%0',getTranslation$1(_0x1b5e00,this['_getTranslationKeyForListStyle'](_0x5683cc['newValue'])))};if(!_0x5683cc['newValue']){if('default'==_0x5683cc['oldValue'])return _0x10cc4e;let _0x2ca7b6=_0x4d16d5['head'];for(;_0x2ca7b6;){if(_0x2ca7b6['data']&&'listType'==_0x2ca7b6['data']['key']&&_0x2ca7b6['data']['newValue'])return _0x10cc4e;_0x2ca7b6=_0x2ca7b6['next'];}return{'type':'format','content':''+getTranslation$1(_0x1b5e00,'*Remove\x20format:*\x20%0',getTranslation$1(_0x1b5e00,this['_getTranslationKeyForListStyle'](_0x5683cc['oldValue'])))};}if('default'!=_0x5683cc['newValue'])return{'type':'format','content':''+getTranslation$1(_0x1b5e00,'*Set\x20format:*\x20%0',getTranslation$1(_0x1b5e00,this['_getTranslationKeyForListStyle'](_0x5683cc['newValue'])))};let _0x2c258c=_0x4d16d5['head'];for(;_0x2c258c;){if(_0x2c258c['data']&&'listType'==_0x2c258c['data']['key']&&_0x2c258c['data']['newValue']&&_0x2c258c['data']['oldValue'])return _0x10cc4e;_0x2c258c=_0x2c258c['next'];}return{'type':'format','content':getTranslation$1(_0x1b5e00,'*Set\x20format:*\x20%0',getTranslation$1(_0x1b5e00,'ELEMENT_'+_0x4d16d5['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0x3e3034=this['editor'],_0x35bd7d=_0x3e3034['locale'];_0x3e3034['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x259ee5=>{if('formatBlock'!=_0x259ee5['type'])return;const {data:_0x525658}=_0x259ee5;if(!_0x525658)return;let _0x35b28c,_0x1a2e47;switch(_0x525658['commandName']){case'listStyle':_0x35b28c='*Change\x20to:*\x20%0',_0x1a2e47={'type':'format','content':getTranslation$1(_0x35bd7d,_0x35b28c,getTranslation$1(_0x35bd7d,this['_getTranslationKeyForListStyle'](_0x525658['commandParams'][0x0]['type'])))};break;case'listReversed':_0x35b28c=_0x525658['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x1a2e47={'type':'format','content':getTranslation$1(_0x35bd7d,_0x35b28c)};break;case'listStart':_0x35b28c='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x1a2e47={'type':'format','content':getTranslation$1(_0x35bd7d,_0x35b28c,_0x525658['commandParams'][0x0]['startIndex'])};}return _0x1a2e47;});}['_getTranslationKeyForListStyle'](_0x31a928){return'ELEMENT_'+getListTypeFromListStyleType(_0x31a928)['toUpperCase']()+'_LIST_'+_0x31a928['toUpperCase']()['replace'](/-/g,'_');}}const _0x97e7da=['disc','circle','square'],_0x591b17=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin','arabic-indic'];function getListTypeFromListStyleType(_0x493347){return _0x97e7da['includes'](_0x493347)?'bulleted':_0x591b17['includes'](_0x493347)?'numbered':null;}class _0x200c41 extends ckeditor5['Plugin']{['afterInit'](){const _0x2d1c77=this['editor'];_0x2d1c77['commands']['get']('emoji')&&_0x2d1c77['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}}class TrackChangesEnterCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Enter']];}['init'](){const _0x10c36e=this['editor'],_0x2e0784=_0x10c36e['plugins']['get']('TrackChangesEditing'),_0x57c203=_0x10c36e['commands']['get']('enter');_0x2e0784['enableCommand']('enter',()=>{_0x10c36e['model']['change'](_0x5e5a39=>{const _0x58d563=_0x10c36e['model']['document']['selection'],_0x4e67f5=_0x58d563['getFirstPosition'](),_0x1826b6=ckeditor5['ModelLiveRange']['fromRange'](_0x58d563['getFirstRange']());if(_0x57c203['enterBlock'](_0x5e5a39)){const _0x2fb975=_0x10c36e['model']['createPositionAt'](_0x4e67f5['parent']['nextSibling'],0x0),_0x596cfc=_0x5e5a39['createRange'](_0x4e67f5,_0x2fb975);_0x2e0784['markInsertion'](_0x596cfc);}else _0x5e5a39['setSelection'](_0x5e5a39['createRange'](_0x1826b6['end']));_0x1826b6['detach'](),_0x57c203['fire']('afterExecute',{'writer':_0x5e5a39});});});}}class _0x2a2e14 extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x4c7f3d=this['editor']['plugins']['get']('TrackChangesEditing');_0x4c7f3d['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x4c7f3d['enableCommand']('findNext'),_0x4c7f3d['enableCommand']('findPrevious'),_0x4c7f3d['enableCommand']('replace'),_0x4c7f3d['enableCommand']('replaceAll');}['handleFindCommand'](_0x42ea02,_0x123628,_0x463784={}){const _0x1c6488=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0x42ea02(_0x24d670=>{let _0x10208e=('string'==typeof _0x123628?_0x1c6488['findByTextCallback'](_0x123628,_0x463784):_0x123628)(_0x24d670);Array['isArray'](_0x10208e)&&(_0x10208e={'results':_0x10208e,'searchText':'string'==typeof _0x123628?_0x123628:''});const _0x4ca304=_0x10208e['results']['filter'](_0x3a07c3=>!0x1===this['_isInDeletionRange'](_0x3a07c3,_0x24d670['item']));return{..._0x10208e,'results':_0x4ca304};},_0x463784);}['_isInDeletionRange'](_0x100ca9,_0x4c1a3b){const _0x313d98=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x4c1a3b,_0x100ca9['start']),this['editor']['model']['createPositionAt'](_0x4c1a3b,_0x100ca9['end']));for(const _0x580d01 of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x313d98['getIntersection'](_0x580d01['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 _0x2ef7d3=this['editor']['locale'],_0x184d70=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x322306,commandName:_0xc96c29}of fontPlugins)this['editor']['plugins']['has'](_0x322306)&&_0x184d70['enableDefaultAttributesIntegration'](_0xc96c29);_0x184d70['descriptionFactory']['registerAttributeLabel']('fontSize',getTranslation$1(_0x2ef7d3,'FORMAT_FONT_SIZE')),_0x184d70['descriptionFactory']['registerAttributeLabel']('fontFamily',getTranslation$1(_0x2ef7d3,'FORMAT_FONT_FAMILY')),_0x184d70['descriptionFactory']['registerAttributeLabel']('fontColor',getTranslation$1(_0x2ef7d3,'FORMAT_FONT_COLOR')),_0x184d70['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',getTranslation$1(_0x2ef7d3,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x4e3c7e=this['editor'],_0x16a0e0=_0x4e3c7e['locale'];_0x4e3c7e['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x226c8f=>{const _0x1c2c24=_0x16a0e0['t'];if('formatInline'!=_0x226c8f['type'])return;const {data:_0xf723b2}=_0x226c8f;if(null!=_0xf723b2){if('fontSize'==_0xf723b2['commandName']){const _0x1f3b07=_0xf723b2['commandParams'][0x0]['value'];if(_0x1f3b07){const _0x24b3d0=_0x1c2c24(this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x346fc8=>_0x346fc8['model']==_0x1f3b07)['title'])['toLowerCase']();return{'type':'format','content':getTranslation$1(_0x16a0e0,'*Set\x20font\x20size:*\x20%0',_0x24b3d0)};}return{'type':'format','content':getTranslation$1(_0x16a0e0,'*Reset\x20font\x20size*')};}if('fontFamily'==_0xf723b2['commandName']){const _0x1ba945=_0xf723b2['commandParams'][0x0]['value'];return _0x1ba945?{'type':'format','content':getTranslation$1(_0x16a0e0,'*Set\x20font\x20family:*\x20%0',_0x1ba945)}:{'type':'format','content':getTranslation$1(_0x16a0e0,'*Reset\x20font\x20family*')};}if('fontColor'==_0xf723b2['commandName']){const _0x30d5fd=_0xf723b2['commandParams'][0x0]['value'];if(_0x30d5fd){const _0x1dab51=ckeditor5['normalizeColorOptions'](this['editor']['config']['get']('fontColor.colors'))['find'](_0x47c4d7=>_0x47c4d7['model']==_0x30d5fd);let _0x3201cb=_0x30d5fd,_0x32a007='';return _0x1dab51&&(_0x3201cb=_0x1dab51['label'],_0x32a007=_0x1c2c24(_0x3201cb)['toLowerCase']()),{'type':'format','content':getTranslation$1(_0x16a0e0,'*Set\x20font\x20color:*\x20%0',_0x32a007)['trim'](),'color':{'value':_0x30d5fd,'title':_0x32a007||_0x3201cb}};}return{'type':'format','content':getTranslation$1(_0x16a0e0,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0xf723b2['commandName']){const _0x2f5e76=_0xf723b2['commandParams'][0x0]['value'];if(_0x2f5e76){const _0x1fd66a=ckeditor5['normalizeColorOptions'](this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0xbdaaba=>_0xbdaaba['model']==_0x2f5e76);let _0x52bd38=_0x2f5e76,_0x23d47c='';return _0x1fd66a&&(_0x52bd38=_0x1fd66a['label'],_0x23d47c=_0x1c2c24(_0x52bd38)['toLowerCase']()),{'type':'format','content':getTranslation$1(_0x16a0e0,'*Set\x20font\x20background\x20color:*\x20%0',_0x23d47c)['trim'](),'color':{'value':_0x2f5e76,'title':_0x23d47c||_0x52bd38}};}return{'type':'format','content':getTranslation$1(_0x16a0e0,'*Reset\x20font\x20background\x20color*')};}}});}}class TrackChangesFootnotes extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0x170abe}=this['editor'];_0x170abe['has']('FootnotesEditing')&&this['_registerFootnotesEditingIntegration'](),_0x170abe['has']('FootnotesPropertiesEditing')&&this['_registerFootnotesPropertiesEditingIntegration']();}['_registerFootnotesPropertiesEditingIntegration'](){const {locale:_0x131e43,plugins:_0x11344d,commands:_0x5ea018}=this['editor'],_0x15ec6a=_0x11344d['get']('TrackChangesEditing');_0x5ea018['get']('footnotesStyle')&&_0x15ec6a['enableDefaultAttributesIntegration']('footnotesStyle'),_0x5ea018['get']('footnotesStart')&&_0x15ec6a['enableDefaultAttributesIntegration']('footnotesStart'),_0x15ec6a['descriptionFactory']['registerAttributeLabel']('footnotesListStyle',getTranslation$1(_0x131e43,'FORMAT_FOOTNOTES_LIST_STYLE')),_0x15ec6a['descriptionFactory']['registerAttributeLabel']('footnotesListStart',getTranslation$1(_0x131e43,'FORMAT_FOOTNOTES_LIST_START'));}['_registerFootnotesEditingIntegration'](){const _0x51e4c0=this['editor']['plugins']['get']('TrackChangesEditing'),{locale:_0x2b3b15,commands:_0xd2fbdf}=this['editor'];_0xd2fbdf['get']('insertFootnote')&&_0x51e4c0['enableCommand']('insertFootnote'),_0x51e4c0['descriptionFactory']['registerElementLabel']('footnoteRef',_0x4580c8=>getTranslation$1(_0x2b3b15,'ELEMENT_FOOTNOTE_REF',_0x4580c8)),_0x51e4c0['descriptionFactory']['registerElementLabel']('footnoteDefinition',_0x410809=>getTranslation$1(_0x2b3b15,'ELEMENT_FOOTNOTE_DEFINITION',_0x410809)),_0x51e4c0['descriptionFactory']['registerElementLabel']('footnotesDefinitions',_0x327090=>getTranslation$1(_0x2b3b15,'ELEMENT_FOOTNOTES_DEFINITIONS_LIST',_0x327090));}}class TrackChangesFormatPainter extends ckeditor5['Plugin']{['afterInit'](){const _0x3a9e85=this['editor'],_0x416369=_0x3a9e85['plugins']['get']('TrackChangesEditing'),_0x5edb76=_0x3a9e85['commands']['get']('copyFormat'),_0x53465d=_0x3a9e85['commands']['get']('pasteFormat');_0x5edb76&&_0x53465d&&(_0x416369['enableDefaultAttributesIntegration']('pasteFormat'),_0x416369['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x52ce2a=this['editor'],_0x5c0972=_0x52ce2a['locale'];_0x52ce2a['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0xa9c1c3=>{if('formatBlock'!=_0xa9c1c3['type']&&'formatInline'!=_0xa9c1c3['type'])return;const {data:_0x5ab196}=_0xa9c1c3;if(_0x5ab196&&'pasteFormat'===_0x5ab196['commandName']){const _0x28d06e=[],_0x48547c=_0x5ab196['commandParams'][0x0];for(const [_0x1c74db,_0x22c6dd]of Object['entries'](_0x48547c))_0x28d06e['push'](translateFormatting(_0x52ce2a,_0x1c74db,_0x22c6dd));return _0x28d06e['length']?{'type':'format','content':getTranslation$1(_0x5c0972,'*Set\x20format\x20to:*\x20%0',_0x28d06e['join'](',\x20'))}:{'type':'format','content':getTranslation$1(_0x5c0972,'*Remove\x20all\x20formatting*')};}});}}function translateFormatting(_0x16171e,_0x16eee2,_0x67b992){const _0x467652=_0x16171e['locale']['t'],_0x3e09c5=_0x16eee2['split'](/(?=[A-Z])/)['join']('\x20'),_0xb96dce=_0x467652(_0x3e09c5['charAt'](0x0)['toUpperCase']()+_0x3e09c5['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x67b992)return _0xb96dce;if('fontColor'===_0x16eee2||'fontBackgroundColor'===_0x16eee2){const _0x1b73e4=ckeditor5['normalizeColorOptions'](_0x16171e['config']['get']('fontColor.colors'))['find'](_0x2e114e=>_0x2e114e['model']==_0x67b992);return _0xb96dce+'\x20('+(_0x1b73e4?_0x467652(_0x1b73e4['label'])['toLowerCase']():_0x67b992)+')';}if('fontSize'===_0x16eee2&&isNaN(parseFloat(_0x67b992))){const _0x480046=_0x16171e['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x16171e['config']['get']('fontSize.options'))['find'](_0x2618df=>_0x2618df['model']==_0x67b992);return _0xb96dce+'\x20('+(_0x480046?_0x467652(_0x480046['title'])['toLowerCase']():_0x67b992)+')';}return _0xb96dce+'\x20('+_0x67b992+')';}class _0x3da429 extends ckeditor5['Plugin']{['_headingOptions'];['afterInit'](){const _0xbaa8e3=this['editor'];if(!_0xbaa8e3['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0xbaa8e3['config']['get']('heading.options');const _0x14ca51=_0xbaa8e3['locale'],_0x5743e6=_0xbaa8e3['plugins']['get']('TrackChangesEditing');_0x5743e6['enableDefaultAttributesIntegration']('heading');for(const _0x24e1bd of this['_headingOptions'])'paragraph'!=_0x24e1bd['model']&&_0x5743e6['descriptionFactory']['registerElementLabel'](_0x24e1bd['model'],_0x28ec53=>{const _0x52d588=this['_getHeadingLevel'](_0x24e1bd['model']);return null!==_0x52d588?_0x3db9b2(_0x28ec53,_0x52d588):_0x535537(_0x28ec53,_0x24e1bd['title']);});function _0x3db9b2(_0x433446,_0x5e6817){return getTranslation$1(_0x14ca51,'ELEMENT_HEADING',[_0x433446,_0x5e6817]);}function _0x535537(_0x2a059c,_0x1e73a9){return getTranslation$1(_0x14ca51,'ELEMENT_HEADING_CUSTOM',[_0x2a059c,_0x1e73a9]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3abe2e=this['editor'],_0xcbc0c8=_0x3abe2e['locale'];function _0x50ca99(_0x4bbf4f,_0x210755){return getTranslation$1(_0xcbc0c8,'ELEMENT_HEADING_CUSTOM',[_0x4bbf4f,_0x210755]);}_0x3abe2e['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x59b626=>{if('formatBlock'!=_0x59b626['type'])return;const {data:_0xcc43c}=_0x59b626;if(_0xcc43c&&'heading'==_0xcc43c['commandName']){const _0x1e5a28=_0xcc43c['commandParams'][0x0]['value'],_0x40acb3=this['_getHeadingLevel'](_0x1e5a28);if(null!==_0x40acb3)return{'type':'format','content':getTranslation$1(_0xcbc0c8,'*Change\x20to:*\x20%0',(_0xb9a567=0x1,_0x344d72=_0x40acb3,getTranslation$1(_0xcbc0c8,'ELEMENT_HEADING',[_0xb9a567,_0x344d72])))};const _0x55608d=this['_headingOptions']['find'](_0x2db20f=>_0x2db20f['model']===_0x1e5a28)['title'];return{'type':'format','content':getTranslation$1(_0xcbc0c8,'*Change\x20to:*\x20%0',_0x50ca99(0x1,_0x55608d))};}var _0xb9a567,_0x344d72;});}['_getHeadingLevel'](_0x401f31){const _0x25d2ea=_0x401f31['match'](/^heading(\d+)/);if(_0x25d2ea)return _0x25d2ea[0x1];const _0x31ba32=this['_headingOptions']?.['find'](_0x4fe330=>_0x4fe330['model']==_0x401f31);if(_0x31ba32&&_0x31ba32['view']){const _0x46592e=_0x31ba32['view'],_0x2ad7a3=(_0x46592e['name']??_0x46592e)['match'](/^h(\d+)/);if(_0x2ad7a3)return _0x2ad7a3[0x1];}return null;}}class TrackChangesHighlight extends ckeditor5['Plugin']{['afterInit'](){const _0x139d72=this['editor'];if(!_0x139d72['plugins']['has']('HighlightEditing'))return;const _0x2e085f=_0x139d72['plugins']['get']('TrackChangesEditing'),_0x3ac113=_0x139d72['locale'];_0x2e085f['enableDefaultAttributesIntegration']('highlight'),_0x2e085f['descriptionFactory']['registerAttributeLabel']('highlight',getTranslation$1(_0x3ac113,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2ef003=this['editor'],_0x45dad8=_0x2ef003['locale'];_0x2ef003['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x91520=>{if('formatInline'!=_0x91520['type'])return;const {data:_0x1dc26e}=_0x91520;if(_0x1dc26e&&'highlight'==_0x1dc26e['commandName']){const _0x208bfa=_0x45dad8['t'],_0x1a75a6=_0x1dc26e['commandParams'][0x0]['value'];if(_0x1a75a6){const _0x2168bd=_0x2ef003['config']['get']('highlight.options')['find'](_0x18f870=>_0x18f870['model']==_0x1a75a6),_0x19d17d=_0x208bfa(_0x2168bd['title'])['toLowerCase']();return{'type':'format','content':getTranslation$1(_0x45dad8,'*Set\x20highlight:*\x20%0',_0x19d17d),'color':{'value':_0x2168bd['color'],'title':_0x2168bd['title']}};}return{'type':'format','content':getTranslation$1(_0x45dad8,'*Remove\x20highlight*',getTranslation$1(_0x45dad8,'FORMAT_HIGHLIGHT'))};}});}}class TrackChangesHorizontalLine extends ckeditor5['Plugin']{['afterInit'](){const _0x2c5c1d=this['editor'];if(!_0x2c5c1d['plugins']['has']('HorizontalLineEditing'))return;_0x2c5c1d['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x13b29b=_0x2c5c1d['plugins']['get']('TrackChangesEditing'),_0xaa38b4=_0x2c5c1d['locale'];_0x13b29b['descriptionFactory']['registerElementLabel']('horizontalLine',_0x529d31=>getTranslation$1(_0xaa38b4,'ELEMENT_HORIZONTAL_LINE',_0x529d31));}}class TrackChangesHtmlEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0x5e8e22=this['editor'];if(!_0x5e8e22['plugins']['has']('HtmlEmbed'))return;const _0x2ff508=_0x5e8e22['plugins']['get']('TrackChangesEditing'),_0x1f08ca=_0x5e8e22['locale'];_0x2ff508['descriptionFactory']['registerElementLabel']('rawHtml',_0x5b19aa=>getTranslation$1(_0x1f08ca,'ELEMENT_HTML_EMBED',_0x5b19aa)),_0x2ff508['enableDefaultAttributesIntegration']('htmlEmbed'),_0x2ff508['descriptionFactory']['registerDescriptionCallback'](_0x2cf93d=>{if('attribute'!=_0x2cf93d['type'])return;const {data:_0x1d434b}=_0x2cf93d;if(_0x1d434b&&'value'==_0x1d434b['key']&&_0x2cf93d['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')){const _0x5c543f=getTranslation$1(_0x1f08ca,'ELEMENT_HTML_EMBED');return{'type':'format','content':getTranslation$1(_0x1f08ca,'*Change\x20%0\x20content*',_0x5c543f)};}}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x577c58=this['editor'],_0x1d18bc=_0x577c58['locale'];_0x577c58['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x43d1ca=>{if('formatBlock'!=_0x43d1ca['type'])return;const {data:_0x2ed36c}=_0x43d1ca;if(_0x2ed36c&&'htmlEmbed'==_0x2ed36c['commandName']){const _0x405d83=getTranslation$1(_0x1d18bc,'ELEMENT_HTML_EMBED');return{'type':'format','content':getTranslation$1(_0x1d18bc,'*Change\x20%0\x20content*',_0x405d83)};}});}}class _0x34997a extends ckeditor5['Plugin']{['afterInit'](){const _0x1d714f=this['editor'];if(!_0x1d714f['plugins']['has']('ImageEditing'))return;const _0x25123d=_0x1d714f['plugins']['get']('TrackChangesEditing'),_0x3144c7=_0x1d714f['plugins']['get']('ImageUtils'),_0x4c039f=_0x1d714f['locale'];_0x25123d['enableCommand']('insertImage'),_0x25123d['descriptionFactory']['registerElementLabel']('imageBlock',_0x120878=>getTranslation$1(_0x4c039f,'ELEMENT_IMAGE',_0x120878)),_0x25123d['descriptionFactory']['registerElementLabel']('imageInline',_0x49e4a9=>getTranslation$1(_0x4c039f,'ELEMENT_INLINE_IMAGE',_0x49e4a9)),_0x25123d['descriptionFactory']['registerElementLabel']('caption',()=>getTranslation$1(_0x4c039f,'ELEMENT_CAPTION')),_0x1d714f['plugins']['has']('ImageUploadEditing')&&_0x25123d['enableCommand']('uploadImage'),_0x1d714f['plugins']['has']('ImageBlockEditing')&&_0x1d714f['plugins']['has']('ImageInlineEditing')&&(_0x25123d['enableCommand']('imageTypeInline',(_0x18e7d2,_0x15c8dd)=>{const _0x582070=_0x3144c7['getClosestSelectedImageElement'](_0x1d714f['model']['document']['selection']);_0x1d714f['model']['change'](()=>{_0x25123d['markBlockFormat'](_0x582070,{'commandName':'imageTypeInline','commandParams':[_0x15c8dd]},[],'convertBlockImageToInline');});}),_0x25123d['enableCommand']('imageTypeBlock',(_0x543911,_0x19afc5)=>{_0x1d714f['model']['change'](_0x26845b=>{let _0x3d21c2=_0x3144c7['getClosestSelectedImageElement'](_0x1d714f['model']['document']['selection']),_0x13f2e7=_0x26845b['createRangeOn'](_0x3d21c2);const _0x5ef29d=ckeditor5['ModelLivePosition']['fromPosition'](_0x13f2e7['start'],'toPrevious'),_0x21ed3d=ckeditor5['ModelLivePosition']['fromPosition'](_0x13f2e7['end'],'toNext');_0x25123d['forceDefaultExecution'](()=>_0x543911(_0x19afc5)),_0x3d21c2=_0x3144c7['getClosestSelectedImageElement'](_0x1d714f['model']['document']['selection']),_0x13f2e7=_0x26845b['createRangeOn'](_0x3d21c2);const _0x535634=_0x26845b['createRange'](_0x5ef29d,_0x21ed3d);_0x5ef29d['detach'](),_0x21ed3d['detach'](),_0x25123d['markBlockFormat'](_0x3d21c2,{'commandName':'imageTypeInline','commandParams':[_0x19afc5]},[],'convertInlineImageToBlock'),_0x535634['start']['isBefore'](_0x13f2e7['start'])&&_0x25123d['markInsertion'](_0x26845b['createRange'](_0x535634['start'],_0x13f2e7['start']),'convertInlineImageToBlock'),_0x13f2e7['end']['isBefore'](_0x535634['end'])&&_0x25123d['markInsertion'](_0x26845b['createRange'](_0x13f2e7['end'],_0x535634['end']),'convertInlineImageToBlock');});}),_0x25123d['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x25123d['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x25123d['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x25123d['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x25123d['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x25123d['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0x58bf41])=>{const _0x3ed484=_0x25123d['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x569106=_0x58bf41['start'],_0x28712c=_0x58bf41['end'];const _0x3b86cb=_0x1d714f['model']['schema']['getNearestSelectionRange'](_0x569106,'backward'),_0x50d8c9=_0x1d714f['model']['schema']['getNearestSelectionRange'](_0x28712c,'forward');_0x3b86cb['isCollapsed']&&(_0x569106=_0x3b86cb['start']),_0x50d8c9['isCollapsed']&&(_0x28712c=_0x50d8c9['end']),_0x3ed484([_0x1d714f['model']['createRange'](_0x569106,_0x28712c)]);}),_0x25123d['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x53d790),_0x25123d['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x53d790)),_0x1d714f['plugins']['has']('ImageCaptionEditing')&&(_0x25123d['enableCommand']('toggleImageCaption',(_0x277650,_0x20a20a)=>{const _0x10e3f4=_0x1d714f['plugins']['get']('ImageCaptionUtils');let _0x10aab3=_0x3144c7['getClosestSelectedImageElement'](_0x1d714f['model']['document']['selection']),_0x55e070=_0x10e3f4['getCaptionFromImageModelElement'](_0x10aab3);_0x1d714f['model']['change'](()=>{if(_0x55e070)return void _0x25123d['markDeletion'](_0x1d714f['model']['createRangeOn'](_0x55e070));const _0x1d611c=_0x3144c7['isBlockImage'](_0x10aab3);_0x277650(_0x20a20a),_0x10aab3=_0x3144c7['getClosestSelectedImageElement'](_0x1d714f['model']['document']['selection']),_0x55e070=_0x10e3f4['getCaptionFromImageModelElement'](_0x10aab3),_0x25123d['markInsertion'](_0x1d714f['model']['createRangeOn'](_0x55e070),_0x1d611c?null:'imageCaption');});}),_0x25123d['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x53d790));const _0x51af51=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x21d071(_0x3e0002,_0x1f0381){const _0x2a159b=_0x51af51['findIndex'](({type:_0x41f751,subType:_0x267466})=>_0x3e0002['type']==_0x41f751&&_0x3e0002['subType']==_0x267466),_0x3f5315=_0x51af51['findIndex'](({type:_0x1ba3da,subType:_0x59b08b})=>_0x1f0381['type']==_0x1ba3da&&_0x1f0381['subType']==_0x59b08b);if(_0x2a159b<0x0||_0x3f5315<0x0)return!0x1;const _0x4924b6=_0x3e0002['getFirstRange'](),_0x5555e2=_0x1f0381['getFirstRange']();if((0x0==_0x2a159b||0x1==_0x2a159b)&&0x2==_0x3f5315&&_0x4924b6['isIntersecting'](_0x5555e2))return!0x0;if(0x2==_0x2a159b&&0x3==_0x3f5315){const _0x1a7e52=_0x25123d['_findSuggestions'](_0x4924b6,'insertion')['filter'](({suggestion:_0x2ed400,meta:_0x354dd6})=>_0x354dd6['isOwn']&&'convertInlineImageToBlock'==_0x2ed400['subType']);if(_0x1a7e52['length']>0x1&&_0x5555e2['end']['isEqual'](_0x4924b6['start']))return!0x0;if(0x1==_0x1a7e52['length']&&(_0x4924b6['start']['isEqual'](_0x5555e2['end'])||_0x4924b6['end']['isEqual'](_0x5555e2['start'])))return!0x0;}if(0x3==_0x2a159b&&0x3==_0x3f5315&&_0x4924b6['start']['isBefore'](_0x5555e2['start'])){const _0x57f63a=_0x4924b6['end']['nodeAfter'],_0x375d4b=_0x5555e2['start']['nodeBefore'];return _0x3144c7['isBlockImage'](_0x57f63a)&&_0x57f63a===_0x375d4b;}return!0x1;}function _0x53d790(_0x35a7da,_0x39d127){return _0x21d071(_0x35a7da,_0x39d127)?[_0x35a7da,_0x39d127]:_0x21d071(_0x39d127,_0x35a7da)?[_0x39d127,_0x35a7da]:null;}_0x1d714f['plugins']['has']('ImageResize')&&(_0x25123d['enableDefaultAttributesIntegration']('resizeImage'),_0x25123d['descriptionFactory']['registerAttributeLabel']('resizedWidth',getTranslation$1(_0x4c039f,'FORMAT_IMAGE_SIZE'))),_0x1d714f['plugins']['has']('ImageTextAlternativeEditing')&&_0x25123d['enableDefaultAttributesIntegration']('imageTextAlternative'),_0x1d714f['plugins']['has']('PictureEditing')&&_0x25123d['descriptionFactory']['registerDescriptionCallback'](_0x2cc87b=>{if('attribute'!=_0x2cc87b['type'])return;const {data:_0x31be4e}=_0x2cc87b;return _0x31be4e&&'sources'==_0x31be4e['key']?{'type':'format','content':''}:void 0x0;}),_0x1d714f['plugins']['has']('ImageSizeAttributes')&&_0x25123d['descriptionFactory']['registerDescriptionCallback'](_0x3ed0cb=>{if('attribute'!=_0x3ed0cb['type'])return;const {data:_0x644a98}=_0x3ed0cb;return!_0x644a98||'width'!=_0x644a98['key']&&'height'!=_0x644a98['key']?void 0x0:{'type':'format','content':''};}),_0x25123d['descriptionFactory']['registerDescriptionCallback'](_0x2ec308=>{if(!!_0x51af51['find'](({type:_0x18fe67,subType:_0x5d0e61})=>_0x2ec308['type']==_0x18fe67&&_0x2ec308['subType']==_0x5d0e61))return _0x2ec308['previous']?{}:void 0x0;}),_0x25123d['descriptionFactory']['registerDescriptionCallback'](_0x4d3fa9=>{if('insertion'==_0x4d3fa9['type']||'deletion'==_0x4d3fa9['type']){const _0x25ac20=_0x4d3fa9['getContainedElement']();if(_0x25ac20&&_0x25ac20['is']('element','caption'))return{'type':'insertion'==_0x4d3fa9['type']?'addObject':'removeObject','element':_0x25ac20,'quantity':0x1};}}),_0x25123d['descriptionFactory']['registerDescriptionCallback'](_0x53feec=>'formatBlock'==_0x53feec['type']&&'convertInlineImageToBlock'==_0x53feec['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x53feec['type']&&'convertBlockImageToInline'==_0x53feec['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x25123d['descriptionFactory']['registerDescriptionCallback'](_0x403e51=>{if('attribute'!=_0x403e51['type'])return;const {data:_0x139db0}=_0x403e51;if(!_0x139db0||'alt'!=_0x139db0['key'])return;const _0x5c913e=_0x139db0['newValue'];return _0x5c913e?{'type':'format','content':getTranslation$1(_0x4c039f,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x5c913e+'\x22')}:{'type':'format','content':getTranslation$1(_0x4c039f,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3e7107=this['editor'],_0xd5f51b=_0x3e7107['locale'];_0x3e7107['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4307a0=>{if('formatBlock'!=_0x4307a0['type']&&'formatInline'!=_0x4307a0['type'])return;const {data:_0x4fa6f6}=_0x4307a0;if(_0x4fa6f6){if('imageTextAlternative'==_0x4fa6f6['commandName']){const _0x484216=_0x4fa6f6['commandParams'][0x0]['newValue'];return _0x484216?{'type':'format','content':getTranslation$1(_0xd5f51b,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x484216+'\x22')}:{'type':'format','content':getTranslation$1(_0xd5f51b,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x4fa6f6['commandName']){const _0x5761fc=_0x4fa6f6['commandParams'][0x0]['width'];return _0x5761fc?{'type':'format','content':getTranslation$1(_0xd5f51b,'*Set\x20image\x20width:*\x20%0',_0x5761fc)}:{'type':'format','content':getTranslation$1(_0xd5f51b,'*Reset\x20image\x20width*')};}}});}}class _0x4fe75a extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x312213=this['editor']['locale'],_0x177a65=this['editor']['plugins']['get']('TrackChangesEditing');_0x177a65['enableDefaultAttributesIntegration']('replaceImageSource'),_0x177a65['descriptionFactory']['registerDescriptionCallback'](_0x4926bb=>{if('attribute'!=_0x4926bb['type'])return;const {data:_0xde728d}=_0x4926bb;return _0xde728d&&'src'==_0xde728d['key']?_0xde728d['newValue']&&_0xde728d['oldValue']?{'type':'format','content':getTranslation$1(_0x312213,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0xe47618=this['editor']['plugins']['get']('TrackChangesEditing');_0xe47618['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0xe47618['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0xe47618['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0xe47618['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x285d94=this['editor'],_0xa298f7=_0x285d94['locale'];_0x285d94['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2ecd0f=>{if('formatBlock'!=_0x2ecd0f['type']&&'formatInline'!=_0x2ecd0f['type'])return;const {data:_0x4a788a}=_0x2ecd0f;if(!_0x4a788a||'replaceImageSource'!=_0x4a788a['commandName'])return;return{'type':'format','content':getTranslation$1(_0xa298f7,'*Format:*\x20replace\x20image\x20URL')};});}}class TrackChangesImageStyle extends ckeditor5['Plugin']{['afterInit'](){const _0x21bcae=this['editor'];if(!_0x21bcae['plugins']['has']('ImageStyleEditing'))return;const _0x39fb45=_0x21bcae['plugins']['get']('TrackChangesEditing'),_0x3b6946=_0x21bcae['plugins']['get']('ImageUtils'),_0xc76674={};_0x39fb45['enableCommand']('imageStyle',(_0x3220a0,_0xbd861a)=>{const _0xe36c20=_0x21bcae['plugins']['get']('Users')['me'],_0x20cf18=_0x21bcae['commands']['get']('imageStyle');let _0xcdc9d0=_0x3b6946['getClosestSelectedImageElement'](_0x21bcae['model']['document']['selection']),_0x36b113=_0x21bcae['model']['createRangeOn'](_0xcdc9d0),_0x178337=_0x20cf18['value'];if(_0x178337==_0xbd861a['value'])return;const _0x4833b3={'commandName':'imageStyle','commandParams':[_0xbd861a],'formatGroupId':ckeditor5['uid']()};_0x21bcae['model']['change'](()=>{if(_0x39fb45['getSuggestions']()['filter'](_0x4c2d60=>_0x4c2d60['isInContent']&&_0xe36c20==_0x4c2d60['author']&&('formatBlock'==_0x4c2d60['type']||'formatInline'==_0x4c2d60['type'])&&('imageStylePreApply'==_0x4c2d60['subType']||'imageStylePostApply'==_0x4c2d60['subType'])&&_0x4c2d60['getFirstRange']()['isEqual'](_0x36b113))['forEach'](_0x3befd6=>_0x39fb45['discardSuggestion'](_0x3befd6['head'])),_0xcdc9d0=_0x3b6946['getClosestSelectedImageElement'](_0x21bcae['model']['document']['selection']),_0x36b113=_0x21bcae['model']['createRangeOn'](_0xcdc9d0),_0x20cf18['refresh'](),_0x21bcae['commands']['get']('imageTypeInline')['refresh'](),_0x21bcae['commands']['get']('imageTypeBlock')['refresh'](),_0x178337=_0x20cf18['value'],_0x178337!=_0xbd861a['value'])return _0x3b6946['isInlineImage'](_0xcdc9d0)&&_0x20cf18['shouldConvertImageType'](_0xbd861a['value'],_0xcdc9d0)?(_0x3220a0({..._0xbd861a,'setImageSizes':!0x1}),_0xcdc9d0=_0x3b6946['getClosestSelectedImageElement'](_0x21bcae['model']['document']['selection']),void _0x39fb45['markBlockFormat'](_0xcdc9d0,{..._0x4833b3,'commandReversedParams':[{'value':_0x178337||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x3b6946['isBlockImage'](_0xcdc9d0)?_0x39fb45['markBlockFormat'](_0xcdc9d0,_0x4833b3,[],'imageStylePostApply'):_0x39fb45['markInlineFormat'](_0x36b113,_0x4833b3,'imageStylePostApply'));});});for(const _0x1bcf26 of _0x21bcae['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0xc76674[_0x1bcf26['name']]=_0x1bcf26['title']['toLowerCase']();_0x39fb45['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x39fb45['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x39fb45['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x39fb45['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x1e8eb3])=>{_0x3b6946['setImageNaturalSizeAttributes'](_0x1e8eb3['getContainedElement']());}),_0x39fb45['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0x41c8d9,_0x5b43be)=>{_0x39fb45['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x41c8d9,{'commandName':_0x5b43be['commandName'],'commandParams':_0x5b43be['commandReversedParams']});}),_0x39fb45['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x4a79a1,_0x5751c3){if(_0x40b7a0(_0x4a79a1,_0x5751c3))return[_0x4a79a1,_0x5751c3];if(_0x40b7a0(_0x5751c3,_0x4a79a1))return[_0x5751c3,_0x4a79a1];return null;});const _0x3ce41b=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x40b7a0(_0x31d8fe,_0x599464){const _0x1212a5=_0x3ce41b['findIndex'](({type:_0x49da36,subType:_0x13b41e})=>_0x31d8fe['type']==_0x49da36&&_0x31d8fe['subType']==_0x13b41e),_0x5413c4=_0x3ce41b['findIndex'](({type:_0x4a2bd8,subType:_0x54d727})=>_0x599464['type']==_0x4a2bd8&&_0x599464['subType']==_0x54d727);if(_0x1212a5<0x0||_0x5413c4<0x0)return!0x1;const _0x1154b9=_0x31d8fe['getFirstRange'](),_0x4f25b6=_0x599464['getFirstRange']();if((0x0==_0x1212a5||0x1==_0x1212a5)&&0x2==_0x5413c4&&_0x1154b9['isIntersecting'](_0x4f25b6))return!0x0;if(0x2==_0x1212a5&&0x3==_0x5413c4){const _0x321fb3=_0x39fb45['_findSuggestions'](_0x1154b9,'insertion')['filter'](({suggestion:_0x3c5466,meta:_0x545ef8})=>_0x545ef8['isOwn']&&'convertInlineImageToBlock'==_0x3c5466['subType']);if(_0x321fb3['length']>0x1&&_0x4f25b6['end']['isEqual'](_0x1154b9['start']))return!0x0;if(0x1==_0x321fb3['length']&&(_0x1154b9['start']['isEqual'](_0x4f25b6['end'])||_0x1154b9['end']['isEqual'](_0x4f25b6['start'])))return!0x0;}if(0x3==_0x1212a5&&0x3==_0x5413c4&&_0x1154b9['start']['isBefore'](_0x4f25b6['start'])){const _0x9e64b0=_0x1154b9['end']['nodeAfter'],_0x129a7d=_0x4f25b6['start']['nodeBefore'];return _0x3b6946['isBlockImage'](_0x9e64b0)&&_0x9e64b0===_0x129a7d;}return!0x1;}_0x21bcae['model']['document']['registerPostFixer'](()=>{let _0x2db260=!0x1;const _0x2663d5=Array['from'](_0x21bcae['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x6fed51,data:_0x1a2d3f}of _0x2663d5){const {group:_0x4ae172,type:_0x318da0,subType:_0x390c2c,id:_0x540c62}=_0x39fb45['_splitMarkerName'](_0x6fed51);if('suggestion'==_0x4ae172&&_0x39fb45['hasSuggestion'](_0x540c62)){if('formatBlock'==_0x318da0&&('imageStylePreApply'==_0x390c2c||'imageStylePostApply'==_0x390c2c)){const _0x32dd5f=_0x39fb45['getSuggestion'](_0x540c62);if(_0x1a2d3f['newRange']){const _0xed43fa=_0x32dd5f['getFirstRange']()['getContainedElement']();if(_0x3b6946['isBlockImage'](_0xed43fa))continue;_0x39fb45['discardSuggestion'](_0x32dd5f),_0x2db260=!0x0;}}if('insertion'==_0x318da0&&'imageCaption'==_0x390c2c&&!_0x1a2d3f['newRange']){const _0x1a689f=_0x39fb45['getSuggestion'](_0x540c62);_0x1a689f['next']&&_0x1a689f['next']['isInContent']&&(_0x39fb45['discardSuggestion'](_0x1a689f['next']),_0x2db260=!0x0);}}}return _0x2db260;}),this['_registerLegacyDescription'](_0xc76674);}['_registerLegacyDescription'](_0x57804c){const _0x3f4d1a=this['editor'],_0x34d730=_0x3f4d1a['locale'];_0x3f4d1a['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1fb794=>{if('formatBlock'!=_0x1fb794['type']&&'formatInline'!=_0x1fb794['type'])return;const {data:_0x447d31}=_0x1fb794;if(!_0x447d31||'imageStyle'!=_0x447d31['commandName'])return;const _0x4ec457=_0x447d31['commandParams'][0x0]['value'];return _0x540275('side'===_0x4ec457?getTranslation$1(_0x34d730,'FORMAT_SIDE_IMAGE'):_0x57804c[_0x4ec457]||_0x4ec457);function _0x540275(_0xdfcc7b){return{'type':'format','content':getTranslation$1(_0x34d730,'*Format:*\x20%0',_0xdfcc7b)};}});}}class TrackChangesImportWord extends ckeditor5['Plugin']{['_trackChangesValueDuringImport'];['_trackChangesExecuted'];constructor(_0x318424){super(_0x318424),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x2b773c=this['editor'],_0x211334=_0x2b773c['commands']['get']('importWord'),_0x27eb6e=_0x2b773c['commands']['get']('trackChanges');_0x211334&&(_0x211334['on']('execute',(_0x215bc6,[,_0x20f3f0])=>{this['_trackChangesValueDuringImport']=_0x27eb6e['value'],_0x20f3f0['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x211334,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x211334,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x27eb6e['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x2b773c['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0x4febd3,_0xba44a4){const {suggestions:_0x16c028}=_0xba44a4,_0x4c020c=this['editor']['commands']['get']('trackChanges'),_0xadec0b=_0x4c020c['value'];this['_trackChangesValueDuringImport']!==_0xadec0b&&(_0x4c020c['execute'](),this['_trackChangesExecuted']=!0x0),_0x16c028&&_0x16c028['forEach'](({id:_0x5c515a,type:_0x335e16,author:_0x2ba961,created_at:_0x17bb82})=>{const _0x21947c={'id':_0x5c515a,'type':_0x335e16,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x2ba961,'createdAt':_0x17bb82?new Date(_0x17bb82):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0x21947c);});}}class TrackChangesIndent extends ckeditor5['Plugin']{['afterInit'](){const _0x350808=this['editor'],_0x304ec9=_0x350808['plugins']['get']('TrackChangesEditing');if(_0x350808['plugins']['has']('IndentEditing')&&(_0x304ec9['enableCommand']('indent'),_0x304ec9['enableCommand']('outdent')),_0x350808['plugins']['has']('IndentBlock')){for(const _0x59b7e5 of['indentBlock','outdentBlock'])_0x304ec9['enableDefaultAttributesIntegration'](_0x59b7e5);if(_0x350808['plugins']['has']('ListEditing')){for(const _0x2995b6 of['indentBlockList','indentBlockListItem','outdentBlockList','outdentBlockListItem'])_0x304ec9['enableDefaultAttributesIntegration'](_0x2995b6);}}const _0x43f164=_0x350808['locale'];_0x304ec9['descriptionFactory']['registerAttributeLabel']('blockIndent',getTranslation$1(_0x43f164,'FORMAT_INDENT')),_0x304ec9['descriptionFactory']['registerAttributeLabel']('blockIndentList',getTranslation$1(_0x43f164,'FORMAT_INDENT')),_0x304ec9['descriptionFactory']['registerAttributeLabel']('blockIndentListItem',getTranslation$1(_0x43f164,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x249be7=this['editor'],_0x3909c1=_0x249be7['locale'],_0x1d8464=_0x249be7['plugins']['get']('TrackChangesEditing');_0x1d8464['descriptionFactory']['registerDescriptionCallback'](_0x52d705=>{if('formatBlock'!=_0x52d705['type'])return;const {data:_0x1a4564}=_0x52d705;if(!_0x1a4564)return;if('indentBlock'!=_0x1a4564['commandName']&&'outdentBlock'!=_0x1a4564['commandName'])return;const _0x22fb02=_0x52d705['getItems']()[0x0],_0x2e1b30=_0x1d8464['descriptionFactory']['getItemLabel'](_0x22fb02);return'indentBlock'==_0x1a4564['commandName']?{'type':'format','content':getTranslation$1(_0x3909c1,'*Indent:*\x20%0',_0x2e1b30)}:'outdentBlock'==_0x1a4564['commandName']?{'type':'format','content':getTranslation$1(_0x3909c1,'*Outdent:*\x20%0',_0x2e1b30)}:void 0x0;});}}class TrackChangesInputCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Input']];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}}class _0x115c42 extends ckeditor5['Plugin']{['afterInit'](){const _0x30cbb0=this['editor'];if(!_0x30cbb0['plugins']['has']('LinkEditing'))return;const _0xb888e2=_0x30cbb0['plugins']['get']('TrackChangesEditing'),_0x461c5a=_0x30cbb0['commands']['get']('link');_0xb888e2['enableDefaultAttributesIntegration']('link'),_0xb888e2['enableDefaultAttributesIntegration']('unlink');for(const _0x3c9454 of _0x461c5a['manualDecorators'])_0xb888e2['descriptionFactory']['registerAttributeLabel'](_0x3c9454['id'],'link\x20('+_0x3c9454['label']['toLowerCase']()+')');_0xb888e2['descriptionFactory']['registerDescriptionCallback'](_0x564b8b=>{if('attribute'!=_0x564b8b['type'])return;const {data:_0x252c59}=_0x564b8b;if(!_0x252c59||'linkHref'!=_0x252c59['key'])return;const _0x58b991=_0x252c59['newValue'],_0x35f3e9=_0x30cbb0['locale'];return{'type':'format','content':null==_0x58b991?getTranslation$1(_0x35f3e9,'*Remove\x20link*'):getTranslation$1(_0x35f3e9,'*Set\x20link:*\x20%0','\x22'+_0x58b991+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2f2ef5=this['editor'],_0x5e4e13=_0x2f2ef5['locale'];_0x2f2ef5['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1c62eb=>{if('formatInline'!=_0x1c62eb['type'])return;const {data:_0x28ac3f}=_0x1c62eb;if(_0x28ac3f){if('link'==_0x28ac3f['commandName']){const _0x233a13=_0x28ac3f['commandParams'][0x0];return{'type':'format','content':getTranslation$1(_0x5e4e13,'*Set\x20link:*\x20%0','\x22'+_0x233a13+'\x22')};}return'unlink'==_0x28ac3f['commandName']?{'type':'format','content':getTranslation$1(_0x5e4e13,'*Remove\x20link*')}:void 0x0;}});}}class TrackChangesLegacyList extends ckeditor5['Plugin']{['afterInit'](){const _0x406ec9=this['editor'],_0x3b4bc9=_0x406ec9['locale'];if(!_0x406ec9['plugins']['has']('LegacyListEditing'))return;const _0x64de4b=_0x406ec9['plugins']['get']('TrackChangesEditing'),_0x521f42=_0x406ec9['plugins']['has']('LegacyTodoListEditing');function _0x5b94c2(_0x3311c0){return()=>{const _0x2e236c=_0x406ec9['model']['document']['selection'],_0x592439=_0x406ec9['commands']['get'](_0x3311c0);if(_0x592439['value'])return void _0x406ec9['execute']('paragraph',{});const _0x303184=_0x3311c0['slice'](0x0,-0x4),_0x288097=getBlocksToMarkForListTypeChange(_0x2e236c['getSelectedBlocks'](),_0x303184,_0x406ec9['model']['schema']);_0x406ec9['model']['change'](()=>{for(const _0x6173da of _0x288097)_0x64de4b['markBlockFormat'](_0x6173da,{'commandName':_0x3311c0,'commandParams':[{'forceValue':!_0x592439['value']}],'formatGroupId':'blockName'},getBlocksAffectedByListTypeChange(_0x6173da));});};}function _0x4b8739(_0x22fa4c){return()=>{const _0x709825=getBlocksToMarkForIndentChange(_0x406ec9['model']['document']['selection']['getSelectedBlocks']()),_0x4899ea=_0x406ec9['model']['createRange'](_0x406ec9['model']['createPositionAt'](_0x709825[0x0],'before'),_0x406ec9['model']['createPositionAt'](_0x709825[_0x709825['length']-0x1],'end'));_0x406ec9['model']['change'](()=>{_0x64de4b['markBlockFormat'](_0x4899ea,{'commandName':_0x22fa4c,'commandParams':[],'formatGroupId':'listIndent'},getBlocksAffectedByIndent(_0x709825));});};}_0x64de4b['enableCommand']('numberedList',_0x5b94c2('numberedList')),_0x64de4b['enableCommand']('bulletedList',_0x5b94c2('bulletedList')),_0x521f42&&_0x64de4b['enableCommand']('todoList',_0x5b94c2('todoList')),_0x64de4b['enableCommand']('indentList',_0x4b8739('indentList')),_0x64de4b['enableCommand']('outdentList',_0x4b8739('outdentList')),_0x521f42&&_0x64de4b['enableCommand']('checkTodoList',()=>{const _0x4d1b7e=_0x406ec9['commands']['get']('checkTodoList'),_0x37ca97=Array['from'](_0x4d1b7e['_selectedElements']);_0x37ca97['filter'](_0x30bef0=>_0x30bef0['getAttribute']('todoListChecked')!=_0x4d1b7e['value']),_0x406ec9['model']['change'](()=>{for(const _0x30202a of _0x37ca97)_0x64de4b['markBlockFormat'](_0x30202a,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x4d1b7e['value']}]});});}),_0x64de4b['descriptionFactory']['registerElementLabel']('listItem',_0x92be66=>getTranslation$1(_0x3b4bc9,'ELEMENT_LIST_ITEM',_0x92be66)),_0x64de4b['descriptionFactory']['registerDescriptionCallback'](_0x3097d8=>{if('formatBlock'!=_0x3097d8['type']&&'formatInline'!=_0x3097d8['type'])return;const {data:_0x5afd3a}=_0x3097d8;if(_0x5afd3a){if('numberedList'==_0x5afd3a['commandName']||'bulletedList'==_0x5afd3a['commandName']||'todoList'==_0x5afd3a['commandName'])switch(_0x5afd3a['commandName']['replace']('List','')){case'bulleted':return _0x697812(getTranslation$1(_0x3b4bc9,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x697812(getTranslation$1(_0x3b4bc9,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x697812(getTranslation$1(_0x3b4bc9,'ELEMENT_TODO_LIST'));}if('indentList'==_0x5afd3a['commandName'])return{'type':'format','content':getTranslation$1(_0x3b4bc9,'*Indent:*\x20%0',getTranslation$1(_0x3b4bc9,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x5afd3a['commandName'])return{'type':'format','content':getTranslation$1(_0x3b4bc9,'*Outdent:*\x20%0',getTranslation$1(_0x3b4bc9,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x5afd3a['commandName'])return _0x5afd3a['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x3b4bc9,'*Check\x20item*')}:{'type':'format','content':getTranslation$1(_0x3b4bc9,'*Uncheck\x20item*')};}function _0x697812(_0x20599d){return{'type':'format','content':getTranslation$1(_0x3b4bc9,'*Change\x20to:*\x20%0',_0x20599d)};}});}}function getBlocksToMarkForListTypeChange(_0x22be20,_0x55317d,_0x270825){let _0x1e72b3=Array['from'](_0x22be20)['filter'](_0x16819c=>checkCanBecomeListItem(_0x16819c,_0x270825));_0x1e72b3=_0x1e72b3['filter'](_0xdf507a=>!_0xdf507a['is']('element','listItem')||_0xdf507a['getAttribute']('listType')!=_0x55317d);const _0x1a4460=new Set();for(const _0x3a6e67 of _0x1e72b3)_0x3a6e67['is']('element','listItem')?_0x1a4460['add'](getListHead(_0x3a6e67)):_0x1a4460['add'](_0x3a6e67);return Array['from'](_0x1a4460);}function checkCanBecomeListItem(_0x5b62da,_0x48b227){return _0x48b227['checkChild'](_0x5b62da['parent'],'listItem')&&!_0x48b227['isObject'](_0x5b62da);}function getBlocksToMarkForIndentChange(_0x3518b7){let _0x454443=Array['from'](_0x3518b7);const _0x4fe09a=_0x454443['findIndex'](_0x514503=>'listItem'!=_0x514503['name']);return _0x4fe09a>-0x1&&(_0x454443=_0x454443['slice'](0x0,_0x4fe09a)),_0x454443;}function getListHead(_0x2af776){const _0x3c951e=_0x2af776['getAttribute']('listIndent');if(0x0==_0x3c951e)return _0x2af776;let _0xf319ee=_0x2af776;for(;_0x2af776['previousSibling']&&_0x2af776['previousSibling']['is']('element','listItem');){const _0x3f6c58=_0x2af776['previousSibling']['getAttribute']('listIndent');if(_0x3f6c58==_0x3c951e)_0xf319ee=_0x2af776['previousSibling'];else{if(_0x3f6c58<_0x3c951e)break;}_0x2af776=_0x2af776['previousSibling'];}return _0xf319ee;}function getBlocksAffectedByListTypeChange(_0x208535){const _0x129a1c=[];if(_0x208535['is']('element','listItem')&&_0x208535['getAttribute']('listIndent')>0x0){let _0x3d3a6d=_0x208535['nextSibling'];for(;_0x3d3a6d&&'listItem'==_0x3d3a6d['name']&&_0x3d3a6d['getAttribute']('listIndent')==_0x208535['getAttribute']('listIndent');)_0x129a1c['push'](_0x3d3a6d),_0x3d3a6d=_0x3d3a6d['nextSibling'];}return _0x129a1c;}function getBlocksAffectedByIndent(_0x19c3a1){const _0x1b5d68=new Set();for(const _0x6ed4cc of _0x19c3a1){let _0x14b5c1=_0x6ed4cc['nextSibling'];for(;_0x14b5c1&&_0x14b5c1['getAttribute']('listIndent')>_0x6ed4cc['getAttribute']('listIndent');)_0x1b5d68['add'](_0x14b5c1),_0x14b5c1=_0x14b5c1['nextSibling'];}return Array['from'](_0x1b5d68);}class TrackChangesLegacyListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0xb3d8d9=this['editor']['config']['get']('list.properties'),_0x15c0ca=this['editor']['plugins']['get']('TrackChangesEditing');_0xb3d8d9['styles']&&_0x15c0ca['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0xb3d8d9['reversed']&&_0x15c0ca['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0xb3d8d9['startIndex']&&_0x15c0ca['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x15c0ca['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x420463,_0x3f0c5d={}){const _0x506ae6=this['editor']['plugins']['get']('TrackChangesEditing'),_0x58e87e=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0x506ae6['markMultiRangeBlockFormat'](_0x58e87e,{'commandName':'listStyle','commandParams':[{'type':_0x3f0c5d['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x3781e5,_0x22f695={}){const _0x584fc1=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5b0092=this['_getSuggestionBlocks'](_0x146f50=>_0x146f50['is']('element','listItem')&&'numbered'===_0x146f50['getAttribute']('listType'));if(_0x5b0092['length']<0x1)return;const _0x5ed495=_0x5b0092['map'](_0x238416=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x238416,'before'),this['editor']['model']['createPositionAt'](_0x238416,0x0)));this['editor']['model']['change'](()=>{_0x584fc1['markMultiRangeBlockFormat'](_0x5ed495,{'commandName':'listReversed','commandParams':[{'reversed':_0x22f695['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x185b84,_0x4157e0={}){const _0x18d82a=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3cddf1=this['_getSuggestionBlocks'](_0x288f4d=>_0x288f4d['is']('element','listItem')&&'numbered'===_0x288f4d['getAttribute']('listType'));if(_0x3cddf1['length']<0x1)return;const _0xc13b2d=_0x3cddf1['map'](_0xfc41fb=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0xfc41fb,'before'),this['editor']['model']['createPositionAt'](_0xfc41fb,0x0)));this['editor']['model']['change'](()=>{_0x18d82a['markMultiRangeBlockFormat'](_0xc13b2d,{'commandName':'listStart','commandParams':[{'startIndex':_0x4157e0['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x2339cb){if('formatBlock'!=_0x2339cb['type']&&'formatInline'!=_0x2339cb['type'])return;const _0x263ba8=this['editor']['locale'],{data:_0x2f68e7}=_0x2339cb;if(!_0x2f68e7)return;let _0x5446fd,_0x101fcf;switch(_0x2f68e7['commandName']){case'listStyle':_0x5446fd='*Change\x20to:*\x20%0',_0x101fcf={'type':'format','content':getTranslation$1(_0x263ba8,_0x5446fd,getTranslation$1(_0x263ba8,this['_getTranslationKeyForListStyle'](_0x2f68e7['commandParams'][0x0]['type'])))};break;case'listReversed':_0x5446fd=_0x2f68e7['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x101fcf={'type':'format','content':getTranslation$1(_0x263ba8,_0x5446fd)};break;case'listStart':_0x5446fd='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x101fcf={'type':'format','content':getTranslation$1(_0x263ba8,_0x5446fd,_0x2f68e7['commandParams'][0x0]['startIndex'])};}return _0x101fcf;}['_getSuggestionBlocksForListStyle'](){const _0x2866c3=this['editor']['plugins']['get']('LegacyListUtils');let _0xf642fa=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0xf642fa[0x0]?.['is']('element','listItem')&&_0xf642fa['unshift'](..._0x2866c3['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0xf642fa[_0xf642fa['length']-0x1]?.['is']('element','listItem')&&_0xf642fa['push'](..._0x2866c3['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0xf642fa=[...new Set(_0xf642fa)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0xf642fa=_0xf642fa['filter'](_0x33ffd9=>_0x33ffd9['is']('element','listItem'))),_0xf642fa;}['_getSuggestionBlocks'](_0x21a5ec){const _0x235bd8=this['editor']['plugins']['get']('LegacyListUtils');let _0x26949d=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x21a5ec)['map'](_0x272f6e=>{const _0x2c7f5f=this['editor']['model']['createPositionAt'](_0x272f6e,0x0);return[..._0x235bd8['getSiblingNodes'](_0x2c7f5f,'backward'),..._0x235bd8['getSiblingNodes'](_0x2c7f5f,'forward')];})['flat']();return _0x26949d=[...new Set(_0x26949d)],_0x26949d;}['_getTranslationKeyForListStyle'](_0x15d81b){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0x15d81b)||'default')['toUpperCase']()+'_LIST_'+_0x15d81b['toUpperCase']()['replace'](/-/g,'_');}}class _0x27a983 extends ckeditor5['Plugin']{['afterInit'](){const _0x44ff20=this['editor'];if(!_0x44ff20['plugins']['has']('MediaEmbedEditing'))return;const _0x1cde8e=_0x44ff20['plugins']['get']('TrackChangesEditing'),_0x1c24a3=_0x44ff20['locale'];_0x1cde8e['enableCommand']('mediaEmbed'),_0x1cde8e['descriptionFactory']['registerElementLabel']('media',_0x3ffe90=>getTranslation$1(_0x1c24a3,'ELEMENT_MEDIA',_0x3ffe90));}}class TrackChangesMention extends ckeditor5['Plugin']{['afterInit'](){const _0x3500eb=this['editor'];_0x3500eb['plugins']['has']('MentionEditing')&&_0x3500eb['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}}class _0x86dda8 extends ckeditor5['Plugin']{['afterInit'](){const _0xabec45=this['editor'];if(!_0xabec45['plugins']['has']('MergeFieldsEditing'))return;const _0x5f3cd8=_0xabec45['plugins']['get']('TrackChangesEditing'),_0x5e2247=_0xabec45['locale'];_0x5f3cd8['enableCommand']('insertMergeField'),_0x5f3cd8['enableCommand']('insertMergeFieldBlock'),_0x5f3cd8['enableCommand']('insertMergeFieldImage'),_0x5f3cd8['descriptionFactory']['registerElementLabel']('mergeField',_0x12db9a=>getTranslation$1(_0x5e2247,'ELEMENT_MERGE_FIELD',_0x12db9a)),_0x5f3cd8['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x2ec368=>getTranslation$1(_0x5e2247,'ELEMENT_MERGE_FIELD',_0x2ec368)),_0x5f3cd8['descriptionFactory']['registerDescriptionCallback'](_0x3234b4=>{if('insertion'!=_0x3234b4['type']&&'deletion'!=_0x3234b4['type'])return;const _0x25b4b7=_0x3234b4['getContainedElement']();if(null==_0x25b4b7)return;const _0x20e61e=_0xabec45['plugins']['get']('MergeFieldsEditing');let _0x4de71f;switch(_0x20e61e['getMergeFieldType'](_0x25b4b7)){case null:return;case'image':{const _0x3d9abb=_0x20e61e['unwrapAffixes'](_0x25b4b7['getAttribute']('src'));_0x4de71f=_0x20e61e['getLabel'](_0x3d9abb)||_0x3d9abb;break;}default:{const _0x157fa7=_0x25b4b7['getAttribute']('id');_0x4de71f=_0x20e61e['getLabel'](_0x157fa7)||_0x157fa7;break;}}return'insertion'==_0x3234b4['type']?{'type':'insertion','content':getTranslation$1(_0x5e2247,'*Insert:*\x20%0','\x22'+_0x4de71f+'\x22\x20'+getTranslation$1(_0x5e2247,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':getTranslation$1(_0x5e2247,'*Remove:*\x20%0','\x22'+_0x4de71f+'\x22\x20'+getTranslation$1(_0x5e2247,'ELEMENT_MERGE_FIELD'))};});}}class TrackChangesMultiLevelList extends ckeditor5['Plugin']{['afterInit'](){const _0x5d722d=this['editor'],_0x4d0a12=_0x5d722d['plugins']['get']('TrackChangesEditing');_0x5d722d['plugins']['has']('MultiLevelList')&&(_0x4d0a12['enableDefaultAttributesIntegration']('multiLevelList'),_0x4d0a12['descriptionFactory']['registerDescriptionCallback'](_0x135b67=>this['handleDescriptions'](_0x135b67)));}['handleDescriptions'](_0x1e2809){const _0x40d1a0=this['editor']['locale'],{data:_0x502817}=_0x1e2809,_0x4572a2={'type':'format','content':''};if(_0x502817&&'listMarkerStyle'==_0x502817['key']){if(!_0x502817['oldValue'])return{'type':'format','content':getTranslation$1(_0x40d1a0,'*Set\x20format:*\x20%0',getTranslation$1(_0x40d1a0,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x502817['newValue']+')'};if(!_0x502817['newValue']){let _0x2eca0d=_0x1e2809['head'];for(;_0x2eca0d;){if(_0x2eca0d['data']&&'listType'==_0x2eca0d['data']['key']&&_0x2eca0d['data']['newValue'])return _0x4572a2;_0x2eca0d=_0x2eca0d['next'];}return{'type':'format','content':getTranslation$1(_0x40d1a0,'*Remove\x20format:*\x20%0',getTranslation$1(_0x40d1a0,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x502817['oldValue']+')'};}}}}class _0x49a51a extends ckeditor5['Plugin']{['afterInit'](){const _0x3bd4a7=this['editor'];if(!_0x3bd4a7['plugins']['has']('PageBreakEditing'))return;_0x3bd4a7['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x4fceb1=_0x3bd4a7['plugins']['get']('TrackChangesEditing'),_0x54a037=_0x3bd4a7['locale'];_0x4fceb1['descriptionFactory']['registerElementLabel']('pageBreak',_0x319f80=>getTranslation$1(_0x54a037,'ELEMENT_PAGE_BREAK',_0x319f80));}}class _0x5712a5 extends ckeditor5['Plugin']{['afterInit'](){const _0x3a958b=this['editor'];if(!_0x3a958b['plugins']['has']('Paragraph'))return;const _0x3b0903=_0x3a958b['locale'],_0x30982f=_0x3a958b['plugins']['get']('TrackChangesEditing');_0x30982f['descriptionFactory']['registerElementLabel']('paragraph',_0x3b3f14=>getTranslation$1(_0x3b0903,'ELEMENT_PARAGRAPH',_0x3b3f14)),_0x30982f['enableDefaultAttributesIntegration']('paragraph'),_0x30982f['enableCommand']('insertParagraph');const _0x5a6434=_0x30982f['descriptionFactory'];_0x5a6434['registerDescriptionCallback'](_0x9d1762=>{if('insertion'!==_0x9d1762['type'])return;const {start:_0xb138e1,end:_0x4a3119}=_0x9d1762['getFirstRange']();if(!_0xb138e1['isTouching'](_0x4a3119)||!_0xb138e1['nodeAfter'])return;const _0x5d38fc=_0x3a958b['model']['schema'],_0x168f43=_0xb138e1['nodeAfter'];return _0x5d38fc['isBlock'](_0x168f43)&&!_0x5d38fc['isLimit'](_0x168f43)&&_0x5d38fc['checkChild'](_0x168f43,'$text')?{'type':'insertion','content':getTranslation$1(_0x3b0903,'*Insert:*\x20%0',_0x5a6434['getItemLabel'](_0x168f43,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x32bde6=this['editor'],_0x1b8859=_0x32bde6['locale'];_0x32bde6['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x393ae6=>{if('formatBlock'!=_0x393ae6['type'])return;const {data:_0x40d7bf}=_0x393ae6;return _0x40d7bf&&'paragraph'==_0x40d7bf['commandName']?{'type':'format','content':getTranslation$1(_0x1b8859,'*Change\x20to:*\x20%0',getTranslation$1(_0x1b8859,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}class _0x344341 extends ckeditor5['Plugin']{['afterInit'](){const _0x23ca89=this['editor'];_0x23ca89['commands']['get']('replaceSource')&&_0x23ca89['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}}class TrackChangesRemoveFormat extends ckeditor5['Plugin']{['afterInit'](){const _0xb8e04=this['editor'];if(!_0xb8e04['plugins']['has']('RemoveFormatEditing'))return;_0xb8e04['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x58edd6=this['editor'];_0x58edd6['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x382aa3=>{if('formatBlock'!=_0x382aa3['type']&&'formatInline'!=_0x382aa3['type'])return;const {data:_0x3d512b}=_0x382aa3;return _0x3d512b&&'removeFormat'==_0x3d512b['commandName']?{'type':'format','content':getTranslation$1(_0x58edd6['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}}class TrackChangesRestrictedEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x3d753b=this['editor'];if(!_0x3d753b['plugins']['has']('RestrictedEditingModeEditing'))return;const _0x2f6ed1=_0x3d753b['plugins']['get']('TrackChangesEditing');_0x2f6ed1['enableCommand']('goToPreviousRestrictedEditingException'),_0x2f6ed1['enableCommand']('goToNextRestrictedEditingException');const _0x60809=_0x3d753b['plugins']['get']('RestrictedEditingModeEditing');_0x60809['enableCommand']('trackChanges'),_0x60809['enableCommand']('acceptSuggestion'),_0x60809['enableCommand']('discardSuggestion'),_0x60809['enableCommand']('acceptAllSuggestions'),_0x60809['enableCommand']('discardAllSuggestions'),_0x60809['enableCommand']('acceptSelectedSuggestions'),_0x60809['enableCommand']('discardSelectedSuggestions');}}class TrackChangesShiftEnterCommand extends ckeditor5['Plugin']{['afterInit'](){const _0x26de87=this['editor'];if(!_0x26de87['plugins']['has']('ShiftEnter'))return;const _0x1c0c2c=_0x26de87['plugins']['get']('TrackChangesEditing');_0x1c0c2c['enableCommand']('shiftEnter'),_0x1c0c2c['descriptionFactory']['registerElementLabel']('softBreak',_0x5b1280=>getTranslation$1(_0x26de87['locale'],'ELEMENT_LINE_BREAK',_0x5b1280));}}function getRangesWithAttribute(_0x2b31af,_0xce409a,_0x366b64){const _0x393732=[];for(const _0x2c9aa5 of _0xce409a['getItems']())_0x2c9aa5['hasAttribute'](_0x2b31af)&&_0x393732['push'](_0x366b64['createRangeOn'](_0x2c9aa5));return _0x393732;}class TrackChangesStandardEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x1377b3=this['editor'],_0x5452da=_0x1377b3['plugins']['get']('TrackChangesEditing');_0x1377b3['plugins']['has']('StandardEditingModeEditing')&&(this['_enableEditingExceptionCommand'](),this['_enableEditingExceptionBlockCommand'](),_0x5452da['enableCommand']('restrictedEditingExceptionAuto'));}['_enableEditingExceptionCommand'](){const _0x50e584=this['editor'],_0x2d9b46=_0x50e584['model'],_0x30eef3=_0x50e584['locale'],_0x3c33b0=_0x50e584['plugins']['get']('TrackChangesEditing'),_0x45c682='restrictedEditingException',_0x4caac6=_0x50e584['commands']['get'](_0x45c682);_0x3c33b0['enableCommand'](_0x45c682,(_0x508158,_0x31e582={})=>{const _0x263003=_0x2d9b46['document']['selection'];if(_0x263003['isCollapsed'])return void _0x508158(_0x31e582);const _0x45d08d=void 0x0!==_0x31e582['forceValue']?_0x31e582['forceValue']:!_0x4caac6['value'];_0x2d9b46['change'](()=>{const _0xba4368=Array['from'](_0x263003['getRanges']());for(const _0x16ebf7 of _0xba4368){const _0x1d02fa=_0x45d08d?[_0x16ebf7]:getRangesWithAttribute(_0x45c682,_0x16ebf7,_0x2d9b46);for(const _0x3a9a6a of _0x1d02fa)_0x3c33b0['markInlineFormat'](_0x3a9a6a,{'commandName':_0x45c682,'commandParams':[{'forceValue':_0x45d08d}]});}});}),_0x3c33b0['descriptionFactory']['registerDescriptionCallback'](_0x340634=>{if('formatBlock'!=_0x340634['type']&&'formatInline'!=_0x340634['type'])return;const {data:_0x588aa4}=_0x340634;return _0x588aa4&&_0x588aa4['commandName']==_0x45c682?_0x588aa4['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x30eef3,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':getTranslation$1(_0x30eef3,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}['_enableEditingExceptionBlockCommand'](){const _0x454819=this['editor'],_0x57ff52=_0x454819['locale'],_0x8f0f24=_0x454819['plugins']['get']('TrackChangesEditing'),_0x367812='restrictedEditingExceptionBlock',_0x192ebe=this['editor']['commands']['get'](_0x367812);_0x8f0f24['enableCommand'](_0x367812,(_0x2d33a8,_0x4b721c={})=>{const _0x20b17f=this['editor']['model']['document']['selection'],_0x205df3=_0x4b721c&&void 0x0!==_0x4b721c['forceValue']?_0x4b721c['forceValue']:!_0x192ebe['value'];let _0x43d229=[];if(_0x205df3){const _0x42de4e=Array['from'](_0x20b17f['getSelectedBlocks']())['filter'](_0x1473db=>isInBlockException(_0x1473db)||_0x3b1bc5(_0x1473db,this['editor']['model']['schema']));_0x43d229=getRangesOfBlockGroups(_0x42de4e,_0x454819['model']);}else{const _0x40aec1=Array['from'](_0x20b17f['getSelectedBlocks']())['map'](_0x2fbb2d=>findExceptionContentBlock(_0x2fbb2d))['filter'](_0x59c0fc=>!!_0x59c0fc);_0x43d229=getRangesOfBlockGroups(_0x40aec1,_0x454819['model']);}_0x454819['model']['change'](()=>{for(const _0x12d619 of _0x43d229)_0x8f0f24['markBlockFormat'](_0x12d619,{'commandName':_0x367812,'commandParams':[{'forceValue':_0x205df3}]});});}),_0x8f0f24['descriptionFactory']['registerDescriptionCallback'](_0x3cbff4=>{const {data:_0x28b1b1}=_0x3cbff4;if(_0x28b1b1&&_0x28b1b1['commandName']==_0x367812)return _0x28b1b1['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x57ff52,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':getTranslation$1(_0x57ff52,'FORMAT_RESTRICTED_DISABLED')};});}}function _0x3b1bc5(_0x16b1db,_0xc6de2e){const _0x3168e9=_0xc6de2e['createContext'](_0x16b1db['parent']);return!!_0xc6de2e['checkChild'](_0x3168e9,'restrictedEditingException')&&!!_0xc6de2e['checkChild'](_0x3168e9['push']('restrictedEditingException'),_0x16b1db);}function isInBlockException(_0x1b0cea){return!!_0x1b0cea['findAncestor']('restrictedEditingException',{'includeSelf':!0x0});}function findExceptionContentBlock(_0x41832a){let _0x5450a6=_0x41832a;for(;_0x5450a6['parent'];){if('restrictedEditingException'==_0x5450a6['parent']['name'])return _0x5450a6;_0x5450a6=_0x5450a6['parent'];}return null;}class TrackChangesStylesDropdown extends ckeditor5['Plugin']{['afterInit'](){const _0x198c40=this['editor'];if(!_0x198c40['plugins']['has']('Style')||!_0x198c40['plugins']['has']('DataSchema'))return;const _0x4c6d54=_0x198c40['plugins']['get']('TrackChangesEditing'),_0xce9b86=_0x198c40['locale'],_0x1ea800=_0x198c40['config']['get']('style')||{},_0x16aae1=_0x198c40['plugins']['get']('GeneralHtmlSupport'),_0x276fe7=_0x198c40['plugins']['get']('StyleUtils')['normalizeConfig'](_0x198c40['plugins']['get']('DataSchema'),_0x1ea800['definitions']);_0x4c6d54['enableDefaultAttributesIntegration']('style');const _0x88bc38=new Set();for(const _0x494fe9 of _0x276fe7['block']){const _0x5ef9b5=_0x16aae1['getGhsAttributeNameForElement'](_0x494fe9['element']);_0x88bc38['add'](_0x5ef9b5);}const _0x42cb52=new Set();for(const _0x5c1c2f of _0x276fe7['inline']){const _0x1318aa=_0x16aae1['getGhsAttributeNameForElement'](_0x5c1c2f['element']);_0x42cb52['add'](_0x1318aa);for(const _0x424e2d of _0x5c1c2f['ghsAttributes'])_0x42cb52['add'](_0x424e2d);}for(const _0x463a92 of _0x88bc38)_0x4c6d54['descriptionFactory']['registerAttributeLabel'](_0x463a92,getTranslation$1(_0xce9b86,'FORMAT_STYLE'));for(const _0x4c385a of _0x42cb52)_0x4c6d54['descriptionFactory']['registerAttributeLabel'](_0x4c385a,getTranslation$1(_0xce9b86,'FORMAT_STYLE'));this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x569066=this['editor'],_0x3373fb=_0x569066['locale'];_0x569066['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4692be=>{if('formatBlock'!=_0x4692be['type']&&'formatInline'!=_0x4692be['type'])return;const {data:_0x4a2958}=_0x4692be;return _0x4a2958&&'style'===_0x4a2958['commandName']?_0x4a2958['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x3373fb,'*Set\x20format:*\x20%0',_0x4a2958['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':getTranslation$1(_0x3373fb,'*Remove\x20format:*\x20%0',_0x4a2958['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}}class _0x4a66b5 extends ckeditor5['Plugin']{['_tablePostFixingSubtypes'];['_tableSuggestions'];constructor(_0x1051aa){super(_0x1051aa),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x5bb775=this['editor'],_0x29d016=_0x5bb775['model']['document']['selection'];if(!_0x5bb775['plugins']['has']('TableEditing'))return;const _0x4b9412=_0x5bb775['locale'],_0x5770a8=_0x5bb775['plugins']['get']('TrackChangesEditing'),_0x5d7e24=_0x5bb775['plugins']['get']('TableUtils');_0x5770a8['descriptionFactory']['registerElementLabel']('table',_0x4ee12a=>getTranslation$1(_0x4b9412,'ELEMENT_TABLE',_0x4ee12a)),this['_setupColumnsRowsFixing'](),_0x5770a8['enableCommand']('insertTable'),_0x5770a8['enableCommand']('selectTableRow'),_0x5770a8['enableCommand']('selectTableColumn');for(const _0x57678e of['insertTableRowAbove','insertTableRowBelow']){const _0x5f1990=_0x5bb775['commands']['get'](_0x57678e);_0x5770a8['enableCommand'](_0x57678e,_0x404403=>{_0x5bb775['model']['change'](_0x5e13a5=>{_0x404403();const _0x5bb0dc='above'===_0x5f1990['order'],_0x17a29e=_0x5d7e24['getSelectionAffectedTableCells'](_0x29d016),_0xc0e3ba=_0x5d7e24['getRowIndexes'](_0x17a29e),_0x195f60=_0x5bb0dc?_0xc0e3ba['first']-0x1:_0xc0e3ba['last']+0x1,_0x382599=_0x17a29e[0x0]['findAncestor']('table'),_0x57c980=_0x5d7e24['createTableWalker'](_0x382599,{'startRow':_0x195f60,'endRow':_0x195f60}),_0x365f34=Array['from'](_0x57c980)['map'](_0xa1473=>_0x5e13a5['createRangeOn'](_0xa1473['cell']));_0x5770a8['markMultiRangeInsertion'](_0x365f34,'tableRow');});});}for(const _0x3ebd77 of['insertTableColumnLeft','insertTableColumnRight']){const _0x1b1c1c=_0x5bb775['commands']['get'](_0x3ebd77);_0x5770a8['enableCommand'](_0x3ebd77,_0x2511c2=>{_0x5bb775['model']['change'](_0x165493=>{_0x2511c2();const _0x12135f='left'===_0x1b1c1c['order'],_0x202794=_0x5d7e24['getSelectionAffectedTableCells'](_0x29d016),_0x58d2a7=_0x5d7e24['getColumnIndexes'](_0x202794),_0x24d1de=_0x12135f?_0x58d2a7['first']-0x1:_0x58d2a7['last']+0x1,_0x36afa1=_0x202794[0x0]['findAncestor']('table'),_0x4b9ca3=_0x5d7e24['createTableWalker'](_0x36afa1,{'startRow':0x0,'column':_0x24d1de,'includeAllSlots':!0x1}),_0x20b08c=Array['from'](_0x4b9ca3)['map'](_0x2b6f55=>_0x165493['createRangeOn'](_0x2b6f55['cell']));_0x5770a8['markMultiRangeInsertion'](_0x20b08c,'tableColumn');});});}for(const _0x157227 of['removeTableRow','removeTableColumn']){const _0x2e08aa=_0x157227['substr'](0xb),_0x320551=_0x2e08aa['toLowerCase'](),_0x276640=_0x320551['substr'](0x0,0x3)+'span',_0x53efe4='table'+_0x2e08aa,_0x47ab7b='min'+_0x2e08aa,_0x55eaa3='max'+_0x2e08aa;_0x5770a8['enableCommand'](_0x157227,()=>{_0x5bb775['model']['change'](_0x3bed35=>{const _0x39128e=_0x5d7e24['getSelectionAffectedTableCells'](_0x29d016),_0x422608=_0x39128e[0x0]['findAncestor']('table');let _0x3eaf7b;if('removeTableRow'==_0x157227){const _0x6dac6=_0x5d7e24['getRowIndexes'](_0x39128e);_0x3eaf7b={'startRow':_0x6dac6['first'],'endRow':_0x6dac6['last'],'includeAllSlots':!0x0};}else{const _0x24bbbf=_0x5d7e24['getColumnIndexes'](_0x39128e);_0x3eaf7b={'startColumn':_0x24bbbf['first'],'endColumn':_0x24bbbf['last'],'includeAllSlots':!0x0};}const _0x11c810=_0x5d7e24['createTableWalker'](_0x422608,_0x3eaf7b),_0x40912b=Array['from'](_0x11c810)['map'](({cell:_0x56e2f2})=>_0x56e2f2),_0x19690d=_0x1e18b0(_0x40912b['filter'](_0x24299b=>_0x24299b['hasAttribute'](_0x276640))),_0x4597e0=_0x1e18b0(_0x40912b['filter'](_0x713504=>!_0x713504['hasAttribute'](_0x276640)))['map'](_0x111eaa=>_0x3bed35['createRangeOn'](_0x111eaa)),_0x194460=_0x5770a8['markMultiRangeDeletion'](_0x4597e0,_0x53efe4);if(_0x194460&&('tableRow'==_0x194460['subType']||'tableColumn'==_0x194460['subType'])){const _0x43c129=this['_getSuggestionCoords'](_0x194460);for(const _0x4edde0 of _0x19690d){const _0x392d77=_0x3bed35['createRangeOn'](_0x4edde0),_0x5b0eec=_0x5d7e24['getCellLocation'](_0x4edde0),_0x11ccb4=_0x4edde0['getAttribute'](_0x276640)-0x1,_0x1e29d6=_0x43c129[_0x47ab7b],_0x58460a=_0x43c129[_0x55eaa3];_0x1e29d6<=_0x5b0eec[_0x320551]&&_0x5b0eec[_0x320551]+_0x11ccb4<=_0x58460a&&_0x194460['addRange'](_0x392d77);}}});});}function _0x3b9111(_0x4609ef){const _0x415aef=Array['from'](_0x29d016['getRanges']())['map'](_0x37d6e4=>ckeditor5['ModelLiveRange']['fromRange'](_0x37d6e4));_0x5bb775['model']['change'](_0x443861=>{const _0x357a64=_0x443861['batch'];_0x4609ef=_0x4609ef['filter'](_0xdf3f3f=>'$graveyard'!=_0xdf3f3f['root']['rootName']),_0x443861['setSelection'](_0x4609ef),_0x5bb775['commands']['get']('removeTableRow')['refresh'](),_0x5bb775['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x5bb775['model']['enqueueChange'](()=>{_0x5bb775['model']['enqueueChange'](_0x357a64,_0x3ba451=>{const _0x3914d8=_0x415aef['filter'](_0x57676d=>'$graveyard'!=_0x57676d['root']['rootName']);_0x3914d8['length']>0x0&&_0x3ba451['setSelection'](_0x3914d8);for(const _0x5ccf5c of _0x415aef)_0x5ccf5c['detach']();});});});}function _0x4ac32a(_0x5c2b5e){_0x5bb775['model']['change'](_0x4ef997=>{const _0x122586=Array['from'](_0x29d016['getRanges']())['map'](_0x261f6e=>ckeditor5['ModelLiveRange']['fromRange'](_0x261f6e)),_0x4e9bdd=[];for(const _0x3aba09 of _0x5c2b5e)for(const _0x296017 of _0x3aba09['getItems']({'shallow':!0x0}))_0x4e9bdd['push'](_0x296017);for(const _0x1489d3 of _0x4e9bdd)'$graveyard'!=_0x1489d3['root']['rootName']&&(_0x4ef997['setSelection'](_0x4ef997['createPositionAt'](_0x1489d3,0x0)),_0x5bb775['commands']['get']('removeTableColumn')['refresh'](),_0x5bb775['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x491bfc=_0x122586['filter'](_0x166b07=>'$graveyard'!=_0x166b07['root']['rootName']);_0x491bfc['length']>0x0&&_0x4ef997['setSelection'](_0x491bfc);for(const _0x3e6c39 of _0x122586)_0x3e6c39['detach']();});}function _0xb82fa9(_0x52a302,_0x3ba12e){return _0x3ba12e['every'](_0x3846a9=>_0x52a302['some'](_0x4b7408=>_0x4b7408['end']['isEqual'](_0x3846a9['start'])||_0x3846a9['end']['isEqual'](_0x4b7408['start'])));}function _0x224767(_0x504242,_0x568c2f){return!_0x504242['some'](_0x4889a1=>_0x568c2f['some'](_0x58f8cd=>_0x4889a1['isIntersecting'](_0x58f8cd)))&&_0x504242['some'](_0x19da0c=>_0x568c2f['some'](_0x373da3=>_0x19da0c['end']['isTouching'](_0x373da3['start'])));}_0x5770a8['descriptionFactory']['registerDescriptionCallback'](_0x23191b=>{if('insertion'!=_0x23191b['type']&&'deletion'!=_0x23191b['type'])return;const _0x4c595d=_0x23191b['getContainedElement']();if(null!=_0x4c595d&&_0x4c595d['is']('element','table')){if('insertion'==_0x23191b['type']){const _0x1972ee=_0x23191b['getItems']()['filter'](_0x205da5=>_0x205da5['is']('$textProxy'))['map'](_0x947d27=>_0x947d27['data']);if(_0x1972ee['length'])return{'type':'insertion','content':getTranslation$1(_0x4b9412,'*Insert:*\x20%0',getTranslation$1(_0x4b9412,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x1972ee['join']('\x20')+'\x22'))};}if('deletion'==_0x23191b['type']){const _0x305633=_0x23191b['getItems']()['filter'](_0x3b631d=>_0x3b631d['is']('$textProxy'))['map'](_0x3fcda2=>_0x3fcda2['data']);if(_0x305633['length'])return{'type':'deletion','content':getTranslation$1(_0x4b9412,'*Remove:*\x20%0',getTranslation$1(_0x4b9412,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x305633['join']('\x20')+'\x22'))};}}}),_0x5770a8['descriptionFactory']['registerDescriptionCallback'](_0x38b975=>{if('tableRow'==_0x38b975['subType']){const _0x3df6f4=_0x38b975['getItems']()['filter'](_0x2852b0=>_0x2852b0['is']('$textProxy'))['map'](_0x46df67=>_0x46df67['data']),_0x260f20=this['_getSuggestionCoords'](_0x38b975),_0x32c087=_0x260f20['maxRow']-_0x260f20['minRow']+0x1;if('insertion'==_0x38b975['type'])return _0x3df6f4['length']?{'type':'insertion','content':getTranslation$1(_0x4b9412,'*Insert:*\x20%0',getTranslation$1(_0x4b9412,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x32c087,'\x22'+_0x3df6f4['join']('\x20')+'\x22']))}:{'type':'insertion','content':getTranslation$1(_0x4b9412,'*Insert:*\x20%0',getTranslation$1(_0x4b9412,'ELEMENT_TABLE_ROW',_0x32c087))};if('deletion'==_0x38b975['type'])return _0x3df6f4['length']?{'type':'deletion','content':getTranslation$1(_0x4b9412,'*Remove:*\x20%0',getTranslation$1(_0x4b9412,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x32c087,'\x22'+_0x3df6f4['join']('\x20')+'\x22']))}:{'type':'deletion','content':getTranslation$1(_0x4b9412,'*Remove:*\x20%0',getTranslation$1(_0x4b9412,'ELEMENT_TABLE_ROW',_0x32c087))};}if('tableColumn'==_0x38b975['subType']){const _0x34cc0f=_0x38b975['getItems']()['filter'](_0x1700ff=>_0x1700ff['is']('$textProxy'))['map'](_0x2735e0=>_0x2735e0['data']),_0x5c1c9c=this['_getSuggestionCoords'](_0x38b975),_0x51cbda=_0x5c1c9c['maxColumn']-_0x5c1c9c['minColumn']+0x1;if('insertion'==_0x38b975['type'])return _0x34cc0f['length']?{'type':'insertion','content':getTranslation$1(_0x4b9412,'*Insert:*\x20%0',getTranslation$1(_0x4b9412,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x51cbda,'\x22'+_0x34cc0f['join']('\x20')+'\x22']))}:{'type':'insertion','content':getTranslation$1(_0x4b9412,'*Insert:*\x20%0',getTranslation$1(_0x4b9412,'ELEMENT_TABLE_COLUMN',_0x51cbda))};if('deletion'==_0x38b975['type'])return _0x34cc0f['length']?{'type':'deletion','content':getTranslation$1(_0x4b9412,'*Remove:*\x20%0',getTranslation$1(_0x4b9412,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x51cbda,'\x22'+_0x34cc0f['join']('\x20')+'\x22']))}:{'type':'deletion','content':getTranslation$1(_0x4b9412,'*Remove:*\x20%0',getTranslation$1(_0x4b9412,'ELEMENT_TABLE_COLUMN',_0x51cbda))};}}),_0x5770a8['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x3b9111),_0x5770a8['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x3b9111),_0x5770a8['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x4ac32a),_0x5770a8['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x4ac32a),_0x5770a8['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0xb82fa9),_0x5770a8['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0xb82fa9),_0x5770a8['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0x224767),_0x5770a8['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0x224767);}['_acceptFormatSuggestionCallbackFactory'](){const _0x5e0d44=this['editor'],_0x1273af=_0x5e0d44['model']['document']['selection'];return(_0x529c3e,_0x2591bc)=>{_0x5e0d44['model']['change'](_0x39bc0c=>{const {commandName:_0x14c211,commandParams:_0x36aa5f}=_0x2591bc;let _0x4ef78d=_0x529c3e[0x0]['end']['nodeBefore'];_0x36aa5f&&_0x36aa5f[0x0]&&!0x1===_0x36aa5f[0x0]['forceValue']&&(_0x4ef78d=_0x529c3e[0x0]['start']['nodeAfter']);const _0x165bbf=_0x39bc0c['createRangeIn'](_0x4ef78d);if('$graveyard'==_0x165bbf['root']['rootName'])return;const _0x500789=Array['from'](_0x1273af['getRanges']())['map'](_0x11d45c=>ckeditor5['ModelLiveRange']['fromRange'](_0x11d45c));_0x39bc0c['setSelection'](_0x165bbf),_0x5e0d44['commands']['get'](_0x14c211)['refresh'](),_0x36aa5f['push']({'forceDefaultExecution':!0x0}),_0x5e0d44['execute'](_0x14c211,..._0x36aa5f);const _0x3a4891=_0x500789['filter'](_0x5228dc=>'$graveyard'!=_0x5228dc['root']['rootName']);_0x3a4891['length']>0x0&&_0x39bc0c['setSelection'](_0x3a4891);for(const _0x326c3b of _0x500789)_0x326c3b['detach']();});};}['_getCoordsForCells'](_0x582314){const _0x1f2d1b=this['editor']['plugins']['get']('TableUtils');let _0x1599bc=Number['MAX_SAFE_INTEGER'],_0x52045b=Number['MIN_SAFE_INTEGER'],_0xc7e080=Number['MAX_SAFE_INTEGER'],_0x52f0b4=Number['MIN_SAFE_INTEGER'];for(const _0x53cc4e of _0x582314){if('$graveyard'==_0x53cc4e['root']['rootName'])continue;const {row:_0x866802,column:_0x27c942}=_0x1f2d1b['getCellLocation'](_0x53cc4e),_0xbeccef=_0x53cc4e['hasAttribute']('rowspan')?_0x53cc4e['getAttribute']('rowspan')-0x1:0x0,_0x289a52=_0x53cc4e['hasAttribute']('colspan')?_0x53cc4e['getAttribute']('colspan')-0x1:0x0;_0x1599bc=_0x866802<_0x1599bc?_0x866802:_0x1599bc,_0x52045b=_0x866802+_0xbeccef>_0x52045b?_0x866802+_0xbeccef:_0x52045b,_0xc7e080=_0x27c942<_0xc7e080?_0x27c942:_0xc7e080,_0x52f0b4=_0x27c942+_0x289a52>_0x52f0b4?_0x27c942+_0x289a52:_0x52f0b4;}return{'minRow':_0x1599bc,'maxRow':_0x52045b,'minColumn':_0xc7e080,'maxColumn':_0x52f0b4};}['_setupColumnsRowsFixing'](){const _0x212c3f=this['editor'],_0x15edf3=_0x212c3f['plugins']['get']('TrackChangesEditing'),_0x49437d=_0x212c3f['plugins']['get']('TableUtils');_0x212c3f['model']['document']['on']('change:data',()=>{const _0x4f4619=Array['from'](_0x212c3f['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x99ea7b,data:_0x38523b}of _0x4f4619){const {group:_0x3a55a7,id:_0x7b72d1,subType:_0x4bea16}=_0x15edf3['_splitMarkerName'](_0x99ea7b);if('suggestion'!=_0x3a55a7)continue;if(null!=_0x38523b['oldRange'])continue;const _0x239c7a=_0x15edf3['getSuggestion'](_0x7b72d1);this['_tablePostFixingSubtypes']['includes'](_0x4bea16)&&this['_tableSuggestions']['add'](_0x239c7a);}},{'priority':'low'});const _0x10f96b=(_0x5b8abd,_0xc51729)=>{let _0x21124a=!0x1;const _0x4bc7ff=_0xc51729['createRangeOn'](_0x5b8abd),_0x3e8054=_0x5b8abd['findAncestor']('table'),_0x1fc4a6=_0x49437d['getCellLocation'](_0x5b8abd);for(const _0xddcb9 of this['_tableSuggestions']){const _0x29ee9d=_0xddcb9['subType'],_0x3a6efa=_0x29ee9d['startsWith']('tablePaste'),_0x52aba3=_0x29ee9d['substr'](_0x3a6efa?0xa:0x5),_0xfd0ef4=_0x52aba3['toLowerCase'](),_0xa72fca=_0xfd0ef4['substr'](0x0,0x3)+'span',_0x11a811='min'+_0x52aba3,_0x21437d='max'+_0x52aba3;if(!_0xddcb9['isInContent'])continue;if(_0x3e8054!=_0xddcb9['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0xddcb9['isIntersectingWithRange'](_0x4bc7ff))continue;const _0x42ce85=_0x5b8abd['hasAttribute'](_0xa72fca)?_0x5b8abd['getAttribute'](_0xa72fca)-0x1:0x0,_0x44b3b5=this['_getSuggestionCoords'](_0xddcb9),_0x4f1c32=_0x44b3b5[_0x11a811],_0x38d7c2=_0x44b3b5[_0x21437d];_0x4f1c32<=_0x1fc4a6[_0xfd0ef4]&&_0x1fc4a6[_0xfd0ef4]+_0x42ce85<=_0x38d7c2&&(_0xddcb9['addRange'](_0x4bc7ff),_0x21124a=!0x0);}return _0x21124a;};_0x212c3f['model']['document']['registerPostFixer'](_0x133cfd=>{let _0x240e6c=!0x1;for(const _0x4e2bef of _0x212c3f['model']['document']['differ']['getChanges']())if('insert'==_0x4e2bef['type']){if('tableRow'==_0x4e2bef['name']){for(const _0x1014d9 of _0x4e2bef['position']['nodeAfter']['getChildren']())_0x240e6c=_0x240e6c||_0x10f96b(_0x1014d9,_0x133cfd);}else'tableCell'==_0x4e2bef['name']&&(_0x240e6c=_0x240e6c||_0x10f96b(_0x4e2bef['position']['nodeAfter'],_0x133cfd));}return _0x240e6c;});}['_getSuggestionCoords'](_0x2ee3ae){return this['_getCoordsForCells'](_0x2ee3ae['getRanges']()['map'](_0x1620ab=>_0x1620ab['start']['nodeAfter']));}}function _0x1e18b0(_0x33c214){return Array['from'](new Set(_0x33c214)['values']());}class TrackChangesTableMergeSplit extends ckeditor5['Plugin']{static get['requires'](){return[_0x4a66b5];}['afterInit'](){const _0x1ca79a=this['editor'],_0x32aa5b=_0x1ca79a['model']['document']['selection'],_0x3f2f12=_0x1ca79a['locale'];if(!_0x1ca79a['plugins']['has']('TableEditing'))return;const _0x3397ad=_0x1ca79a['plugins']['get']('TrackChangesEditing'),_0x24d5db=_0x1ca79a['plugins']['get']('TableUtils'),_0x497365=_0x1ca79a['plugins']['get'](_0x4a66b5);_0x497365['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x3397ad['enableCommand']('mergeTableCells',()=>{const _0xab9215=_0x24d5db['getSelectionAffectedTableCells'](_0x1ca79a['model']['document']['selection']);_0x1ca79a['model']['change'](()=>{_0x3397ad['markMultiRangeBlockFormat'](_0xab9215,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x1ca79a['commands']['get']('mergeTableCells')['on']('execute',(_0x449415,_0x3cb33c)=>{_0x1ca79a['commands']['get']('trackChanges')['value']&&(_0x3cb33c['length']>0x0&&_0x3cb33c[_0x3cb33c['length']-0x1]&&_0x3cb33c[_0x3cb33c['length']-0x1]['forceDefaultExecution']||_0x3397ad['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x449415['stop']());},{'priority':'highest'});for(const _0x211acd of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x23eeec=_0x1ca79a['commands']['get'](_0x211acd);_0x3397ad['enableCommand'](_0x211acd,()=>{const _0x5062e7=_0x1ca79a['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x5029c0=>_0x5029c0['is']('element','tableCell')),_0x2ecbb2=_0x23eeec['value'];_0x1ca79a['model']['change'](()=>{_0x3397ad['markMultiRangeBlockFormat']([_0x5062e7,_0x2ecbb2],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x404c61 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x45c7d4=_0x1ca79a['commands']['get'](_0x404c61);_0x3397ad['enableCommand'](_0x404c61,()=>{const _0x30687c=_0x24d5db['getSelectionAffectedTableCells'](_0x1ca79a['model']['document']['selection'])[0x0],_0x3d6c30=_0x30687c['findAncestor']('table'),{column:_0x5aa45d,row:_0x1a80c4}=_0x24d5db['getCellLocation'](_0x30687c);let _0x4ae019=[];if('horizontally'==_0x45c7d4['direction']){const _0x3fd351=_0x24d5db['createTableWalker'](_0x3d6c30,{'startRow':_0x1a80c4,'endRow':_0x1a80c4,'includeAllSlots':!0x0});_0x4ae019=Array['from'](_0x3fd351)['map'](_0xe44338=>_0xe44338['cell']);}else{const _0x45ae6e=_0x24d5db['createTableWalker'](_0x3d6c30,{'column':_0x5aa45d,'includeAllSlots':!0x0});_0x4ae019=Array['from'](_0x45ae6e)['map'](_0x5a4630=>_0x5a4630['cell']);}_0x1ca79a['model']['change'](_0x1da3dc=>{_0x3397ad['markBlockFormat'](_0x1da3dc['createRangeOn'](_0x30687c),{'commandName':_0x404c61,'commandParams':[]},_0x4ae019,_0x404c61);});});}_0x3397ad['descriptionFactory']['registerDescriptionCallback'](_0x1c7f0f=>{if('formatBlock'!=_0x1c7f0f['type']&&'formatInline'!=_0x1c7f0f['type'])return;const {data:_0x2bd8b3}=_0x1c7f0f;return _0x2bd8b3&&'mergeTableCells'==_0x2bd8b3['commandName']?{'type':'format','content':getTranslation$1(_0x3f2f12,'*Merge\x20cells*')}:void 0x0;}),_0x3397ad['descriptionFactory']['registerDescriptionCallback'](_0x1caa00=>{if('formatBlock'!=_0x1caa00['type']&&'formatInline'!=_0x1caa00['type'])return;const {data:_0x4af249}=_0x1caa00;return _0x4af249?'splitTableCellVertically'==_0x4af249['commandName']?{'type':'format','content':getTranslation$1(_0x3f2f12,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x4af249['commandName']?{'type':'format','content':getTranslation$1(_0x3f2f12,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x7ad25a=_0x497365['_acceptFormatSuggestionCallbackFactory']();for(const _0x5c71f9 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0x3397ad['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x5c71f9,'accept',_0x7ad25a);for(const _0x4c10cc of['splitTableCellVertically','splitTableCellHorizontally'])_0x3397ad['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x4c10cc,'accept',_0x7ad25a);_0x3397ad['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0x43b527=>{_0x1ca79a['model']['change'](_0x469495=>{const _0x2d0832=Array['from'](_0x32aa5b['getRanges']())['map'](_0x1ec48a=>ckeditor5['ModelLiveRange']['fromRange'](_0x1ec48a));_0x469495['setSelection'](_0x43b527),_0x1ca79a['commands']['get']('mergeTableCells')['refresh'](),_0x1ca79a['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x1f7c70=_0x2d0832['filter'](_0x257bf0=>'$graveyard'!=_0x257bf0['root']['rootName']);_0x1f7c70['length']>0x0&&_0x469495['setSelection'](_0x1f7c70);for(const _0x1c7e60 of _0x2d0832)_0x1c7e60['detach']();});});for(const _0x570083 of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x420f32=_0x1ca79a['commands']['get'](_0x570083);_0x420f32['on']('set:isEnabled',(_0x1511b5,_0x153733,_0x16a732)=>{if(_0x16a732){const _0x178446=_0x1ca79a['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0xe0ef1c=>_0xe0ef1c['is']('element','tableCell'));this['_areMergableCells'](_0x420f32['value'],_0x178446)||(_0x1511b5['return']=!0x1,_0x1511b5['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x20925f=this['editor']['commands']['get']('mergeTableCells'),_0x42deef=this['editor']['plugins']['get']('TableUtils');if(!_0x20925f['isEnabled'])return!0x1;const _0x374b2f=_0x42deef['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0x71cd3a of _0x374b2f)for(const _0x3bbfdc of _0x374b2f)if(_0x71cd3a!=_0x3bbfdc&&!this['_areMergableCells'](_0x71cd3a,_0x3bbfdc))return!0x1;return!0x0;}['_areMergableCells'](_0x5eb7ab,_0x1dd9a2){const _0x417ee4=this['editor']['plugins']['get']('TrackChangesEditing'),_0xabf23a=this['editor']['model']['createRangeOn'](_0x5eb7ab),_0x26adf8=this['editor']['model']['createRangeOn'](_0x1dd9a2),_0x2a7a8c=new Set(),_0x24d20e=new Set();for(const _0x6b302f of _0x417ee4['getSuggestions']())if(('insertion'==_0x6b302f['type']||'deletion'==_0x6b302f['type']||'mergeTableCells'==_0x6b302f['subType'])&&_0x6b302f['isInContent']){for(const _0x2fc891 of _0x6b302f['getRanges']())_0x2fc891['containsRange'](_0xabf23a,!0x0)&&_0x2a7a8c['add'](_0x6b302f['type']+':'+_0x6b302f['author']['id']),_0x2fc891['containsRange'](_0x26adf8,!0x0)&&_0x24d20e['add'](_0x6b302f['type']+':'+_0x6b302f['author']['id']);}if(_0x2a7a8c['size']!=_0x24d20e['size'])return!0x1;for(const _0x4b4ad0 of _0x2a7a8c)if(!_0x24d20e['has'](_0x4b4ad0))return!0x1;return!0x0;}}class _0x5984f extends ckeditor5['Plugin']{static get['requires'](){return[_0x4a66b5];}['afterInit'](){const _0x4218fc=this['editor'];if(!_0x4218fc['plugins']['has']('TableEditing'))return;const _0x12ea3b=_0x4218fc['locale'],_0x273218=_0x4218fc['plugins']['get']('TrackChangesEditing');_0x273218['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x273218['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x273218['descriptionFactory']['registerAttributeLabel']('headingRows',getTranslation$1(_0x12ea3b,'FORMAT_HEADER_ROW')),_0x273218['descriptionFactory']['registerAttributeLabel']('headingColumns',getTranslation$1(_0x12ea3b,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x4e2794=this['editor']['plugins']['get']('TrackChangesEditing'),_0x4042fc=this['editor']['plugins']['get'](_0x4a66b5)['_acceptFormatSuggestionCallbackFactory']();_0x4e2794['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0x4042fc),_0x4e2794['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x4042fc),this['_registerLegacyConverters'](),this['_registerLegacyDescription']();}['_registerLegacyConverters'](){const _0x8f81fd=this['editor']['plugins']['get']('TrackChangesEditing'),_0x1751b9=this['editor']['plugins']['get']('TableUtils');function _0x1f798e({showActiveMarker:_0x5a02c2=!0x0,setDataAttribute:_0xe9ece1=!0x0}={}){return(_0x4cdc88,_0x3e4f2e,_0x4ba5bc)=>{const {type:_0x43480e,id:_0x16618c}=_0x8f81fd['_splitMarkerName'](_0x3e4f2e['markerName']);if(!_0x8f81fd['hasSuggestion'](_0x16618c))return;const _0x55af3e=_0x8f81fd['getSuggestion'](_0x16618c),_0x24d330=_0x55af3e['data'];if('formatBlock'!=_0x55af3e['type']||!_0x24d330||'setTableColumnHeader'!=_0x24d330['commandName'])return;if(_0x3e4f2e['item'])return void _0x4cdc88['stop']();if(!_0x4ba5bc['consumable']['consume'](_0x3e4f2e['markerRange'],_0x4cdc88['name']))return;const _0x535ca2=_0x3e4f2e['markerRange']['start']['nodeAfter'],_0x97a6d3=_0x3e4f2e['markerRange']['end']['nodeBefore'],_0x10a54e=_0x535ca2['parent']['parent'],{column:_0x3ae05f}=_0x1751b9['getCellLocation'](_0x535ca2),{column:_0x3929cc}=_0x1751b9['getCellLocation'](_0x97a6d3);for(let _0x701a4=_0x3ae05f;_0x701a4<=_0x3929cc;_0x701a4++){const _0x2b455b=_0x1751b9['createTableWalker'](_0x10a54e,{'column':_0x701a4,'includeAllSlots':!0x1});for(const _0x41847d of _0x2b455b){const _0xf41be1=_0x41847d['cell'],_0x546555=_0x4ba5bc['mapper']['toViewElement'](_0xf41be1);_0x4ba5bc['writer']['addClass']('ck-suggestion-marker-'+_0x43480e,_0x546555),_0xe9ece1&&_0x4ba5bc['writer']['setAttribute']('data-suggestion',_0x16618c,_0x546555),_0x4ba5bc['mapper']['bindElementToMarker'](_0x546555,_0x3e4f2e['markerName']),_0x5a02c2&&(_0x8f81fd['activeMarkers']['includes'](_0x3e4f2e['markerName'])?_0x4ba5bc['writer']['addClass']('ck-suggestion-marker--active',_0x546555):_0x4ba5bc['writer']['removeClass']('ck-suggestion-marker--active',_0x546555));}}};}this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x1f798e(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x5e2f2c,_0x130c75,_0xd6860a)=>{_0xd6860a['options']['showSuggestionHighlights']&&_0x1f798e({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x5e2f2c,_0x130c75,_0xd6860a);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x55a7a7,_0x5c801a,_0x586b49)=>{const {type:_0x3a0d7a,id:_0x2dd0d1}=_0x8f81fd['_splitMarkerName'](_0x5c801a['markerName']);if(!_0x8f81fd['hasSuggestion'](_0x2dd0d1))return;const _0x304adf=_0x8f81fd['getSuggestion'](_0x2dd0d1),_0x36a02f=_0x304adf['data'];if('formatBlock'!=_0x304adf['type']||!_0x36a02f||'setTableColumnHeader'!=_0x36a02f['commandName'])return;const _0xfbe077=_0x586b49['mapper']['markerNameToElements'](_0x5c801a['markerName']);if(_0xfbe077){for(const _0x3b0c86 of _0xfbe077)_0x586b49['writer']['removeClass']('ck-suggestion-marker-'+_0x3a0d7a,_0x3b0c86),_0x586b49['writer']['removeClass']('ck-suggestion-marker--active',_0x3b0c86),_0x586b49['writer']['removeAttribute']('data-suggestion',_0x3b0c86),_0x586b49['mapper']['unbindElementFromMarkerName'](_0x3b0c86,_0x5c801a['markerName']);}},{'priority':'highest'});}['_registerLegacyDescription'](){const _0x1f2a2d=this['editor'],_0x44e065=_0x1f2a2d['locale'];function _0x563f36(_0x338d40){return{'type':'format','content':getTranslation$1(_0x44e065,'*Format:*\x20%0',_0x338d40)};}_0x1f2a2d['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x21890e=>{if('formatBlock'!=_0x21890e['type'])return;const {data:_0x4a5f84}=_0x21890e;if(_0x4a5f84){if('setTableRowHeader'==_0x4a5f84['commandName']){const _0x414724=_0x4a5f84['commandParams'][0x0]['forceValue'];return _0x563f36(getTranslation$1(_0x44e065,_0x414724?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x4a5f84['commandName']){const _0x59f080=_0x4a5f84['commandParams'][0x0]['forceValue'];return _0x563f36(getTranslation$1(_0x44e065,_0x59f080?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}});}}class TrackChangesTableLayout extends ckeditor5['Plugin']{['afterInit'](){const _0x56f01d=this['editor'],_0x2877a8=_0x56f01d['locale'],_0x5650c4=_0x56f01d['plugins']['get']('TrackChangesEditing');function _0x3b0f78(_0xfa94d3){return{'type':'format','content':''+getTranslation$1(_0x2877a8,'*Set\x20table\x20type:*\x20%0',_0xfa94d3)};}_0x56f01d['plugins']['has']('TableLayout')&&(_0x5650c4['enableCommand']('insertTableLayout'),_0x5650c4['enableDefaultAttributesIntegration']('tableType'),_0x5650c4['descriptionFactory']['registerElementLabel'](_0x3ca91e=>_0x3ca91e['is']('element','table')&&'layout'===_0x3ca91e['getAttribute']('tableType'),_0x3661dd=>getTranslation$1(_0x2877a8,'ELEMENT_LAYOUT_TABLE',_0x3661dd)),_0x5650c4['descriptionFactory']['registerDescriptionCallback'](_0x1f90f4=>{const {data:_0x4d3310}=_0x1f90f4;if(_0x4d3310&&'tableType'==_0x4d3310['key'])switch(_0x4d3310['newValue']){case'layout':return _0x3b0f78(getTranslation$1(_0x2877a8,'ELEMENT_LAYOUT_TABLE'));case'content':return _0x3b0f78(getTranslation$1(_0x2877a8,'ELEMENT_CONTENT_TABLE'));}}));}}const tableCellStyleAttributeNames=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],tableCellStyleAttributesObject=/* #__PURE__ -- @preserve */
Object['fromEntries'](tableCellStyleAttributeNames['map'](_0x548c25=>[_0x548c25,null]));class _0x5cdfb4 extends ckeditor5['Plugin']{static get['requires'](){return[_0x4a66b5];}['afterInit'](){const _0x53638c=this['editor'];if(!_0x53638c['plugins']['has']('TableClipboard'))return;const _0x13623f=_0x53638c['plugins']['get']('TrackChangesEditing'),_0x516fcf=_0x53638c['plugins']['get']('TableUtils'),_0x10d5d7=_0x53638c['plugins']['get'](_0x4a66b5),_0x34dbf6=_0x53638c['plugins']['get']('TableClipboard'),_0x1c1260=_0x53638c['plugins']['get']('TableSelection'),_0x4a8918=_0x53638c['plugins']['get'](ckeditor5['ClipboardPipeline']);_0x10d5d7['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x53638c['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x53638c['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x390c21=null,_0x7a8699=!0x1;_0x4a8918['on']('contentInsertion',(_0x12b2db,_0x1aa0de)=>{_0x7a8699='paste'===_0x1aa0de['method'];}),_0x53638c['model']['on']('insertContent',(_0xbbd44d,_0x541ae8)=>{if(!_0x7a8699&&null===_0x1c1260['getSelectedTableCells']())return;const [_0x26ba2c,_0x161284]=_0x541ae8,_0x1af729=_0x541ae8[_0x541ae8['length']-0x1];_0x1af729&&_0x1af729['forceDefaultExecution']||_0x13623f['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&isPasteTableIntoTable(_0x26ba2c,_0x161284,_0x53638c['model'],_0x516fcf,_0x34dbf6)&&(_0xbbd44d['stop'](),_0x390c21={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x53638c['model']['change'](()=>{_0x53638c['model']['insertContent'](_0x541ae8[0x0],_0x541ae8[0x1],_0x541ae8[0x2],{'forceDefaultExecution':!0x0});const _0xc53a99=ckeditor5['uid'](),{rowInsertionRanges:_0x1da215,columnInsertionRanges:_0x52e4c5,insertionRanges:_0x4869bf,deletionRanges:_0x481103,cells:_0xd4f538}=_0x390c21;_0x1da215['length']&&_0x13623f['markMultiRangeInsertion'](_0x1da215,'tablePasteRow',{'tablePasteChainId':_0xc53a99}),_0x52e4c5['length']&&_0x13623f['markMultiRangeInsertion'](_0x52e4c5,'tablePasteColumn',{'tablePasteChainId':_0xc53a99}),_0x4869bf['length']&&(_0x13623f['markMultiRangeInsertion'](_0x4869bf,'tablePaste',{'tablePasteChainId':_0xc53a99,'skipNestingCheck':!0x0}),_0x4869bf['forEach'](_0x19b917=>_0x19b917['detach']?.())),_0x481103['length']&&(_0x13623f['markMultiRangeDeletion'](_0x481103,'tablePaste',{'tablePasteChainId':_0xc53a99,'skipNestingCheck':!0x0}),_0x481103['forEach'](_0x32a302=>_0x32a302['detach']?.()));const _0x54fcdc=_0x13623f['markMultiRangeBlockFormat'](_0xd4f538['map'](({element:_0x19f37f})=>_0x19f37f),{'formatGroupId':ckeditor5['uid']()},[],'tablePasteCell',{'tablePasteChainId':_0xc53a99});if(_0x54fcdc){const _0x424ef6=_0x54fcdc['getMarkers'](),_0x3d6266=[];for(const {element:_0x34e3ff,attributes:_0x52db1d}of _0xd4f538){if(!_0x52db1d)continue;const _0x5f8fef=_0x53638c['model']['createRangeOn'](_0x34e3ff),_0x5eed13=_0x424ef6['find'](_0x426a7c=>_0x426a7c['getRange']()['isEqual'](_0x5f8fef));_0x5eed13&&_0x3d6266['push']([_0x5eed13['name'],_0x52db1d]);}_0x3d6266['length']&&_0x54fcdc['setAttribute']('markerAttributes',Object['fromEntries'](_0x3d6266));}_0x390c21=null;}));},{'priority':ckeditor5['priorities']['high']+0xa}),_0x4a8918['on']('contentInsertion',()=>{_0x7a8699=!0x1;},{'priority':'lowest'}),_0x53638c['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x495a7a,_0x36c272)=>{const [_0x51c109,_0x1b870e,,_0x17e6a2]=_0x36c272;if(!_0x390c21)return;_0x495a7a['stop']();const _0x5e3969=_0x51c109['cell'],_0x863cbc=_0x1b870e,_0x3dc47f=isEmpty(_0x5e3969),_0x47f9d1=isEmpty(_0x863cbc);_0x495a7a['return']=_0x5e3969;let _0x3f9896=null,_0x4b20a1=null;if(_0x47f9d1||_0x3dc47f){if(_0x3dc47f&&!_0x47f9d1){_0x17e6a2['remove'](_0x5e3969['getChild'](0x0));for(const _0x1ca19f of Array['from'](_0x863cbc['getChildren']()))_0x17e6a2['insert'](_0x1ca19f,_0x5e3969,'end');const _0x2245bb=_0x390c21['rowInsertionIndexes']['includes'](_0x51c109['row']),_0x43bec9=_0x390c21['columnInsertionIndexes']['includes'](_0x51c109['column']);_0x2245bb||_0x43bec9||(_0x3f9896=ckeditor5['ModelLiveRange']['fromRange'](_0x17e6a2['createRangeIn'](_0x5e3969)));}else _0x47f9d1&&!_0x3dc47f&&(_0x4b20a1=_0x17e6a2['createRangeIn'](_0x5e3969));}else{const _0x1950e5=_0x17e6a2['createElement']('tableCellSuggestion'),_0x5d04c0=_0x17e6a2['createElement']('tableCellSuggestion');_0x17e6a2['wrap'](_0x17e6a2['createRangeIn'](_0x5e3969),_0x5d04c0),_0x17e6a2['insert'](_0x1950e5,_0x5e3969,0x0);for(const _0x573f31 of Array['from'](_0x863cbc['getChildren']()))_0x17e6a2['insert'](_0x573f31,_0x1950e5,'end');_0x3f9896=ckeditor5['ModelLiveRange']['fromRange'](_0x17e6a2['createRangeOn'](_0x1950e5)),_0x4b20a1=ckeditor5['ModelLiveRange']['fromRange'](_0x17e6a2['createRangeOn'](_0x5d04c0));}const _0x27290b=Array['from'](_0x863cbc['getAttributes']())['filter'](([_0x2f45a8])=>tableCellStyleAttributeNames['includes'](_0x2f45a8));_0x390c21['cells']['push']({'element':_0x5e3969,'attributes':_0x27290b['length']?Object['fromEntries'](_0x27290b):null}),_0x3f9896&&_0x390c21['insertionRanges']['push'](_0x3f9896),_0x4b20a1&&_0x390c21['deletionRanges']['push'](_0x4b20a1);},{'priority':'high'}),_0x516fcf['on']('insertColumns',(_0x23aba1,_0x2c9df6)=>{const [_0x5b552a,_0xe45e24={}]=_0x2c9df6;if(!_0x390c21)return;const _0x1b3563=_0xe45e24['at']||0x0,_0x40de2a=_0xe45e24['columns']||0x1;_0x390c21['columnInsertionIndexes']=new Array(_0x40de2a)['fill'](_0x1b3563)['map']((_0x35f0ad,_0x54702e)=>_0x35f0ad+_0x54702e);for(const {cell:_0x35995f}of _0x516fcf['createTableWalker'](_0x5b552a,{'startColumn':_0x1b3563,'endColumn':_0x1b3563+_0x40de2a-0x1}))_0x390c21['columnInsertionRanges']['push'](_0x53638c['model']['createRangeOn'](_0x35995f));},{'priority':'low'}),_0x516fcf['on']('insertRows',(_0x41648e,_0x572b9a)=>{const [_0x39cbe3,_0x195549={}]=_0x572b9a;if(!_0x390c21)return;const _0x522cc6=_0x195549['at']||0x0,_0x40da3a=_0x195549['rows']||0x1;_0x390c21['rowInsertionIndexes']=new Array(_0x40da3a)['fill'](_0x522cc6)['map']((_0x461ee9,_0x5573d5)=>_0x461ee9+_0x5573d5);for(const {cell:_0x37e09e}of _0x516fcf['createTableWalker'](_0x39cbe3,{'startRow':_0x522cc6,'endRow':_0x522cc6+_0x40da3a-0x1}))_0x390c21['rowInsertionRanges']['push'](_0x53638c['model']['createRangeOn'](_0x37e09e));},{'priority':'low'}),_0x13623f['descriptionFactory']['registerDescriptionCallback'](_0xd59984=>{if(_0xd59984['subType']&&_0xd59984['subType']['startsWith']('tablePaste'))return _0xd59984['previous']?{}:{'type':'insertion','content':getTranslation$1(_0x53638c['locale'],'*Replace\x20table\x20cells*')};});const _0x2da3a9=()=>!0x1;for(const _0x2ef6a6 of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x13623f['_suggestionFactory']['registerCustomCallback']('insertion',_0x2ef6a6,'join',_0x2da3a9),_0x13623f['_suggestionFactory']['registerCustomCallback']('deletion',_0x2ef6a6,'join',_0x2da3a9),_0x13623f['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x2ef6a6,'join',_0x2da3a9);_0x13623f['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0x2da3a9),_0x13623f['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x3cddc3,_0x4cffa9,_0x2bf199)=>{const _0x515d6a=_0x3cddc3['map'](_0x120d7f=>_0x120d7f['getContainedElement']())['filter'](_0x102729=>_0x102729),_0x21b519=new Map(_0x515d6a['map'](_0x5c30df=>[_0x5c30df,null]));if(_0x390c21){for(const {element:_0x374a31,attributes:_0x9babbf}of _0x390c21['cells'])_0x9babbf&&_0x21b519['set'](_0x374a31,_0x9babbf);}else{if(_0x2bf199&&_0x2bf199['markerAttributes'])for(const [_0x9f2df1,_0x554eb4]of Object['entries'](_0x2bf199['markerAttributes'])){const _0x22aa9e=_0x53638c['model']['markers']['get'](_0x9f2df1),_0x1172bc=_0x22aa9e?_0x22aa9e['getRange']()['getContainedElement']():null;_0x1172bc&&_0x21b519['set'](_0x1172bc,_0x554eb4);}}_0x53638c['model']['change'](_0x326b4=>{for(const [_0x5f53c2,_0x207ca3]of _0x21b519)_0x326b4['setAttributes']({...tableCellStyleAttributesObject,..._0x207ca3},_0x5f53c2);});});const _0x5f5a45=(_0x5652d2,_0x4f9a36)=>{_0x13623f['_suggestionFactory']['registerCustomCallback'](_0x5652d2,'tablePaste',_0x4f9a36,(_0x494a65,_0x5a2ad2,_0x4e25bc)=>{_0x53638c['model']['change'](_0x2e86c3=>{const _0xbc9d2f=[];for(const _0x213cc3 of _0x494a65){const _0x8be7db=_0x213cc3['start']['nodeAfter'];_0x8be7db['is']('element','tableCellSuggestion')&&_0xbc9d2f['push'](_0x8be7db);}_0x13623f['_suggestionFactory']['getSuggestionCallback'](_0x5652d2,null,_0x4f9a36)(_0x494a65,_0x5a2ad2,_0x4e25bc);for(const _0xb84e6a of _0xbc9d2f)'$graveyard'!=_0xb84e6a['root']['rootName']&&_0x2e86c3['unwrap'](_0xb84e6a);});});};_0x5f5a45('insertion','accept'),_0x5f5a45('insertion','discard'),_0x5f5a45('deletion','accept'),_0x5f5a45('deletion','discard'),_0x13623f['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x205b6c=>{const _0x213645=_0x205b6c['map'](_0x4e6545=>_0x4e6545['getContainedElement']()),_0x414426=_0x213645[0x0]['findAncestor']('table'),{minRow:_0x2808e0,maxRow:_0x579a89}=_0x10d5d7['_getCoordsForCells'](_0x213645);_0x516fcf['removeRows'](_0x414426,{'at':_0x2808e0,'rows':_0x579a89-_0x2808e0+0x1});}),_0x13623f['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x2d71f7=>{const _0x435447=_0x2d71f7['map'](_0x34bed9=>_0x34bed9['getContainedElement']()),_0x61470=_0x435447[0x0]['findAncestor']('table'),{minColumn:_0x4e6972,maxColumn:_0x4d33b4}=_0x10d5d7['_getCoordsForCells'](_0x435447);_0x516fcf['removeColumns'](_0x61470,{'at':_0x4e6972,'columns':_0x4d33b4-_0x4e6972+0x1});});const _0x3e7c59=(_0x318029,_0x6a0d02)=>{if(!_0x6a0d02['subType']||!_0x6a0d02['subType']['startsWith']('tablePaste'))return;const _0x216e03=_0x6a0d02['attributes']['tablePasteChainId'],_0x14a26c=_0x13623f['getSuggestions']()['filter'](_0x2c7e3c=>_0x2c7e3c['isInContent']&&_0x2c7e3c['attributes']&&_0x2c7e3c['attributes']['tablePasteChainId']==_0x216e03);_0x14a26c['length']&&_0x6a0d02['getAllAdjacentSuggestions']()['length']!=_0x14a26c['length']&&_0x14a26c['reduce']((_0x57815e,_0x2b9d1c)=>(_0x57815e['next']=_0x2b9d1c,_0x2b9d1c['previous']=_0x57815e,_0x2b9d1c));};function _0x213ede(_0x4195f8,_0x4bc644=!0x0){const {id:_0x50f5a8,authorId:_0xd0a43e}=_0x13623f['_splitMarkerName'](_0x4195f8['markerName']),_0x31f614=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x444484=_0x13623f['activeMarkers']['includes'](_0x4195f8['markerName']);return _0x444484&&_0x31f614['push']('ck-suggestion-marker--active'),{'classes':_0x31f614,'attributes':{'data-suggestion':_0x50f5a8,'data-author-id':_0xd0a43e},'priority':_0x444484&&_0x4bc644?0xbc2:0xbb8};}_0x13623f['on']('suggestionLoaded',_0x3e7c59,{'priority':'high'}),_0x13623f['on']('suggestionUnloaded',_0x3e7c59,{'priority':'high'}),_0x53638c['model']['document']['registerPostFixer'](()=>{let _0x2f7eeb=!0x1;const _0x2768b0=Array['from'](_0x53638c['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x192e34,data:_0x2fdcd3}of _0x2768b0){const {group:_0x384c98,type:_0x2bc426,id:_0x533307}=_0x13623f['_splitMarkerName'](_0x192e34);if('suggestion'!=_0x384c98||'deletion'!=_0x2bc426||_0x2fdcd3['oldRange'])continue;if(!_0x13623f['hasSuggestion'](_0x533307))continue;const _0xc41f48=_0x13623f['getSuggestion'](_0x533307)['getRanges'](),_0x24ab4c=_0x53638c['plugins']['get']('Users')['me'];for(const _0x3d581b of _0x13623f['getSuggestions']()){if(!_0x3d581b['isInContent']||_0x3d581b['author']!=_0x24ab4c)continue;if('formatBlock'!=_0x3d581b['type']||'tablePasteCell'!=_0x3d581b['subType'])continue;if(_0x3d581b['getRanges']()['every'](_0x2b56fb=>_0xc41f48['some'](_0x1b7876=>_0x1b7876['containsRange'](_0x2b56fb,!0x0)))){for(const _0x50615c of _0x3d581b['getAllAdjacentSuggestions']())_0x50615c['isInContent']&&(_0x50615c['discard'](),_0x2f7eeb=!0x0);}}}return _0x2f7eeb;}),_0x53638c['model']['document']['registerPostFixer'](_0x207e07=>{const _0x3721e9=_0x53638c['commands']['get']('redo');if(!_0x3721e9||!_0x3721e9['_createdBatches']['has'](_0x207e07['batch']))return!0x1;let _0x4544cb=!0x1;const _0x19325c=_0x53638c['plugins']['get']('Users')['me'],_0x589d04=_0x53638c['model']['document']['differ']['getChanges'](),_0x557775=Array['from'](_0x53638c['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0x4bef3b,data:_0x5718b8})=>{const {group:_0x3e95a9,subType:_0x1d0308,authorId:_0x1ee95b}=_0x13623f['_splitMarkerName'](_0x4bef3b);return'suggestion'==_0x3e95a9&&'tablePaste'==_0x1d0308&&_0x1ee95b==_0x19325c['id']&&!_0x5718b8['oldRange'];});for(const _0x514eb4 of _0x589d04){if('insert'!=_0x514eb4['type']||'tableCellSuggestion'!=_0x514eb4['name']||0x1!=_0x514eb4['length'])continue;const _0x2921ba=_0x207e07['createRange'](_0x514eb4['position'],_0x514eb4['position']['getShiftedBy'](0x1)),_0x5cdcbc=_0x557775['find'](({data:_0x30b3fd})=>_0x30b3fd['newRange']['isEqual'](_0x2921ba));if(!_0x5cdcbc){for(const {name:_0xb1b18d,data:_0x21cd76}of _0x557775)if(_0x2921ba['containsRange'](_0x21cd76['newRange'])){_0x207e07['updateMarker'](_0xb1b18d,{'range':_0x2921ba}),_0x4544cb=!0x0;break;}}}return _0x4544cb;}),_0x53638c['model']['document']['registerPostFixer'](_0x8eac65=>{let _0x4c18ff=!0x1;const _0x55b322=_0x53638c['plugins']['get']('Users')['me'],_0xb50892=_0x13623f['getSuggestions']()['filter'](_0x53cd89=>_0x53cd89['isInContent']&&_0x53cd89['author']==_0x55b322),_0xa2b5cc=new Set(),_0x2fceaf=new Set();for(const _0x2c27eb of _0xb50892)if('tablePaste'==_0x2c27eb['subType'])for(const _0x2786b5 of _0x2c27eb['getMarkers']()){const _0x40a232=_0x2786b5['getRange']()['getContainedElement']();if(_0x40a232){if(_0x40a232['is']('element','tableCellSuggestion')&&isEmpty(_0x40a232)){_0x2c27eb['removeMarker'](_0x2786b5['name']),_0xa2b5cc['add'](_0x40a232),_0x4c18ff=!0x0;const _0x585994=_0x40a232['nextSibling'],_0x8e284a=_0x40a232['previousSibling'],_0x3150a8=_0x585994&&_0x585994['is']('element','tableCellSuggestion'),_0x2a07d1=_0x8e284a&&_0x8e284a['is']('element','tableCellSuggestion');_0x3150a8&&!_0xa2b5cc['has'](_0x585994)&&_0x2fceaf['add'](_0x585994),_0x2a07d1&&!_0xa2b5cc['has'](_0x8e284a)&&_0x2fceaf['add'](_0x8e284a);}else _0x40a232['is']('element','paragraph')&&_0x40a232['isEmpty']&&(_0x2c27eb['removeMarker'](_0x2786b5['name']),_0x4c18ff=!0x0);}}else{if('tablePasteCell'==_0x2c27eb['subType']){if(!_0x2c27eb['attributes']||!_0x2c27eb['attributes']['tablePasteChainId'])continue;const _0x18a4fc=_0x2c27eb['attributes']['markerAttributes'];if(_0x18a4fc&&Object['keys'](_0x18a4fc)['length'])continue;const _0x4d90f1=_0x2c27eb['attributes']['tablePasteChainId'];let _0x5d2694=!0x0,_0x3e3bbe=!0x0;for(const _0x213a2d of _0xb50892)if(_0x213a2d['subType']&&_0x213a2d['subType']['startsWith']('tablePaste')){if(!_0x213a2d['attributes']['tablePasteChainId']){_0x3e3bbe=!0x1;break;}if(_0x213a2d['id']!=_0x2c27eb['id']&&_0x213a2d['attributes']['tablePasteChainId']==_0x4d90f1){_0x5d2694=!0x1;break;}}_0x3e3bbe&&_0x5d2694&&(_0x2c27eb['removeMarkers'](),_0x4c18ff=!0x0);}}for(const _0x31d2ec of _0xa2b5cc)_0x8eac65['remove'](_0x31d2ec);for(const _0x450381 of _0x2fceaf)_0x8eac65['unwrap'](_0x450381);return _0x4c18ff;}),_0x53638c['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x3daa46=>_0x213ede(_0x3daa46),'converterPriority':'high'}),_0x53638c['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x30d2db,_0x49a271)=>_0x49a271['options']['showSuggestionHighlights']?_0x213ede(_0x30d2db,!0x1):null,'converterPriority':'high'});const _0x4c23e6=_0x53638c['editing']['view'];this['listenTo'](_0x4c23e6['document'],'clipboardOutput',(_0x4785ae,_0xc5488a)=>{const _0x418c0f=[];for(const _0x368df4 of _0x4c23e6['createRangeIn'](_0xc5488a['content'])['getItems']())_0x368df4['is']('element','suggestion-td')&&_0x418c0f['push'](_0x368df4);_0x4c23e6['change'](_0x27f539=>{for(const _0x494238 of _0x418c0f)_0x27f539['move'](_0x27f539['createRangeIn'](_0x494238),_0x27f539['createPositionBefore'](_0x494238)),_0x27f539['remove'](_0x494238);});});}}function isEmpty(_0x5c024b){if(_0x5c024b['isEmpty'])return!0x0;const _0x41a7f3=_0x5c024b['getChild'](0x0);return _0x41a7f3['is']('element','paragraph')&&_0x41a7f3['isEmpty'];}function isPasteTableIntoTable(_0x186d2d,_0x3ebc68,_0x2aae80,_0x54cfbe,_0x40f24f){if(_0x3ebc68&&!_0x3ebc68['is']('documentSelection'))return!0x1;const _0x27179a=_0x40f24f['getTableIfOnlyTableInContent'](_0x186d2d,_0x2aae80);if(!_0x27179a||!_0x12a36a(_0x27179a,void 0x0,_0x54cfbe))return!0x1;const _0x35cea2=_0x54cfbe['getSelectionAffectedTableCells'](_0x2aae80['document']['selection']);if(!_0x35cea2['length'])return!0x1;const _0x14a50d=_0x35cea2[0x0]['findAncestor']('table'),_0x4a835d=_0x54cfbe['getRowIndexes'](_0x35cea2),_0x56af87=_0x54cfbe['getColumnIndexes'](_0x35cea2),_0x29caee={'startRow':_0x4a835d['first'],'endRow':_0x4a835d['last'],'startColumn':_0x56af87['first'],'endColumn':_0x56af87['last']};return 0x1==_0x35cea2['length']&&(_0x29caee['endRow']+=_0x54cfbe['getRows'](_0x27179a)-0x1,_0x29caee['endColumn']+=_0x54cfbe['getColumns'](_0x27179a)-0x1),_0x12a36a(_0x14a50d,_0x29caee,_0x54cfbe);}function _0x12a36a(_0x1861e6,_0x4dce45={},_0x1303a3){for(const {isAnchor:_0x186a77,cellHeight:_0x204790,cellWidth:_0x286b15}of _0x1303a3['createTableWalker'](_0x1861e6,{'includeAllSlots':!0x0,..._0x4dce45}))if(!_0x186a77||0x1!=_0x204790||0x1!=_0x286b15)return!0x1;return!0x0;}class _0x4cf98a extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x455b33=this['editor']['plugins']['get']('TrackChangesEditing');_0x455b33['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x455b33['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x455b33['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x455b33['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0x455b33['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0x455b33['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x101cb0,_0x2065ee){const _0x3f16bf=this['editor']['plugins']['get']('TrackChangesEditing'),_0x4f32f7=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x1ae668=_0x2065ee['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x467845=_0x4f32f7['getColumnGroupElement'](_0x1ae668);let _0x52011d=_0x467845?_0x4f32f7['getTableColumnsWidths'](_0x467845):null,_0x39e9ca=_0x1ae668['getAttribute']('tableWidth')||null;const _0x54f83e=_0x2065ee['tableWidth']||_0x39e9ca,_0x56ec5f=_0x2065ee['columnWidths']||_0x52011d,_0x354b1d=this['editor']['plugins']['get']('Users')['me'];for(const _0x11ce1a of _0x3f16bf['getSuggestions']()){const _0x40aa8e=_0x11ce1a['getContainedElement']();if('resizeTable'===_0x11ce1a['subType']&&_0x40aa8e===_0x1ae668){_0x11ce1a['author']!==_0x354b1d&&_0x11ce1a['discard']();const _0x425f38=_0x11ce1a['data']['commandParams'];_0x39e9ca=_0x425f38[0x0]['tableWidth'],_0x52011d=_0x425f38[0x0]['columnWidths'];break;}}_0x101cb0({'table':_0x1ae668,'tableWidth':_0x54f83e,'columnWidths':_0x56ec5f}),_0x3f16bf['markBlockFormat'](_0x1ae668,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x39e9ca,'columnWidths':_0x52011d}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0x5c3c04){if('formatBlock'!=_0x5c3c04['type']&&'formatInline'!=_0x5c3c04['type'])return;const {data:_0xae43bc}=_0x5c3c04;if(_0xae43bc&&'resizeTable'===_0xae43bc['formatGroupId']){const _0x1c4ff6='*Format:*\x20resize\x20table';return{'type':'format','content':getTranslation$1(this['editor']['locale'],_0x1c4ff6)};}}}class TrackChangesTemplate extends ckeditor5['Plugin']{['afterInit'](){const _0x6cef91=this['editor'];_0x6cef91['plugins']['has']('Template')&&_0x6cef91['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}}class TrackChangesTableOfContents extends ckeditor5['Plugin']{['afterInit'](){const _0x5b4d5f=this['editor'];if(!_0x5b4d5f['commands']['get']('insertTableOfContents'))return;_0x5b4d5f['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x20eefa=_0x5b4d5f['plugins']['get']('TrackChangesEditing'),_0x37442b=_0x5b4d5f['locale'];_0x20eefa['descriptionFactory']['registerElementLabel']('tableOfContents',_0x554b40=>getTranslation$1(_0x37442b,'ELEMENT_TABLE_OF_CONTENTS',_0x554b40));}}class TrackChangesTitle extends ckeditor5['Plugin']{['afterInit'](){const _0x198be6=this['editor'];if(!_0x198be6['plugins']['has']('Title'))return;const _0x3bc173=_0x198be6['plugins']['get']('TrackChangesEditing');_0x3bc173['descriptionFactory']['registerElementLabel']('title-content',()=>getTranslation$1(_0x198be6['locale'],'ELEMENT_TITLE')),_0x198be6['model']['document']['registerPostFixer'](_0x1b4e39=>{let _0x507b3b=!0x1;const _0x2f86ad=Array['from'](_0x198be6['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x14938c,data:_0x46dc2d}of _0x2f86ad){const {group:_0x3af2c6}=_0x3bc173['_splitMarkerName'](_0x14938c);if('suggestion'!==_0x3af2c6||!_0x46dc2d['newRange'])continue;const _0x306a90=_0x46dc2d['newRange'],_0x4a0895=_0x306a90['end']['nodeBefore'];if(!_0x4a0895||!_0x4a0895['is']('element','title-content'))continue;if(!_0x306a90['start']['isTouching'](_0x306a90['end']))continue;const _0x51b060=_0x198be6['model']['schema']['getNearestSelectionRange'](_0x306a90['end'],'forward');if(_0x51b060&&_0x51b060['isCollapsed']){const _0xf5e21b=_0x1b4e39['createRange'](_0x306a90['start'],_0x51b060['start']);_0xf5e21b['isEqual'](_0x306a90)||(_0x1b4e39['updateMarker'](_0x14938c,{'range':_0xf5e21b}),_0x507b3b=!0x0);}_0x507b3b||(_0x1b4e39['removeMarker'](_0x14938c),_0x507b3b=!0x0);}return _0x507b3b;});}}class _0x36456c extends ckeditor5['Plugin']{['afterInit'](){const _0x28e8b1=this['editor'],_0x5194f8=_0x28e8b1['plugins']['get']('TrackChangesEditing');_0x28e8b1['plugins']['has']('Uploadcare')&&(_0x5194f8['enableCommand']('uploadcare'),_0x28e8b1['plugins']['has']('UploadcareImageEdit')&&(_0x5194f8['enableCommand']('uploadcareImageEdit'),_0x5194f8['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0x5194f8['descriptionFactory']['registerDescriptionCallback'](_0x49d318=>{if('attribute'!=_0x49d318['type'])return;const {data:_0x163528}=_0x49d318;return _0x163528&&'uploadcareImageId'==_0x163528['key']?{'type':'format','content':''}:void 0x0;})));}}class _0x45fce6 extends ckeditor5['Plugin']{['afterInit'](){const _0x257c28=this['editor'],_0x16d0aa=_0x257c28['plugins']['get']('TrackChangesEditing');_0x257c28['plugins']['has']('UndoEditing')&&(_0x16d0aa['enableCommand']('undo'),_0x16d0aa['enableCommand']('redo'));}}class TrackChangesTableCaption extends ckeditor5['Plugin']{static get['requires'](){return[_0x4a66b5];}['afterInit'](){const _0x40f643=this['editor'];if(!_0x40f643['plugins']['has']('TableCaptionEditing'))return;_0x40f643['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}class TrackChangesTableProperties extends ckeditor5['Plugin']{['tableProperties'];['tableCellProperties'];constructor(_0x16420e){super(_0x16420e),this['tableProperties']=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'],_0x16420e['config']['get']('experimentalFlags.tableCellTypeSupport')&&this['tableCellProperties']['push']('tableCellType');}static get['pluginName'](){return'TrackChangesTableProperties';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0xd2ab56=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x211a7c of this['tableProperties'])_0xd2ab56['enableCommand'](_0x211a7c,(_0x4ba47f,_0x29ac93)=>{const _0x214cb0=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x211a7c,[_0x214cb0],this['tableProperties'],'tableProperties',_0x4ba47f,_0x29ac93);});_0xd2ab56['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0xd2ab56['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0xd2ab56['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0xb169bc,_0x3f1f65)=>this['handleDiscardAction'](this['tableProperties'],_0xb169bc,_0x3f1f65)),_0xd2ab56['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x334272 of this['tableCellProperties'])this['editor']['commands']['get'](_0x334272)&&_0xd2ab56['enableCommand'](_0x334272,(_0x3a3778,_0x42049f)=>{const _0x3f1583=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x334272,_0x3f1583,this['tableCellProperties'],'tableCellProperties',_0x3a3778,_0x42049f);});_0xd2ab56['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0xd2ab56['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0xd2ab56['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x2b0096,_0x2da79c)=>this['handleDiscardAction'](this['tableCellProperties'],_0x2b0096,_0x2da79c)),_0xd2ab56['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1),this['editor']['model']['schema']['checkAttribute']('tableCell','tableCellType')&&_0xd2ab56['descriptionFactory']['registerAttributeLabel']('tableCellType',getTranslation$1(this['editor']['locale'],'FORMAT_TABLE_CELL_TYPE'));}_0xd2ab56['descriptionFactory']['registerDescriptionCallback'](_0x1573b6=>this['handleSuggestionDescription'](_0x1573b6)),this['_registerTablePropertiesAttributes']();}['_handlePropertyChange'](_0x2644d3,_0x517d42,_0x17e0f5,_0x53f37e,_0x39483c,_0x46684e){const _0x3bc68d=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x46684e['batch'],()=>{for(const _0x373e2b of _0x517d42){if(this['_getSuggestion'](_0x373e2b,_0x53f37e))_0x39483c(_0x46684e);else{const _0x28347c={};for(const _0x3f27b1 of _0x17e0f5){const _0x4b5139=_0x373e2b['getAttribute'](_0x3f27b1);void 0x0!==_0x4b5139&&(_0x28347c[_0x3f27b1]=_0x4b5139);}_0x39483c(_0x46684e),_0x3bc68d['markBlockFormat'](_0x373e2b,{'commandParams':[_0x28347c]},[],_0x53f37e);}}});}['handleDiscardAction'](_0x15cd69,_0x59892f,_0x2a1015){const _0x1e8cab=_0x59892f[0x0]['start']['nodeAfter'],_0x3ccad3=_0x2a1015['commandParams'][0x0];this['editor']['model']['change'](_0x4b6b16=>{for(const _0x49fd52 of _0x15cd69)void 0x0!==_0x3ccad3[_0x49fd52]?_0x4b6b16['setAttribute'](_0x49fd52,_0x3ccad3[_0x49fd52],_0x1e8cab):_0x4b6b16['removeAttribute'](_0x49fd52,_0x1e8cab);});}['handleSuggestionDescription'](_0x6b2b50){if(_0x6b2b50['data'])switch(_0x6b2b50['subType']){case'tableProperties':return{'type':'format','content':getTranslation$1(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':getTranslation$1(this['editor']['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0x523897,_0x54ede5){const _0x73d147=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x4f9d33 of _0x73d147['getSuggestions']({'skipNotAttached':!0x0})){const _0x3fdf3c=_0x4f9d33['getContainedElement']();if(_0x4f9d33['subType']===_0x54ede5&&_0x3fdf3c===_0x523897)return _0x4f9d33;}return null;}['_registerTablePropertiesAttributes'](){const _0x4b088f=this['editor']['plugins']['get']('TrackChangesEditing'),_0x690d87=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x2eb2a3 of _0x690d87){const _0x5ea3b8=_0x2eb2a3['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0x4b088f['descriptionFactory']['registerAttributeLabel'](_0x2eb2a3,getTranslation$1(this['editor']['locale'],'FORMAT_'+_0x5ea3b8));}}}class TrackChangesLineHeight extends ckeditor5['Plugin']{['afterInit'](){const _0x29d2d8=this['editor'];if(!_0x29d2d8['plugins']['has']('LineHeight'))return;const _0x4289e5=_0x29d2d8['plugins']['get']('TrackChangesEditing'),_0x3bc3f2=_0x29d2d8['locale'];_0x4289e5['enableDefaultAttributesIntegration']('lineHeight'),_0x4289e5['descriptionFactory']['registerAttributeLabel']('lineHeight',getTranslation$1(_0x3bc3f2,'FORMAT_LINE_HEIGHT'));}}const renameAttributeKey='$elementName';class TrackChangesEditing extends ckeditor5['Plugin']{['descriptionFactory'];['trackChangesCommand'];['_adapter'];['_suggestionFactory'];['_suggestions'];['_commentsRepository'];['_enabledCommands'];['_model'];['_suggestionState'];['_isForcedDefaultExecutionBlock'];['_trackFormatChanges'];['_mergeNestedSuggestions'];['_recordAttributeSuggestions']=!0x1;['_trackingSessionId']=null;static get['requires'](){return['CommentsRepository',SuggestionsConversion,_0xd5bff4,ckeditor5['PendingActions'],DocumentCompare,TrackChangesAIAssistant,_0x50eed2,TrackChangesAIQuickActions,TrackChangesAlignment,TrackChangesBasicStyles,TrackChangesBlockQuote,_0x19059b,_0xde2cd3,_0x2cc028,_0x1dfc01,TrackChangesComments,TrackChangesDeleteCommand,_0x200c41,TrackChangesEnterCommand,_0x2a2e14,TrackChangesFont,TrackChangesFootnotes,TrackChangesFormatPainter,_0x3da429,TrackChangesHighlight,TrackChangesHorizontalLine,TrackChangesHtmlEmbed,_0x34997a,TrackChangesImageStyle,_0x4fe75a,TrackChangesImportWord,TrackChangesIndent,TrackChangesInputCommand,TrackChangesLegacyList,TrackChangesLegacyListProperties,TrackChangesMultiLevelList,_0x115c42,TrackChangesList,TrackChangesLineHeight,TrackChangesDocumentListProperties,_0x27a983,TrackChangesMention,_0x86dda8,_0x49a51a,_0x5712a5,_0x344341,TrackChangesRemoveFormat,TrackChangesRestrictedEditingMode,TrackChangesShiftEnterCommand,TrackChangesStandardEditingMode,TrackChangesStylesDropdown,_0x4a66b5,TrackChangesTableMergeSplit,_0x5984f,TrackChangesTableLayout,TrackChangesTableCaption,_0x5cdfb4,_0x4cf98a,TrackChangesTableOfContents,TrackChangesTableProperties,TrackChangesTemplate,TrackChangesTitle,_0x36456c,_0x45fce6];}static get['pluginName'](){return'TrackChangesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x256bcb){super(_0x256bcb),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0xf677d1,_0x21fa07,_0x3d45f4,_0x2976c3)=>{this['_model']['change'](()=>{for(const _0x24b487 of[..._0x2976c3,..._0x3d45f4])this['_model']['markers']['has'](_0x24b487)&&_0x256bcb['editing']['reconvertMarker'](_0x24b487);});}),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']=_0x256bcb['plugins']['get']('CommentsRepository'),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x256bcb['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x256bcb['config']['get']('trackChanges.trackFormatChanges'),_0x256bcb['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x256bcb['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x1e821e(_0x256bcb,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0xdeab24=this['editor'];_0xdeab24['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x2e2409,{writer:_0x3985b6})=>{let _0x3f3fa9='suggestion:'+_0x2e2409['getAttribute']('suggestion-type')+':'+_0x2e2409['getAttribute']('id');return _0x2e2409['getAttribute']('marker-count')&&(_0x3f3fa9+=':'+_0x2e2409['getAttribute']('marker-count')),_0x3985b6['createElement']('$marker',{'data-name':_0x3f3fa9});}}),_0xdeab24['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0xdeab24['model']['document']['registerPostFixer'](_0x469c=>{let _0x294238=!0x1;const _0x1aedaa=Array['from'](_0xdeab24['model']['document']['differ']['getChangedMarkers']()),_0xf264b4=new Set();for(const {name:_0x289083,data:_0x2a0fbe}of _0x1aedaa){const {group:_0x38080a,type:_0x19f694,subType:_0x20b612,id:_0x5a7d8e}=this['_splitMarkerName'](_0x289083);if('suggestion'!==_0x38080a)continue;const _0x46ed6c=_0x20b612?'suggestion:'+_0x19f694+':'+_0x20b612+':'+_0x5a7d8e:'suggestion:'+_0x19f694+':'+_0x5a7d8e,_0x588963=_0xdeab24['model']['markers']['getMarkersGroup'](_0x46ed6c),_0x1eea47=_0xdeab24['model']['markers']['get'](_0x289083),_0x383b77=this['_suggestions']['get'](_0x5a7d8e);if(null!=_0x2a0fbe['newRange']){'formatInline'==_0x19f694&&(_0x294238=_0x294238||trimFormatInlineSuggestionRange(_0x2a0fbe['newRange'],_0x289083,_0x469c,_0xdeab24['model']['schema']));const _0x57953f='attribute'==_0x19f694&&this['_isBlockAttribute'](_0x20b612['split']('|')[0x0]),_0x2b73db='attribute'==_0x19f694&&this['_isInlineAttribute'](_0x20b612['split']('|')[0x0]);if(_0x2a0fbe['newRange']['isCollapsed']||'$graveyard'==_0x2a0fbe['newRange']['root']['rootName']||'formatBlock'==_0x19f694&&!isCorrectFormatBlockSuggestionRange(_0x2a0fbe['newRange'])||_0x57953f&&!isCorrectFormatBlockSuggestionRange(_0x2a0fbe['newRange'])||_0x2b73db&&isEmptyRange(_0x2a0fbe['newRange'])||'deletion'==_0x19f694&&isEmptyRange(_0x2a0fbe['newRange'])||_0x1eea47&&isIntersectingWithOtherMarkers(_0x1eea47,_0x588963))_0x469c['removeMarker'](_0x289083),_0x294238=!0x0;else{if(!_0x383b77||!_0x383b77['isInContent'])continue;if(_0x2a0fbe['newRange']&&_0x2a0fbe['oldRange']&&_0x2a0fbe['newRange']['isEqual'](_0x2a0fbe['oldRange']))continue;_0xf264b4['add'](_0x383b77);}}}return _0xf264b4['size']>0x0&&(_0x294238=!!this['_joinWithAdjacentSuggestions'](_0xf264b4)||_0x294238),_0x294238;}),_0xdeab24['model']['document']['registerPostFixer'](_0x348a61=>{let _0x53d681=!0x1;for(const _0x4fa6ee of _0xdeab24['model']['document']['differ']['getChanges']())if('insert'==_0x4fa6ee['type'])for(const _0x4df5b1 of this['_suggestions']['values']()){if(_0x4df5b1['isMultiRange']||!_0x4df5b1['isInContent'])continue;const _0x3b34f2='formatBlock'==_0x4df5b1['type'],_0x495885=this['_getAttributeKey'](_0x4df5b1),_0x159459=_0x495885&&this['_isBlockAttribute'](_0x495885);if(!_0x3b34f2&&!_0x159459)continue;const _0x542ae4=_0x4df5b1['getFirstRange']();if(_0x542ae4['start']['parent']!=_0x542ae4['end']['parent']&&!_0x542ae4['end']['isAtEnd']){const _0x53c369=_0xdeab24['model']['createPositionAt'](_0x542ae4['start']['nodeAfter'],'end'),_0x4a5597=_0xdeab24['model']['createRange'](_0x542ae4['start'],_0x53c369);_0x348a61['updateMarker'](_0x4df5b1['getFirstMarker'](),{'range':_0x4a5597}),_0x53d681=!0x0;}}return _0x53d681;}),_0xdeab24['model']['document']['registerPostFixer'](_0x440415=>this['_processAttributeChanges'](_0x440415)),_0xdeab24['model']['document']['registerPostFixer'](_0x5edca6=>!_0x5edca6['batch']['isLocal']&&this['_processAttributeSuggestions'](_0x5edca6)),_0xdeab24['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0xdeab24['model']['document']['on']('change:data',(_0x2450d,_0x6dbb95)=>{if(!_0x6dbb95['isLocal']||_0x6dbb95['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x1d8220=_0xdeab24['model']['document']['differ']['getChanges']();if(0x0==_0x1d8220['length'])return;const _0x4458d4=[],_0x2c3f06=_0x1d8220['filter'](_0x4e7573=>'attribute'==_0x4e7573['type']),_0x56d5fd=_0x1d8220['filter'](_0x9c973b=>'insert'==_0x9c973b['type']&&'$text'!=_0x9c973b['name']);for(const _0x22e830 of _0x2c3f06)this['_isRegisteredAttribute'](_0x22e830['attributeKey'])&&_0x4458d4['push']({'key':_0x22e830['attributeKey'],'newValue':_0x22e830['attributeNewValue'],'oldValue':_0x22e830['attributeOldValue'],'range':fixAttributeSuggestionRange(_0x22e830['range'],_0xdeab24['model'])});for(const _0x1290da of _0x56d5fd){if('rename'!=_0x1290da['action']&&'refresh'!=_0x1290da['action'])continue;const _0x40f50d=createBlockFormatRangeForElement(_0x1290da['position']['nodeAfter'],_0xdeab24['model']),_0x432277=_0x1290da['before'];'rename'==_0x1290da['action']&&_0x4458d4['push']({'key':renameAttributeKey,'newValue':_0x1290da['name'],'oldValue':_0x432277['name'],'range':_0x40f50d});for(const [_0x28caaa,_0x2613eb]of _0x432277['attributes']){if(!this['_isRegisteredAttribute'](_0x28caaa))continue;const _0x315ac2=_0x1290da['attributes']['get'](_0x28caaa);_0x2613eb!==_0x315ac2&&_0x4458d4['push']({'key':_0x28caaa,'newValue':_0x315ac2,'oldValue':_0x2613eb,'range':_0x40f50d});}for(const [_0x3229b8,_0x2c58e9]of _0x1290da['attributes'])this['_isRegisteredAttribute'](_0x3229b8)&&(_0x432277['attributes']['has'](_0x3229b8)||_0x4458d4['push']({'key':_0x3229b8,'newValue':_0x2c58e9,'oldValue':null,'range':_0x40f50d}));}0x0!=_0x4458d4['length']&&_0xdeab24['model']['enqueueChange'](_0x6dbb95,_0x189829=>{const _0x50a59d=ckeditor5['uid']();for(const {range:_0x2f6871,key:_0x32d5f9,oldValue:_0x23a3d5,newValue:_0x4b065d}of _0x4458d4)this['markAttributeChange'](_0x2f6871,_0x32d5f9,_0x23a3d5,_0x4b065d,{'groupId':_0x50a59d});this['_reduceExistingSuggestions'](_0x189829,_0x4458d4);});},{'priority':'lowest'}),_0xdeab24['model']['markers']['on']('update:suggestion',(_0x1d1bf2,_0x258733,_0x2f0500)=>{if(null==_0x2f0500){const {id:_0xca4a59}=this['_splitMarkerName'](_0x258733['name']),_0x3c4ced=this['_suggestions']['get'](_0xca4a59);_0x3c4ced&&_0x3c4ced['addMarkerName'](_0x258733['name']);}}),_0xdeab24['model']['document']['on']('change:data',()=>{const _0x213abf=Array['from'](_0xdeab24['model']['document']['differ']['getChangedMarkers']())['filter'](_0x2392a0=>'suggestion'===this['_splitMarkerName'](_0x2392a0['name'])['group']);if(0x0===_0x213abf['length'])return;_0x213abf['sort']((_0x50cc37,_0x164540)=>{const _0x2ab5da=_0x50cc37['data']['oldRange'],_0x2e2517=_0x164540['data']['oldRange'];return null===_0x2ab5da&&null===_0x2e2517?0x0:null===_0x2ab5da&&null!==_0x2e2517?-0x1:null!==_0x2ab5da&&null===_0x2e2517?0x1:_0x2ab5da['start']['isBefore'](_0x2e2517['start'])?-0x1:0x1;});const _0x4b6e81=new Set(),_0x4da002=new Set();for(const {name:_0x49e973,data:_0x4a3972}of _0x213abf){const {id:_0x12ef82}=this['_splitMarkerName'](_0x49e973);if(null===_0x4a3972['oldRange']){const _0x553f35=this['_handleNewSuggestionMarker'](_0x49e973);_0x4da002['add'](_0x553f35);}else{const _0x1736c1=this['_suggestions']['get'](_0x12ef82);null!==_0x4a3972['newRange']||_0x1736c1['isInContent']?(_0x4b6e81['add'](_0x1736c1['head']),_0x4da002['add'](_0x1736c1)):this['_removeSuggestion'](_0x1736c1);}}_0x4da002['size']>0x0&&this['_refreshSuggestionsChain'](_0x4da002);for(const _0x29accd of _0x4b6e81)this['fire']('suggestionChanged',_0x29accd);}),_0xdeab24['model']['on']('applyOperation',(_0x4edd09,_0x507713)=>{const _0xd2b2b=_0x507713[0x0];if(!this['_suggestions']['size'])return;if(!_0xd2b2b['isDocumentOperation'])return;if(_0xd2b2b['batch']['isUndo']||!_0xd2b2b['batch']['isLocal'])return;let _0x4166fa,_0x41c630;switch(_0xd2b2b['type']){case'insert':_0x4166fa=_0xdeab24['model']['createPositionAt'](_0xd2b2b['position']),_0x41c630=_0x4166fa['getShiftedBy'](_0xd2b2b['howMany']);break;case'split':_0x4166fa=_0xdeab24['model']['createPositionAt'](_0xd2b2b['splitPosition']),_0x41c630=_0xdeab24['model']['createPositionAt'](_0xd2b2b['moveTargetPosition']);break;case'move':_0x4166fa=_0xdeab24['model']['createPositionAt'](_0xd2b2b['targetPosition']),_0x41c630=_0x4166fa['getShiftedBy'](_0xd2b2b['howMany']);break;default:return;}const _0x23df8f=_0xdeab24['model']['createRange'](_0x4166fa,_0x41c630);_0xdeab24['model']['change'](()=>{for(const {suggestion:_0x2e3650,meta:_0x59c5af}of this['_findSuggestions'](_0x23df8f)){if(_0x2e3650['isMultiRange'])continue;if('formatInline'==_0x2e3650['type'])continue;const _0x42796c=this['_getAttributeKey'](_0x2e3650);if(_0x42796c&&this['_isBlockAttribute'](_0x42796c)&&'split'!=_0xd2b2b['type'])continue;const _0x4ffa4b=_0x2e3650['data']&&_0x2e3650['data']['multipleBlocks'];('formatBlock'!=_0x2e3650['type']||'split'==_0xd2b2b['type']&&!_0x4ffa4b)&&(_0x59c5af['containsRangeInObject']||'insertion'==_0x2e3650['type']&&_0x59c5af['isOwn']||_0x2e3650['getFirstRange']()['containsRange'](_0x23df8f)&&this['_breakSuggestionMarker'](_0x2e3650,_0x4166fa,_0x41c630));}});},{'priority':'lowest'}),_0xdeab24['model']['on']('deleteContent',(_0x24b8ad,_0x2fb866)=>{const _0x309fd5=_0x2fb866[0x0],_0x5dea41=_0x2fb866[0x1];if(_0x5dea41&&_0x5dea41['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x309fd5['isCollapsed'])return;const _0x12565e=_0xdeab24['model']['schema'],{start:_0x5f5a0b,end:_0x2ab0bd}=_0x309fd5['getFirstRange'](),_0x2aa320=_0x5f5a0b['nodeAfter']&&_0x12565e['isLimit'](_0x5f5a0b['nodeAfter'])?null:_0x12565e['getNearestSelectionRange'](_0x5f5a0b,'forward'),_0x46499d=_0x2ab0bd['nodeBefore']&&_0x12565e['isLimit'](_0x2ab0bd['nodeBefore'])?null:_0x12565e['getNearestSelectionRange'](_0x2ab0bd,'backward'),_0x260138=_0xdeab24['model']['createRange'](_0x2aa320?_0x2aa320['start']:_0x5f5a0b,_0x46499d?_0x46499d['end']:_0x2ab0bd);_0xdeab24['model']['change'](_0x382498=>{this['markDeletion'](_0x260138);const _0x4e41cb=_0xdeab24['model']['schema']['getNearestSelectionRange'](_0x260138['start']);_0x309fd5['is']('documentSelection')?_0x382498['setSelection'](_0x4e41cb):_0x309fd5['setTo'](_0x4e41cb);}),_0x24b8ad['stop']();},{'priority':ckeditor5['priorities']['normal']+0xa}),_0xdeab24['model']['on']('insertContent',(_0x1d601b,_0x4bd540)=>{const _0x5c6941=_0x4bd540[_0x4bd540['length']-0x1];_0x5c6941&&_0x5c6941['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0xdeab24['model']['change'](()=>{let _0x44fe89=_0xdeab24['model']['insertContent'](_0x4bd540[0x0],_0x4bd540[0x1],_0x4bd540[0x2],{'forceDefaultExecution':!0x0});if(!_0x44fe89)return;_0x1d601b['return']=_0x44fe89['clone']();const _0x398bda=_0x44fe89['end']['nodeBefore'],_0x184695=_0xdeab24['model']['schema'];_0x398bda&&_0x184695['isBlock'](_0x398bda)&&!_0x184695['isObject'](_0x398bda)&&(_0x44fe89=_0xdeab24['model']['createRange'](_0x44fe89['start'],_0xdeab24['model']['createPositionAt'](_0x398bda,'end'))),this['markInsertion'](_0x44fe89);}),_0x1d601b['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0x6038d6=new AcceptSuggestionCommand(_0xdeab24,this['_suggestions']);_0xdeab24['commands']['add']('acceptSuggestion',_0x6038d6),this['enableCommand']('acceptSuggestion');const _0x3f4005=new DiscardSuggestionCommand(_0xdeab24,this['_suggestions']);_0xdeab24['commands']['add']('discardSuggestion',_0x3f4005),this['enableCommand']('discardSuggestion'),_0xdeab24['commands']['add']('acceptAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0xdeab24,_0x6038d6,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0xdeab24['commands']['add']('discardAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0xdeab24,_0x3f4005,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0xdeab24['commands']['add']('acceptSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0xdeab24,_0x6038d6,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0xdeab24['commands']['add']('discardSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0xdeab24,_0x3f4005,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x471180=_0xdeab24['plugins']['get']('CommentsRepository');this['listenTo'](_0x471180,'addComment',(_0x4cfb39,{threadId:_0x464b15})=>{const _0x50d54f=this['_suggestions']['get'](_0x464b15);_0x50d54f&&_0x50d54f['commentThread']&&0x1===_0x50d54f['commentThread']['length']&&this['_updateSuggestionData'](_0x464b15,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x471180,'removeComment',(_0x201fa7,{threadId:_0x55dbe4})=>{const _0x1aa202=this['_suggestions']['get'](_0x55dbe4);_0x1aa202&&_0x1aa202['commentThread']&&!_0x1aa202['commentThread']['length']&&this['_updateSuggestionData'](_0x55dbe4,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){_0x4f9067(this);}set['adapter'](_0x5491f5){if(this['_adapter'])throw new ckeditor5['CKEditorError']('track-changes-adapter-already-set',this);this['_adapter']=_0x5491f5;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x13e615=!0x1,toJSON:_0x35ebc2=!0x1}={}){const _0x3fc548=[];for(const _0x499333 of this['_suggestions']['values']())_0x13e615&&!_0x499333['isInContent']||_0x3fc548['push'](_0x499333);return _0x35ebc2?_0x3fc548['map'](_0x5441ed=>_0x5441ed['toJSON']()):_0x3fc548;}['getSuggestion'](_0x496629){const _0x56d46d=this['_suggestions']['get'](_0x496629);if(!_0x56d46d)throw new ckeditor5['CKEditorError']('track-changes-suggestion-not-found',this);return _0x56d46d;}['hasSuggestion'](_0x1b43e4){return this['_suggestions']['has'](_0x1b43e4);}['addSuggestionData'](_0x4f3f7a){const {authorId:_0x2d640b,id:_0x2db6f9,originalSuggestionId:_0x3beff1,attributes:_0x42dfa5}=_0x4f3f7a,[_0x128379,_0x3f5c1e]=_0x4f3f7a['type']['split'](':'),_0x4422c3=this['_suggestions']['get'](_0x2db6f9)||this['_createSuggestion'](_0x128379,_0x3f5c1e,_0x2db6f9,_0x2d640b,_0x42dfa5,_0x3beff1);if(this['_addThreadToSuggestion'](_0x4422c3),this['_checkSuggestionCorrectness'](_0x4422c3,_0x128379,_0x3f5c1e||null,_0x2d640b),_0x4422c3['createdAt']=_0x4f3f7a['createdAt'],_0x4422c3['_isDataLoaded']=!0x0,_0x42dfa5&&_0x42dfa5['@external']){const _0x1b13cf=_0x42dfa5['@external'],_0x575d09=this['_getExternalAuthor'](_0x1b13cf['authorName']);_0x4422c3['authoredAt']=_0x1b13cf['createdAt'],_0x4422c3['author']=_0x575d09,_0x4422c3['isExternal']=!0x0;}else _0x4422c3['authoredAt']=_0x4f3f7a['createdAt'];switch(_0x4f3f7a['data']&&(_0x4422c3['data']=_0x4f3f7a['data']),_0x4f3f7a['attributes']&&(_0x4422c3['attributes']=_0x4f3f7a['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0x4422c3['_saved']=!0x0),this['_suggestionState']['get'](_0x4422c3)){case'notReady':this['_suggestionState']['set'](_0x4422c3,'dataReady');break;case'markerReady':_0x4422c3['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0x4422c3])),this['_refreshSuggestionsChain'](new Set([_0x4422c3])),this['_suggestionState']['set'](_0x4422c3,'ready'),this['fire']('suggestionLoaded',_0x4422c3)):this['_suggestionState']['set'](_0x4422c3,'removed');}return _0x4422c3;}['acceptSuggestion'](_0x488b4b){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x2c8daf of _0x488b4b['getAllAdjacentSuggestions']())_0x2c8daf['accept']();});});}['discardSuggestion'](_0x4737a1){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x4c936b of _0x4737a1['getAllAdjacentSuggestions']())_0x4c936b['discard']();});});}['enableCommand'](_0x2510db,_0xabb8f9){const _0x3e0e7b=this['editor']['commands']['get'](_0x2510db);if(!_0x3e0e7b)throw new ckeditor5['CKEditorError']('track-changes-command-not-found',this,{'commandName':_0x2510db});if(this['_enabledCommands']['has'](_0x3e0e7b))throw new ckeditor5['CKEditorError']('track-changes-enable-command-twice',this,{'commandName':_0x2510db});this['_enabledCommands']['add'](_0x3e0e7b),_0xabb8f9&&_0x3e0e7b['on']('execute',(_0x58cb24,_0x25f884)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x25f884['length']>0x0&&_0x25f884[_0x25f884['length']-0x1]&&_0x25f884[_0x25f884['length']-0x1]['forceDefaultExecution']?_0x25f884['pop']():(_0x58cb24['return']=_0xabb8f9((..._0x2cb7b7)=>_0x3e0e7b['execute'](..._0x2cb7b7,{'forceDefaultExecution':!0x0}),..._0x25f884),_0x58cb24['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0xd4d46a){let _0x4ac21d,_0x3981be;const _0x20182c=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x4ac21d=_0xd4d46a();}catch(_0xb3ebfb){_0x3981be=_0xb3ebfb;}return _0x20182c||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x3981be&&ckeditor5['CKEditorError']['rethrowUnexpectedError'](_0x3981be,this),_0x4ac21d;}['markInsertion'](_0x56a5fb,_0x435b48=null,_0x2b7b79={}){if(_0x56a5fb['isCollapsed'])return null;const _0x30f51c=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0x2b7b79['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x2e8f37,meta:_0x23a32a}of this['_findSuggestions'](_0x56a5fb,'insertion'))if(_0x23a32a['isOwn']){if(!_0x23a32a['isNextTo']){if(_0x23a32a['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!_areSimilarAttributes(_0x2e8f37,_0x2b7b79))continue;return _0x2e8f37;}if(_areSimilarAttributes(_0x2e8f37,_0x2b7b79))return _0x2e8f37;this['_breakSuggestionMarker'](_0x2e8f37,_0x56a5fb['start'],_0x56a5fb['end']);break;}if(_0x435b48==_0x2e8f37['subType']&&_areSimilarAttributes(_0x2e8f37,_0x2b7b79)){const _0x38e362=_0x2e8f37['getFirstRange']();return _0x38e362['start']['isEqual'](_0x56a5fb['end'])?this['_setSuggestionRange'](_0x2e8f37,this['_model']['createRange'](_0x56a5fb['start'],_0x38e362['end'])):this['_setSuggestionRange'](_0x2e8f37,this['_model']['createRange'](_0x38e362['start'],_0x56a5fb['end'])),_0x2e8f37;}}const _0x3e22ff=ckeditor5['uid'](),_0x52a24a=_0x30f51c['id'],_0x957800=_0x435b48?'insertion:'+_0x435b48:'insertion',_0x39c70a=this['_setSuggestionData']({'id':_0x3e22ff,'type':_0x957800,'createdAt':new Date(),'authorId':_0x52a24a,'attributes':_0x2b7b79});return this['_addSuggestionMarker'](_0x957800,_0x3e22ff,_0x52a24a,_0x56a5fb),_0x39c70a;}['markMultiRangeInsertion'](_0x4d3556,_0x96b276='multi',_0x5c015c={}){const _0x5efdbd=this['editor']['plugins']['get']('Users')['me'],_0x2183c6=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0x96b276,'join');this['_trackingSessionId']&&(_0x5c015c['trackingSessionId']=this['_trackingSessionId']);for(const _0x45ce1c of this['getSuggestions']())if(_0x45ce1c['author']['id']==_0x5efdbd['id']&&'insertion'==_0x45ce1c['type']&&_0x45ce1c['subType']==_0x96b276&&_areSimilarAttributes(_0x45ce1c,_0x5c015c)&&(_0x2183c6(_0x45ce1c['getRanges'](),_0x4d3556)||_0x2183c6(_0x4d3556,_0x45ce1c['getRanges']()))){for(const _0x24cbcd of _0x4d3556)_0x45ce1c['addRange'](_0x24cbcd);return _0x45ce1c;}for(const {suggestion:_0x4673ff,meta:_0x40496c}of this['_findSuggestions'](_0x4d3556,'insertion')){if(!_0x40496c['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x40496c['containsRangeInObject'])continue;if(!_areSimilarAttributes(_0x4673ff,_0x5c015c))continue;let _0x3c8ef9=!0x0;for(const _0x4d194c of _0x4673ff['getRanges']())for(const _0x496135 of _0x4d3556)if(!_0x4d194c['containsRange'](_0x496135)){_0x3c8ef9=!0x1;break;}if(_0x3c8ef9)return _0x4673ff;}const _0x3feee1=ckeditor5['uid'](),_0xcd4878=_0x5efdbd['id'],_0x4035c6='insertion:'+_0x96b276,_0x5280b5=this['_setSuggestionData']({'id':_0x3feee1,'type':_0x4035c6,'createdAt':new Date(),'authorId':_0xcd4878,'attributes':_0x5c015c});for(const _0x139458 of _0x4d3556)this['_addSuggestionMarker'](_0x4035c6,_0x3feee1,_0xcd4878,_0x139458,Suggestion['getMultiRangeId']());return _0x5280b5;}['markInlineFormat'](_0x30c141,_0x3b6aa6,_0x2df23e=null,_0xc9c88b={}){if(_0x2df23e=_0x2df23e||createFormatSubType(_0x3b6aa6),_0x30c141['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0xc9c88b['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x5efd4e=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x2df23e,'accept');return this['forceDefaultExecution'](()=>_0x5efd4e([_0x30c141],_0x3b6aa6,_0xc9c88b)),null;}const _0x239ebd=this['editor']['plugins']['get']('Users')['me'],_0x17efcb=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x4b5862,meta:_0x386f8d}of this['_findSuggestions'](_0x30c141,'insertion'))_0x386f8d['isOwn']&&!_0x386f8d['isInsideObject']&&_0x17efcb['push'](..._0x4b5862['getRanges']());}const _0x253c77=getIntersectionsWithMultipleRanges(_0x30c141,_0x17efcb),_0x4fcd16=getDifferencesWithMultipleRanges(_0x30c141,_0x17efcb);_0x253c77['length']&&this['_model']['change'](()=>{for(const _0x1cbba9 of _0x253c77){const _0x5754d3=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x2df23e,'accept');this['forceDefaultExecution'](()=>_0x5754d3([_0x1cbba9],_0x3b6aa6,_0xc9c88b));}});for(const _0x5cce6d of _0x4fcd16){let _0x48769b=null,_0x150a1a=_0x5cce6d['start'],_0x59b527=_0x5cce6d['end'];for(const {suggestion:_0x2609ae,meta:_0x5cd95d}of this['_findSuggestions'](_0x5cce6d,'formatInline')){if(!_0x5cd95d['isOwn'])continue;if(_0x2609ae['subType']!=_0x2df23e)continue;if(!_areSimilarAttributes(_0x2609ae,_0xc9c88b))continue;const _0x14dfd1=_0x2609ae['getFirstRange']();if(_0x14dfd1['containsRange'](_0x5cce6d,!0x0))return null;_0x150a1a=_0x150a1a['isBefore'](_0x14dfd1['start'])?_0x150a1a:_0x14dfd1['start'],_0x59b527=_0x59b527['isAfter'](_0x14dfd1['end'])?_0x59b527:_0x14dfd1['end'],_0x48769b?_0x14dfd1['start']['isBefore'](_0x48769b['getFirstRange']()['start'])?(_0x48769b['removeMarkers'](),_0x48769b=_0x2609ae):_0x2609ae['removeMarkers']():_0x48769b=_0x2609ae;}const _0x37ea59=this['_model']['createRange'](_0x150a1a,_0x59b527);if(_0x48769b)this['_setSuggestionRange'](_0x48769b,_0x37ea59);else{const _0x1c5769=ckeditor5['uid'](),_0x3678de=_0x239ebd['id'];this['_setSuggestionData']({'id':_0x1c5769,'type':'formatInline:'+_0x2df23e,'data':_0x3b6aa6,'createdAt':new Date(),'authorId':_0x3678de,'attributes':_0xc9c88b}),this['_addSuggestionMarker']('formatInline:'+_0x2df23e,_0x1c5769,_0x3678de,_0x37ea59);}}return null;}['markBlockFormat'](_0x4131ae,_0x441705,_0x232de2=[],_0x426d4d=null,_0x66b2d4={}){_0x441705['formatGroupId']||(_0x441705['formatGroupId']=_0x441705['commandName']),_0x441705['multipleBlocks']=_0x4131ae['is']('range'),_0x426d4d=_0x426d4d||createFormatSubType(_0x441705);const _0x50d2d0=_0x232de2['map'](_0x2ec14b=>createBlockFormatRangeForElement(_0x2ec14b,this['_model'])),_0x491f35=_0x4131ae['is']('range')?_0x4131ae:createBlockFormatRangeForElement(_0x4131ae,this['_model']);if(this['_trackingSessionId']&&(_0x66b2d4['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x54fa50=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x426d4d,'accept');return this['forceDefaultExecution'](()=>_0x54fa50([_0x491f35],_0x441705,_0x66b2d4)),null;}_0x50d2d0['push'](_0x491f35);let _0x4c7bb0=!0x0;for(const _0x4df061 of _0x50d2d0)if(!this['_rangeIsInLocalUserInsertion'](_0x4df061)){_0x4c7bb0=!0x1;break;}if(_0x4c7bb0&&'always'!==this['_trackFormatChanges']){const _0x46a541=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x426d4d,'accept');return this['forceDefaultExecution'](()=>_0x46a541([_0x491f35],_0x441705,_0x66b2d4)),null;}let _0x293cbc=null,_0x5f593d=_0x491f35['start'],_0x526e42=_0x491f35['end'];for(const {suggestion:_0x2b2307,meta:_0x5ca0dd}of this['_findSuggestions'](_0x491f35,'formatBlock')){if(!_0x5ca0dd['isOwn'])continue;if(_0x5ca0dd['isNextTo']||_0x5ca0dd['containsRangeInObject']||_0x5ca0dd['isInsideObject'])continue;if(_0x2b2307['data']['formatGroupId']!=_0x441705['formatGroupId'])continue;if(!_areSimilarAttributes(_0x2b2307,_0x66b2d4))continue;const _0x342fea=_0x2b2307['getFirstRange']();if(_0x2b2307['subType']==_0x426d4d){if(_0x342fea['containsRange'](_0x491f35,!0x0))return null;_0x5f593d=_0x5f593d['isBefore'](_0x342fea['start'])?_0x5f593d:_0x342fea['start'],_0x526e42=_0x526e42['isAfter'](_0x342fea['end'])?_0x526e42:_0x342fea['end'],_0x293cbc?_0x342fea['start']['isBefore'](_0x293cbc['getFirstRange']()['start'])?(_0x293cbc['removeMarkers'](),_0x293cbc=_0x2b2307):_0x2b2307['removeMarkers']():_0x293cbc=_0x2b2307;}else{const _0x4501f6=_0x491f35['getIntersection'](_0x342fea);this['_cutOutSuggestionMarker'](_0x2b2307,_0x4501f6);}}const _0x2ec690=this['editor']['plugins']['get']('Users')['me'],_0x59eb9d=ckeditor5['uid'](),_0x1b72b0=_0x2ec690['id'];if(_0x293cbc)return this['_setSuggestionRange'](_0x293cbc,this['_model']['createRange'](_0x5f593d,_0x526e42)),_0x293cbc;{const _0xc76209=this['_setSuggestionData']({'id':_0x59eb9d,'type':'formatBlock:'+_0x426d4d,'data':_0x441705,'createdAt':new Date(),'authorId':_0x1b72b0,'attributes':_0x66b2d4});return this['_addSuggestionMarker']('formatBlock:'+_0x426d4d,_0x59eb9d,_0x1b72b0,this['_model']['createRange'](_0x5f593d,_0x526e42)),_0xc76209;}}['markMultiRangeBlockFormat'](_0x5d7c0c,_0x3abd1e,_0x242941=[],_0x27dc14=null,_0x1b4f18={}){_0x3abd1e['formatGroupId']||(_0x3abd1e['formatGroupId']=_0x3abd1e['commandName']);const _0x5c7226=_0x5d7c0c[0x0];_0x3abd1e['multipleBlocks']=_0x5c7226['is']('range'),_0x27dc14=_0x27dc14||createFormatSubType(_0x3abd1e);const _0x511d0a=_0x242941['map'](_0x254194=>createBlockFormatRangeForElement(_0x254194,this['_model'])),_0x16c122=_0x5c7226['is']('range')?_0x5d7c0c:_0x5d7c0c['map'](_0x1d24e2=>createBlockFormatRangeForElement(_0x1d24e2,this['_model']));if(this['_trackingSessionId']&&(_0x1b4f18['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x40bd54=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x27dc14,'accept');return this['forceDefaultExecution'](()=>_0x40bd54(_0x16c122,_0x3abd1e,_0x1b4f18)),null;}_0x511d0a['push'](..._0x16c122);let _0x112eb3=!0x0;for(const _0x492e0b of _0x511d0a)if(!this['_rangeIsInLocalUserInsertion'](_0x492e0b)){_0x112eb3=!0x1;break;}if(_0x112eb3&&'always'!==this['_trackFormatChanges']){const _0x4af1ac=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x27dc14,'accept');return this['forceDefaultExecution'](()=>_0x4af1ac(_0x16c122,_0x3abd1e,_0x1b4f18)),null;}const _0x47f283=this['editor']['plugins']['get']('Users')['me'];for(const _0x2fab41 of this['getSuggestions']()){const _0x4c6d97=_0x2fab41['data'];if(_0x2fab41['author']['id']!=_0x47f283['id'])continue;if('formatBlock'!=_0x2fab41['type']||_0x4c6d97['formatGroupId']!=_0x3abd1e['formatGroupId'])continue;if(!_areSimilarAttributes(_0x2fab41,_0x1b4f18))continue;const _0x45e661=_0x2fab41['subType']==_0x27dc14;for(let _0x1e7c07=0x0;_0x1e7c07<_0x16c122['length'];_0x1e7c07++){const _0x551787=_0x16c122[_0x1e7c07];for(const _0x23b704 of _0x2fab41['getMarkers']()){const _0x388dcc=_0x23b704['getRange']();if(_0x551787['isEqual'](_0x388dcc)){_0x45e661?(_0x16c122['splice'](_0x1e7c07,0x1),_0x1e7c07--):_0x2fab41['removeMarker'](_0x23b704['name']);break;}}}}if(0x0==_0x16c122['length'])return null;const _0x4d45be=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x27dc14,'join');for(const _0x1f2c01 of this['getSuggestions']()){const _0xcfb71f=_0x1f2c01['data'];if(_0x1f2c01['author']['id']==_0x47f283['id']&&('formatBlock'==_0x1f2c01['type']&&_0xcfb71f['formatGroupId']==_0x3abd1e['formatGroupId']&&_0x1f2c01['subType']==_0x27dc14&&_areSimilarAttributes(_0x1f2c01,_0x1b4f18)&&(_0x4d45be(_0x1f2c01['getRanges'](),_0x16c122)||_0x4d45be(_0x16c122,_0x1f2c01['getRanges']())))){for(const _0x2dfe28 of _0x16c122)_0x1f2c01['addRange'](_0x2dfe28);return _0x1f2c01;}}const _0x15aea9=ckeditor5['uid'](),_0x4142ea=_0x47f283['id'],_0x432330='formatBlock:'+_0x27dc14,_0xe5c4ed=this['_setSuggestionData']({'id':_0x15aea9,'type':_0x432330,'data':_0x3abd1e,'createdAt':new Date(),'authorId':_0x4142ea,'attributes':_0x1b4f18});for(const _0x244059 of _0x16c122)this['_addSuggestionMarker'](_0x432330,_0x15aea9,_0x4142ea,_0x244059,Suggestion['getMultiRangeId']());return _0xe5c4ed;}['markDeletion'](_0x7ec576,_0x514b74=null,_0xca5116={}){if(_0x7ec576['isCollapsed'])return null;const _0x7fbc89=this['editor']['plugins']['get']('Users')['me'],_0x14f522=new ckeditor5['ModelLiveRange'](_0x7ec576['start'],_0x7ec576['end']);this['_trackingSessionId']&&(_0xca5116['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x5b4ffc,meta:_0x494005}of this['_findSuggestions'](_0x14f522,'insertion'))if(_0x494005['isOwn']&&!_0x494005['isNextTo']){if(_0x5b4ffc['isMultiRange']){const _0xcc2b6f=_0x5b4ffc['getRanges']()['filter'](_0x45279c=>'$graveyard'!=_0x45279c['root']['rootName']);_0xcc2b6f['every'](_0x385b52=>_0x14f522['containsRange'](_0x385b52,!0x0))&&_0x5b4ffc['discard']();if(_0xcc2b6f['some'](_0x928bfe=>_0x928bfe['containsRange'](_0x14f522,!0x0))){const _0x5742bc=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x514b74,'accept');return this['forceDefaultExecution'](()=>_0x5742bc([_0x14f522],null,_0xca5116)),null;}}else{const _0x626226=_0x14f522['getIntersection'](_0x5b4ffc['getFirstRange']());null!==_0x626226&&_0x5b4ffc['_onDiscard']([_0x626226],null,_0xca5116);}}if(_0x14f522['detach'](),_0x14f522['isCollapsed']||'$graveyard'==_0x14f522['root']['rootName'])return null;let _0x1aa355=null,_0x2ec2e4=_0x14f522['start'],_0x147a82=_0x14f522['end'];const _0x435621=this['_findSuggestions'](_0x14f522,'deletion');for(const {suggestion:_0xaabe80,meta:_0x5344ce}of _0x435621){const _0x1a75dc=this['_model']['createRange'](_0x2ec2e4,_0x147a82);if(_0x5344ce['isOwn']&&(this['_mergeNestedSuggestions']||!_0x5344ce['containsRangeInObject']&&!_0x5344ce['isInsideObject'])){if(_0xaabe80['isMultiRange']){if(!_areSimilarAttributes(_0xaabe80,_0xca5116))continue;let _0x5d813e=!0x0;for(const _0x635cff of _0xaabe80['getRanges']()){if(_0x635cff['containsRange'](_0x1a75dc,!0x0))return _0xaabe80;_0x1a75dc['containsRange'](_0x635cff)||(_0x5d813e=!0x1);}_0x5d813e&&_0xaabe80['discard']();}else{const _0x3b3151=_0xaabe80['getFirstRange']();if(_0x3b3151['containsRange'](_0x1a75dc,!0x0))return _0xaabe80;if(!_areSimilarAttributes(_0xaabe80,_0xca5116)){_0x1a75dc['containsRange'](_0x3b3151)?_0xaabe80['removeMarkers']():_0x3b3151['containsPosition'](_0x2ec2e4)?_0x2ec2e4=_0x3b3151['end']:_0x3b3151['containsPosition'](_0x147a82)&&(_0x147a82=_0x3b3151['start']);continue;}_0x2ec2e4=_0x2ec2e4['isBefore'](_0x3b3151['start'])?_0x2ec2e4:_0x3b3151['start'],_0x147a82=_0x147a82['isAfter'](_0x3b3151['end'])?_0x147a82:_0x3b3151['end'],_0xca5116=Object['assign']({},_0xaabe80['attributes']),_0x1aa355?_0x3b3151['start']['isBefore'](_0x1aa355['getFirstRange']()['start'])?(_0x1aa355['removeMarkers'](),_0x1aa355=_0xaabe80):_0xaabe80['removeMarkers']():_0x1aa355=_0xaabe80;}}}if(_0x1aa355)return this['_setSuggestionRange'](_0x1aa355,this['_model']['createRange'](_0x2ec2e4,_0x147a82)),_0x1aa355;{const _0x1c4488=ckeditor5['uid'](),_0x46c5f2=this['_model']['createRange'](_0x2ec2e4,_0x147a82),_0x3339fc=_0x7fbc89['id'],_0x1e50b5=_0x514b74?'deletion:'+_0x514b74:'deletion',_0xc5f5a5=this['_setSuggestionData']({'id':_0x1c4488,'type':_0x1e50b5,'createdAt':new Date(),'authorId':_0x3339fc,'attributes':_0xca5116});return this['_addSuggestionMarker'](_0x1e50b5,_0x1c4488,_0x3339fc,_0x46c5f2),_0xc5f5a5;}}['markMultiRangeDeletion'](_0x3d98f3,_0x46e567='multi',_0x250be9={}){const _0x548a09=this['editor']['plugins']['get']('Users')['me'],_0x41fc3e=_0x3d98f3['map'](_0x188d78=>new ckeditor5['ModelLiveRange'](_0x188d78['start'],_0x188d78['end'])),_0x41530a=new Set();this['_trackingSessionId']&&(_0x250be9['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x3f9e7d,meta:_0x15f22d}of this['_findSuggestions'](_0x41fc3e,'insertion'))_0x15f22d['isOwn']&&!_0x15f22d['isNextTo']&&_0x41530a['add'](_0x3f9e7d);for(const _0x1b7335 of _0x41530a)if(_0x1b7335['isMultiRange']){const _0x5da715=_0x1b7335['getRanges']();(!_0x1b7335['attributes']||!_0x1b7335['attributes']['skipNestingCheck'])&&(_0x5da715['every'](_0x3f0167=>_0x41fc3e['some'](_0x471330=>_0x471330['containsRange'](_0x3f0167,!0x0)))&&_0x1b7335['discard']());if(_0x41fc3e['every'](_0x4cda93=>_0x5da715['some'](_0x33fdfd=>_0x33fdfd['containsRange'](_0x4cda93,!0x0)))){const _0x2e9474=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x46e567,'accept');return this['forceDefaultExecution'](()=>_0x2e9474(_0x3d98f3,null,_0x250be9)),null;}}else{const _0x2c6d75=_0x1b7335['getFirstRange']();_0x41fc3e['some'](_0x4d803b=>_0x4d803b['containsRange'](_0x2c6d75,!0x0))&&_0x1b7335['discard']();if(_0x41fc3e['every'](_0x2f229e=>_0x2c6d75['containsRange'](_0x2f229e,!0x0))){const _0x437ea1=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x46e567,'accept');return this['forceDefaultExecution'](()=>_0x437ea1(_0x41fc3e,null,_0x250be9)),null;}}const _0x3d1124=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x46e567,'join');let _0x3f5538=null;for(const _0x5eda39 of this['getSuggestions']())if(_0x5eda39['author']['id']==_0x548a09['id']&&_0x5eda39['isInContent']&&'deletion'==_0x5eda39['type']&&_0x5eda39['subType']==_0x46e567&&_areSimilarAttributes(_0x5eda39,_0x250be9)&&(_0x3d1124(_0x5eda39['getRanges'](),_0x41fc3e)||_0x3d1124(_0x41fc3e,_0x5eda39['getRanges']()))){if(_0x3f5538){if(_0x5eda39['commentThread']&&_0x5eda39['commentThread']['length'])continue;for(const _0x1ed065 of _0x5eda39['getRanges']())_0x3f5538['isIntersectingWithRange'](_0x1ed065)||_0x3f5538['addRange'](_0x1ed065);_0x5eda39['removeMarkers']();}else{_0x3f5538=_0x5eda39;for(const _0x9463f7 of _0x41fc3e)_0x5eda39['isIntersectingWithRange'](_0x9463f7)||_0x5eda39['addRange'](_0x9463f7);}}if(_0x3f5538)return _0x3f5538;_0x41530a['clear']();for(const {suggestion:_0x24273e,meta:_0xcf7a6}of this['_findSuggestions'](_0x41fc3e,'deletion'))_0xcf7a6['isOwn']&&(this['_mergeNestedSuggestions']||!_0xcf7a6['containsRangeInObject']&&!_0xcf7a6['isInsideObject'])&&_areSimilarAttributes(_0x24273e,_0x250be9)&&_0x41530a['add'](_0x24273e);for(const _0x114669 of _0x41530a){const _0x1fbac0=_0x114669['getRanges']();if(!_0x250be9||!_0x250be9['skipNestingCheck']){if(_0x41fc3e['every'](_0x5723cf=>_0x1fbac0['some'](_0x2cc3bc=>_0x2cc3bc['containsRange'](_0x5723cf,!0x0))))return _0x114669;}(!_0x114669['attributes']||!_0x114669['attributes']['skipNestingCheck'])&&(_0x1fbac0['every'](_0x5809b4=>_0x41fc3e['some'](_0x411a16=>_0x411a16['containsRange'](_0x5809b4,!0x0)))&&_0x114669['discard']());}const _0x4bafbb=ckeditor5['uid'](),_0x405a12=_0x548a09['id'],_0x357073='deletion:'+_0x46e567,_0x37a5ff=this['_setSuggestionData']({'id':_0x4bafbb,'type':_0x357073,'createdAt':new Date(),'authorId':_0x405a12,'attributes':_0x250be9});for(const _0x138fa8 of _0x41fc3e)_0x138fa8['detach'](),_0x138fa8['isCollapsed']||'$graveyard'==_0x138fa8['root']['rootName']||this['_addSuggestionMarker'](_0x357073,_0x4bafbb,_0x405a12,_0x138fa8,Suggestion['getMultiRangeId']());return _0x37a5ff;}['markAttributeChange'](_0x173f1a,_0x12791e,_0x476165,_0x411124,_0x54eb8e){if(_0x173f1a['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x12903f=this['editor']['plugins']['get']('Users')['me']['id'],_0x256c9e=Array['from'](this['_suggestions']['values']())['filter'](_0x283832=>'attribute'==_0x283832['type']&&_0x283832['data']['key']==_0x12791e&&_0x283832['isIntersectingWithRange'](_0x173f1a));if(this['_trackingSessionId']&&(_0x54eb8e['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0x4090f6=this['_findSuggestions'](_0x173f1a,'insertion')['filter'](({meta:_0x17c34d})=>_0x17c34d['isOwn']&&!_0x17c34d['isInsideObject']&&!_0x17c34d['isNextTo'])['map'](({suggestion:_0x542ccf})=>_0x542ccf);_0x256c9e['unshift'](..._0x4090f6);}const _0x2ab2c5=new Map([[_0x173f1a,_0x476165]]);for(const _0x1e23aa of _0x256c9e){const _0x2a0f30='attribute'==_0x1e23aa['type']?_0x1e23aa['data']['oldValue']:void 0x0,_0x2c58b4=_0x1e23aa['getFirstRange'](),_0x39864a=Array['from'](_0x2ab2c5['keys']())['find'](_0x17b83d=>_0x17b83d['isIntersecting'](_0x2c58b4));if(!_0x39864a)continue;const _0x58d05a=_0x39864a['getDifference'](_0x2c58b4);this['_isBlockAttribute'](_0x12791e)&&'insertion'==_0x1e23aa['type']&&0x0!=_0x58d05a['length']||(_0x2ab2c5['delete'](_0x39864a),_0x58d05a['forEach'](_0x393480=>{_0x2ab2c5['set'](_0x393480,_0x476165);}),'insertion'!=_0x1e23aa['type']&&_0x2a0f30!=_0x411124&&_0x2ab2c5['set'](_0x39864a['getIntersection'](_0x2c58b4),_0x2a0f30));}const _0xbe8b07=[];for(const [_0xe1e27a,_0x1492eb]of _0x2ab2c5){const _0x5193de=ckeditor5['uid'](),_0x44bf69={'key':_0x12791e,'oldValue':_0x1492eb,'newValue':_0x411124};_0x12791e['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':_0x12791e});const _0x2d77ab=('attribute:'+(_0x12791e+'|'+createFormatSubType({'newValue':_0x411124})))['substring'](0x0,0x3c),_0x501930=this['_setSuggestionData']({'id':_0x5193de,'type':_0x2d77ab,'data':_0x44bf69,'createdAt':new Date(),'authorId':_0x12903f,'attributes':_0x54eb8e});_0xbe8b07['push'](_0x501930),this['_addSuggestionMarker'](_0x2d77ab,_0x5193de,_0x12903f,_0xe1e27a);}return _0xbe8b07;}['enableDefaultAttributesIntegration'](_0x567302){this['enableCommand'](_0x567302,(_0x99a5e5,..._0x2ce49d)=>{this['recordAttributeChanges'](()=>{_0x99a5e5(..._0x2ce49d);});});}['registerBlockAttribute'](_0x586486){this['editor']['plugins']['get'](SuggestionsConversion)['registerBlockAttribute'](_0x586486);}['registerInlineAttribute'](_0x14a363){this['editor']['plugins']['get'](SuggestionsConversion)['registerInlineAttribute'](_0x14a363);}['startTrackingSession'](_0x797c1e){return this['_trackingSessionId']=void 0x0!==_0x797c1e?_0x797c1e:ckeditor5['uid'](),this['_trackingSessionId'];}['_getAttributeKey'](_0x3d32ff){return'attribute'==_0x3d32ff['type']?_getAttributeKeyFromSubType(_0x3d32ff['subType']):null;}['_applyOperationsAsSuggestions'](_0x58754b){if(0x0==_0x58754b['length'])return;const _0x1ddd48=this['editor'],_0x4266dc=_0x1ddd48['plugins']['get'](DocumentCompare),_0x320224=[];_0x1ddd48['model']['change'](_0x34b1f4=>{for(let _0x54d5af=0x0;_0x54d5af<_0x58754b['length'];_0x54d5af++){const _0x2fd2e9=_0x58754b[_0x54d5af];if(_0x2fd2e9['baseVersion']=_0x1ddd48['model']['document']['version'],_0x2fd2e9['isDocumentOperation']=!0x0,_0x4266dc['isMarkedRemoveOperation'](_0x2fd2e9)){const _0xe483c6=fixElementSuggestionRange(_0x2fd2e9['newRange'],_0x1ddd48['model']);_0x320224['unshift'](ckeditor5['ModelLiveRange']['fromRange'](_0xe483c6));}else switch(_0x2fd2e9['type']){case'rename':{const _0x1a8dcc=_0x2fd2e9['oldName'],_0x5ae880=_0x2fd2e9['newName'];if(_0x1a8dcc==_0x5ae880)break;_0x34b1f4['batch']['addOperation'](_0x2fd2e9),_0x1ddd48['model']['applyOperation'](_0x2fd2e9);const _0x3c1350='$elementName',_0x257b2b=_0x2fd2e9['position'],_0xe57b3d=_0x1ddd48['model']['createRange'](_0x257b2b,_0x1ddd48['model']['createPositionAt'](_0x257b2b['nodeAfter'],'end'));this['markAttributeChange'](_0xe57b3d,_0x3c1350,_0x1a8dcc,_0x5ae880,{'groupId':ckeditor5['uid']()});break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x2150fa=_0x2fd2e9['oldValue'],_0x491fd4=_0x2fd2e9['newValue'];if(_0x2150fa==_0x491fd4)break;_0x34b1f4['batch']['addOperation'](_0x2fd2e9),_0x1ddd48['model']['applyOperation'](_0x2fd2e9);const _0x597828=_0x2fd2e9['key'];if(!this['_isRegisteredAttribute'](_0x597828))break;const _0x591e58=fixElementSuggestionRange(_0x2fd2e9['range'],_0x1ddd48['model']);this['markAttributeChange'](_0x591e58,_0x597828,_0x2150fa,_0x491fd4,{'groupId':ckeditor5['uid']()});break;}case'insert':{_0x34b1f4['batch']['addOperation'](_0x2fd2e9),_0x1ddd48['model']['applyOperation'](_0x2fd2e9);if(_0x58754b[_0x54d5af+0x1]&&'move'==_0x58754b[_0x54d5af+0x1]['type'])break;const _0x52cd6c=_0x2fd2e9['position'],_0x3ad891=_0x2fd2e9['howMany'],_0x25a4a4=fixElementSuggestionRange(_0x1ddd48['model']['createRange'](_0x52cd6c,_0x52cd6c['getShiftedBy'](_0x3ad891)),_0x1ddd48['model']);this['markInsertion'](_0x25a4a4);break;}case'split':{_0x34b1f4['batch']['addOperation'](_0x2fd2e9),_0x1ddd48['model']['applyOperation'](_0x2fd2e9);const _0x4a4b02=_0x2fd2e9['splitPosition'],_0x4a2382=_0x2fd2e9['moveTargetPosition'];this['markInsertion'](_0x1ddd48['model']['createRange'](_0x4a4b02,_0x4a2382));break;}case'move':case'remove':_0x34b1f4['batch']['addOperation'](_0x2fd2e9),_0x1ddd48['model']['applyOperation'](_0x2fd2e9);}}for(const _0x1fe083 of _0x320224)_0x1fe083['detach'](),this['markDeletion'](_0x1fe083);});}['_setSuggestionRange'](_0x569d9a,_0x1d252a){const _0x266162=_0x569d9a['getFirstMarker']();this['_model']['change'](_0x2d63dc=>{_0x2d63dc['updateMarker'](_0x266162,{'range':_0x1d252a});});}['_addThreadToSuggestion'](_0x2ac632){const _0x26b579=_0x2ac632['id'],_0x1eae51=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x26b579)||this['_commentsRepository']['addCommentThread']({'channelId':_0x1eae51,'threadId':_0x26b579,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x53c650=this['_commentsRepository']['getCommentThread'](_0x26b579);_0x53c650['unbind']('isRemovable'),_0x53c650['isRemovable']=!0x1,_0x2ac632['commentThread']=_0x53c650;}['_checkSuggestionCorrectness'](_0x342e0a,_0x37af33,_0x5c32cf,_0x16c0ee){if(_0x342e0a['type']!=_0x37af33||_0x342e0a['subType']!=_0x5c32cf||_0x342e0a['creator']['id']!=_0x16c0ee)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new ckeditor5['CKEditorError']('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x3e2472,_0x5739cc){const _0x3adc7d=_0x3e2472['getFirstRange']();if(_0x5739cc['isEqual'](_0x3adc7d))_0x3e2472['removeMarkers']();else{if(_0x3adc7d['containsRange'](_0x5739cc)){const _0xdba387=this['_model']['createPositionAt'](_0x5739cc['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x3e2472,this['_model']['createRange'](_0x3adc7d['start'],_0xdba387));const _0x4119f9=ckeditor5['uid'](),_0xa7b2d8=_0x3e2472['creator']['id'],_0x431fec=_0x3e2472['type']+':'+_0x3e2472['subType'];this['_setSuggestionData']({'id':_0x4119f9,'type':_0x431fec,'createdAt':new Date(),'authorId':_0xa7b2d8,'data':_0x3e2472['data'],'attributes':_0x3e2472['attributes']});const _0x4631fb=this['_model']['createPositionAt'](_0x5739cc['end']['parent'],'after'),_0xf7eca2=this['_model']['createRange'](_0x4631fb,_0x3adc7d['end']);this['_addSuggestionMarker'](_0x431fec,_0x4119f9,_0xa7b2d8,_0xf7eca2);}else{if(_0x3adc7d['containsPosition'](_0x5739cc['start'])){const _0x131a7d=this['_model']['createPositionAt'](_0x5739cc['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x3e2472,this['_model']['createRange'](_0x3adc7d['start'],_0x131a7d));}else{const _0x5186d3=this['_model']['createPositionAt'](_0x5739cc['end']['parent'],'after');this['_setSuggestionRange'](_0x3e2472,this['_model']['createRange'](_0x5186d3,_0x3adc7d['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x434d43){for(const {suggestion:_0x1094a4,meta:_0x508057}of this['_findSuggestions'](_0x434d43,'insertion')){if(!_0x508057['isOwn'])continue;const _0x24dafd=_0x1094a4['getRanges']();for(const _0x5d6f9f of _0x24dafd)if(!_0x434d43['getDifference'](_0x5d6f9f)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x306400){return this['editor']['plugins']['get']('Users')['getUser'](_0x306400);}['_getExternalAuthor'](_0x58de3a){const _0x14712f=this['editor']['plugins']['get']('Users'),_0x369f52=hashObject('external:'+_0x58de3a),_0x171e61=_0x14712f['getUser'](_0x369f52);return _0x171e61||_0x14712f['addUser']({'id':_0x369f52,'name':_0x58de3a});}['_createSuggestion'](_0x72906f,_0x9709cf,_0x370396,_0x241b8a,_0x30f3de,_0x1bee4d){const _0x4750fb=this['_getAuthorFromId'](_0x241b8a);if(!_0x4750fb)throw new ckeditor5['CKEditorError']('track-changes-user-not-found',this,{'authorId':_0x241b8a,'suggestionId':_0x370396});const _0x56a755=this['_suggestionFactory']['buildSuggestion'](_0x72906f,_0x9709cf,_0x370396,_0x4750fb,_0x30f3de,_0x371431=>{this['_updateSuggestionData'](_0x370396,{'attributes':_0x371431});const _0x1aa68d=this['getSuggestion'](_0x370396);this['_joinWithAdjacentSuggestions'](new Set([_0x1aa68d])),this['_refreshSuggestionsChain'](new Set([_0x1aa68d]));},_0x1bee4d);return this['listenTo'](_0x56a755,'accept',()=>{this['_updateSuggestionData'](_0x370396,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x56a755,'discard',()=>{this['_updateSuggestionData'](_0x370396,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0x370396,_0x56a755),this['_suggestionState']['set'](_0x56a755,'notReady'),_0x56a755;}['_splitMarkerName'](_0x4f4b8d){return splitSuggestionMarkerName(_0x4f4b8d);}['_breakSuggestionMarker'](_0x136bab,_0x5485c2,_0x59967b){const _0x5be942=_0x136bab['getFirstRange'](),_0x1a5180=_0x5be942['start'],_0x2ec281=_0x5be942['end'];this['_setSuggestionRange'](_0x136bab,this['_model']['createRange'](_0x1a5180,_0x5485c2));const _0x32a9d4=ckeditor5['uid'](),_0x4b1d63=_0x136bab['creator']['id'],_0xf27610=_0x136bab['type']+(_0x136bab['subType']?':'+_0x136bab['subType']:'');this['_setSuggestionData']({'id':_0x32a9d4,'type':_0xf27610,'createdAt':new Date(),'authorId':_0x4b1d63,'originalSuggestionId':_0x136bab['_originalSuggestionId']||_0x136bab['id'],'attributes':_0x136bab['attributes'],'data':_0x136bab['data']});const _0x46f515=this['_getAttributeKey'](_0x136bab);('formatBlock'==_0x136bab['type']||_0x46f515&&this['_isBlockAttribute'](_0x46f515))&&(_0x59967b=this['_model']['createPositionBefore'](_0x59967b['parent'])),this['_addSuggestionMarker'](_0xf27610,_0x32a9d4,_0x4b1d63,this['_model']['createRange'](_0x59967b,_0x2ec281));}['_findSuggestions'](_0xc6c3bb,_0x4aaa57=null){const _0x3f643e=[],_0x496f62=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0xc6c3bb)||(_0xc6c3bb=[_0xc6c3bb]);for(const _0xf7b0fe of this['getSuggestions']()){if(!_0xf7b0fe['isInContent'])continue;if(_0x4aaa57&&_0xf7b0fe['type']!=_0x4aaa57)continue;let _0x477d74=!0x1;for(const _0x27d561 of _0xf7b0fe['getRanges']()){for(const _0x4f5ed2 of _0xc6c3bb){const _0x4831dd=_0x4f5ed2['start']['isEqual'](_0x27d561['end'])||_0x4f5ed2['end']['isEqual'](_0x27d561['start']);if(_0x4831dd||_0x4f5ed2['getIntersection'](_0x27d561)){const _0x1ed000=_0x4f5ed2['containsRange'](_0x27d561)&&_isInObject(this['_model']['schema'],_0x27d561['start'],_0x4f5ed2),_0xb68b75=_0x27d561['containsRange'](_0x4f5ed2)&&_isInObject(this['_model']['schema'],_0x4f5ed2['start'],_0x27d561);_0x3f643e['push']({'suggestion':_0xf7b0fe,'meta':{'isOwn':_0x496f62==_0xf7b0fe['author'],'isNextTo':_0x4831dd,'isInsideObject':_0x1ed000,'containsRangeInObject':_0xb68b75}}),_0x477d74=!0x0;break;}}if(_0x477d74)break;}}return _0x3f643e;}['_addSuggestionMarker'](_0x3c2b02,_0x42b0b3,_0x374e38,_0x5f24d7,_0x5c577a){this['_model']['change'](_0x4a3426=>{let _0x1606dc='suggestion:'+_0x3c2b02+':'+_0x42b0b3+':'+_0x374e38;_0x5c577a&&(_0x1606dc=_0x1606dc+':'+_0x5c577a),_0x4a3426['addMarker'](_0x1606dc,{'range':_0x5f24d7,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x44f672){const _0x1be8e0=_0x44f672['previous'],_0x488da7=_0x44f672['next'];_0x44f672['previous']=null,_0x44f672['next']=null,null!=_0x1be8e0&&_0x1be8e0['next']==_0x44f672&&(_0x1be8e0['next']=_0x488da7),null!=_0x488da7&&_0x488da7['previous']==_0x44f672&&(_0x488da7['previous']=_0x1be8e0),'ready'==this['_suggestionState']['get'](_0x44f672)&&(this['_suggestionState']['set'](_0x44f672,'removed'),this['fire']('suggestionUnloaded',_0x44f672,_0x1be8e0,_0x488da7));}['_setSuggestionData'](_0x4b39f8){const _0x116bbe=_0x4b39f8['id'],_0x26847a=this['addSuggestionData'](_0x4b39f8);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x2fc858=this['editor']['plugins']['get']('PendingActions'),_0x4ff6c0=_0x26847a['hasComments'],_0x2958ae=_0x26847a['subType']?_0x26847a['type']+':'+_0x26847a['subType']:_0x26847a['type'],_0x4e3dc4=this['editor']['locale'],_0x17b93a=_0x2fc858['add'](getTranslation$1(_0x4e3dc4,'PENDING_ACTION_SUGGESTION')),_0x1c56f0={'id':_0x116bbe,'type':_0x2958ae,'hasComments':_0x4ff6c0,'data':_0x4b39f8['data']||null,'originalSuggestionId':_0x4b39f8['originalSuggestionId']||null,'attributes':_0x26847a['attributes']};this['_adapter']['addSuggestion'](_0x1c56f0)['then'](_0x4ab92f=>{_0x26847a['_saved']=!0x0,_0x2fc858['remove'](_0x17b93a),_0x4ab92f&&_0x4ab92f['createdAt']&&(this['_suggestions']['get'](_0x116bbe)['createdAt']=_0x4ab92f['createdAt']);})['catch'](_0x499abd=>{throw ckeditor5['logWarning']('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x26847a['discard']();}),_0x26847a['stopListening'](),this['_suggestions']['delete'](_0x26847a['id']),this['_suggestionState']['delete'](_0x26847a),_0x499abd;});}return _0x26847a;}['_isBlockAttribute'](_0x163139){return this['editor']['plugins']['get'](SuggestionsConversion)['isBlockAttribute'](_0x163139);}['_isInlineAttribute'](_0x1b5645){return this['editor']['plugins']['get'](SuggestionsConversion)['isInlineAttribute'](_0x1b5645);}['_updateSuggestionData'](_0xf67fe4,_0xf56fa1){const _0x26e933=this['editor']['plugins']['get']('PendingActions'),_0xe19b12=this['getSuggestion'](_0xf67fe4);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0xe19b12['_saved']){const _0x1213a6=_0x26e933['add'](getTranslation$1(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0xf67fe4,_0xf56fa1)['then'](()=>{_0x26e933['remove'](_0x1213a6);});}else _0xe19b12['on']('change:_saved',()=>{this['_updateSuggestionData'](_0xf67fe4,_0xf56fa1);});}}['_getSuggestionData'](_0x505924){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new ckeditor5['CKEditorError']('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0x505924);}['_handleNewSuggestionMarker'](_0x49d1df){const {id:_0x5e67e9,type:_0x199ad3,subType:_0x1950fe,authorId:_0x9206}=this['_splitMarkerName'](_0x49d1df),_0x1bc26f=this['_suggestions']['get'](_0x5e67e9)||this['_createSuggestion'](_0x199ad3,_0x1950fe,_0x5e67e9,_0x9206,{});switch(this['_checkSuggestionCorrectness'](_0x1bc26f,_0x199ad3,_0x1950fe,_0x9206),this['_suggestionState']['get'](_0x1bc26f)){case'notReady':this['_getSuggestionData'](_0x5e67e9)['then'](_0x5d4b21=>{let _0x544c13=Promise['resolve']();_0x5d4b21['hasComments']&&(_0x544c13=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x5e67e9})),_0x544c13['then'](()=>{this['addSuggestionData'](_0x5d4b21)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x1bc26f,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x5e67e9,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x1bc26f,'ready'),this['fire']('suggestionLoaded',_0x1bc26f);break;case'ready':this['fire']('suggestionChanged',_0x1bc26f);}return _0x1bc26f['addMarkerName'](_0x49d1df),_0x1bc26f;}['_refreshSuggestionsChain'](_0x184e73){const _0x45ba94=Array['from'](_0x184e73),_0x1bb10f=_0x45ba94['filter'](_0x4141c2=>'attribute'==_0x4141c2['type']);this['_refreshAttributeSuggestionsChain'](_0x1bb10f);const _0x4dc395=_0x45ba94['filter'](_0x20182a=>!_0x20182a['isMultiRange']&&'attribute'!=_0x20182a['type']),_0xa6e1a4=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x4b86ae=>!_0x4b86ae['isMultiRange']&&'attribute'!=_0x4b86ae['type']),_0x1aba87=_0xa6e1a4['filter'](_0x534036=>!_0x184e73['has'](_0x534036)),_0x189f2e=new Map(_0xa6e1a4['map'](_0x380995=>[_0x380995,this['_suggestionFactory']['getSuggestionCallback'](_0x380995['type'],_0x380995['subType'],'chain')])),_0x51b3b1=new Map(_0xa6e1a4['map'](_0x564c77=>[_0x564c77,_0x564c77['getFirstRange']()])),_0x2d5d2e=new Set(),_0x4637be=new Set();for(let _0x39f797=0x0;_0x39f797<_0x4dc395['length'];_0x39f797++)_0x5bb3fe(_0x4dc395[_0x39f797],_0x4dc395,_0x39f797+0x1);for(let _0x459336=0x0;_0x459336<_0x4dc395['length'];_0x459336++)_0x5bb3fe(_0x4dc395[_0x459336],_0x1aba87,0x0);const _0x181ac0=new Set();for(let _0x43b12c=0x0;_0x43b12c<_0x4dc395['length'];_0x43b12c++){const _0x14a7e6=_0x4dc395[_0x43b12c];!_0x4637be['has'](_0x14a7e6)&&_0x14a7e6['previous']&&(_0x181ac0['add'](_0x14a7e6['previous']),_0x14a7e6['previous']['next']===_0x14a7e6&&(_0x14a7e6['previous']['next']=null),_0x14a7e6['previous']=null),!_0x2d5d2e['has'](_0x14a7e6)&&_0x14a7e6['next']&&(_0x181ac0['add'](_0x14a7e6['next']),_0x14a7e6['next']['previous']===_0x14a7e6&&(_0x14a7e6['next']['previous']=null),_0x14a7e6['next']=null);}function _0x5bb3fe(_0x1ba8ac,_0x33a673,_0x51de50){for(let _0x219064=_0x51de50;_0x219064<_0x33a673['length'];_0x219064++){const _0x34fb45=_0x3ac334(_0x1ba8ac,_0x33a673[_0x219064]);_0x34fb45&&(_0x34fb45[0x0]['next']=_0x34fb45[0x1],_0x34fb45[0x1]['previous']=_0x34fb45[0x0],_0x2d5d2e['add'](_0x34fb45[0x0]),_0x4637be['add'](_0x34fb45[0x1]));}}function _0x3ac334(_0x415d70,_0xdf0d66){if(_0x415d70['author']['id']!==_0xdf0d66['author']['id'])return null;const _0x5ab6e1=_0x189f2e['get'](_0x415d70)(_0x415d70,_0xdf0d66,_0x51b3b1['get'](_0x415d70),_0x51b3b1['get'](_0xdf0d66));if(!_0x5ab6e1)return null;return _0x189f2e['get'](_0xdf0d66)(_0x415d70,_0xdf0d66,_0x51b3b1['get'](_0x415d70),_0x51b3b1['get'](_0xdf0d66))?_0x5ab6e1[0x1]['commentThread']&&_0x5ab6e1[0x1]['commentThread']['length']?null:_0x5ab6e1:null;}_0x181ac0['size']&&this['_refreshSuggestionsChain'](_0x181ac0);}['_refreshAttributeSuggestionsChain'](_0x10a378){if(0x0==_0x10a378['length'])return;const _0x5582b9=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x463a30=>'attribute'==_0x463a30['type']&&_0x463a30['_isDataLoaded']),_0x464aa6=[],_0x3d10fd=new Map();for(const _0x551d32 of _0x5582b9){const _0xedc9b0=hashObject(_0x551d32['attributes']);_0x3d10fd['has'](_0xedc9b0)||(_0x3d10fd['set'](_0xedc9b0,_0x464aa6['length']),_0x464aa6['push']([]));const _0x4bbcdd=_0x3d10fd['get'](_0xedc9b0);_0x464aa6[_0x4bbcdd]['push'](_0x551d32);}!(function(){_0x464aa6['sort']((_0x42d615,_0x1251d0)=>{const _0x425348=_0x42d615[0x0]['createdAt'],_0x34cc96=_0x1251d0[0x0]['createdAt'];return _0x425348==_0x34cc96?_0x42d615[0x0]['attributes']['groupId']<_0x1251d0[0x0]['attributes']['groupId']?-0x1:0x1:_0x425348<_0x34cc96?-0x1:0x1;});for(const _0x29f51f of _0x464aa6)_0x29f51f['sort']((_0x49551d,_0x1a046e)=>_0x49551d['id']<_0x1a046e['id']?-0x1:0x1);}());for(let _0x55cd9f=0x0;_0x55cd9f<_0x464aa6['length'];_0x55cd9f++){if(0x0==_0x464aa6[_0x55cd9f]['length'])continue;const _0x516a30=[];for(let _0xf1da56=_0x55cd9f+0x1;_0xf1da56<_0x464aa6['length'];_0xf1da56++)0x0!=_0x464aa6[_0xf1da56]['length']&&_0x2beac8(_0x464aa6[_0x55cd9f],_0x464aa6[_0xf1da56])&&_0x516a30['push'](_0xf1da56);for(const _0x357529 of _0x516a30)_0x464aa6[_0x55cd9f]=_0x464aa6[_0x55cd9f]['concat'](_0x464aa6[_0x357529]),_0x464aa6[_0x357529]=[];}for(const _0x19c978 of _0x464aa6)for(let _0x2337ce=0x0;_0x2337ce<_0x19c978['length'];_0x2337ce++){const _0x18f2e6=_0x19c978[_0x2337ce+0x1]||null;_0x19c978[_0x2337ce]['next']!==_0x18f2e6&&(_0x19c978[_0x2337ce]['next']=_0x18f2e6);}for(const _0x330d2f of _0x464aa6)for(let _0x45353d=0x0;_0x45353d<_0x330d2f['length'];_0x45353d++){const _0x279a55=_0x330d2f[_0x45353d-0x1]||null;_0x330d2f[_0x45353d]['previous']!==_0x279a55&&(_0x330d2f[_0x45353d]['previous']=_0x279a55);}function _0x2beac8(_0x11c04b,_0x32b4bf){if(_0x11c04b[0x0]['attributes']['groupId']!==_0x32b4bf[0x0]['attributes']['groupId']&&_0x11c04b[0x0]['author']!==_0x32b4bf[0x0]['author'])return!0x1;if(!function(_0x16b4ee,_0x2892b5){if(!_0x16b4ee['hasComments']&&!_0x2892b5['hasComments'])return!0x0;if(_0x16b4ee['hasComments']&&_0x2892b5['hasComments'])return!0x1;if(_0x16b4ee['hasComments']&&_0x2892b5['createdAt']<_0x16b4ee['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;if(_0x2892b5['hasComments']&&_0x16b4ee['createdAt']<_0x2892b5['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x11c04b[0x0],_0x32b4bf[0x0]))return!0x1;if(!_0x1df005(omit(_0x11c04b[0x0]['attributes'],['groupId','trackingSessionId']),omit(_0x32b4bf[0x0]['attributes'],['groupId','trackingSessionId'])))return!0x1;if(_0x11c04b[0x0]['attributes']['groupId']==_0x32b4bf[0x0]['attributes']['groupId'])return!0x0;if(_0x11c04b[0x0]['attributes']['trackingSessionId']!==_0x32b4bf[0x0]['attributes']['trackingSessionId'])return!0x1;return!!_0x11c04b['every'](_0x36ee26=>_0x32b4bf['some'](_0x464b51=>_0x36ee26['getFirstRange']()['isEqual'](_0x464b51['getFirstRange']())))&&_0x32b4bf['every'](_0x5ac246=>_0x11c04b['some'](_0x5a2070=>_0x5ac246['getFirstRange']()['isEqual'](_0x5a2070['getFirstRange']())));}}['_joinWithAdjacentSuggestions'](_0x2c1fdd){const _0x3dbdda=Array['from'](_0x2c1fdd),_0x345f6c=this['getSuggestions']({'skipNotAttached':!0x0}),_0x26b5a4=_0x345f6c['filter'](_0x5e121d=>!_0x2c1fdd['has'](_0x5e121d)),_0x409e20=new Map(_0x3dbdda['map'](_0x207027=>[_0x207027,this['_suggestionFactory']['getSuggestionCallback'](_0x207027['type'],_0x207027['subType'],'join')])),_0x20a66e=new Map(_0x345f6c['map'](_0x411ea3=>[_0x411ea3,_0x411ea3['getRanges']()]));for(let _0x4c3f9b=0x0;_0x4c3f9b<_0x3dbdda['length'];_0x4c3f9b++){if(_0x23f938(this,_0x3dbdda[_0x4c3f9b],_0x3dbdda,_0x4c3f9b+0x1))return!0x0;}for(let _0x3ff4de=0x0;_0x3ff4de<_0x3dbdda['length'];_0x3ff4de++){if(_0x23f938(this,_0x3dbdda[_0x3ff4de],_0x26b5a4,0x0))return!0x0;}return!0x1;function _0x23f938(_0xb574d4,_0x3557fb,_0x32d760,_0x1ccd72){for(let _0x5089ed=_0x1ccd72;_0x5089ed<_0x32d760['length'];_0x5089ed++){const _0x57a85e=_0x32d760[_0x5089ed];if(_0x57a85e['type']!==_0x3557fb['type']||_0x57a85e['author']['id']!==_0x3557fb['author']['id']||_0x57a85e['subType']!==_0x3557fb['subType'])continue;if(!_haveSameAttributes(_0x3557fb,_0x57a85e))continue;if('attribute'==_0x3557fb['type']&&_0x3557fb['data']['oldValue']!=_0x57a85e['data']['oldValue'])continue;if('attribute'==_0x3557fb['type']&&_0xb574d4['_isBlockAttribute'](_0x3557fb['data']['key']))continue;if('formatBlock'==_0x3557fb['type']){const _0x204aac=_0xb574d4['editor']['model'],_0x371c91=_0x3557fb['getContainedElement']();if(_0x371c91&&(_0x204aac['schema']['isObject'](_0x371c91)||_0x204aac['schema']['isLimit'](_0x371c91)))continue;}const _0x8ce777=_0x409e20['get'](_0x3557fb),_0x24c975=_0x20a66e['get'](_0x3557fb),_0x568eee=_0x20a66e['get'](_0x57a85e),_0xd727b=_0x3557fb['commentThread']&&_0x3557fb['commentThread']['length'],_0x249aaa=_0x57a85e['commentThread']&&_0x57a85e['commentThread']['length'];if(!_0xd727b&&_0x8ce777(_0x568eee,_0x24c975))return _0xb574d4['_joinSuggestions'](_0x57a85e,_0x3557fb),_0x20a66e['delete'](_0x3557fb),!0x0;if(!_0x249aaa&&_0x8ce777(_0x24c975,_0x568eee))return _0xb574d4['_joinSuggestions'](_0x3557fb,_0x57a85e),_0x20a66e['delete'](_0x57a85e),!0x0;}return!0x1;}}['_joinSuggestions'](_0x5bf1f1,_0x91babe){if(_0x5bf1f1['isMultiRange']){for(const _0x346ec7 of _0x91babe['getRanges']())_0x5bf1f1['addRange'](_0x346ec7);}else{const _0x32a412=_0x91babe['getFirstRange']()['end'];this['_setSuggestionRange'](_0x5bf1f1,this['_model']['createRange'](_0x5bf1f1['getFirstRange']()['start'],_0x32a412));}_0x91babe['removeMarkers']();}['_getMarkerAnnouncementText'](_0x263598,_0x5bdb4e,_0x36d02e){const _0x432010=_0x263598['startsWith']('format')||_0x263598['startsWith']('attribute')?'FORMATTING':_0x263598['toUpperCase']();return getTranslation$1(this['editor']['locale'],_0x5bdb4e+'_'+_0x432010+'_SUGGESTION_ANNOUNCEMENT',_0x36d02e);}['_initAriaMarkerChangeAnnouncements'](){const _0x3ba8eb=this['editor'];if(!_0x3ba8eb['ui'])return;const {ariaLiveAnnouncer:_0x1a205e}=_0x3ba8eb['ui'];surroundingMarkersDetector(this['_model'],({left:_0x5e607f,entered:_0x4d1349})=>{for(const _0x12c957 of _0x5e607f){const {group:_0x273b65,type:_0x165501}=this['_splitMarkerName'](_0x12c957['name']);if('suggestion'===_0x273b65){_0x1a205e['announce'](this['_getMarkerAnnouncementText'](_0x165501,'LEAVE'));break;}}for(const _0x1cecc7 of _0x4d1349){const {group:_0x1a7ff5,type:_0x13faf1}=this['_splitMarkerName'](_0x1cecc7['name']);if('suggestion'===_0x1a7ff5){_0x1a205e['announce'](this['_getMarkerAnnouncementText'](_0x13faf1,'ENTER',ckeditor5['getEnvKeystrokeText'](_0x510d32)));break;}}});}['_processAttributeChanges'](_0x389538){if(this['_recordAttributeSuggestions'])return!0x1;const _0x5e99c0=this['editor'],_0x234b22=_0x5e99c0['model']['document']['differ']['getChanges']();if(0x0==_0x234b22['length'])return!0x1;const _0x1ee804=[],_0x9e78e=_0x234b22['filter'](_0x141d35=>'attribute'==_0x141d35['type']),_0x49ab1b=_0x234b22['filter'](_0x237c96=>'insert'==_0x237c96['type']&&'$text'!=_0x237c96['name']),_0x5c6dcb=_0x234b22['filter'](_0x4348cd=>'remove'==_0x4348cd['type']&&'$text'!=_0x4348cd['name']);for(const _0x34043e of _0x9e78e)_0x1ee804['push']({'key':_0x34043e['attributeKey'],'newValue':_0x34043e['attributeNewValue'],'oldValue':_0x34043e['attributeOldValue'],'range':fixAttributeSuggestionRange(_0x34043e['range'],_0x5e99c0['model'])});for(const _0x39523e of _0x49ab1b){const _0x214360=_0x5c6dcb['find'](_0x343ca1=>_0x343ca1['position']['isEqual'](_0x39523e['position']));_0x214360&&_0x1ee804['push']({'key':renameAttributeKey,'newValue':_0x39523e['name'],'oldValue':_0x214360['name'],'range':_0x5e99c0['model']['createRangeOn'](_0x39523e['position']['nodeAfter'])});}return 0x0!=_0x1ee804['length']&&this['_reduceExistingSuggestions'](_0x389538,_0x1ee804);}['_processAttributeSuggestions'](_0x545a0b){let _0x310ea1=!0x1;const _0x134a28=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x4d1f3b=>_0x4d1f3b['data']['newRange']&&_0x4d1f3b['name']['startsWith']('suggestion:attribute:'));for(const _0x1c229c of _0x134a28){const {subType:_0x1680bb,id:_0x29f816}=this['_splitMarkerName'](_0x1c229c['name']),_0x7ad729=_0x1680bb['split']('|')[0x0];for(const _0x5c1992 of this['getSuggestions']({'skipNotAttached':!0x0}))_0x5c1992['id']!=_0x29f816&&'attribute'==_0x5c1992['type']&&_0x5c1992['data']&&_0x5c1992['data']['key']==_0x7ad729&&_0x5c1992['getFirstRange']()['isIntersecting'](_0x1c229c['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x5c1992,_0x1c229c['data']['newRange'],_0x545a0b),_0x310ea1=!0x0);}return _0x310ea1;}['recordAttributeChanges'](_0x45dd79){this['_recordAttributeSuggestions']=!0x0,_0x45dd79();}['_isRegisteredAttribute'](_0xae4e64){return this['editor']['plugins']['get'](SuggestionsConversion)['isRegisteredAttribute'](_0xae4e64);}['_reduceExistingSuggestions'](_0x313180,_0x259599){if(0x0==_0x259599['length'])return!0x1;let _0x54f977=!0x1;for(const _0x1f72be of _0x259599){const _0x15e7c3=this['_findSuggestions'](_0x1f72be['range'],'attribute')['filter'](_0x4fb63f=>!_0x4fb63f['meta']['isNextTo'])['map'](_0x28b26d=>_0x28b26d['suggestion']),_0x1b9556=hashObject({'newValue':_0x1f72be['newValue']});_0x15e7c3['filter'](_0x21f9e0=>{const [_0x13ebc7,_0x560f24]=_0x21f9e0['subType']['split']('|');return _0x13ebc7==_0x1f72be['key']&&_0x560f24!=_0x1b9556;})['forEach'](_0x2e6e3=>{this['_reduceSuggestionAttributeRange'](_0x2e6e3,_0x1f72be['range'],_0x313180),_0x54f977=!0x0;});}return _0x54f977;}['_reduceSuggestionAttributeRange'](_0x26c178,_0x54fdf0,_0x3eae37){const _0x509a1a=_0x26c178['getFirstRange']()['getDifference'](_0x54fdf0);0x0!==_0x509a1a['length']?0x1!==_0x509a1a['length']?this['_breakSuggestionMarker'](_0x26c178,_0x54fdf0['start'],_0x54fdf0['end']):this['_setSuggestionRange'](_0x26c178,_0x509a1a[0x0]):_0x3eae37['removeMarker'](_0x26c178['getFirstMarker']());}}class SuggestionFactory{['_editor'];['_model'];['_customCallbacks'];['_defaultCallbacks'];constructor(_0x3449ce){this['_editor']=_0x3449ce,this['_model']=_0x3449ce['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0x3f0372,_0x4c49f6,_0x255b19,_0x4919a3,_0x304984,_0x31db19,_0x197200){return new Suggestion(this['_model'],{'type':_0x3f0372,'subType':_0x4c49f6,'id':_0x255b19,'originalSuggestionId':_0x197200,'author':_0x4919a3,'creator':_0x4919a3,'attributes':_0x304984,'onAttributesChange':_0x31db19,'onAccept':(..._0x2abb3e)=>this['getSuggestionCallback'](_0x3f0372,_0x4c49f6,'accept')(..._0x2abb3e),'onDiscard':(..._0x4995ba)=>this['getSuggestionCallback'](_0x3f0372,_0x4c49f6,'discard')(..._0x4995ba)});}['registerCustomCallback'](_0x52e344,_0x2dcb03,_0x45e3db,_0x616b31){const _0x24f332=_0x52e344+':'+_0x2dcb03+':'+_0x45e3db;this['_customCallbacks']['set'](_0x24f332,_0x616b31);}['getSuggestionCallback'](_0x3a5929,_0x522e9a,_0x4f477e){const _0x495527=_0x3a5929+':'+_0x522e9a+':'+_0x4f477e;return this['_customCallbacks']['get'](_0x495527)||this['_defaultCallbacks']['get'](_0x3a5929+':'+_0x4f477e);}['_registerDefaultCallbacks'](){const _0xecc38d=()=>!0x1,_0x2754de=_0x2c088b=>{_0x2c088b['sort']((_0x1b85f0,_0x365f0c)=>_0x1b85f0['start']['isBefore'](_0x365f0c['start'])?0x1:-0x1),this['_model']['change'](_0x1f7364=>{for(const _0x433f4d of _0x2c088b){let _0x43ec81;_0x43ec81=_0x433f4d['end']['isAtEnd']&&_0x433f4d['end']['parent']==_0x433f4d['start']['nodeAfter']?_0x1f7364['createSelection'](_0x433f4d['start']['nodeAfter'],'on'):_0x1f7364['createSelection'](_0x433f4d),this['_model']['deleteContent'](_0x43ec81,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0x25d5d3=(_0x17d5c3,_0x35db68)=>{_0x35db68&&this['_model']['change'](_0x59ce31=>{const {commandName:_0x2ba4ec,commandParams:_0x5b1c28=[]}=_0x35db68,_0x52dff0=_0x17d5c3['map'](_0x2c0ef0=>(_0x58cb3f(_0x2c0ef0)&&(_0x2c0ef0=this['_model']['createRange'](_0x2c0ef0['end'])),_0x2c0ef0))['filter'](_0xdae1e6=>'$graveyard'!==_0xdae1e6['root']['rootName']);if(_0x52dff0['length']<0x1)return;const _0x7b6159=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x32d725=>ckeditor5['ModelLiveRange']['fromRange'](_0x32d725));_0x59ce31['setSelection'](_0x52dff0);for(const _0x556e07 of this['_editor']['commands']['commands']())_0x556e07['refresh']();_0x5b1c28['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x2ba4ec,..._0x5b1c28);const _0x5a32c7=_0x7b6159['filter'](_0x533e65=>'$graveyard'!=_0x533e65['root']['rootName']);_0x5a32c7['length']>0x0&&_0x59ce31['setSelection'](_0x5a32c7);for(const _0x511116 of _0x7b6159)_0x511116['detach']();});},_0x299279=(_0xe03723,_0x1e3950)=>0x1==_0xe03723['length']&&0x1==_0x1e3950['length']&&_0xe03723[0x0]['end']['isEqual'](_0x1e3950[0x0]['start']),_0x58752c=(_0x459087,_0x652df3,_0x58d735,_0x7b6d4b)=>canChainSuggestions(_0x459087,_0x652df3,_0x58d735,_0x7b6d4b)?[_0x459087,_0x652df3]:canChainSuggestions(_0x652df3,_0x459087,_0x7b6d4b,_0x58d735)?[_0x652df3,_0x459087]:null;this['_defaultCallbacks']['set']('insertion:accept',_0xecc38d),this['_defaultCallbacks']['set']('insertion:discard',_0x2754de),this['_defaultCallbacks']['set']('insertion:join',_0x299279),this['_defaultCallbacks']['set']('insertion:chain',_0x58752c),this['_defaultCallbacks']['set']('deletion:accept',_0x2754de),this['_defaultCallbacks']['set']('deletion:discard',_0xecc38d),this['_defaultCallbacks']['set']('deletion:join',_0x299279),this['_defaultCallbacks']['set']('deletion:chain',_0x58752c),this['_defaultCallbacks']['set']('formatInline:accept',_0x25d5d3),this['_defaultCallbacks']['set']('formatInline:discard',_0xecc38d),this['_defaultCallbacks']['set']('formatInline:join',_0x299279),this['_defaultCallbacks']['set']('formatInline:chain',_0xecc38d),this['_defaultCallbacks']['set']('formatBlock:accept',_0x25d5d3),this['_defaultCallbacks']['set']('formatBlock:discard',_0xecc38d),this['_defaultCallbacks']['set']('formatBlock:join',_0x299279),this['_defaultCallbacks']['set']('formatBlock:chain',_0xecc38d),this['_defaultCallbacks']['set']('attribute:accept',_0xecc38d),this['_defaultCallbacks']['set']('attribute:discard',(_0x150206,_0x539eea)=>{if(!_0x539eea)return;const _0x299ec4=this['_editor']['plugins']['get'](TrackChangesEditing);this['_model']['change'](_0x4fa0e3=>{if(_0x539eea['key']==renameAttributeKey)for(const _0x1c3797 of _0x150206){const _0x1980f8=_0x1c3797['start']['nodeAfter'],_0x5b13e5=_0x539eea['oldValue'];_0x4fa0e3['rename'](_0x1980f8,_0x5b13e5);}else{if(_0x299ec4['_isBlockAttribute'](_0x539eea['key'])){for(const _0x253d7b of _0x150206)void 0x0!==_0x539eea['oldValue']?_0x4fa0e3['setAttribute'](_0x539eea['key'],_0x539eea['oldValue'],_0x253d7b['start']['nodeAfter']):_0x4fa0e3['removeAttribute'](_0x539eea['key'],_0x253d7b['start']['nodeAfter']);}else{for(const _0x13e0e2 of _0x150206)_0x539eea['oldValue']?_0x4fa0e3['setAttribute'](_0x539eea['key'],_0x539eea['oldValue'],_0x13e0e2):_0x4fa0e3['removeAttribute'](_0x539eea['key'],_0x13e0e2);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0x299279);}}function getIntersectionsWithMultipleRanges(_0x565225,_0xbc65db){const _0x4ed8cd=[];for(const _0x5f9544 of _0xbc65db){const _0x1efd80=_0x565225['getIntersection'](_0x5f9544);_0x1efd80&&_0x4ed8cd['push'](_0x1efd80);}return _0x4ed8cd;}function getDifferencesWithMultipleRanges(_0x12f399,_0xd69ca1){const _0x342a92=[_0x12f399];for(const _0x5a5b0c of _0xd69ca1){let _0x46812f=0x0;for(;_0x46812f<_0x342a92['length'];){const _0x539b35=_0x342a92[_0x46812f]['getDifference'](_0x5a5b0c);_0x342a92['splice'](_0x46812f,0x1,..._0x539b35),_0x46812f+=_0x539b35['length'];}}return _0x342a92;}function _isInObject(_0x21acf1,_0x17a950,_0x188c58){for(const _0x3b4698 of _0x17a950['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x3b4698['root']==_0x3b4698)return!0x1;if(!_0x188c58['containsItem'](_0x3b4698))return!0x1;if(_0x21acf1['isObject'](_0x3b4698)||_0x21acf1['isLimit'](_0x3b4698))return!0x0;}return!0x1;}function _0x58cb3f(_0x3c8503){return _0x3c8503['end']['parent']==_0x3c8503['start']['nodeAfter']&&_0x3c8503['end']['isAtStart'];}function _0x55fb12(_0x26d181){return _0x26d181['start']['parent']==_0x26d181['end']['nodeBefore']&&_0x26d181['start']['isAtEnd'];}function trimFormatInlineSuggestionRange(_0x134d6f,_0x3f6a20,_0x28f025,_0x1a592d){const _0x37533f=_0x41cbc8=>!_0x41cbc8['item']['is']('$textProxy')&&!_0x1a592d['isObject'](_0x41cbc8['item']),_0x9f7793=_0x134d6f['start']['getLastMatchingPosition'](_0x37533f),_0xc49ad8=_0x134d6f['end']['getLastMatchingPosition'](_0x37533f,{'direction':'backward'});return(!_0x134d6f['start']['isEqual'](_0x9f7793)||!_0x134d6f['end']['isEqual'](_0xc49ad8))&&(_0x9f7793['isBefore'](_0xc49ad8)?_0x28f025['updateMarker'](_0x3f6a20,{'range':_0x28f025['createRange'](_0x9f7793,_0xc49ad8)}):_0x28f025['removeMarker'](_0x3f6a20),!0x0);}function createFormatSubType(_0x39789d){return hashObject(_0x39789d);}function isCorrectFormatBlockSuggestionRange(_0x225dfa){const _0xb5e440=_0x225dfa['start']['nodeAfter'];return _0xb5e440&&_0xb5e440['is']('element');}function isEmptyRange(_0x693401){return _0x58cb3f(_0x693401)||_0x55fb12(_0x693401);}function isIntersectingWithOtherMarkers(_0x2d8df0,_0x518862){try{const _0x44a85d=_0x2d8df0['getRange']();for(const _0x577091 of _0x518862)if(_0x2d8df0!==_0x577091&&_0x44a85d&&_0x44a85d['isIntersecting'](_0x577091['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function fixAttributeSuggestionRange(_0x5db695,_0x282f4c){return null==_0x5db695['end']['nodeBefore']&&_0x5db695['end']['parent']==_0x5db695['start']['nodeAfter']?createBlockFormatRangeForElement(_0x5db695['start']['nodeAfter'],_0x282f4c):_0x5db695;}function createBlockFormatRangeForElement(_0x4e8bb0,_0x4dad3b){const _0x991c17=_0x4dad3b['schema']['isObject'](_0x4e8bb0)||_0x4dad3b['schema']['isSelectable'](_0x4e8bb0);return _0x4dad3b['createRange'](_0x4dad3b['createPositionAt'](_0x4e8bb0,'before'),_0x991c17?_0x4dad3b['createPositionAfter'](_0x4e8bb0):_0x4dad3b['createPositionAt'](_0x4e8bb0,'end'));}function canChainSuggestions(_0x12ffb7,_0x2f527f,_0x3ad749,_0x384609){return!!_haveSameAttributes(_0x12ffb7,_0x2f527f)&&_0x3ad749['end']['isEqual'](_0x384609['start']);}function _haveSameAttributes(_0x35089b,_0x2b68fa){if(!_0x35089b['_isDataLoaded']||!_0x2b68fa['_isDataLoaded'])return!0x1;const _0x23eeaa=new Set(Object['keys'](_0x35089b['attributes'])),_0x9d8117=new Set(Object['keys'](_0x2b68fa['attributes']));if(_0x23eeaa['delete']('groupId'),_0x9d8117['delete']('groupId'),0x0==_0x23eeaa['size']&&0x0==_0x9d8117['size'])return!0x0;if(_0x23eeaa['size']!=_0x9d8117['size'])return!0x1;const _0x4e4ca4={..._0x35089b['attributes']},_0x257df5={..._0x2b68fa['attributes']};return delete _0x4e4ca4['groupId'],delete _0x257df5['groupId'],JSON['stringify'](_0x4e4ca4)==JSON['stringify'](_0x257df5);}function _areSimilarAttributes(_0x9233fd,_0x2a207f){const _0x26839e=_cleanUpAttributes(_0x9233fd['attributes']),_0x53709b=_cleanUpAttributes(_0x2a207f);if(!_0x9233fd['_isDataLoaded'])return!0x1;for(const _0x270933 of Object['keys'](_0x53709b))if(!_0x1df005(_0x26839e[_0x270933],_0x53709b[_0x270933]))return!0x1;return!0x0;}function _cleanUpAttributes(_0x4ef6ce){const _0x2bb494=Object['assign']({},_0x4ef6ce);return delete _0x2bb494['skipNestingCheck'],delete _0x2bb494['tablePasteChainId'],_0x2bb494;}function _getAttributeKeyFromSubType(_0xf25256){return _0xf25256['split']('|')[0x0];}async function _0x4f9067(_0x172698){const _0x46f64c=_0x174218([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]),_0x24e692=window[_0x174218([0x44,0x61,0x74,0x65])][_0x174218([0x6e,0x6f,0x77])](),_0x593e73=_0x172698[_0x174218([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5f373e=new window[(_0x174218([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x171e88=>{_0x593e73[_0x174218([0x6f,0x6e,0x63,0x65])](_0x174218([0x72,0x65,0x61,0x64,0x79]),_0x171e88);}),_0x34dcaa={[_0x174218([0x6b,0x74,0x79])]:_0x174218([0x45,0x43]),[_0x174218([0x75,0x73,0x65])]:_0x174218([0x73,0x69,0x67]),[_0x174218([0x63,0x72,0x76])]:_0x174218([0x50,0x2d,0x32,0x35,0x36]),[_0x174218([0x78])]:_0x174218([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]),[_0x174218([0x79])]:_0x174218([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]),[_0x174218([0x61,0x6c,0x67])]:_0x174218([0x45,0x53,0x32,0x35,0x36])},_0x109790=_0x593e73[_0x174218([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x174218([0x67,0x65,0x74])](_0x174218([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3bf653=await(async function(){let _0x17402e,_0x2c5950=null,_0x33f180=null;try{if(_0x109790==_0x174218([0x47,0x50,0x4c]))return _0x174218([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x17402e=(function(){const _0x406fa8=_0x109790[_0x174218([0x73,0x70,0x6c,0x69,0x74])](_0x174218([0x2e]));if(0x3!=_0x406fa8[_0x174218([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0xbe2d21=_0x406fa8[0x1];return _0x1bd8fc(_0xbe2d21);function _0x1bd8fc(_0x3a2b71){const _0x72b5c0=_0x3ce3cc(_0x3a2b71);return _0x72b5c0&&_0x1eb659()?_0x72b5c0:null;function _0x1eb659(){const _0x5ca9f4=_0x72b5c0[_0x174218([0x6a,0x74,0x69])],_0x42defb=window[_0x174218([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ca9f4[_0x174218([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ca9f4[_0x174218([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2acfb6={..._0x72b5c0,[_0x174218([0x6a,0x74,0x69])]:_0x5ca9f4[_0x174218([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5ca9f4[_0x174218([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2acfb6[_0x174218([0x76,0x63])],_0x4bf82c(_0x2acfb6)==_0x42defb;}}}()),!_0x17402e)return _0x174218([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x17402e[_0x174218([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x33f180=function(_0x505e5e,_0x585691){return new window[(_0x174218([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x148712=>{if(_0x3b3535())return _0x148712(_0x174218([0x56,0x61,0x6c,0x69,0x64]));_0x5d5f86(),_0x593e73[_0x174218([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x174218([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x16a920=!0x1;const _0x40cbc0=ckeditor5['uid']();function _0x2d12d1(_0x2d5ce6){return!!_0x2d5ce6&&(typeof _0x2d5ce6===_0x174218([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2d5ce6===_0x174218([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2d5ce6[_0x174218([0x74,0x68,0x65,0x6e])]===_0x174218([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2d5ce6[_0x174218([0x63,0x61,0x74,0x63,0x68])]===_0x174218([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x418618(_0x501e95){_0x429017(_0x501e95)[_0x174218([0x74,0x68,0x65,0x6e])](_0x3b2932=>{if(!_0x3b2932||_0x3b2932[_0x174218([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x174218([0x6f,0x6b]))return _0x174218([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2543ea(_0x4bf82c(_0x40cbc0+_0x585691))!=_0x3b2932[_0x174218([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x174218([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x174218([0x56,0x61,0x6c,0x69,0x64]);})[_0x174218([0x74,0x68,0x65,0x6e])](_0x5de5ca=>(_0x1c1af5(),_0x5de5ca),()=>{const _0x5e1874=_0x1f1701();return null==_0x5e1874?(_0x1c1af5(),_0x174218([0x56,0x61,0x6c,0x69,0x64])):_0x174218(_0x24e692-_0x5e1874>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x174218([0x74,0x68,0x65,0x6e])](_0x148712)[_0x174218([0x63,0x61,0x74,0x63,0x68])](()=>{_0x148712(_0x174218([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b8dde=0x36ee80;function _0x1c1af5(){const _0x4c0fac=_0x174218([0x6c,0x6c,0x63,0x74,0x2d])+_0x2543ea(_0x4bf82c(_0x505e5e)),_0x464eb9=_0x22af65(_0x2543ea(window[_0x174218([0x4d,0x61,0x74,0x68])][_0x174218([0x63,0x65,0x69,0x6c])](_0x24e692/_0x2b8dde)));window[_0x174218([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x174218([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c0fac,_0x464eb9);}function _0x1f1701(){const _0x703296=_0x174218([0x6c,0x6c,0x63,0x74,0x2d])+_0x2543ea(_0x4bf82c(_0x505e5e)),_0x4ff40f=window[_0x174218([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x174218([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x703296);return _0x4ff40f?window[_0x174218([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22af65(_0x4ff40f),0x10)*_0x2b8dde:null;}function _0x429017(_0x33d384){return new window[(_0x174218([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4704b9,_0x3534a3)=>{_0x33d384[_0x174218([0x74,0x68,0x65,0x6e])](_0x4704b9,_0x3534a3),window[_0x174218([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3534a3,0x1d4c0);});}}_0x593e73[_0x174218([0x6f,0x6e])](_0x174218([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x30e672,_0x31d33b)=>{if(_0x31d33b[0x0]!=_0x505e5e)return _0x148712(_0x174218([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31d33b[0x1]={..._0x31d33b[0x1],[_0x174218([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x40cbc0};},{[_0x174218([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x174218([0x68,0x69,0x67,0x68])}),_0x593e73[_0x174218([0x6f,0x6e])](_0x174218([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b1e2d=>{_0x2d12d1(_0x1b1e2d[_0x174218([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x16a920=!0x0,_0x418618(_0x1b1e2d[_0x174218([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x174218([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x174218([0x6c,0x6f,0x77])}),_0x5f373e[_0x174218([0x74,0x68,0x65,0x6e])](()=>{_0x16a920||_0x148712(_0x174218([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b3535(){return _0x593e73[_0x174218([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x174218([0x76,0x69,0x65,0x77])][_0x174218([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x174218([0x61,0x75,0x74,0x6f]);}function _0x5d5f86(){_0x593e73[_0x174218([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x174218([0x76,0x69,0x65,0x77])][_0x174218([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x174218([0x61,0x75,0x74,0x6f]);}}(_0x17402e[_0x174218([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x17402e[_0x174218([0x6a,0x74,0x69])]));const _0x46c12f=await(async function(){let _0x2b0fc2=!0x0;try{const _0x1cb2aa=_0x109790[_0x174218([0x73,0x70,0x6c,0x69,0x74])](_0x174218([0x2e])),[_0x1feba3,_0x1f0b81,_0x3100fb]=_0x1cb2aa;return _0x49269b(_0x1feba3),await _0x3f838a(_0x1feba3,_0x1f0b81,_0x3100fb),_0x2b0fc2;}catch{return!0x1;}function _0x49269b(_0x2f43aa){const _0x2afad5=_0x3ce3cc(_0x2f43aa);_0x2afad5&&_0x2afad5[_0x174218([0x61,0x6c,0x67])]==_0x174218([0x45,0x53,0x32,0x35,0x36])||(_0x2b0fc2=!0x1);}async function _0x3f838a(_0x367ec6,_0x1665b2,_0x2b4ab3){const _0x2c6a52=window[_0x174218([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x174218([0x66,0x72,0x6f,0x6d])](_0x3b2931(_0x2b4ab3),_0x528ec9=>_0x528ec9[_0x174218([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x380e3a=new window[(_0x174218([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x174218([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x367ec6+_0x174218([0x2e])+_0x1665b2),_0x1c5ea3=window[_0x174218([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x174218([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1c5ea3)return;const _0x364030=await _0x1c5ea3[_0x174218([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x174218([0x6a,0x77,0x6b]),_0x34dcaa,{[_0x174218([0x6e,0x61,0x6d,0x65])]:_0x174218([0x45,0x43,0x44,0x53,0x41]),[_0x174218([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x174218([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x174218([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1c5ea3[_0x174218([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x174218([0x6e,0x61,0x6d,0x65])]:_0x174218([0x45,0x43,0x44,0x53,0x41]),[_0x174218([0x68,0x61,0x73,0x68])]:{[_0x174218([0x6e,0x61,0x6d,0x65])]:_0x174218([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x364030,_0x2c6a52,_0x380e3a)||(_0x2b0fc2=!0x1);}}());return _0x46c12f?(function(){const _0x1a7331=_0x17402e[_0x174218([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1a7331)return!0x1;if(_0x1a7331[_0x174218([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x174218([0x2a])))return!0x0;if(_0x1a7331[_0x174218([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x174218([0x54,0x43])))return!0x0;if(_0x1a7331[_0x174218([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x174218([0x52,0x54,0x43]))){if(_0x524b1a(_0x174218([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&(_0x563403=_0x174218([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]),_0x593e73[_0x174218([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x174218([0x67,0x65,0x74])](_0x563403))[_0x174218([0x73,0x74,0x61,0x74,0x65])]==_0x174218([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x524b1a(_0x174218([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]))||_0x524b1a(_0x174218([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 _0x563403;return!0x1;}())?(function(){const _0x58bca7=[_0x174218([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x174218([0x74,0x72,0x69,0x61,0x6c])][_0x174218([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17402e[_0x174218([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x24e692/0x3e8:0x69e02680;return _0x17402e[_0x174218([0x65,0x78,0x70])]<_0x58bca7;}())?_0x174218([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x23550a=_0x17402e[_0x174218([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x23550a||0x0==_0x23550a[_0x174218([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3253e1}=new URL(window[_0x174218([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x23550a[_0x174218([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3253e1))return!0x0;const _0x1c3e67=_0x3253e1[_0x174218([0x73,0x70,0x6c,0x69,0x74])](_0x174218([0x2e]));return _0x23550a[_0x174218([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13d76b=>_0x13d76b[_0x174218([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x174218([0x2a])))[_0x174218([0x6d,0x61,0x70])](_0x49f8e4=>_0x49f8e4[_0x174218([0x73,0x70,0x6c,0x69,0x74])](_0x174218([0x2e])))[_0x174218([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x195ca6=>_0x195ca6[_0x174218([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c3e67[_0x174218([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x174218([0x6d,0x61,0x70])](_0x3b2ea7=>Array(_0x1c3e67[_0x174218([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3b2ea7[_0x174218([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x174218([0x66,0x69,0x6c,0x6c])](_0x3b2ea7[0x0]===_0x174218([0x2a])?_0x174218([0x2a]):'')[_0x174218([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3b2ea7))[_0x174218([0x73,0x6f,0x6d,0x65])](_0x22280b=>_0x1c3e67[_0x174218([0x65,0x76,0x65,0x72,0x79])]((_0xaf3fcd,_0x327f98)=>_0x22280b[_0x327f98]===_0xaf3fcd||_0x22280b[_0x327f98]===_0x174218([0x2a])));}())?(_0x17402e[_0x174218([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x174218([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c5950=function(_0x33eefd){const _0x3e38b5=new window[(_0x174218([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13f723=>setTimeout(_0x13f723,0x93ecc)),_0x2a7638=_0x5f373e[_0x174218([0x74,0x68,0x65,0x6e])](()=>new window[(_0x174218([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ca97f=>{let _0x4cfa35=0x0;_0x593e73[_0x174218([0x6d,0x6f,0x64,0x65,0x6c])][_0x174218([0x6f,0x6e])](_0x174218([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e6769,_0x230124)=>{_0x230124[0x0][_0x174218([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4cfa35++,0x5e8==_0x4cfa35&&(_0x1ca97f(),_0x2e6769[_0x174218([0x6f,0x66,0x66])]());});})),_0xd66ba1=[_0x3e38b5,_0x2a7638];return window[_0x174218([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x174218([0x72,0x61,0x63,0x65])](_0xd66ba1)[_0x174218([0x74,0x68,0x65,0x6e])](()=>_0x33eefd);}(_0x174218([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2c5950&&_0x33f180)return new window[(_0x174218([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e426a,_0x130eaf)=>{_0x2c5950[_0x174218([0x74,0x68,0x65,0x6e])](_0x2e426a,_0x130eaf),_0x33f180[_0x174218([0x74,0x68,0x65,0x6e])](_0x3222f3=>{_0x3222f3!=_0x174218([0x56,0x61,0x6c,0x69,0x64])&&_0x2e426a(_0x3222f3);},_0x130eaf);});return _0x2c5950||_0x33f180||_0x174218([0x56,0x61,0x6c,0x69,0x64]);}())):_0x174218([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x174218([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x174218([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x174218([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x3ce3cc(_0x67852b){return _0x67852b[_0x174218([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x174218([0x65,0x79]))?JSON[_0x174218([0x70,0x61,0x72,0x73,0x65])](_0x3b2931(_0x67852b)):null;}function _0x3b2931(_0x320edb){return window[_0x174218([0x61,0x74,0x6f,0x62])](_0x320edb[_0x174218([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x174218([0x2b]))[_0x174218([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x174218([0x2f])));}function _0x4bf82c(_0x2c0700){let _0x43a815=0x1505;function _0x2e9d3f(_0x243b6f){for(let _0x5ac338=0x0;_0x5ac338<_0x243b6f[_0x174218([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ac338++){const _0x3d3b69=_0x243b6f[_0x174218([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5ac338);_0x43a815=(_0x43a815<<0x5)+_0x43a815+_0x3d3b69,_0x43a815&=_0x43a815;}}return function _0x2d22af(_0x19c4a8){Array[_0x174218([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x19c4a8)?_0x19c4a8[_0x174218([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2d22af):_0x19c4a8&&typeof _0x19c4a8==_0x174218([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x174218([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x19c4a8)[_0x174218([0x73,0x6f,0x72,0x74])]()[_0x174218([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5aac66,_0x2f8099])=>{_0x2e9d3f(_0x5aac66),_0x2d22af(_0x2f8099);}):_0x2e9d3f(window[_0x174218([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x19c4a8));}(_0x2c0700),_0x43a815>>>0x0;}function _0x2543ea(_0x2d65ab){return _0x2d65ab[_0x174218([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x174218([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x174218([0x30]));}function _0x22af65(_0x349ddf){return _0x349ddf[_0x174218([0x73,0x70,0x6c,0x69,0x74])]('')[_0x174218([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x174218([0x6a,0x6f,0x69,0x6e])]('');}function _0x524b1a(_0x34cc92){return _0x593e73[_0x174218([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x174218([0x68,0x61,0x73])](_0x34cc92);}function _0xda765d(){}function _0x174218(_0x31b271){return _0x31b271['map'](_0x337ff4=>String['fromCharCode'](_0x337ff4))['join']('');}!function(_0x23c187){const _0x1790be=(function(){const _0x570cb6=window[_0x174218([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x174218([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x174218([0x6e,0x6f,0x77])]())[_0x174218([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x174218([0x2e]),'');let _0x42b8c8=_0x174218([0x52]);for(let _0x20ee4b=0x0;_0x20ee4b<_0x570cb6[_0x174218([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20ee4b+=0x2){let _0x12d4fd=window[_0x174218([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x570cb6[_0x174218([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20ee4b,_0x20ee4b+0x2));_0x12d4fd>=_0x46f64c[_0x174218([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x12d4fd-=_0x46f64c[_0x174218([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42b8c8+=_0x46f64c[_0x12d4fd];}return _0x42b8c8;}());_0x593e73[_0x1790be]=_0x174218([0x74,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x23c187,_0x23c187!=_0x174218([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x5f373e,_0x593e73[_0x174218([0x6d,0x6f,0x64,0x65,0x6c])][_0x174218([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xda765d,_0x593e73[_0x174218([0x6d,0x6f,0x64,0x65,0x6c])][_0x174218([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xda765d,_0x593e73[_0x174218([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x174218([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x3bf653);}class SuggestionController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['model'];['view'];['commentThreadController'];['_editor'];['_acceptCommand'];['_discardCommand'];['_pendingAction'];constructor(_0xbe7b53,_0x116516,_0x20c73b,_0x21a936){super(),this['model']=_0x116516,this['view']=_0x20c73b,this['commentThreadController']=_0x21a936,this['_editor']=_0xbe7b53,this['_acceptCommand']=_0xbe7b53['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0xbe7b53['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x58ae1d,_0x1ab92)=>_0x58ae1d||_0x1ab92),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x2e4e8c=>_0x2e4e8c&&this['_editor']['model']['canEditAt'](_0x116516['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0x2a517f=>_0x2a517f&&this['_editor']['model']['canEditAt'](_0x116516['getRanges']())),this['_pendingAction']=null,_0x20c73b['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x20c73b,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x20c73b,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x20c73b,'change:isDirty',()=>{_0x20c73b['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 _0x1b8dbe=getTranslation$1(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x1b8dbe);}['_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(_0x12e157,_0x34adba,_0x2a26a,_0x6330ba){super(_0x12e157),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new AriaDescriptionView(_0x12e157,getTranslation$1(_0x12e157,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x34adba['authoredAt']),this['bind']('authoredAt')['to'](_0x34adba),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',_0x34adba,'authoredAt',this,'descriptionParts',(_0x5ac8a3,_0x12b951,_0x3d1750)=>{const _0x4e34e1=_0x3d1750['map'](_0x5b2652=>renderDescription(_0x5b2652['content']))['join']('.\x20')+'.';return getTranslation$1(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0x5ac8a3-0x1,_0x34adba['author']['name'],_0x12b951?_0x6330ba['formatDateTime'](_0x12b951):'',new DOMParser()['parseFromString'](_0x4e34e1,'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':_0x17dc6f=>_0x17dc6f['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x34adba,this['_localUser']=_0x2a26a,this['_config']=_0x6330ba,_0x6330ba['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:_0x40bfc0}=this['_config'];this['commentsListView']=new _0x40bfc0(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',_0xcaa028=>_0xcaa028+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x5589ed,_0x43582a)=>_0x5589ed||!!_0x43582a);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x1de087}=this['_config'],_0x174715=new _0x1de087(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x53a3df=_0x174715['commentInputView'];return _0x174715['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x53a3df,'value',(_0x591565,_0x26f0cb,_0x56e173)=>!!_0x56e173||_0x591565&&!_0x26f0cb),_0x53a3df['on']('submit',(_0x56c729,_0x300b42)=>{this['fire']('addComment',_0x300b42),_0x53a3df['editor']['setData']('');}),_0x53a3df['on']('cancel',()=>this['focus']()),_0x53a3df['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x174715;}}class SuggestionThreadView extends BaseSuggestionThreadView{['suggestionView'];['_descriptionElement'];constructor(_0x42f02e,_0x11d064,_0x52e95c,_0x437f85){super(_0x42f02e,_0x11d064,_0x52e95c,_0x437f85),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x2803ad=>_0x2803ad&&_0x2803ad[0x0]?_0x2803ad[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x33be2b,_0x28903f)=>{let _0x45705a='';for(const _0x221da4 of _0x33be2b)_0x45705a+='<p>'+renderDescription(_0x221da4['content'],_0x221da4['color'])+'</p>';return _0x28903f?_0x45705a:trimHtml(_0x45705a,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x437f85['SuggestionView'](_0x42f02e,_0x11d064,{'formatDateTime':_0x437f85['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 _0x585068=this['bindTemplate'],_0x39ca4a=[this['suggestionView']];this['commentsListView']&&_0x39ca4a['push'](this['commentsListView']),this['commentThreadInputView']&&_0x39ca4a['push'](this['commentThreadInputView']),_0x39ca4a['push'](this['ariaDescriptionView']);const _0x47613a={'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x585068['if']('isActive','ck-suggestion-wrapper--active'),_0x585068['to']('type',_0x2f3775=>'ck-suggestion-'+_0x2f3775),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':_0x585068['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x39ca4a};return _0x47613a;}['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(_0x294d52,_0x24372e,_0x3214e5){super(_0x294d52),this['_model']=_0x24372e,this['_config']=_0x3214e5,this['set']('description',''),this['bind']('authoredAt')['to'](_0x24372e),this['acceptButton']=this['_createButton'](getTranslation$1(_0x294d52,'Accept\x20suggestion'),ckeditor5['IconCheck'],'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](getTranslation$1(_0x294d52,'Discard\x20suggestion'),ckeditor5['IconCancel'],'ck-suggestion--discard','discardSuggestion','sw'),this['userView']=new _0x267a8b(_0x294d52,_0x24372e['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':_0x260286=>_0x260286['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0x4be58e=this['element']['querySelector']('.ck-annotation__content-wrapper');_0x4be58e['innerHTML']=this['description'],this['on']('change:description',(_0x948ecc,_0x38722b,_0x970587)=>{_0x4be58e['innerHTML']=_0x970587;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0x2a5d54=this['bindTemplate'],_0x51669c=[{'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':_0x2a5d54['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x2a5d54['to']('authoredAt',_0x145c0b=>this['_config']['formatDateTime'](_0x145c0b))}]}]},{'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']&&_0x51669c['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':_0x51669c}]};}['focus'](){this['element']['focus']();}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$1(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):getTranslation$1(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['getExternalSuggestionNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$1(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):getTranslation$1(this['locale'],'EXTERNAL_SUGGESTION');}['_createButton'](_0x282ad7,_0x4aa1b9,_0x49fef1,_0x3f8005,_0x5e500e){const _0x40a3a0=new LateFocusButtonView(this['locale']);return _0x40a3a0['set']({'label':_0x282ad7,'icon':_0x4aa1b9,'tooltip':!0x0,'tooltipPosition':_0x5e500e}),_0x40a3a0['extendTemplate']({'attributes':{'class':_0x49fef1}}),_0x40a3a0['on']('execute',()=>{this['fire'](_0x3f8005,this['_model']['id']);}),_0x40a3a0;}['_setupKeyboardNavigation'](){const _0x2777f8=this['element'];this['keystrokes']['listenTo'](_0x2777f8);for(const _0x4bcacf of this['focusables'])this['focusTracker']['add'](_0x4bcacf['element']),this['keystrokes']['listenTo'](_0x4bcacf['element']);this['keystrokes']['set']('enter',(_0x55c041,_0x24904e)=>{_0x2777f8===_0x55c041['target']&&(this['focusCycler']['focusFirst'](),_0x24904e());}),this['keystrokes']['set']('esc',(_0x563860,_0x5920bf)=>{_0x2777f8!==_0x563860['target']&&(this['focus'](),_0x5920bf());});}}class _0x160d72 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_suggestionToController'];['_viewToController'];['_annotationViews'];['_handleControllerBuffer'];['_disableComments'];static get['requires'](){return[TrackChangesEditing,_0xd5bff4,'CommentsRepository','Annotations','EditorAnnotations'];}static get['pluginName'](){return'TrackChangesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x292a4d){super(_0x292a4d),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x481a7e=this['editor']['config'];_0x481a7e['define']('trackChanges.SuggestionThreadView',SuggestionThreadView),_0x481a7e['define']('trackChanges.SuggestionView',SuggestionView),_0x481a7e['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x481a7e['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0x19220e,_0x2bd6fb){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0x50cdda,_0xcc1ba3]of this['_handleControllerBuffer']){const _0x215838=this['_suggestionToController']['has'](_0x50cdda);_0x215838||_0xcc1ba3?_0x215838&&_0xcc1ba3&&this['_destroyController'](_0x50cdda):this['_initializeController'](_0x50cdda);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get']('EditorAnnotations')['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x19220e,_0x2bd6fb);}['init'](){const _0x212c93=this['editor'],_0x3c92ae=_0x212c93['plugins']['get']('TrackChangesEditing'),_0x596611=_0x212c93['plugins']['get']('Annotations'),_0x5e0c7e=_0x212c93['plugins']['get']('EditorAnnotations'),_0xe8fea3=_0x212c93['plugins']['get']('CommentsRepository');this['_addUIComponentsToFactory'](),_0x5e0c7e['addSourceCollector'](()=>{const _0x19ca95=[];for(const [_0x5243ba,_0x32c7a8]of Array['from'](this['_suggestionToController'])){const _0x4cd4fc=_0x5243ba['getAllAdjacentSuggestions'](),_0x6ebafa=[];for(const _0x155073 of _0x4cd4fc){if(!_0x155073['isInContent'])continue;if(_0x155073['isMultiRange']){_0x6ebafa['push'](..._0x155073['getRanges']());continue;}const _0x4af4bd=_0x155073['getFirstRange']();if(_0x6ebafa['length']>0x0){const _0x19a5e4=_0x6ebafa[0x0]['getJoined'](_0x4af4bd);if(_0x19a5e4){_0x6ebafa[0x0]=_0x19a5e4;continue;}}_0x6ebafa['push'](_0x4af4bd);}_0x19ca95['push']([_0x32c7a8['view'],_0x6ebafa]);}return _0x19ca95;}),this['listenTo'](_0x3c92ae,'suggestionLoaded',(_0x1cb0b1,_0x59feb5)=>{this['listenTo'](_0x59feb5,'change:previous',(_0x212daf,_0x27074d,_0x6a5acc,_0xd12e52)=>{_0x59feb5['isInContent']&&(null==_0x6a5acc?(this['_updateController'](_0xd12e52['head']),this['_handleSuggestionControllerDelayed'](_0x59feb5,!0x1)):(this['_updateController'](_0x6a5acc['head']),null==_0xd12e52&&this['_handleSuggestionControllerDelayed'](_0x59feb5,!0x0)));}),null!==_0x59feb5['previous']?this['_updateController'](_0x59feb5['head']):this['_handleSuggestionControllerDelayed'](_0x59feb5,!0x1);}),this['listenTo'](_0x3c92ae,'suggestionUnloaded',(_0x2e8cc9,_0x3e3bd8,_0x1e7db4)=>{this['stopListening'](_0x3e3bd8,'change:previous'),this['_handleControllerBuffer']['delete'](_0x3e3bd8),this['_suggestionToController']['has'](_0x3e3bd8)&&this['_destroyController'](_0x3e3bd8),_0x1e7db4&&this['_updateController'](_0x1e7db4['head']);}),this['listenTo'](_0x3c92ae,'suggestionChanged',(_0x2af952,_0x360738)=>{this['_updateController'](_0x360738);}),this['listenTo'](_0x596611,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0xe8fea3,'addComment',(_0x239d5a,{threadId:_0x4ce96b,isFromAdapter:_0x408a24})=>{if(_0x408a24||!_0x3c92ae['hasSuggestion'](_0x4ce96b))return;const _0x27aab8=_0x3c92ae['getSuggestion'](_0x4ce96b);this['_suggestionToController']['get'](_0x27aab8)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1bb4ea=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x282794;for(const _0x60135 in _0x1bb4ea){const _0x1c359c=_0x60135,_0x20ec05=_0x1bb4ea[_0x1c359c];if('trackChangesLicenseKeyValid'==_0x20ec05||'trackChangesLicenseKeyInvalid'==_0x20ec05||'trackChangesLicenseKeyExpired'==_0x20ec05||'trackChangesLicenseKeyDomainLimit'==_0x20ec05||'trackChangesLicenseKeyNotAllowed'==_0x20ec05||'trackChangesLicenseKeyEvaluationLimit'==_0x20ec05||'trackChangesLicenseKeyUsageLimit'==_0x20ec05){delete _0x1bb4ea[_0x1c359c],_0x282794=_0x20ec05,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x282794&&_0x1bb4ea['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x282794&&_0x1bb4ea['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x282794&&_0x1bb4ea['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x282794&&_0x1bb4ea['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x282794&&_0x1bb4ea['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyUsageLimit'==_0x282794&&_0x1bb4ea['_showLicenseError']('usageLimit');},0x3e8);}['getAnnotationForSuggestion'](_0x107c43){const _0x27e51b=this['_suggestionToController']['get'](_0x107c43);if(!_0x27e51b)return null;return this['editor']['plugins']['get']('Annotations')['getByInnerView'](_0x27e51b['view'])||null;}['getSuggestionForAnnotation'](_0x2e2476){const _0x254c38=this['_viewToController']['get'](_0x2e2476['innerView']);return _0x254c38?_0x254c38['model']:null;}['_refreshActiveMarkers'](){const _0x3ec492=this['editor']['plugins']['get']('Annotations'),_0x1e2bab=this['editor']['plugins']['get']('TrackChangesEditing'),_0x25cbf0=Array['from'](_0x3ec492['activeAnnotations'],_0x18b17e=>_0x18b17e['innerView'])['filter'](_0x2d28b4=>this['_viewToController']['has'](_0x2d28b4)),_0x387963=[];for(const _0x3b17e3 of _0x25cbf0){const _0x49855a=this['_viewToController']['get'](_0x3b17e3)['model']['getAllAdjacentSuggestions']();_0x387963['push'](..._0x49855a['reduce']((_0x21686e,_0x3c33a6)=>[..._0x21686e,..._0x3c33a6['getMarkerNames']()],[]));}_0x1e2bab['activeMarkers']=_0x387963;}['_addUIComponentsToFactory'](){const _0x3d0b87=this['editor'],_0x51aca7=_0x3d0b87['locale'],_0x36909b=getTranslation$1(_0x51aca7,'Track\x20changes'),_0x28c925=new ckeditor5['Collection']([{'type':'switchbutton','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x36909b,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x51aca7,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x51aca7,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x51aca7,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x51aca7,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x3d0b87['plugins']['has']('TrackChangesPreview')&&_0x28c925['addMany']([{'type':'separator'},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x51aca7,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x3c5dd7 of _0x28c925)if(isListDropdownButtonDefinition(_0x3c5dd7)){const _0x47417d=_0x3d0b87['commands']['get'](_0x3c5dd7['model']['commandName']);_0x3c5dd7['model']['bind']('isOn','isEnabled')['to'](_0x47417d,'value','isEnabled');}_0x3d0b87['ui']['componentFactory']['add']('trackChanges',_0x546408=>this['_createToolbarButton'](_0x546408,_0x28c925,_0x36909b)),_0x3d0b87['ui']['componentFactory']['add']('menuBar:trackChanges',_0x1879cf=>this['_createMenuBarMenu'](_0x1879cf,_0x28c925,_0x36909b));}['_createToolbarButton'](_0xe48579,_0x240222,_0x4fa4fe){const _0x246a1a=ckeditor5['createDropdown'](_0xe48579,ckeditor5['SplitButtonView']),_0x859e01=this['editor']['commands']['get']('trackChanges');_0x246a1a['buttonView']['set']({'tooltip':_0x4fa4fe,'label':_0x4fa4fe,'icon':ckeditor5['IconTrackChanges']}),_0x246a1a['buttonView']['bind']('isOn')['to'](_0x859e01,'value'),_0x246a1a['buttonView']['on']('execute',()=>{_0x859e01['execute'](),this['editor']['editing']['view']['focus']();}),ckeditor5['addListToDropdown'](_0x246a1a,_0x240222,{'role':'menu'});const _0xa96a10=[];for(const _0x2a48f9 of _0x240222)isListDropdownButtonDefinition(_0x2a48f9)&&_0xa96a10['push'](this['editor']['commands']['get'](_0x2a48f9['model']['commandName']));const _0x18cd21=_0x246a1a['buttonView'];return _0x18cd21['actionView']['unbind']('isEnabled'),_0x18cd21['arrowView']['unbind']('isEnabled'),_0x18cd21['actionView']['bind']('isEnabled')['to'](_0x859e01,'isEnabled'),_0x18cd21['arrowView']['bind']('isEnabled')['toMany'](_0xa96a10,'isEnabled',(..._0x455c70)=>_0x455c70['some'](_0x1e2818=>_0x1e2818)),_0x246a1a['on']('execute',_0x2f4646=>{this['editor']['execute'](_0x2f4646['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x246a1a;}['_createMenuBarMenu'](_0x428105,_0x796bdb,_0x5984c4){const _0x1621fc=new ckeditor5['MenuBarMenuView'](_0x428105),_0x8a9c7=this['editor']['commands']['get']('trackChanges');_0x1621fc['buttonView']['set']({'label':_0x5984c4,'icon':ckeditor5['IconTrackChanges']});const _0x54015e=new ckeditor5['MenuBarMenuListView'](_0x428105);for(const _0x4c3490 of _0x796bdb){if('separator'==_0x4c3490['type']){_0x54015e['items']['add'](new ckeditor5['ListSeparatorView'](_0x428105));continue;}const _0x43d2f4=new ckeditor5['MenuBarMenuListItemView'](_0x428105,_0x1621fc),_0x4bc7a5=new ckeditor5['MenuBarMenuListItemButtonView'](_0x428105),_0x1c06ae=_0x4c3490['model'];_0x4bc7a5['bind'](...Object['keys'](_0x1c06ae))['to'](_0x1c06ae),_0x4bc7a5['delegate']('execute')['to'](_0x1621fc),_0x4bc7a5['on']('execute',()=>{this['editor']['execute'](_0x1c06ae['commandName']),this['editor']['editing']['view']['focus']();}),_0x43d2f4['children']['add'](_0x4bc7a5),_0x54015e['items']['add'](_0x43d2f4);}return _0x1621fc['bind']('isEnabled')['to'](_0x8a9c7,'isEnabled'),_0x1621fc['panelView']['children']['add'](_0x54015e),_0x1621fc;}['_initializeController'](_0x531b5a){const _0x1e7f43=this['editor'],_0x2aa3ae=_0x1e7f43['config'],_0x411e37=_0x1e7f43['plugins']['get']('Annotations'),_0x5a539f=_0x1e7f43['plugins']['get']('CommentsRepository'),_0x430b8a=_0x1e7f43['plugins']['get']('EditorAnnotations'),_0x5a68d7=_0x1e7f43['plugins']['get'](_0xd5bff4)['me'],_0x5343fb=_0x2aa3ae['get']('trackChanges')['SuggestionThreadView'],_0x531f46=_0x2aa3ae['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x4ec02e,CommentThreadInputView:_0x16f2f9}=_0x1e7f43['plugins']['get']('CommentsUI');let _0x52be12,_0x49f27b,_0x28b6c3;this['_annotationViews']['has'](_0x531b5a['id'])?(_0x49f27b=this['_annotationViews']['get'](_0x531b5a['id']),_0x52be12=_0x49f27b['mainView']):(_0x52be12=new _0x5343fb(_0x1e7f43['locale'],_0x531b5a,_0x5a68d7,{'disableComments':this['_disableComments'],'editorConfig':{..._0x2aa3ae['get']('comments.editorConfig'),'licenseKey':_0x2aa3ae['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x2aa3ae['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x2aa3ae['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x2aa3ae['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':getDateTimeFormatter(_0x2aa3ae['get']('locale'),_0x1e7f43['locale']),'CommentView':_0x2aa3ae['get']('comments')['CommentView'],'CommentsListView':_0x4ec02e,'CommentThreadInputView':_0x16f2f9,'SuggestionView':_0x531f46}),_0x52be12['suggestionView']['acceptButton']['on']('execute',()=>{_0x1e7f43['editing']['view']['focus']();}),_0x52be12['suggestionView']['discardButton']['on']('execute',()=>{_0x1e7f43['editing']['view']['focus']();}),_0x49f27b=_0x411e37['createAnnotationView'](this['editor']['locale'],_0x52be12),_0x49f27b['bind']('isDirty')['to'](_0x52be12,'isDirty'),_0x49f27b['bind']('length')['to'](_0x52be12),_0x49f27b['bind']('type')['to'](_0x52be12,'type',_0x82a59b=>'suggestion-'+_0x82a59b),_0x52be12['on']('escape',()=>{_0x28b6c3['fire']('escape');}),this['_annotationViews']['set'](_0x531b5a['id'],_0x49f27b));const _0x5e76cc=_0x5a539f['createCommentThreadController'](_0x531b5a['commentThread'],_0x52be12),_0x4a6910=new SuggestionController(_0x1e7f43,_0x531b5a,_0x52be12,_0x5e76cc),_0x2a4092=_0x531b5a['getAllAdjacentSuggestions']()['filter'](_0x4b25e8=>_0x4b25e8['isInContent']);_0x52be12['descriptionParts']=_0x1e7f43['plugins']['get']('TrackChangesEditing')['descriptionFactory']['getDescriptions'](_0x2a4092),this['_suggestionToController']['set'](_0x531b5a,_0x4a6910),this['_viewToController']['set'](_0x52be12,_0x4a6910);const _0x4d3d33=()=>{const _0x1bf828=[],_0x36ca1f=_0x531b5a['getAllAdjacentSuggestions']()['filter'](_0x3bede6=>_0x3bede6['isInContent']);for(const _0x9bd416 of _0x36ca1f)_0x1bf828['push'](..._0x9bd416['getMarkers']());return getAllMarkersDomElementsSorted(_0x1e7f43['editing'],_0x1bf828);};_0x28b6c3=_0x411e37['createAnnotation']({'view':_0x49f27b,'target':_0x4d3d33,'type':()=>'suggestion-'+_0x4a6910['view']['type'],'isVisible':!!_0x4d3d33()}),_0x5a539f['_bindAnnotationToEditors'](_0x52be12,_0x28b6c3),_0x411e37['add'](_0x28b6c3),_0x430b8a['registerAnnotation'](_0x28b6c3);}['_destroyController'](_0x342e8b){const _0x33c616=this['editor']['plugins']['get']('CommentsRepository'),_0x5887a5=this['editor']['plugins']['get']('Annotations'),_0x362812=this['_suggestionToController']['get'](_0x342e8b),_0x50e7fc=_0x362812['view'],_0x10d5cd=_0x5887a5['getByInnerView'](_0x50e7fc);_0x33c616['_unbindEditors'](_0x50e7fc),_0x10d5cd&&_0x5887a5['remove'](_0x10d5cd),this['_suggestionToController']['delete'](_0x342e8b),this['_viewToController']['delete'](_0x50e7fc),_0x362812['destroy']();}['_updateController'](_0x29888c){if(!_0x29888c['isInContent']||!this['_suggestionToController']['has'](_0x29888c))return;const _0x565bda=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5134cc=this['_suggestionToController']['get'](_0x29888c),_0xfad05f=_0x29888c['getAllAdjacentSuggestions']();_0x5134cc['view']['descriptionParts']=_0x565bda['descriptionFactory']['getDescriptions'](_0xfad05f);}['destroy'](){for(const _0x4df7b2 of this['_suggestionToController']['keys']())this['_destroyController'](_0x4df7b2);for(const _0x1d986d of this['_annotationViews']['values']())_0x1d986d['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function isListDropdownButtonDefinition(_0x42f4af){return'model'in _0x42f4af;}class _0x44cfa6 extends ckeditor5['Plugin']{static get['requires'](){return[TrackChangesEditing,_0x160d72,'Comments'];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0x217681){this['editor']['plugins']['get'](TrackChangesEditing)['adapter']=_0x217681;}get['adapter'](){return this['editor']['plugins']['get'](TrackChangesEditing)['adapter'];}['addSuggestion'](_0x1c5934){return this['editor']['plugins']['get'](TrackChangesEditing)['addSuggestionData'](_0x1c5934);}['getSuggestions']({skipNotAttached:_0x5dd9cd=!0x1,toJSON:_0x1d390f=!0x1}={}){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestions']({'skipNotAttached':_0x5dd9cd,'toJSON':_0x1d390f});}['getSuggestion'](_0x2967f5){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestion'](_0x2967f5);}}const blackListedPlugins=['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 _0x4382e8=this['editor'];if(_0x4382e8['config']['define']('trackChangesData.editorCreator',_0x4715dc=>{const _0x420df2=_0x4382e8['model']['document']['getRootNames']()['reduce']((_0x248cc8,_0x560d17)=>(_0x248cc8[_0x560d17]='',_0x248cc8),{});return _0x4382e8['constructor']['create'](_0x420df2,_0x4715dc);}),'function'!=typeof _0x4382e8['config']['get']('trackChangesData')['editorCreator'])throw new ckeditor5['CKEditorError']('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x4614eb){return getTrackChangesData(this['editor'],!0x0,_0x4614eb);}['getDataWithDiscardedSuggestions'](_0x5a31e6){return getTrackChangesData(this['editor'],!0x1,_0x5a31e6);}}class TrackChangesDataGetter extends ckeditor5['Plugin']{['result'];static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5af84a){function _0x3d1dce(_0x4b9cb5){return _0x4b9cb5['map'](_0x4f40d5=>String['fromCharCode'](_0x4f40d5))['join']('');}super(_0x5af84a),this['result']='end',_0x5af84a[_0x3d1dce([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d1dce([0x76,0x69,0x65,0x77])][_0x3d1dce([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d1dce([0x61,0x75,0x74,0x6f]),_0x5af84a[_0x3d1dce([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x3d1dce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d1dce([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x3d1dce([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x3d1dce([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(_0x35ea45){return void 0x0!==_0x35ea45['getRootsAttributes'];}async function getTrackChangesData(_0x287e1f,_0x3fbc38,_0x25d344){const _0x2f3cb0=sanitizeEditorConfig(_0x287e1f,blackListedPlugins);_0x2f3cb0['plugins']['push'](TrackChangesEditing,TrackChangesDataGetter),_0x2f3cb0['rootsAttributes']=isMultiRootEditor$1(_0x287e1f)?_0x287e1f['getRootsAttributes']():void 0x0;const _0x3152cc=document['createDocumentFragment'](),_0x321e12=_0x287e1f['config']['get']('trackChangesData')['editorCreator'],_0x1229ee=await _0x321e12(_0x2f3cb0,()=>createAttachedElement(_0x3152cc));copyEditorData(_0x287e1f,_0x1229ee),_0x1229ee['execute'](_0x3fbc38?'acceptAllSuggestions':'discardAllSuggestions');const _0x54a692=isMultiRootEditor$1(_0x1229ee)?_0x1229ee['getFullData'](_0x25d344):_0x1229ee['data']['get'](_0x25d344);return await _0x1229ee['destroy'](),_0x54a692;}function copyEditorData(_0x131e7b,_0x1ab69e){const _0x4764de=_0x131e7b['model']['document']['getRootNames']()['reduce']((_0x372bff,_0x3f4741)=>(_0x372bff[_0x3f4741]=_0x131e7b['data']['get']({'rootName':_0x3f4741}),_0x372bff),{}),_0x28939c=_0x131e7b['plugins']['get']('Users')['users']['map'](_0x48be08=>({'id':_0x48be08['id'],'name':_0x48be08['name']})),_0x4c71da=_0x131e7b['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x257c90=_0x131e7b['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x12e5da=_0x1ab69e['plugins']['get']('Users'),_0x565110=_0x1ab69e['plugins']['get']('TrackChangesEditing'),_0xbf6b80=_0x1ab69e['plugins']['get']('CommentsRepository');for(const _0x161067 of _0xbf6b80['getCommentThreads']())_0x161067['remove']();for(const _0x3c8d27 of _0x28939c)_0x12e5da['getUser'](_0x3c8d27['id'])||_0x12e5da['addUser'](_0x3c8d27);_0x12e5da['me']||_0x12e5da['useAnonymousUser']();for(const _0x51a3f0 of _0x257c90)_0xbf6b80['addCommentThread'](_0x51a3f0);for(const _0x551759 of _0x4c71da)_0x565110['addSuggestionData'](_0x551759);_0x1ab69e['data']['set'](_0x4764de);}function createAttachedElement(_0x22371d){const _0x61945f=document['createElement']('div');return _0x22371d['appendChild'](_0x61945f),_0x61945f;}class _0x52c14b extends ckeditor5['View']{['options'];constructor(_0x6a448f,_0x37f5d8){super(_0x6a448f),this['options']=_0x37f5d8,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'](_0x16c334,_0x37284f){if(!this['element'])return;const _0x3b9fbe=[];for(const [_0x388c0b,_0x3c8ec4]of _0x16c334){const _0x385dae=document['createElement']('div');_0x385dae['setAttribute']('data-ck-root-name',_0x388c0b),_0x385dae['className']=_0x3c8ec4['classes']+'\x20ck-track-changes-preview__root-container',_0x385dae['innerHTML']=_0x3c8ec4['content'],_0x3b9fbe['push'](_0x385dae);}_0x37284f(this['element'],_0x3b9fbe),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}}class PreviewFinalContentCommand extends ckeditor5['Command']{constructor(_0x1816ae){super(_0x1816ae),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x31168b=this['editor'],_0x37f4d6=_0x31168b['locale'],_0x454bb9=_0x31168b['plugins']['get']('Dialog');let _0x32b61b;const _0x22a613=getEditables(_0x31168b),_0x26ab88=calculateDialogRects(_0x22a613);_0x454bb9['show']({'id':'finalContentPreview','title':getTranslation$1(_0x37f4d6,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new _0x52c14b(_0x37f4d6,{'dialogRects':_0x26ab88}),'onHide':()=>{_0x32b61b['detachFromDom']();},'onShow':()=>{_0x31168b['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0x19bdb1=>{const _0x43700f=this['_standarizeRootsData'](_0x19bdb1,_0x31168b,_0x22a613);_0x454bb9['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0x43700f,_0x31168b['config']['get']('trackChanges.preview.renderFunction'));}),_0x32b61b=new ckeditor5['BodyCollection'](_0x37f4d6,[_0x454bb9['view']]),_0x32b61b['attachToDom'](),_0x32b61b['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x31168b['once']('destroy',()=>{_0x32b61b['detachFromDom']();});const _0x433212=_0x454bb9['view']['headerView']['class'];_0x454bb9['view']['headerView']['class']=_0x433212?_0x433212+'\x20ck-reset_all':'ck-reset_all',_0x454bb9['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x454bb9['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0xc7b2e8=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x1ad6f1=_0xc7b2e8['previewMode'],_0x404ab0={};if('$labels'===_0x1ad6f1){for(const _0x48a0b2 of _0xc7b2e8['getMergeFieldsIds']())_0x404ab0[_0x48a0b2]=_0xc7b2e8['getLabel'](_0x48a0b2)||_0x48a0b2;}else{const _0x15dc3b='$defaultValues'===_0x1ad6f1?_0xc7b2e8['getDefaultValues']():_0xc7b2e8['getDataSetValues'](_0x1ad6f1,!0x0);for(const _0x1d3c39 of Object['entries'](_0x15dc3b)){const [_0x20554d,_0x411ce6]=_0x1d3c39;_0x404ab0[_0x20554d]=null!==_0x411ce6?_0x411ce6:_0xc7b2e8['getLabel'](_0x20554d)||_0x20554d;}}return{'mergeFieldsData':_0x404ab0};}['_standarizeRootsData'](_0x38d0bc,_0x806104,_0x4683f5){let _0x54ac27;if('string'==typeof _0x38d0bc){const _0xce0877=_0x806104['model']['document']['getRootNames']()[0x0];_0x54ac27={[_0xce0877]:_0x38d0bc};}else _0x54ac27=_0x38d0bc;const _0x5e1f1f=this['_fixMediaEmbeds'](_0x54ac27,_0x806104);return addEditableClasses(this['_sortRoots'](_0x806104)['reduce']((_0x1be0fc,_0x325059)=>(_0x1be0fc['push']([_0x325059,{'content':_0x5e1f1f[_0x325059],'classes':''}]),_0x1be0fc),[]),_0x4683f5);}['_fixMediaEmbeds'](_0x1491eb,_0x39bc33){if(!_0x39bc33['plugins']['has']('MediaEmbedEditing'))return _0x1491eb;const _0x480eab=_0x39bc33['plugins']['get']('MediaEmbedEditing');for(const [_0x10e603,_0x236bed]of Object['entries'](_0x1491eb)){const _0x5203e2=document['createElement']('div');_0x5203e2['innerHTML']=_0x236bed,(_0x5203e2['querySelectorAll']('figure.media')['forEach'](_0x991e40=>{const _0x1daab2=_0x991e40['querySelector']('oembed');if(_0x1daab2){const _0x544aa8=_0x1daab2['getAttribute']('url');if(_0x544aa8){const _0x27d8f5=_0x480eab['registry']['getMediaViewElement'](new ckeditor5['ViewDowncastWriter'](_0x39bc33['editing']['view']['document']),_0x544aa8,{'elementName':'','renderForEditingView':!0x0}),_0x2faf51=document['createElement']('div');_0x2faf51['classList']['add']('ck-media__wrapper'),_0x27d8f5['render'](_0x2faf51,_0x39bc33['editing']['view']['domConverter']),_0x1daab2['replaceWith'](_0x2faf51);}}}),_0x1491eb[_0x10e603]=_0x5203e2['innerHTML']);}return _0x1491eb;}['_sortRoots'](_0xee35a){if(!isMultiRootEditor(_0xee35a))return _0xee35a['model']['document']['getRootNames']();const _0x332121=[],_0x1770f0=new Map();for(const _0x2239e2 of _0xee35a['model']['document']['getRootNames']()){const _0x28a58f=_0xee35a['editing']['view']['getDomRoot'](_0x2239e2)['getClientRects']()['item'](0x0);_0x332121['push'](_0x2239e2),_0x1770f0['set'](_0x2239e2,_0x28a58f);}return _0x332121['sort']((_0x4a2f0e,_0x29d9df)=>{const _0x239b29=_0x1770f0['get'](_0x4a2f0e),_0x434b34=_0x1770f0['get'](_0x29d9df);return _0x239b29['y']-_0x434b34['y']||_0x239b29['x']-_0x434b34['x'];}),_0x332121;}}function getEditables(_0x43de71){const _0x2a44ec={};if('editables'in _0x43de71['ui']['view']){for(const [_0x4aae9e,_0x280e90]of Object['entries'](_0x43de71['ui']['view']['editables']))_0x2a44ec[_0x4aae9e]=_0x280e90['element'];}else _0x2a44ec[_0x43de71['model']['document']['getRootNames']()[0x0]]=_0x43de71['ui']['view']['editable']['element'];return _0x2a44ec;}function calculateDialogRects(_0x368f69){let _0x160cb3=0x0;for(const _0x1fed1d of Object['values'](_0x368f69))_0x160cb3=Math['max'](_0x160cb3,_0x1fed1d['getBoundingClientRect']()['width']);let _0x17a474=0x0;for(const _0xbb1a94 of Object['values'](_0x368f69))_0x17a474+=_0xbb1a94['getBoundingClientRect']()['height'];const _0x367d9a=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']);return{'width':_0x160cb3,'height':Math['min'](_0x17a474,_0x367d9a)};}function addEditableClasses(_0x2372a4,_0x1b8dbb){for(const [_0x46fa4c,_0xd88b30]of _0x2372a4)_0xd88b30['classes']=_0x1b8dbb[_0x46fa4c]['classList']['value']['replace']('ck-focused','');return _0x2372a4;}function isMultiRootEditor(_0x408c65){return void 0x0!==_0x408c65['getRootsAttributes'];}class _0xb30e22 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(_0x3a5fdb){super(_0x3a5fdb),_0x3a5fdb['commands']['add']('previewFinalContent',new PreviewFinalContentCommand(this['editor'])),_0x3a5fdb['config']['define']('trackChanges.preview.renderFunction',(_0x53da33,_0x33e188)=>{for(const _0x15b539 of _0x33e188)_0x53da33['appendChild'](_0x15b539);});}}var _0x378662=function(_0x5c5521){return _0x5c5521['Local']='local',_0x5c5521['URL']='url',_0x5c5521['Dropbox']='dropbox',_0x5c5521['GDrive']='gdrive',_0x5c5521['Facebook']='facebook',_0x5c5521['GPhotos']='gphotos',_0x5c5521['OneDrive']='onedrive',_0x5c5521;}({});function getTranslation(_0x331ec0,_0x3797a0,_0x57431f){const t=_0x331ec0['t'],_0x5cfebe=_0x331ec0['t'];switch(_0x3797a0){case _0x378662['Local']:return{'text':_0x5cfebe('Insert'===_0x57431f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5cfebe('From\x20computer')};case _0x378662['URL']:return{'text':'Insert'===_0x57431f?_0x5cfebe('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5cfebe('Via\x20URL')};case _0x378662['Dropbox']:return{'text':t('Insert'===_0x57431f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x378662['Facebook']:return{'text':t('Insert'===_0x57431f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x378662['GDrive']:return{'text':t('Insert'===_0x57431f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x378662['GPhotos']:return{'text':t('Insert'===_0x57431f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x378662['OneDrive']:return{'text':t('Insert'===_0x57431f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3797a0;}}class _0x53ebac 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 _0x5eb2a1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x381fc9;for(const _0x3e9c56 in _0x5eb2a1){const _0x1935c=_0x3e9c56,_0x3adac8=_0x5eb2a1[_0x1935c];if('uploadcareLicenseKeyValid'==_0x3adac8||'uploadcareLicenseKeyInvalid'==_0x3adac8||'uploadcareLicenseKeyExpired'==_0x3adac8||'uploadcareLicenseKeyDomainLimit'==_0x3adac8||'uploadcareLicenseKeyNotAllowed'==_0x3adac8||'uploadcareLicenseKeyEvaluationLimit'==_0x3adac8||'uploadcareLicenseKeyUsageLimit'==_0x3adac8){delete _0x5eb2a1[_0x1935c],_0x381fc9=_0x3adac8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x381fc9&&_0x5eb2a1['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x381fc9&&_0x5eb2a1['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x381fc9&&_0x5eb2a1['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x381fc9&&_0x5eb2a1['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x381fc9&&_0x5eb2a1['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x381fc9&&_0x5eb2a1['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x42da47}=this,_0x558372=_0x42da47['commands']['get']('uploadcare');if(!_0x558372)return;const _0x2ec256=this['_normalizeConfigSourceList'](_0x42da47['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x327755,_0x3194cc)=>{const _0x28663c=this['_getIntegrationKey'](_0x3194cc['type']);return _0x327755[_0x28663c]||(_0x327755[_0x28663c]=[]),_0x327755[_0x28663c]['push'](_0x3194cc),_0x327755;},{});_0x42da47['plugins']['has']('ImageInsertUI')&&_0x42da47['commands']['get']('uploadcare')&&Object['entries'](_0x2ec256)['forEach'](([_0x36235d,_0x2cf95f])=>{_0x42da47['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x36235d,'observable':()=>_0x558372,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2cf95f),'formViewCreator':()=>this['_createDropdownButtons'](_0x2cf95f),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2cf95f),'override':'assetManager'!==_0x36235d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x319c08){const {locale:_0x15c8c2}=this['editor'];return _0x319c08['map'](_0x48559d=>{const _0x14f664=getTranslation(_0x15c8c2,_0x48559d,'Insert');switch(_0x48559d){case _0x378662['Local']:return{'icon':ckeditor5['IconUploadcareImageUpload'],'type':_0x378662['Local'],..._0x14f664};case _0x378662['URL']:return{'icon':ckeditor5['IconUploadcareLink'],'type':_0x378662['URL'],..._0x14f664};case _0x378662['Dropbox']:return{'icon':ckeditor5['IconDropbox'],'type':_0x378662['Dropbox'],..._0x14f664};case _0x378662['Facebook']:return{'icon':ckeditor5['IconFacebook'],'type':_0x378662['Facebook'],..._0x14f664};case _0x378662['GDrive']:return{'icon':ckeditor5['IconGoogleDrive'],'type':_0x378662['GDrive'],..._0x14f664};case _0x378662['GPhotos']:return{'icon':ckeditor5['IconGooglePhotos'],'type':_0x378662['GPhotos'],..._0x14f664};case _0x378662['OneDrive']:return{'icon':ckeditor5['IconOneDrive'],'type':_0x378662['OneDrive'],..._0x14f664};}});}['_getIntegrationKey'](_0x5b324b){switch(_0x5b324b){case _0x378662['Local']:return'upload';case _0x378662['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x13ffd6,_0x2d044c){const _0x4a1b32=this['editor'],_0x535694=new _0x13ffd6(_0x4a1b32['locale']),_0x50af44=_0x4a1b32['commands']['get']('uploadcare');return _0x535694['bind']('isEnabled')['to'](_0x50af44),_0x535694['on']('execute',()=>{_0x50af44['execute'](_0x2d044c);}),_0x535694;}['_createToolbarButton'](_0x4e11ef){const {locale:_0x36e125}=this['editor'],_0x144e74=this['editor']['plugins']['get']('ImageInsertUI'),_0x362f91=_0x4e11ef[0x0],_0x4b7072=this['_createButton'](ckeditor5['ButtonView'],_0x362f91['type']);return _0x4b7072['icon']=_0x362f91['icon'],_0x4b7072['bind']('label')['to'](_0x144e74,'isImageSelected',_0x5c01c6=>getTranslation(_0x36e125,_0x362f91['type'],_0x5c01c6?'Replace':'Insert')['text']),_0x4b7072['tooltip']=!0x0,_0x4b7072;}['_createDropdownButtons'](_0x4caa1d){const {locale:_0x546dc8}=this['editor'],_0x59a281=this['editor']['plugins']['get']('ImageInsertUI');return _0x4caa1d['map'](_0x31e1f6=>{const _0x515b4a=this['_createButton'](ckeditor5['ButtonView'],_0x31e1f6['type']);return _0x515b4a['withText']=!0x0,_0x515b4a['icon']=_0x31e1f6['icon'],_0x515b4a['bind']('label')['to'](_0x59a281,'isImageSelected',_0x3c29b3=>getTranslation(_0x546dc8,_0x31e1f6['type'],_0x3c29b3?'Replace':'Insert')['text']),_0x515b4a;});}['_createMenuBarButtons'](_0x20f35a){return _0x20f35a['map'](_0x1a3003=>{const _0x335f23=this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'],_0x1a3003['type']);return _0x335f23['icon']=_0x1a3003['icon'],_0x335f23['label']=_0x1a3003['shortText'],_0x335f23;});}}class _0x789f11 extends ckeditor5['View']{['focusTracker'];['focusCycler'];constructor(_0x2fdab4){super(_0x2fdab4),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 _0x4f17c9 extends _0x789f11{constructor(_0x5617c9,_0x27ff32){super(_0x5617c9),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-'+_0x27ff32}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function createEditabilityChecker(_0x125bdc){const _0x17cc4b=createUrlChecker(_0x125bdc);return _0x27cb89=>!(!_0x27cb89||!_0x27cb89['is']('element','imageBlock')&&!_0x27cb89['is']('element','imageInline'))&&(!!_0x27cb89['hasAttribute']('uploadcareImageId')||!!_0x27cb89['hasAttribute']('src')&&_0x17cc4b(_0x27cb89['getAttribute']('src')));}function getImageUrls(_0xd36557,_0x1a3d1d){const _0x5418ac=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x32ec09=>_0x32ec09<=_0x1a3d1d)['map'](_0x353f3b=>_0xd36557['replace'](/\/$/,'')+'/-/resize/'+_0x353f3b+'x/\x20'+_0x353f3b+'w');return{'imageFallbackUrl':_0xd36557,'imageSources':[{'srcset':_0x5418ac['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1a3d1d+'px)\x20100vw,\x20'+_0x1a3d1d+'px','type':'image/webp'}]};}function getImageDimension(_0x6f2126,_0x1328d1,_0x226fc4){const _0x5a15cf=_0x6f2126['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5a15cf?parseInt(_0x5a15cf[0x1],0xa):_0x1328d1,'height':_0x5a15cf?parseInt(_0x5a15cf[0x2],0xa):_0x226fc4};}function showImageProcessingIndicator(_0x4e7863,_0x4804d7){const _0x20eef7=new(ckeditor5['DomEmitterMixin']())(),_0x23329f=_0x4e7863['plugins']['get']('ImageUtils'),_0x5bac97=_0x4e7863['editing']['mapper']['toViewElement'](_0x4804d7),_0x4a8c25=_0x23329f['findViewImgElement'](_0x5bac97),_0x33ee2c=_0x4e7863['editing']['view']['domConverter']['viewToDom'](_0x4a8c25),_0x427342=_0x4804d7['getAttribute']('width'),_0x764fbc=_0x4804d7['getAttribute']('height'),_0x4dffaa='image-processing';_0x4e7863['editing']['view']['change'](_0x41b618=>{_0x41b618['addClass'](_0x4dffaa,_0x5bac97),_0x41b618['setStyle']('aspect-ratio',_0x427342+'/'+_0x764fbc,_0x4a8c25);}),_0x20eef7['listenTo'](_0x33ee2c,'load',()=>{_0x20eef7['stopListening'](_0x33ee2c,'load'),_0x4e7863['editing']['view']['change'](_0x3ec2da=>{_0x3ec2da['removeClass'](_0x4dffaa,_0x5bac97),_0x3ec2da['removeStyle']('aspect-ratio',_0x4a8c25);});});}function createUrlChecker(_0x17957a){if(Array['isArray'](_0x17957a)){const _0x243dee=_0x17957a['map'](createUrlChecker);return _0x412428=>_0x243dee['some'](_0x9e57be=>_0x9e57be(_0x412428));}if('origin'==_0x17957a){const _0x67894c=ckeditor5['global']['window']['location']['origin'];return _0x236b08=>new URL(_0x236b08,ckeditor5['global']['document']['baseURI'])['origin']==_0x67894c;}return'function'==typeof _0x17957a?_0x17957a:_0x17957a instanceof RegExp?_0x3cce72=>!(!_0x3cce72['match'](_0x17957a)&&!_0x3cce72['replace'](/^https?:\/\//,'')['match'](_0x17957a)):()=>!0x1;}function isAncestor(_0x29054b,_0x548e77){return ckeditor5['getAncestors'](_0x29054b['target'])['includes'](_0x548e77);}class UploadcareController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2071aa,_0x1b486b,_0x34ac59){super(),this['_editor']=_0x2071aa,this['_editing']=_0x1b486b,this['_dialog']=_0x2071aa['plugins']['get'](ckeditor5['Dialog']),this['_api']=_0x1b486b['ctxElement']['getAPI'](),this['_type']=_0x34ac59,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:_0x30876e,model:_0x2890f2}=this['_editor'],_0x201918=_0x2890f2['document']['selection']['getSelectedElement'](),_0x57306a=_0x201918&&(_0x201918['is']('element','imageBlock')||_0x201918['is']('element','imageInline'));this['_formView']=new _0x4f17c9(_0x30876e,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':ckeditor5['IconUploadcareImageUpload'],'title':getTranslation(_0x30876e,this['_type'],_0x57306a?'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':_0x1ccba3=>!isAncestor(_0x1ccba3,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3b84d6}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1fc9d5=>{const _0x427849=_0x3b84d6['length'];for(const _0x3ee145 of _0x3b84d6){const _0x131e1f=_0x3ee145===_0x3b84d6[_0x427849-0x1],{cdnUrl:_0x3135fc,fileInfo:_0x3cbc32}=_0x3ee145;if(!_0x3135fc||!_0x3cbc32)continue;const {width:_0x2dbe9d,height:_0x53cbae}=_0x3cbc32['imageInfo'],_0x4a852e=getImageDimension(_0x3135fc,_0x2dbe9d,_0x53cbae),_0x4600aa=getImageUrls(_0x3135fc,_0x4a852e['width']),_0x337b7b={'id':_0x3cbc32['uuid'],'type':'image','attributes':{'imageDimension':_0x4a852e,..._0x4600aa}};this['_insertAsset'](_0x337b7b,_0x131e1f,_0x1fc9d5);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x2f636e=>{'idle'===_0x2f636e['detail']['status']&&!_0x2f636e['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===_0x378662['Local']?this['_api']['setCurrentActivity'](_0x378662['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x7b039b,_0x3a6984,_0x36fd51){const _0x53c937=this['_editor']['model']['document']['selection'],_0x28b281=_0x53c937['getSelectedElement'](),_0xf29d8c=!(!_0x28b281||!_0x28b281['is']('element','imageInline'));_0x36fd51['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x7b039b,_0xf29d8c),_0x3a6984||_0x36fd51['setSelection'](_0x53c937['getLastPosition']());}['_insertImage'](_0x3d2fec,_0x46f2c7){const _0x17b596=this['_editor'],{imageDimension:_0x4a5d14,imageFallbackUrl:_0xe6b4cb,imageSources:_0x97ffa9}=_0x3d2fec['attributes'];_0x17b596['execute']('insertImage',{'imageType':_0x46f2c7?'imageInline':null,'source':{'uploadcareImageId':_0x3d2fec['id'],'src':_0xe6b4cb,'sources':_0x97ffa9,..._0x4a5d14}});}}class _0x2d9e09 extends ckeditor5['Command']{['_editing'];['_controller']=null;static get['requires'](){return[ckeditor5['Dialog'],UploadcareEditing];}constructor(_0x234b3b){super(_0x234b3b),this['_editing']=_0x234b3b['plugins']['get'](UploadcareEditing);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x296460){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new UploadcareController(this['editor'],this['_editing'],_0x296460);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}function isObject$1(_0x4353c7){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x4353c7);}const _0x106c65=/\W|_/g;function camelizeString$1(_0x14bdb2){return _0x14bdb2['split'](_0x106c65)['map']((_0x7a9073,_0x27e665)=>_0x7a9073['charAt'](0x0)[_0x27e665>0x0?'toUpperCase':'toLowerCase']()+_0x7a9073['slice'](0x1))['join']('');}function camelizeArrayItems$1(_0x4976b5,{ignoreKeys:_0x1b4382}={'ignoreKeys':[]}){return Array['isArray'](_0x4976b5)?_0x4976b5['map'](_0x1f5f78=>_0x468343(_0x1f5f78,{'ignoreKeys':_0x1b4382})):_0x4976b5;}function _0x468343(_0x5108b3,{ignoreKeys:_0x58a088}={'ignoreKeys':[]}){if(Array['isArray'](_0x5108b3))return camelizeArrayItems$1(_0x5108b3,{'ignoreKeys':_0x58a088});if(!isObject$1(_0x5108b3))return _0x5108b3;const _0x2e66b2={};for(const _0x5c2367 of Object['keys'](_0x5108b3)){let _0x28803e=_0x5108b3[_0x5c2367];_0x58a088['includes'](_0x5c2367)?_0x2e66b2[_0x5c2367]=_0x28803e:(isObject$1(_0x28803e)?_0x28803e=_0x468343(_0x28803e,{'ignoreKeys':_0x58a088}):Array['isArray'](_0x28803e)&&(_0x28803e=camelizeArrayItems$1(_0x28803e,{'ignoreKeys':_0x58a088})),_0x2e66b2[camelizeString$1(_0x5c2367)]=_0x28803e);}return _0x2e66b2;}const _0x4d2e12=_0xfed20d=>new Promise(_0x4ae220=>setTimeout(_0x4ae220,_0xfed20d));function getUserAgent$1$1({libraryName:_0x1033c2,libraryVersion:_0x10df95,userAgent:_0x5b4854,publicKey:_0x52f545='',integration:_0x57831b=''}){const _0x4eb2ea='JavaScript';if('string'==typeof _0x5b4854)return _0x5b4854;if('function'==typeof _0x5b4854)return _0x5b4854({'publicKey':_0x52f545,'libraryName':_0x1033c2,'libraryVersion':_0x10df95,'languageName':_0x4eb2ea,'integration':_0x57831b});return[_0x1033c2,_0x10df95,_0x52f545]['filter'](Boolean)['join']('/')+'\x20('+[_0x4eb2ea,_0x57831b]['filter'](Boolean)['join'](';\x20')+')';}const defaultOptions$1={'factor':0x2,'time':0x64};function retrier$1(_0x2751b8,_0xb22b30=defaultOptions$1){let _0x3b2f95=0x0;return function _0x3a8fb1(_0x20c7f4){const _0x2ccf06=Math['round'](_0xb22b30['time']*_0xb22b30['factor']**_0x3b2f95);return _0x20c7f4({'attempt':_0x3b2f95,'retry':_0x37681d=>_0x4d2e12(_0x37681d??_0x2ccf06)['then'](()=>(_0x3b2f95+=0x1,_0x3a8fb1(_0x20c7f4)))});}(_0x2751b8);}let _0x488cf9=class extends Error{},NetworkError$1=class _0x11166e extends _0x488cf9{['originalProgressEvent'];constructor(_0x3de5aa){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,_0x11166e['prototype']),this['originalProgressEvent']=_0x3de5aa;}};const _0x34dc4c=(_0x497be9,_0x4edab9)=>{_0x497be9&&(_0x497be9['aborted']?Promise['resolve']()['then'](_0x4edab9):_0x497be9['addEventListener']('abort',()=>_0x4edab9(),{'once':!0x0}));};let _0x4db361=class _0x547388 extends _0x488cf9{['isCancel']=!0x0;constructor(_0x424966='Request\x20canceled'){super(_0x424966),this['name']='CancelError',Object['setPrototypeOf'](this,_0x547388['prototype']);}};const _0x44b44b=0x1f4,_0x4475ff=({check:_0x3f0d23,interval:_0x5f2682=_0x44b44b,timeout:_0x5b2bd6,signal:_0x3aa239})=>new Promise((_0x3a1962,_0x14f959)=>{let _0x123cd6,_0x4563fa;_0x34dc4c(_0x3aa239,()=>{_0x123cd6&&clearTimeout(_0x123cd6),_0x14f959(new _0x4db361('Poll\x20cancelled'));}),_0x5b2bd6&&(_0x4563fa=setTimeout(()=>{_0x123cd6&&clearTimeout(_0x123cd6),_0x14f959(new _0x4db361('Timed\x20out'));},_0x5b2bd6));const _0x551a27=()=>{try{Promise['resolve'](_0x3f0d23(_0x3aa239))['then'](_0x1b5edc=>{_0x1b5edc?(_0x4563fa&&clearTimeout(_0x4563fa),_0x3a1962(_0x1b5edc)):_0x123cd6=setTimeout(_0x551a27,_0x5f2682);})['catch'](_0x1bb16b=>{_0x4563fa&&clearTimeout(_0x4563fa),_0x14f959(_0x1bb16b);});}catch(_0x4428bf){_0x4563fa&&clearTimeout(_0x4563fa),_0x14f959(_0x4428bf);}};_0x123cd6=setTimeout(_0x551a27,0x0);}),defaultSettings$1={'baseCDN':'https://ucarecdn.com','baseURL':'https://upload.uploadcare.com','retryThrottledRequestMaxTimes':0x1,'retryNetworkErrorMaxTimes':0x3,'multipartMinFileSize':0x1900000,'multipartChunkSize':0x500000,'maxConcurrentRequests':0x4,'pusherKey':'79ae88bd931ea68464d9'},defaultContentType$1='application/octet-stream',defaultFilename$1='original',request$1=({method:_0x1cd3ec,url:_0x33be6e,data:_0x1607d4,headers:_0x6a4baf={},signal:_0x2a0719,onProgress:_0x3a996b})=>new Promise((_0x3f1abe,_0x2ed571)=>{const _0x55159e=new XMLHttpRequest(),_0x3fee75=_0x1cd3ec?.['toUpperCase']()||'GET';let _0x147f80=!0x1;_0x55159e['open'](_0x3fee75,_0x33be6e,!0x0),_0x6a4baf&&Object['entries'](_0x6a4baf)['forEach'](_0x3cc2=>{const [_0x4a2a8f,_0x383a1c]=_0x3cc2;void 0x0!==_0x383a1c&&!Array['isArray'](_0x383a1c)&&_0x55159e['setRequestHeader'](_0x4a2a8f,_0x383a1c);}),_0x55159e['responseType']='text',_0x34dc4c(_0x2a0719,()=>{_0x147f80=!0x0,_0x55159e['abort'](),_0x2ed571(new _0x4db361());}),_0x55159e['onload']=()=>{if(0xc8!=_0x55159e['status'])_0x2ed571(new Error('Error\x20'+_0x55159e['status']+':\x20'+_0x55159e['statusText']));else{const _0x58abf5={'method':_0x3fee75,'url':_0x33be6e,'data':_0x1607d4,'headers':_0x6a4baf||void 0x0,'signal':_0x2a0719,'onProgress':_0x3a996b},_0x862a2e=_0x55159e['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x1bc594={};_0x862a2e['forEach'](function(_0x3ef40c){const _0x48872a=_0x3ef40c['split'](':\x20'),_0x1b0eca=_0x48872a['shift'](),_0x2a53b9=_0x48872a['join'](':\x20');_0x1b0eca&&void 0x0!==_0x1b0eca&&(_0x1bc594[_0x1b0eca]=_0x2a53b9);});const _0x32996a=_0x55159e['response'],_0x8d8f9a=_0x55159e['status'];_0x3f1abe({'request':_0x58abf5,'data':_0x32996a,'headers':_0x1bc594,'status':_0x8d8f9a});}},_0x55159e['onerror']=_0x48b173=>{_0x147f80||_0x2ed571(new NetworkError$1(_0x48b173));},_0x3a996b&&'function'==typeof _0x3a996b&&(_0x55159e['upload']['onprogress']=_0x5440ff=>{_0x5440ff['lengthComputable']?_0x3a996b({'isComputable':!0x0,'value':_0x5440ff['loaded']/_0x5440ff['total']}):_0x3a996b({'isComputable':!0x1});}),_0x1607d4?_0x55159e['send'](_0x1607d4):_0x55159e['send']();});function identity$1(_0x58a924,..._0x438dda){return _0x58a924;}const getFileOptions$1=({name:_0x1b324a})=>_0x1b324a?[_0x1b324a]:[],transformFile$1=identity$1;var getFormData$1=()=>new FormData();const _0x6a3f6c=_0x327fea=>!0x1,_0x4090fc=_0x3284f8=>'undefined'!=typeof Blob&&_0x3284f8 instanceof Blob,_0x35e269=_0x16e0bb=>'undefined'!=typeof File&&_0x16e0bb instanceof File,isReactNativeAsset$1=_0x343e51=>!!_0x343e51&&'object'==typeof _0x343e51&&!Array['isArray'](_0x343e51)&&'uri'in _0x343e51&&'string'==typeof _0x343e51['uri'],isFileData$1=_0x294dde=>_0x4090fc(_0x294dde)||_0x35e269(_0x294dde)||_0x6a3f6c()||isReactNativeAsset$1(_0x294dde),_0x3576f8=_0x3493a5=>'string'==typeof _0x3493a5||'number'==typeof _0x3493a5||void 0x0===_0x3493a5,isObjectValue$1=_0x4eda64=>!!_0x4eda64&&'object'==typeof _0x4eda64&&!Array['isArray'](_0x4eda64),_0x236c31=_0x1a475f=>!!_0x1a475f&&'object'==typeof _0x1a475f&&'data'in _0x1a475f&&isFileData$1(_0x1a475f['data']);function collectParams$1(_0x59360e,_0x312caf,_0x48304a){if(Array['isArray'](_0x48304a)){for(const _0x1df23f of _0x48304a)collectParams$1(_0x59360e,_0x312caf+'[]',_0x1df23f);}else{if(_0x236c31(_0x48304a)){const {name:_0x5dcbfb,contentType:_0x25ad12}=_0x48304a,_0xfa64e8=transformFile$1(_0x48304a['data'],_0x5dcbfb,_0x25ad12??defaultContentType$1),_0x161f58=getFileOptions$1({'name':_0x5dcbfb});_0x59360e['push']([_0x312caf,_0xfa64e8,..._0x161f58]);}else{if(isObjectValue$1(_0x48304a)){for(const [_0x1f0be1,_0x50059c]of Object['entries'](_0x48304a))void 0x0!==_0x50059c&&_0x59360e['push']([_0x312caf+'['+_0x1f0be1+']',String(_0x50059c)]);}else _0x3576f8(_0x48304a)&&_0x48304a&&_0x59360e['push']([_0x312caf,_0x48304a['toString']()]);}}}function getFormDataParams$1(_0x5ee782){const _0x461214=[];for(const [_0x2d382,_0x44d650]of Object['entries'](_0x5ee782))collectParams$1(_0x461214,_0x2d382,_0x44d650);return _0x461214;}function buildFormData$1(_0x2cd4bc){const _0x4e6b7d=getFormData$1(),_0x557649=getFormDataParams$1(_0x2cd4bc);for(const _0x1248f8 of _0x557649){const [_0x3aaa44,_0x44d698,..._0xdc54b3]=_0x1248f8;_0x4e6b7d['append'](_0x3aaa44,_0x44d698,..._0xdc54b3);}return _0x4e6b7d;}let _0x43b164=class _0x2012f8 extends _0x488cf9{['code'];['request'];['response'];['headers'];constructor(_0xec0bb3,_0x50489c,_0xa83255,_0x59f350,_0x1de2ed){super(),this['name']='UploadError',this['message']=_0xec0bb3,this['code']=_0x50489c,this['request']=_0xa83255,this['response']=_0x59f350,this['headers']=_0x1de2ed,Object['setPrototypeOf'](this,_0x2012f8['prototype']);}};const _0x1b40b9=_0x29f1c5=>{const _0x913e45=new URLSearchParams();for(const [_0x4c8e28,_0x167706]of Object['entries'](_0x29f1c5))_0x167706&&'object'==typeof _0x167706&&!Array['isArray'](_0x167706)?Object['entries'](_0x167706)['filter'](_0x1002b1=>_0x1002b1[0x1]??!0x1)['forEach'](_0xe378b6=>_0x913e45['set'](_0x4c8e28+'['+_0xe378b6[0x0]+']',String(_0xe378b6[0x1]))):Array['isArray'](_0x167706)?_0x167706['forEach'](_0x24d7ad=>{_0x913e45['append'](_0x4c8e28+'[]',_0x24d7ad);}):'string'==typeof _0x167706&&_0x167706?_0x913e45['set'](_0x4c8e28,_0x167706):'number'==typeof _0x167706&&_0x913e45['set'](_0x4c8e28,_0x167706['toString']());return _0x913e45['toString']();},getUrl$1=(_0x313934,_0x2be3e3,_0x307d5e)=>{const _0x3e6acc=new URL(_0x313934);return _0x3e6acc['pathname']=(_0x3e6acc['pathname']+_0x2be3e3)['replace']('//','/'),_0x307d5e&&(_0x3e6acc['search']=_0x1b40b9(_0x307d5e)),_0x3e6acc['toString']();};var _0xfdb64b='6.14.3';const _0xbcf87c='UploadcareUploadClient',_0x1742dc=_0xfdb64b;function getUserAgent$2(_0x3eb23c){return getUserAgent$1$1({'libraryName':_0xbcf87c,'libraryVersion':_0x1742dc,..._0x3eb23c});}const _0x5b7608='RequestThrottledError',_0x23977d=0x3a98,_0x40d471=0x3e8;function getTimeoutFromThrottledRequest$1(_0xb5ac67){const {headers:_0x2ed5eb}=_0xb5ac67||{};if(!_0x2ed5eb||'string'!=typeof _0x2ed5eb['retry-after'])return _0x23977d;const _0x3be8bb=parseInt(_0x2ed5eb['retry-after'],0xa);return Number['isFinite'](_0x3be8bb)?0x3e8*_0x3be8bb:_0x23977d;}function retryIfFailed$1(_0x336cda,_0x114206){const {retryThrottledRequestMaxTimes:_0x43432c,retryNetworkErrorMaxTimes:_0x1c2d83}=_0x114206;return retrier$1(({attempt:_0x1dcbc9,retry:_0x2bb6a1})=>_0x336cda()['catch'](_0x1c640c=>{if('response'in _0x1c640c&&_0x1c640c?.['code']===_0x5b7608&&_0x1dcbc9<_0x43432c)return _0x2bb6a1(getTimeoutFromThrottledRequest$1(_0x1c640c));if(_0x1c640c instanceof NetworkError$1&&_0x1dcbc9<_0x1c2d83)return _0x2bb6a1((_0x1dcbc9+0x1)*_0x40d471);throw _0x1c640c;}));}const getContentType$1=_0x59de65=>{let _0x17b180='';return(_0x4090fc(_0x59de65)||_0x35e269(_0x59de65)||isReactNativeAsset$1(_0x59de65))&&(_0x17b180=_0x59de65['type']),_0x17b180||defaultContentType$1;},getFileName$1=_0x598204=>{let _0x1e68f8='';return _0x35e269(_0x598204)&&_0x598204['name']?_0x1e68f8=_0x598204['name']:_0x4090fc(_0x598204)||_0x6a3f6c()?_0x1e68f8='':isReactNativeAsset$1(_0x598204)&&_0x598204['name']&&(_0x1e68f8=_0x598204['name']),_0x1e68f8||defaultFilename$1;};function getStoreValue$1(_0x16046f){return void 0x0===_0x16046f||'auto'===_0x16046f?'auto':_0x16046f?'1':'0';}function _0x3cb0d1(_0x3c83a6,{publicKey:_0x59aa48,fileName:_0x25a4d7,contentType:_0x33f0de,baseURL:_0x81df39=defaultSettings$1['baseURL'],secureSignature:_0x12796e,secureExpire:_0x3f6e7,store:_0x289b5d,signal:_0xb7a7a1,onProgress:_0x11defc,source:_0x1d5f3f='local',integration:_0x2fd690,userAgent:_0x2a685a,retryThrottledRequestMaxTimes:_0x536765=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x122361=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x2bbe6c}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x81df39,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x59aa48,'integration':_0x2fd690,'userAgent':_0x2a685a})},'data':buildFormData$1({'file':{'data':_0x3c83a6,'name':_0x25a4d7||getFileName$1(_0x3c83a6),'contentType':_0x33f0de||getContentType$1(_0x3c83a6)},'UPLOADCARE_PUB_KEY':_0x59aa48,'UPLOADCARE_STORE':getStoreValue$1(_0x289b5d),'signature':_0x12796e,'expire':_0x3f6e7,'source':_0x1d5f3f,'metadata':_0x2bbe6c}),'signal':_0xb7a7a1,'onProgress':_0x11defc})['then'](({data:_0x1cb807,headers:_0x2bb443,request:_0x1478ec})=>{const _0x16fcb2=_0x468343(JSON['parse'](_0x1cb807));if('error'in _0x16fcb2)throw new _0x43b164(_0x16fcb2['error']['content'],_0x16fcb2['error']['errorCode'],_0x1478ec,_0x16fcb2,_0x2bb443);return _0x16fcb2;}),{'retryNetworkErrorMaxTimes':_0x122361,'retryThrottledRequestMaxTimes':_0x536765});}var _0x8533fb,Status$1;function _0x159348(_0x4e36f9,{publicKey:_0x19a3a0,baseURL:_0x2673fa=defaultSettings$1['baseURL'],store:_0x28d993,fileName:_0x3e50d9,checkForUrlDuplicates:_0x180635,saveUrlForRecurrentUploads:_0x4a4d92,secureSignature:_0x28ab43,secureExpire:_0x3a0c64,source:_0x37c365='url',signal:_0x1db993,integration:_0x4b49af,userAgent:_0x2b5334,retryThrottledRequestMaxTimes:_0x45f9c7=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x22ee91=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x2913e4}){return retryIfFailed$1(()=>request$1({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x19a3a0,'integration':_0x4b49af,'userAgent':_0x2b5334})},'url':getUrl$1(_0x2673fa,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x19a3a0,'source_url':_0x4e36f9,'store':getStoreValue$1(_0x28d993),'filename':_0x3e50d9,'check_URL_duplicates':_0x180635?0x1:void 0x0,'save_URL_duplicates':_0x4a4d92?0x1:void 0x0,'signature':_0x28ab43,'expire':_0x3a0c64,'source':_0x37c365,'metadata':_0x2913e4}),'signal':_0x1db993})['then'](({data:_0x5f33c1,headers:_0x284332,request:_0x2051dd})=>{const _0x5c0fb7=_0x468343(JSON['parse'](_0x5f33c1));if('error'in _0x5c0fb7)throw new _0x43b164(_0x5c0fb7['error']['content'],_0x5c0fb7['error']['errorCode'],_0x2051dd,_0x5c0fb7,_0x284332);return _0x5c0fb7;}),{'retryNetworkErrorMaxTimes':_0x22ee91,'retryThrottledRequestMaxTimes':_0x45f9c7});}!function(_0x5b499a){_0x5b499a['Token']='token',_0x5b499a['FileInfo']='file_info';}(_0x8533fb||(_0x8533fb={})),function(_0x54c06b){_0x54c06b['Unknown']='unknown',_0x54c06b['Waiting']='waiting',_0x54c06b['Progress']='progress',_0x54c06b['Error']='error',_0x54c06b['Success']='success';}(Status$1||(Status$1={}));const _0x214391=_0x51cfe2=>'status'in _0x51cfe2&&_0x51cfe2['status']===Status$1['Error'];function fromUrlStatus$1(_0x72deb9,{publicKey:_0x7d64c9,baseURL:_0x7f0672=defaultSettings$1['baseURL'],signal:_0x2b740a,integration:_0x548a67,userAgent:_0x5a4589,retryThrottledRequestMaxTimes:_0x481453=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x3eb0af=defaultSettings$1['retryNetworkErrorMaxTimes']}={}){return retryIfFailed$1(()=>request$1({'method':'GET','headers':_0x7d64c9?{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x7d64c9,'integration':_0x548a67,'userAgent':_0x5a4589})}:void 0x0,'url':getUrl$1(_0x7f0672,'/from_url/status/',{'jsonerrors':0x1,'token':_0x72deb9}),'signal':_0x2b740a})['then'](({data:_0xfe5376,headers:_0x167492,request:_0x25f8bb})=>{const _0x37d502=_0x468343(JSON['parse'](_0xfe5376));if('error'in _0x37d502&&!_0x214391(_0x37d502))throw new _0x43b164(_0x37d502['error']['content'],_0x37d502['error']['errorCode'],_0x25f8bb,_0x37d502,_0x167492);return _0x37d502;}),{'retryNetworkErrorMaxTimes':_0x3eb0af,'retryThrottledRequestMaxTimes':_0x481453});}function _0x31ab78(_0x35cb40,{publicKey:_0x5b6af9,baseURL:_0x5d1602=defaultSettings$1['baseURL'],signal:_0x3a162b,source:_0xf7de24,integration:_0x1d2fb5,userAgent:_0x50e79c,retryThrottledRequestMaxTimes:_0xa7f107=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x60939a=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'GET','headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x5b6af9,'integration':_0x1d2fb5,'userAgent':_0x50e79c})},'url':getUrl$1(_0x5d1602,'/info/',{'jsonerrors':0x1,'pub_key':_0x5b6af9,'file_id':_0x35cb40,'source':_0xf7de24}),'signal':_0x3a162b})['then'](({data:_0x1fdb6b,headers:_0x3442d9,request:_0x1d977a})=>{const _0x10dc0b=_0x468343(JSON['parse'](_0x1fdb6b));if('error'in _0x10dc0b)throw new _0x43b164(_0x10dc0b['error']['content'],_0x10dc0b['error']['errorCode'],_0x1d977a,_0x10dc0b,_0x3442d9);return _0x10dc0b;}),{'retryThrottledRequestMaxTimes':_0xa7f107,'retryNetworkErrorMaxTimes':_0x60939a});}function multipartStart$1(_0x253141,{publicKey:_0x5e1ad6,contentType:_0x7a2c8b,fileName:_0x2a5125,multipartChunkSize:_0x567894=defaultSettings$1['multipartChunkSize'],baseURL:_0x4d8316='',secureSignature:_0x10c237,secureExpire:_0x352e1f,store:_0x42e5cb,signal:_0x4ca1a1,source:_0x1ca329='local',integration:_0x2a4fe7,userAgent:_0x39a909,retryThrottledRequestMaxTimes:_0x2d2f13=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x30a60f=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x9fa04f}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x4d8316,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x5e1ad6,'integration':_0x2a4fe7,'userAgent':_0x39a909})},'data':buildFormData$1({'filename':_0x2a5125,'size':_0x253141,'content_type':_0x7a2c8b||defaultContentType$1,'part_size':_0x567894,'UPLOADCARE_STORE':getStoreValue$1(_0x42e5cb),'UPLOADCARE_PUB_KEY':_0x5e1ad6,'signature':_0x10c237,'expire':_0x352e1f,'source':_0x1ca329,'metadata':_0x9fa04f}),'signal':_0x4ca1a1})['then'](({data:_0x375e68,headers:_0x16d360,request:_0x5b86a1})=>{const _0x34a8c2=_0x468343(JSON['parse'](_0x375e68));if('error'in _0x34a8c2)throw new _0x43b164(_0x34a8c2['error']['content'],_0x34a8c2['error']['errorCode'],_0x5b86a1,_0x34a8c2,_0x16d360);return _0x34a8c2['parts']=Object['keys'](_0x34a8c2['parts'])['map'](_0x43b632=>_0x34a8c2['parts'][Number(_0x43b632)]),_0x34a8c2;}),{'retryThrottledRequestMaxTimes':_0x2d2f13,'retryNetworkErrorMaxTimes':_0x30a60f});}function multipartUpload$1(_0x2a4ea3,_0x3a05aa,{contentType:_0x172390,signal:_0x3b2a03,onProgress:_0x47095e,retryThrottledRequestMaxTimes:_0x2b0a86=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x1fffec=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'PUT','url':_0x3a05aa,'data':_0x2a4ea3,'onProgress':_0x47095e,'signal':_0x3b2a03,'headers':{'Content-Type':_0x172390||defaultContentType$1}})['then'](_0x4f0193=>(_0x47095e&&_0x47095e({'isComputable':!0x0,'value':0x1}),_0x4f0193))['then'](({status:_0x30b613})=>({'code':_0x30b613})),{'retryThrottledRequestMaxTimes':_0x2b0a86,'retryNetworkErrorMaxTimes':_0x1fffec});}function multipartComplete$1(_0x199fe2,{publicKey:_0x1641f9,baseURL:_0x39c315=defaultSettings$1['baseURL'],source:_0x26e1e4='local',signal:_0x1a6083,integration:_0x478b14,userAgent:_0x531dc6,retryThrottledRequestMaxTimes:_0x5f3068=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x3f7965=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x39c315,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x1641f9,'integration':_0x478b14,'userAgent':_0x531dc6})},'data':buildFormData$1({'uuid':_0x199fe2,'UPLOADCARE_PUB_KEY':_0x1641f9,'source':_0x26e1e4}),'signal':_0x1a6083})['then'](({data:_0x4b43f7,headers:_0x12232a,request:_0xf4312a})=>{const _0x46d9f6=_0x468343(JSON['parse'](_0x4b43f7));if('error'in _0x46d9f6)throw new _0x43b164(_0x46d9f6['error']['content'],_0x46d9f6['error']['errorCode'],_0xf4312a,_0x46d9f6,_0x12232a);return _0x46d9f6;}),{'retryThrottledRequestMaxTimes':_0x5f3068,'retryNetworkErrorMaxTimes':_0x3f7965});}function _0x4d7700(_0x537335,{publicKey:_0x14b3a7,baseURL:_0x9ff393,source:_0x2d1114,integration:_0xbb0840,userAgent:_0x29028d,retryThrottledRequestMaxTimes:_0x8df333,retryNetworkErrorMaxTimes:_0x1d6164,signal:_0x43006e,onProgress:_0x238513}){return _0x4475ff({'check':_0x19bb6a=>_0x31ab78(_0x537335,{'publicKey':_0x14b3a7,'baseURL':_0x9ff393,'signal':_0x19bb6a,'source':_0x2d1114,'integration':_0xbb0840,'userAgent':_0x29028d,'retryThrottledRequestMaxTimes':_0x8df333,'retryNetworkErrorMaxTimes':_0x1d6164})['then'](_0x1fbf5c=>_0x1fbf5c['isReady']?_0x1fbf5c:(_0x238513&&_0x238513({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x43006e});}function _0x58682d(_0x3fe594){return'defaultEffects'in _0x3fe594;}let _0xde083b=class{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x406be8,{baseCDN:_0x25488b=defaultSettings$1['baseCDN'],fileName:_0x1729b7}={}){const {uuid:_0x3dd7c5,s3Bucket:_0x3eaea1}=_0x406be8,_0x4b7f24=getUrl$1(_0x25488b,_0x3dd7c5+'/'),_0xe4a771=_0x3eaea1?getUrl$1('https://'+_0x3eaea1+'.s3.amazonaws.com/',_0x3dd7c5+'/'+_0x406be8['filename']):null;this['uuid']=_0x3dd7c5,this['name']=_0x1729b7||_0x406be8['filename'],this['size']=_0x406be8['size'],this['isStored']=_0x406be8['isStored'],this['isImage']=_0x406be8['isImage'],this['mimeType']=_0x406be8['mimeType'],this['cdnUrl']=_0x4b7f24,this['originalFilename']=_0x406be8['originalFilename'],this['imageInfo']=_0x406be8['imageInfo'],this['videoInfo']=_0x406be8['videoInfo'],this['contentInfo']=_0x406be8['contentInfo'],this['metadata']=_0x406be8['metadata']||null,this['s3Bucket']=_0x3eaea1||null,this['s3Url']=_0xe4a771,_0x58682d(_0x406be8)&&(this['defaultEffects']=_0x406be8['defaultEffects']);}};const uploadDirect$1=(_0x11fb23,{publicKey:_0x43c33c,fileName:_0x172b51,baseURL:_0x307b13,secureSignature:_0xc826ad,secureExpire:_0xe0e05c,store:_0xe11cbb,contentType:_0x3f39b3,signal:_0x259456,onProgress:_0x36f50d,source:_0x425e3d,integration:_0x1e67fb,userAgent:_0x3bb2e0,retryThrottledRequestMaxTimes:_0x23ff04,retryNetworkErrorMaxTimes:_0x4072cd,baseCDN:_0x45f98d,metadata:_0x3ed4ce})=>_0x3cb0d1(_0x11fb23,{'publicKey':_0x43c33c,'fileName':_0x172b51,'contentType':_0x3f39b3,'baseURL':_0x307b13,'secureSignature':_0xc826ad,'secureExpire':_0xe0e05c,'store':_0xe11cbb,'signal':_0x259456,'onProgress':_0x36f50d,'source':_0x425e3d,'integration':_0x1e67fb,'userAgent':_0x3bb2e0,'retryThrottledRequestMaxTimes':_0x23ff04,'retryNetworkErrorMaxTimes':_0x4072cd,'metadata':_0x3ed4ce})['then'](({file:_0x21572c})=>_0x4d7700(_0x21572c,{'publicKey':_0x43c33c,'baseURL':_0x307b13,'source':_0x425e3d,'integration':_0x1e67fb,'userAgent':_0x3bb2e0,'retryThrottledRequestMaxTimes':_0x23ff04,'retryNetworkErrorMaxTimes':_0x4072cd,'onProgress':_0x36f50d,'signal':_0x259456}))['then'](_0x4944e8=>new _0xde083b(_0x4944e8,{'baseCDN':_0x45f98d})),_0x251c60=(_0x23db8e,{publicKey:_0x51d8f1,fileName:_0x1defbe,baseURL:_0x58469a,signal:_0x20e70f,onProgress:_0x525eb1,source:_0x2e1a00,integration:_0x4d99b6,userAgent:_0x596493,retryThrottledRequestMaxTimes:_0x41b172,retryNetworkErrorMaxTimes:_0x4962b3,baseCDN:_0x4a07b5})=>_0x31ab78(_0x23db8e,{'publicKey':_0x51d8f1,'baseURL':_0x58469a,'signal':_0x20e70f,'source':_0x2e1a00,'integration':_0x4d99b6,'userAgent':_0x596493,'retryThrottledRequestMaxTimes':_0x41b172,'retryNetworkErrorMaxTimes':_0x4962b3})['then'](_0x4ccaea=>new _0xde083b(_0x4ccaea,{'baseCDN':_0x4a07b5,'fileName':_0x1defbe}))['then'](_0x2eecde=>(_0x525eb1&&_0x525eb1({'isComputable':!0x0,'value':0x1}),_0x2eecde)),_0x379839=(_0x3bff49,{signal:_0x254cfa}={})=>{let _0xca31a4=null,_0x2f6d02=null;const _0x2f44fe=_0x3bff49['map'](()=>new AbortController());return _0x34dc4c(_0x254cfa,()=>{_0x2f44fe['forEach'](_0x3cceb3=>_0x3cceb3['abort']());}),Promise['all'](_0x3bff49['map']((_0x6cef30,_0x48dbfb)=>{const _0x545d56=(_0x878e97=>()=>{_0x2f6d02=_0x878e97,_0x2f44fe['forEach']((_0x33e36a,_0x41fc8e)=>_0x41fc8e!==_0x878e97&&_0x33e36a['abort']());})(_0x48dbfb);return Promise['resolve']()['then'](()=>_0x6cef30({'stopRace':_0x545d56,'signal':_0x2f44fe[_0x48dbfb]['signal']}))['then'](_0x2c58d6=>(_0x545d56(),_0x2c58d6))['catch'](_0x5d4e95=>(_0xca31a4=_0x5d4e95,null));}))['then'](_0x4b40e8=>{if(null===_0x2f6d02)throw _0xca31a4;return _0x4b40e8[_0x2f6d02];});};var WebSocket$1=window['WebSocket'];let Events$1=class{['events']=Object['create']({});['emit'](_0x296236,_0x41f003){this['events'][_0x296236]?.['forEach'](_0x521d85=>_0x521d85(_0x41f003));}['on'](_0x45008f,_0x5cd80a){this['events'][_0x45008f]=this['events'][_0x45008f]||[],this['events'][_0x45008f]['push'](_0x5cd80a);}['off'](_0x34768a,_0x96b230){this['events'][_0x34768a]=_0x96b230?this['events'][_0x34768a]['filter'](_0x27064a=>_0x27064a!==_0x96b230):[];}};const _0x45ad22=(_0x23b369,_0x3b3a35)=>'success'===_0x23b369?{'status':Status$1['Success'],..._0x3b3a35}:'progress'===_0x23b369?{'status':Status$1['Progress'],..._0x3b3a35}:{'status':Status$1['Error'],..._0x3b3a35};let _0xc8a660=class{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events$1();['disconnectTimeoutId']=null;constructor(_0x2336f4,_0x3a4d4d=0x7530){this['key']=_0x2336f4,this['disconnectTime']=_0x3a4d4d;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x2064d6='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new WebSocket$1(_0x2064d6),this['ws']['addEventListener']('error',_0x15298b=>{this['emmitter']['emit']('error',new Error(_0x15298b['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x283cd0=>this['send'](_0x283cd0['event'],_0x283cd0['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x98cfc9=>{const _0x34bd14=JSON['parse'](_0x98cfc9['data']['toString']());switch(_0x34bd14['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'](_0x34bd14['channel'],_0x45ad22(_0x34bd14['event'],JSON['parse'](_0x34bd14['data'])));}});}}['disconnect'](){const _0xf87a76=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0xf87a76();},this['disconnectTime']):_0xf87a76();}['send'](_0x53957f,_0x16f6d5){const _0x2cb56e=JSON['stringify']({'event':_0x53957f,'data':_0x16f6d5});this['ws']?.['send'](_0x2cb56e);}['subscribe'](_0x4be50b,_0x2d59ab){this['subscribers']+=0x1,this['connect']();const _0xf672cf='task-status-'+_0x4be50b,_0x888380={'event':'pusher:subscribe','data':{'channel':_0xf672cf}};this['emmitter']['on'](_0xf672cf,_0x2d59ab),this['isConnected']?this['send'](_0x888380['event'],_0x888380['data']):this['queue']['push'](_0x888380);}['unsubscribe'](_0x117f4a){this['subscribers']-=0x1;const _0x385431='task-status-'+_0x117f4a,_0x27cae2={'event':'pusher:unsubscribe','data':{'channel':_0x385431}};this['emmitter']['off'](_0x385431),this['isConnected']?this['send'](_0x27cae2['event'],_0x27cae2['data']):this['queue']=this['queue']['filter'](_0x3561e5=>_0x3561e5['data']['channel']!==_0x385431),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x1286e1){return this['emmitter']['on']('error',_0x1286e1),()=>this['emmitter']['off']('error',_0x1286e1);}},_0x2a5b82=null;const getPusher$1=_0x1ae381=>{if(!_0x2a5b82){const _0x242916='undefined'==typeof window?0x0:0x7530;_0x2a5b82=new _0xc8a660(_0x1ae381,_0x242916);}return _0x2a5b82;},preconnect$1=_0x27bb9b=>{getPusher$1(_0x27bb9b)['connect']();};function pollStrategy$1({token:_0x2ad903,publicKey:_0x215eb7,baseURL:_0x1b2b2e,integration:_0x373d2a,userAgent:_0x35ab7e,retryThrottledRequestMaxTimes:_0x20455e,retryNetworkErrorMaxTimes:_0x560e8c,onProgress:_0x116246,signal:_0x1e4d65}){return _0x4475ff({'check':_0x18deaa=>fromUrlStatus$1(_0x2ad903,{'publicKey':_0x215eb7,'baseURL':_0x1b2b2e,'integration':_0x373d2a,'userAgent':_0x35ab7e,'retryThrottledRequestMaxTimes':_0x20455e,'retryNetworkErrorMaxTimes':_0x560e8c,'signal':_0x18deaa})['then'](_0x271c2d=>{switch(_0x271c2d['status']){case Status$1['Error']:return new _0x43b164(_0x271c2d['error'],_0x271c2d['errorCode']);case Status$1['Waiting']:return!0x1;case Status$1['Unknown']:return new _0x43b164('Token\x20\x22'+_0x2ad903+'\x22\x20was\x20not\x20found.');case Status$1['Progress']:return _0x116246&&('unknown'===_0x271c2d['total']?_0x116246({'isComputable':!0x1}):_0x116246({'isComputable':!0x0,'value':_0x271c2d['done']/_0x271c2d['total']})),!0x1;case Status$1['Success']:return _0x116246&&_0x116246({'isComputable':!0x0,'value':_0x271c2d['done']/_0x271c2d['total']}),_0x271c2d;default:throw new Error('Unknown\x20status');}}),'signal':_0x1e4d65});}const pushStrategy$1=({token:_0xc16f63,pusherKey:_0x230639,signal:_0x15fb71,onProgress:_0x22e147})=>new Promise((_0x4eaeca,_0x4a603e)=>{const _0x36e392=getPusher$1(_0x230639),_0x29e0f2=_0x36e392['onError'](_0x4a603e),_0x87d39d=()=>{_0x29e0f2(),_0x36e392['unsubscribe'](_0xc16f63);};_0x34dc4c(_0x15fb71,()=>{_0x87d39d(),_0x4a603e(new _0x4db361('pusher\x20cancelled'));}),_0x36e392['subscribe'](_0xc16f63,_0x4431ec=>{switch(_0x4431ec['status']){case Status$1['Progress']:_0x22e147&&('unknown'===_0x4431ec['total']?_0x22e147({'isComputable':!0x1}):_0x22e147({'isComputable':!0x0,'value':_0x4431ec['done']/_0x4431ec['total']}));break;case Status$1['Success']:_0x87d39d(),_0x22e147&&_0x22e147({'isComputable':!0x0,'value':_0x4431ec['done']/_0x4431ec['total']}),_0x4eaeca(_0x4431ec);break;case Status$1['Error']:_0x87d39d(),_0x4a603e(new _0x43b164(_0x4431ec['msg'],_0x4431ec['error_code']));}});}),_0x4e6678=(_0x36aa27,{publicKey:_0x223d6c,fileName:_0x4f92e5,baseURL:_0x352e2b,baseCDN:_0x437fa7,checkForUrlDuplicates:_0xc194db,saveUrlForRecurrentUploads:_0x212c70,secureSignature:_0x5907e0,secureExpire:_0x2dc9b9,store:_0x4ea500,signal:_0x12861b,onProgress:_0x30b5e7,source:_0x1b7a92,integration:_0x159ded,userAgent:_0x46cf8b,retryThrottledRequestMaxTimes:_0xdc0476,pusherKey:_0x347160=defaultSettings$1['pusherKey'],metadata:_0x3c530d})=>Promise['resolve'](preconnect$1(_0x347160))['then'](()=>_0x159348(_0x36aa27,{'publicKey':_0x223d6c,'fileName':_0x4f92e5,'baseURL':_0x352e2b,'checkForUrlDuplicates':_0xc194db,'saveUrlForRecurrentUploads':_0x212c70,'secureSignature':_0x5907e0,'secureExpire':_0x2dc9b9,'store':_0x4ea500,'signal':_0x12861b,'source':_0x1b7a92,'integration':_0x159ded,'userAgent':_0x46cf8b,'retryThrottledRequestMaxTimes':_0xdc0476,'metadata':_0x3c530d}))['catch'](_0x5bae05=>{const _0x5371e4=getPusher$1(_0x347160);return _0x5371e4?.['disconnect'](),Promise['reject'](_0x5bae05);})['then'](_0xfd552=>_0xfd552['type']===_0x8533fb['FileInfo']?_0xfd552:_0x379839([({signal:_0x91fe21})=>pollStrategy$1({'token':_0xfd552['token'],'publicKey':_0x223d6c,'baseURL':_0x352e2b,'integration':_0x159ded,'userAgent':_0x46cf8b,'retryThrottledRequestMaxTimes':_0xdc0476,'onProgress':_0x30b5e7,'signal':_0x91fe21}),({signal:_0x35df91})=>pushStrategy$1({'token':_0xfd552['token'],'pusherKey':_0x347160,'signal':_0x35df91,'onProgress':_0x30b5e7})],{'signal':_0x12861b}))['then'](_0x523830=>{if(_0x523830 instanceof _0x43b164)throw _0x523830;return _0x523830;})['then'](_0x5286c9=>_0x4d7700(_0x5286c9['uuid'],{'publicKey':_0x223d6c,'baseURL':_0x352e2b,'integration':_0x159ded,'userAgent':_0x46cf8b,'retryThrottledRequestMaxTimes':_0xdc0476,'onProgress':_0x30b5e7,'signal':_0x12861b}))['then'](_0x956f30=>new _0xde083b(_0x956f30,{'baseCDN':_0x437fa7})),_0x379c6f=new WeakMap(),getBlobFromReactNativeAsset$1=async _0xa002b5=>{if(_0x379c6f['has'](_0xa002b5))return _0x379c6f['get'](_0xa002b5);const _0x5eb396=await fetch(_0xa002b5['uri'])['then'](_0x5ab2ef=>_0x5ab2ef['blob']());return _0x379c6f['set'](_0xa002b5,_0x5eb396),_0x5eb396;},getFileSize$1=async _0x21b957=>{if(_0x35e269(_0x21b957)||_0x4090fc(_0x21b957))return _0x21b957['size'];if(isReactNativeAsset$1(_0x21b957))return(await getBlobFromReactNativeAsset$1(_0x21b957))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},isMultipart$1=(_0xe0792,_0x4013df=defaultSettings$1['multipartMinFileSize'])=>_0xe0792>=_0x4013df,_0x5e9d36=_0x437170=>{const _0x414e3b=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!isFileData$1(_0x437170)&&_0x414e3b['test'](_0x437170);},_0x5df58f=_0x233702=>{const _0x3fb0eb=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!isFileData$1(_0x233702)&&_0x3fb0eb['test'](_0x233702);},runWithConcurrency$1=(_0x59bca5,_0x49638c)=>new Promise((_0x20e322,_0x177e23)=>{const _0x4a8205=[];let _0x37900b=!0x1,_0x4689e7=_0x49638c['length'];const _0x4a3c75=[..._0x49638c],_0x2ba79c=()=>{const _0x499a40=_0x49638c['length']-_0x4a3c75['length'],_0x1050dc=_0x4a3c75['shift']();_0x1050dc&&_0x1050dc()['then'](_0x4d9bd8=>{_0x37900b||(_0x4a8205[_0x499a40]=_0x4d9bd8,_0x4689e7-=0x1,_0x4689e7?_0x2ba79c():_0x20e322(_0x4a8205));})['catch'](_0x1631ae=>{_0x37900b=!0x0,_0x177e23(_0x1631ae);});};for(let _0x4b86bb=0x0;_0x4b86bb<_0x59bca5;_0x4b86bb++)_0x2ba79c();}),_0x135d5e=(_0x4e8eef,_0x56fd1d,_0x2b6c53,_0x3c59bc)=>{const _0x4a45e5=_0x3c59bc*_0x56fd1d,_0x5074ce=Math['min'](_0x4a45e5+_0x3c59bc,_0x2b6c53);return _0x4e8eef['slice'](_0x4a45e5,_0x5074ce);},_0x40cc36=async(_0x2b980b,_0x51c1a3,_0x150db4)=>_0x6ca4d3=>_0x135d5e(_0x2b980b,_0x6ca4d3,_0x51c1a3,_0x150db4),uploadPart$1=(_0x20f492,_0x301eb8,{publicKey:_0xb7b54d,contentType:_0x21d492,onProgress:_0xd7363a,signal:_0x30a20d,integration:_0x248115,retryThrottledRequestMaxTimes:_0x10d6a3,retryNetworkErrorMaxTimes:_0x57141d})=>multipartUpload$1(_0x20f492,_0x301eb8,{'contentType':_0x21d492,'onProgress':_0xd7363a,'signal':_0x30a20d,'retryThrottledRequestMaxTimes':_0x10d6a3,'retryNetworkErrorMaxTimes':_0x57141d}),uploadMultipart$1=async(_0x4daeb1,{publicKey:_0x43a678,fileName:_0x9a21c4,fileSize:_0x14b67a,baseURL:_0x31d6f3,secureSignature:_0x31f3e2,secureExpire:_0x119534,store:_0x548bb8,signal:_0x3694fa,onProgress:_0x103f18,source:_0x2b7ab4,integration:_0x420924,userAgent:_0x15cf96,retryThrottledRequestMaxTimes:_0x166704,retryNetworkErrorMaxTimes:_0x51f946,contentType:_0x6a9554,multipartChunkSize:_0x14c6a4=defaultSettings$1['multipartChunkSize'],maxConcurrentRequests:_0x4e0e10=defaultSettings$1['maxConcurrentRequests'],baseCDN:_0x96898f,metadata:_0x12973a})=>{const _0x142654=_0x14b67a??await getFileSize$1(_0x4daeb1);let _0x22465f;const _0x3f1864=(_0x4c15bc,_0x392ab5)=>{if(!_0x103f18)return;_0x22465f||(_0x22465f=Array(_0x4c15bc)['fill'](0x0));const _0x708a0e=_0x56b15d=>_0x56b15d['reduce']((_0x7d4f83,_0x3c8686)=>_0x7d4f83+_0x3c8686,0x0);return _0x4e5979=>{_0x4e5979['isComputable']&&(_0x22465f[_0x392ab5]=_0x4e5979['value'],_0x103f18({'isComputable':!0x0,'value':_0x708a0e(_0x22465f)/_0x4c15bc}));};};return _0x6a9554||=getContentType$1(_0x4daeb1),multipartStart$1(_0x142654,{'publicKey':_0x43a678,'contentType':_0x6a9554,'fileName':_0x9a21c4||getFileName$1(_0x4daeb1),'baseURL':_0x31d6f3,'secureSignature':_0x31f3e2,'secureExpire':_0x119534,'store':_0x548bb8,'signal':_0x3694fa,'source':_0x2b7ab4,'integration':_0x420924,'userAgent':_0x15cf96,'retryThrottledRequestMaxTimes':_0x166704,'retryNetworkErrorMaxTimes':_0x51f946,'metadata':_0x12973a,'multipartChunkSize':_0x14c6a4})['then'](async({uuid:_0x5f37d5,parts:_0x2f2725})=>{const _0x4c7105=await _0x40cc36(_0x4daeb1,_0x142654,_0x14c6a4);return Promise['all']([_0x5f37d5,runWithConcurrency$1(_0x4e0e10,_0x2f2725['map']((_0x3734ce,_0x4a78b8)=>()=>uploadPart$1(_0x4c7105(_0x4a78b8),_0x3734ce,{'publicKey':_0x43a678,'contentType':_0x6a9554,'onProgress':_0x3f1864(_0x2f2725['length'],_0x4a78b8),'signal':_0x3694fa,'integration':_0x420924,'retryThrottledRequestMaxTimes':_0x166704,'retryNetworkErrorMaxTimes':_0x51f946})))]);})['then'](([_0x35650a])=>multipartComplete$1(_0x35650a,{'publicKey':_0x43a678,'baseURL':_0x31d6f3,'source':_0x2b7ab4,'integration':_0x420924,'userAgent':_0x15cf96,'retryThrottledRequestMaxTimes':_0x166704,'retryNetworkErrorMaxTimes':_0x51f946}))['then'](_0x36a9e9=>_0x36a9e9['isReady']?_0x36a9e9:_0x4d7700(_0x36a9e9['uuid'],{'publicKey':_0x43a678,'baseURL':_0x31d6f3,'source':_0x2b7ab4,'integration':_0x420924,'userAgent':_0x15cf96,'retryThrottledRequestMaxTimes':_0x166704,'retryNetworkErrorMaxTimes':_0x51f946,'onProgress':_0x103f18,'signal':_0x3694fa}))['then'](_0x38d0f7=>new _0xde083b(_0x38d0f7,{'baseCDN':_0x96898f}));};async function _0x26a74e(_0x4e1716,{publicKey:_0x295b26,fileName:_0x305e0c,baseURL:_0x2a358a=defaultSettings$1['baseURL'],secureSignature:_0x196c80,secureExpire:_0x2d0071,store:_0x4072bd,signal:_0x2ad67f,onProgress:_0x1bc736,source:_0x402829,integration:_0x19d5cf,userAgent:_0x57604f,retryThrottledRequestMaxTimes:_0x5bc892,retryNetworkErrorMaxTimes:_0x524299,contentType:_0x576732,multipartMinFileSize:_0x3a5f2c,multipartChunkSize:_0x4f4235,maxConcurrentRequests:_0x4a4fdb,baseCDN:_0xefd2fa=defaultSettings$1['baseCDN'],checkForUrlDuplicates:_0x30c1db,saveUrlForRecurrentUploads:_0x5f3d11,pusherKey:_0x587070,metadata:_0x8d5c4a}){if(isFileData$1(_0x4e1716)){const _0x549183=await getFileSize$1(_0x4e1716);return isMultipart$1(_0x549183,_0x3a5f2c)?uploadMultipart$1(_0x4e1716,{'publicKey':_0x295b26,'contentType':_0x576732,'multipartChunkSize':_0x4f4235,'fileSize':_0x549183,'fileName':_0x305e0c,'baseURL':_0x2a358a,'secureSignature':_0x196c80,'secureExpire':_0x2d0071,'store':_0x4072bd,'signal':_0x2ad67f,'onProgress':_0x1bc736,'source':_0x402829,'integration':_0x19d5cf,'userAgent':_0x57604f,'maxConcurrentRequests':_0x4a4fdb,'retryThrottledRequestMaxTimes':_0x5bc892,'retryNetworkErrorMaxTimes':_0x524299,'baseCDN':_0xefd2fa,'metadata':_0x8d5c4a}):uploadDirect$1(_0x4e1716,{'publicKey':_0x295b26,'fileName':_0x305e0c,'contentType':_0x576732,'baseURL':_0x2a358a,'secureSignature':_0x196c80,'secureExpire':_0x2d0071,'store':_0x4072bd,'signal':_0x2ad67f,'onProgress':_0x1bc736,'source':_0x402829,'integration':_0x19d5cf,'userAgent':_0x57604f,'retryThrottledRequestMaxTimes':_0x5bc892,'retryNetworkErrorMaxTimes':_0x524299,'baseCDN':_0xefd2fa,'metadata':_0x8d5c4a});}if(_0x5df58f(_0x4e1716))return _0x4e6678(_0x4e1716,{'publicKey':_0x295b26,'fileName':_0x305e0c,'baseURL':_0x2a358a,'baseCDN':_0xefd2fa,'checkForUrlDuplicates':_0x30c1db,'saveUrlForRecurrentUploads':_0x5f3d11,'secureSignature':_0x196c80,'secureExpire':_0x2d0071,'store':_0x4072bd,'signal':_0x2ad67f,'onProgress':_0x1bc736,'source':_0x402829,'integration':_0x19d5cf,'userAgent':_0x57604f,'retryThrottledRequestMaxTimes':_0x5bc892,'pusherKey':_0x587070,'metadata':_0x8d5c4a});if(_0x5e9d36(_0x4e1716))return _0x251c60(_0x4e1716,{'publicKey':_0x295b26,'fileName':_0x305e0c,'baseURL':_0x2a358a,'signal':_0x2ad67f,'onProgress':_0x1bc736,'source':_0x402829,'integration':_0x19d5cf,'userAgent':_0x57604f,'retryThrottledRequestMaxTimes':_0x5bc892,'retryNetworkErrorMaxTimes':_0x524299,'baseCDN':_0xefd2fa});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x4e1716+'\x22\x20is\x20not\x20supported');}class UploadUtils{static['upload']({file:_0x313d51,..._0x1b8cdd}){return _0x26a74e(_0x313d51,_0x1b8cdd);}static['getInfo'](_0x43ef07,_0x2800b8){return _0x31ab78(_0x43ef07,_0x2800b8);}}class UploadcareUploadAdapter extends ckeditor5['Plugin']{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',ckeditor5['FileRepository'],UploadcareEditing];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2d107e=this['editor'];if(!!!_0x2d107e['config']['get']('uploadcare'))return;_0x2d107e['plugins']['get'](ckeditor5['FileRepository'])['createUploadAdapter']=_0x18a7d1=>new Adapter(_0x18a7d1,_0x2d107e),_0x2d107e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2dba9a,{imageElement:_0x5dbe56,data:_0x51d50f})=>{_0x2d107e['model']['change'](_0x4cdf66=>{_0x4cdf66['setAttribute']('uploadcareImageId',_0x51d50f['uploadcareImageId'],_0x5dbe56);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x3ef36f,_0x4e4136){this['loader']=_0x3ef36f,this['editor']=_0x4e4136,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x41649d=await this['loader']['file'];return UploadUtils['upload']({'file':_0x41649d,'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':_0x46de24=>{_0x46de24&&_0x46de24['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x46de24['value']);}})['then'](async _0x166a6e=>{const {imageFallbackUrl:_0x2d1b30,imageSources:_0xf94d1d}=getImageUrls(_0x166a6e['cdnUrl'],_0x166a6e['imageInfo']['width']);return{'uploadcareImageId':_0x166a6e['uuid'],'default':_0x2d1b30,'sources':_0xf94d1d};})['catch'](()=>{const _0x17b114=t('Cannot\x20upload\x20file:')+('\x20'+_0x41649d['name']+'.');return Promise['reject'](_0x17b114);});}['abort'](){this['controller']['abort']();}}class UploadcareEditing extends ckeditor5['Plugin']{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['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(_0x58833c){super(_0x58833c),this['ucContextId']=ckeditor5['uid']();}['init'](){const _0x46f311=this['editor'];_0x46f311['commands']['add']('uploadcare',new _0x2d9e09(_0x46f311));}['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 _0x551d52=ckeditor5['global']['document']['querySelector']('input[uploadcare-file-input]');_0x551d52&&_0x551d52['remove']();}),_0x301fb2(this);}['_initSchema'](){const _0x382e0e=this['editor']['model']['schema'];_0x382e0e['isRegistered']('imageBlock')&&_0x382e0e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x382e0e['isRegistered']('imageInline')&&_0x382e0e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2818fd=this['editor'];_0x2818fd['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2818fd['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5d300b=>_0x5d300b['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4d72c2=_0x2818fd['commands']['get']('replaceImageSource');_0x4d72c2&&this['listenTo'](_0x4d72c2,'cleanupImage',(_0x5c9070,[_0x339d2e,_0xdc5546])=>{_0x339d2e['removeAttribute']('uploadcareImageId',_0xdc5546);});}['_initConfig'](){const _0x2bf194=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1ee75d=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=ckeditor5['createElement'](ckeditor5['global']['document'],'uc-config',{..._0x2bf194,'pubkey':_0x1ee75d,'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']=_0x4cd8ad=>{if('closeMax'==_0x4cd8ad)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 _0xeb6efa=this['editor']['commands']['get']('insertImage');_0xeb6efa&&this['listenTo'](_0xeb6efa,'execute',()=>{const _0x1a1c76=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1a1c76&&_0x1a1c76['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{showImageProcessingIndicator(this['editor'],_0x1a1c76);});});const _0x28607a=this['editor']['commands']['get']('uploadcareImageReplace');_0x28607a&&this['listenTo'](_0x28607a,'execute',()=>{const _0x276ad0=this['editor']['model']['document']['selection']['getSelectedElement']();_0x276ad0&&_0x276ad0['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{showImageProcessingIndicator(this['editor'],_0x276ad0);});});}}async function _0x301fb2(_0x264838){const _0x3e0f7c=_0x18456c([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]),_0x2b01d9=window[_0x18456c([0x44,0x61,0x74,0x65])][_0x18456c([0x6e,0x6f,0x77])](),_0x536907=_0x264838[_0x18456c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3e8ba2=new window[(_0x18456c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3981fa=>{_0x536907[_0x18456c([0x6f,0x6e,0x63,0x65])](_0x18456c([0x72,0x65,0x61,0x64,0x79]),_0x3981fa);}),_0x47220c={[_0x18456c([0x6b,0x74,0x79])]:_0x18456c([0x45,0x43]),[_0x18456c([0x75,0x73,0x65])]:_0x18456c([0x73,0x69,0x67]),[_0x18456c([0x63,0x72,0x76])]:_0x18456c([0x50,0x2d,0x32,0x35,0x36]),[_0x18456c([0x78])]:_0x18456c([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]),[_0x18456c([0x79])]:_0x18456c([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]),[_0x18456c([0x61,0x6c,0x67])]:_0x18456c([0x45,0x53,0x32,0x35,0x36])},_0x2cc705=_0x536907[_0x18456c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x18456c([0x67,0x65,0x74])](_0x18456c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x321499=await(async function(){let _0x59e656,_0x2c034b=null,_0x2ac156=null;try{if(_0x2cc705==_0x18456c([0x47,0x50,0x4c]))return _0x18456c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x59e656=(function(){const _0x48e7fe=_0x2cc705[_0x18456c([0x73,0x70,0x6c,0x69,0x74])](_0x18456c([0x2e]));if(0x3!=_0x48e7fe[_0x18456c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x2335a5=_0x48e7fe[0x1];return _0x236eff(_0x2335a5);function _0x236eff(_0x4e3368){const _0x3e912e=_0xd89932(_0x4e3368);return _0x3e912e&&_0x52dbdd()?_0x3e912e:null;function _0x52dbdd(){const _0x2efd95=_0x3e912e[_0x18456c([0x6a,0x74,0x69])],_0x5eb30f=window[_0x18456c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2efd95[_0x18456c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2efd95[_0x18456c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xaffe55={..._0x3e912e,[_0x18456c([0x6a,0x74,0x69])]:_0x2efd95[_0x18456c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2efd95[_0x18456c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xaffe55[_0x18456c([0x76,0x63])],_0x10f298(_0xaffe55)==_0x5eb30f;}}}()),!_0x59e656)return _0x18456c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x59e656[_0x18456c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2ac156=function(_0x3996d3,_0x591bc3){return new window[(_0x18456c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x300d48=>{if(_0x44fc70())return _0x300d48(_0x18456c([0x56,0x61,0x6c,0x69,0x64]));_0x38f865(),_0x536907[_0x18456c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x18456c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4aa6c9=!0x1;const _0x301ec8=ckeditor5['uid']();function _0x126bd3(_0x43efb4){return!!_0x43efb4&&(typeof _0x43efb4===_0x18456c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43efb4===_0x18456c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43efb4[_0x18456c([0x74,0x68,0x65,0x6e])]===_0x18456c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43efb4[_0x18456c([0x63,0x61,0x74,0x63,0x68])]===_0x18456c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x201b1d(_0x52cf87){_0x593f91(_0x52cf87)[_0x18456c([0x74,0x68,0x65,0x6e])](_0x3692fe=>{if(!_0x3692fe||_0x3692fe[_0x18456c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x18456c([0x6f,0x6b]))return _0x18456c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31d548(_0x10f298(_0x301ec8+_0x591bc3))!=_0x3692fe[_0x18456c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x18456c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x18456c([0x56,0x61,0x6c,0x69,0x64]);})[_0x18456c([0x74,0x68,0x65,0x6e])](_0x525fdc=>(_0x27aac9(),_0x525fdc),()=>{const _0x2df2ac=_0x2dc016();return null==_0x2df2ac?(_0x27aac9(),_0x18456c([0x56,0x61,0x6c,0x69,0x64])):_0x18456c(_0x2b01d9-_0x2df2ac>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x18456c([0x74,0x68,0x65,0x6e])](_0x300d48)[_0x18456c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x300d48(_0x18456c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x557859=0x36ee80;function _0x27aac9(){const _0x330bf6=_0x18456c([0x6c,0x6c,0x63,0x74,0x2d])+_0x31d548(_0x10f298(_0x3996d3)),_0x240012=_0x34d1c5(_0x31d548(window[_0x18456c([0x4d,0x61,0x74,0x68])][_0x18456c([0x63,0x65,0x69,0x6c])](_0x2b01d9/_0x557859)));window[_0x18456c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18456c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x330bf6,_0x240012);}function _0x2dc016(){const _0x506997=_0x18456c([0x6c,0x6c,0x63,0x74,0x2d])+_0x31d548(_0x10f298(_0x3996d3)),_0x64831f=window[_0x18456c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18456c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x506997);return _0x64831f?window[_0x18456c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34d1c5(_0x64831f),0x10)*_0x557859:null;}function _0x593f91(_0x5c598d){return new window[(_0x18456c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12bf63,_0x5580d0)=>{_0x5c598d[_0x18456c([0x74,0x68,0x65,0x6e])](_0x12bf63,_0x5580d0),window[_0x18456c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5580d0,0x1d4c0);});}}_0x536907[_0x18456c([0x6f,0x6e])](_0x18456c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b84d1,_0x472f28)=>{if(_0x472f28[0x0]!=_0x3996d3)return _0x300d48(_0x18456c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x472f28[0x1]={..._0x472f28[0x1],[_0x18456c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x301ec8};},{[_0x18456c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18456c([0x68,0x69,0x67,0x68])}),_0x536907[_0x18456c([0x6f,0x6e])](_0x18456c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3d0618=>{_0x126bd3(_0x3d0618[_0x18456c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4aa6c9=!0x0,_0x201b1d(_0x3d0618[_0x18456c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x18456c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18456c([0x6c,0x6f,0x77])}),_0x3e8ba2[_0x18456c([0x74,0x68,0x65,0x6e])](()=>{_0x4aa6c9||_0x300d48(_0x18456c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x44fc70(){return _0x536907[_0x18456c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18456c([0x76,0x69,0x65,0x77])][_0x18456c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x18456c([0x61,0x75,0x74,0x6f]);}function _0x38f865(){_0x536907[_0x18456c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18456c([0x76,0x69,0x65,0x77])][_0x18456c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x18456c([0x61,0x75,0x74,0x6f]);}}(_0x59e656[_0x18456c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x59e656[_0x18456c([0x6a,0x74,0x69])]));const _0x1acc08=await(async function(){let _0xf12835=!0x0;try{const _0x31ed52=_0x2cc705[_0x18456c([0x73,0x70,0x6c,0x69,0x74])](_0x18456c([0x2e])),[_0x5e8356,_0x1ef2fc,_0x3c36e6]=_0x31ed52;return _0x47fd41(_0x5e8356),await _0x1da6e3(_0x5e8356,_0x1ef2fc,_0x3c36e6),_0xf12835;}catch{return!0x1;}function _0x47fd41(_0x36bb6b){const _0x35cc77=_0xd89932(_0x36bb6b);_0x35cc77&&_0x35cc77[_0x18456c([0x61,0x6c,0x67])]==_0x18456c([0x45,0x53,0x32,0x35,0x36])||(_0xf12835=!0x1);}async function _0x1da6e3(_0x5aa4e3,_0x2f9911,_0x29fabd){const _0x18558a=window[_0x18456c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x18456c([0x66,0x72,0x6f,0x6d])](_0x1d2c7b(_0x29fabd),_0x4b2a63=>_0x4b2a63[_0x18456c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x14e793=new window[(_0x18456c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x18456c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5aa4e3+_0x18456c([0x2e])+_0x2f9911),_0x1d3ff9=window[_0x18456c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x18456c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d3ff9)return;const _0x1b4a43=await _0x1d3ff9[_0x18456c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x18456c([0x6a,0x77,0x6b]),_0x47220c,{[_0x18456c([0x6e,0x61,0x6d,0x65])]:_0x18456c([0x45,0x43,0x44,0x53,0x41]),[_0x18456c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x18456c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x18456c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d3ff9[_0x18456c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x18456c([0x6e,0x61,0x6d,0x65])]:_0x18456c([0x45,0x43,0x44,0x53,0x41]),[_0x18456c([0x68,0x61,0x73,0x68])]:{[_0x18456c([0x6e,0x61,0x6d,0x65])]:_0x18456c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b4a43,_0x18558a,_0x14e793)||(_0xf12835=!0x1);}}());return _0x1acc08?(function(){const _0x3657eb=_0x59e656[_0x18456c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3657eb)return!0x1;if(_0x3657eb[_0x18456c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18456c([0x2a])))return!0x0;if(_0x3657eb[_0x18456c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18456c([0x55,0x50,0x4c,0x43])))return!0x0;return!0x1;}())?(function(){const _0x18e1a1=[_0x18456c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x18456c([0x74,0x72,0x69,0x61,0x6c])][_0x18456c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59e656[_0x18456c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b01d9/0x3e8:0x69e02680;return _0x59e656[_0x18456c([0x65,0x78,0x70])]<_0x18e1a1;}())?_0x18456c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x4b8693=_0x59e656[_0x18456c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4b8693||0x0==_0x4b8693[_0x18456c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa41408}=new URL(window[_0x18456c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4b8693[_0x18456c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa41408))return!0x0;const _0x13bdca=_0xa41408[_0x18456c([0x73,0x70,0x6c,0x69,0x74])](_0x18456c([0x2e]));return _0x4b8693[_0x18456c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x119eca=>_0x119eca[_0x18456c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18456c([0x2a])))[_0x18456c([0x6d,0x61,0x70])](_0x4234d4=>_0x4234d4[_0x18456c([0x73,0x70,0x6c,0x69,0x74])](_0x18456c([0x2e])))[_0x18456c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f2030=>_0x1f2030[_0x18456c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x13bdca[_0x18456c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18456c([0x6d,0x61,0x70])](_0xf6f1a6=>Array(_0x13bdca[_0x18456c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf6f1a6[_0x18456c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18456c([0x66,0x69,0x6c,0x6c])](_0xf6f1a6[0x0]===_0x18456c([0x2a])?_0x18456c([0x2a]):'')[_0x18456c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf6f1a6))[_0x18456c([0x73,0x6f,0x6d,0x65])](_0x3c4374=>_0x13bdca[_0x18456c([0x65,0x76,0x65,0x72,0x79])]((_0x2603fb,_0xbd2cbe)=>_0x3c4374[_0xbd2cbe]===_0x2603fb||_0x3c4374[_0xbd2cbe]===_0x18456c([0x2a])));}())?(_0x59e656[_0x18456c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18456c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c034b=function(_0x4537c6){const _0xa7bda6=new window[(_0x18456c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ca850=>setTimeout(_0x4ca850,0x93ecc)),_0x141f14=_0x3e8ba2[_0x18456c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x18456c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1526d0=>{let _0x194b87=0x0;_0x536907[_0x18456c([0x6d,0x6f,0x64,0x65,0x6c])][_0x18456c([0x6f,0x6e])](_0x18456c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5df2eb,_0x5c453a)=>{_0x5c453a[0x0][_0x18456c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x194b87++,0x5e8==_0x194b87&&(_0x1526d0(),_0x5df2eb[_0x18456c([0x6f,0x66,0x66])]());});})),_0x1980fd=[_0xa7bda6,_0x141f14];return window[_0x18456c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x18456c([0x72,0x61,0x63,0x65])](_0x1980fd)[_0x18456c([0x74,0x68,0x65,0x6e])](()=>_0x4537c6);}(_0x18456c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2c034b&&_0x2ac156)return new window[(_0x18456c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ace21,_0x3c4a27)=>{_0x2c034b[_0x18456c([0x74,0x68,0x65,0x6e])](_0x5ace21,_0x3c4a27),_0x2ac156[_0x18456c([0x74,0x68,0x65,0x6e])](_0x5c2679=>{_0x5c2679!=_0x18456c([0x56,0x61,0x6c,0x69,0x64])&&_0x5ace21(_0x5c2679);},_0x3c4a27);});return _0x2c034b||_0x2ac156||_0x18456c([0x56,0x61,0x6c,0x69,0x64]);}())):_0x18456c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x18456c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x18456c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x18456c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0xd89932(_0x203384){return _0x203384[_0x18456c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x18456c([0x65,0x79]))?JSON[_0x18456c([0x70,0x61,0x72,0x73,0x65])](_0x1d2c7b(_0x203384)):null;}function _0x1d2c7b(_0x338db9){return window[_0x18456c([0x61,0x74,0x6f,0x62])](_0x338db9[_0x18456c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x18456c([0x2b]))[_0x18456c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x18456c([0x2f])));}function _0x10f298(_0x36226e){let _0x116fcf=0x1505;function _0x5b6f1a(_0x152c03){for(let _0x45259b=0x0;_0x45259b<_0x152c03[_0x18456c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45259b++){const _0x203f45=_0x152c03[_0x18456c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45259b);_0x116fcf=(_0x116fcf<<0x5)+_0x116fcf+_0x203f45,_0x116fcf&=_0x116fcf;}}return function _0x3b9477(_0x5c6738){Array[_0x18456c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5c6738)?_0x5c6738[_0x18456c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b9477):_0x5c6738&&typeof _0x5c6738==_0x18456c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x18456c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5c6738)[_0x18456c([0x73,0x6f,0x72,0x74])]()[_0x18456c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x445d4c,_0x21c565])=>{_0x5b6f1a(_0x445d4c),_0x3b9477(_0x21c565);}):_0x5b6f1a(window[_0x18456c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5c6738));}(_0x36226e),_0x116fcf>>>0x0;}function _0x31d548(_0x86668d){return _0x86668d[_0x18456c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x18456c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x18456c([0x30]));}function _0x34d1c5(_0x15b0c5){return _0x15b0c5[_0x18456c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x18456c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x18456c([0x6a,0x6f,0x69,0x6e])]('');}function _0x15d085(){}function _0x18456c(_0x4377ed){return _0x4377ed['map'](_0x59e1d3=>String['fromCharCode'](_0x59e1d3))['join']('');}!function(_0x242081){const _0x1aab20=(function(){const _0x5c6b0b=window[_0x18456c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x18456c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x18456c([0x6e,0x6f,0x77])]())[_0x18456c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x18456c([0x2e]),'');let _0x4a6dd0=_0x18456c([0x68]);for(let _0x24ff51=0x0;_0x24ff51<_0x5c6b0b[_0x18456c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24ff51+=0x2){let _0x22508d=window[_0x18456c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c6b0b[_0x18456c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24ff51,_0x24ff51+0x2));_0x22508d>=_0x3e0f7c[_0x18456c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22508d-=_0x3e0f7c[_0x18456c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a6dd0+=_0x3e0f7c[_0x22508d];}return _0x4a6dd0;}());_0x536907[_0x1aab20]=_0x18456c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x242081,_0x242081!=_0x18456c([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x3e8ba2,_0x536907[_0x18456c([0x6d,0x6f,0x64,0x65,0x6c])][_0x18456c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x15d085,_0x536907[_0x18456c([0x6d,0x6f,0x64,0x65,0x6c])][_0x18456c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x15d085,_0x536907[_0x18456c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18456c([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x321499);}var _0x8fc2b4=Object['defineProperty'],_0x10cd9d=(_0x15288a,_0x43ea31,_0x8e498f)=>_0x43ea31 in _0x15288a?_0x8fc2b4(_0x15288a,_0x43ea31,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8e498f}):_0x15288a[_0x43ea31]=_0x8e498f,_0x5b870e=(_0x3078a3,_0x4f23bc,_0x47ab40)=>(_0x10cd9d(_0x3078a3,'symbol'!=typeof _0x4f23bc?_0x4f23bc+'':_0x4f23bc,_0x47ab40),_0x47ab40);function _0x39f8b3(_0x2b72df){let _0x80d9ac=_0x328d42=>{var _0x53eaaa;for(let _0xee3afc in _0x328d42)(null==(_0x53eaaa=_0x328d42[_0xee3afc])?void 0x0:_0x53eaaa['constructor'])===Object&&(_0x328d42[_0xee3afc]=_0x80d9ac(_0x328d42[_0xee3afc]));return{..._0x328d42};};return _0x80d9ac(_0x2b72df);}var Data=class{constructor(_0xe40bea){_0xe40bea['constructor']===Object?this['store']=_0x39f8b3(_0xe40bea):(this['_storeIsProxy']=!0x0,this['store']=_0xe40bea),this['callbackMap']=Object['create'](null);}static['warn'](_0x317dd0,_0x40ca14){console['warn']('Symbiote\x20Data:\x20cannot\x20'+_0x317dd0+'.\x20Prop\x20name:\x20'+_0x40ca14);}['read'](_0x403856){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x403856)?this['store'][_0x403856]:(Data['warn']('read',_0x403856),null);}['has'](_0x4af502){return this['_storeIsProxy']?void 0x0!==this['store'][_0x4af502]:this['store']['hasOwnProperty'](_0x4af502);}['add'](_0x419695,_0x2855b3,_0x2636d0=!0x1){!_0x2636d0&&Object['keys'](this['store'])['includes'](_0x419695)||(this['store'][_0x419695]=_0x2855b3,this['notify'](_0x419695));}['pub'](_0x33d062,_0x7cd534){this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x33d062)?(this['store'][_0x33d062]=_0x7cd534,this['notify'](_0x33d062)):Data['warn']('publish',_0x33d062);}['multiPub'](_0x5a4b2e){for(let _0x2177e5 in _0x5a4b2e)this['pub'](_0x2177e5,_0x5a4b2e[_0x2177e5]);}['notify'](_0x43c992){this['callbackMap'][_0x43c992]&&this['callbackMap'][_0x43c992]['forEach'](_0xf4a635=>{_0xf4a635(this['store'][_0x43c992]);});}['sub'](_0x48020b,_0x53de6d,_0x2b8e9b=!0x0){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x48020b)?(this['callbackMap'][_0x48020b]||(this['callbackMap'][_0x48020b]=new Set()),this['callbackMap'][_0x48020b]['add'](_0x53de6d),_0x2b8e9b&&_0x53de6d(this['store'][_0x48020b]),{'remove':()=>{this['callbackMap'][_0x48020b]['delete'](_0x53de6d),this['callbackMap'][_0x48020b]['size']||delete this['callbackMap'][_0x48020b];},'callback':_0x53de6d}):(Data['warn']('subscribe',_0x48020b),null);}static['registerCtx'](_0x531110,_0x550679=Symbol()){let _0x51ff86=Data['globalStore']['get'](_0x550679);return _0x51ff86?console['warn']('State:\x20context\x20UID\x20\x22'+_0x550679+'\x22\x20already\x20in\x20use'):(_0x51ff86=new Data(_0x531110),Data['globalStore']['set'](_0x550679,_0x51ff86)),_0x51ff86;}static['deleteCtx'](_0x2067cc){Data['globalStore']['delete'](_0x2067cc);}static['getCtx'](_0x1fde95,_0x574432=!0x0){return Data['globalStore']['get'](_0x1fde95)||(_0x574432&&console['warn']('State:\x20wrong\x20context\x20UID\x20-\x20\x22'+_0x1fde95+'\x22'),null);}};Data['globalStore']=new Map();var _0x293048=Object['freeze']({'BIND_ATTR':'set','ATTR_BIND_PRFX':'@','EXT_DATA_CTX_PRFX':'*','NAMED_DATA_CTX_SPLTR':'/','CTX_NAME_ATTR':'ctx-name','CTX_OWNER_ATTR':'ctx-owner','CSS_CTX_PROP':'--ctx-name','EL_REF_ATTR':'ref','AUTO_TAG_PRFX':'sym','REPEAT_ATTR':'repeat','REPEAT_ITEM_TAG_ATTR':'repeat-item-tag','SET_LATER_KEY':'__toSetLater__','USE_TPL':'use-template','ROOT_STYLE_ATTR_NAME':'sym-component'}),_0x1f42ec='1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm',_0x10e895=_0x1f42ec['length']-0x1,_0x4f7a5d=class{static['generate'](_0x47c4cc='XXXXXXXXX-XXX'){let _0x1e4eac='';for(let _0x23e2ec=0x0;_0x23e2ec<_0x47c4cc['length'];_0x23e2ec++)_0x1e4eac+='-'===_0x47c4cc[_0x23e2ec]?_0x47c4cc[_0x23e2ec]:_0x1f42ec['charAt'](Math['random']()*_0x10e895);return _0x1e4eac;}};function setNestedProp(_0x2b7f76,_0x54bb5a,_0x5962b7){let _0x37c676,_0x455931=!0x0,_0x4cc3e5=_0x54bb5a['split']('.');return _0x4cc3e5['forEach']((_0x2a2394,_0x17c36e)=>{_0x17c36e<_0x4cc3e5['length']-0x1?_0x2b7f76=_0x2b7f76[_0x2a2394]:_0x37c676=_0x2a2394;}),_0x2b7f76?_0x2b7f76[_0x37c676]=_0x5962b7:_0x455931=!0x1,_0x455931;}function _0x343079(_0xb510bb){return _0xb510bb['split']('-')['map']((_0x136d11,_0x12dd86)=>_0x136d11&&_0x12dd86?_0x136d11[0x0]['toUpperCase']()+_0x136d11['slice'](0x1):_0x136d11)['join']('')['split']('_')['map']((_0x469c6d,_0x157308)=>_0x469c6d&&_0x157308?_0x469c6d['toUpperCase']():_0x469c6d)['join']('');}function repeatProcessor(_0x4dd7ae,_0x1f15f5){[..._0x4dd7ae['querySelectorAll']('['+_0x293048['REPEAT_ATTR']+']')]['forEach'](_0x39f811=>{let _0x367f6a,_0x223091=_0x39f811['getAttribute'](_0x293048['REPEAT_ITEM_TAG_ATTR']);if(_0x223091&&(_0x367f6a=window['customElements']['get'](_0x223091)),!_0x367f6a){_0x367f6a=class extends _0x1f15f5['BaseComponent']{constructor(){super(),_0x223091||(this['style']['display']='contents');}};let _0x239cb9=_0x39f811['innerHTML'];_0x367f6a['template']=_0x239cb9,_0x367f6a['reg'](_0x223091);}for(;_0x39f811['firstChild'];)_0x39f811['firstChild']['remove']();let _0x554699=_0x39f811['getAttribute'](_0x293048['REPEAT_ATTR']);_0x1f15f5['sub'](_0x554699,_0x2e407a=>{if(!_0x2e407a){for(;_0x39f811['firstChild'];)_0x39f811['firstChild']['remove']();return;}let _0x590dc0,_0x1c6fb4=[..._0x39f811['children']],_0x438d2d=_0x35af28=>{_0x35af28['forEach']((_0x494b,_0x257580)=>{if(_0x1c6fb4[_0x257580]){if(_0x1c6fb4[_0x257580]['set$'])setTimeout(()=>{_0x1c6fb4[_0x257580]['set$'](_0x494b);});else{for(let _0x34f3d6 in _0x494b)_0x1c6fb4[_0x257580][_0x34f3d6]=_0x494b[_0x34f3d6];}}else{_0x590dc0||(_0x590dc0=new DocumentFragment());let _0x43afa0=new _0x367f6a();Object['assign'](_0x43afa0['init$'],_0x494b),_0x590dc0['appendChild'](_0x43afa0);}}),_0x590dc0&&_0x39f811['appendChild'](_0x590dc0);let _0x7030b9=_0x1c6fb4['slice'](_0x35af28['length'],_0x1c6fb4['length']);for(let _0x51e7ac of _0x7030b9)_0x51e7ac['remove']();};if(_0x2e407a['constructor']===Array)_0x438d2d(_0x2e407a);else{if(_0x2e407a['constructor']===Object){let _0x55ff7b=[];for(let _0x32bb35 in _0x2e407a){let _0x1d92cd=_0x2e407a[_0x32bb35];Object['defineProperty'](_0x1d92cd,'_KEY_',{'value':_0x32bb35,'enumerable':!0x0}),_0x55ff7b['push'](_0x1d92cd);}_0x438d2d(_0x55ff7b);}else console['warn']('Symbiote\x20repeat\x20data\x20type\x20error:'),console['log'](_0x2e407a);}}),_0x39f811['removeAttribute'](_0x293048['REPEAT_ATTR']),_0x39f811['removeAttribute'](_0x293048['REPEAT_ITEM_TAG_ATTR']);});}var _0x583f07='__default__';function slotProcessor(_0x265fe7,_0x1f15e0){if(_0x1f15e0['shadowRoot'])return;let _0xed9085=[..._0x265fe7['querySelectorAll']('slot')];if(!_0xed9085['length'])return;let _0x5c34e2={};_0xed9085['forEach'](_0x297736=>{let _0x4e5c83=_0x297736['getAttribute']('name')||_0x583f07;_0x5c34e2[_0x4e5c83]={'slot':_0x297736,'fr':document['createDocumentFragment']()};}),_0x1f15e0['initChildren']['forEach'](_0x337fac=>{var _0x120e5b;let _0x4be91f=_0x583f07;_0x337fac instanceof Element&&_0x337fac['hasAttribute']('slot')&&(_0x4be91f=_0x337fac['getAttribute']('slot'),_0x337fac['removeAttribute']('slot')),null==(_0x120e5b=_0x5c34e2[_0x4be91f])||_0x120e5b['fr']['appendChild'](_0x337fac);}),Object['values'](_0x5c34e2)['forEach'](_0xa31a36=>{if(_0xa31a36['fr']['childNodes']['length'])_0xa31a36['slot']['parentNode']['replaceChild'](_0xa31a36['fr'],_0xa31a36['slot']);else{if(_0xa31a36['slot']['childNodes']['length']){let _0x2736dc=document['createDocumentFragment']();_0x2736dc['append'](..._0xa31a36['slot']['childNodes']),_0xa31a36['slot']['parentNode']['replaceChild'](_0x2736dc,_0xa31a36['slot']);}else _0xa31a36['slot']['remove']();}});}function _0x4f5ae5(_0x3d42de,_0x5cd024){[..._0x3d42de['querySelectorAll']('['+_0x293048['EL_REF_ATTR']+']')]['forEach'](_0xdfdd9f=>{let _0x22d886=_0xdfdd9f['getAttribute'](_0x293048['EL_REF_ATTR']);_0x5cd024['ref'][_0x22d886]=_0xdfdd9f,_0xdfdd9f['removeAttribute'](_0x293048['EL_REF_ATTR']);});}function domSetProcessor(_0x1bd270,_0x24c984){[..._0x1bd270['querySelectorAll']('['+_0x293048['BIND_ATTR']+']')]['forEach'](_0x167501=>{let _0x422bb8=_0x167501['getAttribute'](_0x293048['BIND_ATTR'])['split'](';');[..._0x167501['attributes']]['forEach'](_0x4e3d27=>{if(_0x4e3d27['name']['startsWith']('-')&&_0x4e3d27['value']){let _0x14a44c=_0x343079(_0x4e3d27['name']['replace']('-',''));_0x422bb8['push'](_0x14a44c+':'+_0x4e3d27['value']),_0x167501['removeAttribute'](_0x4e3d27['name']);}}),_0x422bb8['forEach'](_0x10b0c1=>{if(!_0x10b0c1)return;let _0x1bd078,_0x5a2727=_0x10b0c1['split'](':')['map'](_0x35030b=>_0x35030b['trim']()),_0x36d503=_0x5a2727[0x0];0x0===_0x36d503['indexOf'](_0x293048['ATTR_BIND_PRFX'])&&(_0x1bd078=!0x0,_0x36d503=_0x36d503['replace'](_0x293048['ATTR_BIND_PRFX'],''));let _0xc9f74b=_0x5a2727[0x1]['split'](',')['map'](_0x3eab19=>_0x3eab19['trim']());for(let _0x17b745 of _0xc9f74b){let _0x54e8a3;_0x17b745['startsWith']('!!')?(_0x54e8a3='double',_0x17b745=_0x17b745['replace']('!!','')):_0x17b745['startsWith']('!')&&(_0x54e8a3='single',_0x17b745=_0x17b745['replace']('!','')),_0x24c984['sub'](_0x17b745,_0x2c138e=>{'double'===_0x54e8a3?_0x2c138e=!!_0x2c138e:'single'===_0x54e8a3&&(_0x2c138e=!_0x2c138e),_0x1bd078?(null==_0x2c138e?void 0x0:_0x2c138e['constructor'])===Boolean?_0x2c138e?_0x167501['setAttribute'](_0x36d503,''):_0x167501['removeAttribute'](_0x36d503):_0x167501['setAttribute'](_0x36d503,_0x2c138e):setNestedProp(_0x167501,_0x36d503,_0x2c138e)||(_0x167501[_0x293048['SET_LATER_KEY']]||(_0x167501[_0x293048['SET_LATER_KEY']]=Object['create'](null)),_0x167501[_0x293048['SET_LATER_KEY']][_0x36d503]=_0x2c138e);});}}),_0x167501['removeAttribute'](_0x293048['BIND_ATTR']);});}var _0x492e33='{{',_0x26ca10='}}',_0x950f97='skip-text';function getTextNodesWithTokens(_0x126fda){let _0x2d3e70,_0x462989=[],_0x469056=document['createTreeWalker'](_0x126fda,NodeFilter['SHOW_TEXT'],{'acceptNode':_0x42680d=>{var _0x232359;return!(null==(_0x232359=_0x42680d['parentElement'])?void 0x0:_0x232359['hasAttribute'](_0x950f97))&&_0x42680d['textContent']['includes'](_0x492e33)&&_0x42680d['textContent']['includes'](_0x26ca10)&&0x1;}});for(;_0x2d3e70=_0x469056['nextNode']();)_0x462989['push'](_0x2d3e70);return _0x462989;}var txtNodesProcessor=function(_0x5251ae,_0x1464f8){getTextNodesWithTokens(_0x5251ae)['forEach'](_0x2e15ca=>{let _0x10f3f9,_0x643647=[];for(;_0x2e15ca['textContent']['includes'](_0x26ca10);)_0x2e15ca['textContent']['startsWith'](_0x492e33)?(_0x10f3f9=_0x2e15ca['textContent']['indexOf'](_0x26ca10)+_0x26ca10['length'],_0x2e15ca['splitText'](_0x10f3f9),_0x643647['push'](_0x2e15ca)):(_0x10f3f9=_0x2e15ca['textContent']['indexOf'](_0x492e33),_0x2e15ca['splitText'](_0x10f3f9)),_0x2e15ca=_0x2e15ca['nextSibling'];_0x643647['forEach'](_0x378320=>{let _0x29ff73=_0x378320['textContent']['replace'](_0x492e33,'')['replace'](_0x26ca10,'');_0x378320['textContent']='',_0x1464f8['sub'](_0x29ff73,_0x16bc0e=>{_0x378320['textContent']=_0x16bc0e;});});});},tpl_processors_default=[repeatProcessor,slotProcessor,_0x4f5ae5,domSetProcessor,txtNodesProcessor],_0x1d7289='\x27',_0x3995a0='\x22',_0x49de60=/\\([0-9a-fA-F]{1,6} ?)/g;function hasLeadingTrailingQuotes(_0x1bb15c){return!(_0x1bb15c[0x0]!==_0x3995a0&&_0x1bb15c[0x0]!==_0x1d7289||_0x1bb15c[_0x1bb15c['length']-0x1]!==_0x3995a0&&_0x1bb15c[_0x1bb15c['length']-0x1]!==_0x1d7289);}function trimQuotes(_0x5d27a5){return _0x5d27a5[0x0]!==_0x3995a0&&_0x5d27a5[0x0]!==_0x1d7289||(_0x5d27a5=_0x5d27a5['slice'](0x1)),_0x5d27a5[_0x5d27a5['length']-0x1]!==_0x3995a0&&_0x5d27a5[_0x5d27a5['length']-0x1]!==_0x1d7289||(_0x5d27a5=_0x5d27a5['slice'](0x0,-0x1)),_0x5d27a5;}function escapeQuotes(_0x474841){let _0x37ac8d='',_0x4e5bb9='';for(var _0x305c10=0x0;_0x305c10<_0x474841['length'];_0x305c10++){const _0x16f11c=_0x474841[_0x305c10+0x1];'\x5c'===_0x474841[_0x305c10]&&'\x22'===_0x16f11c?(_0x37ac8d+='\x5c\x22',_0x305c10++):'\x22'===_0x474841[_0x305c10]&&'\x5c'!==_0x4e5bb9?_0x37ac8d+='\x5c\x22':_0x37ac8d+=_0x474841[_0x305c10],_0x4e5bb9=_0x474841[_0x305c10];}return _0x37ac8d;}function parseCssPropertyValue(_0x1528e2){let _0x1addee=_0x1528e2;hasLeadingTrailingQuotes(_0x1528e2)&&(_0x1addee=trimQuotes(_0x1addee),_0x1addee=_0x1addee['replace'](_0x49de60,(_0x488a6c,_0x170d6b)=>String['fromCodePoint'](parseInt(_0x170d6b['trim'](),0x10))),_0x1addee=_0x1addee['replaceAll']('\x5c\x0a','\x5cn'),_0x1addee=escapeQuotes(_0x1addee),_0x1addee=_0x3995a0+_0x1addee+_0x3995a0);try{return JSON['parse'](_0x1addee);}catch(_0x5d23fa){throw new Error('Failed\x20to\x20parse\x20CSS\x20property\x20value:\x20'+_0x1addee+'.\x20Original\x20input:\x20'+_0x1528e2);}}var autoTagsCount=0x0,styleMutationObserver=null,styleMutationObserverCbList=null,_BaseComponent=class extends HTMLElement{constructor(){super(),_0x5b870e(this,'updateCssData',()=>{var _0xbc77d1;this['dropCssDataCache'](),null==(_0xbc77d1=this['__boundCssProps'])||_0xbc77d1['forEach'](_0x3b00c9=>{let _0x4e967a=this['getCssData'](this['__extractCssName'](_0x3b00c9),!0x0);null!==_0x4e967a&&this['$'][_0x3b00c9]!==_0x4e967a&&(this['$'][_0x3b00c9]=_0x4e967a);});}),this['init$']=Object['create'](null),this['cssInit$']=Object['create'](null),this['tplProcessors']=new Set(),this['ref']=Object['create'](null),this['allSubs']=new Set(),this['pauseRender']=!0x1,this['renderShadow']=!0x1,this['readyToDestroy']=!0x0,this['processInnerHtml']=!0x1,this['allowCustomTemplate']=!0x1,this['ctxOwner']=!0x1;}get['BaseComponent'](){return _BaseComponent;}['initCallback'](){}['__initCallback'](){var _0x590e52;this['__initialized']||(this['__initialized']=!0x0,null==(_0x590e52=this['initCallback'])||_0x590e52['call'](this));}['render'](_0x202a28,_0x13e72e=this['renderShadow']){let _0x1369aa;if(!_0x13e72e&&!this['constructor']['__shadowStylesUrl']||this['shadowRoot']||this['attachShadow']({'mode':'open'}),this['allowCustomTemplate']){let _0x383df7=this['getAttribute'](_0x293048['USE_TPL']);if(_0x383df7){let _0x19a5a2=this['getRootNode'](),_0x18dd37=(null==_0x19a5a2?void 0x0:_0x19a5a2['querySelector'](_0x383df7))||document['querySelector'](_0x383df7);_0x18dd37?_0x202a28=_0x18dd37['content']['cloneNode'](!0x0):console['warn']('Symbiote\x20template\x20\x22'+_0x383df7+'\x22\x20is\x20not\x20found...');}}if(this['processInnerHtml']){for(let _0x525602 of this['tplProcessors'])_0x525602(this,this);}if(_0x202a28||this['constructor']['template']){if(this['constructor']['template']&&!this['constructor']['__tpl']&&(this['constructor']['__tpl']=document['createElement']('template'),this['constructor']['__tpl']['innerHTML']=this['constructor']['template']),(null==_0x202a28?void 0x0:_0x202a28['constructor'])===DocumentFragment)_0x1369aa=_0x202a28;else{if((null==_0x202a28?void 0x0:_0x202a28['constructor'])===String){let _0xe1365c=document['createElement']('template');_0xe1365c['innerHTML']=_0x202a28,_0x1369aa=_0xe1365c['content']['cloneNode'](!0x0);}else this['constructor']['__tpl']&&(_0x1369aa=this['constructor']['__tpl']['content']['cloneNode'](!0x0));}for(let _0x1083bf of this['tplProcessors'])_0x1083bf(_0x1369aa,this);}let _0x18f123=()=>{_0x1369aa&&(_0x13e72e&&this['shadowRoot']['appendChild'](_0x1369aa)||this['appendChild'](_0x1369aa)),this['__initCallback']();};if(this['constructor']['__shadowStylesUrl']){_0x13e72e=!0x0;let _0x55c470=document['createElement']('link');_0x55c470['rel']='stylesheet',_0x55c470['href']=this['constructor']['__shadowStylesUrl'],_0x55c470['onload']=_0x18f123,this['shadowRoot']['prepend'](_0x55c470);}else _0x18f123();}['addTemplateProcessor'](_0x57e608){this['tplProcessors']['add'](_0x57e608);}get['autoCtxName'](){return this['__autoCtxName']||(this['__autoCtxName']=_0x4f7a5d['generate'](),this['style']['setProperty'](_0x293048['CSS_CTX_PROP'],'\x27'+this['__autoCtxName']+'\x27')),this['__autoCtxName'];}get['cssCtxName'](){return this['getCssData'](_0x293048['CSS_CTX_PROP'],!0x0);}get['ctxName'](){var _0x4903af;let _0x283532=(null==(_0x4903af=this['getAttribute'](_0x293048['CTX_NAME_ATTR']))?void 0x0:_0x4903af['trim']())||this['cssCtxName']||this['__cachedCtxName']||this['autoCtxName'];return this['__cachedCtxName']=_0x283532,_0x283532;}get['localCtx'](){return this['__localCtx']||(this['__localCtx']=Data['registerCtx']({},this)),this['__localCtx'];}get['nodeCtx'](){return Data['getCtx'](this['ctxName'],!0x1)||Data['registerCtx']({},this['ctxName']);}static['__parseProp'](_0x1bf028,_0x37c41c){let _0x3d4ee0,_0x2854f6;if(_0x1bf028['startsWith'](_0x293048['EXT_DATA_CTX_PRFX']))_0x3d4ee0=_0x37c41c['nodeCtx'],_0x2854f6=_0x1bf028['replace'](_0x293048['EXT_DATA_CTX_PRFX'],'');else{if(_0x1bf028['includes'](_0x293048['NAMED_DATA_CTX_SPLTR'])){let _0x4b21fd=_0x1bf028['split'](_0x293048['NAMED_DATA_CTX_SPLTR']);_0x3d4ee0=Data['getCtx'](_0x4b21fd[0x0]),_0x2854f6=_0x4b21fd[0x1];}else _0x3d4ee0=_0x37c41c['localCtx'],_0x2854f6=_0x1bf028;}return{'ctx':_0x3d4ee0,'name':_0x2854f6};}['sub'](_0xa3d91b,_0x1ac102,_0x296064=!0x0){let _0x3244aa=_0x5ae9f3=>{this['isConnected']&&_0x1ac102(_0x5ae9f3);},_0x327bf7=_BaseComponent['__parseProp'](_0xa3d91b,this);_0x327bf7['ctx']['has'](_0x327bf7['name'])?this['allSubs']['add'](_0x327bf7['ctx']['sub'](_0x327bf7['name'],_0x3244aa,_0x296064)):window['setTimeout'](()=>{this['allSubs']['add'](_0x327bf7['ctx']['sub'](_0x327bf7['name'],_0x3244aa,_0x296064));});}['notify'](_0x406d9d){let _0x400ab1=_BaseComponent['__parseProp'](_0x406d9d,this);_0x400ab1['ctx']['notify'](_0x400ab1['name']);}['has'](_0x1a832b){let _0x54832d=_BaseComponent['__parseProp'](_0x1a832b,this);return _0x54832d['ctx']['has'](_0x54832d['name']);}['add'](_0x103067,_0x4e4298,_0x2ad999=!0x1){let _0x227022=_BaseComponent['__parseProp'](_0x103067,this);_0x227022['ctx']['add'](_0x227022['name'],_0x4e4298,_0x2ad999);}['add$'](_0x18a634,_0x225710=!0x1){for(let _0xa39959 in _0x18a634)this['add'](_0xa39959,_0x18a634[_0xa39959],_0x225710);}get['$'](){if(!this['__stateProxy']){let _0xedfc9a=Object['create'](null);this['__stateProxy']=new Proxy(_0xedfc9a,{'set':(_0x181d62,_0x1093ad,_0x4e8f44)=>{let _0x18a8c1=_BaseComponent['__parseProp'](_0x1093ad,this);return _0x18a8c1['ctx']['pub'](_0x18a8c1['name'],_0x4e8f44),!0x0;},'get':(_0x5afb77,_0x14fc44)=>{let _0x5c49fa=_BaseComponent['__parseProp'](_0x14fc44,this);return _0x5c49fa['ctx']['read'](_0x5c49fa['name']);}});}return this['__stateProxy'];}['set$'](_0x34c96b,_0x5e8da2=!0x1){for(let _0x40433d in _0x34c96b){let _0x49e609=_0x34c96b[_0x40433d],_0x2bc543=[String,Number,Boolean];(_0x5e8da2||!_0x2bc543['includes'](null==_0x49e609?void 0x0:_0x49e609['constructor'])||this['$'][_0x40433d]!==_0x49e609)&&(this['$'][_0x40433d]=_0x49e609);}}get['__ctxOwner'](){return this['ctxOwner']||this['hasAttribute'](_0x293048['CTX_OWNER_ATTR'])&&'false'!==this['getAttribute'](_0x293048['CTX_OWNER_ATTR']);}['__initDataCtx'](){let _0xa45935=this['constructor']['__attrDesc'];if(_0xa45935){for(let _0x2aabaa of Object['values'](_0xa45935))Object['keys'](this['init$'])['includes'](_0x2aabaa)||(this['init$'][_0x2aabaa]='');}for(let _0xc0b228 in this['init$'])if(_0xc0b228['startsWith'](_0x293048['EXT_DATA_CTX_PRFX']))this['nodeCtx']['add'](_0xc0b228['replace'](_0x293048['EXT_DATA_CTX_PRFX'],''),this['init$'][_0xc0b228],this['__ctxOwner']);else{if(_0xc0b228['includes'](_0x293048['NAMED_DATA_CTX_SPLTR'])){let _0x4abb79=_0xc0b228['split'](_0x293048['NAMED_DATA_CTX_SPLTR']),_0x4717f9=_0x4abb79[0x0]['trim'](),_0x5f118e=_0x4abb79[0x1]['trim']();if(_0x4717f9&&_0x5f118e){let _0x4cdf38=Data['getCtx'](_0x4717f9,!0x1);_0x4cdf38||(_0x4cdf38=Data['registerCtx']({},_0x4717f9)),_0x4cdf38['add'](_0x5f118e,this['init$'][_0xc0b228]);}}else this['localCtx']['add'](_0xc0b228,this['init$'][_0xc0b228]);}for(let _0x4741af in this['cssInit$'])this['bindCssData'](_0x4741af,this['cssInit$'][_0x4741af]);this['__dataCtxInitialized']=!0x0;}['connectedCallback'](){var _0x32ce99;if(this['isConnected']){if(this['__disconnectTimeout']&&window['clearTimeout'](this['__disconnectTimeout']),!this['connectedOnce']){let _0x4ee4f0=null==(_0x32ce99=this['getAttribute'](_0x293048['CTX_NAME_ATTR']))?void 0x0:_0x32ce99['trim']();if(_0x4ee4f0&&this['style']['setProperty'](_0x293048['CSS_CTX_PROP'],'\x27'+_0x4ee4f0+'\x27'),this['__initDataCtx'](),this[_0x293048['SET_LATER_KEY']]){for(let _0x3d4f07 in this[_0x293048['SET_LATER_KEY']])setNestedProp(this,_0x3d4f07,this[_0x293048['SET_LATER_KEY']][_0x3d4f07]);delete this[_0x293048['SET_LATER_KEY']];}this['initChildren']=[...this['childNodes']];for(let _0x10c0d7 of tpl_processors_default)this['addTemplateProcessor'](_0x10c0d7);if(this['pauseRender'])this['__initCallback']();else{if(this['constructor']['__rootStylesLink']){let _0x16e650=this['getRootNode']();if(!_0x16e650)return;if(null==_0x16e650?void 0x0:_0x16e650['querySelector']('link['+_0x293048['ROOT_STYLE_ATTR_NAME']+'=\x22'+this['constructor']['is']+'\x22]'))return void this['render']();let _0x49f6d5=this['constructor']['__rootStylesLink']['cloneNode'](!0x0);_0x49f6d5['setAttribute'](_0x293048['ROOT_STYLE_ATTR_NAME'],this['constructor']['is']),_0x49f6d5['onload']=()=>{this['render']();},_0x16e650['nodeType']===Node['DOCUMENT_NODE']?_0x16e650['head']['appendChild'](_0x49f6d5):_0x16e650['prepend'](_0x49f6d5);}else this['render']();}}this['connectedOnce']=!0x0;}}['destroyCallback'](){}['disconnectedCallback'](){this['connectedOnce']&&(this['dropCssDataCache'](),this['readyToDestroy']&&(this['__disconnectTimeout']&&window['clearTimeout'](this['__disconnectTimeout']),this['__disconnectTimeout']=window['setTimeout'](()=>{this['destroyCallback']();for(let _0x332f60 of this['allSubs'])_0x332f60['remove'](),this['allSubs']['delete'](_0x332f60);for(let _0x39b1b1 of this['tplProcessors'])this['tplProcessors']['delete'](_0x39b1b1);null==styleMutationObserverCbList||styleMutationObserverCbList['delete'](this['updateCssData']),(null==styleMutationObserverCbList?void 0x0:styleMutationObserverCbList['size'])||(null==styleMutationObserver||styleMutationObserver['disconnect'](),styleMutationObserver=null,styleMutationObserverCbList=null);},0x64)));}static['reg'](_0x286ca2,_0xcbb4a2=!0x1){_0x286ca2||(autoTagsCount++,_0x286ca2=_0x293048['AUTO_TAG_PRFX']+'-'+autoTagsCount),this['__tag']=_0x286ca2;let _0x70abd8=window['customElements']['get'](_0x286ca2);_0x70abd8?_0xcbb4a2||_0x70abd8===this||console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x286ca2+'\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']('\x0a')):window['customElements']['define'](_0x286ca2,_0xcbb4a2?class extends this{}:this);}static get['is'](){return this['__tag']||this['reg'](),this['__tag'];}static['bindAttributes'](_0x12adaf){this['observedAttributes']=Object['keys'](_0x12adaf),this['__attrDesc']=_0x12adaf;}['attributeChangedCallback'](_0x5f3ea3,_0x548943,_0x45a06b){var _0x4f4bd5;if(_0x548943===_0x45a06b)return;let _0x17b07a=null==(_0x4f4bd5=this['constructor']['__attrDesc'])?void 0x0:_0x4f4bd5[_0x5f3ea3];_0x17b07a?this['__dataCtxInitialized']?this['$'][_0x17b07a]=_0x45a06b:this['init$'][_0x17b07a]=_0x45a06b:this[_0x5f3ea3]=_0x45a06b;}['getCssData'](_0x2956cb,_0x49e6d4=!0x1){if(this['__cssDataCache']||(this['__cssDataCache']=Object['create'](null)),!Object['keys'](this['__cssDataCache'])['includes'](_0x2956cb)){this['__computedStyle']||(this['__computedStyle']=window['getComputedStyle'](this));let _0x199331=this['__computedStyle']['getPropertyValue'](_0x2956cb)['trim']();try{this['__cssDataCache'][_0x2956cb]=parseCssPropertyValue(_0x199331);}catch(_0xff0e1b){!_0x49e6d4&&console['warn']('CSS\x20Data\x20error:\x20'+_0x2956cb),this['__cssDataCache'][_0x2956cb]=null;}}return this['__cssDataCache'][_0x2956cb];}['__extractCssName'](_0x59a983){return _0x59a983['split']('--')['map']((_0x5c24e4,_0x401394)=>0x0===_0x401394?'':_0x5c24e4)['join']('--');}['__initStyleAttrObserver'](){styleMutationObserverCbList||(styleMutationObserverCbList=new Set()),styleMutationObserverCbList['add'](this['updateCssData']),styleMutationObserver||(styleMutationObserver=new MutationObserver(_0x21d931=>{'attributes'===_0x21d931[0x0]['type']&&styleMutationObserverCbList['forEach'](_0x21cdf6=>{_0x21cdf6();});}))['observe'](document,{'childList':!0x0,'subtree':!0x0,'attributes':!0x0,'attributeFilter':['style']});}['bindCssData'](_0x15a80a,_0x4edb01=''){this['__boundCssProps']||(this['__boundCssProps']=new Set()),this['__boundCssProps']['add'](_0x15a80a);let _0x55458e=this['getCssData'](this['__extractCssName'](_0x15a80a),!0x0);null===_0x55458e&&(_0x55458e=_0x4edb01),this['add'](_0x15a80a,_0x55458e),this['__initStyleAttrObserver']();}['dropCssDataCache'](){this['__cssDataCache']=null,this['__computedStyle']=null;}['defineAccessor'](_0x32ee68,_0xe1a56e,_0x1a6eab){let _0x4ab2f1='__'+_0x32ee68;this[_0x4ab2f1]=this[_0x32ee68],Object['defineProperty'](this,_0x32ee68,{'set':_0x11dd13=>{this[_0x4ab2f1]=_0x11dd13,_0x1a6eab?window['setTimeout'](()=>{null==_0xe1a56e||_0xe1a56e(_0x11dd13);}):null==_0xe1a56e||_0xe1a56e(_0x11dd13);},'get':()=>this[_0x4ab2f1]}),this[_0x32ee68]=this[_0x4ab2f1];}static set['shadowStyles'](_0x487afa){let _0x40427e=new Blob([_0x487afa],{'type':'text/css'});this['__shadowStylesUrl']=URL['createObjectURL'](_0x40427e);}static set['rootStyles'](_0x583e74){if(!this['__rootStylesLink']){let _0xb3f164=new Blob([_0x583e74],{'type':'text/css'}),_0xec1b2d=URL['createObjectURL'](_0xb3f164),_0x2904f1=document['createElement']('link');_0x2904f1['href']=_0xec1b2d,_0x2904f1['rel']='stylesheet',this['__rootStylesLink']=_0x2904f1;}}},BaseComponent=_BaseComponent;function applyStyles(_0x3b90ce,_0x5c9429){for(let _0x382a94 in _0x5c9429)_0x382a94['includes']('-')?_0x3b90ce['style']['setProperty'](_0x382a94,_0x5c9429[_0x382a94]):_0x3b90ce['style'][_0x382a94]=_0x5c9429[_0x382a94];}function applyAttributes(_0x2e38fe,_0x417770){for(let _0x5e1b74 in _0x417770)_0x417770[_0x5e1b74]['constructor']===Boolean?_0x417770[_0x5e1b74]?_0x2e38fe['setAttribute'](_0x5e1b74,''):_0x2e38fe['removeAttribute'](_0x5e1b74):_0x2e38fe['setAttribute'](_0x5e1b74,_0x417770[_0x5e1b74]);}function create(_0x5afedc={'tag':'div'}){let _0x3e0616=document['createElement'](_0x5afedc['tag']);if(_0x5afedc['attributes']&&applyAttributes(_0x3e0616,_0x5afedc['attributes']),_0x5afedc['styles']&&applyStyles(_0x3e0616,_0x5afedc['styles']),_0x5afedc['properties']){for(let _0x508e0d in _0x5afedc['properties'])_0x3e0616[_0x508e0d]=_0x5afedc['properties'][_0x508e0d];}return _0x5afedc['processors']&&_0x5afedc['processors']['forEach'](_0x184757=>{_0x184757(_0x3e0616);}),_0x5afedc['children']&&_0x5afedc['children']['forEach'](_0x3c1ff8=>{let _0x27eb93=create(_0x3c1ff8);_0x3e0616['appendChild'](_0x27eb93);}),_0x3e0616;}_0x5b870e(BaseComponent,'template');var _0x49f672='idb-store-ready',_0x5e0fb5='symbiote-db',_0x4cda28='symbiote-idb-update_',DbInstance=class{['_notifyWhenReady'](_0x3d0a5a=null){window['dispatchEvent'](new CustomEvent(_0x49f672,{'detail':{'dbName':this['name'],'storeName':this['storeName'],'event':_0x3d0a5a}}));}get['_updEventName'](){return _0x4cda28+this['name'];}['_getUpdateEvent'](_0x396b70){return new CustomEvent(this['_updEventName'],{'detail':{'key':this['name'],'newValue':_0x396b70}});}['_notifySubscribers'](_0x1cbca8){window['localStorage']['removeItem'](this['name']),window['localStorage']['setItem'](this['name'],_0x1cbca8),window['dispatchEvent'](this['_getUpdateEvent'](_0x1cbca8));}constructor(_0x3bd179,_0x41539c){this['name']=_0x3bd179,this['storeName']=_0x41539c,this['version']=0x1,this['request']=window['indexedDB']['open'](this['name'],this['version']),this['request']['onupgradeneeded']=_0x80bd38=>{this['db']=_0x80bd38['target']['result'],this['objStore']=this['db']['createObjectStore'](_0x41539c,{'keyPath':'_key'}),this['objStore']['transaction']['oncomplete']=_0x5a0e4e=>{this['_notifyWhenReady'](_0x5a0e4e);};},this['request']['onsuccess']=_0x148abc=>{this['db']=_0x148abc['target']['result'],this['_notifyWhenReady'](_0x148abc);},this['request']['onerror']=_0x3f69d4=>{console['error'](_0x3f69d4);},this['_subscriptionsMap']={},this['_updateHandler']=_0x21ce6e=>{_0x21ce6e['key']===this['name']&&this['_subscriptionsMap'][_0x21ce6e['newValue']]&&this['_subscriptionsMap'][_0x21ce6e['newValue']]['forEach'](async _0x79f8ad=>{_0x79f8ad(await this['read'](_0x21ce6e['newValue']));});},this['_localUpdateHandler']=_0x16d7d1=>{this['_updateHandler'](_0x16d7d1['detail']);},window['addEventListener']('storage',this['_updateHandler']),window['addEventListener'](this['_updEventName'],this['_localUpdateHandler']);}['read'](_0x399731){let _0x163730=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['get'](_0x399731);return new Promise((_0x17e75d,_0x438d03)=>{_0x163730['onsuccess']=_0x5ad54a=>{var _0x17dc44;(null==(_0x17dc44=_0x5ad54a['target']['result'])?void 0x0:_0x17dc44['_value'])?_0x17e75d(_0x5ad54a['target']['result']['_value']):(_0x17e75d(null),console['warn']('IDB:\x20cannot\x20read\x20\x22'+_0x399731+'\x22'));},_0x163730['onerror']=_0xed4550=>{_0x438d03(_0xed4550);};});}['write'](_0x3af5f0,_0x57d019,_0x126ae6=!0x1){let _0x2c6f63={'_key':_0x3af5f0,'_value':_0x57d019},_0xf54945=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['put'](_0x2c6f63);return new Promise((_0x3b0c4d,_0x1a0b2d)=>{_0xf54945['onsuccess']=_0x54fd6b=>{_0x126ae6||this['_notifySubscribers'](_0x3af5f0),_0x3b0c4d(_0x54fd6b['target']['result']);},_0xf54945['onerror']=_0x332100=>{_0x1a0b2d(_0x332100);};});}['delete'](_0x23345f,_0x52bb36=!0x1){let _0x438bf0=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['delete'](_0x23345f);return new Promise((_0x2f6bbe,_0x428c59)=>{_0x438bf0['onsuccess']=_0x4ade4c=>{_0x52bb36||this['_notifySubscribers'](_0x23345f),_0x2f6bbe(_0x4ade4c);},_0x438bf0['onerror']=_0x4570cd=>{_0x428c59(_0x4570cd);};});}['getAll'](){let _0x87e943=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['getAll']();return new Promise((_0xe185ba,_0x34e092)=>{_0x87e943['onsuccess']=_0x24619a=>{let _0x5b9a00=_0x24619a['target']['result'];_0xe185ba(_0x5b9a00['map'](_0x2549ae=>_0x2549ae['_value']));},_0x87e943['onerror']=_0x2cf8e4=>{_0x34e092(_0x2cf8e4);};});}['subscribe'](_0x1d8011,_0x739b76){this['_subscriptionsMap'][_0x1d8011]||(this['_subscriptionsMap'][_0x1d8011]=new Set());let _0x220383=this['_subscriptionsMap'][_0x1d8011];return _0x220383['add'](_0x739b76),{'remove':()=>{_0x220383['delete'](_0x739b76),_0x220383['size']||delete this['_subscriptionsMap'][_0x1d8011];}};}['stop'](){window['removeEventListener']('storage',this['_updateHandler']),this['_subscriptionsMap']=null,_0x14706b['clear'](this['name']);}},_0x14706b=class{static get['readyEventName'](){return _0x49f672;}static['open'](_0x2e24cc=_0x5e0fb5,_0x5e2c73='store'){let _0x446517=_0x2e24cc+'/'+_0x5e2c73;return this['_reg'][_0x446517]||(this['_reg'][_0x446517]=new DbInstance(_0x2e24cc,_0x5e2c73)),this['_reg'][_0x446517];}static['clear'](_0x37d7ce){window['indexedDB']['deleteDatabase'](_0x37d7ce);for(let _0xcf1d56 in this['_reg'])_0xcf1d56['split']('/')[0x0]===_0x37d7ce&&delete this['_reg'][_0xcf1d56];}};function isObject(_0x5d7967){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x5d7967);}_0x5b870e(_0x14706b,'_reg',Object['create'](null));const _0x316de3=/\W|_/g;function camelizeString(_0x4cf47a){return _0x4cf47a['split'](_0x316de3)['map']((_0x2595fa,_0x3be1af)=>_0x2595fa['charAt'](0x0)[_0x3be1af>0x0?'toUpperCase':'toLowerCase']()+_0x2595fa['slice'](0x1))['join']('');}function camelizeArrayItems(_0x121433,{ignoreKeys:_0x53e297}={'ignoreKeys':[]}){return Array['isArray'](_0x121433)?_0x121433['map'](_0x53add8=>_0x12f4d9(_0x53add8,{'ignoreKeys':_0x53e297})):_0x121433;}function _0x12f4d9(_0x1268b3,{ignoreKeys:_0x3173f4}={'ignoreKeys':[]}){if(Array['isArray'](_0x1268b3))return camelizeArrayItems(_0x1268b3,{'ignoreKeys':_0x3173f4});if(!isObject(_0x1268b3))return _0x1268b3;const _0x49fcfd={};for(const _0x3b8a4c of Object['keys'](_0x1268b3)){let _0x58cfe3=_0x1268b3[_0x3b8a4c];_0x3173f4['includes'](_0x3b8a4c)?_0x49fcfd[_0x3b8a4c]=_0x58cfe3:(isObject(_0x58cfe3)?_0x58cfe3=_0x12f4d9(_0x58cfe3,{'ignoreKeys':_0x3173f4}):Array['isArray'](_0x58cfe3)&&(_0x58cfe3=camelizeArrayItems(_0x58cfe3,{'ignoreKeys':_0x3173f4})),_0x49fcfd[camelizeString(_0x3b8a4c)]=_0x58cfe3);}return _0x49fcfd;}const _0x51255e=_0x44c77a=>new Promise(_0x2a09ee=>setTimeout(_0x2a09ee,_0x44c77a));function getUserAgent$1({libraryName:_0x16af0a,libraryVersion:_0x316451,userAgent:_0x3b8872,publicKey:_0x5da5d9='',integration:_0x3c8672=''}){const _0x176ab8='JavaScript';if('string'==typeof _0x3b8872)return _0x3b8872;if('function'==typeof _0x3b8872)return _0x3b8872({'publicKey':_0x5da5d9,'libraryName':_0x16af0a,'libraryVersion':_0x316451,'languageName':_0x176ab8,'integration':_0x3c8672});return[_0x16af0a,_0x316451,_0x5da5d9]['filter'](Boolean)['join']('/')+'\x20('+[_0x176ab8,_0x3c8672]['filter'](Boolean)['join'](';\x20')+')';}const defaultOptions={'factor':0x2,'time':0x64};function retrier(_0x52027c,_0x23716a=defaultOptions){let _0xd6a94b=0x0;return function _0x1b04c3(_0x34d610){const _0x526947=Math['round'](_0x23716a['time']*_0x23716a['factor']**_0xd6a94b);return _0x34d610({'attempt':_0xd6a94b,'retry':_0x289d03=>_0x51255e(_0x289d03??_0x526947)['then'](()=>(_0xd6a94b+=0x1,_0x1b04c3(_0x34d610)))});}(_0x52027c);}class _0x57fa86 extends Error{}class NetworkError extends _0x57fa86{['originalProgressEvent'];constructor(_0x5a89ce){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x5a89ce;}}const _0x3dd8fe=(_0x29d832,_0x557331)=>{_0x29d832&&(_0x29d832['aborted']?Promise['resolve']()['then'](_0x557331):_0x29d832['addEventListener']('abort',()=>_0x557331(),{'once':!0x0}));};class _0x49227f extends _0x57fa86{['isCancel']=!0x0;constructor(_0x2f9847='Request\x20canceled'){super(_0x2f9847),this['name']='CancelError',Object['setPrototypeOf'](this,_0x49227f['prototype']);}}const _0x3c7fbf=0x1f4,_0x3db71b=({check:_0x2d39d4,interval:_0x2cc582=_0x3c7fbf,timeout:_0x74c3ad,signal:_0x5f59f2})=>new Promise((_0x2eb5e4,_0xa47e53)=>{let _0x2085ab,_0x4a9162;_0x3dd8fe(_0x5f59f2,()=>{_0x2085ab&&clearTimeout(_0x2085ab),_0xa47e53(new _0x49227f('Poll\x20cancelled'));}),_0x74c3ad&&(_0x4a9162=setTimeout(()=>{_0x2085ab&&clearTimeout(_0x2085ab),_0xa47e53(new _0x49227f('Timed\x20out'));},_0x74c3ad));const _0x587765=()=>{try{Promise['resolve'](_0x2d39d4(_0x5f59f2))['then'](_0x224ea3=>{_0x224ea3?(_0x4a9162&&clearTimeout(_0x4a9162),_0x2eb5e4(_0x224ea3)):_0x2085ab=setTimeout(_0x587765,_0x2cc582);})['catch'](_0x58f625=>{_0x4a9162&&clearTimeout(_0x4a9162),_0xa47e53(_0x58f625);});}catch(_0x4dfdb3){_0x4a9162&&clearTimeout(_0x4a9162),_0xa47e53(_0x4dfdb3);}};_0x2085ab=setTimeout(_0x587765,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:_0x395a0d,url:_0x2c305d,data:_0x578cdd,headers:_0x13cacf={},signal:_0x45daa5,onProgress:_0x5ae30a})=>new Promise((_0x41756c,_0x15f62d)=>{const _0x117a0d=new XMLHttpRequest(),_0x5f3229=_0x395a0d?.['toUpperCase']()||'GET';let _0xc8cfee=!0x1;_0x117a0d['open'](_0x5f3229,_0x2c305d,!0x0),_0x13cacf&&Object['entries'](_0x13cacf)['forEach'](_0x328dcf=>{const [_0x547fa8,_0x2885a5]=_0x328dcf;void 0x0!==_0x2885a5&&!Array['isArray'](_0x2885a5)&&_0x117a0d['setRequestHeader'](_0x547fa8,_0x2885a5);}),_0x117a0d['responseType']='text',_0x3dd8fe(_0x45daa5,()=>{_0xc8cfee=!0x0,_0x117a0d['abort'](),_0x15f62d(new _0x49227f());}),_0x117a0d['onload']=()=>{if(0xc8!=_0x117a0d['status'])_0x15f62d(new Error('Error\x20'+_0x117a0d['status']+':\x20'+_0x117a0d['statusText']));else{const _0x115439={'method':_0x5f3229,'url':_0x2c305d,'data':_0x578cdd,'headers':_0x13cacf||void 0x0,'signal':_0x45daa5,'onProgress':_0x5ae30a},_0x527c65=_0x117a0d['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x3606bd={};_0x527c65['forEach'](function(_0x37e0ee){const _0x3d974b=_0x37e0ee['split'](':\x20'),_0x2c03bb=_0x3d974b['shift'](),_0x4b82ae=_0x3d974b['join'](':\x20');_0x2c03bb&&void 0x0!==_0x2c03bb&&(_0x3606bd[_0x2c03bb]=_0x4b82ae);});const _0x4add5c=_0x117a0d['response'],_0x5b115b=_0x117a0d['status'];_0x41756c({'request':_0x115439,'data':_0x4add5c,'headers':_0x3606bd,'status':_0x5b115b});}},_0x117a0d['onerror']=_0x31b139=>{_0xc8cfee||_0x15f62d(new NetworkError(_0x31b139));},_0x5ae30a&&'function'==typeof _0x5ae30a&&(_0x117a0d['upload']['onprogress']=_0x26f262=>{_0x26f262['lengthComputable']?_0x5ae30a({'isComputable':!0x0,'value':_0x26f262['loaded']/_0x26f262['total']}):_0x5ae30a({'isComputable':!0x1});}),_0x578cdd?_0x117a0d['send'](_0x578cdd):_0x117a0d['send']();});function identity(_0x21437a,..._0x4c0b78){return _0x21437a;}const getFileOptions=({name:_0x303e9c})=>_0x303e9c?[_0x303e9c]:[],transformFile=identity;var getFormData=()=>new FormData();const _0x32a3b5=_0x44abc8=>!0x1,_0x10aece=_0x3fd241=>'undefined'!=typeof Blob&&_0x3fd241 instanceof Blob,_0x36614a=_0x2b0068=>'undefined'!=typeof File&&_0x2b0068 instanceof File,isReactNativeAsset=_0x3609ea=>!!_0x3609ea&&'object'==typeof _0x3609ea&&!Array['isArray'](_0x3609ea)&&'uri'in _0x3609ea&&'string'==typeof _0x3609ea['uri'],isFileData=_0x3feab8=>_0x10aece(_0x3feab8)||_0x36614a(_0x3feab8)||_0x32a3b5()||isReactNativeAsset(_0x3feab8),_0x565a57=_0x59b10c=>'string'==typeof _0x59b10c||'number'==typeof _0x59b10c||void 0x0===_0x59b10c,isObjectValue=_0x2254a1=>!!_0x2254a1&&'object'==typeof _0x2254a1&&!Array['isArray'](_0x2254a1),_0x75799f=_0x26803b=>!!_0x26803b&&'object'==typeof _0x26803b&&'data'in _0x26803b&&isFileData(_0x26803b['data']);function collectParams(_0x541424,_0x46212e,_0x48804c){if(Array['isArray'](_0x48804c)){for(const _0x434342 of _0x48804c)collectParams(_0x541424,_0x46212e+'[]',_0x434342);}else{if(_0x75799f(_0x48804c)){const {name:_0xdb422d,contentType:_0x1e4694}=_0x48804c,_0x526346=transformFile(_0x48804c['data'],_0xdb422d,_0x1e4694??defaultContentType),_0x541998=getFileOptions({'name':_0xdb422d});_0x541424['push']([_0x46212e,_0x526346,..._0x541998]);}else{if(isObjectValue(_0x48804c)){for(const [_0x508614,_0x19bdbd]of Object['entries'](_0x48804c))void 0x0!==_0x19bdbd&&_0x541424['push']([_0x46212e+'['+_0x508614+']',String(_0x19bdbd)]);}else _0x565a57(_0x48804c)&&_0x48804c&&_0x541424['push']([_0x46212e,_0x48804c['toString']()]);}}}function getFormDataParams(_0x2b8757){const _0x2f87b5=[];for(const [_0x115b9a,_0xa0d35a]of Object['entries'](_0x2b8757))collectParams(_0x2f87b5,_0x115b9a,_0xa0d35a);return _0x2f87b5;}function buildFormData(_0x1df5a9){const _0x16ab85=getFormData(),_0x432f3b=getFormDataParams(_0x1df5a9);for(const _0x4d60aa of _0x432f3b){const [_0x366742,_0xaf55b1,..._0x329b08]=_0x4d60aa;_0x16ab85['append'](_0x366742,_0xaf55b1,..._0x329b08);}return _0x16ab85;}class _0x6594ff extends _0x57fa86{['code'];['request'];['response'];['headers'];constructor(_0x1af6e2,_0x5550aa,_0x1b7462,_0x598e92,_0x2f9a3f){super(),this['name']='UploadError',this['message']=_0x1af6e2,this['code']=_0x5550aa,this['request']=_0x1b7462,this['response']=_0x598e92,this['headers']=_0x2f9a3f,Object['setPrototypeOf'](this,_0x6594ff['prototype']);}}const _0x19d58c=_0x1d5472=>{const _0x2815ff=new URLSearchParams();for(const [_0x22b82a,_0x47bf3f]of Object['entries'](_0x1d5472))_0x47bf3f&&'object'==typeof _0x47bf3f&&!Array['isArray'](_0x47bf3f)?Object['entries'](_0x47bf3f)['filter'](_0x3002dc=>_0x3002dc[0x1]??!0x1)['forEach'](_0xab3c2f=>_0x2815ff['set'](_0x22b82a+'['+_0xab3c2f[0x0]+']',String(_0xab3c2f[0x1]))):Array['isArray'](_0x47bf3f)?_0x47bf3f['forEach'](_0x45cde5=>{_0x2815ff['append'](_0x22b82a+'[]',_0x45cde5);}):'string'==typeof _0x47bf3f&&_0x47bf3f?_0x2815ff['set'](_0x22b82a,_0x47bf3f):'number'==typeof _0x47bf3f&&_0x2815ff['set'](_0x22b82a,_0x47bf3f['toString']());return _0x2815ff['toString']();},getUrl=(_0x39f3e9,_0x16dc18,_0x433bb8)=>{const _0x4622f8=new URL(_0x39f3e9);return _0x4622f8['pathname']=(_0x4622f8['pathname']+_0x16dc18)['replace']('//','/'),_0x433bb8&&(_0x4622f8['search']=_0x19d58c(_0x433bb8)),_0x4622f8['toString']();};var _0x4b7cb7='6.18.2';const _0x4ddaff='UploadcareUploadClient',_0x1a09d6=_0x4b7cb7;function getUserAgent(_0x5f372a){return getUserAgent$1({'libraryName':_0x4ddaff,'libraryVersion':_0x1a09d6,..._0x5f372a});}const _0x39c51c='RequestThrottledError',_0x46751e=0x3a98,_0x168fc1=0x3e8;function getTimeoutFromThrottledRequest(_0x564ac4){const {headers:_0x103dfd}=_0x564ac4||{};if(!_0x103dfd||'string'!=typeof _0x103dfd['retry-after'])return _0x46751e;const _0x2ca763=parseInt(_0x103dfd['retry-after'],0xa);return Number['isFinite'](_0x2ca763)?0x3e8*_0x2ca763:_0x46751e;}function retryIfFailed(_0x27aef5,_0x181719){const {retryThrottledRequestMaxTimes:_0x2c55ee,retryNetworkErrorMaxTimes:_0x19bbf2}=_0x181719;return retrier(({attempt:_0x910ee1,retry:_0x3c95f5})=>_0x27aef5()['catch'](_0x4013d4=>{if('response'in _0x4013d4&&_0x4013d4?.['code']===_0x39c51c&&_0x910ee1<_0x2c55ee)return _0x3c95f5(getTimeoutFromThrottledRequest(_0x4013d4));if(_0x4013d4 instanceof NetworkError&&_0x910ee1<_0x19bbf2)return _0x3c95f5((_0x910ee1+0x1)*_0x168fc1);throw _0x4013d4;}));}const getContentType=_0xf355f1=>{let _0x525c8d='';return(_0x10aece(_0xf355f1)||_0x36614a(_0xf355f1)||isReactNativeAsset(_0xf355f1))&&(_0x525c8d=_0xf355f1['type']),_0x525c8d||defaultContentType;},getFileName=_0x1a924a=>{let _0x146bc2='';return _0x36614a(_0x1a924a)&&_0x1a924a['name']?_0x146bc2=_0x1a924a['name']:_0x10aece(_0x1a924a)||_0x32a3b5()?_0x146bc2='':isReactNativeAsset(_0x1a924a)&&_0x1a924a['name']&&(_0x146bc2=_0x1a924a['name']),_0x146bc2||defaultFilename;};function getStoreValue(_0x1072fc){return void 0x0===_0x1072fc||'auto'===_0x1072fc?'auto':_0x1072fc?'1':'0';}function _0x58366a(_0x44ddcb,{publicKey:_0x43f3c1,fileName:_0x2c59d9,contentType:_0x3b9197,baseURL:_0x52ec30=defaultSettings['baseURL'],secureSignature:_0x42553e,secureExpire:_0x4a48e0,store:_0x4c06a9,signal:_0x32661a,onProgress:_0x301c4d,source:_0x2435e5='local',integration:_0x4a0622,userAgent:_0x5d70af,retryThrottledRequestMaxTimes:_0x1522f0=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x2f08a7=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x41f8d5}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x52ec30,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x43f3c1,'integration':_0x4a0622,'userAgent':_0x5d70af})},'data':buildFormData({'file':{'data':_0x44ddcb,'name':_0x2c59d9||getFileName(_0x44ddcb),'contentType':_0x3b9197||getContentType(_0x44ddcb)},'UPLOADCARE_PUB_KEY':_0x43f3c1,'UPLOADCARE_STORE':getStoreValue(_0x4c06a9),'signature':_0x42553e,'expire':_0x4a48e0,'source':_0x2435e5,'metadata':_0x41f8d5}),'signal':_0x32661a,'onProgress':_0x301c4d})['then'](({data:_0x4223aa,headers:_0x122662,request:_0x507681})=>{const _0x1ce368=_0x12f4d9(JSON['parse'](_0x4223aa));if('error'in _0x1ce368)throw new _0x6594ff(_0x1ce368['error']['content'],_0x1ce368['error']['errorCode'],_0x507681,_0x1ce368,_0x122662);return _0x1ce368;}),{'retryNetworkErrorMaxTimes':_0x2f08a7,'retryThrottledRequestMaxTimes':_0x1522f0});}var _0x5cbde5,Status;function _0x5965bd(_0x33d538,{publicKey:_0x4fa9a2,baseURL:_0x194b90=defaultSettings['baseURL'],store:_0x279275,fileName:_0xba7215,checkForUrlDuplicates:_0x4396df,saveUrlForRecurrentUploads:_0x3cd48d,secureSignature:_0xb5f337,secureExpire:_0xeaff70,source:_0x491cd5='url',signal:_0x1c55a5,integration:_0x1f5e05,userAgent:_0x29717a,retryThrottledRequestMaxTimes:_0x5d87db=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x427aa9=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x1b725b}){return retryIfFailed(()=>request({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x4fa9a2,'integration':_0x1f5e05,'userAgent':_0x29717a})},'url':getUrl(_0x194b90,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x4fa9a2,'source_url':_0x33d538,'store':getStoreValue(_0x279275),'filename':_0xba7215,'check_URL_duplicates':_0x4396df?0x1:void 0x0,'save_URL_duplicates':_0x3cd48d?0x1:void 0x0,'signature':_0xb5f337,'expire':_0xeaff70,'source':_0x491cd5,'metadata':_0x1b725b}),'signal':_0x1c55a5})['then'](({data:_0x318f0f,headers:_0x1d382f,request:_0x4877d5})=>{const _0x8483f=_0x12f4d9(JSON['parse'](_0x318f0f));if('error'in _0x8483f)throw new _0x6594ff(_0x8483f['error']['content'],_0x8483f['error']['errorCode'],_0x4877d5,_0x8483f,_0x1d382f);return _0x8483f;}),{'retryNetworkErrorMaxTimes':_0x427aa9,'retryThrottledRequestMaxTimes':_0x5d87db});}!function(_0x71445f){_0x71445f['Token']='token',_0x71445f['FileInfo']='file_info';}(_0x5cbde5||(_0x5cbde5={})),function(_0x5797d8){_0x5797d8['Unknown']='unknown',_0x5797d8['Waiting']='waiting',_0x5797d8['Progress']='progress',_0x5797d8['Error']='error',_0x5797d8['Success']='success';}(Status||(Status={}));const _0x144ac2=_0xb3fa4e=>'status'in _0xb3fa4e&&_0xb3fa4e['status']===Status['Error'];function fromUrlStatus(_0x137dc5,{publicKey:_0x166058,baseURL:_0xb0d77=defaultSettings['baseURL'],signal:_0x424c38,integration:_0x2a61fd,userAgent:_0x4e8415,retryThrottledRequestMaxTimes:_0x4c0e40=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x5ab2fc=defaultSettings['retryNetworkErrorMaxTimes']}={}){return retryIfFailed(()=>request({'method':'GET','headers':_0x166058?{'X-UC-User-Agent':getUserAgent({'publicKey':_0x166058,'integration':_0x2a61fd,'userAgent':_0x4e8415})}:void 0x0,'url':getUrl(_0xb0d77,'/from_url/status/',{'jsonerrors':0x1,'token':_0x137dc5}),'signal':_0x424c38})['then'](({data:_0x52e239,headers:_0x2ed3b8,request:_0x508c44})=>{const _0x59621c=_0x12f4d9(JSON['parse'](_0x52e239));if('error'in _0x59621c&&!_0x144ac2(_0x59621c))throw new _0x6594ff(_0x59621c['error']['content'],_0x59621c['error']['errorCode'],_0x508c44,_0x59621c,_0x2ed3b8);return _0x59621c;}),{'retryNetworkErrorMaxTimes':_0x5ab2fc,'retryThrottledRequestMaxTimes':_0x4c0e40});}function _0x4bafa9(_0xe71273,{publicKey:_0x192930,baseURL:_0x3abf30=defaultSettings['baseURL'],jsonpCallback:_0x2d2456,secureSignature:_0x26c910,secureExpire:_0x379bd,signal:_0x5ca085,source:_0x485e9a,integration:_0x53c87f,userAgent:_0x2f8d9a,retryThrottledRequestMaxTimes:_0x16cde0=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x420361=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x192930,'integration':_0x53c87f,'userAgent':_0x2f8d9a})},'url':getUrl(_0x3abf30,'/group/',{'jsonerrors':0x1}),'data':buildFormData({'files':_0xe71273,'callback':_0x2d2456,'pub_key':_0x192930,'signature':_0x26c910,'expire':_0x379bd,'source':_0x485e9a}),'signal':_0x5ca085})['then'](({data:_0x50826c,headers:_0x5b513a,request:_0x2147f0})=>{const _0x4c4876=_0x12f4d9(JSON['parse'](_0x50826c));if('error'in _0x4c4876)throw new _0x6594ff(_0x4c4876['error']['content'],_0x4c4876['error']['errorCode'],_0x2147f0,_0x4c4876,_0x5b513a);return _0x4c4876;}),{'retryNetworkErrorMaxTimes':_0x420361,'retryThrottledRequestMaxTimes':_0x16cde0});}function _0x55fe05(_0x39f946,{publicKey:_0x51e912,baseURL:_0x230df3=defaultSettings['baseURL'],signal:_0x33c1b4,source:_0xe98320,integration:_0x2b4dd8,userAgent:_0x5e8d1b,retryThrottledRequestMaxTimes:_0x299032=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x3ee058=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'GET','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x51e912,'integration':_0x2b4dd8,'userAgent':_0x5e8d1b})},'url':getUrl(_0x230df3,'/info/',{'jsonerrors':0x1,'pub_key':_0x51e912,'file_id':_0x39f946,'source':_0xe98320}),'signal':_0x33c1b4})['then'](({data:_0x45b1de,headers:_0x23d55b,request:_0x517191})=>{const _0x1e7a17=_0x12f4d9(JSON['parse'](_0x45b1de));if('error'in _0x1e7a17)throw new _0x6594ff(_0x1e7a17['error']['content'],_0x1e7a17['error']['errorCode'],_0x517191,_0x1e7a17,_0x23d55b);return _0x1e7a17;}),{'retryThrottledRequestMaxTimes':_0x299032,'retryNetworkErrorMaxTimes':_0x3ee058});}function multipartStart(_0x50051a,{publicKey:_0x3af26d,contentType:_0x43788c,fileName:_0x515bac,multipartChunkSize:_0x3f3fac=defaultSettings['multipartChunkSize'],baseURL:_0x3761de='',secureSignature:_0x3db9fc,secureExpire:_0x5b0aa8,store:_0x5e782c,signal:_0x5ca1c1,source:_0x3dc8c0='local',integration:_0x13300e,userAgent:_0xaa942b,retryThrottledRequestMaxTimes:_0x492918=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x1ce418=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x4e0c8b}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x3761de,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x3af26d,'integration':_0x13300e,'userAgent':_0xaa942b})},'data':buildFormData({'filename':_0x515bac||defaultFilename,'size':_0x50051a,'content_type':_0x43788c||defaultContentType,'part_size':_0x3f3fac,'UPLOADCARE_STORE':getStoreValue(_0x5e782c),'UPLOADCARE_PUB_KEY':_0x3af26d,'signature':_0x3db9fc,'expire':_0x5b0aa8,'source':_0x3dc8c0,'metadata':_0x4e0c8b}),'signal':_0x5ca1c1})['then'](({data:_0x574cab,headers:_0x578643,request:_0x5ab8e1})=>{const _0xb6fa88=_0x12f4d9(JSON['parse'](_0x574cab));if('error'in _0xb6fa88)throw new _0x6594ff(_0xb6fa88['error']['content'],_0xb6fa88['error']['errorCode'],_0x5ab8e1,_0xb6fa88,_0x578643);return _0xb6fa88['parts']=Object['keys'](_0xb6fa88['parts'])['map'](_0xd95e49=>_0xb6fa88['parts'][Number(_0xd95e49)]),_0xb6fa88;}),{'retryThrottledRequestMaxTimes':_0x492918,'retryNetworkErrorMaxTimes':_0x1ce418});}function multipartUpload(_0x3dcb9c,_0x535d52,{contentType:_0x4bcb71,signal:_0x42bc0a,onProgress:_0x27700e,retryThrottledRequestMaxTimes:_0x5e1c5a=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x54b238=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'PUT','url':_0x535d52,'data':_0x3dcb9c,'onProgress':_0x27700e,'signal':_0x42bc0a,'headers':{'Content-Type':_0x4bcb71||defaultContentType}})['then'](_0x530033=>(_0x27700e&&_0x27700e({'isComputable':!0x0,'value':0x1}),_0x530033))['then'](({status:_0xa8a507})=>({'code':_0xa8a507})),{'retryThrottledRequestMaxTimes':_0x5e1c5a,'retryNetworkErrorMaxTimes':_0x54b238});}function multipartComplete(_0x2aafd0,{publicKey:_0x24c592,baseURL:_0x16cbf5=defaultSettings['baseURL'],source:_0x5f4661='local',signal:_0x90228e,integration:_0x3592e6,userAgent:_0x26905f,retryThrottledRequestMaxTimes:_0xf25572=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x849383=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x16cbf5,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x24c592,'integration':_0x3592e6,'userAgent':_0x26905f})},'data':buildFormData({'uuid':_0x2aafd0,'UPLOADCARE_PUB_KEY':_0x24c592,'source':_0x5f4661}),'signal':_0x90228e})['then'](({data:_0x5ba844,headers:_0x2d3a2f,request:_0x502f7f})=>{const _0x34a4db=_0x12f4d9(JSON['parse'](_0x5ba844));if('error'in _0x34a4db)throw new _0x6594ff(_0x34a4db['error']['content'],_0x34a4db['error']['errorCode'],_0x502f7f,_0x34a4db,_0x2d3a2f);return _0x34a4db;}),{'retryThrottledRequestMaxTimes':_0xf25572,'retryNetworkErrorMaxTimes':_0x849383});}function _0x39f322(_0x3c367a,{publicKey:_0x5219bb,baseURL:_0x5310ff,source:_0x1621ed,integration:_0x3b86a4,userAgent:_0x2179d7,retryThrottledRequestMaxTimes:_0x26f34f,retryNetworkErrorMaxTimes:_0x5b0df3,signal:_0x41901e,onProgress:_0x489c47}){return _0x3db71b({'check':_0x4266cc=>_0x55fe05(_0x3c367a,{'publicKey':_0x5219bb,'baseURL':_0x5310ff,'signal':_0x4266cc,'source':_0x1621ed,'integration':_0x3b86a4,'userAgent':_0x2179d7,'retryThrottledRequestMaxTimes':_0x26f34f,'retryNetworkErrorMaxTimes':_0x5b0df3})['then'](_0x5da62e=>_0x5da62e['isReady']?_0x5da62e:(_0x489c47&&_0x489c47({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x41901e});}function _0x4541f5(_0x556848){return'defaultEffects'in _0x556848;}class _0x2b94a1{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x6616ab,{baseCDN:_0xf8ff22=defaultSettings['baseCDN'],fileName:_0x1c47c7}={}){const {uuid:_0xbec566,s3Bucket:_0x4382bd}=_0x6616ab,_0x3c1667=getUrl(_0xf8ff22,_0xbec566+'/'),_0x4b5f84=_0x4382bd?getUrl('https://'+_0x4382bd+'.s3.amazonaws.com/',_0xbec566+'/'+_0x6616ab['filename']):null;this['uuid']=_0xbec566,this['name']=_0x1c47c7||_0x6616ab['filename'],this['size']=_0x6616ab['size'],this['isStored']=_0x6616ab['isStored'],this['isImage']=_0x6616ab['isImage'],this['mimeType']=_0x6616ab['mimeType'],this['cdnUrl']=_0x3c1667,this['originalFilename']=_0x6616ab['originalFilename'],this['imageInfo']=_0x6616ab['imageInfo'],this['videoInfo']=_0x6616ab['videoInfo'],this['contentInfo']=_0x6616ab['contentInfo'],this['metadata']=_0x6616ab['metadata']||null,this['s3Bucket']=_0x4382bd||null,this['s3Url']=_0x4b5f84,_0x4541f5(_0x6616ab)&&(this['defaultEffects']=_0x6616ab['defaultEffects']);}}const uploadDirect=(_0x5d8f9d,{publicKey:_0x239942,fileName:_0x550ef2,baseURL:_0x48a935,secureSignature:_0x5ed53f,secureExpire:_0x32d987,store:_0x1b23ab,contentType:_0x127ac3,signal:_0x6c68d2,onProgress:_0x54885c,source:_0x45d918,integration:_0x104211,userAgent:_0x220e49,retryThrottledRequestMaxTimes:_0x1e76a1,retryNetworkErrorMaxTimes:_0x524406,baseCDN:_0x1d65d5,metadata:_0x264596})=>_0x58366a(_0x5d8f9d,{'publicKey':_0x239942,'fileName':_0x550ef2,'contentType':_0x127ac3,'baseURL':_0x48a935,'secureSignature':_0x5ed53f,'secureExpire':_0x32d987,'store':_0x1b23ab,'signal':_0x6c68d2,'onProgress':_0x54885c,'source':_0x45d918,'integration':_0x104211,'userAgent':_0x220e49,'retryThrottledRequestMaxTimes':_0x1e76a1,'retryNetworkErrorMaxTimes':_0x524406,'metadata':_0x264596})['then'](({file:_0xb2f154})=>_0x39f322(_0xb2f154,{'publicKey':_0x239942,'baseURL':_0x48a935,'source':_0x45d918,'integration':_0x104211,'userAgent':_0x220e49,'retryThrottledRequestMaxTimes':_0x1e76a1,'retryNetworkErrorMaxTimes':_0x524406,'onProgress':_0x54885c,'signal':_0x6c68d2}))['then'](_0x594089=>new _0x2b94a1(_0x594089,{'baseCDN':_0x1d65d5})),_0x183b71=(_0x42f1a2,{publicKey:_0x4efdc1,fileName:_0x10c374,baseURL:_0x1660a8,signal:_0xe19e37,onProgress:_0x2f50ff,source:_0x1e265d,integration:_0x27b220,userAgent:_0xd8fc2,retryThrottledRequestMaxTimes:_0x32330f,retryNetworkErrorMaxTimes:_0x253846,baseCDN:_0x57993b})=>_0x55fe05(_0x42f1a2,{'publicKey':_0x4efdc1,'baseURL':_0x1660a8,'signal':_0xe19e37,'source':_0x1e265d,'integration':_0x27b220,'userAgent':_0xd8fc2,'retryThrottledRequestMaxTimes':_0x32330f,'retryNetworkErrorMaxTimes':_0x253846})['then'](_0x4fbae4=>new _0x2b94a1(_0x4fbae4,{'baseCDN':_0x57993b,'fileName':_0x10c374}))['then'](_0x427c91=>(_0x2f50ff&&_0x2f50ff({'isComputable':!0x0,'value':0x1}),_0x427c91)),_0x4dbae2=(_0x72ad62,{signal:_0x2b6ec7}={})=>{let _0x29b021=null,_0xfc6260=null;const _0x3f9e73=_0x72ad62['map'](()=>new AbortController());return _0x3dd8fe(_0x2b6ec7,()=>{_0x3f9e73['forEach'](_0x169f3b=>_0x169f3b['abort']());}),Promise['all'](_0x72ad62['map']((_0x552975,_0x39d5ee)=>{const _0x2e8bed=(_0x3ce484=>()=>{_0xfc6260=_0x3ce484,_0x3f9e73['forEach']((_0x11f757,_0x498757)=>_0x498757!==_0x3ce484&&_0x11f757['abort']());})(_0x39d5ee);return Promise['resolve']()['then'](()=>_0x552975({'stopRace':_0x2e8bed,'signal':_0x3f9e73[_0x39d5ee]['signal']}))['then'](_0x396897=>(_0x2e8bed(),_0x396897))['catch'](_0x517c99=>(_0x29b021=_0x517c99,null));}))['then'](_0x4b06ab=>{if(null===_0xfc6260)throw _0x29b021;return _0x4b06ab[_0xfc6260];});};var WebSocket=window['WebSocket'];class Events{['events']=Object['create']({});['emit'](_0x3d87d1,_0x34d499){this['events'][_0x3d87d1]?.['forEach'](_0x3a103c=>_0x3a103c(_0x34d499));}['on'](_0x2bba23,_0x2b79f2){this['events'][_0x2bba23]=this['events'][_0x2bba23]||[],this['events'][_0x2bba23]['push'](_0x2b79f2);}['off'](_0x57faea,_0x84325){this['events'][_0x57faea]=_0x84325?this['events'][_0x57faea]['filter'](_0x4f363c=>_0x4f363c!==_0x84325):[];}}const _0x402b71=(_0x5897ca,_0x1062f7)=>'success'===_0x5897ca?{'status':Status['Success'],..._0x1062f7}:'progress'===_0x5897ca?{'status':Status['Progress'],..._0x1062f7}:{'status':Status['Error'],..._0x1062f7};class _0x1930e5{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events();['disconnectTimeoutId']=null;constructor(_0x380dcc,_0x5237ad=0x7530){this['key']=_0x380dcc,this['disconnectTime']=_0x5237ad;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x427b16='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new WebSocket(_0x427b16),this['ws']['addEventListener']('error',_0x573798=>{this['emmitter']['emit']('error',new Error(_0x573798['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x3849cb=>this['send'](_0x3849cb['event'],_0x3849cb['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x598c59=>{const _0x19849f=JSON['parse'](_0x598c59['data']['toString']());switch(_0x19849f['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'](_0x19849f['channel'],_0x402b71(_0x19849f['event'],JSON['parse'](_0x19849f['data'])));}});}}['disconnect'](){const _0x29eb9a=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x29eb9a();},this['disconnectTime']):_0x29eb9a();}['send'](_0x2568b9,_0xb06376){const _0x2c5175=JSON['stringify']({'event':_0x2568b9,'data':_0xb06376});this['ws']?.['send'](_0x2c5175);}['subscribe'](_0x3fcc3d,_0x2d4c5){this['subscribers']+=0x1,this['connect']();const _0x152a74='task-status-'+_0x3fcc3d,_0x2c3f0f={'event':'pusher:subscribe','data':{'channel':_0x152a74}};this['emmitter']['on'](_0x152a74,_0x2d4c5),this['isConnected']?this['send'](_0x2c3f0f['event'],_0x2c3f0f['data']):this['queue']['push'](_0x2c3f0f);}['unsubscribe'](_0xcf7b75){this['subscribers']-=0x1;const _0x2f9ff7='task-status-'+_0xcf7b75,_0x450ed3={'event':'pusher:unsubscribe','data':{'channel':_0x2f9ff7}};this['emmitter']['off'](_0x2f9ff7),this['isConnected']?this['send'](_0x450ed3['event'],_0x450ed3['data']):this['queue']=this['queue']['filter'](_0x290444=>_0x290444['data']['channel']!==_0x2f9ff7),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x19c456){return this['emmitter']['on']('error',_0x19c456),()=>this['emmitter']['off']('error',_0x19c456);}}let _0x2e975e=null;const getPusher=_0x5200ae=>{if(!_0x2e975e){const _0x4d0cb2='undefined'==typeof window?0x0:0x7530;_0x2e975e=new _0x1930e5(_0x5200ae,_0x4d0cb2);}return _0x2e975e;},preconnect=_0x57721b=>{getPusher(_0x57721b)['connect']();};function pollStrategy({token:_0x168607,publicKey:_0x3b7c00,baseURL:_0x3fca8c,integration:_0xfc618a,userAgent:_0x69dd76,retryThrottledRequestMaxTimes:_0x1c8483,retryNetworkErrorMaxTimes:_0x48f3ab,onProgress:_0xd9ce2f,signal:_0x3bfbe1}){return _0x3db71b({'check':_0x5ac0f7=>fromUrlStatus(_0x168607,{'publicKey':_0x3b7c00,'baseURL':_0x3fca8c,'integration':_0xfc618a,'userAgent':_0x69dd76,'retryThrottledRequestMaxTimes':_0x1c8483,'retryNetworkErrorMaxTimes':_0x48f3ab,'signal':_0x5ac0f7})['then'](_0x107aa9=>{switch(_0x107aa9['status']){case Status['Error']:return new _0x6594ff(_0x107aa9['error'],_0x107aa9['errorCode']);case Status['Waiting']:return!0x1;case Status['Unknown']:return new _0x6594ff('Token\x20\x22'+_0x168607+'\x22\x20was\x20not\x20found.');case Status['Progress']:return _0xd9ce2f&&('unknown'===_0x107aa9['total']?_0xd9ce2f({'isComputable':!0x1}):_0xd9ce2f({'isComputable':!0x0,'value':_0x107aa9['done']/_0x107aa9['total']})),!0x1;case Status['Success']:return _0xd9ce2f&&_0xd9ce2f({'isComputable':!0x0,'value':_0x107aa9['done']/_0x107aa9['total']}),_0x107aa9;default:throw new Error('Unknown\x20status');}}),'signal':_0x3bfbe1});}const pushStrategy=({token:_0x1507f6,pusherKey:_0x44df2b,signal:_0x47e25d,onProgress:_0x3066f9})=>new Promise((_0x2a5a14,_0x43c250)=>{const _0x275322=getPusher(_0x44df2b),_0x12f237=_0x275322['onError'](_0x43c250),_0x48f8a9=()=>{_0x12f237(),_0x275322['unsubscribe'](_0x1507f6);};_0x3dd8fe(_0x47e25d,()=>{_0x48f8a9(),_0x43c250(new _0x49227f('pusher\x20cancelled'));}),_0x275322['subscribe'](_0x1507f6,_0x1358bb=>{switch(_0x1358bb['status']){case Status['Progress']:_0x3066f9&&('unknown'===_0x1358bb['total']?_0x3066f9({'isComputable':!0x1}):_0x3066f9({'isComputable':!0x0,'value':_0x1358bb['done']/_0x1358bb['total']}));break;case Status['Success']:_0x48f8a9(),_0x3066f9&&_0x3066f9({'isComputable':!0x0,'value':_0x1358bb['done']/_0x1358bb['total']}),_0x2a5a14(_0x1358bb);break;case Status['Error']:_0x48f8a9(),_0x43c250(new _0x6594ff(_0x1358bb['msg'],_0x1358bb['error_code']));}});}),_0x11803c=(_0x269522,{publicKey:_0x18d6d7,fileName:_0x4dce86,baseURL:_0x413409,baseCDN:_0x1b09b1,checkForUrlDuplicates:_0x86f067,saveUrlForRecurrentUploads:_0x350702,secureSignature:_0x430d6b,secureExpire:_0x3cd189,store:_0x2e018b,signal:_0x2a086d,onProgress:_0x5a4051,source:_0x55f12a,integration:_0x5cab9c,userAgent:_0x2c27a1,retryThrottledRequestMaxTimes:_0x4ea807,pusherKey:_0x3eee65=defaultSettings['pusherKey'],metadata:_0x59ec4a})=>Promise['resolve'](preconnect(_0x3eee65))['then'](()=>_0x5965bd(_0x269522,{'publicKey':_0x18d6d7,'fileName':_0x4dce86,'baseURL':_0x413409,'checkForUrlDuplicates':_0x86f067,'saveUrlForRecurrentUploads':_0x350702,'secureSignature':_0x430d6b,'secureExpire':_0x3cd189,'store':_0x2e018b,'signal':_0x2a086d,'source':_0x55f12a,'integration':_0x5cab9c,'userAgent':_0x2c27a1,'retryThrottledRequestMaxTimes':_0x4ea807,'metadata':_0x59ec4a}))['catch'](_0x13df6e=>{const _0x506704=getPusher(_0x3eee65);return _0x506704?.['disconnect'](),Promise['reject'](_0x13df6e);})['then'](_0x73598f=>_0x73598f['type']===_0x5cbde5['FileInfo']?_0x73598f:_0x4dbae2([({signal:_0x1c03ba})=>pollStrategy({'token':_0x73598f['token'],'publicKey':_0x18d6d7,'baseURL':_0x413409,'integration':_0x5cab9c,'userAgent':_0x2c27a1,'retryThrottledRequestMaxTimes':_0x4ea807,'onProgress':_0x5a4051,'signal':_0x1c03ba}),({signal:_0x3b47f9})=>pushStrategy({'token':_0x73598f['token'],'pusherKey':_0x3eee65,'signal':_0x3b47f9,'onProgress':_0x5a4051})],{'signal':_0x2a086d}))['then'](_0x25719a=>{if(_0x25719a instanceof _0x6594ff)throw _0x25719a;return _0x25719a;})['then'](_0x5d217e=>_0x39f322(_0x5d217e['uuid'],{'publicKey':_0x18d6d7,'baseURL':_0x413409,'integration':_0x5cab9c,'userAgent':_0x2c27a1,'retryThrottledRequestMaxTimes':_0x4ea807,'onProgress':_0x5a4051,'signal':_0x2a086d}))['then'](_0x2be6b2=>new _0x2b94a1(_0x2be6b2,{'baseCDN':_0x1b09b1})),_0x204fe8=new WeakMap(),getBlobFromReactNativeAsset=async _0x380a7f=>{if(_0x204fe8['has'](_0x380a7f))return _0x204fe8['get'](_0x380a7f);const _0x54009f=await fetch(_0x380a7f['uri'])['then'](_0x255985=>_0x255985['blob']());return _0x204fe8['set'](_0x380a7f,_0x54009f),_0x54009f;},getFileSize=async _0x22b821=>{if(_0x36614a(_0x22b821)||_0x10aece(_0x22b821))return _0x22b821['size'];if(isReactNativeAsset(_0x22b821))return(await getBlobFromReactNativeAsset(_0x22b821))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},isMultipart=(_0x41d529,_0x59e293=defaultSettings['multipartMinFileSize'])=>_0x41d529>=_0x59e293,_0xf76b80=_0x2c5749=>{const _0x1154e9=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!isFileData(_0x2c5749)&&_0x1154e9['test'](_0x2c5749);},_0x54e44d=_0x2931de=>{const _0x3a9afa=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!isFileData(_0x2931de)&&_0x3a9afa['test'](_0x2931de);},runWithConcurrency=(_0xf5e1f7,_0x79f5e9)=>new Promise((_0x16582a,_0x2d7e13)=>{const _0x13de42=[];let _0x716f8b=!0x1,_0x28f8db=_0x79f5e9['length'];const _0x2e6d01=[..._0x79f5e9],_0x54cf1d=()=>{const _0x300b3b=_0x79f5e9['length']-_0x2e6d01['length'],_0x4b99ef=_0x2e6d01['shift']();_0x4b99ef&&_0x4b99ef()['then'](_0x5e2df2=>{_0x716f8b||(_0x13de42[_0x300b3b]=_0x5e2df2,_0x28f8db-=0x1,_0x28f8db?_0x54cf1d():_0x16582a(_0x13de42));})['catch'](_0xcafd00=>{_0x716f8b=!0x0,_0x2d7e13(_0xcafd00);});};for(let _0x1bf61d=0x0;_0x1bf61d<_0xf5e1f7;_0x1bf61d++)_0x54cf1d();}),_0x3c4eea=(_0x468e4d,_0x5d63e9,_0x4fbfe7,_0x2ea498)=>{const _0xeb839f=_0x2ea498*_0x5d63e9,_0x53d9c=Math['min'](_0xeb839f+_0x2ea498,_0x4fbfe7);return _0x468e4d['slice'](_0xeb839f,_0x53d9c);},_0x3cb608=async(_0x1c2a24,_0xc224fd,_0x3e3b3f)=>_0x301882=>_0x3c4eea(_0x1c2a24,_0x301882,_0xc224fd,_0x3e3b3f),uploadPart=(_0x1fee10,_0x276d17,{publicKey:_0x3aa701,contentType:_0x2c544d,onProgress:_0x146bfc,signal:_0x2b39c9,integration:_0x516815,retryThrottledRequestMaxTimes:_0xac22a3,retryNetworkErrorMaxTimes:_0x20cfdd})=>multipartUpload(_0x1fee10,_0x276d17,{'contentType':_0x2c544d,'onProgress':_0x146bfc,'signal':_0x2b39c9,'retryThrottledRequestMaxTimes':_0xac22a3,'retryNetworkErrorMaxTimes':_0x20cfdd}),uploadMultipart=async(_0x32880b,{publicKey:_0x2a5b78,fileName:_0x594b37,fileSize:_0xbb6e7d,baseURL:_0x3a91e4,secureSignature:_0x4aa993,secureExpire:_0x1fed15,store:_0x5ed3d0,signal:_0x59940b,onProgress:_0x43b4d2,source:_0x2d45c0,integration:_0x3d4b18,userAgent:_0x7f5667,retryThrottledRequestMaxTimes:_0x3e2a89,retryNetworkErrorMaxTimes:_0x33cfbe,contentType:_0x2d0474,multipartChunkSize:_0x483156=defaultSettings['multipartChunkSize'],maxConcurrentRequests:_0x9f467c=defaultSettings['maxConcurrentRequests'],baseCDN:_0x5b01f0,metadata:_0x3fab9f})=>{const _0x1e89aa=_0xbb6e7d??await getFileSize(_0x32880b);let _0x2b5e9c;const _0x3a34b9=(_0x82bdd,_0x27ec9c)=>{if(!_0x43b4d2)return;_0x2b5e9c||(_0x2b5e9c=Array(_0x82bdd)['fill'](0x0));const _0x12b31f=_0x298a49=>_0x298a49['reduce']((_0x209424,_0xec28fe)=>_0x209424+_0xec28fe,0x0);return _0x2f8ca0=>{_0x2f8ca0['isComputable']&&(_0x2b5e9c[_0x27ec9c]=_0x2f8ca0['value'],_0x43b4d2({'isComputable':!0x0,'value':_0x12b31f(_0x2b5e9c)/_0x82bdd}));};};return _0x2d0474||=getContentType(_0x32880b),multipartStart(_0x1e89aa,{'publicKey':_0x2a5b78,'contentType':_0x2d0474,'fileName':_0x594b37||getFileName(_0x32880b),'baseURL':_0x3a91e4,'secureSignature':_0x4aa993,'secureExpire':_0x1fed15,'store':_0x5ed3d0,'signal':_0x59940b,'source':_0x2d45c0,'integration':_0x3d4b18,'userAgent':_0x7f5667,'retryThrottledRequestMaxTimes':_0x3e2a89,'retryNetworkErrorMaxTimes':_0x33cfbe,'metadata':_0x3fab9f,'multipartChunkSize':_0x483156})['then'](async({uuid:_0x53bded,parts:_0x4df340})=>{const _0x39752c=await _0x3cb608(_0x32880b,_0x1e89aa,_0x483156);return Promise['all']([_0x53bded,runWithConcurrency(_0x9f467c,_0x4df340['map']((_0x9e0e8e,_0x1e1a0e)=>()=>uploadPart(_0x39752c(_0x1e1a0e),_0x9e0e8e,{'publicKey':_0x2a5b78,'contentType':_0x2d0474,'onProgress':_0x3a34b9(_0x4df340['length'],_0x1e1a0e),'signal':_0x59940b,'integration':_0x3d4b18,'retryThrottledRequestMaxTimes':_0x3e2a89,'retryNetworkErrorMaxTimes':_0x33cfbe})))]);})['then'](([_0x4014ee])=>multipartComplete(_0x4014ee,{'publicKey':_0x2a5b78,'baseURL':_0x3a91e4,'source':_0x2d45c0,'integration':_0x3d4b18,'userAgent':_0x7f5667,'retryThrottledRequestMaxTimes':_0x3e2a89,'retryNetworkErrorMaxTimes':_0x33cfbe}))['then'](_0x261d93=>_0x261d93['isReady']?_0x261d93:_0x39f322(_0x261d93['uuid'],{'publicKey':_0x2a5b78,'baseURL':_0x3a91e4,'source':_0x2d45c0,'integration':_0x3d4b18,'userAgent':_0x7f5667,'retryThrottledRequestMaxTimes':_0x3e2a89,'retryNetworkErrorMaxTimes':_0x33cfbe,'onProgress':_0x43b4d2,'signal':_0x59940b}))['then'](_0x55fc5a=>new _0x2b94a1(_0x55fc5a,{'baseCDN':_0x5b01f0}));};async function _0x5e9df7(_0x5a99ef,{publicKey:_0x4608ea,fileName:_0xc2cd23,baseURL:_0x49d3c8=defaultSettings['baseURL'],secureSignature:_0x3bc403,secureExpire:_0x2a7f9b,store:_0x2039d0,signal:_0x459182,onProgress:_0x4b4380,source:_0x4e1e9c,integration:_0x2a4bf1,userAgent:_0xf22dcb,retryThrottledRequestMaxTimes:_0x57ea84,retryNetworkErrorMaxTimes:_0x388ec8,contentType:_0xdcf75a,multipartMinFileSize:_0x35ce9a,multipartChunkSize:_0x34b8cb,maxConcurrentRequests:_0x2b4ec1,baseCDN:_0x384d0f=defaultSettings['baseCDN'],checkForUrlDuplicates:_0x3bf0e6,saveUrlForRecurrentUploads:_0x2a463d,pusherKey:_0x534c88,metadata:_0x589d6d}){if(isFileData(_0x5a99ef)){const _0x4d5a6d=await getFileSize(_0x5a99ef);return isMultipart(_0x4d5a6d,_0x35ce9a)?uploadMultipart(_0x5a99ef,{'publicKey':_0x4608ea,'contentType':_0xdcf75a,'multipartChunkSize':_0x34b8cb,'fileSize':_0x4d5a6d,'fileName':_0xc2cd23,'baseURL':_0x49d3c8,'secureSignature':_0x3bc403,'secureExpire':_0x2a7f9b,'store':_0x2039d0,'signal':_0x459182,'onProgress':_0x4b4380,'source':_0x4e1e9c,'integration':_0x2a4bf1,'userAgent':_0xf22dcb,'maxConcurrentRequests':_0x2b4ec1,'retryThrottledRequestMaxTimes':_0x57ea84,'retryNetworkErrorMaxTimes':_0x388ec8,'baseCDN':_0x384d0f,'metadata':_0x589d6d}):uploadDirect(_0x5a99ef,{'publicKey':_0x4608ea,'fileName':_0xc2cd23,'contentType':_0xdcf75a,'baseURL':_0x49d3c8,'secureSignature':_0x3bc403,'secureExpire':_0x2a7f9b,'store':_0x2039d0,'signal':_0x459182,'onProgress':_0x4b4380,'source':_0x4e1e9c,'integration':_0x2a4bf1,'userAgent':_0xf22dcb,'retryThrottledRequestMaxTimes':_0x57ea84,'retryNetworkErrorMaxTimes':_0x388ec8,'baseCDN':_0x384d0f,'metadata':_0x589d6d});}if(_0x54e44d(_0x5a99ef))return _0x11803c(_0x5a99ef,{'publicKey':_0x4608ea,'fileName':_0xc2cd23,'baseURL':_0x49d3c8,'baseCDN':_0x384d0f,'checkForUrlDuplicates':_0x3bf0e6,'saveUrlForRecurrentUploads':_0x2a463d,'secureSignature':_0x3bc403,'secureExpire':_0x2a7f9b,'store':_0x2039d0,'signal':_0x459182,'onProgress':_0x4b4380,'source':_0x4e1e9c,'integration':_0x2a4bf1,'userAgent':_0xf22dcb,'retryThrottledRequestMaxTimes':_0x57ea84,'pusherKey':_0x534c88,'metadata':_0x589d6d});if(_0xf76b80(_0x5a99ef))return _0x183b71(_0x5a99ef,{'publicKey':_0x4608ea,'fileName':_0xc2cd23,'baseURL':_0x49d3c8,'signal':_0x459182,'onProgress':_0x4b4380,'source':_0x4e1e9c,'integration':_0x2a4bf1,'userAgent':_0xf22dcb,'retryThrottledRequestMaxTimes':_0x57ea84,'retryNetworkErrorMaxTimes':_0x388ec8,'baseCDN':_0x384d0f});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x5a99ef+'\x22\x20is\x20not\x20supported');}class _0x4d5e57{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0x365fe6,{baseCDN:_0x593d91=defaultSettings['baseCDN']}={}){this['uuid']=_0x365fe6['id'],this['filesCount']=_0x365fe6['filesCount'];const _0x5c70ef=_0x365fe6['files']['filter'](Boolean);this['totalSize']=Object['values'](_0x5c70ef)['reduce']((_0x59af5a,_0x55ffe5)=>_0x59af5a+_0x55ffe5['size'],0x0),this['isStored']=!!_0x365fe6['datetimeStored'],this['isImage']=!!Object['values'](_0x5c70ef)['filter'](_0x37b02e=>_0x37b02e['isImage'])['length'],this['cdnUrl']=_0x365fe6['cdnUrl'],this['files']=_0x5c70ef['map'](_0x2055d9=>new _0x2b94a1(_0x2055d9,{'baseCDN':_0x593d91})),this['createdAt']=_0x365fe6['datetimeCreated'],this['storedAt']=_0x365fe6['datetimeStored'];}}const isFileDataArray=_0x4209c8=>{for(const _0x5c7519 of _0x4209c8)if(!isFileData(_0x5c7519))return!0x1;return!0x0;},_0x42223f=_0x53c5b9=>{for(const _0x3ab571 of _0x53c5b9)if(!_0xf76b80(_0x3ab571))return!0x1;return!0x0;},_0xd841eb=_0xd1dab8=>{for(const _0x619ca5 of _0xd1dab8)if(!_0x54e44d(_0x619ca5))return!0x1;return!0x0;};function _0x2d6564(_0x56c6d9,{publicKey:_0xa03e90,fileName:_0x2790f2,baseURL:_0x4bcdaa=defaultSettings['baseURL'],secureSignature:_0x2423c9,secureExpire:_0xe0a6eb,store:_0x6a5c37,signal:_0x1e8c5a,onProgress:_0x1cb1e6,source:_0x5b1622,integration:_0x4dec96,userAgent:_0x3d46ee,retryThrottledRequestMaxTimes:_0x409405,retryNetworkErrorMaxTimes:_0x5e81b0,contentType:_0x4faa9c,multipartChunkSize:_0x169b1f=defaultSettings['multipartChunkSize'],baseCDN:_0x3846f7=defaultSettings['baseCDN'],checkForUrlDuplicates:_0xe93dcb,saveUrlForRecurrentUploads:_0x5b110e,jsonpCallback:_0x1d6c29}){if(!isFileDataArray(_0x56c6d9)&&!_0xd841eb(_0x56c6d9)&&!_0x42223f(_0x56c6d9))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x56c6d9+'\x22\x20is\x20not\x20supported');let _0x3e049c,_0xc08cd5=!0x0;const _0x409417=_0x56c6d9['length'],_0x1c892f=(_0x382f5e,_0x2be49e)=>{if(!_0x1cb1e6)return;_0x3e049c||(_0x3e049c=Array(_0x382f5e)['fill'](0x0));const _0x28e78b=_0x1b2376=>_0x1b2376['reduce']((_0x624e3,_0x1bc003)=>_0x624e3+_0x1bc003)/_0x382f5e;return _0x2c3983=>{if(!_0x2c3983['isComputable']||!_0xc08cd5)return _0xc08cd5=!0x1,void _0x1cb1e6({'isComputable':!0x1});_0x3e049c[_0x2be49e]=_0x2c3983['value'],_0x1cb1e6({'isComputable':!0x0,'value':_0x28e78b(_0x3e049c)});};};return Promise['all'](_0x56c6d9['map']((_0x593ca8,_0x34b94c)=>isFileData(_0x593ca8)||_0x54e44d(_0x593ca8)?_0x5e9df7(_0x593ca8,{'publicKey':_0xa03e90,'fileName':_0x2790f2,'baseURL':_0x4bcdaa,'secureSignature':_0x2423c9,'secureExpire':_0xe0a6eb,'store':_0x6a5c37,'signal':_0x1e8c5a,'onProgress':_0x1c892f(_0x409417,_0x34b94c),'source':_0x5b1622,'integration':_0x4dec96,'userAgent':_0x3d46ee,'retryThrottledRequestMaxTimes':_0x409405,'retryNetworkErrorMaxTimes':_0x5e81b0,'contentType':_0x4faa9c,'multipartChunkSize':_0x169b1f,'baseCDN':_0x3846f7,'checkForUrlDuplicates':_0xe93dcb,'saveUrlForRecurrentUploads':_0x5b110e})['then'](_0x221b79=>_0x221b79['uuid']):_0x593ca8))['then'](_0x2816f9=>_0x4bafa9(_0x2816f9,{'publicKey':_0xa03e90,'baseURL':_0x4bcdaa,'jsonpCallback':_0x1d6c29,'secureSignature':_0x2423c9,'secureExpire':_0xe0a6eb,'signal':_0x1e8c5a,'source':_0x5b1622,'integration':_0x4dec96,'userAgent':_0x3d46ee,'retryThrottledRequestMaxTimes':_0x409405,'retryNetworkErrorMaxTimes':_0x5e81b0})['then'](_0x16e015=>new _0x4d5e57(_0x16e015,{'baseCDN':_0x3846f7}))['then'](_0x2eb486=>(_0x1cb1e6&&_0x1cb1e6({'isComputable':!0x0,'value':0x1}),_0x2eb486)));}class _0x56997f{['_concurrency']=0x1;['_pending']=[];['_running']=0x0;['_resolvers']=new Map();['_rejectors']=new Map();constructor(_0x55a904){this['_concurrency']=_0x55a904;}['run'](){const _0x5271a9=this['_concurrency']-this['_running'];for(let _0xb74094=0x0;_0xb74094<_0x5271a9;_0xb74094++){const _0x5e6c0e=this['_pending']['shift']();if(!_0x5e6c0e)return;const _0x1c1c72=this['_resolvers']['get'](_0x5e6c0e),_0x25e968=this['_rejectors']['get'](_0x5e6c0e);if(!_0x1c1c72||!_0x25e968)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_running']+=0x1,_0x5e6c0e()['finally'](()=>{this['_resolvers']['delete'](_0x5e6c0e),this['_rejectors']['delete'](_0x5e6c0e),this['_running']-=0x1,this['run']();})['then'](_0x17a0f6=>_0x1c1c72(_0x17a0f6))['catch'](_0x4f3127=>_0x25e968(_0x4f3127));}}['add'](_0x215a85,{autoRun:_0x2f5b60}={'autoRun':!0x0}){return new Promise((_0x4a0901,_0x174fab)=>{this['_resolvers']['set'](_0x215a85,_0x4a0901),this['_rejectors']['set'](_0x215a85,_0x174fab),this['_pending']['push'](_0x215a85),_0x2f5b60&&this['run']();});}get['pending'](){return this['_pending']['length'];}get['running'](){return this['_running'];}set['concurrency'](_0x40b1d3){this['_concurrency']=_0x40b1d3,this['run']();}get['concurrency'](){return this['_concurrency'];}}const _0x5bc222={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function _0x596b2c(_0x1f85e3,_0x427a6a){_0x427a6a['tabIndex']=0x0,_0x427a6a['focus'](),_0x1f85e3['tabIndex']=-0x1;}function findGroupNodeByEventTarget(_0x3c2168){let _0x2c093d=_0x3c2168['role']||_0x3c2168['type']||_0x3c2168['tagName'];if(!_0x2c093d)return null;let _0x44834d=_0x5bc222[_0x2c093d['toLowerCase']()];if(!_0x44834d)return null;for(let _0x30352f of _0x44834d){let _0x46dae7=_0x3c2168['closest']('[role='+_0x30352f+']');if(_0x46dae7)return _0x46dae7;}}function getItems(_0x3c4d42,_0x3e38c1){return'toolbar'===_0x3e38c1['role']?getToolbarItems(_0x3e38c1):_0x3e38c1['querySelectorAll']('[role='+_0x3c4d42['role']+']');}function getToolbarItems(_0x506d38){return[..._0x506d38['querySelectorAll']('*')]['filter'](_0x198b7b=>'button'===_0x198b7b['role']||'button'===_0x198b7b['type']||'checkbox'===_0x198b7b['role']||'checkbox'===_0x198b7b['type']);}function isHorizontalOrientation(_0x153463){let _0x4a5905=_0x153463['getAttribute']('aria-orientation');if('vertical'===_0x4a5905)return!0x1;if('horizontal'===_0x4a5905)return!0x0;let _0x1933ad=_0x153463['role'];return'menubar'===_0x1933ad||'tablist'===_0x1933ad||'toolbar'===_0x1933ad;}function _0x36f6db(_0x5ceb1d){return _0x5631bd=>{let _0xff1ac2=!0x1,_0x42236b=0x0,_0x3121f2='';function _0x2b5c02(_0x53aaf7){let _0x3c14fb=findGroupNodeByEventTarget(_0x53aaf7['target']);if(!_0x3c14fb)return void _0x5bdb4f();let _0x5dc494=getItems(_0x53aaf7['target'],_0x3c14fb),_0x9d41a0=Array['from'](_0x5dc494)['indexOf'](_0x53aaf7['target']),_0x5e39d5='ArrowDown',_0x519c52='ArrowUp';if(isHorizontalOrientation(_0x3c14fb)&&('rtl'===_0x5631bd['document']['dir']?(_0x5e39d5='ArrowLeft',_0x519c52='ArrowRight'):(_0x5e39d5='ArrowRight',_0x519c52='ArrowLeft')),_0x53aaf7['key']===_0x5e39d5)_0x53aaf7['preventDefault'](),_0x596b2c(_0x53aaf7['target'],_0x5dc494[_0x9d41a0+0x1]||_0x5dc494[0x0]);else{if(_0x53aaf7['key']===_0x519c52)_0x53aaf7['preventDefault'](),_0x596b2c(_0x53aaf7['target'],_0x5dc494[_0x9d41a0-0x1]||_0x5dc494[_0x5dc494['length']-0x1]);else{if('Home'===_0x53aaf7['key'])_0x53aaf7['preventDefault'](),_0x596b2c(_0x53aaf7['target'],_0x5dc494[0x0]);else{if('End'===_0x53aaf7['key'])_0x53aaf7['preventDefault'](),_0x596b2c(_0x53aaf7['target'],_0x5dc494[_0x5dc494['length']-0x1]);else{if(0x1===_0x53aaf7['key']['length']&&'tablist'!==_0x3c14fb['role']){let _0x1cf53b=Date['now']();_0x1cf53b-_0x42236b<=0x12c?_0x3121f2+=_0x53aaf7['key']['toLowerCase']():_0x3121f2=_0x53aaf7['key']['toLowerCase'](),_0x42236b=_0x1cf53b;let _0x2d703f=Array['from'](_0x5dc494)['find'](_0x595c23=>_0x595c23['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x3121f2));_0x2d703f&&(_0x53aaf7['preventDefault'](),_0x596b2c(_0x53aaf7['target'],_0x2d703f));}}}}}}function _0x5bdb4f(){_0xff1ac2=!0x1,_0x5631bd['removeEventListener']('keydown',_0x2b5c02);}function _0x5edef4(_0x5022aa){let _0x16b1a4=findGroupNodeByEventTarget(_0x5022aa['target']);if(_0x16b1a4){_0xff1ac2||(_0xff1ac2=!0x0,_0x5631bd['addEventListener']('keydown',_0x2b5c02));let _0x3ce5ec=getItems(_0x5022aa['target'],_0x16b1a4);for(let _0x13df52 of _0x3ce5ec)_0x13df52!==_0x5022aa['target']&&_0x13df52['setAttribute']('tabindex',-0x1);}else _0xff1ac2&&_0x5bdb4f();}function _0x5aeda4(_0x305314){_0x305314['relatedTarget']&&_0x305314['relatedTarget']!==_0x5631bd['document']||_0x5bdb4f();}function _0x57cd99(_0x26969b){let _0x203d58=findGroupNodeByEventTarget(_0x26969b['target']);if(_0x203d58){let _0x474c3b=getItems(_0x26969b['target'],_0x203d58);for(let _0x236fbb of _0x474c3b)_0x236fbb!==_0x26969b['target']&&_0x236fbb['setAttribute']('tabindex',-0x1);_0x26969b['target']['setAttribute']('tabindex',0x0);}}return _0x5631bd['addEventListener']('click',_0x57cd99),_0x5631bd['addEventListener']('focusin',_0x5edef4),_0x5631bd['addEventListener']('focusout',_0x5aeda4),()=>{_0x5bdb4f(),_0x5631bd['removeEventListener']('click',_0x57cd99),_0x5631bd['removeEventListener']('focusin',_0x5edef4),_0x5631bd['removeEventListener']('focusout',_0x5aeda4);};};}function _0x4bc077(){return _0x1c138a=>{let _0x45799b,_0x478d33;function _0xec7284(_0x50dfa4){if('true'===_0x50dfa4['target']['getAttribute']('aria-hidden')){_0x45799b=_0x50dfa4['target'],_0x45799b['setAttribute']('aria-hidden','false'),_0x478d33=_0x45799b['hidden'],_0x478d33&&(_0x45799b['hidden']=!0x1);let _0x1ef5ec=_0x50dfa4['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x1ef5ec&&(_0x1ef5ec['tabIndex']=0x0);}}function _0x106b2b(_0x34c08){!_0x45799b||!_0x45799b['contains'](_0x34c08['target'])||_0x34c08['relatedTarget']&&_0x45799b['contains'](_0x34c08['relatedTarget'])||(_0x34c08['target']['tabIndex']=-0x1,_0x45799b['setAttribute']('aria-hidden','true'),_0x478d33&&(_0x45799b['hidden']=!0x0),_0x45799b=null);}return _0x1c138a['addEventListener']('keyuxJump',_0xec7284),_0x1c138a['addEventListener']('focusout',_0x106b2b),()=>{_0x1c138a['removeEventListener']('keyuxJump',_0xec7284),_0x1c138a['removeEventListener']('focusout',_0x106b2b);};};}function _0x4e20a0(){return _0x1460d0=>{let _0x1e7188=[];function _0x374aff(){let _0x31762d=_0x1e7188['pop']();if(!_0x31762d)return void _0x1460d0['document']['activeElement']['blur']();let _0x6c8e22=_0x31762d['deref']();_0x6c8e22&&_0x6c8e22['isConnected']?_0x6c8e22['focus']():_0x374aff();}let _0x5b190a,_0x2e8f26=0x0;function _0x50a285(_0x335ee){clearInterval(_0x5b190a);let _0x19c28f=_0x335ee['getAttribute']('aria-controls');_0x5b190a=setInterval(()=>{if(_0x2e8f26++>0x32)return void clearInterval(_0x5b190a);let _0x589d5f=_0x1460d0['document']['getElementById'](_0x19c28f);if(_0x589d5f){let _0x2566b3=_0x589d5f['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x2566b3&&(clearInterval(_0x5b190a),_0x589d5f['dispatchEvent'](new _0x1460d0['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0x2bfadc){let _0x211da2=_0x1460d0['document']['activeElement'];_0x211da2&&_0x211da2!==_0x1460d0['document']['body']&&_0x1e7188['push'](new WeakRef(_0x211da2)),_0x2bfadc['focus']({'focusVisible':!0x0});}(_0x2566b3));}},0x32);}function _0x51e04(_0x3d5ffa){_0x3d5ffa['target']['getAttribute']('aria-controls')&&'Enter'===_0x3d5ffa['key']&&_0x50a285(_0x3d5ffa['target']),'Escape'===_0x3d5ffa['key']&&_0x374aff();}return _0x1460d0['addEventListener']('keydown',_0x51e04),()=>{_0x1460d0['removeEventListener']('keydown',_0x51e04);};};}function _0x588e91(_0x1bf64e){let _0x190802,_0x201eaa,_0x35e8b3=_0x1bf64e['split']('\x20');function _0x9becb4(_0x4ebc2b){'Enter'!==_0x4ebc2b['key']||'BUTTON'!==_0x4ebc2b['target']['tagName']&&'A'!==_0x4ebc2b['target']['tagName']||(_0x52b354(),_0x4ebc2b['target']['classList']['add'](..._0x35e8b3),_0x190802=_0x4ebc2b['target'],_0x201eaa=_0x4ebc2b['target']);}function _0x52b354(){_0x190802&&_0x190802['classList']['remove'](..._0x35e8b3),_0x201eaa=null;}function _0x1bf127(_0x34829e){0x0===_0x34829e['clientX']&&0x0===_0x34829e['clientY']&&_0x201eaa!==_0x34829e['target']&&(_0x52b354(),_0x34829e['target']['classList']['add'](..._0x35e8b3),_0x190802=_0x34829e['target']);}return _0x52a733=>(_0x52a733['addEventListener']('click',_0x1bf127),_0x52a733['addEventListener']('keydown',_0x9becb4),_0x52a733['addEventListener']('keyup',_0x52b354),()=>{_0x52a733['removeEventListener']('click',_0x1bf127),_0x52a733['removeEventListener']('keydown',_0x9becb4),_0x52a733['removeEventListener']('keyup',_0x52b354);});}function startKeyUX(_0x44e303,_0x30f524){let _0x48a936=_0x30f524['map'](_0x128c0d=>_0x128c0d(_0x44e303));return()=>{_0x48a936['forEach'](_0x318815=>_0x318815());};}function _0x21a205(_0x24fc05){return _0x24fc05['replace'](/[A-Z]/g,_0x1786d4=>'_'+_0x1786d4['toLowerCase']())['replace'](/__/g,'_');}function _0x322c70(_0x7ae772){return Array['isArray'](_0x7ae772)?_0x7ae772['map'](_0xacdd7b=>'object'==typeof _0xacdd7b&&null!==_0xacdd7b?_0x322c70(_0xacdd7b):_0xacdd7b):'object'!=typeof _0x7ae772||null===_0x7ae772?_0x7ae772:Object['fromEntries'](Object['entries'](_0x7ae772)['map'](([_0x496db6,_0x5c800b])=>{const t=_0x21a205(_0x496db6);return'object'==typeof _0x5c800b&&null!==_0x5c800b?[t,_0x322c70(_0x5c800b)]:[t,_0x5c800b];}));}function _0x3d70c7(_0x1af4a5){return{'ok':!0x0,'value':_0x1af4a5};}function _0x24d386(_0x2812b9){return{'ok':!0x1,'error':_0x2812b9};}const _0x309698='https://tlm.uploadcare.com/api/';class _0x3b2991{constructor(_0x2e94a7=_0x309698){this['baseUrl']=_0x2e94a7;}async['base'](_0x364efe,_0x59c8ec={}){const t=''+this['baseUrl']+_0x364efe;try{const _0x1090fb=await fetch(t,_0x59c8ec);if(!_0x1090fb['ok'])return _0x24d386(new Error('Got\x20non-200\x20response\x20from\x20\x22'+t+'\x22.\x20Status:\x20'+_0x1090fb['status']['toString']()));try{return _0x3d70c7(await _0x1090fb['json']());}catch(_0x158f14){return _0x24d386(new Error('Error\x20parsing\x20JSON\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0x158f14));}}catch(_0x3a405c){return _0x24d386(new Error('Error\x20fetching\x20data\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0x3a405c));}}async['post'](_0x11932e,_0x1fe1b4,t={}){return await this['base'](_0x11932e,{...t,'method':'POST','body':JSON['stringify'](_0x322c70(_0x1fe1b4)),'headers':{'Content-Type':'application/json',...t['headers']||{}}});}async['get'](_0x4aebc3,_0x4e905a={}){return await this['base'](_0x4aebc3,{'method':'GET',..._0x4e905a});}}const _0x52100a=async(_0x56d836,_0x4b99f5)=>({'success':!0x0,'data':_0x4b99f5});class _0x49933d extends _0x3b2991{constructor(){super();}async['sendEvent'](_0x3b5247,_0x40ac0f){const t=await _0x52100a(void 0x0,_0x3b5247);if(!t['success'])throw console['error']('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid',t['error']),new Error('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid');return this['post']('v1/events',_0x3b5247,_0x40ac0f);}}const _0x469e51=(_0x332c51,_0x29671e)=>{const _0xe2d48c=new URL(_0x29671e);return _0xe2d48c['hostname']=_0x332c51+'.'+_0xe2d48c['hostname'],_0xe2d48c['toString']()['replace'](/\/$/,'');},_0x578c1b='0123456789abcdefghijklmnopqrstuvwxyz',_0x459642=_0x18eead=>{if(_0x18eead<=0x0n)return'0';let _0x220fa9='';for(;_0x18eead>0x0n;){_0x220fa9=_0x578c1b[Number(_0x18eead%0x24n)]+_0x220fa9,_0x18eead/=0x24n;}return _0x220fa9;},_0x3a9e50=(_0x56c780,_0x5b5359)=>{try{const _0xa91e25=new URL(_0x56c780),t=new URL(_0x5b5359);return _0xa91e25['hostname']['endsWith'](t['hostname']);}catch{return!0x1;}},_0x339bfb=async _0x366a64=>{const _0x5bee57=new TextEncoder()['encode'](_0x366a64),t=await window['crypto']['subtle']['digest']('SHA-256',_0x5bee57),_0x9c0125=Array['from'](new Uint8Array(t))['map'](_0x383465=>_0x383465['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0x9c0125);},_0x28f109=0xa,_0x272b04=async _0x93eada=>{const _0x1c0ad2=await _0x339bfb(_0x93eada);return _0x459642(_0x1c0ad2)['slice'](0x0,_0x28f109);},_0x34673=async(_0x34b008,_0x17ae02)=>{const t=await _0x272b04(_0x34b008);return _0x469e51(t,_0x17ae02);},_0x2447e7=()=>{const _0x4fb985=[];return{'stack':_0x4fb985,'promiseReadJpegChunks':_0x396f96=>new Promise((_0x10fd5c,_0x61e5a6)=>{let _0x1969de=0x2;const _0x5526ad=(_0xe9d312,_0x383d66)=>{const _0x91eb42=new FileReader();_0x91eb42['addEventListener']('load',()=>{_0x383d66(new DataView(_0x91eb42['result']));}),_0x91eb42['addEventListener']('error',_0x28252e=>{_0x61e5a6('Reader\x20error:\x20'+_0x28252e);}),_0x91eb42['readAsArrayBuffer'](_0xe9d312);},_0x19e796=()=>_0x5526ad(_0x396f96['slice'](_0x1969de,_0x1969de+0x80),_0x38af71=>{let _0x1eb322,_0x6f6cda,_0x2baf37;for(_0x1eb322=_0x6f6cda=0x0,_0x2baf37=_0x38af71['byteLength'];_0x2baf37>=0x0?_0x6f6cda<_0x2baf37:_0x6f6cda>_0x2baf37;_0x1eb322=_0x2baf37>=0x0?++_0x6f6cda:--_0x6f6cda)if(0xff===_0x38af71['getUint8'](_0x1eb322)){_0x1969de+=_0x1eb322;break;}_0x5c8a64();}),_0x5c8a64=()=>{const _0x4720b6=_0x1969de;return _0x5526ad(_0x396f96['slice'](_0x1969de,_0x1969de+=0x4),_0x3dd0b4=>{if(0x4!==_0x3dd0b4['byteLength']||0xff!==_0x3dd0b4['getUint8'](0x0))return void _0x61e5a6('Corrupted');const _0x506e41=_0x3dd0b4['getUint8'](0x1);if(0xda===_0x506e41)return void _0x10fd5c(!0x0);const _0xbd3839=_0x3dd0b4['getUint16'](0x2)-0x2;return _0x5526ad(_0x396f96['slice'](_0x1969de,_0x1969de+=_0xbd3839),_0x282374=>{_0x282374['byteLength']===_0xbd3839?(_0x4fb985['push']({'startPos':_0x4720b6,'length':_0xbd3839,'marker':_0x506e41,'view':_0x282374}),_0x19e796()):_0x61e5a6('Corrupted');});});};FileReader&&DataView||_0x61e5a6('Not\x20Support'),_0x5526ad(_0x396f96['slice'](0x0,0x2),_0x11d10e=>{0xffd8!==_0x11d10e['getUint16'](0x0)&&_0x61e5a6('Not\x20jpeg'),_0x19e796();});})};},getIccProfile=async _0x506302=>{const _0xccf78b=[],{promiseReadJpegChunks:_0x574a48,stack:_0x4c20cd}=_0x2447e7();return await _0x574a48(_0x506302),_0x4c20cd['forEach'](({marker:_0x187766,view:_0x30611d})=>{0xe2===_0x187766&&0x4943435f===_0x30611d['getUint32'](0x0)&&0x50524f46===_0x30611d['getUint32'](0x4)&&0x494c4500===_0x30611d['getUint32'](0x8)&&_0xccf78b['push'](_0x30611d);}),_0xccf78b;},_0x59a2d3=async(_0x138dd8,_0x1ddf21,_0x27d4b5)=>{{const _0x596168=[],_0x3ce94d=[],{promiseReadJpegChunks:_0x17066e,stack:_0x2c7eca}=_0x2447e7();await _0x17066e(_0x138dd8),_0x2c7eca['forEach'](_0x584efd=>{if(_0x584efd['marker']===_0x1ddf21)return _0x596168['push'](_0x584efd['startPos']),_0x3ce94d['push'](_0x584efd['length']);});const _0x3c9611=[_0x138dd8['slice'](0x0,0x2)];for(const _0x427708 of _0x27d4b5){const _0x4190c6=new DataView(new ArrayBuffer(0x4));_0x4190c6['setUint16'](0x0,0xff00+_0x1ddf21),_0x4190c6['setUint16'](0x2,_0x427708['byteLength']+0x2),_0x3c9611['push'](_0x4190c6['buffer']),_0x3c9611['push'](_0x427708);}let _0x5544c4=0x2;for(let _0x398436=0x0;_0x398436<_0x596168['length'];_0x398436++)_0x596168[_0x398436]>_0x5544c4&&_0x3c9611['push'](_0x138dd8['slice'](_0x5544c4,_0x596168[_0x398436])),_0x5544c4=_0x596168[_0x398436]+_0x3ce94d[_0x398436]+0x4;return _0x3c9611['push'](_0x138dd8['slice'](_0x5544c4,_0x138dd8['size'])),new Blob(_0x3c9611,{'type':_0x138dd8['type']});}},_0x53d53d=0xe2,_0x5c08a9=(_0x114211,_0x1987c8)=>_0x59a2d3(_0x114211,_0x53d53d,_0x1987c8['map'](_0x450c42=>_0x450c42['buffer'])),stripIccProfile=async _0x443b71=>{try{return await _0x5c08a9(_0x443b71,[]);}catch(_0x3eeaff){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x3eeaff);}},_0x412941=(_0x364c18,_0x3859c3,_0x9e7fdd)=>new Promise((_0x39551b,_0x46302f)=>{_0x364c18['toBlob'](_0x5cdf69=>{_0x5cdf69?_0x39551b(_0x5cdf69):_0x46302f('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x3859c3,_0x9e7fdd),_0x364c18['width']=_0x364c18['height']=0x1;}),createCanvas=()=>{const _0xc579c9=document['createElement']('canvas'),_0x8afa6f=_0xc579c9['getContext']('2d');return{'canvas':_0xc579c9,'ctx':_0x8afa6f};},_0x1ac9d6=_0x133a87=>{const {ctx:_0x3e5dbc,canvas:_0x44fcf3}=createCanvas();_0x44fcf3['width']=_0x44fcf3['height']=0x32,_0x3e5dbc['drawImage'](_0x133a87,0x0,0x0,0x32,0x32);const _0x94af2b=_0x3e5dbc['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x44fcf3['width']=_0x44fcf3['height']=0x1;for(let _0x1d54b2=0x3;_0x1d54b2<_0x94af2b['length'];_0x1d54b2+=0x4)if(_0x94af2b[_0x1d54b2]<0xfe)return!0x0;return!0x1;},getExif=async _0x58c669=>{let _0xb21fe2=null;const {promiseReadJpegChunks:_0x12ab0b,stack:_0x16003c}=_0x2447e7();return await _0x12ab0b(_0x58c669),_0x16003c['forEach'](({marker:_0x1730ac,view:_0x4d90d4})=>{!_0xb21fe2&&0xe1===_0x1730ac&&_0x4d90d4['byteLength']>=0xe&&0x45786966===_0x4d90d4['getUint32'](0x0)&&0x0===_0x4d90d4['getUint16'](0x4)&&(_0xb21fe2=_0x4d90d4);}),_0xb21fe2;},_0x16d4fd='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';let _0x46587f;const isBrowserApplyExifOrientation=()=>new Promise(_0x57dfa5=>{if(void 0x0!==_0x46587f)_0x57dfa5(_0x46587f);else{const _0x22dcc0=new Image();_0x22dcc0['addEventListener']('load',()=>{_0x46587f=_0x22dcc0['naturalWidth']<_0x22dcc0['naturalHeight'],_0x22dcc0['src']='//:0',_0x57dfa5(_0x46587f);}),_0x22dcc0['src']=_0x16d4fd;}}),findExifOrientation=(_0x3efebb,_0x1483b9)=>{let _0x4f21fc,_0x19b739,_0x3d93f7,_0x360153;if(!_0x3efebb||_0x3efebb['byteLength']<0xe||0x45786966!==_0x3efebb['getUint32'](0x0)||0x0!==_0x3efebb['getUint16'](0x4))return;if(0x4949===_0x3efebb['getUint16'](0x6))_0x19b739=!0x0;else{if(0x4d4d!==_0x3efebb['getUint16'](0x6))return;_0x19b739=!0x1;}if(0x2a!==_0x3efebb['getUint16'](0x8,_0x19b739))return;_0x3d93f7=0x8+_0x3efebb['getUint32'](0xa,_0x19b739);for(_0x4f21fc=0x0,_0x360153=_0x3efebb['getUint16'](_0x3d93f7-0x2,_0x19b739);_0x360153>=0x0?_0x4f21fc<_0x360153:_0x4f21fc>_0x360153;_0x360153>=0x0?++_0x4f21fc:--_0x4f21fc){if(_0x3efebb['byteLength']<_0x3d93f7+0xa)return;0x112===_0x3efebb['getUint16'](_0x3d93f7,_0x19b739)&&_0x1483b9(_0x3d93f7+0x8,_0x19b739),_0x3d93f7+=0xc;}},setExifOrientation=(_0x21aefb,_0x4ddfdf)=>{findExifOrientation(_0x21aefb,(_0x4f4b25,_0x4b47b5)=>_0x21aefb['setUint16'](_0x4f4b25,_0x4ddfdf,_0x4b47b5));},_0x7ccd31=async(_0x5db413,_0x39d47e,_0x173b58)=>(_0x173b58&&setExifOrientation(_0x39d47e,0x1),_0x59a2d3(_0x5db413,0xe1,[_0x39d47e['buffer']])),_0x1a0377=(_0x1164be,_0x4a48c4)=>new Promise((_0x193e8d,_0x2a7923)=>{_0x4a48c4&&(_0x1164be['src']=_0x4a48c4),_0x1164be['complete']?_0x193e8d(_0x1164be):(_0x1164be['addEventListener']('load',()=>{_0x193e8d(_0x1164be);}),_0x1164be['addEventListener']('error',()=>{_0x2a7923(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}),_0x111fd6=_0x34807d=>_0x1a0377(new Image(),_0x34807d),_0x150b26=[0x1,0x3],_0x249914=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],_0x2c80d8={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},_0x513764=async _0x6a3c4d=>{let _0x395e9b=!0x1;const {promiseReadJpegChunks:_0x55e448,stack:_0x1f134d}=_0x2447e7();return await _0x55e448(_0x6a3c4d)['then'](()=>(_0x1f134d['forEach'](({marker:_0x32cc29,view:_0x33b891})=>{if(!_0x395e9b&&_0x249914['indexOf'](_0x32cc29)>=0x0){const _0x43ff81=_0x33b891['getUint8'](0x5);_0x150b26['indexOf'](_0x43ff81)<0x0&&(_0x395e9b=!0x0);}}),_0x395e9b))['catch'](()=>_0x395e9b);},_0x22c3b5=(_0x8758c1,_0xd9ec9d)=>{const _0x3e7698={};return(..._0x251690)=>{const _0x58b383=_0xd9ec9d(_0x251690,_0x3e7698);return _0x58b383 in _0x3e7698?_0x3e7698[_0x58b383]:_0x3e7698[_0x58b383]=_0x8758c1(..._0x251690);};},_0x4152b=(_0x4149cc,_0x184ca0)=>{const [_0x1d1cfc]=_0x4149cc,_0x350129=Object['keys'](_0x184ca0)['map'](_0x5842fc=>parseInt(_0x5842fc,0xa))['sort']((_0x4ea26d,_0x35808e)=>_0x4ea26d-_0x35808e);for(let _0x494715=0x0;_0x494715<_0x350129['length'];_0x494715++){const _0x1c267f=_0x350129[_0x494715],_0x55baba=!!_0x184ca0[_0x1c267f];if(_0x1c267f>_0x1d1cfc&&_0x55baba)return _0x1c267f;if(_0x1c267f<_0x1d1cfc&&!_0x55baba)return _0x1c267f;}return _0x1d1cfc;},TestPixel={'R':0x37,'G':0x6e,'B':0xa5,'A':0xff},_0x517987='rgba('+TestPixel['R']+',\x20'+TestPixel['G']+',\x20'+TestPixel['B']+',\x20'+TestPixel['A']/0xff+')',canvasTest=(_0x23e0e6,_0x5101a5)=>{try{const _0x5a66ba=[_0x23e0e6-0x1,_0x5101a5-0x1,0x1,0x1],{canvas:_0x1943ef,ctx:_0x3b6e5d}=createCanvas();_0x1943ef['width']=0x1,_0x1943ef['height']=0x1;const {canvas:_0x30d8ff,ctx:_0x1e0256}=createCanvas();_0x30d8ff['width']=_0x23e0e6,_0x30d8ff['height']=_0x5101a5,_0x1e0256&&(_0x1e0256['fillStyle']=_0x517987,_0x1e0256['fillRect'](..._0x5a66ba),_0x3b6e5d['drawImage'](_0x30d8ff,_0x23e0e6-0x1,_0x5101a5-0x1,0x1,0x1,0x0,0x0,0x1,0x1));const _0x43b1c8=_0x3b6e5d&&_0x3b6e5d['getImageData'](0x0,0x0,0x1,0x1)['data'];let _0x28a114=!0x1;return _0x43b1c8&&(_0x28a114=_0x43b1c8[0x0]===TestPixel['R']&&_0x43b1c8[0x1]===TestPixel['G']&&_0x43b1c8[0x2]===TestPixel['B']&&_0x43b1c8[0x3]===TestPixel['A']),_0x30d8ff['width']=_0x30d8ff['height']=0x1,_0x28a114;}catch(_0x4f948a){return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x23e0e6+'x'+_0x5101a5+'.'),!0x1;}};function _0xcee01b(_0x15b64c){return(..._0x3b05e1)=>new Promise(_0x135cc2=>{setTimeout(()=>{const _0x2e767a=_0x15b64c(..._0x3b05e1);_0x135cc2(_0x2e767a);},0x0);});}const squareTest=_0xcee01b(_0x22c3b5(canvasTest,_0x4152b)),dimensionTest=_0xcee01b(_0x22c3b5(canvasTest,_0x4152b)),testCanvasSize=async(_0x40554b,_0x2ed1ab)=>{const _0xeb7148=_0x2c80d8['squareSide']['find'](_0x4084f3=>_0x4084f3*_0x4084f3>=_0x40554b*_0x2ed1ab),_0x464f8a=_0x2c80d8['dimension']['find'](_0x4e062f=>_0x4e062f>=_0x40554b&&_0x4e062f>=_0x2ed1ab);if(!_0xeb7148||!_0x464f8a)throw new Error('Not\x20supported');const [_0x5e150d,_0x53c081]=await Promise['all']([squareTest(_0xeb7148,_0xeb7148),dimensionTest(_0x464f8a,0x1)]);if(_0x5e150d&&_0x53c081)return!0x0;throw new Error('Not\x20supported');},_0x4a49ef=async(_0x505bcd,_0xddc1a4,_0x3c45d0)=>{try{const {ctx:_0x13bdad,canvas:_0x311f33}=createCanvas();return _0x311f33['width']=_0xddc1a4,_0x311f33['height']=_0x3c45d0,_0x13bdad['imageSmoothingQuality']='high',_0x13bdad['drawImage'](_0x505bcd,0x0,0x0,_0xddc1a4,_0x3c45d0),_0x505bcd instanceof HTMLImageElement&&(_0x505bcd['src']='//:0'),_0x505bcd instanceof HTMLCanvasElement&&(_0x505bcd['width']=_0x505bcd['height']=0x1),_0x311f33;}catch(_0x2ef1e5){throw new Error('Canvas\x20resize\x20error',{'cause':_0x2ef1e5});}},native=({img:_0x1ebbca,targetW:_0x2958cd,targetH:_0x17107d})=>_0x4a49ef(_0x1ebbca,_0x2958cd,_0x17107d),calcShrinkSteps=function({sourceW:_0x158c03,targetW:_0x402c2e,targetH:_0x202849,step:_0x500ffe}){const _0x57dc32=[];let _0x28b060=_0x402c2e,_0xd39a89=_0x202849;do{_0x57dc32['push']([_0x28b060,_0xd39a89]),_0x28b060=Math['round'](_0x28b060/_0x500ffe),_0xd39a89=Math['round'](_0xd39a89/_0x500ffe);}while(_0x28b060<_0x158c03*_0x500ffe);return _0x57dc32['reverse']();},_0x3581e5=({img:_0x291292,sourceW:_0x1bbf34,targetW:_0x464e90,targetH:_0xa39ffe,step:_0x5655e1})=>{const _0x32596b=calcShrinkSteps({'sourceW':_0x1bbf34,'targetW':_0x464e90,'targetH':_0xa39ffe,'step':_0x5655e1});return _0x32596b['reduce']((_0x909134,[_0x2a0085,_0x1bf9c4],_0x30554d)=>_0x909134['then'](_0x1e59bf=>testCanvasSize(_0x2a0085,_0x1bf9c4)['then'](()=>_0x4a49ef(_0x1e59bf,_0x2a0085,_0x1bf9c4))['catch'](()=>{if(_0x30554d===_0x32596b['length']-0x1)throw new Error('Not\x20supported');return _0x1e59bf;})),Promise['resolve'](_0x291292));},_0x56ff50=()=>!!/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x2b8dec=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x334e67=0.71,_0xd56545=(_0x5bdb5a,_0x4e4b5a)=>{if(_0x5bdb5a['width']*_0x334e67*_0x5bdb5a['height']*_0x334e67<_0x4e4b5a['size'])throw new Error('Not\x20required');const _0x36aa15=_0x5bdb5a['width'],_0x4c0fb7=_0x5bdb5a['height'],_0x578402=_0x36aa15/_0x4c0fb7,_0x3ae755=Math['floor'](Math['sqrt'](_0x4e4b5a['size']*_0x578402)),_0x24e84d=Math['floor'](_0x4e4b5a['size']/Math['sqrt'](_0x4e4b5a['size']*_0x578402));return testCanvasSize(_0x3ae755,_0x24e84d)['then'](()=>{const {ctx:_0x1db676}=createCanvas();return'imageSmoothingQuality'in _0x1db676&&!_0x56ff50()&&!_0x2b8dec?native({'img':_0x5bdb5a,'targetW':_0x3ae755,'targetH':_0x24e84d}):_0x3581e5({'img':_0x5bdb5a,'sourceW':_0x36aa15,'targetW':_0x3ae755,'targetH':_0x24e84d,'step':_0x334e67});})['catch'](()=>Promise['reject']('Not\x20supported'));},_0x5d1a36=async(_0x6a9c51,_0x4a86c2)=>{try{if(await _0x513764(_0x6a9c51))throw new Error('Should\x20skipped');const _0x3770da=await Promise['allSettled']([getExif(_0x6a9c51),isBrowserApplyExifOrientation(),getIccProfile(_0x6a9c51)]),_0x357d90=!_0x3770da['some'](_0x52a554=>'rejected'===_0x52a554['status']),[_0x4c155b,_0x2cda84,_0x29ff76]=_0x3770da,_0x4d0345=await stripIccProfile(_0x6a9c51)['catch'](()=>_0x6a9c51),_0x5ccdd9=await _0x111fd6(URL['createObjectURL'](_0x4d0345));URL['revokeObjectURL'](_0x5ccdd9['src']);const _0x939b9a=await _0xd56545(_0x5ccdd9,_0x4a86c2);let _0x42e1d7='image/jpeg',_0x57048f=_0x4a86c2?.['quality']||0.8;!_0x357d90&&_0x1ac9d6(_0x939b9a)&&(_0x42e1d7='image/png',_0x57048f=void 0x0);let _0x2897a2=await _0x412941(_0x939b9a,_0x42e1d7,_0x57048f);if(_0x357d90&&'fulfilled'===_0x4c155b['status']&&_0x4c155b['value']){const _0x5f01b4=_0x4c155b['value'],_0x58057a='fulfilled'===_0x2cda84['status']&&_0x2cda84['value'];_0x2897a2=await _0x7ccd31(_0x2897a2,_0x5f01b4,_0x58057a);}return _0x357d90&&'fulfilled'===_0x29ff76['status']&&_0x29ff76['value']['length']>0x0&&(_0x2897a2=await _0x5c08a9(_0x2897a2,_0x29ff76['value'])),_0x2897a2;}catch(_0x239c0d){let _0x9ea22b;throw _0x239c0d instanceof Error&&(_0x9ea22b=_0x239c0d['message']),'string'==typeof _0x239c0d&&(_0x9ea22b=_0x239c0d),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x9ea22b?'Message:\x20\x22'+_0x9ea22b+'\x22.':''),{'cause':_0x239c0d});}};var _0x4e5bed=0x14,InternalEventType=Object['freeze']({'INIT_SOLUTION':'init-solution','CHANGE_CONFIG':'change-config','ACTION_EVENT':'action-event','ERROR_EVENT':'error-event'}),EventType=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'}),EventEmitter=class{['_timeoutStore']=new Map();['_targets']=new Set();['_debugPrint']=null;constructor(_0x5846cf){this['_debugPrint']=_0x5846cf;}['bindTarget'](_0x9e34e4){this['_targets']['add'](_0x9e34e4);}['unbindTarget'](_0x1514ff){this['_targets']['delete'](_0x1514ff);}['_dispatch'](_0x42697e,_0x510aa8){for(const _0x65e0ee of this['_targets'])_0x65e0ee['dispatchEvent'](new CustomEvent(_0x42697e,{'detail':_0x510aa8}));this['_debugPrint']?.(()=>{const _0x487c0d=_0x510aa8&&'object'==typeof _0x510aa8?{..._0x510aa8}:_0x510aa8;return['event\x20\x22'+_0x42697e+'\x22',_0x487c0d];});}['emit'](_0x270355,_0x3782ff,_0x3a019a={}){const {debounce:_0x118bf5}=_0x3a019a;if('number'!=typeof _0x118bf5&&!_0x118bf5)return void this['_dispatch'](_0x270355,'function'==typeof _0x3782ff?_0x3782ff():_0x3782ff);this['_timeoutStore']['has'](_0x270355)&&window['clearTimeout'](this['_timeoutStore']['get'](_0x270355));const _0x146587='number'==typeof _0x118bf5?_0x118bf5:_0x4e5bed,_0x383680=window['setTimeout'](()=>{this['_dispatch'](_0x270355,'function'==typeof _0x3782ff?_0x3782ff():_0x3782ff),this['_timeoutStore']['delete'](_0x270355);},_0x146587);this['_timeoutStore']['set'](_0x270355,_0x383680);}};function _0x1a7249(_0xa09a92,_0x1db8ea){let _0x57f24e;const _0x47d70e=(..._0x1f047e)=>{_0x57f24e&&clearTimeout(_0x57f24e),_0x57f24e=setTimeout(()=>_0xa09a92(..._0x1f047e),_0x1db8ea);};return _0x47d70e['cancel']=()=>{_0x57f24e&&clearTimeout(_0x57f24e);},_0x47d70e;}var _0x84d800=_0x36eb7e=>_0x36eb7e?_0x36eb7e['split'](',')['map'](_0x144706=>_0x144706['trim']())['filter'](Boolean):[],_0x2c3d3c=_0x57077a=>_0x57077a['join'](','),normalizeCdnOperation=_0xd5d506=>{if('string'!=typeof _0xd5d506||!_0xd5d506)return'';let _0x1e8ae1=_0xd5d506['trim']();return _0x1e8ae1['startsWith']('-/')?_0x1e8ae1=_0x1e8ae1['slice'](0x2):_0x1e8ae1['startsWith']('/')&&(_0x1e8ae1=_0x1e8ae1['slice'](0x1)),_0x1e8ae1['endsWith']('/')&&(_0x1e8ae1=_0x1e8ae1['slice'](0x0,_0x1e8ae1['length']-0x1)),_0x1e8ae1;},joinCdnOperations=(..._0x501980)=>_0x501980['filter'](_0x3e4a30=>'string'==typeof _0x3e4a30&&!!_0x3e4a30)['map'](_0x4f11be=>normalizeCdnOperation(_0x4f11be))['join']('/-/'),createCdnUrlModifiers=(..._0x25a01e)=>{const _0x1b24f=joinCdnOperations(..._0x25a01e);return _0x1b24f?'-/'+_0x1b24f+'/':'';};function extractFilename(_0x34e7a0){const _0x3072af=new URL(_0x34e7a0),_0x2416ac=_0x3072af['pathname']+_0x3072af['search']+_0x3072af['hash'],_0x54c40c=_0x2416ac['lastIndexOf']('http'),_0x10073e=_0x2416ac['lastIndexOf']('/');let _0x49fbae='';return _0x54c40c>=0x0?_0x49fbae=_0x2416ac['slice'](_0x54c40c):_0x10073e>=0x0&&(_0x49fbae=_0x2416ac['slice'](_0x10073e+0x1)),_0x49fbae;}function extractUuid(_0x1114c0){const _0x501d0a=new URL(_0x1114c0),{pathname:_0x5047bc}=_0x501d0a,_0x2dd983=_0x5047bc['indexOf']('/'),_0x2a8d7=_0x5047bc['indexOf']('/',_0x2dd983+0x1);return _0x5047bc['substring'](_0x2dd983+0x1,_0x2a8d7);}function extractCdnUrlModifiers(_0x4e4d42){const _0x323d4f=trimFilename(_0x4e4d42),_0x5572a4=new URL(_0x323d4f),_0xab3695=_0x5572a4['pathname']['indexOf']('/-/');if(-0x1===_0xab3695)return'';return _0x5572a4['pathname']['substring'](_0xab3695)['slice'](0x1);}function extractOperations(_0x27eb03){return extractCdnUrlModifiers(_0x27eb03)['split']('/-/')['filter'](Boolean)['map'](_0x2b2ea0=>normalizeCdnOperation(_0x2b2ea0));}function trimFilename(_0x3ec2d9){const _0xa082aa=new URL(_0x3ec2d9),_0xcfc897=extractFilename(_0x3ec2d9),_0x27b1f9=_0x39e2d7(_0xcfc897)?splitFileUrl(_0xcfc897)['pathname']:_0xcfc897;return _0xa082aa['pathname']=_0xa082aa['pathname']['replace'](_0x27b1f9,''),_0xa082aa['search']='',_0xa082aa['hash']='',_0xa082aa['toString']();}function _0x39e2d7(_0x59f6c8){return _0x59f6c8['startsWith']('http');}function splitFileUrl(_0x2e2f35){const _0x44ada4=new URL(_0x2e2f35);return{'pathname':''+_0x44ada4['origin']+(_0x44ada4['pathname']??''),'search':_0x44ada4['search']??'','hash':_0x44ada4['hash']??''};}var createCdnUrl=(_0x1c8552,_0x8a0f63,_0x50a22e)=>{const _0x17d331=new URL(trimFilename(_0x1c8552)),_0x588d66=_0x50a22e??extractFilename(_0x1c8552),_0x3b333d=_0x8a0f63??'';if(_0x17d331['pathname']['startsWith']('//')&&(_0x17d331['pathname']=_0x17d331['pathname']['replace']('//','/')),_0x588d66&&_0x39e2d7(_0x588d66)){const _0x3f4904=splitFileUrl(_0x588d66);_0x17d331['pathname']=''+_0x17d331['pathname']+_0x3b333d+(_0x3f4904['pathname']||''),_0x17d331['search']=_0x3f4904['search'],_0x17d331['hash']=_0x3f4904['hash'];}else _0x17d331['pathname']=''+_0x17d331['pathname']+_0x3b333d+(_0x588d66||'');return _0x17d331['toString']();},createOriginalUrl=(_0xa2d294,_0x59689e)=>{const _0x32a4ca=new URL(_0xa2d294);return _0x32a4ca['pathname']=_0x59689e+'/',_0x32a4ca['toString']();},stringToArray=(_0x5975e5,_0x192137=',')=>_0x5975e5['trim']()['split'](_0x192137)['map'](_0x587a86=>_0x587a86['trim']())['filter'](_0x5173a1=>_0x5173a1['length']>0x0),_0x54e254=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}),_0x814250=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function transformationToStr(_0x5c45f2,_0x4d36ad){if('number'==typeof _0x4d36ad){const _0x4aa668=_0x4d36ad;return _0x54e254[_0x5c45f2]!==_0x4aa668?_0x5c45f2+'/'+_0x4aa668:'';}if('boolean'==typeof _0x4d36ad){const _0x901532=_0x4d36ad;return _0x54e254[_0x5c45f2]!==_0x901532?''+_0x5c45f2:'';}if('filter'===_0x5c45f2&&_0x4d36ad){const {name:_0x44e56f,amount:_0x50bcbb}=_0x4d36ad;return _0x54e254['filter']===_0x50bcbb?'':_0x5c45f2+'/'+_0x44e56f+'/'+_0x50bcbb;}if('crop'===_0x5c45f2&&_0x4d36ad){const {dimensions:_0x25dec6,coords:_0x32b600}=_0x4d36ad;return _0x5c45f2+'/'+_0x25dec6['join']('x')+'/'+_0x32b600['join'](',');}return'';}function transformationsToOperations(_0x11b722){return joinCdnOperations(..._0x814250['filter'](_0x425a61=>void 0x0!==_0x11b722[_0x425a61]&&null!==_0x11b722[_0x425a61])['map'](_0x561ce4=>transformationToStr(_0x561ce4,_0x11b722[_0x561ce4]))['filter'](_0x231976=>!!_0x231976));}var _0x202fe6=joinCdnOperations('format/auto','progressive/yes'),_0x22566c=([_0x3dfccd])=>void 0x0!==_0x3dfccd?Number(_0x3dfccd):void 0x0,_0x3f966b=()=>!0x0,asFilter=([_0x45e321,_0x475fba])=>({'name':_0x45e321,'amount':void 0x0!==_0x475fba?Number(_0x475fba):0x64}),_0x2d3c76=([_0x18160b,_0x2a09bc])=>{if(!/\d+x\d+/['test'](_0x18160b)||!/\d+,\d+/['test'](_0x2a09bc))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':stringToArray(_0x18160b,'x')['map'](Number),'coords':stringToArray(_0x2a09bc)['map'](Number)};},_0x317507=Object['freeze']({'enhance':_0x22566c,'brightness':_0x22566c,'exposure':_0x22566c,'gamma':_0x22566c,'contrast':_0x22566c,'saturation':_0x22566c,'vibrance':_0x22566c,'warmth':_0x22566c,'filter':asFilter,'mirror':_0x3f966b,'flip':_0x3f966b,'rotate':_0x22566c,'crop':_0x24e921=>{const [_0x172aab,_0x4b8f49]=_0x24e921,{dimensions:_0xf31ddc,coords:_0xfee3ce}=_0x2d3c76([_0x172aab,_0x4b8f49]);return{'dimensions':_0xf31ddc,'coords':_0xfee3ce};}});function operationsToTransformations(_0x8af310){const _0x335455={};for(const _0x3abc41 of _0x8af310){const [_0x110aaa,..._0x44acfa]=_0x3abc41['split']('/');if(!_0x110aaa||!_0x814250['includes'](_0x110aaa))continue;const _0x232445=_0x110aaa,_0x3f05d6=_0x317507[_0x232445];try{const _0x522af0=_0x3f05d6(_0x44acfa);_0x335455[_0x232445]=_0x522af0;}catch(_0x180330){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+_0x3abc41+'\x22.\x20It\x20will\x20be\x20ignored.',_0x180330 instanceof Error?'Error\x20message:\x20\x22'+_0x180330['message']+'\x22':_0x180330,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x0a'));}}return _0x335455;}var _0xb766e0=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),_0xa44afb=Object['freeze']([_0xb766e0['CROP'],_0xb766e0['TUNING'],_0xb766e0['FILTERS']]),_0x5a17b4=Object['freeze'](['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance']),_0x36a4ca=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']),_0x433820=Object['freeze'](['rotate','mirror','flip']),_0x561513=_0x54e254,_0x2c5cf6=Object['freeze']({'brightness':{'zero':_0x561513['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':_0x561513['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':_0x561513['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':_0x561513['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':_0x561513['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':_0x561513['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':_0x561513['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':_0x561513['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':_0x561513['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),_0x4bd21b='https://ucarecdn.com',_0x3c92c1='https://upload.uploadcare.com',_0x9b3252='https://social.uploadcare.com',_0x207d29='https://ucarecd.net',_0x43a353={'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':'','cloudImageEditorTabs':_0x2c3d3c(_0xa44afb),'maxLocalFileSizeBytes':0x0,'thumbSize':0x4c,'showEmptyList':!0x1,'useLocalImageEditor':!0x1,'useCloudImageEditor':!0x0,'removeCopyright':!0x1,'cropPreset':'','imageShrink':'','modalScrollLock':!0x0,'modalBackdropStrokes':!0x1,'sourceListWrap':!0x0,'remoteTabSessionKey':'','cdnCname':_0x4bd21b,'cdnCnamePrefixed':_0x207d29,'baseUrl':_0x3c92c1,'socialBaseUrl':_0x9b3252,'secureSignature':'','secureExpire':'','secureDeliveryProxy':'','retryThrottledRequestMaxTimes':0xa,'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,'cloudImageEditorAutoOpen':!0x1,'cloudImageEditorMaskHref':null,'testMode':!0x1,'qualityInsights':!0x0},initialConfig=Object['freeze'](_0x43a353),getLocaleDirection=_0x3daa44=>{const _0x419213=new Intl['Locale'](_0x3daa44);let _0x28ac0d='ltr';const _0x47b826=_0x419213['getTextInfo']?.()['direction'];return _0x47b826?_0x28ac0d=_0x47b826:_0x419213['textInfo']?.['direction']&&(_0x28ac0d=_0x419213['textInfo']['direction']),_0x28ac0d;},getPluralForm=(_0xfbe804,_0x15605a)=>new Intl['PluralRules'](_0xfbe804)['select'](_0x15605a),_0x405c8e=_0x185e13=>_0x185e13,_0x34cf2b='{{',_0x45a843='}}',_0x58a3b3='plural:';function applyTemplateData(_0x56dccd,_0x53556f={},_0x2a500e={}){const {openToken:_0x2c3494=_0x34cf2b,closeToken:_0x1460e3=_0x45a843,transform:_0x29a7cc=_0x405c8e}=_0x2a500e;for(const _0x3ca76a in _0x53556f){const _0x218492=_0x53556f[_0x3ca76a],_0x177e52=null!=_0x218492?_0x218492['toString']():void 0x0,_0x4f2b80='string'==typeof _0x177e52?_0x29a7cc(_0x177e52):String(_0x177e52);_0x56dccd=_0x56dccd['replaceAll'](_0x2c3494+_0x3ca76a+_0x1460e3,_0x4f2b80);}return _0x56dccd;}function getPluralObjects(_0x652c24){const _0xafea38=[];let _0x5dbb96=_0x652c24['indexOf'](_0x34cf2b);for(;-0x1!==_0x5dbb96;){const _0x29543f=_0x652c24['indexOf'](_0x45a843,_0x5dbb96);if(-0x1===_0x29543f)break;const _0x489018=_0x652c24['substring'](_0x5dbb96+0x2,_0x29543f);if(_0x489018['startsWith'](_0x58a3b3)){const _0x1e8306=_0x652c24['substring'](_0x5dbb96+0x2,_0x29543f)['replace'](_0x58a3b3,''),_0x37eb19=_0x1e8306['substring'](0x0,_0x1e8306['indexOf']('(')),_0x49fb21=_0x1e8306['substring'](_0x1e8306['indexOf']('(')+0x1,_0x1e8306['indexOf'](')'));_0xafea38['push']({'variable':_0x489018,'pluralKey':_0x37eb19,'countVariable':_0x49fb21});}_0x5dbb96=_0x652c24['indexOf'](_0x34cf2b,_0x29543f);}return _0xafea38;}var _0x24335a='--uploadcare-blocks-window-height',WindowHeightTracker=class _0x43f2ad{static ['clientsRegistry']=new Set();static ['flush']=_0x1a7249(()=>{document['documentElement']['style']['setProperty'](_0x24335a,window['innerHeight']+'px');},0x64);static['registerClient'](_0x1805c8){0x0===_0x43f2ad['clientsRegistry']['size']&&_0x43f2ad['attachTracker'](),_0x43f2ad['clientsRegistry']['add'](_0x1805c8);}static['unregisterClient'](_0x2aa324){_0x43f2ad['clientsRegistry']['delete'](_0x2aa324),0x0===_0x43f2ad['clientsRegistry']['size']&&_0x43f2ad['detachTracker']();}static['attachTracker'](){window['addEventListener']('resize',_0x43f2ad['flush'],{'passive':!0x0,'capture':!0x0}),_0x43f2ad['flush']();}static['detachTracker'](){window['removeEventListener']('resize',_0x43f2ad['flush'],{'capture':!0x0}),document['documentElement']['style']['removeProperty'](_0x24335a);}},waitForAttribute=({element:_0x160e96,attribute:_0x12d668,onSuccess:_0x4d7a9a,onTimeout:_0x3ba746,timeout:_0x266f12=0x12c})=>{const _0x466022=_0x160e96['getAttribute'](_0x12d668);if(null!==_0x466022)return void _0x4d7a9a(_0x466022);const _0x5ccb01=new MutationObserver(_0x528779=>{const _0x518426=_0x528779[_0x528779['length']-0x1];_0x518426&&_0x6c5c39(_0x518426);});_0x5ccb01['observe'](_0x160e96,{'attributes':!0x0,'attributeFilter':[_0x12d668]});const _0x3c5899=window['setTimeout'](()=>{_0x5ccb01['disconnect'](),_0x3ba746();},_0x266f12),_0x6c5c39=_0x3c74c9=>{const _0x3a6688=_0x160e96['getAttribute'](_0x12d668);'attributes'===_0x3c74c9['type']&&_0x3c74c9['attributeName']===_0x12d668&&null!==_0x3a6688&&(window['clearTimeout'](_0x3c5899),_0x5ccb01['disconnect'](),_0x4d7a9a(_0x3a6688));};},blockCtx=()=>({}),activityBlockCtx=_0x4c710c=>({...blockCtx(),'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x4c710c['modalManager']?.['close'](_0x4c710c['$']['*currentActivity']),_0x4c710c['set$']({'*currentActivity':null});}}),uploaderBlockCtx=_0x5a1bdf=>({...activityBlockCtx(_0x5a1bdf),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new _0x56997f(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set(),'*secureUploadsManager':null}),solutionBlockCtx=_0x30d66f=>({...uploaderBlockCtx(_0x30d66f),'*solution':null}),en_default={'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','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-draw':'Draw','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-draw':'Draw','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'},localeRegistry=new Map(),_0xba68b6=new Map(),_0x50cc36=(_0x1dc663,_0x3f44da)=>{localeRegistry['has'](_0x1dc663)&&console['log']('Locale\x20'+_0x1dc663+'\x20is\x20already\x20defined.\x20Overwriting...'),localeRegistry['set'](_0x1dc663,{...en_default,..._0x3f44da});},_0x1cf88c=(_0x314f63,_0x367f67)=>{_0xba68b6['set'](_0x314f63,_0x367f67);},_0x3c8d5c=(_0x42e8c9,_0x3a100e)=>{'function'==typeof _0x3a100e?_0x1cf88c(_0x42e8c9,_0x3a100e):_0x50cc36(_0x42e8c9,_0x3a100e);},resolveLocaleDefinition=async _0x24c83b=>{if(!localeRegistry['has'](_0x24c83b)){if(!_0xba68b6['has'](_0x24c83b))throw new Error('Locale\x20'+_0x24c83b+'\x20is\x20not\x20defined');const _0x5a09f7=_0xba68b6['get'](_0x24c83b),_0x3acffb=await _0x5a09f7();_0x50cc36(_0x24c83b,_0x3acffb);}return localeRegistry['get'](_0x24c83b);};_0x3c8d5c('en',en_default);var localeStateKey=_0x182168=>'*l10n/'+_0x182168,_0x38a7e4='en',_0x23e16d=class{['_blockInstance']=null;['_localeName']='';['_callbacks']=new Set();['_boundBlocks']=new Map();constructor(_0x3cdcdb){this['_blockInstance']=_0x3cdcdb;for(const [_0x4e67a5,_0x434cff]of Object['entries'](en_default)){const _0x54cf87=!this['_blockInstance']['has'](localeStateKey(_0x4e67a5))||!this['_blockInstance']['$'][localeStateKey(_0x4e67a5)];this['_blockInstance']['add'](localeStateKey(_0x4e67a5),_0x434cff,_0x54cf87);}setTimeout(()=>{_0x3cdcdb['subConfigValue']('localeName',async _0x5c8be0=>{if(!this['_blockInstance']||!_0x5c8be0)return;this['_localeName']=_0x5c8be0;const _0x54842c=await resolveLocaleDefinition(_0x5c8be0);if(_0x5c8be0!==_0x38a7e4&&this['_localeName']!==_0x5c8be0)return;const _0x27c747=this['_blockInstance']['cfg']['localeDefinitionOverride']?.[_0x5c8be0];for(const [_0x18ff35,_0x29d7f8]of Object['entries'](_0x54842c)){const _0x1d7ce8=_0x27c747?.[_0x18ff35];this['_blockInstance']['add'](localeStateKey(_0x18ff35),_0x1d7ce8??_0x29d7f8,!0x0);for(const _0x53e082 of this['_callbacks'])_0x53e082();}}),_0x3cdcdb['subConfigValue']('localeDefinitionOverride',_0x48b31e=>{if(!_0x48b31e)return;const _0x4aed7e=_0x48b31e[this['_localeName']];if(_0x4aed7e)for(const [_0x2192f3,_0x9aa801]of Object['entries'](_0x4aed7e)){this['_blockInstance']?.['add'](localeStateKey(_0x2192f3),_0x9aa801,!0x0);for(const _0x91bb68 of this['_callbacks'])_0x91bb68();}});});}['onLocaleChange'](_0x52d72e){const _0x22dc07=_0x1a7249(_0x52d72e,0x0);return this['_callbacks']['add'](_0x22dc07),()=>{this['_callbacks']['delete'](_0x22dc07);};}['bindL10n'](_0x3823a1,_0x51d793,_0x229c40){_0x3823a1['$'][_0x51d793]=_0x229c40(),this['_boundBlocks']['has'](_0x3823a1)||this['_boundBlocks']['set'](_0x3823a1,new Map()),this['_boundBlocks']['get'](_0x3823a1)?.['get'](_0x51d793)?.();const _0x223811=this['onLocaleChange'](()=>{_0x3823a1['$'][_0x51d793]=_0x229c40();});this['_boundBlocks']['get'](_0x3823a1)?.['set'](_0x51d793,_0x223811);}['destroyL10nBindings'](_0xbb7750){const _0x154fbe=this['_boundBlocks']['get'](_0xbb7750);if(_0x154fbe){for(const _0x49e82c of _0x154fbe['values']())_0x49e82c();this['_boundBlocks']['delete'](_0xbb7750);}}['destroy'](){this['_callbacks']['clear']();}};function _0x5da435(_0x41291f,_0x2927af){[..._0x41291f['querySelectorAll']('[l10n]')]['forEach'](_0x38adac=>{const _0x4e3601=_0x38adac['getAttribute']('l10n');if(!_0x4e3601)return;const _0x52e2c2=_0x4e3601['split'](';');for(const _0x5a7d14 of _0x52e2c2)_0x5a7d14&&_0x2745cd(_0x38adac,_0x5a7d14,_0x2927af);});}var _0x2745cd=(_0x3bcfe1,_0x3afb91,_0x272359)=>{let _0x437f0e='textContent',_0x4d32ce=!0x1;if(_0x3afb91['includes'](':')){const _0x362b57=_0x3afb91['split'](':');if(0x2!==_0x362b57['length'])return void console['warn']('l10n\x20attribute\x20value\x20should\x20be\x20in\x20format\x20\x22property:key\x22\x20or\x20\x22key\x22.\x20Found:\x20'+_0x3afb91);const _0x59b095=_0x362b57;_0x437f0e=_0x59b095[0x0],_0x3afb91=_0x59b095[0x1],_0x437f0e['startsWith']('@')&&(_0x437f0e=_0x437f0e['slice'](0x1),_0x4d32ce=!0x0);}const _0x2480a8=_0x3afb91;_0x272359['has'](_0x2480a8)&&_0x272359['sub'](_0x2480a8,_0x58f4fe=>{if(!_0x58f4fe)return;_0x272359['l10nProcessorSubs']['has'](_0x2480a8)||_0x272359['l10nProcessorSubs']['set'](_0x2480a8,new Set());const _0x3faeaa=_0x272359['l10nProcessorSubs']['get'](_0x2480a8);_0x3faeaa?.['forEach'](_0x4238d9=>{_0x4238d9['remove'](),_0x3faeaa['delete'](_0x4238d9),_0x272359['allSubs']['delete'](_0x4238d9);});const _0x55ee06=localeStateKey(_0x58f4fe)['replace']('*','');_0x272359['nodeCtx']['has'](_0x55ee06)||_0x272359['nodeCtx']['add'](_0x55ee06,_0x58f4fe);const _0x5ec299=_0x272359['nodeCtx']['sub'](_0x55ee06,()=>{_0x3bcfe1[_0x437f0e]=_0x272359['l10n'](_0x58f4fe);});_0x3faeaa?.['add'](_0x5ec299),_0x272359['allSubs']['add'](_0x5ec299),_0x3bcfe1['removeAttribute']('l10n');});const _0x21bbe7=localeStateKey(_0x3afb91);_0x272359['has'](_0x21bbe7)||_0x272359['add'](_0x21bbe7,''),_0x272359['sub'](_0x21bbe7,()=>{_0x4d32ce?_0x3bcfe1['setAttribute'](_0x437f0e,_0x272359['l10n'](_0x3afb91)):_0x3bcfe1[_0x437f0e]=_0x272359['l10n'](_0x3afb91);}),_0x3bcfe1['removeAttribute']('l10n');},_0x4b4f09=class{['_listeners']=new Map();['_scope']=[];['addEventListener'](_0x5406ad,_0x524fcb){const _0x2ac526=_0x1021d2=>{const _0x52f924=_0x1021d2['target'];_0x52f924 instanceof Node&&this['_scope']['some'](_0x536d53=>_0x536d53===_0x52f924||_0x536d53['contains'](_0x52f924))&&_0x524fcb(_0x1021d2);};this['_listeners']['set'](_0x524fcb,_0x2ac526),window['addEventListener'](_0x5406ad,_0x2ac526);}['removeEventListener'](_0x3ac70a,_0x2332b8){const _0x3b3d8f=this['_listeners']['get'](_0x2332b8);_0x3b3d8f&&window['removeEventListener'](_0x3ac70a,_0x3b3d8f),this['_listeners']['delete'](_0x2332b8);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0xf3c082){this['_scope']['push'](_0xf3c082);}['destroy'](){this['_scope']=[];for(const _0x5a8414 of this['_listeners']['values']())window['removeEventListener']('keydown',_0x5a8414),window['removeEventListener']('keyup',_0x5a8414);this['_listeners']['clear']();}},_0x2e7e21=class{['_destroyKeyUX'];['_scopedWindow'];constructor(){this['_scopedWindow']=new _0x4b4f09(),this['_destroyKeyUX']=startKeyUX(this['_scopedWindow'],[_0x36f6db(),_0x588e91('is-pressed'),_0x4e20a0(),_0x4bc077()]);}['registerBlock'](_0x1fe9a5){this['_scopedWindow']['registerScope'](_0x1fe9a5);}['destroy'](){this['_destroyKeyUX']?.(),this['_scopedWindow']['destroy']();}},ModalEvents=Object['freeze']({'ADD':'modal:add','DELETE':'modal:delete','OPEN':'modal:open','CLOSE':'modal:close','CLOSE_ALL':'modal:closeAll','DESTROY':'modal:destroy'}),_0x1c694c=class{['_modals']=new Map();['_activeModals']=new Set();['_subscribers']=new Map();['_block'];constructor(_0x26440f){this['_block']=_0x26440f;}['_debugPrint'](..._0x38e4b6){this['_block']['debugPrint']('[modal-manager]',..._0x38e4b6);}['registerModal'](_0x2358f1,_0x26a76a){this['_modals']['set'](_0x2358f1,_0x26a76a),this['_notify'](ModalEvents['ADD'],{'id':_0x2358f1,'modal':_0x26a76a});}['deleteModal'](_0x18d7ce){if(!this['_modals']['has'](_0x18d7ce))return!0x1;const _0x3ea94b=this['_modals']['get'](_0x18d7ce);return this['_modals']['delete'](_0x18d7ce),this['_activeModals']['delete'](_0x18d7ce),this['_notify'](ModalEvents['DELETE'],{'id':_0x18d7ce,'modal':_0x3ea94b}),!0x0;}['open'](_0x321c91){if(!this['_modals']['has'](_0x321c91))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x321c91+'\x22\x20not\x20found'),!0x1;const _0x524bfc=this['_modals']['get'](_0x321c91);return this['_activeModals']['add'](_0x321c91),this['_notify'](ModalEvents['OPEN'],{'modal':_0x524bfc,'id':_0x321c91}),!0x0;}['close'](_0x558abd){if(!this['_modals']['has'](_0x558abd)||!this['_activeModals']['has'](_0x558abd))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x558abd+'\x22\x20not\x20found\x20or\x20not\x20active'),!0x1;const _0x3d2ccd=this['_modals']['get'](_0x558abd);return this['_activeModals']['delete'](_0x558abd),this['_notify'](ModalEvents['CLOSE'],{'id':_0x558abd,'modal':_0x3d2ccd}),!0x0;}['toggle'](_0x1c9622){return this['_modals']['has'](_0x1c9622)?this['_activeModals']['has'](_0x1c9622)?this['close'](_0x1c9622):this['open'](_0x1c9622):(this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x1c9622+'\x22\x20not\x20found'),!0x1);}get['hasActiveModals'](){return this['_activeModals']['size']>0x0;}['back'](){if(0x0===this['_activeModals']['size'])return this['_debugPrint']('No\x20active\x20modals\x20to\x20go\x20back\x20from'),!0x1;const _0x2b5602=Array['from'](this['_activeModals'])['pop']();return!!_0x2b5602&&this['close'](_0x2b5602);}['closeAll'](){const _0x4e081a=this['_activeModals']['size'];return this['_activeModals']['clear'](),this['_notify'](ModalEvents['CLOSE_ALL'],{}),_0x4e081a;}['subscribe'](_0x1f4983,_0x50fc5d){return this['_subscribers']['has'](_0x1f4983)||this['_subscribers']['set'](_0x1f4983,new Set()),this['_subscribers']['get'](_0x1f4983)?.['add'](_0x50fc5d),()=>this['unsubscribe'](_0x1f4983,_0x50fc5d);}['unsubscribe'](_0xc0b288,_0x3e0836){this['_subscribers']['has'](_0xc0b288)&&this['_subscribers']['get'](_0xc0b288)?.['delete'](_0x3e0836);}['_notify'](_0x5f1d73,_0x25e905){if(this['_subscribers']['has'](_0x5f1d73)){for(const _0x4b0cae of this['_subscribers']['get'](_0x5f1d73)??new Set())try{_0x4b0cae(_0x25e905);}catch(_0x5b4ba1){this['_block']['telemetryManager']['sendEventError'](_0x5b4ba1,'modal\x20subscriber'),this['_debugPrint']('Error\x20in\x20modal\x20subscriber:',_0x5b4ba1);}}}['destroy'](){this['closeAll'](),this['_modals']['clear'](),this['_subscribers']['clear'](),this['_notify'](ModalEvents['DESTROY'],{});}},_0x1351b5='1.24.5',_0x4366e2='blocks',_0x319797=_0x1351b5,TelemetryManager=class{['_sessionId']=crypto['randomUUID']();['_telemetryInstance'];['_block'];['_config']=structuredClone(initialConfig);['_initialized']=!0x1;['_lastPayload']=null;['_queue'];constructor(_0x232c93){this['_block']=_0x232c93,this['_telemetryInstance']=new _0x49933d(),this['_queue']=new _0x56997f(0xa);for(const _0x1514a6 of Object['keys'](this['_config']))this['_block']['subConfigValue'](_0x1514a6,_0x7d0509=>{this['_initialized']&&this['_config'][_0x1514a6]!==_0x7d0509&&this['sendEvent']({'eventType':InternalEventType['CHANGE_CONFIG']}),this['_setConfig'](_0x1514a6,_0x7d0509);});}['_init'](_0xc55bc1){_0xc55bc1!==InternalEventType['INIT_SOLUTION']||this['_initialized']||(this['_initialized']=!0x0);}['_setConfig'](_0x366967,_0x3a9ccb){this['_config'][_0x366967]!==_0x3a9ccb&&(this['_config'][_0x366967]=_0x3a9ccb);}['_formattingPayload'](_0x4a0df7){const _0x5ed5cf=_0x4a0df7['payload']?{..._0x4a0df7['payload']}:{};_0x5ed5cf['activity']&&(_0x5ed5cf['activity']=void 0x0);const _0x5bb480={..._0x4a0df7};return _0x4a0df7['eventType']!==InternalEventType['INIT_SOLUTION']&&_0x4a0df7['eventType']!==InternalEventType['CHANGE_CONFIG']||(_0x5bb480['config']=this['_config']),{..._0x5bb480,'appVersion':_0x319797,'appName':_0x4366e2,'sessionId':this['_sessionId'],'component':this['_solution'],'activity':this['_activity'],'projectPubkey':this['_config']['pubkey'],'userAgent':navigator['userAgent'],'eventType':_0x5bb480['eventType']??'','eventTimestamp':this['_timestamp'],'payload':{'location':this['_location'],..._0x5ed5cf}};}['_excludedEvents'](_0x368d7b){return!(!_0x368d7b||![EventType['CHANGE'],EventType['COMMON_UPLOAD_PROGRESS'],EventType['FILE_ADDED'],EventType['FILE_REMOVED'],EventType['FILE_UPLOAD_START'],EventType['FILE_UPLOAD_PROGRESS'],EventType['FILE_UPLOAD_SUCCESS'],EventType['FILE_UPLOAD_FAILED']]['includes'](_0x368d7b));}['sendEvent'](_0x441e7d){const _0x434fe0=this['_formattingPayload']({'eventType':_0x441e7d['eventType'],'payload':_0x441e7d['payload'],'config':_0x441e7d['config']});this['_init'](_0x441e7d['eventType']);if(this['_excludedEvents'](_0x441e7d['eventType']))return;this['_lastPayload']&&this['_checkObj'](this['_lastPayload'],_0x434fe0)||this['_queue']['add'](async()=>{this['_lastPayload']=_0x434fe0,await this['_telemetryInstance']['sendEvent'](_0x434fe0);});}['sendEventError'](_0x4dd775,_0x4322dd='unknown'){this['sendEvent']({'eventType':InternalEventType['ERROR_EVENT'],'payload':{'metadata':{'event':'error','text':'Error\x20in\x20'+_0x4322dd,'error':_0x4dd775['message']}}});}['sendEventCloudImageEditor'](_0x123f0d,_0x1049ea,_0x2b711d={}){this['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'tabId':_0x1049ea,'node':_0x123f0d['currentTarget']?.['tagName'],'event':_0x123f0d['type'],..._0x2b711d}}});}['_checkObj'](_0x55f754,_0x1f1167){if(JSON['stringify'](_0x55f754)===JSON['stringify'](_0x1f1167))return!0x0;if('object'!=typeof _0x55f754||'object'!=typeof _0x1f1167||null==_0x55f754||null==_0x1f1167)return!0x1;const _0x2e8c69=Object['keys'](_0x55f754),_0x2630f5=Object['keys'](_0x1f1167);if(_0x2e8c69['length']!==_0x2630f5['length'])return!0x1;for(const _0x3e9551 of _0x2e8c69){if(!Object['hasOwn'](_0x1f1167,_0x3e9551))return!0x1;if(!this['_checkObj'](_0x55f754[_0x3e9551],_0x1f1167[_0x3e9551]))return!0x1;}return!0x0;}get['_timestamp'](){return Date['now']();}get['_solution'](){if(!this['_block']['has']('*solution'))return null;const _0x5f50e5=this['_block']['$']['*solution'];return _0x5f50e5?_0x5f50e5['toLowerCase']():null;}get['_activity'](){return this['_block']['has']('*currentActivity')?this['_block']['$']['*currentActivity']??null:null;}get['_location'](){return location['origin'];}},_0x564f6b=_0x18ddb5=>'*cfg/'+_0x18ddb5;function testModeProcessor(_0x4e4b7a,_0x58d649){const _0x4ea3de=_0x4e4b7a['querySelectorAll']('[data-testid]');if(0x0===_0x4ea3de['length'])return;const _0x58a644=new WeakMap();for(const _0xbc02f6 of _0x4ea3de){const _0x145911=_0xbc02f6['getAttribute']('data-testid');_0x145911&&_0x58a644['set'](_0xbc02f6,_0x145911);}_0x58d649['subConfigValue']('testMode',_0x194f2f=>{if(!_0x194f2f){for(const _0xe6f613 of _0x4ea3de)_0xe6f613['removeAttribute']('data-testid');return;}const _0x260c5a=_0x58d649['testId'];for(const _0x1d1a63 of _0x4ea3de){const _0x11ec42=_0x58a644['get'](_0x1d1a63);_0x11ec42&&_0x1d1a63['setAttribute']('data-testid',_0x260c5a+'--'+_0x11ec42);}});}var _0x568cc1='uc-',_0x1e370d=class extends BaseComponent{['__cfgProxy'];['l10nProcessorSubs']=new Map();static ['StateConsumerScope']=null;static ['styleAttrs']=[];['requireCtxName']=!0x1;['activityType']=null;['init$']=blockCtx();['l10n'](_0x47c652,_0x2f05c6={}){if(!_0x47c652)return'';const _0x280cc5=this['$'][localeStateKey(_0x47c652)]||_0x47c652,_0xb2d17e=getPluralObjects(_0x280cc5);for(const _0x35c1c2 of _0xb2d17e)_0x2f05c6[_0x35c1c2['variable']]=this['pluralize'](_0x35c1c2['pluralKey'],Number(_0x2f05c6[_0x35c1c2['countVariable']]));return applyTemplateData(_0x280cc5,_0x2f05c6);}['pluralize'](_0x6b3a21,_0x575064){const _0x4e6cba=this['l10n']('locale-id')||'en',_0x22f390=getPluralForm(_0x4e6cba,_0x575064);return this['l10n'](_0x6b3a21+'__'+_0x22f390);}['bindL10n'](_0x5bec4c,_0x3bdbc0){this['localeManager']?.['bindL10n'](this,_0x5bec4c,_0x3bdbc0);}constructor(){super(),this['addTemplateProcessor'](_0x5da435),this['addTemplateProcessor'](testModeProcessor);}['emit'](_0x48b9cb,_0x4aac53,_0x11bd59){const _0x1a5c7d=this['has']('*eventEmitter')?this['$']['*eventEmitter']:void 0x0;_0x1a5c7d&&(_0x1a5c7d['emit'](_0x48b9cb,_0x4aac53,_0x11bd59),this['telemetryManager']['sendEvent']({'eventType':_0x48b9cb,'payload':'function'==typeof _0x4aac53?_0x4aac53():_0x4aac53}));}['hasBlockInCtx'](_0x34086e){for(const _0x563670 of this['blocksRegistry'])if(_0x34086e(_0x563670))return!0x0;return!0x1;}['setOrAddState'](_0x55abee,_0x82cd5e){this['add$']({[_0x55abee]:_0x82cd5e},!0x0);}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x1959c2=>{this['setAttribute'](_0x1959c2,'');}),this['hasAttribute']('retpl')&&(this['constructor']['template']=null,this['processInnerHtml']=!0x0),this['requireCtxName']?waitForAttribute({'element':this,'attribute':'ctx-name','onSuccess':()=>{super['connectedCallback']();},'onTimeout':()=>{console['error']('Attribute\x20`ctx-name`\x20is\x20required\x20and\x20it\x20is\x20not\x20set.');}}):super['connectedCallback'](),WindowHeightTracker['registerClient'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),WindowHeightTracker['unregisterClient'](this);}['initCallback'](){this['has']('*blocksRegistry')||this['add']('*blocksRegistry',new Set()),(this['$']['*blocksRegistry']['add'](this),this['has']('*eventEmitter')||this['add']('*eventEmitter',new EventEmitter(this['debugPrint']['bind'](this))),this['has']('*localeManager')||this['add']('*localeManager',new _0x23e16d(this)),this['cfg']['qualityInsights']&&!this['has']('*telemetryManager')&&this['add']('*telemetryManager',new TelemetryManager(this)),this['has']('*a11y')||this['add']('*a11y',new _0x2e7e21()),this['has']('*modalManager')||this['add']('*modalManager',new _0x1c694c(this)),this['sub'](localeStateKey('locale-id'),_0x277e04=>{const _0x459f4d=getLocaleDirection(_0x277e04);this['style']['direction']='ltr'===_0x459f4d?'':_0x459f4d;}),this['subConfigValue']('testMode',_0x3a39a6=>{_0x3a39a6&&this['testId']?this['setAttribute']('data-testid',this['testId']):this['removeAttribute']('data-testid');}));}get['testId'](){return window['customElements']['getName'](this['constructor']);}get['modalManager'](){return this['has']('*modalManager')?this['$']['*modalManager']:void 0x0;}get['telemetryManager'](){return this['cfg']['qualityInsights']?this['has']('*telemetryManager')&&this['$']['*telemetryManager']:{'sendEvent':()=>{},'sendEventCloudImageEditor':()=>{},'sendEventError':()=>{}};}get['localeManager'](){return this['has']('*localeManager')?this['$']['*localeManager']:null;}get['a11y'](){return this['has']('*a11y')?this['$']['*a11y']:null;}get['blocksRegistry'](){return this['$']['*blocksRegistry'];}['destroyCallback'](){super['destroyCallback']();const _0x924546=this['blocksRegistry'];_0x924546?.['delete'](this),this['localeManager']?.['destroyL10nBindings'](this),this['l10nProcessorSubs']=new Map(),Data['deleteCtx'](this),0x0===_0x924546?.['size']&&setTimeout(()=>{this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){Data['deleteCtx'](this['ctxName']),this['localeManager']?.['destroy'](),this['modalManager']?.['destroy']();}async['proxyUrl'](_0x4339d9){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'](_0x4339d9,{'uuid':extractUuid(_0x4339d9),'cdnUrlModifiers':extractCdnUrlModifiers(_0x4339d9),'fileName':extractFilename(_0x4339d9)});}catch(_0x153942){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x153942),this['telemetryManager']['sendEventError'](_0x153942,'secureDeliveryProxyUrlResolver.\x20Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.'),_0x4339d9;}return this['cfg']['secureDeliveryProxy']?applyTemplateData(this['cfg']['secureDeliveryProxy'],{'previewUrl':_0x4339d9},{'transform':_0x1d38de=>window['encodeURIComponent'](_0x1d38de)}):_0x4339d9;}get['cfg'](){if(!this['__cfgProxy']){const _0x4f422a=Object['create'](null);this['__cfgProxy']=new Proxy(_0x4f422a,{'set':(_0x2b07d1,_0xbb32e0,_0x4458f2)=>{if('string'!=typeof _0xbb32e0)return!0x1;const _0x11eb03=_0x564f6b(_0xbb32e0);return this['has'](_0x11eb03)||this['add'](_0x11eb03,initialConfig[_0xbb32e0]),this['$'][_0x11eb03]=_0x4458f2,!0x0;},'get':(_0x4c1d91,_0x12effc)=>{const _0x58bdaf=_0x564f6b(_0x12effc);return this['has'](_0x58bdaf)||this['add'](_0x58bdaf,initialConfig[_0x12effc]),this['$'][_0x564f6b(_0x12effc)];}});}return this['__cfgProxy'];}['subConfigValue'](_0x49c7a6,_0x497ce2){const _0x3ab3d7=_0x564f6b(_0x49c7a6);this['has'](_0x3ab3d7)||this['add'](_0x3ab3d7,initialConfig[_0x49c7a6]),this['sub'](_0x3ab3d7,_0x497ce2);}['debugPrint'](..._0x531edf){if(!this['cfg']['debug'])return;let _0x476dc0=_0x531edf;'function'==typeof _0x531edf?.[0x0]&&(_0x476dc0=(0x0,_0x531edf[0x0])()),console['log']('['+this['ctxName']+']',..._0x476dc0);}static['reg'](_0x1d6719){_0x1d6719?_0x1d6719['startsWith'](_0x568cc1)&&super['reg'](_0x1d6719):super['reg']();}},_0x492ef3='active',_0x3afd1e='___ACTIVITY_IS_ACTIVE___',ActivityBlock=class _0x37572b extends _0x1e370d{['historyTracked']=!0x1;[_0x3afd1e];['init$']=activityBlockCtx(this);['_debouncedHistoryFlush']=_0x1a7249(this['_historyFlush']['bind'](this),0xa);['_deactivate'](){const _0x1cdc7e=_0x37572b['_activityCallbacks']['get'](this);this[_0x3afd1e]=!0x1,this['removeAttribute'](_0x492ef3),_0x1cdc7e?.['deactivateCallback']?.();}['_activate'](){const _0x1c5060=_0x37572b['_activityCallbacks']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[_0x3afd1e]=!0x0,this['setAttribute'](_0x492ef3,''),_0x1c5060?.['activateCallback']?.(),this['_debouncedHistoryFlush'](),this['emit'](EventType['ACTIVITY_CHANGE'],{'activity':this['activityType']});}['initCallback'](){super['initCallback'](),this['activityType']&&(this['hasAttribute']('activity')||this['setAttribute']('activity',this['activityType']),this['sub']('*currentActivity',_0x466572=>{try{this['activityType']!==_0x466572&&this[_0x3afd1e]?this['_deactivate']():this['activityType']!==_0x466572||this[_0x3afd1e]||this['_activate']();}catch(_0x7e893){this['telemetryManager']['sendEventError'](_0x7e893,'activity\x20\x22'+this['activityType']+'\x22'),console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x7e893),this['$']['*currentActivity']=this['$']['*history'][this['$']['*history']['length']-0x1]??null;}_0x466572||(this['$']['*history']=[]);}));}['_historyFlush'](){let _0x172903=this['$']['*history'];_0x172903&&(_0x172903['length']>0xa&&(_0x172903=_0x172903['slice'](_0x172903['length']-0xb,_0x172903['length']-0x1)),this['historyTracked']&&_0x172903[_0x172903['length']-0x1]!==this['activityType']&&_0x172903['push'](this['activityType']),this['$']['*history']=_0x172903);}['_isActivityRegistered'](){return!!this['activityType']&&_0x37572b['_activityCallbacks']['has'](this);}static ['_activityCallbacks']=new Map();static ['activities'];get['isActivityActive'](){return!!this[_0x3afd1e];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](_0x209d7,_0x250314={}){const {onActivate:_0x519a60,onDeactivate:_0x4be7c8}=_0x250314;_0x37572b['_activityCallbacks']['set'](this,{'activateCallback':_0x519a60,'deactivateCallback':_0x4be7c8});}['unregisterActivity'](){this['isActivityActive']&&this['_deactivate'](),_0x37572b['_activityCallbacks']['delete'](this);}['destroyCallback'](){super['destroyCallback'](),this['_isActivityRegistered']()&&this['unregisterActivity']();const _0x36341f=this['$']['*currentActivity'];!![...this['blocksRegistry']]['find'](_0x183f70=>_0x183f70 instanceof _0x37572b&&_0x183f70['activityType']===_0x36341f)||(this['$']['*currentActivity']=null,this['modalManager']?.['closeAll']());}get['activityKey'](){return this['ctxName']+this['activityType'];}get['activityParams'](){return this['$']['*currentActivityParams'];}get['initActivity'](){return this['getCssData']('--cfg-init-activity');}get['doneActivity'](){return this['getCssData']('--cfg-done-activity');}['historyBack'](){const _0x5017ed=this['$']['*history'];if(_0x5017ed){let _0x5ca3d0=_0x5017ed['pop']();for(;_0x5ca3d0===this['activityType'];)_0x5ca3d0=_0x5017ed['pop']();let _0x2ce28c=!!_0x5ca3d0;if(_0x5ca3d0){const _0x444cca=[...this['blocksRegistry']]['find'](_0x2680d0=>_0x2680d0['activityType']===_0x5ca3d0);_0x2ce28c=_0x444cca?.['couldOpenActivity']??!0x1;}_0x5ca3d0=_0x2ce28c?_0x5ca3d0:void 0x0,_0x5ca3d0&&this['modalManager']?.['open'](_0x5ca3d0),this['$']['*currentActivity']=_0x5ca3d0,this['$']['*history']=_0x5017ed,_0x5ca3d0||this['modalManager']?.['closeAll']();}}};function defineComponents(_0x428004){for(const _0x1d6ab2 in _0x428004){let _0x2e023a=[..._0x1d6ab2]['reduce']((_0x45d504,_0x172a5c)=>(_0x172a5c['toUpperCase']()===_0x172a5c&&(_0x172a5c='-'+_0x172a5c['toLowerCase']()),_0x45d504+=_0x172a5c),'');_0x2e023a['startsWith']('-')&&(_0x2e023a=_0x2e023a['replace']('-','')),_0x2e023a['startsWith']('uc-')||(_0x2e023a='uc-'+_0x2e023a),_0x428004[_0x1d6ab2]['reg']&&_0x428004[_0x1d6ab2]['reg'](_0x2e023a);}}ActivityBlock['activities']=Object['freeze']({'START_FROM':'start-from','CAMERA':'camera','DRAW':'draw','UPLOAD_LIST':'upload-list','URL':'url','CLOUD_IMG_EDIT':'cloud-image-edit','EXTERNAL':'external'});var _0x1a6cb6='UC';function _0x31a2cc(_0x32d4c6,_0x2e9e7a=!0x1){return new Promise((_0x21e452,_0x461588)=>{if('object'!=typeof document)return void _0x21e452(null);if('object'==typeof window&&window[_0x1a6cb6])return void _0x21e452(window[_0x1a6cb6]);const _0x4d403d=document['createElement']('script');_0x4d403d['async']=!0x0,_0x4d403d['src']=_0x32d4c6,_0x4d403d['onerror']=()=>{_0x461588();},_0x4d403d['onload']=()=>{const _0xe34582=window[_0x1a6cb6];_0x2e9e7a&&defineComponents(_0xe34582),_0x21e452(_0xe34582);},document['head']['appendChild'](_0x4d403d);});}var svg_sprite_default='<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>',SolutionBlock=class extends _0x1e370d{static ['styleAttrs']=['uc-wgt-common'];['requireCtxName']=!0x0;['init$']=solutionBlockCtx(this);static ['_template']='';['initCallback'](){super['initCallback'](),this['a11y']?.['registerBlock'](this);}static set['template'](_0x4be913){this['_template']=svg_sprite_default+_0x4be913+'<slot></slot>';}static get['template'](){return this['_template'];}},_0x3985fe=0x14,_0x3896e6=0x18,_0x4c4f04=0x22,_0x4bed47=0x3,_0x58ee57=_0x4bed47/0x2,_0x4e97e7=0x1,_0x2c8a56=0x64/0x3,_0x3bdac2=0x1,_0x48d0d2=0x18,_0x482b51=0x6;function setSvgNodeAttrs(_0xc51f47,_0x81e2d2){for(const [_0x418db1,_0x41e575]of Object['entries'](_0x81e2d2))_0xc51f47['setAttributeNS'](null,_0x418db1,_0x41e575['toString']());}function createSvgNode(_0x4f633e,_0x3c6087={}){const _0x4921b6=document['createElementNS']('http://www.w3.org/2000/svg',_0x4f633e);return setSvgNodeAttrs(_0x4921b6,_0x3c6087),_0x4921b6;}function cornerPath(_0x4a63e5,_0x2397db,_0x53d642){const {x:_0x24d607,y:_0x240821,width:_0x3cbff1,height:_0x21d67f}=_0x4a63e5,_0x7af238=_0x2397db['includes']('w')?0x0:0x1,_0x3f6ff1=_0x2397db['includes']('n')?0x0:0x1,_0x463a20=0x0===_0x7af238?-0x1:0x1,_0x6ff15d=0x0===_0x3f6ff1?-0x1:0x1,_0x11a2a3=[_0x24d607+_0x7af238*_0x3cbff1+_0x58ee57*_0x463a20,_0x240821+_0x3f6ff1*_0x21d67f+_0x58ee57*_0x6ff15d-_0x3896e6*_0x53d642*_0x6ff15d],_0x1bc934=[_0x24d607+_0x7af238*_0x3cbff1+_0x58ee57*_0x463a20,_0x240821+_0x3f6ff1*_0x21d67f+_0x58ee57*_0x6ff15d],_0x209128=[_0x24d607+_0x7af238*_0x3cbff1-_0x3896e6*_0x53d642*_0x463a20+_0x58ee57*_0x463a20,_0x240821+_0x3f6ff1*_0x21d67f+_0x58ee57*_0x6ff15d];return{'d':'M\x20'+_0x11a2a3[0x0]+'\x20'+_0x11a2a3[0x1]+'\x20L\x20'+_0x1bc934[0x0]+'\x20'+_0x1bc934[0x1]+'\x20L\x20'+_0x209128[0x0]+'\x20'+_0x209128[0x1],'center':[_0x1bc934[0x0],_0x1bc934[0x1]]};}function sidePath(_0x288df7,_0x39a3a9,_0x184c3e){const {x:_0x152c7c,y:_0x5c59ac,width:_0x2ec897,height:_0x25df39}=_0x288df7,_0x976505='n'===_0x39a3a9||'s'===_0x39a3a9,_0x14a255=_0x976505?0.5:'w'===_0x39a3a9?0x0:0x1,_0x277a94='w'===_0x39a3a9||'e'===_0x39a3a9?0.5:'n'===_0x39a3a9?0x0:0x1,_0x4db2e1='w'===_0x39a3a9?-0x1:'e'===_0x39a3a9?0x1:0x0,_0x1a4db8='n'===_0x39a3a9?-0x1:'s'===_0x39a3a9?0x1:0x0;let _0x2d43a6,_0x380d1a;return _0x976505?(_0x2d43a6=[_0x152c7c+_0x14a255*_0x2ec897-_0x4c4f04*_0x184c3e/0x2,_0x5c59ac+_0x277a94*_0x25df39+_0x58ee57*_0x1a4db8],_0x380d1a=[_0x152c7c+_0x14a255*_0x2ec897+_0x4c4f04*_0x184c3e/0x2,_0x5c59ac+_0x277a94*_0x25df39+_0x58ee57*_0x1a4db8]):(_0x2d43a6=[_0x152c7c+_0x14a255*_0x2ec897+_0x58ee57*_0x4db2e1,_0x5c59ac+_0x277a94*_0x25df39-_0x4c4f04*_0x184c3e/0x2],_0x380d1a=[_0x152c7c+_0x14a255*_0x2ec897+_0x58ee57*_0x4db2e1,_0x5c59ac+_0x277a94*_0x25df39+_0x4c4f04*_0x184c3e/0x2]),{'d':'M\x20'+_0x2d43a6[0x0]+'\x20'+_0x2d43a6[0x1]+'\x20L\x20'+_0x380d1a[0x0]+'\x20'+_0x380d1a[0x1],'center':[(_0x2d43a6[0x0]+_0x380d1a[0x0])/0x2,(_0x2d43a6[0x1]+_0x380d1a[0x1])/0x2]};}function thumbCursor(_0x5e0181){return''===_0x5e0181?'move':['e','w']['includes'](_0x5e0181)?'ew-resize':['n','s']['includes'](_0x5e0181)?'ns-resize':['nw','se']['includes'](_0x5e0181)?'nwse-resize':'nesw-resize';}function moveRect({rect:_0x3db1db,delta:[_0x27d35c,_0x2cf942],imageBox:_0x26a7ed}){return constraintRect({..._0x3db1db,'x':_0x3db1db['x']+_0x27d35c,'y':_0x3db1db['y']+_0x2cf942},_0x26a7ed);}function constraintRect(_0x1bcf80,_0xe5114f){let {x:_0x453a1f}=_0x1bcf80,{y:_0x6b52b4}=_0x1bcf80;return _0x1bcf80['x']<_0xe5114f['x']?_0x453a1f=_0xe5114f['x']:_0x1bcf80['x']+_0x1bcf80['width']>_0xe5114f['x']+_0xe5114f['width']&&(_0x453a1f=_0xe5114f['x']+_0xe5114f['width']-_0x1bcf80['width']),_0x1bcf80['y']<_0xe5114f['y']?_0x6b52b4=_0xe5114f['y']:_0x1bcf80['y']+_0x1bcf80['height']>_0xe5114f['y']+_0xe5114f['height']&&(_0x6b52b4=_0xe5114f['y']+_0xe5114f['height']-_0x1bcf80['height']),{..._0x1bcf80,'x':_0x453a1f,'y':_0x6b52b4};}function resizeNorth({rect:_0x363cde,delta:_0x41273e,aspectRatio:_0xda907c,imageBox:_0x58cc62}){const [,_0x1fd797]=_0x41273e;let {y:_0x28481e,width:_0x250694,height:_0x4a9b16}=_0x363cde;_0x28481e+=_0x1fd797,_0x4a9b16-=_0x1fd797,_0xda907c&&(_0x250694=_0x4a9b16*_0xda907c);let _0x20c424=_0x363cde['x']+_0x363cde['width']/0x2-_0x250694/0x2;return _0x28481e<=_0x58cc62['y']&&(_0x28481e=_0x58cc62['y'],_0x4a9b16=_0x363cde['y']+_0x363cde['height']-_0x28481e,_0xda907c&&(_0x250694=_0x4a9b16*_0xda907c,_0x20c424=_0x363cde['x']+_0x363cde['width']/0x2-_0x250694/0x2)),_0x20c424<=_0x58cc62['x']&&(_0x20c424=_0x58cc62['x'],_0x28481e=_0x363cde['y']+_0x363cde['height']-_0x4a9b16),_0x20c424+_0x250694>=_0x58cc62['x']+_0x58cc62['width']&&(_0x20c424=Math['max'](_0x58cc62['x'],_0x58cc62['x']+_0x58cc62['width']-_0x250694),_0x250694=_0x58cc62['x']+_0x58cc62['width']-_0x20c424,_0xda907c&&(_0x4a9b16=_0x250694/_0xda907c),_0x28481e=_0x363cde['y']+_0x363cde['height']-_0x4a9b16),_0x4a9b16<_0x3bdac2&&(_0x4a9b16=_0x3bdac2,_0xda907c&&(_0x250694=_0x4a9b16*_0xda907c,_0x20c424=_0x363cde['x']+_0x363cde['width']/0x2-_0x250694/0x2),_0x28481e=_0x363cde['y']+_0x363cde['height']-_0x4a9b16),_0x250694<_0x3bdac2&&(_0x250694=_0x3bdac2,_0xda907c&&(_0x4a9b16=_0x250694/_0xda907c,_0x20c424=_0x363cde['x']+_0x363cde['width']/0x2-_0x250694/0x2),_0x28481e=_0x363cde['y']+_0x363cde['height']-_0x4a9b16),{'x':_0x20c424,'y':_0x28481e,'width':_0x250694,'height':_0x4a9b16};}function resizeWest({rect:_0x431360,delta:_0x4566c4,aspectRatio:_0x25f092,imageBox:_0x495e0d}){const [_0x2564fe]=_0x4566c4;let {x:_0x547cc3,width:_0x415eb0,height:_0x4936a3}=_0x431360;_0x547cc3+=_0x2564fe,_0x415eb0-=_0x2564fe,_0x25f092&&(_0x4936a3=_0x415eb0/_0x25f092);let _0x2c3c1b=_0x431360['y']+_0x431360['height']/0x2-_0x4936a3/0x2;return _0x547cc3<=_0x495e0d['x']&&(_0x547cc3=_0x495e0d['x'],_0x415eb0=_0x431360['x']+_0x431360['width']-_0x547cc3,_0x25f092&&(_0x4936a3=_0x415eb0/_0x25f092,_0x2c3c1b=_0x431360['y']+_0x431360['height']/0x2-_0x4936a3/0x2)),_0x2c3c1b<=_0x495e0d['y']&&(_0x2c3c1b=_0x495e0d['y'],_0x547cc3=_0x431360['x']+_0x431360['width']-_0x415eb0),_0x2c3c1b+_0x4936a3>=_0x495e0d['y']+_0x495e0d['height']&&(_0x2c3c1b=Math['max'](_0x495e0d['y'],_0x495e0d['y']+_0x495e0d['height']-_0x4936a3),_0x4936a3=_0x495e0d['y']+_0x495e0d['height']-_0x2c3c1b,_0x25f092&&(_0x415eb0=_0x4936a3*_0x25f092),_0x547cc3=_0x431360['x']+_0x431360['width']-_0x415eb0),_0x4936a3<_0x3bdac2&&(_0x4936a3=_0x3bdac2,_0x25f092&&(_0x415eb0=_0x4936a3*_0x25f092),_0x2c3c1b=_0x431360['y']+_0x431360['height']/0x2-_0x4936a3/0x2,_0x547cc3=_0x431360['x']+_0x431360['width']-_0x415eb0),_0x415eb0<_0x3bdac2&&(_0x415eb0=_0x3bdac2,_0x25f092&&(_0x4936a3=_0x415eb0/_0x25f092),_0x2c3c1b=_0x431360['y']+_0x431360['height']/0x2-_0x4936a3/0x2,_0x547cc3=_0x431360['x']+_0x431360['width']-_0x415eb0),{'x':_0x547cc3,'y':_0x2c3c1b,'width':_0x415eb0,'height':_0x4936a3};}function resizeSouth({rect:_0x49429c,delta:_0x1754b3,aspectRatio:_0x5480b2,imageBox:_0xebb5cb}){const [,_0x30b041]=_0x1754b3;let {y:_0x48307d,width:_0xca12c3,height:_0x1a2a69}=_0x49429c;_0x1a2a69+=_0x30b041,_0x5480b2&&(_0xca12c3=_0x1a2a69*_0x5480b2);let _0x2f12aa=_0x49429c['x']+_0x49429c['width']/0x2-_0xca12c3/0x2;return _0x48307d+_0x1a2a69>=_0xebb5cb['y']+_0xebb5cb['height']&&(_0x1a2a69=_0xebb5cb['y']+_0xebb5cb['height']-_0x48307d,_0x5480b2&&(_0xca12c3=_0x1a2a69*_0x5480b2),_0x2f12aa=_0x49429c['x']+_0x49429c['width']/0x2-_0xca12c3/0x2),_0x2f12aa<=_0xebb5cb['x']&&(_0x2f12aa=_0xebb5cb['x'],_0x48307d=_0x49429c['y']),_0x2f12aa+_0xca12c3>=_0xebb5cb['x']+_0xebb5cb['width']&&(_0x2f12aa=Math['max'](_0xebb5cb['x'],_0xebb5cb['x']+_0xebb5cb['width']-_0xca12c3),_0xca12c3=_0xebb5cb['x']+_0xebb5cb['width']-_0x2f12aa,_0x5480b2&&(_0x1a2a69=_0xca12c3/_0x5480b2),_0x48307d=_0x49429c['y']),_0x1a2a69<_0x3bdac2&&(_0x1a2a69=_0x3bdac2,_0x5480b2&&(_0xca12c3=_0x1a2a69*_0x5480b2),_0x2f12aa=_0x49429c['x']+_0x49429c['width']/0x2-_0xca12c3/0x2),_0xca12c3<_0x3bdac2&&(_0xca12c3=_0x3bdac2,_0x5480b2&&(_0x1a2a69=_0xca12c3/_0x5480b2),_0x2f12aa=_0x49429c['x']+_0x49429c['width']/0x2-_0xca12c3/0x2),{'x':_0x2f12aa,'y':_0x48307d,'width':_0xca12c3,'height':_0x1a2a69};}function resizeEast({rect:_0x557e4b,delta:_0x2650b5,aspectRatio:_0x1acfc9,imageBox:_0xa0fef3}){const [_0x574f66]=_0x2650b5;let {x:_0x533b1f,width:_0x2968d7,height:_0x4d0070}=_0x557e4b;_0x2968d7+=_0x574f66,_0x1acfc9&&(_0x4d0070=_0x2968d7/_0x1acfc9);let _0x15169=_0x557e4b['y']+_0x557e4b['height']/0x2-_0x4d0070/0x2;return _0x533b1f+_0x2968d7>=_0xa0fef3['x']+_0xa0fef3['width']&&(_0x2968d7=_0xa0fef3['x']+_0xa0fef3['width']-_0x533b1f,_0x1acfc9&&(_0x4d0070=_0x2968d7/_0x1acfc9),_0x15169=_0x557e4b['y']+_0x557e4b['height']/0x2-_0x4d0070/0x2),_0x15169<=_0xa0fef3['y']&&(_0x15169=_0xa0fef3['y'],_0x533b1f=_0x557e4b['x']),_0x15169+_0x4d0070>=_0xa0fef3['y']+_0xa0fef3['height']&&(_0x15169=Math['max'](_0xa0fef3['y'],_0xa0fef3['y']+_0xa0fef3['height']-_0x4d0070),_0x4d0070=_0xa0fef3['y']+_0xa0fef3['height']-_0x15169,_0x1acfc9&&(_0x2968d7=_0x4d0070*_0x1acfc9),_0x533b1f=_0x557e4b['x']),_0x4d0070<_0x3bdac2&&(_0x4d0070=_0x3bdac2,_0x1acfc9&&(_0x2968d7=_0x4d0070*_0x1acfc9),_0x15169=_0x557e4b['y']+_0x557e4b['height']/0x2-_0x4d0070/0x2),_0x2968d7<_0x3bdac2&&(_0x2968d7=_0x3bdac2,_0x1acfc9&&(_0x4d0070=_0x2968d7/_0x1acfc9),_0x15169=_0x557e4b['y']+_0x557e4b['height']/0x2-_0x4d0070/0x2),{'x':_0x533b1f,'y':_0x15169,'width':_0x2968d7,'height':_0x4d0070};}function resizeNorthWest({rect:_0x5e33f5,delta:_0x2ca5ed,aspectRatio:_0x26d27b,imageBox:_0x2b1224}){let [_0x41745a,_0x4ad3b4]=_0x2ca5ed,{x:_0x2996e6,y:_0x51ee58,width:_0x1722e7,height:_0xa23d33}=_0x5e33f5;return _0x2996e6+_0x41745a<_0x2b1224['x']&&(_0x41745a=_0x2b1224['x']-_0x2996e6),_0x51ee58+_0x4ad3b4<_0x2b1224['y']&&(_0x4ad3b4=_0x2b1224['y']-_0x51ee58),_0x2996e6+=_0x41745a,_0x1722e7-=_0x41745a,_0x51ee58+=_0x4ad3b4,_0xa23d33-=_0x4ad3b4,_0x26d27b&&Math['abs'](_0x1722e7/_0xa23d33)>_0x26d27b?(_0x4ad3b4=_0x1722e7/_0x26d27b-_0xa23d33,_0xa23d33+=_0x4ad3b4,_0x51ee58-=_0x4ad3b4,_0x51ee58<=_0x2b1224['y']&&(_0xa23d33-=_0x2b1224['y']-_0x51ee58,_0x1722e7=_0xa23d33*_0x26d27b,_0x2996e6=_0x5e33f5['x']+_0x5e33f5['width']-_0x1722e7,_0x51ee58=_0x2b1224['y'])):_0x26d27b&&(_0x41745a=_0xa23d33*_0x26d27b-_0x1722e7,_0x1722e7+=_0x41745a,_0x2996e6-=_0x41745a,_0x2996e6<=_0x2b1224['x']&&(_0x1722e7-=_0x2b1224['x']-_0x2996e6,_0xa23d33=_0x1722e7/_0x26d27b,_0x2996e6=_0x2b1224['x'],_0x51ee58=_0x5e33f5['y']+_0x5e33f5['height']-_0xa23d33)),_0xa23d33<_0x3bdac2&&(_0xa23d33=_0x3bdac2,_0x26d27b&&(_0x1722e7=_0xa23d33*_0x26d27b),_0x2996e6=_0x5e33f5['x']+_0x5e33f5['width']-_0x1722e7,_0x51ee58=_0x5e33f5['y']+_0x5e33f5['height']-_0xa23d33),_0x1722e7<_0x3bdac2&&(_0x1722e7=_0x3bdac2,_0x26d27b&&(_0xa23d33=_0x1722e7/_0x26d27b),_0x2996e6=_0x5e33f5['x']+_0x5e33f5['width']-_0x1722e7,_0x51ee58=_0x5e33f5['y']+_0x5e33f5['height']-_0xa23d33),{'x':_0x2996e6,'y':_0x51ee58,'width':_0x1722e7,'height':_0xa23d33};}function resizeNorthEast({rect:_0x272c7d,delta:_0x397c4f,aspectRatio:_0x2a4466,imageBox:_0x3908b8}){let [_0x56b305,_0x4d79c4]=_0x397c4f,{x:_0x743f0d,y:_0x27cfda,width:_0x4a69e0,height:_0x2f8a1e}=_0x272c7d;return _0x743f0d+_0x4a69e0+_0x56b305>_0x3908b8['x']+_0x3908b8['width']&&(_0x56b305=_0x3908b8['x']+_0x3908b8['width']-_0x743f0d-_0x4a69e0),_0x27cfda+_0x4d79c4<_0x3908b8['y']&&(_0x4d79c4=_0x3908b8['y']-_0x27cfda),_0x4a69e0+=_0x56b305,_0x27cfda+=_0x4d79c4,_0x2f8a1e-=_0x4d79c4,_0x2a4466&&Math['abs'](_0x4a69e0/_0x2f8a1e)>_0x2a4466?(_0x4d79c4=_0x4a69e0/_0x2a4466-_0x2f8a1e,_0x2f8a1e+=_0x4d79c4,_0x27cfda-=_0x4d79c4,_0x27cfda<=_0x3908b8['y']&&(_0x2f8a1e-=_0x3908b8['y']-_0x27cfda,_0x4a69e0=_0x2f8a1e*_0x2a4466,_0x743f0d=_0x272c7d['x'],_0x27cfda=_0x3908b8['y'])):_0x2a4466&&(_0x56b305=_0x2f8a1e*_0x2a4466-_0x4a69e0,_0x4a69e0+=_0x56b305,_0x743f0d+_0x4a69e0>=_0x3908b8['x']+_0x3908b8['width']&&(_0x4a69e0=_0x3908b8['x']+_0x3908b8['width']-_0x743f0d,_0x2f8a1e=_0x4a69e0/_0x2a4466,_0x743f0d=_0x3908b8['x']+_0x3908b8['width']-_0x4a69e0,_0x27cfda=_0x272c7d['y']+_0x272c7d['height']-_0x2f8a1e)),_0x2f8a1e<_0x3bdac2&&(_0x2f8a1e=_0x3bdac2,_0x2a4466&&(_0x4a69e0=_0x2f8a1e*_0x2a4466),_0x27cfda=_0x272c7d['y']+_0x272c7d['height']-_0x2f8a1e),_0x4a69e0<_0x3bdac2&&(_0x4a69e0=_0x3bdac2,_0x2a4466&&(_0x2f8a1e=_0x4a69e0/_0x2a4466),_0x27cfda=_0x272c7d['y']+_0x272c7d['height']-_0x2f8a1e),{'x':_0x743f0d,'y':_0x27cfda,'width':_0x4a69e0,'height':_0x2f8a1e};}function resizeSouthWest({rect:_0x448ce9,delta:_0x2dedbe,aspectRatio:_0x23a20f,imageBox:_0x3143d3}){let [_0x3d8ddd,_0x325454]=_0x2dedbe,{x:_0x48bfed,y:_0x2571c5,width:_0x16ba8d,height:_0x553365}=_0x448ce9;return _0x48bfed+_0x3d8ddd<_0x3143d3['x']&&(_0x3d8ddd=_0x3143d3['x']-_0x48bfed),_0x2571c5+_0x553365+_0x325454>_0x3143d3['y']+_0x3143d3['height']&&(_0x325454=_0x3143d3['y']+_0x3143d3['height']-_0x2571c5-_0x553365),_0x48bfed+=_0x3d8ddd,_0x16ba8d-=_0x3d8ddd,_0x553365+=_0x325454,_0x23a20f&&Math['abs'](_0x16ba8d/_0x553365)>_0x23a20f?(_0x325454=_0x16ba8d/_0x23a20f-_0x553365,_0x553365+=_0x325454,_0x2571c5+_0x553365>=_0x3143d3['y']+_0x3143d3['height']&&(_0x553365=_0x3143d3['y']+_0x3143d3['height']-_0x2571c5,_0x16ba8d=_0x553365*_0x23a20f,_0x48bfed=_0x448ce9['x']+_0x448ce9['width']-_0x16ba8d,_0x2571c5=_0x3143d3['y']+_0x3143d3['height']-_0x553365)):_0x23a20f&&(_0x3d8ddd=_0x553365*_0x23a20f-_0x16ba8d,_0x16ba8d+=_0x3d8ddd,_0x48bfed-=_0x3d8ddd,_0x48bfed<=_0x3143d3['x']&&(_0x16ba8d-=_0x3143d3['x']-_0x48bfed,_0x553365=_0x16ba8d/_0x23a20f,_0x48bfed=_0x3143d3['x'],_0x2571c5=_0x448ce9['y'])),_0x553365<_0x3bdac2&&(_0x553365=_0x3bdac2,_0x23a20f&&(_0x16ba8d=_0x553365*_0x23a20f),_0x48bfed=_0x448ce9['x']+_0x448ce9['width']-_0x16ba8d),_0x16ba8d<_0x3bdac2&&(_0x16ba8d=_0x3bdac2,_0x23a20f&&(_0x553365=_0x16ba8d/_0x23a20f),_0x48bfed=_0x448ce9['x']+_0x448ce9['width']-_0x16ba8d),{'x':_0x48bfed,'y':_0x2571c5,'width':_0x16ba8d,'height':_0x553365};}function resizeSouthEast({rect:_0x3d14e2,delta:_0x2e2c57,aspectRatio:_0x489950,imageBox:_0x9621d0}){let [_0x1694cb,_0x384a48]=_0x2e2c57,{x:_0x222214,y:_0x53502c,width:_0x24dc13,height:_0x257070}=_0x3d14e2;return _0x222214+_0x24dc13+_0x1694cb>_0x9621d0['x']+_0x9621d0['width']&&(_0x1694cb=_0x9621d0['x']+_0x9621d0['width']-_0x222214-_0x24dc13),_0x53502c+_0x257070+_0x384a48>_0x9621d0['y']+_0x9621d0['height']&&(_0x384a48=_0x9621d0['y']+_0x9621d0['height']-_0x53502c-_0x257070),_0x24dc13+=_0x1694cb,_0x257070+=_0x384a48,_0x489950&&Math['abs'](_0x24dc13/_0x257070)>_0x489950?(_0x384a48=_0x24dc13/_0x489950-_0x257070,_0x257070+=_0x384a48,_0x53502c+_0x257070>=_0x9621d0['y']+_0x9621d0['height']&&(_0x257070=_0x9621d0['y']+_0x9621d0['height']-_0x53502c,_0x24dc13=_0x257070*_0x489950,_0x222214=_0x3d14e2['x'],_0x53502c=_0x9621d0['y']+_0x9621d0['height']-_0x257070)):_0x489950&&(_0x1694cb=_0x257070*_0x489950-_0x24dc13,_0x24dc13+=_0x1694cb,_0x222214+_0x24dc13>=_0x9621d0['x']+_0x9621d0['width']&&(_0x24dc13=_0x9621d0['x']+_0x9621d0['width']-_0x222214,_0x257070=_0x24dc13/_0x489950,_0x222214=_0x9621d0['x']+_0x9621d0['width']-_0x24dc13,_0x53502c=_0x3d14e2['y'])),_0x257070<_0x3bdac2&&(_0x257070=_0x3bdac2,_0x489950&&(_0x24dc13=_0x257070*_0x489950)),_0x24dc13<_0x3bdac2&&(_0x24dc13=_0x3bdac2,_0x489950&&(_0x257070=_0x24dc13/_0x489950)),{'x':_0x222214,'y':_0x53502c,'width':_0x24dc13,'height':_0x257070};}function resizeRect({direction:_0x17e101,..._0x3470f0}){switch(_0x17e101){case'n':return resizeNorth(_0x3470f0);case'w':return resizeWest(_0x3470f0);case's':return resizeSouth(_0x3470f0);case'e':return resizeEast(_0x3470f0);case'nw':return resizeNorthWest(_0x3470f0);case'ne':return resizeNorthEast(_0x3470f0);case'sw':return resizeSouthWest(_0x3470f0);case'se':return resizeSouthEast(_0x3470f0);default:return _0x3470f0['rect'];}}function rectContainsPoint(_0x5b0a19,[_0x21991c,_0x2716fe]){return _0x5b0a19['x']<=_0x21991c&&_0x21991c<=_0x5b0a19['x']+_0x5b0a19['width']&&_0x5b0a19['y']<=_0x2716fe&&_0x2716fe<=_0x5b0a19['y']+_0x5b0a19['height'];}function isRectInsideRect(_0x521e51,_0x17fa6f){return _0x521e51['x']>=_0x17fa6f['x']&&_0x521e51['y']>=_0x17fa6f['y']&&_0x521e51['x']+_0x521e51['width']<=_0x17fa6f['x']+_0x17fa6f['width']&&_0x521e51['y']+_0x521e51['height']<=_0x17fa6f['y']+_0x17fa6f['height'];}function isRectMatchesAspectRatio(_0x16aa1e,_0x17a82f){return Math['abs'](_0x16aa1e['width']/_0x16aa1e['height']-_0x17a82f)<0.1;}function rotateSize({width:_0x3e4e34,height:_0x2ed7af},_0x40e138){const _0x1230ff=_0x40e138/0x5a%0x2!=0x0;return{'width':_0x1230ff?_0x2ed7af:_0x3e4e34,'height':_0x1230ff?_0x3e4e34:_0x2ed7af};}function calculateMaxCenteredCropFrame(_0x5c7a7e,_0x1bd7a0,_0x343195){let _0x159ce8,_0x553e4c;_0x5c7a7e/_0x1bd7a0>_0x343195?(_0x159ce8=Math['round'](_0x1bd7a0*_0x343195),_0x553e4c=_0x1bd7a0):(_0x159ce8=_0x5c7a7e,_0x553e4c=Math['round'](_0x5c7a7e/_0x343195));const _0x524818=Math['round']((_0x5c7a7e-_0x159ce8)/0x2),_0x33ccfa=Math['round']((_0x1bd7a0-_0x553e4c)/0x2);return _0x524818+_0x159ce8>_0x5c7a7e&&(_0x159ce8=_0x5c7a7e-_0x524818),_0x33ccfa+_0x553e4c>_0x1bd7a0&&(_0x553e4c=_0x1bd7a0-_0x33ccfa),{'x':_0x524818,'y':_0x33ccfa,'width':_0x159ce8,'height':_0x553e4c};}function roundRect(_0x221a82){return{'x':Math['round'](_0x221a82['x']),'y':Math['round'](_0x221a82['y']),'width':Math['round'](_0x221a82['width']),'height':Math['round'](_0x221a82['height'])};}function _0xc9ad77(_0x2e39ad,_0x5461d3,_0x240b65){return Math['min'](Math['max'](_0x2e39ad,_0x5461d3),_0x240b65);}var _0xf08362=['free'],parseCropPreset=_0x211002=>{const _0xa4f817=stringToArray(_0x211002);if(!_0xa4f817||0x0===_0xa4f817['length'])return[];const _0x285c18=[];for(const _0x285818 of _0xa4f817){const _0x582f5f=_0x285818['trim']();if(!_0x582f5f)continue;const _0x3ec803=_0x582f5f['indexOf'](':');if(-0x1===_0x3ec803&&!_0xf08362['includes'](_0x582f5f)){console['warn']('Invalid\x20crop\x20preset:\x20'+_0x582f5f);continue;}const _0xdaccc7=Number(_0x582f5f['slice'](0x0,_0x3ec803)),_0x3ec337=Number(_0x582f5f['slice'](_0x3ec803+0x1));!(!Number['isFinite'](_0xdaccc7)||!Number['isFinite'](_0x3ec337)||_0xdaccc7<=0x0||_0x3ec337<=0x0)||_0xf08362['includes'](_0x582f5f)?_0x285c18['push']({'id':_0x4f7a5d['generate'](),'type':'aspect-ratio','width':_0xf08362['includes'](_0x582f5f)?0x0:_0xdaccc7,'height':_0xf08362['includes'](_0x582f5f)?0x0:_0x3ec337,'hasFreeform':_0xf08362['includes'](_0x582f5f)}):console['warn']('Invalid\x20crop\x20preset:\x20'+_0x582f5f);}return _0x285c18;},getClosestAspectRatio=(_0xa1cde1,_0x662ca8,_0x1639c6,_0x45e4fc=0.1)=>{const _0x1afb10=_0xa1cde1/_0x662ca8;let _0x21f85b=null,_0x53120e=0x1/0x0;for(const _0x3e925a of _0x1639c6){const [_0x2669aa,_0x3745d5]=[_0x3e925a['width'],_0x3e925a['height']],_0x38a5b1=_0x2669aa/_0x3745d5,_0x27e28a=Math['abs'](_0x1afb10-_0x38a5b1);_0x27e28a<_0x53120e&&(_0x53120e=_0x27e28a,_0x21f85b=_0x3e925a);}if(_0x21f85b){const [_0x79e844,_0x502867]=[_0x21f85b['width'],_0x21f85b['height']],_0x1f1b62=_0x79e844/_0x502867;if(Math['abs'](_0x1afb10-_0x1f1b62)/_0x1f1b62>_0x45e4fc)return null;}return _0x21f85b;},ExternalUploadSource=Object['freeze']({'FACEBOOK':'facebook','DROPBOX':'dropbox','GDRIVE':'gdrive','GPHOTOS':'gphotos','FLICKR':'flickr','VK':'vk','EVERNOTE':'evernote','BOX':'box','ONEDRIVE':'onedrive','HUDDLE':'huddle'}),_0x75a54d=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),_0x464057=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url','DRAW':'draw',..._0x75a54d,...ExternalUploadSource});function customUserAgent(_0x12c4cf){return getUserAgent$1({..._0x12c4cf,'libraryName':_0x4366e2,'libraryVersion':_0x319797});}var msToUnixTimestamp=_0x210656=>'number'!=typeof _0x210656?0x0:Math['floor'](_0x210656/0x3e8),_0x1b1df8=(_0x5937e5,{threshold:_0x400a24})=>{const {secureExpire:_0x1b9d80}=_0x5937e5,_0xc4f6ef=msToUnixTimestamp(Date['now']()),_0xec6875=Number(_0x1b9d80);return _0xc4f6ef+msToUnixTimestamp(_0x400a24)>=_0xec6875;},_0x27552d=class{['_block'];['_secureToken']=null;constructor(_0x14a8c2){this['_block']=_0x14a8c2;}['_debugPrint'](..._0x5ece7a){this['_block']['debugPrint']('[secure-uploads]',..._0x5ece7a);}async['getSecureToken'](){const {secureSignature:_0x48cf4b,secureExpire:_0x4ad1fd,secureUploadsSignatureResolver:_0x23f41d}=this['_block']['cfg'];if((_0x48cf4b||_0x4ad1fd)&&_0x23f41d&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0x23f41d){if(!this['_secureToken']||_0x1b1df8(this['_secureToken'],{'threshold':this['_block']['cfg']['secureUploadsExpireThreshold']})){this['_secureToken']?this['_debugPrint']('Secure\x20signature\x20is\x20expired.\x20Resolving\x20a\x20new\x20one...'):this['_debugPrint']('Secure\x20signature\x20is\x20not\x20set\x20yet.');try{const _0x527af9=await _0x23f41d();_0x527af9?_0x527af9['secureSignature']&&_0x527af9['secureExpire']?(this['_debugPrint']('Secure\x20signature\x20resolved:',_0x527af9),this['_debugPrint']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x527af9['secureExpire']))['toISOString']()),this['_secureToken']=_0x527af9):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x527af9):(this['_debugPrint']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['_secureToken']=null);}catch(_0x1528a3){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x1528a3),this['_block']['telemetryManager']['sendEventError'](_0x1528a3,'secureUploadsSignatureResolver.\x20Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.');}}return this['_secureToken'];}return _0x48cf4b&&_0x4ad1fd?(this['_debugPrint']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':_0x48cf4b,'secureExpire':_0x4ad1fd}),{'secureSignature':_0x48cf4b,'secureExpire':_0x4ad1fd}):null;}},validateCollectionUploadError=(_0x4c3155,_0x9468a6)=>{if(_0x4c3155['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x9468a6['l10n']('some-files-were-not-uploaded')};},validateMultiple=(_0x35189c,_0x48a390)=>{const _0x575f78=_0x35189c['totalCount'],_0x3af1c5=_0x48a390['cfg']['multiple']?_0x48a390['cfg']['multipleMin']:0x0,_0x12c609=_0x48a390['cfg']['multiple']?_0x48a390['cfg']['multipleMax']:0x1;if(_0x3af1c5&&_0x575f78<_0x3af1c5)return{'type':'TOO_FEW_FILES','message':_0x48a390['l10n']('files-count-limit-error-too-few',{'min':_0x3af1c5,'max':_0x12c609,'total':_0x575f78}),'payload':{'total':_0x575f78,'min':_0x3af1c5,'max':_0x12c609}};if(_0x12c609&&_0x575f78>_0x12c609)return{'type':'TOO_MANY_FILES','message':_0x48a390['l10n']('files-count-limit-error-too-many',{'min':_0x3af1c5,'max':_0x12c609,'total':_0x575f78}),'payload':{'total':_0x575f78,'min':_0x3af1c5,'max':_0x12c609}};},calcIsDesktopSafari=()=>{const _0x407aec=navigator['userAgent'];return/Macintosh|Windows/['test'](_0x407aec)&&/Version\/[\d.]+.*Safari/['test'](_0x407aec)&&!/Chrome|Chromium|Edg|OPR/['test'](_0x407aec);},calcHtmlMediaCaptureSupport=()=>'capture'in document['createElement']('input'),_0x2d36db=()=>({'safariDesktop':calcIsDesktopSafari()}),calcBrowserFeatures=()=>({'htmlMediaCapture':calcHtmlMediaCaptureSupport()}),_0x163b85=_0x2d36db(),browserFeatures=calcBrowserFeatures(),_0x17ccf8='image/*',_0x1c97b0='video/*',_0x4a5c5c=['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs'],calcImageAcceptList=()=>_0x163b85['safariDesktop']?[_0x17ccf8]:[_0x17ccf8,..._0x4a5c5c],_0x3fe053=calcImageAcceptList(),_0x6dd631=_0x317cac=>_0x317cac?_0x317cac['filter'](_0x48005a=>'string'==typeof _0x48005a)['flatMap'](_0x427fad=>stringToArray(_0x427fad)):[],matchMimeType=(_0x153e51,_0xe24e)=>_0xe24e['some'](_0x1518d6=>{if(_0x1518d6['endsWith']('*')){const _0x2b6091=_0x1518d6['replace']('*','');return _0x153e51['startsWith'](_0x2b6091);}return _0x153e51===_0x1518d6;}),matchExtension=(_0x572285,_0x4906b)=>_0x4906b['some'](_0x35df68=>!!_0x35df68['startsWith']('.')&&_0x572285['toLowerCase']()['endsWith'](_0x35df68['toLowerCase']())),_0x34c86a=_0xe2357e=>{const _0x218e4c=_0xe2357e?.['type'];return!!_0x218e4c&&matchMimeType(_0x218e4c,_0x3fe053);},validateFileType=(_0xa15c0d,_0xc4b048)=>{const _0x58f0eb=_0xc4b048['cfg']['imgOnly'],_0x540817=_0xc4b048['cfg']['accept'],_0x74ec04=_0x6dd631([..._0x58f0eb?_0x3fe053:[],_0x540817]);if(!_0x74ec04['length'])return;const _0x32f082=_0xa15c0d['mimeType'],_0x829ae6=_0xa15c0d['name'];if(!_0x32f082||!_0x829ae6)return;const _0x554581=matchMimeType(_0x32f082,_0x74ec04),_0x513fdc=matchExtension(_0x829ae6,_0x74ec04);return _0x554581||_0x513fdc?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0xc4b048['l10n']('file-type-not-allowed'),'payload':{'entry':_0xa15c0d}};},validateIsImage=(_0x5ca370,_0x306ddd)=>{const _0x417e41=_0x306ddd['cfg']['imgOnly'],_0x32a271=_0x5ca370['isImage'];if(_0x417e41&&!_0x32a271&&(_0x5ca370['fileInfo']||!_0x5ca370['externalUrl'])&&(_0x5ca370['fileInfo']||_0x5ca370['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0x306ddd['l10n']('images-only-accepted'),'payload':{'entry':_0x5ca370}};},_0xc1735a=0x3e8,ByteUnitEnum=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),_0xef4fc8=_0x3cf69c=>Math['ceil'](0x64*_0x3cf69c)/0x64,prettyBytes=(_0x42804b,_0x2d457f=ByteUnitEnum['AUTO'])=>{const _0x3ff239=_0x2d457f===ByteUnitEnum['AUTO'];if(_0x2d457f===ByteUnitEnum['BYTE']||_0x3ff239&&_0x42804b<_0xc1735a**0x1)return _0x42804b+'\x20'+('one'===getPluralForm('en-US',_0x42804b)?'byte':'bytes');return _0x2d457f===ByteUnitEnum['KB']||_0x3ff239&&_0x42804b<_0xc1735a**0x2?_0xef4fc8(_0x42804b/_0xc1735a**0x1)+'\x20KB':_0x2d457f===ByteUnitEnum['MB']||_0x3ff239&&_0x42804b<_0xc1735a**0x3?_0xef4fc8(_0x42804b/_0xc1735a**0x2)+'\x20MB':_0x2d457f===ByteUnitEnum['GB']||_0x3ff239&&_0x42804b<_0xc1735a**0x4?_0xef4fc8(_0x42804b/_0xc1735a**0x3)+'\x20GB':_0x2d457f===ByteUnitEnum['TB']||_0x3ff239&&_0x42804b<_0xc1735a**0x5?_0xef4fc8(_0x42804b/_0xc1735a**0x4)+'\x20TB':_0xef4fc8(_0x42804b/_0xc1735a**0x5)+'\x20PB';},validateMaxSizeLimit=(_0x429ef8,_0x41b4d9)=>{const _0x1ed657=_0x41b4d9['cfg']['maxLocalFileSizeBytes'],_0x41f4d3=_0x429ef8['size'];if(_0x1ed657&&_0x41f4d3&&_0x41f4d3>_0x1ed657)return{'type':'FILE_SIZE_EXCEEDED','message':_0x41b4d9['l10n']('files-max-size-limit-error',{'maxFileSize':prettyBytes(_0x1ed657)}),'payload':{'entry':_0x429ef8}};},validateUploadError=(_0x30bac8,_0x49c037)=>{const {internalId:_0x6ca904}=_0x30bac8,_0x4da929=_0x49c037['_uploadCollection']['read'](_0x6ca904),_0x388230=_0x4da929?.['getValue']('uploadError');if(!_0x388230)return;if(_0x388230 instanceof _0x6594ff)return{'type':'UPLOAD_ERROR','message':_0x388230['message'],'payload':{'entry':_0x30bac8,'error':_0x388230}};if(_0x388230 instanceof NetworkError)return{'type':'NETWORK_ERROR','message':_0x388230['message'],'payload':{'entry':_0x30bac8,'error':_0x388230}};const _0x3bb4b5=_0x388230 instanceof Error?_0x388230:new Error('Unknown\x20error',{'cause':_0x388230});return{'type':'UNKNOWN_ERROR','message':_0x3bb4b5['message'],'payload':{'entry':_0x30bac8,'error':_0x3bb4b5}};},withResolvers=()=>{let _0x3b2279=()=>{},_0x1e671d=()=>{};return{'promise':new Promise((_0x16d2d9,_0x10574b)=>{_0x3b2279=_0x16d2d9,_0x1e671d=_0x10574b;}),'resolve':_0x3b2279,'reject':_0x1e671d};},_0x5b379b={'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.'},getValidatorDescriptor=_0x583d81=>'function'==typeof _0x583d81?{'runOn':'change','validator':_0x583d81}:_0x583d81,ValidationManager=class{['_blockInstance'];['_uploadCollection'];['_commonFileValidators']=[validateIsImage,validateFileType,validateMaxSizeLimit,validateUploadError];['_commonCollectionValidators']=[validateMultiple,validateCollectionUploadError];['_queue']=new _0x56997f(0x14);['_runQueueDebounced']=_0x1a7249(()=>{this['_queue']['run']();},0x1f4);['_entryValidationState']=new Map();constructor(_0x469343){this['_blockInstance']=_0x469343,this['_uploadCollection']=this['_blockInstance']['uploadCollection'];const _0x3944af=()=>{this['runFileValidators']('change'),this['runCollectionValidators']();};this['_blockInstance']['subConfigValue']('maxLocalFileSizeBytes',_0x3944af),this['_blockInstance']['subConfigValue']('multipleMin',_0x3944af),this['_blockInstance']['subConfigValue']('multipleMax',_0x3944af),this['_blockInstance']['subConfigValue']('multiple',_0x3944af),this['_blockInstance']['subConfigValue']('imgOnly',_0x3944af),this['_blockInstance']['subConfigValue']('accept',_0x3944af),this['_blockInstance']['subConfigValue']('validationConcurrency',_0x45f534=>{this['_queue']['concurrency']=_0x45f534;});}['runFileValidators'](_0x4bd3ad,_0x155004){const _0x1ecfa5=_0x155004??this['_uploadCollection']['items']();for(const _0x5759de of _0x1ecfa5){const _0x24e925=this['_uploadCollection']['read'](_0x5759de);_0x24e925&&this['_runFileValidatorsForEntry'](_0x24e925,_0x4bd3ad);}}['runCollectionValidators'](){const _0x3b77a7=this['_blockInstance']['api']['getOutputCollectionState'](),_0x3c14ac=[];for(const _0x143732 of[...this['_commonCollectionValidators'],...this['_blockInstance']['cfg']['collectionValidators']])try{const _0x1b197b=_0x143732(_0x3b77a7,this['_blockInstance']['api']);if(!_0x1b197b)continue;_0x1b197b&&(_0x3c14ac['push'](this['_addCustomTypeToValidationError'](_0x1b197b)),_0x1b197b['message']||console['warn'](_0x5b379b['MISSING_ERROR_MESSAGE']));}catch(_0x33548f){console['warn'](_0x5b379b['COLLECTION_VALIDATION_FAILED'],_0x33548f);}this['_blockInstance']['$']['*collectionErrors']=_0x3c14ac,_0x3c14ac['length']>0x0&&this['_blockInstance']['emit'](EventType['COMMON_UPLOAD_FAILED'],()=>this['_blockInstance']['api']['getOutputCollectionState'](),{'debounce':!0x0});}['cleanupValidationForEntry'](_0x37914c){const _0x1b7952=this['_entryValidationState']['get'](_0x37914c['uid']);_0x1b7952&&(_0x1b7952['abortController']?.['abort'](),this['_entryValidationState']['delete'](_0x37914c['uid']));}async['_runFileValidatorsForEntry'](_0x4eedea,_0xa4853d){const _0x57f201=this['_getValidatorDescriptorsForEntry'](_0x4eedea,_0xa4853d);if(0x0===_0x57f201['length'])return;_0x4eedea['setMultipleValues']({'isQueuedForValidation':!0x0,'isValidationPending':!0x0});const _0x36c0a6=this['_blockInstance']['api']['getOutputItem'](_0x4eedea['uid']),_0x40e290=this['_getEntryValidationState'](_0x4eedea);_0x40e290['promise']&&await _0x40e290['promise'];const {promise:_0x46a9dc,resolve:_0x316325}=withResolvers();_0x40e290['promise']=_0x46a9dc;const _0x4bbfa9=new AbortController();_0x40e290['abortController']=_0x4bbfa9;const _0x25dac8=this['_blockInstance']['cfg']['validationTimeout'],_0x113d5a=this['_getValidatorDescriptors'](),_0x9722af=new Set(_0x57f201['map'](_0x414b5c=>_0x414b5c['validator'])),_0x5676fb=[];for(const _0x3972ba of _0x113d5a)if(!_0x9722af['has'](_0x3972ba['validator'])){const _0x5d8623=_0x40e290['lastErrorThrownByValidator']['get'](_0x3972ba['validator']);_0x5d8623&&_0x5676fb['push'](_0x5d8623);}const _0xc238f0=_0x57f201['map'](_0x12f764=>async()=>{if(!this['_blockInstance']['isConnected'])return;const _0x255d36=setTimeout(()=>{_0x40e290['skippedValidators']['add'](_0x12f764['validator']),_0x4bbfa9['abort'](),console['warn'](_0x5b379b['FILE_VALIDATION_TIMEOUT']);},_0x25dac8);try{const _0x3ffab0=await _0x12f764['validator'](_0x36c0a6,this['_blockInstance']['api'],{'signal':_0x4bbfa9['signal']});if(!_0x3ffab0||_0x4bbfa9['signal']['aborted'])return void _0x40e290['lastErrorThrownByValidator']['set'](_0x12f764['validator'],void 0x0);const _0x2d8d82=this['_addCustomTypeToValidationError'](_0x3ffab0);_0x40e290['lastErrorThrownByValidator']['set'](_0x12f764['validator'],_0x2d8d82),_0x5676fb['push'](_0x2d8d82),_0x3ffab0['message']||console['warn'](_0x5b379b['MISSING_ERROR_MESSAGE']);}catch(_0x54c20b){_0x4bbfa9['signal']['aborted']||(_0x40e290['skippedValidators']['add'](_0x12f764['validator']),console['warn'](_0x5b379b['FILE_VALIDATION_FAILED'],_0x54c20b),this['_blockInstance']['telemetryManager']['sendEventError'](_0x54c20b,'file\x20validator.\x20'+_0x5b379b['FILE_VALIDATION_FAILED']));}finally{clearTimeout(_0x255d36),'change'!==_0x12f764['runOn']&&_0x40e290['skippedValidators']['add'](_0x12f764['validator']);}});if(this['_runQueueDebounced'](),await this['_queue']['add'](async()=>{_0x4eedea['setValue']('isQueuedForValidation',!0x1),await Promise['all'](_0xc238f0['map'](_0x543591=>_0x543591()))['catch'](()=>{});},{'autoRun':!0x1}),_0x4bbfa9['signal']['aborted'])return _0x4eedea['setMultipleValues']({'isQueuedForValidation':!0x1,'isValidationPending':!0x1}),void _0x316325();_0x4eedea['setMultipleValues']({'isValidationPending':!0x1,'isQueuedForValidation':!0x1,'errors':_0x5676fb}),_0x316325();}['_addCustomTypeToValidationError'](_0x1908cd){return{..._0x1908cd,'type':_0x1908cd['type']??'CUSTOM_ERROR'};}['_getEntryValidationState'](_0x5e25c9){const _0x385da9=this['_entryValidationState']['get'](_0x5e25c9['uid']);if(_0x385da9)return _0x385da9;const _0x5c07c1={'abortController':void 0x0,'skippedValidators':new WeakSet(),'promise':void 0x0,'lastErrorThrownByValidator':new WeakMap()};return this['_entryValidationState']['set'](_0x5e25c9['uid'],_0x5c07c1),_0x5c07c1;}['_getValidatorDescriptors'](){return[...this['_commonFileValidators'],...this['_blockInstance']['cfg']['fileValidators']]['map'](getValidatorDescriptor);}['_getValidatorDescriptorsForEntry'](_0x1ba90c,_0x474b4f){const _0x3be67e=this['_getEntryValidationState'](_0x1ba90c);return this['_getValidatorDescriptors']()['filter'](_0x572927=>!_0x3be67e['skippedValidators']['has'](_0x572927['validator']))['filter'](_0x2d0e0a=>_0x2d0e0a['runOn']===_0x474b4f);}},_0x3b8271='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',_0x4be6c3='[Typed\x20State]\x20Wrong\x20property\x20type:\x20',TypedData=class{['__typedSchema'];['__ctxId'];['__schema'];['__data'];constructor(_0x3c3ce0,_0x105a52){this['__typedSchema']=_0x3c3ce0,this['__ctxId']=_0x105a52||_0x4f7a5d['generate'](),this['__schema']=Object['keys'](_0x3c3ce0)['reduce']((_0x3724cb,_0x19316d)=>(_0x3c3ce0[_0x19316d]&&(_0x3724cb[_0x19316d]=_0x3c3ce0[_0x19316d]['value']),_0x3724cb),{}),this['__data']=Data['registerCtx'](this['__schema'],this['__ctxId']);}get['uid'](){return this['__ctxId'];}['setValue'](_0x1960ce,_0x1d699b){if(!Object['hasOwn'](this['__typedSchema'],_0x1960ce)||!this['__typedSchema'][_0x1960ce])return void console['warn'](_0x3b8271+_0x1960ce);const _0x52c4e5=this['__typedSchema'][_0x1960ce],_0x470f3a=_0x1d699b?.['constructor']===_0x52c4e5['type'],_0xbdede9=_0x1d699b instanceof _0x52c4e5['type'],_0x5614c3=_0x52c4e5['nullable']&&null===_0x1d699b;_0x470f3a||_0xbdede9||_0x5614c3?this['__data']['pub'](_0x1960ce,_0x1d699b):console['warn'](_0x4be6c3+_0x1960ce);}['setMultipleValues'](_0x83544a){for(const [_0x312f7c,_0x319693]of Object['entries'](_0x83544a))this['setValue'](_0x312f7c,_0x319693);}['getValue'](_0x3542e5){return Object['hasOwn'](this['__typedSchema'],_0x3542e5)||console['warn'](_0x3b8271+_0x3542e5),this['__data']['read'](_0x3542e5);}['subscribe'](_0x393b97,_0x8187c){return this['__data']['sub'](_0x393b97,_0x8187c);}['remove'](){Data['deleteCtx'](this['__ctxId']);}},TypedCollection=class{['__typedSchema'];['__ctxId'];['__data'];['__watchList'];['__subsMap']=Object['create'](null);['__propertyObservers']=new Set();['__collectionObservers']=new Set();['__items']=new Set();['__removed']=new Set();['__added']=new Set();['__observeTimeout'];['__notifyTimeout'];['__notifyObservers'];constructor(_0x25495a){this['__typedSchema']=_0x25495a['typedSchema'],this['__ctxId']=_0x25495a['ctxName']||_0x4f7a5d['generate'](),this['__data']=Data['registerCtx']({},this['__ctxId']),this['__watchList']=_0x25495a['watchList']||[];let _0x1364e8=Object['create'](null);this['__notifyObservers']=(_0x3e3d42,_0x5f026c)=>{this['__observeTimeout']&&window['clearTimeout'](this['__observeTimeout']),_0x1364e8[_0x3e3d42]||(_0x1364e8[_0x3e3d42]=new Set()),_0x1364e8[_0x3e3d42]['add'](_0x5f026c),this['__observeTimeout']=window['setTimeout'](()=>{0x0!==Object['keys'](_0x1364e8)['length']&&(this['__propertyObservers']['forEach'](_0x245efe=>{_0x245efe({..._0x1364e8});}),_0x1364e8=Object['create'](null));});},_0x25495a['handler']&&this['observeCollection'](_0x25495a['handler']);}['notify'](){this['__notifyTimeout']&&window['clearTimeout'](this['__notifyTimeout']),this['__notifyTimeout']=window['setTimeout'](()=>{const _0x29ce9e=new Set(this['__added']),_0x47195a=new Set(this['__removed']);this['__added']['clear'](),this['__removed']['clear']();for(const _0xc69ce1 of this['__collectionObservers'])_0xc69ce1?.([...this['__items']],_0x29ce9e,_0x47195a);});}['observeCollection'](_0x30520d){return this['__collectionObservers']['add'](_0x30520d),this['__items']['size']>0x0&&this['notify'](),()=>{this['unobserveCollection'](_0x30520d);};}['unobserveCollection'](_0x19b5c8){this['__collectionObservers']['delete'](_0x19b5c8);}['add'](_0x27c75f){const _0x1d2756=new TypedData(this['__typedSchema']);for(const [_0xfbeae6,_0x195b24]of Object['entries'](_0x27c75f))void 0x0!==_0x195b24&&_0x1d2756['setValue'](_0xfbeae6,_0x195b24);return this['__items']['add'](_0x1d2756['uid']),this['notify'](),this['__data']['add'](_0x1d2756['uid'],_0x1d2756),this['__added']['add'](_0x1d2756),this['__watchList']['forEach'](_0xf8e33a=>{this['__subsMap'][_0x1d2756['uid']]||(this['__subsMap'][_0x1d2756['uid']]=[]),this['__subsMap'][_0x1d2756['uid']]?.['push'](_0x1d2756['subscribe'](_0xf8e33a,()=>{this['__notifyObservers'](_0xf8e33a,_0x1d2756['uid']);}));}),_0x1d2756['uid'];}['read'](_0x10e7bc){return this['__data']['read'](_0x10e7bc);}['readProp'](_0x13b577,_0x2b6e95){const _0x5c1beb=this['read'](_0x13b577);return _0x5c1beb?_0x5c1beb['getValue'](_0x2b6e95):(console['warn']('Item\x20with\x20id\x20'+_0x13b577+'\x20not\x20found'),null);}['publishProp'](_0x573bcd,_0x2f96d7,_0x2b0f83){const _0x350bee=this['read'](_0x573bcd);_0x350bee?_0x350bee['setValue'](_0x2f96d7,_0x2b0f83):console['warn']('Item\x20with\x20id\x20'+_0x573bcd+'\x20not\x20found');}['remove'](_0x18264f){const _0x5571bb=this['read'](_0x18264f);_0x5571bb&&this['__removed']['add'](_0x5571bb),this['__items']['delete'](_0x18264f),this['notify'](),this['__data']['pub'](_0x18264f,null),delete this['__subsMap'][_0x18264f];}['clearAll'](){this['__items']['forEach'](_0x4de5be=>{this['remove'](_0x4de5be);});}['observeProperties'](_0x27962b){return this['__propertyObservers']['add'](_0x27962b),()=>{this['unobserveProperties'](_0x27962b);};}['unobserveProperties'](_0xa043ac){this['__propertyObservers']['delete'](_0xa043ac);}['findItems'](_0x522712){const _0x54bb76=[];return this['__items']['forEach'](_0x3f553=>{const _0x16457a=this['read'](_0x3f553);_0x16457a&&_0x522712(_0x16457a)&&_0x54bb76['push'](_0x3f553);}),_0x54bb76;}['items'](){return[...this['__items']];}get['size'](){return this['__items']['size'];}['destroy'](){Data['deleteCtx'](this['__ctxId']),this['__propertyObservers']=new Set(),this['__collectionObservers']=new Set();for(const _0x4f130e in this['__subsMap'])this['__subsMap'][_0x4f130e]?.['forEach'](_0xddd2c9=>{_0xddd2c9['remove']();}),delete this['__subsMap'][_0x4f130e];}},_0x23eab8=Object['freeze']({'PHOTO':'photo','VIDEO':'video'}),CameraSourceEvents=Object['freeze']({'IDLE':'idle','SHOT':'shot','PLAY':'play','PAUSE':'pause','RESUME':'resume','STOP':'stop','RETAKE':'retake','ACCEPT':'accept'}),_0x28f059=_0x1cd9b2=>({'isVideoRecordingEnabled':_0x84d800(_0x1cd9b2['cameraModes'])['includes'](_0x23eab8['VIDEO']),'isPhotoEnabled':_0x84d800(_0x1cd9b2['cameraModes'])['includes'](_0x23eab8['PHOTO'])}),_0x177cb1=/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i,_0x363bee=new RegExp('^/?('+_0x177cb1['source']+')(?:/(-/(?:[^/]+/)+)?([^/]*))?$','i'),_0x22ae7f=({url:_0x244f99,cdnBase:_0x13eeb1})=>{const _0x475697=new URL(_0x13eeb1),_0x3b9e9c=new URL(_0x4bd21b),_0x56efa5=new URL(_0x244f99);if(_0x475697['host']!==_0x56efa5['host']&&_0x3b9e9c['host']!==_0x56efa5['host'])return null;const _0x27d5bb=_0x363bee['exec'](_0x56efa5['pathname']);if(!_0x27d5bb)return null;const [,_0x1e3d63,_0xab9014,_0x54c3e1]=_0x27d5bb;return _0x1e3d63?{'uuid':_0x1e3d63,'cdnUrlModifiers':_0xab9014||'','filename':_0x54c3e1||null}:null;};function _0x3250f7(_0x1376cb){const _0x46264a=new Map();return(..._0x5651f4)=>{const _0x5d3e65=JSON['stringify'](_0x5651f4);if(_0x46264a['has'](_0x5d3e65))return _0x46264a['get'](_0x5d3e65);const _0x23c6a5=_0x1376cb(..._0x5651f4);return _0x46264a['set'](_0x5d3e65,_0x23c6a5),_0x23c6a5;};}var _0x3472af=new Set();function _0x56929e(_0x593ee4){_0x3472af['has'](_0x593ee4)||(_0x3472af['add'](_0x593ee4),console['warn'](_0x593ee4));}function createAsyncAssertWrapper(_0x2c7901){let _0x5df79a=!0x1;return setTimeout(()=>{_0x5df79a=!0x0;},0x0),_0x4330cd=>(..._0x1bbaf1)=>(_0x5df79a&&_0x56929e(_0x2c7901),_0x4330cd(..._0x1bbaf1));}function buildOutputCollectionState(_0xdb6531){const _0x196549={},_0x2fc740={'progress':()=>_0xdb6531['$']['*commonProgress'],'errors':()=>_0xdb6531['$']['*collectionErrors'],'group':()=>_0xdb6531['$']['*groupInfo'],'totalCount':()=>_0xdb6531['uploadCollection']['size'],'failedCount':()=>_0x196549['failedEntries']['length'],'successCount':()=>_0x196549['successEntries']['length'],'uploadingCount':()=>_0x196549['uploadingEntries']['length'],'status':()=>_0x196549['isFailed']?'failed':_0x196549['isUploading']?'uploading':_0x196549['isSuccess']?'success':'idle','isSuccess':()=>_0x196549['allEntries']['length']>0x0&&0x0===_0x196549['errors']['length']&&_0x196549['successEntries']['length']===_0x196549['allEntries']['length'],'isUploading':()=>_0x196549['allEntries']['some'](_0x53e9c6=>'uploading'===_0x53e9c6['status']),'isFailed':()=>_0x196549['errors']['length']>0x0||_0x196549['failedEntries']['length']>0x0,'allEntries':()=>_0xdb6531['getOutputData'](),'successEntries':()=>_0x196549['allEntries']['filter'](_0x5078ae=>'success'===_0x5078ae['status']),'failedEntries':()=>_0x196549['allEntries']['filter'](_0xb861e4=>'failed'===_0xb861e4['status']),'uploadingEntries':()=>_0x196549['allEntries']['filter'](_0x11005b=>'uploading'===_0x11005b['status']),'idleEntries':()=>_0x196549['allEntries']['filter'](_0x3b05c1=>'idle'===_0x3b05c1['status'])},_0x3c13bf=createAsyncAssertWrapper('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(const [_0x2faf64,_0x30bc89]of Object['entries'](_0x2fc740)){const _0x41ff00=_0x2faf64,_0x20e5e3=_0x3250f7(_0x3c13bf(_0x30bc89));Object['defineProperty'](_0x196549,_0x41ff00,{'get':_0x20e5e3,'enumerable':!0x0});}return _0x196549;}var _0x162ad2=class{['_ctx'];constructor(_0x3d02dd){this['_ctx']=_0x3d02dd;}get['_uploadCollection'](){return this['_ctx']['uploadCollection'];}get['cfg'](){return this['_ctx']['cfg'];}get['l10n'](){return this['_ctx']['l10n']['bind'](this['_ctx']);}['addFileFromUrl']=(_0x19a023,{silent:_0x34bc6f,fileName:_0x1913ca,source:_0x5a7da2}={})=>{const _0x8fd7e7=this['_uploadCollection']['add']({'externalUrl':_0x19a023,'fileName':_0x1913ca??null,'silent':_0x34bc6f??!0x1,'source':_0x5a7da2??_0x464057['API']});return this['getOutputItem'](_0x8fd7e7);};['addFileFromUuid']=(_0x530703,{silent:_0x4c9261,fileName:_0x3efa96,source:_0x19feda}={})=>{const _0x285a74=this['_uploadCollection']['add']({'uuid':_0x530703,'fileName':_0x3efa96??null,'silent':_0x4c9261??!0x1,'source':_0x19feda??_0x464057['API']});return this['getOutputItem'](_0x285a74);};['addFileFromCdnUrl']=(_0x263e48,{silent:_0x2c5758,fileName:_0x3969b8,source:_0x4e4fe5}={})=>{const _0x2f6c75=_0x22ae7f({'url':_0x263e48,'cdnBase':this['cfg']['cdnCname']});if(!_0x2f6c75)throw new Error('Invalid\x20CDN\x20URL');const _0x4c3d64=this['_uploadCollection']['add']({'uuid':_0x2f6c75['uuid'],'cdnUrl':_0x263e48,'cdnUrlModifiers':_0x2f6c75['cdnUrlModifiers'],'fileName':_0x3969b8??_0x2f6c75['filename']??null,'silent':_0x2c5758??!0x1,'source':_0x4e4fe5??_0x464057['API']});return this['getOutputItem'](_0x4c3d64);};['addFileFromObject']=(_0x105dac,{silent:_0x758a52,fileName:_0x5e4bba,source:_0x37e808,fullPath:_0x4dce4f}={})=>{const _0x1cd731=this['_uploadCollection']['add']({'file':_0x105dac,'isImage':_0x34c86a(_0x105dac),'mimeType':_0x105dac['type'],'fileName':_0x5e4bba??_0x105dac['name'],'fileSize':_0x105dac['size'],'silent':_0x758a52??!0x1,'source':_0x37e808??_0x464057['API'],'fullPath':_0x4dce4f??null});return this['getOutputItem'](_0x1cd731);};['removeFileByInternalId']=_0x2c1a57=>{if(!this['_uploadCollection']['read'](_0x2c1a57))throw new Error('File\x20with\x20internalId\x20'+_0x2c1a57+'\x20not\x20found');this['_uploadCollection']['remove'](_0x2c1a57);};['removeAllFiles'](){this['_uploadCollection']['clearAll']();}['uploadAll']=()=>{const _0x3784ca=this['_uploadCollection']['items']()['filter'](_0x43a395=>{const _0x559249=this['_uploadCollection']['read'](_0x43a395);return!!_0x559249&&!(_0x559249['getValue']('isRemoved')||_0x559249['getValue']('isUploading')||_0x559249['getValue']('fileInfo')||0x0!==_0x559249['getValue']('errors')['length']||_0x559249['getValue']('isValidationPending')||_0x559249['getValue']('isQueuedForValidation'));});0x0!==_0x3784ca['length']&&(this['_ctx']['$']['*uploadTrigger']=new Set(_0x3784ca),this['_ctx']['emit'](EventType['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));};['openSystemDialog']=(_0x51fc3d={})=>{const _0x46561b=_0x2c3d3c(_0x6dd631([this['cfg']['accept']??'',...this['cfg']['imgOnly']?_0x3fe053:[]])),_0x19e7a0='uploadcare-file-input',_0x220817=document['createElement']('input');if(_0x220817['setAttribute'](_0x19e7a0,''),applyStyles(_0x220817,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0x220817['type']='file',_0x220817['multiple']=this['cfg']['multiple'],_0x51fc3d['captureCamera']){_0x220817['capture']=this['cfg']['cameraCapture'];const {isPhotoEnabled:_0x2a251c,isVideoRecordingEnabled:_0x58d54a}=_0x28f059(this['cfg']);_0x51fc3d['modeCamera']===_0x23eab8['PHOTO']&&_0x2a251c?_0x220817['accept']=_0x17ccf8:_0x51fc3d['modeCamera']===_0x23eab8['VIDEO']&&_0x58d54a?_0x220817['accept']=_0x1c97b0:_0x220817['accept']=[_0x17ccf8,_0x58d54a&&_0x1c97b0]['filter'](Boolean)['join'](',');}else _0x220817['accept']=_0x46561b;_0x220817['addEventListener']('change',()=>{_0x220817['files']&&([..._0x220817['files']]['forEach'](_0x3fc203=>{this['addFileFromObject'](_0x3fc203,{'source':_0x51fc3d['captureCamera']?_0x464057['CAMERA']:_0x464057['LOCAL']});}),this['_ctx']['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['_ctx']['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],_0x220817['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x19e7a0+']')['forEach'](_0x551927=>{_0x551927['remove']();}),document['body']['appendChild'](_0x220817),_0x220817['dispatchEvent'](new MouseEvent('click'));};['getOutputItem'](_0x2f8a13){const _0x1ede53=Data['getCtx'](_0x2f8a13)['store'],_0x20ca87=_0x1ede53['fileInfo'],_0x82277d=_0x1ede53['isRemoved']?'removed':_0x1ede53['errors']['length']>0x0?'failed':_0x1ede53['fileInfo']?'success':_0x1ede53['isUploading']?'uploading':'idle';return{'uuid':_0x20ca87?.['uuid']??_0x1ede53['uuid']??null,'internalId':_0x2f8a13,'name':_0x20ca87?.['originalFilename']??_0x1ede53['fileName'],'size':_0x20ca87?.['size']??_0x1ede53['fileSize'],'isImage':_0x20ca87?.['isImage']??_0x1ede53['isImage'],'mimeType':_0x20ca87?.['mimeType']??_0x1ede53['mimeType'],'file':_0x1ede53['file'],'externalUrl':_0x1ede53['externalUrl'],'cdnUrlModifiers':_0x1ede53['cdnUrlModifiers'],'cdnUrl':_0x1ede53['cdnUrl']??_0x20ca87?.['cdnUrl']??null,'fullPath':_0x1ede53['fullPath'],'uploadProgress':_0x1ede53['uploadProgress'],'fileInfo':_0x20ca87??null,'metadata':_0x1ede53['metadata']??_0x20ca87?.['metadata']??null,'isSuccess':'success'===_0x82277d,'isUploading':'uploading'===_0x82277d,'isFailed':'failed'===_0x82277d,'isRemoved':'removed'===_0x82277d,'isValidationPending':_0x1ede53['isValidationPending'],'errors':_0x1ede53['errors'],'status':_0x82277d,'source':_0x1ede53?.['source']};}['getOutputCollectionState'](){return buildOutputCollectionState(this['_ctx']);}['initFlow']=(_0x3fea44=!0x1)=>{if(this['_uploadCollection']['size']>0x0&&!_0x3fea44)this['_ctx']['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['_ctx']['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']});else{if(0x1===this['_sourceList']?.['length']){const _0x730a93=this['_sourceList'][0x0];if('local'===_0x730a93)return this['_ctx']['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],void this['openSystemDialog']();if('camera'===_0x730a93&&browserFeatures['htmlMediaCapture']){const {isPhotoEnabled:_0x560a6a,isVideoRecordingEnabled:_0x291af4}=_0x28f059(this['cfg']);if(_0x560a6a&&_0x291af4)return void this['_ctx']['set$']({'*currentActivity':ActivityBlock['activities']['START_FROM']});if(_0x560a6a||_0x291af4)return void this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0x560a6a?_0x23eab8['PHOTO']:_0x23eab8['VIDEO']});this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0x23eab8['PHOTO']});}const _0x5a08f1=[...this['_ctx']['$']['*blocksRegistry']]['find'](_0x12f5cb=>'type'in _0x12f5cb&&_0x12f5cb['type']===_0x730a93);_0x5a08f1?.['activate'](),this['_ctx']['$']['*currentActivity']&&this['_ctx']['modalManager']?.['open'](this['_ctx']['$']['*currentActivity']);}else this['_ctx']['modalManager']?.['open'](ActivityBlock['activities']['START_FROM']),this['_ctx']['set$']({'*currentActivity':ActivityBlock['activities']['START_FROM']});}};['doneFlow']=()=>{this['_ctx']['set$']({'*currentActivity':this['_ctx']['doneActivity'],'*history':this['_ctx']['doneActivity']?[this['_ctx']['doneActivity']]:[]}),this['_ctx']['$']['*currentActivity']||this['_ctx']['modalManager']?.['closeAll']();};['setCurrentActivity']=(_0x3ac95a,..._0x5b4a49)=>{this['_ctx']['hasBlockInCtx'](_0x3eb177=>_0x3eb177['activityType']===_0x3ac95a)?this['_ctx']['set$']({'*currentActivityParams':_0x5b4a49??{},'*currentActivity':_0x3ac95a}):console['warn']('Activity\x20type\x20\x22'+_0x3ac95a+'\x22\x20not\x20found\x20in\x20the\x20context');};['getCurrentActivity']=()=>this['_ctx']['$']['*currentActivity'];['setModalState']=_0x429f25=>{!_0x429f25||this['_ctx']['$']['*currentActivity']?_0x429f25?this['_ctx']['modalManager']?.['open'](this['_ctx']['$']['*currentActivity']):(this['_ctx']['modalManager']?.['close'](this['_ctx']['$']['*currentActivity']),this['_ctx']['$']['*currentActivity']=null):console['warn']('Can\x27t\x20open\x20modal\x20without\x20current\x20activity.\x20Please\x20use\x20\x22setCurrentActivity\x22\x20method\x20first.');};get['_sourceList'](){let _0x5a34c5=[];return this['cfg']['sourceList']&&(_0x5a34c5=stringToArray(this['cfg']['sourceList'])),_0x5a34c5;}},uploadEntrySchema=Object['freeze']({'file':Object['freeze']({'type':File,'value':null,'nullable':!0x0}),'externalUrl':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'fileName':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'fileSize':Object['freeze']({'type':Number,'value':null,'nullable':!0x0}),'lastModified':Object['freeze']({'type':Number,'value':Date['now']()}),'uploadProgress':Object['freeze']({'type':Number,'value':0x0}),'uuid':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'isImage':Object['freeze']({'type':Boolean,'value':!0x1}),'mimeType':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'ctxName':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'cdnUrl':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'cdnUrlModifiers':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'fileInfo':Object['freeze']({'type':_0x2b94a1,'value':null,'nullable':!0x0}),'isUploading':Object['freeze']({'type':Boolean,'value':!0x1}),'abortController':Object['freeze']({'type':AbortController,'value':null,'nullable':!0x0}),'thumbUrl':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'silent':Object['freeze']({'type':Boolean,'value':!0x1}),'source':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'fullPath':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'metadata':Object['freeze']({'type':Object,'value':null,'nullable':!0x0}),'errors':Object['freeze']({'type':Array,'value':[]}),'uploadError':Object['freeze']({'type':Error,'value':null,'nullable':!0x0}),'isRemoved':Object['freeze']({'type':Boolean,'value':!0x1}),'isQueuedForUploading':Object['freeze']({'type':Boolean,'value':!0x1}),'isValidationPending':Object['freeze']({'type':Boolean,'value':!0x1}),'isQueuedForValidation':Object['freeze']({'type':Boolean,'value':!0x1})}),_0x3600a4=class _0x170f7a extends ActivityBlock{static ['extSrcList'];static ['sourceTypes'];['couldBeCtxOwner']=!0x1;['isCtxOwner']=!0x1;['_unobserveCollection'];['_unobserveCollectionProperties'];['init$']=uploaderBlockCtx(this);get['hasCtxOwner'](){return this['hasBlockInCtx'](_0x562df5=>_0x562df5 instanceof _0x170f7a&&(_0x562df5['isCtxOwner']&&_0x562df5['isConnected']&&_0x562df5!==this));}['initCallback'](){if(super['initCallback'](),!this['has']('*uploadCollection')){const _0x5877d6=new TypedCollection({'typedSchema':uploadEntrySchema,'watchList':['uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading','isValidationPending']});this['add']('*uploadCollection',_0x5877d6);}this['has']('*publicApi')||this['add']('*publicApi',new _0x162ad2(this)),this['has']('*validationManager')||this['add']('*validationManager',new ValidationManager(this)),!this['hasCtxOwner']&&this['couldBeCtxOwner']&&this['_initCtxOwner']();}get['validationManager'](){if(!this['has']('*validationManager'))throw new Error('Unexpected\x20error:\x20ValidationManager\x20is\x20not\x20initialized');return this['$']['*validationManager'];}get['api'](){if(!this['has']('*publicApi'))throw new Error('Unexpected\x20error:\x20UploaderPublicApi\x20is\x20not\x20initialized');return this['$']['*publicApi'];}['getAPI'](){return this['api'];}get['uploadCollection'](){if(!this['has']('*uploadCollection'))throw new Error('Unexpected\x20error:\x20TypedCollection\x20is\x20not\x20initialized');return this['$']['*uploadCollection'];}['destroyCtxCallback'](){this['uploadCollection']['destroy'](),this['$']['*uploadCollection']=null,super['destroyCtxCallback']();}['disconnectedCallback'](){super['disconnectedCallback'](),this['isCtxOwner']&&this['_unobserveUploadCollection']();}['connectedCallback'](){super['connectedCallback'](),this['isCtxOwner']&&this['_observeUploadCollection']();}['destroyCallback'](){super['destroyCallback'](),this['_flushOutputItems']['cancel']();}['_initCtxOwner'](){this['isCtxOwner']=!0x0,this['_observeUploadCollection'](),this['subConfigValue']('maxConcurrentRequests',_0x3018a1=>{this['$']['*uploadQueue']['concurrency']=Number(_0x3018a1)||0x1;}),this['$']['*secureUploadsManager']||(this['$']['*secureUploadsManager']=new _0x27552d(this));}['_observeUploadCollection'](){this['_unobserveUploadCollection'](),this['_unobserveCollection']=this['uploadCollection']['observeCollection'](this['_handleCollectionUpdate']),this['_unobserveCollectionProperties']=this['uploadCollection']['observeProperties'](this['_handleCollectionPropertiesUpdate']);}['_unobserveUploadCollection'](){this['_unobserveCollectionProperties']?.(),this['_unobserveCollection']?.(),this['_unobserveCollectionProperties']=void 0x0,this['_unobserveCollection']=void 0x0;}async['_createGroup'](_0x401d88){const _0x4c412f=await this['getUploadClientOptions'](),_0x21e421=_0x401d88['allEntries']['map'](_0x459819=>_0x459819['uuid']+(_0x459819['cdnUrlModifiers']?'/'+_0x459819['cdnUrlModifiers']:'')),_0x2f3a9a=new AbortController(),_0x155c19=await _0x2d6564(_0x21e421,{..._0x4c412f,'signal':_0x2f3a9a['signal']});if(this['$']['*collectionState']!==_0x401d88)return void _0x2f3a9a['abort']();this['$']['*groupInfo']=_0x155c19;const _0x3dd455=this['api']['getOutputCollectionState']();this['emit'](EventType['GROUP_CREATED'],_0x3dd455),this['emit'](EventType['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x3dd455;}['_flushOutputItems']=_0x1a7249(async()=>{if(this['getOutputData']()['length']!==this['uploadCollection']['size'])return;const e=this['api']['getOutputCollectionState']();this['$']['*collectionState']=e,this['emit'](EventType['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['cfg']['groupOutput']&&e['totalCount']>0x0&&'success'===e['status']&&this['_createGroup'](e);},0x12c);['_handleCollectionUpdate']=(_0x34634d,_0x1f0485,_0x4f0e8c)=>{(_0x1f0485['size']||_0x4f0e8c['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators']('add',[..._0x1f0485]['map'](_0x447e60=>_0x447e60['uid']));for(const _0x5e42c2 of _0x1f0485)_0x5e42c2['getValue']('silent')||this['emit'](EventType['FILE_ADDED'],this['api']['getOutputItem'](_0x5e42c2['uid']));this['validationManager']['runCollectionValidators']();for(const _0x4e0d4f of _0x4f0e8c){this['$']['*uploadTrigger']['delete'](_0x4e0d4f['uid']),this['validationManager']['cleanupValidationForEntry'](_0x4e0d4f),_0x4e0d4f['getValue']('abortController')?.['abort'](),_0x4e0d4f['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});const _0x23ece2=_0x4e0d4f?.['getValue']('thumbUrl');_0x23ece2&&URL['revokeObjectURL'](_0x23ece2),this['emit'](EventType['FILE_REMOVED'],this['api']['getOutputItem'](_0x4e0d4f['uid']));}this['$']['*uploadList']=_0x34634d['map'](_0x49665d=>({'uid':_0x49665d})),this['_flushCommonUploadProgress'](),this['_flushOutputItems']();};['_handleCollectionPropertiesUpdate']=_0x1864ea=>{this['_flushOutputItems']();const _0x21dce0=this['uploadCollection'],_0x34059b=[...new Set(Object['entries'](_0x1864ea)['filter'](([_0x213620])=>['uploadError','fileInfo','cdnUrl','cdnUrlModifiers']['includes'](_0x213620))['flatMap'](([,_0x31bde3])=>[..._0x31bde3]))];if(_0x34059b['length']>0x0&&setTimeout(()=>{const _0x29a920=_0x34059b['filter'](_0x1efa8a=>_0x1864ea['fileInfo']?.['has'](_0x1efa8a)&&!!Data['getCtx'](_0x1efa8a)['store']['fileInfo']);_0x29a920['length']>0x0&&this['validationManager']['runFileValidators']('upload',_0x29a920),this['validationManager']['runFileValidators']('change',_0x34059b);}),_0x1864ea['uploadProgress']){for(const _0x579801 of _0x1864ea['uploadProgress']){const {isUploading:_0x141d0f,silent:_0x49d404}=Data['getCtx'](_0x579801)['store'];_0x141d0f&&!_0x49d404&&this['emit'](EventType['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0x579801));}this['_flushCommonUploadProgress']();}if(_0x1864ea['isUploading'])for(const _0x311645 of _0x1864ea['isUploading']){const {isUploading:_0x23255a,silent:_0x14755c}=Data['getCtx'](_0x311645)['store'];_0x23255a&&!_0x14755c&&this['emit'](EventType['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x311645));}if(_0x1864ea['fileInfo']){for(const _0x17f10d of _0x1864ea['fileInfo']){const {fileInfo:_0x447fe4,silent:_0x5640a2}=Data['getCtx'](_0x17f10d)['store'];_0x447fe4&&!_0x5640a2&&this['emit'](EventType['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0x17f10d));}this['cfg']['cropPreset']&&this['setInitialCrop'](),this['cfg']['cloudImageEditorAutoOpen']&&this['openCloudImageEditor']();}if(_0x1864ea['errors']){this['validationManager']['runCollectionValidators']();for(const _0x3dbd8b of _0x1864ea['errors']){const {errors:_0xff4640}=Data['getCtx'](_0x3dbd8b)['store'];_0xff4640['length']>0x0&&(this['emit'](EventType['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x3dbd8b)),this['emit'](EventType['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}const _0x247821=_0x21dce0['findItems'](_0x5f0fb0=>!!_0x5f0fb0['getValue']('fileInfo')),_0x25e50a=_0x21dce0['findItems'](_0x2a6f98=>_0x2a6f98['getValue']('errors')['length']>0x0);_0x21dce0['size']>0x0&&0x0===_0x25e50a['length']&&_0x21dce0['size']===_0x247821['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](EventType['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}_0x1864ea['cdnUrl']&&([..._0x1864ea['cdnUrl']]['filter'](_0x42a4c1=>!!this['uploadCollection']['read'](_0x42a4c1)?.['getValue']('cdnUrl'))['forEach'](_0x45031d=>{this['emit'](EventType['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x45031d));}),this['$']['*groupInfo']=null);};['_flushCommonUploadProgress']=()=>{let _0x20fc5d=0x0;const _0x268553=[...this['$']['*uploadTrigger']]['filter'](_0x26ef61=>!!this['uploadCollection']['read'](_0x26ef61));_0x268553['forEach'](_0x486f6b=>{const _0x5aec6e=this['uploadCollection']['readProp'](_0x486f6b,'uploadProgress');'number'==typeof _0x5aec6e&&(_0x20fc5d+=_0x5aec6e);});const _0x2c9f18=_0x268553['length']?Math['round'](_0x20fc5d/_0x268553['length']):0x0;this['$']['*commonProgress']!==_0x2c9f18&&(this['$']['*commonProgress']=_0x2c9f18,this['emit'](EventType['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};['openCloudImageEditor'](){const [_0x399989]=this['uploadCollection']['findItems'](_0x479c53=>!!_0x479c53['getValue']('fileInfo')&&_0x479c53['getValue']('isImage'))['map'](_0x68f651=>this['uploadCollection']['read'](_0x68f651));_0x399989&&0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x4c086f=>_0x4c086f['activityType']===ActivityBlock['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x399989['uid']},this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](ActivityBlock['activities']['CLOUD_IMG_EDIT']));}['setInitialCrop'](){const _0x178d22=parseCropPreset(this['cfg']['cropPreset']);if(_0x178d22){const [_0x3a1c13]=_0x178d22,_0x2ab63c=this['uploadCollection']['findItems'](_0x59f441=>!!_0x59f441['getValue']('fileInfo')&&_0x59f441['getValue']('isImage')&&!_0x59f441['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x39d801=>this['uploadCollection']['read'](_0x39d801))['filter'](Boolean);for(const _0x38e7ef of _0x2ab63c){const _0x5d2064=_0x38e7ef['getValue']('fileInfo');if(!_0x5d2064||!_0x5d2064['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0x38e7ef['uid']);continue;}const {width:_0x466761,height:_0x590f8b}=_0x5d2064['imageInfo'],_0x2d8c24=calculateMaxCenteredCropFrame(_0x466761,_0x590f8b,'number'==typeof _0x3a1c13?.['width']&&'number'==typeof _0x3a1c13?.['height']&&_0x3a1c13['width']>0x0&&_0x3a1c13['height']>0x0?_0x3a1c13['width']/_0x3a1c13['height']:0x1),_0x40d59d=createCdnUrlModifiers('crop/'+_0x2d8c24['width']+'x'+_0x2d8c24['height']+'/'+_0x2d8c24['x']+','+_0x2d8c24['y'],'preview'),_0x417d7a=_0x38e7ef['getValue']('cdnUrl');_0x417d7a?(_0x38e7ef['setMultipleValues']({'cdnUrlModifiers':_0x40d59d,'cdnUrl':createCdnUrl(_0x417d7a,_0x40d59d)}),0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x117a5b=>_0x117a5b['activityType']===ActivityBlock['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x38e7ef['uid']},this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](ActivityBlock['activities']['CLOUD_IMG_EDIT']))):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0x38e7ef['uid']);}}}async['getMetadataFor'](_0x5d4ca6){const _0x360a1f=this['cfg']['metadata']||void 0x0;if('function'==typeof _0x360a1f){const _0x9d904a=this['api']['getOutputItem'](_0x5d4ca6);return await _0x360a1f(_0x9d904a);}return _0x360a1f;}async['getUploadClientOptions'](){const _0x3214a5=this['$']['*secureUploadsManager'],_0x448b11=await _0x3214a5['getSecureToken']()['catch'](()=>null);return{'store':this['cfg']['store'],'publicKey':this['cfg']['pubkey'],'baseCDN':this['cfg']['cdnCname'],'baseURL':this['cfg']['baseUrl'],'userAgent':customUserAgent,'integration':this['cfg']['userAgentIntegration'],'secureSignature':_0x448b11?.['secureSignature'],'secureExpire':_0x448b11?.['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 this['uploadCollection']['items']()['map'](_0x1c9d2e=>this['api']['getOutputItem'](_0x1c9d2e));}};_0x3600a4['extSrcList']=Object['freeze']({...ExternalUploadSource}),_0x3600a4['sourceTypes']=Object['freeze']({..._0x464057});var ActivityHeader=class extends ActivityBlock{},_0x499efc=()=>void 0x0!==navigator['permissions'],_0x5d1dad={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},_0xe950b=['camera','microphone'];function formatTime(_0x32f8e8){return Math['floor'](_0x32f8e8/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x32f8e8%0x3c)['toString']()['padStart'](0x2,'0');}var _0x43cbc7='image/jpeg',_0x22b536='video/webm',_0x43d76b=class extends _0x3600a4{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['CAMERA'];['_unsubPermissions']=null;['_capturing']=!0x1;['_chunks']=[];['_mediaRecorder']=null;['_stream']=null;['_selectedAudioId']=null;['_selectedCameraId']=null;['_activeTab']=null;['_options']={};['_canvas']=null;['_ctx']=null;['_cameraDevices']=[];['_audioDevices']=[];['_permissionResponses']={};constructor(){super(),this['init$']={...this['init$'],'video':null,'videoTransformCss':null,'videoHidden':!0x0,'messageHidden':!0x0,'requestBtnHidden':_0x499efc(),'cameraSelectOptions':null,'cameraSelectHidden':!0x0,'l10nMessage':'','switcher':null,'panels':null,'timer':null,'timerHidden':!0x0,'cameraHidden':!0x0,'cameraActionsHidden':!0x0,'audioSelectOptions':null,'audioSelectHidden':!0x0,'audioSelectDisabled':!0x0,'audioToggleMicrophoneHidden':!0x0,'tabCameraHidden':!0x0,'tabVideoHidden':!0x0,'currentIcon':'camera-full','currentTimelineIcon':'play','toggleMicrophoneIcon':'microphone','_startTime':0x0,'_elapsedTime':0x0,'_animationFrameId':null,'mutableClassButton':'uc-shot-btn\x20uc-camera-action','onCameraSelectChange':_0x372e66=>{const _0x4de1fa=_0x372e66['target'];_0x4de1fa&&(this['_selectedCameraId']=_0x4de1fa['value'],this['_capture']());},'onAudioSelectChange':_0x235d89=>{const _0x557176=_0x235d89['target'];_0x557176&&(this['_selectedAudioId']=_0x557176['value'],this['_capture']());},'onCancel':()=>{this['historyBack']();},'onShot':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'shot-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_shot']();},'onRequestPermissions':()=>this['_capture'](),'onStartCamera':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'start-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_chooseActionWithCamera']();},'onStartRecording':()=>this['_startRecording'](),'onStopRecording':()=>this['_stopRecording'](),'onToggleRecording':()=>this['_toggleRecording'](),'onToggleAudio':()=>this['_toggleEnableAudio'](),'onRetake':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'retake-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_retake']();},'onAccept':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'accept-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_accept']();},'onClickTab':_0x415ec7=>{const _0x6c9aa4=_0x415ec7['currentTarget'],_0x461c24=_0x6c9aa4?.['getAttribute']('data-id');_0x461c24&&this['_handleActiveTab'](_0x461c24);}};}['_chooseActionWithCamera']=()=>{if(this['_activeTab']===_0x23eab8['PHOTO']&&this['_shot'](),this['_activeTab']===_0x23eab8['VIDEO']){if('recording'===this['_mediaRecorder']?.['state'])return void this['_stopRecording']();this['_startRecording']();}};['_updateTimer']=()=>{const _0x58c975=Math['floor']((performance['now']()-this['$']['_startTime']+this['$']['_elapsedTime'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){const _0x4608c8=this['cfg']['maxVideoRecordingDuration']-_0x58c975;if(_0x4608c8<=0x0){const _0x1b9959=this['ref']['timer'];return _0x1b9959&&(_0x1b9959['textContent']=formatTime(_0x4608c8)),void this['_stopRecording']();}const _0x5003a3=this['ref']['timer'];_0x5003a3&&(_0x5003a3['textContent']=formatTime(_0x4608c8));}else{const _0x4d794f=this['ref']['timer'];_0x4d794f&&(_0x4d794f['textContent']=formatTime(_0x58c975));}this['_animationFrameId']=requestAnimationFrame(this['_updateTimer']);};['_startTimer']=()=>{this['$']['_startTime']=performance['now'](),this['$']['_elapsedTime']=0x0,this['_updateTimer']();};['_stopTimer']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_startTimeline']=()=>{const _0x48573e=this['ref']['video'];if(!_0x48573e)return;const _0xea3ad5=_0x48573e['currentTime'],_0x1ba10f=_0x48573e['duration']||0x1,_0x314332=this['ref']['line'];_0x314332&&(_0x314332['style']['transform']='scaleX('+_0xea3ad5/_0x1ba10f+')');const _0x59d68f=this['ref']['timer'];_0x59d68f&&(_0x59d68f['textContent']=formatTime(_0xea3ad5)),this['_animationFrameId']=requestAnimationFrame(this['_startTimeline']);};['_stopTimeline']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_animationFrameId']=null;['_startRecording']=()=>{try{this['_chunks']=[],this['_options']={...this['cfg']['mediaRecorderOptions']};const {mimeType:_0x28f21a}=this['cfg']['mediaRecorderOptions']||{};_0x28f21a&&MediaRecorder['isTypeSupported'](_0x28f21a)?this['_options']['mimeType']=_0x28f21a:MediaRecorder['isTypeSupported'](_0x22b536)?this['_options']['mimeType']=_0x22b536:this['_options']['mimeType']='video/mp4',this['_stream']&&(this['_mediaRecorder']=new MediaRecorder(this['_stream'],this['_options']),this['_mediaRecorder']['start'](),this['_mediaRecorder']['addEventListener']('dataavailable',_0x25f8a6=>{this['_chunks']['push'](_0x25f8a6['data']);}),this['_startTimer'](),this['classList']['add']('uc-recording'),this['_setCameraState'](CameraSourceEvents['PLAY']));}catch(_0x175f92){console['error']('Failed\x20to\x20start\x20recording',_0x175f92),this['telemetryManager']['sendEventError'](_0x175f92,'camera\x20recording.\x20Failed\x20to\x20start\x20recording');}};['_stopRecording']=()=>{this['_mediaRecorder']?.['addEventListener']('stop',()=>{this['_previewVideo'](),this['_stopTimer'](),this['_setCameraState'](CameraSourceEvents['STOP']);}),this['_mediaRecorder']?.['stop'](),this['classList']['remove']('uc-recording'),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'stop-camera','node':this['tagName'],'tabId':this['_activeTab']}}});};['_toggleRecording']=()=>{'recording'!==this['_mediaRecorder']?.['state']&&(!this['ref']['video']['paused']&&!this['ref']['video']['ended']&&this['ref']['video']['readyState']>0x2?this['ref']['video']['pause']():this['ref']['video']['paused']&&this['ref']['video']['play']());};['_toggleEnableAudio']=()=>{this['_stream']?.['getAudioTracks']()['forEach'](_0x48eede=>{_0x48eede['enabled']=!_0x48eede['enabled'],this['$']['toggleMicrophoneIcon']=_0x48eede['enabled']?'microphone':'microphone-mute',this['$']['audioSelectDisabled']=!_0x48eede['enabled'];});};['_previewVideo']=()=>{try{const _0x5a26ab=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x193285=URL['createObjectURL'](_0x5a26ab),_0x22ab2d=this['ref']['video'];if(!_0x22ab2d)return;_0x22ab2d['muted']=!0x1,_0x22ab2d['volume']=0x1,this['$']['video']=null,_0x22ab2d['src']=_0x193285,_0x22ab2d['addEventListener']('play',()=>{this['_startTimeline'](),this['set$']({'currentTimelineIcon':'pause'});}),_0x22ab2d['addEventListener']('pause',()=>{this['set$']({'currentTimelineIcon':'play'}),this['_stopTimeline']();});}catch(_0xba84){console['error']('Failed\x20to\x20preview\x20video',_0xba84),this['telemetryManager']['sendEventError'](_0xba84,'camera\x20previewing.\x20Failed\x20to\x20preview\x20video');}};['_retake']=()=>{if(this['_setCameraState'](CameraSourceEvents['RETAKE']),this['_activeTab']===_0x23eab8['VIDEO']){this['$']['video']=this['_stream'];const _0x340630=this['ref']['video'];_0x340630&&(_0x340630['muted']=!0x0);}this['ref']['video']?.['play']?.();};['_accept']=()=>{if(this['_setCameraState'](CameraSourceEvents['ACCEPT']),this['_activeTab']===_0x23eab8['PHOTO'])return void this['_canvas']?.['toBlob'](_0xe6c96e=>{if(!_0xe6c96e)return;const _0x403091=this['_createFile']('camera','jpeg',_0x43cbc7,_0xe6c96e);this['_toSend'](_0x403091);},_0x43cbc7);const _0x158af6=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x3f8f06=this['_guessExtensionByMime'](this['_mediaRecorder']?.['mimeType']),_0x5d7cdf=this['_createFile']('video',_0x3f8f06,'video/'+_0x3f8f06,_0x158af6);this['_toSend'](_0x5d7cdf),this['_chunks']=[];};['_handlePhoto']=_0x2c9771=>{_0x2c9771===CameraSourceEvents['SHOT']&&this['set$']({'tabVideoHidden':!0x0,'cameraHidden':!0x0,'tabCameraHidden':!0x0,'cameraActionsHidden':!0x1,'cameraSelectHidden':!0x0}),_0x2c9771!==CameraSourceEvents['RETAKE']&&_0x2c9771!==CameraSourceEvents['ACCEPT']||this['set$']({'tabVideoHidden':!this['_cameraModes']['includes'](_0x23eab8['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](_0x23eab8['PHOTO']),'cameraHidden':!0x1,'cameraActionsHidden':!0x0,'cameraSelectHidden':this['_cameraDevices']['length']<=0x1});};['_handleVideo']=_0x2a22cc=>{_0x2a22cc===CameraSourceEvents['PLAY']&&this['set$']({'timerHidden':!0x1,'tabCameraHidden':!0x0,'cameraSelectHidden':!0x0,'audioSelectHidden':!0x0,'currentTimelineIcon':'pause','currentIcon':'square','mutableClassButton':'uc-shot-btn\x20uc-camera-action\x20uc-stop-record'}),_0x2a22cc===CameraSourceEvents['STOP']&&this['set$']({'timerHidden':!0x1,'cameraHidden':!0x0,'audioToggleMicrophoneHidden':!0x0,'cameraActionsHidden':!0x1}),_0x2a22cc!==CameraSourceEvents['RETAKE']&&_0x2a22cc!==CameraSourceEvents['ACCEPT']||this['set$']({'timerHidden':!0x0,'tabVideoHidden':!this['_cameraModes']['includes'](_0x23eab8['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](_0x23eab8['PHOTO']),'cameraHidden':!0x1,'cameraActionsHidden':!0x0,'audioToggleMicrophoneHidden':!this['cfg']['enableAudioRecording'],'currentIcon':'video-camera-full','mutableClassButton':'uc-shot-btn\x20uc-camera-action','audioSelectHidden':!this['cfg']['enableAudioRecording']||this['_audioDevices']['length']<=0x1,'cameraSelectHidden':this['_cameraDevices']['length']<=0x1});};['_setCameraState']=_0x4e7dab=>{this['_activeTab']!==_0x23eab8['PHOTO']||'shot'!==_0x4e7dab&&'retake'!==_0x4e7dab&&'accept'!==_0x4e7dab||this['_handlePhoto'](_0x4e7dab),this['_activeTab']!==_0x23eab8['VIDEO']||'play'!==_0x4e7dab&&'stop'!==_0x4e7dab&&'retake'!==_0x4e7dab&&'accept'!==_0x4e7dab&&'pause'!==_0x4e7dab&&'resume'!==_0x4e7dab||this['_handleVideo'](_0x4e7dab);};['_shot'](){if(this['_setCameraState']('shot'),this['_canvas']=document['createElement']('canvas'),this['_ctx']=this['_canvas']['getContext']('2d'),!this['_ctx'])throw new Error('Failed\x20to\x20get\x20canvas\x20context');this['_canvas']['height']=this['ref']['video']['videoHeight'],this['_canvas']['width']=this['ref']['video']['videoWidth'],this['cfg']['cameraMirror']&&(this['_ctx']['translate'](this['_canvas']['width'],0x0),this['_ctx']['scale'](-0x1,0x1)),this['_ctx']['drawImage'](this['ref']['video'],0x0,0x0),this['ref']['video']['pause']();}['_handleActiveTab']=_0x22af03=>{const _0x498a17=this['ref']['switcher'];_0x498a17?.['querySelectorAll']('button')['forEach'](_0x58c8d8=>{_0x58c8d8['classList']['toggle']('uc-active',_0x58c8d8['getAttribute']('data-id')===_0x22af03);}),_0x22af03===_0x23eab8['PHOTO']&&this['set$']({'currentIcon':'camera-full','audioSelectHidden':!0x0,'audioToggleMicrophoneHidden':!0x0}),_0x22af03===_0x23eab8['VIDEO']&&this['set$']({'currentTimelineIcon':'play','currentIcon':'video-camera-full','audioSelectHidden':!this['cfg']['enableAudioRecording']||this['_audioDevices']['length']<=0x1,'audioToggleMicrophoneHidden':!this['cfg']['enableAudioRecording']}),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'camera-tab-switch','node':this['tagName'],'tabId':_0x22af03}}}),this['_activeTab']=_0x22af03;};['_createFile']=(_0x50a132,_0x2b484e,_0x5e462c,_0x21c638)=>{const _0x43b84b=Date['now']();return new File([_0x21c638],_0x50a132+'-'+_0x43b84b+'.'+_0x2b484e,{'lastModified':_0x43b84b,'type':_0x5e462c});};['_guessExtensionByMime'](_0x1fff46){const _0x2c9fac={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===_0x1fff46)return'webm';if(_0x1fff46){const _0x4b15fe=_0x1fff46['split']('/');if('video'===_0x4b15fe?.[0x0]){const _0x325b0e=_0x4b15fe['slice'](0x1)['join']('/'),_0x561a0f=_0x325b0e?.['split'](';')[0x0];if(_0x561a0f&&_0x2c9fac[_0x561a0f])return _0x2c9fac[_0x561a0f];}}return'avi';}['_toSend']=_0x45e55c=>{this['api']['addFileFromObject'](_0x45e55c,{'source':_0x464057['CAMERA']}),this['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']);};get['_cameraModes'](){return stringToArray(this['cfg']['cameraModes'])['filter'](_0x31ba7b=>_0x31ba7b===_0x23eab8['PHOTO']||_0x31ba7b===_0x23eab8['VIDEO']);}['_setPermissionsState']=_0x1a7249(e=>{this['classList']['toggle']('uc-initialized','granted'===e);const i=this['_activeTab']===_0x23eab8['VIDEO']&&this['cfg']['enableAudioRecording'],n=this['_activeTab']===_0x23eab8['PHOTO']?'camera-full':'video-camera-full';'granted'===e?this['set$']({'videoHidden':!0x1,'cameraHidden':!0x1,'tabCameraHidden':!this['_cameraModes']['includes'](_0x23eab8['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](_0x23eab8['VIDEO']),'messageHidden':!0x0,'timerHidden':!0x0,'currentIcon':n,'audioToggleMicrophoneHidden':!i,'audioSelectHidden':!i}):'prompt'===e?(this['$']['l10nMessage']='camera-permissions-prompt',this['set$']({'videoHidden':!0x0,'cameraHidden':!0x0,'tabCameraHidden':!0x0,'messageHidden':!0x1}),this['_stopCapture']()):(this['$']['l10nMessage']='camera-permissions-denied',this['set$']({'videoHidden':!0x0,'messageHidden':!0x1,'tabCameraHidden':!this['_cameraModes']['includes'](_0x23eab8['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](_0x23eab8['VIDEO']),'cameraActionsHidden':!0x0,'mutableClassButton':'uc-shot-btn\x20uc-camera-action'}),this['_stopCapture']());},0x12c);['_makeStreamInactive']=()=>{if(!this['_stream'])return!0x1;const _0x1cd9c5=this['_stream']?.['getAudioTracks'](),_0x50863a=this['_stream']?.['getVideoTracks']();return _0x1cd9c5['forEach'](_0x47f437=>{_0x47f437['stop']();}),_0x50863a['forEach'](_0x12e02f=>{_0x12e02f['stop']();}),!0x0;};['_stopCapture']=()=>{if(this['_capturing']){this['ref']['video']['volume']=0x0;const _0x2712d3=this['$']['video']?.['getTracks']?.();_0x2712d3?.[0x0]?.['stop'](),this['$']['video']=null,this['_makeStreamInactive'](),this['_stopTimer'](),this['_capturing']=!0x1;}};['_capture']=async()=>{const _0x996340={'video':{..._0x5d1dad},'audio':!!this['cfg']['enableAudioRecording']&&{}};this['_selectedCameraId']&&(_0x996340['video']={'deviceId':{'exact':this['_selectedCameraId']}}),this['_selectedAudioId']&&this['cfg']['enableAudioRecording']&&(_0x996340['audio']={'deviceId':{'exact':this['_selectedAudioId']}}),this['ref']['video']&&(this['ref']['video']['volume']=0x0);try{this['_setPermissionsState']('prompt'),this['_stream']=await navigator['mediaDevices']['getUserMedia'](_0x996340),this['_stream']['addEventListener']('inactive',()=>{this['_setPermissionsState']('denied');}),this['$']['video']=this['_stream'],this['_capturing']=!0x0,this['_setPermissionsState']('granted');}catch(_0x3cd58b){this['_setPermissionsState']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x3cd58b),this['telemetryManager']['sendEventError'](_0x3cd58b,'camera\x20capturing.\x20Failed\x20to\x20capture\x20camera');}};['_handlePermissionsChange']=()=>{this['_capture']();};['_permissionAccess']=async()=>{try{for(const _0x415756 of _0xe950b){const _0x3409c9=await navigator['permissions']['query']({'name':_0x415756});this['_permissionResponses'][_0x415756]=_0x3409c9,_0x3409c9['addEventListener']('change',this['_handlePermissionsChange']);}}catch(_0x8d44b3){console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x8d44b3),this['telemetryManager']['sendEventError'](_0x8d44b3,'camera\x20permissions.\x20Failed\x20to\x20use\x20permissions\x20API'),this['_capture']();}};['_getPermission']=()=>{};['_requestDeviceAccess']=async()=>{try{await navigator['mediaDevices']['getUserMedia']({'video':!0x0,'audio':this['cfg']['enableAudioRecording']}),await this['_getDevices'](),navigator['mediaDevices']['addEventListener']('devicechange',this['_getDevices']);}catch(_0x27f9db){this['telemetryManager']['sendEventError'](_0x27f9db,'camera\x20devices.\x20Failed\x20to\x20get\x20user\x20media'),console['log']('Failed\x20to\x20get\x20user\x20media',_0x27f9db);}};['_getDevices']=async()=>{try{const _0x429502=await navigator['mediaDevices']['enumerateDevices']();this['_cameraDevices']=_0x429502['filter'](_0x4e5d3b=>'videoinput'===_0x4e5d3b['kind'])['map']((_0x31d12a,_0x1e9c67)=>({'text':_0x31d12a['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x1e9c67+0x1),'value':_0x31d12a['deviceId']})),this['_audioDevices']=this['cfg']['enableAudioRecording']?_0x429502['filter'](_0x5d65af=>'audioinput'===_0x5d65af['kind'])['map'](_0x2d5da7=>({'text':_0x2d5da7['label']['trim'](),'value':_0x2d5da7['deviceId']})):[],this['_cameraDevices']['length']>0x1&&this['set$']({'cameraSelectOptions':this['_cameraDevices'],'cameraSelectHidden':!0x1}),this['_selectedCameraId']=this['_cameraDevices'][0x0]?.['value']??null,this['_audioDevices']['length']>0x1&&this['set$']({'audioSelectOptions':this['_audioDevices'],'audioSelectHidden':!0x1}),this['_selectedAudioId']=this['_audioDevices'][0x0]?.['value']??null;}catch(_0x2212f5){this['telemetryManager']['sendEventError'](_0x2212f5,'camera\x20devices.\x20Failed\x20to\x20get\x20devices'),console['log']('Failed\x20to\x20get\x20devices',_0x2212f5);}};['_onActivate']=async()=>{await this['_permissionAccess'](),await this['_requestDeviceAccess'](),await this['_capture'](),this['_handleCameraModes'](this['_cameraModes']);};['_onDeactivate']=async()=>{this['_unsubPermissions']&&this['_unsubPermissions'](),(Boolean(window['chrome'])||this['_setPermissionsState']('denied'),this['_stopCapture']());};['_handleCameraModes']=_0x1b4525=>{this['$']['tabVideoHidden']=!_0x1b4525['includes'](_0x23eab8['VIDEO']),this['$']['tabCameraHidden']=!_0x1b4525['includes'](_0x23eab8['PHOTO']);const _0x33e990=_0x1b4525[0x0];!_0x33e990||this['_activeTab']&&_0x1b4525['includes'](this['_activeTab'])||this['_handleActiveTab'](_0x33e990);};['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':this['_onActivate'],'onDeactivate':this['_onDeactivate']}),this['subConfigValue']('cameraMirror',_0x588ab0=>{this['$']['videoTransformCss']=_0x588ab0?'scaleX(-1)':null;}),this['subConfigValue']('enableAudioRecording',_0x52055d=>{this['$']['audioToggleMicrophoneHidden']=!_0x52055d,this['$']['audioSelectDisabled']=!_0x52055d;}),this['subConfigValue']('cameraModes',_0x2e337f=>{if(!this['isActivityActive'])return;const _0x5bd8f0=_0x84d800(_0x2e337f);this['_handleCameraModes'](_0x5bd8f0['filter'](_0xf00a90=>_0xf00a90===_0x23eab8['PHOTO']||_0xf00a90===_0x23eab8['VIDEO']));});}['_destroy'](){for(const _0x3bdee6 of _0xe950b)this['_permissionResponses'][_0x3bdee6]?.['removeEventListener']('change',this['_handlePermissionsChange']);navigator['mediaDevices']?.['removeEventListener']('devicechange',this['_getDevices']);}async['destroyCallback'](){super['destroyCallback'](),this['_destroy']();}};_0x43d76b['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*historyBack\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:back\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22back\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<div\x20set=\x22@hidden:\x20!cameraSelectHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22caption-camera\x22></span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<uc-select\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-camera-select\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22$.options:\x20cameraSelectOptions;\x20@hidden:\x20cameraSelectHidden;\x20onchange:\x20onCameraSelectChange\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20</uc-select>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<div\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<video\x0a\x20\x20\x20\x20\x20\x20muted\x0a\x20\x20\x20\x20\x20\x20autoplay\x0a\x20\x20\x20\x20\x20\x20playsinline\x0a\x20\x20\x20\x20\x20\x20set=\x22srcObject:\x20video;\x20style.transform:\x20videoTransformCss;\x20@hidden:\x20videoHidden\x22\x0a\x20\x20\x20\x20\x20\x20ref=\x22video\x22\x0a\x20\x20\x20\x20></video>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-message-box\x22\x20set=\x22@hidden:\x20messageHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22l10nMessage\x22></span>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onRequestPermissions;\x20@hidden:\x20requestBtnHidden\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22camera-permissions-request\x22\x0a\x20\x20\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a\x0a\x20\x20<div\x20class=\x22uc-controls\x22>\x0a\x20\x20\x20\x20<div\x20ref=\x22switcher\x22\x20class=\x22uc-switcher\x22\x20set=\x22@hidden:!timerHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22photo\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-switch\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onClickTab;\x20\x20@hidden:\x20tabCameraHidden\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22video\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-switch\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onClickTab;\x20@hidden:\x20tabVideoHidden\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22video-camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-secondary-btn\x20uc-recording-timer\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:timerHidden;\x20onclick:\x20onToggleRecording\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20currentTimelineIcon\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20ref=\x22timer\x22>\x2000:00\x20</span>\x0a\x20\x20\x20\x20\x20\x20<span\x20ref=\x22line\x22\x20class=\x22uc-line\x22></span>\x0a\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20<div\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-camera-actions\x20uc-camera-action\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:\x20cameraActionsHidden\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-secondary-btn\x22\x20set=\x22onclick:\x20onRetake\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20Retake\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onAccept\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-testid=\x22accept\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20Accept\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-shot-btn\x20uc-camera-action\x22\x0a\x20\x20\x20\x20\x20\x20data-testid=\x22shot\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onStartCamera;\x20@class:\x20mutableClassButton;\x20@hidden:\x20cameraHidden;\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20currentIcon\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20<div\x20class=\x22uc-select\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-btn-microphone\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onToggleAudio;\x20@hidden:\x20audioToggleMicrophoneHidden;\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:toggleMicrophoneIcon\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20\x20\x20<uc-select\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-audio-select\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22$.options:\x20audioSelectOptions;\x20onchange:\x20onAudioSelectChange;\x20@hidden:\x20audioSelectHidden;\x20@disabled:\x20audioSelectDisabled\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20</uc-select>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a';var _0x4fdd0c='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function _0x356e91(..._0x206f60){return _0x206f60['reduce']((_0x5dfa0e,_0x29a595)=>{if('string'==typeof _0x29a595)return _0x5dfa0e[_0x29a595]=!0x0,_0x5dfa0e;for(const _0x4eb3a7 of Object['keys'](_0x29a595))_0x5dfa0e[_0x4eb3a7]=_0x29a595[_0x4eb3a7];return _0x5dfa0e;},{});}function _0x210797(..._0x38696c){const _0xf98062=_0x356e91(..._0x38696c);return Object['keys'](_0xf98062)['reduce']((_0xd7cb2e,_0x2171aa)=>(_0xf98062[_0x2171aa]&&_0xd7cb2e['push'](_0x2171aa),_0xd7cb2e),[])['join']('\x20');}function _0x40bbae(_0x320592,..._0x1ccf30){const _0xe859f=_0x356e91(..._0x1ccf30);for(const _0x312999 of Object['keys'](_0xe859f))_0x320592['classList']['toggle'](_0x312999,Boolean(_0xe859f[_0x312999]));}var _0x26693c=_0x5a978b=>_0xa44afb['includes'](_0x5a978b),_0x2a9956=_0x4e2b58=>{if(!_0x4e2b58)return _0xa44afb;const _0x55069c=_0x84d800(_0x4e2b58)['filter'](_0x26693c);return 0x0===_0x55069c['length']?_0xa44afb:_0x55069c;};function initState(_0x33720a){return{'*originalUrl':null,'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*currentAspectRatio':null,'*tabList':_0xa44afb,'*tabId':_0xb766e0['CROP'],'entry':null,'extension':null,'editorMode':!0x1,'modalCaption':'','isImage':!0x1,'msg':'','src':_0x4fdd0c,'fileType':'','showLoader':!0x1,'uuid':null,'cdnUrl':null,'cropPreset':'','tabs':_0x2c3d3c([..._0xa44afb]),'presence.networkProblems':!0x1,'presence.modalCaption':!0x0,'presence.editorToolbar':!0x1,'presence.viewerToolbar':!0x0,'*on.retryNetwork':()=>{const _0x1e4b7e=_0x33720a['querySelectorAll']('img');for(const _0x3fd2be of _0x1e4b7e){const _0x62c07f=_0x3fd2be['src'];_0x3fd2be['src']=_0x4fdd0c,_0x3fd2be['src']=_0x62c07f;}_0x33720a['$']['*networkProblems']=!0x1;},'*on.apply':_0x5ce40a=>{if(!_0x5ce40a)return;const _0x192867=_0x33720a['$']['*originalUrl'],_0xe342ce=createCdnUrlModifiers(transformationsToOperations(_0x5ce40a),'preview'),_0x24edec={'originalUrl':_0x192867,'cdnUrlModifiers':_0xe342ce,'cdnUrl':createCdnUrl(_0x192867,_0xe342ce),'transformations':_0x5ce40a};_0x33720a['dispatchEvent'](new CustomEvent('apply',{'detail':_0x24edec,'bubbles':!0x0,'composed':!0x0})),_0x33720a['remove']();},'*on.cancel':()=>{_0x33720a['remove'](),_0x33720a['dispatchEvent'](new CustomEvent('cancel',{'bubbles':!0x0,'composed':!0x0}));}};}var svg_sprite_default2='<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>',_0xa027cf='\x0a\x20\x20'+svg_sprite_default2+'\x0a\x20\x20<div\x20class=\x22uc-wrapper\x20uc-wrapper_desktop\x22>\x0a\x20\x20\x20\x20<uc-presence-toggle\x20class=\x22uc-network_problems_splash\x22\x20set=\x22visible:\x20presence.networkProblems;\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_icon\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22sad\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_text\x22>Network\x20error</div>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_footer\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22primary\x22\x20text=\x22Retry\x22\x20set=\x22onclick:\x20*on.retryNetwork\x22></uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-viewport\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-file_type_outer\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-file_type\x22>{{fileType}}</div>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-image_container\x22\x20ref=\x22img-container-el\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<img\x20src=\x22'+_0x4fdd0c+'\x22\x20class=\x22uc-image\x20uc-image_visible_from_editor\x22\x20ref=\x22img-el\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-image-cropper\x20ref=\x22cropper-el\x22></uc-editor-image-cropper>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-image-fader\x20ref=\x22fader-el\x22></uc-editor-image-fader>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-info_pan\x22>{{msg}}</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-toolbar\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-line-loader-ui\x20set=\x22active:\x20showLoader\x22></uc-line-loader-ui>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-toolbar_content\x20uc-toolbar_content__editor\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-toolbar></uc-editor-toolbar>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a',CloudImageEditorBlock=class extends _0x1e370d{['ctxOwner']=!0x0;static ['styleAttrs']=['uc-cloud-image-editor'];['_debouncedShowLoader']=_0x1a7249(this['_showLoader']['bind'](this),0x12c);constructor(){super(),this['init$']={...this['init$'],...initState(this)};}['_showLoader'](_0x4eb41a){this['$']['showLoader']=_0x4eb41a;}['_waitForSize'](){return new Promise((_0x4a18eb,_0x6b2c74)=>{const _0x2f6940=window['setTimeout'](()=>{_0x6b2c74(new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size'));},0xbb8),_0x14b3c6=new ResizeObserver(_0x38a168=>{const [_0x1a041a]=_0x38a168;_0x1a041a&&_0x1a041a['contentRect']['width']>0x0&&_0x1a041a['contentRect']['height']>0x0&&(window['clearTimeout'](_0x2f6940),_0x14b3c6['disconnect'](),window['setTimeout'](()=>_0x4a18eb(),0x0));});_0x14b3c6['observe'](this);});}['initCallback'](){super['initCallback'](),this['$']['*faderEl']=this['ref']['fader-el'],this['$']['*cropperEl']=this['ref']['cropper-el'],this['$']['*imgContainerEl']=this['ref']['img-container-el'],this['initEditor']();}async['updateImage'](){if(this['isConnected']){if(await this['_waitForSize'](),this['$']['cdnUrl']){const _0x1c4beb=this['$']['cdnUrl'],_0x3b9eee=extractUuid(_0x1c4beb),_0x18352b=createOriginalUrl(_0x1c4beb,_0x3b9eee);if(_0x18352b===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x18352b;const _0x3b185c=operationsToTransformations(extractOperations(_0x1c4beb));this['$']['*editorTransformations']=_0x3b185c;}else{if(!this['$']['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{const _0x30498c=createOriginalUrl(this['cfg']['cdnCname'],this['$']['uuid']);if(_0x30498c===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x30498c,this['$']['*editorTransformations']={};}}this['$']['*tabId']===_0xb766e0['CROP']?this['$']['*cropperEl']?.['deactivate']({'reset':!0x0}):this['$']['*faderEl']?.['deactivate']();try{const _0x14d9f0=this['$']['*originalUrl'],_0x1e2121=await this['proxyUrl'](createCdnUrl(_0x14d9f0,createCdnUrlModifiers('json'))),_0x30e24c=await fetch(_0x1e2121)['then'](_0x83b6e=>_0x83b6e['json']()),{width:_0x8e9edc,height:_0x322002}=_0x30e24c;this['$']['*imageSize']={'width':_0x8e9edc,'height':_0x322002},this['$']['*tabId']===_0xb766e0['CROP']?this['$']['*cropperEl']?.['activate'](this['$']['*imageSize']):this['$']['*faderEl']?.['activate']({'url':_0x14d9f0});}catch(_0x250426){_0x250426&&(this['telemetryManager']['sendEventError'](_0x250426,'cloud\x20editor\x20image.\x20Failed\x20to\x20load\x20image\x20info'),console['error']('Failed\x20to\x20load\x20image\x20info',_0x250426));}}}async['initEditor'](){try{await this['_waitForSize']();}catch(_0x2c3ff9){return void(this['isConnected']&&console['error'](_0x2c3ff9['message']));}this['ref']['img-el']['addEventListener']('load',()=>{this['_debouncedShowLoader'](!0x1),this['$']['src']!==_0x4fdd0c&&(this['$']['*networkProblems']=!0x1);}),this['ref']['img-el']['addEventListener']('error',()=>{this['_debouncedShowLoader'](!0x1),this['$']['*networkProblems']=!0x0;}),this['sub']('src',_0x44cb9d=>{const _0x981877=this['ref']['img-el'];_0x981877['src']!==_0x44cb9d&&(_0x981877['src']=_0x44cb9d||_0x4fdd0c);}),this['sub']('tabs',_0xfcd97f=>{this['$']['*tabList']=_0x2a9956(_0xfcd97f);}),this['sub']('*tabId',_0x540cf4=>{this['ref']['img-el']['className']=_0x210797('uc-image',{'uc-image_hidden_to_cropper':_0x540cf4===_0xb766e0['CROP'],'uc-image_hidden_effects':_0x540cf4!==_0xb766e0['CROP']});}),this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',_0x841f5f=>{this['$']['presence.networkProblems']=_0x841f5f,this['$']['presence.modalCaption']=!_0x841f5f;}),this['sub']('*editorTransformations',_0x609e67=>{if(0x0===Object['keys'](_0x609e67)['length'])return;const _0x409d12=this['$']['*originalUrl'],_0x13edc0=createCdnUrlModifiers(transformationsToOperations(_0x609e67),'preview'),_0x4361e2={'originalUrl':_0x409d12,'cdnUrlModifiers':_0x13edc0,'cdnUrl':createCdnUrl(_0x409d12,_0x13edc0),'transformations':_0x609e67};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x4361e2,'bubbles':!0x0,'composed':!0x0}));},!0x1),this['sub']('uuid',_0x18d48e=>_0x18d48e&&this['updateImage']()),this['sub']('cdnUrl',_0x425022=>_0x425022&&this['updateImage']()),this['sub']('cropPreset',_0x5b24a5=>{const _0xdc1ea3=parseCropPreset(_0x5b24a5);let _0x1401b7=null;if(this['$']['cdnUrl']){const _0x280c20=operationsToTransformations(extractOperations(this['$']['cdnUrl']));if(Array['isArray'](_0x280c20?.['crop']?.['dimensions'])){const [_0x340601,_0x212239]=_0x280c20['crop']['dimensions'];_0x1401b7=getClosestAspectRatio(_0x340601,_0x212239,_0xdc1ea3,0.1);}}this['$']['*cropPresetList']=_0xdc1ea3,this['$']['*currentAspectRatio']=_0x1401b7??_0xdc1ea3?.[0x0]??null;});}};CloudImageEditorBlock['template']=_0xa027cf,CloudImageEditorBlock['bindAttributes']({'uuid':'uuid','cdn-url':'cdnUrl','crop-preset':'cropPreset','tabs':'tabs'});var _0xdf4c5a=class extends _0x1e370d{['_handlePointerUp'];['_handlePointerMove'];['_handleSvgPointerMove'];['_backdropMaskId']='backdrop-mask-'+_0x4f7a5d['generate']();['_backdropMask'];['_backdropMaskInner'];['_frameThumbs'];['_frameGuides'];['_draggingThumb'];['_hoverThumb'];['_dragStartPoint'];['_dragStartCrop'];['_frameImage'];['_guidesHidden']=!0x1;constructor(){super(),this['init$']={...this['init$'],'dragging':!0x1},this['_handlePointerUp']=this['_handlePointerUp_']['bind'](this),this['_handlePointerMove']=this['_handlePointerMove_']['bind'](this),this['_handleSvgPointerMove']=this['_handleSvgPointerMove_']['bind'](this);}['_shouldThumbBeDisabled'](_0x4ca96d){const _0x462c70=this['$']['*imageBox'];if(!_0x462c70)return!0x1;if(''===_0x4ca96d&&_0x462c70['height']<=_0x3bdac2&&_0x462c70['width']<=_0x3bdac2)return!0x0;const _0x44ec25=_0x462c70['height']<=_0x3bdac2&&(_0x4ca96d['includes']('n')||_0x4ca96d['includes']('s')),_0x555565=_0x462c70['width']<=_0x3bdac2&&(_0x4ca96d['includes']('e')||_0x4ca96d['includes']('w'));return _0x44ec25||_0x555565;}['_createBackdrop'](){const _0x571e48=this['$']['*cropBox'];if(!_0x571e48)return;const {x:_0x2eabf5,y:_0x276adf,width:_0xc2ce87,height:_0x1db904}=_0x571e48,_0x2880ee=this['ref']['svg-el'],_0xa54c0c=createSvgNode('mask',{'id':this['_backdropMaskId']}),_0x1e9a10=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x564277=createSvgNode('rect',{'x':_0x2eabf5,'y':_0x276adf,'width':_0xc2ce87,'height':_0x1db904,'fill':'black'});_0xa54c0c['appendChild'](_0x1e9a10),_0xa54c0c['appendChild'](_0x564277);const _0x3f7e8c=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#'+this['_backdropMaskId']+')'});_0x2880ee['appendChild'](_0x3f7e8c),_0x2880ee['appendChild'](_0xa54c0c),this['_backdropMask']=_0xa54c0c,this['_backdropMaskInner']=_0x564277;}['_resizeBackdrop'](){this['_backdropMask']&&(this['_backdropMask']['style']['display']='none',window['requestAnimationFrame'](()=>{this['_backdropMask']&&(this['_backdropMask']['style']['display']='block');}));}['_updateBackdrop'](){const _0x2c8940=this['$']['*cropBox'];if(!_0x2c8940)return;const {x:_0x176606,y:_0x4aef0e,width:_0x3b35ea,height:_0x138591}=_0x2c8940;this['_backdropMaskInner']&&setSvgNodeAttrs(this['_backdropMaskInner'],{'x':_0x176606,'y':_0x4aef0e,'width':_0x3b35ea,'height':_0x138591});}['_updateFrame'](){const _0x4892c8=this['$']['*cropBox'];if(_0x4892c8&&this['_frameGuides']&&this['_frameThumbs']){for(const _0x33d094 of Object['values'](this['_frameThumbs'])){if(!_0x33d094)continue;const {direction:_0x445b61,pathNode:_0x4b9cba,interactionNode:_0x4ac047,groupNode:_0x3d1c29}=_0x33d094,_0x5e3de5=''===_0x445b61,_0x33fdce=0x2===_0x445b61['length'],{x:_0x242bb5,y:_0x5bf660,width:_0x55610e,height:_0x491168}=_0x4892c8;if(_0x5e3de5)setSvgNodeAttrs(_0x4ac047,{'x':_0x242bb5,'y':_0x5bf660,'width':_0x55610e,'height':_0x491168});else{const _0xb5fa2=_0xc9ad77(Math['min'](_0x55610e,_0x491168)/(0x2*_0x3896e6+_0x4c4f04)/0x2,0x0,0x1),_0x2c1667=_0x33fdce?cornerPath(_0x4892c8,_0x445b61,_0xb5fa2):sidePath(_0x4892c8,_0x445b61,_0xb5fa2),_0x577a53=_0x2c1667['center'];if(!_0x577a53)continue;const _0x2e4fc0=Math['max'](_0x48d0d2*_0xc9ad77(Math['min'](_0x55610e,_0x491168)/_0x48d0d2/0x3,0x0,0x1),_0x482b51);setSvgNodeAttrs(_0x4ac047,{'x':_0x577a53[0x0]-_0x2e4fc0,'y':_0x577a53[0x1]-_0x2e4fc0,'width':0x2*_0x2e4fc0,'height':0x2*_0x2e4fc0}),setSvgNodeAttrs(_0x4b9cba,{'d':_0x2c1667['d']});}const _0x4ebffa=this['_shouldThumbBeDisabled'](_0x445b61);_0x3d1c29['setAttribute']('class',_0x210797('uc-thumb',{'uc-thumb--hidden':_0x4ebffa,'uc-thumb--visible':!_0x4ebffa}));}setSvgNodeAttrs(this['_frameGuides'],{'x':_0x4892c8['x']-0.5*_0x4e97e7,'y':_0x4892c8['y']-0.5*_0x4e97e7,'width':_0x4892c8['width']+_0x4e97e7,'height':_0x4892c8['height']+_0x4e97e7});}}['_createThumb'](_0x79cec6,_0xb6947b){const _0x1e4651=createSvgNode('g');_0x1e4651['classList']['add']('uc-thumb'),_0x1e4651['setAttribute']('with-effects','');const _0x2b4306=createSvgNode('rect',{'fill':'transparent'}),_0x7f74a1=createSvgNode('path',{'stroke':'currentColor','fill':'none','stroke-width':_0x4bed47});_0x1e4651['appendChild'](_0x7f74a1),_0x1e4651['appendChild'](_0x2b4306),_0x79cec6[_0xb6947b]={'direction':_0xb6947b,'pathNode':_0x7f74a1,'interactionNode':_0x2b4306,'groupNode':_0x1e4651},''===_0xb6947b&&(_0x1e4651['style']['cursor']='move'),_0x2b4306['addEventListener']('pointerdown',this['_handlePointerDown']['bind'](this,_0xb6947b));}['_createThumbs'](){const _0x3bf6e0={};for(let _0x478d7f=0x0;_0x478d7f<0x3;_0x478d7f++)for(let _0x597cca=0x0;_0x597cca<0x3;_0x597cca++){const _0x52ddad=''+['n','','s'][_0x478d7f]+['w','','e'][_0x597cca];''!==_0x52ddad&&this['_createThumb'](_0x3bf6e0,_0x52ddad);}return this['_createThumb'](_0x3bf6e0,''),_0x3bf6e0;}['_createGuides'](){const _0x24a7e5=createSvgNode('svg'),_0x420b8e=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':_0x4e97e7,'stroke-opacity':0.5});_0x24a7e5['appendChild'](_0x420b8e);for(let _0x4c9833=0x1;_0x4c9833<=0x2;_0x4c9833++){const _0x37c137=createSvgNode('line',{'x1':_0x2c8a56*_0x4c9833+'%','y1':'0%','x2':_0x2c8a56*_0x4c9833+'%','y2':'100%','stroke':'currentColor','stroke-width':_0x4e97e7,'stroke-opacity':0.3});_0x24a7e5['appendChild'](_0x37c137);}for(let _0xb448e7=0x1;_0xb448e7<=0x2;_0xb448e7++){const _0x36620a=createSvgNode('line',{'x1':'0%','y1':_0x2c8a56*_0xb448e7+'%','x2':'100%','y2':_0x2c8a56*_0xb448e7+'%','stroke':'currentColor','stroke-width':_0x4e97e7,'stroke-opacity':0.3});_0x24a7e5['appendChild'](_0x36620a);}return _0x24a7e5['classList']['add']('uc-guides','uc-guides--semi-hidden'),_0x24a7e5;}['_createFrame'](){const _0x3ea708=this['ref']['svg-el'],_0x16a288=document['createDocumentFragment'](),_0x4e8567=this['_createGuides']();_0x16a288['appendChild'](_0x4e8567);const _0x5b6fad=this['_createThumbs']();for(const {groupNode:_0x10ba7f}of Object['values'](_0x5b6fad))_0x16a288['appendChild'](_0x10ba7f);_0x3ea708['appendChild'](_0x16a288),this['_frameThumbs']=_0x5b6fad,this['_frameGuides']=_0x4e8567;}['_handlePointerDown'](_0x34a524,_0x43417a){if(!this['_frameThumbs'])return;const _0x3643c2=this['_frameThumbs'][_0x34a524];if(!_0x3643c2)return;if(this['_shouldThumbBeDisabled'](_0x34a524))return;const _0x446d4e=this['$']['*cropBox'],_0x8c0c75=this['ref']['svg-el'],{x:_0x1fee0,y:_0x3f7243}=_0x8c0c75['getBoundingClientRect'](),_0x1f13d8=_0x43417a['x']-_0x1fee0,_0x4fe087=_0x43417a['y']-_0x3f7243;this['$']['dragging']=!0x0,this['_draggingThumb']=_0x3643c2,this['_dragStartPoint']=[_0x1f13d8,_0x4fe087],this['_dragStartCrop']={..._0x446d4e};}['_handlePointerUp_'](_0x4b528c){this['_updateCursor'](),this['$']['dragging']&&(_0x4b528c['stopPropagation'](),_0x4b528c['preventDefault'](),this['$']['dragging']=!0x1);}['_handlePointerMove_'](_0x5669d8){if(!this['$']['dragging']||!this['_dragStartPoint']||!this['_draggingThumb'])return;_0x5669d8['stopPropagation'](),_0x5669d8['preventDefault']();const _0x3d3560=this['ref']['svg-el'],{x:_0x375e9c,y:_0x5c64fd}=_0x3d3560['getBoundingClientRect'](),_0x315307=_0x5669d8['x']-_0x375e9c,_0x1a1eb8=_0x5669d8['y']-_0x5c64fd,_0x3b8a64=_0x315307-this['_dragStartPoint'][0x0],_0x4dd160=_0x1a1eb8-this['_dragStartPoint'][0x1],{direction:_0x2fe8dd}=this['_draggingThumb'],_0x314028=this['_calcCropBox'](_0x2fe8dd,[_0x3b8a64,_0x4dd160]);_0x314028&&(this['$']['*cropBox']=_0x314028);}['_calcCropBox'](_0x4ff344,_0xa8b2b7){const [_0x406ff5,_0x179d9d]=_0xa8b2b7,_0x27523b=this['$']['*imageBox'];let _0xa43a32=this['_dragStartCrop']??this['$']['*cropBox'];const _0x2fc6f0=this['$']['*currentAspectRatio'],_0x2218fc=_0x2fc6f0?_0x2fc6f0['width']/_0x2fc6f0['height']:void 0x0;if(_0xa43a32=''===_0x4ff344?moveRect({'rect':_0xa43a32,'delta':[_0x406ff5,_0x179d9d],'imageBox':_0x27523b}):resizeRect({'rect':_0xa43a32,'delta':[_0x406ff5,_0x179d9d],'direction':_0x4ff344,'aspectRatio':_0x2218fc,'imageBox':_0x27523b}),Object['values'](_0xa43a32)['every'](_0x434492=>Number['isFinite'](_0x434492)&&_0x434492>=0x0))return constraintRect(roundRect(_0xa43a32),_0x27523b);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0xa43a32});}['_handleSvgPointerMove_'](_0x27ac5a){if(!this['_frameThumbs'])return;const _0x3dd512=Object['values'](this['_frameThumbs'])['find'](_0xaf1950=>{if(!_0xaf1950)return!0x1;if(this['_shouldThumbBeDisabled'](_0xaf1950['direction']))return!0x1;const _0x1cad3a=_0xaf1950['interactionNode']['getBoundingClientRect']();return rectContainsPoint({'x':_0x1cad3a['x'],'y':_0x1cad3a['y'],'width':_0x1cad3a['width'],'height':_0x1cad3a['height']},[_0x27ac5a['x'],_0x27ac5a['y']]);});this['_hoverThumb']=_0x3dd512,this['_updateCursor']();}['_updateCursor'](){const _0x467441=this['_hoverThumb'];this['ref']['svg-el']['style']['cursor']=_0x467441?thumbCursor(_0x467441['direction']):'initial';}['_createMask'](_0x1482be){if(this['_frameImage'])return void this['_frameImage']['setAttribute']('href',_0x1482be);const _0x2255e0=this['ref']['svg-el'],_0x10fc9d=document['createDocumentFragment'](),_0x129019=createSvgNode('image',{'href':_0x1482be});_0x129019['setAttribute']('class','uc-cloud-mask'),_0x10fc9d['appendChild'](_0x129019),_0x2255e0['appendChild'](_0x10fc9d),this['_frameImage']=_0x129019;}['_updateMask'](){const _0x278573=this['$']['*cropBox'];if(!_0x278573||!this['_frameImage'])return;const {x:_0x2a49e2,y:_0x37fbbd,width:_0x4b037b,height:_0xcf6b0c}=_0x278573;setSvgNodeAttrs(this['_frameImage'],{'x':_0x2a49e2,'y':_0x37fbbd,'height':_0xcf6b0c,'width':_0x4b037b});}['_render'](){this['_updateBackdrop'](),this['_updateFrame'](),this['_updateMask']();}['toggleThumbs'](_0x45c8eb){if(this['_frameThumbs'])for(const _0x5ea556 of Object['values'](this['_frameThumbs'])){if(!_0x5ea556)continue;const {groupNode:_0x9758fd}=_0x5ea556;_0x9758fd['setAttribute']('class',_0x210797('uc-thumb',{'uc-thumb--hidden':!_0x45c8eb,'uc-thumb--visible':_0x45c8eb}));}}['initCallback'](){super['initCallback'](),this['_createBackdrop'](),this['_createFrame'](),this['sub']('*imageBox',()=>{this['_resizeBackdrop'](),window['requestAnimationFrame'](()=>{this['_render']();});}),this['sub']('*cropBox',_0x5cd9d6=>{_0x5cd9d6&&(this['_guidesHidden']=_0x5cd9d6['height']<=_0x3bdac2||_0x5cd9d6['width']<=_0x3bdac2,window['requestAnimationFrame'](()=>{this['_render']();}));}),this['subConfigValue']('cloudImageEditorMaskHref',_0x46d514=>{_0x46d514&&this['_createMask'](_0x46d514);}),this['sub']('dragging',_0x3d5a85=>{this['_frameGuides']&&this['_frameGuides']['setAttribute']('class',_0x210797({'uc-guides--hidden':this['_guidesHidden'],'uc-guides--visible':!this['_guidesHidden']&&_0x3d5a85,'uc-guides--semi-hidden':!this['_guidesHidden']&&!_0x3d5a85}));}),(this['ref']['svg-el']['addEventListener']('pointermove',this['_handleSvgPointerMove'],!0x0),document['addEventListener']('pointermove',this['_handlePointerMove'],!0x0),document['addEventListener']('pointerup',this['_handlePointerUp'],!0x0));}['destroyCallback'](){super['destroyCallback'](),(this['ref']['svg-el']['removeEventListener']('pointermove',this['_handleSvgPointerMove'],!0x0),document['removeEventListener']('pointermove',this['_handlePointerMove']),document['removeEventListener']('pointerup',this['_handlePointerUp']));}};_0xdf4c5a['template']='\x20<svg\x20class=\x22uc-svg\x22\x20ref=\x22svg-el\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22></svg>\x20';var EditorButtonControl=class extends _0x1e370d{['_titleEl'];constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'title':'','icon':'','on.click':null,'title-prop':''};}['initCallback'](){super['initCallback'](),this['_titleEl']=this['ref']['title-el'],this['sub']('title',_0x59eed3=>{const _0x3efa48=this['_titleEl'];_0x3efa48&&(_0x3efa48['style']['display']=_0x59eed3?'block':'none');}),this['sub']('active',_0x5dbc78=>{this['className']=_0x210797({'uc-active':_0x5dbc78,'uc-not_active':!_0x5dbc78});}),this['sub']('on.click',_0x19ec64=>{this['onclick']=_0x19ec64??null;});}};EditorButtonControl['template']='\x0a\x20\x20<button\x20role=\x22option\x22\x20type=\x22button\x22\x20set=\x22@aria-label:title-prop;\x22\x20l10n=\x22@title:title-prop;\x22>\x0a\x20\x20\x20\x20<uc-icon\x20ref=\x22icon-el\x22\x20set=\x22@name:\x20icon;\x22></uc-icon>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-title\x22\x20ref=\x22title-el\x22>{{title}}</div>\x0a\x20\x20</button>\x0a';var _0x4d75a1=0xc,_0x5ae780=0x10,getAdjustResolutions=_0x1d8532=>{let _0x5a4515=0xc,_0x5d3f09=0xc;return _0x1d8532['width']/_0x1d8532['height']>=0x1?(_0x5a4515=_0x4d75a1,_0x5d3f09=Math['round'](_0x4d75a1*_0x1d8532['height']/_0x1d8532['width'])):(_0x5d3f09=_0x4d75a1,_0x5a4515=Math['round'](_0x4d75a1*_0x1d8532['width']/_0x1d8532['height'])),{'width':_0x5a4515,'height':_0x5d3f09};},EditorFreeformButtonControl=class extends EditorButtonControl{['initCallback'](){super['initCallback'](),this['$']['icon']='arrow-dropdown',this['$']['on.click']=this['handleClick']['bind'](this),this['sub']('*currentAspectRatio',_0x3d0df8=>{this['$']['title']=_0x3d0df8['hasFreeform']?this['l10n']('freeform-crop'):this['l10n']('crop-to-shape',{'value':_0x3d0df8['width']+':'+_0x3d0df8['height']}),this['bindL10n']('title-prop',()=>this['$']['title']);});}['handleClick'](){this['$']['*showListAspectRatio']=!0x0;}};EditorFreeformButtonControl['template']='\x20\x0a\x20\x20<button\x20role=\x22option\x22\x20type=\x22button\x22\x20set=\x22@aria-label:title-prop;\x22\x20l10n=\x22@title:title-prop;\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-title\x22\x20ref=\x22title-el\x22>{{title}}</div>\x0a\x20\x20\x20\x20<uc-icon\x20ref=\x22icon-el\x22\x20set=\x22@name:\x20icon;\x22></uc-icon>\x0a\x20\x20</button>\x20\x0a';var EditorAspectRatioButtonControl=class extends EditorButtonControl{constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'once':!0x1};}['initCallback'](){super['initCallback'](),this['defineAccessor']('aspectRatio',_0x51fae1=>{if(!_0x51fae1)return;const _0x474a26=!!_0x51fae1['hasFreeform'];this['$']['title']=_0x474a26?this['l10n']('custom'):_0x51fae1['width']+':'+_0x51fae1['height'],_0x474a26||this['_renderRectBasedOnAspectRatio'](_0x51fae1),_0x474a26&&this['setAttribute']('uc-aspect-ratio-freeform',''),this['_aspectRatio']=_0x51fae1,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-aspect-ratio',{'name':_0x474a26?this['l10n']('custom')['toLowerCase']():this['l10n']('crop-to-shape',{'value':_0x51fae1['width']+':'+_0x51fae1['height']})['toLowerCase'](),'value':''}));}),this['sub']('*currentAspectRatio',_0x3db819=>{this['$']['active']=_0x3db819&&_0x3db819['id']===this['_aspectRatio']?.['id']||_0x3db819?.['width']===this['_aspectRatio']?.['width']&&_0x3db819?.['height']===this['_aspectRatio']?.['height'];}),this['$']['on.click']=this['handleClick']['bind'](this);}['handleClick'](){const _0x3cc99d=this['$']['*currentAspectRatio'];_0x3cc99d?.['id']!==this['_aspectRatio']?.['id']&&(this['$']['*currentAspectRatio']=this['_aspectRatio']);}['_renderRectBasedOnAspectRatio'](_0x481916){const {width:_0x5c52f3,height:_0x167cc9}=getAdjustResolutions(_0x481916),_0x1aec56=createSvgNode('rect',{'stroke-linejoin':'round','fill':'none','stroke':'currentColor','stroke-width':1.2,'fill-rule':'evenodd','x':(_0x5ae780-_0x5c52f3)/0x2,'y':(_0x5ae780-_0x167cc9)/0x2,'rx':0x2,'width':_0x5c52f3,'height':_0x167cc9}),_0x57911=this['ref']['icon-el']?.['ref']?.['svg'];_0x57911&&(_0x57911['innerHTML']='',_0x57911['appendChild'](_0x1aec56));}['_aspectRatio'];};function nextAngle(_0x20d4fc){let _0x33c869=_0x20d4fc+0x5a;return _0x33c869=_0x33c869>=0x168?0x0:_0x33c869,_0x33c869;}function nextValue(_0x2bee7a,_0x1bbdd8){if('rotate'===_0x2bee7a)return nextAngle('number'==typeof _0x1bbdd8?_0x1bbdd8:0x0);if('mirror'===_0x2bee7a||'flip'===_0x2bee7a)return!_0x1bbdd8;throw new Error('Unsupported\x20operation:\x20'+_0x2bee7a);}var EditorCropButtonControl=class extends EditorButtonControl{['_operation']=void 0x0;['initCallback'](){super['initCallback'](),this['defineAccessor']('operation',_0xecbd03=>{_0xecbd03&&(this['_operation']=_0xecbd03,this['$']['icon']=_0xecbd03,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-crop',{'name':this['l10n'](_0xecbd03)['toLowerCase']()})));}),this['$']['on.click']=_0x440147=>{if(!this['_operation'])return;const _0x43ae05=this['$']['*cropperEl'],_0x8256b1=_0x43ae05['getValue'](this['_operation']),_0x2453cc=nextValue(this['_operation'],_0x8256b1);this['telemetryManager']['sendEventCloudImageEditor'](_0x440147,this['$']['*tabId'],{'operation':this['_operation'],'next':_0x2453cc,'prev':_0x8256b1}),_0x43ae05['setValue'](this['_operation'],_0x2453cc);};}};function _0x26868f(_0x290756){const _0x4f6337=new Image();return{'promise':new Promise((_0x45c612,_0x12a598)=>{_0x4f6337['src']=_0x290756,_0x4f6337['onload']=()=>_0x45c612(),_0x4f6337['onerror']=_0x1108d7=>_0x12a598(_0x1108d7);}),'image':_0x4f6337,'cancel':()=>{0x0===_0x4f6337['naturalWidth']&&(_0x4f6337['src']=_0x4fdd0c);}};}function batchPreloadImages(_0x48f637){const _0xa4fd4d=[];for(const _0x18331c of _0x48f637){const _0x54ec21=_0x26868f(_0x18331c);_0xa4fd4d['push'](_0x54ec21);}const _0x33bec7=_0xa4fd4d['map'](_0x3878d0=>_0x3878d0['image']);return{'promise':Promise['allSettled'](_0xa4fd4d['map'](_0x12f849=>_0x12f849['promise'])),'images':_0x33bec7,'cancel':()=>{_0xa4fd4d['forEach'](_0x36d2b9=>{_0x36d2b9['cancel']();});}};}var _0x42aec7='original',EditorSlider=class extends _0x1e370d{['_operation']='filter';['_filter'];['_originalUrl']='';constructor(){super(),this['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'value':0x0,'defaultValue':0x0,'zero':0x0,'on.input':_0x44bf93=>{const _0x3f8861=this['$']['*faderEl'];_0x3f8861?.['set'](_0x44bf93),this['$']['value']=_0x44bf93;}};}['setOperation'](_0x1b4562,_0x3de5a9){this['_operation']=_0x1b4562,this['_filter']=_0x3de5a9,this['_initializeValues']();const _0x5745d4=this['$']['*faderEl'],_0x26b31c=this['_originalUrl']||this['$']['*originalUrl'];_0x5745d4&&_0x26b31c&&_0x5745d4['activate']({'url':_0x26b31c,'operation':this['_operation'],'value':this['_filter']===_0x42aec7?void 0x0:this['$']['value'],'filter':this['_filter']===_0x42aec7?void 0x0:this['_filter'],'fromViewer':!0x1});}['_initializeValues'](){const _0x246e96=this['_operation'],{range:_0x2704ff,zero:_0x733c54}=_0x2c5cf6[_0x246e96],[_0x4f038b,_0x249ac1]=_0x2704ff;this['$']['min']=_0x4f038b,this['$']['max']=_0x249ac1,this['$']['zero']=_0x733c54;const _0x7c7810=this['$']['*editorTransformations'][_0x246e96];if('filter'===_0x246e96){let _0x11c7e1=Number(_0x249ac1);const _0x55a45f=_0x7c7810;if(_0x55a45f){const {name:_0x100e19,amount:_0x34d5fa}=_0x55a45f;_0x11c7e1=_0x100e19===this['_filter']?_0x34d5fa:_0x249ac1;}return this['$']['value']=_0x11c7e1,void(this['$']['defaultValue']=_0x11c7e1);}const _0x54abb6=void 0x0!==_0x7c7810?_0x7c7810:_0x733c54;this['$']['value']=_0x54abb6,this['$']['defaultValue']=_0x54abb6;}['apply'](){const _0x13f6eb={...this['$']['*editorTransformations']};'filter'===this['_operation']?this['_filter']&&this['_filter']!==_0x42aec7?_0x13f6eb['filter']={'name':this['_filter'],'amount':this['$']['value']}:delete _0x13f6eb['filter']:_0x13f6eb[this['_operation']]=this['$']['value'],this['$']['*editorTransformations']=_0x13f6eb;}['cancel'](){const _0x256740=this['$']['*faderEl'];_0x256740?.['deactivate']({'hide':!0x1});}['initCallback'](){super['initCallback'](),this['sub']('*originalUrl',_0x4540ce=>{this['_originalUrl']=_0x4540ce;}),this['sub']('value',_0x5b966c=>{const _0x1d49ab=(this['_filter']??this['_operation'])+'\x20'+_0x5b966c;this['$']['*operationTooltip']=_0x1d49ab;});}};function parseFilterValue(_0x499b7c){const _0x260130=_0x499b7c['match'](/^([A-Za-z]+)\s+(\d+)$/);if(!_0x260130)return null;const [,_0x3ce15c,_0x2c7f29]=_0x260130;return _0x3ce15c&&void 0x0!==_0x2c7f29?{'filter':_0x3ce15c,'value':Number(_0x2c7f29)}:null;}EditorSlider['template']='\x0a\x20\x20<uc-slider-ui\x0a\x20\x20\x20\x20ref=\x22slider-el\x22\x0a\x20\x20\x20\x20set=\x22disabled:\x20disabled;\x20min:\x20min;\x20max:\x20max;\x20defaultValue:\x20defaultValue;\x20zero:\x20zero;\x20onInput:\x20on.input;\x22\x0a\x20\x20></uc-slider-ui>\x0a';var EditorFilterControl=class extends EditorButtonControl{['_operation']='';['_filter']='';['_originalUrl']='';['_observer'];['_cancelPreload'];constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'title':'','icon':'','isOriginal':!0x1,'iconSize':'20','on.click':null};}['_previewSrc'](){const _0x25d9a8=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x30961d=window['devicePixelRatio'],_0x1b62f7=Math['ceil'](_0x30961d*_0x25d9a8),_0x4f7311=_0x30961d>=0x2?'lightest':'normal',_0x152481={...this['$']['*editorTransformations']};return _0x152481[this['_operation']]=this['_filter']!==_0x42aec7?{'name':this['_filter'],'amount':0x64}:void 0x0,createCdnUrl(this['_originalUrl'],createCdnUrlModifiers(_0x202fe6,transformationsToOperations(_0x152481),'quality/'+_0x4f7311,'scale_crop/'+_0x1b62f7+'x'+_0x1b62f7+'/center'));}async['_observerCallback'](_0x56205b,_0x557618){const _0x1f149c=_0x56205b[0x0];if(_0x1f149c?.['isIntersecting']){const _0xeec0d3=await this['proxyUrl'](this['_previewSrc']()),_0x1d532a=this['ref']['preview-el'],{promise:_0x577aa9,cancel:_0x2d737d}=_0x26868f(_0xeec0d3);this['_cancelPreload']=_0x2d737d,_0x577aa9['catch'](_0x5374fe=>{this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x5374fe});})['finally'](()=>{_0x1d532a['style']['backgroundImage']='url('+_0xeec0d3+')',_0x1d532a['setAttribute']('loaded',''),_0x557618['unobserve'](this);});}else this['_cancelPreload']?.();}['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x4e2810=>{if(this['$']['active'])!this['$']['isOriginal']&&(this['$']['*sliderEl']['setOperation'](this['_operation'],this['_filter']),this['$']['*showSlider']=!0x0);else{const _0x5def60=this['$']['*sliderEl'];_0x5def60['setOperation'](this['_operation'],this['_filter']),_0x5def60['apply']();}this['telemetryManager']['sendEventCloudImageEditor'](_0x4e2810,this['$']['*tabId'],{'operation':parseFilterValue(this['$']['*operationTooltip'])}),this['$']['*currentFilter']=this['_filter'];},this['defineAccessor']('filter',_0x48d62b=>{this['_operation']='filter',this['_filter']=_0x48d62b,this['$']['isOriginal']=_0x48d62b===_0x42aec7,this['$']['icon']=this['$']['isOriginal']?'original':'slider',this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-filter',{'name':_0x48d62b['toLowerCase']()}));}),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':[0x0,0x1]});const _0x574f7f=this['$']['*originalUrl'];if(this['_originalUrl']=_0x574f7f,this['$']['isOriginal'])this['ref']['icon-el']['classList']['add']('uc-original-icon');else this['_observer']['observe'](this);this['sub']('*currentFilter',_0x4b3221=>{this['$']['active']=_0x4b3221&&_0x4b3221===this['_filter'];}),this['sub']('isOriginal',_0x558dfa=>{this['$']['iconSize']=_0x558dfa?0x28:0x14;}),this['sub']('active',_0x18095=>{if(this['$']['isOriginal'])return;this['ref']['icon-el']['style']['opacity']=_0x18095?'1':'0';const _0x501991=this['ref']['preview-el'];_0x18095?_0x501991['style']['opacity']='0':_0x501991['style']['backgroundImage']&&(_0x501991['style']['opacity']='1');}),this['sub']('*networkProblems',async _0x2ac223=>{if(!_0x2ac223){const _0x30df82=await this['proxyUrl'](this['_previewSrc']()),_0x375459=this['ref']['preview-el'];_0x375459['style']['backgroundImage']&&(_0x375459['style']['backgroundImage']='none',_0x375459['style']['backgroundImage']='url('+_0x30df82+')');}});}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect'](),this['_cancelPreload']?.();}};EditorFilterControl['template']='\x0a\x20\x20<button\x20type=\x22button\x22\x20role=\x22option\x22\x20l10n=\x22@title:title-prop;@aria-label:title-prop\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-preview\x22\x20ref=\x22preview-el\x22></div>\x0a\x20\x20\x20\x20<uc-icon\x20ref=\x22icon-el\x22\x20set=\x22@name:\x20icon;\x20@size:\x20iconSize;\x22></uc-icon>\x0a\x20\x20</button>\x0a';var throttle=(_0x3691de,_0x1f3ecf)=>{let _0x5442cf,_0x3c88b3=!0x1,_0x5e2052=0x0;const _0x426ddf=(..._0x2817f8)=>{_0x3c88b3?(_0x5442cf&&clearTimeout(_0x5442cf),_0x5442cf=setTimeout(()=>{Date['now']()-_0x5e2052>=_0x1f3ecf&&(_0x3691de(..._0x2817f8),_0x5e2052=Date['now']());},Math['max'](_0x1f3ecf-(Date['now']()-_0x5e2052),0x0))):(_0x3691de(..._0x2817f8),_0x5e2052=Date['now'](),_0x3c88b3=!0x0);};return Object['defineProperty'](_0x426ddf,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{_0x5442cf&&clearTimeout(_0x5442cf);}}),_0x426ddf;};function _0x285d21(_0x2d2ebe,_0x5b2778){const _0xdbe30={};for(const _0x36edad of _0x5b2778){const _0x2a386a=_0x2d2ebe[_0x36edad];(Object['hasOwn'](_0x2d2ebe,_0x36edad)||void 0x0!==_0x2a386a)&&(_0xdbe30[_0x36edad]=_0x2a386a);}return _0xdbe30;}function _0x3fff80(_0x51f988,_0x527cbb,_0xd74d65){const _0x30fdc1=window['devicePixelRatio'],_0x6f63f1=Math['min'](Math['ceil'](_0x527cbb*_0x30fdc1),0xbb8),_0xfc1142=_0x30fdc1>=0x2?'lightest':'normal';return createCdnUrl(_0x51f988,createCdnUrlModifiers(_0x202fe6,transformationsToOperations(_0xd74d65),'quality/'+_0xfc1142,'stretch/off/-/resize/'+_0x6f63f1+'x','@clib/'+_0x4366e2+'/'+_0x319797+'/uc-cloud-image-editor/'));}function validateCrop(_0x4f1425){if(!_0x4f1425)return!0x0;const _0x57ceef=[({dimensions:_0x1bf721,coords:_0x5d2fae})=>[..._0x1bf721,..._0x5d2fae]['every'](_0x2202c2=>Number['isInteger'](_0x2202c2)&&Number['isFinite'](_0x2202c2)),({dimensions:_0x1243d0,coords:_0x37a117})=>_0x1243d0['every'](_0x44625a=>_0x44625a>0x0)&&_0x37a117['every'](_0x10a627=>_0x10a627>=0x0)];return _0x57ceef['every'](_0xf84186=>_0xf84186(_0x4f1425));}var EditorImageCropper=class extends _0x1e370d{['ctxOwner']=!0x0;['_commitDebounced'];['_handleResizeThrottled'];['_imageSize']={'width':0x0,'height':0x0};['_canvas'];['_ctx']=null;['_isActive']=!0x1;['_observer'];['_cancelPreload'];constructor(){super(),this['init$']={...this['init$'],'image':null,'*padding':_0x3985fe,'*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['_commitDebounced']=_0x1a7249(this['_commit']['bind'](this),0x12c),this['_handleResizeThrottled']=throttle(this['_handleResize']['bind'](this),0x64);}['_handleResize'](){this['isConnected']&&this['_isActive']&&(this['_initCanvas'](),this['_syncTransformations'](),this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['_syncTransformations'](){const _0x41da23=_0x285d21(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0x4413ca={...this['$']['*operations'],..._0x41da23};this['$']['*operations']=_0x4413ca;}['_initCanvas'](){const _0x100b8e=this['ref']['canvas-el'],_0x1b82b7=_0x100b8e['getContext']('2d'),_0x26720f=this['offsetWidth'],_0x4c99b1=this['offsetHeight'],_0x55f2fb=window['devicePixelRatio'];_0x100b8e['style']['width']=_0x26720f+'px',_0x100b8e['style']['height']=_0x4c99b1+'px',_0x100b8e['width']=_0x26720f*_0x55f2fb,_0x100b8e['height']=_0x4c99b1*_0x55f2fb,_0x1b82b7?.['scale'](_0x55f2fb,_0x55f2fb),this['_canvas']=_0x100b8e,this['_ctx']=_0x1b82b7;}['_alignImage'](){if(!this['_isActive']||!this['$']['image'])return;const _0x123426=this['$']['image'],_0x28edb7=this['$']['*padding'],_0x40f23e=this['$']['*operations'],{rotate:_0x26f472}=_0x40f23e,_0x3a70cd=this['offsetWidth'],_0x18ea66=this['offsetHeight'],_0x3e6674=rotateSize({'width':_0x123426['naturalWidth'],'height':_0x123426['naturalHeight']},_0x26f472);let _0x3ee656;if(_0x3e6674['width']>_0x3a70cd-0x2*_0x28edb7||_0x3e6674['height']>_0x18ea66-0x2*_0x28edb7){const _0x3b7221=_0x3e6674['width']/_0x3e6674['height'];if(_0x3b7221>_0x3a70cd/_0x18ea66){const _0x42df08=_0x3a70cd-0x2*_0x28edb7,_0x4d4516=_0x42df08/_0x3b7221;_0x3ee656={'x':0x0+_0x28edb7,'y':_0x28edb7+(_0x18ea66-0x2*_0x28edb7)/0x2-_0x4d4516/0x2,'width':_0x42df08,'height':_0x4d4516};}else{const _0x2da900=_0x18ea66-0x2*_0x28edb7,_0x53038d=_0x2da900*_0x3b7221;_0x3ee656={'x':_0x28edb7+(_0x3a70cd-0x2*_0x28edb7)/0x2-_0x53038d/0x2,'y':0x0+_0x28edb7,'width':_0x53038d,'height':_0x2da900};}}else{const {width:_0x1dbd7b,height:_0x10d4c0}=_0x3e6674;_0x3ee656={'x':_0x28edb7+(_0x3a70cd-0x2*_0x28edb7)/0x2-_0x1dbd7b/0x2,'y':_0x28edb7+(_0x18ea66-0x2*_0x28edb7)/0x2-_0x10d4c0/0x2,'width':_0x1dbd7b,'height':_0x10d4c0};}this['$']['*imageBox']=roundRect(_0x3ee656);}['_alignCrop'](){let _0x413240=this['$']['*cropBox'];const _0x31805d=this['$']['*imageBox'],_0x3ce5e2=this['$']['*operations'],{rotate:_0x182573}=_0x3ce5e2,_0x27bb18=this['$']['*editorTransformations']['crop'],{width:_0x1954ac,x:_0x5149f0,y:_0x1e3e93}=_0x31805d;if(_0x27bb18){const {dimensions:[_0x481371,_0x134bc2],coords:[_0x19a3ef,_0x30b4cb]}=_0x27bb18,{width:_0x221179}=rotateSize(this['_imageSize'],_0x182573),_0x3fa98c=_0x1954ac/_0x221179;_0x413240=constraintRect(roundRect({'x':_0x5149f0+_0x19a3ef*_0x3fa98c,'y':_0x1e3e93+_0x30b4cb*_0x3fa98c,'width':_0x481371*_0x3fa98c,'height':_0x134bc2*_0x3fa98c}),_0x31805d);}const _0x4caef1=this['$']['*currentAspectRatio'],_0x5c74c9=_0x4caef1?_0x4caef1['width']/_0x4caef1['height']:void 0x0;if(!isRectInsideRect(_0x413240,_0x31805d)||_0x5c74c9&&!isRectMatchesAspectRatio(_0x413240,_0x5c74c9)){const _0x236d94=_0x31805d['width']/_0x31805d['height'];let _0x47dedc=_0x31805d['width'],_0x168545=_0x31805d['height'];_0x5c74c9&&(_0x236d94>_0x5c74c9?_0x47dedc=Math['min'](_0x31805d['height']*_0x5c74c9,_0x31805d['width']):_0x168545=Math['min'](_0x31805d['width']/_0x5c74c9,_0x31805d['height'])),_0x413240={'x':_0x31805d['x']+_0x31805d['width']/0x2-_0x47dedc/0x2,'y':_0x31805d['y']+_0x31805d['height']/0x2-_0x168545/0x2,'width':_0x47dedc,'height':_0x168545};}this['$']['*cropBox']=constraintRect(roundRect(_0x413240),_0x31805d);}['_drawImage'](){const _0x8797b=this['_ctx'];if(!_0x8797b)return;const _0x286f9f=this['$']['image'],_0x48abad=this['$']['*imageBox'],_0x52cdd4=this['$']['*operations'],{mirror:_0xf3a95a,flip:_0x107924,rotate:_0x37aa26}=_0x52cdd4,_0x4facf6=rotateSize({'width':_0x48abad['width'],'height':_0x48abad['height']},_0x37aa26);_0x8797b['save'](),_0x8797b['translate'](_0x48abad['x']+_0x48abad['width']/0x2,_0x48abad['y']+_0x48abad['height']/0x2),_0x8797b['rotate'](_0x37aa26*Math['PI']*-0x1/0xb4),_0x8797b['scale'](_0xf3a95a?-0x1:0x1,_0x107924?-0x1:0x1),_0x8797b['drawImage'](_0x286f9f,-_0x4facf6['width']/0x2,-_0x4facf6['height']/0x2,_0x4facf6['width'],_0x4facf6['height']),_0x8797b['restore']();}['_draw'](){if(!(this['_isActive']&&this['$']['image']&&this['_canvas']&&this['_ctx']))return;const _0x26179d=this['_canvas'];this['_ctx']['clearRect'](0x0,0x0,_0x26179d['width'],_0x26179d['height']),this['_drawImage']();}['_animateIn']({fromViewer:_0x5563bf}){this['$']['image']&&(this['ref']['frame-el']['toggleThumbs'](!0x0),this['_transitionToImage'](),setTimeout(()=>{this['className']=_0x210797({'uc-active_from_viewer':_0x5563bf,'uc-active_from_editor':!_0x5563bf,'uc-inactive_to_editor':!0x1});}));}['_getCropDimensions'](){const _0x268e48=this['$']['*cropBox'],_0xd1bbe3=this['$']['*imageBox'],_0x405369=this['$']['*operations'],{rotate:_0xe4da71}=_0x405369,{width:_0x4db29a,height:_0x59f667}=_0xd1bbe3,{width:_0x20815b,height:_0x1286bf}=rotateSize(this['_imageSize'],_0xe4da71),{width:_0x2b7395,height:_0x340fd5}=_0x268e48,_0xe4abf3=_0x4db29a/_0x20815b,_0x571bfb=_0x59f667/_0x1286bf;return[_0xc9ad77(Math['round'](_0x2b7395/_0xe4abf3),0x1,_0x20815b),_0xc9ad77(Math['round'](_0x340fd5/_0x571bfb),0x1,_0x1286bf)];}['_getCropTransformation'](){const _0x47bdaa=this['$']['*cropBox'],_0x2295ca=this['$']['*imageBox'],_0x35082a=this['$']['*operations'],{rotate:_0x1e64e0}=_0x35082a,{width:_0x82796a,height:_0x46195f,x:_0x2b38df,y:_0x2d34c4}=_0x2295ca,{width:_0x29fe07,height:_0x29e482}=rotateSize(this['_imageSize'],_0x1e64e0),{x:_0x373dd4,y:_0x4a92b1}=_0x47bdaa,_0x524335=_0x82796a/_0x29fe07,_0x5be3d3=_0x46195f/_0x29e482,_0x43f436=this['_getCropDimensions'](),_0x4d1a94={'dimensions':_0x43f436,'coords':[_0xc9ad77(Math['round']((_0x373dd4-_0x2b38df)/_0x524335),0x0,_0x29fe07-_0x43f436[0x0]),_0xc9ad77(Math['round']((_0x4a92b1-_0x2d34c4)/_0x5be3d3),0x0,_0x29e482-_0x43f436[0x1])]};if(validateCrop(_0x4d1a94)){if(_0x43f436[0x0]!==_0x29fe07||_0x43f436[0x1]!==_0x29e482)return _0x4d1a94;}else console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x4d1a94});}['_commit'](){if(!this['isConnected']||!this['_imageSize'])return;const _0x2b1398=this['$']['*operations'],{rotate:_0x1bcc6d,mirror:_0x28506c,flip:_0x4d5222}=_0x2b1398,_0x53b469=this['_getCropTransformation'](),_0x3177e3={...this['$']['*editorTransformations'],'crop':_0x53b469,'rotate':_0x1bcc6d,'mirror':_0x28506c,'flip':_0x4d5222};this['$']['*editorTransformations']=_0x3177e3;}['setValue'](_0x39852b,_0x48a33a){this['$']['*operations']={...this['$']['*operations'],[_0x39852b]:_0x48a33a},this['_isActive']&&(this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['getValue'](_0x4a48bf){return this['$']['*operations'][_0x4a48bf];}async['activate'](_0x1e8d6a,{fromViewer:_0x38f66c}={}){if(!this['_isActive']){this['_isActive']=!0x0,this['_imageSize']=_0x1e8d6a,this['removeEventListener']('transitionend',this['_reset']);try{const _0x36260a=this['$']['*originalUrl'],_0x19982c=this['$']['*editorTransformations'];this['$']['image']=await this['_waitForImage'](_0x36260a,_0x19982c),this['_syncTransformations'](),this['_animateIn']({'fromViewer':_0x38f66c});}catch(_0x2e41b7){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0x2e41b7}),this['telemetryManager']['sendEventError'](_0x2e41b7,'cloud\x20editor\x20image.\x20Failed\x20to\x20activate\x20cropper');}this['_observer']=new ResizeObserver(_0x2b5117=>{const [_0x34afe8]=_0x2b5117;if(!_0x34afe8)return;_0x34afe8['contentRect']['width']>0x0&&_0x34afe8['contentRect']['height']>0x0&&this['_isActive']&&this['$']['image']&&this['_handleResizeThrottled']();}),this['_observer']['observe'](this);}}['deactivate']({reset:_0x5cf19d=!0x1}={}){this['_isActive']&&(!_0x5cf19d&&this['_commit'](),this['_isActive']=!0x1,this['_transitionToCrop'](),this['className']=_0x210797({'uc-active_from_viewer':!0x1,'uc-active_from_editor':!0x1,'uc-inactive_to_editor':!0x0}),this['ref']['frame-el']['toggleThumbs'](!0x1),this['addEventListener']('transitionend',this['_reset'],{'once':!0x0}),this['_observer']?.['disconnect']());}['_transitionToCrop'](){const _0x5060e0=this['_getCropDimensions'](),_0x1affe=this['$']['*cropBox'],_0x213839=Math['min'](this['offsetWidth'],_0x5060e0[0x0])/_0x1affe['width'],_0x4d1cd2=Math['min'](this['offsetHeight'],_0x5060e0[0x1])/_0x1affe['height'],_0x3eb7f0=Math['min'](_0x213839,_0x4d1cd2),_0xe8a703=_0x1affe['x']+_0x1affe['width']/0x2,_0x3b8bd7=_0x1affe['y']+_0x1affe['height']/0x2;this['style']['transform']='scale('+_0x3eb7f0+')\x20translate('+(this['offsetWidth']/0x2-_0xe8a703)/_0x3eb7f0+'px,\x20'+(this['offsetHeight']/0x2-_0x3b8bd7)/_0x3eb7f0+'px)',this['style']['transformOrigin']=_0xe8a703+'px\x20'+_0x3b8bd7+'px';}['_transitionToImage'](){const _0x48d55c=this['$']['*cropBox'],_0x49a72e=_0x48d55c['x']+_0x48d55c['width']/0x2,_0x30bb8f=_0x48d55c['y']+_0x48d55c['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x49a72e+'px\x20'+_0x30bb8f+'px';}['_reset'](){this['_isActive']||(this['$']['image']=null);}async['_waitForImage'](_0x32f6aa,_0x5291d3){const _0x17d1dc=this['offsetWidth'];_0x5291d3={..._0x5291d3,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};const _0x5c1751=await this['proxyUrl'](_0x3fff80(_0x32f6aa,_0x17d1dc,_0x5291d3)),{promise:_0x3ae7b0,cancel:_0x2d55b4,image:_0x34fb33}=_0x26868f(_0x5c1751),_0x1bb751=this['_handleImageLoading'](_0x5c1751);return _0x34fb33['addEventListener']('load',_0x1bb751,{'once':!0x0}),_0x34fb33['addEventListener']('error',_0x1bb751,{'once':!0x0}),this['_cancelPreload']?.(),this['_cancelPreload']=_0x2d55b4,_0x3ae7b0['then'](()=>_0x34fb33)['catch'](_0x49e621=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0x49e621}),this['$']['*networkProblems']=!0x0,_0x34fb33));}['_handleImageLoading'](_0x312422){const _0x11a385='crop',_0x32abf2=this['$']['*loadingOperations'];let _0x276195=_0x32abf2['get'](_0x11a385);return _0x276195||(_0x276195=new Map(),_0x32abf2['set'](_0x11a385,_0x276195)),_0x276195['get'](_0x312422)||(_0x276195['set'](_0x312422,!0x0),this['$']['*loadingOperations']=_0x32abf2),()=>{const _0x145def=_0x32abf2['get'](_0x11a385);_0x145def?.['has'](_0x312422)&&(_0x145def['delete'](_0x312422),this['$']['*loadingOperations']=_0x32abf2);};}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['_draw']();}),this['sub']('*cropBox',()=>{this['$']['image']&&this['_commitDebounced']();}),this['sub']('*currentAspectRatio',()=>{this['_alignCrop']();}),setTimeout(()=>{this['sub']('*networkProblems',_0x26dc5b=>{_0x26dc5b||this['_isActive']&&this['activate'](this['_imageSize'],{'fromViewer':!0x1});});},0x0);}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};function _0xcd6fde(_0x46dc27,_0x2076f4,_0xf82bd){const _0x1bd3c9=_0xf82bd-0x1,_0x42fc06=new Array(_0xf82bd);for(let _0x4f91cd=_0x1bd3c9;_0x4f91cd>=0x0;_0x4f91cd-=0x1)_0x42fc06[_0x4f91cd]=Math['ceil']((_0x4f91cd*_0x2076f4+(_0x1bd3c9-_0x4f91cd)*_0x46dc27)/_0x1bd3c9);return _0x42fc06;}function isOperationKey(_0x467318){return'string'==typeof _0x467318&&_0x467318 in _0x2c5cf6;}function splitBySections(_0xd471d1){const _0x4f930a=[];for(let _0x530611=0x0;_0x530611<_0xd471d1['length']-0x1;_0x530611+=0x1){const _0x1197ee=_0xd471d1[_0x530611],_0x521167=_0xd471d1[_0x530611+0x1];'number'==typeof _0x1197ee&&'number'==typeof _0x521167&&_0x4f930a['push']([_0x1197ee,_0x521167]);}return _0x4f930a;}function calculateOpacities(_0xb4712b,_0x576a20,_0x44c4b1){const _0x1df8a7=splitBySections(_0xb4712b)['find'](([_0x15b391,_0x40ce43])=>_0x15b391<=_0x576a20&&_0x576a20<=_0x40ce43);if(!_0x1df8a7)return _0xb4712b['map'](()=>0x0);const [_0x483f28,_0x127ae9]=_0x1df8a7;return _0xb4712b['map'](_0x58ae37=>{const _0x3b29e5=Math['abs'](_0x483f28-_0x127ae9)||0x1,_0x26e1fa=Math['abs'](_0x576a20-_0x483f28)/_0x3b29e5;return _0x483f28===_0x58ae37?_0x576a20>_0x44c4b1?0x1:0x1-_0x26e1fa:_0x127ae9===_0x58ae37?_0x576a20>=_0x44c4b1?_0x26e1fa:0x1:0x0;});}function calculateZIndices(_0x339e21,_0x3725c0){return _0x339e21['map']((_0x25aa70,_0xff3a45)=>_0x25aa70<_0x3725c0?_0x339e21['length']-_0xff3a45:_0xff3a45);}function keypointsRange(_0x5df319,_0x3d6772){const _0x10339b=_0x2c5cf6[_0x5df319]['keypointsNumber'],{range:_0x34f539,zero:_0x80281b}=_0x2c5cf6[_0x5df319];return[...new Set([..._0xcd6fde(_0x34f539[0x0],_0x80281b,_0x10339b+0x1),..._0xcd6fde(_0x80281b,_0x34f539[0x1],_0x10339b+0x1),_0x80281b,_0x3d6772])]['sort']((_0x56bf87,_0x1a0a51)=>_0x56bf87-_0x1a0a51);}EditorImageCropper['template']='\x0a\x20\x20<canvas\x20class=\x22uc-canvas\x22\x20ref=\x22canvas-el\x22></canvas>\x0a\x20\x20<uc-crop-frame\x20ref=\x22frame-el\x22></uc-crop-frame>\x0a';var EditorImageFader=class extends _0x1e370d{['_isActive']=!0x1;['_hidden']=!0x0;['_operation']='initial';['_filter'];['_value'];['_transformations']={};['_keypoints']=[];['_container'];['_previewImage'];['_cancelLastImages'];['_cancelBatchPreload'];['_url'];['_fromViewer'];['_raf']=0x0;['_addKeypointDebounced']=_0x1a7249(this['_addKeypoint']['bind'](this),0x258);constructor(){super(),this['classList']['add']('uc-inactive_to_cropper');}['_handleImageLoading'](_0x54133c){const _0x1d2d93=this['_operation'],_0x5b23d1=this['$']['*loadingOperations'];_0x5b23d1['has'](_0x1d2d93)||_0x5b23d1['set'](_0x1d2d93,new Map());const _0x511240=_0x5b23d1['get'](_0x1d2d93);return _0x511240&&!_0x511240['get'](_0x54133c)&&(_0x511240['set'](_0x54133c,!0x0),this['$']['*loadingOperations']=_0x5b23d1),()=>{const _0x5d58be=_0x5b23d1['get'](_0x1d2d93);_0x5d58be?.['has'](_0x54133c)&&(_0x5d58be['delete'](_0x54133c),this['$']['*loadingOperations']=_0x5b23d1);};}['_flush'](){window['cancelAnimationFrame'](this['_raf']),this['_raf']=window['requestAnimationFrame'](()=>{for(const _0x571f96 of this['_keypoints']){const {image:_0xadf432}=_0x571f96;_0xadf432&&(_0xadf432['style']['opacity']=_0x571f96['opacity']['toString'](),_0xadf432['style']['zIndex']=_0x571f96['zIndex']['toString']());}});}['_imageSrc']({url:_0x5252ea=this['_url'],filter:_0x5164f1=this['_filter']??void 0x0,operation:_0x2126c4,value:_0x180606}={}){if(!_0x5252ea)throw new Error('URL\x20is\x20not\x20defined');const _0x3552c9={...this['_transformations']};_0x2126c4&&('filter'===_0x2126c4?_0x5164f1&&'number'==typeof _0x180606&&(_0x3552c9['filter']={'name':_0x5164f1,'amount':_0x180606}):'number'==typeof _0x180606&&(_0x3552c9[_0x2126c4]=_0x180606));const _0x10282c=this['offsetWidth'];return this['proxyUrl'](_0x3fff80(_0x5252ea,_0x10282c,_0x3552c9));}async['_constructKeypoint'](_0x521059,_0x4c1f79){return{'src':await this['_imageSrc']({'operation':_0x521059,'value':_0x4c1f79}),'image':void 0x0,'opacity':0x0,'zIndex':0x0,'value':_0x4c1f79};}['_isSame'](_0x35e7a9,_0x51b43d){return this['_operation']===_0x35e7a9&&this['_filter']===_0x51b43d;}async['_addKeypoint'](_0x592a98,_0x406422,_0x45cf04){const _0x35bb3b=()=>!this['_isSame'](_0x592a98,_0x406422)||this['_value']!==_0x45cf04||!!this['_keypoints']['find'](_0x4c0169=>_0x4c0169['value']===_0x45cf04);if(_0x35bb3b())return;const _0x1420b2=await this['_constructKeypoint'](_0x592a98,_0x45cf04),_0x18f47a=new Image();_0x18f47a['src']=_0x1420b2['src'];const _0x48a7b6=this['_handleImageLoading'](_0x1420b2['src']);_0x18f47a['addEventListener']('load',_0x48a7b6,{'once':!0x0}),_0x18f47a['addEventListener']('error',_0x48a7b6,{'once':!0x0}),_0x1420b2['image']=_0x18f47a,_0x18f47a['classList']['add']('uc-fader-image'),_0x18f47a['addEventListener']('load',()=>{if(_0x35bb3b())return;const _0x1ead13=this['_keypoints'];let _0x551a9a=_0x1ead13['findIndex'](_0x179efd=>_0x179efd['value']>_0x45cf04);-0x1===_0x551a9a&&(_0x551a9a=_0x1ead13['length']);const _0x213ded=_0x1ead13[_0x551a9a],_0x20e63d=_0x213ded?.['image'],_0x4fe344=this['_container'];!_0x4fe344||_0x20e63d&&!_0x4fe344['contains'](_0x20e63d)||(_0x1ead13['splice'](_0x551a9a,0x0,_0x1420b2),_0x20e63d&&_0x4fe344['insertBefore'](_0x18f47a,_0x20e63d),this['_update'](_0x592a98,_0x45cf04));},{'once':!0x0}),_0x18f47a['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}['set'](_0x969841){const _0x384aff='string'==typeof _0x969841?parseInt(_0x969841,0xa):_0x969841;isOperationKey(this['_operation'])&&Number['isFinite'](_0x384aff)&&(this['_update'](this['_operation'],_0x384aff),this['_addKeypointDebounced'](this['_operation'],this['_filter'],_0x384aff));}['_update'](_0x50e24e,_0x3dec2c){this['_operation']=_0x50e24e,this['_value']=_0x3dec2c;const {zero:_0x203d4c}=_0x2c5cf6[_0x50e24e],_0x5cf10c=this['_keypoints']['map'](_0x3b40c7=>_0x3b40c7['value']),_0x45d9a6=calculateOpacities(_0x5cf10c,_0x3dec2c,_0x203d4c),_0xbc11dd=calculateZIndices(_0x5cf10c,_0x203d4c);this['_keypoints']['forEach']((_0xb6bbcd,_0x4710e9)=>{const _0x3ad300=_0x45d9a6[_0x4710e9],_0x22da15=_0xbc11dd[_0x4710e9];'number'==typeof _0x3ad300&&(_0xb6bbcd['opacity']=_0x3ad300),'number'==typeof _0x22da15&&(_0xb6bbcd['zIndex']=_0x22da15);}),this['_flush']();}['_createPreviewImage'](){const _0x4f4859=new Image();return _0x4f4859['classList']['add']('uc-fader-image','uc-fader-image--preview'),_0x4f4859['style']['opacity']='0',_0x4f4859;}async['_initNodes'](){const _0x2cbfdd=document['createDocumentFragment']();this['_previewImage']=this['_previewImage']||this['_createPreviewImage']();const _0x142d87=this['_previewImage'];this['contains'](_0x142d87)||_0x2cbfdd['appendChild'](_0x142d87);const _0x35e1c6=document['createElement']('div');_0x2cbfdd['appendChild'](_0x35e1c6);const _0x31fc2b=this['_keypoints']['map'](_0x40f618=>_0x40f618['src']),{images:_0x1e9719,promise:_0x3e9fe6,cancel:_0xbb2540}=batchPreloadImages(_0x31fc2b);_0x1e9719['forEach'](_0x233ddd=>{const _0x5d6f68=this['_handleImageLoading'](_0x233ddd['src']);_0x233ddd['addEventListener']('load',_0x5d6f68),_0x233ddd['addEventListener']('error',_0x5d6f68);}),this['_cancelLastImages']=()=>{_0xbb2540(),this['_cancelLastImages']=void 0x0;};const _0x50daa9=this['_operation'],_0xfce307=this['_filter'];await _0x3e9fe6,this['_isActive']&&this['_isSame'](_0x50daa9,_0xfce307)&&(this['_container']?.['remove'](),this['_container']=_0x35e1c6,this['_keypoints']['forEach']((_0x545a7a,_0x3855a6)=>{const _0x5f3d44=_0x1e9719[_0x3855a6];_0x5f3d44&&(_0x5f3d44['classList']['add']('uc-fader-image'),_0x545a7a['image']=_0x5f3d44,this['_container']?.['appendChild'](_0x5f3d44));}),this['appendChild'](_0x2cbfdd),this['_flush']());}async['setTransformations'](_0x50db15){if(this['_transformations']=_0x50db15,this['_previewImage']){const _0x551882=await this['_imageSrc'](),_0x274684=this['_handleImageLoading'](_0x551882);this['_previewImage']['src']=_0x551882,this['_previewImage']['addEventListener']('load',_0x274684,{'once':!0x0}),this['_previewImage']['addEventListener']('error',_0x274684,{'once':!0x0}),this['_previewImage']['style']['opacity']='1',this['_previewImage']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:_0x3f1b09,filter:_0x11a733,operation:_0x15cbf6,value:_0x52e4f9}){if(!_0x15cbf6||'number'!=typeof _0x52e4f9)return;this['_cancelBatchPreload']?.();const _0x1a8844=keypointsRange(_0x15cbf6,_0x52e4f9),_0x3630c7=await Promise['all'](_0x1a8844['map'](_0x25a67b=>this['_imageSrc']({'url':_0x3f1b09,'filter':_0x11a733,'operation':_0x15cbf6,'value':_0x25a67b}))),{cancel:_0x111eeb}=batchPreloadImages(_0x3630c7);this['_cancelBatchPreload']=_0x111eeb;}['_setOriginalSrc'](_0x41e86f){const _0x4492d2=this['_previewImage']||this['_createPreviewImage']();if(this['contains'](_0x4492d2)||this['appendChild'](_0x4492d2),this['_previewImage']=_0x4492d2,_0x4492d2['src']===_0x41e86f)return _0x4492d2['style']['opacity']='1',_0x4492d2['style']['transform']='scale(1)',void(this['className']=_0x210797({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));_0x4492d2['style']['opacity']='0';const _0x24b069=this['_handleImageLoading'](_0x41e86f);_0x4492d2['addEventListener']('error',_0x24b069,{'once':!0x0}),_0x4492d2['src']=_0x41e86f,_0x4492d2['addEventListener']('load',()=>{_0x24b069(),_0x4492d2&&(_0x4492d2['style']['opacity']='1',_0x4492d2['style']['transform']='scale(1)',this['className']=_0x210797({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0x4492d2['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:_0xd4dbe4,operation:_0x43fcbf,value:_0x239cae,filter:_0x5ce988,fromViewer:_0x32828f}){this['_isActive']=!0x0,this['_hidden']=!0x1,this['_url']=_0xd4dbe4,this['_operation']=_0x43fcbf??'initial',this['_value']=_0x239cae,this['_filter']=_0x5ce988,this['_fromViewer']=_0x32828f;if('number'!=typeof _0x239cae&&!_0x5ce988){const _0x4a5791=await this['_imageSrc']({'operation':_0x43fcbf,'value':_0x239cae});return this['_setOriginalSrc'](_0x4a5791),void this['_container']?.['remove']();}_0x43fcbf&&'number'==typeof _0x239cae&&(this['_keypoints']=await Promise['all'](keypointsRange(_0x43fcbf,_0x239cae)['map'](_0x5bddce=>this['_constructKeypoint'](_0x43fcbf,_0x5bddce))),this['_update'](_0x43fcbf,_0x239cae),this['_initNodes']());}['deactivate']({hide:_0x1eafc8=!0x0}={}){this['_isActive']=!0x1,this['_cancelLastImages']?.(),this['_cancelBatchPreload']?.(),_0x1eafc8&&!this['_hidden']?(this['_hidden']=!0x0,this['_previewImage']&&(this['_previewImage']['style']['transform']='scale(1)'),this['className']=_0x210797({'uc-active_from_viewer':!0x1,'uc-active_from_cropper':!0x1,'uc-inactive_to_cropper':!0x0}),this['addEventListener']('transitionend',()=>{this['_container']?.['remove']();},{'once':!0x0})):this['_container']?.['remove']();}},EditorOperationControl=class extends EditorButtonControl{['_operation']='';['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x3c35c1=>{this['$']['*sliderEl']['setOperation'](this['_operation']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['_operation'],this['telemetryManager']['sendEventCloudImageEditor'](_0x3c35c1,this['$']['*tabId'],{'operation':parseFilterValue(this['$']['*operationTooltip'])});},this['defineAccessor']('operation',_0x1c2447=>{_0x1c2447&&(this['_operation']=_0x1c2447,this['$']['icon']=_0x1c2447,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](_0x1c2447)['toLowerCase']()})),this['bindL10n']('title',()=>this['l10n'](_0x1c2447)));}),this['sub']('*editorTransformations',_0x24457d=>{if(!this['_operation'])return;const {zero:_0x44ae8b}=_0x2c5cf6[this['_operation']],_0x1d5274=_0x24457d[this['_operation']],_0x1d23eb=void 0x0!==_0x1d5274&&_0x1d5274!==_0x44ae8b;this['$']['active']=_0x1d23eb;});}},_0x9937f3=0x1,EditorScroller=class extends _0x1e370d{['initCallback'](){super['initCallback'](),this['addEventListener']('wheel',_0xcfc8ba=>{_0xcfc8ba['preventDefault']();const {deltaY:_0x13759d,deltaX:_0x2b84f5}=_0xcfc8ba;Math['abs'](_0x2b84f5)>_0x9937f3?this['scrollLeft']+=_0x2b84f5:this['scrollLeft']+=_0x13759d;},{'passive':!0x1}),this['addEventListener']('scroll',()=>{},{'passive':!0x0});}};function _0x52be98(_0x5873b3){return'\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-tab-toggle\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabToggle.'+_0x5873b3+';\x20styles:\x20presence.tabToggleStyles;\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-btn-ui\x0a\x20\x20\x20\x20\x20\x20\x20\x20theme=\x22tab\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20ref=\x22tab-toggle-'+_0x5873b3+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22'+_0x5873b3+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22'+_0x5873b3+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20on.clickTab;\x20aria-role:tab_role;\x20aria-controls:tab_'+_0x5873b3+';\x20title-prop:\x20a11y-editor-tab-'+_0x5873b3+'\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20</uc-btn-ui>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20';}function renderTabContent(_0x404f25){return'\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20id=\x22tab_'+_0x404f25+'\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-tab-content\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabContent.'+_0x404f25+';\x20styles:\x20presence.tabContentStyles\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-editor-scroller\x20hidden-scrollbar>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-controls-list_align\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20role=\x22listbox\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-orientation=\x22horizontal\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-controls-list_inner\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ref=\x22controls-list-'+_0x404f25+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20</uc-editor-scroller>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20';}EditorScroller['template']='\x20<slot></slot>\x20';var EditorToolbar=class extends _0x1e370d{['_debouncedShowLoader'];['_cancelPreload'];['_updateInfoTooltip'];constructor(){super(),this['init$']={...this['init$'],'*sliderEl':null,'*listAspectRatioEl':null,'*loadingOperations':new Map(),'*showSlider':!0x1,'*showListAspectRatio':!0x1,'hideSliderOrList':!0x1,'*currentFilter':_0x42aec7,'*currentOperation':null,'showLoader':!0x1,'filters':_0x36a4ca,'colorOperations':_0x5a17b4,'cropOperations':_0x433820,'*operationTooltip':null,'presence.mainToolbar':!0x0,'presence.subToolbar':!0x1,'presence.tabToggles':!0x0,'presence.tabContent.crop':!0x1,'presence.tabContent.tuning':!0x1,'presence.tabContent.filters':!0x1,'presence.tabToggle.crop':!0x0,'presence.tabToggle.tuning':!0x0,'presence.tabToggle.filters':!0x0,'presence.subTopToolbarStyles':{'hidden':'uc-sub-toolbar--top-hidden','visible':'uc-sub-toolbar--visible'},'presence.subBottomToolbarStyles':{'hidden':'uc-sub-toolbar--bottom-hidden','visible':'uc-sub-toolbar--visible'},'presence.tabContentStyles':{'hidden':'uc-tab-content--hidden','visible':'uc-tab-content--visible'},'presence.tabToggleStyles':{'hidden':'uc-tab-toggle--hidden','visible':'uc-tab-toggle--visible'},'presence.tabTogglesStyles':{'hidden':'uc-tab-toggles--hidden','visible':'uc-tab-toggles--visible'},'on.cancel':_0x48f4a1=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x48f4a1,this['$']['*tabId'],{'action':'cancel'}),this['_cancelPreload']?.(),(0x0,this['$']['*on.cancel'])();},'on.apply':_0xd9335=>{this['telemetryManager']['sendEventCloudImageEditor'](_0xd9335,this['$']['*tabId'],{'action':'apply'}),(0x0,this['$']['*on.apply'])(this['$']['*editorTransformations']);},'on.applySlider':_0x590209=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x590209,this['$']['*tabId'],{'action':'apply-slider','operation':parseFilterValue(this['$']['*operationTooltip'])}),(this['ref']['slider-el']['apply'](),this['_onSliderClose']());},'on.cancelSlider':_0xe0e8da=>{this['telemetryManager']['sendEventCloudImageEditor'](_0xe0e8da,this['$']['*tabId'],{'action':'cancel-slider'}),(this['ref']['slider-el']['cancel'](),this['_onSliderClose']());},'on.clickTab':_0x341aef=>{const _0x88136f=_0x341aef['currentTarget'],_0x1cf205=_0x88136f?.['getAttribute']('data-id');_0x1cf205&&(this['telemetryManager']['sendEventCloudImageEditor'](_0x341aef,_0x1cf205),this['_activateTab'](_0x1cf205,{'fromViewer':!0x1}));},'tab_role':'tab',['tab_'+_0xb766e0['TUNING']]:'tab_'+_0xb766e0['TUNING'],['tab_'+_0xb766e0['CROP']]:'tab_'+_0xb766e0['CROP'],['tab_'+_0xb766e0['FILTERS']]:'tab_'+_0xb766e0['FILTERS'],'cancel':'cancel','apply':'apply','a11y-editor-tab-filters':'a11y-editor-tab-filters','a11y-editor-tab-tuning':'a11y-editor-tab-tuning','a11y-editor-tab-crop':'a11y-editor-tab-crop'},this['_debouncedShowLoader']=_0x1a7249(this['_showLoader']['bind'](this),0x1f4),this['_updateInfoTooltip']=_0x1a7249(this['_updateInfoTooltipHandler']['bind'](this),0x0);}['_onSliderClose'](){(this['$']['*showSlider']=!0x1,this['$']['*tabId']===_0xb766e0['CROP']&&(this['$']['*showListAspectRatio']=!0x1),this['$']['*tabId']===_0xb766e0['TUNING'])&&this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',!0x1);}['_createOperationControl'](_0x1d0823){const _0x41447d=new EditorOperationControl();return _0x41447d['operation']=_0x1d0823,_0x41447d;}['_createFilterControl'](_0x57fd32){const _0xb66a69=new EditorFilterControl();return _0xb66a69['filter']=_0x57fd32,_0xb66a69;}['_createToggleControl'](_0x3a733b){const _0x3a9ea5=new EditorCropButtonControl();return _0x3a9ea5['operation']=_0x3a733b,_0x3a9ea5;}['_createAspectRatioControl'](_0x59ab1e){const _0x52cd59=new EditorAspectRatioButtonControl();return _0x52cd59['aspectRatio']=_0x59ab1e,_0x52cd59;}['_createFreeformControl'](){return new EditorFreeformButtonControl();}['_clearListAspectRatio'](){const _0x279b91=this['$']['*listAspectRatioEl'];_0x279b91&&(_0x279b91['innerHTML']='');}['_renderControlsList'](_0x18caed){const _0x4c01b1=this['ref']['controls-list-'+_0x18caed],_0x44af5f=document['createDocumentFragment']();if(this['_clearListAspectRatio'](),_0x18caed===_0xb766e0['CROP']){const _0x9c8b84=this['$']['*cropPresetList'],_0x5a4872=_0x9c8b84['length']>=0x3;if(_0x5a4872){const _0x26f971=this['_createFreeformControl']();_0x44af5f['appendChild'](_0x26f971);}for(const _0x199205 of _0x9c8b84){const _0x364436=this['_createAspectRatioControl'](_0x199205);if(_0x44af5f['appendChild'](_0x364436),_0x5a4872){const _0x44f79d=this['$']['*listAspectRatioEl'];_0x44f79d?.['appendChild'](_0x364436);}}for(const _0x597b4d of this['$']['cropOperations']){const _0x4314d8=this['_createToggleControl'](_0x597b4d);_0x44af5f['appendChild'](_0x4314d8);}}else{if(_0x18caed===_0xb766e0['FILTERS']){const _0x513e07=this['$']['filters'];[_0x42aec7,..._0x513e07]['forEach'](_0xc74589=>{const _0x17bed4=this['_createFilterControl'](_0xc74589);_0x44af5f['appendChild'](_0x17bed4);});}else{if(_0x18caed===_0xb766e0['TUNING'])for(const _0x26cf95 of this['$']['colorOperations']){const _0x46e5ef=this['_createOperationControl'](_0x26cf95);_0x44af5f['appendChild'](_0x46e5ef);}}}[..._0x44af5f['children']]['forEach']((_0x5a0111,_0x5b64bc)=>{_0x5b64bc===_0x44af5f['childNodes']['length']-0x1&&_0x5a0111['classList']['add']('uc-controls-list_last-item');}),_0x4c01b1['innerHTML']='',_0x4c01b1['appendChild'](_0x44af5f);}['_activateTab'](_0x44afa0,{fromViewer:_0x3f55c3}={}){this['$']['*tabId']=_0x44afa0;const _0x43451f=this['$']['*faderEl'],_0x170c2f=this['$']['*cropperEl'];_0x44afa0===_0xb766e0['CROP']?(_0x43451f?.['deactivate'](),_0x170c2f?.['activate'](this['$']['*imageSize'],{'fromViewer':_0x3f55c3})):(_0x43451f?.['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0x3f55c3}),_0x170c2f?.['deactivate']());for(const _0x3e9915 of _0xa44afb){const _0x10fa78=_0x3e9915===_0x44afa0;this['ref']['tab-toggle-'+_0x3e9915]['active']=_0x10fa78,_0x10fa78?(this['_renderControlsList'](_0x44afa0),this['_syncTabIndicator']()):this['_unmountTabControls'](_0x3e9915),this['$']['presence.tabContent.'+_0x3e9915]=_0x10fa78;}}['_unmountTabControls'](_0x550498){const _0x4c9b21=this['ref']['controls-list-'+_0x550498];_0x4c9b21&&(_0x4c9b21['innerHTML']='');}['_syncTabIndicator'](){const _0x1bf3d5=this['ref']['tab-toggle-'+this['$']['*tabId']];this['ref']['tabs-indicator']['style']['transform']='translateX('+_0x1bf3d5['offsetLeft']+'px)';}async['_preloadEditedImage'](){if(this['$']['*imgContainerEl']&&this['$']['*originalUrl']){const _0x27a2b0=this['$']['*imgContainerEl']['offsetWidth'],_0x1674ee=await this['proxyUrl'](_0x3fff80(this['$']['*originalUrl'],_0x27a2b0,this['$']['*editorTransformations']));this['_cancelPreload']?.();const {cancel:_0x522e0e}=batchPreloadImages([_0x1674ee]);this['_cancelPreload']=()=>{_0x522e0e(),this['_cancelPreload']=void 0x0;};}}['_showLoader'](_0x1092cc){this['$']['showLoader']=_0x1092cc;}['_updateInfoTooltipHandler'](){const _0x47aa09=this['$']['*editorTransformations'],_0x2580a8=this['$']['*currentOperation'];let _0x421c14='',_0x33a0a1=!0x1;if(this['$']['*tabId']===_0xb766e0['FILTERS']){if(_0x33a0a1=!0x0,this['$']['*currentFilter']&&_0x47aa09?.['filter']?.['name']===this['$']['*currentFilter']){const _0x32b6fa=_0x47aa09?.['filter']?.['amount']||0x64;_0x421c14=this['$']['*currentFilter']+'\x20'+_0x32b6fa;}else _0x421c14=this['l10n'](_0x42aec7);}else{if(this['$']['*tabId']===_0xb766e0['TUNING']&&_0x2580a8){_0x33a0a1=!0x0;const _0x2ad3eb=_0x47aa09?.[_0x2580a8]||_0x2c5cf6[_0x2580a8]['zero'];_0x421c14=this['l10n'](_0x2580a8)+'\x20'+_0x2ad3eb;}}_0x33a0a1&&(this['$']['*operationTooltip']=_0x421c14),this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',_0x33a0a1);}['initCallback'](){super['initCallback'](),this['$']['*sliderEl']=this['ref']['slider-el'],this['$']['*listAspectRatioEl']=this['ref']['list-el'],this['sub']('*imageSize',_0x47ec77=>{_0x47ec77&&setTimeout(()=>{this['_activateTab'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0x573877=>{const _0x51d971=_0x573877?.['filter']?.['name'];this['$']['*currentFilter']!==_0x51d971&&(this['$']['*currentFilter']=_0x51d971);}),this['sub']('*currentFilter',()=>{this['_updateInfoTooltip']();}),this['sub']('*currentOperation',()=>{this['_updateInfoTooltip']();}),this['sub']('*tabId',()=>{this['_updateInfoTooltip']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']?.['deactivate']();}),this['sub']('*editorTransformations',_0xb14264=>{this['_preloadEditedImage'](),this['$']['*faderEl']?.['setTransformations'](_0xb14264);}),this['sub']('*loadingOperations',_0x42d53b=>{let _0x3057ba=!0x1;for(const [,_0x444733]of _0x42d53b['entries']()){if(_0x3057ba)break;for(const [,_0x560900]of _0x444733['entries']())if(_0x560900){_0x3057ba=!0x0;break;}}this['_debouncedShowLoader'](_0x3057ba);}),this['sub']('*showSlider',_0x29075a=>{this['$']['presence.subToolbar']=_0x29075a,this['$']['presence.mainToolbar']=!_0x29075a,this['$']['hideSliderOrList']=!0x0;}),this['sub']('*showListAspectRatio',_0x14d7df=>{this['$']['presence.subToolbar']=_0x14d7df,this['$']['presence.mainToolbar']=!_0x14d7df,this['$']['hideSliderOrList']=!0x1;}),this['sub']('*tabList',_0x498d44=>{this['$']['presence.tabToggles']=_0x498d44['length']>0x1;for(const _0x362c8f of _0xa44afb){this['$']['presence.tabToggle.'+_0x362c8f]=_0x498d44['includes'](_0x362c8f),this['ref']['tab-toggle-'+_0x362c8f]['style']['gridColumn']=''+(_0x498d44['indexOf'](_0x362c8f)+0x1);}if(!_0x498d44['includes'](this['$']['*tabId'])&&_0x498d44['length']>0x0){const [_0x4f226c]=_0x498d44;_0x4f226c&&this['_activateTab'](_0x4f226c,{'fromViewer':!0x1});}}),this['_updateInfoTooltip']();}['destroyCallback'](){this['$']['*showSlider']=!0x1,this['$']['*showListAspectRatio']=!0x1;}};EditorToolbar['template']='\x0a\x20\x20<uc-line-loader-ui\x20set=\x22active:\x20showLoader\x22></uc-line-loader-ui>\x0a\x20\x20<div\x20class=\x22uc-info-tooltip_container\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-info-tooltip_wrapper\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20ref=\x22tooltip-el\x22\x20class=\x22uc-info-tooltip\x20uc-info-tooltip_hidden\x22>{{*operationTooltip}}</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a\x20\x20<div\x20class=\x22uc-toolbar-container\x22>\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20role=\x22tablist\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-sub-toolbar\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.mainToolbar;\x20styles:\x20presence.subTopToolbarStyles\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-tab-content-row\x22>'+_0xa44afb['map'](renderTabContent)['join']('')+'</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-controls-row\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-tab-toggles\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabToggles;\x20styles:\x20presence.tabTogglesStyles\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ref=\x22tabs-indicator\x22\x20class=\x22uc-tab-toggles_indicator\x22></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xa44afb['map'](_0x52be98)['join']('')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20style=\x22order:\x20-1\x22\x20theme=\x22secondary-icon\x22\x20icon=\x22closeMax\x22\x20set=\x22onclick:\x20on.cancel;\x20title-prop:cancel\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22primary-icon\x22\x20icon=\x22done\x22\x20set=\x22onclick:\x20on.apply;\x20title-prop:apply\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-sub-toolbar\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.subToolbar;\x20styles:\x20presence.subBottomToolbarStyles\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-slider\x22\x20set=\x22@hidden:!hideSliderOrList\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-slider\x20ref=\x22slider-el\x22></uc-editor-slider>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20\x20\x20<div\x20set=\x22@hidden:hideSliderOrList\x22\x20class=\x22uc-list-aspect-ratio-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-list-aspect-ratio\x22\x20ref=\x22list-el\x22></div>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-controls-row\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22secondary\x22\x20set=\x22onclick:\x20on.cancelSlider\x22\x20l10n=\x22@text:cancel\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22primary\x22\x20set=\x22onclick:\x20on.applySlider\x22\x20l10n=\x22@text:apply\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20</div>\x0a';var BtnUi=class extends _0x1e370d{['_iconReversed']=!0x1;['_iconSingle']=!0x1;['_iconHidden']=!0x1;constructor(){super(),this['init$']={...this['init$'],'text':'','icon':'','iconCss':this['_iconCss'](),'theme':null,'aria-role':'','aria-controls':'','title-prop':''},this['defineAccessor']('active',_0x5df0da=>{_0x5df0da?this['setAttribute']('active',''):this['removeAttribute']('active');});}['_iconCss'](){return _0x210797('uc-icon',{'uc-icon_left':!this['_iconReversed'],'uc-icon_right':this['_iconReversed'],'uc-icon_hidden':this['_iconHidden'],'uc-icon_single':this['_iconSingle']});}['initCallback'](){super['initCallback'](),this['sub']('icon',_0x3889f4=>{this['_iconSingle']=!this['$']['text'],this['_iconHidden']=!_0x3889f4,this['$']['iconCss']=this['_iconCss']();}),this['sub']('theme',_0x3e9004=>{_0x3e9004&&'custom'!==_0x3e9004&&(this['className']='uc-'+_0x3e9004);}),this['sub']('text',()=>{this['_iconSingle']=!0x1;}),this['hasAttribute']('theme')||this['setAttribute']('theme','default'),this['defineAccessor']('aria-role',_0x2aa077=>{this['$']['aria-role']=_0x2aa077||'';}),this['defineAccessor']('aria-controls',_0x3d3b1a=>{this['$']['aria-controls']=_0x3d3b1a||'';}),this['defineAccessor']('title-prop',_0x4244bd=>{this['$']['title-prop']=_0x4244bd||'';});}set['reverse'](_0x253149){this['hasAttribute']('reverse')?(this['style']['flexDirection']='row-reverse',this['_iconReversed']=!0x0):(this['_iconReversed']=!0x1,this['style']['flexDirection']='');}};BtnUi['bindAttributes']({'text':'text','icon':'icon','reverse':'reverse','theme':'theme'}),BtnUi['template']='\x0a\x20\x20<button\x0a\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20set=\x22@role:aria-role;\x20@aria-controls:\x20aria-controls;\x20@aria-label:title-prop\x22\x0a\x20\x20\x20\x20l10n=\x22@title:title-prop;\x22\x0a\x20\x20>\x0a\x20\x20\x20\x20<uc-icon\x20set=\x22className:\x20iconCss;\x20@name:\x20icon;\x20@hidden:\x20!icon\x22></uc-icon>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-text\x22>{{text}}</div>\x0a\x20\x20</button>\x0a';var _0x12203c=class extends _0x1e370d{['_active']=!0x1;['_handleTransitionEndRight']=()=>{const _0x3a8c9e=this['ref']['line-el'];_0x3a8c9e['style']['transition']='initial',_0x3a8c9e['style']['opacity']='0',_0x3a8c9e['style']['transform']='translateX(-101%)',this['_active']&&this['_start']();};['initCallback'](){super['initCallback'](),this['defineAccessor']('active',_0xc85f30=>{'boolean'==typeof _0xc85f30&&(_0xc85f30?this['_start']():this['_stop']());});}['_start'](){this['_active']=!0x0;const {width:_0x3cc9e5}=this['getBoundingClientRect'](),_0x31eaa1=this['ref']['line-el'];_0x31eaa1['style']['transition']='transform\x201s',_0x31eaa1['style']['opacity']='1',_0x31eaa1['style']['transform']='translateX('+_0x3cc9e5+'px)',_0x31eaa1['addEventListener']('transitionend',this['_handleTransitionEndRight'],{'once':!0x0});}['_stop'](){this['_active']=!0x1;}};_0x12203c['template']='\x0a\x20\x20<div\x20class=\x22uc-inner\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-line\x22\x20ref=\x22line-el\x22></div>\x0a\x20\x20</div>\x0a';var _0x412670={'transition':'uc-transition','visible':'uc-visible','hidden':'uc-hidden'},_0x4b932a=class extends _0x1e370d{['_visible']=!0x1;['_visibleStyle']=_0x412670['visible'];['_hiddenStyle']=_0x412670['hidden'];['_externalTransitions']=!0x1;constructor(){super(),this['defineAccessor']('styles',_0x312962=>{_0x312962&&(this['_externalTransitions']=!0x0,this['_visibleStyle']=_0x312962['visible']??_0x412670['visible'],this['_hiddenStyle']=_0x312962['hidden']??_0x412670['hidden']);}),this['defineAccessor']('visible',_0x56f7b1=>{'boolean'==typeof _0x56f7b1&&(this['_visible']=_0x56f7b1,this['_handleVisible']());});}['_handleVisible'](){this['style']['visibility']=this['_visible']?'inherit':'hidden',_0x40bbae(this,{[_0x412670['transition']]:!this['_externalTransitions'],[this['_visibleStyle']]:this['_visible'],[this['_hiddenStyle']]:!this['_visible']}),this['setAttribute']('aria-hidden',this['_visible']?'false':'true');}['initCallback'](){super['initCallback'](),this['classList']['toggle']('uc-initial',!0x0),this['_externalTransitions']||this['classList']['add'](_0x412670['transition']),this['_handleVisible'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1);},0x0);}};_0x4b932a['template']='<slot></slot>\x20';var _0x5dcf5d=class extends _0x1e370d{['_observer'];['_thumbSize']=0x0;['_zero']=0x0;['_zeroDotEl'];['_stepsCount'];constructor(){super(),this['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'onInput':null,'onChange':null,'defaultValue':0x0,'on.sliderInput':()=>{const _0x45c251=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x45c251),this['$']['onInput']?.(_0x45c251);},'on.sliderChange':()=>{const _0x1dad86=Number['parseInt'](this['_inputEl']()['value'],0xa);this['$']['onChange']?.(_0x1dad86);}},this['setAttribute']('with-effects','');}['initCallback'](){super['initCallback'](),this['defineAccessor']('disabled',_0x263e6a=>{this['$']['disabled']=_0x263e6a;}),this['defineAccessor']('min',_0x2eb425=>{this['$']['min']=_0x2eb425;}),this['defineAccessor']('max',_0x24f5c5=>{this['$']['max']=_0x24f5c5;}),this['defineAccessor']('defaultValue',_0x2ed654=>{this['$']['defaultValue']=_0x2ed654,(this['_inputEl']()['value']=String(_0x2ed654),this['_updateValue'](_0x2ed654));}),this['defineAccessor']('zero',_0x3c5079=>{this['_zero']=_0x3c5079;}),this['defineAccessor']('onInput',_0x3f2933=>{_0x3f2933&&(this['$']['onInput']=_0x3f2933);}),this['defineAccessor']('onChange',_0x3e4f58=>{_0x3e4f58&&(this['$']['onChange']=_0x3e4f58);}),this['_updateSteps'](),this['_observer']=new ResizeObserver(()=>{this['_updateSteps']();const _0xa91d30=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0xa91d30);}),this['_observer']['observe'](this),this['_thumbSize']=Number['parseInt'](window['getComputedStyle'](this)['getPropertyValue']('--l-thumb-size'),0xa),setTimeout(()=>{const _0x5cf82b=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x5cf82b);},0x0),this['sub']('disabled',_0x44a91a=>{const _0x1b8090=this['_inputEl']();_0x44a91a?_0x1b8090['setAttribute']('disabled','disabled'):_0x1b8090['removeAttribute']('disabled');});const _0x253aa8=this['_inputEl']();_0x253aa8['addEventListener']('focus',()=>{this['style']['setProperty']('--color-effect','var(--hover-color-rgb)');}),_0x253aa8['addEventListener']('blur',()=>{this['style']['setProperty']('--color-effect','var(--idle-color-rgb)');});}['_inputEl'](){return this['ref']['input-el'];}['_thumbEl'](){return this['ref']['thumb-el'];}['_stepsEl'](){return this['ref']['steps-el'];}['_updateValue'](_0x1a8ab8){this['_updateZeroDot'](_0x1a8ab8);const {width:_0x5e05f9}=this['getBoundingClientRect'](),_0x57685d=0x64/(this['$']['max']-this['$']['min'])*(_0x1a8ab8-this['$']['min'])*(_0x5e05f9-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_thumbEl']()['style']['transform']='translateX('+_0x57685d+'px)';});}['_updateZeroDot'](_0x1fed79){if(!this['_zeroDotEl'])return;this['_zeroDotEl']['style']['opacity']=_0x1fed79===this['_zero']?'0':'1';const {width:_0x219ecd}=this['getBoundingClientRect'](),_0x240a14=0x64/(this['$']['max']-this['$']['min'])*(this['_zero']-this['$']['min'])*(_0x219ecd-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_zeroDotEl']&&(this['_zeroDotEl']['style']['transform']='translateX('+_0x240a14+'px)');});}['_updateSteps'](){const _0x31fef6=this['_stepsEl'](),{width:_0x49e6e6}=_0x31fef6['getBoundingClientRect'](),_0x51c91c=Math['ceil'](_0x49e6e6/0x2),_0x24b3f2=Math['ceil'](_0x51c91c/0xf)-0x2;if(this['_stepsCount']===_0x24b3f2)return;const _0x1e55b6=document['createDocumentFragment'](),_0x4a8ce3=document['createElement']('div'),_0x1831ad=document['createElement']('div');_0x4a8ce3['className']='uc-minor-step',_0x1831ad['className']='uc-border-step',_0x1e55b6['appendChild'](_0x1831ad);for(let _0xdc43eb=0x0;_0xdc43eb<_0x24b3f2;_0xdc43eb+=0x1)_0x1e55b6['appendChild'](_0x4a8ce3['cloneNode']());_0x1e55b6['appendChild'](_0x1831ad['cloneNode']());for(let _0x3de982=0x0;_0x3de982<_0x24b3f2;_0x3de982+=0x1)_0x1e55b6['appendChild'](_0x4a8ce3['cloneNode']());_0x1e55b6['appendChild'](_0x1831ad['cloneNode']());const _0x4af190=document['createElement']('div');_0x4af190['className']='uc-zero-dot',_0x1e55b6['appendChild'](_0x4af190),this['_zeroDotEl']=_0x4af190,_0x31fef6['innerHTML']='',_0x31fef6['appendChild'](_0x1e55b6),this['_stepsCount']=_0x24b3f2;}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};_0x5dcf5d['template']='\x0a\x20\x20<div\x20class=\x22uc-steps\x22\x20ref=\x22steps-el\x22></div>\x0a\x20\x20<div\x20ref=\x22thumb-el\x22\x20class=\x22uc-thumb\x22></div>\x0a\x20\x20<input\x0a\x20\x20\x20\x20class=\x22uc-input\x22\x0a\x20\x20\x20\x20type=\x22range\x22\x0a\x20\x20\x20\x20ref=\x22input-el\x22\x0a\x20\x20\x20\x20set=\x22oninput:\x20on.sliderInput;\x20onchange:\x20on.sliderChange;\x20@min:\x20min;\x20@max:\x20max;\x20@value:\x20defaultValue;\x22\x0a\x20\x20/>\x0a';var CloudImageEditorActivity=class extends _0x3600a4{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['CLOUD_IMG_EDIT'];['_entry'];['_instance'];get['activityParams'](){const _0x5de159=super['activityParams'];if('internalId'in _0x5de159)return _0x5de159;throw new Error('Cloud\x20Image\x20Editor\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>this['mountEditor'](),'onDeactivate':()=>this['unmountEditor']()}),this['subConfigValue']('cropPreset',_0x4a6317=>{this['_instance']&&this['_instance']['getAttribute']('crop-preset')!==_0x4a6317&&this['_instance']['setAttribute']('crop-preset',_0x4a6317);}),this['subConfigValue']('cloudImageEditorTabs',_0x2712aa=>{this['_instance']&&this['_instance']['getAttribute']('tabs')!==_0x2712aa&&this['_instance']['setAttribute']('tabs',_0x2712aa);});}['handleApply'](_0x42a5f7){if(!this['_entry'])return;const _0x2a92b0=_0x42a5f7['detail'];this['_entry']['setMultipleValues']({'cdnUrl':_0x2a92b0['cdnUrl'],'cdnUrlModifiers':_0x2a92b0['cdnUrlModifiers']}),this['modalManager']?.['close'](ActivityBlock['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['handleCancel'](){this['modalManager']?.['close'](ActivityBlock['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['mountEditor'](){const {internalId:_0x4e76b0}=this['activityParams'],_0xba8793=this['uploadCollection']['read'](_0x4e76b0);if(!_0xba8793)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x4e76b0+'\x22\x20not\x20found');this['_entry']=_0xba8793;const _0x3ecbed=this['_entry']['getValue']('cdnUrl');if(!_0x3ecbed)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x4e76b0+'\x22\x20hasn\x27t\x20uploaded\x20yet');const _0x153ddf=new CloudImageEditorBlock(),_0x28cae3=this['cfg']['cropPreset'],_0x1c6ab7=this['cfg']['cloudImageEditorTabs'];_0x153ddf['setAttribute']('ctx-name',this['ctxName']),_0x153ddf['setAttribute']('cdn-url',_0x3ecbed),_0x28cae3&&_0x153ddf['setAttribute']('crop-preset',_0x28cae3),_0x1c6ab7&&_0x153ddf['setAttribute']('tabs',_0x1c6ab7),_0x153ddf['addEventListener']('apply',_0x1cf1ba=>{const _0x556f37=_0x1cf1ba;this['handleApply'](_0x556f37),this['debugPrint']('editor\x20event\x20\x22apply\x22',_0x556f37['detail']);}),_0x153ddf['addEventListener']('cancel',_0x3e0c43=>{const _0x2b537e=_0x3e0c43;this['handleCancel'](),this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x2b537e['detail']);}),_0x153ddf['addEventListener']('change',_0x58dbce=>{const _0x42c533=_0x58dbce;this['debugPrint']('editor\x20event\x20\x22change\x22',_0x42c533['detail']);}),this['innerHTML']='',this['appendChild'](_0x153ddf),this['_instance']=_0x153ddf;}['unmountEditor'](){this['_instance']=void 0x0,this['_entry']=void 0x0,this['innerHTML']='';}},toKebabCase=_0x143b41=>_0x143b41['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x44ec5e=>_0x44ec5e['toLowerCase']())['join']('-'),_0x760322=[{'test':_0x18b9c8=>!!_0x18b9c8['accept']&&!!_0x18b9c8['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':_0x5e49a3=>null!==_0x5e49a3['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':_0xca7d32=>null!==_0xca7d32['defaultCameraMode'],'message':'The\x20`defaultCameraMode`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'}],runAssertions=_0x1a7249(_0x5e8903=>{for(const {test:_0x25d163,message:_0xbcb1f4}of _0x760322)_0x25d163(_0x5e8903)&&_0x56929e(_0xbcb1f4);},0x0),_0x3b93ec=_0xc647d5=>_0xc647d5 instanceof Promise||Boolean(_0xc647d5&&'object'==typeof _0xc647d5&&'then'in _0xc647d5&&'function'==typeof _0xc647d5['then']),defineComputedProperty=_0x387442=>_0x387442,_0x11d10c=[defineComputedProperty({'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0x3cb18b,enableVideoRecording:_0x353235})=>{if(null===_0x353235)return _0x3cb18b;let _0x323a54=_0x84d800(_0x3cb18b);return _0x353235&&!_0x323a54['includes']('video')?_0x323a54=_0x323a54['concat']('video'):_0x353235||(_0x323a54=_0x323a54['filter'](_0x6b0f01=>'video'!==_0x6b0f01)),_0x2c3d3c(_0x323a54);}}),defineComputedProperty({'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0xece8a9,defaultCameraMode:_0x255df2})=>{if(null===_0x255df2)return _0xece8a9;let _0x43cb93=_0x84d800(_0xece8a9);return _0x43cb93=_0x43cb93['sort']((_0x3ff32d,_0x52e45e)=>_0x3ff32d===_0x255df2?-0x1:_0x52e45e===_0x255df2?0x1:0x0),_0x2c3d3c(_0x43cb93);}}),defineComputedProperty({'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0x555b27,cdnCname:_0xc76fad,cdnCnamePrefixed:_0x34db81})=>_0x555b27&&(_0xc76fad===_0x4bd21b||_0x3a9e50(_0xc76fad,_0x34db81))?_0x34673(_0x555b27,_0x34db81):_0xc76fad})],computeProperty=({key:_0x22e007,setValue:_0x28d3cb,getValue:_0x3bfd64,computationControllers:_0x554d6e})=>{for(const _0xce268b of _0x11d10c)if(_0xce268b['deps']['includes'](_0x22e007)){const _0x18db48={[_0xce268b['key']]:_0x3bfd64(_0xce268b['key'])};for(const _0xc8ecc9 of _0xce268b['deps'])_0x18db48[_0xc8ecc9]=_0x3bfd64(_0xc8ecc9);const _0x34b2ce=new AbortController();let _0x5732cb;_0x554d6e['get'](_0xce268b['key'])?.['abort'](),_0x554d6e['set'](_0xce268b['key'],_0x34b2ce);try{_0x5732cb=_0xce268b['fn'](_0x18db48,{'signal':_0x34b2ce['signal']});}catch(_0x5de728){return _0x554d6e['get'](_0xce268b['key'])===_0x34b2ce&&_0x554d6e['delete'](_0xce268b['key']),void console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0xce268b['key']+'\x22',_0x5de728);}_0x3b93ec(_0x5732cb)?_0x5732cb['then'](_0xf022b5=>{_0x34b2ce['signal']['aborted']||_0x28d3cb(_0xce268b['key'],_0xf022b5);})['catch'](_0x3fc667=>{_0x34b2ce['signal']['aborted']||console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0xce268b['key']+'\x22',_0x3fc667);})['finally'](()=>{_0x554d6e['get'](_0xce268b['key'])===_0x34b2ce&&_0x554d6e['delete'](_0xce268b['key']);}):_0x28d3cb(_0xce268b['key'],_0x5732cb);}},asString=_0x5eb4b6=>String(_0x5eb4b6),_0x26d15b=_0x3d6585=>{const _0x3b987f=Number(_0x3d6585);if(Number['isNaN'](_0x3b987f))throw new Error('Invalid\x20number:\x20\x22'+_0x3d6585+'\x22');return _0x3b987f;},_0x48f4fa=_0x10a479=>{if(null==_0x10a479)return!0x1;if('boolean'==typeof _0x10a479)return _0x10a479;if('true'===_0x10a479)return!0x0;if(''===_0x10a479)return!0x0;if('false'===_0x10a479)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x10a479+'\x22');},asStore=_0xf18c7e=>'auto'===_0xf18c7e?_0xf18c7e:_0x48f4fa(_0xf18c7e),asCameraCapture=_0x4c1e74=>{const _0xa71cf2=asString(_0x4c1e74);if('user'!==_0xa71cf2&&'environment'!==_0xa71cf2&&''!==_0xa71cf2)throw new Error('Invalid\x20value:\x20\x22'+_0xa71cf2+'\x22');return _0xa71cf2;},_0x188f15=_0x11326b=>{const _0x3db775=asString(_0x11326b);if(!Object['values'](_0x23eab8)['includes'](_0x3db775))throw new Error('Invalid\x20value:\x20\x22'+_0x3db775+'\x22');return _0x3db775;},_0x5f3ce5=_0x291771=>{const _0x4754ed=asString(_0x291771),_0x833428=_0x84d800(_0x4754ed);if(_0x833428['some'](_0x24e194=>!Object['values'](_0x23eab8)['includes'](_0x24e194)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](_0x833428)+'\x22');return _0x4754ed;},asMetadata=_0x435da7=>{if('object'==typeof _0x435da7&&!Array['isArray'](_0x435da7))return _0x435da7;if('function'==typeof _0x435da7)return _0x435da7;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},asObject=_0x502430=>{if('object'==typeof _0x502430)return _0x502430;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},asFunction=_0x5b1051=>{if('function'==typeof _0x5b1051)return _0x5b1051;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},_0x3cd90b=_0x555976=>{if(Array['isArray'](_0x555976))return _0x555976;throw new Error('Must\x20be\x20an\x20array.');},_0x52de2b=_0x2e9d18=>{const _0x5c0f6d=asString(_0x2e9d18);if(['grid','list']['includes'](_0x5c0f6d))return _0x5c0f6d;throw new Error('Invalid\x20value:\x20\x22'+_0x5c0f6d+'\x22');},_0x2e07e6={'pubkey':asString,'multiple':_0x48f4fa,'multipleMin':_0x26d15b,'multipleMax':_0x26d15b,'confirmUpload':_0x48f4fa,'imgOnly':_0x48f4fa,'accept':asString,'externalSourcesPreferredTypes':asString,'externalSourcesEmbedCss':asString,'store':asStore,'cameraMirror':_0x48f4fa,'cameraCapture':asCameraCapture,'sourceList':asString,'topLevelOrigin':asString,'maxLocalFileSizeBytes':_0x26d15b,'thumbSize':_0x26d15b,'showEmptyList':_0x48f4fa,'useLocalImageEditor':_0x48f4fa,'useCloudImageEditor':_0x48f4fa,'cloudImageEditorTabs':asString,'removeCopyright':_0x48f4fa,'cropPreset':asString,'imageShrink':asString,'modalScrollLock':_0x48f4fa,'modalBackdropStrokes':_0x48f4fa,'sourceListWrap':_0x48f4fa,'remoteTabSessionKey':asString,'cdnCname':asString,'cdnCnamePrefixed':asString,'baseUrl':asString,'socialBaseUrl':asString,'secureSignature':asString,'secureExpire':asString,'secureDeliveryProxy':asString,'retryThrottledRequestMaxTimes':_0x26d15b,'retryNetworkErrorMaxTimes':_0x26d15b,'multipartMinFileSize':_0x26d15b,'multipartChunkSize':_0x26d15b,'maxConcurrentRequests':_0x26d15b,'multipartMaxConcurrentRequests':_0x26d15b,'multipartMaxAttempts':_0x26d15b,'checkForUrlDuplicates':_0x48f4fa,'saveUrlForRecurrentUploads':_0x48f4fa,'groupOutput':_0x48f4fa,'userAgentIntegration':asString,'debug':_0x48f4fa,'localeName':asString,'metadata':asMetadata,'secureUploadsExpireThreshold':_0x26d15b,'localeDefinitionOverride':_0x5391e8=>asObject(_0x5391e8),'secureUploadsSignatureResolver':_0xe3d4ac=>asFunction(_0xe3d4ac),'secureDeliveryProxyUrlResolver':_0x88525c=>asFunction(_0x88525c),'iconHrefResolver':_0xb8246e=>asFunction(_0xb8246e),'fileValidators':_0x3cd90b,'collectionValidators':_0x3cd90b,'validationTimeout':_0x26d15b,'validationConcurrency':_0x26d15b,'cameraModes':_0x5f3ce5,'defaultCameraMode':_0x188f15,'enableAudioRecording':_0x48f4fa,'enableVideoRecording':_0x48f4fa,'mediaRecorderOptions':asObject,'maxVideoRecordingDuration':_0x26d15b,'filesViewMode':_0x52de2b,'gridShowFileNames':_0x48f4fa,'cloudImageEditorAutoOpen':_0x48f4fa,'cloudImageEditorMaskHref':asString,'testMode':_0x48f4fa,'qualityInsights':_0x48f4fa},_0x3ffc28=(_0x7fbe6b,_0x519048)=>{if(null!=_0x519048)try{return _0x2e07e6[_0x7fbe6b](_0x519048);}catch(_0xa6dc43){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0x7fbe6b+'\x22.',_0xa6dc43),initialConfig[_0x7fbe6b];}},_0x138aa3=[...new Set(['debug',...Object['keys'](initialConfig)])],_0x3c4ef3=['metadata','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],_0x5f5947=_0x10a209=>_0x3c4ef3['includes'](_0x10a209),_0x410cc4=_0x138aa3['filter'](_0x39e0b8=>!_0x5f5947(_0x39e0b8)),attrKeyMapping={...Object['fromEntries'](_0x410cc4['map'](_0x5ea187=>[toKebabCase(_0x5ea187),_0x5ea187])),...Object['fromEntries'](_0x410cc4['map'](_0x3d19ec=>[_0x3d19ec['toLowerCase'](),_0x3d19ec]))},attrStateMapping={...Object['fromEntries'](_0x410cc4['map'](_0x49dd34=>[toKebabCase(_0x49dd34),_0x564f6b(_0x49dd34)])),...Object['fromEntries'](_0x410cc4['map'](_0x5ca978=>[_0x5ca978['toLowerCase'](),_0x564f6b(_0x5ca978)]))},getLocalPropName=_0x4fb0fd=>'__'+_0x4fb0fd,_0x1efb41=class extends _0x1e370d{['requireCtxName']=!0x0;constructor(){super(),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](initialConfig)['map'](([_0x1c3e8c,_0x2b3bec])=>[_0x564f6b(_0x1c3e8c),_0x2b3bec])),'computationControllers':new Map()};}['_flushValueToAttribute'](_0x33772f,_0x23e13e){if(!_0x5f5947(_0x33772f)){const _0x7a17c3=[...new Set([toKebabCase(_0x33772f),_0x33772f['toLowerCase']()])];for(const _0xa8fd3e of _0x7a17c3)null==_0x23e13e?this['removeAttribute'](_0xa8fd3e):this['getAttribute'](_0xa8fd3e)!==_0x23e13e['toString']()&&this['setAttribute'](_0xa8fd3e,_0x23e13e['toString']());}}['_flushValueToState'](_0xff19c7,_0x4cfe56){this['$'][_0x564f6b(_0xff19c7)]!==_0x4cfe56&&(this['$'][_0x564f6b(_0xff19c7)]=null==_0x4cfe56?initialConfig[_0xff19c7]:_0x4cfe56);}['_setValue'](_0x2f3867,_0x202fb8){const _0x515477=this,_0x7a9f3b=_0x3ffc28(_0x2f3867,_0x202fb8),_0x259cf4=getLocalPropName(_0x2f3867);_0x515477[_0x259cf4]!==_0x7a9f3b&&(this['_assertSameValueDifferentReference'](_0x2f3867,_0x515477[_0x259cf4],_0x7a9f3b),_0x515477[_0x259cf4]=_0x7a9f3b,this['_flushValueToAttribute'](_0x2f3867,_0x7a9f3b),this['_flushValueToState'](_0x2f3867,_0x7a9f3b),this['debugPrint']('[uc-config]\x20\x22'+_0x2f3867+'\x22',_0x7a9f3b),runAssertions(this['cfg']));}['_getValue'](_0x43f489){return this[getLocalPropName(_0x43f489)]??this['$'][_0x564f6b(_0x43f489)];}['_assertSameValueDifferentReference'](_0xe34f2a,_0x4aaa54,_0x481ded){this['cfg']['debug']&&_0x481ded!==_0x4aaa54&&'object'==typeof _0x481ded&&'object'==typeof _0x4aaa54&&JSON['stringify'](_0x481ded)===JSON['stringify'](_0x4aaa54)&&(console['warn']('[uc-config]\x20Option\x20\x22'+_0xe34f2a+'\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'+_0xe34f2a+'\x22\x20previous\x20value:',_0x4aaa54),console['warn']('[uc-config]\x20\x22'+_0xe34f2a+'\x22\x20new\x20value:',_0x481ded));}['initCallback'](){super['initCallback']();const _0x200dbd=this;for(const _0x1fbeb7 of _0x410cc4)this['sub'](_0x564f6b(_0x1fbeb7),_0x156437=>{this['_setValue'](_0x1fbeb7,_0x156437);},!0x1);for(const _0x5f489c of _0x138aa3){const _0x2b602e=_0x200dbd[_0x5f489c]??this['$'][_0x564f6b(_0x5f489c)];_0x2b602e!==initialConfig[_0x5f489c]&&this['_setValue'](_0x5f489c,_0x2b602e),Object['defineProperty'](this,_0x5f489c,{'set':_0x116894=>{this['_setValue'](_0x5f489c,_0x116894);},'get':()=>this['_getValue'](_0x5f489c)});}for(const _0x114c3f of _0x138aa3)this['sub'](_0x564f6b(_0x114c3f),()=>{computeProperty({'key':_0x114c3f,'setValue':this['_setValue']['bind'](this),'getValue':this['_getValue']['bind'](this),'computationControllers':this['computationControllers']});});}['attributeChangedCallback'](_0x379342,_0x751673,_0xc21ac5){if(_0x751673===_0xc21ac5)return;const _0x3192dd=this,_0x5eac37=attrKeyMapping[_0x379342];_0x5eac37&&(_0x3192dd[_0x5eac37]=_0xc21ac5);}get['computationControllers'](){return this['$']['computationControllers'];}};_0x1efb41['bindAttributes'](attrStateMapping);for(const _0x3867a7 of _0x138aa3)_0x1efb41['prototype'][_0x3867a7]=void 0x0;var Copyright=class extends _0x1e370d{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x3a5484=>{this['toggleAttribute']('hidden',!!_0x3a5484);});}static ['template']='\x0a\x20\x20\x20\x20<a\x0a\x20\x20\x20\x20\x20\x20href=\x22https://uploadcare.com/?utm_source=copyright&utm_medium=referral&utm_campaign=v4\x22\x0a\x20\x20\x20\x20\x20\x20target=\x22_blank\x20noopener\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-credits\x22\x0a\x20\x20\x20\x20\x20\x20>Powered\x20by\x20Uploadcare</a\x0a\x20\x20\x20\x20>\x0a\x20\x20';};function checkIsDirectory(_0x32b2e0){return new Promise(_0x52c9ff=>{'function'!=typeof window['FileReader']&&_0x52c9ff(!0x1);try{const _0xdecfb7=new FileReader();_0xdecfb7['onerror']=()=>{_0x52c9ff(!0x0);};const _0x2bd3b5=_0x1ad04b=>{'loadend'!==_0x1ad04b['type']&&_0xdecfb7['abort'](),_0x52c9ff(!0x1);};_0xdecfb7['onloadend']=_0x2bd3b5,_0xdecfb7['onprogress']=_0x2bd3b5,_0xdecfb7['readAsDataURL'](_0x32b2e0);}catch{_0x52c9ff(!0x1);}});}function readEntryContentAsync(_0x3665ea,_0x160726){return new Promise(_0x2869b9=>{let _0x464c6a=0x0;const _0x5d0d05=[],_0x3c3e22=_0x506ed2=>{if(!_0x506ed2)return console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),void _0x2869b9(null);_0x506ed2['isFile']?(_0x464c6a++,_0x506ed2['file'](_0x702d8f=>{_0x464c6a--;const _0x338553=new File([_0x702d8f],_0x702d8f['name'],{'type':_0x702d8f['type']||_0x160726});_0x5d0d05['push']({'type':'file','file':_0x338553,'fullPath':_0x506ed2['fullPath']}),0x0===_0x464c6a&&_0x2869b9(_0x5d0d05);})):_0x506ed2['isDirectory']&&_0x3b6103(_0x506ed2['createReader']());},_0x3b6103=_0xf3397b=>{_0x464c6a++,_0xf3397b['readEntries'](_0x529718=>{_0x464c6a--;for(const _0x249b02 of _0x529718)_0x3c3e22(_0x249b02);0x0===_0x464c6a&&_0x2869b9(_0x5d0d05);});};_0x3c3e22(_0x3665ea);});}function getDropItems(_0x5a709a){const _0x24a90b=[],_0x57ee72=[];for(let _0x355792=0x0;_0x355792<_0x5a709a['items']['length'];_0x355792++){const _0x55bd60=_0x5a709a['items'][_0x355792];if(_0x55bd60){if('file'===_0x55bd60['kind']){const _0x576671=_0x55bd60['type'],_0x12b6a1=_0x55bd60;if('function'==typeof _0x12b6a1['webkitGetAsEntry']||'function'==typeof _0x12b6a1['getAsEntry']){const _0x3940fc='function'==typeof _0x12b6a1['webkitGetAsEntry']?_0x12b6a1['webkitGetAsEntry']():_0x12b6a1['getAsEntry']?.();_0x3940fc&&_0x57ee72['push'](readEntryContentAsync(_0x3940fc,_0x576671)['then'](_0x3957ea=>{_0x3957ea&&_0x24a90b['push'](..._0x3957ea);}));continue;}const _0x2dd2dd=_0x55bd60['getAsFile']();_0x2dd2dd&&_0x57ee72['push'](checkIsDirectory(_0x2dd2dd)['then'](_0x3c50ef=>{_0x3c50ef||_0x24a90b['push']({'type':'file','file':_0x2dd2dd});}));}else'string'===_0x55bd60['kind']&&/^text\/uri-list/['test'](_0x55bd60['type'])&&_0x57ee72['push'](new Promise(_0x4a730b=>{_0x55bd60['getAsString'](_0x2c6228=>{_0x24a90b['push']({'type':'url','url':_0x2c6228}),_0x4a730b();});}));}}return Promise['all'](_0x57ee72)['then'](()=>_0x24a90b);}var DropzoneState=Object['freeze']({'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3}),_0x39f870=['focus'],_0x75a1dc=0x64,nearnessRegistry=new Map();function distance(_0xd317,_0x13cae7){const _0x54c938=Math['max'](Math['min'](_0xd317[0x0],_0x13cae7['x']+_0x13cae7['width']),_0x13cae7['x']),_0xac1fad=Math['max'](Math['min'](_0xd317[0x1],_0x13cae7['y']+_0x13cae7['height']),_0x13cae7['y']);return Math['sqrt']((_0xd317[0x0]-_0x54c938)*(_0xd317[0x0]-_0x54c938)+(_0xd317[0x1]-_0xac1fad)*(_0xd317[0x1]-_0xac1fad));}function _0xa5b1ca(_0x5602f3){let _0x44aedf=0x0;const _0x563c7b=document['body'],_0x563098=new Set();let _0x171c35=DropzoneState['INACTIVE'];const _0x53952a=_0x4c7ac1=>{_0x5602f3['shouldIgnore']()&&_0x4c7ac1!==DropzoneState['INACTIVE']||(_0x171c35!==_0x4c7ac1&&_0x563098['forEach'](_0x1f0286=>{_0x1f0286(_0x4c7ac1);}),_0x171c35=_0x4c7ac1);},_0x1be414=()=>_0x44aedf>0x0;var _0x24eceb;_0x24eceb=_0x534aaf=>_0x5602f3['onChange'](_0x534aaf),_0x563098['add'](_0x24eceb);const _0x44ac10=()=>{_0x44aedf=0x0,_0x53952a(DropzoneState['INACTIVE']);},_0x4ba7e7=()=>{_0x44aedf+=0x1,_0x171c35===DropzoneState['INACTIVE']&&_0x53952a(DropzoneState['ACTIVE']);},_0x388694=()=>{_0x44aedf-=0x1,_0x1be414()||_0x53952a(DropzoneState['INACTIVE']);},_0x458487=_0x129bf0=>{_0x129bf0['preventDefault'](),_0x44aedf=0x0,_0x53952a(DropzoneState['INACTIVE']);},_0x2ef3dc=_0x35370f=>{if(_0x5602f3['shouldIgnore']())return;_0x1be414()||(_0x44aedf+=0x1);const _0x1675b8=[_0x35370f['x'],_0x35370f['y']],_0x32b7d9=_0x5602f3['element']['getBoundingClientRect'](),_0x2b9436=Math['floor'](distance(_0x1675b8,_0x32b7d9)),_0x5caf2d=_0x2b9436<_0x75a1dc,_0x41f70c=_0x35370f['composedPath']()['includes'](_0x5602f3['element']);nearnessRegistry['set'](_0x5602f3['element'],_0x2b9436);const _0x40e060=Math['min'](...nearnessRegistry['values']())===_0x2b9436;_0x41f70c&&_0x40e060?(_0x35370f['preventDefault'](),_0x53952a(DropzoneState['OVER'])):_0x53952a(_0x5caf2d&&_0x40e060?DropzoneState['NEAR']:DropzoneState['ACTIVE']);},_0x3c320c=async _0xee3266=>{if(_0x5602f3['shouldIgnore']())return;_0xee3266['preventDefault']();const {dataTransfer:_0x2353c7}=_0xee3266;if(!_0x2353c7)return;const _0x5ac0d6=await getDropItems(_0x2353c7);_0x5602f3['onItems'](_0x5ac0d6),_0x53952a(DropzoneState['INACTIVE']);};return _0x563c7b['addEventListener']('drop',_0x458487),_0x563c7b['addEventListener']('dragleave',_0x388694),_0x563c7b['addEventListener']('dragenter',_0x4ba7e7),_0x563c7b['addEventListener']('dragover',_0x2ef3dc),_0x5602f3['element']['addEventListener']('drop',_0x3c320c),_0x39f870['forEach'](_0xe2ebce=>{window['addEventListener'](_0xe2ebce,_0x44ac10);}),()=>{nearnessRegistry['delete'](_0x5602f3['element']),_0x563c7b['removeEventListener']('drop',_0x458487),_0x563c7b['removeEventListener']('dragleave',_0x388694),_0x563c7b['removeEventListener']('dragenter',_0x4ba7e7),_0x563c7b['removeEventListener']('dragover',_0x2ef3dc),_0x5602f3['element']['removeEventListener']('drop',_0x3c320c),_0x39f870['forEach'](_0xe32053=>{window['removeEventListener'](_0xe32053,_0x44ac10);});};}var _0xf28cdf='uc-drop-area',_0x48d9bb=_0xf28cdf+'/registry',_0x53aebb=class extends _0x3600a4{static ['styleAttrs']=[...super['styleAttrs'],'uc-drop-area'];['_destroyDropzone']=null;['_destroyContentWrapperDropzone']=null;['_onAreaClicked']=null;constructor(){super(),this['init$']={...this['init$'],'state':DropzoneState['INACTIVE'],'withIcon':!0x1,'isClickable':!0x1,'isFullscreen':!0x1,'isEnabled':!0x0,'isVisible':!0x0,'isInitFlow':!0x1,'text':'',[_0x48d9bb]:new Set()};}['isActive'](){if(!this['$']['isEnabled'])return!0x1;const _0x3b7f19=this['getBoundingClientRect'](),_0x38d309=_0x3b7f19['width']>0x0&&_0x3b7f19['height']>0x0,_0xbe8f15=_0x3b7f19['top']>=0x0&&_0x3b7f19['left']>=0x0&&_0x3b7f19['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&_0x3b7f19['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x504248=window['getComputedStyle'](this),_0x5a7c52='hidden'!==_0x504248['visibility']&&'none'!==_0x504248['display'];return _0x38d309&&_0x5a7c52&&_0xbe8f15;}['initCallback'](){super['initCallback'](),this['bindL10n']('text',()=>this['l10n']('drop-files-here')),(this['$'][_0x48d9bb]['add'](this),this['defineAccessor']('disabled',_0x3b10bc=>{this['set$']({'isEnabled':!_0x48f4fa(_0x3b10bc)});}),this['defineAccessor']('clickable',_0x5eba87=>{this['set$']({'isClickable':_0x48f4fa(_0x5eba87)});}),this['defineAccessor']('initflow',_0xf0a25f=>{this['set$']({'isInitFlow':_0x48f4fa(_0xf0a25f)});}),this['defineAccessor']('with-icon',_0x53246f=>{this['set$']({'withIcon':_0x48f4fa(_0x53246f)});}),this['defineAccessor']('fullscreen',_0x310b5d=>{this['set$']({'isFullscreen':_0x48f4fa(_0x310b5d)});}),this['defineAccessor']('text',_0x3fb9f1=>{'string'==typeof _0x3fb9f1?this['bindL10n']('text',()=>this['l10n'](_0x3fb9f1)||_0x3fb9f1):this['bindL10n']('text',()=>this['l10n']('drop-files-here'));}),this['_destroyDropzone']=_0xa5b1ca({'element':this,'shouldIgnore':()=>this['_shouldIgnore'](),'onChange':_0x18abf3=>{this['$']['state']=_0x18abf3;},'onItems':_0x2aed93=>{_0x2aed93['length']&&(_0x2aed93['forEach'](_0x55668b=>{'url'===_0x55668b['type']?this['api']['addFileFromUrl'](_0x55668b['url'],{'source':_0x464057['DROP_AREA']}):'file'===_0x55668b['type']&&this['api']['addFileFromObject'](_0x55668b['file'],{'source':_0x464057['DROP_AREA'],'fullPath':_0x55668b['fullPath']});}),this['uploadCollection']['size']&&(this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']})));}}));const _0x50ab27=this['ref']['content-wrapper'];if(_0x50ab27&&(this['_destroyContentWrapperDropzone']=_0xa5b1ca({'element':_0x50ab27,'onChange':_0x3e3f39=>{const _0x418aed=Object['entries'](DropzoneState)['find'](([,_0x3e39e0])=>_0x3e39e0===_0x3e3f39)?.[0x0]['toLowerCase']();_0x418aed&&_0x50ab27['setAttribute']('drag-state',_0x418aed);},'onItems':()=>{},'shouldIgnore':()=>this['_shouldIgnore']()})),this['sub']('state',_0x4f1693=>{const _0x4db8ab=Object['entries'](DropzoneState)['find'](([,_0x25bfdf])=>_0x25bfdf===_0x4f1693)?.[0x0]['toLowerCase']();_0x4db8ab&&this['setAttribute']('drag-state',_0x4db8ab);}),this['subConfigValue']('sourceList',_0x1aa734=>{const _0x1344e5=stringToArray(_0x1aa734);this['$']['isEnabled']=_0x1344e5['includes'](_0x464057['LOCAL']),this['$']['isVisible']=this['$']['isEnabled']||!this['querySelector']('[data-default-slot]');}),this['sub']('isVisible',_0x5621b0=>{this['toggleAttribute']('hidden',!_0x5621b0);}),this['sub']('isClickable',_0x11e965=>{this['toggleAttribute']('clickable',_0x11e965);}),this['$']['isClickable']){const _0x11627b=_0x1b6f0a=>{if(_0x1b6f0a instanceof KeyboardEvent){if('Space'===_0x1b6f0a['code']||'Enter'===_0x1b6f0a['code']){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}else{if(_0x1b6f0a instanceof MouseEvent){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}};this['_onAreaClicked']=_0x11627b,this['addEventListener']('keydown',_0x11627b),this['addEventListener']('click',_0x11627b);}}['_shouldIgnore'](){if(!this['$']['isEnabled'])return!0x0;if(!this['_couldHandleFiles']())return!0x0;if(!this['$']['isFullscreen'])return!0x1;const _0x42f2d7=this['$'][_0x48d9bb];if(0x0===_0x42f2d7['size'])return!0x1;return[..._0x42f2d7]['filter'](_0x2b3531=>_0x2b3531!==this)['filter'](_0x19304d=>_0x19304d['isActive']())['length']>0x0;}['_couldHandleFiles'](){const _0xe175ec=this['cfg']['multiple'],_0x4afbe2=this['cfg']['multipleMax'],_0x2d4ff2=this['uploadCollection']['size'];return!(_0xe175ec&&_0x4afbe2&&_0x2d4ff2>=_0x4afbe2)&&!(!_0xe175ec&&_0x2d4ff2>0x0);}['destroyCallback'](){super['destroyCallback']();const _0x5dbc22=this['$'][_0x48d9bb];_0x5dbc22['delete'](this),0x0===_0x5dbc22['size']&&Data['deleteCtx'](_0xf28cdf),this['_destroyDropzone']?.(),this['_destroyContentWrapperDropzone']?.(),this['_onAreaClicked']&&(this['removeEventListener']('keydown',this['_onAreaClicked']),this['removeEventListener']('click',this['_onAreaClicked']),this['_onAreaClicked']=null);}};_0x53aebb['template']='\x0a\x20\x20<slot>\x0a\x20\x20\x20\x20<div\x20data-default-slot\x20hidden></div>\x0a\x20\x20\x20\x20<div\x20ref=\x22content-wrapper\x22\x20class=\x22uc-content-wrapper\x22\x20set=\x22@hidden:\x20!isVisible\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-icon-container\x22\x20set=\x22@hidden:\x20!withIcon\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22default\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22arrow-down\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-text\x22>{{text}}</span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</slot>\x0a',_0x53aebb['bindAttributes']({'with-icon':null,'clickable':null,'text':null,'fullscreen':null,'disabled':null,'initflow':null});var getTopLevelOrigin=()=>{const _0x293ce5=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0x293ce5['location']['origin'];}catch(_0x5c2380){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x5c2380),globalThis['location']['origin'];}},_0x42b134=_0x5d73b5=>_0x5d73b5['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&'),_0x5870f2=(_0x4c16ac,_0x3969b1='i')=>{const _0x582373=_0x4c16ac['split']('*')['map'](_0x42b134);return new RegExp('^'+_0x582373['join']('.+')+'$',_0x3969b1);},ucCustomProperties=['--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'],getCssValue=(_0x554aa9,_0x3f59e4)=>window['getComputedStyle'](_0x554aa9)['getPropertyValue'](_0x3f59e4)['trim'](),buildThemeDefinition=_0x2ed264=>{const _0x285f92={};for(const _0x233b61 of ucCustomProperties){const _0x281bfa=getCssValue(_0x2ed264,_0x233b61);_0x281bfa&&(_0x285f92[_0x233b61]=_0x281bfa);}return _0x285f92;},_0x512ca7=['selected-files-change','toolbar-state-change'],isWhitelistedMessage=_0x1561e3=>{if(!_0x1561e3)return!0x1;if('object'!=typeof _0x1561e3)return!0x1;if(!('type'in _0x1561e3))return!0x1;const _0x2a4e31=_0x1561e3['type'];return'string'==typeof _0x2a4e31&&!!_0x512ca7['includes'](_0x2a4e31);},_0x4d9e5d=class{['_handlerMap']=new Map();['_context'];['_getTargetOrigin'];constructor(_0xd20623,_0x3c67f4){this['_context']=_0xd20623,this['_getTargetOrigin']=_0x3c67f4,window['addEventListener']('message',this['_handleMessage']);}['_handleMessage']=_0x5d39c1=>{if(_0x5d39c1['source']!==this['_context'])return;const _0xb5103c=_0x5d39c1['data'];if(!isWhitelistedMessage(_0xb5103c))return;const _0x557323=this['_handlerMap']['get'](_0xb5103c['type']);if(_0x557323){for(const _0x20f0dc of _0x557323)_0x20f0dc(_0xb5103c);}};['on'](_0x49b468,_0x41d4b1){const _0x3b4a03=this['_handlerMap']['get'](_0x49b468)??new Set();this['_handlerMap']['has'](_0x49b468)||this['_handlerMap']['set'](_0x49b468,_0x3b4a03),_0x3b4a03['add'](_0x41d4b1);}['send'](_0x1e176a){const _0x4fe4f9=this['_getTargetOrigin']();this['_context']['postMessage'](_0x1e176a,_0x4fe4f9);}['destroy'](){window['removeEventListener']('message',this['_handleMessage']);}};function queryString(_0x2e8c87){const _0x26ab92=[];for(const [_0x5d05e7,_0x50e588]of Object['entries'](_0x2e8c87))null==_0x50e588||'string'==typeof _0x50e588&&0x0===_0x50e588['length']||_0x26ab92['push'](_0x5d05e7+'='+encodeURIComponent(_0x50e588));return _0x26ab92['join']('&');}var _0xab1a8f={[ExternalUploadSource['GDRIVE']]:'ngdrive'},ExternalSource=class extends _0x3600a4{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['EXTERNAL'];['_messageBridge'];constructor(){super(),this['init$']={...this['init$'],'activityIcon':'','activityCaption':'','selectedList':[],'total':0x0,'isSelectionReady':!0x1,'isDoneBtnEnabled':!0x1,'couldSelectAll':!0x1,'couldDeselectAll':!0x1,'showSelectionStatus':!0x1,'showDoneBtn':!0x1,'counterText':'','doneBtnTextClass':'uc-hidden','toolbarVisible':!0x0,'onDone':()=>{for(const _0x2e61d0 of this['$']['selectedList']){const _0x75c716=this['extractUrlFromSelectedFile'](_0x2e61d0),{filename:_0x55efa1}=_0x2e61d0,{externalSourceType:_0x1fb7eb}=this['activityParams'];this['api']['addFileFromUrl'](_0x75c716,{'fileName':_0x55efa1,'source':_0x1fb7eb});}this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']);},'onCancel':()=>{this['historyBack']();},'onSelectAll':()=>{this['_messageBridge']?.['send']({'type':'select-all'});},'onDeselectAll':()=>{this['_messageBridge']?.['send']({'type':'deselect-all'});}};}get['activityParams'](){const _0x1e8834=super['activityParams'];if('externalSourceType'in _0x1e8834)return _0x1e8834;throw new Error('External\x20Source\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>{const {externalSourceType:_0x3d5b26}=this['activityParams'];if(!_0x3d5b26)return this['modalManager']?.['close'](this['$']['*currentActivity']),this['$']['*currentActivity']=null,void console['error']('Param\x20\x22externalSourceType\x22\x20is\x20required\x20for\x20activity\x20\x22'+this['activityType']+'\x22');this['set$']({'activityCaption':''+_0x3d5b26[0x0]?.['toUpperCase']()+_0x3d5b26?.['slice'](0x1),'activityIcon':_0x3d5b26}),this['mountIframe']();}}),this['sub']('*currentActivityParams',_0x1b4b94=>{this['isActivityActive']&&(this['unmountIframe'](),this['mountIframe']());}),this['sub']('*currentActivity',_0x128043=>{_0x128043!==this['activityType']&&this['unmountIframe']();}),this['subConfigValue']('multiple',_0x25ab90=>{this['$']['showSelectionStatus']=_0x25ab90;}),this['subConfigValue']('localeName',_0x248d88=>{this['setupL10n']();}),this['subConfigValue']('externalSourcesEmbedCss',_0x13b13b=>{this['applyEmbedCss'](_0x13b13b);});}['extractUrlFromSelectedFile'](_0xa1cf25){if(_0xa1cf25['alternatives']){const _0x94a0b4=stringToArray(this['cfg']['externalSourcesPreferredTypes']);for(const _0x191820 of _0x94a0b4){const _0xc8c523=_0x5870f2(_0x191820);for(const [_0x43a629,_0x170f09]of Object['entries'](_0xa1cf25['alternatives']))if(_0xc8c523['test'](_0x43a629))return _0x170f09;}}return _0xa1cf25['url'];}['handleToolbarStateChange'](_0x1d2775){this['set$']({'toolbarVisible':_0x1d2775['isVisible']});}async['handleSelectedFilesChange'](_0x33be19){this['cfg']['multiple']===_0x33be19['isMultipleMode']?(this['bindL10n']('counterText',()=>this['l10n']('selected-count',{'count':_0x33be19['selectedCount'],'total':_0x33be19['total']})),this['set$']({'doneBtnTextClass':_0x33be19['isReady']?'':'uc-hidden','isSelectionReady':_0x33be19['isReady'],'isDoneBtnEnabled':_0x33be19['isReady']&&_0x33be19['selectedFiles']['length']>0x0,'showSelectionStatus':_0x33be19['isMultipleMode']&&_0x33be19['total']>0x0,'couldSelectAll':_0x33be19['selectedCount']<_0x33be19['total'],'couldDeselectAll':_0x33be19['selectedCount']===_0x33be19['total'],'selectedList':_0x33be19['selectedFiles'],'showDoneBtn':_0x33be19['total']>0x0})):console['error']('Multiple\x20mode\x20mismatch');}['handleIframeLoad'](){this['applyEmbedCss'](this['cfg']['externalSourcesEmbedCss']),this['applyTheme'](),this['setupL10n']();}['applyTheme'](){this['_messageBridge']?.['send']({'type':'set-theme-definition','theme':buildThemeDefinition(this)});}['applyEmbedCss'](_0x39a5b4){this['_messageBridge']?.['send']({'type':'set-embed-css','css':_0x39a5b4});}['setupL10n'](){this['_messageBridge']?.['send']({'type':'set-locale-definition','localeDefinition':this['cfg']['localeName']});}['remoteUrl'](){const {pubkey:_0x307b5d,remoteTabSessionKey:_0x5d9df5,socialBaseUrl:_0x509843,multiple:_0x29ff97}=this['cfg'],{externalSourceType:_0x1e49db}=this['activityParams'],_0x39d2e1=_0xab1a8f[_0x1e49db]??_0x1e49db,_0x3c746c={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':_0x307b5d,'images_only':(!0x1)['toString'](),'session_key':_0x5d9df5,'wait_for_theme':!0x0,'multiple':_0x29ff97['toString'](),'origin':this['cfg']['topLevelOrigin']||getTopLevelOrigin(),'debug':this['cfg']['debug']},_0x1d99ba=new URL('/window4/'+_0x39d2e1,_0x509843);return _0x1d99ba['search']=queryString(_0x3c746c),_0x1d99ba['toString']();}['mountIframe'](){const _0x4c979b=create({'tag':'iframe','attributes':{'src':this['remoteUrl'](),'marginheight':0x0,'marginwidth':0x0,'frameborder':0x0,'allowTransparency':!0x0}});_0x4c979b['addEventListener']('load',this['handleIframeLoad']['bind'](this)),this['ref']['iframeWrapper']['innerHTML']='',this['ref']['iframeWrapper']['appendChild'](_0x4c979b),_0x4c979b['contentWindow']&&(this['_messageBridge']?.['destroy'](),this['_messageBridge']=new _0x4d9e5d(_0x4c979b['contentWindow'],()=>this['cfg']['socialBaseUrl']),this['_messageBridge']['on']('selected-files-change',this['handleSelectedFilesChange']['bind'](this)),this['_messageBridge']['on']('toolbar-state-change',this['handleToolbarStateChange']['bind'](this)),this['resetSelectionStatus']());}['unmountIframe'](){this['_messageBridge']?.['destroy'](),this['_messageBridge']=void 0x0,this['ref']['iframeWrapper']['innerHTML']='',this['resetSelectionStatus']();}['resetSelectionStatus'](){this['set$']({'selectedList':[],'total':0x0,'isDoneBtnEnabled':!0x1,'couldSelectAll':!0x1,'couldDeselectAll':!0x1,'showSelectionStatus':!0x1,'showDoneBtn':!0x1});}};ExternalSource['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*historyBack\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<div\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<div\x20ref=\x22iframeWrapper\x22\x20class=\x22uc-iframe-wrapper\x22></div>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-toolbar\x22\x20set=\x22@hidden:\x20!toolbarVisible\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x20set=\x22onclick:\x20onCancel\x22\x20l10n=\x22cancel\x22></button>\x0a\x20\x20\x20\x20\x20\x20<div\x20set=\x22@hidden:\x20!showSelectionStatus\x22\x20class=\x22uc-selection-status-box\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span>{{counterText}}</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20set=\x22onclick:\x20onSelectAll;\x20@hidden:\x20!couldSelectAll\x22\x20l10n=\x22select-all\x22></button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20set=\x22onclick:\x20onDeselectAll;\x20@hidden:\x20!couldDeselectAll\x22\x20l10n=\x22deselect-all\x22></button>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-done-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onDone;\x20@disabled:\x20!isDoneBtnEnabled;\x20@hidden:\x20!showDoneBtn\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-spinner\x20set=\x22@hidden:\x20isSelectionReady\x22></uc-spinner>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22done\x22\x20set=\x22@class:\x20doneBtnTextClass\x22></span>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a';var _0x1f4925=0x4000,_0x32f56a=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,_0x3b65d5=_0x2dfb05=>{if('string'!=typeof _0x2dfb05)return!0x1;const _0x3a54aa=_0x32f56a['exec'](_0x2dfb05['toLocaleLowerCase']())??[];if(0x0===_0x3a54aa['length'])return!0x1;const _0x306eab=Number(_0x3a54aa[0x1])*Number(_0x3a54aa[0x2]),_0x1acf32=_0x1f4925*_0x1f4925;return _0x306eab>_0x1acf32?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](_0x1acf32/0x3e8/0x3e8)+'MP.\x20You\x20have\x20set\x20'+_0x3a54aa[0x1]+'x'+_0x3a54aa[0x2]+'\x20('+Math['ceil'](_0x306eab/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x3a54aa[0x3]?Number(_0x3a54aa[0x3])/0x64:void 0x0,'size':_0x306eab};},FileItemConfig=class extends _0x3600a4{['_entrySubs']=new Set();['_entry']=null;['_withEntry'](_0x3dce52){return(..._0x22b81d)=>{const _0x17abff=this['_entry'];if(_0x17abff)return _0x3dce52(_0x17abff,..._0x22b81d);console['warn']('No\x20entry\x20found');};}['_subEntry'](_0x4f1b9d,_0x281534){this['_withEntry']((_0x1e9a56,_0x30f7f4,_0x18d6af)=>{const _0x5a5c4e=_0x1e9a56['subscribe'](_0x30f7f4,_0x4f401e=>{this['isConnected']&&_0x18d6af(_0x4f401e);});this['_entrySubs']['add'](_0x5a5c4e);})(_0x4f1b9d,_0x281534);}['_reset'](){for(const _0x123a72 of this['_entrySubs'])_0x123a72['remove']();this['_entrySubs']=new Set(),this['_entry']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['_entrySubs']=new Set();}},FileItemState=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')}),FileItem=class _0x152d9b extends FileItemConfig{['couldBeCtxOwner']=!0x0;['pauseRender']=!0x0;['_renderedOnce']=!0x1;['_observer'];['_isIntersecting']=!0x1;['_thumbRect'];constructor(){super(),this['init$']={...this['init$'],'uid':'','itemName':'','errorText':'','hint':'','thumbUrl':'','progressValue':0x0,'progressVisible':!0x1,'badgeIcon':'','isFinished':!0x1,'isFailed':!0x1,'isUploading':!0x1,'isFocused':!0x1,'isEditable':!0x1,'showFileNames':!0x1,'state':FileItemState['IDLE'],'ariaLabelStatusFile':'','onEdit':this['_withEntry'](_0x4ec117=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'edit-file','node':this['tagName']}}}),this['$']['*currentActivityParams']={'internalId':_0x4ec117['uid']},this['modalManager']?.['open'](ActivityBlock['activities']['CLOUD_IMG_EDIT']),this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT'];}),'onRemove':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'remove-file','node':this['tagName']}}}),this['uploadCollection']['remove'](this['$']['uid']);},'onUpload':()=>{this['upload']();}};}['_calculateState']=this['_withEntry'](e=>{let i=FileItemState['IDLE'];e['getValue']('errors')['length']>0x0?i=FileItemState['FAILED']:e['getValue']('isQueuedForUploading')?i=FileItemState['QUEUED_UPLOADING']:e['getValue']('isQueuedForValidation')?i=FileItemState['QUEUED_VALIDATION']:e['getValue']('isValidationPending')?i=FileItemState['VALIDATION']:e['getValue']('isUploading')?i=FileItemState['UPLOADING']:e['getValue']('fileInfo')&&(i=FileItemState['FINISHED']),this['$']['state']=i;});['_debouncedCalculateState']=_0x1a7249(this['_calculateState']['bind'](this),0x64);['_updateHintAndProgress']=this['_withEntry'](throttle((e,i)=>{const n=e['getValue']('errors')?.[0x0]?.['message'],s=e['getValue']('source'),r=e['getValue']('externalUrl'),o=i===FileItemState['FINISHED'],a=i===FileItemState['UPLOADING'],c=i===FileItemState['QUEUED_UPLOADING'],l=i===FileItemState['QUEUED_VALIDATION'],h=i===FileItemState['VALIDATION'],u=e['getValue']('fileName');let d='';n?d='':!o&&r&&s&&Object['values'](ExternalUploadSource)['includes'](s)&&(d=this['l10n']('waiting-for',{'source':this['l10n']('src-type-'+s)})),this['set$']({'hint':d,'errorText':n,'progressVisible':a||c||l||h,'progressValue':l||h?0x0:e['getValue']('uploadProgress'),'ariaLabelStatusFile':u&&this['l10n']('a11y-file-item-status',{'fileName':u,'status':this['l10n'](i?.['description']?.['toLocaleLowerCase']()??'')['toLocaleLowerCase']()})});},0x64));['_handleState']=this['_withEntry']((e,i)=>{i===FileItemState['FAILED']?this['$']['badgeIcon']='badge-error':i===FileItemState['FINISHED']&&(this['$']['badgeIcon']='badge-success'),i===FileItemState['UPLOADING']&&(this['$']['isFocused']=!0x1),this['set$']({'isFailed':i===FileItemState['FAILED'],'isUploading':i===FileItemState['UPLOADING'],'isFinished':i===FileItemState['FINISHED'],'isEditable':this['cfg']['useCloudImageEditor']&&e['getValue']('isImage')&&e['getValue']('cdnUrl')}),this['_updateHintAndProgress'](i);});['_reset'](){super['_reset'](),this['_debouncedCalculateState']['cancel']();}['_observerCallback'](_0x265d09){const [_0x599e4e]=_0x265d09;_0x599e4e&&(this['_isIntersecting']=_0x599e4e['isIntersecting'],this['_thumbRect']=_0x599e4e['boundingClientRect'],_0x599e4e['isIntersecting']&&!this['_renderedOnce']&&(this['render'](),this['_renderedOnce']=!0x0));}['_handleEntryId'](_0x21285d){this['_reset']();const _0x160aec=this['uploadCollection']?.['read'](_0x21285d);this['_entry']=_0x160aec,_0x160aec&&(this['_subEntry']('isQueuedForValidation',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isValidationPending',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('uploadProgress',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isQueuedForUploading',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('fileName',_0x1ff0c8=>{this['$']['itemName']=_0x1ff0c8||_0x160aec['getValue']('externalUrl')||this['l10n']('file-no-name'),this['_debouncedCalculateState']();}),this['_subEntry']('externalUrl',_0x37cb6d=>{this['$']['itemName']=_0x160aec['getValue']('fileName')||_0x37cb6d||this['l10n']('file-no-name');}),this['_subEntry']('fileInfo',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('errors',()=>this['_debouncedCalculateState']()),this['_subEntry']('isUploading',()=>this['_debouncedCalculateState']()),this['_subEntry']('fileSize',()=>this['_debouncedCalculateState']()),this['_subEntry']('mimeType',()=>this['_debouncedCalculateState']()),this['_subEntry']('isImage',()=>this['_debouncedCalculateState']()));}['_updateShowFileNames'](_0x15a1b7){'list'===this['cfg']['filesViewMode']?this['$']['showFileNames']=!0x0:this['$']['showFileNames']=_0x15a1b7;}['initCallback'](){super['initCallback'](),this['sub']('uid',_0x26ecad=>{this['_handleEntryId'](_0x26ecad);}),this['sub']('state',_0x2248e0=>{this['_handleState'](_0x2248e0);}),this['subConfigValue']('useCloudImageEditor',()=>this['_debouncedCalculateState']()),this['subConfigValue']('filesViewMode',_0x5603de=>{this['_updateShowFileNames'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0x5603de);}),this['subConfigValue']('gridShowFileNames',_0xe677c0=>{this['_updateShowFileNames'](_0xe677c0);}),this['onclick']=()=>{_0x152d9b['activeInstances']['forEach'](_0x5e75c9=>{_0x5e75c9===this?_0x5e75c9['setAttribute']('focused',''):_0x5e75c9['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x5c02eb=>{this['_entry']&&!_0x5c02eb['has'](this['_entry']['uid'])||setTimeout(()=>this['isConnected']&&this['upload']());}),_0x152d9b['activeInstances']['add'](this);}['destroyCallback'](){super['destroyCallback'](),_0x152d9b['activeInstances']['delete'](this),this['_reset']();}['connectedCallback'](){super['connectedCallback'](),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':[0x0,0x1]}),this['_observer']['observe'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['_observer']?.['disconnect']();}['_settingsOfShrink'](){return _0x3b65d5(this['cfg']['imageShrink']);}async['_processShrink'](_0x2c8cae){const _0x45c134=this['_settingsOfShrink']();return _0x45c134?await _0x5d1a36(_0x2c8cae,_0x45c134):(console['warn']('Image\x20shrink\x20settings\x20are\x20invalid,\x20skipping\x20shrinking'),_0x2c8cae);}['upload']=this['_withEntry'](async e=>{if(!this['uploadCollection']['read'](e['uid']))return;if(e['getValue']('fileInfo')||e['getValue']('isUploading')||e['getValue']('errors')['length']>0x0||e['getValue']('isValidationPending'))return;const i=this['cfg']['multiple']?this['cfg']['multipleMax']:0x1;if(!(i&&this['uploadCollection']['size']>i)){e['setMultipleValues']({'isUploading':!0x0,'errors':[],'isQueuedForUploading':!0x0}),this['_debouncedCalculateState']();try{const i=new AbortController();e['setValue']('abortController',i);const n=async()=>{e['setValue']('isQueuedForUploading',!0x1);let n=e['getValue']('file');if(n instanceof File&&this['cfg']['imageShrink'])try{n=await this['_processShrink'](n);}catch{}const s=n||e['getValue']('externalUrl')||e['getValue']('uuid');if(!s)throw new Error('No\x20file\x20input');const r={...await this['getUploadClientOptions'](),'fileName':e['getValue']('fileName')??void 0x0,'source':e['getValue']('source')??void 0x0,'onProgress':i=>{if(i['isComputable']){const n=0x64*i['value'];e['setValue']('uploadProgress',n);}},'signal':i['signal'],'metadata':await this['getMetadataFor'](e['uid'])};return this['debugPrint']('upload\x20options',s,r),_0x5e9df7(s,r);},s=await this['$']['*uploadQueue']['add'](n);e['setMultipleValues']({'fileInfo':s,'isQueuedForUploading':!0x1,'isUploading':!0x1,'fileName':s['originalFilename'],'fileSize':s['size'],'isImage':s['isImage']??!0x1,'mimeType':s['contentInfo']?.['mime']?.['mime']??s['mimeType'],'uuid':s['uuid'],'cdnUrl':e['getValue']('cdnUrl')??s['cdnUrl'],'cdnUrlModifiers':e['getValue']('cdnUrlModifiers')??'','uploadProgress':0x64,'source':e['getValue']('source')??null}),e===this['_entry']&&this['_debouncedCalculateState']();}catch(i){this['telemetryManager']['sendEventError'](i,'file\x20upload.\x20Failed\x20to\x20upload\x20file'),i instanceof _0x49227f&&i['isCancel']?e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):i instanceof _0x57fa86?e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':i}):(console['error']('Unknown\x20upload\x20error',i),e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':new Error('Something\x20went\x20wrong',{'cause':i})})),e===this['_entry']&&this['_debouncedCalculateState']();}}});static ['template']='\x0a\x20\x20<div\x20class=\x22uc-inner\x22\x20set=\x22@finished:\x20isFinished;\x20@uploading:\x20isUploading;\x20@failed:\x20isFailed;\x20@focused:\x20isFocused\x22>\x0a\x20\x20\x20\x20<uc-thumb\x20set=\x22uid:uid;badgeIcon:badgeIcon\x22></uc-thumb>\x0a\x0a\x20\x20\x20\x20<div\x20aria-atomic=\x22true\x22\x20aria-live=\x22polite\x22\x20class=\x22uc-file-name-wrapper\x22\x20set=\x22@aria-label:ariaLabelStatusFile;\x22>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-file-name\x22\x20set=\x22@hidden:\x20!showFileNames\x22>{{itemName}}</span>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-file-error\x22\x20set=\x22@hidden:\x20!errorText;\x22>{{errorText}}</span>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-file-hint\x22\x20set=\x22@hidden:\x20!hint\x22>{{hint}}</span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-file-actions\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22@title:file-item-edit-button;@aria-label:file-item-edit-button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-edit-btn\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onEdit;\x20@hidden:\x20!isEditable\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22edit-file\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22@title:file-item-remove-button;@aria-label:file-item-remove-button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-remove-btn\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onRemove;\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22remove-file\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-upload-btn\x20uc-mini-btn\x22\x20set=\x22onclick:\x20onUpload;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22upload\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<uc-progress-bar\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-progress-bar\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22value:\x20progressValue;\x20visible:\x20progressVisible;\x20@hasFileName:\x20showFileNames;\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20</uc-progress-bar>\x0a\x20\x20</div>\x0a';static ['activeInstances']=new Set();},FormInput=class extends _0x3600a4{['requireCtxName']=!0x0;['_validationInputElement']=null;['_dynamicInputsContainer']=null;['_createValidationInput'](){const _0x45c277=document['createElement']('input');return _0x45c277['type']='text',_0x45c277['name']=this['ctxName'],_0x45c277['required']=this['cfg']['multipleMin']>0x0,_0x45c277['tabIndex']=-0x1,applyStyles(_0x45c277,{'opacity':0x0,'height':0x0,'width':0x0}),_0x45c277;}['initCallback'](){super['initCallback'](),this['_validationInputElement']=this['_createValidationInput'](),this['appendChild'](this['_validationInputElement']),this['sub']('*collectionState',_0x303e13=>{{if(!this['_dynamicInputsContainer']){const _0x44c273=document['createElement']('div');this['appendChild'](_0x44c273),this['_dynamicInputsContainer']=_0x44c273;}if(!this['_validationInputElement']){const _0x557a70=this['_createValidationInput']();this['appendChild'](_0x557a70),this['_validationInputElement']=_0x557a70;}if(this['_dynamicInputsContainer']['innerHTML']='','uploading'===_0x303e13['status']||'idle'===_0x303e13['status'])return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity']('');if('failed'===_0x303e13['status']){const _0x5ea04d=_0x303e13['errors'][0x0]?.['message'];return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity'](_0x5ea04d??'');}const _0x4a3980=_0x303e13['group']?_0x303e13['group']:null;if(_0x4a3980)return this['_validationInputElement']['value']=_0x4a3980['cdnUrl']??'',void this['_validationInputElement']['setCustomValidity']('');const _0x3ef983=_0x303e13['allEntries']['map'](_0x2e42e9=>_0x2e42e9['cdnUrl'])['filter'](_0x7f0f20=>'string'==typeof _0x7f0f20);if(!this['cfg']['multiple']&&0x1===_0x3ef983['length']&&_0x3ef983[0x0])return this['_validationInputElement']['value']=_0x3ef983[0x0],void this['_validationInputElement']['setCustomValidity']('');this['_validationInputElement']['remove'](),this['_validationInputElement']=null;const _0x37b352=new DocumentFragment();for(const _0x1d0d22 of _0x3ef983){const _0x30d916=document['createElement']('input');_0x30d916['type']='hidden',_0x30d916['name']=this['ctxName']+'[]',_0x30d916['value']=_0x1d0d22,_0x37b352['appendChild'](_0x30d916);}this['_dynamicInputsContainer']['replaceChildren'](_0x37b352);}},!0x1);}},_0x359c45=class extends _0x1e370d{constructor(){super(),this['init$']={...this['init$'],'name':'','href':''};}['initCallback'](){super['initCallback'](),this['sub']('name',_0x420dbb=>{if(!_0x420dbb)return;let _0x5378ad='#uc-icon-'+_0x420dbb;this['subConfigValue']('iconHrefResolver',_0x1850e9=>{if(_0x1850e9){const _0x560315=_0x1850e9(_0x420dbb);_0x5378ad=_0x560315??_0x5378ad;}this['$']['href']=_0x5378ad;});}),this['setAttribute']('aria-hidden','true');}};_0x359c45['template']='\x0a\x20\x20<svg\x20ref=\x22svg\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22>\x0a\x20\x20\x20\x20<use\x20set=\x22@href:\x20href;\x22></use>\x0a\x20\x20</svg>\x0a',_0x359c45['bindAttributes']({'name':'name'});var _0x1a4d12=_0x1a80b9=>[...new Set(_0x1a80b9)],_0x161edd='--uc-img-',_0x47c13d='unresolved',_0x481e11=0x2,_0x1094a3=0x3,_0x6e8153=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),_0x2051b6=0xbb8,_0x4d3099=0x1388,_0x350824=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),_0xeb5b7f='https://ucarecdn.com',_0x11522c=Object['freeze']({'dev-mode':{},'pubkey':{},'uuid':{},'src':{},'lazy':{'default':0x1},'intersection':{},'breakpoints':{},'cdn-cname':{'default':_0xeb5b7f},'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}}),_0xdab9cd=Object['create'](null);for(const _0x42901d in _0x11522c)_0xdab9cd[_0x161edd+_0x42901d]=_0x11522c[_0x42901d]?.['default']||'';var _0x4f4105=class extends BaseComponent{['cssInit$']=_0xdab9cd;['$$'](_0x4c44f9){return this['$'][_0x161edd+_0x4c44f9];}['set$$'](_0x3a16dd){for(const _0x5f3dad in _0x3a16dd)this['$'][_0x161edd+_0x5f3dad]=_0x3a16dd[_0x5f3dad];}['sub$$'](_0x456754,_0x4978c6){this['sub'](_0x161edd+_0x456754,_0x42aa99=>{null!==_0x42aa99&&''!==_0x42aa99&&_0x4978c6(_0x42aa99);});}['analyticsParams'](){return'-/@clib/'+_0x4366e2+'/'+_0x319797+'/uc-img/';}['initAttributes'](_0x1bfc6d){[...this['attributes']]['forEach'](_0x19de19=>{_0x11522c[_0x19de19['name']]||_0x1bfc6d['setAttribute'](_0x19de19['name'],_0x19de19['value']);});}['initIntersection'](_0x2c4433,_0x17cf56){this['_isnObserver']=new IntersectionObserver(_0x5b9302=>{_0x5b9302['forEach'](_0x2edfa1=>{_0x2edfa1['isIntersecting']&&(_0x17cf56(),this['_isnObserver']['unobserve'](_0x2c4433));});},{'root':null,'rootMargin':'0px'}),this['_isnObserver']['observe'](_0x2c4433),this['_observed']||(this['_observed']=new Set()),this['_observed']['add'](_0x2c4433);}['destroyCallback'](){super['destroyCallback'](),this['_isnObserver']&&(this['_observed']['forEach'](_0x6ed6b8=>{this['_isnObserver']['unobserve'](_0x6ed6b8);}),this['_isnObserver']=null),Data['deleteCtx'](this);}static get['observedAttributes'](){return Object['keys'](_0x11522c);}['attributeChangedCallback'](_0x333f53,_0x5e3e97,_0x30f898){window['setTimeout'](()=>{this['$'][_0x161edd+_0x333f53]=_0x30f898;});}},parseObjectToString=_0xbaf78=>Object['entries'](_0xbaf78)['filter'](([_0x51082e,_0x3f4ba6])=>void 0x0!==_0x3f4ba6&&''!==_0x3f4ba6)['map'](([_0x419760,_0x5d5431])=>'cdn-operations'===_0x419760||'analytics'===_0x419760?_0x5d5431:_0x419760+'/'+_0x5d5431),_0x14116a=class extends _0x4f4105{['_img']=new Image();['_imgPreview']=new Image();['_fmtAbs'](_0xe074a){return!_0xe074a['includes']('//')&&!_0x6e8153&&(_0xe074a=new URL(_0xe074a,document['baseURI'])['href']),_0xe074a;}['_validateSize'](_0x4af911){if(''!==_0x4af911?.['trim']()){const _0x5428d9=_0x4af911['match'](/\d+/)[0x0],_0x5d9b10=_0x4af911['match'](/[a-zA-Z]+/)[0x0],_0x37898d=parseInt(_0x5428d9,0xa);if(Number(_0x37898d)>_0x4d3099&&this['hasFormatJPG'])return _0x4d3099+_0x5d9b10;if(Number(_0x37898d)>_0x2051b6&&!this['hasFormatJPG'])return _0x2051b6+_0x5d9b10;}return _0x4af911;}['_getCdnModifiers'](_0x4f8343,_0x585524){const _0xef0880={'format':this['$$']('format'),'quality':this['$$']('quality'),'resize':this['_validateSize'](_0x4f8343),'blur':_0x585524,'cdn-operations':this['$$']('cdn-operations'),'analytics':this['analyticsParams']()};return createCdnUrlModifiers(...parseObjectToString(_0xef0880));}['_getUrlBase'](_0x5d0a32='',_0x38d258=''){if(this['$$']('src')['startsWith']('data:')||this['$$']('src')['startsWith']('blob:'))return this['$$']('src');if(_0x6e8153&&this['$$']('src')&&!this['$$']('src')['includes']('//'))return this['_proxyUrl'](this['$$']('src'));const _0x1b731b=this['_getCdnModifiers'](_0x5d0a32,_0x38d258);return this['$$']('src')['startsWith'](this['$$']('cdn-cname'))?createCdnUrl(this['$$']('src'),_0x1b731b):this['$$']('cdn-cname')&&this['$$']('uuid')||this['$$']('uuid')?this['_proxyUrl'](createCdnUrl(createOriginalUrl(this['$$']('cdn-cname'),this['$$']('uuid')),_0x1b731b)):this['$$']('proxy-cname')?this['_proxyUrl'](createCdnUrl(this['$$']('proxy-cname'),_0x1b731b,this['_fmtAbs'](this['$$']('src')))):this['$$']('pubkey')?this['_proxyUrl'](createCdnUrl('https://'+this['$$']('pubkey')+'.ucr.io/',_0x1b731b,this['_fmtAbs'](this['$$']('src')))):void 0x0;}['_proxyUrl'](_0x2e6b31){return this['$$']('secure-delivery-proxy')?applyTemplateData(this['$$']('secure-delivery-proxy'),{'previewUrl':_0x2e6b31},{'transform':_0x3d7820=>window['encodeURIComponent'](_0x3d7820)}):_0x2e6b31;}['_getElSize'](_0x1e25bf,_0x20590b=0x1,_0x5ecce0=!0x0){const _0x3442f3=_0x1e25bf['getBoundingClientRect'](),_0x4b5238=_0x20590b*Math['round'](_0x3442f3['width']),_0x265b16=_0x5ecce0?'':_0x20590b*Math['round'](_0x3442f3['height']);return _0x4b5238||_0x265b16?(_0x4b5238||'')+'x'+(_0x265b16||''):null;}['_setupEventProxy'](_0x40d1d0){const _0xc0c057=_0x1d36db=>{_0x1d36db['stopPropagation']();const _0x5e42f2=new Event(_0x1d36db['type'],_0x1d36db);this['dispatchEvent'](_0x5e42f2);},_0x416376=['load','error'];for(const _0x2891a5 of _0x416376)_0x40d1d0['addEventListener'](_0x2891a5,_0xc0c057);}get['img'](){return this['hasPreviewImage']||(this['_setupConfigForImage']({'elNode':this['_img']}),this['appendChild'](this['_img'])),this['_img'];}get['currentImg'](){return this['hasPreviewImage']?{'type':_0x350824['PREVIEW'],'img':this['_imgPreview']}:{'type':_0x350824['MAIN'],'img':this['img']};}get['hasPreviewImage'](){return this['$$']('is-preview-blur');}get['bgSelector'](){return this['$$']('is-background-for');}get['breakpoints'](){if(this['$$']('breakpoints')){const _0x2cfa2d=stringToArray(this['$$']('breakpoints'));return _0x1a4d12(_0x2cfa2d['map'](_0x581b6d=>parseInt(_0x581b6d,0xa)));}return null;}get['hasFormatJPG'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['renderBg'](_0x2be9be){const _0x5744d4=new Set();_0x5744d4['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x2be9be))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x5744d4['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x2be9be,_0x481e11))+'\x22)\x20'+_0x481e11+'x'),this['$$']('ultra-res-support')&&_0x5744d4['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x2be9be,_0x1094a3))+'\x22)\x20'+_0x1094a3+'x');const _0xc242ff='image-set('+[..._0x5744d4]['join'](',\x20')+')';_0x2be9be['style']['setProperty']('background-image',_0xc242ff),_0x2be9be['style']['setProperty']('background-image','-webkit-'+_0xc242ff);}['getSrcset'](){const _0x17f763=new Set();return this['breakpoints']?this['breakpoints']['forEach'](_0x1956f6=>{_0x17f763['add'](this['_getUrlBase'](_0x1956f6+'x')+('\x20'+this['_validateSize'](_0x1956f6+'w'))),this['$$']('hi-res-support')&&_0x17f763['add'](this['_getUrlBase'](_0x1956f6*_0x481e11+'x')+('\x20'+this['_validateSize'](_0x1956f6*_0x481e11+'w'))),this['$$']('ultra-res-support')&&_0x17f763['add'](this['_getUrlBase'](_0x1956f6*_0x1094a3+'x')+('\x20'+this['_validateSize'](_0x1956f6*_0x1094a3+'w')));}):(_0x17f763['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img']))+'\x201x'),this['$$']('hi-res-support')&&_0x17f763['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x2))+'\x202x'),this['$$']('ultra-res-support')&&_0x17f763['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x3))+'\x203x')),[..._0x17f763]['join']();}['getSrc'](){return this['_getUrlBase']();}get['srcUrlPreview'](){return this['_getUrlBase']('100x','100');}['renderBackground'](){[...document['querySelectorAll'](this['bgSelector'])]['forEach'](_0x185574=>{this['$$']('intersection')?this['initIntersection'](_0x185574,()=>{this['renderBg'](_0x185574);}):this['renderBg'](_0x185574);});}['_appendURL']({elNode:_0x548093,src:_0x3b0f95,srcset:_0x471398}){_0x3b0f95&&(_0x548093['src']=_0x3b0f95),_0x471398&&(_0x548093['srcset']=_0x471398);}['_setupConfigForImage']({elNode:_0x50bba2}){this['_setupEventProxy'](_0x50bba2),this['initAttributes'](_0x50bba2);}['loaderImage']({src:_0xd83dda,srcset:_0x2eaf08,elNode:_0x32fb21}){return new Promise((_0x4a0466,_0x546eca)=>{this['_setupConfigForImage']({'elNode':_0x32fb21}),_0x32fb21['setAttribute'](_0x47c13d,''),_0x32fb21['addEventListener']('load',()=>{_0x32fb21['removeAttribute'](_0x47c13d),_0x4a0466(_0x32fb21);}),_0x32fb21['addEventListener']('error',()=>{_0x546eca(!0x1);}),this['_appendURL']({'elNode':_0x32fb21,'src':_0xd83dda,'srcset':_0x2eaf08});});}async['renderImage'](){if(this['$$']('intersection'))return this['hasPreviewImage']&&(this['_setupConfigForImage']({'elNode':this['_imgPreview']}),this['appendChild'](this['_imgPreview'])),void this['initIntersection'](this['currentImg']['img'],async()=>{this['hasPreviewImage']&&(this['_imgPreview']['src']=this['srcUrlPreview']);try{await this['loaderImage']({'src':this['getSrc'](),'srcset':this['getSrcset'](),'elNode':this['_img']}),this['hasPreviewImage']&&await this['_imgPreview']['remove'](),this['appendChild'](this['_img']);}catch(_0x133bff){this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}});try{this['hasPreviewImage']&&(await this['loaderImage']({'src':this['srcUrlPreview'],'elNode':this['_imgPreview']}),this['appendChild'](this['_imgPreview'])),await this['loaderImage']({'src':this['getSrc'](),'srcset':this['getSrcset'](),'elNode':this['_img']}),this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}catch(_0x10c135){this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}}['init'](){this['bgSelector']?this['renderBackground']():this['renderImage']();}},_0x311fe7=class extends _0x14116a{['initCallback'](){super['initCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0x17e1d5=>{this['$$']('is-background-for')||this['$$']('is-preview-blur')||(this['img']['loading']=_0x17e1d5?'lazy':'eager');});}},_0x30e2a5=null,_0x1c5424=class extends _0x1e370d{static ['styleAttrs']=[...super['styleAttrs'],'uc-modal'];static ['StateConsumerScope']='modal';['_mouseDownTarget'];['handleModalOpen'];['handleModalClose'];['handleModalCloseAll'];constructor(){super(),this['init$']={...this['init$'],'closeClicked':this['_handleDialogClose']};}['_handleBackdropClick']=()=>{this['_closeDialog']();};['_closeDialog']=()=>{this['modalManager']?.['close'](this['id']),this['modalManager']?.['hasActiveModals']||(document['body']['style']['overflow']='');};['_handleDialogClose']=()=>{this['_closeDialog']();};['_handleDialogMouseDown']=_0x36b531=>{this['_mouseDownTarget']=_0x36b531['target'];};['_handleDialogMouseUp']=_0x48a4d8=>{const _0x4de0b7=_0x48a4d8['target'];_0x4de0b7===this['ref']['dialog']&&_0x4de0b7===this['_mouseDownTarget']&&this['_closeDialog']();};['show'](){const _0x366bca=this['ref']['dialog'];'function'==typeof _0x366bca['showModal']?(this['setAttribute']('aria-modal','true'),_0x366bca['showModal']()):_0x366bca['setAttribute']('open',''),this['cfg']['modalScrollLock']&&(document['body']['style']['overflow']='hidden');}['hide'](){const _0xa50a10=this['ref']['dialog'];'function'==typeof _0xa50a10['close']?(this['setAttribute']('aria-modal','false'),_0xa50a10['close']()):_0xa50a10['removeAttribute']('open');}['_handleModalOpen']({id:_0xd93fcd}){_0xd93fcd===this['id']?(_0x30e2a5=_0xd93fcd,this['show'](),this['emit'](EventType['MODAL_OPEN'],{'modalId':_0xd93fcd},{'debounce':!0x0})):this['hide']();}['_handleModalClose']({id:_0x22e1fe}){_0x22e1fe===this['id']&&(this['hide'](),this['emit'](EventType['MODAL_CLOSE'],{'modalId':_0x22e1fe,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0}));}['_handleModalCloseAll'](_0x4a4b3c){this['hide'](),_0x30e2a5===this['id']&&this['emit'](EventType['MODAL_CLOSE'],{'modalId':_0x30e2a5,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0});}['initCallback'](){super['initCallback'](),this['modalManager']?.['registerModal'](this['id'],this);const _0x2b6c04=this['ref']['dialog'];_0x2b6c04['addEventListener']('close',this['_handleDialogClose']),_0x2b6c04['addEventListener']('mousedown',this['_handleDialogMouseDown']),_0x2b6c04['addEventListener']('mouseup',this['_handleDialogMouseUp']),this['subConfigValue']('modalBackdropStrokes',_0x20a8b7=>{_0x20a8b7?this['setAttribute']('strokes',''):this['removeAttribute']('strokes');}),this['handleModalOpen']=this['_handleModalOpen']['bind'](this),this['handleModalClose']=this['_handleModalClose']['bind'](this),this['handleModalCloseAll']=this['_handleModalCloseAll']['bind'](this),this['modalManager']?.['subscribe'](ModalEvents['OPEN'],this['handleModalOpen']),this['modalManager']?.['subscribe'](ModalEvents['CLOSE'],this['handleModalClose']),this['modalManager']?.['subscribe'](ModalEvents['CLOSE_ALL'],this['handleModalCloseAll']);}['destroyCallback'](){super['destroyCallback'](),document['body']['style']['overflow']='',this['_mouseDownTarget']=void 0x0;const _0x293308=this['ref']['dialog'];_0x293308['removeEventListener']('close',this['_handleDialogClose']),_0x293308['removeEventListener']('mousedown',this['_handleDialogMouseDown']),_0x293308['removeEventListener']('mouseup',this['_handleDialogMouseUp']),this['modalManager']?.['unsubscribe'](ModalEvents['OPEN'],this['handleModalOpen']),this['modalManager']?.['unsubscribe'](ModalEvents['CLOSE'],this['handleModalClose']),this['modalManager']?.['unsubscribe'](ModalEvents['CLOSE_ALL'],this['handleModalCloseAll']);}};_0x1c5424['template']='\x0a\x20\x20<dialog\x20ref=\x22dialog\x22>\x0a\x20\x20\x20\x20<slot></slot>\x0a\x20\x20</dialog>\x0a';var _0x10c9d9=class extends _0x1e370d{['_value']=0x0;['_visible']=!0x0;constructor(){super(),this['init$']={...this['init$'],'width':0x0,'opacity':0x0};}['initCallback'](){super['initCallback'](),(this['ref']['fakeProgressLine']['addEventListener']('animationiteration',()=>{const _0x1a8e6c=this['ref']['fakeProgressLine'];this['_visible']?this['_value']>0x0&&_0x1a8e6c['classList']['add']('uc-fake-progress--hidden'):_0x1a8e6c['classList']['add']('uc-fake-progress--hidden');}),this['defineAccessor']('value',_0x2e8711=>{null!=_0x2e8711&&(this['_value']=_0x2e8711,this['_visible']&&this['style']['setProperty']('--l-progress-value',this['_value']['toString']()));}),this['defineAccessor']('visible',_0x4c95c7=>{this['_visible']=_0x4c95c7,this['classList']['toggle']('uc-progress-bar--hidden',!_0x4c95c7);}));}};_0x10c9d9['template']='\x0a\x20\x20<div\x20ref=\x22fakeProgressLine\x22\x20class=\x22uc-fake-progress\x22></div>\x0a\x20\x20<div\x20ref=\x22realProgressLine\x22\x20class=\x22uc-progress\x22></div>\x0a';var _0x3ff50b=class extends _0x3600a4{['_unobserveCollectionCb'];constructor(){super(),this['init$']={...this['init$'],'visible':!0x1,'value':0x0,'*commonProgress':0x0};}['initCallback'](){super['initCallback'](),this['_unobserveCollectionCb']=this['uploadCollection']['observeProperties'](()=>{const _0x201320=this['uploadCollection']['items']()['some'](_0x4f1415=>{const _0x5e8bd0=this['uploadCollection']['read'](_0x4f1415);return _0x5e8bd0?.['getValue']('isUploading')??!0x1;});this['$']['visible']=_0x201320;}),this['sub']('visible',_0x1af28b=>{_0x1af28b?this['setAttribute']('active',''):this['removeAttribute']('active');}),this['sub']('*commonProgress',_0x229c86=>{this['$']['value']=_0x229c86;});}['destroyCallback'](){super['destroyCallback'](),this['_unobserveCollectionCb']?.(),this['_unobserveCollectionCb']=void 0x0;}};_0x3ff50b['template']='\x20<uc-progress-bar\x20set=\x22visible:\x20visible;\x20value:\x20value\x22></uc-progress-bar>\x20';var Select=class extends _0x1e370d{constructor(){super(),this['init$']={...this['init$'],'currentText':'','options':[],'selectHtml':'','onSelect':_0x1b55ac=>{_0x1b55ac['preventDefault'](),_0x1b55ac['stopPropagation']();const _0x334e7c=this['ref']['select'];this['value']=_0x334e7c['value'],this['$']['currentText']=this['$']['options']['find'](_0x1c94d0=>_0x1c94d0['value']===this['value'])?.['text']||'',this['dispatchEvent'](new Event('change'));}};}['initCallback'](){super['initCallback'](),this['sub']('options',_0x4a5fd0=>{this['$']['currentText']=_0x4a5fd0?.[0x0]?.['text']||'';let _0x1f7e21='';_0x4a5fd0?.['forEach'](_0x5d0b95=>{_0x1f7e21+='<option\x20value=\x22'+_0x5d0b95['value']+'\x22>'+_0x5d0b95['text']+'</option>';}),this['$']['selectHtml']=_0x1f7e21;});}};Select['template']='\x20<select\x20ref=\x22select\x22\x20set=\x22innerHTML:\x20selectHtml;\x20onchange:\x20onSelect\x22></select>\x20';var SimpleBtn=class extends _0x3600a4{static ['styleAttrs']=[...super['styleAttrs'],'uc-simple-btn'];['couldBeCtxOwner']=!0x0;constructor(){super(),this['init$']={...this['init$'],'withDropZone':!0x0,'onClick':()=>{this['api']['initFlow']();},'button-text':''};}['initCallback'](){super['initCallback'](),this['defineAccessor']('dropzone',_0x14c108=>{void 0x0!==_0x14c108&&(this['$']['withDropZone']=_0x48f4fa(_0x14c108));}),this['subConfigValue']('multiple',_0x53c9f7=>{this['$']['button-text']=_0x53c9f7?'upload-files':'upload-file';});}};SimpleBtn['template']='\x0a\x20\x20<uc-drop-area\x20set=\x22@disabled:\x20!withDropZone\x22>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20set=\x22onclick:\x20onClick\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22upload\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22button-text\x22></span>\x0a\x20\x20\x20\x20\x20\x20<slot></slot>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-visual-drop-area\x22\x20l10n=\x22drop-files-here\x22></div>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-drop-area>\x0a',SimpleBtn['bindAttributes']({'dropzone':null});var _0x16214c='src-type-',SourceBtn=class extends _0x3600a4{['couldBeCtxOwner']=!0x0;['type']=void 0x0;['_registeredTypes']={};constructor(){super(),this['init$']={...this['init$'],'iconName':'default','src-type':''};}['initTypes'](){this['registerType']({'type':_0x464057['LOCAL'],'activate':()=>(this['api']['openSystemDialog'](),!0x1)}),this['registerType']({'type':_0x464057['URL'],'activity':ActivityBlock['activities']['URL'],'textKey':'from-url'}),this['registerType']({'type':_0x464057['CAMERA'],'activity':ActivityBlock['activities']['CAMERA'],'activate':()=>{const _0x1d3c83=browserFeatures['htmlMediaCapture'];return _0x1d3c83&&this['api']['openSystemDialog']({'captureCamera':!0x0}),!_0x1d3c83;}}),this['registerType']({'type':'draw','activity':ActivityBlock['activities']['DRAW'],'icon':'edit-draw'});for(const _0xf325c1 of Object['values'](_0x75a54d))this['registerType']({'type':_0xf325c1,'activity':ActivityBlock['activities']['CAMERA'],'activate':()=>{const _0x3dce73=browserFeatures['htmlMediaCapture'];return _0x3dce73&&this['api']['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'mobile-photo-camera'===_0xf325c1?_0x23eab8['PHOTO']:_0x23eab8['VIDEO']}),!_0x3dce73;}});for(const _0x3db3ab of Object['values'](ExternalUploadSource))this['registerType']({'type':_0x3db3ab,'activity':ActivityBlock['activities']['EXTERNAL'],'activityParams':{'externalSourceType':_0x3db3ab}});}['initCallback'](){super['initCallback'](),this['initTypes'](),this['defineAccessor']('type',_0x455f74=>{_0x455f74&&this['applyType'](_0x455f74);});}['registerType'](_0x444f27){this['_registeredTypes'][_0x444f27['type']]=_0x444f27;}['getType'](_0x39683a){return this['_registeredTypes'][_0x39683a];}['activate'](){if(!this['type'])return;const _0x7a955a=this['_registeredTypes'][this['type']];if(!_0x7a955a)return;const {activity:_0x35d0e5,activate:_0x81469,activityParams:_0x2f09dc={}}=_0x7a955a;(_0x81469?_0x81469():!!_0x35d0e5)&&_0x35d0e5&&(this['modalManager']?.['open'](_0x35d0e5),this['set$']({'*currentActivityParams':_0x2f09dc,'*currentActivity':_0x35d0e5}));}['applyType'](_0x3d5af9){const _0x1fc5d3=this['_registeredTypes'][_0x3d5af9];if(!_0x1fc5d3)return void console['warn']('Unsupported\x20source\x20type:\x20'+_0x3d5af9);const {textKey:_0x274e07=_0x3d5af9,icon:_0x46fbda=_0x3d5af9}=_0x1fc5d3;this['$']['src-type']=''+_0x16214c+_0x274e07,this['$']['iconName']=_0x46fbda,this['onclick']=()=>{this['activate']();};}};SourceBtn['template']='\x0a\x20\x20<button\x20type=\x22button\x22>\x0a\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20iconName\x22></uc-icon>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-txt\x22\x20l10n=\x22src-type\x22></div>\x0a\x20\x20</button>\x0a',SourceBtn['bindAttributes']({'type':null});var SourceList=class extends _0x1e370d{['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0x3ebe98=>{const _0x5e96c8=stringToArray(_0x3ebe98);let _0xce4d80='';_0x5e96c8['forEach'](_0x27b962=>{'instagram'!==_0x27b962?'camera'===_0x27b962&&browserFeatures['htmlMediaCapture']?this['subConfigValue']('cameraModes',_0x37398e=>{const _0x6fabc=_0x84d800(_0x37398e);_0x6fabc['forEach'](_0x14848f=>{_0xce4d80+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-'+_0x14848f+'-camera\x22></uc-source-btn>';}),0x0===_0x6fabc['length']&&(_0xce4d80+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-photo-camera\x22></uc-source-btn>');}):_0xce4d80+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22'+_0x27b962+'\x22></uc-source-btn>':console['error']('Instagram\x20source\x20was\x20removed\x20because\x20the\x20Instagram\x20Basic\x20Display\x20API\x20hasn\x27t\x20been\x20available\x20since\x20December\x204,\x202024.\x20Official\x20statement,\x20see\x20here:https://developers.facebook.com/blog/post/2024/09/04/update-on-instagram-basic-display-api/?locale=en_US');}),this['cfg']['sourceListWrap']?this['innerHTML']=_0xce4d80:this['outerHTML']=_0xce4d80;});}},_0x45e54a=class extends BaseComponent{};_0x45e54a['template']='\x20<div\x20class=\x22uc-spinner\x22></div>\x20';var StartFrom=class extends ActivityBlock{['historyTracked']=!0x0;['activityType']=ActivityBlock['activities']['START_FROM'];['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'');}};function generateThumb(_0x4a4761,_0x15efb6=0x28){if('image/svg+xml'===_0x4a4761['type'])return URL['createObjectURL'](_0x4a4761);const _0x230386=document['createElement']('canvas'),_0x130759=_0x230386['getContext']('2d');if(!_0x130759)return Promise['reject'](new Error('Canvas\x20context\x20not\x20supported'));const _0x4b4e43=new Image(),_0x15653b=new Promise((_0x526149,_0x56740e)=>{_0x4b4e43['onload']=()=>{const _0x3781fd=_0x4b4e43['height']/_0x4b4e43['width'];_0x3781fd>0x1?(_0x230386['width']=_0x15efb6,_0x230386['height']=_0x15efb6*_0x3781fd):(_0x230386['height']=_0x15efb6,_0x230386['width']=_0x15efb6/_0x3781fd),_0x130759['fillStyle']='rgb(240,\x20240,\x20240)',_0x130759['fillRect'](0x0,0x0,_0x230386['width'],_0x230386['height']),_0x130759['drawImage'](_0x4b4e43,0x0,0x0,_0x230386['width'],_0x230386['height']),_0x230386['toBlob'](_0x2cc04d=>{if(!_0x2cc04d)return void _0x56740e();const _0x24a213=URL['createObjectURL'](_0x2cc04d);_0x526149(_0x24a213);});},_0x4b4e43['onerror']=_0x97d5ea=>{_0x56740e(_0x97d5ea);};});return _0x4b4e43['src']=URL['createObjectURL'](_0x4a4761),_0x15653b;}function createSvgBlobUrl(_0x57abe1){const _0x54f64f=new Blob([_0x57abe1],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x54f64f);}function _0x92a05f(_0x24be33='hsl(209,\x2021%,\x2065%)',_0x10952c=0x20,_0x3902f3=0x20){return createSvgBlobUrl('\x0a\x20\x20<svg\x20width=\x22'+_0x10952c+'\x22\x20height=\x22'+_0x3902f3+'\x22\x20viewBox=\x220\x200\x2030\x2030\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22>\x0a\x20\x20\x20\x20<path\x20fill-rule=\x22evenodd\x22\x20fill=\x22'+_0x24be33+'\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/>\x0a\x20\x20</svg>\x0a\x20\x20');}StartFrom['template']='\x20<div\x20class=\x22uc-content\x22><slot></slot></div>\x20';var _0x295061=0xbb8,_0x346b15=class extends FileItemConfig{['_renderedGridOnce']=!0x1;['_thumbRect']=null;['_isIntersecting']=!0x1;['_firstViewMode']=this['cfg']['filesViewMode'];['_observer'];constructor(){super(),this['init$']={...this['init$'],'thumbUrl':'','badgeIcon':'','uid':''};}['_calculateThumbSize'](_0x165495=!0x1){_0x165495&&(this['_thumbRect']=this['getBoundingClientRect']());let _0x2a5446=Math['max'](parseInt(String(this?.['_thumbRect']?.['height']||0x0),0xa),parseInt(String(this?.['_thumbRect']?.['width']||0x0),0xa),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0x2a5446*=window['devicePixelRatio']),Math['min'](_0x2a5446,_0x295061);}['_generateThumbnail']=this['_withEntry'](async(e,i=!0x1)=>{const n=e['getValue']('fileInfo'),s=e['getValue']('isImage'),r=e['getValue']('uuid'),o=e['getValue']('thumbUrl'),a=this['_calculateThumbSize'](i);if(n&&s&&r){const i=await this['proxyUrl'](createCdnUrl(createOriginalUrl(this['cfg']['cdnCname'],r),createCdnUrlModifiers(e['getValue']('cdnUrlModifiers'),'stretch/off','scale_crop/'+a+'x'+a+'/center')));if(o===i)return;const {promise:n}=_0x26868f(i);return void n['then'](()=>{e['setValue']('thumbUrl',i),o?.['startsWith']('blob:')&&URL['revokeObjectURL'](o);})['catch'](async()=>{if(!o?.['startsWith']('blob:'))try{const i=e['getValue']('file');if(!i)return;const n=await generateThumb(i,a);e['setValue']('thumbUrl',n);}catch(i){this['telemetryManager']['sendEventError'](i,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');const n=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x92a05f(n));}});}if(e['getValue']('thumbUrl'))return;const c=e['getValue']('file');if(c?.['type']['includes']('image'))try{const i=await generateThumb(c,a);e['setValue']('thumbUrl',i);}catch(i){this['telemetryManager']['sendEventError'](i,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');const n=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x92a05f(n));}else{const i=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x92a05f(i));}});['_debouncedGenerateThumb']=_0x1a7249(this['_generateThumbnail']['bind'](this),0x64);['_observerCallback'](_0x46156b){const [_0x44a3db]=_0x46156b;_0x44a3db&&(this['_isIntersecting']=_0x44a3db['isIntersecting'],_0x44a3db['isIntersecting']&&(this['_thumbRect']=_0x44a3db['boundingClientRect'],this['_debouncedGenerateThumb'](),this['_observer']?.['disconnect']()),0x0===_0x44a3db['intersectionRatio']&&this['_debouncedGenerateThumb']['cancel']());}['_reset'](){super['_reset'](),this['_debouncedGenerateThumb']['cancel']();}['_handleEntryId'](_0x202157){this['_reset']();const _0x4351b9=this['uploadCollection']?.['read'](_0x202157);this['_entry']=_0x4351b9,_0x4351b9&&(this['_subEntry']('fileInfo',_0x50c8c0=>{_0x50c8c0?.['isImage']&&this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_subEntry']('thumbUrl',_0xe3708d=>{this['$']['thumbUrl']=_0xe3708d?'url('+_0xe3708d+')':'';}),this['_subEntry']('cdnUrlModifiers',()=>{this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_isIntersecting']&&this['_debouncedGenerateThumb']());}['initCallback'](){super['initCallback'](),this['defineAccessor']('badgeIcon',_0x1c098d=>{this['$']['badgeIcon']=_0x1c098d;}),this['defineAccessor']('uid',_0x109ef4=>{this['set$']({'uid':_0x109ef4});}),this['sub']('uid',_0x332689=>{this['_handleEntryId'](_0x332689);}),this['subConfigValue']('filesViewMode',_0x3f15e0=>{'grid'!==_0x3f15e0||this['_renderedGridOnce']||('list'===this['_firstViewMode']&&this['_debouncedGenerateThumb'](!0x0),this['_renderedGridOnce']=!0x0);}),this['setAttribute']('role','img');}['connectedCallback'](){super['connectedCallback'](),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':0.1}),this['_observer']['observe'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['_entrySubs']=new Set(),this['_debouncedGenerateThumb']['cancel'](),this['_observer']?.['disconnect']();}};_0x346b15['template']='\x0a\x20\x20<div\x20class=\x22uc-thumb\x22\x20set=\x22style.backgroundImage:\x20thumbUrl\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-badge\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20badgeIcon\x22></uc-icon>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a',_0x346b15['bindAttributes']({'badgeIcon':null,'uid':null});var UploadCtxProvider=class extends _0x3600a4{static ['styleAttrs']=['uc-wgt-common'];static ['EventType']=EventType;['requireCtxName']=!0x0;['initCallback'](){super['initCallback'](),this['$']['*eventEmitter']['bindTarget'](this);}['destroyCallback'](){super['destroyCallback'](),this['$']['*eventEmitter']['unbindTarget'](this);}},UploadList=class extends _0x3600a4{['couldBeCtxOwner']=!0x0;['historyTracked']=!0x0;['activityType']=ActivityBlock['activities']['UPLOAD_LIST'];constructor(){super(),this['init$']={...this['init$'],'doneBtnVisible':!0x1,'doneBtnEnabled':!0x1,'uploadBtnVisible':!0x1,'addMoreBtnVisible':!0x1,'addMoreBtnEnabled':!0x1,'headerText':'','commonErrorMessage':'','hasFiles':!0x1,'onAdd':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'add-more','node':this['tagName']}}}),this['api']['initFlow'](!0x0);},'onUpload':()=>{this['emit'](EventType['UPLOAD_CLICK']),this['api']['uploadAll'](),this['_throttledHandleCollectionUpdate']();},'onDone':()=>{this['emit'](EventType['DONE_CLICK'],this['api']['getOutputCollectionState']()),this['api']['doneFlow']();},'onCancel':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'clear-all','node':this['tagName']}}}),this['uploadCollection']['clearAll']();}};}['_throttledHandleCollectionUpdate']=throttle(()=>{this['isConnected']&&(this['_updateUploadsState'](),this['couldOpenActivity']||this['$']['*currentActivity']!==this['activityType']||this['historyBack'](),this['cfg']['confirmUpload']||this['api']['uploadAll']());},0x12c);['_updateUploadsState'](){const _0x4309be=this['api']['getOutputCollectionState'](),_0x1f3879={'total':_0x4309be['totalCount'],'succeed':_0x4309be['successCount'],'uploading':_0x4309be['uploadingCount'],'failed':_0x4309be['failedCount'],'validatingBeforeUploading':_0x4309be['idleEntries']['filter'](_0x98464b=>_0x98464b['isValidationPending'])['length']},_0x3b8a2f=!_0x4309be['errors']['some'](_0x3b4199=>'TOO_MANY_FILES'===_0x3b4199['type']||'TOO_FEW_FILES'===_0x3b4199['type']),_0x9ed572=_0x4309be['errors']['some'](_0x11d0c9=>'TOO_MANY_FILES'===_0x11d0c9['type']),_0x40c317=_0x4309be['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0x4078bf=_0x4309be['allEntries']['some'](_0xe761f0=>_0xe761f0['isValidationPending']),_0x5e22c8=0x0===_0x1f3879['failed']&&0x0===_0x4309be['errors']['length']&&!_0x4078bf;let _0x4ad9d9=!0x1,_0x3e8912=!0x1,_0x4eb250=!0x1;if(_0x1f3879['total']-_0x1f3879['succeed']-_0x1f3879['uploading']-_0x1f3879['failed']>0x0&&_0x3b8a2f&&_0x5e22c8)_0x4ad9d9=!0x0;else{_0x3e8912=!0x0;const _0x3d7acc=!this['cfg']['groupOutput']||!!_0x4309be['group'];_0x4eb250=_0x1f3879['total']===_0x1f3879['succeed']&&_0x3b8a2f&&_0x5e22c8&&_0x3d7acc;}this['set$']({'doneBtnVisible':_0x3e8912,'doneBtnEnabled':_0x4eb250,'uploadBtnVisible':_0x4ad9d9,'addMoreBtnEnabled':0x0===_0x1f3879['total']||!_0x9ed572&&!_0x40c317,'addMoreBtnVisible':!_0x40c317||this['cfg']['multiple'],'hasFiles':_0x1f3879['total']>0x0}),this['bindL10n']('headerText',()=>this['_getHeaderText'](_0x1f3879));}['_getHeaderText'](_0x2b0cb7){const _0x5344eb=_0x244627=>{let _0x4b23f4=_0x2b0cb7[_0x244627];return'uploading'===_0x244627&&(_0x4b23f4+=_0x2b0cb7['validatingBeforeUploading']),this['l10n']('header-'+_0x244627,{'count':_0x4b23f4});};return _0x2b0cb7['uploading']>0x0||_0x2b0cb7['validatingBeforeUploading']>0x0?_0x5344eb('uploading'):_0x2b0cb7['failed']>0x0?_0x5344eb('failed'):_0x2b0cb7['succeed']>0x0?_0x5344eb('succeed'):_0x5344eb('total');}get['couldOpenActivity'](){return this['cfg']['showEmptyList']||this['uploadCollection']['size']>0x0;}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']),this['subConfigValue']('multiple',this['_throttledHandleCollectionUpdate']),this['subConfigValue']('multipleMin',this['_throttledHandleCollectionUpdate']),this['subConfigValue']('multipleMax',this['_throttledHandleCollectionUpdate']),this['sub']('*groupInfo',_0x265467=>{_0x265467&&this['_throttledHandleCollectionUpdate']();}),this['subConfigValue']('filesViewMode',_0x580623=>{this['setAttribute']('mode',_0x580623);}),this['sub']('*currentActivity',_0x3e8c11=>{this['couldOpenActivity']||_0x3e8c11!==this['activityType']||(this['$']['*currentActivity']=this['initActivity']);}),this['uploadCollection']['observeProperties'](this['_throttledHandleCollectionUpdate']),this['uploadCollection']['observeCollection'](this['_throttledHandleCollectionUpdate']),this['sub']('*collectionErrors',_0x3e9009=>{const _0x5ef8ed=_0x3e9009['filter'](_0x5d7b14=>'SOME_FILES_HAS_ERRORS'!==_0x5d7b14['type'])[0x0];_0x5ef8ed?this['set$']({'commonErrorMessage':_0x5ef8ed['message']}):this['set$']({'commonErrorMessage':null});});}['destroyCallback'](){super['destroyCallback'](),this['uploadCollection']['unobserveProperties'](this['_throttledHandleCollectionUpdate']),this['uploadCollection']['unobserveCollection'](this['_throttledHandleCollectionUpdate']);}};UploadList['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<span\x20aria-live=\x22polite\x22\x20class=\x22uc-header-text\x22>{{headerText}}</span>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x0a\x20\x20<div\x20class=\x22uc-no-files\x22\x20set=\x22@hidden:\x20hasFiles\x22>\x0a\x20\x20\x20\x20<slot\x20name=\x22empty\x22><span\x20l10n=\x22no-files\x22></span></slot>\x0a\x20\x20</div>\x0a\x0a\x20\x20<div\x20class=\x22uc-files\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-files-wrapper\x22\x20repeat=\x22*uploadList\x22\x20repeat-item-tag=\x22uc-file-item\x22></div>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-add-more-btn\x20uc-secondary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onAdd;\x20@disabled:\x20!addMoreBtnEnabled;\x20@hidden:\x20!addMoreBtnVisible\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22add\x22></uc-icon><span\x20l10n=\x22add-more\x22></span>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</div>\x0a\x0a\x20\x20<div\x20class=\x22uc-common-error\x22\x20set=\x22@hidden:\x20!commonErrorMessage;\x20textContent:\x20commonErrorMessage;\x22></div>\x0a\x0a\x20\x20<div\x20class=\x22uc-toolbar\x22>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x20set=\x22onclick:\x20onCancel;\x22\x20l10n=\x22clear\x22></button>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-toolbar-spacer\x22></div>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-add-more-btn\x20uc-secondary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onAdd;\x20@disabled:\x20!addMoreBtnEnabled;\x20@hidden:\x20!addMoreBtnVisible\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22add\x22></uc-icon><span\x20l10n=\x22add-more\x22></span>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-upload-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:\x20!uploadBtnVisible;\x20onclick:\x20onUpload;\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22upload\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-done-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:\x20!doneBtnVisible;\x20onclick:\x20onDone;\x20\x20@disabled:\x20!doneBtnEnabled\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22done\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20</div>\x0a\x0a\x20\x20<uc-drop-area\x20ghost></uc-drop-area>\x0a';var _0x15b364=class extends _0x3600a4{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['URL'];constructor(){super(),this['init$']={...this['init$'],'importDisabled':!0x0,'onUpload':_0x51746=>{_0x51746['preventDefault'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'upload-from-url','node':this['tagName']}}});const _0x475b71=this['ref']['input']['value'];this['api']['addFileFromUrl'](_0x475b71,{'source':_0x464057['URL']}),this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'];},'onCancel':()=>{this['historyBack']();},'onInput':_0x2d1701=>{const _0xa859d2=_0x2d1701['target']?.['value']??'';this['set$']({'importDisabled':!_0xa859d2});}};}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'',{'onActivate':()=>{const _0xc68874=this['ref']['input'];_0xc68874['value']='',_0xc68874['focus']();}});}};_0x15b364['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-mini-btn\x22\x20set=\x22onclick:\x20*historyBack\x22\x20l10n=\x22@title:back;@aria-label:back\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22back\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<div>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22url\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22caption-from-url\x22></span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<form\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<label>\x0a\x20\x20\x20\x20\x20\x20<input\x20placeholder=\x22https://\x22\x20class=\x22uc-url-input\x22\x20type=\x22text\x22\x20ref=\x22input\x22\x20set=\x22oninput:\x20onInput\x22\x20/>\x0a\x20\x20\x20\x20</label>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22submit\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-url-upload-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onUpload;\x20@disabled:\x20importDisabled\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22upload-url\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20</form>\x0a';var CloudImageEditor=class extends CloudImageEditorBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-wgt-common'];constructor(){super(),this['init$']={...this['init$'],'*solution':this['tagName']};}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']}),this['a11y']?.['registerBlock'](this);}},_0xeba31c=class extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-inline'];constructor(){super(),this['init$']={...this['init$'],'couldCancel':!0x1,'*solution':this['tagName'],'cancel':()=>{if(this['couldHistoryBack']){const _0x2133d8=this['$']['*historyBack'];return void _0x2133d8?.();}this['couldShowList']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}};}get['couldHistoryBack'](){const _0x53c77f=this['$']['*history'];return!(!_0x53c77f||_0x53c77f['length']<=0x1)&&_0x53c77f[_0x53c77f['length']-0x1]!==ActivityBlock['activities']['START_FROM'];}get['couldShowList'](){const _0x5a2e50=this['$']['*uploadList'];return this['cfg']['showEmptyList']||Array['isArray'](_0x5a2e50)&&_0x5a2e50['length']>0x0;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']});const _0x158e61=this['ref']['uBlock'];_0x158e61&&(this['sub']('*currentActivity',_0x4c1118=>{_0x4c1118||(this['$']['*currentActivity']=_0x158e61['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['sub']('*uploadList',_0x555a7a=>{Array['isArray'](_0x555a7a)&&_0x555a7a['length']>0x0&&this['$']['*currentActivity']===(_0x158e61['initActivity']||ActivityBlock['activities']['START_FROM'])&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['$']['couldCancel']=this['couldHistoryBack']||this['couldShowList'];}));}};_0xeba31c['template']='\x0a\x20\x20<uc-start-from>\x0a\x20\x20\x20\x20<uc-drop-area\x20with-icon\x20clickable></uc-drop-area>\x0a\x20\x20\x20\x20<uc-source-list\x20role=\x22list\x22\x20wrap></uc-source-list>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22start-from-cancel\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20cancel;\x20@hidden:\x20!couldCancel\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20<uc-copyright></uc-copyright>\x0a\x20\x20</uc-start-from>\x0a\x20\x20<uc-upload-list\x20ref=\x22uBlock\x22></uc-upload-list>\x0a\x20\x20<uc-camera-source></uc-camera-source>\x0a\x20\x20<uc-url-source></uc-url-source>\x0a\x20\x20<uc-external-source></uc-external-source>\x0a\x20\x20<uc-cloud-image-editor-activity></uc-cloud-image-editor-activity>\x0a';var _0x17c94d='active',_0x3156d0='',_0x3dd9c8=class extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];['handleModalOpen'];['handleModalClose'];constructor(){super(),this['init$']={...this['init$'],'singleUpload':!0x1,'isHiddenStartFrom':!0x1,'classUploadList':_0x3156d0,'classStartFrom':_0x3156d0,'*solution':this['tagName']};}['_handleModalOpen'](_0x12991c){_0x12991c['id']===ActivityBlock['activities']['CLOUD_IMG_EDIT']&&this['set$']({'classUploadList':_0x17c94d}),this['$']['*currentActivity']===ActivityBlock['activities']['UPLOAD_LIST']&&this['set$']({'classUploadList':_0x17c94d,'isHiddenStartFrom':!0x0});const _0x4c5e95=this['$']['*uploadList'];(!_0x4c5e95||_0x4c5e95['length']<=0x0)&&this['set$']({'classStartFrom':_0x17c94d});}['_handleModalClose'](_0x110851){_0x110851['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],this['set$']({'isHiddenStartFrom':!0x1})),_0x110851['id']===ActivityBlock['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']});const _0x1ff641=this['ref']['uBlock'];_0x1ff641&&(this['sub']('*currentActivity',_0x5564a9=>{_0x5564a9===ActivityBlock['activities']['UPLOAD_LIST']&&this['modalManager']?.['closeAll'](),_0x5564a9||(this['$']['*currentActivity']=_0x1ff641['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['sub']('*uploadList',_0xb13035=>{Array['isArray'](_0xb13035)&&_0xb13035['length']>0x0?(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],this['set$']({'classStartFrom':_0x3156d0})):(this['set$']({'classUploadList':_0x3156d0,'isHiddenStartFrom':!0x1}),this['$']['*currentActivity']=_0x1ff641['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['subConfigValue']('confirmUpload',_0x4b309d=>{!0x1!==_0x4b309d&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0x188363=>{this['setAttribute']('mode',_0x188363),this['subConfigValue']('multiple',_0xc75a7e=>{'grid'===_0x188363?(_0xc75a7e?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['$']['singleUpload']=!_0xc75a7e):(this['style']['removeProperty']('--uc-grid-col'),this['$']['singleUpload']=!0x1);});}),this['handleModalOpen']=_0x5ad220=>{this['_handleModalOpen'](_0x5ad220);},this['handleModalClose']=_0x18ad35=>{this['_handleModalClose'](_0x18ad35);},this['modalManager']?.['subscribe'](ModalEvents['OPEN'],this['handleModalOpen']),this['modalManager']?.['subscribe'](ModalEvents['CLOSE'],this['handleModalClose']));}['destroyCallback'](){super['destroyCallback'](),this['modalManager']?.['unsubscribe'](ModalEvents['OPEN'],this['handleModalOpen']),this['modalManager']?.['unsubscribe'](ModalEvents['CLOSE'],this['handleModalClose']);}};_0x3dd9c8['template']='\x0a\x20\x20<uc-start-from\x20set=\x22@hidden:\x20isHiddenStartFrom;\x20@class:classStartFrom\x22>\x0a\x20\x20\x20\x20<uc-drop-area\x20set=\x22@single:singleUpload;\x22\x20initflow\x20clickable\x20tabindex=\x220\x22\x20l10n=\x22choose-file\x22></uc-drop-area>\x0a\x20\x20\x20\x20<uc-copyright></uc-copyright>\x0a\x20\x20</uc-start-from>\x0a\x20\x20<uc-upload-list\x20set=\x22@class:classUploadList\x22\x20ref=\x22uBlock\x22></uc-upload-list>\x0a\x0a\x20\x20<uc-modal\x20id=\x22start-from\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-start-from>\x0a\x20\x20\x20\x20\x20\x20<uc-drop-area\x20with-icon\x20clickable></uc-drop-area>\x0a\x20\x20\x20\x20\x20\x20<uc-source-list\x20role=\x22list\x22\x20wrap></uc-source-list>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20l10n=\x22start-from-cancel\x22\x20class=\x22uc-secondary-btn\x22\x20set=\x22onclick:\x20*historyBack\x22></button>\x0a\x20\x20\x20\x20</uc-start-from>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22camera\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-camera-source></uc-camera-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22url\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-url-source></uc-url-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22external\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-external-source></uc-external-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22cloud-image-edit\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-cloud-image-editor-activity></uc-cloud-image-editor-activity>\x0a\x20\x20</uc-modal>\x0a';var _0x3795ff=class extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];constructor(){super();const _0x435eb6={...this['init$'],'isHidden':!0x1,'*solution':this['tagName']};this['init$']=_0x435eb6;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']}),this['defineAccessor']('headless',_0x161d9d=>{this['set$']({'isHidden':_0x48f4fa(_0x161d9d)});});}};_0x3795ff['template']='\x0a\x20\x20<uc-simple-btn\x20set=\x22@hidden:\x20isHidden\x22></uc-simple-btn>\x0a\x0a\x20\x20<uc-modal\x20id=\x22start-from\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-start-from>\x0a\x20\x20\x20\x20\x20\x20<uc-drop-area\x20with-icon\x20clickable></uc-drop-area>\x0a\x20\x20\x20\x20\x20\x20<uc-source-list\x20role=\x22list\x22\x20wrap></uc-source-list>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20l10n=\x22start-from-cancel\x22\x20class=\x22uc-secondary-btn\x22\x20set=\x22onclick:\x20*historyBack\x22></button>\x0a\x20\x20\x20\x20\x20\x20<uc-copyright></uc-copyright>\x0a\x20\x20\x20\x20</uc-start-from>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22upload-list\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-upload-list></uc-upload-list>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22camera\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-camera-source></uc-camera-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22url\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-url-source></uc-url-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22external\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-external-source></uc-external-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22cloud-image-edit\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-cloud-image-editor-activity></uc-cloud-image-editor-activity>\x0a\x20\x20</uc-modal>\x0a',_0x3795ff['bindAttributes']({'headless':null});var _0x4bc75a=Object['freeze']({'__proto__':null,'ActivityBlock':ActivityBlock,'ActivityHeader':ActivityHeader,'BaseComponent':BaseComponent,'Block':_0x1e370d,'BtnUi':BtnUi,'CameraSource':_0x43d76b,'CloudImageEditor':CloudImageEditor,'CloudImageEditorActivity':CloudImageEditorActivity,'CloudImageEditorBlock':CloudImageEditorBlock,'Config':_0x1efb41,'Copyright':Copyright,'CropFrame':_0xdf4c5a,'Data':Data,'DropArea':_0x53aebb,'EditorAspectRatioButtonControl':EditorAspectRatioButtonControl,'EditorCropButtonControl':EditorCropButtonControl,'EditorFilterControl':EditorFilterControl,'EditorFreeformButtonControl':EditorFreeformButtonControl,'EditorImageCropper':EditorImageCropper,'EditorImageFader':EditorImageFader,'EditorOperationControl':EditorOperationControl,'EditorScroller':EditorScroller,'EditorSlider':EditorSlider,'EditorToolbar':EditorToolbar,'ExternalSource':ExternalSource,'ExternalUploadSource':ExternalUploadSource,'FileItem':FileItem,'FileUploaderInline':_0xeba31c,'FileUploaderMinimal':_0x3dd9c8,'FileUploaderRegular':_0x3795ff,'FormInput':FormInput,'Icon':_0x359c45,'Img':_0x311fe7,'LineLoaderUi':_0x12203c,'Modal':_0x1c5424,'ModalEvents':ModalEvents,'PACKAGE_NAME':_0x4366e2,'PACKAGE_VERSION':_0x319797,'PresenceToggle':_0x4b932a,'ProgressBar':_0x10c9d9,'ProgressBarCommon':_0x3ff50b,'Select':Select,'SimpleBtn':SimpleBtn,'SliderUi':_0x5dcf5d,'SolutionBlock':SolutionBlock,'SourceBtn':SourceBtn,'SourceList':SourceList,'Spinner':_0x45e54a,'StartFrom':StartFrom,'Thumb':_0x346b15,'UID':_0x4f7a5d,'UploadCtxProvider':UploadCtxProvider,'UploadList':UploadList,'UploadSource':_0x464057,'UploaderBlock':_0x3600a4,'UrlSource':_0x15b364,'defineComponents':defineComponents,'defineLocale':_0x3c8d5c,'loadFileUploaderFrom':_0x31a2cc,'toKebabCase':toKebabCase});class _0x66c0d8 extends ckeditor5['Plugin']{static get['requires'](){return[UploadcareEditing,_0x53ebac];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x17816a){super(_0x17816a),_0x17816a['config']['define']('uploadcare.uploader.sourceList',[_0x378662['Local'],_0x378662['URL']]),defineComponents(_0x4bc75a),this['_defineLocale']();}['_defineLocale'](){const _0x29894c=this['editor']['config']['get']('uploadcare.locale'),_0x17e9b7=this['editor']['locale']['contentLanguage'];_0x29894c&&_0x3c8d5c(_0x17e9b7,_0x29894c);}}class UploadcareImageEditFormLoadingView extends ckeditor5['View']{constructor(_0x233d40){super(_0x233d40);const t=_0x233d40['t'],_0x56e1ff=this['bindTemplate'],_0x45fc17=new ckeditor5['SpinnerView']();_0x45fc17['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':[_0x45fc17,{'text':_0x56e1ff['to']('imageUploadProgress',_0x526dc4=>t('Loading\x20image...')+'\x20('+(_0x526dc4||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(_0x2203a5){super(_0x2203a5);const t=_0x2203a5['t'];this['set']('errorType',null);const _0x2b055b=new ckeditor5['ButtonView'](_0x2203a5);_0x2b055b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2b055b['withText']=!0x0,_0x2b055b['class']='ck-button-action',_0x2b055b['on']('execute',()=>{this['fire']('retry');}),_0x2b055b['bind']('isVisible')['to'](this,'errorType',_0xba4625=>'NotFound'!==_0xba4625);const _0x377c59=new ckeditor5['IconView']();_0x377c59['content']=ckeditor5['IconError'],_0x377c59['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x525fa4=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':[_0x377c59,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x525fa4['to']('errorType',_0x3e2d0f=>t('NotFound'!==_0x3e2d0f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2b055b]},{'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(_0x5efd00,_0x51e2fa){super(_0x5efd00);const _0x5f0f9a=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x51e2fa,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5f0f9a['to']('imageSrc')}});}}class UploadcareImageEditFormView extends _0x789f11{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x22461d,_0x511d53,_0x54e225){super(_0x22461d),this['_items']=this['createCollection'](),this['_loadingView']=new UploadcareImageEditFormLoadingView(_0x22461d),this['_errorView']=new UploadcareImageEditFormErrorView(_0x22461d),this['_editingView']=new UploadcareImageEditFormEditingView(_0x22461d,_0x54e225),this['_focusableView']=new ckeditor5['View'](_0x22461d),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x511d53),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'],_0x5c01f7=>{this['_addUploadcareImageEditorListeners'](_0x5c01f7);});}),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'](_0x4573c6,_0x142626){const _0x3c1df4='uc-cloud-image-editor',_0x27ed89=_0x4573c6['querySelector'](_0x3c1df4);if(_0x27ed89)return _0x142626(_0x27ed89);const _0x310d66=new MutationObserver(_0x514a3c=>{const _0x16731d=_0x514a3c['filter'](_0x4da8f3=>_0x4da8f3['target']===_0x4573c6&&_0x4da8f3['addedNodes']['length']>0x0&&_0x4da8f3['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x3c1df4);_0x16731d['length']&&(_0x310d66['disconnect'](),_0x142626(_0x16731d[0x0]['addedNodes'][0x0]));});_0x310d66['observe'](_0x4573c6,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0xd48e56){_0xd48e56['addEventListener']('apply',_0x30a91a=>{this['fire']('apply',{'imageSrc':_0x30a91a['detail']['cdnUrl']});}),_0xd48e56['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(_0x16cc2b,_0x1e09d3,_0x4bf16b){super(),this['_editor']=_0x16cc2b,this['_dialog']=_0x1e09d3,this['_imageElement']=_0x4bf16b,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 _0xc5674c=this['_imageElement'],_0x37d647=_0xc5674c['getAttribute']('uploadcareImageId'),_0x3f662a=_0xc5674c['getAttribute']('src');if(_0x37d647)await this['_loadImageInfo'](_0x37d647,_0x3f662a);else{if(this['_imageCache']['has'](_0x3f662a)){const _0x25256c=this['_imageCache']['get'](_0x3f662a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x25256c['url'],this['imageDimension']=_0x25256c['dimension'],this['imageId']=_0x25256c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x23f672}=this['_editor'],t=_0x23f672['t'],_0x19c1b0=new UploadcareImageEditFormView(_0x23f672,this['imageStatus'],this['_attributes']);_0x19c1b0['bind']('status')['to'](this,'imageStatus'),_0x19c1b0['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x19c1b0['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x19c1b0['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x19c1b0,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':ckeditor5['IconUploadcareImageEdit'],'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x19c1b0,'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x19c1b0['focus']();},'onHide':()=>{_0x19c1b0['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x446b3a=>!isAncestor(_0x446b3a,_0x19c1b0['element'])}});}['_loadImageInfo'](_0x22b0a3,_0x2c2c04){return UploadUtils['getInfo'](_0x22b0a3,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5cd2d2=>{const {width:_0x15b25c,height:_0x3359e4}=_0x5cd2d2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2c2c04,this['imageDimension']={'width':_0x15b25c,'height':_0x3359e4},this['imageId']=_0x22b0a3;})['catch'](_0x497208=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x497208['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x43186a,_0x14af39){return this['_getImageAsFile'](_0x43186a)['then'](_0x3802c2=>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':_0x14af39['signal'],'file':_0x3802c2,'onProgress':_0x3e0684=>{_0x3e0684&&_0x3e0684['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3e0684['value']));}}))['then'](_0x5e3b96=>{const {width:_0xd9d629,height:_0x2d769e}=_0x5e3b96['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5e3b96['cdnUrl'],this['imageDimension']={'width':_0xd9d629,'height':_0x2d769e},this['imageId']=_0x5e3b96['uuid'],this['imageUploadProgress']=null;const _0xf707e6=_0x43186a['getAttribute']('src');this['_imageCache']['set'](_0xf707e6,{'id':_0x5e3b96['uuid'],'url':_0x5e3b96['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4fdae6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4fdae6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x586681,_0x2fb3df){_0x586681['on']('apply',(_0x2e2bea,_0x335fdb)=>{this['_replaceImage'](_0x2fb3df,_0x335fdb['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x586681['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x586681['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x512a26,_0x4807e9,_0x123490){const _0x147a86=this['_editor'],{width:_0x549edc,height:_0x1b3495}=getImageDimension(_0x4807e9,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x475882,imageSources:_0x29469b}=getImageUrls(_0x4807e9,_0x549edc);_0x147a86['model']['change'](_0x18044e=>{if('$graveyard'===_0x512a26['root']['rootName']){_0x147a86['execute']('insertImage',{'imageType':_0x512a26['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x512a26['getAttributes']()),'uploadcareImageId':_0x123490,'src':_0x475882,'sources':_0x29469b,'width':_0x549edc,'height':_0x1b3495}});const _0x35e79c=_0x512a26['getChildren']();_0x512a26=_0x147a86['model']['document']['selection']['getSelectedElement']();for(const _0x24f2ec of _0x35e79c)_0x18044e['append'](_0x18044e['cloneElement'](_0x24f2ec),_0x512a26);}else _0x18044e['setSelection'](_0x512a26,'on'),_0x147a86['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x512a26['getAttributes']()),'uploadcareImageId':_0x123490,'src':_0x475882,'sources':_0x29469b,'width':_0x549edc,'height':_0x1b3495},_0x512a26);_0x18044e['setSelection'](_0x512a26,'on');});}async['_getImageAsFile'](_0xc2841f){const _0xacf044=ckeditor5['global']['window'],_0x1c9c4c=ckeditor5['global']['document']['location']['href'],_0x42fb6c=new _0xacf044['URL'](_0xc2841f['getAttribute']('src'),_0x1c9c4c);if('data:'===_0x42fb6c['protocol']){const _0x2e1c39=_0x42fb6c['href']['split'](','),_0x1456ff=_0x2e1c39[0x0]['match'](/:(.*?);/)[0x1],_0xc5049=_0x1456ff['split']('/')[0x1],_0x1ab255=_0xacf044['atob'](_0x2e1c39[_0x2e1c39['length']-0x1]);let _0x216301=_0x1ab255['length'];const _0x5a5886=new _0xacf044['Uint8Array'](_0x216301);for(;_0x216301--;)_0x5a5886[_0x216301]=_0x1ab255['charCodeAt'](_0x216301);return new _0xacf044['File']([_0x5a5886],'image.'+_0xc5049,{'type':_0x1456ff});}const _0x21ccea=_0x42fb6c['href']['split']('/'),_0x44016c=_0x21ccea[_0x21ccea['length']-0x1],_0x1e09ef=_0x44016c['split']('.')[0x1];return _0xacf044['fetch'](_0x42fb6c['href'])['then'](_0x50afe9=>_0x50afe9['clone']()['blob']())['then'](_0x1a5489=>new _0xacf044['File']([_0x1a5489],_0x44016c,{'type':'image/'+_0x1e09ef}));}}class UploadcareImageEditCommand extends ckeditor5['Command']{['imageEditController'];static get['requires'](){return[ckeditor5['Dialog']];}['_isEditable'];constructor(_0x41f75b){super(_0x41f75b),this['imageEditController']=void 0x0,this['_isEditable']=createEditabilityChecker(_0x41f75b['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x30ae56=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x30ae56);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4302c8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4302c8&&(_0x4302c8['is']('element','imageBlock')||_0x4302c8['is']('element','imageInline'))&&(this['imageEditController']=new UploadcareImageEditController(this['editor'],this['editor']['plugins']['get'](ckeditor5['Dialog']),_0x4302c8),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class _0x24d252 extends ckeditor5['Command']{['refresh'](){const _0x26b229=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x26b229&&(_0x26b229['is']('element','imageBlock')||_0x26b229['is']('element','imageInline')));}['execute'](_0x287b5a){const _0x570997=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x34ee30=>{_0x34ee30['setAttributes'](_0x287b5a,_0x570997),_0x34ee30['removeAttribute']('srcset',_0x570997),_0x34ee30['removeAttribute']('sizes',_0x570997);});}}class UploadcareImageEditEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[UploadcareEditing,ckeditor5['Notification'],'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3988c1}=this;_0x3988c1['commands']['add']('uploadcareImageEdit',new UploadcareImageEditCommand(_0x3988c1)),_0x3988c1['commands']['add']('uploadcareImageReplace',new _0x24d252(_0x3988c1));}}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 _0x1160da=this['editor'];_0x1160da['ui']['componentFactory']['add']('uploadcareImageEdit',_0x147842=>{const _0x42e81b=_0x1160da['commands']['get']('uploadcareImageEdit'),_0x2399f7=new ckeditor5['ButtonView'](_0x147842),t=_0x147842['t'];return _0x2399f7['set']({'icon':ckeditor5['IconUploadcareImageEdit'],'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2399f7['bind']('isEnabled')['to'](_0x42e81b),_0x2399f7['bind']('isOn')['to'](_0x42e81b,'isActive'),this['listenTo'](_0x2399f7,'execute',()=>{_0x1160da['execute']('uploadcareImageEdit'),_0x1160da['editing']['view']['focus']();}),_0x2399f7;}),this['_initConfig']();}['_initConfig'](){const _0x3a6e88=ckeditor5['createElement'](document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3a6e88),this['listenTo'](this['editor'],'destroy',()=>{_0x3a6e88['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']=_0x589157,exports['AIChat']=AIChat,exports['AIChatController']=AIChatController,exports['AIChatHistory']=AIChatHistory,exports['AIChatHistoryController']=AIChatHistoryController,exports['AIChatHistoryUI']=AIChatHistoryUI,exports['AIChatShortcuts']=AIChatShortcuts,exports['AIChatUI']=AIChatUI,exports['AIConnector']=AIConnector,exports['AIEditing']=AIEditing,exports['AIEditorIntegration']=AIEditorIntegration,exports['AIQuickActionType']=AIQuickActionType,exports['AIQuickActions']=AIQuickActions,exports['AIQuickActionsUI']=AIQuickActionsUI,exports['AIRequestError']=AIRequestError,exports['AIReviewCheck']=_0x1dc237,exports['AIReviewCheckResult']=AIReviewCheckResult,exports['AIReviewCheckRun']=_0x445534,exports['AIReviewMode']=_0x52943b,exports['AIReviewModeController']=AIReviewCoreController,exports['AIReviewModeEditing']=AIReviewCoreEditing,exports['AIReviewModeUI']=_0x14406f,exports['AITabs']=_0x337f5c,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']=_0x388161,exports['CaseChangeCommand']=_0x41ba28,exports['CaseChangeEditing']=CaseChangeEditing,exports['CaseChangeUI']=_0x48d06d,exports['CloudServicesCommentsAdapter']=CloudServicesCommentsAdapter,exports['CloudServicesRevisionHistoryAdapter']=CloudServicesRevisionHistoryAdapter,exports['CloudServicesTrackChangesAdapter']=CloudServicesTrackChangesAdapter,exports['Comment']=Comment,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']=_0x46dab4,exports['CopyFormatCommand']=CopyFormatCommand,exports['DATA_ID_MODEL_ATTRIBUTE']=_0x5862c3,exports['DATA_ID_VIEW_ATTRIBUTE']=_0x58ca49,exports['DiscardSuggestionCommand']=DiscardSuggestionCommand,exports['DocumentCompare']=DocumentCompare,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']=_0x510d32,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']=_0x1dfc42,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']=_0x8801a8,exports['MergeFieldsEditing']=MergeFieldsEditing,exports['MergeFieldsEmailIntegration']=MergeFieldsEmailIntegration,exports['MergeFieldsUI']=_0x11e0d4,exports['MultiLevelList']=MultiLevelList,exports['MultiLevelListCommand']=MultiLevelListCommand,exports['MultiLevelListEditing']=MultiLevelListEditing,exports['MultiLevelListEmailIntegration']=MultiLevelListEmailIntegration,exports['MultiLevelListUI']=MultiLevelListUI,exports['NarrowSidebar']=_0x1512a2,exports['OpenAITextAdapter']=OpenAITextAdapter,exports['Pagination']=Pagination,exports['PaginationRenderer']=PaginationRenderer,exports['PasteFormatCommand']=PasteFormatCommand,exports['PasteFromOfficeEnhanced']=PasteFromOfficeEnhanced,exports['Permissions']=_0x199112,exports['PresenceList']=PresenceList,exports['PresenceListUI']=PresenceListUI,exports['PreviewFinalContentCommand']=PreviewFinalContentCommand,exports['PreviewMergeFieldsCommand']=_0x5b02b3,exports['RealTimeCollaborationClient']=RealTimeCollaborationClient,exports['RealTimeCollaborativeComments']=RealTimeCollaborativeComments,exports['RealTimeCollaborativeEditing']=RealTimeCollaborativeEditing,exports['RealTimeCollaborativeRevisionHistory']=RealTimeCollaborativeRevisionHistory,exports['RealTimeCollaborativeTrackChanges']=RealTimeCollaborativeTrackChanges,exports['ReplaceSourceCommand']=_0x36a0a8,exports['RestoreRevisionCommand']=RestoreRevisionCommand,exports['Revision']=_0x4383e2,exports['RevisionHistory']=RevisionHistory,exports['RevisionHistoryUI']=RevisionHistoryUI,exports['RevisionHistoryUtils']=RevisionHistoryUtils,exports['RevisionTracker']=_0x6e161d,exports['RevisionViewer']=_0xfe065c,exports['RevisionViewerEditor']=RevisionViewerEditor,exports['RevisionViewerIntegration']=RevisionViewerIntegration,exports['RevisionViewerLoadingOverlay']=_0x5b22b6,exports['RevisionViewerUI']=_0x6104f4,exports['RevisionsRepository']=RevisionsRepository,exports['RevisionsSidebar']=_0x1fb2fa,exports['Sessions']=_0x3dd12d,exports['ShowAIAssistantCommand']=ShowAIAssistantCommand,exports['ShowChangeCommand']=_0x3276d5,exports['Sidebar']=_0x5be2b9,exports['SlashCommand']=_0xb47fad,exports['SlashCommandConfig']=_0xbe2de5,exports['SlashCommandEditing']=SlashCommandEditing,exports['SlashCommandUI']=_0x5a1692,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']=_0x1cdfce,exports['TrackChanges']=_0x44cfa6,exports['TrackChangesCommand']=_0x1e821e,exports['TrackChangesData']=TrackChangesData,exports['TrackChangesDataGetter']=TrackChangesDataGetter,exports['TrackChangesEditing']=TrackChangesEditing,exports['TrackChangesPreview']=_0xb30e22,exports['TrackChangesUI']=_0x160d72,exports['UploadEmailIntegration']=UploadEmailIntegration,exports['Uploadcare']=_0x66c0d8,exports['UploadcareCommand']=_0x2d9e09,exports['UploadcareEditing']=UploadcareEditing,exports['UploadcareImageEdit']=UploadcareImageEdit,exports['UploadcareImageEditCommand']=UploadcareImageEditCommand,exports['UploadcareImageEditEditing']=UploadcareImageEditEditing,exports['UploadcareImageEditUI']=UploadcareImageEditUI,exports['UploadcareUI']=_0x53ebac,exports['UploadcareUploadAdapter']=UploadcareUploadAdapter,exports['UserView']=_0x267a8b,exports['Users']=_0xd5bff4,exports['WebSocketGateway']=WebSocketGateway,exports['WideSidebar']=_0x1cef39,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['transformEmailFigcaptionToDiv']=transformEmailFigcaptionToDiv,exports['transformEmailFigureToTable']=transformEmailFigureToTable,exports['transformEmailFloatToAlign']=transformEmailFloatToAlign,exports['transformEmailImageWidthAttributes']=transformEmailImageWidthAttributes,exports['transformEmailMarginToAlign']=transformEmailMarginToAlign,exports['trimHtml']=trimHtml;});