/*
 *             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(_0x2e0ef0,_0x5185e3){'object'==typeof exports&&'undefined'!=typeof module?_0x5185e3(exports,require('ckeditor5')):'function'==typeof define&&define['amd']?define(['exports','ckeditor5'],_0x5185e3):_0x5185e3((_0x2e0ef0='undefined'!=typeof globalThis?globalThis:_0x2e0ef0||self)['CKEDITOR_PREMIUM_FEATURES']={},_0x2e0ef0['CKEDITOR']);}(this,function(exports,ckeditor5){'use strict';const _0x3ee86b='_ungrouppedCommands';function _0x334542(_0x38d03f,_0x14998b){const _0x4be587=(0x0,_0x14998b['t'])('Other');return _0x38d03f['length']?'groupId'in _0x38d03f[0x0]?_0x38d03f:[{'groupId':_0x3ee86b,'groupLabel':_0x4be587,'order':0x1/0x0,'commands':_0x38d03f}]:[{'groupId':_0x3ee86b,'groupLabel':_0x4be587,'order':0x1/0x0,'commands':[]}];}const DomDataTransfer$1=globalThis['DataTransfer'],_0x3e0eac='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:_0x4bb706}=this,_0x4b7579=['ck-fake-ai-selection'];_0x4bb706['config']['get']('ai.assistant.useTheme')&&_0x4b7579['push']('ck-ai-assistant-ui_theme'),_0x4bb706['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x3e0eac,'view':{'classes':_0x4b7579,'priority':0xc}}),_0x4bb706['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x3e0eac,'view':(_0x1e3d22,{writer:_0x2f290f})=>{if(!_0x1e3d22['markerRange']['isCollapsed'])return null;const _0x25db98=_0x2f290f['createUIElement']('span');return _0x2f290f['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x25db98),_0x25db98;}});}['afterInit'](){_0x22426e(this);}['showFakeVisualSelection'](){const _0x52ea00=this['editor']['model'];_0x52ea00['change'](_0x3771bc=>{const _0x1d5861=_0x52ea00['document']['selection']['getRanges']();let _0x2e52d6=0x0;for(const _0x276c98 of _0x1d5861){const _0x387b22=_0x3e0eac+':'+_0x2e52d6;if(_0x52ea00['markers']['has'](_0x387b22))_0x3771bc['updateMarker'](_0x387b22,{'range':_0x276c98});else{if(_0x276c98['start']['isAtEnd']){const _0x538dc4=_0x276c98['start']['getLastMatchingPosition'](({item:_0x561348})=>!_0x52ea00['schema']['isContent'](_0x561348),{'boundaries':_0x276c98});_0x3771bc['addMarker'](_0x387b22,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3771bc['createRange'](_0x538dc4,_0x276c98['end'])});}else _0x3771bc['addMarker'](_0x387b22,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x276c98});}_0x2e52d6++;}});}['hideFakeVisualSelection'](){const _0x7e3a38=this['editor']['model'],_0x171f55=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](_0x3e0eac));_0x171f55['length']&&_0x7e3a38['change'](_0x2d90ff=>{_0x171f55['forEach'](_0x2f7401=>{_0x2d90ff['removeMarker'](_0x2f7401);});});}['insertContent'](_0x53a325,_0x18711f){const _0x3deb89=this['_getAISelection'](),_0x771310=_0x18711f||_0x3deb89['getFirstRange']();this['editor']['model']['canEditAt'](_0x771310)&&this['editor']['model']['change'](_0x45236c=>{this['hideFakeVisualSelection'](),_0x18711f||this['_resetContentOfSelectedTableCells'](_0x45236c,_0x3deb89),this['_pasteHTMLUsingClipboard']({'insertAt':_0x771310,'writer':_0x45236c,'html':_0x53a325});});}['insertContentBelow'](_0x51b010){const {model:_0x2e9528}=this['editor'],_0x2dfab2=this['_getAISelection']();_0x2e9528['change'](()=>{const _0x1df5cf=this['_prepareTableInsertBelowPosition'](_0x51b010,_0x2dfab2)||this['_getDefaultInsertBelowPosition'](_0x2dfab2);this['insertContent'](_0x51b010,_0x1df5cf);});}['_getAISelection'](){const _0x4b3b95=this['editor']['model'],_0x1dab2b=Array['from'](_0x4b3b95['markers']['getMarkersGroup'](_0x3e0eac))['map'](_0x21bb7c=>_0x21bb7c['getRange']());return _0x4b3b95['createSelection'](_0x1dab2b);}['_pasteHTMLUsingClipboard']({writer:_0x534709,html:_0x4957ae,insertAt:_0xfe2d9b}){const {view:_0x436575}=this['editor']['editing'],_0x38d134=this['editor']['plugins']['get'](ckeditor5['ClipboardPipeline']),_0x5beffd=new DomDataTransfer$1();_0x5beffd['setData']('text/html',_0x4957ae);const _0x25b6ae=new ClipboardEvent('paste',{'clipboardData':_0x5beffd}),_0x5f9380=new ckeditor5['ViewDocumentDomEventData'](_0x436575,_0x25b6ae,{'dataTransfer':new ckeditor5['ViewDataTransfer'](_0x5beffd)});_0x534709['setSelection'](_0xfe2d9b);const _0x5b4275=(_0xd9eb24,_0x4c3a63)=>{_0x4c3a63['resultRange']&&_0x534709['setSelection'](_0x4c3a63['resultRange']);};_0x38d134['once']('contentInsertion',_0x5b4275,{'priority':'lowest'}),_0x436575['document']['fire']('paste',_0x5f9380),_0x38d134['off']('contentInsertion',_0x5b4275);}['_getDefaultInsertBelowPosition'](_0x42a53a){const {model:_0x309751}=this['editor'],_0x40ca28=Array['from'](_0x42a53a['getSelectedBlocks']());return _0x40ca28['length']?_0x309751['createPositionAfter'](_0x40ca28['pop']()):_0x42a53a['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0x401b11,_0xe85110){const {model:_0x8a1b71,plugins:_0x5b99e0}=this['editor'];if(_0x5b99e0['has']('TableUtils')){const _0x4b5b3b=_0x5b99e0['get']('TableUtils')['getSelectedTableCells'](_0xe85110);if(_0x4b5b3b['length']){const _0x4476da=this['_getTableRowCountFromContent'](_0x401b11),_0x196c04=this['_createEmptyTableRows'](_0x4b5b3b,_0x4476da);return _0x8a1b71['createPositionAt'](_0x196c04,0x0);}}return null;}['_getTableRowCountFromContent'](_0x12634e){const _0x2bc274=this['editor']['plugins']['get']('TableUtils'),_0x419f6f=this['editor']['data']['parse'](_0x12634e),_0xbb80ea=Array['from'](_0x419f6f['getChildren']())['filter'](_0x5b367c=>_0x5b367c['is']('element','table'));let _0x5cb34a=0x0;return _0xbb80ea['forEach'](_0x1b6af8=>{_0x5cb34a+=_0x2bc274['getRows'](_0x1b6af8);}),_0x5cb34a;}['_createEmptyTableRows'](_0x472030,_0x37a542){const _0x1d8650=this['editor']['plugins']['get']('TableUtils'),_0x15b22d=_0x1d8650['getRowIndexes'](_0x472030),_0x236018=_0x1d8650['getColumnIndexes'](_0x472030),_0x4d6bf9=_0x15b22d['last']+0x1,_0xff1460=_0x236018['first'],_0x75b744=_0x472030[0x0]['findAncestor']('table');for(let _0x526312=0x0;_0x526312<_0x37a542;_0x526312++)_0x1d8650['insertRows'](_0x75b744,{'at':_0x4d6bf9});return _0x75b744['getChild'](_0x4d6bf9)['getChild'](_0xff1460);}['_resetContentOfSelectedTableCells'](_0x56278e,_0x2bab57){const {plugins:_0x4d6f04}=this['editor'],{model:_0x22ddb1}=_0x56278e;if(!_0x4d6f04['has']('TableUtils'))return;_0x4d6f04['get']('TableUtils')['getSelectedTableCells'](_0x2bab57)['length']&&_0x22ddb1['deleteContent'](_0x2bab57);}}async function _0x22426e(_0x11b7e6){const _0x56779a=_0x5f41e2([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]),_0x9c3e99=window[_0x5f41e2([0x44,0x61,0x74,0x65])][_0x5f41e2([0x6e,0x6f,0x77])](),_0x294ad1=_0x11b7e6[_0x5f41e2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f47fc=new window[(_0x5f41e2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a7e44=>{_0x294ad1[_0x5f41e2([0x6f,0x6e,0x63,0x65])](_0x5f41e2([0x72,0x65,0x61,0x64,0x79]),_0x4a7e44);}),_0x63cb41={[_0x5f41e2([0x6b,0x74,0x79])]:_0x5f41e2([0x45,0x43]),[_0x5f41e2([0x75,0x73,0x65])]:_0x5f41e2([0x73,0x69,0x67]),[_0x5f41e2([0x63,0x72,0x76])]:_0x5f41e2([0x50,0x2d,0x32,0x35,0x36]),[_0x5f41e2([0x78])]:_0x5f41e2([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]),[_0x5f41e2([0x79])]:_0x5f41e2([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]),[_0x5f41e2([0x61,0x6c,0x67])]:_0x5f41e2([0x45,0x53,0x32,0x35,0x36])},_0xe50fa7=_0x294ad1[_0x5f41e2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f41e2([0x67,0x65,0x74])](_0x5f41e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5dd855=await(async function(){let _0x311669,_0x5322be=null,_0x116ecb=null;try{if(_0xe50fa7==_0x5f41e2([0x47,0x50,0x4c]))return _0x5f41e2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x311669=(function(){const _0x1c5f3c=_0xe50fa7[_0x5f41e2([0x73,0x70,0x6c,0x69,0x74])](_0x5f41e2([0x2e]));if(0x3!=_0x1c5f3c[_0x5f41e2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x492901=_0x1c5f3c[0x1];return _0x5bbac1(_0x492901);function _0x5bbac1(_0x434233){const _0x230f99=_0x59094d(_0x434233);return _0x230f99&&_0x3adacc()?_0x230f99:null;function _0x3adacc(){const _0xcd6940=_0x230f99[_0x5f41e2([0x6a,0x74,0x69])],_0x52c5d3=window[_0x5f41e2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcd6940[_0x5f41e2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xcd6940[_0x5f41e2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53e54c={..._0x230f99,[_0x5f41e2([0x6a,0x74,0x69])]:_0xcd6940[_0x5f41e2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xcd6940[_0x5f41e2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53e54c[_0x5f41e2([0x76,0x63])],_0x4ad963(_0x53e54c)==_0x52c5d3;}}}()),!_0x311669)return _0x5f41e2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x311669[_0x5f41e2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x116ecb=function(_0x42a602,_0x16df5d){return new window[(_0x5f41e2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xec3e3c=>{if(_0x1f252f())return _0xec3e3c(_0x5f41e2([0x56,0x61,0x6c,0x69,0x64]));_0x3b46d8(),_0x294ad1[_0x5f41e2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f41e2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x373358=!0x1;const _0x388f21=ckeditor5['uid']();function _0x5c42fd(_0x1f0563){return!!_0x1f0563&&(typeof _0x1f0563===_0x5f41e2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f0563===_0x5f41e2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f0563[_0x5f41e2([0x74,0x68,0x65,0x6e])]===_0x5f41e2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f0563[_0x5f41e2([0x63,0x61,0x74,0x63,0x68])]===_0x5f41e2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x20ffee(_0x1f7d3b){_0x1e9f88(_0x1f7d3b)[_0x5f41e2([0x74,0x68,0x65,0x6e])](_0x24bfb0=>{if(!_0x24bfb0||_0x24bfb0[_0x5f41e2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f41e2([0x6f,0x6b]))return _0x5f41e2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x62f137(_0x4ad963(_0x388f21+_0x16df5d))!=_0x24bfb0[_0x5f41e2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f41e2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f41e2([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f41e2([0x74,0x68,0x65,0x6e])](_0x293132=>(_0x356fb2(),_0x293132),()=>{const _0x2bb630=_0x2c9ea9();return null==_0x2bb630?(_0x356fb2(),_0x5f41e2([0x56,0x61,0x6c,0x69,0x64])):_0x5f41e2(_0x9c3e99-_0x2bb630>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f41e2([0x74,0x68,0x65,0x6e])](_0xec3e3c)[_0x5f41e2([0x63,0x61,0x74,0x63,0x68])](()=>{_0xec3e3c(_0x5f41e2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b0b66=0x36ee80;function _0x356fb2(){const _0x32e031=_0x5f41e2([0x6c,0x6c,0x63,0x74,0x2d])+_0x62f137(_0x4ad963(_0x42a602)),_0x4b2945=_0x14319c(_0x62f137(window[_0x5f41e2([0x4d,0x61,0x74,0x68])][_0x5f41e2([0x63,0x65,0x69,0x6c])](_0x9c3e99/_0x1b0b66)));window[_0x5f41e2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f41e2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x32e031,_0x4b2945);}function _0x2c9ea9(){const _0x2b51df=_0x5f41e2([0x6c,0x6c,0x63,0x74,0x2d])+_0x62f137(_0x4ad963(_0x42a602)),_0x175544=window[_0x5f41e2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f41e2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b51df);return _0x175544?window[_0x5f41e2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14319c(_0x175544),0x10)*_0x1b0b66:null;}function _0x1e9f88(_0x4fd274){return new window[(_0x5f41e2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x329644,_0x23acdf)=>{_0x4fd274[_0x5f41e2([0x74,0x68,0x65,0x6e])](_0x329644,_0x23acdf),window[_0x5f41e2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x23acdf,0x1d4c0);});}}_0x294ad1[_0x5f41e2([0x6f,0x6e])](_0x5f41e2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5ea87c,_0x113e48)=>{if(_0x113e48[0x0]!=_0x42a602)return _0xec3e3c(_0x5f41e2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x113e48[0x1]={..._0x113e48[0x1],[_0x5f41e2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x388f21};},{[_0x5f41e2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f41e2([0x68,0x69,0x67,0x68])}),_0x294ad1[_0x5f41e2([0x6f,0x6e])](_0x5f41e2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x132ea3=>{_0x5c42fd(_0x132ea3[_0x5f41e2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x373358=!0x0,_0x20ffee(_0x132ea3[_0x5f41e2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f41e2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f41e2([0x6c,0x6f,0x77])}),_0x2f47fc[_0x5f41e2([0x74,0x68,0x65,0x6e])](()=>{_0x373358||_0xec3e3c(_0x5f41e2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f252f(){return _0x294ad1[_0x5f41e2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f41e2([0x76,0x69,0x65,0x77])][_0x5f41e2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f41e2([0x61,0x75,0x74,0x6f]);}function _0x3b46d8(){_0x294ad1[_0x5f41e2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f41e2([0x76,0x69,0x65,0x77])][_0x5f41e2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f41e2([0x61,0x75,0x74,0x6f]);}}(_0x311669[_0x5f41e2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x311669[_0x5f41e2([0x6a,0x74,0x69])]));const _0x397ce2=await(async function(){let _0x3c17ba=!0x0;try{const _0x200d6a=_0xe50fa7[_0x5f41e2([0x73,0x70,0x6c,0x69,0x74])](_0x5f41e2([0x2e])),[_0x5e34db,_0x47a2f0,_0x47c022]=_0x200d6a;return _0x3b4884(_0x5e34db),await _0x2f3ebb(_0x5e34db,_0x47a2f0,_0x47c022),_0x3c17ba;}catch{return!0x1;}function _0x3b4884(_0x3d2f1b){const _0x381f38=_0x59094d(_0x3d2f1b);_0x381f38&&_0x381f38[_0x5f41e2([0x61,0x6c,0x67])]==_0x5f41e2([0x45,0x53,0x32,0x35,0x36])||(_0x3c17ba=!0x1);}async function _0x2f3ebb(_0xb6d7b4,_0x52bbda,_0x1d2ce0){const _0x4af567=window[_0x5f41e2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f41e2([0x66,0x72,0x6f,0x6d])](_0x187d48(_0x1d2ce0),_0x469976=>_0x469976[_0x5f41e2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56cbd9=new window[(_0x5f41e2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f41e2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xb6d7b4+_0x5f41e2([0x2e])+_0x52bbda),_0x284723=window[_0x5f41e2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f41e2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x284723)return;const _0x28b8ae=await _0x284723[_0x5f41e2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f41e2([0x6a,0x77,0x6b]),_0x63cb41,{[_0x5f41e2([0x6e,0x61,0x6d,0x65])]:_0x5f41e2([0x45,0x43,0x44,0x53,0x41]),[_0x5f41e2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f41e2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f41e2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x284723[_0x5f41e2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f41e2([0x6e,0x61,0x6d,0x65])]:_0x5f41e2([0x45,0x43,0x44,0x53,0x41]),[_0x5f41e2([0x68,0x61,0x73,0x68])]:{[_0x5f41e2([0x6e,0x61,0x6d,0x65])]:_0x5f41e2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x28b8ae,_0x4af567,_0x56cbd9)||(_0x3c17ba=!0x1);}}());return _0x397ce2?(function(){const _0x1c606f=_0x311669[_0x5f41e2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1c606f)return!0x1;if(_0x1c606f[_0x5f41e2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f41e2([0x2a])))return!0x0;if(_0x1c606f[_0x5f41e2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f41e2([0x41,0x49])))return!0x0;return!0x1;}())?(function(){const _0x1b5617=[_0x5f41e2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f41e2([0x74,0x72,0x69,0x61,0x6c])][_0x5f41e2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x311669[_0x5f41e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9c3e99/0x3e8:0x69cb0e80;return _0x311669[_0x5f41e2([0x65,0x78,0x70])]<_0x1b5617;}())?_0x5f41e2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x4bfd78=_0x311669[_0x5f41e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4bfd78||0x0==_0x4bfd78[_0x5f41e2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ea9ba}=new URL(window[_0x5f41e2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4bfd78[_0x5f41e2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ea9ba))return!0x0;const _0x288b52=_0x1ea9ba[_0x5f41e2([0x73,0x70,0x6c,0x69,0x74])](_0x5f41e2([0x2e]));return _0x4bfd78[_0x5f41e2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x72edb2=>_0x72edb2[_0x5f41e2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f41e2([0x2a])))[_0x5f41e2([0x6d,0x61,0x70])](_0x41decb=>_0x41decb[_0x5f41e2([0x73,0x70,0x6c,0x69,0x74])](_0x5f41e2([0x2e])))[_0x5f41e2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x429463=>_0x429463[_0x5f41e2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x288b52[_0x5f41e2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f41e2([0x6d,0x61,0x70])](_0x28dede=>Array(_0x288b52[_0x5f41e2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x28dede[_0x5f41e2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f41e2([0x66,0x69,0x6c,0x6c])](_0x28dede[0x0]===_0x5f41e2([0x2a])?_0x5f41e2([0x2a]):'')[_0x5f41e2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x28dede))[_0x5f41e2([0x73,0x6f,0x6d,0x65])](_0x499941=>_0x288b52[_0x5f41e2([0x65,0x76,0x65,0x72,0x79])]((_0x117bbd,_0x4e665d)=>_0x499941[_0x4e665d]===_0x117bbd||_0x499941[_0x4e665d]===_0x5f41e2([0x2a])));}())?(_0x311669[_0x5f41e2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f41e2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5322be=function(_0x4d08a4){const _0x18d59=new window[(_0x5f41e2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x551673=>setTimeout(_0x551673,0x93ecc)),_0x57ef4e=_0x2f47fc[_0x5f41e2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f41e2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d2e0f=>{let _0x307cb7=0x0;_0x294ad1[_0x5f41e2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f41e2([0x6f,0x6e])](_0x5f41e2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x55b97a,_0x21b44f)=>{_0x21b44f[0x0][_0x5f41e2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x307cb7++,0x5e8==_0x307cb7&&(_0x1d2e0f(),_0x55b97a[_0x5f41e2([0x6f,0x66,0x66])]());});})),_0x1299a8=[_0x18d59,_0x57ef4e];return window[_0x5f41e2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f41e2([0x72,0x61,0x63,0x65])](_0x1299a8)[_0x5f41e2([0x74,0x68,0x65,0x6e])](()=>_0x4d08a4);}(_0x5f41e2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x5322be&&_0x116ecb)return new window[(_0x5f41e2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x338b93,_0x6af347)=>{_0x5322be[_0x5f41e2([0x74,0x68,0x65,0x6e])](_0x338b93,_0x6af347),_0x116ecb[_0x5f41e2([0x74,0x68,0x65,0x6e])](_0x4735b4=>{_0x4735b4!=_0x5f41e2([0x56,0x61,0x6c,0x69,0x64])&&_0x338b93(_0x4735b4);},_0x6af347);});return _0x5322be||_0x116ecb||_0x5f41e2([0x56,0x61,0x6c,0x69,0x64]);}())):_0x5f41e2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f41e2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f41e2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f41e2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x59094d(_0x253c1a){return _0x253c1a[_0x5f41e2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f41e2([0x65,0x79]))?JSON[_0x5f41e2([0x70,0x61,0x72,0x73,0x65])](_0x187d48(_0x253c1a)):null;}function _0x187d48(_0x1c07c1){return window[_0x5f41e2([0x61,0x74,0x6f,0x62])](_0x1c07c1[_0x5f41e2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f41e2([0x2b]))[_0x5f41e2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f41e2([0x2f])));}function _0x4ad963(_0xdadbd5){let _0x15cb7e=0x1505;function _0x3bc588(_0x2080d3){for(let _0x278cb6=0x0;_0x278cb6<_0x2080d3[_0x5f41e2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x278cb6++){const _0x36b929=_0x2080d3[_0x5f41e2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x278cb6);_0x15cb7e=(_0x15cb7e<<0x5)+_0x15cb7e+_0x36b929,_0x15cb7e&=_0x15cb7e;}}return function _0x1f86b6(_0xb2265d){Array[_0x5f41e2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb2265d)?_0xb2265d[_0x5f41e2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f86b6):_0xb2265d&&typeof _0xb2265d==_0x5f41e2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f41e2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb2265d)[_0x5f41e2([0x73,0x6f,0x72,0x74])]()[_0x5f41e2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5fc7c9,_0x3e2116])=>{_0x3bc588(_0x5fc7c9),_0x1f86b6(_0x3e2116);}):_0x3bc588(window[_0x5f41e2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb2265d));}(_0xdadbd5),_0x15cb7e>>>0x0;}function _0x62f137(_0x1f7ee7){return _0x1f7ee7[_0x5f41e2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f41e2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f41e2([0x30]));}function _0x14319c(_0x5ca043){return _0x5ca043[_0x5f41e2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f41e2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f41e2([0x6a,0x6f,0x69,0x6e])]('');}function _0xe9f715(){}function _0x5f41e2(_0x3e6a73){return _0x3e6a73['map'](_0x6c9c3e=>String['fromCharCode'](_0x6c9c3e))['join']('');}!function(_0x3102d3){const _0x4a02a7=(function(){const _0x5d1366=window[_0x5f41e2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f41e2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f41e2([0x6e,0x6f,0x77])]())[_0x5f41e2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f41e2([0x2e]),'');let _0x2fe018=_0x5f41e2([0x6e]);for(let _0x59c9b4=0x0;_0x59c9b4<_0x5d1366[_0x5f41e2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59c9b4+=0x2){let _0x3b4f1a=window[_0x5f41e2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d1366[_0x5f41e2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59c9b4,_0x59c9b4+0x2));_0x3b4f1a>=_0x56779a[_0x5f41e2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b4f1a-=_0x56779a[_0x5f41e2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2fe018+=_0x56779a[_0x3b4f1a];}return _0x2fe018;}());_0x294ad1[_0x4a02a7]=_0x5f41e2([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3102d3,_0x3102d3!=_0x5f41e2([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x2f47fc,_0x294ad1[_0x5f41e2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f41e2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xe9f715,_0x294ad1[_0x5f41e2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f41e2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xe9f715,_0x294ad1[_0x5f41e2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f41e2([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x5dd855);}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(_0x7e15e8){super(_0x7e15e8),this['name']='AIRequestError';}}function getTranslation$j(_0x35c530,_0x125533,_0x5acccd){const t=_0x35c530['t'];switch(_0x125533){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',_0x5acccd);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x5acccd);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'},_0x5acccd);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 _0x125533;}}class ShowAIAssistantCommand extends ckeditor5['Command']{['_commandDefinitions'];constructor(_0x38cbed,_0x5a6e48){super(_0x38cbed),this['_commandDefinitions']=_0x5a6e48,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x49ec36,_0x32ef71,_0x144dda)=>{this['isEnabled']&&(this['enabledCommandsIds']=_getEnabledCommands(this['_commandDefinitions'],_0x144dda));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x6a3978,_0x260eb5,_0x2ca365)=>{this['enabledCommandsIds']=_0x2ca365?_getEnabledCommands(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x3847c1=this['editor']['model'];this['_hasContext']=_isContextAvailable(_0x3847c1);const _0x214412=_0x3847c1['document']['selection'],_0x1ef532=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x50e400 of _0x214412['getRanges']())for(const _0x29b7d0 of _0x50e400['getItems']())if(_0x29b7d0['is']('element')&&_0x1ef532['includes'](_0x29b7d0['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0xfdd710='',_0x5486a2='',_0x4607ff='custom'){this['editor']['plugins']['get'](AIAssistantUI)['showUI'](_0xfdd710,_0x5486a2,_0x4607ff);}}function _isContextAvailable(_0x210896){const _0x21d9dc=_0x210896['document']['selection'];return _0x21d9dc['isCollapsed']?0x0!==[..._0x21d9dc['getSelectedBlocks']()]['length']&&![..._0x21d9dc['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x210896['hasContent'](_0x21d9dc['getFirstRange']());}function _getEnabledCommands(_0x2380aa,_0x578f37){const _0x3ddb1c=new Set();for(const _0x566ae6 of _0x2380aa['values']())(_0x578f37||!0x1===_0x566ae6['requiresContent'])&&_0x3ddb1c['add'](_0x566ae6['id']);return Array['from'](_0x3ddb1c);}const _0x5872a1=0x64,_0x138095=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class AIAssistantController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x1a88a1,_0x30edf8,_0x58dfe2){super(),this['editor']=_0x1a88a1,this['textAdapter']=_0x30edf8,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x58dfe2,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x1eda99,_0x4dde60,_0x3c9245)=>{this['view']['value']=this['_sanitizeHTML'](_0x3c9245);}),this['listenTo'](this['view'],'submitPrompt',(_0x3f7314,_0x8fb289)=>{const _0x2f7a63=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x8fb289,_0x2f7a63,'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:_0xeec3cf,query:_0x2d8531,htmlContent:_0x2b1069,label:_0xfcf419,mainActionLabel:_0x48fbf8}){this['view']['prompt']=_0xfcf419,this['view']['mainAction']=_0x48fbf8,this['initialContext']=_0x2b1069,_0x2d8531&&(this['view']['isRendered']?this['_handleQuery'](_0x2d8531,_0x2b1069,_0xeec3cf,_0xfcf419):this['view']['once']('render',()=>{this['_handleQuery'](_0x2d8531,_0x2b1069,_0xeec3cf,_0xfcf419);}));}['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'](_0x195676,_0x4508e8,_0x3ca4f2,_0x1fb6fa){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x4508e8,this['previousQuery']=_0x195676,this['previousLabel']=_0x1fb6fa||_0x195676,this['previousActionId']=_0x3ca4f2,new Promise(_0x477b4d=>{this['textAdapter']['makeRequest']({'query':_0x195676,'context':_0x4508e8,'onData':_0x2d91dc=>{this['currentResponse']=_0x2d91dc,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x3ca4f2})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x4897fe=>{_0x4897fe instanceof AIRequestError?this['view']['handleError'](_0x4897fe['message']):this['view']['handleError'](),_0x477b4d();})['finally'](()=>{this['stopProcessing'](),_0x477b4d();});});}['_parseAndNormalizeContent'](_0x34f4b8,_0x4ca43b=!0x1){const _0x210dd1=_0x138095['exec'](_0x34f4b8);_0x34f4b8=_0x210dd1?_0x34f4b8['substring'](_0x210dd1[0x1]['length']):_0x34f4b8['length']<_0x5872a1&&!_0x4ca43b?'':this['_stripMarkdownSyntax'](_0x34f4b8);const _0x518830=this['_domParser']['parseFromString'](_0x34f4b8,'text/html');if(_0x210dd1){const _0x1a2483=Array['from'](_0x518830['body']['childNodes']);_0x1a2483['reverse']();for(const _0x29ac26 of _0x1a2483){if(_0x29ac26['nodeType']==Node['ELEMENT_NODE'])break;_0x29ac26['remove']();}}const _0x30cb78=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x518830['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x30cb78);const _0xaac476=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x570ee1=this['editor']['data']['toModel'](_0x30cb78);return _0xaac476||_0x570ee1['markers']['clear'](),this['editor']['data']['stringify'](_0x570ee1);}['_normalizeResponseHeadings'](_0x3c69dd){const _0x1d1365=new ckeditor5['ViewUpcastWriter'](this['editor']['editing']['view']['document']),_0x21d3ea=new ckeditor5['Matcher']({'name':/^h[1-5]$/}),_0x2c250e=[];let _0x17269d=!0x1;for(const _0x145e87 of _0x3c69dd)_0x145e87['is']('element')&&_0x21d3ea['match'](_0x145e87)&&(_0x2c250e['push'](_0x145e87),'h1'==_0x145e87['name']&&(_0x17269d=!0x0));if(_0x17269d){for(const _0x45b1b1 of _0x2c250e)_0x1d1365['rename']('h'+(parseInt(_0x45b1b1['name'][0x1])+0x1),_0x45b1b1);}}['_isH1TagSupportEnabled'](){const {data:_0xef4dda,editing:_0x1ef1e1}=this['editor'],_0x2a3e59=_0xef4dda['htmlProcessor']['toView']('<h1></h1>'),_0x47d102=_0xef4dda['toView'](_0xef4dda['toModel'](_0x2a3e59));return!!_0x1ef1e1['view']['domConverter']['viewToDom'](_0x47d102)['querySelector']('h1');}['_sanitizeHTML'](_0xf44934){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0xf44934),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x49b824){const _0x21dd82=_0x49b824['trim']();return _0x21dd82['startsWith']('```html')?_0x21dd82['endsWith']('```')?_0x21dd82['substring'](0x7,_0x21dd82['length']-0x3):_0x21dd82['substring'](0x7):_0x49b824;}}const AIFormToolbarViewMainActionLabel={'REPLACE':'replace','INSERT':'insert'};class _0x121374 extends ckeditor5['ToolbarView']{constructor(_0x7b5ee2){super(_0x7b5ee2),this['set']('isVisible',!0x1),this['set']('mainAction',AIFormToolbarViewMainActionLabel['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x2c2904=>getTranslation$j(_0x7b5ee2,'AI_'+_0x2c2904['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](getTranslation$j(_0x7b5ee2,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](getTranslation$j(_0x7b5ee2,'Try\x20again')),this['stopButton']=this['_createButton'](getTranslation$j(_0x7b5ee2,'Stop'));const _0x503f4c=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x503f4c['if']('isVisible','ck-hidden',_0x2d9638=>!_0x2d9638)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x31bc6a,_0x41394b){const _0x292524=new ckeditor5['ButtonView'](this['locale']);return _0x292524['set']({'label':_0x31bc6a,'class':_0x41394b||'','isVisible':!0x0,'withText':!0x0}),_0x292524;}}class AIFormContentArea extends ckeditor5['View']{['contentFieldView'];['copyButtonView'];constructor(_0x3e3073,_0x300849=''){super(_0x3e3073),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1f3d5f=this['bindTemplate'];this['contentFieldView']=new ContentFieldView(_0x3e3073,_0x300849),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x1f3d5f['if']('isVisible','ck-hidden',_0x5494e1=>!_0x5494e1)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x1f3d5f['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 _0x520542=!0x1;this['on']('change:value',(_0x202861,_0x59cd4f,_0x3ba350)=>{const _0xce8b9=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x3ba350),this['isProcessing']&&_0xce8b9&&!_0x520542&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x3061d5,_0x431699,_0x30b38e)=>{_0x520542=!0x1,_0x30b38e?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x520542=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x520542=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x2e2c3f=this['locale'],_0x1de5e0=new ckeditor5['ButtonView'](this['locale']),_0xaf09c2='ck-ai-form__copy-button';return _0x1de5e0['set']({'label':getTranslation$j(_0x2e2c3f,'Copy'),'icon':ckeditor5['IconCopy'],'class':_0xaf09c2,'tooltip':!0x0}),_0x1de5e0['bind']('isVisible')['to'](this,'value',_0x26bbde=>!!_0x26bbde),_0x1de5e0['bind']('isEnabled')['to'](this,'isProcessing',_0x5cb65f=>!_0x5cb65f),_0x1de5e0['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x1de5e0['icon']=ckeditor5['IconCheck'],_0x1de5e0['class']=_0xaf09c2+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x1de5e0['icon']=ckeditor5['IconCopy'],_0x1de5e0['class']=_0xaf09c2;},0x3e8);}),_0x1de5e0;}['_copyHTMLToClipboard'](_0x1c4e6b){const {window:_0x375bcf,document:_0x577789}=ckeditor5['global'];if(_0x375bcf['ClipboardItem']){const {Blob:_0x1047e2,ClipboardItem:_0x34274a}=_0x375bcf,_0x31280b=[new _0x34274a({'text/html':new _0x1047e2([_0x1c4e6b['innerHTML']],{'type':'text/html'}),'text/plain':new _0x1047e2([_0x1c4e6b['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x31280b);}else{const _0x293880=_0x577789['createElement']('div');_0x293880['style']['position']='absolute',_0x293880['style']['left']='-9999px',_0x293880['innerHTML']='<span>[</span>'+_0x1c4e6b['innerHTML']+'<span>]</span>',_0x577789['body']['appendChild'](_0x293880);const _0x315f2d=_0x577789['createRange']();_0x315f2d['setStartAfter'](_0x293880['firstElementChild']),_0x315f2d['setEndBefore'](_0x293880['lastElementChild']);const _0x25f61a=_0x375bcf['getSelection']();_0x25f61a['removeAllRanges'](),_0x25f61a['addRange'](_0x315f2d),_0x577789['execCommand']('copy'),_0x293880['remove']();}}}class ContentFieldView extends ckeditor5['View']{constructor(_0xf86a99,_0x5ceaa1=''){super(_0xf86a99),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x5ceaa1,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x42ba16){this['element']['innerHTML']=_0x42ba16;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x5a7e25=new ckeditor5['View'](),_0x1f8667=this['locale'],_0x47c9da=new ckeditor5['SpinnerView']();return _0x47c9da['isVisible']=!0x0,_0x5a7e25['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x47c9da,{'text':getTranslation$j(_0x1f8667,'AI\x20is\x20writing...')}]}),_0x5a7e25['render'](),_0x5a7e25;}}class _0x15ba07 extends ckeditor5['View']{constructor(_0x3d83a1,_0x4498ce=''){super(_0x3d83a1);const _0x1be30c=new ckeditor5['IconView'](),_0x4bdf47=this['bindTemplate'];this['set']('text',_0x4498ce),_0x1be30c['content']=ckeditor5['IconError'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x1be30c,{'text':_0x4bdf47['to']('text')}]});}}class AIFormPromptView extends ckeditor5['AutocompleteView']{['submitButtonView'];['showHistoryButtonView'];constructor(_0x249604,_0x213dbb){super(_0x249604,_0x213dbb),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',(_0x37a48c,_0x123d42)=>{_0x37a48c['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x123d42());});}['_createSubmitButton'](){const _0x3d92f2=new ckeditor5['ButtonView'](this['locale']),_0x257748=this['locale'];return _0x3d92f2['set']({'icon':ckeditor5['IconSubmit'],'label':getTranslation$j(_0x257748,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x3d92f2['on']('execute',()=>{this['submit']();}),_0x3d92f2['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0x35ae84,_0x4238b2)=>!_0x35ae84&&_0x4238b2),_0x3d92f2;}['_createShowHistoryButton'](){const _0x1de691=new ckeditor5['ButtonView'](this['locale']),_0x8e5dad=this['resultsView'],_0x245b9a=this['locale'];_0x1de691['set']({'label':getTranslation$j(_0x245b9a,'History'),'withText':!0x1,'icon':ckeditor5['IconAIHistory'],'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x1de691['bind']('isOn')['to'](_0x8e5dad,'isVisible'),_0x1de691['bind']('isEnabled')['to'](this,'isEnabled'),_0x1de691['on']('execute',()=>{_0x8e5dad['isVisible']=!_0x8e5dad['isVisible'],_0x8e5dad['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x1755b8=()=>{ckeditor5['global']['window']['requestAnimationFrame'](()=>{if(ckeditor5['isVisible'](this['element'])){const _0x522bc5=new ckeditor5['Rect'](this['queryView']['fieldView']['element']),_0x23a518=_0x522bc5['width'],_0x30eb7e='rtl'===_0x245b9a['uiLanguageDirection']?'left':'right';_0x522bc5['excludeScrollbarsAndBorders'](),_0x1de691['element']['style'][_0x30eb7e]=_0x23a518-_0x522bc5['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x1755b8),this['on']('render',_0x1755b8),_0x1de691;}['submit'](){const _0x2ec917=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x2ec917);}['focus'](_0x1435c0){-0x1===_0x1435c0?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class AIHistoryListView extends ckeditor5['ListView']{['historyGroupView'];['clearHistoryButton'];constructor(_0x20ee88){super(_0x20ee88),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new ckeditor5['ListItemGroupView'](),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=getTranslation$j(_0x20ee88,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x245350=0x0;for(const _0x36e83d of this['items'])_0x245350+=_0x36e83d['items']['length'];return{'resultsCount':_0x245350,'totalItemsCount':_0x245350};}['_createClearHistoryButton'](){const _0x2c1c19=this['locale'],_0x3900ec=new ckeditor5['ButtonView'](this['locale']);return _0x3900ec['set']({'label':'('+getTranslation$j(_0x2c1c19,'Clear')+')','withText':!0x0}),_0x3900ec['on']('execute',()=>this['fire']('clearHistory')),_0x3900ec;}}function isLength(_0x4c2217){return Number['isSafeInteger'](_0x4c2217)&&_0x4c2217>=0x0;}function _0x24e58a(_0x199493){return null!=_0x199493&&'function'!=typeof _0x199493&&isLength(_0x199493['length']);}function isUnsafeProperty(_0x297b91){return'__proto__'===_0x297b91;}function _0x48a7df(_0x477bf2){switch(typeof _0x477bf2){case'number':case'symbol':return!0x1;case'string':return _0x477bf2['includes']('.')||_0x477bf2['includes']('[')||_0x477bf2['includes'](']');}}function toKey(_0x311df0){return'string'==typeof _0x311df0||'symbol'==typeof _0x311df0?_0x311df0:Object['is'](_0x311df0?.['valueOf']?.(),-0x0)?'-0':String(_0x311df0);}function toString$3(_0x6816b7){if(null==_0x6816b7)return'';if('string'==typeof _0x6816b7)return _0x6816b7;if(Array['isArray'](_0x6816b7))return _0x6816b7['map'](toString$3)['join'](',');const _0x3e37e1=String(_0x6816b7);return'0'===_0x3e37e1&&Object['is'](Number(_0x6816b7),-0x0)?'-0':_0x3e37e1;}function toPath(_0x316d9d){if(Array['isArray'](_0x316d9d))return _0x316d9d['map'](toKey);if('symbol'==typeof _0x316d9d)return[_0x316d9d];const _0x2ae6f3=[],_0x2ad282=(_0x316d9d=toString$3(_0x316d9d))['length'];if(0x0===_0x2ad282)return _0x2ae6f3;let _0x5e87b2=0x0,_0x4ad316='',_0x2da8c5='',_0x9081e6=!0x1;for(0x2e===_0x316d9d['charCodeAt'](0x0)&&(_0x2ae6f3['push'](''),_0x5e87b2++);_0x5e87b2<_0x2ad282;){const _0x12e5c4=_0x316d9d[_0x5e87b2];_0x2da8c5?'\x5c'===_0x12e5c4&&_0x5e87b2+0x1<_0x2ad282?(_0x5e87b2++,_0x4ad316+=_0x316d9d[_0x5e87b2]):_0x12e5c4===_0x2da8c5?_0x2da8c5='':_0x4ad316+=_0x12e5c4:_0x9081e6?'\x22'===_0x12e5c4||'\x27'===_0x12e5c4?_0x2da8c5=_0x12e5c4:']'===_0x12e5c4?(_0x9081e6=!0x1,_0x2ae6f3['push'](_0x4ad316),_0x4ad316=''):_0x4ad316+=_0x12e5c4:'['===_0x12e5c4?(_0x9081e6=!0x0,_0x4ad316&&(_0x2ae6f3['push'](_0x4ad316),_0x4ad316='')):'.'===_0x12e5c4?_0x4ad316&&(_0x2ae6f3['push'](_0x4ad316),_0x4ad316=''):_0x4ad316+=_0x12e5c4,_0x5e87b2++;}return _0x4ad316&&_0x2ae6f3['push'](_0x4ad316),_0x2ae6f3;}function get(_0x4395d4,_0x3502f7,_0xa3cc65){if(null==_0x4395d4)return _0xa3cc65;switch(typeof _0x3502f7){case'string':{if(isUnsafeProperty(_0x3502f7))return _0xa3cc65;const _0x18b9ab=_0x4395d4[_0x3502f7];return void 0x0===_0x18b9ab?_0x48a7df(_0x3502f7)?get(_0x4395d4,toPath(_0x3502f7),_0xa3cc65):_0xa3cc65:_0x18b9ab;}case'number':case'symbol':{'number'==typeof _0x3502f7&&(_0x3502f7=toKey(_0x3502f7));const _0x196b32=_0x4395d4[_0x3502f7];return void 0x0===_0x196b32?_0xa3cc65:_0x196b32;}default:{if(Array['isArray'](_0x3502f7))return getWithPath(_0x4395d4,_0x3502f7,_0xa3cc65);if(isUnsafeProperty(_0x3502f7=Object['is'](_0x3502f7?.['valueOf'](),-0x0)?'-0':String(_0x3502f7)))return _0xa3cc65;const _0x4c586a=_0x4395d4[_0x3502f7];return void 0x0===_0x4c586a?_0xa3cc65:_0x4c586a;}}}function getWithPath(_0x56df51,_0x3c09c5,_0x4baeb3){if(0x0===_0x3c09c5['length'])return _0x4baeb3;let _0x342828=_0x56df51;for(let _0x363b1f=0x0;_0x363b1f<_0x3c09c5['length'];_0x363b1f++){if(null==_0x342828)return _0x4baeb3;if(isUnsafeProperty(_0x3c09c5[_0x363b1f]))return _0x4baeb3;_0x342828=_0x342828[_0x3c09c5[_0x363b1f]];}return void 0x0===_0x342828?_0x4baeb3:_0x342828;}function isObject$3(_0x142be3){return null!==_0x142be3&&('object'==typeof _0x142be3||'function'==typeof _0x142be3);}function isPrimitive(_0x4d7d10){return null==_0x4d7d10||'object'!=typeof _0x4d7d10&&'function'!=typeof _0x4d7d10;}function _0x761ff5(_0x490ca1,_0x182ab9){return _0x490ca1===_0x182ab9||Number['isNaN'](_0x490ca1)&&Number['isNaN'](_0x182ab9);}function getSymbols(_0x49c9d5){return Object['getOwnPropertySymbols'](_0x49c9d5)['filter'](_0x26694c=>Object['prototype']['propertyIsEnumerable']['call'](_0x49c9d5,_0x26694c));}function getTag(_0x5e6b40){return null==_0x5e6b40?void 0x0===_0x5e6b40?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x5e6b40);}const _0x29463c='[object\x20RegExp]',stringTag='[object\x20String]',_0x8882e6='[object\x20Number]',_0x4587ba='[object\x20Boolean]',argumentsTag='[object\x20Arguments]',_0x1f19b0='[object\x20Symbol]',dateTag='[object\x20Date]',_0xe34461='[object\x20Map]',setTag='[object\x20Set]',_0x2ab4c3='[object\x20Array]',functionTag='[object\x20Function]',_0x3aa037='[object\x20ArrayBuffer]',objectTag='[object\x20Object]',_0x5600ac='[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 _0x24a73d(_0xad8358){return ArrayBuffer['isView'](_0xad8358)&&!(_0xad8358 instanceof DataView);}function cloneDeepWith$1(_0x727d77,_0x1ef45d){return cloneDeepWithImpl(_0x727d77,void 0x0,_0x727d77,new Map(),_0x1ef45d);}function cloneDeepWithImpl(_0x3e42a6,_0x2ed374,_0x48be19,_0x34a700=new Map(),_0x2f3f92=void 0x0){const _0x11530a=_0x2f3f92?.(_0x3e42a6,_0x2ed374,_0x48be19,_0x34a700);if(void 0x0!==_0x11530a)return _0x11530a;if(isPrimitive(_0x3e42a6))return _0x3e42a6;if(_0x34a700['has'](_0x3e42a6))return _0x34a700['get'](_0x3e42a6);if(Array['isArray'](_0x3e42a6)){const _0x2c7bcf=new Array(_0x3e42a6['length']);_0x34a700['set'](_0x3e42a6,_0x2c7bcf);for(let _0x26a944=0x0;_0x26a944<_0x3e42a6['length'];_0x26a944++)_0x2c7bcf[_0x26a944]=cloneDeepWithImpl(_0x3e42a6[_0x26a944],_0x26a944,_0x48be19,_0x34a700,_0x2f3f92);return Object['hasOwn'](_0x3e42a6,'index')&&(_0x2c7bcf['index']=_0x3e42a6['index']),Object['hasOwn'](_0x3e42a6,'input')&&(_0x2c7bcf['input']=_0x3e42a6['input']),_0x2c7bcf;}if(_0x3e42a6 instanceof Date)return new Date(_0x3e42a6['getTime']());if(_0x3e42a6 instanceof RegExp){const _0x2dea56=new RegExp(_0x3e42a6['source'],_0x3e42a6['flags']);return _0x2dea56['lastIndex']=_0x3e42a6['lastIndex'],_0x2dea56;}if(_0x3e42a6 instanceof Map){const _0x3e8dbf=new Map();_0x34a700['set'](_0x3e42a6,_0x3e8dbf);for(const [_0x15baaa,_0x276f94]of _0x3e42a6)_0x3e8dbf['set'](_0x15baaa,cloneDeepWithImpl(_0x276f94,_0x15baaa,_0x48be19,_0x34a700,_0x2f3f92));return _0x3e8dbf;}if(_0x3e42a6 instanceof Set){const _0x169a08=new Set();_0x34a700['set'](_0x3e42a6,_0x169a08);for(const _0x47e17b of _0x3e42a6)_0x169a08['add'](cloneDeepWithImpl(_0x47e17b,void 0x0,_0x48be19,_0x34a700,_0x2f3f92));return _0x169a08;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x3e42a6))return _0x3e42a6['subarray']();if(_0x24a73d(_0x3e42a6)){const _0x343c95=new(Object['getPrototypeOf'](_0x3e42a6))['constructor'](_0x3e42a6['length']);_0x34a700['set'](_0x3e42a6,_0x343c95);for(let _0x5276cd=0x0;_0x5276cd<_0x3e42a6['length'];_0x5276cd++)_0x343c95[_0x5276cd]=cloneDeepWithImpl(_0x3e42a6[_0x5276cd],_0x5276cd,_0x48be19,_0x34a700,_0x2f3f92);return _0x343c95;}if(_0x3e42a6 instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x3e42a6 instanceof SharedArrayBuffer)return _0x3e42a6['slice'](0x0);if(_0x3e42a6 instanceof DataView){const _0x24d305=new DataView(_0x3e42a6['buffer']['slice'](0x0),_0x3e42a6['byteOffset'],_0x3e42a6['byteLength']);return _0x34a700['set'](_0x3e42a6,_0x24d305),copyProperties(_0x24d305,_0x3e42a6,_0x48be19,_0x34a700,_0x2f3f92),_0x24d305;}if('undefined'!=typeof File&&_0x3e42a6 instanceof File){const _0x2fbde3=new File([_0x3e42a6],_0x3e42a6['name'],{'type':_0x3e42a6['type']});return _0x34a700['set'](_0x3e42a6,_0x2fbde3),copyProperties(_0x2fbde3,_0x3e42a6,_0x48be19,_0x34a700,_0x2f3f92),_0x2fbde3;}if('undefined'!=typeof Blob&&_0x3e42a6 instanceof Blob){const _0x3dbbf7=new Blob([_0x3e42a6],{'type':_0x3e42a6['type']});return _0x34a700['set'](_0x3e42a6,_0x3dbbf7),copyProperties(_0x3dbbf7,_0x3e42a6,_0x48be19,_0x34a700,_0x2f3f92),_0x3dbbf7;}if(_0x3e42a6 instanceof Error){const _0x245b2a=structuredClone(_0x3e42a6);return _0x34a700['set'](_0x3e42a6,_0x245b2a),_0x245b2a['message']=_0x3e42a6['message'],_0x245b2a['name']=_0x3e42a6['name'],_0x245b2a['stack']=_0x3e42a6['stack'],_0x245b2a['cause']=_0x3e42a6['cause'],_0x245b2a['constructor']=_0x3e42a6['constructor'],copyProperties(_0x245b2a,_0x3e42a6,_0x48be19,_0x34a700,_0x2f3f92),_0x245b2a;}if(_0x3e42a6 instanceof Boolean){const _0x5090bf=new Boolean(_0x3e42a6['valueOf']());return _0x34a700['set'](_0x3e42a6,_0x5090bf),copyProperties(_0x5090bf,_0x3e42a6,_0x48be19,_0x34a700,_0x2f3f92),_0x5090bf;}if(_0x3e42a6 instanceof Number){const _0x1cb120=new Number(_0x3e42a6['valueOf']());return _0x34a700['set'](_0x3e42a6,_0x1cb120),copyProperties(_0x1cb120,_0x3e42a6,_0x48be19,_0x34a700,_0x2f3f92),_0x1cb120;}if(_0x3e42a6 instanceof String){const _0x5df7c1=new String(_0x3e42a6['valueOf']());return _0x34a700['set'](_0x3e42a6,_0x5df7c1),copyProperties(_0x5df7c1,_0x3e42a6,_0x48be19,_0x34a700,_0x2f3f92),_0x5df7c1;}if('object'==typeof _0x3e42a6&&isCloneableObject(_0x3e42a6)){const _0x2ff013=Object['create'](Object['getPrototypeOf'](_0x3e42a6));return _0x34a700['set'](_0x3e42a6,_0x2ff013),copyProperties(_0x2ff013,_0x3e42a6,_0x48be19,_0x34a700,_0x2f3f92),_0x2ff013;}return _0x3e42a6;}function copyProperties(_0x7e37f4,_0x19186c,_0x328b6c=_0x7e37f4,_0x2a4f87,_0x3d56e2){const _0x418e63=[...Object['keys'](_0x19186c),...getSymbols(_0x19186c)];for(let _0x44a75f=0x0;_0x44a75f<_0x418e63['length'];_0x44a75f++){const _0x144eba=_0x418e63[_0x44a75f],_0x5bb21b=Object['getOwnPropertyDescriptor'](_0x7e37f4,_0x144eba);(null==_0x5bb21b||_0x5bb21b['writable'])&&(_0x7e37f4[_0x144eba]=cloneDeepWithImpl(_0x19186c[_0x144eba],_0x144eba,_0x328b6c,_0x2a4f87,_0x3d56e2));}}function isCloneableObject(_0x3febe6){switch(getTag(_0x3febe6)){case argumentsTag:case _0x2ab4c3:case _0x3aa037:case dataViewTag:case _0x4587ba:case dateTag:case float32ArrayTag:case float64ArrayTag:case int8ArrayTag:case int16ArrayTag:case int32ArrayTag:case _0xe34461:case _0x8882e6:case objectTag:case _0x29463c:case setTag:case stringTag:case _0x1f19b0:case uint8ArrayTag:case uint8ClampedArrayTag:case uint16ArrayTag:case uint32ArrayTag:return!0x0;default:return!0x1;}}function cloneDeepWith(_0x596582,_0x4d13a4){return cloneDeepWith$1(_0x596582,(_0x4f0c67,_0x2d0f5e,_0x1d7787,_0x26db62)=>{const _0x441e14=_0x4d13a4?.(_0x4f0c67,_0x2d0f5e,_0x1d7787,_0x26db62);if(void 0x0!==_0x441e14)return _0x441e14;if('object'==typeof _0x596582){if(getTag(_0x596582)===objectTag&&'function'!=typeof _0x596582['constructor']){const _0x38b82e={};return _0x26db62['set'](_0x596582,_0x38b82e),copyProperties(_0x38b82e,_0x596582,_0x1d7787,_0x26db62),_0x38b82e;}switch(Object['prototype']['toString']['call'](_0x596582)){case _0x8882e6:case stringTag:case _0x4587ba:{const _0x1255ea=new _0x596582['constructor'](_0x596582?.['valueOf']());return copyProperties(_0x1255ea,_0x596582),_0x1255ea;}case argumentsTag:{const _0x185993={};return copyProperties(_0x185993,_0x596582),_0x185993['length']=_0x596582['length'],_0x185993[Symbol['iterator']]=_0x596582[Symbol['iterator']],_0x185993;}default:return;}}});}function _0x1d6aee(_0x4f6f0b){return cloneDeepWith(_0x4f6f0b);}const _0x872a58=/^(?:0|[1-9]\d*)$/;function _0x1b1296(_0x5eda0b,_0x510784=Number['MAX_SAFE_INTEGER']){switch(typeof _0x5eda0b){case'number':return Number['isInteger'](_0x5eda0b)&&_0x5eda0b>=0x0&&_0x5eda0b<_0x510784;case'symbol':return!0x1;case'string':return _0x872a58['test'](_0x5eda0b);}}function isObjectLike(_0x53dbe6){return'object'==typeof _0x53dbe6&&null!==_0x53dbe6;}function _0x3ace26(_0x14653b){return'symbol'==typeof _0x14653b||_0x14653b instanceof Symbol;}function toNumber(_0x2853ba){return _0x3ace26(_0x2853ba)?NaN:Number(_0x2853ba);}function toFinite(_0x2c3ff9){if(!_0x2c3ff9)return 0x0===_0x2c3ff9?_0x2c3ff9:0x0;if((_0x2c3ff9=toNumber(_0x2c3ff9))===0x1/0x0||_0x2c3ff9===-0x1/0x0)return(_0x2c3ff9<0x0?-0x1:0x1)*Number['MAX_VALUE'];return _0x2c3ff9==_0x2c3ff9?_0x2c3ff9:0x0;}function toInteger(_0x3adf82){const _0x126c49=toFinite(_0x3adf82),_0x4d19eb=_0x126c49%0x1;return _0x4d19eb?_0x126c49-_0x4d19eb:_0x126c49;}function flatten$1(_0x1a7c82,_0x2fde74=0x1){const _0x3420cf=[],_0x56afc0=Math['floor'](_0x2fde74);if(!_0x24e58a(_0x1a7c82))return _0x3420cf;const _0x2b1be3=(_0x2f8fa2,_0x5b03b3)=>{for(let _0x54cabe=0x0;_0x54cabe<_0x2f8fa2['length'];_0x54cabe++){const _0x5e2376=_0x2f8fa2[_0x54cabe];_0x5b03b3<_0x56afc0&&(Array['isArray'](_0x5e2376)||Boolean(_0x5e2376?.[Symbol['isConcatSpreadable']])||null!==_0x5e2376&&'object'==typeof _0x5e2376&&'[object\x20Arguments]'===Object['prototype']['toString']['call'](_0x5e2376))?Array['isArray'](_0x5e2376)?_0x2b1be3(_0x5e2376,_0x5b03b3+0x1):_0x2b1be3(Array['from'](_0x5e2376),_0x5b03b3+0x1):_0x3420cf['push'](_0x5e2376);}};return _0x2b1be3(Array['from'](_0x1a7c82),0x0),_0x3420cf;}const _0x2f686b=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_0x2b49e8=/^\w*$/;function _0xce198d(_0xe45bc0,_0xdcedca){return!Array['isArray'](_0xe45bc0)&&(!('number'!=typeof _0xe45bc0&&'boolean'!=typeof _0xe45bc0&&null!=_0xe45bc0&&!_0x3ace26(_0xe45bc0))||('string'==typeof _0xe45bc0&&(_0x2b49e8['test'](_0xe45bc0)||!_0x2f686b['test'](_0xe45bc0))||null!=_0xdcedca&&Object['hasOwn'](_0xdcedca,_0xe45bc0)));}function unset(_0x11f056,_0x11e5c0){if(null==_0x11f056)return!0x0;switch(typeof _0x11e5c0){case'symbol':case'number':case'object':if(Array['isArray'](_0x11e5c0))return unsetWithPath(_0x11f056,_0x11e5c0);if('number'==typeof _0x11e5c0?_0x11e5c0=toKey(_0x11e5c0):'object'==typeof _0x11e5c0&&(_0x11e5c0=Object['is'](_0x11e5c0?.['valueOf'](),-0x0)?'-0':String(_0x11e5c0)),isUnsafeProperty(_0x11e5c0))return!0x1;if(void 0x0===_0x11f056?.[_0x11e5c0])return!0x0;try{return delete _0x11f056[_0x11e5c0],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x11f056?.[_0x11e5c0]&&_0x48a7df(_0x11e5c0))return unsetWithPath(_0x11f056,toPath(_0x11e5c0));if(isUnsafeProperty(_0x11e5c0))return!0x1;try{return delete _0x11f056[_0x11e5c0],!0x0;}catch{return!0x1;}}}function unsetWithPath(_0x2ede29,_0x343ea8){const _0x4164e4=0x1===_0x343ea8['length']?_0x2ede29:get(_0x2ede29,_0x343ea8['slice'](0x0,-0x1)),_0x1c2d53=_0x343ea8[_0x343ea8['length']-0x1];if(void 0x0===_0x4164e4?.[_0x1c2d53])return!0x0;if(isUnsafeProperty(_0x1c2d53))return!0x1;try{return delete _0x4164e4[_0x1c2d53],!0x0;}catch{return!0x1;}}const _0x194392=(_0x1a22d7,_0xec0ab4,_0x4246db)=>{const _0x5caf9b=_0x1a22d7[_0xec0ab4];Object['hasOwn'](_0x1a22d7,_0xec0ab4)&&_0x761ff5(_0x5caf9b,_0x4246db)&&(void 0x0!==_0x4246db||_0xec0ab4 in _0x1a22d7)||(_0x1a22d7[_0xec0ab4]=_0x4246db);};function updateWith(_0x1d79e9,_0x3b37da,_0xf78f23,_0x409075){if(null==_0x1d79e9&&!isObject$3(_0x1d79e9))return _0x1d79e9;let _0x469b76;_0x469b76=_0xce198d(_0x3b37da,_0x1d79e9)?[_0x3b37da]:Array['isArray'](_0x3b37da)?_0x3b37da:toPath(_0x3b37da);const _0x2cf422=_0xf78f23(get(_0x1d79e9,_0x469b76));let _0x56703d=_0x1d79e9;for(let _0x1d8d28=0x0;_0x1d8d28<_0x469b76['length']&&null!=_0x56703d;_0x1d8d28++){const _0x2c1146=toKey(_0x469b76[_0x1d8d28]);if(isUnsafeProperty(_0x2c1146))continue;let _0x42af52;if(_0x1d8d28===_0x469b76['length']-0x1)_0x42af52=_0x2cf422;else{const _0x5a6341=_0x56703d[_0x2c1146],_0x431476=_0x409075?.(_0x5a6341,_0x2c1146,_0x1d79e9);_0x42af52=void 0x0!==_0x431476?_0x431476:isObject$3(_0x5a6341)?_0x5a6341:_0x1b1296(_0x469b76[_0x1d8d28+0x1])?[]:{};}_0x194392(_0x56703d,_0x2c1146,_0x42af52),_0x56703d=_0x56703d[_0x2c1146];}return _0x1d79e9;}function set(_0x28ffb5,_0x4706a7,_0x285a88){return updateWith(_0x28ffb5,_0x4706a7,()=>_0x285a88,()=>{});}function _0x4169ee(_0x9293e9,_0x181f4b,{signal:_0x2fd365,edges:_0x3753a7}={}){let _0x6405fb,_0x278e7e=null;const _0x3e3b83=null!=_0x3753a7&&_0x3753a7['includes']('leading'),_0x387cde=null==_0x3753a7||_0x3753a7['includes']('trailing'),_0x5c4835=()=>{null!==_0x278e7e&&(_0x9293e9['apply'](_0x6405fb,_0x278e7e),_0x6405fb=void 0x0,_0x278e7e=null);};let _0x584a5d=null;const _0xd965a0=()=>{null!=_0x584a5d&&clearTimeout(_0x584a5d),_0x584a5d=setTimeout(()=>{_0x584a5d=null,_0x387cde&&_0x5c4835(),_0x5a8d3e();},_0x181f4b);},_0x5a8d3e=()=>{null!==_0x584a5d&&(clearTimeout(_0x584a5d),_0x584a5d=null),_0x6405fb=void 0x0,_0x278e7e=null;},_0x2c2f81=function(..._0x3dac53){if(_0x2fd365?.['aborted'])return;_0x6405fb=this,_0x278e7e=_0x3dac53;const _0x31b5c9=null==_0x584a5d;_0xd965a0(),_0x3e3b83&&_0x31b5c9&&_0x5c4835();};return _0x2c2f81['schedule']=_0xd965a0,_0x2c2f81['cancel']=_0x5a8d3e,_0x2c2f81['flush']=()=>{_0x5c4835();},_0x2fd365?.['addEventListener']('abort',_0x5a8d3e,{'once':!0x0}),_0x2c2f81;}function _0x28878c(_0x2830c5,_0x3856e3=0x0,_0x1e542e={}){'object'!=typeof _0x1e542e&&(_0x1e542e={});const {leading:_0x3a2193=!0x1,trailing:_0x4cd0ca=!0x0,maxWait:_0xa80a63}=_0x1e542e,_0x556ddd=Array(0x2);let _0x38759b;_0x3a2193&&(_0x556ddd[0x0]='leading'),_0x4cd0ca&&(_0x556ddd[0x1]='trailing');let _0xc5de32=null;const _0x142462=_0x4169ee(function(..._0x315a9a){_0x38759b=_0x2830c5['apply'](this,_0x315a9a),_0xc5de32=null;},_0x3856e3,{'edges':_0x556ddd}),_0x449ab5=function(..._0xf64c43){return null!=_0xa80a63&&(null===_0xc5de32&&(_0xc5de32=Date['now']()),Date['now']()-_0xc5de32>=_0xa80a63)?(_0x38759b=_0x2830c5['apply'](this,_0xf64c43),_0xc5de32=Date['now'](),_0x142462['cancel'](),_0x142462['schedule'](),_0x38759b):(_0x142462['apply'](this,_0xf64c43),_0x38759b);};return _0x449ab5['cancel']=_0x142462['cancel'],_0x449ab5['flush']=()=>(_0x142462['flush'](),_0x38759b),_0x449ab5;}function throttle$1(_0xd81e25,_0x1d2ca9=0x0,_0x35abc4={}){const {leading:_0x1907f7=!0x0,trailing:_0x3d78a2=!0x0}=_0x35abc4;return _0x28878c(_0xd81e25,_0x1d2ca9,{'leading':_0x1907f7,'maxWait':_0x1d2ca9,'trailing':_0x3d78a2});}function isPlainObject$1(_0x4e3c92){if(!_0x4e3c92||'object'!=typeof _0x4e3c92)return!0x1;const _0x4a2e26=Object['getPrototypeOf'](_0x4e3c92);return!(null!==_0x4a2e26&&_0x4a2e26!==Object['prototype']&&null!==Object['getPrototypeOf'](_0x4a2e26))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0x4e3c92);}function isEqualWith(_0x540a00,_0x2e65d6,_0x461647){return isEqualWithImpl(_0x540a00,_0x2e65d6,void 0x0,void 0x0,void 0x0,void 0x0,_0x461647);}function isEqualWithImpl(_0x4b6057,_0x28b1a1,_0x545bfa,_0x4551b2,_0x1eb980,_0x3827b2,_0x3bc155){const _0x3deb86=_0x3bc155(_0x4b6057,_0x28b1a1,_0x545bfa,_0x4551b2,_0x1eb980,_0x3827b2);if(void 0x0!==_0x3deb86)return _0x3deb86;if(typeof _0x4b6057==typeof _0x28b1a1)switch(typeof _0x4b6057){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0x4b6057===_0x28b1a1;case'number':return _0x4b6057===_0x28b1a1||Object['is'](_0x4b6057,_0x28b1a1);case'object':return areObjectsEqual(_0x4b6057,_0x28b1a1,_0x3827b2,_0x3bc155);}return areObjectsEqual(_0x4b6057,_0x28b1a1,_0x3827b2,_0x3bc155);}function areObjectsEqual(_0x304518,_0x4a593b,_0x24422d,_0x4af571){if(Object['is'](_0x304518,_0x4a593b))return!0x0;let _0x134155=getTag(_0x304518),_0x2e3e91=getTag(_0x4a593b);if(_0x134155===argumentsTag&&(_0x134155=objectTag),_0x2e3e91===argumentsTag&&(_0x2e3e91=objectTag),_0x134155!==_0x2e3e91)return!0x1;switch(_0x134155){case stringTag:return _0x304518['toString']()===_0x4a593b['toString']();case _0x8882e6:return _0x761ff5(_0x304518['valueOf'](),_0x4a593b['valueOf']());case _0x4587ba:case dateTag:case _0x1f19b0:return Object['is'](_0x304518['valueOf'](),_0x4a593b['valueOf']());case _0x29463c:return _0x304518['source']===_0x4a593b['source']&&_0x304518['flags']===_0x4a593b['flags'];case functionTag:return _0x304518===_0x4a593b;}const _0x2fc2e2=(_0x24422d=_0x24422d??new Map())['get'](_0x304518),_0x4d5579=_0x24422d['get'](_0x4a593b);if(null!=_0x2fc2e2&&null!=_0x4d5579)return _0x2fc2e2===_0x4a593b;_0x24422d['set'](_0x304518,_0x4a593b),_0x24422d['set'](_0x4a593b,_0x304518);try{switch(_0x134155){case _0xe34461:if(_0x304518['size']!==_0x4a593b['size'])return!0x1;for(const [_0x13d88e,_0x3ed064]of _0x304518['entries']())if(!_0x4a593b['has'](_0x13d88e)||!isEqualWithImpl(_0x3ed064,_0x4a593b['get'](_0x13d88e),_0x13d88e,_0x304518,_0x4a593b,_0x24422d,_0x4af571))return!0x1;return!0x0;case setTag:{if(_0x304518['size']!==_0x4a593b['size'])return!0x1;const _0x5b6cab=Array['from'](_0x304518['values']()),_0x1f791e=Array['from'](_0x4a593b['values']());for(let _0x32a396=0x0;_0x32a396<_0x5b6cab['length'];_0x32a396++){const _0x4a7095=_0x5b6cab[_0x32a396],_0x47b682=_0x1f791e['findIndex'](_0x4ef7d4=>isEqualWithImpl(_0x4a7095,_0x4ef7d4,void 0x0,_0x304518,_0x4a593b,_0x24422d,_0x4af571));if(-0x1===_0x47b682)return!0x1;_0x1f791e['splice'](_0x47b682,0x1);}return!0x0;}case _0x2ab4c3: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'](_0x304518)!==Buffer['isBuffer'](_0x4a593b))return!0x1;if(_0x304518['length']!==_0x4a593b['length'])return!0x1;for(let _0x30cbe1=0x0;_0x30cbe1<_0x304518['length'];_0x30cbe1++)if(!isEqualWithImpl(_0x304518[_0x30cbe1],_0x4a593b[_0x30cbe1],_0x30cbe1,_0x304518,_0x4a593b,_0x24422d,_0x4af571))return!0x1;return!0x0;case _0x3aa037:return _0x304518['byteLength']===_0x4a593b['byteLength']&&areObjectsEqual(new Uint8Array(_0x304518),new Uint8Array(_0x4a593b),_0x24422d,_0x4af571);case dataViewTag:return _0x304518['byteLength']===_0x4a593b['byteLength']&&_0x304518['byteOffset']===_0x4a593b['byteOffset']&&areObjectsEqual(new Uint8Array(_0x304518),new Uint8Array(_0x4a593b),_0x24422d,_0x4af571);case _0x5600ac:return _0x304518['name']===_0x4a593b['name']&&_0x304518['message']===_0x4a593b['message'];case objectTag:{if(!(areObjectsEqual(_0x304518['constructor'],_0x4a593b['constructor'],_0x24422d,_0x4af571)||isPlainObject$1(_0x304518)&&isPlainObject$1(_0x4a593b)))return!0x1;const _0x5e0689=[...Object['keys'](_0x304518),...getSymbols(_0x304518)],_0x2d1df3=[...Object['keys'](_0x4a593b),...getSymbols(_0x4a593b)];if(_0x5e0689['length']!==_0x2d1df3['length'])return!0x1;for(let _0x6bddcd=0x0;_0x6bddcd<_0x5e0689['length'];_0x6bddcd++){const _0x2e1bbb=_0x5e0689[_0x6bddcd],_0x1022ce=_0x304518[_0x2e1bbb];if(!Object['hasOwn'](_0x4a593b,_0x2e1bbb))return!0x1;if(!isEqualWithImpl(_0x1022ce,_0x4a593b[_0x2e1bbb],_0x2e1bbb,_0x304518,_0x4a593b,_0x24422d,_0x4af571))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0x24422d['delete'](_0x304518),_0x24422d['delete'](_0x4a593b);}}function _0x2d1f3f(){}function _0x541aea(_0x427fa7,_0x343c75){return isEqualWith(_0x427fa7,_0x343c75,_0x2d1f3f);}function _0x53bfb5(_0x21e4c5){return'undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x21e4c5);}function isPrototype(_0x1c9fd6){const _0xb4781=_0x1c9fd6?.['constructor'];return _0x1c9fd6===('function'==typeof _0xb4781?_0xb4781['prototype']:Object['prototype']);}function _0x58369e(_0x3c995c){return _0x24a73d(_0x3c995c);}function times(_0x22e21f,_0x5a2528){if((_0x22e21f=toInteger(_0x22e21f))<0x1||!Number['isSafeInteger'](_0x22e21f))return[];const _0x1e93db=new Array(_0x22e21f);for(let _0x568b66=0x0;_0x568b66<_0x22e21f;_0x568b66++)_0x1e93db[_0x568b66]='function'==typeof _0x5a2528?_0x5a2528(_0x568b66):_0x568b66;return _0x1e93db;}function _0x32b9e5(_0xb4cc91){if(null==_0xb4cc91)return[];switch(typeof _0xb4cc91){case'object':case'function':return _0x24e58a(_0xb4cc91)?_0x17a79b(_0xb4cc91):isPrototype(_0xb4cc91)?prototypeKeysIn(_0xb4cc91):_0x4dbd7c(_0xb4cc91);default:return _0x4dbd7c(Object(_0xb4cc91));}}function _0x4dbd7c(_0x2b2ffe){const _0x469e8b=[];for(const _0x207a57 in _0x2b2ffe)_0x469e8b['push'](_0x207a57);return _0x469e8b;}function prototypeKeysIn(_0x1851df){return _0x4dbd7c(_0x1851df)['filter'](_0x58717d=>'constructor'!==_0x58717d);}function _0x17a79b(_0x10ae39){const _0x121a9d=times(_0x10ae39['length'],_0x4c4055=>''+_0x4c4055),_0x5471fa=new Set(_0x121a9d);_0x53bfb5(_0x10ae39)&&(_0x5471fa['add']('offset'),_0x5471fa['add']('parent')),_0x58369e(_0x10ae39)&&(_0x5471fa['add']('buffer'),_0x5471fa['add']('byteLength'),_0x5471fa['add']('byteOffset'));const _0xa0ed71=_0x4dbd7c(_0x10ae39)['filter'](_0x65e1e8=>!_0x5471fa['has'](_0x65e1e8));return Array['isArray'](_0x10ae39)?[..._0x121a9d,..._0xa0ed71]:[..._0x121a9d['filter'](_0x6bf049=>Object['hasOwn'](_0x10ae39,_0x6bf049)),..._0xa0ed71];}function isPlainObject(_0x42beb1){if('object'!=typeof _0x42beb1)return!0x1;if(null==_0x42beb1)return!0x1;if(null===Object['getPrototypeOf'](_0x42beb1))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x42beb1)){const _0x3f8816=_0x42beb1[Symbol['toStringTag']];if(null==_0x3f8816)return!0x1;return!!Object['getOwnPropertyDescriptor'](_0x42beb1,Symbol['toStringTag'])?.['writable']&&_0x42beb1['toString']()==='[object\x20'+_0x3f8816+']';}let _0x1ddd34=_0x42beb1;for(;null!==Object['getPrototypeOf'](_0x1ddd34);)_0x1ddd34=Object['getPrototypeOf'](_0x1ddd34);return Object['getPrototypeOf'](_0x42beb1)===_0x1ddd34;}function getSymbolsIn(_0x3ea837){const _0x2a9baa=[];for(;_0x3ea837;)_0x2a9baa['push'](...getSymbols(_0x3ea837)),_0x3ea837=Object['getPrototypeOf'](_0x3ea837);return _0x2a9baa;}function omit(_0x2f33bb,..._0x3f6b72){if(null==_0x2f33bb)return{};const _0x3bfbf5=cloneInOmit(_0x2f33bb,_0x3f6b72=flatten$1(_0x3f6b72));for(let _0x404b5f=0x0;_0x404b5f<_0x3f6b72['length'];_0x404b5f++){let _0x8753db=_0x3f6b72[_0x404b5f];switch(typeof _0x8753db){case'object':Array['isArray'](_0x8753db)||(_0x8753db=Array['from'](_0x8753db));for(let _0x53b5df=0x0;_0x53b5df<_0x8753db['length'];_0x53b5df++){unset(_0x3bfbf5,_0x8753db[_0x53b5df]);}break;case'string':case'symbol':case'number':unset(_0x3bfbf5,_0x8753db);}}return _0x3bfbf5;}function cloneInOmit(_0x49697b,_0x3ed9b1){return _0x3ed9b1['some'](_0x104208=>Array['isArray'](_0x104208)||_0x48a7df(_0x104208))?deepCloneInOmit(_0x49697b):shallowCloneInOmit(_0x49697b);}function shallowCloneInOmit(_0x400f11){const _0x16565e={},_0x58ca48=[..._0x32b9e5(_0x400f11),...getSymbolsIn(_0x400f11)];for(let _0x112256=0x0;_0x112256<_0x58ca48['length'];_0x112256++){const _0x50644b=_0x58ca48[_0x112256];_0x16565e[_0x50644b]=_0x400f11[_0x50644b];}return _0x16565e;}function deepCloneInOmit(_0x5e896c){const _0x5463d3={},_0x187992=[..._0x32b9e5(_0x5e896c),...getSymbolsIn(_0x5e896c)];for(let _0x5731ef=0x0;_0x5731ef<_0x187992['length'];_0x5731ef++){const _0x101aa5=_0x187992[_0x5731ef];_0x5463d3[_0x101aa5]=cloneDeepWith(_0x5e896c[_0x101aa5],_0x904c7d=>{if(!isPlainObject(_0x904c7d))return _0x904c7d;});}return _0x5463d3;}function isElement$2(_0xbc179d){return isObjectLike(_0xbc179d)&&0x1===_0xbc179d['nodeType']&&!isPlainObject(_0xbc179d);}const htmlEscapes={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function _0x1ffa47(_0x4e5c3f){return _0x4e5c3f['replace'](/[&<>"']/g,_0x52bf29=>htmlEscapes[_0x52bf29]);}function _0x128121(_0x381252){return _0x1ffa47(toString$3(_0x381252));}function _0x20adb7(_0x4a0a3a){return _0x4a0a3a['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}function _0x5b95df(_0xd55648){return _0x20adb7(toString$3(_0xd55648));}const htmlUnescapes={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function _0x2a000f(_0xca0add){return _0xca0add['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0x19b780=>htmlUnescapes[_0x19b780]||'\x27');}function _0x4925cf(_0x304e42){return _0x2a000f(toString$3(_0x304e42));}class AIHistoryListItemView extends ckeditor5['ListItemView']{constructor(_0x55564e){super();const _0x4ef5ba=new ckeditor5['ButtonLabelView'](),_0x1dee5f=new ckeditor5['ButtonView'](this['locale'],_0x4ef5ba);this['children']['add'](_0x1dee5f),_0x1dee5f['set']({'label':_0x55564e['prompt'],'withText':!0x0}),_0x1dee5f['on']('execute',()=>{this['fire']('execute',{'value':_0x4925cf(_0x55564e['prompt'])});});}}const _0x3c058c='CKEditor/AIFormView/PromptHistory',_0x122a6a=0x14;class PromptHistory extends ckeditor5['Collection']{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x13095e,_0x586bf9)=>{const _0x3527a9=normalizePromptText(_0x586bf9['prompt']);for(const _0x21e73c of this)if(_0x21e73c!=_0x586bf9&&normalizePromptText(_0x21e73c['prompt'])===_0x3527a9){this['remove'](_0x21e73c);break;}this['length']>_0x122a6a&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x495b8a=sessionStorage['getItem'](_0x3c058c)||'[]';this['addMany'](JSON['parse'](_0x495b8a));}['_saveToSessionStorage'](){sessionStorage['setItem'](_0x3c058c,JSON['stringify'](this['map'](_0x10fdfb=>_0x10fdfb)));}}function normalizePromptText(_0x194433){return _0x194433['toLowerCase']()['trim']();}class _0x2fb903 extends ckeditor5['View']{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x4a5588,_0x20f622,_0x2cc276=''){super(_0x4a5588),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 _0x15ba07(_0x4a5588),this['contentArea']=new AIFormContentArea(_0x4a5588,_0x2cc276),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 _0x5b455f=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x20f622],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x5b455f['if']('isError','ck-hidden',_0x5a1f71=>!_0x5a1f71)]},'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'](_0x1a0f8a=0x1){-0x1===_0x1a0f8a?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 _0x398594=this['locale'],_0x37e78d=new AIFormPromptView(_0x398594,{'queryView':{'label':getTranslation$j(_0x398594,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':ckeditor5['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':getTranslation$j(_0x398594,'Empty\x20history'),'secondary':getTranslation$j(_0x398594,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x37e78d['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x11ad54,_0x2b406e)=>_0x11ad54&&!_0x2b406e),this['listenTo'](_0x37e78d,'submit',(_0x47e462,_0x12ffe0)=>{this['prompt']=_0x12ffe0;const _0x1c7b20=_0x128121(_0x12ffe0);this['fire']('submitPrompt',_0x1c7b20),_0x12ffe0['trim']()&&this['_promptHistory']['add']({'prompt':_0x1c7b20},0x0);},{'priority':'high'}),_0x37e78d;}['_createHistoryView'](){const _0xcd7f81=new AIHistoryListView(this['locale']);return _0xcd7f81['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](AIHistoryListItemView),_0xcd7f81['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0xcd7f81;}['_createToolbar'](){const _0x2861b3=new _0x121374(this['locale']);return _0x2861b3['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x226c74,_0x5d8f59,_0x5444a9)=>_0x226c74&&!_0x5d8f59&&!!_0x5444a9),_0x2861b3['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x2861b3['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x238ff2,_0x13a355,_0xc59b)=>_0x238ff2&&!_0x13a355&&!!_0xc59b),_0x2861b3['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x2861b3['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x3ebc9f,_0x3efae9)=>_0x3ebc9f&&!_0x3efae9),_0x2861b3['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x2861b3['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x2861b3['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x2861b3;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0xdf2e67=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=getTranslation$j(_0xdf2e67,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x30bded){const _0x1601a0=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x30bded||getTranslation$j(_0x1601a0,'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(_0x904c){super(_0x904c),_0x904c['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0x904c['config']['define']('ai.assistant.contentAreaCssClass',''),_0x904c['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x904c['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x49f407}=this;this['_aiAdapter']=_0x49f407['plugins']['get'](AIAdapter),this['_dialog']=_0x49f407['plugins']['get'](ckeditor5['Dialog']),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x16c08d=new ShowAIAssistantCommand(_0x49f407,Array['from'](this['_commandDefinitions']['values']()));_0x49f407['commands']['add']('showAIAssistant',_0x16c08d),_0x49f407['ui']['componentFactory']['add']('aiCommands',_0x3c6bf3=>{const _0x9726a5=ckeditor5['createDropdown'](_0x3c6bf3);return _0x9726a5['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x9726a5['buttonView']['set']({'label':getTranslation$j(_0x3c6bf3,'AI\x20Commands'),'icon':ckeditor5['IconMagicWand'],'tooltip':!0x0}),_0x9726a5['on']('execute',_0x28fd82=>this['_onExecute'](_0x28fd82['source']['id'])),ckeditor5['addMenuToDropdown'](_0x9726a5,_0x49f407['ui']['view']['body'],getMenuDropdownDefinition(_0x49f407),{'ariaLabel':getTranslation$j(_0x3c6bf3,'AI\x20Commands')}),_0x9726a5['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x16c08d['on']('change:enabledCommandsIds',_0x3ca271),_0x9726a5['menuView']['once']('render',_0x3ca271),_0x9726a5;function _0x3ca271(){_0x9726a5['isEnabled']=_0x16c08d['enabledCommandsIds']['length']>0x0;for(const _0x252898 of _0x9726a5['menuView']['buttons'])_0x252898['isEnabled']=_0x16c08d['enabledCommandsIds']['includes'](_0x252898['id']);}}),_0x49f407['ui']['componentFactory']['add']('menuBar:aiCommands',_0x5d3470=>{const _0xa4f116=new ckeditor5['MenuBarMenuView'](_0x5d3470);_0xa4f116['buttonView']['set']({'label':getTranslation$j(_0x5d3470,'AI\x20Commands'),'icon':ckeditor5['IconMagicWand']}),_0xa4f116['bind']('isEnabled')['to'](_0x16c08d,'enabledCommandsIds',_0x261715=>_0x261715['length']>0x0);const _0x4dea51=_0x334542(_0x49f407['config']['get']('ai.assistant.commands'),_0x5d3470);return this['_populateMenuBarMenu'](_0x16c08d,_0xa4f116,_0x4dea51,_0x1f98bf=>this['_onExecute'](_0x1f98bf)),_0xa4f116;}),_0x49f407['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x198dd2=this['_createAIAssistantUIButton'](ckeditor5['ButtonView']);return _0x198dd2['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x198dd2;}),_0x49f407['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x3c000e=this['_createAIAssistantUIButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x3c000e['set']({'role':'menuitemcheckbox'}),_0x3c000e;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x401059=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x22272a;for(const _0x574b96 in _0x401059){const _0x552530=_0x574b96,_0x5777eb=_0x401059[_0x552530];if('aiLicenseKeyValid'==_0x5777eb||'aiLicenseKeyInvalid'==_0x5777eb||'aiLicenseKeyExpired'==_0x5777eb||'aiLicenseKeyDomainLimit'==_0x5777eb||'aiLicenseKeyNotAllowed'==_0x5777eb||'aiLicenseKeyEvaluationLimit'==_0x5777eb||'aiLicenseKeyUsageLimit'==_0x5777eb){delete _0x401059[_0x552530],_0x22272a=_0x5777eb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x22272a&&_0x401059['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x22272a&&_0x401059['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x22272a&&_0x401059['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x22272a&&_0x401059['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x22272a&&_0x401059['_showLicenseError']('evaluationLimit'),'aiLicenseKeyUsageLimit'==_0x22272a&&_0x401059['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0x2d0b2c='',_0x375b08='',_0x5dfc9b='custom'){const _0x33853a=this['editor'],_0x1bcfe4=_0x33853a['editing']['view'],_0x2cbcaf=_0x33853a['plugins']['get'](AIAssistantEditing),_0x5c4be6=_0x33853a['plugins']['get'](ckeditor5['ClipboardMarkersUtils']);_0x2cbcaf['showFakeVisualSelection']();const _0x2438f7=new DomDataTransfer(),_0xe031e7=new ClipboardEvent('copy',{'clipboardData':_0x2438f7}),_0x4395f6=new ckeditor5['ViewDataTransfer'](_0x2438f7),_0x479d15=new ckeditor5['ViewDocumentDomEventData'](_0x1bcfe4,_0xe031e7,{'dataTransfer':_0x4395f6});_0x5c4be6['_forceMarkersCopy']('comment',()=>{_0x1bcfe4['document']['fire']('copy',_0x479d15);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new AIAssistantController(_0x33853a,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x1127cf=_0x4395f6['getData']('text/html');const _0x4869fa=_0x33853a['model']['document']['selection'],_0x21e488=Array['from'](_0x4869fa['getRanges']());0x1===_0x21e488['length']&&_0x21e488[0x0]['isFlat']&&!_0x4869fa['getSelectedElement']()&&''!==_0x1127cf['replace'](/&nbsp;/g,'')['trim']()&&(_0x1127cf='<p>'+_0x1127cf+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x5dfc9b,'query':_0x2d0b2c,'htmlContent':_0x1127cf,'label':_0x375b08,'mainActionLabel':AIFormToolbarViewMainActionLabel[_0x33853a['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'](),_0x2cbcaf['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0x25bb2c=new Map(),_0x5435af=_0x334542(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x5875d0 of _0x5435af)for(const _0x4ebca8 of _0x5875d0['commands'])_0x25bb2c['set'](_0x4ebca8['id'],{..._0x4ebca8,'groupId':_0x5875d0['groupId'],'groupLabel':_0x5875d0['groupLabel']||_0x5875d0['groupId']});return _0x25bb2c;}['_createAIAssistantUIButton'](_0x162cb0){const _0x50769f=this['editor'],_0x2338c2=_0x50769f['commands']['get']('showAIAssistant'),_0x23fdbd=new _0x162cb0(_0x50769f['locale']);return _0x23fdbd['set']({'label':getTranslation$j(_0x50769f['locale'],'AI\x20Assistant'),'icon':ckeditor5['IconRobotPencil'],'isToggleable':!0x0}),_0x23fdbd['bind']('isEnabled')['to'](_0x2338c2),_0x23fdbd['bind']('isOn')['to'](this['_dialog'],'id',_0x36af52=>'aiAssistant'===_0x36af52),this['listenTo'](_0x23fdbd,'execute',()=>{_0x23fdbd['isOn']?this['hideUI']():_0x2338c2['execute']();}),_0x23fdbd;}['_initView'](){const _0x21c0c8=this['editor']['plugins']['get'](AIAssistantEditing);this['_formView']=new _0x2fb903(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',()=>{_0x21c0c8['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x21c0c8['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x488f45,ui:{ariaLiveAnnouncer:_0x52c0fe}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x4df1b2,_0x4e8edf,_0xccac3d)=>{const _0x459e70=this['_aiAssistantController']['currentContext'];_0xccac3d?_0x52c0fe['announce'](getTranslation$j(_0x488f45,'AI\x20is\x20writing')):_0x459e70&&_0x52c0fe['announce'](getTranslation$j(_0x488f45,'Generated\x20content:\x20%0',_0x459e70),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x42d474,_0xcb187c,_0x456fe2)=>{if(_0x456fe2){const _0x1d9cb6=this['_formView']['errorView']['text'];_0x52c0fe['announce'](getTranslation$j(_0x488f45,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1d9cb6));}});}['_onExecute'](_0x21fbfd){const _0x549b14=this['_commandDefinitions']['get'](_0x21fbfd),_0x67ae32=this['editor'],_0xf4487f=_0x67ae32['model']['document']['selection'],_0x12a119=_0x67ae32['commands']['get']('showAIAssistant'),_0x138897=_0x67ae32['plugins']['get'](AIAssistantEditing),_0x2e2b23=''+(_0x549b14['groupId']!==_0x3ee86b?_0x549b14['groupLabel']+':\x20':'')+_0x549b14['label'];if(!0x1!==_0x549b14['requiresContent']&&_0xf4487f['isCollapsed']){const _0x6eadce=ckeditor5['first'](_0xf4487f['getSelectedBlocks']())||_0x67ae32['model']['schema']['getLimitElement'](_0xf4487f);_0x67ae32['model']['change'](_0x5ed448=>{_0x5ed448['setSelection'](_0x6eadce,'in');});}_0x138897['showFakeVisualSelection'](),_0x12a119['execute'](_0x549b14['prompt'],_0x2e2b23,'command:'+_0x21fbfd);}['_populateMenuBarMenu'](_0x5f5172,_0x152e15,_0x24e661,_0x1122fd){const _0x3c383b=this['editor'],_0x48884c=_0x3c383b['locale'],_0x150f49=new ckeditor5['MenuBarMenuListView'](_0x48884c),_0x44c13d=sortDefinitionsByOrder(_0x3c383b,_0x24e661)['filter'](_0xc845f5=>_0xc845f5['commands']['length']);0x1===_0x44c13d['length']?this['_getMenuBarGroupButtons']({'command':_0x5f5172,'commands':_0x44c13d[0x0]['commands'],'parentMenuView':_0x152e15,'onExecute':_0x1122fd})['forEach'](_0x49d494=>_0x150f49['items']['add'](_0x49d494)):_0x44c13d['forEach'](({groupId:_0x3b7e75,groupLabel:_0xc1bfcc,commands:_0x1a50b0})=>{const _0x360865=new ckeditor5['MenuBarMenuListItemView'](_0x48884c,_0x152e15),_0x3f94bb=new ckeditor5['MenuBarMenuView'](_0x48884c),_0x5485b5=new ckeditor5['MenuBarMenuListView'](_0x48884c),_0x5919f2=this['_getMenuBarGroupButtons']({'command':_0x5f5172,'commands':_0x1a50b0,'parentMenuView':_0x3f94bb,'onExecute':_0x1122fd});_0x3f94bb['buttonView']['set']({'label':_0xc1bfcc||_0x3b7e75}),_0x3f94bb['delegate']('execute')['to'](_0x152e15),_0x5485b5['items']['addMany'](_0x5919f2),_0x3f94bb['panelView']['children']['add'](_0x5485b5),_0x360865['children']['add'](_0x3f94bb),_0x150f49['items']['add'](_0x360865);}),_0x152e15['panelView']['children']['add'](_0x150f49);}['_getMenuBarGroupButtons']({command:_0x58c1b9,commands:_0x8f5cf7,parentMenuView:_0x4a628c,onExecute:_0x59997a}){const _0x2899ff=this['editor'],_0x3aa3e4=_0x2899ff['locale'];return sortDefinitionsByOrder(_0x2899ff,_0x8f5cf7)['map'](_0x2c0197=>{const _0x58498e=new ckeditor5['MenuBarMenuListItemView'](_0x3aa3e4,_0x4a628c),_0x5eb852=new ckeditor5['MenuBarMenuListItemButtonView'](_0x3aa3e4);return _0x5eb852['set']({'label':_0x2c0197['label']}),_0x5eb852['delegate']('execute')['to'](_0x4a628c),_0x5eb852['on']('execute',()=>_0x59997a(_0x2c0197['id'])),_0x5eb852['bind']('isEnabled')['to'](_0x58c1b9,'enabledCommandsIds',_0x3552b7=>_0x3552b7['includes'](_0x2c0197['id'])),_0x58498e['children']['add'](_0x5eb852),_0x58498e;});}}function getMenuDropdownDefinition(_0x146988){const _0x568f61=_0x334542(_0x146988['config']['get']('ai.assistant.commands'),_0x146988['locale']),_0x1dc43d=sortDefinitionsByOrder(_0x146988,_0x568f61)['filter'](_0x2a6cb9=>_0x2a6cb9['commands']['length']);return 0x1===_0x1dc43d['length']?sortDefinitionsByOrder(_0x146988,_0x1dc43d[0x0]['commands'])['map'](_0x32eb1f=>({'id':_0x32eb1f['id'],'label':_0x32eb1f['label']})):_0x1dc43d['map'](_0x472d23=>{const {groupId:_0x21730e,groupLabel:_0x1cf0f7,commands:_0x5c1ae4}=_0x472d23,_0x5d0a5c=sortDefinitionsByOrder(_0x146988,_0x5c1ae4)['map'](_0x14b12f=>({'id':_0x14b12f['id'],'label':_0x14b12f['label']}));return{'id':_0x21730e,'menu':_0x1cf0f7||_0x21730e,'children':_0x5d0a5c};});}function sortDefinitionsCallback(_0x37f07e,_0x20953f){return void 0x0!==_0x37f07e['order']&&void 0x0===_0x20953f['order']?0x1:void 0x0===_0x37f07e['order']&&void 0x0!==_0x20953f['order']?-0x1:void 0x0!==_0x37f07e['order']&&void 0x0!==_0x20953f['order']?_0x37f07e['order']-_0x20953f['order']:0x0;}function sortDefinitionsByOrder(_0x342b7f,_0x89bec3){_0x89bec3['sort'](sortDefinitionsCallback);const _0x14c9ec={},_0x50d767=[];for(const _0x153dc6 of _0x89bec3)if(void 0x0!==_0x153dc6['order']){if(_0x153dc6['order']in _0x14c9ec)throw new ckeditor5['CKEditorError']('ai-commands-config-order-collision',_0x342b7f,{'conflictingDefinitions':[_0x153dc6,_0x14c9ec[_0x153dc6['order']]]});_0x14c9ec[_0x153dc6['order']]=_0x153dc6,_0x50d767['splice'](_0x153dc6['order'],0x0,_0x153dc6);}else _0x50d767['push'](_0x153dc6);return _0x50d767;}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(_0xc456b9){super(_0xc456b9);const _0x43f72a=_0xc456b9['config'],_0x2c904c=_0xc456b9['locale'];_0x43f72a['define']('ai.assistant.preserveComments',!0x0),_0x43f72a['define']('ai.assistant.commands',getDefaultAICommands(_0x2c904c)),_0x43f72a['define']('ai.assistant.extraCommandGroups',[]),_0x43f72a['define']('ai.assistant.removeCommands',[]);let _0x1e1689=_0x334542(_0x43f72a['get']('ai.assistant.commands'),_0x2c904c);const _0x4032f1=_0x43f72a['get']('ai.assistant.extraCommandGroups'),_0x122b5a=_0x43f72a['get']('ai.assistant.removeCommands');_0x4032f1['forEach'](_0x1878f2=>{const _0x1f12ce=_0x1e1689['find'](_0x153993=>_0x153993['groupId']===_0x1878f2['groupId']);_0x1f12ce?_0x1f12ce['commands']=_0x1f12ce['commands']['concat'](_0x1878f2['commands']):_0x1e1689['push'](_0x1878f2);}),_0x1e1689=_0x1e1689['filter'](_0x3a4971=>!_0x122b5a['includes'](_0x3a4971['groupId'])),_0x1e1689['forEach'](_0x15db01=>{_0x15db01['commands']=_0x15db01['commands']['filter'](_0x508693=>!_0x122b5a['includes'](_0x508693['id']));}),_0x43f72a['set']('ai.assistant.commands',_0x1e1689);}}function getDefaultAICommands(_0x4380ff){return[{'groupId':'editOrReview','groupLabel':getTranslation$j(_0x4380ff,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':getTranslation$j(_0x4380ff,'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(_0x4380ff,'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(_0x4380ff,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':getTranslation$j(_0x4380ff,'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(_0x4380ff,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':getTranslation$j(_0x4380ff,'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(_0x4380ff,'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(_0x4380ff,'Change\x20tone'),'commands':[{'id':'professional','label':getTranslation$j(_0x4380ff,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':getTranslation$j(_0x4380ff,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':getTranslation$j(_0x4380ff,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':getTranslation$j(_0x4380ff,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':getTranslation$j(_0x4380ff,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':getTranslation$j(_0x4380ff,'Change\x20style'),'commands':[{'id':'business','label':getTranslation$j(_0x4380ff,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':getTranslation$j(_0x4380ff,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':getTranslation$j(_0x4380ff,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':getTranslation$j(_0x4380ff,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':getTranslation$j(_0x4380ff,'Translate'),'commands':[{'id':'translateEnglish','label':getTranslation$j(_0x4380ff,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':getTranslation$j(_0x4380ff,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':getTranslation$j(_0x4380ff,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':getTranslation$j(_0x4380ff,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':getTranslation$j(_0x4380ff,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':getTranslation$j(_0x4380ff,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':getTranslation$j(_0x4380ff,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':getTranslation$j(_0x4380ff,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}class AITextAdapter extends ckeditor5['Plugin']{['abortController'];static get['requires'](){return[AIAdapter];}constructor(_0x1ac986){super(_0x1ac986),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'](_0x30a729){return this['sendRequest'](_0x30a729)['catch'](_0x30608a=>{if(_0x30608a instanceof AIRequestError)return Promise['reject'](_0x30608a);if('AbortError'==_0x30608a['name'])return Promise['resolve']();throw console['error'](_0x30608a),new ckeditor5['CKEditorError']('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x2f65d3,_0x11917a){const _0x4c76f6=this['editor']['locale'],_0x362c61={'Content-Type':'application/json'};if('object'==typeof _0x2f65d3)Object['assign'](_0x362c61,_0x2f65d3);else{if(_0x2f65d3)try{const _0x3490ff=await _0x2f65d3(_0x11917a);Object['assign'](_0x362c61,_0x3490ff);}catch{return Promise['reject'](new AIRequestError(getTranslation$j(_0x4c76f6,'AI_ERROR_GET_HEADERS')));}}return _0x362c61;}async['_prepareRequestParameters'](_0x1655fc,_0x23f36e){const _0x4c49c3=this['editor']['locale'];if('object'==typeof _0x1655fc)return _0x1655fc;try{return await _0x1655fc(_0x23f36e);}catch{return Promise['reject'](new AIRequestError(getTranslation$j(_0x4c49c3,'AI_ERROR_GET_PARAMETERS')));}}}class OpenAITextAdapter extends AITextAdapter{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x4a4ab7){super(_0x4a4ab7),_0x4a4ab7['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x4a4ab7['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0x4a4ab7['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x4a4ab7['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0x4a4ab7['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0x4a4ab7['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async['sendRequest']({query:_0x2a1520,context:_0x3e5814,onData:_0x1a0630,actionId:_0xf662f0}){const _0x350847=this['editor']['locale'],_0xd182ad=await this['prepareMessages'](_0x2a1520,_0x3e5814,_0xf662f0),_0x331996=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0xf662f0),_0x13ef59=await this['_prepareRequestParameters'](this['_requestParameters'],_0xf662f0),_0x4e5ba7={'messages':_0xd182ad,..._0x13ef59},_0x51c174={'method':'POST','headers':_0x331996,'body':JSON['stringify'](_0x4e5ba7),'signal':this['abortController']['signal']},_0x18effe=await fetch(this['_apiUrl'],_0x51c174);if(_0x18effe['ok'])return _0x13ef59['stream']?await this['_readStreamableResponse'](_0x18effe,_0x1a0630):await this['_readStaticResponse'](_0x18effe,_0x1a0630),Promise['resolve']();{const _0x35c808=await _0x18effe['text']();return _0x35c808['includes']('context_length_exceeded')?Promise['reject'](new AIRequestError(getTranslation$j(_0x350847,'AI_ERROR_CONTEXT_LENGTH'))):_0x35c808['includes']('Moderation')?Promise['reject'](new AIRequestError(getTranslation$j(_0x350847,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x35c808));}}async['prepareMessages'](_0x4d0a93,_0x2dffcb,_0x11d96f){let _0x2963e1,_0x2aaf95;return _0x2dffcb?(_0x2963e1='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.',_0x2aaf95='Instruction:\x0a'+_0x4d0a93+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x2dffcb):(_0x2963e1='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.',_0x2aaf95=_0x4d0a93),[{'role':'system','content':_0x2963e1},{'role':'user','content':_0x2aaf95}];}async['_readStreamableResponse'](_0x3d6fac,_0x382b87){const _0x330e81=_0x3d6fac['body']['getReader'](),_0x110c04=new TextDecoder();let _0x15e880='',_0x3bcf9a='',_0x3fcc1f='',_0x47bcde=!0x1;for(;!_0x47bcde;){const {done:_0x3c4d30,value:_0x5d9ced}=await _0x330e81['read'](),_0x1d62dd=_0x15e880+_0x110c04['decode'](_0x5d9ced);let _0xaa8537='';_0x47bcde=_0x3c4d30;try{_0xaa8537=this['_cleanUpData'](_0x1d62dd),_0x15e880='';}catch{_0x15e880=_0x1d62dd;continue;}_0x3bcf9a+=_0xaa8537,!_0x47bcde&&this['_isBufferIncomplete'](_0x3bcf9a)||_0x3bcf9a&&(_0x3fcc1f+=_0x3bcf9a,_0x3bcf9a='',_0x382b87(_0x3fcc1f));}return Promise['resolve']();}async['_readStaticResponse'](_0x53e44e,_0x49b642){return _0x49b642((await _0x53e44e['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x90a79b){const _0x371154=_0x90a79b['split']('<')['length']!==_0x90a79b['split']('>')['length'],_0x33a513=_0x90a79b['length']<0x1e;return _0x371154&&_0x33a513;}['_cleanUpData'](_0x1aaacb){return _0x1aaacb['split'](/\n(?![^{]*\})/g)['map'](_0x2de051=>_0x2de051['replace']('data:\x20',''))['filter'](_0x393774=>_0x393774&&_0x393774['length']>0x0&&'[DONE]'!==_0x393774)['map'](_0x30c4ca=>{const {choices:_0x1745d7}=JSON['parse'](_0x30c4ca);if(_0x1745d7[0x0]?.['delta']?.['content'])return _0x1745d7[0x0]['delta']['content'];})['filter'](_0xce36c7=>_0xce36c7)['join']('');}}class AWSTextAdapter extends AITextAdapter{static get['pluginName'](){return'AWSTextAdapter';}['init'](){super['init'](),ckeditor5['logWarning']('ai-aws-adapter-not-supported');}async['sendRequest'](_0x30022f){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(_0xb91d3b,_0x16c7bb={}){super(_0xb91d3b),this['isToggleable']=!0x0,this['set']('side',_0x16c7bb['side']||'top');const _0x225acb=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',...ckeditor5['toArray'](_0x16c7bb['class']||[]),_0x225acb['to']('side',_0x4cc47b=>'ck-tab-button_'+_0x4cc47b),_0x225acb['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x36eb82 extends ckeditor5['View']{['children'];constructor(_0x23849b,_0x44d816={}){super(_0x23849b);const _0x3ee2c9=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-tab-panel',...ckeditor5['toArray'](_0x44d816['class']||[]),_0x3ee2c9['to']('class'),_0x3ee2c9['if']('isVisible','ck-hidden',_0x5dfd11=>!_0x5dfd11)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x50f733 extends ckeditor5['View']{['buttonViews']=this['createCollection']();['panelViews']=this['createCollection']();['_tabs']=new Map();constructor(_0x4d7b59,_0x53fc4d={}){super(_0x4d7b59),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x53fc4d['side']||'top'),this['set']('isMaximized',!0x1);const _0xa28170=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',...ckeditor5['toArray'](_0x53fc4d['class']||[]),_0xa28170['to']('side',_0x1d421b=>'ck-tabs_'+_0x1d421b),_0xa28170['to']('class'),_0xa28170['to']('isMaximized',_0x444906=>_0x444906?'ck-ai-tabs_maximized':'')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0xa28170['to']('side',_0x7b0820=>'ck-tabs__buttons-container_'+_0x7b0820)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0xa28170['to']('side',_0x1bbb41=>'ck-tabs__panels-container_'+_0x1bbb41)]},'children':this['panelViews']},...ckeditor5['toArray'](_0x53fc4d['children']||[])]});}['getTabIds'](){return[...this['_tabs']['keys']()];}['getTab'](_0x5c3061){const _0x28bf52=this['_tabs']['get'](_0x5c3061);return _0x28bf52||null;}['addTab'](_0x204507){const _0x5e8540=this['_setupButton']({'id':_0x204507['id'],'label':_0x204507['buttonLabel'],'icon':_0x204507['buttonIcon'],'order':_0x204507['order']}),_0x32acc1=new _0x36eb82(this['locale']);return _0x32acc1['render'](),_0x204507['content']&&_0x32acc1['children']['add'](_0x204507['content']),this['panelViews']['add'](_0x32acc1),this['_tabs']['set'](_0x204507['id'],{'button':_0x5e8540,'panel':_0x32acc1,'order':void 0x0!==_0x204507['order']?_0x204507['order']:null}),this['fire']('addTab:'+_0x204507['id'],{'id':_0x204507['id'],'button':_0x5e8540,'panel':_0x32acc1}),null===this['activeTab']?this['activateTab'](_0x204507['id']):this['_hidePanel'](_0x204507['id']),{'button':_0x5e8540,'panel':_0x32acc1};}['activateTab'](_0x46a9e0){if(null!==_0x46a9e0&&!this['getTab'](_0x46a9e0))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x46a9e0});this['activeTab']!==_0x46a9e0&&(this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0x46a9e0,_0x46a9e0&&this['_showPanel'](_0x46a9e0),this['fire']('activateTab:'+_0x46a9e0,_0x46a9e0));}['showTab'](_0x169795){if(!this['getTab'](_0x169795))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x169795});this['_showPanel'](_0x169795),this['_showButton'](_0x169795),this['fire']('show:'+_0x169795,_0x169795);}['hideTab'](_0x34fe3b){if(!this['getTab'](_0x34fe3b))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x34fe3b});const _0x2cea09=this['activeTab'];this['_hidePanel'](_0x34fe3b),this['_hideButton'](_0x34fe3b);const _0x47d6a2=this['getTabIds']();_0x2cea09===_0x34fe3b&&_0x47d6a2['length']>0x1&&this['activateTab'](_0x47d6a2['find'](_0x375267=>_0x375267!==_0x34fe3b)),this['fire']('hide:'+_0x34fe3b,_0x34fe3b);}['_getPanel'](_0x7296e5){const _0x16a87d=this['_tabs']['get'](_0x7296e5);return _0x16a87d?_0x16a87d['panel']:null;}['_showPanel'](_0x1b4570){null!==this['activeTab']&&this['activeTab']!==_0x1b4570||this['_getPanel'](_0x1b4570)['show']();}['_hidePanel'](_0x294dd6){const _0x43dafd=this['_getPanel'](_0x294dd6);_0x43dafd['isVisible']&&(this['activeTab']===_0x294dd6&&(this['activeTab']=null),_0x43dafd['hide']());}['_getButton'](_0x2eb4ff){const _0x275da8=this['_tabs']['get'](_0x2eb4ff);return _0x275da8?_0x275da8['button']:null;}['_showButton'](_0xd0b53d){this['_getButton'](_0xd0b53d)['show']();}['_hideButton'](_0x57660c){this['_getButton'](_0x57660c)['hide']();}['_setupButton'](_0x8206cf){const _0x550d7d=new TabButtonView(this['locale'],{'side':this['side']}),_0x12fb13=this['buttonViews'];if(_0x550d7d['set']({'label':_0x8206cf['label'],'icon':_0x8206cf['icon'],'tooltip':!0x0,'withText':!0x0}),_0x550d7d['bind']('isOn')['to'](this,'activeTab',_0x51f1c6=>_0x51f1c6===_0x8206cf['id']),_0x550d7d['bind']('side')['to'](this,'side'),_0x8206cf['order']){const _0x40f140=[...this['_tabs']]['reduce']((_0x12c0a4,_0x52cd74)=>{const _0x3ef448=_0x52cd74[0x0],{order:_0x278669}=_0x52cd74[0x1];return!_0x278669||_0x278669>_0x8206cf['order']?_0x12c0a4:_0x278669>=_0x12c0a4['order']?{'id':_0x3ef448,'order':_0x278669}:_0x12c0a4;},{'id':'','order':0x0}),_0x47c151=_0x12fb13['getIndex'](this['_getButton'](_0x40f140['id']));_0x12fb13['add'](_0x550d7d,_0x47c151+0x1);}else _0x12fb13['add'](_0x550d7d);return _0x550d7d['on']('execute',()=>{this['activateTab'](_0x8206cf['id']);}),_0x550d7d;}}const _0x4e8b55=['overlay','sidebar','custom'],_0x541feb=['left','right'];class _0x268731 extends _0x50f733{constructor(_0x1b058e,_0x465da9={}){super(_0x1b058e,_0x465da9),this['set']('type',_0x465da9['type']||'sidebar'),this['set']('side',_0x465da9['side']||'right'),this['set']('isVisible',_0x465da9['visibleByDefault']??!0x0);const _0x5f144e=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0x5f144e['if']('type','ck-ai-tabs__overlay',_0x3c9fcf=>'overlay'===_0x3c9fcf),_0x5f144e['if']('type','ck-ai-tabs__sidebar',_0x71d6b0=>'sidebar'===_0x71d6b0),_0x5f144e['if']('isVisible','ck-hidden',_0x3b1fb8=>!_0x3b1fb8)]}}),this['buttonViews']['on']('add',(_0x1710d7,_0x372139)=>{_0x372139['set']('withText',!0x1);});}}class _0x1b227a extends ckeditor5['ContextPlugin']{['view'];['container']=null;['showResizeButton']=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xff7f6f){super(_0xff7f6f);const _0x126bef=this['context']['config']['get']('ai.container');if(this['set']('side','right'),!_0x126bef)throw new ckeditor5['CKEditorError']('ai-tabs-configuration-not-found');if(void 0x0!==_0x126bef['showResizeButton']&&(this['showResizeButton']=_0x126bef['showResizeButton']),'sidebar'!==_0x126bef['type']&&'overlay'!==_0x126bef['type']||_0x126bef['side']&&(this['side']=_0x126bef['side']),'sidebar'===_0x126bef['type']){if(this['container']=_0x126bef['element'],this['set']('type','sidebar'),!this['container'])throw new ckeditor5['CKEditorError']('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0x126bef['type']?(this['container']=document['body'],this['set']('type','overlay')):(this['container']=null,this['set']('type','custom'));this['view']=new _0x268731(this['context']['locale'],{'side':this['side'],'type':this['type'],'visibleByDefault':void 0x0===_0x126bef['visibleByDefault']||_0x126bef['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'](_0x2f497d){if(_0x2f497d&&this['type']!==_0x2f497d){if(!_0x4e8b55['includes'](_0x2f497d))throw new ckeditor5['CKEditorError']('ai-tabs-unsupported-ui-type');this['type']=_0x2f497d;}}['switchSide'](_0x18812a){if(_0x18812a&&this['side']!==_0x18812a){if(!_0x541feb['includes'](_0x18812a))throw new ckeditor5['CKEditorError']('ai-tabs-unsupported-ui-side');this['side']=_0x18812a;}}['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 _0x406b57 extends Error{constructor(_0x643333,_0x449923){super(_0x643333),this['name']='ParseError',this['type']=_0x449923['type'],this['field']=_0x449923['field'],this['value']=_0x449923['value'],this['line']=_0x449923['line'];}}function _0x5c82e9(_0x1848b1){}function createParser(_0x4229c7){if('function'==typeof _0x4229c7)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0x5427b5=_0x5c82e9,onError:_0x4b80c8=_0x5c82e9,onRetry:_0xe2509b=_0x5c82e9,onComment:_0x1213bc}=_0x4229c7;let _0x35e276,_0x4efe75='',_0x311d53=!0x0,_0xa9dd43='',_0x57604f='';function _0x5609d4(_0x3a61bb){if(''===_0x3a61bb)return _0xa9dd43['length']>0x0&&_0x5427b5({'id':_0x35e276,'event':_0x57604f||void 0x0,'data':_0xa9dd43['endsWith']('\x0a')?_0xa9dd43['slice'](0x0,-0x1):_0xa9dd43}),_0x35e276=void 0x0,_0xa9dd43='',void(_0x57604f='');if(_0x3a61bb['startsWith'](':'))return void(_0x1213bc&&_0x1213bc(_0x3a61bb['slice'](_0x3a61bb['startsWith'](':\x20')?0x2:0x1)));const _0x3c996e=_0x3a61bb['indexOf'](':');if(-0x1!==_0x3c996e){const _0x2e0051=_0x3a61bb['slice'](0x0,_0x3c996e),_0x19bf84='\x20'===_0x3a61bb[_0x3c996e+0x1]?0x2:0x1;return void _0x899c8(_0x2e0051,_0x3a61bb['slice'](_0x3c996e+_0x19bf84),_0x3a61bb);}_0x899c8(_0x3a61bb,'',_0x3a61bb);}function _0x899c8(_0x230b70,_0x2ca0b9,_0x34c698){switch(_0x230b70){case'event':_0x57604f=_0x2ca0b9;break;case'data':_0xa9dd43=''+_0xa9dd43+_0x2ca0b9+'\x0a';break;case'id':_0x35e276=_0x2ca0b9['includes']('\x00')?void 0x0:_0x2ca0b9;break;case'retry':/^\d+$/['test'](_0x2ca0b9)?_0xe2509b(parseInt(_0x2ca0b9,0xa)):_0x4b80c8(new _0x406b57('Invalid\x20`retry`\x20value:\x20\x22'+_0x2ca0b9+'\x22',{'type':'invalid-retry','value':_0x2ca0b9,'line':_0x34c698}));break;default:_0x4b80c8(new _0x406b57('Unknown\x20field\x20\x22'+(_0x230b70['length']>0x14?_0x230b70['slice'](0x0,0x14)+'…':_0x230b70)+'\x22',{'type':'unknown-field','field':_0x230b70,'value':_0x2ca0b9,'line':_0x34c698}));}}return{'feed':function(_0x3feab6){const _0x4f44fd=_0x311d53?_0x3feab6['replace'](/^\xEF\xBB\xBF/,''):_0x3feab6,[_0x50428f,_0x3d273a]=splitLines(''+_0x4efe75+_0x4f44fd);for(const _0x29fbbc of _0x50428f)_0x5609d4(_0x29fbbc);_0x4efe75=_0x3d273a,_0x311d53=!0x1;},'reset':function(_0x23963={}){_0x4efe75&&_0x23963['consume']&&_0x5609d4(_0x4efe75),_0x311d53=!0x0,_0x35e276=void 0x0,_0xa9dd43='',_0x57604f='',_0x4efe75='';}};}function splitLines(_0x2a63f2){const _0x5c5b4b=[];let _0x39a55a='',_0x15e817=0x0;for(;_0x15e817<_0x2a63f2['length'];){const _0x3d5437=_0x2a63f2['indexOf']('\x0d',_0x15e817),_0x4a7127=_0x2a63f2['indexOf']('\x0a',_0x15e817);let _0x3a2ce5=-0x1;if(-0x1!==_0x3d5437&&-0x1!==_0x4a7127?_0x3a2ce5=Math['min'](_0x3d5437,_0x4a7127):-0x1!==_0x3d5437?_0x3a2ce5=_0x3d5437:-0x1!==_0x4a7127&&(_0x3a2ce5=_0x4a7127),-0x1===_0x3a2ce5){_0x39a55a=_0x2a63f2['slice'](_0x15e817);break;}{const _0x4cd0e9=_0x2a63f2['slice'](_0x15e817,_0x3a2ce5);_0x5c5b4b['push'](_0x4cd0e9),_0x15e817=_0x3a2ce5+0x1,'\x0d'===_0x2a63f2[_0x15e817-0x1]&&'\x0a'===_0x2a63f2[_0x15e817]&&_0x15e817++;}}return[_0x5c5b4b,_0x39a55a];}const _0x144691='1';class AIConnector extends ckeditor5['ContextPlugin']{['_apiUrl'];['_token'];['_decoder'];['_responseCache'];static get['requires'](){return[ckeditor5['CloudServices']];}static get['pluginName'](){return'AIConnector';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x11f3a8){super(_0x11f3a8),this['context']['config']['define']('ai.serviceUrl','https://ai.cke-cs.com/v1'),this['_apiUrl']=this['context']['config']['get']('ai.serviceUrl'),this['_token']=null,this['_decoder']=new TextDecoder(),this['_responseCache']=new Map();}['init'](){const _0x2195e3=this['context']['plugins']['get'](ckeditor5['CloudServices']);if(!_0x2195e3['token'])throw new ckeditor5['CKEditorError']('ai-missing-token',this);this['_token']=_0x2195e3['token'];}['startConversation'](_0x4ff266,_0x4b1978){const _0x386bec=this['_sendApiRequest']('/conversations','POST',{'id':_0x4ff266,'group':_0x4b1978});return{'getConversation':async()=>(await _0x386bec['request'])['json'](),'abortController':_0x386bec['abortController']};}['queryAssistant']({message:_0x3e338f,conversationId:_0x5125d1,parts:_0xfe187d,capabilities:_0x3b29f9,model:_0x4b3b37,attributes:_0x18665a}){const _0x3359e0={'prompt':_0x3e338f,'content':_0xfe187d,'model':_0x4b3b37,..._0x3b29f9&&{'capabilities':_0x3b29f9},..._0x18665a&&{'attributes':_0x18665a}},_0x223d4b=this['_sendApiRequest']('/conversations/'+_0x5125d1+'/messages','POST',_0x3359e0);return{'getStream':async()=>{const _0x459924=(await _0x223d4b['request'])['body'];return this['_getStreamReader'](_0x459924);},'abortController':_0x223d4b['abortController']};}['executeCustomAction']({content:_0xe49028,message:_0x4cf744,model:_0x161904,outputFormat:_0x3d4b49}){const _0x19dbec={'content':[{'type':'text','content':_0xe49028}],'prompt':_0x4cf744,'model':_0x161904,'outputFormat':_0x3d4b49},_0x512ffd=this['_sendApiRequest']('/actions/custom/calls','POST',_0x19dbec);return{'getStream':async()=>{const _0x45ae7e=(await _0x512ffd['request'])['body'];return this['_getStreamReader'](_0x45ae7e);},'abortController':_0x512ffd['abortController']};}['executeAction']({actionName:_0x30bc12,content:_0x1ad0a2,args:_0x401802}){const _0x118fc9={'content':[{'type':'text','content':_0x1ad0a2}],'args':_0x401802},_0x14634d=this['_sendApiRequest']('/actions/system/'+_0x30bc12+'/calls','POST',_0x118fc9);return{'getStream':async()=>{const _0x41c079=(await _0x14634d['request'])['body'];return this['_getStreamReader'](_0x41c079);},'abortController':_0x14634d['abortController']};}['uploadFile'](_0x3e0801,_0x55b3cb,_0x382b9b){const _0x47f51c=new FormData();_0x47f51c['append']('file',_0x55b3cb,_0x55b3cb['name']),_0x382b9b&&_0x47f51c['append']('attributes',JSON['stringify'](_0x382b9b));const _0xd99987=this['_sendApiRequest']('/conversations/'+_0x3e0801+'/files','POST',_0x47f51c);return{'getId':async()=>(await _0xd99987['request'])['json'](),'abortController':_0xd99987['abortController']};}['fetchDocument'](_0x3592fd,_0x308de6){const _0x545c88=this['_sendApiRequest']('/conversations/'+_0x3592fd+'/documents/'+_0x308de6,'GET');return{'getDocument':async()=>(await _0x545c88['request'])['json'](),'abortController':_0x545c88['abortController']};}['uploadDocument'](_0x3c8748,_0x2a2710,_0x163a3f){const _0x100f9e={'content':_0x2a2710};_0x163a3f&&(_0x100f9e['attributes']=_0x163a3f);const _0x5a002e=this['_sendApiRequest']('/conversations/'+_0x3c8748+'/documents','POST',_0x100f9e);return{'getId':async()=>(await _0x5a002e['request'])['json'](),'abortController':_0x5a002e['abortController']};}['fetchConversations'](_0x1320fe,_0x28c659={}){const _0x3957a8=new URLSearchParams();_0x3957a8['append']('group',_0x1320fe),_0x3957a8['append']('excludeEmpty',!0x1!==_0x28c659['excludeEmpty']?'true':'false'),_0x3957a8['append']('limit',_0x28c659['limit']?_0x28c659['limit']['toString']():'100'),_0x3957a8['append']('sortBy',_0x28c659['sortBy']?_0x28c659['sortBy']:'createdAt'),_0x3957a8['append']('order',_0x28c659['order']?_0x28c659['order']:'desc');const _0x42df6a=this['_sendApiRequest']('/conversations?'+_0x3957a8['toString'](),'GET');return{'getConversations':async()=>{const _0x121c16=await _0x42df6a['request'];return(await _0x121c16['json']())['items'];},'abortController':_0x42df6a['abortController']};}['deleteConversation'](_0x5cfaf1){const _0x151a61=this['_sendApiRequest']('/conversations/'+_0x5cfaf1,'DELETE');return{'execute':async()=>{await _0x151a61['request'];},'abortController':_0x151a61['abortController']};}['updateConversation'](_0x27bcd8,_0x591c04){const _0x2d284c=this['_sendApiRequest']('/conversations/'+_0x27bcd8,'PATCH',_0x591c04);return{'getResult':async()=>(await _0x2d284c['request'],_0x591c04),'abortController':_0x2d284c['abortController']};}['fetchConversation'](_0x291ab7){const _0x5ca94b=this['_sendApiRequest']('/conversations/'+_0x291ab7,'GET');return{'getConversation':async()=>(await _0x5ca94b['request'])['json'](),'abortController':_0x5ca94b['abortController']};}['fetchConversationMessages'](_0x6610a0){const _0x4bf012=this['_sendApiRequest']('/conversations/'+_0x6610a0+'/messages','GET');return{'getMessages':async()=>{const _0x20dcae=await _0x4bf012['request'];return(await _0x20dcae['json']())['items'];},'abortController':_0x4bf012['abortController']};}['uploadUrl'](_0x461e45,_0x23e71f,_0x28c14e){const _0x5cb736=this['_sendApiRequest']('/conversations/'+_0x461e45+'/web-resources','POST',{'url':_0x23e71f,'attributes':_0x28c14e});return{'getId':async()=>(await _0x5cb736['request'])['json'](),'abortController':_0x5cb736['abortController']};}['getModels'](_0x36eec9='en'){const _0x4dc712=new URLSearchParams();_0x4dc712['append']('language',_0x36eec9);const _0x48dae1='/models/'+_0x144691+'?'+_0x4dc712['toString'](),_0x2df808=this['_sendApiRequest'](_0x48dae1,'GET',void 0x0,!0x0);return{'list':async()=>await(await _0x2df808['request'])['json'](),'abortController':_0x2df808['abortController']};}['deleteFile'](_0x3fb22b,_0x55f886){const _0x5c98c3=this['_sendApiRequest']('/conversations/'+_0x3fb22b+'/files/'+_0x55f886,'DELETE');return{'execute':async()=>{await _0x5c98c3['request'];},'abortController':_0x5c98c3['abortController']};}['deleteDocument'](_0xc17c1d,_0x14a0c2){const _0xab5ba8=this['_sendApiRequest']('/conversations/'+_0xc17c1d+'/documents/'+_0x14a0c2,'DELETE');return{'execute':async()=>{await _0xab5ba8['request'];},'abortController':_0xab5ba8['abortController']};}['deleteWebResource'](_0x401aee,_0x1df119){const _0x2565b5=this['_sendApiRequest']('/conversations/'+_0x401aee+'/web-resources/'+_0x1df119,'DELETE');return{'execute':async()=>{await _0x2565b5['request'];},'abortController':_0x2565b5['abortController']};}['callSystemReview']({reviewName:_0x3302d7,content:_0x3b26f0,args:_0xc2689}){const _0x369d9c=this['_sendApiRequest']('/reviews/system/'+_0x3302d7+'/calls','POST',{'content':[{'type':'text','content':_0x3b26f0}],'args':_0xc2689});return{'getStream':async()=>{const _0xf7a5ce=(await _0x369d9c['request'])['body'];return this['_getStreamReader'](_0xf7a5ce);},'abortController':_0x369d9c['abortController']};}['callCustomReview']({content:_0x5cb238,prompt:_0x4a4554,model:_0x3a2228}){const _0x10fa31=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0x5cb238}],'prompt':_0x4a4554,'model':_0x3a2228});return{'getStream':async()=>{const _0x3a5366=(await _0x10fa31['request'])['body'];return this['_getStreamReader'](_0x3a5366);},'abortController':_0x10fa31['abortController']};}['upsertAIChatRating'](_0x383157,_0x1b3c51,_0x58a43a){const _0x3bc1a6=this['_sendApiRequest']('/conversations/'+_0x383157+'/messages/'+_0x1b3c51+'/ratings','PUT',{'positiveCount':_0x58a43a['positiveCount'],'totalCount':_0x58a43a['totalCount'],'modificationId':_0x58a43a['modificationId']});return{'execute':async()=>{await _0x3bc1a6['request'];},'abortController':_0x3bc1a6['abortController']};}['upsertAIActionRating'](_0x23c079,_0x428c9f,_0x214ae5){const _0x3a661b=this['_sendApiRequest']('/actions/system/'+_0x23c079+'/calls/'+_0x428c9f+'/ratings','PUT',{'positiveCount':_0x214ae5['positiveCount'],'totalCount':_0x214ae5['totalCount']});return{'execute':async()=>{await _0x3a661b['request'];},'abortController':_0x3a661b['abortController']};}['upsertCustomAIActionRating'](_0x2bab20,_0x465db3){const _0x2d2b16=this['_sendApiRequest']('/actions/custom/calls/'+_0x2bab20+'/ratings','PUT',{'positiveCount':_0x465db3['positiveCount'],'totalCount':_0x465db3['totalCount']});return{'execute':async()=>{await _0x2d2b16['request'];},'abortController':_0x2d2b16['abortController']};}['upsertAIReviewRating'](_0x252aed,_0x5b7657,_0x565c6f,_0x24f7b3){const _0x1f8e4e=this['_sendApiRequest']('/reviews/system/'+_0x252aed+'/calls/'+_0x5b7657+'/ratings','PUT',{'positiveCount':_0x565c6f['positiveCount'],'totalCount':_0x565c6f['totalCount'],'dataId':_0x24f7b3});return{'execute':async()=>{await _0x1f8e4e['request'];},'abortController':_0x1f8e4e['abortController']};}['upsertCustomAIReviewRating'](_0x1df178,_0x5e8fa1,_0x5c0fc7){const _0x149907=this['_sendApiRequest']('/reviews/custom/calls/'+_0x1df178+'/ratings','PUT',{'positiveCount':_0x5e8fa1['positiveCount'],'totalCount':_0x5e8fa1['totalCount'],'dataId':_0x5c0fc7});return{'execute':async()=>{await _0x149907['request'];},'abortController':_0x149907['abortController']};}['_sendApiRequest'](_0x576568,_0x48dab8,_0x3d1c11,_0x38015e=!0x1){const _0x426858=new AbortController(),_0x37911b=_0x38015e?_0x48dab8+':'+_0x576568:null;if(_0x37911b){const _0x377e3a=this['_responseCache']['get'](_0x37911b);if(_0x377e3a)return{'request':_0x377e3a['then'](_0xacd4bf=>_0xacd4bf['clone']()),'abortController':_0x426858};}const _0x1cfcaa=_0x3d1c11 instanceof FormData,_0x5c8e44={'Authorization':'Bearer\x20'+this['_token']?.['value']};_0x3d1c11&&!_0x1cfcaa&&(_0x5c8e44['Content-Type']='application/json');const _0x32323c={'method':_0x48dab8,'headers':_0x5c8e44,'signal':_0x426858['signal']};_0x3d1c11&&(_0x32323c['body']=_0x1cfcaa?_0x3d1c11:JSON['stringify'](_0x3d1c11));const _0x594030=fetch(''+this['_apiUrl']+_0x576568,_0x32323c)['catch'](_0x44eeb1=>{_0x37911b&&this['_responseCache']['delete'](_0x37911b),this['_handleError'](_0x44eeb1);})['then'](_0x1dc279=>_0x1dc279['ok']?_0x1dc279:_0x1dc279['json']()['then'](_0x2834a6=>{throw _0x37911b&&this['_responseCache']['delete'](_0x37911b),{'url':this['_apiUrl'],'path':_0x576568,'method':_0x48dab8,'body':_0x3d1c11,'status':(_0x1dc279||{})['status'],'statusText':(_0x1dc279||{})['statusText'],'code':_0x2834a6['code'],'message':_0x2834a6['message'],'traceId':_0x2834a6['traceId']};}));return _0x37911b&&this['_responseCache']['set'](_0x37911b,_0x594030['then'](_0x4a92f3=>_0x4a92f3['clone']())),{'request':_0x594030,'abortController':_0x426858};}async*['_getStreamReader'](_0x14d8c0){const _0x1a2cc6=[],_0x2e2ca8=_0x14d8c0['getReader'](),_0x36d14a=createParser({'onError':_0x1a7b45=>{this['_handleError'](_0x1a7b45);},'onEvent':_0x29866e=>{_0x29866e['data']=JSON['parse'](_0x29866e['data']),_0x1a2cc6['push'](_0x29866e);}});try{let _0x9e13b4=!0x1;for(;!_0x9e13b4;){const {done:_0x559b25,value:_0x28ddce}=await _0x2e2ca8['read']();_0x559b25&&(_0x9e13b4=!0x0),_0x36d14a['feed'](this['_decoder']['decode'](_0x28ddce,{'stream':!0x0})),yield*_0x1a2cc6,_0x1a2cc6['length']=0x0;}}catch(_0x41443b){this['_handleError'](_0x41443b);}finally{_0x2e2ca8['releaseLock'](),_0x36d14a['reset']();}}['_handleError'](_0x4b20cb){if(_0x4b20cb instanceof ckeditor5['CKEditorError'])throw _0x4b20cb;if(_0x4b20cb instanceof Error&&'AbortError'===_0x4b20cb['name'])throw new ckeditor5['CKEditorError']('ai-request-aborted',this,{'originalError':_0x4b20cb});throw new ckeditor5['CKEditorError']('ai-request-failed',this,{'originalError':_0x4b20cb});}}function getTranslation$i(_0x508dd8,_0x1b28b8,_0x12ea36){const t=_0x508dd8['t'];switch(_0x1b28b8){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'},_0x12ea36);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.'},_0x12ea36);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.'},_0x12ea36);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.'},_0x12ea36);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'},_0x12ea36);case'AI_CHAT_SUGGESTION_ACTION_SUGGEST':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST','string':'Suggest'},_0x12ea36);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'},_0x12ea36);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.'},_0x12ea36);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.'},_0x12ea36);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.'},_0x12ea36);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.'},_0x12ea36);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'},_0x12ea36);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.'},_0x12ea36);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 _0x1b28b8;}}const _0x392bdc={'PRIMARY':'ck-ai-button-primary','SECONDARY':'ck-ai-button-secondary','TERTIARY':'ck-ai-button-tertiary'};function createResizeButton(_0x54fc1e,_0x31de2a){const _0x249e80=new ckeditor5['ButtonView'](_0x54fc1e),_0x3a5bf2=getTranslation$i(_0x54fc1e,'AI_TABS_LABEL_MINIMIZE'),_0x2d3990=getTranslation$i(_0x54fc1e,'AI_TABS_LABEL_MAXIMIZE');return _0x249e80['set']({'withText':!0x1,'icon':ckeditor5['IconMaximize'],'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20'+_0x392bdc['TERTIARY']}),_0x249e80['bind']('label')['to'](_0x31de2a,'isMaximized',_0x4b03f0=>_0x4b03f0?_0x3a5bf2:_0x2d3990),_0x249e80['bind']('icon')['to'](_0x31de2a,'isMaximized',_0x2654b1=>_0x2654b1?ckeditor5['IconMinimize']:ckeditor5['IconMaximize']),_0x249e80['bind']('isOn')['to'](_0x31de2a,'isMaximized'),_0x249e80['on']('execute',()=>{_0x31de2a['fire']('resizeTabs');}),_0x249e80;}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'](_0x14e892=>_0x14e892['charCodeAt'](0x0))),_0x255b4c=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0x2b4a88=>_0x2b4a88['charCodeAt'](0x0)));var _0x1024da;const _0x4fdf9b=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!==(_0x1024da=String['fromCodePoint'])&&void 0x0!==_0x1024da?_0x1024da:function(_0x2484c3){let _0x37335f='';return _0x2484c3>0xffff&&(_0x2484c3-=0x10000,_0x37335f+=String['fromCharCode'](_0x2484c3>>>0xa&0x3ff|0xd800),_0x2484c3=0xdc00|0x3ff&_0x2484c3),_0x37335f+=String['fromCharCode'](_0x2484c3),_0x37335f;};function replaceCodePoint(_0x5b6973){var _0x38ab12;return _0x5b6973>=0xd800&&_0x5b6973<=0xdfff||_0x5b6973>0x10ffff?0xfffd:null!==(_0x38ab12=_0x4fdf9b['get'](_0x5b6973))&&void 0x0!==_0x38ab12?_0x38ab12:_0x5b6973;}var _0x5d7b3b;!function(_0x4f3500){_0x4f3500[_0x4f3500['NUM']=0x23]='NUM',_0x4f3500[_0x4f3500['SEMI']=0x3b]='SEMI',_0x4f3500[_0x4f3500['EQUALS']=0x3d]='EQUALS',_0x4f3500[_0x4f3500['ZERO']=0x30]='ZERO',_0x4f3500[_0x4f3500['NINE']=0x39]='NINE',_0x4f3500[_0x4f3500['LOWER_A']=0x61]='LOWER_A',_0x4f3500[_0x4f3500['LOWER_F']=0x66]='LOWER_F',_0x4f3500[_0x4f3500['LOWER_X']=0x78]='LOWER_X',_0x4f3500[_0x4f3500['LOWER_Z']=0x7a]='LOWER_Z',_0x4f3500[_0x4f3500['UPPER_A']=0x41]='UPPER_A',_0x4f3500[_0x4f3500['UPPER_F']=0x46]='UPPER_F',_0x4f3500[_0x4f3500['UPPER_Z']=0x5a]='UPPER_Z';}(_0x5d7b3b||(_0x5d7b3b={}));const _0x49d69a=0x20;var _0x2e6d7f,EntityDecoderState,_0x19d6f4,_0x4a9307,State,QuoteType;function _0x990032(_0x13c8df){return _0x13c8df>=_0x5d7b3b['ZERO']&&_0x13c8df<=_0x5d7b3b['NINE'];}function isHexadecimalCharacter(_0x4e202f){return _0x4e202f>=_0x5d7b3b['UPPER_A']&&_0x4e202f<=_0x5d7b3b['UPPER_F']||_0x4e202f>=_0x5d7b3b['LOWER_A']&&_0x4e202f<=_0x5d7b3b['LOWER_F'];}function _0x5b8eba(_0x1b342d){return _0x1b342d>=_0x5d7b3b['UPPER_A']&&_0x1b342d<=_0x5d7b3b['UPPER_Z']||_0x1b342d>=_0x5d7b3b['LOWER_A']&&_0x1b342d<=_0x5d7b3b['LOWER_Z']||_0x990032(_0x1b342d);}function isEntityInAttributeInvalidEnd(_0x39911a){return _0x39911a===_0x5d7b3b['EQUALS']||_0x5b8eba(_0x39911a);}!function(_0x43925f){_0x43925f[_0x43925f['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0x43925f[_0x43925f['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0x43925f[_0x43925f['JUMP_TABLE']=0x7f]='JUMP_TABLE';}(_0x2e6d7f||(_0x2e6d7f={})),function(_0x4e9d72){_0x4e9d72[_0x4e9d72['EntityStart']=0x0]='EntityStart',_0x4e9d72[_0x4e9d72['NumericStart']=0x1]='NumericStart',_0x4e9d72[_0x4e9d72['NumericDecimal']=0x2]='NumericDecimal',_0x4e9d72[_0x4e9d72['NumericHex']=0x3]='NumericHex',_0x4e9d72[_0x4e9d72['NamedEntity']=0x4]='NamedEntity';}(EntityDecoderState||(EntityDecoderState={})),function(_0x450e57){_0x450e57[_0x450e57['Legacy']=0x0]='Legacy',_0x450e57[_0x450e57['Strict']=0x1]='Strict',_0x450e57[_0x450e57['Attribute']=0x2]='Attribute';}(_0x19d6f4||(_0x19d6f4={}));class EntityDecoder{constructor(_0x5a41c2,_0x261faa,_0x157152){this['decodeTree']=_0x5a41c2,this['emitCodePoint']=_0x261faa,this['errors']=_0x157152,this['state']=EntityDecoderState['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=_0x19d6f4['Strict'];}['startEntity'](_0x3c17cb){this['decodeMode']=_0x3c17cb,this['state']=EntityDecoderState['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}['write'](_0x4ec0b5,_0x5dd688){switch(this['state']){case EntityDecoderState['EntityStart']:return _0x4ec0b5['charCodeAt'](_0x5dd688)===_0x5d7b3b['NUM']?(this['state']=EntityDecoderState['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0x4ec0b5,_0x5dd688+0x1)):(this['state']=EntityDecoderState['NamedEntity'],this['stateNamedEntity'](_0x4ec0b5,_0x5dd688));case EntityDecoderState['NumericStart']:return this['stateNumericStart'](_0x4ec0b5,_0x5dd688);case EntityDecoderState['NumericDecimal']:return this['stateNumericDecimal'](_0x4ec0b5,_0x5dd688);case EntityDecoderState['NumericHex']:return this['stateNumericHex'](_0x4ec0b5,_0x5dd688);case EntityDecoderState['NamedEntity']:return this['stateNamedEntity'](_0x4ec0b5,_0x5dd688);}}['stateNumericStart'](_0x4b8734,_0x3e519d){return _0x3e519d>=_0x4b8734['length']?-0x1:(_0x4b8734['charCodeAt'](_0x3e519d)|_0x49d69a)===_0x5d7b3b['LOWER_X']?(this['state']=EntityDecoderState['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x4b8734,_0x3e519d+0x1)):(this['state']=EntityDecoderState['NumericDecimal'],this['stateNumericDecimal'](_0x4b8734,_0x3e519d));}['addToNumericResult'](_0x4abc8b,_0xf83f73,_0x6e111a,_0x1173a4){if(_0xf83f73!==_0x6e111a){const _0x2bf20e=_0x6e111a-_0xf83f73;this['result']=this['result']*Math['pow'](_0x1173a4,_0x2bf20e)+Number['parseInt'](_0x4abc8b['substr'](_0xf83f73,_0x2bf20e),_0x1173a4),this['consumed']+=_0x2bf20e;}}['stateNumericHex'](_0x304772,_0x15bc5c){const _0x320f75=_0x15bc5c;for(;_0x15bc5c<_0x304772['length'];){const _0x5684eb=_0x304772['charCodeAt'](_0x15bc5c);if(!_0x990032(_0x5684eb)&&!isHexadecimalCharacter(_0x5684eb))return this['addToNumericResult'](_0x304772,_0x320f75,_0x15bc5c,0x10),this['emitNumericEntity'](_0x5684eb,0x3);_0x15bc5c+=0x1;}return this['addToNumericResult'](_0x304772,_0x320f75,_0x15bc5c,0x10),-0x1;}['stateNumericDecimal'](_0xea3b5a,_0x10f26c){const _0xeac400=_0x10f26c;for(;_0x10f26c<_0xea3b5a['length'];){const _0x5eab8d=_0xea3b5a['charCodeAt'](_0x10f26c);if(!_0x990032(_0x5eab8d))return this['addToNumericResult'](_0xea3b5a,_0xeac400,_0x10f26c,0xa),this['emitNumericEntity'](_0x5eab8d,0x2);_0x10f26c+=0x1;}return this['addToNumericResult'](_0xea3b5a,_0xeac400,_0x10f26c,0xa),-0x1;}['emitNumericEntity'](_0x5b7a5b,_0x4f6fb5){var _0x4090b1;if(this['consumed']<=_0x4f6fb5)return null===(_0x4090b1=this['errors'])||void 0x0===_0x4090b1||_0x4090b1['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0x5b7a5b===_0x5d7b3b['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===_0x19d6f4['Strict'])return 0x0;}return this['emitCodePoint'](replaceCodePoint(this['result']),this['consumed']),this['errors']&&(_0x5b7a5b!==_0x5d7b3b['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}['stateNamedEntity'](_0x51e174,_0x138231){const {decodeTree:_0x944742}=this;let _0x283aae=_0x944742[this['treeIndex']],_0x55dee7=(_0x283aae&_0x2e6d7f['VALUE_LENGTH'])>>0xe;for(;_0x138231<_0x51e174['length'];_0x138231++,this['excess']++){const _0x2ef56a=_0x51e174['charCodeAt'](_0x138231);if(this['treeIndex']=determineBranch(_0x944742,_0x283aae,this['treeIndex']+Math['max'](0x1,_0x55dee7),_0x2ef56a),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===_0x19d6f4['Attribute']&&(0x0===_0x55dee7||isEntityInAttributeInvalidEnd(_0x2ef56a))?0x0:this['emitNotTerminatedNamedEntity']();if(_0x283aae=_0x944742[this['treeIndex']],_0x55dee7=(_0x283aae&_0x2e6d7f['VALUE_LENGTH'])>>0xe,0x0!==_0x55dee7){if(_0x2ef56a===_0x5d7b3b['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x55dee7,this['consumed']+this['excess']);this['decodeMode']!==_0x19d6f4['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}['emitNotTerminatedNamedEntity'](){var _0x423e23;const {result:_0x4c8a08,decodeTree:_0x4dfbf3}=this,_0x5a743c=(_0x4dfbf3[_0x4c8a08]&_0x2e6d7f['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x4c8a08,_0x5a743c,this['consumed']),null===(_0x423e23=this['errors'])||void 0x0===_0x423e23||_0x423e23['missingSemicolonAfterCharacterReference'](),this['consumed'];}['emitNamedEntityData'](_0x5e0240,_0x2dd907,_0x2a890e){const {decodeTree:_0x520fdd}=this;return this['emitCodePoint'](0x1===_0x2dd907?_0x520fdd[_0x5e0240]&~_0x2e6d7f['VALUE_LENGTH']:_0x520fdd[_0x5e0240+0x1],_0x2a890e),0x3===_0x2dd907&&this['emitCodePoint'](_0x520fdd[_0x5e0240+0x2],_0x2a890e),_0x2a890e;}['end'](){var _0x3527d9;switch(this['state']){case EntityDecoderState['NamedEntity']:return 0x0===this['result']||this['decodeMode']===_0x19d6f4['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===(_0x3527d9=this['errors'])||void 0x0===_0x3527d9||_0x3527d9['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case EntityDecoderState['EntityStart']:return 0x0;}}}function determineBranch(_0x16c2f3,_0x5cc43c,_0x1707d6,_0xbe6f5b){const _0x452a77=(_0x5cc43c&_0x2e6d7f['BRANCH_LENGTH'])>>0x7,_0x4b2009=_0x5cc43c&_0x2e6d7f['JUMP_TABLE'];if(0x0===_0x452a77)return 0x0!==_0x4b2009&&_0xbe6f5b===_0x4b2009?_0x1707d6:-0x1;if(_0x4b2009){const _0x2d8b92=_0xbe6f5b-_0x4b2009;return _0x2d8b92<0x0||_0x2d8b92>=_0x452a77?-0x1:_0x16c2f3[_0x1707d6+_0x2d8b92]-0x1;}let _0xfcc767=_0x1707d6,_0x2c0204=_0xfcc767+_0x452a77-0x1;for(;_0xfcc767<=_0x2c0204;){const _0x2a012d=_0xfcc767+_0x2c0204>>>0x1,_0x1f5416=_0x16c2f3[_0x2a012d];if(_0x1f5416<_0xbe6f5b)_0xfcc767=_0x2a012d+0x1;else{if(!(_0x1f5416>_0xbe6f5b))return _0x16c2f3[_0x2a012d+_0x452a77];_0x2c0204=_0x2a012d-0x1;}}return-0x1;}function isWhitespace(_0x5bf6f1){return _0x5bf6f1===_0x4a9307['Space']||_0x5bf6f1===_0x4a9307['NewLine']||_0x5bf6f1===_0x4a9307['Tab']||_0x5bf6f1===_0x4a9307['FormFeed']||_0x5bf6f1===_0x4a9307['CarriageReturn'];}function isEndOfTagSection(_0x256c08){return _0x256c08===_0x4a9307['Slash']||_0x256c08===_0x4a9307['Gt']||isWhitespace(_0x256c08);}function _0x860024(_0x112397){return _0x112397>=_0x4a9307['LowerA']&&_0x112397<=_0x4a9307['LowerZ']||_0x112397>=_0x4a9307['UpperA']&&_0x112397<=_0x4a9307['UpperZ'];}!function(_0x11d045){_0x11d045[_0x11d045['Tab']=0x9]='Tab',_0x11d045[_0x11d045['NewLine']=0xa]='NewLine',_0x11d045[_0x11d045['FormFeed']=0xc]='FormFeed',_0x11d045[_0x11d045['CarriageReturn']=0xd]='CarriageReturn',_0x11d045[_0x11d045['Space']=0x20]='Space',_0x11d045[_0x11d045['ExclamationMark']=0x21]='ExclamationMark',_0x11d045[_0x11d045['Number']=0x23]='Number',_0x11d045[_0x11d045['Amp']=0x26]='Amp',_0x11d045[_0x11d045['SingleQuote']=0x27]='SingleQuote',_0x11d045[_0x11d045['DoubleQuote']=0x22]='DoubleQuote',_0x11d045[_0x11d045['Dash']=0x2d]='Dash',_0x11d045[_0x11d045['Slash']=0x2f]='Slash',_0x11d045[_0x11d045['Zero']=0x30]='Zero',_0x11d045[_0x11d045['Nine']=0x39]='Nine',_0x11d045[_0x11d045['Semi']=0x3b]='Semi',_0x11d045[_0x11d045['Lt']=0x3c]='Lt',_0x11d045[_0x11d045['Eq']=0x3d]='Eq',_0x11d045[_0x11d045['Gt']=0x3e]='Gt',_0x11d045[_0x11d045['Questionmark']=0x3f]='Questionmark',_0x11d045[_0x11d045['UpperA']=0x41]='UpperA',_0x11d045[_0x11d045['LowerA']=0x61]='LowerA',_0x11d045[_0x11d045['UpperF']=0x46]='UpperF',_0x11d045[_0x11d045['LowerF']=0x66]='LowerF',_0x11d045[_0x11d045['UpperZ']=0x5a]='UpperZ',_0x11d045[_0x11d045['LowerZ']=0x7a]='LowerZ',_0x11d045[_0x11d045['LowerX']=0x78]='LowerX',_0x11d045[_0x11d045['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(_0x4a9307||(_0x4a9307={})),function(_0x50aea0){_0x50aea0[_0x50aea0['Text']=0x1]='Text',_0x50aea0[_0x50aea0['BeforeTagName']=0x2]='BeforeTagName',_0x50aea0[_0x50aea0['InTagName']=0x3]='InTagName',_0x50aea0[_0x50aea0['InSelfClosingTag']=0x4]='InSelfClosingTag',_0x50aea0[_0x50aea0['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0x50aea0[_0x50aea0['InClosingTagName']=0x6]='InClosingTagName',_0x50aea0[_0x50aea0['AfterClosingTagName']=0x7]='AfterClosingTagName',_0x50aea0[_0x50aea0['BeforeAttributeName']=0x8]='BeforeAttributeName',_0x50aea0[_0x50aea0['InAttributeName']=0x9]='InAttributeName',_0x50aea0[_0x50aea0['AfterAttributeName']=0xa]='AfterAttributeName',_0x50aea0[_0x50aea0['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0x50aea0[_0x50aea0['InAttributeValueDq']=0xc]='InAttributeValueDq',_0x50aea0[_0x50aea0['InAttributeValueSq']=0xd]='InAttributeValueSq',_0x50aea0[_0x50aea0['InAttributeValueNq']=0xe]='InAttributeValueNq',_0x50aea0[_0x50aea0['BeforeDeclaration']=0xf]='BeforeDeclaration',_0x50aea0[_0x50aea0['InDeclaration']=0x10]='InDeclaration',_0x50aea0[_0x50aea0['InProcessingInstruction']=0x11]='InProcessingInstruction',_0x50aea0[_0x50aea0['BeforeComment']=0x12]='BeforeComment',_0x50aea0[_0x50aea0['CDATASequence']=0x13]='CDATASequence',_0x50aea0[_0x50aea0['InSpecialComment']=0x14]='InSpecialComment',_0x50aea0[_0x50aea0['InCommentLike']=0x15]='InCommentLike',_0x50aea0[_0x50aea0['BeforeSpecialS']=0x16]='BeforeSpecialS',_0x50aea0[_0x50aea0['BeforeSpecialT']=0x17]='BeforeSpecialT',_0x50aea0[_0x50aea0['SpecialStartSequence']=0x18]='SpecialStartSequence',_0x50aea0[_0x50aea0['InSpecialTag']=0x19]='InSpecialTag',_0x50aea0[_0x50aea0['InEntity']=0x1a]='InEntity';}(State||(State={})),function(_0x581437){_0x581437[_0x581437['NoValue']=0x0]='NoValue',_0x581437[_0x581437['Unquoted']=0x1]='Unquoted',_0x581437[_0x581437['Single']=0x2]='Single',_0x581437[_0x581437['Double']=0x3]='Double';}(QuoteType||(QuoteType={}));const _0x7fb27e={'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 _0x4661fc{constructor({xmlMode:_0x120c57=!0x1,decodeEntities:_0x5c955a=!0x0},_0x361ab7){this['cbs']=_0x361ab7,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']=_0x120c57,this['decodeEntities']=_0x5c955a,this['entityDecoder']=new EntityDecoder(_0x120c57?_0x255b4c:htmlDecodeTree,(_0x3014b1,_0x505e22)=>this['emitCodePoint'](_0x3014b1,_0x505e22));}['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'](_0x39ea3f){this['offset']+=this['buffer']['length'],this['buffer']=_0x39ea3f,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'](_0x2c907c){_0x2c907c===_0x4a9307['Lt']||!this['decodeEntities']&&this['fastForwardTo'](_0x4a9307['Lt'])?(this['index']>this['sectionStart']&&this['cbs']['ontext'](this['sectionStart'],this['index']),this['state']=State['BeforeTagName'],this['sectionStart']=this['index']):this['decodeEntities']&&_0x2c907c===_0x4a9307['Amp']&&this['startEntity']();}['stateSpecialStartSequence'](_0x1c7ad5){const _0x25c400=this['sequenceIndex']===this['currentSequence']['length'];if(_0x25c400?isEndOfTagSection(_0x1c7ad5):(0x20|_0x1c7ad5)===this['currentSequence'][this['sequenceIndex']]){if(!_0x25c400)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=State['InTagName'],this['stateInTagName'](_0x1c7ad5);}['stateInSpecialTag'](_0x1d58e1){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0x1d58e1===_0x4a9307['Gt']||isWhitespace(_0x1d58e1)){const _0x33bb36=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0x33bb36){const _0x3d0f17=this['index'];this['index']=_0x33bb36,this['cbs']['ontext'](this['sectionStart'],_0x33bb36),this['index']=_0x3d0f17;}return this['isSpecial']=!0x1,this['sectionStart']=_0x33bb36+0x2,void this['stateInClosingTagName'](_0x1d58e1);}this['sequenceIndex']=0x0;}(0x20|_0x1d58e1)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===_0x7fb27e['TitleEnd']?this['decodeEntities']&&_0x1d58e1===_0x4a9307['Amp']&&this['startEntity']():this['fastForwardTo'](_0x4a9307['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0x1d58e1===_0x4a9307['Lt']);}['stateCDATASequence'](_0x54b2f4){_0x54b2f4===_0x7fb27e['Cdata'][this['sequenceIndex']]?++this['sequenceIndex']===_0x7fb27e['Cdata']['length']&&(this['state']=State['InCommentLike'],this['currentSequence']=_0x7fb27e['CdataEnd'],this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1):(this['sequenceIndex']=0x0,this['state']=State['InDeclaration'],this['stateInDeclaration'](_0x54b2f4));}['fastForwardTo'](_0x41f7c2){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0x41f7c2)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}['stateInCommentLike'](_0x38a204){_0x38a204===this['currentSequence'][this['sequenceIndex']]?++this['sequenceIndex']===this['currentSequence']['length']&&(this['currentSequence']===_0x7fb27e['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):_0x38a204!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}['isTagStartChar'](_0x2c657d){return this['xmlMode']?!isEndOfTagSection(_0x2c657d):_0x860024(_0x2c657d);}['startSpecial'](_0x11e213,_0x2085f7){this['isSpecial']=!0x0,this['currentSequence']=_0x11e213,this['sequenceIndex']=_0x2085f7,this['state']=State['SpecialStartSequence'];}['stateBeforeTagName'](_0x617bdd){if(_0x617bdd===_0x4a9307['ExclamationMark'])this['state']=State['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0x617bdd===_0x4a9307['Questionmark'])this['state']=State['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0x617bdd)){const _0xdc6928=0x20|_0x617bdd;this['sectionStart']=this['index'],this['xmlMode']?this['state']=State['InTagName']:_0xdc6928===_0x7fb27e['ScriptEnd'][0x2]?this['state']=State['BeforeSpecialS']:_0xdc6928===_0x7fb27e['TitleEnd'][0x2]||_0xdc6928===_0x7fb27e['XmpEnd'][0x2]?this['state']=State['BeforeSpecialT']:this['state']=State['InTagName'];}else _0x617bdd===_0x4a9307['Slash']?this['state']=State['BeforeClosingTagName']:(this['state']=State['Text'],this['stateText'](_0x617bdd));}}}['stateInTagName'](_0x3c6597){isEndOfTagSection(_0x3c6597)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x3c6597));}['stateBeforeClosingTagName'](_0x59bf5e){isWhitespace(_0x59bf5e)||(_0x59bf5e===_0x4a9307['Gt']?this['state']=State['Text']:(this['state']=this['isTagStartChar'](_0x59bf5e)?State['InClosingTagName']:State['InSpecialComment'],this['sectionStart']=this['index']));}['stateInClosingTagName'](_0x5359c8){(_0x5359c8===_0x4a9307['Gt']||isWhitespace(_0x5359c8))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=State['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x5359c8));}['stateAfterClosingTagName'](_0x4b27fa){(_0x4b27fa===_0x4a9307['Gt']||this['fastForwardTo'](_0x4a9307['Gt']))&&(this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeAttributeName'](_0x76377c){_0x76377c===_0x4a9307['Gt']?(this['cbs']['onopentagend'](this['index']),this['isSpecial']?(this['state']=State['InSpecialTag'],this['sequenceIndex']=0x0):this['state']=State['Text'],this['sectionStart']=this['index']+0x1):_0x76377c===_0x4a9307['Slash']?this['state']=State['InSelfClosingTag']:isWhitespace(_0x76377c)||(this['state']=State['InAttributeName'],this['sectionStart']=this['index']);}['stateInSelfClosingTag'](_0x43ede8){_0x43ede8===_0x4a9307['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):isWhitespace(_0x43ede8)||(this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x43ede8));}['stateInAttributeName'](_0x4dd76b){(_0x4dd76b===_0x4a9307['Eq']||isEndOfTagSection(_0x4dd76b))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=State['AfterAttributeName'],this['stateAfterAttributeName'](_0x4dd76b));}['stateAfterAttributeName'](_0x2bae4f){_0x2bae4f===_0x4a9307['Eq']?this['state']=State['BeforeAttributeValue']:_0x2bae4f===_0x4a9307['Slash']||_0x2bae4f===_0x4a9307['Gt']?(this['cbs']['onattribend'](QuoteType['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x2bae4f)):isWhitespace(_0x2bae4f)||(this['cbs']['onattribend'](QuoteType['NoValue'],this['sectionStart']),this['state']=State['InAttributeName'],this['sectionStart']=this['index']);}['stateBeforeAttributeValue'](_0x34a86f){_0x34a86f===_0x4a9307['DoubleQuote']?(this['state']=State['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x34a86f===_0x4a9307['SingleQuote']?(this['state']=State['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):isWhitespace(_0x34a86f)||(this['sectionStart']=this['index'],this['state']=State['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x34a86f));}['handleInAttributeValue'](_0x2f4352,_0x15b1e3){_0x2f4352===_0x15b1e3||!this['decodeEntities']&&this['fastForwardTo'](_0x15b1e3)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x15b1e3===_0x4a9307['DoubleQuote']?QuoteType['Double']:QuoteType['Single'],this['index']+0x1),this['state']=State['BeforeAttributeName']):this['decodeEntities']&&_0x2f4352===_0x4a9307['Amp']&&this['startEntity']();}['stateInAttributeValueDoubleQuotes'](_0x3410fd){this['handleInAttributeValue'](_0x3410fd,_0x4a9307['DoubleQuote']);}['stateInAttributeValueSingleQuotes'](_0x1f0e31){this['handleInAttributeValue'](_0x1f0e31,_0x4a9307['SingleQuote']);}['stateInAttributeValueNoQuotes'](_0x483e75){isWhitespace(_0x483e75)||_0x483e75===_0x4a9307['Gt']?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](QuoteType['Unquoted'],this['index']),this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x483e75)):this['decodeEntities']&&_0x483e75===_0x4a9307['Amp']&&this['startEntity']();}['stateBeforeDeclaration'](_0x36e813){_0x36e813===_0x4a9307['OpeningSquareBracket']?(this['state']=State['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0x36e813===_0x4a9307['Dash']?State['BeforeComment']:State['InDeclaration'];}['stateInDeclaration'](_0x4c5b02){(_0x4c5b02===_0x4a9307['Gt']||this['fastForwardTo'](_0x4a9307['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateInProcessingInstruction'](_0x2e7d4f){(_0x2e7d4f===_0x4a9307['Gt']||this['fastForwardTo'](_0x4a9307['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeComment'](_0x28b769){_0x28b769===_0x4a9307['Dash']?(this['state']=State['InCommentLike'],this['currentSequence']=_0x7fb27e['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=State['InDeclaration'];}['stateInSpecialComment'](_0x20df72){(_0x20df72===_0x4a9307['Gt']||this['fastForwardTo'](_0x4a9307['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeSpecialS'](_0x46c038){const _0xcad17f=0x20|_0x46c038;_0xcad17f===_0x7fb27e['ScriptEnd'][0x3]?this['startSpecial'](_0x7fb27e['ScriptEnd'],0x4):_0xcad17f===_0x7fb27e['StyleEnd'][0x3]?this['startSpecial'](_0x7fb27e['StyleEnd'],0x4):(this['state']=State['InTagName'],this['stateInTagName'](_0x46c038));}['stateBeforeSpecialT'](_0x3dd1a7){switch(0x20|_0x3dd1a7){case _0x7fb27e['TitleEnd'][0x3]:this['startSpecial'](_0x7fb27e['TitleEnd'],0x4);break;case _0x7fb27e['TextareaEnd'][0x3]:this['startSpecial'](_0x7fb27e['TextareaEnd'],0x4);break;case _0x7fb27e['XmpEnd'][0x3]:this['startSpecial'](_0x7fb27e['XmpEnd'],0x4);break;default:this['state']=State['InTagName'],this['stateInTagName'](_0x3dd1a7);}}['startEntity'](){this['baseState']=this['state'],this['state']=State['InEntity'],this['entityStart']=this['index'],this['entityDecoder']['startEntity'](this['xmlMode']?_0x19d6f4['Strict']:this['baseState']===State['Text']||this['baseState']===State['InSpecialTag']?_0x19d6f4['Legacy']:_0x19d6f4['Attribute']);}['stateInEntity'](){const _0x21cab9=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0x21cab9>=0x0?(this['state']=this['baseState'],0x0===_0x21cab9&&(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 _0x3fb8b6=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case State['Text']:this['stateText'](_0x3fb8b6);break;case State['SpecialStartSequence']:this['stateSpecialStartSequence'](_0x3fb8b6);break;case State['InSpecialTag']:this['stateInSpecialTag'](_0x3fb8b6);break;case State['CDATASequence']:this['stateCDATASequence'](_0x3fb8b6);break;case State['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0x3fb8b6);break;case State['InAttributeName']:this['stateInAttributeName'](_0x3fb8b6);break;case State['InCommentLike']:this['stateInCommentLike'](_0x3fb8b6);break;case State['InSpecialComment']:this['stateInSpecialComment'](_0x3fb8b6);break;case State['BeforeAttributeName']:this['stateBeforeAttributeName'](_0x3fb8b6);break;case State['InTagName']:this['stateInTagName'](_0x3fb8b6);break;case State['InClosingTagName']:this['stateInClosingTagName'](_0x3fb8b6);break;case State['BeforeTagName']:this['stateBeforeTagName'](_0x3fb8b6);break;case State['AfterAttributeName']:this['stateAfterAttributeName'](_0x3fb8b6);break;case State['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0x3fb8b6);break;case State['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0x3fb8b6);break;case State['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0x3fb8b6);break;case State['AfterClosingTagName']:this['stateAfterClosingTagName'](_0x3fb8b6);break;case State['BeforeSpecialS']:this['stateBeforeSpecialS'](_0x3fb8b6);break;case State['BeforeSpecialT']:this['stateBeforeSpecialT'](_0x3fb8b6);break;case State['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0x3fb8b6);break;case State['InSelfClosingTag']:this['stateInSelfClosingTag'](_0x3fb8b6);break;case State['InDeclaration']:this['stateInDeclaration'](_0x3fb8b6);break;case State['BeforeDeclaration']:this['stateBeforeDeclaration'](_0x3fb8b6);break;case State['BeforeComment']:this['stateBeforeComment'](_0x3fb8b6);break;case State['InProcessingInstruction']:this['stateInProcessingInstruction'](_0x3fb8b6);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 _0x506a1a=this['buffer']['length']+this['offset'];this['sectionStart']>=_0x506a1a||(this['state']===State['InCommentLike']?this['currentSequence']===_0x7fb27e['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0x506a1a,0x0):this['cbs']['oncomment'](this['sectionStart'],_0x506a1a,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'],_0x506a1a));}['emitCodePoint'](_0x6f2448,_0x575518){this['baseState']!==State['Text']&&this['baseState']!==State['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x575518,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0x6f2448)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x575518,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0x6f2448,this['sectionStart']));}}const _0x547783=new Set(['input','option','optgroup','select','button','datalist','textarea']),_0x4c4874=new Set(['p']),tableSectionTags=new Set(['thead','tbody']),ddtTags=new Set(['dd','dt']),rtpTags=new Set(['rt','rp']),_0x1f50a3=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',_0x4c4874],['h1',_0x4c4874],['h2',_0x4c4874],['h3',_0x4c4874],['h4',_0x4c4874],['h5',_0x4c4874],['h6',_0x4c4874],['select',_0x547783],['input',_0x547783],['output',_0x547783],['button',_0x547783],['datalist',_0x547783],['textarea',_0x547783],['option',new Set(['option'])],['optgroup',new Set(['optgroup','option'])],['dd',ddtTags],['dt',ddtTags],['address',_0x4c4874],['article',_0x4c4874],['aside',_0x4c4874],['blockquote',_0x4c4874],['details',_0x4c4874],['div',_0x4c4874],['dl',_0x4c4874],['fieldset',_0x4c4874],['figcaption',_0x4c4874],['figure',_0x4c4874],['footer',_0x4c4874],['form',_0x4c4874],['header',_0x4c4874],['hr',_0x4c4874],['main',_0x4c4874],['nav',_0x4c4874],['ol',_0x4c4874],['pre',_0x4c4874],['section',_0x4c4874],['table',_0x4c4874],['ul',_0x4c4874],['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']),_0x504944=/\s|\//;let _0x38e62b=class{constructor(_0x2b2a46,_0x572ad0={}){var _0x10038d,_0x2aca0e,_0x5e64b9,_0x3878dc,_0x3b10d4,_0x51539f;this['options']=_0x572ad0,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!=_0x2b2a46?_0x2b2a46:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0x10038d=_0x572ad0['lowerCaseTags'])&&void 0x0!==_0x10038d?_0x10038d:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0x2aca0e=_0x572ad0['lowerCaseAttributeNames'])&&void 0x0!==_0x2aca0e?_0x2aca0e:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0x5e64b9=_0x572ad0['recognizeSelfClosing'])&&void 0x0!==_0x5e64b9?_0x5e64b9:!this['htmlMode'],this['tokenizer']=new(null!==(_0x3878dc=_0x572ad0['Tokenizer'])&&void 0x0!==_0x3878dc?_0x3878dc:_0x4661fc)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0x51539f=(_0x3b10d4=this['cbs'])['onparserinit'])||void 0x0===_0x51539f||_0x51539f['call'](_0x3b10d4,this);}['ontext'](_0x22108a,_0x3fafe9){var _0x4f0754,_0x43dbe3;const _0x33bfbc=this['getSlice'](_0x22108a,_0x3fafe9);this['endIndex']=_0x3fafe9-0x1,null===(_0x43dbe3=(_0x4f0754=this['cbs'])['ontext'])||void 0x0===_0x43dbe3||_0x43dbe3['call'](_0x4f0754,_0x33bfbc),this['startIndex']=_0x3fafe9;}['ontextentity'](_0x5f315,_0x2fdfb3){var _0x186aab,_0x5a701a;this['endIndex']=_0x2fdfb3-0x1,null===(_0x5a701a=(_0x186aab=this['cbs'])['ontext'])||void 0x0===_0x5a701a||_0x5a701a['call'](_0x186aab,fromCodePoint$1(_0x5f315)),this['startIndex']=_0x2fdfb3;}['isVoidElement'](_0x4d4bbb){return this['htmlMode']&&voidElements['has'](_0x4d4bbb);}['onopentagname'](_0x437efe,_0x272ef6){this['endIndex']=_0x272ef6;let _0x3744b5=this['getSlice'](_0x437efe,_0x272ef6);this['lowerCaseTagNames']&&(_0x3744b5=_0x3744b5['toLowerCase']()),this['emitOpenTag'](_0x3744b5);}['emitOpenTag'](_0x2b18ff){var _0x1c4ca8,_0x537f68,_0x9bfb38,_0x13d3ad;this['openTagStart']=this['startIndex'],this['tagname']=_0x2b18ff;const _0x38556d=this['htmlMode']&&_0x1f50a3['get'](_0x2b18ff);if(_0x38556d)for(;this['stack']['length']>0x0&&_0x38556d['has'](this['stack'][0x0]);){const _0x140277=this['stack']['shift']();null===(_0x537f68=(_0x1c4ca8=this['cbs'])['onclosetag'])||void 0x0===_0x537f68||_0x537f68['call'](_0x1c4ca8,_0x140277,!0x0);}this['isVoidElement'](_0x2b18ff)||(this['stack']['unshift'](_0x2b18ff),this['htmlMode']&&(foreignContextElements['has'](_0x2b18ff)?this['foreignContext']['unshift'](!0x0):htmlIntegrationElements['has'](_0x2b18ff)&&this['foreignContext']['unshift'](!0x1))),null===(_0x13d3ad=(_0x9bfb38=this['cbs'])['onopentagname'])||void 0x0===_0x13d3ad||_0x13d3ad['call'](_0x9bfb38,_0x2b18ff),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x365e15){var _0xb50948,_0x30132f;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x30132f=(_0xb50948=this['cbs'])['onopentag'])||void 0x0===_0x30132f||_0x30132f['call'](_0xb50948,this['tagname'],this['attribs'],_0x365e15),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}['onopentagend'](_0x558ccb){this['endIndex']=_0x558ccb,this['endOpenTag'](!0x1),this['startIndex']=_0x558ccb+0x1;}['onclosetag'](_0x4d53f2,_0x34c076){var _0x37cb11,_0x3a9831,_0x146029,_0x2a120c,_0x2a9495,_0x2635d9,_0x2e69ff,_0x4581b9;this['endIndex']=_0x34c076;let _0x1984bb=this['getSlice'](_0x4d53f2,_0x34c076);if(this['lowerCaseTagNames']&&(_0x1984bb=_0x1984bb['toLowerCase']()),this['htmlMode']&&(foreignContextElements['has'](_0x1984bb)||htmlIntegrationElements['has'](_0x1984bb))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x1984bb))this['htmlMode']&&'br'===_0x1984bb&&(null===(_0x2a120c=(_0x146029=this['cbs'])['onopentagname'])||void 0x0===_0x2a120c||_0x2a120c['call'](_0x146029,'br'),null===(_0x2635d9=(_0x2a9495=this['cbs'])['onopentag'])||void 0x0===_0x2635d9||_0x2635d9['call'](_0x2a9495,'br',{},!0x0),null===(_0x4581b9=(_0x2e69ff=this['cbs'])['onclosetag'])||void 0x0===_0x4581b9||_0x4581b9['call'](_0x2e69ff,'br',!0x1));else{const _0x18385=this['stack']['indexOf'](_0x1984bb);if(-0x1!==_0x18385)for(let _0x5dbeff=0x0;_0x5dbeff<=_0x18385;_0x5dbeff++){const _0x4a2452=this['stack']['shift']();null===(_0x3a9831=(_0x37cb11=this['cbs'])['onclosetag'])||void 0x0===_0x3a9831||_0x3a9831['call'](_0x37cb11,_0x4a2452,_0x5dbeff!==_0x18385);}else this['htmlMode']&&'p'===_0x1984bb&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0x34c076+0x1;}['onselfclosingtag'](_0x32de16){this['endIndex']=_0x32de16,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x32de16+0x1):this['onopentagend'](_0x32de16);}['closeCurrentTag'](_0x2fd7d3){var _0x299829,_0x5a3d18;const _0x31372d=this['tagname'];this['endOpenTag'](_0x2fd7d3),this['stack'][0x0]===_0x31372d&&(null===(_0x5a3d18=(_0x299829=this['cbs'])['onclosetag'])||void 0x0===_0x5a3d18||_0x5a3d18['call'](_0x299829,_0x31372d,!_0x2fd7d3),this['stack']['shift']());}['onattribname'](_0x899f97,_0x4550fc){this['startIndex']=_0x899f97;const _0x29e763=this['getSlice'](_0x899f97,_0x4550fc);this['attribname']=this['lowerCaseAttributeNames']?_0x29e763['toLowerCase']():_0x29e763;}['onattribdata'](_0x209de1,_0x71678d){this['attribvalue']+=this['getSlice'](_0x209de1,_0x71678d);}['onattribentity'](_0x2786a0){this['attribvalue']+=fromCodePoint$1(_0x2786a0);}['onattribend'](_0x4ac012,_0x5d3416){var _0x384d12,_0x5ac0bc;this['endIndex']=_0x5d3416,null===(_0x5ac0bc=(_0x384d12=this['cbs'])['onattribute'])||void 0x0===_0x5ac0bc||_0x5ac0bc['call'](_0x384d12,this['attribname'],this['attribvalue'],_0x4ac012===QuoteType['Double']?'\x22':_0x4ac012===QuoteType['Single']?'\x27':_0x4ac012===QuoteType['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}['getInstructionName'](_0x2051a6){const _0x496a5a=_0x2051a6['search'](_0x504944);let _0x506cc6=_0x496a5a<0x0?_0x2051a6:_0x2051a6['substr'](0x0,_0x496a5a);return this['lowerCaseTagNames']&&(_0x506cc6=_0x506cc6['toLowerCase']()),_0x506cc6;}['ondeclaration'](_0x123913,_0x425269){this['endIndex']=_0x425269;const _0x125da8=this['getSlice'](_0x123913,_0x425269);if(this['cbs']['onprocessinginstruction']){const _0x5e52ac=this['getInstructionName'](_0x125da8);this['cbs']['onprocessinginstruction']('!'+_0x5e52ac,'!'+_0x125da8);}this['startIndex']=_0x425269+0x1;}['onprocessinginstruction'](_0x5a0ded,_0x5a8f1a){this['endIndex']=_0x5a8f1a;const _0x38b6a5=this['getSlice'](_0x5a0ded,_0x5a8f1a);if(this['cbs']['onprocessinginstruction']){const _0x450b3b=this['getInstructionName'](_0x38b6a5);this['cbs']['onprocessinginstruction']('?'+_0x450b3b,'?'+_0x38b6a5);}this['startIndex']=_0x5a8f1a+0x1;}['oncomment'](_0x36abb8,_0x6714d1,_0x11cc46){var _0x25bfe2,_0x10a5bd,_0x5a701d,_0x14f212;this['endIndex']=_0x6714d1,null===(_0x10a5bd=(_0x25bfe2=this['cbs'])['oncomment'])||void 0x0===_0x10a5bd||_0x10a5bd['call'](_0x25bfe2,this['getSlice'](_0x36abb8,_0x6714d1-_0x11cc46)),null===(_0x14f212=(_0x5a701d=this['cbs'])['oncommentend'])||void 0x0===_0x14f212||_0x14f212['call'](_0x5a701d),this['startIndex']=_0x6714d1+0x1;}['oncdata'](_0x400a28,_0x5f59cf,_0x86c705){var _0xcef5e5,_0x178c1b,_0x499b62,_0x21921f,_0x172fb9,_0x33dd01,_0x244120,_0x39dc84,_0x300117,_0x50d9f9;this['endIndex']=_0x5f59cf;const _0x769708=this['getSlice'](_0x400a28,_0x5f59cf-_0x86c705);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0x178c1b=(_0xcef5e5=this['cbs'])['oncdatastart'])||void 0x0===_0x178c1b||_0x178c1b['call'](_0xcef5e5),null===(_0x21921f=(_0x499b62=this['cbs'])['ontext'])||void 0x0===_0x21921f||_0x21921f['call'](_0x499b62,_0x769708),null===(_0x33dd01=(_0x172fb9=this['cbs'])['oncdataend'])||void 0x0===_0x33dd01||_0x33dd01['call'](_0x172fb9)):(null===(_0x39dc84=(_0x244120=this['cbs'])['oncomment'])||void 0x0===_0x39dc84||_0x39dc84['call'](_0x244120,'[CDATA['+_0x769708+']]'),null===(_0x50d9f9=(_0x300117=this['cbs'])['oncommentend'])||void 0x0===_0x50d9f9||_0x50d9f9['call'](_0x300117)),this['startIndex']=_0x5f59cf+0x1;}['onend'](){var _0x38f7c9,_0x36ddf3;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0x4e1890=0x0;_0x4e1890<this['stack']['length'];_0x4e1890++)this['cbs']['onclosetag'](this['stack'][_0x4e1890],!0x0);}null===(_0x36ddf3=(_0x38f7c9=this['cbs'])['onend'])||void 0x0===_0x36ddf3||_0x36ddf3['call'](_0x38f7c9);}['reset'](){var _0x3e3a1e,_0x59a48b,_0x47160f,_0x888896;null===(_0x59a48b=(_0x3e3a1e=this['cbs'])['onreset'])||void 0x0===_0x59a48b||_0x59a48b['call'](_0x3e3a1e),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0x888896=(_0x47160f=this['cbs'])['onparserinit'])||void 0x0===_0x888896||_0x888896['call'](_0x47160f,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}['parseComplete'](_0x3a36b8){this['reset'](),this['end'](_0x3a36b8);}['getSlice'](_0x569e53,_0x34ba67){for(;_0x569e53-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0xafb0c3=this['buffers'][0x0]['slice'](_0x569e53-this['bufferOffset'],_0x34ba67-this['bufferOffset']);for(;_0x34ba67-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0xafb0c3+=this['buffers'][0x0]['slice'](0x0,_0x34ba67-this['bufferOffset']);return _0xafb0c3;}['shiftBuffer'](){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}['write'](_0x1716e4){var _0x4c2a09,_0x70dba9;this['ended']?null===(_0x70dba9=(_0x4c2a09=this['cbs'])['onerror'])||void 0x0===_0x70dba9||_0x70dba9['call'](_0x4c2a09,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x1716e4),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x1716e4),this['writeIndex']++));}['end'](_0x516a47){var _0x4dd5ce,_0x14ccb9;this['ended']?null===(_0x14ccb9=(_0x4dd5ce=this['cbs'])['onerror'])||void 0x0===_0x14ccb9||_0x14ccb9['call'](_0x4dd5ce,new Error('.end()\x20after\x20done!')):(_0x516a47&&this['write'](_0x516a47),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'](_0x52067c){this['write'](_0x52067c);}['done'](_0x4bd03c){this['end'](_0x4bd03c);}};var ElementType;function _0x3cc869(_0x5e4307){return _0x5e4307['type']===ElementType['Tag']||_0x5e4307['type']===ElementType['Script']||_0x5e4307['type']===ElementType['Style'];}!function(_0x20e7f2){_0x20e7f2['Root']='root',_0x20e7f2['Text']='text',_0x20e7f2['Directive']='directive',_0x20e7f2['Comment']='comment',_0x20e7f2['Script']='script',_0x20e7f2['Style']='style',_0x20e7f2['Tag']='tag',_0x20e7f2['CDATA']='cdata',_0x20e7f2['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'],_0x4666b5=ElementType['Tag'],_0x13f639=ElementType['CDATA'],Doctype=ElementType['Doctype'];let _0x524da2=class{constructor(){this['parent']=null,this['prev']=null,this['next']=null,this['startIndex']=null,this['endIndex']=null;}get['parentNode'](){return this['parent'];}set['parentNode'](_0x1d62cc){this['parent']=_0x1d62cc;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x5ae3b2){this['prev']=_0x5ae3b2;}get['nextSibling'](){return this['next'];}set['nextSibling'](_0xea9e93){this['next']=_0xea9e93;}['cloneNode'](_0x347b4b=!0x1){return _0x3c6bb4(this,_0x347b4b);}};class DataNode extends _0x524da2{constructor(_0x1c408e){super(),this['data']=_0x1c408e;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x236d38){this['data']=_0x236d38;}}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(_0x21aa56,_0x38dab3){super(_0x38dab3),this['name']=_0x21aa56,this['type']=ElementType['Directive'];}get['nodeType'](){return 0x1;}}class NodeWithChildren extends _0x524da2{constructor(_0x2e99d1){super(),this['children']=_0x2e99d1;}get['firstChild'](){var _0x1acfcb;return null!==(_0x1acfcb=this['children'][0x0])&&void 0x0!==_0x1acfcb?_0x1acfcb:null;}get['lastChild'](){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0xad25e3){this['children']=_0xad25e3;}}class _0x589e18 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(_0x18c118,_0x5757c2,_0x2db30e=[],_0x1f3b73='script'===_0x18c118?ElementType['Script']:'style'===_0x18c118?ElementType['Style']:ElementType['Tag']){super(_0x2db30e),this['name']=_0x18c118,this['attribs']=_0x5757c2,this['type']=_0x1f3b73;}get['nodeType'](){return 0x1;}get['tagName'](){return this['name'];}set['tagName'](_0x2a9718){this['name']=_0x2a9718;}get['attributes'](){return Object['keys'](this['attribs'])['map'](_0x2b8d9f=>{var _0x444447,_0x312176;return{'name':_0x2b8d9f,'value':this['attribs'][_0x2b8d9f],'namespace':null===(_0x444447=this['x-attribsNamespace'])||void 0x0===_0x444447?void 0x0:_0x444447[_0x2b8d9f],'prefix':null===(_0x312176=this['x-attribsPrefix'])||void 0x0===_0x312176?void 0x0:_0x312176[_0x2b8d9f]};});}};function _0x1542c6(_0x2b4b95){return _0x3cc869(_0x2b4b95);}function _0x5c8788(_0x19f0c0){return _0x19f0c0['type']===ElementType['CDATA'];}function isText$1(_0x281a9e){return _0x281a9e['type']===ElementType['Text'];}function isComment(_0x19ea16){return _0x19ea16['type']===ElementType['Comment'];}function isDirective(_0xbb3caf){return _0xbb3caf['type']===ElementType['Directive'];}function isDocument(_0x5ba24b){return _0x5ba24b['type']===ElementType['Root'];}function _0x47aaa8(_0x573eb8){return Object['prototype']['hasOwnProperty']['call'](_0x573eb8,'children');}function _0x3c6bb4(_0x31189a,_0xb8a9e5=!0x1){let _0x5ed2b0;if(isText$1(_0x31189a))_0x5ed2b0=new Text$1(_0x31189a['data']);else{if(isComment(_0x31189a))_0x5ed2b0=new Comment$1(_0x31189a['data']);else{if(_0x1542c6(_0x31189a)){const _0x26fffd=_0xb8a9e5?_0x15b39f(_0x31189a['children']):[],_0x54aa6c=new Element$3(_0x31189a['name'],{..._0x31189a['attribs']},_0x26fffd);_0x26fffd['forEach'](_0x262dcb=>_0x262dcb['parent']=_0x54aa6c),null!=_0x31189a['namespace']&&(_0x54aa6c['namespace']=_0x31189a['namespace']),_0x31189a['x-attribsNamespace']&&(_0x54aa6c['x-attribsNamespace']={..._0x31189a['x-attribsNamespace']}),_0x31189a['x-attribsPrefix']&&(_0x54aa6c['x-attribsPrefix']={..._0x31189a['x-attribsPrefix']}),_0x5ed2b0=_0x54aa6c;}else{if(_0x5c8788(_0x31189a)){const _0x1d0e00=_0xb8a9e5?_0x15b39f(_0x31189a['children']):[],_0x1c0a54=new _0x589e18(_0x1d0e00);_0x1d0e00['forEach'](_0x44f2f4=>_0x44f2f4['parent']=_0x1c0a54),_0x5ed2b0=_0x1c0a54;}else{if(isDocument(_0x31189a)){const _0x3c935b=_0xb8a9e5?_0x15b39f(_0x31189a['children']):[],_0x303b65=new Document(_0x3c935b);_0x3c935b['forEach'](_0x6aff77=>_0x6aff77['parent']=_0x303b65),_0x31189a['x-mode']&&(_0x303b65['x-mode']=_0x31189a['x-mode']),_0x5ed2b0=_0x303b65;}else{if(!isDirective(_0x31189a))throw new Error('Not\x20implemented\x20yet:\x20'+_0x31189a['type']);{const _0x2b5859=new ProcessingInstruction(_0x31189a['name'],_0x31189a['data']);null!=_0x31189a['x-name']&&(_0x2b5859['x-name']=_0x31189a['x-name'],_0x2b5859['x-publicId']=_0x31189a['x-publicId'],_0x2b5859['x-systemId']=_0x31189a['x-systemId']),_0x5ed2b0=_0x2b5859;}}}}}}return _0x5ed2b0['startIndex']=_0x31189a['startIndex'],_0x5ed2b0['endIndex']=_0x31189a['endIndex'],null!=_0x31189a['sourceCodeLocation']&&(_0x5ed2b0['sourceCodeLocation']=_0x31189a['sourceCodeLocation']),_0x5ed2b0;}function _0x15b39f(_0xbf3705){const _0x1bed70=_0xbf3705['map'](_0x112536=>_0x3c6bb4(_0x112536,!0x0));for(let _0x5cff84=0x1;_0x5cff84<_0x1bed70['length'];_0x5cff84++)_0x1bed70[_0x5cff84]['prev']=_0x1bed70[_0x5cff84-0x1],_0x1bed70[_0x5cff84-0x1]['next']=_0x1bed70[_0x5cff84];return _0x1bed70;}const defaultOpts={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};class _0x3f7f1c{constructor(_0x137b30,_0x4b83f8,_0x37c95e){this['dom']=[],this['root']=new Document(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0x4b83f8&&(_0x37c95e=_0x4b83f8,_0x4b83f8=defaultOpts),'object'==typeof _0x137b30&&(_0x4b83f8=_0x137b30,_0x137b30=void 0x0),this['callback']=null!=_0x137b30?_0x137b30:null,this['options']=null!=_0x4b83f8?_0x4b83f8:defaultOpts,this['elementCB']=null!=_0x37c95e?_0x37c95e:null;}['onparserinit'](_0xd67145){this['parser']=_0xd67145;}['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'](_0x4232be){this['handleCallback'](_0x4232be);}['onclosetag'](){this['lastNode']=null;const _0x377248=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0x377248['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0x377248);}['onopentag'](_0x2ec8bd,_0x1e494d){const _0x15258c=this['options']['xmlMode']?ElementType['Tag']:void 0x0,_0x433a0d=new Element$3(_0x2ec8bd,_0x1e494d,void 0x0,_0x15258c);this['addNode'](_0x433a0d),this['tagStack']['push'](_0x433a0d);}['ontext'](_0x2d197c){const {lastNode:_0xafb754}=this;if(_0xafb754&&_0xafb754['type']===ElementType['Text'])_0xafb754['data']+=_0x2d197c,this['options']['withEndIndices']&&(_0xafb754['endIndex']=this['parser']['endIndex']);else{const _0x3f7fec=new Text$1(_0x2d197c);this['addNode'](_0x3f7fec),this['lastNode']=_0x3f7fec;}}['oncomment'](_0x5c4231){if(this['lastNode']&&this['lastNode']['type']===ElementType['Comment'])return void(this['lastNode']['data']+=_0x5c4231);const _0x2dd7e7=new Comment$1(_0x5c4231);this['addNode'](_0x2dd7e7),this['lastNode']=_0x2dd7e7;}['oncommentend'](){this['lastNode']=null;}['oncdatastart'](){const _0x89a9ae=new Text$1(''),_0x261047=new _0x589e18([_0x89a9ae]);this['addNode'](_0x261047),_0x89a9ae['parent']=_0x261047,this['lastNode']=_0x89a9ae;}['oncdataend'](){this['lastNode']=null;}['onprocessinginstruction'](_0x1da698,_0x4cee33){const _0x5d41b2=new ProcessingInstruction(_0x1da698,_0x4cee33);this['addNode'](_0x5d41b2);}['handleCallback'](_0x2705f4){if('function'==typeof this['callback'])this['callback'](_0x2705f4,this['dom']);else{if(_0x2705f4)throw _0x2705f4;}}['addNode'](_0x2b329d){const _0x33ab77=this['tagStack'][this['tagStack']['length']-0x1],_0x100989=_0x33ab77['children'][_0x33ab77['children']['length']-0x1];this['options']['withStartIndices']&&(_0x2b329d['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0x2b329d['endIndex']=this['parser']['endIndex']),_0x33ab77['children']['push'](_0x2b329d),_0x100989&&(_0x2b329d['prev']=_0x100989,_0x100989['next']=_0x2b329d),_0x2b329d['parent']=_0x33ab77,this['lastNode']=null;}}const _0x5aa5b0=/["&'<>$\x80-\uFFFF]/g,_0x3bf1d1=new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0x27,'&apos;'],[0x3c,'&lt;'],[0x3e,'&gt;']]),getCodePoint=null!=String['prototype']['codePointAt']?(_0x92d0c9,_0x554034)=>_0x92d0c9['codePointAt'](_0x554034):(_0x1a1c62,_0x3b3662)=>0xd800==(0xfc00&_0x1a1c62['charCodeAt'](_0x3b3662))?0x400*(_0x1a1c62['charCodeAt'](_0x3b3662)-0xd800)+_0x1a1c62['charCodeAt'](_0x3b3662+0x1)-0xdc00+0x10000:_0x1a1c62['charCodeAt'](_0x3b3662);function _0x189fbf(_0x124d28){let _0x3d7906,_0x381453='',_0x3d6a4b=0x0;for(;null!==(_0x3d7906=_0x5aa5b0['exec'](_0x124d28));){const _0x1c8b67=_0x3d7906['index'],_0x23f885=_0x124d28['charCodeAt'](_0x1c8b67),_0x237787=_0x3bf1d1['get'](_0x23f885);void 0x0!==_0x237787?(_0x381453+=_0x124d28['substring'](_0x3d6a4b,_0x1c8b67)+_0x237787,_0x3d6a4b=_0x1c8b67+0x1):(_0x381453+=_0x124d28['substring'](_0x3d6a4b,_0x1c8b67)+'&#x'+getCodePoint(_0x124d28,_0x1c8b67)['toString'](0x10)+';',_0x3d6a4b=_0x5aa5b0['lastIndex']+=Number(0xd800==(0xfc00&_0x23f885)));}return _0x381453+_0x124d28['substr'](_0x3d6a4b);}function getEscaper(_0x51617b,_0x4b48dd){return function(_0x1e6289){let _0xe20ab6,_0x584c97=0x0,_0x1bec75='';for(;_0xe20ab6=_0x51617b['exec'](_0x1e6289);)_0x584c97!==_0xe20ab6['index']&&(_0x1bec75+=_0x1e6289['substring'](_0x584c97,_0xe20ab6['index'])),_0x1bec75+=_0x4b48dd['get'](_0xe20ab6[0x0]['charCodeAt'](0x0)),_0x584c97=_0xe20ab6['index']+0x1;return _0x1bec75+_0x1e6289['substring'](_0x584c97);};}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'](_0x3c2b32=>[_0x3c2b32['toLowerCase'](),_0x3c2b32])),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'](_0x438010=>[_0x438010['toLowerCase'](),_0x438010])),unencodedElements=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function replaceQuotes(_0xc6e522){return _0xc6e522['replace'](/"/g,'&quot;');}function formatAttributes(_0xb361d6,_0x38eabb){var _0x5ce05e;if(!_0xb361d6)return;const _0xb1a742=!0x1===(null!==(_0x5ce05e=_0x38eabb['encodeEntities'])&&void 0x0!==_0x5ce05e?_0x5ce05e:_0x38eabb['decodeEntities'])?replaceQuotes:_0x38eabb['xmlMode']||'utf8'!==_0x38eabb['encodeEntities']?_0x189fbf:escapeAttribute;return Object['keys'](_0xb361d6)['map'](_0x3522c7=>{var _0x5a6127,_0x31f6ac;const _0x51a259=null!==(_0x5a6127=_0xb361d6[_0x3522c7])&&void 0x0!==_0x5a6127?_0x5a6127:'';return'foreign'===_0x38eabb['xmlMode']&&(_0x3522c7=null!==(_0x31f6ac=attributeNames['get'](_0x3522c7))&&void 0x0!==_0x31f6ac?_0x31f6ac:_0x3522c7),_0x38eabb['emptyAttrs']||_0x38eabb['xmlMode']||''!==_0x51a259?_0x3522c7+'=\x22'+_0xb1a742(_0x51a259)+'\x22':_0x3522c7;})['join']('\x20');}const _0x4be818=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']);function _0x38467c(_0xb84581,_0x206cdb={}){const _0xee6b98='length'in _0xb84581?_0xb84581:[_0xb84581];let _0x817538='';for(let _0x412c21=0x0;_0x412c21<_0xee6b98['length'];_0x412c21++)_0x817538+=_0x2ef4ee(_0xee6b98[_0x412c21],_0x206cdb);return _0x817538;}function _0x2ef4ee(_0x225a8b,_0x2a7c5d){switch(_0x225a8b['type']){case Root:return _0x38467c(_0x225a8b['children'],_0x2a7c5d);case Doctype:case Directive:return renderDirective(_0x225a8b);case Comment$2:return renderComment(_0x225a8b);case _0x13f639:return renderCdata(_0x225a8b);case Script:case Style:case _0x4666b5:return _0x93c708(_0x225a8b,_0x2a7c5d);case Text$2:return renderText(_0x225a8b,_0x2a7c5d);}}const foreignModeIntegrationPoints=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),foreignElements=new Set(['svg','math']);function _0x93c708(_0x18d5d8,_0x40e5c1){var _0x147978;'foreign'===_0x40e5c1['xmlMode']&&(_0x18d5d8['name']=null!==(_0x147978=elementNames['get'](_0x18d5d8['name']))&&void 0x0!==_0x147978?_0x147978:_0x18d5d8['name'],_0x18d5d8['parent']&&foreignModeIntegrationPoints['has'](_0x18d5d8['parent']['name'])&&(_0x40e5c1={..._0x40e5c1,'xmlMode':!0x1})),!_0x40e5c1['xmlMode']&&foreignElements['has'](_0x18d5d8['name'])&&(_0x40e5c1={..._0x40e5c1,'xmlMode':'foreign'});let _0xfc5650='<'+_0x18d5d8['name'];const _0x4d09c0=formatAttributes(_0x18d5d8['attribs'],_0x40e5c1);return _0x4d09c0&&(_0xfc5650+='\x20'+_0x4d09c0),0x0===_0x18d5d8['children']['length']&&(_0x40e5c1['xmlMode']?!0x1!==_0x40e5c1['selfClosingTags']:_0x40e5c1['selfClosingTags']&&_0x4be818['has'](_0x18d5d8['name']))?(_0x40e5c1['xmlMode']||(_0xfc5650+='\x20'),_0xfc5650+='/>'):(_0xfc5650+='>',_0x18d5d8['children']['length']>0x0&&(_0xfc5650+=_0x38467c(_0x18d5d8['children'],_0x40e5c1)),!_0x40e5c1['xmlMode']&&_0x4be818['has'](_0x18d5d8['name'])||(_0xfc5650+='</'+_0x18d5d8['name']+'>')),_0xfc5650;}function renderDirective(_0x5a0a33){return'<'+_0x5a0a33['data']+'>';}function renderText(_0x4577d8,_0x374c38){var _0x1901de;let _0x1e08bd=_0x4577d8['data']||'';return!0x1===(null!==(_0x1901de=_0x374c38['encodeEntities'])&&void 0x0!==_0x1901de?_0x1901de:_0x374c38['decodeEntities'])||!_0x374c38['xmlMode']&&_0x4577d8['parent']&&unencodedElements['has'](_0x4577d8['parent']['name'])||(_0x1e08bd=_0x374c38['xmlMode']||'utf8'!==_0x374c38['encodeEntities']?_0x189fbf(_0x1e08bd):escapeText(_0x1e08bd)),_0x1e08bd;}function renderCdata(_0x5a502f){return'<![CDATA['+_0x5a502f['children'][0x0]['data']+']]>';}function renderComment(_0x593262){return'<!--'+_0x593262['data']+'-->';}function textContent(_0x53061d){return Array['isArray'](_0x53061d)?_0x53061d['map'](textContent)['join'](''):_0x47aaa8(_0x53061d)&&!isComment(_0x53061d)?textContent(_0x53061d['children']):isText$1(_0x53061d)?_0x53061d['data']:'';}function getChildren$1(_0x10e1ec){return _0x47aaa8(_0x10e1ec)?_0x10e1ec['children']:[];}function getParent(_0x1ef2aa){return _0x1ef2aa['parent']||null;}function removeElement(_0x1bfb39){if(_0x1bfb39['prev']&&(_0x1bfb39['prev']['next']=_0x1bfb39['next']),_0x1bfb39['next']&&(_0x1bfb39['next']['prev']=_0x1bfb39['prev']),_0x1bfb39['parent']){const _0x128986=_0x1bfb39['parent']['children'],_0x5d5326=_0x128986['lastIndexOf'](_0x1bfb39);_0x5d5326>=0x0&&_0x128986['splice'](_0x5d5326,0x1);}_0x1bfb39['next']=null,_0x1bfb39['prev']=null,_0x1bfb39['parent']=null;}function replaceElement(_0x57659b,_0x4091c0){const _0x38442b=_0x4091c0['prev']=_0x57659b['prev'];_0x38442b&&(_0x38442b['next']=_0x4091c0);const _0x38a81b=_0x4091c0['next']=_0x57659b['next'];_0x38a81b&&(_0x38a81b['prev']=_0x4091c0);const _0x22144c=_0x4091c0['parent']=_0x57659b['parent'];if(_0x22144c){const _0x468069=_0x22144c['children'];_0x468069[_0x468069['lastIndexOf'](_0x57659b)]=_0x4091c0,_0x57659b['parent']=null;}}function _0x419fd3(_0x25ab80,_0x50a626){if(removeElement(_0x50a626),_0x50a626['next']=null,_0x50a626['parent']=_0x25ab80,_0x25ab80['children']['push'](_0x50a626)>0x1){const _0x1b225c=_0x25ab80['children'][_0x25ab80['children']['length']-0x2];_0x1b225c['next']=_0x50a626,_0x50a626['prev']=_0x1b225c;}else _0x50a626['prev']=null;}function _0x43915e(_0x157702,_0x1c5f7f){removeElement(_0x1c5f7f);const {parent:_0x592c55}=_0x157702,_0x5e167f=_0x157702['next'];if(_0x1c5f7f['next']=_0x5e167f,_0x1c5f7f['prev']=_0x157702,_0x157702['next']=_0x1c5f7f,_0x1c5f7f['parent']=_0x592c55,_0x5e167f){if(_0x5e167f['prev']=_0x1c5f7f,_0x592c55){const _0x16337f=_0x592c55['children'];_0x16337f['splice'](_0x16337f['lastIndexOf'](_0x5e167f),0x0,_0x1c5f7f);}}else _0x592c55&&_0x592c55['children']['push'](_0x1c5f7f);}function _0x3d183a(_0x8129ab,_0x21920d){if(removeElement(_0x21920d),_0x21920d['parent']=_0x8129ab,_0x21920d['prev']=null,0x1!==_0x8129ab['children']['unshift'](_0x21920d)){const _0x1da53b=_0x8129ab['children'][0x1];_0x1da53b['prev']=_0x21920d,_0x21920d['next']=_0x1da53b;}else _0x21920d['next']=null;}function _0x320e1a(_0x529d5b,_0x1c45ce){removeElement(_0x1c45ce);const {parent:_0x4771af}=_0x529d5b;if(_0x4771af){const _0x35e709=_0x4771af['children'];_0x35e709['splice'](_0x35e709['indexOf'](_0x529d5b),0x0,_0x1c45ce);}_0x529d5b['prev']&&(_0x529d5b['prev']['next']=_0x1c45ce),_0x1c45ce['parent']=_0x4771af,_0x1c45ce['prev']=_0x529d5b['prev'],_0x1c45ce['next']=_0x529d5b,_0x529d5b['prev']=_0x1c45ce;}function _0x337aa1(_0x2cff27,_0x58869a,_0x2fe20a,_0x446baa){const _0xd6d0d7=[],_0x35fa21=[Array['isArray'](_0x58869a)?_0x58869a:[_0x58869a]],_0x19ce18=[0x0];for(;;){if(_0x19ce18[0x0]>=_0x35fa21[0x0]['length']){if(0x1===_0x19ce18['length'])return _0xd6d0d7;_0x35fa21['shift'](),_0x19ce18['shift']();continue;}const _0xe7bf48=_0x35fa21[0x0][_0x19ce18[0x0]++];if(_0x2cff27(_0xe7bf48)&&(_0xd6d0d7['push'](_0xe7bf48),--_0x446baa<=0x0))return _0xd6d0d7;_0x47aaa8(_0xe7bf48)&&_0xe7bf48['children']['length']>0x0&&(_0x19ce18['unshift'](0x0),_0x35fa21['unshift'](_0xe7bf48['children']));}}function _0x80f5df(_0x32ef53,_0x1b74eb,_0x4c601f=!0x0){const _0x37c237=Array['isArray'](_0x1b74eb)?_0x1b74eb:[_0x1b74eb];for(let _0x37268c=0x0;_0x37268c<_0x37c237['length'];_0x37268c++){const _0x3d3ad0=_0x37c237[_0x37268c];if(_0x1542c6(_0x3d3ad0)&&_0x32ef53(_0x3d3ad0))return _0x3d3ad0;if(_0x4c601f&&_0x47aaa8(_0x3d3ad0)&&_0x3d3ad0['children']['length']>0x0){const _0x3d4262=_0x80f5df(_0x32ef53,_0x3d3ad0['children'],!0x0);if(_0x3d4262)return _0x3d4262;}}return null;}function _0x33d7b2(_0x555fab,_0x31c043){const _0x2dab18=[],_0x2fc52e=[Array['isArray'](_0x31c043)?_0x31c043:[_0x31c043]],_0x3f15da=[0x0];for(;;){if(_0x3f15da[0x0]>=_0x2fc52e[0x0]['length']){if(0x1===_0x2fc52e['length'])return _0x2dab18;_0x2fc52e['shift'](),_0x3f15da['shift']();continue;}const _0x1a768c=_0x2fc52e[0x0][_0x3f15da[0x0]++];_0x1542c6(_0x1a768c)&&_0x555fab(_0x1a768c)&&_0x2dab18['push'](_0x1a768c),_0x47aaa8(_0x1a768c)&&_0x1a768c['children']['length']>0x0&&(_0x3f15da['unshift'](0x0),_0x2fc52e['unshift'](_0x1a768c['children']));}}function parseDocument(_0x1a57a7,_0x287b82){const _0x104b92=new _0x3f7f1c(void 0x0,_0x287b82);return new _0x38e62b(_0x104b92,_0x287b82)['end'](_0x1a57a7),_0x104b92['root'];}function _0x22d7d3(_0x4d47ef){return parseDocument(_0x4d47ef);}function _0x405168(_0x2d5e5f){return _0x38467c(_0x2d5e5f);}function findByAttribute(_0x2565ae,_0x12e6dc,_0x52a38c){const _0x5378a9=null!==_0x12e6dc?_0x372671=>_0x372671['attribs'][_0x2565ae]===_0x12e6dc:_0x1d624f=>Boolean(_0x1d624f['attribs'][_0x2565ae]);return _0x80f5df(_0x3d2d77=>_0x1542c6(_0x3d2d77)&&_0x5378a9(_0x3d2d77),_0x52a38c);}function findAllByAttribute(_0x2e05c3,_0x353079,_0x59f370){const _0x543480=null!==_0x353079?_0x4ea531=>_0x4ea531['attribs'][_0x2e05c3]===_0x353079:_0x38744b=>Boolean(_0x38744b['attribs'][_0x2e05c3]);return _0x33d7b2(_0x341f7b=>_0x1542c6(_0x341f7b)&&_0x543480(_0x341f7b),_0x59f370);}function findAllComments(_0x435f27){return _0x337aa1(_0xd729cb=>isComment(_0xd729cb),_0x435f27,!0x0,0x1/0x0);}function getAttribute(_0x250f12,_0x4f2e61){return _0x250f12&&_0x1542c6(_0x250f12)?_0x250f12['attribs'][_0x4f2e61]:null;}function setAttribute(_0x468e4d,_0x1c596c,_0x28fa01){_0x1542c6(_0x468e4d)&&(null===_0x28fa01?delete _0x468e4d['attribs'][_0x1c596c]:_0x468e4d['attribs'][_0x1c596c]=_0x28fa01);}function insertElement(_0x5b0e5d,_0x31fa31,_0x2e89ad){const _0x9b9d07=_0x31fa31['cloneNode'](!0x0);'beforebegin'===_0x2e89ad?_0x320e1a(_0x5b0e5d,_0x9b9d07):'afterbegin'===_0x2e89ad?_0x3d183a(_0x5b0e5d,_0x9b9d07):'beforeend'===_0x2e89ad?_0x419fd3(_0x5b0e5d,_0x9b9d07):'afterend'===_0x2e89ad&&_0x43915e(_0x5b0e5d,_0x9b9d07);}function moveElement(_0x108458,_0x5eef17){removeElement(_0x108458),replaceElement(_0x5eef17,_0x108458);}function _0x5326b5(_0x3d0d15){return _0x3d0d15['cloneNode'](!0x0);}function getParents(_0x493f1d){const _0x435542=[];let _0x309d23=_0x493f1d;for(;_0x309d23;)_0x309d23=getParent(_0x309d23),_0x309d23&&_0x435542['push'](_0x309d23);return _0x435542;}function _0x3df5a1(_0x26fac8){return _0x26fac8['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function _0x5a4d52(_0x2ea7e2,_0x16ed3d){return _0x3df5a1(_0x405168(_0x2ea7e2))===_0x3df5a1(_0x405168(_0x16ed3d));}function getNodeNestingLevel(_0x4b7da6){let _0x234fd4=0x0;for(;_0x4b7da6['parentNode'];)_0x4b7da6=_0x4b7da6['parentNode'],_0x234fd4++;return _0x234fd4;}function removeElementsAfter(_0x2235d5){const _0x34fd1a=[];let _0x37ecc9=_0x2235d5['nextSibling'];for(;_0x37ecc9;)_0x34fd1a['push'](_0x37ecc9),_0x37ecc9=_0x37ecc9['nextSibling'];_0x34fd1a['forEach'](_0x494d87=>{removeElement(_0x494d87);});}const _0x4bba60=-0x1,_0x109ab8=0x0,_0x30cb43=0x1,_0x4c11c2=0x2,_0x3bd913=0x3,_0x212021=0x4,_0x5332f7=0x5,_0x2d72a4=0x6,_0x341724=0x7,_0xc594df=0x8,_0x595da9='object'==typeof self?self:globalThis,_0x2a9fe4=(_0x319e61,_0x27a9a3)=>{const _0x3a6480=(_0x245b52,_0x13a201)=>(_0x319e61['set'](_0x13a201,_0x245b52),_0x245b52),_0x11449a=_0x4f89ba=>{if(_0x319e61['has'](_0x4f89ba))return _0x319e61['get'](_0x4f89ba);const [_0x462e84,_0x105c56]=_0x27a9a3[_0x4f89ba];switch(_0x462e84){case _0x109ab8:case _0x4bba60:return _0x3a6480(_0x105c56,_0x4f89ba);case _0x30cb43:{const _0x14e847=_0x3a6480([],_0x4f89ba);for(const _0xab91e2 of _0x105c56)_0x14e847['push'](_0x11449a(_0xab91e2));return _0x14e847;}case _0x4c11c2:{const _0x1abaa3=_0x3a6480({},_0x4f89ba);for(const [_0x38816b,_0x2b85b5]of _0x105c56)_0x1abaa3[_0x11449a(_0x38816b)]=_0x11449a(_0x2b85b5);return _0x1abaa3;}case _0x3bd913:return _0x3a6480(new Date(_0x105c56),_0x4f89ba);case _0x212021:{const {source:_0x3661ec,flags:_0x5c629c}=_0x105c56;return _0x3a6480(new RegExp(_0x3661ec,_0x5c629c),_0x4f89ba);}case _0x5332f7:{const _0xc33e9a=_0x3a6480(new Map(),_0x4f89ba);for(const [_0x37a746,_0x3c27fc]of _0x105c56)_0xc33e9a['set'](_0x11449a(_0x37a746),_0x11449a(_0x3c27fc));return _0xc33e9a;}case _0x2d72a4:{const _0x142d5f=_0x3a6480(new Set(),_0x4f89ba);for(const _0x267ad1 of _0x105c56)_0x142d5f['add'](_0x11449a(_0x267ad1));return _0x142d5f;}case _0x341724:{const {name:_0x48e002,message:_0x3f5436}=_0x105c56;return _0x3a6480(new _0x595da9[_0x48e002](_0x3f5436),_0x4f89ba);}case _0xc594df:return _0x3a6480(BigInt(_0x105c56),_0x4f89ba);case'BigInt':return _0x3a6480(Object(BigInt(_0x105c56)),_0x4f89ba);case'ArrayBuffer':return _0x3a6480(new Uint8Array(_0x105c56)['buffer'],_0x105c56);case'DataView':{const {buffer:_0x485830}=new Uint8Array(_0x105c56);return _0x3a6480(new DataView(_0x485830),_0x105c56);}}return _0x3a6480(new _0x595da9[_0x462e84](_0x105c56),_0x4f89ba);};return _0x11449a;},_0x1c034d=_0x73b859=>_0x2a9fe4(new Map(),_0x73b859)(0x0),_0x38b623='',{toString:toString$2}={},{keys:_0x19a695}=Object,typeOf=_0x349b6a=>{const _0x402fcb=typeof _0x349b6a;if('object'!==_0x402fcb||!_0x349b6a)return[_0x109ab8,_0x402fcb];const _0x5fc569=toString$2['call'](_0x349b6a)['slice'](0x8,-0x1);switch(_0x5fc569){case'Array':return[_0x30cb43,_0x38b623];case'Object':return[_0x4c11c2,_0x38b623];case'Date':return[_0x3bd913,_0x38b623];case'RegExp':return[_0x212021,_0x38b623];case'Map':return[_0x5332f7,_0x38b623];case'Set':return[_0x2d72a4,_0x38b623];case'DataView':return[_0x30cb43,_0x5fc569];}return _0x5fc569['includes']('Array')?[_0x30cb43,_0x5fc569]:_0x5fc569['includes']('Error')?[_0x341724,_0x5fc569]:[_0x4c11c2,_0x5fc569];},_0x5d66eb=([_0x2c7d77,_0x3dda82])=>_0x2c7d77===_0x109ab8&&('function'===_0x3dda82||'symbol'===_0x3dda82),_0x4ba7ee=(_0x8084ad,_0x31057b,_0x2abde0,_0x197640)=>{const _0x21e591=(_0xcead45,_0x29eb75)=>{const _0x55ee92=_0x197640['push'](_0xcead45)-0x1;return _0x2abde0['set'](_0x29eb75,_0x55ee92),_0x55ee92;},_0x2ac672=_0x40e891=>{if(_0x2abde0['has'](_0x40e891))return _0x2abde0['get'](_0x40e891);let [_0x116024,_0x487001]=typeOf(_0x40e891);switch(_0x116024){case _0x109ab8:{let _0x563e16=_0x40e891;switch(_0x487001){case'bigint':_0x116024=_0xc594df,_0x563e16=_0x40e891['toString']();break;case'function':case'symbol':if(_0x8084ad)throw new TypeError('unable\x20to\x20serialize\x20'+_0x487001);_0x563e16=null;break;case'undefined':return _0x21e591([_0x4bba60],_0x40e891);}return _0x21e591([_0x116024,_0x563e16],_0x40e891);}case _0x30cb43:{if(_0x487001){let _0x5d4416=_0x40e891;return'DataView'===_0x487001?_0x5d4416=new Uint8Array(_0x40e891['buffer']):'ArrayBuffer'===_0x487001&&(_0x5d4416=new Uint8Array(_0x40e891)),_0x21e591([_0x487001,[..._0x5d4416]],_0x40e891);}const _0x5ea8f0=[],_0x4b18d6=_0x21e591([_0x116024,_0x5ea8f0],_0x40e891);for(const _0x54c953 of _0x40e891)_0x5ea8f0['push'](_0x2ac672(_0x54c953));return _0x4b18d6;}case _0x4c11c2:{if(_0x487001)switch(_0x487001){case'BigInt':return _0x21e591([_0x487001,_0x40e891['toString']()],_0x40e891);case'Boolean':case'Number':case'String':return _0x21e591([_0x487001,_0x40e891['valueOf']()],_0x40e891);}if(_0x31057b&&'toJSON'in _0x40e891)return _0x2ac672(_0x40e891['toJSON']());const _0x1a23a3=[],_0x39562c=_0x21e591([_0x116024,_0x1a23a3],_0x40e891);for(const _0x33fb5b of _0x19a695(_0x40e891))!_0x8084ad&&_0x5d66eb(typeOf(_0x40e891[_0x33fb5b]))||_0x1a23a3['push']([_0x2ac672(_0x33fb5b),_0x2ac672(_0x40e891[_0x33fb5b])]);return _0x39562c;}case _0x3bd913:return _0x21e591([_0x116024,_0x40e891['toISOString']()],_0x40e891);case _0x212021:{const {source:_0x39699a,flags:_0x3969f2}=_0x40e891;return _0x21e591([_0x116024,{'source':_0x39699a,'flags':_0x3969f2}],_0x40e891);}case _0x5332f7:{const _0x156b84=[],_0x18d209=_0x21e591([_0x116024,_0x156b84],_0x40e891);for(const [_0x5c2a38,_0x46eec2]of _0x40e891)(_0x8084ad||!_0x5d66eb(typeOf(_0x5c2a38))&&!_0x5d66eb(typeOf(_0x46eec2)))&&_0x156b84['push']([_0x2ac672(_0x5c2a38),_0x2ac672(_0x46eec2)]);return _0x18d209;}case _0x2d72a4:{const _0x33e453=[],_0x2c3ee4=_0x21e591([_0x116024,_0x33e453],_0x40e891);for(const _0x47be31 of _0x40e891)!_0x8084ad&&_0x5d66eb(typeOf(_0x47be31))||_0x33e453['push'](_0x2ac672(_0x47be31));return _0x2c3ee4;}}const {message:_0x24e665}=_0x40e891;return _0x21e591([_0x116024,{'name':_0x487001,'message':_0x24e665}],_0x40e891);};return _0x2ac672;},_0x189592=(_0x246887,{json:_0x3dc32e,lossy:_0x2be52c}={})=>{const _0x446557=[];return _0x4ba7ee(!(_0x3dc32e||_0x2be52c),!!_0x3dc32e,new Map(),_0x446557)(_0x246887),_0x446557;};var structuredClone$1='function'==typeof structuredClone?(_0x56ac2f,_0x428b5e)=>_0x428b5e&&('json'in _0x428b5e||'lossy'in _0x428b5e)?_0x1c034d(_0x189592(_0x56ac2f,_0x428b5e)):structuredClone(_0x56ac2f):(_0x518f96,_0x1dffbe)=>_0x1c034d(_0x189592(_0x518f96,_0x1dffbe));const pointEnd=point('end'),pointStart=point('start');function point(_0xddcf3d){return function(_0x1354fa){const _0x41df7f=_0x1354fa&&_0x1354fa['position']&&_0x1354fa['position'][_0xddcf3d]||{};if('number'==typeof _0x41df7f['line']&&_0x41df7f['line']>0x0&&'number'==typeof _0x41df7f['column']&&_0x41df7f['column']>0x0)return{'line':_0x41df7f['line'],'column':_0x41df7f['column'],'offset':'number'==typeof _0x41df7f['offset']&&_0x41df7f['offset']>-0x1?_0x41df7f['offset']:void 0x0};};}function position(_0x4f0149){const _0x54c0b9=pointStart(_0x4f0149),_0x3296fe=pointEnd(_0x4f0149);if(_0x54c0b9&&_0x3296fe)return{'start':_0x54c0b9,'end':_0x3296fe};}const _0x33429b=['ariaDescribedBy','ariaLabel','ariaLabelledBy'],defaultSchema={'ancestors':{'tbody':['table'],'td':['table'],'th':['table'],'thead':['table'],'tfoot':['table'],'tr':['table']},'attributes':{'a':[..._0x33429b,'dataFootnoteBackref','dataFootnoteRef',['className','data-footnote-backref'],'href'],'blockquote':['cite'],'code':[['className',/^language-./]],'del':['cite'],'div':['itemScope','itemType'],'dl':[..._0x33429b],'h2':[['className','sr-only']],'img':[..._0x33429b,'longDesc','src'],'input':[['disabled',!0x0],['type','checkbox']],'ins':['cite'],'li':[['className','task-list-item']],'ol':[..._0x33429b,['className','contains-task-list']],'q':['cite'],'section':['dataFootnotes',['className','footnotes']],'source':['srcSet'],'summary':[..._0x33429b],'table':[..._0x33429b],'ul':[..._0x33429b,['className','contains-task-list']],'*':['abbr','accept','acceptCharset','accessKey','action','align','alt','axis','border','cellPadding','cellSpacing','char','charOff','charSet','checked','clear','colSpan','color','cols','compact','coords','dateTime','dir','encType','frame','hSpace','headers','height','hrefLang','htmlFor','id','isMap','itemProp','label','lang','maxLength','media','method','multiple','name','noHref','noShade','noWrap','open','prompt','readOnly','rev','rowSpan','rows','rules','scope','selected','shape','size','span','start','summary','tabIndex','title','useMap','vAlign','value','width']},'clobber':['ariaDescribedBy','ariaLabelledBy','id','name'],'clobberPrefix':'user-content-','protocols':{'cite':['http','https'],'href':['http','https','irc','ircs','mailto','xmpp'],'longDesc':['http','https'],'src':['http','https']},'required':{'input':{'disabled':!0x0,'type':'checkbox'}},'strip':['script'],'tagNames':['a','b','blockquote','br','code','dd','del','details','div','dl','dt','em','h1','h2','h3','h4','h5','h6','hr','i','img','input','ins','kbd','li','ol','p','picture','pre','q','rp','rt','ruby','s','samp','section','source','span','strike','strong','sub','summary','sup','table','tbody','td','tfoot','th','thead','tr','tt','ul','var']},_0x2f9e68={}['hasOwnProperty'];function sanitize$1(_0x5da9de,_0x544fd3){let _0x5b9b00={'type':'root','children':[]};const _0xd73dad=transform({'schema':_0x544fd3?{...defaultSchema,..._0x544fd3}:defaultSchema,'stack':[]},_0x5da9de);return _0xd73dad&&(Array['isArray'](_0xd73dad)?0x1===_0xd73dad['length']?_0x5b9b00=_0xd73dad[0x0]:_0x5b9b00['children']=_0xd73dad:_0x5b9b00=_0xd73dad),_0x5b9b00;}function transform(_0x100ada,_0x10bf76){if(_0x10bf76&&'object'==typeof _0x10bf76){const _0x2fb0d9=_0x10bf76;switch('string'==typeof _0x2fb0d9['type']?_0x2fb0d9['type']:''){case'comment':return comment$1(_0x100ada,_0x2fb0d9);case'doctype':return doctype(_0x100ada,_0x2fb0d9);case'element':return element(_0x100ada,_0x2fb0d9);case'root':return root(_0x100ada,_0x2fb0d9);case'text':return text(_0x100ada,_0x2fb0d9);}}}function comment$1(_0x4a10b4,_0x1bdf64){if(_0x4a10b4['schema']['allowComments']){const _0x37faba='string'==typeof _0x1bdf64['value']?_0x1bdf64['value']:'',_0x581dbf=_0x37faba['indexOf']('-->'),_0x4de8f9={'type':'comment','value':_0x581dbf<0x0?_0x37faba:_0x37faba['slice'](0x0,_0x581dbf)};return patch(_0x4de8f9,_0x1bdf64),_0x4de8f9;}}function doctype(_0x12331f,_0x2eab70){if(_0x12331f['schema']['allowDoctypes']){const _0x2bf439={'type':'doctype'};return patch(_0x2bf439,_0x2eab70),_0x2bf439;}}function element(_0xe9d31c,_0x3ea23b){const _0x346324='string'==typeof _0x3ea23b['tagName']?_0x3ea23b['tagName']:'';_0xe9d31c['stack']['push'](_0x346324);const _0x5797d4=_0x15888b(_0xe9d31c,_0x3ea23b['children']),_0x4942b8=properties$1(_0xe9d31c,_0x3ea23b['properties']);_0xe9d31c['stack']['pop']();let _0x1e71e5=!0x1;if(_0x346324&&'*'!==_0x346324&&(!_0xe9d31c['schema']['tagNames']||_0xe9d31c['schema']['tagNames']['includes'](_0x346324))&&(_0x1e71e5=!0x0,_0xe9d31c['schema']['ancestors']&&_0x2f9e68['call'](_0xe9d31c['schema']['ancestors'],_0x346324))){const _0x25a69d=_0xe9d31c['schema']['ancestors'][_0x346324];let _0x4ca9ce=-0x1;for(_0x1e71e5=!0x1;++_0x4ca9ce<_0x25a69d['length'];)_0xe9d31c['stack']['includes'](_0x25a69d[_0x4ca9ce])&&(_0x1e71e5=!0x0);}if(!_0x1e71e5)return _0xe9d31c['schema']['strip']&&!_0xe9d31c['schema']['strip']['includes'](_0x346324)?_0x5797d4:void 0x0;const _0x48292b={'type':'element','tagName':_0x346324,'properties':_0x4942b8,'children':_0x5797d4};return patch(_0x48292b,_0x3ea23b),_0x48292b;}function root(_0x4ecc56,_0x467820){const _0x478a08={'type':'root','children':_0x15888b(_0x4ecc56,_0x467820['children'])};return patch(_0x478a08,_0x467820),_0x478a08;}function text(_0x35817b,_0x5a03f4){const _0x4295d6={'type':'text','value':'string'==typeof _0x5a03f4['value']?_0x5a03f4['value']:''};return patch(_0x4295d6,_0x5a03f4),_0x4295d6;}function _0x15888b(_0x6accab,_0x13de70){const _0xe3e6c6=[];if(Array['isArray'](_0x13de70)){const _0x6c7020=_0x13de70;let _0x286138=-0x1;for(;++_0x286138<_0x6c7020['length'];){const _0x35dcd7=transform(_0x6accab,_0x6c7020[_0x286138]);_0x35dcd7&&(Array['isArray'](_0x35dcd7)?_0xe3e6c6['push'](..._0x35dcd7):_0xe3e6c6['push'](_0x35dcd7));}}return _0xe3e6c6;}function properties$1(_0x223789,_0x492d5c){const _0x2c6bc5=_0x223789['stack'][_0x223789['stack']['length']-0x1],_0x228aae=_0x223789['schema']['attributes'],_0x8df3d0=_0x223789['schema']['required'],_0x437bdb=_0x228aae&&_0x2f9e68['call'](_0x228aae,_0x2c6bc5)?_0x228aae[_0x2c6bc5]:void 0x0,_0x424941=_0x228aae&&_0x2f9e68['call'](_0x228aae,'*')?_0x228aae['*']:void 0x0,_0x381447=_0x492d5c&&'object'==typeof _0x492d5c?_0x492d5c:{},_0x3eaccf={};let _0x21566a;for(_0x21566a in _0x381447)if(_0x2f9e68['call'](_0x381447,_0x21566a)){const _0x3a4942=_0x381447[_0x21566a];let _0x58f2e0=propertyValue(_0x223789,findDefinition(_0x437bdb,_0x21566a),_0x21566a,_0x3a4942);null==_0x58f2e0&&(_0x58f2e0=propertyValue(_0x223789,findDefinition(_0x424941,_0x21566a),_0x21566a,_0x3a4942)),null!=_0x58f2e0&&(_0x3eaccf[_0x21566a]=_0x58f2e0);}if(_0x8df3d0&&_0x2f9e68['call'](_0x8df3d0,_0x2c6bc5)){const _0x58361b=_0x8df3d0[_0x2c6bc5];for(_0x21566a in _0x58361b)_0x2f9e68['call'](_0x58361b,_0x21566a)&&!_0x2f9e68['call'](_0x3eaccf,_0x21566a)&&(_0x3eaccf[_0x21566a]=_0x58361b[_0x21566a]);}return _0x3eaccf;}function propertyValue(_0x338d3c,_0x51a715,_0x392ef4,_0x383a43){return _0x51a715?Array['isArray'](_0x383a43)?propertyValueMany(_0x338d3c,_0x51a715,_0x392ef4,_0x383a43):propertyValuePrimitive(_0x338d3c,_0x51a715,_0x392ef4,_0x383a43):void 0x0;}function propertyValueMany(_0x42b79d,_0x3945cf,_0x3d49d3,_0x7f1bae){let _0x19ec97=-0x1;const _0x3255bb=[];for(;++_0x19ec97<_0x7f1bae['length'];){const _0x25ffdb=propertyValuePrimitive(_0x42b79d,_0x3945cf,_0x3d49d3,_0x7f1bae[_0x19ec97]);'number'!=typeof _0x25ffdb&&'string'!=typeof _0x25ffdb||_0x3255bb['push'](_0x25ffdb);}return _0x3255bb;}function propertyValuePrimitive(_0x52bfa9,_0x1af4a0,_0x43d0ec,_0x33ff70){if(('boolean'==typeof _0x33ff70||'number'==typeof _0x33ff70||'string'==typeof _0x33ff70)&&safeProtocol(_0x52bfa9,_0x43d0ec,_0x33ff70)){if('object'==typeof _0x1af4a0&&_0x1af4a0['length']>0x1){let _0x80f4ab=!0x1,_0x245078=0x0;for(;++_0x245078<_0x1af4a0['length'];){const _0x134933=_0x1af4a0[_0x245078];if(_0x134933&&'object'==typeof _0x134933&&'flags'in _0x134933){if(_0x134933['test'](String(_0x33ff70))){_0x80f4ab=!0x0;break;}}else{if(_0x134933===_0x33ff70){_0x80f4ab=!0x0;break;}}}if(!_0x80f4ab)return;}return _0x52bfa9['schema']['clobber']&&_0x52bfa9['schema']['clobberPrefix']&&_0x52bfa9['schema']['clobber']['includes'](_0x43d0ec)?_0x52bfa9['schema']['clobberPrefix']+_0x33ff70:_0x33ff70;}}function safeProtocol(_0x3ff35c,_0x1a758f,_0x4ea9b6){const _0x6bcafd=_0x3ff35c['schema']['protocols']&&_0x2f9e68['call'](_0x3ff35c['schema']['protocols'],_0x1a758f)?_0x3ff35c['schema']['protocols'][_0x1a758f]:void 0x0;if(!_0x6bcafd||0x0===_0x6bcafd['length'])return!0x0;const _0x260b46=String(_0x4ea9b6),_0xd017ca=_0x260b46['indexOf'](':'),_0x506fbc=_0x260b46['indexOf']('?'),_0x4f5859=_0x260b46['indexOf']('#'),_0x31b1ed=_0x260b46['indexOf']('/');if(_0xd017ca<0x0||_0x31b1ed>-0x1&&_0xd017ca>_0x31b1ed||_0x506fbc>-0x1&&_0xd017ca>_0x506fbc||_0x4f5859>-0x1&&_0xd017ca>_0x4f5859)return!0x0;let _0x5de9fc=-0x1;for(;++_0x5de9fc<_0x6bcafd['length'];){const _0x893704=_0x6bcafd[_0x5de9fc];if(_0xd017ca===_0x893704['length']&&_0x260b46['slice'](0x0,_0x893704['length'])===_0x893704)return!0x0;}return!0x1;}function patch(_0xc23120,_0x331233){const _0x56f8eb=position(_0x331233);_0x331233['data']&&(_0xc23120['data']=structuredClone$1(_0x331233['data'])),_0x56f8eb&&(_0xc23120['position']=_0x56f8eb);}function findDefinition(_0x47e6f7,_0x5b41c0){let _0x38739b,_0x4e400c=-0x1;if(_0x47e6f7)for(;++_0x4e400c<_0x47e6f7['length'];){const _0x2e22ca=_0x47e6f7[_0x4e400c],_0x131a99='string'==typeof _0x2e22ca?_0x2e22ca:_0x2e22ca[0x0];if(_0x131a99===_0x5b41c0)return _0x2e22ca;'data*'===_0x131a99&&(_0x38739b=_0x2e22ca);}if(_0x5b41c0['length']>0x4&&'data'===_0x5b41c0['slice'](0x0,0x4)['toLowerCase']())return _0x38739b;}function rehypeSanitize(_0x5f0e44){return function(_0x165e34){return sanitize$1(_0x165e34,_0x5f0e44);};}class _0x28f22f extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_m2html'];constructor(){super();const _0x1a3b0e=Object['entries'](ckeditor5['MarkdownGfmMdToHtmlDefaultPlugins']),_0x608b96=_0x1a3b0e['findIndex'](([_0x118aa1])=>'rehypeDomRaw'===_0x118aa1);if(-0x1===_0x608b96)throw new ckeditor5['CKEditorError']('ai-response-parser-unable-to-set-up-parser');_0x1a3b0e['splice'](_0x608b96+0x1,0x0,['rehypeSanitize',rehypeSanitize]),this['_m2html']=new ckeditor5['MarkdownGfmMdToHtml']({'plugins':Object['fromEntries'](_0x1a3b0e)});}['convertMarkdownToHTML'](_0x5c2a5e){const _0x286371=this['_m2html']['parse'](_0x5c2a5e);return this['parseAndNormalizeHTML'](_0x286371);}['parseAndNormalizeHTML'](_0x527a52){return this['_parseHTML'](_0x527a52);}['_parseHTML'](_0x4bbaa5){const _0x1af1ea=_0x22d7d3('<dummy>'+_0x4bbaa5['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/<[^>]*?$/g,'')+'</dummy>');return _0x1af1ea['children']=_0x1af1ea['children'][0x0]['children'],_0x1af1ea;}}class _0x2b50e0 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_generateUid'];['_touchedNodesState']={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};['_existingDataIds']=new Set();constructor(_0x1e5619){super(),this['_generateUid']=_0x1e5619||ckeditor5['uid'];}['merge'](_0xc05c7a,_0x4fc111,_0x476e1a){const _0x14f880=_0x5326b5(_0xc05c7a);if(0x0===_0x4fc111['childNodes']['length']){const _0x5ad6bc=[];return findAllByAttribute('data-id','new-element',_0x14f880)['forEach'](_0x5e479a=>{const _0x34fea3=this['_generateUid']();setAttribute(_0x5e479a,'data-id',_0x34fea3),_0x5ad6bc['push'](_0x34fea3);}),this['_removeSpecialComments'](_0x14f880),{'parsedContent':_0x14f880,'newNodeIds':_0x5ad6bc,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x476e1a&&_0x476e1a['markUnstableElements']&&this['_markLastTagElementUnstable'](_0x14f880),this['_touchedNodesState']['newIds']=[],this['_touchedNodesState']['modifiedIds']=[],this['_touchedNodesState']['removedIds']=[],this['_touchedNodesState']['invalidIds']=[],this['_touchedNodesState']['lastTouchedId']=null,this['_existingDataIds']=new Set(findAllByAttribute('data-id',null,_0x4fc111)['map'](_0x40aa51=>getAttribute(_0x40aa51,'data-id'))['filter'](_0x2e7f13=>!!_0x2e7f13));let _0x41e1c7=-0x1,_0x583d0e=!0x1;const _0x4f94ca=_0x14f880['childNodes'],_0x189892=Array['from'](_0x4f94ca)['filter'](_0x454d71=>!(0x3===_0x454d71['nodeType']&&''===_0x405168(_0x454d71)['trim']())),_0x354c6c=_0x189892['length'];for(let _0x14d69b=0x0;_0x14d69b<_0x354c6c;_0x14d69b++){const _0x39279e=_0x189892[_0x14d69b],_0x14e2f0=_0x189892[_0x14d69b+0x1];if(this['_isNewNode'](_0x39279e)){if(-0x1===_0x41e1c7&&(_0x41e1c7=_0x14d69b),this['_markWrappedElements'](_0x39279e),!this['_isNewNode'](_0x14e2f0)){const [_0x54f5a5,_0xd74fcd]=this['_findReferenceNode'](_0x39279e,_0x583d0e,_0x4fc111);if(_0x54f5a5){const _0xe1acf5=Array['from'](_0x189892)['slice'](_0x41e1c7,_0x14d69b+0x1);this['_insertNodes'](_0x54f5a5,_0xe1acf5,_0xd74fcd),_0x41e1c7=-0x1;}}}else{if(this['_isExistingContentComment'](_0x39279e))_0x583d0e=!0x0;else{if(this['_isExistingNode'](_0x39279e)){const _0xf6b117=getAttribute(_0x39279e,'data-id');if(_0xf6b117&&this['_existingDataIds']['has'](_0xf6b117)){const _0x301b50=findByAttribute('data-id',_0xf6b117,_0x4fc111);this['_replaceNode'](_0x301b50,_0x39279e);}if(this['_touchedNodesState']['removedIds']['includes'](_0xf6b117)){const _0xa37241=this['_touchedNodesState']['removedIds']['indexOf'](_0xf6b117);this['_touchedNodesState']['removedIds']['splice'](_0xa37241,0x1);}}else{if(this['_isDelNode'](_0x39279e)){const _0xc0c8da=getAttribute(_0x39279e,'data-id');this['_touchedNodesState']['modifiedIds']['includes'](_0xc0c8da)||this['_storeDeletedElementIds'](_0x39279e);}}}}}for(const _0x238502 of this['_touchedNodesState']['removedIds']){const _0x5f4144=findByAttribute('data-id',_0x238502,_0x4fc111);if(_0x5f4144){if(_0x476e1a&&_0x476e1a['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0x238502;const _0x1c263c=_0x476e1a['replaceRemovedWith']['cloneNode'](!0x0);setAttribute(_0x1c263c,'data-id',_0x238502),setAttribute(_0x1c263c,'data-removed','true'),replaceElement(_0x5f4144,_0x1c263c);}else removeElement(_0x5f4144);}}if(findAllByAttribute('data-wrapped-id',null,_0x4fc111)['forEach'](_0x58180f=>{const _0x38e379=findByAttribute('data-id',getAttribute(_0x58180f,'data-wrapped-id'),_0x4fc111);_0x38e379&&moveElement(_0x38e379,_0x58180f);}),findAllByAttribute('data-id','new-element',_0x4fc111)['forEach'](_0x47cb21=>{const _0x435627=this['_getUid'](_0x47cb21);setAttribute(_0x47cb21,'data-id',_0x435627),this['_touchedNodesState']['newIds']['push'](_0x435627);}),this['_removeSpecialComments'](_0x4fc111),_0x476e1a&&_0x476e1a['markUnstableElements']&&this['_markUnstableElements'](_0x4fc111,_0x476e1a['markUnstableElementsDepth']||0x0),_0x476e1a&&_0x476e1a['cutAfterLastChange']&&this['_touchedNodesState']['lastTouchedId']){let _0x3bd92a=findByAttribute('data-id',this['_touchedNodesState']['lastTouchedId'],_0x4fc111);for(;_0x3bd92a;)removeElementsAfter(_0x3bd92a),_0x3bd92a=_0x3bd92a['parentNode'];}return{'parsedContent':_0x4fc111,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds']};}['_insertNodes'](_0x348a9e,_0x69867d,_0x5e2e11){for(const _0x1cba37 of _0x69867d){const _0x3c1eb2=this['_getUid'](_0x1cba37);setAttribute(_0x1cba37,'data-id',_0x3c1eb2),this['_touchedNodesState']['newIds']['push'](_0x3c1eb2),this['_touchedNodesState']['lastTouchedId']=_0x3c1eb2;}const _0x5d2bfc='afterbegin'===_0x5e2e11||'afterend'===_0x5e2e11?_0x69867d['reverse']():_0x69867d;for(const _0x4f01d9 of _0x5d2bfc)insertElement(_0x348a9e,_0x4f01d9,_0x5e2e11);}['_replaceNode'](_0x4d4bab,_0x4f6336){if(!_0x4d4bab)return;if(_0x5a4d52(_0x4d4bab,_0x4f6336))return;const _0x5962bf=this['_getUid'](_0x4d4bab);setAttribute(_0x4f6336,'data-id',_0x5962bf),this['_touchedNodesState']['modifiedIds']['push'](_0x5962bf),this['_touchedNodesState']['lastTouchedId']=_0x5962bf,replaceElement(_0x4d4bab,_0x4f6336['cloneNode'](!0x0));}['_findReferenceNode'](_0x327163,_0x5e65d3,_0xc2d733){const _0x3f5749=this['_findPrevElementWithDataId'](_0x327163,!0x1);if(_0x3f5749){const _0x205f91=this['_getNodeDataId'](_0x3f5749),_0x136e5a=findByAttribute('data-id',_0x205f91,_0xc2d733);if(_0x136e5a)return[_0x136e5a,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x205f91);}const _0x39ffec=this['_findNextElementWithDataId'](_0x327163,!0x1);if(_0x39ffec){const _0x309977=this['_getNodeDataId'](_0x39ffec),_0x57cf7a=findByAttribute('data-id',_0x309977,_0xc2d733);if(_0x57cf7a)return[_0x57cf7a,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0x309977);}return _0x5e65d3?_0x327163['nextSibling']?this['_findFallbackReferenceNode'](_0x327163,_0xc2d733):[_0xc2d733['childNodes'][_0xc2d733['childNodes']['length']-0x1],'afterend']:[_0xc2d733['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x48fa99,_0x506f2a){const _0x18df26=[],_0x8eb1d9=this['_findPrevElementWithDataId'](_0x48fa99,!0x0);if(_0x8eb1d9){const _0x1300a3=findByAttribute('data-id',this['_getNodeDataId'](_0x8eb1d9),_0x506f2a);_0x1300a3&&_0x18df26['push']([_0x1300a3,'afterend']);}const _0x1c0f99=this['_findNextElementWithDataId'](_0x48fa99,!0x0);if(_0x1c0f99){const _0x2f3212=findByAttribute('data-id',this['_getNodeDataId'](_0x1c0f99),_0x506f2a);_0x2f3212&&_0x18df26['push']([_0x2f3212,'beforebegin']);}if(_0x18df26['length']>0x1)return getNodeNestingLevel(_0x18df26[0x0][0x0])<=getNodeNestingLevel(_0x18df26[0x1][0x0])?_0x18df26[0x0]:_0x18df26[0x1];return 0x1===_0x18df26['length']?_0x18df26[0x0]:[_0x506f2a['lastChild'],'afterend'];}['_findNextElementWithDataId'](_0x1b876b,_0x298fbb){let _0x431899=_0x1b876b['nextSibling'],_0x44bf7d=null,_0x37f3e8=!0x1;for(;_0x431899;){if(isComment(_0x431899)){if(this['_isDelNode'](_0x431899)&&(_0x44bf7d=_0x431899),this['_isExistingContentComment'](_0x431899)&&_0x298fbb&&!_0x37f3e8){_0x37f3e8=!0x0,_0x431899=_0x431899['nextSibling'];continue;}break;}const _0x56a24a=getAttribute(_0x431899,'data-id');if(_0x56a24a&&'new-element'!==_0x56a24a&&this['_existingDataIds']['has'](_0x56a24a)){_0x44bf7d=_0x431899;break;}_0x431899=_0x431899['nextSibling'];}return _0x44bf7d;}['_findPrevElementWithDataId'](_0x1b1ef9,_0x5424f6){let _0x4595cd=_0x1b1ef9['previousSibling'],_0x25eaf1=null,_0x53debe=!0x1;for(;_0x4595cd;){if(isComment(_0x4595cd)){if(this['_isDelNode'](_0x4595cd)&&(_0x25eaf1=_0x4595cd),this['_isExistingContentComment'](_0x4595cd)&&_0x5424f6&&!_0x53debe){_0x53debe=!0x0,_0x4595cd=_0x4595cd['previousSibling'];continue;}break;}const _0x49cb40=getAttribute(_0x4595cd,'data-id');if(_0x49cb40&&'new-element'!==_0x49cb40&&this['_existingDataIds']['has'](_0x49cb40)){_0x25eaf1=_0x4595cd;break;}_0x4595cd=_0x4595cd['previousSibling'];}return _0x25eaf1;}['_markWrappedElements'](_0x2e4ea7){_0x1542c6(_0x2e4ea7)&&findAllByAttribute('data-id',null,_0x2e4ea7)['forEach'](_0xda3e63=>{this['_isExistingNode'](_0xda3e63)&&!this['_hasWrappedParent'](_0xda3e63)&&(setAttribute(_0xda3e63,'data-wrapped-id',getAttribute(_0xda3e63,'data-id')),setAttribute(_0xda3e63,'data-id',null));});}['_getNodeDataId'](_0x24c6ec){if(!_0x24c6ec)return null;if(_0x1542c6(_0x24c6ec))return getAttribute(_0x24c6ec,'data-id');if(isComment(_0x24c6ec)){const _0x1740e9=_0x405168(_0x24c6ec)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0x1740e9&&_0x1740e9[0x1])return _0x1740e9[0x1];}return null;}['_storeDeletedElementIds'](_0x261f61){if(isComment(_0x261f61)){const _0x2aa6cf=_0x405168(_0x261f61)['match'](/removed[\s*-]data-id="([^"]+)"/);_0x2aa6cf&&_0x2aa6cf[0x1]&&this['_touchedNodesState']['removedIds']['push'](_0x2aa6cf[0x1]);}}['_getUid'](_0x30ea4d){return this['_isExistingNode'](_0x30ea4d)?getAttribute(_0x30ea4d,'data-id'):this['_generateUid']();}['_removeSpecialComments'](_0x51ecf7){findAllComments(_0x51ecf7)['filter'](_0x464c8d=>this['_isDelNode'](_0x464c8d)||this['_isExistingContentComment'](_0x464c8d))['forEach'](_0x34b9ee=>{removeElement(_0x34b9ee);});}['_markLastTagElementUnstable'](_0x19b5c6){const _0x532ea8=_0x19b5c6['childNodes'],_0x2b84fb=_0x532ea8[_0x532ea8['length']-0x1];_0x2b84fb&&_0x1542c6(_0x2b84fb)&&setAttribute(_0x2b84fb,'data-unstable','true');}['_markUnstableElements'](_0x5082e6,_0x4db2db){const _0x11aef6=findByAttribute('data-unstable','true',_0x5082e6);if(!_0x11aef6)return;const _0x4ad08a=getParents(_0x11aef6)['slice'](0x0,-0x1),_0x21949e=_0x4ad08a['length'];let _0x286d05=_0x11aef6;if(_0x21949e>_0x4db2db){let _0x404e78=_0x21949e,_0x2e5dce=null;for(;_0x404e78>_0x4db2db&&_0x404e78>=0x0;)_0x404e78--,_0x2e5dce=_0x4ad08a[_0x404e78];_0x2e5dce&&(_0x286d05=_0x2e5dce,setAttribute(_0x11aef6,'data-unstable',null),setAttribute(_0x2e5dce,'data-unstable','true'));}else{if(_0x21949e<_0x4db2db){let _0x521017=_0x21949e,_0x28cb9d=_0x11aef6;for(;_0x521017<_0x4db2db;){const _0x6183f4=_0x28cb9d['childNodes']['filter'](_0xf3a174=>_0x1542c6(_0xf3a174));if(0x0===_0x6183f4['length'])break;_0x521017++,_0x28cb9d=_0x6183f4[_0x6183f4['length']-0x1];}_0x28cb9d&&(_0x286d05=_0x28cb9d,setAttribute(_0x11aef6,'data-unstable',null),setAttribute(_0x28cb9d,'data-unstable','true'));}}let _0x31e35d=_0x286d05;for(;_0x31e35d;){for(;_0x31e35d['nextSibling'];)_0x31e35d=_0x31e35d['nextSibling'],_0x1542c6(_0x31e35d)&&setAttribute(_0x31e35d,'data-unstable','true');_0x31e35d=_0x31e35d['parentNode'];}}['_isNewNode'](_0x26e4ad){return Boolean('new-element'===getAttribute(_0x26e4ad,'data-id'));}['_isExistingNode'](_0x469e90){return Boolean((getAttribute(_0x469e90,'data-id')||'')['length']>0x0&&'new-element'!==getAttribute(_0x469e90,'data-id'));}['_isDelNode'](_0x2ebae7){return!!_0x2ebae7&&Boolean(isComment(_0x2ebae7)&&_0x405168(_0x2ebae7)['match'](/removed[\s*-]data-id="[^"]+"/));}['_hasWrappedParent'](_0x896d4e){let _0x30fcc4=_0x896d4e['parentNode'];for(;_0x30fcc4;){if(getAttribute(_0x30fcc4,'data-wrapped-id'))return!0x0;_0x30fcc4=_0x30fcc4['parentNode'];}return!0x1;}['_isExistingContentComment'](_0x4ca3cb){return Boolean(isComment(_0x4ca3cb)&&_0x405168(_0x4ca3cb)['match'](/\s*existing[\s*-](content|document)\s*/g));}}class _0x5e6402 extends ckeditor5['ContextPlugin']{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x6bdee,_0x1da5e3){let _0x5986f7;if(_0x1da5e3||(_0x1da5e3=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x1da5e3?_0x5986f7=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x5986f7=this['context']['editors']['find'](_0x36fc88=>_0x36fc88['config']['get']('collaboration.channelId')==_0x1da5e3)),!_0x5986f7)throw new ckeditor5['CKEditorError']('permissions-set-permissions-invalid-channel-id',null);const _0x319f41=_0x5986f7['plugins'],_0x40f3f2=_0x319f41['has']('CommentsRepository')?_0x319f41['get']('CommentsRepository'):void 0x0,_0x15cc46=_0x319f41['has']('CommentsOnly')&&_0x319f41['get']('CommentsOnly'),_0x3eef7f=_0x6bdee['includes']('document:write'),_0x432dd9=_0x6bdee['includes']('comment:modify_all'),_0x3c9837=_0x6bdee['includes']('comment:admin'),_0x15f818=_0x6bdee['includes']('comment:write'),_0x5de8d5=_0x15f818||_0x3c9837,_0x312c45=_0x5de8d5||_0x432dd9,_0x4b0100=_0x3eef7f||_0x5de8d5;(_0x15cc46&&(_0x15cc46['isEnabled']=!_0x3eef7f&&_0x312c45),_0x5986f7 instanceof ckeditor5['Editor'])&&(!(_0x3eef7f||_0x312c45&&_0x40f3f2)?_0x5986f7['enableReadOnlyMode']('no-permissions'):_0x5986f7['disableReadOnlyMode']('no-permissions'));if(_0x40f3f2){_0x40f3f2['setPermissions']({'admin':_0x3c9837,'modifyAll':_0x432dd9,'write':_0x15f818,'resolve':_0x4b0100},_0x1da5e3);const _0x5c91de=_0x5986f7 instanceof ckeditor5['Editor']&&_0x5986f7['commands']['get']('addCommentThread');_0x5c91de&&(_0x5de8d5?_0x5c91de['clearForceDisabled']('noPermissions'):_0x5c91de['forceDisabled']('noPermissions'));}}}function getTranslation$h(_0x51603d,_0x2eb882){const t=_0x51603d['t'];switch(_0x2eb882){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 _0x9327be 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[_0x5e6402];}constructor(_0x51fca0){super(_0x51fca0),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new ckeditor5['Collection'](),this['_locale']=_0x51fca0['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:_0x40bed9,name:_0x190148,..._0x557361}){if(!_0x40bed9||'string'!=typeof _0x40bed9)throw new ckeditor5['CKEditorError']('users-add-invalid-id');if(this['users']['has'](_0x40bed9))throw new ckeditor5['CKEditorError']('users-add-duplicated-id',null,{'id':_0x40bed9});const _0x34a124=this['context']['config']['get']('users.getInitialsCallback'),_0x79465d={..._0x557361,'id':_0x40bed9,'name':_0x544bc6(this['_locale'],_0x190148),'color':this['_getNextColor']()};_0x79465d['name']=_0x544bc6(this['_locale'],_0x79465d['name']);const _0x5b0d79=new _0x57672c(_0x79465d,_0x34a124);return this['users']['add'](_0x5b0d79),_0x5b0d79;}['getUser'](_0x2a6c9f){return this['users']['get'](_0x2a6c9f);}['useAnonymousUser'](){const _0x417a8e=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x417a8e);}['defineMe'](_0x24a76c){if(this['_myId'])throw new ckeditor5['CKEditorError']('users-me-already-defined',null);const _0x3c97c3=this['getUser'](_0x24a76c);if(!_0x3c97c3)throw new ckeditor5['CKEditorError']('users-me-missing-user',null);this['_myId']=_0x24a76c,_0x3c97c3['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x17f3fd=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x17f3fd&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0xcc9957=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0xcc9957,'name':getTranslation$h(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}let _0x57672c=class{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x22b048,_0x4dc57f){this['id']=_0x22b048['id'],this['color']=_0x22b048['color'],this['name']=_0x22b048['name'],this['initials']=_0x4dc57f?_0x4dc57f(this['name']):this['_computeInitials'](),this['avatar']=_0x22b048['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x54edb2=this['name']['split']('\x20')['filter'](_0x1b3e1b=>/^[\p{Letter}]/u['test'](_0x1b3e1b));return 0x1===_0x54edb2['length']?this['_getInitial'](_0x54edb2[0x0]):0x0===_0x54edb2['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x54edb2[0x0])+this['_getInitial'](_0x54edb2[_0x54edb2['length']-0x1]);}['_getInitial'](_0x493b39){return String['fromCodePoint'](_0x493b39['codePointAt'](0x0))['toUpperCase']();}};function _0x544bc6(_0x132a49,_0x4f4a0d=''){return''==(_0x4f4a0d=_0x4f4a0d['trim']())?getTranslation$h(_0x132a49,'Anonymous'):_0x4f4a0d;}class CollaborationUserColor{['_id'];constructor(_0x4cea4f){this['_id']=_0x4cea4f;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}['getColorVariable'](){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}['getColorAlphaVariable'](){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}}class _0x5c412d extends ckeditor5['View']{['name'];['notificationView'];constructor(_0x3e289f,_0x319eb7,_0x59c50d){super(_0x3e289f),this['name']=_0x319eb7['name'],this['notificationView']=null;const _0x204cc6=['ck','ck-user'],_0x238027=['ck','ck-user__img'];if(_0x319eb7['isAnonymous']&&_0x238027['push']('ck-user__anonymous'),!_0x319eb7['isAnonymous']&&_0x319eb7['isMe']&&_0x204cc6['push']('ck-user_me'),_0x319eb7['avatar']&&_0x238027['push']('ck-user__avatar'),_0x59c50d){const _0x4a444b=new ckeditor5['IconView']();_0x4a444b['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x4a444b['content']=ckeditor5['IconNotification'],this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x59c50d},'children':[_0x4a444b]};}const _0x26b4f9=[{'tag':'div','attributes':{'class':_0x238027,'style':{'background-image':_0x319eb7['avatar']?'url(\x27'+_0x319eb7['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x319eb7['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x319eb7['name']},'children':[{'text':_0x319eb7['initials']}]}];this['notificationView']&&_0x26b4f9['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x204cc6,'data-user-id':_0x319eb7['id']},'children':_0x26b4f9});}}class AriaDescriptionView extends ckeditor5['View']{['id'];constructor(_0x461efb,_0x403641){super(_0x461efb),this['id']='ck-aria-description-'+ckeditor5['uid'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x403641}]});}}class LateFocusButtonView extends ckeditor5['ButtonView']{['render'](){super['render'](),delayFocusUntilMouseup(this);}}class LateFocusDropdownButtonView extends ckeditor5['DropdownButtonView']{['render'](){super['render'](),delayFocusUntilMouseup(this);}}function delayFocusUntilMouseup(_0x4d5414){_0x4d5414['listenTo'](_0x4d5414['element'],'mousedown',(_0x2178b5,_0x2b3f0b)=>{_0x2b3f0b['stopPropagation'](),_0x2b3f0b['preventDefault']();}),_0x4d5414['listenTo'](_0x4d5414['element'],'mouseup',()=>{_0x4d5414['element']['focus']();});}function splitSuggestionMarkerName(_0x50da6a){const _0x234f03=_0x50da6a['split'](':');return{'group':_0x234f03[0x0],'type':_0x234f03[0x1],'subType':_0x234f03['length']>=0x5?_0x234f03[0x2]:null,'id':_0x234f03['length']<0x5?_0x234f03[0x2]:_0x234f03[0x3],'authorId':_0x234f03['length']<0x5?_0x234f03[0x3]:_0x234f03[0x4],'markerCount':0x6==_0x234f03['length']?_0x234f03[0x5]:null};}function fixElementSuggestionRange(_0x19eedb,_0x465a62){const _0x3834b0=_0x19eedb['end']['nodeBefore'];if(_0x3834b0&&_0x3834b0['is']('element')&&_0x465a62['schema']['isBlock'](_0x3834b0)&&!_0x465a62['schema']['isObject'](_0x3834b0)){const _0x4823ba=_0x465a62['createPositionAt'](_0x3834b0,'end');return _0x465a62['createRange'](_0x19eedb['start'],_0x4823ba);}return _0x19eedb;}class SuggestionsConversionAlignment extends ckeditor5['Plugin']{['afterInit'](){const _0x14b193=this['editor'];if(!_0x14b193['plugins']['has']('AlignmentEditing'))return;_0x14b193['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const basicStylesPlugins$1=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends ckeditor5['Plugin']{['afterInit'](){const _0x5cbb52=this['editor'],_0x2e148d=_0x5cbb52['plugins']['get']('SuggestionsConversion');for(const _0x3dbb7e of basicStylesPlugins$1){if(!_0x5cbb52['plugins']['has'](_0x3dbb7e))continue;const _0x4b7b29=_0x3dbb7e['slice'](0x0,-0x7)['toLowerCase']();_0x2e148d['registerInlineAttribute'](_0x4b7b29);}}}class SuggestionsConversionBookmark extends ckeditor5['Plugin']{['afterInit'](){const _0x258439=this['editor'],_0x51fbbe=_0x258439['plugins']['get']('SuggestionsConversion');_0x258439['plugins']['has']('BookmarkEditing')&&_0x51fbbe['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 _0x1a137e=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x114539,commandName:_0xd9da02}of fontPlugins$1)this['editor']['plugins']['has'](_0x114539)&&_0x1a137e['registerInlineAttribute'](_0xd9da02);}}class SuggestionsConversionFootnotes extends ckeditor5['Plugin']{['afterInit'](){const {editor:_0x3e3643}=this;if(!_0x3e3643['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x5874b3=_0x3e3643['plugins']['get']('SuggestionsConversion');_0x5874b3['registerBlockAttribute']('footnotesListStyle'),_0x5874b3['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionHighlight extends ckeditor5['Plugin']{['afterInit'](){const _0x2bfc3c=this['editor'];if(!_0x2bfc3c['plugins']['has']('HighlightEditing'))return;_0x2bfc3c['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0xe7e6ed=this['editor'];if(!_0xe7e6ed['plugins']['has']('HtmlEmbed'))return;_0xe7e6ed['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends ckeditor5['Plugin']{['afterInit'](){const _0x17227a=this['editor'];if(!_0x17227a['plugins']['has']('ImageEditing'))return;const _0x88df18=_0x17227a['plugins']['get']('SuggestionsConversion');_0x88df18['registerBlockAttribute']('src'),_0x17227a['plugins']['has']('ImageResize')&&_0x88df18['registerBlockAttribute']('resizedWidth'),_0x17227a['plugins']['has']('ImageTextAlternativeEditing')&&_0x88df18['registerBlockAttribute']('alt'),_0x17227a['plugins']['has']('PictureEditing')&&_0x88df18['registerBlockAttribute']('sources'),_0x17227a['plugins']['has']('ImageSizeAttributes')&&(_0x88df18['registerBlockAttribute']('width'),_0x88df18['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends ckeditor5['Plugin']{['afterInit'](){const _0x59498d=this['editor'],_0x27501e=_0x59498d['plugins']['get']('SuggestionsConversion');_0x59498d['plugins']['has']('IndentBlock')&&(_0x27501e['registerBlockAttribute']('blockIndent'),_0x59498d['plugins']['has']('ListEditing')&&(_0x27501e['registerBlockAttribute']('blockIndentList'),_0x27501e['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends ckeditor5['Plugin']{['afterInit'](){const _0x3e5792=this['editor'];if(!_0x3e5792['plugins']['has']('LineHeight'))return;_0x3e5792['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends ckeditor5['Plugin']{['afterInit'](){const _0x688bbc=this['editor'];if(!_0x688bbc['plugins']['has']('LinkEditing'))return;const _0x52c631=_0x688bbc['plugins']['get']('SuggestionsConversion'),_0x2559d7=_0x688bbc['commands']['get']('link');_0x52c631['registerInlineAttribute']('linkHref');for(const _0xab9f91 of _0x2559d7['manualDecorators'])_0x52c631['registerInlineAttribute'](_0xab9f91['id']);}}class SuggestionsConversionList extends ckeditor5['Plugin']{['afterInit'](){const _0x355020=this['editor'];if(!_0x355020['plugins']['has']('ListEditing'))return;const _0x1e71c1=_0x355020['plugins']['get']('SuggestionsConversion'),_0x1173b8=_0x355020['plugins']['has']('TodoListEditing');_0x1e71c1['registerBlockAttribute']('listItemId'),_0x1e71c1['registerBlockAttribute']('listType'),_0x1e71c1['registerBlockAttribute']('listIndent'),_0x1173b8&&_0x1e71c1['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x437936=this['editor']['config']['get']('list.properties'),_0xf891c9=this['editor']['plugins']['get']('SuggestionsConversion');_0x437936['styles']&&_0xf891c9['registerBlockAttribute']('listStyle'),_0x437936['reversed']&&_0xf891c9['registerBlockAttribute']('listReversed'),_0x437936['startIndex']&&_0xf891c9['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends ckeditor5['Plugin']{['afterInit'](){const _0x49e0e8=this['editor'],_0x59e67b=_0x49e0e8['plugins']['get']('SuggestionsConversion');_0x49e0e8['plugins']['has']('MultiLevelList')&&_0x59e67b['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionStylesDropdown extends ckeditor5['Plugin']{['afterInit'](){const _0x6d0fb0=this['editor'];if(!_0x6d0fb0['plugins']['has']('Style')||!_0x6d0fb0['plugins']['has']('DataSchema')||!_0x6d0fb0['config']['get']('style.definitions'))return;const _0x43502d=_0x6d0fb0['plugins']['get']('SuggestionsConversion'),_0x123d45=_0x6d0fb0['config']['get']('style.definitions'),_0x45a99b=_0x6d0fb0['plugins']['get']('GeneralHtmlSupport'),_0x573cac=_0x6d0fb0['plugins']['get']('StyleUtils')['normalizeConfig'](_0x6d0fb0['plugins']['get']('DataSchema'),_0x123d45),_0x197c77=new Set();for(const _0x53b1c0 of _0x573cac['block']){const _0x3e77cd=_0x45a99b['getGhsAttributeNameForElement'](_0x53b1c0['element']);_0x197c77['add'](_0x3e77cd);}const _0x5b3b33=new Set();for(const _0x25f3e2 of _0x573cac['inline']){const _0x718a0=_0x45a99b['getGhsAttributeNameForElement'](_0x25f3e2['element']);_0x5b3b33['add'](_0x718a0);for(const _0x527f6b of _0x25f3e2['ghsAttributes'])_0x5b3b33['add'](_0x527f6b);}for(const _0x2645e4 of _0x197c77)_0x43502d['registerBlockAttribute'](_0x2645e4);for(const _0x595433 of _0x5b3b33)_0x43502d['registerInlineAttribute'](_0x595433);}}class SuggestionsConversionTableHeadings extends ckeditor5['Plugin']{['afterInit'](){const _0x55ef40=this['editor'];if(!_0x55ef40['plugins']['has']('TableEditing'))return;const _0x3540eb=_0x55ef40['plugins']['get']('SuggestionsConversion');_0x3540eb['registerBlockAttribute']('headingRows'),_0x3540eb['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0x5343ef}=this['editor'];if(!_0x5343ef['has']('TablePropertiesEditing'))return;const _0x4e0427=_0x5343ef['get']('SuggestionsConversion'),_0x25379e=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x3fa099 of _0x25379e)_0x4e0427['registerBlockAttribute'](_0x3fa099);}}class SuggestionsConversionTableLayout extends ckeditor5['Plugin']{['afterInit'](){const _0x1e7bde=this['editor'],_0x2eb5ee=_0x1e7bde['plugins']['get']('SuggestionsConversion');_0x1e7bde['plugins']['has']('TableLayout')&&_0x2eb5ee['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends ckeditor5['Plugin']{['afterInit'](){const _0x585eb1=this['editor'],_0x5eef0d=this['editor']['plugins']['get']('SuggestionsConversion');_0x585eb1['plugins']['has']('Uploadcare')&&_0x585eb1['plugins']['has']('UploadcareImageEdit')&&_0x5eef0d['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends ckeditor5['Plugin']{['afterInit'](){const _0x4fc73c=this['editor'];if(!_0x4fc73c['plugins']['has']('ShiftEnter'))return;const _0x4166b4=_0x4fc73c['plugins']['get']('SuggestionsConversion'),_0x414d58=(_0x4cbeca,_0x142119,_0x3fed49,_0x4389f9)=>{if(_0x4389f9&&!_0x3fed49['options']['showSuggestionHighlights'])return;if(!_0x3fed49['consumable']['test'](_0x142119['markerRange'],_0x4cbeca['name']))return;const _0x53472c=_0x4fc73c['model'];for(const _0x12f9f5 of _0x142119['markerRange']['getItems']()){if(!_0x12f9f5['is']('element','softBreak'))continue;const _0x214068='deletion'==_0x142119['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x3e8348,authorId:_0x53eecf}=splitSuggestionMarkerName(_0x142119['markerName']),_0x47c833=_0x3fed49['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x214068,'data-suggestion':_0x3e8348,'data-author-id':_0x53eecf}),_0x2303e7=_0x3fed49['mapper']['toViewPosition'](_0x53472c['createPositionBefore'](_0x12f9f5));!_0x4389f9&&_0x4166b4['_activeMarkers']['includes'](_0x142119['markerName'])&&_0x3fed49['writer']['addClass']('ck-suggestion-marker--active',_0x47c833),_0x3fed49['writer']['insert'](_0x2303e7,_0x47c833),_0x3fed49['mapper']['bindElementToMarker'](_0x47c833,_0x142119['markerName']);}};_0x4fc73c['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0xa82558,_0x17e636,_0xd4c7c3)=>{_0x414d58(_0xa82558,_0x17e636,_0xd4c7c3,!0x1);},{'priority':'high'}),_0x4fc73c['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x3eb63d,_0x1db54,_0x4b37ef)=>{_0x414d58(_0x3eb63d,_0x1db54,_0x4b37ef,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0x34d3e9=this['editor'];_0x34d3e9['plugins']['has']('MediaEmbedEditing')&&(_0x34d3e9['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x2fb99b,{writer:_0x15747d,options:_0x181211})=>{if(_0x181211['showSuggestionHighlights'])return _0x15747d['createEmptyElement']('div');},'converterPriority':'high'}),_0x34d3e9['data']['downcastDispatcher']['on']('attribute:url:media',(_0x48fb96,_0x4df620,_0x34c937)=>{_0x34c937['options']['showSuggestionHighlights']&&_0x48fb96['stop']();},{'priority':'high'}));}}class SuggestionsConversionTable extends ckeditor5['Plugin']{['afterInit'](){const _0x48fc11=this['editor'];if(!_0x48fc11['plugins']['has']('Table'))return;_0x48fc11['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0xece6ef,_0x1986fe,_0x2511a2)=>{((_0x364f6f,_0x43446c,_0x43b787)=>{if(!_0x43b787['options']['showSuggestionHighlights'])return;const _0x16a75e=_0x43446c['item'];if(!_0x16a75e||!_0x16a75e['is']('element','tableCell'))return;const _0x29fad3=_0x43b787['mapper']['toViewElement'](_0x16a75e);if(_0x29fad3){const {id:_0x415f94,authorId:_0x28dff4}=splitSuggestionMarkerName(_0x43446c['markerName']);ckeditor5['setHighlightHandling'](_0x29fad3,_0x43b787['writer'],(_0x5f0ca9,_0x4b70df,_0x23e34e)=>{_0x23e34e['addClass'](ckeditor5['toArray'](_0x4b70df['classes']),_0x5f0ca9),_0x23e34e['setAttribute']('data-suggestion',_0x415f94,_0x5f0ca9),_0x23e34e['setAttribute']('data-author-id',_0x28dff4,_0x5f0ca9);});}})(0x0,_0x1986fe,_0x2511a2);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends ckeditor5['Plugin']{['afterInit'](){const _0xaf1fe5=this['editor'];_0xaf1fe5['plugins']['has']('HorizontalLineEditing')&&_0xaf1fe5['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x3449b5,{writer:_0x21e1e5,options:_0x5e9e4f})=>{if(!_0x5e9e4f['showSuggestionHighlights'])return null;const _0x52b2f6=_0x21e1e5['createContainerElement']('div'),_0x16d83c=_0x21e1e5['createEmptyElement']('hr');return _0x21e1e5['addClass']('ck-horizontal-line',_0x52b2f6),_0x21e1e5['insert'](_0x21e1e5['createPositionAt'](_0x52b2f6,0x0),_0x16d83c),_0x52b2f6;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0x49ed55,model:_0x137ef5}=this['editor'];if(!_0x49ed55['has']('TableCellPropertiesEditing'))return;const _0x52afbe=_0x49ed55['get']('SuggestionsConversion'),_0x1975fb=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x5b6c09 of _0x1975fb)_0x52afbe['registerBlockAttribute'](_0x5b6c09);_0x137ef5['schema']['checkAttribute']('tableCell','tableCellType')&&_0x52afbe['registerBlockAttribute']('tableCellType');}}class SuggestionsConversionTableFooters extends ckeditor5['Plugin']{['afterInit'](){const _0x4a418f=this['editor'];if(!_0x4a418f['plugins']['has']('TableEditing')||!_0x4a418f['config']['get']('table.enableFooters'))return;_0x4a418f['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}}class SuggestionsConversion extends ckeditor5['Plugin']{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[SuggestionsConversionAlignment,SuggestionsConversionBasicStyles,SuggestionsConversionBookmark,SuggestionsConversionFont,SuggestionsConversionFootnotes,SuggestionsConversionHighlight,SuggestionsConversionHorizontalLine,SuggestionsConversionHtmlEmbed,SuggestionsConversionImage,SuggestionsConversionIndent,SuggestionsConversionLineHeight,SuggestionsConversionLink,SuggestionsConversionList,SuggestionsConversionListProperties,SuggestionsConversionMediaEmbed,SuggestionsConversionMultiLevelList,SuggestionsConversionShiftEnter,SuggestionsConversionStylesDropdown,SuggestionsConversionTable,SuggestionsConversionTableHeadings,SuggestionsConversionTableFooters,SuggestionsConversionTableLayout,SuggestionsConversionTableCellProperties,SuggestionsConversionTableProperties,SuggestionsConversionUploadcare];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1b90ab=this['editor'],_0x4420af=(_0x429926,_0x52d6b5,_0x4902ad)=>{const {id:_0x4e0a64,authorId:_0x2b58a7,type:_0x5045a5,subType:_0x122722}=splitSuggestionMarkerName(_0x429926['markerName']),_0x98cfa=['ck-suggestion-marker',this['_getClassName'](_0x5045a5,_0x122722)];let _0x320b72=0xbb8;return!_0x4902ad&&(this['_activeMarkers']['includes'](_0x429926['markerName'])&&(_0x98cfa['push']('ck-suggestion-marker--active'),_0x320b72=0xbc2)),('deletion'==_0x5045a5&&(_0x320b72+=0x5),{'classes':_0x98cfa,'attributes':{'data-suggestion':_0x4e0a64,'data-author-id':_0x2b58a7},'priority':_0x320b72});};_0x1b90ab['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x61711b,_0x24e75d)=>_0x4420af(_0x61711b,0x0,!0x1)}),_0x1b90ab['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x368579,_0xb3fec8)=>_0x4420af(_0x368579,0x0,!0x0)}),_0x1b90ab['conversion']['for']('dataDowncast')['add'](_0x34ddcb=>{_0x34ddcb['on']('addMarker:suggestion',(_0x4e5d9f,_0x1d8d29,_0xe0be4a)=>{if(!_0xe0be4a['options']['showSuggestionHighlights'])return;const _0x49d318=_0x1d8d29['item'];if(!_0x49d318)return;const _0x145c19=_0xe0be4a['mapper']['toViewElement'](_0x49d318);_0x1b90ab['model']['schema']['isObject'](_0x49d318)&&_0x145c19&&!_0x145c19['getCustomProperty']('widget')&&_0x145c19['is']('containerElement')&&ckeditor5['toWidget'](_0x145c19,_0xe0be4a['writer']);},{'priority':'high'});});const _0x39b58a=(_0x5898a6,_0x13b86b,_0x30c226,_0xc96b13,_0x1f8ce1)=>{if(_0xc96b13&&!_0x30c226['options']['showSuggestionHighlights'])return;if(!_0x13b86b['item'])return;const {id:_0x2250fc,authorId:_0x402d2b,subType:_0x47381f}=splitSuggestionMarkerName(_0x13b86b['markerName']);if(_0x1f8ce1){const _0x4a4d27=_0x47381f['split']('|')[0x0];if(!this['isBlockAttribute'](_0x4a4d27))return;}if(_0x13b86b['item']['is']('selection'))return void _0x30c226['consumable']['consume'](_0x13b86b['item'],_0x5898a6['name']);const _0x6e898e=_0x30c226['mapper']['toViewElement'](_0x13b86b['item']);if(_0x13b86b['item']['is']('element')&&_0x1b90ab['model']['schema']['isBlock'](_0x13b86b['item'])&&!_0x6e898e['getCustomProperty']('addHighlight')){_0x30c226['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x6e898e),_0x30c226['writer']['setAttribute']('data-suggestion',_0x2250fc,_0x6e898e),_0x30c226['writer']['setAttribute']('data-author-id',_0x402d2b,_0x6e898e),_0x30c226['mapper']['bindElementToMarker'](_0x6e898e,_0x13b86b['markerName']),_0xc96b13||(this['_activeMarkers']['includes'](_0x13b86b['markerName'])?_0x30c226['writer']['addClass']('ck-suggestion-marker--active',_0x6e898e):_0x30c226['writer']['removeClass']('ck-suggestion-marker--active',_0x6e898e));for(const _0x23f91b of _0x1b90ab['model']['createRangeIn'](_0x13b86b['item'])['getItems']())_0x30c226['consumable']['consume'](_0x23f91b,_0x5898a6['name']);_0x30c226['consumable']['consume'](_0x13b86b['item'],_0x5898a6['name']);}},_0x5d032=(_0xbcaaba,_0x20e79b,_0x4fffb6,_0x27c9f)=>{const _0x3f8a9d=_0x4fffb6['mapper']['markerNameToElements'](_0x20e79b['markerName']);if(_0x3f8a9d){if(_0x27c9f){const {subType:_0x492bf5}=splitSuggestionMarkerName(_0x20e79b['markerName']),_0x1f4bc8=_0x492bf5['split']('|')[0x0];if(!this['isBlockAttribute'](_0x1f4bc8))return;}for(const _0x285a24 of _0x3f8a9d)_0x285a24['getCustomProperty']('addHighlight')||(_0x4fffb6['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x285a24),_0x4fffb6['writer']['removeAttribute']('data-suggestion',_0x285a24),_0x4fffb6['writer']['removeAttribute']('data-author-id',_0x285a24),_0x4fffb6['mapper']['unbindElementFromMarkerName'](_0x285a24,_0x20e79b['markerName']));}};_0x1b90ab['conversion']['for']('editingDowncast')['add'](_0x497cce=>{_0x497cce['on']('addMarker:suggestion:formatBlock',(_0x2ee53d,_0x1c7ed8,_0x3fc057)=>{_0x39b58a(_0x2ee53d,_0x1c7ed8,_0x3fc057,!0x1,!0x1);},{'priority':'high'});}),_0x1b90ab['conversion']['for']('editingDowncast')['add'](_0x5e0a4c=>{_0x5e0a4c['on']('addMarker:suggestion:attribute',(_0x1c2561,_0x55a26d,_0x11129a)=>{_0x39b58a(_0x1c2561,_0x55a26d,_0x11129a,!0x1,!0x0);},{'priority':'high'});}),_0x1b90ab['conversion']['for']('editingDowncast')['add'](_0x44f32e=>{_0x44f32e['on']('removeMarker:suggestion:formatBlock',(_0xf01241,_0x5a48a5,_0x2cf90b)=>{_0x5d032(0x0,_0x5a48a5,_0x2cf90b,!0x1);},{'priority':'high'});}),_0x1b90ab['conversion']['for']('editingDowncast')['add'](_0x20cc8e=>{_0x20cc8e['on']('removeMarker:suggestion:attribute',(_0x2872d6,_0x3a1fca,_0x1facb7)=>{_0x5d032(0x0,_0x3a1fca,_0x1facb7,!0x0);},{'priority':'high'});}),_0x1b90ab['conversion']['for']('dataDowncast')['add'](_0xc46889=>{_0xc46889['on']('addMarker:suggestion:formatBlock',(_0x3e64f3,_0x3c2e54,_0x46f889)=>{_0x39b58a(_0x3e64f3,_0x3c2e54,_0x46f889,!0x0,!0x1);},{'priority':'highest'});}),_0x1b90ab['conversion']['for']('dataDowncast')['add'](_0x507d68=>{_0x507d68['on']('addMarker:suggestion:attribute',(_0x523621,_0x5c8596,_0x3ddb77)=>{_0x39b58a(_0x523621,_0x5c8596,_0x3ddb77,!0x0,!0x0);},{'priority':'highest'});}),_0x1b90ab['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x3722f8,_0x4dcf2a)=>_0x4dcf2a['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x3722f8['substr'](0xb)}});const _0x3d29f6=(_0x1888a1,_0x913137,_0x4c0901,_0x472101,_0xd145f4)=>{if(_0x472101&&!_0x4c0901['options']['showSuggestionHighlights'])return;if(!_0x4c0901['consumable']['test'](_0x913137['markerRange'],_0x1888a1['name']))return;const _0x5ed809=this['_activeMarkers'],_0x5c24ce=_0x913137['markerRange']['getWalker'](),_0x3d3f9e=_0x913137['markerRange']['start'],_0x1de3a8=_0x1b90ab['model']['schema'];let _0x3f9796=null,_0x333064=null,_0x3c5e4e=!0x1,_0x49dd2b=!0x1;for(const _0x2fa6e1 of _0x5c24ce){const _0x4cedec=_0x2fa6e1['item'];_0x3c5e4e=_0x3c5e4e||_0x1de3a8['isContent'](_0x4cedec);const _0x3c7f0f=_0x4c0901['mapper']['toViewElement'](_0x4cedec);if(_0x3c7f0f&&_0x3c7f0f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2fa6e1['type']&&(_0x1de3a8['isBlock'](_0x4cedec)&&!_0x1de3a8['isLimit'](_0x4cedec)&&(_0x4cedec['nextSibling']||_0x3d3f9e['isAtEnd']?_0x3f9796&&_0x3f9796['parent']==_0x4cedec||(_0x3f9796=_0x4cedec,_0xad9eac(_0x2fa6e1['previousPosition']),_0x49dd2b=!0x0):_0x333064=_0x333064||_0x2fa6e1['previousPosition']));}function _0xad9eac(_0x4ccb49){const {id:_0x386e29,authorId:_0x7c7534}=splitSuggestionMarkerName(_0x913137['markerName']),_0x26f1ba=_0x4c0901['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xd145f4,'data-suggestion':_0x386e29,'data-author-id':_0x7c7534}),_0x3ce9ed=_0x4c0901['mapper']['toViewPosition'](_0x4ccb49);!_0x472101&&_0x5ed809['includes'](_0x913137['markerName'])&&_0x4c0901['writer']['addClass']('ck-suggestion-marker--active',_0x26f1ba),_0x4c0901['writer']['insert'](_0x3ce9ed,_0x26f1ba),_0x4c0901['mapper']['bindElementToMarker'](_0x26f1ba,_0x913137['markerName']);}_0x3c5e4e||_0x49dd2b||!_0x333064||_0xad9eac(_0x333064);};_0x1b90ab['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x5770a3,_0x3d8704,_0x352544)=>{_0x3d29f6(_0x5770a3,_0x3d8704,_0x352544,!0x1,'merge');},{'priority':'high'}),_0x1b90ab['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0xbf9db3,_0x251937,_0x43aaa3)=>{_0x3d29f6(_0xbf9db3,_0x251937,_0x43aaa3,!0x0,'merge');},{'priority':'high'}),_0x1b90ab['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3b36e8,_0x3eae51,_0x2fab1c)=>{_0x3d29f6(_0x3b36e8,_0x3eae51,_0x2fab1c,!0x1,'split');},{'priority':'high'}),_0x1b90ab['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x12d7c,_0x1ae14d,_0x372290)=>{_0x3d29f6(_0x12d7c,_0x1ae14d,_0x372290,!0x0,'split');},{'priority':'high'}),_0x1b90ab['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x4359cb,_0x336e7f,_0x5e0155)=>{((_0x16a447,_0x2d960e,_0x45d887)=>{const _0x12f840=_0x45d887['mapper']['markerNameToElements'](_0x2d960e['markerName']);if(_0x12f840){for(const _0x38b175 of _0x12f840)(_0x38b175['hasClass']('ck-suggestion-marker-split')||_0x38b175['hasClass']('ck-suggestion-marker-merge'))&&(_0x45d887['mapper']['unbindElementFromMarkerName'](_0x38b175,_0x2d960e['markerName']),_0x45d887['writer']['remove'](_0x38b175));}})(0x0,_0x336e7f,_0x5e0155);},{'priority':'high'});const _0x357678=(_0x507001,_0x544f29,_0x1ac2c0,_0x3d88d1)=>{if(_0x3d88d1&&!_0x1ac2c0['options']['showSuggestionHighlights'])return;const _0x2059cc=_0x544f29['markerRange']['start'],_0x46ef84=_0x544f29['markerRange']['end'],_0xb072fb=_0x1b90ab['model']['schema'];if(!_0x2059cc['isTouching'](_0x46ef84)||!_0x2059cc['nodeAfter'])return;const _0x1160a5=_0x2059cc['nodeAfter'];if(_0xb072fb['isBlock'](_0x1160a5)&&!_0xb072fb['isLimit'](_0x1160a5)&&_0xb072fb['checkChild'](_0x1160a5,'$text')){if(!_0x1ac2c0['consumable']['consume'](_0x544f29['markerRange'],_0x507001['name']))return;const {id:_0x46b4c2,authorId:_0x10861e}=splitSuggestionMarkerName(_0x544f29['markerName']),_0x2cd929=_0x1ac2c0['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x46b4c2,'data-author-id':_0x10861e}),_0x35c7c7=_0x1ac2c0['mapper']['toViewPosition'](_0x46ef84);!_0x3d88d1&&this['_activeMarkers']['includes'](_0x544f29['markerName'])&&_0x1ac2c0['writer']['addClass']('ck-suggestion-marker--active',_0x2cd929),_0x1ac2c0['writer']['insert'](_0x35c7c7,_0x2cd929),_0x1ac2c0['mapper']['bindElementToMarker'](_0x2cd929,_0x544f29['markerName']);}};_0x1b90ab['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x133d3a,_0x3140aa,_0x3537ec)=>{_0x357678(_0x133d3a,_0x3140aa,_0x3537ec,!0x1);},{'priority':'high'}),_0x1b90ab['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4390e8,_0x54ad67,_0x2afea5)=>{_0x357678(_0x4390e8,_0x54ad67,_0x2afea5,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x3565c7,_0x2720a5,_0x3103a6)=>{this['_activeMarkers']=_0x3103a6['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x486ed3){this['_blockAttributeKeys']['add'](_0x486ed3);}['registerInlineAttribute'](_0x328588){this['_inlineAttributeKeys']['add'](_0x328588);}['isBlockAttribute'](_0x4438d3){return this['_blockAttributeKeys']['has'](_0x4438d3);}['isInlineAttribute'](_0x229b0a){return this['_inlineAttributeKeys']['has'](_0x229b0a);}['isRegisteredAttribute'](_0x4992d1){return this['isInlineAttribute'](_0x4992d1)||this['isBlockAttribute'](_0x4992d1);}['_getClassName'](_0x3fb19e,_0x17f0b7){if('attribute'!=_0x3fb19e)return'ck-suggestion-marker-'+_0x3fb19e;const _0x28f746=_0x17f0b7['split']('|')[0x0];return this['isBlockAttribute'](_0x28f746)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}class _0x1e61d1 extends Error{}class InvalidDateTimeError extends _0x1e61d1{constructor(_0x3a858a){super('Invalid\x20DateTime:\x20'+_0x3a858a['toMessage']());}}class InvalidIntervalError extends _0x1e61d1{constructor(_0x57e254){super('Invalid\x20Interval:\x20'+_0x57e254['toMessage']());}}class InvalidDurationError extends _0x1e61d1{constructor(_0x99d7e7){super('Invalid\x20Duration:\x20'+_0x99d7e7['toMessage']());}}class ConflictingSpecificationError extends _0x1e61d1{}class InvalidUnitError extends _0x1e61d1{constructor(_0x57c0c6){super('Invalid\x20unit\x20'+_0x57c0c6);}}class InvalidArgumentError extends _0x1e61d1{}class ZoneIsAbstractError extends _0x1e61d1{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}}const _0xf16495='numeric',_0x25f6b3='short',_0x3e29ec='long',_0x56ae58={'year':_0xf16495,'month':_0xf16495,'day':_0xf16495},_0x8907f9={'year':_0xf16495,'month':_0x25f6b3,'day':_0xf16495},_0x59a649={'year':_0xf16495,'month':_0x25f6b3,'day':_0xf16495,'weekday':_0x25f6b3},_0x37796a={'year':_0xf16495,'month':_0x3e29ec,'day':_0xf16495},_0x9673ee={'year':_0xf16495,'month':_0x3e29ec,'day':_0xf16495,'weekday':_0x3e29ec},_0x3b29f7={'hour':_0xf16495,'minute':_0xf16495},_0x24fba5={'hour':_0xf16495,'minute':_0xf16495,'second':_0xf16495},_0x3ba703={'hour':_0xf16495,'minute':_0xf16495,'second':_0xf16495,'timeZoneName':_0x25f6b3},_0x5d099a={'hour':_0xf16495,'minute':_0xf16495,'second':_0xf16495,'timeZoneName':_0x3e29ec},_0x512e8e={'hour':_0xf16495,'minute':_0xf16495,'hourCycle':'h23'},_0x44daba={'hour':_0xf16495,'minute':_0xf16495,'second':_0xf16495,'hourCycle':'h23'},_0x443ca0={'hour':_0xf16495,'minute':_0xf16495,'second':_0xf16495,'hourCycle':'h23','timeZoneName':_0x25f6b3},_0x43445b={'hour':_0xf16495,'minute':_0xf16495,'second':_0xf16495,'hourCycle':'h23','timeZoneName':_0x3e29ec},_0x6b62ef={'year':_0xf16495,'month':_0xf16495,'day':_0xf16495,'hour':_0xf16495,'minute':_0xf16495},_0x19d2b1={'year':_0xf16495,'month':_0xf16495,'day':_0xf16495,'hour':_0xf16495,'minute':_0xf16495,'second':_0xf16495},_0x58e2ac={'year':_0xf16495,'month':_0x25f6b3,'day':_0xf16495,'hour':_0xf16495,'minute':_0xf16495},_0x518711={'year':_0xf16495,'month':_0x25f6b3,'day':_0xf16495,'hour':_0xf16495,'minute':_0xf16495,'second':_0xf16495},_0x18dcff={'year':_0xf16495,'month':_0x25f6b3,'day':_0xf16495,'weekday':_0x25f6b3,'hour':_0xf16495,'minute':_0xf16495},_0x1f25ec={'year':_0xf16495,'month':_0x3e29ec,'day':_0xf16495,'hour':_0xf16495,'minute':_0xf16495,'timeZoneName':_0x25f6b3},_0x4c3f7={'year':_0xf16495,'month':_0x3e29ec,'day':_0xf16495,'hour':_0xf16495,'minute':_0xf16495,'second':_0xf16495,'timeZoneName':_0x25f6b3},_0x5af166={'year':_0xf16495,'month':_0x3e29ec,'day':_0xf16495,'weekday':_0x3e29ec,'hour':_0xf16495,'minute':_0xf16495,'timeZoneName':_0x3e29ec},_0x3ed638={'year':_0xf16495,'month':_0x3e29ec,'day':_0xf16495,'weekday':_0x3e29ec,'hour':_0xf16495,'minute':_0xf16495,'second':_0xf16495,'timeZoneName':_0x3e29ec};class _0x5bce94{get['type'](){throw new ZoneIsAbstractError();}get['name'](){throw new ZoneIsAbstractError();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new ZoneIsAbstractError();}['offsetName'](_0x35c1cd,_0x18c80b){throw new ZoneIsAbstractError();}['formatOffset'](_0x1c4b7f,_0x36bfb0){throw new ZoneIsAbstractError();}['offset'](_0x3c6f49){throw new ZoneIsAbstractError();}['equals'](_0x3809c7){throw new ZoneIsAbstractError();}get['isValid'](){throw new ZoneIsAbstractError();}}let singleton$1=null;class SystemZone extends _0x5bce94{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'](_0x4e03ea,{format:_0x54766b,locale:_0x29403b}){return _0x5e0cd0(_0x4e03ea,_0x54766b,_0x29403b);}['formatOffset'](_0x493a6b,_0x5bb0d7){return formatOffset(this['offset'](_0x493a6b),_0x5bb0d7);}['offset'](_0x402eaa){return-new Date(_0x402eaa)['getTimezoneOffset']();}['equals'](_0x3f9364){return'system'===_0x3f9364['type'];}get['isValid'](){return!0x0;}}const dtfCache=new Map();function _0x37da44(_0x300d69){let _0x420149=dtfCache['get'](_0x300d69);return void 0x0===_0x420149&&(_0x420149=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x300d69,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),dtfCache['set'](_0x300d69,_0x420149)),_0x420149;}const typeToPos={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6};function hackyOffset(_0x314e8b,_0x2bd40b){const _0x458531=_0x314e8b['format'](_0x2bd40b)['replace'](/\u200E/g,''),_0x1f9b3f=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x458531),[,_0x2f5828,_0x3f8b45,_0x37b582,_0x5d3d13,_0x56b314,_0x20b470,_0x18ad0e]=_0x1f9b3f;return[_0x37b582,_0x2f5828,_0x3f8b45,_0x5d3d13,_0x56b314,_0x20b470,_0x18ad0e];}function partsOffset(_0x42efee,_0x55ca92){const _0x4b3945=_0x42efee['formatToParts'](_0x55ca92),_0x125581=[];for(let _0x5192f1=0x0;_0x5192f1<_0x4b3945['length'];_0x5192f1++){const {type:_0xafc0f7,value:_0x745e41}=_0x4b3945[_0x5192f1],_0x481334=typeToPos[_0xafc0f7];'era'===_0xafc0f7?_0x125581[_0x481334]=_0x745e41:_0x44e2ab(_0x481334)||(_0x125581[_0x481334]=parseInt(_0x745e41,0xa));}return _0x125581;}const _0x4f1494=new Map();class _0x2a3f8f extends _0x5bce94{static['create'](_0x2f5980){let _0x5ec02b=_0x4f1494['get'](_0x2f5980);return void 0x0===_0x5ec02b&&_0x4f1494['set'](_0x2f5980,_0x5ec02b=new _0x2a3f8f(_0x2f5980)),_0x5ec02b;}static['resetCache'](){_0x4f1494['clear'](),dtfCache['clear']();}static['isValidSpecifier'](_0x5c2e55){return this['isValidZone'](_0x5c2e55);}static['isValidZone'](_0x4ccf6e){if(!_0x4ccf6e)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x4ccf6e})['format'](),!0x0;}catch(_0x4f1fe6){return!0x1;}}constructor(_0x51b0c6){super(),this['zoneName']=_0x51b0c6,this['valid']=_0x2a3f8f['isValidZone'](_0x51b0c6);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x21932e,{format:_0x221275,locale:_0x50978d}){return _0x5e0cd0(_0x21932e,_0x221275,_0x50978d,this['name']);}['formatOffset'](_0x495149,_0x52b25d){return formatOffset(this['offset'](_0x495149),_0x52b25d);}['offset'](_0x298798){if(!this['valid'])return NaN;const _0x51b498=new Date(_0x298798);if(isNaN(_0x51b498))return NaN;const _0x12f653=_0x37da44(this['name']);let [_0x25a018,_0x2791dd,_0x54199e,_0x4672e0,_0x2fbacd,_0x1d81df,_0x3b5291]=_0x12f653['formatToParts']?partsOffset(_0x12f653,_0x51b498):hackyOffset(_0x12f653,_0x51b498);'BC'===_0x4672e0&&(_0x25a018=0x1-Math['abs'](_0x25a018));let _0xd87d49=+_0x51b498;const _0x3b2dd8=_0xd87d49%0x3e8;return _0xd87d49-=_0x3b2dd8>=0x0?_0x3b2dd8:0x3e8+_0x3b2dd8,(_0x4f573e({'year':_0x25a018,'month':_0x2791dd,'day':_0x54199e,'hour':0x18===_0x2fbacd?0x0:_0x2fbacd,'minute':_0x1d81df,'second':_0x3b5291,'millisecond':0x0})-_0xd87d49)/0xea60;}['equals'](_0x3d9378){return'iana'===_0x3d9378['type']&&_0x3d9378['name']===this['name'];}get['isValid'](){return this['valid'];}}let intlLFCache={};function getCachedLF(_0x2b579c,_0x3d6835={}){const _0xab60a=JSON['stringify']([_0x2b579c,_0x3d6835]);let _0x3e7920=intlLFCache[_0xab60a];return _0x3e7920||(_0x3e7920=new Intl['ListFormat'](_0x2b579c,_0x3d6835),intlLFCache[_0xab60a]=_0x3e7920),_0x3e7920;}const intlDTCache=new Map();function getCachedDTF(_0x5d33ca,_0x17ddcb={}){const _0x2ba30d=JSON['stringify']([_0x5d33ca,_0x17ddcb]);let _0x426b81=intlDTCache['get'](_0x2ba30d);return void 0x0===_0x426b81&&(_0x426b81=new Intl['DateTimeFormat'](_0x5d33ca,_0x17ddcb),intlDTCache['set'](_0x2ba30d,_0x426b81)),_0x426b81;}const intlNumCache=new Map();function getCachedINF(_0x5c42c5,_0x2f4173={}){const _0x247aae=JSON['stringify']([_0x5c42c5,_0x2f4173]);let _0x599da7=intlNumCache['get'](_0x247aae);return void 0x0===_0x599da7&&(_0x599da7=new Intl['NumberFormat'](_0x5c42c5,_0x2f4173),intlNumCache['set'](_0x247aae,_0x599da7)),_0x599da7;}const intlRelCache=new Map();function getCachedRTF(_0x35eb49,_0x306a5e={}){const {base:_0xb1a243,..._0x11c4a7}=_0x306a5e,_0x22c64=JSON['stringify']([_0x35eb49,_0x11c4a7]);let _0xb4a4dc=intlRelCache['get'](_0x22c64);return void 0x0===_0xb4a4dc&&(_0xb4a4dc=new Intl['RelativeTimeFormat'](_0x35eb49,_0x306a5e),intlRelCache['set'](_0x22c64,_0xb4a4dc)),_0xb4a4dc;}let _0x533fdf=null;function systemLocale(){return _0x533fdf||(_0x533fdf=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],_0x533fdf);}const intlResolvedOptionsCache=new Map();function getCachedIntResolvedOptions(_0x13273a){let _0xdd7964=intlResolvedOptionsCache['get'](_0x13273a);return void 0x0===_0xdd7964&&(_0xdd7964=new Intl['DateTimeFormat'](_0x13273a)['resolvedOptions'](),intlResolvedOptionsCache['set'](_0x13273a,_0xdd7964)),_0xdd7964;}const _0x257295=new Map();function getCachedWeekInfo(_0x2231ce){let _0x5c77e9=_0x257295['get'](_0x2231ce);if(!_0x5c77e9){const _0x5d4e1c=new Intl['Locale'](_0x2231ce);_0x5c77e9='getWeekInfo'in _0x5d4e1c?_0x5d4e1c['getWeekInfo']():_0x5d4e1c['weekInfo'],'minimalDays'in _0x5c77e9||(_0x5c77e9={...fallbackWeekSettings,..._0x5c77e9}),_0x257295['set'](_0x2231ce,_0x5c77e9);}return _0x5c77e9;}function parseLocaleString(_0x2cc147){const _0x1336a9=_0x2cc147['indexOf']('-x-');-0x1!==_0x1336a9&&(_0x2cc147=_0x2cc147['substring'](0x0,_0x1336a9));const _0x1df310=_0x2cc147['indexOf']('-u-');if(-0x1===_0x1df310)return[_0x2cc147];{let _0x1cf66e,_0xa690f6;try{_0x1cf66e=getCachedDTF(_0x2cc147)['resolvedOptions'](),_0xa690f6=_0x2cc147;}catch(_0x4ad85a){const _0x3fa0c2=_0x2cc147['substring'](0x0,_0x1df310);_0x1cf66e=getCachedDTF(_0x3fa0c2)['resolvedOptions'](),_0xa690f6=_0x3fa0c2;}const {numberingSystem:_0xfda435,calendar:_0x4d53e0}=_0x1cf66e;return[_0xa690f6,_0xfda435,_0x4d53e0];}}function intlConfigString(_0x378d6c,_0xe756ea,_0x595afe){return _0x595afe||_0xe756ea?(_0x378d6c['includes']('-u-')||(_0x378d6c+='-u'),_0x595afe&&(_0x378d6c+='-ca-'+_0x595afe),_0xe756ea&&(_0x378d6c+='-nu-'+_0xe756ea),_0x378d6c):_0x378d6c;}function mapMonths(_0x594fa0){const _0x550da3=[];for(let _0x18bda4=0x1;_0x18bda4<=0xc;_0x18bda4++){const _0x45ea96=DateTime['utc'](0x7d9,_0x18bda4,0x1);_0x550da3['push'](_0x594fa0(_0x45ea96));}return _0x550da3;}function _0x3b9ebe(_0xd02852){const _0x3d336f=[];for(let _0x55ed01=0x1;_0x55ed01<=0x7;_0x55ed01++){const _0x171c3e=DateTime['utc'](0x7e0,0xb,0xd+_0x55ed01);_0x3d336f['push'](_0xd02852(_0x171c3e));}return _0x3d336f;}function listStuff(_0x53b3a8,_0x7ca53e,_0x58fec9,_0x5b5bf7){const _0x75af92=_0x53b3a8['listingMode']();return'error'===_0x75af92?null:'en'===_0x75af92?_0x58fec9(_0x7ca53e):_0x5b5bf7(_0x7ca53e);}function supportsFastNumbers(_0x503c0c){return(!_0x503c0c['numberingSystem']||'latn'===_0x503c0c['numberingSystem'])&&('latn'===_0x503c0c['numberingSystem']||!_0x503c0c['locale']||_0x503c0c['locale']['startsWith']('en')||'latn'===getCachedIntResolvedOptions(_0x503c0c['locale'])['numberingSystem']);}class PolyNumberFormatter{constructor(_0x5e1f54,_0xe5f713,_0x3394b8){this['padTo']=_0x3394b8['padTo']||0x0,this['floor']=_0x3394b8['floor']||!0x1;const {padTo:_0x1b595e,floor:_0x262ccb,..._0x5545d2}=_0x3394b8;if(!_0xe5f713||Object['keys'](_0x5545d2)['length']>0x0){const _0x225a80={'useGrouping':!0x1,..._0x3394b8};_0x3394b8['padTo']>0x0&&(_0x225a80['minimumIntegerDigits']=_0x3394b8['padTo']),this['inf']=getCachedINF(_0x5e1f54,_0x225a80);}}['format'](_0x170d78){if(this['inf']){const _0x5df018=this['floor']?Math['floor'](_0x170d78):_0x170d78;return this['inf']['format'](_0x5df018);}return padStart(this['floor']?Math['floor'](_0x170d78):_0x34899b(_0x170d78,0x3),this['padTo']);}}class PolyDateFormatter{constructor(_0x119ad6,_0x597b86,_0x4d37d7){let _0x16df2c;if(this['opts']=_0x4d37d7,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x119ad6;else{if('fixed'===_0x119ad6['zone']['type']){const _0x436035=_0x119ad6['offset']/0x3c*-0x1,_0x2030fb=_0x436035>=0x0?'Etc/GMT+'+_0x436035:'Etc/GMT'+_0x436035;0x0!==_0x119ad6['offset']&&_0x2a3f8f['create'](_0x2030fb)['valid']?(_0x16df2c=_0x2030fb,this['dt']=_0x119ad6):(_0x16df2c='UTC',this['dt']=0x0===_0x119ad6['offset']?_0x119ad6:_0x119ad6['setZone']('UTC')['plus']({'minutes':_0x119ad6['offset']}),this['originalZone']=_0x119ad6['zone']);}else'system'===_0x119ad6['zone']['type']?this['dt']=_0x119ad6:'iana'===_0x119ad6['zone']['type']?(this['dt']=_0x119ad6,_0x16df2c=_0x119ad6['zone']['name']):(_0x16df2c='UTC',this['dt']=_0x119ad6['setZone']('UTC')['plus']({'minutes':_0x119ad6['offset']}),this['originalZone']=_0x119ad6['zone']);}const _0x5b5593={...this['opts']};_0x5b5593['timeZone']=_0x5b5593['timeZone']||_0x16df2c,this['dtf']=getCachedDTF(_0x597b86,_0x5b5593);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0xa91fa0})=>_0xa91fa0)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0x4af7b1=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0x4af7b1['map'](_0x46f87c=>{if('timeZoneName'===_0x46f87c['type']){const _0x1a060e=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x46f87c,'value':_0x1a060e};}return _0x46f87c;}):_0x4af7b1;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}}class PolyRelFormatter{constructor(_0x4a3e42,_0x1a4072,_0x286691){this['opts']={'style':'long',..._0x286691},!_0x1a4072&&hasRelative()&&(this['rtf']=getCachedRTF(_0x4a3e42,_0x286691));}['format'](_0x4547ef,_0x4fd2cf){return this['rtf']?this['rtf']['format'](_0x4547ef,_0x4fd2cf):formatRelativeTime(_0x4fd2cf,_0x4547ef,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0x2e7efd,_0x3949ea){return this['rtf']?this['rtf']['formatToParts'](_0x2e7efd,_0x3949ea):[];}}const fallbackWeekSettings={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};class _0x591980{static['fromOpts'](_0x380008){return _0x591980['create'](_0x380008['locale'],_0x380008['numberingSystem'],_0x380008['outputCalendar'],_0x380008['weekSettings'],_0x380008['defaultToEN']);}static['create'](_0x250caa,_0x12e964,_0xef55b,_0x4d9a8a,_0x3a4f49=!0x1){const _0x418086=_0x250caa||Settings['defaultLocale'],_0x29927d=_0x418086||(_0x3a4f49?'en-US':systemLocale()),_0x375d02=_0x12e964||Settings['defaultNumberingSystem'],_0x20dd7a=_0xef55b||Settings['defaultOutputCalendar'],_0x15b0e9=validateWeekSettings(_0x4d9a8a)||Settings['defaultWeekSettings'];return new _0x591980(_0x29927d,_0x375d02,_0x20dd7a,_0x15b0e9,_0x418086);}static['resetCache'](){_0x533fdf=null,intlDTCache['clear'](),intlNumCache['clear'](),intlRelCache['clear'](),intlResolvedOptionsCache['clear'](),_0x257295['clear']();}static['fromObject']({locale:_0x402374,numberingSystem:_0xa1c5c6,outputCalendar:_0x56d4eb,weekSettings:_0x43ed65}={}){return _0x591980['create'](_0x402374,_0xa1c5c6,_0x56d4eb,_0x43ed65);}constructor(_0x3ddfec,_0x3fcdf2,_0x2f05c1,_0x406828,_0x176f66){const [_0x2deebc,_0x35463e,_0x2dc6b9]=parseLocaleString(_0x3ddfec);this['locale']=_0x2deebc,this['numberingSystem']=_0x3fcdf2||_0x35463e||null,this['outputCalendar']=_0x2f05c1||_0x2dc6b9||null,this['weekSettings']=_0x406828,this['intl']=intlConfigString(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0x176f66,this['fastNumbersCached']=null;}get['fastNumbers'](){return null==this['fastNumbersCached']&&(this['fastNumbersCached']=supportsFastNumbers(this)),this['fastNumbersCached'];}['listingMode'](){const _0x107aa2=this['isEnglish'](),_0x146f00=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0x107aa2&&_0x146f00?'en':'intl';}['clone'](_0x441a80){return _0x441a80&&0x0!==Object['getOwnPropertyNames'](_0x441a80)['length']?_0x591980['create'](_0x441a80['locale']||this['specifiedLocale'],_0x441a80['numberingSystem']||this['numberingSystem'],_0x441a80['outputCalendar']||this['outputCalendar'],validateWeekSettings(_0x441a80['weekSettings'])||this['weekSettings'],_0x441a80['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x19adbe={}){return this['clone']({..._0x19adbe,'defaultToEN':!0x0});}['redefaultToSystem'](_0x3de716={}){return this['clone']({..._0x3de716,'defaultToEN':!0x1});}['months'](_0x5cd158,_0x255837=!0x1){return listStuff(this,_0x5cd158,months,()=>{const _0x10bdb1=_0x255837?{'month':_0x5cd158,'day':'numeric'}:{'month':_0x5cd158},_0x3ff3c9=_0x255837?'format':'standalone';return this['monthsCache'][_0x3ff3c9][_0x5cd158]||(this['monthsCache'][_0x3ff3c9][_0x5cd158]=mapMonths(_0x597d88=>this['extract'](_0x597d88,_0x10bdb1,'month'))),this['monthsCache'][_0x3ff3c9][_0x5cd158];});}['weekdays'](_0x39d83b,_0x22f57c=!0x1){return listStuff(this,_0x39d83b,_0x200156,()=>{const _0x53ca7f=_0x22f57c?{'weekday':_0x39d83b,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0x39d83b},_0x5dadf3=_0x22f57c?'format':'standalone';return this['weekdaysCache'][_0x5dadf3][_0x39d83b]||(this['weekdaysCache'][_0x5dadf3][_0x39d83b]=_0x3b9ebe(_0x3d1c67=>this['extract'](_0x3d1c67,_0x53ca7f,'weekday'))),this['weekdaysCache'][_0x5dadf3][_0x39d83b];});}['meridiems'](){return listStuff(this,void 0x0,()=>_0x1c2db7,()=>{if(!this['meridiemCache']){const _0x15f821={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[DateTime['utc'](0x7e0,0xb,0xd,0x9),DateTime['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0x3d6252=>this['extract'](_0x3d6252,_0x15f821,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0xad6b36){return listStuff(this,_0xad6b36,_0x52c578,()=>{const _0x2c8120={'era':_0xad6b36};return this['eraCache'][_0xad6b36]||(this['eraCache'][_0xad6b36]=[DateTime['utc'](-0x28,0x1,0x1),DateTime['utc'](0x7e1,0x1,0x1)]['map'](_0x345a5d=>this['extract'](_0x345a5d,_0x2c8120,'era'))),this['eraCache'][_0xad6b36];});}['extract'](_0x294ccc,_0x3d1863,_0x516ef5){const _0x120eeb=this['dtFormatter'](_0x294ccc,_0x3d1863)['formatToParts']()['find'](_0x641f4a=>_0x641f4a['type']['toLowerCase']()===_0x516ef5);return _0x120eeb?_0x120eeb['value']:null;}['numberFormatter'](_0x1cb0ed={}){return new PolyNumberFormatter(this['intl'],_0x1cb0ed['forceSimple']||this['fastNumbers'],_0x1cb0ed);}['dtFormatter'](_0x272fdc,_0x5289fe={}){return new PolyDateFormatter(_0x272fdc,this['intl'],_0x5289fe);}['relFormatter'](_0x2bb224={}){return new PolyRelFormatter(this['intl'],this['isEnglish'](),_0x2bb224);}['listFormatter'](_0x3a3aaa={}){return getCachedLF(this['intl'],_0x3a3aaa);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||getCachedIntResolvedOptions(this['intl'])['locale']['startsWith']('en-us');}['getWeekSettings'](){return this['weekSettings']?this['weekSettings']:_0x229809()?getCachedWeekInfo(this['locale']):fallbackWeekSettings;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0x36d25e){return this['locale']===_0x36d25e['locale']&&this['numberingSystem']===_0x36d25e['numberingSystem']&&this['outputCalendar']===_0x36d25e['outputCalendar'];}['toString'](){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}}let singleton=null;class FixedOffsetZone extends _0x5bce94{static get['utcInstance'](){return null===singleton&&(singleton=new FixedOffsetZone(0x0)),singleton;}static['instance'](_0x464b9a){return 0x0===_0x464b9a?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0x464b9a);}static['parseSpecifier'](_0x246e20){if(_0x246e20){const _0x3b98b1=_0x246e20['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x3b98b1)return new FixedOffsetZone(signedOffset(_0x3b98b1[0x1],_0x3b98b1[0x2]));}return null;}constructor(_0x4a43e9){super(),this['fixed']=_0x4a43e9;}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'](_0x3d714b,_0x11a491){return formatOffset(this['fixed'],_0x11a491);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x1392a7){return'fixed'===_0x1392a7['type']&&_0x1392a7['fixed']===this['fixed'];}get['isValid'](){return!0x0;}}class _0x55f1a6 extends _0x5bce94{constructor(_0x4a7f93){super(),this['zoneName']=_0x4a7f93;}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 _0x150d64(_0x3449ad,_0xd12456){if(_0x44e2ab(_0x3449ad)||null===_0x3449ad)return _0xd12456;if(_0x3449ad instanceof _0x5bce94)return _0x3449ad;if(isString(_0x3449ad)){const _0x1ed753=_0x3449ad['toLowerCase']();return'default'===_0x1ed753?_0xd12456:'local'===_0x1ed753||'system'===_0x1ed753?SystemZone['instance']:'utc'===_0x1ed753||'gmt'===_0x1ed753?FixedOffsetZone['utcInstance']:FixedOffsetZone['parseSpecifier'](_0x1ed753)||_0x2a3f8f['create'](_0x3449ad);}return _0x43fd0f(_0x3449ad)?FixedOffsetZone['instance'](_0x3449ad):'object'==typeof _0x3449ad&&'offset'in _0x3449ad&&'function'==typeof _0x3449ad['offset']?_0x3449ad:new _0x55f1a6(_0x3449ad);}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]},_0x414b4b=numberingSystems['hanidec']['replace'](/[\[|\]]/g,'')['split']('');function parseDigits(_0x3babb0){let _0x4e49c7=parseInt(_0x3babb0,0xa);if(isNaN(_0x4e49c7)){_0x4e49c7='';for(let _0x30527e=0x0;_0x30527e<_0x3babb0['length'];_0x30527e++){const _0x1eba17=_0x3babb0['charCodeAt'](_0x30527e);if(-0x1!==_0x3babb0[_0x30527e]['search'](numberingSystems['hanidec']))_0x4e49c7+=_0x414b4b['indexOf'](_0x3babb0[_0x30527e]);else for(const _0x28c8a2 in numberingSystemsUTF16){const [_0x58c534,_0x40bf32]=numberingSystemsUTF16[_0x28c8a2];_0x1eba17>=_0x58c534&&_0x1eba17<=_0x40bf32&&(_0x4e49c7+=_0x1eba17-_0x58c534);}}return parseInt(_0x4e49c7,0xa);}return _0x4e49c7;}const digitRegexCache=new Map();function resetDigitRegexCache(){digitRegexCache['clear']();}function digitRegex({numberingSystem:_0x25ffed},_0x46657d=''){const _0x23c747=_0x25ffed||'latn';let _0x5cf133=digitRegexCache['get'](_0x23c747);void 0x0===_0x5cf133&&(_0x5cf133=new Map(),digitRegexCache['set'](_0x23c747,_0x5cf133));let _0x1131ab=_0x5cf133['get'](_0x46657d);return void 0x0===_0x1131ab&&(_0x1131ab=new RegExp(''+numberingSystems[_0x23c747]+_0x46657d),_0x5cf133['set'](_0x46657d,_0x1131ab)),_0x1131ab;}let _0x433fd4=()=>Date['now'](),defaultZone='system',defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=0x3c,throwOnInvalid,defaultWeekSettings=null;class Settings{static get['now'](){return _0x433fd4;}static set['now'](_0x331ebc){_0x433fd4=_0x331ebc;}static set['defaultZone'](_0x5c62c6){defaultZone=_0x5c62c6;}static get['defaultZone'](){return _0x150d64(defaultZone,SystemZone['instance']);}static get['defaultLocale'](){return defaultLocale;}static set['defaultLocale'](_0x462aba){defaultLocale=_0x462aba;}static get['defaultNumberingSystem'](){return defaultNumberingSystem;}static set['defaultNumberingSystem'](_0x558b3e){defaultNumberingSystem=_0x558b3e;}static get['defaultOutputCalendar'](){return defaultOutputCalendar;}static set['defaultOutputCalendar'](_0x3cbcb4){defaultOutputCalendar=_0x3cbcb4;}static get['defaultWeekSettings'](){return defaultWeekSettings;}static set['defaultWeekSettings'](_0x564009){defaultWeekSettings=validateWeekSettings(_0x564009);}static get['twoDigitCutoffYear'](){return twoDigitCutoffYear;}static set['twoDigitCutoffYear'](_0x34e6e4){twoDigitCutoffYear=_0x34e6e4%0x64;}static get['throwOnInvalid'](){return throwOnInvalid;}static set['throwOnInvalid'](t){throwOnInvalid=t;}static['resetCaches'](){_0x591980['resetCache'](),_0x2a3f8f['resetCache'](),DateTime['resetCache'](),resetDigitRegexCache();}}class _0x4cd47e{constructor(_0xbc09e1,_0x5ef203){this['reason']=_0xbc09e1,this['explanation']=_0x5ef203;}['toMessage'](){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}}const _0x1569b0=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],_0x284e8f=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function unitOutOfRange(_0x4064f1,_0xa7d3a){return new _0x4cd47e('unit\x20out\x20of\x20range','you\x20specified\x20'+_0xa7d3a+'\x20(of\x20type\x20'+typeof _0xa7d3a+')\x20as\x20a\x20'+_0x4064f1+',\x20which\x20is\x20invalid');}function _0xa24169(_0x134587,_0x456c87,_0x3fb952){const _0x5a7c11=new Date(Date['UTC'](_0x134587,_0x456c87-0x1,_0x3fb952));_0x134587<0x64&&_0x134587>=0x0&&_0x5a7c11['setUTCFullYear'](_0x5a7c11['getUTCFullYear']()-0x76c);const _0x5b8038=_0x5a7c11['getUTCDay']();return 0x0===_0x5b8038?0x7:_0x5b8038;}function computeOrdinal(_0x488a35,_0x8946f3,_0x49081e){return _0x49081e+(_0x23ea40(_0x488a35)?_0x284e8f:_0x1569b0)[_0x8946f3-0x1];}function uncomputeOrdinal(_0x2bcfe9,_0x359a2d){const _0x1bd6fe=_0x23ea40(_0x2bcfe9)?_0x284e8f:_0x1569b0,_0x3b3dce=_0x1bd6fe['findIndex'](_0x1a6dcb=>_0x1a6dcb<_0x359a2d);return{'month':_0x3b3dce+0x1,'day':_0x359a2d-_0x1bd6fe[_0x3b3dce]};}function _0xf5f7f(_0x2311a1,_0x51f0b8){return(_0x2311a1-_0x51f0b8+0x7)%0x7+0x1;}function _0x1fd24f(_0x238b95,_0x518f5a=0x4,_0x323cf5=0x1){const {year:_0x46c492,month:_0x379737,day:_0x250c07}=_0x238b95,_0x44756a=computeOrdinal(_0x46c492,_0x379737,_0x250c07),_0x3d0a79=_0xf5f7f(_0xa24169(_0x46c492,_0x379737,_0x250c07),_0x323cf5);let _0x684ee8,_0x5bc168=Math['floor']((_0x44756a-_0x3d0a79+0xe-_0x518f5a)/0x7);return _0x5bc168<0x1?(_0x684ee8=_0x46c492-0x1,_0x5bc168=_0x1c6138(_0x684ee8,_0x518f5a,_0x323cf5)):_0x5bc168>_0x1c6138(_0x46c492,_0x518f5a,_0x323cf5)?(_0x684ee8=_0x46c492+0x1,_0x5bc168=0x1):_0x684ee8=_0x46c492,{'weekYear':_0x684ee8,'weekNumber':_0x5bc168,'weekday':_0x3d0a79,...timeObject(_0x238b95)};}function _0x5b3332(_0x5ee65a,_0x517134=0x4,_0x20c4a9=0x1){const {weekYear:_0x42d520,weekNumber:_0x76e915,weekday:_0x5c63a5}=_0x5ee65a,_0x42143f=_0xf5f7f(_0xa24169(_0x42d520,0x1,_0x517134),_0x20c4a9),_0x22fab5=_0x18de30(_0x42d520);let _0x31dacf,_0x4ed721=0x7*_0x76e915+_0x5c63a5-_0x42143f-0x7+_0x517134;_0x4ed721<0x1?(_0x31dacf=_0x42d520-0x1,_0x4ed721+=_0x18de30(_0x31dacf)):_0x4ed721>_0x22fab5?(_0x31dacf=_0x42d520+0x1,_0x4ed721-=_0x18de30(_0x42d520)):_0x31dacf=_0x42d520;const {month:_0x2304ee,day:_0x3c8f6a}=uncomputeOrdinal(_0x31dacf,_0x4ed721);return{'year':_0x31dacf,'month':_0x2304ee,'day':_0x3c8f6a,...timeObject(_0x5ee65a)};}function _0x99c3aa(_0x4d74ea){const {year:_0x40cebb,month:_0x471061,day:_0x3623f8}=_0x4d74ea;return{'year':_0x40cebb,'ordinal':computeOrdinal(_0x40cebb,_0x471061,_0x3623f8),...timeObject(_0x4d74ea)};}function _0x19ea0a(_0x1ea786){const {year:_0x528fde,ordinal:_0x53693e}=_0x1ea786,{month:_0x5072ca,day:_0x20d83e}=uncomputeOrdinal(_0x528fde,_0x53693e);return{'year':_0x528fde,'month':_0x5072ca,'day':_0x20d83e,...timeObject(_0x1ea786)};}function _0x491439(_0x6d5e50,_0x1db98b){if(!_0x44e2ab(_0x6d5e50['localWeekday'])||!_0x44e2ab(_0x6d5e50['localWeekNumber'])||!_0x44e2ab(_0x6d5e50['localWeekYear'])){if(!_0x44e2ab(_0x6d5e50['weekday'])||!_0x44e2ab(_0x6d5e50['weekNumber'])||!_0x44e2ab(_0x6d5e50['weekYear']))throw new ConflictingSpecificationError('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return _0x44e2ab(_0x6d5e50['localWeekday'])||(_0x6d5e50['weekday']=_0x6d5e50['localWeekday']),_0x44e2ab(_0x6d5e50['localWeekNumber'])||(_0x6d5e50['weekNumber']=_0x6d5e50['localWeekNumber']),_0x44e2ab(_0x6d5e50['localWeekYear'])||(_0x6d5e50['weekYear']=_0x6d5e50['localWeekYear']),delete _0x6d5e50['localWeekday'],delete _0x6d5e50['localWeekNumber'],delete _0x6d5e50['localWeekYear'],{'minDaysInFirstWeek':_0x1db98b['getMinDaysInFirstWeek'](),'startOfWeek':_0x1db98b['getStartOfWeek']()};}return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};}function hasInvalidWeekData(_0x118b74,_0xcfb2d5=0x4,_0x5760d8=0x1){const _0x48f714=isInteger(_0x118b74['weekYear']),_0x3a82d7=integerBetween(_0x118b74['weekNumber'],0x1,_0x1c6138(_0x118b74['weekYear'],_0xcfb2d5,_0x5760d8)),_0x40a80d=integerBetween(_0x118b74['weekday'],0x1,0x7);return _0x48f714?_0x3a82d7?!_0x40a80d&&unitOutOfRange('weekday',_0x118b74['weekday']):unitOutOfRange('week',_0x118b74['weekNumber']):unitOutOfRange('weekYear',_0x118b74['weekYear']);}function hasInvalidOrdinalData(_0x10800e){const _0xa1ebc3=isInteger(_0x10800e['year']),_0x5b7e6c=integerBetween(_0x10800e['ordinal'],0x1,_0x18de30(_0x10800e['year']));return _0xa1ebc3?!_0x5b7e6c&&unitOutOfRange('ordinal',_0x10800e['ordinal']):unitOutOfRange('year',_0x10800e['year']);}function hasInvalidGregorianData(_0x5af9bf){const _0x1b4621=isInteger(_0x5af9bf['year']),_0x2ab5c9=integerBetween(_0x5af9bf['month'],0x1,0xc),_0x94d245=integerBetween(_0x5af9bf['day'],0x1,daysInMonth(_0x5af9bf['year'],_0x5af9bf['month']));return _0x1b4621?_0x2ab5c9?!_0x94d245&&unitOutOfRange('day',_0x5af9bf['day']):unitOutOfRange('month',_0x5af9bf['month']):unitOutOfRange('year',_0x5af9bf['year']);}function hasInvalidTimeData(_0x1001a4){const {hour:_0x4234dd,minute:_0x2f4b84,second:_0x20c6d8,millisecond:_0xd8726d}=_0x1001a4,_0x3df951=integerBetween(_0x4234dd,0x0,0x17)||0x18===_0x4234dd&&0x0===_0x2f4b84&&0x0===_0x20c6d8&&0x0===_0xd8726d,_0x1e4e5d=integerBetween(_0x2f4b84,0x0,0x3b),_0x3e4d0d=integerBetween(_0x20c6d8,0x0,0x3b),_0x24ecc3=integerBetween(_0xd8726d,0x0,0x3e7);return _0x3df951?_0x1e4e5d?_0x3e4d0d?!_0x24ecc3&&unitOutOfRange('millisecond',_0xd8726d):unitOutOfRange('second',_0x20c6d8):unitOutOfRange('minute',_0x2f4b84):unitOutOfRange('hour',_0x4234dd);}function _0x44e2ab(_0x21b4c8){return void 0x0===_0x21b4c8;}function _0x43fd0f(_0x2e9ba9){return'number'==typeof _0x2e9ba9;}function isInteger(_0xac0b1c){return'number'==typeof _0xac0b1c&&_0xac0b1c%0x1==0x0;}function isString(_0x2e6000){return'string'==typeof _0x2e6000;}function isDate(_0x412d43){return'[object\x20Date]'===Object['prototype']['toString']['call'](_0x412d43);}function hasRelative(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0x1420bd){return!0x1;}}function _0x229809(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x4fadee){return!0x1;}}function _0x5caf51(_0x567370){return Array['isArray'](_0x567370)?_0x567370:[_0x567370];}function bestBy(_0x10de4b,_0x2828f3,_0xfcadbd){if(0x0!==_0x10de4b['length'])return _0x10de4b['reduce']((_0x175887,_0x2d8756)=>{const _0x4b7c5f=[_0x2828f3(_0x2d8756),_0x2d8756];return _0x175887&&_0xfcadbd(_0x175887[0x0],_0x4b7c5f[0x0])===_0x175887[0x0]?_0x175887:_0x4b7c5f;},null)[0x1];}function _0x120014(_0x2f732c,_0x3b3a78){return _0x3b3a78['reduce']((_0x16e23a,_0x5b12fa)=>(_0x16e23a[_0x5b12fa]=_0x2f732c[_0x5b12fa],_0x16e23a),{});}function hasOwnProperty(_0x21f395,_0x328eca){return Object['prototype']['hasOwnProperty']['call'](_0x21f395,_0x328eca);}function validateWeekSettings(_0x269861){if(null==_0x269861)return null;if('object'!=typeof _0x269861)throw new InvalidArgumentError('Week\x20settings\x20must\x20be\x20an\x20object');if(!integerBetween(_0x269861['firstDay'],0x1,0x7)||!integerBetween(_0x269861['minimalDays'],0x1,0x7)||!Array['isArray'](_0x269861['weekend'])||_0x269861['weekend']['some'](_0x23b046=>!integerBetween(_0x23b046,0x1,0x7)))throw new InvalidArgumentError('Invalid\x20week\x20settings');return{'firstDay':_0x269861['firstDay'],'minimalDays':_0x269861['minimalDays'],'weekend':Array['from'](_0x269861['weekend'])};}function integerBetween(_0x13fcd2,_0x52c4aa,_0x53496b){return isInteger(_0x13fcd2)&&_0x13fcd2>=_0x52c4aa&&_0x13fcd2<=_0x53496b;}function _0x4b6ec3(_0x2c2dff,_0x35de16){return _0x2c2dff-_0x35de16*Math['floor'](_0x2c2dff/_0x35de16);}function padStart(_0x31d20b,_0x1464c8=0x2){let _0x533d6b;return _0x533d6b=_0x31d20b<0x0?'-'+(''+-_0x31d20b)['padStart'](_0x1464c8,'0'):(''+_0x31d20b)['padStart'](_0x1464c8,'0'),_0x533d6b;}function parseInteger(_0x353418){return _0x44e2ab(_0x353418)||null===_0x353418||''===_0x353418?void 0x0:parseInt(_0x353418,0xa);}function parseFloating(_0x45f862){return _0x44e2ab(_0x45f862)||null===_0x45f862||''===_0x45f862?void 0x0:parseFloat(_0x45f862);}function _0x3dd24a(_0x1613f2){if(!_0x44e2ab(_0x1613f2)&&null!==_0x1613f2&&''!==_0x1613f2){const _0x1bd91e=0x3e8*parseFloat('0.'+_0x1613f2);return Math['floor'](_0x1bd91e);}}function _0x34899b(_0x1dcf9c,_0x3f1399,_0x4a09c8=!0x1){const _0x1b04a2=0xa**_0x3f1399;return(_0x4a09c8?Math['trunc']:Math['round'])(_0x1dcf9c*_0x1b04a2)/_0x1b04a2;}function _0x23ea40(_0xf71e62){return _0xf71e62%0x4==0x0&&(_0xf71e62%0x64!=0x0||_0xf71e62%0x190==0x0);}function _0x18de30(_0x1757f){return _0x23ea40(_0x1757f)?0x16e:0x16d;}function daysInMonth(_0x3ca3ff,_0x35d47f){const _0x14eae2=_0x4b6ec3(_0x35d47f-0x1,0xc)+0x1;return 0x2===_0x14eae2?_0x23ea40(_0x3ca3ff+(_0x35d47f-_0x14eae2)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0x14eae2-0x1];}function _0x4f573e(_0x38f3cc){let _0x37ec7b=Date['UTC'](_0x38f3cc['year'],_0x38f3cc['month']-0x1,_0x38f3cc['day'],_0x38f3cc['hour'],_0x38f3cc['minute'],_0x38f3cc['second'],_0x38f3cc['millisecond']);return _0x38f3cc['year']<0x64&&_0x38f3cc['year']>=0x0&&(_0x37ec7b=new Date(_0x37ec7b),_0x37ec7b['setUTCFullYear'](_0x38f3cc['year'],_0x38f3cc['month']-0x1,_0x38f3cc['day'])),+_0x37ec7b;}function firstWeekOffset(_0x293a67,_0x158f25,_0x59ef6e){return-_0xf5f7f(_0xa24169(_0x293a67,0x1,_0x158f25),_0x59ef6e)+_0x158f25-0x1;}function _0x1c6138(_0x2354e4,_0x3e6b90=0x4,_0x36d7b9=0x1){const _0x340f70=firstWeekOffset(_0x2354e4,_0x3e6b90,_0x36d7b9),_0x335f94=firstWeekOffset(_0x2354e4+0x1,_0x3e6b90,_0x36d7b9);return(_0x18de30(_0x2354e4)-_0x340f70+_0x335f94)/0x7;}function untruncateYear(_0x5b86a3){return _0x5b86a3>0x63?_0x5b86a3:_0x5b86a3>Settings['twoDigitCutoffYear']?0x76c+_0x5b86a3:0x7d0+_0x5b86a3;}function _0x5e0cd0(_0x6fc6d9,_0x5ec727,_0x1ebfea,_0x26181b=null){const _0x48c84d=new Date(_0x6fc6d9),_0x25f2b1={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0x26181b&&(_0x25f2b1['timeZone']=_0x26181b);const _0x3f8edd={'timeZoneName':_0x5ec727,..._0x25f2b1},_0x52448c=new Intl['DateTimeFormat'](_0x1ebfea,_0x3f8edd)['formatToParts'](_0x48c84d)['find'](_0x1b9ea3=>'timezonename'===_0x1b9ea3['type']['toLowerCase']());return _0x52448c?_0x52448c['value']:null;}function signedOffset(_0x3c4fdc,_0x405b54){let _0x26aa1c=parseInt(_0x3c4fdc,0xa);Number['isNaN'](_0x26aa1c)&&(_0x26aa1c=0x0);const _0x2680c8=parseInt(_0x405b54,0xa)||0x0;return 0x3c*_0x26aa1c+(_0x26aa1c<0x0||Object['is'](_0x26aa1c,-0x0)?-_0x2680c8:_0x2680c8);}function _0x353c2f(_0x28be1a){const _0x8c45ef=Number(_0x28be1a);if('boolean'==typeof _0x28be1a||''===_0x28be1a||Number['isNaN'](_0x8c45ef))throw new InvalidArgumentError('Invalid\x20unit\x20value\x20'+_0x28be1a);return _0x8c45ef;}function normalizeObject(_0x5a96f8,_0x26a1c9){const _0x3b335e={};for(const _0x4d1f1d in _0x5a96f8)if(hasOwnProperty(_0x5a96f8,_0x4d1f1d)){const _0x25ff91=_0x5a96f8[_0x4d1f1d];if(null==_0x25ff91)continue;_0x3b335e[_0x26a1c9(_0x4d1f1d)]=_0x353c2f(_0x25ff91);}return _0x3b335e;}function formatOffset(_0x2fc24,_0x299062){const _0x214da2=Math['trunc'](Math['abs'](_0x2fc24/0x3c)),_0x5d50ae=Math['trunc'](Math['abs'](_0x2fc24%0x3c)),_0x5653d8=_0x2fc24>=0x0?'+':'-';switch(_0x299062){case'short':return''+_0x5653d8+padStart(_0x214da2,0x2)+':'+padStart(_0x5d50ae,0x2);case'narrow':return''+_0x5653d8+_0x214da2+(_0x5d50ae>0x0?':'+_0x5d50ae:'');case'techie':return''+_0x5653d8+padStart(_0x214da2,0x2)+padStart(_0x5d50ae,0x2);default:throw new RangeError('Value\x20format\x20'+_0x299062+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function timeObject(_0x59fba6){return _0x120014(_0x59fba6,['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(_0x45cc0a){switch(_0x45cc0a){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 _0x40f088=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],weekdaysShort=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],_0x15c3d1=['M','T','W','T','F','S','S'];function _0x200156(_0x1d0843){switch(_0x1d0843){case'narrow':return[..._0x15c3d1];case'short':return[...weekdaysShort];case'long':return[..._0x40f088];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const _0x1c2db7=['AM','PM'],_0x870f55=['Before\x20Christ','Anno\x20Domini'],erasShort=['BC','AD'],_0x4c6999=['B','A'];function _0x52c578(_0x5450da){switch(_0x5450da){case'narrow':return[..._0x4c6999];case'short':return[...erasShort];case'long':return[..._0x870f55];default:return null;}}function meridiemForDateTime(_0x13f263){return _0x1c2db7[_0x13f263['hour']<0xc?0x0:0x1];}function weekdayForDateTime(_0x4365e8,_0x3e0c8e){return _0x200156(_0x3e0c8e)[_0x4365e8['weekday']-0x1];}function monthForDateTime(_0x4e8755,_0x5af5ec){return months(_0x5af5ec)[_0x4e8755['month']-0x1];}function eraForDateTime(_0x272b81,_0x4d9d72){return _0x52c578(_0x4d9d72)[_0x272b81['year']<0x0?0x0:0x1];}function formatRelativeTime(_0x4e6f88,_0x4ffe7b,_0x3d1d60='always',_0x4fb10d=!0x1){const _0x159d51={'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.']},_0x2414f0=-0x1===['hours','minutes','seconds']['indexOf'](_0x4e6f88);if('auto'===_0x3d1d60&&_0x2414f0){const _0x21d6a0='days'===_0x4e6f88;switch(_0x4ffe7b){case 0x1:return _0x21d6a0?'tomorrow':'next\x20'+_0x159d51[_0x4e6f88][0x0];case-0x1:return _0x21d6a0?'yesterday':'last\x20'+_0x159d51[_0x4e6f88][0x0];case 0x0:return _0x21d6a0?'today':'this\x20'+_0x159d51[_0x4e6f88][0x0];}}const _0x1bf024=Object['is'](_0x4ffe7b,-0x0)||_0x4ffe7b<0x0,_0x52d4d3=Math['abs'](_0x4ffe7b),_0x14fc38=0x1===_0x52d4d3,_0x58fab8=_0x159d51[_0x4e6f88],_0x2311f8=_0x4fb10d?_0x14fc38?_0x58fab8[0x1]:_0x58fab8[0x2]||_0x58fab8[0x1]:_0x14fc38?_0x159d51[_0x4e6f88][0x0]:_0x4e6f88;return _0x1bf024?_0x52d4d3+'\x20'+_0x2311f8+'\x20ago':'in\x20'+_0x52d4d3+'\x20'+_0x2311f8;}function stringifyTokens(_0x255123,_0x4e41c1){let _0x14433c='';for(const _0x42a186 of _0x255123)_0x42a186['literal']?_0x14433c+=_0x42a186['val']:_0x14433c+=_0x4e41c1(_0x42a186['val']);return _0x14433c;}const macroTokenToFormatOpts={'D':_0x56ae58,'DD':_0x8907f9,'DDD':_0x37796a,'DDDD':_0x9673ee,'t':_0x3b29f7,'tt':_0x24fba5,'ttt':_0x3ba703,'tttt':_0x5d099a,'T':_0x512e8e,'TT':_0x44daba,'TTT':_0x443ca0,'TTTT':_0x43445b,'f':_0x6b62ef,'ff':_0x58e2ac,'fff':_0x1f25ec,'ffff':_0x5af166,'F':_0x19d2b1,'FF':_0x518711,'FFF':_0x4c3f7,'FFFF':_0x3ed638};class Formatter{static['create'](_0x1e672a,_0x557427={}){return new Formatter(_0x1e672a,_0x557427);}static['parseFormat'](_0xe0bd86){let _0x414bd5=null,_0x3fbea8='',_0x303310=!0x1;const _0x5598d2=[];for(let _0x12699e=0x0;_0x12699e<_0xe0bd86['length'];_0x12699e++){const _0x110302=_0xe0bd86['charAt'](_0x12699e);'\x27'===_0x110302?(_0x3fbea8['length']>0x0&&_0x5598d2['push']({'literal':_0x303310||/^\s+$/['test'](_0x3fbea8),'val':_0x3fbea8}),_0x414bd5=null,_0x3fbea8='',_0x303310=!_0x303310):_0x303310||_0x110302===_0x414bd5?_0x3fbea8+=_0x110302:(_0x3fbea8['length']>0x0&&_0x5598d2['push']({'literal':/^\s+$/['test'](_0x3fbea8),'val':_0x3fbea8}),_0x3fbea8=_0x110302,_0x414bd5=_0x110302);}return _0x3fbea8['length']>0x0&&_0x5598d2['push']({'literal':_0x303310||/^\s+$/['test'](_0x3fbea8),'val':_0x3fbea8}),_0x5598d2;}static['macroTokenToFormatOpts'](_0x4f4b41){return macroTokenToFormatOpts[_0x4f4b41];}constructor(_0x581a9d,_0x1a26ca){this['opts']=_0x1a26ca,this['loc']=_0x581a9d,this['systemLoc']=null;}['formatWithSystemDefault'](_0xadf309,_0x2a96d1){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0xadf309,{...this['opts'],..._0x2a96d1})['format']();}['dtFormatter'](_0x3a0e3e,_0x4fbf71={}){return this['loc']['dtFormatter'](_0x3a0e3e,{...this['opts'],..._0x4fbf71});}['formatDateTime'](_0x5a299b,_0x48c73f){return this['dtFormatter'](_0x5a299b,_0x48c73f)['format']();}['formatDateTimeParts'](_0x4a790c,_0x3e631e){return this['dtFormatter'](_0x4a790c,_0x3e631e)['formatToParts']();}['formatInterval'](_0x293acd,_0x3e9aec){return this['dtFormatter'](_0x293acd['start'],_0x3e9aec)['dtf']['formatRange'](_0x293acd['start']['toJSDate'](),_0x293acd['end']['toJSDate']());}['resolvedOptions'](_0x151513,_0x38d6b1){return this['dtFormatter'](_0x151513,_0x38d6b1)['resolvedOptions']();}['num'](_0xa154c4,_0x5e8342=0x0){if(this['opts']['forceSimple'])return padStart(_0xa154c4,_0x5e8342);const _0x3f06bc={...this['opts']};return _0x5e8342>0x0&&(_0x3f06bc['padTo']=_0x5e8342),this['loc']['numberFormatter'](_0x3f06bc)['format'](_0xa154c4);}['formatDateTimeFromString'](_0x739916,_0x1e15ed){const _0x5e3c60='en'===this['loc']['listingMode'](),_0xac4fb2=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x437f66=(_0x4e3c97,_0x433b16)=>this['loc']['extract'](_0x739916,_0x4e3c97,_0x433b16),_0x582164=_0x2284bc=>_0x739916['isOffsetFixed']&&0x0===_0x739916['offset']&&_0x2284bc['allowZ']?'Z':_0x739916['isValid']?_0x739916['zone']['formatOffset'](_0x739916['ts'],_0x2284bc['format']):'',_0x362425=(_0x27bb00,_0xddd3a3)=>_0x5e3c60?monthForDateTime(_0x739916,_0x27bb00):_0x437f66(_0xddd3a3?{'month':_0x27bb00}:{'month':_0x27bb00,'day':'numeric'},'month'),_0xa65604=(_0x2ad603,_0x24d187)=>_0x5e3c60?weekdayForDateTime(_0x739916,_0x2ad603):_0x437f66(_0x24d187?{'weekday':_0x2ad603}:{'weekday':_0x2ad603,'month':'long','day':'numeric'},'weekday'),_0x13908e=_0x8c2a37=>{const _0x3b3fc1=Formatter['macroTokenToFormatOpts'](_0x8c2a37);return _0x3b3fc1?this['formatWithSystemDefault'](_0x739916,_0x3b3fc1):_0x8c2a37;},_0x51b112=_0x3ca841=>_0x5e3c60?eraForDateTime(_0x739916,_0x3ca841):_0x437f66({'era':_0x3ca841},'era');return stringifyTokens(Formatter['parseFormat'](_0x1e15ed),_0x39ee61=>{switch(_0x39ee61){case'S':return this['num'](_0x739916['millisecond']);case'u':case'SSS':return this['num'](_0x739916['millisecond'],0x3);case's':return this['num'](_0x739916['second']);case'ss':return this['num'](_0x739916['second'],0x2);case'uu':return this['num'](Math['floor'](_0x739916['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x739916['millisecond']/0x64));case'm':return this['num'](_0x739916['minute']);case'mm':return this['num'](_0x739916['minute'],0x2);case'h':return this['num'](_0x739916['hour']%0xc==0x0?0xc:_0x739916['hour']%0xc);case'hh':return this['num'](_0x739916['hour']%0xc==0x0?0xc:_0x739916['hour']%0xc,0x2);case'H':return this['num'](_0x739916['hour']);case'HH':return this['num'](_0x739916['hour'],0x2);case'Z':return _0x582164({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0x582164({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0x582164({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x739916['zone']['offsetName'](_0x739916['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x739916['zone']['offsetName'](_0x739916['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x739916['zoneName'];case'a':return _0x5e3c60?meridiemForDateTime(_0x739916):_0x437f66({'hour':'numeric','hourCycle':'h12'},'dayperiod');case'd':return _0xac4fb2?_0x437f66({'day':'numeric'},'day'):this['num'](_0x739916['day']);case'dd':return _0xac4fb2?_0x437f66({'day':'2-digit'},'day'):this['num'](_0x739916['day'],0x2);case'c':case'E':return this['num'](_0x739916['weekday']);case'ccc':return _0xa65604('short',!0x0);case'cccc':return _0xa65604('long',!0x0);case'ccccc':return _0xa65604('narrow',!0x0);case'EEE':return _0xa65604('short',!0x1);case'EEEE':return _0xa65604('long',!0x1);case'EEEEE':return _0xa65604('narrow',!0x1);case'L':return _0xac4fb2?_0x437f66({'month':'numeric','day':'numeric'},'month'):this['num'](_0x739916['month']);case'LL':return _0xac4fb2?_0x437f66({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x739916['month'],0x2);case'LLL':return _0x362425('short',!0x0);case'LLLL':return _0x362425('long',!0x0);case'LLLLL':return _0x362425('narrow',!0x0);case'M':return _0xac4fb2?_0x437f66({'month':'numeric'},'month'):this['num'](_0x739916['month']);case'MM':return _0xac4fb2?_0x437f66({'month':'2-digit'},'month'):this['num'](_0x739916['month'],0x2);case'MMM':return _0x362425('short',!0x1);case'MMMM':return _0x362425('long',!0x1);case'MMMMM':return _0x362425('narrow',!0x1);case'y':return _0xac4fb2?_0x437f66({'year':'numeric'},'year'):this['num'](_0x739916['year']);case'yy':return _0xac4fb2?_0x437f66({'year':'2-digit'},'year'):this['num'](_0x739916['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0xac4fb2?_0x437f66({'year':'numeric'},'year'):this['num'](_0x739916['year'],0x4);case'yyyyyy':return _0xac4fb2?_0x437f66({'year':'numeric'},'year'):this['num'](_0x739916['year'],0x6);case'G':return _0x51b112('short');case'GG':return _0x51b112('long');case'GGGGG':return _0x51b112('narrow');case'kk':return this['num'](_0x739916['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x739916['weekYear'],0x4);case'W':return this['num'](_0x739916['weekNumber']);case'WW':return this['num'](_0x739916['weekNumber'],0x2);case'n':return this['num'](_0x739916['localWeekNumber']);case'nn':return this['num'](_0x739916['localWeekNumber'],0x2);case'ii':return this['num'](_0x739916['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x739916['localWeekYear'],0x4);case'o':return this['num'](_0x739916['ordinal']);case'ooo':return this['num'](_0x739916['ordinal'],0x3);case'q':return this['num'](_0x739916['quarter']);case'qq':return this['num'](_0x739916['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x739916['ts']/0x3e8));case'x':return this['num'](_0x739916['ts']);default:return _0x13908e(_0x39ee61);}});}['formatDurationFromString'](_0x45b0ad,_0x546ff4){const _0x29af11=_0xe83e14=>{switch(_0xe83e14[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;}},_0x261272=Formatter['parseFormat'](_0x546ff4),_0x6a845b=_0x261272['reduce']((_0x2adc3e,{literal:_0x5ce08e,val:_0x28ea27})=>_0x5ce08e?_0x2adc3e:_0x2adc3e['concat'](_0x28ea27),[]),_0x2e311c=_0x45b0ad['shiftTo'](..._0x6a845b['map'](_0x29af11)['filter'](t=>t));return stringifyTokens(_0x261272,(_0x5eb45e=>_0x2aa145=>{const _0x54e3ab=_0x29af11(_0x2aa145);return _0x54e3ab?this['num'](_0x5eb45e['get'](_0x54e3ab),_0x2aa145['length']):_0x2aa145;})(_0x2e311c));}}const _0x19c0ad=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _0xe06664(..._0x43a189){const _0x307004=_0x43a189['reduce']((_0x504333,_0x20f624)=>_0x504333+_0x20f624['source'],'');return RegExp('^'+_0x307004+'$');}function combineExtractors(..._0xceda07){return _0x373b57=>_0xceda07['reduce'](([_0x22d863,_0x4bd07c,_0x1d2ebc],_0x4a42e8)=>{const [_0x5ca4a7,_0x1a7b95,_0x569675]=_0x4a42e8(_0x373b57,_0x1d2ebc);return[{..._0x22d863,..._0x5ca4a7},_0x1a7b95||_0x4bd07c,_0x569675];},[{},null,0x1])['slice'](0x0,0x2);}function _0x39a98a(_0x1ec19b,..._0x2447c1){if(null==_0x1ec19b)return[null,null];for(const [_0x7c33d7,_0x1cc4c4]of _0x2447c1){const _0x1b91d9=_0x7c33d7['exec'](_0x1ec19b);if(_0x1b91d9)return _0x1cc4c4(_0x1b91d9);}return[null,null];}function _0x2730b8(..._0x3cd499){return(_0xcf3edc,_0x5ce1e6)=>{const _0x28595f={};let _0x4a265b;for(_0x4a265b=0x0;_0x4a265b<_0x3cd499['length'];_0x4a265b++)_0x28595f[_0x3cd499[_0x4a265b]]=parseInteger(_0xcf3edc[_0x5ce1e6+_0x4a265b]);return[_0x28595f,null,_0x5ce1e6+_0x4a265b];};}const offsetRegex=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,isoExtendedZone='(?:'+offsetRegex['source']+'?(?:\x5c[('+_0x19c0ad['source']+')\x5c])?)?',_0xa72d82=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_0x687457=RegExp(''+_0xa72d82['source']+isoExtendedZone),isoTimeExtensionRegex=RegExp('(?:T'+_0x687457['source']+')?'),_0x2f5e2d=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,_0x51828c=/(\d{4})-?W(\d\d)(?:-?(\d))?/,_0x152166=/(\d{4})-?(\d{3})/,extractISOWeekData=_0x2730b8('weekYear','weekNumber','weekDay'),extractISOOrdinalData=_0x2730b8('year','ordinal'),_0x12d8f8=/(\d{4})-(\d\d)-(\d\d)/,_0x2d89f6=RegExp(_0xa72d82['source']+'\x20?(?:'+offsetRegex['source']+'|('+_0x19c0ad['source']+'))?'),sqlTimeExtensionRegex=RegExp('(?:\x20'+_0x2d89f6['source']+')?');function int(_0x1684bc,_0x33dd2e,_0x7113d7){const _0x16e441=_0x1684bc[_0x33dd2e];return _0x44e2ab(_0x16e441)?_0x7113d7:parseInteger(_0x16e441);}function extractISOYmd(_0x56862f,_0x4c9df8){return[{'year':int(_0x56862f,_0x4c9df8),'month':int(_0x56862f,_0x4c9df8+0x1,0x1),'day':int(_0x56862f,_0x4c9df8+0x2,0x1)},null,_0x4c9df8+0x3];}function extractISOTime(_0x4a8ba0,_0x7f39ad){return[{'hours':int(_0x4a8ba0,_0x7f39ad,0x0),'minutes':int(_0x4a8ba0,_0x7f39ad+0x1,0x0),'seconds':int(_0x4a8ba0,_0x7f39ad+0x2,0x0),'milliseconds':_0x3dd24a(_0x4a8ba0[_0x7f39ad+0x3])},null,_0x7f39ad+0x4];}function extractISOOffset(_0x2da3bb,_0xf1a9b2){const _0x26eae5=!_0x2da3bb[_0xf1a9b2]&&!_0x2da3bb[_0xf1a9b2+0x1],_0x46f622=signedOffset(_0x2da3bb[_0xf1a9b2+0x1],_0x2da3bb[_0xf1a9b2+0x2]);return[{},_0x26eae5?null:FixedOffsetZone['instance'](_0x46f622),_0xf1a9b2+0x3];}function extractIANAZone(_0x4d5df8,_0x102773){return[{},_0x4d5df8[_0x102773]?_0x2a3f8f['create'](_0x4d5df8[_0x102773]):null,_0x102773+0x1];}const _0x5ca9cd=RegExp('^T?'+_0xa72d82['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(_0x42a445){const [_0x563cb1,_0x49b4be,_0x1dd2e9,_0x1add59,_0x220219,_0x15f728,_0x1cec0a,_0x5ca539,_0x30d2e5]=_0x42a445,_0x362e4d='-'===_0x563cb1[0x0],_0x2b1bac=_0x5ca539&&'-'===_0x5ca539[0x0],_0x19492c=(_0x1dcc50,_0x51b1ca=!0x1)=>void 0x0!==_0x1dcc50&&(_0x51b1ca||_0x1dcc50&&_0x362e4d)?-_0x1dcc50:_0x1dcc50;return[{'years':_0x19492c(parseFloating(_0x49b4be)),'months':_0x19492c(parseFloating(_0x1dd2e9)),'weeks':_0x19492c(parseFloating(_0x1add59)),'days':_0x19492c(parseFloating(_0x220219)),'hours':_0x19492c(parseFloating(_0x15f728)),'minutes':_0x19492c(parseFloating(_0x1cec0a)),'seconds':_0x19492c(parseFloating(_0x5ca539),'-0'===_0x5ca539),'milliseconds':_0x19492c(_0x3dd24a(_0x30d2e5),_0x2b1bac)}];}const obsOffsets={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function fromStrings(_0x1763bf,_0x3ea9b5,_0x27c617,_0x399208,_0xa45bc7,_0x1e15b6,_0xfa137c){const _0x457908={'year':0x2===_0x3ea9b5['length']?untruncateYear(parseInteger(_0x3ea9b5)):parseInteger(_0x3ea9b5),'month':monthsShort['indexOf'](_0x27c617)+0x1,'day':parseInteger(_0x399208),'hour':parseInteger(_0xa45bc7),'minute':parseInteger(_0x1e15b6)};return _0xfa137c&&(_0x457908['second']=parseInteger(_0xfa137c)),_0x1763bf&&(_0x457908['weekday']=_0x1763bf['length']>0x3?_0x40f088['indexOf'](_0x1763bf)+0x1:weekdaysShort['indexOf'](_0x1763bf)+0x1),_0x457908;}const _0x54e31c=/^(?:(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(_0x6993f5){const [,_0x47d1a4,_0x53a199,_0x216b1a,_0x1dd78c,_0x4186f5,_0x198cae,_0x191139,_0x23f250,_0x318c2b,_0x5c01b1,_0x1725d7]=_0x6993f5,_0xc69914=fromStrings(_0x47d1a4,_0x1dd78c,_0x216b1a,_0x53a199,_0x4186f5,_0x198cae,_0x191139);let _0x237717;return _0x237717=_0x23f250?obsOffsets[_0x23f250]:_0x318c2b?0x0:signedOffset(_0x5c01b1,_0x1725d7),[_0xc69914,new FixedOffsetZone(_0x237717)];}function _0x35d272(_0x17390e){return _0x17390e['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}const _0x23ab63=/^(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$/,_0x1092f8=/^(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$/,_0x3b7746=/^(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(_0xe8bcd4){const [,_0x1cf34d,_0x381b01,_0x2898f9,_0x4b907c,_0x1a176a,_0x18e4dd,_0x583f4c]=_0xe8bcd4;return[fromStrings(_0x1cf34d,_0x4b907c,_0x2898f9,_0x381b01,_0x1a176a,_0x18e4dd,_0x583f4c),FixedOffsetZone['utcInstance']];}function extractASCII(_0x338f3a){const [,_0x5f0ca7,_0x4359a4,_0x4940ad,_0x445189,_0x17f051,_0x659d5e,_0x15b275]=_0x338f3a;return[fromStrings(_0x5f0ca7,_0x15b275,_0x4359a4,_0x4940ad,_0x445189,_0x17f051,_0x659d5e),FixedOffsetZone['utcInstance']];}const isoYmdWithTimeExtensionRegex=_0xe06664(_0x2f5e2d,isoTimeExtensionRegex),isoWeekWithTimeExtensionRegex=_0xe06664(_0x51828c,isoTimeExtensionRegex),isoOrdinalWithTimeExtensionRegex=_0xe06664(_0x152166,isoTimeExtensionRegex),_0x5ba4ff=_0xe06664(_0x687457),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(_0x19254f){return _0x39a98a(_0x19254f,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[_0x5ba4ff,extractISOTimeAndOffset]);}function parseRFC2822Date(_0xa32cd7){return _0x39a98a(_0x35d272(_0xa32cd7),[_0x54e31c,extractRFC2822]);}function parseHTTPDate(_0x15c564){return _0x39a98a(_0x15c564,[_0x23ab63,extractRFC1123Or850],[_0x1092f8,extractRFC1123Or850],[_0x3b7746,extractASCII]);}function parseISODuration(_0x590356){return _0x39a98a(_0x590356,[isoDuration,extractISODuration]);}const extractISOTimeOnly=combineExtractors(extractISOTime);function _0x3b84fc(_0x3e2071){return _0x39a98a(_0x3e2071,[_0x5ca9cd,extractISOTimeOnly]);}const sqlYmdWithTimeExtensionRegex=_0xe06664(_0x12d8f8,sqlTimeExtensionRegex),_0x4b3d83=_0xe06664(_0x2d89f6),extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function _0x4e55c9(_0x6d1e7b){return _0x39a98a(_0x6d1e7b,[sqlYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[_0x4b3d83,extractISOTimeOffsetAndIANAZone]);}const _0x40a2fe='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 _0x117046(_0x4490f4,_0x44684c,_0x2222da=!0x1){const _0xb68b93={'values':_0x2222da?_0x44684c['values']:{..._0x4490f4['values'],..._0x44684c['values']||{}},'loc':_0x4490f4['loc']['clone'](_0x44684c['loc']),'conversionAccuracy':_0x44684c['conversionAccuracy']||_0x4490f4['conversionAccuracy'],'matrix':_0x44684c['matrix']||_0x4490f4['matrix']};return new Duration(_0xb68b93);}function durationToMillis(_0x513d9a,_0x18939e){let _0x14e1b7=_0x18939e['milliseconds']??0x0;for(const _0x5c5dcb of reverseUnits['slice'](0x1))_0x18939e[_0x5c5dcb]&&(_0x14e1b7+=_0x18939e[_0x5c5dcb]*_0x513d9a[_0x5c5dcb]['milliseconds']);return _0x14e1b7;}function _0x43e08e(_0xe25f77,_0x545b3c){const _0x1c5979=durationToMillis(_0xe25f77,_0x545b3c)<0x0?-0x1:0x1;orderedUnits$1['reduceRight']((_0x20986f,_0x239ff8)=>{if(_0x44e2ab(_0x545b3c[_0x239ff8]))return _0x20986f;if(_0x20986f){const _0x2a2489=_0x545b3c[_0x20986f]*_0x1c5979,_0x4cb4ba=_0xe25f77[_0x239ff8][_0x20986f],_0x573a4c=Math['floor'](_0x2a2489/_0x4cb4ba);_0x545b3c[_0x239ff8]+=_0x573a4c*_0x1c5979,_0x545b3c[_0x20986f]-=_0x573a4c*_0x4cb4ba*_0x1c5979;}return _0x239ff8;},null),orderedUnits$1['reduce']((_0x51388b,_0x2658d3)=>{if(_0x44e2ab(_0x545b3c[_0x2658d3]))return _0x51388b;if(_0x51388b){const _0x3f72aa=_0x545b3c[_0x51388b]%0x1;_0x545b3c[_0x51388b]-=_0x3f72aa,_0x545b3c[_0x2658d3]+=_0x3f72aa*_0xe25f77[_0x51388b][_0x2658d3];}return _0x2658d3;},null);}function _0x516443(_0x185f13){const _0x32d240={};for(const [_0x5c291b,_0x316bba]of Object['entries'](_0x185f13))0x0!==_0x316bba&&(_0x32d240[_0x5c291b]=_0x316bba);return _0x32d240;}class Duration{constructor(_0x1e4fbf){const _0x1361ae='longterm'===_0x1e4fbf['conversionAccuracy']||!0x1;let _0x362da1=_0x1361ae?accurateMatrix:casualMatrix;_0x1e4fbf['matrix']&&(_0x362da1=_0x1e4fbf['matrix']),this['values']=_0x1e4fbf['values'],this['loc']=_0x1e4fbf['loc']||_0x591980['create'](),this['conversionAccuracy']=_0x1361ae?'longterm':'casual',this['invalid']=_0x1e4fbf['invalid']||null,this['matrix']=_0x362da1,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x328748,_0x59ff6c){return Duration['fromObject']({'milliseconds':_0x328748},_0x59ff6c);}static['fromObject'](_0x4c6dfd,_0x1e8552={}){if(null==_0x4c6dfd||'object'!=typeof _0x4c6dfd)throw new InvalidArgumentError('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x4c6dfd?'null':typeof _0x4c6dfd));return new Duration({'values':normalizeObject(_0x4c6dfd,Duration['normalizeUnit']),'loc':_0x591980['fromObject'](_0x1e8552),'conversionAccuracy':_0x1e8552['conversionAccuracy'],'matrix':_0x1e8552['matrix']});}static['fromDurationLike'](_0x3ba816){if(_0x43fd0f(_0x3ba816))return Duration['fromMillis'](_0x3ba816);if(Duration['isDuration'](_0x3ba816))return _0x3ba816;if('object'==typeof _0x3ba816)return Duration['fromObject'](_0x3ba816);throw new InvalidArgumentError('Unknown\x20duration\x20argument\x20'+_0x3ba816+'\x20of\x20type\x20'+typeof _0x3ba816);}static['fromISO'](_0x1d5f1d,_0x56e18c){const [_0xa0b1fd]=parseISODuration(_0x1d5f1d);return _0xa0b1fd?Duration['fromObject'](_0xa0b1fd,_0x56e18c):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x1d5f1d+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0xa162b6,_0xe3d84b){const [_0x561d33]=_0x3b84fc(_0xa162b6);return _0x561d33?Duration['fromObject'](_0x561d33,_0xe3d84b):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0xa162b6+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0x4b2049,_0x174ef2=null){if(!_0x4b2049)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x55a73a=_0x4b2049 instanceof _0x4cd47e?_0x4b2049:new _0x4cd47e(_0x4b2049,_0x174ef2);if(Settings['throwOnInvalid'])throw new InvalidDurationError(_0x55a73a);return new Duration({'invalid':_0x55a73a});}static['normalizeUnit'](_0x32b124){const _0x150e8f={'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'}[_0x32b124?_0x32b124['toLowerCase']():_0x32b124];if(!_0x150e8f)throw new InvalidUnitError(_0x32b124);return _0x150e8f;}static['isDuration'](_0x23c331){return _0x23c331&&_0x23c331['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0x5464c9,_0x5eba84={}){const _0x2e618a={..._0x5eba84,'floor':!0x1!==_0x5eba84['round']&&!0x1!==_0x5eba84['floor']};return this['isValid']?Formatter['create'](this['loc'],_0x2e618a)['formatDurationFromString'](this,_0x5464c9):_0x40a2fe;}['toHuman'](_0x573d1d={}){if(!this['isValid'])return _0x40a2fe;const _0x544dee=orderedUnits$1['map'](_0xb19ab5=>{const _0x585259=this['values'][_0xb19ab5];return _0x44e2ab(_0x585259)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x573d1d,'unit':_0xb19ab5['slice'](0x0,-0x1)})['format'](_0x585259);})['filter'](_0x162cbe=>_0x162cbe);return this['loc']['listFormatter']({'type':'conjunction','style':_0x573d1d['listStyle']||'narrow',..._0x573d1d})['format'](_0x544dee);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x30cd9f='P';return 0x0!==this['years']&&(_0x30cd9f+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x30cd9f+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x30cd9f+=this['weeks']+'W'),0x0!==this['days']&&(_0x30cd9f+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x30cd9f+='T'),0x0!==this['hours']&&(_0x30cd9f+=this['hours']+'H'),0x0!==this['minutes']&&(_0x30cd9f+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x30cd9f+=_0x34899b(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x30cd9f&&(_0x30cd9f+='T0S'),_0x30cd9f;}['toISOTime'](_0x156728={}){if(!this['isValid'])return null;const _0x3780ca=this['toMillis']();if(_0x3780ca<0x0||_0x3780ca>=0x5265c00)return null;return _0x156728={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x156728,'includeOffset':!0x1},DateTime['fromMillis'](_0x3780ca,{'zone':'UTC'})['toISOTime'](_0x156728);}['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'](_0x1a8c80){if(!this['isValid'])return this;const _0x5390c4=Duration['fromDurationLike'](_0x1a8c80),_0x372ab1={};for(const _0xdc6414 of orderedUnits$1)(hasOwnProperty(_0x5390c4['values'],_0xdc6414)||hasOwnProperty(this['values'],_0xdc6414))&&(_0x372ab1[_0xdc6414]=_0x5390c4['get'](_0xdc6414)+this['get'](_0xdc6414));return _0x117046(this,{'values':_0x372ab1},!0x0);}['minus'](_0x5325ca){if(!this['isValid'])return this;const _0x2f32ca=Duration['fromDurationLike'](_0x5325ca);return this['plus'](_0x2f32ca['negate']());}['mapUnits'](_0x4296d7){if(!this['isValid'])return this;const _0x27c9f5={};for(const _0x40f2a0 of Object['keys'](this['values']))_0x27c9f5[_0x40f2a0]=_0x353c2f(_0x4296d7(this['values'][_0x40f2a0],_0x40f2a0));return _0x117046(this,{'values':_0x27c9f5},!0x0);}['get'](_0x4f443a){return this[Duration['normalizeUnit'](_0x4f443a)];}['set'](_0x51afd3){if(!this['isValid'])return this;return _0x117046(this,{'values':{...this['values'],...normalizeObject(_0x51afd3,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x21e5a4,numberingSystem:_0x1a1f0a,conversionAccuracy:_0x44f0ce,matrix:_0x5cfb58}={}){return _0x117046(this,{'loc':this['loc']['clone']({'locale':_0x21e5a4,'numberingSystem':_0x1a1f0a}),'matrix':_0x5cfb58,'conversionAccuracy':_0x44f0ce});}['as'](_0x115382){return this['isValid']?this['shiftTo'](_0x115382)['get'](_0x115382):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x4ee5a4=this['toObject']();return _0x43e08e(this['matrix'],_0x4ee5a4),_0x117046(this,{'values':_0x4ee5a4},!0x0);}['rescale'](){if(!this['isValid'])return this;return _0x117046(this,{'values':_0x516443(this['normalize']()['shiftToAll']()['toObject']())},!0x0);}['shiftTo'](..._0x389824){if(!this['isValid'])return this;if(0x0===_0x389824['length'])return this;_0x389824=_0x389824['map'](_0x36095d=>Duration['normalizeUnit'](_0x36095d));const _0xe28f20={},_0xba0edd={},_0x4d5966=this['toObject']();let _0x39ac68;for(const _0x32fdb2 of orderedUnits$1)if(_0x389824['indexOf'](_0x32fdb2)>=0x0){_0x39ac68=_0x32fdb2;let _0x4437ae=0x0;for(const _0x37029b in _0xba0edd)_0x4437ae+=this['matrix'][_0x37029b][_0x32fdb2]*_0xba0edd[_0x37029b],_0xba0edd[_0x37029b]=0x0;_0x43fd0f(_0x4d5966[_0x32fdb2])&&(_0x4437ae+=_0x4d5966[_0x32fdb2]);const _0x456235=Math['trunc'](_0x4437ae);_0xe28f20[_0x32fdb2]=_0x456235,_0xba0edd[_0x32fdb2]=(0x3e8*_0x4437ae-0x3e8*_0x456235)/0x3e8;}else _0x43fd0f(_0x4d5966[_0x32fdb2])&&(_0xba0edd[_0x32fdb2]=_0x4d5966[_0x32fdb2]);for(const _0x319ca4 in _0xba0edd)0x0!==_0xba0edd[_0x319ca4]&&(_0xe28f20[_0x39ac68]+=_0x319ca4===_0x39ac68?_0xba0edd[_0x319ca4]:_0xba0edd[_0x319ca4]/this['matrix'][_0x39ac68][_0x319ca4]);return _0x43e08e(this['matrix'],_0xe28f20),_0x117046(this,{'values':_0xe28f20},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x9678b2={};for(const _0x371d61 of Object['keys'](this['values']))_0x9678b2[_0x371d61]=0x0===this['values'][_0x371d61]?0x0:-this['values'][_0x371d61];return _0x117046(this,{'values':_0x9678b2},!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'](_0x1df5e0){if(!this['isValid']||!_0x1df5e0['isValid'])return!0x1;if(!this['loc']['equals'](_0x1df5e0['loc']))return!0x1;function _0x446951(_0x26ff13,_0x5f18e6){return void 0x0===_0x26ff13||0x0===_0x26ff13?void 0x0===_0x5f18e6||0x0===_0x5f18e6:_0x26ff13===_0x5f18e6;}for(const _0x189b6f of orderedUnits$1)if(!_0x446951(this['values'][_0x189b6f],_0x1df5e0['values'][_0x189b6f]))return!0x1;return!0x0;}}const _0x4e7494='Invalid\x20Interval';function validateStartEnd(_0x184a91,_0x2a036b){return _0x184a91&&_0x184a91['isValid']?_0x2a036b&&_0x2a036b['isValid']?_0x2a036b<_0x184a91?Interval['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0x184a91['toISO']()+'\x20and\x20end='+_0x2a036b['toISO']()):null:Interval['invalid']('missing\x20or\x20invalid\x20end'):Interval['invalid']('missing\x20or\x20invalid\x20start');}class Interval{constructor(_0x463be4){this['s']=_0x463be4['start'],this['e']=_0x463be4['end'],this['invalid']=_0x463be4['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0xc4aa3c,_0x50961e=null){if(!_0xc4aa3c)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x13cf88=_0xc4aa3c instanceof _0x4cd47e?_0xc4aa3c:new _0x4cd47e(_0xc4aa3c,_0x50961e);if(Settings['throwOnInvalid'])throw new InvalidIntervalError(_0x13cf88);return new Interval({'invalid':_0x13cf88});}static['fromDateTimes'](_0x26165d,_0x183209){const _0x22f286=friendlyDateTime(_0x26165d),_0x4b1429=friendlyDateTime(_0x183209),_0x146023=validateStartEnd(_0x22f286,_0x4b1429);return null==_0x146023?new Interval({'start':_0x22f286,'end':_0x4b1429}):_0x146023;}static['after'](_0x5d9131,_0x510d11){const _0x56c451=Duration['fromDurationLike'](_0x510d11),_0x139097=friendlyDateTime(_0x5d9131);return Interval['fromDateTimes'](_0x139097,_0x139097['plus'](_0x56c451));}static['before'](_0x533a5d,_0x3f20e9){const _0x10db32=Duration['fromDurationLike'](_0x3f20e9),_0x58948b=friendlyDateTime(_0x533a5d);return Interval['fromDateTimes'](_0x58948b['minus'](_0x10db32),_0x58948b);}static['fromISO'](_0x12f2ae,_0x1c84cb){const [_0x5d7ef5,_0x51ae88]=(_0x12f2ae||'')['split']('/',0x2);if(_0x5d7ef5&&_0x51ae88){let _0x5bc094,_0x222deb,_0x53e615,_0x34b8e6;try{_0x5bc094=DateTime['fromISO'](_0x5d7ef5,_0x1c84cb),_0x222deb=_0x5bc094['isValid'];}catch(_0x23e77c){_0x222deb=!0x1;}try{_0x53e615=DateTime['fromISO'](_0x51ae88,_0x1c84cb),_0x34b8e6=_0x53e615['isValid'];}catch(_0x5be513){_0x34b8e6=!0x1;}if(_0x222deb&&_0x34b8e6)return Interval['fromDateTimes'](_0x5bc094,_0x53e615);if(_0x222deb){const _0x5149c9=Duration['fromISO'](_0x51ae88,_0x1c84cb);if(_0x5149c9['isValid'])return Interval['after'](_0x5bc094,_0x5149c9);}else{if(_0x34b8e6){const _0x5d80f9=Duration['fromISO'](_0x5d7ef5,_0x1c84cb);if(_0x5d80f9['isValid'])return Interval['before'](_0x53e615,_0x5d80f9);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0x12f2ae+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0x21e8cd){return _0x21e8cd&&_0x21e8cd['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'](_0x47da3b='milliseconds'){return this['isValid']?this['toDuration'](_0x47da3b)['get'](_0x47da3b):NaN;}['count'](_0x29898e='milliseconds',_0x37b747){if(!this['isValid'])return NaN;const _0x36733e=this['start']['startOf'](_0x29898e,_0x37b747);let _0x4755d0;return _0x4755d0=_0x37b747?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x36733e['locale']}):this['end'],_0x4755d0=_0x4755d0['startOf'](_0x29898e,_0x37b747),Math['floor'](_0x4755d0['diff'](_0x36733e,_0x29898e)['get'](_0x29898e))+(_0x4755d0['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0x4f56a6){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0x4f56a6));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0x37d031){return!!this['isValid']&&this['s']>_0x37d031;}['isBefore'](_0x4bf998){return!!this['isValid']&&this['e']<=_0x4bf998;}['contains'](_0x1f938d){return!!this['isValid']&&(this['s']<=_0x1f938d&&this['e']>_0x1f938d);}['set']({start:_0x2adb60,end:_0x266b86}={}){return this['isValid']?Interval['fromDateTimes'](_0x2adb60||this['s'],_0x266b86||this['e']):this;}['splitAt'](..._0xaf3c02){if(!this['isValid'])return[];const _0x47dfa0=_0xaf3c02['map'](friendlyDateTime)['filter'](_0x3e3501=>this['contains'](_0x3e3501))['sort']((_0x2499f2,_0x357755)=>_0x2499f2['toMillis']()-_0x357755['toMillis']()),_0x59705d=[];let {s:_0x18405f}=this,_0x2669fa=0x0;for(;_0x18405f<this['e'];){const _0x3c6705=_0x47dfa0[_0x2669fa]||this['e'],_0x27af3e=+_0x3c6705>+this['e']?this['e']:_0x3c6705;_0x59705d['push'](Interval['fromDateTimes'](_0x18405f,_0x27af3e)),_0x18405f=_0x27af3e,_0x2669fa+=0x1;}return _0x59705d;}['splitBy'](_0x565a72){const _0x14a413=Duration['fromDurationLike'](_0x565a72);if(!this['isValid']||!_0x14a413['isValid']||0x0===_0x14a413['as']('milliseconds'))return[];let _0x1b8ac6,{s:_0x367c11}=this,_0x358518=0x1;const _0x27a23d=[];for(;_0x367c11<this['e'];){const _0x3c1ac0=this['start']['plus'](_0x14a413['mapUnits'](_0x16169c=>_0x16169c*_0x358518));_0x1b8ac6=+_0x3c1ac0>+this['e']?this['e']:_0x3c1ac0,_0x27a23d['push'](Interval['fromDateTimes'](_0x367c11,_0x1b8ac6)),_0x367c11=_0x1b8ac6,_0x358518+=0x1;}return _0x27a23d;}['divideEqually'](_0x11f2a9){return this['isValid']?this['splitBy'](this['length']()/_0x11f2a9)['slice'](0x0,_0x11f2a9):[];}['overlaps'](_0x3ecb1f){return this['e']>_0x3ecb1f['s']&&this['s']<_0x3ecb1f['e'];}['abutsStart'](_0x3cc91a){return!!this['isValid']&&+this['e']===+_0x3cc91a['s'];}['abutsEnd'](_0x27400c){return!!this['isValid']&&+_0x27400c['e']===+this['s'];}['engulfs'](_0x41317d){return!!this['isValid']&&(this['s']<=_0x41317d['s']&&this['e']>=_0x41317d['e']);}['equals'](_0x11f007){return!(!this['isValid']||!_0x11f007['isValid'])&&(this['s']['equals'](_0x11f007['s'])&&this['e']['equals'](_0x11f007['e']));}['intersection'](_0x352db6){if(!this['isValid'])return this;const _0x4840d6=this['s']>_0x352db6['s']?this['s']:_0x352db6['s'],_0x4a9542=this['e']<_0x352db6['e']?this['e']:_0x352db6['e'];return _0x4840d6>=_0x4a9542?null:Interval['fromDateTimes'](_0x4840d6,_0x4a9542);}['union'](_0x1fa1b3){if(!this['isValid'])return this;const _0x27f9bc=this['s']<_0x1fa1b3['s']?this['s']:_0x1fa1b3['s'],_0xad4946=this['e']>_0x1fa1b3['e']?this['e']:_0x1fa1b3['e'];return Interval['fromDateTimes'](_0x27f9bc,_0xad4946);}static['merge'](_0x54e41c){const [_0x562e0e,_0x303542]=_0x54e41c['sort']((_0x9c16fb,_0xcadafc)=>_0x9c16fb['s']-_0xcadafc['s'])['reduce'](([_0x328073,_0x4f4ccb],_0x481bba)=>_0x4f4ccb?_0x4f4ccb['overlaps'](_0x481bba)||_0x4f4ccb['abutsStart'](_0x481bba)?[_0x328073,_0x4f4ccb['union'](_0x481bba)]:[_0x328073['concat']([_0x4f4ccb]),_0x481bba]:[_0x328073,_0x481bba],[[],null]);return _0x303542&&_0x562e0e['push'](_0x303542),_0x562e0e;}static['xor'](_0x218665){let _0x3bc1ea=null,_0x4dc0d2=0x0;const _0xaaf369=[],_0x11ffa3=_0x218665['map'](_0x27c675=>[{'time':_0x27c675['s'],'type':'s'},{'time':_0x27c675['e'],'type':'e'}]),_0x1db617=Array['prototype']['concat'](..._0x11ffa3)['sort']((_0x275f41,_0x153eab)=>_0x275f41['time']-_0x153eab['time']);for(const _0x120f03 of _0x1db617)_0x4dc0d2+='s'===_0x120f03['type']?0x1:-0x1,0x1===_0x4dc0d2?_0x3bc1ea=_0x120f03['time']:(_0x3bc1ea&&+_0x3bc1ea!==+_0x120f03['time']&&_0xaaf369['push'](Interval['fromDateTimes'](_0x3bc1ea,_0x120f03['time'])),_0x3bc1ea=null);return Interval['merge'](_0xaaf369);}['difference'](..._0x2d25e6){return Interval['xor']([this]['concat'](_0x2d25e6))['map'](_0x1ffeb2=>this['intersection'](_0x1ffeb2))['filter'](_0x3cd341=>_0x3cd341&&!_0x3cd341['isEmpty']());}['toString'](){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':_0x4e7494;}[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'](_0x40313f=_0x56ae58,_0x32a28a={}){return this['isValid']?Formatter['create'](this['s']['loc']['clone'](_0x32a28a),_0x40313f)['formatInterval'](this):_0x4e7494;}['toISO'](_0x4de824){return this['isValid']?this['s']['toISO'](_0x4de824)+'/'+this['e']['toISO'](_0x4de824):_0x4e7494;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():_0x4e7494;}['toISOTime'](_0x3415e6){return this['isValid']?this['s']['toISOTime'](_0x3415e6)+'/'+this['e']['toISOTime'](_0x3415e6):_0x4e7494;}['toFormat'](_0x40a37d,{separator:_0x54a5f9='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0x40a37d)+_0x54a5f9+this['e']['toFormat'](_0x40a37d):_0x4e7494;}['toDuration'](_0x479b5a,_0x569155){return this['isValid']?this['e']['diff'](this['s'],_0x479b5a,_0x569155):Duration['invalid'](this['invalidReason']);}['mapEndpoints'](_0x311c69){return Interval['fromDateTimes'](_0x311c69(this['s']),_0x311c69(this['e']));}}class _0x4433d4{static['hasDST'](_0x1cb6a4=Settings['defaultZone']){const _0x181d09=DateTime['now']()['setZone'](_0x1cb6a4)['set']({'month':0xc});return!_0x1cb6a4['isUniversal']&&_0x181d09['offset']!==_0x181d09['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x146434){return _0x2a3f8f['isValidZone'](_0x146434);}static['normalizeZone'](_0xfa0f7d){return _0x150d64(_0xfa0f7d,Settings['defaultZone']);}static['getStartOfWeek']({locale:_0x315018=null,locObj:_0x4fbc9b=null}={}){return(_0x4fbc9b||_0x591980['create'](_0x315018))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0xd796ab=null,locObj:_0x5007f5=null}={}){return(_0x5007f5||_0x591980['create'](_0xd796ab))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0x944aab=null,locObj:_0xbd7159=null}={}){return(_0xbd7159||_0x591980['create'](_0x944aab))['getWeekendDays']()['slice']();}static['months'](_0x4d907b='long',{locale:_0x424221=null,numberingSystem:_0x9099d2=null,locObj:_0x4a2618=null,outputCalendar:_0xbd8bc7='gregory'}={}){return(_0x4a2618||_0x591980['create'](_0x424221,_0x9099d2,_0xbd8bc7))['months'](_0x4d907b);}static['monthsFormat'](_0x34a51e='long',{locale:_0x577415=null,numberingSystem:_0x105902=null,locObj:_0x33b1a9=null,outputCalendar:_0x1890b8='gregory'}={}){return(_0x33b1a9||_0x591980['create'](_0x577415,_0x105902,_0x1890b8))['months'](_0x34a51e,!0x0);}static['weekdays'](_0x3f9509='long',{locale:_0x1fcbb2=null,numberingSystem:_0x15b6ab=null,locObj:_0x114003=null}={}){return(_0x114003||_0x591980['create'](_0x1fcbb2,_0x15b6ab,null))['weekdays'](_0x3f9509);}static['weekdaysFormat'](_0x277682='long',{locale:_0x3199fd=null,numberingSystem:_0x33c74f=null,locObj:_0x4ba71e=null}={}){return(_0x4ba71e||_0x591980['create'](_0x3199fd,_0x33c74f,null))['weekdays'](_0x277682,!0x0);}static['meridiems']({locale:_0x4bed19=null}={}){return _0x591980['create'](_0x4bed19)['meridiems']();}static['eras'](_0x1d1e50='short',{locale:_0x23ce1a=null}={}){return _0x591980['create'](_0x23ce1a,null,'gregory')['eras'](_0x1d1e50);}static['features'](){return{'relative':hasRelative(),'localeWeek':_0x229809()};}}function _0x3900a4(_0x252cf1,_0x1b1406){const _0xf78bc0=_0xd9b98=>_0xd9b98['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0x10a37b=_0xf78bc0(_0x1b1406)-_0xf78bc0(_0x252cf1);return Math['floor'](Duration['fromMillis'](_0x10a37b)['as']('days'));}function _0x4bba9a(_0x5d8424,_0x187a66,_0x40cd9f){const _0x350d33=[['years',(_0x3343fc,_0x3370f8)=>_0x3370f8['year']-_0x3343fc['year']],['quarters',(_0x23608f,_0x5400d1)=>_0x5400d1['quarter']-_0x23608f['quarter']+0x4*(_0x5400d1['year']-_0x23608f['year'])],['months',(_0x23f3f4,_0x37fb1c)=>_0x37fb1c['month']-_0x23f3f4['month']+0xc*(_0x37fb1c['year']-_0x23f3f4['year'])],['weeks',(_0x5e245b,_0x2f9fbf)=>{const _0x1d1287=_0x3900a4(_0x5e245b,_0x2f9fbf);return(_0x1d1287-_0x1d1287%0x7)/0x7;}],['days',_0x3900a4]],_0x1a2b74={},_0x423d88=_0x5d8424;let _0x43b18a,_0xaee6c3;for(const [_0x17b17e,_0x5bebef]of _0x350d33)_0x40cd9f['indexOf'](_0x17b17e)>=0x0&&(_0x43b18a=_0x17b17e,_0x1a2b74[_0x17b17e]=_0x5bebef(_0x5d8424,_0x187a66),_0xaee6c3=_0x423d88['plus'](_0x1a2b74),_0xaee6c3>_0x187a66?(_0x1a2b74[_0x17b17e]--,(_0x5d8424=_0x423d88['plus'](_0x1a2b74))>_0x187a66&&(_0xaee6c3=_0x5d8424,_0x1a2b74[_0x17b17e]--,_0x5d8424=_0x423d88['plus'](_0x1a2b74))):_0x5d8424=_0xaee6c3);return[_0x5d8424,_0x1a2b74,_0xaee6c3,_0x43b18a];}function _0x1523b7(_0x382bb7,_0xe57594,_0x344ef9,_0xf98e5f){let [_0x2d60ec,_0x1d0729,_0x4bb521,_0x12f2d6]=_0x4bba9a(_0x382bb7,_0xe57594,_0x344ef9);const _0x3063d5=_0xe57594-_0x2d60ec,_0x2b5424=_0x344ef9['filter'](_0x181081=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x181081)>=0x0);0x0===_0x2b5424['length']&&(_0x4bb521<_0xe57594&&(_0x4bb521=_0x2d60ec['plus']({[_0x12f2d6]:0x1})),_0x4bb521!==_0x2d60ec&&(_0x1d0729[_0x12f2d6]=(_0x1d0729[_0x12f2d6]||0x0)+_0x3063d5/(_0x4bb521-_0x2d60ec)));const _0x20becb=Duration['fromObject'](_0x1d0729,_0xf98e5f);return _0x2b5424['length']>0x0?Duration['fromMillis'](_0x3063d5,_0xf98e5f)['shiftTo'](..._0x2b5424)['plus'](_0x20becb):_0x20becb;}const _0x48ec3d='missing\x20Intl.DateTimeFormat.formatToParts\x20support';function intUnit(_0x58bbdc,_0x14dd46=_0x1b35d9=>_0x1b35d9){return{'regex':_0x58bbdc,'deser':([_0xfd13c4])=>_0x14dd46(parseDigits(_0xfd13c4))};}const _0x56cfc9=String['fromCharCode'](0xa0),_0x28b14d='[\x20'+_0x56cfc9+']',_0x281135=new RegExp(_0x28b14d,'g');function fixListRegex(_0xa8d634){return _0xa8d634['replace'](/\./g,'\x5c.?')['replace'](_0x281135,_0x28b14d);}function stripInsensitivities(_0xc90099){return _0xc90099['replace'](/\./g,'')['replace'](_0x281135,'\x20')['toLowerCase']();}function _0x41a44a(_0x218f85,_0x504b87){return null===_0x218f85?null:{'regex':RegExp(_0x218f85['map'](fixListRegex)['join']('|')),'deser':([_0x5d62c8])=>_0x218f85['findIndex'](_0x1eaa22=>stripInsensitivities(_0x5d62c8)===stripInsensitivities(_0x1eaa22))+_0x504b87};}function offset(_0x45fcce,_0x37e811){return{'regex':_0x45fcce,'deser':([,_0x5dea64,_0x43923b])=>signedOffset(_0x5dea64,_0x43923b),'groups':_0x37e811};}function _0x311fa1(_0x5eadf6){return{'regex':_0x5eadf6,'deser':([_0x8fc024])=>_0x8fc024};}function _0x54a051(_0x5f5b5b){return _0x5f5b5b['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}function unitForToken(_0x1c10a9,_0x2733b4){const _0x5cff52=digitRegex(_0x2733b4),_0xd3a84=digitRegex(_0x2733b4,'{2}'),_0x5e9936=digitRegex(_0x2733b4,'{3}'),_0x176b51=digitRegex(_0x2733b4,'{4}'),_0xfb7952=digitRegex(_0x2733b4,'{6}'),_0x301110=digitRegex(_0x2733b4,'{1,2}'),_0x29d8d3=digitRegex(_0x2733b4,'{1,3}'),_0x40bfba=digitRegex(_0x2733b4,'{1,6}'),_0xceb755=digitRegex(_0x2733b4,'{1,9}'),_0x5800d8=digitRegex(_0x2733b4,'{2,4}'),_0xfd581e=digitRegex(_0x2733b4,'{4,6}'),_0xd3d91a=t=>({'regex':RegExp(_0x54a051(t['val'])),'deser':([_0x13ee69])=>_0x13ee69,'literal':!0x0}),_0x5e15f5=(t=>{if(_0x1c10a9['literal'])return _0xd3d91a(t);switch(t['val']){case'G':return _0x41a44a(_0x2733b4['eras']('short'),0x0);case'GG':return _0x41a44a(_0x2733b4['eras']('long'),0x0);case'y':return intUnit(_0x40bfba);case'yy':case'kk':return intUnit(_0x5800d8,untruncateYear);case'yyyy':case'kkkk':return intUnit(_0x176b51);case'yyyyy':return intUnit(_0xfd581e);case'yyyyyy':return intUnit(_0xfb7952);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return intUnit(_0x301110);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return intUnit(_0xd3a84);case'MMM':return _0x41a44a(_0x2733b4['months']('short',!0x0),0x1);case'MMMM':return _0x41a44a(_0x2733b4['months']('long',!0x0),0x1);case'LLL':return _0x41a44a(_0x2733b4['months']('short',!0x1),0x1);case'LLLL':return _0x41a44a(_0x2733b4['months']('long',!0x1),0x1);case'o':case'S':return intUnit(_0x29d8d3);case'ooo':case'SSS':return intUnit(_0x5e9936);case'u':return _0x311fa1(_0xceb755);case'uu':return _0x311fa1(_0x301110);case'uuu':case'E':case'c':return intUnit(_0x5cff52);case'a':return _0x41a44a(_0x2733b4['meridiems'](),0x0);case'EEE':return _0x41a44a(_0x2733b4['weekdays']('short',!0x1),0x1);case'EEEE':return _0x41a44a(_0x2733b4['weekdays']('long',!0x1),0x1);case'ccc':return _0x41a44a(_0x2733b4['weekdays']('short',!0x0),0x1);case'cccc':return _0x41a44a(_0x2733b4['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return offset(new RegExp('([+-]'+_0x301110['source']+')(?::('+_0xd3a84['source']+'))?'),0x2);case'ZZZ':return offset(new RegExp('([+-]'+_0x301110['source']+')('+_0xd3a84['source']+')?'),0x2);case'z':return _0x311fa1(/[a-z_+-/]{1,256}?/i);case'\x20':return _0x311fa1(/[^\S\n\r]/);default:return _0xd3d91a(t);}})(_0x1c10a9)||{'invalidReason':_0x48ec3d};return _0x5e15f5['token']=_0x1c10a9,_0x5e15f5;}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(_0x1fd35e,_0x6dcb16,_0xa06101){const {type:_0xca66b4,value:_0x337548}=_0x1fd35e;if('literal'===_0xca66b4){const _0x46f7b1=/^\s+$/['test'](_0x337548);return{'literal':!_0x46f7b1,'val':_0x46f7b1?'\x20':_0x337548};}const _0x3fc32c=_0x6dcb16[_0xca66b4];let _0x47da44=_0xca66b4;'hour'===_0xca66b4&&(_0x47da44=null!=_0x6dcb16['hour12']?_0x6dcb16['hour12']?'hour12':'hour24':null!=_0x6dcb16['hourCycle']?'h11'===_0x6dcb16['hourCycle']||'h12'===_0x6dcb16['hourCycle']?'hour12':'hour24':_0xa06101['hour12']?'hour12':'hour24');let _0x21fd62=partTypeStyleToTokenVal[_0x47da44];if('object'==typeof _0x21fd62&&(_0x21fd62=_0x21fd62[_0x3fc32c]),_0x21fd62)return{'literal':!0x1,'val':_0x21fd62};}function _0x461a27(_0xe27775){const _0x272d43=_0xe27775['map'](_0x4f41fc=>_0x4f41fc['regex'])['reduce']((_0x48a557,_0x5b6785)=>_0x48a557+'('+_0x5b6785['source']+')','');return['^'+_0x272d43+'$',_0xe27775];}function match(_0xe41b11,_0x4ae2e8,_0x1c2679){const _0x2b47e4=_0xe41b11['match'](_0x4ae2e8);if(_0x2b47e4){const _0x9a6704={};let _0x40f893=0x1;for(const _0x5daf04 in _0x1c2679)if(hasOwnProperty(_0x1c2679,_0x5daf04)){const _0x1207c0=_0x1c2679[_0x5daf04],_0x42dda5=_0x1207c0['groups']?_0x1207c0['groups']+0x1:0x1;!_0x1207c0['literal']&&_0x1207c0['token']&&(_0x9a6704[_0x1207c0['token']['val'][0x0]]=_0x1207c0['deser'](_0x2b47e4['slice'](_0x40f893,_0x40f893+_0x42dda5))),_0x40f893+=_0x42dda5;}return[_0x2b47e4,_0x9a6704];}return[_0x2b47e4,{}];}function dateTimeFromMatches(_0x35322c){let _0x11c69d,_0x554b2e=null;_0x44e2ab(_0x35322c['z'])||(_0x554b2e=_0x2a3f8f['create'](_0x35322c['z'])),_0x44e2ab(_0x35322c['Z'])||(_0x554b2e||(_0x554b2e=new FixedOffsetZone(_0x35322c['Z'])),_0x11c69d=_0x35322c['Z']),_0x44e2ab(_0x35322c['q'])||(_0x35322c['M']=0x3*(_0x35322c['q']-0x1)+0x1),_0x44e2ab(_0x35322c['h'])||(_0x35322c['h']<0xc&&0x1===_0x35322c['a']?_0x35322c['h']+=0xc:0xc===_0x35322c['h']&&0x0===_0x35322c['a']&&(_0x35322c['h']=0x0)),0x0===_0x35322c['G']&&_0x35322c['y']&&(_0x35322c['y']=-_0x35322c['y']),_0x44e2ab(_0x35322c['u'])||(_0x35322c['S']=_0x3dd24a(_0x35322c['u']));const _0x5763e0=Object['keys'](_0x35322c)['reduce']((_0x17bb35,_0x33b0da)=>{const _0x52cb91=(_0x546f70=>{switch(_0x546f70){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;}})(_0x33b0da);return _0x52cb91&&(_0x17bb35[_0x52cb91]=_0x35322c[_0x33b0da]),_0x17bb35;},{});return[_0x5763e0,_0x554b2e,_0x11c69d];}let dummyDateTimeCache=null;function getDummyDateTime(){return dummyDateTimeCache||(dummyDateTimeCache=DateTime['fromMillis'](0x16a2e5618e3)),dummyDateTimeCache;}function _0x266a69(_0x261d99,_0x5d8bb9){if(_0x261d99['literal'])return _0x261d99;const _0x3c3aa9=formatOptsToTokens(Formatter['macroTokenToFormatOpts'](_0x261d99['val']),_0x5d8bb9);return null==_0x3c3aa9||_0x3c3aa9['includes'](void 0x0)?_0x261d99:_0x3c3aa9;}function _0x378975(_0x5bb8e7,_0x13a420){return Array['prototype']['concat'](..._0x5bb8e7['map'](t=>_0x266a69(t,_0x13a420)));}class _0x3ea09d{constructor(_0x57c4ea,_0x54d1ec){if(this['locale']=_0x57c4ea,this['format']=_0x54d1ec,this['tokens']=_0x378975(Formatter['parseFormat'](_0x54d1ec),_0x57c4ea),this['units']=this['tokens']['map'](t=>unitForToken(t,_0x57c4ea)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x168453,_0x4b67cd]=_0x461a27(this['units']);this['regex']=RegExp(_0x168453,'i'),this['handlers']=_0x4b67cd;}}['explainFromTokens'](_0x4d9d54){if(this['isValid']){const [_0x269b07,_0x4d63e7]=match(_0x4d9d54,this['regex'],this['handlers']),[_0x515781,_0x3a7228,_0x3bc44d]=_0x4d63e7?dateTimeFromMatches(_0x4d63e7):[null,null,void 0x0];if(hasOwnProperty(_0x4d63e7,'a')&&hasOwnProperty(_0x4d63e7,'H'))throw new ConflictingSpecificationError('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x4d9d54,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x269b07,'matches':_0x4d63e7,'result':_0x515781,'zone':_0x3a7228,'specificOffset':_0x3bc44d};}return{'input':_0x4d9d54,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}}function _0x3eb813(_0x491b98,_0x508f76,_0xc7b3){return new _0x3ea09d(_0x491b98,_0xc7b3)['explainFromTokens'](_0x508f76);}function _0x32b26c(_0x4e6198,_0x35c9ef,_0x51b781){const {result:_0x3fd9ee,zone:_0x2e5102,specificOffset:_0x58ae30,invalidReason:_0xf29260}=_0x3eb813(_0x4e6198,_0x35c9ef,_0x51b781);return[_0x3fd9ee,_0x2e5102,_0x58ae30,_0xf29260];}function formatOptsToTokens(_0x1f901f,_0x2725f5){if(!_0x1f901f)return null;const _0x5bafb3=Formatter['create'](_0x2725f5,_0x1f901f)['dtFormatter'](getDummyDateTime()),_0x16ebed=_0x5bafb3['formatToParts'](),_0xcee371=_0x5bafb3['resolvedOptions']();return _0x16ebed['map'](_0x5ef590=>tokenForPart(_0x5ef590,_0x1f901f,_0xcee371));}const _0x5a2d8e='Invalid\x20DateTime',_0x25618d=0x1eb208c2dc0000;function unsupportedZone(_0x2a36bc){return new _0x4cd47e('unsupported\x20zone','the\x20zone\x20\x22'+_0x2a36bc['name']+'\x22\x20is\x20not\x20supported');}function possiblyCachedWeekData(_0x3d252){return null===_0x3d252['weekData']&&(_0x3d252['weekData']=_0x1fd24f(_0x3d252['c'])),_0x3d252['weekData'];}function possiblyCachedLocalWeekData(_0x2dcd03){return null===_0x2dcd03['localWeekData']&&(_0x2dcd03['localWeekData']=_0x1fd24f(_0x2dcd03['c'],_0x2dcd03['loc']['getMinDaysInFirstWeek'](),_0x2dcd03['loc']['getStartOfWeek']())),_0x2dcd03['localWeekData'];}function _0x387cb9(_0x58eeba,_0x40531c){const _0x64eddb={'ts':_0x58eeba['ts'],'zone':_0x58eeba['zone'],'c':_0x58eeba['c'],'o':_0x58eeba['o'],'loc':_0x58eeba['loc'],'invalid':_0x58eeba['invalid']};return new DateTime({..._0x64eddb,..._0x40531c,'old':_0x64eddb});}function fixOffset(_0x4a1503,_0x2f1c46,_0x175014){let _0x32ad71=_0x4a1503-0x3c*_0x2f1c46*0x3e8;const _0x3ed098=_0x175014['offset'](_0x32ad71);if(_0x2f1c46===_0x3ed098)return[_0x32ad71,_0x2f1c46];_0x32ad71-=0x3c*(_0x3ed098-_0x2f1c46)*0x3e8;const _0x537b4a=_0x175014['offset'](_0x32ad71);return _0x3ed098===_0x537b4a?[_0x32ad71,_0x3ed098]:[_0x4a1503-0x3c*Math['min'](_0x3ed098,_0x537b4a)*0x3e8,Math['max'](_0x3ed098,_0x537b4a)];}function tsToObj(_0x5238a0,_0x4bae8b){const _0x191e11=new Date(_0x5238a0+=0x3c*_0x4bae8b*0x3e8);return{'year':_0x191e11['getUTCFullYear'](),'month':_0x191e11['getUTCMonth']()+0x1,'day':_0x191e11['getUTCDate'](),'hour':_0x191e11['getUTCHours'](),'minute':_0x191e11['getUTCMinutes'](),'second':_0x191e11['getUTCSeconds'](),'millisecond':_0x191e11['getUTCMilliseconds']()};}function _0x455eea(_0x3195f0,_0x2c3326,_0x40b90f){return fixOffset(_0x4f573e(_0x3195f0),_0x2c3326,_0x40b90f);}function adjustTime(_0x1326c8,_0xe247b2){const _0x4103a5=_0x1326c8['o'],_0x16ffa2=_0x1326c8['c']['year']+Math['trunc'](_0xe247b2['years']),_0x39f09c=_0x1326c8['c']['month']+Math['trunc'](_0xe247b2['months'])+0x3*Math['trunc'](_0xe247b2['quarters']),_0x3a3a3c={..._0x1326c8['c'],'year':_0x16ffa2,'month':_0x39f09c,'day':Math['min'](_0x1326c8['c']['day'],daysInMonth(_0x16ffa2,_0x39f09c))+Math['trunc'](_0xe247b2['days'])+0x7*Math['trunc'](_0xe247b2['weeks'])},_0x35fe8c=Duration['fromObject']({'years':_0xe247b2['years']-Math['trunc'](_0xe247b2['years']),'quarters':_0xe247b2['quarters']-Math['trunc'](_0xe247b2['quarters']),'months':_0xe247b2['months']-Math['trunc'](_0xe247b2['months']),'weeks':_0xe247b2['weeks']-Math['trunc'](_0xe247b2['weeks']),'days':_0xe247b2['days']-Math['trunc'](_0xe247b2['days']),'hours':_0xe247b2['hours'],'minutes':_0xe247b2['minutes'],'seconds':_0xe247b2['seconds'],'milliseconds':_0xe247b2['milliseconds']})['as']('milliseconds'),_0x53e8f5=_0x4f573e(_0x3a3a3c);let [_0x13a0d9,_0x32532c]=fixOffset(_0x53e8f5,_0x4103a5,_0x1326c8['zone']);return 0x0!==_0x35fe8c&&(_0x13a0d9+=_0x35fe8c,_0x32532c=_0x1326c8['zone']['offset'](_0x13a0d9)),{'ts':_0x13a0d9,'o':_0x32532c};}function parseDataToDateTime(_0x4b4ac0,_0x213584,_0x3d2287,_0x6b2183,_0x5cf155,_0x15052a){const {setZone:_0x5a2f3a,zone:_0x5cc4af}=_0x3d2287;if(_0x4b4ac0&&0x0!==Object['keys'](_0x4b4ac0)['length']||_0x213584){const _0x273a97=_0x213584||_0x5cc4af,_0x5df87c=DateTime['fromObject'](_0x4b4ac0,{..._0x3d2287,'zone':_0x273a97,'specificOffset':_0x15052a});return _0x5a2f3a?_0x5df87c:_0x5df87c['setZone'](_0x5cc4af);}return DateTime['invalid'](new _0x4cd47e('unparsable','the\x20input\x20\x22'+_0x5cf155+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x6b2183));}function toTechFormat(_0x3f260a,_0x556349,_0x23c4f0=!0x0){return _0x3f260a['isValid']?Formatter['create'](_0x591980['create']('en-US'),{'allowZ':_0x23c4f0,'forceSimple':!0x0})['formatDateTimeFromString'](_0x3f260a,_0x556349):null;}function toISODate(_0x39a2b4,_0x2ad36e){const _0x2a0ec6=_0x39a2b4['c']['year']>0x270f||_0x39a2b4['c']['year']<0x0;let _0x494faa='';return _0x2a0ec6&&_0x39a2b4['c']['year']>=0x0&&(_0x494faa+='+'),_0x494faa+=padStart(_0x39a2b4['c']['year'],_0x2a0ec6?0x6:0x4),_0x2ad36e?(_0x494faa+='-',_0x494faa+=padStart(_0x39a2b4['c']['month']),_0x494faa+='-',_0x494faa+=padStart(_0x39a2b4['c']['day'])):(_0x494faa+=padStart(_0x39a2b4['c']['month']),_0x494faa+=padStart(_0x39a2b4['c']['day'])),_0x494faa;}function toISOTime(_0x4c3a57,_0x9304d3,_0x52fdba,_0x2fb5eb,_0x37698f,_0x591b4e){let _0x41fce0=padStart(_0x4c3a57['c']['hour']);return _0x9304d3?(_0x41fce0+=':',_0x41fce0+=padStart(_0x4c3a57['c']['minute']),0x0===_0x4c3a57['c']['millisecond']&&0x0===_0x4c3a57['c']['second']&&_0x52fdba||(_0x41fce0+=':')):_0x41fce0+=padStart(_0x4c3a57['c']['minute']),0x0===_0x4c3a57['c']['millisecond']&&0x0===_0x4c3a57['c']['second']&&_0x52fdba||(_0x41fce0+=padStart(_0x4c3a57['c']['second']),0x0===_0x4c3a57['c']['millisecond']&&_0x2fb5eb||(_0x41fce0+='.',_0x41fce0+=padStart(_0x4c3a57['c']['millisecond'],0x3))),_0x37698f&&(_0x4c3a57['isOffsetFixed']&&0x0===_0x4c3a57['offset']&&!_0x591b4e?_0x41fce0+='Z':_0x4c3a57['o']<0x0?(_0x41fce0+='-',_0x41fce0+=padStart(Math['trunc'](-_0x4c3a57['o']/0x3c)),_0x41fce0+=':',_0x41fce0+=padStart(Math['trunc'](-_0x4c3a57['o']%0x3c))):(_0x41fce0+='+',_0x41fce0+=padStart(Math['trunc'](_0x4c3a57['o']/0x3c)),_0x41fce0+=':',_0x41fce0+=padStart(Math['trunc'](_0x4c3a57['o']%0x3c)))),_0x591b4e&&(_0x41fce0+='['+_0x4c3a57['zone']['ianaName']+']'),_0x41fce0;}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(_0x48094f){const _0x1daac8={'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'}[_0x48094f['toLowerCase']()];if(!_0x1daac8)throw new InvalidUnitError(_0x48094f);return _0x1daac8;}function normalizeUnitWithLocalWeeks(_0x2674a7){switch(_0x2674a7['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return normalizeUnit(_0x2674a7);}}function guessOffsetForZone(_0x311490){if(void 0x0===zoneOffsetTs&&(zoneOffsetTs=Settings['now']()),'iana'!==_0x311490['type'])return _0x311490['offset'](zoneOffsetTs);const _0x451297=_0x311490['name'];let _0x5e87bd=zoneOffsetGuessCache['get'](_0x451297);return void 0x0===_0x5e87bd&&(_0x5e87bd=_0x311490['offset'](zoneOffsetTs),zoneOffsetGuessCache['set'](_0x451297,_0x5e87bd)),_0x5e87bd;}function _0x21bc72(_0x32fb39,_0x182b45){const _0x26ae90=_0x150d64(_0x182b45['zone'],Settings['defaultZone']);if(!_0x26ae90['isValid'])return DateTime['invalid'](unsupportedZone(_0x26ae90));const _0x2080dd=_0x591980['fromObject'](_0x182b45);let _0x389e25,_0x7b782;if(_0x44e2ab(_0x32fb39['year']))_0x389e25=Settings['now']();else{for(const _0x541de2 of orderedUnits)_0x44e2ab(_0x32fb39[_0x541de2])&&(_0x32fb39[_0x541de2]=defaultUnitValues[_0x541de2]);const _0x38c428=hasInvalidGregorianData(_0x32fb39)||hasInvalidTimeData(_0x32fb39);if(_0x38c428)return DateTime['invalid'](_0x38c428);const _0x4a276c=guessOffsetForZone(_0x26ae90);[_0x389e25,_0x7b782]=_0x455eea(_0x32fb39,_0x4a276c,_0x26ae90);}return new DateTime({'ts':_0x389e25,'zone':_0x26ae90,'loc':_0x2080dd,'o':_0x7b782});}function diffRelative(_0x14ad4f,_0x3623a7,_0x3eecb4){const _0x3ed7f4=!!_0x44e2ab(_0x3eecb4['round'])||_0x3eecb4['round'],_0x30ad0e=(_0x1092d5,_0x5674ac)=>{return _0x1092d5=_0x34899b(_0x1092d5,_0x3ed7f4||_0x3eecb4['calendary']?0x0:0x2,!0x0),_0x3623a7['loc']['clone'](_0x3eecb4)['relFormatter'](_0x3eecb4)['format'](_0x1092d5,_0x5674ac);},_0x3845e1=_0x11feae=>_0x3eecb4['calendary']?_0x3623a7['hasSame'](_0x14ad4f,_0x11feae)?0x0:_0x3623a7['startOf'](_0x11feae)['diff'](_0x14ad4f['startOf'](_0x11feae),_0x11feae)['get'](_0x11feae):_0x3623a7['diff'](_0x14ad4f,_0x11feae)['get'](_0x11feae);if(_0x3eecb4['unit'])return _0x30ad0e(_0x3845e1(_0x3eecb4['unit']),_0x3eecb4['unit']);for(const _0x5488b9 of _0x3eecb4['units']){const _0x27cff5=_0x3845e1(_0x5488b9);if(Math['abs'](_0x27cff5)>=0x1)return _0x30ad0e(_0x27cff5,_0x5488b9);}return _0x30ad0e(_0x14ad4f>_0x3623a7?-0x0:0x0,_0x3eecb4['units'][_0x3eecb4['units']['length']-0x1]);}function lastOpts(_0x509671){let _0x273455,_0x1fae05={};return _0x509671['length']>0x0&&'object'==typeof _0x509671[_0x509671['length']-0x1]?(_0x1fae05=_0x509671[_0x509671['length']-0x1],_0x273455=Array['from'](_0x509671)['slice'](0x0,_0x509671['length']-0x1)):_0x273455=Array['from'](_0x509671),[_0x1fae05,_0x273455];}let zoneOffsetTs;const zoneOffsetGuessCache=new Map();class DateTime{constructor(_0xb2a79d){const _0xb3b5eb=_0xb2a79d['zone']||Settings['defaultZone'];let _0x307a92=_0xb2a79d['invalid']||(Number['isNaN'](_0xb2a79d['ts'])?new _0x4cd47e('invalid\x20input'):null)||(_0xb3b5eb['isValid']?null:unsupportedZone(_0xb3b5eb));this['ts']=_0x44e2ab(_0xb2a79d['ts'])?Settings['now']():_0xb2a79d['ts'];let _0x16e655=null,_0x35b544=null;if(!_0x307a92){if(_0xb2a79d['old']&&_0xb2a79d['old']['ts']===this['ts']&&_0xb2a79d['old']['zone']['equals'](_0xb3b5eb))[_0x16e655,_0x35b544]=[_0xb2a79d['old']['c'],_0xb2a79d['old']['o']];else{const _0x3ebee7=_0x43fd0f(_0xb2a79d['o'])&&!_0xb2a79d['old']?_0xb2a79d['o']:_0xb3b5eb['offset'](this['ts']);_0x16e655=tsToObj(this['ts'],_0x3ebee7),_0x307a92=Number['isNaN'](_0x16e655['year'])?new _0x4cd47e('invalid\x20input'):null,_0x16e655=_0x307a92?null:_0x16e655,_0x35b544=_0x307a92?null:_0x3ebee7;}}this['_zone']=_0xb3b5eb,this['loc']=_0xb2a79d['loc']||_0x591980['create'](),this['invalid']=_0x307a92,this['weekData']=null,this['localWeekData']=null,this['c']=_0x16e655,this['o']=_0x35b544,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0x2e10b3,_0x2f093a]=lastOpts(arguments),[_0x4c117b,_0x58099c,_0x32e8ce,_0x4cfb24,_0x5705c6,_0x847fce,_0x382140]=_0x2f093a;return _0x21bc72({'year':_0x4c117b,'month':_0x58099c,'day':_0x32e8ce,'hour':_0x4cfb24,'minute':_0x5705c6,'second':_0x847fce,'millisecond':_0x382140},_0x2e10b3);}static['utc'](){const [_0x292fab,_0x123096]=lastOpts(arguments),[_0x34c677,_0xdd0391,_0x3b38dd,_0x48782a,_0x203fe4,_0x1eaf14,_0x557246]=_0x123096;return _0x292fab['zone']=FixedOffsetZone['utcInstance'],_0x21bc72({'year':_0x34c677,'month':_0xdd0391,'day':_0x3b38dd,'hour':_0x48782a,'minute':_0x203fe4,'second':_0x1eaf14,'millisecond':_0x557246},_0x292fab);}static['fromJSDate'](_0x38a2c5,_0x43c01e={}){const _0x52cafd=isDate(_0x38a2c5)?_0x38a2c5['valueOf']():NaN;if(Number['isNaN'](_0x52cafd))return DateTime['invalid']('invalid\x20input');const _0x2ced76=_0x150d64(_0x43c01e['zone'],Settings['defaultZone']);return _0x2ced76['isValid']?new DateTime({'ts':_0x52cafd,'zone':_0x2ced76,'loc':_0x591980['fromObject'](_0x43c01e)}):DateTime['invalid'](unsupportedZone(_0x2ced76));}static['fromMillis'](_0x5afd09,_0x5e58ed={}){if(_0x43fd0f(_0x5afd09))return _0x5afd09<-_0x25618d||_0x5afd09>_0x25618d?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0x5afd09,'zone':_0x150d64(_0x5e58ed['zone'],Settings['defaultZone']),'loc':_0x591980['fromObject'](_0x5e58ed)});throw new InvalidArgumentError('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0x5afd09+'\x20with\x20value\x20'+_0x5afd09);}static['fromSeconds'](_0x3e0665,_0x505059={}){if(_0x43fd0f(_0x3e0665))return new DateTime({'ts':0x3e8*_0x3e0665,'zone':_0x150d64(_0x505059['zone'],Settings['defaultZone']),'loc':_0x591980['fromObject'](_0x505059)});throw new InvalidArgumentError('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x351d26,_0x15ed28={}){_0x351d26=_0x351d26||{};const _0x5943d2=_0x150d64(_0x15ed28['zone'],Settings['defaultZone']);if(!_0x5943d2['isValid'])return DateTime['invalid'](unsupportedZone(_0x5943d2));const _0x5a79d8=_0x591980['fromObject'](_0x15ed28),_0x480465=normalizeObject(_0x351d26,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:_0x1abd78,startOfWeek:_0x9f48ba}=_0x491439(_0x480465,_0x5a79d8),_0x17f229=Settings['now'](),_0x278bd1=_0x44e2ab(_0x15ed28['specificOffset'])?_0x5943d2['offset'](_0x17f229):_0x15ed28['specificOffset'],_0x184c80=!_0x44e2ab(_0x480465['ordinal']),_0x163824=!_0x44e2ab(_0x480465['year']),_0x2cc62f=!_0x44e2ab(_0x480465['month'])||!_0x44e2ab(_0x480465['day']),_0x1d226c=_0x163824||_0x2cc62f,_0x28136f=_0x480465['weekYear']||_0x480465['weekNumber'];if((_0x1d226c||_0x184c80)&&_0x28136f)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x2cc62f&&_0x184c80)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x40382f=_0x28136f||_0x480465['weekday']&&!_0x1d226c;let _0x24cb47,_0x31d92f,_0x5e10ed=tsToObj(_0x17f229,_0x278bd1);_0x40382f?(_0x24cb47=orderedWeekUnits,_0x31d92f=defaultWeekUnitValues,_0x5e10ed=_0x1fd24f(_0x5e10ed,_0x1abd78,_0x9f48ba)):_0x184c80?(_0x24cb47=orderedOrdinalUnits,_0x31d92f=defaultOrdinalUnitValues,_0x5e10ed=_0x99c3aa(_0x5e10ed)):(_0x24cb47=orderedUnits,_0x31d92f=defaultUnitValues);let _0x5f4b7b=!0x1;for(const _0x218f09 of _0x24cb47){_0x44e2ab(_0x480465[_0x218f09])?_0x480465[_0x218f09]=_0x5f4b7b?_0x31d92f[_0x218f09]:_0x5e10ed[_0x218f09]:_0x5f4b7b=!0x0;}const _0x3c6400=(_0x40382f?hasInvalidWeekData(_0x480465,_0x1abd78,_0x9f48ba):_0x184c80?hasInvalidOrdinalData(_0x480465):hasInvalidGregorianData(_0x480465))||hasInvalidTimeData(_0x480465);if(_0x3c6400)return DateTime['invalid'](_0x3c6400);const _0x3af132=_0x40382f?_0x5b3332(_0x480465,_0x1abd78,_0x9f48ba):_0x184c80?_0x19ea0a(_0x480465):_0x480465,[_0x10a289,_0x2a2be5]=_0x455eea(_0x3af132,_0x278bd1,_0x5943d2),_0x5a19cf=new DateTime({'ts':_0x10a289,'zone':_0x5943d2,'o':_0x2a2be5,'loc':_0x5a79d8});return _0x480465['weekday']&&_0x1d226c&&_0x351d26['weekday']!==_0x5a19cf['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x480465['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x5a19cf['toISO']()):_0x5a19cf['isValid']?_0x5a19cf:DateTime['invalid'](_0x5a19cf['invalid']);}static['fromISO'](_0x2fc63b,_0x1cf3f0={}){const [_0x9802b5,_0x50b47d]=parseISODate(_0x2fc63b);return parseDataToDateTime(_0x9802b5,_0x50b47d,_0x1cf3f0,'ISO\x208601',_0x2fc63b);}static['fromRFC2822'](_0x4e2c84,_0x4639c3={}){const [_0x4093ff,_0x25f49a]=parseRFC2822Date(_0x4e2c84);return parseDataToDateTime(_0x4093ff,_0x25f49a,_0x4639c3,'RFC\x202822',_0x4e2c84);}static['fromHTTP'](_0x1a92cd,_0x8110b1={}){const [_0x40c134,_0x3ee0bb]=parseHTTPDate(_0x1a92cd);return parseDataToDateTime(_0x40c134,_0x3ee0bb,_0x8110b1,'HTTP',_0x8110b1);}static['fromFormat'](_0x1cda5e,_0x53a9d4,_0x17a63a={}){if(_0x44e2ab(_0x1cda5e)||_0x44e2ab(_0x53a9d4))throw new InvalidArgumentError('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0x7b52c5=null,numberingSystem:_0x2d17c5=null}=_0x17a63a,_0x402498=_0x591980['fromOpts']({'locale':_0x7b52c5,'numberingSystem':_0x2d17c5,'defaultToEN':!0x0}),[_0x2e28b5,_0x5b9253,_0x213e92,_0x14ac11]=_0x32b26c(_0x402498,_0x1cda5e,_0x53a9d4);return _0x14ac11?DateTime['invalid'](_0x14ac11):parseDataToDateTime(_0x2e28b5,_0x5b9253,_0x17a63a,'format\x20'+_0x53a9d4,_0x1cda5e,_0x213e92);}static['fromString'](_0x2011c3,_0x2b3a9a,_0x13dc43={}){return DateTime['fromFormat'](_0x2011c3,_0x2b3a9a,_0x13dc43);}static['fromSQL'](_0x2152fd,_0x366178={}){const [_0x5609c0,_0x4b27c4]=_0x4e55c9(_0x2152fd);return parseDataToDateTime(_0x5609c0,_0x4b27c4,_0x366178,'SQL',_0x2152fd);}static['invalid'](_0x40056c,_0x2e63b4=null){if(!_0x40056c)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0x4f2a43=_0x40056c instanceof _0x4cd47e?_0x40056c:new _0x4cd47e(_0x40056c,_0x2e63b4);if(Settings['throwOnInvalid'])throw new InvalidDateTimeError(_0x4f2a43);return new DateTime({'invalid':_0x4f2a43});}static['isDateTime'](_0x3cb3eb){return _0x3cb3eb&&_0x3cb3eb['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0xb096ad,_0xf57197={}){const _0x28a597=formatOptsToTokens(_0xb096ad,_0x591980['fromObject'](_0xf57197));return _0x28a597?_0x28a597['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0x10fc02,_0x3fe419={}){return _0x378975(Formatter['parseFormat'](_0x10fc02),_0x591980['fromObject'](_0x3fe419))['map'](t=>t['val'])['join']('');}static['resetCache'](){zoneOffsetTs=void 0x0,zoneOffsetGuessCache['clear']();}['get'](_0x3cd22){return this[_0x3cd22];}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']?_0x99c3aa(this['c'])['ordinal']:NaN;}get['monthShort'](){return this['isValid']?_0x4433d4['months']('short',{'locObj':this['loc']})[this['month']-0x1]:null;}get['monthLong'](){return this['isValid']?_0x4433d4['months']('long',{'locObj':this['loc']})[this['month']-0x1]:null;}get['weekdayShort'](){return this['isValid']?_0x4433d4['weekdays']('short',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['weekdayLong'](){return this['isValid']?_0x4433d4['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 _0x157d5b=0x5265c00,_0x5ef1fd=0xea60,_0x3c83b5=_0x4f573e(this['c']),_0x4d7c2b=this['zone']['offset'](_0x3c83b5-_0x157d5b),_0xf813be=this['zone']['offset'](_0x3c83b5+_0x157d5b),_0x1c038d=this['zone']['offset'](_0x3c83b5-_0x4d7c2b*_0x5ef1fd),_0x5bbe55=this['zone']['offset'](_0x3c83b5-_0xf813be*_0x5ef1fd);if(_0x1c038d===_0x5bbe55)return[this];const _0x4dd0da=_0x3c83b5-_0x1c038d*_0x5ef1fd,_0x109069=_0x3c83b5-_0x5bbe55*_0x5ef1fd,_0x535486=tsToObj(_0x4dd0da,_0x1c038d),_0x4ba8f6=tsToObj(_0x109069,_0x5bbe55);return _0x535486['hour']===_0x4ba8f6['hour']&&_0x535486['minute']===_0x4ba8f6['minute']&&_0x535486['second']===_0x4ba8f6['second']&&_0x535486['millisecond']===_0x4ba8f6['millisecond']?[_0x387cb9(this,{'ts':_0x4dd0da}),_0x387cb9(this,{'ts':_0x109069})]:[this];}get['isInLeapYear'](){return _0x23ea40(this['year']);}get['daysInMonth'](){return daysInMonth(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?_0x18de30(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?_0x1c6138(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?_0x1c6138(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}['resolvedLocaleOptions'](_0x5dfb02={}){const {locale:_0x44ba5a,numberingSystem:_0x592431,calendar:_0x1e6a43}=Formatter['create'](this['loc']['clone'](_0x5dfb02),_0x5dfb02)['resolvedOptions'](this);return{'locale':_0x44ba5a,'numberingSystem':_0x592431,'outputCalendar':_0x1e6a43};}['toUTC'](_0x2155a9=0x0,_0x591eea={}){return this['setZone'](FixedOffsetZone['instance'](_0x2155a9),_0x591eea);}['toLocal'](){return this['setZone'](Settings['defaultZone']);}['setZone'](_0x510127,{keepLocalTime:_0x8647f1=!0x1,keepCalendarTime:_0x56be1d=!0x1}={}){if((_0x510127=_0x150d64(_0x510127,Settings['defaultZone']))['equals'](this['zone']))return this;if(_0x510127['isValid']){let _0x65e026=this['ts'];if(_0x8647f1||_0x56be1d){const _0x46ce7d=_0x510127['offset'](this['ts']),_0x3628a8=this['toObject']();[_0x65e026]=_0x455eea(_0x3628a8,_0x46ce7d,_0x510127);}return _0x387cb9(this,{'ts':_0x65e026,'zone':_0x510127});}return DateTime['invalid'](unsupportedZone(_0x510127));}['reconfigure']({locale:_0x1709d,numberingSystem:_0x52f23d,outputCalendar:_0x4034eb}={}){return _0x387cb9(this,{'loc':this['loc']['clone']({'locale':_0x1709d,'numberingSystem':_0x52f23d,'outputCalendar':_0x4034eb})});}['setLocale'](_0xbc2855){return this['reconfigure']({'locale':_0xbc2855});}['set'](_0x182d19){if(!this['isValid'])return this;const _0x2133f8=normalizeObject(_0x182d19,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:_0x3d6d51,startOfWeek:_0xc9991}=_0x491439(_0x2133f8,this['loc']),_0x411b8e=!_0x44e2ab(_0x2133f8['weekYear'])||!_0x44e2ab(_0x2133f8['weekNumber'])||!_0x44e2ab(_0x2133f8['weekday']),_0x55e2fb=!_0x44e2ab(_0x2133f8['ordinal']),_0x324840=!_0x44e2ab(_0x2133f8['year']),_0x5c40dc=!_0x44e2ab(_0x2133f8['month'])||!_0x44e2ab(_0x2133f8['day']),_0xf57610=_0x324840||_0x5c40dc,_0x4fa919=_0x2133f8['weekYear']||_0x2133f8['weekNumber'];if((_0xf57610||_0x55e2fb)&&_0x4fa919)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x5c40dc&&_0x55e2fb)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x129732;_0x411b8e?_0x129732=_0x5b3332({..._0x1fd24f(this['c'],_0x3d6d51,_0xc9991),..._0x2133f8},_0x3d6d51,_0xc9991):_0x44e2ab(_0x2133f8['ordinal'])?(_0x129732={...this['toObject'](),..._0x2133f8},_0x44e2ab(_0x2133f8['day'])&&(_0x129732['day']=Math['min'](daysInMonth(_0x129732['year'],_0x129732['month']),_0x129732['day']))):_0x129732=_0x19ea0a({..._0x99c3aa(this['c']),..._0x2133f8});const [_0x396383,_0x3d20e1]=_0x455eea(_0x129732,this['o'],this['zone']);return _0x387cb9(this,{'ts':_0x396383,'o':_0x3d20e1});}['plus'](_0x16b678){if(!this['isValid'])return this;return _0x387cb9(this,adjustTime(this,Duration['fromDurationLike'](_0x16b678)));}['minus'](_0x307623){if(!this['isValid'])return this;return _0x387cb9(this,adjustTime(this,Duration['fromDurationLike'](_0x307623)['negate']()));}['startOf'](_0x40677c,{useLocaleWeeks:_0x479ae3=!0x1}={}){if(!this['isValid'])return this;const _0xf1d116={},_0x100b18=Duration['normalizeUnit'](_0x40677c);switch(_0x100b18){case'years':_0xf1d116['month']=0x1;case'quarters':case'months':_0xf1d116['day']=0x1;case'weeks':case'days':_0xf1d116['hour']=0x0;case'hours':_0xf1d116['minute']=0x0;case'minutes':_0xf1d116['second']=0x0;case'seconds':_0xf1d116['millisecond']=0x0;}if('weeks'===_0x100b18){if(_0x479ae3){const _0x29129a=this['loc']['getStartOfWeek'](),{weekday:_0x3346b2}=this;_0x3346b2<_0x29129a&&(_0xf1d116['weekNumber']=this['weekNumber']-0x1),_0xf1d116['weekday']=_0x29129a;}else _0xf1d116['weekday']=0x1;}if('quarters'===_0x100b18){const _0x337382=Math['ceil'](this['month']/0x3);_0xf1d116['month']=0x3*(_0x337382-0x1)+0x1;}return this['set'](_0xf1d116);}['endOf'](_0x18173a,_0x596db2){return this['isValid']?this['plus']({[_0x18173a]:0x1})['startOf'](_0x18173a,_0x596db2)['minus'](0x1):this;}['toFormat'](_0x5e15aa,_0x941ca6={}){return this['isValid']?Formatter['create'](this['loc']['redefaultToEN'](_0x941ca6))['formatDateTimeFromString'](this,_0x5e15aa):_0x5a2d8e;}['toLocaleString'](_0x3afada=_0x56ae58,_0x58e3cb={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x58e3cb),_0x3afada)['formatDateTime'](this):_0x5a2d8e;}['toLocaleParts'](_0x3697a5={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x3697a5),_0x3697a5)['formatDateTimeParts'](this):[];}['toISO']({format:_0x7cc949='extended',suppressSeconds:_0x393692=!0x1,suppressMilliseconds:_0x2791e1=!0x1,includeOffset:_0x2587f8=!0x0,extendedZone:_0x217825=!0x1}={}){if(!this['isValid'])return null;const _0x2e61cb='extended'===_0x7cc949;let _0x444a63=toISODate(this,_0x2e61cb);return _0x444a63+='T',_0x444a63+=toISOTime(this,_0x2e61cb,_0x393692,_0x2791e1,_0x2587f8,_0x217825),_0x444a63;}['toISODate']({format:_0x1c50b7='extended'}={}){return this['isValid']?toISODate(this,'extended'===_0x1c50b7):null;}['toISOWeekDate'](){return toTechFormat(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0x2e72da=!0x1,suppressSeconds:_0x5c19d3=!0x1,includeOffset:_0x596dbb=!0x0,includePrefix:_0x226a67=!0x1,extendedZone:_0x291d7e=!0x1,format:_0x5b9485='extended'}={}){if(!this['isValid'])return null;return(_0x226a67?'T':'')+toISOTime(this,'extended'===_0x5b9485,_0x5c19d3,_0x2e72da,_0x596dbb,_0x291d7e);}['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:_0x1538b5=!0x0,includeZone:_0x13760f=!0x1,includeOffsetSpace:_0x561ca9=!0x0}={}){let _0x2fcce7='HH:mm:ss.SSS';return(_0x13760f||_0x1538b5)&&(_0x561ca9&&(_0x2fcce7+='\x20'),_0x13760f?_0x2fcce7+='z':_0x1538b5&&(_0x2fcce7+='ZZ')),toTechFormat(this,_0x2fcce7,!0x0);}['toSQL'](_0x4f6217={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x4f6217):null;}['toString'](){return this['isValid']?this['toISO']():_0x5a2d8e;}[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'](_0x278057={}){if(!this['isValid'])return{};const _0x59f312={...this['c']};return _0x278057['includeConfig']&&(_0x59f312['outputCalendar']=this['outputCalendar'],_0x59f312['numberingSystem']=this['loc']['numberingSystem'],_0x59f312['locale']=this['loc']['locale']),_0x59f312;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0x1a9a69,_0x245985='milliseconds',_0x4b3065={}){if(!this['isValid']||!_0x1a9a69['isValid'])return Duration['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x423fe4={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x4b3065},_0x3aa883=_0x5caf51(_0x245985)['map'](Duration['normalizeUnit']),_0x25cfc8=_0x1a9a69['valueOf']()>this['valueOf'](),_0x15cf45=_0x1523b7(_0x25cfc8?this:_0x1a9a69,_0x25cfc8?_0x1a9a69:this,_0x3aa883,_0x423fe4);return _0x25cfc8?_0x15cf45['negate']():_0x15cf45;}['diffNow'](_0x47cd6d='milliseconds',_0xf6de2e={}){return this['diff'](DateTime['now'](),_0x47cd6d,_0xf6de2e);}['until'](_0x52ce25){return this['isValid']?Interval['fromDateTimes'](this,_0x52ce25):this;}['hasSame'](_0x38465b,_0x1caa46,_0x488cdf){if(!this['isValid'])return!0x1;const _0x357a00=_0x38465b['valueOf'](),_0x4c45fc=this['setZone'](_0x38465b['zone'],{'keepLocalTime':!0x0});return _0x4c45fc['startOf'](_0x1caa46,_0x488cdf)<=_0x357a00&&_0x357a00<=_0x4c45fc['endOf'](_0x1caa46,_0x488cdf);}['equals'](_0x52f153){return this['isValid']&&_0x52f153['isValid']&&this['valueOf']()===_0x52f153['valueOf']()&&this['zone']['equals'](_0x52f153['zone'])&&this['loc']['equals'](_0x52f153['loc']);}['toRelative'](_0x370d92={}){if(!this['isValid'])return null;const _0x1a5d6d=_0x370d92['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0x29518c=_0x370d92['padding']?this<_0x1a5d6d?-_0x370d92['padding']:_0x370d92['padding']:0x0;let _0x4fa643=['years','months','days','hours','minutes','seconds'],_0x845675=_0x370d92['unit'];return Array['isArray'](_0x370d92['unit'])&&(_0x4fa643=_0x370d92['unit'],_0x845675=void 0x0),diffRelative(_0x1a5d6d,this['plus'](_0x29518c),{..._0x370d92,'numeric':'always','units':_0x4fa643,'unit':_0x845675});}['toRelativeCalendar'](_0x5a221d={}){return this['isValid']?diffRelative(_0x5a221d['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0x5a221d,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x41efb1){if(!_0x41efb1['every'](DateTime['isDateTime']))throw new InvalidArgumentError('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return bestBy(_0x41efb1,_0x581e29=>_0x581e29['valueOf'](),Math['min']);}static['max'](..._0x5553bf){if(!_0x5553bf['every'](DateTime['isDateTime']))throw new InvalidArgumentError('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return bestBy(_0x5553bf,_0x3a8d8c=>_0x3a8d8c['valueOf'](),Math['max']);}static['fromFormatExplain'](_0x340f25,_0x5a9d94,_0xcd6147={}){const {locale:_0x12c4b0=null,numberingSystem:_0x47bff3=null}=_0xcd6147;return _0x3eb813(_0x591980['fromOpts']({'locale':_0x12c4b0,'numberingSystem':_0x47bff3,'defaultToEN':!0x0}),_0x340f25,_0x5a9d94);}static['fromStringExplain'](_0x4ed6fa,_0x36b888,_0x1665b8={}){return DateTime['fromFormatExplain'](_0x4ed6fa,_0x36b888,_0x1665b8);}static['buildFormatParser'](_0x55f212,_0x3fe269={}){const {locale:_0x4e7413=null,numberingSystem:_0x2ad505=null}=_0x3fe269,_0x36fbbe=_0x591980['fromOpts']({'locale':_0x4e7413,'numberingSystem':_0x2ad505,'defaultToEN':!0x0});return new _0x3ea09d(_0x36fbbe,_0x55f212);}static['fromFormatParser'](_0x187ec5,_0x2aaf73,_0x68464c={}){if(_0x44e2ab(_0x187ec5)||_0x44e2ab(_0x2aaf73))throw new InvalidArgumentError('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x4588be=null,numberingSystem:_0x3c9e2c=null}=_0x68464c,_0x44e872=_0x591980['fromOpts']({'locale':_0x4588be,'numberingSystem':_0x3c9e2c,'defaultToEN':!0x0});if(!_0x44e872['equals'](_0x2aaf73['locale']))throw new InvalidArgumentError('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0x44e872+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x2aaf73['locale']);const {result:_0x135cae,zone:_0x3646b7,specificOffset:_0xbbedf1,invalidReason:_0x190bc9}=_0x2aaf73['explainFromTokens'](_0x187ec5);return _0x190bc9?DateTime['invalid'](_0x190bc9):parseDataToDateTime(_0x135cae,_0x3646b7,_0x68464c,'format\x20'+_0x2aaf73['format'],_0x187ec5,_0xbbedf1);}static get['DATE_SHORT'](){return _0x56ae58;}static get['DATE_MED'](){return _0x8907f9;}static get['DATE_MED_WITH_WEEKDAY'](){return _0x59a649;}static get['DATE_FULL'](){return _0x37796a;}static get['DATE_HUGE'](){return _0x9673ee;}static get['TIME_SIMPLE'](){return _0x3b29f7;}static get['TIME_WITH_SECONDS'](){return _0x24fba5;}static get['TIME_WITH_SHORT_OFFSET'](){return _0x3ba703;}static get['TIME_WITH_LONG_OFFSET'](){return _0x5d099a;}static get['TIME_24_SIMPLE'](){return _0x512e8e;}static get['TIME_24_WITH_SECONDS'](){return _0x44daba;}static get['TIME_24_WITH_SHORT_OFFSET'](){return _0x443ca0;}static get['TIME_24_WITH_LONG_OFFSET'](){return _0x43445b;}static get['DATETIME_SHORT'](){return _0x6b62ef;}static get['DATETIME_SHORT_WITH_SECONDS'](){return _0x19d2b1;}static get['DATETIME_MED'](){return _0x58e2ac;}static get['DATETIME_MED_WITH_SECONDS'](){return _0x518711;}static get['DATETIME_MED_WITH_WEEKDAY'](){return _0x18dcff;}static get['DATETIME_FULL'](){return _0x1f25ec;}static get['DATETIME_FULL_WITH_SECONDS'](){return _0x4c3f7;}static get['DATETIME_HUGE'](){return _0x5af166;}static get['DATETIME_HUGE_WITH_SECONDS'](){return _0x3ed638;}}function friendlyDateTime(_0x27bbba){if(DateTime['isDateTime'](_0x27bbba))return _0x27bbba;if(_0x27bbba&&_0x27bbba['valueOf']&&_0x43fd0f(_0x27bbba['valueOf']()))return DateTime['fromJSDate'](_0x27bbba);if(_0x27bbba&&'object'==typeof _0x27bbba)return DateTime['fromObject'](_0x27bbba);throw new InvalidArgumentError('Unknown\x20datetime\x20argument:\x20'+_0x27bbba+',\x20of\x20type\x20'+typeof _0x27bbba);}function getDateTimeFormatter(_0x35a5f9={},_0x2216dc){if(void 0x0!==_0x35a5f9['dateTimeFormat']&&'function'!=typeof _0x35a5f9['dateTimeFormat'])throw new ckeditor5['CKEditorError']('invalid-date-time-format');return _0x2a977d=>{const _0x2c2dad='string'==typeof _0x2a977d?DateTime['fromISO'](_0x2a977d):DateTime['fromJSDate'](_0x2a977d),_0x7f0e10=DateTime['now'](),_0x513237=Math['floor'](_0x7f0e10['diff'](_0x2c2dad,'days')['days']);return _0x35a5f9['dateTimeFormat']?_0x35a5f9['dateTimeFormat'](_0x2c2dad['toJSDate'](),_0x2216dc&&_0x2216dc['t']?_0x2216dc['t']:void 0x0):0x0===_0x513237?_0x2216dc?getTranslation$h(_0x2216dc,'Today')+'\x20'+_0x2c2dad['toFormat']('hh:mma'):_0x2c2dad['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x513237?_0x2216dc?getTranslation$h(_0x2216dc,'Yesterday')+'\x20'+_0x2c2dad['toFormat']('hh:mma'):_0x2c2dad['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x513237<0x7?_0x2216dc?getTranslation$h(_0x2216dc,'Last')+'\x20'+getTranslation$h(_0x2216dc,_0x2c2dad['toFormat']('EEEE'))+'\x20'+_0x2c2dad['toFormat']('hh:mma'):_0x2c2dad['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x2c2dad['toFormat']('LL-dd-yyyy\x20hh:mma');};}function getMarkerDomElement(_0x269a82,_0x413b81){const _0x276cde=_0x269a82['mapper']['markerNameToElements'](_0x413b81['name']);if(!_0x276cde)return null;const _0x4a5cf2=ckeditor5['first'](_0x276cde['values']());return _0x269a82['view']['domConverter']['mapViewToDom'](_0x4a5cf2)||null;}function getAllMarkersDomElementsSorted(_0x4beddc,_0x3c120a){if(0x0===_0x3c120a['length'])return null;const _0x215561=[],_0x1d7ea8=_0x4beddc['view']['domConverter'];for(const _0x2e51ad of _0x3c120a){const _0x281f22=_0x4beddc['mapper']['markerNameToElements'](_0x2e51ad['name']);if(!_0x281f22)continue;const _0x582fba=Array['from'](_0x281f22)['map'](_0x159012=>_0x1d7ea8['mapViewToDom'](_0x159012))['filter'](_0x1fdb20=>!!_0x1fdb20);_0x215561['push'](..._0x582fba);}if(0x0===_0x215561['length'])return null;const _0xf3ee49=[];for(const _0x561614 of _0x215561){const _0x5658d2=_0x561614['getClientRects']()['item'](0x0);_0x5658d2&&_0xf3ee49['push']({'x':_0x5658d2['x'],'y':_0x5658d2['y'],'domElement':_0x561614});}return 0x0===_0xf3ee49['length']?null:(_0xf3ee49['sort']((_0x2566ae,_0x3b1a05)=>_0x2566ae['y']-_0x3b1a05['y']||_0x2566ae['x']-_0x3b1a05['x']),_0xf3ee49['map'](_0xd9e50=>_0xd9e50['domElement']));}function trimHtml(_0x10d11d,{limit:_0x53a750,suffix:_0x451d82='...'}){const _0x433495=[];let _0x1f5795=0x0;const _0xc3cf82=_0x10d11d['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x316061=0x0;_0x316061<_0xc3cf82['length'];_0x316061++){let _0x455365=_0xc3cf82[_0x316061];const _0x5488d1=splitCharactersToArray(_0x455365);if(_0x455365['startsWith']('<')){if(_0x1f5795>=_0x53a750){const _0x478109=_0x455365['match'](/[a-zA-Z]+/);if(!_0x478109){_0xc3cf82[_0x316061]='';continue;}const _0x39b235=_0x478109[0x0];_0x455365['startsWith']('</')?(_0x433495['length']&&(_0x455365=''),_0x433495['pop']()):(_0x433495['push'](_0x39b235),_0x455365='');}}else{if(_0x1f5795>=_0x53a750)_0x455365='';else{if(_0x1f5795+_0x5488d1['length']>=_0x53a750){let _0x15bee0=_0x53a750-_0x1f5795;if('\x20'===_0x5488d1[_0x15bee0-0x1])_0x15bee0--;else{const _0x4e26a4=_0x5488d1['slice'](_0x15bee0)['indexOf']('\x20');-0x1!==_0x4e26a4?_0x15bee0+=_0x4e26a4:_0x15bee0=_0x455365['length'];}_0x455365=_0x5488d1['slice'](0x0,_0x15bee0)['join']('')+_0x451d82,_0x1f5795=_0x53a750;}else _0x1f5795+=_0x5488d1['length'];}}_0xc3cf82[_0x316061]=_0x455365;}return _0xc3cf82['join']('\x0a')['replace'](/\n/g,'');}function splitCharactersToArray(_0x3e4a85){const _0x4d3b55=[];for(let _0x1f1407=0x0;_0x1f1407<_0x3e4a85['length'];_0x1f1407++){const _0x549144=_0x3e4a85['substring'](_0x1f1407)['match'](/^&[a-z0-9#]+;/);if(_0x549144){const _0x56a753=_0x549144[0x0];_0x4d3b55['push'](_0x56a753),_0x1f1407+=_0x56a753['length']-0x1;}else _0x4d3b55['push'](_0x3e4a85[_0x1f1407]);}return _0x4d3b55;}class _0x4dfedb extends ckeditor5['View']{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x34d662){super(_0x34d662);const _0x5a8fb6=this['bindTemplate'];this['set']('message',getTranslation$h(_0x34d662,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x34d662,getTranslation$h(_0x34d662,'Yes'),ckeditor5['IconCheck'],'submit'),this['cancelView']=this['_createButtonView'](_0x34d662,getTranslation$h(_0x34d662,'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':_0x5a8fb6['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'](_0x62e7c7,_0x4acad7,_0x599dc7,_0x46e619){const _0x4a259b=new ckeditor5['ButtonView'](_0x62e7c7);return _0x4a259b['label']=_0x4acad7,_0x4a259b['icon']=_0x599dc7,_0x4a259b['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x46e619}}),_0x4a259b['on']('execute',()=>this['fire'](_0x46e619)),_0x4a259b;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x30bc84=>{this['keystrokes']['listenTo'](_0x30bc84['element']),this['focusTracker']['add'](_0x30bc84['element']);}),this['keystrokes']['set']('esc',(_0x2746f4,_0x40e7bf)=>{this['fire']('cancel'),_0x40e7bf();});}}function _0x605636(_0x12d62a){return class extends _0x12d62a{['showConfirm'](_0x5a6931,_0x128594){return this['confirmView']=new _0x4dfedb(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x5a6931,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x128594['appendChild'](this['confirmView']['element']),_0x128594['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x4048da,_0xb944dd,_0x8e79b7)=>{_0x8e79b7||_0x128594['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x5b9882=>this['confirmView']['on']('submit',_0x5b9882));}['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(_0x3b0652){let _0x1e7854=0x0,_0x5ee745=0x0;for(const _0x508c45 of objectToNumberGenerator(_0x3b0652))_0x1e7854=(_0x1e7854<<0x5)-_0x1e7854+_0x508c45,_0x1e7854&=_0x1e7854,[_0x1e7854,_0x5ee745]=[_0x5ee745,_0x1e7854];return toString$1(_0x1e7854)+toString$1(_0x5ee745);}function*toNumberGenerator(_0x3968c5){null==_0x3968c5||null==_0x3968c5?yield 0x12b9b0a1:0x0===_0x3968c5||!0x1===_0x3968c5?yield 0x0:0x1===_0x3968c5||0x1==_0x3968c5?yield 0x1:Array['isArray'](_0x3968c5)?yield*arrayToNumberGenerator(_0x3968c5):'object'==typeof _0x3968c5?yield*objectToNumberGenerator(_0x3968c5):'string'==typeof _0x3968c5?yield*stringToNumberGenerator(_0x3968c5):'number'==typeof _0x3968c5&&(yield _0x3968c5);}function*objectToNumberGenerator(_0x200a81){if(yield _0x451cd6('{'),_0x200a81){const _0x18eae4=Object['keys'](_0x200a81)['sort']();for(const _0x19e24f of _0x18eae4){yield*stringToNumberGenerator(_0x19e24f),yield _0x451cd6(':');const _0x54d45b=_0x200a81[_0x19e24f];yield*toNumberGenerator(_0x54d45b);}}yield _0x451cd6('}');}function*arrayToNumberGenerator(_0x510fdc){for(const _0x4022b5 of _0x510fdc)yield*toNumberGenerator(_0x4022b5);}function*stringToNumberGenerator(_0x343ec4){yield _0x451cd6('\x22');for(const _0x42607d of _0x343ec4)yield _0x451cd6(_0x42607d);yield _0x451cd6('\x22');}function _0x451cd6(_0x1b91f1){return _0x1b91f1['charCodeAt'](0x0);}function toString$1(_0x9e2150){return(_0x9e2150*=Math['sign'](_0x9e2150))['toString'](0x24);}const blackListedConfigOptions=['root','roots','initialData','context','toolbar','rootsAttributes'],blackListedPlugins$2=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function skipRtcPlugins(_0x3ce8f3,_0x273811,_0x469bd5,_0x458944=[]){const _0x3aef91='string'==typeof _0x3ce8f3?_0x469bd5['get'](_0x3ce8f3)['constructor']:_0x3ce8f3['prototype']['constructor'];if(_0x273811['has'](_0x3aef91))return _0x273811['get'](_0x3aef91);_0x273811['set'](_0x3aef91,!0x0);const _0xb8e80a=[...blackListedPlugins$2,..._0x458944]['map'](_0x53a8ad=>{if(_0x469bd5['has'](_0x53a8ad))return _0x469bd5['get'](_0x53a8ad)['constructor'];})['filter'](_0x8883ef=>_0x8883ef);if(_0x3aef91&&_0xb8e80a['includes'](_0x3aef91))return _0x273811['set'](_0x3aef91,!0x1),!0x1;if(!_0x3aef91['requires'])return _0x273811['set'](_0x3aef91,!0x0),!0x0;const _0xc57906=_0x3aef91['requires']['every'](_0x4448ae=>skipRtcPlugins(_0x4448ae,_0x273811,_0x469bd5,_0x458944));return _0x273811['set'](_0x3aef91,_0xc57906),_0xc57906;}function sanitizeEditorConfig(_0x383ba1,_0x2b76c0){const _0x2c0cd5={};for(const _0x34cea9 of _0x383ba1['config']['names']())blackListedConfigOptions['includes'](_0x34cea9)||(_0x2c0cd5[_0x34cea9]=_0x383ba1['config']['get'](_0x34cea9));const _0x4c900a=_0x2c0cd5['plugins']||[],_0x22210e=_0x383ba1['constructor']['builtinPlugins']||[],_0x44fbc6=_0x4c900a['length']?_0x4c900a:_0x22210e,_0x2dea53=_0x2c0cd5['extraPlugins']||[];delete _0x2c0cd5['extraPlugins'];const _0x2ccacf=_0x2c0cd5['removePlugins']||[];delete _0x2c0cd5['removePlugins'];const _0x238f30=_0x383ba1['_context']['config']['get']('plugins')||[],_0x52683e=_0x44fbc6['concat'](_0x2dea53)['concat'](_0x238f30)['map'](_0x1aacd0=>'string'==typeof _0x1aacd0?_0x22210e['find'](_0x54b191=>_0x54b191['pluginName']==_0x1aacd0):_0x1aacd0)['filter'](_0x3a9dc6=>!_0x2ccacf['includes'](_0x3a9dc6)&&!_0x2ccacf['includes'](_0x3a9dc6['pluginName'])),_0x45208a=Array['from'](new Set(_0x52683e)),_0x5bf115=new Map();return _0x2c0cd5['plugins']=_0x45208a['filter'](_0x527b1f=>skipRtcPlugins(_0x527b1f,_0x5bf115,_0x383ba1['plugins'],_0x2b76c0)),_0x2c0cd5;}function surroundingMarkersDetector(_0x2ff31c,_0x3fcfa9){const _0x4c79bc=[];_0x2ff31c['document']['selection']['on']('change:range',()=>{const _0x40a5fd=getSurroundingMarkers(_0x2ff31c,_0x2ff31c['document']['selection']['focus']),_0xf0cdb6=[],_0x133cc1=[],_0x524dc1=[];for(const _0x2107ae of _0x4c79bc)_0x40a5fd['includes'](_0x2107ae)||_0xf0cdb6['push'](_0x2107ae);for(const _0x21ac0c of _0x40a5fd)_0x4c79bc['includes'](_0x21ac0c)||_0x133cc1['push'](_0x21ac0c),_0x524dc1['push'](_0x21ac0c);(_0xf0cdb6['length']||_0x133cc1['length'])&&_0x3fcfa9({'left':_0xf0cdb6,'entered':_0x133cc1}),_0x4c79bc['length']=0x0,_0x4c79bc['push'](..._0x524dc1);});}function getSurroundingMarkers(_0x575332,_0x219ae2){const _0x4e0a14=[];for(const _0x36abaa of _0x575332['markers']){const _0x1c1f96=_0x36abaa['getRange']();(_0x1c1f96['containsPosition'](_0x219ae2)||_0x1c1f96['start']['isEqual'](_0x219ae2)||_0x1c1f96['end']['isEqual'](_0x219ae2))&&_0x4e0a14['push'](_0x36abaa);}return _0x4e0a14;}const _0x4ec363='Ctrl+Shift+E';function setupThreadKeyboardNavigation(_0x5f5b2e,_0x40741e){const _0x474963=_0x5f5b2e['element'];_0x5f5b2e['keystrokes']['listenTo'](_0x474963);for(const _0x229312 of _0x40741e)addViewToFocusCyclerNavigation(_0x5f5b2e,_0x229312);_0x40741e['on']('change',(_0x3d9d92,_0x2b879f)=>{for(const _0x5ba51b of _0x2b879f['removed'])removeViewFromFocusCyclerNavigation(_0x5f5b2e,_0x5ba51b);for(const _0x2ec722 of Array['from'](_0x2b879f['added'])['reverse']())addViewToFocusCyclerNavigation(_0x5f5b2e,_0x2ec722);}),_0x5f5b2e['keystrokes']['set']('enter',(_0x565593,_0x1a4679)=>{_0x474963===_0x565593['target']&&(_0x5f5b2e['focusCycler']['focusFirst'](),_0x1a4679());},{'filter':_0x5835f5=>_0x5835f5['target']===_0x474963}),_0x5f5b2e['keystrokes']['set']('esc',(_0x56fc27,_0x1abc07)=>{_0x474963!==_0x56fc27['target']?_0x5f5b2e['focus']():_0x5f5b2e['fire']('escape'),_0x1abc07();}),_0x5f5b2e['keystrokes']['set']('arrowdown',(_0x3a9ae9,_0x3cda3e)=>{_0x474963===_0x3a9ae9['target']&&(_0x5f5b2e['fire']('arrowdown'),_0x3cda3e());}),_0x5f5b2e['keystrokes']['set']('arrowup',(_0x5036b7,_0x17c9ab)=>{_0x474963===_0x5036b7['target']&&(_0x5f5b2e['fire']('arrowup'),_0x17c9ab());});}function addViewToFocusCyclerNavigation(_0x233151,_0x2363e6){_0x2363e6['isRendered']&&(_0x233151['focusTracker']['add'](_0x2363e6['element']),_0x233151['keystrokes']['listenTo'](_0x2363e6['element']),ckeditor5['isViewWithFocusCycler'](_0x2363e6)&&areFocusCyclerActionsCompatible(_0x233151['focusCycler'],_0x2363e6['focusCycler'])&&_0x233151['focusCycler']['chain'](_0x2363e6['focusCycler']));}function removeViewFromFocusCyclerNavigation(_0x185c39,_0x195591){_0x185c39['focusTracker']['remove'](_0x195591['element']),_0x185c39['keystrokes']['stopListening'](_0x195591['element']),ckeditor5['isViewWithFocusCycler'](_0x195591)&&_0x185c39['focusCycler']['unchain'](_0x195591['focusCycler']);}function areFocusCyclerActionsCompatible(_0x425cb1,_0x437955){const _0x5420ed=_0x425cb1['actions'],_0x479a45=_0x437955['actions'];for(const _0x1fa545 of Object['keys'](_0x5420ed))if(_0x1fa545 in _0x479a45&&_0x5420ed[_0x1fa545]!==_0x479a45[_0x1fa545])return!0x1;return!0x0;}class _0xbdc79a{['diff'](_0x23f480,_0x358d33,_0x4790d6={}){let _0x141fda;'function'==typeof _0x4790d6?(_0x141fda=_0x4790d6,_0x4790d6={}):'callback'in _0x4790d6&&(_0x141fda=_0x4790d6['callback']);const _0x41c5aa=this['castInput'](_0x23f480,_0x4790d6),_0x58b278=this['castInput'](_0x358d33,_0x4790d6),_0x51fb32=this['removeEmpty'](this['tokenize'](_0x41c5aa,_0x4790d6)),_0x320ded=this['removeEmpty'](this['tokenize'](_0x58b278,_0x4790d6));return this['diffWithOptionsObj'](_0x51fb32,_0x320ded,_0x4790d6,_0x141fda);}['diffWithOptionsObj'](_0x1128ae,_0x2441e7,_0x7a9f1,_0x39ad24){var _0x1bd354;const _0x37db11=_0x14dbdc=>(_0x14dbdc=this['postProcess'](_0x14dbdc,_0x7a9f1),_0x39ad24?void setTimeout(function(){_0x39ad24(_0x14dbdc);},0x0):_0x14dbdc),_0x1528a8=_0x2441e7['length'],_0x27a90a=_0x1128ae['length'];let _0xb549be=0x1,_0x5d3654=_0x1528a8+_0x27a90a;null!=_0x7a9f1['maxEditLength']&&(_0x5d3654=Math['min'](_0x5d3654,_0x7a9f1['maxEditLength']));const _0x269b1f=null!==(_0x1bd354=_0x7a9f1['timeout'])&&void 0x0!==_0x1bd354?_0x1bd354:0x1/0x0,_0x2470ec=Date['now']()+_0x269b1f,_0x38cb7e=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x210dfd=this['extractCommon'](_0x38cb7e[0x0],_0x2441e7,_0x1128ae,0x0,_0x7a9f1);if(_0x38cb7e[0x0]['oldPos']+0x1>=_0x27a90a&&_0x210dfd+0x1>=_0x1528a8)return _0x37db11(this['buildValues'](_0x38cb7e[0x0]['lastComponent'],_0x2441e7,_0x1128ae));let _0x1f727e=-0x1/0x0,_0x193c2c=0x1/0x0;const _0x4b9470=()=>{for(let _0x25b0e8=Math['max'](_0x1f727e,-_0xb549be);_0x25b0e8<=Math['min'](_0x193c2c,_0xb549be);_0x25b0e8+=0x2){let _0x4a5de8;const _0x1d7f88=_0x38cb7e[_0x25b0e8-0x1],_0x335474=_0x38cb7e[_0x25b0e8+0x1];_0x1d7f88&&(_0x38cb7e[_0x25b0e8-0x1]=void 0x0);let _0x2a30bf=!0x1;if(_0x335474){const _0x2ddf42=_0x335474['oldPos']-_0x25b0e8;_0x2a30bf=_0x335474&&0x0<=_0x2ddf42&&_0x2ddf42<_0x1528a8;}const _0x20296e=_0x1d7f88&&_0x1d7f88['oldPos']+0x1<_0x27a90a;if(_0x2a30bf||_0x20296e){if(_0x4a5de8=!_0x20296e||_0x2a30bf&&_0x1d7f88['oldPos']<_0x335474['oldPos']?this['addToPath'](_0x335474,!0x0,!0x1,0x0,_0x7a9f1):this['addToPath'](_0x1d7f88,!0x1,!0x0,0x1,_0x7a9f1),_0x210dfd=this['extractCommon'](_0x4a5de8,_0x2441e7,_0x1128ae,_0x25b0e8,_0x7a9f1),_0x4a5de8['oldPos']+0x1>=_0x27a90a&&_0x210dfd+0x1>=_0x1528a8)return _0x37db11(this['buildValues'](_0x4a5de8['lastComponent'],_0x2441e7,_0x1128ae))||!0x0;_0x38cb7e[_0x25b0e8]=_0x4a5de8,_0x4a5de8['oldPos']+0x1>=_0x27a90a&&(_0x193c2c=Math['min'](_0x193c2c,_0x25b0e8-0x1)),_0x210dfd+0x1>=_0x1528a8&&(_0x1f727e=Math['max'](_0x1f727e,_0x25b0e8+0x1));}else _0x38cb7e[_0x25b0e8]=void 0x0;}_0xb549be++;};if(_0x39ad24)!function _0x48e56f(){setTimeout(function(){if(_0xb549be>_0x5d3654||Date['now']()>_0x2470ec)return _0x39ad24(void 0x0);_0x4b9470()||_0x48e56f();},0x0);}();else for(;_0xb549be<=_0x5d3654&&Date['now']()<=_0x2470ec;){const _0x2fcf9a=_0x4b9470();if(_0x2fcf9a)return _0x2fcf9a;}}['addToPath'](_0x4199fe,_0x3c93e1,_0x30724b,_0x4ef6a7,_0x4c722a){const _0x4ba16f=_0x4199fe['lastComponent'];return _0x4ba16f&&!_0x4c722a['oneChangePerToken']&&_0x4ba16f['added']===_0x3c93e1&&_0x4ba16f['removed']===_0x30724b?{'oldPos':_0x4199fe['oldPos']+_0x4ef6a7,'lastComponent':{'count':_0x4ba16f['count']+0x1,'added':_0x3c93e1,'removed':_0x30724b,'previousComponent':_0x4ba16f['previousComponent']}}:{'oldPos':_0x4199fe['oldPos']+_0x4ef6a7,'lastComponent':{'count':0x1,'added':_0x3c93e1,'removed':_0x30724b,'previousComponent':_0x4ba16f}};}['extractCommon'](_0x55480d,_0x345660,_0x46b7ba,_0x202c92,_0x2582f4){const _0x39e43a=_0x345660['length'],_0x2252ce=_0x46b7ba['length'];let _0x2d6040=_0x55480d['oldPos'],_0xcccc75=_0x2d6040-_0x202c92,_0x34582e=0x0;for(;_0xcccc75+0x1<_0x39e43a&&_0x2d6040+0x1<_0x2252ce&&this['equals'](_0x46b7ba[_0x2d6040+0x1],_0x345660[_0xcccc75+0x1],_0x2582f4);)_0xcccc75++,_0x2d6040++,_0x34582e++,_0x2582f4['oneChangePerToken']&&(_0x55480d['lastComponent']={'count':0x1,'previousComponent':_0x55480d['lastComponent'],'added':!0x1,'removed':!0x1});return _0x34582e&&!_0x2582f4['oneChangePerToken']&&(_0x55480d['lastComponent']={'count':_0x34582e,'previousComponent':_0x55480d['lastComponent'],'added':!0x1,'removed':!0x1}),_0x55480d['oldPos']=_0x2d6040,_0xcccc75;}['equals'](_0x7ffcc6,_0x38f68a,_0x570c7d){return _0x570c7d['comparator']?_0x570c7d['comparator'](_0x7ffcc6,_0x38f68a):_0x7ffcc6===_0x38f68a||!!_0x570c7d['ignoreCase']&&_0x7ffcc6['toLowerCase']()===_0x38f68a['toLowerCase']();}['removeEmpty'](_0x3d3f1a){const _0xe51690=[];for(let _0x49a228=0x0;_0x49a228<_0x3d3f1a['length'];_0x49a228++)_0x3d3f1a[_0x49a228]&&_0xe51690['push'](_0x3d3f1a[_0x49a228]);return _0xe51690;}['castInput'](_0x4c113f,_0x367773){return _0x4c113f;}['tokenize'](_0x377fe8,_0xb948ed){return Array['from'](_0x377fe8);}['join'](_0x1842e4){return _0x1842e4['join']('');}['postProcess'](_0x3669d4,_0x3dbe71){return _0x3669d4;}get['useLongestToken'](){return!0x1;}['buildValues'](_0x43b90,_0x372306,_0x2ef6cf){const _0x15606a=[];let _0x2decf8;for(;_0x43b90;)_0x15606a['push'](_0x43b90),_0x2decf8=_0x43b90['previousComponent'],delete _0x43b90['previousComponent'],_0x43b90=_0x2decf8;_0x15606a['reverse']();const _0x54fc4c=_0x15606a['length'];let _0x569e7a=0x0,_0x5ac2bd=0x0,_0x4a4ebb=0x0;for(;_0x569e7a<_0x54fc4c;_0x569e7a++){const _0x4650a4=_0x15606a[_0x569e7a];if(_0x4650a4['removed'])_0x4650a4['value']=this['join'](_0x2ef6cf['slice'](_0x4a4ebb,_0x4a4ebb+_0x4650a4['count'])),_0x4a4ebb+=_0x4650a4['count'];else{if(!_0x4650a4['added']&&this['useLongestToken']){let _0x56f276=_0x372306['slice'](_0x5ac2bd,_0x5ac2bd+_0x4650a4['count']);_0x56f276=_0x56f276['map'](function(_0x1b145e,_0x5d00d7){const _0x2eb00a=_0x2ef6cf[_0x4a4ebb+_0x5d00d7];return _0x2eb00a['length']>_0x1b145e['length']?_0x2eb00a:_0x1b145e;}),_0x4650a4['value']=this['join'](_0x56f276);}else _0x4650a4['value']=this['join'](_0x372306['slice'](_0x5ac2bd,_0x5ac2bd+_0x4650a4['count']));_0x5ac2bd+=_0x4650a4['count'],_0x4650a4['added']||(_0x4a4ebb+=_0x4650a4['count']);}}return _0x15606a;}}class _0x32a6c3 extends _0xbdc79a{['tokenize'](_0x258ca3){return _0x258ca3['slice']();}['join'](_0x453cd1){return _0x453cd1;}['removeEmpty'](_0x5d298e){return _0x5d298e;}}const _0x5ca65a=new _0x32a6c3();function _0x1e3562(_0x5c3ba8,_0x1c0db9,_0x570104){return _0x5ca65a['diff'](_0x5c3ba8,_0x1c0db9,_0x570104);}const _0x33098c='$elementId',_0x34fc67='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',(_0x186a29,_0x3642d7)=>{_0x3642d7['on']('ready',()=>{this['_integrateEditor'](_0x3642d7);});});}get['editor'](){if(this['context']instanceof ckeditor5['Editor'])return this['context'];{const _0x29e4b3=this['context']['editors']['first'];if(!_0x29e4b3)throw new ckeditor5['CKEditorError']('documentcompare-no-editor',this);return _0x29e4b3;}}['getDiff'](_0x4852be,_0x2c0a98,_0x47ac72={'anchor':'main','markDeletions':!0x1}){let _0x1e3a1b,_0x41e9f1;const _0x38094a=this['editor'];if('string'==typeof _0x47ac72['anchor']){const _0x4df82d=_0x38094a['model']['document']['getRoot'](_0x47ac72['anchor']);if(!_0x4df82d)throw new ckeditor5['CKEditorError']('documentcompare-compare-no-root',this,{'anchor':_0x47ac72['anchor']});_0x1e3a1b=_0x4df82d,_0x41e9f1=_0x38094a['model']['createPositionAt'](_0x4df82d,0x0);}else _0x1e3a1b=_0x47ac72['anchor']['clone'](),_0x41e9f1=_0x47ac72['anchor']['clone']();const _0x575dbc=_0x38094a['data']['parse'](_0x4852be,_0x1e3a1b),_0x47796a=_0x38094a['data']['parse'](_0x2c0a98,_0x1e3a1b);return new DocumentDiff(_0x575dbc,_0x47796a,_0x38094a,{'anchor':_0x41e9f1,'markDeletions':_0x47ac72['markDeletions']});}['isMarkedRemoveOperation'](_0x22866a){return'marker'==_0x22866a['type']&&_0x22866a['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x43b3e1){_0x43b3e1['conversion']['for']('upcast')['add'](_0x2db240=>{_0x2db240['on']('element',(_0x52bb14,_0x521961,_0x15d8f4)=>{if(_0x521961['modelRange'])for(const _0x37c347 of _0x521961['modelRange']['getItems']({'shallow':!0x0})){if(_0x37c347['is']('$textProxy'))continue;const _0x1b5795=_0x521961['viewItem']['getAttribute'](_0x34fc67);_0x1b5795&&_0x15d8f4['writer']['setAttribute'](_0x33098c,_0x1b5795,_0x37c347);}},{'priority':'lowest'});}),_0x43b3e1['model']['schema']['addAttributeCheck'](()=>!0x0,_0x33098c);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x6c7977,_0x407806,_0x2ca81a,_0x4832f3){this['_editor']=_0x2ca81a,this['_markDeletions']=!!_0x4832f3['markDeletions'],this['_anchor']=_0x4832f3['anchor'];const _0x540d22=this['_tokenizeModel'](_0x6c7977),_0x1e7df0=this['_tokenizeModel'](_0x407806);this['_diffItems']=this['_diffModelTokens'](_0x540d22,_0x1e7df0),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x6c7977['markers'],_0x407806['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x4996d9=this['_editor']['model']['document'],_0x1a25b9=[];let _0x43a538=_0x4996d9['version'];for(const _0x2cdf77 of this['_operationsData'])switch(_0x2cdf77['type']){case'attribute':{const _0x43714d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2cdf77['path']),_0x13eba9=_0x43714d['getShiftedBy'](_0x2cdf77['howMany']),_0x426bdd=new ckeditor5['ModelRange'](_0x43714d,_0x13eba9),_0x49d90c=JSON['parse'](_0x2cdf77['oldValue']),_0x31d045=JSON['parse'](_0x2cdf77['newValue']);_0x1a25b9['push'](new ckeditor5['AttributeOperation'](_0x426bdd,_0x2cdf77['key'],_0x49d90c,_0x31d045,_0x43a538++));break;}case'insert':{const _0x427891=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2cdf77['path']),_0x30e04a=this['_makeModelFromTokens'](_0x2cdf77['tokens']);_0x1a25b9['push'](new ckeditor5['InsertOperation'](_0x427891,_0x30e04a,_0x43a538++));break;}case'remove':{const _0x37034d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2cdf77['path']),_0x2b7f96=new ckeditor5['ModelPosition'](_0x4996d9['graveyard'],[0x0]);_0x1a25b9['push'](new ckeditor5['MoveOperation'](_0x37034d,_0x2cdf77['howMany'],_0x2b7f96,_0x43a538++));break;}case'rename':{const _0x2a3324=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2cdf77['path']);_0x1a25b9['push'](new ckeditor5['RenameOperation'](_0x2a3324,_0x2cdf77['oldName'],_0x2cdf77['newName'],_0x43a538++));break;}case'split':{const _0x347542=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2cdf77['path']),_0x2a258c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2cdf77['path']['slice'](0x0,-0x1));_0x2a258c['offset']++,_0x1a25b9['push'](new ckeditor5['SplitOperation'](_0x347542,Number['NEGATIVE_INFINITY'],_0x2a258c,null,_0x43a538++));break;}case'merge':{const _0xf052ff=_0x2cdf77['path']['slice'](),_0x473c22=_0xf052ff['slice'](0x0,-0x1);_0x473c22[_0x473c22['length']-0x1]++,_0x473c22['push'](0x0);const _0x346e10=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x473c22),_0x3cf88f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xf052ff),_0x2d560e=new ckeditor5['ModelPosition'](_0x4996d9['graveyard'],[0x0]);_0x1a25b9['push'](new ckeditor5['MergeOperation'](_0x346e10,Number['NEGATIVE_INFINITY'],_0x3cf88f,_0x2d560e,_0x43a538++));break;}case'marker':case'markedRemove':{let _0x48993e=null;if(_0x2cdf77['range']){const _0x5a6943=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2cdf77['range']['start']),_0x1bbe0f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2cdf77['range']['end']);_0x48993e=new ckeditor5['ModelRange'](_0x5a6943,_0x1bbe0f);}const _0x3df57f='marker'==_0x2cdf77['type']?_0x2cdf77['name']:'$markedRemove:'+ckeditor5['uid']();_0x1a25b9['push'](new ckeditor5['MarkerOperation'](_0x3df57f,null,_0x48993e,_0x4996d9['model']['markers'],!0x0,_0x43a538++));break;}case'unwrap':{const _0x840497=_0x2cdf77['path']['slice']();_0x840497['push'](0x0);const _0x3c01ab=_0x2cdf77['path']['slice'](),_0x22a24f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x840497),_0x448f21=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3c01ab),_0x2a0fe8=new ckeditor5['ModelPosition'](_0x4996d9['graveyard'],[0x0]);_0x1a25b9['push'](new ckeditor5['MoveOperation'](_0x22a24f,_0x2cdf77['howMany'],_0x448f21,_0x43a538++)),_0x1a25b9['push'](new ckeditor5['MoveOperation'](_0x448f21['getShiftedBy'](_0x2cdf77['howMany']),0x1,_0x2a0fe8,_0x43a538++));break;}case'wrap':{const _0x5e44cb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2cdf77['range']['start']),_0x439d13=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2cdf77['range']['end']),_0xd9d592=_0x2cdf77['token']['element']['_clone'](!0x1),_0x393d16=_0x2cdf77['range']['end']['slice']();_0x393d16['push'](0x0);const _0x51ba83=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x393d16);_0x1a25b9['push'](new ckeditor5['InsertOperation'](_0x439d13,_0xd9d592,_0x43a538++)),_0x1a25b9['push'](new ckeditor5['MoveOperation'](_0x5e44cb,_0x439d13['offset']-_0x5e44cb['offset'],_0x51ba83,_0x43a538++));break;}}return _0x1a25b9;}['_tokenizeModel'](_0x792947){const _0x2d45d2=[],_0x322f79=ckeditor5['ModelRange']['_createIn'](_0x792947),_0x18fc1c=new ckeditor5['ModelTreeWalker']({'boundaries':_0x322f79});let _0x398e53='',_0x3bf104=null;const _0x19d3f9=[''],_0x384220=new Map();for(const _0x37b182 of _0x18fc1c)if('elementStart'==_0x37b182['type']||'elementEnd'==_0x37b182['type']){let _0x1ff12f=_0x19d3f9[0x0];''!==_0x398e53&&(_0x2d45d2['push'](...this['_makeTokensFromTextByWords'](_0x398e53,_0x3bf104,_0x1ff12f)),_0x398e53='');const _0x13f4a1=_0x37b182['item'];let _0x1a6e35;_0x13f4a1['getAttribute'](_0x33098c)?_0x1a6e35=_0x13f4a1['getAttribute'](_0x33098c):'elementStart'==_0x37b182['type']?(_0x1a6e35=makeUidForElement(_0x13f4a1),_0x384220['set'](_0x13f4a1,_0x1a6e35)):_0x1a6e35=_0x384220['get'](_0x13f4a1);const _0xfaca1=this['_getElementCategory'](_0x13f4a1);'solid'==_0xfaca1&&('elementStart'==_0x37b182['type']?(_0x1ff12f=_0x1a6e35,_0x19d3f9['unshift'](_0x1ff12f)):_0x19d3f9['shift']());const _0x58d03b={'type':'element','element':_0x13f4a1,'elementId':_0x1a6e35,'category':_0xfaca1,'isStart':'elementStart'==_0x37b182['type'],'limitId':_0x1ff12f};_0x2d45d2['push'](_0x58d03b);}else''==_0x398e53&&(_0x3bf104=_0x37b182['previousPosition']['clone']()),_0x398e53+=_0x37b182['item']['data'];return''!==_0x398e53&&_0x2d45d2['push'](...this['_makeTokensFromTextByWords'](_0x398e53,_0x3bf104,_0x19d3f9[0x0])),_0x2d45d2;}['_makeTokensFromTextByWords'](_0x1914c8,_0x1d6617,_0x3ed46c){const _0xaf8632=_0x1914c8['matchAll'](/(\s)/g),_0x54143b=Array['from'](_0xaf8632)['map'](_0x2cefd5=>_0x2cefd5['index']);_0x54143b['push'](_0x1914c8['length']),0x0==_0x54143b[0x0]&&_0x54143b['shift']();const _0x58199e=[],_0x3ff563=_0x1d6617['parent'];let _0x1b4da4=0x0,_0x2511da=_0x1d6617['offset'];for(let _0x2ca9b5=0x0;_0x2ca9b5<_0x54143b['length'];_0x2ca9b5++)_0x58199e['push']({'type':'text','data':_0x1914c8['slice'](_0x1b4da4,_0x54143b[_0x2ca9b5]),'parent':_0x3ff563,'offset':_0x2511da,'limitId':_0x3ed46c}),_0x1b4da4=_0x54143b[_0x2ca9b5],_0x2511da=_0x1d6617['offset']+_0x54143b[_0x2ca9b5];return _0x58199e;}['_getElementCategory'](_0x4f709e){const _0x33cd42=this['_editor']['model']['schema'];return _0x33cd42['isLimit'](_0x4f709e)||_0x33cd42['isContent'](_0x4f709e)||_0x33cd42['isInline'](_0x4f709e)?'solid':_0x33cd42['isBlock'](_0x4f709e)?'block':'container';}['_diffModelTokens'](_0x2e5d6f,_0x486f61){const _0x377103=_0x1e3562(_0x2e5d6f,_0x486f61,{'comparator':_0x3ac777});this['_handleUnclosedBlockOpeningTags'](_0x377103);const _0x13dd36=_0x377103['flatMap'](_0x4d698c=>{const _0x2dccca=_0x4d698c['added']?'added':_0x4d698c['removed']?'removed':'unchanged';return _0x4d698c['value']['map'](_0x42b8e4=>({'token':_0x42b8e4,'change':_0x2dccca}));});let _0x175de2=0x0;for(const _0x324c61 of _0x13dd36)'added'!=_0x324c61['change']&&('unchanged'==_0x324c61['change']&&(_0x324c61['before']=_0x2e5d6f[_0x175de2]),_0x175de2++);return _0x13dd36;}['_handleUnclosedBlockOpeningTags'](_0x2ba34a){for(let _0x3f579d=0x0;_0x3f579d<_0x2ba34a['length']-0x1;_0x3f579d++)if(_0x2ba34a[_0x3f579d]['removed']&&_0x2ba34a[_0x3f579d+0x1]['added']){const _0x66fa7c=this['_findUnclosedBlockOpeningToken'](_0x2ba34a[_0x3f579d]['value']);if(null!==_0x66fa7c){const _0x3f806d=this['_findUnclosedBlockOpeningToken'](_0x2ba34a[_0x3f579d+0x1]['value']),_0xe07f90=_0x2ba34a[_0x3f579d]['value']['splice'](_0x66fa7c),_0xdfa1f6=_0x2ba34a[_0x3f579d+0x1]['value']['splice'](_0x3f806d),_0x1d6af3=[_0xdfa1f6['shift']()];_0xe07f90['shift']();const _0x26132a={'value':_0xe07f90,'removed':!0x0},_0x1950d4={'value':_0xdfa1f6,'added':!0x0},_0x41446f={'value':_0x1d6af3};_0x2ba34a['splice'](_0x3f579d+0x2,0x0,_0x41446f,_0x26132a,_0x1950d4);}}}['_findUnclosedBlockOpeningToken'](_0x19c92e){let _0x1683b4=0x0,_0x5cad15=-0x1;for(let _0x4c1c1b=0x0;_0x4c1c1b<_0x19c92e['length'];_0x4c1c1b++){const _0x288a47=_0x19c92e[_0x4c1c1b];'element'==_0x288a47['type']&&'block'==_0x288a47['category']&&(_0x1683b4+=_0x288a47['isStart']?0x1:-0x1,_0x288a47['isStart']&&(_0x5cad15=_0x4c1c1b));}return 0x0===_0x1683b4?null:_0x5cad15;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x35eb71=0x0;_0x35eb71<this['_diffItems']['length'];_0x35eb71++){const _0x5a5d1e=this['_diffItems'][_0x35eb71]['change'],_0x22f458=[];_0x22f458['push'](this['_diffItems'][_0x35eb71]);let _0x2134ed=_0x35eb71+0x1;for(;this['_diffItems'][_0x2134ed]&&this['_diffItems'][_0x2134ed]['change']==_0x5a5d1e;)_0x22f458['push'](this['_diffItems'][_0x2134ed]),_0x2134ed++,_0x35eb71++;const _0x38718b=_0x22f458['map'](_0x3a5a0d=>_0x3a5a0d['token']);if('unchanged'==_0x5a5d1e)_0x22f458['map'](_0x170ad5=>_0x170ad5['before'])['forEach'](_0x293c75=>this['_traverseOverItem'](_0x293c75));else{if('removed'==_0x5a5d1e){if(this['_markDeletions']){const _0x5a7c0f=this['_path']['slice']();_0x38718b['forEach'](_0x5c0bf3=>this['_traverseOverItem'](_0x5c0bf3));const _0x728a58=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x5a7c0f,'end':_0x728a58}});}else this['_handleChanged'](_0x38718b,!0x0,this['_path']['slice']());}else{const _0x141a95=_0x38718b['filter'](_0x1529ec=>'element'!=_0x1529ec['type']||'container'!=_0x1529ec['category']);this['_handleChanged'](_0x141a95,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x4ed8a8=0x0;_0x4ed8a8<this['_diffItems']['length'];_0x4ed8a8++){const _0x244953=this['_diffItems'][_0x4ed8a8]['change'],_0x4c9b03=[];_0x4c9b03['push'](this['_diffItems'][_0x4ed8a8]);let _0x2879a6=_0x4ed8a8+0x1;for(;this['_diffItems'][_0x2879a6]&&this['_diffItems'][_0x2879a6]['change']==_0x244953;)_0x4c9b03['push'](this['_diffItems'][_0x2879a6]),_0x2879a6++,_0x4ed8a8++;const _0x4e22d1=_0x4c9b03['map'](_0x37e7cd=>_0x37e7cd['token']);if('unchanged'==_0x244953){const _0x548d72=_0x4c9b03['map'](_0x2a4cd3=>_0x2a4cd3['before']);this['_handleUnchanged'](_0x548d72,_0x4e22d1);}else('removed'!=_0x244953||this['_markDeletions'])&&_0x4e22d1['forEach'](_0x11a6eb=>{this['_traverseOverItem'](_0x11a6eb);});}}['_calculateMarkersOperationsData'](_0x5be94d,_0x326c21){const _0x3c41f5={};for(const [_0x51340d]of _0x5be94d)_0x3c41f5[_0x51340d]=null;for(const [_0x13a16c,_0x465684]of _0x326c21)_0x3c41f5[_0x13a16c]=_0x465684;const _0x5deb49=Object['entries'](_0x3c41f5)['map'](([_0x277a83,_0x5bb5e0])=>({'type':'marker','name':_0x277a83,'range':_0x5bb5e0?{'start':_0x5bb5e0['start']['path']['slice'](),'end':_0x5bb5e0['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x5deb49);}['_handleUnwraps'](){const _0x3e7f40=new Map(),_0x1f2c6c=[],_0x28b84e=[0x0];let _0x3dcdaf=this['_diffItems']['length']+0x1;for(let _0x2032ff=this['_diffItems']['length']-0x1;_0x2032ff>=0x0;_0x2032ff--){const {token:_0x3e5156,before:_0x32ca60,change:_0x5dc0c4}=this['_diffItems'][_0x2032ff];if('removed'!=_0x5dc0c4&&(_0x3dcdaf=_0x2032ff),'element'!=_0x3e5156['type']||'container'!=_0x3e5156['category']||'added'==_0x5dc0c4)continue;const _0x4e1d5b=_0x32ca60?_0x32ca60['element']:_0x3e5156['element'];if(_0x3e5156['isStart']){const _0x3f8fe3=_0x3e7f40['get'](_0x4e1d5b),_0x38ac5e=this['_diffItems'][_0x3f8fe3];('removed'==_0x5dc0c4||'removed'==_0x38ac5e['change'])&&_0x3dcdaf<_0x3f8fe3&&(this['_operationsData']['push']({'type':'unwrap','path':_0x4e1d5b['getPath'](),'howMany':_0x4e1d5b['maxOffset']+_0x28b84e[0x0]}),_0x28b84e['shift'](),_0x28b84e[0x0]+=_0x4e1d5b['maxOffset']-0x1,_0x1f2c6c['push'](_0x2032ff),_0x1f2c6c['push'](_0x3f8fe3));}else _0x3e7f40['set'](_0x4e1d5b,_0x2032ff),_0x28b84e['unshift'](0x0);}_0x1f2c6c['sort']((_0xba1b3b,_0x1f2fd3)=>_0x1f2fd3-_0xba1b3b),_0x1f2c6c['forEach'](_0x380c60=>{const _0x2e049e=this['_diffItems'][_0x380c60];'removed'==_0x2e049e['change']?this['_diffItems']['splice'](_0x380c60,0x1):(_0x2e049e['change']='added',delete _0x2e049e['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x57898b=[];for(let _0x12e20c=0x0;_0x12e20c<this['_diffItems']['length'];_0x12e20c++){const {change:_0x1e6d4e,token:_0x1f52ed}=this['_diffItems'][_0x12e20c];if('added'==_0x1e6d4e&&'element'==_0x1f52ed['type']&&'container'==_0x1f52ed['category']){if(_0x1f52ed['isStart'])_0x57898b['push'](this['_path']['slice']());else{if(!_0x1f52ed['isStart']){const _0x404482=_0x57898b['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x404482,'end':this['_path']['slice']()},'token':_0x1f52ed}),this['_path'][this['_path']['length']-0x1]=_0x404482[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x1e6d4e||this['_markDeletions'])&&this['_traverseOverItem'](_0x1f52ed);}}['_handleUnchanged'](_0x1c835d,_0x2fbc7d){for(let _0x2f98ca=0x0;_0x2f98ca<_0x1c835d['length'];_0x2f98ca++){const _0x564d47=_0x1c835d[_0x2f98ca];if('element'==_0x564d47['type']&&_0x564d47['isStart']){const _0x2968c2=_0x2fbc7d[_0x2f98ca];'block'==_0x564d47['category']&&this['_handleElementRename'](_0x564d47['element'],_0x2968c2['element'],this['_path']),this['_handleElementAttributeChanges'](_0x564d47['element'],_0x2968c2['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x2968c2);}else{if('element'!=_0x564d47['type']||_0x564d47['isStart']){if('text'==_0x564d47['type']){const _0x40c3a9=this['_path']['slice'](),_0x50b19e=[],_0x5f458d=[];for(;_0x1c835d[_0x2f98ca]&&'text'==_0x1c835d[_0x2f98ca]['type'];)_0x50b19e['push'](_0x1c835d[_0x2f98ca]),_0x5f458d['push'](_0x2fbc7d[_0x2f98ca]),this['_path'][this['_path']['length']-0x1]+=_0x1c835d[_0x2f98ca]['data']['length'],_0x2f98ca++;_0x2f98ca--,this['_handleTextAttributeChanges'](_0x50b19e,_0x5f458d,_0x40c3a9);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x2bf9f8,_0x1fad7b,_0x43e9dc){const _0x4ac040=[],_0xfa740e=[],_0x43ae5b=_0x43e9dc['slice']();for(let _0x44d0d4=0x0;_0x44d0d4<_0x2bf9f8['length'];_0x44d0d4++){const _0x51d46a=_0x2bf9f8[_0x44d0d4],_0x4470b9=_0x43e9dc['slice']();if('element'!=_0x51d46a['type']||_0x51d46a['isStart'])'element'==_0x51d46a['type']&&_0x51d46a['isStart']?(_0x43e9dc['push'](0x0),_0x1fad7b||this['_parents']['push'](_0x51d46a),_0xfa740e['push']({'before':_0x4470b9,'after':_0x43e9dc['slice'](),'index':_0x44d0d4})):_0x43e9dc[_0x43e9dc['length']-0x1]+=_0x51d46a['data']['length'];else{let _0x2fb1ff;_0x43e9dc['pop'](),_0x43e9dc[_0x43e9dc['length']-0x1]++,_0x2fb1ff=_0x1fad7b?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0xfa740e['length']?_0xfa740e['pop']():_0x4ac040['push']({'before':_0x4470b9,'after':_0x43e9dc['slice'](),'index':_0x44d0d4,'related':_0x2fb1ff});}}if(_0xfa740e['length']!==_0x4ac040['length'])throw new ckeditor5['CKEditorError']('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x2bf9f8,'isRemove':_0x1fad7b});const _0x32f267=[{'after':_0x43ae5b['slice'](),'index':-0x1},..._0x4ac040,..._0xfa740e,{'before':_0x43e9dc['slice'](),'index':_0x2bf9f8['length']}];if(_0x1fad7b){for(let _0x437e54=_0x32f267['length']-0x1;_0x437e54>=0x1;_0x437e54--){const _0x713908=_0x32f267[_0x437e54-0x1]['after'],_0x446254=_0x32f267[_0x437e54]['before'],_0x2bd5da=_0x446254[_0x446254['length']-0x1]-_0x713908[_0x713908['length']-0x1];_0x2bd5da&&(this['_operationsData']['push']({'type':'remove','path':_0x713908,'howMany':_0x2bd5da}),_0x446254[_0x446254['length']-0x1]-=_0x2bd5da);}for(const {before:_0x12dd74}of _0x4ac040)this['_operationsData']['push']({'type':'merge','path':_0x12dd74});}else for(let _0x5450ca=0x0;_0x5450ca<_0x32f267['length']-0x1;_0x5450ca++){const _0x5a7f73=_0x32f267[_0x5450ca]['after'],_0x5bc95c=_0x32f267[_0x5450ca+0x1]['before'],_0x542c54=_0x32f267[_0x5450ca]['index']+0x1,_0x415fc9=_0x32f267[_0x5450ca+0x1]['index'];if(_0x542c54!==_0x415fc9&&this['_operationsData']['push']({'type':'insert','path':_0x5a7f73,'tokens':_0x2bf9f8['slice'](_0x542c54,_0x415fc9)}),_0x5450ca<_0x4ac040['length']){this['_operationsData']['push']({'type':'split','path':_0x5bc95c});const _0x587108=_0x2bf9f8[_0xfa740e[_0xfa740e['length']-0x1-_0x5450ca]['index']],_0x40bdd6=_0x4ac040[_0x5450ca]['after'],_0x52f7a6=_0x4ac040[_0x5450ca]['related']['element'];this['_handleElementRename'](_0x52f7a6,_0x587108['element'],_0x40bdd6),this['_handleElementAttributeChanges'](_0x52f7a6,_0x587108['element'],_0x40bdd6);}}}['_traverseOverItem'](_0x924290){'element'==_0x924290['type']&&_0x924290['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x924290)):'element'!=_0x924290['type']||_0x924290['isStart']?'text'==_0x924290['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x924290['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x2eb56b,_0xdab7ec,_0x2d11a2){_0x2eb56b['name']!=_0xdab7ec['name']&&this['_operationsData']['push']({'type':'rename','path':_0x2d11a2['slice'](),'oldName':_0x2eb56b['name'],'newName':_0xdab7ec['name']});}['_handleElementAttributeChanges'](_0x1f4c9f,_0x3cdd57,_0x442468){const _0x1a936b=this['_getAttributeChanges'](_0x1f4c9f['getAttributes'](),_0x3cdd57['getAttributes']());for(const _0x58069c in _0x1a936b){const {oldValue:_0x1b6131,newValue:_0x5f58f7}=_0x1a936b[_0x58069c];this['_operationsData']['push']({'type':'attribute','path':_0x442468['slice'](),'howMany':0x1,'key':_0x58069c,'oldValue':_0x1b6131,'newValue':_0x5f58f7});}}['_handleTextAttributeChanges'](_0x40bb24,_0x282fa2,_0x4b5025){const _0x5146d1=this['_operationsData'],_0x2541b5=_0x40bb24[0x0]['parent'],_0x131919=_0x40bb24[0x0]['offset'],_0x22a7aa=_0x282fa2[0x0]['parent'],_0x4c3483=_0x282fa2[0x0]['offset'],_0x44b2bd=_0x40bb24['reduce']((_0x31fc22,_0x5285da)=>_0x31fc22+_0x5285da['data']['length'],0x0),_0x111c4b=this['_getAttrsForOffsets'](_0x2541b5,_0x131919,_0x44b2bd),_0x387a0e=this['_getAttrsForOffsets'](_0x22a7aa,_0x4c3483,_0x44b2bd),_0x5b92c0={};for(let _0x186f54=0x0;_0x186f54<_0x44b2bd;_0x186f54++){const _0x32db1a=_0x111c4b[_0x131919+_0x186f54],_0x464e22=_0x387a0e[_0x4c3483+_0x186f54],_0x3fe84c=this['_getAttributeChanges'](_0x32db1a,_0x464e22);for(const _0x1eb334 in _0x5b92c0)_0x3fe84c[_0x1eb334]||_0x661d09(_0x1eb334);for(const _0x39d929 in _0x3fe84c){const {oldValue:_0x2eab08,newValue:_0x52a191}=_0x3fe84c[_0x39d929],_0x28e88f=_0x5b92c0[_0x39d929];_0x28e88f?_0x28e88f['oldValue']==_0x2eab08&&_0x28e88f['newValue']==_0x52a191?_0x28e88f['length']++:(_0x661d09(_0x39d929),_0x5b92c0[_0x39d929]={'oldValue':_0x2eab08,'newValue':_0x52a191,'start':_0x186f54,'length':0x1}):_0x5b92c0[_0x39d929]={'oldValue':_0x2eab08,'newValue':_0x52a191,'start':_0x186f54,'length':0x1};}}for(const _0x1b7fda in _0x5b92c0)_0x661d09(_0x1b7fda);function _0x661d09(_0x4c932a){const _0x36d680=_0x5b92c0[_0x4c932a],_0x2a346d=_0x4b5025['slice']();_0x2a346d[_0x2a346d['length']-0x1]+=_0x36d680['start'],_0x5146d1['push']({'type':'attribute','path':_0x2a346d,'howMany':_0x36d680['length'],'key':_0x4c932a,'oldValue':_0x36d680['oldValue'],'newValue':_0x36d680['newValue']}),delete _0x5b92c0[_0x4c932a];}}['_getAttributeChanges'](_0x581a1c,_0x369d68){const _0x4a2348={};for(const [_0x3231dd,_0x1c31d2]of _0x581a1c)_0x4a2348[_0x3231dd]={'oldValue':JSON['stringify'](_0x1c31d2),'newValue':'null'};for(const [_0x26e85f,_0x24334d]of _0x369d68){const _0x2ec1bf=JSON['stringify'](_0x24334d);_0x4a2348[_0x26e85f]?_0x4a2348[_0x26e85f]['oldValue']==_0x2ec1bf?delete _0x4a2348[_0x26e85f]:_0x4a2348[_0x26e85f]['newValue']=_0x2ec1bf:_0x4a2348[_0x26e85f]={'oldValue':'null','newValue':_0x2ec1bf};}return delete _0x4a2348[_0x33098c],_0x4a2348;}['_getAttrsForOffsets'](_0x2769b9,_0x1ad84c,_0xc8a0a6){const _0xd5a429=new Array(_0x1ad84c+_0xc8a0a6);let _0x3608ce=_0x2769b9['getChildAtOffset'](_0x1ad84c),_0x2f7888=_0x3608ce['startOffset'];for(;_0x3608ce&&_0x2f7888<_0x1ad84c+_0xc8a0a6;){const _0x5bdc23=Array['from'](_0x3608ce['getAttributes']());_0xd5a429['fill'](_0x5bdc23,_0x2f7888,_0x2f7888+_0x3608ce['offsetSize']),_0x2f7888+=_0x3608ce['offsetSize'],_0x3608ce=_0x3608ce['nextSibling'];}return _0xd5a429;}['_getPositionFromAnchorAndPath'](_0x592396,_0x5e26df){const _0x4381aa=[..._0x592396['path']['slice'](0x0,-0x1),_0x592396['offset']+_0x5e26df[0x0],..._0x5e26df['slice'](0x1)];return new ckeditor5['ModelPosition'](_0x592396['root'],_0x4381aa);}['_makeModelFromTokens'](_0xb227c){const _0x9fb26a=[];let _0x1d205d=null;for(const _0x2743a1 of _0xb227c)if('element'!=_0x2743a1['type']||_0x2743a1['isStart']||_0x1d205d!=_0x2743a1['element']){if(!_0x1d205d){if('text'==_0x2743a1['type']){const _0x488bbd=ckeditor5['ModelPosition']['_createAt'](_0x2743a1['parent'],_0x2743a1['offset']),_0x36aedc=ckeditor5['ModelRange']['_createFromPositionAndShift'](_0x488bbd,_0x2743a1['data']['length']),_0xb8db5=Array['from'](_0x36aedc['getItems']())['map'](_0x3dd5c3=>new ckeditor5['ModelText'](_0x3dd5c3['data'],_0x3dd5c3['getAttributes']()));_0x9fb26a['push'](..._0xb8db5);}else{_0x1d205d=_0x2743a1['element'];const _0xe63eac=_0x2743a1['element']['_clone'](!0x0);_0xe63eac['_removeAttribute'](_0x33098c);for(const _0x13d76c of this['_editor']['model']['createRangeIn'](_0xe63eac)['getItems']())_0x13d76c['is']('element')&&_0x13d76c['_removeAttribute'](_0x33098c);_0x9fb26a['push'](_0xe63eac);}}}else _0x1d205d=null;return _0x9fb26a;}}function _0x3ac777(_0x3fef23,_0x493389){return _0x3fef23['type']===_0x493389['type']&&(_0x3fef23['limitId']===_0x493389['limitId']&&('text'==_0x3fef23['type']?_0x3fef23['data']==_0x493389['data']:compareModelElementTokens(_0x3fef23,_0x493389)));}function compareModelElementTokens(_0x4e8d0d,_0x233e37){return _0x4e8d0d['isStart']==_0x233e37['isStart']&&((!_0x4e8d0d['isStart']||_0x4e8d0d['elementId']==_0x233e37['elementId'])&&(_0x4e8d0d['category']==_0x233e37['category']&&('block'==_0x4e8d0d['category']||('container'!=_0x4e8d0d['category']||_0x4e8d0d['elementId']==_0x233e37['elementId'])&&_0x4e8d0d['element']['name']==_0x233e37['element']['name'])));}function makeUidForElement(_0x5168a6){return hashObject({'name':_0x5168a6['name'],...Object['fromEntries'](_0x5168a6['getAttributes']())});}function getSuggestionPartsFromReply({editor:_0x4574cf,changeGroups:_0x2bd962,documentContextContent:_0x22456d,showDiff:_0x41bbdf,trimUnchanged:_0x355b54=!0x0}){return _0x2bd962['map'](_0x4bc004=>{const _0x217d49=new Document([]),_0x2d2b85=new Document([]);for(const _0x44ddd7 of _0x4bc004['changes'])if(_0x41bbdf&&'removed'==_0x44ddd7['type']||_0x2d2b85['children']['push'](_0x44ddd7['node']['cloneNode'](!0x0)),'new'!=_0x44ddd7['type']&&(_0x41bbdf||'removed'!=_0x44ddd7['type'])){const _0x4f2620=_0x80f5df(_0x4db6e4=>getAttribute(_0x4db6e4,'data-id')==_0x44ddd7['id'],_0x22456d,!0x0);_0x4f2620&&_0x217d49['children']['push'](_0x4f2620['cloneNode'](!0x0));}const {content:_0x228bf3,hasChanges:_0x1359fa}=passThroughEditorDataPipeline(_0x4574cf,_0x217d49,_0x2d2b85,_0x41bbdf,_0x355b54);return{'type':_0x4bc004['changes'][0x0]['type'],'index':_0x4bc004['index'],'content':_0x228bf3,'hasChanges':_0x1359fa};});}function passThroughEditorDataPipeline(_0x4b701b,_0x3f7f01,_0x467bff,_0x41496e,_0x53d757=!0x0){const _0x40c353=_0x4b701b['plugins']['get']('DocumentCompare'),_0x1d30bc=_0x405168(_0x3f7f01),_0x20eac0=_0x405168(_0x467bff),_0x58a0e4=_0x4b701b['data']['parse'](_0x1d30bc,'$root'),_0x3bf4fb=_0x4b701b['model']['createPositionAt'](_0x58a0e4,0x0),_0x920bd7=_0x40c353['getDiff'](_0x1d30bc,_0x20eac0,{'anchor':_0x3bf4fb,'markDeletions':_0x41496e})['getOperations']();if(0x0==_0x920bd7['length'])return{'content':_0x3f7f01['cloneNode'](!0x0),'hasChanges':!0x1};if(_0x41496e?applyOperationsAndDiffMarkers(_0x920bd7,_0x58a0e4,_0x4b701b):_0x4b701b['model']['change'](_0x3fe826=>{for(const _0x1af7ee of _0x920bd7)if('remove'==_0x1af7ee['type']){const _0x6c902=_0x1af7ee['sourcePosition'],_0x361940=_0x1af7ee['howMany'],_0x1b6149=new ckeditor5['_DetachOperation'](_0x6c902,_0x361940);_0x3fe826['batch']['addOperation'](_0x1b6149),_0x4b701b['model']['applyOperation'](_0x1b6149);}else{if('marker'==_0x1af7ee['type']){const _0x30f781=_0x1af7ee['name'],_0x286609=_0x1af7ee['newRange'];null!==_0x286609?_0x58a0e4['markers']['set'](_0x30f781,_0x286609):_0x58a0e4['markers']['delete'](_0x30f781);}else _0x1af7ee['baseVersion']=null,_0x1af7ee['isDocumentOperation']=!0x1,_0x3fe826['batch']['addOperation'](_0x1af7ee),_0x4b701b['model']['applyOperation'](_0x1af7ee);}}),_0x53d757){const _0xd0a57c=getMinimalSelection(_0x4b701b,_0x920bd7,_0x58a0e4);expandSelectionWithContext(_0x4b701b['model'],_0xd0a57c),shrinkFragmentToSelection(_0x4b701b['model'],_0xd0a57c);}return{'content':_0x22d7d3(_0x4b701b['data']['stringify'](_0x58a0e4,{'showSuggestionHighlights':!0x0})),'hasChanges':!0x0};}function applyOperationsAndDiffMarkers(_0x155f02,_0x5eb831,_0x1122d7){if(0x0==_0x155f02['length'])return;const _0x452f42=_0x1122d7['plugins']['get']('DocumentCompare'),_0x2ec456=_0x1122d7['plugins']['get']('SuggestionsConversion');_0x1122d7['model']['change'](_0x18aad8=>{const _0x29756a=new Set();for(let _0x42b763=0x0;_0x42b763<_0x155f02['length'];_0x42b763++){const _0x44b61b=_0x155f02[_0x42b763];if(_0x44b61b['baseVersion']=null,_0x44b61b['isDocumentOperation']=!0x1,_0x452f42['isMarkedRemoveOperation'](_0x44b61b)){const _0xb46f24=fixElementSuggestionRange(_0x44b61b['newRange'],_0x1122d7['model']),_0x5a1a15='suggestion:deletion:'+ckeditor5['uid']()+':$aiSuggestion';_0x5eb831['markers']['set'](_0x5a1a15,_0xb46f24);}else switch(_0x44b61b['type']){case'rename':{if(_0x44b61b['oldName']==_0x44b61b['newName'])break;_0x18aad8['batch']['addOperation'](_0x44b61b),_0x1122d7['model']['applyOperation'](_0x44b61b);const _0x181365='$elementName',_0x5b85df=_0x44b61b['position'],_0x490f87=_0x1122d7['model']['createRange'](_0x5b85df,_0x1122d7['model']['createPositionAt'](_0x5b85df['nodeAfter'],'end')),_0x3c3e35='suggestion:attribute:'+_0x181365+':'+ckeditor5['uid']()+':$aiSuggestion';_0x5eb831['markers']['set'](_0x3c3e35,_0x490f87);break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{if(_0x44b61b['oldValue']==_0x44b61b['newValue'])break;_0x18aad8['batch']['addOperation'](_0x44b61b),_0x1122d7['model']['applyOperation'](_0x44b61b);const _0x40ddb9=_0x44b61b['key'];if(!_0x2ec456['isRegisteredAttribute'](_0x40ddb9))break;const _0x4dee59=fixElementSuggestionRange(_0x44b61b['range'],_0x1122d7['model']),_0x55451e='suggestion:attribute:'+_0x40ddb9+':'+ckeditor5['uid']()+':$aiSuggestion';_0x5eb831['markers']['set'](_0x55451e,_0x4dee59);break;}case'insert':{_0x18aad8['batch']['addOperation'](_0x44b61b),_0x1122d7['model']['applyOperation'](_0x44b61b);if(_0x155f02[_0x42b763+0x1]&&'move'==_0x155f02[_0x42b763+0x1]['type']){transformMarkers(_0x5eb831,_0x44b61b);break;}const _0x1cfad7=_0x44b61b['position'],_0x8acf35=_0x44b61b['howMany'],_0x15f2f7=fixElementSuggestionRange(_0x1122d7['model']['createRange'](_0x1cfad7,_0x1cfad7['getShiftedBy'](_0x8acf35)),_0x1122d7['model']),_0x246591='suggestion:insertion:'+ckeditor5['uid']()+':$aiSuggestion';_0x5eb831['markers']['set'](_0x246591,_0x15f2f7);break;}case'split':{_0x18aad8['batch']['addOperation'](_0x44b61b),_0x1122d7['model']['applyOperation'](_0x44b61b);const _0x47c478=_0x44b61b['splitPosition'],_0x25dacf=_0x44b61b['moveTargetPosition'],_0x4dc46b=_0x1122d7['model']['createRange'](_0x47c478,_0x25dacf),_0x9e9427='suggestion:insertion:'+ckeditor5['uid']()+':$aiSuggestion';_0x5eb831['markers']['set'](_0x9e9427,_0x4dc46b);break;}case'move':{_0x18aad8['batch']['addOperation'](_0x44b61b),_0x1122d7['model']['applyOperation'](_0x44b61b),_0x155f02[_0x42b763-0x1]&&'insert'==_0x155f02[_0x42b763-0x1]['type']&&transformMarkers(_0x5eb831,_0x44b61b);const _0xe8b504=_0x44b61b['getMovedRangeStart'](),_0x11f195=_0x44b61b['howMany'];for(let _0x2098b0=0x0;_0x2098b0<_0x11f195;_0x2098b0++){const _0x7e1430=_0xe8b504['getShiftedBy'](_0x2098b0)['nodeAfter'];_0x29756a['add'](_0x7e1430);}break;}case'remove':{const _0x47d43c=_0x44b61b['sourcePosition'],_0x2dd698=_0x44b61b['howMany'],_0x5aa736=new ckeditor5['_DetachOperation'](_0x47d43c,_0x2dd698);_0x18aad8['batch']['addOperation'](_0x5aa736),_0x1122d7['model']['applyOperation'](_0x5aa736);break;}}}for(const _0x3afeea of _0x29756a){const _0x208ce8=_0x1122d7['model']['createRangeOn'](_0x3afeea),_0x54d884='suggestion:formatBlock:$fakeWrap:'+ckeditor5['uid']()+':$aiSuggestion';_0x5eb831['markers']['set'](_0x54d884,fixElementSuggestionRange(_0x208ce8,_0x1122d7['model']));}});}function transformMarkers(_0x3821d0,_0x38e3d5){for(const [_0x1ce5bd,_0x390ce1]of _0x3821d0['markers']){const _0x1d2803=ckeditor5['ModelRange']['_createFromRanges'](_0x390ce1['getTransformedByOperation'](_0x38e3d5));_0x3821d0['markers']['set'](_0x1ce5bd,_0x1d2803);}}function getMinimalSelection(_0x3cca2e,_0x112817,_0x808df1){const _0x57ffd7=_0x3cca2e['plugins']['get']('DocumentCompare');let _0x905163=_0x3cca2e['model']['createPositionAt'](_0x808df1,Number['POSITIVE_INFINITY']),_0x54af88=_0x3cca2e['model']['createPositionAt'](_0x808df1,0x0);for(const _0x16c073 of _0x112817){let _0x2905e0,_0x31ae03;if(_0x57ffd7['isMarkedRemoveOperation'](_0x16c073))_0x2905e0=_0x16c073['newRange']['start'],_0x31ae03=_0x16c073['newRange']['end'];else switch(_0x905163=_0x905163['getTransformedByOperation'](_0x16c073),_0x54af88=_0x54af88['getTransformedByOperation'](_0x16c073),_0x16c073['type']){case'rename':_0x2905e0=_0x16c073['position'],_0x31ae03=_0x2905e0['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0x2905e0=_0x16c073['range']['start'],_0x31ae03=_0x16c073['range']['end'];break;case'insert':_0x2905e0=_0x16c073['position'],_0x31ae03=_0x2905e0['getShiftedBy'](_0x16c073['howMany']);break;case'split':_0x2905e0=_0x16c073['splitPosition'],_0x31ae03=_0x16c073['moveTargetPosition'];break;case'merge':{const _0x36e84c=_0x16c073['targetPosition']['path']['slice'](0x0,-0x1);_0x2905e0=_0x3cca2e['model']['createPositionFromPath'](_0x808df1,_0x36e84c),_0x31ae03=_0x2905e0['getShiftedBy'](0x1);break;}case'remove':{const _0x4cdc7b=_0x16c073['howMany'],_0x4a1055=_0x16c073['sourcePosition']['_getTransformedByInsertion'](_0x16c073['targetPosition'],_0x4cdc7b),_0x1a40fe=_0x16c073['getMovedRangeStart']();'remove'==_0x16c073['type']?(_0x2905e0=_0x4a1055,_0x31ae03=_0x4a1055):(_0x2905e0=_0x1a40fe,_0x31ae03=_0x1a40fe['getShiftedBy'](_0x4cdc7b));break;}}_0x2905e0&&_0x2905e0['isBefore'](_0x905163)&&(_0x905163=_0x2905e0['clone'](),_0x905163['stickiness']='toNone'),_0x31ae03&&_0x31ae03['isAfter'](_0x54af88)&&(_0x54af88=_0x31ae03['clone'](),_0x54af88['stickiness']='toNone');}return _0x3cca2e['model']['createSelection'](_0x3cca2e['model']['createRange'](_0x905163,_0x54af88));}function expandSelectionWithContext(_0x1750a0,_0x28d7f6){expandSelection(_0x1750a0,_0x28d7f6,'forward');const _0x3c6b95=_0x28d7f6['getFirstRange']();_0x28d7f6['setTo']([]),_0x28d7f6['setTo'](_0x3c6b95,{'backward':!0x0}),expandSelection(_0x1750a0,_0x28d7f6,'backward');}function expandSelection(_0x3a81c3,_0x29912e,_0x37cada){let _0x5002e3=0x14;for(;_0x5002e3;){_0x3a81c3['modifySelection'](_0x29912e,{'unit':'word','direction':_0x37cada}),_0x5002e3--;const _0x24fc3e=_0x29912e['focus']['forward'==_0x37cada?'nodeBefore':'nodeAfter'];if(_0x24fc3e&&_0x24fc3e['is']('element')&&_0x3a81c3['schema']['isBlock'](_0x24fc3e)&&_0x3a81c3['schema']['isObject'](_0x24fc3e))break;}}function shrinkFragmentToSelection(_0x3f4cb9,_0x40d82f){const _0x3c1d9d=_0x40d82f['getFirstRange']()['start'];let _0x329afc=_0x40d82f['getFirstRange']()['end'];const _0x5d2db2=_0x3c1d9d['root'];(_0x329afc['textNode']||_0x329afc['nodeAfter']&&_0x329afc['nodeAfter']['is']('$text'))&&(ckeditor5['_insertIntoModelNodeList'](_0x329afc,'...'),_0x329afc=_0x329afc['getShiftedBy'](0x3)),(_0x3c1d9d['textNode']||_0x3c1d9d['nodeBefore']&&_0x3c1d9d['nodeBefore']['is']('$text'))&&(ckeditor5['_insertIntoModelNodeList'](_0x3c1d9d,'...'),_transformMarkersByInsertion(_0x5d2db2,_0x3c1d9d,0x3),_0x3c1d9d['parent']==_0x329afc['parent']&&(_0x329afc=_0x329afc['getShiftedBy'](0x3)));const _0x39f1f4=_0x3f4cb9['createRange'](_0x3f4cb9['createPositionAt'](_0x5d2db2,0x0),_0x3c1d9d),_0x62b6ed=_0x3f4cb9['createRange'](_0x329afc,_0x3f4cb9['createPositionAt'](_0x5d2db2,'end')),_0x461c5c=[..._0x39f1f4['getMinimalFlatRanges'](),..._0x62b6ed['getMinimalFlatRanges']()];_0x461c5c['reverse']();for(const _0x2a39ee of _0x461c5c)ckeditor5['_removeFromModelNodeList'](_0x2a39ee),_transformMarkersByDeletion(_0x5d2db2,_0x2a39ee);}function _transformMarkersByDeletion(_0x3f63ef,_0x309435){for(const [_0x41628d,_0x3c372b]of _0x3f63ef['markers']){const _0x10ebe4=_0x3c372b['_getTransformedByDeletion'](_0x309435['start'],_0x309435['end']['offset']-_0x309435['start']['offset']);null!=_0x10ebe4?_0x3f63ef['markers']['set'](_0x41628d,_0x10ebe4):_0x3f63ef['markers']['delete'](_0x41628d);}}function _transformMarkersByInsertion(_0x18469c,_0x525533,_0x4e6902){for(let [_0x4ca21b,_0x29d937]of _0x18469c['markers']){const _0x4229ba=_0x29d937['_getTransformedByInsertion'](_0x525533,_0x4e6902,!0x1);_0x29d937=_0x4229ba[0x0],_0x18469c['markers']['set'](_0x4ca21b,_0x29d937);}}class _0x35b082 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:_0x44c3a4,content:_0x1b9021='',isDone:_0x241506=!0x1,interactionId:_0x55d3e7,areActionsDisabled:_0x4f9040,documentContextContent:_0x5687a9,editor:_0xf178af,id:_0xe983c2}){super(),this['id']=_0xe983c2||ckeditor5['uid'](),this['interactionId']=_0x55d3e7,this['type']=_0x44c3a4,this['areActionsDisabled']=!!_0x4f9040,this['editor']=_0xf178af,this['aiResponseParser']=new _0x28f22f(),this['aiResponseApplier']=new _0x2b50e0(),this['documentContextContent']=_0x22d7d3(_0x5687a9||''),this['set']('isDone',_0x241506),this['on']('change:content',()=>{this['onContentChange']();}),this['set']('content',_0x1b9021);}['appendContent'](_0x33df2e){this['set']('content',this['content']+_0x33df2e);}['done'](){this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}['destroy'](){this['stopListening']();}['setChangeGroupState'](_0x216112,_0x9d6f97){this['changeGroups'][_0x216112]['state']=_0x9d6f97,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0x216112,'state':_0x9d6f97});}['getContentParts']({showDiff:_0x1480b4,groupIndex:_0x3f44a2}){if(!this['editor'])throw new ckeditor5['CKEditorError']('ai-get-editor-from-context-no-editor',null,{'aiReply':this});const _0x4ec769=this['_getCachedContentParts'](_0x1480b4,_0x3f44a2);if(_0x4ec769)return _0x4ec769;let _0x3c40f8=[];if(void 0x0===_0x3f44a2)_0x3c40f8=this['changeGroups'];else{const _0x5d3fe2=this['changeGroups']['find'](({index:_0x2e5225})=>_0x2e5225===_0x3f44a2);if(!_0x5d3fe2)throw new ckeditor5['CKEditorError']('ai-reply-get-content-parts-group-not-found',null,{'aiReply':this,'groupIndex':_0x3f44a2});_0x3c40f8=[_0x5d3fe2];}const _0x4f6f33=getSuggestionPartsFromReply({'editor':this['editor'],'showDiff':_0x1480b4,'changeGroups':_0x3c40f8,'documentContextContent':this['documentContextContent']});return this['_setCachedContentParts'](_0x1480b4,_0x4f6f33),_0x4f6f33;}['_getCachedContentParts'](_0x3c51fd,_0x2e7b39){const _0x27830e=_0x3c51fd?'withDiff':'withoutDiff';if(!this['cachedSuggestionContentParts'][_0x27830e]['length'])return null;const _0x1d12a9=this['cachedSuggestionContentParts'][_0x27830e];if(void 0x0===_0x2e7b39)return _0x1d12a9['length']>0x0&&_0x1d12a9['length']!==this['changeGroups']['length']?(this['_setCachedContentParts'](_0x3c51fd,null),null):_0x1d6aee(_0x1d12a9);{const _0x125378=_0x1d12a9['find'](({index:_0xa34091})=>_0xa34091===_0x2e7b39);if(_0x125378)return[_0x1d6aee(_0x125378)];}return null;}['_setCachedContentParts'](_0xff9f65,_0x9384f4){const _0x5afcd1=_0xff9f65?'withDiff':'withoutDiff';_0x9384f4?_0x9384f4['forEach'](_0x4a0c70=>{const _0xe14d2f=this['cachedSuggestionContentParts'][_0x5afcd1],_0x10bfb2=_0xe14d2f['find'](({index:_0x49de5f})=>_0x49de5f===_0x4a0c70['index']);if(_0x10bfb2){const _0x2d5c0d=_0xe14d2f['indexOf'](_0x10bfb2);_0xe14d2f['splice'](_0x2d5c0d,0x1,_0x4a0c70);}else _0xe14d2f['push'](_0x4a0c70);}):this['cachedSuggestionContentParts'][_0x5afcd1]['length']=0x0;}['onContentChange'](){if('modification'===this['type']){this['parsedContent']=this['aiResponseParser']['parseAndNormalizeHTML'](this['content']);const _0x1a9656=this['changeGroups'];this['updateChangeGroups']();const _0x397895=this['_getDifferentChangeGroups'](_0x1a9656,this['changeGroups']);(_0x397895['length']||this['isDone'])&&(this['fire']('replyContentUpdated',this,_0x397895),this['cachedSuggestionContentParts']['withDiff']['length']=this['cachedSuggestionContentParts']['withoutDiff']['length']=0x0);}else this['parsedContent']=this['aiResponseParser']['convertMarkdownToHTML'](this['content']),this['fire']('replyContentUpdated',this);}['_getDifferentChangeGroups'](_0x1602e8,_0x46dabc){const _0xb2aee7=[];for(const _0x45fcf5 of _0x46dabc){const _0x18bb08=_0x1602e8[_0x45fcf5['index']];_0x18bb08?_0x18bb08['changes']['length']!==_0x45fcf5['changes']['length']?_0xb2aee7['push'](_0x45fcf5):_0x18bb08['changes']['forEach']((_0x30d7ce,_0xd1ac03)=>{const _0x438a6a=_0x45fcf5['changes'][_0xd1ac03];_0x30d7ce['id']!==_0x438a6a['id']&&_0xb2aee7['push'](_0x45fcf5);}):_0xb2aee7['push'](_0x45fcf5);}return _0xb2aee7;}['updateChangeGroups'](){const _0x2ad4a7=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'))])]),_0x401293=this['aiResponseApplier']['merge'](this['parsedContent'],this['documentContextContent']['cloneNode'](!0x0),{'markUnstableElements':!this['isDone'],'replaceRemovedWith':_0x2ad4a7,'cutAfterLastChange':!this['isDone']});if(!_0x401293['modifiedNodeIds']['length']&&!this['isDone'])return;this['parsedMergedContent']=_0x401293['parsedContent'];let _0x57671f=[];if(_0x33d7b2(_0x4f967f=>{const _0x4bdc11=getAttribute(_0x4f967f,'data-id');if(!_0x4bdc11||!_0x17df51(_0x4bdc11))return!0x1;const _0x4103f0=[_0x4f967f,...getParents(_0x4f967f)]['at'](-0x2);if(_0x4f967f!=_0x4103f0){const _0x58bdcc=getAttribute(_0x4103f0,'data-id');_0x17df51(_0x58bdcc)||(_0x57671f['push']({'node':_0x4103f0,'id':_0x58bdcc,'type':'modified'}),_0x401293['modifiedNodeIds']['push'](_0x58bdcc));}else _0x401293['modifiedNodeIds']['includes'](_0x4bdc11)?_0x57671f['push']({'node':_0x4f967f,'type':'modified','id':_0x4bdc11}):_0x401293['newNodeIds']['includes'](_0x4bdc11)?_0x57671f['push']({'node':_0x4f967f,'type':'new','id':_0x4bdc11,'anchorId':getAttribute(_0x4f967f['previousSibling'],'data-id')}):_0x57671f['push']({'node':_0x4f967f,'type':'removed','id':_0x4bdc11});return!0x0;},this['parsedMergedContent']),_0x57671f=_0x57671f['filter'](({node:_0x43bafe})=>[...getParents(_0x43bafe),_0x43bafe]['every'](_0x421753=>!getAttribute(_0x421753,'data-unstable'))),0x0==_0x57671f['length'])return;const _0x3a08dd=[[_0x57671f[0x0]]];for(let _0x4d5b66=0x1;_0x4d5b66<_0x57671f['length'];_0x4d5b66++){const _0x23228d=_0x3a08dd[_0x3a08dd['length']-0x1],_0x5bd91d=_0x23228d[_0x23228d['length']-0x1];_0x57671f[_0x4d5b66]['node']['previousSibling']==_0x5bd91d['node']&&'modified'!=_0x57671f[_0x4d5b66]['type']&&'modified'!=_0x5bd91d['type']?_0x23228d['push'](_0x57671f[_0x4d5b66]):_0x3a08dd['push']([_0x57671f[_0x4d5b66]]);}for(const _0x10142a of _0x3a08dd){const _0x360157=_0x10142a[0x0],_0x3d79ee=_0x10142a[_0x10142a['length']-0x1],_0x35c13b=_0x57c55b(_0x360157['node']['previousSibling']);_0x35c13b&&_0x10142a['unshift'](_0x35c13b);const _0x2045d5=_0x57c55b(_0x3d79ee['node']['nextSibling']);_0x2045d5&&_0x10142a['push'](_0x2045d5);}function _0x17df51(_0x2fc81a){return _0x401293['modifiedNodeIds']['includes'](_0x2fc81a)||_0x401293['newNodeIds']['includes'](_0x2fc81a)||_0x401293['removedNodeIds']['includes'](_0x2fc81a);}function _0x57c55b(_0x464746){if(_0x464746&&getAttribute(_0x464746,'data-id')&&!getAttribute(_0x464746,'data-unstable')){const _0x4f2752=getAttribute(_0x464746,'data-id');if(!_0x17df51(_0x4f2752))return{'node':_0x464746,'type':'context','id':_0x4f2752};}return null;}this['changeGroups']=_0x3a08dd['map']((_0x535a1d,_0x2ff24b)=>({'changes':_0x535a1d,'state':'pending','index':_0x2ff24b}));}}const _0x4b1ff5=['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:_0x2f80cd,editor:_0x2ed699}){super(),this['id']=ckeditor5['uid'](),this['connector']=_0x2f80cd,this['isStopped']=!0x0,this['editor']=_0x2ed699;}async['start'](){const _0x3d03c6=[];let _0x4222e0,_0xd7bd7a,_0x257bd2;this['isStopped']=!0x1;try{this['currentRequest']=await this['sendRequest'](),this['fire']('interactionStarted',this);const _0x4f2369=await this['currentRequest']['getStream']();for await(const _0x42270f of _0x4f2369){if(this['isStopped'])return;if('error'==_0x42270f['event'])return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-interaction-error',this)});switch(_0x42270f['event']){case'message-metadata':this['messageId']=_0x42270f['data']['messageId'];break;case'action-metadata':this['actionCallId']=_0x42270f['data']['callId'];break;case'conversation-title':this['setConversationTitle'](_0x42270f['data']['conversationTitle'],!0x0);break;case'source':_0x3d03c6['push'](_0x42270f['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'](),_0x4222e0='modification-delta'==_0x42270f['event']?'modification':'text',_0xd7bd7a='modification-delta'==_0x42270f['event']?_0x42270f['data']['id']:void 0x0,this['currentReply']&&this['currentReply']['type']!=_0x4222e0&&(this['currentReply']['done'](),this['currentReply']=void 0x0),this['currentReply']||(this['currentReply']=this['createReply']({'type':_0x4222e0,'interactionId':this['id'],'id':_0xd7bd7a}),'modification'==_0x4222e0&&(this['currentReply']['sources']=_0x3d03c6['splice'](0x0))),this['currentReply']['appendContent'](_0x42270f['data']['textDelta']);break;case'mcp-tool-result':_0x257bd2=JSON['parse'](_0x42270f['data']['result']),this['_handleToolResultData']({'toolName':_0x42270f['data']['toolName'],'data':_0x257bd2['data'],'attributes':_0x257bd2['attributes']});break;case'mcp-tool-notification':this['_handleToolNotificationData']({'toolName':_0x42270f['data']['toolName'],'data':_0x42270f['data']['data']});}}}finally{this['isStopped']||(this['currentReply']&&_0x3d03c6['length']>0x0&&(this['currentReply']['sources']=_0x3d03c6['splice'](0x0)),this['_finalizeInteraction'](),this['fire']('interactionFinished',this));}}['stop'](){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}['getReply'](_0x30ae86){return this['replies']['find'](_0x2b6088=>_0x2b6088['id']===_0x30ae86);}['destroy'](){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x5cf68f=>_0x5cf68f['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}['createReply'](_0x45b40d){const _0x2cea84=new _0x35b082({'editor':this['editor'],'documentContextContent':this['getDocumentContext']()?.['content'],..._0x45b40d});return this['replies']['push'](_0x2cea84),_0x2cea84['delegate'](..._0x4b1ff5)['to'](this),this['fire']('replyCreated',_0x2cea84),_0x2cea84;}['setConversationTitle'](_0x41c8d,_0x490269=!0x1){this['fire']('setConversationTitle',_0x41c8d,_0x490269);}['resetWebSearchState'](){this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this));}['resetReasoningState'](){this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this));}['_handleToolResultData'](_0x21bea8){this['fire']('toolDataReceived',{'type':'result','toolName':_0x21bea8['toolName'],'data':structuredClone(_0x21bea8['data']||{}),'attributes':structuredClone(_0x21bea8['attributes']||{})},this);}['_handleToolNotificationData'](_0x1ff209){this['fire']('toolDataReceived',{'type':'notification','toolName':_0x1ff209['toolName'],'data':structuredClone(_0x1ff209['data'])},this);}['_finalizeInteraction'](){this['isStopped']=!0x0,this['currentRequest']&&this['currentRequest']['abortController']['abort'](),this['currentReply']&&this['currentReply']['done'](),this['currentRequest']=this['currentReply']=void 0x0;}}const _0xf78619=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']]),_0x63e69c=['contextItemAdded','contextItemRemoved','contextItemLoadingEnded','contextSent','error','addContextOptionsChanged','sourceResourcesLoaded','resourceStateChanged','uploadProgressChanged'];class AIChatContext extends ckeditor5['ObservableMixin'](){['_connector'];['_config'];['_ownerId'];constructor({connector:_0x4d6f50,config:_0x3be706,ownerId:_0x1a549b}){super(),this['_connector']=_0x4d6f50,this['_config']=_0x3be706,this['_ownerId']=_0x1a549b;}['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'](_0x1a1730){const _0x2990c1=await this['_createContextItemFromContent'](_0x1a1730);return this['_addToConversationContextItem'](_0x2990c1),'current-document'===_0x2990c1['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x2990c1;}async['_createContextItemFromContent'](_0x52fdbc){if('document'===_0x52fdbc['type']){const _0x595af6=await this['_connector']['fetchDocument'](this['_ownerId'],_0x52fdbc['id'])['getDocument']();return{'id':'current-document','uiId':'current-document','label':'Current\x20document','type':_0x52fdbc['type'],'content':_0x595af6['content'],'hidden':this['_conversationContextItems']['has']('current-document'),'version':_0x595af6['attributes']?.['version'],'sessionId':_0x595af6['attributes']?.['sessionId']};}if('mcp-tool-context'===_0x52fdbc['type'])return{'id':_0x52fdbc['id'],'uiId':_0x52fdbc['id'],'label':_0x52fdbc['data']?.['label']||_0x52fdbc['id'],'type':'mcp-tool-context','mcpServerName':_0x52fdbc['mcpServerName'],'toolName':_0x52fdbc['toolName'],'data':_0x52fdbc['data']||{}};return{'id':_0x52fdbc['id'],'uiId':_0x52fdbc['id'],'label':_0x52fdbc['attributes']?.['label']||_0x52fdbc['name']||_0x52fdbc['url']||_0x52fdbc['id'],'type':_0x52fdbc['type'],..._0x52fdbc?.['attributes']?.['resourceId']?{'resourceId':_0x52fdbc['attributes']?.['resourceId']}:{}};}['getSentContextItems'](){return new Map(this['_conversationContextItems']);}['removeFromContext'](_0x1fe9c5){const _0x46a116=this['_pendingContextItems']['get'](_0x1fe9c5);_0x46a116?.['isReadOnly']||this['_removeContextItem'](_0x1fe9c5);}['clearPendingContextItems'](){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x16378b of this['_pendingContextItems']['values']())this['_removeContextItem'](_0x16378b['uiId']);const _0x5b8f59=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0x5b8f59&&this['_addContextItem']({..._0x5b8f59,'isReadOnly':!0x0,'hidden':!0x0});}['addToConversationContext'](_0x156714){for(const _0x28e270 of _0x156714['values']())this['_addToConversationContextItem'](_0x28e270);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'](_0x163315){return Array['from'](_0x163315['values']())['map'](_0x2e07a5=>this['_mapContextItemToRequestData'](_0x2e07a5))['filter'](_0x29fcbe=>null!==_0x29fcbe);}async['addFilesToContext'](_0x2125f8,_0x45969e,_0x4a7fa8='file'){const _0x5bc04f='files-'+ckeditor5['uid']();this['_startUploadOperation'](_0x5bc04f);try{await Promise['all'](_0x2125f8['map'](async _0x54bda1=>{const _0x2a7650='file-'+ckeditor5['uid'](),_0xc9d4fa=_0x128121(_0x54bda1['name']);try{this['_addContextItem']({'type':_0x4a7fa8,'label':_0x45969e?.['label']||_0xc9d4fa,'uiId':_0x2a7650,'resourceId':_0x45969e?.['resourceId']},!0x0);const _0x1bb9a9=this['_connector']['uploadFile'](this['_ownerId'],_0x54bda1,_0x45969e);this['_ongoingUploads']['set'](_0x2a7650,_0x1bb9a9['abortController']);const {id:_0x9d48e4}=await _0x1bb9a9['getId']();this['_ongoingUploads']['delete'](_0x2a7650),this['_finishContextItemLoading']({'type':_0x4a7fa8,'id':_0x9d48e4,'label':_0x45969e?.['label']||_0xc9d4fa,'uiId':_0x2a7650,'resourceId':_0x45969e?.['resourceId']},!0x1);}catch(_0x4a2bea){this['_ongoingUploads']['delete'](_0x2a7650);if(!(_0x4a2bea instanceof ckeditor5['CKEditorError']&&_0x4a2bea['message']['startsWith']('ai-request-aborted'))){const _0x948083=_0xf78619['get'](_0x4a2bea['code'])||'ai-chat-file-upload-failed',_0x4691c3=new ckeditor5['CKEditorError'](_0x948083,null,{'fileName':_0xc9d4fa,..._0x4a2bea});_0x4691c3['stack']=_0x4a2bea['stack'],this['fire']('error',{'error':_0x4691c3});}this['_removeContextItem'](_0x2a7650);}}));}finally{this['_finishUploadOperation'](_0x5bc04f);}}['addCurrentDocumentToContext'](_0x5c4c44){if(this['isCurrentDocumentInContext']()||!this['_addContextOptionsState']['document']['enabled'])return;const _0x276b66={'type':'document','uiId':'current-document','label':_0x5c4c44,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x276b66);}async['updateCurrentDocument'](_0x2002d4,_0x326c08,_0x4d07fa,_0x4f0e1f){const _0x42d9e4=this['_pendingContextItems']['get']('current-document');if(_0x42d9e4&&_0x2002d4){_0x42d9e4['selection']=_0x4f0e1f?_0x4f0e1f['map'](_0x1a1088=>({'start':_0x1a1088['start'],'end':_0x1a1088['end']})):[];try{if(_0x42d9e4['version']===_0x326c08)return;const {id:_0x1ec197}=await this['_connector']['uploadDocument'](this['_ownerId'],_0x2002d4,{'version':_0x326c08,'sessionId':_0x4d07fa})['getId']();_0x42d9e4['id']=_0x1ec197,_0x42d9e4['content']=_0x2002d4,_0x42d9e4['version']=_0x326c08,_0x42d9e4['sessionId']=_0x4d07fa;}catch(_0x2da6a8){const _0x1048e5=new ckeditor5['CKEditorError']('ai-chat-document-upload-failed',null);_0x1048e5['stack']=_0x2da6a8['stack'],this['fire']('error',{'error':_0x1048e5});}}}['addSelectionToContext'](_0xc477fd){this['_addContextItem']({'type':'selection','label':_0xc477fd,'uiId':'selection','content':_0xc477fd});}['removeSelectionFromContext'](){this['_removeContextItem']('selection');}async['addUrlToContext'](_0x518963,_0x7abb1c){const _0x36d0e2='url-'+ckeditor5['uid']();this['_startUploadOperation'](_0x36d0e2);const _0x25b1aa='url-'+ckeditor5['uid']();try{this['_addContextItem']({'type':'web-resource','label':_0x7abb1c?.['label']||_0x518963,'uiId':_0x25b1aa,'resourceId':_0x7abb1c?.['resourceId']},!0x0);const _0x24203e=this['_connector']['uploadUrl'](this['_ownerId'],_0x518963,_0x7abb1c);this['_ongoingUploads']['set'](_0x25b1aa,_0x24203e['abortController']);const {id:_0x3d03d7}=await _0x24203e['getId']();this['_ongoingUploads']['delete'](_0x25b1aa),this['_finishContextItemLoading']({'type':'web-resource','id':_0x3d03d7,'label':_0x7abb1c?.['label']||_0x518963,'uiId':_0x25b1aa,'resourceId':_0x7abb1c?.['resourceId']},!0x1);}catch(_0x2d426d){this['_ongoingUploads']['delete'](_0x25b1aa),(_0x2d426d['message']['startsWith']('ai-request-aborted')||this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-url-upload-failed',this,{'url':_0x518963,'originalError':_0x2d426d}),'url':_0x518963}),this['_removeContextItem'](_0x25b1aa));}finally{this['_finishUploadOperation'](_0x36d0e2);}}['addToolItemToContext'](_0x396133){_0x396133['id']=_0x396133['id']??ckeditor5['uid']()['substring'](0x0,0x15),this['_pendingContextItems']['set'](_0x396133['uiId'],_0x396133),this['fire']('contextItemAdded',{'contextItem':_0x396133,'isLoading':!0x1});}async['loadSourceResources'](_0x58fc50,_0x288196,_0xce2724){const _0x4939c1=this['_addContextOptionsState']['sources']['find'](_0x29f4e7=>_0x29f4e7['id']===_0x58fc50);if(!_0x4939c1)return this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-source-not-found',this,{'sourceId':_0x58fc50}),'sourceId':_0x58fc50}),[];try{const _0x50cf=(await _0x4939c1['getResources'](_0x288196))['map'](_0x2d4d97=>{const _0x38c40f=this['_isResourceInContext'](_0x2d4d97['id']);return{..._0x2d4d97,'isInContext':_0x38c40f};});return _0x4939c1['resources']=_0x50cf,this['fire']('sourceResourcesLoaded',{'sourceId':_0x58fc50,'source':_0x4939c1,'resources':_0x50cf,'uid':_0xce2724}),_0x50cf;}catch(_0x51782f){return this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-source-resources-load-failed',this,{'sourceId':_0x58fc50,'originalError':_0x51782f}),'sourceId':_0x58fc50,'sourceLabel':_0x4939c1['label']}),[];}}async['addResourceToContext'](_0x511aa8,_0x31fc87){if(this['_isResourceInContext'](_0x31fc87['id']))return;let _0x3875ec=_0x31fc87['data'];if(!_0x3875ec&&_0x511aa8['getData'])try{_0x3875ec=await _0x511aa8['getData'](_0x31fc87['id']);}catch(_0xec5874){return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-resource-load-failed',this,{'resourceId':_0x31fc87['id'],'sourceId':_0x511aa8['id'],'originalError':_0xec5874}),'resourceId':_0x31fc87['id'],'sourceId':_0x511aa8['id']});}if(_0x3875ec)switch(_0x31fc87['type']){case'web-resource':if('string'!=typeof _0x3875ec)return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x31fc87['id'],'sourceId':_0x511aa8['id'],'expectedType':'string','actualType':typeof _0x3875ec}),'resourceId':_0x31fc87['id'],'sourceId':_0x511aa8['id']});await this['addUrlToContext'](_0x3875ec,{'label':_0x31fc87['label'],'resourceId':_0x31fc87['id']});break;case'file':if(!(_0x3875ec instanceof File))return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x31fc87['id'],'sourceId':_0x511aa8['id'],'expectedType':'File','actualType':typeof _0x3875ec}),'resourceId':_0x31fc87['id'],'sourceId':_0x511aa8['id']});await this['addFilesToContext']([_0x3875ec],{'label':_0x31fc87['label'],'resourceId':_0x31fc87['id']});break;case'text':if('object'!=typeof _0x3875ec||!('content'in _0x3875ec)||!('type'in _0x3875ec))return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x31fc87['id'],'sourceId':_0x511aa8['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x3875ec}),'resourceId':_0x31fc87['id'],'sourceId':_0x511aa8['id']});_0x3875ec=AIChatContext['_convertTextResourceToFile'](_0x3875ec,_0x31fc87['label']),await this['addFilesToContext']([_0x3875ec],{'label':_0x31fc87['label'],'resourceId':_0x31fc87['id']},'text');break;case'mcp-tool-context':break;default:this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-unsupported-type',this,{'resourceId':_0x31fc87['id'],'sourceId':_0x511aa8['id'],'resourceType':_0x31fc87['type']}),'resourceId':_0x31fc87['id'],'sourceId':_0x511aa8['id']});}else this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-resource-no-data',this,{'resourceId':_0x31fc87['id'],'sourceId':_0x511aa8['id']}),'resourceId':_0x31fc87['id'],'sourceId':_0x511aa8['id']});}static['_convertTextResourceToFile'](_0x38d773,_0x203331){switch(_0x38d773['type']){case'markdown':return new File([_0x38d773['content']],_0x203331,{'type':'text/markdown'});case'html':return new File([_0x38d773['content']],_0x203331,{'type':'text/html'});default:return new File([_0x38d773['content']],_0x203331,{'type':'text/plain'});}}static['_mapContextItemToRequestData'](_0xfac85a){switch(_0xfac85a['type']){case'file':case'text':return{'type':'file','id':_0xfac85a['id']};case'web-resource':return{'type':'web-resource','id':_0xfac85a['id']};case'document':return{'type':'document','id':_0xfac85a['id'],..._0xfac85a['selection']?.['length']&&{'selection':_0xfac85a['selection']}};case'mcp-tool-context':{const _0x1c09ae=_0xfac85a;return{'type':'mcp-tool-context','mcpServerName':_0x1c09ae['mcpServerName'],'toolName':_0x1c09ae['toolName'],'data':_0x1c09ae['data'],'id':_0x1c09ae['id']};}default:return null;}}['_addContextItem'](_0x11016e,_0x513929=!0x1){if(this['_pendingContextItems']['set'](_0x11016e['uiId'],_0x11016e),_0x11016e['hidden']||this['fire']('contextItemAdded',{'contextItem':_0x11016e,'isLoading':_0x513929}),'current-document'===_0x11016e['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x11016e['resourceId']){const _0xb362cc=this['_findSourceIdsByResourceId'](_0x11016e['resourceId']);_0xb362cc&&_0xb362cc['forEach'](_0x57e148=>{this['_updateResourceInContextState'](_0x57e148,_0x11016e['resourceId'],!0x0);});}}['_removeContextItem'](_0x1395f7){const _0x510285=this['_pendingContextItems']['get'](_0x1395f7),_0x10ffda=this['_ongoingUploads']['get'](_0x1395f7);if(_0x10ffda&&(_0x10ffda['abort'](),this['_ongoingUploads']['delete'](_0x1395f7)),_0x510285?.['resourceId']){const _0xbecfdf=this['_findSourceIdsByResourceId'](_0x510285['resourceId']);_0xbecfdf&&_0xbecfdf['forEach'](_0x1bc67e=>{this['_updateResourceInContextState'](_0x1bc67e,_0x510285['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0x1395f7),this['fire']('contextItemRemoved',{'uiId':_0x1395f7,'type':_0x510285?.['type']}),'current-document'===_0x1395f7&&this['_toggleAddCurrentDocumentOptionVisibility']();}['_finishContextItemLoading'](_0x3fc1c9,_0x4d20b1){if(this['_pendingContextItems']['has'](_0x3fc1c9['uiId'])&&(this['_pendingContextItems']['set'](_0x3fc1c9['uiId'],_0x3fc1c9),this['fire']('contextItemLoadingEnded',{'contextItem':_0x3fc1c9,'isLoading':_0x4d20b1}),_0x3fc1c9['resourceId'])){const _0x45e1be=this['_findSourceIdsByResourceId'](_0x3fc1c9['resourceId']);_0x45e1be&&_0x45e1be['forEach'](_0x1bc1c0=>{this['_updateResourceInContextState'](_0x1bc1c0,_0x3fc1c9['resourceId'],!0x0);});}}['_addToConversationContextItem'](_0x5e39cd){this['_conversationContextItems']['set'](_0x5e39cd['uiId'],_0x5e39cd);}['_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'](_0x43049b=>({..._0x43049b,'enabled':!0x0}))??[]},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_getCustomSourcesInitialState'](){return this['_config']?.['sources']?.['map'](_0x4c8a94=>({..._0x4c8a94,'resources':[]}))??[];}['_toggleAddCurrentDocumentOptionVisibility'](){const _0x22a523=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0x22a523,this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_isResourceInContext'](_0x68e01e){for(const _0x557560 of this['_pendingContextItems']['values']())if(_0x557560['resourceId']===_0x68e01e)return!0x0;for(const _0x3dd8be of this['_conversationContextItems']['values']())if(_0x3dd8be['resourceId']===_0x68e01e)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0x51dca8){const _0x37f443=[];for(const _0x126665 of this['_addContextOptionsState']['sources']){_0x126665['resources']['find'](_0x553b9d=>_0x553b9d['id']===_0x51dca8)&&_0x37f443['push'](_0x126665['id']);}return 0x0===_0x37f443['length']?null:_0x37f443;}['_updateResourceInContextState'](_0x5801b2,_0x460a36,_0x73168c){const _0x1ac119=this['_addContextOptionsState']['sources']['find'](_0x296f2d=>_0x296f2d['id']===_0x5801b2);if(!_0x1ac119)return;const _0x55f349=_0x1ac119['resources']['find'](_0x598089=>_0x598089['id']===_0x460a36);_0x55f349&&(_0x55f349['isInContext']=_0x73168c,this['fire']('resourceStateChanged',{'sourceId':_0x5801b2,'resourceId':_0x460a36,'isInContext':_0x73168c}));}['_startUploadOperation'](_0x4a9f46){this['_ongoingUploadOperations']['set'](_0x4a9f46,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}['_finishUploadOperation'](_0x2b3687){this['_ongoingUploadOperations']['delete'](_0x2b3687),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}}const _0x4f6790=['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'](_0x1e7e74){const _0x49364f={};return _0x1e7e74&&_0x1e7e74['isWebSearchEnabled']&&(_0x49364f['webSearch']={}),_0x1e7e74&&_0x1e7e74['isReasoningEnabled']&&(_0x49364f['reasoning']={}),_0x49364f;}['toggleWebSearch'](){this['setWebSearch'](!this['_isWebSearchEnabled']);}['toggleReasoning'](){this['setReasoning'](!this['_isReasoningEnabled']);}['setWebSearch'](_0x5cf57d){_0x5cf57d!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0x5cf57d,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}['setReasoning'](_0x1d5b83){_0x1d5b83!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0x1d5b83,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}}class AIChatInteraction extends AIInteraction{['userMessage'];['conversationId'];['contextItems']=new Map();['capabilities'];['model'];['attributes'];constructor(_0x2115cd){super(_0x2115cd),this['conversationId']=_0x2115cd['conversationId'],this['contextItems']=_0x2115cd['contextItems'],this['capabilities']=_0x2115cd['capabilities'],this['userMessage']=_0x2115cd['userMessage'],this['model']=_0x2115cd['model'],this['attributes']=_0x2115cd['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(_0x36a58b){super(),this['options']=_0x36a58b,this['connector']=_0x36a58b['connector'],this['chatModels']=_0x36a58b['chatModels'],this['id']=_0x36a58b['conversationId'],this['isFromHistory']=_0x36a58b['isFromHistory'];}async['init'](_0x162ea0){try{this['chatContext']=new AIChatContext({'connector':this['connector'],'config':_0x162ea0,'ownerId':this['id']}),this['chatContext']['delegate'](..._0x63e69c)['to'](this),this['chatContext']['init'](),this['chatCapabilities']=new AICapabilities(),this['chatCapabilities']['delegate'](..._0x4f6790)['to'](this),this['chatCapabilities']['init']();const _0x26a345=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x26a345});const _0x133bd3=await this['chatModels']['getModel'](this['options']['selectedModelId']);_0x133bd3&&await this['setModel'](_0x133bd3);}catch(_0x5b0e11){const _0x15159d=new ckeditor5['CKEditorError']('ai-chat-conversation-init-failed',null,{'message':_0x5b0e11['message']||_0x5b0e11});_0x15159d['stack']=_0x5b0e11['stack'],this['fire']('error',{'error':_0x15159d});}}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:_0x24e741}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0x24e741,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0x46678a){const _0x1f7ddf=new ckeditor5['CKEditorError']('ai-chat-conversation-start-failed',null,{'message':_0x46678a['message'],'conversationId':this['id']});throw _0x1f7ddf['stack']=_0x46678a['stack'],this['fire']('error',{'error':_0x1f7ddf}),_0x1f7ddf;}}async['load'](_0x121647,_0x466b24){try{const _0x209118=await this['connector']['fetchConversation'](_0x121647)['getConversation'](),_0x1d7b6c=await this['connector']['fetchConversationMessages'](_0x121647)['getMessages'](),_0x4b1ded=_0x1d7b6c[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x209118['id'],'title'in _0x209118?this['fire']('setConversationTitle',_0x209118['title'],!0x0):this['fire']('setConversationTitle','',!0x0);const _0x56abbc=(await this['chatModels']['getAll']())['find'](_0x249def=>_0x249def['id']['toLowerCase']()===_0x4b1ded['toLowerCase']());return this['selectedModel']=_0x56abbc,this['fire']('modelSelected',{'selectedModel':_0x56abbc,'isDisabled':!0x0}),await this['_processMessagesToInteractions'](_0x1d7b6c,_0x466b24,_0x4b1ded),this['currentInteraction']=void 0x0,this;}catch(_0x5f0e5f){const _0x2b9f19=new ckeditor5['CKEditorError']('ai-chat-conversation-init-from-id-failed',null,{'message':_0x5f0e5f['message'],'conversationId':_0x121647});throw _0x2b9f19['stack']=_0x5f0e5f['stack'],this['fire']('error',{'error':_0x2b9f19}),_0x2b9f19;}}async['_processMessagesToInteractions'](_0x39cf6f,_0x4c9bd4,_0x524c54){let _0x2df5b9;for(const _0x300dfa of _0x39cf6f)if('user'===_0x300dfa['role']){const _0x5bb7ca=await this['_extractContextItems'](_0x300dfa),_0x267a38={'isReasoningEnabled':Object['hasOwn'](_0x300dfa['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0x300dfa['capabilities'],'webSearch')};_0x2df5b9=this['createInteraction']({'userMessage':_0x300dfa['prompt'],'contextItems':_0x5bb7ca,'capabilities':_0x267a38,'modelId':_0x524c54,'attributes':_0x300dfa['attributes']}),this['currentInteraction']=_0x2df5b9,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0x300dfa['role']&&_0x2df5b9){const _0x2df4a6=[];for(const _0x4b4be1 of _0x300dfa['content'])switch(_0x4b4be1['type']){case'text':case'modification':{const _0x5effbf=_0x2df5b9['getDocumentContext']()?.['sessionId']!==_0x4c9bd4;_0x2df5b9['currentReply']=_0x2df5b9['createReply']({'type':_0x4b4be1['type'],'isDone':!0x0,'interactionId':_0x2df5b9['id'],'areActionsDisabled':_0x5effbf}),_0x2df5b9['currentReply']['appendContent'](_0x4b4be1['content']),_0x2df4a6['length']>0x0&&(_0x2df5b9['currentReply']['sources']=_0x2df4a6['splice'](0x0));break;}case'url':_0x2df4a6['push'](_0x4b4be1);break;case'mcp-tool-result':{const {data:_0x4c7f05,attributes:_0x9d3765}=JSON['parse'](_0x4b4be1['content']);_0x2df5b9['_handleToolResultData']({'toolName':_0x4b4be1['toolName'],'data':_0x4c7f05,'attributes':_0x9d3765});break;}}}}}async['_extractContextItems'](_0x530178){const _0xe0fa7=new Map();if(!_0x530178['content'])return _0xe0fa7;for(const _0x2f2fa5 of _0x530178['content']){const _0x4e6e78=await this['chatContext']['populateFromMessage'](_0x2f2fa5);_0x4e6e78&&_0xe0fa7['set'](_0x4e6e78['id'],_0x4e6e78);}return _0xe0fa7;}async['handleUserInteraction']({userMessage:_0x48fdf4,attributes:_0x3b4181}){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 _0x4affbe=this['chatContext']['getPendingContextItems'](),_0x5252a3=this['chatCapabilities']['getCapabilitiesConfig'](),_0x1d2176=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x48fdf4,'contextItems':_0x4affbe,'capabilities':_0x5252a3,'modelId':_0x1d2176,'attributes':_0x3b4181}),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0x4f9b42){if(_0x4f9b42 instanceof ckeditor5['CKEditorError'])this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0x4f9b42});else{const _0x46af63=_0xf78619['get'](_0x4f9b42['code'])||'ai-chat-handle-user-interaction-start-failed';this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':new ckeditor5['CKEditorError'](_0x46af63,null,{'error':_0x4f9b42})});}}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}['createInteraction']({userMessage:_0x3293c3,contextItems:_0xe85228,capabilities:_0x4dc7d3,modelId:_0x51b1f3,attributes:_0x31cbf5}){const _0x22ed81=new AIChatInteraction({'userMessage':_0x3293c3,'contextItems':_0xe85228,'capabilities':_0x4dc7d3,'conversationId':this['id'],'connector':this['connector'],'editor':this['options']['getEditor']&&this['options']['getEditor'](),'model':_0x51b1f3,'attributes':_0x31cbf5});return _0x22ed81['delegate'](..._0x4b1ff5)['to'](this),this['interactions']['push'](_0x22ed81),this['fire']('interactionCreated',_0x22ed81),_0x22ed81;}['getInteraction'](_0x35477b){return this['interactions']['find'](_0x51d2af=>_0x51d2af['id']===_0x35477b);}['removeInteraction'](_0x2fb350){const _0x444762=this['getInteraction'](_0x2fb350);_0x444762&&(_0x444762['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0x444762),0x1));}get['lastInteraction'](){return this['interactions'][this['interactions']['length']-0x1];}['addCurrentDocumentToContext'](_0x1fca28){this['chatContext']['addCurrentDocumentToContext'](_0x1fca28);}async['updateCurrentDocumentInContext']({content:_0x3cca26,version:_0x4b04e9,sessionId:_0x5cf96d,selections:_0x107584}){await this['chatContext']['updateCurrentDocument'](_0x3cca26,_0x4b04e9,_0x5cf96d,_0x107584);}['getCurrentDocumentContext'](){return this['currentInteraction']?.['getDocumentContext']()?.['content']||'';}['addSelectionToContext'](_0xa4bd91){this['chatContext']['addSelectionToContext'](_0xa4bd91);}['removeSelectionFromContext'](){this['chatContext']['removeSelectionFromContext']();}['addFilesToContext'](_0x14a54a){this['chatContext']['addFilesToContext'](_0x14a54a);}['addUrlToContext'](_0x48be3f){this['chatContext']['addUrlToContext'](_0x48be3f);}['addToolItemToContext'](_0x13cd74){this['chatContext']['addToolItemToContext'](_0x13cd74);}['addResourceToContext'](_0x58ef01,_0x5f9a83){this['chatContext']['addResourceToContext'](_0x58ef01,_0x5f9a83);}['loadSourceResources'](_0x5d0bfc,_0x5e3fd3,_0x2f9d13){return this['chatContext']['loadSourceResources'](_0x5d0bfc,_0x5e3fd3,_0x2f9d13);}['removeFromContext'](_0x2a8992){this['chatContext']['removeFromContext'](_0x2a8992);}['setWebSearch'](_0x24d9c9){this['chatCapabilities']['setWebSearch'](_0x24d9c9);}['toggleWebSearch'](){this['chatCapabilities']['toggleWebSearch']();}['setReasoning'](_0xda8ba8){this['chatCapabilities']['setReasoning'](_0xda8ba8);}['toggleReasoning'](){this['chatCapabilities']['toggleReasoning']();}['isCurrentDocumentInContext'](){return this['chatContext']['isCurrentDocumentInContext']();}['isCurrentDocumentInConversation'](){return this['chatContext']['isCurrentDocumentInConversation']();}['isSelectionInContext'](){return this['chatContext']['isSelectionInContext']();}async['setModel'](_0x259a5f){_0x259a5f?!0x1===await this['chatModels']['isAvailable'](_0x259a5f)&&(ckeditor5['logWarning']('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x259a5f}),_0x259a5f=(await this['chatModels']['getAvailableModels']())[0x0]):(ckeditor5['logWarning']('ai-chat-conversation-set-model-null',{'conversation':this}),_0x259a5f=(await this['chatModels']['getAvailableModels']())[0x0]),_0x259a5f['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x259a5f,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x259a5f}));}}class _0x39d214 extends ckeditor5['EmitterMixin'](){['_connector'];['_config'];['_locale'];['_modelList']=[];['_modelsRequest']=null;constructor({connector:_0x496e08,config:_0x4d8c19,locale:_0x5682bf}){super(),this['_connector']=_0x496e08,this['_config']=_0x4d8c19,this['_locale']=_0x5682bf;}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 _0x5c312e=await this['getAll']();let _0x1482ba;return _0x1482ba=this['_availableModels']?this['_filterModels'](_0x5c312e,this['_availableModels']):_0x5c312e['filter'](_0x10415d=>_0x10415d['recommended']),_0x1482ba;}async['getModel'](_0x10dd86){const _0x30f20d=await this['getAll']();if(!_0x30f20d['length'])return null;if(_0x10dd86){const _0x35bf84=this['_getModelById'](_0x30f20d,_0x10dd86);if(_0x35bf84)return _0x35bf84;ckeditor5['logWarning']('ai-chat-model-id-unrecognized',{'modelId':_0x10dd86,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async['getDefault'](){const _0x1dcf50=await this['getAvailableModels']();if(!_0x1dcf50['length'])return null;if(this['_defaultModelId']){const _0x358045=this['_getModelById'](_0x1dcf50,this['_defaultModelId']);if(_0x358045)return _0x358045;ckeditor5['logWarning']('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0x1dcf50[0x0]['id']});}return _0x1dcf50[0x0];}async['isAvailable'](_0x11d069){return(await this['getAvailableModels']())['some'](_0x20eb94=>_0x20eb94['name']===_0x11d069['name']&&_0x20eb94['provider']===_0x11d069['provider']);}async['_retrieveModels'](){if(!this['_modelList']['length'])try{const _0x2543c4=this['_locale']['uiLanguage']||'en',_0x40f63a=this['_connector']['getModels'](_0x2543c4),_0x135295=await _0x40f63a['list']();this['_modelList']=_0x135295['items']['map'](_0x4c11da=>isAutoModel(_0x4c11da)?{..._0x4c11da,'name':getTranslation$i(this['_locale'],'AI_MODEL_NAME_AUTO')}:_0x4c11da);}catch(_0x2541a7){throw ckeditor5['logError']('ai-models-unable-to-retrieve',{'error':_0x2541a7}),_0x2541a7;}return[...this['_modelList']];}['_filterModels'](_0x3fb3c1,_0x48b4ef){let _0x2b6534;if(_0x48b4ef){_0x2b6534=[];const _0xb70c52=new Set(),_0x1636c0='string'==typeof _0x48b4ef?[_0x48b4ef['toLocaleLowerCase']()]:_0x48b4ef['map'](_0x21f888=>_0x21f888['toLocaleLowerCase']());for(const _0x117d71 of _0x1636c0)for(const _0x1474a9 of _0x3fb3c1)!_0xb70c52['has'](_0x1474a9['id'])&&this['_isMatchingFilter'](_0x1474a9,_0x117d71)&&(_0x2b6534['push'](_0x1474a9),_0xb70c52['add'](_0x1474a9['id']));}else _0x2b6534=_0x3fb3c1;return _0x2b6534;}['_isMatchingFilter'](_0x1783e4,_0x4ba27a){const _0x263b86=_0x1783e4['id']['toLocaleLowerCase'](),_0x1bcbf3=_0x1783e4['name']['toLocaleLowerCase'](),_0x5148e0=_0x1783e4['provider']['toLocaleLowerCase']();return _0x263b86===_0x4ba27a||_0x1bcbf3===_0x4ba27a||isAutoModel(_0x1783e4)&&'auto'===_0x4ba27a||_0x5148e0===_0x4ba27a||_0x263b86['startsWith'](_0x4ba27a);}['_getModelById'](_0x404700,_0x4ae69f){return _0x404700['find'](_0x2047d7=>isAutoModel(_0x2047d7)&&'auto'===_0x4ae69f?_0x2047d7:_0x2047d7['id']===_0x4ae69f)||null;}}function isAutoModel(_0x162ea7){return _0x162ea7['id']['startsWith']('agent');}function getEditorFromContext(_0x555c16){if(_0x555c16 instanceof ckeditor5['Editor'])return _0x555c16;if(_0x555c16?.['editors']&&_0x555c16['editors']['get'](0x0))return _0x555c16['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.'),_0x555c16['editors']['get'](0x0);throw new ckeditor5['CKEditorError']('ai-get-editor-from-context-no-editor');}function getOperationsFromReply({editor:_0x1a2c7f,interaction:_0x148efb,reply:_0x1e8faa,groups:_0x1f5491,transform:_0x3f6d45,documentCompare:_0x4e92b4,documentCompareOptions:_0x465e68}){const _0x510ec8=_0x148efb['getDocumentContext']();if(!_0x510ec8)return[];const _0x53a856=_0x510ec8['content'],_0x1fcab9=_0x510ec8['version'],_0x2b797c=_0x1e8faa['documentContextContent']['cloneNode'](!0x0);for(const {changes:_0x1e6c8e}of _0x1f5491){const _0x2588b6=_0x1e6c8e['filter'](_0x424f36=>'new'!=_0x424f36['type'])['map'](_0xc7507d=>findByAttribute('data-id',_0xc7507d['id'],_0x2b797c)),_0xc2957a=_0x1e6c8e['filter'](_0x5b27a5=>'removed'!=_0x5b27a5['type'])['map'](_0x4aa723=>_0x4aa723['node']['cloneNode'](!0x0));let _0x535805=null;if(_0x2588b6['length']){_0x535805=_0x2588b6[0x0]['previousSibling'];for(let _0x10ad3b=0x0;_0x10ad3b<_0x2588b6['length'];_0x10ad3b++)removeElement(_0x2588b6[_0x10ad3b]);}if(_0xc2957a['length']){_0x535805||(_0x1e6c8e[0x0]['anchorId']?_0x535805=findByAttribute('data-id',_0x1e6c8e[0x0]['anchorId'],_0x2b797c):(_0x535805=_0xc2957a['shift'](),_0x3d183a(_0x2b797c,_0x535805)));for(let _0xc3bf7e=0x0;_0xc3bf7e<_0xc2957a['length'];_0xc3bf7e++)_0x43915e(_0x535805,_0xc2957a[_0xc3bf7e]),_0x535805=_0xc2957a[_0xc3bf7e];}}const _0x1c3962=_0x405168(_0x2b797c),_0x31c14b=_0x4e92b4['getDiff'](_0x53a856,_0x1c3962,_0x465e68)['getOperations']();if(_0x3f6d45){const _0x268bc4=_0x1a2c7f['model']['document']['history']['getOperations'](_0x1fcab9),_0x450480={'document':_0x1a2c7f['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};return ckeditor5['transformOperationSets'](_0x31c14b,_0x268bc4,_0x450480)['operationsA'];}return _0x31c14b;}function fixMarkerOperationOldRange(_0x22d2bb,_0x358e3e){if('marker'!=_0x358e3e['type'])return;const _0x429d95=_0x22d2bb['model']['markers']['get'](_0x358e3e['name']);_0x429d95&&(_0x358e3e['oldRange']=_0x429d95['getRange']());}class AIChatController extends ckeditor5['ContextPlugin']{['activeConversation'];['_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 _0x39d214({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});const _0x3b5815=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0x20faca,_0x1f9af4)=>{this['_handleUIUserMessage']({'message':_0x1f9af4});}),this['listenTo'](_0x3b5815,'resizedTabs',(_0x41c632,_0x5a57c2)=>{this['_setIsMaximized'](_0x5a57c2);}),this['listenTo'](this['_aiChatUi'],'resizeTabs',()=>{_0x3b5815['resize']();}),this['listenTo'](_0x3b5815['view'],'change:activeTab',(_0x5dff7f,_0x1d527a,_0x2cefc1)=>{'chat'!==_0x2cefc1&&this['removeSelectionFromChatContext']();}),this['listenTo'](this['_aiChatUi'],'abortPromptStream',async()=>{await this['_stopLastInteraction'](),await this['_flushLastInteractionUI'](),this['removeSelectionFromChatContext']();}),this['listenTo'](this['_aiChatUi'],'addDocumentToContext',()=>{this['addCurrentDocumentToChatContext']();}),this['listenTo'](this['_aiChatUi'],'addFileToContext',(_0xc5000a,_0x3c4279)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0x3c4279));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0x5c8ad9,_0x251d80)=>{this['activeConversation']?.['addUrlToContext'](_0x251d80);}),this['listenTo'](this['_aiChatUi'],'executeCustomItemCallback',(_0x16adf0,_0x41ff1c)=>{_0x41ff1c['callback'](this['context']);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0x4b90df,_0x31d1f7)=>{this['activeConversation']?.['addResourceToContext'](_0x31d1f7['source'],_0x31d1f7['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x1d2bf4,_0x2e7787)=>{this['_removeFromContext'](_0x2e7787);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x53d9f8,_0x21fb1a)=>{this['activeConversation']?.['loadSourceResources'](_0x21fb1a['sourceId'],_0x21fb1a['query'],_0x21fb1a['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0x39d1c2,_0x20fdf0)=>{this['activeConversation']?.['setModel'](_0x20fdf0);}),this['listenTo'](this['_aiChatUi'],'like',(_0x369acf,{replyId:_0x32012e})=>{console['log']('Liked\x20response',_0x32012e);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0x5b18e6,{replyId:_0x22e861})=>{console['log']('Disliked\x20response',_0x22e861);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x10340c,_0x4b7c42)=>{this['_insertSuggestion'](_0x4b7c42);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0x246f43,{replyId:_0x4803b4,partIndex:_0x456264})=>{this['_aiChatBalloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0x4803b4,_0x456264);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x1602c9,{replyId:_0x2b6ab9,partIndex:_0x397054})=>{const _0x55868f=this['_getDocumentRangeForReplyChanges'](_0x2b6ab9,_0x397054);_0x55868f&&'$graveyard'!=_0x55868f['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']({'ranges':[_0x55868f['range']],'id':'change-area','priority':0xa});}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0x5828be,_0x1ae42f)=>{this['_aiEditing']['hideFakeVisualSelection']('change-area'),this['_applySuggestion'](_0x1ae42f);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0x1e1dd7,{replyId:_0xedd06f,showDiff:_0x17c008})=>{const {reply:_0x4b7e94}=this['getInteractionAndReplyById'](_0xedd06f),_0xcbd3d0=_0x4b7e94['getContentParts']({'showDiff':_0x17c008});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x4b7e94['id'],'parts':_0xcbd3d0,'renderingStrategy':'static'});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x22bbc1,{replyId:_0xca3e41,partIndex:_0x11dbb5})=>{this['_rejectSuggestion']({'replyId':_0xca3e41,'partIndex':_0x11dbb5}),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),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:_0x3d84cb,partIndex:_0x705134}=this['_currentPreviewedChangeGroup'];this['_aiChatBalloonShowDiff']=!this['_aiChatBalloonShowDiff'];const {reply:_0xc3871e}=this['getInteractionAndReplyById'](_0x3d84cb),_0x22cfd4=_0xc3871e['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'groupIndex':_0x705134});this['_aiChatBalloon']['updateContent']({'part':_0x22cfd4[0x0],'renderingStrategy':'static','keepErrors':!0x0});}),this['listenTo'](this['_aiChatBalloon'],'applySuggestion',()=>{const {replyId:_0x4ebdc7,partIndex:_0x25c9ac}=this['_currentPreviewedChangeGroup'];this['_applySuggestion']({'replyId':_0x4ebdc7,'partIndex':_0x25c9ac}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'insertSuggestion',()=>{const {replyId:_0x3eff6e,partIndex:_0x1d07b7}=this['_currentPreviewedChangeGroup'];this['_insertSuggestion']({'replyId':_0x3eff6e,'partIndex':_0x1d07b7}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'rejectSuggestion',()=>{const {replyId:_0x577522,partIndex:_0x4c1c3f}=this['_currentPreviewedChangeGroup'];this['_rejectSuggestion']({'replyId':_0x577522,'partIndex':_0x4c1c3f}),this['_aiChatBalloon']['setState']('rejected');}),this['listenTo'](this['_aiChatBalloon'],'showNext',()=>{const {replyId:_0x21e970,partIndex:_0x493035}=this['_currentPreviewedChangeGroup'],_0x5937f5=this['_getPresentableSiblingContentPartIndex'](_0x21e970,_0x493035,'next');null!==_0x5937f5&&this['_openBalloonFor'](_0x21e970,_0x5937f5);}),this['listenTo'](this['_aiChatBalloon'],'showPrevious',()=>{const {replyId:_0x4e1ccc,partIndex:_0x4ae3ed}=this['_currentPreviewedChangeGroup'],_0xe45e09=this['_getPresentableSiblingContentPartIndex'](_0x4e1ccc,_0x4ae3ed,'previous');null!==_0xe45e09&&this['_openBalloonFor'](_0x4e1ccc,_0xe45e09);}),this['listenTo'](this['_aiChatBalloon'],'dialogClosed',(_0x3cb057,{id:_0x27538d})=>{if('aiChatBalloon'!==_0x27538d)return;const {replyId:_0x27805a,partIndex:_0x1ab0cf}=this['_currentPreviewedChangeGroup'];this['_currentPreviewedChangeGroup']=null,this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x27805a,'index':_0x1ab0cf,'isActive':!0x1});})),this['on']('interactionCreated',(_0x2d4f2a,_0x32111e)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x32111e);}),this['on']('replyCreated',(_0x2c9419,_0x21b041)=>{this['_addFeedItemReply'](_0x21b041);});}async['afterInit'](){this['context']instanceof ckeditor5['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x4cd82a,_0x5dfb22)=>{_0x5dfb22['on']('ready',()=>{this['_integrateEditor'](_0x5dfb22);});});const _0x172830=this['context']['config']['get']('ai.chat.initialConversation');let _0x3eeba5=_0x172830;if('lastCreated'!=_0x172830||(_0x3eeba5=await this['_getLastCreatedConversationId'](),_0x3eeba5))return'new'==_0x3eeba5?this['_startConversationSafely']():this['loadConversation'](_0x3eeba5);}async['destroy'](){return await this['_stopLastInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}async['loadConversation'](_0x3698a6){this['context']['plugins']['has']('AIChatBalloon')&&this['context']['plugins']['get']('AIChatBalloon')['close'](),(this['context']['plugins']['get'](_0x1b227a)['view']['activateTab']('chat'),this['_aiChatUi']['setFeedItemRenderingStrategy']('static'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x0),await this['_stopLastInteraction']());try{await this['_aiConnector']['fetchConversation'](_0x3698a6)['getConversation'](),await this['_startConversationSafely'](_0x3698a6),this['_updateConversationTitle']('\x20'),await this['activeConversation']['load'](_0x3698a6,this['_aiEditing']['sessionId']),this['activeConversation']['isCurrentDocumentInConversation']()&&this['addCurrentDocumentToChatContext']();}catch(_0x657898){this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x3698a6}),this['_logError'](new ckeditor5['CKEditorError']('ai-chat-conversation-not-found',this,{'error':_0x657898}));}finally{this['_aiChatUi']['startAutoScroll'](),this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}['registerToolDataCallback'](_0x5f225c){let _0x1af504=null,_0x3db508=null;this['on']('toolDataReceived',(_0x235762,_0x568d1c,_0x354864)=>{_0x354864['id']!==_0x1af504&&(_0x1af504=_0x354864['id'],_0x3db508=this['_getAIChatFeedAPI'](_0x354864)),_0x5f225c(_0x568d1c,_0x3db508);});}['addCurrentDocumentToChatContext'](){this['activeConversation']?.['addCurrentDocumentToContext'](getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}async['addSelectionToChatContext'](){const _0x5a0b0d=this['_aiEditing']['getSelectionText']();this['activeConversation']?.['addSelectionToContext'](_0x5a0b0d),this['addCurrentDocumentToChatContext']();}['removeSelectionFromChatContext'](){this['activeConversation']?.['removeSelectionFromContext']();}['focusPromptInput'](){this['_aiChatUi']['focusPromptInput']();}async['startConversation'](){await this['_startConversationSafely']();}async['sendMessage'](_0x4466e4){await this['_handleUIUserMessage'](_0x4466e4);}['getGroupId'](){const _0x20295a=this['context']['config']['get']('collaboration.channelId');if(!_0x20295a)throw new ckeditor5['CKEditorError']('ai-chat-missing-channel-id',this);return _0x20295a;}['_handleRemovedConversation'](_0x2118f5){this['activeConversation']['id']===_0x2118f5&&this['_startConversationSafely']();}['_insertSuggestion'](_0x434a72){const _0x3bc669=getEditorFromContext(this['context']);if(!_0x3bc669['plugins']['has']('TrackChanges'))throw new ckeditor5['CKEditorError']('ai-no-track-changes',null);const _0x497eba=this['context']['plugins']['get']('DocumentCompare'),{reply:_0x17d6e9,interaction:_0x4c72bf}=this['getInteractionAndReplyById'](_0x434a72['replyId']),_0x7f0f4e=this['_getDocumentRangeForReplyChanges'](_0x434a72['replyId'],_0x434a72['partIndex']),_0x2fb586=void 0x0!==_0x434a72['partIndex']?[_0x17d6e9['changeGroups'][_0x434a72['partIndex']]]:_0x17d6e9['changeGroups']['filter'](_0x50402f=>'pending'==_0x50402f['state']),_0xbb668d=_0x2fb586['map'](_0x486cc5=>_0x17d6e9['changeGroups']['indexOf'](_0x486cc5));if(!_0x7f0f4e||'$graveyard'==_0x7f0f4e['range']['root']['rootName'])return void _0xbb668d['forEach'](_0x304cb1=>_0x17d6e9['setChangeGroupState'](_0x304cb1,'outdated'));_0xbb668d['forEach'](_0x315041=>_0x17d6e9['setChangeGroupState'](_0x315041,'accepted'));const _0x4bb204=getOperationsFromReply({'editor':_0x3bc669,'reply':_0x17d6e9,'interaction':_0x4c72bf,'groups':_0x2fb586,'transform':!0x0,'documentCompare':_0x497eba,'documentCompareOptions':{'anchor':'main','markDeletions':!0x0}});let _0x1abfac;_0x7f0f4e&&this['_scrollToSuggestionRange'](_0x7f0f4e['range']),_0x3bc669['model']['change'](_0x434e5d=>{_0x1abfac=_0x434e5d['batch'],_0x3bc669['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x4bb204),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['_batchToChanges']['set'](_0x1abfac,{'interactionId':_0x4c72bf['id'],'replyId':_0x17d6e9['id'],'indexes':_0xbb668d['slice']()}),this['_updateRatings'](_0x17d6e9);}['_applySuggestion'](_0x5aae26){const _0xf476b4=getEditorFromContext(this['context']),_0x555333=this['context']['plugins']['get'](DocumentCompare),{reply:_0x4e5cd9,interaction:_0x4dba8d}=this['getInteractionAndReplyById'](_0x5aae26['replyId']),_0x5cf885=this['_getDocumentRangeForReplyChanges'](_0x5aae26['replyId'],_0x5aae26['partIndex']),_0x182e0d=void 0x0!==_0x5aae26['partIndex']?[_0x4e5cd9['changeGroups'][_0x5aae26['partIndex']]]:_0x4e5cd9['changeGroups']['filter'](_0xdcf162=>'pending'==_0xdcf162['state']),_0xf80228=_0x182e0d['map'](_0x1bc37e=>_0x4e5cd9['changeGroups']['indexOf'](_0x1bc37e));if(!_0x5cf885||'$graveyard'==_0x5cf885['range']['root']['rootName'])return void _0xf80228['forEach'](_0x1f9d47=>_0x4e5cd9['setChangeGroupState'](_0x1f9d47,'outdated'));_0xf80228['forEach'](_0x199a5c=>_0x4e5cd9['setChangeGroupState'](_0x199a5c,'accepted'));const _0x5a6d6b=getOperationsFromReply({'editor':_0xf476b4,'reply':_0x4e5cd9,'interaction':_0x4dba8d,'groups':_0x182e0d,'transform':!0x0,'documentCompare':_0x555333,'documentCompareOptions':{'anchor':'main','markDeletions':!0x1}});let _0x2e43d6;_0x5cf885&&this['_scrollToSuggestionRange'](_0x5cf885['range']),_0xf476b4['model']['change'](_0xfbac28=>{_0x2e43d6=_0xfbac28['batch'];for(const _0x162df8 of _0x5a6d6b)_0x162df8['baseVersion']=_0xf476b4['model']['document']['version'],fixMarkerOperationOldRange(_0xf476b4,_0x162df8),_0xfbac28['batch']['addOperation'](_0x162df8),_0xf476b4['model']['applyOperation'](_0x162df8);}),this['_batchToChanges']['set'](_0x2e43d6,{'interactionId':_0x4dba8d['id'],'replyId':_0x4e5cd9['id'],'indexes':_0xf80228['slice']()}),this['_updateRatings'](_0x4e5cd9);}['_rejectSuggestion'](_0x37510b){const {reply:_0x5edc23}=this['getInteractionAndReplyById'](_0x37510b['replyId']);_0x5edc23['setChangeGroupState'](_0x37510b['partIndex'],'rejected');}['_openBalloonFor'](_0x45852f,_0x2ad89e){if(!this['_aiChatBalloon'])return;const {reply:_0x2af733}=this['getInteractionAndReplyById'](_0x45852f),_0x30e501=_0x2af733['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});let _0x1916ff,_0x242e05;if(void 0x0!==_0x2ad89e?(_0x242e05=_0x30e501['find'](_0x5e4f9c=>_0x5e4f9c['index']==_0x2ad89e),_0x1916ff=_0x242e05?.['index']):(_0x242e05=_0x30e501[0x0],_0x1916ff=_0x242e05['index']),this['_currentPreviewedChangeGroup']?.['replyId']==_0x45852f&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x1916ff)return;const _0x47107f=this['_getUserPresentableContentPartDocumentRange'](_0x45852f,_0x2af733,_0x242e05);if(!_0x47107f)return void this['_aiChatBalloon']['close']();this['_currentPreviewedChangeGroup']={'replyId':_0x45852f,'partIndex':_0x1916ff},this['_scrollToSuggestionRange'](_0x47107f,!0x0);const _0x4fd119=this['_getPresentableSiblingContentPartIndex'](_0x45852f,_0x1916ff,'next');this['_aiChatBalloon']['updateContent']({'part':_0x242e05,'renderingStrategy':'static'}),this['_aiChatBalloon']['open']({'index':_0x1916ff,'title':getTranslation$i(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0x1916ff+0x1)['toString']()),'showRotator':null!==_0x4fd119,'ranges':[_0x47107f],'areActionsDisabled':_0x2af733['areActionsDisabled']}),this['_aiChatBalloon']['setState']('pending'),this['_aiChatUi']['scrollFeedToSuggestion'](_0x45852f,_0x1916ff),this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x45852f,'index':_0x1916ff,'isActive':!0x0});}['_getPresentableSiblingContentPartIndex'](_0x276c19,_0x258f3d,_0x2b6897){const {reply:_0x5c1cd2}=this['getInteractionAndReplyById'](_0x276c19),_0x3b00e4=_0x5c1cd2['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(0x1==_0x3b00e4['length'])return null;const _0x21c5e6=_0x3b00e4['findIndex'](_0x2136d7=>_0x2136d7['index']==_0x258f3d),_0x12165d='next'==_0x2b6897?0x1:-0x1;let _0x3af134=_0x3b00e4['at']((_0x21c5e6+_0x12165d)%_0x3b00e4['length'])['index'],_0xfbbb2b=_0x3b00e4[_0x3af134];for(;!this['_getUserPresentableContentPartDocumentRange'](_0x276c19,_0x5c1cd2,_0xfbbb2b);){if(_0x3af134=_0x3b00e4['at']((_0x3af134+_0x12165d)%_0x3b00e4['length'])['index'],_0x3af134===_0x21c5e6)return null;_0xfbbb2b=_0x3b00e4[_0x3af134];}return _0x3af134;}['_getUserPresentableContentPartDocumentRange'](_0x439e81,_0x107991,_0x172504){const _0x5a5bc5=_0x107991['changeGroups'];if(!_0x172504['hasChanges'])return null;const _0x115978=_0x5a5bc5['find'](_0x5a5622=>_0x5a5622['index']==_0x172504['index']);if('pending'!==_0x115978?.['state'])return null;const _0xc5f4e6=this['_getDocumentRangeForReplyChanges'](_0x439e81,_0x172504['index']);if(!_0xc5f4e6)return null;const {range:_0x569641,currentIndex:_0x3dc640}=_0xc5f4e6;return'$graveyard'==_0x569641['root']['rootName']?(_0x107991['setChangeGroupState'](_0x3dc640,'outdated'),null):_0xc5f4e6['range'];}['_getDocumentRangeForReplyChanges'](_0x56b916,_0x206c14){const _0x35ae72=getEditorFromContext(this['context']),{reply:_0x5f4191,interaction:_0x4d3348}=this['getInteractionAndReplyById'](_0x56b916),_0x7e3506=_0x5f4191['changeGroups']['filter'](_0x3b1472=>'pending'==_0x3b1472['state']),_0x95035d=_0x7e3506['map'](_0x516143=>_0x5f4191['changeGroups']['indexOf'](_0x516143));void 0x0===_0x206c14&&(_0x206c14=_0x95035d[0x0]);const _0x4a295c=_0x95035d['indexOf'](_0x206c14);if(-0x1==_0x4a295c)return null;const _0x20d875=_0x7e3506[_0x4a295c],_0x563bbe=new Document([]),_0x5b21fe=new Document([]);for(const _0x3509aa of _0x20d875['changes'])if('removed'!=_0x3509aa['type']&&_0x5b21fe['children']['push'](_0x3509aa['node']['cloneNode'](!0x0)),'new'!=_0x3509aa['type']){const _0x2c0907=_0x80f5df(_0x233178=>getAttribute(_0x233178,'data-id')==_0x3509aa['id'],_0x5f4191['documentContextContent'],!0x0);_0x563bbe['children']['push'](_0x2c0907['cloneNode'](!0x0));}if(0x0==_0x563bbe['children']['length']){if(_0x20d875['changes'][0x0]['anchorId']){const _0x3dc7f1=findByAttribute('data-id',_0x20d875['changes'][0x0]['anchorId'],_0x5f4191['documentContextContent']);_0x563bbe['children']['unshift'](_0x3dc7f1['cloneNode'](!0x0)),_0x5b21fe['children']['unshift'](_0x3dc7f1['cloneNode'](!0x0)),_0x3dc7f1['nextSibling']&&(_0x563bbe['children']['push'](_0x3dc7f1['nextSibling']['cloneNode'](!0x0)),_0x5b21fe['children']['push'](_0x3dc7f1['nextSibling']['cloneNode'](!0x0)));}else{const _0x4bd2a0=_0x5f4191['documentContextContent']['children'][0x0];if(!_0x4bd2a0)return null;_0x563bbe['children']['push'](_0x4bd2a0['cloneNode'](!0x0)),_0x5b21fe['children']['push'](_0x4bd2a0['cloneNode'](!0x0));}}const _0x130f2b=_0x4d3348['getDocumentContext'](),_0x441ccc=_0x35ae72['data']['parse'](_0x130f2b['content']),_0x1ec406=_0x405168(_0x563bbe),_0x54ff86=_0x35ae72['data']['parse'](_0x1ec406),_0x1b9dba=_0x35ae72['data']['parse'](_0x1ec406),_0x11779e=_0x35ae72['model']['createPositionAt'](_0x54ff86,0x0),_0x23c5e0=_0x405168(_0x5b21fe),_0x2c3b71={'anchor':_0x11779e,'markDeletions':!0x1},_0x28ded8=_0x35ae72['plugins']['get'](DocumentCompare)['getDiff'](_0x1ec406,_0x23c5e0,_0x2c3b71)['getOperations']();if(!_0x28ded8['length'])return null;_0x35ae72['model']['change'](_0x1c0ca3=>{for(const _0x5db106 of _0x28ded8)if('remove'==_0x5db106['type']){const _0x4b587b=_0x5db106['sourcePosition'],_0x2a658e=_0x5db106['howMany'],_0x5e381b=new ckeditor5['_DetachOperation'](_0x4b587b,_0x2a658e);_0x1c0ca3['batch']['addOperation'](_0x5e381b),_0x35ae72['model']['applyOperation'](_0x5e381b);}else'marker'!==_0x5db106['type']&&(_0x5db106['baseVersion']=null,_0x5db106['isDocumentOperation']=!0x1,_0x1c0ca3['batch']['addOperation'](_0x5db106),_0x35ae72['model']['applyOperation'](_0x5db106));});const _0xadb298=getMinimalSelection(_0x35ae72,_0x28ded8,_0x54ff86);expandSelectionWithContext(_0x35ae72['model'],_0xadb298);const _0x116c20=_0xadb298['getFirstRange']()['start']['path']['slice'](),_0x357163=_0xadb298['getFirstRange']()['end']['path']['slice'](),_0x4f2903=[];let _0x17860d=_0x54ff86,_0x4a7602=_0x1b9dba;for(let _0x3886c6=0x0;_0x3886c6<_0x357163['length'];_0x3886c6++){const _0x580924=_0x17860d['maxOffset']-_0x357163[_0x3886c6];_0x4f2903[_0x3886c6]=_0x4a7602['maxOffset']-_0x580924,_0x17860d=_0x17860d['getChildAtOffset'](_0x357163[_0x3886c6]),_0x4a7602=_0x4a7602['getChildAtOffset'](_0x4f2903[_0x3886c6]);}const _0x30bbb8=_0x35ae72['model']['createRange'](_0x35ae72['model']['createPositionFromPath'](_0x1b9dba,_0x116c20),_0x35ae72['model']['createPositionFromPath'](_0x1b9dba,_0x4f2903)),_0x1deded=_0x1b9dba['getChild'](0x0)['getAttribute'](_0x33098c),_0x2f79e9=Array['from'](_0x441ccc['getChildren']())['find'](_0x5b4012=>_0x5b4012['getAttribute'](_0x33098c)==_0x1deded)['getPath'](),_0x1e304a=_0x30bbb8['start']['path']['slice'](),_0x5d4b33=_0x30bbb8['end']['path']['slice']();_0x1e304a[0x0]=_0x2f79e9[0x0]+_0x1e304a[0x0],_0x5d4b33[0x0]=_0x2f79e9[0x0]+_0x5d4b33[0x0];let _0x4da1e5=_0x35ae72['model']['createRange'](_0x35ae72['model']['createPositionFromPath'](_0x35ae72['model']['document']['getRoot'](),_0x1e304a),_0x35ae72['model']['createPositionFromPath'](_0x35ae72['model']['document']['getRoot'](),_0x5d4b33));const _0x5b549d=_0x35ae72['model']['document']['history']['getOperations'](_0x130f2b['version']);for(const _0x1a20af of _0x5b549d)_0x4da1e5=ckeditor5['ModelRange']['_createFromRanges'](_0x4da1e5['getTransformedByOperation'](_0x1a20af));return{'range':_0x4da1e5,'currentIndex':_0x206c14};}['_integrateEditor'](_0x27777f){if(_0x27777f['plugins']['has']('Undo')){const _0x33bff4=_0x27777f['commands']['get']('undo'),_0x3a78b9=_0x27777f['commands']['get']('redo');this['listenTo'](_0x33bff4,'revert',(_0x5e6c01,_0x40620f,_0x8b5f44)=>{const _0x2ba69a=this['_batchToChanges']['get'](_0x40620f);if(!_0x2ba69a)return;const _0x2b1ef7=this['activeConversation']['getInteraction'](_0x2ba69a['interactionId'])['getReply'](_0x2ba69a['replyId']);_0x2ba69a['indexes']['forEach'](_0x306a59=>_0x2b1ef7['setChangeGroupState'](_0x306a59,'pending')),this['_batchToChanges']['delete'](_0x40620f),this['_batchToChanges']['set'](_0x8b5f44,_0x2ba69a);}),this['listenTo'](_0x3a78b9,'revert',(_0x58147e,_0x36ae7a,_0x43502a)=>{const _0x322dde=this['_batchToChanges']['get'](_0x36ae7a);if(!_0x322dde)return;const _0x18e46b=this['activeConversation']['getInteraction'](_0x322dde['interactionId'])['getReply'](_0x322dde['replyId']);_0x322dde['indexes']['forEach'](_0x6b8b86=>_0x18e46b['setChangeGroupState'](_0x6b8b86,'accepted')),this['_batchToChanges']['delete'](_0x36ae7a),this['_batchToChanges']['set'](_0x43502a,_0x322dde);});}const _0x2f8e40=_0x27777f['config']['get']('ai.chat.context');_0x2f8e40['alwaysAddSelection']&&_0x2f8e40['document']['enabled']&&this['listenTo'](_0x27777f['model']['document']['selection'],'change:range',(_0x5ab815,_0x49eb5f)=>{if(!_0x49eb5f['directChange'])return;'chat'===_0x27777f['plugins']['get']('AITabs')['view']['activeTab']&&(_0x27777f['model']['hasContent'](_0x27777f['model']['document']['selection'])?this['addSelectionToChatContext']():this['removeSelectionFromChatContext']());});}async['_getLastCreatedConversationId'](){const _0x403571=this['_aiConnector']['fetchConversations'](this['getGroupId'](),{'limit':0x1,'sortBy':'createdAt'});try{const _0x3366c3=await _0x403571['getConversations']();return _0x3366c3['length']?_0x3366c3[0x0]['id']:'new';}catch(_0x44fa6b){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':_0x44fa6b})),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1),this['_aiChatUi']['disableControls'](),null;}}async['_startConversationSafely'](_0x377c10){try{this['_aiChatUi']['enableControls'](),await this['_handleStartConversation'](_0x377c10);}catch(_0x5f4e4f){this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x377c10||ckeditor5['uid']()}),console['error'](_0x5f4e4f),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}async['_handleStartConversation'](_0x302b51){let _0x276328;this['context']['plugins']['has']('AIChatBalloon')&&this['context']['plugins']['get']('AIChatBalloon')['close'](),_0x302b51||!this['activeConversation']?_0x276328=this['context']['config']['get']('ai.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0x276328=this['activeConversation']['selectedModel']['id']),await this['_stopLastInteraction']();const _0x24b61b=this['getGroupId'](),_0x27a3af=_0x302b51||ckeditor5['uid']();this['activeConversation']=new AIChatConversation({'connector':this['_aiConnector'],'chatModels':this['_aiChatModels'],'selectedModelId':_0x276328,'conversationId':_0x27a3af,'group':_0x24b61b,'getEditor':()=>getEditorFromContext(this['context']),'isFromHistory':!!_0x302b51}),this['activeConversation']['delegate']('toolDataReceived','interactionCreated','interactionStarted','replyCreated')['to'](this),this['activeConversation']['on']('conversationInitialized',(_0xe0d3a3,_0x263127)=>{this['_aiChatUi']['createConversation'](_0x263127),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0x302b51||(this['_aiChatUi']['resetConversationTitle'](),this['addCurrentDocumentToChatContext']());}),this['activeConversation']['on']('uploadProgressChanged',(_0xc25576,_0x841788)=>{this['_aiChatUi']['setIsUploadInProgress'](_0x841788['isUploadInProgress']);}),this['activeConversation']['on']('webSearchStarted',()=>{const _0x5728da=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this['_aiChatUi']['setLoadingMessage'](_0x5728da);}),this['activeConversation']['on']('reasoningStarted',()=>{const _0x1ba1d7=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this['_aiChatUi']['setLoadingMessage'](_0x1ba1d7);}),this['activeConversation']['on']('webSearchFinished',(_0x483abf,_0x15ecdf)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x15ecdf,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['activeConversation']['on']('reasoningFinished',(_0x449565,_0xcd7167)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0xcd7167,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['activeConversation']['on']('interactionStarted',()=>{this['_aiChatUi']['startInteraction']();}),this['activeConversation']['on']('interactionFinished',async()=>{await this['_aiChatUi']['finishInteraction']();}),this['activeConversation']['on']('interactionDestroyed',(_0x188ce4,_0x3d55bc)=>{this['_aiChatUi']['removeFeedInteraction'](_0x3d55bc['id']);}),this['activeConversation']['on']('setConversationTitle',(_0x28e951,_0x43c8d9,_0x28dfa2)=>{this['_updateConversationTitle'](_0x43c8d9,_0x28dfa2);}),this['activeConversation']['on']('replyContentUpdated',async(_0x4ae6d5,_0x5d0085)=>{await this['_updateReplyContent']({'reply':_0x5d0085});}),this['activeConversation']['on']('replyChangeGroupStateUpdated',(_0x2c234f,{reply:_0x1352ea,index:_0x84220,state:_0xa434c2})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0x1352ea['id'],'index':_0x84220,'state':_0xa434c2}),this['_currentPreviewedChangeGroup']?.['replyId']['includes'](_0x1352ea['id'])&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x84220&&this['_aiChatBalloon']?.['setState'](_0xa434c2);}),this['activeConversation']['on']('contextItemAdded',(_0x1905a4,_0x6e4390)=>{if(this['_aiChatUi']['addContextItem'](_0x6e4390['contextItem'],_0x6e4390['isLoading']),'selection'===_0x6e4390['contextItem']['type']){const _0x37f844=[...getEditorFromContext(this['context'])['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection']({'ranges':_0x37f844,'id':'context','priority':0x1});}}),this['activeConversation']['on']('contextItemRemoved',(_0x1a8fa5,_0x1dc563)=>{this['_aiChatUi']['removeContextItem'](_0x1dc563['uiId']),'current-document'==_0x1dc563['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0x1dc563['type']&&this['_aiEditing']['hideFakeVisualSelection']('context');}),this['activeConversation']['on']('contextItemLoadingEnded',(_0x2fb13f,_0x5b5761)=>{this['_aiChatUi']['setContextItemLoading'](_0x5b5761['contextItem']['uiId'],_0x5b5761['isLoading']);}),this['activeConversation']['on']('contextSent',(_0x3a859c,_0x328e59)=>{this['_aiChatUi']['setConversationContext'](_0x328e59['contextItems']);}),this['activeConversation']['on']('addContextOptionsChanged',(_0x111a06,_0x1c4283)=>{this['_aiChatUi']['setAddContextOptions'](_0x1c4283['options']);}),this['activeConversation']['on']('sourceResourcesLoaded',(_0x900299,_0x2336e5)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x2336e5['sourceId'],_0x2336e5['source'],_0x2336e5['resources'],_0x2336e5['uid']);}),this['activeConversation']['on']('resourceStateChanged',(_0x1c469f,_0x2b3c17)=>{this['_aiChatUi']['updateResourceState'](_0x2b3c17['sourceId'],_0x2b3c17['resourceId'],_0x2b3c17['isInContext']);}),this['activeConversation']['on']('capabilitiesUpdated',(_0x21b987,_0x27d6d4)=>{this['_aiChatUi']['updateCapabilities'](_0x27d6d4);}),this['activeConversation']['on']('modelSelected',async(_0x1504f8,_0x39c351)=>{const _0x2d4183=(await this['_aiChatModels']['getAll']())['find'](_0x1cd5c1=>_0x1cd5c1['id']===_0x39c351['selectedModel']?.['id'])||null;this['_aiChatUi']['setSelectedModel'](_0x2d4183,_0x39c351['isDisabled']);}),this['activeConversation']['on']('error',(_0x23a532,{error:_0x11ed8b,interactionId:_0x5aaedf,fileName:_0x269a8a,url:_0x47adc6,sourceId:_0x372fbe,sourceLabel:_0x2f67fb})=>{const _0x1569e9=_0x5aaedf?_0x5aaedf+':'+ckeditor5['uid']():ckeditor5['uid']();_0x11ed8b['message']['startsWith']('ai-request-aborted')?this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x1569e9}):_0x11ed8b['message']['startsWith']('ai-chat-conversation-init-failed')||_0x11ed8b['message']['startsWith']('ai-chat-conversation-start-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x1569e9}),this['_logError'](_0x11ed8b)):_0x11ed8b['message']['startsWith']('ai-chat-file-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x269a8a),'id':_0x1569e9}):_0x11ed8b['message']['startsWith']('ai-chat-url-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0x47adc6),'id':_0x1569e9}):_0x11ed8b['message']['startsWith']('ai-chat-context-invalid-data')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x1569e9}):_0x11ed8b['message']['startsWith']('ai-chat-context-unsupported-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x1569e9}):_0x11ed8b['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x372fbe&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x372fbe),this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0x2f67fb||'source'),'id':_0x1569e9}),this['_logError'](_0x11ed8b)):_0x11ed8b['message']['startsWith']('ai-chat-resource-load-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x1569e9}),this['_logError'](_0x11ed8b)):_0x11ed8b['message']['startsWith']('ai-chat-invalid-request')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_INVALID_REQUEST'),'id':_0x1569e9}),this['_logError'](_0x11ed8b)):_0x11ed8b['message']['startsWith']('ai-chat-context-unsupported-file-type')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE'),'id':_0x1569e9}),this['_logError'](_0x11ed8b)):_0x11ed8b['message']['startsWith']('ai-chat-context-file-too-large')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_LARGE'),'id':_0x1569e9}),this['_logError'](_0x11ed8b)):_0x11ed8b['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':_0x1569e9}),this['_logError'](_0x11ed8b)):_0x11ed8b['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':_0x1569e9}),this['_logError'](_0x11ed8b)):(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x1569e9}),this['_logError'](_0x11ed8b));}),await this['activeConversation']['init'](this['context']['config']['get']('ai.chat.context')),_0x302b51||await this['activeConversation']['start']();}async['_handleUIUserMessage']({message:_0x2f81c9,attributes:_0x2c9570}){if(!this['activeConversation'])throw new ckeditor5['CKEditorError']('ai-chat-controller-no-active-conversation');if(this['activeConversation']['isCurrentDocumentInContext']()){const _0x3f868b=await this['_aiEditing']['getDocumentData']();await this['activeConversation']['updateCurrentDocumentInContext'](_0x3f868b);}this['activeConversation']['id']&&this['activeConversation']['isStarted']&&await this['activeConversation']['handleUserInteraction']({'userMessage':_0x2f81c9,'attributes':_0x2c9570});}['_setIsMaximized'](_0x464481){this['_aiChatUi']['setIsMaximized'](_0x464481);}['_logError'](_0x1b992f){ckeditor5['logError'](_0x1b992f['message']);}['_removeFromContext'](_0x1532f0){this['activeConversation']?.['removeFromContext'](_0x1532f0);}['_toggleWebSearch'](){this['activeConversation']?.['toggleWebSearch']();}['_toggleReasoning'](){this['activeConversation']?.['toggleReasoning']();}['getInteractionAndReplyById'](_0x2d3404){const [_0x484dd5,_0x3b966b]=_0x2d3404['split'](':'),_0x2f2283=this['activeConversation']['getInteraction'](_0x484dd5),_0x5c376f=_0x2f2283['getReply'](_0x3b966b);return{'interaction':_0x2f2283,'reply':_0x5c376f};}['_scrollToSuggestionRange'](_0xae80ee,_0x19fb1d=!0x1){const _0x2e523b=getEditorFromContext(this['context']),_0x3d7462={'target':_0x2e523b['editing']['view']['domConverter']['viewRangeToDom'](_0x2e523b['editing']['mapper']['toViewRange'](_0xae80ee)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x19fb1d};_0x19fb1d&&(_0x3d7462['alignToTop']=!0x0),ckeditor5['scrollViewportToShowTarget'](_0x3d7462);}['_updateConversationTitle'](_0x2c3d78,_0x610e0a=!0x1){this['_aiChatUi']['setConversationTitle'](_0x2c3d78||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x610e0a);}['_addFeedItemReply'](_0x491f0c){'text'===_0x491f0c['type']?this['_aiChatUi']['addFeedItemAIReply'](_0x491f0c):this['_aiChatUi']['addFeedItemAISuggestion'](_0x491f0c);}async['_updateReplyContent']({reply:_0x144c12,renderingStrategy:_0xadaaec}){const {id:_0x430f6a,interactionId:_0x5b8d12,isDone:_0x5b7839,type:_0x54599a,parsedContent:_0x485251}=_0x144c12,_0x405302=_0x5b8d12+':'+_0x430f6a;if('modification'===_0x54599a){const _0x5e3951=_0x144c12['getContentParts']({'showDiff':this['_aiChatUi']['showDiff']});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x405302,'parts':_0x5e3951,'renderingStrategy':_0xadaaec,'isDone':_0x5b7839});}else'text'===_0x54599a&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0x405302,'parsedContent':_0x485251,'renderingStrategy':_0xadaaec,'isDone':_0x5b7839});_0x5b7839&&_0x144c12['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0x405302,_0x144c12['sources']);}async['_stopLastInteraction'](){const _0x2a1e99=this['activeConversation']?.['lastInteraction'];_0x2a1e99&&(_0x2a1e99['stop'](),this['_aiChatUi']['stopInteraction'](_0x2a1e99));}async['_flushLastInteractionUI'](){const _0x359c44=this['activeConversation']?.['lastInteraction'];if(_0x359c44){for await(const _0x172cb3 of _0x359c44['replies'])this['_aiChatUi']['hasFeedItem'](_0x172cb3['id'])||this['_addFeedItemReply'](_0x172cb3),await this['_updateReplyContent']({'reply':_0x172cb3,'renderingStrategy':'static'});}}['_updateRatings'](_0x244554){const _0x10233a={'positiveCount':_0x244554['changeGroups']['filter'](_0x521db3=>'accepted'===_0x521db3['state'])['length'],'totalCount':_0x244554['changeGroups']['length'],'modificationId':_0x244554['id']},_0x3cf69b=this['activeConversation']['getInteraction'](_0x244554['interactionId'])['messageId'];_0x3cf69b&&this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x3cf69b,_0x10233a);}['_getAIChatFeedAPI'](_0x6da15e){const _0x11ff0c=this['_aiChatUi'],_0x3077d1=()=>{_0x6da15e['resetWebSearchState'](),_0x6da15e['resetReasoningState'](),_0x11ff0c['clearLoadingMessage']();},_0x5b1eea=()=>{_0x6da15e['currentReply']&&(_0x6da15e['currentReply']['done'](),_0x6da15e['currentReply']=void 0x0);};return{'insertTextReply':(_0x207b65,_0x5808ce)=>{_0x5b1eea(),_0x3077d1();const _0x3f33be=_0x6da15e['currentReply']=_0x6da15e['createReply']({'type':'text','interactionId':_0x6da15e['id'],'content':_0x207b65,'id':_0x5808ce||ckeditor5['uid']()});return _0x5b1eea(),_0x3f33be;},'insertCustomElement':async(_0xaa5bd1,_0x1f152f)=>(_0x5b1eea(),_0x3077d1(),_0x11ff0c['addFeedItemCustomElement'](_0xaa5bd1,_0x1f152f||ckeditor5['uid']())),'setLoadingMessage':_0x1ea202=>{_0x11ff0c['setLoadingMessage'](_0x1ea202);},'clearLoadingMessage':()=>{_0x11ff0c['clearLoadingMessage']();}};}}const _0x3ef941='ai-selection';class AIEditing extends ckeditor5['ContextPlugin']{constructor(_0x47e375){super(_0x47e375),this['context']['config']['define']('ai.models.showModelSelector',!0x0);}['_outputDataProcessor'];['_fakeSelections']=[];['_sessionId'];static get['pluginName'](){return'AIEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['sessionId'](){if(!this['_sessionId']){const _0x4b0dfe=getEditorFromContext(this['context']),_0x154631=_0x4b0dfe['plugins']['has']('RealTimeCollaborationClient')&&_0x4b0dfe['plugins']['get']('RealTimeCollaborationClient')['sessionId'];this['_sessionId']=_0x154631||ckeditor5['uid']();}return this['_sessionId'];}async['getDocumentData'](){const _0x496ee2=getEditorFromContext(this['context']),_0x5a1a99=_0x496ee2['model'],_0x486cad=_0x496ee2['data']['toView'](_0x5a1a99['document']['getRoot'](),{'convertAiChatSelectionMarker':!0x0}),_0x1b657b=new ckeditor5['ViewDowncastWriter'](_0x496ee2['editing']['view']['document']);this['_setDataIdsOnChildren'](_0x486cad,_0x1b657b);let _0x326371=await this['_getDocumentDataStringFromView'](_0x486cad);const _0x290d52=this['_getMarkersInDocumentOrder'](),_0x2d38b6=[];for(const _0x30331a of _0x290d52){const _0x5545a5='<'+_0x30331a['name']+':start></'+_0x30331a['name']+':start>',_0x462b6f=_0x326371['indexOf'](_0x5545a5);_0x326371=_0x326371['substring'](0x0,_0x462b6f)+_0x326371['substring'](_0x462b6f+_0x5545a5['length']);const _0x312cd5='<'+_0x30331a['name']+':end></'+_0x30331a['name']+':end>',_0x325549=_0x326371['indexOf'](_0x312cd5);_0x326371=_0x326371['substring'](0x0,_0x325549)+_0x326371['substring'](_0x325549+_0x312cd5['length']),_0x2d38b6['push']({'markerName':_0x30331a['name'],'start':_0x462b6f,'end':_0x325549,'htmlFragment':_0x326371['substring'](_0x462b6f,_0x325549)});}return{'content':_0x326371,'version':_0x496ee2['model']['document']['version'],'sessionId':this['sessionId'],'selections':_0x2d38b6};}async['afterInit'](){this['context']instanceof ckeditor5['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x36125f,_0x45a1d0)=>{_0x45a1d0['on']('ready',()=>{this['_integrateEditor'](_0x45a1d0);});});}['_setOutputDataProcessor'](_0x58212a){this['_outputDataProcessor']=_0x58212a;}async['_getDocumentDataStringFromView'](_0x58ec3f){let _0x4edcb2;const _0x4ee6a7=getEditorFromContext(this['context']);if(this['_outputDataProcessor']){const _0x684b8c=_0x4ee6a7['data']['processor']['domConverter']['viewToDom'](_0x58ec3f),_0x423c2b=await this['_outputDataProcessor'](_0x684b8c);_0x4edcb2=_0x4ee6a7['data']['processor']['htmlWriter']['getHtml'](_0x423c2b);}else _0x4edcb2=_0x4ee6a7['data']['processor']['toData'](_0x58ec3f);return _0x4edcb2;}['_integrateEditor'](_0x9f9366){_0x9f9366['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x3ef941,'view':({markerName:_0x576340})=>({'classes':['ck-ai-assistant-ui_theme','ck-fake-ai-selection','ck-fake-ai-selection-'+_0x576340['split'](':')[0x1]],'priority':0xc})}),_0x9f9366['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x3ef941,'view':(_0x3b6698,{writer:_0x574883,options:_0x2fd640})=>_0x2fd640['convertAiChatSelectionMarker']?_0x574883['createUIElement'](_0x3b6698['markerName']+':'+(_0x3b6698['isOpening']?'start':'end')):null});}['showFakeVisualSelection'](_0x16be73){const _0x4b154a=this['_fakeSelections'][0x0]||null;this['_addFakeSelection'](_0x16be73);const _0x6b65a4=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0x4b154a,_0x6b65a4);}['hideFakeVisualSelection'](_0x2aa8d3){const _0x18a193=this['_fakeSelections'][0x0]||null;this['_removeFakeSelectionById'](_0x2aa8d3);const _0x3213d9=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0x18a193,_0x3213d9);}async['modelToDataWithIds'](_0x277289){const _0x5d977e=getEditorFromContext(this['context']),_0x40aebb=_0x5d977e['data']['toView'](_0x277289),_0x3649a8=new ckeditor5['ViewDowncastWriter'](_0x5d977e['editing']['view']['document']);return this['_setDataIdsOnChildren'](_0x40aebb,_0x3649a8),this['_getDocumentDataStringFromView'](_0x40aebb);}['_setDataIdsOnChildren'](_0x247e23,_0x46b339){let _0x4bc4a6=!0x1;const _0xff71d9=new Set();for(const _0x899b86 of _0x247e23['getChildren']()){if(!_0x899b86['is']('view:element'))continue;const _0x4f3922=_0x899b86['is']('view:containerElement'),_0x25c5fe=_0x899b86['is']('view:emptyElement'),_0x69f2ca=this['_setDataIdsOnChildren'](_0x899b86,_0x46b339);if(_0x899b86['hasAttribute']('data-id')){_0x4bc4a6=!0x0,_0xff71d9['add'](_0x899b86['getAttribute']('data-id'));continue;}(_0x4f3922||_0x25c5fe||_0x69f2ca)&&(_0x46b339['setAttribute']('data-id',this['_nextDataId'](_0xff71d9),_0x899b86),_0x4bc4a6=!0x0);}return _0x4bc4a6;}['_nextDataId'](_0xe2190d){let _0xe9ae60;do{_0xe9ae60='';for(let _0x32ba1c=0x0;_0x32ba1c<0x4;_0x32ba1c++)_0xe9ae60+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0xe2190d['has'](_0xe9ae60));return _0xe2190d['add'](_0xe9ae60),_0xe9ae60;}['getSelectionText'](){const {model:_0x17c5ec}=getEditorFromContext(this['context']),_0x506690=_0x17c5ec['document']['selection'],_0xaeb980=[],_0x459727=Array['from'](_0x506690['getRanges']());_0x459727['sort']((_0x496964,_0x38e1ab)=>_0x496964['start']['isBefore'](_0x38e1ab['start'])?-0x1:0x1);for(const _0x7a7d3a of _0x459727)for(const _0x3b3620 of _0x7a7d3a['getItems']())_0x3b3620['is']('$textProxy')?_0xaeb980['push'](_0x3b3620['data']):_0x3b3620['is']('element')&&_0xaeb980['length']>0x0&&'\x20'!==_0xaeb980[_0xaeb980['length']-0x1]&&_0xaeb980['push']('\x20');return _0xaeb980['length']?'\x22'+_0xaeb980['join']('')['trim']()+'\x22':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL');}['_removeFakeSelectionById'](_0x55890f){for(let _0x3977bb=0x0;_0x3977bb<this['_fakeSelections']['length'];_0x3977bb++)if(this['_fakeSelections'][_0x3977bb]['id']==_0x55890f)return void this['_fakeSelections']['splice'](_0x3977bb,0x1);}['_addFakeSelection'](_0x1b5c0f){this['_removeFakeSelectionById'](_0x1b5c0f['id']),ckeditor5['insertToPriorityArray'](this['_fakeSelections'],_0x1b5c0f);}['_refreshFakeSelection'](_0x4d3220,_0x2e4998){if(_0x4d3220==_0x2e4998)return;const _0x49bac7=getEditorFromContext(this['context']),_0xfaeef5=_0x49bac7['model'];_0xfaeef5['change'](_0x2b374d=>{if(_0x4d3220){const _0x2a076b=_0x49bac7['model']['markers']['getMarkersGroup'](_0x3ef941);for(const _0x39e3b9 of _0x2a076b)_0x2b374d['removeMarker'](_0x39e3b9);}if(_0x2e4998)for(let _0x2ccd01=0x0;_0x2ccd01<_0x2e4998['ranges']['length'];_0x2ccd01++){let _0x4e75ae=_0x2e4998['ranges'][_0x2ccd01];const _0x4aa25d=_0x3ef941+':'+_0x2e4998['id']+':'+_0x2ccd01;if(_0x4e75ae['start']['isAtEnd']){const _0x93ed29=_0x4e75ae['start']['getLastMatchingPosition'](({item:_0x44a134})=>!_0xfaeef5['schema']['isContent'](_0x44a134),{'boundaries':_0x4e75ae});_0x4e75ae=_0x2b374d['createRange'](_0x93ed29,_0x4e75ae['end']);}_0x2b374d['addMarker'](_0x4aa25d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4e75ae});}});}['_getMarkersInDocumentOrder'](){const _0x379152=getEditorFromContext(this['context'])['model'];return Array['from'](_0x379152['markers']['getMarkersGroup'](_0x3ef941))['sort']((_0x4dffe0,_0x338564)=>_0x4dffe0['getStart']()['isBefore'](_0x338564['getStart']())?-0x1:_0x4dffe0['getStart']()['isAfter'](_0x338564['getStart']())?0x1:0x0);}}const _0xa8480f=['showChangeInText','insertSuggestion','applySuggestion','rejectSuggestion','mouseOverSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','like','dislike'],_0x2ce1ed=[..._0xa8480f,'startConversation','resizeTabs','sendUserMessage','abortPromptStream','addDocumentToContext','addFileToContext','addUrlToContext','executeCustomItemCallback','addResourceToContext','removeContextItem','loadSourceResources','toggleWebSearch','toggleReasoning','selectModel'];var _0x518e3e=0xb,_0x1ed7ce;function morphAttrs(_0x3a41af,_0x56b962){var _0x468dee,_0x399f5e,_0x241c7a,_0x58511f,_0x3c0783=_0x56b962['attributes'];if(_0x56b962['nodeType']!==_0x518e3e&&_0x3a41af['nodeType']!==_0x518e3e){for(var _0xf6a240=_0x3c0783['length']-0x1;_0xf6a240>=0x0;_0xf6a240--)_0x399f5e=(_0x468dee=_0x3c0783[_0xf6a240])['name'],_0x241c7a=_0x468dee['namespaceURI'],_0x58511f=_0x468dee['value'],_0x241c7a?(_0x399f5e=_0x468dee['localName']||_0x399f5e,_0x3a41af['getAttributeNS'](_0x241c7a,_0x399f5e)!==_0x58511f&&('xmlns'===_0x468dee['prefix']&&(_0x399f5e=_0x468dee['name']),_0x3a41af['setAttributeNS'](_0x241c7a,_0x399f5e,_0x58511f))):_0x3a41af['getAttribute'](_0x399f5e)!==_0x58511f&&_0x3a41af['setAttribute'](_0x399f5e,_0x58511f);for(var _0x498e5f=_0x3a41af['attributes'],_0x62c80=_0x498e5f['length']-0x1;_0x62c80>=0x0;_0x62c80--)_0x399f5e=(_0x468dee=_0x498e5f[_0x62c80])['name'],(_0x241c7a=_0x468dee['namespaceURI'])?(_0x399f5e=_0x468dee['localName']||_0x399f5e,_0x56b962['hasAttributeNS'](_0x241c7a,_0x399f5e)||_0x3a41af['removeAttributeNS'](_0x241c7a,_0x399f5e)):_0x56b962['hasAttribute'](_0x399f5e)||_0x3a41af['removeAttribute'](_0x399f5e);}}var _0xa626aa='http://www.w3.org/1999/xhtml',_0x2f3417='undefined'==typeof document?void 0x0:document,_0x3f82bb=!!_0x2f3417&&'content'in _0x2f3417['createElement']('template'),_0x4b5a7f=!!_0x2f3417&&_0x2f3417['createRange']&&'createContextualFragment'in _0x2f3417['createRange']();function createFragmentFromTemplate(_0x100290){var _0x5a38e8=_0x2f3417['createElement']('template');return _0x5a38e8['innerHTML']=_0x100290,_0x5a38e8['content']['childNodes'][0x0];}function createFragmentFromRange(_0x3e241e){return _0x1ed7ce||(_0x1ed7ce=_0x2f3417['createRange']())['selectNode'](_0x2f3417['body']),_0x1ed7ce['createContextualFragment'](_0x3e241e)['childNodes'][0x0];}function createFragmentFromWrap(_0x4fb8d4){var _0x8b6fad=_0x2f3417['createElement']('body');return _0x8b6fad['innerHTML']=_0x4fb8d4,_0x8b6fad['childNodes'][0x0];}function toElement(_0xc3f562){return _0xc3f562=_0xc3f562['trim'](),_0x3f82bb?createFragmentFromTemplate(_0xc3f562):_0x4b5a7f?createFragmentFromRange(_0xc3f562):createFragmentFromWrap(_0xc3f562);}function _0xcc20b1(_0x5b7a20,_0x7200c5){var _0x2e9a77,_0x363c52,_0xaff06d=_0x5b7a20['nodeName'],_0xa5c204=_0x7200c5['nodeName'];return _0xaff06d===_0xa5c204||(_0x2e9a77=_0xaff06d['charCodeAt'](0x0),_0x363c52=_0xa5c204['charCodeAt'](0x0),_0x2e9a77<=0x5a&&_0x363c52>=0x61?_0xaff06d===_0xa5c204['toUpperCase']():_0x363c52<=0x5a&&_0x2e9a77>=0x61&&_0xa5c204===_0xaff06d['toUpperCase']());}function createElementNS(_0x27fd96,_0x2ee65f){return _0x2ee65f&&_0x2ee65f!==_0xa626aa?_0x2f3417['createElementNS'](_0x2ee65f,_0x27fd96):_0x2f3417['createElement'](_0x27fd96);}function _0x388b39(_0x594981,_0x581094){for(var _0x47ddbd=_0x594981['firstChild'];_0x47ddbd;){var _0xcbd48a=_0x47ddbd['nextSibling'];_0x581094['appendChild'](_0x47ddbd),_0x47ddbd=_0xcbd48a;}return _0x581094;}function syncBooleanAttrProp(_0x2e2fb5,_0x416f0e,_0x115ffd){_0x2e2fb5[_0x115ffd]!==_0x416f0e[_0x115ffd]&&(_0x2e2fb5[_0x115ffd]=_0x416f0e[_0x115ffd],_0x2e2fb5[_0x115ffd]?_0x2e2fb5['setAttribute'](_0x115ffd,''):_0x2e2fb5['removeAttribute'](_0x115ffd));}var _0x34d295={'OPTION':function(_0x1f1573,_0x243289){var _0x2a8ede=_0x1f1573['parentNode'];if(_0x2a8ede){var _0x46022b=_0x2a8ede['nodeName']['toUpperCase']();'OPTGROUP'===_0x46022b&&(_0x46022b=(_0x2a8ede=_0x2a8ede['parentNode'])&&_0x2a8ede['nodeName']['toUpperCase']()),'SELECT'!==_0x46022b||_0x2a8ede['hasAttribute']('multiple')||(_0x1f1573['hasAttribute']('selected')&&!_0x243289['selected']&&(_0x1f1573['setAttribute']('selected','selected'),_0x1f1573['removeAttribute']('selected')),_0x2a8ede['selectedIndex']=-0x1);}syncBooleanAttrProp(_0x1f1573,_0x243289,'selected');},'INPUT':function(_0x45c9d8,_0x49d02d){syncBooleanAttrProp(_0x45c9d8,_0x49d02d,'checked'),syncBooleanAttrProp(_0x45c9d8,_0x49d02d,'disabled'),_0x45c9d8['value']!==_0x49d02d['value']&&(_0x45c9d8['value']=_0x49d02d['value']),_0x49d02d['hasAttribute']('value')||_0x45c9d8['removeAttribute']('value');},'TEXTAREA':function(_0x5c01b4,_0x48e2cc){var _0x25a2e5=_0x48e2cc['value'];_0x5c01b4['value']!==_0x25a2e5&&(_0x5c01b4['value']=_0x25a2e5);var _0x4f3361=_0x5c01b4['firstChild'];if(_0x4f3361){var _0x358898=_0x4f3361['nodeValue'];if(_0x358898==_0x25a2e5||!_0x25a2e5&&_0x358898==_0x5c01b4['placeholder'])return;_0x4f3361['nodeValue']=_0x25a2e5;}},'SELECT':function(_0x111b61,_0x191f37){if(!_0x191f37['hasAttribute']('multiple')){for(var _0x1005c1,_0x4fb4f5,_0x3f6041=-0x1,_0x1cd9dc=0x0,_0x38fb28=_0x111b61['firstChild'];_0x38fb28;)if('OPTGROUP'===(_0x4fb4f5=_0x38fb28['nodeName']&&_0x38fb28['nodeName']['toUpperCase']()))(_0x38fb28=(_0x1005c1=_0x38fb28)['firstChild'])||(_0x38fb28=_0x1005c1['nextSibling'],_0x1005c1=null);else{if('OPTION'===_0x4fb4f5){if(_0x38fb28['hasAttribute']('selected')){_0x3f6041=_0x1cd9dc;break;}_0x1cd9dc++;}!(_0x38fb28=_0x38fb28['nextSibling'])&&_0x1005c1&&(_0x38fb28=_0x1005c1['nextSibling'],_0x1005c1=null);}_0x111b61['selectedIndex']=_0x3f6041;}}},_0x3bbaa8=0x1,_0xe73890=0xb,_0x39a2d1=0x3,_0x3a3cc3=0x8;function _0x28a668(){}function defaultGetNodeKey(_0x58d622){if(_0x58d622)return _0x58d622['getAttribute']&&_0x58d622['getAttribute']('id')||_0x58d622['id'];}function morphdomFactory(_0x238abe){return function(_0x49db6d,_0x363710,_0x5b7e51){if(_0x5b7e51||(_0x5b7e51={}),'string'==typeof _0x363710){if('#document'===_0x49db6d['nodeName']||'HTML'===_0x49db6d['nodeName']||'BODY'===_0x49db6d['nodeName']){var _0x40c440=_0x363710;(_0x363710=_0x2f3417['createElement']('html'))['innerHTML']=_0x40c440;}else _0x363710=toElement(_0x363710);}else _0x363710['nodeType']===_0xe73890&&(_0x363710=_0x363710['firstElementChild']);var _0x19bddc=_0x5b7e51['getNodeKey']||defaultGetNodeKey,_0x3d432b=_0x5b7e51['onBeforeNodeAdded']||_0x28a668,_0x4190fb=_0x5b7e51['onNodeAdded']||_0x28a668,_0xa148db=_0x5b7e51['onBeforeElUpdated']||_0x28a668,_0x5a467c=_0x5b7e51['onElUpdated']||_0x28a668,_0x518762=_0x5b7e51['onBeforeNodeDiscarded']||_0x28a668,_0x48ecc0=_0x5b7e51['onNodeDiscarded']||_0x28a668,_0x570b1e=_0x5b7e51['onBeforeElChildrenUpdated']||_0x28a668,_0xa1699b=_0x5b7e51['skipFromChildren']||_0x28a668,_0x5104be=_0x5b7e51['addChild']||function(_0x488c2b,_0x10f3b9){return _0x488c2b['appendChild'](_0x10f3b9);},_0x567a70=!0x0===_0x5b7e51['childrenOnly'],_0x3669cd=Object['create'](null),_0x54abb9=[];function _0x332ad8(_0xc71320){_0x54abb9['push'](_0xc71320);}function _0xb0cc93(_0x2baa71,_0x44f252){if(_0x2baa71['nodeType']===_0x3bbaa8)for(var _0x5c5cf2=_0x2baa71['firstChild'];_0x5c5cf2;){var _0xa1d568=void 0x0;_0x44f252&&(_0xa1d568=_0x19bddc(_0x5c5cf2))?_0x332ad8(_0xa1d568):(_0x48ecc0(_0x5c5cf2),_0x5c5cf2['firstChild']&&_0xb0cc93(_0x5c5cf2,_0x44f252)),_0x5c5cf2=_0x5c5cf2['nextSibling'];}}function _0x3ec423(_0x374d5a,_0x141f16,_0x47f591){!0x1!==_0x518762(_0x374d5a)&&(_0x141f16&&_0x141f16['removeChild'](_0x374d5a),_0x48ecc0(_0x374d5a),_0xb0cc93(_0x374d5a,_0x47f591));}function _0x13bf2c(_0x1095c6){if(_0x1095c6['nodeType']===_0x3bbaa8||_0x1095c6['nodeType']===_0xe73890)for(var _0x41fdd8=_0x1095c6['firstChild'];_0x41fdd8;){var _0x11fce6=_0x19bddc(_0x41fdd8);_0x11fce6&&(_0x3669cd[_0x11fce6]=_0x41fdd8),_0x13bf2c(_0x41fdd8),_0x41fdd8=_0x41fdd8['nextSibling'];}}function _0x5b23f8(_0x249cc9){_0x4190fb(_0x249cc9);for(var _0x946cbf=_0x249cc9['firstChild'];_0x946cbf;){var _0x7922f4=_0x946cbf['nextSibling'],_0x1bb795=_0x19bddc(_0x946cbf);if(_0x1bb795){var _0x4a65a1=_0x3669cd[_0x1bb795];_0x4a65a1&&_0xcc20b1(_0x946cbf,_0x4a65a1)?(_0x946cbf['parentNode']['replaceChild'](_0x4a65a1,_0x946cbf),_0x46f750(_0x4a65a1,_0x946cbf)):_0x5b23f8(_0x946cbf);}else _0x5b23f8(_0x946cbf);_0x946cbf=_0x7922f4;}}function _0x46f750(_0x341dfc,_0x461413,_0x2be444){var _0x2c17f9=_0x19bddc(_0x461413);if(_0x2c17f9&&delete _0x3669cd[_0x2c17f9],!_0x2be444){var _0x5e06da=_0xa148db(_0x341dfc,_0x461413);if(!0x1===_0x5e06da)return;if(_0x5e06da instanceof HTMLElement&&_0x13bf2c(_0x341dfc=_0x5e06da),_0x238abe(_0x341dfc,_0x461413),_0x5a467c(_0x341dfc),!0x1===_0x570b1e(_0x341dfc,_0x461413))return;}'TEXTAREA'!==_0x341dfc['nodeName']?function(_0x45b1ee,_0x17b72c){var _0x520409,_0x128a1e,_0x32c933,_0x1e5917,_0x19713a,_0x3b9d6e=_0xa1699b(_0x45b1ee,_0x17b72c),_0x1ba783=_0x17b72c['firstChild'],_0x4c2582=_0x45b1ee['firstChild'];t:for(;_0x1ba783;){for(_0x1e5917=_0x1ba783['nextSibling'],_0x520409=_0x19bddc(_0x1ba783);!_0x3b9d6e&&_0x4c2582;){if(_0x32c933=_0x4c2582['nextSibling'],_0x1ba783['isSameNode']&&_0x1ba783['isSameNode'](_0x4c2582)){_0x1ba783=_0x1e5917,_0x4c2582=_0x32c933;continue t;}_0x128a1e=_0x19bddc(_0x4c2582);var _0x1be289=_0x4c2582['nodeType'],_0x59cd4d=void 0x0;if(_0x1be289===_0x1ba783['nodeType']&&(_0x1be289===_0x3bbaa8?(_0x520409?_0x520409!==_0x128a1e&&((_0x19713a=_0x3669cd[_0x520409])?_0x32c933===_0x19713a?_0x59cd4d=!0x1:(_0x45b1ee['insertBefore'](_0x19713a,_0x4c2582),_0x128a1e?_0x332ad8(_0x128a1e):_0x3ec423(_0x4c2582,_0x45b1ee,!0x0),_0x128a1e=_0x19bddc(_0x4c2582=_0x19713a)):_0x59cd4d=!0x1):_0x128a1e&&(_0x59cd4d=!0x1),(_0x59cd4d=!0x1!==_0x59cd4d&&_0xcc20b1(_0x4c2582,_0x1ba783))&&_0x46f750(_0x4c2582,_0x1ba783)):_0x1be289!==_0x39a2d1&&_0x1be289!=_0x3a3cc3||(_0x59cd4d=!0x0,_0x4c2582['nodeValue']!==_0x1ba783['nodeValue']&&(_0x4c2582['nodeValue']=_0x1ba783['nodeValue']))),_0x59cd4d){_0x1ba783=_0x1e5917,_0x4c2582=_0x32c933;continue t;}_0x128a1e?_0x332ad8(_0x128a1e):_0x3ec423(_0x4c2582,_0x45b1ee,!0x0),_0x4c2582=_0x32c933;}if(_0x520409&&(_0x19713a=_0x3669cd[_0x520409])&&_0xcc20b1(_0x19713a,_0x1ba783))_0x3b9d6e||_0x5104be(_0x45b1ee,_0x19713a),_0x46f750(_0x19713a,_0x1ba783);else{var _0x32762b=_0x3d432b(_0x1ba783);!0x1!==_0x32762b&&(_0x32762b&&(_0x1ba783=_0x32762b),_0x1ba783['actualize']&&(_0x1ba783=_0x1ba783['actualize'](_0x45b1ee['ownerDocument']||_0x2f3417)),_0x5104be(_0x45b1ee,_0x1ba783),_0x5b23f8(_0x1ba783));}_0x1ba783=_0x1e5917,_0x4c2582=_0x32c933;}!function(_0x2f5ef0,_0x5b037d,_0x166619){for(;_0x5b037d;){var _0x319c10=_0x5b037d['nextSibling'];(_0x166619=_0x19bddc(_0x5b037d))?_0x332ad8(_0x166619):_0x3ec423(_0x5b037d,_0x2f5ef0,!0x0),_0x5b037d=_0x319c10;}}(_0x45b1ee,_0x4c2582,_0x128a1e);var _0xd09a77=_0x34d295[_0x45b1ee['nodeName']];_0xd09a77&&_0xd09a77(_0x45b1ee,_0x17b72c);}(_0x341dfc,_0x461413):_0x34d295['TEXTAREA'](_0x341dfc,_0x461413);}_0x13bf2c(_0x49db6d);var _0xc7a12a=_0x49db6d,_0x2d4f9b=_0xc7a12a['nodeType'],_0x5431d9=_0x363710['nodeType'];if(!_0x567a70){if(_0x2d4f9b===_0x3bbaa8)_0x5431d9===_0x3bbaa8?_0xcc20b1(_0x49db6d,_0x363710)||(_0x48ecc0(_0x49db6d),_0xc7a12a=_0x388b39(_0x49db6d,createElementNS(_0x363710['nodeName'],_0x363710['namespaceURI']))):_0xc7a12a=_0x363710;else{if(_0x2d4f9b===_0x39a2d1||_0x2d4f9b===_0x3a3cc3){if(_0x5431d9===_0x2d4f9b)return _0xc7a12a['nodeValue']!==_0x363710['nodeValue']&&(_0xc7a12a['nodeValue']=_0x363710['nodeValue']),_0xc7a12a;_0xc7a12a=_0x363710;}}}if(_0xc7a12a===_0x363710)_0x48ecc0(_0x49db6d);else{if(_0x363710['isSameNode']&&_0x363710['isSameNode'](_0xc7a12a))return;if(_0x46f750(_0xc7a12a,_0x363710,_0x567a70),_0x54abb9)for(var _0x509595=0x0,_0xdf0788=_0x54abb9['length'];_0x509595<_0xdf0788;_0x509595++){var _0x3cfc82=_0x3669cd[_0x54abb9[_0x509595]];_0x3cfc82&&_0x3ec423(_0x3cfc82,_0x3cfc82['parentNode'],!0x1);}}return!_0x567a70&&_0xc7a12a!==_0x49db6d&&_0x49db6d['parentNode']&&(_0xc7a12a['actualize']&&(_0xc7a12a=_0xc7a12a['actualize'](_0x49db6d['ownerDocument']||_0x2f3417)),_0x49db6d['parentNode']['replaceChild'](_0xc7a12a,_0x49db6d)),_0xc7a12a;};}var _0x765358=morphdomFactory(morphAttrs);class HTMLStreamer{['options'];['isStreaming']=!0x1;['document']=null;['nodesList']=[];['currentIndex']=0x0;['timeoutAbortController']=null;['lastUpdateTime']=0x0;constructor(_0x93ad18){this['options']={'delay':_0x93ad18['delay']??0x14,'textNodeStyle':_0x93ad18['textNodeStyle'],'onStreamUpdate':_0x93ad18['onStreamUpdate']||(()=>{})};}async['stream']({document:_0x3d7fd3,targetElement:_0x587356,abortSignal:_0x5bb469}){this['isStreaming']&&this['stop'](),_0x5bb469?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=_0x3c6bb4(_0x3d7fd3,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(this['currentIndex']=this['nodesList']['length']);for(let _0x25c06f=0x0;_0x25c06f<this['currentIndex'];_0x25c06f++)this['nodesList'][_0x25c06f]['shouldBeStreamed']=!0x0;do{const _0x48a6e0=Date['now'](),_0x3ec621=this['nodesList'][this['currentIndex']],_0x200db7=_0x48a6e0-this['lastUpdateTime'];if(_0x3ec621){_0x3ec621['shouldBeStreamed']=!0x0;let _0x192bb7=_0x3ec621['parent'];for(;_0x192bb7;)_0x192bb7['shouldBeStreamed']=!0x0,_0x192bb7=_0x192bb7['parent'];}if(_0x200db7<this['options']['delay'])try{const {promise:_0x1a743a,abortController:_0x4ac035}=createAbortableTimeout(this['options']['delay']-_0x200db7);this['timeoutAbortController']=_0x4ac035,await _0x1a743a;}catch(_0x3008f1){return;}_0x765358(_0x587356,'<'+_0x587356['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0x587356['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:_0x3382a1}){Array['from'](_0x3382a1['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0x53e64a=>{_0x53e64a['replaceWith'](_0x53e64a['childNodes'][0x0]);});}['stop'](){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x48ce84){let _0x588732='';if(isParsedDocumentNode(_0x48ce84)){for(const _0x5d1623 of _0x48ce84['children'])_0x588732+=this['renderNode'](_0x5d1623);}else{if(isParsedElementNode(_0x48ce84)){if(!_0x48ce84['shouldBeStreamed'])return'';const _0x4e3841=_0x48ce84,_0x2e1b73=Object['entries'](_0x4e3841['attribs'])['map'](([_0x44d869,_0x564283])=>_0x44d869+'=\x22'+_0x564283+'\x22')['join']('\x20');_0x588732+='<'+_0x4e3841['tagName']+(_0x2e1b73?'\x20'+_0x2e1b73:'')+'>';for(const _0x572910 of getChildren$1(_0x4e3841))_0x588732+=this['renderNode'](_0x572910);_0x588732+='</'+_0x4e3841['tagName']+'>';}else{if(!isParsedTextNode(_0x48ce84))return'';if(!_0x48ce84['shouldBeStreamed'])return'';_0x489aba(_0x48ce84)?_0x588732+=_0x38467c(new Element$3('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x48ce84])):_0x588732+=_0x38467c(_0x48ce84);}}return _0x588732;}['getParsedDocumentNodeList'](){const _0x55f9f3=[];return traverseParsedDocument(this['document'],_0x174023=>{if(isParsedTextNode(_0x174023)){const _0x3417fa=this['splitTextNodeIntoWordNodes'](_0x174023);_0x3417fa['length']&&_0x55f9f3['push'](..._0x3417fa);}_0x174023['isWordSplitSource']||_0x174023['isWordSplitResult']||_0x55f9f3['push'](_0x174023);}),_0x55f9f3;}['splitTextNodeIntoWordNodes'](_0x1e70e4){if(_0x1e70e4['isWordSplitSource']||_0x1e70e4['isWordSplitResult'])return[];const _0x33c78c=textContent(_0x1e70e4)['match'](/(?:\s*\S+\s*)/g),_0x40a424=[];if(_0x33c78c&&_0x33c78c['length']>0x1){for(const _0x21bb35 of _0x33c78c){const _0x2d71cf=new Text$1(_0x21bb35);_0x2d71cf['isWordSplitResult']=!0x0,_0x320e1a(_0x1e70e4,_0x2d71cf),_0x40a424['push'](_0x2d71cf);}_0x1e70e4['isWordSplitSource']=!0x0,removeElement(_0x1e70e4);}return _0x40a424;}}const _0x5904be=['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(_0x27a986,_0x3ec6e7){const _0x58452f=_0x25637e=>{if(_0x3ec6e7(_0x25637e),_0x25637e instanceof NodeWithChildren)for(let _0x1d396a=0x0;_0x1d396a<_0x25637e['children']['length'];_0x1d396a++){const _0x2d655c=_0x25637e['children'][_0x1d396a];_0x58452f(_0x2d655c);}};for(let _0x5d2edf=0x0;_0x5d2edf<_0x27a986['children']['length'];_0x5d2edf++)_0x58452f(_0x27a986['children'][_0x5d2edf]);}function _0x489aba(_0xa63709){return!(!_0xa63709['parent']||!isParsedElementNode(_0xa63709['parent']))&&(!!_0x5904be['includes'](_0xa63709['parent']['tagName'])&&!textContent(_0xa63709)['match'](/^\s*[<>]\s*$/));}function isParsedTextNode(_0x22be1e){return isText$1(_0x22be1e);}function isParsedElementNode(_0x525898){return _0x1542c6(_0x525898);}function isParsedDocumentNode(_0xff6d29){return isDocument(_0xff6d29);}function createAbortableTimeout(_0x4ea499){const _0x2779=new AbortController();return{'promise':new Promise((_0x1e64e3,_0x265266)=>{const _0x5df037=setTimeout(_0x1e64e3,_0x4ea499);_0x2779['signal']['addEventListener']('abort',()=>{clearTimeout(_0x5df037),_0x265266();});}),'abortController':_0x2779};}class AIChatFeedItemView extends ckeditor5['View']{['options'];['content']='';['htmlStreamer'];['children'];constructor(_0x21517e){super();const _0x218573=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']=_0x21517e,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0x218573['if']('isDone','ck-ai-chat__feed__item_done'),_0x218573['if']('isVisible','ck-hidden',_0xdcc239=>!_0xdcc239),'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'](_0x5741ef=>{_0x5741ef['removeAttribute']('data-id');}),this['isDone']=!0x0;}async['streamIntoElement'](_0x539418,_0x52e1e7,_0x3b577e){await this['htmlStreamer']['stream']({'document':_0x539418,'targetElement':_0x52e1e7,'abortSignal':_0x3b577e});}}class AISuggestionHeaderView extends ckeditor5['View']{['showChangesToggleView'];constructor(_0x3de6f9,_0x578050){super(_0x3de6f9),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new _0x3ca574(_0x3de6f9),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button\x20'+_0x392bdc['TERTIARY'],'label':getTranslation$i(_0x3de6f9,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0x578050['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x2c2a61=>_0x2c2a61?ckeditor5['IconShowChangesOn']:ckeditor5['IconShowChangesOff']),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0x1b9a63=new ckeditor5['IconView']();_0x1b9a63['content']=ckeditor5['IconDocument'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0x578050['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0x1b9a63,{'tag':'span','children':[getTranslation$i(_0x3de6f9,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}}class _0x3ca574 extends ckeditor5['ButtonView']{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}}const _0x3b876c={'accepted':ckeditor5['IconBoxWithCheck'],'rejected':ckeditor5['IconBoxWithCross'],'outdated':ckeditor5['IconBoxWithCross']};class AISuggestionContentPartStateView extends ckeditor5['View']{['stateIconView'];constructor(_0x33b3b7){super(_0x33b3b7);const _0x1b0649=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',_0x1b0649['to']('state',_0x382e11=>'ck-ai-suggestion__content-part-state_'+_0x382e11),_0x1b0649['if']('isVisible','ck-hidden',_0x381b3f=>!_0x381b3f)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-suggestion__content-part-state__label']},'children':[{'text':_0x1b0649['to']('state',_0x288960=>{switch(_0x288960){case'accepted':return getTranslation$i(_0x33b3b7,'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED');case'rejected':return getTranslation$i(_0x33b3b7,'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED');case'outdated':return getTranslation$i(_0x33b3b7,'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED');}})}]},this['stateIconView']]});}['setState'](_0x5743cc){this['state']=_0x5743cc;}}class StateIconView extends ckeditor5['IconView']{constructor(){super(),this['set']('state','accepted'),this['content']=_0x3b876c[this['state']],this['on']('change:state',()=>{this['content']=_0x3b876c[this['state']];});}}class AISuggestionContentPartToolbarView extends ckeditor5['ToolbarView']{['_applyButton'];['_suggestButton'];constructor(_0x462408,_0x5b4ad6,_0x49d7db){super(_0x462408);const _0x1fdf24=Boolean(_0x49d7db);this['set']('isEnabled',!_0x1fdf24),this['set']('isVisible',!0x0),this['class']='ck-ai-suggestion-content-part-toolbar';const _0x5b46ee=[];if(_0x1fdf24){const _0xe66e78=new ckeditor5['ButtonView'](_0x462408);_0xe66e78['set']({'label':getTranslation$i(_0x462408,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'withText':!0x1,'icon':ckeditor5['IconInfo']}),_0xe66e78['extendTemplate']({'attributes':{'data-cke-tooltip-class':'ck-ai-suggestion-content-part-disabled-actions-tooltip'}}),_0x5b46ee['push'](_0xe66e78);}else{_0x5b4ad6['includes']('applySuggestion')&&(this['_applyButton']=new ckeditor5['ButtonView'](_0x462408),this['_applyButton']['set']({'label':getTranslation$i(_0x462408,'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');}),_0x5b46ee['push'](this['_applyButton'])),_0x5b4ad6['includes']('insertSuggestion')&&(this['_suggestButton']=new ckeditor5['ButtonView'](_0x462408),this['_suggestButton']['set']({'label':getTranslation$i(_0x462408,'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');}),_0x5b46ee['push'](this['_suggestButton']));const _0xe915b4=new ckeditor5['ButtonView'](_0x462408);_0xe915b4['set']({'label':getTranslation$i(_0x462408,'AI_SUGGESTION_CONTENT_PART_REJECT'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconBoxWithCross']}),_0xe915b4['bind']('isEnabled')['to'](this),_0xe915b4['on']('execute',()=>{this['fire']('rejectSuggestion');}),_0x5b46ee['push'](_0xe915b4);}this['items']['addMany'](_0x5b46ee);const _0x54c8c2=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':[_0x54c8c2['if']('isVisible','ck-hidden',_0x5c01d9=>!_0x5c01d9)]}});}['setButtonsVisibility']({showApplyButton:_0x1c3c62,showSuggestButton:_0x1e616c}){this['_applyButton']&&(this['_applyButton']['isVisible']=_0x1c3c62),this['_suggestButton']&&(this['_suggestButton']['isVisible']=_0x1e616c);}}class AISuggestionContentPartHeaderView extends ckeditor5['View']{['toolbarView'];['stateView'];['titleLabelView'];['children'];constructor(_0x14dfd7,{part:_0x4870cc,uiIndex:_0x5b2506,availableActions:_0x4d4a15,areActionsDisabled:_0x1758da}){super(_0x14dfd7),this['set']('isEnabled',!0x0),this['set']('state','pending'),this['toolbarView']=new AISuggestionContentPartToolbarView(_0x14dfd7,_0x4d4a15,_0x1758da),this['toolbarView']['on']('rejectSuggestion',()=>{this['fire']('rejectSuggestion',{'index':_0x4870cc['index']});}),this['toolbarView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'index':_0x4870cc['index']});}),this['toolbarView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'index':_0x4870cc['index']});}),this['toolbarView']['bind']('isEnabled')['to'](this),this['stateView']=new AISuggestionContentPartStateView(_0x14dfd7),this['titleLabelView']=new AISuggestionBodyContentPartTitleLabelView(_0x14dfd7,_0x5b2506),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',(_0x65c550,_0x1ebcbe,_0x513a3e,_0x2fce2d)=>{'pending'===_0x2fce2d?this['children']['remove'](this['toolbarView']):this['children']['remove'](this['stateView']),'pending'===_0x513a3e?this['children']['add'](this['toolbarView']):(this['stateView']['setState'](_0x513a3e),this['children']['add'](this['stateView']));});}}class AISuggestionBodyContentPartTitleLabelView extends ckeditor5['View']{constructor(_0x3b285a,_0x4d78b8){super(_0x3b285a),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[getTranslation$i(_0x3b285a,'AI_SUGGESTION_CONTENT_PART_TITLE',_0x4d78b8['toString']())]});}}class AISuggestionStreamableContentView extends ckeditor5['View']{['htmlStreamer'];constructor(_0x37e07d){super(_0x37e07d),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:_0x2e2137,renderingStrategy:_0x50199f,abortSignal:_0x50c12b}){'streaming'===_0x50199f?await this['htmlStreamer']['stream']({'document':_0x2e2137['content'],'targetElement':this['element'],'abortSignal':_0x50c12b}):this['element']['innerHTML']=_0x405168(_0x2e2137['content']);}['clear'](){this['htmlStreamer']['reset'](),this['element']['innerHTML']='';}}class AISuggestionBodyViewContentPartView extends ckeditor5['View']{['_children'];['_headerView'];['_streamableContentView'];constructor(_0x30f660,{part:_0x2f5eef,uiIndex:_0x5d39d3,areActionsDisabled:_0x3971e9,availableActions:_0x3184e7}){super(_0x30f660);const _0xfb2e17=this['bindTemplate'];this['set']('state','pending'),this['set']('isDone',!0x1),this['set']('isVisible',!0x1),this['set']('isActive',!0x1),this['set']('isEnabled',!0x1);const _0x1a2b71=()=>{this['isEnabled']=this['isDone']&&'pending'==this['state']&&!_0x3971e9;};this['on']('change:state',_0x1a2b71),this['on']('change:isDone',_0x1a2b71),_0x1a2b71(),this['_children']=this['createCollection'](),this['_headerView']=new AISuggestionContentPartHeaderView(_0x30f660,{'part':_0x2f5eef,'uiIndex':_0x5d39d3,'availableActions':_0x3184e7,'areActionsDisabled':_0x3971e9}),this['_headerView']['bind']('isEnabled','state')['to'](this),this['_headerView']['delegate'](..._0xa8480f)['to'](this),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x30f660),this['_children']['addMany']([this['_headerView'],this['_streamableContentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0xfb2e17['to']('state',_0x1675ab=>'ck-ai-suggestion__body__content-part_'+_0x1675ab),_0xfb2e17['if']('isEnabled','ck-ai-suggestion__body__content-part_enabled'),_0xfb2e17['if']('isActive','ck-ai-suggestion__body__content-part_active'),_0xfb2e17['if']('isVisible','ck-hidden',_0x4dd1d6=>!_0x4dd1d6)]},'children':this['_children'],'on':{'mouseenter':_0xfb2e17['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x2f5eef['index']});}),'mouseleave':_0xfb2e17['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x2f5eef['index']});}),'click':_0xfb2e17['to'](_0x4df26a=>{const _0x2260d0=_0x4df26a['target'];this['isEnabled']&&!this['_headerView']['toolbarView']['element']['contains'](_0x2260d0)&&this['fire']('showChangeInText',{'index':_0x2f5eef['index']});})}});}async['updateContent']({part:_0x397cd1,renderingStrategy:_0x4794dd,showUnchangedParts:_0x1169b1=!0x1,abortSignal:_0x42d030}){this['partDefinition']=_0x397cd1,this['isVisible']=this['partDefinition']['hasChanges']||_0x1169b1,this['isVisible']&&await this['_streamableContentView']['update']({'part':_0x397cd1,'renderingStrategy':_0x4794dd,'abortSignal':_0x42d030});}['markAsDone'](){this['isDone']=!0x0;}}class _0x5129ef extends ckeditor5['EmitterMixin'](){['queue']=[];['isProcessing']=!0x1;['_abortController'];async['enqueue'](_0x53f6dc){const _0x1dbcc9=this['createTask'](_0x53f6dc);return this['queue']['push'](_0x1dbcc9),this['_processQueue'](),_0x1dbcc9['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(_0x12292f=>{this['once']('_queueEmpty',()=>{_0x12292f();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x35e250=this['queue']['shift']();try{await _0x35e250['callback'](this['_abortController']['signal']),_0x35e250['resolve']();}catch(_0x4ec2eb){_0x35e250['reject'](_0x4ec2eb);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}['createTask'](_0x214eb6){let _0x5d9e4c,_0x5e2631;const _0x3c8354=new Promise((_0x247d99,_0x90e256)=>{_0x5d9e4c=_0x247d99,_0x5e2631=_0x90e256;});return{'callback':_0x214eb6,'resolve':_0x5d9e4c,'reject':_0x5e2631,'completePromise':_0x3c8354};}}class AIChatFeedErrorItemView extends AIChatFeedItemView{constructor(_0x47e86e){super(_0x47e86e),this['extendTemplate']({'attributes':{'class':['ck-ai-notification','warning'===_0x47e86e['level']?'ck-ai-notification_warning':'ck-ai-notification_error']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}['setContent'](_0x2db319){this['element']['innerHTML']=_0x2db319;}}const _0x469b04=['applySuggestion','insertSuggestion'];class AIChatFeedSuggestionItemActionsView extends ckeditor5['View']{['_applyChangesButton'];['_insertSuggestionsButton'];['children'];constructor(_0x15eb2b,_0x202465=[..._0x469b04],_0x23b6d9){super(_0x15eb2b);const _0x4df363=this['bindTemplate'],_0xf2c1ec=Boolean(_0x23b6d9);if(this['set']('isEnabled',!_0xf2c1ec),this['set']('isVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),_0xf2c1ec){const _0x436682=new ckeditor5['ButtonView'](_0x15eb2b);_0x436682['set']({'label':getTranslation$i(_0x15eb2b,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'withText':!0x1,'icon':ckeditor5['IconInfo']}),_0x436682['extendTemplate']({'attributes':{'data-cke-tooltip-class':'ck-ai-suggestion-content-part-disabled-actions-tooltip'}});const _0x1ea6de=new ckeditor5['View'](_0x15eb2b);_0x1ea6de['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__suggestion__actions__info'},'children':[{'tag':'p','children':[getTranslation$i(_0x15eb2b,'AI_SUGGESTION_DISABLED_FEED_MESSAGE'),_0x436682]}]}),this['children']['add'](_0x1ea6de);}else this['_applyChangesButton']=new ckeditor5['ButtonView'](_0x15eb2b),this['_applyChangesButton']['set']({'label':getTranslation$i(_0x15eb2b,'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),'withText':!0x0,'type':'button','isVisible':_0x202465['includes']('applySuggestion'),'class':_0x392bdc['PRIMARY']}),this['_insertSuggestionsButton']=new ckeditor5['ButtonView'](_0x15eb2b),this['_insertSuggestionsButton']['set']({'label':getTranslation$i(_0x15eb2b,'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL'),'withText':!0x0,'type':'button','isVisible':_0x202465['includes']('insertSuggestion'),'class':_0x392bdc['SECONDARY']}),this['_insertSuggestionsButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_applyChangesButton']['on']('execute',()=>{this['fire']('applySuggestion');}),[this['_applyChangesButton'],this['_insertSuggestionsButton']]['forEach'](_0x3aca3a=>{_0x3aca3a['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',_0x4df363['if']('isVisible','ck-hidden',_0xc291a9=>!_0xc291a9)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_applyChangesButton']&&(this['_applyChangesButton']['isVisible']=!this['isTrackChangesOn']);});}['updateVisibility'](_0x257759){this['isVisible']=_0x257759;}['_switchButtonLabelsPlurality'](_0x120f7b){this['_applyChangesButton']&&this['_insertSuggestionsButton']&&(_0x120f7b?(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 _0x32fdd0=0x190;class _0x405e67 extends ckeditor5['View']{['children'];['balloonPanelView'];['bodyCollection'];constructor(_0xb86696,_0xc2a9b5){super(_0xb86696),this['bodyCollection']=_0xc2a9b5,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',_0x323803=>!_0x323803)]},'children':this['children']});const _0x58329c=new ckeditor5['View'](this['locale']),_0xe40ce1=new ckeditor5['IconView']();_0xe40ce1['content']=ckeditor5['IconWeb'],_0x58329c['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0xe40ce1,{'tag':'span','children':[{'text':getTranslation$i(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0x58329c),this['_setupBalloonPanel'](_0xb86696);}['addSource'](_0x111e33){this['children']['add'](new _0x2696ff(this['locale'],_0x111e33,this['balloonPanelView']));}['_setupBalloonPanel'](_0x3321d0){this['balloonPanelView']=new ckeditor5['BalloonPanelView'](_0x3321d0),this['balloonPanelView']['extendTemplate']({'attributes':{'class':['ck-ai-web-source__tooltip-balloon']}}),this['bodyCollection']['add'](this['balloonPanelView']);}}class _0x2696ff extends ckeditor5['ButtonView']{['balloonPanelView'];['source'];constructor(_0x394ac1,_0x3af0d9,_0x1533c4){super(_0x394ac1),this['source']=_0x3af0d9,this['balloonPanelView']=_0x1533c4,this['set']({'label':_0x3af0d9['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0x59b348=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0x59b348['to'](()=>{window['open'](_0x3af0d9['url'],'_blank');}),'mouseenter':_0x59b348['to'](()=>{this['_showTooltip']();}),'mouseleave':_0x59b348['to'](()=>{this['_hideTooltip']();})}}),_0x3af0d9['favicon']){const _0x143a60=new ckeditor5['View'](_0x394ac1);_0x143a60['setTemplate']({'tag':'img','attributes':{'src':_0x3af0d9['favicon']||ckeditor5['IconWeb'],'alt':_0x3af0d9['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0x143a60);}else this['set']('icon',ckeditor5['IconWeb']);}['_createTooltipContentView'](_0x4126eb,_0x3e90e6){const _0x3cf444=new ckeditor5['View'](_0x4126eb),_0x2592b3=[];let _0x8e6ffe;_0x3e90e6?.['favicon']?(_0x8e6ffe=new ckeditor5['View'](_0x4126eb),_0x8e6ffe['setTemplate']({'tag':'img','attributes':{'src':_0x3e90e6['favicon'],'alt':_0x3e90e6['title'],'class':['ck-ai-web-source__tooltip-image']}})):(_0x8e6ffe=new ckeditor5['IconView'](),_0x8e6ffe['content']=ckeditor5['IconWeb'],_0x8e6ffe['extendTemplate']({'attributes':{'alt':_0x3e90e6['title'],'class':['ck-ai-web-source__tooltip-image']}})),_0x2592b3['push'](_0x8e6ffe);const _0x5ec7c2=new ckeditor5['View'](_0x4126eb);_0x5ec7c2['setTemplate']({'tag':'a','attributes':{'class':['ck-ai-web-source__tooltip-url'],'href':_0x3e90e6['url']},'children':[{'text':new URL(_0x3e90e6['url'])?.['hostname']}]}),_0x2592b3['push'](_0x5ec7c2);const _0x257be9=new ckeditor5['View'](_0x4126eb);_0x257be9['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-web-source__tooltip-row']},'children':_0x2592b3});const _0x27da56=new ckeditor5['View'](_0x4126eb);return _0x27da56['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-title']},'children':[{'text':_0x3e90e6['title']['length']>_0x32fdd0?_0x3e90e6['title']['substring'](0x0,_0x32fdd0)+'...':_0x3e90e6['title']}]}),_0x3cf444['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-source__tooltip']},'children':[_0x257be9,_0x27da56]}),_0x3cf444;}['_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 _0xa93441=this['_createTooltipContentView'](this['locale'],this['source']);this['balloonPanelView']['content']['add'](_0xa93441);}}class AISuggestionBodyView extends ckeditor5['View']{['_actionsView'];['_sourcesView'];['_children'];['_areActionsDisabled'];['_showUnchangedParts'];['_updateContentPartsPromiseQueue'];['_emptyPartsWarningView'];['_availableActions'];['_cachedContentParts']=[];constructor(_0x3b223f,_0xbabfe6){super(_0x3b223f);const {areActionsDisabled:_0x370621,showUnchangedParts:_0x6ecb39,availableActions:_0x1578f2}=_0xbabfe6;this['_areActionsDisabled']=_0x370621,this['_showUnchangedParts']=_0x6ecb39,this['_availableActions']=_0x1578f2,this['set']('hasPendingParts',!0x1),this['set']('isTrackChangesOn',!0x1),this['_children']=this['createCollection'](),this['_updateContentPartsPromiseQueue']=new _0x5129ef(),this['_emptyPartsWarningView']=new AIChatFeedErrorItemView({'id':'empty-parts-warning','initialContent':getTranslation$i(_0x3b223f,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,this['_actionsView']=new AIChatFeedSuggestionItemActionsView(_0x3b223f,_0xbabfe6['availableActions'],this['_areActionsDisabled']),this['_actionsView']['bind']('isTrackChangesOn')['to'](this),this['_sourcesView']=new _0x405e67(this['locale'],_0xbabfe6['bodyCollection']),_0xbabfe6['areActionsDisabled']?this['_actionsView']['isEnabled']=!0x1:this['_actionsView']['bind']('isEnabled')['to'](this,'hasPendingParts'),this['_actionsView']['delegate'](..._0xa8480f)['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:_0x3d208a,renderingStrategy:_0x12073d,abortSignal:_0x45fb35}){this['_children']['length']?_0x3d208a['forEach'](_0x3fdafd=>{const _0x207b06=this['_cachedContentParts']['findIndex'](_0x503713=>_0x503713['index']==_0x3fdafd['index']);-0x1===_0x207b06?this['_cachedContentParts']['push'](_0x3fdafd):this['_cachedContentParts'][_0x207b06]=_0x3fdafd;}):this['_cachedContentParts']=_0x3d208a;const _0x121f3f=this['_showUnchangedParts']?_0x3d208a:_0x3d208a['filter'](_0x5e9e78=>_0x5e9e78['hasChanges']);this['_actionsView']['_switchButtonLabelsPlurality'](_0x121f3f['length']>0x1);for(const _0x2233ed of _0x121f3f)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x161f7e=>{let _0x195195=this['getPartView'](_0x2233ed['index']);_0x195195||(_0x195195=new AISuggestionBodyViewContentPartView(this['locale'],{'part':_0x2233ed,'uiIndex':this['_children']['length']+0x1,'areActionsDisabled':this['_areActionsDisabled'],'availableActions':this['_availableActions']}),_0x195195['delegate'](..._0xa8480f)['to'](this),this['_children']['add'](_0x195195),this['hasPendingParts']=!0x0),await _0x195195['updateContent']({'part':_0x2233ed,'renderingStrategy':_0x12073d,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x161f7e}),_0x195195['markAsDone']();});return _0x45fb35?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort']();}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}['updatePartState'](_0x8144d7,_0x4d369b){const _0x41dcc2=this['getPartView'](_0x8144d7);_0x41dcc2&&(_0x41dcc2['state']=_0x4d369b),this['hasPendingParts']='pending'==_0x4d369b||Array['from'](this['_children'])['some'](_0x481ab6=>'pending'==_0x481ab6['state']);}['setPartActive'](_0x48d3b4,_0x5be178){if(!0x1===_0x48d3b4){for(const _0x138a14 of this['_children'])_0x138a14['isActive']=!0x1;}else{const _0x369546=this['getPartView'](_0x48d3b4);_0x369546&&(_0x369546['isActive']=_0x5be178);}}['updateSources'](_0x56517a){_0x56517a['forEach'](_0x3e013b=>this['_sourcesView']['addSource'](_0x3e013b)),this['_sourcesView']['isVisible']=!0x0;}['getPartView'](_0x3e7ee3){return this['_children']['find'](_0x316732=>_0x316732['partDefinition']['index']==_0x3e7ee3)??null;}['markAsDone'](){if(!this['_showUnchangedParts']){const _0x1324ca=!this['_cachedContentParts']['find'](({hasChanges:_0x8b98e4})=>_0x8b98e4),_0x9947b4=!!this['_cachedContentParts']['find'](({hasChanges:_0x23a9d6})=>!_0x23a9d6);this['_emptyPartsWarningView']['isVisible']=0x0==this['_children']['length']||_0x9947b4,_0x1324ca?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'](_0x58a1fd=>_0x58a1fd['markAsDone']()),this['_actionsView']['updateVisibility'](this['hasNonEmptyParts']);}get['hasNonEmptyParts'](){return this['_children']['filter'](_0x110b78=>_0x110b78['partDefinition']['hasChanges'])['length']>0x0;}}class AISuggestionContainerView extends ckeditor5['View']{['bodyView'];['children'];['headerView'];constructor(_0x142634,_0x511ea0,_0x234688){super(_0x142634);const {showDiff:_0x1bae95,areActionsDisabled:_0x4bd6f3,showUnchangedParts:_0x1cbe53,availableActions:_0x20c7f9}=_0x511ea0;this['set']('isTrackChangesOn',!0x1),this['set']('areChangesVisible',!0x1),this['children']=this['createCollection'](),this['headerView']=new AISuggestionHeaderView(_0x142634,{'showDiff':_0x1bae95}),this['headerView']['on']('toggleShowChanges',(_0x256edb,_0x1f0d49)=>{this['areChangesVisible']=_0x1f0d49['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x1f0d49['isOn']});}),this['children']['add'](this['headerView']),this['bodyView']=new AISuggestionBodyView(_0x142634,{'areActionsDisabled':_0x4bd6f3,'showUnchangedParts':!!_0x1cbe53,'availableActions':_0x20c7f9,'bodyCollection':_0x234688}),this['bodyView']['delegate'](..._0xa8480f)['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'](_0x33ec36){await this['bodyView']['updateContentParts'](_0x33ec36);}['updateSources'](_0x542cab){this['bodyView']['updateSources'](_0x542cab);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}}class AIChatFeedSuggestionItemView extends AIChatFeedItemView{['containerView'];constructor(_0x224b5d,_0x40a661,_0x34e9f9){super(_0x40a661),this['set']('isTrackChangesOn',!0x1),this['containerView']=new AISuggestionContainerView(_0x224b5d,{'showDiff':_0x40a661['showDiff'],'areActionsDisabled':_0x40a661['areActionsDisabled'],'availableActions':_0x40a661['availableActions']},_0x34e9f9),this['containerView']['on']('toggleSuggestionDisplayMode',(_0x199e96,_0x4f632c)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0x4f632c['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',(_0xec642f,{index:_0x2fbf7f})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0x2fbf7f});}),this['containerView']['on']('applySuggestion',(_0x30cd76,{index:_0xbae2ab}={})=>{this['fire']('applySuggestion',{'replyId':this['options']['id'],'partIndex':_0xbae2ab});}),this['containerView']['on']('insertSuggestion',(_0x4de451,{index:_0x13c9b7}={})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x13c9b7});}),this['containerView']['on']('rejectSuggestion',(_0x440acf,{index:_0x345169})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0x345169});}),this['containerView']['on']('mouseOverSuggestion',(_0x56e6d7,{index:_0x2b2156})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0x2b2156});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x528c16,{index:_0x4e9631})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0x4e9631});}),this['children']['addMany']([this['containerView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async['updateContent'](_0x50eded){await this['containerView']['updateContent'](_0x50eded);}['updatePartState'](_0x5dbe1d,_0x261480){this['containerView']['bodyView']['updatePartState'](_0x5dbe1d,_0x261480);}['setPartActive'](_0x58f94c,_0x1c6d74){!0x1===_0x58f94c?this['containerView']['bodyView']['setPartActive'](!0x1):this['containerView']['bodyView']['setPartActive'](_0x58f94c,_0x1c6d74);}['updateSources'](_0x290753){this['containerView']['updateSources'](_0x290753);}['getPartView'](_0x14400d){return this['containerView']['bodyView']['getPartView'](_0x14400d);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone']();}}class AIChatFeedReplyItemView extends AIChatFeedItemView{['replyContainer'];['_bodyCollection'];constructor(_0x805f73,_0x3c12cf,_0x22cc3f){super(_0x3c12cf),this['_bodyCollection']=_0x22cc3f,this['locale']=_0x805f73,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':_0x22d7d3(this['options']['initialContent']),'renderingStrategy':'static'}),this['markAsDone']());}async['updateContent']({parsedContent:_0x50f431,renderingStrategy:_0x4801c2,abortSignal:_0x492641}){'streaming'===_0x4801c2?await this['streamIntoElement'](_0x50f431,this['replyContainer']['element'],_0x492641):this['replyContainer']['element']['innerHTML']=_0x38467c(_0x50f431);}['updateSources'](_0x1544bd){const _0x276576=new _0x405e67(this['locale'],this['_bodyCollection']);_0x276576['children']['addMany'](_0x1544bd['map'](_0x25b01d=>new _0x2696ff(this['locale'],_0x25b01d,_0x276576['balloonPanelView']))),_0x276576['isVisible']=!0x0,this['children']['add'](_0x276576);}}class _0x5dee0e extends ckeditor5['SpinnerView']{constructor(_0x578453=void 0x0){super();const _0x1c8b8a=_0x578453?'ck-ai-spinner_'+_0x578453:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x1c8b8a]}});}}const _0x5d33dc={'file':ckeditor5['IconFileUpload'],'document':ckeditor5['IconDocument'],'web-resource':ckeditor5['IconLink'],'text':ckeditor5['IconFileUpload'],'selection':ckeditor5['IconSelection'],'mcp-tool-context':ckeditor5['IconDocument']},_0x2a300e=0x78,_0x48613e={'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'},_0x13c066={'position':'n'};class AIChatContextItemButtonView extends ckeditor5['ButtonView']{constructor(_0x10724e,_0x488c0e,_0x265385,_0x108a90,_0x464a54=!0x1){super(_0x10724e),this['_isAnimationOnEnterEnabled']=_0x108a90,this['_initializeProperties'](_0x488c0e,_0x265385,_0x464a54),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'](_0x5c8189,_0x3f91ab,_0xfe0b0){this['set']('label',_0x5c8189['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x5c8189['type']),this['set']('id',_0x5c8189['uiId']),this['set']('readonly',_0x3f91ab),this['set']('isLoading',_0xfe0b0);}['_setupTemplate'](){const _0x270766=this['_createIconView'](),_0xb2a381=this['_createRemoveButton'](),_0x5cbd57=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x5cbd57),'children':this['_createTemplateChildren'](_0x270766,_0xb2a381,_0x5cbd57)});}['_createTemplateAttributes'](_0x520b8c){return{'class':[_0x48613e['contextChip'],_0x520b8c['if']('itemType',_0x48613e['contextChipDocument'],_0x41bf18=>'document'==_0x41bf18),_0x520b8c['if']('itemType',_0x48613e['contextChipWide'],_0x75c235=>'selection'==_0x75c235)],'data-cke-tooltip-text':_0x520b8c['to']('label',getTooltipForLabel),'data-cke-tooltip-position':_0x13c066['position'],'data-cke-tooltip-class':_0x48613e['chipTooltip']};}['_createTemplateChildren'](_0x4f0ba3,_0x372de8,_0x4e590e){const _0x463373=this['_createLabelElement'](_0x4e590e),_0x4b47d1=this['_createLoaderIcon']();return this['readonly']?[_0x4f0ba3,_0x463373]:[_0x4f0ba3,_0x4b47d1,_0x463373,_0x372de8];}['_createLabelElement'](_0x5e3c87){return{'tag':'span','attributes':{'class':_0x48613e['contextChipLabel']},'children':[{'text':_0x5e3c87['to']('label')}]};}['_createRemoveButton'](){const _0x25ae51=new ckeditor5['ButtonView'](this['locale']);return _0x25ae51['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':ckeditor5['IconCancel']}),this['_setupRemoveButtonEvent'](_0x25ae51),_0x25ae51;}['_setupRemoveButtonEvent'](_0x36fdba){_0x36fdba['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}['_createIconView'](){const _0x21177d=this['bindTemplate'],_0x1061f4=new ckeditor5['IconView']();return _0x1061f4['content']=_0x5d33dc[this['itemType']],_0x1061f4['extendTemplate']({'attributes':{'class':[_0x48613e['contextChipTypeIcon'],_0x21177d['if']('isLoading','ck-hidden',_0x2f2325=>_0x2f2325)]}}),_0x1061f4;}['_handleAnimationEndOnce'](_0x48d23d,_0x519a40){if(!_0x48d23d)return;const _0x5e26e2=()=>{_0x519a40(),_0x48d23d['removeEventListener']('animationend',_0x5e26e2),_0x48d23d['removeEventListener']('webkitAnimationEnd',_0x5e26e2);};_0x48d23d['addEventListener']('animationend',_0x5e26e2),_0x48d23d['addEventListener']('webkitAnimationEnd',_0x5e26e2);}['_createLoaderIcon'](){const _0x15ce45=new _0x5dee0e('small');return _0x15ce45['bind']('isVisible')['to'](this,'isLoading',_0x412274=>_0x412274),_0x15ce45;}}function getTooltipForLabel(_0x60e0d){if(!_0x60e0d)return _0x60e0d;if(_0x60e0d['length']<=_0x2a300e)return _0x60e0d;const _0x311bf7=_0x60e0d['slice'](0x0,_0x2a300e),_0x5a97a0=_0x311bf7['lastIndexOf']('\x20');return(_0x5a97a0>0x0?_0x311bf7['slice'](0x0,_0x5a97a0):_0x311bf7)+'…';}const _0x586eb7={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},_0x249a65='300px';class AIChatChipsOverflowManager{['_locale'];['_config'];['_visibleChips'];['_overflowChips'];['_showMoreButtonView']=null;['_showMoreBalloonPanelView']=null;['_containerElement']=null;['_bodyCollection'];['_parentView']=null;['_intersectionObserver']=null;['_pendingCalculation']=!0x1;constructor(_0x5bc2cd,_0x5524b0,_0x20e3a5,_0x2b0b70,_0x1aa676){this['_locale']=_0x5bc2cd,this['_visibleChips']=_0x5524b0,this['_config']={..._0x586eb7,..._0x20e3a5,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0x20e3a5['cssClasses']}},this['_overflowChips']=new ckeditor5['Collection'](),this['_bodyCollection']=_0x2b0b70,this['_parentView']=_0x1aa676||null;}['setContainerElement'](_0x5ea383){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x5ea383,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 _0x581abe=[...this['_visibleChips'],...this['_overflowChips']],_0xfd24ac=this['_createCalculationContainer'](),_0x3f2044=this['_calculateOverflowInContainer'](_0xfd24ac,_0x581abe),_0x39825b=_0xfd24ac['_ancestorsToRestore'];_0x39825b&&this['_restoreAncestorVisibility'](_0x39825b),_0xfd24ac['remove'](),this['_applyOverflowResults'](_0x581abe,_0x3f2044);}['_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 _0x1d6db1=new ckeditor5['ButtonView'](this['_locale']);_0x1d6db1['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x4ba2db=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x4ba2db['push'](this['_config']['cssClasses']['controlsButton']),_0x1d6db1['extendTemplate']({'attributes':{'class':_0x4ba2db}}),_0x1d6db1;}['_createShowMoreBalloonPanelView'](){const _0x2c5ab3=new ckeditor5['BalloonPanelView'](this['_locale']);return _0x2c5ab3['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0x2c5ab3),_0x2c5ab3;}['_updateBalloonContent'](){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x41fe89=>{_0x41fe89['disableAnimationOnEnter']();});const _0x587549=new ckeditor5['View'](this['_locale']);_0x587549['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0x587549);}}['_handleShowMoreButtonClick'](){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}['_updateShowMoreButtonVisibility'](){const _0xfc64d8=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0xfc64d8?'':'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'](_0x4239d8){const _0x18ecd8=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0xf7d17f=this['_containerElement']?.['classList'];if(_0xf7d17f){const _0x178b0c=_0xf7d17f[0x0]||'',_0x481e1b=_0x4239d8['querySelector']('.'+_0x178b0c),_0x3f642a=_0x4239d8['querySelector'](_0x18ecd8);return _0x481e1b||_0x3f642a||_0x4239d8;}return _0x4239d8['querySelector'](_0x18ecd8)||_0x4239d8;}['_calculateContainerWidth'](){const _0x5e13d6=this['_parentView']?.['element']||this['_containerElement'];if(!_0x5e13d6)return _0x249a65;const _0x2b002d=window['getComputedStyle'](_0x5e13d6)['width'];if('auto'===_0x2b002d||'0px'===_0x2b002d||!_0x2b002d){const _0x22790f=_0x5e13d6['parentElement'];if(_0x22790f){const _0x471965=window['getComputedStyle'](_0x22790f);return'auto'!==_0x471965['width']?_0x471965['width']:_0x249a65;}return _0x249a65;}return _0x2b002d;}['_applyCalculationStyles'](_0x26d9e7,_0x42a700){this['_config']['cssClasses']['calculationContainer']&&_0x26d9e7['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0x26d9e7['style']['width']=_0x42a700,_0x26d9e7['style']['position']='absolute',_0x26d9e7['style']['top']='-9999px',_0x26d9e7['style']['left']='-9999px',_0x26d9e7['style']['opacity']='0',_0x26d9e7['style']['pointerEvents']='none',_0x26d9e7['style']['zIndex']='-1',_0x26d9e7['style']['visibility']='visible\x20!important',_0x26d9e7['style']['display']='block\x20!important',_0x26d9e7['style']['boxSizing']='border-box';}['_restoreAncestorVisibility'](_0x5ef479){_0x5ef479['forEach'](({element:_0x1f787d,originalDisplay:_0x153ae7,originalVisibility:_0x4a91c3})=>{_0x1f787d['style']['display']=_0x153ae7,_0x1f787d['style']['visibility']=_0x4a91c3;});}['_makeAncestorsVisible'](_0x4676d9){const _0x4cb509=[];let _0x33c194=_0x4676d9;for(;_0x33c194&&_0x33c194!==document['body'];){const _0x584a83=window['getComputedStyle'](_0x33c194);'none'!==_0x584a83['display']&&'hidden'!==_0x584a83['visibility']||(_0x4cb509['push']({'element':_0x33c194,'originalDisplay':_0x33c194['style']['display'],'originalVisibility':_0x33c194['style']['visibility']}),_0x33c194['style']['display']='block',_0x33c194['style']['visibility']='visible'),_0x33c194=_0x33c194['parentElement'];}return _0x4cb509;}['_createContainerElements'](){let _0x12059b,_0x2c3200;return this['_parentView']?.['element']?(_0x12059b=this['_parentView']['element']['cloneNode'](!0x0),_0x2c3200=this['_findTargetContainer'](_0x12059b)):(_0x12059b=document['createElement']('div'),_0x2c3200=_0x12059b),{'calculationContainer':_0x12059b,'targetContainer':_0x2c3200};}['_createCalculationContainer'](){const {calculationContainer:_0x5b8d0c,targetContainer:_0x52bcbf}=this['_createContainerElements'](),_0x111c5d=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x5b8d0c,_0x111c5d);const _0xf0847c=this['_parentView']?.['element']||this['_containerElement'],_0x55c9f4=_0xf0847c?.['parentElement'];_0x55c9f4?_0x55c9f4['appendChild'](_0x5b8d0c):document['body']['appendChild'](_0x5b8d0c),_0x5b8d0c['_targetContainer']=_0x52bcbf;const _0x722e57=this['_makeAncestorsVisible'](_0x55c9f4||null);return _0x5b8d0c['offsetWidth'],_0x5b8d0c['_ancestorsToRestore']=_0x722e57,_0x5b8d0c;}['_calculateOverflowInContainer'](_0x53044a,_0x325e85){const _0x5d375c=_0x53044a['_targetContainer']||_0x53044a,_0x115e43=[],{rowCount:_0x469c11}=this['_renderChipsAndCountRows'](_0x5d375c,_0x325e85);if(_0x469c11<=this['_config']['maxVisibleRows'])return _0x115e43;const _0x530e2d=_0x325e85['slice']();for(;_0x530e2d['length']>0x0;){if(this['_testButtonFit'](_0x53044a,_0x5d375c,_0x530e2d)){const _0x5e43bc=_0x325e85['filter'](_0x496cde=>!_0x530e2d['includes'](_0x496cde));_0x115e43['push'](..._0x5e43bc);break;}if(!_0x530e2d['pop']())break;}return _0x115e43;}['_renderChipsAndCountRows'](_0x1c3791,_0x169eb0){_0x1c3791['innerHTML']='',_0x169eb0['forEach'](_0x5568e3=>{if(_0x5568e3['element']){const _0x306776=_0x5568e3['element']['cloneNode'](!0x0);_0x1c3791['appendChild'](_0x306776);}}),_0x1c3791['offsetWidth'];const _0x4b3f80=_0x1c3791['children'],_0x3c465e=[];return Array['from'](_0x4b3f80)['forEach'](_0x1c2ec0=>{const _0x4bc9a4=_0x1c2ec0['getBoundingClientRect']()['top'];_0x3c465e['some'](_0x364acd=>Math['abs'](_0x364acd-_0x4bc9a4)<this['_config']['rowDetectionTolerance'])||_0x3c465e['push'](_0x4bc9a4);}),{'rowCount':_0x3c465e['length']};}['_createMockButton'](){const _0x2f5453=document['createElement']('button');return _0x2f5453['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0x2f5453['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0x2f5453['textContent']='+\x201',_0x2f5453;}['_testButtonFit'](_0x598814,_0x4830e5,_0x4b4116){this['_renderChipsAndCountRows'](_0x4830e5,_0x4b4116);const _0x29d2d8=this['_createMockButton']();_0x598814['appendChild'](_0x29d2d8),_0x598814['offsetWidth'];const _0x570db9=[..._0x4830e5['children'],_0x29d2d8],_0x2bb886=[];_0x570db9['forEach'](_0x1e5411=>{const _0x24ab89=_0x1e5411['getBoundingClientRect']()['top'];_0x2bb886['some'](_0x5e1a13=>Math['abs'](_0x5e1a13-_0x24ab89)<this['_config']['rowDetectionTolerance'])||_0x2bb886['push'](_0x24ab89);});const _0x59c28b=_0x2bb886['length'];return _0x29d2d8['remove'](),_0x59c28b<=this['_config']['maxVisibleRows'];}['_distributeChips'](_0x1c95b1,_0x2a2762){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0x1c95b1['forEach'](_0x17e3f5=>{_0x2a2762['includes'](_0x17e3f5)?this['_overflowChips']['add'](_0x17e3f5):this['_visibleChips']['add'](_0x17e3f5);});}['_updateOverflowUI'](_0x5e40ef){if(_0x5e40ef>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0x5e40ef>0x0&&this['_showMoreButtonView']){const _0x5562ea=''+this['_config']['showMoreLabelPrefix']+(_0x5e40ef<0x63?_0x5e40ef:'99');this['_showMoreButtonView']['label']=_0x5562ea;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}['_applyOverflowResults'](_0x5450af,_0x2b4426){this['_distributeChips'](_0x5450af,_0x2b4426),this['_updateOverflowUI'](_0x2b4426['length']);}['_setupVisibilityObserver'](){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0x313a87=>{_0x313a87[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 _0x203f48=this['_containerElement']['getBoundingClientRect']();if(0x0===_0x203f48['width']||0x0===_0x203f48['height'])return!0x1;const _0x48f809=window['innerHeight']||document['documentElement']['clientHeight'],_0x57f3aa=window['innerWidth']||document['documentElement']['clientWidth'],_0x4232aa=0xc8;return _0x203f48['bottom']>=-0xc8&&_0x203f48['top']<=_0x48f809+_0x4232aa&&_0x203f48['right']>=-0xc8&&_0x203f48['left']<=_0x57f3aa+_0x4232aa;}}const _0x47427e={'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(_0x3e4e20,_0x1b6884,_0x1efd6f){super(_0x3e4e20),this['_bodyCollection']=_0x1efd6f,this['_createContextChips'](_0x1b6884);const _0x4938bc={'cssClasses':{'showMoreButton':_0x47427e['SHOW_MORE_BUTTON']+'\x20'+_0x392bdc['TERTIARY'],'showMoreBalloon':_0x47427e['SHOW_MORE_BALLOON'],'overflowContainer':_0x47427e['CONTEXT_CHIPS_OVERFLOW'],'controlsButton':_0x47427e['CONTROLS_BUTTON']}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x3e4e20,this['_contextChips'],_0x4938bc,this['_bodyCollection'],this),this['setTemplate']({'tag':'div','attributes':{'class':[_0x47427e['CONTEXT_CHIPS'],'ck','ck-reset_all']},'children':[{'tag':'div','attributes':{'class':_0x47427e['CONTEXT_CHIPS_VISIBLE']},'children':this['_contextChips']}]});}['render'](){super['render']();const _0x5ab25f=this['element']['querySelector']('.'+_0x47427e['CONTEXT_CHIPS_VISIBLE']);_0x5ab25f&&(this['_overflowManager']['setContainerElement'](_0x5ab25f),this['_overflowManager']['reorganizeChips']());}['destroy'](){super['destroy'](),this['_overflowManager']['destroy']();}['_createContextChips'](_0x12e0b6){for(const _0x1a3947 of _0x12e0b6){const _0x444a13=new AIChatContextItemButtonView(this['locale'],_0x1a3947,!0x0,!0x1);this['_contextChips']['add'](_0x444a13);}}}class AIChatFeedUserMessageItemView extends AIChatFeedItemView{['_contextChipsView']=null;['_locale'];['_bodyCollection'];['_messageContentView'];constructor(_0x18be3f,_0x47e338,_0x2e32fb){super(_0x47e338),this['_locale']=_0x18be3f,this['_bodyCollection']=_0x2e32fb,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'](_0x1365d5=>!_0x1365d5['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(_0x425515,_0x5ad37c){super(_0x5ad37c);const {isWebSearchEnabled:_0x359873,isReasoningEnabled:_0x519008}=_0x5ad37c['capabilities'],_0x3e2579=[];let _0x317aa3='';_0x359873&&_0x519008?(_0x317aa3=getTranslation$i(_0x425515,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x3e2579['push'](createIcon(ckeditor5['IconWeb'])),_0x3e2579['push'](createIcon(ckeditor5['IconBulb']))):_0x359873?(_0x317aa3=getTranslation$i(_0x425515,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x3e2579['push'](createIcon(ckeditor5['IconWeb']))):_0x519008&&(_0x317aa3=getTranslation$i(_0x425515,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x3e2579['push'](createIcon(ckeditor5['IconBulb']))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x317aa3?'':'ck-hidden']}});const _0x3ad715=new ckeditor5['View']();_0x3ad715['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x3e2579,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x317aa3]}]}),this['children']['add'](_0x3ad715),this['capabilities']=_0x5ad37c['capabilities'];}}function createIcon(_0x1a0aac){const _0x3bb670=new ckeditor5['IconView']();return _0x3bb670['content']=_0x1a0aac,_0x3bb670;}const _0x53355f=0x5,_0x1179f1=['wheel','touchstart','pointerdown','keydown'],_0x3247b3=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];class _0x5d84f0{['element'];['animationFrameId'];['isRunning'];['abortController'];['isUserPaused'];constructor(_0x216d65){this['element']=_0x216d65,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1;for(const _0x1c281c of _0x1179f1){const _0x325678='keydown'!==_0x1c281c;this['element']['addEventListener'](_0x1c281c,this['_onUserEvent']['bind'](this),{'passive':_0x325678,'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'](_0x1f99be){if(this['isRunning']){if('keydown'===_0x1f99be['type']){const _0x273b28=_0x1f99be['key'];if(!_0x3247b3['includes'](_0x273b28))return;}_0x1f99be instanceof WheelEvent?_0x1f99be['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}['_isAtBottom'](){const {scrollTop:_0x26053a,scrollHeight:_0x522052,clientHeight:_0x3b6054}=this['element'];return _0x522052-_0x26053a-_0x3b6054<=_0x53355f;}['_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(_0x572947,_0x53b491){super(_0x572947),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton']},'children':this['_createSkeletonItems'](_0x53b491)});}['_createSkeletonItems'](_0x3e5b38){const _0x882d3e=['ck','ck-ai-skeleton__item'];return _0x3e5b38['map'](_0x4fe34e=>{let _0x98b64c='';switch(_0x4fe34e['attributes']['align']){case'right':_0x98b64c='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x98b64c='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x98b64c='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0x4fe34e['tag'],'attributes':{'class':[..._0x882d3e,_0x4fe34e['attributes']['class']?_0x4fe34e['attributes']['class']:''],'style':'width:\x20'+_0x4fe34e['attributes']['width']+';\x20height:\x20'+_0x4fe34e['attributes']['height']+';'+_0x98b64c}};});}}const _0x1ea99b={'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(_0x3335af,_0x531795,_0x265525,_0x386d8d){return new Array(_0x3335af)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0x531795,'height':_0x265525,'align':_0x386d8d}}));}class AIChatFeedCustomElementView extends AIChatFeedItemView{constructor(_0x412a20){super(_0x412a20),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(_0x53794c,_0x4deb79){super(_0x53794c),this['_bodyCollection']=_0x4deb79,this['set']('isPending',!0x1),this['set']('loadingMessage',''),this['set']('isLoadingSkeletonVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),this['children']['delegate'](..._0x2ce1ed)['to'](this),this['_setupTemplate']();}['render'](){super['render'](),this['scrollManager']=new _0x5d84f0(this['element']);}['destroy'](){super['destroy'](),this['scrollManager']['destroy']();}['clear'](){this['children']['clear']();}['addItem'](_0x3418b7,_0x35203c){let _0x535080;return'ai-reply'===_0x3418b7?_0x535080=new AIChatFeedReplyItemView(this['locale'],_0x35203c,this['_bodyCollection']):'ai-suggestion-reply'===_0x3418b7?(_0x535080=new AIChatFeedSuggestionItemView(this['locale'],_0x35203c,this['_bodyCollection']),_0x535080['bind']('isTrackChangesOn')['to'](this)):_0x535080='user-message'===_0x3418b7?new AIChatFeedUserMessageItemView(this['locale'],_0x35203c,this['_bodyCollection']):'interaction-header'===_0x3418b7?new AIChatFeedInteractionHeaderView(this['locale'],_0x35203c):'custom-element'===_0x3418b7?new AIChatFeedCustomElementView(_0x35203c):new AIChatFeedErrorItemView(_0x35203c),this['children']['add'](_0x535080),_0x535080;}async['updateReplyItem']({id:_0xcc2e4b,parsedContent:_0x30a5b2,renderingStrategy:_0x15dca1,abortSignal:_0x23fb29}){const _0x500a9c=this['getItemById'](_0xcc2e4b);if(!(_0x500a9c instanceof AIChatFeedReplyItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x500a9c,'id':_0xcc2e4b,'parsedContent':_0x30a5b2});await _0x500a9c['updateContent']({'parsedContent':_0x30a5b2,'renderingStrategy':_0x15dca1,'abortSignal':_0x23fb29});}async['updateWebSources'](_0xa6905d,_0x16a5b9){const _0x2fc1a1=this['getItemById'](_0xa6905d);if(_0x2fc1a1 instanceof AIChatFeedSuggestionItemView)_0x2fc1a1['updateSources'](_0x16a5b9);else{if(!(_0x2fc1a1 instanceof AIChatFeedReplyItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x2fc1a1,'id':_0xa6905d,'sources':_0x16a5b9});_0x2fc1a1['updateSources'](_0x16a5b9);}}async['updateSuggestionItem']({id:_0x2c31f7,parts:_0x554d6f,renderingStrategy:_0x56bb46,abortSignal:_0x567fb4}){const _0x27fc4c=this['getItemById'](_0x2c31f7);if(!(_0x27fc4c instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x27fc4c,'id':_0x2c31f7,'parts':_0x554d6f});await _0x27fc4c['updateContent']({'parts':_0x554d6f,'renderingStrategy':_0x56bb46,'abortSignal':_0x567fb4});}['updateSuggestionPartState']({id:_0x34a298,index:_0x24d5aa,state:_0x353cfe}){const _0x2f0604=this['getItemById'](_0x34a298);if(!(_0x2f0604 instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x34a298});_0x2f0604['updatePartState'](_0x24d5aa,_0x353cfe);}['setSuggestionPartActive']({id:_0x3a9f10,index:_0x4a8bd8,isActive:_0x469003}){const _0x1c4513=this['getItemById'](_0x3a9f10);if(!(_0x1c4513 instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x3a9f10});this['children']['filter'](_0x5204a0=>_0x5204a0 instanceof AIChatFeedSuggestionItemView)['forEach'](_0x1aff8f=>{_0x1aff8f['setPartActive'](!0x1);}),_0x1c4513['setPartActive'](_0x4a8bd8,_0x469003);}['markItemAsDone'](_0x131f04){this['getItemById'](_0x131f04)['markAsDone']();}['getItemIds'](){return this['children']['map'](_0x4939f7=>_0x4939f7['options']['id']);}['removeItem'](_0xec99bf){this['children']['remove'](this['getItemById'](_0xec99bf));}['hasItem'](_0x2f610b){return!!this['children']['find'](_0x1f80d3=>_0x1f80d3['options']['id']['includes'](_0x2f610b));}['scrollToSuggestion'](_0x6d3e25,_0x3647c4){const _0x57da56=this['getItemById'](_0x6d3e25);if(!(_0x57da56 instanceof AIChatFeedSuggestionItemView))return void ckeditor5['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x6d3e25,'partIndex':_0x3647c4});const _0x5b85cb=_0x57da56['getPartView'](_0x3647c4);_0x5b85cb?ckeditor5['scrollAncestorsToShowTarget'](_0x5b85cb['element'],0x14,this['element']['parentElement'],!0x0,!0x0):ckeditor5['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x6d3e25,'partIndex':_0x3647c4});}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}['_createTemplateChildren'](){const _0x2fa4b3=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x2fa4b3,this['_createFeedLoader']()];}['_createSkeletonLoader'](){const _0x4507ad=new AISkeletonView(this['locale'],_0x1ea99b['aiFeed']);return _0x4507ad['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden',_0x7768a1=>!_0x7768a1)]}}),_0x4507ad;}['_createFeedItems'](){const _0x32bfc4=new ckeditor5['View'](this['locale']);return _0x32bfc4['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x32bfc4;}['_createFeedLoader'](){const _0x4d8ac1=new ckeditor5['View'](this['locale']);return _0x4d8ac1['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('isPending','ck-hidden',_0x46c448=>!_0x46c448)]},'children':this['_createLoaderChildren']()}),_0x4d8ac1;}['_createLoaderChildren'](){const _0x197847=new _0x5dee0e();return _0x197847['isVisible']=!0x0,[_0x197847,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}['getItemById'](_0x1b6d50){const _0x502087=this['children']['find'](_0x21f5d7=>_0x21f5d7['options']['id']['includes'](_0x1b6d50));if(!_0x502087)throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-found',this,{'id':_0x1b6d50});return _0x502087;}['setLoadingMessage'](_0x25cc1b){this['set']('loadingMessage',_0x25cc1b);}['toggleLoadingSkeleton'](_0x267d99){this['set']('isLoadingSkeletonVisible',_0x267d99);}['startAutoScroll'](){this['scrollManager']['start']();}['stopAutoScroll'](){this['scrollManager']['stop']();}}class AIChatPromptSuggestionsListView extends ckeditor5['ListView']{['filter'](){let _0x46690c=0x0;for(const _0x1f8918 of this['items'])_0x46690c+=_0x1f8918['items']['length'];return{'resultsCount':_0x46690c,'totalItemsCount':_0x46690c};}}const _0x34643f=0x320,_0x3603c1='ck-ai-chat__prompt-input_highlighted';class AIChatPromptInputView extends ckeditor5['AutocompleteView']{['submitButtonView'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;['_addContextButtonView'];['_queryViewResizeObserver'];constructor(_0x43cd35,_0x445d9d){super(_0x43cd35,{'queryView':{'label':'','creator':ckeditor5['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new AIChatPromptSuggestionsListView(_0x43cd35),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0x445d9d,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',(_0x2d9376,_0x4bb6fa)=>!_0x2d9376&&!_0x4bb6fa),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x59fdab,_0x5825b2)=>{this['isUploadInProgress']||this['isEmpty']||_0x59fdab['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x5825b2());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();});}['destroy'](){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}['submit'](){const _0x52388f=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x52388f)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 _0x16c8a3=_0x128121(_0x52388f);this['fire']('sendUserMessage',_0x16c8a3),this['queryView']['fieldView']['reset']();}['setPlaceholderText'](_0x327ebb){this['queryView']['fieldView']['set']('placeholder',_0x327ebb);}['focus'](_0x769a30=!0x1){super['focus'](),_0x769a30&&(this['element']['classList']['contains'](_0x3603c1)||(this['element']['classList']['add'](_0x3603c1),setTimeout(()=>{this['element']['classList']['remove'](_0x3603c1);},_0x34643f)));}['_createSubmitButton'](){const _0xf2455c=new ckeditor5['ButtonView'](this['locale']);return _0xf2455c['set']({'icon':ckeditor5['IconSubmit'],'label':getTranslation$i(this['locale'],'AI_CHAT_LABEL_SUBMIT'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-chat__prompt-submit-button\x20'+_0x392bdc['PRIMARY'],'isEnabled':!0x1}),_0xf2455c['on']('execute',()=>{this['submit']();}),_0xf2455c;}['setIsUploadInProgress'](_0x57cb87){this['isUploadInProgress']=_0x57cb87;}['_setUpAddContextButtonPositioning'](){const _0x442513=this['locale'],_0x34d9fe=()=>{ckeditor5['global']['window']['requestAnimationFrame'](()=>{if(ckeditor5['isVisible'](this['element'])){const _0x2e6a54=new ckeditor5['Rect'](this['queryView']['fieldView']['element']),_0x4fe49c=new ckeditor5['Rect'](this['_addContextButtonView']['element']),_0x7309e7=_0x2e6a54['width'],_0x3984e3='rtl'===_0x442513['uiLanguageDirection']?'right':'left';_0x2e6a54['excludeScrollbarsAndBorders']();const _0xdc0fb5=_0x7309e7-_0x2e6a54['width']+0x1;this['_addContextButtonView']['element']['style'][_0x3984e3]='calc('+(_0x7309e7-_0x4fe49c['width']-_0xdc0fb5)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x34d9fe),this['on']('render',()=>{_0x34d9fe(),this['_queryViewResizeObserver']=new ckeditor5['ResizeObserver'](this['queryView']['fieldView']['element'],()=>{_0x34d9fe();});});}}const _0x3dd386={'PROMPT_CAPABILITIES':'ck-ai-chat__prompt-capabilities','CONTROLS_BUTTON':'ck-ai-chat-controls-button','COMMANDS_BUTTON':'ck-ai-chat-controls-button--commands','MODEL_SELECTION':'ck-ai-chat-controls__model-selection','MODEL_SELECTION_ITEM_NAME':'ck-ai-chat-controls__model-selection__item-name','MODEL_SELECTION_ITEM_DESCRIPTION':'ck-ai-chat-controls__model-selection__item-description','MODEL_SELECTION_ITEM_CAPABILITIES':'ck-ai-chat-controls__model-selection__item-capabilities'},_0x46b3b5='n';class AIChatPromptCapabilitiesView extends ckeditor5['View']{['_webSearchButton'];['_reasoningButton'];['_commandsButton'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_modelNameView'];constructor(_0x128869){super(_0x128869),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',_0x31af16=>'selector'===_0x31af16),this['_modelSelectionDropdown']['buttonView']['bind']('tooltip')['to'](this,'modelSelectorEnabled',_0x2f1d85=>_0x2f1d85?this['_modelSelectionDropdown']['buttonView']['label']:getTranslation$i(this['locale'],'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP')),this['_modelSelectionDropdown']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0x274622=>_0x274622),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0x3eb9f5=>_0x3eb9f5),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0x24e3af=>getTranslation$i(this['locale'],_0x24e3af?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0xc07401=>_0xc07401),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0x4cb85c=>getTranslation$i(this['locale'],_0x4cb85c?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x3dd386['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'](_0x14101d,_0x26b804){if(_0x26b804)this['set']('modelDisplayMode','hidden');else{const _0x1e0a4b=0x1===_0x14101d['length'];this['set']('modelDisplayMode',_0x1e0a4b?'name':'selector');}if(this['_modelSelectionDropdownItems']['clear'](),_0x14101d?.['length'])for(const _0x5d7f68 of _0x14101d){const _0x4fecd1=new ckeditor5['UIModel']({'label':_0x5d7f68['name'],'withText':!0x0,'role':'menuitemradio','id':_0x5d7f68['id'],'model':_0x5d7f68});_0x4fecd1['bind']('isOn')['to'](this,'activeModelId',_0x4af5b1=>_0x4af5b1===_0x5d7f68['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x4fecd1,'labelView':new ModelButtonLabelView$1(this['locale'],_0x5d7f68)});}}['setWebSearch'](_0x12dcc7){this['set']('webSearchActive',_0x12dcc7);}['setReasoning'](_0x390898){this['set']('reasoningActive',_0x390898);}['setModel'](_0x49cd78){if(!_0x49cd78)return;this['activeModelId']=_0x49cd78['id'],this['activeModelName']=_0x49cd78['name']||_0x49cd78['id'],this['_modelSelectionDropdown']['buttonView']['set']('label',_0x49cd78['name']),this['_modelSelectionDropdown']['buttonView']['set']('tooltip',_0x49cd78['name']);const _0x3ec4d4=_0x49cd78['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x3ec4d4),this['_webSearchButton']['set']('isVisible',_0x3ec4d4);const _0x946706=_0x49cd78['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0x946706),this['_reasoningButton']['set']('isVisible',_0x946706);}['enableModelSelector'](){this['set']('modelSelectorEnabled',!0x0);}['disableModelSelector'](_0x4afa88){this['set']('modelSelectorEnabled',!0x1),_0x4afa88&&this['set']('modelDisplayMode','hidden');}['_createWebSearchButton'](){const _0x5be2d4=new ckeditor5['ButtonView']();return _0x5be2d4['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':ckeditor5['IconWeb'],'class':_0x3dd386['CONTROLS_BUTTON']+'\x20'+_0x392bdc['TERTIARY'],'isToggleable':!0x0,'tooltipPosition':_0x46b3b5}),_0x5be2d4['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x5be2d4;}['_createReasoningButton'](){const _0x2364d9=new ckeditor5['ButtonView']();return _0x2364d9['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_REASONING'),'icon':ckeditor5['IconBulb'],'class':_0x3dd386['CONTROLS_BUTTON']+'\x20'+_0x392bdc['TERTIARY'],'isToggleable':!0x0,'tooltipPosition':_0x46b3b5}),_0x2364d9['on']('execute',()=>{this['fire']('toggleReasoning');}),_0x2364d9;}['_createCommandsButton'](){const _0x25852a=new ckeditor5['ButtonView']();return _0x25852a['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_COMMANDS'),'icon':ckeditor5['IconAI'],'withText':!0x0,'class':_0x3dd386['CONTROLS_BUTTON']+'\x20'+_0x392bdc['TERTIARY'],'isToggleable':!0x0,'tooltip':getTranslation$i(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':_0x46b3b5}),_0x25852a['extendTemplate']({'attributes':{'class':[_0x3dd386['COMMANDS_BUTTON']]}}),_0x25852a['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0x25852a;}['_createModelSelectionDropdown'](){const _0xc9c3ca=ckeditor5['createDropdown'](this['locale']);return _0xc9c3ca['set']({'panelPosition':'ne','class':[_0x3dd386['MODEL_SELECTION']]}),_0xc9c3ca['buttonView']['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':_0x46b3b5,'class':_0x392bdc['TERTIARY']}),this['listenTo'](_0xc9c3ca,'execute',_0x11a458=>{this['fire']('selectModel',_0x11a458['source']['model']);}),_0xc9c3ca;}['_createModelNameView'](){const _0x1084d7=new _0x48fd7c(this['locale']);return _0x1084d7['bind']('text')['to'](this,'activeModelName',_0x2612d9=>_0x2612d9??''),_0x1084d7['bind']('isVisible')['to'](this,'modelDisplayMode',_0x48f846=>'name'===_0x48f846),_0x1084d7;}}let ModelButtonLabelView$1=class extends ckeditor5['ButtonLabelView']{constructor(_0x491b8b,_0x2d27b3){super();const _0x5436a6=this['bindTemplate'],_0x511444=this['createCollection']();this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x5436a6['to']('style'),'id':_0x5436a6['to']('id')},'children':[{'tag':'div','attributes':{'class':[_0x3dd386['MODEL_SELECTION_ITEM_NAME']]},'children':[{'text':_0x5436a6['to']('text')}]},{'tag':'div','attributes':{'class':[_0x3dd386['MODEL_SELECTION_ITEM_DESCRIPTION']]},'children':[{'tag':'span','children':[{'text':_0x2d27b3['description']}]}]},{'tag':'div','attributes':{'class':[_0x3dd386['MODEL_SELECTION_ITEM_CAPABILITIES']]},'children':_0x511444}]}),_0x511444['addMany'](this['_getCapabilityParts'](_0x491b8b,ckeditor5['IconWeb'],'AI_CHAT_SEARCH_WEB',_0x2d27b3['capabilities']['webSearch']?.['enabled']??!0x1)),_0x511444['addMany'](this['_getCapabilityParts'](_0x491b8b,ckeditor5['IconBulb'],'AI_CHAT_REASONING',_0x2d27b3['capabilities']['reasoning']?.['enabled']??!0x1));}['_getCapabilityParts'](_0x1cf102,_0x4fc53a,_0x582a1d,_0x28aab1){const _0x366bc3=new ckeditor5['IconView']();_0x366bc3['content']=_0x4fc53a;const _0x5128f5=new ckeditor5['View'](_0x1cf102);_0x5128f5['setTemplate']({'tag':'span','children':[{'text':getTranslation$i(_0x1cf102,_0x582a1d)+':\x20'}]});const _0xffe09c=new ckeditor5['View'](_0x1cf102);return _0xffe09c['setTemplate']({'tag':'span','children':[{'text':getTranslation$i(_0x1cf102,_0x28aab1?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x366bc3,_0x5128f5,_0xffe09c];}},_0x48fd7c=class extends ckeditor5['View']{constructor(_0x4e5ae1){super(_0x4e5ae1),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x5460f3=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-chat-controls__model-name',_0x5460f3['if']('isVisible','ck-hidden',_0x1c7057=>!_0x1c7057)]},'children':[{'text':_0x5460f3['to']('text')}]});}};const _0x10303d={'URL_FORM':'ck-ai-chat-context-controls__url-form','URL_INPUT_SECTION':'ck-ai-chat-context-controls__url-input-section'},_0x1641ea='n';class AIChatContextPanelUrlInputView extends ckeditor5['View']{['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['urlInputField'];['backButton'];['confirmButton'];constructor(_0x9db597){super(_0x9db597),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'](_0x33d7ae=>{this['focusTracker']['add'](_0x33d7ae['element']),this['keystrokes']['listenTo'](_0x33d7ae['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'](_0x371e19){this['urlInputField']['errorText']=_0x371e19,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}['_createBackButton'](){const _0x59ef60=new ckeditor5['ButtonView'](this['locale']);return _0x59ef60['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':_0x1641ea,'class':['ck-button-icon\x20ck-button-back']}),this['on']('change:withBackButton',(_0x429975,_0x232075,_0x4eea64)=>{_0x59ef60['set']({'class':['ck-button-icon\x20ck-button-back'+(_0x4eea64?'':'\x20ck-hidden')]});}),_0x59ef60;}['_createUrlInputField'](){const _0x192a02=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputText']);return _0x192a02['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0x192a02['fieldView']['set']({'placeholder':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0x192a02;}['_createConfirmButton'](){const _0x1f1599=new ckeditor5['ButtonView'](this['locale']);return _0x1f1599['set']({'icon':ckeditor5['IconCheck'],'tooltip':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':_0x1641ea,'class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x1f1599;}['_setupTemplate'](){const _0x29be8b=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'});_0x29be8b['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':_0x10303d['URL_FORM'],'tabindex':'-1'},'children':[_0x29be8b,{'tag':'div','attributes':{'class':_0x10303d['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',_0x437568=>{_0x437568['stop'](),this['_handleSubmit']();});}['_setupKeystrokes'](){this['keystrokes']['set']('esc',(_0x5473ca,_0x54400d)=>{this['clear'](),this['fire']('cancel'),_0x54400d();});}['_handleSubmit'](){const _0xcae330=this['getValue']()['trim']();_0xcae330?this['_isValidUrl'](_0xcae330)?(this['clearError'](),this['fire']('submitUrl',_0xcae330)):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 _0x12eb6f=this['getValue']()['trim'](),_0x4d5053=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x12eb6f['length']>0x0&&!_0x4d5053;}['_isValidUrl'](_0x3f1434){try{return!!new URL(_0x3f1434);}catch{return!0x1;}}}const _0x36e1c3={'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(_0x2578f8,_0x2f17df){super(_0x2578f8),this['resource']=_0x2f17df,this['set']('isInContext',!!_0x2f17df['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}['getResourceIcon'](_0x52d942){if(_0x52d942['isInContext'])return ckeditor5['IconCheck'];switch(_0x52d942['type']){case'document':return ckeditor5['IconDocument'];case'web-resource':return ckeditor5['IconLink'];case'file':case'text':return ckeditor5['IconFileUpload'];default:return ckeditor5['IconDocumentOutline'];}}['highlightText'](_0x4a00dc){if(!_0x4a00dc||''===_0x4a00dc['trim']())return void this['_titleView']['highlightText'](null);const _0x48e351=new RegExp(_0x5b95df(_0x4a00dc),'gi');this['_titleView']['highlightText'](_0x48e351);}['updateResourceState'](_0x531d11){this['resource']['isInContext']=_0x531d11,this['isInContext']=_0x531d11,this['_updateIcon']();}['_createTitleView'](){const _0x817a6e=new ckeditor5['HighlightedTextView']();return _0x817a6e['text']=this['resource']['label'],_0x817a6e['extendTemplate']({'tag':'span','attributes':{'class':[_0x36e1c3['ITEM_TITLE']]}}),_0x817a6e;}['_createIconView'](){const _0xd28174=new ckeditor5['IconView']();return _0xd28174['content']=this['getResourceIcon'](this['resource']),_0xd28174;}['_setupTemplate'](){const _0x8747b2=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[_0x36e1c3['ITEM'],_0x8747b2['if']('isVisible','ck-hidden',_0x3f775b=>!_0x3f775b),_0x8747b2['if']('isInContext',_0x36e1c3['ITEM_IN_CONTEXT'])]},'children':[{'tag':'div','attributes':{'class':[_0x36e1c3['ITEM_ICON']]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0x8747b2['to']('execute')}});}['_updateIcon'](){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}}const _0x285c10={'LIST':'ck-ai-chat-resources__list'};class AIChatContextResourcesListView extends ckeditor5['ListView']{['_source'];constructor(_0x1b68f9,_0x9f6ee2){super(_0x1b68f9),this['_source']=_0x9f6ee2,this['extendTemplate']({'attributes':{'class':[_0x285c10['LIST']]}});}['setResources'](_0x22efbf,_0x204cce){this['items']['clear']();let _0x5bcb41=_0x22efbf;if(this['_source']['useDefaultFiltering']&&_0x204cce&&''!==_0x204cce['trim']()){const _0xdca731=new RegExp(_0x204cce['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0x5bcb41=_0x22efbf['filter'](_0x5d0231=>_0xdca731['test'](_0x5d0231['label']));}for(const _0x576728 of _0x5bcb41){const _0xbeb856=new AIChatResourceListItemView(this['locale'],_0x576728);_0xbeb856['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x576728);}),this['items']['add'](_0xbeb856);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0x204cce);}['highlightText'](_0x4d517e){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x16dbb4=>{_0x16dbb4['highlightText'](_0x4d517e);});}['updateResourceState'](_0x286f67,_0x33f30a){for(const _0x236833 of this['items']){const _0x2150a8=_0x236833;_0x2150a8['resource']['id']===_0x286f67&&_0x2150a8['updateResourceState'](_0x33f30a);}}['_handleResourceSelection'](_0x475ca4,_0x2994b7){this['fire']('addResourceToContext',{'source':_0x475ca4,'resource':_0x2994b7});}}class AIChatContextResourcesSearchInputView extends ckeditor5['LabeledFieldView']{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x2476c3){const t=_0x2476c3['t'],_0x1aa12b={'showResetButton':!0x0,'showIcon':!0x0,'creator':ckeditor5['createLabeledInputText'],'label':getTranslation$i(_0x2476c3,'AI_CHAT_SEARCH_RESOURCES')};super(_0x2476c3,_0x1aa12b['creator']),this['label']=_0x1aa12b['label'],this['_viewConfig']=_0x1aa12b,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x2476c3,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x1049d9){this['fire']('search',_0x1049d9);}['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'](_0x385d5b,t){this['resetButtonView']=new ckeditor5['ButtonView'](_0x385d5b),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',_0x2ef6b9=>!_0x2ef6b9),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(_0x49f51e,_0x4591da){super(_0x49f51e),this['_source']=_0x4591da['source'],this['_searchInputVisibleFrom']=_0x4591da['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 _0x759cdf=new ckeditor5['View'](this['locale']);return _0x759cdf['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x5f331b,_0x2c18db)=>{this['loadResources'](_0x2c18db),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0x2c18db);}),_0x759cdf;}['_createResourcesListView'](){const _0x4bba27=new AIChatContextResourcesListView(this['locale'],this['_source']);return _0x4bba27['delegate']('addResourceToContext')['to'](this),_0x4bba27['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x4bba27;}['_createSkeletonView'](){const _0x3ea7d4=new AISkeletonView(this['locale'],_0x1ea99b['aiChatResources']);return _0x3ea7d4['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0x1de712=>!_0x1de712)]}}),_0x3ea7d4;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x19e679){const _0x3db48a=ckeditor5['uid']();this['_latestLoadResourcesUid']=_0x3db48a,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x19e679,'uid':_0x3db48a}),this['isLoading']=!0x0;}['setResources'](_0x5c8292,_0x539549){if(_0x539549&&_0x539549!==this['_latestLoadResourcesUid'])return;const _0x452d3a=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0x5c8292,_0x452d3a),_0x5c8292['length']>=this['_searchInputVisibleFrom']&&!this['children']['has'](this['_searchSection'])&&this['children']['add'](this['_searchSection'],0x0),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}['updateResourceState'](_0x1387ef,_0xaa3821){this['_resourcesListView']['updateResourceState'](_0x1387ef,_0xaa3821);}}const _0xf39dbf={'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'},_0x332ade='n';class AIChatResourcesBalloonView{['_sourceResourceBalloons']=new Map();['_bodyCollection'];['_locale'];['_config'];constructor(_0x4b6570,_0x1f00f8,_0x5f5260){this['_locale']=_0x4b6570,this['_bodyCollection']=_0x1f00f8,this['_config']=_0x5f5260;}['showSourceResourcesBalloon']({source:_0x3ccd2d,withBackButton:_0x509dd8}){let _0x2b6977=this['_sourceResourceBalloons']['get'](_0x3ccd2d['id']);_0x2b6977||(_0x2b6977=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0x3ccd2d['id'],_0x2b6977),this['_setupSingleResourceBalloonClickOutsideHandler'](_0x2b6977)),this['_addSourceResourceContent']({'balloonPanel':_0x2b6977,'source':_0x3ccd2d,'withBackButton':_0x509dd8}),_0x2b6977['show']();const _0x4d48ac=this['_config']['getTargetElement']();_0x4d48ac&&_0x2b6977['pin']({'target':_0x4d48ac,'limiter':this['_config']['getLimiterElement']()});}['populateSourceResourceBalloon'](_0x5e80fc,_0x5c2468,_0x330664){const _0x140520=this['_sourceResourceBalloons']['get'](_0x5e80fc);if(!_0x140520)return;const _0x3bd58d=this['_getResourcesViewFromBalloon'](_0x140520);_0x3bd58d&&(_0x3bd58d['setResources'](_0x5c2468,_0x330664),_0x3bd58d['once']('change:isLoading',()=>{_0x140520['pin']({'target':this['_config']['getTargetElement'](),'limiter':this['_config']['getLimiterElement']()});}));}['closeSourceResourceBalloon'](_0x338eda){const _0x511ed8=this['_sourceResourceBalloons']['get'](_0x338eda);_0x511ed8&&requestAnimationFrame(()=>{_0x511ed8['hide'](),this['_sourceResourceBalloons']['delete'](_0x338eda),this['_config']['onBalloonClosed']();});}['isAnyResourceBalloonVisible'](){for(const _0x257423 of this['_sourceResourceBalloons']['values']())if(_0x257423['isVisible'])return!0x0;return!0x1;}['updateResourceState'](_0x35b0e7,_0x468e12,_0x5d7aad){const _0x42a824=this['_sourceResourceBalloons']['get'](_0x35b0e7);if(!_0x42a824||!_0x42a824['isVisible'])return;const _0x3b04ae=this['_config']['getTargetElement']();if(!_0x3b04ae)return;_0x42a824['pin']({'target':_0x3b04ae,'limiter':this['_config']['getLimiterElement']()});const _0x48787d=this['_getResourcesViewFromBalloon'](_0x42a824);_0x48787d&&_0x48787d['updateResourceState'](_0x468e12,_0x5d7aad);}['destroy'](){for(const _0x463f80 of this['_sourceResourceBalloons']['values']())_0x463f80['destroy']();this['_sourceResourceBalloons']['clear']();}['_createSourceResourceBalloonPanel'](){const _0x4f1248=new ckeditor5['BalloonPanelView'](this['_locale']);return _0x4f1248['extendTemplate']({'attributes':{'class':_0xf39dbf['SOURCE_BALLOON_PANEL']}}),this['_bodyCollection']['add'](_0x4f1248),_0x4f1248;}['_addSourceResourceContent']({balloonPanel:_0x48982b,source:_0x56682f,withBackButton:_0x5d9416}){_0x48982b['content']['clear']();const _0x473465=this['_createBalloonHeader']({'balloonPanel':_0x48982b,'source':_0x56682f,'withBackButton':_0x5d9416});_0x48982b['content']['add'](_0x473465);const _0x1fd922=this['_createBalloonResourcesView'](_0x56682f);_0x48982b['content']['add'](_0x1fd922);}['_createBalloonHeader']({balloonPanel:_0x1599db,source:_0x208916,withBackButton:_0x3a88c5}){const _0xe0a17f=new ckeditor5['FormHeaderView'](this['_locale'],{'label':_0x208916['label'],'class':_0xf39dbf['SOURCE_HEADER']});return _0x3a88c5&&_0xe0a17f['children']['add'](this['_createBackButton'](_0x1599db),0x0),_0xe0a17f;}['_createBackButton'](_0x42babf){const _0x50efd4=new ckeditor5['ButtonView'](this['_locale']);return _0x50efd4['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':_0x332ade,'class':_0xf39dbf['SOURCE_BACK_BUTTON']}),_0x50efd4['on']('execute',()=>{_0x42babf['hide'](),this['_config']['onBackToContext']();}),_0x50efd4;}['_createBalloonResourcesView'](_0x44a2f6){const _0x1dadbf=new AIChatContextResourcesView(this['_locale'],{'source':_0x44a2f6,'searchInputVisibleFrom':this['_config']['searchInputVisibleFrom']});return _0x1dadbf['on']('loadSourceResources',(_0x224dc9,_0x57b1c6)=>{this['_config']['onLoadSourceResources'](_0x57b1c6);}),_0x1dadbf['on']('addResourceToContext',(_0x20d67a,_0x576bb2)=>{this['_config']['onResourceSelected'](_0x576bb2['source'],_0x576bb2['resource']),this['closeSourceResourceBalloon'](_0x44a2f6['id']);}),_0x1dadbf;}['_getResourcesViewFromBalloon'](_0x2b1b21){const _0x4d4b85=_0x2b1b21['content']['get'](0x1);return _0x4d4b85 instanceof AIChatContextResourcesView?_0x4d4b85:null;}['_setupSingleResourceBalloonClickOutsideHandler'](_0x242e99){ckeditor5['clickOutsideHandler']({'emitter':_0x242e99,'contextElements':[_0x242e99['element']],'callback':()=>{_0x242e99['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0x242e99['isVisible']});}}const _0x2183ce=['addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources','executeCustomItemCallback'],_0x3c1467={'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'},_0x505ec2='sw',_0x18c633=[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(_0x4854ba,_0x3ccf17){super(_0x4854ba),this['bodyCollection']=_0x3ccf17['bodyCollection'],this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0x4854ba),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0x4854ba),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0x4854ba),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0x4854ba,_0x3ccf17);const _0x3cf387={'cssClasses':{'showMoreButton':_0x3c1467['SHOW_MORE_BUTTON']+'\x20'+_0x392bdc['TERTIARY'],'showMoreBalloon':_0x3c1467['SHOW_MORE_BALLOON'],'overflowContainer':_0x3c1467['CONVERSATION_CONTEXT_CHIPS'],'controlsButton':_0x3c1467['CONTROLS_BUTTON']}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x4854ba,this['_currentContextsChips'],_0x3cf387,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'](_0x51797e,_0x44c0f9){const _0x416bf3=this['_createContextButton'](_0x51797e,'current',!0x0,_0x44c0f9);this['_addContextToCollection'](_0x416bf3,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}['removeContextItem'](_0xfc505f){this['_removeContextFromCollection'](_0xfc505f,this['_currentContextsChips']),this['_removeContextFromCollection'](_0xfc505f,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}['setContextItemLoading'](_0x36a35a,_0x264a8e){let _0x5cbaf5=this['_currentContextsChips']['find'](_0xb5c32f=>_0xb5c32f['id']===_0x36a35a);_0x5cbaf5||(_0x5cbaf5=this['_overflowManager']['overflowChips']['find'](_0x41e415=>_0x41e415['id']===_0x36a35a)),_0x5cbaf5&&(_0x5cbaf5['isLoading']=_0x264a8e);}['setConversationContext'](_0x3e1e96){this['_conversationContextsChips']['clear']();for(const _0x51107c of _0x3e1e96){const _0x3742dd=this['_createContextButton'](_0x51107c,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0x3742dd,this['_conversationContextsChips']);}}['clearCurrentContextItems'](){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}['clearConversationContextItems'](){this['_conversationContextsChips']['clear']();}['updateResourceState'](_0x3f35c2,_0x604a27,_0x3aa0ff){this['_resourcesBalloonView']['updateResourceState'](_0x3f35c2,_0x604a27,_0x3aa0ff);}['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:_0x278e7b,withBackButton:_0x58aceb}){this['_resourcesBalloonView']['showSourceResourcesBalloon']({'source':_0x278e7b,'withBackButton':_0x58aceb}),this['addContextButtonView']['isOn']=!0x0;}['populateSourceResourceBalloon'](_0x4ab0ff,_0x30c22a,_0x158ff6,_0x30e64c){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0x4ab0ff,_0x158ff6,_0x30e64c);}['closeSourceResourceBalloon'](_0x123e6e){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x123e6e),this['addContextButtonView']['isOn']=!0x1;}['setAddContextOptions'](_0x183508){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x183508),this['_setAddContextButtonEnabled'](_0x183508);}['_setAddContextButtonEnabled'](_0x1219da){const _0xbbe2dc=!_0x1219da['document']['isHidden']&&_0x1219da['document']['enabled'],_0x5d8826=_0x1219da['urls']['enabled'],_0x293cda=_0x1219da['files']['enabled'],_0x2cae55=_0x1219da['sources']['length']>0x0,_0x176509=_0x1219da['customItems']&&_0x1219da['customItems']['length']>0x0;this['addContextButtonView']['isEnabled']=_0xbbe2dc||_0x5d8826||_0x293cda||_0x2cae55||_0x176509;}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':[_0x3c1467['CONTEXT_CONTROLS'],'ck-reset_all-excluded']},'children':[{'tag':'div','attributes':{'class':_0x3c1467['PENDING_CONTEXTS']},'children':this['_currentContextsChips']}]});}['_bindEventHandlers'](){this['addContextButtonView']['on']('execute',()=>{this['_handleAddContextButtonClick']();});}['_createAddContextButtonView'](_0x1b376b){const _0x246b95=new ckeditor5['ButtonView'](_0x1b376b);return _0x246b95['set']({'label':getTranslation$i(_0x1b376b,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':_0x3c1467['CONTROLS_BUTTON']+'\x20'+_0x3c1467['ADD_CONTEXT_BUTTON']+'\x20'+_0x392bdc['TERTIARY'],'icon':ckeditor5['IconPaperClip'],'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':_0x505ec2}),_0x246b95;}['_createAddContextBalloonPanelView'](_0x568d44){return this['_createBaseBalloonPanel'](_0x568d44,_0x3c1467['ADD_CONTEXT_BALLOON']);}['_createUrlBalloonPanelView'](_0x55c713){const _0xcbaa3d=this['_createBaseBalloonPanel'](_0x55c713,_0x3c1467['URL_BALLOON']);return this['_addUrlContent'](_0xcbaa3d,_0x55c713),_0xcbaa3d;}['_createResourcesBalloonView'](_0x20efbb,_0x537735){const _0x41027f={'searchInputVisibleFrom':_0x537735['searchInputVisibleFrom'],'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x18c633});},'onResourceSelected':(_0x152d98,_0x559684)=>{this['fire']('addResourceToContext',{'source':_0x152d98,'resource':_0x559684});},'onLoadSourceResources':_0x21147c=>{this['fire']('loadSourceResources',_0x21147c);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new AIChatResourcesBalloonView(_0x20efbb,_0x537735['bodyCollection'],_0x41027f);}['_getLimiterElement'](){return this['element']?.['closest']('.'+_0x3c1467['CHAT_CONTAINER'])||document['body'];}['_createBaseBalloonPanel'](_0x2d51c1,_0x30595c){const _0xfde3a6=new ckeditor5['BalloonPanelView'](_0x2d51c1);return _0xfde3a6['extendTemplate']({'attributes':{'class':_0x30595c}}),this['bodyCollection']['add'](_0xfde3a6),_0xfde3a6;}['_setBalloonPanelContent'](_0x11a8c4,_0x252f09,_0x2bc158){if(_0x11a8c4['content']['clear'](),!_0x2bc158['document']['isHidden']&&_0x2bc158['document']['enabled']){const _0x35973f=this['_createBalloonButton'](_0x252f09,{'label':getTranslation$i(_0x252f09,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':ckeditor5['IconDocument']});_0x35973f['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0x11a8c4['content']['add'](_0x35973f);}if(_0x2bc158['urls']['enabled']){const _0x4efcff=this['_createBalloonButton'](_0x252f09,{'label':getTranslation$i(_0x252f09,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':ckeditor5['IconLink']});_0x4efcff['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x18c633}),this['_urlInputView']['focus']();}),_0x11a8c4['content']['add'](_0x4efcff);}if(_0x2bc158['files']['enabled']){const _0x2743a9=new ckeditor5['FileDialogButtonView'](_0x252f09);_0x2743a9['set']({'label':getTranslation$i(_0x252f09,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':ckeditor5['IconBrowseFiles'],'withText':!0x0,'tooltip':!0x0,'class':_0x3c1467['BALLOON_BUTTON'],'allowMultipleFiles':!0x0}),_0x2743a9['on']('execute',()=>{this['hideAddContextBalloonPanel']();}),_0x2743a9['on']('done',(_0x4dcb06,_0x5ba21e)=>{this['fire']('addFileToContext',_0x5ba21e);}),_0x2743a9['tooltip']=!0x0,_0x11a8c4['content']['add'](_0x2743a9);}for(const _0x3d63f3 of _0x2bc158['sources']){const _0x39fe3b=this['_createBalloonButton'](_0x252f09,{'label':_0x3d63f3['label'],'icon':_0x3d63f3['icon']||ckeditor5['IconDocumentOutline'],'type':'source'});_0x11a8c4['content']['add'](_0x39fe3b),_0x39fe3b['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon']({'source':_0x3d63f3,'withBackButton':!this['_hasExactlyOneSource']});});}for(const _0x3532f0 of _0x2bc158['customItems']||[]){const _0x7a2915=this['_createBalloonButton'](_0x252f09,{'label':_0x3532f0['label'],'icon':_0x3532f0['icon']||ckeditor5['IconDocumentOutline'],'type':'customItem'});_0x11a8c4['content']['add'](_0x7a2915),_0x7a2915['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['fire']('executeCustomItemCallback',_0x3532f0);});}this['_hasExactlyOneSource']=0x1===_0x11a8c4['content']['length'],this['_urlInputView']['withBackButton']=!this['_hasExactlyOneSource'];}['_addUrlContent'](_0xa5467b,_0x2a3ae5){this['_urlInputView']=new AIChatContextPanelUrlInputView(_0x2a3ae5),this['_urlInputView']['on']('submitUrl',(_0x31cc3b,_0x3182c2)=>{this['_handleUrlSubmit'](_0x3182c2);}),this['_urlInputView']['on']('cancel',()=>{this['hideUrlBalloonPanel'](),this['_hasExactlyOneSource']||(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x18c633}));}),this['_urlInputView']['on']('refreshBalloon',()=>{this['_urlBalloonPanelView']['isVisible']&&this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x18c633});}),_0xa5467b['content']['add'](this['_urlInputView']);}['_createBalloonButton'](_0x4e6897,_0x139c6f){const _0x49c40a='source'===_0x139c6f['type']?new SourcesBalloonButtonView(_0x4e6897):new ckeditor5['ButtonView'](_0x4e6897);return _0x49c40a['set']({'label':_0x139c6f['label'],'icon':_0x139c6f['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':_0x505ec2,'class':_0x3c1467['BALLOON_BUTTON']}),_0x49c40a;}['_setupAllBalloonClickOutsideHandlers'](){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}['_setupUrlBalloonClickOutsideHandler'](){ckeditor5['clickOutsideHandler']({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}['_toggleAddContextBalloon'](_0x2be25d){const _0x1ac2aa=this['_addContextBalloonConfig'];_0x1ac2aa['buttonView']['isOn']=_0x2be25d,_0x2be25d?_0x1ac2aa['balloonView']['show']():_0x1ac2aa['balloonView']['hide']();}['_setupAddContextBalloonClickOutsideHandler'](){const {balloonView:_0x4b2732,buttonView:_0x2702fa,hideMethod:_0x55d2f8}=this['_addContextBalloonConfig'];ckeditor5['clickOutsideHandler']({'emitter':_0x4b2732,'contextElements':[_0x4b2732['element'],_0x2702fa['element']],'callback':()=>{_0x55d2f8();},'activator':()=>_0x2702fa['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}['_createContextButton'](_0x5403d1,_0x5042b6,_0x46e805=!0x1,_0x384de6=!0x1){const _0x5f1763='conversation'===_0x5042b6||!0x0===_0x5403d1['isReadOnly'],_0x26b299=new AIChatContextItemButtonView(this['locale'],_0x5403d1,_0x5f1763,_0x46e805,_0x384de6);return _0x5f1763||_0x26b299['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0x26b299['id']);}),_0x26b299;}['_addContextToCollection'](_0x3b3946,_0x11e5c7){_0x11e5c7['add'](_0x3b3946,0x0);}['_removeContextFromCollection'](_0x1c1108,_0x526f5b){const _0x27aca5=_0x526f5b['find'](_0x198a9a=>_0x198a9a['id']===_0x1c1108);_0x27aca5&&_0x526f5b['remove'](_0x27aca5);}['_handleAddContextButtonClick'](){this['addContextButtonView']['isOn']?this['hideAddContextBalloonPanel']():(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x18c633}),this['_hasExactlyOneSource']&&this['_addContextBalloonPanelView']['content']['get'](0x0)?.['fire']('execute'));}['_handleUrlSubmit'](_0x17bf91){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0x17bf91);}}class SourcesBalloonButtonView extends ckeditor5['ButtonView']{['arrowView'];constructor(_0x28443c){super(_0x28443c),this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':[_0x3c1467['BALLOON_BUTTON_SOURCE']]}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x5e8e37=new ckeditor5['IconView']();return _0x5e8e37['content']=ckeditor5['IconDropdownArrow'],_0x5e8e37['extendTemplate']({'attributes':{'class':_0x3c1467['BALLOON_BUTTON_SOURCE']+'__arrow'}}),_0x5e8e37;}}class AIChatControlsLoaderView extends ckeditor5['View']{['_cancelButtonView'];['_loaderView'];constructor(_0x22f80a){super(_0x22f80a),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 _0x35a6bf=new ckeditor5['ButtonView'](this['locale']);return _0x35a6bf['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_STOP_GENERATING'),'withText':!0x0,'class':_0x392bdc['SECONDARY']+'\x20ck-ai-button-stop-generating','icon':ckeditor5['IconStop']}),_0x35a6bf['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x35a6bf;}['_createLoaderView'](){const _0x5b400c=new ckeditor5['View'](this['locale']);return _0x5b400c['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')}]}),_0x5b400c;}}class AIChatControlsView extends ckeditor5['View']{['_contextPanelView'];['_promptInputView'];['_promptCapabilitiesView'];['_loaderView'];['_modelUnavailableMessageView'];['_shouldRestorePromptInputFocus'];constructor(_0x3f2ae1,_0x4f1532){super(_0x3f2ae1),this['_contextPanelView']=this['_createContextPanelView'](_0x3f2ae1,{'bodyCollection':_0x4f1532['bodyCollection'],'searchInputVisibleFrom':_0x4f1532['contextResourcesSearchInputVisibleFrom']}),this['_promptInputView']=this['_createPromptInputView'](_0x3f2ae1),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0x3f2ae1),this['_loaderView']=this['_createLoaderView'](_0x3f2ae1),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0x3f2ae1),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'](..._0x2183ce)['to'](this),this['set']('isModelAvailable',!0x0),this['set']('isDisabled',!0x1);const _0x306222=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0x306222['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0x306222['if']('isLoading','ck-hidden',_0x168284=>_0x168284||!this['isModelAvailable']),_0x306222['if']('isModelAvailable','ck-hidden',_0x357887=>!_0x357887||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0x306222['if']('isLoading','ck-hidden',_0x1ddc8d=>!_0x1ddc8d)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0x306222['if']('isModelAvailable','ck-hidden',_0x477bab=>_0x477bab)]},'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'](_0x325ac8,_0x500d3f){return new AIChatContextPanelView(_0x325ac8,_0x500d3f);}['_createPromptInputView'](_0x1ed3c7){return new AIChatPromptInputView(_0x1ed3c7,this['_contextPanelView']['addContextButtonView']);}['_createPromptCapabilitiesView'](_0x1f5cc3){return new AIChatPromptCapabilitiesView(_0x1f5cc3);}['_createLoaderView'](_0x522239){return new AIChatControlsLoaderView(_0x522239);}['_createModelUnavailableMessageView'](_0x4db726){const _0x463b1c=new AIChatModelUnavailableMessageView(_0x4db726);return _0x463b1c['delegate']('startConversation')['to'](this),_0x463b1c;}['_handlePromptInputFocus'](_0x46e390,_0x23d463,_0x12d2e5){_0x12d2e5?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}['addContextItem'](_0x1e975a,_0x50a66e){this['_contextPanelView']['addContextItem'](_0x1e975a,_0x50a66e);}['removeContextItem'](_0x410b1e){this['_contextPanelView']['removeContextItem'](_0x410b1e);}['setContextItemLoading'](_0x39d85d,_0x10a3a6){this['_contextPanelView']['setContextItemLoading'](_0x39d85d,_0x10a3a6);}['setIsUploadInProgress'](_0x305df4){this['_promptInputView']['setIsUploadInProgress'](_0x305df4);}['setConversationContext'](_0x3b3a0f){this['_contextPanelView']['setConversationContext'](_0x3b3a0f);}['clearPendingContextUI'](){this['_contextPanelView']['clearCurrentContextItems']();}['clearConversationContextUI'](){this['_contextPanelView']['clearConversationContextItems']();}['updateResourceState'](_0x3648e3,_0x50ff3f,_0x9b2bd){this['_contextPanelView']['updateResourceState'](_0x3648e3,_0x50ff3f,_0x9b2bd);}['setWebSearch'](_0x5c5d60){this['_promptCapabilitiesView']['setWebSearch'](_0x5c5d60);}['setReasoning'](_0x32e2c9){this['_promptCapabilitiesView']['setReasoning'](_0x32e2c9);}['resetMessageInput'](){this['_promptInputView']['reset']();}['setAddContextOptions'](_0x559697){this['_contextPanelView']['setAddContextOptions'](_0x559697);}['setInputPlaceholder'](_0x5acd3a){this['_promptInputView']['setPlaceholderText'](_0x5acd3a);}['setModelList'](_0x19744a,_0x548d89){this['_promptCapabilitiesView']['setModelList'](_0x19744a,_0x548d89);}['setModel'](_0x785b40){_0x785b40?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x785b40)):this['isModelAvailable']=!0x1;}['enableModelSelector'](){this['_promptCapabilitiesView']['enableModelSelector']();}['disableModelSelector'](_0x2f8eb4){this['_promptCapabilitiesView']['disableModelSelector'](_0x2f8eb4);}['populateSourceResourceBalloon'](_0x1b8d34,_0x2c47f6,_0x2a89c7,_0x12a862){this['_contextPanelView']['populateSourceResourceBalloon'](_0x1b8d34,_0x2c47f6,_0x2a89c7,_0x12a862);}['closeSourceResourceBalloon'](_0x4a3392){this['_contextPanelView']['closeSourceResourceBalloon'](_0x4a3392);}['focusPromptInput'](_0xf840af=!0x1){this['_promptInputView']['focus'](_0xf840af);}['setPromptInputValue'](_0x2f609b){this['_promptInputView']['queryView']['fieldView']['reset'](),this['_promptInputView']['queryView']['fieldView']['value']=_0x2f609b;}}class AIChatModelUnavailableMessageView extends ckeditor5['View']{constructor(_0x3515f4){super(_0x3515f4);const _0x1789d3=new ckeditor5['ButtonView'](_0x3515f4);_0x1789d3['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0x1789d3['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'},_0x1789d3]}]});}}class AIChatHeaderView extends ckeditor5['FormHeaderView']{['conversationStartButton'];['resizeButton'];constructor(_0x18f064,_0x2f5a6e){super(_0x18f064,{'label':getTranslation$i(_0x18f064,'AI_CHAT_HEADING'),'class':'ck-ai-header\x20ck-ai-header_chat','icon':ckeditor5['IconAIChat']}),this['set']('isMaximized',!0x1),this['conversationStartButton']=this['_createStartConversationButton'](_0x18f064),this['children']['add'](this['conversationStartButton']),_0x2f5a6e&&(this['resizeButton']=createResizeButton(_0x18f064,this),this['children']['add'](this['resizeButton']));}['_createStartConversationButton'](_0x3996af){const _0x149d31=new ckeditor5['ButtonView'](_0x3996af);return _0x149d31['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':ckeditor5['IconPlus'],'class':'ck-ai-chat__start-conversation\x20'+_0x392bdc['SECONDARY']}),_0x149d31['on']('execute',()=>{this['fire']('startConversation');}),_0x149d31;}}class _0x47a372 extends ckeditor5['View']{constructor(_0x302856){super(_0x302856),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':getTranslation$i(_0x302856,'AI_DISCLAIMER_TEXT')}]}]});}}class AIChatView extends ckeditor5['View']{['chatHeader'];['chatFeed'];['chatControls'];['chatDisclaimer'];['_bodyCollection'];constructor(_0x3e0abc,_0x487b43){super(_0x3e0abc),this['_bodyCollection']=new ckeditor5['BodyCollection'](_0x3e0abc),this['_bodyCollection']['attachToDom'](),this['chatHeader']=new AIChatHeaderView(_0x3e0abc,_0x487b43['showResizeButton']),this['chatHeader']['delegate'](..._0x2ce1ed)['to'](this),this['chatFeed']=new AIChatFeedView(_0x3e0abc,this['_bodyCollection']),this['chatFeed']['delegate'](..._0x2ce1ed)['to'](this),this['chatControls']=new AIChatControlsView(_0x3e0abc,{'bodyCollection':this['_bodyCollection'],'contextResourcesSearchInputVisibleFrom':_0x487b43['contextResourcesSearchInputVisibleFrom']}),this['chatControls']['delegate'](..._0x2ce1ed)['to'](this),this['chatDisclaimer']=new _0x47a372(_0x3e0abc),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x3e0abc['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}['populateSourceResourceBalloon'](_0x47330d,_0x33bf93,_0x5bd2b7,_0x431a05){this['chatControls']['populateSourceResourceBalloon'](_0x47330d,_0x33bf93,_0x5bd2b7,_0x431a05);}['closeSourceResourceBalloon'](_0x132edc){this['chatControls']['closeSourceResourceBalloon'](_0x132edc);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}}const _0x347bf2=0x1e;class AIChatUI extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x1b227a];}['_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(_0x19ff50){super(_0x19ff50);const _0x1c0fdf=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x5129ef(),this['_view']=new AIChatView(this['context']['locale'],{'showResizeButton':_0x1c0fdf['showResizeButton'],'contextResourcesSearchInputVisibleFrom':this['context']['config']['get']('ai.chat.context.searchInputVisibleFrom')}),this['_view']['delegate'](..._0x2ce1ed)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x7adfcc,{showDiff:_0xf6ebb3})=>{this['showDiff']=_0xf6ebb3;}),_0x1c0fdf['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',_0x79b695=>_0x79b695),this['_view']['chatFeed']['bind']('isPending')['to'](this,'isBusy',_0x52bf8c=>_0x52bf8c),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}['destroy'](){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}['createConversation'](_0x224bc1){const _0x575fdf=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'](_0x224bc1['availableModels'],!this['context']['config']['get']('ai.models.showModelSelector')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':_0x575fdf}),this['fire']('conversationCreated');}async['addFeedItemStaticMessage']({id:_0xc76c0f,staticMessage:_0x2e4034}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0xc76c0f,'initialContent':'<p>'+_0x2e4034+'</p>'});});}async['addFeedItemUserMessage'](_0x3acd81){const _0x39b2c2=_0x3acd81['attributes']?.['displayedPrompt']||_0x3acd81['userMessage'];return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x3acd81['contextItems']['values']()),'initialContent':'<p>'+_0x39b2c2+'</p>','id':_0x3acd81['id']});});}async['addFeedItemError']({errorMessage:_0x56a8a6,id:_0x3b79c9}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0x56a8a6+'</p>','id':_0x3b79c9});});}async['addFeedItemAIReply'](_0x173ac4){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x173ac4['interactionId']+':'+_0x173ac4['id']}),this['clearLoadingMessage']();});}async['addFeedItemAISuggestion'](_0x3fe493){const _0x2acbef=getEditorFromContext(this['context']);let _0x20ebf4=_0x2acbef['config']['get']('ai.availableReplyActions')||[..._0x469b04];if(_0x2acbef['plugins']['has']('TrackChanges')){if(!this['_isTrackChangesCommandValueBound']){this['_isTrackChangesCommandValueBound']=!0x0;const _0x14ac3d=_0x2acbef['commands']['get']('trackChanges');this['_view']['chatFeed']['bind']('isTrackChangesOn')['to'](_0x14ac3d,'value');}}else _0x20ebf4=_0x20ebf4['filter'](_0xeafa14=>'insertSuggestion'!=_0xeafa14);return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0x3fe493['interactionId']+':'+_0x3fe493['id'],'areActionsDisabled':_0x3fe493['areActionsDisabled'],'showDiff':this['showDiff'],'availableActions':_0x20ebf4}),this['clearLoadingMessage']();});}async['addFeedInteractionHeader'](_0x52af20,_0x2cfd2d){return this['_promiseQueue']['enqueue'](async()=>{const _0x15658c=this['_view']['chatFeed']['children']['last'];if(_0x15658c instanceof AIChatFeedInteractionHeaderView)return this['_view']['chatFeed']['children']['remove'](_0x15658c),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x52af20['id'],'capabilities':{'isWebSearchEnabled':_0x15658c['capabilities']['isWebSearchEnabled']||_0x2cfd2d['isWebSearchEnabled'],'isReasoningEnabled':_0x15658c['capabilities']['isReasoningEnabled']||_0x2cfd2d['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x52af20['id'],'capabilities':_0x2cfd2d});});}async['addFeedItemCustomElement'](_0x418263,_0x73351){let _0x3983b2;return await this['_promiseQueue']['enqueue'](async()=>{_0x3983b2=this['_view']['chatFeed']['addItem']('custom-element',{'content':_0x418263,'id':_0x73351});}),_0x3983b2;}['removeFeedItem'](_0x5681e0){this['_view']['chatFeed']['removeItem'](_0x5681e0);}['hasFeedItem'](_0x4bd5ca){return this['_view']['chatFeed']['hasItem'](_0x4bd5ca);}['updateFeedInteractionHeader'](_0xc594f7){const _0x103622=this['_view']['chatFeed']['children']['find'](_0x19e8ec=>_0x19e8ec['options']['id']==_0xc594f7['id']&&_0x19e8ec instanceof AIChatFeedInteractionHeaderView);_0x103622&&_0x103622['set']('isVisible',_0xc594f7['isVisible']);}async['updateFeedItemAIReplyContent'](_0x314848){const _0x34c3f3=_0x314848['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x483eae=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x314848,'abortSignal':_0x483eae,'renderingStrategy':_0x34c3f3}),_0x314848['isDone']&&this['markFeedItemAsDone'](_0x314848['id']);});}['updateFeedItemAIReplySources'](_0x44d379,_0x375827){this['_view']['chatFeed']['updateWebSources'](_0x44d379,_0x375827);}async['updateFeedItemAIReplySuggestionContent'](_0x2db444){const _0x1c2626=_0x2db444['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x1855df=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0x2db444,'abortSignal':_0x1855df,'renderingStrategy':_0x1c2626}),_0x2db444['isDone']&&this['markFeedItemAsDone'](_0x2db444['id']);});}['updateFeedItemAIReplySuggestionPartState'](_0x3c689c){this['_view']['chatFeed']['updateSuggestionPartState'](_0x3c689c);}['setFeedItemAIReplySuggestionPartActive'](_0x913dc5){this['_view']['chatFeed']['setSuggestionPartActive'](_0x913dc5);}['markFeedItemAsDone'](_0x27e272){this['_view']['chatFeed']['markItemAsDone'](_0x27e272);}['removeFeedInteraction'](_0x5ad56a){this['_view']['chatFeed']['getItemIds']()['filter'](_0x3229c7=>_0x3229c7['startsWith'](_0x5ad56a))['forEach'](_0x496d3a=>this['_view']['chatFeed']['removeItem'](_0x496d3a));}['startInteraction'](){const _0x51e23f=this['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1});this['setLoadingMessage'](_0x51e23f),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.models.showModelSelector')),this['isBusy']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}['stopInteraction'](_0xa14325){this['_promiseQueue']['abort'](),this['_view']['chatFeed']['getItemIds']()['filter'](_0x24b19e=>_0x24b19e['startsWith'](_0xa14325['id']))['forEach'](_0x2a5aa7=>this['markFeedItemAsDone'](_0x2a5aa7)),this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();}async['finishInteraction'](){return this['_promiseQueue']['queueEmptyPromise']['then'](()=>{this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();});}['addContextItem'](_0x40d459,_0x53c8d3){this['_view']['chatControls']['addContextItem'](_0x40d459,_0x53c8d3);}['removeContextItem'](_0x20e20a){this['_view']['chatControls']['removeContextItem'](_0x20e20a);}['setContextItemLoading'](_0x345bcc,_0x3b5589){this['_view']['chatControls']['setContextItemLoading'](_0x345bcc,_0x3b5589);}['setIsUploadInProgress'](_0x2439b6){this['_view']['chatControls']['setIsUploadInProgress'](_0x2439b6);}['setConversationContext'](_0x579825){this['_view']['chatControls']['setConversationContext'](_0x579825);}['clearPendingContextUI'](){this['_view']['chatControls']['clearPendingContextUI']();}['clearConversationContextUI'](){this['_view']['chatControls']['clearConversationContextUI']();}['updateResourceState'](_0x4037c1,_0x5f2140,_0x720baf){this['_view']['chatControls']['updateResourceState'](_0x4037c1,_0x5f2140,_0x720baf);}['resetMessageInput'](){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}['setAddContextOptions'](_0x17f5c3){this['_view']['chatControls']['setAddContextOptions'](_0x17f5c3);}['updateCapabilities'](_0xf8a948){this['_view']['chatControls']['setWebSearch'](_0xf8a948['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0xf8a948['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0xf8a948));}['setSelectedModel'](_0x58425b,_0x21882){this['_view']['chatControls']['setModel'](_0x58425b),_0x21882&&this['_view']['chatControls']['disableModelSelector'](!0x1);}['setFeedItemRenderingStrategy'](_0x4b3c73){this['feedItemRenderingStrategy']=_0x4b3c73;}['toggleLoadingSkeleton'](_0x1d083e){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0x1d083e);}['resetConversationTitle'](){this['setConversationTitle'](getTranslation$i(this['context']['locale'],'AI_CHAT_HEADING'));}['setConversationTitle'](_0x2da96e,_0x5f1218=!0x1){if(_0x5f1218&&!ckeditor5['_isMotionReduced']()&&_0x2da96e['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0x2da96e);this['_view']['chatHeader']['label']=_0x2da96e;}['setLoadingMessage'](_0x2dfa4c){this['_view']['chatFeed']['setLoadingMessage'](_0x2dfa4c);}['clearLoadingMessage'](){this['_view']['chatFeed']['setLoadingMessage']('');}['_animateConversationTitle'](_0x5ef4a0){let _0x5cdf14=0x0;clearInterval(this['_titleAnimationInterval']),this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x5ef4a0[_0x5cdf14],_0x5cdf14++,_0x5cdf14===_0x5ef4a0['length']&&clearInterval(this['_titleAnimationInterval']);},_0x347bf2);}['setIsMaximized'](_0x531d04){this['_view']['chatHeader']['isMaximized']=_0x531d04;}['prepareLoadingMessage'](_0x443e43){return _0x443e43['isWebSearchEnabled']&&_0x443e43['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0x443e43['isWebSearchEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0x443e43['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR');}['_getInputPlaceholder'](_0x5bf8ab){return _0x5bf8ab?_0x5bf8ab['isWebSearchEnabled']&&_0x5bf8ab['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x5bf8ab['isWebSearchEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x5bf8ab['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'](_0x51f099,_0x5b354f,_0x51d96c,_0x396e3c){this['_view']['populateSourceResourceBalloon'](_0x51f099,_0x5b354f,_0x51d96c,_0x396e3c);}['closeSourceResourceBalloon'](_0x4a9753){this['_view']['closeSourceResourceBalloon'](_0x4a9753);}['setPromptInputValue'](_0x170cf5){this['_view']['chatControls']['setPromptInputValue'](_0x170cf5);}['focusPromptInput'](_0x43c8c3=!0x1){this['_view']['chatControls']['focusPromptInput'](_0x43c8c3);}['scrollFeedToSuggestion'](_0x59c9f9,_0x5d1860){this['_view']['chatFeed']['scrollToSuggestion'](_0x59c9f9,_0x5d1860);}['startAutoScroll'](){this['_view']['chatFeed']['startAutoScroll']();}['disableControls'](){this['_view']['chatControls']['isDisabled']=!0x0;}['enableControls'](){this['_view']['chatControls']['isDisabled']=!0x1;}}class AIChatHistorySectionListView extends ckeditor5['ListView']{['sections'];constructor(_0x1e7151,_0x5a73ec){super(_0x1e7151),this['sections']=_0x5a73ec,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}['filter'](_0x51b888){let _0x4f12f5=0x0,_0x3aedb4=0x0;for(const _0xb48ef3 of this['sections']){const {resultsCount:_0x5c631c,totalItemsCount:_0x5c51cf}=_0xb48ef3['filter'](_0x51b888);_0x4f12f5+=_0x5c631c,_0x3aedb4+=_0x5c51cf;}return{'resultsCount':_0x4f12f5,'totalItemsCount':_0x3aedb4};}}class AIChatHistoryListView extends ckeditor5['ListItemView']{['title'];['itemsViews'];['_itemsListView'];constructor(_0x1caccf,{title:_0x314859,items:_0x5a018a}){super(_0x1caccf);const _0x217597=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x314859,this['itemsViews']=_0x5a018a;const _0xbe1248=new ckeditor5['View'](_0x1caccf);_0xbe1248['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new ckeditor5['ListView'](_0x1caccf),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x217597['if']('isVisible','ck-hidden',_0x16bfd4=>!_0x16bfd4)]},'children':[_0xbe1248,this['_itemsListView']]});}['filter'](_0x19b0da){const _0x250ae9=this['itemsViews']['length'];let _0x439e9b=0x0;for(const _0x19072e of this['itemsViews']){if(_0x19b0da){const _0x515907=_0x19072e['isMatching'](_0x19b0da);_0x19072e['isVisible']=!!_0x515907,_0x19072e['highlightText'](_0x19b0da);}else _0x19072e['isVisible']=!0x0,_0x19072e['highlightText'](null);_0x19072e['isVisible']&&_0x439e9b++;}return this['isVisible']=_0x439e9b>0x0,{'resultsCount':_0x439e9b,'totalItemsCount':_0x250ae9};}['getItem'](_0x3a7a27){return this['itemsViews']['find'](_0x39d58c=>_0x39d58c['id']===_0x3a7a27);}['removeItem'](_0x32694e){const _0x56a0c6=this['itemsViews']['indexOf'](_0x32694e);-0x1!==_0x56a0c6&&(this['itemsViews']['splice'](_0x56a0c6,0x1),this['_itemsListView']['items']['remove'](_0x32694e));}}class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
_0x605636(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(_0x4b38d5,_0x42c4f0){super(_0x4b38d5);const _0x167929=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x42c4f0['pinned']),this['set']('loadingState',null),this['id']=_0x42c4f0['id'];const {title:_0xe68f02,createdAt:_0x574cff,active:_0x906bd7=!0x1}=_0x42c4f0;this['_titleView']=new ckeditor5['HighlightedTextView'](),this['_titleView']['text']=_0xe68f02,this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x1a0c88=this['_createCheckView'](),_0x1ac7ac=this['_createPinButtonView'](_0x4b38d5),_0x51768c=this['_createMenuDropdownView'](),_0x5ee353=this['_createEditInputView'](_0x4b38d5,_0xe68f02),_0x483404=this['_createAcceptEditButtonView'](_0x4b38d5,_0x5ee353),_0x409068=this['_createCancelEditButtonView'](_0x4b38d5,_0x5ee353);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0x1ac7ac),this['actions']['add'](_0x51768c),this['on']('change:isEdit',(_0xc46dfd,_0x59ea01,_0x167047)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x167047?(this['actions']['add'](_0x483404),this['actions']['add'](_0x409068),this['mainContent']['add'](_0x5ee353),_0x5ee353['element']['focus']()):(this['actions']['add'](_0x1ac7ac),this['actions']['add'](_0x51768c),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x906bd7?'ck-ai-chat-history__item--active':'',_0x167929['if']('isVisible','ck-hidden',_0x4ccfc2=>!_0x4ccfc2),_0x167929['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',_0x167929['if']('loadingState','ck-hidden',_0x41ec70=>!!_0x41ec70)]},'children':_0x906bd7?[_0x1a0c88]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x167929['if']('loadingState','ck-hidden',_0x2179ed=>!_0x2179ed)]},'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',_0x167929['if']('loadingState','ck-hidden',_0x2e65de=>!!_0x2e65de)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x167929['if']('loadingState','ck-hidden',_0x47b3d9=>!_0x47b3d9)]},'children':[{'text':_0x167929['to']('loadingState',_0x173d5c=>_0x173d5c?getTranslation$i(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0x173d5c]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x574cff]}]},{'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'](_0x468e25){this['_titleView']['text']=_0x128121(_0x468e25);}['updateLoadingState'](_0x4b6817,_0x59e44b){this['set']('loadingState',_0x59e44b?_0x4b6817:null);}['_createCheckView'](){const _0x3f0c5c=new ckeditor5['IconView']();return _0x3f0c5c['set']({'content':ckeditor5['IconCheck']}),_0x3f0c5c;}['_createPinButtonView'](_0x312724){const _0x97ece1=new ckeditor5['ButtonView'](_0x312724);return _0x97ece1['set']({'label':getTranslation$i(_0x312724,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':ckeditor5['IconPin'],'withText':!0x1,'tooltip':!0x0}),_0x97ece1['bind']('isOn')['to'](this,'pinned'),_0x97ece1['on']('execute',()=>{const _0x199ad5=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0x199ad5});}),_0x97ece1;}['_createMenuDropdownView'](){const _0x3b7ecb=ckeditor5['createDropdown'](this['locale']),_0x5a9bb8=_0x3b7ecb['panelView']['children'];_0x3b7ecb['buttonView']['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':ckeditor5['IconThreeHorizontalDots']}),_0x3b7ecb['panelPosition']='sw';const _0x26571c=new ckeditor5['ButtonView'](this['locale']);_0x26571c['label']=getTranslation$i(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x26571c['withText']=!0x0,_0x26571c['on']('execute',()=>{this['isEdit']=!0x0;});const _0x31c443=new ckeditor5['ButtonView'](this['locale']);_0x31c443['label']=getTranslation$i(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x31c443['withText']=!0x0,_0x31c443['on']('execute',()=>{this['showConfirm'](getTranslation$i(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0x540ce5=new ckeditor5['ListView'](this['locale']),_0x90881c=new ckeditor5['ListItemView'](this['locale']);_0x90881c['children']['add'](_0x26571c);const _0x961f53=new ckeditor5['ListItemView'](this['locale']);return _0x961f53['children']['add'](_0x31c443),_0x540ce5['items']['addMany']([_0x90881c,_0x961f53]),_0x5a9bb8['add'](_0x540ce5),_0x3b7ecb;}['_createEditInputView'](_0x379738,_0x3a209f){const _0x1a9e9c=new ckeditor5['InputTextView'](_0x379738),_0x82de89=_0x1a9e9c['bindTemplate'];return _0x1a9e9c['value']=_0x3a209f,_0x1a9e9c['extendTemplate']({'on':{'keydown':_0x82de89['to'](_0x20d29f=>{'Enter'==_0x20d29f['key']&&this['_commitEditInputValue'](_0x1a9e9c);})}}),_0x1a9e9c;}['_createAcceptEditButtonView'](_0x1ad00a,_0x523825){const _0x94bf97=new ckeditor5['ButtonView'](_0x1ad00a);return _0x94bf97['set']({'icon':ckeditor5['IconCheck'],'withText':!0x1,'tooltip':getTranslation$i(_0x1ad00a,'AI_CHAT_HISTORY_ACCEPT')}),_0x94bf97['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0x94bf97['on']('execute',()=>{this['_commitEditInputValue'](_0x523825);}),_0x94bf97;}['_commitEditInputValue'](_0x2b044d){const _0x21d173=_0x2b044d['element']['value']||'';this['_titleView']['text']=_0x21d173,this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x21d173});}['_createCancelEditButtonView'](_0x1c0a36,_0x312b96){const _0x146c35=new ckeditor5['ButtonView'](_0x1c0a36);return _0x146c35['set']({'icon':ckeditor5['IconCancel'],'withText':!0x1,'tooltip':getTranslation$i(_0x1c0a36,'AI_CHAT_HISTORY_CANCEL')}),_0x146c35['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0x146c35['on']('execute',()=>{this['isEdit']=!0x1,_0x312b96['value']=this['_titleView']['text']||'',this['fire']('edit:cancel');}),_0x146c35;}['_createSpinnerView'](){const _0x435ac5=new _0x5dee0e('tiny');return _0x435ac5['isVisible']=!0x0,_0x435ac5;}['isMatching'](_0xf51aac){return this['_titleView']&&'string'==typeof this['_titleView']['text']&&this['_titleView']['text']['match'](_0xf51aac)?{'title':!0x0}:null;}['highlightText'](_0x48837e){this['_titleView']['highlightText'](_0x48837e);}}class AIChatHistoryView extends ckeditor5['View']{['searchView'];['mainErrorView'];['skeletonView'];['emptyView'];['sectionsView'];['resizeButton'];constructor(_0x3424a5,_0x3f544e){super(_0x3424a5),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 _0x4c07c1=new ckeditor5['FormHeaderView'](_0x3424a5,{'label':getTranslation$i(_0x3424a5,'AI_CHAT_HISTORY_HEADING'),'icon':ckeditor5['IconAIHistory'],'class':'ck-ai-header\x20ck-ai-header_history'});_0x3f544e&&(this['resizeButton']=createResizeButton(_0x3424a5,this),_0x4c07c1['children']['add'](this['resizeButton'])),this['sectionsView']=new AIChatHistorySectionListView(_0x3424a5,[]),this['sectionsView']['delegate'](..._0x522298)['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',_0x38f215=>!_0x38f215)]}}),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':[_0x4c07c1,{'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 _0x46e775=new ckeditor5['SearchTextView'](this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0x3e722b=>getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0x3e722b),'secondary':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}}),_0x25c85e=this['_createErrorView']();return _0x25c85e['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('errorMessage','ck-hidden',_0xacd337=>!_0xacd337)]}}),_0x46e775['on']('render',()=>{_0x46e775['children']['add'](_0x25c85e,0x1);}),_0x46e775['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x3546c8=>!_0x3546c8)]}}),_0x46e775;}['_createSkeletonView'](){const _0x55f1bf=new AISkeletonView(this['locale'],_0x1ea99b['aiHistory']);return _0x55f1bf['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0x2f1d75=>!_0x2f1d75)]}}),_0x55f1bf;}['_createErrorView'](){const _0xb042b4=new ckeditor5['View'](this['locale']),_0x2e3149=new ckeditor5['ButtonView'](this['locale']);_0x2e3149['set']({'withText':!0x1,'icon':ckeditor5['IconCancel'],'class':'ck-ai-notification_error__dismiss-button'}),_0x2e3149['bind']('isVisible')['to'](this,'hasItems',_0x6e2e68=>!!_0x6e2e68),_0x2e3149['on']('execute',()=>{this['errorMessage']='';});const _0x51b126=this['bindTemplate'];return _0xb042b4['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error']},'children':[{'tag':'p','children':[{'text':_0x51b126['to']('errorMessage')}]},_0x2e3149]}),_0xb042b4;}['_createEmptyStateView'](){const _0x25f271=new ckeditor5['ButtonView'](this['locale']);_0x25f271['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':ckeditor5['IconPlus'],'class':'ck-ai-chat__start-conversation\x20'+_0x392bdc['SECONDARY']}),_0x25f271['on']('execute',()=>{this['fire']('openChat');});const _0x1d0933=new ckeditor5['View'](this['locale']);return _0x1d0933['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0x7cf507=>!_0x7cf507)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[getTranslation$i(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]},_0x25f271]}),_0x1d0933;}['_createListItemViews'](_0x40fdc6,_0x3a0540){const _0x434e31=[];for(const _0x584d61 of _0x40fdc6){const _0x3be144=new AIChatHistoryListItemView(_0x3a0540,_0x584d61);_0x3be144['delegate'](..._0x522298)['to'](this),_0x434e31['push'](_0x3be144);}return _0x434e31;}['updateHistoryItemsWithCategories'](_0x5dca16){const _0x5505d7=this['locale']||'en',_0x4cff8c=[];for(const _0x33313d of _0x5dca16){const _0x37b7e5=this['_createListItemViews'](_0x33313d['items'],_0x5505d7);_0x4cff8c['push'](new AIChatHistoryListView(_0x5505d7,{'title':_0x33313d['title'],'items':_0x37b7e5}));}this['sectionsView']['sections']=_0x4cff8c,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0x4cff8c),this['hasItems']=_0x5dca16['some'](_0x145823=>_0x145823['items']['length']>0x0),this['_refreshSearch']();}['removeHistoryItem'](_0x3b61e3){for(const _0x3bc93e of this['sectionsView']['sections']){const _0x11f91c=_0x3bc93e['getItem'](_0x3b61e3);if(_0x11f91c){if(_0x3bc93e['removeItem'](_0x11f91c),0x0===_0x3bc93e['itemsViews']['length']){const _0x24dc55=this['sectionsView']['sections']['indexOf'](_0x3bc93e);-0x1!==_0x24dc55&&(this['sectionsView']['sections']['splice'](_0x24dc55,0x1),this['sectionsView']['items']['remove'](_0x3bc93e));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}['updateItemTitle'](_0x2a681b,_0x3eedd8){for(const _0xc4f0ac of this['sectionsView']['sections']){const _0x2f00b1=_0xc4f0ac['getItem'](_0x2a681b);if(_0x2f00b1){_0x2f00b1['updateTitle'](_0x3eedd8);break;}}}['updateItemLoadingState'](_0x66a0a6,_0x50863d,_0x27bf42){for(const _0x38574d of this['sectionsView']['sections']){const _0x4c3cda=_0x38574d['getItem'](_0x66a0a6);if(_0x4c3cda){_0x4c3cda['updateLoadingState'](_0x50863d,_0x27bf42);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x46624f=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x46624f);}}}const _0x522298=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','openChat','resizeTabs'];class AIChatHistoryUI extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x1b227a];}['_historyView'];static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x464f14){super(_0x464f14);const _0x40b902=this['context']['plugins']['get']('AITabs');this['_historyView']=new AIChatHistoryView(this['context']['locale'],_0x40b902['showResizeButton']),this['_historyView']['delegate'](..._0x522298)['to'](this),_0x40b902['view']['addTab']({'id':'history','buttonLabel':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':ckeditor5['IconAIHistory'],'order':0x0,'content':this['_historyView']});}['removeHistoryItem'](_0x2a683c){this['_historyView']['removeHistoryItem'](_0x2a683c);}['updateItems'](_0xfc1ecd){this['_historyView']['updateHistoryItemsWithCategories'](_0xfc1ecd);}['updateItemTitle'](_0x1b3a76,_0x1ba7e1){this['_historyView']['updateItemTitle'](_0x1b3a76,_0x1ba7e1);}['updateItemLoadingState'](_0xd64245,_0x34f546,_0x416f0d){this['_historyView']['updateItemLoadingState'](_0xd64245,_0x34f546,_0x416f0d);}['setLoadingSkeleton'](_0x54fb1c){this['_historyView']['isLoading']=_0x54fb1c;}['showError'](_0x9c40d3){this['_historyView']['errorMessage']=_0x9c40d3;}['hideError'](){this['_historyView']['errorMessage']='';}['setIsMaximized'](_0x5574bd){this['_historyView']['isMaximized']=_0x5574bd;}}class AIChatHistoryItem extends ckeditor5['ObservableMixin'](){['id'];['createdAt'];constructor({id:_0x315c31,title:_0x2261e5,createdAt:_0x2fbcaa,updatedAt:_0x116a06,pinned:_0x2d6f0a}){super(),this['id']=_0x315c31,this['createdAt']=new Date(_0x2fbcaa),this['set']('title',_0x2261e5),this['set']('updatedAt',_0x116a06?new Date(_0x116a06):null),this['set']('pinned',_0x2d6f0a||!0x1);}['updateTitle'](_0x195076){this['set']('title',_0x128121(_0x195076)),this['updatedAt']=new Date();}['updatePinned'](_0x35ba31){this['set']('pinned',_0x35ba31),this['updatedAt']=new Date();}}class AIChatHistoryConversations extends ckeditor5['EmitterMixin'](){['items']=[];['connector'];['group'];constructor({connector:_0x169dcb,group:_0x29fa94}){super(),this['connector']=_0x169dcb,this['group']=_0x29fa94;}async['init'](){try{const _0x262d31=this['connector']['fetchConversations'](this['group']),_0x21b1ca=await _0x262d31['getConversations']();this['loadItems'](_0x21b1ca);}catch(_0x2efaf2){this['fire']('error',{'error':_0x2efaf2,'operation':'init'});}}['addItem'](_0x550579){this['items']['push'](_0x550579);}async['removeItem'](_0x42692e){const _0x4fd250=this['items']['findIndex'](_0x265fc5=>_0x265fc5['id']===_0x42692e);if(-0x1===_0x4fd250)return!0x1;try{return await this['connector']['deleteConversation'](_0x42692e)['execute'](),this['items']['splice'](_0x4fd250,0x1),this['fire']('itemRemoved',{'itemId':_0x42692e}),!0x0;}catch(_0x27c3b1){return this['fire']('error',{'error':_0x27c3b1,'operation':'removeItem','itemId':_0x42692e}),!0x1;}}['getItem'](_0x3637cb){return this['items']['find'](_0x44e9e9=>_0x44e9e9['id']===_0x3637cb);}async['updateItemTitle'](_0x432dbf,_0x23e921){const _0x46c467=this['getItem'](_0x432dbf);if(!_0x46c467)return!0x1;try{return await this['connector']['updateConversation'](_0x432dbf,{'title':_0x23e921})['getResult'](),_0x46c467['updateTitle'](_0x23e921),this['fire']('itemUpdated',{'itemId':_0x432dbf,'updates':{'title':_0x23e921}}),!0x0;}catch(_0x3fb542){return this['fire']('error',{'error':_0x3fb542,'operation':'updateItemTitle','itemId':_0x432dbf}),!0x1;}}async['updateItemPinned'](_0x43a261,_0x1bfc23){const _0xdb0c13=this['getItem'](_0x43a261);if(!_0xdb0c13)return!0x1;try{return await this['connector']['updateConversation'](_0x43a261,{'pinned':_0x1bfc23})['getResult'](),_0xdb0c13['updatePinned'](_0x1bfc23),this['fire']('itemUpdated',{'itemId':_0x43a261,'updates':{'pinned':_0x1bfc23}}),!0x0;}catch(_0x52ee3c){return this['fire']('error',{'error':_0x52ee3c,'operation':'updateItemPinned','itemId':_0x43a261}),!0x1;}}['loadItems'](_0x5d640f){try{this['items']=[],_0x5d640f['map'](_0x1498f4=>{this['addItem'](new AIChatHistoryItem(_0x1498f4));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0x3c9182){this['fire']('error',{'error':_0x3c9182,'operation':'loadItems'});}}['getItems'](_0x30463f={}){const _0x2f8ec9=void 0x0!==_0x30463f['pinned']&&_0x30463f['pinned'],_0x23f788=_0x30463f['from']?new Date(_0x30463f['from']['getFullYear'](),_0x30463f['from']['getMonth'](),_0x30463f['from']['getDate']()):null,_0x460e61=_0x30463f['to']?new Date(_0x30463f['to']['getFullYear'](),_0x30463f['to']['getMonth'](),_0x30463f['to']['getDate']()):null;return this['items']['filter'](_0x41fe6d=>{if(_0x41fe6d['pinned']!==_0x2f8ec9)return!0x1;if(_0x460e61){const _0x15b26a=new Date(_0x41fe6d['createdAt']['getFullYear'](),_0x41fe6d['createdAt']['getMonth'](),_0x41fe6d['createdAt']['getDate']());return _0x23f788?_0x23f788['getTime']()===_0x460e61['getTime']()?_0x15b26a['getTime']()===_0x23f788['getTime']():_0x15b26a<_0x460e61&&_0x15b26a>=_0x23f788:_0x15b26a<_0x460e61;}return!0x0;});}}class AIChatHistoryController extends ckeditor5['ContextPlugin']{['_aiConnector'];['_aiChatHistoryUi'];['_aiChatController'];static get['requires'](){return[AIConnector,AIChatController,AIChatHistoryUI,_0x1b227a];}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 _0x3eb27c=this['context']['plugins']['get'](_0x1b227a);try{const _0x1b781f=this['_aiChatController']['getGroupId']();this['history']=new AIChatHistoryConversations({'connector':this['_aiConnector'],'group':_0x1b781f}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0x3aea78,_0x29cd84)=>{this['_setItemLoading'](_0x29cd84['id'],'remove'),this['_handleRemove'](_0x29cd84['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0x1b2a30,_0x1a86ab)=>{this['_setItemLoading'](_0x1a86ab['id'],'rename'),this['_handleEditTitle'](_0x1a86ab['id'],_0x1a86ab['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x2b10b6,_0x24400e)=>{void 0x0!==_0x24400e['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0x24400e['itemId'],_0x24400e['updates']['title']),void 0x0!==_0x24400e['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0x24400e['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0x3c5ca6,_0x4d01db)=>{this['_aiChatController']['_handleRemovedConversation'](_0x4d01db['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x4d01db['itemId']),this['_clearItemLoading'](_0x4d01db['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0x43c738,_0x56b9bd)=>{this['_handleHistoryErrorUI'](_0x56b9bd['error'],_0x56b9bd['operation'],_0x56b9bd['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x2c4392,_0x16d4f7)=>{this['_handleSelectConversation'](_0x16d4f7['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x121dfc,_0x46df99)=>{const _0x5b0790=_0x46df99['pinned']?'pin':'unpin';this['_setItemLoading'](_0x46df99['id'],_0x5b0790),this['_handleTogglePin'](_0x46df99['id'],_0x46df99['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'openChat',()=>{_0x3eb27c['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0x3eb27c['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();}),this['listenTo'](_0x3eb27c,'resizedTabs',(_0x2c5fcd,_0x2fc679)=>{this['_setIsMaximized'](_0x2fc679);}),this['listenTo'](this['_aiChatHistoryUi'],'resizeTabs',()=>{_0x3eb27c['resize']();});}catch(_0x4734cc){this['_handleHistoryErrorUI'](_0x4734cc,'init');}}async['_handleEditTitle'](_0x54fbe7,_0x493835){await this['history']['updateItemTitle'](_0x54fbe7,_0x493835);}async['_handleTogglePin'](_0x3dad85,_0x264a04){await this['history']['updateItemPinned'](_0x3dad85,_0x264a04);}async['_handleRemove'](_0x35d506){await this['history']['removeItem'](_0x35d506);}async['_handleSelectConversation'](_0x5c9908){await this['_aiChatController']['loadConversation'](_0x5c9908);}async['_showConversationHistory'](){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_updateHistoryItemsUI'](){const _0x2db418=this['_aiChatController']['activeConversation']?.['id'],_0xe31fd2=this['_getCategorizedItems']()['map'](_0x5190ac=>({'title':_0x5190ac['title'],'items':_0x5190ac['items']['map'](_0x4ede34=>({'id':_0x4ede34['id'],'title':_0x4ede34['title']||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0x4ede34['createdAt'])['toLocaleDateString'](),'active':_0x4ede34['id']===_0x2db418,'pinned':_0x4ede34['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0xe31fd2);}['_setItemLoading'](_0x4a1411,_0x3f9b81){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x4a1411,_0x3f9b81,!0x0);}['_clearItemLoading'](_0x322307){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x322307,null,!0x1);}['_handleHistoryErrorUI'](_0x5610d9,_0x188a88,_0x562b6e){const _0xf039c0=this['_generateErrorMessage'](_0x188a88,_0x562b6e);this['_aiChatHistoryUi']['showError'](_0xf039c0),_0x562b6e&&this['_clearItemLoading'](_0x562b6e),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_generateErrorMessage'](_0x4fecb1,_0xe24478){const _0x3c972c=_0xe24478?this['history']['getItem'](_0xe24478):null,_0x5cc6ed=_0x3c972c?.['title']||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x4fecb1){case'updateItemTitle':return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x5cc6ed);case'updateItemPinned':{const _0x3a0e3a=getTranslation$i(this['context']['locale'],_0x3c972c?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0x3a0e3a,_0x5cc6ed]);}case'removeItem':return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x5cc6ed);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 _0x2844ac=new Date(),_0x3bccb6=new Date(_0x2844ac['getFullYear'](),_0x2844ac['getMonth'](),_0x2844ac['getDate']()),_0x1935ef=new Date(_0x3bccb6);_0x1935ef['setDate'](_0x1935ef['getDate']()-0x1);const _0x41fc49=new Date(_0x3bccb6);_0x41fc49['setDate'](_0x41fc49['getDate']()-0xe);const _0x465218=this['history']['getItems']({'pinned':!0x0}),_0x47d481=this['history']['getItems']({'from':_0x3bccb6,'to':_0x3bccb6}),_0x356a92=this['history']['getItems']({'from':_0x1935ef,'to':_0x1935ef}),_0x254074=this['history']['getItems']({'from':_0x41fc49,'to':_0x1935ef}),_0x2bd544=this['history']['getItems']({'to':_0x41fc49}),_0x997a5f=[];return _0x465218['length']>0x0&&_0x997a5f['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x465218}),_0x47d481['length']>0x0&&_0x997a5f['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0x47d481}),_0x356a92['length']>0x0&&_0x997a5f['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x356a92}),_0x254074['length']>0x0&&_0x997a5f['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0x254074}),_0x2bd544['length']>0x0&&_0x997a5f['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0x2bd544}),_0x997a5f;}['_setIsMaximized'](_0x532ed1){this['_aiChatHistoryUi']['setIsMaximized'](_0x532ed1);}}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(_0x1d2c92){super(_0x1d2c92),this['context']['config']['define']('ai.chat.context',{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[],'alwaysAddSelection':!0x1}),this['context']['config']['define']('ai.chat.initialConversation','new');}}class AIChatShortcutView extends ckeditor5['ButtonView']{['id'];constructor(_0x131920,_0x6ceac9){super(_0x131920);const {id:_0x1b1883,type:_0x34d8b4,icon:_0x5ba025}=_0x6ceac9;this['id']=_0x1b1883,this['set']({'label':_0x6ceac9['label'],'withText':!0x0,'class':'ck-ai-chat-shortcut'}),this['extendTemplate']({'attributes':{'data-cke-ai-shortcut-id':_0x6ceac9['id']}}),_0x5ba025?this['icon']=_0x5ba025:'chat'===_0x34d8b4?this['icon']=ckeditor5['IconAIChat']:'review'===_0x34d8b4?this['icon']=ckeditor5['IconAIReview']:'translate'===_0x34d8b4&&(this['icon']=ckeditor5['IconAITranslate']);}}class AIChatShortcutsView extends ckeditor5['View']{['listView'];constructor(_0x56cd7d,_0x313881){super(_0x56cd7d);const _0x2db269=_0x313881['map'](_0x30588f=>{const _0x5c6e28=new ckeditor5['ListItemView'](this['locale']),_0x54723f=new AIChatShortcutView(this['locale'],_0x30588f);return _0x5c6e28['children']['add'](_0x54723f),_0x54723f['delegate']('execute')['to'](this),_0x5c6e28;});this['listView']=new ckeditor5['ListView'](this['locale']),this['listView']['items']['addMany'](_0x2db269),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-shortcuts']},'children':[this['listView']]});}}const _0x517932='chat-shortcuts';class AIChatShortcuts extends ckeditor5['ContextPlugin']{['_shortcuts'];['_shortcutsView'];['_aiChatUI'];static get['requires'](){return[AIChatUI];}static get['pluginName'](){return'AIChatShortcuts';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiChatUI']=this['context']['plugins']['get'](AIChatUI),this['_shortcuts']=this['context']['config']['get']('ai.chat.shortcuts')??[];const _0x4df55c=this['context']['plugins']['get']('AIChatController');this['_shortcuts']['length']&&(this['_validateShortcuts'](),this['_aiChatUI']['on']('conversationCreated',()=>{_0x4df55c['activeConversation']['isFromHistory']||this['_injectShortcuts']();}),this['listenTo'](_0x4df55c,'interactionStarted',()=>{this['_removeShortcuts']();}));}['_validateShortcuts'](){const _0x4ebed9=['chat','review','translate'];this['_shortcuts']['forEach'](_0x3d6850=>{let _0x3596ca=!0x0;if(_0x3d6850['id']&&_0x3d6850['label']&&_0x4ebed9['includes'](_0x3d6850['type'])?'chat'===_0x3d6850['type']&&(_0x3596ca='string'==typeof _0x3d6850['prompt']):_0x3596ca=!0x1,!_0x3596ca)throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-invalid-config',this['context'],{'shortcut':_0x3d6850});});}['_injectShortcuts'](){const _0x51a110=this['context']['plugins']['get'](AIChatUI);this['_shortcutsView']=new AIChatShortcutsView(this['context']['locale'],this['_shortcuts']),this['_shortcutsView']['render'](),_0x51a110['addFeedItemCustomElement'](this['_shortcutsView']['element'],_0x517932),this['_shortcutsView']['on']('execute',_0xc8fd45=>{const _0x186476=_0xc8fd45['source']['id'];this['_executeShortcut'](_0x186476);});}['_removeShortcuts'](){const _0x385f67=this['context']['plugins']['get'](AIChatUI);_0x385f67['hasFeedItem'](_0x517932)&&_0x385f67['removeFeedItem'](_0x517932),this['_shortcutsView']?.['destroy']();}['_executeShortcut'](_0x1f386b){const _0x3cdaba=this['_shortcuts']['find'](_0x32f016=>_0x32f016['id']===_0x1f386b),_0x4b3e4a=_0x3cdaba['type'];'chat'===_0x4b3e4a?this['_runChatShortcut'](_0x3cdaba):'review'===_0x4b3e4a?_0x3cdaba['commandId']?this['_runReviewShortcut'](_0x3cdaba):this['_switchTab']('reviewMode'):'translate'===_0x4b3e4a&&(_0x3cdaba['language']?this['_runTranslateShortcut'](_0x3cdaba):this['_switchTab']('translate'));}['_switchTab'](_0xc96c77){if(!this['context']['plugins']['has']('AITabs'))throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-ai-tabs-not-found',this['context'],{'tabName':_0xc96c77});this['context']['plugins']['get']('AITabs')['view']['activateTab'](_0xc96c77);}async['_runChatShortcut']({prompt:_0x1bdd52,draftMode:_0x1c0271,useWebSearch:_0x5f59c4=!0x1,useReasoning:_0x140066=!0x1,model:_0x2050be}){const _0x1c98b7=this['context']['plugins']['get']('AIChatController'),_0xc433c2=_0x1c98b7['activeConversation'];let _0x16f57b;_0x16f57b=_0x2050be?await _0xc433c2['chatModels']['getModel'](_0x2050be):await _0xc433c2['chatModels']['getDefault'](),_0x16f57b&&await _0xc433c2['setModel'](_0x16f57b),_0xc433c2['setWebSearch'](_0x5f59c4),_0xc433c2['setReasoning'](_0x140066),_0x1c98b7['addCurrentDocumentToChatContext'](),_0x1c0271?(this['_aiChatUI']['setPromptInputValue'](_0x1bdd52),this['_aiChatUI']['focusPromptInput'](!0x0)):_0x1c98b7['sendMessage']({'message':_0x1bdd52});}['_runReviewShortcut']({commandId:_0x1f74f4,model:_0x1d37d7,prompt:_0x2c934e,params:_0x222dfc}){if(!this['context']['plugins']['has']('AIReviewModeUI'))throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-review-mode-not-found',this['context']);this['_switchTab']('reviewMode');const _0x3fbe11={'id':_0x1f74f4,'isCustom':'custom'===_0x1f74f4};_0x1d37d7&&_0x2c934e&&(_0x3fbe11['args']={'model':_0x1d37d7,'prompt':_0x2c934e}),_0x222dfc&&(_0x3fbe11['params']=_0x222dfc),this['context']['plugins']['get']('AIReviewModeUI')['fire']('runReviewCheck',_0x3fbe11);}['_runTranslateShortcut']({language:_0x1d14e6}){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':_0x1d14e6,'args':{'language':_0x1d14e6}});}}class _0x3bb742 extends ckeditor5['Command']{constructor(_0x6ac489){super(_0x6ac489);const _0x42e1c7=_0x6ac489['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x42e1c7,'isVisible'),this['isEnabled']=!0x0;}['execute'](){const _0x137e33=this['editor']['plugins']['get']('AITabs')['view'];_0x137e33['isVisible']=!_0x137e33['isVisible'];}}class AIToggleButtonUI extends ckeditor5['Plugin']{static get['requires'](){return[_0x1b227a];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4a9c73=this['editor'];_0x4a9c73['commands']['add']('toggleAi',new _0x3bb742(_0x4a9c73)),_0x4a9c73['ui']['componentFactory']['add']('toggleAi',()=>{const _0xf575ef=this['_createAIUIButton'](ckeditor5['ButtonView']);return _0xf575ef['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0xf575ef;}),_0x4a9c73['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0x28ad3d=this['_createAIUIButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x28ad3d['set']({'role':'menuitemcheckbox'}),_0x28ad3d;});}['_createAIUIButton'](_0x3cb0c7){const _0x369bd9=this['editor'],_0x41529f=_0x369bd9['commands']['get']('toggleAi'),_0x54280b=new _0x3cb0c7(_0x369bd9['locale']);return _0x54280b['set']({'label':getTranslation$i(_0x369bd9['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':ckeditor5['IconAIAskAI'],'isToggleable':!0x0}),_0x54280b['bind']('isEnabled')['to'](_0x41529f),_0x54280b['bind']('isOn')['to'](_0x41529f,'value',_0x54cef1=>!!_0x54cef1),this['listenTo'](_0x54280b,'execute',()=>{_0x41529f['execute']();}),_0x54280b;}}const _0xe74bc7=['applySuggestion','insertSuggestion','showNext','showPrevious'];class _0xd05096 extends ckeditor5['View']{['_errorView'];constructor(_0x3972b8){super(_0x3972b8),this['set']('_errorMessage',''),this['set']('_isErrorVisible',!0x1);}['showBlockingError'](_0x10bd21){this['showError'](_0x10bd21);}['showError'](_0x20e0ce){this['_errorView']||(this['_errorView']=this['_createErrorView']()),this['_errorMessage']=_0x20e0ce,this['_isErrorVisible']=!0x0;}['hideError'](){this['_isErrorVisible']=!0x1;}['_createErrorView'](){const _0xdd1779=new ckeditor5['View'](this['locale']),_0x6ec381=new ckeditor5['View'](this['locale']);return _0x6ec381['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[{'text':this['bindTemplate']['to']('_errorMessage')}]}),_0xdd1779['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error','ck-ai-balloon-error',this['bindTemplate']['if']('_isErrorVisible','ck-hidden',_0x3cd581=>!_0x3cd581)]},'children':[_0x6ec381]}),_0xdd1779;}}const _0x562abb=0xa;class _0xf4fd3a 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'](_0x299ab3){const {id:_0x1be97a}=this['_currentConfig']??{};this['_currentConfig']=_0x299ab3;const {id:_0x22a8d2}=this['_currentConfig'];this['isOpen']&&_0x1be97a===_0x22a8d2?this['_updateDialog']():this['_showDialog']();}['close'](){const _0xe15e9d=getEditorFromContext(this['context'])['plugins']['get']('Dialog');_0xe15e9d['isOpen']&&this['_currentConfig']&&_0xe15e9d['id']===this['_currentConfig']['id']&&_0xe15e9d['hide']();}['_updateDialog'](){const _0x2ca010=getEditorFromContext(this['context'])['plugins']['get']('Dialog'),{icon:_0x227e4e,title:_0x260832}=this['_currentConfig'];_0x2ca010['view']?.['headerView']&&(_0x2ca010['view']['headerView']['label']=_0x260832,_0x2ca010['view']['headerView']['iconView']&&_0x227e4e&&(_0x2ca010['view']['headerView']['iconView']['content']=_0x227e4e)),this['_isUpdatingMarkers']=!0x0,this['_showFakeVisualSelection'](),this['_isUpdatingMarkers']=!0x1,_0x2ca010['view']?.['updatePosition']();}['_showFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['showFakeVisualSelection']({'ranges':this['_currentConfig']['ranges'],'id':'balloon','priority':0x64}),window['getSelection']()?.['removeAllRanges']();}['_hideFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['hideFakeVisualSelection']('balloon');}['_showDialog'](){const _0x1b9c0f=getEditorFromContext(this['context'])['plugins']['get']('Dialog'),{id:_0x4e8072,title:_0x364297,icon:_0x16166e,class:_0x2770de,mainView:_0x2a7b20}=this['_currentConfig'];_0x2a7b20['delegate'](..._0xe74bc7)['to'](this),_0x1b9c0f['show']({'title':_0x364297,'icon':_0x16166e,'hasCloseButton':!0x0,'id':_0x4e8072,'position':this['_calculateDialogPosition']['bind'](this),'className':'ck-ai-balloon\x20'+(_0x2770de||''),'content':_0x2a7b20,'onShow':_0x46c921=>{this['_showFakeVisualSelection'](),this['_setupFakeVisualSelectionMarkerRemovalListener']();const _0x404b4f=this['_getSelectionElements']();_0x404b4f&&_0x404b4f[0x0]&&ckeditor5['scrollViewportToShowTarget']({'target':_0x404b4f[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this['isOpen']=!0x0,_0x46c921['once']('hide',()=>{this['fire']('beforeDialogClosed',{'id':_0x4e8072});},{'priority':'high'});},'onHide':()=>{this['_hideFakeVisualSelection'](),this['_cleanupFakeVisualSelectionMarkerRemovalListener'](),this['fire']('dialogClosed',{'id':_0x4e8072}),this['isOpen']=!0x1;}});}['_calculateDialogPosition'](_0x402101,_0x308f63){if(!_0x308f63)return null;const _0x50d8a4=this['_getSelectionElements']();if(!_0x50d8a4||0x0===_0x50d8a4['length'])return{'left':Math['round'](_0x308f63['left']+_0x308f63['width']/0x2-_0x402101['width']/0x2),'top':Math['round'](_0x308f63['top']+_0x308f63['height']/0x2-_0x402101['height']/0x2)};const _0x577ab4=Math['round'](_0x308f63['left']+_0x308f63['width']/0x2-_0x402101['width']/0x2),_0x473a28=_0x50d8a4['map'](_0x36258f=>new ckeditor5['Rect'](_0x36258f)),_0x577f08=_0x402101['height'];return{'left':_0x577ab4,'top':this['_calculateOptimalTopPosition'](_0x473a28,_0x577f08,_0x308f63)};}['_calculateOptimalTopPosition'](_0x3a101f,_0x121064,_0x31b057){const _0x485ef2=new ckeditor5['Rect'](ckeditor5['global']['window']),_0x1ec89e=_0x3a101f['map'](_0x1fa717=>_0x1fa717['getVisible']())['filter'](_0x4f3bda=>_0x4f3bda),_0x505423=ckeditor5['Rect']['getBoundingRect'](_0x1ec89e);if(!_0x505423)return Math['round'](_0x31b057['top']+_0x31b057['height']/0x2);const _0x3379b9=_0x485ef2['getIntersection'](_0x505423);if(!_0x3379b9)return Math['round'](_0x31b057['top']+_0x31b057['height']/0x2);const _0x3fb36c=_0x31b057['getVisible'](),_0x4bd4b3=_0x3fb36c&&_0x505423['height']>_0x3fb36c['height'],_0x52d086=_0x3379b9['top'],_0x24e3f8=_0x3379b9['bottom'];if(_0x4bd4b3){const _0x15a4a0=(_0x3fb36c||_0x485ef2)['height']/0x2-_0x121064/0x2,_0x557535=_0x52d086-_0x562abb-_0x31b057['top'],_0x22acb6=_0x31b057['bottom']-_0x24e3f8-_0x562abb;return _0x557535>=_0x121064?Math['max'](_0x562abb,_0x52d086-_0x121064-_0x562abb):_0x22acb6>=_0x121064?_0x24e3f8+_0x562abb:Math['max'](_0x562abb,_0x15a4a0);}const _0x1405fb=_0x52d086-_0x121064,_0x3a5c5c=_0x31b057['bottom']-_0x24e3f8-_0x562abb,_0x3cab2e=_0x52d086-_0x562abb-_0x31b057['top'];let _0x275807;if(_0x3a5c5c>=_0x121064)_0x275807=_0x24e3f8+_0x562abb;else{if(_0x3cab2e>=_0x121064)_0x275807=_0x1405fb-_0x562abb;else _0x275807=_0x52d086+_0x505423['height']/0x2-_0x121064/0x2;}return _0x275807;}['_setupFakeVisualSelectionMarkerRemovalListener'](){const _0x4aa203=getEditorFromContext(this['context']);this['listenTo'](_0x4aa203['model']['document'],'change',()=>{if(!this['_isUpdatingMarkers']){for(const {name:_0x1499ea,data:{newRange:_0x584585}}of _0x4aa203['model']['document']['differ']['getChangedMarkers']())if(_0x1499ea['startsWith'](_0x3ef941+':')&&(_0x584585&&(_0x584585['start']['isEqual'](_0x584585['end'])||'$graveyard'==_0x584585['root']['rootName'])||null==_0x584585)){const _0x3d00de=getTranslation$i(this['context']['locale'],'AI_BALLOON_SELECTION_REMOVED_ERROR');this['_currentConfig']['mainView']['showBlockingError'](_0x3d00de),this['fire']('selectionRemoved');}}});}['_cleanupFakeVisualSelectionMarkerRemovalListener'](){const _0x4f4df6=getEditorFromContext(this['context']);this['_currentConfig']['mainView']['hideError'](),this['stopListening'](_0x4f4df6['model']['document']);}['_getSelectionElements'](){const _0x329c7d=getEditorFromContext(this['context']);return getAllMarkersDomElementsSorted(_0x329c7d['editing'],[..._0x329c7d['model']['markers']['getMarkersGroup']('ai-selection'),..._0x329c7d['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);}}class _0x2840bc extends ckeditor5['ToolbarView']{['copyButton'];['likeButton'];['dislikeButton'];['showChangesButton'];['_config'];constructor(_0x2e1a96,_0x4c84e2={}){super(_0x2e1a96),this['set']('isEnabled',!0x0),this['set']('isShowChangesOn',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x4c84e2};const _0x4b0e94=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x4b0e94?'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'](_0x571fac){this['showChangesButton']['isEnabled']=_0x571fac;}['_setupRatingButtons'](){this['likeButton']=new ckeditor5['ButtonView'](this['locale']),this['likeButton']['set']({'icon':ckeditor5['IconThumbUp'],'label':getTranslation$i(this['locale'],'AI_MINI_TOOLBAR_LIKE'),'class':_0x392bdc['TERTIARY'],'tooltip':!0x0}),this['likeButton']['bind']('isEnabled')['to'](this),this['likeButton']['on']('execute',()=>{this['fire']('like');}),this['dislikeButton']=new ckeditor5['ButtonView'](this['locale']),this['dislikeButton']['set']({'icon':ckeditor5['IconThumbDown'],'label':getTranslation$i(this['locale'],'AI_MINI_TOOLBAR_DISLIKE'),'class':_0x392bdc['TERTIARY'],'tooltip':!0x0}),this['dislikeButton']['bind']('isEnabled')['to'](this),this['dislikeButton']['on']('execute',()=>{this['fire']('dislike');});}['_setupCopyButton'](){this['copyButton']=new ckeditor5['ButtonView'](this['locale']),this['copyButton']['set']({'icon':ckeditor5['IconCopy'],'label':getTranslation$i(this['locale'],'AI_MINI_TOOLBAR_COPY'),'class':'ck-ai-mini-toolbar-copy-button\x20'+_0x392bdc['TERTIARY'],'tooltip':!0x0}),this['copyButton']['bind']('isEnabled')['to'](this);const _0x29b1a5=new ckeditor5['IconView']();_0x29b1a5['set']({'content':ckeditor5['IconCheck']}),_0x29b1a5['extendTemplate']({'attributes':{'class':['ck-ai-mini-toolbar-copy-button__check-mark']}}),this['copyButton']['on']('execute',()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied\x20'+_0x392bdc['TERTIARY'],setTimeout(()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button\x20'+_0x392bdc['TERTIARY'];},0x7d0);}),this['copyButton']['children']['add'](_0x29b1a5);}['_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':_0x392bdc['TERTIARY']}),this['showChangesButton']['bind']('isOn')['to'](this,'isShowChangesOn'),this['showChangesButton']['bind']('isEnabled')['to'](this),this['showChangesButton']['bind']('icon')['to'](this,'isShowChangesOn',_0x3f9935=>_0x3f9935?ckeditor5['IconShowChangesOn']:ckeditor5['IconShowChangesOff']),this['showChangesButton']['on']('execute',()=>{this['fire']('toggleShowChanges');});}}class AIChatBalloonView extends _0xd05096{['children'];['nextButtonView'];['previousButtonView'];['focusCycler'];['_focusables'];['_focusTracker'];['_keystrokes'];['_config'];['_streamableContentView'];['_toolbarContainerView'];['_partToolbarView'];['_stateView'];['_miniToolbarView'];constructor(_0x33d008,_0x19fa1f){super(_0x33d008);const _0x50f074=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']=_0x19fa1f,this['nextButtonView']=this['_createNextButtonView'](),this['previousButtonView']=this['_createPreviousButtonView'](),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x33d008),this['_partToolbarView']=new AISuggestionContentPartToolbarView(_0x33d008,_0x19fa1f['availableActions']),this['_partToolbarView']['delegate']('applySuggestion','insertSuggestion','rejectSuggestion')['to'](this),this['_togglePartToolbarButtonsVisibility'](_0x19fa1f),this['_stateView']=new AISuggestionContentPartStateView(_0x33d008),this['_stateView']['isVisible']=!0x1,this['_miniToolbarView']=new _0x2840bc(_0x33d008,{'showChanges':'full'}),this['_miniToolbarView']['bind']('isShowChangesOn')['to'](this,'showDiff'),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['fire']('toggleSuggestionDisplayMode');}),this['_toolbarContainerView']=new AIChatBalloonToolbarContainerView(_0x33d008,[this['_partToolbarView'],this['_stateView'],this['_miniToolbarView']]),this['children']=this['createCollection']([this['_streamableContentView'],this['_toolbarContainerView']]),this['on']('change:_state',(_0x503402,_0x172b61,_0x1ebbe0,_0x1fa086)=>{let _0x2e7cb4,_0xbe4877;'pending'===_0x1fa086?(_0x2e7cb4=this['_partToolbarView'],_0xbe4877=this['_stateView']):(_0x2e7cb4=this['_stateView'],_0xbe4877=this['_partToolbarView']),this['_stateView']['setState'](_0x1ebbe0),_0x2e7cb4['isVisible']=!0x1,_0xbe4877['isVisible']=!0x0;}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-balloon-main',_0x50f074['to']('_state',_0x5c2841=>'ck-ai-chat-balloon-main_state_'+_0x5c2841)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_togglePartToolbarButtonsVisibility'](_0x19fa1f);});}['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'](_0x417bc2){_0x417bc2?.['keepErrors']||this['hideError'](),await this['_streamableContentView']['update'](_0x417bc2);}['setState'](_0x4dffc1){this['_state']=_0x4dffc1;}['showError'](_0x435ed6){super['showError'](_0x435ed6),this['children']['has'](this['_errorView'])||this['children']['add'](this['_errorView'],0x0);}['hideError'](){this['_isErrorVisible']&&(super['hideError'](),this['togglePartToolbarEnabled'](!0x0));}['showBlockingError'](_0x627b5c){super['showBlockingError'](_0x627b5c),this['togglePartToolbarEnabled'](!0x1);}['toggleRotatorButtonsVisibility'](_0x2b50ce){this['nextButtonView']['isVisible']=this['previousButtonView']['isVisible']=_0x2b50ce;}['togglePartToolbarEnabled'](_0x37e0d8){this['_partToolbarView']['isEnabled']=_0x37e0d8;}['_togglePartToolbarButtonsVisibility']({showApplyButton:_0x6205e8,showSuggestButton:_0x30d2b5}){_0x6205e8=_0x6205e8&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x30d2b5=_0x30d2b5&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_partToolbarView']['setButtonsVisibility']({'showApplyButton':_0x6205e8,'showSuggestButton':_0x30d2b5});}['_createNextButtonView'](){const _0x3a1450=new ckeditor5['ButtonView'](this['locale']);return _0x3a1450['set']({'icon':ckeditor5['IconChevronDown'],'label':getTranslation$i(this['locale'],'AI_BALLOON_NEXT_LABEL'),'isVisible':!0x0}),_0x3a1450['on']('execute',()=>{this['fire']('showNext');}),_0x3a1450;}['_createPreviousButtonView'](){const _0x2c3936=new ckeditor5['ButtonView'](this['locale']);return _0x2c3936['set']({'icon':ckeditor5['IconChevronUp'],'label':getTranslation$i(this['locale'],'AI_BALLOON_PREVIOUS_LABEL'),'isVisible':!0x0}),_0x2c3936['on']('execute',()=>{this['fire']('showPrevious');}),_0x2c3936;}}class AIChatBalloonToolbarContainerView extends ckeditor5['View']{constructor(_0x1455ee,_0x4772a4){super(_0x1455ee),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-balloon__toolbar-container']},'children':_0x4772a4});}}class AIChatBalloon extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Dialog'],_0xf4fd3a];}static get['pluginName'](){return'AIChatBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_chatBalloonView'];constructor(_0x406737){super(_0x406737),this['set']('showDiff',!0x1);}['open'](_0x50d1bf){const _0xe2008e=this['editor'];this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),_0xe2008e['plugins']['get']('AIBalloon')['open']({..._0x50d1bf,'id':'aiChatBalloon','class':'ck-ai-chat-balloon','mainView':this['_chatBalloonView']}),this['_toggleRotatorButtonsInDialogHeader'](_0x50d1bf['showRotator']),this['_chatBalloonView']['togglePartToolbarEnabled'](!_0x50d1bf['areActionsDisabled']),this['_restoreDefaultViewFocus']();}['close'](){this['editor']['plugins']['get']('AIBalloon')['close']();}['updateContent'](_0x433367){return this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),this['_chatBalloonView']['updateContent'](_0x433367);}['setState'](_0x2e1ee1){this['_chatBalloonView']&&this['_chatBalloonView']['setState'](_0x2e1ee1);}['_createChatBalloonView'](){const _0x53ba1a=this['editor'],_0x214f03=_0x53ba1a['plugins']['get']('AIBalloon'),_0x409214=_0x53ba1a['commands']['get']('trackChanges');let _0x4540be=_0x53ba1a['config']['get']('ai.availableReplyActions')||[..._0x469b04];_0x53ba1a['plugins']['has']('TrackChanges')||(_0x4540be=_0x4540be['filter'](_0x39bf60=>'insertSuggestion'!=_0x39bf60));const _0x5951ce=new AIChatBalloonView(_0x53ba1a['locale'],{'availableActions':_0x4540be,'showApplyButton':!0x0,'showSuggestButton':!!_0x409214});return _0x5951ce['bind']('showDiff')['to'](this),_0x5951ce['delegate'](..._0xa8480f)['to'](this),_0x5951ce['delegate']('showPrevious','showNext')['to'](this),_0x214f03['delegate']('dialogClosed')['to'](this),_0x5951ce['on']('applySuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x5951ce['on']('insertSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x5951ce['on']('rejectSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x409214&&_0x5951ce['bind']('isTrackChangesOn')['to'](_0x409214,'value'),_0x5951ce['render'](),_0x5951ce;}['_toggleRotatorButtonsInDialogHeader'](_0x306620){const _0x38cf9c=this['editor'],_0x184780=_0x38cf9c['plugins']['get']('Dialog')['view']['headerView']['children'];this['_chatBalloonView']['toggleRotatorButtonsVisibility'](_0x306620),_0x184780['has'](this['_chatBalloonView']['previousButtonView'])||(_0x184780['addMany']([this['_chatBalloonView']['previousButtonView'],this['_chatBalloonView']['nextButtonView']],0x0),_0x38cf9c['plugins']['get']('AIBalloon')['once']('beforeDialogClosed',()=>{_0x184780['remove'](this['_chatBalloonView']['previousButtonView']),_0x184780['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(_0x26fb72){const {editor:_0x5ceb22,action:_0x37f78a,withText:_0x22d7c5=!0x1,withIcon:_0x4f81b0=!0x0,isInDropdown:_0x4c1f68=!0x0,shouldPreventFocus:_0x1203a9=!0x1}=_0x26fb72;return()=>{const _0x21c382=_0x5ceb22['locale'],_0x2ef077=new ckeditor5['ButtonView'](_0x21c382),_0x27c5dc=_0x2ef077['bindTemplate'];_0x4c1f68&&_0x2ef077['extendTemplate']({'on':{'mouseenter':_0x27c5dc['to'](()=>{_0x1203a9&&_0x1203a9()||_0x2ef077['focus']();})}});const _0x5bcd10=_0x37f78a['icon']??_0x37f78a['parent']?.['icon'];return _0x2ef077['set']({'label':_0x37f78a['label'],'withText':_0x22d7c5,'role':'menuitem','icon':_0x4f81b0?_0x5bcd10??ckeditor5['IconAIQuickActions']:void 0x0,'tooltip':!_0x22d7c5,'class':'ck-ai-quick-actions-button','isEnabled':_0x37f78a['isEnabled']}),_0x2ef077['on']('execute',()=>{_0x5ceb22['editing']['view']['focus'](),_0x5ceb22['commands']['execute']('aiQuickAction',_0x37f78a);}),_0x2ef077;};}class DropdownMenuButtonWithHighlightView extends ckeditor5['ListItemButtonView']{['arrowView'];constructor(_0xddb0ee,_0x2b7233){super(_0xddb0ee,_0x2b7233);const _0x4550d5=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',_0x273d1f=>String(_0x273d1f)),'data-cke-tooltip-disabled':_0x4550d5['to']('isOn')},'on':{'mouseenter':_0x4550d5['to']('mouseenter')}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x26ff63=new ckeditor5['IconView']();return _0x26ff63['content']=ckeditor5['IconDropdownArrow'],_0x26ff63['extendTemplate']({'attributes':{'class':'ck-dropdown-menu-list__nested-menu__button__arrow'}}),_0x26ff63;}}class AIQuickActionsFilteredListView extends ckeditor5['ListView']{['_allListItems'];['_allSearchableItems'];constructor(_0xd6c2da,_0x431b1a,_0x41abd8){super(_0xd6c2da),this['_allListItems']=_0x431b1a,this['_allSearchableItems']=_0x41abd8;}['filter'](_0x28606e){if(!_0x28606e)return this['items']['clear'](),this['items']['addMany'](this['_allListItems']),this['_clearHighlight'](),{'resultsCount':this['_allListItems']['length'],'totalItemsCount':this['_allListItems']['length']};const _0x390ed7=_0x28606e['source']['toLowerCase']()['trim'](),_0x320797=this['_allSearchableItems']['filter'](_0x4ad66e=>(_0x4ad66e['groupLabel']?_0x4ad66e['label']+'\x20('+_0x4ad66e['groupLabel']+')':_0x4ad66e['label'])['toLowerCase']()['includes'](_0x390ed7));return this['items']['clear'](),this['items']['addMany'](_0x320797['sort']((_0x361d09,_0x1a4dc9)=>{const _0x20dcef=_0x361d09['groupLabel'],_0x375171=_0x1a4dc9['groupLabel'];return _0x20dcef||_0x375171?_0x20dcef?0x1:-0x1:0x0;})['map'](_0x3bf184=>_0x3bf184['item'])),this['_highlightQuery'](_0x390ed7,_0x320797),{'resultsCount':_0x320797['length'],'totalItemsCount':this['_allSearchableItems']['length']};}['_highlightQuery'](_0x526de3,_0x938a14){if(!_0x526de3)return;const _0xdd2420=new RegExp(_0x5b95df(_0x526de3),'gi');_0x938a14['forEach'](_0x1eb091=>{_0x1eb091['highlightViews']&&_0x1eb091['highlightViews']['forEach'](_0x4d173d=>{'function'==typeof _0x4d173d['highlightText']&&_0x4d173d['highlightText'](_0xdd2420);});});}['_clearHighlight'](){this['_allSearchableItems']['forEach'](_0x500287=>{_0x500287['highlightViews']&&_0x500287['highlightViews']['forEach'](_0x504b61=>{'function'==typeof _0x504b61['highlightText']&&_0x504b61['highlightText'](null);});});}}const _0x2bc07a={'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(_0x3a36e0,_0x42a58f,_0x1dde34,_0x3e1fe4,_0x2c0d71=!0x1){const _0x476613=_0x3a36e0['locale'];super(_0x476613),this['_bodyCollection']=_0x3e1fe4,this['_hasSearch']=_0x2c0d71;const _0x46882f=this['_createListItems'](_0x3a36e0,_0x42a58f,_0x1dde34);this['optionsListView']=new AIQuickActionsFilteredListView(_0x476613,_0x46882f,this['_allSearchableItems']),this['optionsListView']['role']=_0x2bc07a['MENU'],this['optionsListView']['items']['addMany'](_0x46882f),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0x2c0d71&&(this['_searchTextView']=this['_createSearchTextView']()),this['_focusables']=_0x46882f,this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),_0x2c0d71&&this['_searchTextView']&&this['focusCycler']['chain'](this['_searchTextView']['focusCycler']);const _0x3e939d=_0x2c0d71&&this['_searchTextView']?[this['_searchTextView']]:[this['optionsListView']];this['children']=new ckeditor5['ViewCollection'](_0x3e939d),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x476613['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 _0x3ba221=this['_searchTextView']['queryView']['fieldView']['element']['ownerDocument']?.['activeElement'];return this['_searchTextView']['queryView']['fieldView']['element']['contains'](_0x3ba221);}['_createListItems'](_0xb3f40e,_0xd031fc,_0x4120ca){const _0x5856e2=new ckeditor5['ViewCollection']();return _0xd031fc['forEach'](_0x494ad7=>{if('actions'in _0x494ad7){const {listItem:_0x4ed3f8}=this['_createActionGroupButton'](_0xb3f40e,_0x494ad7,_0x4120ca);_0x5856e2['add'](_0x4ed3f8),_0x494ad7['actions']['forEach'](_0x1c6191=>{this['_createActionButton'](_0xb3f40e,_0x1c6191,_0x494ad7['label'],_0x494ad7['icon']);const {listItem:_0x63efa1,highlightViews:_0x47aed1}=this['_createSearchResultActionButton'](_0xb3f40e,_0x1c6191,_0x494ad7['label'],_0x494ad7['icon']);this['_allSearchableItems']['push']({'item':_0x63efa1,'label':_0x1c6191['label'],'groupLabel':_0x494ad7['label'],'highlightViews':_0x47aed1});});}else{const {listItem:_0x185fb6}=this['_createActionButton'](_0xb3f40e,_0x494ad7);_0x5856e2['add'](_0x185fb6);const _0x2e5181=_0x185fb6['children']['first'];if(_0x2e5181){const {listItem:_0x5d8557,highlightViews:_0x24b616}=this['_createSearchResultActionButton'](_0xb3f40e,_0x494ad7);this['_allSearchableItems']['push']({'item':_0x5d8557,'label':_0x2e5181['label']||'','highlightViews':_0x24b616});}}}),_0x5856e2;}['_createActionButton'](_0x332fd9,_0x1610fa,_0x542d5c,_0x2359a4){const _0x1ccdd8=new ckeditor5['ListItemView'](this['locale']);if(_0x542d5c&&_0x2359a4){const _0x5f0de9=new ckeditor5['ButtonView'](this['locale']),_0x1f75ae=_0x5f0de9['bindTemplate'],_0x577f33=new ckeditor5['HighlightedTextView']();_0x577f33['text']=_0x1610fa['label'];const _0xda4ec7=new ckeditor5['HighlightedTextView']();_0xda4ec7['text']=_0x542d5c;const _0x4972c7=new ckeditor5['IconView']();_0x4972c7['content']=_0x2359a4,_0x4972c7['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x3bb7ce=new ckeditor5['View'](this['locale']);_0x3bb7ce['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__open-paren'},'children':[{'text':'\x20('}]});const _0x399fd5=new ckeditor5['View'](this['locale']);return _0x399fd5['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__close-paren'},'children':[{'text':')'}]}),_0x5f0de9['set']({'label':_0x1610fa['label']+'\x20('+_0x542d5c+')','withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','tooltip':!0x1}),_0x5f0de9['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':[_0x577f33,_0x3bb7ce,_0x4972c7,_0xda4ec7,_0x399fd5],'on':{'mouseenter':_0x1f75ae['to'](()=>{this['_isSearchFocused']()||_0x5f0de9['focus']();}),'click':_0x1f75ae['to'](()=>{_0x5f0de9['fire']('execute');})}}),_0x5f0de9['on']('execute',()=>{_0x332fd9['editing']['view']['focus'](),_0x332fd9['commands']['execute']('aiQuickAction',_0x1610fa);}),_0x1ccdd8['children']['add'](_0x5f0de9),{'listItem':_0x1ccdd8,'highlightViews':[_0x577f33,_0xda4ec7]};}{const _0xdcc8b0=new ckeditor5['ButtonLabelWithHighlightView'](),_0x4fba7f=new ckeditor5['ButtonView'](this['locale'],_0xdcc8b0),_0x2ba124=_0x4fba7f['bindTemplate'],_0x2bc795=_0x1610fa['icon']??_0x1610fa['parent']?.['icon'],_0x48b703=void 0x0!==_0x1610fa['icon'];return _0x4fba7f['set']({'label':_0x1610fa['label'],'withText':!0x0,'role':'menuitem','icon':_0x48b703?_0x2bc795??ckeditor5['IconAIQuickActions']:void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button'}),_0x4fba7f['extendTemplate']({'on':{'mouseenter':_0x2ba124['to'](()=>{this['_isSearchFocused']()||_0x4fba7f['focus']();})}}),_0x4fba7f['on']('execute',()=>{_0x332fd9['editing']['view']['focus'](),_0x332fd9['commands']['execute']('aiQuickAction',_0x1610fa);}),_0x1ccdd8['children']['add'](_0x4fba7f),{'listItem':_0x1ccdd8,'highlightViews':[_0xdcc8b0]};}}['_createSearchResultActionButton'](_0x25d2de,_0x1f48f8,_0x2836b8,_0x5bbd28){return _0x2836b8&&_0x5bbd28?this['_createSearchResultGroupedActionButton'](_0x25d2de,_0x1f48f8,_0x2836b8,_0x5bbd28):this['_createSearchResultIndividualActionButton'](_0x25d2de,_0x1f48f8);}['_createSearchResultGroupedActionButton'](_0x331d96,_0x34ec3f,_0x586374,_0x5a2db1){const _0x5ed95f=new ckeditor5['ListItemView'](this['locale']),_0xf6c14c=new ckeditor5['ButtonView'](this['locale']),_0x4d12ce=_0xf6c14c['bindTemplate'],{view:_0x2096d1,highlightView:_0x4986a3}=this['_createSearchResultGroupRow'](_0x586374,_0x5a2db1),{view:_0x50f119,highlightView:_0x1ef03d}=this['_createSearchResultActionRow'](_0x34ec3f['label']),_0x3302ae=this['_createSearchResultContentView'](_0x2096d1,_0x50f119);return _0xf6c14c['set']({'label':_0x34ec3f['label'],'withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','tooltip':!0x1}),_0xf6c14c['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':[_0x3302ae],'on':{'mouseenter':_0x4d12ce['to'](()=>{this['_isSearchFocused']()||_0xf6c14c['focus']();}),'click':_0x4d12ce['to'](()=>{this['_handleSearchResultButtonClick'](_0xf6c14c);})}}),this['_setupActionButtonExecution'](_0xf6c14c,_0x331d96,_0x34ec3f),_0x5ed95f['children']['add'](_0xf6c14c),{'listItem':_0x5ed95f,'highlightViews':[_0x4986a3,_0x1ef03d]};}['_createSearchResultIndividualActionButton'](_0x286094,_0x5f05af){const _0x2e3cfd=new ckeditor5['ListItemView'](this['locale']),_0x38b4cb=new ckeditor5['ButtonLabelWithHighlightView'](),_0x4489ee=new ckeditor5['ButtonView'](this['locale'],_0x38b4cb),_0x4c9a00=_0x4489ee['bindTemplate'];return _0x4489ee['set']({'label':_0x5f05af['label'],'withText':!0x0,'role':'menuitem','icon':void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button'}),_0x4489ee['extendTemplate']({'on':{'mouseenter':_0x4c9a00['to'](()=>{this['_isSearchFocused']()||_0x4489ee['focus']();})}}),this['_setupActionButtonExecution'](_0x4489ee,_0x286094,_0x5f05af),_0x2e3cfd['children']['add'](_0x4489ee),{'listItem':_0x2e3cfd,'highlightViews':[_0x38b4cb]};}['_createSearchResultGroupRow'](_0x40c7b2,_0x1a4ef1){const _0x1984ae=new ckeditor5['View'](this['locale']),_0x5b7f47=new ckeditor5['IconView']();_0x5b7f47['content']=_0x1a4ef1,_0x5b7f47['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0xfc8eb1=new ckeditor5['HighlightedTextView']();return _0xfc8eb1['text']=_0x40c7b2,_0x1984ae['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__group-row'},'children':[_0x5b7f47,_0xfc8eb1]}),{'view':_0x1984ae,'highlightView':_0xfc8eb1};}['_createSearchResultActionRow'](_0x207d77){const _0x4f970c=new ckeditor5['View'](this['locale']),_0x6916c1=new ckeditor5['HighlightedTextView']();return _0x6916c1['text']=_0x207d77,_0x4f970c['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__action-row'},'children':[_0x6916c1]}),{'view':_0x4f970c,'highlightView':_0x6916c1};}['_createSearchResultContentView'](_0x3c9a98,_0x510242){const _0x4a3bf4=new ckeditor5['View'](this['locale']);return _0x4a3bf4['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__content'},'children':[_0x3c9a98,_0x510242]}),_0x4a3bf4;}['_setupActionButtonExecution'](_0x37ce40,_0x5e3d54,_0x33ac6c){_0x37ce40['on']('execute',()=>{_0x5e3d54['editing']['view']['focus'](),_0x5e3d54['commands']['execute']('aiQuickAction',_0x33ac6c);});}['_createActionGroupButton'](_0x420220,_0x389b98,_0x105857){const _0x3a2429=new ckeditor5['ListItemView'](this['locale']),_0x42cd22=new ckeditor5['ButtonLabelWithHighlightView'](),_0x2840ba=new DropdownMenuButtonWithHighlightView(this['locale'],_0x42cd22),_0x367a7=_0x2840ba['bindTemplate'],_0x240829=this['_getPanelKeystroke'](_0x105857),_0x26e42f=this['_createGroupActionsList'](_0x420220,_0x389b98['actions'],_0x105857);_0x2840ba['set']({'label':_0x389b98['label'],'withText':!0x0,'role':_0x2bc07a['MENU_ITEM'],'icon':_0x389b98['icon']??ckeditor5['IconAIQuickActions'],'isEnabled':_0x389b98['actions']['some'](_0x168b6a=>_0x168b6a['isEnabled'])}),_0x2840ba['extendTemplate']({'on':{'mouseenter':_0x367a7['to'](()=>{this['_isSearchFocused']()||_0x2840ba['focus']();})}});const _0x39144b=new ckeditor5['BalloonPanelView'](this['locale']);return _0x39144b['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x367a7['to'](_0x49f633=>{this['_handlePanelKeydown'](_0x49f633,_0x240829,_0x2840ba,_0x39144b);})}}),_0x2840ba['bind']('isOn')['to'](_0x39144b,'isVisible'),this['_bodyCollection']['add'](_0x39144b),_0x39144b['content']['add'](_0x26e42f),this['_setupGroupMenuBehavior'](_0x2840ba,_0x39144b),_0x3a2429['children']['add'](_0x2840ba),{'listItem':_0x3a2429,'highlightView':_0x42cd22};}['_createGroupActionsList'](_0x24cf60,_0xb04b82,_0x16341f){const _0xe2e51a=new ckeditor5['ListView'](this['locale']);return _0xe2e51a['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0xb04b82['forEach'](_0x16e91f=>{const _0xf6b13b=new ckeditor5['ListItemView'](this['locale']),_0x4b4bcc=aiQuickActionsButtonCreator({'editor':_0x24cf60,'action':_0x16e91f,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this['_isSearchFocused']()})();_0xf6b13b['children']['add'](_0x4b4bcc),_0x16341f['focusTracker']['add'](_0x4b4bcc),_0xe2e51a['items']['add'](_0xf6b13b);}),_0xe2e51a;}['_setupGroupMenuBehavior'](_0x37812d,_0x1caebc){const _0x4137a4=_0x37812d['bindTemplate'],_0x5f33bd=this['_getButtonKeystroke'](_0x37812d);_0x37812d['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x4137a4['to'](()=>{this['_showNestedPanel'](_0x1caebc,_0x37812d);}),'mouseleave':_0x4137a4['to'](_0x53193c=>{const _0x396caf=_0x53193c['relatedTarget'];this['_isMovingToNestedMenu'](_0x396caf,_0x1caebc)||this['_hideNestedPanel'](_0x1caebc);}),'keydown':_0x4137a4['to'](_0x31a2f4=>{_0x31a2f4['key']==_0x5f33bd&&(this['_showNestedPanel'](_0x1caebc,_0x37812d),_0x1caebc['content']['get'](0x0)['focus']());})}}),_0x1caebc['on']('render',()=>{_0x1caebc['element']?.['addEventListener']('mouseleave',_0x3f4096=>{const _0x5b3a1b=_0x3f4096['relatedTarget'];_0x37812d['element']?.['contains'](_0x5b3a1b)||this['_isMovingToNestedMenu'](_0x5b3a1b,_0x1caebc)||this['_hideNestedPanel'](_0x1caebc);});});}['_showNestedPanel'](_0x2d7bf1,_0x46feb3){this['_openNestedPanels']['forEach'](_0x3af2a8=>{_0x3af2a8!==_0x2d7bf1&&_0x3af2a8['isVisible']&&_0x3af2a8['hide']();}),_0x2d7bf1['show'](),_0x2d7bf1['pin']({'positions':[ckeditor5['DropdownMenuPanelPositioningFunctions']['eastSouth']],'target':_0x46feb3['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0x2d7bf1);}['_hideNestedPanel'](_0x5f0b57){_0x5f0b57['hide'](),this['_openNestedPanels']['delete'](_0x5f0b57);}['_hideAllNestedPanels'](){this['_openNestedPanels']['forEach'](_0x16c9a1=>_0x16c9a1['hide']()),this['_openNestedPanels']['clear']();}['_isMovingToNestedMenu'](_0x3521a0,_0x574f3d){if(!_0x3521a0)return!0x1;if(_0x574f3d['element']?.['contains'](_0x3521a0))return!0x0;const _0x5ea13d=_0x3521a0;return _0x5ea13d['closest']&&(null!==_0x5ea13d['closest']('.ck-ai-quick-actions-group-panel')||null!==_0x5ea13d['closest']('.ck-ai-quick-actions-group-list')||null!==_0x5ea13d['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'](_0x26b116){return'rtl'===_0x26b116['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft';}['_getButtonKeystroke'](_0x4528b9){return'rtl'===_0x4528b9['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';}['_handlePanelKeydown'](_0x57edd0,_0x24a24c,_0x9fbdc4,_0x37f03a){_0x57edd0['key']==_0x24a24c&&(_0x9fbdc4['focus'](),this['_hideNestedPanel'](_0x37f03a));}['_handleSearchResultButtonClick'](_0x5ce686){_0x5ce686['fire']('execute');}}function aiQuickActionsDropdownCreator(_0x3559a6){const {editor:_0x340797,content:_0x50dc5c,buttonDefinition:_0x457a3a,bodyCollection:_0x3f40ad,hasSearch:_0x48c34c=!0x1}=_0x3559a6;return()=>{const _0x557cd2=_0x340797['locale'],_0x5c3de8=ckeditor5['createDropdown'](_0x557cd2);_0x5c3de8['buttonView']['set']({'icon':_0x457a3a['icon']??ckeditor5['IconAIQuickActions'],'label':_0x457a3a['label'],'tooltip':!0x0}),_0x5c3de8['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x5ec402=new AIQuickActionsDropdownContentView(_0x340797,_0x50dc5c,_0x5c3de8,_0x3f40ad,_0x48c34c);return _0x5c3de8['panelView']['children']['add'](_0x5ec402),_0x48c34c&&_0x5c3de8['on']('change:isOpen',(_0x1ba05d,_0x178271,_0x3d3d9c)=>{if(_0x3d3d9c){if(_0x340797['plugins']['has']('AIEditing')){const _0xd3c9ab=_0x340797['plugins']['get'](AIEditing),_0x42aef9=_0x340797['model']['document']['selection'],_0x340965=Array['from'](_0x42aef9['getRanges']());_0x340965['length']>0x0&&_0xd3c9ab['showFakeVisualSelection']({'ranges':_0x340965,'id':'quick-action','priority':0x14});}}else _0x340797['plugins']['has']('AIEditing')&&_0x340797['plugins']['get'](AIEditing)['hideFakeVisualSelection']('quick-action'),_0x5ec402['resetSearch']();}),_0x5c3de8;};}const _0x52a12a='<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>',_0x43f194='<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>',_0x3fec70='<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>',AIQuickActionTypeToPluginName=/* #__PURE__ -- @preserve */
((()=>({'chat':'AIChat','action':'AIActions'}))());class AIQuickActionsUI extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['BalloonToolbar'],AIConnector];}static get['pluginName'](){return'AIQuickActionsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){const _0x13258e=await this['_getDefaultAndCustomActions']();this['_prepareQuickActionsDefinition'](_0x13258e),this['_initializeQuickActionsComponentsAndCommands']();}static['getDefaultQuickActions'](_0x24e7ad){return getDefaultQuickActions(_0x24e7ad);}async['_getDefaultAndCustomActions'](){const _0x493169=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0x4f3c4e=this['editor']['config']['get']('ai.quickActions.extraCommands')||[];let _0x3db64c=[];try{_0x3db64c=await new _0x39d214({'connector':this['editor']['plugins']['get']('AIConnector'),'locale':this['editor']['locale']})['getAll']();}catch(_0x4fe6fb){const _0x5d5aff=new ckeditor5['CKEditorError']('ai-quick-actions-models-unable-to-retrieve',this,{'error':_0x4fe6fb});ckeditor5['logError'](_0x5d5aff['message']);}finally{const _0x31a9f3=_0x4f3c4e['map'](_0x2a79b8=>({..._0x2a79b8,'type':'chat'===_0x2a79b8['type']?'chat':'action','icon':void 0x0})),_0x4e29cf=_0x493169['find'](_0x1f9ae2=>'other'===_0x1f9ae2['id']);_0x4e29cf['actions']['push'](..._0x31a9f3),_0x493169['forEach'](_0x7c161f=>{if('actions'in _0x7c161f)_0x7c161f['actions']['forEach'](_0x24cf65=>{if(_0x24cf65['isEnabled']=!!_0x3db64c['find'](_0x4bef6a=>_0x4bef6a['id']===_0x24cf65['model'])||void 0x0===_0x24cf65['model'],!_0x24cf65['isEnabled']){const _0x5e1afd=new ckeditor5['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x24cf65['id'],'modelId':_0x24cf65['model']});ckeditor5['logError'](_0x5e1afd['message']);}});else{if(_0x7c161f['isEnabled']=!!_0x3db64c['find'](_0x5b58aa=>_0x5b58aa['id']===_0x7c161f['model'])||void 0x0===_0x7c161f['model'],!_0x7c161f['isEnabled']){const _0x2b41ef=new ckeditor5['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x7c161f['id'],'modelId':_0x7c161f['model']});ckeditor5['logError'](_0x2b41ef['message']);}}});}return _0x493169;}['_initializeQuickActionsComponentsAndCommands'](){const _0x471c5b=new ckeditor5['BodyCollection'](this['editor']['locale']);_0x471c5b['attachToDom'](),this['_initializeQuickActionsDropdown'](_0x471c5b),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0x471c5b);}['_initializeQuickActionsDropdown'](_0x358f1b){const _0x4ee3e9=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':_0x358f1b,'hasSearch':_0x4ee3e9}));}['_prepareQuickActionsDefinition'](_0x4d82ab){this['_quickActionsDefinition']=_0x4d82ab['map'](_0x2940f9=>{if('actions'in _0x2940f9){const _0x33a37b=_0x2940f9;return{..._0x33a37b,'actions':_0x33a37b['actions']['map'](_0x26ced2=>{const {actions:_0x42468c,..._0x1f8125}=_0x33a37b;return{..._0x26ced2,'parent':_0x1f8125};})['filter'](_0x38df67=>this['_shouldIncludeAction'](_0x38df67))};}return _0x2940f9;})['filter'](_0x29f54a=>'actions'in _0x29f54a?_0x29f54a['actions']['length']>0x0:this['_shouldIncludeAction'](_0x29f54a));}['_shouldIncludeAction'](_0x52da90){const _0x30c5f6=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](AIQuickActionTypeToPluginName[_0x52da90['type']])&&!_0x30c5f6['includes'](_0x52da90['id'])&&!('chat'===_0x52da90['type']&&!0x1===this['editor']['config']['get']('ai.chat.context.document.enabled'));}['_initializeQuickActionsComponents'](_0x55ab2b){this['_quickActionsDefinition']['forEach'](_0x26aac2=>{if('actions'in _0x26aac2){const _0x3cfd69=aiQuickActionsDropdownCreator({'editor':this['editor'],'content':_0x26aac2['actions'],'buttonDefinition':_0x26aac2,'bodyCollection':_0x55ab2b});this['editor']['ui']['componentFactory']['add'](_0x26aac2['id'],_0x3cfd69),_0x26aac2['actions']['forEach'](_0x100923=>{const _0x384d07=aiQuickActionsButtonCreator({'editor':this['editor'],'action':_0x100923});this['editor']['ui']['componentFactory']['add'](_0x100923['id'],_0x384d07);});}else{const _0x243cf1=aiQuickActionsButtonCreator({'editor':this['editor'],'action':_0x26aac2,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this['editor']['ui']['componentFactory']['add'](_0x26aac2['id'],_0x243cf1);}});}['_initializeQuickActionsMenuBar'](){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0x155c0b=>{const _0x36986e=new ckeditor5['MenuBarMenuView'](_0x155c0b),_0x11a8c6=getTranslation$i(_0x155c0b,'AI_QUICK_ACTIONS_HEADING');_0x36986e['buttonView']['set']({'label':_0x11a8c6,'icon':ckeditor5['IconAIQuickActions']});const _0x52076e=new ckeditor5['MenuBarMenuListView'](_0x155c0b);_0x52076e['set']({'ariaLabel':_0x11a8c6,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x4a81ce=>{if('actions'in _0x4a81ce){const _0x198249=_0x4a81ce,_0xd0bc2b=new ckeditor5['MenuBarMenuListItemView'](_0x155c0b,_0x36986e),_0x16412d=new ckeditor5['MenuBarMenuView'](_0x155c0b),_0x70fa64=new ckeditor5['MenuBarMenuListView'](_0x155c0b);_0x16412d['buttonView']['set']({'label':_0x198249['label'],'icon':_0x198249['icon']}),_0x198249['actions']['forEach'](_0x5ea16b=>{const _0x25944b=new ckeditor5['MenuBarMenuListItemView'](_0x155c0b,_0x16412d),_0x2b4dc3=new ckeditor5['MenuBarMenuListItemButtonView'](_0x155c0b);_0x2b4dc3['set']({'label':_0x5ea16b['label'],'icon':_0x5ea16b['icon'],'role':'menuitem','isEnabled':_0x5ea16b['isEnabled']}),_0x2b4dc3['on']('execute',()=>{this['_executeQuickAction'](_0x5ea16b);}),_0x2b4dc3['delegate']('execute')['to'](_0x16412d),_0x25944b['children']['add'](_0x2b4dc3),_0x70fa64['items']['add'](_0x25944b);}),_0x16412d['panelView']['children']['add'](_0x70fa64),_0xd0bc2b['children']['add'](_0x16412d),_0x52076e['items']['add'](_0xd0bc2b);}else{const _0x1e8ca5=_0x4a81ce,_0x4d812f=new ckeditor5['MenuBarMenuListItemView'](_0x155c0b,_0x36986e),_0x49cdfd=new ckeditor5['MenuBarMenuListItemButtonView'](_0x155c0b);_0x49cdfd['set']({'label':_0x1e8ca5['label'],'icon':_0x1e8ca5['icon'],'role':'menuitem','isEnabled':_0x1e8ca5['isEnabled']}),_0x49cdfd['on']('execute',()=>{this['_executeQuickAction'](_0x1e8ca5);}),_0x49cdfd['delegate']('execute')['to'](_0x36986e),_0x4d812f['children']['add'](_0x49cdfd),_0x52076e['items']['add'](_0x4d812f);}});const _0x3cf39e=Object['values'](AIQuickActionTypeToPluginName)['some'](_0x5aa0b9=>this['editor']['plugins']['has'](_0x5aa0b9));return _0x36986e['set']({'isEnabled':_0x3cf39e}),_0x36986e['panelView']['children']['add'](_0x52076e),_0x36986e;});}['_executeQuickAction'](_0x4d5c4b){const _0x241a62=this['editor'];_0x241a62['editing']['view']['focus'](),_0x241a62['commands']['execute']('aiQuickAction',_0x4d5c4b);const _0x16b20e=_0x241a62['ui']['view']['menuBarView'];_0x16b20e&&_0x16b20e['close']&&_0x16b20e['close']();}}function getDefaultQuickActions(_0x27842c){const _0x148db9=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0x27842c['uiLanguage'])||'English';return[{'id':'ask-ai','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_ASK_AI'),'type':'chat','icon':ckeditor5['IconAIChatCommands']},{'id':'chat-commands','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':ckeditor5['IconAIChatCommands'],'actions':[{'id':'explain','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_EXPLAIN'),'displayedPrompt':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':_0x52a12a['replace']('%0',_0x148db9),'type':'chat'},{'id':'summarize','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_SUMMARIZE'),'displayedPrompt':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':_0x43f194['replace']('%0',_0x148db9),'type':'chat'},{'id':'highlight-key-points','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'displayedPrompt':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':_0x3fec70['replace']('%0',_0x148db9),'type':'chat'}]},{'id':'improve-writing','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'action','icon':ckeditor5['IconAIImproveWriting']},{'id':'continue','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'action','icon':ckeditor5['IconAIContinueWriting']},{'id':'fix-grammar','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'action','icon':ckeditor5['IconAIGrammarCheck']},{'id':'adjust-length','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':ckeditor5['IconAIAdjustLength'],'actions':[{'id':'make-shorter','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'action'},{'id':'make-longer','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'action'}]},{'id':'change-tone','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':ckeditor5['IconAIChangeTone'],'actions':[{'id':'make-tone-casual','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'action'},{'id':'make-tone-direct','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'action'},{'id':'make-tone-friendly','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'action'},{'id':'make-tone-confident','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'action'},{'id':'make-tone-professional','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'action'}]},{'id':'translate','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':ckeditor5['IconAITranslate'],'actions':[{'id':'translate-to-english','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'action','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'action','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'action','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'action','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'action','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'action','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'action','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'action','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'action','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'action','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':getTranslation$i(_0x27842c,'AI_QUICK_ACTIONS_OTHER'),'icon':ckeditor5['IconAIOther'],'actions':[]}];}class AIQuickActionsCommand extends ckeditor5['Command']{['execute'](_0x70d4f6){switch(this['_expandSelectionIfCollapsed'](),_0x70d4f6['type']){case'chat':if(!this['editor']['plugins']['has']('AIChat')){const _0x9f3134=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':_0x9f3134});}this['_handleAIChatAction'](_0x70d4f6);break;case'action':if(!this['editor']['plugins']['has']('AIActions')){const _0x3e2933=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':_0x3e2933});}this['_handleAIActionsAction'](_0x70d4f6);}}async['_handleAIChatAction'](_0x3788ff){const _0x5e541e=this['editor']['plugins']['get']('AIChatController'),_0x53ee56=this['editor']['plugins']['get']('AITabs')['view'];if(_0x53ee56['isVisible']||(_0x53ee56['isVisible']=!0x0),'chat'!==_0x53ee56['activeTab']&&_0x53ee56['activateTab']('chat'),'ask-ai'===_0x3788ff['id'])_0x5e541e['removeSelectionFromChatContext'](),_0x5e541e['addSelectionToChatContext'](),_0x5e541e['focusPromptInput']();else await _0x5e541e['startConversation'](),_0x5e541e['removeSelectionFromChatContext'](),_0x5e541e['addSelectionToChatContext'](),_0x5e541e['focusPromptInput'](),await _0x5e541e['sendMessage']({'message':_0x3788ff['prompt']||_0x3788ff['displayedPrompt']||_0x3788ff['label'],'attributes':{'quickActionData':{'id':_0x3788ff['id']},'displayedPrompt':_0x3788ff['displayedPrompt']}});}['_expandSelectionIfCollapsed'](){const _0x4bde07=this['editor'],_0x1e2a8c=_0x4bde07['model']['document']['selection'];if(!_0x1e2a8c['isCollapsed'])return;const _0x4c93f7=ckeditor5['first'](_0x1e2a8c['getSelectedBlocks']())||_0x4bde07['model']['schema']['getLimitElement'](_0x1e2a8c);_0x4bde07['model']['change'](_0x2b4444=>{_0x2b4444['setSelection'](_0x4c93f7,'in');});}['_handleAIActionsActionLabel'](_0x36467f){return _0x36467f['parent']?.['label']&&'other'!==_0x36467f['parent']?.['id']?_0x36467f['parent']['label']+':\x20'+_0x36467f['label']:_0x36467f['label'];}async['_handleAIActionsAction'](_0x362b25){const _0x5cc6c8=this['editor']['plugins']['get']('AIActions'),_0x3fb403=_0x362b25['prompt']?{'userMessage':_0x362b25['prompt'],'model':_0x362b25['model']}:{'actionName':_0x362b25['actionName']||_0x362b25['id'],'args':_0x362b25['args']},_0x78f55a=this['_handleAIActionsActionLabel'](_0x362b25);await _0x5cc6c8['executeAction'](_0x3fb403,_0x78f55a,_0x362b25['icon']);}}class AIQuickActionsEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xaf49c8=this['editor'],_0x4ecb69=new AIQuickActionsCommand(this['editor']);if(_0xaf49c8['commands']['add']('aiQuickAction',_0x4ecb69),_0xaf49c8['plugins']['has']('AIChat')){const _0x4f11b0=this['editor']['plugins']['get']('AIChatController');_0xaf49c8['model']['document']['selection']['on']('change:range',(_0x2f4942,_0x4abdb2)=>{_0x4abdb2['directChange']&&_0x4f11b0['removeSelectionFromChatContext']();});}}}class AIActionsReply extends _0x35b082{['updateChangeGroups'](){if(this['parsedMergedContent']=this['parsedContent']['cloneNode'](!0x0),0x0==this['parsedMergedContent']['childNodes']['length'])return void(this['changeGroups']=[]);const _0x5cbff9=_0x1e3562(this['documentContextContent']['children']['map'](_0x1586bb=>({'node':_0x1586bb,'id':getAttribute(_0x1586bb,'data-id')})),this['parsedMergedContent']['children']['map'](_0x5dd288=>({'node':_0x5dd288,'id':getAttribute(_0x5dd288,'data-id')||ckeditor5['uid']()})),{'comparator':(_0x3d453c,_0x325d57)=>_0x3d453c['id']==_0x325d57['id'],'oneChangePerToken':!0x0});if(!this['isDone']){for(;_0x5cbff9['length']&&_0x5cbff9[_0x5cbff9['length']-0x1]['removed'];)_0x5cbff9['pop']();}const _0x59d8ee=_0x5cbff9['map'](_0x590ae2=>{const _0x1f5b9e=_0x590ae2['added']?'new':_0x590ae2['removed']?'removed':'modified';return{'node':_0x590ae2['value'][0x0]['node'],'type':_0x1f5b9e,'id':_0x590ae2['value'][0x0]['id']};});this['changeGroups']=[{'changes':_0x59d8ee,'state':'pending','index':0x0}];}['_getDifferentChangeGroups'](_0x8cdb4c,_0x2eaaeb){return _0x2eaaeb;}}class AIActionsInteraction extends AIInteraction{['content'];['version'];['actionName'];['args'];['userMessage'];['model'];['hasError']=!0x1;['stoppedExplicitly']=!0x1;constructor(_0x191233){super(_0x191233),this['content']=_0x191233['content'],this['version']=_0x191233['version'],this['actionName']=_0x191233['actionName'],this['args']=_0x191233['args'],this['userMessage']=_0x191233['userMessage'],this['model']=_0x191233['model'],this['on']('interactionStopped',()=>{this['stoppedExplicitly']=!0x0;});}async['sendRequest'](){return this['actionName']?this['connector']['executeAction']({'content':this['content'],'actionName':this['actionName'],'args':this['args']}):this['connector']['executeCustomAction']({'content':this['content'],'message':this['userMessage'],'model':this['model'],'outputFormat':'html'});}['getDocumentContext'](){return{'type':'text','content':this['content'],'version':this['version'],'label':'Current\x20document','uiId':'current-document'};}['createReply'](_0x536d52){const _0x3499cb=new AIActionsReply({'editor':this['editor'],'documentContextContent':this['content'],..._0x536d52});return this['replies']['push'](_0x3499cb),_0x3499cb['delegate'](..._0x4b1ff5)['to'](this),this['fire']('replyCreated',_0x3499cb),_0x3499cb;}}class AIActionsBalloonToolbarView extends ckeditor5['ToolbarView']{constructor(_0x47b56d,_0x2caba1=!0x0,_0x5dda94=!0x0){super(_0x47b56d),this['set']('isEnabled',!0x1),_0x2caba1&&(this['applyButton']=this['_createButton'](getTranslation$i(_0x47b56d,'AI_BALLOON_APPLY_BUTTON'),_0x392bdc['PRIMARY']),this['applyButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['applyButton'])),_0x5dda94&&(this['suggestButton']=this['_createButton'](getTranslation$i(_0x47b56d,'AI_BALLOON_SUGGEST_BUTTON'),_0x2caba1?_0x392bdc['SECONDARY']:_0x392bdc['PRIMARY']),this['suggestButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['suggestButton'])),this['setButtonsVisibility']({'showApplyButton':_0x2caba1,'showSuggestButton':_0x5dda94}),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}['setButtonsVisibility']({showApplyButton:_0x535e3b,showSuggestButton:_0x2f45e9}){this['applyButton']&&(this['applyButton']['isVisible']=_0x535e3b),this['suggestButton']&&(this['suggestButton']['isVisible']=_0x2f45e9);}['_createButton'](_0x3617fe,_0x5becaa){const _0x1a9912=new ckeditor5['ButtonView'](this['locale']);return _0x1a9912['set']({'label':_0x3617fe,'class':_0x5becaa,'isVisible':!0x0,'withText':!0x0}),_0x1a9912;}}class AIActionsBalloonDisclaimerView extends ckeditor5['View']{constructor(_0x20b88c){super(_0x20b88c),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(_0x20b88c,'AI_DISCLAIMER_TEXT')}]}]});}}class AISuggestionLoaderView extends ckeditor5['View']{constructor(_0x337b25){super(_0x337b25),this['set']('isVisible',!0x0);const _0x1417b5=new _0x5dee0e('small');_0x1417b5['isVisible']=!0x0;const _0x4062b2=new ckeditor5['View'](this['locale']);_0x4062b2['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',_0x9563ff=>!_0x9563ff)]},'children':[_0x1417b5,_0x4062b2]});}}class AIActionsBalloonView extends _0xd05096{['focusCycler'];['_config'];['_contentWrapper'];['_streamableContentView'];['_toolbarView'];['_miniToolbarView'];['_loaderView'];['_disclaimerView'];['_focusTracker'];['_keystrokes'];['_dialogContent'];['_focusables'];['_scrollManager'];['_navigationPreviousButton'];['_navigationNextButton'];['_navigationTryAgainButton'];['_navigationCounter'];constructor(_0x46fbc3,_0xd1697b){super(_0x46fbc3),this['set']('isBusy',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('_isLoading',!0x1),this['set']('_hasError',!0x1),this['_config']=_0xd1697b,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'](_0xd1697b),this['_addDisclaimerView'](),this['_addToolbar'](_0xd1697b),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'](_0xd1697b);});}['render'](){super['render']();for(const _0x1b0deb of this['_focusables'])this['_focusTracker']['add'](_0x1b0deb['element']);this['_keystrokes']['listenTo'](this['element']),this['_initializeScrollManager']();}['destroy'](){super['destroy'](),this['_scrollManager']&&this['_scrollManager']['destroy']();}['focus'](_0x49ada6){-0x1===_0x49ada6?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['setIsLoading'](_0x29674d){this['_isLoading']=_0x29674d;}['setErrorState'](){this['_hasError']=!0x0,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x1);}['clearErrorState'](){this['_hasError']=!0x1,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x0);}['showError'](_0x3c9021){super['showError'](_0x3c9021),this['_dialogContent']['has'](this['_errorView'])||this['_dialogContent']['add'](this['_errorView'],0x0);}['hideError'](){super['hideError'](),this['clearErrorState']();}['showBlockingError'](_0x3ceb23){super['showBlockingError'](_0x3ceb23),this['setErrorState']();}['addMiniToolbarItem'](_0x255b1a){this['_miniToolbarView']['items']['has'](_0x255b1a)||this['_miniToolbarView']['items']['add'](_0x255b1a);}['removeMiniToolbarItem'](_0xd27aec){this['_miniToolbarView']['items']['has'](_0xd27aec)&&this['_miniToolbarView']['items']['remove'](_0xd27aec);}['showLoader'](){this['_loaderView']&&(this['_isLoading']=!0x0);}['hideLoader'](){this['_loaderView']&&(this['_isLoading']=!0x1);}['_toggleToolbarButtonsVisibility']({showApplyButton:_0x28b262,showSuggestButton:_0x5ba7c9}){_0x28b262=_0x28b262&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x5ba7c9=_0x5ba7c9&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_toolbarView']['setButtonsVisibility']({'showApplyButton':_0x28b262,'showSuggestButton':_0x5ba7c9});}async['updateContent'](_0x248d9d){await this['_streamableContentView']['update'](_0x248d9d);}['clearContent'](){this['_streamableContentView']['clear']();}['_addContentWrapper'](_0xe7f866){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'](_0xe7f866['miniToolbarConfig'])]}),this['_dialogContent']['add'](this['_contentWrapper']);}['_addDisclaimerView'](){this['_disclaimerView']=new AIActionsBalloonDisclaimerView(this['locale']),this['_dialogContent']['add'](this['_disclaimerView']);}['_addToolbar']({showApplyButton:_0x3a9f75,showSuggestButton:_0x39bd2d}){this['_toolbarView']=new AIActionsBalloonToolbarView(this['locale'],_0x3a9f75,_0x39bd2d),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',(_0x397fd0,_0x2163e9,_0x26acaa)=>!(_0x397fd0||_0x2163e9||_0x26acaa)),this['_toggleToolbarButtonsVisibility']({'showApplyButton':_0x3a9f75,'showSuggestButton':_0x39bd2d}),this['_dialogContent']['add'](this['_toolbarView']);}['_createMiniToolbar'](_0x8c54fd){return this['_miniToolbarView']=new _0x2840bc(this['locale'],_0x8c54fd),this['_miniToolbarView']['delegate'](..._0xa8480f)['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',(_0xb06624,_0x506349)=>!(_0xb06624||_0x506349)),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 _0x11cdd3=new ckeditor5['ButtonView'](this['locale']),_0x3cb07f=new ckeditor5['ButtonView'](this['locale']),_0x735720=new AIActionsBalloonNavigationCounterView(this['locale']),_0x43d517=new ckeditor5['ButtonView'](this['locale']);_0x11cdd3['set']({'icon':ckeditor5['IconRefresh'],'label':getTranslation$i(this['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button\x20'+_0x392bdc['TERTIARY']}),_0x3cb07f['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button\x20'+_0x392bdc['TERTIARY']}),_0x43d517['set']({'icon':ckeditor5['IconNextArrow'],'tooltip':getTranslation$i(this['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button\x20'+_0x392bdc['TERTIARY']}),_0x11cdd3['bind']('isEnabled')['to'](this,'isBusy',_0xe2c322=>!_0xe2c322),_0x11cdd3['on']('execute',()=>{this['fire']('tryAgain');}),_0x3cb07f['bind']('isEnabled')['to'](this,'isBusy',_0x3849bd=>!_0x3849bd),_0x3cb07f['on']('execute',()=>{this['fire']('showPrevious');}),_0x43d517['bind']('isEnabled')['to'](this,'isBusy',_0x3bf89e=>!_0x3bf89e),_0x43d517['on']('execute',()=>{this['fire']('showNext');}),this['_navigationPreviousButton']=_0x3cb07f,this['_navigationCounter']=_0x735720,this['_navigationNextButton']=_0x43d517,this['_navigationTryAgainButton']=_0x11cdd3;}['updateMiniToolbarButtons'](_0x2de380,_0x45b843){this['_navigationPreviousButton']||this['_setupMiniToolbarButtons']();const _0x5b5154=_0x2de380>0x1;if(this['addMiniToolbarItem'](this['_navigationTryAgainButton']),_0x5b5154){this['addMiniToolbarItem'](this['_navigationPreviousButton']),this['addMiniToolbarItem'](this['_navigationCounter']),this['addMiniToolbarItem'](this['_navigationNextButton']);const _0x21d828=_0x2de380-_0x45b843;this['_navigationCounter']['setInteractionCount'](_0x21d828+'/'+_0x2de380),this['_navigationPreviousButton']['isEnabled']=_0x45b843<_0x2de380-0x1,this['_navigationNextButton']['isEnabled']=_0x45b843>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'](_0x480983){this['_isLoading']=_0x480983;}['resetShowChangesButton'](){this['_miniToolbarView']['isShowChangesOn']=!0x1;}['_initializeScrollManager'](){const _0x17d84c=this['_getScrollableElement']();_0x17d84c&&!this['_scrollManager']&&(this['_scrollManager']=new _0x5d84f0(_0x17d84c));}['_getScrollableElement'](){return this['_streamableContentView']['element'];}}class AIActionsBalloonNavigationCounterView extends ckeditor5['View']{constructor(_0xcf36ca){super(_0xcf36ca);const _0x103421=this['bindTemplate'];this['set']('interactionCount','1/1'),this['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':[{'text':_0x103421['to']('interactionCount')}]});}['setInteractionCount'](_0x5463f5){this['set']('interactionCount',_0x5463f5);}}class AIActions extends ckeditor5['Plugin']{static get['requires'](){return[AIConnector,ckeditor5['Dialog'],AIEditing,_0xf4fd3a,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(_0x340a17){super(_0x340a17),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 _0x5129ef();}['stopInteraction'](){this['_stopInteraction']();}async['executeAction'](_0x5eec81,_0x2e073e,_0x53ccaf){if(this['_stopInteraction'](),this['editor']['plugins']['has']('TableSelection')){if(this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0x3acf3b,anchorData:_0x565e42}=this['_getExecuteDataInTable']();return this['_executeAction'](_0x5eec81,_0x3acf3b,_0x565e42,_0x2e073e,_0x53ccaf);}}const {modelFragment:_0x58bd7b,anchorData:_0x6307a3}=this['_getExecuteDataRegular']();return this['_executeAction'](_0x5eec81,_0x58bd7b,_0x6307a3,_0x2e073e,_0x53ccaf);}async['destroy'](){return this['_stopInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_createActionsBalloonView'](){const _0x176266=this['editor']['plugins']['has']('TrackChanges');let _0x540a1a=this['editor']['config']['get']('ai.availableReplyActions')||[..._0x469b04];_0x176266||(_0x540a1a=_0x540a1a['filter'](_0x1366d3=>'insertSuggestion'!=_0x1366d3));const _0x457dc1=this['editor']['commands']['get']('trackChanges'),_0x5b4197=new AIActionsBalloonView(this['editor']['locale'],{'showApplyButton':!0x0,'showSuggestButton':_0x176266,'miniToolbarConfig':{'showChanges':'icon'},'availableActions':_0x540a1a});return _0x5b4197['bind']('isBusy')['to'](this),_0x457dc1&&_0x5b4197['bind']('isTrackChangesOn')['to'](_0x457dc1,'value'),_0x5b4197['on']('tryAgain',()=>{this['_refreshInteraction']();}),_0x5b4197['on']('showPrevious',()=>{this['_navigateToPrevious']();}),_0x5b4197['on']('showNext',()=>{this['_navigateToNext']();}),_0x5b4197;}['_getExecuteDataRegular'](){const _0x14ce77=this['editor']['model']['document']['selection'];if(_0x14ce77['isCollapsed']){const _0x58dde9=ckeditor5['first'](_0x14ce77['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0x14ce77);this['editor']['model']['change'](_0x20a4b2=>{_0x20a4b2['setSelection'](_0x58dde9,'in');});}const _0x574041=_0x14ce77['getFirstRange'](),_0x2cc5db=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0x14ce77),_0x574041['start'],_0x574041['end']);this['_copyMarkersToFragment'](_0x2cc5db,_0x14ce77,{'isTableSelection':!0x1});const _0x1124bb=_0x14ce77['getFirstRange']()['start'],_0x4e69fe=new Map();let _0x1040c6=_0x2cc5db;for(let _0x383d7d=0x0;_0x383d7d<_0x1124bb['path']['length'];_0x383d7d++)_0x4e69fe['set'](_0x1040c6,_0x1124bb['path'][_0x383d7d]),_0x1040c6=_0x1040c6['getChild'](0x0);return{'modelFragment':_0x2cc5db,'anchorData':_0x4e69fe};}['_getExecuteDataInTable'](){const _0x2a3598=this['editor']['model']['document']['selection'],_0x51360e=this['editor']['plugins']['get']('TableSelection')['getSelectionAsFragment'](),_0x25b1c8=_0x2a3598['getFirstRange']()['start']['parent']['parent'],_0x2c3dd4=this['editor']['model']['createRange'](this['editor']['model']['createPositionBefore'](_0x25b1c8),this['editor']['model']['createPositionAfter'](_0x25b1c8)),_0x4004cd=this['_wrapWithCommonAncestors'](_0x51360e,_0x2c3dd4['start'],_0x2c3dd4['end']);this['_copyMarkersToFragment'](_0x4004cd,_0x2a3598,{'isTableSelection':!0x0});const _0x591f2c=_0x2a3598['getFirstRange']()['start'],_0x7bae75=new Map();let _0x5a2974=_0x4004cd;for(let _0x47f9bb=0x0;_0x47f9bb<_0x591f2c['path']['length'];_0x47f9bb++)if(_0x7bae75['set'](_0x5a2974,_0x591f2c['path'][_0x47f9bb]),_0x47f9bb<_0x591f2c['path']['length']-0x1)_0x5a2974=_0x5a2974['getChild'](0x0);else{let _0x3345af=_0x5a2974['nextSibling'];for(;_0x3345af;)_0x7bae75['set'](_0x3345af,_0x591f2c['path'][_0x47f9bb]),_0x3345af=_0x3345af['nextSibling'];}return{'modelFragment':_0x4004cd,'anchorData':_0x7bae75};}async['_executeAction'](_0x745fd6,_0x1b3dd3,_0x3f10f3,_0x313158,_0x36249a){const _0x3f0659=this['editor']['plugins']['get'](AIEditing),_0x1b5a12=this['editor']['plugins']['get'](_0xf4fd3a),_0x9790c4=this['editor']['model']['document']['selection'],_0x2c1d45=await _0x3f0659['modelToDataWithIds'](_0x1b3dd3),_0x25b3c0=this['editor']['model']['document']['version'],_0x8157fb=[..._0x9790c4['getRanges']()];return this['_actionsBalloonView']||(this['_actionsBalloonView']=this['_createActionsBalloonView']()),this['_clearInteractionHistory'](),this['_clearErrorState'](),this['_balloonShowDiff']=!0x1,this['_actionsBalloonView']['resetShowChangesButton'](),this['_actionsBalloonView']['clearContent'](),_0x1b5a12['open']({'index':0x3e8*Math['random']()%0x3e8,'title':_0x313158,'icon':_0x36249a||ckeditor5['IconAIQuickActions'],'mainView':this['_actionsBalloonView'],'class':'ck-ai-actions-balloon','ranges':_0x8157fb,'id':'aiActionsBalloon'}),this['_setLoadingState'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x1b5a12),this['_interactionParams']={'action':_0x745fd6,'content':_0x2c1d45,'version':_0x25b3c0,'aiBalloon':_0x1b5a12,'modelFragment':_0x1b3dd3,'anchorData':_0x3f10f3},this['_setupApplyListeners'](),this['listenTo'](_0x1b5a12,'selectionRemoved',()=>{this['_stopInteraction'](),this['_actionsBalloonView']['disableMiniToolbarButtons']();}),this['listenTo'](_0x1b5a12,'dialogClosed',(_0x2d9b0b,{id:_0x264a39})=>{if('aiActionsBalloon'===_0x264a39){for(const _0x549291 of this['_interactions']){if(0x0===_0x549291['replies']['length']||_0x549291['stoppedExplicitly'])continue;const _0x52f838=_0x549291['replies'][_0x549291['replies']['length']-0x1],_0x3335ab=_0x52f838['changeGroups'][0x0];_0x3335ab&&'pending'===_0x3335ab['state']&&_0x52f838['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x1b5a12);}}),this['_createInteraction'](_0x2c1d45,_0x25b3c0,_0x1b5a12,_0x745fd6);}['_setupApplyListeners'](){if(!this['_interactionParams'])return;const {modelFragment:_0x4696a,anchorData:_0x70c049}=this['_interactionParams'];this['listenTo'](this['_actionsBalloonView'],'applySuggestion',()=>{this['_applyChanges'](_0x4696a,_0x70c049,!0x1);}),this['listenTo'](this['_actionsBalloonView'],'insertSuggestion',()=>{this['_applyChanges'](_0x4696a,_0x70c049,!0x0);});}['_wrapWithCommonAncestors'](_0x7c658f,_0x2d8c7e,_0x556ed3){const _0x25a9d3=this['editor']['model']['createRange'](_0x2d8c7e,_0x556ed3)['getCommonAncestor'](),_0x1d974e=_0x25a9d3['is']('documentFragment')?[]:_0x25a9d3['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x1d974e['length']){const _0x1b9cd0=_0x1d974e['map'](_0x2b1e94=>_0x2b1e94['_clone'](!0x1));for(let _0x4425d2=0x1;_0x4425d2<_0x1b9cd0['length'];_0x4425d2++)_0x1b9cd0[_0x4425d2-0x1]['_appendChild'](_0x1b9cd0[_0x4425d2]);return _0x1b9cd0[_0x1b9cd0['length']-0x1]['_appendChild'](_0x7c658f),new ckeditor5['ModelDocumentFragment'](_0x1b9cd0[0x0]);}return _0x7c658f;}['_copyMarkersToFragment'](_0x2fb7d9,_0x5e75a5,_0x26f0bb={'isTableSelection':!0x1}){const _0x23f849=this['editor']['model'],_0x5a0ef2=Array['from'](_0x5e75a5['getRanges']()),_0x1c2f97=_0x5e75a5['getFirstRange']()['start'];for(const _0x20ec45 of _0x23f849['markers']){if(_0x20ec45['name']['startsWith'](_0x3ef941)||!_0x20ec45['affectsData'])continue;const _0x5640f6=_0x20ec45['getRange']();if(!_0x5a0ef2['some'](_0x5327c2=>_0x5327c2['containsRange'](_0x5640f6,!0x0)))continue;const _0x2a89e1=this['_regularCalculateMarkerPath'](_0x5640f6['start'],_0x1c2f97,_0x26f0bb['isTableSelection']),_0x2af0fe=this['_regularCalculateMarkerPath'](_0x5640f6['end'],_0x1c2f97,_0x26f0bb['isTableSelection']),_0x4713dc=_0x23f849['createPositionFromPath'](_0x2fb7d9,_0x2a89e1),_0x3df115=_0x23f849['createPositionFromPath'](_0x2fb7d9,_0x2af0fe);if(!_0x4713dc['isEqual'](_0x3df115)){const _0x10fb00=_0x23f849['createRange'](_0x4713dc,_0x3df115);_0x2fb7d9['markers']['set'](_0x20ec45['name'],_0x10fb00);}}}['_regularCalculateMarkerPath'](_0x4ed2ee,_0x3ac275,_0x213173=!0x1){const _0x31b14c=[..._0x4ed2ee['path']['slice']()];for(let _0x2fe0e6=0x0;_0x2fe0e6<Math['max'](_0x3ac275['path']['length'],_0x4ed2ee['path']['length']);_0x2fe0e6++){const _0x11248d=_0x3ac275['path'][_0x2fe0e6]||0x0,_0x53d2c0=(_0x4ed2ee['path'][_0x2fe0e6]||0x0)-_0x11248d;if(_0x31b14c[_0x2fe0e6]=_0x53d2c0,0x0!==_0x53d2c0&&!_0x213173)break;}return _0x31b14c;}async['_createInteraction'](_0x4d1e5f,_0x461c6d,_0x26eddd,_0x15949f){const _0x1dd0c1=this['editor'];this['_interactionParams']||(this['_interactionParams']={'action':_0x15949f,'content':_0x4d1e5f,'version':_0x461c6d,'aiBalloon':_0x26eddd,'modelFragment':this['editor']['model']['getSelectedContent'](this['editor']['model']['document']['selection']),'anchorData':new Map()});const _0xf04b28=new AIActionsInteraction({'connector':this['_aiConnector'],'editor':_0x1dd0c1,'content':_0x4d1e5f,'version':_0x461c6d,..._0x15949f});this['_interactions']['push'](_0xf04b28);const _0x4f38da=(_0x5a924b,_0x4c942b=!0x1,_0x270be6='streaming')=>this['_promiseQueue']['enqueue'](async _0x4c5f1d=>{try{const _0x2278a3=getSuggestionPartsFromReply({'editor':_0x1dd0c1,'changeGroups':_0x5a924b['changeGroups'],'documentContextContent':_0x5a924b['documentContextContent'],'showDiff':_0x4c942b,'trimUnchanged':!0x1});_0x2278a3['length']&&await this['_actionsBalloonView']['updateContent']({'part':_0x2278a3[0x0],'renderingStrategy':_0x270be6,'abortSignal':_0x4c5f1d});}catch(_0x35884d){if(this['_isAbortError'](_0x35884d))return;throw _0x35884d;}});_0xf04b28['on']('replyCreated',(_0x5c5ac5,_0x377ca3)=>{this['_actionsBalloonView']['hideLoader'](),this['_actionsBalloonView']['startAutoScroll'](),_0x4f38da(_0x377ca3)['catch'](_0x4b75c2=>{this['_isAbortError'](_0x4b75c2)||(console['error']('Error\x20updating\x20content\x20in\x20replyCreated:',_0x4b75c2),this['_setErrorState'](_0xf04b28));});}),_0xf04b28['on']('replyContentUpdated',(_0x250bec,_0x3859aa)=>{_0x4f38da(_0x3859aa)['catch'](_0x591aca=>{this['_isAbortError'](_0x591aca)||(console['error']('Error\x20updating\x20content\x20in\x20replyContentUpdated:',_0x591aca),this['_setErrorState'](_0xf04b28));});}),_0xf04b28['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),await this['_promiseQueue']['queueEmptyPromise'];}catch(_0x386064){this['_isAbortError'](_0x386064)||(console['error']('Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:',_0x386064),this['_setErrorState'](_0xf04b28));}finally{this['_actionsBalloonView']['stopAutoScroll']();}}),this['listenTo'](this['_actionsBalloonView'],'toggleSuggestionDisplayMode',async(_0x2e4883,{showDiff:_0x2dd6d2})=>{try{this['_balloonShowDiff']=_0x2dd6d2;const _0x29c4c1=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0x29c4c1&&await _0x4f38da(_0x29c4c1,_0x2dd6d2,'static');}catch(_0x1af31e){this['_isAbortError'](_0x1af31e)||(console['error']('Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:',_0x1af31e),this['_setErrorState'](_0xf04b28));}}),_0xf04b28['on']('replyChangeGroupStateUpdated',()=>{const _0x50ae91={'positiveCount':_0xf04b28['replies']['reduce']((_0x5c029a,_0x372170)=>_0x5c029a+_0x372170['changeGroups']['filter'](_0xa9cfb5=>'accepted'===_0xa9cfb5['state'])['length'],0x0),'totalCount':_0xf04b28['replies']['reduce']((_0x35d51e,_0x1eaedd)=>_0x35d51e+_0x1eaedd['changeGroups']['length'],0x0)},_0x5958f2=_0xf04b28['actionCallId'],_0x41f44b=_0xf04b28['actionName'];_0x41f44b?this['_aiConnector']['upsertAIActionRating'](_0x41f44b,_0x5958f2,_0x50ae91):this['_aiConnector']['upsertCustomAIActionRating'](_0x5958f2,_0x50ae91);}),this['_setLoadingState']();try{const _0x8fb554=await _0xf04b28['start']();return this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),_0x8fb554;}catch(_0x32bf65){if(this['_isAbortError'](_0x32bf65))return;this['_actionsBalloonView']['hideLoader'](),this['_setErrorState'](_0xf04b28);}}['_applyChanges'](_0x59377a,_0x23195f,_0x364c64){const _0x16c27b=this['editor'];if(_0x364c64&&!_0x16c27b['plugins']['has']('TrackChanges'))throw new ckeditor5['CKEditorError']('ai-no-track-changes',null);const _0x1f8370=this['editor']['plugins']['get'](DocumentCompare),_0x513f60=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x513f60||!_0x513f60['replies']['length'])return;const _0x6b6d36=_0x513f60['replies'][_0x513f60['replies']['length']-0x1],_0x3652f5=_0x6b6d36['changeGroups'];_0x6b6d36['setChangeGroupState'](0x0,'accepted');let _0x599b7d=getOperationsFromReply({'editor':_0x16c27b,'reply':_0x6b6d36,'interaction':_0x513f60,'groups':_0x3652f5,'transform':!0x1,'documentCompare':_0x1f8370,'documentCompareOptions':{'anchor':_0x16c27b['model']['createPositionAt'](_0x59377a,0x0),'markDeletions':_0x364c64}});_0x599b7d=this['_filterOperationsOutsideRange'](_0x599b7d,_0x23195f);for(const _0x5db11f of _0x599b7d)this['_anchorOperation'](_0x23195f,_0x5db11f,_0x16c27b['model']['document']['getRoot']());const _0xf98bdb=_0x513f60['getDocumentContext']()['version'],_0x358f68=_0x16c27b['model']['document']['history']['getOperations'](_0xf98bdb),_0x9cd74e={'document':_0x16c27b['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x35795b=ckeditor5['transformOperationSets'](_0x599b7d,_0x358f68,_0x9cd74e)['operationsA'];_0x16c27b['model']['change'](_0x338c02=>{if(_0x338c02['setSelection'](_0x16c27b['model']['document']['selection']['focus']),_0x364c64)_0x16c27b['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x35795b);else{for(const _0x4b1e41 of _0x35795b)_0x4b1e41['baseVersion']=_0x16c27b['model']['document']['version'],fixMarkerOperationOldRange(_0x16c27b,_0x4b1e41),_0x338c02['batch']['addOperation'](_0x4b1e41),_0x16c27b['model']['applyOperation'](_0x4b1e41);}}),this['editor']['plugins']['get']('AIBalloon')['close']();}['_filterOperationsOutsideRange'](_0x415870,_0x16eaa0){return _0x415870['filter'](_0xde4b6e=>{if('rename'==_0xde4b6e['type']){const _0x2fe965=_0xde4b6e['position']['nodeAfter'];return!_0x16eaa0['has'](_0x2fe965);}if(_0xde4b6e['type']['indexOf']('Attribute')>-0x1){const _0x59dfe4=_0xde4b6e['range']['start']['nodeAfter'];return!_0x16eaa0['has'](_0x59dfe4);}return!0x0;});}['_anchorOperation'](_0x4760ea,_0xf1b5f5,_0x2e1cfa){const _0x5a0311=_0xf1b5f5['clone']();for(const _0x1f00ea in _0xf1b5f5){const _0x48f14a=_0xf1b5f5[_0x1f00ea];_0x48f14a instanceof ckeditor5['ModelRange']?_0xf1b5f5[_0x1f00ea]=new ckeditor5['ModelRange'](_0x7d37c(_0x48f14a['start']),_0x7d37c(_0x48f14a['end'])):_0x48f14a instanceof ckeditor5['ModelPosition']&&(_0xf1b5f5[_0x1f00ea]=_0x7d37c(_0x48f14a));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0x5a0311['type'])){if(_0x5a0311['isDocumentOperation']=!0x1,_0x5a0311['baseVersion']=null,'remove'==_0x5a0311['type']){const _0x9d83fa=_0x5a0311['sourcePosition'],_0x3b921a=_0x5a0311['howMany'];new ckeditor5['_DetachOperation'](_0x9d83fa,_0x3b921a)['_execute']();}else _0x5a0311['_execute']();}function _0x7d37c(_0x3abc13){if('$graveyard'==_0x3abc13['root']['rootName'])return _0x3abc13;const _0x1b591e=[];let _0x4e1eab=_0x3abc13['root'];for(let _0x6ad905=0x0;_0x6ad905<_0x3abc13['path']['length'];_0x6ad905++){const _0x389201=_0x4760ea['get'](_0x4e1eab)||0x0;_0x1b591e[_0x6ad905]=_0x3abc13['path'][_0x6ad905]+_0x389201,_0x4e1eab=_0x4e1eab['getChildAtOffset'](_0x3abc13['path'][_0x6ad905]);}return new ckeditor5['ModelPosition'](_0x2e1cfa,_0x1b591e,_0x3abc13['stickiness']);}}['_refreshInteraction'](){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x153674,content:_0x4ec0f0,version:_0x317511,aiBalloon:_0x1713ba}=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'](_0x4ec0f0,_0x317511,_0x1713ba,_0x153674)['catch'](_0xa1a479=>{this['_isAbortError'](_0xa1a479)||console['error']('Error\x20refreshing\x20interaction:',_0xa1a479);});}['_isAbortError'](_0xb16377){return!!_0xb16377['message']&&_0xb16377['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 _0x5b1685=this['_interactions']['length'];this['_currentInteractionIndex']<_0x5b1685-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}['_navigateToNext'](){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async['_displayInteractionAtIndex'](_0x8e37ad){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0x8e37ad;const _0x5f4ac2=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x5f4ac2)return;if(_0x5f4ac2['hasError'])return this['_setErrorState'](_0x5f4ac2),void this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);if(!_0x5f4ac2['replies']['length'])return;this['_actionsBalloonView']['hideError'](),this['_interactionParams']&&this['_clearErrorState']();const _0x3fbf20=_0x5f4ac2['replies'][_0x5f4ac2['replies']['length']-0x1];if(_0x3fbf20){const _0x4653b6=this['editor'];try{const _0x5c0267=getSuggestionPartsFromReply({'editor':_0x4653b6,'changeGroups':_0x3fbf20['changeGroups'],'documentContextContent':_0x3fbf20['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});await new Promise(_0x9f7659=>setTimeout(_0x9f7659,0x32)),await this['_actionsBalloonView']['updateContent']({'part':_0x5c0267[0x0],'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x2bd38e){this['_isAbortError'](_0x2bd38e)||console['error']('Error\x20updating\x20content\x20during\x20navigation:',_0x2bd38e);}}this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_setLoadingState'](){this['_actionsBalloonView']['setIsLoading'](!0x0),this['isBusy']=!0x0;}async['_setErrorState'](_0x413513){const _0x3fbece=getTranslation$i(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');this['_actionsBalloonView']['showError'](_0x3fbece),_0x413513['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(_0x52a5b7){super(_0x52a5b7),_0x52a5b7['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}class AIReviewCoreReviewCheckListItemResultsView extends ckeditor5['View']{['resultResponseView'];['acceptButtonView'];['dismissButtonView'];['infoButtonView'];['outdatedButtonView'];constructor(_0x855888,_0x3780f9){super(_0x855888),this['id']=_0x3780f9,this['set']('status','pending'),this['set']('changeId',_0x3780f9),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',(_0x4acb81,_0x3bba4f)=>{_0x3bba4f&&_0x3bba4f['target']&&'A'===_0x3bba4f['target']['tagName']&&_0x3bba4f['preventDefault'](),this['fire']('activateChange',{'id':_0x3780f9,'source':this,'uiInteraction':'click'});}),this['on']('mouseover',()=>{this['fire']('activateChange',{'id':_0x3780f9,'source':this,'uiInteraction':'hover'});}),this['on']('mouseout',()=>{this['fire']('deactivateChange',{'origin':'panel','id':_0x3780f9,'source':this});});}['setItemAsActive'](){this['isActive']=!0x0;}['setItemAsInactive'](){this['isActive']=!0x1;}['_createResultResponseView'](){const _0x38c02c=new ckeditor5['View'](this['locale']);return _0x38c02c['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',_0x259f06=>!_0x259f06)]}}),_0x38c02c;}['_createAcceptButtonView'](){const _0x36992c=new ckeditor5['ButtonView'](this['locale']);return _0x36992c['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0}),_0x36992c['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x201fe6=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x201fe6['stopPropagation']();})},'attributes':{'class':[this['bindTemplate']['if']('status','ck-hidden',_0x4fe2b6=>'pending'!==_0x4fe2b6&&'accepted'!==_0x4fe2b6),this['bindTemplate']['if']('status',_0x392bdc['SECONDARY'],_0x3d4d5a=>'pending'===_0x3d4d5a),this['bindTemplate']['if']('status',_0x392bdc['TERTIARY'],_0x3e2ed9=>'pending'!==_0x3e2ed9),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x5a7a93=>'accepted'===_0x5a7a93)]}}),this['on']('change:status',(_0x34d93a,_0x21f495,_0x191f4c)=>{_0x36992c['isEnabled']='pending'===_0x191f4c,'accepted'===_0x191f4c&&(_0x36992c['label']=getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED'),_0x36992c['icon']=ckeditor5['IconCheck']);}),_0x36992c;}['_createDismissButtonView'](){const _0x2eaa62=new ckeditor5['ButtonView'](this['locale']);return _0x2eaa62['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0}),_0x2eaa62['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x39f95e=>{this['fire']('dismissChange',{'id':this['changeId']}),_0x39f95e['stopPropagation']();})},'attributes':{'class':[_0x392bdc['TERTIARY'],this['bindTemplate']['if']('status','ck-hidden',_0x3ed246=>'pending'!==_0x3ed246&&'rejected'!==_0x3ed246),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-dismiss-button',_0x333636=>'pending'===_0x333636),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x9553c8=>'rejected'===_0x9553c8)]}}),this['on']('change:status',(_0x2cf569,_0x2061e7,_0x3f9da2)=>{_0x2eaa62['isEnabled']='pending'===_0x3f9da2,'rejected'===_0x3f9da2&&(_0x2eaa62['label']=getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_REJECTED'),_0x2eaa62['icon']=ckeditor5['IconCancel']);}),_0x2eaa62;}['_createInfoButtonView'](){const _0x574e55=new ckeditor5['ButtonView'](this['locale']);return _0x574e55['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_LEARN_MORE'),'icon':ckeditor5['IconInfo'],'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox','class':_0x392bdc['TERTIARY']+'\x20ck-ai_review__check-run-result-info-button\x20ck-hidden'}),_0x574e55['bind']('isOn')['to'](this,'isInfoToggleOn',_0x583e8f=>_0x583e8f),_0x574e55['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x574e55;}['_createOutdatedButtonView'](){const _0x2dc342=new ckeditor5['ButtonView'](this['locale']);return _0x2dc342['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED'),'icon':ckeditor5['IconOutdated'],'withText':!0x0,'isEnabled':!0x1}),_0x2dc342['extendTemplate']({'attributes':{'class':[_0x392bdc['TERTIARY'],'ck-ai_review__check-run-result-status-button',this['bindTemplate']['if']('status','ck-hidden',_0x4cdb61=>'outdated'!==_0x4cdb61)],'disabled':'disabled'}}),_0x2dc342;}}class AIReviewCoreBalloonSuggestionItemView extends ckeditor5['BalloonPanelView']{['resultItemView'];['_pinnedRectIndex']=void 0x0;['_pinnedTargetElement']=void 0x0;['_pinnedTargetChangeId']=void 0x0;constructor(_0x8394e0,_0x4adaf1){super(_0x8394e0),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']()),_0x4adaf1['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}['updateContent'](_0x260eae){this['resultItemView']['changeId']=_0x260eae['id'],this['resultItemView']['resultResponseView']['element']['innerHTML']=_0x260eae['contentDiffed'];}['showBalloon'](_0x5e8c84,_0x5b1117,_0x4a1609,_0x589033,_0x64734,_0x429436){const _0x5c12da=_0x5b1117();if(!_0x5c12da)return;this['updateContent'](_0x5e8c84),this['show']();const _0x5a7881=Array['from'](_0x5c12da['getClientRects']())['reverse'](),_0xc7d907=this['_getPointedRectIndexFromEvent'](_0x4a1609,_0x5a7881),_0x16a4ac=_0x5a7881[_0xc7d907??0x0];'click'===_0x589033?(this['isDiffActive']=!0x0,this['pin']({'target':()=>this['_getBestRectPositionOnClick'](_0x5b1117(),_0xc7d907,_0x5e8c84['id'],_0x64734,_0x429436)||_0x16a4ac})):'hover'===_0x589033&&(this['isDiffActive']=!0x1,this['pin']({'target':()=>this['_getBestRectPositionOnHover'](_0x5b1117(),_0xc7d907,_0x5e8c84['id'])||_0x16a4ac}));}['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 _0x465878=[this['element']];return this['_pinnedTargetElement']&&_0x465878['push'](this['_pinnedTargetElement']),_0x465878;},'callback':()=>{this['hide'](),this['unpin'](),this['deactivateChange'](),this['_pinnedTargetElement']=void 0x0,this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}});}['_createContentView'](){const _0x3f5bbe=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),_0x3f5bbe['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']]}]}),_0x3f5bbe;}['_getBestRectPositionOnClick'](_0x208664,_0x527043,_0x27ede8,_0x1d4944,_0x34c85e){if(!_0x208664)return null;const _0x23d75d=this['position']['replace']('arrow_',''),_0x2f9612=Array['from'](_0x208664['getClientRects']());let _0x26a5e7,_0x496a02=_0x2f9612['reverse']();return void 0x0!==_0x527043&&this['_isPinnedRectVisible'](_0x496a02[_0x527043],_0x1d4944,_0x34c85e)?(_0x26a5e7=_0x496a02[_0x527043],this['_pinnedRectIndex']=_0x527043):this['_isPinnedRectVisible'](_0x496a02[0x0],_0x1d4944,_0x34c85e)&&void 0x0===_0x527043?_0x26a5e7=_0x496a02[0x0]:(_0x496a02='s'==_0x23d75d[0x0]?[..._0x2f9612]['reverse']():_0x2f9612,_0x496a02['forEach'](_0x37fe48=>{this['_isPinnedRectVisible'](_0x37fe48,_0x1d4944,_0x34c85e)&&(_0x26a5e7=_0x37fe48);})),this['_pinnedTargetChangeId']=_0x27ede8,this['_pinnedTargetElement']=_0x208664,_0x26a5e7||_0x208664['getBoundingClientRect']();}['_getBestRectPositionOnHover'](_0x249ebc,_0x589015,_0x1f8af7){if(!_0x249ebc)return null;const _0x72e6ea=Array['from'](_0x249ebc['getClientRects']())['reverse']();if(void 0x0===this['_pinnedRectIndex']&&void 0x0!==_0x589015&&this['_pinnedTargetChangeId']!==_0x1f8af7)return this['_pinnedRectIndex']=_0x589015,this['_pinnedTargetElement']=_0x249ebc,this['_pinnedTargetChangeId']=_0x1f8af7,_0x72e6ea[_0x589015];if(void 0x0!==this['_pinnedRectIndex']&&this['_pinnedTargetChangeId']===_0x1f8af7){if(_0x249ebc!==this['_pinnedTargetElement'])return Array['from'](this['_pinnedTargetElement']['getClientRects']())['reverse']()[this['_pinnedRectIndex']];return _0x72e6ea[this['_pinnedRectIndex']];}return void 0x0!==_0x589015&&this['_pinnedTargetChangeId']!==_0x1f8af7?(this['_pinnedRectIndex']=_0x589015,this['_pinnedTargetElement']=_0x249ebc,this['_pinnedTargetChangeId']=_0x1f8af7,_0x72e6ea[_0x589015]):_0x249ebc['getBoundingClientRect']();}['_getPointedRectIndexFromEvent'](_0x20cfd4,_0x3fc41c){if(_0x20cfd4)for(let _0x4733ac=0x0;_0x4733ac<_0x3fc41c['length'];_0x4733ac++){const _0x3cc59b=_0x3fc41c[_0x4733ac];if(_0x20cfd4['clientX']>=_0x3cc59b['left']-0x3&&_0x20cfd4['clientX']<=_0x3cc59b['right']+0x3&&_0x20cfd4['clientY']>=_0x3cc59b['top']-0x3&&_0x20cfd4['clientY']<=_0x3cc59b['bottom']+0x3)return _0x4733ac;}}['_isPinnedRectVisible'](_0x3ae18b,_0x8cba44,_0x50418d){const _0xd71a9a=new ckeditor5['Rect'](_0x3ae18b),_0x83e26e=_0x8cba44||document['documentElement'],_0x19b596=_0xd71a9a['getIntersection'](ckeditor5['getConstrainedViewportRect'](_0x50418d)),_0x50c7eb=new ckeditor5['Rect'](_0x83e26e)['getIntersection'](_0xd71a9a);return!!(_0x19b596&&_0x50c7eb&&_0xd71a9a['width']>0x0);}}const _0x53376a=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewCoreResultList','activateChange','deactivateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];class _0xac0737 extends ckeditor5['ContextPlugin']{['_mainView'];['_balloonSuggestionView'];['_bodyCollection'];static get['requires'](){return[_0x1b227a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2aeaf2){super(_0x2aeaf2),this['_bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_mainView']=this['createMainView'](),this['_mainView']['delegate'](..._0x53376a)['to'](this),this['_balloonSuggestionView']=new AIReviewCoreBalloonSuggestionItemView(this['context']['locale'],this['_bodyCollection']),this['_balloonSuggestionView']['delegate']('acceptChange','dismissChange','deactivateChange')['to'](this);}['init'](){const _0x223004=this['context']['plugins']['get']('AITabs');this['registerTab'](_0x223004);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}['setAvailableChecks'](_0x1c7208){if(!this['_mainView']['reviewCheckListView']['hasChecks']()){const _0x4f49b9=!this['context']['config']['get']('ai.models.showModelSelector');this['_mainView']['reviewCheckListView']['setChecks'](_0x1c7208,_0x4f49b9);}this['_mainView']['showReviewCheckListView']();}['showReviewCheckList'](){this['fire']('getReviewCheckList');}['showCheckRunResults'](_0x2d7fc9){_0x2d7fc9&&('error-general'!==_0x2d7fc9['status']?'error-chunk'!==_0x2d7fc9['status']?this['_mainView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralResultsErrorView']());}['showCheckRunResult'](_0x1fa1b6){this['_mainView']['addCheckRunResult'](_0x1fa1b6);}['showGeneralResultsErrorView'](){this['_mainView']['showGeneralResultsErrorView']();}['showGeneralReviewCoreErrorView'](_0x2228f3){this['_mainView']['showGeneralReviewCoreErrorView'](_0x2228f3??getTranslation$i(this['context']['locale'],'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE'));}['showChunkErrorView'](){this['_mainView']['showChunkErrorView']();}['setCheckResultTitle'](_0x21e5eb,_0x41be27){this['_mainView']['reviewCheckResultsView']['setTitle'](_0x21e5eb,_0x41be27);}['setActiveStateInResults'](_0x2dfd0a){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x58e3f9=>{_0x58e3f9['id']===_0x2dfd0a&&_0x58e3f9['setItemAsActive']();});}['resetActiveStateInResults'](){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x1cb110=>_0x1cb110['setItemAsInactive']());}['updateChangeState'](_0x3184ae,_0x565f0d){'accepted'===_0x565f0d||'rejected'===_0x565f0d||'outdated'===_0x565f0d?this['_mainView']['reviewCheckResultsView']['hideResult'](_0x3184ae,_0x565f0d):this['_mainView']['reviewCheckResultsView']['showResult'](_0x3184ae,_0x565f0d);}['showReviewCompletedView'](){this['_mainView']['showReviewCompletedView']();}['showActionsWhenResultIsReady'](){this['_mainView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_mainView']['showNoChangesView']();}['hideActionsWhenResultIsReady'](){this['_mainView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0x172421,_0x49ab3d,_0x44725d,_0x23ffd3,_0x3943ab,_0x1ba347){this['_balloonSuggestionView']['showBalloon'](_0x172421,_0x49ab3d,_0x44725d,_0x23ffd3,_0x3943ab,_0x1ba347);}['hideChangeBalloon'](){this['_balloonSuggestionView']['hideBalloon']();}['hideDiffInBalloon'](){this['_balloonSuggestionView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_balloonSuggestionView']['showDiffInBalloon']();}['getChangeElement'](_0xcff19d){const _0x1b4fc2=this['_mainView']['reviewCheckResultsView']['getResults']()['find'](_0x487a27=>_0x487a27['id']===_0xcff19d);return _0x1b4fc2?_0x1b4fc2['element']:null;}['deactivateChange'](){this['_balloonSuggestionView']['deactivateChange']();}}class _0x4c0796 extends ckeditor5['View']{constructor(_0x25647c){super(_0x25647c),this['set']('isVisible',!0x1),this['set']('errorMessage','');const _0x1e7edc=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__general-error-container',_0x1e7edc['if']('isVisible','ck-hidden',_0x490bf8=>!_0x490bf8)]},'children':[{'tag':'p','attributes':{'class':'ck\x20ck-ai-notification\x20ck-ai-notification_error'},'children':[{'text':_0x1e7edc['to']('errorMessage')}]}]});}}class _0x3f5ce5 extends ckeditor5['View']{['reviewCoreHeader'];['generalErrorView'];['reviewCheckListView'];['reviewCheckResultsView'];['reviewCompletedView'];constructor(_0x1f98c0,_0x281e90){super(_0x1f98c0),this['reviewCoreHeader']=_0x281e90['header'],this['generalErrorView']=new _0x4c0796(_0x1f98c0),this['reviewCheckListView']=_0x281e90['list'],this['reviewCheckListView']['delegate'](..._0x53376a)['to'](this),this['reviewCheckResultsView']=_0x281e90['results'],this['reviewCheckResultsView']['delegate'](..._0x53376a)['to'](this),this['reviewCompletedView']=_0x281e90['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'](_0x3f21bf){this['reviewCheckResultsView']['addResult'](_0x3f21bf),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'](_0x1c8527){this['generalErrorView']['set']('isVisible',!0x0),this['generalErrorView']['errorMessage']=_0x1c8527;}['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(_0x5652d3,_0x3e4fa4){super(_0x3e4fa4),this['set']({'label':_0x5652d3,'withText':!0x0,'class':_0x392bdc['PRIMARY']}),this['on']('execute',()=>{this['fire']('finishReview');});}}class AIReviewCoreUICheckResultsView extends ckeditor5['ListItemView']{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x3c145f,_0x52b8b7){super(_0x3c145f),this['_contents']=_0x52b8b7,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 _0x47a372(_0x3c145f),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 _0x565b88=this['_createCombinedSkeletonLoader'](),_0x2f4996=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x2f4996['if']('isLoading','ck-ai_review__check-run_loading',_0x5852ae=>_0x5852ae),_0x2f4996['if']('isResultReady','ck-ai_review__check-run_ready',_0x4cc5ee=>_0x4cc5ee),_0x2f4996['if']('isVisible','ck-hidden',_0x2dbca6=>!_0x2dbca6)]},'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',_0x2417e=>_0x2417e)]},'children':this['_resultViews']},_0x565b88]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x271555){const _0x3417dc=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],_0x271555['id']);_0x3417dc['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x3417dc),_0x3417dc['resultResponseView']['element']['innerHTML']=_0x271555['contentDiffed'];}['hideResult'](_0x370132,_0x4888ee){if('pending'===_0x4888ee)return;const _0x46f393=this['_resultViews']['find'](_0x76ce7=>_0x76ce7['id']===_0x370132);_0x46f393&&(_0x46f393['status']=_0x4888ee,_0x46f393['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x20440a,_0x377cf0){if('pending'!==_0x377cf0)return;const _0x494852=this['_resultViews']['find'](_0x4691cd=>_0x4691cd['id']===_0x20440a);_0x494852&&(_0x494852['status']=_0x377cf0,_0x494852['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x53237f,_0x4fc483){this['headerTitle']=_0x53237f,this['headerSubtitle']=_0x4fc483||'';}['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'],_0x1ea99b['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x50019a=new ckeditor5['View'](this['locale']),_0x34a8b0=[];for(let _0x305448=0x0;_0x305448<0x10;_0x305448++){const _0x1406cd=this['_createSkeletonLoader']();_0x1406cd['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x34a8b0['push'](_0x1406cd);}return _0x50019a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x361272=>!_0x361272)]},'children':_0x34a8b0}),_0x50019a;}['_createErrorView'](){const _0x5d98c2=new ckeditor5['View'](this['locale']),_0x238a78=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x5d98c2['delegate']('retryReview')['to'](this),_0x238a78['set']({'label':t('Try\x20again'),'withText':!0x0,'class':_0x392bdc['SECONDARY']+'\x20ck-ai_review__check-run-error-retry-button'}),_0x238a78['on']('execute',()=>{this['fire']('retryReview');}),_0x5d98c2['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x3a6fde=>!_0x3a6fde),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x4929bd=>'chunk'===_0x4929bd)]},'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',_0x57bf76=>'chunk'===_0x57bf76)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x224609=>'general'!==_0x224609)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x29b5de=>'chunk'!==_0x29b5de)]},'children':[{'text':getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x238a78]}),_0x5d98c2;}['_createCancelButtonView'](){const _0x96c9a1=new ckeditor5['ButtonView'](this['locale']);return _0x96c9a1['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':[_0x392bdc['SECONDARY']+'\x20ck-ai-button-stop-generating'],'icon':ckeditor5['IconStop']}),_0x96c9a1['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x44bf6e=>_0x44bf6e),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2a55a7=>_0x2a55a7)]}}),_0x96c9a1['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x96c9a1;}['_createToggleDiffButtonView'](){const _0x2d928e=new ckeditor5['ButtonView'](this['locale']);_0x2d928e['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x2d928e['bind']('isEnabled')['to'](this,'isError',_0x1b5a42=>!_0x1b5a42),_0x2d928e['extendTemplate']({'attributes':{'class':[_0x392bdc['SECONDARY'],'ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5292a8=>!_0x5292a8),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x43a68e=>_0x43a68e)]}});const _0x22d7aa=getTranslation$i(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x18d28b=getTranslation$i(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x2d928e['bind']('isOn')['to'](this,'isToggleDiffOn',_0x3368eb=>_0x3368eb),_0x2d928e['bind']('icon')['to'](this,'isToggleDiffOn',_0x236143=>_0x236143?ckeditor5['IconEye']:ckeditor5['IconEyeCrossedOut']),_0x2d928e['bind']('label')['to'](this,'isToggleDiffOn',_0x4c52a3=>_0x4c52a3?_0x22d7aa:_0x18d28b),_0x2d928e['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x2d928e;}['_createAcceptAllButtonView'](){const _0x4ef4dd=new ckeditor5['ButtonView'](this['locale']);return _0x4ef4dd['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x4ef4dd['bind']('isEnabled')['to'](this,'isError',_0xf2f7dd=>!_0xf2f7dd),_0x4ef4dd['extendTemplate']({'attributes':{'class':[_0x392bdc['PRIMARY'],'ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x38a2b7=>!_0x38a2b7),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x39a5a0=>_0x39a5a0)]}}),_0x4ef4dd['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x4ef4dd;}['_createExitReviewButtonView'](){const _0x1a1a42=new ckeditor5['ButtonView'](this['locale']);return _0x1a1a42['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x1a1a42['extendTemplate']({'attributes':{'class':[_0x392bdc['TERTIARY'],'ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5bae5d=>!_0x5bae5d),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1e8410=>_0x1e8410)]}}),_0x1a1a42['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x1a1a42;}['_createResultHeaderView'](){const _0x19175f=new ckeditor5['View'](this['locale']),_0x163775=this['_createTitleView']();return _0x19175f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x250b35=>_0x250b35)]},'children':[_0x163775,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x19175f;}['_createTitleView'](){const _0x440079=new ckeditor5['View'](this['locale']),_0x532b7c=new _0x5dee0e();return _0x532b7c['bind']('isVisible')['to'](this,'isResultReady',_0xf4d30f=>!_0xf4d30f),_0x440079['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x532b7c,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x13ba8e=>_0x13ba8e)]},'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',_0x44e2f9=>!_0x44e2f9)]},'children':[{'text':getTranslation$i(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x440079;}['_createFinishReviewButtonView'](){const _0x269d09=new AIReviewCoreFinishReviewButtonView(getTranslation$i(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x269d09['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x42c5e5=>!_0x42c5e5)]}}),_0x269d09['delegate']('finishReview')['to'](this),_0x269d09;}}class AIReviewCoreReviewCompletedView extends ckeditor5['ListItemView']{['_resultsHeader'];['_finishReviewButtonView'];constructor(_0x133e85,_0x2b98fa){super(_0x133e85),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](_0x2b98fa['buttonText']),this['_resultsHeader']=this['_createResultHeaderView'](_0x2b98fa['headerText']);const _0x371fc8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed',_0x371fc8['if']('isVisible','ck-hidden',_0x4ece61=>!_0x4ece61)]},'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':_0x2b98fa['emptyResultsText']}]}]}]});}['_createFinishReviewButtonView'](_0x4edc78){const _0x5b4cce=new AIReviewCoreFinishReviewButtonView(_0x4edc78,this['locale']);return _0x5b4cce['delegate']('finishReview')['to'](this),_0x5b4cce;}['_createResultHeaderView'](_0x42380b){const _0x595071=new ckeditor5['View'](this['locale']);return _0x595071['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':_0x42380b}]},{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0x595071;}}class _0x5d2c42 extends ckeditor5['View']{['_dropdownView'];['_defaultValue'];['_defaultLabel'];constructor(_0xb59370,_0x10b197){super(_0xb59370),this['_defaultValue']=_0x10b197['default']||(_0x10b197['data']['length']>0x0?_0x10b197['data'][0x0]['id']:''),this['_defaultLabel']=_0x10b197['data']['find'](_0x409de3=>_0x409de3['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=ckeditor5['createDropdown'](this['locale']);const _0x4f7e91=this['_prepareListOptions'](_0x10b197['data']);ckeditor5['addListToDropdown'](this['_dropdownView'],_0x4f7e91,{'role':'menu','ariaLabel':_0x10b197['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x54a9fd=>{_0x54a9fd['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0x40d457=>{this['formValue']=_0x40d457['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0x40d457['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'](_0x2cbff0=[]){const _0x34f0f4=new ckeditor5['Collection']();this['resetToDefault']();for(const _0x42cb9d of _0x2cbff0){const _0x61f2e7=new ckeditor5['UIModel']({'label':_0x42cb9d['label'],'withText':!0x0,'role':'menuitemradio','id':_0x42cb9d['id'],'model':_0x42cb9d});_0x61f2e7['bind']('isOn')['to'](this,'formValue',_0x218d36=>_0x218d36===_0x61f2e7['id']);const _0x2526ca={'type':'button','model':_0x61f2e7};_0x34f0f4['add'](_0x2526ca);}return _0x34f0f4;}}class _0x520d1c extends ckeditor5['ListItemView']{['_formItem']=null;constructor(_0x4d8963,_0x549c2b,_0x2812d8){super(_0x4d8963),this['argsKey']=_0x549c2b?.['argsKey'];if('dropdown'===_0x549c2b['formType'])this['_formItem']=new _0x5d2c42(this['locale'],_0x549c2b);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x48aaa8=new ckeditor5['FormRowView'](this['locale'],{'children':[this['_formItem']],'class':[_0x2812d8?'ck-form__row_with-submit':'']});_0x2812d8&&_0x48aaa8['children']['add'](_0x2812d8),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__form-item','ck-reset_all']},'children':[_0x48aaa8]});}['resetToDefault'](){this['_formItem']['resetToDefault']();}}class AIReviewCorePromptInputView extends ckeditor5['TextareaView']{['keystrokes'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x145cda){super(_0x145cda),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(_0x1c905c,_0x8da9dd,_0x47dddc=!0x1){super(_0x1c905c),this['_check']=_0x8da9dd,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x8da9dd['defaultModel']?_0x8da9dd['defaultModel']['id']:'',this['_defaultLabel']=_0x8da9dd['defaultModel']?_0x8da9dd['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new ckeditor5['LabeledFieldView'](this['locale'],()=>new AIReviewCorePromptInputView(_0x1c905c)),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'](_0x47dddc),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',(_0x42932a,_0x46d1ab)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x46d1ab()):_0x46d1ab();}),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'](_0xe36b96=>{this['_focusables']['add'](_0xe36b96),this['focusTracker']['add'](_0xe36b96['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 _0x64c7cf of this['_getFormValidators']()){const _0x130d49=_0x64c7cf();if(_0x130d49)return this['promptInputView']['errorText']=_0x130d49,!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 _0x254647=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x254647['set']({'label':t('Submit'),'withText':!0x0,'class':_0x392bdc['PRIMARY']}),_0x254647['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x254647;}['_createCancelButtonView'](){const _0x5b16bf=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x5b16bf['set']({'label':t('Cancel'),'withText':!0x0,'class':_0x392bdc['TERTIARY']}),_0x5b16bf['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x430e47=>{_0x430e47['stopPropagation']();})}}),_0x5b16bf['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x5b16bf;}['_setModelList'](_0x40274d){this['_modelSelectionDropdownItems']['clear']();const _0x33c91e=this['_check']['models'];if(_0x40274d)this['set']('modelDisplayMode','hidden');else{const _0x10ee4e=0x1===_0x33c91e['length'];this['set']('modelDisplayMode',_0x10ee4e?'name':'selector');}if(this['resetToDefault'](),_0x33c91e?.['length']){0x1===_0x33c91e['length']&&this['set']('activeModelName',_0x33c91e[0x0]['name']||_0x33c91e[0x0]['id']);for(const _0x36011e of _0x33c91e){const _0x5432df=new ckeditor5['UIModel']({'label':_0x36011e['name'],'withText':!0x0,'role':'menuitemradio','id':_0x36011e['id'],'model':_0x36011e});_0x5432df['bind']('isOn')['to'](this,'modelId',_0xd651b6=>_0xd651b6===_0x36011e['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x5432df,'labelView':new ModelButtonLabelView(this['locale'],_0x36011e)});}}}['_createModelSelectionDropdown'](){const _0x193943=ckeditor5['createDropdown'](this['locale']);return _0x193943['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x193943['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0,'class':_0x392bdc['TERTIARY']}),_0x193943['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x228db3=>'selector'===_0x228db3),this['listenTo'](_0x193943,'execute',_0x53a564=>{this['modelId']=_0x53a564['source']['model']['id'],_0x193943['buttonView']['label']=_0x53a564['source']['label'];}),_0x193943;}['_createModelNameView'](){const _0x4ddb81=new _0x3423f6(this['locale']);return _0x4ddb81['bind']('text')['to'](this,'activeModelName',_0x80b681=>_0x80b681??''),_0x4ddb81['bind']('isVisible')['to'](this,'modelDisplayMode',_0x5377c3=>'name'===_0x5377c3),_0x4ddb81;}['_createActionsFooterView'](){const _0x31ec38=new ckeditor5['View'](this['locale']);return _0x31ec38['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']]}]}),_0x31ec38;}}class _0x3423f6 extends ckeditor5['View']{constructor(_0x189423){super(_0x189423),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x556211=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x556211['if']('isVisible','ck-hidden',_0x2f7ec9=>!_0x2f7ec9)]},'children':[{'text':_0x556211['to']('text')}]});}}class ModelButtonLabelView extends ckeditor5['ButtonLabelView']{constructor(_0x271d4e,_0xc114b7){super();const _0x879202=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x879202['to']('style'),'id':_0x879202['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x879202['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0xc114b7['description']||'']}]}]});}}class AIReviewCoreReviewCommandListItemView extends ckeditor5['ListItemView']{['_formItemsCollection']=new ckeditor5['ViewCollection']();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x1786ad,_0x593cf5,_0x5c379d,_0x3a8859=!0x1){super(_0x1786ad),this['_hideModels']=_0x3a8859,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x593cf5['isParameterized']);const _0x8a7ca0=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',_0x23c4b9=>_0x23c4b9),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x371358=>_0x371358)],'style':{'--ck-ai-review-check-list-item-index':_0x5c379d}},'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':_0x593cf5['title']}]},_0x8a7ca0]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x593cf5['description']?[{'text':_0x593cf5['description']}]:[]}]}]},..._0x593cf5['isParameterized']?[this['_createParameterizedView'](_0x593cf5)]:[],...'custom'===_0x593cf5['id']?[this['_createCustomView'](_0x593cf5,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x593cf5['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x593cf5['id'],'args':_0x593cf5['useArgs']?_0x593cf5['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'](_0x208eed=>{_0x208eed['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x3f7d97=new ckeditor5['IconView']();return _0x3f7d97['content']=ckeditor5['IconChevronRight'],_0x3f7d97['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x3f7d97;}['_createParameterizedView'](_0x200062){const _0x59747b=new ckeditor5['View'](),_0x315d52=this['_createFormView'](_0x200062);return _0x59747b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x4f8cbd=>!_0x4f8cbd)]},'children':[_0x315d52]}),_0x59747b;}['_createFormView'](_0x168260){const _0x294a05=new ckeditor5['View'](),_0x5ed89d=Array['isArray'](_0x168260['options'])?_0x168260['options']:[],_0x47ccee=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];_0x47ccee['set']({'label':t('Submit'),'withText':!0x0,'class':_0x392bdc['PRIMARY']}),_0x47ccee['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3d5efd=>{_0x3d5efd['stopPropagation']();})}}),_0x47ccee['on']('execute',()=>{const _0x25060a=[],_0x2029b6={};this['_formItemsCollection']['forEach'](_0x8ace9=>{_0x25060a['push'](_0x8ace9['value']),_0x168260['useArgs']&&_0x168260['options']&&(_0x2029b6[_0x8ace9['argsKey']]=_0x8ace9['value']);}),this['fire']('runReviewCheck',{'id':_0x168260['id'],'params':_0x25060a['length']?_0x25060a:void 0x0,'args':Object['keys'](_0x2029b6)['length']?_0x2029b6:void 0x0});});const _0x237e38=_0x5ed89d['length'];return _0x5ed89d['forEach']((_0x1b5792,_0x4807e2)=>{const _0x27ccaf=_0x4807e2===_0x237e38-0x1;this['_formItemsCollection']['add'](new _0x520d1c(this['locale'],_0x1b5792,_0x27ccaf?_0x47ccee:null));}),_0x294a05['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x294a05;}['_createCustomView'](_0x3b5b25,_0x28fe2f=!0x1){return this['_customCheckView']=new AIReviewCoreCustomCheckView(this['locale'],_0x3b5b25,_0x28fe2f),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',_0x57c795=>!_0x57c795)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0xc3187b,_0x31d01e,_0x1fd4a8)=>{_0x1fd4a8||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}class AIReviewCoreReviewCheckListView extends ckeditor5['ListItemView']{['_checkViews'];constructor(_0xfa6678){super(_0xfa6678),this['_checkViews']=new ckeditor5['ViewCollection'](),this['_setupTemplate']();}['setChecks'](_0x22aa6f,_0x1f732f=!0x1){this['_checkViews']['clear']();for(const [_0x64afd8,_0xe61722]of _0x22aa6f['entries']()){const _0x30960a=new AIReviewCoreReviewCommandListItemView(this['locale'],_0xe61722,_0x64afd8,_0x1f732f);_0x30960a['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x30960a);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}['resetAllParameterizedChecks'](){for(const _0x193eee of this['_checkViews'])_0x193eee instanceof AIReviewCoreReviewCommandListItemView&&_0x193eee['resetToDefault']();}['_setupTemplate'](){const _0x4b7f1e=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x4b7f1e['if']('isVisible','ck-hidden',_0x4add01=>!_0x4add01)]},'children':this['_checkViews']});}}class _0x27c2a3 extends _0xac0737{static get['pluginName'](){return'AIReviewModeUI';}['createMainView'](){const _0x505dfb=this['context']['locale'],_0x43880a=new ckeditor5['FormHeaderView'](_0x505dfb,{'label':getTranslation$i(_0x505dfb,'AI_REVIEW_MODE'),'icon':ckeditor5['IconAIReview'],'class':'ck-ai-header\x20ck-ai-header_review'});return new _0x3f5ce5(this['context']['locale'],{'header':_0x43880a,'list':new AIReviewCoreReviewCheckListView(_0x505dfb),'results':new AIReviewCoreUICheckResultsView(_0x505dfb,{'generalErrorText':getTranslation$i(_0x505dfb,'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x505dfb,{'headerText':getTranslation$i(_0x505dfb,'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'),'emptyResultsText':getTranslation$i(_0x505dfb,'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'),'buttonText':getTranslation$i(_0x505dfb,'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL')})});}['registerTab'](){const _0x2a1063=this['context']['plugins']['get']('AITabs');_0x2a1063['view']['on']('activateTab',(_0x4bbda3,_0x46f266)=>{'reviewMode'===_0x46f266?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x2a1063['view']['addTab']({'id':'reviewMode','buttonLabel':getTranslation$i(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':ckeditor5['IconAIReview'],'order':0x0,'content':this['_mainView']});}}const _0x429216='review-',_0x3708bc=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(_0x43d2cc){super(_0x43d2cc),this['_domEmitter']=new(ckeditor5['DomEmitterMixin']())(),this['_eventEmitter']=new(ckeditor5['EmitterMixin']())();}get['emitter'](){return this['_eventEmitter'];}['afterInit'](){const _0x2f6c26=getEditorFromContext(this['context']);_0x2f6c26['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x429216+'insert','view':(_0x52f10e,{writer:_0xecead7})=>{const _0x26d7f2=this['_markers']['get'](_0x52f10e['markerName']),_0x49dde2={'class':'ck-ai_review-marker_add'+(this['_activeMarkers']['has'](_0x26d7f2?.['id']||'')?'\x20ck-ai_review__change_active':''),'data-marker-id':_0x52f10e['markerName']};return _0xecead7['createUIElement']('span',_0x49dde2,function(_0x4a6d95){const _0x1cd59f=this['toDomElement'](_0x4a6d95);return _0x1cd59f['innerHTML']=_0x26d7f2?.['content']?.['asString']||'',_0x1cd59f;});}}),_0x2f6c26['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x429216+'remove-only','view':_0x3ac6af=>{const _0x56c835=this['_markers']['get'](_0x3ac6af['markerName']),_0x4876eb=['ck-ai_review-marker_strikethrough'];return this['_activeMarkers']['has'](_0x56c835?.['id']||'')&&_0x4876eb['push']('ck-ai_review__change_active'),{'classes':_0x4876eb,'attributes':{'data-marker-id':_0x3ac6af['markerName']}};}}),_0x2f6c26['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x429216+'remove-context','view':_0x101c70=>{const _0x1d22d4=this['_markers']['get'](_0x101c70['markerName']),_0x44b0f3=['ck-ai_review-marker_underline'];return this['_activeMarkers']['has'](_0x1d22d4?.['id']||'')&&_0x44b0f3['push']('ck-ai_review__change_active'),{'classes':_0x44b0f3,'attributes':{'data-marker-id':_0x101c70['markerName']}};}}),_0x2f6c26['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x429216+'remove-text','view':_0xb11910=>{const _0x525378=this['_markers']['get'](_0xb11910['markerName']),_0x19395f=['ck-ai_review-marker_hide'];return this['_activeMarkers']['has'](_0x525378?.['id']||'')&&_0x19395f['push']('ck-ai_review__change_active'),{'classes':_0x19395f,'attributes':{'data-marker-id':_0xb11910['markerName']}};}}),_0x2f6c26['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x429216+'suggestion-context','view':(_0x41066a,{writer:_0x2ee684})=>_0x2ee684['createRawElement']('span',{'class':'ck-ai_review-marker_context-'+(_0x41066a['isOpening']?'start':'end')})}),_0x2f6c26['conversion']['for']('downcast')['attributeToAttribute']({'model':_0x33098c,'view':_0x34fc67});const _0x2d8eda=_0x2f6c26['ui']['getEditableElement']()||document['body'];this['_domEmitter']['listenTo'](_0x2d8eda,'mouseup',(_0x35f7b4,_0x59ebb2)=>{const _0x2f832f=_0x59ebb2['target'],_0x5aea28=this['_findMarkerElement'](_0x2f832f);if(!_0x5aea28)return;const _0x5d497a=_0x5aea28['getAttribute']('data-marker-id'),_0x3db6f1=_0x5d497a['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClicked',{'markerId':_0x5d497a,'changeId':_0x3db6f1,'markerElement':()=>this['_findMarkerElementById'](_0x5d497a),'domEvent':_0x59ebb2});},{'usePassive':!0x0,'priority':'highest'}),this['_domEmitter']['listenTo'](_0x2d8eda,'mouseover',(_0x3a858e,_0x24caf6)=>{const _0x1174cf=_0x24caf6['target'],_0x37a61b=_0x24caf6['relatedTarget'];let _0x81e3c5=this['_findMarkerElement'](_0x1174cf);if(!_0x81e3c5&&_0x37a61b&&(_0x81e3c5=this['_findMarkerElement'](_0x37a61b)),!_0x81e3c5)return;const _0x5ab4b7=_0x81e3c5['getAttribute']('data-marker-id'),_0x36f4a4=_0x5ab4b7['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerHovered',{'changeId':_0x36f4a4,'markerElement':()=>this['_findMarkerElementById'](_0x5ab4b7),'domEvent':_0x24caf6});}),this['_domEmitter']['listenTo'](document,'mouseover',_0x28878c((_0x2e1368,_0xf08e82)=>{const _0x2c9bf7=_0xf08e82['target'];if(this['_findMarkerElement'](_0x2c9bf7))return;_0x2c9bf7['closest']('.ck-reset.ck-ai_review-balloon-panel-suggestion')||this['_eventEmitter']['fire']('changeMarkerBlurred');},0xc8)),_0x2f6c26['model']['document']['registerPostFixer'](_0x4789b1=>this['_validateMarkers'](_0x2f6c26,_0x4789b1)),_0x2f6c26['model']['document']['on']('change',()=>this['_handleMarkerChanges'](_0x2f6c26));}['getDocumentData'](){const _0x1203c5=this['context']['plugins']['get']('AIEditing'),_0xbc44df=getEditorFromContext(this['context']),_0x16dc0a=_0xbc44df['model'],_0x3997bc=new ckeditor5['ModelDocumentFragment']();for(const _0x564e57 of _0x16dc0a['document']['getRoot']()['getChildren']()){const _0x469376=_0x564e57['_clone'](!0x0);_0x3997bc['_appendChild'](_0x469376);}for(const _0x290c04 of _0x16dc0a['markers'])_0x3997bc['markers']['set'](_0x290c04['name'],this['_changeRangeOwnerDocument'](_0x290c04['getRange']()['clone'](),_0x3997bc));const _0x36b98b=new ckeditor5['ModelTreeWalker']({'ignoreElementEnd':!0x0,'startPosition':_0x16dc0a['createPositionAt'](_0x3997bc,0x0)}),_0x2648f3=new Set(),_0x4b9bac=new Map();for(const {item:_0x109569}of _0x36b98b){if(!_0x109569['is']('$textProxy'))continue;const _0x4eed9a=_0x109569['parent'];if(_0x4eed9a&&_0x4eed9a['is']('element')){const _0x288357=this['_upsertDataId'](_0x4eed9a,()=>_0x1203c5['_nextDataId'](_0x2648f3));_0x2648f3['add'](_0x288357);for(const _0x43704c of _0x4eed9a['getChildren']())_0x43704c['is']('element')&&_0x2648f3['add'](this['_upsertDataId'](_0x43704c,()=>_0x1203c5['_nextDataId'](_0x2648f3)));let _0x420b0e=_0x4eed9a;for(;_0x420b0e['parent']&&!_0x420b0e['parent']['is']('documentFragment');)_0x420b0e=_0x420b0e['parent'],_0x420b0e['hasAttribute'](_0x33098c)&&_0x420b0e['_removeAttribute'](_0x33098c);_0x4b9bac['set'](_0x288357,{'path':_0x4eed9a['getPath'](),'getContent':this['_createGetContentUsingDataIdFn'](_0x420b0e['_clone'](!0x0),_0x288357,_0xbc44df['data'])}),_0x36b98b['jumpTo'](_0x16dc0a['createPositionAfter'](_0x4eed9a));}}return{'content':_0xbc44df['data']['processor']['toData'](_0xbc44df['data']['toView'](_0x3997bc)),'version':_0xbc44df['model']['document']['version'],'elements':_0x4b9bac};}['diffContent'](_0x4bbda4,_0x16a15f,_0x43f1ba=!0x1){const _0xa4b194=[],_0x4d3827=getEditorFromContext(this['context']),_0x146d6f=_0x4d3827['data']['parse'](_0x16a15f,'$documentFragment'),_0x32df98=_0x4d3827['data']['parse'](_0x4bbda4,'$documentFragment'),_0x3862f3=_0x4d3827['model']['createPositionAt'](_0x32df98,0x0);if(this['_haveSingleTopLevelElement'](_0x146d6f)){if(!this['_hasSameTopLevelElement'](_0x32df98,_0x146d6f))return _0xa4b194;}else{const _0x540ac9=_0x4d3827['model']['schema'];if(!this['_haveOnlyInlineContent'](_0x32df98,_0x540ac9)||!this['_haveOnlyInlineContent'](_0x146d6f,_0x540ac9))return _0xa4b194;}const _0x3e9766=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0x4bbda4,_0x16a15f,{'anchor':_0x3862f3,'markDeletions':!0x0})['getOperations']()['filter'](_0x24e8f6=>'insert'===_0x24e8f6['type']||'marker'===_0x24e8f6['type']&&_0x24e8f6['name']['startsWith']('$markedRemove')),_0x266579=this['_groupAdjacentOperations'](_0x3e9766),_0xdd1213=[];if(_0x43f1ba){if(_0x266579['length']){const _0x496fac=_0x266579[0x0]['operations'][0x0],_0x51e9c6='insert'===_0x496fac['type']?_0x496fac['position']:_0x496fac['newRange']['start'],_0x23c7f1=this['_getPositionLimitingRange'](_0x51e9c6,_0x4d3827,'inside'),_0x5bb148=_0x23c7f1?_0x146d6f['getChild'](0x0)['getChildren']():_0x146d6f['getChildren'](),_0x3110c8=_0x23c7f1||_0x4d3827['model']['createRangeIn'](_0x32df98),_0x34373=[new ckeditor5['MarkerOperation']('$markedRemove:synthetic'+ckeditor5['uid'](),null,_0x3110c8,_0x4d3827['model']['document']['model']['markers'],!0x0,_0x4d3827['model']['document']['version']+0x1),new ckeditor5['InsertOperation'](_0x3110c8['end'],_0x5bb148,_0x4d3827['model']['document']['version']+0x2)];_0xdd1213['push']({'operations':_0x34373,'operationsIsolated':_0x34373,'groupOffset':0x0});}}else _0xdd1213['push'](..._0x266579);let _0x3e5f06=0x0;return _0x4d3827['model']['change'](_0x4c808f=>{for(let _0x3fad97=0x0;_0x3fad97<_0xdd1213['length'];_0x3fad97++){const _0x5cc77a=_0xdd1213[_0x3fad97],_0x2af14c=_0x4c808f['createDocumentFragment']();for(const _0x3463d5 of _0x32df98['getChildren']())_0x4c808f['append'](_0x3463d5['_clone'](!0x0),_0x2af14c);for(const _0x4f7fb8 of _0x5cc77a['operationsIsolated'])if('insert'===_0x4f7fb8['type']){const _0x54bde4=_0x4f7fb8;_0x54bde4['baseVersion']=null,_0x54bde4['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0x54bde4,_0x2af14c),_0x4c808f['batch']['addOperation'](_0x4f7fb8),_0x4d3827['model']['applyOperation'](_0x4f7fb8);const _0x445fb4='suggestion:insertion:id:authorId:'+_0x3e5f06++,_0x4614b3=_0x4d3827['model']['createRange'](_0x54bde4['position'],_0x54bde4['position']['getShiftedBy'](_0x54bde4['howMany']));_0x2af14c['markers']['set'](_0x445fb4,_0x4614b3);}else{if('marker'===_0x4f7fb8['type']&&_0x4f7fb8['name']['startsWith']('$markedRemove')){const _0xd62e22=_0x4f7fb8,_0x27b8d8='suggestion:deletion:id:authorId:'+_0x3e5f06++;this['_changeOperationOwnerDocument'](_0xd62e22,_0x2af14c),_0x2af14c['markers']['set'](_0x27b8d8,_0xd62e22['newRange']);}}if(_0x43f1ba)_0xa4b194['push']({..._0x5cc77a,'context':this['_createGetContentFn'](_0x32df98,_0x4d3827['data']),'content':this['_createGetContentFn'](_0x32df98,_0x4d3827['data'])});else{const _0x2060fe=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0x5cc77a['operationsIsolated'][0x0]),_0x2af14c),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0x5cc77a['operationsIsolated'][_0x5cc77a['operationsIsolated']['length']-0x1]),_0x2af14c));_0x2af14c['markers']['set'](_0x429216+'suggestion-context',new ckeditor5['ModelRange'](_0x2060fe['start'],_0x2060fe['end'])),_0xa4b194['push']({..._0x5cc77a,'context':this['_createGetContextFn'](_0x2af14c,_0x4d3827['data'],{'ellipsisBefore':_0x2060fe['hasContentBefore'],'ellipsisAfter':_0x2060fe['hasContentAfter']}),'content':this['_createGetContentFn'](_0x2af14c,_0x4d3827['data'])});}}}),_0xa4b194;}['markChangePositionInEditorContent'](_0x4ba5b8,_0xa5cf3b){if(!_0x4ba5b8['length'])return;const _0xa3d153=_0x4ba5b8[0x0]['parent']['id'],_0x42321b=_0xa5cf3b['elements']['get'](_0xa3d153);if(!_0x42321b)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0xa3d153);const _0x444b79=_0x42321b['path'],_0x17aa55=getEditorFromContext(this['context']),_0x26597c=_0x17aa55['model']['document']['history']['getOperations'](_0xa5cf3b['version']),_0x25447d=[];for(const _0x402e20 of _0x4ba5b8){const _0x2db4c9=_0x402e20['operationsIsolated']['map'](_0x54c74f=>this['_translateOperationToEditorContent'](_0x54c74f,_0x444b79,_0x17aa55['model']['document']['getRoots']()[0x0]));if(!_0x2db4c9||!_0x2db4c9['length'])continue;const _0x1c53c9=_0x2db4c9['every'](_0x313bf1=>'marker'===_0x313bf1['type']&&_0x313bf1['name']['startsWith']('$markedRemove')),_0x34555a={'document':_0x17aa55['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x5fde54=ckeditor5['transformOperationSets'](_0x2db4c9,_0x26597c,_0x34555a)['operationsA'];for(const _0x5f3e26 of _0x5fde54)if('insert'===_0x5f3e26['type']){const _0x2750ee=_0x5f3e26,_0x27abe2=_0x2750ee['nodes'];_0x17aa55['model']['change'](_0x22d573=>{const _0x2048d6=_0x22d573['createDocumentFragment']();for(const _0x26bf2b of _0x27abe2)_0x22d573['append'](_0x26bf2b['_clone'](!0x0),_0x2048d6);_0x25447d['push']({'start':_0x2750ee['position'],'end':_0x2750ee['position'],'type':'insert','groupId':_0x402e20['id'],'content':{'asString':this['_createGetContentFn'](_0x2048d6,_0x17aa55['data'])(),'asFragment':_0x2048d6}});});}else{if('marker'===_0x5f3e26['type']&&_0x5f3e26['name']['startsWith']('$markedRemove')){const _0x5ddeae=_0x5f3e26;let _0x390ccf='remove-text';if(_0x1c53c9){const _0x2e9496=this['_findAdjacentContextDistance'](_0x5ddeae['newRange']['start'],'backward',_0x17aa55['model']['schema']),_0x264f00=this['_findAdjacentContextDistance'](_0x5ddeae['newRange']['end'],'forward',_0x17aa55['model']['schema']);if(_0x2e9496||_0x264f00){const _0x250c48=_0x5ddeae['newRange']['start']['getShiftedBy'](-_0x2e9496),_0x227ecb=_0x5ddeae['newRange']['end']['getShiftedBy'](_0x264f00);_0x25447d['push']({'start':_0x250c48,'end':_0x227ecb,'groupId':_0x402e20['id'],'type':'remove-context'});}else _0x390ccf='remove-only';}_0x25447d['push']({'start':_0x5ddeae['newRange']['start'],'end':_0x5ddeae['newRange']['end'],'groupId':_0x402e20['id'],'type':_0x390ccf});}}}this['_insertMarkers'](_0x25447d);}['clearAllMarkers'](){const _0x192e11=getEditorFromContext(this['context']);_0x192e11['model']['change'](_0x554e93=>{for(const _0x4442a9 of this['_markers']['keys']())_0x192e11['model']['markers']['get'](_0x4442a9)&&_0x554e93['removeMarker'](_0x4442a9);}),this['_markers']['clear'](),this['_activeMarkers']['clear']();}['switchToReadOnly'](){getEditorFromContext(this['context'])['enableReadOnlyMode']('ai-review');}['switchToEdit'](){getEditorFromContext(this['context'])['disableReadOnlyMode']('ai-review');}['applyChange'](_0x4b998c){const _0x4d0ec9=getEditorFromContext(this['context']),_0x1f5f68=_0x4d0ec9['model'],_0x4b42a9=_0x4b998c['map'](_0x532d8f=>this['_getMarkersDataForGroup'](_0x532d8f))['flat']();_0x1f5f68['change'](_0x169fc2=>{for(const _0x1bfe96 of _0x4b42a9){const _0xb9ec49=_0x4d0ec9['model']['markers']['get'](_0x1bfe96['id']);if(_0xb9ec49){if('insert'===_0x1bfe96['type']){if(!_0x1bfe96['content'])continue;_0x1f5f68['insertContent'](_0x1bfe96['content']['asFragment']||null,_0xb9ec49['getRange']()['start']);}else'remove-text'!==_0x1bfe96['type']&&'remove-only'!==_0x1bfe96['type']||_0x1f5f68['deleteContent'](_0x1f5f68['createSelection'](_0xb9ec49['getRange']()));_0x169fc2['removeMarker'](_0x1bfe96['id']),this['_markers']['delete'](_0x1bfe96['id']);}}});}['rejectChange'](_0x4cf15d){const _0x494f44=getEditorFromContext(this['context']),_0x4c1519=this['_getMarkersDataForGroup'](_0x4cf15d);_0x494f44['model']['change'](_0x5dcd0a=>{for(const _0x1e3c10 of _0x4c1519)_0x5dcd0a['removeMarker'](_0x1e3c10['id']),this['_markers']['delete'](_0x1e3c10['id']);});}['getEditor'](){return getEditorFromContext(this['context']);}['getMarkerElementForChange'](_0x58a161){const _0x3ee77f=Array['from'](this['_markers']['values']())['filter'](_0x401437=>_0x401437['groupId']===_0x58a161);if(!_0x3ee77f['length'])return null;const _0x593016=0x1===_0x3ee77f['length']?_0x3ee77f[0x0]:this['_sortMarkers'](_0x3ee77f)[0x0],_0x2eb43f=getEditorFromContext(this['context'])['model']['markers']['get'](_0x593016['id']);if(!_0x2eb43f)return null;return{'modelRange':_0x2eb43f['getRange'](),'getElement':()=>this['_findMarkerElementById'](_0x593016['id'])};}['getContentElementForChange'](_0x110249){const _0x17d19b=Array['from'](this['_markers']['values']())['filter'](_0x4e9777=>_0x4e9777['groupId']===_0x110249);if(!_0x17d19b['length'])return null;const _0x4505a7=0x1===_0x17d19b['length']?_0x17d19b[0x0]:this['_sortMarkers'](_0x17d19b)[0x0],_0x150289=getEditorFromContext(this['context']),_0x22acd4=_0x150289['model']['markers']['get'](_0x4505a7['id']);if(!_0x22acd4)return null;const _0x4b2b77=_0x22acd4['getRange'](),_0x203a13=_0x150289['editing']['view']['getDomRoot']();if(!_0x203a13||!_0x4b2b77)return null;let _0x1b9275=_0x4b2b77['start']['parent'];for(;_0x1b9275['parent']&&'$root'!==_0x1b9275['parent']['name'];)_0x1b9275=_0x1b9275['parent'];if(!_0x1b9275||!_0x1b9275['name'])return null;const _0x243de7=_0x203a13['querySelector']('[data-marker-id=\x22'+_0x4505a7['id']+'\x22]');if(!_0x243de7)return null;let _0x55086c=null;_0x150289['model']['change'](_0x8a3659=>{_0x55086c=_0x8a3659['createDocumentFragment'](),_0x8a3659['append'](_0x1b9275['_clone'](!0x0),_0x55086c);});const _0x10d03b=_0x150289['data']['toView'](_0x55086c)['getChild'](0x0);return _0x243de7['closest'](_0x10d03b['name']);}['reactivateMarkers'](_0x1a50b9){const _0x1a751a=this['_getMarkersDataForGroup'](_0x1a50b9);if(!_0x1a751a['length'])return;const _0x3d57ba=Array['from'](this['_activeMarkers'])['sort'](),_0x255c98=Array['from'](new Set(_0x1a751a['map'](_0x1564cd=>_0x1564cd['id'])))['sort']();_0x3d57ba['join']('|')!==_0x255c98['join']('|')&&(this['setAllMarkersAsInactive'](),this['setMarkersInElementAsActive'](_0x1a50b9));}['setMarkersInElementAsActive'](_0x1e2d04){const _0x4011ef=this['_getMarkersDataForGroup'](_0x1e2d04);if(!_0x4011ef['length'])return;const _0x144eed=getEditorFromContext(this['context']),_0x449e9d=new Set(_0x4011ef['map'](_0xf0d58d=>_0xf0d58d['id'])),_0x4bf0cf=Array['from'](_0x449e9d['values']())['map'](_0x55f810=>_0x144eed['model']['markers']['get'](_0x55f810))['filter'](_0x314837=>!!_0x314837);_0x449e9d['forEach'](_0x199e08=>{this['_activeMarkers']['add'](_0x199e08);}),_0x144eed['model']['change'](()=>{_0x4bf0cf['forEach'](_0x572bb8=>{_0x144eed['editing']['reconvertMarker'](_0x572bb8);});});}['setAllMarkersAsInactive'](){const _0x1324c7=Array['from'](this['_activeMarkers']);if(!_0x1324c7['length'])return;this['_activeMarkers']['clear']();const _0x4a5c84=getEditorFromContext(this['context']),_0x599416=_0x1324c7['map'](_0x1876f2=>_0x4a5c84['model']['markers']['get'](_0x1876f2))['filter'](_0x217a0b=>!!_0x217a0b);_0x4a5c84['model']['change'](()=>{_0x599416['forEach'](_0x1e2143=>{_0x4a5c84['editing']['reconvertMarker'](_0x1e2143);});});}['_getPositionLimitingRange'](_0x1d1529,_0x40176d,_0x2bc6ed='outside'){if(!_0x1d1529)return null;let _0x4aa93f=_0x1d1529['parent'];for(;_0x4aa93f&&_0x4aa93f['parent']&&'$root'!==_0x4aa93f['parent']['name']&&!_0x40176d['model']['schema']['isLimit'](_0x4aa93f)&&!_0x40176d['model']['schema']['isBlock'](_0x4aa93f);)_0x4aa93f=_0x4aa93f['parent'];if(!_0x4aa93f||!_0x4aa93f['name']||'$root'===_0x4aa93f['name'])return null;let _0x281e6c=null;return _0x40176d['model']['change'](_0x4e9e3f=>{_0x281e6c='inside'===_0x2bc6ed?_0x4e9e3f['createRangeIn'](_0x4aa93f):_0x4e9e3f['createRangeOn'](_0x4aa93f);}),_0x281e6c;}['_validateMarkers'](_0x22763a,_0x3545f8){const _0x4ca1e4=Array['from'](this['_markers']['keys']()),_0x2959b3=new Map();for(const _0x8ef8f7 of _0x4ca1e4){const _0xfeeb0=_0x22763a['model']['markers']['get'](_0x8ef8f7);if(!_0xfeeb0)continue;const _0x2252c4=_0xfeeb0['getStart']()['path'][0x0];_0x2959b3['has'](_0x2252c4)||_0x2959b3['set'](_0x2252c4,[]),_0x2959b3['get'](_0x2252c4)['push'](_0xfeeb0);}const _0x35bb11=new Set();for(const _0x417afd of _0x22763a['model']['document']['differ']['getChanges']()){let _0x1ffb06=-0x1,_0x127991=null;if('insert'===_0x417afd['type'])_0x127991=new ckeditor5['ModelRange'](_0x417afd['position'],_0x417afd['position']['getShiftedBy'](_0x417afd['length'])),_0x1ffb06=_0x417afd['position']['path'][0x0];else{if('remove'!==_0x417afd['type'])continue;_0x127991=new ckeditor5['ModelRange'](_0x417afd['position']),_0x1ffb06=_0x417afd['position']['path'][0x0];}const _0x567b3e=_0x2959b3['get'](_0x1ffb06)||[];if(_0x567b3e['length']){for(const _0x43eac3 of _0x567b3e)if(_0x127991['root']['rootName']===_0x43eac3['getRange']()['root']['rootName']&&('insert'!==_0x417afd['type']||!_0x127991['containsRange'](_0x43eac3['getRange']()))&&(_0x127991['isIntersecting'](_0x43eac3['getRange']())||_0x127991['start']['isTouching'](_0x43eac3['getRange']()['end'])||_0x127991['end']['isTouching'](_0x43eac3['getRange']()['start']))){const _0x15078f=this['_parseMarkerName'](_0x43eac3['name']);Array['from'](this['_markers']['values']())['filter'](_0x3992d2=>_0x3992d2['groupId']===_0x15078f['groupId'])['forEach'](_0x437529=>_0x35bb11['add'](_0x437529['id']));}}}if(_0x35bb11['size']){for(const _0x46c364 of _0x35bb11)_0x3545f8['removeMarker'](_0x46c364);return!0x0;}return!0x1;}['_handleMarkerChanges'](_0x4833a0){for(const {name:_0x1da38e,data:_0x4905fb}of _0x4833a0['model']['document']['differ']['getChangedMarkers']()){if(!_0x1da38e['startsWith'](_0x429216))continue;const _0x53f660=_0x4905fb['oldRange'],_0x3cf3ec=_0x4905fb['newRange'],_0x97cf0d=_0x53f660&&'$graveyard'===_0x53f660['root']['rootName'],_0x290822=_0x3cf3ec&&'$graveyard'===_0x3cf3ec['root']['rootName'];if(_0x97cf0d&&_0x290822)continue;const _0x3e7d18=this['_parseMarkerName'](_0x1da38e);this['_markers']['get'](_0x1da38e)&&(_0x290822||!_0x3cf3ec?this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x1da38e,'changeId':_0x3e7d18['groupId']}):_0x97cf0d&&_0x3cf3ec&&this['_eventEmitter']['fire']('changeMarkerRestored',{'markerId':_0x1da38e,'changeId':_0x3e7d18['groupId']}));}}['_parseMarkerName'](_0x10311b){const _0x23b64e=_0x10311b['split'](':'),_0x21635a=(_0x23b64e[0x1]||'')['split']('_');return{'prefix':_0x23b64e[0x0],'groupId':_0x21635a[0x0],'suffix':_0x21635a[0x1]};}['_translateOperationToEditorContent'](_0x304a3d,_0x3b114b,_0x390f12){if('insert'===_0x304a3d['type']){const _0xf764d3=_0x304a3d;return new ckeditor5['InsertOperation'](this['_changePosition'](_0x3b114b['concat'](_0xf764d3['position']['offset']),_0x390f12),_0xf764d3['nodes'],_0xf764d3['baseVersion']);}if('marker'===_0x304a3d['type']&&_0x304a3d['name']['startsWith']('$markedRemove')){const _0x40098f=_0x304a3d;return new ckeditor5['MarkerOperation'](_0x40098f['name'],_0x40098f['oldRange'],this['_changeRange'](_0x40098f['newRange'],_0x3b114b['concat'](_0x40098f['newRange']['start']['offset']),_0x3b114b['concat'](_0x40098f['newRange']['end']['offset']),_0x390f12),_0x40098f['_markers'],_0x40098f['affectsData'],_0x40098f['baseVersion']);}return _0x304a3d;}['_groupAdjacentOperations'](_0xe7fc9e){if(!_0xe7fc9e['length'])return[];const _0x379b4b=[];let _0x260cd0=0x0,_0x11aeb8=0x0,_0x4330fc=[];for(let _0x57c7b3=0x0;_0x57c7b3<=_0xe7fc9e['length'];_0x57c7b3++){const _0x21a2c5=_0xe7fc9e[_0x57c7b3],_0x480d93=_0xe7fc9e[_0x57c7b3-0x1];!_0x21a2c5||_0x480d93&&!this['_getOperationEnd'](_0x480d93)['isTouching'](this['_getOperationStart'](_0x21a2c5))?(_0x379b4b['push']({'operations':_0x4330fc,'operationsIsolated':_0x4330fc['map'](_0x5c9184=>this['_shiftOperation'](_0x5c9184['clone'](),-_0x11aeb8)),'groupOffset':_0x260cd0}),_0x4330fc=_0x21a2c5?[_0x21a2c5]:[],_0x11aeb8+=_0x260cd0,_0x260cd0=0x0):_0x4330fc['push'](_0x21a2c5),_0x21a2c5&&'insert'===_0x21a2c5['type']&&(_0x260cd0+=_0x21a2c5['howMany']);}return _0x379b4b;}['_findAdjacentContextDistance'](_0x5a3dff,_0x4dafc5,_0x631f24,_0x2f5339=0x1){const _0x251f7f=new ckeditor5['ModelTreeWalker']({'startPosition':_0x5a3dff,'direction':_0x4dafc5});let _0x57d672=0x0;for(let _0x4851b1=0x0;_0x4851b1<_0x2f5339;_0x4851b1++){let _0x39af0e=0x0,_0x3f45ce=!0x1,_0x4023ab='forward'===_0x4dafc5?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x3b6cec}of _0x251f7f)if(_0x3b6cec['is']('$textProxy')){const _0x381787=_0x4023ab['exec'](_0x3b6cec['data']);if(_0x381787&&_0x381787['length']){if(_0x39af0e+='forward'===_0x4dafc5?_0x381787['index']+_0x381787[0x0]['length']:_0x3b6cec['data']['length']-_0x381787['index'],_0x381787[0x0]['length']!==_0x3b6cec['data']['length'])break;_0x3f45ce=!0x0,_0x4023ab='forward'===_0x4dafc5?/^\w+/:/\w+$/;}else{if(_0x3f45ce)break;_0x39af0e+=_0x3b6cec['offsetSize'];}}else{if(_0x3b6cec['is']('element')){_0x631f24['isInline'](_0x3b6cec)&&!_0x3f45ce&&(_0x39af0e+=0x1);break;}}_0x57d672+=_0x39af0e,_0x251f7f['jumpTo'](_0x5a3dff['getShiftedBy']('forward'===_0x4dafc5?_0x57d672:-_0x57d672));}return _0x57d672;}['_getChangeContext'](_0x5193df,_0x50c06b){const _0x552d2b=getEditorFromContext(this['context'])['model']['schema'],_0x5408cf=this['_findAdjacentContextDistance'](_0x5193df,'backward',_0x552d2b,_0x3708bc),_0x5d886=this['_findAdjacentContextDistance'](_0x50c06b,'forward',_0x552d2b,_0x3708bc),_0x2af126=_0x5193df['getShiftedBy'](-_0x5408cf),_0x3a7b16=_0x50c06b['getShiftedBy'](_0x5d886);return{'start':_0x2af126,'end':_0x3a7b16,'hasContentBefore':!_0x2af126['isAtStart'],'hasContentAfter':!_0x3a7b16['isAtEnd']};}['_insertMarkers'](_0x164f0e){const _0x180b33=this['context']['plugins']['get']('AIEditing'),_0xe773cb=new Set();getEditorFromContext(this['context'])['model']['change'](_0xb84741=>{for(const _0x41a39a of _0x164f0e){const _0x10bb0e=''+_0x429216+_0x41a39a['type']+':'+_0x41a39a['groupId']+'_'+_0x180b33['_nextDataId'](_0xe773cb);this['_markers']['set'](_0x10bb0e,{'id':_0x10bb0e,'groupId':_0x41a39a['groupId'],'type':_0x41a39a['type'],'content':_0x41a39a['content']}),_0xb84741['addMarker'](_0x10bb0e,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xb84741['createRange'](_0x41a39a['start'],_0x41a39a['end'])});}});}['_createGetContextFn'](_0xf11faf,_0x54bc42,_0x1b11e0){let _0x44c6a8='';return()=>{if(!_0x44c6a8){const _0x470a69=_0x54bc42['toView'](_0xf11faf,{'showSuggestionHighlights':!0x0});let _0x502689=_0x470a69['getChild'](0x0);if(_0x502689['is']('containerElement')||(_0x502689=_0x470a69),!_0x502689)return'';let _0xc19534=!0x1;const _0x1750b2=[];for(const _0x17435f of _0x502689['getChildren']())_0x17435f['is']('element','span')&&_0x17435f['hasClass']('ck-ai_review-marker_context-end')&&(_0xc19534=!0x1),_0xc19534&&_0x1750b2['push'](_0x17435f),_0x17435f['is']('element','span')&&_0x17435f['hasClass']('ck-ai_review-marker_context-start')&&(_0xc19534=!0x0);_0x502689['_removeChildren'](0x0,_0x502689['childCount']),_0x1b11e0?.['ellipsisBefore']&&_0x502689['_appendChild']('…'),_0x502689['_appendChild'](_0x1750b2),_0x1b11e0?.['ellipsisAfter']&&_0x502689['_appendChild']('…');const _0xe75c84=_0x54bc42['htmlProcessor']['domConverter']['viewToDom'](_0x470a69),_0x5a7336=_0x54bc42['htmlProcessor']['htmlWriter']['getHtml'](_0xe75c84);_0x44c6a8=_0x5a7336;}return _0x44c6a8;};}['_createGetContentFn'](_0x590944,_0x41ae85){let _0x4ab0ed='';return()=>(_0x4ab0ed||(_0x4ab0ed=_0x41ae85['stringify'](_0x590944,{'showSuggestionHighlights':!0x0})),_0x4ab0ed);}['_createGetContentUsingDataIdFn'](_0x557654,_0x12eaca,_0x1a24f4){let _0x4cdb26='';return()=>{if(!_0x4cdb26){const _0x437a56=_0x1a24f4['toView'](new ckeditor5['ModelDocumentFragment'](_0x557654)),_0x2c6153=_0x1a24f4['htmlProcessor']['domConverter']['viewToDom'](_0x437a56)['querySelector']('[data-id=\x22'+_0x12eaca+'\x22]');_0x4cdb26=_0x2c6153?.['outerHTML']||'';}return _0x4cdb26;};}['_findMarkerElement'](_0x3b870a,_0x595408=0x5){let _0x962493=_0x3b870a,_0x325dbf=null;for(let _0x31c4e6=0x0;_0x31c4e6<_0x595408&&_0x962493;_0x31c4e6++){if(!_0x962493['className']){_0x962493=_0x962493['parentElement'];continue;}if(!(''+_0x962493['className'])['includes']('ck-ai_review-marker_')){_0x962493=_0x962493['parentElement'];continue;}if(!_0x962493['getAttribute']('data-marker-id'))break;_0x325dbf=_0x962493;break;}return _0x325dbf;}['_findMarkerElementById'](_0x472b50){const _0x304a81=getEditorFromContext(this['context']),_0x1a9783=_0x304a81['model']['markers']['get'](_0x472b50);return _0x1a9783?getMarkerDomElement(_0x304a81['editing'],_0x1a9783):null;}['_getMarkersDataForGroup'](_0x73054a){return Array['from'](this['_markers']['values']())['filter'](_0x3e67d0=>_0x3e67d0['groupId']===_0x73054a);}['_getOperationStart'](_0x507215){return'insert'===_0x507215['type']?_0x507215['position']:_0x507215['newRange']['start'];}['_getOperationEnd'](_0x3bce03,_0x540526=!0x1){return'insert'===_0x3bce03['type']?_0x540526?_0x3bce03['position']:_0x3bce03['position']['getShiftedBy'](_0x3bce03['howMany']):_0x3bce03['newRange']['end'];}['_shiftOperation'](_0x4cb751,_0x2c9cd5){return'insert'===_0x4cb751['type']?_0x4cb751['position']=_0x4cb751['position']['getShiftedBy'](_0x2c9cd5):'marker'===_0x4cb751['type']&&_0x4cb751['newRange']&&(_0x4cb751['newRange']=new ckeditor5['ModelRange'](_0x4cb751['newRange']['start']['getShiftedBy'](_0x2c9cd5),_0x4cb751['newRange']['end']['getShiftedBy'](_0x2c9cd5))),_0x4cb751;}['_changeOperationOwnerDocument'](_0x5ca4f7,_0x7d331c){'insert'===_0x5ca4f7['type']?_0x5ca4f7['position']=this['_changePositionOwnerDocument'](_0x5ca4f7['position'],_0x7d331c):'marker'===_0x5ca4f7['type']&&_0x5ca4f7['newRange']&&(_0x5ca4f7['newRange']=this['_changeRangeOwnerDocument'](_0x5ca4f7['newRange'],_0x7d331c));}['_changePositionOwnerDocument'](_0x1b745b,_0x1f04d8){return new ckeditor5['ModelPosition'](_0x1f04d8,_0x1b745b['path']);}['_changeRangeOwnerDocument'](_0x3f053a,_0x21215b){return new ckeditor5['ModelRange'](this['_changePositionOwnerDocument'](_0x3f053a['start'],_0x21215b),this['_changePositionOwnerDocument'](_0x3f053a['end'],_0x21215b));}['_changePosition'](_0x31524e,_0x39c022){return new ckeditor5['ModelPosition'](_0x39c022,[..._0x31524e]);}['_changeRange'](_0x4fcdea,_0x20e2fe,_0x8379e2,_0x4d5fa3){return new ckeditor5['ModelRange'](this['_changePosition'](_0x20e2fe,_0x4d5fa3),this['_changePosition'](_0x8379e2,_0x4d5fa3));}['_sortMarkers'](_0x262603){const _0x5b8775=_0x3b3afb=>{switch(_0x3b3afb){case'insert':return 0x0;case'remove-context':return 0x1;case'remove-only':return 0x2;case'remove-text':return 0x3;}};return _0x262603['sort']((_0x2c6c52,_0x2a8cda)=>_0x5b8775(_0x2c6c52['type'])-_0x5b8775(_0x2a8cda['type']));}['_hasSameTopLevelElement'](_0x24a774,_0x2bac12){const _0x18a63e=_0x24a774['getChild'](0x0),_0xb21f7b=_0x2bac12['getChild'](0x0);return!(!_0x18a63e||!_0xb21f7b)&&((!_0x18a63e['is']('element')||!_0xb21f7b['is']('element')||_0x18a63e['name']===_0xb21f7b['name'])&&!(_0x18a63e['is']('element')&&!_0xb21f7b['is']('element')||!_0x18a63e['is']('element')&&_0xb21f7b['is']('element')));}['_haveSingleTopLevelElement'](_0xedb11a){return 0x1===_0xedb11a['childCount'];}['_haveOnlyInlineContent'](_0x2f7c84,_0xb19117){for(const _0xddd566 of _0x2f7c84['getChildren']())if(_0xddd566['is']('element')&&!_0xb19117['isInline'](_0xddd566))return!0x1;return!0x0;}['_upsertDataId'](_0x3ec445,_0x5c22d8){let _0x1692ab=_0x3ec445['getAttribute'](_0x33098c);return _0x1692ab||(_0x1692ab=_0x5c22d8(),_0x3ec445['_setAttribute'](_0x33098c,_0x1692ab)),_0x1692ab;}}class AIReviewCheckResult extends ckeditor5['EmitterMixin'](){['id'];['contentNew'];['contentInitial'];['documentVersion'];constructor({id:_0x440c76,contentNew:_0x22591f,contentInitial:_0x478910,documentVersion:_0x34285f}){super(),this['id']=_0x440c76,this['contentNew']=_0x22591f,this['contentInitial']=_0x478910,this['documentVersion']=_0x34285f;}}class AIReviewCheckResultChange extends ckeditor5['ObservableMixin'](){['id'];['parent'];['_data'];['_editorOperations']=[];constructor(_0x479bb0,_0x135528,_0x4cbc50){super(),this['id']=_0x479bb0,this['parent']=_0x4cbc50,this['_data']=_0x135528,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 _0x4319b3 extends ckeditor5['ObservableMixin'](){['id']=ckeditor5['uid']();['callId'];['_results']=new Map();['_changes']=[];['_sourceCheck'];['_documentData'];['_aiConnector'];['_reviewParams'];['_reviewArgs'];['_activeRequest']=null;['_currentError'];['_wasAborted']=!0x1;constructor(_0x1c7bfc,_0x35fddd,_0x1fe0c6,_0x236bcc,_0x3916a9){super(),this['_sourceCheck']=_0x35fddd,this['_documentData']=_0x1c7bfc,this['_aiConnector']=_0x1fe0c6,this['_reviewParams']=_0x236bcc,this['_reviewArgs']=_0x3916a9,this['on']('change:status',(_0x5f1f96,_0x5ee4af,_0xa2d736)=>{'aborted'==_0xa2d736&&(this['_wasAborted']=!0x0),this['fire']('reviewCheckRunUpdated',{'status':_0xa2d736,'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'](_0x379007=>'pending'===_0x379007['status']);}get['currentError'](){return this['_currentError'];}['updateDocumentData'](_0x1703eb){this['_documentData']=_0x1703eb;}async['start'](){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x5efc5f=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0x486940 of _0x5efc5f)'unmodified'!==_0x486940['data']['operation']&&('error'!==_0x486940['data']['operation']?'review-metadata'!==_0x486940['event']?this['_addReviewCheckResult'](_0x486940['data']['dataId'],_0x486940['data']['textDelta']):this['callId']=_0x486940['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(_0x9d374b){this['_currentError']=_0x9d374b,_0x9d374b instanceof Error&&_0x9d374b['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'](_0x216b02,_0x3e9b4b){const _0x5bb4b9=this['_results']['get'](_0x216b02);if(!_0x5bb4b9)return;if(0x0===_0x3e9b4b['length'])return;const _0x24cb66=[];_0x3e9b4b['forEach']((_0x3c5cf9,_0x18f481)=>{const _0x3a4e19=new AIReviewCheckResultChange(_0x5bb4b9['id']+'-'+_0x18f481,_0x3c5cf9,_0x5bb4b9);_0x3a4e19['on']('change:status',()=>{this['fire']('reviewCheckResultChangeStatusUpdated',{'change':_0x3a4e19,'status':_0x3a4e19['status']});}),_0x3a4e19['on']('change:isActivated',()=>{_0x3a4e19['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0x3a4e19}):this['fire']('reviewCheckResultDeactivated',{'change':_0x3a4e19});}),this['_changes']['push'](_0x3a4e19),_0x24cb66['push'](_0x3a4e19);}),this['fire']('reviewCheckResultReady',{'changes':_0x24cb66,'result':_0x5bb4b9,'source':this});}['abort'](){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}['isChangeActive'](_0x208f84){const _0x399b9d=this['_changes']['find'](_0x3672cf=>_0x3672cf['id']===_0x208f84);return!(!_0x399b9d||'pending'!==_0x399b9d['status']);}['isAnyChangeActivated'](){return this['_changes']['some'](_0x22201d=>!0x0===_0x22201d['isActivated']);}['getActiveChanges'](){return this['_changes']['filter'](_0x3ed2a8=>'pending'===_0x3ed2a8['status']);}['getChangeById'](_0x34216b){return this['_changes']['find'](_0x505e81=>_0x505e81['id']===_0x34216b);}['markAllChangesAsAccepted'](){for(const _0x192ab2 of this['_changes'])'pending'===_0x192ab2['status']&&(_0x192ab2['status']='accepted');this['_checkIfFinished']();}['markChangeAsAccepted'](_0x5a9f82){const _0x22cf9c=this['_changes']['find'](_0x3bf621=>_0x3bf621['id']===_0x5a9f82);_0x22cf9c&&'pending'===_0x22cf9c['status']&&(_0x22cf9c['status']='accepted'),this['_checkIfFinished']();}['markChangeAsRejected'](_0x2fc8d9){const _0x16c3fb=this['_changes']['find'](_0x28578b=>_0x28578b['id']===_0x2fc8d9);_0x16c3fb&&'pending'===_0x16c3fb['status']&&(_0x16c3fb['status']='rejected'),this['_checkIfFinished']();}['markChangeAsOutdated'](_0x2c5030){const _0xbb2d0a=this['_changes']['find'](_0x3b6555=>_0x3b6555['id']===_0x2c5030);_0xbb2d0a&&'pending'===_0xbb2d0a['status']&&(_0xbb2d0a['status']='outdated'),this['_checkIfFinished']();}['markChangeAsPending'](_0x4cc704){const _0x28796f=this['_changes']['find'](_0x1d33b4=>_0x1d33b4['id']===_0x4cc704);_0x28796f&&'outdated'===_0x28796f['status']&&(_0x28796f['status']='pending'),this['_checkIfFinished']();}['activateChange'](_0x58a1dc){this['_changes']['filter'](_0x4da57b=>_0x4da57b['isActivated']&&_0x4da57b['id']!==_0x58a1dc)['forEach'](_0x22dc43=>{_0x22dc43['isActivated']=!0x1;});const _0x55a413=this['_changes']['find'](_0x3f62a9=>_0x3f62a9['id']===_0x58a1dc);_0x55a413&&'pending'===_0x55a413['status']&&(_0x55a413['isActivated']=!0x0);}['deactivateChange'](){this['_changes']['filter'](_0x369bfe=>_0x369bfe['isActivated'])['forEach'](_0x4d433b=>{_0x4d433b['isActivated']=!0x1;});}['forceReadyState'](){this['status']='ready';}async['sendRating'](_0xf260fa){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status']||this['_wasAborted'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0x170600;if(_0xf260fa){const _0x42939a=this['_changes']['find'](_0x3474e7=>_0x3474e7['id']===_0xf260fa);if(_0x42939a&&_0x42939a['isRated'])return;_0x42939a&&(_0x170600=_0x42939a['parent']['id'],_0x42939a['isRated']=!0x0);}const _0x89e259={'positiveCount':this['_changes']['filter'](_0x2c60ed=>'accepted'===_0x2c60ed['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x89e259,this['callId'],_0x170600);}['_addReviewCheckResult'](_0x29da23,_0x2a5ecc){const _0x3897ba=this['_documentData']['elements']['get'](_0x29da23);if(!_0x3897ba)return;const _0x164171=_0x3897ba['getContent']();if(_0x164171===_0x2a5ecc)return;const _0x3362c6=new AIReviewCheckResult({'id':_0x29da23,'contentInitial':_0x164171,'contentNew':_0x2a5ecc,'documentVersion':this['_documentData']['version']});this['_results']['set'](_0x3362c6['id'],_0x3362c6),this['fire']('reviewCheckResultAdded',{'result':_0x3362c6,'source':this});}['_checkIfFinished'](){'finished'===this['status']&&(this['_changes']['filter'](_0x56192e=>'pending'===_0x56192e['status'])['length']>0x0&&(this['status']='ready')),'ready'===this['status']&&(0x0===this['_changes']['filter'](_0x10ce22=>'pending'===_0x10ce22['status'])['length']&&(this['status']='finished'));}}class AIReviewSystemCheckRun extends _0x4319b3{get['subTitle'](){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0x81fe87=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0x4e5def=0x0;_0x4e5def<this['_reviewParams']['length'];_0x4e5def++){if(!this['_reviewParams'][_0x4e5def]||!this['_sourceCheck']['options'][_0x4e5def])continue;const _0x23dc62=this['_sourceCheck']['options'][_0x4e5def],_0x29afd8=_0x23dc62['data']?.['find'](_0x7be398=>_0x7be398['id']===this['_reviewParams'][_0x4e5def]);_0x29afd8&&_0x81fe87['push'](_0x29afd8['label']);}return _0x81fe87['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}['_createApiRequest'](){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs']});}['_sendRatingRequest'](_0x169edf,_0x1f4224,_0x561b66){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0x1f4224,_0x169edf,_0x561b66);}['_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(_0x1d38b0,_0x21d844)=>{const _0x404db9=this['_aiReviewCheckList']['getCheckById'](_0x21d844['id']);if(_0x404db9){this['_onReviewCheckRun'](_0x21d844),this['_aiReviewCoreEditing']['switchToReadOnly'](),this['_currentReviewCheckRun']=this['_createReviewCheckRun'](_0x21d844,_0x404db9),this['_aiReviewCoreUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x2b4b6b,_0x45540e)=>{switch(_0x45540e['status']){case'data':case'loading':this['_aiReviewCoreUi']['showCheckRunResults'](_0x45540e);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'!==_0x45540e['status']&&'error-chunk'!==_0x45540e['status']&&'error-general'!==_0x45540e['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0xc467c,_0x1b463e)=>{if(!this['_currentReviewCheckRun'])throw new ckeditor5['CKEditorError']('ai-review-mode-no-current-check-run',this);const _0x51e3a1=this['_diffContent'](_0x1b463e['result']['contentInitial'],_0x1b463e['result']['contentNew']);_0x1b463e['source']['addResultChanges'](_0x1b463e['result']['id'],_0x51e3a1);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0x306840,_0x3de7e9)=>{for(const _0x38812c of _0x3de7e9['changes'])this['_aiReviewCoreUi']['showCheckRunResult'](_0x38812c);this['_markChangePositionInEditorContent'](_0x3de7e9['changes'],_0x3de7e9['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultChangeStatusUpdated',(_0x3741f2,_0x3730ca)=>{this['_aiReviewCoreUi']['updateChangeState'](_0x3730ca['change']['id'],_0x3730ca['status']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0x2e3b25,_0x2a7a73)=>{this['_onReviewCheckResultActivated'](_0x2a7a73);}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_onReviewCheckResultDeactivated']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0xa4bd38){_0xa4bd38 instanceof Error&&_0xa4bd38['message']['includes']('ai-request-aborted')||(_0xa4bd38 instanceof ckeditor5['CKEditorError']?this['_logError'](_0xa4bd38):this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-check-run-failed',this,void 0x0,_0xa4bd38)));}}else this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-source-check-not-found',this,{'checkId':_0x21d844['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 _0x3eb93d=this['_currentReviewCheckRun']['getActiveChanges']();if(!_0x3eb93d['length'])return;this['_aiReviewCoreEditing']['applyChange'](_0x3eb93d['map'](_0x2f1262=>_0x2f1262['id']));const _0x118f6b=this['_currentReviewCheckRun'];_0x118f6b['markAllChangesAsAccepted'](),_0x118f6b['sendRating']();}),this['listenTo'](this['_aiReviewCoreUi'],'acceptChange',(_0x342796,_0x25e4aa)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x25e4aa['id'])&&(this['_aiReviewCoreEditing']['applyChange']([_0x25e4aa['id']]),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0x25e4aa['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x25e4aa['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'dismissChange',(_0x4754a9,_0x51a56d)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x51a56d['id'])&&(this['_aiReviewCoreEditing']['rejectChange'](_0x51a56d['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0x51a56d['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x51a56d['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',(_0x256841,_0x2bb1f3)=>{this['_onActivateChange'](_0x2bb1f3);}),this['listenTo'](this['_aiReviewCoreUi'],'deactivateChange',(_0xeb17db,_0x3ebc1f)=>{this['_onDeactivateChange'](_0x3ebc1f);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerClicked',(_0x50cef7,_0x294629)=>{this['_onChangeMarkerClicked'](_0x50cef7,_0x294629);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerHovered',(_0xc47b81,_0x52104e)=>{this['_onChangeMarkerHovered'](_0xc47b81,_0x52104e);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerBlurred',()=>{this['_onChangeMarkerBlurred']();}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRemoved',(_0xb6622f,_0x5e6f70)=>{this['_onChangeMarkerRemoved'](_0xb6622f,_0x5e6f70);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRestored',(_0x5cda33,_0x292371)=>{this['_onChangeMarkerRestored'](_0x5cda33,_0x292371);});}['_createReviewCheckRun'](_0xf554b8,_0x2949b1){return new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x2949b1,this['_aiConnector'],_0xf554b8['params'],_0xf554b8['args']);}['_onChangeMarkerRemoved'](_0x32f8a6,_0x37aed2){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsOutdated'](_0x37aed2['changeId']);}['_onChangeMarkerRestored'](_0x545db7,_0x2069da){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsPending'](_0x2069da['changeId']);}['_onCheckRunFinished'](){this['_aiReviewCoreUi']['showReviewCompletedView']();}['_initRequiredPlugins'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector');}['_onReviewRunLeave'](_0x1d981f=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']=void 0x0),_0x1d981f&&this['_aiReviewCoreUi']['showReviewCheckList'](),this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreEditing']['switchToEdit'](),this['_changeActivationSource']=null;const _0x4be6fe=this['_aiReviewCoreEditing']['getEditor']();_0x4be6fe&&_0x4be6fe['editing']['view']['change'](_0x2cca2f=>{const _0x3a7b2c=_0x4be6fe['editing']['view']['document']['getRoot']();_0x2cca2f['removeClass']('ck-ai_review-diff',_0x3a7b2c),_0x2cca2f['removeClass']('ck-ai_review-highlights',_0x3a7b2c),_0x2cca2f['removeClass']('ck-ai-translate-mode-content',_0x3a7b2c);});}['_getTranslationWithDefault'](_0x3a4426,_0x370e83){const _0x4624f6=getTranslation$i(this['context']['locale'],_0x3a4426);return _0x4624f6===_0x3a4426?_0x370e83:_0x4624f6;}['_logError'](_0x834d2b,_0x454ef8=!0x1){ckeditor5['logError'](_0x834d2b['message']),_0x454ef8||(_0x834d2b['message']['startsWith']('ai-review-mode-models-unable-to-retrieve')?this['_aiReviewCoreUi']['showGeneralReviewCoreErrorView']():this['_aiReviewCoreUi']['showGeneralResultsErrorView']());}['_scrollToChange'](_0x4b2f88){if('content'===this['_changeActivationSource']){const _0x15d00c=this['_aiReviewCoreUi']['getChangeElement'](_0x4b2f88);_0x15d00c&&ckeditor5['scrollAncestorsToShowTarget'](_0x15d00c['closest']('.ck-ai_review__check-run-result')||_0x15d00c);}else{if('panel'===this['_changeActivationSource']){const _0x15560c=this['_getChangeContentElement'](_0x4b2f88);if(!_0x15560c)return;const _0x1efbf5={'target':_0x15560c,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};ckeditor5['scrollViewportToShowTarget'](_0x1efbf5);}}}}const _0x29457b=[{'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 _0x1d3b1a{['id'];['commandId'];['title'];['description'];['isParameterized'];['useArgs'];['options'];['args'];get['apiId'](){return this['commandId'];}constructor(_0x5b690d){this['id']=_0x5b690d['id'],this['commandId']=_0x5b690d['commandId'],this['title']=_0x5b690d['title'],this['description']=_0x5b690d['description'],this['isParameterized']=_0x5b690d['isParameterized'],this['useArgs']=_0x5b690d['useArgs'],this['options']=_0x5b690d['options'],this['args']=_0x5b690d['args'];}}class AIReviewCheckList extends ckeditor5['ObservableMixin'](){['_checks']=[];['setupChecks'](_0x304064){this['_checks']=_0x304064['map'](_0x3437d9=>new _0x1d3b1a(_0x3437d9));}get['checks'](){return this['_checks'];}['getCheckById'](_0x22e3fd){return this['checks']['find'](_0xd403ee=>_0xd403ee['id']===_0x22e3fd);}['removeCheckById'](_0x235934){this['_checks']=this['_checks']['filter'](_0x4d7289=>_0x4d7289['id']!==_0x235934);}}class AIReviewCheckCustom extends _0x1d3b1a{['_models']=[];['_defaultModel']=null;constructor(_0x145b54,_0x45e68c,_0x4867ca){super(_0x145b54),this['_models']=_0x45e68c,this['_defaultModel']=_0x4867ca;}get['models'](){return this['_models'];}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewCheckExtra extends _0x1d3b1a{['isExtra']=!0x0;['prompt'];['model'];['_defaultModel']=null;constructor(_0x8dbcd7,_0x32e37e,_0x23f272){super(_0x8dbcd7),this['prompt']=_0x8dbcd7['prompt'],this['model']=_0x8dbcd7['model'],this['model']?this['_defaultModel']=_0x32e37e['find'](_0x10daa7=>_0x10daa7['id']===this['model'])||null:this['_defaultModel']=_0x23f272;}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewModeCheckList extends AIReviewCheckList{['_allModels']=[];['_recommendedModels']=[];['_defaultModel']=null;constructor(_0x41e4e5,_0x2916f1,_0x5760e7){super(),this['_allModels']=_0x41e4e5,this['_recommendedModels']=_0x2916f1,this['_defaultModel']=_0x5760e7;}['setupChecks'](_0x8e921c){this['_checks']=_0x8e921c['map'](_0x32b03a=>!0x0===_0x32b03a['isExtra']?new AIReviewCheckExtra(_0x32b03a,this['_allModels'],this['_defaultModel']):'custom'===_0x32b03a['id']?new AIReviewCheckCustom(_0x32b03a,this['_recommendedModels'],this['_defaultModel']):new _0x1d3b1a(_0x32b03a));}}class AIReviewCustomCheckRun extends _0x4319b3{['_prompt'];['_model'];constructor(_0x26b377,_0x4e77e8,_0x38a58d,_0x5cbc6a,_0x7b0a50){super(_0x38a58d,_0x5cbc6a,_0x7b0a50),this['_prompt']=_0x26b377,this['_model']=_0x4e77e8;}get['subTitle'](){return this['_prompt'];}['_createApiRequest'](){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],'prompt':this['_prompt'],'model':this['_model']});}['_sendRatingRequest'](_0x157b61,_0x566606,_0x35fbfe){return this['_aiConnector']['upsertCustomAIReviewRating'](_0x566606,_0x157b61,_0x35fbfe);}}class AIReviewExtraCheckRun extends AIReviewCustomCheckRun{get['subTitle'](){return'';}set['prompt'](_0x3290c9){this['_prompt']=_0x3290c9;}set['model'](_0x1203af){this['_model']=_0x1203af;}}class AIReviewModeController extends AIReviewCoreController{static get['pluginName'](){return'AIReviewModeController';}['_isDiffOn']=!0x1;['_hasDefaultAvailableCommands']=!0x1;constructor(_0x11552d){super(_0x11552d),this['_hasDefaultAvailableCommands']=!this['context']['config']['get']('ai.review.availableCommands'),this['context']['config']['define']('ai.review.availableCommands',_0x29457b['map'](_0x2a8cc9=>_0x2a8cc9['id'])),this['context']['config']['define']('ai.review.extraCommands',[]);}async['init'](){await super['init'](),this['listenTo'](this['_aiReviewCoreUi'],'toggleDiff',(_0x2be9ec,_0x20752d)=>{this['_isDiffOn']=_0x20752d['on'],this['_onDiffChange'](this['_isDiffOn']);});}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x35529d,_0x2df920){return _0x35529d['isCustom']?new AIReviewCustomCheckRun(_0x35529d['args']['prompt'],_0x35529d['args']['model'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x2df920,this['_aiConnector']):_0x2df920['isExtra']?new AIReviewExtraCheckRun(_0x2df920['prompt'],_0x2df920['defaultModel']['id'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x2df920,this['_aiConnector']):new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x2df920,this['_aiConnector'],_0x35529d['params'],_0x35529d['args']);}['_onReviewCheckResultActivated'](_0x2ded11){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x2ded11['change']['id']),this['_scrollToChange'](_0x2ded11['change']['id']);const _0x480fb5=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x2ded11['change']['id']);if(!_0x480fb5)return;const _0x2fba28=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x2ded11['change'],()=>_0x480fb5['getElement'](),void 0x0,'click',_0x2fba28?.['editing']?.['view']?.['getDomRoot'](),_0x2fba28?.['ui']?.['viewportOffset']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x2ded11['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreUi']['resetActiveStateInResults'](),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']();}['_onActivateChange'](_0x16d8ab){this['_currentReviewCheckRun']&&'click'===_0x16d8ab['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x16d8ab['id']));}['_onDeactivateChange'](_0xd10d02){this['_currentReviewCheckRun']&&'balloon'===_0xd10d02['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x25fbf1,_0xcae851){if(!this['_currentReviewCheckRun'])return;this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0xcae851['changeId']);const _0x4b2380=this['_currentReviewCheckRun']['getChangeById'](_0xcae851['changeId']);if(!_0x4b2380)return;const _0x26a0d9=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x4b2380,_0xcae851['markerElement'],_0xcae851['domEvent'],'click',_0x26a0d9?.['editing']?.['view']?.['getDomRoot'](),_0x26a0d9?.['ui']?.['viewportOffset']);}['_onChangeMarkerHovered'](_0x332435,_0x59aa37){if(!this['_currentReviewCheckRun'])return;if(this['_currentReviewCheckRun']['isAnyChangeActivated']())return;const _0x5b5eda=this['_currentReviewCheckRun']['getChangeById'](_0x59aa37['changeId']);if(!_0x5b5eda)return;const _0x3903e2=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x5b5eda,_0x59aa37['markerElement'],_0x59aa37['domEvent'],'hover',_0x3903e2?.['editing']?.['view']?.['getDomRoot'](),_0x3903e2?.['ui']?.['viewportOffset']);}['_onChangeMarkerBlurred'](){if(!this['_currentReviewCheckRun'])return;this['_currentReviewCheckRun']['isAnyChangeActivated']()||this['_aiReviewCoreUi']['hideChangeBalloon']();}['_getChangeContentElement'](_0x308f07){const _0x2fcc55=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x308f07);return _0x2fcc55?_0x2fcc55['getElement']():null;}['_markChangePositionInEditorContent'](_0x1aeaeb,_0x5e8cad){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x1aeaeb,_0x5e8cad);}['_diffContent'](_0x19c94d,_0x2a8ffd){return this['_aiReviewCoreEditing']['diffContent'](_0x19c94d,_0x2a8ffd);}['_onReviewCheckRun'](){this['_onDiffChange'](this['_isDiffOn']);}['_onDiffChange'](_0x274b8f){const _0xa87c52=this['_aiReviewCoreEditing']['getEditor']();_0x274b8f?this['_aiReviewCoreUi']['hideDiffInBalloon']():this['_aiReviewCoreUi']['showDiffInBalloon'](),_0xa87c52&&_0xa87c52['editing']['view']['change'](_0x92b957=>{const _0x1ecd79=_0xa87c52['editing']['view']['document']['getRoot']();for(const _0x512a1c of _0x1ecd79['getClassNames']())_0x512a1c['startsWith']('ck-ai_review-')&&_0x92b957['removeClass'](_0x512a1c,_0x1ecd79);_0x92b957['addClass'](_0x274b8f?'ck-ai_review-diff':'ck-ai_review-highlights',_0x1ecd79);});}async['_getChecksList'](){const _0x12a7f7=[..._0x29457b,...this['_getExtraChecks']()],_0x3b1d2e=this['context']['config']['get']('ai.review.availableCommands')||[];this['_logErrorForNonExistentChecks'](_0x3b1d2e,_0x12a7f7);let _0x2304f0=_0x12a7f7;this['_hasDefaultAvailableCommands']||(_0x2304f0=_0x3b1d2e['map'](_0x11e982=>_0x12a7f7['find'](_0x4d5cfb=>_0x4d5cfb['id']===_0x11e982))['filter'](_0x6f73f2=>!!_0x6f73f2)),_0x2304f0=_0x2304f0['map'](_0x21c547=>_0x21c547['isExtra']?_0x21c547:this['_translateReviewCheck'](_0x21c547));const _0x5c4f17=_0x2304f0['some'](_0x4add44=>_0x4add44['isExtra']||'custom'===_0x4add44['id']);let _0x18f1a8=[],_0x2593ca=[],_0x22d051=null;if(_0x5c4f17){const _0x3aa7c0=await this['_getModels']();_0x18f1a8=_0x3aa7c0['all'],_0x2593ca=_0x3aa7c0['recommended'],_0x22d051=_0x3aa7c0['default'];}const _0x269bc1=new AIReviewModeCheckList(_0x18f1a8,_0x2593ca,_0x22d051);return _0x269bc1['setupChecks'](_0x2304f0),_0x5c4f17&&this['_filterChecksWithMissingModel'](_0x269bc1),_0x269bc1;}['_getExtraChecks'](){return(this['context']['config']['get']('ai.review.extraCommands')||[])['map'](_0x33e7ef=>({'id':_0x33e7ef['id'],'commandId':_0x33e7ef['id'],'title':_0x33e7ef['label'],'description':_0x33e7ef['description'],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x33e7ef['prompt'],'model':_0x33e7ef['model']}));}['_logErrorForNonExistentChecks'](_0x109b70,_0x1f09f3){const _0x41396e=_0x109b70['filter'](_0x5ea5b9=>!_0x1f09f3['some'](_0x415303=>_0x415303['id']===_0x5ea5b9));_0x41396e['length']&&this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-non-existent-commands-used',this,{'commandIds':_0x41396e['join'](',\x20')}),!0x0);}async['_getModels'](){try{const _0x1db912=new _0x39d214({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});return{'all':await _0x1db912['getAll'](),'recommended':await _0x1db912['getAvailableModels'](),'default':await _0x1db912['getDefault']()};}catch(_0x4e20ab){return this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-models-unable-to-retrieve',this,void 0x0,_0x4e20ab)),{'all':[],'recommended':[],'default':null};}}['_translateReviewCheck'](_0x3e60ce){const _0x1bf83b='AI_REVIEW_CHECK_'+_0x3e60ce['id']['toUpperCase']()['replaceAll']('-','_'),_0x2f3eaa={..._0x3e60ce,'title':this['_getTranslationWithDefault'](_0x1bf83b+'_TITLE',_0x3e60ce['title']),'description':this['_getTranslationWithDefault'](_0x1bf83b+'_DESCRIPTION',_0x3e60ce['description'])};return _0x3e60ce['options']&&(_0x2f3eaa['options']=_0x3e60ce['options']['map'](_0x1e55fe=>({..._0x1e55fe,'label':this['_getTranslationWithDefault'](_0x1bf83b+'_OPTIONS_LABEL',_0x1e55fe['label']||''),'data':_0x1e55fe['data']?_0x1e55fe['data']['map'](_0x396f20=>({..._0x396f20,'label':this['_getTranslationWithDefault'](_0x1bf83b+'_OPTIONS_DATA_'+_0x396f20['id']['toUpperCase'](),_0x396f20['label'])})):void 0x0}))),_0x2f3eaa;}['_filterChecksWithMissingModel'](_0x5953ff){const _0x367ac6=[];_0x5953ff['checks']['forEach'](_0x5a7379=>{(_0x5a7379 instanceof AIReviewCheckExtra&&!_0x5a7379['defaultModel']||_0x5a7379 instanceof AIReviewCheckCustom&&!_0x5a7379['models']['length'])&&_0x367ac6['push'](_0x5a7379['id']);}),_0x367ac6['length']&&_0x367ac6['forEach'](_0x51dce7=>{_0x5953ff['removeCheckById'](_0x51dce7),this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-command-unavailable-due-to-missing-model',this,{'commandId':_0x51dce7}),!0x0);});}}class _0x1a9275 extends ckeditor5['ContextPlugin']{static get['requires'](){return[AIReviewModeController,_0x27c2a3,AIReviewCoreEditing];}static get['pluginName'](){return'AIReviewMode';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AITranslateCheck extends _0x1d3b1a{get['apiId'](){return'translate';}}class AITranslateCheckList extends AIReviewCheckList{['setupChecks'](_0x3e48ef){this['_checks']=_0x3e48ef['map'](_0x40e3a1=>new AITranslateCheck(_0x40e3a1));}}class AITranslateCheckRun extends AIReviewSystemCheckRun{['_title'];constructor(_0x2fd035,_0x898794,_0x10ca6d,_0x3b0f07,_0x113882,_0x506d56){super(_0x2fd035,_0x898794,_0x10ca6d,_0x113882,_0x506d56),this['_title']=_0x3b0f07;}get['title'](){return this['_title'];}get['subTitle'](){return this['_sourceCheck']['title'];}}class AITranslateController extends AIReviewCoreController{static get['pluginName'](){return'AITranslateController';}constructor(_0x21eb9d){super(_0x21eb9d),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'](_0x21e287,_0x5bb490){return new AITranslateCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x5bb490,this['_aiConnector'],getTranslation$i(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),_0x21e287['params'],_0x21e287['args']);}['_onReviewCheckResultActivated'](_0x3eadf3){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x3eadf3['change']['id']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x3eadf3['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreEditing']['setAllMarkersAsInactive'](),this['_aiReviewCoreUi']['resetActiveStateInResults']();}['_onActivateChange'](_0x13b9c0){this['_currentReviewCheckRun']&&('hover'===_0x13b9c0['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x13b9c0['id'])),'click'===_0x13b9c0['uiInteraction']&&this['_scrollToChange'](_0x13b9c0['id']));}['_onDeactivateChange'](_0x5a7191){this['_currentReviewCheckRun']&&'panel'===_0x5a7191['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x40e99d,_0x4f38ea){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x4f38ea['changeId']),this['_scrollToChange'](_0x4f38ea['changeId']));}['_onChangeMarkerHovered'](_0xc122f1,_0x23f94c){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x23f94c['changeId']),this['_aiReviewCoreEditing']['reactivateMarkers'](_0x23f94c['changeId']));}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&'content'===this['_changeActivationSource']&&(this['_currentReviewCheckRun']['deactivateChange'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']());}['_getChangeContentElement'](_0x1f5311){return this['_aiReviewCoreEditing']['getContentElementForChange'](_0x1f5311);}['_markChangePositionInEditorContent'](_0x1f07ab,_0x3496ed){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x1f07ab,_0x3496ed);}['_diffContent'](_0xb8ebe8,_0x1f606f){return this['_aiReviewCoreEditing']['diffContent'](_0xb8ebe8,_0x1f606f,!0x0);}['_onReviewCheckRun'](){const _0x1ec2b9=this['_aiReviewCoreEditing']['getEditor']();_0x1ec2b9&&_0x1ec2b9['editing']['view']['change'](_0x34e521=>{const _0x5ad7c1=_0x1ec2b9['editing']['view']['document']['getRoot']();for(const _0x4d1d2d of _0x5ad7c1['getClassNames']())(_0x4d1d2d['startsWith']('ck-ai-review-')||'ck-ai-translate-'===_0x4d1d2d)&&_0x34e521['removeClass'](_0x4d1d2d,_0x5ad7c1);_0x34e521['addClass']('ck-ai-translate-mode-content',_0x5ad7c1);});}async['_getChecksList'](){const _0x4a7fa1=[],_0x4e6a11=this['context']['config']['get']('ai.translate.languages')||[];for(const _0x2788a5 of _0x4e6a11)_0x4a7fa1['push']({'title':_0x2788a5['label'],'id':_0x2788a5['id'],'commandId':_0x2788a5['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x2788a5['id']}});const _0x4ff2e6=new AITranslateCheckList();return _0x4ff2e6['setupChecks'](this['_translateChecks'](_0x4a7fa1)),_0x4ff2e6;}['_translateChecks'](_0x1b12c7){return _0x1b12c7['map'](_0x515de3=>{const _0x16acbe='AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_'+_0x515de3['title']['toUpperCase']()['replaceAll']('-','_');return{..._0x515de3,'title':this['_getTranslationWithDefault'](_0x16acbe,_0x515de3['title'])};});}}class AITranslateCheckResultsView extends AIReviewCoreUICheckResultsView{constructor(_0x1be595,_0x53dd11){super(_0x1be595,_0x53dd11),this['on']('set:isLoading',(_0x44de1e,_0x526785,_0x36e85d)=>{_0x36e85d&&(this['headerTitle']=getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE'));}),this['on']('set:isResultReady',(_0x263082,_0x4f9bf4,_0x98588b)=>{_0x98588b&&(this['headerTitle']=getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE'));});}['_createAcceptAllButtonView'](){const _0x4502c1=super['_createAcceptAllButtonView']();return _0x4502c1['set']('label',getTranslation$i(this['locale'],'AI_TRANSLATE_ACCEPT_ALL')),_0x4502c1;}['_createExitReviewButtonView'](){const _0x4bf035=super['_createExitReviewButtonView']();return _0x4bf035['set']('label',getTranslation$i(this['locale'],'AI_CHAT_HISTORY_CANCEL')),_0x4bf035;}}class AITranslateCheckListView extends AIReviewCoreReviewCheckListView{['_setupTemplate'](){const _0x4ed73c=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-translate__check-list-wrapper',_0x4ed73c['if']('isVisible','ck-hidden',_0x9a190d=>!_0x9a190d)]},'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',_0x4ed73c['if']('isVisible','ck-hidden',_0x1bdff2=>!_0x1bdff2)]},'children':this['_checkViews']}]});}}class AITranslateUI extends _0xac0737{static get['pluginName'](){return'AITranslateUI';}['createMainView'](){const _0xe86cd7=this['context']['locale'],_0x3e402f=new ckeditor5['FormHeaderView'](_0xe86cd7,{'label':getTranslation$i(_0xe86cd7,'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'icon':ckeditor5['IconAITranslate'],'class':'ck-ai-header\x20ck-ai-header_review-translate'}),_0x334dca=new _0x3f5ce5(_0xe86cd7,{'header':_0x3e402f,'list':new AITranslateCheckListView(_0xe86cd7),'results':new AITranslateCheckResultsView(_0xe86cd7,{'generalErrorText':getTranslation$i(_0xe86cd7,'AI_TRANSLATE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0xe86cd7,{'headerText':getTranslation$i(_0xe86cd7,'AI_TRANSLATE_FINISH_HEADER_TITLE'),'emptyResultsText':getTranslation$i(_0xe86cd7,'AI_TRANSLATE_EMPTY_RESULTS_TEXT'),'buttonText':getTranslation$i(_0xe86cd7,'AI_TRANSLATE_FINISH_BUTTON_LABEL')})});return _0x334dca['extendTemplate']({'attributes':{'class':'ck-ai-translate-mode'}}),_0x334dca;}['registerTab'](){const _0x16d89e=this['context']['plugins']['get']('AITabs');_0x16d89e['view']['on']('activateTab',(_0x3bbc33,_0x57d339)=>{'translate'===_0x57d339?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x16d89e['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 _0x11153c extends ckeditor5['Command']{['_transformCallback'];constructor(_0x2050ab,_0x236e3f){super(_0x2050ab),this['_transformCallback']=_0x236e3f;}['execute'](){const _0x514902=this['editor']['model'],_0x38f6b7=Array['from'](this['_getAffectedRanges']()),_0x1d1f40=Array['from'](_0x514902['document']['selection']['getRanges']());_0x514902['change'](_0x58e792=>{for(const _0x25c258 of _0x38f6b7)this['_modifyContent'](_0x25c258,_0x58e792);_0x58e792['setSelection'](_0x1d1f40);});}['refresh'](){for(const _0x21a329 of this['_getAffectedRanges']())for(const _0x257b38 of _0x21a329)if(_0x257b38['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x3cb25c=this['editor']['model'],_0x1525bb=_0x3cb25c['document']['selection'];if(_0x1525bb['isCollapsed']){const _0x33ff0e=this['_findAncestorTextBlock'](_0x1525bb['getFirstPosition']()['parent']);return _0x33ff0e?[_0x3cb25c['createRangeIn'](_0x33ff0e)]:[];}return _0x1525bb['getRanges']();}['_modifyContent'](_0x1d1465,_0x419362){for(const _0x2c3835 of this['_getElementsAllowingText'](_0x1d1465)){const _0x17ac4f=this['_getElementTextContent'](_0x2c3835),_0x1fbd46=this['_transformCallback'](_0x17ac4f);for(const _0x2dea4d of this['_getTextNodesRangeLimited'](_0x2c3835,_0x1d1465))this['_replaceTextNodeData'](_0x2dea4d,_0x1fbd46,_0x419362);}}['_findAncestorTextBlock'](_0x40594e){const _0xf4dd5d=this['editor']['model']['schema'];if(_0x40594e['is']('element')&&_0xf4dd5d['checkChild'](_0x40594e,'$text'))return _0x40594e;const _0x1ec67a=_0x40594e['parent'];return!_0x1ec67a||_0xf4dd5d['isLimit'](_0x40594e)?null:this['_findAncestorTextBlock'](_0x1ec67a);}*['_getElementsAllowingText'](_0x3551c4){const _0x563e2e=new Set();for(const {item:_0x146495}of _0x3551c4['getWalker']()){const _0x4dd2fa=this['_findAncestorTextBlock'](_0x146495);_0x4dd2fa&&!_0x563e2e['has'](_0x4dd2fa)&&(_0x563e2e['add'](_0x4dd2fa),yield _0x4dd2fa);}}['_getElementTextContent'](_0x48060a){return Array['from'](_0x48060a['getChildren']())['reduce']((_0x2d5c3e,_0x35c45c)=>_0x2d5c3e+(_0x35c45c['is']('$text')?_0x35c45c['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x481d33,_0x36d4af){const _0x3e36f1=_0x36d4af['getIntersection'](this['editor']['model']['createRangeIn'](_0x481d33));if(_0x3e36f1){for(const _0x5f26f7 of _0x3e36f1['getItems']())_0x5f26f7['is']('$textProxy')&&_0x5f26f7['parent']==_0x481d33&&(yield _0x5f26f7);}}['_replaceTextNodeData'](_0x1a68b9,_0x2865e3,_0x4cb03f){const _0x2ac6de=_0x2865e3['substring'](_0x1a68b9['startOffset'],_0x1a68b9['endOffset']);if(_0x2ac6de===_0x1a68b9['data'])return;const _0x9bf394=_0x1a68b9['getAttributes']();this['editor']['model']['insertContent'](_0x4cb03f['createText'](_0x2ac6de,_0x9bf394),_0x4cb03f['createSelection'](_0x4cb03f['createRangeOn'](_0x1a68b9)));}}function getTranslation$g(_0x4accd5,_0x1f79ee,..._0xc72aae){const t=_0x4accd5['t'];switch(_0x1f79ee){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',..._0xc72aae);default:return _0x1f79ee;}}class CaseChangeEditing extends ckeditor5['Plugin']{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x19408=this['editor'],_0x264e49=_0x19408['locale']['contentLanguage'],_0x41be6b=_0x1c7124(_0x19408['config']['get']('caseChange.titleCase.excludeWords')),_0x1266c4={'changeCaseUpper':new _0x11153c(_0x19408,_0xf0d480=>_0xf0d480['toLocaleUpperCase'](_0x264e49)),'changeCaseLower':new _0x11153c(_0x19408,_0x2fbc9a=>_0x2fbc9a['toLocaleLowerCase'](_0x264e49)),'changeCaseTitle':new _0x11153c(_0x19408,_0x456f51=>capitalizeText(_0x456f51,_0x41be6b,_0x264e49))};for(const [_0x3e7074,_0xad27f5]of Object['entries'](_0x1266c4))_0x19408['commands']['add'](_0x3e7074,_0xad27f5),_0xad27f5['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x3e7074);});this['listenTo'](_0x19408['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x19408['keystrokes']['set']('shift+f3',(_0x12308a,_0x1bcfac)=>{const _0x3be037=_getOptions(this['editor']['locale']),_0x5a5533=_0x3be037[this['_currentCommandIndex']%_0x3be037['length']]['commandName'];_0x19408['execute'](_0x5a5533),this['_currentCommandIndex']++,_0x1bcfac();});}['afterInit'](){_0xe27070(this);}['_announceCaseChangeOperation'](_0x53dfec){const {ui:_0x45b7ef,locale:_0x6b4a97}=this['editor'],_0xeaca84=_getOptions(_0x6b4a97)['find'](_0x358a94=>_0x358a94['commandName']===_0x53dfec)['label']['toLowerCase']();_0x45b7ef['ariaLiveAnnouncer']['announce'](getTranslation$g(_0x6b4a97,'Changed\x20case\x20to\x20%0',_0xeaca84));}}function _getOptions(_0x5328c6){return[{'label':getTranslation$g(_0x5328c6,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':getTranslation$g(_0x5328c6,'lowercase'),'commandName':'changeCaseLower'},{'label':getTranslation$g(_0x5328c6,'Title\x20Case'),'commandName':'changeCaseTitle'}];}function capitalizeText(_0x559f26,_0x65e376,_0x4d3398){return _0xa19162(_0x559f26,(_0x24bf82,_0x3162a2,_0x1a964c)=>{const _0x1bc3e2=_0x24bf82['toLocaleLowerCase'](_0x4d3398);return _0x65e376(_0x1bc3e2,{'charOffset':_0x3162a2,'wordIndex':_0x1a964c,'blockText':_0x559f26})?_0x1bc3e2:_0x1bc3e2['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0xccd635=>_0xccd635['toLocaleUpperCase'](_0x4d3398));});}function _0xa19162(_0x2d3004,_0x490735){let _0x5624df='',_0x949c83=0x0,_0x586d3c=0x0;for(const _0x37f240 of _0x2d3004['matchAll'](/ +/g)){const _0x88fda5=_0x37f240['index'],_0x342f28=_0x2d3004['substring'](_0x949c83,_0x88fda5);_0x342f28['length']&&(_0x5624df+=_0x490735(_0x342f28,_0x949c83,_0x586d3c++)),_0x5624df+=_0x37f240[0x0],_0x949c83=_0x88fda5+_0x37f240[0x0]['length'];}const _0x121654=_0x2d3004['substring'](_0x949c83);return _0x121654['length']&&(_0x5624df+=_0x490735(_0x121654,_0x949c83,_0x586d3c)),_0x5624df;}function _0x1c7124(_0x43388d=[]){return'function'==typeof _0x43388d?_0x43388d:(_0x20fca7,{wordIndex:_0x1c26ad})=>_0x1c26ad>0x0&&_0x43388d['includes'](_0x20fca7);}async function _0xe27070(_0x4baf5e){const _0x4f311b=_0x7f63de([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]),_0x3f6b57=window[_0x7f63de([0x44,0x61,0x74,0x65])][_0x7f63de([0x6e,0x6f,0x77])](),_0x2996b5=_0x4baf5e[_0x7f63de([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x206cf4=new window[(_0x7f63de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14a883=>{_0x2996b5[_0x7f63de([0x6f,0x6e,0x63,0x65])](_0x7f63de([0x72,0x65,0x61,0x64,0x79]),_0x14a883);}),_0x4d9dcb={[_0x7f63de([0x6b,0x74,0x79])]:_0x7f63de([0x45,0x43]),[_0x7f63de([0x75,0x73,0x65])]:_0x7f63de([0x73,0x69,0x67]),[_0x7f63de([0x63,0x72,0x76])]:_0x7f63de([0x50,0x2d,0x32,0x35,0x36]),[_0x7f63de([0x78])]:_0x7f63de([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]),[_0x7f63de([0x79])]:_0x7f63de([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]),[_0x7f63de([0x61,0x6c,0x67])]:_0x7f63de([0x45,0x53,0x32,0x35,0x36])},_0x2f759d=_0x2996b5[_0x7f63de([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x7f63de([0x67,0x65,0x74])](_0x7f63de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x44673b=await(async function(){let _0x52c61b,_0x57c3b9=null,_0x3206c2=null;try{if(_0x2f759d==_0x7f63de([0x47,0x50,0x4c]))return _0x7f63de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52c61b=(function(){const _0x37826b=_0x2f759d[_0x7f63de([0x73,0x70,0x6c,0x69,0x74])](_0x7f63de([0x2e]));if(0x3!=_0x37826b[_0x7f63de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x98ae41=_0x37826b[0x1];return _0xf9e877(_0x98ae41);function _0xf9e877(_0x40bfa5){const _0x1694bc=_0x3a99b3(_0x40bfa5);return _0x1694bc&&_0x3eed88()?_0x1694bc:null;function _0x3eed88(){const _0x3d209e=_0x1694bc[_0x7f63de([0x6a,0x74,0x69])],_0x3de68b=window[_0x7f63de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d209e[_0x7f63de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d209e[_0x7f63de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x178928={..._0x1694bc,[_0x7f63de([0x6a,0x74,0x69])]:_0x3d209e[_0x7f63de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3d209e[_0x7f63de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x178928[_0x7f63de([0x76,0x63])],_0x313cc1(_0x178928)==_0x3de68b;}}}()),!_0x52c61b)return _0x7f63de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x52c61b[_0x7f63de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3206c2=function(_0x2e0ca1,_0x1e572e){return new window[(_0x7f63de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44a2c2=>{if(_0x4b50e5())return _0x44a2c2(_0x7f63de([0x56,0x61,0x6c,0x69,0x64]));_0x9a717c(),_0x2996b5[_0x7f63de([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x7f63de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x37b647=!0x1;const _0x4acca9=ckeditor5['uid']();function _0x1bc119(_0x5afe6d){return!!_0x5afe6d&&(typeof _0x5afe6d===_0x7f63de([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5afe6d===_0x7f63de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5afe6d[_0x7f63de([0x74,0x68,0x65,0x6e])]===_0x7f63de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5afe6d[_0x7f63de([0x63,0x61,0x74,0x63,0x68])]===_0x7f63de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x22e592(_0x51d34c){_0x2158ac(_0x51d34c)[_0x7f63de([0x74,0x68,0x65,0x6e])](_0x4c81e5=>{if(!_0x4c81e5||_0x4c81e5[_0x7f63de([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x7f63de([0x6f,0x6b]))return _0x7f63de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a1b43(_0x313cc1(_0x4acca9+_0x1e572e))!=_0x4c81e5[_0x7f63de([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x7f63de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x7f63de([0x56,0x61,0x6c,0x69,0x64]);})[_0x7f63de([0x74,0x68,0x65,0x6e])](_0x21fed1=>(_0x14689c(),_0x21fed1),()=>{const _0x3d8e1e=_0x58bd4b();return null==_0x3d8e1e?(_0x14689c(),_0x7f63de([0x56,0x61,0x6c,0x69,0x64])):_0x7f63de(_0x3f6b57-_0x3d8e1e>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x7f63de([0x74,0x68,0x65,0x6e])](_0x44a2c2)[_0x7f63de([0x63,0x61,0x74,0x63,0x68])](()=>{_0x44a2c2(_0x7f63de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x51e676=0x36ee80;function _0x14689c(){const _0x4eeb63=_0x7f63de([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a1b43(_0x313cc1(_0x2e0ca1)),_0x6acb79=_0x1edf8a(_0x2a1b43(window[_0x7f63de([0x4d,0x61,0x74,0x68])][_0x7f63de([0x63,0x65,0x69,0x6c])](_0x3f6b57/_0x51e676)));window[_0x7f63de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7f63de([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4eeb63,_0x6acb79);}function _0x58bd4b(){const _0x3a12ef=_0x7f63de([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a1b43(_0x313cc1(_0x2e0ca1)),_0x1716b0=window[_0x7f63de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7f63de([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a12ef);return _0x1716b0?window[_0x7f63de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1edf8a(_0x1716b0),0x10)*_0x51e676:null;}function _0x2158ac(_0x5d0ceb){return new window[(_0x7f63de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4fc5aa,_0x57915d)=>{_0x5d0ceb[_0x7f63de([0x74,0x68,0x65,0x6e])](_0x4fc5aa,_0x57915d),window[_0x7f63de([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x57915d,0x1d4c0);});}}_0x2996b5[_0x7f63de([0x6f,0x6e])](_0x7f63de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4272f5,_0xfb0370)=>{if(_0xfb0370[0x0]!=_0x2e0ca1)return _0x44a2c2(_0x7f63de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xfb0370[0x1]={..._0xfb0370[0x1],[_0x7f63de([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4acca9};},{[_0x7f63de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7f63de([0x68,0x69,0x67,0x68])}),_0x2996b5[_0x7f63de([0x6f,0x6e])](_0x7f63de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x21b0e8=>{_0x1bc119(_0x21b0e8[_0x7f63de([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x37b647=!0x0,_0x22e592(_0x21b0e8[_0x7f63de([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x7f63de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7f63de([0x6c,0x6f,0x77])}),_0x206cf4[_0x7f63de([0x74,0x68,0x65,0x6e])](()=>{_0x37b647||_0x44a2c2(_0x7f63de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b50e5(){return _0x2996b5[_0x7f63de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7f63de([0x76,0x69,0x65,0x77])][_0x7f63de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x7f63de([0x61,0x75,0x74,0x6f]);}function _0x9a717c(){_0x2996b5[_0x7f63de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7f63de([0x76,0x69,0x65,0x77])][_0x7f63de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x7f63de([0x61,0x75,0x74,0x6f]);}}(_0x52c61b[_0x7f63de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52c61b[_0x7f63de([0x6a,0x74,0x69])]));const _0x62f22a=await(async function(){let _0x9129c8=!0x0;try{const _0x52c39b=_0x2f759d[_0x7f63de([0x73,0x70,0x6c,0x69,0x74])](_0x7f63de([0x2e])),[_0x4ec12a,_0xcbce02,_0x1aba42]=_0x52c39b;return _0x59fdad(_0x4ec12a),await _0x11e8c3(_0x4ec12a,_0xcbce02,_0x1aba42),_0x9129c8;}catch{return!0x1;}function _0x59fdad(_0x1fb404){const _0x58421f=_0x3a99b3(_0x1fb404);_0x58421f&&_0x58421f[_0x7f63de([0x61,0x6c,0x67])]==_0x7f63de([0x45,0x53,0x32,0x35,0x36])||(_0x9129c8=!0x1);}async function _0x11e8c3(_0xcdceb6,_0xee62f2,_0x52e190){const _0x1737b4=window[_0x7f63de([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x7f63de([0x66,0x72,0x6f,0x6d])](_0x2f0729(_0x52e190),_0x3a1b24=>_0x3a1b24[_0x7f63de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x34a88a=new window[(_0x7f63de([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x7f63de([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xcdceb6+_0x7f63de([0x2e])+_0xee62f2),_0x3f2114=window[_0x7f63de([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x7f63de([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3f2114)return;const _0x23fef2=await _0x3f2114[_0x7f63de([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x7f63de([0x6a,0x77,0x6b]),_0x4d9dcb,{[_0x7f63de([0x6e,0x61,0x6d,0x65])]:_0x7f63de([0x45,0x43,0x44,0x53,0x41]),[_0x7f63de([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x7f63de([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x7f63de([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3f2114[_0x7f63de([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x7f63de([0x6e,0x61,0x6d,0x65])]:_0x7f63de([0x45,0x43,0x44,0x53,0x41]),[_0x7f63de([0x68,0x61,0x73,0x68])]:{[_0x7f63de([0x6e,0x61,0x6d,0x65])]:_0x7f63de([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x23fef2,_0x1737b4,_0x34a88a)||(_0x9129c8=!0x1);}}());return _0x62f22a?(function(){const _0x6ad8b6=_0x52c61b[_0x7f63de([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x6ad8b6)return!0x1;if(_0x6ad8b6[_0x7f63de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7f63de([0x2a])))return!0x0;if(_0x6ad8b6[_0x7f63de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7f63de([0x43,0x43])))return!0x0;if(_0x6ad8b6[_0x7f63de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7f63de([0x50,0x50])))return!0x0;return!0x1;}())?(function(){const _0x29146f=[_0x7f63de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x7f63de([0x74,0x72,0x69,0x61,0x6c])][_0x7f63de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52c61b[_0x7f63de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f6b57/0x3e8:0x69cb0e80;return _0x52c61b[_0x7f63de([0x65,0x78,0x70])]<_0x29146f;}())?_0x7f63de([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x582ba9=_0x52c61b[_0x7f63de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x582ba9||0x0==_0x582ba9[_0x7f63de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x16246f}=new URL(window[_0x7f63de([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x582ba9[_0x7f63de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16246f))return!0x0;const _0x1bc1e1=_0x16246f[_0x7f63de([0x73,0x70,0x6c,0x69,0x74])](_0x7f63de([0x2e]));return _0x582ba9[_0x7f63de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b85e6=>_0x3b85e6[_0x7f63de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7f63de([0x2a])))[_0x7f63de([0x6d,0x61,0x70])](_0x659838=>_0x659838[_0x7f63de([0x73,0x70,0x6c,0x69,0x74])](_0x7f63de([0x2e])))[_0x7f63de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e97b9=>_0x1e97b9[_0x7f63de([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1bc1e1[_0x7f63de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7f63de([0x6d,0x61,0x70])](_0x194f6c=>Array(_0x1bc1e1[_0x7f63de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x194f6c[_0x7f63de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7f63de([0x66,0x69,0x6c,0x6c])](_0x194f6c[0x0]===_0x7f63de([0x2a])?_0x7f63de([0x2a]):'')[_0x7f63de([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x194f6c))[_0x7f63de([0x73,0x6f,0x6d,0x65])](_0x3003e3=>_0x1bc1e1[_0x7f63de([0x65,0x76,0x65,0x72,0x79])]((_0x2980b4,_0x1e6d9a)=>_0x3003e3[_0x1e6d9a]===_0x2980b4||_0x3003e3[_0x1e6d9a]===_0x7f63de([0x2a])));}())?(_0x52c61b[_0x7f63de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7f63de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x57c3b9=function(_0x4b5a3e){const _0x4b2387=new window[(_0x7f63de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x333af3=>setTimeout(_0x333af3,0x93ecc)),_0x1539d1=_0x206cf4[_0x7f63de([0x74,0x68,0x65,0x6e])](()=>new window[(_0x7f63de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12197a=>{let _0x148086=0x0;_0x2996b5[_0x7f63de([0x6d,0x6f,0x64,0x65,0x6c])][_0x7f63de([0x6f,0x6e])](_0x7f63de([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x13f05a,_0x4010be)=>{_0x4010be[0x0][_0x7f63de([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x148086++,0x5e8==_0x148086&&(_0x12197a(),_0x13f05a[_0x7f63de([0x6f,0x66,0x66])]());});})),_0x348995=[_0x4b2387,_0x1539d1];return window[_0x7f63de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x7f63de([0x72,0x61,0x63,0x65])](_0x348995)[_0x7f63de([0x74,0x68,0x65,0x6e])](()=>_0x4b5a3e);}(_0x7f63de([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x57c3b9&&_0x3206c2)return new window[(_0x7f63de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe9aadc,_0x3de65a)=>{_0x57c3b9[_0x7f63de([0x74,0x68,0x65,0x6e])](_0xe9aadc,_0x3de65a),_0x3206c2[_0x7f63de([0x74,0x68,0x65,0x6e])](_0x4e8d57=>{_0x4e8d57!=_0x7f63de([0x56,0x61,0x6c,0x69,0x64])&&_0xe9aadc(_0x4e8d57);},_0x3de65a);});return _0x57c3b9||_0x3206c2||_0x7f63de([0x56,0x61,0x6c,0x69,0x64]);}())):_0x7f63de([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x7f63de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x7f63de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x7f63de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x3a99b3(_0x1f326c){return _0x1f326c[_0x7f63de([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x7f63de([0x65,0x79]))?JSON[_0x7f63de([0x70,0x61,0x72,0x73,0x65])](_0x2f0729(_0x1f326c)):null;}function _0x2f0729(_0x3c19ce){return window[_0x7f63de([0x61,0x74,0x6f,0x62])](_0x3c19ce[_0x7f63de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x7f63de([0x2b]))[_0x7f63de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x7f63de([0x2f])));}function _0x313cc1(_0x5d6fc2){let _0x27b193=0x1505;function _0x40cadc(_0x31c99d){for(let _0x7247c9=0x0;_0x7247c9<_0x31c99d[_0x7f63de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7247c9++){const _0x54de7b=_0x31c99d[_0x7f63de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x7247c9);_0x27b193=(_0x27b193<<0x5)+_0x27b193+_0x54de7b,_0x27b193&=_0x27b193;}}return function _0x333e9c(_0x17eb2d){Array[_0x7f63de([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17eb2d)?_0x17eb2d[_0x7f63de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x333e9c):_0x17eb2d&&typeof _0x17eb2d==_0x7f63de([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x7f63de([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17eb2d)[_0x7f63de([0x73,0x6f,0x72,0x74])]()[_0x7f63de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x469909,_0x1832a4])=>{_0x40cadc(_0x469909),_0x333e9c(_0x1832a4);}):_0x40cadc(window[_0x7f63de([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17eb2d));}(_0x5d6fc2),_0x27b193>>>0x0;}function _0x2a1b43(_0x2cb27c){return _0x2cb27c[_0x7f63de([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x7f63de([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x7f63de([0x30]));}function _0x1edf8a(_0x3f3072){return _0x3f3072[_0x7f63de([0x73,0x70,0x6c,0x69,0x74])]('')[_0x7f63de([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x7f63de([0x6a,0x6f,0x69,0x6e])]('');}function _0x55d41b(){}function _0x7f63de(_0x27db92){return _0x27db92['map'](_0x20d04f=>String['fromCharCode'](_0x20d04f))['join']('');}!function(_0x3b965c){const _0x23dcc2=(function(){const _0x351583=window[_0x7f63de([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x7f63de([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x7f63de([0x6e,0x6f,0x77])]())[_0x7f63de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x7f63de([0x2e]),'');let _0x165f8f=_0x7f63de([0x45]);for(let _0x49530c=0x0;_0x49530c<_0x351583[_0x7f63de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49530c+=0x2){let _0x24f0d4=window[_0x7f63de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x351583[_0x7f63de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49530c,_0x49530c+0x2));_0x24f0d4>=_0x4f311b[_0x7f63de([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24f0d4-=_0x4f311b[_0x7f63de([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x165f8f+=_0x4f311b[_0x24f0d4];}return _0x165f8f;}());_0x2996b5[_0x23dcc2]=_0x7f63de([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3b965c,_0x3b965c!=_0x7f63de([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x206cf4,_0x2996b5[_0x7f63de([0x6d,0x6f,0x64,0x65,0x6c])][_0x7f63de([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x55d41b,_0x2996b5[_0x7f63de([0x6d,0x6f,0x64,0x65,0x6c])][_0x7f63de([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x55d41b,_0x2996b5[_0x7f63de([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x7f63de([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x44673b);}class _0x19c31c extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x33130a=this['editor'];this['_registerComponents'](),_0x33130a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':getTranslation$g(_0x33130a['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x27e64c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5e8669;for(const _0x14e12f in _0x27e64c){const _0x35625e=_0x14e12f,_0x5d74d4=_0x27e64c[_0x35625e];if('caseChangeLicenseKeyValid'==_0x5d74d4||'caseChangeLicenseKeyInvalid'==_0x5d74d4||'caseChangeLicenseKeyExpired'==_0x5d74d4||'caseChangeLicenseKeyDomainLimit'==_0x5d74d4||'caseChangeLicenseKeyNotAllowed'==_0x5d74d4||'caseChangeLicenseKeyEvaluationLimit'==_0x5d74d4||'caseChangeLicenseKeyUsageLimit'==_0x5d74d4){delete _0x27e64c[_0x35625e],_0x5e8669=_0x5d74d4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x5e8669&&_0x27e64c['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x5e8669&&_0x27e64c['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x5e8669&&_0x27e64c['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x5e8669&&_0x27e64c['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x5e8669&&_0x27e64c['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x5e8669&&_0x27e64c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x1c99b3=this['editor'],{itemDefinitions:_0x3e5753,commands:_0x1dde27}=this['_getListItemDefinitionsAndCommands']();_0x1c99b3['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x3e5753,_0x1dde27)),_0x1c99b3['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x3e5753,_0x1dde27));}['_createMenuBarMenuView'](_0x3285d7,_0x360503){const _0x18c62f=this['editor'],_0x533dbb=_0x18c62f['locale'],_0x56281c=new ckeditor5['MenuBarMenuView'](_0x533dbb),_0xd284aa=new ckeditor5['MenuBarMenuListView'](_0x533dbb);_0xd284aa['set']({'ariaLabel':getTranslation$g(_0x533dbb,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x56281c['buttonView']),_0x56281c['bind']('isEnabled')['toMany'](_0x360503,'isEnabled',(..._0x2520f5)=>_0x2520f5['some'](_0xbdec50=>_0xbdec50));for(const _0x1bf6b4 of _0x3285d7){const _0x41c825=new ckeditor5['MenuBarMenuListItemView'](_0x533dbb,_0x56281c),_0x5e926c=new ckeditor5['MenuBarMenuListItemButtonView'](_0x533dbb);_0x5e926c['delegate']('execute')['to'](_0x56281c),_0x5e926c['bind'](...Object['keys'](_0x1bf6b4['model']))['to'](_0x1bf6b4['model']),_0x5e926c['on']('execute',()=>{_0x18c62f['execute'](_0x1bf6b4['model']['commandName']),_0x18c62f['editing']['view']['focus']();}),_0x41c825['children']['add'](_0x5e926c),_0xd284aa['items']['add'](_0x41c825);}return _0x56281c['panelView']['children']['add'](_0xd284aa),_0x56281c;}['_createDropdownView'](_0x3d28f5,_0x25ccab){const _0x56e9cf=this['editor'],_0x2ec2b0=ckeditor5['createDropdown'](_0x56e9cf['locale']);return this['_setButtonProperties'](_0x2ec2b0['buttonView']),_0x2ec2b0['buttonView']['set']({'tooltip':!0x0}),_0x2ec2b0['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),ckeditor5['addListToDropdown'](_0x2ec2b0,_0x3d28f5,{'ariaLabel':getTranslation$g(_0x56e9cf['locale'],'Case\x20change'),'role':'menu'}),_0x2ec2b0['bind']('isEnabled')['toMany'](_0x25ccab,'isEnabled',(..._0x245f6d)=>_0x245f6d['some'](_0x4a29b3=>_0x4a29b3)),this['listenTo'](_0x2ec2b0,'execute',_0x1e4c51=>{_0x56e9cf['execute'](_0x1e4c51['source']['commandName']),_0x56e9cf['editing']['view']['focus']();}),_0x2ec2b0;}['_setButtonProperties'](_0x268098){const _0x56b7e5=this['editor'];_0x268098['set']({'label':getTranslation$g(_0x56b7e5['locale'],'Case\x20change'),'icon':ckeditor5['IconCaseChange'],'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x37fd5a=new ckeditor5['Collection'](),_0x14dfba=[];for(const _0x190bb7 of _getOptions(this['editor']['locale'])){const _0x530a5d=this['editor']['commands']['get'](_0x190bb7['commandName']),_0x399e2f=new ckeditor5['UIModel']({'commandName':_0x190bb7['commandName'],'label':_0x190bb7['label'],'role':'menuitemradio','withText':!0x0});_0x399e2f['bind']('isEnabled')['to'](_0x530a5d,'isEnabled'),_0x37fd5a['add']({'type':'button','model':_0x399e2f}),_0x14dfba['push'](_0x530a5d);}return{'itemDefinitions':_0x37fd5a,'commands':_0x14dfba};}}class _0x1dcedf extends ckeditor5['Plugin']{static get['requires'](){return[CaseChangeEditing,_0x19c31c];}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(_0x550efd,_0xc5276a){super(),this['model']=_0x550efd,this['model']['_isAttached']=!0x0,this['view']=_0xc5276a,this['listenTo'](_0xc5276a,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0xc5276a,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0xc5276a,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0xc5276a,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0xc5276a,'addComment',(_0x126dab,_0x3b2d27)=>this['addComment'](_0x3b2d27)),this['listenTo'](_0xc5276a,'updateComment',(_0x591f4b,_0x37781c,_0x16515)=>this['updateComment'](_0x37781c,_0x16515)),this['listenTo'](_0xc5276a,'removeComment',(_0x50a979,_0x1f71e4)=>this['removeComment'](_0x1f71e4));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x5e30e1){this['model']['addComment']({'content':_0x5e30e1,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x5701d0,_0xb54d04){this['model']['getComment'](_0x5701d0)['update']({'content':_0xb54d04});}['removeComment'](_0x5c8b0f){this['model']['getComment'](_0x5c8b0f)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function getTranslation$f(_0x53e11d,_0x20952b,_0x61a625){const t=_0x53e11d['t'];switch(_0x20952b){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'},_0x61a625);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'},_0x61a625);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'},_0x61a625);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'},_0x61a625);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x61a625);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'},_0x61a625);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'},_0x61a625);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'},_0x61a625);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(_0x5f2998,_0x2a5c66){super(_0x5f2998);const _0x526cee=ckeditor5['uid']();this['main']=this['createCollection'](),this['editable']=new ckeditor5['InlineEditableUIView'](_0x5f2998,_0x2a5c66,void 0x0,{'label':()=>getTranslation$f(_0x5f2998,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x5f2998['uiLanguageDirection'],'lang':_0x5f2998['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x526cee},'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(_0x49ee27){super(_0x49ee27),this['view']=new CommentEditorUIView(_0x49ee27['locale'],_0x49ee27['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x4b12c4=this['editor']['editing']['view'],_0x3fd182=this['view']['editable'],_0x74322c=_0x4b12c4['document']['getRoot']();_0x3fd182['name']=_0x74322c['rootName'],this['view']['render']();const _0x7829b0=_0x3fd182['element'];this['setEditableElement'](_0x3fd182['name'],_0x7829b0),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x4b12c4['attachDomRoot'](_0x7829b0),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(_0x18073c={}){function _0x12d18f(_0x1a514a){return _0x1a514a['map'](_0x7a4086=>String['fromCharCode'](_0x7a4086))['join']('');}(_0x18073c=Object['assign']({},_0x18073c))['plugins']||(_0x18073c['plugins']=CommentEditor['defaultPlugins']),super(_0x18073c),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[_0x12d18f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12d18f([0x76,0x69,0x65,0x77])][_0x12d18f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x12d18f([0x61,0x75,0x74,0x6f]),this[_0x12d18f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x12d18f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x12d18f([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x12d18f([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x12d18f([0x6f,0x6b])});}['create'](){const _0x47b6ac=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x47b6ac))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x11c76f=>{const _0x30ec3c=this['model']['document']['getRoot'](),_0x4704d5=_0x30ec3c&&_0x30ec3c['getChild'](_0x30ec3c['childCount']-0x1);_0x11c76f['setSelection'](_0x4704d5,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x373eb6=this['editing']['view'],_0x128f46=_0x373eb6['document']['getRoot'](),_0x471ff1=_0x128f46['getChild'](0x0);_0x128f46['childCount']>0x1||!_0x471ff1||'p'!=_0x471ff1['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(ckeditor5['disableViewPlaceholder'](_0x373eb6,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x471ff1['placeholder']=this['placeholder']),ckeditor5['enableViewPlaceholder']({'view':_0x373eb6,'element':_0x471ff1,'keepOnFocus':!0x0}),this['placeholderElement']=_0x471ff1);}}class CommentInputView extends ckeditor5['View']{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x5dcacb,_0x5e47a5={}){super(_0x5dcacb),this['editor']=null,this['_editorConfig']=_0x5e47a5,this['set']('value',_0x5e47a5['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',getTranslation$f(_0x5dcacb,'Reply...')),this['set']('submitLabel',getTranslation$f(_0x5dcacb,'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',(_0x563bef,_0x2e88a3)=>{this['cancelButtonView']['fire']('execute'),_0x2e88a3();}),this['keystrokes']['set']('Ctrl+Enter',(_0x4d4dcc,_0x2bb6fc)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x2bb6fc());}),this['on']('submit',(_0xac1bea,_0x30e144)=>{_0x30e144['length']>0xfde8?(alert(getTranslation$f(_0x5dcacb,'TOO_LONG_COMMENT_ALERT',[_0x30e144['length'],0xfde8])),_0xac1bea['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 _0x3c703d=this['editor'];this['element']['insertBefore'](_0x3c703d['ui']['element'],this['element']['firstChild']),_0x3c703d['model']['document']['on']('change',()=>this['value']=_0x3c703d['getData']()),_0x3c703d['bind']('placeholder')['to'](this),this['focusables']['add'](_0x3c703d['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x3a8449){-0x1===_0x3a8449?(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:_0x3b5720}=this,_0x3c0cb3=new ckeditor5['ButtonView'](_0x3b5720);return _0x3c0cb3['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x3c0cb3['withText']=!0x0,_0x3c0cb3['bind']('label')['to'](this,'submitLabel'),_0x3c0cb3['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x3c0cb3['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x181f72,_0x39edb8)=>!_0x39edb8&&!!_0x181f72['trim']()),_0x3c0cb3;}['_createCancelButton'](){const {locale:_0x407669}=this,_0x59b22c=new ckeditor5['ButtonView'](_0x407669);return _0x59b22c['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x59b22c['label']=getTranslation$f(_0x407669,'Cancel'),_0x59b22c['withText']=!0x0,_0x59b22c['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x59b22c;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x54f953=>{this['focusTracker']['add'](_0x54f953['element']);}),this['focusables']['on']('change',(_0x35f920,_0x51f4e6)=>{for(const _0xe8504d of Array['from'](_0x51f4e6['added'])['reverse']())this['focusTracker']['add'](_0xe8504d['element']);});}}class CommentThreadInputView extends ckeditor5['View']{constructor(_0x17457f,_0x57e4da,_0x4e2337){super(_0x17457f),this['commentInputView']=new CommentInputView(_0x17457f,_0x4e2337),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x51867f,_0x23e93d)=>_0x51867f||!!_0x23e93d),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 _0x5c412d(_0x17457f,_0x57e4da),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'](_0x5058a8){this['commentInputView']['focus'](_0x5058a8);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0x5f2468,_0x15c10a)=>{const {submitButtonView:_0x1a2d0a,cancelButtonView:_0x392a50,editor:_0x5608d5}=this['commentInputView'],_0x39f4b7=[_0x1a2d0a['element'],_0x392a50['element'],_0x5608d5?_0x5608d5['editing']['view']['getDomRoot']():null]['filter'](_0x1938b5=>_0x1938b5)['some'](_0x28498b=>_0x28498b['contains'](_0x15c10a['target']));_0x39f4b7||(this['focus'](),_0x15c10a['preventDefault']());});}}class CollapsedCommentsView extends ckeditor5['View']{constructor(_0x45049e){super(_0x45049e);const _0x23f43b=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x23f43b['to']('count',_0x3fa34e=>getTranslation$f(_0x45049e,'NUMBER_OF_COMMENTS',_0x3fa34e))}]});}}class CommentsListView extends ckeditor5['View']{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x495c45,_0x209495,_0x1eef35){super(_0x495c45);const _0x4d018a=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x209495['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x209495,this['_config']=_0x1eef35,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':_0x1e1c13=>this['commentViews']['map'](_0x3f873e=>_0x3f873e['element'])['includes'](_0x1e1c13['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new CollapsedCommentsView(_0x495c45),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x3c33cc=>_0x3c33cc-this['_config']['maxCommentsWhenCollapsed']);for(const _0x22667c of _0x209495['comments'])this['_handleNewCommentModel'](_0x22667c);this['_handleInfoComment'](),this['listenTo'](_0x209495['comments'],'add',(_0x39bb24,_0x3e6e4b)=>{const _0x441208=this['_calculatePosition'](_0x3e6e4b);this['length']++,this['_handleNewCommentModel'](_0x3e6e4b,_0x441208),this['refreshVisibleViews']();}),this['listenTo'](_0x209495['comments'],'remove',(_0x1442fa,_0x57ffd6)=>{this['length']--,this['_handleRemoveCommentModel'](_0x57ffd6),this['refreshVisibleViews']();}),this['listenTo'](_0x209495,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x209495,'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',_0x4d018a['if']('length','ck-hidden',_0x4de2f5=>!_0x4de2f5)],'aria-label':getTranslation$f(_0x495c45,'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'](_0x40821e){-0x1===_0x40821e?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x44a309 of this['commentViews'])_0x44a309['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x3ea8bd,_0x41357b){const _0x548b7d=new this['_config']['CommentView'](this['locale'],_0x3ea8bd,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x548b7d['viewUid']=_0x3ea8bd['id'],_0x548b7d['delegate']('removeComment')['to'](this),_0x548b7d['delegate']('updateComment')['to'](this),_0x548b7d['delegate']('resolveCommentThread')['to'](this),_0x548b7d['delegate']('editorReady')['to'](this),_0x548b7d['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x548b7d,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x548b7d,_0x41357b);}['_calculatePosition'](_0x27afe8){const _0x326c89=this['_model']['_findOptimalIndex'](_0x27afe8);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x27afe8['authoredAt']?_0x326c89-0x1:_0x326c89:_0x326c89-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x2f29c6={'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'],_0x2f29c6,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x2f29c6));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x22d7f9){const _0x2f73e5=this['commentViews']['remove'](_0x22d7f9['id']);this['stopListening'](_0x2f73e5),_0x2f73e5['isEditMode']&&this['_updateHasDirtyComment'](),_0x2f73e5['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x2e882b=>_0x2e882b['isEditMode']);}['_rearrangeCollapse'](){const _0x12907a=cloneCollection(this['commentViews']),_0x3170f0=this['_collapsedCommentsView']['count'];for(let _0x5b4536=0x1;_0x5b4536<=_0x3170f0;_0x5b4536++)_0x12907a['remove'](0x1);for(const _0x29ce33 of _0x12907a)_0x29ce33['collapse']();_0x3170f0>0x0&&_0x12907a['add'](this['_collapsedCommentsView'],0x1),applyDiffToCollection(ckeditor5['diff'](Array['from'](this['visibleViews']),Array['from'](_0x12907a)),this['visibleViews'],_0x12907a);}['_rearrangeExpand'](){applyDiffToCollection(ckeditor5['diff'](Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0xe5b585 of this['visibleViews'])_0xe5b585['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0x1dd333=>{this['focusTracker']['add'](_0x1dd333['element']),this['keystrokes']['listenTo'](_0x1dd333['element']);}),this['commentViews']['on']('change',(_0x4d2523,_0x291710)=>{for(const _0x5e5264 of _0x291710['removed'])this['focusTracker']['remove'](_0x5e5264['element']),this['keystrokes']['stopListening'](_0x5e5264['element']);for(const _0x375a2e of Array['from'](_0x291710['added'])['reverse']())this['focusTracker']['add'](_0x375a2e['element']),this['keystrokes']['listenTo'](_0x375a2e['element']);});}}function cloneCollection(_0x545b6e){const _0x5b0f45=new ckeditor5['Collection']();for(const _0x1ce4e1 of _0x545b6e)_0x5b0f45['add'](_0x1ce4e1);return _0x5b0f45;}function applyDiffToCollection(_0x349a77,_0x3b945a,_0x4337f1){let _0x34d01b=0x0;for(const _0x3cf955 of _0x349a77)switch(_0x3cf955){case'insert':_0x3b945a['add'](_0x4337f1['get'](_0x34d01b),_0x34d01b),_0x34d01b++;break;case'delete':_0x3b945a['remove'](_0x34d01b);break;case'equal':_0x34d01b++;}}class CommentThreadHeaderContextView extends ckeditor5['View']{constructor(_0x581183){super(_0x581183);const _0x5bcb7b=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x5bcb7b['to']('contextValue',_0x3c6899=>getTranslation$f(_0x581183,'THREAD_CONTEXT_LABEL',_0x3c6899)),'tabindex':-0x1},'children':[{'text':_0x5bcb7b['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}const _0x206293=0x96;class CommentThreadHeaderView extends ckeditor5['View']{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x54bf40,_0x5ceb27){super(_0x54bf40);const _0x5124b7=this['bindTemplate'];this['_model']=_0x5ceb27,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',_0x3051e3=>!!_0x3051e3),this['bind']('contextValue')['to'](this['_model'],'context',_0x44e015=>_0x44e015&&_0x44e015['value']?this['_trimContextValue'](_0x44e015['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',_0x5124b7['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 _0xd83d3c=new ckeditor5['ButtonView'](this['locale']);return _0xd83d3c['label']=getTranslation$f(this['locale'],'Reopen'),_0xd83d3c['tooltip']=getTranslation$f(this['locale'],'Reopen'),_0xd83d3c['icon']=ckeditor5['IconUndo'],_0xd83d3c['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x25718d=>!_0x25718d),_0xd83d3c['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x1ef831,_0x29542a)=>_0x1ef831&&_0x29542a),_0xd83d3c['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0xd83d3c;}['_trimContextValue'](_0x33dcb4){const _0x5bb949=_0x206293-0x3;if(_0x33dcb4['length']<_0x206293)return _0x33dcb4;const _0x422180=_0x33dcb4['lastIndexOf']('\x20',_0x5bb949);return _0x33dcb4['substring'](0x0,_0x422180>-0x1?_0x422180:_0x5bb949)+'...';}['_attachContextActions'](){const _0x37120c=this['element']['querySelector']('.ck-context'),_0x3d1a00=_0x37120c['querySelector']('.ck-context__value');this['listenTo'](_0x37120c,'mouseenter',()=>{_0x3d1a00['offsetWidth']<_0x3d1a00['scrollWidth']&&_0x37120c['classList']['add']('overlay');}),this['listenTo'](_0x37120c,'mouseleave',()=>{_0x37120c['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0x6d095c of this['focusables'])this['focusTracker']['add'](_0x6d095c['element']),this['keystrokes']['listenTo'](_0x6d095c['element']);}['_createContextView'](){const _0x101c8b=new CommentThreadHeaderContextView(this['locale']);return _0x101c8b['bind']('contextValue')['to'](this),_0x101c8b;}}class BaseCommentThreadView extends ckeditor5['View']{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x5a6631,_0x5c7bc9,_0x23f9ea,_0x48ec95){super(_0x5a6631),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x5c7bc9,this['_localUser']=_0x23f9ea,this['_config']=_0x48ec95,this['commentThreadHeaderView']=new CommentThreadHeaderView(_0x5a6631,_0x5c7bc9),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new AriaDescriptionView(_0x5a6631,getTranslation$f(_0x5a6631,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new CommentsListView(_0x5a6631,_0x5c7bc9,Object['assign']({'CommentView':this['_config']['CommentView']},_0x48ec95)),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',(_0x357590,_0xa7d912)=>_0x357590||!!_0xa7d912),this['bind']('isUnlinked')['to'](_0x5c7bc9,'unlinkedAt',_0x4e5bd4=>!!_0x4e5bd4),this['bind']('ariaLabel')['to'](this,'length',_0x52b670=>{const _0x67e999=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return getTranslation$f(this['locale'],'COMMENT_THREAD_LABEL',[_0x52b670,_0x67e999]);}),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':_0x1a8d9f=>_0x1a8d9f['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 _0x40f6f1=new CommentThreadInputView(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x98e89f=_0x40f6f1['commentInputView'];return _0x40f6f1['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x98e89f,'value',(_0x32bc74,_0x57d945,_0x259399,_0x39fb44,_0x589465)=>!!_0x589465||!!_0x39fb44&&_0x259399&&!_0x57d945||_0x32bc74&&_0x259399&&!_0x57d945),_0x98e89f['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x2aca18,_0x5d7b79,_0x50499a)=>{let _0x209220;return _0x209220=_0x50499a&&_0x5d7b79?'Reply\x20to\x20reopen\x20discussion...':_0x2aca18?'Reply...':'Write\x20a\x20comment...',getTranslation$f(this['locale'],_0x209220);}),_0x98e89f['bind']('submitLabel')['to'](this,'length',_0x5522e1=>getTranslation$f(this['locale'],_0x5522e1?'Reply':'Comment')),_0x98e89f['on']('submit',(_0x32d1e8,_0xf249d)=>{this['fire']('addComment',_0xf249d),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x98e89f['on']('cancel',()=>{this['focus']();}),_0x98e89f['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x98e89f['on']('cancel',_0x37b2b0=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x37b2b0['stop']());}),this['on']('change:isActive',(_0x412bb8,_0x34f73c,_0x55c5c5)=>{_0x55c5c5||this['length']||_0x98e89f['value']||this['fire']('removeCommentThread');}),_0x40f6f1;}}class CommentThreadView extends/* #__PURE__ -- @preserve */
_0x605636(BaseCommentThreadView){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x108119,_0x24bab4,_0x197461,_0x4fdd5c){super(_0x108119,_0x24bab4,_0x197461,_0x4fdd5c),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x108119,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0xac035b,_0x5616a6,_0x343530)=>{_0x343530||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x5c574b,_0x468ed8,_0x4617b7)=>{_0x4617b7&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x4d9981=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0x4d9981['if']('isActive','ck-thread--active'),_0x4d9981['if']('isUnlinked','ck-thread--unlinked'),_0x4d9981['to']('actionIndicator',_0xa82633=>_0xa82633?'ck-thread--'+_0xa82633:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x4d9981['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 _0x310405 of this['commentsListView']['commentViews'])_0x310405['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x2cc8d5}=this,_0x4c4860=this['commentsListView']['commentViews']['get'](0x0);_0x4c4860===this['_boundFirstCommentView']||_0x4c4860['isSystemComment']||(this['_boundFirstCommentView']=_0x4c4860,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x4c4860,'actionIndicator',_0x170d2d=>'remove'===_0x170d2d?'remove':null),_0x4c4860['placeholder']=getTranslation$f(_0x2cc8d5,'Write\x20a\x20comment...'),_0x4c4860['removeButton']['on']('execute',_0x3211b0=>{_0x3211b0['stop'](),this['showConfirm'](getTranslation$f(_0x2cc8d5,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x4c4860['focus']();}),_0x4c4860['actionBar']['add'](this['resolveButton'],0x0),_0x4c4860['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x586a79=new LateFocusButtonView(this['locale']);return _0x586a79['label']=getTranslation$f(this['locale'],'Resolve'),_0x586a79['tooltip']=getTranslation$f(this['locale'],'Resolve'),_0x586a79['icon']=ckeditor5['IconCheck'],_0x586a79['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x586a79['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x24247e=>!_0x24247e),_0x586a79['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x653426,_0x6a467b)=>_0x653426&&!_0x6a467b),_0x586a79['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x586a79;}['_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(_0x45a2f1){super(_0x45a2f1),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x43e844,_0x19839c,_0x5977a9)=>{this['element']['innerHTML']=_0x5977a9;}),this['element']['innerHTML']=this['content'];}}class BaseCommentView extends ckeditor5['View']{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x1a2f45,_0x2bcc48,_0x3fd445){super(_0x1a2f45),this['_model']=_0x2bcc48,this['_config']=_0x3fd445,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x2bcc48,'content',_0x2bcc48,'authoredAt',(_0x4a769c,_0x5d2032)=>getTranslation$f(_0x1a2f45,'COMMENT_ARIA_LABEL',[_0x2bcc48['author']['name'],_0x3fd445['formatDateTime'](_0x5d2032),new DOMParser()['parseFromString'](_0x4a769c,'text/html')['body']['textContent'],_0x2bcc48['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new AriaDescriptionView(_0x1a2f45,getTranslation$f(_0x1a2f45,'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':_0xe62c45=>_0xe62c45['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 _0x2a149e=new CommentContentView(this['locale']);return _0x2a149e['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x50d90b,_0x5ab8fc)=>_0x5ab8fc?trimHtml(_0x50d90b,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x50d90b),_0x2a149e;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x55cd4e=new CommentInputView(this['locale'],this['_config']['editorConfig']);return _0x55cd4e['value']=this['_model']['content'],_0x55cd4e['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x55cd4e['submitLabel']=getTranslation$f(this['locale'],'Save'),_0x55cd4e['on']('submit',(_0x851715,_0x107dc3)=>{this['fire']('updateComment',this['_model']['id'],_0x107dc3),this['switchToDisplayMode'](),this['focus']();}),_0x55cd4e['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x55cd4e['once']('editorReady',()=>{_0x55cd4e['focus']();}),_0x55cd4e['createEditor'](),_0x55cd4e['delegate']('editorReady')['to'](this),_0x55cd4e['delegate']('editorDestroyed')['to'](this),_0x55cd4e;}['_setupKeyboardNavigation'](){const _0x141c6d=this['element'];this['keystrokes']['listenTo'](_0x141c6d);for(const _0x49f539 of this['focusables'])this['focusTracker']['add'](_0x49f539['element']),this['keystrokes']['listenTo'](_0x49f539['element']);this['focusables']['on']('change',(_0x5ea088,_0x36417a)=>{for(const _0x380126 of _0x36417a['removed'])this['focusTracker']['remove'](_0x380126['element']),this['keystrokes']['stopListening'](_0x380126['element']);for(const _0x55001b of _0x36417a['added'])this['focusTracker']['add'](_0x55001b['element']),this['keystrokes']['listenTo'](_0x55001b['element']);}),this['keystrokes']['set']('enter',(_0x476ed6,_0x44d89d)=>{_0x141c6d===_0x476ed6['target']&&(this['focusCycler']['focusFirst'](),_0x44d89d());}),this['keystrokes']['set']('esc',(_0x58a044,_0xc8c568)=>{_0x141c6d!==_0x58a044['target']&&(this['focus'](),_0xc8c568());});}}class CommentView extends/* #__PURE__ -- @preserve */
_0x605636(BaseCommentView){['actionBar'];['userView'];constructor(_0x3b64c7,_0x180d15,_0x3c78f0){super(_0x3b64c7,_0x180d15,_0x3c78f0),this['set']('actionIndicator',null),this['set']('placeholder',getTranslation$f(_0x3b64c7,'Reply...')),this['bind']('authoredAt')['to'](_0x180d15),this['bind']('resolvedAt')['to'](_0x180d15),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 _0x5c412d(_0x3b64c7,_0x180d15['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x180d15,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x48ce2c=this['bindTemplate'],_0xfe70e2=[{'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':_0x48ce2c['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x48ce2c['to']('authoredAt',_0x546423=>this['_config']['formatDateTime'](_0x546423))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x48ce2c['if']('isEditMode','ck-comment__actions--hidden'),_0x48ce2c['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']&&_0xfe70e2['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0x48ce2c['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x48ce2c['if']('isEditMode','ck-comment--edit'),_0x48ce2c['if']('isSystemComment','ck-comment--info'),_0x48ce2c['to']('actionIndicator',_0x4d02f7=>_0x4d02f7?'ck-comment--'+_0x4d02f7:'')],'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':_0xfe70e2}]}]};}['_createEditButton'](){const _0x1fb1f6=new ckeditor5['ButtonView'](this['locale']);return _0x1fb1f6['label']=getTranslation$f(this['locale'],'Edit'),_0x1fb1f6['icon']=ckeditor5['IconPencil'],_0x1fb1f6['withText']=!0x0,_0x1fb1f6['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x1fb1f6['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x48a8a6=>!_0x48a8a6),_0x1fb1f6['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x1fb1f6['on']('execute',()=>this['switchToEditMode']()),_0x1fb1f6;}['_createRemoveButton'](){const _0x1685a9=new ckeditor5['ButtonView'](this['locale']);return _0x1685a9['label']=getTranslation$f(this['locale'],'Remove'),_0x1685a9['icon']=ckeditor5['IconRemoveComment'],_0x1685a9['withText']=!0x0,_0x1685a9['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x1685a9['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x3c820b=>!_0x3c820b),_0x1685a9['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x1685a9['on']('execute',()=>{this['showConfirm'](getTranslation$f(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x1685a9;}['_createDropdown'](){const _0x5bd1b9=ckeditor5['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0x2904bb=_0x5bd1b9['panelView']['children'],_0x416269=new ckeditor5['ListView'](this['locale']),_0x5150f0=_0x5bd1b9['bindTemplate'];ckeditor5['focusChildOnDropdownOpen'](_0x5bd1b9,()=>this['items']['find'](_0x263f37=>_0x263f37['isVisible'])),_0x5bd1b9['extendTemplate']({'attributes':{'class':[_0x5150f0['if']('isVisible','ck-hidden',_0x2e6baa=>!_0x2e6baa)]}});const _0x151372=(_0x9a36bb,_0x1758e=-0x1)=>{const _0x12080c=new ckeditor5['ListItemView'](this['locale']);_0x12080c['children']['add'](_0x9a36bb);const _0x1d150b=_0x1758e>-0x1?_0x1758e:_0x416269['items']['length'];_0x416269['items']['add'](_0x12080c,_0x1d150b);const _0x2f6a8f=Array['from'](this['items']);_0x5bd1b9['unbind']('isEnabled','isVisible'),_0x5bd1b9['bind']('isEnabled')['toMany'](_0x2f6a8f,'isEnabled',(..._0x518cff)=>_0x518cff['some'](_0x57c4ab=>_0x57c4ab)),_0x5bd1b9['bind']('isVisible')['toMany'](_0x2f6a8f,'isVisible',(..._0x10b33b)=>_0x10b33b['some'](_0xb44f10=>_0xb44f10));};_0x5bd1b9['panelPosition']='sw',_0x5bd1b9['buttonView']['set']({'label':getTranslation$f(this['locale'],'Show\x20more\x20items'),'icon':ckeditor5['IconThreeVerticalDots']});for(const _0x1da350 of this['items'])_0x151372(_0x1da350);return _0x2904bb['add'](_0x416269),_0x5bd1b9['listenTo'](this['items'],'add',(_0x55ab62,_0x42e28e,_0x5baec8)=>{_0x151372(_0x42e28e,_0x5baec8);}),_0x5bd1b9['listenTo'](this['items'],'remove',(_0x414e1a,_0x9cd81a,_0x4cc76a)=>{_0x416269['items']['remove'](_0x4cc76a);}),_0x5bd1b9;}['_attachActions'](_0x5cf82d,_0x2734ef){const _0x4f3678=_0x5cf82d&&_0x5cf82d['element'];_0x4f3678&&(this['listenTo'](_0x4f3678,'mouseenter',()=>this['actionIndicator']=_0x2734ef),this['listenTo'](_0x4f3678,'focus',()=>this['actionIndicator']=_0x2734ef),this['listenTo'](_0x4f3678,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x4f3678,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x460fdf=super['_createCommentInputView']();return _0x460fdf['bind']('placeholder')['to'](this),_0x460fdf;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function createMutationObserver(_0x3d68c1){const _0x199c26=throttle$1(_0x3d68c1,0x1e),_0x93e2f6=new MutationObserver(_0x4e7f03=>{for(const _0x10cad2 of _0x4e7f03)('attributes'==_0x10cad2['type']&&'class'==_0x10cad2['attributeName']||'childList'==_0x10cad2['type']||'characterData'==_0x10cad2['type'])&&_0x199c26();});return{'attach'(_0xa73fbf){_0x93e2f6['observe'](_0xa73fbf,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x93e2f6['disconnect'](),_0x199c26['cancel']();}};}class AnnotationView extends ckeditor5['View']{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x54953a,_0x5ef5cc){super(_0x54953a),this['id']=ckeditor5['uid'](),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['keystrokes']['set']('Esc',(_0x45dc57,_0x242f5d)=>this['fire']('Esc',_0x242f5d)),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'](_0x5ef5cc),this['mainView']=_0x5ef5cc;const _0x364637=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x364637['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 _0x6de8cb=this['element']['clientHeight'];_0x6de8cb&&(this['height']=_0x6de8cb);}}let Annotation$1=class _0x18b6d5 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x368283,target:_0x20895f,type:_0xbdf430,isVisible:_0xb14765=!0x0}){super(),this['view']=_0x368283,this['view']['element']||this['view']['render'](),this['_type']=_0xbdf430,this['_target']=_0x20895f,_0x18b6d5['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new ckeditor5['Collection']([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x5e71a5,_0x291499)=>{this['view']['focusTracker']['add'](_0x291499);}),this['focusableElements']['on']('remove',(_0x430a1d,_0x24a70a)=>{this['view']['focusTracker']['remove'](_0x24a70a);}),this['set']('isVisible',_0xb14765);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x1e275e=this['_getNormalizedTarget']();return _0x18b6d5['_assertCorrectTarget'](_0x1e275e),_0x1e275e;}get['targetRect'](){const _0x53f7d1=this['target'];if(null===_0x53f7d1)return null;if(_0x53f7d1 instanceof ckeditor5['Rect'])return _0x53f7d1;const _0x5542d0=_0x53f7d1['filter'](_0x51ec72=>isDomElementVisible(_0x51ec72));return 0x0===_0x5542d0['length']?null:ckeditor5['Rect']['getDomElementRects'](_0x5542d0[0x0])[0x0];}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x89ffca){this['view']['isActive']=_0x89ffca,this['view']['mainView']['isActive']=_0x89ffca;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x27464e){if(!(null===_0x27464e||_0x27464e instanceof ckeditor5['Rect']||Array['isArray'](_0x27464e)&&_0x27464e['every'](_0x2a0a87=>isElement$1(_0x2a0a87))))throw new ckeditor5['CKEditorError']('annotation-invalid-target',null,{'target':_0x27464e});}['_getNormalizedTarget'](){const _0x9c5956='function'==typeof this['_target']?this['_target']():this['_target'];return isElement$1(_0x9c5956)?[_0x9c5956]:_0x9c5956;}};function isElement$1(_0x59b1af){return null!==_0x59b1af&&'object'==typeof _0x59b1af&&'nodeType'in _0x59b1af&&0x1===_0x59b1af['nodeType'];}function isDomElementVisible(_0x480557){if(_0x480557['offsetParent'])return!0x0;return!!_0x480557['getClientRects']()['item'](0x0);}class AnnotationCollection extends ckeditor5['Collection']{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0xe8e406=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new ckeditor5['FocusTracker'](),this['_focusTracker']['on']('change:isFocused',(_0x13c5bf,_0x45542c,_0x2707cd)=>{_0x2707cd||this['fire']('blur');});for(const _0x296e99 of _0xe8e406)this['add'](_0x296e99);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x1c0e8c){if(this['has'](_0x1c0e8c))throw new ckeditor5['CKEditorError']('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x1c0e8c['innerView'],_0x1c0e8c),this['_viewToAnnotation']['set'](_0x1c0e8c['view'],_0x1c0e8c);for(const _0x4f69d8 of _0x1c0e8c['focusableElements'])this['_focusTracker']['add'](_0x4f69d8);this['listenTo'](_0x1c0e8c['focusableElements'],'add',(_0x14dc05,_0x59f74d)=>{this['_focusTracker']['add'](_0x59f74d);}),this['listenTo'](_0x1c0e8c['focusableElements'],'remove',(_0x31c5da,_0x4c24b7)=>{this['_focusTracker']['remove'](_0x4c24b7);}),this['listenTo'](_0x1c0e8c['view']['focusTracker'],'change:isFocused',(_0x33e529,_0x1c8cbd,_0x58b413)=>{_0x58b413&&this['fire']('focus',_0x1c0e8c);}),_0x1c0e8c['updateTargetRect']();const _0x43843f=this['_getOrderInContent'](_0x1c0e8c['view']['targetRect']);return super['add'](_0x1c0e8c,_0x43843f);}['remove'](_0x1ee6d8){if(!this['has'](_0x1ee6d8))throw new ckeditor5['CKEditorError']('annotationcollection-not-existing-item',null);this['stopListening'](_0x1ee6d8['view']['focusTracker']),this['stopListening'](_0x1ee6d8['focusableElements']);for(const _0x5e612e of _0x1ee6d8['focusableElements'])this['_focusTracker']['remove'](_0x5e612e);return this['_viewToAnnotation']['delete'](_0x1ee6d8['view']),this['_innerViewToAnnotation']['delete'](_0x1ee6d8['innerView']),super['remove'](_0x1ee6d8);}['getByInnerView'](_0x12228a){return this['_innerViewToAnnotation']['get'](_0x12228a);}['getByView'](_0x389a75){return this['_viewToAnnotation']['get'](_0x389a75);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x26d031 of this)_0x26d031['updateTargetRect']();this['_sort']();}['_sort'](){const _0x5bf6a7=Array['from'](this)['sort']((_0x5700e7,_0x431cbb)=>elementOffsetComparator(_0x5700e7['view']['targetRect'],_0x431cbb['view']['targetRect']));for(let _0x1116fa=_0x5bf6a7['length']-0x1;_0x1116fa>0x0;_0x1116fa--){const _0x1cd87e=_0x5bf6a7[_0x1116fa];_0x1116fa!==this['getIndex'](_0x1cd87e)&&(this['remove'](_0x1cd87e),this['add'](_0x1cd87e));}}['_getOrderInContent'](_0x9d4400){let _0x40bae5=0x0;if(!_0x9d4400)return this['length'];for(const _0x4fdca5 of this){const _0x163606=_0x4fdca5['view']['targetRect'];if(_0x163606){if(elementOffsetComparator(_0x9d4400,_0x163606)<0x0)return _0x40bae5;_0x40bae5++;}}return _0x40bae5;}}function bindAnnotationCollections({source:_0x59a391,target:_0x55f38b,filter:_0xca37e5}){for(const _0x351a39 of _0x59a391)_0xca37e5(_0x351a39)&&_0x55f38b['add'](_0x351a39);_0x55f38b['listenTo'](_0x59a391,'add',(_0x1ff44b,_0x2066da)=>{_0xca37e5(_0x2066da)&&_0x55f38b['add'](_0x2066da);}),_0x55f38b['listenTo'](_0x59a391,'remove',(_0x3f415a,_0x19e8fd)=>{_0x55f38b['has'](_0x19e8fd)&&_0x55f38b['remove'](_0x19e8fd);});}function elementOffsetComparator(_0x29d777,_0x8b0d3e){if(null===_0x29d777&&null===_0x8b0d3e)return 0x0;if(null===_0x29d777)return-0x1;if(null===_0x8b0d3e)return 0x1;const _0x2cfe7c=_0x29d777['top']-_0x8b0d3e['top'];return 0x0==_0x2cfe7c?_0x29d777['left']-_0x8b0d3e['left']:_0x2cfe7c;}class Annotations extends ckeditor5['ContextPlugin']{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4655a5){if(super(_0x4655a5),this['collection']=new AnnotationCollection(),this['_visibleAnnotations']=new AnnotationCollection(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x4655a5 instanceof ckeditor5['Editor']){const _0x1e126e=_0x4655a5['locale'];_0x4655a5['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':getTranslation$f(_0x1e126e,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':getTranslation$f(_0x1e126e,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':getTranslation$f(_0x1e126e,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':getTranslation$f(_0x1e126e,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':getTranslation$f(_0x1e126e,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':getTranslation$f(_0x1e126e,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':getTranslation$f(_0x1e126e,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x15c848){this['collection']['add'](_0x15c848);}['remove'](_0x496a99){this['collection']['remove'](_0x496a99),_0x496a99['destroy']();}['refreshVisibility'](){for(const _0x57ccad of this['collection'])_0x57ccad['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x209096){return this['collection']['getByInnerView'](_0x209096);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x303b60 of this['collection'])_0x303b60['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x28c25e){this['fire']('_activateAnnotation',_0x28c25e);}['createAnnotation'](_0xb3589){return new Annotation$1(_0xb3589);}['createAnnotationView'](_0x48a41a,_0x1b026f){return new AnnotationView(_0x48a41a,_0x1b026f);}['_addActiveAnnotation'](_0x39d85a){const _0x3a6cc2=new Set(this['activeAnnotations']);_0x3a6cc2['add'](_0x39d85a),this['activeAnnotations']=_0x3a6cc2;}['_removeActiveAnnotation'](_0x1120ea){const _0x2ab8d5=new Set(this['activeAnnotations']);_0x2ab8d5['delete'](_0x1120ea),this['activeAnnotations']=_0x2ab8d5;}['_bindAnnotationsToVisibleAnnotations'](){const _0x248f5a=this['collection'],_0x5b6d55=this['_visibleAnnotations'];function _0x99e3c8(_0x145fcb){const _0x4256eb=_0x145fcb['source'];_0x4256eb['isVisible']&&!_0x5b6d55['has'](_0x4256eb)?_0x5b6d55['add'](_0x4256eb):!_0x4256eb['isVisible']&&_0x5b6d55['has'](_0x4256eb)&&_0x5b6d55['remove'](_0x4256eb),_0x4256eb['view']['focusTracker']['remove'](_0x4256eb['view']['element']),_0x4256eb['view']['focusTracker']['add'](_0x4256eb['view']['element']);}this['listenTo'](_0x248f5a,'add',(_0x23876d,_0x5a6d26)=>{_0x5a6d26['isVisible']&&_0x5b6d55['add'](_0x5a6d26),this['listenTo'](_0x5a6d26,'change:isVisible',_0x99e3c8);}),this['listenTo'](_0x248f5a,'remove',(_0x371cac,_0x16aeaf)=>{_0x5b6d55['has'](_0x16aeaf)&&_0x5b6d55['remove'](_0x16aeaf),this['stopListening'](_0x16aeaf,'change:isVisible',_0x99e3c8);});}['_setupEnterAnnotationKeystroke'](){const _0x32964f=_0x2ae3eb=>{_0x2ae3eb['on']('ready',()=>{_0x2ae3eb['keystrokes']['set'](_0x4ec363,(_0x6c0c07,_0x97b327)=>{const _0x36eed0=ckeditor5['first'](this['activeAnnotations']['values']());_0x36eed0&&(_0x36eed0['view']['focus'](),_0x97b327());});});};this['context']instanceof ckeditor5['Editor']?_0x32964f(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0x532113,_0x5d6eb1)=>{_0x32964f(_0x5d6eb1);});}['_setupEscapeAnnotationHandling'](){const _0xe6c3e3=_0x43dc36=>{const _0x5873c2=_0x43dc36['source'],_0xcdd5a8=[];let _0x1c0483;if(Array['isArray'](_0x5873c2['target'])){_0x1c0483=_0x5873c2['target'][0x0],this['context']instanceof ckeditor5['Editor']?_0xcdd5a8['push'](this['context']):this['context']['editors']&&_0xcdd5a8['push'](...this['context']['editors']);for(const _0x4690c7 of _0xcdd5a8)for(const _0x3405d3 of _0x4690c7['editing']['view']['domRoots']['values']())if(_0x3405d3['contains'](_0x1c0483))return void _0x4690c7['editing']['view']['focus']();_0x1c0483['focus']();}};this['listenTo'](this['collection'],'add',(_0x455b61,_0x2da5f8)=>{this['listenTo'](_0x2da5f8,'escape',_0xe6c3e3,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x5d4358,_0x504c8a)=>{this['stopListening'](_0x504c8a,'escape',_0xe6c3e3);});}}const _0x543a80=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'],_0x9327be];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf01d27){super(_0xf01d27),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x177514=this['context']['config'];_0x177514['define']('comments.maxCommentsWhenCollapsed',0x2),_0x177514['define']('comments.maxThreadTotalWeight',0x1f4),_0x177514['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x177514['define']('comments.CommentThreadView',CommentThreadView),_0x177514['define']('comments.CommentView',CommentView),_0x177514['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x138a2b=this['context']['plugins']['get'](Annotations);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x45c7d4,_0x33cedb)=>this['_addCommentThread'](_0x33cedb)),this['on']('submitCommentThread',(_0xfd3758,_0x5d2c1c)=>this['_submitCommentThread'](_0x5d2c1c)),this['on']('resolveCommentThread',(_0x348823,_0x1da5a5)=>this['_resolveCommentThread'](_0x1da5a5)),this['on']('resolveCommentThread',(_0x2bb0fe,_0x5d0e79)=>this['_updateActiveAnnotation'](_0x5d0e79),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x2d1fb8,_0x9eca92)=>this['_reopenCommentThread'](_0x9eca92)),this['on']('reopenCommentThread',(_0x4d6987,_0x4c1590)=>this['_updateActiveAnnotation'](_0x4c1590),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x523fbb,_0x196f92)=>this['_removeCommentThread'](_0x196f92)),this['on']('updateCommentThread',(_0x329492,_0x2ef8d3)=>this['_updateCommentThread'](_0x2ef8d3)),this['on']('updateCommentThread',(_0x1cd53c,_0x46849a)=>this['_updateActiveAnnotation'](_0x46849a),{'priority':'lowest'}),this['on']('addComment',(_0x5beea7,_0x2d98ad)=>this['_addComment'](_0x2d98ad)),this['on']('updateComment',(_0x684124,_0xd3ea1a)=>this['_updateComment'](_0xd3ea1a)),this['on']('removeComment',(_0x41b564,_0xb38997)=>this['_removeComment'](_0xb38997)),this['on']('addComment',(_0x94f921,{threadId:_0x510d6b,isFromAdapter:_0x437cfc})=>{if(_0x437cfc)return;const _0x2ebee1=this['getCommentThread'](_0x510d6b),_0x145b06=_0x2ebee1&&this['_threadToController']['get'](_0x2ebee1);_0x145b06&&_0x145b06['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x138a2b,'change:activeAnnotations',(_0x158e99,_0x45a1ec,_0x216a6a)=>{const _0x5b70c0=Array['from'](_0x216a6a)['map'](_0x3d8fa9=>this['_viewToController']['get'](_0x3d8fa9['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x5b70c0?_0x5b70c0['model']:null;});}set['adapter'](_0x251b7d){if(this['_adapter'])throw new ckeditor5['CKEditorError']('commentsrepository-adapter-already-set');this['_adapter']=_0x251b7d;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x56da36=_0x543a80,threadId:_0xfa1f28=ckeditor5['uid'](),comments:_0x4c1afd=[],unlinkedAt:_0x296377=null,resolvedAt:_0x32e2ca=null,resolvedBy:_0x3c3156=null,target:_0x3cce3b=null,context:_0x26c31f=null,attributes:_0x2396ea={},isResolvable:_0x2585fe=!0x0,isSubmitted:_0x32cf81=!0x1,isFromAdapter:_0x45abfd=!0x1}={}){return this['fire'](toEventName('addCommentThread',_0x56da36),{'channelId':_0x56da36,'threadId':_0xfa1f28,'comments':_0x4c1afd,'unlinkedAt':_0x296377,'resolvedAt':_0x32e2ca,'resolvedBy':_0x3c3156,'target':_0x3cce3b,'context':_0x26c31f,'attributes':_0x2396ea,'isFromAdapter':_0x45abfd,'isResolvable':_0x2585fe,'isSubmitted':_0x32cf81}),this['getCommentThread'](_0xfa1f28);}['openNewCommentThread']({channelId:_0x3e8e83=_0x543a80,threadId:_0x34a723=ckeditor5['uid'](),target:_0x9ccf3b,context:_0x19a2aa=null,isResolvable:_0x3a54ba=!0x0}){if(this['_readOnlyChannels']['has'](_0x3e8e83)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x9ccf3b)throw new ckeditor5['CKEditorError']('commentsrepository-missing-target');const _0x4168a5=this['addCommentThread']({'channelId':_0x3e8e83,'threadId':_0x34a723,'target':_0x9ccf3b,'context':_0x19a2aa,'isResolvable':_0x3a54ba});if(!_0x4168a5)return null;const _0x38baae=this['_threadToController']['get'](_0x4168a5),_0x53ea13=_0x38baae['view']['commentThreadInputView']['commentInputView'],_0x13c549=this['context']['plugins']['get'](Annotations),_0x3442e4=_0x13c549['getByInnerView'](_0x38baae['view']);return _0x13c549['activate'](_0x3442e4),_0x53ea13['once']('editorReady',()=>_0x53ea13['focus']()),_0x4168a5;}['hasCommentThread'](_0x391b46){if('string'!=typeof _0x391b46)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x391b46);}['updateCommentThread']({channelId:_0x582614=_0x543a80,threadId:_0x551008,context:_0x393f11,unlinkedAt:_0x5c465b,attributes:_0x357ce3,isFromAdapter:_0x35c5ee=!0x1}){return this['fire'](toEventName('updateCommentThread',_0x582614),{'channelId':_0x582614,'threadId':_0x551008,'context':_0x393f11,'unlinkedAt':_0x5c465b,'attributes':_0x357ce3,'isFromAdapter':_0x35c5ee}),this['getCommentThread'](_0x551008);}['getCommentThread'](_0x5de922){if('string'!=typeof _0x5de922)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x5de922);}['fetchCommentThread']({channelId:_0x542b07,threadId:_0x5ca07f}={}){const _0x29580c=this['getCommentThread'](_0x5ca07f);if(_0x29580c)return Promise['resolve'](_0x29580c);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':_0x542b07,'threadId':_0x5ca07f})['then'](_0x384dc9=>this['hasCommentThread'](_0x5ca07f)?this['getCommentThread'](_0x5ca07f):_0x384dc9?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x542b07},_0x384dc9)):void 0x0)['catch'](_0x240d7c=>{throw console['error'](_0x240d7c),new ckeditor5['CKEditorError']('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x48006a,skipNotAttached:_0x3ac6ae=!0x1,skipEmpty:_0x25a0c7=!0x1,toJSON:_0x96d21e=!0x1}={}){const _0x58d565=[];for(const _0x24f8ea of this['_threads']['values']())_0x48006a&&_0x24f8ea['channelId']!==_0x48006a||_0x3ac6ae&&!_0x24f8ea['isAttached']||_0x25a0c7&&0x0===_0x24f8ea['length']||_0x58d565['push'](_0x24f8ea);return _0x96d21e?_0x58d565['map'](_0x1fe2ff=>_0x1fe2ff['toJSON']()):_0x58d565;}['getAnnotationForCommentThread'](_0x2c0611){const _0x4ce33b=this['_threadToController']['get'](_0x2c0611);if(!_0x4ce33b)return null;return this['context']['plugins']['get'](Annotations)['getByInnerView'](_0x4ce33b['view'])||null;}['getCommentThreadForAnnotation'](_0x454a6b){const _0x46b8e0=this['_viewToController']['get'](_0x454a6b['innerView']);return _0x46b8e0?_0x46b8e0['model']:null;}['setActiveCommentThread'](_0x12cd45){const _0x2e1fa0=this['context']['plugins']['get'](Annotations);if(!_0x12cd45)return void(this['activeCommentThread']&&_0x2e1fa0['deactivateAll']());const _0x2f5cf9=this['getCommentThread'](_0x12cd45);if(!_0x2f5cf9)throw new ckeditor5['CKEditorError']('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x12cd45});if(!this['_threadToController']['has'](_0x2f5cf9))throw new ckeditor5['CKEditorError']('commentsrepository-active-not-attached',null,{'threadId':_0x12cd45});const _0x49f923=_0x2e1fa0['getByInnerView'](this['_threadToController']['get'](_0x2f5cf9)['view']);_0x2e1fa0['activate'](_0x49f923);}['switchReadOnly'](_0x1c005f,_0x1dd550){_0x1c005f?this['_readOnlyChannels']['add'](_0x1dd550):this['_readOnlyChannels']['delete'](_0x1dd550),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x3836cc){return this['_readOnlyChannels']['has'](_0x3836cc)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x45c78e,_0x4299f7){return new CommentThreadController(_0x45c78e,_0x4299f7);}['setPermissions'](_0x7d6428,_0x16f186=_0x543a80){this['_permissions']['set'](_0x16f186,_0x7d6428),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x55e5c4=_0x543a80){return this['_permissions']['has'](_0x55e5c4)?this['_permissions']['get'](_0x55e5c4):defaultPermissions;}['_addCommentThread']({channelId:_0x1ad66f,threadId:_0x54460c,comments:_0x587438,unlinkedAt:_0x47d91e,resolvedAt:_0x4a2ed5,resolvedBy:_0x3b4f1c,target:_0x173f2e,context:_0x49c98f,attributes:_0x5c09a1,isFromAdapter:_0x37add1,isResolvable:_0x752fad,isSubmitted:_0x352e2b}){if('string'!=typeof _0x54460c)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x54460c});if(this['hasCommentThread'](_0x54460c))throw new ckeditor5['CKEditorError']('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x54460c});const _0x4e6893=new CommentThread(this,{'channelId':_0x1ad66f,'id':_0x54460c,'context':_0x49c98f,'attributes':_0x5c09a1,'unlinkedAt':_0x47d91e,'resolvedAt':_0x4a2ed5,'resolvedBy':_0x3b4f1c?this['context']['plugins']['get'](_0x9327be)['getUser'](_0x3b4f1c):null,'isResolvable':_0x752fad,'isSubmitted':_0x352e2b||_0x37add1});this['_threads']['set'](_0x54460c,_0x4e6893);for(const _0x4d3362 of _0x587438)_0x4e6893['_add'](this['_createNewComment']({'threadId':_0x54460c,..._0x4d3362}));return _0x173f2e&&_0x4e6893['attachTo'](_0x173f2e),_0x37add1||!_0x4e6893['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x1ad66f,'threadId':_0x54460c});}['_submitCommentThread']({channelId:_0x5065bb,threadId:_0x560e36}){if(!this['hasCommentThread'](_0x560e36))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',this);const _0x1b3cb8=this['getCommentThread'](_0x560e36);if(_0x1b3cb8['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x5568b6,comments:_0x587c69,resolvedAt:_0xd1f37,resolvedBy:_0x67a154,context:_0xa89ff5,attributes:_0x15fdae}=_0x1b3cb8,_0x192f10=this['context']['plugins']['get']('PendingActions'),_0x41a37b=_0x192f10['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x5065bb,'threadId':_0x5568b6,'comments':_0x587c69['map'](_0x3fc19a=>_0x3fc19a['toJSON']()),'resolvedAt':_0xd1f37,'resolvedBy':_0x67a154?_0x67a154['id']:_0x67a154,'context':_0xa89ff5,'attributes':_0x15fdae})['then'](({comments:_0x4f6035})=>{_0x192f10['remove'](_0x41a37b);for(const _0x5d1b0b of _0x4f6035)this['_updateComment']({'channelId':_0x5065bb,'threadId':_0x560e36,'commentId':_0x5d1b0b['commentId'],'createdAt':_0x5d1b0b['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x2cee98=>{throw console['error'](_0x2cee98),new ckeditor5['CKEditorError']('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x2ae258,target:_0x4abb5a}){const _0x2f34db=this['getCommentThread'](_0x2ae258);if(!_0x2f34db)throw new ckeditor5['CKEditorError']('commentsrepository-attach-missing-comment-thread',this);const _0x921202=this['context']['plugins']['get']('PendingActions'),_0x776b4d=this['context']['plugins']['get'](Annotations),_0x4da520=this['_createCommentThreadView'](_0x2f34db),_0x2a2879=new CommentThreadController(_0x2f34db,_0x4da520);let _0x547060=null;_0x4da520['on']('change:isDirty',(_0x5b7286,_0x3dbabf,_0x2f9be1)=>{_0x2f9be1?_0x547060=_0x921202['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x547060&&(_0x921202['remove'](_0x547060),_0x547060=null);}),this['_threadToController']['set'](_0x2f34db,_0x2a2879),this['_viewToController']['set'](_0x4da520,_0x2a2879);const _0x4c269c=new AnnotationView(this['context']['locale'],_0x4da520);_0x4c269c['bind']('length')['to'](_0x4da520),_0x4c269c['bind']('isDirty')['to'](_0x4da520,'isDirty',_0x4da520,'length',(_0x14e832,_0x376d17)=>_0x14e832||!_0x376d17),_0x4c269c['bind']('isActive')['to'](_0x4da520),_0x4c269c['type']='comment';const _0x38dd16=new Annotation$1({'view':_0x4c269c,'target':_0x4abb5a,'type':'comment','isVisible':!_0x2f34db['archivedAt']&&!!('function'==typeof _0x4abb5a?_0x4abb5a():_0x4abb5a)});return _0x4da520['on']('escape',()=>{_0x38dd16['fire']('escape');}),this['_bindAnnotationToEditors'](_0x4da520,_0x38dd16),_0x776b4d['add'](_0x38dd16),_0x38dd16;}['_bindAnnotationToEditors'](_0x25653b,_0x3a4da8){this['listenTo'](_0x25653b,'editorReady',(_0x113733,_0x3d60eb)=>{const _0x1ed549=_0x3d60eb['ui']['view']['body']['bodyCollectionContainer'];_0x3a4da8['focusableElements']['add'](_0x1ed549),this['context']instanceof ckeditor5['Editor']&&this['context']['ui']['focusTracker']['add'](_0x1ed549);},{'priority':'highest'}),this['listenTo'](_0x25653b,'editorDestroyed',(_0x48430a,_0x3dc30b)=>{const _0x24dd04=_0x3dc30b['ui']['view']['body']['bodyCollectionContainer'];_0x3a4da8['focusableElements']['has'](_0x24dd04)&&_0x3a4da8['focusableElements']['remove'](_0x24dd04),this['context']instanceof ckeditor5['Editor']&&this['context']['ui']['focusTracker']['remove'](_0x24dd04);});}['_unbindEditors'](_0x81b11a){this['stopListening'](_0x81b11a,'editorReady'),this['stopListening'](_0x81b11a,'editorDestroyed');}['_createCommentThreadView'](_0x47ea42){const _0x1f8e2f=this['context']['plugins']['get'](_0x9327be),{config:_0x568d16,locale:_0x37ace4}=this['context'],_0x445b65=getDateTimeFormatter(_0x568d16['get']('locale'),_0x37ace4);return new(0x0,(_0x568d16['get']('comments'))['CommentThreadView'])(_0x37ace4,_0x47ea42,_0x1f8e2f['me'],{'editorConfig':{..._0x568d16['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x568d16['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x568d16['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x568d16['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x568d16['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x445b65,'CommentView':_0x568d16['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0xd90908,channelId:_0x271ff8,resolvedAt:_0x1d7f59,resolvedBy:_0x5f22dd,isFromAdapter:_0x28ff53}){if(!this['hasCommentThread'](_0xd90908))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0xd90908});const _0x237c21=this['getCommentThread'](_0xd90908);if(_0x237c21['isResolved'])throw new ckeditor5['CKEditorError']('commentsrepository-resolved-comment-thread',null,{'threadId':_0xd90908});const _0x1426a7=this['context']['plugins']['get'](_0x9327be);if(_0x237c21['resolvedBy']=_0x1426a7['getUser'](_0x5f22dd),_0x237c21['resolvedAt']=_0x1d7f59,_0x28ff53||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x37fa55=this['context']['plugins']['get']('PendingActions'),_0x117c85=_0x37fa55['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x271ff8,'threadId':_0xd90908})['then'](({resolvedAt:_0x4d1376,resolvedBy:_0x4c40c5})=>{_0x37fa55['remove'](_0x117c85),_0x237c21['resolvedBy']['id']!==_0x4c40c5&&(_0x237c21['resolvedBy']=_0x1426a7['getUser'](_0x4c40c5)),_0x237c21['resolvedAt']=_0x4d1376;})['catch'](_0x176273=>{throw console['error'](_0x176273),new ckeditor5['CKEditorError']('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x2592d9,channelId:_0x4a9537,isFromAdapter:_0x426257}){if(!this['hasCommentThread'](_0x2592d9))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x2592d9});const _0x119e1c=this['getCommentThread'](_0x2592d9);if(!_0x119e1c['isResolved'])throw new ckeditor5['CKEditorError']('commentsrepository-reopen-comment-thread',null,{'threadId':_0x2592d9});if(_0x119e1c['resolvedBy']=null,_0x119e1c['resolvedAt']=null,_0x426257||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x3407e1=this['context']['plugins']['get']('PendingActions'),_0x416e4=_0x3407e1['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x4a9537,'threadId':_0x2592d9})['then'](()=>_0x3407e1['remove'](_0x416e4))['catch'](_0x33a8d9=>{throw console['error'](_0x33a8d9),new ckeditor5['CKEditorError']('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x386865,isFromAdapter:_0x2a866c}){const _0x209df4=this['getCommentThread'](_0x386865);if(!_0x209df4)throw new ckeditor5['CKEditorError']('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x386865),this['_threads']['delete'](_0x386865),!_0x209df4['isSubmitted']||_0x2a866c||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x599546=this['context']['plugins']['get']('PendingActions'),{channelId:_0x16c22d}=_0x209df4,_0x56b606=_0x599546['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x16c22d,'threadId':_0x386865})['then'](()=>_0x599546['remove'](_0x56b606))['catch'](_0x3611c0=>{throw console['error'](_0x3611c0),new ckeditor5['CKEditorError']('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x1cf00c,unlinkedAt:_0x26dfef,context:_0x350e41,attributes:_0x525b1d,isFromAdapter:_0x5d2482}){if('string'!=typeof _0x1cf00c)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x1cf00c});if(!this['hasCommentThread'](_0x1cf00c))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x1cf00c});const _0x43895a=this['getCommentThread'](_0x1cf00c);let _0x5df7ae=!0x1;if(void 0x0!==_0x350e41&&_0x43895a['context']!==_0x350e41&&(_0x43895a['context']=_0x350e41,_0x5df7ae=!0x0),void 0x0!==_0x26dfef&&_0x43895a['unlinkedAt']!==_0x26dfef&&(_0x43895a['unlinkedAt']=_0x26dfef,_0x5df7ae=!0x0),_0x525b1d&&!_0x541aea(_0x525b1d,_0x43895a['attributes'])&&(_0x43895a['attributes']=_0x525b1d,_0x5df7ae=!0x0),!_0x5df7ae)return Promise['resolve']();if(!_0x43895a['isSubmitted']||_0x5d2482||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x26a1f0=this['context']['plugins']['get']('PendingActions'),{channelId:_0x1e064c}=_0x43895a,_0xb8b4b=_0x26a1f0['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x1e064c,'threadId':_0x1cf00c,'context':_0x350e41,'unlinkedAt':_0x26dfef,'attributes':_0x525b1d})['then'](()=>_0x26a1f0['remove'](_0xb8b4b))['catch'](_0x4ca388=>{throw console['error'](_0x4ca388),new ckeditor5['CKEditorError']('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x334e85){const _0x1c2295=this['context']['plugins']['get'](Annotations),_0x3c8c39=this['getCommentThread'](_0x334e85);if(_0x3c8c39['_isAttached']=!0x1,this['_threadToController']['has'](_0x3c8c39)){const _0x46beb4=this['_threadToController']['get'](_0x3c8c39),_0x2d1349=_0x46beb4['view'],_0x5e6bc7=_0x1c2295['getByInnerView'](_0x2d1349);this['_threadToController']['delete'](_0x3c8c39),this['_viewToController']['delete'](_0x2d1349),_0x5e6bc7&&_0x1c2295['remove'](_0x5e6bc7),_0x46beb4['destroy'](),_0x2d1349['destroy']()['then'](()=>{this['_unbindEditors'](_0x2d1349);});}}['_updateActiveAnnotation']({threadId:_0x420763,resolvedAt:_0x23e886,unlinkedAt:_0x2e9d86}){const _0x53aab1=!!_0x23e886,_0x3765a6=this['context']['plugins']['get'](Annotations),_0x1f5d1c=this['getCommentThread'](_0x420763);if(this['_threadToController']['has'](_0x1f5d1c)){const _0x32bd74=this['_threadToController']['get'](_0x1f5d1c)['view'],_0x17845b=_0x3765a6['getByInnerView'](_0x32bd74);_0x17845b&&(_0x53aab1&&_0x3765a6['_removeActiveAnnotation'](_0x17845b),_0x2e9d86?_0x17845b['isVisible']=!0x1:_0x17845b['refreshVisibility']());}}['_getExternalAuthor'](_0x5c6c33){const _0x11650e=this['context']['plugins']['get'](_0x9327be),_0x3f81c8=hashObject('external:'+_0x5c6c33),_0x300077=_0x11650e['getUser'](_0x3f81c8);return _0x300077||_0x11650e['addUser']({'id':_0x3f81c8,'name':_0x5c6c33});}['_createNewComment']({threadId:_0xceb82,commentId:_0x9277ab=ckeditor5['uid'](),content:_0x53b9ad,authorId:_0x433fd1,createdAt:_0x27636c,attributes:_0x556d07}){if('string'!=typeof _0x9277ab)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-commentid');if('string'!=typeof _0x433fd1)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x53b9ad||!_0x53b9ad['trim']())throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-content');const _0x378a27=this['context']['plugins']['get'](_0x9327be)['getUser'](_0x433fd1);if(!_0x378a27)throw new ckeditor5['CKEditorError']('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x433fd1});let _0x24ad96=null,_0xf8f3f1=_0x27636c;return _0x556d07?.['@external']&&(_0x24ad96=this['_getExternalAuthor'](_0x556d07['@external']['authorName']),_0xf8f3f1=new Date(_0x556d07['@external']['createdAt'])),new Comment(this,{'threadId':_0xceb82,'id':_0x9277ab,'author':_0x24ad96||_0x378a27,'creator':_0x378a27,'content':_0x53b9ad,'createdAt':_0x27636c,'authoredAt':_0xf8f3f1,'attributes':_0x556d07});}['_addComment'](_0x32e147){let {threadId:_0x2cf014,content:_0x325942,attributes:_0x5dd3a2,isFromAdapter:_0x341d36}=_0x32e147;const _0x4d289d=this['getCommentThread'](_0x32e147['threadId']);if(!_0x4d289d)throw new ckeditor5['CKEditorError']('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x2aee5b=this['_createNewComment'](_0x32e147),{id:_0x162d9b}=_0x2aee5b;if(_0x4d289d['_add'](_0x2aee5b),_0x341d36||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x4d289d['isSubmitted'])return Promise['resolve']();const _0x4f8375=this['context']['plugins']['get']('PendingActions'),{channelId:_0x28cc66}=_0x4d289d,_0x17210a=_0x4f8375['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x5dd3a2||(_0x5dd3a2={}),this['adapter']['addComment']({'channelId':_0x28cc66,'threadId':_0x2cf014,'commentId':_0x162d9b,'content':_0x325942,'attributes':_0x5dd3a2})['then'](_0x1cffd5=>{_0x4f8375['remove'](_0x17210a),_0x1cffd5&&this['_updateComment']({'channelId':_0x28cc66,'threadId':_0x2cf014,'commentId':_0x162d9b,'createdAt':_0x1cffd5['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x1cc05b=>{throw console['error'](_0x1cc05b),new ckeditor5['CKEditorError']('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x5ae93c,commentId:_0x2659d4,content:_0x4ec307,createdAt:_0x3c13b8,attributes:_0x144ec1,isFromAdapter:_0x239336}){if(void 0x0!==_0x4ec307&&('string'!=typeof _0x4ec307||!_0x4ec307['trim']()['length']))throw new ckeditor5['CKEditorError']('commentsrepository-update-comment-invalid-content');const _0x157090=this['getCommentThread'](_0x5ae93c),_0x10cd2b=_0x157090['getComment'](_0x2659d4);if(!_0x10cd2b)throw new ckeditor5['CKEditorError']('commentsrepository-update-missing-comment',this);let _0x48d329=!0x1;if(_0x4ec307&&_0x4ec307!==_0x10cd2b['content']&&(_0x10cd2b['isEditable']||_0x239336)&&(_0x10cd2b['content']=_0x4ec307,_0x48d329=!0x0),_0x3c13b8&&_0x3c13b8!==_0x10cd2b['createdAt']&&(_0x10cd2b['createdAt']=_0x3c13b8,_0x10cd2b['attributes']&&_0x10cd2b['attributes']['@external']||(_0x10cd2b['authoredAt']=_0x3c13b8),_0x48d329=!0x0),_0x144ec1&&!_0x541aea(_0x144ec1,_0x10cd2b['attributes'])&&(_0x10cd2b['attributes']=_0x144ec1,_0x48d329=!0x0),!_0x48d329)return Promise['resolve']();if(_0x157090['fire']('commentUpdated'),_0x239336||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x16a31c=this['context']['plugins']['get']('PendingActions'),{channelId:_0xa7a9d4}=this['getCommentThread'](_0x10cd2b['threadId']),_0x19d7bd=_0x16a31c['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0xa7a9d4,'threadId':_0x5ae93c,'commentId':_0x2659d4,'content':_0x4ec307,'attributes':_0x144ec1})['then'](()=>_0x16a31c['remove'](_0x19d7bd))['catch'](_0x185839=>{throw console['error'](_0x185839),new ckeditor5['CKEditorError']('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x4d058c,commentId:_0x596fd7,isFromAdapter:_0x214342}){const _0x385287=this['getCommentThread'](_0x4d058c),_0x272d32=_0x385287['getComment'](_0x596fd7);if(!_0x272d32)throw new ckeditor5['CKEditorError']('commentsrepository-remove-missing-comment',this);if(_0x385287['_remove'](_0x272d32),_0x214342||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x34334a=this['context']['plugins']['get']('PendingActions'),{channelId:_0x5a3e6e}=_0x385287,_0x43df04=_0x34334a['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x5a3e6e,'threadId':_0x4d058c,'commentId':_0x596fd7})['then'](()=>_0x34334a['remove'](_0x43df04))['catch'](_0x87491e=>{throw console['error'](_0x87491e),new ckeditor5['CKEditorError']('commentsrepository-remove-comment-internal-error',this);});}}class CommentThread extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x25302b,_0x550f15){super();const _0x5e2b09=_0x550f15['isResolvable'];this['channelId']=_0x550f15['channelId'],this['id']=_0x550f15['id'],this['comments']=new ckeditor5['Collection'](),this['_repository']=_0x25302b,this['_isAttached']=!0x1,this['_isSubmitted']=_0x550f15['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x25302b,'_permissions',_0x25302b,'_readOnlyChannels',()=>_0x25302b['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x25302b,'_permissions',()=>_0x25302b['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x25302b,'_permissions',()=>{const _0x96443a=_0x25302b['getPermissions'](this['channelId']);return _0x96443a['write']||_0x96443a['admin'];}),this['bind']('isResolvable')['to'](_0x25302b,'_permissions',()=>_0x5e2b09&&_0x25302b['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x550f15['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x4d5a0b,_0x24369e)=>_0x4d5a0b?_0x24369e?_0x4d5a0b<_0x24369e?_0x4d5a0b:_0x24369e:_0x4d5a0b:_0x24369e),this['set']('unlinkedAt',_0x550f15['unlinkedAt']||null),this['set']('resolvedAt',_0x550f15['resolvedAt']||null),this['set']('resolvedBy',_0x550f15['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x59a60a=>!!_0x59a60a),this['set']('attributes',_0x550f15['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x1c1902,_0x52ba51)=>_0x1c1902+_0x52ba51['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x4b0afe,id:_0x4865da}=this;this['_repository']['fire'](toEventName('submitCommentThread',_0x4b0afe),{'channelId':_0x4b0afe,'threadId':_0x4865da});}['setUnlinkedAt'](_0x657788){this['_update']({'unlinkedAt':_0x657788});}['resolve']({resolvedAt:_0x3ba444=new Date(),resolvedBy:_0x3c6d75='',isFromAdapter:_0x2e0d9c=!0x1}={}){const _0x4a066a=this['_repository']['context']['plugins']['get'](_0x9327be)['me'],{channelId:_0x4ecf74,id:_0x1d54a1}=this;this['_repository']['fire'](toEventName('resolveCommentThread',_0x4ecf74),{'channelId':_0x4ecf74,'threadId':_0x1d54a1,'resolvedAt':_0x3ba444,'resolvedBy':_0x3c6d75||_0x4a066a['id'],'isFromAdapter':_0x2e0d9c});}['reopen']({isFromAdapter:_0x47a77b=!0x1}={}){const {channelId:_0x294e04,id:_0x2db2a1}=this;this['_repository']['fire'](toEventName('reopenCommentThread',_0x294e04),{'channelId':_0x294e04,'threadId':_0x2db2a1,'isFromAdapter':_0x47a77b});}['setContext'](_0x20da26){this['context']||this['_update']({'context':_0x20da26});}['setAttribute'](_0x4eba87,_0xadb0cb){const _0x300200=_0x1d6aee(this['attributes']);set(_0x300200,_0x4eba87,_0xadb0cb),this['_update']({'attributes':_0x300200});}['removeAttribute'](_0x4be2f4){const _0x30795b=_0x1d6aee(this['attributes']);unset(_0x30795b,_0x4be2f4),this['_update']({'attributes':_0x30795b});}['remove']({isFromAdapter:_0x3d88a2=!0x1}={}){const {channelId:_0x584223,id:_0x55515d}=this;this['_repository']['fire'](toEventName('removeCommentThread',_0x584223),{'channelId':_0x584223,'threadId':_0x55515d,'isFromAdapter':_0x3d88a2});}['attachTo'](_0x1cbf13){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x1cbf13});}['addComment'](_0x5a1bf6){const {channelId:_0x5d78d0,id:_0x20d3cd}=this;this['_repository']['fire'](toEventName('addComment',_0x5d78d0,_0x20d3cd),Object['assign']({'channelId':_0x5d78d0,'threadId':_0x20d3cd},_0x5a1bf6));}['getComment'](_0x3cf5e2){if('string'!=typeof _0x3cf5e2)throw new ckeditor5['CKEditorError']('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x3cf5e2});return this['comments']['get'](_0x3cf5e2);}['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'](_0x26e5fd=>_0x26e5fd['toJSON']()),'attributes':this['attributes']};}['_add'](_0x21a954){return this['listenTo'](_0x21a954,'change:authoredAt',()=>{const _0x4e5325=this['_findOptimalIndex'](_0x21a954),_0x5eff5f=this['comments'];_0x4e5325-0x1!=_0x5eff5f['getIndex'](_0x21a954)&&_0x4e5325+0x1!=_0x5eff5f['getIndex'](_0x21a954)&&(this['_remove'](_0x21a954),this['_add'](_0x21a954));}),this['comments']['add'](_0x21a954,this['_findOptimalIndex'](_0x21a954));}['_update'](_0x221cf5){const {channelId:_0x4aaab9,id:_0x1e3893}=this;this['_repository']['fire'](toEventName('updateCommentThread',_0x4aaab9),{..._0x221cf5,'channelId':_0x4aaab9,'threadId':_0x1e3893});}['_remove'](_0x32e176){return this['stopListening'](_0x32e176),_0x32e176['destroy'](),this['comments']['remove'](_0x32e176);}['_findOptimalIndex'](_0xec3478){const _0x138ac0=this['comments']['find'](_0x4a55cc=>new Date(_0x4a55cc['authoredAt'])['getTime']()>new Date(_0xec3478['authoredAt'])['getTime']());return _0x138ac0?this['comments']['getIndex'](_0x138ac0):this['length'];}}const _0x3cf622=0xc8;function getContentLength(_0xcec7f5){const _0x47268d=document['createElement']('div');return _0x47268d['innerHTML']=_0xcec7f5,_0x47268d['textContent']['length'];}class Comment extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x6b9fc3,_0x53c9c1){super();const _0x1bb74c=_0x6b9fc3['context']['plugins']['get'](_0x9327be)['me'],_0x500142=_0x6b9fc3['getCommentThread'](_0x53c9c1['threadId']),_0x43d609=0x0===_0x500142['comments']['length'],_0x47bd84=_0x1bb74c===_0x53c9c1['author'];this['id']=_0x53c9c1['id'],this['threadId']=_0x53c9c1['threadId'],this['author']=_0x53c9c1['author'],this['creator']=_0x53c9c1['creator'],this['isExternal']=Boolean(_0x53c9c1['attributes']&&_0x53c9c1['attributes']['@external']),this['set']('content',_0x53c9c1['content']),this['createdAt']=_0x53c9c1['createdAt']||new Date(),this['set']('authoredAt',_0x53c9c1['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x500142,'resolvedAt'),this['set']('attributes',_0x53c9c1['attributes']||{}),this['bind']('isEditable')['to'](_0x6b9fc3,'_permissions',()=>{const _0x144d15=_0x6b9fc3['getPermissions'](_0x500142['channelId'])['write'],_0x13c3da=_0x6b9fc3['getPermissions'](_0x500142['channelId'])['modifyAll'];return _0x47bd84&&_0x144d15||!_0x47bd84&&_0x13c3da;}),this['bind']('isRemovable')['to'](_0x500142,'isRemovable',_0x6b9fc3,'_permissions',_0x65753d=>{const _0x21f54d=_0x6b9fc3['getPermissions'](_0x500142['channelId'])['write'],_0x5f30e5=_0x6b9fc3['getPermissions'](_0x500142['channelId'])['modifyAll'];return _0x47bd84&&_0x21f54d||_0x65753d&&_0x43d609||!_0x47bd84&&_0x5f30e5&&!_0x43d609;}),this['bind']('isReadOnly')['to'](_0x500142,'isReadOnly'),this['_repository']=_0x6b9fc3;}get['weight'](){return Math['max'](getContentLength(this['content']),_0x3cf622);}['update'](_0x1408d1){const {threadId:_0x1472dc,id:_0x178b47}=this;if(!this['_repository']['hasCommentThread'](_0x1472dc))throw new ckeditor5['CKEditorError']('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x1ebca7}=this['_repository']['getCommentThread'](_0x1472dc);this['_repository']['fire'](toEventName('updateComment',_0x1ebca7,_0x1472dc),{'channelId':_0x1ebca7,'threadId':_0x1472dc,'commentId':_0x178b47,..._0x1408d1});}['setAttribute'](_0xdcfd58,_0x4884fc){const _0x339639=_0x1d6aee(this['attributes']);set(_0x339639,_0xdcfd58,_0x4884fc),this['update']({'attributes':_0x339639});}['removeAttribute'](_0x4f3bd3){const _0x5b79de=_0x1d6aee(this['attributes']);unset(_0x5b79de,_0x4f3bd3),this['update']({'attributes':_0x5b79de});}['remove'](_0x519980={}){if(!_0x519980['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x3188b2,id:_0x3548fd}=this;if(!this['_repository']['hasCommentThread'](_0x3188b2))throw new ckeditor5['CKEditorError']('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x47d983}=this['_repository']['getCommentThread'](_0x3188b2);this['_repository']['fire'](toEventName('removeComment',_0x47d983,_0x3188b2),{'channelId':_0x47d983,'threadId':_0x3188b2,'commentId':_0x3548fd,..._0x519980});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}}function toEventName(_0x4a884d,..._0x5a33ec){for(const _0x18a1a7 of _0x5a33ec)void 0x0!==_0x18a1a7&&(_0x4a884d+=':'+String(_0x18a1a7));return _0x4a884d;}class AddCommentThreadCommand extends ckeditor5['Command']{constructor(_0x15a7e0){super(_0x15a7e0),this['set']('hasContent',!0x1);}['refresh'](){const _0x238da6=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0x181412 of _0x238da6['getRanges']())if(this['_hasContent'](_0x181412))return void(this['hasContent']=!0x0);}['execute']({threadId:_0x3e46f3=ckeditor5['uid'](),ranges:_0x3767d3,comment:_0xaf7aa4}={}){const _0x5d3012=this['editor']['model'],_0x1fdd17=_0x3767d3??Array['from'](_0x5d3012['document']['selection']['getRanges']()),_0x449ba9=[];for(const _0x47a799 of _0x1fdd17)this['_hasContent'](_0x47a799)&&_0x449ba9['push'](this['_trimToContent'](_0x47a799));if(!_0x449ba9['length'])throw new ckeditor5['CKEditorError']('addcommentthreadcommand-incorrect-ranges',null);_0xaf7aa4&&this['_createCommentThread'](_0x3e46f3,_0xaf7aa4),this['_createMarkersFromRanges'](_0x3e46f3,_0x449ba9,!!_0xaf7aa4);}['_createMarkersFromRanges'](_0x3c3f37,_0xa3c07c,_0x1209c6){this['editor']['model']['change'](_0x51079f=>{for(const _0x497343 of _0xa3c07c){const _0x87a309=ckeditor5['uid']()['substr'](0x1,0x5),_0x5df05a='comment:'+_0x3c3f37+':'+_0x87a309;_0x51079f['addMarker'](_0x5df05a,{'range':_0x497343,'usingOperation':_0x1209c6,'affectsData':_0x1209c6});}});}['_createCommentThread'](_0x142b65,_0x19977b){const _0x4cd268=this['editor']['plugins']['get']('CommentsRepository'),_0x1c4523=this['editor']['config']['get']('collaboration.channelId'),_0x2130df=this['editor']['plugins']['get']('Users')['me'];if(!_0x2130df)throw new ckeditor5['CKEditorError']('addcommentthreadcommand-user-not-found',null);_0x4cd268['addCommentThread']({'threadId':_0x142b65,'channelId':_0x1c4523,'comments':[{'authorId':_0x2130df['id'],'content':_0x19977b,'createdAt':new Date(),'attributes':{}}]});}['_hasContent'](_0x18947c){for(const _0x44ab44 of _0x18947c['getItems']())if(this['_itemIsContent'](_0x44ab44))return!0x0;return!0x1;}['_itemIsContent'](_0x13a186){return _0x13a186['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x13a186)&&!_0x13a186['is']('element','tableCell');}['_trimToContent'](_0x5c6004){const _0x2294ca=_0x553cd1=>!this['_itemIsContent'](_0x553cd1['item']),_0x465586=_0x5c6004['start']['getLastMatchingPosition'](_0x2294ca),_0x433066=_0x5c6004['end']['getLastMatchingPosition'](_0x2294ca,{'direction':'backward'});return this['editor']['model']['createRange'](_0x465586,_0x433066);}}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(_0x228f97){super(_0x228f97),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x20a2e2=this['editor'],_0x2d1876=_0x20a2e2['model']['document']['selection'],_0x226f53=_0x28878c(()=>this['refreshSelectedViews'](),0xa);_0x2d1876['on']('change:range',(_0x5d96e1,_0x54066d)=>{_0x54066d['directChange']&&(_0x226f53['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x20a2e2['editing']['view']['document'],'change:isFocused',(_0x3b165b,_0x110b91,_0x1d3272)=>{_0x1d3272&&_0x226f53();}),this['listenTo'](_0x20a2e2['ui']['focusTracker'],'change:isFocused',(_0x5c0568,_0x1a81ab,_0x3eb3ab)=>{_0x3eb3ab||this['fire']('blur',{'isAnnotationTracked':_0x341ffc=>this['_editorAnnotationsData']['has'](_0x341ffc['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x3d3737){if(this['_editorAnnotations']['has'](_0x3d3737['view']))return;this['_editorAnnotations']['add'](_0x3d3737['view']),this['editor']['ui']['focusTracker']['add'](_0x3d3737['view']['element']);const _0x1b4761=this['editor']['plugins']['get'](Annotations);this['listenTo'](_0x1b4761['collection'],'remove',(_0x58889e,_0x156fbd)=>{this['editor']['ui']['focusTracker']['remove'](_0x156fbd['view']['element']),this['_editorAnnotations']['delete'](_0x156fbd['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x46fcf2){if('function'!=typeof _0x46fcf2)throw new ckeditor5['CKEditorError']('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x46fcf2);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0xff4741,annotations:_0x3dc089}){const _0x2b554d=[],_0x5e501b=this['editor']['model']['document']['selection'],_0x16202e=Array['from'](_0x5e501b['getRanges']());for(const [_0x231db6,_0x1ed1cc]of this['_editorAnnotationsData']){const _0x1ac52c=_0x49172a(_0x1ed1cc),_0xa500c7=_0x3dc089['getByInnerView'](_0x231db6);_0x1ac52c&&_0xa500c7&&_0x2b554d['push']({'annotation':_0xa500c7,'range':_0x1ac52c});}function _0x49172a(_0x2a7286){for(const _0x456ce8 of _0x2a7286)for(const _0x5649b9 of _0x16202e)if(_0x456ce8['containsRange'](_0x5649b9,!_0x5e501b['isCollapsed']))return _0x456ce8;return null;}return _0x2b554d['sort']((_0x270e39,_0x538ce3)=>{const _0x4c9233=_0x270e39['range'],_0x4f5ba8=_0x538ce3['range'];if(!_0x4c9233['isEqual'](_0x4f5ba8)){if(_0x4c9233['containsRange'](_0x4f5ba8,!0x0))return 0x1;if(_0x4f5ba8['containsRange'](_0x4c9233,!0x0))return-0x1;}return _0x270e39['annotation']==_0xff4741?-0x1:_0x538ce3['annotation']==_0xff4741?0x1:0x0;})['map'](_0x57b58d=>_0x57b58d['annotation']);}get['_editorAnnotationsData'](){const _0x508ee8=new Map();for(const _0x3e7868 of Array['from'](this['_dataCollectors']))for(const [_0x54954b,_0x353bd1]of _0x3e7868())_0x508ee8['set'](_0x54954b,_0x353bd1);return _0x508ee8;}}class CommentsRestrictedEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x2799f6=this['editor'];if(!_0x2799f6['plugins']['has']('RestrictedEditingModeEditing'))return;_0x2799f6['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class CommentsImportWord extends ckeditor5['Plugin']{constructor(_0x2d53b1){super(_0x2d53b1),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x139dcc=this['editor'],_0x35cb4e=_0x139dcc['commands']['get']('importWord'),_0x10bc24=_0x139dcc['plugins']['get'](_0x9327be);_0x35cb4e&&(_0x35cb4e['on']('execute',(_0x41725a,[,_0x2963ff])=>{_0x2963ff['collaboration_features']={'comments':!0x0,'user_id':_0x10bc24['me']['id']};},{'priority':ckeditor5['priorities']['high']+0xa}),this['listenTo'](_0x35cb4e,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x1a8732,_0x355f01){const {comment_threads:_0x1e1b97}=_0x355f01;_0x1e1b97&&_0x1e1b97['forEach'](({thread_id:_0xe7a4b,comments:_0x363537,is_resolved:_0x28f67a})=>{const _0x25313a=new Date(),_0x362645=_0x363537['map'](({author:_0x4ebfae,content:_0x1030b1,created_at:_0x40efb6})=>({'content':_0x1030b1,'authorId':this['editor']['plugins']['get'](_0x9327be)['me']['id'],'createdAt':_0x25313a,'attributes':{'@external':{'authorName':_0x4ebfae,'createdAt':_0x40efb6?new Date(_0x40efb6):new Date(),'source':'importWord'}}})),_0x402963=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](CommentsRepository)['addCommentThread']({'channelId':_0x402963,'threadId':_0xe7a4b,'comments':_0x362645,'resolvedAt':_0x28f67a?_0x25313a:null});});}}class CommentsClipboard extends ckeditor5['Plugin']{constructor(_0x349fe7){super(_0x349fe7),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[ckeditor5['ClipboardMarkersUtils'],ckeditor5['ClipboardPipeline']];}['afterInit'](){const _0x697cc5=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x697cc5,'contentInsertion',(_0x580dae,_0x2063f8)=>this['_removeMarkersWithoutThreads'](_0x2063f8['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x64f75e){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x64f75e;const _0x18c2fb=this['editor']['plugins']['get']('CommentsRepository');for(const _0x408960 of _0x64f75e['keys']()){const [_0x295208,_0x39f5a3]=_0x408960['split'](':');'comment'!=_0x295208||_0x18c2fb['hasCommentThread'](_0x39f5a3)||_0x64f75e['delete'](_0x408960);}return _0x64f75e;}['_registerMarkerInClipboardPipeline'](){const _0x11170e=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x232ba1=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x232ba1&&_0x11170e['_registerMarkerToCopy']('comment',_0x232ba1);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x49fd3e){switch(_0x49fd3e){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}function splitMarkerName(_0x13ac38){const _0xbb21a4=_0x13ac38['split'](':');return{'group':_0xbb21a4[0x0],'id':_0xbb21a4[0x1],'part':_0xbb21a4[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':(_0x340054,_0x47d6a4)=>{if(!_0x47d6a4['options']['showCommentHighlights'])return null;if(_0x47d6a4['options']['ignoreResolvedComments']){const {id:_0x44b29c}=splitMarkerName(_0x340054['markerName']),_0x593974=this['editor']['plugins']['get'](CommentsRepository);if(_0x593974['getCommentThread'](_0x44b29c)?.['isResolved']&&_0x340054['item'])return _0x47d6a4['consumable']['consume'](_0x340054['item'],'addMarker:'+_0x340054['markerName']),_0x47d6a4['consumable']['consume'](_0x340054['item'],'removeMarker:'+_0x340054['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x2c70b6=>{_0x2c70b6['on']('addMarker:comment',(_0x355b05,_0x1aaee4,_0x5514e6)=>{if(!_0x5514e6['options']['showCommentHighlights'])return;const _0x19e5d6=_0x1aaee4['item'];if(!_0x19e5d6)return;const _0xf53881=_0x5514e6['mapper']['toViewElement'](_0x19e5d6);this['editor']['model']['schema']['isObject'](_0x19e5d6)&&_0xf53881&&!_0xf53881['getCustomProperty']('widget')&&_0xf53881['is']('containerElement')&&ckeditor5['toWidget'](_0xf53881,_0x5514e6['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x5b9fc8,{writer:_0x2e8a59,options:_0x2a5974})=>{if(!_0x2a5974['showCommentHighlights'])return null;const _0x2844c9=_0x2e8a59['createContainerElement']('div'),_0x5bb7d3=_0x2e8a59['createEmptyElement']('hr');return _0x2e8a59['addClass']('ck-horizontal-line',_0x2844c9),_0x2e8a59['insert'](_0x2e8a59['createPositionAt'](_0x2844c9,0x0),_0x5bb7d3),_0x2844c9;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x2c0664,{writer:_0x1e9801,options:_0x419500})=>{if(!_0x419500['showCommentHighlights'])return null;const _0x50fbad=_0x1e9801['createContainerElement']('span'),_0x57bb6b=_0x1e9801['createEmptyElement']('img');return _0x1e9801['addClass']('image-inline',_0x50fbad),_0x1e9801['insert'](_0x1e9801['createPositionAt'](_0x50fbad,0x0),_0x57bb6b),_0x50fbad;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x4980d2,{writer:_0x222397,options:_0x3664e6})=>{if(_0x3664e6['showCommentHighlights'])return _0x222397['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0xead2e6,_0xc4f6c8,_0x26788d)=>{_0x26788d['options']['showCommentHighlights']&&_0xead2e6['stop']();},{'priority':'high'});}}const _0x229625=0x96;class CommentsEditing extends ckeditor5['Plugin']{static get['requires'](){return[CommentsRepository,EditorAnnotations,_0x9327be,CommentsRestrictedEditingMode,CommentsImportWord,CommentsClipboard,ShowCommentHighlights];}static get['pluginName'](){return'CommentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x8ddd59){super(_0x8ddd59),this['set']('isThreadsLoadingPaused',!0x0),_0x8ddd59['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x3798de,_0x1582ae,_0x39d923,_0x2994fb)=>{const _0x12a612=_0x8ddd59['plugins']['get'](CommentsRepository),_0xc6a45f=_0x39d923?splitMarkerName(_0x39d923)['id']:null;_0x8ddd59['model']['change'](()=>{if(_0xc6a45f){const _0x4159ec=this['getAllMarkersForId'](_0xc6a45f);for(const _0x5ac71b of _0x4159ec)_0x8ddd59['editing']['reconvertMarker'](_0x5ac71b);}if(_0x2994fb){const {id:_0x42567a}=splitMarkerName(_0x2994fb),_0x736585=_0x12a612['getCommentThread'](_0x42567a);if(_0x736585&&_0x736585['unlinkedAt'])return;if(_0x736585&&!_0x736585['isAttached'])return;const _0x1f69ac=this['getAllMarkersForId'](_0x42567a);for(const _0x2e99f8 of _0x1f69ac)_0x8ddd59['editing']['reconvertMarker'](_0x2e99f8);}}),_0xc6a45f&&this['scrollToThreadMarker'](_0xc6a45f);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x50323a=this['editor'],_0xf581df=_0x50323a['plugins']['get'](CommentsRepository),_0x4d7a89=_0x50323a['config']['get']('collaboration.channelId'),_0x40a600=_0xf581df['getCommentThreads']()['filter'](_0x10bdfc=>_0x10bdfc['channelId']!==_0x4d7a89);_0x50323a['commands']['add']('addCommentThread',new AddCommentThreadCommand(_0x50323a)),this['listenTo'](_0x50323a,'change:isReadOnly',(_0x3452ab,_0x4d7470,_0xce3de4)=>{_0xf581df['switchReadOnly'](_0xce3de4,_0x50323a['config']['get']('collaboration.channelId'));}),this['listenTo'](_0xf581df,createChannelEvent('addCommentThread',_0x4d7a89),(_0x5425f,{threadId:_0x29d167})=>{const _0x56b619=this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x29d167);_0x56b619?.['unlinkedAt']&&this['_attachArchivedThread'](_0x29d167);}),this['listenTo'](_0xf581df,createChannelEvent('removeCommentThread',_0x4d7a89),(_0x2c5b1c,{threadId:_0x2e08b6})=>{_0x50323a['model']['enqueueChange']({'isUndoable':!0x1},_0x402eb1=>{const _0x485af6=this['getAllMarkersForId'](_0x2e08b6);for(const _0xef17d5 of _0x485af6)_0x402eb1['removeMarker'](_0xef17d5);});}),this['listenTo'](_0xf581df,createChannelEvent('resolveCommentThread',_0x4d7a89),(_0x3a98c,{threadId:_0x239241})=>{(this['_reconvertMarkers'](_0x239241),this['editor']['editing']['view']['hasDomSelection'])&&(this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x239241)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0xf581df,createChannelEvent('reopenCommentThread',_0x4d7a89),(_0x5a09dd,{threadId:_0xbc9d50})=>{this['_reconvertMarkers'](_0xbc9d50);},{'priority':'low'}),this['listenTo'](_0xf581df,createChannelEvent('addComment',_0x4d7a89),(_0x410d67,{threadId:_0x34f5f7,isFromAdapter:_0x56ec86})=>{const _0x473c5d=this['getAllMarkersForId'](_0x34f5f7);if(_0x56ec86||0x0==_0x473c5d['length']||!_0xf581df['hasCommentThread'](_0x34f5f7))return;0x1===_0xf581df['getCommentThread'](_0x34f5f7)['length']&&_0x50323a['model']['enqueueChange']({'isUndoable':!0x1},_0x145424=>{for(const _0x528896 of _0x473c5d)_0x145424['updateMarker'](_0x528896,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x40a600);}['afterInit'](){_0x33ab65(this);}['destroy'](){const _0x3f88ae=this['editor']['plugins']['get'](CommentsRepository),_0x322ba5=this['editor']['config']['get']('collaboration.channelId');for(const _0x445c53 of _0x3f88ae['getCommentThreads']({'channelId':_0x322ba5}))_0x3f88ae['_detachCommentThread'](_0x445c53['id']),_0x3f88ae['_threads']['delete'](_0x445c53['id']);super['destroy']();}['hasMarkerForId'](_0x4ac30d){return this['getAllMarkersForId'](_0x4ac30d)['length']>0x0;}['getAllMarkersForId'](_0x3b850b){const _0x122ee0=[];for(const _0x152924 of this['editor']['model']['markers'])_0x152924['name']['startsWith']('comment:'+_0x3b850b)&&_0x122ee0['push'](_0x152924);return _0x122ee0;}['scrollToThreadMarker'](_0x326b97){setTimeout(()=>{const _0x58ffb2=this['_getTargetForId'](_0x326b97);if(!_0x58ffb2)return;this['activeMarker']&&splitMarkerName(this['activeMarker'])['id']===_0x326b97&&ckeditor5['scrollViewportToShowTarget']({'target':_0x58ffb2[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x3b36ac){this['editor']['model']['change'](()=>{for(const _0x12d969 of this['getAllMarkersForId'](_0x3b36ac))this['editor']['editing']['reconvertMarker'](_0x12d969);});}['_attachArchivedThread'](_0x91681b){const _0x4e4453=this['editor']['plugins']['get'](CommentsRepository),_0x241296=this['editor']['plugins']['get'](EditorAnnotations),_0x4db269=_0x4e4453['getCommentThread'](_0x91681b);if(!_0x4db269['isAttached']){const _0x1f50b7=_0x4db269['attachTo'](()=>this['_getTargetForId'](_0x4db269['id']));_0x241296['registerAnnotation'](_0x1f50b7),_0x4db269['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x434b11=this['editor'],_0x5863e0=_0x434b11['plugins']['get'](_0x9327be);_0x434b11['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x35d262,_0x498c46)=>{const {id:_0x4f13ca}=splitMarkerName(_0x35d262['markerName']),_0x9a81eb=_0x434b11['plugins']['get'](CommentsRepository)['getCommentThread'](_0x4f13ca),_0x240c7a=this['activeMarker']&&splitMarkerName(this['activeMarker'])['id']===_0x4f13ca;let _0x5430e7;if(_0x9a81eb&&_0x9a81eb['isResolved']&&!_0x240c7a&&_0x35d262['item'])return _0x498c46['consumable']['consume'](_0x35d262['item'],'addMarker:'+_0x35d262['markerName']),_0x498c46['consumable']['consume'](_0x35d262['item'],'removeMarker:'+_0x35d262['markerName']),null;const _0x55858d=['ck-comment-marker'];return _0x240c7a&&_0x55858d['push']('ck-comment-marker--active'),_0x5430e7=_0x9a81eb?.['length']?_0x9a81eb['comments']['first']['author']['id']:_0x5863e0['me']['id'],{'classes':_0x55858d,'attributes':{'data-comment':_0x4f13ca,'data-author-id':_0x5430e7}};}}),_0x434b11['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0xdf55fb,{options:_0x5dc352})=>{if(_0x5dc352['showCommentHighlights'])return null;const _0xd94450=_0x434b11['plugins']['get'](CommentsRepository),_0xbe322c=_0x434b11['model']['markers']['get'](_0xdf55fb),{id:_0x14300e,part:_0x46935b}=splitMarkerName(_0xdf55fb);return _0xbe322c&&!_0xbe322c['affectsData']||_0x5dc352['ignoreResolvedComments']&&_0xd94450['getCommentThread'](_0x14300e)?.['isResolved']?null:{'group':'comment','name':_0x46935b?_0x14300e+':'+_0x46935b:_0x14300e};}}),_0x434b11['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x13ec94,{writer:_0x4128dc})=>_0x4128dc['createElement']('$marker',{'data-name':'comment:'+_0x13ec94['getAttribute']('id')})}),_0x434b11['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x2cfe14=this['editor'],_0x375d96=_0x2cfe14['plugins']['get'](CommentsRepository),_0x2c6a57=new Set(),_0x2e52cb=new Set();_0x2cfe14['model']['document']['registerPostFixer'](_0xcbeb19=>{let _0x22350b=!0x1;for(const {name:_0x441842,data:_0x533cab}of _0x2cfe14['model']['document']['differ']['getChangedMarkers']()){const {group:_0x200454,id:_0x487889}=splitMarkerName(_0x441842);let _0x10c531=_0x533cab['newRange'];if('comment'!==_0x200454||!_0x10c531)continue;const _0x438217='$graveyard'===_0x10c531['root']['rootName'];_0x438217||(_0x10c531=_0x1786f0(_0x10c531,_0x2cfe14['model']),!_0x10c531||_0x10c531['isCollapsed']||!_0x533cab['newRange']||_0x10c531['isEqual'](_0x533cab['newRange']))?_0x2cfe14['model']['hasContent'](_0x10c531)&&!_0x438217?this['isThreadsLoadingPaused']?_0x2c6a57['add'](_0x441842):this['_handleThreadMarker'](_0x441842,_0x487889):(_0x2e52cb['add'](_0x441842),_0x2c6a57['delete'](_0x441842),_0xcbeb19['removeMarker'](_0x441842),_0x22350b=!0x0):(_0xcbeb19['updateMarker'](_0x441842,{'range':_0x10c531}),_0x22350b=!0x0);}return _0x22350b;}),this['on']('change:isThreadsLoadingPaused',(_0x3c60a6,_0x5ad033,_0xd2c0ac)=>{if(!_0xd2c0ac&&_0x2c6a57['size'])for(const _0x52ac9e of _0x2c6a57){const {id:_0x43648a}=splitMarkerName(_0x52ac9e);_0x2c6a57['delete'](_0x52ac9e),_0x2cfe14['model']['markers']['get'](_0x52ac9e)&&this['_handleThreadMarker'](_0x52ac9e,_0x43648a);}}),this['listenTo'](_0x2cfe14['model']['document'],'change',()=>{for(const {name:_0x931580,data:{newRange:_0x4a6768}}of _0x2cfe14['model']['document']['differ']['getChangedMarkers']()){const {group:_0x46c035,id:_0x3aff8d}=splitMarkerName(_0x931580);if('comment'!==_0x46c035)continue;const _0x3ce428=_0x375d96['getCommentThread'](_0x3aff8d),_0x58e802=this['hasMarkerForId'](_0x3aff8d);_0x3ce428&&(!_0x3ce428['_hasTargetInContent']&&_0x4a6768&&_0x2cfe14['editing']['view']['once']('render',()=>{const _0x160a04=_0x2cfe14['plugins']['get'](Annotations),_0x3e3425=_0x375d96['_threadToController']['get'](_0x3ce428)['view'];_0x160a04['getByInnerView'](_0x3e3425)['refreshVisibility']();},{'priority':'low'}),_0x3ce428['_hasTargetInContent']=_0x58e802||!!_0x4a6768),_0x4a6768||(_0x2e52cb['add'](_0x931580),_0x2c6a57['delete'](_0x931580));}for(const _0x39cf8c of _0x2e52cb){const {id:_0x20e2c6}=splitMarkerName(_0x39cf8c),_0xb115bf=_0x375d96['getCommentThread'](_0x20e2c6);if(_0x2c6a57['delete'](_0x39cf8c),!_0xb115bf)continue;const _0x58aeeb=this['hasMarkerForId'](_0x20e2c6);_0x58aeeb||_0xb115bf['isSubmitted']?_0x58aeeb||_0xb115bf['unlinkedAt']||_0xb115bf['setUnlinkedAt'](new Date()):_0xb115bf['remove']();}_0x2e52cb['clear']();});}['_handleInitialThreads'](_0x53e862){_0x53e862['forEach'](_0x2f8651=>{_0x2f8651['unlinkedAt']&&this['_attachArchivedThread'](_0x2f8651['id']);});}['_getTargetForId'](_0x4e4d33){const _0xa31914=this['editor'],_0x1dd78b=this['getAllMarkersForId'](_0x4e4d33);return getAllMarkersDomElementsSorted(_0xa31914['editing'],_0x1dd78b);}['_getTextContext'](_0x4941fd){const _0x43404b=this['getAllMarkersForId'](_0x4941fd);let _0x180bf8='',_0x4c64f7=!0x1;for(const _0x69f2d0 of _0x43404b){const _0x59bd9c=_0x69f2d0['getRange']();for(const _0x3fc452 of Array['from'](_0x59bd9c['getItems']()))_0x3fc452['is']('$textProxy')?(_0x180bf8&&_0x4c64f7&&(_0x180bf8+='\x20',_0x4c64f7=!0x1),_0x180bf8+=_0x3fc452['data']):_0x4c64f7=!0x0;_0x4c64f7=!0x0;}return _0x180bf8['substring'](0x0,_0x229625);}['_attachMarkerToThread'](_0xf0a4ce,_0x296caa){const _0x1d5532=this['editor'],_0x3c7d89=_0x1d5532['plugins']['get'](CommentsRepository);let _0xfc8590=_0x3c7d89['getCommentThread'](_0x296caa);const _0x1cdfb1=_0x1d5532['config']['get']('collaboration.channelId'),_0x3df7eb=_0x1d5532['plugins']['get'](EditorAnnotations);if(_0xfc8590&&(_0xfc8590['unlinkedAt']&&_0xfc8590['setUnlinkedAt'](null),_0xfc8590['isAttached']))return _0xfc8590;return!this['getAllMarkersForId'](_0x296caa)[0x0]['managedUsingOperations']?_0x1d5532['editing']['view']['once']('render',()=>{if(_0x3c7d89['getCommentThread'](_0x296caa))return;const _0x212662=_0x1d5532['plugins']['get'](Annotations);_0xfc8590=_0x3c7d89['openNewCommentThread']({'channelId':_0x1cdfb1,'threadId':_0x296caa,'target':()=>this['_getTargetForId'](_0x296caa),'context':{'type':'text','value':this['_getTextContext'](_0x296caa)}});const _0x3bd878=_0x3c7d89['_threadToController']['get'](_0xfc8590)['view'],_0x14b05f=_0x212662['getByInnerView'](_0x3bd878);_0x14b05f&&_0x3df7eb['registerAnnotation'](_0x14b05f);},{'priority':'low'}):_0x3c7d89['fetchCommentThread']({'channelId':_0x1cdfb1,'threadId':_0x296caa})['then'](_0x34f099=>{if('destroyed'!==_0x1d5532['state']){if(_0xfc8590=_0x34f099,_0xfc8590&&!_0xfc8590['isAttached']){const _0x3e446a=_0xfc8590['attachTo'](()=>this['_getTargetForId'](_0x296caa));_0x3df7eb['registerAnnotation'](_0x3e446a),_0xfc8590['isResolved']&&this['_reconvertMarkers'](_0x296caa);}else{if(!_0xfc8590){const _0x2481f4=this['getAllMarkersForId'](_0x296caa);_0x1d5532['model']['change'](_0xfed7af=>{for(const _0x4e4eab of _0x2481f4)_0xfed7af['removeMarker'](_0x4e4eab);});}}}}),_0xfc8590;}['_handleThreadMarker'](_0x4d6543,_0x329537){const _0x1a7c18=this['_attachMarkerToThread'](_0x4d6543,_0x329537);_0x1a7c18&&!_0x1a7c18['context']&&_0x1a7c18['setContext']({'type':'text','value':this['_getTextContext'](_0x329537)});}['_initAriaMarkerChangeAnnouncements'](){const _0x15ac37=this['editor'];surroundingMarkersDetector(_0x15ac37['model'],({left:_0x43c6d3,entered:_0x10a2f6})=>{for(const _0x2c2860 of _0x43c6d3)if(isCommentMarker(_0x2c2860)){_0x15ac37['ui']['ariaLiveAnnouncer']['announce'](getTranslation$f(_0x15ac37['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x24033d of _0x10a2f6)if(isCommentMarker(_0x24033d)){_0x15ac37['ui']['ariaLiveAnnouncer']['announce'](getTranslation$f(_0x15ac37['locale'],'ENTER_COMMENT_ANNOUNCEMENT',ckeditor5['getEnvKeystrokeText'](_0x4ec363)));break;}});}}function createChannelEvent(_0x30cc6f,_0x523cd8){return _0x523cd8?_0x30cc6f+':'+_0x523cd8:_0x30cc6f;}function _0x1786f0(_0x4cd79e,_0x4541ae){const _0x220b92=_0x4541ae['schema'],_0x5c43c0=_0x4541ae['createRange'](_0x4cd79e['start']);for(const _0xf4ad3a of _0x4cd79e['getWalker']()){const {type:_0x2e03f9,item:_0x14d980,nextPosition:_0x10bcfa}=_0xf4ad3a;if('text'===_0x2e03f9||_0x220b92['isObject'](_0x14d980)){const _0x454e86=_0x4541ae['createPositionBefore'](_0x14d980);_0x5c43c0['isCollapsed']&&(_0x5c43c0['start']=_0x454e86),_0x5c43c0['end']=_0x10bcfa;}}return _0x5c43c0;}function isCommentMarker(_0x4d90ac){return'comment'===splitMarkerName(_0x4d90ac['name'])['group'];}async function _0x33ab65(_0x2d22fb){const _0x475a1f=_0x1f41b6([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]),_0x36a234=window[_0x1f41b6([0x44,0x61,0x74,0x65])][_0x1f41b6([0x6e,0x6f,0x77])](),_0x2f03e2=_0x2d22fb[_0x1f41b6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f540c=new window[(_0x1f41b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17d2f1=>{_0x2f03e2[_0x1f41b6([0x6f,0x6e,0x63,0x65])](_0x1f41b6([0x72,0x65,0x61,0x64,0x79]),_0x17d2f1);}),_0x29fb69={[_0x1f41b6([0x6b,0x74,0x79])]:_0x1f41b6([0x45,0x43]),[_0x1f41b6([0x75,0x73,0x65])]:_0x1f41b6([0x73,0x69,0x67]),[_0x1f41b6([0x63,0x72,0x76])]:_0x1f41b6([0x50,0x2d,0x32,0x35,0x36]),[_0x1f41b6([0x78])]:_0x1f41b6([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]),[_0x1f41b6([0x79])]:_0x1f41b6([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]),[_0x1f41b6([0x61,0x6c,0x67])]:_0x1f41b6([0x45,0x53,0x32,0x35,0x36])},_0x52982a=_0x2f03e2[_0x1f41b6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f41b6([0x67,0x65,0x74])](_0x1f41b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2337e7=await(async function(){let _0x1b5a02,_0x2b4790=null,_0x4e9b4c=null;try{if(_0x52982a==_0x1f41b6([0x47,0x50,0x4c]))return _0x1f41b6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b5a02=(function(){const _0x4b8fa3=_0x52982a[_0x1f41b6([0x73,0x70,0x6c,0x69,0x74])](_0x1f41b6([0x2e]));if(0x3!=_0x4b8fa3[_0x1f41b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x2d8bec=_0x4b8fa3[0x1];return _0x1f5fe0(_0x2d8bec);function _0x1f5fe0(_0x1022bf){const _0x5a893d=_0xe64b07(_0x1022bf);return _0x5a893d&&_0x280123()?_0x5a893d:null;function _0x280123(){const _0x114b15=_0x5a893d[_0x1f41b6([0x6a,0x74,0x69])],_0x3e5c38=window[_0x1f41b6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x114b15[_0x1f41b6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x114b15[_0x1f41b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x59715c={..._0x5a893d,[_0x1f41b6([0x6a,0x74,0x69])]:_0x114b15[_0x1f41b6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x114b15[_0x1f41b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x59715c[_0x1f41b6([0x76,0x63])],_0x112dc7(_0x59715c)==_0x3e5c38;}}}()),!_0x1b5a02)return _0x1f41b6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x1b5a02[_0x1f41b6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e9b4c=function(_0x1d72f5,_0xa47103){return new window[(_0x1f41b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4359cc=>{if(_0x12b401())return _0x4359cc(_0x1f41b6([0x56,0x61,0x6c,0x69,0x64]));_0x4ff842(),_0x2f03e2[_0x1f41b6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f41b6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x19ab3b=!0x1;const _0x3b114e=ckeditor5['uid']();function _0x24aab5(_0x5bd921){return!!_0x5bd921&&(typeof _0x5bd921===_0x1f41b6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5bd921===_0x1f41b6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5bd921[_0x1f41b6([0x74,0x68,0x65,0x6e])]===_0x1f41b6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5bd921[_0x1f41b6([0x63,0x61,0x74,0x63,0x68])]===_0x1f41b6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x14f3f3(_0x35f338){_0x769907(_0x35f338)[_0x1f41b6([0x74,0x68,0x65,0x6e])](_0x36b1c8=>{if(!_0x36b1c8||_0x36b1c8[_0x1f41b6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f41b6([0x6f,0x6b]))return _0x1f41b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a265d(_0x112dc7(_0x3b114e+_0xa47103))!=_0x36b1c8[_0x1f41b6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f41b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f41b6([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f41b6([0x74,0x68,0x65,0x6e])](_0x3fb4ae=>(_0x4aed88(),_0x3fb4ae),()=>{const _0x2679ef=_0x20d9b8();return null==_0x2679ef?(_0x4aed88(),_0x1f41b6([0x56,0x61,0x6c,0x69,0x64])):_0x1f41b6(_0x36a234-_0x2679ef>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f41b6([0x74,0x68,0x65,0x6e])](_0x4359cc)[_0x1f41b6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4359cc(_0x1f41b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4c3be1=0x36ee80;function _0x4aed88(){const _0x3a5b9b=_0x1f41b6([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a265d(_0x112dc7(_0x1d72f5)),_0xa20cda=_0x371ff1(_0x1a265d(window[_0x1f41b6([0x4d,0x61,0x74,0x68])][_0x1f41b6([0x63,0x65,0x69,0x6c])](_0x36a234/_0x4c3be1)));window[_0x1f41b6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f41b6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a5b9b,_0xa20cda);}function _0x20d9b8(){const _0x226685=_0x1f41b6([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a265d(_0x112dc7(_0x1d72f5)),_0x1bf3cc=window[_0x1f41b6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f41b6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x226685);return _0x1bf3cc?window[_0x1f41b6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x371ff1(_0x1bf3cc),0x10)*_0x4c3be1:null;}function _0x769907(_0x1aa436){return new window[(_0x1f41b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ec005,_0x41a247)=>{_0x1aa436[_0x1f41b6([0x74,0x68,0x65,0x6e])](_0x2ec005,_0x41a247),window[_0x1f41b6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x41a247,0x1d4c0);});}}_0x2f03e2[_0x1f41b6([0x6f,0x6e])](_0x1f41b6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2849dc,_0x3baa0c)=>{if(_0x3baa0c[0x0]!=_0x1d72f5)return _0x4359cc(_0x1f41b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3baa0c[0x1]={..._0x3baa0c[0x1],[_0x1f41b6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b114e};},{[_0x1f41b6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f41b6([0x68,0x69,0x67,0x68])}),_0x2f03e2[_0x1f41b6([0x6f,0x6e])](_0x1f41b6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3342a9=>{_0x24aab5(_0x3342a9[_0x1f41b6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x19ab3b=!0x0,_0x14f3f3(_0x3342a9[_0x1f41b6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f41b6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f41b6([0x6c,0x6f,0x77])}),_0x3f540c[_0x1f41b6([0x74,0x68,0x65,0x6e])](()=>{_0x19ab3b||_0x4359cc(_0x1f41b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x12b401(){return _0x2f03e2[_0x1f41b6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f41b6([0x76,0x69,0x65,0x77])][_0x1f41b6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f41b6([0x61,0x75,0x74,0x6f]);}function _0x4ff842(){_0x2f03e2[_0x1f41b6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f41b6([0x76,0x69,0x65,0x77])][_0x1f41b6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f41b6([0x61,0x75,0x74,0x6f]);}}(_0x1b5a02[_0x1f41b6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b5a02[_0x1f41b6([0x6a,0x74,0x69])]));const _0x2fb9c2=await(async function(){let _0x2c5eee=!0x0;try{const _0x1c3226=_0x52982a[_0x1f41b6([0x73,0x70,0x6c,0x69,0x74])](_0x1f41b6([0x2e])),[_0x53902d,_0x3b58a6,_0x4460d3]=_0x1c3226;return _0x5d504d(_0x53902d),await _0x29f1be(_0x53902d,_0x3b58a6,_0x4460d3),_0x2c5eee;}catch{return!0x1;}function _0x5d504d(_0x4dd500){const _0x4fec9b=_0xe64b07(_0x4dd500);_0x4fec9b&&_0x4fec9b[_0x1f41b6([0x61,0x6c,0x67])]==_0x1f41b6([0x45,0x53,0x32,0x35,0x36])||(_0x2c5eee=!0x1);}async function _0x29f1be(_0x117e9c,_0x4ce6e9,_0x49b550){const _0x2d6c00=window[_0x1f41b6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f41b6([0x66,0x72,0x6f,0x6d])](_0x21eb03(_0x49b550),_0x4ca7f2=>_0x4ca7f2[_0x1f41b6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x434ebe=new window[(_0x1f41b6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f41b6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x117e9c+_0x1f41b6([0x2e])+_0x4ce6e9),_0x40c24d=window[_0x1f41b6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f41b6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40c24d)return;const _0x1e4c43=await _0x40c24d[_0x1f41b6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f41b6([0x6a,0x77,0x6b]),_0x29fb69,{[_0x1f41b6([0x6e,0x61,0x6d,0x65])]:_0x1f41b6([0x45,0x43,0x44,0x53,0x41]),[_0x1f41b6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f41b6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f41b6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40c24d[_0x1f41b6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f41b6([0x6e,0x61,0x6d,0x65])]:_0x1f41b6([0x45,0x43,0x44,0x53,0x41]),[_0x1f41b6([0x68,0x61,0x73,0x68])]:{[_0x1f41b6([0x6e,0x61,0x6d,0x65])]:_0x1f41b6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e4c43,_0x2d6c00,_0x434ebe)||(_0x2c5eee=!0x1);}}());return _0x2fb9c2?(function(){const _0x468322=_0x1b5a02[_0x1f41b6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x468322)return!0x1;if(_0x468322[_0x1f41b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f41b6([0x2a])))return!0x0;if(_0x468322[_0x1f41b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f41b6([0x43,0x4d,0x54])))return!0x0;if(_0x468322[_0x1f41b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f41b6([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x1f41b6([0x67,0x6c,0x6f,0x62])]&&window[_0x1f41b6([0x67,0x6c,0x6f,0x62])][_0x1f41b6([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;if(_0x468322[_0x1f41b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f41b6([0x52,0x43,0x4d,0x54]))){if(_0x432d33(_0x1f41b6([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&(_0x591ac8=_0x1f41b6([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]),_0x2f03e2[_0x1f41b6([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1f41b6([0x67,0x65,0x74])](_0x591ac8))[_0x1f41b6([0x73,0x74,0x61,0x74,0x65])]==_0x1f41b6([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x432d33(_0x1f41b6([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]))||_0x432d33(_0x1f41b6([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 _0x591ac8;return!0x1;}())?(function(){const _0x598a87=[_0x1f41b6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f41b6([0x74,0x72,0x69,0x61,0x6c])][_0x1f41b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b5a02[_0x1f41b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36a234/0x3e8:0x69cb0e80;return _0x1b5a02[_0x1f41b6([0x65,0x78,0x70])]<_0x598a87;}())?_0x1f41b6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x180ffe=_0x1b5a02[_0x1f41b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x180ffe||0x0==_0x180ffe[_0x1f41b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2bfe9b}=new URL(window[_0x1f41b6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x180ffe[_0x1f41b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bfe9b))return!0x0;const _0x5de6fd=_0x2bfe9b[_0x1f41b6([0x73,0x70,0x6c,0x69,0x74])](_0x1f41b6([0x2e]));return _0x180ffe[_0x1f41b6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xdbb61b=>_0xdbb61b[_0x1f41b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f41b6([0x2a])))[_0x1f41b6([0x6d,0x61,0x70])](_0x64c935=>_0x64c935[_0x1f41b6([0x73,0x70,0x6c,0x69,0x74])](_0x1f41b6([0x2e])))[_0x1f41b6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b6554=>_0x5b6554[_0x1f41b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5de6fd[_0x1f41b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f41b6([0x6d,0x61,0x70])](_0x55fbea=>Array(_0x5de6fd[_0x1f41b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x55fbea[_0x1f41b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f41b6([0x66,0x69,0x6c,0x6c])](_0x55fbea[0x0]===_0x1f41b6([0x2a])?_0x1f41b6([0x2a]):'')[_0x1f41b6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x55fbea))[_0x1f41b6([0x73,0x6f,0x6d,0x65])](_0x547a8d=>_0x5de6fd[_0x1f41b6([0x65,0x76,0x65,0x72,0x79])]((_0x2e2620,_0x52e23b)=>_0x547a8d[_0x52e23b]===_0x2e2620||_0x547a8d[_0x52e23b]===_0x1f41b6([0x2a])));}())?(_0x1b5a02[_0x1f41b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f41b6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b4790=function(_0x17ab49){const _0x148752=new window[(_0x1f41b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cd6b5=>setTimeout(_0x3cd6b5,0x93ecc)),_0xdd9ab5=_0x3f540c[_0x1f41b6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f41b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f8b1f=>{let _0x3f1229=0x0;_0x2f03e2[_0x1f41b6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f41b6([0x6f,0x6e])](_0x1f41b6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x121b80,_0x3352c9)=>{_0x3352c9[0x0][_0x1f41b6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3f1229++,0x5e8==_0x3f1229&&(_0x3f8b1f(),_0x121b80[_0x1f41b6([0x6f,0x66,0x66])]());});})),_0x2bfe14=[_0x148752,_0xdd9ab5];return window[_0x1f41b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f41b6([0x72,0x61,0x63,0x65])](_0x2bfe14)[_0x1f41b6([0x74,0x68,0x65,0x6e])](()=>_0x17ab49);}(_0x1f41b6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2b4790&&_0x4e9b4c)return new window[(_0x1f41b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58f2b3,_0x48bd6a)=>{_0x2b4790[_0x1f41b6([0x74,0x68,0x65,0x6e])](_0x58f2b3,_0x48bd6a),_0x4e9b4c[_0x1f41b6([0x74,0x68,0x65,0x6e])](_0x8ffa8f=>{_0x8ffa8f!=_0x1f41b6([0x56,0x61,0x6c,0x69,0x64])&&_0x58f2b3(_0x8ffa8f);},_0x48bd6a);});return _0x2b4790||_0x4e9b4c||_0x1f41b6([0x56,0x61,0x6c,0x69,0x64]);}())):_0x1f41b6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f41b6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f41b6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f41b6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0xe64b07(_0x430244){return _0x430244[_0x1f41b6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f41b6([0x65,0x79]))?JSON[_0x1f41b6([0x70,0x61,0x72,0x73,0x65])](_0x21eb03(_0x430244)):null;}function _0x21eb03(_0x58219d){return window[_0x1f41b6([0x61,0x74,0x6f,0x62])](_0x58219d[_0x1f41b6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f41b6([0x2b]))[_0x1f41b6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f41b6([0x2f])));}function _0x112dc7(_0x34ca2c){let _0x3346b6=0x1505;function _0x2d14e0(_0x37fb10){for(let _0x1cecf0=0x0;_0x1cecf0<_0x37fb10[_0x1f41b6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cecf0++){const _0x4ebec3=_0x37fb10[_0x1f41b6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1cecf0);_0x3346b6=(_0x3346b6<<0x5)+_0x3346b6+_0x4ebec3,_0x3346b6&=_0x3346b6;}}return function _0x2d353c(_0x6ec50b){Array[_0x1f41b6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6ec50b)?_0x6ec50b[_0x1f41b6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2d353c):_0x6ec50b&&typeof _0x6ec50b==_0x1f41b6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f41b6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6ec50b)[_0x1f41b6([0x73,0x6f,0x72,0x74])]()[_0x1f41b6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x38b366,_0x33b239])=>{_0x2d14e0(_0x38b366),_0x2d353c(_0x33b239);}):_0x2d14e0(window[_0x1f41b6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6ec50b));}(_0x34ca2c),_0x3346b6>>>0x0;}function _0x1a265d(_0x9c3c5f){return _0x9c3c5f[_0x1f41b6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f41b6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f41b6([0x30]));}function _0x371ff1(_0x3c7f8a){return _0x3c7f8a[_0x1f41b6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f41b6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f41b6([0x6a,0x6f,0x69,0x6e])]('');}function _0x432d33(_0x1fcde6){return _0x2f03e2[_0x1f41b6([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1f41b6([0x68,0x61,0x73])](_0x1fcde6);}function _0x51468f(){}function _0x1f41b6(_0x3ee125){return _0x3ee125['map'](_0x5746c5=>String['fromCharCode'](_0x5746c5))['join']('');}!function(_0x25b8ad){const _0x58aae6=(function(){const _0x2dbcd4=window[_0x1f41b6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f41b6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f41b6([0x6e,0x6f,0x77])]())[_0x1f41b6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f41b6([0x2e]),'');let _0x592b52=_0x1f41b6([0x4b]);for(let _0x2843e4=0x0;_0x2843e4<_0x2dbcd4[_0x1f41b6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2843e4+=0x2){let _0x12250f=window[_0x1f41b6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2dbcd4[_0x1f41b6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2843e4,_0x2843e4+0x2));_0x12250f>=_0x475a1f[_0x1f41b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x12250f-=_0x475a1f[_0x1f41b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x592b52+=_0x475a1f[_0x12250f];}return _0x592b52;}());_0x2f03e2[_0x58aae6]=_0x1f41b6([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x25b8ad,_0x25b8ad!=_0x1f41b6([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x3f540c,_0x2f03e2[_0x1f41b6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f41b6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x51468f,_0x2f03e2[_0x1f41b6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f41b6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x51468f,_0x2f03e2[_0x1f41b6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f41b6([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x2337e7);}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 _0x4ad740=this['editor'],_0x358aab=_0x4ad740['plugins']['get'](CommentsRepository),_0x481c67=_0x4ad740['plugins']['get'](CommentsEditing),_0x316263=_0x4ad740['plugins']['get'](Annotations),_0x363a64=_0x4ad740['plugins']['get'](EditorAnnotations);_0x4ad740['ui']['componentFactory']['add']('comment',()=>{const _0x13e355=this['_createUIButton'](ckeditor5['ButtonView']);return _0x13e355['tooltip']=!0x0,_0x13e355;}),_0x4ad740['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](ckeditor5['MenuBarMenuListItemButtonView'])),_0x363a64['addSourceCollector'](()=>{const _0x18c0a7=[];for(const [_0x2576bc,_0x2a09a0]of _0x358aab['_threadToController']){const _0xf65e73=_0x481c67['getAllMarkersForId'](_0x2576bc['id']),_0x38b25c=_0xf65e73['map'](_0x3a4bbe=>_0x3a4bbe['getRange']());_0xf65e73['length']>0x0&&_0x18c0a7['push']([_0x2a09a0['view'],_0x38b25c]);}return _0x18c0a7;}),this['listenTo'](_0x316263,'change:activeAnnotations',(_0x8a2568,_0x27adbc,_0x1fe153)=>{const _0x1f923d=Array['from'](_0x1fe153)['map'](_0x59f8d6=>_0x59f8d6['innerView'])['find'](_0x1055a9=>_0x358aab['_viewToController']['has'](_0x1055a9));if(!_0x1f923d)return void(_0x481c67['activeMarker']=null);const _0x187460=_0x358aab['_viewToController']['get'](_0x1f923d)['model']['id'],_0x2da5c3='comment:'+_0x187460;_0x187460&&_0x481c67['hasMarkerForId'](_0x187460)?_0x481c67['activeMarker']=_0x2da5c3:_0x481c67['activeMarker']&&(_0x481c67['activeMarker']=null);}),this['listenTo'](_0x358aab,'removeCommentThread',(_0x1d20f2,{threadId:_0x234a6e,isFromAdapter:_0x29c96e})=>{!_0x29c96e&&_0x4ad740['ui']['focusTracker']['isFocused']&&_0x481c67['hasMarkerForId'](_0x234a6e)&&_0x4ad740['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x358aab,'addComment',(_0x4e0a47,{threadId:_0x3f86d8,isFromAdapter:_0x1d682b})=>{if(_0x1d682b||!_0x481c67['hasMarkerForId'](_0x3f86d8)||!_0x358aab['hasCommentThread'](_0x3f86d8))return;0x1===_0x358aab['getCommentThread'](_0x3f86d8)['length']&&(_0x4ad740['editing']['view']['focus'](),_0x4e0a47['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x386006=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x477527;for(const _0x5bc086 in _0x386006){const _0x2b8587=_0x5bc086,_0x51e88b=_0x386006[_0x2b8587];if('commentsLicenseKeyValid'==_0x51e88b||'commentsLicenseKeyInvalid'==_0x51e88b||'commentsLicenseKeyExpired'==_0x51e88b||'commentsLicenseKeyDomainLimit'==_0x51e88b||'commentsLicenseKeyNotAllowed'==_0x51e88b||'commentsLicenseKeyEvaluationLimit'==_0x51e88b||'commentsLicenseKeyUsageLimit'==_0x51e88b){delete _0x386006[_0x2b8587],_0x477527=_0x51e88b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x477527&&_0x386006['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x477527&&_0x386006['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x477527&&_0x386006['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x477527&&_0x386006['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x477527&&_0x386006['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyUsageLimit'==_0x477527&&_0x386006['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0x201953){const _0x2cdfe6=this['editor'],_0x476027=new _0x201953(_0x2cdfe6['locale']),_0x4f9d4b=_0x2cdfe6['commands']['get']('addCommentThread');return _0x476027['set']({'label':getTranslation$f(_0x2cdfe6['locale'],'Comment'),'icon':ckeditor5['IconAddComment']}),_0x476027['bind']('isEnabled')['to'](_0x4f9d4b,'isEnabled',_0x4f9d4b,'hasContent',(_0x553b39,_0x1f3393)=>_0x553b39&&_0x1f3393),this['listenTo'](_0x476027,'execute',()=>{_0x4f9d4b['execute']();}),_0x476027;}}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(_0x1942d1){super(_0x1942d1),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x404543,_0x3e9a88,_0x235974)=>{_0x235974?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x3ae648,_0x4898f1]of this['editor']['commands'])_0x4898f1['affectsData']&&'addCommentThread'!==_0x3ae648&&_0x4898f1['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 _0x17a584=this['editor']['editing']['view']['document'];this['listenTo'](_0x17a584,'cut',_0x22f203=>_0x22f203['stop'](),{'priority':'highest'}),this['listenTo'](_0x17a584,'clipboardInput',_0x3e3b84=>_0x3e3b84['stop'](),{'priority':'highest'}),this['listenTo'](_0x17a584,'delete',_0x31bb47=>_0x31bb47['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x554d14,_0x4d61f]of this['editor']['commands'])_0x4d61f['affectsData']&&'addCommentThread'!==_0x554d14&&_0x4d61f['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(_0x53c578){super(_0x53c578),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}['init'](){const _0x1d86aa=this['context']['plugins']['get'](Annotations);this['listenTo'](_0x1d86aa,'_activateAnnotation',(_0x1bb297,_0x294247)=>{for(const _0x1d0e41 of this['activeUIs']){const _0x5b7d53=this['_uis']['get'](_0x1d0e41);(0x0,this['uisData']['get'](_0x1d0e41)['filter'])(_0x294247)&&_0x5b7d53['setActiveAnnotation'](_0x294247);}}),this['listenTo'](_0x1d86aa,'_deactivateAllAnnotations',()=>{for(const _0x15812e of this['activeUIs']){this['_uis']['get'](_0x15812e)['setActiveAnnotation'](null);}}),this['listenTo'](_0x1d86aa['_visibleAnnotations'],'add',(_0x2dad52,_0x32e354)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x32e354);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x35446a){return this['activeUIs']['has'](_0x35446a);}['activate'](_0x22e5e1,_0xd41d4c=this['defaultFilter']){const _0x5ca6c2=this['context']['plugins']['get'](Annotations);if(!this['_uis']['has'](_0x22e5e1))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x22e5e1});this['isActive'](_0x22e5e1)&&this['deactivate'](_0x22e5e1),this['activeUIs']['add'](_0x22e5e1);const _0x292554=new AnnotationCollection();bindAnnotationCollections({'source':_0x5ca6c2['_visibleAnnotations'],'target':_0x292554,'filter':_0xd41d4c}),this['uisData']['set'](_0x22e5e1,{'collection':_0x292554,'filter':_0xd41d4c});const _0x17eebb=this['_uis']['get'](_0x22e5e1);_0x17eebb['attach'](_0x292554),this['listenTo'](_0x17eebb,'change:activeAnnotation',(_0x2f1220,_0x5d7429,_0x27f717,_0x4a5975)=>{_0x4a5975&&_0x5ca6c2['_removeActiveAnnotation'](_0x4a5975),_0x27f717&&_0x5ca6c2['_addActiveAnnotation'](_0x27f717);});}['deactivate'](_0x340e4b){if(this['activeUIs']['delete'](_0x340e4b),!this['_uis']['has'](_0x340e4b))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x340e4b});const _0x27b792=this['_uis']['get'](_0x340e4b);_0x27b792['detach'](),this['stopListening'](_0x27b792),this['uisData']['get'](_0x340e4b)['collection']['destroy'](),this['uisData']['delete'](_0x340e4b);}['switchTo'](_0x2bf60e){if(!this['_uis']['has'](_0x2bf60e))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x2bf60e});const _0x3d2471=this['context']['plugins']['get'](Annotations),_0x54e625=Array['from'](_0x3d2471['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x2bf60e);const _0x4da94b=this['_uis']['get'](_0x2bf60e);_0x4da94b['setActiveAnnotation'](_0x54e625),_0x4da94b['_setSelectedAnnotations']&&_0x54e625&&_0x4da94b['_setSelectedAnnotations']([_0x54e625]);}['deactivateAll'](){for(const _0x304b5 of this['activeUIs'])this['deactivate'](_0x304b5);}['register'](_0x142a6c,_0x1830ad){if(this['_uis']['has'](_0x142a6c))throw new ckeditor5['CKEditorError']('annotationsuis-register-already-registered');if('function'!=typeof _0x1830ad['attach']||'function'!=typeof _0x1830ad['detach']||'function'!=typeof _0x1830ad['setActiveAnnotation'])throw new ckeditor5['CKEditorError']('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x142a6c,_0x1830ad);}['refilterAnnotations'](){const _0x35f758=this['context']['plugins']['get'](Annotations)['collection'],_0x2acb74=new Map(),_0x1acd9b=Array['from'](this['activeUIs']);for(const _0x103257 of this['activeUIs']){const _0x3e553b=this['uisData']['get'](_0x103257)['collection'];for(const _0x2433dc of _0x3e553b)_0x2acb74['set'](_0x2433dc,_0x103257);}for(const _0x37f4cc of _0x35f758){const _0x1e7019=_0x2acb74['get'](_0x37f4cc);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x37f4cc);const _0x220eaf=_0x1acd9b['find'](_0x12b20a=>this['uisData']['get'](_0x12b20a)['filter'](_0x37f4cc));_0x1e7019!==_0x220eaf&&(_0x1e7019&&this['uisData']['get'](_0x1e7019)['collection']['remove'](_0x37f4cc),_0x220eaf&&this['uisData']['get'](_0x220eaf)['collection']['add'](_0x37f4cc));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['defaultFilter'](){return!0x0;}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x4b2433){const _0x3aada8=[];for(const _0x21fa7b of this['activeUIs']){(0x0,this['uisData']['get'](_0x21fa7b)['filter'])(_0x4b2433)&&_0x3aada8['push'](_0x21fa7b);}if(_0x3aada8['length']>0x1)throw new ckeditor5['CKEditorError']('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x3aada8,'annotationType':_0x4b2433['type']});}}const toPx$2=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');class AnnotationsSidebarView extends ckeditor5['View']{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x28e47d){super(_0x28e47d);const _0x1aead0=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',_0x1aead0['to']('class')],'style':{'minHeight':_0x1aead0['to']('minHeight',_0x5e69c6=>'number'==typeof _0x5e69c6?toPx$2(_0x5e69c6+0xa):null)},'dir':_0x28e47d['uiLanguageDirection'],'role':'application','aria-label':getTranslation$f(_0x28e47d,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':getTranslation$f(_0x28e47d,'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',_0x463e08=>{this['_updateItemPositionInFocusables'](_0x463e08['source']);}),this['list']['forEach'](_0x333538=>{this['focusTracker']['add'](_0x333538['element']),this['_updateItemPositionInFocusables'](_0x333538);}),this['list']['on']('change',(_0xf0e4,_0x185591)=>{for(const _0x2f6b36 of _0x185591['removed'])this['focusTracker']['remove'](_0x2f6b36['element']),this['focusables']['remove'](_0x2f6b36);for(const _0x442227 of _0x185591['added'])this['focusTracker']['add'](_0x442227['element']),this['_updateItemPositionInFocusables'](_0x442227);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x33b519){const _0x17a1e4=this['focusables']['getIndex'](_0x33b519);let _0x31fa3c,_0x81b3f8;for(const _0x344f5a of this['focusables'])if(_0x33b519['top']<_0x344f5a['top']){_0x31fa3c=_0x344f5a;break;}if(_0x81b3f8=_0x31fa3c?this['focusables']['getIndex'](_0x31fa3c):this['focusables']['length'],-0x1!==_0x17a1e4){if(_0x17a1e4===_0x81b3f8-0x1)return;this['focusables']['remove'](_0x33b519),_0x81b3f8=_0x31fa3c?this['focusables']['getIndex'](_0x31fa3c):this['focusables']['length'];}this['focusables']['add'](_0x33b519,_0x81b3f8);}}const toPx$1=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');class AnnotationsSidebarItemView extends ckeditor5['View']{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x25f9d2){super(_0x25f9d2),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x5c5298,_0x13388c)=>_0x5c5298+_0x13388c),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=createMutationObserver(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x19506c=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x19506c['to']('isAnimationDisabled',_0x17c42e=>_0x17c42e?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x19506c['to']('top',_0x2a6153=>toPx$1(_0x2a6153))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0x2280c1=this['element']['clientHeight'];_0x2280c1&&(this['height']=_0x2280c1);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class _0x1df4e0 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(_0xa78c1f){super(_0xa78c1f),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 _0x4a6527=this['context']['config']['get']('sidebar.container');_0x4a6527&&this['setContainer'](_0x4a6527);}['setContainer'](_0x10dd98){if(!isElement(_0x10dd98))throw new ckeditor5['CKEditorError']('sidebar-setcontainer-invalid-element');this['container']=_0x10dd98;}['_attachToContainer']({viewClass:_0x30002c='',spaceBetweenItems:_0xbd5ae6=0x19}={}){if(!isElement(this['container']))throw new ckeditor5['CKEditorError']('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x30002c,this['_spaceBetweenItems']=_0xbd5ae6;}['rearrange']({removedAnnotation:_0x5af151,previousAnnotation:_0x5ed4ee,nextAnnotation:_0x36764b}){const _0x159ec7=this['getSidebarItemView'](_0x5af151);this['view']['list']['remove'](_0x159ec7),this['_destroySidebarItemView'](_0x5af151),_0x5ed4ee&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x5ed4ee)),_0x36764b&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x36764b)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0xba2392,activatedAnnotation:_0x4133e7,disableAnimationOnActivatedAnnotation:_0x123d5b}){if(this['_activeAnnotation']=_0x4133e7,_0xba2392){_0xba2392['isActive']=!0x1;const _0x4092a8=this['getSidebarItemView'](_0xba2392);_0x4092a8&&_0x123d5b&&(_0x4092a8['isAnimationDisabled']=!0x1);}if(_0x4133e7){const _0x4042c8=this['getSidebarItemView'](_0x4133e7);_0x4042c8&&(_0x4133e7['isActive']=!0x0,_0x123d5b&&(_0x4042c8['isAnimationDisabled']=!0x0,_0x4042c8['top']+=0x1),this['_alignToTargetRect'](_0x4042c8));}}['_detachFromContainer'](_0x462a1c){if(this['view']['element']['remove'](),_0x462a1c){for(const _0x2e768d of _0x462a1c)this['_destroySidebarItemView'](_0x2e768d);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x159c96,_0x40006e){_0x40006e||(_0x40006e=_0x159c96['view']);const _0x52d7e1=new AnnotationsSidebarItemView(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x52d7e1,_0x159c96),this['_annotationToSidebarItemView']['set'](_0x159c96,_0x52d7e1),_0x52d7e1['content']['add'](_0x40006e),this['listenTo'](_0x159c96['view'],'change:targetRect',(_0x34c605,_0x4a86c3,_0x3f9b7d)=>{const _0x483b86=this['_getTargetTop'](_0x159c96,_0x3f9b7d);_0x52d7e1['_targetTop']!=_0x483b86&&(_0x52d7e1['_targetTop']=_0x483b86,this['_setItemTop'](_0x52d7e1,_0x483b86));}),this['listenTo'](_0x52d7e1,'change:top',()=>{this['_recalculate'](_0x52d7e1,'top');}),this['listenTo'](_0x52d7e1,'change:bottom',()=>{this['_recalculate'](_0x52d7e1,'bottom');}),this['_alignToTargetRect'](_0x52d7e1);const _0x133203=this['_getItemBefore'](_0x52d7e1);if(_0x133203)this['_alignAfterItem'](_0x133203,_0x52d7e1)||this['_alignToTargetRect'](_0x52d7e1);else this['_alignToTargetRect'](_0x52d7e1);return this['_updateLastItem'](),this['view']['list']['add'](_0x52d7e1),_0x52d7e1;}['_alignForTopChange'](_0x46523a){if(!_0x46523a['content']['length'])return;const _0x2ff574=this['_getItemBefore'](_0x46523a);if(!_0x2ff574)return;const _0x49f6c0=this['_sidebarItemViewToAnnotation']['get'](_0x2ff574),_0x2c9016=this['_activeAnnotation'];_0x2c9016&&_0x2c9016===_0x49f6c0?this['_alignAfterItem'](_0x2ff574,_0x46523a):this['_alignBeforeItem'](_0x46523a,_0x2ff574);}['_alignForBottomChange'](_0x32c1ee){if(!_0x32c1ee['content']['length'])return;const _0x36b259=this['_getItemAfter'](_0x32c1ee);if(!_0x36b259)return;const _0x2f00f9=this['_sidebarItemViewToAnnotation']['get'](_0x36b259),_0x4f0018=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0xd4c184=this['_activeAnnotation'];_0xd4c184&&_0xd4c184===_0x2f00f9&&_0x4f0018?(this['_alignBeforeItem'](_0x36b259,_0x32c1ee),this['_alignAfterItem'](_0x32c1ee,_0x36b259)):_0xd4c184&&_0xd4c184===_0x2f00f9?this['_alignBeforeItem'](_0x36b259,_0x32c1ee):this['_alignAfterItem'](_0x32c1ee,_0x36b259);}['_recalculate'](_0x1a1f5d,_0x5b1ba2){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x5bb8d6,changedProp:_0x419e4c}of this['_recalculateBuffer'])'top'===_0x419e4c?this['_alignForTopChange'](_0x5bb8d6):this['_alignForBottomChange'](_0x5bb8d6);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x1a1f5d,'changedProp':_0x5b1ba2});}['getSidebarItemView'](_0x524e83){return this['_annotationToSidebarItemView']['get'](_0x524e83);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x4fb728){const _0x56c94a=this['getSidebarItemView'](_0x4fb728);this['stopListening'](_0x56c94a),this['stopListening'](_0x4fb728['view']),_0x56c94a['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x4fb728),this['_sidebarItemViewToAnnotation']['delete'](_0x56c94a);}['_createSidebarView'](){const _0x5f08a1=new AnnotationsSidebarView(this['context']['locale']);return _0x5f08a1['render'](),this['on']('change:_lastItem',(_0x294fee,_0x4d39b3,_0x1e7040,_0x17616f)=>{_0x17616f&&_0x5f08a1['unbind']('minHeight'),_0x1e7040?_0x5f08a1['bind']('minHeight')['to'](_0x1e7040,'bottom'):_0x5f08a1['minHeight']=null;}),_0x5f08a1;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x30a3d0){const _0x412812=this['_sidebarItemViewToAnnotation']['get'](_0x30a3d0),_0x2b75ca=_0x412812&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x412812)-0x1);return _0x2b75ca&&this['getSidebarItemView'](_0x2b75ca)||null;}['_getItemAfter'](_0x4f3c60){const _0x105700=this['_sidebarItemViewToAnnotation']['get'](_0x4f3c60),_0x2d1f49=_0x105700&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x105700)+0x1);return _0x2d1f49&&this['getSidebarItemView'](_0x2d1f49)||null;}['_alignBeforeItem'](_0xf586f,_0x2e283e){_0xf586f['updateHeight']();const _0x2c7c03=getOverlap(_0x2e283e['bottom']+this['_spaceBetweenItems'],_0xf586f['top']);return!!_0x2c7c03&&(this['_setItemTop'](_0x2e283e,_0x2e283e['top']-_0x2c7c03),!0x0);}['_alignAfterItem'](_0xe5f257,_0x105f70){_0xe5f257['updateHeight']();const _0x382aa8=getOverlap(_0xe5f257['bottom']+this['_spaceBetweenItems'],_0x105f70['top']);return!!_0x382aa8&&(this['_setItemTop'](_0x105f70,_0x105f70['top']+_0x382aa8,!0x1),!0x0);}['_alignToTargetRect'](_0x53612c){const _0x454381=this['_sidebarItemViewToAnnotation']['get'](_0x53612c);if(!_0x454381||!_0x454381['target']||!_0x454381['targetRect'])return;const _0x1d65c6=this['_getTargetTop'](_0x454381,_0x454381['targetRect']);this['_setItemTop'](_0x53612c,_0x1d65c6);}['_getTargetTop'](_0x59b213,_0x40dea2){if(null===_0x40dea2)return 0x0;if(_0x59b213['target']instanceof ckeditor5['Rect'])return _0x40dea2['top'];{const _0x556d21=new ckeditor5['Rect'](this['view']['element'])['top'];return _0x40dea2['top']-_0x556d21;}}['_setItemTop'](_0x539ea2,_0x42598c,_0x56e50e=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x56e50e&&(_0x42598c=Math['max'](_0x42598c,this['_getMaxAvailableTop'](_0x539ea2))),_0x539ea2['top']=_0x42598c;}['_getMaxAvailableTop'](_0x5abb4a){let _0xa9539e=this['_getItemBefore'](_0x5abb4a),_0x5d449a=0x0;for(;_0xa9539e;)_0xa9539e['updateHeight'](),_0x5d449a+=this['_spaceBetweenItems']+_0xa9539e['height'],_0xa9539e=this['_getItemBefore'](_0xa9539e);return _0x5d449a;}}function getOverlap(_0x2a708e,_0x106113){return Math['max'](_0x2a708e-_0x106113,0x0);}function isElement(_0x759b67){return null!==_0x759b67&&'object'==typeof _0x759b67&&0x1===_0x759b67['nodeType'];}class _0x11373a extends ckeditor5['ContextPlugin']{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x1df4e0,AnnotationsUIs];}static get['pluginName'](){return'WideSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3514bd){super(_0x3514bd),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new ckeditor5['Collection'](),this['_refreshPositioningDebounced']=_0x28878c(()=>{_0x3514bd['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x463bf5=this['context']['plugins']['get'](AnnotationsUIs),_0x182299=this['context']['plugins']['get'](_0x1df4e0);_0x463bf5['register']('wideSidebar',this),_0x182299['container']&&_0x463bf5['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x448219){if(_0x448219===this['activeAnnotation'])return;const _0x37cd00=this['context']['plugins']['get'](_0x1df4e0);_0x37cd00['_activeAnnotation']=_0x448219;const _0x2c1854=this['activeAnnotation'];_0x37cd00['refresh']({'blurredAnnotation':_0x2c1854,'activatedAnnotation':_0x448219}),this['activeAnnotation']=_0x448219;}['attach'](_0x226629){this['annotations']=_0x226629;const _0x205984=this['context']['plugins']['get'](_0x1df4e0);if(_0x205984['_annotations']=_0x226629,this['isAttached'])throw new ckeditor5['CKEditorError']('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x205984,'set:container',()=>{this['detach'](),this['listenTo'](_0x205984,'change:container',_0x2f0919=>{_0x2f0919['off'](),this['attach'](_0x226629);});}),_0x205984['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x6906a8=_0x206a6e=>{_0x206a6e['updateTargetRect'](),_0x205984['addAnnotation'](_0x206a6e);};for(const _0x5e4253 of _0x226629)_0x6906a8(_0x5e4253);this['listenTo'](_0x226629,'add',(_0x8cf902,_0x5dabf6)=>{_0x6906a8(_0x5dabf6);}),this['listenTo'](_0x226629,'remove',(_0x22711b,_0x1594ea,_0x376125)=>{_0x205984['rearrange']({'removedAnnotation':_0x1594ea,'previousAnnotation':_0x226629['get'](_0x376125-0x1),'nextAnnotation':_0x226629['get'](_0x376125+0x1)}),_0x1594ea===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x226629,'focus',(_0x355bd1,_0x4b851e)=>{this['setActiveAnnotation'](_0x4b851e);}),this['listenTo'](_0x226629,'blur',()=>{this['setActiveAnnotation'](null);});const _0x30ac4d=this['context']instanceof ckeditor5['Context']?this['context']['editors']:new ckeditor5['Collection']([this['context']]);for(const _0x50a648 of _0x30ac4d)this['_integrateWithEditorAnnotations'](_0x50a648);this['listenTo'](_0x30ac4d,'add',(_0x3bb045,_0x47c062)=>{this['listenTo'](_0x47c062,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x47c062);});}),this['listenTo'](_0x30ac4d,'remove',(_0x379055,_0x44d535)=>{_0x44d535['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x44d535['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 _0x180db6=this['context']['plugins']['get'](_0x1df4e0);_0x180db6['_detachFromContainer'](this['annotations']),this['stopListening'](_0x180db6),this['stopListening'](this['annotations']),this['context']instanceof ckeditor5['Context']&&this['stopListening'](this['context']['editors']);for(const _0x51473a of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x51473a);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x4edc9c){if(!_0x4edc9c['plugins']['has']('EditorAnnotations'))return;const _0x25bcca=_0x4edc9c['plugins']['get']('EditorAnnotations'),_0x2571cf=()=>{const _0x230fc0=_0x25bcca['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x230fc0[0x0]||null);};this['listenTo'](_0x25bcca,'refresh',_0x2571cf),this['listenTo'](_0x25bcca,'blur',(_0xae3195,{isAnnotationTracked:_0x3953f8})=>{this['activeAnnotation']&&_0x3953f8(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x25bcca,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x33decc=>{_0x25bcca['hasDomSelection']()&&(_0x2571cf(),_0x33decc['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x25bcca);}['_destroyEditorAnnotationsIntegration'](_0x25570c){this['stopListening'](_0x25570c),this['_editorAnnotations']['remove'](_0x25570c);}}class AnnotationCounterButtonView extends ckeditor5['ButtonView']{['counterView'];constructor(_0x34bbda){super(_0x34bbda);const _0xf5c2a9=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x5b6e46,_0x599dd1)=>_0x5b6e46?'...':_0x599dd1['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',_0xf5c2a9['to']('annotationType',_0x10ac1f=>'ck-annotation-counter__badge--'+_0x10ac1f),_0xf5c2a9['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0xf5c2a9['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class _0x5a129a extends ckeditor5['ContextPlugin']{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x1df4e0,AnnotationsUIs];}static get['pluginName'](){return'NarrowSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x589595){super(_0x589595),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']=_0x28878c(()=>{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'](_0x42e3df){this['annotations']=_0x42e3df;const _0x313c4d=this['context']['plugins']['get'](_0x1df4e0),_0x242fd4=this['balloonPanelView'];if(_0x313c4d['_annotations']=_0x42e3df,this['isAttached'])throw new ckeditor5['CKEditorError']('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x313c4d,'set:container',()=>{this['detach'](),this['listenTo'](_0x313c4d,'change:container',_0x424e2a=>{_0x424e2a['off'](),this['attach'](_0x42e3df);});}),_0x313c4d['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x2f2114=_0x49d4b4=>{const _0x31f82a=new AnnotationCounterButtonView(this['context']['locale']);_0x313c4d['addAnnotation'](_0x49d4b4,_0x31f82a),this['_annotationToNarrowView']['set'](_0x49d4b4,_0x31f82a),_0x31f82a['bind']('isDirty','annotationType','number')['to'](_0x49d4b4['view'],'isDirty','type','length'),_0x31f82a['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x242fd4['content']['first']!==_0x49d4b4['view']?(this['_showBalloon'](_0x49d4b4),_0x49d4b4['view']['element']['focus'](),this['setActiveAnnotation'](_0x49d4b4)):this['setActiveAnnotation'](null);});};for(const _0x4e9c23 of _0x42e3df)_0x2f2114(_0x4e9c23);this['listenTo'](_0x42e3df,'add',(_0x4da89c,_0x15d662)=>{_0x2f2114(_0x15d662);}),this['listenTo'](_0x42e3df,'remove',(_0x8fbf6b,_0x3b8e09,_0x1bb054)=>{this['_annotationToNarrowView']['get'](_0x3b8e09)['destroy'](),this['_annotationToNarrowView']['delete'](_0x3b8e09),_0x313c4d['rearrange']({'removedAnnotation':_0x3b8e09,'previousAnnotation':_0x42e3df['get'](_0x1bb054-0x1),'nextAnnotation':_0x42e3df['get'](_0x1bb054+0x1)}),_0x3b8e09===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x42e3df,'focus',(_0x54d405,_0x2dd14e)=>{this['setActiveAnnotation'](_0x2dd14e);}),this['listenTo'](_0x42e3df,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x26309e,_0x236be5)=>{_0x236be5['keyCode']===ckeditor5['keyCodes']['esc']&&_0x242fd4['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x242fd4['content']['first']),this['_hideBalloon'](),_0x236be5['stopPropagation'](),_0x236be5['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x11d36e,_0x1aaec3)=>{const _0x524468=_0x1aaec3['target'];_0x242fd4['isVisible']&&_0x242fd4['element']['contains'](_0x524468)||_0x313c4d['view']['element']['contains'](_0x524468)||_0x11d36e['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x212af8=>_0x212af8['contains'](_0x524468))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x33e62d=this['context']instanceof ckeditor5['Context']?this['context']['editors']:new ckeditor5['Collection']([this['context']]);for(const _0x288fe5 of _0x33e62d)this['_integrateWithEditorAnnotations'](_0x288fe5);this['listenTo'](_0x33e62d,'add',(_0x53f3d6,_0x13e83f)=>{this['listenTo'](_0x13e83f,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x13e83f);});}),this['listenTo'](_0x33e62d,'remove',(_0xb7d366,_0x326473)=>{_0x326473['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x326473['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x27afc9){if(_0x27afc9===this['activeAnnotation'])return;const _0x4dd3bd=this['context']['plugins']['get'](_0x1df4e0);if(_0x4dd3bd['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x27afc9,'disableAnimationOnActivatedAnnotation':!0x0}),_0x27afc9)_0x4dd3bd['getSidebarItemView'](_0x27afc9)?this['_showBalloon'](_0x27afc9):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x27afc9;}['detach'](){if(!this['isAttached'])throw new ckeditor5['CKEditorError']('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x2e48db=this['context']['plugins']['get'](_0x1df4e0);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0xd35b03=>_0xd35b03['destroy']()),this['_annotationToNarrowView']['clear'](),_0x2e48db['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof ckeditor5['Context']&&this['stopListening'](this['context']['editors']);for(const _0x349bff of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x349bff);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'](_0x285d4b){if(!_0x285d4b['plugins']['has']('EditorAnnotations'))return;const _0x4bd023=_0x285d4b['plugins']['get']('EditorAnnotations'),_0x89c0f0=this['context']['plugins']['get'](_0x1df4e0),_0x51a79a=this['annotations'],_0x5c666a=this['balloonPanelView'],_0x5e6b3f=()=>{const _0x58396d=_0x4bd023['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x58396d),this['setActiveAnnotation'](_0x58396d[0x0]||null);};this['listenTo'](_0x4bd023,'refresh',_0x5e6b3f),this['listenTo'](_0x4bd023,'blur',(_0x578008,{isAnnotationTracked:_0x387989})=>{this['activeAnnotation']&&_0x387989(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x4bd023,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x51a79a,'blur',_0x367019=>{_0x4bd023['hasDomSelection']()&&_0x367019['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x2e4098,_0x451616)=>{const _0x5107d6=_0x451616['target'];_0x5c666a['isVisible']&&_0x5c666a['element']['contains'](_0x5107d6)||_0x89c0f0['view']['element']['contains'](_0x5107d6)||this['activeAnnotation']&&_0x4bd023['hasDomSelection']()&&(_0x5e6b3f(),_0x2e4098['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x4bd023);}['_destroyEditorAnnotationsIntegration'](_0x2746d2){_0x2746d2&&(this['stopListening'](_0x2746d2),this['_editorAnnotations']['remove'](_0x2746d2));}['_setSelectedAnnotations'](_0x161182){for(const _0x2ae48d of this['_selectedAnnotations'])_0x161182['includes'](_0x2ae48d)||this['_manuallyClosedAnnotationViews']['delete'](_0x2ae48d['view']);this['_selectedAnnotations']=_0x161182;}['_refreshPositioning'](){const _0x5c164d=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x5c164d['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x2969de){if(this['_manuallyClosedAnnotationViews']['has'](_0x2969de['view']))return;const _0x9ae7da=this['balloonPanelView']['content']['first'];_0x9ae7da!==_0x2969de['view']?(_0x9ae7da&&this['_detachListeners'](_0x9ae7da),this['_attachListeners'](_0x2969de['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x2969de['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x222906=this['balloonPanelView']['content']['first'],_0x347d89=_0x222906&&this['annotations']['getByView'](_0x222906);if(!_0x347d89||!this['_annotationToNarrowView']['has'](_0x347d89))return;const _0x440e03=this['_annotationToNarrowView']['get'](_0x347d89)['element'],_0x565172=getBalloonPositions();this['balloonPanelView']['pin']({'target':_0x440e03,'positions':_0x565172});}['_hideBalloon'](){const _0x38d771=this['balloonPanelView'],_0x4947f8=_0x38d771['content']['first'];_0x4947f8&&(this['_detachListeners'](_0x4947f8),_0x38d771['unpin'](),_0x38d771['content']['clear']());}['_attachListeners'](_0x119346){this['listenTo'](_0x119346,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x119346,'Esc',(_0x511fe7,_0xaedee6)=>{this['_manuallyClosedAnnotationViews']['add'](_0x119346),this['_hideBalloon'](),_0xaedee6();});}['_detachListeners'](_0x20ae48){this['stopListening'](_0x20ae48);}}function getBalloonPositions(){const _0x1783ec=ckeditor5['BalloonPanelView']['defaultPositions'];return[_0x1783ec['southArrowNorthEast'],_0x1783ec['northArrowSouthEast'],_0x1783ec['southArrowNorth'],_0x1783ec['northArrowSouth'],_0x1783ec['southArrowNorthWest'],_0x1783ec['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(_0x344852){super(_0x344852),_0x344852['editing']['view']['addObserver'](ckeditor5['MouseObserver']),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x344852['plugins']['get'](ckeditor5['ContextualBalloon']),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1,this['_refreshVisibilityDebounced']=_0x28878c(()=>{this['editor']['plugins']['get']('Annotations')['refreshVisibility']();},0xfa,{'leading':!0x1});}['init'](){const _0x445646=this['editor']['plugins']['get'](AnnotationsUIs);_0x445646['context']===this['editor']&&(_0x445646['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x1a7d40,_0x246b99)=>{const _0x477017=this['_balloon'];if(this['isAttached']&&_0x477017['visibleView']){const _0x35235a=this['annotations']['getByView'](_0x477017['visibleView']);_0x35235a&&this['_closeAnnotation'](_0x35235a),_0x246b99();}}));}['afterInit'](){const _0x5ddbeb=this['editor']['plugins']['get'](AnnotationsUIs);_0x5ddbeb['context']===this['editor']&&(_0x5ddbeb['hasActive']()||_0x5ddbeb['switchTo']('inline'));}['setActiveAnnotation'](_0x254b57){_0x254b57!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x254b57&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x254b57)&&this['_addAnnotationToBalloon'](_0x254b57,!0x0),_0x254b57['isActive']=!0x0),_0x254b57||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x254b57);}['attach'](_0x51d79d){this['annotations']=_0x51d79d;const _0x62f372=this['editor']['plugins']['get'](AnnotationsUIs),_0x51fecb=this['_balloon'];if(this['isAttached'])throw new ckeditor5['CKEditorError']('inlineannotations-attach-already-attached',this);if(_0x62f372['context']!==this['editor'])throw new ckeditor5['CKEditorError']('inlineannotations-not-allowed-with-context',this);const _0x19e6bf=this['editor']['plugins']['get'](EditorAnnotations);this['listenTo'](_0x19e6bf,'refresh',()=>{const _0x4ca462=_0x19e6bf['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});!this['_forceRefresh']&&_0x588819(_0x4ca462,this['_selectedAnnotations'])||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x4ca462),this['setActiveAnnotation'](_0x4ca462[0x0]||null));}),this['listenTo'](_0x19e6bf,'blur',(_0x317dac,{isAnnotationTracked:_0x5ec394})=>{this['activeAnnotation']&&_0x5ec394(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x19e6bf,'uiUpdate',()=>{this['_refreshVisibilityDebounced']();}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x56b151,_0x5d3149,_0x1734c9)=>{_0x1734c9||this['setActiveAnnotation'](null);}),this['listenTo'](_0x51d79d,'remove',(_0x4e610a,_0x51a5e9)=>{this['_removeAnnotationFromBalloon'](_0x51a5e9),_0x51a5e9===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x51fecb,'change:visibleView',(_0x112dd9,_0x57cbd2,_0x2075f9,_0xe4b5d6)=>{_0xe4b5d6&&this['stopListening'](_0xe4b5d6);const _0x24a689=_0x51d79d['getByView'](_0x2075f9);_0x2075f9&&_0x24a689&&(this['listenTo'](_0x2075f9,'change:height',()=>{_0x51fecb['updatePosition']();}),this['listenTo'](_0x2075f9,'Esc',()=>{this['_closeAnnotation'](_0x24a689),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x24a689&&this['setActiveAnnotation'](_0x24a689));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x51fecb['visibleView']&&(_0x51d79d['getByView'](_0x51fecb['visibleView'])&&_0x51fecb['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 _0x4afb4a of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x4afb4a);this['_refreshVisibilityDebounced']['cancel'](),this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['_refreshVisibilityDebounced']['cancel']();}['_setSelectedAnnotations'](_0x84a57e){for(const _0x3e011e of this['_selectedAnnotations'])_0x84a57e['includes'](_0x3e011e)||this['_manuallyClosed']['delete'](_0x3e011e);for(const _0x4c1dad of this['annotations'])_0x84a57e['includes'](_0x4c1dad)||this['_removeAnnotationFromBalloon'](_0x4c1dad);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0xf89b2a of _0x84a57e)this['_addAnnotationToBalloon'](_0xf89b2a);}this['_selectedAnnotations']=_0x84a57e;}['_addAnnotationToBalloon'](_0x111be8,_0x41eacb=!0x1){this['_manuallyClosed']['has'](_0x111be8)||(this['_addedAnnotations']['has'](_0x111be8)||this['_balloon']['hasView'](_0x111be8['view'])||(this['_addedAnnotations']['add'](_0x111be8),this['_balloon']['add']({'stackId':_0x111be8['view']['id'],'view':_0x111be8['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x111be8)}})),_0x41eacb&&this['_balloon']['showStack'](_0x111be8['view']['id']));}['_getBalloonTargetForAnnotation'](_0x3e8e71){const _0x477328=_0x3e8e71['target'],_0x4bacae=this['editor']['editing']['view'],_0x467afd=_0x4bacae['document']['selection']['getFirstRange'](),_0x4c57fd=_0x4bacae['domConverter']['viewRangeToDom'](_0x467afd);if(_0x4c57fd['collapse'](!0x0),_0x477328){if(_0x477328 instanceof ckeditor5['Rect'])return _0x477328;let _0x4a291a=[];for(const _0x2b8f99 of _0x477328)_0x4a291a['push'](...ckeditor5['Rect']['getDomElementRects'](_0x2b8f99));_0x4a291a=joinClientRects(_0x4a291a);const _0x34e4e2=_0x4c57fd['getBoundingClientRect']();return _0x4a291a['find'](_0x5aa940=>_0x5aa940['top']<=_0x34e4e2['top']&&_0x5aa940['bottom']>=_0x34e4e2['bottom']&&_0x5aa940['left']<=_0x34e4e2['left']&&_0x5aa940['right']>=_0x34e4e2['right'])||_0x4a291a[0x0];}return _0x3e8e71['targetRect']||_0x4c57fd;}['_removeAnnotationFromBalloon'](_0x4a9bdb){this['_addedAnnotations']['has'](_0x4a9bdb)&&this['_balloon']['hasView'](_0x4a9bdb['view'])&&(this['_addedAnnotations']['delete'](_0x4a9bdb),this['_balloon']['remove'](_0x4a9bdb['view']));}['_closeAnnotation'](_0x4f6f55){this['_manuallyClosed']['add'](_0x4f6f55),this['_removeAnnotationFromBalloon'](_0x4f6f55);}}function _0x588819(_0x3ac694,_0x58cc16){return _0x3ac694['length']===_0x58cc16['length']&&_0x3ac694['every'](_0x4393f4=>_0x58cc16['includes'](_0x4393f4));}function joinClientRects(_0x212aee){const _0x582f3c=[];let _0x5a247b=_0x212aee[0x0];for(let _0x5559e7=0x1;_0x5559e7<_0x212aee['length'];_0x5559e7++)if(canJoinRects(_0x5a247b,_0x212aee[_0x5559e7])){const _0x3557f0=_0x212aee[_0x5559e7]['width'];_0x5a247b['width']+=_0x3557f0,_0x5a247b['right']+=_0x3557f0;}else _0x582f3c['push'](_0x5a247b),_0x5a247b=_0x212aee[_0x5559e7];return _0x582f3c['push'](_0x5a247b),_0x582f3c;}function canJoinRects(_0x4ff1db,_0x43ae56){return _0x4ff1db['top']===_0x43ae56['top']&&_0x4ff1db['bottom']===_0x43ae56['bottom']&&_0x4ff1db['right']===_0x43ae56['left'];}class CommentsArchiveView extends ckeditor5['View']{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0xc29356,_0xdf96bb){super(_0xc29356),this['set']('isEmpty',!_0xdf96bb['length']),this['focusTracker']=new ckeditor5['FocusTracker'](),this['_annotationViews']=_0xdf96bb,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':_0xdf96bb,'focusTracker':this['focusTracker']}),this['listenTo'](_0xdf96bb,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0xdf96bb,'remove',(_0x485195,_0x21e523)=>{_0x21e523['isActive']&&this['focus'](),_0xdf96bb['length']||(this['isEmpty']=!0x0);});const _0x1ea5db=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':getTranslation$f(_0xc29356,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0xdf96bb},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x1ea5db['if']('isEmpty','ck-hidden',_0x37ecaa=>!_0x37ecaa)]},'children':[{'text':getTranslation$f(_0xc29356,'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 _0x3ac57d of this['_annotationViews'])this['focusTracker']['add'](_0x3ac57d['element']);this['_annotationViews']['on']('change',(_0xfbd564,{added:_0x4895fe,removed:_0x5b208a})=>{for(const _0x5750fa of _0x4895fe)this['focusTracker']['add'](_0x5750fa['element']);for(const _0x1e39fc of _0x5b208a)this['focusTracker']['remove'](_0x1e39fc['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(_0x2743fa){super(_0x2743fa),this['archivedThreads']=new ckeditor5['Collection']();}['init'](){const _0x317be5=this['context'],_0xcc76b0=_0x317be5['plugins']['get'](CommentsRepository),_0x41331a=_0x317be5['plugins']['get'](Annotations);this['listenTo'](_0xcc76b0,'addCommentThread',(_0x2333cf,{threadId:_0x33eaff})=>{const _0xfe1a3d=_0xcc76b0['getCommentThread'](_0x33eaff);_0xfe1a3d['archivedAt']&&this['archivedThreads']['add'](_0xfe1a3d,this['_calculatePosition'](_0xfe1a3d['archivedAt'])),this['listenTo'](_0xfe1a3d,'change:archivedAt',(_0x24bd5b,_0x1173ef,_0x2f01fa)=>{_0x2f01fa?this['archivedThreads']['has'](_0xfe1a3d)||this['archivedThreads']['add'](_0xfe1a3d,this['_calculatePosition'](_0xfe1a3d['archivedAt'])):this['archivedThreads']['has'](_0xfe1a3d)&&this['archivedThreads']['remove'](_0xfe1a3d);});}),this['listenTo'](_0xcc76b0,'removeCommentThread',(_0x573166,{threadId:_0x25f084})=>{const _0x5db317=_0xcc76b0['getCommentThread'](_0x25f084);this['stopListening'](_0x5db317),this['archivedThreads']['has'](_0x5db317)&&this['archivedThreads']['remove'](_0x5db317);},{'priority':'highest'}),this['listenTo'](_0x41331a['collection'],'focus',(_0x1ab57e,_0x2fb6e7)=>{_0x2fb6e7['isVisible']||(_0x2fb6e7['isActive']=!0x0,_0x41331a['activate'](_0x2fb6e7));});}['_calculatePosition'](_0x50cf77){const _0x2d89ec=[...this['archivedThreads']]['findIndex'](_0x3516fb=>_0x3516fb['archivedAt']<_0x50cf77);return _0x2d89ec>-0x1?_0x2d89ec: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(_0x10a464){super(_0x10a464),this['annotationViews']=new ckeditor5['ViewCollection'](),this['_pendingThreads']=[];}['init'](){const _0x14ea7e=this['editor'],_0x331004=this['_hideDialogOnAnnotationEscape']['bind'](this);_0x14ea7e['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](ckeditor5['ButtonView'],!0x0)),_0x14ea7e['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x28c97a=this['_createCommentsArchiveButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x28c97a['set']({'role':'menuitemcheckbox'}),_0x28c97a;});const _0x283426=_0x14ea7e['plugins']['get'](CommentsArchive),_0x35a76a=_0x14ea7e['plugins']['get']('Annotations'),_0x2f9d1d=_0x14ea7e['plugins']['get']('CommentsRepository');_0x283426['archivedThreads']['forEach'](_0x4d5c1b=>{this['_handleNewThread'](_0x4d5c1b);}),this['listenTo'](_0x283426['archivedThreads'],'add',(_0x3daab6,_0x4290ff)=>{this['_handleNewThread'](_0x4290ff);}),this['listenTo'](_0x35a76a['collection'],'add',(_0x5d496a,_0x3cad7a)=>{const _0x4969b3=this['_pendingThreads']['find'](_0x116a13=>{const _0x5b4566=_0x2f9d1d['_threadToController']['get'](_0x116a13);return _0x5b4566&&_0x3cad7a['innerView']===_0x5b4566['view'];});if(_0x4969b3){const _0x3bc421=this['_calculatePosition'](_0x4969b3['archivedAt']);this['_addAnnotationToArchive'](_0x3cad7a,_0x3bc421),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x4969b3),0x1);}}),this['listenTo'](_0x283426['archivedThreads'],'remove',(_0x4c9660,_0x5a9a13)=>{const _0x344fcb=_0x14ea7e['config']['get']('collaboration.channelId');if(!_0x344fcb||_0x5a9a13['channelId']===_0x344fcb){if(this['_pendingThreads']['includes'](_0x5a9a13))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x5a9a13),0x1);else{const _0x6ed8a7=_0x2f9d1d['_threadToController']['get'](_0x5a9a13),_0x13cad9=_0x35a76a['getByInnerView'](_0x6ed8a7['view']);this['annotationViews']['remove'](_0x13cad9['view']),this['stopListening'](_0x13cad9),this['stopListening'](_0x13cad9['focusableElements']);}}}),this['listenTo'](_0x35a76a['collection'],'add',(_0x49f0f3,_0x426cc0)=>{this['listenTo'](_0x426cc0,'escape',_0x331004);}),this['listenTo'](_0x35a76a['collection'],'remove',(_0x176bfb,_0x3df918)=>{this['stopListening'](_0x3df918,'escape',_0x331004);});}['_addAnnotationToArchive'](_0x5b259d,_0x2ede8a){this['listenTo'](_0x5b259d,'set:isVisible',_0xcd43ca=>{_0xcd43ca['return']=!0x1,_0xcd43ca['stop']();}),this['annotationViews']['add'](_0x5b259d['view'],_0x2ede8a);}['_handleNewThread'](_0xaf6ec5){const _0x9e166a=this['editor']['plugins']['get']('CommentsRepository'),_0x4311fd=this['editor']['plugins']['get']('Annotations'),_0x4d76dd=this['editor']['config']['get']('collaboration.channelId');if(!_0x4d76dd||_0xaf6ec5['channelId']===_0x4d76dd){const _0x8f0f0e=_0x9e166a['_threadToController']['get'](_0xaf6ec5);if(!_0x8f0f0e)return void this['_pendingThreads']['push'](_0xaf6ec5);const _0x3a02ed=this['_calculatePosition'](_0xaf6ec5['archivedAt']),_0x3ed421=_0x4311fd['getByInnerView'](_0x8f0f0e['view']);_0x3ed421['isVisible']&&_0x4311fd['_visibleAnnotations']['remove'](_0x3ed421),this['_addAnnotationToArchive'](_0x3ed421,_0x3a02ed);}}['_calculatePosition'](_0x2fdedb){const _0x1cfca3=this['editor']['config']['get']('collaboration.channelId'),_0x250845=[...this['editor']['plugins']['get'](CommentsArchive)['archivedThreads']]['filter'](_0x429dc0=>_0x429dc0['channelId']===_0x1cfca3)['findIndex'](_0x2ac64a=>_0x2ac64a['archivedAt']<_0x2fdedb);return _0x250845<0x0||_0x250845>this['annotationViews']['length']?this['annotationViews']['length']:_0x250845-0x1;}['_toggleDialog'](){const _0x4b8a0e=this['editor'],_0x509473=_0x4b8a0e['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new CommentsArchiveView(_0x4b8a0e['locale'],this['annotationViews'])),'commentsArchive'===_0x509473['id']?_0x509473['hide']():_0x509473['show']({'id':'commentsArchive','title':getTranslation$f(_0x4b8a0e['locale'],'COMMENTS_ARCHIVE'),'icon':ckeditor5['IconCommentsArchive'],'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x222847,_0x3afd61=!0x1){const _0x58a742=this['editor']['locale'],_0x52bb50=this['editor']['plugins']['get']('Dialog'),_0x2a34f1=new _0x222847(_0x58a742);return _0x2a34f1['bind']('isEnabled')['to'](this,'isEnabled'),_0x2a34f1['bind']('isOn')['to'](_0x52bb50,'id',_0x499954=>'commentsArchive'===_0x499954),_0x2a34f1['set']({'label':getTranslation$f(_0x58a742,'COMMENTS_ARCHIVE'),'icon':ckeditor5['IconCommentsArchive'],'isToggleable':!0x0}),_0x3afd61&&(_0x2a34f1['tooltip']=!0x0),this['listenTo'](_0x2a34f1,'execute',()=>this['_toggleDialog']()),_0x2a34f1;}['_hideDialogOnAnnotationEscape']=_0x207cb5=>{const _0x230013=_0x207cb5['source'];if(!this['annotationViews']['has'](_0x230013['view']))return;const _0x2f8448=this['editor']['plugins']['get']('Dialog');_0x2f8448['isOpen']&&'commentsArchive'===_0x2f8448['id']&&(_0x2f8448['hide'](),_0x207cb5['stop']());};}class Comments extends ckeditor5['Plugin']{static get['requires'](){return[CommentsRepository,CommentsEditing,CommentsUI,CommentsArchive,CommentsArchiveUI,CommentsOnly,_0x11373a,_0x5a129a,InlineAnnotations];}static get['pluginName'](){return'Comments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getElementText(_0x3aa0bd){let _0x5e1447='';for(const _0x4a6441 of _0x3aa0bd['getChildren']())_0x4a6441 instanceof ckeditor5['ModelText']&&(_0x5e1447+=_0x4a6441['data']);return _0x5e1447;}function getDefaultFeatureHeadingNames(_0x5260dc){const _0x547c82=_0x5260dc['config']['get']('heading.options');return _0x547c82?_0x547c82['reduce']((_0x38d068,_0x5dda0c)=>('paragraph'!==_0x5dda0c['model']&&_0x38d068['push'](_0x5dda0c['model']),_0x38d068),[]):_0x5260dc['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 _0x4f8edf=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x233f9e=[];_0x4f8edf['model']['document']['on']('change',_0x28878c(()=>{const _0x173a47=_0x233f9e;_0x233f9e=this['_getOutlineDefinitions']();const _0x40c0e2=ckeditor5['diff'](_0x173a47,_0x233f9e,(_0xeb6348,_0x4a6cd1)=>_0xeb6348['level']===_0x4a6cd1['level']&&_0xeb6348['text']===_0x4a6cd1['text']&&_0xeb6348['modelElement']===_0x4a6cd1['modelElement']),_0x393256=ckeditor5['diffToChanges'](_0x40c0e2,_0x233f9e),_0x17c2f5=this['_getActiveHeading'](),_0x3c3881=_0x233f9e['findIndex'](_0x20daae=>_0x20daae['modelElement']===_0x17c2f5);_0x393256['length']&&this['fire']('change',{'outlineDefinitions':_0x233f9e,'activeItemIndex':_0x3c3881,'outlineChanges':_0x393256}),this['fire']('activeItemIndex',{'index':_0x3c3881});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x58cfba=this['editor'],_0x3cc921=[],_0x114cab=this['_headingNames'];for(const _0xd38329 of _0x58cfba['model']['document']['getRootNames']())_0x2c47bf(_0x58cfba['model']['document']['getRoot'](_0xd38329));function _0x2c47bf(_0x5b5808){for(const _0x1441ed of _0x5b5808['getChildren']())_0x1441ed['is']('element')&&(_0x114cab['includes'](_0x1441ed['name'])&&_0x3cc921['push']({'level':_0x114cab['indexOf'](_0x1441ed['name'])+0x1,'text':getElementText(_0x1441ed),'modelElement':_0x1441ed}),_0x2c47bf(_0x1441ed));}return _0x3cc921;}['_getActiveHeading'](){const _0x924f99=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x4ffdc5=new ckeditor5['ModelTreeWalker']({'direction':'backward','startPosition':_0x924f99});for(const _0x34ea6d of _0x4ffdc5)if(_0x34ea6d['item']['is']('element')&&this['_headingNames']['includes'](_0x34ea6d['item']['name']))return _0x34ea6d['item'];}['_getHeadingNames'](){const _0xd6c64f=this['editor']['config']['get']('documentOutline.headings');return _0xd6c64f||getDefaultFeatureHeadingNames(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x444203=this['editor'],_0x15fd6c=['h1','h2','h3','h4','h5','h6'],_0x7a84af=[];for(const _0x50b978 of _0x15fd6c){const _0x11efcc=_0x444203['editing']['view']['domConverter']['domToView'](document['createElement'](_0x50b978)),_0x562fee=_0x444203['data']['toModel'](_0x11efcc)['getChild'](0x0);_0x562fee?.['is']('element')&&_0x7a84af['push'](_0x562fee['name']);}this['_headingNames']=_0x7a84af;}}function getTranslation$e(_0x56b0bc,_0x5776c3){const t=_0x56b0bc['t'];switch(_0x5776c3){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 _0x5776c3;}}class DocumentOutlineItemView extends ckeditor5['View']{constructor(_0x56dde4,_0x213640=!0x1){super(_0x56dde4);const _0x4bbb52=this['bindTemplate'],_0x41a5c3=_0x213640?'['+getTranslation$e(_0x56dde4,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x4f2c0a=>!_0x4f2c0a),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x4bbb52['to']('level',_0x382d8c=>'ck-document-outline__item_level-'+_0x382d8c),_0x4bbb52['if']('isActive','ck-document-outline__item_active'),_0x4bbb52['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x4bbb52['to']('text')},'children':[{'text':_0x4bbb52['to']('text',_0x3e084f=>_0x3e084f||_0x41a5c3)}],'on':{'click':_0x4bbb52['to']('click')}});}}class DocumentOutlineView extends ckeditor5['View']{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x287ff6,_0x4f5511=!0x1,_0x3e1fc8){super(_0x287ff6),this['showEmptyHeadingText']=_0x4f5511,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x3e1fc8,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x24e7e4,_0x4ed741,_0x2d1f5c,_0x59e17a)=>{this['_setActiveItem'](_0x59e17a,_0x2d1f5c);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x287ff6['contentLanguageDirection'],'data-document-outline-empty-placeholder':getTranslation$e(_0x287ff6,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x5507e7){_0x5507e7['forEach'](_0x614ac4=>{'insert'==_0x614ac4['type']?this['_insertItem'](_0x614ac4['index'],..._0x614ac4['values']):'delete'==_0x614ac4['type']&&this['_deleteItem'](_0x614ac4['index'],_0x614ac4['howMany']);});}['_setActiveItem'](_0x212a7d,_0x28e2d9){if(-0x1!==_0x212a7d){const _0x158f58=this['items']['get'](_0x212a7d);_0x158f58&&(_0x158f58['isActive']=!0x1);}-0x1!==_0x28e2d9&&(this['items']['get'](_0x28e2d9)['isActive']=!0x0,this['_scrollToItem'](_0x28e2d9));}['_insertItem'](_0x1c9c79,..._0x849f0e){const _0xc8fdc5=_0x849f0e['map']((_0x3f40b8,_0x26f462)=>{const _0x2ec313=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x2ec313['text']=_0x3f40b8['text'],_0x2ec313['level']=_0x3f40b8['level'],_0x1c9c79+_0x26f462===this['activeItemIndex']&&(_0x2ec313['isActive']=!0x0),_0x2ec313;});this['items']['addMany'](_0xc8fdc5,_0x1c9c79);}['_deleteItem'](_0x4766c4,_0x92b975){do{this['items']['remove'](_0x4766c4);}while(--_0x92b975);}['_handleItemClick'](_0x2a707d){const _0x24f0b6=this['items']['getIndex'](_0x2a707d['source']);this['fire']('itemSelected',_0x24f0b6);}['_scrollToItem'](_0x65c35f){ckeditor5['scrollAncestorsToShowTarget'](this['items']['get'](_0x65c35f)['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(_0x5b90ac){super(_0x5b90ac),this['view']=new DocumentOutlineView(_0x5b90ac['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 _0x36e1ee=this['editor'],_0xb69a83=_0x36e1ee['plugins']['get']('DocumentOutlineUtils');let _0x46622c=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x36e1ee['config']['get']('documentOutline.container'))throw new ckeditor5['CKEditorError']('document-outline-container-not-provided',{'editor':_0x36e1ee});_0x36e1ee['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0xb69a83['on']('change',this['_handleOutlineChange']['bind'](this)),_0xb69a83['on']('activeItemIndex',(_0x402016,{index:_0x99552e})=>this['_setActiveViewItem'](_0x99552e)),this['view']['on']('itemSelected',(_0x5cb04b,_0x5ef941)=>{_0x46622c=!0x0,this['_handleItemSelected'](_0x5ef941);}),this['view']['listenTo'](ckeditor5['global']['document'],'scroll',()=>{_0x46622c?_0x46622c=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](ckeditor5['global']['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){_0x57b251(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x204218,{outlineDefinitions:_0x4fc0ea,outlineChanges:_0x5f59f0}){this['_currentOutlineDefinitions']=_0x4fc0ea,this['view']['sync'](_0x5f59f0);}['_setActiveViewItem'](_0x3c0099){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x3c0099]&&(this['view']['activeItemIndex']=_0x3c0099);}['_handleItemSelected'](_0x3fd32b){const _0x67ab13=this['_currentOutlineDefinitions'][_0x3fd32b]['modelElement'];this['editor']['model']['change'](_0x2db9df=>{_0x2db9df['setSelection'](_0x67ab13,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x3fd32b);}['_updateActiveDefinitionOnViewportChange'](){const _0x27ec6a=this['editor'];let _0x12ec78;for(const _0x496137 of _0x27ec6a['model']['document']['getRootNames']()){const _0x1f8bf5=_0x27ec6a['editing']['view']['getDomRoot'](_0x496137),_0x338842=_0x1f8bf5&&new ckeditor5['Rect'](_0x1f8bf5)['getVisible']();if(_0x338842){const _0x2203d1=new ckeditor5['Rect'](ckeditor5['global']['window'])['getIntersection'](_0x338842);_0x2203d1&&(_0x12ec78=_0x2203d1['top']+0.25*_0x2203d1['height']);}}if(void 0x0===_0x12ec78)return;const _0x5295b5=binaryActiveDefinitionSearch(_0x27ec6a['editing'],this['_currentOutlineDefinitions'],_0x12ec78);_0x5295b5?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x5295b5)):this['_setActiveViewItem'](-0x1);}}function binaryActiveDefinitionSearch(_0x48e493,_0x3f7c52,_0x365344,_0x43ac71=0x0,_0x592b2c=_0x3f7c52['length']-0x1){const _0x1504d6=Math['floor'](_0x43ac71+(_0x592b2c-_0x43ac71)/0x2);if(_0x592b2c>=_0x43ac71){const _0x13bb3f=_0x3f7c52[_0x1504d6],_0x44b7e3=_0x48e493['mapper']['toViewElement'](_0x13bb3f['modelElement']);if(!_0x44b7e3)return null;const _0x43d316=_0x48e493['view']['domConverter']['mapViewToDom'](_0x44b7e3);return new ckeditor5['Rect'](_0x43d316)['bottom']>_0x365344?binaryActiveDefinitionSearch(_0x48e493,_0x3f7c52,_0x365344,_0x43ac71,_0x1504d6-0x1):binaryActiveDefinitionSearch(_0x48e493,_0x3f7c52,_0x365344,_0x1504d6+0x1,_0x592b2c);}return _0x1504d6<0x0?null:_0x3f7c52[_0x1504d6];}async function _0x57b251(_0x108a63){const _0x3681d1=_0x1ecb26([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]),_0x1a3921=window[_0x1ecb26([0x44,0x61,0x74,0x65])][_0x1ecb26([0x6e,0x6f,0x77])](),_0xb1796a=_0x108a63[_0x1ecb26([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x115585=new window[(_0x1ecb26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x148925=>{_0xb1796a[_0x1ecb26([0x6f,0x6e,0x63,0x65])](_0x1ecb26([0x72,0x65,0x61,0x64,0x79]),_0x148925);}),_0x157cc6={[_0x1ecb26([0x6b,0x74,0x79])]:_0x1ecb26([0x45,0x43]),[_0x1ecb26([0x75,0x73,0x65])]:_0x1ecb26([0x73,0x69,0x67]),[_0x1ecb26([0x63,0x72,0x76])]:_0x1ecb26([0x50,0x2d,0x32,0x35,0x36]),[_0x1ecb26([0x78])]:_0x1ecb26([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]),[_0x1ecb26([0x79])]:_0x1ecb26([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]),[_0x1ecb26([0x61,0x6c,0x67])]:_0x1ecb26([0x45,0x53,0x32,0x35,0x36])},_0x499d4b=_0xb1796a[_0x1ecb26([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ecb26([0x67,0x65,0x74])](_0x1ecb26([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x460bce=await(async function(){let _0x322c43,_0x57b5af=null,_0x54232d=null;try{if(_0x499d4b==_0x1ecb26([0x47,0x50,0x4c]))return _0x1ecb26([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x322c43=(function(){const _0x397275=_0x499d4b[_0x1ecb26([0x73,0x70,0x6c,0x69,0x74])](_0x1ecb26([0x2e]));if(0x3!=_0x397275[_0x1ecb26([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x15d2f8=_0x397275[0x1];return _0x2c997d(_0x15d2f8);function _0x2c997d(_0x4fd9e4){const _0x101295=_0x4a7017(_0x4fd9e4);return _0x101295&&_0x2fa6ec()?_0x101295:null;function _0x2fa6ec(){const _0xd181d3=_0x101295[_0x1ecb26([0x6a,0x74,0x69])],_0x29a7ad=window[_0x1ecb26([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd181d3[_0x1ecb26([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd181d3[_0x1ecb26([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3a1196={..._0x101295,[_0x1ecb26([0x6a,0x74,0x69])]:_0xd181d3[_0x1ecb26([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xd181d3[_0x1ecb26([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3a1196[_0x1ecb26([0x76,0x63])],_0x5834eb(_0x3a1196)==_0x29a7ad;}}}()),!_0x322c43)return _0x1ecb26([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x322c43[_0x1ecb26([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x54232d=function(_0x46e0dd,_0x29dbec){return new window[(_0x1ecb26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24675c=>{if(_0x40eea8())return _0x24675c(_0x1ecb26([0x56,0x61,0x6c,0x69,0x64]));_0x102d62(),_0xb1796a[_0x1ecb26([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ecb26([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x38a12b=!0x1;const _0x3ff68c=ckeditor5['uid']();function _0x359aff(_0x125922){return!!_0x125922&&(typeof _0x125922===_0x1ecb26([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x125922===_0x1ecb26([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x125922[_0x1ecb26([0x74,0x68,0x65,0x6e])]===_0x1ecb26([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x125922[_0x1ecb26([0x63,0x61,0x74,0x63,0x68])]===_0x1ecb26([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3bc260(_0x40f6ba){_0x2b38f3(_0x40f6ba)[_0x1ecb26([0x74,0x68,0x65,0x6e])](_0x475af3=>{if(!_0x475af3||_0x475af3[_0x1ecb26([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ecb26([0x6f,0x6b]))return _0x1ecb26([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5f5eb9(_0x5834eb(_0x3ff68c+_0x29dbec))!=_0x475af3[_0x1ecb26([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ecb26([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ecb26([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ecb26([0x74,0x68,0x65,0x6e])](_0x1d8ae4=>(_0x38ab04(),_0x1d8ae4),()=>{const _0x1dd3d2=_0x44624c();return null==_0x1dd3d2?(_0x38ab04(),_0x1ecb26([0x56,0x61,0x6c,0x69,0x64])):_0x1ecb26(_0x1a3921-_0x1dd3d2>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ecb26([0x74,0x68,0x65,0x6e])](_0x24675c)[_0x1ecb26([0x63,0x61,0x74,0x63,0x68])](()=>{_0x24675c(_0x1ecb26([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x54f394=0x36ee80;function _0x38ab04(){const _0x57e01f=_0x1ecb26([0x6c,0x6c,0x63,0x74,0x2d])+_0x5f5eb9(_0x5834eb(_0x46e0dd)),_0x49db68=_0x173726(_0x5f5eb9(window[_0x1ecb26([0x4d,0x61,0x74,0x68])][_0x1ecb26([0x63,0x65,0x69,0x6c])](_0x1a3921/_0x54f394)));window[_0x1ecb26([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ecb26([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57e01f,_0x49db68);}function _0x44624c(){const _0x1b130d=_0x1ecb26([0x6c,0x6c,0x63,0x74,0x2d])+_0x5f5eb9(_0x5834eb(_0x46e0dd)),_0x4990d7=window[_0x1ecb26([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ecb26([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b130d);return _0x4990d7?window[_0x1ecb26([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x173726(_0x4990d7),0x10)*_0x54f394:null;}function _0x2b38f3(_0x33c005){return new window[(_0x1ecb26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49b74c,_0x330de8)=>{_0x33c005[_0x1ecb26([0x74,0x68,0x65,0x6e])](_0x49b74c,_0x330de8),window[_0x1ecb26([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x330de8,0x1d4c0);});}}_0xb1796a[_0x1ecb26([0x6f,0x6e])](_0x1ecb26([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3e9355,_0x3015c7)=>{if(_0x3015c7[0x0]!=_0x46e0dd)return _0x24675c(_0x1ecb26([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3015c7[0x1]={..._0x3015c7[0x1],[_0x1ecb26([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3ff68c};},{[_0x1ecb26([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ecb26([0x68,0x69,0x67,0x68])}),_0xb1796a[_0x1ecb26([0x6f,0x6e])](_0x1ecb26([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5c6d9d=>{_0x359aff(_0x5c6d9d[_0x1ecb26([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x38a12b=!0x0,_0x3bc260(_0x5c6d9d[_0x1ecb26([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ecb26([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ecb26([0x6c,0x6f,0x77])}),_0x115585[_0x1ecb26([0x74,0x68,0x65,0x6e])](()=>{_0x38a12b||_0x24675c(_0x1ecb26([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x40eea8(){return _0xb1796a[_0x1ecb26([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ecb26([0x76,0x69,0x65,0x77])][_0x1ecb26([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ecb26([0x61,0x75,0x74,0x6f]);}function _0x102d62(){_0xb1796a[_0x1ecb26([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ecb26([0x76,0x69,0x65,0x77])][_0x1ecb26([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ecb26([0x61,0x75,0x74,0x6f]);}}(_0x322c43[_0x1ecb26([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x322c43[_0x1ecb26([0x6a,0x74,0x69])]));const _0x4baa7f=await(async function(){let _0x240b24=!0x0;try{const _0x11a9c8=_0x499d4b[_0x1ecb26([0x73,0x70,0x6c,0x69,0x74])](_0x1ecb26([0x2e])),[_0x1cabda,_0x2c9ab8,_0x2bd1af]=_0x11a9c8;return _0x2f67c3(_0x1cabda),await _0x501d4e(_0x1cabda,_0x2c9ab8,_0x2bd1af),_0x240b24;}catch{return!0x1;}function _0x2f67c3(_0x14f62e){const _0xee6fec=_0x4a7017(_0x14f62e);_0xee6fec&&_0xee6fec[_0x1ecb26([0x61,0x6c,0x67])]==_0x1ecb26([0x45,0x53,0x32,0x35,0x36])||(_0x240b24=!0x1);}async function _0x501d4e(_0x537730,_0x333838,_0x238bc6){const _0x242969=window[_0x1ecb26([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ecb26([0x66,0x72,0x6f,0x6d])](_0x557ff6(_0x238bc6),_0x531e74=>_0x531e74[_0x1ecb26([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x232405=new window[(_0x1ecb26([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ecb26([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x537730+_0x1ecb26([0x2e])+_0x333838),_0x5a15df=window[_0x1ecb26([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ecb26([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a15df)return;const _0x115ab1=await _0x5a15df[_0x1ecb26([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ecb26([0x6a,0x77,0x6b]),_0x157cc6,{[_0x1ecb26([0x6e,0x61,0x6d,0x65])]:_0x1ecb26([0x45,0x43,0x44,0x53,0x41]),[_0x1ecb26([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ecb26([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ecb26([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a15df[_0x1ecb26([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ecb26([0x6e,0x61,0x6d,0x65])]:_0x1ecb26([0x45,0x43,0x44,0x53,0x41]),[_0x1ecb26([0x68,0x61,0x73,0x68])]:{[_0x1ecb26([0x6e,0x61,0x6d,0x65])]:_0x1ecb26([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x115ab1,_0x242969,_0x232405)||(_0x240b24=!0x1);}}());return _0x4baa7f?(function(){const _0x1e19de=_0x322c43[_0x1ecb26([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1e19de)return!0x1;if(_0x1e19de[_0x1ecb26([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ecb26([0x2a])))return!0x0;if(_0x1e19de[_0x1ecb26([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ecb26([0x44,0x4f])))return!0x0;if(_0x1e19de[_0x1ecb26([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ecb26([0x50,0x50])))return!0x0;if(_0x1e19de[_0x1ecb26([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ecb26([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x1ecb26([0x67,0x6c,0x6f,0x62])]&&window[_0x1ecb26([0x67,0x6c,0x6f,0x62])][_0x1ecb26([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x57b6e0=[_0x1ecb26([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ecb26([0x74,0x72,0x69,0x61,0x6c])][_0x1ecb26([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x322c43[_0x1ecb26([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a3921/0x3e8:0x69cb0e80;return _0x322c43[_0x1ecb26([0x65,0x78,0x70])]<_0x57b6e0;}())?_0x1ecb26([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x43127a=_0x322c43[_0x1ecb26([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x43127a||0x0==_0x43127a[_0x1ecb26([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1fbd57}=new URL(window[_0x1ecb26([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x43127a[_0x1ecb26([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fbd57))return!0x0;const _0x52129e=_0x1fbd57[_0x1ecb26([0x73,0x70,0x6c,0x69,0x74])](_0x1ecb26([0x2e]));return _0x43127a[_0x1ecb26([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f7c94=>_0x4f7c94[_0x1ecb26([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ecb26([0x2a])))[_0x1ecb26([0x6d,0x61,0x70])](_0x219646=>_0x219646[_0x1ecb26([0x73,0x70,0x6c,0x69,0x74])](_0x1ecb26([0x2e])))[_0x1ecb26([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x458f3f=>_0x458f3f[_0x1ecb26([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x52129e[_0x1ecb26([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ecb26([0x6d,0x61,0x70])](_0x3f1287=>Array(_0x52129e[_0x1ecb26([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3f1287[_0x1ecb26([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ecb26([0x66,0x69,0x6c,0x6c])](_0x3f1287[0x0]===_0x1ecb26([0x2a])?_0x1ecb26([0x2a]):'')[_0x1ecb26([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3f1287))[_0x1ecb26([0x73,0x6f,0x6d,0x65])](_0x2bc38d=>_0x52129e[_0x1ecb26([0x65,0x76,0x65,0x72,0x79])]((_0x391220,_0x5bc902)=>_0x2bc38d[_0x5bc902]===_0x391220||_0x2bc38d[_0x5bc902]===_0x1ecb26([0x2a])));}())?(_0x322c43[_0x1ecb26([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ecb26([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x57b5af=function(_0x479627){const _0x3d38bf=new window[(_0x1ecb26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x417ab0=>setTimeout(_0x417ab0,0x93ecc)),_0x4b1f33=_0x115585[_0x1ecb26([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ecb26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd29bec=>{let _0x19aedc=0x0;_0xb1796a[_0x1ecb26([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ecb26([0x6f,0x6e])](_0x1ecb26([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27d713,_0x5db2f7)=>{_0x5db2f7[0x0][_0x1ecb26([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x19aedc++,0x5e8==_0x19aedc&&(_0xd29bec(),_0x27d713[_0x1ecb26([0x6f,0x66,0x66])]());});})),_0x2310f5=[_0x3d38bf,_0x4b1f33];return window[_0x1ecb26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ecb26([0x72,0x61,0x63,0x65])](_0x2310f5)[_0x1ecb26([0x74,0x68,0x65,0x6e])](()=>_0x479627);}(_0x1ecb26([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x57b5af&&_0x54232d)return new window[(_0x1ecb26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a2182,_0x39ffbc)=>{_0x57b5af[_0x1ecb26([0x74,0x68,0x65,0x6e])](_0x4a2182,_0x39ffbc),_0x54232d[_0x1ecb26([0x74,0x68,0x65,0x6e])](_0x4980b3=>{_0x4980b3!=_0x1ecb26([0x56,0x61,0x6c,0x69,0x64])&&_0x4a2182(_0x4980b3);},_0x39ffbc);});return _0x57b5af||_0x54232d||_0x1ecb26([0x56,0x61,0x6c,0x69,0x64]);}())):_0x1ecb26([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ecb26([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ecb26([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1ecb26([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4a7017(_0xca99fb){return _0xca99fb[_0x1ecb26([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ecb26([0x65,0x79]))?JSON[_0x1ecb26([0x70,0x61,0x72,0x73,0x65])](_0x557ff6(_0xca99fb)):null;}function _0x557ff6(_0x461eb6){return window[_0x1ecb26([0x61,0x74,0x6f,0x62])](_0x461eb6[_0x1ecb26([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ecb26([0x2b]))[_0x1ecb26([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ecb26([0x2f])));}function _0x5834eb(_0x3a0046){let _0x8f561d=0x1505;function _0x2add1d(_0x3cedc5){for(let _0x77c8f9=0x0;_0x77c8f9<_0x3cedc5[_0x1ecb26([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x77c8f9++){const _0x503a77=_0x3cedc5[_0x1ecb26([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x77c8f9);_0x8f561d=(_0x8f561d<<0x5)+_0x8f561d+_0x503a77,_0x8f561d&=_0x8f561d;}}return function _0x32bfd2(_0x137c4d){Array[_0x1ecb26([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x137c4d)?_0x137c4d[_0x1ecb26([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32bfd2):_0x137c4d&&typeof _0x137c4d==_0x1ecb26([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ecb26([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x137c4d)[_0x1ecb26([0x73,0x6f,0x72,0x74])]()[_0x1ecb26([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3b2334,_0x22ba3b])=>{_0x2add1d(_0x3b2334),_0x32bfd2(_0x22ba3b);}):_0x2add1d(window[_0x1ecb26([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x137c4d));}(_0x3a0046),_0x8f561d>>>0x0;}function _0x5f5eb9(_0x10222a){return _0x10222a[_0x1ecb26([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ecb26([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ecb26([0x30]));}function _0x173726(_0x105873){return _0x105873[_0x1ecb26([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ecb26([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ecb26([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d8a53(){}function _0x1ecb26(_0x5a1b14){return _0x5a1b14['map'](_0x28dc35=>String['fromCharCode'](_0x28dc35))['join']('');}!function(_0x9c92c6){const _0x2bdeee=(function(){const _0x5c9603=window[_0x1ecb26([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ecb26([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ecb26([0x6e,0x6f,0x77])]())[_0x1ecb26([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ecb26([0x2e]),'');let _0x3591b5=_0x1ecb26([0x61]);for(let _0x77f281=0x0;_0x77f281<_0x5c9603[_0x1ecb26([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x77f281+=0x2){let _0x3d1dd9=window[_0x1ecb26([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c9603[_0x1ecb26([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x77f281,_0x77f281+0x2));_0x3d1dd9>=_0x3681d1[_0x1ecb26([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3d1dd9-=_0x3681d1[_0x1ecb26([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3591b5+=_0x3681d1[_0x3d1dd9];}return _0x3591b5;}());_0xb1796a[_0x2bdeee]=_0x1ecb26([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])+_0x9c92c6,_0x9c92c6!=_0x1ecb26([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x115585,_0xb1796a[_0x1ecb26([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ecb26([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d8a53,_0xb1796a[_0x1ecb26([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ecb26([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d8a53,_0xb1796a[_0x1ecb26([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ecb26([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x460bce);}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 _0x291edb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e1c06;for(const _0x249996 in _0x291edb){const _0x4ec603=_0x249996,_0x2a8739=_0x291edb[_0x4ec603];if('documentOutlineLicenseKeyValid'==_0x2a8739||'documentOutlineLicenseKeyInvalid'==_0x2a8739||'documentOutlineLicenseKeyExpired'==_0x2a8739||'documentOutlineLicenseKeyDomainLimit'==_0x2a8739||'documentOutlineLicenseKeyNotAllowed'==_0x2a8739||'documentOutlineLicenseKeyEvaluationLimit'==_0x2a8739||'documentOutlineLicenseKeyUsageLimit'==_0x2a8739){delete _0x291edb[_0x4ec603],_0x3e1c06=_0x2a8739,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x3e1c06&&_0x291edb['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x3e1c06&&_0x291edb['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x3e1c06&&_0x291edb['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x3e1c06&&_0x291edb['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x3e1c06&&_0x291edb['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x3e1c06&&_0x291edb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends ckeditor5['Command']{['execute'](){this['editor']['model']['change'](_0xce5b71=>{this['editor']['model']['insertObject'](_0xce5b71['createElement']('tableOfContents'));});}['refresh'](){const _0x282d24=this['editor']['model'],_0x299e3b=_0x282d24['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x299e3b&&_0x282d24['schema']['findAllowedParent'](_0x299e3b,'tableOfContents'));}}class _0x3527b5 extends ckeditor5['Plugin']{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x266ce0=this['editor'];if(_0x266ce0['config']['get']('headingId.modelAttributeName'))return;getDefaultHeadingMapNames(this['editor']['config']['get']('heading.options'))['forEach']((_0x19ffdc,_0x213e02)=>{this['_customUpcastHeadingsConversion'](_0x213e02),this['_customDataDowncastHeadingsConversion'](_0x19ffdc),_0x266ce0['model']['schema']['isRegistered'](_0x19ffdc)&&_0x266ce0['model']['schema']['extend'](_0x19ffdc,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']();}['_customUpcastHeadingsConversion'](_0x3a1c33){this['editor']['conversion']['for']('upcast')['add'](_0x59ff0d=>_0x59ff0d['on']('element:'+_0x3a1c33,(_0x4612af,_0x5219c0,_0x4c515e)=>{const {consumable:_0x433653,writer:_0x14b9ac}=_0x4c515e,_0x3a8edb=_0x5219c0['viewItem']['getAttribute']('id'),_0x4d5e8f=_0x5219c0['modelRange']['getContainedElement']();if(_0x4d5e8f)return _0x3a8edb&&_0x3a8edb['length']||_0x4d5e8f['hasAttribute']('headingId')?void(_0x433653['consume'](_0x5219c0['viewItem'],{'attributes':['id']})&&_0x14b9ac['setAttribute']('headingId',_0x3a8edb,_0x4d5e8f)):(_0x433653['consume'](_0x5219c0['viewItem'],{'attributes':['id']}),void _0x14b9ac['setAttribute']('headingId',ckeditor5['uid'](),_0x4d5e8f));},{'priority':ckeditor5['priorities']['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x43176f){this['editor']['conversion']['for']('downcast')['add'](_0x5ceaf8=>_0x5ceaf8['on']('attribute:headingId:'+_0x43176f,(_0x1d491b,_0x16abe9,_0x24cfea)=>{if(!_0x24cfea['consumable']['consume'](_0x16abe9['item'],_0x1d491b['name']))return;const _0x1da108=_0x16abe9['item']['getAttribute']('headingId'),_0x2867c1=_0x24cfea['mapper']['toViewElement'](_0x16abe9['item']);_0x24cfea['writer']['setAttribute']('id',_0x1da108,_0x2867c1);}));}['_registerHeadingIdAttributePostfixer'](){const _0x27c63d=this['editor'],_0x915b79=new Set(),_0x220740=new Set();function _0x3951b3(_0x59f876,_0x97ba46){const _0x1bc677=ckeditor5['uid']();return _0x220740['add'](_0x1bc677),_0x59f876['setAttribute']('headingId',_0x1bc677,_0x97ba46),_0x1bc677;}function _0x55ca7a(_0x481140,_0x2f92ae){_0x481140['removeAttribute']('headingId',_0x2f92ae);}_0x27c63d['model']['document']['registerPostFixer'](_0x37ed3a=>{const _0x3bb2a4=_0x27c63d['model']['document']['differ']['getChanges']();let _0x5803f9=!0x1;for(const _0x2d4ed9 of _0x3bb2a4)if('insert'==_0x2d4ed9['type']&&_0x2d4ed9['name']){if(_0x5f1b8a(_0x2d4ed9['name'])){const _0x1b63fd=_0x2d4ed9['attributes']['get']('headingId');'string'==typeof _0x1b63fd?_0x915b79['has'](_0x1b63fd)?(_0x3951b3(_0x37ed3a,_0x2d4ed9['position']['nodeAfter']),_0x5803f9=!0x0):_0x220740['add'](_0x1b63fd):(_0x3951b3(_0x37ed3a,_0x2d4ed9['position']['nodeAfter']),_0x5803f9=!0x0);}else'string'==typeof _0x2d4ed9['attributes']['get']('headingId')&&(_0x55ca7a(_0x37ed3a,_0x2d4ed9['position']['nodeAfter']),_0x5803f9=!0x0);}else{if('remove'==_0x2d4ed9['type']){const _0x886a37=_0x2d4ed9['attributes']['get']('headingId');'string'==typeof _0x886a37&&_0x915b79['delete'](_0x886a37);}}return _0x5803f9;}),_0x27c63d['model']['document']['on']('change',()=>{_0x220740['forEach'](_0x58bdae=>_0x915b79['add'](_0x58bdae)),_0x220740['clear']();});}}function _0x5f1b8a(_0x124e4b){return!!_0x124e4b['match'](/heading\d/);}function getDefaultHeadingMapNames(_0x5746d7){const _0x4b792e=new Map();return _0x5746d7?(_0x5746d7['forEach'](_0x4f50cb=>{'paragraph'!==_0x4f50cb['model']&&_0x4b792e['set'](_0x4f50cb['view'],_0x4f50cb['model']);}),_0x4b792e['get']('h1')||_0x4b792e['set']('h1','heading1'),_0x4b792e):_0x4b792e;}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,_0x3527b5];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x3d6947){super(_0x3d6947),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x4260b0=this['editor'],_0x594b3c=_0x4260b0['editing']['view']['document'];_0x4260b0['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x4260b0['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x594b3c,'click',(_0x30e5a3,_0x11ebf5)=>{if(!_0x11ebf5['target'])return;const _0x9bace1=_0x11ebf5['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x9bace1)&&(_0x11ebf5['domEvent']['preventDefault'](),_0x30e5a3['stop'](),this['_handleScrollToHeading'](_0x9bace1));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x4260b0['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x4260b0)),(_0x4260b0['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x3077b3,_0x36a102)=>{this['_currentOutlineDefinitions']=_0x36a102['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x4260b0['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){_0x5d2d75(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x26ca93=>{'$graveyard'!==_0x26ca93['rootName']&&this['editor']['editing']['reconvertItem'](_0x26ca93);});}['_trackNewToCElements'](){for(const _0x43db87 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x43db87['type']||'tableOfContents'!==_0x43db87['name'])return;this['_tableOfContentsElements']['add'](_0x43db87['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x2aaa7f=this['editor']['conversion'];_0x2aaa7f['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x2aaa7f['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x524427,{writer:_0x487d61})=>this['_createTableOfContents'](_0x487d61,!0x0)}),_0x2aaa7f['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x350c2d,{writer:_0xcf5234})=>{this['_tableOfContentsElements']['add'](_0x350c2d);const _0x535d73=this['_createTableOfContents'](_0xcf5234);return ckeditor5['toWidget'](_0x535d73,_0xcf5234,{'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'](_0x2b275f,_0x24541d=!0x1){const {locale:_0x4d4f12}=this['editor'],_0x464e5a=_0x2b275f['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x24541d&&{'data-table-of-contents-label':getTranslation$e(_0x4d4f12,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x24541d&&_0x2b275f['insert'](_0x2b275f['createPositionAt'](_0x464e5a,'end'),_0x2b275f['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x2b275f['createText'](getTranslation$e(_0x4d4f12,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0xf39f81=_0x24541d?'':'['+getTranslation$e(_0x4d4f12,'Empty\x20heading')+']';let _0xbed3b=_0x464e5a;return this['_currentOutlineDefinitions']['forEach']((_0x3784b6,_0x5231c6,_0x4b0957)=>{const _0x56ee1e=this['editor']['model']['hasContent'](_0x3784b6['modelElement'],{'ignoreWhitespaces':!0x0}),_0x3ddca1=_0x56ee1e?_0x3784b6['text']:_0xf39f81,_0x304e50=_0x3784b6['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x4588d7=_0x2b275f['createContainerElement']('a',{'href':'#'+_0x304e50,...!_0x24541d&&{'tabindex':'-1'}},[_0x2b275f['createText'](_0x3ddca1)]),_0x34a26c=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x2b275f['setCustomProperty']('tableOfContentsHeadingIndex',_0x5231c6,_0x4588d7);const _0x198f58=_0x2b275f['createContainerElement']('li',null,[_0x56ee1e||!_0x24541d&&_0x34a26c?_0x4588d7:_0x2b275f['createText']('')]),_0x128525=_0x5231c6?_0x4b0957[_0x5231c6-0x1]['level']:0x0,_0x2802cb=Math['abs'](_0x3784b6['level']-_0x128525);if(_0x3784b6['level']>_0x128525){const _0x37cf60=wrapInList(_0x198f58,_0x2802cb,_0x2b275f);_0x2b275f['insert'](_0x2b275f['createPositionAt'](_0xbed3b,'end'),_0x37cf60);}else{const _0x2210a8=getOuterListByLevelDifference(_0xbed3b,_0x2802cb);_0x2b275f['insert'](_0x2b275f['createPositionAt'](_0x2210a8,'end'),_0x198f58);}_0xbed3b=_0x198f58;}),_0x464e5a;}['_handleScrollToHeading'](_0x333d76){const _0x494c7a=this['_currentOutlineDefinitions'][_0x333d76]['modelElement'];this['editor']['model']['change'](_0x507bd7=>{_0x507bd7['setSelection'](_0x494c7a,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x5ec9c0,_0x1a18eb)=>{const _0xcf6ef0=_0x1a18eb['mapper'],_0x47329d=_0xcf6ef0['findMappedViewAncestor'](_0x1a18eb['viewPosition']),_0x177bd1=_0xcf6ef0['toModelElement'](_0x47329d);_0x177bd1['is']('element','tableOfContents')&&(_0x1a18eb['modelPosition']=this['editor']['model']['createPositionAt'](_0x177bd1,0x0),_0x5ec9c0['stop']());};}}function wrapInList(_0x3abfd8,_0x5322c2,_0x179335){return 0x1===_0x5322c2?_0x179335['createContainerElement']('ol',null,[_0x3abfd8]):_0x179335['createContainerElement']('ol',null,[_0x179335['createContainerElement']('li',null,[wrapInList(_0x3abfd8,_0x5322c2-0x1,_0x179335)])]);}function getOuterListByLevelDifference(_0x3d99d4,_0x14181b){return _0x3d99d4['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x5120c9=>_0x5120c9['is']('element','ol'))[_0x14181b];}async function _0x5d2d75(_0x4ee331){const _0x425b27=_0x10a12b([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]),_0x2a3e46=window[_0x10a12b([0x44,0x61,0x74,0x65])][_0x10a12b([0x6e,0x6f,0x77])](),_0x377f8c=_0x4ee331[_0x10a12b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x43995d=new window[(_0x10a12b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x308586=>{_0x377f8c[_0x10a12b([0x6f,0x6e,0x63,0x65])](_0x10a12b([0x72,0x65,0x61,0x64,0x79]),_0x308586);}),_0x9a874f={[_0x10a12b([0x6b,0x74,0x79])]:_0x10a12b([0x45,0x43]),[_0x10a12b([0x75,0x73,0x65])]:_0x10a12b([0x73,0x69,0x67]),[_0x10a12b([0x63,0x72,0x76])]:_0x10a12b([0x50,0x2d,0x32,0x35,0x36]),[_0x10a12b([0x78])]:_0x10a12b([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]),[_0x10a12b([0x79])]:_0x10a12b([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]),[_0x10a12b([0x61,0x6c,0x67])]:_0x10a12b([0x45,0x53,0x32,0x35,0x36])},_0x25811a=_0x377f8c[_0x10a12b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x10a12b([0x67,0x65,0x74])](_0x10a12b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5bb0b1=await(async function(){let _0x110448,_0x5e5a88=null,_0x5d50d3=null;try{if(_0x25811a==_0x10a12b([0x47,0x50,0x4c]))return _0x10a12b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x110448=(function(){const _0x46a718=_0x25811a[_0x10a12b([0x73,0x70,0x6c,0x69,0x74])](_0x10a12b([0x2e]));if(0x3!=_0x46a718[_0x10a12b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5eaebb=_0x46a718[0x1];return _0x30d8f7(_0x5eaebb);function _0x30d8f7(_0xfc9361){const _0x27bdb2=_0x524333(_0xfc9361);return _0x27bdb2&&_0x11abc4()?_0x27bdb2:null;function _0x11abc4(){const _0x2d98a0=_0x27bdb2[_0x10a12b([0x6a,0x74,0x69])],_0x45d163=window[_0x10a12b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d98a0[_0x10a12b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d98a0[_0x10a12b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5a4544={..._0x27bdb2,[_0x10a12b([0x6a,0x74,0x69])]:_0x2d98a0[_0x10a12b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2d98a0[_0x10a12b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5a4544[_0x10a12b([0x76,0x63])],_0x2f6dd2(_0x5a4544)==_0x45d163;}}}()),!_0x110448)return _0x10a12b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x110448[_0x10a12b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5d50d3=function(_0x26c38c,_0xa26d7b){return new window[(_0x10a12b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e9257=>{if(_0x115aee())return _0x2e9257(_0x10a12b([0x56,0x61,0x6c,0x69,0x64]));_0x2f7ea9(),_0x377f8c[_0x10a12b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x10a12b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x47cb98=!0x1;const _0x2c723a=ckeditor5['uid']();function _0xef4055(_0x6dcfc3){return!!_0x6dcfc3&&(typeof _0x6dcfc3===_0x10a12b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x6dcfc3===_0x10a12b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x6dcfc3[_0x10a12b([0x74,0x68,0x65,0x6e])]===_0x10a12b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x6dcfc3[_0x10a12b([0x63,0x61,0x74,0x63,0x68])]===_0x10a12b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2a2aa9(_0x24fc95){_0x150894(_0x24fc95)[_0x10a12b([0x74,0x68,0x65,0x6e])](_0xbec160=>{if(!_0xbec160||_0xbec160[_0x10a12b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x10a12b([0x6f,0x6b]))return _0x10a12b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x32ae96(_0x2f6dd2(_0x2c723a+_0xa26d7b))!=_0xbec160[_0x10a12b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x10a12b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x10a12b([0x56,0x61,0x6c,0x69,0x64]);})[_0x10a12b([0x74,0x68,0x65,0x6e])](_0x297277=>(_0x5f1878(),_0x297277),()=>{const _0x580d4f=_0x426635();return null==_0x580d4f?(_0x5f1878(),_0x10a12b([0x56,0x61,0x6c,0x69,0x64])):_0x10a12b(_0x2a3e46-_0x580d4f>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x10a12b([0x74,0x68,0x65,0x6e])](_0x2e9257)[_0x10a12b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2e9257(_0x10a12b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x51ab64=0x36ee80;function _0x5f1878(){const _0x1aa97f=_0x10a12b([0x6c,0x6c,0x63,0x74,0x2d])+_0x32ae96(_0x2f6dd2(_0x26c38c)),_0x2f2638=_0x230ff9(_0x32ae96(window[_0x10a12b([0x4d,0x61,0x74,0x68])][_0x10a12b([0x63,0x65,0x69,0x6c])](_0x2a3e46/_0x51ab64)));window[_0x10a12b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10a12b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1aa97f,_0x2f2638);}function _0x426635(){const _0x49dcd1=_0x10a12b([0x6c,0x6c,0x63,0x74,0x2d])+_0x32ae96(_0x2f6dd2(_0x26c38c)),_0x1ece34=window[_0x10a12b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10a12b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49dcd1);return _0x1ece34?window[_0x10a12b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x230ff9(_0x1ece34),0x10)*_0x51ab64:null;}function _0x150894(_0x29d97b){return new window[(_0x10a12b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ba279,_0x4f4588)=>{_0x29d97b[_0x10a12b([0x74,0x68,0x65,0x6e])](_0x1ba279,_0x4f4588),window[_0x10a12b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4f4588,0x1d4c0);});}}_0x377f8c[_0x10a12b([0x6f,0x6e])](_0x10a12b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x17ef37,_0x5c1739)=>{if(_0x5c1739[0x0]!=_0x26c38c)return _0x2e9257(_0x10a12b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c1739[0x1]={..._0x5c1739[0x1],[_0x10a12b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c723a};},{[_0x10a12b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10a12b([0x68,0x69,0x67,0x68])}),_0x377f8c[_0x10a12b([0x6f,0x6e])](_0x10a12b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1871f6=>{_0xef4055(_0x1871f6[_0x10a12b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x47cb98=!0x0,_0x2a2aa9(_0x1871f6[_0x10a12b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x10a12b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10a12b([0x6c,0x6f,0x77])}),_0x43995d[_0x10a12b([0x74,0x68,0x65,0x6e])](()=>{_0x47cb98||_0x2e9257(_0x10a12b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x115aee(){return _0x377f8c[_0x10a12b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10a12b([0x76,0x69,0x65,0x77])][_0x10a12b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x10a12b([0x61,0x75,0x74,0x6f]);}function _0x2f7ea9(){_0x377f8c[_0x10a12b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10a12b([0x76,0x69,0x65,0x77])][_0x10a12b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x10a12b([0x61,0x75,0x74,0x6f]);}}(_0x110448[_0x10a12b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x110448[_0x10a12b([0x6a,0x74,0x69])]));const _0x2daff7=await(async function(){let _0x23c328=!0x0;try{const _0x5948a8=_0x25811a[_0x10a12b([0x73,0x70,0x6c,0x69,0x74])](_0x10a12b([0x2e])),[_0x573561,_0x2c6bae,_0x22537e]=_0x5948a8;return _0x36b5d6(_0x573561),await _0x4d2cc7(_0x573561,_0x2c6bae,_0x22537e),_0x23c328;}catch{return!0x1;}function _0x36b5d6(_0x1518d0){const _0x1fe653=_0x524333(_0x1518d0);_0x1fe653&&_0x1fe653[_0x10a12b([0x61,0x6c,0x67])]==_0x10a12b([0x45,0x53,0x32,0x35,0x36])||(_0x23c328=!0x1);}async function _0x4d2cc7(_0x3c6e7b,_0x52eb39,_0x51cfd3){const _0x19b322=window[_0x10a12b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x10a12b([0x66,0x72,0x6f,0x6d])](_0x56478b(_0x51cfd3),_0x5696d9=>_0x5696d9[_0x10a12b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4bde3b=new window[(_0x10a12b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x10a12b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c6e7b+_0x10a12b([0x2e])+_0x52eb39),_0x1b76b2=window[_0x10a12b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x10a12b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b76b2)return;const _0x491410=await _0x1b76b2[_0x10a12b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x10a12b([0x6a,0x77,0x6b]),_0x9a874f,{[_0x10a12b([0x6e,0x61,0x6d,0x65])]:_0x10a12b([0x45,0x43,0x44,0x53,0x41]),[_0x10a12b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x10a12b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x10a12b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b76b2[_0x10a12b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x10a12b([0x6e,0x61,0x6d,0x65])]:_0x10a12b([0x45,0x43,0x44,0x53,0x41]),[_0x10a12b([0x68,0x61,0x73,0x68])]:{[_0x10a12b([0x6e,0x61,0x6d,0x65])]:_0x10a12b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x491410,_0x19b322,_0x4bde3b)||(_0x23c328=!0x1);}}());return _0x2daff7?(function(){const _0x1b00a8=_0x110448[_0x10a12b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1b00a8)return!0x1;if(_0x1b00a8[_0x10a12b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10a12b([0x2a])))return!0x0;if(_0x1b00a8[_0x10a12b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10a12b([0x54,0x4f,0x43])))return!0x0;if(_0x1b00a8[_0x10a12b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10a12b([0x50,0x50])))return!0x0;if(_0x1b00a8[_0x10a12b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10a12b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x10a12b([0x67,0x6c,0x6f,0x62])]&&window[_0x10a12b([0x67,0x6c,0x6f,0x62])][_0x10a12b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x162d86=[_0x10a12b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x10a12b([0x74,0x72,0x69,0x61,0x6c])][_0x10a12b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x110448[_0x10a12b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a3e46/0x3e8:0x69cb0e80;return _0x110448[_0x10a12b([0x65,0x78,0x70])]<_0x162d86;}())?_0x10a12b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x2f5ed8=_0x110448[_0x10a12b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2f5ed8||0x0==_0x2f5ed8[_0x10a12b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5d9409}=new URL(window[_0x10a12b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2f5ed8[_0x10a12b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d9409))return!0x0;const _0x30f5d0=_0x5d9409[_0x10a12b([0x73,0x70,0x6c,0x69,0x74])](_0x10a12b([0x2e]));return _0x2f5ed8[_0x10a12b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54e7d6=>_0x54e7d6[_0x10a12b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10a12b([0x2a])))[_0x10a12b([0x6d,0x61,0x70])](_0x37d014=>_0x37d014[_0x10a12b([0x73,0x70,0x6c,0x69,0x74])](_0x10a12b([0x2e])))[_0x10a12b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ff095=>_0x1ff095[_0x10a12b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x30f5d0[_0x10a12b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x10a12b([0x6d,0x61,0x70])](_0x42fb80=>Array(_0x30f5d0[_0x10a12b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x42fb80[_0x10a12b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x10a12b([0x66,0x69,0x6c,0x6c])](_0x42fb80[0x0]===_0x10a12b([0x2a])?_0x10a12b([0x2a]):'')[_0x10a12b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x42fb80))[_0x10a12b([0x73,0x6f,0x6d,0x65])](_0x3db744=>_0x30f5d0[_0x10a12b([0x65,0x76,0x65,0x72,0x79])]((_0x5953b6,_0x568512)=>_0x3db744[_0x568512]===_0x5953b6||_0x3db744[_0x568512]===_0x10a12b([0x2a])));}())?(_0x110448[_0x10a12b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x10a12b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e5a88=function(_0x169c61){const _0x1c31b5=new window[(_0x10a12b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59d319=>setTimeout(_0x59d319,0x93ecc)),_0x28a529=_0x43995d[_0x10a12b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x10a12b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28a6b0=>{let _0x2cc173=0x0;_0x377f8c[_0x10a12b([0x6d,0x6f,0x64,0x65,0x6c])][_0x10a12b([0x6f,0x6e])](_0x10a12b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1f110a,_0x224a86)=>{_0x224a86[0x0][_0x10a12b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2cc173++,0x5e8==_0x2cc173&&(_0x28a6b0(),_0x1f110a[_0x10a12b([0x6f,0x66,0x66])]());});})),_0x5d4acf=[_0x1c31b5,_0x28a529];return window[_0x10a12b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x10a12b([0x72,0x61,0x63,0x65])](_0x5d4acf)[_0x10a12b([0x74,0x68,0x65,0x6e])](()=>_0x169c61);}(_0x10a12b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x5e5a88&&_0x5d50d3)return new window[(_0x10a12b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3768d7,_0x33a748)=>{_0x5e5a88[_0x10a12b([0x74,0x68,0x65,0x6e])](_0x3768d7,_0x33a748),_0x5d50d3[_0x10a12b([0x74,0x68,0x65,0x6e])](_0xfaad0f=>{_0xfaad0f!=_0x10a12b([0x56,0x61,0x6c,0x69,0x64])&&_0x3768d7(_0xfaad0f);},_0x33a748);});return _0x5e5a88||_0x5d50d3||_0x10a12b([0x56,0x61,0x6c,0x69,0x64]);}())):_0x10a12b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x10a12b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x10a12b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x10a12b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x524333(_0x3d519c){return _0x3d519c[_0x10a12b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x10a12b([0x65,0x79]))?JSON[_0x10a12b([0x70,0x61,0x72,0x73,0x65])](_0x56478b(_0x3d519c)):null;}function _0x56478b(_0x3eb1e2){return window[_0x10a12b([0x61,0x74,0x6f,0x62])](_0x3eb1e2[_0x10a12b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x10a12b([0x2b]))[_0x10a12b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x10a12b([0x2f])));}function _0x2f6dd2(_0x135f8a){let _0x328c19=0x1505;function _0x402a27(_0x461269){for(let _0x325065=0x0;_0x325065<_0x461269[_0x10a12b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x325065++){const _0x247e95=_0x461269[_0x10a12b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x325065);_0x328c19=(_0x328c19<<0x5)+_0x328c19+_0x247e95,_0x328c19&=_0x328c19;}}return function _0x21d849(_0x332693){Array[_0x10a12b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x332693)?_0x332693[_0x10a12b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x21d849):_0x332693&&typeof _0x332693==_0x10a12b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x10a12b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x332693)[_0x10a12b([0x73,0x6f,0x72,0x74])]()[_0x10a12b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x378688,_0x60fd38])=>{_0x402a27(_0x378688),_0x21d849(_0x60fd38);}):_0x402a27(window[_0x10a12b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x332693));}(_0x135f8a),_0x328c19>>>0x0;}function _0x32ae96(_0x4e63e6){return _0x4e63e6[_0x10a12b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x10a12b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x10a12b([0x30]));}function _0x230ff9(_0x66f39e){return _0x66f39e[_0x10a12b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x10a12b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x10a12b([0x6a,0x6f,0x69,0x6e])]('');}function _0xa92281(){}function _0x10a12b(_0x1562b9){return _0x1562b9['map'](_0x507e91=>String['fromCharCode'](_0x507e91))['join']('');}!function(_0xb09307){const _0x10c305=(function(){const _0x422d74=window[_0x10a12b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x10a12b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x10a12b([0x6e,0x6f,0x77])]())[_0x10a12b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x10a12b([0x2e]),'');let _0x377a1e=_0x10a12b([0x6d]);for(let _0x386d1a=0x0;_0x386d1a<_0x422d74[_0x10a12b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x386d1a+=0x2){let _0x16ce7e=window[_0x10a12b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x422d74[_0x10a12b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x386d1a,_0x386d1a+0x2));_0x16ce7e>=_0x425b27[_0x10a12b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16ce7e-=_0x425b27[_0x10a12b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x377a1e+=_0x425b27[_0x16ce7e];}return _0x377a1e;}());_0x377f8c[_0x10c305]=_0x10a12b([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])+_0xb09307,_0xb09307!=_0x10a12b([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x43995d,_0x377f8c[_0x10a12b([0x6d,0x6f,0x64,0x65,0x6c])][_0x10a12b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa92281,_0x377f8c[_0x10a12b([0x6d,0x6f,0x64,0x65,0x6c])][_0x10a12b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa92281,_0x377f8c[_0x10a12b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x10a12b([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x5bb0b1);}class TableOfContentsUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x361386=this['editor'];_0x361386['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x51f97d=this['_createButton'](ckeditor5['ButtonView']);return _0x51f97d['tooltip']=!0x0,_0x51f97d;}),_0x361386['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2a8afd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3b55db;for(const _0xa53999 in _0x2a8afd){const _0x18f750=_0xa53999,_0x9aedc=_0x2a8afd[_0x18f750];if('tableOfContentsLicenseKeyValid'==_0x9aedc||'tableOfContentsLicenseKeyInvalid'==_0x9aedc||'tableOfContentsLicenseKeyExpired'==_0x9aedc||'tableOfContentsLicenseKeyDomainLimit'==_0x9aedc||'tableOfContentsLicenseKeyNotAllowed'==_0x9aedc||'tableOfContentsLicenseKeyEvaluationLimit'==_0x9aedc||'tableOfContentsLicenseKeyUsageLimit'==_0x9aedc){delete _0x2a8afd[_0x18f750],_0x3b55db=_0x9aedc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x3b55db&&_0x2a8afd['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x3b55db&&_0x2a8afd['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x3b55db&&_0x2a8afd['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x3b55db&&_0x2a8afd['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x3b55db&&_0x2a8afd['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x3b55db&&_0x2a8afd['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x200b73){const _0x1f858c=this['editor'],_0x358fa3=_0x1f858c['locale'],_0x53e7bf=_0x1f858c['commands']['get']('insertTableOfContents'),_0x6a472f=new _0x200b73(_0x358fa3);return _0x6a472f['set']({'label':getTranslation$e(_0x358fa3,'Table\x20of\x20contents'),'icon':ckeditor5['IconTableOfContents']}),_0x6a472f['bind']('isEnabled')['to'](_0x53e7bf,'isEnabled'),this['listenTo'](_0x6a472f,'execute',()=>{_0x1f858c['execute']('insertTableOfContents'),_0x1f858c['editing']['view']['focus']();}),_0x6a472f;}['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 _0x118153='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(_0x1d40b4){super(_0x1d40b4),_0x1d40b4['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){_0x285405(this);}['_logSuppressibleWarning'](_0x2584ef,_0x2027d1){if(this['_isSuppressedLog'](_0x2584ef,_0x2027d1))return;const _0x27860e=_0x118153+'/support/error-codes.html#error-'+_0x2584ef;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x2584ef,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x2027d1?[_0x2027d1]:[],'\x0aRead\x20more:\x20'+_0x27860e);}['_logSuppressibleInfo'](_0x244087,_0x267149,_0x1e2997){if(this['_isSuppressedLog'](_0x244087))return;let _0x470c5d=_0x267149;_0x1e2997&&(_0x470c5d+='\x0aRead\x20more:\x20'+(_0x118153+'/'+_0x1e2997)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x244087,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x470c5d);}['_checkUnsupportedPlugin'](_0x55ca2c,_0x9ab63f){this['editor']['plugins']['has'](_0x55ca2c)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x55ca2c,..._0x9ab63f});}['_validateConfigColorValue'](_0x5d0468){const _0x1cee7c=this['editor']['config']['get'](_0x5d0468);if(!_0x1cee7c)return;const _0x481b1a=Array['isArray'](_0x1cee7c),_0x928dce=_0x481b1a?_0x1cee7c:[_0x1cee7c];for(const [_0x4eef40,_0xfac311]of _0x928dce['entries']()){const _0xa9d820='string'==typeof _0xfac311?_0xfac311:_0xfac311['color'];isUnsupportedEmailColorValue(_0xa9d820)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x481b1a?_0x5d0468+'['+_0x4eef40+']':_0x5d0468,'color':_0xa9d820});}}['_validateConfigColorFormat'](_0x10a4e2){const _0x2e4090=this['editor']['config']['get'](_0x10a4e2);_0x2e4090&&isUnsupportedEmailColorFormat(_0x2e4090)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x10a4e2,'format':_0x2e4090});}['_isSuppressedLog'](_0xcd5534,_0x1cd2fa){const _0x1d3f4d=this['editor']['config']['get']('email.logs');return!!_0x1d3f4d['suppressAll']||(!('function'!=typeof _0x1d3f4d['suppress']||!_0x1d3f4d['suppress'](_0xcd5534,_0x1cd2fa))||!(!Array['isArray'](_0x1d3f4d['suppress'])||!_0x1d3f4d['suppress']['includes'](_0xcd5534)));}}const _0x347ef9=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function isUnsupportedEmailColorValue(_0x2bea86){return!!_0x2bea86&&_0x347ef9['some'](_0x489af3=>_0x2bea86['includes'](_0x489af3+'('));}function isUnsupportedEmailColorFormat(_0x321c41){return!!_0x321c41&&_0x347ef9['includes'](_0x321c41);}async function _0x285405(_0x55cf55){const _0x4878f6=_0x8681b0([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]),_0x3298b8=window[_0x8681b0([0x44,0x61,0x74,0x65])][_0x8681b0([0x6e,0x6f,0x77])](),_0x399ee0=_0x55cf55[_0x8681b0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x30d6df=new window[(_0x8681b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c606f=>{_0x399ee0[_0x8681b0([0x6f,0x6e,0x63,0x65])](_0x8681b0([0x72,0x65,0x61,0x64,0x79]),_0x2c606f);}),_0x491c49={[_0x8681b0([0x6b,0x74,0x79])]:_0x8681b0([0x45,0x43]),[_0x8681b0([0x75,0x73,0x65])]:_0x8681b0([0x73,0x69,0x67]),[_0x8681b0([0x63,0x72,0x76])]:_0x8681b0([0x50,0x2d,0x32,0x35,0x36]),[_0x8681b0([0x78])]:_0x8681b0([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]),[_0x8681b0([0x79])]:_0x8681b0([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]),[_0x8681b0([0x61,0x6c,0x67])]:_0x8681b0([0x45,0x53,0x32,0x35,0x36])},_0x2884cb=_0x399ee0[_0x8681b0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x8681b0([0x67,0x65,0x74])](_0x8681b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3ecac3=await(async function(){let _0x264f35,_0xf61619=null,_0x1c05ec=null;try{if(_0x2884cb==_0x8681b0([0x47,0x50,0x4c]))return _0x8681b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x264f35=(function(){const _0x344548=_0x2884cb[_0x8681b0([0x73,0x70,0x6c,0x69,0x74])](_0x8681b0([0x2e]));if(0x3!=_0x344548[_0x8681b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x290624=_0x344548[0x1];return _0x1b9f15(_0x290624);function _0x1b9f15(_0x22cd01){const _0x5637f8=_0x361c02(_0x22cd01);return _0x5637f8&&_0x3bf3d7()?_0x5637f8:null;function _0x3bf3d7(){const _0x15b298=_0x5637f8[_0x8681b0([0x6a,0x74,0x69])],_0x5dc8dc=window[_0x8681b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15b298[_0x8681b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15b298[_0x8681b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x31d15a={..._0x5637f8,[_0x8681b0([0x6a,0x74,0x69])]:_0x15b298[_0x8681b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15b298[_0x8681b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x31d15a[_0x8681b0([0x76,0x63])],_0x476e7c(_0x31d15a)==_0x5dc8dc;}}}()),!_0x264f35)return _0x8681b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x264f35[_0x8681b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c05ec=function(_0x2ba47d,_0x7281a6){return new window[(_0x8681b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51566b=>{if(_0x505667())return _0x51566b(_0x8681b0([0x56,0x61,0x6c,0x69,0x64]));_0x3a10cc(),_0x399ee0[_0x8681b0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x8681b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x525204=!0x1;const _0x97b8b6=ckeditor5['uid']();function _0x5d5a6a(_0x53f297){return!!_0x53f297&&(typeof _0x53f297===_0x8681b0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x53f297===_0x8681b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x53f297[_0x8681b0([0x74,0x68,0x65,0x6e])]===_0x8681b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x53f297[_0x8681b0([0x63,0x61,0x74,0x63,0x68])]===_0x8681b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x256779(_0x5945c5){_0x994f45(_0x5945c5)[_0x8681b0([0x74,0x68,0x65,0x6e])](_0x298694=>{if(!_0x298694||_0x298694[_0x8681b0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x8681b0([0x6f,0x6b]))return _0x8681b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x263705(_0x476e7c(_0x97b8b6+_0x7281a6))!=_0x298694[_0x8681b0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x8681b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x8681b0([0x56,0x61,0x6c,0x69,0x64]);})[_0x8681b0([0x74,0x68,0x65,0x6e])](_0x5213f6=>(_0x4a3736(),_0x5213f6),()=>{const _0x5102e9=_0x2ec416();return null==_0x5102e9?(_0x4a3736(),_0x8681b0([0x56,0x61,0x6c,0x69,0x64])):_0x8681b0(_0x3298b8-_0x5102e9>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x8681b0([0x74,0x68,0x65,0x6e])](_0x51566b)[_0x8681b0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x51566b(_0x8681b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x716b71=0x36ee80;function _0x4a3736(){const _0x269afd=_0x8681b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x263705(_0x476e7c(_0x2ba47d)),_0x420710=_0x46bd35(_0x263705(window[_0x8681b0([0x4d,0x61,0x74,0x68])][_0x8681b0([0x63,0x65,0x69,0x6c])](_0x3298b8/_0x716b71)));window[_0x8681b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8681b0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x269afd,_0x420710);}function _0x2ec416(){const _0x56ab3b=_0x8681b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x263705(_0x476e7c(_0x2ba47d)),_0x568937=window[_0x8681b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8681b0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56ab3b);return _0x568937?window[_0x8681b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46bd35(_0x568937),0x10)*_0x716b71:null;}function _0x994f45(_0x99f7c1){return new window[(_0x8681b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43c983,_0x4d389d)=>{_0x99f7c1[_0x8681b0([0x74,0x68,0x65,0x6e])](_0x43c983,_0x4d389d),window[_0x8681b0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4d389d,0x1d4c0);});}}_0x399ee0[_0x8681b0([0x6f,0x6e])](_0x8681b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b41a1,_0x32cc72)=>{if(_0x32cc72[0x0]!=_0x2ba47d)return _0x51566b(_0x8681b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x32cc72[0x1]={..._0x32cc72[0x1],[_0x8681b0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x97b8b6};},{[_0x8681b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8681b0([0x68,0x69,0x67,0x68])}),_0x399ee0[_0x8681b0([0x6f,0x6e])](_0x8681b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x35bb46=>{_0x5d5a6a(_0x35bb46[_0x8681b0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x525204=!0x0,_0x256779(_0x35bb46[_0x8681b0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x8681b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8681b0([0x6c,0x6f,0x77])}),_0x30d6df[_0x8681b0([0x74,0x68,0x65,0x6e])](()=>{_0x525204||_0x51566b(_0x8681b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x505667(){return _0x399ee0[_0x8681b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8681b0([0x76,0x69,0x65,0x77])][_0x8681b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x8681b0([0x61,0x75,0x74,0x6f]);}function _0x3a10cc(){_0x399ee0[_0x8681b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8681b0([0x76,0x69,0x65,0x77])][_0x8681b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x8681b0([0x61,0x75,0x74,0x6f]);}}(_0x264f35[_0x8681b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x264f35[_0x8681b0([0x6a,0x74,0x69])]));const _0x209cb3=await(async function(){let _0x32ee92=!0x0;try{const _0x67efea=_0x2884cb[_0x8681b0([0x73,0x70,0x6c,0x69,0x74])](_0x8681b0([0x2e])),[_0x4c9407,_0xbf17a,_0x2b9d5d]=_0x67efea;return _0x29cae5(_0x4c9407),await _0x25be2b(_0x4c9407,_0xbf17a,_0x2b9d5d),_0x32ee92;}catch{return!0x1;}function _0x29cae5(_0x11846b){const _0x48bd4f=_0x361c02(_0x11846b);_0x48bd4f&&_0x48bd4f[_0x8681b0([0x61,0x6c,0x67])]==_0x8681b0([0x45,0x53,0x32,0x35,0x36])||(_0x32ee92=!0x1);}async function _0x25be2b(_0x30e511,_0x345c86,_0x14ab6e){const _0x346974=window[_0x8681b0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x8681b0([0x66,0x72,0x6f,0x6d])](_0x44281f(_0x14ab6e),_0x371b40=>_0x371b40[_0x8681b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x400846=new window[(_0x8681b0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x8681b0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x30e511+_0x8681b0([0x2e])+_0x345c86),_0x3aae90=window[_0x8681b0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x8681b0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3aae90)return;const _0x59c8ff=await _0x3aae90[_0x8681b0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x8681b0([0x6a,0x77,0x6b]),_0x491c49,{[_0x8681b0([0x6e,0x61,0x6d,0x65])]:_0x8681b0([0x45,0x43,0x44,0x53,0x41]),[_0x8681b0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x8681b0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x8681b0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3aae90[_0x8681b0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x8681b0([0x6e,0x61,0x6d,0x65])]:_0x8681b0([0x45,0x43,0x44,0x53,0x41]),[_0x8681b0([0x68,0x61,0x73,0x68])]:{[_0x8681b0([0x6e,0x61,0x6d,0x65])]:_0x8681b0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x59c8ff,_0x346974,_0x400846)||(_0x32ee92=!0x1);}}());return _0x209cb3?(function(){const _0x42700b=_0x264f35[_0x8681b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x42700b)return!0x1;if(_0x42700b[_0x8681b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8681b0([0x2a])))return!0x0;if(_0x42700b[_0x8681b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8681b0([0x45,0x43,0x48])))return!0x0;return!0x1;}())?(function(){const _0x516871=[_0x8681b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x8681b0([0x74,0x72,0x69,0x61,0x6c])][_0x8681b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x264f35[_0x8681b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3298b8/0x3e8:0x69cb0e80;return _0x264f35[_0x8681b0([0x65,0x78,0x70])]<_0x516871;}())?_0x8681b0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x53ab4f=_0x264f35[_0x8681b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x53ab4f||0x0==_0x53ab4f[_0x8681b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x135913}=new URL(window[_0x8681b0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x53ab4f[_0x8681b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x135913))return!0x0;const _0x4ffb59=_0x135913[_0x8681b0([0x73,0x70,0x6c,0x69,0x74])](_0x8681b0([0x2e]));return _0x53ab4f[_0x8681b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49e0e7=>_0x49e0e7[_0x8681b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8681b0([0x2a])))[_0x8681b0([0x6d,0x61,0x70])](_0x4b8dcc=>_0x4b8dcc[_0x8681b0([0x73,0x70,0x6c,0x69,0x74])](_0x8681b0([0x2e])))[_0x8681b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x978a2f=>_0x978a2f[_0x8681b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4ffb59[_0x8681b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8681b0([0x6d,0x61,0x70])](_0x3e7960=>Array(_0x4ffb59[_0x8681b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3e7960[_0x8681b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8681b0([0x66,0x69,0x6c,0x6c])](_0x3e7960[0x0]===_0x8681b0([0x2a])?_0x8681b0([0x2a]):'')[_0x8681b0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3e7960))[_0x8681b0([0x73,0x6f,0x6d,0x65])](_0x18cb8b=>_0x4ffb59[_0x8681b0([0x65,0x76,0x65,0x72,0x79])]((_0x377f25,_0x5e16b3)=>_0x18cb8b[_0x5e16b3]===_0x377f25||_0x18cb8b[_0x5e16b3]===_0x8681b0([0x2a])));}())?(_0x264f35[_0x8681b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8681b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf61619=function(_0x40a08c){const _0xcda6f2=new window[(_0x8681b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49831f=>setTimeout(_0x49831f,0x93ecc)),_0x33419a=_0x30d6df[_0x8681b0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x8681b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dd858=>{let _0x4accbb=0x0;_0x399ee0[_0x8681b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x8681b0([0x6f,0x6e])](_0x8681b0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2ecf14,_0x3a96a0)=>{_0x3a96a0[0x0][_0x8681b0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4accbb++,0x5e8==_0x4accbb&&(_0x2dd858(),_0x2ecf14[_0x8681b0([0x6f,0x66,0x66])]());});})),_0x2b5c9f=[_0xcda6f2,_0x33419a];return window[_0x8681b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x8681b0([0x72,0x61,0x63,0x65])](_0x2b5c9f)[_0x8681b0([0x74,0x68,0x65,0x6e])](()=>_0x40a08c);}(_0x8681b0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0xf61619&&_0x1c05ec)return new window[(_0x8681b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a17db,_0x1a8ce9)=>{_0xf61619[_0x8681b0([0x74,0x68,0x65,0x6e])](_0x3a17db,_0x1a8ce9),_0x1c05ec[_0x8681b0([0x74,0x68,0x65,0x6e])](_0x40c7a0=>{_0x40c7a0!=_0x8681b0([0x56,0x61,0x6c,0x69,0x64])&&_0x3a17db(_0x40c7a0);},_0x1a8ce9);});return _0xf61619||_0x1c05ec||_0x8681b0([0x56,0x61,0x6c,0x69,0x64]);}())):_0x8681b0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x8681b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x8681b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x8681b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x361c02(_0x1806f7){return _0x1806f7[_0x8681b0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x8681b0([0x65,0x79]))?JSON[_0x8681b0([0x70,0x61,0x72,0x73,0x65])](_0x44281f(_0x1806f7)):null;}function _0x44281f(_0x5b09cd){return window[_0x8681b0([0x61,0x74,0x6f,0x62])](_0x5b09cd[_0x8681b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x8681b0([0x2b]))[_0x8681b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x8681b0([0x2f])));}function _0x476e7c(_0x4bc35a){let _0x1fdc0d=0x1505;function _0xf9dcdd(_0x43bf36){for(let _0x2928e9=0x0;_0x2928e9<_0x43bf36[_0x8681b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2928e9++){const _0x492517=_0x43bf36[_0x8681b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2928e9);_0x1fdc0d=(_0x1fdc0d<<0x5)+_0x1fdc0d+_0x492517,_0x1fdc0d&=_0x1fdc0d;}}return function _0x1574ff(_0x4f196c){Array[_0x8681b0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f196c)?_0x4f196c[_0x8681b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1574ff):_0x4f196c&&typeof _0x4f196c==_0x8681b0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x8681b0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f196c)[_0x8681b0([0x73,0x6f,0x72,0x74])]()[_0x8681b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4a9218,_0x3db8b1])=>{_0xf9dcdd(_0x4a9218),_0x1574ff(_0x3db8b1);}):_0xf9dcdd(window[_0x8681b0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f196c));}(_0x4bc35a),_0x1fdc0d>>>0x0;}function _0x263705(_0x58e4fb){return _0x58e4fb[_0x8681b0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x8681b0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x8681b0([0x30]));}function _0x46bd35(_0x34b866){return _0x34b866[_0x8681b0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x8681b0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x8681b0([0x6a,0x6f,0x69,0x6e])]('');}function _0x329eec(){}function _0x8681b0(_0x311888){return _0x311888['map'](_0x20b813=>String['fromCharCode'](_0x20b813))['join']('');}!function(_0x203626){const _0x1579ff=(function(){const _0x10961a=window[_0x8681b0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x8681b0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x8681b0([0x6e,0x6f,0x77])]())[_0x8681b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x8681b0([0x2e]),'');let _0x4d988c=_0x8681b0([0x75]);for(let _0x2ad8bf=0x0;_0x2ad8bf<_0x10961a[_0x8681b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ad8bf+=0x2){let _0x413a3a=window[_0x8681b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10961a[_0x8681b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ad8bf,_0x2ad8bf+0x2));_0x413a3a>=_0x4878f6[_0x8681b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x413a3a-=_0x4878f6[_0x8681b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d988c+=_0x4878f6[_0x413a3a];}return _0x4d988c;}());_0x399ee0[_0x1579ff]=_0x8681b0([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])+_0x203626,_0x203626!=_0x8681b0([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x30d6df,_0x399ee0[_0x8681b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x8681b0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x329eec,_0x399ee0[_0x8681b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x8681b0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x329eec,_0x399ee0[_0x8681b0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x8681b0([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x3ecac3);}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(_0x1f0fba){var _0x12dfcd,_0x38af50,_0x5b2bde,_0xaad729,_0x4a35b1=[];for(_0x5b2bde=0x0,_0xaad729=(_0x12dfcd=_0x1f0fba['split'](','))['length'];_0x5b2bde<_0xaad729;_0x5b2bde+=0x1)(_0x38af50=_0x12dfcd[_0x5b2bde])['length']>0x0&&_0x4a35b1['push'](calculateSingle(_0x38af50));return _0x4a35b1;},calculateSingle=function(_0x1092f1){var _0xf2e239,_0x177611,_0x2b839c=_0x1092f1,_0x13e56d={'a':0x0,'b':0x0,'c':0x0},_0x31f34e=[];return _0xf2e239=function(_0x472d74,_0x154817){var _0x529db1,_0x4f0bcc,_0x50f8c3,_0x56a856,_0x49dbf9,_0x2f23ca;if(_0x472d74['test'](_0x2b839c)){for(_0x4f0bcc=0x0,_0x50f8c3=(_0x529db1=_0x2b839c['match'](_0x472d74))['length'];_0x4f0bcc<_0x50f8c3;_0x4f0bcc+=0x1)_0x13e56d[_0x154817]+=0x1,_0x56a856=_0x529db1[_0x4f0bcc],_0x49dbf9=_0x2b839c['indexOf'](_0x56a856),_0x2f23ca=_0x56a856['length'],_0x31f34e['push']({'selector':_0x1092f1['substr'](_0x49dbf9,_0x2f23ca),'type':_0x154817,'index':_0x49dbf9,'length':_0x2f23ca}),_0x2b839c=_0x2b839c['replace'](_0x56a856,Array(_0x2f23ca+0x1)['join']('\x20'));}},_0x177611=function(_0x194e8d){var _0x43a5ea,_0x48b24d,_0x1dabbc,_0x291a02;if(_0x194e8d['test'](_0x2b839c)){for(_0x48b24d=0x0,_0x1dabbc=(_0x43a5ea=_0x2b839c['match'](_0x194e8d))['length'];_0x48b24d<_0x1dabbc;_0x48b24d+=0x1)_0x291a02=_0x43a5ea[_0x48b24d],_0x2b839c=_0x2b839c['replace'](_0x291a02,Array(_0x291a02['length']+0x1)['join']('A'));}},_0x177611(/\\[0-9A-Fa-f]{6}\s?/g),_0x177611(/\\[0-9A-Fa-f]{1,5}\s/g),_0x177611(/\\./g),(function(){var _0x587cb9,_0x23a3b6,_0xfe199d,_0x565627,_0x9facd7=/{[^]*/gm;if(_0x9facd7['test'](_0x2b839c)){for(_0x23a3b6=0x0,_0xfe199d=(_0x587cb9=_0x2b839c['match'](_0x9facd7))['length'];_0x23a3b6<_0xfe199d;_0x23a3b6+=0x1)_0x565627=_0x587cb9[_0x23a3b6],_0x2b839c=_0x2b839c['replace'](_0x565627,Array(_0x565627['length']+0x1)['join']('\x20'));}}()),_0xf2e239(/(\[[^\]]+\])/g,'b'),_0xf2e239(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0xf2e239(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0xf2e239(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0xf2e239(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0xf2e239(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x2b839c=(_0x2b839c=(_0x2b839c=(_0x2b839c=(_0x2b839c=(_0x2b839c=_0x2b839c['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'),_0xf2e239(/([^\s\+>~\.\[:]+)/g,'c'),_0x31f34e['sort'](function(_0x740a71,_0x4410db){return _0x740a71['index']-_0x4410db['index'];}),{'selector':_0x1092f1,'specificity':'0,'+_0x13e56d['a']['toString']()+','+_0x13e56d['b']['toString']()+','+_0x13e56d['c']['toString'](),'specificityArray':[0x0,_0x13e56d['a'],_0x13e56d['b'],_0x13e56d['c']],'parts':_0x31f34e};},_0x575e1c=function(_0x241387,_0x16f25d){var _0x4b5936,_0x40e26c,_0x4f8224;if('string'==typeof _0x241387){if(-0x1!==_0x241387['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x4b5936=calculateSingle(_0x241387)['specificityArray'];}else{if(!Array['isArray'](_0x241387))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x241387['filter'](function(_0x1586be){return'number'==typeof _0x1586be;})['length'])throw'Invalid\x20specificity\x20array';_0x4b5936=_0x241387;}if('string'==typeof _0x16f25d){if(-0x1!==_0x16f25d['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x40e26c=calculateSingle(_0x16f25d)['specificityArray'];}else{if(!Array['isArray'](_0x16f25d))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x16f25d['filter'](function(_0x45e4b7){return'number'==typeof _0x45e4b7;})['length'])throw'Invalid\x20specificity\x20array';_0x40e26c=_0x16f25d;}for(_0x4f8224=0x0;_0x4f8224<0x4;_0x4f8224+=0x1){if(_0x4b5936[_0x4f8224]<_0x40e26c[_0x4f8224])return-0x1;if(_0x4b5936[_0x4f8224]>_0x40e26c[_0x4f8224])return 0x1;}return 0x0;};function splitByTopLevelComma(_0x6068c9){const _0x43f844=[];let _0x18c6bc='',_0x4f9b4a=0x0;for(;_0x4f9b4a<_0x6068c9['length'];){const _0x364869=_0x6068c9[_0x4f9b4a];if('('===_0x364869){const _0x34e88c=findMatchingParenthesis(_0x6068c9,_0x4f9b4a+0x1);if(-0x1===_0x34e88c)return[];_0x18c6bc+=_0x6068c9['slice'](_0x4f9b4a,_0x34e88c+0x1),_0x4f9b4a=_0x34e88c+0x1;}else','!==_0x364869||_0x18c6bc['endsWith']('\x5c')?(_0x18c6bc+=_0x364869,_0x4f9b4a++):(_0x43f844['push'](_0x18c6bc['trim']()),_0x18c6bc='',_0x4f9b4a++);}return _0x18c6bc['trim']()&&_0x43f844['push'](_0x18c6bc['trim']()),_0x43f844['filter'](Boolean);}function findMatchingParenthesis(_0xcc4aee,_0x1eb3fd){let _0x2b76c9=0x1;for(let _0x2f6cd9=_0x1eb3fd;_0x2f6cd9<_0xcc4aee['length'];_0x2f6cd9++){const _0x334f1e=_0xcc4aee[_0x2f6cd9];if('('===_0x334f1e)_0x2b76c9++;else{if(')'===_0x334f1e&&(_0x2b76c9--,0x0===_0x2b76c9))return _0x2f6cd9;}}return-0x1;}function dropImportantStyleSuffix(_0x48206b){return _0x48206b['replace'](/!\s*important/i,'')['trim']();}function collectRootStylesheetsVariables(_0x122a95){const _0x226d11=new Map();for(const {stylesMap:_0x4e9fd5,flatSelector:_0x1c450b}of _0x122a95){if(':root'!==_0x1c450b)continue;const _0x315c0e=inlineStylesMapCSSVariables(_0x226d11['get']['bind'](_0x226d11),_0x4e9fd5);for(const [_0x4df917,_0x2cfc30]of _0x315c0e)_0x226d11['set'](_0x4df917,_0x2cfc30);}return _0x226d11;}function inlineStylesMapCSSVariables(_0x188aff,_0x2e7daf){const _0x484e41=new Map(),_0x3497f5=_0x453020=>_0x484e41['has'](_0x453020)?_0x484e41['get'](_0x453020):_0x188aff(_0x453020);for(const [_0x5b8912,_0x219ef7]of _0x2e7daf['getStylesEntries']())if(_0x219ef7&&_0x5b8912['startsWith']('--')){const _0x1eb440=inlineCSSVariablesInString(_0x3497f5,_0x219ef7);_0x484e41['set'](_0x5b8912,_0x1eb440),_0x2e7daf['remove'](_0x5b8912);}for(const [_0x329865,_0x592326]of _0x2e7daf['getStylesEntries']())if(_0x592326){const _0x8f0111=inlineCSSVariablesInString(_0x3497f5,_0x592326);_0x2e7daf['set'](_0x329865,_0x8f0111);}return _0x484e41;}function inlineCSSVariablesInString(_0x426831,_0x230744){return _0xca8ce(_0x230744,_0x5e3d56=>{const [_0x3c35ec,_0x31d11c]=splitByTopLevelComma(_0x5e3d56),_0xbc5e98=_0x426831(_0x3c35ec);return void 0x0!==_0xbc5e98?_0xbc5e98:_0x31d11c?inlineCSSVariablesInString(_0x426831,_0x31d11c):'var('+_0x3c35ec+')';});}function _0xca8ce(_0x1d7211,_0x2ecd75){let _0x4de3f7='',_0x3373b3=0x0;for(;_0x3373b3<_0x1d7211['length'];){const _0x55e081=_0x1d7211['indexOf']('var(',_0x3373b3);if(-0x1===_0x55e081){_0x4de3f7+=_0x1d7211['slice'](_0x3373b3);break;}_0x4de3f7+=_0x1d7211['slice'](_0x3373b3,_0x55e081);const _0x345a73=_0x55e081+0x4,_0x172e7c=findMatchingParenthesis(_0x1d7211,_0x345a73);_0x4de3f7+=_0x2ecd75(_0x1d7211['substring'](_0x345a73,_0x172e7c)),_0x3373b3=_0x172e7c+0x1;}return _0x4de3f7;}async function collectAndProcessStylesheets(_0xc93371){const _0x41f25c=[await ckeditor5['collectStylesheets'](_0xc93371['stylesheets']),_0xc93371['inlineCss']]['filter'](_0x2891df=>_0x2891df&&_0x2891df['length'])['join']('\x0a'),_0xf769db=await convertRawStylesheetToParsedCSSRules(_0xc93371['stylesProcessor'],_0x41f25c);return{'parsedCssRules':_0xf769db,'rootCssVariables':collectRootStylesheetsVariables(_0xf769db)};}async function convertRawStylesheetToParsedCSSRules(_0x4ba633,_0x24c0ff){const _0x38ff73=new CSSStyleSheet();return await _0x38ff73['replace'](_0x24c0ff),dropCSSNesting(Array['from'](_0x38ff73['cssRules'])['filter'](_0x235f25=>_0x235f25 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x197e7c,contentCssText:_0x25ae05})=>{const _0x1ed2d1=splitByTopLevelComma(_0x197e7c),_0x28013c=new ckeditor5['StylesMap'](_0x4ba633)['setTo'](_0x25ae05);return _0x1ed2d1['map'](_0x387a16=>{const _0x50585b=_0x2ab123(_0x387a16),_0x3dedb5=_0x50585b?calculate(_0x50585b)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x28013c,'flatSelector':_0x387a16,'specificity':_0x3dedb5};});})['sort']((_0x1ce453,_0x2d2682)=>_0x575e1c(_0x1ce453['specificity'],_0x2d2682['specificity']));}function _0x2ab123(_0x132a6b){const _0x2a2591=':where(';let _0x5a9bd5=_0x132a6b,_0x435511=0x0;for(let _0x26220f=0x0;_0x26220f<0x64;_0x26220f++){const _0x299f70=_0x5a9bd5['indexOf'](_0x2a2591,_0x435511);if(-0x1===_0x299f70)break;let _0xc8517f=0x0;for(let _0x4095dc=0x0;_0x4095dc<_0x299f70;_0x4095dc++)'('===_0x5a9bd5[_0x4095dc]?_0xc8517f++:')'===_0x5a9bd5[_0x4095dc]&&_0xc8517f--;if(_0xc8517f>0x0){_0x435511=_0x299f70+0x7;continue;}let _0x41bab6=-0x1;for(let _0x4435f5=_0x299f70+0x7,_0x31e9b8=0x1;_0x4435f5<_0x5a9bd5['length'];_0x4435f5++)if('('===_0x5a9bd5[_0x4435f5]?_0x31e9b8++:')'===_0x5a9bd5[_0x4435f5]&&_0x31e9b8--,!_0x31e9b8){_0x41bab6=_0x4435f5;break;}-0x1!==_0x41bab6?(_0x5a9bd5=_0x5a9bd5['slice'](0x0,_0x299f70)+_0x5a9bd5['slice'](_0x41bab6+0x1),_0x435511=_0x299f70):_0x435511=_0x299f70+0x7;}return _0x5a9bd5['replace'](/\s+/g,'\x20')['trim']();}function dropCSSNesting(_0xaef55c,_0x26133a=''){return _0xaef55c['flatMap'](_0x377aa1=>{const {selectorText:_0x29be18,cssText:_0x4d51da,cssRules:_0x3e2544}=_0x377aa1;if(!_0x29be18)return[];const _0x3df51e=_0x29be18['replace'](/&/g,_0x26133a);let _0x5746d4=_0x4d51da['replace'](_0x29be18,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x3e2544||!_0x3e2544['length'])return[{'selectorText':_0x3df51e,'contentCssText':_0x5746d4}];for(const _0x36b996 of _0x3e2544)_0x5746d4=_0x5746d4['replace'](_0x36b996['cssText'],'')['trim']();return[{'selectorText':_0x3df51e,'contentCssText':_0x5746d4},...dropCSSNesting(Array['from'](_0x3e2544),_0x3df51e)];});}function getElementInlineStyles(_0x13e476){const _0x1f3093=_0x13e476['element']['getAttribute']('style')||'',_0x42f999=_0x13e476['parsedCssRules']['filter'](_0x1571db=>_0x13e476['element']['matches'](_0x1571db['flatSelector']))['map'](_0xd1b569=>_0xd1b569['stylesMap']),_0x451a3e=concatStylesMaps(_0x13e476['stylesProcessor'],[..._0x42f999,_0x1f3093]);return{'localCSSVariables':inlineStylesMapCSSVariables(_0x13e476['fallbackCSSVariablesLookup'],_0x451a3e),'stylesMap':_0x451a3e};}function concatStylesMaps(_0x59a40c,_0x4888af){const _0x436d51=new ckeditor5['StylesMap'](_0x59a40c);for(const _0x2b84a8 of _0x4888af){let _0x53b37f=null;if(_0x53b37f='string'==typeof _0x2b84a8?new ckeditor5['StylesMap'](_0x59a40c)['setTo'](_0x2b84a8):_0x2b84a8,_0x53b37f){for(const [_0x2e3abf,_0x1923ef]of _0x53b37f['getStylesEntries']())_0x436d51['set'](_0x2e3abf,_0x1923ef);}}return _0x436d51;}class ExportInlineStylesCommand extends ckeditor5['Command']{['_stylesProcessor'];constructor(_0x3ff5db){super(_0x3ff5db),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'](_0x5dff00){const _0x1127fc=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x1dc97d}=this['editor']['locale'],{rootName:_0xfff1ea='main',dataControllerDowncastOptions:_0x414c3a={},transformations:_0x565ad6=_0x1127fc['transformations']||[]}=_0x5dff00||{};this['isBusy']=!0x0,this['refresh']();const _0xad41ba=this['_getRootDataHTMLFragment'](_0xfff1ea,_0x414c3a),_0x2ea5fe=ckeditor5['createElement'](_0xad41ba['ownerDocument'],'div',{'dir':_0x1dc97d,'class':'ck-content'},[_0xad41ba]);return this['_collectAndApplyStyles'](_0x565ad6,_0x2ea5fe)['then'](()=>{const _0x3d3e18=extractElementChildrenAsFragment(_0x2ea5fe),_0x2f961f=_0x2ea5fe['getAttribute']('style');if(_0x2f961f)for(const _0x210948 of _0x3d3e18['children']){const _0x50a387=_0x210948['getAttribute']('style'),_0x44dc1c=concatStylesMaps(this['_stylesProcessor'],[_0x2f961f,_0x50a387]);_0x210948['setAttribute']('style',dumpNonSortedStylesMap(_0x44dc1c));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x3d3e18);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x16f752,_0x5c25a4){const {data:_0x53dd45,model:_0x3fda45}=this['editor'],_0x12a107=_0x3fda45['document']['getRoot'](_0x16f752),_0x4e3b2d=_0x53dd45['toView'](_0x12a107,_0x5c25a4);return _0x53dd45['htmlProcessor']['domConverter']['viewToDom'](_0x4e3b2d);}async['_collectAndApplyStyles'](_0x212fd4,_0x79e0d5){const {stylesheets:_0x1b5c20,inlineCss:_0x31fe09,stripCssClasses:_0x56a9d2}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x55a99b,rootCssVariables:_0x59c227}=await collectAndProcessStylesheets({'stylesheets':_0x1b5c20||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x31fe09});this['_processElementTree']({'transformations':_0x212fd4,'parsedCssRules':_0x55a99b,'element':_0x79e0d5,'stripCssClasses':_0x56a9d2,'parentCSSVariablesLookup':_0x59c227['get']['bind'](_0x59c227)});}['_processElementTree']({element:_0x193e85,parsedCssRules:_0x3d3df9,parentCSSVariablesLookup:_0x439515,stripCssClasses:_0x5b8f8,transformations:_0x37ec76}){const {stylesMap:_0x9c5451,localCSSVariables:_0x7ab37e}=getElementInlineStyles({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x439515,'parsedCssRules':_0x3d3df9,'element':_0x193e85});for(const _0x3823ca of _0x37ec76){const _0x164781=_0x3823ca(_0x193e85,_0x9c5451);_0x164781&&_0x164781 instanceof HTMLElement&&(_0x193e85=_0x164781);}_0x9c5451['size']?_0x193e85['setAttribute']('style',dumpNonSortedStylesMap(_0x9c5451)):_0x193e85['removeAttribute']('style');const _0x50e4c5=_0x37ebbf=>_0x7ab37e['has'](_0x37ebbf)?_0x7ab37e['get'](_0x37ebbf):_0x439515(_0x37ebbf);for(const _0x9a941d of _0x193e85['children'])_0x9a941d instanceof HTMLElement&&this['_processElementTree']({'element':_0x9a941d,'parentCSSVariablesLookup':_0x50e4c5,'parsedCssRules':_0x3d3df9,'stripCssClasses':_0x5b8f8,'transformations':_0x37ec76});_0x5b8f8&&_0x193e85['removeAttribute']('class');}}function dumpNonSortedStylesMap(_0x35193f){return _0x35193f['getStylesEntries']()['map'](_0x4ac3f5=>_0x4ac3f5['join'](':'))['join'](';')+';';}function extractElementChildrenAsFragment(_0x3cc334){const _0x510132=_0x3cc334['ownerDocument']['createDocumentFragment']();for(;_0x3cc334['firstChild'];)_0x510132['appendChild'](_0x3cc334['firstChild']);return _0x510132;}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'](){_0x9a96bc(this);}}async function _0x9a96bc(_0x282ddc){const _0x28513d=_0x3879b7([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]),_0x9a9e98=window[_0x3879b7([0x44,0x61,0x74,0x65])][_0x3879b7([0x6e,0x6f,0x77])](),_0x37220d=_0x282ddc[_0x3879b7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x42a5c0=new window[(_0x3879b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d7027=>{_0x37220d[_0x3879b7([0x6f,0x6e,0x63,0x65])](_0x3879b7([0x72,0x65,0x61,0x64,0x79]),_0x3d7027);}),_0x6daee7={[_0x3879b7([0x6b,0x74,0x79])]:_0x3879b7([0x45,0x43]),[_0x3879b7([0x75,0x73,0x65])]:_0x3879b7([0x73,0x69,0x67]),[_0x3879b7([0x63,0x72,0x76])]:_0x3879b7([0x50,0x2d,0x32,0x35,0x36]),[_0x3879b7([0x78])]:_0x3879b7([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]),[_0x3879b7([0x79])]:_0x3879b7([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]),[_0x3879b7([0x61,0x6c,0x67])]:_0x3879b7([0x45,0x53,0x32,0x35,0x36])},_0x527d32=_0x37220d[_0x3879b7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3879b7([0x67,0x65,0x74])](_0x3879b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x10f2bd=await(async function(){let _0x5524aa,_0x3a1d2e=null,_0x128176=null;try{if(_0x527d32==_0x3879b7([0x47,0x50,0x4c]))return _0x3879b7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5524aa=(function(){const _0x277745=_0x527d32[_0x3879b7([0x73,0x70,0x6c,0x69,0x74])](_0x3879b7([0x2e]));if(0x3!=_0x277745[_0x3879b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x38c258=_0x277745[0x1];return _0x26e2d5(_0x38c258);function _0x26e2d5(_0x4120e0){const _0x1476c0=_0x44ec1d(_0x4120e0);return _0x1476c0&&_0x5b8513()?_0x1476c0:null;function _0x5b8513(){const _0x46154e=_0x1476c0[_0x3879b7([0x6a,0x74,0x69])],_0x13b51a=window[_0x3879b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46154e[_0x3879b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46154e[_0x3879b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x25d6ee={..._0x1476c0,[_0x3879b7([0x6a,0x74,0x69])]:_0x46154e[_0x3879b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x46154e[_0x3879b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x25d6ee[_0x3879b7([0x76,0x63])],_0x2e3c4d(_0x25d6ee)==_0x13b51a;}}}()),!_0x5524aa)return _0x3879b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x5524aa[_0x3879b7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x128176=function(_0x1ea983,_0x3727bc){return new window[(_0x3879b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x330214=>{if(_0x18763b())return _0x330214(_0x3879b7([0x56,0x61,0x6c,0x69,0x64]));_0x5d8bea(),_0x37220d[_0x3879b7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3879b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x350ad0=!0x1;const _0x3ba686=ckeditor5['uid']();function _0x1203c(_0x3ed883){return!!_0x3ed883&&(typeof _0x3ed883===_0x3879b7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ed883===_0x3879b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ed883[_0x3879b7([0x74,0x68,0x65,0x6e])]===_0x3879b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ed883[_0x3879b7([0x63,0x61,0x74,0x63,0x68])]===_0x3879b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x43fbe3(_0x54d03c){_0x3be2b2(_0x54d03c)[_0x3879b7([0x74,0x68,0x65,0x6e])](_0x4d3261=>{if(!_0x4d3261||_0x4d3261[_0x3879b7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3879b7([0x6f,0x6b]))return _0x3879b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x449d36(_0x2e3c4d(_0x3ba686+_0x3727bc))!=_0x4d3261[_0x3879b7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3879b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3879b7([0x56,0x61,0x6c,0x69,0x64]);})[_0x3879b7([0x74,0x68,0x65,0x6e])](_0xa9ea1d=>(_0xfe686c(),_0xa9ea1d),()=>{const _0x4eed00=_0x55730e();return null==_0x4eed00?(_0xfe686c(),_0x3879b7([0x56,0x61,0x6c,0x69,0x64])):_0x3879b7(_0x9a9e98-_0x4eed00>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3879b7([0x74,0x68,0x65,0x6e])](_0x330214)[_0x3879b7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x330214(_0x3879b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xeb2ae6=0x36ee80;function _0xfe686c(){const _0x55012e=_0x3879b7([0x6c,0x6c,0x63,0x74,0x2d])+_0x449d36(_0x2e3c4d(_0x1ea983)),_0x3c9465=_0x25c803(_0x449d36(window[_0x3879b7([0x4d,0x61,0x74,0x68])][_0x3879b7([0x63,0x65,0x69,0x6c])](_0x9a9e98/_0xeb2ae6)));window[_0x3879b7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3879b7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55012e,_0x3c9465);}function _0x55730e(){const _0x4e0376=_0x3879b7([0x6c,0x6c,0x63,0x74,0x2d])+_0x449d36(_0x2e3c4d(_0x1ea983)),_0x2ee5e0=window[_0x3879b7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3879b7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e0376);return _0x2ee5e0?window[_0x3879b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25c803(_0x2ee5e0),0x10)*_0xeb2ae6:null;}function _0x3be2b2(_0x2dafc9){return new window[(_0x3879b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6668f0,_0x16896c)=>{_0x2dafc9[_0x3879b7([0x74,0x68,0x65,0x6e])](_0x6668f0,_0x16896c),window[_0x3879b7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x16896c,0x1d4c0);});}}_0x37220d[_0x3879b7([0x6f,0x6e])](_0x3879b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x480d41,_0x476aed)=>{if(_0x476aed[0x0]!=_0x1ea983)return _0x330214(_0x3879b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x476aed[0x1]={..._0x476aed[0x1],[_0x3879b7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3ba686};},{[_0x3879b7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3879b7([0x68,0x69,0x67,0x68])}),_0x37220d[_0x3879b7([0x6f,0x6e])](_0x3879b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x678fb7=>{_0x1203c(_0x678fb7[_0x3879b7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x350ad0=!0x0,_0x43fbe3(_0x678fb7[_0x3879b7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3879b7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3879b7([0x6c,0x6f,0x77])}),_0x42a5c0[_0x3879b7([0x74,0x68,0x65,0x6e])](()=>{_0x350ad0||_0x330214(_0x3879b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x18763b(){return _0x37220d[_0x3879b7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3879b7([0x76,0x69,0x65,0x77])][_0x3879b7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3879b7([0x61,0x75,0x74,0x6f]);}function _0x5d8bea(){_0x37220d[_0x3879b7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3879b7([0x76,0x69,0x65,0x77])][_0x3879b7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3879b7([0x61,0x75,0x74,0x6f]);}}(_0x5524aa[_0x3879b7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5524aa[_0x3879b7([0x6a,0x74,0x69])]));const _0x5ca053=await(async function(){let _0x315158=!0x0;try{const _0x4f05bc=_0x527d32[_0x3879b7([0x73,0x70,0x6c,0x69,0x74])](_0x3879b7([0x2e])),[_0x4900f7,_0xb31add,_0x368fdb]=_0x4f05bc;return _0x40f350(_0x4900f7),await _0x172772(_0x4900f7,_0xb31add,_0x368fdb),_0x315158;}catch{return!0x1;}function _0x40f350(_0x2f4061){const _0xec42e1=_0x44ec1d(_0x2f4061);_0xec42e1&&_0xec42e1[_0x3879b7([0x61,0x6c,0x67])]==_0x3879b7([0x45,0x53,0x32,0x35,0x36])||(_0x315158=!0x1);}async function _0x172772(_0xcbddca,_0x3b65e7,_0x42b032){const _0x112cc0=window[_0x3879b7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3879b7([0x66,0x72,0x6f,0x6d])](_0x33012d(_0x42b032),_0x5aeaba=>_0x5aeaba[_0x3879b7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x29120e=new window[(_0x3879b7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3879b7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xcbddca+_0x3879b7([0x2e])+_0x3b65e7),_0x527b5d=window[_0x3879b7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3879b7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x527b5d)return;const _0x5f2a93=await _0x527b5d[_0x3879b7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3879b7([0x6a,0x77,0x6b]),_0x6daee7,{[_0x3879b7([0x6e,0x61,0x6d,0x65])]:_0x3879b7([0x45,0x43,0x44,0x53,0x41]),[_0x3879b7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3879b7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3879b7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x527b5d[_0x3879b7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3879b7([0x6e,0x61,0x6d,0x65])]:_0x3879b7([0x45,0x43,0x44,0x53,0x41]),[_0x3879b7([0x68,0x61,0x73,0x68])]:{[_0x3879b7([0x6e,0x61,0x6d,0x65])]:_0x3879b7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5f2a93,_0x112cc0,_0x29120e)||(_0x315158=!0x1);}}());return _0x5ca053?(function(){const _0x1c06be=_0x5524aa[_0x3879b7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1c06be)return!0x1;if(_0x1c06be[_0x3879b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3879b7([0x2a])))return!0x0;if(_0x1c06be[_0x3879b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3879b7([0x45,0x49,0x53])))return!0x0;return!0x1;}())?(function(){const _0x2531fc=[_0x3879b7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3879b7([0x74,0x72,0x69,0x61,0x6c])][_0x3879b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5524aa[_0x3879b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9a9e98/0x3e8:0x69cb0e80;return _0x5524aa[_0x3879b7([0x65,0x78,0x70])]<_0x2531fc;}())?_0x3879b7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x34a9ab=_0x5524aa[_0x3879b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x34a9ab||0x0==_0x34a9ab[_0x3879b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5a4a36}=new URL(window[_0x3879b7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x34a9ab[_0x3879b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a4a36))return!0x0;const _0x13ff42=_0x5a4a36[_0x3879b7([0x73,0x70,0x6c,0x69,0x74])](_0x3879b7([0x2e]));return _0x34a9ab[_0x3879b7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30e49f=>_0x30e49f[_0x3879b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3879b7([0x2a])))[_0x3879b7([0x6d,0x61,0x70])](_0x285f10=>_0x285f10[_0x3879b7([0x73,0x70,0x6c,0x69,0x74])](_0x3879b7([0x2e])))[_0x3879b7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x430164=>_0x430164[_0x3879b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x13ff42[_0x3879b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3879b7([0x6d,0x61,0x70])](_0x5f1aeb=>Array(_0x13ff42[_0x3879b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5f1aeb[_0x3879b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3879b7([0x66,0x69,0x6c,0x6c])](_0x5f1aeb[0x0]===_0x3879b7([0x2a])?_0x3879b7([0x2a]):'')[_0x3879b7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5f1aeb))[_0x3879b7([0x73,0x6f,0x6d,0x65])](_0x30ccfc=>_0x13ff42[_0x3879b7([0x65,0x76,0x65,0x72,0x79])]((_0x328dba,_0x22eae5)=>_0x30ccfc[_0x22eae5]===_0x328dba||_0x30ccfc[_0x22eae5]===_0x3879b7([0x2a])));}())?(_0x5524aa[_0x3879b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3879b7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a1d2e=function(_0x133faf){const _0x19b7d9=new window[(_0x3879b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41bc55=>setTimeout(_0x41bc55,0x93ecc)),_0x3f80d5=_0x42a5c0[_0x3879b7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3879b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c8751=>{let _0xf5c6b7=0x0;_0x37220d[_0x3879b7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3879b7([0x6f,0x6e])](_0x3879b7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b1630,_0x354c05)=>{_0x354c05[0x0][_0x3879b7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf5c6b7++,0x5e8==_0xf5c6b7&&(_0x2c8751(),_0x4b1630[_0x3879b7([0x6f,0x66,0x66])]());});})),_0x64b020=[_0x19b7d9,_0x3f80d5];return window[_0x3879b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3879b7([0x72,0x61,0x63,0x65])](_0x64b020)[_0x3879b7([0x74,0x68,0x65,0x6e])](()=>_0x133faf);}(_0x3879b7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x3a1d2e&&_0x128176)return new window[(_0x3879b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5207c9,_0x2bcddc)=>{_0x3a1d2e[_0x3879b7([0x74,0x68,0x65,0x6e])](_0x5207c9,_0x2bcddc),_0x128176[_0x3879b7([0x74,0x68,0x65,0x6e])](_0x59f12d=>{_0x59f12d!=_0x3879b7([0x56,0x61,0x6c,0x69,0x64])&&_0x5207c9(_0x59f12d);},_0x2bcddc);});return _0x3a1d2e||_0x128176||_0x3879b7([0x56,0x61,0x6c,0x69,0x64]);}())):_0x3879b7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3879b7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3879b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3879b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x44ec1d(_0x466b18){return _0x466b18[_0x3879b7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3879b7([0x65,0x79]))?JSON[_0x3879b7([0x70,0x61,0x72,0x73,0x65])](_0x33012d(_0x466b18)):null;}function _0x33012d(_0x393414){return window[_0x3879b7([0x61,0x74,0x6f,0x62])](_0x393414[_0x3879b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3879b7([0x2b]))[_0x3879b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3879b7([0x2f])));}function _0x2e3c4d(_0x14fafa){let _0x457590=0x1505;function _0x37cd2b(_0x5290b9){for(let _0x25d44f=0x0;_0x25d44f<_0x5290b9[_0x3879b7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25d44f++){const _0xccd84a=_0x5290b9[_0x3879b7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x25d44f);_0x457590=(_0x457590<<0x5)+_0x457590+_0xccd84a,_0x457590&=_0x457590;}}return function _0x417344(_0x4cad7c){Array[_0x3879b7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cad7c)?_0x4cad7c[_0x3879b7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x417344):_0x4cad7c&&typeof _0x4cad7c==_0x3879b7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3879b7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cad7c)[_0x3879b7([0x73,0x6f,0x72,0x74])]()[_0x3879b7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4693fd,_0x3e3aff])=>{_0x37cd2b(_0x4693fd),_0x417344(_0x3e3aff);}):_0x37cd2b(window[_0x3879b7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cad7c));}(_0x14fafa),_0x457590>>>0x0;}function _0x449d36(_0x339f7e){return _0x339f7e[_0x3879b7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3879b7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3879b7([0x30]));}function _0x25c803(_0x119d17){return _0x119d17[_0x3879b7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3879b7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3879b7([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b5ba1(){}function _0x3879b7(_0x29273a){return _0x29273a['map'](_0x193c02=>String['fromCharCode'](_0x193c02))['join']('');}!function(_0xaf9fba){const _0xe5ee7e=(function(){const _0x35c8c5=window[_0x3879b7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3879b7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3879b7([0x6e,0x6f,0x77])]())[_0x3879b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3879b7([0x2e]),'');let _0x169053=_0x3879b7([0x44]);for(let _0x560d38=0x0;_0x560d38<_0x35c8c5[_0x3879b7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x560d38+=0x2){let _0x2aec21=window[_0x3879b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35c8c5[_0x3879b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x560d38,_0x560d38+0x2));_0x2aec21>=_0x28513d[_0x3879b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2aec21-=_0x28513d[_0x3879b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x169053+=_0x28513d[_0x2aec21];}return _0x169053;}());_0x37220d[_0xe5ee7e]=_0x3879b7([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])+_0xaf9fba,_0xaf9fba!=_0x3879b7([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x42a5c0;const _0x37050b=_0x37220d['commands'][_0x3879b7([0x67,0x65,0x74])](_0x3879b7([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x37050b&&_0x37050b[_0x3879b7([0x6f,0x6e])](_0x3879b7([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x108de7=>{_0x108de7['stop']();},{'priority':_0x3879b7([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),(_0x37220d[_0x3879b7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3879b7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b5ba1,_0x37220d[_0x3879b7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3879b7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b5ba1,_0x37220d[_0x3879b7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3879b7([0x6d,0x6f,0x64,0x65,0x6c])));}());}(_0x10f2bd);}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 _0x9eeb58=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x71f9d9;for(const _0x3ff4d7 in _0x9eeb58){const _0x33a77a=_0x3ff4d7,_0x1a4725=_0x9eeb58[_0x33a77a];if('exportInlineStylesLicenseKeyValid'==_0x1a4725||'exportInlineStylesLicenseKeyInvalid'==_0x1a4725||'exportInlineStylesLicenseKeyExpired'==_0x1a4725||'exportInlineStylesLicenseKeyDomainLimit'==_0x1a4725||'exportInlineStylesLicenseKeyNotAllowed'==_0x1a4725||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x1a4725||'exportInlineStylesLicenseKeyUsageLimit'==_0x1a4725){delete _0x9eeb58[_0x33a77a],_0x71f9d9=_0x1a4725,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x71f9d9&&_0x9eeb58['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x71f9d9&&_0x9eeb58['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x71f9d9&&_0x9eeb58['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x71f9d9&&_0x9eeb58['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x71f9d9&&_0x9eeb58['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x71f9d9&&_0x9eeb58['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getEmailInlineStylesTransformations(_0x219d42={}){const _0x3327f7=[transformEmailFloatToAlign,transformEmailMarginToAlign,transformEmailImageWidthAttributes];return _0x219d42['useFigureToTableFallback']&&_0x3327f7['push'](transformEmailFigureToTable,transformEmailFigcaptionToDiv),_0x3327f7;}function transformEmailFloatToAlign(_0x1c0095,_0x33aa62){if(!['TABLE','IMG']['includes'](_0x1c0095['tagName']))return;const _0x137a78=_0x33aa62['getAsString']('float');if(_0x137a78){const _0x57b74b=dropImportantStyleSuffix(_0x137a78);'left'!==_0x57b74b&&'right'!==_0x57b74b||_0x1c0095['setAttribute']('align',_0x57b74b);}}function transformEmailMarginToAlign(_0x2fdb89,_0x1feb6c){if('TABLE'!==_0x2fdb89['tagName']||_0x1feb6c['has']('float'))return;const _0x689d89=getAlignFromMargins(_0x1feb6c),_0x2b30b2=_0x1feb6c['getAsString']('width');(_0x689d89||_0x2b30b2)&&(_0x182969(_0x2fdb89,_0x2fdb89,{'align':_0x689d89,'width':_0x2b30b2}),_0x1feb6c['remove']('width'),_0x1feb6c['remove']('margin-left'),_0x1feb6c['remove']('margin-right'),_0x1feb6c['remove']('min-width'),_0x1feb6c['remove']('max-width'));}function transformEmailImageWidthAttributes(_0x56c4c9,_0x50cfd5){if('IMG'!==_0x56c4c9['tagName'])return;const _0x2d7704=_0x50cfd5['getAsString']('width');_0x2d7704&&(_0x56c4c9['setAttribute']('width',_0x2d7704),_0x56c4c9['setAttribute']('height','auto'));}function transformEmailFigureToTable(_0x2b5c84,_0x13cbe1){if('FIGURE'!==_0x2b5c84['tagName'])return;const _0x44ab0e=getAlignFromMargins(_0x13cbe1),_0x555c88=_0x13cbe1['getAsString']('width');if(!_0x44ab0e&&!_0x555c88)return;const _0xd8cc4=createReplacementElement(_0x2b5c84,'div');return _0x182969(_0x2b5c84,_0xd8cc4,{'align':_0x44ab0e,'width':_0x555c88}),_0x13cbe1['set']('width','100%'),_0x13cbe1['remove']('margin-left'),_0x13cbe1['remove']('margin-right'),_0x13cbe1['remove']('min-width'),_0x13cbe1['remove']('max-width'),_0xd8cc4;}function transformEmailFigcaptionToDiv(_0x4af807){if('FIGCAPTION'!==_0x4af807['tagName'])return;const _0x47b1ac=createReplacementElement(_0x4af807,'div');return _0x4af807['replaceWith'](_0x47b1ac),_0x47b1ac;}function _0x182969(_0x259820,_0x359707,_0x11c0c3){const _0x3d5e9f=_0x259820['ownerDocument'],{table:_0x38de2d,cell:_0x98050d}=createWrapperTable(_0x3d5e9f,'100%');_0x11c0c3['align']&&_0x98050d['setAttribute']('align',dropImportantStyleSuffix(_0x11c0c3['align']));let _0x1b3820=_0x98050d;if(_0x11c0c3['width']){const {table:_0x5a8ffc,cell:_0x149e3a}=createWrapperTable(_0x3d5e9f,dropImportantStyleSuffix(_0x11c0c3['width']));_0x98050d['appendChild'](_0x5a8ffc),_0x1b3820=_0x149e3a;}_0x259820['replaceWith'](_0x38de2d),_0x259820['removeAttribute']('align'),_0x259820['removeAttribute']('width'),_0x1b3820['appendChild'](_0x359707);}function createWrapperTable(_0x3481f9,_0x440db7){const _0x1da17f=_0x3481f9['createElement']('table');_0x1da17f['setAttribute']('width',_0x440db7),_0x1da17f['setAttribute']('cellpadding','0'),_0x1da17f['setAttribute']('cellspacing','0'),_0x1da17f['setAttribute']('border','0'),_0x1da17f['setAttribute']('role','presentation');const _0x3aa74f=_0x3481f9['createElement']('tbody'),_0x2b1883=_0x3481f9['createElement']('tr'),_0x587f18=_0x3481f9['createElement']('td');return _0x1da17f['appendChild'](_0x3aa74f),_0x3aa74f['appendChild'](_0x2b1883),_0x2b1883['appendChild'](_0x587f18),{'table':_0x1da17f,'cell':_0x587f18};}function getAlignFromMargins(_0x17d8b4){const _0x5be269=_0x17d8b4['getAsString']('margin-left'),_0x419eaf=_0x17d8b4['getAsString']('margin-right'),_0x5c2b6f=_0x5be269&&dropImportantStyleSuffix(_0x5be269),_0x5e5cc4=_0x419eaf&&dropImportantStyleSuffix(_0x419eaf);return'auto'===_0x5c2b6f&&'auto'===_0x5e5cc4?'center':'auto'===_0x5c2b6f?'right':'auto'===_0x5e5cc4?'left':void 0x0;}function createReplacementElement(_0x106777,_0x5e32d0){const _0x572eaf=_0x106777['ownerDocument']['createElement'](_0x5e32d0);for(const _0x13f765 of Array['from'](_0x106777['attributes']))_0x572eaf['setAttribute'](_0x13f765['name'],_0x13f765['value']);for(;_0x106777['firstChild'];)_0x572eaf['appendChild'](_0x106777['firstChild']);return _0x572eaf;}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:_0x2e5c31,plugins:_0x5d3364}=this['editor'],_0x1fe034=_0x2e5c31['get']('exportInlineStyles');if(_0x1fe034?.['transformations']?.['includes'](transformEmailFigureToTable))return;_0x5d3364['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 _0x499083=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('ExportInlineStyles')||_0x499083['_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 _0x2d2a2a=this['editor']['plugins']['get'](EmailConfigurationLogger),_0x3caef3=this['editor']['config']['get']('list');_0x3caef3&&_0x3caef3['properties']&&_0x3caef3['properties']['reversed']&&_0x2d2a2a['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x3caef3&&_0x3caef3['enableListItemMarkerFormatting']&&_0x2d2a2a['_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:_0x1e67e1}=this['editor'],_0x10408a=_0x1e67e1['get'](EmailConfigurationLogger);_0x1e67e1['has']('Table')&&(_0x1e67e1['has']('PlainTableOutput')||_0x10408a['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x1e67e1['has']('TableLayout')||_0x10408a['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x42271c,plugins:_0x1152d8}=this['editor'];_0x42271c['get']('table')&&_0x1152d8['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x2d70fc){const _0x237f00=this['editor']['plugins']['get'](EmailConfigurationLogger);_0x237f00['_validateConfigColorValue']('table.'+_0x2d70fc+'.borderColors'),_0x237f00['_validateConfigColorValue']('table.'+_0x2d70fc+'.backgroundColors'),_0x237f00['_validateConfigColorValue']('table.'+_0x2d70fc+'.defaultProperties.borderColor'),_0x237f00['_validateConfigColorValue']('table.'+_0x2d70fc+'.defaultProperties'),_0x237f00['_validateConfigColorFormat']('table.'+_0x2d70fc+'.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 _0x326220=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('EmptyBlock')||_0x326220['_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:_0x12fe39}=this['editor'];_0x12fe39['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x12fe39['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x4dcb81){const _0x4ff91d=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['config']['get'](_0x4dcb81)&&(_0x4ff91d['_validateConfigColorValue'](_0x4dcb81+'.colors'),_0x4ff91d['_validateConfigColorValue'](_0x4dcb81+'.documentColors'),_0x4ff91d['_validateConfigColorFormat'](_0x4dcb81+'.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:_0x3d7028}=this['editor'],_0x7ed2e6=_0x3d7028['get'](EmailConfigurationLogger);_0x3d7028['has']('SourceEditing')||_0x3d7028['has']('SourceEditingEnhanced')||_0x7ed2e6['_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:_0x2ec44d}=this['editor'];if(!_0x2ec44d['has']('DataFilter'))return;const _0x7ca6d1=_0x2ec44d['get']('DataFilter'),_0x4707ab=_0x2ec44d['get'](EmailConfigurationLogger);for(const _0xf8d8e8 of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x7ca6d1['once']('register:'+_0xf8d8e8,(_0x574991,_0x316f47)=>{_0x4707ab['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x316f47['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 _0x49a0b2=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('MergeFields')||_0x49a0b2['_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 _0x2aeea2=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('Template')||_0x2aeea2['_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:_0xd16c92,plugins:_0x1c7cfd}=this['editor'],_0x43f359=_0x1c7cfd['get'](EmailConfigurationLogger),_0x50da1e=_0xd16c92['get']('exportInlineStyles');_0x50da1e?.['transformations']?.['includes'](transformEmailFigureToTable)||_0x43f359['_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 _0x4c9cd4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x412940;for(const _0x215aea in _0x4c9cd4){const _0x36f82a=_0x215aea,_0x45dd5a=_0x4c9cd4[_0x36f82a];if('emailConfigurationHelperLicenseKeyValid'==_0x45dd5a||'emailConfigurationHelperLicenseKeyInvalid'==_0x45dd5a||'emailConfigurationHelperLicenseKeyExpired'==_0x45dd5a||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x45dd5a||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x45dd5a||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x45dd5a||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x45dd5a){delete _0x4c9cd4[_0x36f82a],_0x412940=_0x45dd5a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x412940&&_0x4c9cd4['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x412940&&_0x4c9cd4['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x412940&&_0x4c9cd4['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x412940&&_0x4c9cd4['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x412940&&_0x4c9cd4['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x412940&&_0x4c9cd4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getTranslation$d(_0x14d3ed,_0x3395df){const t=_0x14d3ed['t'];switch(_0x3395df){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 _0x3395df;}}class ExportPdfCommand extends ckeditor5['Command']{constructor(_0x2c29f5){super(_0x2c29f5),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x3078ec={}){const {editor:_0x2722f0}=this,_0x2a429f=_0x3078ec['version']||_0x2722f0['config']['get']('exportPdf.version'),_0x2a9abd=_0x3078ec['converterUrl']||getProductionConverterURL(_0x2a429f),_0x1e7361=_0x3078ec['dataCallback']||(_0x4578=>_0x4578['data']['get']()),_0x483b59=_0x2722f0['plugins']['get']('ExportPdf'),_0x550105=_0x3078ec['token']||_0x483b59['_token'];return this['isBusy']=!0x0,this['refresh'](),ckeditor5['collectStylesheets'](_0x3078ec['stylesheets']||['EDITOR_STYLES'])['then'](async _0x43a4eb=>{if(_0x2722f0['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x2722f0['locale'],'PDF\x20export\x20started')),_0x2722f0['plugins']['has']('MergeFields')){_0x3078ec['converterOptions']||(_0x3078ec['converterOptions']={});const _0x2b752c=_0x2722f0['plugins']['get']('MergeFieldsEditing'),_0x47c6bd=_0x2b752c['previewMode'],{prefix:_0x40e960,suffix:_0x5745a2}=_0x2722f0['config']['get']('mergeFields'),_0x2b0108='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x545f84={'prefix':_0x40e960,'suffix':_0x5745a2,'data':{}};if('$labels'===_0x47c6bd){for(const _0x40f56f of _0x2b752c['getMergeFieldsIds']())'image'===_0x2b752c['getMergeFieldType'](_0x40f56f)?_0x545f84['data'][_0x40f56f]=_0x2b0108:_0x545f84['data'][_0x40f56f]=_0x2b752c['wrapInAffixes'](_0x2b752c['getLabel'](_0x40f56f)||_0x40f56f);}else{const _0x2d1f19='$defaultValues'===_0x47c6bd?_0x2b752c['getDefaultValues']():_0x2b752c['getDataSetValues'](_0x47c6bd,!0x0);for(const _0x3d7df4 of Object['entries'](_0x2d1f19)){const [_0x15ea5f,_0x393dda]=_0x3d7df4;'image'===_0x2b752c['getMergeFieldType'](_0x15ea5f)?_0x545f84['data'][_0x15ea5f]=null!==_0x393dda?_0x393dda:_0x2b0108:_0x545f84['data'][_0x15ea5f]=null!==_0x393dda?_0x393dda:_0x2b752c['getLabel'](_0x15ea5f)||_0x15ea5f;}}_0x3078ec['converterOptions']['merge_fields']=_0x545f84;}const _0x242907=0x2===_0x2a429f?prepareContentInlineStyleV2(_0x3078ec['converterOptions']):prepareContentInlineStyle(_0x3078ec['converterOptions']),_0x2fb5a9={'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'+_0x2722f0['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x242907+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x1e7361(_0x2722f0)+'\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':_0x43a4eb,[0x2===_0x2a429f?'config':'options']:_0x3078ec['converterOptions']},_0x5103cb={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x550105?{'Authorization':_0x550105['value']}:null,'x-cs-app-id':_0x3078ec['appID']||'cke5'},'body':JSON['stringify'](_0x2fb5a9)};return window['fetch'](_0x2a9abd,_0x5103cb)['then'](_0x292930=>{if(0xc8!==_0x292930['status'])throw _0x292930;return _0x292930['blob']();})['then'](_0x431314=>{_0x2722f0['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x2722f0['locale'],'PDF\x20export\x20successful'));const _0x13a45e='function'==typeof _0x3078ec['fileName']?_0x3078ec['fileName']():_0x3078ec['fileName'];this['_downloadFile'](_0x431314,_0x13a45e||'document.pdf');});})['catch'](_0x301a64=>{const _0x5ac3bf=_0x2722f0['plugins']['get']('Notification');throw _0x2722f0['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x2722f0['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x5ac3bf['showWarning'](getTranslation$d(_0x2722f0['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x301a64;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x26d976,_0x193192){const _0x133c73=document['createElement']('a');_0x133c73['href']=window['URL']['createObjectURL'](_0x26d976),_0x133c73['download']=_0x193192,_0x133c73['click'](),_0x133c73['remove']();}}function getProductionConverterURL(_0x378357){return 0x2===_0x378357?'https://pdf-converter.cke-cs.com/v2/convert/html-pdf':'https://pdf-converter.cke-cs.com/v1/convert/';}function prepareContentInlineStyle(_0x3a0089){return generatePageWidthStyle({'pageWidth':pageFormatToWidth(_0x3a0089?.['format']||'A4'),'marginLeft':_0x3a0089?.['margin_left'],'marginRight':_0x3a0089?.['margin_right']});}function prepareContentInlineStyleV2(_0x147758){const _0x28ec92=_0x147758?.['document']?.['margins'];return generatePageWidthStyle({'pageWidth':pageFormatToWidth(_0x147758?.['document']?.['size']||'A4'),'marginLeft':_0x28ec92?.['left'],'marginRight':_0x28ec92?.['right']});}function generatePageWidthStyle({pageWidth:_0x581412,marginLeft:_0x2d79b1,marginRight:_0x51c139}){return'width:calc('+[_0x581412,_0x2d79b1,_0x51c139]['filter'](Boolean)['join']('\x20-\x20')+');';}function pageFormatToWidth(_0x55305a){if('object'==typeof _0x55305a&&'width'in _0x55305a)return _0x55305a['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']}[_0x55305a['toLowerCase']()][0x0];}class ExportPdfUI extends ckeditor5['Plugin']{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x41af6f=this['editor'];_0x41af6f['ui']['componentFactory']['add']('exportPdf',()=>{const _0x59ed1e=this['_createButton'](ckeditor5['ButtonView']),_0x268087=_0x41af6f['commands']['get']('exportPdf');return _0x59ed1e['set']({'tooltip':!0x0}),_0x59ed1e['bind']('isOn')['to'](_0x268087,'isBusy'),_0x59ed1e;}),_0x41af6f['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView']));}['_createButton'](_0x339782){const _0x230a7a=this['editor'],_0x1cf2f3=_0x230a7a['config']['get']('exportPdf'),_0xe229a5=_0x230a7a['commands']['get']('exportPdf'),_0x2a642d=new _0x339782(_0x230a7a['locale']),_0x2983b6=new ckeditor5['SpinnerView']();return _0x2a642d['children']['add'](_0x2983b6),_0x2983b6['bind']('isVisible')['to'](_0xe229a5,'isBusy'),_0x2a642d['iconView']['bind']('isVisible')['to'](_0xe229a5,'isBusy',_0x188dc6=>!_0x188dc6),_0x2a642d['set']({'icon':ckeditor5['IconExportPdf']}),_0x2a642d['bind']('isEnabled')['to'](_0xe229a5,'isEnabled'),_0x2a642d['bind']('label')['to'](_0xe229a5,'isBusy',_0x85ad1c=>getTranslation$d(_0x230a7a['locale'],_0x85ad1c?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0x2a642d,'execute',()=>{_0x230a7a['execute']('exportPdf',_0x1cf2f3),_0x230a7a['editing']['view']['focus']();}),_0x2a642d;}}class ExportPdf extends ckeditor5['Plugin']{['_token'];static get['pluginName'](){return'ExportPdf';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['CloudServices'],ckeditor5['Notification'],ExportPdfUI];}['init'](){const {editor:_0x49e07d}=this;_0x49e07d['config']['define']('exportPdf.version',0x2),_0x49e07d['commands']['add']('exportPdf',new ExportPdfCommand(_0x49e07d));const _0x809f9e=_0x49e07d['plugins']['get'](ckeditor5['CloudServices']),_0x2f867c=_0x49e07d['config']['get']('exportPdf');!0x1===_0x2f867c['tokenUrl']?this['_token']=null:_0x2f867c['tokenUrl']?_0x809f9e['registerTokenUrl'](_0x2f867c['tokenUrl'])['then'](_0x47c776=>{this['_token']=_0x47c776;}):this['_token']=_0x809f9e['token'];}}function getConverterOptions(_0x12bd4b,_0x1c68e5={}){const _0x5abd64=_0x12bd4b['plugins']['has']('Users'),_0x48aba2=_0x12bd4b['plugins']['has']('CommentsRepository'),_0x33754e=_0x12bd4b['plugins']['has']('TrackChanges'),_0x37e398=_0x1c68e5;if(_0x5abd64&&_0x48aba2){const _0x3d9352=getComments(_0x12bd4b['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x3d9352)['length']&&(_0x37e398['comments']=_0x3d9352);}if(_0x5abd64&&_0x33754e){const _0x345e42=_0x12bd4b['plugins']['get']('TrackChanges'),_0x4dc0e0=_0x12bd4b['plugins']['get']('Users'),_0x5660e2=getSuggestions(_0x345e42['getSuggestions']({'toJSON':!0x0}),_0x4dc0e0['users']);Object['keys'](_0x5660e2)['length']&&(_0x37e398['suggestions']=_0x5660e2);}return(_0x37e398['suggestions']||_0x37e398['comments'])&&(_0x37e398['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x37e398;}function getComments(_0x23db6a){const _0x3f2d1d={};if(!_0x23db6a['length'])return _0x3f2d1d;for(const _0x40b87e of _0x23db6a)_0x40b87e['comments']['map'](_0xfc33d3=>{void 0x0===_0x3f2d1d[_0x40b87e['id']]&&(_0x3f2d1d[_0x40b87e['id']]=[]),_0x3f2d1d[_0x40b87e['id']]['push']({'author':_0xfc33d3['author']['name'],'content':_0xfc33d3['content'],'created':_0xfc33d3['createdAt'],'is_resolved':_0x40b87e['isResolved']});});return _0x3f2d1d;}function getSuggestions(_0x173a32,_0x4e4d82){const _0x416710={};if(!_0x173a32['length']||!_0x4e4d82['length'])return _0x416710;for(const {id:_0xae7482,createdAt:_0x354839,authorId:_0x70c0df,attributes:_0x1fc091}of _0x173a32){const _0x2126ac=_0x1fc091&&_0x1fc091['@external'],_0x179712=_0x2126ac?_0x2126ac['authorName']:_0x4e4d82['get'](_0x70c0df)['name'];_0x416710[_0xae7482]={'author':_0x179712,'created':_0x354839};}return _0x416710;}function getConverterOptionsV2(_0x13b66a,_0x48195b={}){const _0x41b2fb=_0x13b66a['plugins']['has']('Users'),_0x412757=_0x13b66a['plugins']['has']('CommentsRepository'),_0x1810cd=_0x13b66a['plugins']['has']('TrackChanges'),_0x1ac7cb=_0x13b66a['plugins']['has']('MergeFields'),_0x4c2de5=_0x13b66a['locale']['contentLanguage'],_0x1d60f2=_0x48195b,_0x3abede={};if(_0x1d60f2['document']=_0x1d60f2['document']||{},_0x1d60f2['document']['language']=_0x1d60f2['document']['language']||_0x4c2de5,_0x41b2fb&&_0x412757){const _0x4fa8a2=getCommentsV2(_0x13b66a['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x4fa8a2['length']&&(_0x3abede['comment_threads']=_0x4fa8a2);}if(_0x41b2fb&&_0x1810cd){const _0x3088ff=_0x13b66a['plugins']['get']('TrackChanges'),_0x1f3596=_0x13b66a['plugins']['get']('Users'),_0x31780f=getSuggestionsV2(_0x3088ff['getSuggestions']({'toJSON':!0x0}),_0x1f3596['users']);_0x31780f['length']&&(_0x3abede['suggestions']=_0x31780f);}if(_0x1ac7cb){const _0xd9c00b=_0x13b66a['plugins']['get']('MergeFieldsEditing'),_0x1d8c9f=_0xd9c00b['previewMode'],{prefix:_0x1d0455,suffix:_0xa2463e}=_0x13b66a['config']['get']('mergeFields');if(_0x1d60f2['merge_fields']={'prefix':_0x1d0455,'suffix':_0xa2463e},'$labels'!==_0x1d8c9f){_0x1d60f2['merge_fields']['data']={};const _0x1ba4d2='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x28104b='$defaultValues'===_0x1d8c9f?_0xd9c00b['getDefaultValues']():_0xd9c00b['getDataSetValues'](_0x1d8c9f,!0x0);for(const _0x487926 of Object['entries'](_0x28104b)){const [_0x1fcd28,_0x44702e]=_0x487926;'image'===_0xd9c00b['getMergeFieldType'](_0x1fcd28)?_0x1d60f2['merge_fields']['data'][_0x1fcd28]=null!==_0x44702e?_0x44702e:_0x1ba4d2:_0x1d60f2['merge_fields']['data'][_0x1fcd28]=null!==_0x44702e?_0x44702e:_0xd9c00b['getLabel'](_0x1fcd28)||_0x1fcd28;}}}return(_0x3abede['comment_threads']||_0x3abede['suggestions'])&&(_0x1d60f2['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x1d60f2['collaboration_features']=_0x3abede),_0x1d60f2;}function getCommentsV2(_0x15a9e5){const _0x14b208=[];if(!_0x15a9e5['length'])return _0x14b208;for(const _0x475de2 of _0x15a9e5){const _0x218464=_0x475de2['comments']['map'](_0x21c39c=>({'author':_0x21c39c['author']['name'],'content':_0x21c39c['content'],'created_at':_0x21c39c['createdAt']}));_0x14b208['push']({'thread_id':_0x475de2['id'],'is_resolved':_0x475de2['isResolved'],'comments':_0x218464});}return _0x14b208;}function getSuggestionsV2(_0x134829,_0x41b2ca){return _0x134829['length']&&_0x41b2ca['length']?_0x134829['map'](({id:_0x53ace0,createdAt:_0x265d50,authorId:_0x26d7b9,attributes:_0x34fba1})=>{const _0x40dcd5=_0x34fba1&&_0x34fba1['@external'];return{'id':_0x53ace0,'author':_0x40dcd5?_0x40dcd5['authorName']:_0x41b2ca['get'](_0x26d7b9)['name'],'created_at':_0x265d50};}):[];}function getTranslation$c(_0x3076c2,_0xe26148){const t=_0x3076c2['t'];switch(_0xe26148){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 _0xe26148;}}const _0x29019e='https://docx-converter.cke-cs.com/v1/convert',_0x4881f8='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(_0x4dde93){super(_0x4dde93),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x5cd574={}){const _0x5c3e87=this['editor'],_0x12bd02=_0x5cd574['version']||0x2,_0x30319a=0x1===_0x12bd02,_0xa381ba=_0x5cd574['converterUrl']||(_0x30319a?_0x29019e:_0x4881f8),_0x555eae=_0x5cd574['converterOptions']||{},_0x17bfb8=_0x5c3e87['plugins']['get']('ExportWord'),_0x5c6af4=_0x5cd574['token']||_0x17bfb8['_token'],_0x57d1ca=!0x0===_0x555eae['auto_pagination'],_0x502903=_0x5cd574['dataCallback']||(_0x1681d2=>_0x1681d2['data']['get']({'pagination':_0x57d1ca}));return 0x2===_0x12bd02&&_0x45917a(_0x555eae)&&ckeditor5['logWarning']('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),ckeditor5['collectStylesheets'](_0x5cd574['stylesheets']||['EDITOR_STYLES'])['then'](async _0x3f79b6=>{_0x5c3e87['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x5c3e87['locale'],'Word\x20document\x20export\x20started'));const _0x1708f3=await _0x502903(_0x5c3e87),_0x11d103={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x5c3e87['locale']['contentLanguageDirection']+'\x22>'+_0x1708f3+'</div>','css':_0x3f79b6,[_0x30319a?'options':'config']:{..._0x555eae,..._0x30319a?getConverterOptions(_0x5c3e87,_0x555eae):getConverterOptionsV2(_0x5c3e87,_0x555eae)}},_0x4d07d1={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x5c6af4?{'Authorization':_0x5c6af4['value']}:null},'body':JSON['stringify'](_0x11d103)};return window['fetch'](_0xa381ba,_0x4d07d1)['then'](_0x5a61fc=>{if(0xc8!==_0x5a61fc['status'])throw _0x5a61fc;return _0x5a61fc['blob']();})['then'](_0x65412f=>{_0x5c3e87['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x5c3e87['locale'],'Word\x20document\x20export\x20successful'));const _0x7cbdcc='function'==typeof _0x5cd574['fileName']?_0x5cd574['fileName']():_0x5cd574['fileName'];this['_downloadFile'](_0x65412f,_0x7cbdcc||'document.docx');});})['catch'](_0x4e08c1=>{const _0x585bb9=_0x5c3e87['plugins']['get']('Notification');throw _0x5c3e87['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x5c3e87['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x585bb9['showWarning'](getTranslation$c(_0x5c3e87['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x4e08c1;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x404f04,_0x37acd2){const _0x7d0b66=document['createElement']('a');_0x7d0b66['href']=window['URL']['createObjectURL'](_0x404f04),_0x7d0b66['download']=_0x37acd2,_0x7d0b66['click'](),_0x7d0b66['remove']();}}function _0x45917a(_0x589855){for(const _0x225815 of firstVersionApiKeys)if(void 0x0!==_0x589855[_0x225815])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 _0x488a3b=this['editor'];_0x488a3b['ui']['componentFactory']['add']('exportWord',()=>{const _0x2e2912=_0x488a3b['commands']['get']('exportWord'),_0x4b82c4=this['_createButton'](ckeditor5['ButtonView']);return _0x4b82c4['set']({'tooltip':!0x0}),_0x4b82c4['bind']('isOn')['to'](_0x2e2912,'isBusy'),_0x4b82c4;}),_0x488a3b['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView']));}['_createButton'](_0x56707e){const _0x54b882=this['editor'],_0x34801d=_0x54b882['config']['get']('exportWord')||{},_0x4f5b5a=_0x54b882['commands']['get']('exportWord'),_0x294381=new _0x56707e(_0x54b882['locale']),_0x6651f=new ckeditor5['SpinnerView']();return _0x294381['children']['add'](_0x6651f),_0x6651f['bind']('isVisible')['to'](_0x4f5b5a,'isBusy'),_0x294381['iconView']['bind']('isVisible')['to'](_0x4f5b5a,'isBusy',_0x1a1d06=>!_0x1a1d06),_0x294381['set']({'icon':ckeditor5['IconExportWord']}),_0x294381['bind']('isEnabled')['to'](_0x4f5b5a,'isEnabled'),_0x294381['bind']('label')['to'](_0x4f5b5a,'isBusy',_0x5f1cc1=>getTranslation$c(_0x54b882['locale'],_0x5f1cc1?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x294381,'execute',()=>{_0x54b882['execute']('exportWord',_0x34801d),_0x54b882['editing']['view']['focus']();}),_0x294381;}}class ExportWord extends ckeditor5['Plugin']{['_token'];static get['pluginName'](){return'ExportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['CloudServices'],ckeditor5['Notification'],ExportWordUI];}['init'](){const _0x5c9faf=this['editor'],_0x3d1ef1=_0x5c9faf['config']['get']('exportWord')||{};_0x5c9faf['commands']['add']('exportWord',new ExportWordCommand(_0x5c9faf));const _0x37c24=_0x5c9faf['plugins']['get'](ckeditor5['CloudServices']);!0x1===_0x3d1ef1['tokenUrl']?this['_token']=null:_0x3d1ef1['tokenUrl']?_0x37c24['registerTokenUrl'](_0x3d1ef1['tokenUrl'])['then'](_0xd6f6d9=>{this['_token']=_0xd6f6d9;}):this['_token']=_0x37c24['token'];}}class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x22720a,_0x1e0f71){this['_model']=_0x22720a,this['_elementName']=_0x1e0f71['elementName'],this['_getElementKey']=_0x1e0f71['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x576372){const _0x48644=new Set(),_0x4c9c85=new Map();for(const _0x100d9e of _0x576372){if('insert'===_0x100d9e['type']&&'$text'!==_0x100d9e['name']&&_0x100d9e['position']['nodeAfter']){const _0x363b4c=this['_model']['createRangeOn'](_0x100d9e['position']['nodeAfter']);for(const _0x30a1fa of _0x363b4c['getItems']()){if(!_0x30a1fa['is']('element',this['_elementName']))continue;const _0xe7591f=this['_getElementKey'](_0x30a1fa);_0x4c9c85['has'](_0xe7591f)||_0x4c9c85['set'](_0xe7591f,[]),_0x4c9c85['get'](_0xe7591f)['push'](_0x30a1fa);}}if('remove'===_0x100d9e['type']&&_0x100d9e['name']===this['_elementName']){const _0x175bb6=this['_getElementKey']({'getAttribute':_0x4b043b=>_0x100d9e['attributes']['get'](_0x4b043b)});_0x48644['add'](_0x175bb6);}}for(const [_0x5b98e6,_0x58024a]of this['_trackedElements'])'$graveyard'===_0x58024a['root']['rootName']&&_0x48644['add'](_0x5b98e6);for(const _0x2eed4d of _0x48644)this['_trackedElements']['delete'](_0x2eed4d);for(const [_0x1f3a90,_0x39e763]of _0x4c9c85)this['_trackedElements']['set'](_0x1f3a90,_0x39e763[_0x39e763['length']-0x1]);const _0x1ef197=new Set();for(const [_0x4025ad,_0x584a9d]of _0x4c9c85)_0x48644['has'](_0x4025ad)&&(_0x1ef197['add'](_0x584a9d[0x0]),_0x584a9d['length']>0x1?_0x4c9c85['set'](_0x4025ad,_0x584a9d['slice'](0x1)):_0x4c9c85['delete'](_0x4025ad),_0x48644['delete'](_0x4025ad));return{'removed':Array['from'](_0x48644),'inserted':Array['from'](_0x4c9c85['values']())['flat'](),'moved':Array['from'](_0x1ef197)};}}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(_0x237f17){super(_0x237f17),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4f726e=>_0x4f726e['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x57e700=>_0x57e700['getAttribute']('footnoteId')});}['init'](){const {editor:_0x32435a}=this,{model:_0x1baed6,data:_0x476f47}=_0x32435a;_0x1baed6['document']['registerPostFixer'](_0x241af4=>{const _0x463966=_0x1baed6['document']['differ']['getChanges']();let _0x423658=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x241af4,_0x463966)&&(_0x423658=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x241af4,_0x463966)&&(_0x423658=!0x0),this['_handleFootnoteReferencesChanges'](_0x241af4,_0x463966)&&(_0x423658=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x241af4)&&(_0x423658=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x241af4)&&(_0x423658=!0x0),this['_sortFootnoteDefinitions'](_0x241af4)&&(_0x423658=!0x0),_0x423658;}),this['listenTo'](_0x1baed6['document'],'change:data',()=>{_0x1baed6['enqueueChange']({'isUndoable':!0x1},_0x16af63=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x16af63);});},{'priority':'low'}),this['listenTo'](_0x476f47,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x12ee9e){return this['_footnotes']['find'](_0x46de6f=>_0x46de6f['id']===_0x12ee9e)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x44f280){this['_footnoteFormatter']=_0x44f280;}['_updateFootnotesCounters'](_0x4b6c71,_0x236904=0x0){let _0x2909c7=!0x1;for(let _0x1a7c5a=_0x236904;_0x1a7c5a<this['_footnotes']['length'];_0x1a7c5a++)this['_updateFootnoteRefCounter'](_0x4b6c71,_0x1a7c5a)&&(_0x2909c7=!0x0);return _0x2909c7;}['_insertEmptyFootnotesDefinitionsContainer'](_0xbc6a34,_0x17d81e){const _0x1111e0=_0xbc6a34['createElement']('footnotesDefinitions',{});return _0xbc6a34['append'](_0x1111e0,_0x17d81e),this['_footnotesDefinitions']=_0x1111e0,_0x1111e0;}['_ensureFootnotesDefinitionsContainerExists'](_0x4b91da){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x23744a=this['_footnotes'][0x0]['reference']['root'],_0x2ac78a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x4b91da,_0x23744a);for(const _0x28dfb6 of this['_footnotes'])_0x28dfb6['definition']['parent']||_0x4b91da['insert'](_0x28dfb6['definition'],_0x2ac78a,'end');this['_updateFootnotesCounters'](_0x4b91da);}['_handleFootnotesDefinitionsObjectChanges'](_0x4ff21d,_0x4d8d57){let _0x15acab=!0x1;const {inserted:_0x24e1d4,removed:_0x4ed953,moved:_0x1a42ab}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4d8d57);if(_0x1a42ab['length']&&(this['_footnotesDefinitions']=_0x1a42ab[0x0]),_0x24e1d4['length']){if(_0x24e1d4['length']>0x1||this['_footnotesDefinitions']&&_0x24e1d4['some'](_0x4ad9f8=>_0x4ad9f8!==this['_footnotesDefinitions'])){const _0x5283fb=_0x4ff21d['createElement']('footnotesDefinitions',{}),_0x25dfec=[];this['_footnotesDefinitions']&&_0x25dfec['push'](this['_footnotesDefinitions']),_0x25dfec['push'](..._0x24e1d4),_0x4ff21d['insert'](_0x5283fb,_0x25dfec[0x0],'before');for(const _0x5671b2 of _0x25dfec)_0x4ff21d['move'](_0x4ff21d['createRangeIn'](_0x5671b2),_0x4ff21d['createPositionAt'](_0x5283fb,'end')),_0x4ff21d['remove'](_0x5671b2);this['_footnotesDefinitions']=_0x5283fb,this['_updateFootnotesCounters'](_0x4ff21d),_0x15acab=!0x0;}else this['_footnotesDefinitions']=_0x24e1d4[0x0];}if(_0x4ed953['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x133d0e of this['_footnotes'])_0x4ff21d['remove'](_0x133d0e['reference']),_0x15acab=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x15acab;}['_handleFootnoteDefinitionsChanges'](_0x18f902,_0x23a34c){let _0x3b882c=!0x1;const _0x31e7bf=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x247f79,moved:_0x589c2}=this['_footnoteDefsTracker']['getChanges'](_0x23a34c);for(const _0x5c72d3 of[..._0x589c2,..._0x247f79]){const _0x41f494=_0x5c72d3['getAttribute']('footnoteId'),_0x5925ca=this['getFootnote'](_0x41f494);_0x5925ca&&(_0x5925ca['definition']=_0x5c72d3),ensureDefinitionIsNotEmpty(_0x18f902,_0x31e7bf,_0x5c72d3)&&(_0x3b882c=!0x0);}return _0x3b882c;}['_handleFootnoteReferencesChanges'](_0x9fd86,_0x4fa374){let _0x163c60=!0x1;const {removed:_0x48f08e,inserted:_0x375779,moved:_0x584e00}=this['_footnoteRefsTracker']['getChanges'](_0x4fa374);for(const _0x390a99 of _0x48f08e)this['_handleRemoveFootnoteReferenceById'](_0x9fd86,_0x390a99)&&(_0x163c60=!0x0);for(const _0x565708 of _0x375779)this['_handleInsertedFootnoteReference'](_0x9fd86,_0x565708)&&(_0x163c60=!0x0);for(const _0x1b0f46 of _0x584e00)this['_handleMovedFootnoteReference'](_0x9fd86,_0x1b0f46)&&(_0x163c60=!0x0);return _0x163c60;}['_handleFootnotesDefinitionsObjectSync'](_0x774c28){if(!this['_footnotesDefinitions'])return!0x1;let _0x1ab01a=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x190136=[];for(const _0x59cf47 of this['_footnotesDefinitions']['getChildren']()){const _0x2ac243=_0x59cf47['getAttribute']('footnoteId');this['getFootnote'](_0x2ac243)||(_0x190136['unshift'](_0x59cf47),_0x1ab01a=!0x0);}for(const _0x5c7a54 of _0x190136)_0x774c28['remove'](_0x5c7a54);}const _0x126a32=new Set(),_0x1eee45=[];for(const _0x165886 of this['_footnotesDefinitions']['getChildren']()){const _0x1171be=_0x165886['getAttribute']('footnoteId');_0x126a32['has'](_0x1171be)?(_0x1eee45['unshift'](_0x165886),_0x1ab01a=!0x0):_0x126a32['add'](_0x1171be);}for(const _0x44b529 of _0x1eee45)_0x774c28['remove'](_0x44b529);return this['_footnotesDefinitions']['childCount']||(_0x774c28['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1ab01a=!0x0),_0x1ab01a;}['_handleInsertedFootnoteReference'](_0x5ccac2,_0x5f0d66){if(this['_footnotes']['find'](_0x527057=>_0x527057['reference']===_0x5f0d66))return!0x1;let _0x273653=!0x1;const _0x2fa012=_0x5f0d66['getAttribute']('footnoteId'),_0x10828e=this['_footnotes']['findIndex'](_0x2ba58d=>_0x2ba58d['id']===_0x2fa012);-0x1!==_0x10828e&&(_0x5ccac2['remove'](this['_footnotes'][_0x10828e]['reference']),this['_footnotes']['splice'](_0x10828e,0x1),_0x273653=!0x0);let _0x15f03a=this['_footnotesDefinitions']?findFootnoteDefinitionInContainer(this['_footnotesDefinitions'],_0x2fa012):null;_0x15f03a||(_0x15f03a=_0x5ccac2['createElement']('footnoteDefinition',{'footnoteId':_0x2fa012}),this['_footnotesDefinitions']&&(_0x5ccac2['insert'](_0x15f03a,this['_footnotesDefinitions'],'end'),_0x273653=!0x0));const _0x41362e={'id':_0x2fa012,'reference':_0x5f0d66,'definition':_0x15f03a},_0x50b913=findInsertFootnoteReferenceIndex(this['editor']['model'],this['_footnotes'],_0x5f0d66);this['_footnotes']['splice'](_0x50b913,0x0,_0x41362e);let _0x5597f3=_0x50b913;return-0x1!==_0x10828e&&(_0x5597f3=Math['min'](_0x50b913,_0x10828e)),this['_updateFootnotesCounters'](_0x5ccac2,_0x5597f3)&&(_0x273653=!0x0),_0x273653;}['_handleRemoveFootnoteReferenceById'](_0x58d4b7,_0x4b0355){const _0x2b32d4=this['_footnotes']['findIndex'](_0xee6db6=>_0xee6db6['id']===_0x4b0355);if(-0x1===_0x2b32d4)return!0x1;let _0x16f7de=!0x1;const _0x320345=this['_footnotes'][_0x2b32d4];return'$graveyard'!==_0x320345['definition']['root']['rootName']&&(_0x58d4b7['remove'](_0x320345['definition']),_0x16f7de=!0x0),this['_footnotes']['splice'](_0x2b32d4,0x1),this['_updateFootnotesCounters'](_0x58d4b7,_0x2b32d4)&&(_0x16f7de=!0x0),_0x16f7de;}['_handleMovedFootnoteReference'](_0x40eac4,_0x1af33a){const _0x538cf4=_0x1af33a['getAttribute']('footnoteId'),_0x5088b4=this['_footnotes']['findIndex'](_0x1c8e8f=>_0x1c8e8f['id']===_0x538cf4),_0x4c53cb=this['_footnotes'][_0x5088b4];let _0x45ee7f=!0x1;_0x4c53cb['reference']=_0x1af33a,this['_footnotes']['splice'](_0x5088b4,0x1);const _0x1e9c24=findInsertFootnoteReferenceIndex(this['editor']['model'],this['_footnotes'],_0x1af33a);return this['_footnotes']['splice'](_0x1e9c24,0x0,_0x4c53cb),this['_updateFootnotesCounters'](_0x40eac4,Math['min'](_0x5088b4,_0x1e9c24))&&(_0x45ee7f=!0x0),_0x45ee7f;}['_updateFootnoteRefCounter'](_0x511e90,_0x4695d6){if(!this['_footnotesDefinitions'])return!0x1;const _0x15a09e=this['_footnotes'][_0x4695d6];let _0x243fb5;return _0x243fb5=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x15a09e,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x4695d6+0x1}):String(_0x4695d6+0x1),_0x15a09e['reference']['getAttribute']('footnoteCounter')!=_0x243fb5&&(_0x511e90['setAttribute']('footnoteCounter',_0x243fb5,_0x15a09e['reference']),!0x0);}['_sortFootnoteDefinitions'](_0xbdc94e){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(_0x315643(this['_footnotes']['map'](_0x22727f=>_0x22727f['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x2a5c56=>_0x2a5c56['getAttribute']('footnoteId'))))return!0x1;let _0x18aa13=!0x1;for(let _0x570694=0x0;_0x570694<this['_footnotes']['length'];_0x570694++){const _0xd31626=this['_footnotes'][_0x570694],_0x251b70=_0xbdc94e['createPositionBefore'](_0xd31626['definition']),_0xf36852=_0xbdc94e['createPositionAt'](this['_footnotesDefinitions'],_0x570694);_0x251b70['isEqual'](_0xf36852)||(_0xbdc94e['move'](_0xbdc94e['createRangeOn'](_0xd31626['definition']),_0xf36852),_0x18aa13=!0x0);}return _0x18aa13;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3b2533){if(!this['_footnotes']['length'])return!0x1;const {model:_0x1f147a}=this['editor'];let _0x450b9c=!0x1;for(let _0xc6ad62=0x0;_0xc6ad62<this['_footnotes']['length']-0x1;_0xc6ad62++){const _0x35a35=this['_footnotes'][_0xc6ad62],_0x21edeb=this['_footnotes'][_0xc6ad62+0x1],_0x4cb792=_0x1f147a['createPositionBefore'](_0x35a35['reference']),_0x3d7df9=_0x1f147a['createPositionBefore'](_0x21edeb['reference']);'after'===_0x4cb792['compareWith'](_0x3d7df9)&&(this['_handleMovedFootnoteReference'](_0x3b2533,_0x35a35['reference']),_0xc6ad62=-0x1,_0x450b9c=!0x0);}return _0x450b9c;}}function ensureDefinitionIsNotEmpty(_0x1bd352,_0x5db71c,_0xe209ad){if(_0xe209ad['childCount'])return!0x1;const _0x5b0496=_0x5db71c?'paragraph':'footnoteInlineContent';return _0x1bd352['insert'](_0x1bd352['createElement'](_0x5b0496),_0xe209ad),!0x0;}function findFootnoteDefinitionInContainer(_0x1c422f,_0x5bbd3c){for(const _0x5989df of _0x1c422f['getChildren']())if(_0x5989df['getAttribute']('footnoteId')===_0x5bbd3c)return _0x5989df;return null;}function findInsertFootnoteReferenceIndex(_0x248253,_0x166731,_0x2d0119){if(0x0===_0x166731['length'])return 0x0;const _0x325461=_0x248253['createPositionBefore'](_0x2d0119);for(let _0x2d4b01=0x0;_0x2d4b01<_0x166731['length'];_0x2d4b01++){const _0x25a75e=_0x166731[_0x2d4b01],_0x2701ad=_0x248253['createPositionBefore'](_0x25a75e['reference']);if('before'===_0x325461['compareWith'](_0x2701ad))return _0x2d4b01;}const _0x25ebbe=_0x2d0119['root'];let _0x9db5e0=-0x1;for(let _0x1d7784=_0x166731['length']-0x1;_0x1d7784>=0x0;_0x1d7784--)if(_0x166731[_0x1d7784]['reference']['root']===_0x25ebbe){_0x9db5e0=_0x1d7784;break;}if(-0x1!==_0x9db5e0)return _0x9db5e0+0x1;const _0x4049fc=_0x248253['document']['getRootNames'](),_0x1bff2e=_0x4049fc['indexOf'](_0x25ebbe['rootName']),_0x19f01f=_0x4049fc[_0x1bff2e+0x1];if(_0x19f01f){for(let _0x412c0d=0x0;_0x412c0d<_0x166731['length'];_0x412c0d++)if(_0x166731[_0x412c0d]['reference']['root']['rootName']===_0x19f01f)return _0x412c0d;}return _0x166731['length'];}function _0x315643(_0x2f14b8,_0x2fb60b){if(_0x2f14b8['length']!==_0x2fb60b['length'])return!0x1;for(let _0x186361=0x0;_0x186361<_0x2f14b8['length'];_0x186361++)if(_0x2f14b8[_0x186361]!==_0x2fb60b[_0x186361])return!0x1;return!0x0;}class InsertFootnoteCommand extends ckeditor5['Command']{['refresh'](){const _0x1b712f=this['editor']['model']['document']['selection'],_0x37f820=this['_getPositionToInsertFootnote'](_0x1b712f);this['isEnabled']=!!_0x37f820;}['execute'](_0x146c78){const {editor:_0x825f97}=this,{model:_0x417370}=_0x825f97,{selection:_0x3566e6}=_0x417370['document'],_0x235fc8=this['_getPositionToInsertFootnote'](_0x3566e6);if(!_0x235fc8)return;const _0x5c8066=_0x825f97['plugins']['get']('FootnotesEditing'),_0x4fc0df=_0x146c78?.['footnoteId']??ckeditor5['uid']();isFootnoteIdValid(_0x4fc0df)?(_0x417370['change'](_0x1232d9=>{const _0x333b4d=_0x1232d9['createElement']('footnoteRef',{'footnoteId':_0x4fc0df});_0x417370['insertObject'](_0x333b4d,_0x235fc8,null);}),_0x5c8066['_moveSelectionToFootnoteDefinition'](_0x4fc0df)):ckeditor5['logWarning']('insert-footnote-command-executed-with-invalid-id');}['_getPositionToInsertFootnote'](_0x593d80){const {model:_0x50c052}=this['editor'],{schema:_0x5c5dc9}=_0x50c052,_0x436e63=_0x593d80['getFirstRange']();for(const _0x5df9f2 of _0x436e63['getItems']())if(_0x5c5dc9['isBlock'](_0x5df9f2)||_0x5c5dc9['isObject'](_0x5df9f2))return null;const _0x3114bc=_0x436e63['end'];return _0x5c5dc9['checkChild'](_0x3114bc,'footnoteRef')?_0x3114bc:null;}}function isFootnoteIdValid(_0x10006a){return'string'==typeof _0x10006a&&_0x10006a['length']>0x0&&!/\s/['test'](_0x10006a)&&!/^\d/['test'](_0x10006a);}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:_0x2f68b8}=this;_0x2f68b8['config']['define']('footnotes.multiBlock',!0x0),_0x2f68b8['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x2f68b8)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){_0x2ffdde(this);}['_moveSelectionToFootnoteDefinition'](_0x4833){const {plugins:_0x49e0ed,editing:_0x2b14bc,model:_0x134c70}=this['editor'],_0x3a8c51=_0x49e0ed['get'](FootnotesTracker)['getFootnote'](_0x4833);return!!_0x3a8c51&&(_0x134c70['change'](_0x54cd64=>{_0x54cd64['setSelection'](_0x54cd64['createPositionAt'](_0x3a8c51['definition'],'end'));}),_0x2b14bc['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x436ac7){const {plugins:_0x3b4c30,editing:_0x562c15,model:_0x30dfc3}=this['editor'],_0x564075=_0x3b4c30['get'](FootnotesTracker)['getFootnote'](_0x436ac7);return!!_0x564075&&(_0x30dfc3['change'](_0x29d2cf=>{_0x29d2cf['setSelection'](_0x564075['reference'],'on');}),_0x562c15['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x111761}=this['editor']['model'],_0x4e6d04=this['editor']['config']['get']('footnotes.multiBlock');_0x111761['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x111761['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x111761['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4e6d04?_0x111761['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x111761['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x111761['addChildCheck'](_0x52781d=>{for(const _0xe3a715 of _0x52781d)if('footnoteDefinition'===_0xe3a715['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x28915b}=this,{conversion:_0x1140c2,editing:_0x5ba01c}=_0x28915b,{t:t}=_0x28915b['locale'];_0x1140c2['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xa5fb88,{writer:_0xff3bc4,consumable:_0x351a6d})=>{const _0x3aeb2f=_0xa5fb88['getChild'](0x0);if(!_0x3aeb2f||!_0x3aeb2f['is']('element','a'))return null;const _0x3825d9=_0x3aeb2f['getAttribute']('href')||'';if(!_0x3825d9['startsWith']('#'))return null;const _0x5d0848=_0x3825d9['replace'](/^#/,'');if(!_0x5d0848)return null;_0x351a6d['consume'](_0x3aeb2f,{'name':!0x0,'attributes':['href']});for(const {item:_0x49984f}of _0x5ba01c['view']['createRangeIn'](_0x3aeb2f))_0x49984f['is']('$textProxy')?_0x351a6d['consume'](_0x49984f['textNode'],{'name':!0x0}):_0x49984f['is']('element')&&_0x351a6d['consume'](_0x49984f,{'name':!0x0});return _0xff3bc4['createElement']('footnoteRef',{'footnoteId':_0x5d0848});}}),_0x1140c2['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1b5289,{writer:_0x8291ee})=>createFootnoteRefView(_0x1b5289,_0x8291ee)}),_0x1140c2['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x54aa7a,{writer:_0x598ff8})=>{const _0x4738b4=_0x54aa7a['getAttribute']('footnoteCounter');return ckeditor5['toWidget'](createFootnoteRefView(_0x54aa7a,_0x598ff8),_0x598ff8,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4738b4)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1e5e95}=this,{t:t}=_0x1e5e95['locale'],{conversion:_0x193f6e}=_0x1e5e95;_0x193f6e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x193f6e['for']('upcast')['add'](_0xf2e4ee=>{_0xf2e4ee['on']('element:ol',(_0x5af0cb,_0x391e30,_0x13652f)=>{const _0x4853f7=_0x391e30['viewItem'];if(!_0x4853f7['hasClass']('footnotes-list')||!_0x391e30['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x13652f['consumable']['consume'](_0x4853f7,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2cf732,modelCursor:_0x337b57}=_0x13652f['convertChildren'](_0x391e30['viewItem'],_0x391e30['modelCursor']);_0x391e30['modelRange']=_0x2cf732,_0x391e30['modelCursor']=_0x337b57;}),_0xf2e4ee['on']('element:hr',(_0x39afe0,_0x3cac77,_0xb111b9)=>{const _0x8aacbb=_0x3cac77['viewItem'];_0x8aacbb['hasClass']('footnotes-divider')&&_0x3cac77['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xb111b9['consumable']['consume'](_0x8aacbb,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x193f6e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x250c0d,{writer:_0x5c97b6})=>createFootnotesWrapperView(_0x5c97b6)}),_0x193f6e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1d16c4,{writer:_0x2add07})=>{const _0x2eb984=createFootnotesWrapperView(_0x2add07,{'data-footnotes-list-label':t('Footnotes')}),_0x34c8a0=ckeditor5['toWidget'](_0x2eb984,_0x2add07,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2add07['setCustomProperty']('footnotesDefinitions',!0x0,_0x34c8a0),_0x34c8a0;}});}['_defineDefinitionConverters'](){const {editor:_0x57b32e}=this,{conversion:_0x14e92d,locale:_0x2b00e3}=_0x57b32e,_0x40c4ab=_0x57b32e['config']['get']('footnotes.multiBlock');_0x14e92d['for']('upcast')['add'](_0x5a7a9c=>{_0x5a7a9c['on']('element:li',(_0x4ac1a8,_0x2bfd65,_0x227efa)=>{const _0x584ee1=_0x2bfd65['viewItem'];if(!_0x584ee1['hasClass']('footnote-definition')||!_0x584ee1['getAttribute']('id'))return;const _0x23a0fa=_0x584ee1['parent'];if(!_0x23a0fa['is']('element','ol')||!_0x23a0fa['hasClass']('footnotes-list'))return;if(!_0x227efa['consumable']['test'](_0x584ee1,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x582fc1=_0x227efa['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x584ee1['getAttribute']('id')});if(!_0x227efa['safeInsert'](_0x582fc1,_0x2bfd65['modelCursor']))return;_0x227efa['consumable']['consume'](_0x584ee1,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x41d6d9=Array['from'](_0x584ee1['getChildren']())['find'](_0x29993c=>_0x29993c['is']('element')&&_0x29993c['hasClass']('footnote-content'));for(const _0x1bc76a of _0x584ee1['getChildren']())_0x1bc76a['is']('element')&&(_0x227efa['consumable']['consume'](_0x1bc76a,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x227efa['consumable']['consume'](_0x1bc76a,{'name':!0x0,'classes':'footnote-content'}));if(_0x41d6d9){if(_0x40c4ab)_0x227efa['convertChildren'](_0x41d6d9,_0x582fc1);else{const _0x5d99ec=_0x227efa['writer']['createElement']('footnoteInlineContent');_0x227efa['writer']['insert'](_0x5d99ec,_0x582fc1),_0x227efa['convertChildren'](_0x41d6d9,_0x5d99ec);}}_0x227efa['updateConversionResult'](_0x582fc1,_0x2bfd65);});}),_0x14e92d['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x11374c,{writer:_0x2acb29})=>createFootnoteDefinitionView(_0x11374c,_0x2acb29,_0x2b00e3,{'dataPipeline':!0x0})}),_0x14e92d['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x411cc1,{writer:_0x5bc747})=>createFootnoteDefinitionView(_0x411cc1,_0x5bc747,_0x2b00e3)});}['_defineBogusParagraphConverters'](){const {editor:_0x5d3394}=this,{conversion:_0x308ee1}=_0x5d3394;_0x5d3394['config']['get']('footnotes.multiBlock')?(_0x308ee1['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':footnoteBogusParagraphCreator(),'converterPriority':'high'}),_0x308ee1['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':footnoteBogusParagraphCreator({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5d3394['model']['document'],'change:data',()=>{footnoteDefinitionRefreshHandler(_0x5d3394['model'],_0x5d3394['editing']);})):(_0x308ee1['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':footnoteBogusParagraphCreator()}),_0x308ee1['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xe7a9e6,{writer:_0x2950a8})=>{const _0x303771=_0x2950a8['createContainerElement']('span');return _0x2950a8['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x303771),_0x303771;}}));}['_defineKeyboardHandlers'](){const {editor:_0x27ee9c}=this,{editing:_0x3f085d,t:t}=_0x27ee9c,_0x2f407f=_0x27ee9c['model']['document']['selection'];_0x27ee9c['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x27ee9c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3f085d['view']['document'],'enter',(_0x2430d4,_0x4897e3)=>{const _0x596416=getSelectedFootnoteRef(_0x2f407f);if(_0x596416){const _0x1e01f3=_0x596416['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1e01f3),_0x4897e3['preventDefault'](),_0x2430d4['stop']();}},{'context':ckeditor5['isWidget']});}['_defineClickHandlers'](){const {editor:_0x5bb598}=this,{editing:_0x3d53bf}=_0x5bb598;_0x5bb598['editing']['view']['addObserver'](ckeditor5['PointerObserver']),_0x5bb598['editing']['view']['addObserver'](ckeditor5['ClickObserver']);let _0x3e9257=!0x1;this['listenTo'](_0x3d53bf['view']['document'],'pointerdown',(_0x1bcf3b,_0x18de95)=>{const {target:_0x280e61}=_0x18de95,_0x1e6905=_0x3d53bf['view']['document']['selection'];_0x3e9257=!!(_0x280e61?.['is']('element','a')&&_0x280e61['parent']?.['is']('element','sup')&&_0x280e61['parent']['hasClass']('footnote'))&&_0x1e6905['getSelectedElement']()===_0x280e61['parent'];},{'priority':'high'}),this['listenTo'](_0x3d53bf['view']['document'],'click',(_0x2bdf5d,_0x33fc80)=>{const {target:_0x1fb3e0}=_0x33fc80;if(!_0x1fb3e0?.['is']('element','a'))return;if(_0x1fb3e0['parent']?.['is']('element','sup')&&_0x1fb3e0['parent']['hasClass']('footnote')&&!_0x3e9257)return void _0x33fc80['preventDefault']();let _0x6a5614=_0x1fb3e0['getAttribute']('href');if(!_0x6a5614?.['startsWith']('#'))return;_0x6a5614=_0x6a5614['slice'](0x1);let _0x33a52b=!0x1;(_0x6a5614['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x6a5614['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x6a5614))&&(_0x33a52b=!0x0),_0x33a52b&&(_0x33fc80['preventDefault'](),_0x2bdf5d['stop']());},{'priority':'high','context':'$capture'});}}function getSelectedFootnoteRef(_0x356cac){const _0x1c750f=_0x356cac['getSelectedElement']();return _0x1c750f?.['is']('element','footnoteRef')?_0x1c750f:null;}function footnoteBogusParagraphCreator({dataPipeline:_0x4d1ad8}={}){return(_0x2ac661,{writer:_0x1b7b30})=>{if(!shouldUseBogusParagraphInFootnote(_0x2ac661))return null;if(!_0x4d1ad8)return _0x1b7b30['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x38ce23=_0x1b7b30['createContainerElement']('p');return _0x1b7b30['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x38ce23),_0x38ce23;};}function shouldUseBogusParagraphInFootnote(_0x1af3e8){const {parent:_0x117144}=_0x1af3e8;if(!_0x117144?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x117144['childCount'])return!0x1;for(const _0x539d82 of _0x1af3e8['getAttributeKeys']())if(!_0x539d82['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x539d82)return!0x1;return!0x0;}function footnoteDefinitionRefreshHandler(_0x2a9d54,_0x13dbbc){const _0x4ce889=_0x2a9d54['document']['differ'],_0x3f4090=new Set();for(const _0x226090 of _0x4ce889['getChanges']()){const _0x337d1d='attribute'==_0x226090['type']?_0x226090['range']['start']['parent']:_0x226090['position']['parent'];_0x337d1d['is']('element','footnoteDefinition')&&_0x3f4090['add'](_0x337d1d);}for(const _0x3843c5 of _0x3f4090['values']()){const _0x32552d=Array['from'](_0x3843c5['getChildren']())['filter'](_0x51e0dc=>_0x59b203(_0x51e0dc,_0x13dbbc['mapper']));for(const _0x66d428 of _0x32552d)_0x13dbbc['reconvertItem'](_0x66d428);}}function _0x59b203(_0x28f7c8,_0x4cefb6){if(!_0x28f7c8['is']('element','paragraph'))return!0x1;const _0x197249=_0x4cefb6['toViewElement'](_0x28f7c8);return!!_0x197249&&shouldUseBogusParagraphInFootnote(_0x28f7c8)!==_0x197249['is']('element','span');}function isFootnotesDefinitionsWidget(_0x3a9343){return ckeditor5['isWidget'](_0x3a9343)&&_0x3a9343['is']('containerElement')&&!!_0x3a9343['getCustomProperty']('footnotesDefinitions');}function createFootnotesWrapperView(_0x4d1dc7,_0x1ba8c1={}){const _0x2e6964=_0x4d1dc7['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4bd1a2=_0x4d1dc7['createContainerElement']('ol',{'class':'footnotes-list'},_0x4d1dc7['createSlot']());return _0x4d1dc7['createContainerElement']('div',{'class':'footnotes',..._0x1ba8c1},[_0x2e6964,_0x4bd1a2]);}function createFootnoteRefView(_0x42acd8,_0x14b3fd){const _0x498b55=_0x42acd8['getAttribute']('footnoteId'),_0x1b8014=_0x42acd8['getAttribute']('footnoteCounter'),_0x3df64e=_0x14b3fd['createUIElement']('a',{'href':'#'+_0x498b55},function(_0x2d433e){const _0x16510a=this['toDomElement'](_0x2d433e);return _0x16510a['textContent']=_0x1b8014,_0x16510a;}),_0x5a462f=_0x14b3fd['createContainerElement']('sup',{'id':'ref-'+_0x498b55,'class':'footnote'},[_0x3df64e]);return _0x5a462f['getFillerOffset']=()=>null,_0x5a462f;}function createFootnoteDefinitionView(_0x427dfd,_0x21686f,_0x133154,{dataPipeline:_0x1f763d}={}){const {t:t}=_0x133154,_0x16809b=_0x427dfd['getAttribute']('footnoteId'),_0x353b5d=_0x21686f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x16809b},function(_0x362dbf){const _0x2248b9=this['toDomElement'](_0x362dbf);return _0x2248b9['innerText']='^',_0x2248b9;}),_0xf84160=_0x1f763d?_0x21686f['createContainerElement']('div',{'class':'footnote-content'}):ckeditor5['toWidgetEditable'](_0x21686f['createEditableElement']('div',{'class':'footnote-content'}),_0x21686f,{'label':t('Footnote\x20content.')});return _0x21686f['insert'](_0x21686f['createPositionAt'](_0xf84160,0x0),_0x21686f['createSlot']()),_0x21686f['createContainerElement']('li',{'class':'footnote-definition','id':_0x16809b},[_0x353b5d,_0xf84160]);}async function _0x2ffdde(_0x3d9ded){const _0x558a81=_0x4f012c([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]),_0xaba0ce=window[_0x4f012c([0x44,0x61,0x74,0x65])][_0x4f012c([0x6e,0x6f,0x77])](),_0x38d690=_0x3d9ded[_0x4f012c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e9825=new window[(_0x4f012c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x215297=>{_0x38d690[_0x4f012c([0x6f,0x6e,0x63,0x65])](_0x4f012c([0x72,0x65,0x61,0x64,0x79]),_0x215297);}),_0x4fc110={[_0x4f012c([0x6b,0x74,0x79])]:_0x4f012c([0x45,0x43]),[_0x4f012c([0x75,0x73,0x65])]:_0x4f012c([0x73,0x69,0x67]),[_0x4f012c([0x63,0x72,0x76])]:_0x4f012c([0x50,0x2d,0x32,0x35,0x36]),[_0x4f012c([0x78])]:_0x4f012c([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]),[_0x4f012c([0x79])]:_0x4f012c([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]),[_0x4f012c([0x61,0x6c,0x67])]:_0x4f012c([0x45,0x53,0x32,0x35,0x36])},_0x182ec8=_0x38d690[_0x4f012c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f012c([0x67,0x65,0x74])](_0x4f012c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3514d3=await(async function(){let _0x479484,_0x449930=null,_0x4ee182=null;try{if(_0x182ec8==_0x4f012c([0x47,0x50,0x4c]))return _0x4f012c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x479484=(function(){const _0x26cc8f=_0x182ec8[_0x4f012c([0x73,0x70,0x6c,0x69,0x74])](_0x4f012c([0x2e]));if(0x3!=_0x26cc8f[_0x4f012c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x7cfd88=_0x26cc8f[0x1];return _0x1263ca(_0x7cfd88);function _0x1263ca(_0x534677){const _0x50c4d=_0xa39b96(_0x534677);return _0x50c4d&&_0x24eb5a()?_0x50c4d:null;function _0x24eb5a(){const _0xb72baf=_0x50c4d[_0x4f012c([0x6a,0x74,0x69])],_0x336b53=window[_0x4f012c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb72baf[_0x4f012c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb72baf[_0x4f012c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50db15={..._0x50c4d,[_0x4f012c([0x6a,0x74,0x69])]:_0xb72baf[_0x4f012c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xb72baf[_0x4f012c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50db15[_0x4f012c([0x76,0x63])],_0x2f1b2e(_0x50db15)==_0x336b53;}}}()),!_0x479484)return _0x4f012c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x479484[_0x4f012c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4ee182=function(_0x6cb30c,_0x4b490a){return new window[(_0x4f012c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7e1cbb=>{if(_0x563132())return _0x7e1cbb(_0x4f012c([0x56,0x61,0x6c,0x69,0x64]));_0x5029b6(),_0x38d690[_0x4f012c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f012c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x271641=!0x1;const _0x17478c=ckeditor5['uid']();function _0x4d8861(_0x5dd8f9){return!!_0x5dd8f9&&(typeof _0x5dd8f9===_0x4f012c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5dd8f9===_0x4f012c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5dd8f9[_0x4f012c([0x74,0x68,0x65,0x6e])]===_0x4f012c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5dd8f9[_0x4f012c([0x63,0x61,0x74,0x63,0x68])]===_0x4f012c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f9327(_0x34b62e){_0x4b8ccc(_0x34b62e)[_0x4f012c([0x74,0x68,0x65,0x6e])](_0x469c89=>{if(!_0x469c89||_0x469c89[_0x4f012c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f012c([0x6f,0x6b]))return _0x4f012c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3fca07(_0x2f1b2e(_0x17478c+_0x4b490a))!=_0x469c89[_0x4f012c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f012c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f012c([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f012c([0x74,0x68,0x65,0x6e])](_0x278ae0=>(_0x1e4ebb(),_0x278ae0),()=>{const _0x4ec291=_0x19dc0d();return null==_0x4ec291?(_0x1e4ebb(),_0x4f012c([0x56,0x61,0x6c,0x69,0x64])):_0x4f012c(_0xaba0ce-_0x4ec291>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f012c([0x74,0x68,0x65,0x6e])](_0x7e1cbb)[_0x4f012c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x7e1cbb(_0x4f012c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x43b9d1=0x36ee80;function _0x1e4ebb(){const _0x3a70d5=_0x4f012c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3fca07(_0x2f1b2e(_0x6cb30c)),_0x217678=_0x61781b(_0x3fca07(window[_0x4f012c([0x4d,0x61,0x74,0x68])][_0x4f012c([0x63,0x65,0x69,0x6c])](_0xaba0ce/_0x43b9d1)));window[_0x4f012c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f012c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a70d5,_0x217678);}function _0x19dc0d(){const _0x12601b=_0x4f012c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3fca07(_0x2f1b2e(_0x6cb30c)),_0x2be743=window[_0x4f012c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f012c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12601b);return _0x2be743?window[_0x4f012c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x61781b(_0x2be743),0x10)*_0x43b9d1:null;}function _0x4b8ccc(_0x129e2b){return new window[(_0x4f012c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42b336,_0x4a809b)=>{_0x129e2b[_0x4f012c([0x74,0x68,0x65,0x6e])](_0x42b336,_0x4a809b),window[_0x4f012c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a809b,0x1d4c0);});}}_0x38d690[_0x4f012c([0x6f,0x6e])](_0x4f012c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5dcbb1,_0x593646)=>{if(_0x593646[0x0]!=_0x6cb30c)return _0x7e1cbb(_0x4f012c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x593646[0x1]={..._0x593646[0x1],[_0x4f012c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x17478c};},{[_0x4f012c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f012c([0x68,0x69,0x67,0x68])}),_0x38d690[_0x4f012c([0x6f,0x6e])](_0x4f012c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x520326=>{_0x4d8861(_0x520326[_0x4f012c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x271641=!0x0,_0x1f9327(_0x520326[_0x4f012c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f012c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f012c([0x6c,0x6f,0x77])}),_0x2e9825[_0x4f012c([0x74,0x68,0x65,0x6e])](()=>{_0x271641||_0x7e1cbb(_0x4f012c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x563132(){return _0x38d690[_0x4f012c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f012c([0x76,0x69,0x65,0x77])][_0x4f012c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f012c([0x61,0x75,0x74,0x6f]);}function _0x5029b6(){_0x38d690[_0x4f012c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f012c([0x76,0x69,0x65,0x77])][_0x4f012c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f012c([0x61,0x75,0x74,0x6f]);}}(_0x479484[_0x4f012c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x479484[_0x4f012c([0x6a,0x74,0x69])]));const _0xaa9177=await(async function(){let _0x4cf5bc=!0x0;try{const _0x12db46=_0x182ec8[_0x4f012c([0x73,0x70,0x6c,0x69,0x74])](_0x4f012c([0x2e])),[_0x4b111e,_0x2afa7f,_0x5ed113]=_0x12db46;return _0x902fd9(_0x4b111e),await _0x5c0bc5(_0x4b111e,_0x2afa7f,_0x5ed113),_0x4cf5bc;}catch{return!0x1;}function _0x902fd9(_0x9f79a4){const _0x1b48b7=_0xa39b96(_0x9f79a4);_0x1b48b7&&_0x1b48b7[_0x4f012c([0x61,0x6c,0x67])]==_0x4f012c([0x45,0x53,0x32,0x35,0x36])||(_0x4cf5bc=!0x1);}async function _0x5c0bc5(_0x440426,_0xa06094,_0x3c81f6){const _0x4cd90b=window[_0x4f012c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f012c([0x66,0x72,0x6f,0x6d])](_0x3db434(_0x3c81f6),_0x42222d=>_0x42222d[_0x4f012c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x6651e8=new window[(_0x4f012c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f012c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x440426+_0x4f012c([0x2e])+_0xa06094),_0x188ace=window[_0x4f012c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f012c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x188ace)return;const _0x10f184=await _0x188ace[_0x4f012c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f012c([0x6a,0x77,0x6b]),_0x4fc110,{[_0x4f012c([0x6e,0x61,0x6d,0x65])]:_0x4f012c([0x45,0x43,0x44,0x53,0x41]),[_0x4f012c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f012c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f012c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x188ace[_0x4f012c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f012c([0x6e,0x61,0x6d,0x65])]:_0x4f012c([0x45,0x43,0x44,0x53,0x41]),[_0x4f012c([0x68,0x61,0x73,0x68])]:{[_0x4f012c([0x6e,0x61,0x6d,0x65])]:_0x4f012c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10f184,_0x4cd90b,_0x6651e8)||(_0x4cf5bc=!0x1);}}());return _0xaa9177?(function(){const _0xc3916a=_0x479484[_0x4f012c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0xc3916a)return!0x1;if(_0xc3916a[_0x4f012c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f012c([0x2a])))return!0x0;if(_0xc3916a[_0x4f012c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f012c([0x46,0x4f,0x4f])))return!0x0;return!0x1;}())?(function(){const _0x3198f8=[_0x4f012c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f012c([0x74,0x72,0x69,0x61,0x6c])][_0x4f012c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x479484[_0x4f012c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xaba0ce/0x3e8:0x69cb0e80;return _0x479484[_0x4f012c([0x65,0x78,0x70])]<_0x3198f8;}())?_0x4f012c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x2ad89d=_0x479484[_0x4f012c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2ad89d||0x0==_0x2ad89d[_0x4f012c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa1ff45}=new URL(window[_0x4f012c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2ad89d[_0x4f012c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa1ff45))return!0x0;const _0x27eee8=_0xa1ff45[_0x4f012c([0x73,0x70,0x6c,0x69,0x74])](_0x4f012c([0x2e]));return _0x2ad89d[_0x4f012c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27aa50=>_0x27aa50[_0x4f012c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f012c([0x2a])))[_0x4f012c([0x6d,0x61,0x70])](_0x1440b7=>_0x1440b7[_0x4f012c([0x73,0x70,0x6c,0x69,0x74])](_0x4f012c([0x2e])))[_0x4f012c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x597dbf=>_0x597dbf[_0x4f012c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x27eee8[_0x4f012c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f012c([0x6d,0x61,0x70])](_0x4d242e=>Array(_0x27eee8[_0x4f012c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4d242e[_0x4f012c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f012c([0x66,0x69,0x6c,0x6c])](_0x4d242e[0x0]===_0x4f012c([0x2a])?_0x4f012c([0x2a]):'')[_0x4f012c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4d242e))[_0x4f012c([0x73,0x6f,0x6d,0x65])](_0x1c77ad=>_0x27eee8[_0x4f012c([0x65,0x76,0x65,0x72,0x79])]((_0x4cf908,_0x44b68f)=>_0x1c77ad[_0x44b68f]===_0x4cf908||_0x1c77ad[_0x44b68f]===_0x4f012c([0x2a])));}())?(_0x479484[_0x4f012c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f012c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x449930=function(_0x3d46b1){const _0x12cc32=new window[(_0x4f012c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c6f57=>setTimeout(_0x1c6f57,0x93ecc)),_0x308252=_0x2e9825[_0x4f012c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f012c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x156cd1=>{let _0x229b82=0x0;_0x38d690[_0x4f012c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f012c([0x6f,0x6e])](_0x4f012c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x49ecdb,_0x15b3d4)=>{_0x15b3d4[0x0][_0x4f012c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x229b82++,0x5e8==_0x229b82&&(_0x156cd1(),_0x49ecdb[_0x4f012c([0x6f,0x66,0x66])]());});})),_0x46d2c4=[_0x12cc32,_0x308252];return window[_0x4f012c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f012c([0x72,0x61,0x63,0x65])](_0x46d2c4)[_0x4f012c([0x74,0x68,0x65,0x6e])](()=>_0x3d46b1);}(_0x4f012c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x449930&&_0x4ee182)return new window[(_0x4f012c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f8dd0,_0x57edcc)=>{_0x449930[_0x4f012c([0x74,0x68,0x65,0x6e])](_0x3f8dd0,_0x57edcc),_0x4ee182[_0x4f012c([0x74,0x68,0x65,0x6e])](_0x1d38f3=>{_0x1d38f3!=_0x4f012c([0x56,0x61,0x6c,0x69,0x64])&&_0x3f8dd0(_0x1d38f3);},_0x57edcc);});return _0x449930||_0x4ee182||_0x4f012c([0x56,0x61,0x6c,0x69,0x64]);}())):_0x4f012c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f012c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f012c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4f012c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0xa39b96(_0x2e3296){return _0x2e3296[_0x4f012c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f012c([0x65,0x79]))?JSON[_0x4f012c([0x70,0x61,0x72,0x73,0x65])](_0x3db434(_0x2e3296)):null;}function _0x3db434(_0x1fab05){return window[_0x4f012c([0x61,0x74,0x6f,0x62])](_0x1fab05[_0x4f012c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f012c([0x2b]))[_0x4f012c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f012c([0x2f])));}function _0x2f1b2e(_0x146109){let _0x5d5011=0x1505;function _0x592749(_0x507114){for(let _0x382c38=0x0;_0x382c38<_0x507114[_0x4f012c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x382c38++){const _0x5733b9=_0x507114[_0x4f012c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x382c38);_0x5d5011=(_0x5d5011<<0x5)+_0x5d5011+_0x5733b9,_0x5d5011&=_0x5d5011;}}return function _0x3d9361(_0x1e654c){Array[_0x4f012c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e654c)?_0x1e654c[_0x4f012c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d9361):_0x1e654c&&typeof _0x1e654c==_0x4f012c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f012c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e654c)[_0x4f012c([0x73,0x6f,0x72,0x74])]()[_0x4f012c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b54c0,_0x55b80a])=>{_0x592749(_0x5b54c0),_0x3d9361(_0x55b80a);}):_0x592749(window[_0x4f012c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e654c));}(_0x146109),_0x5d5011>>>0x0;}function _0x3fca07(_0x43b9fa){return _0x43b9fa[_0x4f012c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f012c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f012c([0x30]));}function _0x61781b(_0x166449){return _0x166449[_0x4f012c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f012c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f012c([0x6a,0x6f,0x69,0x6e])]('');}function _0x5ce2b3(){}function _0x4f012c(_0xf03b6e){return _0xf03b6e['map'](_0x5a4a16=>String['fromCharCode'](_0x5a4a16))['join']('');}!function(_0x225589){const _0x1dff78=(function(){const _0x18f657=window[_0x4f012c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f012c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f012c([0x6e,0x6f,0x77])]())[_0x4f012c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f012c([0x2e]),'');let _0x3aac45=_0x4f012c([0x75]);for(let _0x5a6d6d=0x0;_0x5a6d6d<_0x18f657[_0x4f012c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a6d6d+=0x2){let _0x324e6b=window[_0x4f012c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18f657[_0x4f012c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a6d6d,_0x5a6d6d+0x2));_0x324e6b>=_0x558a81[_0x4f012c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x324e6b-=_0x558a81[_0x4f012c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3aac45+=_0x558a81[_0x324e6b];}return _0x3aac45;}());_0x38d690[_0x1dff78]=_0x4f012c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x225589,_0x225589!=_0x4f012c([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x2e9825,_0x38d690[_0x4f012c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f012c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5ce2b3,_0x38d690[_0x4f012c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f012c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5ce2b3,_0x38d690[_0x4f012c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f012c([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x3514d3);}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:_0x4e2d13}=this,{plugins:_0x341ce2,model:_0x5c6ce1}=_0x4e2d13,_0x2b8937=_0x341ce2['get'](ckeditor5['ClipboardPipeline']),_0x24d674=_0x341ce2['get'](FootnotesTracker);this['listenTo'](_0x2b8937,'outputTransformation',(_0x100432,_0x3c74ed)=>{const _0x535564=pickAllFootnotesRefsIdsFromRange(_0x5c6ce1['createRangeIn'](_0x3c74ed['content']));if(!_0x535564['length'])return;const _0x2c3a52=_0x24d674['getFootnotes'](),_0x5ed711=_0x535564['reduce']((_0x29ba06,_0x51034d)=>{const _0x546859=_0x2c3a52['find'](_0x271a47=>_0x271a47['id']===_0x51034d);if(_0x546859){const _0x5e2afa=_0x4e2d13['data']['toView'](_0x546859['definition'],{'isClipboardPipeline':!0x0}),_0x1da0ff=_0x4e2d13['data']['htmlProcessor']['toData'](_0x5e2afa);_0x29ba06[_0x546859['id']]=_0x1da0ff;}return _0x29ba06;},Object['create'](null));_0x3c74ed['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5ed711));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x3a8f47}=this,{model:_0x27079a,plugins:_0x4f65fa}=_0x3a8f47,{view:_0x4887af}=_0x3a8f47['editing'],_0x4cf5ed=_0x4f65fa['get'](ckeditor5['ClipboardPipeline']),_0x16bd6e=_0x4f65fa['get'](FootnotesTracker),_0x2daf6f=_0x3a8f47['config']['get']('footnotes.multiBlock');let _0x1d2282=null;this['listenTo'](_0x4887af['document'],'clipboardInput',(_0x270c50,_0x4afe8e)=>{const _0x1afdc9=_0x4afe8e['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1d2282=_0x1afdc9?JSON['parse'](_0x1afdc9):null;}),this['listenTo'](_0x4cf5ed,'contentInsertion',(_0xc5f42f,_0x2ec460)=>{const _0x5d6d31=_0x2ec460['sourceEditorId']===this['editor']['id'];_0x5d6d31&&'drop'===_0x2ec460['method']||_0x27079a['change'](_0x45f863=>{let _0xd635ec=_0x16bd6e['getFootnotesDefinitionsObjectElement']();const _0x4e95f8=!!_0xd635ec&&Array['from'](_0x27079a['document']['selection']['getSelectedBlocks']())['includes'](_0xd635ec);if(!_0x1d2282&&areThereFootnotesRefsInRange(_0x27079a['createRangeIn'](_0x2ec460['content']))&&(_0x1d2282=extractFootnotesDefinitionsFromContent(_0x45f863,_0x2ec460['content'])),(_0xd635ec&&!_0x4e95f8||!_0xd635ec&&!_0x1d2282)&&removeFootnoteDefinitionsFromFragment(_0x45f863,_0x2ec460['content']),!_0x1d2282)return;const {selection:_0x5cb91c}=_0x27079a['document'],_0x35856f=_0x5cb91c['getFirstRange']()['root'];_0xd635ec&&!_0x4e95f8||(_0xd635ec=findFootnoteDefinitionsElementInFragment(_0x45f863,_0x2ec460['content']),_0xd635ec||=_0x16bd6e['_insertEmptyFootnotesDefinitionsContainer'](_0x45f863,_0x35856f));const _0x58efde=Array['from'](_0x5cb91c['getRanges']())['flatMap'](pickAllFootnotesRefsIdsFromRange),_0x48be8b=regenerateFootnoteIdsInFragment(_0x45f863,_0x2ec460['content'],_0x413e34=>{if(!_0x5d6d31)return!0x0;return!!_0x16bd6e['getFootnote'](_0x413e34)&&!_0x58efde['includes'](_0x413e34);});for(const [_0x3eed85,_0x3ea2a6]of Object['entries'](_0x1d2282)){const _0xf4c18f=_0x48be8b[_0x3eed85]||_0x3eed85;let _0x288cb4;if('string'!=typeof _0x3ea2a6)_0x288cb4=_0x3ea2a6,_0xf4c18f!==_0x3eed85&&_0x45f863['setAttribute']('footnoteId',_0xf4c18f,_0x288cb4);else{_0x288cb4=_0x45f863['createElement']('footnoteDefinition',{'footnoteId':_0xf4c18f});const _0x15c06d=_0x3a8f47['data']['htmlProcessor']['toView'](_0x3ea2a6);let _0x1f96ea;if(_0x2daf6f)_0x1f96ea=_0x3a8f47['data']['toModel'](_0x15c06d,_0x288cb4);else{_0x1f96ea=_0x45f863['createElement']('footnoteInlineContent');const _0x497c4c=_0x3a8f47['data']['toModel'](_0x15c06d,_0x1f96ea);_0x45f863['insert'](_0x497c4c,_0x1f96ea);}_0x45f863['append'](_0x1f96ea,_0x288cb4);}_0x45f863['insert'](_0x288cb4,_0xd635ec,'end');}_0x1d2282=null;});});}}function removeFootnoteDefinitionsFromFragment(_0xfd8188,_0xcbd89){const _0x3b82e7=[];for(const {item:_0x73c84c}of _0xfd8188['createRangeIn'](_0xcbd89))_0x73c84c['is']('element','footnotesDefinitions')&&_0x3b82e7['push'](_0x73c84c);for(const _0x12d49e of _0x3b82e7)_0xfd8188['remove'](_0x12d49e);}function findFootnoteDefinitionsElementInFragment(_0xe8f2f5,_0xd8534c){for(const {item:_0x1525a8}of _0xe8f2f5['createRangeIn'](_0xd8534c))if(_0x1525a8['is']('element','footnotesDefinitions'))return _0x1525a8;return null;}function pickAllFootnotesRefsIdsFromRange(_0x4d1276){const _0x351758=new Set();for(const {item:_0xfae27e}of _0x4d1276)_0xfae27e['is']('element','footnoteRef')&&_0x351758['add'](_0xfae27e['getAttribute']('footnoteId'));return Array['from'](_0x351758);}function areThereFootnotesRefsInRange(_0x283f33){for(const {item:_0x7f0c8b}of _0x283f33)if(_0x7f0c8b['is']('element','footnoteRef'))return!0x0;return!0x1;}function extractFootnotesDefinitionsFromContent(_0x4fbe4f,_0x3e55f6){const _0x7732be=findFootnoteDefinitionsElementInFragment(_0x4fbe4f,_0x3e55f6);if(!_0x7732be)return null;const _0x48e5ba=Object['create'](null);for(const _0xb30f10 of _0x7732be['getChildren']())_0xb30f10['is']('element','footnoteDefinition')&&_0xb30f10['hasAttribute']('footnoteId')&&(_0x48e5ba[_0xb30f10['getAttribute']('footnoteId')]=_0x4fbe4f['cloneElement'](_0xb30f10,!0x0));return Object['keys'](_0x48e5ba)['length']?_0x48e5ba:null;}function regenerateFootnoteIdsInFragment(_0x3b604e,_0x1fcb40,_0x3aedd1){const _0x4d85de=Object['create'](null);for(const {item:_0x112d7c}of _0x3b604e['createRangeIn'](_0x1fcb40))if(_0x112d7c['is']('element','footnoteRef')){const _0x558dd5=_0x112d7c['getAttribute']('footnoteId');if(!_0x3aedd1(_0x558dd5))continue;_0x4d85de[_0x558dd5]||(_0x4d85de[_0x558dd5]=ckeditor5['uid']()),_0x3b604e['setAttribute']('footnoteId',_0x4d85de[_0x558dd5],_0x112d7c);}return _0x4d85de;}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:_0x28cf92}=this,{componentFactory:_0x748f55}=_0x28cf92['ui'];_0x748f55['add']('insertFootnote',getInsertFootnoteButtonCreator(_0x28cf92,ckeditor5['ButtonView'])),_0x748f55['add']('menuBar:insertFootnote',getInsertFootnoteButtonCreator(_0x28cf92,ckeditor5['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3a736b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4d2975;for(const _0x5b828a in _0x3a736b){const _0x2154fd=_0x5b828a,_0xcb72ed=_0x3a736b[_0x2154fd];if('footnotesLicenseKeyValid'==_0xcb72ed||'footnotesLicenseKeyInvalid'==_0xcb72ed||'footnotesLicenseKeyExpired'==_0xcb72ed||'footnotesLicenseKeyDomainLimit'==_0xcb72ed||'footnotesLicenseKeyNotAllowed'==_0xcb72ed||'footnotesLicenseKeyEvaluationLimit'==_0xcb72ed||'footnotesLicenseKeyUsageLimit'==_0xcb72ed){delete _0x3a736b[_0x2154fd],_0x4d2975=_0xcb72ed,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4d2975&&_0x3a736b['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4d2975&&_0x3a736b['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4d2975&&_0x3a736b['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4d2975&&_0x3a736b['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4d2975&&_0x3a736b['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x4d2975&&_0x3a736b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getInsertFootnoteButtonCreator(_0x54015e,_0x495270){const _0xe60b53=_0x54015e['commands']['get']('insertFootnote');return _0x449a38=>{const {t:t}=_0x449a38,_0x48f2eb=new _0x495270(_0x449a38),_0x488c30=_0x48f2eb instanceof ckeditor5['MenuBarMenuListItemButtonView'];return _0x48f2eb['bind']('isEnabled')['to'](_0xe60b53,'isEnabled'),_0x48f2eb['set']({'label':t(_0x488c30?'Footnote':'Insert\x20footnote'),'icon':ckeditor5['IconFootnote'],'tooltip':!0x0}),_0x48f2eb['on']('execute',()=>{_0xe60b53['execute'](),_0x54015e['editing']['view']['focus']();}),_0x48f2eb;};}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 _0x42b88b=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],_0x3aece9=['arabic-indic'],_0x206912=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),_0x37a463=[..._0x42b88b,..._0x3aece9,'lower-alpha','upper-alpha'];class FootnotesStyleCommand extends ckeditor5['Command']{['refresh'](){const {editor:_0x1ad238}=this,_0xd7970e=_0x1ad238['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xd7970e,this['value']=_0xd7970e?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x307ff6}){const {editor:_0x34dc80}=this,_0x2c23cd=_0x34dc80['plugins']['get'](FootnotesTracker),_0x29d521=_0x2c23cd['getFootnotesDefinitionsObjectElement']();_0x29d521&&_0x37a463['includes'](_0x307ff6)&&_0x34dc80['model']['change'](_0x477508=>{_0x477508['setAttribute']('footnotesListStyle',_0x307ff6,_0x29d521),_0x2c23cd['_updateFootnotesCounters'](_0x477508);});}}class FootnotesStartCommand extends ckeditor5['Command']{['refresh'](){const {editor:_0x212162}=this,_0x5810c8=_0x212162['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5810c8,this['value']=_0x5810c8?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x178374}){const {editor:_0x31e64a}=this,_0x5bf43c=_0x31e64a['plugins']['get'](FootnotesTracker),_0x496e94=_0x5bf43c['getFootnotesDefinitionsObjectElement']();_0x496e94&&Number['isInteger'](_0x178374)&&_0x31e64a['model']['change'](_0x3606e0=>{_0x3606e0['setAttribute']('footnotesListStart',_0x178374,_0x496e94),_0x5bf43c['_updateFootnotesCounters'](_0x3606e0);});}}function formatDecimalLeadingZeroFootnote(_0x4b3f0f,_0x122ec1){return String(_0x4b3f0f)['padStart'](_0x122ec1,'0');}function formatLatinFootnote(_0x5c81bc,_0x2ccab1){let _0x6cfe7='',_0x2777bf=_0x5c81bc;for(;_0x2777bf>0x0;){const _0x340758=(_0x2777bf-0x1)%0x1a;_0x6cfe7=String['fromCharCode'](0x61+_0x340758)+_0x6cfe7,_0x2777bf=Math['floor']((_0x2777bf-0x1)/0x1a);}return _0x2ccab1?_0x6cfe7['toUpperCase']():_0x6cfe7;}const _0x4316e1=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function formatRomanFootnote(_0x2ffcd4,_0x54af05){let _0x413200='',_0x3f5019=_0x2ffcd4;for(const {value:_0x4925ad,numeral:_0x22dae7}of _0x4316e1)for(;_0x3f5019>=_0x4925ad;)_0x413200+=_0x22dae7,_0x3f5019-=_0x4925ad;return _0x54af05?_0x413200:_0x413200['toLowerCase']();}const _0x19d328=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];function formatArabicIndicFootnote(_0x21dbb1){return String(_0x21dbb1)['replace'](/\d/g,_0x277f66=>_0x19d328[Number(_0x277f66)]);}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:_0x4ff8cc}=this;_0x4ff8cc['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x4ff8cc['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x4ff8cc['config']['define']('footnotes.footnotesProperties.listStyles',[..._0x42b88b]),_0x4ff8cc['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x4ff8cc)),_0x4ff8cc['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x4ff8cc)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0xc596da}=this,{schema:_0x4f2b0d}=_0xc596da['model'];_0x4f2b0d['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x27632f}=this,{conversion:_0x430bfb,model:_0x40923e}=_0x27632f,{schema:_0x32b9e1}=_0x40923e;_0x430bfb['for']('upcast')['add'](_0x18ffe1=>{_0x18ffe1['on']('element:ol',(_0x341788,_0x1e10b3,_0x44692c)=>{const _0x393719=_0x1e10b3['viewItem'],_0x16cb8f=_0x1e10b3['modelCursor']?.['parent'];_0x393719['hasClass']('footnotes-list')&&_0x16cb8f?.['is']('element','footnotesDefinitions')&&(upcastFootnotesListStart(_0x393719,_0x16cb8f,_0x44692c,_0x32b9e1),upcastFootnotesListStyle(_0x393719,_0x16cb8f,_0x44692c,_0x32b9e1));});}),_0x430bfb['for']('downcast')['add'](_0x49b1f9=>{_0x49b1f9['on']('attribute:footnotesListStart:footnotesDefinitions',downcastFootnotesListStart()),_0x49b1f9['on']('attribute:footnotesListStyle:footnotesDefinitions',downcastFootnotesListStyle());});}['_definePostfixer'](){const {editor:_0x5688a8}=this,{model:_0x5e2b1a}=_0x5688a8,_0x4b5445=_0x5688a8['plugins']['get'](FootnotesTracker),_0x456b2c=this['_getDefaultListStyle'](),_0x342cab=this['_getDefaultStartIndex']();_0x5e2b1a['document']['registerPostFixer'](_0x50e821=>{const _0x184447=_0x5e2b1a['document']['differ']['getChanges']();let _0x4e5246=!0x1;for(const _0x445768 of _0x184447){if('insert'!==_0x445768['type']||'$text'===_0x445768['name'])continue;const _0x15e58a=_0x5e2b1a['createRangeOn'](_0x445768['position']['nodeAfter']);for(const _0x3c7fdc of _0x15e58a['getItems']())_0x3c7fdc['is']('element','footnotesDefinitions')&&(!_0x3c7fdc['hasAttribute']('footnotesListStart')&&_0x5e2b1a['schema']['checkAttribute'](_0x3c7fdc,'footnotesListStart')&&(_0x50e821['setAttribute']('footnotesListStart',_0x342cab,_0x3c7fdc),_0x4e5246=!0x0),!_0x3c7fdc['hasAttribute']('footnotesListStyle')&&_0x5e2b1a['schema']['checkAttribute'](_0x3c7fdc,'footnotesListStyle')&&(_0x50e821['setAttribute']('footnotesListStyle',_0x456b2c,_0x3c7fdc),_0x4e5246=!0x0));}return _0x4e5246&&_0x4b5445['_updateFootnotesCounters'](_0x50e821),_0x4e5246;});}['_defineFormatter'](){const {editor:_0xafceb8}=this;_0xafceb8['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x399f5f=>this['_formatFootnoteListValue'](_0x399f5f));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1e43bf,value:_0x38602c,digits:_0x5cf3c7}){const _0x49f8ee=_0x1e43bf['getAttribute']('footnotesListStyle'),_0xd84e0e=_0x1e43bf['getAttribute']('footnotesListStart'),_0x5ae365=Math['floor'](_0x38602c)+(_0xd84e0e??0x1)-0x1;switch(_0x49f8ee){case'decimal-leading-zero':return formatDecimalLeadingZeroFootnote(_0x5ae365,Math['max'](0x2,_0x5cf3c7));case'lower-alpha':case'lower-latin':return formatLatinFootnote(_0x5ae365,!0x1);case'upper-alpha':case'upper-latin':return formatLatinFootnote(_0x5ae365,!0x0);case'lower-roman':return formatRomanFootnote(_0x5ae365,!0x1);case'upper-roman':return formatRomanFootnote(_0x5ae365,!0x0);case'arabic-indic':return formatArabicIndicFootnote(_0x5ae365);default:return String(_0x5ae365);}}}function upcastFootnotesListStart(_0x489447,_0x2df4e7,_0x40452a,_0x56d6f6){if(!_0x56d6f6['checkAttribute'](_0x2df4e7,'footnotesListStart'))return;let _0xba9332=0x1;const _0x288eb6=_0x40452a['consumable']['consume'](_0x489447,{'attributes':'start'});if(_0x288eb6){const _0x1af09b=Number['parseInt'](_0x489447['getAttribute']('start'),0xa);Number['isNaN'](_0x1af09b)||(_0xba9332=_0x1af09b);}!_0x288eb6&&_0x2df4e7['hasAttribute']('footnotesListStart')||_0x40452a['writer']['setAttribute']('footnotesListStart',_0xba9332,_0x2df4e7);}function upcastFootnotesListStyle(_0x1f1ff7,_0xc39484,_0x3a64fe,_0x22250d){if(!_0x22250d['checkAttribute'](_0xc39484,'footnotesListStyle'))return;let _0x44cdc='decimal',_0x3dcf1c=!0x1;if(_0x3a64fe['consumable']['consume'](_0x1f1ff7,{'attributes':'type'})){const _0x2320ec={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x1f1ff7['getAttribute']('type')];_0x2320ec&&(_0x44cdc=_0x2320ec),_0x3dcf1c=!0x0;}if(_0x3a64fe['consumable']['consume'](_0x1f1ff7,{'styles':'list-style-type'})){const _0x5595f0=toCanonicalFootnotesListStyle(_0x1f1ff7['getStyle']('list-style-type'));_0x5595f0&&(_0x44cdc=_0x5595f0),_0x3dcf1c=!0x0;}!_0x3dcf1c&&_0xc39484['hasAttribute']('footnotesListStyle')||_0x3a64fe['writer']['setAttribute']('footnotesListStyle',_0x44cdc,_0xc39484);}function toCanonicalFootnotesListStyle(_0x42cb1d){if('string'==typeof _0x42cb1d){const _0x1fe49c=_0x206912[_0x42cb1d];if(_0x1fe49c)return _0x1fe49c;if(_0x37a463['includes'](_0x42cb1d))return _0x42cb1d;}return null;}function downcastFootnotesListStart(){return(_0x15b97b,_0x56ef4c,_0xde05a0)=>{if(!_0xde05a0['consumable']['consume'](_0x56ef4c['item'],_0x15b97b['name']))return;const _0x3212d7=getOlElementFromFootnotesDefinitions(_0x56ef4c['item'],_0xde05a0['mapper']),{attributeNewValue:_0x288848}=_0x56ef4c;null==_0x288848||0x1===_0x288848?_0xde05a0['writer']['removeAttribute']('start',_0x3212d7):_0xde05a0['writer']['setAttribute']('start',String(_0x288848),_0x3212d7);};}function downcastFootnotesListStyle(){return(_0x104627,_0x40a559,_0x27a150)=>{if(!_0x27a150['consumable']['consume'](_0x40a559['item'],_0x104627['name']))return;const _0x23b496=getOlElementFromFootnotesDefinitions(_0x40a559['item'],_0x27a150['mapper']),{attributeNewValue:_0x535183}=_0x40a559;_0x535183&&'decimal'!==_0x535183?_0x27a150['writer']['setStyle']('list-style-type',_0x535183,_0x23b496):_0x27a150['writer']['removeStyle']('list-style-type',_0x23b496);};}function getOlElementFromFootnotesDefinitions(_0x43e845,_0x52973e){const _0x46f95d=_0x52973e['toViewElement'](_0x43e845);return Array['from'](_0x46f95d['getChildren']())['find'](_0x3ab606=>_0x3ab606['is']('element','ol')&&_0x3ab606['hasClass']('footnotes-list'));}class FootnotesDefinitionsPropertiesView extends ckeditor5['View']{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ckeditor5['FocusTracker']();['keystrokes']=new ckeditor5['KeystrokeHandler']();['focusables']=new ckeditor5['ViewCollection']();['focusCycler'];constructor(_0x3ed2fd,{styleButtonViews:_0x1ce723,styleGridAriaLabel:_0x4257b1}){super(_0x3ed2fd),(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'](_0x1ce723,_0x4257b1),[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 _0xf3ffa0 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0xf3ffa0['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 _0x4872b4=_0x1d0f2f=>_0x1d0f2f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4872b4),this['keystrokes']['set']('arrowleft',_0x4872b4),this['keystrokes']['set']('arrowup',_0x4872b4),this['keystrokes']['set']('arrowdown',_0x4872b4);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x525669,_0x5d0f4c){const _0xb0379d=new ckeditor5['View'](this['locale']);return _0xb0379d['children']=_0xb0379d['createCollection'](),_0xb0379d['children']['addMany'](_0x525669),_0xb0379d['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5d0f4c,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xb0379d['children']}),_0xb0379d['children']['delegate']('execute')['to'](this),_0xb0379d['focus']=function(){for(const _0xd36a1f of this['children'])if(_0xd36a1f instanceof ckeditor5['ButtonView']&&_0xd36a1f['isOn'])return void _0xd36a1f['focus']();this['children']['first']['focus']();},_0xb0379d['focusTracker']=new ckeditor5['FocusTracker'](),_0xb0379d['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0xb0379d['render'](),_0xb0379d['keystrokes']['listenTo'](_0xb0379d['element']),this['children']['add'](_0xb0379d),_0xb0379d;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1a79ce=this['_createStartIndexPropertyView'](),_0x3db400=[_0x1a79ce],_0x1ba853=new ckeditor5['CollapsibleView'](this['locale'],_0x3db400);return _0x1ba853['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1ba853['buttonView']['bind']('isEnabled')['toMany'](_0x3db400,'isEnabled',(..._0x4e7fd6)=>_0x4e7fd6['some'](_0x59966f=>_0x59966f)),_0x1ba853['buttonView']['on']('change:isEnabled',(_0x49e2dc,_0x4cd680,_0x33de08)=>{_0x33de08||(_0x1ba853['isCollapsed']=!0x0);}),this['children']['add'](_0x1ba853),[_0x1a79ce,_0x1ba853];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4d789c=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputNumber']);return _0x4d789c['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4d789c['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4d789c['fieldView']['on']('input',()=>{const _0x36131f=_0x4d789c['fieldView']['element'],_0x59e0b1=_0x36131f['valueAsNumber'];Number['isNaN'](_0x59e0b1)?_0x4d789c['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x36131f['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x59e0b1}):_0x4d789c['errorText']=t(_0x59e0b1<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4d789c;}}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:_0x4b0b13}=this,{componentFactory:_0xbbd03e}=_0x4b0b13['ui'];_0x4b0b13['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xbbd03e['add']('footnotesStyle',getFootnotesStyleDropdownViewCreator(_0x4b0b13));}['afterInit'](){const {editor:_0x2023e1}=this,{t:t}=_0x2023e1['locale'],_0x14d688=_0x2023e1['plugins']['get'](ckeditor5['WidgetToolbarRepository']),{defaultPositions:_0x27c74f}=ckeditor5['BalloonPanelView'];_0x14d688['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2023e1['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x56449b=>{let _0x55e7f5=_0x56449b['getFirstPosition']()?.['parent'];return _0x55e7f5?.['is']('$text')&&(_0x55e7f5=_0x55e7f5['parent']),_0x55e7f5?.['is']('element')?_0x55e7f5['findAncestor'](isFootnotesDefinitionsWidget):null;},'positions':[_0x27c74f['southArrowNorth'],_0x27c74f['southArrowNorthMiddleWest'],_0x27c74f['southArrowNorthMiddleEast'],_0x27c74f['southArrowNorthWest'],_0x27c74f['southArrowNorthEast'],_0x27c74f['northArrowSouth'],_0x27c74f['northArrowSouthMiddleWest'],_0x27c74f['northArrowSouthMiddleEast'],_0x27c74f['northArrowSouthWest'],_0x27c74f['northArrowSouthEast'],_0x27c74f['viewportStickyNorth']]});}}function getFootnotesStyleDropdownViewCreator(_0x197a7b){return _0x501ebc=>{const {t:t}=_0x501ebc,_0x4f65af=_0x197a7b['commands']['get']('footnotesStyle'),_0x4566be=ckeditor5['createDropdown'](_0x501ebc),{buttonView:_0x51d271}=_0x4566be;return _0x4566be['class']='ck-footnotes-styles-dropdown',_0x4566be['bind']('isEnabled')['to'](_0x4f65af,'isEnabled'),_0x51d271['set']({'label':t('Footnotes\x20style'),'icon':ckeditor5['IconFootnote'],'tooltip':!0x0}),_0x4566be['once']('change:isOpen',()=>{const _0x2d99dd=createFootnotesDefinitionsPropertiesView({'editor':_0x197a7b,'dropdownView':_0x4566be});_0x4566be['panelView']['children']['add'](_0x2d99dd);}),_0x4566be;};}function createFootnotesDefinitionsPropertiesView({editor:_0x37e793,dropdownView:_0x46e488}){const {t:t}=_0x37e793['locale'],_0x237d22=t('Footnotes\x20definitions\x20styles'),_0x2cf6f2=createFootnotesDefinitionStyleButtons(_0x37e793),_0x56d000=new FootnotesDefinitionsPropertiesView(_0x37e793['locale'],{'styleGridAriaLabel':_0x237d22,'styleButtonViews':_0x2cf6f2}),_0x94848e=_0x37e793['commands']['get']('footnotesStart');return _0x56d000['startIndexFieldView']['bind']('isEnabled')['to'](_0x94848e),_0x56d000['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x94848e),_0x56d000['on']('footnotesListStart',(_0x10affd,_0x730f67)=>{_0x37e793['execute']('footnotesStart',{'value':_0x730f67['startIndex']});}),_0x56d000['delegate']('execute')['to'](_0x46e488),_0x56d000;}function createFootnotesDefinitionStyleButtons(_0x44eba6){const {t:t}=_0x44eba6['locale'],_0x57849e=_0x44eba6['config']['get']('footnotes.footnotesProperties.listStyles'),_0x26d775=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':ckeditor5['IconListStyleDecimal']},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':ckeditor5['IconListStyleDecimalLeadingZero']},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':ckeditor5['IconListStyleLowerRoman']},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':ckeditor5['IconListStyleUpperRoman']},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':ckeditor5['IconListStyleLowerLatin']},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':ckeditor5['IconListStyleUpperLatin']},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':ckeditor5['IconListStyleArabicIndic']}];return _0x57849e['map'](_0x3b7110=>{const _0x556690=toCanonicalFootnotesListStyle(_0x3b7110),_0x62e6d5=_0x26d775['find'](_0x17827b=>_0x17827b['style']===_0x556690);return createFootnoteStyleButton(_0x44eba6,_0x62e6d5);});}function createFootnoteStyleButton(_0x10b6e1,_0x5b5d22){const {locale:_0x56ae97}=_0x10b6e1,{label:_0x21a516,icon:_0x4a4433,tooltip:_0x351f61,style:_0x543b1}=_0x5b5d22,_0x162258=_0x10b6e1['commands']['get']('footnotesStyle'),_0x593975=new ckeditor5['ButtonView'](_0x56ae97);return _0x593975['set']({'label':_0x21a516,'icon':_0x4a4433,'tooltip':_0x351f61}),_0x593975['bind']('isOn')['to'](_0x162258,'value',_0x1e77d7=>_0x1e77d7===_0x543b1),_0x593975['bind']('isEnabled')['to'](_0x162258,'isEnabled'),_0x593975['on']('execute',()=>{_0x10b6e1['execute']('footnotesStyle',{'value':_0x543b1}),_0x10b6e1['editing']['view']['focus']();}),_0x593975;}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 _0x3ca924='copyFormat',_0xebba12='pasteFormat',_0x25a483='ck-format-painter-active';class CopyFormatCommand extends ckeditor5['Command']{constructor(_0x3c4907){super(_0x3c4907),this['value']=void 0x0,this['on']('change:isEnabled',(_0x1b941c,_0x72df34,_0x2d1ea0)=>{_0x2d1ea0||this['reset']();}),this['on']('change:value',()=>_0x3c4907['commands']['get'](_0xebba12)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x47159c=this['editor']['model'],_0x4a599b=_0x47159c['document']['selection'];return Object['fromEntries'](Array['from'](_0x4a599b['getAttributes']())['filter'](([_0x39397b])=>_0x47159c['schema']['getAttributeProperties'](_0x39397b)['isFormatting']));}}class PasteFormatCommand extends ckeditor5['Command']{constructor(_0xa77004){super(_0xa77004),this['_removeFormatCommand']=new ckeditor5['RemoveFormatCommand'](_0xa77004);}['execute'](_0x1ffb65={}){const _0x4df3ee=this['editor']['model'],_0x4fb677=_0x4df3ee['document']['selection'],_0x3ce2a0=Array['from'](_0x4fb677['getRanges']()),_0x2e0bc9=_0x4fb677['isCollapsed']?[this['_createRangeOnEntireWord'](_0x4df3ee,_0x4fb677)]:_0x3ce2a0;_0x4df3ee['change'](_0x224426=>{_0x224426['setSelection'](_0x2e0bc9),this['_removeFormatCommand']['execute']();for(const _0x39be13 in _0x1ffb65)for(const _0x2a9bb1 of _0x4df3ee['schema']['getValidRanges'](_0x2e0bc9,_0x39be13))_0x224426['setAttribute'](_0x39be13,_0x1ffb65[_0x39be13],_0x2a9bb1);_0x224426['setSelection'](_0x3ce2a0);});}['_createRangeOnEntireWord'](_0x76e435,_0x433e13){const _0x4d4d9d=_0x76e435['createSelection'](_0x433e13);_0x76e435['modifySelection'](_0x4d4d9d,{'unit':'word','direction':'backward'});const _0x6d8069=_0x4d4d9d['getFirstPosition']();_0x76e435['modifySelection'](_0x4d4d9d,{'unit':'word','direction':'forward'});const _0x1f6644=_0x4d4d9d['getLastPosition']();return _0x76e435['createRange'](_0x6d8069,_0x1f6644);}}class FormatPainterEditing extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x29eab2=this['editor'];_0x29eab2['commands']['add'](_0x3ca924,new CopyFormatCommand(_0x29eab2)),_0x29eab2['commands']['add'](_0xebba12,new PasteFormatCommand(_0x29eab2)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2c1096=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2a212c;for(const _0x61b335 in _0x2c1096){const _0x5c804a=_0x61b335,_0xfbd512=_0x2c1096[_0x5c804a];if('formatPainterLicenseKeyValid'==_0xfbd512||'formatPainterLicenseKeyInvalid'==_0xfbd512||'formatPainterLicenseKeyExpired'==_0xfbd512||'formatPainterLicenseKeyDomainLimit'==_0xfbd512||'formatPainterLicenseKeyNotAllowed'==_0xfbd512||'formatPainterLicenseKeyEvaluationLimit'==_0xfbd512||'formatPainterLicenseKeyUsageLimit'==_0xfbd512){delete _0x2c1096[_0x5c804a],_0x2a212c=_0xfbd512,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x2a212c&&_0x2c1096['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x2a212c&&_0x2c1096['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x2a212c&&_0x2c1096['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x2a212c&&_0x2c1096['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x2a212c&&_0x2c1096['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x2a212c&&_0x2c1096['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getTranslation$b(_0x4357c3,_0x459f83){const t=_0x4357c3['t'];switch(_0x459f83){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 _0x459f83;}}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 _0x1db74c=this['editor'];_0x1db74c['editing']['view']['addObserver'](ckeditor5['ClickObserver']),_0x1db74c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':getTranslation$b(_0x1db74c['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':getTranslation$b(_0x1db74c['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x1db74c['ui']['componentFactory']['add']('formatPainter',_0x2b3ab4=>{const _0x435474=ckeditor5['createDropdown'](_0x2b3ab4,ckeditor5['SplitButtonView']),_0x1cdbf8=_0x1db74c['commands']['get'](_0x3ca924);_0x435474['buttonView']['set']({'label':getTranslation$b(_0x1db74c['locale'],'Paint\x20formatting'),'icon':ckeditor5['IconPaintRoller'],'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x435474['class']='ck-format-painter-dropdown',_0x1cdbf8&&(_0x435474['bind']('isEnabled')['to'](_0x1cdbf8,'isEnabled'),this['listenTo'](_0x1cdbf8,'change:isEnabled',(_0x4343d8,_0x301395,_0x1ba477)=>{_0x1ba477||this['_finishPainting']();}),_0x435474['buttonView']['bind']('isOn')['to'](_0x1cdbf8,'value',_0x409651=>!!_0x409651),this['listenTo'](_0x1db74c,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x1cdbf8,'change:value',(_0x34750a,_0x471c32,_0x5b7f4f)=>{this['_toggleSpecialCursor'](!!_0x5b7f4f);}));const _0x1abc11=new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$b(_0x1db74c['locale'],'Continuous\x20painting'),'tooltip':getTranslation$b(_0x1db74c['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});ckeditor5['addListToDropdown'](_0x435474,new ckeditor5['Collection']([{'type':'switchbutton','model':_0x1abc11}]),{'role':'menu'});const _0x523176=()=>{this['_copyFormatting'](),this['listenTo'](ckeditor5['global']['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x1abc11['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x435474,'execute',()=>{_0x1abc11['isOn']=!_0x1abc11['isOn'];}),this['listenTo'](_0x435474['buttonView'],'execute',()=>{_0x1db74c['editing']['view']['focus'](),_0x435474['buttonView']['isOn']?this['_finishPainting']():_0x523176();}),_0x1db74c['keystrokes']['set']('Ctrl+Alt+C',(_0xaeb448,_0x20a3d0)=>{_0x523176(),_0x1abc11['isOn']=!0x0,_0x20a3d0();},{'priority':'high'}),_0x1db74c['keystrokes']['set']('Ctrl+Alt+V',(_0x3a0187,_0x4e584c)=>{_0x435474['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x1abc11['isOn']||this['_finishPainting'](),_0x4e584c());},{'priority':'high'}),_0x1db74c['keystrokes']['set']('Esc',(_0x1aee42,_0x21db3c)=>{_0x435474['buttonView']['isOn']&&(_0x1abc11['isOn']=!0x1,this['_finishPainting'](),_0x21db3c());}),_0x435474;});}['afterInit'](){_0x58e79a(this);}['_toggleSpecialCursor'](_0x5cffc1){this['editor']['editing']['view']['change'](_0x35f596=>{for(const _0x40f404 of this['editor']['editing']['view']['document']['roots'])_0x5cffc1?_0x35f596['addClass'](_0x25a483,_0x40f404):_0x35f596['removeClass'](_0x25a483,_0x40f404);});}['_copyFormatting'](){const {editor:_0x406e0d}=this;_0x406e0d['execute'](_0x3ca924),_0x406e0d['ui']['ariaLiveAnnouncer']['announce'](getTranslation$b(_0x406e0d['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x547b7e}=this,_0x39297a=_0x547b7e['commands']['get'](_0x3ca924)['value'];_0x547b7e['execute'](_0xebba12,_0x39297a),_0x547b7e['ui']['ariaLiveAnnouncer']['announce'](getTranslation$b(_0x547b7e['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](_0x3ca924)['reset'](),this['stopListening'](ckeditor5['global']['window']['document'],'mouseup');}}async function _0x58e79a(_0x4725a8){const _0x46dc2e=_0xba3dbe([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]),_0x1ab11f=window[_0xba3dbe([0x44,0x61,0x74,0x65])][_0xba3dbe([0x6e,0x6f,0x77])](),_0x4aec30=_0x4725a8[_0xba3dbe([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x57c270=new window[(_0xba3dbe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57dd37=>{_0x4aec30[_0xba3dbe([0x6f,0x6e,0x63,0x65])](_0xba3dbe([0x72,0x65,0x61,0x64,0x79]),_0x57dd37);}),_0x346d1e={[_0xba3dbe([0x6b,0x74,0x79])]:_0xba3dbe([0x45,0x43]),[_0xba3dbe([0x75,0x73,0x65])]:_0xba3dbe([0x73,0x69,0x67]),[_0xba3dbe([0x63,0x72,0x76])]:_0xba3dbe([0x50,0x2d,0x32,0x35,0x36]),[_0xba3dbe([0x78])]:_0xba3dbe([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]),[_0xba3dbe([0x79])]:_0xba3dbe([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]),[_0xba3dbe([0x61,0x6c,0x67])]:_0xba3dbe([0x45,0x53,0x32,0x35,0x36])},_0x2b2008=_0x4aec30[_0xba3dbe([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xba3dbe([0x67,0x65,0x74])](_0xba3dbe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xfe6c8f=await(async function(){let _0x12f638,_0x56d617=null,_0x3f995f=null;try{if(_0x2b2008==_0xba3dbe([0x47,0x50,0x4c]))return _0xba3dbe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x12f638=(function(){const _0x176f24=_0x2b2008[_0xba3dbe([0x73,0x70,0x6c,0x69,0x74])](_0xba3dbe([0x2e]));if(0x3!=_0x176f24[_0xba3dbe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5e626b=_0x176f24[0x1];return _0x5e831e(_0x5e626b);function _0x5e831e(_0x429f5e){const _0x26e624=_0x6f63e0(_0x429f5e);return _0x26e624&&_0x1da28c()?_0x26e624:null;function _0x1da28c(){const _0x8a78bc=_0x26e624[_0xba3dbe([0x6a,0x74,0x69])],_0x450147=window[_0xba3dbe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8a78bc[_0xba3dbe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8a78bc[_0xba3dbe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5a441e={..._0x26e624,[_0xba3dbe([0x6a,0x74,0x69])]:_0x8a78bc[_0xba3dbe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x8a78bc[_0xba3dbe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5a441e[_0xba3dbe([0x76,0x63])],_0x4f352b(_0x5a441e)==_0x450147;}}}()),!_0x12f638)return _0xba3dbe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x12f638[_0xba3dbe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3f995f=function(_0x5c5b8b,_0x3b9927){return new window[(_0xba3dbe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12e694=>{if(_0x2088a1())return _0x12e694(_0xba3dbe([0x56,0x61,0x6c,0x69,0x64]));_0x2c31c6(),_0x4aec30[_0xba3dbe([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xba3dbe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x83d69c=!0x1;const _0x3f37da=ckeditor5['uid']();function _0x2b9c6d(_0x50314a){return!!_0x50314a&&(typeof _0x50314a===_0xba3dbe([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x50314a===_0xba3dbe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x50314a[_0xba3dbe([0x74,0x68,0x65,0x6e])]===_0xba3dbe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x50314a[_0xba3dbe([0x63,0x61,0x74,0x63,0x68])]===_0xba3dbe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a8558(_0x9f02ad){_0x1a29dc(_0x9f02ad)[_0xba3dbe([0x74,0x68,0x65,0x6e])](_0x3e6955=>{if(!_0x3e6955||_0x3e6955[_0xba3dbe([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xba3dbe([0x6f,0x6b]))return _0xba3dbe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x51d72a(_0x4f352b(_0x3f37da+_0x3b9927))!=_0x3e6955[_0xba3dbe([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xba3dbe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xba3dbe([0x56,0x61,0x6c,0x69,0x64]);})[_0xba3dbe([0x74,0x68,0x65,0x6e])](_0xdc8544=>(_0x3a423c(),_0xdc8544),()=>{const _0x39a3ff=_0x29ac22();return null==_0x39a3ff?(_0x3a423c(),_0xba3dbe([0x56,0x61,0x6c,0x69,0x64])):_0xba3dbe(_0x1ab11f-_0x39a3ff>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xba3dbe([0x74,0x68,0x65,0x6e])](_0x12e694)[_0xba3dbe([0x63,0x61,0x74,0x63,0x68])](()=>{_0x12e694(_0xba3dbe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x15a3a9=0x36ee80;function _0x3a423c(){const _0x36d7c4=_0xba3dbe([0x6c,0x6c,0x63,0x74,0x2d])+_0x51d72a(_0x4f352b(_0x5c5b8b)),_0x19a121=_0x27a16c(_0x51d72a(window[_0xba3dbe([0x4d,0x61,0x74,0x68])][_0xba3dbe([0x63,0x65,0x69,0x6c])](_0x1ab11f/_0x15a3a9)));window[_0xba3dbe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xba3dbe([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36d7c4,_0x19a121);}function _0x29ac22(){const _0x214893=_0xba3dbe([0x6c,0x6c,0x63,0x74,0x2d])+_0x51d72a(_0x4f352b(_0x5c5b8b)),_0x5ad90d=window[_0xba3dbe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xba3dbe([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x214893);return _0x5ad90d?window[_0xba3dbe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27a16c(_0x5ad90d),0x10)*_0x15a3a9:null;}function _0x1a29dc(_0x1d8a76){return new window[(_0xba3dbe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b316e,_0x2f6a6f)=>{_0x1d8a76[_0xba3dbe([0x74,0x68,0x65,0x6e])](_0x1b316e,_0x2f6a6f),window[_0xba3dbe([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2f6a6f,0x1d4c0);});}}_0x4aec30[_0xba3dbe([0x6f,0x6e])](_0xba3dbe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12c86f,_0x4c01e2)=>{if(_0x4c01e2[0x0]!=_0x5c5b8b)return _0x12e694(_0xba3dbe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c01e2[0x1]={..._0x4c01e2[0x1],[_0xba3dbe([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f37da};},{[_0xba3dbe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xba3dbe([0x68,0x69,0x67,0x68])}),_0x4aec30[_0xba3dbe([0x6f,0x6e])](_0xba3dbe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x29e91d=>{_0x2b9c6d(_0x29e91d[_0xba3dbe([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x83d69c=!0x0,_0x5a8558(_0x29e91d[_0xba3dbe([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xba3dbe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xba3dbe([0x6c,0x6f,0x77])}),_0x57c270[_0xba3dbe([0x74,0x68,0x65,0x6e])](()=>{_0x83d69c||_0x12e694(_0xba3dbe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2088a1(){return _0x4aec30[_0xba3dbe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xba3dbe([0x76,0x69,0x65,0x77])][_0xba3dbe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xba3dbe([0x61,0x75,0x74,0x6f]);}function _0x2c31c6(){_0x4aec30[_0xba3dbe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xba3dbe([0x76,0x69,0x65,0x77])][_0xba3dbe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xba3dbe([0x61,0x75,0x74,0x6f]);}}(_0x12f638[_0xba3dbe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x12f638[_0xba3dbe([0x6a,0x74,0x69])]));const _0x9b3557=await(async function(){let _0x1f9479=!0x0;try{const _0x37009f=_0x2b2008[_0xba3dbe([0x73,0x70,0x6c,0x69,0x74])](_0xba3dbe([0x2e])),[_0x2fe683,_0x484116,_0x452e8c]=_0x37009f;return _0x213d5d(_0x2fe683),await _0x1ea5f5(_0x2fe683,_0x484116,_0x452e8c),_0x1f9479;}catch{return!0x1;}function _0x213d5d(_0x40c07a){const _0x3eabc=_0x6f63e0(_0x40c07a);_0x3eabc&&_0x3eabc[_0xba3dbe([0x61,0x6c,0x67])]==_0xba3dbe([0x45,0x53,0x32,0x35,0x36])||(_0x1f9479=!0x1);}async function _0x1ea5f5(_0x1d50d9,_0x43d36e,_0x34eb1a){const _0x3fb4cd=window[_0xba3dbe([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xba3dbe([0x66,0x72,0x6f,0x6d])](_0x4c997c(_0x34eb1a),_0x2a5ae7=>_0x2a5ae7[_0xba3dbe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc2ef14=new window[(_0xba3dbe([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xba3dbe([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1d50d9+_0xba3dbe([0x2e])+_0x43d36e),_0x1ac473=window[_0xba3dbe([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xba3dbe([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1ac473)return;const _0x4ccbaa=await _0x1ac473[_0xba3dbe([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xba3dbe([0x6a,0x77,0x6b]),_0x346d1e,{[_0xba3dbe([0x6e,0x61,0x6d,0x65])]:_0xba3dbe([0x45,0x43,0x44,0x53,0x41]),[_0xba3dbe([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xba3dbe([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xba3dbe([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1ac473[_0xba3dbe([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xba3dbe([0x6e,0x61,0x6d,0x65])]:_0xba3dbe([0x45,0x43,0x44,0x53,0x41]),[_0xba3dbe([0x68,0x61,0x73,0x68])]:{[_0xba3dbe([0x6e,0x61,0x6d,0x65])]:_0xba3dbe([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ccbaa,_0x3fb4cd,_0xc2ef14)||(_0x1f9479=!0x1);}}());return _0x9b3557?(function(){const _0x184b9f=_0x12f638[_0xba3dbe([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x184b9f)return!0x1;if(_0x184b9f[_0xba3dbe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xba3dbe([0x2a])))return!0x0;if(_0x184b9f[_0xba3dbe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xba3dbe([0x46,0x50])))return!0x0;if(_0x184b9f[_0xba3dbe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xba3dbe([0x50,0x50])))return!0x0;if(_0x184b9f[_0xba3dbe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xba3dbe([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0xba3dbe([0x67,0x6c,0x6f,0x62])]&&window[_0xba3dbe([0x67,0x6c,0x6f,0x62])][_0xba3dbe([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x150a98=[_0xba3dbe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xba3dbe([0x74,0x72,0x69,0x61,0x6c])][_0xba3dbe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12f638[_0xba3dbe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1ab11f/0x3e8:0x69cb0e80;return _0x12f638[_0xba3dbe([0x65,0x78,0x70])]<_0x150a98;}())?_0xba3dbe([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x2321a6=_0x12f638[_0xba3dbe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2321a6||0x0==_0x2321a6[_0xba3dbe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x21a539}=new URL(window[_0xba3dbe([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2321a6[_0xba3dbe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21a539))return!0x0;const _0x16e31b=_0x21a539[_0xba3dbe([0x73,0x70,0x6c,0x69,0x74])](_0xba3dbe([0x2e]));return _0x2321a6[_0xba3dbe([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2235f7=>_0x2235f7[_0xba3dbe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xba3dbe([0x2a])))[_0xba3dbe([0x6d,0x61,0x70])](_0x1a34c8=>_0x1a34c8[_0xba3dbe([0x73,0x70,0x6c,0x69,0x74])](_0xba3dbe([0x2e])))[_0xba3dbe([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c8bfd=>_0x1c8bfd[_0xba3dbe([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x16e31b[_0xba3dbe([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xba3dbe([0x6d,0x61,0x70])](_0x3e3b82=>Array(_0x16e31b[_0xba3dbe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3e3b82[_0xba3dbe([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xba3dbe([0x66,0x69,0x6c,0x6c])](_0x3e3b82[0x0]===_0xba3dbe([0x2a])?_0xba3dbe([0x2a]):'')[_0xba3dbe([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3e3b82))[_0xba3dbe([0x73,0x6f,0x6d,0x65])](_0xe02a05=>_0x16e31b[_0xba3dbe([0x65,0x76,0x65,0x72,0x79])]((_0x327e1c,_0x18bf2a)=>_0xe02a05[_0x18bf2a]===_0x327e1c||_0xe02a05[_0x18bf2a]===_0xba3dbe([0x2a])));}())?(_0x12f638[_0xba3dbe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xba3dbe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x56d617=function(_0x4ff620){const _0xf5b57e=new window[(_0xba3dbe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f7343=>setTimeout(_0x1f7343,0x93ecc)),_0x1e17f5=_0x57c270[_0xba3dbe([0x74,0x68,0x65,0x6e])](()=>new window[(_0xba3dbe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4010ca=>{let _0x168fb1=0x0;_0x4aec30[_0xba3dbe([0x6d,0x6f,0x64,0x65,0x6c])][_0xba3dbe([0x6f,0x6e])](_0xba3dbe([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4923ac,_0x2f780d)=>{_0x2f780d[0x0][_0xba3dbe([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x168fb1++,0x5e8==_0x168fb1&&(_0x4010ca(),_0x4923ac[_0xba3dbe([0x6f,0x66,0x66])]());});})),_0x3de634=[_0xf5b57e,_0x1e17f5];return window[_0xba3dbe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xba3dbe([0x72,0x61,0x63,0x65])](_0x3de634)[_0xba3dbe([0x74,0x68,0x65,0x6e])](()=>_0x4ff620);}(_0xba3dbe([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x56d617&&_0x3f995f)return new window[(_0xba3dbe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50fb6e,_0x3c1863)=>{_0x56d617[_0xba3dbe([0x74,0x68,0x65,0x6e])](_0x50fb6e,_0x3c1863),_0x3f995f[_0xba3dbe([0x74,0x68,0x65,0x6e])](_0x2334b2=>{_0x2334b2!=_0xba3dbe([0x56,0x61,0x6c,0x69,0x64])&&_0x50fb6e(_0x2334b2);},_0x3c1863);});return _0x56d617||_0x3f995f||_0xba3dbe([0x56,0x61,0x6c,0x69,0x64]);}())):_0xba3dbe([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xba3dbe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xba3dbe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xba3dbe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x6f63e0(_0x2570f7){return _0x2570f7[_0xba3dbe([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xba3dbe([0x65,0x79]))?JSON[_0xba3dbe([0x70,0x61,0x72,0x73,0x65])](_0x4c997c(_0x2570f7)):null;}function _0x4c997c(_0x5d4581){return window[_0xba3dbe([0x61,0x74,0x6f,0x62])](_0x5d4581[_0xba3dbe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xba3dbe([0x2b]))[_0xba3dbe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xba3dbe([0x2f])));}function _0x4f352b(_0x5d6ddb){let _0x1f97f1=0x1505;function _0x44c5c5(_0x4e7c1a){for(let _0x5764d6=0x0;_0x5764d6<_0x4e7c1a[_0xba3dbe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5764d6++){const _0x2bf2c0=_0x4e7c1a[_0xba3dbe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5764d6);_0x1f97f1=(_0x1f97f1<<0x5)+_0x1f97f1+_0x2bf2c0,_0x1f97f1&=_0x1f97f1;}}return function _0xf6b7b3(_0x3f498a){Array[_0xba3dbe([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f498a)?_0x3f498a[_0xba3dbe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf6b7b3):_0x3f498a&&typeof _0x3f498a==_0xba3dbe([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xba3dbe([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f498a)[_0xba3dbe([0x73,0x6f,0x72,0x74])]()[_0xba3dbe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x14914b,_0x316857])=>{_0x44c5c5(_0x14914b),_0xf6b7b3(_0x316857);}):_0x44c5c5(window[_0xba3dbe([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f498a));}(_0x5d6ddb),_0x1f97f1>>>0x0;}function _0x51d72a(_0x32b73f){return _0x32b73f[_0xba3dbe([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xba3dbe([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xba3dbe([0x30]));}function _0x27a16c(_0x5d3859){return _0x5d3859[_0xba3dbe([0x73,0x70,0x6c,0x69,0x74])]('')[_0xba3dbe([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xba3dbe([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f2c65(){}function _0xba3dbe(_0x1efeb5){return _0x1efeb5['map'](_0x494371=>String['fromCharCode'](_0x494371))['join']('');}!function(_0x27d1e4){const _0x3456e3=(function(){const _0x51f6b2=window[_0xba3dbe([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xba3dbe([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xba3dbe([0x6e,0x6f,0x77])]())[_0xba3dbe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xba3dbe([0x2e]),'');let _0x6182de=_0xba3dbe([0x51]);for(let _0x331960=0x0;_0x331960<_0x51f6b2[_0xba3dbe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x331960+=0x2){let _0x10e121=window[_0xba3dbe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51f6b2[_0xba3dbe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x331960,_0x331960+0x2));_0x10e121>=_0x46dc2e[_0xba3dbe([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10e121-=_0x46dc2e[_0xba3dbe([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x6182de+=_0x46dc2e[_0x10e121];}return _0x6182de;}());_0x4aec30[_0x3456e3]=_0xba3dbe([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x27d1e4,_0x27d1e4!=_0xba3dbe([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x57c270,_0x4aec30[_0xba3dbe([0x6d,0x6f,0x64,0x65,0x6c])][_0xba3dbe([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f2c65,_0x4aec30[_0xba3dbe([0x6d,0x6f,0x64,0x65,0x6c])][_0xba3dbe([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f2c65,_0x4aec30[_0xba3dbe([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xba3dbe([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0xfe6c8f);}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(_0x977175,_0x25412b){const t=_0x977175['t'];switch(_0x25412b){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 _0x25412b;}}class ImportWordUI extends ckeditor5['Plugin']{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x19a04a=this['editor'];_0x19a04a['ui']['componentFactory']['add']('importWord',()=>{const _0x253be6=this['_createButton'](ckeditor5['FileDialogButtonView']),_0xe686ef=_0x19a04a['commands']['get']('importWord');return _0x253be6['bind']('isOn')['to'](_0xe686ef,'isBusy'),_0x253be6['tooltip']=!0x0,_0x253be6;}),_0x19a04a['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemFileDialogButtonView']));}['_createButton'](_0x4f93cd){const _0x126f5b=this['editor'],_0x378fc3=_0x126f5b['commands']['get']('importWord'),_0x22cbf8=new _0x4f93cd(_0x126f5b['locale']),_0x30cea2=new ckeditor5['SpinnerView']();return _0x22cbf8['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x22cbf8['set']({'icon':ckeditor5['IconImportWord']}),_0x22cbf8['bind']('isEnabled')['to'](_0x378fc3),_0x22cbf8['bind']('label')['to'](_0x378fc3,'isBusy',_0xe20775=>getTranslation$a(_0x126f5b['locale'],_0xe20775?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x30cea2['bind']('isVisible')['to'](_0x378fc3,'isBusy'),_0x22cbf8['iconView']['bind']('isVisible')['to'](_0x378fc3,'isBusy',_0x42b84f=>!_0x42b84f),_0x22cbf8['children']['add'](_0x30cea2),_0x22cbf8['on']('done',(_0x455ce4,_0x4f4dd8)=>{_0x126f5b['execute']('importWord',_0x4f4dd8[0x0],{}),_0x126f5b['editing']['view']['focus']();}),_0x22cbf8;}}class ImportWordCommand extends ckeditor5['Command']{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x466c66){super(_0x466c66),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x4f4686,_0x3e9e3c)=>{const _0x19c894=new DataTransfer();_0x19c894['setData']('text/html',_0x3e9e3c['html']);const _0x2f8037=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x238eb0=>{this['_importMarker']['stopListening'](),_0x238eb0['setSelection'](_0x2f8037),_0x466c66['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x19c894});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xedc395,_0x41ef87={}){if(this['isBusy'])return Promise['resolve']();const _0x9aa50e=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x1ddd5b,suffix:_0x19e206}=this['editor']['config']['get']('mergeFields');_0x41ef87['merge_fields']={'prefix':_0x1ddd5b,'suffix':_0x19e206};}const _0x5ef470={'url':_0x9aa50e['converterUrl'],'file':_0xedc395,'serviceConfig':{..._0x41ef87,'formatting':_0x9aa50e['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x5ef470)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x31d617=this['editor']['model'],_0x3caa91=_0x31d617['schema'],_0x3a47d9=_0x31d617['document']['selection'],_0x3c6f68=ckeditor5['first'](_0x3a47d9['getSelectedBlocks']());return!!_0x3c6f68&&_0x3caa91['checkChild'](_0x3c6f68['parent'],'paragraph');}['_prepareForImport'](){const _0x309191=this['editor'],_0x5ef555=_0x309191['model'],_0x4d0977=_0x5ef555['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x309191['model']['createBatch']({'isUndoable':!0x0}),_0x5ef555['enqueueChange'](this['_undoStepBatch'],_0x28f02f=>{_0x4d0977['isCollapsed']||_0x5ef555['deleteContent'](_0x4d0977,{'leaveUnmerged':!0x0});const _0x2058d2=_0x4d0977['getFirstPosition'](),_0x4afb70=ckeditor5['first'](_0x4d0977['getSelectedBlocks']());let _0x3ae66b;_0x3ae66b=_0x4afb70['is']('element','paragraph')&&_0x4afb70['isEmpty']?_0x2058d2:_0x2058d2['isAtStart']?_0x5ef555['createPositionBefore'](_0x4afb70):_0x2058d2['isAtEnd']?_0x5ef555['createPositionAfter'](_0x4afb70):_0x28f02f['split'](_0x2058d2)['position'],this['_importMarker']=_0x28f02f['addMarker']('importWord:'+ckeditor5['uid'](),{'usingOperation':!0x1,'affectsData':!0x1,'range':new ckeditor5['ModelRange'](_0x3ae66b)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x3c42eb=this['editor']['model'];_0x3c42eb['markers']['has'](this['_importMarker'])&&_0x3c42eb['enqueueChange'](this['_undoStepBatch'],_0x484db0=>{_0x484db0['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}async['_sendImportRequest']({url:_0x4b1a63,file:_0xf562cf,serviceConfig:_0x347aff}){const _0x4f9bd7=this['editor'],_0x1c3918=await _0x4f9bd7['plugins']['get']('ImportWordEditing')['getToken'](),_0x7d7f49=new FormData();_0x7d7f49['set']('config',JSON['stringify'](_0x347aff)),_0x7d7f49['set']('file',_0xf562cf);const _0xdccf7a={'method':'POST','headers':{},'body':_0x7d7f49,'signal':this['_abortController']['signal']};return _0x1c3918&&(_0xdccf7a['headers']['Authorization']=_0x1c3918['value']),fetch(_0x4b1a63,_0xdccf7a);}['_handleImportResponse'](_0x23c8b1){return _0x23c8b1['ok']?_0x23c8b1['json']()['then'](_0x1a5f86=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',{..._0x1a5f86,'undoStepBatch':this['_undoStepBatch']});}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void ckeditor5['logWarning']('import-word-plugin-import-cancelled');const _0x1c40c2=this['editor'],_0x20ee7e=getTranslation$a(_0x1c40c2['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x1c40c2['plugins']['get']('Notification')['showWarning'](_0x20ee7e),ckeditor5['logError']('import-word-plugin-conversion-failed');}}class ImportWordEditing extends ckeditor5['Plugin']{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['Notification'],ckeditor5['ClipboardPipeline'],ckeditor5['CloudServices']];}['init'](){const _0x307145=this['editor'],_0x56bc1e=_0x307145['plugins']['get'](ckeditor5['CloudServices']);_0x307145['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x307145['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x307145['commands']['add']('importWord',new ImportWordCommand(_0x307145));const {tokenUrl:_0x3ec26a}=_0x307145['config']['get']('importWord');if(_0x3ec26a){const {tokenUrl:_0x437657}=_0x307145['config']['get']('cloudServices')||{};this['_token']=_0x3ec26a===_0x437657?Promise['resolve'](_0x56bc1e['token']):_0x56bc1e['registerTokenUrl'](_0x3ec26a);}else this['_token']=Promise['resolve'](null);}['getToken'](){return this['_token'];}}class ImportWord extends ckeditor5['Plugin']{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ImportWordEditing,ImportWordUI];}}class LineHeightCommand extends ckeditor5['Command']{['refresh'](){const _0x5b8b2c=this['editor']['model']['document'],_0x4ac7f7=ckeditor5['first'](_0x5b8b2c['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x4ac7f7)&&this['_canHaveLineHeight'](_0x4ac7f7),this['value']=this['isEnabled']&&_0x4ac7f7['getAttribute']('lineHeight');}['execute'](_0x168e8b={}){const _0x2edc10=this['editor']['model'],_0x16cdd3=_0x2edc10['document']['selection'],_0x2761ae=_0x168e8b['value'];_0x2edc10['change'](_0x11c6e9=>{const _0x50bbbd=Array['from'](_0x16cdd3['getSelectedBlocks']())['filter'](_0x2a6e5f=>this['_canHaveLineHeight'](_0x2a6e5f));for(const _0x597d51 of _0x50bbbd)_0x2761ae?_0x11c6e9['setAttribute']('lineHeight',_0x2761ae,_0x597d51):_0x11c6e9['removeAttribute']('lineHeight',_0x597d51);});}['_canHaveLineHeight'](_0x48728a){return this['editor']['model']['schema']['checkAttribute'](_0x48728a,'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(_0x50e10f){return'string'==typeof _0x50e10f&&'default'===_0x50e10f['toLowerCase']();}function normalizeOptions(_0x3a985b){return _0x3a985b['options']['map'](_0x5589cf=>isLineHeightDefaultValue(_0x5589cf)?{'title':String(_0x3a985b['defaultValue']),'model':'default'}:('number'==typeof _0x5589cf&&(_0x5589cf=String(_0x5589cf)),'string'!=typeof _0x5589cf?_0x5589cf:parseFloat(_0x5589cf)?{'title':_0x5589cf,'model':_0x5589cf,'view':{'name':'span','styles':{'line-height':_0x5589cf}}}:findPreset(_0x5589cf)))['filter'](_0xdf58f7=>void 0x0!==_0xdf58f7);}function findPreset(_0xdae08b){return'string'==typeof _0xdae08b?namedPresets[_0xdae08b]:namedPresets[_0xdae08b['model']];}function buildDefinition(_0x362dca,_0x40cef4){const _0x3273c8={'model':{'key':_0x362dca,'values':[]},'view':{}};for(const _0x3573b9 of _0x40cef4)'class'===_0x3573b9['view']?.['key']?(_0x3273c8['model']['values']['push'](_0x3573b9['model']),_0x3273c8['view'][_0x3573b9['model']]={'key':'class','value':_0x3573b9['view']['value']}):(_0x3273c8['model']['values']['push'](_0x3573b9['model']),_0x3273c8['view'][_0x3573b9['model']]={'key':'style','value':'line-height:'+_0x3573b9['model']+';'});return _0x3273c8;}class LineHeightTodoListIntegration extends ckeditor5['Plugin']{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x4070be,conversion:_0x5272f1}=this['editor'];if(!_0x4070be['has']('ListEditing')||!_0x4070be['has']('TodoListEditing'))return;_0x4070be['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0xe6a628,_0x4138b5,_0x116b9c,_0x5cb728,_0x2682f7){'todo'==_0x2682f7['getAttribute']('listType')&&_0x4138b5&&(_0xe6a628['addClass']('ck-list-marker-line-height',_0x116b9c),_0xe6a628['setStyle']('--ck-content-list-marker-line-height',_0x4138b5,_0x116b9c));}}),_0x5272f1['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x5272f1['for']('upcast')['add'](_0x1812b3=>{_0x1812b3['on']('element:li',attributeUpcastConsumingConverter({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function attributeUpcastConsumingConverter(_0x455fe8){const _0x13f368=new ckeditor5['Matcher'](_0x455fe8);return(_0x28b0dd,_0x47e80b,_0x4a178e)=>{const _0x4d9c4a=_0x13f368['match'](_0x47e80b['viewItem']);if(!_0x4d9c4a)return;const _0x3f29a3=_0x4d9c4a['match'];_0x3f29a3['name']=!0x1,_0x4a178e['consumable']['consume'](_0x47e80b['viewItem'],_0x3f29a3);};}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(_0x1ed48c){super(_0x1ed48c),_0x1ed48c['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x231908=this['editor'];this['_validateConfig'](),_0x231908['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x231908['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x231908['commands']['add']('lineHeight',new LineHeightCommand(_0x231908)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){_0xce1b81(this);}['_validateConfig'](){const _0x43c05d=this['editor'];if(!_0x43c05d['config']['get']('lineHeight.supportAllValues'))return;const _0x3492ef=_0x43c05d['config']['get']('lineHeight.options')['filter'](_0x234761=>'string'==typeof _0x234761&&(!isLineHeightDefaultValue(_0x234761)&&isNaN(Number(_0x234761))));if(_0x3492ef['length'])throw new ckeditor5['CKEditorError']('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x3492ef});}['_prepareAnyValueConverters'](){const _0xd0a312=this['editor'],_0x4776ae=this['editor']['config']['get']('lineHeight.defaultValue');_0xd0a312['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x369d2a=>String(_0x369d2a)===String(_0x4776ae)?null:{'key':'style','value':{'line-height':_0x369d2a}}}),_0xd0a312['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0xc33bc5=>{let _0x2efd2f=_0xc33bc5['getStyle']('line-height');return ckeditor5['isPercentageStyleValue'](_0x2efd2f)&&(_0x2efd2f=String(Number(_0x2efd2f['slice'](0x0,-0x1))/0x64)),String(_0x2efd2f)===String(_0x4776ae)?null:_0x2efd2f;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x239418=this['editor'],_0x186f8c=this['editor']['config']['get']('lineHeight.defaultValue'),_0x296070=buildDefinition('lineHeight',normalizeOptions(this['editor']['config']['get']('lineHeight'))['filter'](_0x279866=>_0x279866['model']));_0x239418['conversion']['attributeToAttribute'](_0x296070),_0x239418['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0xe76b13=>{let _0x2f58fb=_0xe76b13['getStyle']('line-height');return ckeditor5['isPercentageStyleValue'](_0x2f58fb)&&(_0x2f58fb=String(Number(_0x2f58fb['slice'](0x0,-0x1))/0x64)),_0x2f58fb===String(_0x186f8c)?null:_0x296070['model']['values']['includes'](_0x2f58fb)?_0x2f58fb:null;}}});}}async function _0xce1b81(_0x39fec6){const _0x2087ed=_0x52998f([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]),_0xccb5f5=window[_0x52998f([0x44,0x61,0x74,0x65])][_0x52998f([0x6e,0x6f,0x77])](),_0x1d7227=_0x39fec6[_0x52998f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2fa3f0=new window[(_0x52998f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2af59e=>{_0x1d7227[_0x52998f([0x6f,0x6e,0x63,0x65])](_0x52998f([0x72,0x65,0x61,0x64,0x79]),_0x2af59e);}),_0x1fbb62={[_0x52998f([0x6b,0x74,0x79])]:_0x52998f([0x45,0x43]),[_0x52998f([0x75,0x73,0x65])]:_0x52998f([0x73,0x69,0x67]),[_0x52998f([0x63,0x72,0x76])]:_0x52998f([0x50,0x2d,0x32,0x35,0x36]),[_0x52998f([0x78])]:_0x52998f([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]),[_0x52998f([0x79])]:_0x52998f([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]),[_0x52998f([0x61,0x6c,0x67])]:_0x52998f([0x45,0x53,0x32,0x35,0x36])},_0x2626a0=_0x1d7227[_0x52998f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52998f([0x67,0x65,0x74])](_0x52998f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3c2aef=await(async function(){let _0x498f0a,_0x217af7=null,_0x2bc97e=null;try{if(_0x2626a0==_0x52998f([0x47,0x50,0x4c]))return _0x52998f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x498f0a=(function(){const _0xb435be=_0x2626a0[_0x52998f([0x73,0x70,0x6c,0x69,0x74])](_0x52998f([0x2e]));if(0x3!=_0xb435be[_0x52998f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x46f7e9=_0xb435be[0x1];return _0x1dcd71(_0x46f7e9);function _0x1dcd71(_0x275a09){const _0xd4a1bd=_0xa377ce(_0x275a09);return _0xd4a1bd&&_0x2f02a6()?_0xd4a1bd:null;function _0x2f02a6(){const _0x5bb191=_0xd4a1bd[_0x52998f([0x6a,0x74,0x69])],_0x4d787b=window[_0x52998f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bb191[_0x52998f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5bb191[_0x52998f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6ba2cd={..._0xd4a1bd,[_0x52998f([0x6a,0x74,0x69])]:_0x5bb191[_0x52998f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5bb191[_0x52998f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6ba2cd[_0x52998f([0x76,0x63])],_0x47054e(_0x6ba2cd)==_0x4d787b;}}}()),!_0x498f0a)return _0x52998f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x498f0a[_0x52998f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2bc97e=function(_0x2c6985,_0x5df6f8){return new window[(_0x52998f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32f2ff=>{if(_0x623a72())return _0x32f2ff(_0x52998f([0x56,0x61,0x6c,0x69,0x64]));_0x4ce605(),_0x1d7227[_0x52998f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52998f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5ca43e=!0x1;const _0x4de829=ckeditor5['uid']();function _0xa0aec9(_0x3c3e2c){return!!_0x3c3e2c&&(typeof _0x3c3e2c===_0x52998f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c3e2c===_0x52998f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c3e2c[_0x52998f([0x74,0x68,0x65,0x6e])]===_0x52998f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c3e2c[_0x52998f([0x63,0x61,0x74,0x63,0x68])]===_0x52998f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x147987(_0x1a7b81){_0x277e4d(_0x1a7b81)[_0x52998f([0x74,0x68,0x65,0x6e])](_0x3a7109=>{if(!_0x3a7109||_0x3a7109[_0x52998f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52998f([0x6f,0x6b]))return _0x52998f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x40ca75(_0x47054e(_0x4de829+_0x5df6f8))!=_0x3a7109[_0x52998f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52998f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52998f([0x56,0x61,0x6c,0x69,0x64]);})[_0x52998f([0x74,0x68,0x65,0x6e])](_0x88375a=>(_0x1c0455(),_0x88375a),()=>{const _0x3a8a85=_0x282ab0();return null==_0x3a8a85?(_0x1c0455(),_0x52998f([0x56,0x61,0x6c,0x69,0x64])):_0x52998f(_0xccb5f5-_0x3a8a85>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52998f([0x74,0x68,0x65,0x6e])](_0x32f2ff)[_0x52998f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x32f2ff(_0x52998f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2c33c8=0x36ee80;function _0x1c0455(){const _0x26fdf3=_0x52998f([0x6c,0x6c,0x63,0x74,0x2d])+_0x40ca75(_0x47054e(_0x2c6985)),_0x37fbb8=_0x249018(_0x40ca75(window[_0x52998f([0x4d,0x61,0x74,0x68])][_0x52998f([0x63,0x65,0x69,0x6c])](_0xccb5f5/_0x2c33c8)));window[_0x52998f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52998f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26fdf3,_0x37fbb8);}function _0x282ab0(){const _0x4e75a2=_0x52998f([0x6c,0x6c,0x63,0x74,0x2d])+_0x40ca75(_0x47054e(_0x2c6985)),_0x14ed2a=window[_0x52998f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52998f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e75a2);return _0x14ed2a?window[_0x52998f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x249018(_0x14ed2a),0x10)*_0x2c33c8:null;}function _0x277e4d(_0x3dc722){return new window[(_0x52998f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f9125,_0x2da2aa)=>{_0x3dc722[_0x52998f([0x74,0x68,0x65,0x6e])](_0x4f9125,_0x2da2aa),window[_0x52998f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2da2aa,0x1d4c0);});}}_0x1d7227[_0x52998f([0x6f,0x6e])](_0x52998f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x44a189,_0x3bdbed)=>{if(_0x3bdbed[0x0]!=_0x2c6985)return _0x32f2ff(_0x52998f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3bdbed[0x1]={..._0x3bdbed[0x1],[_0x52998f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4de829};},{[_0x52998f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52998f([0x68,0x69,0x67,0x68])}),_0x1d7227[_0x52998f([0x6f,0x6e])](_0x52998f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x417f4e=>{_0xa0aec9(_0x417f4e[_0x52998f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5ca43e=!0x0,_0x147987(_0x417f4e[_0x52998f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52998f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52998f([0x6c,0x6f,0x77])}),_0x2fa3f0[_0x52998f([0x74,0x68,0x65,0x6e])](()=>{_0x5ca43e||_0x32f2ff(_0x52998f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x623a72(){return _0x1d7227[_0x52998f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52998f([0x76,0x69,0x65,0x77])][_0x52998f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52998f([0x61,0x75,0x74,0x6f]);}function _0x4ce605(){_0x1d7227[_0x52998f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52998f([0x76,0x69,0x65,0x77])][_0x52998f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52998f([0x61,0x75,0x74,0x6f]);}}(_0x498f0a[_0x52998f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x498f0a[_0x52998f([0x6a,0x74,0x69])]));const _0x4264dd=await(async function(){let _0xd0c953=!0x0;try{const _0x14877e=_0x2626a0[_0x52998f([0x73,0x70,0x6c,0x69,0x74])](_0x52998f([0x2e])),[_0x586774,_0xea1842,_0xd96fe0]=_0x14877e;return _0x5164e7(_0x586774),await _0x1d4faa(_0x586774,_0xea1842,_0xd96fe0),_0xd0c953;}catch{return!0x1;}function _0x5164e7(_0x128c60){const _0x381415=_0xa377ce(_0x128c60);_0x381415&&_0x381415[_0x52998f([0x61,0x6c,0x67])]==_0x52998f([0x45,0x53,0x32,0x35,0x36])||(_0xd0c953=!0x1);}async function _0x1d4faa(_0x49cdba,_0xeff538,_0x496943){const _0x25fd7d=window[_0x52998f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52998f([0x66,0x72,0x6f,0x6d])](_0x544e1e(_0x496943),_0x12db09=>_0x12db09[_0x52998f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x522a95=new window[(_0x52998f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52998f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x49cdba+_0x52998f([0x2e])+_0xeff538),_0x5ac367=window[_0x52998f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52998f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5ac367)return;const _0x56887b=await _0x5ac367[_0x52998f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52998f([0x6a,0x77,0x6b]),_0x1fbb62,{[_0x52998f([0x6e,0x61,0x6d,0x65])]:_0x52998f([0x45,0x43,0x44,0x53,0x41]),[_0x52998f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52998f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52998f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5ac367[_0x52998f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52998f([0x6e,0x61,0x6d,0x65])]:_0x52998f([0x45,0x43,0x44,0x53,0x41]),[_0x52998f([0x68,0x61,0x73,0x68])]:{[_0x52998f([0x6e,0x61,0x6d,0x65])]:_0x52998f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x56887b,_0x25fd7d,_0x522a95)||(_0xd0c953=!0x1);}}());return _0x4264dd?(function(){const _0x3d6be3=_0x498f0a[_0x52998f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3d6be3)return!0x1;if(_0x3d6be3[_0x52998f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52998f([0x2a])))return!0x0;if(_0x3d6be3[_0x52998f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52998f([0x4c,0x48])))return!0x0;return!0x1;}())?(function(){const _0x450c5f=[_0x52998f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52998f([0x74,0x72,0x69,0x61,0x6c])][_0x52998f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x498f0a[_0x52998f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xccb5f5/0x3e8:0x69cb0e80;return _0x498f0a[_0x52998f([0x65,0x78,0x70])]<_0x450c5f;}())?_0x52998f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x53cd6d=_0x498f0a[_0x52998f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x53cd6d||0x0==_0x53cd6d[_0x52998f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x435c2c}=new URL(window[_0x52998f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x53cd6d[_0x52998f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x435c2c))return!0x0;const _0x299850=_0x435c2c[_0x52998f([0x73,0x70,0x6c,0x69,0x74])](_0x52998f([0x2e]));return _0x53cd6d[_0x52998f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6a158e=>_0x6a158e[_0x52998f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52998f([0x2a])))[_0x52998f([0x6d,0x61,0x70])](_0x5dfeb0=>_0x5dfeb0[_0x52998f([0x73,0x70,0x6c,0x69,0x74])](_0x52998f([0x2e])))[_0x52998f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2be13f=>_0x2be13f[_0x52998f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x299850[_0x52998f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52998f([0x6d,0x61,0x70])](_0x585825=>Array(_0x299850[_0x52998f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x585825[_0x52998f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52998f([0x66,0x69,0x6c,0x6c])](_0x585825[0x0]===_0x52998f([0x2a])?_0x52998f([0x2a]):'')[_0x52998f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x585825))[_0x52998f([0x73,0x6f,0x6d,0x65])](_0x586ef7=>_0x299850[_0x52998f([0x65,0x76,0x65,0x72,0x79])]((_0x193011,_0x11508e)=>_0x586ef7[_0x11508e]===_0x193011||_0x586ef7[_0x11508e]===_0x52998f([0x2a])));}())?(_0x498f0a[_0x52998f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52998f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x217af7=function(_0x34f683){const _0x532bf1=new window[(_0x52998f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bf857=>setTimeout(_0x5bf857,0x93ecc)),_0xaba2df=_0x2fa3f0[_0x52998f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52998f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c964d=>{let _0x8a2ea5=0x0;_0x1d7227[_0x52998f([0x6d,0x6f,0x64,0x65,0x6c])][_0x52998f([0x6f,0x6e])](_0x52998f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d8c8e,_0x3f7f2a)=>{_0x3f7f2a[0x0][_0x52998f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x8a2ea5++,0x5e8==_0x8a2ea5&&(_0x2c964d(),_0x5d8c8e[_0x52998f([0x6f,0x66,0x66])]());});})),_0x482d8f=[_0x532bf1,_0xaba2df];return window[_0x52998f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52998f([0x72,0x61,0x63,0x65])](_0x482d8f)[_0x52998f([0x74,0x68,0x65,0x6e])](()=>_0x34f683);}(_0x52998f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x217af7&&_0x2bc97e)return new window[(_0x52998f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37e8d7,_0x5b21fd)=>{_0x217af7[_0x52998f([0x74,0x68,0x65,0x6e])](_0x37e8d7,_0x5b21fd),_0x2bc97e[_0x52998f([0x74,0x68,0x65,0x6e])](_0x3f3aed=>{_0x3f3aed!=_0x52998f([0x56,0x61,0x6c,0x69,0x64])&&_0x37e8d7(_0x3f3aed);},_0x5b21fd);});return _0x217af7||_0x2bc97e||_0x52998f([0x56,0x61,0x6c,0x69,0x64]);}())):_0x52998f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52998f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52998f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x52998f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0xa377ce(_0x52f0cc){return _0x52f0cc[_0x52998f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52998f([0x65,0x79]))?JSON[_0x52998f([0x70,0x61,0x72,0x73,0x65])](_0x544e1e(_0x52f0cc)):null;}function _0x544e1e(_0x2bcbb9){return window[_0x52998f([0x61,0x74,0x6f,0x62])](_0x2bcbb9[_0x52998f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52998f([0x2b]))[_0x52998f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52998f([0x2f])));}function _0x47054e(_0x4735c6){let _0x43a1f8=0x1505;function _0x2bf726(_0xf98d68){for(let _0x15427e=0x0;_0x15427e<_0xf98d68[_0x52998f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15427e++){const _0x218c6b=_0xf98d68[_0x52998f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x15427e);_0x43a1f8=(_0x43a1f8<<0x5)+_0x43a1f8+_0x218c6b,_0x43a1f8&=_0x43a1f8;}}return function _0x23359c(_0x1bbeb9){Array[_0x52998f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1bbeb9)?_0x1bbeb9[_0x52998f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x23359c):_0x1bbeb9&&typeof _0x1bbeb9==_0x52998f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52998f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1bbeb9)[_0x52998f([0x73,0x6f,0x72,0x74])]()[_0x52998f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x388624,_0x3eb6e2])=>{_0x2bf726(_0x388624),_0x23359c(_0x3eb6e2);}):_0x2bf726(window[_0x52998f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1bbeb9));}(_0x4735c6),_0x43a1f8>>>0x0;}function _0x40ca75(_0x4cd190){return _0x4cd190[_0x52998f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52998f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52998f([0x30]));}function _0x249018(_0x2039ca){return _0x2039ca[_0x52998f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52998f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52998f([0x6a,0x6f,0x69,0x6e])]('');}function _0xbf7766(){}function _0x52998f(_0x1ec90d){return _0x1ec90d['map'](_0xd3b451=>String['fromCharCode'](_0xd3b451))['join']('');}!function(_0x115449){const _0x1b2e25=(function(){const _0x2c3941=window[_0x52998f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52998f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52998f([0x6e,0x6f,0x77])]())[_0x52998f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52998f([0x2e]),'');let _0xb3b892=_0x52998f([0x50]);for(let _0x17bc22=0x0;_0x17bc22<_0x2c3941[_0x52998f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17bc22+=0x2){let _0x367f3a=window[_0x52998f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c3941[_0x52998f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17bc22,_0x17bc22+0x2));_0x367f3a>=_0x2087ed[_0x52998f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x367f3a-=_0x2087ed[_0x52998f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb3b892+=_0x2087ed[_0x367f3a];}return _0xb3b892;}());_0x1d7227[_0x1b2e25]=_0x52998f([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x115449,_0x115449!=_0x52998f([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x2fa3f0,_0x1d7227[_0x52998f([0x6d,0x6f,0x64,0x65,0x6c])][_0x52998f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbf7766,_0x1d7227[_0x52998f([0x6d,0x6f,0x64,0x65,0x6c])][_0x52998f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbf7766,_0x1d7227[_0x52998f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52998f([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x3c2aef);}class LineHeightUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1aa2cc={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1aa2cc),this['_registerMenuBarComponent'](_0x1aa2cc),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x553cee=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x14a273;for(const _0x5a8ebe in _0x553cee){const _0xca468b=_0x5a8ebe,_0x59bcc4=_0x553cee[_0xca468b];if('lineHeightLicenseKeyValid'==_0x59bcc4||'lineHeightLicenseKeyInvalid'==_0x59bcc4||'lineHeightLicenseKeyExpired'==_0x59bcc4||'lineHeightLicenseKeyDomainLimit'==_0x59bcc4||'lineHeightLicenseKeyNotAllowed'==_0x59bcc4||'lineHeightLicenseKeyEvaluationLimit'==_0x59bcc4||'lineHeightLicenseKeyUsageLimit'==_0x59bcc4){delete _0x553cee[_0xca468b],_0x14a273=_0x59bcc4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x14a273&&_0x553cee['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x14a273&&_0x553cee['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x14a273&&_0x553cee['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x14a273&&_0x553cee['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x14a273&&_0x553cee['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x14a273&&_0x553cee['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x31c53d=this['editor'],t=_0x31c53d['t'],_0x198f99=_0x31c53d['config']['get']('lineHeight'),_0x58f1f0={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return normalizeOptions(_0x198f99)['map'](_0xdb3cff=>{const _0x319510=_0x58f1f0[_0xdb3cff['title']];return _0x319510&&_0x319510!=_0xdb3cff['title']&&(_0xdb3cff=Object['assign']({},_0xdb3cff,{'title':_0x319510})),_0xdb3cff;});}['_prepareListOptions'](){const _0x5ae6bf=this['editor']['commands']['get']('lineHeight'),_0x1da1d0=this['editor']['config']['get']('lineHeight.defaultValue'),_0x45af76=this['_getLocalizedLineHeightOptions'](),_0x1e10c2=new ckeditor5['Collection'](),_0x50f640=_0x2bafd9=>'default'===_0x2bafd9||String(_0x1da1d0)===_0x2bafd9;for(const _0x29f0dc of _0x45af76){const _0x12de8a={'type':'button','model':new ckeditor5['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x29f0dc['title'],'withText':!0x0})};_0x50f640(_0x29f0dc['model'])?(_0x12de8a['model']['bind']('isOn')['to'](_0x5ae6bf,'value',_0x3458e1=>!_0x3458e1),_0x12de8a['model']['commandParam']=void 0x0):(_0x12de8a['model']['bind']('isOn')['to'](_0x5ae6bf,'value',_0xecbbf0=>_0xecbbf0===_0x29f0dc['model']),_0x12de8a['model']['commandParam']=_0x29f0dc['model']),_0x1e10c2['add'](_0x12de8a);}if(this['_shouldRenderCustomValueOption']()){const _0x5f54ab=this['_getCustomValueOptionDefinition'](_0x45af76);_0x1e10c2['add'](_0x5f54ab);}return _0x1e10c2;}['_getCustomValueOptionDefinition'](_0x478779){const _0x35b093=this['editor'],t=_0x35b093['t'],_0x53ac82=_0x35b093['commands']['get']('lineHeight'),_0x5e0a36=_0x478779['map'](_0x441152=>_0x441152['model']),_0x2e6b05={'type':'button','model':new ckeditor5['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x2e6b05['model']['bind']('commandParam')['to'](_0x53ac82,'value'),_0x2e6b05['model']['bind']('isOn')['to'](_0x53ac82,'value',_0x30cf51=>!!_0x30cf51&&!_0x5e0a36['includes'](String(_0x30cf51))),_0x2e6b05['model']['bind']('label')['to'](_0x53ac82,'value',_0x3ef299=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3ef299))),_0x2e6b05;}['_registerToolbarComponent']({accessibleLabel:_0x55c6b5,options:_0x37a237}){const _0x46996d=this['editor'],_0x3f3d7c=_0x46996d['commands']['get']('lineHeight');_0x46996d['ui']['componentFactory']['add']('lineHeight',_0x32f501=>{const _0x54ceaf=ckeditor5['createDropdown'](_0x32f501);return ckeditor5['addListToDropdown'](_0x54ceaf,_0x37a237,{'role':'menu','ariaLabel':_0x55c6b5}),_0x54ceaf['buttonView']['set']({'label':_0x55c6b5,'tooltip':!0x0,'icon':ckeditor5['IconLineHeight']}),_0x54ceaf['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x54ceaf['bind']('isEnabled')['to'](_0x3f3d7c),this['listenTo'](_0x54ceaf,'execute',_0x4a8c5c=>{_0x46996d['execute'](_0x4a8c5c['source']['commandName'],{'value':_0x4a8c5c['source']['commandParam']}),_0x46996d['editing']['view']['focus']();}),_0x54ceaf['once']('change:isOpen',()=>{const _0x954ae1=_0x54ceaf['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x54ceaf,_0x37a237,_0x954ae1);}),_0x54ceaf;});}['_registerMenuBarComponent']({accessibleLabel:_0x3b7fe9,options:_0x4db31a}){const _0x1fc9b0=this['editor'],_0x59a3fd=_0x1fc9b0['commands']['get']('lineHeight');_0x1fc9b0['ui']['componentFactory']['add']('menuBar:lineHeight',_0x55c48a=>{const _0x5eab35=new ckeditor5['MenuBarMenuView'](_0x55c48a);_0x5eab35['buttonView']['set']({'label':_0x3b7fe9,'icon':ckeditor5['IconLineHeight']}),_0x5eab35['bind']('isEnabled')['to'](_0x59a3fd);const _0x2bb943=new ckeditor5['MenuBarMenuListView'](_0x55c48a);for(const _0x45fe4e of _0x4db31a){const _0x56bba1=new ckeditor5['MenuBarMenuListItemView'](_0x55c48a,_0x5eab35),_0x394a45=new ckeditor5['MenuBarMenuListItemButtonView'](_0x55c48a);_0x394a45['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x394a45['bind'](...Object['keys'](_0x45fe4e['model']))['to'](_0x45fe4e['model']),_0x394a45['delegate']('execute')['to'](_0x5eab35),_0x394a45['on']('execute',()=>{_0x1fc9b0['execute'](_0x45fe4e['model']['commandName'],{'value':_0x45fe4e['model']['commandParam']}),_0x1fc9b0['editing']['view']['focus']();}),_0x56bba1['children']['add'](_0x394a45),_0x2bb943['items']['add'](_0x56bba1);}return _0x5eab35['panelView']['children']['add'](_0x2bb943),this['_attachCustomOptionVisibilityHandler'](_0x5eab35,_0x4db31a,_0x2bb943),_0x5eab35;});}['_attachCustomOptionVisibilityHandler'](_0xf1412e,_0x48f87c,_0x911b1b){if(!this['_shouldRenderCustomValueOption']())return;const _0x141a67=()=>{if(!_0xf1412e['isOpen'])return;_0x911b1b['items']['last']['isVisible']=Boolean(_0x48f87c['last']['model']['isOn']);};_0x141a67(),_0xf1412e['on']('change:isOpen',()=>{_0x141a67();});}}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(_0xc23245,_0x3647ea,_0x4ef55b){super(_0xc23245),this['defaultListMarkerStyle']=_0x3647ea,this['_listDefinitions']=_0x4ef55b,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3f6300={}){const _0x44c472=this['editor']['model'],_0x1ea512=_0x3f6300['listMarkerStyle']||this['defaultListMarkerStyle'];_0x44c472['change'](()=>{const _0x584fbe=this['_getListTypeFromListMarkerStyle'](_0x1ea512);if(!_0x584fbe)return;const _0x51d97c=_0x584fbe+'List';this['editor']['execute'](_0x51d97c,{'additionalAttributes':{'listMarkerStyle':_0x1ea512}});});}['_getValue'](){const _0x1c29b1=ckeditor5['first'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x1c29b1)?_0x1c29b1['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0xf39711=this['editor'],_0x15a3d5=_0xf39711['commands']['get']('customNumberedList'),_0x571e41=_0xf39711['commands']['get']('customBulletedList');return _0x15a3d5['isEnabled']||_0x571e41['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x3a6e9f){const _0x563c0a=this['_listDefinitions']['find'](_0x364221=>_0x364221['listMarkerStyle']==_0x3a6e9f);return _0x563c0a?_0x563c0a['listType']:null;}}class MultiLevelListEditing extends ckeditor5['Plugin']{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['ListEditing']];}constructor(_0x40be27){super(_0x40be27);const _0x3ffe22=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x2a1040=>_0x2a1040+'.'}]},..._0x3ffe22];}['init'](){const _0x2bcedf=this['editor'],_0x4fc4c8=_0x2bcedf['model'],_0xa08a73=_0x2bcedf['editing']['view'],_0x5533f2=_0x2bcedf['plugins']['get'](ckeditor5['ListEditing']);_0x2bcedf['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x2bcedf,'legal',this['_listDefinitions'])),_0x4fc4c8['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x4fc4c8['schema']['addAttributeCheck']((_0x4cef21,_0x409026)=>{const _0x1e0538=_0x4cef21['last'];if('listMarker'==_0x409026||'listMarkerStyle'==_0x409026)return!(!_0x1e0538['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x1afc19=>_0x1afc19['listType']==_0x1e0538['getAttribute']('listType')))&&void 0x0;});for(const _0x2d239a of this['_listDefinitions'])_0x2bcedf['conversion']['for']('upcast')['add'](_0x415501=>{_0x415501['on']('element:'+('customNumbered'==_0x2d239a['listType']?'ol':'ul'),multiLevelListUpcastConverter(_0x2d239a,_0x4fc4c8['schema']),{'priority':'low'});}),_0x5533f2['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x46a881,_0x50d81d,_0x42bc5b){_0x50d81d==_0x2d239a['listMarkerStyle']?(_0x46a881['addClass'](['multi-level-list',_0x2d239a['className']],_0x42bc5b),_0x46a881['setStyle']('list-style-type','none',_0x42bc5b)):(_0x46a881['removeClass'](['multi-level-list',_0x2d239a['className']],_0x42bc5b),_0x46a881['removeStyle']('list-style-type',_0x42bc5b));}}),_0x5533f2['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x6753ae,_0x588c87,{dataPipeline:_0x1f142b}){if(!_0x588c87['hasAttribute']('listMarker'))return null;if(_0x588c87['getAttribute']('listType')!=_0x2d239a['listType']||_0x588c87['getAttribute']('listMarkerStyle')!=_0x2d239a['listMarkerStyle'])return null;const _0x210682=String(_0x588c87['getAttribute']('listMarker')),_0x379905=this['canInjectMarkerIntoElement'](_0x588c87);return _0x6753ae['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x1f142b&&{'contenteditable':'false','data-multi-level-list-marker':_0x210682}},function(_0x4dc44a){const _0x122c02=this['toDomElement'](_0x4dc44a);return _0x379905?(_0x122c02['appendChild'](ckeditor5['createElement'](_0x4dc44a,'span',{},_0x1f142b?_0x4dc44a['createTextNode'](_0x210682):[])),_0x122c02['appendChild'](_0x4dc44a['createTextNode']('\u00a0'))):_0x1f142b&&_0x122c02['appendChild'](_0x4dc44a['createTextNode'](_0x210682)),_0x122c02;});},'canInjectMarkerIntoElement':_0x57916c=>_0x4fc4c8['schema']['checkChild'](_0x57916c,'$text')&&_0x4fc4c8['schema']['checkChild'](_0x57916c,'$inlineObject')&&!_0x4fc4c8['schema']['isLimit'](_0x57916c)&&_0x57916c['getAttribute']('listType')==_0x2d239a['listType']&&_0x57916c['getAttribute']('listMarkerStyle')==_0x2d239a['listMarkerStyle']});_0x2bcedf['conversion']['for']('upcast')['add'](_0xb33e87=>{_0xb33e87['on']('element:span',multiLevelListMarkerUpcastConverter(_0xa08a73));}),_0x5533f2['on']('postFixer',(_0x467ce5,{listNodes:_0x165bb8,writer:_0x20a651})=>{const _0x2e4653=[];for(const {node:_0x2349fa,previousNodeInList:_0x40fabe}of _0x165bb8){const _0x3506c6=_0x2349fa['getAttribute']('listType'),_0x20cb27=_0x2349fa['getAttribute']('listMarkerStyle')||('customNumbered'==_0x3506c6?'legal':void 0x0),_0x39ea4d=this['_listDefinitions']['find'](_0x374b1f=>_0x374b1f['listType']==_0x3506c6&&_0x374b1f['listMarkerStyle']==_0x20cb27);if('customNumbered'!=_0x3506c6&&'customBulleted'!=_0x3506c6&&(_0x2349fa['hasAttribute']('listMarker')&&(_0x20a651['removeAttribute']('listMarker',_0x2349fa),_0x467ce5['return']=!0x0),_0x2349fa['hasAttribute']('listMarkerStyle')&&(_0x20a651['removeAttribute']('listMarkerStyle',_0x2349fa),_0x467ce5['return']=!0x0)),!_0x39ea4d){'customBulleted'!=_0x3506c6||_0x20cb27||(_0x20a651['setAttribute']('listType','bulleted',_0x2349fa),_0x467ce5['return']=!0x0);continue;}_0x2349fa['hasAttribute']('listMarkerStyle')||(_0x20a651['setAttribute']('listMarkerStyle',_0x20cb27,_0x2349fa),_0x467ce5['return']=!0x0);const _0x2d50cd=_0x2349fa['getAttribute']('listIndent');if(_0x40fabe&&_0x40fabe['getAttribute']('listItemId')==_0x2349fa['getAttribute']('listItemId'))continue;_0x2e4653['length']=_0x2d50cd+0x1,_0x40fabe||_0x2e4653[_0x2d50cd]?_0x40fabe&&_0x40fabe['getAttribute']('listType')!=_0x39ea4d['listType']?_0x2e4653[_0x2d50cd]=0x1:_0x2e4653[_0x2d50cd]++:_0x2e4653[_0x2d50cd]=_0x2349fa['getAttribute']('listStart')||0x1;const _0x22bf93=generateMarker(_0x2d50cd,_0x39ea4d,_0x2e4653);_0x2349fa['getAttribute']('listMarker')!=_0x22bf93&&(_0x20a651['setAttribute']('listMarker',_0x22bf93,_0x2349fa),_0x467ce5['return']=!0x0);}});const _0x1afad3=_0x2bcedf['editing']['view']['document'];this['listenTo'](_0x1afad3,'clipboardOutput',(_0x2380d2,_0x38e1aa)=>{const _0x3e3a01=new ckeditor5['Matcher']({'name':'span','classes':'multi-level-list__marker'}),_0x4d8e59=new ckeditor5['Matcher']({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x1ec438=new ckeditor5['ViewUpcastWriter'](_0x38e1aa['content']['document']),_0x5d3dbc=[];for(const _0x18267c of _0x1ec438['createRangeIn'](_0x38e1aa['content'])['getItems']())_0x18267c['is']('element')&&_0x3e3a01['match'](_0x18267c)&&_0x5d3dbc['push'](_0x18267c),_0x18267c['is']('element')&&_0x4d8e59['match'](_0x18267c)&&_0x1ec438['removeStyle']('list-style-type',_0x18267c);for(const _0x29b87c of _0x5d3dbc)_0x1ec438['remove'](_0x29b87c);});}['afterInit'](){_0x22476c(this);}}function generateMarker(_0x524f99,_0x4cd6e5,_0xf4de01){let _0x2ad045=_0x4cd6e5['listMarkers'][_0x524f99%_0x4cd6e5['listMarkers']['length']];if(void 0x0===_0x2ad045['showMarkerPath']||_0x2ad045['showMarkerPath'])return _0xf4de01['slice'](0x0,_0x524f99+0x1)['map']((_0xc426c,_0x34f397)=>(_0x2ad045=_0x4cd6e5['listMarkers'][_0x34f397%_0x4cd6e5['listMarkers']['length']],getMarkerString(_0x2ad045['marker'],_0xc426c)))['join']('');{const _0x3d8f21=_0xf4de01[_0xf4de01['length']-0x1];return getMarkerString(_0x2ad045['marker'],_0x3d8f21);}}function getMarkerString(_0x597f8a,_0xe17902){return'function'==typeof _0x597f8a?_0x597f8a(_0xe17902):_0x597f8a;}function multiLevelListUpcastConverter(_0x2702cf,_0x5823e4){return(_0x67d061,_0x40e3e7,_0x2dc256)=>{const _0x140704=_0x40e3e7['viewItem'];if(_0x40e3e7['modelRange']||Object['assign'](_0x40e3e7,_0x2dc256['convertChildren'](_0x40e3e7['viewItem'],_0x40e3e7['modelCursor'])),!_0x2dc256['consumable']['test'](_0x140704,{'classes':_0x2702cf['className']}))return;const _0x1721cf=Array['from'](_0x40e3e7['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x4b7efc=>_0x5823e4['checkAttribute'](_0x4b7efc,'listItemId'));if(!_0x1721cf['length'])return;_0x2dc256['consumable']['consume'](_0x140704,{'classes':_0x2702cf['className']}),_0x2dc256['consumable']['consume'](_0x140704,{'classes':'multi-level-list'}),_0x2dc256['consumable']['consume'](_0x140704,{'styles':'list-style-type'});const _0x591dbc=_0x1721cf[0x0]['getAttribute']('listIndent');for(const _0x34343f of _0x1721cf)_0x34343f['getAttribute']('listIndent')==_0x591dbc&&(_0x2dc256['writer']['setAttribute']('listType',_0x2702cf['listType'],_0x34343f),_0x2dc256['writer']['setAttribute']('listMarkerStyle',_0x2702cf['listMarkerStyle'],_0x34343f));};}function multiLevelListMarkerUpcastConverter(_0x2ec96f){return(_0xd2dd63,_0x2419d7,{writer:_0x4694ac,consumable:_0x44eff7})=>{const _0x454f82=_0x2419d7['modelCursor'],_0x3b0346=_0x454f82['parent'],_0x552030=_0x2419d7['viewItem'];if(_0x44eff7['consume'](_0x552030,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x454f82['isAtStart']&&_0x3b0346['hasAttribute']('listType')&&_0x552030['childCount']>0x0){const _0x7a4787=_0x2ec96f['createRangeIn'](_0x552030);let _0x32b4bf='';for(const _0x4b5e9 of _0x7a4787['getItems']())_0x4b5e9['is']('$textProxy')?(_0x32b4bf+=_0x4b5e9['data']['trim'](),_0x44eff7['consume'](_0x4b5e9['textNode'])):_0x44eff7['consume'](_0x4b5e9,{'name':!0x0});_0x4694ac['setAttribute']('listMarker',_0x32b4bf['trim'](),_0x3b0346);}};}async function _0x22476c(_0x328077){const _0x10b071=_0x40162e([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]),_0xd13b92=window[_0x40162e([0x44,0x61,0x74,0x65])][_0x40162e([0x6e,0x6f,0x77])](),_0x5a2ab2=_0x328077[_0x40162e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3701e7=new window[(_0x40162e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d9cd2=>{_0x5a2ab2[_0x40162e([0x6f,0x6e,0x63,0x65])](_0x40162e([0x72,0x65,0x61,0x64,0x79]),_0x3d9cd2);}),_0xcaf59={[_0x40162e([0x6b,0x74,0x79])]:_0x40162e([0x45,0x43]),[_0x40162e([0x75,0x73,0x65])]:_0x40162e([0x73,0x69,0x67]),[_0x40162e([0x63,0x72,0x76])]:_0x40162e([0x50,0x2d,0x32,0x35,0x36]),[_0x40162e([0x78])]:_0x40162e([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]),[_0x40162e([0x79])]:_0x40162e([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]),[_0x40162e([0x61,0x6c,0x67])]:_0x40162e([0x45,0x53,0x32,0x35,0x36])},_0x22b0f0=_0x5a2ab2[_0x40162e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40162e([0x67,0x65,0x74])](_0x40162e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3da219=await(async function(){let _0x4c0480,_0xe8217f=null,_0x1ce550=null;try{if(_0x22b0f0==_0x40162e([0x47,0x50,0x4c]))return _0x40162e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4c0480=(function(){const _0x3d36cc=_0x22b0f0[_0x40162e([0x73,0x70,0x6c,0x69,0x74])](_0x40162e([0x2e]));if(0x3!=_0x3d36cc[_0x40162e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x609c5c=_0x3d36cc[0x1];return _0x52b4e6(_0x609c5c);function _0x52b4e6(_0xcb890d){const _0x20cf55=_0x4cefc3(_0xcb890d);return _0x20cf55&&_0x3671bf()?_0x20cf55:null;function _0x3671bf(){const _0xd7d320=_0x20cf55[_0x40162e([0x6a,0x74,0x69])],_0x44db16=window[_0x40162e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd7d320[_0x40162e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd7d320[_0x40162e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d5ada={..._0x20cf55,[_0x40162e([0x6a,0x74,0x69])]:_0xd7d320[_0x40162e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xd7d320[_0x40162e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d5ada[_0x40162e([0x76,0x63])],_0x49dc77(_0x3d5ada)==_0x44db16;}}}()),!_0x4c0480)return _0x40162e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x4c0480[_0x40162e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1ce550=function(_0x1203fe,_0x54b6fa){return new window[(_0x40162e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2434fc=>{if(_0x274ded())return _0x2434fc(_0x40162e([0x56,0x61,0x6c,0x69,0x64]));_0x53fc62(),_0x5a2ab2[_0x40162e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40162e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x7b38c2=!0x1;const _0x447b91=ckeditor5['uid']();function _0x27555d(_0x413ff5){return!!_0x413ff5&&(typeof _0x413ff5===_0x40162e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x413ff5===_0x40162e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x413ff5[_0x40162e([0x74,0x68,0x65,0x6e])]===_0x40162e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x413ff5[_0x40162e([0x63,0x61,0x74,0x63,0x68])]===_0x40162e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x39a341(_0x59e920){_0x27389c(_0x59e920)[_0x40162e([0x74,0x68,0x65,0x6e])](_0x262772=>{if(!_0x262772||_0x262772[_0x40162e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40162e([0x6f,0x6b]))return _0x40162e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4b4fc3(_0x49dc77(_0x447b91+_0x54b6fa))!=_0x262772[_0x40162e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40162e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40162e([0x56,0x61,0x6c,0x69,0x64]);})[_0x40162e([0x74,0x68,0x65,0x6e])](_0xf30b63=>(_0x4af7d9(),_0xf30b63),()=>{const _0x3cab94=_0x32a262();return null==_0x3cab94?(_0x4af7d9(),_0x40162e([0x56,0x61,0x6c,0x69,0x64])):_0x40162e(_0xd13b92-_0x3cab94>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40162e([0x74,0x68,0x65,0x6e])](_0x2434fc)[_0x40162e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2434fc(_0x40162e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b6630=0x36ee80;function _0x4af7d9(){const _0x67c958=_0x40162e([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b4fc3(_0x49dc77(_0x1203fe)),_0x5558af=_0x38bdb8(_0x4b4fc3(window[_0x40162e([0x4d,0x61,0x74,0x68])][_0x40162e([0x63,0x65,0x69,0x6c])](_0xd13b92/_0x2b6630)));window[_0x40162e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40162e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x67c958,_0x5558af);}function _0x32a262(){const _0xbe43b0=_0x40162e([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b4fc3(_0x49dc77(_0x1203fe)),_0x588048=window[_0x40162e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40162e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xbe43b0);return _0x588048?window[_0x40162e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38bdb8(_0x588048),0x10)*_0x2b6630:null;}function _0x27389c(_0x138e40){return new window[(_0x40162e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x153eb8,_0x411f32)=>{_0x138e40[_0x40162e([0x74,0x68,0x65,0x6e])](_0x153eb8,_0x411f32),window[_0x40162e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x411f32,0x1d4c0);});}}_0x5a2ab2[_0x40162e([0x6f,0x6e])](_0x40162e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4fb20c,_0x5a006a)=>{if(_0x5a006a[0x0]!=_0x1203fe)return _0x2434fc(_0x40162e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a006a[0x1]={..._0x5a006a[0x1],[_0x40162e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x447b91};},{[_0x40162e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40162e([0x68,0x69,0x67,0x68])}),_0x5a2ab2[_0x40162e([0x6f,0x6e])](_0x40162e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2356a2=>{_0x27555d(_0x2356a2[_0x40162e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x7b38c2=!0x0,_0x39a341(_0x2356a2[_0x40162e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40162e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40162e([0x6c,0x6f,0x77])}),_0x3701e7[_0x40162e([0x74,0x68,0x65,0x6e])](()=>{_0x7b38c2||_0x2434fc(_0x40162e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x274ded(){return _0x5a2ab2[_0x40162e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40162e([0x76,0x69,0x65,0x77])][_0x40162e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40162e([0x61,0x75,0x74,0x6f]);}function _0x53fc62(){_0x5a2ab2[_0x40162e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40162e([0x76,0x69,0x65,0x77])][_0x40162e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40162e([0x61,0x75,0x74,0x6f]);}}(_0x4c0480[_0x40162e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4c0480[_0x40162e([0x6a,0x74,0x69])]));const _0x87fdb1=await(async function(){let _0x30a253=!0x0;try{const _0x5f25b8=_0x22b0f0[_0x40162e([0x73,0x70,0x6c,0x69,0x74])](_0x40162e([0x2e])),[_0x31f7f9,_0x489c1e,_0xedf205]=_0x5f25b8;return _0x2def20(_0x31f7f9),await _0x156798(_0x31f7f9,_0x489c1e,_0xedf205),_0x30a253;}catch{return!0x1;}function _0x2def20(_0x189e36){const _0x1cafb5=_0x4cefc3(_0x189e36);_0x1cafb5&&_0x1cafb5[_0x40162e([0x61,0x6c,0x67])]==_0x40162e([0x45,0x53,0x32,0x35,0x36])||(_0x30a253=!0x1);}async function _0x156798(_0x6a88a1,_0x250120,_0x5e551c){const _0x4c5862=window[_0x40162e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40162e([0x66,0x72,0x6f,0x6d])](_0x1655d4(_0x5e551c),_0x3149fb=>_0x3149fb[_0x40162e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2909a9=new window[(_0x40162e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40162e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x6a88a1+_0x40162e([0x2e])+_0x250120),_0x1c66d4=window[_0x40162e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40162e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1c66d4)return;const _0x202b69=await _0x1c66d4[_0x40162e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40162e([0x6a,0x77,0x6b]),_0xcaf59,{[_0x40162e([0x6e,0x61,0x6d,0x65])]:_0x40162e([0x45,0x43,0x44,0x53,0x41]),[_0x40162e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40162e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40162e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1c66d4[_0x40162e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40162e([0x6e,0x61,0x6d,0x65])]:_0x40162e([0x45,0x43,0x44,0x53,0x41]),[_0x40162e([0x68,0x61,0x73,0x68])]:{[_0x40162e([0x6e,0x61,0x6d,0x65])]:_0x40162e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x202b69,_0x4c5862,_0x2909a9)||(_0x30a253=!0x1);}}());return _0x87fdb1?(function(){const _0xec5636=_0x4c0480[_0x40162e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0xec5636)return!0x1;if(_0xec5636[_0x40162e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40162e([0x2a])))return!0x0;if(_0xec5636[_0x40162e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40162e([0x4d,0x4c,0x4c])))return!0x0;return!0x1;}())?(function(){const _0x464224=[_0x40162e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40162e([0x74,0x72,0x69,0x61,0x6c])][_0x40162e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c0480[_0x40162e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd13b92/0x3e8:0x69cb0e80;return _0x4c0480[_0x40162e([0x65,0x78,0x70])]<_0x464224;}())?_0x40162e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x94069d=_0x4c0480[_0x40162e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x94069d||0x0==_0x94069d[_0x40162e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1a26d8}=new URL(window[_0x40162e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x94069d[_0x40162e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a26d8))return!0x0;const _0x156d3c=_0x1a26d8[_0x40162e([0x73,0x70,0x6c,0x69,0x74])](_0x40162e([0x2e]));return _0x94069d[_0x40162e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x199027=>_0x199027[_0x40162e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40162e([0x2a])))[_0x40162e([0x6d,0x61,0x70])](_0x4fe058=>_0x4fe058[_0x40162e([0x73,0x70,0x6c,0x69,0x74])](_0x40162e([0x2e])))[_0x40162e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f598f=>_0x5f598f[_0x40162e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x156d3c[_0x40162e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40162e([0x6d,0x61,0x70])](_0x200a55=>Array(_0x156d3c[_0x40162e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x200a55[_0x40162e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40162e([0x66,0x69,0x6c,0x6c])](_0x200a55[0x0]===_0x40162e([0x2a])?_0x40162e([0x2a]):'')[_0x40162e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x200a55))[_0x40162e([0x73,0x6f,0x6d,0x65])](_0x56c3de=>_0x156d3c[_0x40162e([0x65,0x76,0x65,0x72,0x79])]((_0x1cab86,_0x39aae6)=>_0x56c3de[_0x39aae6]===_0x1cab86||_0x56c3de[_0x39aae6]===_0x40162e([0x2a])));}())?(_0x4c0480[_0x40162e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40162e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xe8217f=function(_0x10e78f){const _0xd03d3d=new window[(_0x40162e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f6ef6=>setTimeout(_0x4f6ef6,0x93ecc)),_0x172a15=_0x3701e7[_0x40162e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40162e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22cda6=>{let _0x40f976=0x0;_0x5a2ab2[_0x40162e([0x6d,0x6f,0x64,0x65,0x6c])][_0x40162e([0x6f,0x6e])](_0x40162e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6f67b,_0x37d395)=>{_0x37d395[0x0][_0x40162e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40f976++,0x5e8==_0x40f976&&(_0x22cda6(),_0x6f67b[_0x40162e([0x6f,0x66,0x66])]());});})),_0xbf9870=[_0xd03d3d,_0x172a15];return window[_0x40162e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40162e([0x72,0x61,0x63,0x65])](_0xbf9870)[_0x40162e([0x74,0x68,0x65,0x6e])](()=>_0x10e78f);}(_0x40162e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0xe8217f&&_0x1ce550)return new window[(_0x40162e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e4c71,_0x1d3ab2)=>{_0xe8217f[_0x40162e([0x74,0x68,0x65,0x6e])](_0x4e4c71,_0x1d3ab2),_0x1ce550[_0x40162e([0x74,0x68,0x65,0x6e])](_0x23d3e8=>{_0x23d3e8!=_0x40162e([0x56,0x61,0x6c,0x69,0x64])&&_0x4e4c71(_0x23d3e8);},_0x1d3ab2);});return _0xe8217f||_0x1ce550||_0x40162e([0x56,0x61,0x6c,0x69,0x64]);}())):_0x40162e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40162e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40162e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40162e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4cefc3(_0x38817c){return _0x38817c[_0x40162e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40162e([0x65,0x79]))?JSON[_0x40162e([0x70,0x61,0x72,0x73,0x65])](_0x1655d4(_0x38817c)):null;}function _0x1655d4(_0x162b00){return window[_0x40162e([0x61,0x74,0x6f,0x62])](_0x162b00[_0x40162e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40162e([0x2b]))[_0x40162e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40162e([0x2f])));}function _0x49dc77(_0xd1db1c){let _0x37c6b8=0x1505;function _0x3bb03f(_0xddcca5){for(let _0xd7abce=0x0;_0xd7abce<_0xddcca5[_0x40162e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd7abce++){const _0x377360=_0xddcca5[_0x40162e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd7abce);_0x37c6b8=(_0x37c6b8<<0x5)+_0x37c6b8+_0x377360,_0x37c6b8&=_0x37c6b8;}}return function _0x395572(_0x1bc7a5){Array[_0x40162e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1bc7a5)?_0x1bc7a5[_0x40162e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x395572):_0x1bc7a5&&typeof _0x1bc7a5==_0x40162e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40162e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1bc7a5)[_0x40162e([0x73,0x6f,0x72,0x74])]()[_0x40162e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f7cc9,_0x176e1a])=>{_0x3bb03f(_0x4f7cc9),_0x395572(_0x176e1a);}):_0x3bb03f(window[_0x40162e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1bc7a5));}(_0xd1db1c),_0x37c6b8>>>0x0;}function _0x4b4fc3(_0x39d8c1){return _0x39d8c1[_0x40162e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40162e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40162e([0x30]));}function _0x38bdb8(_0x4f4da5){return _0x4f4da5[_0x40162e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40162e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40162e([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e4141(){}function _0x40162e(_0x26822e){return _0x26822e['map'](_0xdf508a=>String['fromCharCode'](_0xdf508a))['join']('');}!function(_0xdde206){const _0x494932=(function(){const _0x323696=window[_0x40162e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40162e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40162e([0x6e,0x6f,0x77])]())[_0x40162e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40162e([0x2e]),'');let _0x14c222=_0x40162e([0x75]);for(let _0x55811a=0x0;_0x55811a<_0x323696[_0x40162e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55811a+=0x2){let _0x5c7b8d=window[_0x40162e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x323696[_0x40162e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x55811a,_0x55811a+0x2));_0x5c7b8d>=_0x10b071[_0x40162e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c7b8d-=_0x10b071[_0x40162e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x14c222+=_0x10b071[_0x5c7b8d];}return _0x14c222;}());_0x5a2ab2[_0x494932]=_0x40162e([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xdde206,_0xdde206!=_0x40162e([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x3701e7,_0x5a2ab2[_0x40162e([0x6d,0x6f,0x64,0x65,0x6c])][_0x40162e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e4141,_0x5a2ab2[_0x40162e([0x6d,0x6f,0x64,0x65,0x6c])][_0x40162e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e4141,_0x5a2ab2[_0x40162e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40162e([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x3da219);}function getTranslation$9(_0x372c35,_0x5b1a97){const _0x366ac9=_0x372c35['t'],t=_0x372c35['t'];switch(_0x5b1a97){case'Start\x20at':return _0x366ac9('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x366ac9('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x366ac9('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x366ac9('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 _0x5b1a97;}}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(_0x43278c,{enabledProperties:_0x530abc,styleButtonViews:_0xe228b8,styleGridAriaLabel:_0x299de8}){super(_0x43278c);const _0x5378f4=['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'}}),_0x530abc['styles']?(this['stylesView']=this['_createStylesView'](_0xe228b8,_0x299de8),this['children']['add'](this['stylesView'])):_0x5378f4['push']('ck-multi-level-list-properties_without-styles'),_0x530abc['startIndex']&&(this['_addListPropertyViews'](_0x530abc),_0x5378f4['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x5378f4},'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 _0x21551a of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x21551a['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 _0x32bf10=_0x583541=>_0x583541['stopPropagation']();this['keystrokes']['set']('arrowright',_0x32bf10),this['keystrokes']['set']('arrowleft',_0x32bf10),this['keystrokes']['set']('arrowup',_0x32bf10),this['keystrokes']['set']('arrowdown',_0x32bf10);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x23ecb1,_0x39bb4b){const _0x49ab4d=new ckeditor5['View'](this['locale']);return _0x49ab4d['children']=_0x49ab4d['createCollection'](),_0x49ab4d['children']['addMany'](_0x23ecb1),_0x49ab4d['setTemplate']({'tag':'div','attributes':{'aria-label':_0x39bb4b,'class':['ck','ck-multi-level-list-styles']},'children':_0x49ab4d['children']}),_0x49ab4d['children']['delegate']('execute')['to'](this),_0x49ab4d['focus']=function(){this['children']['first']['focus']();},_0x49ab4d['focusTracker']=new ckeditor5['FocusTracker'](),_0x49ab4d['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0x49ab4d['render'](),_0x49ab4d['keystrokes']['listenTo'](_0x49ab4d['element']),_0x49ab4d;}['_addListPropertyViews'](_0x2ee530){const _0x85e272=[];_0x2ee530['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x85e272['push'](this['startIndexFieldView'])),_0x2ee530['styles']?(this['additionalPropertiesCollapsibleView']=new ckeditor5['CollapsibleView'](this['locale'],_0x85e272),this['additionalPropertiesCollapsibleView']['set']({'label':getTranslation$9(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x85e272,'isEnabled',(..._0xb49366)=>_0xb49366['some'](_0x360d5c=>_0x360d5c)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x4c4cb9,_0x11e81d,_0x1bff6d)=>{_0x1bff6d||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x85e272);}['_createStartIndexField'](){const _0x1a6817=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputNumber']);return _0x1a6817['set']({'label':getTranslation$9(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x1a6817['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1a6817['fieldView']['on']('input',()=>{const _0x3aefdb=_0x1a6817['fieldView']['element'],_0x3525e7=_0x3aefdb['valueAsNumber'];Number['isNaN'](_0x3525e7)?_0x1a6817['errorText']=getTranslation$9(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x3aefdb['checkValidity']()?this['fire']('listStart',{'startIndex':_0x3525e7}):_0x1a6817['errorText']=getTranslation$9(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x1a6817;}}class MultiLevelListUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2594c2=this['editor'];_0x2594c2['ui']['componentFactory']['add']('multiLevelList',getViewCreator({'editor':_0x2594c2,'parentCommandName':'multiLevelList','buttonLabel':getTranslation$9(_0x2594c2['locale'],'Multi-level\x20List'),'buttonIcon':ckeditor5['IconMultiLevelList'],'styleGridAriaLabel':getTranslation$9(_0x2594c2['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x2594c2['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x5017e3=_0x2594c2['commands']['get']('multiLevelList'),_0x1b0531=new ckeditor5['MenuBarMenuListItemButtonView'](_0x2594c2['locale']);return _0x1b0531['set']({'label':getTranslation$9(_0x2594c2['locale'],'Multi-level\x20List'),'icon':ckeditor5['IconMultiLevelList']}),_0x1b0531['bind']('isEnabled')['to'](_0x5017e3),_0x1b0531['bind']('isOn')['to'](_0x5017e3,'value',_0x2e42a0=>!!_0x2e42a0),_0x1b0531['on']('execute',()=>{_0x2594c2['execute']('multiLevelList'),_0x2594c2['editing']['view']['focus']();}),_0x1b0531;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x567f5d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x466756;for(const _0x2b38b8 in _0x567f5d){const _0x207f0b=_0x2b38b8,_0x4442ae=_0x567f5d[_0x207f0b];if('multiLevelListLicenseKeyValid'==_0x4442ae||'multiLevelListLicenseKeyInvalid'==_0x4442ae||'multiLevelListLicenseKeyExpired'==_0x4442ae||'multiLevelListLicenseKeyDomainLimit'==_0x4442ae||'multiLevelListLicenseKeyNotAllowed'==_0x4442ae||'multiLevelListLicenseKeyEvaluationLimit'==_0x4442ae||'multiLevelListLicenseKeyUsageLimit'==_0x4442ae){delete _0x567f5d[_0x207f0b],_0x466756=_0x4442ae,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x466756&&_0x567f5d['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x466756&&_0x567f5d['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x466756&&_0x567f5d['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x466756&&_0x567f5d['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x466756&&_0x567f5d['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x466756&&_0x567f5d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getViewCreator({editor:_0x57aa84,parentCommandName:_0x39591e,buttonLabel:_0x56c2d7,buttonIcon:_0x4ff228,styleGridAriaLabel:_0x44e53a,styleDefinitions:_0x5b8df0}){const _0x5b3dbd=_0x57aa84['commands']['get'](_0x39591e),_0x4d4854=_0x57aa84['config']['get']('list.properties')||{},_0x3b87e0=_0x57aa84['plugins']['has']('ListProperties'),_0x529629=_0x4d4854['startIndex'];return _0x3b87e0&&_0x529629?_0x298d60=>{const _0x45f3bb=ckeditor5['createDropdown'](_0x298d60,ckeditor5['SplitButtonView']),_0x19571b=_0x45f3bb['buttonView'];return _0x45f3bb['bind']('isEnabled')['to'](_0x5b3dbd),_0x45f3bb['class']='ck-list-styles-dropdown',_0x19571b['on']('execute',()=>{_0x57aa84['execute'](_0x39591e),_0x57aa84['editing']['view']['focus']();}),_0x19571b['set']({'label':_0x56c2d7,'icon':_0x4ff228,'tooltip':!0x0,'isToggleable':!0x0}),_0x19571b['bind']('isOn')['to'](_0x5b3dbd,'value',_0xb77773=>!!_0xb77773),_0x45f3bb['once']('change:isOpen',()=>{const _0x4c2088=createListPropertiesView({'editor':_0x57aa84,'dropdownView':_0x45f3bb,'styleGridAriaLabel':_0x44e53a,'styleDefinitions':_0x5b8df0});_0x45f3bb['panelView']['children']['add'](_0x4c2088);}),_0x45f3bb['on']('execute',()=>{_0x57aa84['editing']['view']['focus']();}),_0x45f3bb;}:_0x2af58d=>{const _0x3d23c6=new ckeditor5['ButtonView'](_0x2af58d);return _0x3d23c6['set']({'label':_0x56c2d7,'icon':_0x4ff228,'tooltip':!0x0,'isToggleable':!0x0}),_0x3d23c6['bind']('isOn')['to'](_0x5b3dbd,'value',_0x43a3a2=>!!_0x43a3a2),_0x3d23c6['on']('execute',()=>{_0x57aa84['execute'](_0x39591e),_0x57aa84['editing']['view']['focus']();}),_0x3d23c6;};}function createListPropertiesView({editor:_0x466b02,dropdownView:_0x4f026f,styleDefinitions:_0x148bfe,styleGridAriaLabel:_0x334c8a}){const _0x22c769=_0x466b02['locale'],_0x5d9b79=_0x466b02['config']['get']('list.properties');_0x5d9b79['reversed']=!0x1,_0x148bfe['length']||(_0x5d9b79['styles']=!0x1);const _0xca8c4b=new MultiLevelListView(_0x22c769,{'styleGridAriaLabel':_0x334c8a,'enabledProperties':_0x5d9b79,'styleButtonViews':null});if(_0x5d9b79['startIndex']){const _0xa1fa27=_0x466b02['commands']['get']('listStart');_0xca8c4b['startIndexFieldView']['bind']('isEnabled')['to'](_0xa1fa27),_0xca8c4b['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xa1fa27),_0xca8c4b['on']('listStart',(_0x4833e3,_0x35d7ba)=>_0x466b02['execute']('listStart',_0x35d7ba));}return _0xca8c4b['delegate']('execute')['to'](_0x4f026f),_0xca8c4b;}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 _0x440e4b=this['editor']['model'],_0x203c26=_0x440e4b['schema']['checkChild'](_0x440e4b['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x203c26;}['execute'](_0x589ab4){if(!_0x589ab4||'string'!=typeof _0x589ab4)return;const _0x35cea3=this['editor']['model'];_0x35cea3['change'](_0xfe62=>{_0x35cea3['deleteContent'](_0x35cea3['document']['selection']);const _0x161a1c=_0xfe62['createElement']('mergeField',{'id':_0x589ab4});for(const [_0x133d29,_0x426fba]of _0x35cea3['document']['selection']['getAttributes']())_0x35cea3['schema']['checkAttribute'](_0x161a1c,_0x133d29)&&_0xfe62['setAttribute'](_0x133d29,_0x426fba,_0x161a1c);_0x35cea3['insertContent'](_0x161a1c,_0x35cea3['document']['selection'],0x0,{'setSelection':'after'});});}}class InsertMergeFieldBlockCommand extends ckeditor5['Command']{['refresh'](){const _0x59c0a7=this['editor']['model'],_0x3230a4=_0x59c0a7['document']['selection'];this['isEnabled']=isAllowedInParent(_0x3230a4,_0x59c0a7);}['execute'](_0x26c000,_0x25c209){if(!_0x26c000||'string'!=typeof _0x26c000)return;const _0x820f61=this['editor']['model'];_0x820f61['change'](_0x454e97=>{const _0x2755cc=_0x454e97['createElement']('mergeFieldBlock',{'id':_0x26c000});_0x820f61['insertObject'](_0x2755cc,_0x820f61['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x25c209?void 0x0:'auto'});});}}function isAllowedInParent(_0x7f5b41,_0x2b1e08){let _0x14b783=ckeditor5['findOptimalInsertionRange'](_0x7f5b41,_0x2b1e08)['start']['parent'];return _0x14b783['isEmpty']&&!_0x2b1e08['schema']['isLimit'](_0x14b783)&&(_0x14b783=_0x14b783['parent']),_0x2b1e08['schema']['checkChild'](_0x14b783,'mergeFieldBlock');}class InsertMergeFieldImageCommand extends ckeditor5['Command']{constructor(_0x65c2ed){super(_0x65c2ed),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0x5ab7f2,_0x4496ee){if(!_0x5ab7f2||'string'!=typeof _0x5ab7f2)return;const _0x3f0ca5=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x42e587=_0x3f0ca5['getMergeFieldWidth'](_0x5ab7f2),_0x1401e0=_0x3f0ca5['getMergeFieldHeight'](_0x5ab7f2);this['editor']['execute']('insertImage',{'source':{'src':_0x3f0ca5['wrapInAffixes'](_0x5ab7f2),'width':_0x42e587,'height':_0x1401e0},'breakBlock':_0x4496ee&&_0x4496ee['breakBlock']});}}class _0x544807 extends ckeditor5['Command']{constructor(_0x3250fc){super(_0x3250fc);const _0x3127dd=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x3127dd,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x54d8ec){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x54d8ec;}}const _0x322d47=0x78,_0x214276=0x190,_0x3de88d=0x190,_0x401f29=/^[a-zA-Z0-9_.-]+$/;class MergeFieldsEditing extends ckeditor5['Plugin']{['availablePreviewModes'];['flattenedMergeFieldDefinitions']=[];['_mergeFieldElements'];['_mergeFieldPrefix'];['_mergeFieldSuffix'];['_mergeFieldRegExp'];['_shouldPreviewHtmlValues'];static get['requires'](){return[ckeditor5['ImageUtils'],ckeditor5['ImageEditing']];}static get['pluginName'](){return'MergeFieldsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x44fc7a){super(_0x44fc7a),_0x44fc7a['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x44fc7a['config']['define']('mergeFields.dataSets',[]),_0x44fc7a['config']['define']('mergeFields.definitions',[]),_0x44fc7a['config']['define']('mergeFields.prefix','{{'),_0x44fc7a['config']['define']('mergeFields.suffix','}}'),_0x44fc7a['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x44fc7a['config']['define']('mergeFields.sanitizeHtml',_0x711c18=>(ckeditor5['logWarning']('merge-fields-provide-sanitize-function'),{'html':_0x711c18,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x44fc7a['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x44fc7a['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x44fc7a['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0x3b0baf='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0x42840c='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0x3b0baf+'[^'+(_0x3b0baf+_0x42840c)+'\x20]+'+_0x42840c+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x1fc22b=_0x44fc7a['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x1fc22b),this['set']('previewMode',_0x1fc22b),this['_mergeFieldElements']=new Set();}['init'](){const _0x188748=this['editor'];_0x188748['commands']['add']('insertMergeField',new InsertMergeFieldCommand(_0x188748)),_0x188748['commands']['add']('insertMergeFieldBlock',new InsertMergeFieldBlockCommand(_0x188748)),_0x188748['commands']['add']('insertMergeFieldImage',new InsertMergeFieldImageCommand(_0x188748)),_0x188748['commands']['add']('previewMergeFields',new _0x544807(_0x188748)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x5de6e2,_0x219a40,_0x5d8c64)=>{this['_validatePreviewMode'](_0x5d8c64),this['refreshMergeFields']();}),this['listenTo'](_0x188748['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x188748['editing']['mapper']['on']('viewToModelPosition',ckeditor5['viewToModelPositionOutsideModelElement'](_0x188748['model'],_0x222aba=>_0x222aba['hasClass']('ck-merge-field'))),_0x188748['editing']['mapper']['on']('viewToModelPosition',ckeditor5['viewToModelPositionOutsideModelElement'](_0x188748['model'],_0x2cd384=>_0x2cd384['hasClass']('ck-merge-field-block'))),_0x188748['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),_0x1b0f7e(this);}['isMergeField'](_0x564b3b){return'mergeField'===_0x564b3b['name']||'mergeFieldBlock'===_0x564b3b['name']||!!('imageBlock'===_0x564b3b['name']||'imageInline'===_0x564b3b['name']&&_0x564b3b['getAttribute']('src'))&&!!_0x564b3b['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0x5304b4={},_0x5762f2=this['getMergeFieldsIds']();for(const _0x32a69f of _0x5762f2)_0x5304b4[_0x32a69f]=this['getMergeFieldDefaultValue'](_0x32a69f);return _0x5304b4;}['getDataSetValues'](_0x59b225,_0x2b8c22=!0x1){const _0x24e3e0={},_0x54db1a=this['getMergeFieldsIds']();for(const _0x23fc5f of _0x54db1a){let _0x2d0786=this['getMergeFieldValue'](_0x23fc5f,_0x59b225);null===_0x2d0786&&_0x2b8c22&&(_0x2d0786=this['getMergeFieldDefaultValue'](_0x23fc5f)),_0x24e3e0[_0x23fc5f]=_0x2d0786;}return _0x24e3e0;}['getLabel'](_0x53f556){const _0x18d0ff=this['getDefinition'](_0x53f556);return _0x18d0ff&&_0x18d0ff['label']?_0x18d0ff['label']:null;}['getMergeFieldDefaultValue'](_0x4333cb){const _0x4aacb1=this['getDefinition'](_0x4333cb);if(!_0x4aacb1||void 0x0===_0x4aacb1['defaultValue'])return null;const _0x3f38d3='function'==typeof _0x4aacb1['defaultValue']?_0x4aacb1['defaultValue'](this['editor']):_0x4aacb1['defaultValue'];return String(_0x3f38d3);}['getMergeFieldValue'](_0x3fde0e,_0x1ea07b){const _0x294cb4=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x5e57a9=>_0x5e57a9['id']===_0x1ea07b);if(!_0x294cb4)throw new ckeditor5['CKEditorError']('merge-fields-data-set-not-found',null);const _0x39adf8=_0x294cb4['values'][_0x3fde0e];if(void 0x0===_0x39adf8)return null;const _0x5d965b='function'==typeof _0x39adf8?_0x39adf8(this['editor']):_0x39adf8;return String(_0x5d965b);}['getMergeFieldType'](_0x217dab){if('string'!=typeof _0x217dab){const _0x50176c=_0x217dab;return'mergeField'===_0x50176c['name']?'text':'mergeFieldBlock'===_0x50176c['name']?'block':'imageBlock'!==_0x50176c['name']&&'imageInline'!==_0x50176c['name']||!_0x50176c['getAttribute']('src')?null:_0x50176c['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x45160c=this['getDefinition'](_0x217dab);return _0x45160c&&_0x45160c['type']?_0x45160c['type']:'text';}['getMergeFieldHeight'](_0x25409d){const _0x1e55df=this['getDefinition'](_0x25409d);return _0x1e55df&&'block'===_0x1e55df['type']?_0x1e55df['height']||_0x322d47:_0x1e55df&&'image'===_0x1e55df['type']?_0x1e55df['height']||_0x214276:null;}['getMergeFieldWidth'](_0xde0d1b){const _0x1ef38f=this['getDefinition'](_0xde0d1b);return _0x1ef38f&&'image'===_0x1ef38f['type']?_0x1ef38f['width']||_0x3de88d:null;}['getDocumentMergeFieldsIds'](){const _0x2546cd=new Set();for(const _0x571a22 of this['_mergeFieldElements'])'$graveyard'!==_0x571a22['root']['rootName']&&('image'===this['getMergeFieldType'](_0x571a22)?_0x2546cd['add'](this['unwrapAffixes'](_0x571a22['getAttribute']('src'))):_0x2546cd['add'](_0x571a22['getAttribute']('id')));return Array['from'](_0x2546cd);}['getMergeFieldsIds'](){const _0x4e2d39=this['flattenedMergeFieldDefinitions']['map'](_0x481056=>_0x481056['id']),_0x4fabe6=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x4e2d39,..._0x4fabe6]));}['getDefinition'](_0x533461){return this['flattenedMergeFieldDefinitions']['find'](_0x206dd7=>_0x206dd7['id']===_0x533461)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x1f6540=>{'$graveyard'!==_0x1f6540['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x1f6540);});}['wrapInAffixes'](_0x17afc1){return this['_mergeFieldPrefix']+_0x17afc1+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x2407b0){return _0x2407b0['slice'](this['_mergeFieldPrefix']['length'],_0x2407b0['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x5a5c47=new Set(),_0x498e57=this['editor'];return _0x498e57['config']['get']('mergeFields.definitions')['reduce']((_0x108b4b,_0x5cb45e)=>{if('groupId'in _0x5cb45e){if(_0x5a5c47['has'](_0x5cb45e['groupId']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-group-id',_0x498e57,{'duplicateId':_0x5cb45e['groupId']});_0x5a5c47['add'](_0x5cb45e['groupId']);}return'groupId'in _0x5cb45e?function(_0x54638a,_0x353b7){for(const _0xc4b5e3 of _0x353b7['definitions'])_0x54638a=_0x54638a['concat'](_0xc4b5e3);return _0x54638a;}['bind'](_0x498e57)(_0x108b4b,_0x5cb45e):_0x108b4b['concat'](_0x5cb45e);},new Array());}['_validateConfig'](){const _0x435109=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x435109['test'](this['_mergeFieldPrefix'])||!_0x435109['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 _0x14076c=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x1c4bf0=>{if(!_0x401f29['test'](_0x1c4bf0['id']))throw new ckeditor5['CKEditorError']('merge-fields-invalid-id',this,{'incorrectId':_0x1c4bf0['id']});if(_0x14076c['has'](_0x1c4bf0['id']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x1c4bf0['id']});_0x14076c['add'](_0x1c4bf0['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new ckeditor5['CKEditorError']('merge-fields-prefix-and-suffix-must-differ',this);const _0x4a1648=this['editor']['config']['get']('mergeFields.previewModes'),_0x29e9e5=['$labels','$defaultValues','$dataSets'];if(!_0x4a1648['length']||!_0x4a1648['every'](_0x32df01=>_0x29e9e5['includes'](_0x32df01)))throw new ckeditor5['CKEditorError']('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0x4a1648});const _0x5221e3=new Set(),_0x5ea339=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x3dcbc5 of _0x5ea339){if(_0x5221e3['has'](_0x3dcbc5['id']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x3dcbc5['id']});_0x5221e3['add'](_0x3dcbc5['id']);}}['_getAvailablePreviewModes'](){const _0xe7a2e0=this['editor']['config']['get']('mergeFields.previewModes'),_0x597110=[];if(_0xe7a2e0['includes']('$labels')&&_0x597110['push']('$labels'),_0xe7a2e0['includes']('$defaultValues')&&_0x597110['push']('$defaultValues'),_0xe7a2e0['includes']('$dataSets')){const _0xf75f4f=this['editor']['config']['get']('mergeFields.dataSets');_0x597110['push'](..._0xf75f4f['map'](_0x868907=>_0x868907['id']));}return _0x597110;}['_defineSchema'](){const _0x2e7480=this['editor']['model']['schema'];_0x2e7480['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x2e7480['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0x335146=this['editor']['conversion'];_0x335146['for']('upcast')['add'](_0x33bd0a=>{_0x33bd0a['on']('text',(_0x3c49af,_0x54cd0b,_0x424d80)=>{const {writer:_0x12b48b,safeInsert:_0x5400da}=_0x424d80,{viewItem:_0xfe36cd}=_0x54cd0b,_0x4fd483=_0xfe36cd['data']['split'](this['_mergeFieldRegExp'])['filter'](_0x7bf80d=>_0x7bf80d);if(0x1===_0x4fd483['length']&&!_0x4fd483[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x54cd0b['modelRange'])return;const _0x3645c7=_0x12b48b['createElement']('$cursor');_0x12b48b['insert'](_0x3645c7,_0x54cd0b['modelCursor']);const _0x2db29e=[];for(const _0x4269bb of _0x54cd0b['modelRange']['getItems']()){if(!_0x4269bb['is']('$textProxy'))continue;const _0x3900dd=_0x4269bb['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x200174=_0x4269bb['parent'],_0x2d60fd=_0x4269bb['textNode']['startOffset'];for(const _0x1d6d83 of[..._0x3900dd]['reverse']()){const _0x277006=_0x1d6d83[0x0],_0x500c01=_0x12b48b['createPositionAt'](_0x200174,_0x1d6d83['index']+_0x2d60fd),_0x121c32=_0x500c01['getShiftedBy'](_0x277006['length']),_0x2da222=_0x12b48b['createRange'](_0x500c01,_0x121c32),_0x50b792=this['unwrapAffixes'](_0x277006),_0x26f0c5=this['getMergeFieldType'](_0x50b792),_0x5ea50b='block'==_0x26f0c5?'mergeFieldBlock':'mergeField',_0x5c2a9c=_0x12b48b['createElement'](_0x5ea50b,{'id':_0x50b792});_0x12b48b['remove'](_0x2da222),_0x12b48b['insert'](_0x5c2a9c,_0x500c01),'block'==_0x26f0c5&&_0x2db29e['push'](_0x5c2a9c);}}_0x2db29e['reverse']();for(const _0x5159a0 of _0x2db29e){const _0x4be06d=_0x12b48b['createPositionBefore'](_0x5159a0),_0x35e5f4=_0x5159a0['nextSibling']==_0x3645c7;_0x12b48b['remove'](_0x5159a0),_0x5400da(_0x5159a0,_0x4be06d)&&_0x35e5f4&&_0x12b48b['move'](_0x12b48b['createRangeOn'](_0x3645c7),_0x12b48b['createPositionAfter'](_0x5159a0));}_0x54cd0b['modelCursor']=_0x12b48b['createPositionBefore'](_0x3645c7),_0x54cd0b['modelRange']=_0x12b48b['createRange'](_0x54cd0b['modelRange']['start'],_0x54cd0b['modelCursor']),_0x12b48b['remove'](_0x3645c7);},{'priority':ckeditor5['priorities']['get']('lowest')-0x1});}),_0x335146['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0x1476ae,{writer:_0x3d298e})=>_0x3d298e['createElement']('mergeField',{'id':_0x1476ae['getAttribute']('data-ck-merge-field')})}),_0x335146['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x49b284,{writer:_0x330246})=>_0x330246['createElement']('mergeFieldBlock',{'id':_0x49b284['getAttribute']('data-ck-merge-field')})}),_0x335146['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0x335146['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x423208,{writer:_0xb41273})=>this['_createMergeFieldWidget'](_0x423208,_0xb41273,'text')}),_0x335146['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x3653f7,{writer:_0x12a3b8,options:_0x40dcca})=>this['_createTextualMergeField'](_0x3653f7,_0x12a3b8,_0x40dcca)}),_0x335146['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x3024f9,{writer:_0x44ec89})=>this['_createMergeFieldWidget'](_0x3024f9,_0x44ec89,'block')}),_0x335146['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x5554ac,{writer:_0x357ae0,options:_0xc2d834})=>this['_createTextualMergeField'](_0x5554ac,_0x357ae0,_0xc2d834)}),_0x335146['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0x335146['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x383053=>{_0x383053['on']('element:img',(_0x5cb23f,_0x3c2cff,_0x1cbb89)=>{_0x1cbb89['consumable']['test'](_0x3c2cff['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x1cbb89['writer']['setAttribute']('src',this['wrapInAffixes'](_0x3c2cff['viewItem']['getAttribute']('data-ck-merge-field')),_0x3c2cff['modelCursor']['nodeBefore']),_0x1cbb89['consumable']['consume'](_0x3c2cff['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x30733d){const _0x28a8b9=this['editor']['plugins']['get'](ckeditor5['ImageUtils']),_0x2449af=(_0x53bbcd,_0x4256f3,_0x4788b2)=>{if(!0x1!==_0x4788b2['consumable']['test'](_0x4256f3['item'],_0x53bbcd['name']))return;if(!String(_0x4256f3['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x39639c=_0x4788b2['writer'],_0xf61e86=_0x4788b2['mapper']['toViewElement'](_0x4256f3['item']),_0x3b412b=_0x28a8b9['findViewImgElement'](_0xf61e86),_0x215438=String(_0x4256f3['attributeNewValue']),_0x1c3f06=this['unwrapAffixes'](_0x215438),_0x308b9a=_0x4788b2['options']['mergeFieldsData'];if(_0x4788b2['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x4e459a;return _0x4e459a='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x1c3f06)||this['getLabel'](_0x1c3f06)||this['wrapInAffixes'](_0x1c3f06):this['getMergeFieldValue'](_0x1c3f06,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x1c3f06)||this['getLabel'](_0x1c3f06)||this['wrapInAffixes'](_0x1c3f06),_0x39639c['setAttribute']('data-ck-merge-field',_0x1c3f06,_0x3b412b),void _0x39639c['setAttribute'](_0x4256f3['attributeKey'],_0x4e459a,_0x3b412b);}const _0x72bd0e=_0x308b9a&&_0x308b9a[_0x1c3f06]?_0x308b9a[_0x1c3f06]:_0x215438;_0x39639c['setAttribute'](_0x4256f3['attributeKey'],_0x72bd0e,_0x3b412b);};return _0x15f938=>{_0x15f938['on']('attribute:src:'+_0x30733d,_0x2449af,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0x5cda56){const _0x130a77=this['editor']['plugins']['get'](ckeditor5['ImageUtils']),_0x2996b4=(_0x584cf0,_0x1d5838,_0x11983b)=>{if(!0x1!==_0x11983b['consumable']['test'](_0x1d5838['item'],_0x584cf0['name']))return;if(!String(_0x1d5838['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x5422e2=_0x11983b['writer'],_0x3a66de=_0x11983b['mapper']['toViewElement'](_0x1d5838['item']),_0x34a7bd=_0x130a77['findViewImgElement'](_0x3a66de),_0x1f5f46=String(_0x1d5838['attributeNewValue']),_0x2b455f=this['unwrapAffixes'](_0x1f5f46),_0x10e860=this['getMergeFieldDefaultValue'](_0x2b455f),_0x233bd0='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x52a813,_0x37a1ff='',_0x11f3b5='';if('$labels'===this['previewMode'])_0x52a813=_0x233bd0;else{if('$defaultValues'===this['previewMode'])_0x10e860?(_0x52a813=_0x10e860,_0x11f3b5='\x20ck-merge-field-image_with-value'):(_0x52a813=_0x233bd0,_0x37a1ff='WARNING_MISSING_DEFAULT_VALUE',_0x11f3b5='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x2e2a29=this['getMergeFieldValue'](_0x2b455f,this['previewMode']);_0x2e2a29?(_0x52a813=_0x2e2a29,_0x11f3b5='\x20ck-merge-field-image_with-value'):_0x10e860?(_0x52a813=_0x10e860,_0x11f3b5='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0x37a1ff='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x52a813=_0x233bd0,_0x11f3b5='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0x37a1ff='WARNING_MISSING_DATA');}}if(_0x5422e2['addClass']('ck-merge-field-image'+_0x11f3b5,_0x3a66de),_0x5422e2['setAttribute'](_0x1d5838['attributeKey'],_0x52a813,_0x34a7bd),'$labels'===this['previewMode']){const _0xdc5577='imageInline'===_0x5cda56?'span':'div',_0x1fd112=this['_mergeFieldPrefix'],_0x3719dd=this['_mergeFieldSuffix'],_0x115fca=_0x5422e2['createContainerElement'](_0xdc5577,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0x5422e2['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x41eac4){const _0x4ccf06=this['toDomElement'](_0x41eac4);return _0x4ccf06['innerHTML']=_0x1fd112,_0x4ccf06;}),_0x5422e2['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x5422e2['createText'](this['getLabel'](_0x2b455f)||_0x2b455f)),_0x5422e2['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x42b42b){const _0x56efe9=this['toDomElement'](_0x42b42b);return _0x56efe9['innerHTML']=_0x3719dd,_0x56efe9;})]);_0x5422e2['insert'](_0x5422e2['createPositionAt'](_0x3a66de,'end'),_0x115fca),_0x5422e2['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x2b455f)||_0x2b455f,_0x115fca);}else{if(_0x37a1ff&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x37a1ff)){const _0x343290='imageInline'===_0x5cda56?'span':'div',_0x132b27=_0x11f3b5['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x55fb9e=_0x5422e2['createContainerElement'](_0x343290,{'class':'ck-merge-field'+_0x132b27,'data-cke-tooltip-instant':'true'},[_0x5422e2['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x5422e2['createText'](this['getLabel'](_0x2b455f)||_0x2b455f))]),_0x55902b=_0x5422e2['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x44432d){const _0x4bd839=this['toDomElement'](_0x44432d),_0x2c3cd0=new ckeditor5['IconView']();return _0x2c3cd0['set']({'content':ckeditor5['IconWarning']}),_0x2c3cd0['render'](),_0x4bd839['appendChild'](_0x2c3cd0['element']),_0x4bd839;});_0x5422e2['insert'](_0x5422e2['createPositionAt'](_0x55fb9e,'end'),_0x55902b),_0x5422e2['insert'](_0x5422e2['createPositionAt'](_0x3a66de,'end'),_0x55fb9e),_0x5422e2['setCustomProperty']('mergeFieldStatus',_0x37a1ff,_0x55fb9e),_0x5422e2['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x2b455f)||_0x2b455f,_0x55fb9e);}}_0x5422e2['setAttribute']('data-merge-field-name',_0x2b455f,_0x3a66de),_0x37a1ff&&_0x5422e2['setCustomProperty']('mergeFieldStatus',_0x37a1ff,_0x3a66de);};return _0x532b2b=>{_0x532b2b['on']('attribute:src:'+_0x5cda56,_0x2996b4,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0x2b8bb6,_0x1b4eee){if(!_0x1b4eee['target'])return null;const _0x109440=_0x1b4eee['target']['parentElement'];return _0x109440&&_0x109440['classList']['contains']('ck-merge-field-image')?new ckeditor5['ResizeObserver'](_0x109440,_0x2886f4=>{const _0x66c12d=_0x2886f4['target'],_0x2a811e=_0x66c12d['querySelector']('.ck-merge-field'),_0x544658=_0x66c12d['querySelector']('.ck-merge-field__content');_0x2a811e&&_0x544658&&(_0x544658['scrollWidth']>_0x544658['getBoundingClientRect']()['width']?_0x2a811e['removeAttribute']('data-cke-tooltip-disabled'):_0x2a811e['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x2db4f9,_0x448458,_0x50bdd5){const {label:_0x3a96be,classes:_0x85301f,status:_0x32154d,height:_0x18c2bc}=this['_prepareViewElementData'](_0x2db4f9),_0x2fb1c4=this['_mergeFieldPrefix'],_0x4f44cd=this['_mergeFieldSuffix'],_0x42fa16=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x508738='text'===_0x50bdd5?'span':'div';let _0xf0875d;if('$labels'===this['previewMode'])_0xf0875d=_0x448458['createContainerElement'](_0x508738,{'class':_0x85301f},[_0x448458['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x481540){const _0x152228=this['toDomElement'](_0x481540);return _0x152228['innerHTML']=_0x2fb1c4,_0x152228;}),_0x448458['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x448458['createText'](String(_0x3a96be))),_0x448458['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x291c79){const _0x3952f0=this['toDomElement'](_0x291c79);return _0x3952f0['innerHTML']=_0x4f44cd,_0x3952f0;})]);else{if(_0x32154d){const _0x1fbcbe=this['_shouldPreviewHtmlValues']?_0x448458['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x47afe0,_0x270369){_0x270369['setContentOf'](_0x47afe0,_0x42fa16(_0x3a96be)['html']);}):_0x448458['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x448458['createText'](_0x3a96be));if(_0xf0875d=_0x448458['createContainerElement'](_0x508738,{'class':_0x85301f},[_0x1fbcbe]),'text'===_0x50bdd5||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x32154d)){const _0x254cb5=_0x448458['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x518d04){const _0x280bee=this['toDomElement'](_0x518d04),_0x8eab4=new ckeditor5['IconView']();return _0x8eab4['set']({'content':ckeditor5['IconWarning']}),_0x8eab4['render'](),_0x280bee['appendChild'](_0x8eab4['element']),_0x280bee;});_0x448458['insert'](_0x448458['createPositionAt'](_0xf0875d,'end'),_0x254cb5);}_0x448458['setCustomProperty']('mergeFieldStatus',_0x32154d,_0xf0875d);}else{const _0x41da84=this['_shouldPreviewHtmlValues']?_0x448458['createRawElement'](_0x508738,{},function(_0xe8052d,_0x2a09f2){_0x2a09f2['setContentOf'](_0xe8052d,_0x42fa16(_0x3a96be)['html']);}):_0x448458['createText'](_0x3a96be);_0xf0875d=_0x448458['createContainerElement'](_0x508738,{'class':_0x85301f},_0x41da84);}}if('block'===_0x50bdd5){const _0x2cb362=_0x448458['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0xf0875d]);if(('$labels'===this['previewMode']||_0x32154d&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x32154d))&&_0x448458['setAttribute']('style','height:\x20'+_0x18c2bc+'px',_0x2cb362),_0xf0875d['hasClass']('ck-merge-field_with-value'))_0x448458['addClass']('ck-merge-field-block_with-value',_0x2cb362);else{if(_0xf0875d['hasClass']('ck-merge-field_with-warning')){for(const _0x70147f of _0xf0875d['getClassNames']())if('ck-merge-field'!==_0x70147f){const _0x37c00c=_0x70147f['replace']('ck-merge-field','ck-merge-field-block');_0x448458['addClass'](_0x37c00c,_0x2cb362);}_0x448458['setCustomProperty']('mergeFieldStatus',_0x32154d,_0x2cb362);}}return _0x448458['setCustomProperty']('mergeFieldBlock',!0x0,_0x2cb362),_0x448458['setAttribute']('data-merge-field-name',_0x2db4f9['getAttribute']('id'),_0x2cb362),ckeditor5['toWidget'](_0x2cb362,_0x448458,{'hasSelectionHandle':!0x0});}return _0x448458['setCustomProperty']('mergeField',!0x0,_0xf0875d),_0x448458['setAttribute']('data-merge-field-name',_0x2db4f9['getAttribute']('id'),_0xf0875d),ckeditor5['toWidget'](_0xf0875d,_0x448458);}['_prepareViewElementData'](_0x2860b4){const _0x4ab203=_0x2860b4['getAttribute']('id'),_0x23972d=this['getDefinition'](_0x4ab203);if(!_0x23972d)return'$labels'===this['previewMode']?{'label':_0x4ab203,'classes':'ck-merge-field'}:{'label':_0x4ab203,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x1711c9=this['getLabel'](_0x4ab203)||_0x4ab203,_0x24b689=this['getMergeFieldDefaultValue'](_0x4ab203),_0x24dfeb=this['getMergeFieldHeight'](_0x4ab203);if('$labels'===this['previewMode'])return{'label':_0x1711c9,'height':_0x24dfeb,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x24b689?{'label':_0x24b689,'height':_0x24dfeb,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x1711c9,'height':_0x24dfeb,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x36a5b5=this['getMergeFieldValue'](_0x23972d['id'],this['previewMode']);return _0x36a5b5?{'label':_0x36a5b5,'height':_0x24dfeb,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x24b689?{'label':_0x24b689,'height':_0x24dfeb,'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':_0x1711c9,'height':_0x24dfeb,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0x209192,_0x5a1d43,_0x554a5b){const _0x47c763=_0x209192['getAttribute']('id');let _0x404bfc;if(_0x554a5b['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x47c763,_0x5a1d43);const _0x29a6c0=_0x554a5b['mergeFieldsData'],_0x21cc93=_0x29a6c0&&_0x29a6c0[_0x47c763]?_0x29a6c0[_0x47c763]:this['wrapInAffixes'](_0x47c763);if(_0x29a6c0)_0x404bfc=_0x5a1d43['createRawElement']('span',{},function(_0xc97c41,_0x59f3eb){_0x59f3eb['setContentOf'](_0xc97c41,String(_0x21cc93));});else{_0x404bfc=_0x5a1d43['createContainerElement']('span');const _0x30fb56=_0x5a1d43['createText'](_0x21cc93);_0x5a1d43['insert'](_0x5a1d43['createPositionAt'](_0x404bfc,'end'),_0x30fb56);}return _0x5a1d43['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x404bfc),_0x404bfc;}['_downcastForClipboard'](_0x5e07df,_0x4e9c4d){const _0x5ba7bd='block'===this['getMergeFieldType'](_0x5e07df)?'div':'span';let _0x50b649,_0x4c9771;_0x50b649='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x5e07df)||this['getLabel'](_0x5e07df)||this['wrapInAffixes'](_0x5e07df):this['getMergeFieldValue'](_0x5e07df,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x5e07df)||this['getLabel'](_0x5e07df)||this['wrapInAffixes'](_0x5e07df);const _0x19e884=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x4c9771=this['_shouldPreviewHtmlValues']?_0x4e9c4d['createRawElement'](_0x5ba7bd,{'data-ck-merge-field':_0x5e07df},function(_0x38247a,_0x1889af){_0x1889af['setContentOf'](_0x38247a,_0x19e884(_0x50b649)['html']);}):_0x4e9c4d['createContainerElement'](_0x5ba7bd,{'data-ck-merge-field':_0x5e07df},_0x4e9c4d['createText'](_0x50b649)),_0x4c9771;}['_validatePreviewMode'](_0x1dce10){if(!this['availablePreviewModes']['includes'](_0x1dce10))throw new ckeditor5['CKEditorError']('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x1dce10});}['_trackAddedMergeFields'](){for(const _0x100d9b of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x100d9b['type']||'$text'===_0x100d9b['name'])continue;if('mergeField'===_0x100d9b['name']||'mergeFieldBlock'===_0x100d9b['name']){this['_mergeFieldElements']['add'](_0x100d9b['position']['nodeAfter']);continue;}if('imageInline'===_0x100d9b['name']||'imageBlock'===_0x100d9b['name']&&_0x100d9b['attributes']['get']('src')&&String(_0x100d9b['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x100d9b['position']['nodeAfter']);continue;}const _0x1ab4f9=this['editor']['model']['createRangeIn'](_0x100d9b['position']['nodeAfter']);for(const _0x39140b of _0x1ab4f9['getItems']())_0x39140b['is']('element')&&this['isMergeField'](_0x39140b)&&this['_mergeFieldElements']['add'](_0x39140b);}}['_registerConversionPostFixer'](){const _0x24fda0=this['editor'];_0x24fda0['model']['document']['registerPostFixer'](_0xe0d747=>{if(!_0xe0d747['batch']['isLocal'])return!0x1;const _0x2aa260=[],_0x4e7cc7=new Set(),_0x1686cc=this['_mergeFieldRegExp'];let _0x404784=!0x1;for(const _0x3107af of _0x24fda0['model']['document']['differ']['getChanges']())if('insert'===_0x3107af['type']||'remove'===_0x3107af['type']){let _0x4970ef='$text'==_0x3107af['name']?_0x3107af['position']['parent']:_0x3107af['position']['nodeAfter'];if(!_0x4970ef)continue;_0x4970ef['is']('$text')&&(_0x4970ef=_0x4970ef['parent']),_0x5c3309(_0x4970ef);}for(const _0x30a3ea of _0x2aa260['reverse']()){const {match:_0x5c88dd,item:_0xa2aa4e}=_0x30a3ea,_0x5eca24=_0xe0d747['createPositionAt'](_0xa2aa4e,_0x5c88dd['index']),_0x4103de=_0x5eca24['getShiftedBy'](_0x5c88dd[0x0]['length']),_0x4a8a18=_0xe0d747['createRange'](_0x5eca24,_0x4103de),_0x3418f0=_0x5c88dd[0x0],_0x43881d=this['unwrapAffixes'](_0x3418f0),_0x40a2a=_0x1aca54(_0x4a8a18),_0x1fabe0=this['getMergeFieldType'](_0x43881d);if(_0x401f29['test'](_0x43881d)){if(_0x40a2a['set']('id',_0x43881d),'block'===_0x1fabe0){const _0x49cc40=_0xe0d747['createElement']('mergeFieldBlock',{'id':_0x43881d});_0xe0d747['remove'](_0x4a8a18),_0x24fda0['model']['insertObject'](_0x49cc40,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0x1fabe0){const _0x4b3278=_0xe0d747['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0x43881d)});_0xe0d747['remove'](_0x4a8a18),_0x24fda0['model']['insertObject'](_0x4b3278,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x1d4f6b=_0xe0d747['createElement']('mergeField',_0x40a2a);_0x24fda0['model']['schema']['checkChild'](_0x4a8a18['start'],'mergeField')?_0x24fda0['model']['insertObject'](_0x1d4f6b,_0x4a8a18):_0xe0d747['remove'](_0x4a8a18);}}_0x404784=!0x0;}}return _0x404784;function _0x5c3309(_0x583947){let _0x7c6327='',_0x1c7b54=0x0;if(!_0x4e7cc7['has'](_0x583947))for(const _0x56a501 of _0x583947['getChildren']()){const _0x1c402a=_0x56a501['nextSibling'];if(_0x56a501['is']('$text')&&(''===_0x7c6327&&_0x56a501['startOffset']&&(_0x1c7b54=_0x56a501['startOffset']),_0x7c6327+=_0x56a501['data']),!_0x1c402a||_0x1c402a['is']('element')){for(const _0x1dfd10 of _0x7c6327['matchAll'](_0x1686cc))_0x1dfd10['index']=_0x1dfd10['index']+_0x1c7b54,_0x2aa260['push']({'match':_0x1dfd10,'item':_0x583947});_0x4e7cc7['add'](_0x583947),_0x7c6327='';}_0x56a501['is']('element')&&_0x5c3309(_0x56a501);}}function _0x1aca54(_0x15270e){const _0x2b7b9b=_0x15270e['getItems'](),_0x1e4306=_0x2b7b9b['next']()['value'],_0x1df611=new Map(_0x1e4306['getAttributes']());for(const _0x177fad of _0x2b7b9b)for(const [_0x4c822c,_0x3990e6]of _0x1df611)_0x177fad['getAttribute'](_0x4c822c)!==_0x3990e6&&_0x1df611['delete'](_0x4c822c);return _0x1df611;}});}['_disableCommandOnMergeFields'](_0x50b16a){const _0x427ffa=this['editor'],_0x12d7f7=_0x427ffa['commands']['get'](_0x50b16a);_0x12d7f7&&_0x12d7f7['on']('set:isEnabled',(_0x2bda11,_0x546839,_0x5c178a)=>{if(0x1==_0x5c178a){const _0x3d59b9=_0x427ffa['model']['document']['selection']['getSelectedElement']();_0x3d59b9&&this['isMergeField'](_0x3d59b9)&&(_0x2bda11['return']=!0x1,_0x2bda11['stop']());}});}}async function _0x1b0f7e(_0x559e8b){const _0x18c4cc=_0x38bcc5([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]),_0x59c747=window[_0x38bcc5([0x44,0x61,0x74,0x65])][_0x38bcc5([0x6e,0x6f,0x77])](),_0x4a43db=_0x559e8b[_0x38bcc5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1dbdd8=new window[(_0x38bcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x882561=>{_0x4a43db[_0x38bcc5([0x6f,0x6e,0x63,0x65])](_0x38bcc5([0x72,0x65,0x61,0x64,0x79]),_0x882561);}),_0x253472={[_0x38bcc5([0x6b,0x74,0x79])]:_0x38bcc5([0x45,0x43]),[_0x38bcc5([0x75,0x73,0x65])]:_0x38bcc5([0x73,0x69,0x67]),[_0x38bcc5([0x63,0x72,0x76])]:_0x38bcc5([0x50,0x2d,0x32,0x35,0x36]),[_0x38bcc5([0x78])]:_0x38bcc5([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]),[_0x38bcc5([0x79])]:_0x38bcc5([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]),[_0x38bcc5([0x61,0x6c,0x67])]:_0x38bcc5([0x45,0x53,0x32,0x35,0x36])},_0x9dd5f8=_0x4a43db[_0x38bcc5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38bcc5([0x67,0x65,0x74])](_0x38bcc5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1ad8d4=await(async function(){let _0x57ff34,_0xaaf47d=null,_0xc0ca55=null;try{if(_0x9dd5f8==_0x38bcc5([0x47,0x50,0x4c]))return _0x38bcc5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x57ff34=(function(){const _0x36f8c1=_0x9dd5f8[_0x38bcc5([0x73,0x70,0x6c,0x69,0x74])](_0x38bcc5([0x2e]));if(0x3!=_0x36f8c1[_0x38bcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x202591=_0x36f8c1[0x1];return _0xf61800(_0x202591);function _0xf61800(_0x5df11a){const _0xf4e7be=_0xdebbf8(_0x5df11a);return _0xf4e7be&&_0x3fcfdc()?_0xf4e7be:null;function _0x3fcfdc(){const _0x4a3304=_0xf4e7be[_0x38bcc5([0x6a,0x74,0x69])],_0x46645b=window[_0x38bcc5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a3304[_0x38bcc5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a3304[_0x38bcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40f2d4={..._0xf4e7be,[_0x38bcc5([0x6a,0x74,0x69])]:_0x4a3304[_0x38bcc5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4a3304[_0x38bcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40f2d4[_0x38bcc5([0x76,0x63])],_0x432fa4(_0x40f2d4)==_0x46645b;}}}()),!_0x57ff34)return _0x38bcc5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x57ff34[_0x38bcc5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc0ca55=function(_0x4e83c0,_0xd630b9){return new window[(_0x38bcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x181e00=>{if(_0x790196())return _0x181e00(_0x38bcc5([0x56,0x61,0x6c,0x69,0x64]));_0x3a70ea(),_0x4a43db[_0x38bcc5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38bcc5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x472b7f=!0x1;const _0x340557=ckeditor5['uid']();function _0x22642c(_0x3f94ef){return!!_0x3f94ef&&(typeof _0x3f94ef===_0x38bcc5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f94ef===_0x38bcc5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f94ef[_0x38bcc5([0x74,0x68,0x65,0x6e])]===_0x38bcc5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f94ef[_0x38bcc5([0x63,0x61,0x74,0x63,0x68])]===_0x38bcc5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51c52c(_0x2f5d2d){_0x46a934(_0x2f5d2d)[_0x38bcc5([0x74,0x68,0x65,0x6e])](_0x46abb3=>{if(!_0x46abb3||_0x46abb3[_0x38bcc5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38bcc5([0x6f,0x6b]))return _0x38bcc5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d8a0a(_0x432fa4(_0x340557+_0xd630b9))!=_0x46abb3[_0x38bcc5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38bcc5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38bcc5([0x56,0x61,0x6c,0x69,0x64]);})[_0x38bcc5([0x74,0x68,0x65,0x6e])](_0x8a0484=>(_0x256e41(),_0x8a0484),()=>{const _0x5e315a=_0xf4e4c1();return null==_0x5e315a?(_0x256e41(),_0x38bcc5([0x56,0x61,0x6c,0x69,0x64])):_0x38bcc5(_0x59c747-_0x5e315a>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38bcc5([0x74,0x68,0x65,0x6e])](_0x181e00)[_0x38bcc5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x181e00(_0x38bcc5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5279e1=0x36ee80;function _0x256e41(){const _0x78e62b=_0x38bcc5([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d8a0a(_0x432fa4(_0x4e83c0)),_0x2b5f20=_0x35bc4f(_0x1d8a0a(window[_0x38bcc5([0x4d,0x61,0x74,0x68])][_0x38bcc5([0x63,0x65,0x69,0x6c])](_0x59c747/_0x5279e1)));window[_0x38bcc5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38bcc5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x78e62b,_0x2b5f20);}function _0xf4e4c1(){const _0x568adc=_0x38bcc5([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d8a0a(_0x432fa4(_0x4e83c0)),_0x3f996d=window[_0x38bcc5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38bcc5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x568adc);return _0x3f996d?window[_0x38bcc5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35bc4f(_0x3f996d),0x10)*_0x5279e1:null;}function _0x46a934(_0x50d3f8){return new window[(_0x38bcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x502d55,_0x346474)=>{_0x50d3f8[_0x38bcc5([0x74,0x68,0x65,0x6e])](_0x502d55,_0x346474),window[_0x38bcc5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x346474,0x1d4c0);});}}_0x4a43db[_0x38bcc5([0x6f,0x6e])](_0x38bcc5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5014c8,_0x1e2e86)=>{if(_0x1e2e86[0x0]!=_0x4e83c0)return _0x181e00(_0x38bcc5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1e2e86[0x1]={..._0x1e2e86[0x1],[_0x38bcc5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x340557};},{[_0x38bcc5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38bcc5([0x68,0x69,0x67,0x68])}),_0x4a43db[_0x38bcc5([0x6f,0x6e])](_0x38bcc5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x8476ec=>{_0x22642c(_0x8476ec[_0x38bcc5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x472b7f=!0x0,_0x51c52c(_0x8476ec[_0x38bcc5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38bcc5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38bcc5([0x6c,0x6f,0x77])}),_0x1dbdd8[_0x38bcc5([0x74,0x68,0x65,0x6e])](()=>{_0x472b7f||_0x181e00(_0x38bcc5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x790196(){return _0x4a43db[_0x38bcc5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38bcc5([0x76,0x69,0x65,0x77])][_0x38bcc5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38bcc5([0x61,0x75,0x74,0x6f]);}function _0x3a70ea(){_0x4a43db[_0x38bcc5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38bcc5([0x76,0x69,0x65,0x77])][_0x38bcc5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38bcc5([0x61,0x75,0x74,0x6f]);}}(_0x57ff34[_0x38bcc5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x57ff34[_0x38bcc5([0x6a,0x74,0x69])]));const _0x5135a8=await(async function(){let _0x23334e=!0x0;try{const _0x23d0f6=_0x9dd5f8[_0x38bcc5([0x73,0x70,0x6c,0x69,0x74])](_0x38bcc5([0x2e])),[_0x249dc5,_0x315681,_0x3e0599]=_0x23d0f6;return _0x3f6d9a(_0x249dc5),await _0x592fbd(_0x249dc5,_0x315681,_0x3e0599),_0x23334e;}catch{return!0x1;}function _0x3f6d9a(_0x7e124d){const _0x53738c=_0xdebbf8(_0x7e124d);_0x53738c&&_0x53738c[_0x38bcc5([0x61,0x6c,0x67])]==_0x38bcc5([0x45,0x53,0x32,0x35,0x36])||(_0x23334e=!0x1);}async function _0x592fbd(_0x4cffdd,_0x42fd44,_0x782398){const _0x1be9a6=window[_0x38bcc5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38bcc5([0x66,0x72,0x6f,0x6d])](_0x16dd8b(_0x782398),_0x2e1f37=>_0x2e1f37[_0x38bcc5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x153aac=new window[(_0x38bcc5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38bcc5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4cffdd+_0x38bcc5([0x2e])+_0x42fd44),_0xa3e545=window[_0x38bcc5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38bcc5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa3e545)return;const _0x4433db=await _0xa3e545[_0x38bcc5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38bcc5([0x6a,0x77,0x6b]),_0x253472,{[_0x38bcc5([0x6e,0x61,0x6d,0x65])]:_0x38bcc5([0x45,0x43,0x44,0x53,0x41]),[_0x38bcc5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38bcc5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38bcc5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa3e545[_0x38bcc5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38bcc5([0x6e,0x61,0x6d,0x65])]:_0x38bcc5([0x45,0x43,0x44,0x53,0x41]),[_0x38bcc5([0x68,0x61,0x73,0x68])]:{[_0x38bcc5([0x6e,0x61,0x6d,0x65])]:_0x38bcc5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4433db,_0x1be9a6,_0x153aac)||(_0x23334e=!0x1);}}());return _0x5135a8?(function(){const _0x2c27ac=_0x57ff34[_0x38bcc5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2c27ac)return!0x1;if(_0x2c27ac[_0x38bcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38bcc5([0x2a])))return!0x0;if(_0x2c27ac[_0x38bcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38bcc5([0x4d,0x46])))return!0x0;return!0x1;}())?(function(){const _0x3e4088=[_0x38bcc5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38bcc5([0x74,0x72,0x69,0x61,0x6c])][_0x38bcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57ff34[_0x38bcc5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x59c747/0x3e8:0x69cb0e80;return _0x57ff34[_0x38bcc5([0x65,0x78,0x70])]<_0x3e4088;}())?_0x38bcc5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x3a60fd=_0x57ff34[_0x38bcc5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a60fd||0x0==_0x3a60fd[_0x38bcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xba8d8c}=new URL(window[_0x38bcc5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3a60fd[_0x38bcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xba8d8c))return!0x0;const _0x185c3f=_0xba8d8c[_0x38bcc5([0x73,0x70,0x6c,0x69,0x74])](_0x38bcc5([0x2e]));return _0x3a60fd[_0x38bcc5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e18b4=>_0x3e18b4[_0x38bcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38bcc5([0x2a])))[_0x38bcc5([0x6d,0x61,0x70])](_0x259ffe=>_0x259ffe[_0x38bcc5([0x73,0x70,0x6c,0x69,0x74])](_0x38bcc5([0x2e])))[_0x38bcc5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4570a4=>_0x4570a4[_0x38bcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x185c3f[_0x38bcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38bcc5([0x6d,0x61,0x70])](_0x486755=>Array(_0x185c3f[_0x38bcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x486755[_0x38bcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38bcc5([0x66,0x69,0x6c,0x6c])](_0x486755[0x0]===_0x38bcc5([0x2a])?_0x38bcc5([0x2a]):'')[_0x38bcc5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x486755))[_0x38bcc5([0x73,0x6f,0x6d,0x65])](_0x5bc198=>_0x185c3f[_0x38bcc5([0x65,0x76,0x65,0x72,0x79])]((_0x46eb78,_0x5cf9fb)=>_0x5bc198[_0x5cf9fb]===_0x46eb78||_0x5bc198[_0x5cf9fb]===_0x38bcc5([0x2a])));}())?(_0x57ff34[_0x38bcc5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38bcc5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xaaf47d=function(_0x23ae83){const _0x3a658c=new window[(_0x38bcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2410a5=>setTimeout(_0x2410a5,0x93ecc)),_0x5c1a79=_0x1dbdd8[_0x38bcc5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38bcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbcf502=>{let _0x2cc395=0x0;_0x4a43db[_0x38bcc5([0x6d,0x6f,0x64,0x65,0x6c])][_0x38bcc5([0x6f,0x6e])](_0x38bcc5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x34dd0b,_0x52ea52)=>{_0x52ea52[0x0][_0x38bcc5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2cc395++,0x5e8==_0x2cc395&&(_0xbcf502(),_0x34dd0b[_0x38bcc5([0x6f,0x66,0x66])]());});})),_0x2bebda=[_0x3a658c,_0x5c1a79];return window[_0x38bcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38bcc5([0x72,0x61,0x63,0x65])](_0x2bebda)[_0x38bcc5([0x74,0x68,0x65,0x6e])](()=>_0x23ae83);}(_0x38bcc5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0xaaf47d&&_0xc0ca55)return new window[(_0x38bcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9c388,_0x165c62)=>{_0xaaf47d[_0x38bcc5([0x74,0x68,0x65,0x6e])](_0x9c388,_0x165c62),_0xc0ca55[_0x38bcc5([0x74,0x68,0x65,0x6e])](_0x1b5132=>{_0x1b5132!=_0x38bcc5([0x56,0x61,0x6c,0x69,0x64])&&_0x9c388(_0x1b5132);},_0x165c62);});return _0xaaf47d||_0xc0ca55||_0x38bcc5([0x56,0x61,0x6c,0x69,0x64]);}())):_0x38bcc5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38bcc5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38bcc5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x38bcc5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0xdebbf8(_0x18f577){return _0x18f577[_0x38bcc5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38bcc5([0x65,0x79]))?JSON[_0x38bcc5([0x70,0x61,0x72,0x73,0x65])](_0x16dd8b(_0x18f577)):null;}function _0x16dd8b(_0x49d73d){return window[_0x38bcc5([0x61,0x74,0x6f,0x62])](_0x49d73d[_0x38bcc5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38bcc5([0x2b]))[_0x38bcc5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38bcc5([0x2f])));}function _0x432fa4(_0x13d03f){let _0x15787e=0x1505;function _0x876d69(_0x4b7212){for(let _0xf8e7cb=0x0;_0xf8e7cb<_0x4b7212[_0x38bcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf8e7cb++){const _0x24880c=_0x4b7212[_0x38bcc5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf8e7cb);_0x15787e=(_0x15787e<<0x5)+_0x15787e+_0x24880c,_0x15787e&=_0x15787e;}}return function _0xf4a21a(_0x3a8e9f){Array[_0x38bcc5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a8e9f)?_0x3a8e9f[_0x38bcc5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf4a21a):_0x3a8e9f&&typeof _0x3a8e9f==_0x38bcc5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38bcc5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a8e9f)[_0x38bcc5([0x73,0x6f,0x72,0x74])]()[_0x38bcc5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x88791d,_0x583b6e])=>{_0x876d69(_0x88791d),_0xf4a21a(_0x583b6e);}):_0x876d69(window[_0x38bcc5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a8e9f));}(_0x13d03f),_0x15787e>>>0x0;}function _0x1d8a0a(_0x4ae6e8){return _0x4ae6e8[_0x38bcc5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38bcc5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38bcc5([0x30]));}function _0x35bc4f(_0x5f4f91){return _0x5f4f91[_0x38bcc5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38bcc5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38bcc5([0x6a,0x6f,0x69,0x6e])]('');}function _0x1c4366(){}function _0x38bcc5(_0x3daf15){return _0x3daf15['map'](_0x37eac5=>String['fromCharCode'](_0x37eac5))['join']('');}!function(_0x4bda70){const _0x340470=(function(){const _0x3b190e=window[_0x38bcc5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38bcc5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38bcc5([0x6e,0x6f,0x77])]())[_0x38bcc5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38bcc5([0x2e]),'');let _0x1bab3d=_0x38bcc5([0x63]);for(let _0x3ac08c=0x0;_0x3ac08c<_0x3b190e[_0x38bcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ac08c+=0x2){let _0x4785f0=window[_0x38bcc5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b190e[_0x38bcc5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ac08c,_0x3ac08c+0x2));_0x4785f0>=_0x18c4cc[_0x38bcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4785f0-=_0x18c4cc[_0x38bcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1bab3d+=_0x18c4cc[_0x4785f0];}return _0x1bab3d;}());_0x4a43db[_0x340470]=_0x38bcc5([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4bda70,_0x4bda70!=_0x38bcc5([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x1dbdd8,_0x4a43db[_0x38bcc5([0x6d,0x6f,0x64,0x65,0x6c])][_0x38bcc5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1c4366,_0x4a43db[_0x38bcc5([0x6d,0x6f,0x64,0x65,0x6c])][_0x38bcc5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1c4366,_0x4a43db[_0x38bcc5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38bcc5([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x1ad8d4);}class MergeFieldsListView extends ckeditor5['ListView']{['filter'](_0x58fb6b){return ckeditor5['filterGroupAndItemNames'](_0x58fb6b,this['items']);}}class _0x1020df extends ckeditor5['View']{constructor(_0x377827){super(_0x377827),this['set']('text','');const _0x1f504e=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':_0x1f504e['to']('text')}]}]});}}function getTranslation$8(_0x350981,_0x5d559b){const t=_0x350981['t'];switch(_0x5d559b){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 _0x5d559b;}}class _0xc14c51 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_balloon'];['_balloonPanelView']=null;static get['requires'](){return[ckeditor5['Mention'],MergeFieldsEditing,ckeditor5['ContextualBalloon'],ckeditor5['Widget']];}static get['pluginName'](){return'MergeFieldsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x26bdbb){super(_0x26bdbb),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0x54f734=this['editor'];_0x54f734['ui']['componentFactory']['add']('insertMergeField',_0x5a3d29=>{const _0x3bb197=createInsertMergeFieldDropdown(_0x5a3d29);return _0x3bb197['bind']('isEnabled')['toMany']([_0x54f734['commands']['get']('insertMergeField'),_0x54f734['commands']['get']('insertMergeFieldBlock'),_0x54f734['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0x1f0066)=>_0x1f0066['some'](_0x1e5995=>_0x1e5995)),_0x3bb197['once']('change:isOpen',()=>{const _0x448b14={'insertInline':_0x54f734['commands']['get']('insertMergeField'),'insertBlock':_0x54f734['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x54f734['commands']['get']('insertMergeFieldImage')},_0x3fe6ec=createMergeFieldsListView(_0x5a3d29,_0x54f734['config']['get']('mergeFields.definitions'),_0x448b14);_0x3fe6ec['delegate']('execute')['to'](_0x3bb197),_0x3bb197['on']('execute',(_0x1dfe9c,_0x1cfb95)=>{const _0xc276e1=_0x54f734['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x1cfb95);'image'===_0xc276e1?_0x54f734['execute']('insertMergeFieldImage',_0x1cfb95):'block'===_0xc276e1?_0x54f734['execute']('insertMergeFieldBlock',_0x1cfb95):_0x54f734['execute']('insertMergeField',_0x1cfb95),_0x54f734['editing']['view']['focus']();});const _0x78b1e9=createMergeFieldsSearchTextView(_0x5a3d29,_0x3fe6ec);_0x3bb197['panelView']['children']['add'](_0x78b1e9),_0x3bb197['on']('change:isOpen',(_0x422e0e,_0x2de66b,_0x8666d0)=>{_0x8666d0&&_0x78b1e9['reset']();});}),_0x3bb197;}),_0x54f734['ui']['componentFactory']['add']('menuBar:insertMergeField',_0xb7ed31=>{const _0x1c4e04=new ckeditor5['MenuBarMenuView'](_0xb7ed31),_0x333d0b={'insertInline':_0x54f734['commands']['get']('insertMergeField'),'insertBlock':_0x54f734['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x54f734['commands']['get']('insertMergeFieldImage')};_0x1c4e04['buttonView']['set']({'label':getTranslation$8(_0xb7ed31,'Merge\x20field'),'icon':ckeditor5['IconInsertMergeField']}),_0x1c4e04['bind']('isEnabled')['toMany']([...Object['values'](_0x333d0b)],'isEnabled',(..._0x4c5f74)=>_0x4c5f74['some'](_0x306ac1=>_0x306ac1));const _0x27a49f=[],_0x454218=new ckeditor5['MenuBarMenuListView'](_0xb7ed31);for(const _0x398b68 of _0x54f734['config']['get']('mergeFields.definitions'))if('groupId'in _0x398b68){const _0x30e685=new ckeditor5['MenuBarMenuListItemView'](_0xb7ed31,_0x1c4e04),_0x4732b1=createMenuBarSubmenu(_0xb7ed31,_0x398b68,_0x333d0b);_0x30e685['children']['add'](_0x4732b1),_0x4732b1['delegate']('execute')['to'](_0x1c4e04),_0x454218['items']['add'](_0x30e685);}else _0x27a49f['push'](_0x398b68);if(_0x27a49f['length']){if(0x0===_0x454218['items']['length'])for(const _0x229f39 of _0x27a49f){let _0xd51ab7;_0xd51ab7='block'===_0x229f39['type']?_0x333d0b['insertBlock']:'image'===_0x229f39['type']?_0x333d0b['insertImage']:_0x333d0b['insertInline'];const _0x2d4367=createMenuBarListItem(_0xb7ed31,_0x229f39,_0x1c4e04,_0xd51ab7);_0x454218['items']['add'](_0x2d4367);}else{const _0x23a0b1=new ckeditor5['MenuBarMenuListItemView'](_0xb7ed31,_0x1c4e04),_0x42f49f=createMenuBarSubmenu(_0xb7ed31,{'groupId':'Other','definitions':_0x27a49f},_0x333d0b);_0x23a0b1['children']['add'](_0x42f49f),_0x42f49f['delegate']('execute')['to'](_0x1c4e04),_0x454218['items']['add'](_0x23a0b1);}}return _0x1c4e04['panelView']['children']['add'](_0x454218),_0x1c4e04['on']('execute',(_0x2e4a69,_0x6d45c0)=>{const _0x5c9810=_0x54f734['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x6d45c0);'image'===_0x5c9810?_0x54f734['execute']('insertMergeFieldImage',_0x6d45c0):'block'===_0x5c9810?_0x54f734['execute']('insertMergeFieldBlock',_0x6d45c0):_0x54f734['execute']('insertMergeField',_0x6d45c0),_0x54f734['editing']['view']['focus']();}),_0x1c4e04;});const _0x16c87b=_0x54f734['config']['get']('mergeFields.previewModes'),_0x3fee22=[];if(_0x16c87b['includes']('$labels')&&_0x3fee22['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':getTranslation$8(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x16c87b['includes']('$defaultValues')&&_0x3fee22['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':getTranslation$8(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x16c87b['includes']('$dataSets')){const _0x21792e=_0x54f734['config']['get']('mergeFields.dataSets');if(_0x21792e['length']){for(const _0x57d4f5 of _0x21792e)_0x3fee22['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x57d4f5['label']||_0x57d4f5['id'],'commandValue':_0x57d4f5['id']})});}}_0x54f734['ui']['componentFactory']['add']('previewMergeFields',_0x5bf536=>{const _0x225a63=_0x54f734['commands']['get']('previewMergeFields'),_0xcc0f51=new ckeditor5['Collection']();for(const _0x5272eb of _0x1d6aee(_0x3fee22))_0x5272eb['model']['bind']('isOn')['to'](_0x225a63,'value',_0x1d7ac8=>_0x1d7ac8===_0x5272eb['model']['commandValue']),_0xcc0f51['add'](_0x5272eb);const _0x1c6353=ckeditor5['createDropdown'](_0x5bf536),_0x2ae67b=getTranslation$8(_0x5bf536,'Merge\x20fields\x20preview');return _0x1c6353['bind']('isEnabled')['to'](_0x225a63),ckeditor5['addListToDropdown'](_0x1c6353,_0xcc0f51,{'ariaLabel':_0x2ae67b,'role':'menu'}),_0x1c6353['set']({'class':'ck-merge-fields-preview-dropdown'}),_0x1c6353['buttonView']['set']({'label':_0x2ae67b,'ariaLabel':_0x2ae67b,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':ckeditor5['IconPreviewMergeFields'],'tooltip':!0x0}),this['listenTo'](_0x1c6353,'execute',_0x34249f=>{const {commandValue:_0x4e36fa}=_0x34249f['source'];_0x54f734['execute']('previewMergeFields',_0x4e36fa),_0x54f734['editing']['view']['focus']();}),_0x1c6353;}),_0x54f734['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x50e2b2=>{const _0x9d25e9=new ckeditor5['MenuBarMenuView'](_0x50e2b2),_0x1515d0=_0x54f734['commands']['get']('previewMergeFields');_0x9d25e9['buttonView']['set']({'label':getTranslation$8(_0x50e2b2,'Merge\x20fields\x20preview'),'icon':ckeditor5['IconPreviewMergeFields']}),_0x9d25e9['bind']('isEnabled')['to'](_0x1515d0);const _0x2b3e6a=new ckeditor5['MenuBarMenuListView'](_0x50e2b2);_0x2b3e6a['set']({'ariaLabel':getTranslation$8(_0x50e2b2,'Merge\x20fields\x20preview')});for(const _0x25b27e of _0x1d6aee(_0x3fee22)){const _0x268d70=new ckeditor5['MenuBarMenuListItemView'](_0x50e2b2,_0x9d25e9),_0x32e4e3=new ckeditor5['MenuBarMenuListItemButtonView'](_0x50e2b2);_0x25b27e['model']['bind']('isOn')['to'](_0x1515d0,'value',_0x584681=>_0x584681===_0x25b27e['model']['commandValue']),_0x32e4e3['isToggleable']=!0x0,_0x32e4e3['bind'](...Object['keys'](_0x25b27e['model']))['to'](_0x25b27e['model']),_0x32e4e3['delegate']('execute')['to'](_0x9d25e9),_0x32e4e3['on']('execute',_0x51f9fc=>{const {commandValue:_0x2da5de}=_0x51f9fc['source'];_0x54f734['execute']('previewMergeFields',_0x2da5de),_0x54f734['editing']['view']['focus']();}),_0x268d70['children']['add'](_0x32e4e3),_0x2b3e6a['items']['add'](_0x268d70);}return _0x9d25e9['panelView']['children']['add'](_0x2b3e6a),_0x9d25e9;}),this['_balloon']=_0x54f734['plugins']['get'](ckeditor5['ContextualBalloon']),this['listenTo'](_0x54f734['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0x54f734['ui']['focusTracker'],'change:isFocused',(_0x32467e,_0x58f090,_0x427179)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0x427179?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4cd2b4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xa2fac3;for(const _0x39831a in _0x4cd2b4){const _0x27dd6a=_0x39831a,_0x40452b=_0x4cd2b4[_0x27dd6a];if('mergeFieldsLicenseKeyValid'==_0x40452b||'mergeFieldsLicenseKeyInvalid'==_0x40452b||'mergeFieldsLicenseKeyExpired'==_0x40452b||'mergeFieldsLicenseKeyDomainLimit'==_0x40452b||'mergeFieldsLicenseKeyNotAllowed'==_0x40452b||'mergeFieldsLicenseKeyEvaluationLimit'==_0x40452b||'mergeFieldsLicenseKeyUsageLimit'==_0x40452b){delete _0x4cd2b4[_0x27dd6a],_0xa2fac3=_0x40452b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0xa2fac3&&_0x4cd2b4['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0xa2fac3&&_0x4cd2b4['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0xa2fac3&&_0x4cd2b4['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0xa2fac3&&_0x4cd2b4['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0xa2fac3&&_0x4cd2b4['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0xa2fac3&&_0x4cd2b4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x475c4f=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0x13b4c4=!(!_0x475c4f||!_0x475c4f['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0x13b4c4){const _0x1b526b=_0x475c4f['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=getTranslation$8(this['editor']['locale'],_0x1b526b),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0x13b4c4){const _0x32d11e=_0x475c4f['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](getTranslation$8(this['editor']['locale'],_0x32d11e));}}}['_showBalloon'](_0x56a53d){this['_balloonPanelView']||(this['_balloonPanelView']=new _0x1020df(this['editor']['locale']),this['_balloonPanelView']['text']=_0x56a53d),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0x37ecd1=this['editor']['editing']['view'];return{'target':()=>{const _0x574eba=_0x37ecd1['document']['selection']['getFirstRange'](),_0x34638b=_0x37ecd1['domConverter']['mapViewToDom'](_0x574eba['getContainedElement']());return _0x34638b?Array['from'](_0x34638b['getClientRects']())[0x0]:_0x37ecd1['domConverter']['viewRangeToDom'](_0x574eba);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0xc8e4c3=>_0xc8e4c3))return;const _0x525e58=this['editor']['config']['get']('mergeFields.previewModes');_0x525e58['indexOf']('$defaultValues')>-0x1&&_0x525e58['length']>0x1&&(_0x525e58['splice'](_0x525e58['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0x525e58));}['_removeMenuBarButtonIfUnnecessary'](){const _0x576a45=this['editor']['config'];if(_0x576a45['get']('mergeFields.previewModes')){const _0x51f51d=_0x576a45['get']('mergeFields.previewModes');if(0x1===_0x51f51d['length']){if(_0x51f51d['includes']('$dataSets'))0x1===_0x576a45['get']('mergeFields.dataSets')['length']&&_0x37c1e6();else _0x37c1e6();}}function _0x37c1e6(){const _0xc3a4e3=_0x576a45['get']('menuBar.removeItems');_0xc3a4e3?(_0xc3a4e3['push']('menuBar:previewMergeFields'),_0x576a45['set']('menuBar.removeItems',_0xc3a4e3)):_0x576a45['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0x1ddfe5=this['editor'],_0x29eb76=_0x1ddfe5['config']['get']('mention.feeds'),_0x24fd17=_0x1ddfe5['config']['get']('mergeFields.prefix');_0x29eb76['push']({'marker':_0x24fd17,'dropdownLimit':0xa,'feed':_0x36b8a8=>_0x1ddfe5['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x5ec367=>{const _0x3b119d=_0x1ddfe5['commands']['get']('insertMergeField')['isEnabled'],_0x40aec0=_0x1ddfe5['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x19c052=_0x1ddfe5['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x3b0b57=_0x1ddfe5['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x5ec367['id']);if('text'===_0x3b0b57&&!_0x3b119d)return!0x1;if('block'===_0x3b0b57&&!_0x40aec0)return!0x1;if('image'===_0x3b0b57&&!_0x19c052)return!0x1;return(_0x1ddfe5['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x5ec367['id'])||_0x5ec367['id'])['toLowerCase']()['includes'](_0x36b8a8['toLowerCase']());}),'itemRenderer':_0x1f0d69=>{const _0x19387e=document['createElement']('button');return _0x19387e['innerHTML']=''+(_0x1f0d69['label']||_0x1f0d69['id']),_0x19387e;}}),_0x1ddfe5['config']['set']('mention.feeds',_0x29eb76);}['_overrideMentionExecuteListener'](){const _0x38e990=this['editor'];_0x38e990['commands']['get']('mention')['on']('execute',(_0x5c1c96,_0x41df61)=>{const _0x19d2e7=_0x41df61[0x0];_0x19d2e7['marker']===_0x38e990['config']['get']('mergeFields.prefix')&&_0x38e990['model']['change'](_0x248eab=>{_0x248eab['remove'](_0x19d2e7['range']);const _0x1398cd=_0x19d2e7['mention']['id'],_0x195ce1=_0x38e990['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x1398cd);'text'===_0x195ce1?_0x38e990['execute']('insertMergeField',_0x1398cd):'block'===_0x195ce1?_0x38e990['execute']('insertMergeFieldBlock',_0x1398cd,!0x1):_0x38e990['execute']('insertMergeFieldImage',_0x1398cd,{'breakBlock':!0x0}),_0x5c1c96['stop']();});},{'priority':'high'});}}function createInsertMergeFieldDropdown(_0x3b39bb){const _0x4e4291=ckeditor5['createDropdown'](_0x3b39bb);return _0x4e4291['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x4e4291['buttonView']['set']({'label':getTranslation$8(_0x3b39bb,'Insert\x20merge\x20field'),'icon':ckeditor5['IconInsertMergeField'],'tooltip':!0x0}),_0x4e4291;}function createMergeFieldsListView(_0x504a96,_0x3cd630,_0x18bba6){const _0x4e32fa=new MergeFieldsListView(_0x504a96),_0x1c2d69=[],_0x8d2425=[];for(const _0x3d6482 of _0x3cd630)if('groupId'in _0x3d6482){const _0x2bae54=createMergeFieldsGroupView(_0x504a96,_0x3d6482['groupLabel']||_0x3d6482['groupId'],_0x3d6482['definitions'],_0x18bba6);_0x2bae54['delegate']('execute')['to'](_0x4e32fa),_0x8d2425['push'](_0x2bae54);}else _0x1c2d69['push'](_0x3d6482);if(_0x1c2d69['length']){const _0x12a995=createMergeFieldsGroupView(_0x504a96,'Other',_0x1c2d69,_0x18bba6);_0x12a995['delegate']('execute')['to'](_0x4e32fa),_0x8d2425['push'](_0x12a995);}return _0x4e32fa['items']['addMany'](_0x8d2425),_0x4e32fa;}function createMergeFieldsGroupView(_0x13e501,_0x2b4c5b,_0x4a9817,_0x53b7d5){const _0x34e33c=new ckeditor5['ListItemGroupView'](_0x13e501,new ckeditor5['LabelWithHighlightView']());_0x34e33c['label']=_0x2b4c5b;for(const _0x515780 of _0x4a9817){let _0x23feda;_0x23feda='block'===_0x515780['type']?_0x53b7d5['insertBlock']:'image'===_0x515780['type']?_0x53b7d5['insertImage']:_0x53b7d5['insertInline'];const _0x706b69=createMergeFieldListItemView(_0x13e501,_0x515780,_0x23feda);_0x706b69['delegate']('execute')['to'](_0x34e33c),_0x34e33c['items']['add'](_0x706b69);}return _0x34e33c;}function createMergeFieldListItemView(_0x424d4d,_0x4e0c7f,_0x489f82){const _0x19b914=new ckeditor5['ListItemView'](_0x424d4d),_0x349ae7=new ckeditor5['ButtonLabelWithHighlightView'](),_0xcbc0a7=new ckeditor5['ButtonView'](_0x424d4d,_0x349ae7);return _0x19b914['children']['add'](_0xcbc0a7),_0xcbc0a7['set']({'label':_0x4e0c7f['label']||_0x4e0c7f['id'],'withText':!0x0}),_0xcbc0a7['bind']('isEnabled')['to'](_0x489f82),_0xcbc0a7['on']('execute',()=>{_0x19b914['fire']('execute',_0x4e0c7f['id']);}),_0x19b914;}function createMergeFieldsSearchTextView(_0x24c528,_0x4a3df0){return new ckeditor5['SearchTextView'](_0x24c528,{'filteredView':_0x4a3df0,'queryView':{'label':getTranslation$8(_0x24c528,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':getTranslation$8(_0x24c528,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':getTranslation$8(_0x24c528,'No\x20merge\x20fields\x20available')}}}});}function createMenuBarSubmenu(_0x45b6ae,_0xa7715b,_0x119467){const _0x4dfd22=new ckeditor5['MenuBarMenuView'](_0x45b6ae),_0x106ecf=new ckeditor5['MenuBarMenuListView'](_0x45b6ae);for(const _0x33c04c of _0xa7715b['definitions']){let _0x4aa689;_0x4aa689='block'===_0x33c04c['type']?_0x119467['insertBlock']:'image'===_0x33c04c['type']?_0x119467['insertImage']:_0x119467['insertInline'];const _0x4e0d1c=createMenuBarListItem(_0x45b6ae,_0x33c04c,_0x4dfd22,_0x4aa689);_0x106ecf['items']['add'](_0x4e0d1c);}return _0x4dfd22['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0x4dfd22['buttonView']['set']({'label':_0xa7715b['groupLabel']||_0xa7715b['groupId']}),_0x4dfd22['panelView']['children']['add'](_0x106ecf),_0x4dfd22;}function createMenuBarListItem(_0x30d51f,_0x243c20,_0x454468,_0x405683){const _0x36d63f=new ckeditor5['MenuBarMenuListItemView'](_0x30d51f,_0x454468),_0x1e7ad8=new ckeditor5['MenuBarMenuListItemButtonView'](_0x30d51f);return _0x1e7ad8['set']({'label':_0x243c20['label']||_0x243c20['id']}),_0x36d63f['delegate']('execute')['to'](_0x454468),_0x36d63f['children']['add'](_0x1e7ad8),_0x1e7ad8['bind']('isEnabled')['to'](_0x405683),_0x1e7ad8['on']('execute',()=>{_0x36d63f['fire']('execute',_0x243c20['id']);}),_0x36d63f;}class _0x2f32cf extends ckeditor5['Plugin']{static get['requires'](){return[MergeFieldsEditing,_0xc14c51];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x2e43cb=0x64,_0x20aad9=0xc8;class PaginationLookup extends ckeditor5['Plugin']{['_recalculatePageBreaksDebounced']=_0x28878c(()=>this['_recalculatePageBreaks'](),_0x20aad9);['_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 _0x3b73a4=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x3b73a4),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x234a24,_0x603360,_0x363ae5)=>{_0x363ae5&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){_0x4a55a0(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x10ec38=this['editor'],_0x333dae=_0x10ec38['editing']['view'],_0x35addd=this['_getAttachedDomRoot']();if(!_0x35addd||0x0===_0x35addd['childElementCount'])return void _0x10ec38['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x5b2fe9,pageHeight:_0x1acf1f}=_0x10ec38['config']['get']('pagination'),{top:_0x13691a,left:_0x435d70,bottom:_0x561c0b,right:_0x5179ae}=this['_configuredPaddings'];this['_pagesContainer']=new ckeditor5['View'](_0x10ec38['locale']);const _0x11e56f=this['_pagesContainer'];_0x11e56f['set']('class',''),_0x11e56f['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x5b2fe9,'width':_0x5b2fe9,'height':'calc(\x20'+_0x1acf1f+'\x20-\x20'+_0x13691a+'\x20-\x20'+_0x561c0b+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x5179ae+'\x200\x20'+_0x435d70,'columnGap':'calc('+_0x435d70+'\x20+\x20'+_0x5179ae+'\x20+\x20'+_0x2e43cb+'px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x11e56f['bindTemplate']['to']('class')}}),_0x11e56f['render'](),_0x35addd['parentNode']['insertBefore'](_0x11e56f['element'],_0x35addd['nextSibling']),this['listenTo'](_0x333dae,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x55802d of this['editor']['editing']['view']['domRoots']['values']())if(_0x55802d['ownerDocument']['body']['contains'](_0x55802d))return _0x55802d;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x52d5c1=this['editor']['editing']['view'],_0x30c31a=this['_pagesContainer'],_0xbb4fee=this['_getAttachedDomRoot']();if(!_0xbb4fee)return Promise['resolve']();for(_0x30c31a['class']=['ck-reset','ck-pagination-view',..._0xbb4fee['classList']]['join']('\x20');_0x30c31a['element']['firstChild'];)_0x30c31a['element']['firstChild']['remove']();const _0x39f157=Array['from'](_0x52d5c1['domRoots']);_0x39f157['sort'](([,_0x32222c],[,_0x35b4c6])=>_0x32222c['compareDocumentPosition'](_0x35b4c6)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x126af9,_0x1598cc]of _0x39f157){const _0x53d041=_0x1598cc['cloneNode'](!0x0);'attributeStyleMap'in _0x53d041&&_0x53d041['attributeStyleMap']['clear'](),_0x53d041['dataset']['rootName']=_0x126af9,_0x53d041['className']='ck-content\x20ck-pagination_enabled',_0x53d041['removeAttribute']('id'),_0x53d041['tabIndex']=-0x1,_0x30c31a['element']['append'](_0x53d041);}const _0x266c26=Array['from'](_0x30c31a['element']['querySelectorAll']('img'));return _0x2a83db(_0x266c26)['then'](()=>{for(const _0x12b2b6 of _0x266c26['filter'](_0x4dd2aa=>!_0x4dd2aa['closest']('table')))if(_0x12b2b6['offsetParent']){const _0x3d613e=ckeditor5['global']['window']['getComputedStyle'](_0x12b2b6),_0x4ffdf8=ckeditor5['global']['document']['createElement']('span');for(const _0x29e1c4 of _0x3d613e)_0x4ffdf8['style']['setProperty'](_0x29e1c4,_0x3d613e[_0x29e1c4]);_0x4ffdf8['style']['backgroundImage']='url(\x20'+_0x12b2b6['src']+'\x20)',_0x4ffdf8['style']['breakInside']='avoid','PICTURE'==_0x12b2b6['parentElement']?.['tagName']?_0x12b2b6['parentElement']['replaceWith'](_0x4ffdf8):_0x12b2b6['replaceWith'](_0x4ffdf8);}return nextAnimationFrame();})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x50b143=this['_pagesContainer']['element'];if(!_0x50b143['ownerDocument']['body']['contains'](_0x50b143))return;const _0x1a53f2=new ckeditor5['Rect'](_0x50b143)['excludeScrollbarsAndBorders'](),_0x44ba87=Math['floor'](_0x1a53f2['width']+_0x2e43cb),_0x38d5cf=findPageStarterInfos(_0x50b143,Math['floor'](_0x1a53f2['left']-_0x50b143['scrollLeft']),_0x44ba87,_0x1a53f2['height'])['map'](_0x126d7d=>this['_mapPageStarterInfoToPageBreakInfo'](_0x126d7d))['filter'](_0x3045b0=>!0x1!==_0x3045b0);_0x38d5cf['every'](_0x6bce94=>!!_0x6bce94)&&(this['pageBreaks']=_0x38d5cf);}['_mapPageStarterInfoToPageBreakInfo'](_0x4634e8){const _0x3e0eed=this['editor']['editing']['view'],_0x28393c=this['editor']['editing']['mapper'],_0x4de409=_0x3e0eed['domConverter'],_0x28dcb9=_0x4634e8['path']['shift'](),_0x3fc0fe=this['_pagesContainer']['element']['childNodes'][_0x28dcb9]['dataset']['rootName'],_0x56b12e=_0x3e0eed['getDomRoot'](_0x3fc0fe);if(!_0x56b12e)return null;const _0x57a65f=pageElementToViewElement(_0x56b12e,_0x4634e8);if(!_0x57a65f)return null;const _0xf6e42=_0x4de409['domPositionToView'](_0x57a65f,_0x4634e8['textOffset']||0x0);return _0xf6e42?'manual'==_0x4634e8['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0xf6e42,_0x57a65f):'text'==_0x4634e8['type']&&_0x28393c['toModelPosition'](_0xf6e42)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0xf6e42,_0x57a65f,_0x4634e8['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0xf6e42,_0x57a65f,_0x4634e8['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0xb7bb49,_0x4b4a94){const _0x52bd3c=this['editor']['model'],_0x294265=this['editor']['editing']['mapper']['toModelElement'](_0xb7bb49['parent']),_0x1fde86=_0x52bd3c['createRangeOn'](_0x294265);return new _0x1a32d2({'type':'manual','modelRange':_0x1fde86,'domNode':_0x4b4a94,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x5380f2,_0x15b120,_0x22654a){const _0x3d697e=this['editor']['model'],_0x2e888f=this['editor']['editing']['mapper'],_0xfd5005=this['editor']['editing']['view']['domConverter'];if(_0x22654a>=_0x15b120['length'])return null;const _0x4b7113=_0x2e888f['toModelPosition'](_0x5380f2),_0x2b2553=_0x3d697e['createRange'](_0x4b7113),_0x396bce=_0x2e888f['findMappedViewAncestor'](_0x5380f2),_0x18d553=_0xfd5005['mapViewToDom'](_0x396bce);return new _0x1a32d2({'type':'text','modelRange':_0x2b2553,'domNode':_0x15b120,'offset':findOffsetTopForTextOffset(_0x15b120,_0x22654a,_0x18d553)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x1f23dd,_0x3a56bf,_0x595ef4){const _0x5429bf=this['editor']['model'],_0x275ee0=this['editor']['editing'],_0x1e2cf8=_0x275ee0['mapper'],_0x570325=_0x275ee0['view']['domConverter'],_0x38c0ab=_0x1e2cf8['findMappedViewAncestor'](_0x1f23dd),_0x18822c=_0x1e2cf8['toModelElement'](_0x38c0ab);if(!_0x18822c||_0x18822c['is']('element','$root'))return!0x1;const _0x23c4b1=getTopMostParentBlockTouchingPosition(_0x5429bf['createPositionBefore'](_0x18822c))||_0x18822c;let _0x8f9346=_0x1e2cf8['toViewElement'](_0x23c4b1),_0x396523=_0x5429bf['createRangeOn'](_0x23c4b1);const _0x2e8447=_0x5429bf['createPositionBefore'](_0x23c4b1)['nodeBefore'];if(_0x2e8447&&_0x2e8447['is']('element','imageBlock')){const _0x3a7f58=_0x1e2cf8['toViewElement'](_0x2e8447),_0x4e6772=_0x570325['mapViewToDom'](_0x3a7f58),_0x1f0eca=ckeditor5['global']['window']['getComputedStyle'](_0x4e6772)['float'];'left'!=_0x1f0eca&&'right'!=_0x1f0eca||(_0x396523=_0x5429bf['createRangeOn'](_0x2e8447));}for(;_0x8f9346['parent']!==_0x8f9346['root']&&0x0===_0x8f9346['index'];)_0x8f9346=_0x8f9346['parent'];const _0x238b7b=new ckeditor5['Rect'](isHTMLElement(_0x3a56bf)?_0x3a56bf:createDomRangeOn(_0x3a56bf)),_0x6be00d=_0x595ef4?_0x238b7b['height']-_0x595ef4:0x0,_0x21e846=_0x570325['mapViewToDom'](_0x8f9346),_0x58bc9e=new ckeditor5['Rect'](_0x21e846);return new _0x1a32d2({'type':'element','modelRange':_0x396523,'domNode':_0x21e846,'offset':Math['round'](_0x6be00d)||_0x38c0ab!=findBlockAncestor(_0x1f23dd)?_0x6be00d+_0x238b7b['top']-_0x58bc9e['top']:0x0});}get['_configuredPaddings'](){const _0x39abbe=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x39abbe);}static['_findPageStarterInfos'](_0x485b08,_0x3ae78f,_0x31a51d,_0x5d42cd,_0x33f629){return findPageStarterInfos(_0x485b08,_0x3ae78f,_0x31a51d,_0x5d42cd,_0x33f629);}}class _0x1a32d2{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x267fd7,modelRange:_0x252872,domNode:_0x1116e4,offset:_0x563d11}){this['type']=_0x267fd7,this['modelRange']=_0x252872,this['_domNode']=_0x1116e4,this['_offset']=_0x563d11;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x243ee3=new ckeditor5['Rect'](isHTMLElement(this['_domNode'])?this['_domNode']:createDomRangeOn(this['_domNode']));return'manual'==this['type']?_0x243ee3['top']+_0x243ee3['height']/0x2:_0x243ee3['top']+this['_offset'];}}function _0x4509a3(_0x207911){return!(!_0x207911||!isHTMLElement(_0x207911))&&Boolean(_0x207911['classList']['contains']('page-break')||_0x207911['closest']('.page-break'));}function pageElementToViewElement(_0x507de7,_0x50542f){let _0x3039b0=_0x507de7;for(const _0x52db98 of _0x50542f['path']){if(!_0x3039b0)return null;_0x3039b0=_0x3039b0['childNodes'][_0x52db98];}return _0x3039b0;}function findOffsetTopForTextOffset(_0x2ea5b9,_0x3e14c2,_0x1fc7c9){const _0x2ea4a4=createDomRangeOn(_0x2ea5b9),_0x85a982=createDomRangeIn(_0x1fc7c9);let _0x56802e;_0x56802e=0x0==_0x3e14c2?createDomRangeMultiNode(_0x85a982['startContainer'],_0x85a982['startOffset'],_0x2ea5b9['parentNode'],Array['from'](_0x2ea5b9['parentNode']['childNodes'])['indexOf'](_0x2ea5b9)):createDomRangeMultiNode(_0x85a982['startContainer'],_0x85a982['startOffset'],_0x2ea5b9,_0x3e14c2);const _0x42d16c=createDomRangeMultiNode(_0x2ea5b9,_0x3e14c2,_0x85a982['endContainer'],_0x85a982['endOffset']),_0x16290f=new ckeditor5['Rect'](_0x56802e)['bottom'];return(new ckeditor5['Rect'](_0x42d16c)['top']+_0x16290f)/0x2-new ckeditor5['Rect'](_0x2ea4a4)['top'];}function getTopMostParentBlockTouchingPosition(_0x5b5b40){const _0x2bb39e=_0x5b5b40['parent'],_0x4bae7b=_0x2bb39e['root']['document']['model'],_0x508e69=_0x2bb39e['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x178ee9=null;for(const _0x51d54c of _0x508e69){if(_0x51d54c['is']('rootElement'))return _0x178ee9;if(!_0x4bae7b['createPositionBefore'](_0x51d54c)['isTouching'](_0x5b5b40))return _0x178ee9;_0x178ee9=_0x51d54c;}}function findBlockAncestor(_0x314398){let _0xa62db=_0x314398['parent'];for(;_0xa62db['is']('$text')||_0xa62db['is']('attributeElement');)_0xa62db=_0xa62db['parent'];return _0xa62db;}function _0x2a83db(_0x330030){return Promise['all'](_0x330030['map'](_0x19dd52=>Promise['race']([_0x2c2b4f(_0x19dd52),timeout(0x3e8)])));}function _0x2c2b4f(_0xbe7767){return _0xbe7767['hasAttribute']('width')&&_0xbe7767['hasAttribute']('height')?Promise['resolve']():new Promise(_0x4a0494=>{function _0x186ec2(){_0xbe7767['removeEventListener']('load',_0x186ec2),_0xbe7767['removeEventListener']('error',_0x186ec2),_0x4a0494();}_0xbe7767['complete']?_0x4a0494():(_0xbe7767['addEventListener']('load',_0x186ec2),_0xbe7767['addEventListener']('error',_0x186ec2));});}function timeout(_0x137e7d){return new Promise(_0x5a59d1=>setTimeout(_0x5a59d1,_0x137e7d));}function nextAnimationFrame(){return new Promise(_0x20c943=>ckeditor5['global']['window']['requestAnimationFrame'](()=>_0x20c943()));}function createDomRangeOn(_0x215843){const _0x4fd199=ckeditor5['global']['document']['createRange']();return _0x4fd199['selectNode'](_0x215843),_0x4fd199;}function createDomRangeIn(_0x1a483e){const _0x7592e4=ckeditor5['global']['document']['createRange']();return _0x7592e4['selectNodeContents'](_0x1a483e),_0x7592e4;}function createDomRange(_0xc0f1f3,_0x1bccbf,_0x1f89c8){const _0x3b4878=ckeditor5['global']['document']['createRange']();return _0x3b4878['setStart'](_0xc0f1f3,_0x1bccbf),_0x3b4878['setEnd'](_0xc0f1f3,_0x1f89c8),_0x3b4878;}function createDomRangeMultiNode(_0x3dab53,_0x35d79e,_0x5b9782,_0x1ea4eb){const _0x634574=ckeditor5['global']['document']['createRange']();return _0x634574['setStart'](_0x3dab53,_0x35d79e),_0x634574['setEnd'](_0x5b9782,_0x1ea4eb),_0x634574;}function findPageStarterInfos(_0xb45ea1,_0x51c2bf,_0x4e0b8f,_0x30265f,_0x26115a){const _0x18f4cd=[];for(const [_0x55ee9f,_0x4104af]of _0xb45ea1['childNodes']['entries']()){let _0x4b85a6=[];isHTMLElement(_0x4104af)&&_0x4104af['offsetParent']&&['static','relative']['includes'](ckeditor5['global']['window']['getComputedStyle'](_0x4104af)['position'])?_0x4b85a6=findPageStartersInElementNode(_0x4104af,_0x55ee9f,_0x51c2bf,_0x4e0b8f,_0x30265f,_0x26115a):isText(_0x4104af)&&(_0x4b85a6=findPageStartersInTextNode(_0x4104af,_0x55ee9f,_0x51c2bf,_0x4e0b8f,_0x26115a)),_0x4b85a6['length']&&(_0x18f4cd['push'](..._0x4b85a6),_0x51c2bf+=_0x4b85a6['length']*_0x4e0b8f,_0x26115a=!0x1);}return _0x18f4cd;}function findPageStartersInElementNode(_0x907814,_0x57b5d1,_0x1d15f7,_0x1a79d0,_0x44b7bb,_0x4847c0){const _0x203242=[];if(_0x4509a3(_0x907814['previousSibling'])&&(_0x203242['push']({'type':'manual','offset':0x0,'path':[_0x57b5d1-0x1]}),_0x4847c0=!0x0),'table-row'==ckeditor5['global']['window']['getComputedStyle'](_0x907814)['display']){let _0xb4baaf=0x0,_0x5e2aaf=!0x1;for(const _0x27a21f of _0x907814['getClientRects']())_0xb4baaf+=_0x27a21f['height'],_0x27a21f['left']>=_0x1d15f7&&(_0x5e2aaf=!0x0);if(_0xb4baaf<_0x44b7bb&&_0x5e2aaf)return _0x4847c0||_0x203242['push']({'type':'element','offset':0x0,'path':[_0x57b5d1]}),_0x203242;}const _0x388871=_0x907814['closest']('figure.image');if(_0x388871&&_0x2bce1c(_0x388871)){const _0x4ff60b=ckeditor5['global']['window']['getComputedStyle'](_0x388871)['float'];if('left'==_0x4ff60b||'right'==_0x4ff60b)return _0x203242;}const _0x24df2d=findPageStarterInfos(_0x907814,_0x1d15f7,_0x1a79d0,_0x44b7bb,_0x4847c0);if(_0x24df2d['length']){for(const _0x2e1fa2 of _0x24df2d)_0x203242['push']({'type':_0x2e1fa2['type'],'offset':_0x2e1fa2['offset'],'textOffset':_0x2e1fa2['textOffset'],'path':[_0x57b5d1,..._0x2e1fa2['path']]}),_0x1d15f7+=_0x1a79d0,_0x4847c0=!0x1;return _0x203242;}return _0x203242['push'](...findPageStartersInLeafElementNode(_0x907814,_0x57b5d1,_0x1d15f7,_0x1a79d0,_0x4847c0)),_0x203242;}function findPageStartersInLeafElementNode(_0x1f510c,_0x27766a,_0x18f6c7,_0x1b8da8,_0x1f9659){const _0x5c4c50=[];if('table-cell'==ckeditor5['global']['window']['getComputedStyle'](_0x1f510c)['display'])return[];const _0x22a2da=[];for(const _0x2a3d78 of _0x1f510c['getClientRects']())if(_0x2a3d78['left']>=_0x18f6c7){for(const _0x3c5b55 of _0x22a2da)_0x3c5b55['height']+=_0x2a3d78['height'];_0x22a2da['push']({'height':_0x2a3d78['height']}),_0x18f6c7+=_0x1b8da8;}for(const _0x839a9a of _0x22a2da)_0x1f9659||_0x5c4c50['push']({'type':'element','offset':_0x839a9a['height'],'textOffset':0x0,'path':[_0x27766a]}),_0x1f9659=!0x1;return _0x5c4c50;}function findPageStartersInTextNode(_0x3f0cd0,_0x10aa73,_0x2a6195,_0x21df1d,_0x268b0a){const _0x4ca72d=createDomRangeOn(_0x3f0cd0),_0xe01c0=[];let _0x51343a=0x0;for(const _0x409565 of _0x4ca72d['getClientRects']())if(_0x409565['left']>=_0x2a6195){const _0x415298=findLastTextOffsetOnPage(_0x3f0cd0,_0x51343a,_0x2a6195,_0x21df1d);_0x268b0a||_0xe01c0['push']({'type':'text','path':[_0x10aa73],'textOffset':_0x415298}),_0x51343a=_0x415298,_0x2a6195+=_0x21df1d,_0x268b0a=!0x1;}return _0xe01c0;}function findLastTextOffsetOnPage(_0x2c2b64,_0x435f0b,_0x303d88,_0x3508ff){let _0xe01a93=_0x435f0b,_0x40176a=_0x2c2b64['length'];for(;_0x40176a-_0xe01a93>0x1;){const _0x5df86b=Math['ceil']((_0xe01a93+_0x40176a)/0x2);domRangeContainsPageBreak(createDomRange(_0x2c2b64,_0xe01a93,_0x5df86b),_0x303d88,_0x3508ff)?_0x40176a=_0x5df86b:_0xe01a93=_0x5df86b;}return _0xe01a93;}function domRangeContainsPageBreak(_0xa14f54,_0x59a26b,_0x57c5a3){for(const _0x389606 of _0xa14f54['getClientRects']())if(_0x389606['left']>=_0x59a26b&&_0x389606['left']<_0x59a26b+_0x57c5a3)return!0x0;return!0x1;}function _0x2bce1c(_0x5762b8){let _0x16e987=!0x1;const _0x5d9547=_0x5762b8['parentElement']['dataset']['rootName'],_0x3658a6=_0x5762b8['nextElementSibling'],_0x46e35d=_0x5762b8['previousElementSibling'],_0x348330=_0x3658a6&&ckeditor5['global']['window']['getComputedStyle'](_0x3658a6)['float'],_0x233548=_0x3658a6&&'ck-fake-selection-container'===_0x3658a6['className'];return!_0x5d9547||_0x3658a6||_0x46e35d||(_0x16e987=!0x0),_0x5d9547&&!_0x46e35d&&_0x233548&&(_0x16e987=!0x0),_0x5d9547&&!_0x46e35d&&'none'!==_0x348330&&(_0x16e987=!0x0),!_0x16e987;}function isHTMLElement(_0xea88f){return _0xea88f['nodeType']==Node['ELEMENT_NODE'];}function isText(_0x18b839){return _0x18b839['nodeType']==Node['TEXT_NODE'];}async function _0x4a55a0(_0x38e51b){const _0x3f22e1=_0x4441f1([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]),_0x1e6000=window[_0x4441f1([0x44,0x61,0x74,0x65])][_0x4441f1([0x6e,0x6f,0x77])](),_0x6f14db=_0x38e51b[_0x4441f1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4d7477=new window[(_0x4441f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b9693=>{_0x6f14db[_0x4441f1([0x6f,0x6e,0x63,0x65])](_0x4441f1([0x72,0x65,0x61,0x64,0x79]),_0x3b9693);}),_0x1b91a4={[_0x4441f1([0x6b,0x74,0x79])]:_0x4441f1([0x45,0x43]),[_0x4441f1([0x75,0x73,0x65])]:_0x4441f1([0x73,0x69,0x67]),[_0x4441f1([0x63,0x72,0x76])]:_0x4441f1([0x50,0x2d,0x32,0x35,0x36]),[_0x4441f1([0x78])]:_0x4441f1([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]),[_0x4441f1([0x79])]:_0x4441f1([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]),[_0x4441f1([0x61,0x6c,0x67])]:_0x4441f1([0x45,0x53,0x32,0x35,0x36])},_0x20950c=_0x6f14db[_0x4441f1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4441f1([0x67,0x65,0x74])](_0x4441f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1580fd=await(async function(){let _0x31160c,_0x44ab9c=null,_0x1264aa=null;try{if(_0x20950c==_0x4441f1([0x47,0x50,0x4c]))return _0x4441f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31160c=(function(){const _0x40d059=_0x20950c[_0x4441f1([0x73,0x70,0x6c,0x69,0x74])](_0x4441f1([0x2e]));if(0x3!=_0x40d059[_0x4441f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x2661c9=_0x40d059[0x1];return _0x1c910e(_0x2661c9);function _0x1c910e(_0x668d80){const _0x10da4b=_0x156a21(_0x668d80);return _0x10da4b&&_0x18d30b()?_0x10da4b:null;function _0x18d30b(){const _0x222cf5=_0x10da4b[_0x4441f1([0x6a,0x74,0x69])],_0x490e9f=window[_0x4441f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x222cf5[_0x4441f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x222cf5[_0x4441f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x269c5e={..._0x10da4b,[_0x4441f1([0x6a,0x74,0x69])]:_0x222cf5[_0x4441f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x222cf5[_0x4441f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x269c5e[_0x4441f1([0x76,0x63])],_0x411291(_0x269c5e)==_0x490e9f;}}}()),!_0x31160c)return _0x4441f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x31160c[_0x4441f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1264aa=function(_0x1eccbd,_0x3cb5b0){return new window[(_0x4441f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5df9b0=>{if(_0x309a22())return _0x5df9b0(_0x4441f1([0x56,0x61,0x6c,0x69,0x64]));_0x2de70e(),_0x6f14db[_0x4441f1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4441f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x132e47=!0x1;const _0x46b550=ckeditor5['uid']();function _0x4f9def(_0x457816){return!!_0x457816&&(typeof _0x457816===_0x4441f1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x457816===_0x4441f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x457816[_0x4441f1([0x74,0x68,0x65,0x6e])]===_0x4441f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x457816[_0x4441f1([0x63,0x61,0x74,0x63,0x68])]===_0x4441f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x80a5fa(_0x4811bc){_0x2fa5e0(_0x4811bc)[_0x4441f1([0x74,0x68,0x65,0x6e])](_0x4bdc2d=>{if(!_0x4bdc2d||_0x4bdc2d[_0x4441f1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4441f1([0x6f,0x6b]))return _0x4441f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1130c4(_0x411291(_0x46b550+_0x3cb5b0))!=_0x4bdc2d[_0x4441f1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4441f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4441f1([0x56,0x61,0x6c,0x69,0x64]);})[_0x4441f1([0x74,0x68,0x65,0x6e])](_0x3bb715=>(_0x33f219(),_0x3bb715),()=>{const _0x1d63a4=_0x41065f();return null==_0x1d63a4?(_0x33f219(),_0x4441f1([0x56,0x61,0x6c,0x69,0x64])):_0x4441f1(_0x1e6000-_0x1d63a4>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4441f1([0x74,0x68,0x65,0x6e])](_0x5df9b0)[_0x4441f1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5df9b0(_0x4441f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4827c8=0x36ee80;function _0x33f219(){const _0x128c90=_0x4441f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1130c4(_0x411291(_0x1eccbd)),_0x4edf50=_0xd30e91(_0x1130c4(window[_0x4441f1([0x4d,0x61,0x74,0x68])][_0x4441f1([0x63,0x65,0x69,0x6c])](_0x1e6000/_0x4827c8)));window[_0x4441f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4441f1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x128c90,_0x4edf50);}function _0x41065f(){const _0x43c9c1=_0x4441f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1130c4(_0x411291(_0x1eccbd)),_0x499487=window[_0x4441f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4441f1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43c9c1);return _0x499487?window[_0x4441f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd30e91(_0x499487),0x10)*_0x4827c8:null;}function _0x2fa5e0(_0x2294c1){return new window[(_0x4441f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x503224,_0x1e27c2)=>{_0x2294c1[_0x4441f1([0x74,0x68,0x65,0x6e])](_0x503224,_0x1e27c2),window[_0x4441f1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e27c2,0x1d4c0);});}}_0x6f14db[_0x4441f1([0x6f,0x6e])](_0x4441f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x18bd1a,_0x87a5a9)=>{if(_0x87a5a9[0x0]!=_0x1eccbd)return _0x5df9b0(_0x4441f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x87a5a9[0x1]={..._0x87a5a9[0x1],[_0x4441f1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x46b550};},{[_0x4441f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4441f1([0x68,0x69,0x67,0x68])}),_0x6f14db[_0x4441f1([0x6f,0x6e])](_0x4441f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x8138f3=>{_0x4f9def(_0x8138f3[_0x4441f1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x132e47=!0x0,_0x80a5fa(_0x8138f3[_0x4441f1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4441f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4441f1([0x6c,0x6f,0x77])}),_0x4d7477[_0x4441f1([0x74,0x68,0x65,0x6e])](()=>{_0x132e47||_0x5df9b0(_0x4441f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x309a22(){return _0x6f14db[_0x4441f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4441f1([0x76,0x69,0x65,0x77])][_0x4441f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4441f1([0x61,0x75,0x74,0x6f]);}function _0x2de70e(){_0x6f14db[_0x4441f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4441f1([0x76,0x69,0x65,0x77])][_0x4441f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4441f1([0x61,0x75,0x74,0x6f]);}}(_0x31160c[_0x4441f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31160c[_0x4441f1([0x6a,0x74,0x69])]));const _0x405ab0=await(async function(){let _0x56c258=!0x0;try{const _0x54db19=_0x20950c[_0x4441f1([0x73,0x70,0x6c,0x69,0x74])](_0x4441f1([0x2e])),[_0x439382,_0x93d89,_0xf1e66]=_0x54db19;return _0x56534a(_0x439382),await _0x45f621(_0x439382,_0x93d89,_0xf1e66),_0x56c258;}catch{return!0x1;}function _0x56534a(_0x1b2d14){const _0x977a68=_0x156a21(_0x1b2d14);_0x977a68&&_0x977a68[_0x4441f1([0x61,0x6c,0x67])]==_0x4441f1([0x45,0x53,0x32,0x35,0x36])||(_0x56c258=!0x1);}async function _0x45f621(_0x3ac0ad,_0x12f183,_0x29fb81){const _0x479393=window[_0x4441f1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4441f1([0x66,0x72,0x6f,0x6d])](_0x3e33a6(_0x29fb81),_0xcf8520=>_0xcf8520[_0x4441f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1cedd8=new window[(_0x4441f1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4441f1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ac0ad+_0x4441f1([0x2e])+_0x12f183),_0x490460=window[_0x4441f1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4441f1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x490460)return;const _0x522503=await _0x490460[_0x4441f1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4441f1([0x6a,0x77,0x6b]),_0x1b91a4,{[_0x4441f1([0x6e,0x61,0x6d,0x65])]:_0x4441f1([0x45,0x43,0x44,0x53,0x41]),[_0x4441f1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4441f1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4441f1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x490460[_0x4441f1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4441f1([0x6e,0x61,0x6d,0x65])]:_0x4441f1([0x45,0x43,0x44,0x53,0x41]),[_0x4441f1([0x68,0x61,0x73,0x68])]:{[_0x4441f1([0x6e,0x61,0x6d,0x65])]:_0x4441f1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x522503,_0x479393,_0x1cedd8)||(_0x56c258=!0x1);}}());return _0x405ab0?(function(){const _0x316e00=_0x31160c[_0x4441f1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x316e00)return!0x1;if(_0x316e00[_0x4441f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4441f1([0x2a])))return!0x0;if(_0x316e00[_0x4441f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4441f1([0x50,0x41,0x47])))return!0x0;return!0x1;}())?(function(){const _0x56f297=[_0x4441f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4441f1([0x74,0x72,0x69,0x61,0x6c])][_0x4441f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31160c[_0x4441f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e6000/0x3e8:0x69cb0e80;return _0x31160c[_0x4441f1([0x65,0x78,0x70])]<_0x56f297;}())?_0x4441f1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x3cb475=_0x31160c[_0x4441f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3cb475||0x0==_0x3cb475[_0x4441f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x354b91}=new URL(window[_0x4441f1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3cb475[_0x4441f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x354b91))return!0x0;const _0x2c17e7=_0x354b91[_0x4441f1([0x73,0x70,0x6c,0x69,0x74])](_0x4441f1([0x2e]));return _0x3cb475[_0x4441f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a2ebd=>_0x4a2ebd[_0x4441f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4441f1([0x2a])))[_0x4441f1([0x6d,0x61,0x70])](_0x5159df=>_0x5159df[_0x4441f1([0x73,0x70,0x6c,0x69,0x74])](_0x4441f1([0x2e])))[_0x4441f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22d630=>_0x22d630[_0x4441f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2c17e7[_0x4441f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4441f1([0x6d,0x61,0x70])](_0x1b4651=>Array(_0x2c17e7[_0x4441f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1b4651[_0x4441f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4441f1([0x66,0x69,0x6c,0x6c])](_0x1b4651[0x0]===_0x4441f1([0x2a])?_0x4441f1([0x2a]):'')[_0x4441f1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1b4651))[_0x4441f1([0x73,0x6f,0x6d,0x65])](_0x4d4da9=>_0x2c17e7[_0x4441f1([0x65,0x76,0x65,0x72,0x79])]((_0x13a014,_0x1caa77)=>_0x4d4da9[_0x1caa77]===_0x13a014||_0x4d4da9[_0x1caa77]===_0x4441f1([0x2a])));}())?(_0x31160c[_0x4441f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4441f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x44ab9c=function(_0x2f18be){const _0x1d9a85=new window[(_0x4441f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x100187=>setTimeout(_0x100187,0x93ecc)),_0x114d10=_0x4d7477[_0x4441f1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4441f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4efc55=>{let _0x2f7980=0x0;_0x6f14db[_0x4441f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4441f1([0x6f,0x6e])](_0x4441f1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x15d10f,_0x52aa5e)=>{_0x52aa5e[0x0][_0x4441f1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f7980++,0x5e8==_0x2f7980&&(_0x4efc55(),_0x15d10f[_0x4441f1([0x6f,0x66,0x66])]());});})),_0x2efeeb=[_0x1d9a85,_0x114d10];return window[_0x4441f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4441f1([0x72,0x61,0x63,0x65])](_0x2efeeb)[_0x4441f1([0x74,0x68,0x65,0x6e])](()=>_0x2f18be);}(_0x4441f1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x44ab9c&&_0x1264aa)return new window[(_0x4441f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36cf0b,_0x28b667)=>{_0x44ab9c[_0x4441f1([0x74,0x68,0x65,0x6e])](_0x36cf0b,_0x28b667),_0x1264aa[_0x4441f1([0x74,0x68,0x65,0x6e])](_0x26f622=>{_0x26f622!=_0x4441f1([0x56,0x61,0x6c,0x69,0x64])&&_0x36cf0b(_0x26f622);},_0x28b667);});return _0x44ab9c||_0x1264aa||_0x4441f1([0x56,0x61,0x6c,0x69,0x64]);}())):_0x4441f1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4441f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4441f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4441f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x156a21(_0x14c059){return _0x14c059[_0x4441f1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4441f1([0x65,0x79]))?JSON[_0x4441f1([0x70,0x61,0x72,0x73,0x65])](_0x3e33a6(_0x14c059)):null;}function _0x3e33a6(_0x582edd){return window[_0x4441f1([0x61,0x74,0x6f,0x62])](_0x582edd[_0x4441f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4441f1([0x2b]))[_0x4441f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4441f1([0x2f])));}function _0x411291(_0x34caaf){let _0x15cae8=0x1505;function _0x201a1e(_0x5a44e8){for(let _0x4c1aa2=0x0;_0x4c1aa2<_0x5a44e8[_0x4441f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c1aa2++){const _0x4a6c6a=_0x5a44e8[_0x4441f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4c1aa2);_0x15cae8=(_0x15cae8<<0x5)+_0x15cae8+_0x4a6c6a,_0x15cae8&=_0x15cae8;}}return function _0xf6d4c7(_0x251f63){Array[_0x4441f1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x251f63)?_0x251f63[_0x4441f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf6d4c7):_0x251f63&&typeof _0x251f63==_0x4441f1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4441f1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x251f63)[_0x4441f1([0x73,0x6f,0x72,0x74])]()[_0x4441f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e3df3,_0x290c02])=>{_0x201a1e(_0x5e3df3),_0xf6d4c7(_0x290c02);}):_0x201a1e(window[_0x4441f1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x251f63));}(_0x34caaf),_0x15cae8>>>0x0;}function _0x1130c4(_0x1ab842){return _0x1ab842[_0x4441f1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4441f1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4441f1([0x30]));}function _0xd30e91(_0x28b348){return _0x28b348[_0x4441f1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4441f1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4441f1([0x6a,0x6f,0x69,0x6e])]('');}function _0x187a89(){}function _0x4441f1(_0x154ec2){return _0x154ec2['map'](_0x359b9c=>String['fromCharCode'](_0x359b9c))['join']('');}!function(_0x13caa3){const _0x1dbb9e=(function(){const _0x563c35=window[_0x4441f1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4441f1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4441f1([0x6e,0x6f,0x77])]())[_0x4441f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4441f1([0x2e]),'');let _0xfd9147=_0x4441f1([0x49]);for(let _0x13feb3=0x0;_0x13feb3<_0x563c35[_0x4441f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13feb3+=0x2){let _0x5c0d86=window[_0x4441f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x563c35[_0x4441f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13feb3,_0x13feb3+0x2));_0x5c0d86>=_0x3f22e1[_0x4441f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c0d86-=_0x3f22e1[_0x4441f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xfd9147+=_0x3f22e1[_0x5c0d86];}return _0xfd9147;}());_0x6f14db[_0x1dbb9e]=_0x4441f1([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x13caa3,_0x13caa3!=_0x4441f1([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x4d7477,_0x6f14db[_0x4441f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4441f1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x187a89,_0x6f14db[_0x4441f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4441f1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x187a89,_0x6f14db[_0x4441f1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4441f1([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x1580fd);}const toPx=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');let _0x9d028e=class extends ckeditor5['View']{constructor(){super();const _0x47c4ba=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x47c4ba['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x47c4ba['if']('isVisible','ck-hidden',_0xb827d9=>!_0xb827d9)],'style':{'left':_0x47c4ba['to']('left',_0x42359f=>toPx(_0x42359f)),'top':_0x47c4ba['to']('top',_0x79e4eb=>toPx(_0x79e4eb)),'width':_0x47c4ba['to']('width',_0x157de3=>toPx(_0x157de3))}}});}};class LinesRepository{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x3bc4b4){this['_viewCollection']=_0x3bc4b4['ui']['view']['body'];}['destroy'](){for(const _0x3729b9 of this['_hiddenLines'])_0x3729b9['destroy']();}['cleanLines'](){for(const _0x4ed26b of this['_visibleLines'])_0x4ed26b['isVisible']=!0x1,this['_hiddenLines']['add'](_0x4ed26b);this['_visibleLines']['clear']();}['showLine'](_0x2e35f6,_0x25cd70,_0x582608,_0x30daa8){let _0xa89a2e;this['_hiddenLines']['size']?(_0xa89a2e=ckeditor5['first'](this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0xa89a2e)):_0xa89a2e=new _0x9d028e(),_0xa89a2e['set']({'pageNumber':_0x30daa8,'left':_0x2e35f6,'top':_0x25cd70,'width':_0x582608}),_0xa89a2e['isVisible']=!0x0,this['_viewCollection']['has'](_0xa89a2e)||this['_viewCollection']['add'](_0xa89a2e),this['_visibleLines']['add'](_0xa89a2e);}['setViewCollection'](_0x2929e3){for(const _0x2babd7 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x2babd7)&&this['_viewCollection']['remove'](_0x2babd7);this['_viewCollection']=_0x2929e3;}}const _0x1a1923='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'](_0x1a1923),this['on']('change:isEnabled',(_0x1b6a24,_0x3a99c8,_0x510c89)=>{_0x510c89||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](_0x1a1923,_0x510c89);});}['destroy'](){this['_toggleEditingRootsClass'](_0x1a1923,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x1b00fa){if(!this['isEnabled'])return;const _0x70fea9=_0x1b00fa>0x1?this['_getPageBreakLineOffset'](_0x1b00fa-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x70fea9-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':ckeditor5['env']['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x54c2c5=this['editor'],_0x13ffc4=this['_getAttachedDomRoot']();_0x13ffc4?(this['_scrollableEditingRootDomAncestor']&&_0x54c2c5['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=findScrollableElement(_0x13ffc4),_0x54c2c5['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new ckeditor5['ResizeObserver'](this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x54c2c5['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0xf58636=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0xf58636['ui']['view']['listenTo'](ckeditor5['global']['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0xf58636['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x10b8a3 of this['editor']['editing']['view']['domRoots']['values']())if(_0x10b8a3['ownerDocument']['body']['contains'](_0x10b8a3))return _0x10b8a3;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x53d56b=this['_getAttachedDomRoot'](),_0x4f67ea=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x53d56b||0x1==_0x4f67ea['length'])return void(this['pageNumber']=0x1);const _0x3ed026=new ckeditor5['Rect'](_0x53d56b)['excludeScrollbarsAndBorders'](),_0x3aedb3=new ckeditor5['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x5a0bd4=_0x3aedb3['top']+_0x3aedb3['height']/0x3;let _0x47ca84=!0x1;const _0x1fc477=[];for(let _0x5d51fc=0x1;_0x5d51fc<_0x4f67ea['length'];_0x5d51fc++){const _0x1f983a=this['_getPageBreakLineOffset'](_0x5d51fc,_0x3aedb3);if(!_0x1f983a)continue;const _0xa7314d=_0x3aedb3['top']+_0x1f983a-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x1fc477['push']({'pageOffsetTop':_0xa7314d,'domRootRect':_0x3ed026,'domScrollableRect':_0x3aedb3,'pageNumber':_0x5d51fc}),_0xa7314d>_0x5a0bd4&&!_0x47ca84&&(this['pageNumber']=_0x5d51fc,_0x47ca84=!0x0);}this['_renderPageBreakLines'](_0x1fc477),_0x47ca84||(this['pageNumber']=_0x4f67ea['length']);}['_renderPageBreakLines'](_0x1b616b){const {scrollX:_0x23f4be,scrollY:_0x3146b2}=ckeditor5['global']['window'];if(_0x1b616b['length']){for(const {domScrollableRect:_0x2533b1,pageOffsetTop:_0x2b02f2,domRootRect:_0x4b81d6,pageNumber:_0x21edd9}of _0x1b616b)_0x2533b1['top']<_0x2b02f2&&_0x2b02f2<_0x2533b1['bottom']&&this['linesRepository']['showLine'](_0x4b81d6['left']+_0x23f4be,_0x2b02f2+_0x3146b2,_0x4b81d6['width'],_0x21edd9+0x1);}}['_getPageBreakLineOffset'](_0x277fe3,_0x56d88d=null){const _0x45970a=this['_paginationLookupPlugin']['pageBreaks'][_0x277fe3]['offset'];return _0x45970a?(_0x56d88d||(_0x56d88d=new ckeditor5['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x45970a-_0x56d88d['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x34664b,_0x3ef0b3=!0x0){const _0x39801d=this['editor']['editing']['view'];_0x39801d['change'](_0x5dc740=>{for(const _0x51bb9c of _0x39801d['document']['roots'])_0x3ef0b3?_0x5dc740['addClass'](_0x34664b,_0x51bb9c):_0x5dc740['removeClass'](_0x34664b,_0x51bb9c);});}}function findScrollableElement(_0x4f2a16){let _0x296fdb=_0x4f2a16;do{_0x296fdb=_0x296fdb['parentElement'];const _0x40c545=ckeditor5['global']['window']['getComputedStyle'](_0x296fdb)['overflowY'];if('auto'==_0x40c545||'scroll'==_0x40c545)break;}while('BODY'!=_0x296fdb['tagName']);return _0x296fdb;}function getTranslation$7(_0x336fce,_0x5a8e11,..._0x55f5d2){const t=_0x336fce['t'];switch(_0x5a8e11){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)',..._0x55f5d2);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 _0x5a8e11;}}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 _0x5e7e0d=this['editor']['plugins']['get']('Pagination'),_0x2060d3=this['editor']['plugins']['get'](PaginationLookup),_0x3fda5c=this['editor']['plugins']['get'](PaginationRenderer);this['bind']('isEnabled')['to'](_0x5e7e0d),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x3fda5c),this['listenTo'](_0x2060d3,'change:pageBreaks',(_0x32986e,_0x5f0af6,_0x3a4c8a,_0x4b5c6b)=>{this['totalPages']=_0x3a4c8a['length'],this['_updatePageBreakMarkers'](_0x3a4c8a,_0x4b5c6b);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x40bbcd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x32ebca;for(const _0x26382a in _0x40bbcd){const _0x507d48=_0x26382a,_0x5b60be=_0x40bbcd[_0x507d48];if('paginationLicenseKeyValid'==_0x5b60be||'paginationLicenseKeyInvalid'==_0x5b60be||'paginationLicenseKeyExpired'==_0x5b60be||'paginationLicenseKeyDomainLimit'==_0x5b60be||'paginationLicenseKeyNotAllowed'==_0x5b60be||'paginationLicenseKeyEvaluationLimit'==_0x5b60be||'paginationLicenseKeyUsageLimit'==_0x5b60be){delete _0x40bbcd[_0x507d48],_0x32ebca=_0x5b60be,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x32ebca&&_0x40bbcd['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x32ebca&&_0x40bbcd['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x32ebca&&_0x40bbcd['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x32ebca&&_0x40bbcd['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x32ebca&&_0x40bbcd['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x32ebca&&_0x40bbcd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x58956b){if(!this['isEnabled'])return;this['editor']['plugins']['get'](PaginationRenderer)['scrollToPage'](this['_validatePageNumber'](_0x58956b));}['moveSelectionToPage'](_0x4bf4f8){if(!this['isEnabled'])return;const _0x16491b=this['editor'],_0x331b0c=this['editor']['plugins']['get'](PaginationLookup)['pageBreaks'][_0x4bf4f8-0x1];_0x331b0c&&_0x16491b['model']['change'](_0x34ab1c=>{switch(_0x331b0c['type']){case'manual':{const _0x3c892d=_0x16491b['model']['schema']['getNearestSelectionRange'](_0x331b0c['modelRange']['end'],'forward');_0x34ab1c['setSelection'](_0x3c892d);break;}case'element':{const _0x4b76bc=_0x16491b['model']['schema']['getNearestSelectionRange'](_0x331b0c['modelRange']['start'],'forward');_0x34ab1c['setSelection'](_0x4b76bc);break;}case'text':{const _0x5b5684=_0x331b0c['modelRange']['start'];if(_0x5b5684['textNode']&&'\x20'===_0x5b5684['textNode']['data'][_0x5b5684['offset']]){const _0xc11893=_0x34ab1c['createPositionAt'](_0x5b5684['parent'],_0x5b5684['offset']+0x1);_0x34ab1c['setSelection'](_0xc11893);}else _0x34ab1c['setSelection'](_0x331b0c['modelRange']);}}_0x16491b['editing']['view']['focus']();});}['goToNextPage'](){const _0x33d22d=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x33d22d),this['scrollToPage'](_0x33d22d);}['goToPreviousPage'](){const _0x22a774=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x22a774),this['scrollToPage'](_0x22a774);}['_updatePageBreakMarkers'](_0x3e3790,_0x13108b){const _0x1a9d33=this['editor']['model'];this['isEnabled']&&_0x1a9d33['change'](_0x3bcd2a=>{for(let _0x55971d=0x1;_0x55971d<_0x3e3790['length'];_0x55971d++){const _0x5d917e=_0x3e3790[_0x55971d]['modelRange'],_0x64f421='pagination:'+(_0x55971d+0x1);_0x1a9d33['markers']['has'](_0x64f421)?_0x3bcd2a['updateMarker'](_0x64f421,{'range':_0x5d917e}):_0x3bcd2a['addMarker'](_0x64f421,{'range':_0x5d917e,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x20e81a=_0x3e3790['length'];_0x20e81a<_0x13108b['length'];_0x20e81a++){const _0x592771='pagination:'+(_0x20e81a+0x1);_0x1a9d33['markers']['has'](_0x592771)&&_0x3bcd2a['removeMarker'](_0x592771);}});}['_setUpDataDowncastConversion'](){const _0x198b31='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x364535=>{_0x364535['on']('addMarker:'+_0x198b31,(_0x2f0f6a,{markerRange:_0x5533a7,markerName:_0x51c70a},_0x15b063)=>{if(!_0x15b063['options']['pagination'])return;if(!_0x15b063['consumable']['consume'](_0x5533a7,_0x2f0f6a['name']))return;const _0x205a7c=_0x5533a7['getContainedElement']();let _0x4cf185=_0x205a7c?_0x15b063['mapper']['toViewElement'](_0x205a7c):null;if(!_0x4cf185){const _0x10b7a1=_0x5533a7['start'];if(_0x15b063['schema']['checkChild'](_0x10b7a1,'$text')){const _0x166292=_0x15b063['mapper']['toViewPosition'](_0x10b7a1);_0x4cf185=_0x15b063['writer']['createContainerElement']('span'),_0x4cf185['getFillerOffset']=()=>null,_0x15b063['writer']['insert'](_0x166292,_0x4cf185);}else{const _0x20286b=_0x10b7a1['nodeAfter'];_0x4cf185=_0x15b063['mapper']['toViewElement'](_0x20286b);}}for(;_0x4cf185['parent']!==_0x4cf185['root']&&0x0===_0x4cf185['index'];)_0x4cf185=_0x4cf185['parent'];const _0x5447e5=_0x51c70a['substring'](0xb);_0x4cf185['hasClass']('page-break')||(_0x15b063['writer']['setStyle']('page-break-before','always',_0x4cf185),_0x15b063['writer']['setAttribute']('data-pagination-page',_0x5447e5,_0x4cf185),_0x15b063['mapper']['bindElementToMarker'](_0x4cf185,_0x51c70a)),_0x2f0f6a['stop']();});});}['_setupKeystrokes'](){const _0x5afd44=this['editor'];_0x5afd44['keystrokes']['set']('Shift+Pageup',(_0x142339,_0x42a17f)=>{this['goToPreviousPage'](),_0x42a17f();}),_0x5afd44['keystrokes']['set']('Shift+Pagedown',(_0x4bc7e5,_0x4f3bdb)=>{this['goToNextPage'](),_0x4f3bdb();}),_0x5afd44['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':getTranslation$7(_0x5afd44['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':getTranslation$7(_0x5afd44['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':getTranslation$7(_0x5afd44['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x50756f){return _0x50756f<0x1&&(_0x50756f=0x1),_0x50756f>this['totalPages']&&(_0x50756f=this['totalPages']),_0x50756f;}}class PageNavigatorView extends ckeditor5['View']{['pageNumberView'];constructor(_0x2178cd){super(_0x2178cd);const _0xf8eb26=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new ckeditor5['InputNumberView'](_0x2178cd,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x20549b=>getTranslation$7(_0x2178cd,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x20549b)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x2edaad=>!_0x2edaad),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0xf8eb26['if']('isEnabled','ck-disabled',_0x1aeb46=>!_0x1aeb46)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0xf8eb26['to']('totalPages')}]}]});}['render'](){super['render']();const _0x1ca80f=this['pageNumberView']['element'],_0xd47ebe=_0x1d4e01=>{this['pageNumberView']['element']['value']=String(_0x1d4e01);};_0xd47ebe(this['pageNumber']),this['on']('change:pageNumber',(_0x5b846e,_0x14da1f,_0x53b376)=>{_0xd47ebe(_0x53b376);}),this['listenTo'](_0x1ca80f,'keydown',(_0x477b1f,_0x42a58e)=>{if('ArrowUp'===_0x42a58e['key']||'ArrowDown'===_0x42a58e['key'])return void _0x42a58e['stopPropagation']();if(_0x42a58e['keyCode']!==ckeditor5['keyCodes']['enter'])return;_0x42a58e['preventDefault']();const _0x3bf238=_0x1ca80f['valueAsNumber'];Number['isNaN'](_0x3bf238)?_0x1ca80f['value']=String(this['pageNumber']):(_0x1ca80f['checkValidity']()?this['pageNumber']=_0x3bf238:_0x3bf238>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x1ca80f['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x1ca80f['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x1ca80f,'blur',()=>{_0x1ca80f['value']=String(this['pageNumber']);}),this['listenTo'](_0x1ca80f,'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 _0x34c6d0=this['editor'],_0x96edb6=_0x34c6d0['plugins']['get']('PaginationEditing');_0x34c6d0['ui']['componentFactory']['add']('pageNavigation',_0x3f29c8=>{const _0x34ac1f=new PageNavigatorView(_0x3f29c8);return _0x34ac1f['bind']('pageNumber')['to'](_0x96edb6),_0x34ac1f['bind']('totalPages')['to'](_0x96edb6),_0x34ac1f['bind']('isEnabled')['to'](_0x96edb6),_0x34ac1f['on']('navigation',(_0x380cf7,_0x4947c0)=>{_0x96edb6['moveSelectionToPage'](_0x4947c0),_0x96edb6['scrollToPage'](_0x4947c0);}),_0x34ac1f;}),_0x34c6d0['ui']['componentFactory']['add']('nextPage',_0x3a1b59=>{const _0x3a26cc=new ckeditor5['ButtonView'](_0x3a1b59);return _0x3a26cc['isEnabled']=!0x0,_0x3a26cc['label']=getTranslation$7(_0x34c6d0['locale'],'Go\x20to\x20next\x20page'),_0x3a26cc['icon']=ckeditor5['IconArrowDown'],_0x3a26cc['tooltip']=!0x0,_0x3a26cc['keystroke']='Shift+PageDown',_0x3a26cc['bind']('isEnabled')['to'](_0x96edb6),this['listenTo'](_0x3a26cc,'execute',()=>{_0x96edb6['goToNextPage']();}),_0x3a26cc;}),_0x34c6d0['ui']['componentFactory']['add']('previousPage',_0x124fe5=>{const _0x26229f=new ckeditor5['ButtonView'](_0x124fe5);return _0x26229f['isEnabled']=!0x0,_0x26229f['label']=getTranslation$7(_0x34c6d0['locale'],'Go\x20to\x20previous\x20page'),_0x26229f['icon']=ckeditor5['IconArrowUp'],_0x26229f['tooltip']=!0x0,_0x26229f['keystroke']='Shift+PageUp',_0x26229f['bind']('isEnabled')['to'](_0x96edb6),this['listenTo'](_0x26229f,'execute',()=>{_0x96edb6['goToPreviousPage']();}),_0x26229f;});}}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(_0x3b7b4c){super(_0x3b7b4c),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x5cec53=this['editor']['plugins']['get'](PaginationEditing);this['bind']('pageNumber')['to'](_0x5cec53),this['bind']('totalPages')['to'](_0x5cec53),ckeditor5['env']['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x2bfa0b){this['editor']['plugins']['get'](PaginationEditing)['scrollToPage'](_0x2bfa0b);}}const _0x559c3c=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function isMSExcelContent(_0x44c54e){return _0x559c3c['test'](_0x44c54e);}const _0x464134=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function getMatchingStyles(_0x4d1a97,_0x36f7fc){const _0x540a24=new Map();for(const [_0x33ed89,_0x13dc7a]of _0x36f7fc){if(!_0x33ed89['tagName']&&!_0x33ed89['className'])continue;const _0x5e746e=!_0x33ed89['tagName']||_0x4d1a97['name']===_0x33ed89['tagName'],_0x5511a4=!_0x33ed89['className']||_0x4d1a97['hasClass'](_0x33ed89['className']);_0x5e746e&&_0x5511a4&&_0x540a24['set'](_0x33ed89,_0x13dc7a);}return _0x540a24;}function extractStyles(_0x148f1e){const _0x427666={};for(const _0x8442d1 of _0x148f1e)for(const _0x4ea3bd of _0x8442d1['cssRules'])if(_0x4ea3bd instanceof CSSStyleRule){const _0x49ae9b=parseCSSStyleDeclaration(_0x4ea3bd['style']);_0x427666[_0x4ea3bd['selectorText']]=Object['assign']({},_0x427666[_0x4ea3bd['selectorText']]||{},_0x49ae9b);}return _0x427666;}function expandStyles(_0x215ae2){const _0x3d630e=new Map();for(const _0x314a1b in _0x215ae2){const _0x2cf84c=parseCSSSelector(_0x314a1b),_0x406fe1=_0x215ae2[_0x314a1b];for(const _0x4b1234 of _0x2cf84c)_0x3d630e['set'](_0x4b1234,_0x406fe1);}return _0x3d630e;}function parseCSSStyleDeclaration(_0x225a39){const _0x360ce7={};for(let _0x57dba1=0x0;_0x57dba1<_0x225a39['length'];_0x57dba1++){const _0x412b4a=_0x225a39[_0x57dba1],_0x5c858e=_0x225a39['getPropertyValue'](_0x412b4a);'initial'!==_0x5c858e&&(_0x360ce7[_0x412b4a]=_0x5c858e);}return _0x360ce7;}function parseCSSSelector(_0x3a6f0a){const _0x2abdec=_0x3a6f0a['split'](',')['map'](_0x457272=>_0x457272['trim']()),_0x4af6ac=[];for(const _0x29748b of _0x2abdec){const _0x176a15=_0x464134['exec'](_0x29748b);_0x176a15&&_0x4af6ac['push'](_0x176a15['groups']);}return _0x4af6ac;}function flattenStyleDefinitions(_0x361ceb){const _0x4dcca5={};for(const _0x43da4f of _0x361ceb)Object['assign'](_0x4dcca5,_0x43da4f);return _0x4dcca5;}class MSOfficeStylesInliner extends ckeditor5['PasteFromOfficeMSWordNormalizer']{['execute'](_0x588246){const {body:_0x200919,styles:_0x5d8605}=_0x588246['_parsedData'],_0x4bd076=new ckeditor5['ViewUpcastWriter'](_0x200919['document']),_0xb4aee0=_0x4bd076['createRangeIn'](_0x200919),_0x25cdd0=expandStyles(extractStyles(_0x5d8605));for(const _0x919137 of _0xb4aee0){if('elementStart'!==_0x919137['type'])continue;const _0x54e386=getMatchingStyles(_0x919137['item'],_0x25cdd0);if(_0x54e386['size']){const _0x1554cb=flattenStyleDefinitions(Array['from'](_0x54e386['values']()));for(const _0x41f4b7 in _0x1554cb){const _0x35d1a4=_0x919137['item'];_0x35d1a4['hasStyle'](_0x41f4b7)||_0x4bd076['setStyle'](_0x41f4b7,_0x1554cb[_0x41f4b7],_0x35d1a4);}}}_0x588246['content']=_0x200919;}['isActive'](_0x2be948){return super['isActive'](_0x2be948)||isMSExcelContent(_0x2be948);}}class PasteFromOfficeEnhancedInliner extends ckeditor5['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['PasteFromOffice']];}['init'](){const _0x2ab5e4=this['editor'],_0x529501=_0x2ab5e4['plugins']['get']('ClipboardPipeline'),_0x213ad8=_0x2ab5e4['editing']['view']['document'],_0x42f2ae=new MSOfficeStylesInliner(_0x213ad8);_0x529501['on']('inputTransformation',(_0x489910,_0x2894cb)=>{const _0x5ed304=_0x2894cb['dataTransfer']['getData']('text/html');_0x42f2ae['isActive'](_0x5ed304)&&(_0x2894cb['_parsedData']||(_0x2894cb['_parsedData']=ckeditor5['parsePasteOfficeHtml'](_0x5ed304,_0x213ad8['stylesProcessor'])),_0x42f2ae['execute'](_0x2894cb));},{'priority':ckeditor5['priorities']['get']('high')+0xb});}['afterInit'](){_0x1d2fba(this);}}async function _0x1d2fba(_0x196b71){const _0x396a9b=_0x2b8036([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]),_0x2ed2c6=window[_0x2b8036([0x44,0x61,0x74,0x65])][_0x2b8036([0x6e,0x6f,0x77])](),_0x2d2535=_0x196b71[_0x2b8036([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x478ac4=new window[(_0x2b8036([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x374f58=>{_0x2d2535[_0x2b8036([0x6f,0x6e,0x63,0x65])](_0x2b8036([0x72,0x65,0x61,0x64,0x79]),_0x374f58);}),_0x1dcb24={[_0x2b8036([0x6b,0x74,0x79])]:_0x2b8036([0x45,0x43]),[_0x2b8036([0x75,0x73,0x65])]:_0x2b8036([0x73,0x69,0x67]),[_0x2b8036([0x63,0x72,0x76])]:_0x2b8036([0x50,0x2d,0x32,0x35,0x36]),[_0x2b8036([0x78])]:_0x2b8036([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]),[_0x2b8036([0x79])]:_0x2b8036([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]),[_0x2b8036([0x61,0x6c,0x67])]:_0x2b8036([0x45,0x53,0x32,0x35,0x36])},_0x9d528c=_0x2d2535[_0x2b8036([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b8036([0x67,0x65,0x74])](_0x2b8036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x19a4c6=await(async function(){let _0x349f28,_0x27c1f7=null,_0x4da42e=null;try{if(_0x9d528c==_0x2b8036([0x47,0x50,0x4c]))return _0x2b8036([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x349f28=(function(){const _0x1ab495=_0x9d528c[_0x2b8036([0x73,0x70,0x6c,0x69,0x74])](_0x2b8036([0x2e]));if(0x3!=_0x1ab495[_0x2b8036([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x4bd444=_0x1ab495[0x1];return _0x2b5409(_0x4bd444);function _0x2b5409(_0x35e49c){const _0x41d889=_0x4f0b20(_0x35e49c);return _0x41d889&&_0x5af802()?_0x41d889:null;function _0x5af802(){const _0x437b5d=_0x41d889[_0x2b8036([0x6a,0x74,0x69])],_0xc70a8=window[_0x2b8036([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x437b5d[_0x2b8036([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x437b5d[_0x2b8036([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x191bc9={..._0x41d889,[_0x2b8036([0x6a,0x74,0x69])]:_0x437b5d[_0x2b8036([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x437b5d[_0x2b8036([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x191bc9[_0x2b8036([0x76,0x63])],_0xef34f3(_0x191bc9)==_0xc70a8;}}}()),!_0x349f28)return _0x2b8036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x349f28[_0x2b8036([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4da42e=function(_0x5ec2a4,_0x321b69){return new window[(_0x2b8036([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x577348=>{if(_0x315e30())return _0x577348(_0x2b8036([0x56,0x61,0x6c,0x69,0x64]));_0x31317a(),_0x2d2535[_0x2b8036([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b8036([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29f74e=!0x1;const _0x1e2aae=ckeditor5['uid']();function _0x8dc11b(_0x342739){return!!_0x342739&&(typeof _0x342739===_0x2b8036([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x342739===_0x2b8036([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x342739[_0x2b8036([0x74,0x68,0x65,0x6e])]===_0x2b8036([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x342739[_0x2b8036([0x63,0x61,0x74,0x63,0x68])]===_0x2b8036([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xaf9372(_0x6d7997){_0x817f22(_0x6d7997)[_0x2b8036([0x74,0x68,0x65,0x6e])](_0x27f915=>{if(!_0x27f915||_0x27f915[_0x2b8036([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b8036([0x6f,0x6b]))return _0x2b8036([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x324f8b(_0xef34f3(_0x1e2aae+_0x321b69))!=_0x27f915[_0x2b8036([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b8036([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b8036([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b8036([0x74,0x68,0x65,0x6e])](_0x4acf5b=>(_0xcdccae(),_0x4acf5b),()=>{const _0xe903ef=_0x24a0a8();return null==_0xe903ef?(_0xcdccae(),_0x2b8036([0x56,0x61,0x6c,0x69,0x64])):_0x2b8036(_0x2ed2c6-_0xe903ef>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b8036([0x74,0x68,0x65,0x6e])](_0x577348)[_0x2b8036([0x63,0x61,0x74,0x63,0x68])](()=>{_0x577348(_0x2b8036([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x13da1c=0x36ee80;function _0xcdccae(){const _0xaba3ea=_0x2b8036([0x6c,0x6c,0x63,0x74,0x2d])+_0x324f8b(_0xef34f3(_0x5ec2a4)),_0x28c920=_0x1bc59f(_0x324f8b(window[_0x2b8036([0x4d,0x61,0x74,0x68])][_0x2b8036([0x63,0x65,0x69,0x6c])](_0x2ed2c6/_0x13da1c)));window[_0x2b8036([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b8036([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xaba3ea,_0x28c920);}function _0x24a0a8(){const _0x16bb08=_0x2b8036([0x6c,0x6c,0x63,0x74,0x2d])+_0x324f8b(_0xef34f3(_0x5ec2a4)),_0x1cbcb9=window[_0x2b8036([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b8036([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16bb08);return _0x1cbcb9?window[_0x2b8036([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bc59f(_0x1cbcb9),0x10)*_0x13da1c:null;}function _0x817f22(_0x26c35a){return new window[(_0x2b8036([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c3089,_0x3e956a)=>{_0x26c35a[_0x2b8036([0x74,0x68,0x65,0x6e])](_0x4c3089,_0x3e956a),window[_0x2b8036([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e956a,0x1d4c0);});}}_0x2d2535[_0x2b8036([0x6f,0x6e])](_0x2b8036([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd82e99,_0x2cd761)=>{if(_0x2cd761[0x0]!=_0x5ec2a4)return _0x577348(_0x2b8036([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2cd761[0x1]={..._0x2cd761[0x1],[_0x2b8036([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e2aae};},{[_0x2b8036([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b8036([0x68,0x69,0x67,0x68])}),_0x2d2535[_0x2b8036([0x6f,0x6e])](_0x2b8036([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42f07=>{_0x8dc11b(_0x42f07[_0x2b8036([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29f74e=!0x0,_0xaf9372(_0x42f07[_0x2b8036([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b8036([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b8036([0x6c,0x6f,0x77])}),_0x478ac4[_0x2b8036([0x74,0x68,0x65,0x6e])](()=>{_0x29f74e||_0x577348(_0x2b8036([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x315e30(){return _0x2d2535[_0x2b8036([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b8036([0x76,0x69,0x65,0x77])][_0x2b8036([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b8036([0x61,0x75,0x74,0x6f]);}function _0x31317a(){_0x2d2535[_0x2b8036([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b8036([0x76,0x69,0x65,0x77])][_0x2b8036([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b8036([0x61,0x75,0x74,0x6f]);}}(_0x349f28[_0x2b8036([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x349f28[_0x2b8036([0x6a,0x74,0x69])]));const _0x3da489=await(async function(){let _0x3c9a69=!0x0;try{const _0x5f4f69=_0x9d528c[_0x2b8036([0x73,0x70,0x6c,0x69,0x74])](_0x2b8036([0x2e])),[_0xe6df8c,_0x3176a2,_0x2e96f9]=_0x5f4f69;return _0x293ba6(_0xe6df8c),await _0x5071cb(_0xe6df8c,_0x3176a2,_0x2e96f9),_0x3c9a69;}catch{return!0x1;}function _0x293ba6(_0xab5cce){const _0x53486d=_0x4f0b20(_0xab5cce);_0x53486d&&_0x53486d[_0x2b8036([0x61,0x6c,0x67])]==_0x2b8036([0x45,0x53,0x32,0x35,0x36])||(_0x3c9a69=!0x1);}async function _0x5071cb(_0x1a7460,_0xb29abb,_0x36f41c){const _0x48feab=window[_0x2b8036([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b8036([0x66,0x72,0x6f,0x6d])](_0x32ad47(_0x36f41c),_0x485b7d=>_0x485b7d[_0x2b8036([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x36109c=new window[(_0x2b8036([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b8036([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1a7460+_0x2b8036([0x2e])+_0xb29abb),_0x440921=window[_0x2b8036([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b8036([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x440921)return;const _0x501a6f=await _0x440921[_0x2b8036([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b8036([0x6a,0x77,0x6b]),_0x1dcb24,{[_0x2b8036([0x6e,0x61,0x6d,0x65])]:_0x2b8036([0x45,0x43,0x44,0x53,0x41]),[_0x2b8036([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b8036([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b8036([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x440921[_0x2b8036([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b8036([0x6e,0x61,0x6d,0x65])]:_0x2b8036([0x45,0x43,0x44,0x53,0x41]),[_0x2b8036([0x68,0x61,0x73,0x68])]:{[_0x2b8036([0x6e,0x61,0x6d,0x65])]:_0x2b8036([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x501a6f,_0x48feab,_0x36109c)||(_0x3c9a69=!0x1);}}());return _0x3da489?(function(){const _0x29198e=_0x349f28[_0x2b8036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x29198e)return!0x1;if(_0x29198e[_0x2b8036([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b8036([0x2a])))return!0x0;if(_0x29198e[_0x2b8036([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b8036([0x50,0x4f,0x45])))return!0x0;if(_0x29198e[_0x2b8036([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b8036([0x50,0x50])))return!0x0;if(_0x29198e[_0x2b8036([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b8036([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x2b8036([0x67,0x6c,0x6f,0x62])]&&window[_0x2b8036([0x67,0x6c,0x6f,0x62])][_0x2b8036([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x1f17bb=[_0x2b8036([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b8036([0x74,0x72,0x69,0x61,0x6c])][_0x2b8036([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x349f28[_0x2b8036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ed2c6/0x3e8:0x69cb0e80;return _0x349f28[_0x2b8036([0x65,0x78,0x70])]<_0x1f17bb;}())?_0x2b8036([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x5d9213=_0x349f28[_0x2b8036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d9213||0x0==_0x5d9213[_0x2b8036([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x24a6d2}=new URL(window[_0x2b8036([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5d9213[_0x2b8036([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24a6d2))return!0x0;const _0xa74006=_0x24a6d2[_0x2b8036([0x73,0x70,0x6c,0x69,0x74])](_0x2b8036([0x2e]));return _0x5d9213[_0x2b8036([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbe75d4=>_0xbe75d4[_0x2b8036([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b8036([0x2a])))[_0x2b8036([0x6d,0x61,0x70])](_0x3f8f41=>_0x3f8f41[_0x2b8036([0x73,0x70,0x6c,0x69,0x74])](_0x2b8036([0x2e])))[_0x2b8036([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xccb2f2=>_0xccb2f2[_0x2b8036([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xa74006[_0x2b8036([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b8036([0x6d,0x61,0x70])](_0x48b084=>Array(_0xa74006[_0x2b8036([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x48b084[_0x2b8036([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b8036([0x66,0x69,0x6c,0x6c])](_0x48b084[0x0]===_0x2b8036([0x2a])?_0x2b8036([0x2a]):'')[_0x2b8036([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x48b084))[_0x2b8036([0x73,0x6f,0x6d,0x65])](_0x26944e=>_0xa74006[_0x2b8036([0x65,0x76,0x65,0x72,0x79])]((_0x53d43c,_0x3b108b)=>_0x26944e[_0x3b108b]===_0x53d43c||_0x26944e[_0x3b108b]===_0x2b8036([0x2a])));}())?(_0x349f28[_0x2b8036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b8036([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x27c1f7=function(_0x4531c2){const _0x24d3a3=new window[(_0x2b8036([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46dd6e=>setTimeout(_0x46dd6e,0x93ecc)),_0x55a11a=_0x478ac4[_0x2b8036([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b8036([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x383703=>{let _0x18f282=0x0;_0x2d2535[_0x2b8036([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b8036([0x6f,0x6e])](_0x2b8036([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x557c75,_0x5c18ff)=>{_0x5c18ff[0x0][_0x2b8036([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18f282++,0x5e8==_0x18f282&&(_0x383703(),_0x557c75[_0x2b8036([0x6f,0x66,0x66])]());});})),_0x212704=[_0x24d3a3,_0x55a11a];return window[_0x2b8036([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b8036([0x72,0x61,0x63,0x65])](_0x212704)[_0x2b8036([0x74,0x68,0x65,0x6e])](()=>_0x4531c2);}(_0x2b8036([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x27c1f7&&_0x4da42e)return new window[(_0x2b8036([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x210e51,_0x4ecff7)=>{_0x27c1f7[_0x2b8036([0x74,0x68,0x65,0x6e])](_0x210e51,_0x4ecff7),_0x4da42e[_0x2b8036([0x74,0x68,0x65,0x6e])](_0x3875d8=>{_0x3875d8!=_0x2b8036([0x56,0x61,0x6c,0x69,0x64])&&_0x210e51(_0x3875d8);},_0x4ecff7);});return _0x27c1f7||_0x4da42e||_0x2b8036([0x56,0x61,0x6c,0x69,0x64]);}())):_0x2b8036([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b8036([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b8036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b8036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4f0b20(_0x54584b){return _0x54584b[_0x2b8036([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b8036([0x65,0x79]))?JSON[_0x2b8036([0x70,0x61,0x72,0x73,0x65])](_0x32ad47(_0x54584b)):null;}function _0x32ad47(_0x110cbe){return window[_0x2b8036([0x61,0x74,0x6f,0x62])](_0x110cbe[_0x2b8036([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b8036([0x2b]))[_0x2b8036([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b8036([0x2f])));}function _0xef34f3(_0x38a0b6){let _0xa203a4=0x1505;function _0x9ae81e(_0x48ae3d){for(let _0x5c5a65=0x0;_0x5c5a65<_0x48ae3d[_0x2b8036([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c5a65++){const _0x2ccd07=_0x48ae3d[_0x2b8036([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c5a65);_0xa203a4=(_0xa203a4<<0x5)+_0xa203a4+_0x2ccd07,_0xa203a4&=_0xa203a4;}}return function _0x26e790(_0x39bf36){Array[_0x2b8036([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x39bf36)?_0x39bf36[_0x2b8036([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x26e790):_0x39bf36&&typeof _0x39bf36==_0x2b8036([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b8036([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x39bf36)[_0x2b8036([0x73,0x6f,0x72,0x74])]()[_0x2b8036([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1b020b,_0x257a88])=>{_0x9ae81e(_0x1b020b),_0x26e790(_0x257a88);}):_0x9ae81e(window[_0x2b8036([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x39bf36));}(_0x38a0b6),_0xa203a4>>>0x0;}function _0x324f8b(_0x1a053f){return _0x1a053f[_0x2b8036([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b8036([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b8036([0x30]));}function _0x1bc59f(_0x313907){return _0x313907[_0x2b8036([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b8036([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b8036([0x6a,0x6f,0x69,0x6e])]('');}function _0x206085(){}function _0x2b8036(_0x59534a){return _0x59534a['map'](_0x280607=>String['fromCharCode'](_0x280607))['join']('');}!function(_0x160226){const _0x2a7fbb=(function(){const _0x2485c5=window[_0x2b8036([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b8036([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b8036([0x6e,0x6f,0x77])]())[_0x2b8036([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b8036([0x2e]),'');let _0xa4e0d3=_0x2b8036([0x73]);for(let _0x16c8f0=0x0;_0x16c8f0<_0x2485c5[_0x2b8036([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16c8f0+=0x2){let _0x33d625=window[_0x2b8036([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2485c5[_0x2b8036([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16c8f0,_0x16c8f0+0x2));_0x33d625>=_0x396a9b[_0x2b8036([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x33d625-=_0x396a9b[_0x2b8036([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa4e0d3+=_0x396a9b[_0x33d625];}return _0xa4e0d3;}());_0x2d2535[_0x2a7fbb]=_0x2b8036([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])+_0x160226,_0x160226!=_0x2b8036([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x478ac4,_0x2d2535[_0x2b8036([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b8036([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x206085,_0x2d2535[_0x2b8036([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b8036([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x206085,_0x2d2535[_0x2b8036([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b8036([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x19a4c6);}const _0x5bb49a=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],_0x9bc7a6=['color','font-family','font-size'],_0x88068={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x15542c=>Number(_0x15542c)>=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(_0x58e47c){return _0x5bb49a['includes'](_0x58e47c);}function isPropertyToBePropagatedAsSpan(_0x19cb4f){return _0x9bc7a6['includes'](_0x19cb4f);}function isPropertyToBePropagatedAsHTMLElement(_0x429405){return _0x429405 in _0x88068;}function getStylePropertyNamesToPropagate(_0x4ecff4){return Array['from'](_0x4ecff4['getStyleNames']())['filter'](isPropertyToBePropagated);}function propagateStyleProperties(_0x581e0a,_0x12f7fb,_0x152678){const {spanStyles:_0x26cd76,stylesToBeHtmlElements:_0x538b05}=getStylesToPropagate(_0x581e0a,_0x152678);propagateStylesAsHTMLElements(_0x581e0a,_0x12f7fb,_0x538b05),propagateStylesAsSpan(_0x581e0a,_0x12f7fb,_0x26cd76);}function propagateStylesAsHTMLElements(_0x53771b,_0x258b8a,_0xcd411a){for(const _0x36c76e in _0xcd411a){_0xcd411a[_0x36c76e]['forEach'](([,_0x115561])=>{const _0x367e37=_0x258b8a['createElement'](_0x115561,[],_0x53771b['getChildren']());_0x258b8a['insertChild'](0x0,_0x367e37,_0x53771b);}),_0x258b8a['removeStyle'](_0x36c76e,_0x53771b);}}function propagateStylesAsSpan(_0x107821,_0x3e9573,_0x1225e1){if(!Object['keys'](_0x1225e1)['length'])return;const _0x1a3ced=_0x3e9573['createElement']('span',[],_0x107821['getChildren']());_0x3e9573['setStyle'](_0x1225e1,_0x1a3ced),_0x3e9573['insertChild'](0x0,_0x1a3ced,_0x107821),_0x3e9573['removeStyle'](Object['keys'](_0x1225e1),_0x107821);}function getStylesToPropagate(_0x404ff0,_0x3915c6){const _0x28174d={},_0x42ed31={};return _0x3915c6['forEach'](_0x1dc77b=>{const _0x40a1fd=_0x404ff0['getStyle'](_0x1dc77b);if(_0x40a1fd){if(isPropertyToBePropagatedAsSpan(_0x1dc77b))_0x28174d[_0x1dc77b]=_0x40a1fd;else{if(isPropertyToBePropagatedAsHTMLElement(_0x1dc77b)){const _0x77c8b7=_0x40a1fd['split']('\x20');_0x88068[_0x1dc77b]['forEach'](([_0x1cc75e,_0x1d17d2])=>{for(const _0x3bf967 of _0x77c8b7){('function'==typeof _0x1cc75e&&_0x1cc75e(_0x3bf967)||_0x1cc75e===_0x3bf967)&&(_0x42ed31[_0x1dc77b]=[..._0x42ed31[_0x1dc77b]||[],[_0x1cc75e,_0x1d17d2]]);}});}}}}),{'spanStyles':_0x28174d,'stylesToBeHtmlElements':_0x42ed31};}class MSOfficeInlineStylePropagator extends ckeditor5['PasteFromOfficeMSWordNormalizer']{['execute'](_0x23f27a){const {body:_0x30782b}=_0x23f27a['_parsedData'],_0x50d3fb=new ckeditor5['ViewUpcastWriter'](_0x30782b['document']),_0x49a1da=_0x50d3fb['createRangeIn'](_0x30782b),_0x237b2e=new ckeditor5['ViewDocument'](_0x50d3fb['document']['stylesProcessor']),_0x33a3e2=[...new ckeditor5['ViewDomConverter'](_0x237b2e)['blockElements'],'font'],_0x46436a=_0x49a1da['getItems']();for(const _0x5c36aa of _0x46436a)_0x5c36aa['is']('element')&&_0x33a3e2['includes'](_0x5c36aa['name'])&&propagateStyleProperties(_0x5c36aa,_0x50d3fb,getStylePropertyNamesToPropagate(_0x5c36aa));_0x23f27a['content']=_0x30782b;}['isActive'](_0x3bf58d){return super['isActive'](_0x3bf58d)||isMSExcelContent(_0x3bf58d);}}class PasteFromOfficeEnhancedPropagator extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['PasteFromOffice']];}['init'](){const _0x5d92f4=this['editor'],_0x52ec92=_0x5d92f4['plugins']['get']('ClipboardPipeline'),_0x1bc1bc=_0x5d92f4['editing']['view']['document'],_0x4329ed=new MSOfficeInlineStylePropagator(_0x1bc1bc);_0x52ec92['on']('inputTransformation',(_0x52c989,_0x8e251d)=>{const _0x520b7f=_0x8e251d['dataTransfer']['getData']('text/html');_0x4329ed['isActive'](_0x520b7f)&&(_0x8e251d['_parsedData']||(_0x8e251d['_parsedData']=ckeditor5['parsePasteOfficeHtml'](_0x520b7f,_0x1bc1bc['stylesProcessor'])),_0x4329ed['execute'](_0x8e251d));},{'priority':ckeditor5['priorities']['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5bf493=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x36691d;for(const _0x548ece in _0x5bf493){const _0x234b35=_0x548ece,_0x34e863=_0x5bf493[_0x234b35];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x34e863||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x34e863||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x34e863||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x34e863||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x34e863||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x34e863||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x34e863){delete _0x5bf493[_0x234b35],_0x36691d=_0x34e863,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x36691d&&_0x5bf493['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x36691d&&_0x5bf493['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x36691d&&_0x5bf493['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x36691d&&_0x5bf493['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x36691d&&_0x5bf493['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x36691d&&_0x5bf493['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class PasteFromOfficeEnhanced extends ckeditor5['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['PasteFromOffice'],PasteFromOfficeEnhancedInliner,PasteFromOfficeEnhancedPropagator];}}var _0x1ff5f0='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{},_0x113cb0={},_0xe1d3ca={},_0x132d18,_0x5a30a0;function requireAspromise(){if(_0x5a30a0)return _0x132d18;return _0x5a30a0=0x1,_0x132d18=function(_0x1339a8,_0x5a72c6){var _0x91289a=new Array(arguments['length']-0x1),_0x2c4a27=0x0,_0x536d08=0x2,_0x197eee=!0x0;for(;_0x536d08<arguments['length'];)_0x91289a[_0x2c4a27++]=arguments[_0x536d08++];return new Promise(function(_0x134501,_0xebd73){_0x91289a[_0x2c4a27]=function(_0x3142fb){if(_0x197eee){if(_0x197eee=!0x1,_0x3142fb)_0xebd73(_0x3142fb);else{for(var _0x592d94=new Array(arguments['length']-0x1),_0x57ebad=0x0;_0x57ebad<_0x592d94['length'];)_0x592d94[_0x57ebad++]=arguments[_0x57ebad];_0x134501['apply'](null,_0x592d94);}}};try{_0x1339a8['apply'](_0x5a72c6||null,_0x91289a);}catch(_0x4eab3){_0x197eee&&(_0x197eee=!0x1,_0xebd73(_0x4eab3));}});},_0x132d18;}var _0x5b27a4={},_0x541830,eventemitter,hasRequiredEventemitter,float,hasRequiredFloat,_0x368b31,_0x43a777;function requireBase64(){return _0x541830||(_0x541830=0x1,function(_0x28a557){var _0x19ef03=_0x28a557;_0x19ef03['length']=function(_0x28baaa){var _0xa2d042=_0x28baaa['length'];if(!_0xa2d042)return 0x0;for(var _0x13eb05=0x0;--_0xa2d042%0x4>0x1&&'='===_0x28baaa['charAt'](_0xa2d042);)++_0x13eb05;return Math['ceil'](0x3*_0x28baaa['length'])/0x4-_0x13eb05;};for(var _0x3531d4=new Array(0x40),_0x9ca0d3=new Array(0x7b),_0xf594a=0x0;_0xf594a<0x40;)_0x9ca0d3[_0x3531d4[_0xf594a]=_0xf594a<0x1a?_0xf594a+0x41:_0xf594a<0x34?_0xf594a+0x47:_0xf594a<0x3e?_0xf594a-0x4:_0xf594a-0x3b|0x2b]=_0xf594a++;_0x19ef03['encode']=function(_0x53e836,_0xbee78b,_0x4cd083){for(var t,_0x46daf4=null,_0x424a61=[],_0x501f2e=0x0,_0x5a83e3=0x0;_0xbee78b<_0x4cd083;){var _0x348f11=_0x53e836[_0xbee78b++];switch(_0x5a83e3){case 0x0:_0x424a61[_0x501f2e++]=_0x3531d4[_0x348f11>>0x2],t=(0x3&_0x348f11)<<0x4,_0x5a83e3=0x1;break;case 0x1:_0x424a61[_0x501f2e++]=_0x3531d4[t|_0x348f11>>0x4],t=(0xf&_0x348f11)<<0x2,_0x5a83e3=0x2;break;case 0x2:_0x424a61[_0x501f2e++]=_0x3531d4[t|_0x348f11>>0x6],_0x424a61[_0x501f2e++]=_0x3531d4[0x3f&_0x348f11],_0x5a83e3=0x0;}_0x501f2e>0x1fff&&((_0x46daf4||(_0x46daf4=[]))['push'](String['fromCharCode']['apply'](String,_0x424a61)),_0x501f2e=0x0);}return _0x5a83e3&&(_0x424a61[_0x501f2e++]=_0x3531d4[t],_0x424a61[_0x501f2e++]=0x3d,0x1===_0x5a83e3&&(_0x424a61[_0x501f2e++]=0x3d)),_0x46daf4?(_0x501f2e&&_0x46daf4['push'](String['fromCharCode']['apply'](String,_0x424a61['slice'](0x0,_0x501f2e))),_0x46daf4['join']('')):String['fromCharCode']['apply'](String,_0x424a61['slice'](0x0,_0x501f2e));};var _0x27837a='invalid\x20encoding';_0x19ef03['decode']=function(_0x2a5a6b,_0xb62a37,_0x45c2c7){for(var t,_0x290ae4=_0x45c2c7,_0xf9cc73=0x0,_0x792060=0x0;_0x792060<_0x2a5a6b['length'];){var _0x59a154=_0x2a5a6b['charCodeAt'](_0x792060++);if(0x3d===_0x59a154&&_0xf9cc73>0x1)break;if(void 0x0===(_0x59a154=_0x9ca0d3[_0x59a154]))throw Error(_0x27837a);switch(_0xf9cc73){case 0x0:t=_0x59a154,_0xf9cc73=0x1;break;case 0x1:_0xb62a37[_0x45c2c7++]=t<<0x2|(0x30&_0x59a154)>>0x4,t=_0x59a154,_0xf9cc73=0x2;break;case 0x2:_0xb62a37[_0x45c2c7++]=(0xf&t)<<0x4|(0x3c&_0x59a154)>>0x2,t=_0x59a154,_0xf9cc73=0x3;break;case 0x3:_0xb62a37[_0x45c2c7++]=(0x3&t)<<0x6|_0x59a154,_0xf9cc73=0x0;}}if(0x1===_0xf9cc73)throw Error(_0x27837a);return _0x45c2c7-_0x290ae4;},_0x19ef03['test']=function(_0x47133c){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x47133c);};}(_0x5b27a4)),_0x5b27a4;}function requireEventemitter(){if(hasRequiredEventemitter)return eventemitter;function _0x33578a(){this['_listeners']={};}return hasRequiredEventemitter=0x1,eventemitter=_0x33578a,_0x33578a['prototype']['on']=function(_0x23dd11,_0x11f872,_0x50f569){return(this['_listeners'][_0x23dd11]||(this['_listeners'][_0x23dd11]=[]))['push']({'fn':_0x11f872,'ctx':_0x50f569||this}),this;},_0x33578a['prototype']['off']=function(_0x17c242,_0x1ff539){if(void 0x0===_0x17c242)this['_listeners']={};else{if(void 0x0===_0x1ff539)this['_listeners'][_0x17c242]=[];else{for(var _0x2230e6=this['_listeners'][_0x17c242],_0x4ce240=0x0;_0x4ce240<_0x2230e6['length'];)_0x2230e6[_0x4ce240]['fn']===_0x1ff539?_0x2230e6['splice'](_0x4ce240,0x1):++_0x4ce240;}}return this;},_0x33578a['prototype']['emit']=function(_0x2c2540){var _0x22cacd=this['_listeners'][_0x2c2540];if(_0x22cacd){for(var _0x1fbf15=[],_0x3f8458=0x1;_0x3f8458<arguments['length'];)_0x1fbf15['push'](arguments[_0x3f8458++]);for(_0x3f8458=0x0;_0x3f8458<_0x22cacd['length'];)_0x22cacd[_0x3f8458]['fn']['apply'](_0x22cacd[_0x3f8458++]['ctx'],_0x1fbf15);}return this;},eventemitter;}function requireFloat(){if(hasRequiredFloat)return float;function _0x18b070(_0x355be2){return'undefined'!=typeof Float32Array?(function(){var _0x2e2154=new Float32Array([-0x0]),_0x26ff69=new Uint8Array(_0x2e2154['buffer']),_0x28bf30=0x80===_0x26ff69[0x3];function _0x19d725(_0x26c630,_0xc4dc23,_0x5680a2){_0x2e2154[0x0]=_0x26c630,_0xc4dc23[_0x5680a2]=_0x26ff69[0x0],_0xc4dc23[_0x5680a2+0x1]=_0x26ff69[0x1],_0xc4dc23[_0x5680a2+0x2]=_0x26ff69[0x2],_0xc4dc23[_0x5680a2+0x3]=_0x26ff69[0x3];}function _0x5b9519(_0xa47cce,_0x2ffaaf,_0x5692ca){_0x2e2154[0x0]=_0xa47cce,_0x2ffaaf[_0x5692ca]=_0x26ff69[0x3],_0x2ffaaf[_0x5692ca+0x1]=_0x26ff69[0x2],_0x2ffaaf[_0x5692ca+0x2]=_0x26ff69[0x1],_0x2ffaaf[_0x5692ca+0x3]=_0x26ff69[0x0];}function _0x54ea6d(_0x2b70f7,_0x5babe1){return _0x26ff69[0x0]=_0x2b70f7[_0x5babe1],_0x26ff69[0x1]=_0x2b70f7[_0x5babe1+0x1],_0x26ff69[0x2]=_0x2b70f7[_0x5babe1+0x2],_0x26ff69[0x3]=_0x2b70f7[_0x5babe1+0x3],_0x2e2154[0x0];}function _0x2d1ca4(_0x48af05,_0x23a23e){return _0x26ff69[0x3]=_0x48af05[_0x23a23e],_0x26ff69[0x2]=_0x48af05[_0x23a23e+0x1],_0x26ff69[0x1]=_0x48af05[_0x23a23e+0x2],_0x26ff69[0x0]=_0x48af05[_0x23a23e+0x3],_0x2e2154[0x0];}_0x355be2['writeFloatLE']=_0x28bf30?_0x19d725:_0x5b9519,_0x355be2['writeFloatBE']=_0x28bf30?_0x5b9519:_0x19d725,_0x355be2['readFloatLE']=_0x28bf30?_0x54ea6d:_0x2d1ca4,_0x355be2['readFloatBE']=_0x28bf30?_0x2d1ca4:_0x54ea6d;}()):(function(){function _0x4602f0(_0x160f61,_0x390efc,_0x466a55,_0x2f4210){var _0x13af91=_0x390efc<0x0?0x1:0x0;if(_0x13af91&&(_0x390efc=-_0x390efc),0x0===_0x390efc)_0x160f61(0x1/_0x390efc>0x0?0x0:0x80000000,_0x466a55,_0x2f4210);else{if(isNaN(_0x390efc))_0x160f61(0x7fc00000,_0x466a55,_0x2f4210);else{if(_0x390efc>0xffffff00000000000000000000000000)_0x160f61((_0x13af91<<0x1f|0x7f800000)>>>0x0,_0x466a55,_0x2f4210);else{if(_0x390efc<1.1754943508222875e-38)_0x160f61((_0x13af91<<0x1f|Math['round'](_0x390efc/1.401298464324817e-45))>>>0x0,_0x466a55,_0x2f4210);else{var _0x56c664=Math['floor'](Math['log'](_0x390efc)/Math['LN2']);_0x160f61((_0x13af91<<0x1f|_0x56c664+0x7f<<0x17|0x7fffff&Math['round'](_0x390efc*Math['pow'](0x2,-_0x56c664)*0x800000))>>>0x0,_0x466a55,_0x2f4210);}}}}}function _0x43f88e(_0x21c391,_0x5b39ea,_0x3c9f9a){var _0x443017=_0x21c391(_0x5b39ea,_0x3c9f9a),_0x8440e1=0x2*(_0x443017>>0x1f)+0x1,_0x2c172f=_0x443017>>>0x17&0xff,_0x3ade55=0x7fffff&_0x443017;return 0xff===_0x2c172f?_0x3ade55?NaN:_0x8440e1*(0x1/0x0):0x0===_0x2c172f?1.401298464324817e-45*_0x8440e1*_0x3ade55:_0x8440e1*Math['pow'](0x2,_0x2c172f-0x96)*(_0x3ade55+0x800000);}_0x355be2['writeFloatLE']=_0x4602f0['bind'](null,_0x4d5573),_0x355be2['writeFloatBE']=_0x4602f0['bind'](null,_0x3b1aac),_0x355be2['readFloatLE']=_0x43f88e['bind'](null,_0x1d5118),_0x355be2['readFloatBE']=_0x43f88e['bind'](null,_0x3a9fee);}()),'undefined'!=typeof Float64Array?(function(){var _0x55fda0=new Float64Array([-0x0]),_0x570fbf=new Uint8Array(_0x55fda0['buffer']),_0x1bb96c=0x80===_0x570fbf[0x7];function _0x4c9086(_0x14e733,_0x561045,_0x32ce34){_0x55fda0[0x0]=_0x14e733,_0x561045[_0x32ce34]=_0x570fbf[0x0],_0x561045[_0x32ce34+0x1]=_0x570fbf[0x1],_0x561045[_0x32ce34+0x2]=_0x570fbf[0x2],_0x561045[_0x32ce34+0x3]=_0x570fbf[0x3],_0x561045[_0x32ce34+0x4]=_0x570fbf[0x4],_0x561045[_0x32ce34+0x5]=_0x570fbf[0x5],_0x561045[_0x32ce34+0x6]=_0x570fbf[0x6],_0x561045[_0x32ce34+0x7]=_0x570fbf[0x7];}function _0x1f2181(_0x50d4a9,_0x1a187c,_0x180cce){_0x55fda0[0x0]=_0x50d4a9,_0x1a187c[_0x180cce]=_0x570fbf[0x7],_0x1a187c[_0x180cce+0x1]=_0x570fbf[0x6],_0x1a187c[_0x180cce+0x2]=_0x570fbf[0x5],_0x1a187c[_0x180cce+0x3]=_0x570fbf[0x4],_0x1a187c[_0x180cce+0x4]=_0x570fbf[0x3],_0x1a187c[_0x180cce+0x5]=_0x570fbf[0x2],_0x1a187c[_0x180cce+0x6]=_0x570fbf[0x1],_0x1a187c[_0x180cce+0x7]=_0x570fbf[0x0];}function _0x5c7ab4(_0xf3f848,_0x542fb5){return _0x570fbf[0x0]=_0xf3f848[_0x542fb5],_0x570fbf[0x1]=_0xf3f848[_0x542fb5+0x1],_0x570fbf[0x2]=_0xf3f848[_0x542fb5+0x2],_0x570fbf[0x3]=_0xf3f848[_0x542fb5+0x3],_0x570fbf[0x4]=_0xf3f848[_0x542fb5+0x4],_0x570fbf[0x5]=_0xf3f848[_0x542fb5+0x5],_0x570fbf[0x6]=_0xf3f848[_0x542fb5+0x6],_0x570fbf[0x7]=_0xf3f848[_0x542fb5+0x7],_0x55fda0[0x0];}function _0x1ea53a(_0x384dbe,_0x27a866){return _0x570fbf[0x7]=_0x384dbe[_0x27a866],_0x570fbf[0x6]=_0x384dbe[_0x27a866+0x1],_0x570fbf[0x5]=_0x384dbe[_0x27a866+0x2],_0x570fbf[0x4]=_0x384dbe[_0x27a866+0x3],_0x570fbf[0x3]=_0x384dbe[_0x27a866+0x4],_0x570fbf[0x2]=_0x384dbe[_0x27a866+0x5],_0x570fbf[0x1]=_0x384dbe[_0x27a866+0x6],_0x570fbf[0x0]=_0x384dbe[_0x27a866+0x7],_0x55fda0[0x0];}_0x355be2['writeDoubleLE']=_0x1bb96c?_0x4c9086:_0x1f2181,_0x355be2['writeDoubleBE']=_0x1bb96c?_0x1f2181:_0x4c9086,_0x355be2['readDoubleLE']=_0x1bb96c?_0x5c7ab4:_0x1ea53a,_0x355be2['readDoubleBE']=_0x1bb96c?_0x1ea53a:_0x5c7ab4;}()):(function(){function _0x37dde1(_0x260f21,_0x18ac8c,_0x309f3a,_0x110777,_0x5fe1e1,_0x4bc031){var _0x40af77=_0x110777<0x0?0x1:0x0;if(_0x40af77&&(_0x110777=-_0x110777),0x0===_0x110777)_0x260f21(0x0,_0x5fe1e1,_0x4bc031+_0x18ac8c),_0x260f21(0x1/_0x110777>0x0?0x0:0x80000000,_0x5fe1e1,_0x4bc031+_0x309f3a);else{if(isNaN(_0x110777))_0x260f21(0x0,_0x5fe1e1,_0x4bc031+_0x18ac8c),_0x260f21(0x7ff80000,_0x5fe1e1,_0x4bc031+_0x309f3a);else{if(_0x110777>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x260f21(0x0,_0x5fe1e1,_0x4bc031+_0x18ac8c),_0x260f21((_0x40af77<<0x1f|0x7ff00000)>>>0x0,_0x5fe1e1,_0x4bc031+_0x309f3a);else{var _0x389175;if(_0x110777<2.2250738585072014e-308)_0x260f21((_0x389175=_0x110777/5e-324)>>>0x0,_0x5fe1e1,_0x4bc031+_0x18ac8c),_0x260f21((_0x40af77<<0x1f|_0x389175/0x100000000)>>>0x0,_0x5fe1e1,_0x4bc031+_0x309f3a);else{var _0x129d79=Math['floor'](Math['log'](_0x110777)/Math['LN2']);0x400===_0x129d79&&(_0x129d79=0x3ff),_0x260f21(0x10000000000000*(_0x389175=_0x110777*Math['pow'](0x2,-_0x129d79))>>>0x0,_0x5fe1e1,_0x4bc031+_0x18ac8c),_0x260f21((_0x40af77<<0x1f|_0x129d79+0x3ff<<0x14|0x100000*_0x389175&0xfffff)>>>0x0,_0x5fe1e1,_0x4bc031+_0x309f3a);}}}}}function _0x504398(_0x370283,_0x56bcd6,_0x3f5c8a,_0x98b49a,_0x1d781b){var _0x51cf28=_0x370283(_0x98b49a,_0x1d781b+_0x56bcd6),_0x2ebfc1=_0x370283(_0x98b49a,_0x1d781b+_0x3f5c8a),_0x3ab4a5=0x2*(_0x2ebfc1>>0x1f)+0x1,_0x328b3a=_0x2ebfc1>>>0x14&0x7ff,_0x5271c9=0x100000000*(0xfffff&_0x2ebfc1)+_0x51cf28;return 0x7ff===_0x328b3a?_0x5271c9?NaN:_0x3ab4a5*(0x1/0x0):0x0===_0x328b3a?5e-324*_0x3ab4a5*_0x5271c9:_0x3ab4a5*Math['pow'](0x2,_0x328b3a-0x433)*(_0x5271c9+0x10000000000000);}_0x355be2['writeDoubleLE']=_0x37dde1['bind'](null,_0x4d5573,0x0,0x4),_0x355be2['writeDoubleBE']=_0x37dde1['bind'](null,_0x3b1aac,0x4,0x0),_0x355be2['readDoubleLE']=_0x504398['bind'](null,_0x1d5118,0x0,0x4),_0x355be2['readDoubleBE']=_0x504398['bind'](null,_0x3a9fee,0x4,0x0);}()),_0x355be2;}function _0x4d5573(_0x558562,_0x6917f5,_0x498313){_0x6917f5[_0x498313]=0xff&_0x558562,_0x6917f5[_0x498313+0x1]=_0x558562>>>0x8&0xff,_0x6917f5[_0x498313+0x2]=_0x558562>>>0x10&0xff,_0x6917f5[_0x498313+0x3]=_0x558562>>>0x18;}function _0x3b1aac(_0x35c246,_0x15aac9,_0xa2ada6){_0x15aac9[_0xa2ada6]=_0x35c246>>>0x18,_0x15aac9[_0xa2ada6+0x1]=_0x35c246>>>0x10&0xff,_0x15aac9[_0xa2ada6+0x2]=_0x35c246>>>0x8&0xff,_0x15aac9[_0xa2ada6+0x3]=0xff&_0x35c246;}function _0x1d5118(_0x463bc3,_0x2d280e){return(_0x463bc3[_0x2d280e]|_0x463bc3[_0x2d280e+0x1]<<0x8|_0x463bc3[_0x2d280e+0x2]<<0x10|_0x463bc3[_0x2d280e+0x3]<<0x18)>>>0x0;}function _0x3a9fee(_0x29c334,_0x50593d){return(_0x29c334[_0x50593d]<<0x18|_0x29c334[_0x50593d+0x1]<<0x10|_0x29c334[_0x50593d+0x2]<<0x8|_0x29c334[_0x50593d+0x3])>>>0x0;}return hasRequiredFloat=0x1,float=_0x18b070(_0x18b070);}function requireInquire(){if(_0x43a777)return _0x368b31;function _0x8c7ff5(_0x151d48){try{var _0x4bd816=eval('quire'['replace'](/^/,'re'))(_0x151d48);if(_0x4bd816&&(_0x4bd816['length']||Object['keys'](_0x4bd816)['length']))return _0x4bd816;}catch(_0x5b56c0){}return null;}return _0x43a777=0x1,_0x368b31=_0x8c7ff5,_0x368b31;}var utf8={},hasRequiredUtf8,_0x49b90a,_0x377737,longbits,hasRequiredLongbits,_0x3ee2e4,writer,hasRequiredWriter,writer_buffer,hasRequiredWriter_buffer,_0x6c5d26,_0x1a254f,_0x18c76f,_0xcfd599;function requireUtf8(){return hasRequiredUtf8||(hasRequiredUtf8=0x1,function(_0x5ceb1f){var _0x22cd72=_0x5ceb1f;_0x22cd72['length']=function(_0x1ecb03){for(var _0x25ab6f=0x0,_0x143e36=0x0,_0x573d9e=0x0;_0x573d9e<_0x1ecb03['length'];++_0x573d9e)(_0x143e36=_0x1ecb03['charCodeAt'](_0x573d9e))<0x80?_0x25ab6f+=0x1:_0x143e36<0x800?_0x25ab6f+=0x2:0xd800==(0xfc00&_0x143e36)&&0xdc00==(0xfc00&_0x1ecb03['charCodeAt'](_0x573d9e+0x1))?(++_0x573d9e,_0x25ab6f+=0x4):_0x25ab6f+=0x3;return _0x25ab6f;},_0x22cd72['read']=function(_0x6c25fb,_0x298864,_0x5a2c40){if(_0x5a2c40-_0x298864<0x1)return'';for(var t,_0x189fac=null,_0xd4d5bf=[],_0x442b16=0x0;_0x298864<_0x5a2c40;)(t=_0x6c25fb[_0x298864++])<0x80?_0xd4d5bf[_0x442b16++]=t:t>0xbf&&t<0xe0?_0xd4d5bf[_0x442b16++]=(0x1f&t)<<0x6|0x3f&_0x6c25fb[_0x298864++]:t>0xef&&t<0x16d?(t=((0x7&t)<<0x12|(0x3f&_0x6c25fb[_0x298864++])<<0xc|(0x3f&_0x6c25fb[_0x298864++])<<0x6|0x3f&_0x6c25fb[_0x298864++])-0x10000,_0xd4d5bf[_0x442b16++]=0xd800+(t>>0xa),_0xd4d5bf[_0x442b16++]=0xdc00+(0x3ff&t)):_0xd4d5bf[_0x442b16++]=(0xf&t)<<0xc|(0x3f&_0x6c25fb[_0x298864++])<<0x6|0x3f&_0x6c25fb[_0x298864++],_0x442b16>0x1fff&&((_0x189fac||(_0x189fac=[]))['push'](String['fromCharCode']['apply'](String,_0xd4d5bf)),_0x442b16=0x0);return _0x189fac?(_0x442b16&&_0x189fac['push'](String['fromCharCode']['apply'](String,_0xd4d5bf['slice'](0x0,_0x442b16))),_0x189fac['join']('')):String['fromCharCode']['apply'](String,_0xd4d5bf['slice'](0x0,_0x442b16));},_0x22cd72['write']=function(_0x36dea8,_0x1b52bc,_0x966012){for(var _0x405d2a,_0x55f6e8,_0x238f47=_0x966012,_0x5465c9=0x0;_0x5465c9<_0x36dea8['length'];++_0x5465c9)(_0x405d2a=_0x36dea8['charCodeAt'](_0x5465c9))<0x80?_0x1b52bc[_0x966012++]=_0x405d2a:_0x405d2a<0x800?(_0x1b52bc[_0x966012++]=_0x405d2a>>0x6|0xc0,_0x1b52bc[_0x966012++]=0x3f&_0x405d2a|0x80):0xd800==(0xfc00&_0x405d2a)&&0xdc00==(0xfc00&(_0x55f6e8=_0x36dea8['charCodeAt'](_0x5465c9+0x1)))?(_0x405d2a=0x10000+((0x3ff&_0x405d2a)<<0xa)+(0x3ff&_0x55f6e8),++_0x5465c9,_0x1b52bc[_0x966012++]=_0x405d2a>>0x12|0xf0,_0x1b52bc[_0x966012++]=_0x405d2a>>0xc&0x3f|0x80,_0x1b52bc[_0x966012++]=_0x405d2a>>0x6&0x3f|0x80,_0x1b52bc[_0x966012++]=0x3f&_0x405d2a|0x80):(_0x1b52bc[_0x966012++]=_0x405d2a>>0xc|0xe0,_0x1b52bc[_0x966012++]=_0x405d2a>>0x6&0x3f|0x80,_0x1b52bc[_0x966012++]=0x3f&_0x405d2a|0x80);return _0x966012-_0x238f47;};}(utf8)),utf8;}function requirePool(){if(_0x377737)return _0x49b90a;return _0x377737=0x1,_0x49b90a=function(_0x4e66b9,_0x2603f5,_0x4cb57a){var _0x1f9cf9=_0x4cb57a||0x2000,_0x1d54ff=_0x1f9cf9>>>0x1,_0x36a95f=null,_0x2bff7f=_0x1f9cf9;return function(_0x1c1061){if(_0x1c1061<0x1||_0x1c1061>_0x1d54ff)return _0x4e66b9(_0x1c1061);_0x2bff7f+_0x1c1061>_0x1f9cf9&&(_0x36a95f=_0x4e66b9(_0x1f9cf9),_0x2bff7f=0x0);var _0x15f641=_0x2603f5['call'](_0x36a95f,_0x2bff7f,_0x2bff7f+=_0x1c1061);return 0x7&_0x2bff7f&&(_0x2bff7f=0x1+(0x7|_0x2bff7f)),_0x15f641;};},_0x49b90a;}function requireLongbits(){if(hasRequiredLongbits)return longbits;hasRequiredLongbits=0x1,longbits=_0x563083;var _0xb6ee16=requireMinimal$1();function _0x563083(_0x330e67,_0x2f6e26){this['lo']=_0x330e67>>>0x0,this['hi']=_0x2f6e26>>>0x0;}var _0x58684d=_0x563083['zero']=new _0x563083(0x0,0x0);_0x58684d['toNumber']=function(){return 0x0;},_0x58684d['zzEncode']=_0x58684d['zzDecode']=function(){return this;},_0x58684d['length']=function(){return 0x1;};var _0x3429e7=_0x563083['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x563083['fromNumber']=function(_0x9ef9f1){if(0x0===_0x9ef9f1)return _0x58684d;var _0x2e1149=_0x9ef9f1<0x0;_0x2e1149&&(_0x9ef9f1=-_0x9ef9f1);var _0x58f47e=_0x9ef9f1>>>0x0,_0x47abcb=(_0x9ef9f1-_0x58f47e)/0x100000000>>>0x0;return _0x2e1149&&(_0x47abcb=~_0x47abcb>>>0x0,_0x58f47e=~_0x58f47e>>>0x0,++_0x58f47e>0xffffffff&&(_0x58f47e=0x0,++_0x47abcb>0xffffffff&&(_0x47abcb=0x0))),new _0x563083(_0x58f47e,_0x47abcb);},_0x563083['from']=function(_0x3732d4){if('number'==typeof _0x3732d4)return _0x563083['fromNumber'](_0x3732d4);if(_0xb6ee16['isString'](_0x3732d4)){if(!_0xb6ee16['Long'])return _0x563083['fromNumber'](parseInt(_0x3732d4,0xa));_0x3732d4=_0xb6ee16['Long']['fromString'](_0x3732d4);}return _0x3732d4['low']||_0x3732d4['high']?new _0x563083(_0x3732d4['low']>>>0x0,_0x3732d4['high']>>>0x0):_0x58684d;},_0x563083['prototype']['toNumber']=function(_0x53d606){if(!_0x53d606&&this['hi']>>>0x1f){var _0x1fceab=0x1+~this['lo']>>>0x0,_0x490d7c=~this['hi']>>>0x0;return _0x1fceab||(_0x490d7c=_0x490d7c+0x1>>>0x0),-(_0x1fceab+0x100000000*_0x490d7c);}return this['lo']+0x100000000*this['hi'];},_0x563083['prototype']['toLong']=function(_0x12289f){return _0xb6ee16['Long']?new _0xb6ee16['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0x12289f)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0x12289f)};};var _0x5060ea=String['prototype']['charCodeAt'];return _0x563083['fromHash']=function(_0x10c102){return _0x10c102===_0x3429e7?_0x58684d:new _0x563083((_0x5060ea['call'](_0x10c102,0x0)|_0x5060ea['call'](_0x10c102,0x1)<<0x8|_0x5060ea['call'](_0x10c102,0x2)<<0x10|_0x5060ea['call'](_0x10c102,0x3)<<0x18)>>>0x0,(_0x5060ea['call'](_0x10c102,0x4)|_0x5060ea['call'](_0x10c102,0x5)<<0x8|_0x5060ea['call'](_0x10c102,0x6)<<0x10|_0x5060ea['call'](_0x10c102,0x7)<<0x18)>>>0x0);},_0x563083['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);},_0x563083['prototype']['zzEncode']=function(){var _0x482705=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0x482705)>>>0x0,this['lo']=(this['lo']<<0x1^_0x482705)>>>0x0,this;},_0x563083['prototype']['zzDecode']=function(){var _0x30bd1a=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x30bd1a)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x30bd1a)>>>0x0,this;},_0x563083['prototype']['length']=function(){var _0x20b0b5=this['lo'],_0x41e00b=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x47af8d=this['hi']>>>0x18;return 0x0===_0x47af8d?0x0===_0x41e00b?_0x20b0b5<0x4000?_0x20b0b5<0x80?0x1:0x2:_0x20b0b5<0x200000?0x3:0x4:_0x41e00b<0x4000?_0x41e00b<0x80?0x5:0x6:_0x41e00b<0x200000?0x7:0x8:_0x47af8d<0x80?0x9:0xa;},longbits;}function requireMinimal$1(){return _0x3ee2e4||(_0x3ee2e4=0x1,function(_0x594829){var _0x4db02a=_0x594829;function _0x20ac78(_0x17917b,_0x32341e,_0x4694a0){for(var _0x46e9e7=Object['keys'](_0x32341e),_0x323b02=0x0;_0x323b02<_0x46e9e7['length'];++_0x323b02)void 0x0!==_0x17917b[_0x46e9e7[_0x323b02]]&&_0x4694a0||(_0x17917b[_0x46e9e7[_0x323b02]]=_0x32341e[_0x46e9e7[_0x323b02]]);return _0x17917b;}function _0x32ba71(_0x39aeca){function _0x2270db(_0x1a88c5,_0x4e4f94){if(!(this instanceof _0x2270db))return new _0x2270db(_0x1a88c5,_0x4e4f94);Object['defineProperty'](this,'message',{'get':function(){return _0x1a88c5;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x2270db):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0x4e4f94&&_0x20ac78(this,_0x4e4f94);}return _0x2270db['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x2270db,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x39aeca;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x2270db;}_0x4db02a['asPromise']=requireAspromise(),_0x4db02a['base64']=requireBase64(),_0x4db02a['EventEmitter']=requireEventemitter(),_0x4db02a['float']=requireFloat(),_0x4db02a['inquire']=requireInquire(),_0x4db02a['utf8']=requireUtf8(),_0x4db02a['pool']=requirePool(),_0x4db02a['LongBits']=requireLongbits(),_0x4db02a['isNode']=Boolean(void 0x0!==_0x1ff5f0&&_0x1ff5f0&&_0x1ff5f0['process']&&_0x1ff5f0['process']['versions']&&_0x1ff5f0['process']['versions']['node']),_0x4db02a['global']=_0x4db02a['isNode']&&_0x1ff5f0||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||_0xe1d3ca,_0x4db02a['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x4db02a['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x4db02a['isInteger']=Number['isInteger']||function(_0x2ef515){return'number'==typeof _0x2ef515&&isFinite(_0x2ef515)&&Math['floor'](_0x2ef515)===_0x2ef515;},_0x4db02a['isString']=function(_0x36c4de){return'string'==typeof _0x36c4de||_0x36c4de instanceof String;},_0x4db02a['isObject']=function(_0x4f5d97){return _0x4f5d97&&'object'==typeof _0x4f5d97;},_0x4db02a['isset']=_0x4db02a['isSet']=function(_0x475c99,_0x314fe3){var _0x526197=_0x475c99[_0x314fe3];return!(null==_0x526197||!_0x475c99['hasOwnProperty'](_0x314fe3))&&('object'!=typeof _0x526197||(Array['isArray'](_0x526197)?_0x526197['length']:Object['keys'](_0x526197)['length'])>0x0);},_0x4db02a['Buffer']=(function(){try{var _0x374bd0=_0x4db02a['inquire']('buffer')['Buffer'];return _0x374bd0['prototype']['utf8Write']?_0x374bd0:null;}catch(_0x3288bf){return null;}}()),_0x4db02a['_Buffer_from']=null,_0x4db02a['_Buffer_allocUnsafe']=null,_0x4db02a['newBuffer']=function(_0x4ef505){return'number'==typeof _0x4ef505?_0x4db02a['Buffer']?_0x4db02a['_Buffer_allocUnsafe'](_0x4ef505):new _0x4db02a['Array'](_0x4ef505):_0x4db02a['Buffer']?_0x4db02a['_Buffer_from'](_0x4ef505):'undefined'==typeof Uint8Array?_0x4ef505:new Uint8Array(_0x4ef505);},_0x4db02a['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x4db02a['Long']=_0x4db02a['global']['dcodeIO']&&_0x4db02a['global']['dcodeIO']['Long']||_0x4db02a['global']['Long']||_0x4db02a['inquire']('long'),_0x4db02a['key2Re']=/^true|false|0|1$/,_0x4db02a['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x4db02a['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x4db02a['longToHash']=function(_0x1144ee){return _0x1144ee?_0x4db02a['LongBits']['from'](_0x1144ee)['toHash']():_0x4db02a['LongBits']['zeroHash'];},_0x4db02a['longFromHash']=function(_0x17b07d,_0x2af97b){var _0x29f840=_0x4db02a['LongBits']['fromHash'](_0x17b07d);return _0x4db02a['Long']?_0x4db02a['Long']['fromBits'](_0x29f840['lo'],_0x29f840['hi'],_0x2af97b):_0x29f840['toNumber'](Boolean(_0x2af97b));},_0x4db02a['merge']=_0x20ac78,_0x4db02a['lcFirst']=function(_0x1bd4cb){return _0x1bd4cb['charAt'](0x0)['toLowerCase']()+_0x1bd4cb['substring'](0x1);},_0x4db02a['newError']=_0x32ba71,_0x4db02a['ProtocolError']=_0x32ba71('ProtocolError'),_0x4db02a['oneOfGetter']=function(_0x549e86){for(var _0x7f16a4={},_0x208214=0x0;_0x208214<_0x549e86['length'];++_0x208214)_0x7f16a4[_0x549e86[_0x208214]]=0x1;return function(){for(var _0x5ebda8=Object['keys'](this),_0x47e5c6=_0x5ebda8['length']-0x1;_0x47e5c6>-0x1;--_0x47e5c6)if(0x1===_0x7f16a4[_0x5ebda8[_0x47e5c6]]&&void 0x0!==this[_0x5ebda8[_0x47e5c6]]&&null!==this[_0x5ebda8[_0x47e5c6]])return _0x5ebda8[_0x47e5c6];};},_0x4db02a['oneOfSetter']=function(_0x143c5d){return function(_0x4e475d){for(var _0x34ab2c=0x0;_0x34ab2c<_0x143c5d['length'];++_0x34ab2c)_0x143c5d[_0x34ab2c]!==_0x4e475d&&delete this[_0x143c5d[_0x34ab2c]];};},_0x4db02a['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x4db02a['_configure']=function(){var _0xd4ee0f=_0x4db02a['Buffer'];_0xd4ee0f?(_0x4db02a['_Buffer_from']=_0xd4ee0f['from']!==Uint8Array['from']&&_0xd4ee0f['from']||function(_0x440b08,_0x7f1fc8){return new _0xd4ee0f(_0x440b08,_0x7f1fc8);},_0x4db02a['_Buffer_allocUnsafe']=_0xd4ee0f['allocUnsafe']||function(_0x449d2a){return new _0xd4ee0f(_0x449d2a);}):_0x4db02a['_Buffer_from']=_0x4db02a['_Buffer_allocUnsafe']=null;};}(_0xe1d3ca)),_0xe1d3ca;}function requireWriter(){if(hasRequiredWriter)return writer;hasRequiredWriter=0x1,writer=_0x117d75;var _0x58c543,_0x193ed9=requireMinimal$1(),_0x138638=_0x193ed9['LongBits'],_0x3583d4=_0x193ed9['base64'],_0x1ddd09=_0x193ed9['utf8'];function _0x17ba8b(_0x10ea20,_0x4ce835,_0x4441be){this['fn']=_0x10ea20,this['len']=_0x4ce835,this['next']=void 0x0,this['val']=_0x4441be;}function _0x4b9421(){}function _0x427344(_0x3b1713){this['head']=_0x3b1713['head'],this['tail']=_0x3b1713['tail'],this['len']=_0x3b1713['len'],this['next']=_0x3b1713['states'];}function _0x117d75(){this['len']=0x0,this['head']=new _0x17ba8b(_0x4b9421,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0x4bf974=function(){return _0x193ed9['Buffer']?function(){return(_0x117d75['create']=function(){return new _0x58c543();})();}:function(){return new _0x117d75();};};function _0x4a9d82(_0x1ba399,_0xa945aa,_0x313ff7){_0xa945aa[_0x313ff7]=0xff&_0x1ba399;}function _0xcd8f37(_0x4274b9,_0x16dd76){this['len']=_0x4274b9,this['next']=void 0x0,this['val']=_0x16dd76;}function _0x1c76dd(_0x25ea43,_0x202636,_0x146e56){for(;_0x25ea43['hi'];)_0x202636[_0x146e56++]=0x7f&_0x25ea43['lo']|0x80,_0x25ea43['lo']=(_0x25ea43['lo']>>>0x7|_0x25ea43['hi']<<0x19)>>>0x0,_0x25ea43['hi']>>>=0x7;for(;_0x25ea43['lo']>0x7f;)_0x202636[_0x146e56++]=0x7f&_0x25ea43['lo']|0x80,_0x25ea43['lo']=_0x25ea43['lo']>>>0x7;_0x202636[_0x146e56++]=_0x25ea43['lo'];}function _0x1a6d2f(_0x1910e2,_0x3b12d8,_0x240f5d){_0x3b12d8[_0x240f5d]=0xff&_0x1910e2,_0x3b12d8[_0x240f5d+0x1]=_0x1910e2>>>0x8&0xff,_0x3b12d8[_0x240f5d+0x2]=_0x1910e2>>>0x10&0xff,_0x3b12d8[_0x240f5d+0x3]=_0x1910e2>>>0x18;}_0x117d75['create']=_0x4bf974(),_0x117d75['alloc']=function(_0x2d23bb){return new _0x193ed9['Array'](_0x2d23bb);},_0x193ed9['Array']!==Array&&(_0x117d75['alloc']=_0x193ed9['pool'](_0x117d75['alloc'],_0x193ed9['Array']['prototype']['subarray'])),_0x117d75['prototype']['_push']=function(_0x4594e3,_0x4e337a,_0xe1890){return this['tail']=this['tail']['next']=new _0x17ba8b(_0x4594e3,_0x4e337a,_0xe1890),this['len']+=_0x4e337a,this;},_0xcd8f37['prototype']=Object['create'](_0x17ba8b['prototype']),_0xcd8f37['prototype']['fn']=function(_0x16ec1a,_0x7e6b0f,_0x192b5a){for(;_0x16ec1a>0x7f;)_0x7e6b0f[_0x192b5a++]=0x7f&_0x16ec1a|0x80,_0x16ec1a>>>=0x7;_0x7e6b0f[_0x192b5a]=_0x16ec1a;},_0x117d75['prototype']['uint32']=function(_0x430305){return this['len']+=(this['tail']=this['tail']['next']=new _0xcd8f37((_0x430305>>>=0x0)<0x80?0x1:_0x430305<0x4000?0x2:_0x430305<0x200000?0x3:_0x430305<0x10000000?0x4:0x5,_0x430305))['len'],this;},_0x117d75['prototype']['int32']=function(_0x218bb8){return _0x218bb8<0x0?this['_push'](_0x1c76dd,0xa,_0x138638['fromNumber'](_0x218bb8)):this['uint32'](_0x218bb8);},_0x117d75['prototype']['sint32']=function(_0x1d7e62){return this['uint32']((_0x1d7e62<<0x1^_0x1d7e62>>0x1f)>>>0x0);},_0x117d75['prototype']['uint64']=function(_0x58d6d1){var _0x490678=_0x138638['from'](_0x58d6d1);return this['_push'](_0x1c76dd,_0x490678['length'](),_0x490678);},_0x117d75['prototype']['int64']=_0x117d75['prototype']['uint64'],_0x117d75['prototype']['sint64']=function(_0x259794){var _0x4758d1=_0x138638['from'](_0x259794)['zzEncode']();return this['_push'](_0x1c76dd,_0x4758d1['length'](),_0x4758d1);},_0x117d75['prototype']['bool']=function(_0x58d1ce){return this['_push'](_0x4a9d82,0x1,_0x58d1ce?0x1:0x0);},_0x117d75['prototype']['fixed32']=function(_0x50af9b){return this['_push'](_0x1a6d2f,0x4,_0x50af9b>>>0x0);},_0x117d75['prototype']['sfixed32']=_0x117d75['prototype']['fixed32'],_0x117d75['prototype']['fixed64']=function(_0x33cbb5){var _0x463e64=_0x138638['from'](_0x33cbb5);return this['_push'](_0x1a6d2f,0x4,_0x463e64['lo'])['_push'](_0x1a6d2f,0x4,_0x463e64['hi']);},_0x117d75['prototype']['sfixed64']=_0x117d75['prototype']['fixed64'],_0x117d75['prototype']['float']=function(_0x4d600e){return this['_push'](_0x193ed9['float']['writeFloatLE'],0x4,_0x4d600e);},_0x117d75['prototype']['double']=function(_0x44f90b){return this['_push'](_0x193ed9['float']['writeDoubleLE'],0x8,_0x44f90b);};var _0x145251=_0x193ed9['Array']['prototype']['set']?function(_0x535dcf,_0x267b79,_0x2d754a){_0x267b79['set'](_0x535dcf,_0x2d754a);}:function(_0x1fa0e6,_0x206b02,_0x27773b){for(var _0x1ca1f2=0x0;_0x1ca1f2<_0x1fa0e6['length'];++_0x1ca1f2)_0x206b02[_0x27773b+_0x1ca1f2]=_0x1fa0e6[_0x1ca1f2];};return _0x117d75['prototype']['bytes']=function(_0xd9e91a){var _0x254a2c=_0xd9e91a['length']>>>0x0;if(!_0x254a2c)return this['_push'](_0x4a9d82,0x1,0x0);if(_0x193ed9['isString'](_0xd9e91a)){var _0x351d88=_0x117d75['alloc'](_0x254a2c=_0x3583d4['length'](_0xd9e91a));_0x3583d4['decode'](_0xd9e91a,_0x351d88,0x0),_0xd9e91a=_0x351d88;}return this['uint32'](_0x254a2c)['_push'](_0x145251,_0x254a2c,_0xd9e91a);},_0x117d75['prototype']['string']=function(_0x4dd2af){var _0xd40f34=_0x1ddd09['length'](_0x4dd2af);return _0xd40f34?this['uint32'](_0xd40f34)['_push'](_0x1ddd09['write'],_0xd40f34,_0x4dd2af):this['_push'](_0x4a9d82,0x1,0x0);},_0x117d75['prototype']['fork']=function(){return this['states']=new _0x427344(this),this['head']=this['tail']=new _0x17ba8b(_0x4b9421,0x0,0x0),this['len']=0x0,this;},_0x117d75['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 _0x17ba8b(_0x4b9421,0x0,0x0),this['len']=0x0),this;},_0x117d75['prototype']['ldelim']=function(){var _0x5c556d=this['head'],_0x5bf4a0=this['tail'],_0x15395b=this['len'];return this['reset']()['uint32'](_0x15395b),_0x15395b&&(this['tail']['next']=_0x5c556d['next'],this['tail']=_0x5bf4a0,this['len']+=_0x15395b),this;},_0x117d75['prototype']['finish']=function(){for(var _0x37e39f=this['head']['next'],_0x24a49c=this['constructor']['alloc'](this['len']),_0x4c9dd3=0x0;_0x37e39f;)_0x37e39f['fn'](_0x37e39f['val'],_0x24a49c,_0x4c9dd3),_0x4c9dd3+=_0x37e39f['len'],_0x37e39f=_0x37e39f['next'];return _0x24a49c;},_0x117d75['_configure']=function(_0xae4e15){_0x58c543=_0xae4e15,_0x117d75['create']=_0x4bf974(),_0x58c543['_configure']();},writer;}function requireWriter_buffer(){if(hasRequiredWriter_buffer)return writer_buffer;hasRequiredWriter_buffer=0x1,writer_buffer=_0x302b84;var _0x31ace3=requireWriter();(_0x302b84['prototype']=Object['create'](_0x31ace3['prototype']))['constructor']=_0x302b84;var _0x1d3002=requireMinimal$1();function _0x302b84(){_0x31ace3['call'](this);}function _0x5495f2(_0x7f5570,_0x1b37d2,_0x45c9d7){_0x7f5570['length']<0x28?_0x1d3002['utf8']['write'](_0x7f5570,_0x1b37d2,_0x45c9d7):_0x1b37d2['utf8Write']?_0x1b37d2['utf8Write'](_0x7f5570,_0x45c9d7):_0x1b37d2['write'](_0x7f5570,_0x45c9d7);}return _0x302b84['_configure']=function(){_0x302b84['alloc']=_0x1d3002['_Buffer_allocUnsafe'],_0x302b84['writeBytesBuffer']=_0x1d3002['Buffer']&&_0x1d3002['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x1d3002['Buffer']['prototype']['set']['name']?function(_0x20caa0,_0x2a6c5e,_0x1e80bb){_0x2a6c5e['set'](_0x20caa0,_0x1e80bb);}:function(_0x32b86a,_0x58b228,_0x546b66){if(_0x32b86a['copy'])_0x32b86a['copy'](_0x58b228,_0x546b66,0x0,_0x32b86a['length']);else{for(var _0xa61e90=0x0;_0xa61e90<_0x32b86a['length'];)_0x58b228[_0x546b66++]=_0x32b86a[_0xa61e90++];}};},_0x302b84['prototype']['bytes']=function(_0x4f7a90){_0x1d3002['isString'](_0x4f7a90)&&(_0x4f7a90=_0x1d3002['_Buffer_from'](_0x4f7a90,'base64'));var _0xf768e6=_0x4f7a90['length']>>>0x0;return this['uint32'](_0xf768e6),_0xf768e6&&this['_push'](_0x302b84['writeBytesBuffer'],_0xf768e6,_0x4f7a90),this;},_0x302b84['prototype']['string']=function(_0x27e8fa){var _0x199e98=_0x1d3002['Buffer']['byteLength'](_0x27e8fa);return this['uint32'](_0x199e98),_0x199e98&&this['_push'](_0x5495f2,_0x199e98,_0x27e8fa),this;},_0x302b84['_configure'](),writer_buffer;}function requireReader(){if(_0x1a254f)return _0x6c5d26;_0x1a254f=0x1,_0x6c5d26=_0x48f982;var _0x351150,_0x54cb83=requireMinimal$1(),_0x5e1adb=_0x54cb83['LongBits'],_0x1a33eb=_0x54cb83['utf8'];function _0x120581(_0x2eaf2f,_0x4ef6f9){return RangeError('index\x20out\x20of\x20range:\x20'+_0x2eaf2f['pos']+'\x20+\x20'+(_0x4ef6f9||0x1)+'\x20>\x20'+_0x2eaf2f['len']);}function _0x48f982(_0x4c60a1){this['buf']=_0x4c60a1,this['pos']=0x0,this['len']=_0x4c60a1['length'];}var _0x1a969a='undefined'!=typeof Uint8Array?function(_0x30c512){if(_0x30c512 instanceof Uint8Array||Array['isArray'](_0x30c512))return new _0x48f982(_0x30c512);throw Error('illegal\x20buffer');}:function(_0x17ec7e){if(Array['isArray'](_0x17ec7e))return new _0x48f982(_0x17ec7e);throw Error('illegal\x20buffer');},_0x521a74=function(){return _0x54cb83['Buffer']?function(_0x1f99c4){return(_0x48f982['create']=function(_0x2f935b){return _0x54cb83['Buffer']['isBuffer'](_0x2f935b)?new _0x351150(_0x2f935b):_0x1a969a(_0x2f935b);})(_0x1f99c4);}:_0x1a969a;};function _0x43fe50(){var _0x58aa38=new _0x5e1adb(0x0,0x0),_0x29617a=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0x29617a<0x3;++_0x29617a){if(this['pos']>=this['len'])throw _0x120581(this);if(_0x58aa38['lo']=(_0x58aa38['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x29617a)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x58aa38;}return _0x58aa38['lo']=(_0x58aa38['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0x29617a)>>>0x0,_0x58aa38;}for(;_0x29617a<0x4;++_0x29617a)if(_0x58aa38['lo']=(_0x58aa38['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x29617a)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x58aa38;if(_0x58aa38['lo']=(_0x58aa38['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x58aa38['hi']=(_0x58aa38['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x58aa38;if(_0x29617a=0x0,this['len']-this['pos']>0x4){for(;_0x29617a<0x5;++_0x29617a)if(_0x58aa38['hi']=(_0x58aa38['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x29617a+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x58aa38;}else for(;_0x29617a<0x5;++_0x29617a){if(this['pos']>=this['len'])throw _0x120581(this);if(_0x58aa38['hi']=(_0x58aa38['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x29617a+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x58aa38;}throw Error('invalid\x20varint\x20encoding');}function _0x30f28f(_0x11bf16,_0x271ce6){return(_0x11bf16[_0x271ce6-0x4]|_0x11bf16[_0x271ce6-0x3]<<0x8|_0x11bf16[_0x271ce6-0x2]<<0x10|_0x11bf16[_0x271ce6-0x1]<<0x18)>>>0x0;}function _0x1ef141(){if(this['pos']+0x8>this['len'])throw _0x120581(this,0x8);return new _0x5e1adb(_0x30f28f(this['buf'],this['pos']+=0x4),_0x30f28f(this['buf'],this['pos']+=0x4));}return _0x48f982['create']=_0x521a74(),_0x48f982['prototype']['_slice']=_0x54cb83['Array']['prototype']['subarray']||_0x54cb83['Array']['prototype']['slice'],_0x48f982['prototype']['uint32']=(function(){var _0x5ed2d9=0xffffffff;return function(){if(_0x5ed2d9=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5ed2d9;if(_0x5ed2d9=(_0x5ed2d9|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5ed2d9;if(_0x5ed2d9=(_0x5ed2d9|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5ed2d9;if(_0x5ed2d9=(_0x5ed2d9|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5ed2d9;if(_0x5ed2d9=(_0x5ed2d9|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5ed2d9;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0x120581(this,0xa);return _0x5ed2d9;};}()),_0x48f982['prototype']['int32']=function(){return 0x0|this['uint32']();},_0x48f982['prototype']['sint32']=function(){var _0x2f2213=this['uint32']();return _0x2f2213>>>0x1^-(0x1&_0x2f2213);},_0x48f982['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0x48f982['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x120581(this,0x4);return _0x30f28f(this['buf'],this['pos']+=0x4);},_0x48f982['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x120581(this,0x4);return 0x0|_0x30f28f(this['buf'],this['pos']+=0x4);},_0x48f982['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0x120581(this,0x4);var _0x5624ae=_0x54cb83['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x5624ae;},_0x48f982['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0x120581(this,0x4);var _0x42f7d8=_0x54cb83['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x42f7d8;},_0x48f982['prototype']['bytes']=function(){var _0x402b40=this['uint32'](),_0x1bc874=this['pos'],_0x5a5858=this['pos']+_0x402b40;if(_0x5a5858>this['len'])throw _0x120581(this,_0x402b40);if(this['pos']+=_0x402b40,Array['isArray'](this['buf']))return this['buf']['slice'](_0x1bc874,_0x5a5858);if(_0x1bc874===_0x5a5858){var _0x7bcc0d=_0x54cb83['Buffer'];return _0x7bcc0d?_0x7bcc0d['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0x1bc874,_0x5a5858);},_0x48f982['prototype']['string']=function(){var _0x44b404=this['bytes']();return _0x1a33eb['read'](_0x44b404,0x0,_0x44b404['length']);},_0x48f982['prototype']['skip']=function(_0x3dde8f){if('number'==typeof _0x3dde8f){if(this['pos']+_0x3dde8f>this['len'])throw _0x120581(this,_0x3dde8f);this['pos']+=_0x3dde8f;}else do{if(this['pos']>=this['len'])throw _0x120581(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0x48f982['prototype']['skipType']=function(_0x133586){switch(_0x133586){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0x133586=0x7&this['uint32']());)this['skipType'](_0x133586);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0x133586+'\x20at\x20offset\x20'+this['pos']);}return this;},_0x48f982['_configure']=function(_0x5b6933){_0x351150=_0x5b6933,_0x48f982['create']=_0x521a74(),_0x351150['_configure']();var _0x5bc07e=_0x54cb83['Long']?'toLong':'toNumber';_0x54cb83['merge'](_0x48f982['prototype'],{'int64':function(){return _0x43fe50['call'](this)[_0x5bc07e](!0x1);},'uint64':function(){return _0x43fe50['call'](this)[_0x5bc07e](!0x0);},'sint64':function(){return _0x43fe50['call'](this)['zzDecode']()[_0x5bc07e](!0x1);},'fixed64':function(){return _0x1ef141['call'](this)[_0x5bc07e](!0x0);},'sfixed64':function(){return _0x1ef141['call'](this)[_0x5bc07e](!0x1);}});},_0x6c5d26;}function requireReader_buffer(){if(_0xcfd599)return _0x18c76f;_0xcfd599=0x1,_0x18c76f=_0x2ced97;var _0x59ad24=requireReader();(_0x2ced97['prototype']=Object['create'](_0x59ad24['prototype']))['constructor']=_0x2ced97;var _0x52159c=requireMinimal$1();function _0x2ced97(_0x48e28f){_0x59ad24['call'](this,_0x48e28f);}return _0x2ced97['_configure']=function(){_0x52159c['Buffer']&&(_0x2ced97['prototype']['_slice']=_0x52159c['Buffer']['prototype']['slice']);},_0x2ced97['prototype']['string']=function(){var _0x5e6e84=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0x5e6e84,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0x5e6e84,this['len']));},_0x2ced97['_configure'](),_0x18c76f;}var _0x2980e0={},_0xc5740a,_0x2340cc,_0x3f9edb,roots,hasRequiredRoots,_0x34e302,_0x5ee0d6,_0x823cd3;function requireService(){if(_0x2340cc)return _0xc5740a;_0x2340cc=0x1,_0xc5740a=_0x206503;var _0x3a504a=requireMinimal$1();function _0x206503(_0x20180d,_0x27210b,_0x2e516c){if('function'!=typeof _0x20180d)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x3a504a['EventEmitter']['call'](this),this['rpcImpl']=_0x20180d,this['requestDelimited']=Boolean(_0x27210b),this['responseDelimited']=Boolean(_0x2e516c);}return(_0x206503['prototype']=Object['create'](_0x3a504a['EventEmitter']['prototype']))['constructor']=_0x206503,_0x206503['prototype']['rpcCall']=function _0x1b90aa(_0x5ec24f,_0xf4820a,_0x19c46b,_0x36d8ef,_0x5bfe45){if(!_0x36d8ef)throw TypeError('request\x20must\x20be\x20specified');var _0x5a7469=this;if(!_0x5bfe45)return _0x3a504a['asPromise'](_0x1b90aa,_0x5a7469,_0x5ec24f,_0xf4820a,_0x19c46b,_0x36d8ef);if(_0x5a7469['rpcImpl'])try{return _0x5a7469['rpcImpl'](_0x5ec24f,_0xf4820a[_0x5a7469['requestDelimited']?'encodeDelimited':'encode'](_0x36d8ef)['finish'](),function(_0x1448b7,_0x50fa78){if(_0x1448b7)return _0x5a7469['emit']('error',_0x1448b7,_0x5ec24f),_0x5bfe45(_0x1448b7);if(null!==_0x50fa78){if(!(_0x50fa78 instanceof _0x19c46b))try{_0x50fa78=_0x19c46b[_0x5a7469['responseDelimited']?'decodeDelimited':'decode'](_0x50fa78);}catch(_0x949d8c){return _0x5a7469['emit']('error',_0x949d8c,_0x5ec24f),_0x5bfe45(_0x949d8c);}return _0x5a7469['emit']('data',_0x50fa78,_0x5ec24f),_0x5bfe45(null,_0x50fa78);}_0x5a7469['end'](!0x0);});}catch(_0x455552){return _0x5a7469['emit']('error',_0x455552,_0x5ec24f),void setTimeout(function(){_0x5bfe45(_0x455552);},0x0);}else setTimeout(function(){_0x5bfe45(Error('already\x20ended'));},0x0);},_0x206503['prototype']['end']=function(_0x1c9797){return this['rpcImpl']&&(_0x1c9797||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;},_0xc5740a;}function requireRpc(){return _0x3f9edb||(_0x3f9edb=0x1,_0x2980e0['Service']=requireService()),_0x2980e0;}function requireRoots(){return hasRequiredRoots?roots:(hasRequiredRoots=0x1,roots={});}function requireIndexMinimal(){return _0x34e302||(_0x34e302=0x1,function(_0x4e13df){var _0x9b7cf3=_0x4e13df;function _0x168ce1(){_0x9b7cf3['util']['_configure'](),_0x9b7cf3['Writer']['_configure'](_0x9b7cf3['BufferWriter']),_0x9b7cf3['Reader']['_configure'](_0x9b7cf3['BufferReader']);}_0x9b7cf3['build']='minimal',_0x9b7cf3['Writer']=requireWriter(),_0x9b7cf3['BufferWriter']=requireWriter_buffer(),_0x9b7cf3['Reader']=requireReader(),_0x9b7cf3['BufferReader']=requireReader_buffer(),_0x9b7cf3['util']=requireMinimal$1(),_0x9b7cf3['rpc']=requireRpc(),_0x9b7cf3['roots']=requireRoots(),_0x9b7cf3['configure']=_0x168ce1,_0x168ce1();}(_0x113cb0)),_0x113cb0;}function requireMinimal(){return _0x823cd3?_0x5ee0d6:(_0x823cd3=0x1,_0x5ee0d6=requireIndexMinimal());}var minimalExports=requireMinimal();const _0x10b7cf=Object['create'](null);_0x10b7cf['open']='0',_0x10b7cf['close']='1',_0x10b7cf['ping']='2',_0x10b7cf['pong']='3',_0x10b7cf['message']='4',_0x10b7cf['upgrade']='5',_0x10b7cf['noop']='6';const _0x247592=Object['create'](null);Object['keys'](_0x10b7cf)['forEach'](_0x39e622=>{_0x247592[_0x10b7cf[_0x39e622]]=_0x39e622;});const _0x1b72b9={'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,_0x2d433b=_0x326951=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x326951):_0x326951&&_0x326951['buffer']instanceof ArrayBuffer,encodePacket=({type:_0x5d5ed5,data:_0x2d3079},_0xc09d53,_0x109436)=>withNativeBlob$1&&_0x2d3079 instanceof Blob?_0xc09d53?_0x109436(_0x2d3079):_0x35fbb8(_0x2d3079,_0x109436):withNativeArrayBuffer$2&&(_0x2d3079 instanceof ArrayBuffer||_0x2d433b(_0x2d3079))?_0xc09d53?_0x109436(_0x2d3079):_0x35fbb8(new Blob([_0x2d3079]),_0x109436):_0x109436(_0x10b7cf[_0x5d5ed5]+(_0x2d3079||'')),_0x35fbb8=(_0x4f00df,_0x3a6c3c)=>{const _0x4d8902=new FileReader();return _0x4d8902['onload']=function(){const _0x200ca2=_0x4d8902['result']['split'](',')[0x1];_0x3a6c3c('b'+(_0x200ca2||''));},_0x4d8902['readAsDataURL'](_0x4f00df);};function toArray(_0x34a1bb){return _0x34a1bb instanceof Uint8Array?_0x34a1bb:_0x34a1bb instanceof ArrayBuffer?new Uint8Array(_0x34a1bb):new Uint8Array(_0x34a1bb['buffer'],_0x34a1bb['byteOffset'],_0x34a1bb['byteLength']);}let _0x3c1316;function encodePacketToBinary(_0x181720,_0x37e26b){return withNativeBlob$1&&_0x181720['data']instanceof Blob?_0x181720['data']['arrayBuffer']()['then'](toArray)['then'](_0x37e26b):withNativeArrayBuffer$2&&(_0x181720['data']instanceof ArrayBuffer||_0x2d433b(_0x181720['data']))?_0x37e26b(toArray(_0x181720['data'])):void encodePacket(_0x181720,!0x1,_0x1d8bbb=>{_0x3c1316||(_0x3c1316=new TextEncoder()),_0x37e26b(_0x3c1316['encode'](_0x1d8bbb));});}const _0x43f60f='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',_0x3aa86c='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let _0x2b3239=0x0;_0x2b3239<_0x43f60f['length'];_0x2b3239++)_0x3aa86c[_0x43f60f['charCodeAt'](_0x2b3239)]=_0x2b3239;const _0x227c73=_0xd6155b=>{let _0x3ddf88,_0x263663,_0x4adaa8,_0x4d58e3,_0x324d5d,_0xa6f2fb=0.75*_0xd6155b['length'],_0x110caa=_0xd6155b['length'],_0x2e06c2=0x0;'='===_0xd6155b[_0xd6155b['length']-0x1]&&(_0xa6f2fb--,'='===_0xd6155b[_0xd6155b['length']-0x2]&&_0xa6f2fb--);const _0x34ace6=new ArrayBuffer(_0xa6f2fb),_0x1e5e6f=new Uint8Array(_0x34ace6);for(_0x3ddf88=0x0;_0x3ddf88<_0x110caa;_0x3ddf88+=0x4)_0x263663=_0x3aa86c[_0xd6155b['charCodeAt'](_0x3ddf88)],_0x4adaa8=_0x3aa86c[_0xd6155b['charCodeAt'](_0x3ddf88+0x1)],_0x4d58e3=_0x3aa86c[_0xd6155b['charCodeAt'](_0x3ddf88+0x2)],_0x324d5d=_0x3aa86c[_0xd6155b['charCodeAt'](_0x3ddf88+0x3)],_0x1e5e6f[_0x2e06c2++]=_0x263663<<0x2|_0x4adaa8>>0x4,_0x1e5e6f[_0x2e06c2++]=(0xf&_0x4adaa8)<<0x4|_0x4d58e3>>0x2,_0x1e5e6f[_0x2e06c2++]=(0x3&_0x4d58e3)<<0x6|0x3f&_0x324d5d;return _0x34ace6;},withNativeArrayBuffer$1='function'==typeof ArrayBuffer,decodePacket=(_0x270d29,_0x300cef)=>{if('string'!=typeof _0x270d29)return{'type':'message','data':_0x4b7013(_0x270d29,_0x300cef)};const _0x5df72b=_0x270d29['charAt'](0x0);if('b'===_0x5df72b)return{'type':'message','data':decodeBase64Packet(_0x270d29['substring'](0x1),_0x300cef)};return _0x247592[_0x5df72b]?_0x270d29['length']>0x1?{'type':_0x247592[_0x5df72b],'data':_0x270d29['substring'](0x1)}:{'type':_0x247592[_0x5df72b]}:_0x1b72b9;},decodeBase64Packet=(_0x1f8de6,_0x44f7ce)=>{if(withNativeArrayBuffer$1){const _0x47cacf=_0x227c73(_0x1f8de6);return _0x4b7013(_0x47cacf,_0x44f7ce);}return{'base64':!0x0,'data':_0x1f8de6};},_0x4b7013=(_0x5b8c63,_0x245d47)=>'blob'===_0x245d47?_0x5b8c63 instanceof Blob?_0x5b8c63:new Blob([_0x5b8c63]):_0x5b8c63 instanceof ArrayBuffer?_0x5b8c63:_0x5b8c63['buffer'],_0x57668f=String['fromCharCode'](0x1e),_0x50daab=(_0x2cc037,_0x183b3b)=>{const _0xc1348b=_0x2cc037['length'],_0x4c49f5=new Array(_0xc1348b);let _0x2848ec=0x0;_0x2cc037['forEach']((_0x530277,_0x42411d)=>{encodePacket(_0x530277,!0x1,_0x58f5cd=>{_0x4c49f5[_0x42411d]=_0x58f5cd,++_0x2848ec===_0xc1348b&&_0x183b3b(_0x4c49f5['join'](_0x57668f));});});},_0x222684=(_0x26850a,_0x51b4a0)=>{const _0xe51134=_0x26850a['split'](_0x57668f),_0x41c47d=[];for(let _0x5320b6=0x0;_0x5320b6<_0xe51134['length'];_0x5320b6++){const _0x38a519=decodePacket(_0xe51134[_0x5320b6],_0x51b4a0);if(_0x41c47d['push'](_0x38a519),'error'===_0x38a519['type'])break;}return _0x41c47d;};function createPacketEncoderStream(){return new TransformStream({'transform'(_0xec98e0,_0x28c842){encodePacketToBinary(_0xec98e0,_0x1f5bea=>{const _0x2c3298=_0x1f5bea['length'];let _0xa595fc;if(_0x2c3298<0x7e)_0xa595fc=new Uint8Array(0x1),new DataView(_0xa595fc['buffer'])['setUint8'](0x0,_0x2c3298);else{if(_0x2c3298<0x10000){_0xa595fc=new Uint8Array(0x3);const _0x2d674b=new DataView(_0xa595fc['buffer']);_0x2d674b['setUint8'](0x0,0x7e),_0x2d674b['setUint16'](0x1,_0x2c3298);}else{_0xa595fc=new Uint8Array(0x9);const _0x3f7b54=new DataView(_0xa595fc['buffer']);_0x3f7b54['setUint8'](0x0,0x7f),_0x3f7b54['setBigUint64'](0x1,BigInt(_0x2c3298));}}_0xec98e0['data']&&'string'!=typeof _0xec98e0['data']&&(_0xa595fc[0x0]|=0x80),_0x28c842['enqueue'](_0xa595fc),_0x28c842['enqueue'](_0x1f5bea);});}});}let _0x48367f;function totalLength(_0x289fc2){return _0x289fc2['reduce']((_0x5a9970,_0x5a9cff)=>_0x5a9970+_0x5a9cff['length'],0x0);}function concatChunks(_0x9863ba,_0x4acc77){if(_0x9863ba[0x0]['length']===_0x4acc77)return _0x9863ba['shift']();const _0x237693=new Uint8Array(_0x4acc77);let _0x410666=0x0;for(let _0x2968dd=0x0;_0x2968dd<_0x4acc77;_0x2968dd++)_0x237693[_0x2968dd]=_0x9863ba[0x0][_0x410666++],_0x410666===_0x9863ba[0x0]['length']&&(_0x9863ba['shift'](),_0x410666=0x0);return _0x9863ba['length']&&_0x410666<_0x9863ba[0x0]['length']&&(_0x9863ba[0x0]=_0x9863ba[0x0]['slice'](_0x410666)),_0x237693;}function createPacketDecoderStream(_0x50080a,_0x5b9fa0){_0x48367f||(_0x48367f=new TextDecoder());const _0x1fe87d=[];let _0x3b73b6=0x0,_0xd3c58b=-0x1,_0x21cb7c=!0x1;return new TransformStream({'transform'(_0x572011,_0x402cde){for(_0x1fe87d['push'](_0x572011);;){if(0x0===_0x3b73b6){if(totalLength(_0x1fe87d)<0x1)break;const _0x35b687=concatChunks(_0x1fe87d,0x1);_0x21cb7c=!(0x80&~_0x35b687[0x0]),_0xd3c58b=0x7f&_0x35b687[0x0],_0x3b73b6=_0xd3c58b<0x7e?0x3:0x7e===_0xd3c58b?0x1:0x2;}else{if(0x1===_0x3b73b6){if(totalLength(_0x1fe87d)<0x2)break;const _0x1bd5e3=concatChunks(_0x1fe87d,0x2);_0xd3c58b=new DataView(_0x1bd5e3['buffer'],_0x1bd5e3['byteOffset'],_0x1bd5e3['length'])['getUint16'](0x0),_0x3b73b6=0x3;}else{if(0x2===_0x3b73b6){if(totalLength(_0x1fe87d)<0x8)break;const _0x1bf3d0=concatChunks(_0x1fe87d,0x8),_0x58eb9e=new DataView(_0x1bf3d0['buffer'],_0x1bf3d0['byteOffset'],_0x1bf3d0['length']),_0x2abe37=_0x58eb9e['getUint32'](0x0);if(_0x2abe37>Math['pow'](0x2,0x15)-0x1){_0x402cde['enqueue'](_0x1b72b9);break;}_0xd3c58b=_0x2abe37*Math['pow'](0x2,0x20)+_0x58eb9e['getUint32'](0x4),_0x3b73b6=0x3;}else{if(totalLength(_0x1fe87d)<_0xd3c58b)break;const _0x93511a=concatChunks(_0x1fe87d,_0xd3c58b);_0x402cde['enqueue'](decodePacket(_0x21cb7c?_0x93511a:_0x48367f['decode'](_0x93511a),_0x5b9fa0)),_0x3b73b6=0x0;}}}if(0x0===_0xd3c58b||_0xd3c58b>_0x50080a){_0x402cde['enqueue'](_0x1b72b9);break;}}}});}const protocol=0x4;function Emitter(_0x265144){if(_0x265144)return _0x2ff054(_0x265144);}function _0x2ff054(_0xcb310a){for(var _0x1653ef in Emitter['prototype'])_0xcb310a[_0x1653ef]=Emitter['prototype'][_0x1653ef];return _0xcb310a;}Emitter['prototype']['on']=Emitter['prototype']['addEventListener']=function(_0x236318,_0xb9537a){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0x236318]=this['_callbacks']['$'+_0x236318]||[])['push'](_0xb9537a),this;},Emitter['prototype']['once']=function(_0x3c06ce,_0x499e2b){function _0x2c5960(){this['off'](_0x3c06ce,_0x2c5960),_0x499e2b['apply'](this,arguments);}return _0x2c5960['fn']=_0x499e2b,this['on'](_0x3c06ce,_0x2c5960),this;},Emitter['prototype']['off']=Emitter['prototype']['removeListener']=Emitter['prototype']['removeAllListeners']=Emitter['prototype']['removeEventListener']=function(_0x54c932,_0x1f9d76){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0x2a389c,_0x118ec5=this['_callbacks']['$'+_0x54c932];if(!_0x118ec5)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0x54c932],this;for(var _0x197a35=0x0;_0x197a35<_0x118ec5['length'];_0x197a35++)if((_0x2a389c=_0x118ec5[_0x197a35])===_0x1f9d76||_0x2a389c['fn']===_0x1f9d76){_0x118ec5['splice'](_0x197a35,0x1);break;}return 0x0===_0x118ec5['length']&&delete this['_callbacks']['$'+_0x54c932],this;},Emitter['prototype']['emit']=function(_0x3f9309){this['_callbacks']=this['_callbacks']||{};for(var _0x59f740=new Array(arguments['length']-0x1),_0xc04c78=this['_callbacks']['$'+_0x3f9309],_0x56a8be=0x1;_0x56a8be<arguments['length'];_0x56a8be++)_0x59f740[_0x56a8be-0x1]=arguments[_0x56a8be];if(_0xc04c78){_0x56a8be=0x0;for(var _0xf2fb17=(_0xc04c78=_0xc04c78['slice'](0x0))['length'];_0x56a8be<_0xf2fb17;++_0x56a8be)_0xc04c78[_0x56a8be]['apply'](this,_0x59f740);}return this;},Emitter['prototype']['emitReserved']=Emitter['prototype']['emit'],Emitter['prototype']['listeners']=function(_0x3bd754){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x3bd754]||[];},Emitter['prototype']['hasListeners']=function(_0x17a623){return!!this['listeners'](_0x17a623)['length'];};const _0x1b52b3='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function _0x462ac1(_0x2dff13,..._0x589b8f){return _0x589b8f['reduce']((_0x1e7d16,_0x4daa1d)=>(_0x2dff13['hasOwnProperty'](_0x4daa1d)&&(_0x1e7d16[_0x4daa1d]=_0x2dff13[_0x4daa1d]),_0x1e7d16),{});}const _0x1e7b32=_0x1b52b3['setTimeout'],_0x491fe4=_0x1b52b3['clearTimeout'];function installTimerFunctions(_0x40a4ed,_0x5c1fd0){_0x5c1fd0['useNativeTimers']?(_0x40a4ed['setTimeoutFn']=_0x1e7b32['bind'](_0x1b52b3),_0x40a4ed['clearTimeoutFn']=_0x491fe4['bind'](_0x1b52b3)):(_0x40a4ed['setTimeoutFn']=_0x1b52b3['setTimeout']['bind'](_0x1b52b3),_0x40a4ed['clearTimeoutFn']=_0x1b52b3['clearTimeout']['bind'](_0x1b52b3));}const _0x50956e=1.33;function byteLength(_0x59ac20){return'string'==typeof _0x59ac20?utf8Length(_0x59ac20):Math['ceil']((_0x59ac20['byteLength']||_0x59ac20['size'])*_0x50956e);}function utf8Length(_0x51600a){let _0x51f782=0x0,_0x162159=0x0;for(let _0x488ea3=0x0,_0x4e55ef=_0x51600a['length'];_0x488ea3<_0x4e55ef;_0x488ea3++)_0x51f782=_0x51600a['charCodeAt'](_0x488ea3),_0x51f782<0x80?_0x162159+=0x1:_0x51f782<0x800?_0x162159+=0x2:_0x51f782<0xd800||_0x51f782>=0xe000?_0x162159+=0x3:(_0x488ea3++,_0x162159+=0x4);return _0x162159;}function _0x1da2da(_0x4896ad){let _0x37ce8e='';for(let _0x5c9bed in _0x4896ad)_0x4896ad['hasOwnProperty'](_0x5c9bed)&&(_0x37ce8e['length']&&(_0x37ce8e+='&'),_0x37ce8e+=encodeURIComponent(_0x5c9bed)+'='+encodeURIComponent(_0x4896ad[_0x5c9bed]));return _0x37ce8e;}function _0x26c5a0(_0x378753){let _0x5256c4={},_0x3f368d=_0x378753['split']('&');for(let _0x4c44a0=0x0,_0x350428=_0x3f368d['length'];_0x4c44a0<_0x350428;_0x4c44a0++){let _0x32cf9e=_0x3f368d[_0x4c44a0]['split']('=');_0x5256c4[decodeURIComponent(_0x32cf9e[0x0])]=decodeURIComponent(_0x32cf9e[0x1]);}return _0x5256c4;}class TransportError extends Error{constructor(_0x485800,_0x419b69,_0x3026a9){super(_0x485800),this['description']=_0x419b69,this['context']=_0x3026a9,this['type']='TransportError';}}class Transport extends Emitter{constructor(_0x29f839){super(),this['writable']=!0x1,installTimerFunctions(this,_0x29f839),this['opts']=_0x29f839,this['query']=_0x29f839['query'],this['socket']=_0x29f839['socket'];}['onError'](_0x348b8b,_0x3bd8fd,_0x8a8332){return super['emitReserved']('error',new TransportError(_0x348b8b,_0x3bd8fd,_0x8a8332)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x362076){'open'===this['readyState']&&this['write'](_0x362076);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0x2182d9){const _0x3e217e=decodePacket(_0x2182d9,this['socket']['binaryType']);this['onPacket'](_0x3e217e);}['onPacket'](_0x5968a3){super['emitReserved']('packet',_0x5968a3);}['onClose'](_0x30a85a){this['readyState']='closed',super['emitReserved']('close',_0x30a85a);}['pause'](_0x12b96f){}['createUri'](_0x58ef78,_0x34ab54={}){return _0x58ef78+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x34ab54);}['_hostname'](){const _0x578730=this['opts']['hostname'];return-0x1===_0x578730['indexOf'](':')?_0x578730:'['+_0x578730+']';}['_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'](_0x3553c4){const _0x501439=_0x1da2da(_0x3553c4);return _0x501439['length']?'?'+_0x501439:'';}}const alphabet='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),length=0x40,_0x1244ce={};let _0x38a5d9=0x0,_0x542b09=0x0,_0x462906;function _0x26e5b4(_0x4fa64d){let _0x48c4d3='';do{_0x48c4d3=alphabet[_0x4fa64d%length]+_0x48c4d3,_0x4fa64d=Math['floor'](_0x4fa64d/length);}while(_0x4fa64d>0x0);return _0x48c4d3;}function yeast(){const _0x274966=_0x26e5b4(+new Date());return _0x274966!==_0x462906?(_0x38a5d9=0x0,_0x462906=_0x274966):_0x274966+'.'+_0x26e5b4(_0x38a5d9++);}for(;_0x542b09<length;_0x542b09++)_0x1244ce[alphabet[_0x542b09]]=_0x542b09;let _0x29d786=!0x1;try{_0x29d786='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x1e5a24){}const _0x35e57a=_0x29d786;function _0x278bdb(_0x43e98f){const _0x35f8a1=_0x43e98f['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x35f8a1||_0x35e57a))return new XMLHttpRequest();}catch(_0xd0484e){}if(!_0x35f8a1)try{return new _0x1b52b3[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0x208a32){}}function createCookieJar(){}function empty(){}const _0x4c973f=null!=new _0x278bdb({'xdomain':!0x1})['responseType'];class _0x404cd4 extends Transport{constructor(_0x2379f3){if(super(_0x2379f3),this['polling']=!0x1,'undefined'!=typeof location){const _0x1b0962='https:'===location['protocol'];let _0xd42f9d=location['port'];_0xd42f9d||(_0xd42f9d=_0x1b0962?'443':'80'),this['xd']='undefined'!=typeof location&&_0x2379f3['hostname']!==location['hostname']||_0xd42f9d!==_0x2379f3['port'];}const _0x5dcc72=_0x2379f3&&_0x2379f3['forceBase64'];this['supportsBinary']=_0x4c973f&&!_0x5dcc72,this['opts']['withCredentials']&&(this['cookieJar']=createCookieJar());}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0x55350a){this['readyState']='pausing';const _0x14578e=()=>{this['readyState']='paused',_0x55350a();};if(this['polling']||!this['writable']){let _0x5d8707=0x0;this['polling']&&(_0x5d8707++,this['once']('pollComplete',function(){--_0x5d8707||_0x14578e();})),this['writable']||(_0x5d8707++,this['once']('drain',function(){--_0x5d8707||_0x14578e();}));}else _0x14578e();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0xe8f3da){_0x222684(_0xe8f3da,this['socket']['binaryType'])['forEach'](_0x1d2776=>{if('opening'===this['readyState']&&'open'===_0x1d2776['type']&&this['onOpen'](),'close'===_0x1d2776['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0x1d2776);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0x4eb83f=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x4eb83f():this['once']('open',_0x4eb83f);}['write'](_0x371085){this['writable']=!0x1,_0x50daab(_0x371085,_0x23301c=>{this['doWrite'](_0x23301c,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x36f918=this['opts']['secure']?'https':'http',_0x2cf409=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0x2cf409[this['opts']['timestampParam']]=yeast()),this['supportsBinary']||_0x2cf409['sid']||(_0x2cf409['b64']=0x1),this['createUri'](_0x36f918,_0x2cf409);}['request'](_0x863985={}){return Object['assign'](_0x863985,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new Request(this['uri'](),_0x863985);}['doWrite'](_0x356676,_0x39ad40){const _0x3f3571=this['request']({'method':'POST','data':_0x356676});_0x3f3571['on']('success',_0x39ad40),_0x3f3571['on']('error',(_0x5b1ab3,_0xf73364)=>{this['onError']('xhr\x20post\x20error',_0x5b1ab3,_0xf73364);});}['doPoll'](){const _0x1bc83b=this['request']();_0x1bc83b['on']('data',this['onData']['bind'](this)),_0x1bc83b['on']('error',(_0x3bdb1f,_0xad8bd5)=>{this['onError']('xhr\x20poll\x20error',_0x3bdb1f,_0xad8bd5);}),this['pollXhr']=_0x1bc83b;}}class Request extends Emitter{constructor(_0x170b2d,_0x5a365f){super(),installTimerFunctions(this,_0x5a365f),this['opts']=_0x5a365f,this['method']=_0x5a365f['method']||'GET',this['uri']=_0x170b2d,this['data']=void 0x0!==_0x5a365f['data']?_0x5a365f['data']:null,this['create']();}['create'](){var _0x24a903;const _0x250067=_0x462ac1(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x250067['xdomain']=!!this['opts']['xd'];const _0x16dabd=this['xhr']=new _0x278bdb(_0x250067);try{_0x16dabd['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0x16dabd['setDisableHeaderCheck']&&_0x16dabd['setDisableHeaderCheck'](!0x0);for(let _0x35bb81 in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x35bb81)&&_0x16dabd['setRequestHeader'](_0x35bb81,this['opts']['extraHeaders'][_0x35bb81]);}}catch(_0x31be01){}if('POST'===this['method'])try{_0x16dabd['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0xeedcfd){}try{_0x16dabd['setRequestHeader']('Accept','*/*');}catch(_0x23400f){}null===(_0x24a903=this['opts']['cookieJar'])||void 0x0===_0x24a903||_0x24a903['addCookies'](_0x16dabd),'withCredentials'in _0x16dabd&&(_0x16dabd['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0x16dabd['timeout']=this['opts']['requestTimeout']),_0x16dabd['onreadystatechange']=()=>{var _0xadc0bb;0x3===_0x16dabd['readyState']&&(null===(_0xadc0bb=this['opts']['cookieJar'])||void 0x0===_0xadc0bb||_0xadc0bb['parseCookies'](_0x16dabd)),0x4===_0x16dabd['readyState']&&(0xc8===_0x16dabd['status']||0x4c7===_0x16dabd['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0x16dabd['status']?_0x16dabd['status']:0x0);},0x0));},_0x16dabd['send'](this['data']);}catch(_0x39ad27){return void this['setTimeoutFn'](()=>{this['onError'](_0x39ad27);},0x0);}'undefined'!=typeof document&&(this['index']=Request['requestsCount']++,Request['requests'][this['index']]=this);}['onError'](_0x543ecf){this['emitReserved']('error',_0x543ecf,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0x2e2380){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=empty,_0x2e2380)try{this['xhr']['abort']();}catch(_0x5e1cf0){}'undefined'!=typeof document&&delete Request['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0x18c5fb=this['xhr']['responseText'];null!==_0x18c5fb&&(this['emitReserved']('data',_0x18c5fb),this['emitReserved']('success'),this['cleanup']());}['abort'](){this['cleanup']();}}if(Request['requestsCount']=0x0,Request['requests']={},'undefined'!=typeof document){if('function'==typeof attachEvent)attachEvent('onunload',_0x1804f3);else{if('function'==typeof addEventListener){const _0x4f2f70='onpagehide'in _0x1b52b3?'pagehide':'unload';addEventListener(_0x4f2f70,_0x1804f3,!0x1);}}}function _0x1804f3(){for(let _0x2da3f4 in Request['requests'])Request['requests']['hasOwnProperty'](_0x2da3f4)&&Request['requests'][_0x2da3f4]['abort']();}const nextTick='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x288476=>Promise['resolve']()['then'](_0x288476):(_0x288bda,_0x4a26ac)=>_0x4a26ac(_0x288bda,0x0),WebSocket$2=_0x1b52b3['WebSocket']||_0x1b52b3['MozWebSocket'],usingBrowserWebSocket=!0x0,defaultBinaryType='arraybuffer',isReactNative='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase']();class _0x45c7c4 extends Transport{constructor(_0x219310){super(_0x219310),this['supportsBinary']=!_0x219310['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x10e0e7=this['uri'](),_0x2486a2=this['opts']['protocols'],_0x4e85b8=isReactNative?{}:_0x462ac1(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0x4e85b8['headers']=this['opts']['extraHeaders']);try{this['ws']=usingBrowserWebSocket&&!isReactNative?_0x2486a2?new WebSocket$2(_0x10e0e7,_0x2486a2):new WebSocket$2(_0x10e0e7):new WebSocket$2(_0x10e0e7,_0x2486a2,_0x4e85b8);}catch(_0x1c49cc){return this['emitReserved']('error',_0x1c49cc);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x41a6d1=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x41a6d1}),this['ws']['onmessage']=_0x37eaa2=>this['onData'](_0x37eaa2['data']),this['ws']['onerror']=_0x352664=>this['onError']('websocket\x20error',_0x352664);}['write'](_0x25d0f1){this['writable']=!0x1;for(let _0xc7d075=0x0;_0xc7d075<_0x25d0f1['length'];_0xc7d075++){const _0x239459=_0x25d0f1[_0xc7d075],_0x5f29e1=_0xc7d075===_0x25d0f1['length']-0x1;encodePacket(_0x239459,this['supportsBinary'],_0x8ade4=>{try{usingBrowserWebSocket&&this['ws']['send'](_0x8ade4);}catch(_0xc08c39){}_0x5f29e1&&nextTick(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0x144fcc=this['opts']['secure']?'wss':'ws',_0x35e493=this['query']||{};return this['opts']['timestampRequests']&&(_0x35e493[this['opts']['timestampParam']]=yeast()),this['supportsBinary']||(_0x35e493['b64']=0x1),this['createUri'](_0x144fcc,_0x35e493);}['check'](){return!!WebSocket$2;}}class _0x4c8e0a 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'](_0x9e9f1=>{this['onError']('webtransport\x20error',_0x9e9f1);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0x3ae8a9=>{const _0x5b03c5=createPacketDecoderStream(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x368876=_0x3ae8a9['readable']['pipeThrough'](_0x5b03c5)['getReader'](),_0x39458b=createPacketEncoderStream();_0x39458b['readable']['pipeTo'](_0x3ae8a9['writable']),this['writer']=_0x39458b['writable']['getWriter']();const _0x120d4a=()=>{_0x368876['read']()['then'](({done:_0x442330,value:_0xf3ee4})=>{_0x442330||(this['onPacket'](_0xf3ee4),_0x120d4a());})['catch'](_0x191b3c=>{});};_0x120d4a();const _0x458e99={'type':'open'};this['query']['sid']&&(_0x458e99['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0x458e99)['then'](()=>this['onOpen']());});}));}['write'](_0x5f4a7e){this['writable']=!0x1;for(let _0x38d84b=0x0;_0x38d84b<_0x5f4a7e['length'];_0x38d84b++){const _0x306cc2=_0x5f4a7e[_0x38d84b],_0x9e94da=_0x38d84b===_0x5f4a7e['length']-0x1;this['writer']['write'](_0x306cc2)['then'](()=>{_0x9e94da&&nextTick(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x5327f3;null===(_0x5327f3=this['transport'])||void 0x0===_0x5327f3||_0x5327f3['close']();}}const transports={'websocket':_0x45c7c4,'webtransport':_0x4c8e0a,'polling':_0x404cd4},_0x5c81c5=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(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 _0x5b4a56(_0x44e720){if(_0x44e720['length']>0x7d0)throw'URI\x20too\x20long';const _0x4c5f5e=_0x44e720,_0x22deda=_0x44e720['indexOf']('['),_0x4cc423=_0x44e720['indexOf'](']');-0x1!=_0x22deda&&-0x1!=_0x4cc423&&(_0x44e720=_0x44e720['substring'](0x0,_0x22deda)+_0x44e720['substring'](_0x22deda,_0x4cc423)['replace'](/:/g,';')+_0x44e720['substring'](_0x4cc423,_0x44e720['length']));let _0x420c35=_0x5c81c5['exec'](_0x44e720||''),_0x2dad44={},_0x5cc21b=0xe;for(;_0x5cc21b--;)_0x2dad44[parts[_0x5cc21b]]=_0x420c35[_0x5cc21b]||'';return-0x1!=_0x22deda&&-0x1!=_0x4cc423&&(_0x2dad44['source']=_0x4c5f5e,_0x2dad44['host']=_0x2dad44['host']['substring'](0x1,_0x2dad44['host']['length']-0x1)['replace'](/;/g,':'),_0x2dad44['authority']=_0x2dad44['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0x2dad44['ipv6uri']=!0x0),_0x2dad44['pathNames']=pathNames(_0x2dad44,_0x2dad44['path']),_0x2dad44['queryKey']=_0x126f62(_0x2dad44,_0x2dad44['query']),_0x2dad44;}function pathNames(_0x243214,_0x32dfc1){const _0x187237=_0x32dfc1['replace'](/\/{2,9}/g,'/')['split']('/');return'/'!=_0x32dfc1['slice'](0x0,0x1)&&0x0!==_0x32dfc1['length']||_0x187237['splice'](0x0,0x1),'/'==_0x32dfc1['slice'](-0x1)&&_0x187237['splice'](_0x187237['length']-0x1,0x1),_0x187237;}function _0x126f62(_0x56b32c,_0x5638f7){const _0x11b287={};return _0x5638f7['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0x56e3ba,_0x538d1f,_0x1b27a3){_0x538d1f&&(_0x11b287[_0x538d1f]=_0x1b27a3);}),_0x11b287;}let Socket$1=class _0x28d262 extends Emitter{constructor(_0x5ca876,_0x534fd7={}){super(),this['binaryType']=defaultBinaryType,this['writeBuffer']=[],_0x5ca876&&'object'==typeof _0x5ca876&&(_0x534fd7=_0x5ca876,_0x5ca876=null),_0x5ca876?(_0x5ca876=_0x5b4a56(_0x5ca876),_0x534fd7['hostname']=_0x5ca876['host'],_0x534fd7['secure']='https'===_0x5ca876['protocol']||'wss'===_0x5ca876['protocol'],_0x534fd7['port']=_0x5ca876['port'],_0x5ca876['query']&&(_0x534fd7['query']=_0x5ca876['query'])):_0x534fd7['host']&&(_0x534fd7['hostname']=_0x5b4a56(_0x534fd7['host'])['host']),installTimerFunctions(this,_0x534fd7),this['secure']=null!=_0x534fd7['secure']?_0x534fd7['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0x534fd7['hostname']&&!_0x534fd7['port']&&(_0x534fd7['port']=this['secure']?'443':'80'),this['hostname']=_0x534fd7['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0x534fd7['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0x534fd7['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},_0x534fd7),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=_0x26c5a0(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'](_0x26a52c){const _0x20767b=Object['assign']({},this['opts']['query']);_0x20767b['EIO']=protocol,_0x20767b['transport']=_0x26a52c,this['id']&&(_0x20767b['sid']=this['id']);const _0x81a556=Object['assign']({},this['opts'],{'query':_0x20767b,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x26a52c]);return new transports[_0x26a52c](_0x81a556);}['open'](){let _0x324085;if(this['opts']['rememberUpgrade']&&_0x28d262['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0x324085='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0x324085=this['transports'][0x0];}this['readyState']='opening';try{_0x324085=this['createTransport'](_0x324085);}catch(_0x165154){return this['transports']['shift'](),void this['open']();}_0x324085['open'](),this['setTransport'](_0x324085);}['setTransport'](_0x278884){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x278884,_0x278884['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0x1f45f9=>this['onClose']('transport\x20close',_0x1f45f9));}['probe'](_0x1997b1){let _0x523eba=this['createTransport'](_0x1997b1),_0xf35e13=!0x1;_0x28d262['priorWebsocketSuccess']=!0x1;const _0x3b7cb6=()=>{_0xf35e13||(_0x523eba['send']([{'type':'ping','data':'probe'}]),_0x523eba['once']('packet',_0x358007=>{if(!_0xf35e13){if('pong'===_0x358007['type']&&'probe'===_0x358007['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x523eba),!_0x523eba)return;_0x28d262['priorWebsocketSuccess']='websocket'===_0x523eba['name'],this['transport']['pause'](()=>{_0xf35e13||'closed'!==this['readyState']&&(_0x5ced35(),this['setTransport'](_0x523eba),_0x523eba['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x523eba),_0x523eba=null,this['upgrading']=!0x1,this['flush']());});}else{const _0x21b507=new Error('probe\x20error');_0x21b507['transport']=_0x523eba['name'],this['emitReserved']('upgradeError',_0x21b507);}}}));};function _0x183889(){_0xf35e13||(_0xf35e13=!0x0,_0x5ced35(),_0x523eba['close'](),_0x523eba=null);}const _0x137668=_0x35bf2d=>{const _0x584eac=new Error('probe\x20error:\x20'+_0x35bf2d);_0x584eac['transport']=_0x523eba['name'],_0x183889(),this['emitReserved']('upgradeError',_0x584eac);};function _0x5832f1(){_0x137668('transport\x20closed');}function _0x194ff3(){_0x137668('socket\x20closed');}function _0x509121(_0x515fb8){_0x523eba&&_0x515fb8['name']!==_0x523eba['name']&&_0x183889();}const _0x5ced35=()=>{_0x523eba['removeListener']('open',_0x3b7cb6),_0x523eba['removeListener']('error',_0x137668),_0x523eba['removeListener']('close',_0x5832f1),this['off']('close',_0x194ff3),this['off']('upgrading',_0x509121);};_0x523eba['once']('open',_0x3b7cb6),_0x523eba['once']('error',_0x137668),_0x523eba['once']('close',_0x5832f1),this['once']('close',_0x194ff3),this['once']('upgrading',_0x509121),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x1997b1?this['setTimeoutFn'](()=>{_0xf35e13||_0x523eba['open']();},0xc8):_0x523eba['open']();}['onOpen'](){if(this['readyState']='open',_0x28d262['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0x3ab1a3=0x0;const _0x69c90e=this['upgrades']['length'];for(;_0x3ab1a3<_0x69c90e;_0x3ab1a3++)this['probe'](this['upgrades'][_0x3ab1a3]);}}['onPacket'](_0x1cf080){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x1cf080),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0x1cf080['type']){case'open':this['onHandshake'](JSON['parse'](_0x1cf080['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0x220439=new Error('server\x20error');_0x220439['code']=_0x1cf080['data'],this['onError'](_0x220439);break;case'message':this['emitReserved']('data',_0x1cf080['data']),this['emitReserved']('message',_0x1cf080['data']);}}['onHandshake'](_0x46210a){this['emitReserved']('handshake',_0x46210a),this['id']=_0x46210a['sid'],this['transport']['query']['sid']=_0x46210a['sid'],this['upgrades']=this['filterUpgrades'](_0x46210a['upgrades']),this['pingInterval']=_0x46210a['pingInterval'],this['pingTimeout']=_0x46210a['pingTimeout'],this['maxPayload']=_0x46210a['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 _0x46f8d8=this['getWritablePackets']();this['transport']['send'](_0x46f8d8),this['prevBufferLen']=_0x46f8d8['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0x423d7d=0x1;for(let _0x7ac9b=0x0;_0x7ac9b<this['writeBuffer']['length'];_0x7ac9b++){const _0x45ad59=this['writeBuffer'][_0x7ac9b]['data'];if(_0x45ad59&&(_0x423d7d+=byteLength(_0x45ad59)),_0x7ac9b>0x0&&_0x423d7d>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0x7ac9b);_0x423d7d+=0x2;}return this['writeBuffer'];}['write'](_0xf5c478,_0x4de675,_0x5e653d){return this['sendPacket']('message',_0xf5c478,_0x4de675,_0x5e653d),this;}['send'](_0x580455,_0x26d231,_0x16a064){return this['sendPacket']('message',_0x580455,_0x26d231,_0x16a064),this;}['sendPacket'](_0x371c91,_0x37869d,_0x58175f,_0x396bba){if('function'==typeof _0x37869d&&(_0x396bba=_0x37869d,_0x37869d=void 0x0),'function'==typeof _0x58175f&&(_0x396bba=_0x58175f,_0x58175f=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x58175f=_0x58175f||{})['compress']=!0x1!==_0x58175f['compress'];const _0x2a9c83={'type':_0x371c91,'data':_0x37869d,'options':_0x58175f};this['emitReserved']('packetCreate',_0x2a9c83),this['writeBuffer']['push'](_0x2a9c83),_0x396bba&&this['once']('flush',_0x396bba),this['flush']();}['close'](){const _0x29f25b=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0x440f2e=()=>{this['off']('upgrade',_0x440f2e),this['off']('upgradeError',_0x440f2e),_0x29f25b();},_0x2384f1=()=>{this['once']('upgrade',_0x440f2e),this['once']('upgradeError',_0x440f2e);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x2384f1():_0x29f25b();}):this['upgrading']?_0x2384f1():_0x29f25b()),this;}['onError'](_0x515700){_0x28d262['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0x515700),this['onClose']('transport\x20error',_0x515700);}['onClose'](_0x113bf2,_0x50e77b){'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',_0x113bf2,_0x50e77b),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0xf2e259){const _0x486312=[];let _0x2bb701=0x0;const _0x269c6c=_0xf2e259['length'];for(;_0x2bb701<_0x269c6c;_0x2bb701++)~this['transports']['indexOf'](_0xf2e259[_0x2bb701])&&_0x486312['push'](_0xf2e259[_0x2bb701]);return _0x486312;}};function _0x333cd2(_0x2abe10,_0x39d219='',_0x5e1fcb){let _0x34b1fe=_0x2abe10;_0x5e1fcb=_0x5e1fcb||'undefined'!=typeof location&&location,null==_0x2abe10&&(_0x2abe10=_0x5e1fcb['protocol']+'//'+_0x5e1fcb['host']),'string'==typeof _0x2abe10&&('/'===_0x2abe10['charAt'](0x0)&&(_0x2abe10='/'===_0x2abe10['charAt'](0x1)?_0x5e1fcb['protocol']+_0x2abe10:_0x5e1fcb['host']+_0x2abe10),/^(https?|wss?):\/\//['test'](_0x2abe10)||(_0x2abe10=void 0x0!==_0x5e1fcb?_0x5e1fcb['protocol']+'//'+_0x2abe10:'https://'+_0x2abe10),_0x34b1fe=_0x5b4a56(_0x2abe10)),_0x34b1fe['port']||(/^(http|ws)$/['test'](_0x34b1fe['protocol'])?_0x34b1fe['port']='80':/^(http|ws)s$/['test'](_0x34b1fe['protocol'])&&(_0x34b1fe['port']='443')),_0x34b1fe['path']=_0x34b1fe['path']||'/';const _0x2b4964=-0x1!==_0x34b1fe['host']['indexOf'](':')?'['+_0x34b1fe['host']+']':_0x34b1fe['host'];return _0x34b1fe['id']=_0x34b1fe['protocol']+'://'+_0x2b4964+':'+_0x34b1fe['port']+_0x39d219,_0x34b1fe['href']=_0x34b1fe['protocol']+'://'+_0x2b4964+(_0x5e1fcb&&_0x5e1fcb['port']===_0x34b1fe['port']?'':':'+_0x34b1fe['port']),_0x34b1fe;}Socket$1['protocol']=protocol;const withNativeArrayBuffer='function'==typeof ArrayBuffer,_0xa23874=_0x1adf8d=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x1adf8d):_0x1adf8d['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 _0x371b2e(_0x3526ca){return withNativeArrayBuffer&&(_0x3526ca instanceof ArrayBuffer||_0xa23874(_0x3526ca))||withNativeBlob&&_0x3526ca instanceof Blob||withNativeFile&&_0x3526ca instanceof File;}function _0x1b770e(_0x4f14dd,_0x4da178){if(!_0x4f14dd||'object'!=typeof _0x4f14dd)return!0x1;if(Array['isArray'](_0x4f14dd)){for(let _0x33dccd=0x0,_0x57cfd7=_0x4f14dd['length'];_0x33dccd<_0x57cfd7;_0x33dccd++)if(_0x1b770e(_0x4f14dd[_0x33dccd]))return!0x0;return!0x1;}if(_0x371b2e(_0x4f14dd))return!0x0;if(_0x4f14dd['toJSON']&&'function'==typeof _0x4f14dd['toJSON']&&0x1===arguments['length'])return _0x1b770e(_0x4f14dd['toJSON'](),!0x0);for(const _0x49eb44 in _0x4f14dd)if(Object['prototype']['hasOwnProperty']['call'](_0x4f14dd,_0x49eb44)&&_0x1b770e(_0x4f14dd[_0x49eb44]))return!0x0;return!0x1;}function deconstructPacket(_0x3a5058){const _0x59c981=[],_0x195732=_0x3a5058['data'],_0x1c026d=_0x3a5058;return _0x1c026d['data']=_deconstructPacket(_0x195732,_0x59c981),_0x1c026d['attachments']=_0x59c981['length'],{'packet':_0x1c026d,'buffers':_0x59c981};}function _deconstructPacket(_0x1c005b,_0x4bcdfa){if(!_0x1c005b)return _0x1c005b;if(_0x371b2e(_0x1c005b)){const _0x206eca={'_placeholder':!0x0,'num':_0x4bcdfa['length']};return _0x4bcdfa['push'](_0x1c005b),_0x206eca;}if(Array['isArray'](_0x1c005b)){const _0x4f09c5=new Array(_0x1c005b['length']);for(let _0x1d458e=0x0;_0x1d458e<_0x1c005b['length'];_0x1d458e++)_0x4f09c5[_0x1d458e]=_deconstructPacket(_0x1c005b[_0x1d458e],_0x4bcdfa);return _0x4f09c5;}if('object'==typeof _0x1c005b&&!(_0x1c005b instanceof Date)){const _0x17689c={};for(const _0x5c741e in _0x1c005b)Object['prototype']['hasOwnProperty']['call'](_0x1c005b,_0x5c741e)&&(_0x17689c[_0x5c741e]=_deconstructPacket(_0x1c005b[_0x5c741e],_0x4bcdfa));return _0x17689c;}return _0x1c005b;}function reconstructPacket(_0x2601f9,_0x25f18b){return _0x2601f9['data']=_reconstructPacket(_0x2601f9['data'],_0x25f18b),delete _0x2601f9['attachments'],_0x2601f9;}function _reconstructPacket(_0x4ef90c,_0x3ce65d){if(!_0x4ef90c)return _0x4ef90c;if(_0x4ef90c&&!0x0===_0x4ef90c['_placeholder']){if('number'==typeof _0x4ef90c['num']&&_0x4ef90c['num']>=0x0&&_0x4ef90c['num']<_0x3ce65d['length'])return _0x3ce65d[_0x4ef90c['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0x4ef90c)){for(let _0x453a8d=0x0;_0x453a8d<_0x4ef90c['length'];_0x453a8d++)_0x4ef90c[_0x453a8d]=_reconstructPacket(_0x4ef90c[_0x453a8d],_0x3ce65d);}else{if('object'==typeof _0x4ef90c){for(const _0x519c0a in _0x4ef90c)Object['prototype']['hasOwnProperty']['call'](_0x4ef90c,_0x519c0a)&&(_0x4ef90c[_0x519c0a]=_reconstructPacket(_0x4ef90c[_0x519c0a],_0x3ce65d));}}return _0x4ef90c;}const _0x87507f=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'];var PacketType;!function(_0x1be7f1){_0x1be7f1[_0x1be7f1['CONNECT']=0x0]='CONNECT',_0x1be7f1[_0x1be7f1['DISCONNECT']=0x1]='DISCONNECT',_0x1be7f1[_0x1be7f1['EVENT']=0x2]='EVENT',_0x1be7f1[_0x1be7f1['ACK']=0x3]='ACK',_0x1be7f1[_0x1be7f1['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x1be7f1[_0x1be7f1['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x1be7f1[_0x1be7f1['BINARY_ACK']=0x6]='BINARY_ACK';}(PacketType||(PacketType={}));let _0x3eca34=class{constructor(_0x2eb2e1){this['replacer']=_0x2eb2e1;}['encode'](_0x3967a4){return _0x3967a4['type']!==PacketType['EVENT']&&_0x3967a4['type']!==PacketType['ACK']||!_0x1b770e(_0x3967a4)?[this['encodeAsString'](_0x3967a4)]:this['encodeAsBinary']({'type':_0x3967a4['type']===PacketType['EVENT']?PacketType['BINARY_EVENT']:PacketType['BINARY_ACK'],'nsp':_0x3967a4['nsp'],'data':_0x3967a4['data'],'id':_0x3967a4['id']});}['encodeAsString'](_0x1f2637){let _0x7924ac=''+_0x1f2637['type'];return _0x1f2637['type']!==PacketType['BINARY_EVENT']&&_0x1f2637['type']!==PacketType['BINARY_ACK']||(_0x7924ac+=_0x1f2637['attachments']+'-'),_0x1f2637['nsp']&&'/'!==_0x1f2637['nsp']&&(_0x7924ac+=_0x1f2637['nsp']+','),null!=_0x1f2637['id']&&(_0x7924ac+=_0x1f2637['id']),null!=_0x1f2637['data']&&(_0x7924ac+=JSON['stringify'](_0x1f2637['data'],this['replacer'])),_0x7924ac;}['encodeAsBinary'](_0x35b22d){const _0x58b217=deconstructPacket(_0x35b22d),_0x5ab440=this['encodeAsString'](_0x58b217['packet']),_0x2ddf8b=_0x58b217['buffers'];return _0x2ddf8b['unshift'](_0x5ab440),_0x2ddf8b;}};function isObject$2(_0x1182bc){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x1182bc);}let _0x173f7a=class _0x4ac839 extends Emitter{constructor(_0x98ff8b){super(),this['reviver']=_0x98ff8b;}['add'](_0x525def){let _0x2fe3d4;if('string'==typeof _0x525def){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x2fe3d4=this['decodeString'](_0x525def);const _0x48c39d=_0x2fe3d4['type']===PacketType['BINARY_EVENT'];_0x48c39d||_0x2fe3d4['type']===PacketType['BINARY_ACK']?(_0x2fe3d4['type']=_0x48c39d?PacketType['EVENT']:PacketType['ACK'],this['reconstructor']=new BinaryReconstructor(_0x2fe3d4),0x0===_0x2fe3d4['attachments']&&super['emitReserved']('decoded',_0x2fe3d4)):super['emitReserved']('decoded',_0x2fe3d4);}else{if(!_0x371b2e(_0x525def)&&!_0x525def['base64'])throw new Error('Unknown\x20type:\x20'+_0x525def);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x2fe3d4=this['reconstructor']['takeBinaryData'](_0x525def),_0x2fe3d4&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x2fe3d4));}}['decodeString'](_0x23044e){let _0xf8a973=0x0;const _0x276ecf={'type':Number(_0x23044e['charAt'](0x0))};if(void 0x0===PacketType[_0x276ecf['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x276ecf['type']);if(_0x276ecf['type']===PacketType['BINARY_EVENT']||_0x276ecf['type']===PacketType['BINARY_ACK']){const _0xe91764=_0xf8a973+0x1;for(;'-'!==_0x23044e['charAt'](++_0xf8a973)&&_0xf8a973!=_0x23044e['length'];);const _0x41f9af=_0x23044e['substring'](_0xe91764,_0xf8a973);if(_0x41f9af!=Number(_0x41f9af)||'-'!==_0x23044e['charAt'](_0xf8a973))throw new Error('Illegal\x20attachments');_0x276ecf['attachments']=Number(_0x41f9af);}if('/'===_0x23044e['charAt'](_0xf8a973+0x1)){const _0x219237=_0xf8a973+0x1;for(;++_0xf8a973;){if(','===_0x23044e['charAt'](_0xf8a973))break;if(_0xf8a973===_0x23044e['length'])break;}_0x276ecf['nsp']=_0x23044e['substring'](_0x219237,_0xf8a973);}else _0x276ecf['nsp']='/';const _0x362b90=_0x23044e['charAt'](_0xf8a973+0x1);if(''!==_0x362b90&&Number(_0x362b90)==_0x362b90){const _0x442c42=_0xf8a973+0x1;for(;++_0xf8a973;){const _0x40050c=_0x23044e['charAt'](_0xf8a973);if(null==_0x40050c||Number(_0x40050c)!=_0x40050c){--_0xf8a973;break;}if(_0xf8a973===_0x23044e['length'])break;}_0x276ecf['id']=Number(_0x23044e['substring'](_0x442c42,_0xf8a973+0x1));}if(_0x23044e['charAt'](++_0xf8a973)){const _0x800c70=this['tryParse'](_0x23044e['substr'](_0xf8a973));if(!_0x4ac839['isPayloadValid'](_0x276ecf['type'],_0x800c70))throw new Error('invalid\x20payload');_0x276ecf['data']=_0x800c70;}return _0x276ecf;}['tryParse'](_0x4ba92c){try{return JSON['parse'](_0x4ba92c,this['reviver']);}catch(_0x56c23c){return!0x1;}}static['isPayloadValid'](_0x1f4cd3,_0x5df7d5){switch(_0x1f4cd3){case PacketType['CONNECT']:return isObject$2(_0x5df7d5);case PacketType['DISCONNECT']:return void 0x0===_0x5df7d5;case PacketType['CONNECT_ERROR']:return'string'==typeof _0x5df7d5||isObject$2(_0x5df7d5);case PacketType['EVENT']:case PacketType['BINARY_EVENT']:return Array['isArray'](_0x5df7d5)&&('number'==typeof _0x5df7d5[0x0]||'string'==typeof _0x5df7d5[0x0]&&-0x1===_0x87507f['indexOf'](_0x5df7d5[0x0]));case PacketType['ACK']:case PacketType['BINARY_ACK']:return Array['isArray'](_0x5df7d5);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}};class BinaryReconstructor{constructor(_0x2f20f9){this['packet']=_0x2f20f9,this['buffers']=[],this['reconPack']=_0x2f20f9;}['takeBinaryData'](_0x41fd2c){if(this['buffers']['push'](_0x41fd2c),this['buffers']['length']===this['reconPack']['attachments']){const _0x273260=reconstructPacket(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x273260;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}}var _0x32a270=Object['freeze']({'__proto__':null,'Decoder':_0x173f7a,'Encoder':_0x3eca34,get 'PacketType'(){return PacketType;}});function _0x47c249(_0x305e7b,_0x6b4278,_0x41d402){return _0x305e7b['on'](_0x6b4278,_0x41d402),function(){_0x305e7b['off'](_0x6b4278,_0x41d402);};}const _0x9a3ee5=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});class Socket extends Emitter{constructor(_0x2eabdc,_0x2ea54e,_0x2667cb){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']=_0x2eabdc,this['nsp']=_0x2ea54e,_0x2667cb&&_0x2667cb['auth']&&(this['auth']=_0x2667cb['auth']),this['_opts']=Object['assign']({},_0x2667cb),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x2eca31=this['io'];this['subs']=[_0x47c249(_0x2eca31,'open',this['onopen']['bind'](this)),_0x47c249(_0x2eca31,'packet',this['onpacket']['bind'](this)),_0x47c249(_0x2eca31,'error',this['onerror']['bind'](this)),_0x47c249(_0x2eca31,'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'](..._0x3a9c2e){return _0x3a9c2e['unshift']('message'),this['emit']['apply'](this,_0x3a9c2e),this;}['emit'](_0x50503e,..._0x101a83){if(_0x9a3ee5['hasOwnProperty'](_0x50503e))throw new Error('\x22'+_0x50503e['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0x101a83['unshift'](_0x50503e),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0x101a83),this;const _0x1e41d3={'type':PacketType['EVENT'],'data':_0x101a83,'options':{}};if(_0x1e41d3['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0x101a83[_0x101a83['length']-0x1]){const _0x34702b=this['ids']++,_0x22c24b=_0x101a83['pop']();this['_registerAckCallback'](_0x34702b,_0x22c24b),_0x1e41d3['id']=_0x34702b;}const _0x3d1f9b=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return this['flags']['volatile']&&(!_0x3d1f9b||!this['connected'])||(this['connected']?(this['notifyOutgoingListeners'](_0x1e41d3),this['packet'](_0x1e41d3)):this['sendBuffer']['push'](_0x1e41d3)),this['flags']={},this;}['_registerAckCallback'](_0x1cccc5,_0xf5987a){var _0x4eea37;const _0x3e6d14=null!==(_0x4eea37=this['flags']['timeout'])&&void 0x0!==_0x4eea37?_0x4eea37:this['_opts']['ackTimeout'];if(void 0x0===_0x3e6d14)return void(this['acks'][_0x1cccc5]=_0xf5987a);const _0x1f1c50=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0x1cccc5];for(let _0x4bbde5=0x0;_0x4bbde5<this['sendBuffer']['length'];_0x4bbde5++)this['sendBuffer'][_0x4bbde5]['id']===_0x1cccc5&&this['sendBuffer']['splice'](_0x4bbde5,0x1);_0xf5987a['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x3e6d14);this['acks'][_0x1cccc5]=(..._0x1d9aa1)=>{this['io']['clearTimeoutFn'](_0x1f1c50),_0xf5987a['apply'](this,[null,..._0x1d9aa1]);};}['emitWithAck'](_0x4452af,..._0x13f746){const _0x592783=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x102cda,_0x39be76)=>{_0x13f746['push']((_0x3e15b7,_0x404cad)=>_0x592783?_0x3e15b7?_0x39be76(_0x3e15b7):_0x102cda(_0x404cad):_0x102cda(_0x3e15b7)),this['emit'](_0x4452af,..._0x13f746);});}['_addToQueue'](_0x38b644){let _0x2726f0;'function'==typeof _0x38b644[_0x38b644['length']-0x1]&&(_0x2726f0=_0x38b644['pop']());const _0x5e9c7e={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0x38b644,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0x38b644['push']((_0x543af1,..._0xf61151)=>{if(_0x5e9c7e!==this['_queue'][0x0])return;return null!==_0x543af1?_0x5e9c7e['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0x2726f0&&_0x2726f0(_0x543af1)):(this['_queue']['shift'](),_0x2726f0&&_0x2726f0(null,..._0xf61151)),_0x5e9c7e['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0x5e9c7e),this['_drainQueue']();}['_drainQueue'](_0x34fe97=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x7d587b=this['_queue'][0x0];_0x7d587b['pending']&&!_0x34fe97||(_0x7d587b['pending']=!0x0,_0x7d587b['tryCount']++,this['flags']=_0x7d587b['flags'],this['emit']['apply'](this,_0x7d587b['args']));}['packet'](_0x4a7b52){_0x4a7b52['nsp']=this['nsp'],this['io']['_packet'](_0x4a7b52);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0x3b8449=>{this['_sendConnectPacket'](_0x3b8449);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0x2e4604){this['packet']({'type':PacketType['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0x2e4604):_0x2e4604});}['onerror'](_0x1e96ec){this['connected']||this['emitReserved']('connect_error',_0x1e96ec);}['onclose'](_0x2d15c9,_0x2c5293){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x2d15c9,_0x2c5293);}['onpacket'](_0x5ad3d3){if(_0x5ad3d3['nsp']===this['nsp'])switch(_0x5ad3d3['type']){case PacketType['CONNECT']:_0x5ad3d3['data']&&_0x5ad3d3['data']['sid']?this['onconnect'](_0x5ad3d3['data']['sid'],_0x5ad3d3['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'](_0x5ad3d3);break;case PacketType['ACK']:case PacketType['BINARY_ACK']:this['onack'](_0x5ad3d3);break;case PacketType['DISCONNECT']:this['ondisconnect']();break;case PacketType['CONNECT_ERROR']:this['destroy']();const _0x4be597=new Error(_0x5ad3d3['data']['message']);_0x4be597['data']=_0x5ad3d3['data']['data'],this['emitReserved']('connect_error',_0x4be597);}}['onevent'](_0x65ba5){const _0x3a2021=_0x65ba5['data']||[];null!=_0x65ba5['id']&&_0x3a2021['push'](this['ack'](_0x65ba5['id'])),this['connected']?this['emitEvent'](_0x3a2021):this['receiveBuffer']['push'](Object['freeze'](_0x3a2021));}['emitEvent'](_0x25a1a9){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x4aa32b=this['_anyListeners']['slice']();for(const _0x493269 of _0x4aa32b)_0x493269['apply'](this,_0x25a1a9);}super['emit']['apply'](this,_0x25a1a9),this['_pid']&&_0x25a1a9['length']&&'string'==typeof _0x25a1a9[_0x25a1a9['length']-0x1]&&(this['_lastOffset']=_0x25a1a9[_0x25a1a9['length']-0x1]);}['ack'](_0x2b502b){const _0x353e07=this;let _0x2ea1f5=!0x1;return function(..._0x14ff9a){_0x2ea1f5||(_0x2ea1f5=!0x0,_0x353e07['packet']({'type':PacketType['ACK'],'id':_0x2b502b,'data':_0x14ff9a}));};}['onack'](_0x3a4e47){const _0x302356=this['acks'][_0x3a4e47['id']];'function'==typeof _0x302356&&(_0x302356['apply'](this,_0x3a4e47['data']),delete this['acks'][_0x3a4e47['id']]);}['onconnect'](_0x556bca,_0x26cc8c){this['id']=_0x556bca,this['recovered']=_0x26cc8c&&this['_pid']===_0x26cc8c,this['_pid']=_0x26cc8c,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x528d13=>this['emitEvent'](_0x528d13)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0x5d5d95=>{this['notifyOutgoingListeners'](_0x5d5d95),this['packet'](_0x5d5d95);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0x14ba90=>_0x14ba90()),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'](_0xfcdb4a){return this['flags']['compress']=_0xfcdb4a,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x40656a){return this['flags']['timeout']=_0x40656a,this;}['onAny'](_0x11a201){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x11a201),this;}['prependAny'](_0x4874ec){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0x4874ec),this;}['offAny'](_0x92f8eb){if(!this['_anyListeners'])return this;if(_0x92f8eb){const _0xbd4cdf=this['_anyListeners'];for(let _0x1b5416=0x0;_0x1b5416<_0xbd4cdf['length'];_0x1b5416++)if(_0x92f8eb===_0xbd4cdf[_0x1b5416])return _0xbd4cdf['splice'](_0x1b5416,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0x5479fd){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x5479fd),this;}['prependAnyOutgoing'](_0x11262a){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0x11262a),this;}['offAnyOutgoing'](_0x383811){if(!this['_anyOutgoingListeners'])return this;if(_0x383811){const _0x4c5705=this['_anyOutgoingListeners'];for(let _0xc4c978=0x0;_0xc4c978<_0x4c5705['length'];_0xc4c978++)if(_0x383811===_0x4c5705[_0xc4c978])return _0x4c5705['splice'](_0xc4c978,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0x332d70){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x4ce7be=this['_anyOutgoingListeners']['slice']();for(const _0x2f4cb9 of _0x4ce7be)_0x2f4cb9['apply'](this,_0x332d70['data']);}}}function _0x2c8895(_0x554e83){_0x554e83=_0x554e83||{},this['ms']=_0x554e83['min']||0x64,this['max']=_0x554e83['max']||0x2710,this['factor']=_0x554e83['factor']||0x2,this['jitter']=_0x554e83['jitter']>0x0&&_0x554e83['jitter']<=0x1?_0x554e83['jitter']:0x0,this['attempts']=0x0;}_0x2c8895['prototype']['duration']=function(){var _0x4c7812=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0xac4991=Math['random'](),_0x226c67=Math['floor'](_0xac4991*this['jitter']*_0x4c7812);_0x4c7812=0x1&Math['floor'](0xa*_0xac4991)?_0x4c7812+_0x226c67:_0x4c7812-_0x226c67;}return 0x0|Math['min'](_0x4c7812,this['max']);},_0x2c8895['prototype']['reset']=function(){this['attempts']=0x0;},_0x2c8895['prototype']['setMin']=function(_0x573634){this['ms']=_0x573634;},_0x2c8895['prototype']['setMax']=function(_0x69d7f7){this['max']=_0x69d7f7;},_0x2c8895['prototype']['setJitter']=function(_0x28ebb8){this['jitter']=_0x28ebb8;};class _0x5315c6 extends Emitter{constructor(_0x118342,_0x5c345a){var _0x5cc8e9;super(),this['nsps']={},this['subs']=[],_0x118342&&'object'==typeof _0x118342&&(_0x5c345a=_0x118342,_0x118342=void 0x0),(_0x5c345a=_0x5c345a||{})['path']=_0x5c345a['path']||'/socket.io',this['opts']=_0x5c345a,installTimerFunctions(this,_0x5c345a),this['reconnection'](!0x1!==_0x5c345a['reconnection']),this['reconnectionAttempts'](_0x5c345a['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x5c345a['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x5c345a['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0x5cc8e9=_0x5c345a['randomizationFactor'])&&void 0x0!==_0x5cc8e9?_0x5cc8e9:0.5),this['backoff']=new _0x2c8895({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x5c345a['timeout']?0x4e20:_0x5c345a['timeout']),this['_readyState']='closed',this['uri']=_0x118342;const _0x498205=_0x5c345a['parser']||_0x32a270;this['encoder']=new _0x498205['Encoder'](),this['decoder']=new _0x498205['Decoder'](),this['_autoConnect']=!0x1!==_0x5c345a['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x2a856e){return arguments['length']?(this['_reconnection']=!!_0x2a856e,this):this['_reconnection'];}['reconnectionAttempts'](_0x36ff8a){return void 0x0===_0x36ff8a?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x36ff8a,this);}['reconnectionDelay'](_0x3d2289){var _0xba04f8;return void 0x0===_0x3d2289?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0x3d2289,null===(_0xba04f8=this['backoff'])||void 0x0===_0xba04f8||_0xba04f8['setMin'](_0x3d2289),this);}['randomizationFactor'](_0xf08946){var _0x3f6b25;return void 0x0===_0xf08946?this['_randomizationFactor']:(this['_randomizationFactor']=_0xf08946,null===(_0x3f6b25=this['backoff'])||void 0x0===_0x3f6b25||_0x3f6b25['setJitter'](_0xf08946),this);}['reconnectionDelayMax'](_0x47848f){var _0x28436d;return void 0x0===_0x47848f?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x47848f,null===(_0x28436d=this['backoff'])||void 0x0===_0x28436d||_0x28436d['setMax'](_0x47848f),this);}['timeout'](_0x3af500){return arguments['length']?(this['_timeout']=_0x3af500,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x1a7e3c){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new Socket$1(this['uri'],this['opts']);const _0x1b0d5d=this['engine'],_0x289fdf=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x166b9b=_0x47c249(_0x1b0d5d,'open',function(){_0x289fdf['onopen'](),_0x1a7e3c&&_0x1a7e3c();}),_0x417443=_0x2b7af8=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0x2b7af8),_0x1a7e3c?_0x1a7e3c(_0x2b7af8):this['maybeReconnectOnOpen']();},_0x703d14=_0x47c249(_0x1b0d5d,'error',_0x417443);if(!0x1!==this['_timeout']){const _0x247bff=this['_timeout'],_0x1ab0d6=this['setTimeoutFn'](()=>{_0x166b9b(),_0x417443(new Error('timeout')),_0x1b0d5d['close']();},_0x247bff);this['opts']['autoUnref']&&_0x1ab0d6['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x1ab0d6);});}return this['subs']['push'](_0x166b9b),this['subs']['push'](_0x703d14),this;}['connect'](_0x1c4eaf){return this['open'](_0x1c4eaf);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x577475=this['engine'];this['subs']['push'](_0x47c249(_0x577475,'ping',this['onping']['bind'](this)),_0x47c249(_0x577475,'data',this['ondata']['bind'](this)),_0x47c249(_0x577475,'error',this['onerror']['bind'](this)),_0x47c249(_0x577475,'close',this['onclose']['bind'](this)),_0x47c249(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0xeb9f3d){try{this['decoder']['add'](_0xeb9f3d);}catch(_0x164eaf){this['onclose']('parse\x20error',_0x164eaf);}}['ondecoded'](_0x5d4da7){nextTick(()=>{this['emitReserved']('packet',_0x5d4da7);},this['setTimeoutFn']);}['onerror'](_0xc990bd){this['emitReserved']('error',_0xc990bd);}['socket'](_0x4d51a3,_0x2fb2cf){let _0x117706=this['nsps'][_0x4d51a3];return _0x117706?this['_autoConnect']&&!_0x117706['active']&&_0x117706['connect']():(_0x117706=new Socket(this,_0x4d51a3,_0x2fb2cf),this['nsps'][_0x4d51a3]=_0x117706),_0x117706;}['_destroy'](_0x4f1cb4){const _0x2077c7=Object['keys'](this['nsps']);for(const _0x5dc60a of _0x2077c7){if(this['nsps'][_0x5dc60a]['active'])return;}this['_close']();}['_packet'](_0x520017){const _0x31eede=this['encoder']['encode'](_0x520017);for(let _0x1b13e9=0x0;_0x1b13e9<_0x31eede['length'];_0x1b13e9++)this['engine']['write'](_0x31eede[_0x1b13e9],_0x520017['options']);}['cleanup'](){this['subs']['forEach'](_0x57bd62=>_0x57bd62()),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'](_0x2d55fa,_0x954803){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x2d55fa,_0x954803),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x40b2f8=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0x439310=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x86e4cc=this['setTimeoutFn'](()=>{_0x40b2f8['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x40b2f8['backoff']['attempts']),_0x40b2f8['skipReconnect']||_0x40b2f8['open'](_0x3447b9=>{_0x3447b9?(_0x40b2f8['_reconnecting']=!0x1,_0x40b2f8['reconnect'](),this['emitReserved']('reconnect_error',_0x3447b9)):_0x40b2f8['onreconnect']();}));},_0x439310);this['opts']['autoUnref']&&_0x86e4cc['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x86e4cc);});}}['onreconnect'](){const _0x461835=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x461835);}}const _0x3c748c={};function _0x3e670e(_0x45e708,_0x4534e1){'object'==typeof _0x45e708&&(_0x4534e1=_0x45e708,_0x45e708=void 0x0);const _0x20a9fc=_0x333cd2(_0x45e708,(_0x4534e1=_0x4534e1||{})['path']||'/socket.io'),_0x1c3be4=_0x20a9fc['source'],_0x55f189=_0x20a9fc['id'],_0x424dd4=_0x20a9fc['path'],_0x1f5db4=_0x3c748c[_0x55f189]&&_0x424dd4 in _0x3c748c[_0x55f189]['nsps'];let _0x17661f;return _0x4534e1['forceNew']||_0x4534e1['force\x20new\x20connection']||!0x1===_0x4534e1['multiplex']||_0x1f5db4?_0x17661f=new _0x5315c6(_0x1c3be4,_0x4534e1):(_0x3c748c[_0x55f189]||(_0x3c748c[_0x55f189]=new _0x5315c6(_0x1c3be4,_0x4534e1)),_0x17661f=_0x3c748c[_0x55f189]),_0x20a9fc['query']&&!_0x4534e1['query']&&(_0x4534e1['query']=_0x20a9fc['queryKey']),_0x17661f['socket'](_0x20a9fc['path'],_0x4534e1);}var requiresPort,hasRequiredRequiresPort;function requireRequiresPort(){return hasRequiredRequiresPort||(hasRequiredRequiresPort=0x1,requiresPort=function(_0x58c7da,_0x2d9f55){if(_0x2d9f55=_0x2d9f55['split'](':')[0x0],!(_0x58c7da=+_0x58c7da))return!0x1;switch(_0x2d9f55){case'http':case'ws':return 0x50!==_0x58c7da;case'https':case'wss':return 0x1bb!==_0x58c7da;case'ftp':return 0x15!==_0x58c7da;case'gopher':return 0x46!==_0x58c7da;case'file':return!0x1;}return 0x0!==_0x58c7da;}),requiresPort;}Object['assign'](_0x3e670e,{'Manager':_0x5315c6,'Socket':Socket,'io':_0x3e670e,'connect':_0x3e670e});var querystringify={},hasRequiredQuerystringify,_0x33919c,_0x223a51;function requireQuerystringify(){if(hasRequiredQuerystringify)return querystringify;hasRequiredQuerystringify=0x1;var _0x32acaf=Object['prototype']['hasOwnProperty'];function _0x473c7c(_0x26ca57){try{return decodeURIComponent(_0x26ca57['replace'](/\+/g,'\x20'));}catch(_0xfd96aa){return null;}}function _0xa3123(_0x582ae1){try{return encodeURIComponent(_0x582ae1);}catch(_0x17955f){return null;}}return querystringify['stringify']=function(_0x450b05,_0x12fa84){_0x12fa84=_0x12fa84||'';var _0x38f0db,_0xac7661,_0x45e53e=[];for(_0xac7661 in('string'!=typeof _0x12fa84&&(_0x12fa84='?'),_0x450b05))if(_0x32acaf['call'](_0x450b05,_0xac7661)){if((_0x38f0db=_0x450b05[_0xac7661])||null!=_0x38f0db&&!isNaN(_0x38f0db)||(_0x38f0db=''),_0xac7661=_0xa3123(_0xac7661),_0x38f0db=_0xa3123(_0x38f0db),null===_0xac7661||null===_0x38f0db)continue;_0x45e53e['push'](_0xac7661+'='+_0x38f0db);}return _0x45e53e['length']?_0x12fa84+_0x45e53e['join']('&'):'';},querystringify['parse']=function(_0x107257){for(var _0x4c7b31,_0x8e234e=/([^=?#&]+)=?([^&]*)/g,_0x525660={};_0x4c7b31=_0x8e234e['exec'](_0x107257);){var _0x656d27=_0x473c7c(_0x4c7b31[0x1]),_0x48c3ec=_0x473c7c(_0x4c7b31[0x2]);null===_0x656d27||null===_0x48c3ec||_0x656d27 in _0x525660||(_0x525660[_0x656d27]=_0x48c3ec);}return _0x525660;},querystringify;}function requireUrlParse(){if(_0x223a51)return _0x33919c;_0x223a51=0x1;var _0x487e44=requireRequiresPort(),_0x32f50e=requireQuerystringify(),_0x4ce9c8=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x2e2e74=/[\n\r\t]/g,_0x414424=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0x5af985=/:\d+$/,_0x596bd4=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x1e01a2=/^[a-zA-Z]:/;function _0x222194(_0x1a95b6){return(_0x1a95b6||'')['toString']()['replace'](_0x4ce9c8,'');}var _0x5f4fb0=[['#','hash'],['?','query'],function(_0x5a4c73,_0x2a65ab){return _0x302141(_0x2a65ab['protocol'])?_0x5a4c73['replace'](/\\/g,'/'):_0x5a4c73;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x1586aa={'hash':0x1,'query':0x1};function _0x5d25eb(_0x3bda20){var _0x493fea,_0x741faa=('undefined'!=typeof window?window:void 0x0!==_0x1ff5f0?_0x1ff5f0:'undefined'!=typeof self?self:{})['location']||{},_0x3796f6={},_0x1d3ae2=typeof(_0x3bda20=_0x3bda20||_0x741faa);if('blob:'===_0x3bda20['protocol'])_0x3796f6=new _0x329a76(unescape(_0x3bda20['pathname']),{});else{if('string'===_0x1d3ae2){for(_0x493fea in(_0x3796f6=new _0x329a76(_0x3bda20,{}),_0x1586aa))delete _0x3796f6[_0x493fea];}else{if('object'===_0x1d3ae2){for(_0x493fea in _0x3bda20)_0x493fea in _0x1586aa||(_0x3796f6[_0x493fea]=_0x3bda20[_0x493fea]);void 0x0===_0x3796f6['slashes']&&(_0x3796f6['slashes']=_0x414424['test'](_0x3bda20['href']));}}}return _0x3796f6;}function _0x302141(_0x519392){return'file:'===_0x519392||'ftp:'===_0x519392||'http:'===_0x519392||'https:'===_0x519392||'ws:'===_0x519392||'wss:'===_0x519392;}function _0x3cdefc(_0x5ad62f,_0x12b780){_0x5ad62f=(_0x5ad62f=_0x222194(_0x5ad62f))['replace'](_0x2e2e74,''),_0x12b780=_0x12b780||{};var _0x38bb66,_0x2c5241=_0x596bd4['exec'](_0x5ad62f),_0x4d569c=_0x2c5241[0x1]?_0x2c5241[0x1]['toLowerCase']():'',_0xe7da85=!!_0x2c5241[0x2],_0x139145=!!_0x2c5241[0x3],_0x4fc7a7=0x0;return _0xe7da85?_0x139145?(_0x38bb66=_0x2c5241[0x2]+_0x2c5241[0x3]+_0x2c5241[0x4],_0x4fc7a7=_0x2c5241[0x2]['length']+_0x2c5241[0x3]['length']):(_0x38bb66=_0x2c5241[0x2]+_0x2c5241[0x4],_0x4fc7a7=_0x2c5241[0x2]['length']):_0x139145?(_0x38bb66=_0x2c5241[0x3]+_0x2c5241[0x4],_0x4fc7a7=_0x2c5241[0x3]['length']):_0x38bb66=_0x2c5241[0x4],'file:'===_0x4d569c?_0x4fc7a7>=0x2&&(_0x38bb66=_0x38bb66['slice'](0x2)):_0x302141(_0x4d569c)?_0x38bb66=_0x2c5241[0x4]:_0x4d569c?_0xe7da85&&(_0x38bb66=_0x38bb66['slice'](0x2)):_0x4fc7a7>=0x2&&_0x302141(_0x12b780['protocol'])&&(_0x38bb66=_0x2c5241[0x4]),{'protocol':_0x4d569c,'slashes':_0xe7da85||_0x302141(_0x4d569c),'slashesCount':_0x4fc7a7,'rest':_0x38bb66};}function _0x329a76(_0x436ca0,_0xfb6b98,_0x5b6a46){if(_0x436ca0=(_0x436ca0=_0x222194(_0x436ca0))['replace'](_0x2e2e74,''),!(this instanceof _0x329a76))return new _0x329a76(_0x436ca0,_0xfb6b98,_0x5b6a46);var _0x47e1f7,_0x502cf6,_0x11f781,_0xfb27a6,_0x470482,_0x48c86f,_0x5f171e=_0x5f4fb0['slice'](),_0x3c1494=typeof _0xfb6b98,_0x431ebb=this,_0x2ae6f8=0x0;for('object'!==_0x3c1494&&'string'!==_0x3c1494&&(_0x5b6a46=_0xfb6b98,_0xfb6b98=null),_0x5b6a46&&'function'!=typeof _0x5b6a46&&(_0x5b6a46=_0x32f50e['parse']),_0x47e1f7=!(_0x502cf6=_0x3cdefc(_0x436ca0||'',_0xfb6b98=_0x5d25eb(_0xfb6b98)))['protocol']&&!_0x502cf6['slashes'],_0x431ebb['slashes']=_0x502cf6['slashes']||_0x47e1f7&&_0xfb6b98['slashes'],_0x431ebb['protocol']=_0x502cf6['protocol']||_0xfb6b98['protocol']||'',_0x436ca0=_0x502cf6['rest'],('file:'===_0x502cf6['protocol']&&(0x2!==_0x502cf6['slashesCount']||_0x1e01a2['test'](_0x436ca0))||!_0x502cf6['slashes']&&(_0x502cf6['protocol']||_0x502cf6['slashesCount']<0x2||!_0x302141(_0x431ebb['protocol'])))&&(_0x5f171e[0x3]=[/(.*)/,'pathname']);_0x2ae6f8<_0x5f171e['length'];_0x2ae6f8++)'function'!=typeof(_0xfb27a6=_0x5f171e[_0x2ae6f8])?(_0x11f781=_0xfb27a6[0x0],_0x48c86f=_0xfb27a6[0x1],_0x11f781!=_0x11f781?_0x431ebb[_0x48c86f]=_0x436ca0:'string'==typeof _0x11f781?~(_0x470482='@'===_0x11f781?_0x436ca0['lastIndexOf'](_0x11f781):_0x436ca0['indexOf'](_0x11f781))&&('number'==typeof _0xfb27a6[0x2]?(_0x431ebb[_0x48c86f]=_0x436ca0['slice'](0x0,_0x470482),_0x436ca0=_0x436ca0['slice'](_0x470482+_0xfb27a6[0x2])):(_0x431ebb[_0x48c86f]=_0x436ca0['slice'](_0x470482),_0x436ca0=_0x436ca0['slice'](0x0,_0x470482))):(_0x470482=_0x11f781['exec'](_0x436ca0))&&(_0x431ebb[_0x48c86f]=_0x470482[0x1],_0x436ca0=_0x436ca0['slice'](0x0,_0x470482['index'])),_0x431ebb[_0x48c86f]=_0x431ebb[_0x48c86f]||_0x47e1f7&&_0xfb27a6[0x3]&&_0xfb6b98[_0x48c86f]||'',_0xfb27a6[0x4]&&(_0x431ebb[_0x48c86f]=_0x431ebb[_0x48c86f]['toLowerCase']())):_0x436ca0=_0xfb27a6(_0x436ca0,_0x431ebb);_0x5b6a46&&(_0x431ebb['query']=_0x5b6a46(_0x431ebb['query'])),_0x47e1f7&&_0xfb6b98['slashes']&&'/'!==_0x431ebb['pathname']['charAt'](0x0)&&(''!==_0x431ebb['pathname']||''!==_0xfb6b98['pathname'])&&(_0x431ebb['pathname']=function(_0x3b1b7c,_0xaabaf0){if(''===_0x3b1b7c)return _0xaabaf0;for(var _0x32944c=(_0xaabaf0||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x3b1b7c['split']('/')),_0x446c5c=_0x32944c['length'],_0x41c7cf=_0x32944c[_0x446c5c-0x1],_0x37cf7c=!0x1,_0x4abd63=0x0;_0x446c5c--;)'.'===_0x32944c[_0x446c5c]?_0x32944c['splice'](_0x446c5c,0x1):'..'===_0x32944c[_0x446c5c]?(_0x32944c['splice'](_0x446c5c,0x1),_0x4abd63++):_0x4abd63&&(0x0===_0x446c5c&&(_0x37cf7c=!0x0),_0x32944c['splice'](_0x446c5c,0x1),_0x4abd63--);return _0x37cf7c&&_0x32944c['unshift'](''),'.'!==_0x41c7cf&&'..'!==_0x41c7cf||_0x32944c['push'](''),_0x32944c['join']('/');}(_0x431ebb['pathname'],_0xfb6b98['pathname'])),'/'!==_0x431ebb['pathname']['charAt'](0x0)&&_0x302141(_0x431ebb['protocol'])&&(_0x431ebb['pathname']='/'+_0x431ebb['pathname']),_0x487e44(_0x431ebb['port'],_0x431ebb['protocol'])||(_0x431ebb['host']=_0x431ebb['hostname'],_0x431ebb['port']=''),_0x431ebb['username']=_0x431ebb['password']='',_0x431ebb['auth']&&(~(_0x470482=_0x431ebb['auth']['indexOf'](':'))?(_0x431ebb['username']=_0x431ebb['auth']['slice'](0x0,_0x470482),_0x431ebb['username']=encodeURIComponent(decodeURIComponent(_0x431ebb['username'])),_0x431ebb['password']=_0x431ebb['auth']['slice'](_0x470482+0x1),_0x431ebb['password']=encodeURIComponent(decodeURIComponent(_0x431ebb['password']))):_0x431ebb['username']=encodeURIComponent(decodeURIComponent(_0x431ebb['auth'])),_0x431ebb['auth']=_0x431ebb['password']?_0x431ebb['username']+':'+_0x431ebb['password']:_0x431ebb['username']),_0x431ebb['origin']='file:'!==_0x431ebb['protocol']&&_0x302141(_0x431ebb['protocol'])&&_0x431ebb['host']?_0x431ebb['protocol']+'//'+_0x431ebb['host']:'null',_0x431ebb['href']=_0x431ebb['toString']();}return _0x329a76['prototype']={'set':function(_0xb7af63,_0x4d30e8,_0x2258ee){var _0x42c6dc=this;switch(_0xb7af63){case'query':'string'==typeof _0x4d30e8&&_0x4d30e8['length']&&(_0x4d30e8=(_0x2258ee||_0x32f50e['parse'])(_0x4d30e8)),_0x42c6dc[_0xb7af63]=_0x4d30e8;break;case'port':_0x42c6dc[_0xb7af63]=_0x4d30e8,_0x487e44(_0x4d30e8,_0x42c6dc['protocol'])?_0x4d30e8&&(_0x42c6dc['host']=_0x42c6dc['hostname']+':'+_0x4d30e8):(_0x42c6dc['host']=_0x42c6dc['hostname'],_0x42c6dc[_0xb7af63]='');break;case'hostname':_0x42c6dc[_0xb7af63]=_0x4d30e8,_0x42c6dc['port']&&(_0x4d30e8+=':'+_0x42c6dc['port']),_0x42c6dc['host']=_0x4d30e8;break;case'host':_0x42c6dc[_0xb7af63]=_0x4d30e8,_0x5af985['test'](_0x4d30e8)?(_0x4d30e8=_0x4d30e8['split'](':'),_0x42c6dc['port']=_0x4d30e8['pop'](),_0x42c6dc['hostname']=_0x4d30e8['join'](':')):(_0x42c6dc['hostname']=_0x4d30e8,_0x42c6dc['port']='');break;case'protocol':_0x42c6dc['protocol']=_0x4d30e8['toLowerCase'](),_0x42c6dc['slashes']=!_0x2258ee;break;case'pathname':case'hash':if(_0x4d30e8){var _0x43fd68='pathname'===_0xb7af63?'/':'#';_0x42c6dc[_0xb7af63]=_0x4d30e8['charAt'](0x0)!==_0x43fd68?_0x43fd68+_0x4d30e8:_0x4d30e8;}else _0x42c6dc[_0xb7af63]=_0x4d30e8;break;case'username':case'password':_0x42c6dc[_0xb7af63]=encodeURIComponent(_0x4d30e8);break;case'auth':var _0x26ad8f=_0x4d30e8['indexOf'](':');~_0x26ad8f?(_0x42c6dc['username']=_0x4d30e8['slice'](0x0,_0x26ad8f),_0x42c6dc['username']=encodeURIComponent(decodeURIComponent(_0x42c6dc['username'])),_0x42c6dc['password']=_0x4d30e8['slice'](_0x26ad8f+0x1),_0x42c6dc['password']=encodeURIComponent(decodeURIComponent(_0x42c6dc['password']))):_0x42c6dc['username']=encodeURIComponent(decodeURIComponent(_0x4d30e8));}for(var _0x666a3f=0x0;_0x666a3f<_0x5f4fb0['length'];_0x666a3f++){var _0x5664a1=_0x5f4fb0[_0x666a3f];_0x5664a1[0x4]&&(_0x42c6dc[_0x5664a1[0x1]]=_0x42c6dc[_0x5664a1[0x1]]['toLowerCase']());}return _0x42c6dc['auth']=_0x42c6dc['password']?_0x42c6dc['username']+':'+_0x42c6dc['password']:_0x42c6dc['username'],_0x42c6dc['origin']='file:'!==_0x42c6dc['protocol']&&_0x302141(_0x42c6dc['protocol'])&&_0x42c6dc['host']?_0x42c6dc['protocol']+'//'+_0x42c6dc['host']:'null',_0x42c6dc['href']=_0x42c6dc['toString'](),_0x42c6dc;},'toString':function(_0x4f9222){_0x4f9222&&'function'==typeof _0x4f9222||(_0x4f9222=_0x32f50e['stringify']);var _0x115dc3,_0x166ca9=this,_0x31d0a8=_0x166ca9['host'],_0x5d39a8=_0x166ca9['protocol'];_0x5d39a8&&':'!==_0x5d39a8['charAt'](_0x5d39a8['length']-0x1)&&(_0x5d39a8+=':');var _0x290220=_0x5d39a8+(_0x166ca9['protocol']&&_0x166ca9['slashes']||_0x302141(_0x166ca9['protocol'])?'//':'');return _0x166ca9['username']?(_0x290220+=_0x166ca9['username'],_0x166ca9['password']&&(_0x290220+=':'+_0x166ca9['password']),_0x290220+='@'):_0x166ca9['password']?(_0x290220+=':'+_0x166ca9['password'],_0x290220+='@'):'file:'!==_0x166ca9['protocol']&&_0x302141(_0x166ca9['protocol'])&&!_0x31d0a8&&'/'!==_0x166ca9['pathname']&&(_0x290220+='@'),(':'===_0x31d0a8[_0x31d0a8['length']-0x1]||_0x5af985['test'](_0x166ca9['hostname'])&&!_0x166ca9['port'])&&(_0x31d0a8+=':'),_0x290220+=_0x31d0a8+_0x166ca9['pathname'],(_0x115dc3='object'==typeof _0x166ca9['query']?_0x4f9222(_0x166ca9['query']):_0x166ca9['query'])&&(_0x290220+='?'!==_0x115dc3['charAt'](0x0)?'?'+_0x115dc3:_0x115dc3),_0x166ca9['hash']&&(_0x290220+=_0x166ca9['hash']),_0x290220;}},_0x329a76['extractProtocol']=_0x3cdefc,_0x329a76['location']=_0x5d25eb,_0x329a76['trimLeft']=_0x222194,_0x329a76['qs']=_0x32f50e,_0x33919c=_0x329a76;}var urlParseExports=requireUrlParse();let getRandomValues;const _0x11694d=new Uint8Array(0x10);function _0x53351c(){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(_0x11694d);}const byteToHex=[];for(let _0x19bd03=0x0;_0x19bd03<0x100;++_0x19bd03)byteToHex['push']((_0x19bd03+0x100)['toString'](0x10)['slice'](0x1));function unsafeStringify(_0x337fcf,_0x178d14=0x0){return byteToHex[_0x337fcf[_0x178d14+0x0]]+byteToHex[_0x337fcf[_0x178d14+0x1]]+byteToHex[_0x337fcf[_0x178d14+0x2]]+byteToHex[_0x337fcf[_0x178d14+0x3]]+'-'+byteToHex[_0x337fcf[_0x178d14+0x4]]+byteToHex[_0x337fcf[_0x178d14+0x5]]+'-'+byteToHex[_0x337fcf[_0x178d14+0x6]]+byteToHex[_0x337fcf[_0x178d14+0x7]]+'-'+byteToHex[_0x337fcf[_0x178d14+0x8]]+byteToHex[_0x337fcf[_0x178d14+0x9]]+'-'+byteToHex[_0x337fcf[_0x178d14+0xa]]+byteToHex[_0x337fcf[_0x178d14+0xb]]+byteToHex[_0x337fcf[_0x178d14+0xc]]+byteToHex[_0x337fcf[_0x178d14+0xd]]+byteToHex[_0x337fcf[_0x178d14+0xe]]+byteToHex[_0x337fcf[_0x178d14+0xf]];}const _0x539f44='undefined'!=typeof crypto&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto);var native$1={'randomUUID':_0x539f44};function _0x145b7b(_0x44009a,_0x3a85c7,_0x1c35bd){if(native$1['randomUUID']&&!_0x44009a)return native$1['randomUUID']();const _0x2a147c=(_0x44009a=_0x44009a||{})['random']||(_0x44009a['rng']||_0x53351c)();return _0x2a147c[0x6]=0xf&_0x2a147c[0x6]|0x40,_0x2a147c[0x8]=0x3f&_0x2a147c[0x8]|0x80,unsafeStringify(_0x2a147c);}class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x37e721){}}class _0xe8e8f8 extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x276b61){super();}static['fromJSON'](_0x2fbf30){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class GetUserMessage extends _0xe8e8f8{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x303336){super(),this['id']=_0x303336;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x1fa105){return new GetUserMessage(_0x1fa105['id']);}}class GetUserResponse extends _0xe8e8f8{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x509368){super(),this['attributes']=_0x509368;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x55ba8f=>({'key':_0x55ba8f,'value':JSON['stringify'](this['attributes'][_0x55ba8f])}))};}static['fromJSON'](_0x2430c7){const _0x2153c4=_0x2430c7['attributes']['reduce']((_0x585e8d,_0x365f91)=>(_0x585e8d[_0x365f91['key']]=_0x365f91['value']?JSON['parse'](_0x365f91['value']):null,_0x585e8d),{});return new GetUserResponse(_0x2153c4);}}const _0x2347ef=/* #__PURE__ -- @preserve */
((()=>{var _0x4eb936=minimalExports['Reader'],_0xd78662=minimalExports['Writer'],_0x4bd92b=minimalExports['util'],_0x28a9ef=minimalExports['roots']['default']||(minimalExports['roots']['default']={});return _0x28a9ef['StringStringPacketDataMessage']=(function(){function _0x3a2ba7(_0x45c52d){if(_0x45c52d){for(var _0x2a433e=Object['keys'](_0x45c52d),_0x1b54d6=0x0;_0x1b54d6<_0x2a433e['length'];++_0x1b54d6)null!=_0x45c52d[_0x2a433e[_0x1b54d6]]&&(this[_0x2a433e[_0x1b54d6]]=_0x45c52d[_0x2a433e[_0x1b54d6]]);}}return _0x3a2ba7['prototype']['data']='',_0x3a2ba7['prototype']['data1']='',_0x3a2ba7['create']=function(_0x46e483){return new _0x3a2ba7(_0x46e483);},_0x3a2ba7['encode']=function(_0x429d26,_0x494835){return _0x494835||(_0x494835=_0xd78662['create']()),null!=_0x429d26['data']&&Object['hasOwnProperty']['call'](_0x429d26,'data')&&_0x494835['uint32'](0xa)['string'](_0x429d26['data']),null!=_0x429d26['data1']&&Object['hasOwnProperty']['call'](_0x429d26,'data1')&&_0x494835['uint32'](0x12)['string'](_0x429d26['data1']),_0x494835;},_0x3a2ba7['encodeDelimited']=function(_0x271722,_0x8fd6bd){return this['encode'](_0x271722,_0x8fd6bd)['ldelim']();},_0x3a2ba7['decode']=function(_0x417d57,_0x14055c,_0xd37b2f){_0x417d57 instanceof _0x4eb936||(_0x417d57=_0x4eb936['create'](_0x417d57));for(var _0x45052b=void 0x0===_0x14055c?_0x417d57['len']:_0x417d57['pos']+_0x14055c,_0x217806=new _0x28a9ef['StringStringPacketDataMessage']();_0x417d57['pos']<_0x45052b;){var _0x1a19fa=_0x417d57['uint32']();if(_0x1a19fa===_0xd37b2f)break;switch(_0x1a19fa>>>0x3){case 0x1:_0x217806['data']=_0x417d57['string']();break;case 0x2:_0x217806['data1']=_0x417d57['string']();break;default:_0x417d57['skipType'](0x7&_0x1a19fa);}}return _0x217806;},_0x3a2ba7['decodeDelimited']=function(_0x154510){return _0x154510 instanceof _0x4eb936||(_0x154510=new _0x4eb936(_0x154510)),this['decode'](_0x154510,_0x154510['uint32']());},_0x3a2ba7['verify']=function(_0x23f517){return'object'!=typeof _0x23f517||null===_0x23f517?'object\x20expected':null!=_0x23f517['data']&&_0x23f517['hasOwnProperty']('data')&&!_0x4bd92b['isString'](_0x23f517['data'])?'data:\x20string\x20expected':null!=_0x23f517['data1']&&_0x23f517['hasOwnProperty']('data1')&&!_0x4bd92b['isString'](_0x23f517['data1'])?'data1:\x20string\x20expected':null;},_0x3a2ba7['fromObject']=function(_0x4f0bc7){if(_0x4f0bc7 instanceof _0x28a9ef['StringStringPacketDataMessage'])return _0x4f0bc7;var _0x5360fe=new _0x28a9ef['StringStringPacketDataMessage']();return null!=_0x4f0bc7['data']&&(_0x5360fe['data']=String(_0x4f0bc7['data'])),null!=_0x4f0bc7['data1']&&(_0x5360fe['data1']=String(_0x4f0bc7['data1'])),_0x5360fe;},_0x3a2ba7['toObject']=function(_0x33ed71,_0x26d5f8){_0x26d5f8||(_0x26d5f8={});var _0x152b4c={};return _0x26d5f8['defaults']&&(_0x152b4c['data']='',_0x152b4c['data1']=''),null!=_0x33ed71['data']&&_0x33ed71['hasOwnProperty']('data')&&(_0x152b4c['data']=_0x33ed71['data']),null!=_0x33ed71['data1']&&_0x33ed71['hasOwnProperty']('data1')&&(_0x152b4c['data1']=_0x33ed71['data1']),_0x152b4c;},_0x3a2ba7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3a2ba7['getTypeUrl']=function(_0x1fa6fb){return void 0x0===_0x1fa6fb&&(_0x1fa6fb='type.googleapis.com'),_0x1fa6fb+'/StringStringPacketDataMessage';},_0x3a2ba7;}()),_0x28a9ef['StringObjectPacketDataMessage']=(function(){function _0x1d1d7a(_0x5b6fb3){if(_0x5b6fb3){for(var _0x1bcc7f=Object['keys'](_0x5b6fb3),_0x3a185e=0x0;_0x3a185e<_0x1bcc7f['length'];++_0x3a185e)null!=_0x5b6fb3[_0x1bcc7f[_0x3a185e]]&&(this[_0x1bcc7f[_0x3a185e]]=_0x5b6fb3[_0x1bcc7f[_0x3a185e]]);}}return _0x1d1d7a['prototype']['data']='',_0x1d1d7a['prototype']['data1']='',_0x1d1d7a['create']=function(_0x3dc7a5){return new _0x1d1d7a(_0x3dc7a5);},_0x1d1d7a['encode']=function(_0xfff053,_0x137007){return _0x137007||(_0x137007=_0xd78662['create']()),null!=_0xfff053['data']&&Object['hasOwnProperty']['call'](_0xfff053,'data')&&_0x137007['uint32'](0xa)['string'](_0xfff053['data']),null!=_0xfff053['data1']&&Object['hasOwnProperty']['call'](_0xfff053,'data1')&&_0x137007['uint32'](0x12)['string'](_0xfff053['data1']),_0x137007;},_0x1d1d7a['encodeDelimited']=function(_0x1ae4c7,_0x197025){return this['encode'](_0x1ae4c7,_0x197025)['ldelim']();},_0x1d1d7a['decode']=function(_0x34d064,_0x23b229,_0x18077d){_0x34d064 instanceof _0x4eb936||(_0x34d064=_0x4eb936['create'](_0x34d064));for(var _0x5d69bb=void 0x0===_0x23b229?_0x34d064['len']:_0x34d064['pos']+_0x23b229,_0x2e91d6=new _0x28a9ef['StringObjectPacketDataMessage']();_0x34d064['pos']<_0x5d69bb;){var _0x5223ec=_0x34d064['uint32']();if(_0x5223ec===_0x18077d)break;switch(_0x5223ec>>>0x3){case 0x1:_0x2e91d6['data']=_0x34d064['string']();break;case 0x2:_0x2e91d6['data1']=_0x34d064['string']();break;default:_0x34d064['skipType'](0x7&_0x5223ec);}}return _0x2e91d6;},_0x1d1d7a['decodeDelimited']=function(_0x466c74){return _0x466c74 instanceof _0x4eb936||(_0x466c74=new _0x4eb936(_0x466c74)),this['decode'](_0x466c74,_0x466c74['uint32']());},_0x1d1d7a['verify']=function(_0x1ecb5a){return'object'!=typeof _0x1ecb5a||null===_0x1ecb5a?'object\x20expected':null!=_0x1ecb5a['data']&&_0x1ecb5a['hasOwnProperty']('data')&&!_0x4bd92b['isString'](_0x1ecb5a['data'])?'data:\x20string\x20expected':null!=_0x1ecb5a['data1']&&_0x1ecb5a['hasOwnProperty']('data1')&&!_0x4bd92b['isString'](_0x1ecb5a['data1'])?'data1:\x20string\x20expected':null;},_0x1d1d7a['fromObject']=function(_0x5bcbda){if(_0x5bcbda instanceof _0x28a9ef['StringObjectPacketDataMessage'])return _0x5bcbda;var _0x218c3e=new _0x28a9ef['StringObjectPacketDataMessage']();return null!=_0x5bcbda['data']&&(_0x218c3e['data']=String(_0x5bcbda['data'])),null!=_0x5bcbda['data1']&&(_0x218c3e['data1']=String(_0x5bcbda['data1'])),_0x218c3e;},_0x1d1d7a['toObject']=function(_0x122fc5,_0x13e792){_0x13e792||(_0x13e792={});var _0x54d545={};return _0x13e792['defaults']&&(_0x54d545['data']='',_0x54d545['data1']=''),null!=_0x122fc5['data']&&_0x122fc5['hasOwnProperty']('data')&&(_0x54d545['data']=_0x122fc5['data']),null!=_0x122fc5['data1']&&_0x122fc5['hasOwnProperty']('data1')&&(_0x54d545['data1']=_0x122fc5['data1']),_0x54d545;},_0x1d1d7a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1d1d7a['getTypeUrl']=function(_0x31c97f){return void 0x0===_0x31c97f&&(_0x31c97f='type.googleapis.com'),_0x31c97f+'/StringObjectPacketDataMessage';},_0x1d1d7a;}()),_0x28a9ef['StringNumberPacketDataMessage']=(function(){function _0x106629(_0x105969){if(_0x105969){for(var _0x39a885=Object['keys'](_0x105969),_0xe58494=0x0;_0xe58494<_0x39a885['length'];++_0xe58494)null!=_0x105969[_0x39a885[_0xe58494]]&&(this[_0x39a885[_0xe58494]]=_0x105969[_0x39a885[_0xe58494]]);}}return _0x106629['prototype']['data']='',_0x106629['prototype']['data1']=0x0,_0x106629['create']=function(_0x161600){return new _0x106629(_0x161600);},_0x106629['encode']=function(_0x490bff,_0x31471b){return _0x31471b||(_0x31471b=_0xd78662['create']()),null!=_0x490bff['data']&&Object['hasOwnProperty']['call'](_0x490bff,'data')&&_0x31471b['uint32'](0xa)['string'](_0x490bff['data']),null!=_0x490bff['data1']&&Object['hasOwnProperty']['call'](_0x490bff,'data1')&&_0x31471b['uint32'](0x10)['uint32'](_0x490bff['data1']),_0x31471b;},_0x106629['encodeDelimited']=function(_0x1b272d,_0x37e780){return this['encode'](_0x1b272d,_0x37e780)['ldelim']();},_0x106629['decode']=function(_0x3473d1,_0x5683ab,_0x3bc952){_0x3473d1 instanceof _0x4eb936||(_0x3473d1=_0x4eb936['create'](_0x3473d1));for(var _0x550a1d=void 0x0===_0x5683ab?_0x3473d1['len']:_0x3473d1['pos']+_0x5683ab,_0x2ee942=new _0x28a9ef['StringNumberPacketDataMessage']();_0x3473d1['pos']<_0x550a1d;){var _0x5da960=_0x3473d1['uint32']();if(_0x5da960===_0x3bc952)break;switch(_0x5da960>>>0x3){case 0x1:_0x2ee942['data']=_0x3473d1['string']();break;case 0x2:_0x2ee942['data1']=_0x3473d1['uint32']();break;default:_0x3473d1['skipType'](0x7&_0x5da960);}}return _0x2ee942;},_0x106629['decodeDelimited']=function(_0x188581){return _0x188581 instanceof _0x4eb936||(_0x188581=new _0x4eb936(_0x188581)),this['decode'](_0x188581,_0x188581['uint32']());},_0x106629['verify']=function(_0x5f16c8){return'object'!=typeof _0x5f16c8||null===_0x5f16c8?'object\x20expected':null!=_0x5f16c8['data']&&_0x5f16c8['hasOwnProperty']('data')&&!_0x4bd92b['isString'](_0x5f16c8['data'])?'data:\x20string\x20expected':null!=_0x5f16c8['data1']&&_0x5f16c8['hasOwnProperty']('data1')&&!_0x4bd92b['isInteger'](_0x5f16c8['data1'])?'data1:\x20integer\x20expected':null;},_0x106629['fromObject']=function(_0x35ca5c){if(_0x35ca5c instanceof _0x28a9ef['StringNumberPacketDataMessage'])return _0x35ca5c;var _0x5ddb62=new _0x28a9ef['StringNumberPacketDataMessage']();return null!=_0x35ca5c['data']&&(_0x5ddb62['data']=String(_0x35ca5c['data'])),null!=_0x35ca5c['data1']&&(_0x5ddb62['data1']=_0x35ca5c['data1']>>>0x0),_0x5ddb62;},_0x106629['toObject']=function(_0x4da794,_0x1b32e1){_0x1b32e1||(_0x1b32e1={});var _0x273328={};return _0x1b32e1['defaults']&&(_0x273328['data']='',_0x273328['data1']=0x0),null!=_0x4da794['data']&&_0x4da794['hasOwnProperty']('data')&&(_0x273328['data']=_0x4da794['data']),null!=_0x4da794['data1']&&_0x4da794['hasOwnProperty']('data1')&&(_0x273328['data1']=_0x4da794['data1']),_0x273328;},_0x106629['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x106629['getTypeUrl']=function(_0x4e3f05){return void 0x0===_0x4e3f05&&(_0x4e3f05='type.googleapis.com'),_0x4e3f05+'/StringNumberPacketDataMessage';},_0x106629;}()),_0x28a9ef['StringBytesPacketDataMessage']=(function(){function _0x36b211(_0x2bcdfc){if(_0x2bcdfc){for(var _0xbdb3cc=Object['keys'](_0x2bcdfc),_0x4c94da=0x0;_0x4c94da<_0xbdb3cc['length'];++_0x4c94da)null!=_0x2bcdfc[_0xbdb3cc[_0x4c94da]]&&(this[_0xbdb3cc[_0x4c94da]]=_0x2bcdfc[_0xbdb3cc[_0x4c94da]]);}}return _0x36b211['prototype']['data']='',_0x36b211['prototype']['data1']=_0x4bd92b['newBuffer']([]),_0x36b211['create']=function(_0x38a5cc){return new _0x36b211(_0x38a5cc);},_0x36b211['encode']=function(_0x20b67e,_0x263fd6){return _0x263fd6||(_0x263fd6=_0xd78662['create']()),null!=_0x20b67e['data']&&Object['hasOwnProperty']['call'](_0x20b67e,'data')&&_0x263fd6['uint32'](0xa)['string'](_0x20b67e['data']),null!=_0x20b67e['data1']&&Object['hasOwnProperty']['call'](_0x20b67e,'data1')&&_0x263fd6['uint32'](0x12)['bytes'](_0x20b67e['data1']),_0x263fd6;},_0x36b211['encodeDelimited']=function(_0xca7faf,_0x2bb6de){return this['encode'](_0xca7faf,_0x2bb6de)['ldelim']();},_0x36b211['decode']=function(_0x23046a,_0x57aa93,_0x4469d9){_0x23046a instanceof _0x4eb936||(_0x23046a=_0x4eb936['create'](_0x23046a));for(var _0x318a69=void 0x0===_0x57aa93?_0x23046a['len']:_0x23046a['pos']+_0x57aa93,_0x4dcdc0=new _0x28a9ef['StringBytesPacketDataMessage']();_0x23046a['pos']<_0x318a69;){var _0x579dbb=_0x23046a['uint32']();if(_0x579dbb===_0x4469d9)break;switch(_0x579dbb>>>0x3){case 0x1:_0x4dcdc0['data']=_0x23046a['string']();break;case 0x2:_0x4dcdc0['data1']=_0x23046a['bytes']();break;default:_0x23046a['skipType'](0x7&_0x579dbb);}}return _0x4dcdc0;},_0x36b211['decodeDelimited']=function(_0x482ffd){return _0x482ffd instanceof _0x4eb936||(_0x482ffd=new _0x4eb936(_0x482ffd)),this['decode'](_0x482ffd,_0x482ffd['uint32']());},_0x36b211['verify']=function(_0x5c20a7){return'object'!=typeof _0x5c20a7||null===_0x5c20a7?'object\x20expected':null!=_0x5c20a7['data']&&_0x5c20a7['hasOwnProperty']('data')&&!_0x4bd92b['isString'](_0x5c20a7['data'])?'data:\x20string\x20expected':null!=_0x5c20a7['data1']&&_0x5c20a7['hasOwnProperty']('data1')&&!(_0x5c20a7['data1']&&'number'==typeof _0x5c20a7['data1']['length']||_0x4bd92b['isString'](_0x5c20a7['data1']))?'data1:\x20buffer\x20expected':null;},_0x36b211['fromObject']=function(_0x36b081){if(_0x36b081 instanceof _0x28a9ef['StringBytesPacketDataMessage'])return _0x36b081;var _0x556e95=new _0x28a9ef['StringBytesPacketDataMessage']();return null!=_0x36b081['data']&&(_0x556e95['data']=String(_0x36b081['data'])),null!=_0x36b081['data1']&&('string'==typeof _0x36b081['data1']?_0x4bd92b['base64']['decode'](_0x36b081['data1'],_0x556e95['data1']=_0x4bd92b['newBuffer'](_0x4bd92b['base64']['length'](_0x36b081['data1'])),0x0):_0x36b081['data1']['length']>=0x0&&(_0x556e95['data1']=_0x36b081['data1'])),_0x556e95;},_0x36b211['toObject']=function(_0x3f2f01,_0x111f89){_0x111f89||(_0x111f89={});var _0x18b269={};return _0x111f89['defaults']&&(_0x18b269['data']='',_0x111f89['bytes']===String?_0x18b269['data1']='':(_0x18b269['data1']=[],_0x111f89['bytes']!==Array&&(_0x18b269['data1']=_0x4bd92b['newBuffer'](_0x18b269['data1'])))),null!=_0x3f2f01['data']&&_0x3f2f01['hasOwnProperty']('data')&&(_0x18b269['data']=_0x3f2f01['data']),null!=_0x3f2f01['data1']&&_0x3f2f01['hasOwnProperty']('data1')&&(_0x18b269['data1']=_0x111f89['bytes']===String?_0x4bd92b['base64']['encode'](_0x3f2f01['data1'],0x0,_0x3f2f01['data1']['length']):_0x111f89['bytes']===Array?Array['prototype']['slice']['call'](_0x3f2f01['data1']):_0x3f2f01['data1']),_0x18b269;},_0x36b211['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x36b211['getTypeUrl']=function(_0x4b2e93){return void 0x0===_0x4b2e93&&(_0x4b2e93='type.googleapis.com'),_0x4b2e93+'/StringBytesPacketDataMessage';},_0x36b211;}()),_0x28a9ef['PacketOptionsMessage']=(function(){function _0x87f2ea(_0x3988e4){if(this['rooms']=[],this['except']=[],_0x3988e4){for(var _0x53e7f6=Object['keys'](_0x3988e4),_0x3e72b8=0x0;_0x3e72b8<_0x53e7f6['length'];++_0x3e72b8)null!=_0x3988e4[_0x53e7f6[_0x3e72b8]]&&(this[_0x53e7f6[_0x3e72b8]]=_0x3988e4[_0x53e7f6[_0x3e72b8]]);}}return _0x87f2ea['prototype']['flags']='',_0x87f2ea['prototype']['rooms']=_0x4bd92b['emptyArray'],_0x87f2ea['prototype']['except']=_0x4bd92b['emptyArray'],_0x87f2ea['create']=function(_0x2406ba){return new _0x87f2ea(_0x2406ba);},_0x87f2ea['encode']=function(_0xd18ff4,_0x3e2046){if(_0x3e2046||(_0x3e2046=_0xd78662['create']()),null!=_0xd18ff4['flags']&&Object['hasOwnProperty']['call'](_0xd18ff4,'flags')&&_0x3e2046['uint32'](0xa)['string'](_0xd18ff4['flags']),null!=_0xd18ff4['rooms']&&_0xd18ff4['rooms']['length']){for(var _0x395999=0x0;_0x395999<_0xd18ff4['rooms']['length'];++_0x395999)_0x3e2046['uint32'](0x12)['string'](_0xd18ff4['rooms'][_0x395999]);}if(null!=_0xd18ff4['except']&&_0xd18ff4['except']['length']){for(_0x395999=0x0;_0x395999<_0xd18ff4['except']['length'];++_0x395999)_0x3e2046['uint32'](0x1a)['string'](_0xd18ff4['except'][_0x395999]);}return _0x3e2046;},_0x87f2ea['encodeDelimited']=function(_0x9a7bc0,_0x4dcb3a){return this['encode'](_0x9a7bc0,_0x4dcb3a)['ldelim']();},_0x87f2ea['decode']=function(_0x283b8a,_0x31292f,_0x21e399){_0x283b8a instanceof _0x4eb936||(_0x283b8a=_0x4eb936['create'](_0x283b8a));for(var _0x587fb0=void 0x0===_0x31292f?_0x283b8a['len']:_0x283b8a['pos']+_0x31292f,_0x5c16d2=new _0x28a9ef['PacketOptionsMessage']();_0x283b8a['pos']<_0x587fb0;){var _0x5567dd=_0x283b8a['uint32']();if(_0x5567dd===_0x21e399)break;switch(_0x5567dd>>>0x3){case 0x1:_0x5c16d2['flags']=_0x283b8a['string']();break;case 0x2:_0x5c16d2['rooms']&&_0x5c16d2['rooms']['length']||(_0x5c16d2['rooms']=[]),_0x5c16d2['rooms']['push'](_0x283b8a['string']());break;case 0x3:_0x5c16d2['except']&&_0x5c16d2['except']['length']||(_0x5c16d2['except']=[]),_0x5c16d2['except']['push'](_0x283b8a['string']());break;default:_0x283b8a['skipType'](0x7&_0x5567dd);}}return _0x5c16d2;},_0x87f2ea['decodeDelimited']=function(_0x26326b){return _0x26326b instanceof _0x4eb936||(_0x26326b=new _0x4eb936(_0x26326b)),this['decode'](_0x26326b,_0x26326b['uint32']());},_0x87f2ea['verify']=function(_0xf03a49){if('object'!=typeof _0xf03a49||null===_0xf03a49)return'object\x20expected';if(null!=_0xf03a49['flags']&&_0xf03a49['hasOwnProperty']('flags')&&!_0x4bd92b['isString'](_0xf03a49['flags']))return'flags:\x20string\x20expected';if(null!=_0xf03a49['rooms']&&_0xf03a49['hasOwnProperty']('rooms')){if(!Array['isArray'](_0xf03a49['rooms']))return'rooms:\x20array\x20expected';for(var _0x42556c=0x0;_0x42556c<_0xf03a49['rooms']['length'];++_0x42556c)if(!_0x4bd92b['isString'](_0xf03a49['rooms'][_0x42556c]))return'rooms:\x20string[]\x20expected';}if(null!=_0xf03a49['except']&&_0xf03a49['hasOwnProperty']('except')){if(!Array['isArray'](_0xf03a49['except']))return'except:\x20array\x20expected';for(_0x42556c=0x0;_0x42556c<_0xf03a49['except']['length'];++_0x42556c)if(!_0x4bd92b['isString'](_0xf03a49['except'][_0x42556c]))return'except:\x20string[]\x20expected';}return null;},_0x87f2ea['fromObject']=function(_0x23be05){if(_0x23be05 instanceof _0x28a9ef['PacketOptionsMessage'])return _0x23be05;var _0x40888a=new _0x28a9ef['PacketOptionsMessage']();if(null!=_0x23be05['flags']&&(_0x40888a['flags']=String(_0x23be05['flags'])),_0x23be05['rooms']){if(!Array['isArray'](_0x23be05['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x40888a['rooms']=[];for(var _0x122172=0x0;_0x122172<_0x23be05['rooms']['length'];++_0x122172)_0x40888a['rooms'][_0x122172]=String(_0x23be05['rooms'][_0x122172]);}if(_0x23be05['except']){if(!Array['isArray'](_0x23be05['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x40888a['except']=[],_0x122172=0x0;_0x122172<_0x23be05['except']['length'];++_0x122172)_0x40888a['except'][_0x122172]=String(_0x23be05['except'][_0x122172]);}return _0x40888a;},_0x87f2ea['toObject']=function(_0x295846,_0x229226){_0x229226||(_0x229226={});var _0x80f407={};if((_0x229226['arrays']||_0x229226['defaults'])&&(_0x80f407['rooms']=[],_0x80f407['except']=[]),_0x229226['defaults']&&(_0x80f407['flags']=''),null!=_0x295846['flags']&&_0x295846['hasOwnProperty']('flags')&&(_0x80f407['flags']=_0x295846['flags']),_0x295846['rooms']&&_0x295846['rooms']['length']){_0x80f407['rooms']=[];for(var _0xa18453=0x0;_0xa18453<_0x295846['rooms']['length'];++_0xa18453)_0x80f407['rooms'][_0xa18453]=_0x295846['rooms'][_0xa18453];}if(_0x295846['except']&&_0x295846['except']['length']){for(_0x80f407['except']=[],_0xa18453=0x0;_0xa18453<_0x295846['except']['length'];++_0xa18453)_0x80f407['except'][_0xa18453]=_0x295846['except'][_0xa18453];}return _0x80f407;},_0x87f2ea['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x87f2ea['getTypeUrl']=function(_0x3c8826){return void 0x0===_0x3c8826&&(_0x3c8826='type.googleapis.com'),_0x3c8826+'/PacketOptionsMessage';},_0x87f2ea;}()),_0x28a9ef['PacketMessage']=(function(){function _0xe6625a(_0x4734d7){if(_0x4734d7){for(var _0x3f6daf=Object['keys'](_0x4734d7),_0x4143fd=0x0;_0x4143fd<_0x3f6daf['length'];++_0x4143fd)null!=_0x4734d7[_0x3f6daf[_0x4143fd]]&&(this[_0x3f6daf[_0x4143fd]]=_0x4734d7[_0x3f6daf[_0x4143fd]]);}}return _0xe6625a['prototype']['type']=0x0,_0xe6625a['prototype']['id']=0x0,_0xe6625a['prototype']['nsp']='',_0xe6625a['prototype']['data']=_0x4bd92b['newBuffer']([]),_0xe6625a['prototype']['options']=_0x4bd92b['newBuffer']([]),_0xe6625a['create']=function(_0x13cd44){return new _0xe6625a(_0x13cd44);},_0xe6625a['encode']=function(_0xb59601,_0x5356b9){return _0x5356b9||(_0x5356b9=_0xd78662['create']()),null!=_0xb59601['type']&&Object['hasOwnProperty']['call'](_0xb59601,'type')&&_0x5356b9['uint32'](0x8)['uint32'](_0xb59601['type']),null!=_0xb59601['id']&&Object['hasOwnProperty']['call'](_0xb59601,'id')&&_0x5356b9['uint32'](0x10)['uint32'](_0xb59601['id']),null!=_0xb59601['nsp']&&Object['hasOwnProperty']['call'](_0xb59601,'nsp')&&_0x5356b9['uint32'](0x1a)['string'](_0xb59601['nsp']),null!=_0xb59601['data']&&Object['hasOwnProperty']['call'](_0xb59601,'data')&&_0x5356b9['uint32'](0x22)['bytes'](_0xb59601['data']),null!=_0xb59601['options']&&Object['hasOwnProperty']['call'](_0xb59601,'options')&&_0x5356b9['uint32'](0x2a)['bytes'](_0xb59601['options']),_0x5356b9;},_0xe6625a['encodeDelimited']=function(_0x5bf9c6,_0x53bb02){return this['encode'](_0x5bf9c6,_0x53bb02)['ldelim']();},_0xe6625a['decode']=function(_0x5e0277,_0x5940e0,_0xf6a19){_0x5e0277 instanceof _0x4eb936||(_0x5e0277=_0x4eb936['create'](_0x5e0277));for(var _0x3c9b0e=void 0x0===_0x5940e0?_0x5e0277['len']:_0x5e0277['pos']+_0x5940e0,_0x4e4a94=new _0x28a9ef['PacketMessage']();_0x5e0277['pos']<_0x3c9b0e;){var _0x680601=_0x5e0277['uint32']();if(_0x680601===_0xf6a19)break;switch(_0x680601>>>0x3){case 0x1:_0x4e4a94['type']=_0x5e0277['uint32']();break;case 0x2:_0x4e4a94['id']=_0x5e0277['uint32']();break;case 0x3:_0x4e4a94['nsp']=_0x5e0277['string']();break;case 0x4:_0x4e4a94['data']=_0x5e0277['bytes']();break;case 0x5:_0x4e4a94['options']=_0x5e0277['bytes']();break;default:_0x5e0277['skipType'](0x7&_0x680601);}}return _0x4e4a94;},_0xe6625a['decodeDelimited']=function(_0x4d382c){return _0x4d382c instanceof _0x4eb936||(_0x4d382c=new _0x4eb936(_0x4d382c)),this['decode'](_0x4d382c,_0x4d382c['uint32']());},_0xe6625a['verify']=function(_0x5bbe02){return'object'!=typeof _0x5bbe02||null===_0x5bbe02?'object\x20expected':null!=_0x5bbe02['type']&&_0x5bbe02['hasOwnProperty']('type')&&!_0x4bd92b['isInteger'](_0x5bbe02['type'])?'type:\x20integer\x20expected':null!=_0x5bbe02['id']&&_0x5bbe02['hasOwnProperty']('id')&&!_0x4bd92b['isInteger'](_0x5bbe02['id'])?'id:\x20integer\x20expected':null!=_0x5bbe02['nsp']&&_0x5bbe02['hasOwnProperty']('nsp')&&!_0x4bd92b['isString'](_0x5bbe02['nsp'])?'nsp:\x20string\x20expected':null!=_0x5bbe02['data']&&_0x5bbe02['hasOwnProperty']('data')&&!(_0x5bbe02['data']&&'number'==typeof _0x5bbe02['data']['length']||_0x4bd92b['isString'](_0x5bbe02['data']))?'data:\x20buffer\x20expected':null!=_0x5bbe02['options']&&_0x5bbe02['hasOwnProperty']('options')&&!(_0x5bbe02['options']&&'number'==typeof _0x5bbe02['options']['length']||_0x4bd92b['isString'](_0x5bbe02['options']))?'options:\x20buffer\x20expected':null;},_0xe6625a['fromObject']=function(_0xdb871){if(_0xdb871 instanceof _0x28a9ef['PacketMessage'])return _0xdb871;var _0x472c23=new _0x28a9ef['PacketMessage']();return null!=_0xdb871['type']&&(_0x472c23['type']=_0xdb871['type']>>>0x0),null!=_0xdb871['id']&&(_0x472c23['id']=_0xdb871['id']>>>0x0),null!=_0xdb871['nsp']&&(_0x472c23['nsp']=String(_0xdb871['nsp'])),null!=_0xdb871['data']&&('string'==typeof _0xdb871['data']?_0x4bd92b['base64']['decode'](_0xdb871['data'],_0x472c23['data']=_0x4bd92b['newBuffer'](_0x4bd92b['base64']['length'](_0xdb871['data'])),0x0):_0xdb871['data']['length']>=0x0&&(_0x472c23['data']=_0xdb871['data'])),null!=_0xdb871['options']&&('string'==typeof _0xdb871['options']?_0x4bd92b['base64']['decode'](_0xdb871['options'],_0x472c23['options']=_0x4bd92b['newBuffer'](_0x4bd92b['base64']['length'](_0xdb871['options'])),0x0):_0xdb871['options']['length']>=0x0&&(_0x472c23['options']=_0xdb871['options'])),_0x472c23;},_0xe6625a['toObject']=function(_0x3791e8,_0x186e56){_0x186e56||(_0x186e56={});var _0x3b6e80={};return _0x186e56['defaults']&&(_0x3b6e80['type']=0x0,_0x3b6e80['id']=0x0,_0x3b6e80['nsp']='',_0x186e56['bytes']===String?_0x3b6e80['data']='':(_0x3b6e80['data']=[],_0x186e56['bytes']!==Array&&(_0x3b6e80['data']=_0x4bd92b['newBuffer'](_0x3b6e80['data']))),_0x186e56['bytes']===String?_0x3b6e80['options']='':(_0x3b6e80['options']=[],_0x186e56['bytes']!==Array&&(_0x3b6e80['options']=_0x4bd92b['newBuffer'](_0x3b6e80['options'])))),null!=_0x3791e8['type']&&_0x3791e8['hasOwnProperty']('type')&&(_0x3b6e80['type']=_0x3791e8['type']),null!=_0x3791e8['id']&&_0x3791e8['hasOwnProperty']('id')&&(_0x3b6e80['id']=_0x3791e8['id']),null!=_0x3791e8['nsp']&&_0x3791e8['hasOwnProperty']('nsp')&&(_0x3b6e80['nsp']=_0x3791e8['nsp']),null!=_0x3791e8['data']&&_0x3791e8['hasOwnProperty']('data')&&(_0x3b6e80['data']=_0x186e56['bytes']===String?_0x4bd92b['base64']['encode'](_0x3791e8['data'],0x0,_0x3791e8['data']['length']):_0x186e56['bytes']===Array?Array['prototype']['slice']['call'](_0x3791e8['data']):_0x3791e8['data']),null!=_0x3791e8['options']&&_0x3791e8['hasOwnProperty']('options')&&(_0x3b6e80['options']=_0x186e56['bytes']===String?_0x4bd92b['base64']['encode'](_0x3791e8['options'],0x0,_0x3791e8['options']['length']):_0x186e56['bytes']===Array?Array['prototype']['slice']['call'](_0x3791e8['options']):_0x3791e8['options']),_0x3b6e80;},_0xe6625a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xe6625a['getTypeUrl']=function(_0x41eab3){return void 0x0===_0x41eab3&&(_0x41eab3='type.googleapis.com'),_0x41eab3+'/PacketMessage';},_0xe6625a;}()),_0x28a9ef['ObjectObjectPacketDataMessage']=(function(){function _0x262c27(_0x53baf1){if(_0x53baf1){for(var _0x1a1fe3=Object['keys'](_0x53baf1),_0x1046f1=0x0;_0x1046f1<_0x1a1fe3['length'];++_0x1046f1)null!=_0x53baf1[_0x1a1fe3[_0x1046f1]]&&(this[_0x1a1fe3[_0x1046f1]]=_0x53baf1[_0x1a1fe3[_0x1046f1]]);}}return _0x262c27['prototype']['data']='',_0x262c27['prototype']['data1']='',_0x262c27['create']=function(_0x2a9cc3){return new _0x262c27(_0x2a9cc3);},_0x262c27['encode']=function(_0x68845b,_0x252d49){return _0x252d49||(_0x252d49=_0xd78662['create']()),null!=_0x68845b['data']&&Object['hasOwnProperty']['call'](_0x68845b,'data')&&_0x252d49['uint32'](0xa)['string'](_0x68845b['data']),null!=_0x68845b['data1']&&Object['hasOwnProperty']['call'](_0x68845b,'data1')&&_0x252d49['uint32'](0x12)['string'](_0x68845b['data1']),_0x252d49;},_0x262c27['encodeDelimited']=function(_0x25ee2c,_0x34ca76){return this['encode'](_0x25ee2c,_0x34ca76)['ldelim']();},_0x262c27['decode']=function(_0x49148a,_0xa6b88c,_0x4f406f){_0x49148a instanceof _0x4eb936||(_0x49148a=_0x4eb936['create'](_0x49148a));for(var _0x393536=void 0x0===_0xa6b88c?_0x49148a['len']:_0x49148a['pos']+_0xa6b88c,_0x100066=new _0x28a9ef['ObjectObjectPacketDataMessage']();_0x49148a['pos']<_0x393536;){var _0x82f62c=_0x49148a['uint32']();if(_0x82f62c===_0x4f406f)break;switch(_0x82f62c>>>0x3){case 0x1:_0x100066['data']=_0x49148a['string']();break;case 0x2:_0x100066['data1']=_0x49148a['string']();break;default:_0x49148a['skipType'](0x7&_0x82f62c);}}return _0x100066;},_0x262c27['decodeDelimited']=function(_0x48e535){return _0x48e535 instanceof _0x4eb936||(_0x48e535=new _0x4eb936(_0x48e535)),this['decode'](_0x48e535,_0x48e535['uint32']());},_0x262c27['verify']=function(_0x41c096){return'object'!=typeof _0x41c096||null===_0x41c096?'object\x20expected':null!=_0x41c096['data']&&_0x41c096['hasOwnProperty']('data')&&!_0x4bd92b['isString'](_0x41c096['data'])?'data:\x20string\x20expected':null!=_0x41c096['data1']&&_0x41c096['hasOwnProperty']('data1')&&!_0x4bd92b['isString'](_0x41c096['data1'])?'data1:\x20string\x20expected':null;},_0x262c27['fromObject']=function(_0x1240bb){if(_0x1240bb instanceof _0x28a9ef['ObjectObjectPacketDataMessage'])return _0x1240bb;var _0x798db5=new _0x28a9ef['ObjectObjectPacketDataMessage']();return null!=_0x1240bb['data']&&(_0x798db5['data']=String(_0x1240bb['data'])),null!=_0x1240bb['data1']&&(_0x798db5['data1']=String(_0x1240bb['data1'])),_0x798db5;},_0x262c27['toObject']=function(_0x45898a,_0x32ec15){_0x32ec15||(_0x32ec15={});var _0x174a7d={};return _0x32ec15['defaults']&&(_0x174a7d['data']='',_0x174a7d['data1']=''),null!=_0x45898a['data']&&_0x45898a['hasOwnProperty']('data')&&(_0x174a7d['data']=_0x45898a['data']),null!=_0x45898a['data1']&&_0x45898a['hasOwnProperty']('data1')&&(_0x174a7d['data1']=_0x45898a['data1']),_0x174a7d;},_0x262c27['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x262c27['getTypeUrl']=function(_0x403c50){return void 0x0===_0x403c50&&(_0x403c50='type.googleapis.com'),_0x403c50+'/ObjectObjectPacketDataMessage';},_0x262c27;}()),_0x28a9ef['ObjectBufferPacketDataMessage']=(function(){function _0x516f77(_0x149e3e){if(_0x149e3e){for(var _0x445d5f=Object['keys'](_0x149e3e),_0x187e0f=0x0;_0x187e0f<_0x445d5f['length'];++_0x187e0f)null!=_0x149e3e[_0x445d5f[_0x187e0f]]&&(this[_0x445d5f[_0x187e0f]]=_0x149e3e[_0x445d5f[_0x187e0f]]);}}return _0x516f77['prototype']['data']='',_0x516f77['prototype']['data1']=_0x4bd92b['newBuffer']([]),_0x516f77['create']=function(_0x176485){return new _0x516f77(_0x176485);},_0x516f77['encode']=function(_0x4a3d98,_0x353c01){return _0x353c01||(_0x353c01=_0xd78662['create']()),null!=_0x4a3d98['data']&&Object['hasOwnProperty']['call'](_0x4a3d98,'data')&&_0x353c01['uint32'](0xa)['string'](_0x4a3d98['data']),null!=_0x4a3d98['data1']&&Object['hasOwnProperty']['call'](_0x4a3d98,'data1')&&_0x353c01['uint32'](0x12)['bytes'](_0x4a3d98['data1']),_0x353c01;},_0x516f77['encodeDelimited']=function(_0x2e5e2a,_0x1561a1){return this['encode'](_0x2e5e2a,_0x1561a1)['ldelim']();},_0x516f77['decode']=function(_0xfd754a,_0xdad88e,_0x4d2b65){_0xfd754a instanceof _0x4eb936||(_0xfd754a=_0x4eb936['create'](_0xfd754a));for(var _0x120a02=void 0x0===_0xdad88e?_0xfd754a['len']:_0xfd754a['pos']+_0xdad88e,_0x4eb0b0=new _0x28a9ef['ObjectBufferPacketDataMessage']();_0xfd754a['pos']<_0x120a02;){var _0x4b50c6=_0xfd754a['uint32']();if(_0x4b50c6===_0x4d2b65)break;switch(_0x4b50c6>>>0x3){case 0x1:_0x4eb0b0['data']=_0xfd754a['string']();break;case 0x2:_0x4eb0b0['data1']=_0xfd754a['bytes']();break;default:_0xfd754a['skipType'](0x7&_0x4b50c6);}}return _0x4eb0b0;},_0x516f77['decodeDelimited']=function(_0x53bc5b){return _0x53bc5b instanceof _0x4eb936||(_0x53bc5b=new _0x4eb936(_0x53bc5b)),this['decode'](_0x53bc5b,_0x53bc5b['uint32']());},_0x516f77['verify']=function(_0x1b22f2){return'object'!=typeof _0x1b22f2||null===_0x1b22f2?'object\x20expected':null!=_0x1b22f2['data']&&_0x1b22f2['hasOwnProperty']('data')&&!_0x4bd92b['isString'](_0x1b22f2['data'])?'data:\x20string\x20expected':null!=_0x1b22f2['data1']&&_0x1b22f2['hasOwnProperty']('data1')&&!(_0x1b22f2['data1']&&'number'==typeof _0x1b22f2['data1']['length']||_0x4bd92b['isString'](_0x1b22f2['data1']))?'data1:\x20buffer\x20expected':null;},_0x516f77['fromObject']=function(_0x18f25a){if(_0x18f25a instanceof _0x28a9ef['ObjectBufferPacketDataMessage'])return _0x18f25a;var _0x56e043=new _0x28a9ef['ObjectBufferPacketDataMessage']();return null!=_0x18f25a['data']&&(_0x56e043['data']=String(_0x18f25a['data'])),null!=_0x18f25a['data1']&&('string'==typeof _0x18f25a['data1']?_0x4bd92b['base64']['decode'](_0x18f25a['data1'],_0x56e043['data1']=_0x4bd92b['newBuffer'](_0x4bd92b['base64']['length'](_0x18f25a['data1'])),0x0):_0x18f25a['data1']['length']>=0x0&&(_0x56e043['data1']=_0x18f25a['data1'])),_0x56e043;},_0x516f77['toObject']=function(_0x4edb5b,_0x4d61a6){_0x4d61a6||(_0x4d61a6={});var _0x48e5f8={};return _0x4d61a6['defaults']&&(_0x48e5f8['data']='',_0x4d61a6['bytes']===String?_0x48e5f8['data1']='':(_0x48e5f8['data1']=[],_0x4d61a6['bytes']!==Array&&(_0x48e5f8['data1']=_0x4bd92b['newBuffer'](_0x48e5f8['data1'])))),null!=_0x4edb5b['data']&&_0x4edb5b['hasOwnProperty']('data')&&(_0x48e5f8['data']=_0x4edb5b['data']),null!=_0x4edb5b['data1']&&_0x4edb5b['hasOwnProperty']('data1')&&(_0x48e5f8['data1']=_0x4d61a6['bytes']===String?_0x4bd92b['base64']['encode'](_0x4edb5b['data1'],0x0,_0x4edb5b['data1']['length']):_0x4d61a6['bytes']===Array?Array['prototype']['slice']['call'](_0x4edb5b['data1']):_0x4edb5b['data1']),_0x48e5f8;},_0x516f77['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x516f77['getTypeUrl']=function(_0x53eec1){return void 0x0===_0x53eec1&&(_0x53eec1='type.googleapis.com'),_0x53eec1+'/ObjectBufferPacketDataMessage';},_0x516f77;}()),_0x28a9ef['NumberStringPacketDataMessage']=(function(){function _0x14dc37(_0x390a27){if(_0x390a27){for(var _0x139526=Object['keys'](_0x390a27),_0x593d2e=0x0;_0x593d2e<_0x139526['length'];++_0x593d2e)null!=_0x390a27[_0x139526[_0x593d2e]]&&(this[_0x139526[_0x593d2e]]=_0x390a27[_0x139526[_0x593d2e]]);}}return _0x14dc37['prototype']['data']=0x0,_0x14dc37['prototype']['data1']='',_0x14dc37['create']=function(_0x3393ac){return new _0x14dc37(_0x3393ac);},_0x14dc37['encode']=function(_0x2d79c3,_0x4bbff0){return _0x4bbff0||(_0x4bbff0=_0xd78662['create']()),null!=_0x2d79c3['data']&&Object['hasOwnProperty']['call'](_0x2d79c3,'data')&&_0x4bbff0['uint32'](0x8)['uint32'](_0x2d79c3['data']),null!=_0x2d79c3['data1']&&Object['hasOwnProperty']['call'](_0x2d79c3,'data1')&&_0x4bbff0['uint32'](0x12)['string'](_0x2d79c3['data1']),_0x4bbff0;},_0x14dc37['encodeDelimited']=function(_0x522575,_0x1e83ad){return this['encode'](_0x522575,_0x1e83ad)['ldelim']();},_0x14dc37['decode']=function(_0x373949,_0x3c75d2,_0x1955c9){_0x373949 instanceof _0x4eb936||(_0x373949=_0x4eb936['create'](_0x373949));for(var _0x23ce8d=void 0x0===_0x3c75d2?_0x373949['len']:_0x373949['pos']+_0x3c75d2,_0x1379fa=new _0x28a9ef['NumberStringPacketDataMessage']();_0x373949['pos']<_0x23ce8d;){var _0x29b363=_0x373949['uint32']();if(_0x29b363===_0x1955c9)break;switch(_0x29b363>>>0x3){case 0x1:_0x1379fa['data']=_0x373949['uint32']();break;case 0x2:_0x1379fa['data1']=_0x373949['string']();break;default:_0x373949['skipType'](0x7&_0x29b363);}}return _0x1379fa;},_0x14dc37['decodeDelimited']=function(_0x4898dc){return _0x4898dc instanceof _0x4eb936||(_0x4898dc=new _0x4eb936(_0x4898dc)),this['decode'](_0x4898dc,_0x4898dc['uint32']());},_0x14dc37['verify']=function(_0x4b6f26){return'object'!=typeof _0x4b6f26||null===_0x4b6f26?'object\x20expected':null!=_0x4b6f26['data']&&_0x4b6f26['hasOwnProperty']('data')&&!_0x4bd92b['isInteger'](_0x4b6f26['data'])?'data:\x20integer\x20expected':null!=_0x4b6f26['data1']&&_0x4b6f26['hasOwnProperty']('data1')&&!_0x4bd92b['isString'](_0x4b6f26['data1'])?'data1:\x20string\x20expected':null;},_0x14dc37['fromObject']=function(_0x3f5f79){if(_0x3f5f79 instanceof _0x28a9ef['NumberStringPacketDataMessage'])return _0x3f5f79;var _0x5f43e1=new _0x28a9ef['NumberStringPacketDataMessage']();return null!=_0x3f5f79['data']&&(_0x5f43e1['data']=_0x3f5f79['data']>>>0x0),null!=_0x3f5f79['data1']&&(_0x5f43e1['data1']=String(_0x3f5f79['data1'])),_0x5f43e1;},_0x14dc37['toObject']=function(_0x17bea0,_0x2a2991){_0x2a2991||(_0x2a2991={});var _0x59121f={};return _0x2a2991['defaults']&&(_0x59121f['data']=0x0,_0x59121f['data1']=''),null!=_0x17bea0['data']&&_0x17bea0['hasOwnProperty']('data')&&(_0x59121f['data']=_0x17bea0['data']),null!=_0x17bea0['data1']&&_0x17bea0['hasOwnProperty']('data1')&&(_0x59121f['data1']=_0x17bea0['data1']),_0x59121f;},_0x14dc37['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x14dc37['getTypeUrl']=function(_0x186c9a){return void 0x0===_0x186c9a&&(_0x186c9a='type.googleapis.com'),_0x186c9a+'/NumberStringPacketDataMessage';},_0x14dc37;}()),_0x28a9ef['NumberObjectPacketDataMessage']=(function(){function _0x3da878(_0x4738b0){if(_0x4738b0){for(var _0x1a33d2=Object['keys'](_0x4738b0),_0x3a2b8b=0x0;_0x3a2b8b<_0x1a33d2['length'];++_0x3a2b8b)null!=_0x4738b0[_0x1a33d2[_0x3a2b8b]]&&(this[_0x1a33d2[_0x3a2b8b]]=_0x4738b0[_0x1a33d2[_0x3a2b8b]]);}}return _0x3da878['prototype']['data']=0x0,_0x3da878['prototype']['data1']='',_0x3da878['create']=function(_0x20d16b){return new _0x3da878(_0x20d16b);},_0x3da878['encode']=function(_0x56eb62,_0x3f7a4f){return _0x3f7a4f||(_0x3f7a4f=_0xd78662['create']()),null!=_0x56eb62['data']&&Object['hasOwnProperty']['call'](_0x56eb62,'data')&&_0x3f7a4f['uint32'](0x8)['uint32'](_0x56eb62['data']),null!=_0x56eb62['data1']&&Object['hasOwnProperty']['call'](_0x56eb62,'data1')&&_0x3f7a4f['uint32'](0x12)['string'](_0x56eb62['data1']),_0x3f7a4f;},_0x3da878['encodeDelimited']=function(_0x3acd3c,_0xbb7e9d){return this['encode'](_0x3acd3c,_0xbb7e9d)['ldelim']();},_0x3da878['decode']=function(_0x395e23,_0x3b15ec,_0x4228ee){_0x395e23 instanceof _0x4eb936||(_0x395e23=_0x4eb936['create'](_0x395e23));for(var _0x50c545=void 0x0===_0x3b15ec?_0x395e23['len']:_0x395e23['pos']+_0x3b15ec,_0x3e3e75=new _0x28a9ef['NumberObjectPacketDataMessage']();_0x395e23['pos']<_0x50c545;){var _0x183a00=_0x395e23['uint32']();if(_0x183a00===_0x4228ee)break;switch(_0x183a00>>>0x3){case 0x1:_0x3e3e75['data']=_0x395e23['uint32']();break;case 0x2:_0x3e3e75['data1']=_0x395e23['string']();break;default:_0x395e23['skipType'](0x7&_0x183a00);}}return _0x3e3e75;},_0x3da878['decodeDelimited']=function(_0x10fe6f){return _0x10fe6f instanceof _0x4eb936||(_0x10fe6f=new _0x4eb936(_0x10fe6f)),this['decode'](_0x10fe6f,_0x10fe6f['uint32']());},_0x3da878['verify']=function(_0xc250af){return'object'!=typeof _0xc250af||null===_0xc250af?'object\x20expected':null!=_0xc250af['data']&&_0xc250af['hasOwnProperty']('data')&&!_0x4bd92b['isInteger'](_0xc250af['data'])?'data:\x20integer\x20expected':null!=_0xc250af['data1']&&_0xc250af['hasOwnProperty']('data1')&&!_0x4bd92b['isString'](_0xc250af['data1'])?'data1:\x20string\x20expected':null;},_0x3da878['fromObject']=function(_0x4e79b9){if(_0x4e79b9 instanceof _0x28a9ef['NumberObjectPacketDataMessage'])return _0x4e79b9;var _0x58fa61=new _0x28a9ef['NumberObjectPacketDataMessage']();return null!=_0x4e79b9['data']&&(_0x58fa61['data']=_0x4e79b9['data']>>>0x0),null!=_0x4e79b9['data1']&&(_0x58fa61['data1']=String(_0x4e79b9['data1'])),_0x58fa61;},_0x3da878['toObject']=function(_0x2e2c77,_0x13009e){_0x13009e||(_0x13009e={});var _0x34c6b4={};return _0x13009e['defaults']&&(_0x34c6b4['data']=0x0,_0x34c6b4['data1']=''),null!=_0x2e2c77['data']&&_0x2e2c77['hasOwnProperty']('data')&&(_0x34c6b4['data']=_0x2e2c77['data']),null!=_0x2e2c77['data1']&&_0x2e2c77['hasOwnProperty']('data1')&&(_0x34c6b4['data1']=_0x2e2c77['data1']),_0x34c6b4;},_0x3da878['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3da878['getTypeUrl']=function(_0x6e39a0){return void 0x0===_0x6e39a0&&(_0x6e39a0='type.googleapis.com'),_0x6e39a0+'/NumberObjectPacketDataMessage';},_0x3da878;}()),_0x28a9ef['NumberNumberPacketDataMessage']=(function(){function _0x4b9328(_0x46e611){if(_0x46e611){for(var _0x4f132a=Object['keys'](_0x46e611),_0x3a3ac7=0x0;_0x3a3ac7<_0x4f132a['length'];++_0x3a3ac7)null!=_0x46e611[_0x4f132a[_0x3a3ac7]]&&(this[_0x4f132a[_0x3a3ac7]]=_0x46e611[_0x4f132a[_0x3a3ac7]]);}}return _0x4b9328['prototype']['data']=0x0,_0x4b9328['prototype']['data1']=0x0,_0x4b9328['create']=function(_0x5b8e10){return new _0x4b9328(_0x5b8e10);},_0x4b9328['encode']=function(_0x49f915,_0x57a259){return _0x57a259||(_0x57a259=_0xd78662['create']()),null!=_0x49f915['data']&&Object['hasOwnProperty']['call'](_0x49f915,'data')&&_0x57a259['uint32'](0x8)['uint32'](_0x49f915['data']),null!=_0x49f915['data1']&&Object['hasOwnProperty']['call'](_0x49f915,'data1')&&_0x57a259['uint32'](0x10)['uint32'](_0x49f915['data1']),_0x57a259;},_0x4b9328['encodeDelimited']=function(_0x15a785,_0xa84cb5){return this['encode'](_0x15a785,_0xa84cb5)['ldelim']();},_0x4b9328['decode']=function(_0x16ca0d,_0x4cdc86,_0xcab278){_0x16ca0d instanceof _0x4eb936||(_0x16ca0d=_0x4eb936['create'](_0x16ca0d));for(var _0x23a373=void 0x0===_0x4cdc86?_0x16ca0d['len']:_0x16ca0d['pos']+_0x4cdc86,_0x232335=new _0x28a9ef['NumberNumberPacketDataMessage']();_0x16ca0d['pos']<_0x23a373;){var _0xc14e0=_0x16ca0d['uint32']();if(_0xc14e0===_0xcab278)break;switch(_0xc14e0>>>0x3){case 0x1:_0x232335['data']=_0x16ca0d['uint32']();break;case 0x2:_0x232335['data1']=_0x16ca0d['uint32']();break;default:_0x16ca0d['skipType'](0x7&_0xc14e0);}}return _0x232335;},_0x4b9328['decodeDelimited']=function(_0x4d2bd1){return _0x4d2bd1 instanceof _0x4eb936||(_0x4d2bd1=new _0x4eb936(_0x4d2bd1)),this['decode'](_0x4d2bd1,_0x4d2bd1['uint32']());},_0x4b9328['verify']=function(_0x2b39e4){return'object'!=typeof _0x2b39e4||null===_0x2b39e4?'object\x20expected':null!=_0x2b39e4['data']&&_0x2b39e4['hasOwnProperty']('data')&&!_0x4bd92b['isInteger'](_0x2b39e4['data'])?'data:\x20integer\x20expected':null!=_0x2b39e4['data1']&&_0x2b39e4['hasOwnProperty']('data1')&&!_0x4bd92b['isInteger'](_0x2b39e4['data1'])?'data1:\x20integer\x20expected':null;},_0x4b9328['fromObject']=function(_0x2dcde6){if(_0x2dcde6 instanceof _0x28a9ef['NumberNumberPacketDataMessage'])return _0x2dcde6;var _0x564e31=new _0x28a9ef['NumberNumberPacketDataMessage']();return null!=_0x2dcde6['data']&&(_0x564e31['data']=_0x2dcde6['data']>>>0x0),null!=_0x2dcde6['data1']&&(_0x564e31['data1']=_0x2dcde6['data1']>>>0x0),_0x564e31;},_0x4b9328['toObject']=function(_0x19116a,_0x15e3d6){_0x15e3d6||(_0x15e3d6={});var _0xc199bc={};return _0x15e3d6['defaults']&&(_0xc199bc['data']=0x0,_0xc199bc['data1']=0x0),null!=_0x19116a['data']&&_0x19116a['hasOwnProperty']('data')&&(_0xc199bc['data']=_0x19116a['data']),null!=_0x19116a['data1']&&_0x19116a['hasOwnProperty']('data1')&&(_0xc199bc['data1']=_0x19116a['data1']),_0xc199bc;},_0x4b9328['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4b9328['getTypeUrl']=function(_0xb22901){return void 0x0===_0xb22901&&(_0xb22901='type.googleapis.com'),_0xb22901+'/NumberNumberPacketDataMessage';},_0x4b9328;}()),_0x28a9ef['NumberBytesPacketDataMessage']=(function(){function _0x32f68a(_0x1c8c24){if(_0x1c8c24){for(var _0xd42aa0=Object['keys'](_0x1c8c24),_0xb92839=0x0;_0xb92839<_0xd42aa0['length'];++_0xb92839)null!=_0x1c8c24[_0xd42aa0[_0xb92839]]&&(this[_0xd42aa0[_0xb92839]]=_0x1c8c24[_0xd42aa0[_0xb92839]]);}}return _0x32f68a['prototype']['data']=0x0,_0x32f68a['prototype']['data1']=_0x4bd92b['newBuffer']([]),_0x32f68a['create']=function(_0x192484){return new _0x32f68a(_0x192484);},_0x32f68a['encode']=function(_0x17e803,_0x4adf8a){return _0x4adf8a||(_0x4adf8a=_0xd78662['create']()),null!=_0x17e803['data']&&Object['hasOwnProperty']['call'](_0x17e803,'data')&&_0x4adf8a['uint32'](0x8)['uint32'](_0x17e803['data']),null!=_0x17e803['data1']&&Object['hasOwnProperty']['call'](_0x17e803,'data1')&&_0x4adf8a['uint32'](0x12)['bytes'](_0x17e803['data1']),_0x4adf8a;},_0x32f68a['encodeDelimited']=function(_0xf045a0,_0x1e518c){return this['encode'](_0xf045a0,_0x1e518c)['ldelim']();},_0x32f68a['decode']=function(_0x463f9a,_0x429058,_0x392b32){_0x463f9a instanceof _0x4eb936||(_0x463f9a=_0x4eb936['create'](_0x463f9a));for(var _0x2b65bb=void 0x0===_0x429058?_0x463f9a['len']:_0x463f9a['pos']+_0x429058,_0x1662c8=new _0x28a9ef['NumberBytesPacketDataMessage']();_0x463f9a['pos']<_0x2b65bb;){var _0x59300a=_0x463f9a['uint32']();if(_0x59300a===_0x392b32)break;switch(_0x59300a>>>0x3){case 0x1:_0x1662c8['data']=_0x463f9a['uint32']();break;case 0x2:_0x1662c8['data1']=_0x463f9a['bytes']();break;default:_0x463f9a['skipType'](0x7&_0x59300a);}}return _0x1662c8;},_0x32f68a['decodeDelimited']=function(_0x131843){return _0x131843 instanceof _0x4eb936||(_0x131843=new _0x4eb936(_0x131843)),this['decode'](_0x131843,_0x131843['uint32']());},_0x32f68a['verify']=function(_0x44fe3e){return'object'!=typeof _0x44fe3e||null===_0x44fe3e?'object\x20expected':null!=_0x44fe3e['data']&&_0x44fe3e['hasOwnProperty']('data')&&!_0x4bd92b['isInteger'](_0x44fe3e['data'])?'data:\x20integer\x20expected':null!=_0x44fe3e['data1']&&_0x44fe3e['hasOwnProperty']('data1')&&!(_0x44fe3e['data1']&&'number'==typeof _0x44fe3e['data1']['length']||_0x4bd92b['isString'](_0x44fe3e['data1']))?'data1:\x20buffer\x20expected':null;},_0x32f68a['fromObject']=function(_0x4d042c){if(_0x4d042c instanceof _0x28a9ef['NumberBytesPacketDataMessage'])return _0x4d042c;var _0x2ba7a1=new _0x28a9ef['NumberBytesPacketDataMessage']();return null!=_0x4d042c['data']&&(_0x2ba7a1['data']=_0x4d042c['data']>>>0x0),null!=_0x4d042c['data1']&&('string'==typeof _0x4d042c['data1']?_0x4bd92b['base64']['decode'](_0x4d042c['data1'],_0x2ba7a1['data1']=_0x4bd92b['newBuffer'](_0x4bd92b['base64']['length'](_0x4d042c['data1'])),0x0):_0x4d042c['data1']['length']>=0x0&&(_0x2ba7a1['data1']=_0x4d042c['data1'])),_0x2ba7a1;},_0x32f68a['toObject']=function(_0x49ef43,_0x4daf7a){_0x4daf7a||(_0x4daf7a={});var _0x481c9b={};return _0x4daf7a['defaults']&&(_0x481c9b['data']=0x0,_0x4daf7a['bytes']===String?_0x481c9b['data1']='':(_0x481c9b['data1']=[],_0x4daf7a['bytes']!==Array&&(_0x481c9b['data1']=_0x4bd92b['newBuffer'](_0x481c9b['data1'])))),null!=_0x49ef43['data']&&_0x49ef43['hasOwnProperty']('data')&&(_0x481c9b['data']=_0x49ef43['data']),null!=_0x49ef43['data1']&&_0x49ef43['hasOwnProperty']('data1')&&(_0x481c9b['data1']=_0x4daf7a['bytes']===String?_0x4bd92b['base64']['encode'](_0x49ef43['data1'],0x0,_0x49ef43['data1']['length']):_0x4daf7a['bytes']===Array?Array['prototype']['slice']['call'](_0x49ef43['data1']):_0x49ef43['data1']),_0x481c9b;},_0x32f68a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x32f68a['getTypeUrl']=function(_0x539797){return void 0x0===_0x539797&&(_0x539797='type.googleapis.com'),_0x539797+'/NumberBytesPacketDataMessage';},_0x32f68a;}()),_0x28a9ef['BytesBytesPacketDataMessage']=(function(){function _0x5aeecd(_0x155e29){if(_0x155e29){for(var _0x2b39a4=Object['keys'](_0x155e29),_0x175265=0x0;_0x175265<_0x2b39a4['length'];++_0x175265)null!=_0x155e29[_0x2b39a4[_0x175265]]&&(this[_0x2b39a4[_0x175265]]=_0x155e29[_0x2b39a4[_0x175265]]);}}return _0x5aeecd['prototype']['data']=_0x4bd92b['newBuffer']([]),_0x5aeecd['prototype']['data1']=_0x4bd92b['newBuffer']([]),_0x5aeecd['create']=function(_0x25c465){return new _0x5aeecd(_0x25c465);},_0x5aeecd['encode']=function(_0x59049c,_0x1c28b4){return _0x1c28b4||(_0x1c28b4=_0xd78662['create']()),null!=_0x59049c['data']&&Object['hasOwnProperty']['call'](_0x59049c,'data')&&_0x1c28b4['uint32'](0xa)['bytes'](_0x59049c['data']),null!=_0x59049c['data1']&&Object['hasOwnProperty']['call'](_0x59049c,'data1')&&_0x1c28b4['uint32'](0x12)['bytes'](_0x59049c['data1']),_0x1c28b4;},_0x5aeecd['encodeDelimited']=function(_0x33d8ec,_0x2a44dc){return this['encode'](_0x33d8ec,_0x2a44dc)['ldelim']();},_0x5aeecd['decode']=function(_0x3df8f4,_0x560335,_0x1d819d){_0x3df8f4 instanceof _0x4eb936||(_0x3df8f4=_0x4eb936['create'](_0x3df8f4));for(var _0x40ab0e=void 0x0===_0x560335?_0x3df8f4['len']:_0x3df8f4['pos']+_0x560335,_0x19bf45=new _0x28a9ef['BytesBytesPacketDataMessage']();_0x3df8f4['pos']<_0x40ab0e;){var _0x8ecfc6=_0x3df8f4['uint32']();if(_0x8ecfc6===_0x1d819d)break;switch(_0x8ecfc6>>>0x3){case 0x1:_0x19bf45['data']=_0x3df8f4['bytes']();break;case 0x2:_0x19bf45['data1']=_0x3df8f4['bytes']();break;default:_0x3df8f4['skipType'](0x7&_0x8ecfc6);}}return _0x19bf45;},_0x5aeecd['decodeDelimited']=function(_0x344b0e){return _0x344b0e instanceof _0x4eb936||(_0x344b0e=new _0x4eb936(_0x344b0e)),this['decode'](_0x344b0e,_0x344b0e['uint32']());},_0x5aeecd['verify']=function(_0x134d0d){return'object'!=typeof _0x134d0d||null===_0x134d0d?'object\x20expected':null!=_0x134d0d['data']&&_0x134d0d['hasOwnProperty']('data')&&!(_0x134d0d['data']&&'number'==typeof _0x134d0d['data']['length']||_0x4bd92b['isString'](_0x134d0d['data']))?'data:\x20buffer\x20expected':null!=_0x134d0d['data1']&&_0x134d0d['hasOwnProperty']('data1')&&!(_0x134d0d['data1']&&'number'==typeof _0x134d0d['data1']['length']||_0x4bd92b['isString'](_0x134d0d['data1']))?'data1:\x20buffer\x20expected':null;},_0x5aeecd['fromObject']=function(_0x2a953e){if(_0x2a953e instanceof _0x28a9ef['BytesBytesPacketDataMessage'])return _0x2a953e;var _0x592bae=new _0x28a9ef['BytesBytesPacketDataMessage']();return null!=_0x2a953e['data']&&('string'==typeof _0x2a953e['data']?_0x4bd92b['base64']['decode'](_0x2a953e['data'],_0x592bae['data']=_0x4bd92b['newBuffer'](_0x4bd92b['base64']['length'](_0x2a953e['data'])),0x0):_0x2a953e['data']['length']>=0x0&&(_0x592bae['data']=_0x2a953e['data'])),null!=_0x2a953e['data1']&&('string'==typeof _0x2a953e['data1']?_0x4bd92b['base64']['decode'](_0x2a953e['data1'],_0x592bae['data1']=_0x4bd92b['newBuffer'](_0x4bd92b['base64']['length'](_0x2a953e['data1'])),0x0):_0x2a953e['data1']['length']>=0x0&&(_0x592bae['data1']=_0x2a953e['data1'])),_0x592bae;},_0x5aeecd['toObject']=function(_0x10b72f,_0x123413){_0x123413||(_0x123413={});var _0x4a213f={};return _0x123413['defaults']&&(_0x123413['bytes']===String?_0x4a213f['data']='':(_0x4a213f['data']=[],_0x123413['bytes']!==Array&&(_0x4a213f['data']=_0x4bd92b['newBuffer'](_0x4a213f['data']))),_0x123413['bytes']===String?_0x4a213f['data1']='':(_0x4a213f['data1']=[],_0x123413['bytes']!==Array&&(_0x4a213f['data1']=_0x4bd92b['newBuffer'](_0x4a213f['data1'])))),null!=_0x10b72f['data']&&_0x10b72f['hasOwnProperty']('data')&&(_0x4a213f['data']=_0x123413['bytes']===String?_0x4bd92b['base64']['encode'](_0x10b72f['data'],0x0,_0x10b72f['data']['length']):_0x123413['bytes']===Array?Array['prototype']['slice']['call'](_0x10b72f['data']):_0x10b72f['data']),null!=_0x10b72f['data1']&&_0x10b72f['hasOwnProperty']('data1')&&(_0x4a213f['data1']=_0x123413['bytes']===String?_0x4bd92b['base64']['encode'](_0x10b72f['data1'],0x0,_0x10b72f['data1']['length']):_0x123413['bytes']===Array?Array['prototype']['slice']['call'](_0x10b72f['data1']):_0x10b72f['data1']),_0x4a213f;},_0x5aeecd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5aeecd['getTypeUrl']=function(_0x25c050){return void 0x0===_0x25c050&&(_0x25c050='type.googleapis.com'),_0x25c050+'/BytesBytesPacketDataMessage';},_0x5aeecd;}()),_0x28a9ef['ChannelMessage']=(function(){function _0x2815be(_0x17ae1a){if(_0x17ae1a){for(var _0x1f6bf8=Object['keys'](_0x17ae1a),_0x100938=0x0;_0x100938<_0x1f6bf8['length'];++_0x100938)null!=_0x17ae1a[_0x1f6bf8[_0x100938]]&&(this[_0x1f6bf8[_0x100938]]=_0x17ae1a[_0x1f6bf8[_0x100938]]);}}return _0x2815be['prototype']['type']=0x0,_0x2815be['prototype']['socketId']='',_0x2815be['prototype']['data']=_0x4bd92b['newBuffer']([]),_0x2815be['create']=function(_0x4784f3){return new _0x2815be(_0x4784f3);},_0x2815be['encode']=function(_0x53478b,_0x953b1b){return _0x953b1b||(_0x953b1b=_0xd78662['create']()),null!=_0x53478b['type']&&Object['hasOwnProperty']['call'](_0x53478b,'type')&&_0x953b1b['uint32'](0x8)['uint32'](_0x53478b['type']),null!=_0x53478b['socketId']&&Object['hasOwnProperty']['call'](_0x53478b,'socketId')&&_0x953b1b['uint32'](0x12)['string'](_0x53478b['socketId']),null!=_0x53478b['data']&&Object['hasOwnProperty']['call'](_0x53478b,'data')&&_0x953b1b['uint32'](0x1a)['bytes'](_0x53478b['data']),_0x953b1b;},_0x2815be['encodeDelimited']=function(_0x5d85d7,_0x594ee5){return this['encode'](_0x5d85d7,_0x594ee5)['ldelim']();},_0x2815be['decode']=function(_0x17c492,_0x2cee8d,_0x2e1a7d){_0x17c492 instanceof _0x4eb936||(_0x17c492=_0x4eb936['create'](_0x17c492));for(var _0x5acd20=void 0x0===_0x2cee8d?_0x17c492['len']:_0x17c492['pos']+_0x2cee8d,_0xb7e06d=new _0x28a9ef['ChannelMessage']();_0x17c492['pos']<_0x5acd20;){var _0x432f83=_0x17c492['uint32']();if(_0x432f83===_0x2e1a7d)break;switch(_0x432f83>>>0x3){case 0x1:_0xb7e06d['type']=_0x17c492['uint32']();break;case 0x2:_0xb7e06d['socketId']=_0x17c492['string']();break;case 0x3:_0xb7e06d['data']=_0x17c492['bytes']();break;default:_0x17c492['skipType'](0x7&_0x432f83);}}return _0xb7e06d;},_0x2815be['decodeDelimited']=function(_0x45bd9d){return _0x45bd9d instanceof _0x4eb936||(_0x45bd9d=new _0x4eb936(_0x45bd9d)),this['decode'](_0x45bd9d,_0x45bd9d['uint32']());},_0x2815be['verify']=function(_0x54081c){return'object'!=typeof _0x54081c||null===_0x54081c?'object\x20expected':null!=_0x54081c['type']&&_0x54081c['hasOwnProperty']('type')&&!_0x4bd92b['isInteger'](_0x54081c['type'])?'type:\x20integer\x20expected':null!=_0x54081c['socketId']&&_0x54081c['hasOwnProperty']('socketId')&&!_0x4bd92b['isString'](_0x54081c['socketId'])?'socketId:\x20string\x20expected':null!=_0x54081c['data']&&_0x54081c['hasOwnProperty']('data')&&!(_0x54081c['data']&&'number'==typeof _0x54081c['data']['length']||_0x4bd92b['isString'](_0x54081c['data']))?'data:\x20buffer\x20expected':null;},_0x2815be['fromObject']=function(_0x4fa2a4){if(_0x4fa2a4 instanceof _0x28a9ef['ChannelMessage'])return _0x4fa2a4;var _0x267f90=new _0x28a9ef['ChannelMessage']();return null!=_0x4fa2a4['type']&&(_0x267f90['type']=_0x4fa2a4['type']>>>0x0),null!=_0x4fa2a4['socketId']&&(_0x267f90['socketId']=String(_0x4fa2a4['socketId'])),null!=_0x4fa2a4['data']&&('string'==typeof _0x4fa2a4['data']?_0x4bd92b['base64']['decode'](_0x4fa2a4['data'],_0x267f90['data']=_0x4bd92b['newBuffer'](_0x4bd92b['base64']['length'](_0x4fa2a4['data'])),0x0):_0x4fa2a4['data']['length']>=0x0&&(_0x267f90['data']=_0x4fa2a4['data'])),_0x267f90;},_0x2815be['toObject']=function(_0x49f21c,_0x66775a){_0x66775a||(_0x66775a={});var _0x5d9ebd={};return _0x66775a['defaults']&&(_0x5d9ebd['type']=0x0,_0x5d9ebd['socketId']='',_0x66775a['bytes']===String?_0x5d9ebd['data']='':(_0x5d9ebd['data']=[],_0x66775a['bytes']!==Array&&(_0x5d9ebd['data']=_0x4bd92b['newBuffer'](_0x5d9ebd['data'])))),null!=_0x49f21c['type']&&_0x49f21c['hasOwnProperty']('type')&&(_0x5d9ebd['type']=_0x49f21c['type']),null!=_0x49f21c['socketId']&&_0x49f21c['hasOwnProperty']('socketId')&&(_0x5d9ebd['socketId']=_0x49f21c['socketId']),null!=_0x49f21c['data']&&_0x49f21c['hasOwnProperty']('data')&&(_0x5d9ebd['data']=_0x66775a['bytes']===String?_0x4bd92b['base64']['encode'](_0x49f21c['data'],0x0,_0x49f21c['data']['length']):_0x66775a['bytes']===Array?Array['prototype']['slice']['call'](_0x49f21c['data']):_0x49f21c['data']),_0x5d9ebd;},_0x2815be['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2815be['getTypeUrl']=function(_0x76c75b){return void 0x0===_0x76c75b&&(_0x76c75b='type.googleapis.com'),_0x76c75b+'/ChannelMessage';},_0x2815be;}()),_0x28a9ef['GetUserResponse']=(function(){function _0x441735(_0x36bfdf){if(this['attributes']=[],_0x36bfdf){for(var _0x763ec3=Object['keys'](_0x36bfdf),_0x2b2882=0x0;_0x2b2882<_0x763ec3['length'];++_0x2b2882)null!=_0x36bfdf[_0x763ec3[_0x2b2882]]&&(this[_0x763ec3[_0x2b2882]]=_0x36bfdf[_0x763ec3[_0x2b2882]]);}}return _0x441735['prototype']['attributes']=_0x4bd92b['emptyArray'],_0x441735['create']=function(_0x5b1ec4){return new _0x441735(_0x5b1ec4);},_0x441735['encode']=function(_0x4e7942,_0x48c97e){if(_0x48c97e||(_0x48c97e=_0xd78662['create']()),null!=_0x4e7942['attributes']&&_0x4e7942['attributes']['length']){for(var _0x345322=0x0;_0x345322<_0x4e7942['attributes']['length'];++_0x345322)_0x28a9ef['KeyValueDescriptor']['encode'](_0x4e7942['attributes'][_0x345322],_0x48c97e['uint32'](0xa)['fork']())['ldelim']();}return _0x48c97e;},_0x441735['encodeDelimited']=function(_0x52765f,_0x1030d3){return this['encode'](_0x52765f,_0x1030d3)['ldelim']();},_0x441735['decode']=function(_0x76b903,_0x40e201,_0x565319){_0x76b903 instanceof _0x4eb936||(_0x76b903=_0x4eb936['create'](_0x76b903));for(var _0x2eecff=void 0x0===_0x40e201?_0x76b903['len']:_0x76b903['pos']+_0x40e201,_0x263f9c=new _0x28a9ef['GetUserResponse']();_0x76b903['pos']<_0x2eecff;){var _0x312b12=_0x76b903['uint32']();if(_0x312b12===_0x565319)break;_0x312b12>>>0x3==0x1?(_0x263f9c['attributes']&&_0x263f9c['attributes']['length']||(_0x263f9c['attributes']=[]),_0x263f9c['attributes']['push'](_0x28a9ef['KeyValueDescriptor']['decode'](_0x76b903,_0x76b903['uint32']()))):_0x76b903['skipType'](0x7&_0x312b12);}return _0x263f9c;},_0x441735['decodeDelimited']=function(_0x30e8ed){return _0x30e8ed instanceof _0x4eb936||(_0x30e8ed=new _0x4eb936(_0x30e8ed)),this['decode'](_0x30e8ed,_0x30e8ed['uint32']());},_0x441735['verify']=function(_0xe44ea4){if('object'!=typeof _0xe44ea4||null===_0xe44ea4)return'object\x20expected';if(null!=_0xe44ea4['attributes']&&_0xe44ea4['hasOwnProperty']('attributes')){if(!Array['isArray'](_0xe44ea4['attributes']))return'attributes:\x20array\x20expected';for(var _0x10b0ba=0x0;_0x10b0ba<_0xe44ea4['attributes']['length'];++_0x10b0ba){var _0x58f74f=_0x28a9ef['KeyValueDescriptor']['verify'](_0xe44ea4['attributes'][_0x10b0ba]);if(_0x58f74f)return'attributes.'+_0x58f74f;}}return null;},_0x441735['fromObject']=function(_0x57ee08){if(_0x57ee08 instanceof _0x28a9ef['GetUserResponse'])return _0x57ee08;var _0x520b2e=new _0x28a9ef['GetUserResponse']();if(_0x57ee08['attributes']){if(!Array['isArray'](_0x57ee08['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x520b2e['attributes']=[];for(var _0x5e35ce=0x0;_0x5e35ce<_0x57ee08['attributes']['length'];++_0x5e35ce){if('object'!=typeof _0x57ee08['attributes'][_0x5e35ce])throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x520b2e['attributes'][_0x5e35ce]=_0x28a9ef['KeyValueDescriptor']['fromObject'](_0x57ee08['attributes'][_0x5e35ce]);}}return _0x520b2e;},_0x441735['toObject']=function(_0x1858fb,_0x55bf6f){_0x55bf6f||(_0x55bf6f={});var _0x3f9273={};if((_0x55bf6f['arrays']||_0x55bf6f['defaults'])&&(_0x3f9273['attributes']=[]),_0x1858fb['attributes']&&_0x1858fb['attributes']['length']){_0x3f9273['attributes']=[];for(var _0xa34c7f=0x0;_0xa34c7f<_0x1858fb['attributes']['length'];++_0xa34c7f)_0x3f9273['attributes'][_0xa34c7f]=_0x28a9ef['KeyValueDescriptor']['toObject'](_0x1858fb['attributes'][_0xa34c7f],_0x55bf6f);}return _0x3f9273;},_0x441735['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x441735['getTypeUrl']=function(_0x58c28b){return void 0x0===_0x58c28b&&(_0x58c28b='type.googleapis.com'),_0x58c28b+'/GetUserResponse';},_0x441735;}()),_0x28a9ef['GetManyUsersResponse']=(function(){function _0x14ab7e(_0x543228){if(this['users']=[],_0x543228){for(var _0x37808e=Object['keys'](_0x543228),_0x371716=0x0;_0x371716<_0x37808e['length'];++_0x371716)null!=_0x543228[_0x37808e[_0x371716]]&&(this[_0x37808e[_0x371716]]=_0x543228[_0x37808e[_0x371716]]);}}return _0x14ab7e['prototype']['users']=_0x4bd92b['emptyArray'],_0x14ab7e['create']=function(_0x1e07a4){return new _0x14ab7e(_0x1e07a4);},_0x14ab7e['encode']=function(_0x5082ba,_0x5008a2){if(_0x5008a2||(_0x5008a2=_0xd78662['create']()),null!=_0x5082ba['users']&&_0x5082ba['users']['length']){for(var _0x2b14ca=0x0;_0x2b14ca<_0x5082ba['users']['length'];++_0x2b14ca)_0x28a9ef['UserDescriptor']['encode'](_0x5082ba['users'][_0x2b14ca],_0x5008a2['uint32'](0xa)['fork']())['ldelim']();}return _0x5008a2;},_0x14ab7e['encodeDelimited']=function(_0x5038d5,_0x46bbd1){return this['encode'](_0x5038d5,_0x46bbd1)['ldelim']();},_0x14ab7e['decode']=function(_0x5ad283,_0x1932ca,_0x465903){_0x5ad283 instanceof _0x4eb936||(_0x5ad283=_0x4eb936['create'](_0x5ad283));for(var _0x143958=void 0x0===_0x1932ca?_0x5ad283['len']:_0x5ad283['pos']+_0x1932ca,_0x35bb1e=new _0x28a9ef['GetManyUsersResponse']();_0x5ad283['pos']<_0x143958;){var _0x3669ca=_0x5ad283['uint32']();if(_0x3669ca===_0x465903)break;_0x3669ca>>>0x3==0x1?(_0x35bb1e['users']&&_0x35bb1e['users']['length']||(_0x35bb1e['users']=[]),_0x35bb1e['users']['push'](_0x28a9ef['UserDescriptor']['decode'](_0x5ad283,_0x5ad283['uint32']()))):_0x5ad283['skipType'](0x7&_0x3669ca);}return _0x35bb1e;},_0x14ab7e['decodeDelimited']=function(_0x12532b){return _0x12532b instanceof _0x4eb936||(_0x12532b=new _0x4eb936(_0x12532b)),this['decode'](_0x12532b,_0x12532b['uint32']());},_0x14ab7e['verify']=function(_0x1a9588){if('object'!=typeof _0x1a9588||null===_0x1a9588)return'object\x20expected';if(null!=_0x1a9588['users']&&_0x1a9588['hasOwnProperty']('users')){if(!Array['isArray'](_0x1a9588['users']))return'users:\x20array\x20expected';for(var _0x1cd234=0x0;_0x1cd234<_0x1a9588['users']['length'];++_0x1cd234){var _0x4b636c=_0x28a9ef['UserDescriptor']['verify'](_0x1a9588['users'][_0x1cd234]);if(_0x4b636c)return'users.'+_0x4b636c;}}return null;},_0x14ab7e['fromObject']=function(_0x5b8d49){if(_0x5b8d49 instanceof _0x28a9ef['GetManyUsersResponse'])return _0x5b8d49;var _0x582929=new _0x28a9ef['GetManyUsersResponse']();if(_0x5b8d49['users']){if(!Array['isArray'](_0x5b8d49['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x582929['users']=[];for(var _0xf8d5da=0x0;_0xf8d5da<_0x5b8d49['users']['length'];++_0xf8d5da){if('object'!=typeof _0x5b8d49['users'][_0xf8d5da])throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x582929['users'][_0xf8d5da]=_0x28a9ef['UserDescriptor']['fromObject'](_0x5b8d49['users'][_0xf8d5da]);}}return _0x582929;},_0x14ab7e['toObject']=function(_0x2f1afc,_0x5f2bc7){_0x5f2bc7||(_0x5f2bc7={});var _0x1181c4={};if((_0x5f2bc7['arrays']||_0x5f2bc7['defaults'])&&(_0x1181c4['users']=[]),_0x2f1afc['users']&&_0x2f1afc['users']['length']){_0x1181c4['users']=[];for(var _0x2f3243=0x0;_0x2f3243<_0x2f1afc['users']['length'];++_0x2f3243)_0x1181c4['users'][_0x2f3243]=_0x28a9ef['UserDescriptor']['toObject'](_0x2f1afc['users'][_0x2f3243],_0x5f2bc7);}return _0x1181c4;},_0x14ab7e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x14ab7e['getTypeUrl']=function(_0x2e9c08){return void 0x0===_0x2e9c08&&(_0x2e9c08='type.googleapis.com'),_0x2e9c08+'/GetManyUsersResponse';},_0x14ab7e;}()),_0x28a9ef['GetUserMessage']=(function(){function _0x55f1ce(_0x14ffec){if(_0x14ffec){for(var _0x40afdb=Object['keys'](_0x14ffec),_0x21bfc9=0x0;_0x21bfc9<_0x40afdb['length'];++_0x21bfc9)null!=_0x14ffec[_0x40afdb[_0x21bfc9]]&&(this[_0x40afdb[_0x21bfc9]]=_0x14ffec[_0x40afdb[_0x21bfc9]]);}}return _0x55f1ce['prototype']['id']='',_0x55f1ce['create']=function(_0x3e2191){return new _0x55f1ce(_0x3e2191);},_0x55f1ce['encode']=function(_0x2fb195,_0xc63130){return _0xc63130||(_0xc63130=_0xd78662['create']()),null!=_0x2fb195['id']&&Object['hasOwnProperty']['call'](_0x2fb195,'id')&&_0xc63130['uint32'](0xa)['string'](_0x2fb195['id']),_0xc63130;},_0x55f1ce['encodeDelimited']=function(_0x48fea8,_0x2d2961){return this['encode'](_0x48fea8,_0x2d2961)['ldelim']();},_0x55f1ce['decode']=function(_0x297303,_0x37ca78,_0x2a6ca7){_0x297303 instanceof _0x4eb936||(_0x297303=_0x4eb936['create'](_0x297303));for(var _0x5c798f=void 0x0===_0x37ca78?_0x297303['len']:_0x297303['pos']+_0x37ca78,_0x3ed045=new _0x28a9ef['GetUserMessage']();_0x297303['pos']<_0x5c798f;){var _0x3babc6=_0x297303['uint32']();if(_0x3babc6===_0x2a6ca7)break;_0x3babc6>>>0x3==0x1?_0x3ed045['id']=_0x297303['string']():_0x297303['skipType'](0x7&_0x3babc6);}return _0x3ed045;},_0x55f1ce['decodeDelimited']=function(_0x3c6a1d){return _0x3c6a1d instanceof _0x4eb936||(_0x3c6a1d=new _0x4eb936(_0x3c6a1d)),this['decode'](_0x3c6a1d,_0x3c6a1d['uint32']());},_0x55f1ce['verify']=function(_0x545d86){return'object'!=typeof _0x545d86||null===_0x545d86?'object\x20expected':null!=_0x545d86['id']&&_0x545d86['hasOwnProperty']('id')&&!_0x4bd92b['isString'](_0x545d86['id'])?'id:\x20string\x20expected':null;},_0x55f1ce['fromObject']=function(_0x45864d){if(_0x45864d instanceof _0x28a9ef['GetUserMessage'])return _0x45864d;var _0x1c76cf=new _0x28a9ef['GetUserMessage']();return null!=_0x45864d['id']&&(_0x1c76cf['id']=String(_0x45864d['id'])),_0x1c76cf;},_0x55f1ce['toObject']=function(_0x42144a,_0x3cfcbb){_0x3cfcbb||(_0x3cfcbb={});var _0x52ea7c={};return _0x3cfcbb['defaults']&&(_0x52ea7c['id']=''),null!=_0x42144a['id']&&_0x42144a['hasOwnProperty']('id')&&(_0x52ea7c['id']=_0x42144a['id']),_0x52ea7c;},_0x55f1ce['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x55f1ce['getTypeUrl']=function(_0x356d99){return void 0x0===_0x356d99&&(_0x356d99='type.googleapis.com'),_0x356d99+'/GetUserMessage';},_0x55f1ce;}()),_0x28a9ef['GetManyUsersMessage']=(function(){function _0x4f6af0(_0x462eba){if(this['ids']=[],_0x462eba){for(var _0x13d34c=Object['keys'](_0x462eba),_0x4347a2=0x0;_0x4347a2<_0x13d34c['length'];++_0x4347a2)null!=_0x462eba[_0x13d34c[_0x4347a2]]&&(this[_0x13d34c[_0x4347a2]]=_0x462eba[_0x13d34c[_0x4347a2]]);}}return _0x4f6af0['prototype']['ids']=_0x4bd92b['emptyArray'],_0x4f6af0['create']=function(_0x432d30){return new _0x4f6af0(_0x432d30);},_0x4f6af0['encode']=function(_0x12d984,_0x12555b){if(_0x12555b||(_0x12555b=_0xd78662['create']()),null!=_0x12d984['ids']&&_0x12d984['ids']['length']){for(var _0x2f9c49=0x0;_0x2f9c49<_0x12d984['ids']['length'];++_0x2f9c49)_0x12555b['uint32'](0xa)['string'](_0x12d984['ids'][_0x2f9c49]);}return _0x12555b;},_0x4f6af0['encodeDelimited']=function(_0x411614,_0x17dd2b){return this['encode'](_0x411614,_0x17dd2b)['ldelim']();},_0x4f6af0['decode']=function(_0x56c66f,_0x4a27b1,_0x4d44a8){_0x56c66f instanceof _0x4eb936||(_0x56c66f=_0x4eb936['create'](_0x56c66f));for(var _0x42e889=void 0x0===_0x4a27b1?_0x56c66f['len']:_0x56c66f['pos']+_0x4a27b1,_0x1b92af=new _0x28a9ef['GetManyUsersMessage']();_0x56c66f['pos']<_0x42e889;){var _0x52a27f=_0x56c66f['uint32']();if(_0x52a27f===_0x4d44a8)break;_0x52a27f>>>0x3==0x1?(_0x1b92af['ids']&&_0x1b92af['ids']['length']||(_0x1b92af['ids']=[]),_0x1b92af['ids']['push'](_0x56c66f['string']())):_0x56c66f['skipType'](0x7&_0x52a27f);}return _0x1b92af;},_0x4f6af0['decodeDelimited']=function(_0x1cbdb8){return _0x1cbdb8 instanceof _0x4eb936||(_0x1cbdb8=new _0x4eb936(_0x1cbdb8)),this['decode'](_0x1cbdb8,_0x1cbdb8['uint32']());},_0x4f6af0['verify']=function(_0x4f1a12){if('object'!=typeof _0x4f1a12||null===_0x4f1a12)return'object\x20expected';if(null!=_0x4f1a12['ids']&&_0x4f1a12['hasOwnProperty']('ids')){if(!Array['isArray'](_0x4f1a12['ids']))return'ids:\x20array\x20expected';for(var _0x5271fd=0x0;_0x5271fd<_0x4f1a12['ids']['length'];++_0x5271fd)if(!_0x4bd92b['isString'](_0x4f1a12['ids'][_0x5271fd]))return'ids:\x20string[]\x20expected';}return null;},_0x4f6af0['fromObject']=function(_0x2f6961){if(_0x2f6961 instanceof _0x28a9ef['GetManyUsersMessage'])return _0x2f6961;var _0x5d9720=new _0x28a9ef['GetManyUsersMessage']();if(_0x2f6961['ids']){if(!Array['isArray'](_0x2f6961['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x5d9720['ids']=[];for(var _0xd36042=0x0;_0xd36042<_0x2f6961['ids']['length'];++_0xd36042)_0x5d9720['ids'][_0xd36042]=String(_0x2f6961['ids'][_0xd36042]);}return _0x5d9720;},_0x4f6af0['toObject']=function(_0x256cac,_0x3554c5){_0x3554c5||(_0x3554c5={});var _0x25def4={};if((_0x3554c5['arrays']||_0x3554c5['defaults'])&&(_0x25def4['ids']=[]),_0x256cac['ids']&&_0x256cac['ids']['length']){_0x25def4['ids']=[];for(var _0x459ce7=0x0;_0x459ce7<_0x256cac['ids']['length'];++_0x459ce7)_0x25def4['ids'][_0x459ce7]=_0x256cac['ids'][_0x459ce7];}return _0x25def4;},_0x4f6af0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4f6af0['getTypeUrl']=function(_0x2e763e){return void 0x0===_0x2e763e&&(_0x2e763e='type.googleapis.com'),_0x2e763e+'/GetManyUsersMessage';},_0x4f6af0;}()),_0x28a9ef['UserDescriptor']=(function(){function _0x4f2edc(_0x284b9c){if(this['attributes']=[],_0x284b9c){for(var _0x5e6c0f=Object['keys'](_0x284b9c),_0x47da1f=0x0;_0x47da1f<_0x5e6c0f['length'];++_0x47da1f)null!=_0x284b9c[_0x5e6c0f[_0x47da1f]]&&(this[_0x5e6c0f[_0x47da1f]]=_0x284b9c[_0x5e6c0f[_0x47da1f]]);}}return _0x4f2edc['prototype']['attributes']=_0x4bd92b['emptyArray'],_0x4f2edc['create']=function(_0x124768){return new _0x4f2edc(_0x124768);},_0x4f2edc['encode']=function(_0x37e9aa,_0x475ea2){if(_0x475ea2||(_0x475ea2=_0xd78662['create']()),null!=_0x37e9aa['attributes']&&_0x37e9aa['attributes']['length']){for(var _0x3a72f6=0x0;_0x3a72f6<_0x37e9aa['attributes']['length'];++_0x3a72f6)_0x28a9ef['KeyValueDescriptor']['encode'](_0x37e9aa['attributes'][_0x3a72f6],_0x475ea2['uint32'](0xa)['fork']())['ldelim']();}return _0x475ea2;},_0x4f2edc['encodeDelimited']=function(_0x6fb740,_0x5eaeb1){return this['encode'](_0x6fb740,_0x5eaeb1)['ldelim']();},_0x4f2edc['decode']=function(_0x56a046,_0x1b6f3d,_0x1a79e9){_0x56a046 instanceof _0x4eb936||(_0x56a046=_0x4eb936['create'](_0x56a046));for(var _0x361998=void 0x0===_0x1b6f3d?_0x56a046['len']:_0x56a046['pos']+_0x1b6f3d,_0x13a1d=new _0x28a9ef['UserDescriptor']();_0x56a046['pos']<_0x361998;){var _0x3c2d2f=_0x56a046['uint32']();if(_0x3c2d2f===_0x1a79e9)break;_0x3c2d2f>>>0x3==0x1?(_0x13a1d['attributes']&&_0x13a1d['attributes']['length']||(_0x13a1d['attributes']=[]),_0x13a1d['attributes']['push'](_0x28a9ef['KeyValueDescriptor']['decode'](_0x56a046,_0x56a046['uint32']()))):_0x56a046['skipType'](0x7&_0x3c2d2f);}return _0x13a1d;},_0x4f2edc['decodeDelimited']=function(_0x4c864f){return _0x4c864f instanceof _0x4eb936||(_0x4c864f=new _0x4eb936(_0x4c864f)),this['decode'](_0x4c864f,_0x4c864f['uint32']());},_0x4f2edc['verify']=function(_0x57dba3){if('object'!=typeof _0x57dba3||null===_0x57dba3)return'object\x20expected';if(null!=_0x57dba3['attributes']&&_0x57dba3['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x57dba3['attributes']))return'attributes:\x20array\x20expected';for(var _0x255152=0x0;_0x255152<_0x57dba3['attributes']['length'];++_0x255152){var _0x3bf0de=_0x28a9ef['KeyValueDescriptor']['verify'](_0x57dba3['attributes'][_0x255152]);if(_0x3bf0de)return'attributes.'+_0x3bf0de;}}return null;},_0x4f2edc['fromObject']=function(_0x28c7bc){if(_0x28c7bc instanceof _0x28a9ef['UserDescriptor'])return _0x28c7bc;var _0xd42bef=new _0x28a9ef['UserDescriptor']();if(_0x28c7bc['attributes']){if(!Array['isArray'](_0x28c7bc['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0xd42bef['attributes']=[];for(var _0x1a634a=0x0;_0x1a634a<_0x28c7bc['attributes']['length'];++_0x1a634a){if('object'!=typeof _0x28c7bc['attributes'][_0x1a634a])throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0xd42bef['attributes'][_0x1a634a]=_0x28a9ef['KeyValueDescriptor']['fromObject'](_0x28c7bc['attributes'][_0x1a634a]);}}return _0xd42bef;},_0x4f2edc['toObject']=function(_0x3ebfd9,_0x333696){_0x333696||(_0x333696={});var _0xb28d8a={};if((_0x333696['arrays']||_0x333696['defaults'])&&(_0xb28d8a['attributes']=[]),_0x3ebfd9['attributes']&&_0x3ebfd9['attributes']['length']){_0xb28d8a['attributes']=[];for(var _0x3a6a37=0x0;_0x3a6a37<_0x3ebfd9['attributes']['length'];++_0x3a6a37)_0xb28d8a['attributes'][_0x3a6a37]=_0x28a9ef['KeyValueDescriptor']['toObject'](_0x3ebfd9['attributes'][_0x3a6a37],_0x333696);}return _0xb28d8a;},_0x4f2edc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4f2edc['getTypeUrl']=function(_0x140c7d){return void 0x0===_0x140c7d&&(_0x140c7d='type.googleapis.com'),_0x140c7d+'/UserDescriptor';},_0x4f2edc;}()),_0x28a9ef['TrackChangesGetSuggestionResponse']=(function(){function _0x58c465(_0x46de64){if(_0x46de64){for(var _0x2e2ac6=Object['keys'](_0x46de64),_0x4a0e6f=0x0;_0x4a0e6f<_0x2e2ac6['length'];++_0x4a0e6f)null!=_0x46de64[_0x2e2ac6[_0x4a0e6f]]&&(this[_0x2e2ac6[_0x4a0e6f]]=_0x46de64[_0x2e2ac6[_0x4a0e6f]]);}}return _0x58c465['prototype']['id']='',_0x58c465['prototype']['authorId']='',_0x58c465['prototype']['type']='',_0x58c465['prototype']['createdAt']='',_0x58c465['prototype']['data']='',_0x58c465['prototype']['hasComments']=!0x1,_0x58c465['prototype']['state']='',_0x58c465['prototype']['attributes']='',_0x58c465['create']=function(_0x3847a2){return new _0x58c465(_0x3847a2);},_0x58c465['encode']=function(_0x5a8941,_0x34f2e7){return _0x34f2e7||(_0x34f2e7=_0xd78662['create']()),null!=_0x5a8941['id']&&Object['hasOwnProperty']['call'](_0x5a8941,'id')&&_0x34f2e7['uint32'](0xa)['string'](_0x5a8941['id']),null!=_0x5a8941['authorId']&&Object['hasOwnProperty']['call'](_0x5a8941,'authorId')&&_0x34f2e7['uint32'](0x12)['string'](_0x5a8941['authorId']),null!=_0x5a8941['type']&&Object['hasOwnProperty']['call'](_0x5a8941,'type')&&_0x34f2e7['uint32'](0x1a)['string'](_0x5a8941['type']),null!=_0x5a8941['createdAt']&&Object['hasOwnProperty']['call'](_0x5a8941,'createdAt')&&_0x34f2e7['uint32'](0x22)['string'](_0x5a8941['createdAt']),null!=_0x5a8941['data']&&Object['hasOwnProperty']['call'](_0x5a8941,'data')&&_0x34f2e7['uint32'](0x2a)['string'](_0x5a8941['data']),null!=_0x5a8941['hasComments']&&Object['hasOwnProperty']['call'](_0x5a8941,'hasComments')&&_0x34f2e7['uint32'](0x30)['bool'](_0x5a8941['hasComments']),null!=_0x5a8941['state']&&Object['hasOwnProperty']['call'](_0x5a8941,'state')&&_0x34f2e7['uint32'](0x3a)['string'](_0x5a8941['state']),null!=_0x5a8941['attributes']&&Object['hasOwnProperty']['call'](_0x5a8941,'attributes')&&_0x34f2e7['uint32'](0x42)['string'](_0x5a8941['attributes']),_0x34f2e7;},_0x58c465['encodeDelimited']=function(_0x39aa18,_0x591cbd){return this['encode'](_0x39aa18,_0x591cbd)['ldelim']();},_0x58c465['decode']=function(_0x1ac48e,_0x42d375,_0x2e13c8){_0x1ac48e instanceof _0x4eb936||(_0x1ac48e=_0x4eb936['create'](_0x1ac48e));for(var _0x345e5c=void 0x0===_0x42d375?_0x1ac48e['len']:_0x1ac48e['pos']+_0x42d375,_0x1a7aad=new _0x28a9ef['TrackChangesGetSuggestionResponse']();_0x1ac48e['pos']<_0x345e5c;){var _0x473c89=_0x1ac48e['uint32']();if(_0x473c89===_0x2e13c8)break;switch(_0x473c89>>>0x3){case 0x1:_0x1a7aad['id']=_0x1ac48e['string']();break;case 0x2:_0x1a7aad['authorId']=_0x1ac48e['string']();break;case 0x3:_0x1a7aad['type']=_0x1ac48e['string']();break;case 0x4:_0x1a7aad['createdAt']=_0x1ac48e['string']();break;case 0x5:_0x1a7aad['data']=_0x1ac48e['string']();break;case 0x6:_0x1a7aad['hasComments']=_0x1ac48e['bool']();break;case 0x7:_0x1a7aad['state']=_0x1ac48e['string']();break;case 0x8:_0x1a7aad['attributes']=_0x1ac48e['string']();break;default:_0x1ac48e['skipType'](0x7&_0x473c89);}}return _0x1a7aad;},_0x58c465['decodeDelimited']=function(_0x24e900){return _0x24e900 instanceof _0x4eb936||(_0x24e900=new _0x4eb936(_0x24e900)),this['decode'](_0x24e900,_0x24e900['uint32']());},_0x58c465['verify']=function(_0x188bf2){return'object'!=typeof _0x188bf2||null===_0x188bf2?'object\x20expected':null!=_0x188bf2['id']&&_0x188bf2['hasOwnProperty']('id')&&!_0x4bd92b['isString'](_0x188bf2['id'])?'id:\x20string\x20expected':null!=_0x188bf2['authorId']&&_0x188bf2['hasOwnProperty']('authorId')&&!_0x4bd92b['isString'](_0x188bf2['authorId'])?'authorId:\x20string\x20expected':null!=_0x188bf2['type']&&_0x188bf2['hasOwnProperty']('type')&&!_0x4bd92b['isString'](_0x188bf2['type'])?'type:\x20string\x20expected':null!=_0x188bf2['createdAt']&&_0x188bf2['hasOwnProperty']('createdAt')&&!_0x4bd92b['isString'](_0x188bf2['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x188bf2['data']&&_0x188bf2['hasOwnProperty']('data')&&!_0x4bd92b['isString'](_0x188bf2['data'])?'data:\x20string\x20expected':null!=_0x188bf2['hasComments']&&_0x188bf2['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x188bf2['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x188bf2['state']&&_0x188bf2['hasOwnProperty']('state')&&!_0x4bd92b['isString'](_0x188bf2['state'])?'state:\x20string\x20expected':null!=_0x188bf2['attributes']&&_0x188bf2['hasOwnProperty']('attributes')&&!_0x4bd92b['isString'](_0x188bf2['attributes'])?'attributes:\x20string\x20expected':null;},_0x58c465['fromObject']=function(_0x5721b8){if(_0x5721b8 instanceof _0x28a9ef['TrackChangesGetSuggestionResponse'])return _0x5721b8;var _0x44875c=new _0x28a9ef['TrackChangesGetSuggestionResponse']();return null!=_0x5721b8['id']&&(_0x44875c['id']=String(_0x5721b8['id'])),null!=_0x5721b8['authorId']&&(_0x44875c['authorId']=String(_0x5721b8['authorId'])),null!=_0x5721b8['type']&&(_0x44875c['type']=String(_0x5721b8['type'])),null!=_0x5721b8['createdAt']&&(_0x44875c['createdAt']=String(_0x5721b8['createdAt'])),null!=_0x5721b8['data']&&(_0x44875c['data']=String(_0x5721b8['data'])),null!=_0x5721b8['hasComments']&&(_0x44875c['hasComments']=Boolean(_0x5721b8['hasComments'])),null!=_0x5721b8['state']&&(_0x44875c['state']=String(_0x5721b8['state'])),null!=_0x5721b8['attributes']&&(_0x44875c['attributes']=String(_0x5721b8['attributes'])),_0x44875c;},_0x58c465['toObject']=function(_0x1c9826,_0x489678){_0x489678||(_0x489678={});var _0x417449={};return _0x489678['defaults']&&(_0x417449['id']='',_0x417449['authorId']='',_0x417449['type']='',_0x417449['createdAt']='',_0x417449['data']='',_0x417449['hasComments']=!0x1,_0x417449['state']='',_0x417449['attributes']=''),null!=_0x1c9826['id']&&_0x1c9826['hasOwnProperty']('id')&&(_0x417449['id']=_0x1c9826['id']),null!=_0x1c9826['authorId']&&_0x1c9826['hasOwnProperty']('authorId')&&(_0x417449['authorId']=_0x1c9826['authorId']),null!=_0x1c9826['type']&&_0x1c9826['hasOwnProperty']('type')&&(_0x417449['type']=_0x1c9826['type']),null!=_0x1c9826['createdAt']&&_0x1c9826['hasOwnProperty']('createdAt')&&(_0x417449['createdAt']=_0x1c9826['createdAt']),null!=_0x1c9826['data']&&_0x1c9826['hasOwnProperty']('data')&&(_0x417449['data']=_0x1c9826['data']),null!=_0x1c9826['hasComments']&&_0x1c9826['hasOwnProperty']('hasComments')&&(_0x417449['hasComments']=_0x1c9826['hasComments']),null!=_0x1c9826['state']&&_0x1c9826['hasOwnProperty']('state')&&(_0x417449['state']=_0x1c9826['state']),null!=_0x1c9826['attributes']&&_0x1c9826['hasOwnProperty']('attributes')&&(_0x417449['attributes']=_0x1c9826['attributes']),_0x417449;},_0x58c465['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x58c465['getTypeUrl']=function(_0x3044d8){return void 0x0===_0x3044d8&&(_0x3044d8='type.googleapis.com'),_0x3044d8+'/TrackChangesGetSuggestionResponse';},_0x58c465;}()),_0x28a9ef['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x3ba68b(_0x583984){if(this['suggestions']=[],this['suggestionsV2']=[],_0x583984){for(var _0x485178=Object['keys'](_0x583984),_0x23a5fb=0x0;_0x23a5fb<_0x485178['length'];++_0x23a5fb)null!=_0x583984[_0x485178[_0x23a5fb]]&&(this[_0x485178[_0x23a5fb]]=_0x583984[_0x485178[_0x23a5fb]]);}}return _0x3ba68b['prototype']['suggestions']=_0x4bd92b['emptyArray'],_0x3ba68b['prototype']['suggestionsV2']=_0x4bd92b['emptyArray'],_0x3ba68b['create']=function(_0xc35bc7){return new _0x3ba68b(_0xc35bc7);},_0x3ba68b['encode']=function(_0x307f8b,_0xa7f911){if(_0xa7f911||(_0xa7f911=_0xd78662['create']()),null!=_0x307f8b['suggestions']&&_0x307f8b['suggestions']['length']){for(var _0x552fe0=0x0;_0x552fe0<_0x307f8b['suggestions']['length'];++_0x552fe0)_0xa7f911['uint32'](0xa)['string'](_0x307f8b['suggestions'][_0x552fe0]);}if(null!=_0x307f8b['suggestionsV2']&&_0x307f8b['suggestionsV2']['length']){for(_0x552fe0=0x0;_0x552fe0<_0x307f8b['suggestionsV2']['length'];++_0x552fe0)_0x28a9ef['SuggestionDescriptor']['encode'](_0x307f8b['suggestionsV2'][_0x552fe0],_0xa7f911['uint32'](0x12)['fork']())['ldelim']();}return _0xa7f911;},_0x3ba68b['encodeDelimited']=function(_0xf54841,_0x58ab74){return this['encode'](_0xf54841,_0x58ab74)['ldelim']();},_0x3ba68b['decode']=function(_0x1e4b0d,_0x51c7a7,_0x31361c){_0x1e4b0d instanceof _0x4eb936||(_0x1e4b0d=_0x4eb936['create'](_0x1e4b0d));for(var _0x1a62c1=void 0x0===_0x51c7a7?_0x1e4b0d['len']:_0x1e4b0d['pos']+_0x51c7a7,_0x296af9=new _0x28a9ef['TrackChangesGetAllSuggestionsResponse']();_0x1e4b0d['pos']<_0x1a62c1;){var _0x39b1df=_0x1e4b0d['uint32']();if(_0x39b1df===_0x31361c)break;switch(_0x39b1df>>>0x3){case 0x1:_0x296af9['suggestions']&&_0x296af9['suggestions']['length']||(_0x296af9['suggestions']=[]),_0x296af9['suggestions']['push'](_0x1e4b0d['string']());break;case 0x2:_0x296af9['suggestionsV2']&&_0x296af9['suggestionsV2']['length']||(_0x296af9['suggestionsV2']=[]),_0x296af9['suggestionsV2']['push'](_0x28a9ef['SuggestionDescriptor']['decode'](_0x1e4b0d,_0x1e4b0d['uint32']()));break;default:_0x1e4b0d['skipType'](0x7&_0x39b1df);}}return _0x296af9;},_0x3ba68b['decodeDelimited']=function(_0x59ec8e){return _0x59ec8e instanceof _0x4eb936||(_0x59ec8e=new _0x4eb936(_0x59ec8e)),this['decode'](_0x59ec8e,_0x59ec8e['uint32']());},_0x3ba68b['verify']=function(_0x58d161){if('object'!=typeof _0x58d161||null===_0x58d161)return'object\x20expected';if(null!=_0x58d161['suggestions']&&_0x58d161['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x58d161['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x49d23d=0x0;_0x49d23d<_0x58d161['suggestions']['length'];++_0x49d23d)if(!_0x4bd92b['isString'](_0x58d161['suggestions'][_0x49d23d]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x58d161['suggestionsV2']&&_0x58d161['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x58d161['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x49d23d=0x0;_0x49d23d<_0x58d161['suggestionsV2']['length'];++_0x49d23d){var _0x3cda0d=_0x28a9ef['SuggestionDescriptor']['verify'](_0x58d161['suggestionsV2'][_0x49d23d]);if(_0x3cda0d)return'suggestionsV2.'+_0x3cda0d;}}return null;},_0x3ba68b['fromObject']=function(_0x135619){if(_0x135619 instanceof _0x28a9ef['TrackChangesGetAllSuggestionsResponse'])return _0x135619;var _0x1a12e3=new _0x28a9ef['TrackChangesGetAllSuggestionsResponse']();if(_0x135619['suggestions']){if(!Array['isArray'](_0x135619['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x1a12e3['suggestions']=[];for(var _0x23008f=0x0;_0x23008f<_0x135619['suggestions']['length'];++_0x23008f)_0x1a12e3['suggestions'][_0x23008f]=String(_0x135619['suggestions'][_0x23008f]);}if(_0x135619['suggestionsV2']){if(!Array['isArray'](_0x135619['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x1a12e3['suggestionsV2']=[],_0x23008f=0x0;_0x23008f<_0x135619['suggestionsV2']['length'];++_0x23008f){if('object'!=typeof _0x135619['suggestionsV2'][_0x23008f])throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x1a12e3['suggestionsV2'][_0x23008f]=_0x28a9ef['SuggestionDescriptor']['fromObject'](_0x135619['suggestionsV2'][_0x23008f]);}}return _0x1a12e3;},_0x3ba68b['toObject']=function(_0x27df6e,_0x4c2d0a){_0x4c2d0a||(_0x4c2d0a={});var _0x5561f1={};if((_0x4c2d0a['arrays']||_0x4c2d0a['defaults'])&&(_0x5561f1['suggestions']=[],_0x5561f1['suggestionsV2']=[]),_0x27df6e['suggestions']&&_0x27df6e['suggestions']['length']){_0x5561f1['suggestions']=[];for(var _0x5d54b4=0x0;_0x5d54b4<_0x27df6e['suggestions']['length'];++_0x5d54b4)_0x5561f1['suggestions'][_0x5d54b4]=_0x27df6e['suggestions'][_0x5d54b4];}if(_0x27df6e['suggestionsV2']&&_0x27df6e['suggestionsV2']['length']){for(_0x5561f1['suggestionsV2']=[],_0x5d54b4=0x0;_0x5d54b4<_0x27df6e['suggestionsV2']['length'];++_0x5d54b4)_0x5561f1['suggestionsV2'][_0x5d54b4]=_0x28a9ef['SuggestionDescriptor']['toObject'](_0x27df6e['suggestionsV2'][_0x5d54b4],_0x4c2d0a);}return _0x5561f1;},_0x3ba68b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3ba68b['getTypeUrl']=function(_0x2e56c0){return void 0x0===_0x2e56c0&&(_0x2e56c0='type.googleapis.com'),_0x2e56c0+'/TrackChangesGetAllSuggestionsResponse';},_0x3ba68b;}()),_0x28a9ef['TrackChangesConnectResponse']=(function(){function _0x37eaa4(_0x1282f1){if(this['suggestions']=[],this['suggestionsV2']=[],_0x1282f1){for(var _0x342223=Object['keys'](_0x1282f1),_0x299c35=0x0;_0x299c35<_0x342223['length'];++_0x299c35)null!=_0x1282f1[_0x342223[_0x299c35]]&&(this[_0x342223[_0x299c35]]=_0x1282f1[_0x342223[_0x299c35]]);}}return _0x37eaa4['prototype']['channel']='',_0x37eaa4['prototype']['suggestions']=_0x4bd92b['emptyArray'],_0x37eaa4['prototype']['suggestionsV2']=_0x4bd92b['emptyArray'],_0x37eaa4['create']=function(_0x5773af){return new _0x37eaa4(_0x5773af);},_0x37eaa4['encode']=function(_0x47a2d8,_0x478a7e){if(_0x478a7e||(_0x478a7e=_0xd78662['create']()),null!=_0x47a2d8['channel']&&Object['hasOwnProperty']['call'](_0x47a2d8,'channel')&&_0x478a7e['uint32'](0xa)['string'](_0x47a2d8['channel']),null!=_0x47a2d8['suggestions']&&_0x47a2d8['suggestions']['length']){for(var _0xfe1f41=0x0;_0xfe1f41<_0x47a2d8['suggestions']['length'];++_0xfe1f41)_0x478a7e['uint32'](0x12)['string'](_0x47a2d8['suggestions'][_0xfe1f41]);}if(null!=_0x47a2d8['suggestionsV2']&&_0x47a2d8['suggestionsV2']['length']){for(_0xfe1f41=0x0;_0xfe1f41<_0x47a2d8['suggestionsV2']['length'];++_0xfe1f41)_0x28a9ef['SuggestionDescriptor']['encode'](_0x47a2d8['suggestionsV2'][_0xfe1f41],_0x478a7e['uint32'](0x1a)['fork']())['ldelim']();}return _0x478a7e;},_0x37eaa4['encodeDelimited']=function(_0x3a0035,_0x1a173b){return this['encode'](_0x3a0035,_0x1a173b)['ldelim']();},_0x37eaa4['decode']=function(_0x58f5fd,_0x19f43b,_0x1cee41){_0x58f5fd instanceof _0x4eb936||(_0x58f5fd=_0x4eb936['create'](_0x58f5fd));for(var _0xffe131=void 0x0===_0x19f43b?_0x58f5fd['len']:_0x58f5fd['pos']+_0x19f43b,_0x440a56=new _0x28a9ef['TrackChangesConnectResponse']();_0x58f5fd['pos']<_0xffe131;){var _0x2ceeea=_0x58f5fd['uint32']();if(_0x2ceeea===_0x1cee41)break;switch(_0x2ceeea>>>0x3){case 0x1:_0x440a56['channel']=_0x58f5fd['string']();break;case 0x2:_0x440a56['suggestions']&&_0x440a56['suggestions']['length']||(_0x440a56['suggestions']=[]),_0x440a56['suggestions']['push'](_0x58f5fd['string']());break;case 0x3:_0x440a56['suggestionsV2']&&_0x440a56['suggestionsV2']['length']||(_0x440a56['suggestionsV2']=[]),_0x440a56['suggestionsV2']['push'](_0x28a9ef['SuggestionDescriptor']['decode'](_0x58f5fd,_0x58f5fd['uint32']()));break;default:_0x58f5fd['skipType'](0x7&_0x2ceeea);}}return _0x440a56;},_0x37eaa4['decodeDelimited']=function(_0x373aa2){return _0x373aa2 instanceof _0x4eb936||(_0x373aa2=new _0x4eb936(_0x373aa2)),this['decode'](_0x373aa2,_0x373aa2['uint32']());},_0x37eaa4['verify']=function(_0x5ca204){if('object'!=typeof _0x5ca204||null===_0x5ca204)return'object\x20expected';if(null!=_0x5ca204['channel']&&_0x5ca204['hasOwnProperty']('channel')&&!_0x4bd92b['isString'](_0x5ca204['channel']))return'channel:\x20string\x20expected';if(null!=_0x5ca204['suggestions']&&_0x5ca204['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x5ca204['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x508671=0x0;_0x508671<_0x5ca204['suggestions']['length'];++_0x508671)if(!_0x4bd92b['isString'](_0x5ca204['suggestions'][_0x508671]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x5ca204['suggestionsV2']&&_0x5ca204['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x5ca204['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x508671=0x0;_0x508671<_0x5ca204['suggestionsV2']['length'];++_0x508671){var _0x47c540=_0x28a9ef['SuggestionDescriptor']['verify'](_0x5ca204['suggestionsV2'][_0x508671]);if(_0x47c540)return'suggestionsV2.'+_0x47c540;}}return null;},_0x37eaa4['fromObject']=function(_0x33a286){if(_0x33a286 instanceof _0x28a9ef['TrackChangesConnectResponse'])return _0x33a286;var _0x39f5f2=new _0x28a9ef['TrackChangesConnectResponse']();if(null!=_0x33a286['channel']&&(_0x39f5f2['channel']=String(_0x33a286['channel'])),_0x33a286['suggestions']){if(!Array['isArray'](_0x33a286['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x39f5f2['suggestions']=[];for(var _0x1f17c3=0x0;_0x1f17c3<_0x33a286['suggestions']['length'];++_0x1f17c3)_0x39f5f2['suggestions'][_0x1f17c3]=String(_0x33a286['suggestions'][_0x1f17c3]);}if(_0x33a286['suggestionsV2']){if(!Array['isArray'](_0x33a286['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x39f5f2['suggestionsV2']=[],_0x1f17c3=0x0;_0x1f17c3<_0x33a286['suggestionsV2']['length'];++_0x1f17c3){if('object'!=typeof _0x33a286['suggestionsV2'][_0x1f17c3])throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x39f5f2['suggestionsV2'][_0x1f17c3]=_0x28a9ef['SuggestionDescriptor']['fromObject'](_0x33a286['suggestionsV2'][_0x1f17c3]);}}return _0x39f5f2;},_0x37eaa4['toObject']=function(_0x1f0041,_0x211746){_0x211746||(_0x211746={});var _0x52e7f7={};if((_0x211746['arrays']||_0x211746['defaults'])&&(_0x52e7f7['suggestions']=[],_0x52e7f7['suggestionsV2']=[]),_0x211746['defaults']&&(_0x52e7f7['channel']=''),null!=_0x1f0041['channel']&&_0x1f0041['hasOwnProperty']('channel')&&(_0x52e7f7['channel']=_0x1f0041['channel']),_0x1f0041['suggestions']&&_0x1f0041['suggestions']['length']){_0x52e7f7['suggestions']=[];for(var _0x2ed56f=0x0;_0x2ed56f<_0x1f0041['suggestions']['length'];++_0x2ed56f)_0x52e7f7['suggestions'][_0x2ed56f]=_0x1f0041['suggestions'][_0x2ed56f];}if(_0x1f0041['suggestionsV2']&&_0x1f0041['suggestionsV2']['length']){for(_0x52e7f7['suggestionsV2']=[],_0x2ed56f=0x0;_0x2ed56f<_0x1f0041['suggestionsV2']['length'];++_0x2ed56f)_0x52e7f7['suggestionsV2'][_0x2ed56f]=_0x28a9ef['SuggestionDescriptor']['toObject'](_0x1f0041['suggestionsV2'][_0x2ed56f],_0x211746);}return _0x52e7f7;},_0x37eaa4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x37eaa4['getTypeUrl']=function(_0x20728a){return void 0x0===_0x20728a&&(_0x20728a='type.googleapis.com'),_0x20728a+'/TrackChangesConnectResponse';},_0x37eaa4;}()),_0x28a9ef['TrackChangesAddSuggestionResponse']=(function(){function _0x1c060d(_0x47633c){if(_0x47633c){for(var _0x35c395=Object['keys'](_0x47633c),_0xc8a489=0x0;_0xc8a489<_0x35c395['length'];++_0xc8a489)null!=_0x47633c[_0x35c395[_0xc8a489]]&&(this[_0x35c395[_0xc8a489]]=_0x47633c[_0x35c395[_0xc8a489]]);}}return _0x1c060d['prototype']['id']='',_0x1c060d['prototype']['authorId']='',_0x1c060d['prototype']['type']='',_0x1c060d['prototype']['createdAt']='',_0x1c060d['prototype']['data']='',_0x1c060d['prototype']['hasComments']=!0x1,_0x1c060d['prototype']['state']='',_0x1c060d['prototype']['attributes']='',_0x1c060d['create']=function(_0x2f9483){return new _0x1c060d(_0x2f9483);},_0x1c060d['encode']=function(_0xcfd0ff,_0x4f1cb3){return _0x4f1cb3||(_0x4f1cb3=_0xd78662['create']()),null!=_0xcfd0ff['id']&&Object['hasOwnProperty']['call'](_0xcfd0ff,'id')&&_0x4f1cb3['uint32'](0xa)['string'](_0xcfd0ff['id']),null!=_0xcfd0ff['authorId']&&Object['hasOwnProperty']['call'](_0xcfd0ff,'authorId')&&_0x4f1cb3['uint32'](0x12)['string'](_0xcfd0ff['authorId']),null!=_0xcfd0ff['type']&&Object['hasOwnProperty']['call'](_0xcfd0ff,'type')&&_0x4f1cb3['uint32'](0x1a)['string'](_0xcfd0ff['type']),null!=_0xcfd0ff['createdAt']&&Object['hasOwnProperty']['call'](_0xcfd0ff,'createdAt')&&_0x4f1cb3['uint32'](0x22)['string'](_0xcfd0ff['createdAt']),null!=_0xcfd0ff['data']&&Object['hasOwnProperty']['call'](_0xcfd0ff,'data')&&_0x4f1cb3['uint32'](0x2a)['string'](_0xcfd0ff['data']),null!=_0xcfd0ff['hasComments']&&Object['hasOwnProperty']['call'](_0xcfd0ff,'hasComments')&&_0x4f1cb3['uint32'](0x30)['bool'](_0xcfd0ff['hasComments']),null!=_0xcfd0ff['state']&&Object['hasOwnProperty']['call'](_0xcfd0ff,'state')&&_0x4f1cb3['uint32'](0x3a)['string'](_0xcfd0ff['state']),null!=_0xcfd0ff['attributes']&&Object['hasOwnProperty']['call'](_0xcfd0ff,'attributes')&&_0x4f1cb3['uint32'](0x42)['string'](_0xcfd0ff['attributes']),_0x4f1cb3;},_0x1c060d['encodeDelimited']=function(_0x4d1645,_0x20a938){return this['encode'](_0x4d1645,_0x20a938)['ldelim']();},_0x1c060d['decode']=function(_0x88f03,_0x4c03bb,_0x44d572){_0x88f03 instanceof _0x4eb936||(_0x88f03=_0x4eb936['create'](_0x88f03));for(var _0x1a04ce=void 0x0===_0x4c03bb?_0x88f03['len']:_0x88f03['pos']+_0x4c03bb,_0x160a8c=new _0x28a9ef['TrackChangesAddSuggestionResponse']();_0x88f03['pos']<_0x1a04ce;){var _0x7066db=_0x88f03['uint32']();if(_0x7066db===_0x44d572)break;switch(_0x7066db>>>0x3){case 0x1:_0x160a8c['id']=_0x88f03['string']();break;case 0x2:_0x160a8c['authorId']=_0x88f03['string']();break;case 0x3:_0x160a8c['type']=_0x88f03['string']();break;case 0x4:_0x160a8c['createdAt']=_0x88f03['string']();break;case 0x5:_0x160a8c['data']=_0x88f03['string']();break;case 0x6:_0x160a8c['hasComments']=_0x88f03['bool']();break;case 0x7:_0x160a8c['state']=_0x88f03['string']();break;case 0x8:_0x160a8c['attributes']=_0x88f03['string']();break;default:_0x88f03['skipType'](0x7&_0x7066db);}}return _0x160a8c;},_0x1c060d['decodeDelimited']=function(_0x557c28){return _0x557c28 instanceof _0x4eb936||(_0x557c28=new _0x4eb936(_0x557c28)),this['decode'](_0x557c28,_0x557c28['uint32']());},_0x1c060d['verify']=function(_0x17282f){return'object'!=typeof _0x17282f||null===_0x17282f?'object\x20expected':null!=_0x17282f['id']&&_0x17282f['hasOwnProperty']('id')&&!_0x4bd92b['isString'](_0x17282f['id'])?'id:\x20string\x20expected':null!=_0x17282f['authorId']&&_0x17282f['hasOwnProperty']('authorId')&&!_0x4bd92b['isString'](_0x17282f['authorId'])?'authorId:\x20string\x20expected':null!=_0x17282f['type']&&_0x17282f['hasOwnProperty']('type')&&!_0x4bd92b['isString'](_0x17282f['type'])?'type:\x20string\x20expected':null!=_0x17282f['createdAt']&&_0x17282f['hasOwnProperty']('createdAt')&&!_0x4bd92b['isString'](_0x17282f['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x17282f['data']&&_0x17282f['hasOwnProperty']('data')&&!_0x4bd92b['isString'](_0x17282f['data'])?'data:\x20string\x20expected':null!=_0x17282f['hasComments']&&_0x17282f['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x17282f['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x17282f['state']&&_0x17282f['hasOwnProperty']('state')&&!_0x4bd92b['isString'](_0x17282f['state'])?'state:\x20string\x20expected':null!=_0x17282f['attributes']&&_0x17282f['hasOwnProperty']('attributes')&&!_0x4bd92b['isString'](_0x17282f['attributes'])?'attributes:\x20string\x20expected':null;},_0x1c060d['fromObject']=function(_0x296a5f){if(_0x296a5f instanceof _0x28a9ef['TrackChangesAddSuggestionResponse'])return _0x296a5f;var _0x3b04a4=new _0x28a9ef['TrackChangesAddSuggestionResponse']();return null!=_0x296a5f['id']&&(_0x3b04a4['id']=String(_0x296a5f['id'])),null!=_0x296a5f['authorId']&&(_0x3b04a4['authorId']=String(_0x296a5f['authorId'])),null!=_0x296a5f['type']&&(_0x3b04a4['type']=String(_0x296a5f['type'])),null!=_0x296a5f['createdAt']&&(_0x3b04a4['createdAt']=String(_0x296a5f['createdAt'])),null!=_0x296a5f['data']&&(_0x3b04a4['data']=String(_0x296a5f['data'])),null!=_0x296a5f['hasComments']&&(_0x3b04a4['hasComments']=Boolean(_0x296a5f['hasComments'])),null!=_0x296a5f['state']&&(_0x3b04a4['state']=String(_0x296a5f['state'])),null!=_0x296a5f['attributes']&&(_0x3b04a4['attributes']=String(_0x296a5f['attributes'])),_0x3b04a4;},_0x1c060d['toObject']=function(_0x3b51b4,_0x45eb6d){_0x45eb6d||(_0x45eb6d={});var _0x238dd3={};return _0x45eb6d['defaults']&&(_0x238dd3['id']='',_0x238dd3['authorId']='',_0x238dd3['type']='',_0x238dd3['createdAt']='',_0x238dd3['data']='',_0x238dd3['hasComments']=!0x1,_0x238dd3['state']='',_0x238dd3['attributes']=''),null!=_0x3b51b4['id']&&_0x3b51b4['hasOwnProperty']('id')&&(_0x238dd3['id']=_0x3b51b4['id']),null!=_0x3b51b4['authorId']&&_0x3b51b4['hasOwnProperty']('authorId')&&(_0x238dd3['authorId']=_0x3b51b4['authorId']),null!=_0x3b51b4['type']&&_0x3b51b4['hasOwnProperty']('type')&&(_0x238dd3['type']=_0x3b51b4['type']),null!=_0x3b51b4['createdAt']&&_0x3b51b4['hasOwnProperty']('createdAt')&&(_0x238dd3['createdAt']=_0x3b51b4['createdAt']),null!=_0x3b51b4['data']&&_0x3b51b4['hasOwnProperty']('data')&&(_0x238dd3['data']=_0x3b51b4['data']),null!=_0x3b51b4['hasComments']&&_0x3b51b4['hasOwnProperty']('hasComments')&&(_0x238dd3['hasComments']=_0x3b51b4['hasComments']),null!=_0x3b51b4['state']&&_0x3b51b4['hasOwnProperty']('state')&&(_0x238dd3['state']=_0x3b51b4['state']),null!=_0x3b51b4['attributes']&&_0x3b51b4['hasOwnProperty']('attributes')&&(_0x238dd3['attributes']=_0x3b51b4['attributes']),_0x238dd3;},_0x1c060d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1c060d['getTypeUrl']=function(_0x593d48){return void 0x0===_0x593d48&&(_0x593d48='type.googleapis.com'),_0x593d48+'/TrackChangesAddSuggestionResponse';},_0x1c060d;}()),_0x28a9ef['TrackChangesUpdateSuggestionMessage']=(function(){function _0x2b1a47(_0x4a341b){if(_0x4a341b){for(var _0x39b1f1=Object['keys'](_0x4a341b),_0x1ff6c7=0x0;_0x1ff6c7<_0x39b1f1['length'];++_0x1ff6c7)null!=_0x4a341b[_0x39b1f1[_0x1ff6c7]]&&(this[_0x39b1f1[_0x1ff6c7]]=_0x4a341b[_0x39b1f1[_0x1ff6c7]]);}}return _0x2b1a47['prototype']['id']='',_0x2b1a47['prototype']['documentId']='',_0x2b1a47['prototype']['hasComments']=!0x1,_0x2b1a47['prototype']['isHasCommentsModified']=!0x1,_0x2b1a47['prototype']['state']='',_0x2b1a47['prototype']['attributes']='',_0x2b1a47['create']=function(_0x476eb0){return new _0x2b1a47(_0x476eb0);},_0x2b1a47['encode']=function(_0x847395,_0x5eb85e){return _0x5eb85e||(_0x5eb85e=_0xd78662['create']()),null!=_0x847395['id']&&Object['hasOwnProperty']['call'](_0x847395,'id')&&_0x5eb85e['uint32'](0xa)['string'](_0x847395['id']),null!=_0x847395['documentId']&&Object['hasOwnProperty']['call'](_0x847395,'documentId')&&_0x5eb85e['uint32'](0x12)['string'](_0x847395['documentId']),null!=_0x847395['hasComments']&&Object['hasOwnProperty']['call'](_0x847395,'hasComments')&&_0x5eb85e['uint32'](0x18)['bool'](_0x847395['hasComments']),null!=_0x847395['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x847395,'isHasCommentsModified')&&_0x5eb85e['uint32'](0x20)['bool'](_0x847395['isHasCommentsModified']),null!=_0x847395['state']&&Object['hasOwnProperty']['call'](_0x847395,'state')&&_0x5eb85e['uint32'](0x2a)['string'](_0x847395['state']),null!=_0x847395['attributes']&&Object['hasOwnProperty']['call'](_0x847395,'attributes')&&_0x5eb85e['uint32'](0x32)['string'](_0x847395['attributes']),_0x5eb85e;},_0x2b1a47['encodeDelimited']=function(_0x3688b7,_0x1697dd){return this['encode'](_0x3688b7,_0x1697dd)['ldelim']();},_0x2b1a47['decode']=function(_0xb9bc5f,_0x22b990,_0x395fa0){_0xb9bc5f instanceof _0x4eb936||(_0xb9bc5f=_0x4eb936['create'](_0xb9bc5f));for(var _0x4ff31d=void 0x0===_0x22b990?_0xb9bc5f['len']:_0xb9bc5f['pos']+_0x22b990,_0x204dda=new _0x28a9ef['TrackChangesUpdateSuggestionMessage']();_0xb9bc5f['pos']<_0x4ff31d;){var _0x38d8aa=_0xb9bc5f['uint32']();if(_0x38d8aa===_0x395fa0)break;switch(_0x38d8aa>>>0x3){case 0x1:_0x204dda['id']=_0xb9bc5f['string']();break;case 0x2:_0x204dda['documentId']=_0xb9bc5f['string']();break;case 0x3:_0x204dda['hasComments']=_0xb9bc5f['bool']();break;case 0x4:_0x204dda['isHasCommentsModified']=_0xb9bc5f['bool']();break;case 0x5:_0x204dda['state']=_0xb9bc5f['string']();break;case 0x6:_0x204dda['attributes']=_0xb9bc5f['string']();break;default:_0xb9bc5f['skipType'](0x7&_0x38d8aa);}}return _0x204dda;},_0x2b1a47['decodeDelimited']=function(_0x1fc97f){return _0x1fc97f instanceof _0x4eb936||(_0x1fc97f=new _0x4eb936(_0x1fc97f)),this['decode'](_0x1fc97f,_0x1fc97f['uint32']());},_0x2b1a47['verify']=function(_0x12b540){return'object'!=typeof _0x12b540||null===_0x12b540?'object\x20expected':null!=_0x12b540['id']&&_0x12b540['hasOwnProperty']('id')&&!_0x4bd92b['isString'](_0x12b540['id'])?'id:\x20string\x20expected':null!=_0x12b540['documentId']&&_0x12b540['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x12b540['documentId'])?'documentId:\x20string\x20expected':null!=_0x12b540['hasComments']&&_0x12b540['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x12b540['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x12b540['isHasCommentsModified']&&_0x12b540['hasOwnProperty']('isHasCommentsModified')&&'boolean'!=typeof _0x12b540['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x12b540['state']&&_0x12b540['hasOwnProperty']('state')&&!_0x4bd92b['isString'](_0x12b540['state'])?'state:\x20string\x20expected':null!=_0x12b540['attributes']&&_0x12b540['hasOwnProperty']('attributes')&&!_0x4bd92b['isString'](_0x12b540['attributes'])?'attributes:\x20string\x20expected':null;},_0x2b1a47['fromObject']=function(_0x43e572){if(_0x43e572 instanceof _0x28a9ef['TrackChangesUpdateSuggestionMessage'])return _0x43e572;var _0x566118=new _0x28a9ef['TrackChangesUpdateSuggestionMessage']();return null!=_0x43e572['id']&&(_0x566118['id']=String(_0x43e572['id'])),null!=_0x43e572['documentId']&&(_0x566118['documentId']=String(_0x43e572['documentId'])),null!=_0x43e572['hasComments']&&(_0x566118['hasComments']=Boolean(_0x43e572['hasComments'])),null!=_0x43e572['isHasCommentsModified']&&(_0x566118['isHasCommentsModified']=Boolean(_0x43e572['isHasCommentsModified'])),null!=_0x43e572['state']&&(_0x566118['state']=String(_0x43e572['state'])),null!=_0x43e572['attributes']&&(_0x566118['attributes']=String(_0x43e572['attributes'])),_0x566118;},_0x2b1a47['toObject']=function(_0x3313ef,_0x55b1c4){_0x55b1c4||(_0x55b1c4={});var _0x832b6c={};return _0x55b1c4['defaults']&&(_0x832b6c['id']='',_0x832b6c['documentId']='',_0x832b6c['hasComments']=!0x1,_0x832b6c['isHasCommentsModified']=!0x1,_0x832b6c['state']='',_0x832b6c['attributes']=''),null!=_0x3313ef['id']&&_0x3313ef['hasOwnProperty']('id')&&(_0x832b6c['id']=_0x3313ef['id']),null!=_0x3313ef['documentId']&&_0x3313ef['hasOwnProperty']('documentId')&&(_0x832b6c['documentId']=_0x3313ef['documentId']),null!=_0x3313ef['hasComments']&&_0x3313ef['hasOwnProperty']('hasComments')&&(_0x832b6c['hasComments']=_0x3313ef['hasComments']),null!=_0x3313ef['isHasCommentsModified']&&_0x3313ef['hasOwnProperty']('isHasCommentsModified')&&(_0x832b6c['isHasCommentsModified']=_0x3313ef['isHasCommentsModified']),null!=_0x3313ef['state']&&_0x3313ef['hasOwnProperty']('state')&&(_0x832b6c['state']=_0x3313ef['state']),null!=_0x3313ef['attributes']&&_0x3313ef['hasOwnProperty']('attributes')&&(_0x832b6c['attributes']=_0x3313ef['attributes']),_0x832b6c;},_0x2b1a47['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2b1a47['getTypeUrl']=function(_0x1279f6){return void 0x0===_0x1279f6&&(_0x1279f6='type.googleapis.com'),_0x1279f6+'/TrackChangesUpdateSuggestionMessage';},_0x2b1a47;}()),_0x28a9ef['TrackChangesGetSuggestionMessage']=(function(){function _0x179a19(_0x45542e){if(_0x45542e){for(var _0x3f7870=Object['keys'](_0x45542e),_0x3002e2=0x0;_0x3002e2<_0x3f7870['length'];++_0x3002e2)null!=_0x45542e[_0x3f7870[_0x3002e2]]&&(this[_0x3f7870[_0x3002e2]]=_0x45542e[_0x3f7870[_0x3002e2]]);}}return _0x179a19['prototype']['id']='',_0x179a19['prototype']['documentId']='',_0x179a19['create']=function(_0x158fd8){return new _0x179a19(_0x158fd8);},_0x179a19['encode']=function(_0x49e371,_0x5ce014){return _0x5ce014||(_0x5ce014=_0xd78662['create']()),null!=_0x49e371['id']&&Object['hasOwnProperty']['call'](_0x49e371,'id')&&_0x5ce014['uint32'](0xa)['string'](_0x49e371['id']),null!=_0x49e371['documentId']&&Object['hasOwnProperty']['call'](_0x49e371,'documentId')&&_0x5ce014['uint32'](0x12)['string'](_0x49e371['documentId']),_0x5ce014;},_0x179a19['encodeDelimited']=function(_0x4953b2,_0x455b0c){return this['encode'](_0x4953b2,_0x455b0c)['ldelim']();},_0x179a19['decode']=function(_0x56cea1,_0x2e4962,_0x2cefc6){_0x56cea1 instanceof _0x4eb936||(_0x56cea1=_0x4eb936['create'](_0x56cea1));for(var _0x33f940=void 0x0===_0x2e4962?_0x56cea1['len']:_0x56cea1['pos']+_0x2e4962,_0xfbd9ff=new _0x28a9ef['TrackChangesGetSuggestionMessage']();_0x56cea1['pos']<_0x33f940;){var _0x1be053=_0x56cea1['uint32']();if(_0x1be053===_0x2cefc6)break;switch(_0x1be053>>>0x3){case 0x1:_0xfbd9ff['id']=_0x56cea1['string']();break;case 0x2:_0xfbd9ff['documentId']=_0x56cea1['string']();break;default:_0x56cea1['skipType'](0x7&_0x1be053);}}return _0xfbd9ff;},_0x179a19['decodeDelimited']=function(_0x2e3aa5){return _0x2e3aa5 instanceof _0x4eb936||(_0x2e3aa5=new _0x4eb936(_0x2e3aa5)),this['decode'](_0x2e3aa5,_0x2e3aa5['uint32']());},_0x179a19['verify']=function(_0x3d3996){return'object'!=typeof _0x3d3996||null===_0x3d3996?'object\x20expected':null!=_0x3d3996['id']&&_0x3d3996['hasOwnProperty']('id')&&!_0x4bd92b['isString'](_0x3d3996['id'])?'id:\x20string\x20expected':null!=_0x3d3996['documentId']&&_0x3d3996['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x3d3996['documentId'])?'documentId:\x20string\x20expected':null;},_0x179a19['fromObject']=function(_0x88b04a){if(_0x88b04a instanceof _0x28a9ef['TrackChangesGetSuggestionMessage'])return _0x88b04a;var _0x3b97e5=new _0x28a9ef['TrackChangesGetSuggestionMessage']();return null!=_0x88b04a['id']&&(_0x3b97e5['id']=String(_0x88b04a['id'])),null!=_0x88b04a['documentId']&&(_0x3b97e5['documentId']=String(_0x88b04a['documentId'])),_0x3b97e5;},_0x179a19['toObject']=function(_0x5f09fd,_0x140d70){_0x140d70||(_0x140d70={});var _0x447b47={};return _0x140d70['defaults']&&(_0x447b47['id']='',_0x447b47['documentId']=''),null!=_0x5f09fd['id']&&_0x5f09fd['hasOwnProperty']('id')&&(_0x447b47['id']=_0x5f09fd['id']),null!=_0x5f09fd['documentId']&&_0x5f09fd['hasOwnProperty']('documentId')&&(_0x447b47['documentId']=_0x5f09fd['documentId']),_0x447b47;},_0x179a19['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x179a19['getTypeUrl']=function(_0x563212){return void 0x0===_0x563212&&(_0x563212='type.googleapis.com'),_0x563212+'/TrackChangesGetSuggestionMessage';},_0x179a19;}()),_0x28a9ef['TrackChangesGetAllSuggestionMessage']=(function(){function _0x2dc734(_0x5c10e4){if(_0x5c10e4){for(var _0x5dfa23=Object['keys'](_0x5c10e4),_0x22994d=0x0;_0x22994d<_0x5dfa23['length'];++_0x22994d)null!=_0x5c10e4[_0x5dfa23[_0x22994d]]&&(this[_0x5dfa23[_0x22994d]]=_0x5c10e4[_0x5dfa23[_0x22994d]]);}}return _0x2dc734['prototype']['documentId']='',_0x2dc734['create']=function(_0x579614){return new _0x2dc734(_0x579614);},_0x2dc734['encode']=function(_0x356c0a,_0x40a17c){return _0x40a17c||(_0x40a17c=_0xd78662['create']()),null!=_0x356c0a['documentId']&&Object['hasOwnProperty']['call'](_0x356c0a,'documentId')&&_0x40a17c['uint32'](0xa)['string'](_0x356c0a['documentId']),_0x40a17c;},_0x2dc734['encodeDelimited']=function(_0x3b2fda,_0x41b84e){return this['encode'](_0x3b2fda,_0x41b84e)['ldelim']();},_0x2dc734['decode']=function(_0x2b89e2,_0x4961ce,_0x3b4115){_0x2b89e2 instanceof _0x4eb936||(_0x2b89e2=_0x4eb936['create'](_0x2b89e2));for(var _0x409f63=void 0x0===_0x4961ce?_0x2b89e2['len']:_0x2b89e2['pos']+_0x4961ce,_0x48fb39=new _0x28a9ef['TrackChangesGetAllSuggestionMessage']();_0x2b89e2['pos']<_0x409f63;){var _0x172f27=_0x2b89e2['uint32']();if(_0x172f27===_0x3b4115)break;_0x172f27>>>0x3==0x1?_0x48fb39['documentId']=_0x2b89e2['string']():_0x2b89e2['skipType'](0x7&_0x172f27);}return _0x48fb39;},_0x2dc734['decodeDelimited']=function(_0x20b751){return _0x20b751 instanceof _0x4eb936||(_0x20b751=new _0x4eb936(_0x20b751)),this['decode'](_0x20b751,_0x20b751['uint32']());},_0x2dc734['verify']=function(_0x343aa1){return'object'!=typeof _0x343aa1||null===_0x343aa1?'object\x20expected':null!=_0x343aa1['documentId']&&_0x343aa1['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x343aa1['documentId'])?'documentId:\x20string\x20expected':null;},_0x2dc734['fromObject']=function(_0x2ebf0c){if(_0x2ebf0c instanceof _0x28a9ef['TrackChangesGetAllSuggestionMessage'])return _0x2ebf0c;var _0x823ae=new _0x28a9ef['TrackChangesGetAllSuggestionMessage']();return null!=_0x2ebf0c['documentId']&&(_0x823ae['documentId']=String(_0x2ebf0c['documentId'])),_0x823ae;},_0x2dc734['toObject']=function(_0x5e54d8,_0x2ff495){_0x2ff495||(_0x2ff495={});var _0x6f62ba={};return _0x2ff495['defaults']&&(_0x6f62ba['documentId']=''),null!=_0x5e54d8['documentId']&&_0x5e54d8['hasOwnProperty']('documentId')&&(_0x6f62ba['documentId']=_0x5e54d8['documentId']),_0x6f62ba;},_0x2dc734['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2dc734['getTypeUrl']=function(_0x120b6b){return void 0x0===_0x120b6b&&(_0x120b6b='type.googleapis.com'),_0x120b6b+'/TrackChangesGetAllSuggestionMessage';},_0x2dc734;}()),_0x28a9ef['TrackChangesConnectMessage']=(function(){function _0x4845c8(_0x90f6ae){if(_0x90f6ae){for(var _0x2c80bc=Object['keys'](_0x90f6ae),_0x4b8c4c=0x0;_0x4b8c4c<_0x2c80bc['length'];++_0x4b8c4c)null!=_0x90f6ae[_0x2c80bc[_0x4b8c4c]]&&(this[_0x2c80bc[_0x4b8c4c]]=_0x90f6ae[_0x2c80bc[_0x4b8c4c]]);}}return _0x4845c8['prototype']['documentId']='',_0x4845c8['create']=function(_0x5c4b10){return new _0x4845c8(_0x5c4b10);},_0x4845c8['encode']=function(_0x2e27c0,_0x326e7c){return _0x326e7c||(_0x326e7c=_0xd78662['create']()),null!=_0x2e27c0['documentId']&&Object['hasOwnProperty']['call'](_0x2e27c0,'documentId')&&_0x326e7c['uint32'](0xa)['string'](_0x2e27c0['documentId']),_0x326e7c;},_0x4845c8['encodeDelimited']=function(_0x2b5048,_0x40598){return this['encode'](_0x2b5048,_0x40598)['ldelim']();},_0x4845c8['decode']=function(_0x4f6ba7,_0x1d6c93,_0x53c2b4){_0x4f6ba7 instanceof _0x4eb936||(_0x4f6ba7=_0x4eb936['create'](_0x4f6ba7));for(var _0x4657ac=void 0x0===_0x1d6c93?_0x4f6ba7['len']:_0x4f6ba7['pos']+_0x1d6c93,_0x2571d1=new _0x28a9ef['TrackChangesConnectMessage']();_0x4f6ba7['pos']<_0x4657ac;){var _0x176306=_0x4f6ba7['uint32']();if(_0x176306===_0x53c2b4)break;_0x176306>>>0x3==0x1?_0x2571d1['documentId']=_0x4f6ba7['string']():_0x4f6ba7['skipType'](0x7&_0x176306);}return _0x2571d1;},_0x4845c8['decodeDelimited']=function(_0x1ccb2d){return _0x1ccb2d instanceof _0x4eb936||(_0x1ccb2d=new _0x4eb936(_0x1ccb2d)),this['decode'](_0x1ccb2d,_0x1ccb2d['uint32']());},_0x4845c8['verify']=function(_0x51f65d){return'object'!=typeof _0x51f65d||null===_0x51f65d?'object\x20expected':null!=_0x51f65d['documentId']&&_0x51f65d['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x51f65d['documentId'])?'documentId:\x20string\x20expected':null;},_0x4845c8['fromObject']=function(_0x54d779){if(_0x54d779 instanceof _0x28a9ef['TrackChangesConnectMessage'])return _0x54d779;var _0x3921e6=new _0x28a9ef['TrackChangesConnectMessage']();return null!=_0x54d779['documentId']&&(_0x3921e6['documentId']=String(_0x54d779['documentId'])),_0x3921e6;},_0x4845c8['toObject']=function(_0x5e341b,_0x810fcd){_0x810fcd||(_0x810fcd={});var _0x38a77c={};return _0x810fcd['defaults']&&(_0x38a77c['documentId']=''),null!=_0x5e341b['documentId']&&_0x5e341b['hasOwnProperty']('documentId')&&(_0x38a77c['documentId']=_0x5e341b['documentId']),_0x38a77c;},_0x4845c8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4845c8['getTypeUrl']=function(_0x4d2601){return void 0x0===_0x4d2601&&(_0x4d2601='type.googleapis.com'),_0x4d2601+'/TrackChangesConnectMessage';},_0x4845c8;}()),_0x28a9ef['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0x2f0111(_0x2adea5){if(this['ids']=[],_0x2adea5){for(var _0x444f5f=Object['keys'](_0x2adea5),_0x49f3ba=0x0;_0x49f3ba<_0x444f5f['length'];++_0x49f3ba)null!=_0x2adea5[_0x444f5f[_0x49f3ba]]&&(this[_0x444f5f[_0x49f3ba]]=_0x2adea5[_0x444f5f[_0x49f3ba]]);}}return _0x2f0111['prototype']['ids']=_0x4bd92b['emptyArray'],_0x2f0111['prototype']['documentId']='',_0x2f0111['prototype']['state']='',_0x2f0111['create']=function(_0x2ea444){return new _0x2f0111(_0x2ea444);},_0x2f0111['encode']=function(_0x506e76,_0x4ec474){if(_0x4ec474||(_0x4ec474=_0xd78662['create']()),null!=_0x506e76['ids']&&_0x506e76['ids']['length']){for(var _0x1167d6=0x0;_0x1167d6<_0x506e76['ids']['length'];++_0x1167d6)_0x4ec474['uint32'](0xa)['string'](_0x506e76['ids'][_0x1167d6]);}return null!=_0x506e76['documentId']&&Object['hasOwnProperty']['call'](_0x506e76,'documentId')&&_0x4ec474['uint32'](0x12)['string'](_0x506e76['documentId']),null!=_0x506e76['state']&&Object['hasOwnProperty']['call'](_0x506e76,'state')&&_0x4ec474['uint32'](0x1a)['string'](_0x506e76['state']),_0x4ec474;},_0x2f0111['encodeDelimited']=function(_0x45dac3,_0x148cdb){return this['encode'](_0x45dac3,_0x148cdb)['ldelim']();},_0x2f0111['decode']=function(_0x566dbb,_0xb68e7f,_0x55eb3f){_0x566dbb instanceof _0x4eb936||(_0x566dbb=_0x4eb936['create'](_0x566dbb));for(var _0x27ac20=void 0x0===_0xb68e7f?_0x566dbb['len']:_0x566dbb['pos']+_0xb68e7f,_0x3f32ab=new _0x28a9ef['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x566dbb['pos']<_0x27ac20;){var _0x564378=_0x566dbb['uint32']();if(_0x564378===_0x55eb3f)break;switch(_0x564378>>>0x3){case 0x1:_0x3f32ab['ids']&&_0x3f32ab['ids']['length']||(_0x3f32ab['ids']=[]),_0x3f32ab['ids']['push'](_0x566dbb['string']());break;case 0x2:_0x3f32ab['documentId']=_0x566dbb['string']();break;case 0x3:_0x3f32ab['state']=_0x566dbb['string']();break;default:_0x566dbb['skipType'](0x7&_0x564378);}}return _0x3f32ab;},_0x2f0111['decodeDelimited']=function(_0x130cc7){return _0x130cc7 instanceof _0x4eb936||(_0x130cc7=new _0x4eb936(_0x130cc7)),this['decode'](_0x130cc7,_0x130cc7['uint32']());},_0x2f0111['verify']=function(_0x11b1f3){if('object'!=typeof _0x11b1f3||null===_0x11b1f3)return'object\x20expected';if(null!=_0x11b1f3['ids']&&_0x11b1f3['hasOwnProperty']('ids')){if(!Array['isArray'](_0x11b1f3['ids']))return'ids:\x20array\x20expected';for(var _0x3d9961=0x0;_0x3d9961<_0x11b1f3['ids']['length'];++_0x3d9961)if(!_0x4bd92b['isString'](_0x11b1f3['ids'][_0x3d9961]))return'ids:\x20string[]\x20expected';}return null!=_0x11b1f3['documentId']&&_0x11b1f3['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x11b1f3['documentId'])?'documentId:\x20string\x20expected':null!=_0x11b1f3['state']&&_0x11b1f3['hasOwnProperty']('state')&&!_0x4bd92b['isString'](_0x11b1f3['state'])?'state:\x20string\x20expected':null;},_0x2f0111['fromObject']=function(_0x834710){if(_0x834710 instanceof _0x28a9ef['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x834710;var _0x7b6776=new _0x28a9ef['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x834710['ids']){if(!Array['isArray'](_0x834710['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x7b6776['ids']=[];for(var _0xca85f9=0x0;_0xca85f9<_0x834710['ids']['length'];++_0xca85f9)_0x7b6776['ids'][_0xca85f9]=String(_0x834710['ids'][_0xca85f9]);}return null!=_0x834710['documentId']&&(_0x7b6776['documentId']=String(_0x834710['documentId'])),null!=_0x834710['state']&&(_0x7b6776['state']=String(_0x834710['state'])),_0x7b6776;},_0x2f0111['toObject']=function(_0x1278e3,_0x22a8aa){_0x22a8aa||(_0x22a8aa={});var _0x47ce16={};if((_0x22a8aa['arrays']||_0x22a8aa['defaults'])&&(_0x47ce16['ids']=[]),_0x22a8aa['defaults']&&(_0x47ce16['documentId']='',_0x47ce16['state']=''),_0x1278e3['ids']&&_0x1278e3['ids']['length']){_0x47ce16['ids']=[];for(var _0x40a0fa=0x0;_0x40a0fa<_0x1278e3['ids']['length'];++_0x40a0fa)_0x47ce16['ids'][_0x40a0fa]=_0x1278e3['ids'][_0x40a0fa];}return null!=_0x1278e3['documentId']&&_0x1278e3['hasOwnProperty']('documentId')&&(_0x47ce16['documentId']=_0x1278e3['documentId']),null!=_0x1278e3['state']&&_0x1278e3['hasOwnProperty']('state')&&(_0x47ce16['state']=_0x1278e3['state']),_0x47ce16;},_0x2f0111['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2f0111['getTypeUrl']=function(_0x2a13cd){return void 0x0===_0x2a13cd&&(_0x2a13cd='type.googleapis.com'),_0x2a13cd+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0x2f0111;}()),_0x28a9ef['TrackChangesAddSuggestionMessage']=(function(){function _0xcbcbf3(_0x21808a){if(_0x21808a){for(var _0x4db07f=Object['keys'](_0x21808a),_0x283788=0x0;_0x283788<_0x4db07f['length'];++_0x283788)null!=_0x21808a[_0x4db07f[_0x283788]]&&(this[_0x4db07f[_0x283788]]=_0x21808a[_0x4db07f[_0x283788]]);}}return _0xcbcbf3['prototype']['id']='',_0xcbcbf3['prototype']['documentId']='',_0xcbcbf3['prototype']['type']='',_0xcbcbf3['prototype']['data']='',_0xcbcbf3['prototype']['originalSuggestionId']='',_0xcbcbf3['prototype']['attributes']='',_0xcbcbf3['create']=function(_0x55b56b){return new _0xcbcbf3(_0x55b56b);},_0xcbcbf3['encode']=function(_0x3bfb3b,_0x3c1ed9){return _0x3c1ed9||(_0x3c1ed9=_0xd78662['create']()),null!=_0x3bfb3b['id']&&Object['hasOwnProperty']['call'](_0x3bfb3b,'id')&&_0x3c1ed9['uint32'](0xa)['string'](_0x3bfb3b['id']),null!=_0x3bfb3b['documentId']&&Object['hasOwnProperty']['call'](_0x3bfb3b,'documentId')&&_0x3c1ed9['uint32'](0x12)['string'](_0x3bfb3b['documentId']),null!=_0x3bfb3b['type']&&Object['hasOwnProperty']['call'](_0x3bfb3b,'type')&&_0x3c1ed9['uint32'](0x1a)['string'](_0x3bfb3b['type']),null!=_0x3bfb3b['data']&&Object['hasOwnProperty']['call'](_0x3bfb3b,'data')&&_0x3c1ed9['uint32'](0x22)['string'](_0x3bfb3b['data']),null!=_0x3bfb3b['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x3bfb3b,'originalSuggestionId')&&_0x3c1ed9['uint32'](0x2a)['string'](_0x3bfb3b['originalSuggestionId']),null!=_0x3bfb3b['attributes']&&Object['hasOwnProperty']['call'](_0x3bfb3b,'attributes')&&_0x3c1ed9['uint32'](0x32)['string'](_0x3bfb3b['attributes']),_0x3c1ed9;},_0xcbcbf3['encodeDelimited']=function(_0x36887a,_0x1ceaeb){return this['encode'](_0x36887a,_0x1ceaeb)['ldelim']();},_0xcbcbf3['decode']=function(_0x4b0c36,_0x449bd5,_0x5a425f){_0x4b0c36 instanceof _0x4eb936||(_0x4b0c36=_0x4eb936['create'](_0x4b0c36));for(var _0x2b5190=void 0x0===_0x449bd5?_0x4b0c36['len']:_0x4b0c36['pos']+_0x449bd5,_0x3be2ed=new _0x28a9ef['TrackChangesAddSuggestionMessage']();_0x4b0c36['pos']<_0x2b5190;){var _0x1cf963=_0x4b0c36['uint32']();if(_0x1cf963===_0x5a425f)break;switch(_0x1cf963>>>0x3){case 0x1:_0x3be2ed['id']=_0x4b0c36['string']();break;case 0x2:_0x3be2ed['documentId']=_0x4b0c36['string']();break;case 0x3:_0x3be2ed['type']=_0x4b0c36['string']();break;case 0x4:_0x3be2ed['data']=_0x4b0c36['string']();break;case 0x5:_0x3be2ed['originalSuggestionId']=_0x4b0c36['string']();break;case 0x6:_0x3be2ed['attributes']=_0x4b0c36['string']();break;default:_0x4b0c36['skipType'](0x7&_0x1cf963);}}return _0x3be2ed;},_0xcbcbf3['decodeDelimited']=function(_0x1dd685){return _0x1dd685 instanceof _0x4eb936||(_0x1dd685=new _0x4eb936(_0x1dd685)),this['decode'](_0x1dd685,_0x1dd685['uint32']());},_0xcbcbf3['verify']=function(_0x5de05d){return'object'!=typeof _0x5de05d||null===_0x5de05d?'object\x20expected':null!=_0x5de05d['id']&&_0x5de05d['hasOwnProperty']('id')&&!_0x4bd92b['isString'](_0x5de05d['id'])?'id:\x20string\x20expected':null!=_0x5de05d['documentId']&&_0x5de05d['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x5de05d['documentId'])?'documentId:\x20string\x20expected':null!=_0x5de05d['type']&&_0x5de05d['hasOwnProperty']('type')&&!_0x4bd92b['isString'](_0x5de05d['type'])?'type:\x20string\x20expected':null!=_0x5de05d['data']&&_0x5de05d['hasOwnProperty']('data')&&!_0x4bd92b['isString'](_0x5de05d['data'])?'data:\x20string\x20expected':null!=_0x5de05d['originalSuggestionId']&&_0x5de05d['hasOwnProperty']('originalSuggestionId')&&!_0x4bd92b['isString'](_0x5de05d['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x5de05d['attributes']&&_0x5de05d['hasOwnProperty']('attributes')&&!_0x4bd92b['isString'](_0x5de05d['attributes'])?'attributes:\x20string\x20expected':null;},_0xcbcbf3['fromObject']=function(_0x166faa){if(_0x166faa instanceof _0x28a9ef['TrackChangesAddSuggestionMessage'])return _0x166faa;var _0x309507=new _0x28a9ef['TrackChangesAddSuggestionMessage']();return null!=_0x166faa['id']&&(_0x309507['id']=String(_0x166faa['id'])),null!=_0x166faa['documentId']&&(_0x309507['documentId']=String(_0x166faa['documentId'])),null!=_0x166faa['type']&&(_0x309507['type']=String(_0x166faa['type'])),null!=_0x166faa['data']&&(_0x309507['data']=String(_0x166faa['data'])),null!=_0x166faa['originalSuggestionId']&&(_0x309507['originalSuggestionId']=String(_0x166faa['originalSuggestionId'])),null!=_0x166faa['attributes']&&(_0x309507['attributes']=String(_0x166faa['attributes'])),_0x309507;},_0xcbcbf3['toObject']=function(_0x3bf5cb,_0x1e69f5){_0x1e69f5||(_0x1e69f5={});var _0x3ad64e={};return _0x1e69f5['defaults']&&(_0x3ad64e['id']='',_0x3ad64e['documentId']='',_0x3ad64e['type']='',_0x3ad64e['data']='',_0x3ad64e['originalSuggestionId']='',_0x3ad64e['attributes']=''),null!=_0x3bf5cb['id']&&_0x3bf5cb['hasOwnProperty']('id')&&(_0x3ad64e['id']=_0x3bf5cb['id']),null!=_0x3bf5cb['documentId']&&_0x3bf5cb['hasOwnProperty']('documentId')&&(_0x3ad64e['documentId']=_0x3bf5cb['documentId']),null!=_0x3bf5cb['type']&&_0x3bf5cb['hasOwnProperty']('type')&&(_0x3ad64e['type']=_0x3bf5cb['type']),null!=_0x3bf5cb['data']&&_0x3bf5cb['hasOwnProperty']('data')&&(_0x3ad64e['data']=_0x3bf5cb['data']),null!=_0x3bf5cb['originalSuggestionId']&&_0x3bf5cb['hasOwnProperty']('originalSuggestionId')&&(_0x3ad64e['originalSuggestionId']=_0x3bf5cb['originalSuggestionId']),null!=_0x3bf5cb['attributes']&&_0x3bf5cb['hasOwnProperty']('attributes')&&(_0x3ad64e['attributes']=_0x3bf5cb['attributes']),_0x3ad64e;},_0xcbcbf3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xcbcbf3['getTypeUrl']=function(_0x30b3f6){return void 0x0===_0x30b3f6&&(_0x30b3f6='type.googleapis.com'),_0x30b3f6+'/TrackChangesAddSuggestionMessage';},_0xcbcbf3;}()),_0x28a9ef['SuggestionDescriptor']=(function(){function _0x3c1150(_0x41dbd6){if(_0x41dbd6){for(var _0x113508=Object['keys'](_0x41dbd6),_0x13baa3=0x0;_0x13baa3<_0x113508['length'];++_0x13baa3)null!=_0x41dbd6[_0x113508[_0x13baa3]]&&(this[_0x113508[_0x13baa3]]=_0x41dbd6[_0x113508[_0x13baa3]]);}}return _0x3c1150['prototype']['id']='',_0x3c1150['prototype']['authorId']='',_0x3c1150['prototype']['type']='',_0x3c1150['prototype']['createdAt']='',_0x3c1150['prototype']['data']='',_0x3c1150['prototype']['hasComments']=!0x1,_0x3c1150['prototype']['state']='',_0x3c1150['prototype']['attributes']='',_0x3c1150['create']=function(_0x51bb52){return new _0x3c1150(_0x51bb52);},_0x3c1150['encode']=function(_0x5a95ea,_0x360105){return _0x360105||(_0x360105=_0xd78662['create']()),null!=_0x5a95ea['id']&&Object['hasOwnProperty']['call'](_0x5a95ea,'id')&&_0x360105['uint32'](0xa)['string'](_0x5a95ea['id']),null!=_0x5a95ea['authorId']&&Object['hasOwnProperty']['call'](_0x5a95ea,'authorId')&&_0x360105['uint32'](0x12)['string'](_0x5a95ea['authorId']),null!=_0x5a95ea['type']&&Object['hasOwnProperty']['call'](_0x5a95ea,'type')&&_0x360105['uint32'](0x1a)['string'](_0x5a95ea['type']),null!=_0x5a95ea['createdAt']&&Object['hasOwnProperty']['call'](_0x5a95ea,'createdAt')&&_0x360105['uint32'](0x22)['string'](_0x5a95ea['createdAt']),null!=_0x5a95ea['data']&&Object['hasOwnProperty']['call'](_0x5a95ea,'data')&&_0x360105['uint32'](0x2a)['string'](_0x5a95ea['data']),null!=_0x5a95ea['hasComments']&&Object['hasOwnProperty']['call'](_0x5a95ea,'hasComments')&&_0x360105['uint32'](0x30)['bool'](_0x5a95ea['hasComments']),null!=_0x5a95ea['state']&&Object['hasOwnProperty']['call'](_0x5a95ea,'state')&&_0x360105['uint32'](0x3a)['string'](_0x5a95ea['state']),null!=_0x5a95ea['attributes']&&Object['hasOwnProperty']['call'](_0x5a95ea,'attributes')&&_0x360105['uint32'](0x42)['string'](_0x5a95ea['attributes']),_0x360105;},_0x3c1150['encodeDelimited']=function(_0x5871c5,_0x24b613){return this['encode'](_0x5871c5,_0x24b613)['ldelim']();},_0x3c1150['decode']=function(_0x5ccf14,_0x5d7bb9,_0x5578d5){_0x5ccf14 instanceof _0x4eb936||(_0x5ccf14=_0x4eb936['create'](_0x5ccf14));for(var _0x406750=void 0x0===_0x5d7bb9?_0x5ccf14['len']:_0x5ccf14['pos']+_0x5d7bb9,_0x30c69e=new _0x28a9ef['SuggestionDescriptor']();_0x5ccf14['pos']<_0x406750;){var _0x4d4e62=_0x5ccf14['uint32']();if(_0x4d4e62===_0x5578d5)break;switch(_0x4d4e62>>>0x3){case 0x1:_0x30c69e['id']=_0x5ccf14['string']();break;case 0x2:_0x30c69e['authorId']=_0x5ccf14['string']();break;case 0x3:_0x30c69e['type']=_0x5ccf14['string']();break;case 0x4:_0x30c69e['createdAt']=_0x5ccf14['string']();break;case 0x5:_0x30c69e['data']=_0x5ccf14['string']();break;case 0x6:_0x30c69e['hasComments']=_0x5ccf14['bool']();break;case 0x7:_0x30c69e['state']=_0x5ccf14['string']();break;case 0x8:_0x30c69e['attributes']=_0x5ccf14['string']();break;default:_0x5ccf14['skipType'](0x7&_0x4d4e62);}}return _0x30c69e;},_0x3c1150['decodeDelimited']=function(_0x57dfe3){return _0x57dfe3 instanceof _0x4eb936||(_0x57dfe3=new _0x4eb936(_0x57dfe3)),this['decode'](_0x57dfe3,_0x57dfe3['uint32']());},_0x3c1150['verify']=function(_0x4d06f5){return'object'!=typeof _0x4d06f5||null===_0x4d06f5?'object\x20expected':null!=_0x4d06f5['id']&&_0x4d06f5['hasOwnProperty']('id')&&!_0x4bd92b['isString'](_0x4d06f5['id'])?'id:\x20string\x20expected':null!=_0x4d06f5['authorId']&&_0x4d06f5['hasOwnProperty']('authorId')&&!_0x4bd92b['isString'](_0x4d06f5['authorId'])?'authorId:\x20string\x20expected':null!=_0x4d06f5['type']&&_0x4d06f5['hasOwnProperty']('type')&&!_0x4bd92b['isString'](_0x4d06f5['type'])?'type:\x20string\x20expected':null!=_0x4d06f5['createdAt']&&_0x4d06f5['hasOwnProperty']('createdAt')&&!_0x4bd92b['isString'](_0x4d06f5['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x4d06f5['data']&&_0x4d06f5['hasOwnProperty']('data')&&!_0x4bd92b['isString'](_0x4d06f5['data'])?'data:\x20string\x20expected':null!=_0x4d06f5['hasComments']&&_0x4d06f5['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x4d06f5['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x4d06f5['state']&&_0x4d06f5['hasOwnProperty']('state')&&!_0x4bd92b['isString'](_0x4d06f5['state'])?'state:\x20string\x20expected':null!=_0x4d06f5['attributes']&&_0x4d06f5['hasOwnProperty']('attributes')&&!_0x4bd92b['isString'](_0x4d06f5['attributes'])?'attributes:\x20string\x20expected':null;},_0x3c1150['fromObject']=function(_0x2246d0){if(_0x2246d0 instanceof _0x28a9ef['SuggestionDescriptor'])return _0x2246d0;var _0x5c5464=new _0x28a9ef['SuggestionDescriptor']();return null!=_0x2246d0['id']&&(_0x5c5464['id']=String(_0x2246d0['id'])),null!=_0x2246d0['authorId']&&(_0x5c5464['authorId']=String(_0x2246d0['authorId'])),null!=_0x2246d0['type']&&(_0x5c5464['type']=String(_0x2246d0['type'])),null!=_0x2246d0['createdAt']&&(_0x5c5464['createdAt']=String(_0x2246d0['createdAt'])),null!=_0x2246d0['data']&&(_0x5c5464['data']=String(_0x2246d0['data'])),null!=_0x2246d0['hasComments']&&(_0x5c5464['hasComments']=Boolean(_0x2246d0['hasComments'])),null!=_0x2246d0['state']&&(_0x5c5464['state']=String(_0x2246d0['state'])),null!=_0x2246d0['attributes']&&(_0x5c5464['attributes']=String(_0x2246d0['attributes'])),_0x5c5464;},_0x3c1150['toObject']=function(_0x55844f,_0x4cb19a){_0x4cb19a||(_0x4cb19a={});var _0x422172={};return _0x4cb19a['defaults']&&(_0x422172['id']='',_0x422172['authorId']='',_0x422172['type']='',_0x422172['createdAt']='',_0x422172['data']='',_0x422172['hasComments']=!0x1,_0x422172['state']='',_0x422172['attributes']=''),null!=_0x55844f['id']&&_0x55844f['hasOwnProperty']('id')&&(_0x422172['id']=_0x55844f['id']),null!=_0x55844f['authorId']&&_0x55844f['hasOwnProperty']('authorId')&&(_0x422172['authorId']=_0x55844f['authorId']),null!=_0x55844f['type']&&_0x55844f['hasOwnProperty']('type')&&(_0x422172['type']=_0x55844f['type']),null!=_0x55844f['createdAt']&&_0x55844f['hasOwnProperty']('createdAt')&&(_0x422172['createdAt']=_0x55844f['createdAt']),null!=_0x55844f['data']&&_0x55844f['hasOwnProperty']('data')&&(_0x422172['data']=_0x55844f['data']),null!=_0x55844f['hasComments']&&_0x55844f['hasOwnProperty']('hasComments')&&(_0x422172['hasComments']=_0x55844f['hasComments']),null!=_0x55844f['state']&&_0x55844f['hasOwnProperty']('state')&&(_0x422172['state']=_0x55844f['state']),null!=_0x55844f['attributes']&&_0x55844f['hasOwnProperty']('attributes')&&(_0x422172['attributes']=_0x55844f['attributes']),_0x422172;},_0x3c1150['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3c1150['getTypeUrl']=function(_0x5c6bbb){return void 0x0===_0x5c6bbb&&(_0x5c6bbb='type.googleapis.com'),_0x5c6bbb+'/SuggestionDescriptor';},_0x3c1150;}()),_0x28a9ef['SessionsConnectResponse']=(function(){function _0x530f9(_0x4b0a58){if(this['sockets']=[],_0x4b0a58){for(var _0x282160=Object['keys'](_0x4b0a58),_0x175f46=0x0;_0x175f46<_0x282160['length'];++_0x175f46)null!=_0x4b0a58[_0x282160[_0x175f46]]&&(this[_0x282160[_0x175f46]]=_0x4b0a58[_0x282160[_0x175f46]]);}}return _0x530f9['prototype']['channel']='',_0x530f9['prototype']['sockets']=_0x4bd92b['emptyArray'],_0x530f9['create']=function(_0x3e8e27){return new _0x530f9(_0x3e8e27);},_0x530f9['encode']=function(_0x2c39db,_0x5c3c48){if(_0x5c3c48||(_0x5c3c48=_0xd78662['create']()),null!=_0x2c39db['channel']&&Object['hasOwnProperty']['call'](_0x2c39db,'channel')&&_0x5c3c48['uint32'](0xa)['string'](_0x2c39db['channel']),null!=_0x2c39db['sockets']&&_0x2c39db['sockets']['length']){for(var _0x79928e=0x0;_0x79928e<_0x2c39db['sockets']['length'];++_0x79928e)_0x28a9ef['SessionsSocketDescriptor']['encode'](_0x2c39db['sockets'][_0x79928e],_0x5c3c48['uint32'](0x12)['fork']())['ldelim']();}return _0x5c3c48;},_0x530f9['encodeDelimited']=function(_0x1870d2,_0x2ad103){return this['encode'](_0x1870d2,_0x2ad103)['ldelim']();},_0x530f9['decode']=function(_0x32c2e7,_0x5cc678,_0x5203d4){_0x32c2e7 instanceof _0x4eb936||(_0x32c2e7=_0x4eb936['create'](_0x32c2e7));for(var _0x844f85=void 0x0===_0x5cc678?_0x32c2e7['len']:_0x32c2e7['pos']+_0x5cc678,_0x11a6d3=new _0x28a9ef['SessionsConnectResponse']();_0x32c2e7['pos']<_0x844f85;){var _0x36bdda=_0x32c2e7['uint32']();if(_0x36bdda===_0x5203d4)break;switch(_0x36bdda>>>0x3){case 0x1:_0x11a6d3['channel']=_0x32c2e7['string']();break;case 0x2:_0x11a6d3['sockets']&&_0x11a6d3['sockets']['length']||(_0x11a6d3['sockets']=[]),_0x11a6d3['sockets']['push'](_0x28a9ef['SessionsSocketDescriptor']['decode'](_0x32c2e7,_0x32c2e7['uint32']()));break;default:_0x32c2e7['skipType'](0x7&_0x36bdda);}}return _0x11a6d3;},_0x530f9['decodeDelimited']=function(_0x16808e){return _0x16808e instanceof _0x4eb936||(_0x16808e=new _0x4eb936(_0x16808e)),this['decode'](_0x16808e,_0x16808e['uint32']());},_0x530f9['verify']=function(_0x4bd50e){if('object'!=typeof _0x4bd50e||null===_0x4bd50e)return'object\x20expected';if(null!=_0x4bd50e['channel']&&_0x4bd50e['hasOwnProperty']('channel')&&!_0x4bd92b['isString'](_0x4bd50e['channel']))return'channel:\x20string\x20expected';if(null!=_0x4bd50e['sockets']&&_0x4bd50e['hasOwnProperty']('sockets')){if(!Array['isArray'](_0x4bd50e['sockets']))return'sockets:\x20array\x20expected';for(var _0x284a7a=0x0;_0x284a7a<_0x4bd50e['sockets']['length'];++_0x284a7a){var _0x7cdc0f=_0x28a9ef['SessionsSocketDescriptor']['verify'](_0x4bd50e['sockets'][_0x284a7a]);if(_0x7cdc0f)return'sockets.'+_0x7cdc0f;}}return null;},_0x530f9['fromObject']=function(_0x55e9e1){if(_0x55e9e1 instanceof _0x28a9ef['SessionsConnectResponse'])return _0x55e9e1;var _0x4fc4a1=new _0x28a9ef['SessionsConnectResponse']();if(null!=_0x55e9e1['channel']&&(_0x4fc4a1['channel']=String(_0x55e9e1['channel'])),_0x55e9e1['sockets']){if(!Array['isArray'](_0x55e9e1['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x4fc4a1['sockets']=[];for(var _0x12e0db=0x0;_0x12e0db<_0x55e9e1['sockets']['length'];++_0x12e0db){if('object'!=typeof _0x55e9e1['sockets'][_0x12e0db])throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x4fc4a1['sockets'][_0x12e0db]=_0x28a9ef['SessionsSocketDescriptor']['fromObject'](_0x55e9e1['sockets'][_0x12e0db]);}}return _0x4fc4a1;},_0x530f9['toObject']=function(_0x3faf57,_0x312a07){_0x312a07||(_0x312a07={});var _0x1d63f8={};if((_0x312a07['arrays']||_0x312a07['defaults'])&&(_0x1d63f8['sockets']=[]),_0x312a07['defaults']&&(_0x1d63f8['channel']=''),null!=_0x3faf57['channel']&&_0x3faf57['hasOwnProperty']('channel')&&(_0x1d63f8['channel']=_0x3faf57['channel']),_0x3faf57['sockets']&&_0x3faf57['sockets']['length']){_0x1d63f8['sockets']=[];for(var _0x155597=0x0;_0x155597<_0x3faf57['sockets']['length'];++_0x155597)_0x1d63f8['sockets'][_0x155597]=_0x28a9ef['SessionsSocketDescriptor']['toObject'](_0x3faf57['sockets'][_0x155597],_0x312a07);}return _0x1d63f8;},_0x530f9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x530f9['getTypeUrl']=function(_0x315b8b){return void 0x0===_0x315b8b&&(_0x315b8b='type.googleapis.com'),_0x315b8b+'/SessionsConnectResponse';},_0x530f9;}()),_0x28a9ef['SocketDisconnectMessage']=(function(){function _0x340365(_0x466cc1){if(_0x466cc1){for(var _0x1ce659=Object['keys'](_0x466cc1),_0x217d33=0x0;_0x217d33<_0x1ce659['length'];++_0x217d33)null!=_0x466cc1[_0x1ce659[_0x217d33]]&&(this[_0x1ce659[_0x217d33]]=_0x466cc1[_0x1ce659[_0x217d33]]);}}return _0x340365['prototype']['id']='',_0x340365['create']=function(_0x45bb1d){return new _0x340365(_0x45bb1d);},_0x340365['encode']=function(_0x3121e8,_0x25446a){return _0x25446a||(_0x25446a=_0xd78662['create']()),null!=_0x3121e8['id']&&Object['hasOwnProperty']['call'](_0x3121e8,'id')&&_0x25446a['uint32'](0xa)['string'](_0x3121e8['id']),_0x25446a;},_0x340365['encodeDelimited']=function(_0x11adb5,_0x240885){return this['encode'](_0x11adb5,_0x240885)['ldelim']();},_0x340365['decode']=function(_0x108f69,_0x58b6eb,_0x1c88ad){_0x108f69 instanceof _0x4eb936||(_0x108f69=_0x4eb936['create'](_0x108f69));for(var _0x45457b=void 0x0===_0x58b6eb?_0x108f69['len']:_0x108f69['pos']+_0x58b6eb,_0xf0e08b=new _0x28a9ef['SocketDisconnectMessage']();_0x108f69['pos']<_0x45457b;){var _0x20b1ec=_0x108f69['uint32']();if(_0x20b1ec===_0x1c88ad)break;_0x20b1ec>>>0x3==0x1?_0xf0e08b['id']=_0x108f69['string']():_0x108f69['skipType'](0x7&_0x20b1ec);}return _0xf0e08b;},_0x340365['decodeDelimited']=function(_0x514416){return _0x514416 instanceof _0x4eb936||(_0x514416=new _0x4eb936(_0x514416)),this['decode'](_0x514416,_0x514416['uint32']());},_0x340365['verify']=function(_0x553528){return'object'!=typeof _0x553528||null===_0x553528?'object\x20expected':null!=_0x553528['id']&&_0x553528['hasOwnProperty']('id')&&!_0x4bd92b['isString'](_0x553528['id'])?'id:\x20string\x20expected':null;},_0x340365['fromObject']=function(_0x5d6357){if(_0x5d6357 instanceof _0x28a9ef['SocketDisconnectMessage'])return _0x5d6357;var _0x5348bd=new _0x28a9ef['SocketDisconnectMessage']();return null!=_0x5d6357['id']&&(_0x5348bd['id']=String(_0x5d6357['id'])),_0x5348bd;},_0x340365['toObject']=function(_0x5c03b2,_0x30e27f){_0x30e27f||(_0x30e27f={});var _0x392021={};return _0x30e27f['defaults']&&(_0x392021['id']=''),null!=_0x5c03b2['id']&&_0x5c03b2['hasOwnProperty']('id')&&(_0x392021['id']=_0x5c03b2['id']),_0x392021;},_0x340365['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x340365['getTypeUrl']=function(_0x585345){return void 0x0===_0x585345&&(_0x585345='type.googleapis.com'),_0x585345+'/SocketDisconnectMessage';},_0x340365;}()),_0x28a9ef['SocketConnectMessage']=(function(){function _0x1ea238(_0x150ac1){if(this['permissions']=[],_0x150ac1){for(var _0x452405=Object['keys'](_0x150ac1),_0x224f85=0x0;_0x224f85<_0x452405['length'];++_0x224f85)null!=_0x150ac1[_0x452405[_0x224f85]]&&(this[_0x452405[_0x224f85]]=_0x150ac1[_0x452405[_0x224f85]]);}}return _0x1ea238['prototype']['id']='',_0x1ea238['prototype']['userId']='',_0x1ea238['prototype']['role']='',_0x1ea238['prototype']['permissions']=_0x4bd92b['emptyArray'],_0x1ea238['create']=function(_0x2fc422){return new _0x1ea238(_0x2fc422);},_0x1ea238['encode']=function(_0x5cd60e,_0x49bc71){if(_0x49bc71||(_0x49bc71=_0xd78662['create']()),null!=_0x5cd60e['id']&&Object['hasOwnProperty']['call'](_0x5cd60e,'id')&&_0x49bc71['uint32'](0xa)['string'](_0x5cd60e['id']),null!=_0x5cd60e['userId']&&Object['hasOwnProperty']['call'](_0x5cd60e,'userId')&&_0x49bc71['uint32'](0x12)['string'](_0x5cd60e['userId']),null!=_0x5cd60e['role']&&Object['hasOwnProperty']['call'](_0x5cd60e,'role')&&_0x49bc71['uint32'](0x1a)['string'](_0x5cd60e['role']),null!=_0x5cd60e['permissions']&&_0x5cd60e['permissions']['length']){for(var _0x4da4d5=0x0;_0x4da4d5<_0x5cd60e['permissions']['length'];++_0x4da4d5)_0x49bc71['uint32'](0x22)['string'](_0x5cd60e['permissions'][_0x4da4d5]);}return _0x49bc71;},_0x1ea238['encodeDelimited']=function(_0x4e64bc,_0x112be6){return this['encode'](_0x4e64bc,_0x112be6)['ldelim']();},_0x1ea238['decode']=function(_0x124b94,_0x34ce5b,_0x3f818e){_0x124b94 instanceof _0x4eb936||(_0x124b94=_0x4eb936['create'](_0x124b94));for(var _0x553dd6=void 0x0===_0x34ce5b?_0x124b94['len']:_0x124b94['pos']+_0x34ce5b,_0x26fcdc=new _0x28a9ef['SocketConnectMessage']();_0x124b94['pos']<_0x553dd6;){var _0x56e18e=_0x124b94['uint32']();if(_0x56e18e===_0x3f818e)break;switch(_0x56e18e>>>0x3){case 0x1:_0x26fcdc['id']=_0x124b94['string']();break;case 0x2:_0x26fcdc['userId']=_0x124b94['string']();break;case 0x3:_0x26fcdc['role']=_0x124b94['string']();break;case 0x4:_0x26fcdc['permissions']&&_0x26fcdc['permissions']['length']||(_0x26fcdc['permissions']=[]),_0x26fcdc['permissions']['push'](_0x124b94['string']());break;default:_0x124b94['skipType'](0x7&_0x56e18e);}}return _0x26fcdc;},_0x1ea238['decodeDelimited']=function(_0x392612){return _0x392612 instanceof _0x4eb936||(_0x392612=new _0x4eb936(_0x392612)),this['decode'](_0x392612,_0x392612['uint32']());},_0x1ea238['verify']=function(_0x5988f3){if('object'!=typeof _0x5988f3||null===_0x5988f3)return'object\x20expected';if(null!=_0x5988f3['id']&&_0x5988f3['hasOwnProperty']('id')&&!_0x4bd92b['isString'](_0x5988f3['id']))return'id:\x20string\x20expected';if(null!=_0x5988f3['userId']&&_0x5988f3['hasOwnProperty']('userId')&&!_0x4bd92b['isString'](_0x5988f3['userId']))return'userId:\x20string\x20expected';if(null!=_0x5988f3['role']&&_0x5988f3['hasOwnProperty']('role')&&!_0x4bd92b['isString'](_0x5988f3['role']))return'role:\x20string\x20expected';if(null!=_0x5988f3['permissions']&&_0x5988f3['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x5988f3['permissions']))return'permissions:\x20array\x20expected';for(var _0xfee599=0x0;_0xfee599<_0x5988f3['permissions']['length'];++_0xfee599)if(!_0x4bd92b['isString'](_0x5988f3['permissions'][_0xfee599]))return'permissions:\x20string[]\x20expected';}return null;},_0x1ea238['fromObject']=function(_0x3a0619){if(_0x3a0619 instanceof _0x28a9ef['SocketConnectMessage'])return _0x3a0619;var _0x4e92dc=new _0x28a9ef['SocketConnectMessage']();if(null!=_0x3a0619['id']&&(_0x4e92dc['id']=String(_0x3a0619['id'])),null!=_0x3a0619['userId']&&(_0x4e92dc['userId']=String(_0x3a0619['userId'])),null!=_0x3a0619['role']&&(_0x4e92dc['role']=String(_0x3a0619['role'])),_0x3a0619['permissions']){if(!Array['isArray'](_0x3a0619['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x4e92dc['permissions']=[];for(var _0x21c2cf=0x0;_0x21c2cf<_0x3a0619['permissions']['length'];++_0x21c2cf)_0x4e92dc['permissions'][_0x21c2cf]=String(_0x3a0619['permissions'][_0x21c2cf]);}return _0x4e92dc;},_0x1ea238['toObject']=function(_0x183378,_0x34f988){_0x34f988||(_0x34f988={});var _0xa7fef={};if((_0x34f988['arrays']||_0x34f988['defaults'])&&(_0xa7fef['permissions']=[]),_0x34f988['defaults']&&(_0xa7fef['id']='',_0xa7fef['userId']='',_0xa7fef['role']=''),null!=_0x183378['id']&&_0x183378['hasOwnProperty']('id')&&(_0xa7fef['id']=_0x183378['id']),null!=_0x183378['userId']&&_0x183378['hasOwnProperty']('userId')&&(_0xa7fef['userId']=_0x183378['userId']),null!=_0x183378['role']&&_0x183378['hasOwnProperty']('role')&&(_0xa7fef['role']=_0x183378['role']),_0x183378['permissions']&&_0x183378['permissions']['length']){_0xa7fef['permissions']=[];for(var _0x4ca4b5=0x0;_0x4ca4b5<_0x183378['permissions']['length'];++_0x4ca4b5)_0xa7fef['permissions'][_0x4ca4b5]=_0x183378['permissions'][_0x4ca4b5];}return _0xa7fef;},_0x1ea238['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1ea238['getTypeUrl']=function(_0x41e4dd){return void 0x0===_0x41e4dd&&(_0x41e4dd='type.googleapis.com'),_0x41e4dd+'/SocketConnectMessage';},_0x1ea238;}()),_0x28a9ef['SessionsConnectMessage']=(function(){function _0x260340(_0x275ebc){if(_0x275ebc){for(var _0x5dde01=Object['keys'](_0x275ebc),_0x56377a=0x0;_0x56377a<_0x5dde01['length'];++_0x56377a)null!=_0x275ebc[_0x5dde01[_0x56377a]]&&(this[_0x5dde01[_0x56377a]]=_0x275ebc[_0x5dde01[_0x56377a]]);}}return _0x260340['prototype']['id']='',_0x260340['prototype']['sessionType']=0x0,_0x260340['create']=function(_0x11578f){return new _0x260340(_0x11578f);},_0x260340['encode']=function(_0x521254,_0x10d485){return _0x10d485||(_0x10d485=_0xd78662['create']()),null!=_0x521254['id']&&Object['hasOwnProperty']['call'](_0x521254,'id')&&_0x10d485['uint32'](0xa)['string'](_0x521254['id']),null!=_0x521254['sessionType']&&Object['hasOwnProperty']['call'](_0x521254,'sessionType')&&_0x10d485['uint32'](0x10)['uint32'](_0x521254['sessionType']),_0x10d485;},_0x260340['encodeDelimited']=function(_0x517373,_0x1dd044){return this['encode'](_0x517373,_0x1dd044)['ldelim']();},_0x260340['decode']=function(_0x2bb4da,_0x5be2ff,_0xc6568f){_0x2bb4da instanceof _0x4eb936||(_0x2bb4da=_0x4eb936['create'](_0x2bb4da));for(var _0x434b39=void 0x0===_0x5be2ff?_0x2bb4da['len']:_0x2bb4da['pos']+_0x5be2ff,_0xc4f176=new _0x28a9ef['SessionsConnectMessage']();_0x2bb4da['pos']<_0x434b39;){var _0x52b002=_0x2bb4da['uint32']();if(_0x52b002===_0xc6568f)break;switch(_0x52b002>>>0x3){case 0x1:_0xc4f176['id']=_0x2bb4da['string']();break;case 0x2:_0xc4f176['sessionType']=_0x2bb4da['uint32']();break;default:_0x2bb4da['skipType'](0x7&_0x52b002);}}return _0xc4f176;},_0x260340['decodeDelimited']=function(_0xdb009c){return _0xdb009c instanceof _0x4eb936||(_0xdb009c=new _0x4eb936(_0xdb009c)),this['decode'](_0xdb009c,_0xdb009c['uint32']());},_0x260340['verify']=function(_0x402d27){return'object'!=typeof _0x402d27||null===_0x402d27?'object\x20expected':null!=_0x402d27['id']&&_0x402d27['hasOwnProperty']('id')&&!_0x4bd92b['isString'](_0x402d27['id'])?'id:\x20string\x20expected':null!=_0x402d27['sessionType']&&_0x402d27['hasOwnProperty']('sessionType')&&!_0x4bd92b['isInteger'](_0x402d27['sessionType'])?'sessionType:\x20integer\x20expected':null;},_0x260340['fromObject']=function(_0x3976a8){if(_0x3976a8 instanceof _0x28a9ef['SessionsConnectMessage'])return _0x3976a8;var _0x4aec61=new _0x28a9ef['SessionsConnectMessage']();return null!=_0x3976a8['id']&&(_0x4aec61['id']=String(_0x3976a8['id'])),null!=_0x3976a8['sessionType']&&(_0x4aec61['sessionType']=_0x3976a8['sessionType']>>>0x0),_0x4aec61;},_0x260340['toObject']=function(_0x470ecf,_0xc8cac3){_0xc8cac3||(_0xc8cac3={});var _0x32b490={};return _0xc8cac3['defaults']&&(_0x32b490['id']='',_0x32b490['sessionType']=0x0),null!=_0x470ecf['id']&&_0x470ecf['hasOwnProperty']('id')&&(_0x32b490['id']=_0x470ecf['id']),null!=_0x470ecf['sessionType']&&_0x470ecf['hasOwnProperty']('sessionType')&&(_0x32b490['sessionType']=_0x470ecf['sessionType']),_0x32b490;},_0x260340['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x260340['getTypeUrl']=function(_0x562a20){return void 0x0===_0x562a20&&(_0x562a20='type.googleapis.com'),_0x562a20+'/SessionsConnectMessage';},_0x260340;}()),_0x28a9ef['SessionsSocketDescriptor']=(function(){function _0x33a44c(_0xf4533f){if(this['permissions']=[],_0xf4533f){for(var _0xc2bb01=Object['keys'](_0xf4533f),_0x43045a=0x0;_0x43045a<_0xc2bb01['length'];++_0x43045a)null!=_0xf4533f[_0xc2bb01[_0x43045a]]&&(this[_0xc2bb01[_0x43045a]]=_0xf4533f[_0xc2bb01[_0x43045a]]);}}return _0x33a44c['prototype']['session']='',_0x33a44c['prototype']['user']='',_0x33a44c['prototype']['role']='',_0x33a44c['prototype']['permissions']=_0x4bd92b['emptyArray'],_0x33a44c['create']=function(_0x27cd0a){return new _0x33a44c(_0x27cd0a);},_0x33a44c['encode']=function(_0x243cbf,_0x47749b){if(_0x47749b||(_0x47749b=_0xd78662['create']()),null!=_0x243cbf['session']&&Object['hasOwnProperty']['call'](_0x243cbf,'session')&&_0x47749b['uint32'](0xa)['string'](_0x243cbf['session']),null!=_0x243cbf['user']&&Object['hasOwnProperty']['call'](_0x243cbf,'user')&&_0x47749b['uint32'](0x12)['string'](_0x243cbf['user']),null!=_0x243cbf['role']&&Object['hasOwnProperty']['call'](_0x243cbf,'role')&&_0x47749b['uint32'](0x1a)['string'](_0x243cbf['role']),null!=_0x243cbf['permissions']&&_0x243cbf['permissions']['length']){for(var _0xd5435f=0x0;_0xd5435f<_0x243cbf['permissions']['length'];++_0xd5435f)_0x47749b['uint32'](0x22)['string'](_0x243cbf['permissions'][_0xd5435f]);}return _0x47749b;},_0x33a44c['encodeDelimited']=function(_0x1b767b,_0x42ab8a){return this['encode'](_0x1b767b,_0x42ab8a)['ldelim']();},_0x33a44c['decode']=function(_0x120546,_0x4d8c2e,_0x1e3fde){_0x120546 instanceof _0x4eb936||(_0x120546=_0x4eb936['create'](_0x120546));for(var _0x3647db=void 0x0===_0x4d8c2e?_0x120546['len']:_0x120546['pos']+_0x4d8c2e,_0x58197f=new _0x28a9ef['SessionsSocketDescriptor']();_0x120546['pos']<_0x3647db;){var _0x2403f5=_0x120546['uint32']();if(_0x2403f5===_0x1e3fde)break;switch(_0x2403f5>>>0x3){case 0x1:_0x58197f['session']=_0x120546['string']();break;case 0x2:_0x58197f['user']=_0x120546['string']();break;case 0x3:_0x58197f['role']=_0x120546['string']();break;case 0x4:_0x58197f['permissions']&&_0x58197f['permissions']['length']||(_0x58197f['permissions']=[]),_0x58197f['permissions']['push'](_0x120546['string']());break;default:_0x120546['skipType'](0x7&_0x2403f5);}}return _0x58197f;},_0x33a44c['decodeDelimited']=function(_0x126efa){return _0x126efa instanceof _0x4eb936||(_0x126efa=new _0x4eb936(_0x126efa)),this['decode'](_0x126efa,_0x126efa['uint32']());},_0x33a44c['verify']=function(_0x8beb58){if('object'!=typeof _0x8beb58||null===_0x8beb58)return'object\x20expected';if(null!=_0x8beb58['session']&&_0x8beb58['hasOwnProperty']('session')&&!_0x4bd92b['isString'](_0x8beb58['session']))return'session:\x20string\x20expected';if(null!=_0x8beb58['user']&&_0x8beb58['hasOwnProperty']('user')&&!_0x4bd92b['isString'](_0x8beb58['user']))return'user:\x20string\x20expected';if(null!=_0x8beb58['role']&&_0x8beb58['hasOwnProperty']('role')&&!_0x4bd92b['isString'](_0x8beb58['role']))return'role:\x20string\x20expected';if(null!=_0x8beb58['permissions']&&_0x8beb58['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x8beb58['permissions']))return'permissions:\x20array\x20expected';for(var _0x19293d=0x0;_0x19293d<_0x8beb58['permissions']['length'];++_0x19293d)if(!_0x4bd92b['isString'](_0x8beb58['permissions'][_0x19293d]))return'permissions:\x20string[]\x20expected';}return null;},_0x33a44c['fromObject']=function(_0x5eee09){if(_0x5eee09 instanceof _0x28a9ef['SessionsSocketDescriptor'])return _0x5eee09;var _0x5918e7=new _0x28a9ef['SessionsSocketDescriptor']();if(null!=_0x5eee09['session']&&(_0x5918e7['session']=String(_0x5eee09['session'])),null!=_0x5eee09['user']&&(_0x5918e7['user']=String(_0x5eee09['user'])),null!=_0x5eee09['role']&&(_0x5918e7['role']=String(_0x5eee09['role'])),_0x5eee09['permissions']){if(!Array['isArray'](_0x5eee09['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x5918e7['permissions']=[];for(var _0x22c79c=0x0;_0x22c79c<_0x5eee09['permissions']['length'];++_0x22c79c)_0x5918e7['permissions'][_0x22c79c]=String(_0x5eee09['permissions'][_0x22c79c]);}return _0x5918e7;},_0x33a44c['toObject']=function(_0x3628c8,_0x450249){_0x450249||(_0x450249={});var _0x4ae00f={};if((_0x450249['arrays']||_0x450249['defaults'])&&(_0x4ae00f['permissions']=[]),_0x450249['defaults']&&(_0x4ae00f['session']='',_0x4ae00f['user']='',_0x4ae00f['role']=''),null!=_0x3628c8['session']&&_0x3628c8['hasOwnProperty']('session')&&(_0x4ae00f['session']=_0x3628c8['session']),null!=_0x3628c8['user']&&_0x3628c8['hasOwnProperty']('user')&&(_0x4ae00f['user']=_0x3628c8['user']),null!=_0x3628c8['role']&&_0x3628c8['hasOwnProperty']('role')&&(_0x4ae00f['role']=_0x3628c8['role']),_0x3628c8['permissions']&&_0x3628c8['permissions']['length']){_0x4ae00f['permissions']=[];for(var _0x4dd77c=0x0;_0x4dd77c<_0x3628c8['permissions']['length'];++_0x4dd77c)_0x4ae00f['permissions'][_0x4dd77c]=_0x3628c8['permissions'][_0x4dd77c];}return _0x4ae00f;},_0x33a44c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x33a44c['getTypeUrl']=function(_0x181fb6){return void 0x0===_0x181fb6&&(_0x181fb6='type.googleapis.com'),_0x181fb6+'/SessionsSocketDescriptor';},_0x33a44c;}()),_0x28a9ef['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0x4f0bc3(_0x2bc9c8){if(_0x2bc9c8){for(var _0x59e9db=Object['keys'](_0x2bc9c8),_0x521edf=0x0;_0x521edf<_0x59e9db['length'];++_0x521edf)null!=_0x2bc9c8[_0x59e9db[_0x521edf]]&&(this[_0x59e9db[_0x521edf]]=_0x2bc9c8[_0x59e9db[_0x521edf]]);}}return _0x4f0bc3['prototype']['requestId']=0x0,_0x4f0bc3['create']=function(_0x50b28a){return new _0x4f0bc3(_0x50b28a);},_0x4f0bc3['encode']=function(_0x25f999,_0xca934b){return _0xca934b||(_0xca934b=_0xd78662['create']()),null!=_0x25f999['requestId']&&Object['hasOwnProperty']['call'](_0x25f999,'requestId')&&_0xca934b['uint32'](0x8)['uint32'](_0x25f999['requestId']),_0xca934b;},_0x4f0bc3['encodeDelimited']=function(_0x329ca4,_0x383b5a){return this['encode'](_0x329ca4,_0x383b5a)['ldelim']();},_0x4f0bc3['decode']=function(_0x1a6e44,_0x4a1268,_0x292791){_0x1a6e44 instanceof _0x4eb936||(_0x1a6e44=_0x4eb936['create'](_0x1a6e44));for(var _0x3c9ae7=void 0x0===_0x4a1268?_0x1a6e44['len']:_0x1a6e44['pos']+_0x4a1268,_0x3ced6e=new _0x28a9ef['RevisionHistoryUpdateRevisionsResponse']();_0x1a6e44['pos']<_0x3c9ae7;){var _0x3df4ac=_0x1a6e44['uint32']();if(_0x3df4ac===_0x292791)break;_0x3df4ac>>>0x3==0x1?_0x3ced6e['requestId']=_0x1a6e44['uint32']():_0x1a6e44['skipType'](0x7&_0x3df4ac);}return _0x3ced6e;},_0x4f0bc3['decodeDelimited']=function(_0x234631){return _0x234631 instanceof _0x4eb936||(_0x234631=new _0x4eb936(_0x234631)),this['decode'](_0x234631,_0x234631['uint32']());},_0x4f0bc3['verify']=function(_0x589db9){return'object'!=typeof _0x589db9||null===_0x589db9?'object\x20expected':null!=_0x589db9['requestId']&&_0x589db9['hasOwnProperty']('requestId')&&!_0x4bd92b['isInteger'](_0x589db9['requestId'])?'requestId:\x20integer\x20expected':null;},_0x4f0bc3['fromObject']=function(_0xca0946){if(_0xca0946 instanceof _0x28a9ef['RevisionHistoryUpdateRevisionsResponse'])return _0xca0946;var _0x32262b=new _0x28a9ef['RevisionHistoryUpdateRevisionsResponse']();return null!=_0xca0946['requestId']&&(_0x32262b['requestId']=_0xca0946['requestId']>>>0x0),_0x32262b;},_0x4f0bc3['toObject']=function(_0x1db13f,_0x12f5d8){_0x12f5d8||(_0x12f5d8={});var _0x4bed4f={};return _0x12f5d8['defaults']&&(_0x4bed4f['requestId']=0x0),null!=_0x1db13f['requestId']&&_0x1db13f['hasOwnProperty']('requestId')&&(_0x4bed4f['requestId']=_0x1db13f['requestId']),_0x4bed4f;},_0x4f0bc3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4f0bc3['getTypeUrl']=function(_0x3575e0){return void 0x0===_0x3575e0&&(_0x3575e0='type.googleapis.com'),_0x3575e0+'/RevisionHistoryUpdateRevisionsResponse';},_0x4f0bc3;}()),_0x28a9ef['RevisionHistoryGetRevisionResponse']=(function(){function _0x568481(_0x2abe21){if(_0x2abe21){for(var _0x3123d3=Object['keys'](_0x2abe21),_0x30ff92=0x0;_0x30ff92<_0x3123d3['length'];++_0x30ff92)null!=_0x2abe21[_0x3123d3[_0x30ff92]]&&(this[_0x3123d3[_0x30ff92]]=_0x2abe21[_0x3123d3[_0x30ff92]]);}}return _0x568481['prototype']['revisionId']='',_0x568481['prototype']['name']='',_0x568481['prototype']['creatorId']='',_0x568481['prototype']['authorsIds']='',_0x568481['prototype']['diffData']='',_0x568481['prototype']['createdAt']='',_0x568481['prototype']['attributes']='',_0x568481['prototype']['toVersion']=0x0,_0x568481['prototype']['fromVersion']=0x0,_0x568481['prototype']['isEmptyCurrent']=!0x1,_0x568481['create']=function(_0x5efda2){return new _0x568481(_0x5efda2);},_0x568481['encode']=function(_0x100f07,_0x1cf9d0){return _0x1cf9d0||(_0x1cf9d0=_0xd78662['create']()),null!=_0x100f07['revisionId']&&Object['hasOwnProperty']['call'](_0x100f07,'revisionId')&&_0x1cf9d0['uint32'](0xa)['string'](_0x100f07['revisionId']),null!=_0x100f07['name']&&Object['hasOwnProperty']['call'](_0x100f07,'name')&&_0x1cf9d0['uint32'](0x12)['string'](_0x100f07['name']),null!=_0x100f07['creatorId']&&Object['hasOwnProperty']['call'](_0x100f07,'creatorId')&&_0x1cf9d0['uint32'](0x1a)['string'](_0x100f07['creatorId']),null!=_0x100f07['authorsIds']&&Object['hasOwnProperty']['call'](_0x100f07,'authorsIds')&&_0x1cf9d0['uint32'](0x22)['string'](_0x100f07['authorsIds']),null!=_0x100f07['diffData']&&Object['hasOwnProperty']['call'](_0x100f07,'diffData')&&_0x1cf9d0['uint32'](0x2a)['string'](_0x100f07['diffData']),null!=_0x100f07['createdAt']&&Object['hasOwnProperty']['call'](_0x100f07,'createdAt')&&_0x1cf9d0['uint32'](0x32)['string'](_0x100f07['createdAt']),null!=_0x100f07['attributes']&&Object['hasOwnProperty']['call'](_0x100f07,'attributes')&&_0x1cf9d0['uint32'](0x3a)['string'](_0x100f07['attributes']),null!=_0x100f07['toVersion']&&Object['hasOwnProperty']['call'](_0x100f07,'toVersion')&&_0x1cf9d0['uint32'](0x40)['uint32'](_0x100f07['toVersion']),null!=_0x100f07['fromVersion']&&Object['hasOwnProperty']['call'](_0x100f07,'fromVersion')&&_0x1cf9d0['uint32'](0x48)['uint32'](_0x100f07['fromVersion']),null!=_0x100f07['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x100f07,'isEmptyCurrent')&&_0x1cf9d0['uint32'](0x50)['bool'](_0x100f07['isEmptyCurrent']),_0x1cf9d0;},_0x568481['encodeDelimited']=function(_0x32607a,_0x2ed22d){return this['encode'](_0x32607a,_0x2ed22d)['ldelim']();},_0x568481['decode']=function(_0x1330f3,_0x28fd1b,_0x4db0e2){_0x1330f3 instanceof _0x4eb936||(_0x1330f3=_0x4eb936['create'](_0x1330f3));for(var _0x1b27bb=void 0x0===_0x28fd1b?_0x1330f3['len']:_0x1330f3['pos']+_0x28fd1b,_0x16edd0=new _0x28a9ef['RevisionHistoryGetRevisionResponse']();_0x1330f3['pos']<_0x1b27bb;){var _0x2cbbfb=_0x1330f3['uint32']();if(_0x2cbbfb===_0x4db0e2)break;switch(_0x2cbbfb>>>0x3){case 0x1:_0x16edd0['revisionId']=_0x1330f3['string']();break;case 0x2:_0x16edd0['name']=_0x1330f3['string']();break;case 0x3:_0x16edd0['creatorId']=_0x1330f3['string']();break;case 0x4:_0x16edd0['authorsIds']=_0x1330f3['string']();break;case 0x5:_0x16edd0['diffData']=_0x1330f3['string']();break;case 0x6:_0x16edd0['createdAt']=_0x1330f3['string']();break;case 0x7:_0x16edd0['attributes']=_0x1330f3['string']();break;case 0x8:_0x16edd0['toVersion']=_0x1330f3['uint32']();break;case 0x9:_0x16edd0['fromVersion']=_0x1330f3['uint32']();break;case 0xa:_0x16edd0['isEmptyCurrent']=_0x1330f3['bool']();break;default:_0x1330f3['skipType'](0x7&_0x2cbbfb);}}return _0x16edd0;},_0x568481['decodeDelimited']=function(_0x4a443b){return _0x4a443b instanceof _0x4eb936||(_0x4a443b=new _0x4eb936(_0x4a443b)),this['decode'](_0x4a443b,_0x4a443b['uint32']());},_0x568481['verify']=function(_0x433d1a){return'object'!=typeof _0x433d1a||null===_0x433d1a?'object\x20expected':null!=_0x433d1a['revisionId']&&_0x433d1a['hasOwnProperty']('revisionId')&&!_0x4bd92b['isString'](_0x433d1a['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x433d1a['name']&&_0x433d1a['hasOwnProperty']('name')&&!_0x4bd92b['isString'](_0x433d1a['name'])?'name:\x20string\x20expected':null!=_0x433d1a['creatorId']&&_0x433d1a['hasOwnProperty']('creatorId')&&!_0x4bd92b['isString'](_0x433d1a['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x433d1a['authorsIds']&&_0x433d1a['hasOwnProperty']('authorsIds')&&!_0x4bd92b['isString'](_0x433d1a['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x433d1a['diffData']&&_0x433d1a['hasOwnProperty']('diffData')&&!_0x4bd92b['isString'](_0x433d1a['diffData'])?'diffData:\x20string\x20expected':null!=_0x433d1a['createdAt']&&_0x433d1a['hasOwnProperty']('createdAt')&&!_0x4bd92b['isString'](_0x433d1a['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x433d1a['attributes']&&_0x433d1a['hasOwnProperty']('attributes')&&!_0x4bd92b['isString'](_0x433d1a['attributes'])?'attributes:\x20string\x20expected':null!=_0x433d1a['toVersion']&&_0x433d1a['hasOwnProperty']('toVersion')&&!_0x4bd92b['isInteger'](_0x433d1a['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x433d1a['fromVersion']&&_0x433d1a['hasOwnProperty']('fromVersion')&&!_0x4bd92b['isInteger'](_0x433d1a['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x433d1a['isEmptyCurrent']&&_0x433d1a['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x433d1a['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x568481['fromObject']=function(_0x38b236){if(_0x38b236 instanceof _0x28a9ef['RevisionHistoryGetRevisionResponse'])return _0x38b236;var _0x597831=new _0x28a9ef['RevisionHistoryGetRevisionResponse']();return null!=_0x38b236['revisionId']&&(_0x597831['revisionId']=String(_0x38b236['revisionId'])),null!=_0x38b236['name']&&(_0x597831['name']=String(_0x38b236['name'])),null!=_0x38b236['creatorId']&&(_0x597831['creatorId']=String(_0x38b236['creatorId'])),null!=_0x38b236['authorsIds']&&(_0x597831['authorsIds']=String(_0x38b236['authorsIds'])),null!=_0x38b236['diffData']&&(_0x597831['diffData']=String(_0x38b236['diffData'])),null!=_0x38b236['createdAt']&&(_0x597831['createdAt']=String(_0x38b236['createdAt'])),null!=_0x38b236['attributes']&&(_0x597831['attributes']=String(_0x38b236['attributes'])),null!=_0x38b236['toVersion']&&(_0x597831['toVersion']=_0x38b236['toVersion']>>>0x0),null!=_0x38b236['fromVersion']&&(_0x597831['fromVersion']=_0x38b236['fromVersion']>>>0x0),null!=_0x38b236['isEmptyCurrent']&&(_0x597831['isEmptyCurrent']=Boolean(_0x38b236['isEmptyCurrent'])),_0x597831;},_0x568481['toObject']=function(_0x5c782f,_0x4fcbad){_0x4fcbad||(_0x4fcbad={});var _0x2dd6fd={};return _0x4fcbad['defaults']&&(_0x2dd6fd['revisionId']='',_0x2dd6fd['name']='',_0x2dd6fd['creatorId']='',_0x2dd6fd['authorsIds']='',_0x2dd6fd['diffData']='',_0x2dd6fd['createdAt']='',_0x2dd6fd['attributes']='',_0x2dd6fd['toVersion']=0x0,_0x2dd6fd['fromVersion']=0x0,_0x2dd6fd['isEmptyCurrent']=!0x1),null!=_0x5c782f['revisionId']&&_0x5c782f['hasOwnProperty']('revisionId')&&(_0x2dd6fd['revisionId']=_0x5c782f['revisionId']),null!=_0x5c782f['name']&&_0x5c782f['hasOwnProperty']('name')&&(_0x2dd6fd['name']=_0x5c782f['name']),null!=_0x5c782f['creatorId']&&_0x5c782f['hasOwnProperty']('creatorId')&&(_0x2dd6fd['creatorId']=_0x5c782f['creatorId']),null!=_0x5c782f['authorsIds']&&_0x5c782f['hasOwnProperty']('authorsIds')&&(_0x2dd6fd['authorsIds']=_0x5c782f['authorsIds']),null!=_0x5c782f['diffData']&&_0x5c782f['hasOwnProperty']('diffData')&&(_0x2dd6fd['diffData']=_0x5c782f['diffData']),null!=_0x5c782f['createdAt']&&_0x5c782f['hasOwnProperty']('createdAt')&&(_0x2dd6fd['createdAt']=_0x5c782f['createdAt']),null!=_0x5c782f['attributes']&&_0x5c782f['hasOwnProperty']('attributes')&&(_0x2dd6fd['attributes']=_0x5c782f['attributes']),null!=_0x5c782f['toVersion']&&_0x5c782f['hasOwnProperty']('toVersion')&&(_0x2dd6fd['toVersion']=_0x5c782f['toVersion']),null!=_0x5c782f['fromVersion']&&_0x5c782f['hasOwnProperty']('fromVersion')&&(_0x2dd6fd['fromVersion']=_0x5c782f['fromVersion']),null!=_0x5c782f['isEmptyCurrent']&&_0x5c782f['hasOwnProperty']('isEmptyCurrent')&&(_0x2dd6fd['isEmptyCurrent']=_0x5c782f['isEmptyCurrent']),_0x2dd6fd;},_0x568481['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x568481['getTypeUrl']=function(_0x532260){return void 0x0===_0x532260&&(_0x532260='type.googleapis.com'),_0x532260+'/RevisionHistoryGetRevisionResponse';},_0x568481;}()),_0x28a9ef['RevisionHistoryConnectResponse']=(function(){function _0x1ace5f(_0x155030){if(this['revisions']=[],_0x155030){for(var _0x33ee1a=Object['keys'](_0x155030),_0x7592b1=0x0;_0x7592b1<_0x33ee1a['length'];++_0x7592b1)null!=_0x155030[_0x33ee1a[_0x7592b1]]&&(this[_0x33ee1a[_0x7592b1]]=_0x155030[_0x33ee1a[_0x7592b1]]);}}return _0x1ace5f['prototype']['channel']='',_0x1ace5f['prototype']['requestId']=0x0,_0x1ace5f['prototype']['revisions']=_0x4bd92b['emptyArray'],_0x1ace5f['create']=function(_0x3d5a9f){return new _0x1ace5f(_0x3d5a9f);},_0x1ace5f['encode']=function(_0x1dc61b,_0x2bb2aa){if(_0x2bb2aa||(_0x2bb2aa=_0xd78662['create']()),null!=_0x1dc61b['channel']&&Object['hasOwnProperty']['call'](_0x1dc61b,'channel')&&_0x2bb2aa['uint32'](0xa)['string'](_0x1dc61b['channel']),null!=_0x1dc61b['requestId']&&Object['hasOwnProperty']['call'](_0x1dc61b,'requestId')&&_0x2bb2aa['uint32'](0x10)['uint32'](_0x1dc61b['requestId']),null!=_0x1dc61b['revisions']&&_0x1dc61b['revisions']['length']){for(var _0x597325=0x0;_0x597325<_0x1dc61b['revisions']['length'];++_0x597325)_0x28a9ef['RevisionDescriptor']['encode'](_0x1dc61b['revisions'][_0x597325],_0x2bb2aa['uint32'](0x1a)['fork']())['ldelim']();}return _0x2bb2aa;},_0x1ace5f['encodeDelimited']=function(_0x125be9,_0x39e416){return this['encode'](_0x125be9,_0x39e416)['ldelim']();},_0x1ace5f['decode']=function(_0x2c5387,_0x3297a3,_0x3fe692){_0x2c5387 instanceof _0x4eb936||(_0x2c5387=_0x4eb936['create'](_0x2c5387));for(var _0x152776=void 0x0===_0x3297a3?_0x2c5387['len']:_0x2c5387['pos']+_0x3297a3,_0x23b574=new _0x28a9ef['RevisionHistoryConnectResponse']();_0x2c5387['pos']<_0x152776;){var _0x1bc751=_0x2c5387['uint32']();if(_0x1bc751===_0x3fe692)break;switch(_0x1bc751>>>0x3){case 0x1:_0x23b574['channel']=_0x2c5387['string']();break;case 0x2:_0x23b574['requestId']=_0x2c5387['uint32']();break;case 0x3:_0x23b574['revisions']&&_0x23b574['revisions']['length']||(_0x23b574['revisions']=[]),_0x23b574['revisions']['push'](_0x28a9ef['RevisionDescriptor']['decode'](_0x2c5387,_0x2c5387['uint32']()));break;default:_0x2c5387['skipType'](0x7&_0x1bc751);}}return _0x23b574;},_0x1ace5f['decodeDelimited']=function(_0x154b94){return _0x154b94 instanceof _0x4eb936||(_0x154b94=new _0x4eb936(_0x154b94)),this['decode'](_0x154b94,_0x154b94['uint32']());},_0x1ace5f['verify']=function(_0x108310){if('object'!=typeof _0x108310||null===_0x108310)return'object\x20expected';if(null!=_0x108310['channel']&&_0x108310['hasOwnProperty']('channel')&&!_0x4bd92b['isString'](_0x108310['channel']))return'channel:\x20string\x20expected';if(null!=_0x108310['requestId']&&_0x108310['hasOwnProperty']('requestId')&&!_0x4bd92b['isInteger'](_0x108310['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x108310['revisions']&&_0x108310['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x108310['revisions']))return'revisions:\x20array\x20expected';for(var _0x4a5093=0x0;_0x4a5093<_0x108310['revisions']['length'];++_0x4a5093){var _0x31fff6=_0x28a9ef['RevisionDescriptor']['verify'](_0x108310['revisions'][_0x4a5093]);if(_0x31fff6)return'revisions.'+_0x31fff6;}}return null;},_0x1ace5f['fromObject']=function(_0x29b05c){if(_0x29b05c instanceof _0x28a9ef['RevisionHistoryConnectResponse'])return _0x29b05c;var _0x3295e3=new _0x28a9ef['RevisionHistoryConnectResponse']();if(null!=_0x29b05c['channel']&&(_0x3295e3['channel']=String(_0x29b05c['channel'])),null!=_0x29b05c['requestId']&&(_0x3295e3['requestId']=_0x29b05c['requestId']>>>0x0),_0x29b05c['revisions']){if(!Array['isArray'](_0x29b05c['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x3295e3['revisions']=[];for(var _0x144256=0x0;_0x144256<_0x29b05c['revisions']['length'];++_0x144256){if('object'!=typeof _0x29b05c['revisions'][_0x144256])throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x3295e3['revisions'][_0x144256]=_0x28a9ef['RevisionDescriptor']['fromObject'](_0x29b05c['revisions'][_0x144256]);}}return _0x3295e3;},_0x1ace5f['toObject']=function(_0x1a7571,_0x7f4ef){_0x7f4ef||(_0x7f4ef={});var _0x23939f={};if((_0x7f4ef['arrays']||_0x7f4ef['defaults'])&&(_0x23939f['revisions']=[]),_0x7f4ef['defaults']&&(_0x23939f['channel']='',_0x23939f['requestId']=0x0),null!=_0x1a7571['channel']&&_0x1a7571['hasOwnProperty']('channel')&&(_0x23939f['channel']=_0x1a7571['channel']),null!=_0x1a7571['requestId']&&_0x1a7571['hasOwnProperty']('requestId')&&(_0x23939f['requestId']=_0x1a7571['requestId']),_0x1a7571['revisions']&&_0x1a7571['revisions']['length']){_0x23939f['revisions']=[];for(var _0x3f40ae=0x0;_0x3f40ae<_0x1a7571['revisions']['length'];++_0x3f40ae)_0x23939f['revisions'][_0x3f40ae]=_0x28a9ef['RevisionDescriptor']['toObject'](_0x1a7571['revisions'][_0x3f40ae],_0x7f4ef);}return _0x23939f;},_0x1ace5f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1ace5f['getTypeUrl']=function(_0x471125){return void 0x0===_0x471125&&(_0x471125='type.googleapis.com'),_0x471125+'/RevisionHistoryConnectResponse';},_0x1ace5f;}()),_0x28a9ef['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x4aa2b3(_0x2a4170){if(this['revisions']=[],_0x2a4170){for(var _0x2d0510=Object['keys'](_0x2a4170),_0x1ea75b=0x0;_0x1ea75b<_0x2d0510['length'];++_0x1ea75b)null!=_0x2a4170[_0x2d0510[_0x1ea75b]]&&(this[_0x2d0510[_0x1ea75b]]=_0x2a4170[_0x2d0510[_0x1ea75b]]);}}return _0x4aa2b3['prototype']['documentId']='',_0x4aa2b3['prototype']['requestId']=0x0,_0x4aa2b3['prototype']['revisions']=_0x4bd92b['emptyArray'],_0x4aa2b3['create']=function(_0x1796a4){return new _0x4aa2b3(_0x1796a4);},_0x4aa2b3['encode']=function(_0x4d0b71,_0x54e5cd){if(_0x54e5cd||(_0x54e5cd=_0xd78662['create']()),null!=_0x4d0b71['documentId']&&Object['hasOwnProperty']['call'](_0x4d0b71,'documentId')&&_0x54e5cd['uint32'](0xa)['string'](_0x4d0b71['documentId']),null!=_0x4d0b71['requestId']&&Object['hasOwnProperty']['call'](_0x4d0b71,'requestId')&&_0x54e5cd['uint32'](0x10)['uint32'](_0x4d0b71['requestId']),null!=_0x4d0b71['revisions']&&_0x4d0b71['revisions']['length']){for(var _0x412da6=0x0;_0x412da6<_0x4d0b71['revisions']['length'];++_0x412da6)_0x28a9ef['RevisionDescriptor']['encode'](_0x4d0b71['revisions'][_0x412da6],_0x54e5cd['uint32'](0x1a)['fork']())['ldelim']();}return _0x54e5cd;},_0x4aa2b3['encodeDelimited']=function(_0x339497,_0x303609){return this['encode'](_0x339497,_0x303609)['ldelim']();},_0x4aa2b3['decode']=function(_0x1a54a3,_0x374f01,_0x5977ef){_0x1a54a3 instanceof _0x4eb936||(_0x1a54a3=_0x4eb936['create'](_0x1a54a3));for(var _0x26a7df=void 0x0===_0x374f01?_0x1a54a3['len']:_0x1a54a3['pos']+_0x374f01,_0x53421f=new _0x28a9ef['RevisionHistoryUpdateRevisionsMessage']();_0x1a54a3['pos']<_0x26a7df;){var _0x184584=_0x1a54a3['uint32']();if(_0x184584===_0x5977ef)break;switch(_0x184584>>>0x3){case 0x1:_0x53421f['documentId']=_0x1a54a3['string']();break;case 0x2:_0x53421f['requestId']=_0x1a54a3['uint32']();break;case 0x3:_0x53421f['revisions']&&_0x53421f['revisions']['length']||(_0x53421f['revisions']=[]),_0x53421f['revisions']['push'](_0x28a9ef['RevisionDescriptor']['decode'](_0x1a54a3,_0x1a54a3['uint32']()));break;default:_0x1a54a3['skipType'](0x7&_0x184584);}}return _0x53421f;},_0x4aa2b3['decodeDelimited']=function(_0x5d81e7){return _0x5d81e7 instanceof _0x4eb936||(_0x5d81e7=new _0x4eb936(_0x5d81e7)),this['decode'](_0x5d81e7,_0x5d81e7['uint32']());},_0x4aa2b3['verify']=function(_0x2cf915){if('object'!=typeof _0x2cf915||null===_0x2cf915)return'object\x20expected';if(null!=_0x2cf915['documentId']&&_0x2cf915['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x2cf915['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x2cf915['requestId']&&_0x2cf915['hasOwnProperty']('requestId')&&!_0x4bd92b['isInteger'](_0x2cf915['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x2cf915['revisions']&&_0x2cf915['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x2cf915['revisions']))return'revisions:\x20array\x20expected';for(var _0x2c83e7=0x0;_0x2c83e7<_0x2cf915['revisions']['length'];++_0x2c83e7){var _0x5233fe=_0x28a9ef['RevisionDescriptor']['verify'](_0x2cf915['revisions'][_0x2c83e7]);if(_0x5233fe)return'revisions.'+_0x5233fe;}}return null;},_0x4aa2b3['fromObject']=function(_0x377096){if(_0x377096 instanceof _0x28a9ef['RevisionHistoryUpdateRevisionsMessage'])return _0x377096;var _0x385dce=new _0x28a9ef['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x377096['documentId']&&(_0x385dce['documentId']=String(_0x377096['documentId'])),null!=_0x377096['requestId']&&(_0x385dce['requestId']=_0x377096['requestId']>>>0x0),_0x377096['revisions']){if(!Array['isArray'](_0x377096['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x385dce['revisions']=[];for(var _0x44f237=0x0;_0x44f237<_0x377096['revisions']['length'];++_0x44f237){if('object'!=typeof _0x377096['revisions'][_0x44f237])throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x385dce['revisions'][_0x44f237]=_0x28a9ef['RevisionDescriptor']['fromObject'](_0x377096['revisions'][_0x44f237]);}}return _0x385dce;},_0x4aa2b3['toObject']=function(_0x3398ff,_0x1bb1ec){_0x1bb1ec||(_0x1bb1ec={});var _0x5710b1={};if((_0x1bb1ec['arrays']||_0x1bb1ec['defaults'])&&(_0x5710b1['revisions']=[]),_0x1bb1ec['defaults']&&(_0x5710b1['documentId']='',_0x5710b1['requestId']=0x0),null!=_0x3398ff['documentId']&&_0x3398ff['hasOwnProperty']('documentId')&&(_0x5710b1['documentId']=_0x3398ff['documentId']),null!=_0x3398ff['requestId']&&_0x3398ff['hasOwnProperty']('requestId')&&(_0x5710b1['requestId']=_0x3398ff['requestId']),_0x3398ff['revisions']&&_0x3398ff['revisions']['length']){_0x5710b1['revisions']=[];for(var _0x5b2790=0x0;_0x5b2790<_0x3398ff['revisions']['length'];++_0x5b2790)_0x5710b1['revisions'][_0x5b2790]=_0x28a9ef['RevisionDescriptor']['toObject'](_0x3398ff['revisions'][_0x5b2790],_0x1bb1ec);}return _0x5710b1;},_0x4aa2b3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4aa2b3['getTypeUrl']=function(_0x56ee5b){return void 0x0===_0x56ee5b&&(_0x56ee5b='type.googleapis.com'),_0x56ee5b+'/RevisionHistoryUpdateRevisionsMessage';},_0x4aa2b3;}()),_0x28a9ef['RevisionHistoryReconnectMessage']=(function(){function _0x56557f(_0x40da60){if(_0x40da60){for(var _0x111acc=Object['keys'](_0x40da60),_0x9a5b4c=0x0;_0x9a5b4c<_0x111acc['length'];++_0x9a5b4c)null!=_0x40da60[_0x111acc[_0x9a5b4c]]&&(this[_0x111acc[_0x9a5b4c]]=_0x40da60[_0x111acc[_0x9a5b4c]]);}}return _0x56557f['prototype']['documentId']='',_0x56557f['prototype']['requestId']=0x0,_0x56557f['create']=function(_0x5849e6){return new _0x56557f(_0x5849e6);},_0x56557f['encode']=function(_0x1a5589,_0x5c2c6a){return _0x5c2c6a||(_0x5c2c6a=_0xd78662['create']()),null!=_0x1a5589['documentId']&&Object['hasOwnProperty']['call'](_0x1a5589,'documentId')&&_0x5c2c6a['uint32'](0xa)['string'](_0x1a5589['documentId']),null!=_0x1a5589['requestId']&&Object['hasOwnProperty']['call'](_0x1a5589,'requestId')&&_0x5c2c6a['uint32'](0x10)['uint32'](_0x1a5589['requestId']),_0x5c2c6a;},_0x56557f['encodeDelimited']=function(_0x1d677d,_0x4fa39c){return this['encode'](_0x1d677d,_0x4fa39c)['ldelim']();},_0x56557f['decode']=function(_0x327215,_0x3fa416,_0x5d5913){_0x327215 instanceof _0x4eb936||(_0x327215=_0x4eb936['create'](_0x327215));for(var _0x150b2b=void 0x0===_0x3fa416?_0x327215['len']:_0x327215['pos']+_0x3fa416,_0x1069af=new _0x28a9ef['RevisionHistoryReconnectMessage']();_0x327215['pos']<_0x150b2b;){var _0x5792f6=_0x327215['uint32']();if(_0x5792f6===_0x5d5913)break;switch(_0x5792f6>>>0x3){case 0x1:_0x1069af['documentId']=_0x327215['string']();break;case 0x2:_0x1069af['requestId']=_0x327215['uint32']();break;default:_0x327215['skipType'](0x7&_0x5792f6);}}return _0x1069af;},_0x56557f['decodeDelimited']=function(_0x26840a){return _0x26840a instanceof _0x4eb936||(_0x26840a=new _0x4eb936(_0x26840a)),this['decode'](_0x26840a,_0x26840a['uint32']());},_0x56557f['verify']=function(_0x4a401e){return'object'!=typeof _0x4a401e||null===_0x4a401e?'object\x20expected':null!=_0x4a401e['documentId']&&_0x4a401e['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x4a401e['documentId'])?'documentId:\x20string\x20expected':null!=_0x4a401e['requestId']&&_0x4a401e['hasOwnProperty']('requestId')&&!_0x4bd92b['isInteger'](_0x4a401e['requestId'])?'requestId:\x20integer\x20expected':null;},_0x56557f['fromObject']=function(_0x7d0862){if(_0x7d0862 instanceof _0x28a9ef['RevisionHistoryReconnectMessage'])return _0x7d0862;var _0x4a5c13=new _0x28a9ef['RevisionHistoryReconnectMessage']();return null!=_0x7d0862['documentId']&&(_0x4a5c13['documentId']=String(_0x7d0862['documentId'])),null!=_0x7d0862['requestId']&&(_0x4a5c13['requestId']=_0x7d0862['requestId']>>>0x0),_0x4a5c13;},_0x56557f['toObject']=function(_0x18775c,_0x3f6048){_0x3f6048||(_0x3f6048={});var _0x30475a={};return _0x3f6048['defaults']&&(_0x30475a['documentId']='',_0x30475a['requestId']=0x0),null!=_0x18775c['documentId']&&_0x18775c['hasOwnProperty']('documentId')&&(_0x30475a['documentId']=_0x18775c['documentId']),null!=_0x18775c['requestId']&&_0x18775c['hasOwnProperty']('requestId')&&(_0x30475a['requestId']=_0x18775c['requestId']),_0x30475a;},_0x56557f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x56557f['getTypeUrl']=function(_0x586c71){return void 0x0===_0x586c71&&(_0x586c71='type.googleapis.com'),_0x586c71+'/RevisionHistoryReconnectMessage';},_0x56557f;}()),_0x28a9ef['RevisionHistoryGetRevisionMessage']=(function(){function _0x559de9(_0x225ba1){if(_0x225ba1){for(var _0x519bac=Object['keys'](_0x225ba1),_0x4a25d7=0x0;_0x4a25d7<_0x519bac['length'];++_0x4a25d7)null!=_0x225ba1[_0x519bac[_0x4a25d7]]&&(this[_0x519bac[_0x4a25d7]]=_0x225ba1[_0x519bac[_0x4a25d7]]);}}return _0x559de9['prototype']['documentId']='',_0x559de9['prototype']['revisionId']='',_0x559de9['create']=function(_0x430eeb){return new _0x559de9(_0x430eeb);},_0x559de9['encode']=function(_0x3e5a1d,_0xd9223f){return _0xd9223f||(_0xd9223f=_0xd78662['create']()),null!=_0x3e5a1d['documentId']&&Object['hasOwnProperty']['call'](_0x3e5a1d,'documentId')&&_0xd9223f['uint32'](0xa)['string'](_0x3e5a1d['documentId']),null!=_0x3e5a1d['revisionId']&&Object['hasOwnProperty']['call'](_0x3e5a1d,'revisionId')&&_0xd9223f['uint32'](0x12)['string'](_0x3e5a1d['revisionId']),_0xd9223f;},_0x559de9['encodeDelimited']=function(_0x42096,_0x438773){return this['encode'](_0x42096,_0x438773)['ldelim']();},_0x559de9['decode']=function(_0x4c9a33,_0x419516,_0x41190c){_0x4c9a33 instanceof _0x4eb936||(_0x4c9a33=_0x4eb936['create'](_0x4c9a33));for(var _0x10d5a6=void 0x0===_0x419516?_0x4c9a33['len']:_0x4c9a33['pos']+_0x419516,_0x35a569=new _0x28a9ef['RevisionHistoryGetRevisionMessage']();_0x4c9a33['pos']<_0x10d5a6;){var _0x1ed7ed=_0x4c9a33['uint32']();if(_0x1ed7ed===_0x41190c)break;switch(_0x1ed7ed>>>0x3){case 0x1:_0x35a569['documentId']=_0x4c9a33['string']();break;case 0x2:_0x35a569['revisionId']=_0x4c9a33['string']();break;default:_0x4c9a33['skipType'](0x7&_0x1ed7ed);}}return _0x35a569;},_0x559de9['decodeDelimited']=function(_0x32630b){return _0x32630b instanceof _0x4eb936||(_0x32630b=new _0x4eb936(_0x32630b)),this['decode'](_0x32630b,_0x32630b['uint32']());},_0x559de9['verify']=function(_0x5bcc77){return'object'!=typeof _0x5bcc77||null===_0x5bcc77?'object\x20expected':null!=_0x5bcc77['documentId']&&_0x5bcc77['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x5bcc77['documentId'])?'documentId:\x20string\x20expected':null!=_0x5bcc77['revisionId']&&_0x5bcc77['hasOwnProperty']('revisionId')&&!_0x4bd92b['isString'](_0x5bcc77['revisionId'])?'revisionId:\x20string\x20expected':null;},_0x559de9['fromObject']=function(_0x12ca78){if(_0x12ca78 instanceof _0x28a9ef['RevisionHistoryGetRevisionMessage'])return _0x12ca78;var _0x31aa1d=new _0x28a9ef['RevisionHistoryGetRevisionMessage']();return null!=_0x12ca78['documentId']&&(_0x31aa1d['documentId']=String(_0x12ca78['documentId'])),null!=_0x12ca78['revisionId']&&(_0x31aa1d['revisionId']=String(_0x12ca78['revisionId'])),_0x31aa1d;},_0x559de9['toObject']=function(_0x2c7f89,_0x36fca0){_0x36fca0||(_0x36fca0={});var _0x31da3e={};return _0x36fca0['defaults']&&(_0x31da3e['documentId']='',_0x31da3e['revisionId']=''),null!=_0x2c7f89['documentId']&&_0x2c7f89['hasOwnProperty']('documentId')&&(_0x31da3e['documentId']=_0x2c7f89['documentId']),null!=_0x2c7f89['revisionId']&&_0x2c7f89['hasOwnProperty']('revisionId')&&(_0x31da3e['revisionId']=_0x2c7f89['revisionId']),_0x31da3e;},_0x559de9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x559de9['getTypeUrl']=function(_0x3e3ef8){return void 0x0===_0x3e3ef8&&(_0x3e3ef8='type.googleapis.com'),_0x3e3ef8+'/RevisionHistoryGetRevisionMessage';},_0x559de9;}()),_0x28a9ef['RevisionHistoryConnectMessage']=(function(){function _0x1c416f(_0x38e544){if(_0x38e544){for(var _0x5de41b=Object['keys'](_0x38e544),_0x46ba19=0x0;_0x46ba19<_0x5de41b['length'];++_0x46ba19)null!=_0x38e544[_0x5de41b[_0x46ba19]]&&(this[_0x5de41b[_0x46ba19]]=_0x38e544[_0x5de41b[_0x46ba19]]);}}return _0x1c416f['prototype']['documentId']='',_0x1c416f['create']=function(_0x58b215){return new _0x1c416f(_0x58b215);},_0x1c416f['encode']=function(_0x457fc0,_0x5b4d75){return _0x5b4d75||(_0x5b4d75=_0xd78662['create']()),null!=_0x457fc0['documentId']&&Object['hasOwnProperty']['call'](_0x457fc0,'documentId')&&_0x5b4d75['uint32'](0xa)['string'](_0x457fc0['documentId']),_0x5b4d75;},_0x1c416f['encodeDelimited']=function(_0x106375,_0x2ff8ff){return this['encode'](_0x106375,_0x2ff8ff)['ldelim']();},_0x1c416f['decode']=function(_0x7c63cb,_0x4757a0,_0x453852){_0x7c63cb instanceof _0x4eb936||(_0x7c63cb=_0x4eb936['create'](_0x7c63cb));for(var _0x1c5074=void 0x0===_0x4757a0?_0x7c63cb['len']:_0x7c63cb['pos']+_0x4757a0,_0x42e176=new _0x28a9ef['RevisionHistoryConnectMessage']();_0x7c63cb['pos']<_0x1c5074;){var _0xaab75=_0x7c63cb['uint32']();if(_0xaab75===_0x453852)break;_0xaab75>>>0x3==0x1?_0x42e176['documentId']=_0x7c63cb['string']():_0x7c63cb['skipType'](0x7&_0xaab75);}return _0x42e176;},_0x1c416f['decodeDelimited']=function(_0x123d5d){return _0x123d5d instanceof _0x4eb936||(_0x123d5d=new _0x4eb936(_0x123d5d)),this['decode'](_0x123d5d,_0x123d5d['uint32']());},_0x1c416f['verify']=function(_0x2cea33){return'object'!=typeof _0x2cea33||null===_0x2cea33?'object\x20expected':null!=_0x2cea33['documentId']&&_0x2cea33['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x2cea33['documentId'])?'documentId:\x20string\x20expected':null;},_0x1c416f['fromObject']=function(_0x784a3c){if(_0x784a3c instanceof _0x28a9ef['RevisionHistoryConnectMessage'])return _0x784a3c;var _0x57cc84=new _0x28a9ef['RevisionHistoryConnectMessage']();return null!=_0x784a3c['documentId']&&(_0x57cc84['documentId']=String(_0x784a3c['documentId'])),_0x57cc84;},_0x1c416f['toObject']=function(_0x3bf58f,_0x38c7ab){_0x38c7ab||(_0x38c7ab={});var _0x2c345c={};return _0x38c7ab['defaults']&&(_0x2c345c['documentId']=''),null!=_0x3bf58f['documentId']&&_0x3bf58f['hasOwnProperty']('documentId')&&(_0x2c345c['documentId']=_0x3bf58f['documentId']),_0x2c345c;},_0x1c416f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1c416f['getTypeUrl']=function(_0x5f34fe){return void 0x0===_0x5f34fe&&(_0x5f34fe='type.googleapis.com'),_0x5f34fe+'/RevisionHistoryConnectMessage';},_0x1c416f;}()),_0x28a9ef['RevisionDescriptor']=(function(){function _0x5cc558(_0x5edae8){if(_0x5edae8){for(var _0x147291=Object['keys'](_0x5edae8),_0x1bd2e1=0x0;_0x1bd2e1<_0x147291['length'];++_0x1bd2e1)null!=_0x5edae8[_0x147291[_0x1bd2e1]]&&(this[_0x147291[_0x1bd2e1]]=_0x5edae8[_0x147291[_0x1bd2e1]]);}}return _0x5cc558['prototype']['revisionId']='',_0x5cc558['prototype']['name']='',_0x5cc558['prototype']['creatorId']='',_0x5cc558['prototype']['authorsIds']='',_0x5cc558['prototype']['diffData']='',_0x5cc558['prototype']['createdAt']='',_0x5cc558['prototype']['attributes']='',_0x5cc558['prototype']['toVersion']=0x0,_0x5cc558['prototype']['fromVersion']=0x0,_0x5cc558['prototype']['isEmptyCurrent']=!0x1,_0x5cc558['create']=function(_0x306e49){return new _0x5cc558(_0x306e49);},_0x5cc558['encode']=function(_0xb13928,_0x5387f9){return _0x5387f9||(_0x5387f9=_0xd78662['create']()),null!=_0xb13928['revisionId']&&Object['hasOwnProperty']['call'](_0xb13928,'revisionId')&&_0x5387f9['uint32'](0xa)['string'](_0xb13928['revisionId']),null!=_0xb13928['name']&&Object['hasOwnProperty']['call'](_0xb13928,'name')&&_0x5387f9['uint32'](0x12)['string'](_0xb13928['name']),null!=_0xb13928['creatorId']&&Object['hasOwnProperty']['call'](_0xb13928,'creatorId')&&_0x5387f9['uint32'](0x1a)['string'](_0xb13928['creatorId']),null!=_0xb13928['authorsIds']&&Object['hasOwnProperty']['call'](_0xb13928,'authorsIds')&&_0x5387f9['uint32'](0x22)['string'](_0xb13928['authorsIds']),null!=_0xb13928['diffData']&&Object['hasOwnProperty']['call'](_0xb13928,'diffData')&&_0x5387f9['uint32'](0x2a)['string'](_0xb13928['diffData']),null!=_0xb13928['createdAt']&&Object['hasOwnProperty']['call'](_0xb13928,'createdAt')&&_0x5387f9['uint32'](0x32)['string'](_0xb13928['createdAt']),null!=_0xb13928['attributes']&&Object['hasOwnProperty']['call'](_0xb13928,'attributes')&&_0x5387f9['uint32'](0x3a)['string'](_0xb13928['attributes']),null!=_0xb13928['toVersion']&&Object['hasOwnProperty']['call'](_0xb13928,'toVersion')&&_0x5387f9['uint32'](0x40)['uint32'](_0xb13928['toVersion']),null!=_0xb13928['fromVersion']&&Object['hasOwnProperty']['call'](_0xb13928,'fromVersion')&&_0x5387f9['uint32'](0x48)['uint32'](_0xb13928['fromVersion']),null!=_0xb13928['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0xb13928,'isEmptyCurrent')&&_0x5387f9['uint32'](0x50)['bool'](_0xb13928['isEmptyCurrent']),_0x5387f9;},_0x5cc558['encodeDelimited']=function(_0x42acc4,_0x6293c1){return this['encode'](_0x42acc4,_0x6293c1)['ldelim']();},_0x5cc558['decode']=function(_0x99777c,_0x10eceb,_0x3116e2){_0x99777c instanceof _0x4eb936||(_0x99777c=_0x4eb936['create'](_0x99777c));for(var _0x4c2244=void 0x0===_0x10eceb?_0x99777c['len']:_0x99777c['pos']+_0x10eceb,_0xf5425f=new _0x28a9ef['RevisionDescriptor']();_0x99777c['pos']<_0x4c2244;){var _0x566fef=_0x99777c['uint32']();if(_0x566fef===_0x3116e2)break;switch(_0x566fef>>>0x3){case 0x1:_0xf5425f['revisionId']=_0x99777c['string']();break;case 0x2:_0xf5425f['name']=_0x99777c['string']();break;case 0x3:_0xf5425f['creatorId']=_0x99777c['string']();break;case 0x4:_0xf5425f['authorsIds']=_0x99777c['string']();break;case 0x5:_0xf5425f['diffData']=_0x99777c['string']();break;case 0x6:_0xf5425f['createdAt']=_0x99777c['string']();break;case 0x7:_0xf5425f['attributes']=_0x99777c['string']();break;case 0x8:_0xf5425f['toVersion']=_0x99777c['uint32']();break;case 0x9:_0xf5425f['fromVersion']=_0x99777c['uint32']();break;case 0xa:_0xf5425f['isEmptyCurrent']=_0x99777c['bool']();break;default:_0x99777c['skipType'](0x7&_0x566fef);}}return _0xf5425f;},_0x5cc558['decodeDelimited']=function(_0x52bedd){return _0x52bedd instanceof _0x4eb936||(_0x52bedd=new _0x4eb936(_0x52bedd)),this['decode'](_0x52bedd,_0x52bedd['uint32']());},_0x5cc558['verify']=function(_0x3b471e){return'object'!=typeof _0x3b471e||null===_0x3b471e?'object\x20expected':null!=_0x3b471e['revisionId']&&_0x3b471e['hasOwnProperty']('revisionId')&&!_0x4bd92b['isString'](_0x3b471e['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x3b471e['name']&&_0x3b471e['hasOwnProperty']('name')&&!_0x4bd92b['isString'](_0x3b471e['name'])?'name:\x20string\x20expected':null!=_0x3b471e['creatorId']&&_0x3b471e['hasOwnProperty']('creatorId')&&!_0x4bd92b['isString'](_0x3b471e['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x3b471e['authorsIds']&&_0x3b471e['hasOwnProperty']('authorsIds')&&!_0x4bd92b['isString'](_0x3b471e['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x3b471e['diffData']&&_0x3b471e['hasOwnProperty']('diffData')&&!_0x4bd92b['isString'](_0x3b471e['diffData'])?'diffData:\x20string\x20expected':null!=_0x3b471e['createdAt']&&_0x3b471e['hasOwnProperty']('createdAt')&&!_0x4bd92b['isString'](_0x3b471e['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x3b471e['attributes']&&_0x3b471e['hasOwnProperty']('attributes')&&!_0x4bd92b['isString'](_0x3b471e['attributes'])?'attributes:\x20string\x20expected':null!=_0x3b471e['toVersion']&&_0x3b471e['hasOwnProperty']('toVersion')&&!_0x4bd92b['isInteger'](_0x3b471e['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x3b471e['fromVersion']&&_0x3b471e['hasOwnProperty']('fromVersion')&&!_0x4bd92b['isInteger'](_0x3b471e['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x3b471e['isEmptyCurrent']&&_0x3b471e['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x3b471e['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x5cc558['fromObject']=function(_0x336df9){if(_0x336df9 instanceof _0x28a9ef['RevisionDescriptor'])return _0x336df9;var _0x1888b3=new _0x28a9ef['RevisionDescriptor']();return null!=_0x336df9['revisionId']&&(_0x1888b3['revisionId']=String(_0x336df9['revisionId'])),null!=_0x336df9['name']&&(_0x1888b3['name']=String(_0x336df9['name'])),null!=_0x336df9['creatorId']&&(_0x1888b3['creatorId']=String(_0x336df9['creatorId'])),null!=_0x336df9['authorsIds']&&(_0x1888b3['authorsIds']=String(_0x336df9['authorsIds'])),null!=_0x336df9['diffData']&&(_0x1888b3['diffData']=String(_0x336df9['diffData'])),null!=_0x336df9['createdAt']&&(_0x1888b3['createdAt']=String(_0x336df9['createdAt'])),null!=_0x336df9['attributes']&&(_0x1888b3['attributes']=String(_0x336df9['attributes'])),null!=_0x336df9['toVersion']&&(_0x1888b3['toVersion']=_0x336df9['toVersion']>>>0x0),null!=_0x336df9['fromVersion']&&(_0x1888b3['fromVersion']=_0x336df9['fromVersion']>>>0x0),null!=_0x336df9['isEmptyCurrent']&&(_0x1888b3['isEmptyCurrent']=Boolean(_0x336df9['isEmptyCurrent'])),_0x1888b3;},_0x5cc558['toObject']=function(_0x12cb66,_0x27f998){_0x27f998||(_0x27f998={});var _0x3b05f8={};return _0x27f998['defaults']&&(_0x3b05f8['revisionId']='',_0x3b05f8['name']='',_0x3b05f8['creatorId']='',_0x3b05f8['authorsIds']='',_0x3b05f8['diffData']='',_0x3b05f8['createdAt']='',_0x3b05f8['attributes']='',_0x3b05f8['toVersion']=0x0,_0x3b05f8['fromVersion']=0x0,_0x3b05f8['isEmptyCurrent']=!0x1),null!=_0x12cb66['revisionId']&&_0x12cb66['hasOwnProperty']('revisionId')&&(_0x3b05f8['revisionId']=_0x12cb66['revisionId']),null!=_0x12cb66['name']&&_0x12cb66['hasOwnProperty']('name')&&(_0x3b05f8['name']=_0x12cb66['name']),null!=_0x12cb66['creatorId']&&_0x12cb66['hasOwnProperty']('creatorId')&&(_0x3b05f8['creatorId']=_0x12cb66['creatorId']),null!=_0x12cb66['authorsIds']&&_0x12cb66['hasOwnProperty']('authorsIds')&&(_0x3b05f8['authorsIds']=_0x12cb66['authorsIds']),null!=_0x12cb66['diffData']&&_0x12cb66['hasOwnProperty']('diffData')&&(_0x3b05f8['diffData']=_0x12cb66['diffData']),null!=_0x12cb66['createdAt']&&_0x12cb66['hasOwnProperty']('createdAt')&&(_0x3b05f8['createdAt']=_0x12cb66['createdAt']),null!=_0x12cb66['attributes']&&_0x12cb66['hasOwnProperty']('attributes')&&(_0x3b05f8['attributes']=_0x12cb66['attributes']),null!=_0x12cb66['toVersion']&&_0x12cb66['hasOwnProperty']('toVersion')&&(_0x3b05f8['toVersion']=_0x12cb66['toVersion']),null!=_0x12cb66['fromVersion']&&_0x12cb66['hasOwnProperty']('fromVersion')&&(_0x3b05f8['fromVersion']=_0x12cb66['fromVersion']),null!=_0x12cb66['isEmptyCurrent']&&_0x12cb66['hasOwnProperty']('isEmptyCurrent')&&(_0x3b05f8['isEmptyCurrent']=_0x12cb66['isEmptyCurrent']),_0x3b05f8;},_0x5cc558['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5cc558['getTypeUrl']=function(_0x268f25){return void 0x0===_0x268f25&&(_0x268f25='type.googleapis.com'),_0x268f25+'/RevisionDescriptor';},_0x5cc558;}()),_0x28a9ef['IsEditorBundleUploadedResponse']=(function(){function _0x5b5fd7(_0x3dd0e9){if(_0x3dd0e9){for(var _0x279c04=Object['keys'](_0x3dd0e9),_0x3c360b=0x0;_0x3c360b<_0x279c04['length'];++_0x3c360b)null!=_0x3dd0e9[_0x279c04[_0x3c360b]]&&(this[_0x279c04[_0x3c360b]]=_0x3dd0e9[_0x279c04[_0x3c360b]]);}}return _0x5b5fd7['prototype']['isUploaded']=!0x1,_0x5b5fd7['create']=function(_0x23c86f){return new _0x5b5fd7(_0x23c86f);},_0x5b5fd7['encode']=function(_0x3339b7,_0x31ad45){return _0x31ad45||(_0x31ad45=_0xd78662['create']()),null!=_0x3339b7['isUploaded']&&Object['hasOwnProperty']['call'](_0x3339b7,'isUploaded')&&_0x31ad45['uint32'](0x8)['bool'](_0x3339b7['isUploaded']),_0x31ad45;},_0x5b5fd7['encodeDelimited']=function(_0x1d9bc8,_0x1b6fb8){return this['encode'](_0x1d9bc8,_0x1b6fb8)['ldelim']();},_0x5b5fd7['decode']=function(_0x20e3a1,_0x1c2926,_0x56c4ba){_0x20e3a1 instanceof _0x4eb936||(_0x20e3a1=_0x4eb936['create'](_0x20e3a1));for(var _0x3602eb=void 0x0===_0x1c2926?_0x20e3a1['len']:_0x20e3a1['pos']+_0x1c2926,_0x573f0b=new _0x28a9ef['IsEditorBundleUploadedResponse']();_0x20e3a1['pos']<_0x3602eb;){var _0x5a2da0=_0x20e3a1['uint32']();if(_0x5a2da0===_0x56c4ba)break;_0x5a2da0>>>0x3==0x1?_0x573f0b['isUploaded']=_0x20e3a1['bool']():_0x20e3a1['skipType'](0x7&_0x5a2da0);}return _0x573f0b;},_0x5b5fd7['decodeDelimited']=function(_0x3695ab){return _0x3695ab instanceof _0x4eb936||(_0x3695ab=new _0x4eb936(_0x3695ab)),this['decode'](_0x3695ab,_0x3695ab['uint32']());},_0x5b5fd7['verify']=function(_0x429c0f){return'object'!=typeof _0x429c0f||null===_0x429c0f?'object\x20expected':null!=_0x429c0f['isUploaded']&&_0x429c0f['hasOwnProperty']('isUploaded')&&'boolean'!=typeof _0x429c0f['isUploaded']?'isUploaded:\x20boolean\x20expected':null;},_0x5b5fd7['fromObject']=function(_0x2e3375){if(_0x2e3375 instanceof _0x28a9ef['IsEditorBundleUploadedResponse'])return _0x2e3375;var _0x342d96=new _0x28a9ef['IsEditorBundleUploadedResponse']();return null!=_0x2e3375['isUploaded']&&(_0x342d96['isUploaded']=Boolean(_0x2e3375['isUploaded'])),_0x342d96;},_0x5b5fd7['toObject']=function(_0x305cf1,_0x4b61e6){_0x4b61e6||(_0x4b61e6={});var _0x12110b={};return _0x4b61e6['defaults']&&(_0x12110b['isUploaded']=!0x1),null!=_0x305cf1['isUploaded']&&_0x305cf1['hasOwnProperty']('isUploaded')&&(_0x12110b['isUploaded']=_0x305cf1['isUploaded']),_0x12110b;},_0x5b5fd7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5b5fd7['getTypeUrl']=function(_0x3dbaf2){return void 0x0===_0x3dbaf2&&(_0x3dbaf2='type.googleapis.com'),_0x3dbaf2+'/IsEditorBundleUploadedResponse';},_0x5b5fd7;}()),_0x28a9ef['IsEditorBundleUploadedMessage']=(function(){function _0x477b8e(_0x27e006){if(_0x27e006){for(var _0x2e0847=Object['keys'](_0x27e006),_0x11fca4=0x0;_0x11fca4<_0x2e0847['length'];++_0x11fca4)null!=_0x27e006[_0x2e0847[_0x11fca4]]&&(this[_0x2e0847[_0x11fca4]]=_0x27e006[_0x2e0847[_0x11fca4]]);}}return _0x477b8e['prototype']['bundleVersion']='',_0x477b8e['create']=function(_0x5cbf34){return new _0x477b8e(_0x5cbf34);},_0x477b8e['encode']=function(_0x4b12c5,_0x304e20){return _0x304e20||(_0x304e20=_0xd78662['create']()),null!=_0x4b12c5['bundleVersion']&&Object['hasOwnProperty']['call'](_0x4b12c5,'bundleVersion')&&_0x304e20['uint32'](0xa)['string'](_0x4b12c5['bundleVersion']),_0x304e20;},_0x477b8e['encodeDelimited']=function(_0x6e0ee1,_0x465adc){return this['encode'](_0x6e0ee1,_0x465adc)['ldelim']();},_0x477b8e['decode']=function(_0x5dd16b,_0x927856,_0x141b0d){_0x5dd16b instanceof _0x4eb936||(_0x5dd16b=_0x4eb936['create'](_0x5dd16b));for(var _0x259469=void 0x0===_0x927856?_0x5dd16b['len']:_0x5dd16b['pos']+_0x927856,_0x3b6d7e=new _0x28a9ef['IsEditorBundleUploadedMessage']();_0x5dd16b['pos']<_0x259469;){var _0x26a238=_0x5dd16b['uint32']();if(_0x26a238===_0x141b0d)break;_0x26a238>>>0x3==0x1?_0x3b6d7e['bundleVersion']=_0x5dd16b['string']():_0x5dd16b['skipType'](0x7&_0x26a238);}return _0x3b6d7e;},_0x477b8e['decodeDelimited']=function(_0x2ba3c2){return _0x2ba3c2 instanceof _0x4eb936||(_0x2ba3c2=new _0x4eb936(_0x2ba3c2)),this['decode'](_0x2ba3c2,_0x2ba3c2['uint32']());},_0x477b8e['verify']=function(_0x17ee75){return'object'!=typeof _0x17ee75||null===_0x17ee75?'object\x20expected':null!=_0x17ee75['bundleVersion']&&_0x17ee75['hasOwnProperty']('bundleVersion')&&!_0x4bd92b['isString'](_0x17ee75['bundleVersion'])?'bundleVersion:\x20string\x20expected':null;},_0x477b8e['fromObject']=function(_0x38aa47){if(_0x38aa47 instanceof _0x28a9ef['IsEditorBundleUploadedMessage'])return _0x38aa47;var _0x2efa56=new _0x28a9ef['IsEditorBundleUploadedMessage']();return null!=_0x38aa47['bundleVersion']&&(_0x2efa56['bundleVersion']=String(_0x38aa47['bundleVersion'])),_0x2efa56;},_0x477b8e['toObject']=function(_0x46b5ca,_0x5d6da1){_0x5d6da1||(_0x5d6da1={});var _0x5cc5cf={};return _0x5d6da1['defaults']&&(_0x5cc5cf['bundleVersion']=''),null!=_0x46b5ca['bundleVersion']&&_0x46b5ca['hasOwnProperty']('bundleVersion')&&(_0x5cc5cf['bundleVersion']=_0x46b5ca['bundleVersion']),_0x5cc5cf;},_0x477b8e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x477b8e['getTypeUrl']=function(_0x577a5){return void 0x0===_0x577a5&&(_0x577a5='type.googleapis.com'),_0x577a5+'/IsEditorBundleUploadedMessage';},_0x477b8e;}()),_0x28a9ef['KeyValueDescriptor']=(function(){function _0x2b102a(_0x1c8d9a){if(_0x1c8d9a){for(var _0x38e5a1=Object['keys'](_0x1c8d9a),_0x5677c2=0x0;_0x5677c2<_0x38e5a1['length'];++_0x5677c2)null!=_0x1c8d9a[_0x38e5a1[_0x5677c2]]&&(this[_0x38e5a1[_0x5677c2]]=_0x1c8d9a[_0x38e5a1[_0x5677c2]]);}}return _0x2b102a['prototype']['key']='',_0x2b102a['prototype']['value']='',_0x2b102a['create']=function(_0x41a61b){return new _0x2b102a(_0x41a61b);},_0x2b102a['encode']=function(_0xfd0c6b,_0x1dec69){return _0x1dec69||(_0x1dec69=_0xd78662['create']()),null!=_0xfd0c6b['key']&&Object['hasOwnProperty']['call'](_0xfd0c6b,'key')&&_0x1dec69['uint32'](0xa)['string'](_0xfd0c6b['key']),null!=_0xfd0c6b['value']&&Object['hasOwnProperty']['call'](_0xfd0c6b,'value')&&_0x1dec69['uint32'](0x12)['string'](_0xfd0c6b['value']),_0x1dec69;},_0x2b102a['encodeDelimited']=function(_0x2cb0ab,_0x74114f){return this['encode'](_0x2cb0ab,_0x74114f)['ldelim']();},_0x2b102a['decode']=function(_0x185a48,_0x2a2240,_0x32cfbf){_0x185a48 instanceof _0x4eb936||(_0x185a48=_0x4eb936['create'](_0x185a48));for(var _0x5b5e4a=void 0x0===_0x2a2240?_0x185a48['len']:_0x185a48['pos']+_0x2a2240,_0x35fa17=new _0x28a9ef['KeyValueDescriptor']();_0x185a48['pos']<_0x5b5e4a;){var _0x38f53a=_0x185a48['uint32']();if(_0x38f53a===_0x32cfbf)break;switch(_0x38f53a>>>0x3){case 0x1:_0x35fa17['key']=_0x185a48['string']();break;case 0x2:_0x35fa17['value']=_0x185a48['string']();break;default:_0x185a48['skipType'](0x7&_0x38f53a);}}return _0x35fa17;},_0x2b102a['decodeDelimited']=function(_0x5b8cd3){return _0x5b8cd3 instanceof _0x4eb936||(_0x5b8cd3=new _0x4eb936(_0x5b8cd3)),this['decode'](_0x5b8cd3,_0x5b8cd3['uint32']());},_0x2b102a['verify']=function(_0x1c3276){return'object'!=typeof _0x1c3276||null===_0x1c3276?'object\x20expected':null!=_0x1c3276['key']&&_0x1c3276['hasOwnProperty']('key')&&!_0x4bd92b['isString'](_0x1c3276['key'])?'key:\x20string\x20expected':null!=_0x1c3276['value']&&_0x1c3276['hasOwnProperty']('value')&&!_0x4bd92b['isString'](_0x1c3276['value'])?'value:\x20string\x20expected':null;},_0x2b102a['fromObject']=function(_0x24e427){if(_0x24e427 instanceof _0x28a9ef['KeyValueDescriptor'])return _0x24e427;var _0x547e92=new _0x28a9ef['KeyValueDescriptor']();return null!=_0x24e427['key']&&(_0x547e92['key']=String(_0x24e427['key'])),null!=_0x24e427['value']&&(_0x547e92['value']=String(_0x24e427['value'])),_0x547e92;},_0x2b102a['toObject']=function(_0xb4b554,_0x3ad1b1){_0x3ad1b1||(_0x3ad1b1={});var _0x467e00={};return _0x3ad1b1['defaults']&&(_0x467e00['key']='',_0x467e00['value']=''),null!=_0xb4b554['key']&&_0xb4b554['hasOwnProperty']('key')&&(_0x467e00['key']=_0xb4b554['key']),null!=_0xb4b554['value']&&_0xb4b554['hasOwnProperty']('value')&&(_0x467e00['value']=_0xb4b554['value']),_0x467e00;},_0x2b102a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2b102a['getTypeUrl']=function(_0x1a3592){return void 0x0===_0x1a3592&&(_0x1a3592='type.googleapis.com'),_0x1a3592+'/KeyValueDescriptor';},_0x2b102a;}()),_0x28a9ef['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x313a0(_0x1be704){if(this['threads']=[],this['threadsV2']=[],_0x1be704){for(var _0x5d8800=Object['keys'](_0x1be704),_0x2b97cb=0x0;_0x2b97cb<_0x5d8800['length'];++_0x2b97cb)null!=_0x1be704[_0x5d8800[_0x2b97cb]]&&(this[_0x5d8800[_0x2b97cb]]=_0x1be704[_0x5d8800[_0x2b97cb]]);}}return _0x313a0['prototype']['threads']=_0x4bd92b['emptyArray'],_0x313a0['prototype']['threadsV2']=_0x4bd92b['emptyArray'],_0x313a0['create']=function(_0x5e1304){return new _0x313a0(_0x5e1304);},_0x313a0['encode']=function(_0xd8b10b,_0x4693a3){if(_0x4693a3||(_0x4693a3=_0xd78662['create']()),null!=_0xd8b10b['threads']&&_0xd8b10b['threads']['length']){for(var _0x2bdf64=0x0;_0x2bdf64<_0xd8b10b['threads']['length'];++_0x2bdf64)_0x4693a3['uint32'](0xa)['string'](_0xd8b10b['threads'][_0x2bdf64]);}if(null!=_0xd8b10b['threadsV2']&&_0xd8b10b['threadsV2']['length']){for(_0x2bdf64=0x0;_0x2bdf64<_0xd8b10b['threadsV2']['length'];++_0x2bdf64)_0x28a9ef['CommentsThreadDescriptor']['encode'](_0xd8b10b['threadsV2'][_0x2bdf64],_0x4693a3['uint32'](0x12)['fork']())['ldelim']();}return _0x4693a3;},_0x313a0['encodeDelimited']=function(_0x2c3911,_0x1fb48d){return this['encode'](_0x2c3911,_0x1fb48d)['ldelim']();},_0x313a0['decode']=function(_0x4c603b,_0x4646cc,_0x3e4329){_0x4c603b instanceof _0x4eb936||(_0x4c603b=_0x4eb936['create'](_0x4c603b));for(var _0x5af2d1=void 0x0===_0x4646cc?_0x4c603b['len']:_0x4c603b['pos']+_0x4646cc,_0x42ed26=new _0x28a9ef['CommentsV2GetDocumentThreadsResponse']();_0x4c603b['pos']<_0x5af2d1;){var _0x1aacd8=_0x4c603b['uint32']();if(_0x1aacd8===_0x3e4329)break;switch(_0x1aacd8>>>0x3){case 0x1:_0x42ed26['threads']&&_0x42ed26['threads']['length']||(_0x42ed26['threads']=[]),_0x42ed26['threads']['push'](_0x4c603b['string']());break;case 0x2:_0x42ed26['threadsV2']&&_0x42ed26['threadsV2']['length']||(_0x42ed26['threadsV2']=[]),_0x42ed26['threadsV2']['push'](_0x28a9ef['CommentsThreadDescriptor']['decode'](_0x4c603b,_0x4c603b['uint32']()));break;default:_0x4c603b['skipType'](0x7&_0x1aacd8);}}return _0x42ed26;},_0x313a0['decodeDelimited']=function(_0x1a2764){return _0x1a2764 instanceof _0x4eb936||(_0x1a2764=new _0x4eb936(_0x1a2764)),this['decode'](_0x1a2764,_0x1a2764['uint32']());},_0x313a0['verify']=function(_0x3e7d80){if('object'!=typeof _0x3e7d80||null===_0x3e7d80)return'object\x20expected';if(null!=_0x3e7d80['threads']&&_0x3e7d80['hasOwnProperty']('threads')){if(!Array['isArray'](_0x3e7d80['threads']))return'threads:\x20array\x20expected';for(var _0x2d4d10=0x0;_0x2d4d10<_0x3e7d80['threads']['length'];++_0x2d4d10)if(!_0x4bd92b['isString'](_0x3e7d80['threads'][_0x2d4d10]))return'threads:\x20string[]\x20expected';}if(null!=_0x3e7d80['threadsV2']&&_0x3e7d80['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x3e7d80['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x2d4d10=0x0;_0x2d4d10<_0x3e7d80['threadsV2']['length'];++_0x2d4d10){var _0x59acb3=_0x28a9ef['CommentsThreadDescriptor']['verify'](_0x3e7d80['threadsV2'][_0x2d4d10]);if(_0x59acb3)return'threadsV2.'+_0x59acb3;}}return null;},_0x313a0['fromObject']=function(_0x20c575){if(_0x20c575 instanceof _0x28a9ef['CommentsV2GetDocumentThreadsResponse'])return _0x20c575;var _0xe93cfc=new _0x28a9ef['CommentsV2GetDocumentThreadsResponse']();if(_0x20c575['threads']){if(!Array['isArray'](_0x20c575['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0xe93cfc['threads']=[];for(var _0x5c6295=0x0;_0x5c6295<_0x20c575['threads']['length'];++_0x5c6295)_0xe93cfc['threads'][_0x5c6295]=String(_0x20c575['threads'][_0x5c6295]);}if(_0x20c575['threadsV2']){if(!Array['isArray'](_0x20c575['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0xe93cfc['threadsV2']=[],_0x5c6295=0x0;_0x5c6295<_0x20c575['threadsV2']['length'];++_0x5c6295){if('object'!=typeof _0x20c575['threadsV2'][_0x5c6295])throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0xe93cfc['threadsV2'][_0x5c6295]=_0x28a9ef['CommentsThreadDescriptor']['fromObject'](_0x20c575['threadsV2'][_0x5c6295]);}}return _0xe93cfc;},_0x313a0['toObject']=function(_0x21c8b1,_0x128729){_0x128729||(_0x128729={});var _0x5c4a03={};if((_0x128729['arrays']||_0x128729['defaults'])&&(_0x5c4a03['threads']=[],_0x5c4a03['threadsV2']=[]),_0x21c8b1['threads']&&_0x21c8b1['threads']['length']){_0x5c4a03['threads']=[];for(var _0x3bd85b=0x0;_0x3bd85b<_0x21c8b1['threads']['length'];++_0x3bd85b)_0x5c4a03['threads'][_0x3bd85b]=_0x21c8b1['threads'][_0x3bd85b];}if(_0x21c8b1['threadsV2']&&_0x21c8b1['threadsV2']['length']){for(_0x5c4a03['threadsV2']=[],_0x3bd85b=0x0;_0x3bd85b<_0x21c8b1['threadsV2']['length'];++_0x3bd85b)_0x5c4a03['threadsV2'][_0x3bd85b]=_0x28a9ef['CommentsThreadDescriptor']['toObject'](_0x21c8b1['threadsV2'][_0x3bd85b],_0x128729);}return _0x5c4a03;},_0x313a0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x313a0['getTypeUrl']=function(_0x4290da){return void 0x0===_0x4290da&&(_0x4290da='type.googleapis.com'),_0x4290da+'/CommentsV2GetDocumentThreadsResponse';},_0x313a0;}()),_0x28a9ef['CommentsV2GetCommentThreadResponse']=(function(){function _0x305c01(_0x25130e){if(this['comments']=[],this['commentsV2']=[],_0x25130e){for(var _0x580221=Object['keys'](_0x25130e),_0x8b6f41=0x0;_0x8b6f41<_0x580221['length'];++_0x8b6f41)null!=_0x25130e[_0x580221[_0x8b6f41]]&&(this[_0x580221[_0x8b6f41]]=_0x25130e[_0x580221[_0x8b6f41]]);}}return _0x305c01['prototype']['commentThreadId']='',_0x305c01['prototype']['comments']=_0x4bd92b['emptyArray'],_0x305c01['prototype']['commentsV2']=_0x4bd92b['emptyArray'],_0x305c01['prototype']['resolvedAt']='',_0x305c01['prototype']['resolvedBy']='',_0x305c01['prototype']['context']='',_0x305c01['prototype']['createdAt']='',_0x305c01['prototype']['deletedAt']='',_0x305c01['prototype']['attributes']='',_0x305c01['prototype']['unlinkedAt']='',_0x305c01['create']=function(_0x1a1628){return new _0x305c01(_0x1a1628);},_0x305c01['encode']=function(_0x401002,_0x299ea1){if(_0x299ea1||(_0x299ea1=_0xd78662['create']()),null!=_0x401002['commentThreadId']&&Object['hasOwnProperty']['call'](_0x401002,'commentThreadId')&&_0x299ea1['uint32'](0xa)['string'](_0x401002['commentThreadId']),null!=_0x401002['comments']&&_0x401002['comments']['length']){for(var _0x14d1fd=0x0;_0x14d1fd<_0x401002['comments']['length'];++_0x14d1fd)_0x299ea1['uint32'](0x12)['string'](_0x401002['comments'][_0x14d1fd]);}if(null!=_0x401002['commentsV2']&&_0x401002['commentsV2']['length']){for(_0x14d1fd=0x0;_0x14d1fd<_0x401002['commentsV2']['length'];++_0x14d1fd)_0x28a9ef['CommentDescriptor']['encode'](_0x401002['commentsV2'][_0x14d1fd],_0x299ea1['uint32'](0x1a)['fork']())['ldelim']();}return null!=_0x401002['resolvedAt']&&Object['hasOwnProperty']['call'](_0x401002,'resolvedAt')&&_0x299ea1['uint32'](0x22)['string'](_0x401002['resolvedAt']),null!=_0x401002['resolvedBy']&&Object['hasOwnProperty']['call'](_0x401002,'resolvedBy')&&_0x299ea1['uint32'](0x2a)['string'](_0x401002['resolvedBy']),null!=_0x401002['context']&&Object['hasOwnProperty']['call'](_0x401002,'context')&&_0x299ea1['uint32'](0x32)['string'](_0x401002['context']),null!=_0x401002['createdAt']&&Object['hasOwnProperty']['call'](_0x401002,'createdAt')&&_0x299ea1['uint32'](0x3a)['string'](_0x401002['createdAt']),null!=_0x401002['deletedAt']&&Object['hasOwnProperty']['call'](_0x401002,'deletedAt')&&_0x299ea1['uint32'](0x42)['string'](_0x401002['deletedAt']),null!=_0x401002['attributes']&&Object['hasOwnProperty']['call'](_0x401002,'attributes')&&_0x299ea1['uint32'](0x4a)['string'](_0x401002['attributes']),null!=_0x401002['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x401002,'unlinkedAt')&&_0x299ea1['uint32'](0x52)['string'](_0x401002['unlinkedAt']),_0x299ea1;},_0x305c01['encodeDelimited']=function(_0x5d2659,_0x3deb94){return this['encode'](_0x5d2659,_0x3deb94)['ldelim']();},_0x305c01['decode']=function(_0x26ba47,_0x3ad922,_0x54774c){_0x26ba47 instanceof _0x4eb936||(_0x26ba47=_0x4eb936['create'](_0x26ba47));for(var _0x3bc8f8=void 0x0===_0x3ad922?_0x26ba47['len']:_0x26ba47['pos']+_0x3ad922,_0x32b5cb=new _0x28a9ef['CommentsV2GetCommentThreadResponse']();_0x26ba47['pos']<_0x3bc8f8;){var _0x4cbcbd=_0x26ba47['uint32']();if(_0x4cbcbd===_0x54774c)break;switch(_0x4cbcbd>>>0x3){case 0x1:_0x32b5cb['commentThreadId']=_0x26ba47['string']();break;case 0x2:_0x32b5cb['comments']&&_0x32b5cb['comments']['length']||(_0x32b5cb['comments']=[]),_0x32b5cb['comments']['push'](_0x26ba47['string']());break;case 0x3:_0x32b5cb['commentsV2']&&_0x32b5cb['commentsV2']['length']||(_0x32b5cb['commentsV2']=[]),_0x32b5cb['commentsV2']['push'](_0x28a9ef['CommentDescriptor']['decode'](_0x26ba47,_0x26ba47['uint32']()));break;case 0x4:_0x32b5cb['resolvedAt']=_0x26ba47['string']();break;case 0x5:_0x32b5cb['resolvedBy']=_0x26ba47['string']();break;case 0x6:_0x32b5cb['context']=_0x26ba47['string']();break;case 0x7:_0x32b5cb['createdAt']=_0x26ba47['string']();break;case 0x8:_0x32b5cb['deletedAt']=_0x26ba47['string']();break;case 0x9:_0x32b5cb['attributes']=_0x26ba47['string']();break;case 0xa:_0x32b5cb['unlinkedAt']=_0x26ba47['string']();break;default:_0x26ba47['skipType'](0x7&_0x4cbcbd);}}return _0x32b5cb;},_0x305c01['decodeDelimited']=function(_0xd64b66){return _0xd64b66 instanceof _0x4eb936||(_0xd64b66=new _0x4eb936(_0xd64b66)),this['decode'](_0xd64b66,_0xd64b66['uint32']());},_0x305c01['verify']=function(_0x54732c){if('object'!=typeof _0x54732c||null===_0x54732c)return'object\x20expected';if(null!=_0x54732c['commentThreadId']&&_0x54732c['hasOwnProperty']('commentThreadId')&&!_0x4bd92b['isString'](_0x54732c['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x54732c['comments']&&_0x54732c['hasOwnProperty']('comments')){if(!Array['isArray'](_0x54732c['comments']))return'comments:\x20array\x20expected';for(var _0x3e177d=0x0;_0x3e177d<_0x54732c['comments']['length'];++_0x3e177d)if(!_0x4bd92b['isString'](_0x54732c['comments'][_0x3e177d]))return'comments:\x20string[]\x20expected';}if(null!=_0x54732c['commentsV2']&&_0x54732c['hasOwnProperty']('commentsV2')){if(!Array['isArray'](_0x54732c['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x3e177d=0x0;_0x3e177d<_0x54732c['commentsV2']['length'];++_0x3e177d){var _0x1d2de9=_0x28a9ef['CommentDescriptor']['verify'](_0x54732c['commentsV2'][_0x3e177d]);if(_0x1d2de9)return'commentsV2.'+_0x1d2de9;}}return null!=_0x54732c['resolvedAt']&&_0x54732c['hasOwnProperty']('resolvedAt')&&!_0x4bd92b['isString'](_0x54732c['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x54732c['resolvedBy']&&_0x54732c['hasOwnProperty']('resolvedBy')&&!_0x4bd92b['isString'](_0x54732c['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x54732c['context']&&_0x54732c['hasOwnProperty']('context')&&!_0x4bd92b['isString'](_0x54732c['context'])?'context:\x20string\x20expected':null!=_0x54732c['createdAt']&&_0x54732c['hasOwnProperty']('createdAt')&&!_0x4bd92b['isString'](_0x54732c['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x54732c['deletedAt']&&_0x54732c['hasOwnProperty']('deletedAt')&&!_0x4bd92b['isString'](_0x54732c['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x54732c['attributes']&&_0x54732c['hasOwnProperty']('attributes')&&!_0x4bd92b['isString'](_0x54732c['attributes'])?'attributes:\x20string\x20expected':null!=_0x54732c['unlinkedAt']&&_0x54732c['hasOwnProperty']('unlinkedAt')&&!_0x4bd92b['isString'](_0x54732c['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x305c01['fromObject']=function(_0x171836){if(_0x171836 instanceof _0x28a9ef['CommentsV2GetCommentThreadResponse'])return _0x171836;var _0x18bcd0=new _0x28a9ef['CommentsV2GetCommentThreadResponse']();if(null!=_0x171836['commentThreadId']&&(_0x18bcd0['commentThreadId']=String(_0x171836['commentThreadId'])),_0x171836['comments']){if(!Array['isArray'](_0x171836['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x18bcd0['comments']=[];for(var _0x1704a4=0x0;_0x1704a4<_0x171836['comments']['length'];++_0x1704a4)_0x18bcd0['comments'][_0x1704a4]=String(_0x171836['comments'][_0x1704a4]);}if(_0x171836['commentsV2']){if(!Array['isArray'](_0x171836['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x18bcd0['commentsV2']=[],_0x1704a4=0x0;_0x1704a4<_0x171836['commentsV2']['length'];++_0x1704a4){if('object'!=typeof _0x171836['commentsV2'][_0x1704a4])throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x18bcd0['commentsV2'][_0x1704a4]=_0x28a9ef['CommentDescriptor']['fromObject'](_0x171836['commentsV2'][_0x1704a4]);}}return null!=_0x171836['resolvedAt']&&(_0x18bcd0['resolvedAt']=String(_0x171836['resolvedAt'])),null!=_0x171836['resolvedBy']&&(_0x18bcd0['resolvedBy']=String(_0x171836['resolvedBy'])),null!=_0x171836['context']&&(_0x18bcd0['context']=String(_0x171836['context'])),null!=_0x171836['createdAt']&&(_0x18bcd0['createdAt']=String(_0x171836['createdAt'])),null!=_0x171836['deletedAt']&&(_0x18bcd0['deletedAt']=String(_0x171836['deletedAt'])),null!=_0x171836['attributes']&&(_0x18bcd0['attributes']=String(_0x171836['attributes'])),null!=_0x171836['unlinkedAt']&&(_0x18bcd0['unlinkedAt']=String(_0x171836['unlinkedAt'])),_0x18bcd0;},_0x305c01['toObject']=function(_0x529b1c,_0x48d815){_0x48d815||(_0x48d815={});var _0x57173f={};if((_0x48d815['arrays']||_0x48d815['defaults'])&&(_0x57173f['comments']=[],_0x57173f['commentsV2']=[]),_0x48d815['defaults']&&(_0x57173f['commentThreadId']='',_0x57173f['resolvedAt']='',_0x57173f['resolvedBy']='',_0x57173f['context']='',_0x57173f['createdAt']='',_0x57173f['deletedAt']='',_0x57173f['attributes']='',_0x57173f['unlinkedAt']=''),null!=_0x529b1c['commentThreadId']&&_0x529b1c['hasOwnProperty']('commentThreadId')&&(_0x57173f['commentThreadId']=_0x529b1c['commentThreadId']),_0x529b1c['comments']&&_0x529b1c['comments']['length']){_0x57173f['comments']=[];for(var _0x14bfb2=0x0;_0x14bfb2<_0x529b1c['comments']['length'];++_0x14bfb2)_0x57173f['comments'][_0x14bfb2]=_0x529b1c['comments'][_0x14bfb2];}if(_0x529b1c['commentsV2']&&_0x529b1c['commentsV2']['length']){for(_0x57173f['commentsV2']=[],_0x14bfb2=0x0;_0x14bfb2<_0x529b1c['commentsV2']['length'];++_0x14bfb2)_0x57173f['commentsV2'][_0x14bfb2]=_0x28a9ef['CommentDescriptor']['toObject'](_0x529b1c['commentsV2'][_0x14bfb2],_0x48d815);}return null!=_0x529b1c['resolvedAt']&&_0x529b1c['hasOwnProperty']('resolvedAt')&&(_0x57173f['resolvedAt']=_0x529b1c['resolvedAt']),null!=_0x529b1c['resolvedBy']&&_0x529b1c['hasOwnProperty']('resolvedBy')&&(_0x57173f['resolvedBy']=_0x529b1c['resolvedBy']),null!=_0x529b1c['context']&&_0x529b1c['hasOwnProperty']('context')&&(_0x57173f['context']=_0x529b1c['context']),null!=_0x529b1c['createdAt']&&_0x529b1c['hasOwnProperty']('createdAt')&&(_0x57173f['createdAt']=_0x529b1c['createdAt']),null!=_0x529b1c['deletedAt']&&_0x529b1c['hasOwnProperty']('deletedAt')&&(_0x57173f['deletedAt']=_0x529b1c['deletedAt']),null!=_0x529b1c['attributes']&&_0x529b1c['hasOwnProperty']('attributes')&&(_0x57173f['attributes']=_0x529b1c['attributes']),null!=_0x529b1c['unlinkedAt']&&_0x529b1c['hasOwnProperty']('unlinkedAt')&&(_0x57173f['unlinkedAt']=_0x529b1c['unlinkedAt']),_0x57173f;},_0x305c01['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x305c01['getTypeUrl']=function(_0xc1f822){return void 0x0===_0xc1f822&&(_0xc1f822='type.googleapis.com'),_0xc1f822+'/CommentsV2GetCommentThreadResponse';},_0x305c01;}()),_0x28a9ef['CommentsV2ConnectResponse']=(function(){function _0x5c2886(_0x52e749){if(this['threads']=[],this['threadsV2']=[],_0x52e749){for(var _0x2807a0=Object['keys'](_0x52e749),_0x208031=0x0;_0x208031<_0x2807a0['length'];++_0x208031)null!=_0x52e749[_0x2807a0[_0x208031]]&&(this[_0x2807a0[_0x208031]]=_0x52e749[_0x2807a0[_0x208031]]);}}return _0x5c2886['prototype']['channel']='',_0x5c2886['prototype']['threads']=_0x4bd92b['emptyArray'],_0x5c2886['prototype']['threadsV2']=_0x4bd92b['emptyArray'],_0x5c2886['create']=function(_0x5b0234){return new _0x5c2886(_0x5b0234);},_0x5c2886['encode']=function(_0x3715e0,_0x344a0b){if(_0x344a0b||(_0x344a0b=_0xd78662['create']()),null!=_0x3715e0['channel']&&Object['hasOwnProperty']['call'](_0x3715e0,'channel')&&_0x344a0b['uint32'](0xa)['string'](_0x3715e0['channel']),null!=_0x3715e0['threads']&&_0x3715e0['threads']['length']){for(var _0x518dde=0x0;_0x518dde<_0x3715e0['threads']['length'];++_0x518dde)_0x344a0b['uint32'](0x12)['string'](_0x3715e0['threads'][_0x518dde]);}if(null!=_0x3715e0['threadsV2']&&_0x3715e0['threadsV2']['length']){for(_0x518dde=0x0;_0x518dde<_0x3715e0['threadsV2']['length'];++_0x518dde)_0x28a9ef['CommentsThreadDescriptor']['encode'](_0x3715e0['threadsV2'][_0x518dde],_0x344a0b['uint32'](0x1a)['fork']())['ldelim']();}return _0x344a0b;},_0x5c2886['encodeDelimited']=function(_0x496d13,_0x311a07){return this['encode'](_0x496d13,_0x311a07)['ldelim']();},_0x5c2886['decode']=function(_0x4bde46,_0x23de40,_0xc9489c){_0x4bde46 instanceof _0x4eb936||(_0x4bde46=_0x4eb936['create'](_0x4bde46));for(var _0x4e1d3a=void 0x0===_0x23de40?_0x4bde46['len']:_0x4bde46['pos']+_0x23de40,_0x3661c9=new _0x28a9ef['CommentsV2ConnectResponse']();_0x4bde46['pos']<_0x4e1d3a;){var _0x3318ca=_0x4bde46['uint32']();if(_0x3318ca===_0xc9489c)break;switch(_0x3318ca>>>0x3){case 0x1:_0x3661c9['channel']=_0x4bde46['string']();break;case 0x2:_0x3661c9['threads']&&_0x3661c9['threads']['length']||(_0x3661c9['threads']=[]),_0x3661c9['threads']['push'](_0x4bde46['string']());break;case 0x3:_0x3661c9['threadsV2']&&_0x3661c9['threadsV2']['length']||(_0x3661c9['threadsV2']=[]),_0x3661c9['threadsV2']['push'](_0x28a9ef['CommentsThreadDescriptor']['decode'](_0x4bde46,_0x4bde46['uint32']()));break;default:_0x4bde46['skipType'](0x7&_0x3318ca);}}return _0x3661c9;},_0x5c2886['decodeDelimited']=function(_0x16d03a){return _0x16d03a instanceof _0x4eb936||(_0x16d03a=new _0x4eb936(_0x16d03a)),this['decode'](_0x16d03a,_0x16d03a['uint32']());},_0x5c2886['verify']=function(_0x2e8ba4){if('object'!=typeof _0x2e8ba4||null===_0x2e8ba4)return'object\x20expected';if(null!=_0x2e8ba4['channel']&&_0x2e8ba4['hasOwnProperty']('channel')&&!_0x4bd92b['isString'](_0x2e8ba4['channel']))return'channel:\x20string\x20expected';if(null!=_0x2e8ba4['threads']&&_0x2e8ba4['hasOwnProperty']('threads')){if(!Array['isArray'](_0x2e8ba4['threads']))return'threads:\x20array\x20expected';for(var _0x27cce4=0x0;_0x27cce4<_0x2e8ba4['threads']['length'];++_0x27cce4)if(!_0x4bd92b['isString'](_0x2e8ba4['threads'][_0x27cce4]))return'threads:\x20string[]\x20expected';}if(null!=_0x2e8ba4['threadsV2']&&_0x2e8ba4['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x2e8ba4['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x27cce4=0x0;_0x27cce4<_0x2e8ba4['threadsV2']['length'];++_0x27cce4){var _0x5bf57d=_0x28a9ef['CommentsThreadDescriptor']['verify'](_0x2e8ba4['threadsV2'][_0x27cce4]);if(_0x5bf57d)return'threadsV2.'+_0x5bf57d;}}return null;},_0x5c2886['fromObject']=function(_0x4aab55){if(_0x4aab55 instanceof _0x28a9ef['CommentsV2ConnectResponse'])return _0x4aab55;var _0x19d124=new _0x28a9ef['CommentsV2ConnectResponse']();if(null!=_0x4aab55['channel']&&(_0x19d124['channel']=String(_0x4aab55['channel'])),_0x4aab55['threads']){if(!Array['isArray'](_0x4aab55['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x19d124['threads']=[];for(var _0x264b11=0x0;_0x264b11<_0x4aab55['threads']['length'];++_0x264b11)_0x19d124['threads'][_0x264b11]=String(_0x4aab55['threads'][_0x264b11]);}if(_0x4aab55['threadsV2']){if(!Array['isArray'](_0x4aab55['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x19d124['threadsV2']=[],_0x264b11=0x0;_0x264b11<_0x4aab55['threadsV2']['length'];++_0x264b11){if('object'!=typeof _0x4aab55['threadsV2'][_0x264b11])throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x19d124['threadsV2'][_0x264b11]=_0x28a9ef['CommentsThreadDescriptor']['fromObject'](_0x4aab55['threadsV2'][_0x264b11]);}}return _0x19d124;},_0x5c2886['toObject']=function(_0x1ca020,_0x5188c6){_0x5188c6||(_0x5188c6={});var _0x3ed50c={};if((_0x5188c6['arrays']||_0x5188c6['defaults'])&&(_0x3ed50c['threads']=[],_0x3ed50c['threadsV2']=[]),_0x5188c6['defaults']&&(_0x3ed50c['channel']=''),null!=_0x1ca020['channel']&&_0x1ca020['hasOwnProperty']('channel')&&(_0x3ed50c['channel']=_0x1ca020['channel']),_0x1ca020['threads']&&_0x1ca020['threads']['length']){_0x3ed50c['threads']=[];for(var _0x539fb8=0x0;_0x539fb8<_0x1ca020['threads']['length'];++_0x539fb8)_0x3ed50c['threads'][_0x539fb8]=_0x1ca020['threads'][_0x539fb8];}if(_0x1ca020['threadsV2']&&_0x1ca020['threadsV2']['length']){for(_0x3ed50c['threadsV2']=[],_0x539fb8=0x0;_0x539fb8<_0x1ca020['threadsV2']['length'];++_0x539fb8)_0x3ed50c['threadsV2'][_0x539fb8]=_0x28a9ef['CommentsThreadDescriptor']['toObject'](_0x1ca020['threadsV2'][_0x539fb8],_0x5188c6);}return _0x3ed50c;},_0x5c2886['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5c2886['getTypeUrl']=function(_0x4f0d86){return void 0x0===_0x4f0d86&&(_0x4f0d86='type.googleapis.com'),_0x4f0d86+'/CommentsV2ConnectResponse';},_0x5c2886;}()),_0x28a9ef['CommentsV2AddCommentResponse']=(function(){function _0x2134b6(_0x5c87ef){if(_0x5c87ef){for(var _0x2b211f=Object['keys'](_0x5c87ef),_0x3c2a12=0x0;_0x3c2a12<_0x2b211f['length'];++_0x3c2a12)null!=_0x5c87ef[_0x2b211f[_0x3c2a12]]&&(this[_0x2b211f[_0x3c2a12]]=_0x5c87ef[_0x2b211f[_0x3c2a12]]);}}return _0x2134b6['prototype']['commentThreadId']='',_0x2134b6['prototype']['commentId']='',_0x2134b6['prototype']['createdAt']='',_0x2134b6['create']=function(_0x51fce5){return new _0x2134b6(_0x51fce5);},_0x2134b6['encode']=function(_0x12a94e,_0x1a2454){return _0x1a2454||(_0x1a2454=_0xd78662['create']()),null!=_0x12a94e['commentThreadId']&&Object['hasOwnProperty']['call'](_0x12a94e,'commentThreadId')&&_0x1a2454['uint32'](0xa)['string'](_0x12a94e['commentThreadId']),null!=_0x12a94e['commentId']&&Object['hasOwnProperty']['call'](_0x12a94e,'commentId')&&_0x1a2454['uint32'](0x12)['string'](_0x12a94e['commentId']),null!=_0x12a94e['createdAt']&&Object['hasOwnProperty']['call'](_0x12a94e,'createdAt')&&_0x1a2454['uint32'](0x1a)['string'](_0x12a94e['createdAt']),_0x1a2454;},_0x2134b6['encodeDelimited']=function(_0x2029d4,_0x373e18){return this['encode'](_0x2029d4,_0x373e18)['ldelim']();},_0x2134b6['decode']=function(_0x53050f,_0x51350f,_0x3b8abd){_0x53050f instanceof _0x4eb936||(_0x53050f=_0x4eb936['create'](_0x53050f));for(var _0x3e346a=void 0x0===_0x51350f?_0x53050f['len']:_0x53050f['pos']+_0x51350f,_0x3f3e06=new _0x28a9ef['CommentsV2AddCommentResponse']();_0x53050f['pos']<_0x3e346a;){var _0x2acd66=_0x53050f['uint32']();if(_0x2acd66===_0x3b8abd)break;switch(_0x2acd66>>>0x3){case 0x1:_0x3f3e06['commentThreadId']=_0x53050f['string']();break;case 0x2:_0x3f3e06['commentId']=_0x53050f['string']();break;case 0x3:_0x3f3e06['createdAt']=_0x53050f['string']();break;default:_0x53050f['skipType'](0x7&_0x2acd66);}}return _0x3f3e06;},_0x2134b6['decodeDelimited']=function(_0x2e6d9c){return _0x2e6d9c instanceof _0x4eb936||(_0x2e6d9c=new _0x4eb936(_0x2e6d9c)),this['decode'](_0x2e6d9c,_0x2e6d9c['uint32']());},_0x2134b6['verify']=function(_0x3ea57c){return'object'!=typeof _0x3ea57c||null===_0x3ea57c?'object\x20expected':null!=_0x3ea57c['commentThreadId']&&_0x3ea57c['hasOwnProperty']('commentThreadId')&&!_0x4bd92b['isString'](_0x3ea57c['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x3ea57c['commentId']&&_0x3ea57c['hasOwnProperty']('commentId')&&!_0x4bd92b['isString'](_0x3ea57c['commentId'])?'commentId:\x20string\x20expected':null!=_0x3ea57c['createdAt']&&_0x3ea57c['hasOwnProperty']('createdAt')&&!_0x4bd92b['isString'](_0x3ea57c['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x2134b6['fromObject']=function(_0x277ba8){if(_0x277ba8 instanceof _0x28a9ef['CommentsV2AddCommentResponse'])return _0x277ba8;var _0x1bb931=new _0x28a9ef['CommentsV2AddCommentResponse']();return null!=_0x277ba8['commentThreadId']&&(_0x1bb931['commentThreadId']=String(_0x277ba8['commentThreadId'])),null!=_0x277ba8['commentId']&&(_0x1bb931['commentId']=String(_0x277ba8['commentId'])),null!=_0x277ba8['createdAt']&&(_0x1bb931['createdAt']=String(_0x277ba8['createdAt'])),_0x1bb931;},_0x2134b6['toObject']=function(_0x4758c4,_0x89e08b){_0x89e08b||(_0x89e08b={});var _0x297cf4={};return _0x89e08b['defaults']&&(_0x297cf4['commentThreadId']='',_0x297cf4['commentId']='',_0x297cf4['createdAt']=''),null!=_0x4758c4['commentThreadId']&&_0x4758c4['hasOwnProperty']('commentThreadId')&&(_0x297cf4['commentThreadId']=_0x4758c4['commentThreadId']),null!=_0x4758c4['commentId']&&_0x4758c4['hasOwnProperty']('commentId')&&(_0x297cf4['commentId']=_0x4758c4['commentId']),null!=_0x4758c4['createdAt']&&_0x4758c4['hasOwnProperty']('createdAt')&&(_0x297cf4['createdAt']=_0x4758c4['createdAt']),_0x297cf4;},_0x2134b6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2134b6['getTypeUrl']=function(_0x1753d2){return void 0x0===_0x1753d2&&(_0x1753d2='type.googleapis.com'),_0x1753d2+'/CommentsV2AddCommentResponse';},_0x2134b6;}()),_0x28a9ef['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x2cb42a(_0x26fd1d){if(_0x26fd1d){for(var _0xd11e10=Object['keys'](_0x26fd1d),_0x45f4fb=0x0;_0x45f4fb<_0xd11e10['length'];++_0x45f4fb)null!=_0x26fd1d[_0xd11e10[_0x45f4fb]]&&(this[_0xd11e10[_0x45f4fb]]=_0x26fd1d[_0xd11e10[_0x45f4fb]]);}}return _0x2cb42a['prototype']['commentThreadId']='',_0x2cb42a['prototype']['documentId']='',_0x2cb42a['prototype']['resolvedAt']='',_0x2cb42a['prototype']['resolvedBy']='',_0x2cb42a['create']=function(_0x29e093){return new _0x2cb42a(_0x29e093);},_0x2cb42a['encode']=function(_0x15c097,_0x49826d){return _0x49826d||(_0x49826d=_0xd78662['create']()),null!=_0x15c097['commentThreadId']&&Object['hasOwnProperty']['call'](_0x15c097,'commentThreadId')&&_0x49826d['uint32'](0xa)['string'](_0x15c097['commentThreadId']),null!=_0x15c097['documentId']&&Object['hasOwnProperty']['call'](_0x15c097,'documentId')&&_0x49826d['uint32'](0x12)['string'](_0x15c097['documentId']),null!=_0x15c097['resolvedAt']&&Object['hasOwnProperty']['call'](_0x15c097,'resolvedAt')&&_0x49826d['uint32'](0x1a)['string'](_0x15c097['resolvedAt']),null!=_0x15c097['resolvedBy']&&Object['hasOwnProperty']['call'](_0x15c097,'resolvedBy')&&_0x49826d['uint32'](0x22)['string'](_0x15c097['resolvedBy']),_0x49826d;},_0x2cb42a['encodeDelimited']=function(_0x594b5d,_0x57b6f3){return this['encode'](_0x594b5d,_0x57b6f3)['ldelim']();},_0x2cb42a['decode']=function(_0x308650,_0x9353b5,_0x3a86c3){_0x308650 instanceof _0x4eb936||(_0x308650=_0x4eb936['create'](_0x308650));for(var _0xa131cf=void 0x0===_0x9353b5?_0x308650['len']:_0x308650['pos']+_0x9353b5,_0xea3ab8=new _0x28a9ef['CommentsV2ResolveCommentThreadResponse']();_0x308650['pos']<_0xa131cf;){var _0xa9b338=_0x308650['uint32']();if(_0xa9b338===_0x3a86c3)break;switch(_0xa9b338>>>0x3){case 0x1:_0xea3ab8['commentThreadId']=_0x308650['string']();break;case 0x2:_0xea3ab8['documentId']=_0x308650['string']();break;case 0x3:_0xea3ab8['resolvedAt']=_0x308650['string']();break;case 0x4:_0xea3ab8['resolvedBy']=_0x308650['string']();break;default:_0x308650['skipType'](0x7&_0xa9b338);}}return _0xea3ab8;},_0x2cb42a['decodeDelimited']=function(_0x31cfdf){return _0x31cfdf instanceof _0x4eb936||(_0x31cfdf=new _0x4eb936(_0x31cfdf)),this['decode'](_0x31cfdf,_0x31cfdf['uint32']());},_0x2cb42a['verify']=function(_0x1f9d0e){return'object'!=typeof _0x1f9d0e||null===_0x1f9d0e?'object\x20expected':null!=_0x1f9d0e['commentThreadId']&&_0x1f9d0e['hasOwnProperty']('commentThreadId')&&!_0x4bd92b['isString'](_0x1f9d0e['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1f9d0e['documentId']&&_0x1f9d0e['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x1f9d0e['documentId'])?'documentId:\x20string\x20expected':null!=_0x1f9d0e['resolvedAt']&&_0x1f9d0e['hasOwnProperty']('resolvedAt')&&!_0x4bd92b['isString'](_0x1f9d0e['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x1f9d0e['resolvedBy']&&_0x1f9d0e['hasOwnProperty']('resolvedBy')&&!_0x4bd92b['isString'](_0x1f9d0e['resolvedBy'])?'resolvedBy:\x20string\x20expected':null;},_0x2cb42a['fromObject']=function(_0x249598){if(_0x249598 instanceof _0x28a9ef['CommentsV2ResolveCommentThreadResponse'])return _0x249598;var _0x3dfc09=new _0x28a9ef['CommentsV2ResolveCommentThreadResponse']();return null!=_0x249598['commentThreadId']&&(_0x3dfc09['commentThreadId']=String(_0x249598['commentThreadId'])),null!=_0x249598['documentId']&&(_0x3dfc09['documentId']=String(_0x249598['documentId'])),null!=_0x249598['resolvedAt']&&(_0x3dfc09['resolvedAt']=String(_0x249598['resolvedAt'])),null!=_0x249598['resolvedBy']&&(_0x3dfc09['resolvedBy']=String(_0x249598['resolvedBy'])),_0x3dfc09;},_0x2cb42a['toObject']=function(_0x6f9d21,_0x285f63){_0x285f63||(_0x285f63={});var _0x1f091e={};return _0x285f63['defaults']&&(_0x1f091e['commentThreadId']='',_0x1f091e['documentId']='',_0x1f091e['resolvedAt']='',_0x1f091e['resolvedBy']=''),null!=_0x6f9d21['commentThreadId']&&_0x6f9d21['hasOwnProperty']('commentThreadId')&&(_0x1f091e['commentThreadId']=_0x6f9d21['commentThreadId']),null!=_0x6f9d21['documentId']&&_0x6f9d21['hasOwnProperty']('documentId')&&(_0x1f091e['documentId']=_0x6f9d21['documentId']),null!=_0x6f9d21['resolvedAt']&&_0x6f9d21['hasOwnProperty']('resolvedAt')&&(_0x1f091e['resolvedAt']=_0x6f9d21['resolvedAt']),null!=_0x6f9d21['resolvedBy']&&_0x6f9d21['hasOwnProperty']('resolvedBy')&&(_0x1f091e['resolvedBy']=_0x6f9d21['resolvedBy']),_0x1f091e;},_0x2cb42a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2cb42a['getTypeUrl']=function(_0x20346b){return void 0x0===_0x20346b&&(_0x20346b='type.googleapis.com'),_0x20346b+'/CommentsV2ResolveCommentThreadResponse';},_0x2cb42a;}()),_0x28a9ef['CommentsV2AddCommentThreadResponse']=(function(){function _0x4fe04d(_0x89985a){if(this['comments']=[],_0x89985a){for(var _0x44ed98=Object['keys'](_0x89985a),_0x501b3d=0x0;_0x501b3d<_0x44ed98['length'];++_0x501b3d)null!=_0x89985a[_0x44ed98[_0x501b3d]]&&(this[_0x44ed98[_0x501b3d]]=_0x89985a[_0x44ed98[_0x501b3d]]);}}return _0x4fe04d['prototype']['commentThreadId']='',_0x4fe04d['prototype']['createdAt']='',_0x4fe04d['prototype']['comments']=_0x4bd92b['emptyArray'],_0x4fe04d['create']=function(_0x29169c){return new _0x4fe04d(_0x29169c);},_0x4fe04d['encode']=function(_0x3b3a7d,_0x4b208d){if(_0x4b208d||(_0x4b208d=_0xd78662['create']()),null!=_0x3b3a7d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3b3a7d,'commentThreadId')&&_0x4b208d['uint32'](0xa)['string'](_0x3b3a7d['commentThreadId']),null!=_0x3b3a7d['createdAt']&&Object['hasOwnProperty']['call'](_0x3b3a7d,'createdAt')&&_0x4b208d['uint32'](0x12)['string'](_0x3b3a7d['createdAt']),null!=_0x3b3a7d['comments']&&_0x3b3a7d['comments']['length']){for(var _0x1b6ab4=0x0;_0x1b6ab4<_0x3b3a7d['comments']['length'];++_0x1b6ab4)_0x28a9ef['CommentThreadAddedCommentDescriptor']['encode'](_0x3b3a7d['comments'][_0x1b6ab4],_0x4b208d['uint32'](0x1a)['fork']())['ldelim']();}return _0x4b208d;},_0x4fe04d['encodeDelimited']=function(_0x409f48,_0x17213f){return this['encode'](_0x409f48,_0x17213f)['ldelim']();},_0x4fe04d['decode']=function(_0x4ab1bb,_0x377413,_0x5ccb10){_0x4ab1bb instanceof _0x4eb936||(_0x4ab1bb=_0x4eb936['create'](_0x4ab1bb));for(var _0x1bce30=void 0x0===_0x377413?_0x4ab1bb['len']:_0x4ab1bb['pos']+_0x377413,_0x5b41b2=new _0x28a9ef['CommentsV2AddCommentThreadResponse']();_0x4ab1bb['pos']<_0x1bce30;){var _0x134284=_0x4ab1bb['uint32']();if(_0x134284===_0x5ccb10)break;switch(_0x134284>>>0x3){case 0x1:_0x5b41b2['commentThreadId']=_0x4ab1bb['string']();break;case 0x2:_0x5b41b2['createdAt']=_0x4ab1bb['string']();break;case 0x3:_0x5b41b2['comments']&&_0x5b41b2['comments']['length']||(_0x5b41b2['comments']=[]),_0x5b41b2['comments']['push'](_0x28a9ef['CommentThreadAddedCommentDescriptor']['decode'](_0x4ab1bb,_0x4ab1bb['uint32']()));break;default:_0x4ab1bb['skipType'](0x7&_0x134284);}}return _0x5b41b2;},_0x4fe04d['decodeDelimited']=function(_0xa64c4b){return _0xa64c4b instanceof _0x4eb936||(_0xa64c4b=new _0x4eb936(_0xa64c4b)),this['decode'](_0xa64c4b,_0xa64c4b['uint32']());},_0x4fe04d['verify']=function(_0x3488f5){if('object'!=typeof _0x3488f5||null===_0x3488f5)return'object\x20expected';if(null!=_0x3488f5['commentThreadId']&&_0x3488f5['hasOwnProperty']('commentThreadId')&&!_0x4bd92b['isString'](_0x3488f5['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3488f5['createdAt']&&_0x3488f5['hasOwnProperty']('createdAt')&&!_0x4bd92b['isString'](_0x3488f5['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x3488f5['comments']&&_0x3488f5['hasOwnProperty']('comments')){if(!Array['isArray'](_0x3488f5['comments']))return'comments:\x20array\x20expected';for(var _0xc20e94=0x0;_0xc20e94<_0x3488f5['comments']['length'];++_0xc20e94){var _0x21431b=_0x28a9ef['CommentThreadAddedCommentDescriptor']['verify'](_0x3488f5['comments'][_0xc20e94]);if(_0x21431b)return'comments.'+_0x21431b;}}return null;},_0x4fe04d['fromObject']=function(_0x46f48b){if(_0x46f48b instanceof _0x28a9ef['CommentsV2AddCommentThreadResponse'])return _0x46f48b;var _0x35155e=new _0x28a9ef['CommentsV2AddCommentThreadResponse']();if(null!=_0x46f48b['commentThreadId']&&(_0x35155e['commentThreadId']=String(_0x46f48b['commentThreadId'])),null!=_0x46f48b['createdAt']&&(_0x35155e['createdAt']=String(_0x46f48b['createdAt'])),_0x46f48b['comments']){if(!Array['isArray'](_0x46f48b['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x35155e['comments']=[];for(var _0x42f561=0x0;_0x42f561<_0x46f48b['comments']['length'];++_0x42f561){if('object'!=typeof _0x46f48b['comments'][_0x42f561])throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x35155e['comments'][_0x42f561]=_0x28a9ef['CommentThreadAddedCommentDescriptor']['fromObject'](_0x46f48b['comments'][_0x42f561]);}}return _0x35155e;},_0x4fe04d['toObject']=function(_0x552988,_0xd6a01a){_0xd6a01a||(_0xd6a01a={});var _0x3ad293={};if((_0xd6a01a['arrays']||_0xd6a01a['defaults'])&&(_0x3ad293['comments']=[]),_0xd6a01a['defaults']&&(_0x3ad293['commentThreadId']='',_0x3ad293['createdAt']=''),null!=_0x552988['commentThreadId']&&_0x552988['hasOwnProperty']('commentThreadId')&&(_0x3ad293['commentThreadId']=_0x552988['commentThreadId']),null!=_0x552988['createdAt']&&_0x552988['hasOwnProperty']('createdAt')&&(_0x3ad293['createdAt']=_0x552988['createdAt']),_0x552988['comments']&&_0x552988['comments']['length']){_0x3ad293['comments']=[];for(var _0x4d22a8=0x0;_0x4d22a8<_0x552988['comments']['length'];++_0x4d22a8)_0x3ad293['comments'][_0x4d22a8]=_0x28a9ef['CommentThreadAddedCommentDescriptor']['toObject'](_0x552988['comments'][_0x4d22a8],_0xd6a01a);}return _0x3ad293;},_0x4fe04d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4fe04d['getTypeUrl']=function(_0x12e108){return void 0x0===_0x12e108&&(_0x12e108='type.googleapis.com'),_0x12e108+'/CommentsV2AddCommentThreadResponse';},_0x4fe04d;}()),_0x28a9ef['CommentsV2UpdateCommentMessage']=(function(){function _0x24cef2(_0x4260e8){if(_0x4260e8){for(var _0x2ad6fe=Object['keys'](_0x4260e8),_0x563006=0x0;_0x563006<_0x2ad6fe['length'];++_0x563006)null!=_0x4260e8[_0x2ad6fe[_0x563006]]&&(this[_0x2ad6fe[_0x563006]]=_0x4260e8[_0x2ad6fe[_0x563006]]);}}return _0x24cef2['prototype']['commentThreadId']='',_0x24cef2['prototype']['commentId']='',_0x24cef2['prototype']['content']='',_0x24cef2['prototype']['documentId']='',_0x24cef2['prototype']['attributes']='',_0x24cef2['prototype']['isAttributesUpdated']=!0x1,_0x24cef2['prototype']['commentThread']=null,_0x24cef2['create']=function(_0x103356){return new _0x24cef2(_0x103356);},_0x24cef2['encode']=function(_0x29c56b,_0x10efb8){return _0x10efb8||(_0x10efb8=_0xd78662['create']()),null!=_0x29c56b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x29c56b,'commentThreadId')&&_0x10efb8['uint32'](0xa)['string'](_0x29c56b['commentThreadId']),null!=_0x29c56b['commentId']&&Object['hasOwnProperty']['call'](_0x29c56b,'commentId')&&_0x10efb8['uint32'](0x12)['string'](_0x29c56b['commentId']),null!=_0x29c56b['content']&&Object['hasOwnProperty']['call'](_0x29c56b,'content')&&_0x10efb8['uint32'](0x1a)['string'](_0x29c56b['content']),null!=_0x29c56b['documentId']&&Object['hasOwnProperty']['call'](_0x29c56b,'documentId')&&_0x10efb8['uint32'](0x22)['string'](_0x29c56b['documentId']),null!=_0x29c56b['attributes']&&Object['hasOwnProperty']['call'](_0x29c56b,'attributes')&&_0x10efb8['uint32'](0x2a)['string'](_0x29c56b['attributes']),null!=_0x29c56b['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x29c56b,'isAttributesUpdated')&&_0x10efb8['uint32'](0x30)['bool'](_0x29c56b['isAttributesUpdated']),null!=_0x29c56b['commentThread']&&Object['hasOwnProperty']['call'](_0x29c56b,'commentThread')&&_0x28a9ef['CommentsThreadDescriptor']['encode'](_0x29c56b['commentThread'],_0x10efb8['uint32'](0x3a)['fork']())['ldelim'](),_0x10efb8;},_0x24cef2['encodeDelimited']=function(_0x549c09,_0x5e0f89){return this['encode'](_0x549c09,_0x5e0f89)['ldelim']();},_0x24cef2['decode']=function(_0x18974a,_0xf7033c,_0x32b71f){_0x18974a instanceof _0x4eb936||(_0x18974a=_0x4eb936['create'](_0x18974a));for(var _0x31f0c7=void 0x0===_0xf7033c?_0x18974a['len']:_0x18974a['pos']+_0xf7033c,_0x5a6db1=new _0x28a9ef['CommentsV2UpdateCommentMessage']();_0x18974a['pos']<_0x31f0c7;){var _0x29b647=_0x18974a['uint32']();if(_0x29b647===_0x32b71f)break;switch(_0x29b647>>>0x3){case 0x1:_0x5a6db1['commentThreadId']=_0x18974a['string']();break;case 0x2:_0x5a6db1['commentId']=_0x18974a['string']();break;case 0x3:_0x5a6db1['content']=_0x18974a['string']();break;case 0x4:_0x5a6db1['documentId']=_0x18974a['string']();break;case 0x5:_0x5a6db1['attributes']=_0x18974a['string']();break;case 0x6:_0x5a6db1['isAttributesUpdated']=_0x18974a['bool']();break;case 0x7:_0x5a6db1['commentThread']=_0x28a9ef['CommentsThreadDescriptor']['decode'](_0x18974a,_0x18974a['uint32']());break;default:_0x18974a['skipType'](0x7&_0x29b647);}}return _0x5a6db1;},_0x24cef2['decodeDelimited']=function(_0x58576b){return _0x58576b instanceof _0x4eb936||(_0x58576b=new _0x4eb936(_0x58576b)),this['decode'](_0x58576b,_0x58576b['uint32']());},_0x24cef2['verify']=function(_0x3c164c){if('object'!=typeof _0x3c164c||null===_0x3c164c)return'object\x20expected';if(null!=_0x3c164c['commentThreadId']&&_0x3c164c['hasOwnProperty']('commentThreadId')&&!_0x4bd92b['isString'](_0x3c164c['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3c164c['commentId']&&_0x3c164c['hasOwnProperty']('commentId')&&!_0x4bd92b['isString'](_0x3c164c['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x3c164c['content']&&_0x3c164c['hasOwnProperty']('content')&&!_0x4bd92b['isString'](_0x3c164c['content']))return'content:\x20string\x20expected';if(null!=_0x3c164c['documentId']&&_0x3c164c['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x3c164c['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x3c164c['attributes']&&_0x3c164c['hasOwnProperty']('attributes')&&!_0x4bd92b['isString'](_0x3c164c['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x3c164c['isAttributesUpdated']&&_0x3c164c['hasOwnProperty']('isAttributesUpdated')&&'boolean'!=typeof _0x3c164c['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x3c164c['commentThread']&&_0x3c164c['hasOwnProperty']('commentThread')){var _0x23211f=_0x28a9ef['CommentsThreadDescriptor']['verify'](_0x3c164c['commentThread']);if(_0x23211f)return'commentThread.'+_0x23211f;}return null;},_0x24cef2['fromObject']=function(_0x39045c){if(_0x39045c instanceof _0x28a9ef['CommentsV2UpdateCommentMessage'])return _0x39045c;var _0x31d098=new _0x28a9ef['CommentsV2UpdateCommentMessage']();if(null!=_0x39045c['commentThreadId']&&(_0x31d098['commentThreadId']=String(_0x39045c['commentThreadId'])),null!=_0x39045c['commentId']&&(_0x31d098['commentId']=String(_0x39045c['commentId'])),null!=_0x39045c['content']&&(_0x31d098['content']=String(_0x39045c['content'])),null!=_0x39045c['documentId']&&(_0x31d098['documentId']=String(_0x39045c['documentId'])),null!=_0x39045c['attributes']&&(_0x31d098['attributes']=String(_0x39045c['attributes'])),null!=_0x39045c['isAttributesUpdated']&&(_0x31d098['isAttributesUpdated']=Boolean(_0x39045c['isAttributesUpdated'])),null!=_0x39045c['commentThread']){if('object'!=typeof _0x39045c['commentThread'])throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x31d098['commentThread']=_0x28a9ef['CommentsThreadDescriptor']['fromObject'](_0x39045c['commentThread']);}return _0x31d098;},_0x24cef2['toObject']=function(_0x5be14e,_0x2ba02c){_0x2ba02c||(_0x2ba02c={});var _0x42d17c={};return _0x2ba02c['defaults']&&(_0x42d17c['commentThreadId']='',_0x42d17c['commentId']='',_0x42d17c['content']='',_0x42d17c['documentId']='',_0x42d17c['attributes']='',_0x42d17c['isAttributesUpdated']=!0x1,_0x42d17c['commentThread']=null),null!=_0x5be14e['commentThreadId']&&_0x5be14e['hasOwnProperty']('commentThreadId')&&(_0x42d17c['commentThreadId']=_0x5be14e['commentThreadId']),null!=_0x5be14e['commentId']&&_0x5be14e['hasOwnProperty']('commentId')&&(_0x42d17c['commentId']=_0x5be14e['commentId']),null!=_0x5be14e['content']&&_0x5be14e['hasOwnProperty']('content')&&(_0x42d17c['content']=_0x5be14e['content']),null!=_0x5be14e['documentId']&&_0x5be14e['hasOwnProperty']('documentId')&&(_0x42d17c['documentId']=_0x5be14e['documentId']),null!=_0x5be14e['attributes']&&_0x5be14e['hasOwnProperty']('attributes')&&(_0x42d17c['attributes']=_0x5be14e['attributes']),null!=_0x5be14e['isAttributesUpdated']&&_0x5be14e['hasOwnProperty']('isAttributesUpdated')&&(_0x42d17c['isAttributesUpdated']=_0x5be14e['isAttributesUpdated']),null!=_0x5be14e['commentThread']&&_0x5be14e['hasOwnProperty']('commentThread')&&(_0x42d17c['commentThread']=_0x28a9ef['CommentsThreadDescriptor']['toObject'](_0x5be14e['commentThread'],_0x2ba02c)),_0x42d17c;},_0x24cef2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x24cef2['getTypeUrl']=function(_0x512376){return void 0x0===_0x512376&&(_0x512376='type.googleapis.com'),_0x512376+'/CommentsV2UpdateCommentMessage';},_0x24cef2;}()),_0x28a9ef['CommentsV2RemoveCommentThreadMessage']=(function(){function _0xca789c(_0x3f76f2){if(_0x3f76f2){for(var _0x580387=Object['keys'](_0x3f76f2),_0x3cd4c9=0x0;_0x3cd4c9<_0x580387['length'];++_0x3cd4c9)null!=_0x3f76f2[_0x580387[_0x3cd4c9]]&&(this[_0x580387[_0x3cd4c9]]=_0x3f76f2[_0x580387[_0x3cd4c9]]);}}return _0xca789c['prototype']['commentThreadId']='',_0xca789c['prototype']['documentId']='',_0xca789c['create']=function(_0x3e4896){return new _0xca789c(_0x3e4896);},_0xca789c['encode']=function(_0x260d95,_0x35847f){return _0x35847f||(_0x35847f=_0xd78662['create']()),null!=_0x260d95['commentThreadId']&&Object['hasOwnProperty']['call'](_0x260d95,'commentThreadId')&&_0x35847f['uint32'](0xa)['string'](_0x260d95['commentThreadId']),null!=_0x260d95['documentId']&&Object['hasOwnProperty']['call'](_0x260d95,'documentId')&&_0x35847f['uint32'](0x12)['string'](_0x260d95['documentId']),_0x35847f;},_0xca789c['encodeDelimited']=function(_0x1e194c,_0x45c83e){return this['encode'](_0x1e194c,_0x45c83e)['ldelim']();},_0xca789c['decode']=function(_0x1b9b79,_0x3fa71b,_0x48ff75){_0x1b9b79 instanceof _0x4eb936||(_0x1b9b79=_0x4eb936['create'](_0x1b9b79));for(var _0x1cbcbc=void 0x0===_0x3fa71b?_0x1b9b79['len']:_0x1b9b79['pos']+_0x3fa71b,_0x11c048=new _0x28a9ef['CommentsV2RemoveCommentThreadMessage']();_0x1b9b79['pos']<_0x1cbcbc;){var _0x3f5700=_0x1b9b79['uint32']();if(_0x3f5700===_0x48ff75)break;switch(_0x3f5700>>>0x3){case 0x1:_0x11c048['commentThreadId']=_0x1b9b79['string']();break;case 0x2:_0x11c048['documentId']=_0x1b9b79['string']();break;default:_0x1b9b79['skipType'](0x7&_0x3f5700);}}return _0x11c048;},_0xca789c['decodeDelimited']=function(_0x954da6){return _0x954da6 instanceof _0x4eb936||(_0x954da6=new _0x4eb936(_0x954da6)),this['decode'](_0x954da6,_0x954da6['uint32']());},_0xca789c['verify']=function(_0x51b774){return'object'!=typeof _0x51b774||null===_0x51b774?'object\x20expected':null!=_0x51b774['commentThreadId']&&_0x51b774['hasOwnProperty']('commentThreadId')&&!_0x4bd92b['isString'](_0x51b774['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x51b774['documentId']&&_0x51b774['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x51b774['documentId'])?'documentId:\x20string\x20expected':null;},_0xca789c['fromObject']=function(_0x4d3e21){if(_0x4d3e21 instanceof _0x28a9ef['CommentsV2RemoveCommentThreadMessage'])return _0x4d3e21;var _0x5382ca=new _0x28a9ef['CommentsV2RemoveCommentThreadMessage']();return null!=_0x4d3e21['commentThreadId']&&(_0x5382ca['commentThreadId']=String(_0x4d3e21['commentThreadId'])),null!=_0x4d3e21['documentId']&&(_0x5382ca['documentId']=String(_0x4d3e21['documentId'])),_0x5382ca;},_0xca789c['toObject']=function(_0x2aa831,_0x4ac38d){_0x4ac38d||(_0x4ac38d={});var _0x9950d2={};return _0x4ac38d['defaults']&&(_0x9950d2['commentThreadId']='',_0x9950d2['documentId']=''),null!=_0x2aa831['commentThreadId']&&_0x2aa831['hasOwnProperty']('commentThreadId')&&(_0x9950d2['commentThreadId']=_0x2aa831['commentThreadId']),null!=_0x2aa831['documentId']&&_0x2aa831['hasOwnProperty']('documentId')&&(_0x9950d2['documentId']=_0x2aa831['documentId']),_0x9950d2;},_0xca789c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xca789c['getTypeUrl']=function(_0xa14d7e){return void 0x0===_0xa14d7e&&(_0xa14d7e='type.googleapis.com'),_0xa14d7e+'/CommentsV2RemoveCommentThreadMessage';},_0xca789c;}()),_0x28a9ef['CommentsV2RemoveCommentMessage']=(function(){function _0x13f3fd(_0x4de722){if(_0x4de722){for(var _0x419dc9=Object['keys'](_0x4de722),_0x2f776b=0x0;_0x2f776b<_0x419dc9['length'];++_0x2f776b)null!=_0x4de722[_0x419dc9[_0x2f776b]]&&(this[_0x419dc9[_0x2f776b]]=_0x4de722[_0x419dc9[_0x2f776b]]);}}return _0x13f3fd['prototype']['commentThreadId']='',_0x13f3fd['prototype']['commentId']='',_0x13f3fd['prototype']['documentId']='',_0x13f3fd['create']=function(_0x16abc9){return new _0x13f3fd(_0x16abc9);},_0x13f3fd['encode']=function(_0x3e73f3,_0x2c7059){return _0x2c7059||(_0x2c7059=_0xd78662['create']()),null!=_0x3e73f3['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3e73f3,'commentThreadId')&&_0x2c7059['uint32'](0xa)['string'](_0x3e73f3['commentThreadId']),null!=_0x3e73f3['commentId']&&Object['hasOwnProperty']['call'](_0x3e73f3,'commentId')&&_0x2c7059['uint32'](0x12)['string'](_0x3e73f3['commentId']),null!=_0x3e73f3['documentId']&&Object['hasOwnProperty']['call'](_0x3e73f3,'documentId')&&_0x2c7059['uint32'](0x1a)['string'](_0x3e73f3['documentId']),_0x2c7059;},_0x13f3fd['encodeDelimited']=function(_0x233744,_0x147972){return this['encode'](_0x233744,_0x147972)['ldelim']();},_0x13f3fd['decode']=function(_0x5c3b43,_0x5a1649,_0x5ab97a){_0x5c3b43 instanceof _0x4eb936||(_0x5c3b43=_0x4eb936['create'](_0x5c3b43));for(var _0x314d73=void 0x0===_0x5a1649?_0x5c3b43['len']:_0x5c3b43['pos']+_0x5a1649,_0x3df45a=new _0x28a9ef['CommentsV2RemoveCommentMessage']();_0x5c3b43['pos']<_0x314d73;){var _0x3f03ca=_0x5c3b43['uint32']();if(_0x3f03ca===_0x5ab97a)break;switch(_0x3f03ca>>>0x3){case 0x1:_0x3df45a['commentThreadId']=_0x5c3b43['string']();break;case 0x2:_0x3df45a['commentId']=_0x5c3b43['string']();break;case 0x3:_0x3df45a['documentId']=_0x5c3b43['string']();break;default:_0x5c3b43['skipType'](0x7&_0x3f03ca);}}return _0x3df45a;},_0x13f3fd['decodeDelimited']=function(_0xa6a8bf){return _0xa6a8bf instanceof _0x4eb936||(_0xa6a8bf=new _0x4eb936(_0xa6a8bf)),this['decode'](_0xa6a8bf,_0xa6a8bf['uint32']());},_0x13f3fd['verify']=function(_0x2e2680){return'object'!=typeof _0x2e2680||null===_0x2e2680?'object\x20expected':null!=_0x2e2680['commentThreadId']&&_0x2e2680['hasOwnProperty']('commentThreadId')&&!_0x4bd92b['isString'](_0x2e2680['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x2e2680['commentId']&&_0x2e2680['hasOwnProperty']('commentId')&&!_0x4bd92b['isString'](_0x2e2680['commentId'])?'commentId:\x20string\x20expected':null!=_0x2e2680['documentId']&&_0x2e2680['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x2e2680['documentId'])?'documentId:\x20string\x20expected':null;},_0x13f3fd['fromObject']=function(_0x1d4b32){if(_0x1d4b32 instanceof _0x28a9ef['CommentsV2RemoveCommentMessage'])return _0x1d4b32;var _0x4b0dab=new _0x28a9ef['CommentsV2RemoveCommentMessage']();return null!=_0x1d4b32['commentThreadId']&&(_0x4b0dab['commentThreadId']=String(_0x1d4b32['commentThreadId'])),null!=_0x1d4b32['commentId']&&(_0x4b0dab['commentId']=String(_0x1d4b32['commentId'])),null!=_0x1d4b32['documentId']&&(_0x4b0dab['documentId']=String(_0x1d4b32['documentId'])),_0x4b0dab;},_0x13f3fd['toObject']=function(_0x249810,_0x136832){_0x136832||(_0x136832={});var _0x1bd446={};return _0x136832['defaults']&&(_0x1bd446['commentThreadId']='',_0x1bd446['commentId']='',_0x1bd446['documentId']=''),null!=_0x249810['commentThreadId']&&_0x249810['hasOwnProperty']('commentThreadId')&&(_0x1bd446['commentThreadId']=_0x249810['commentThreadId']),null!=_0x249810['commentId']&&_0x249810['hasOwnProperty']('commentId')&&(_0x1bd446['commentId']=_0x249810['commentId']),null!=_0x249810['documentId']&&_0x249810['hasOwnProperty']('documentId')&&(_0x1bd446['documentId']=_0x249810['documentId']),_0x1bd446;},_0x13f3fd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x13f3fd['getTypeUrl']=function(_0x511155){return void 0x0===_0x511155&&(_0x511155='type.googleapis.com'),_0x511155+'/CommentsV2RemoveCommentMessage';},_0x13f3fd;}()),_0x28a9ef['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x260e87(_0x50b4a8){if(_0x50b4a8){for(var _0x556679=Object['keys'](_0x50b4a8),_0x1eb170=0x0;_0x1eb170<_0x556679['length'];++_0x1eb170)null!=_0x50b4a8[_0x556679[_0x1eb170]]&&(this[_0x556679[_0x1eb170]]=_0x50b4a8[_0x556679[_0x1eb170]]);}}return _0x260e87['prototype']['documentId']='',_0x260e87['create']=function(_0x1f33d4){return new _0x260e87(_0x1f33d4);},_0x260e87['encode']=function(_0x381fea,_0x35cc20){return _0x35cc20||(_0x35cc20=_0xd78662['create']()),null!=_0x381fea['documentId']&&Object['hasOwnProperty']['call'](_0x381fea,'documentId')&&_0x35cc20['uint32'](0xa)['string'](_0x381fea['documentId']),_0x35cc20;},_0x260e87['encodeDelimited']=function(_0x478b32,_0x48599d){return this['encode'](_0x478b32,_0x48599d)['ldelim']();},_0x260e87['decode']=function(_0xfeb27e,_0x43d119,_0x344615){_0xfeb27e instanceof _0x4eb936||(_0xfeb27e=_0x4eb936['create'](_0xfeb27e));for(var _0x2ad762=void 0x0===_0x43d119?_0xfeb27e['len']:_0xfeb27e['pos']+_0x43d119,_0x36d945=new _0x28a9ef['CommentsV2GetDocumentThreadsMessage']();_0xfeb27e['pos']<_0x2ad762;){var _0x5a1f9b=_0xfeb27e['uint32']();if(_0x5a1f9b===_0x344615)break;_0x5a1f9b>>>0x3==0x1?_0x36d945['documentId']=_0xfeb27e['string']():_0xfeb27e['skipType'](0x7&_0x5a1f9b);}return _0x36d945;},_0x260e87['decodeDelimited']=function(_0x2a194a){return _0x2a194a instanceof _0x4eb936||(_0x2a194a=new _0x4eb936(_0x2a194a)),this['decode'](_0x2a194a,_0x2a194a['uint32']());},_0x260e87['verify']=function(_0x4ada72){return'object'!=typeof _0x4ada72||null===_0x4ada72?'object\x20expected':null!=_0x4ada72['documentId']&&_0x4ada72['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x4ada72['documentId'])?'documentId:\x20string\x20expected':null;},_0x260e87['fromObject']=function(_0x219d95){if(_0x219d95 instanceof _0x28a9ef['CommentsV2GetDocumentThreadsMessage'])return _0x219d95;var _0xb50d3a=new _0x28a9ef['CommentsV2GetDocumentThreadsMessage']();return null!=_0x219d95['documentId']&&(_0xb50d3a['documentId']=String(_0x219d95['documentId'])),_0xb50d3a;},_0x260e87['toObject']=function(_0x58649f,_0xe82686){_0xe82686||(_0xe82686={});var _0x4a9543={};return _0xe82686['defaults']&&(_0x4a9543['documentId']=''),null!=_0x58649f['documentId']&&_0x58649f['hasOwnProperty']('documentId')&&(_0x4a9543['documentId']=_0x58649f['documentId']),_0x4a9543;},_0x260e87['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x260e87['getTypeUrl']=function(_0x5c8ef4){return void 0x0===_0x5c8ef4&&(_0x5c8ef4='type.googleapis.com'),_0x5c8ef4+'/CommentsV2GetDocumentThreadsMessage';},_0x260e87;}()),_0x28a9ef['CommentsV2GetCommentThreadMessage']=(function(){function _0x767ca1(_0x52e02e){if(_0x52e02e){for(var _0x27c19d=Object['keys'](_0x52e02e),_0x24e32a=0x0;_0x24e32a<_0x27c19d['length'];++_0x24e32a)null!=_0x52e02e[_0x27c19d[_0x24e32a]]&&(this[_0x27c19d[_0x24e32a]]=_0x52e02e[_0x27c19d[_0x24e32a]]);}}return _0x767ca1['prototype']['commentThreadId']='',_0x767ca1['prototype']['documentId']='',_0x767ca1['create']=function(_0x1dd2ad){return new _0x767ca1(_0x1dd2ad);},_0x767ca1['encode']=function(_0x6461e3,_0x26fb44){return _0x26fb44||(_0x26fb44=_0xd78662['create']()),null!=_0x6461e3['commentThreadId']&&Object['hasOwnProperty']['call'](_0x6461e3,'commentThreadId')&&_0x26fb44['uint32'](0xa)['string'](_0x6461e3['commentThreadId']),null!=_0x6461e3['documentId']&&Object['hasOwnProperty']['call'](_0x6461e3,'documentId')&&_0x26fb44['uint32'](0x12)['string'](_0x6461e3['documentId']),_0x26fb44;},_0x767ca1['encodeDelimited']=function(_0x10c6f3,_0x25f5ea){return this['encode'](_0x10c6f3,_0x25f5ea)['ldelim']();},_0x767ca1['decode']=function(_0x5c2c54,_0x1bf36c,_0x3327d5){_0x5c2c54 instanceof _0x4eb936||(_0x5c2c54=_0x4eb936['create'](_0x5c2c54));for(var _0x5e4a76=void 0x0===_0x1bf36c?_0x5c2c54['len']:_0x5c2c54['pos']+_0x1bf36c,_0x399906=new _0x28a9ef['CommentsV2GetCommentThreadMessage']();_0x5c2c54['pos']<_0x5e4a76;){var _0x1a21b4=_0x5c2c54['uint32']();if(_0x1a21b4===_0x3327d5)break;switch(_0x1a21b4>>>0x3){case 0x1:_0x399906['commentThreadId']=_0x5c2c54['string']();break;case 0x2:_0x399906['documentId']=_0x5c2c54['string']();break;default:_0x5c2c54['skipType'](0x7&_0x1a21b4);}}return _0x399906;},_0x767ca1['decodeDelimited']=function(_0x9bd1e3){return _0x9bd1e3 instanceof _0x4eb936||(_0x9bd1e3=new _0x4eb936(_0x9bd1e3)),this['decode'](_0x9bd1e3,_0x9bd1e3['uint32']());},_0x767ca1['verify']=function(_0x48dc72){return'object'!=typeof _0x48dc72||null===_0x48dc72?'object\x20expected':null!=_0x48dc72['commentThreadId']&&_0x48dc72['hasOwnProperty']('commentThreadId')&&!_0x4bd92b['isString'](_0x48dc72['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x48dc72['documentId']&&_0x48dc72['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x48dc72['documentId'])?'documentId:\x20string\x20expected':null;},_0x767ca1['fromObject']=function(_0xcba3c){if(_0xcba3c instanceof _0x28a9ef['CommentsV2GetCommentThreadMessage'])return _0xcba3c;var _0x3f22f5=new _0x28a9ef['CommentsV2GetCommentThreadMessage']();return null!=_0xcba3c['commentThreadId']&&(_0x3f22f5['commentThreadId']=String(_0xcba3c['commentThreadId'])),null!=_0xcba3c['documentId']&&(_0x3f22f5['documentId']=String(_0xcba3c['documentId'])),_0x3f22f5;},_0x767ca1['toObject']=function(_0x4a101e,_0x56a916){_0x56a916||(_0x56a916={});var _0x15d980={};return _0x56a916['defaults']&&(_0x15d980['commentThreadId']='',_0x15d980['documentId']=''),null!=_0x4a101e['commentThreadId']&&_0x4a101e['hasOwnProperty']('commentThreadId')&&(_0x15d980['commentThreadId']=_0x4a101e['commentThreadId']),null!=_0x4a101e['documentId']&&_0x4a101e['hasOwnProperty']('documentId')&&(_0x15d980['documentId']=_0x4a101e['documentId']),_0x15d980;},_0x767ca1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x767ca1['getTypeUrl']=function(_0x48b15f){return void 0x0===_0x48b15f&&(_0x48b15f='type.googleapis.com'),_0x48b15f+'/CommentsV2GetCommentThreadMessage';},_0x767ca1;}()),_0x28a9ef['CommentsV2ConnectMessage']=(function(){function _0x2a0011(_0x5ef280){if(_0x5ef280){for(var _0x36d329=Object['keys'](_0x5ef280),_0x2e78f8=0x0;_0x2e78f8<_0x36d329['length'];++_0x2e78f8)null!=_0x5ef280[_0x36d329[_0x2e78f8]]&&(this[_0x36d329[_0x2e78f8]]=_0x5ef280[_0x36d329[_0x2e78f8]]);}}return _0x2a0011['prototype']['documentId']='',_0x2a0011['create']=function(_0x4ac717){return new _0x2a0011(_0x4ac717);},_0x2a0011['encode']=function(_0x479467,_0x4fbffc){return _0x4fbffc||(_0x4fbffc=_0xd78662['create']()),null!=_0x479467['documentId']&&Object['hasOwnProperty']['call'](_0x479467,'documentId')&&_0x4fbffc['uint32'](0xa)['string'](_0x479467['documentId']),_0x4fbffc;},_0x2a0011['encodeDelimited']=function(_0x1c17a9,_0x381a53){return this['encode'](_0x1c17a9,_0x381a53)['ldelim']();},_0x2a0011['decode']=function(_0x5a74f6,_0x3f5997,_0x4c0dd7){_0x5a74f6 instanceof _0x4eb936||(_0x5a74f6=_0x4eb936['create'](_0x5a74f6));for(var _0x24d761=void 0x0===_0x3f5997?_0x5a74f6['len']:_0x5a74f6['pos']+_0x3f5997,_0x56e83c=new _0x28a9ef['CommentsV2ConnectMessage']();_0x5a74f6['pos']<_0x24d761;){var _0x283d00=_0x5a74f6['uint32']();if(_0x283d00===_0x4c0dd7)break;_0x283d00>>>0x3==0x1?_0x56e83c['documentId']=_0x5a74f6['string']():_0x5a74f6['skipType'](0x7&_0x283d00);}return _0x56e83c;},_0x2a0011['decodeDelimited']=function(_0x40e24f){return _0x40e24f instanceof _0x4eb936||(_0x40e24f=new _0x4eb936(_0x40e24f)),this['decode'](_0x40e24f,_0x40e24f['uint32']());},_0x2a0011['verify']=function(_0x3bd050){return'object'!=typeof _0x3bd050||null===_0x3bd050?'object\x20expected':null!=_0x3bd050['documentId']&&_0x3bd050['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x3bd050['documentId'])?'documentId:\x20string\x20expected':null;},_0x2a0011['fromObject']=function(_0xde4d91){if(_0xde4d91 instanceof _0x28a9ef['CommentsV2ConnectMessage'])return _0xde4d91;var _0xbf224a=new _0x28a9ef['CommentsV2ConnectMessage']();return null!=_0xde4d91['documentId']&&(_0xbf224a['documentId']=String(_0xde4d91['documentId'])),_0xbf224a;},_0x2a0011['toObject']=function(_0x3e2644,_0x5b20b3){_0x5b20b3||(_0x5b20b3={});var _0x1aaeaa={};return _0x5b20b3['defaults']&&(_0x1aaeaa['documentId']=''),null!=_0x3e2644['documentId']&&_0x3e2644['hasOwnProperty']('documentId')&&(_0x1aaeaa['documentId']=_0x3e2644['documentId']),_0x1aaeaa;},_0x2a0011['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2a0011['getTypeUrl']=function(_0x3760e0){return void 0x0===_0x3760e0&&(_0x3760e0='type.googleapis.com'),_0x3760e0+'/CommentsV2ConnectMessage';},_0x2a0011;}()),_0x28a9ef['CommentsV2AddCommentMessage']=(function(){function _0x3b86b9(_0x55879e){if(_0x55879e){for(var _0x2a5816=Object['keys'](_0x55879e),_0x59bafd=0x0;_0x59bafd<_0x2a5816['length'];++_0x59bafd)null!=_0x55879e[_0x2a5816[_0x59bafd]]&&(this[_0x2a5816[_0x59bafd]]=_0x55879e[_0x2a5816[_0x59bafd]]);}}return _0x3b86b9['prototype']['commentThreadId']='',_0x3b86b9['prototype']['content']='',_0x3b86b9['prototype']['documentId']='',_0x3b86b9['prototype']['commentId']='',_0x3b86b9['prototype']['createdAt']='',_0x3b86b9['prototype']['userId']='',_0x3b86b9['prototype']['attributes']='',_0x3b86b9['prototype']['commentThread']=null,_0x3b86b9['create']=function(_0x371e9b){return new _0x3b86b9(_0x371e9b);},_0x3b86b9['encode']=function(_0x4479e6,_0x2f90c3){return _0x2f90c3||(_0x2f90c3=_0xd78662['create']()),null!=_0x4479e6['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4479e6,'commentThreadId')&&_0x2f90c3['uint32'](0xa)['string'](_0x4479e6['commentThreadId']),null!=_0x4479e6['content']&&Object['hasOwnProperty']['call'](_0x4479e6,'content')&&_0x2f90c3['uint32'](0x12)['string'](_0x4479e6['content']),null!=_0x4479e6['documentId']&&Object['hasOwnProperty']['call'](_0x4479e6,'documentId')&&_0x2f90c3['uint32'](0x1a)['string'](_0x4479e6['documentId']),null!=_0x4479e6['commentId']&&Object['hasOwnProperty']['call'](_0x4479e6,'commentId')&&_0x2f90c3['uint32'](0x22)['string'](_0x4479e6['commentId']),null!=_0x4479e6['createdAt']&&Object['hasOwnProperty']['call'](_0x4479e6,'createdAt')&&_0x2f90c3['uint32'](0x2a)['string'](_0x4479e6['createdAt']),null!=_0x4479e6['userId']&&Object['hasOwnProperty']['call'](_0x4479e6,'userId')&&_0x2f90c3['uint32'](0x32)['string'](_0x4479e6['userId']),null!=_0x4479e6['attributes']&&Object['hasOwnProperty']['call'](_0x4479e6,'attributes')&&_0x2f90c3['uint32'](0x3a)['string'](_0x4479e6['attributes']),null!=_0x4479e6['commentThread']&&Object['hasOwnProperty']['call'](_0x4479e6,'commentThread')&&_0x28a9ef['CommentsThreadDescriptor']['encode'](_0x4479e6['commentThread'],_0x2f90c3['uint32'](0x42)['fork']())['ldelim'](),_0x2f90c3;},_0x3b86b9['encodeDelimited']=function(_0x170e4c,_0x9583e0){return this['encode'](_0x170e4c,_0x9583e0)['ldelim']();},_0x3b86b9['decode']=function(_0x37661c,_0x575443,_0x558f62){_0x37661c instanceof _0x4eb936||(_0x37661c=_0x4eb936['create'](_0x37661c));for(var _0xdff504=void 0x0===_0x575443?_0x37661c['len']:_0x37661c['pos']+_0x575443,_0x8f74d4=new _0x28a9ef['CommentsV2AddCommentMessage']();_0x37661c['pos']<_0xdff504;){var _0x47818a=_0x37661c['uint32']();if(_0x47818a===_0x558f62)break;switch(_0x47818a>>>0x3){case 0x1:_0x8f74d4['commentThreadId']=_0x37661c['string']();break;case 0x2:_0x8f74d4['content']=_0x37661c['string']();break;case 0x3:_0x8f74d4['documentId']=_0x37661c['string']();break;case 0x4:_0x8f74d4['commentId']=_0x37661c['string']();break;case 0x5:_0x8f74d4['createdAt']=_0x37661c['string']();break;case 0x6:_0x8f74d4['userId']=_0x37661c['string']();break;case 0x7:_0x8f74d4['attributes']=_0x37661c['string']();break;case 0x8:_0x8f74d4['commentThread']=_0x28a9ef['CommentsThreadDescriptor']['decode'](_0x37661c,_0x37661c['uint32']());break;default:_0x37661c['skipType'](0x7&_0x47818a);}}return _0x8f74d4;},_0x3b86b9['decodeDelimited']=function(_0x29d3f7){return _0x29d3f7 instanceof _0x4eb936||(_0x29d3f7=new _0x4eb936(_0x29d3f7)),this['decode'](_0x29d3f7,_0x29d3f7['uint32']());},_0x3b86b9['verify']=function(_0x3313dd){if('object'!=typeof _0x3313dd||null===_0x3313dd)return'object\x20expected';if(null!=_0x3313dd['commentThreadId']&&_0x3313dd['hasOwnProperty']('commentThreadId')&&!_0x4bd92b['isString'](_0x3313dd['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3313dd['content']&&_0x3313dd['hasOwnProperty']('content')&&!_0x4bd92b['isString'](_0x3313dd['content']))return'content:\x20string\x20expected';if(null!=_0x3313dd['documentId']&&_0x3313dd['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x3313dd['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x3313dd['commentId']&&_0x3313dd['hasOwnProperty']('commentId')&&!_0x4bd92b['isString'](_0x3313dd['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x3313dd['createdAt']&&_0x3313dd['hasOwnProperty']('createdAt')&&!_0x4bd92b['isString'](_0x3313dd['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x3313dd['userId']&&_0x3313dd['hasOwnProperty']('userId')&&!_0x4bd92b['isString'](_0x3313dd['userId']))return'userId:\x20string\x20expected';if(null!=_0x3313dd['attributes']&&_0x3313dd['hasOwnProperty']('attributes')&&!_0x4bd92b['isString'](_0x3313dd['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x3313dd['commentThread']&&_0x3313dd['hasOwnProperty']('commentThread')){var _0x323a4e=_0x28a9ef['CommentsThreadDescriptor']['verify'](_0x3313dd['commentThread']);if(_0x323a4e)return'commentThread.'+_0x323a4e;}return null;},_0x3b86b9['fromObject']=function(_0x2db09){if(_0x2db09 instanceof _0x28a9ef['CommentsV2AddCommentMessage'])return _0x2db09;var _0x5c84ed=new _0x28a9ef['CommentsV2AddCommentMessage']();if(null!=_0x2db09['commentThreadId']&&(_0x5c84ed['commentThreadId']=String(_0x2db09['commentThreadId'])),null!=_0x2db09['content']&&(_0x5c84ed['content']=String(_0x2db09['content'])),null!=_0x2db09['documentId']&&(_0x5c84ed['documentId']=String(_0x2db09['documentId'])),null!=_0x2db09['commentId']&&(_0x5c84ed['commentId']=String(_0x2db09['commentId'])),null!=_0x2db09['createdAt']&&(_0x5c84ed['createdAt']=String(_0x2db09['createdAt'])),null!=_0x2db09['userId']&&(_0x5c84ed['userId']=String(_0x2db09['userId'])),null!=_0x2db09['attributes']&&(_0x5c84ed['attributes']=String(_0x2db09['attributes'])),null!=_0x2db09['commentThread']){if('object'!=typeof _0x2db09['commentThread'])throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x5c84ed['commentThread']=_0x28a9ef['CommentsThreadDescriptor']['fromObject'](_0x2db09['commentThread']);}return _0x5c84ed;},_0x3b86b9['toObject']=function(_0xc8e900,_0x392327){_0x392327||(_0x392327={});var _0x8d605d={};return _0x392327['defaults']&&(_0x8d605d['commentThreadId']='',_0x8d605d['content']='',_0x8d605d['documentId']='',_0x8d605d['commentId']='',_0x8d605d['createdAt']='',_0x8d605d['userId']='',_0x8d605d['attributes']='',_0x8d605d['commentThread']=null),null!=_0xc8e900['commentThreadId']&&_0xc8e900['hasOwnProperty']('commentThreadId')&&(_0x8d605d['commentThreadId']=_0xc8e900['commentThreadId']),null!=_0xc8e900['content']&&_0xc8e900['hasOwnProperty']('content')&&(_0x8d605d['content']=_0xc8e900['content']),null!=_0xc8e900['documentId']&&_0xc8e900['hasOwnProperty']('documentId')&&(_0x8d605d['documentId']=_0xc8e900['documentId']),null!=_0xc8e900['commentId']&&_0xc8e900['hasOwnProperty']('commentId')&&(_0x8d605d['commentId']=_0xc8e900['commentId']),null!=_0xc8e900['createdAt']&&_0xc8e900['hasOwnProperty']('createdAt')&&(_0x8d605d['createdAt']=_0xc8e900['createdAt']),null!=_0xc8e900['userId']&&_0xc8e900['hasOwnProperty']('userId')&&(_0x8d605d['userId']=_0xc8e900['userId']),null!=_0xc8e900['attributes']&&_0xc8e900['hasOwnProperty']('attributes')&&(_0x8d605d['attributes']=_0xc8e900['attributes']),null!=_0xc8e900['commentThread']&&_0xc8e900['hasOwnProperty']('commentThread')&&(_0x8d605d['commentThread']=_0x28a9ef['CommentsThreadDescriptor']['toObject'](_0xc8e900['commentThread'],_0x392327)),_0x8d605d;},_0x3b86b9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3b86b9['getTypeUrl']=function(_0x248b46){return void 0x0===_0x248b46&&(_0x248b46='type.googleapis.com'),_0x248b46+'/CommentsV2AddCommentMessage';},_0x3b86b9;}()),_0x28a9ef['CommentsV2UpdateCommentThreadMessage']=(function(){function _0xe52bd4(_0x90a87b){if(_0x90a87b){for(var _0x27278b=Object['keys'](_0x90a87b),_0x5acbe5=0x0;_0x5acbe5<_0x27278b['length'];++_0x5acbe5)null!=_0x90a87b[_0x27278b[_0x5acbe5]]&&(this[_0x27278b[_0x5acbe5]]=_0x90a87b[_0x27278b[_0x5acbe5]]);}}return _0xe52bd4['prototype']['commentThreadId']='',_0xe52bd4['prototype']['documentId']='',_0xe52bd4['prototype']['context']='',_0xe52bd4['prototype']['attributes']='',_0xe52bd4['prototype']['unlinkedAt']='',_0xe52bd4['create']=function(_0x1b1a37){return new _0xe52bd4(_0x1b1a37);},_0xe52bd4['encode']=function(_0x45e617,_0x3ee5c5){return _0x3ee5c5||(_0x3ee5c5=_0xd78662['create']()),null!=_0x45e617['commentThreadId']&&Object['hasOwnProperty']['call'](_0x45e617,'commentThreadId')&&_0x3ee5c5['uint32'](0xa)['string'](_0x45e617['commentThreadId']),null!=_0x45e617['documentId']&&Object['hasOwnProperty']['call'](_0x45e617,'documentId')&&_0x3ee5c5['uint32'](0x12)['string'](_0x45e617['documentId']),null!=_0x45e617['context']&&Object['hasOwnProperty']['call'](_0x45e617,'context')&&_0x3ee5c5['uint32'](0x1a)['string'](_0x45e617['context']),null!=_0x45e617['attributes']&&Object['hasOwnProperty']['call'](_0x45e617,'attributes')&&_0x3ee5c5['uint32'](0x22)['string'](_0x45e617['attributes']),null!=_0x45e617['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x45e617,'unlinkedAt')&&_0x3ee5c5['uint32'](0x2a)['string'](_0x45e617['unlinkedAt']),_0x3ee5c5;},_0xe52bd4['encodeDelimited']=function(_0x19752e,_0x50e220){return this['encode'](_0x19752e,_0x50e220)['ldelim']();},_0xe52bd4['decode']=function(_0x3fe62d,_0x2a0af2,_0x521c8c){_0x3fe62d instanceof _0x4eb936||(_0x3fe62d=_0x4eb936['create'](_0x3fe62d));for(var _0x564453=void 0x0===_0x2a0af2?_0x3fe62d['len']:_0x3fe62d['pos']+_0x2a0af2,_0x41116c=new _0x28a9ef['CommentsV2UpdateCommentThreadMessage']();_0x3fe62d['pos']<_0x564453;){var _0x36886d=_0x3fe62d['uint32']();if(_0x36886d===_0x521c8c)break;switch(_0x36886d>>>0x3){case 0x1:_0x41116c['commentThreadId']=_0x3fe62d['string']();break;case 0x2:_0x41116c['documentId']=_0x3fe62d['string']();break;case 0x3:_0x41116c['context']=_0x3fe62d['string']();break;case 0x4:_0x41116c['attributes']=_0x3fe62d['string']();break;case 0x5:_0x41116c['unlinkedAt']=_0x3fe62d['string']();break;default:_0x3fe62d['skipType'](0x7&_0x36886d);}}return _0x41116c;},_0xe52bd4['decodeDelimited']=function(_0x47a83d){return _0x47a83d instanceof _0x4eb936||(_0x47a83d=new _0x4eb936(_0x47a83d)),this['decode'](_0x47a83d,_0x47a83d['uint32']());},_0xe52bd4['verify']=function(_0xe6b1b){return'object'!=typeof _0xe6b1b||null===_0xe6b1b?'object\x20expected':null!=_0xe6b1b['commentThreadId']&&_0xe6b1b['hasOwnProperty']('commentThreadId')&&!_0x4bd92b['isString'](_0xe6b1b['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0xe6b1b['documentId']&&_0xe6b1b['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0xe6b1b['documentId'])?'documentId:\x20string\x20expected':null!=_0xe6b1b['context']&&_0xe6b1b['hasOwnProperty']('context')&&!_0x4bd92b['isString'](_0xe6b1b['context'])?'context:\x20string\x20expected':null!=_0xe6b1b['attributes']&&_0xe6b1b['hasOwnProperty']('attributes')&&!_0x4bd92b['isString'](_0xe6b1b['attributes'])?'attributes:\x20string\x20expected':null!=_0xe6b1b['unlinkedAt']&&_0xe6b1b['hasOwnProperty']('unlinkedAt')&&!_0x4bd92b['isString'](_0xe6b1b['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0xe52bd4['fromObject']=function(_0x4a939f){if(_0x4a939f instanceof _0x28a9ef['CommentsV2UpdateCommentThreadMessage'])return _0x4a939f;var _0x17e607=new _0x28a9ef['CommentsV2UpdateCommentThreadMessage']();return null!=_0x4a939f['commentThreadId']&&(_0x17e607['commentThreadId']=String(_0x4a939f['commentThreadId'])),null!=_0x4a939f['documentId']&&(_0x17e607['documentId']=String(_0x4a939f['documentId'])),null!=_0x4a939f['context']&&(_0x17e607['context']=String(_0x4a939f['context'])),null!=_0x4a939f['attributes']&&(_0x17e607['attributes']=String(_0x4a939f['attributes'])),null!=_0x4a939f['unlinkedAt']&&(_0x17e607['unlinkedAt']=String(_0x4a939f['unlinkedAt'])),_0x17e607;},_0xe52bd4['toObject']=function(_0x34ba30,_0x4a77f5){_0x4a77f5||(_0x4a77f5={});var _0x49cd82={};return _0x4a77f5['defaults']&&(_0x49cd82['commentThreadId']='',_0x49cd82['documentId']='',_0x49cd82['context']='',_0x49cd82['attributes']='',_0x49cd82['unlinkedAt']=''),null!=_0x34ba30['commentThreadId']&&_0x34ba30['hasOwnProperty']('commentThreadId')&&(_0x49cd82['commentThreadId']=_0x34ba30['commentThreadId']),null!=_0x34ba30['documentId']&&_0x34ba30['hasOwnProperty']('documentId')&&(_0x49cd82['documentId']=_0x34ba30['documentId']),null!=_0x34ba30['context']&&_0x34ba30['hasOwnProperty']('context')&&(_0x49cd82['context']=_0x34ba30['context']),null!=_0x34ba30['attributes']&&_0x34ba30['hasOwnProperty']('attributes')&&(_0x49cd82['attributes']=_0x34ba30['attributes']),null!=_0x34ba30['unlinkedAt']&&_0x34ba30['hasOwnProperty']('unlinkedAt')&&(_0x49cd82['unlinkedAt']=_0x34ba30['unlinkedAt']),_0x49cd82;},_0xe52bd4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xe52bd4['getTypeUrl']=function(_0x1c3ea2){return void 0x0===_0x1c3ea2&&(_0x1c3ea2='type.googleapis.com'),_0x1c3ea2+'/CommentsV2UpdateCommentThreadMessage';},_0xe52bd4;}()),_0x28a9ef['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x2ec613(_0x132611){if(_0x132611){for(var _0x3f1463=Object['keys'](_0x132611),_0x287c9a=0x0;_0x287c9a<_0x3f1463['length'];++_0x287c9a)null!=_0x132611[_0x3f1463[_0x287c9a]]&&(this[_0x3f1463[_0x287c9a]]=_0x132611[_0x3f1463[_0x287c9a]]);}}return _0x2ec613['prototype']['commentThreadId']='',_0x2ec613['prototype']['documentId']='',_0x2ec613['prototype']['resolvedBy']='',_0x2ec613['prototype']['resolvedAt']='',_0x2ec613['create']=function(_0x5d67b4){return new _0x2ec613(_0x5d67b4);},_0x2ec613['encode']=function(_0x466bcb,_0x19b677){return _0x19b677||(_0x19b677=_0xd78662['create']()),null!=_0x466bcb['commentThreadId']&&Object['hasOwnProperty']['call'](_0x466bcb,'commentThreadId')&&_0x19b677['uint32'](0xa)['string'](_0x466bcb['commentThreadId']),null!=_0x466bcb['documentId']&&Object['hasOwnProperty']['call'](_0x466bcb,'documentId')&&_0x19b677['uint32'](0x12)['string'](_0x466bcb['documentId']),null!=_0x466bcb['resolvedBy']&&Object['hasOwnProperty']['call'](_0x466bcb,'resolvedBy')&&_0x19b677['uint32'](0x1a)['string'](_0x466bcb['resolvedBy']),null!=_0x466bcb['resolvedAt']&&Object['hasOwnProperty']['call'](_0x466bcb,'resolvedAt')&&_0x19b677['uint32'](0x22)['string'](_0x466bcb['resolvedAt']),_0x19b677;},_0x2ec613['encodeDelimited']=function(_0x5b19ac,_0x1e086d){return this['encode'](_0x5b19ac,_0x1e086d)['ldelim']();},_0x2ec613['decode']=function(_0x5ac4a8,_0x35f5cd,_0x9b4ab){_0x5ac4a8 instanceof _0x4eb936||(_0x5ac4a8=_0x4eb936['create'](_0x5ac4a8));for(var _0x23a9c4=void 0x0===_0x35f5cd?_0x5ac4a8['len']:_0x5ac4a8['pos']+_0x35f5cd,_0x5cc284=new _0x28a9ef['CommentsV2ResolveCommentThreadMessage']();_0x5ac4a8['pos']<_0x23a9c4;){var _0xf0ba9=_0x5ac4a8['uint32']();if(_0xf0ba9===_0x9b4ab)break;switch(_0xf0ba9>>>0x3){case 0x1:_0x5cc284['commentThreadId']=_0x5ac4a8['string']();break;case 0x2:_0x5cc284['documentId']=_0x5ac4a8['string']();break;case 0x3:_0x5cc284['resolvedBy']=_0x5ac4a8['string']();break;case 0x4:_0x5cc284['resolvedAt']=_0x5ac4a8['string']();break;default:_0x5ac4a8['skipType'](0x7&_0xf0ba9);}}return _0x5cc284;},_0x2ec613['decodeDelimited']=function(_0x4d361a){return _0x4d361a instanceof _0x4eb936||(_0x4d361a=new _0x4eb936(_0x4d361a)),this['decode'](_0x4d361a,_0x4d361a['uint32']());},_0x2ec613['verify']=function(_0x470fd9){return'object'!=typeof _0x470fd9||null===_0x470fd9?'object\x20expected':null!=_0x470fd9['commentThreadId']&&_0x470fd9['hasOwnProperty']('commentThreadId')&&!_0x4bd92b['isString'](_0x470fd9['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x470fd9['documentId']&&_0x470fd9['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x470fd9['documentId'])?'documentId:\x20string\x20expected':null!=_0x470fd9['resolvedBy']&&_0x470fd9['hasOwnProperty']('resolvedBy')&&!_0x4bd92b['isString'](_0x470fd9['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x470fd9['resolvedAt']&&_0x470fd9['hasOwnProperty']('resolvedAt')&&!_0x4bd92b['isString'](_0x470fd9['resolvedAt'])?'resolvedAt:\x20string\x20expected':null;},_0x2ec613['fromObject']=function(_0x39ef99){if(_0x39ef99 instanceof _0x28a9ef['CommentsV2ResolveCommentThreadMessage'])return _0x39ef99;var _0xc32974=new _0x28a9ef['CommentsV2ResolveCommentThreadMessage']();return null!=_0x39ef99['commentThreadId']&&(_0xc32974['commentThreadId']=String(_0x39ef99['commentThreadId'])),null!=_0x39ef99['documentId']&&(_0xc32974['documentId']=String(_0x39ef99['documentId'])),null!=_0x39ef99['resolvedBy']&&(_0xc32974['resolvedBy']=String(_0x39ef99['resolvedBy'])),null!=_0x39ef99['resolvedAt']&&(_0xc32974['resolvedAt']=String(_0x39ef99['resolvedAt'])),_0xc32974;},_0x2ec613['toObject']=function(_0x435976,_0x5808b7){_0x5808b7||(_0x5808b7={});var _0x516644={};return _0x5808b7['defaults']&&(_0x516644['commentThreadId']='',_0x516644['documentId']='',_0x516644['resolvedBy']='',_0x516644['resolvedAt']=''),null!=_0x435976['commentThreadId']&&_0x435976['hasOwnProperty']('commentThreadId')&&(_0x516644['commentThreadId']=_0x435976['commentThreadId']),null!=_0x435976['documentId']&&_0x435976['hasOwnProperty']('documentId')&&(_0x516644['documentId']=_0x435976['documentId']),null!=_0x435976['resolvedBy']&&_0x435976['hasOwnProperty']('resolvedBy')&&(_0x516644['resolvedBy']=_0x435976['resolvedBy']),null!=_0x435976['resolvedAt']&&_0x435976['hasOwnProperty']('resolvedAt')&&(_0x516644['resolvedAt']=_0x435976['resolvedAt']),_0x516644;},_0x2ec613['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2ec613['getTypeUrl']=function(_0xc4e08a){return void 0x0===_0xc4e08a&&(_0xc4e08a='type.googleapis.com'),_0xc4e08a+'/CommentsV2ResolveCommentThreadMessage';},_0x2ec613;}()),_0x28a9ef['CommentsV2ReopenCommentThreadMessage']=(function(){function _0xe63cc3(_0x359f11){if(_0x359f11){for(var _0x182ecc=Object['keys'](_0x359f11),_0x20c14a=0x0;_0x20c14a<_0x182ecc['length'];++_0x20c14a)null!=_0x359f11[_0x182ecc[_0x20c14a]]&&(this[_0x182ecc[_0x20c14a]]=_0x359f11[_0x182ecc[_0x20c14a]]);}}return _0xe63cc3['prototype']['commentThreadId']='',_0xe63cc3['prototype']['documentId']='',_0xe63cc3['create']=function(_0x1b7415){return new _0xe63cc3(_0x1b7415);},_0xe63cc3['encode']=function(_0x391840,_0x536ca7){return _0x536ca7||(_0x536ca7=_0xd78662['create']()),null!=_0x391840['commentThreadId']&&Object['hasOwnProperty']['call'](_0x391840,'commentThreadId')&&_0x536ca7['uint32'](0xa)['string'](_0x391840['commentThreadId']),null!=_0x391840['documentId']&&Object['hasOwnProperty']['call'](_0x391840,'documentId')&&_0x536ca7['uint32'](0x12)['string'](_0x391840['documentId']),_0x536ca7;},_0xe63cc3['encodeDelimited']=function(_0x667654,_0xc85e94){return this['encode'](_0x667654,_0xc85e94)['ldelim']();},_0xe63cc3['decode']=function(_0x553d43,_0x371e78,_0x4fdcab){_0x553d43 instanceof _0x4eb936||(_0x553d43=_0x4eb936['create'](_0x553d43));for(var _0x4533c2=void 0x0===_0x371e78?_0x553d43['len']:_0x553d43['pos']+_0x371e78,_0x1838e3=new _0x28a9ef['CommentsV2ReopenCommentThreadMessage']();_0x553d43['pos']<_0x4533c2;){var _0x537b5f=_0x553d43['uint32']();if(_0x537b5f===_0x4fdcab)break;switch(_0x537b5f>>>0x3){case 0x1:_0x1838e3['commentThreadId']=_0x553d43['string']();break;case 0x2:_0x1838e3['documentId']=_0x553d43['string']();break;default:_0x553d43['skipType'](0x7&_0x537b5f);}}return _0x1838e3;},_0xe63cc3['decodeDelimited']=function(_0x5379d8){return _0x5379d8 instanceof _0x4eb936||(_0x5379d8=new _0x4eb936(_0x5379d8)),this['decode'](_0x5379d8,_0x5379d8['uint32']());},_0xe63cc3['verify']=function(_0x4dca7d){return'object'!=typeof _0x4dca7d||null===_0x4dca7d?'object\x20expected':null!=_0x4dca7d['commentThreadId']&&_0x4dca7d['hasOwnProperty']('commentThreadId')&&!_0x4bd92b['isString'](_0x4dca7d['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4dca7d['documentId']&&_0x4dca7d['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x4dca7d['documentId'])?'documentId:\x20string\x20expected':null;},_0xe63cc3['fromObject']=function(_0x13c6f8){if(_0x13c6f8 instanceof _0x28a9ef['CommentsV2ReopenCommentThreadMessage'])return _0x13c6f8;var _0x2dbf6d=new _0x28a9ef['CommentsV2ReopenCommentThreadMessage']();return null!=_0x13c6f8['commentThreadId']&&(_0x2dbf6d['commentThreadId']=String(_0x13c6f8['commentThreadId'])),null!=_0x13c6f8['documentId']&&(_0x2dbf6d['documentId']=String(_0x13c6f8['documentId'])),_0x2dbf6d;},_0xe63cc3['toObject']=function(_0x1ccecd,_0x3ab1c4){_0x3ab1c4||(_0x3ab1c4={});var _0x4d692f={};return _0x3ab1c4['defaults']&&(_0x4d692f['commentThreadId']='',_0x4d692f['documentId']=''),null!=_0x1ccecd['commentThreadId']&&_0x1ccecd['hasOwnProperty']('commentThreadId')&&(_0x4d692f['commentThreadId']=_0x1ccecd['commentThreadId']),null!=_0x1ccecd['documentId']&&_0x1ccecd['hasOwnProperty']('documentId')&&(_0x4d692f['documentId']=_0x1ccecd['documentId']),_0x4d692f;},_0xe63cc3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xe63cc3['getTypeUrl']=function(_0x2a05cd){return void 0x0===_0x2a05cd&&(_0x2a05cd='type.googleapis.com'),_0x2a05cd+'/CommentsV2ReopenCommentThreadMessage';},_0xe63cc3;}()),_0x28a9ef['CommentsV2AddCommentThreadMessage']=(function(){function _0x1a94c8(_0x3efa22){if(this['comments']=[],_0x3efa22){for(var _0x405dfa=Object['keys'](_0x3efa22),_0xda9b57=0x0;_0xda9b57<_0x405dfa['length'];++_0xda9b57)null!=_0x3efa22[_0x405dfa[_0xda9b57]]&&(this[_0x405dfa[_0xda9b57]]=_0x3efa22[_0x405dfa[_0xda9b57]]);}}return _0x1a94c8['prototype']['documentId']='',_0x1a94c8['prototype']['commentThreadId']='',_0x1a94c8['prototype']['context']='',_0x1a94c8['prototype']['createdAt']='',_0x1a94c8['prototype']['resolvedAt']='',_0x1a94c8['prototype']['resolvedBy']='',_0x1a94c8['prototype']['attributes']='',_0x1a94c8['prototype']['deletedAt']='',_0x1a94c8['prototype']['comments']=_0x4bd92b['emptyArray'],_0x1a94c8['create']=function(_0x5889e9){return new _0x1a94c8(_0x5889e9);},_0x1a94c8['encode']=function(_0x3099d4,_0x1daa3d){if(_0x1daa3d||(_0x1daa3d=_0xd78662['create']()),null!=_0x3099d4['documentId']&&Object['hasOwnProperty']['call'](_0x3099d4,'documentId')&&_0x1daa3d['uint32'](0xa)['string'](_0x3099d4['documentId']),null!=_0x3099d4['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3099d4,'commentThreadId')&&_0x1daa3d['uint32'](0x12)['string'](_0x3099d4['commentThreadId']),null!=_0x3099d4['context']&&Object['hasOwnProperty']['call'](_0x3099d4,'context')&&_0x1daa3d['uint32'](0x1a)['string'](_0x3099d4['context']),null!=_0x3099d4['createdAt']&&Object['hasOwnProperty']['call'](_0x3099d4,'createdAt')&&_0x1daa3d['uint32'](0x22)['string'](_0x3099d4['createdAt']),null!=_0x3099d4['resolvedAt']&&Object['hasOwnProperty']['call'](_0x3099d4,'resolvedAt')&&_0x1daa3d['uint32'](0x2a)['string'](_0x3099d4['resolvedAt']),null!=_0x3099d4['resolvedBy']&&Object['hasOwnProperty']['call'](_0x3099d4,'resolvedBy')&&_0x1daa3d['uint32'](0x32)['string'](_0x3099d4['resolvedBy']),null!=_0x3099d4['attributes']&&Object['hasOwnProperty']['call'](_0x3099d4,'attributes')&&_0x1daa3d['uint32'](0x3a)['string'](_0x3099d4['attributes']),null!=_0x3099d4['deletedAt']&&Object['hasOwnProperty']['call'](_0x3099d4,'deletedAt')&&_0x1daa3d['uint32'](0x42)['string'](_0x3099d4['deletedAt']),null!=_0x3099d4['comments']&&_0x3099d4['comments']['length']){for(var _0xb42666=0x0;_0xb42666<_0x3099d4['comments']['length'];++_0xb42666)_0x28a9ef['CommentDescriptor']['encode'](_0x3099d4['comments'][_0xb42666],_0x1daa3d['uint32'](0x4a)['fork']())['ldelim']();}return _0x1daa3d;},_0x1a94c8['encodeDelimited']=function(_0x58430c,_0x5ab636){return this['encode'](_0x58430c,_0x5ab636)['ldelim']();},_0x1a94c8['decode']=function(_0x2b024c,_0x5921b9,_0x51cb01){_0x2b024c instanceof _0x4eb936||(_0x2b024c=_0x4eb936['create'](_0x2b024c));for(var _0x1d65f4=void 0x0===_0x5921b9?_0x2b024c['len']:_0x2b024c['pos']+_0x5921b9,_0x4716ce=new _0x28a9ef['CommentsV2AddCommentThreadMessage']();_0x2b024c['pos']<_0x1d65f4;){var _0x36e614=_0x2b024c['uint32']();if(_0x36e614===_0x51cb01)break;switch(_0x36e614>>>0x3){case 0x1:_0x4716ce['documentId']=_0x2b024c['string']();break;case 0x2:_0x4716ce['commentThreadId']=_0x2b024c['string']();break;case 0x3:_0x4716ce['context']=_0x2b024c['string']();break;case 0x4:_0x4716ce['createdAt']=_0x2b024c['string']();break;case 0x5:_0x4716ce['resolvedAt']=_0x2b024c['string']();break;case 0x6:_0x4716ce['resolvedBy']=_0x2b024c['string']();break;case 0x7:_0x4716ce['attributes']=_0x2b024c['string']();break;case 0x8:_0x4716ce['deletedAt']=_0x2b024c['string']();break;case 0x9:_0x4716ce['comments']&&_0x4716ce['comments']['length']||(_0x4716ce['comments']=[]),_0x4716ce['comments']['push'](_0x28a9ef['CommentDescriptor']['decode'](_0x2b024c,_0x2b024c['uint32']()));break;default:_0x2b024c['skipType'](0x7&_0x36e614);}}return _0x4716ce;},_0x1a94c8['decodeDelimited']=function(_0x16853e){return _0x16853e instanceof _0x4eb936||(_0x16853e=new _0x4eb936(_0x16853e)),this['decode'](_0x16853e,_0x16853e['uint32']());},_0x1a94c8['verify']=function(_0x54c41a){if('object'!=typeof _0x54c41a||null===_0x54c41a)return'object\x20expected';if(null!=_0x54c41a['documentId']&&_0x54c41a['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x54c41a['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x54c41a['commentThreadId']&&_0x54c41a['hasOwnProperty']('commentThreadId')&&!_0x4bd92b['isString'](_0x54c41a['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x54c41a['context']&&_0x54c41a['hasOwnProperty']('context')&&!_0x4bd92b['isString'](_0x54c41a['context']))return'context:\x20string\x20expected';if(null!=_0x54c41a['createdAt']&&_0x54c41a['hasOwnProperty']('createdAt')&&!_0x4bd92b['isString'](_0x54c41a['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x54c41a['resolvedAt']&&_0x54c41a['hasOwnProperty']('resolvedAt')&&!_0x4bd92b['isString'](_0x54c41a['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x54c41a['resolvedBy']&&_0x54c41a['hasOwnProperty']('resolvedBy')&&!_0x4bd92b['isString'](_0x54c41a['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x54c41a['attributes']&&_0x54c41a['hasOwnProperty']('attributes')&&!_0x4bd92b['isString'](_0x54c41a['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x54c41a['deletedAt']&&_0x54c41a['hasOwnProperty']('deletedAt')&&!_0x4bd92b['isString'](_0x54c41a['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x54c41a['comments']&&_0x54c41a['hasOwnProperty']('comments')){if(!Array['isArray'](_0x54c41a['comments']))return'comments:\x20array\x20expected';for(var _0x5c1f63=0x0;_0x5c1f63<_0x54c41a['comments']['length'];++_0x5c1f63){var _0x2f204e=_0x28a9ef['CommentDescriptor']['verify'](_0x54c41a['comments'][_0x5c1f63]);if(_0x2f204e)return'comments.'+_0x2f204e;}}return null;},_0x1a94c8['fromObject']=function(_0x514c51){if(_0x514c51 instanceof _0x28a9ef['CommentsV2AddCommentThreadMessage'])return _0x514c51;var _0x27ca55=new _0x28a9ef['CommentsV2AddCommentThreadMessage']();if(null!=_0x514c51['documentId']&&(_0x27ca55['documentId']=String(_0x514c51['documentId'])),null!=_0x514c51['commentThreadId']&&(_0x27ca55['commentThreadId']=String(_0x514c51['commentThreadId'])),null!=_0x514c51['context']&&(_0x27ca55['context']=String(_0x514c51['context'])),null!=_0x514c51['createdAt']&&(_0x27ca55['createdAt']=String(_0x514c51['createdAt'])),null!=_0x514c51['resolvedAt']&&(_0x27ca55['resolvedAt']=String(_0x514c51['resolvedAt'])),null!=_0x514c51['resolvedBy']&&(_0x27ca55['resolvedBy']=String(_0x514c51['resolvedBy'])),null!=_0x514c51['attributes']&&(_0x27ca55['attributes']=String(_0x514c51['attributes'])),null!=_0x514c51['deletedAt']&&(_0x27ca55['deletedAt']=String(_0x514c51['deletedAt'])),_0x514c51['comments']){if(!Array['isArray'](_0x514c51['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x27ca55['comments']=[];for(var _0x2e1979=0x0;_0x2e1979<_0x514c51['comments']['length'];++_0x2e1979){if('object'!=typeof _0x514c51['comments'][_0x2e1979])throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x27ca55['comments'][_0x2e1979]=_0x28a9ef['CommentDescriptor']['fromObject'](_0x514c51['comments'][_0x2e1979]);}}return _0x27ca55;},_0x1a94c8['toObject']=function(_0x5cf16c,_0x478f0f){_0x478f0f||(_0x478f0f={});var _0x1747b3={};if((_0x478f0f['arrays']||_0x478f0f['defaults'])&&(_0x1747b3['comments']=[]),_0x478f0f['defaults']&&(_0x1747b3['documentId']='',_0x1747b3['commentThreadId']='',_0x1747b3['context']='',_0x1747b3['createdAt']='',_0x1747b3['resolvedAt']='',_0x1747b3['resolvedBy']='',_0x1747b3['attributes']='',_0x1747b3['deletedAt']=''),null!=_0x5cf16c['documentId']&&_0x5cf16c['hasOwnProperty']('documentId')&&(_0x1747b3['documentId']=_0x5cf16c['documentId']),null!=_0x5cf16c['commentThreadId']&&_0x5cf16c['hasOwnProperty']('commentThreadId')&&(_0x1747b3['commentThreadId']=_0x5cf16c['commentThreadId']),null!=_0x5cf16c['context']&&_0x5cf16c['hasOwnProperty']('context')&&(_0x1747b3['context']=_0x5cf16c['context']),null!=_0x5cf16c['createdAt']&&_0x5cf16c['hasOwnProperty']('createdAt')&&(_0x1747b3['createdAt']=_0x5cf16c['createdAt']),null!=_0x5cf16c['resolvedAt']&&_0x5cf16c['hasOwnProperty']('resolvedAt')&&(_0x1747b3['resolvedAt']=_0x5cf16c['resolvedAt']),null!=_0x5cf16c['resolvedBy']&&_0x5cf16c['hasOwnProperty']('resolvedBy')&&(_0x1747b3['resolvedBy']=_0x5cf16c['resolvedBy']),null!=_0x5cf16c['attributes']&&_0x5cf16c['hasOwnProperty']('attributes')&&(_0x1747b3['attributes']=_0x5cf16c['attributes']),null!=_0x5cf16c['deletedAt']&&_0x5cf16c['hasOwnProperty']('deletedAt')&&(_0x1747b3['deletedAt']=_0x5cf16c['deletedAt']),_0x5cf16c['comments']&&_0x5cf16c['comments']['length']){_0x1747b3['comments']=[];for(var _0x45a96c=0x0;_0x45a96c<_0x5cf16c['comments']['length'];++_0x45a96c)_0x1747b3['comments'][_0x45a96c]=_0x28a9ef['CommentDescriptor']['toObject'](_0x5cf16c['comments'][_0x45a96c],_0x478f0f);}return _0x1747b3;},_0x1a94c8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1a94c8['getTypeUrl']=function(_0x5d986f){return void 0x0===_0x5d986f&&(_0x5d986f='type.googleapis.com'),_0x5d986f+'/CommentsV2AddCommentThreadMessage';},_0x1a94c8;}()),_0x28a9ef['CommentThreadAddedCommentDescriptor']=(function(){function _0x101194(_0x1db8b2){if(_0x1db8b2){for(var _0x208b40=Object['keys'](_0x1db8b2),_0x1a74c=0x0;_0x1a74c<_0x208b40['length'];++_0x1a74c)null!=_0x1db8b2[_0x208b40[_0x1a74c]]&&(this[_0x208b40[_0x1a74c]]=_0x1db8b2[_0x208b40[_0x1a74c]]);}}return _0x101194['prototype']['commentId']='',_0x101194['prototype']['createdAt']='',_0x101194['create']=function(_0x5ad012){return new _0x101194(_0x5ad012);},_0x101194['encode']=function(_0x2b3f97,_0x518528){return _0x518528||(_0x518528=_0xd78662['create']()),null!=_0x2b3f97['commentId']&&Object['hasOwnProperty']['call'](_0x2b3f97,'commentId')&&_0x518528['uint32'](0xa)['string'](_0x2b3f97['commentId']),null!=_0x2b3f97['createdAt']&&Object['hasOwnProperty']['call'](_0x2b3f97,'createdAt')&&_0x518528['uint32'](0x12)['string'](_0x2b3f97['createdAt']),_0x518528;},_0x101194['encodeDelimited']=function(_0x23505e,_0x349fd4){return this['encode'](_0x23505e,_0x349fd4)['ldelim']();},_0x101194['decode']=function(_0x397018,_0x250531,_0x59ef08){_0x397018 instanceof _0x4eb936||(_0x397018=_0x4eb936['create'](_0x397018));for(var _0x192237=void 0x0===_0x250531?_0x397018['len']:_0x397018['pos']+_0x250531,_0x9195ea=new _0x28a9ef['CommentThreadAddedCommentDescriptor']();_0x397018['pos']<_0x192237;){var _0x3a6bca=_0x397018['uint32']();if(_0x3a6bca===_0x59ef08)break;switch(_0x3a6bca>>>0x3){case 0x1:_0x9195ea['commentId']=_0x397018['string']();break;case 0x2:_0x9195ea['createdAt']=_0x397018['string']();break;default:_0x397018['skipType'](0x7&_0x3a6bca);}}return _0x9195ea;},_0x101194['decodeDelimited']=function(_0x546a4c){return _0x546a4c instanceof _0x4eb936||(_0x546a4c=new _0x4eb936(_0x546a4c)),this['decode'](_0x546a4c,_0x546a4c['uint32']());},_0x101194['verify']=function(_0x7b16e5){return'object'!=typeof _0x7b16e5||null===_0x7b16e5?'object\x20expected':null!=_0x7b16e5['commentId']&&_0x7b16e5['hasOwnProperty']('commentId')&&!_0x4bd92b['isString'](_0x7b16e5['commentId'])?'commentId:\x20string\x20expected':null!=_0x7b16e5['createdAt']&&_0x7b16e5['hasOwnProperty']('createdAt')&&!_0x4bd92b['isString'](_0x7b16e5['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x101194['fromObject']=function(_0x8b44ae){if(_0x8b44ae instanceof _0x28a9ef['CommentThreadAddedCommentDescriptor'])return _0x8b44ae;var _0x4f5b02=new _0x28a9ef['CommentThreadAddedCommentDescriptor']();return null!=_0x8b44ae['commentId']&&(_0x4f5b02['commentId']=String(_0x8b44ae['commentId'])),null!=_0x8b44ae['createdAt']&&(_0x4f5b02['createdAt']=String(_0x8b44ae['createdAt'])),_0x4f5b02;},_0x101194['toObject']=function(_0x527cc5,_0x315453){_0x315453||(_0x315453={});var _0x4cebb0={};return _0x315453['defaults']&&(_0x4cebb0['commentId']='',_0x4cebb0['createdAt']=''),null!=_0x527cc5['commentId']&&_0x527cc5['hasOwnProperty']('commentId')&&(_0x4cebb0['commentId']=_0x527cc5['commentId']),null!=_0x527cc5['createdAt']&&_0x527cc5['hasOwnProperty']('createdAt')&&(_0x4cebb0['createdAt']=_0x527cc5['createdAt']),_0x4cebb0;},_0x101194['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x101194['getTypeUrl']=function(_0x43c2fd){return void 0x0===_0x43c2fd&&(_0x43c2fd='type.googleapis.com'),_0x43c2fd+'/CommentThreadAddedCommentDescriptor';},_0x101194;}()),_0x28a9ef['CommentsThreadDescriptor']=(function(){function _0x4b0c32(_0x174b8b){if(this['comments']=[],_0x174b8b){for(var _0x4dfe4e=Object['keys'](_0x174b8b),_0x416e79=0x0;_0x416e79<_0x4dfe4e['length'];++_0x416e79)null!=_0x174b8b[_0x4dfe4e[_0x416e79]]&&(this[_0x4dfe4e[_0x416e79]]=_0x174b8b[_0x4dfe4e[_0x416e79]]);}}return _0x4b0c32['prototype']['commentThreadId']='',_0x4b0c32['prototype']['comments']=_0x4bd92b['emptyArray'],_0x4b0c32['prototype']['resolvedAt']='',_0x4b0c32['prototype']['resolvedBy']='',_0x4b0c32['prototype']['context']='',_0x4b0c32['prototype']['createdAt']='',_0x4b0c32['prototype']['deletedAt']='',_0x4b0c32['prototype']['attributes']='',_0x4b0c32['prototype']['unlinkedAt']='',_0x4b0c32['create']=function(_0x50806e){return new _0x4b0c32(_0x50806e);},_0x4b0c32['encode']=function(_0xc7335e,_0x640242){if(_0x640242||(_0x640242=_0xd78662['create']()),null!=_0xc7335e['commentThreadId']&&Object['hasOwnProperty']['call'](_0xc7335e,'commentThreadId')&&_0x640242['uint32'](0xa)['string'](_0xc7335e['commentThreadId']),null!=_0xc7335e['comments']&&_0xc7335e['comments']['length']){for(var _0x4cad5e=0x0;_0x4cad5e<_0xc7335e['comments']['length'];++_0x4cad5e)_0x28a9ef['CommentDescriptor']['encode'](_0xc7335e['comments'][_0x4cad5e],_0x640242['uint32'](0x12)['fork']())['ldelim']();}return null!=_0xc7335e['resolvedAt']&&Object['hasOwnProperty']['call'](_0xc7335e,'resolvedAt')&&_0x640242['uint32'](0x1a)['string'](_0xc7335e['resolvedAt']),null!=_0xc7335e['resolvedBy']&&Object['hasOwnProperty']['call'](_0xc7335e,'resolvedBy')&&_0x640242['uint32'](0x22)['string'](_0xc7335e['resolvedBy']),null!=_0xc7335e['context']&&Object['hasOwnProperty']['call'](_0xc7335e,'context')&&_0x640242['uint32'](0x2a)['string'](_0xc7335e['context']),null!=_0xc7335e['createdAt']&&Object['hasOwnProperty']['call'](_0xc7335e,'createdAt')&&_0x640242['uint32'](0x32)['string'](_0xc7335e['createdAt']),null!=_0xc7335e['deletedAt']&&Object['hasOwnProperty']['call'](_0xc7335e,'deletedAt')&&_0x640242['uint32'](0x3a)['string'](_0xc7335e['deletedAt']),null!=_0xc7335e['attributes']&&Object['hasOwnProperty']['call'](_0xc7335e,'attributes')&&_0x640242['uint32'](0x42)['string'](_0xc7335e['attributes']),null!=_0xc7335e['unlinkedAt']&&Object['hasOwnProperty']['call'](_0xc7335e,'unlinkedAt')&&_0x640242['uint32'](0x4a)['string'](_0xc7335e['unlinkedAt']),_0x640242;},_0x4b0c32['encodeDelimited']=function(_0x19f572,_0x35be5f){return this['encode'](_0x19f572,_0x35be5f)['ldelim']();},_0x4b0c32['decode']=function(_0x5db6af,_0x5b293a,_0x48df15){_0x5db6af instanceof _0x4eb936||(_0x5db6af=_0x4eb936['create'](_0x5db6af));for(var _0x23db9a=void 0x0===_0x5b293a?_0x5db6af['len']:_0x5db6af['pos']+_0x5b293a,_0x4f9e9c=new _0x28a9ef['CommentsThreadDescriptor']();_0x5db6af['pos']<_0x23db9a;){var _0x4048eb=_0x5db6af['uint32']();if(_0x4048eb===_0x48df15)break;switch(_0x4048eb>>>0x3){case 0x1:_0x4f9e9c['commentThreadId']=_0x5db6af['string']();break;case 0x2:_0x4f9e9c['comments']&&_0x4f9e9c['comments']['length']||(_0x4f9e9c['comments']=[]),_0x4f9e9c['comments']['push'](_0x28a9ef['CommentDescriptor']['decode'](_0x5db6af,_0x5db6af['uint32']()));break;case 0x3:_0x4f9e9c['resolvedAt']=_0x5db6af['string']();break;case 0x4:_0x4f9e9c['resolvedBy']=_0x5db6af['string']();break;case 0x5:_0x4f9e9c['context']=_0x5db6af['string']();break;case 0x6:_0x4f9e9c['createdAt']=_0x5db6af['string']();break;case 0x7:_0x4f9e9c['deletedAt']=_0x5db6af['string']();break;case 0x8:_0x4f9e9c['attributes']=_0x5db6af['string']();break;case 0x9:_0x4f9e9c['unlinkedAt']=_0x5db6af['string']();break;default:_0x5db6af['skipType'](0x7&_0x4048eb);}}return _0x4f9e9c;},_0x4b0c32['decodeDelimited']=function(_0x382a1f){return _0x382a1f instanceof _0x4eb936||(_0x382a1f=new _0x4eb936(_0x382a1f)),this['decode'](_0x382a1f,_0x382a1f['uint32']());},_0x4b0c32['verify']=function(_0xf7b7f9){if('object'!=typeof _0xf7b7f9||null===_0xf7b7f9)return'object\x20expected';if(null!=_0xf7b7f9['commentThreadId']&&_0xf7b7f9['hasOwnProperty']('commentThreadId')&&!_0x4bd92b['isString'](_0xf7b7f9['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0xf7b7f9['comments']&&_0xf7b7f9['hasOwnProperty']('comments')){if(!Array['isArray'](_0xf7b7f9['comments']))return'comments:\x20array\x20expected';for(var _0x7b9bab=0x0;_0x7b9bab<_0xf7b7f9['comments']['length'];++_0x7b9bab){var _0xda8aa=_0x28a9ef['CommentDescriptor']['verify'](_0xf7b7f9['comments'][_0x7b9bab]);if(_0xda8aa)return'comments.'+_0xda8aa;}}return null!=_0xf7b7f9['resolvedAt']&&_0xf7b7f9['hasOwnProperty']('resolvedAt')&&!_0x4bd92b['isString'](_0xf7b7f9['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0xf7b7f9['resolvedBy']&&_0xf7b7f9['hasOwnProperty']('resolvedBy')&&!_0x4bd92b['isString'](_0xf7b7f9['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0xf7b7f9['context']&&_0xf7b7f9['hasOwnProperty']('context')&&!_0x4bd92b['isString'](_0xf7b7f9['context'])?'context:\x20string\x20expected':null!=_0xf7b7f9['createdAt']&&_0xf7b7f9['hasOwnProperty']('createdAt')&&!_0x4bd92b['isString'](_0xf7b7f9['createdAt'])?'createdAt:\x20string\x20expected':null!=_0xf7b7f9['deletedAt']&&_0xf7b7f9['hasOwnProperty']('deletedAt')&&!_0x4bd92b['isString'](_0xf7b7f9['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0xf7b7f9['attributes']&&_0xf7b7f9['hasOwnProperty']('attributes')&&!_0x4bd92b['isString'](_0xf7b7f9['attributes'])?'attributes:\x20string\x20expected':null!=_0xf7b7f9['unlinkedAt']&&_0xf7b7f9['hasOwnProperty']('unlinkedAt')&&!_0x4bd92b['isString'](_0xf7b7f9['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x4b0c32['fromObject']=function(_0x3f6ff2){if(_0x3f6ff2 instanceof _0x28a9ef['CommentsThreadDescriptor'])return _0x3f6ff2;var _0x5987d6=new _0x28a9ef['CommentsThreadDescriptor']();if(null!=_0x3f6ff2['commentThreadId']&&(_0x5987d6['commentThreadId']=String(_0x3f6ff2['commentThreadId'])),_0x3f6ff2['comments']){if(!Array['isArray'](_0x3f6ff2['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x5987d6['comments']=[];for(var _0x53de21=0x0;_0x53de21<_0x3f6ff2['comments']['length'];++_0x53de21){if('object'!=typeof _0x3f6ff2['comments'][_0x53de21])throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x5987d6['comments'][_0x53de21]=_0x28a9ef['CommentDescriptor']['fromObject'](_0x3f6ff2['comments'][_0x53de21]);}}return null!=_0x3f6ff2['resolvedAt']&&(_0x5987d6['resolvedAt']=String(_0x3f6ff2['resolvedAt'])),null!=_0x3f6ff2['resolvedBy']&&(_0x5987d6['resolvedBy']=String(_0x3f6ff2['resolvedBy'])),null!=_0x3f6ff2['context']&&(_0x5987d6['context']=String(_0x3f6ff2['context'])),null!=_0x3f6ff2['createdAt']&&(_0x5987d6['createdAt']=String(_0x3f6ff2['createdAt'])),null!=_0x3f6ff2['deletedAt']&&(_0x5987d6['deletedAt']=String(_0x3f6ff2['deletedAt'])),null!=_0x3f6ff2['attributes']&&(_0x5987d6['attributes']=String(_0x3f6ff2['attributes'])),null!=_0x3f6ff2['unlinkedAt']&&(_0x5987d6['unlinkedAt']=String(_0x3f6ff2['unlinkedAt'])),_0x5987d6;},_0x4b0c32['toObject']=function(_0x3f467c,_0x1031bc){_0x1031bc||(_0x1031bc={});var _0x147970={};if((_0x1031bc['arrays']||_0x1031bc['defaults'])&&(_0x147970['comments']=[]),_0x1031bc['defaults']&&(_0x147970['commentThreadId']='',_0x147970['resolvedAt']='',_0x147970['resolvedBy']='',_0x147970['context']='',_0x147970['createdAt']='',_0x147970['deletedAt']='',_0x147970['attributes']='',_0x147970['unlinkedAt']=''),null!=_0x3f467c['commentThreadId']&&_0x3f467c['hasOwnProperty']('commentThreadId')&&(_0x147970['commentThreadId']=_0x3f467c['commentThreadId']),_0x3f467c['comments']&&_0x3f467c['comments']['length']){_0x147970['comments']=[];for(var _0x53a6d2=0x0;_0x53a6d2<_0x3f467c['comments']['length'];++_0x53a6d2)_0x147970['comments'][_0x53a6d2]=_0x28a9ef['CommentDescriptor']['toObject'](_0x3f467c['comments'][_0x53a6d2],_0x1031bc);}return null!=_0x3f467c['resolvedAt']&&_0x3f467c['hasOwnProperty']('resolvedAt')&&(_0x147970['resolvedAt']=_0x3f467c['resolvedAt']),null!=_0x3f467c['resolvedBy']&&_0x3f467c['hasOwnProperty']('resolvedBy')&&(_0x147970['resolvedBy']=_0x3f467c['resolvedBy']),null!=_0x3f467c['context']&&_0x3f467c['hasOwnProperty']('context')&&(_0x147970['context']=_0x3f467c['context']),null!=_0x3f467c['createdAt']&&_0x3f467c['hasOwnProperty']('createdAt')&&(_0x147970['createdAt']=_0x3f467c['createdAt']),null!=_0x3f467c['deletedAt']&&_0x3f467c['hasOwnProperty']('deletedAt')&&(_0x147970['deletedAt']=_0x3f467c['deletedAt']),null!=_0x3f467c['attributes']&&_0x3f467c['hasOwnProperty']('attributes')&&(_0x147970['attributes']=_0x3f467c['attributes']),null!=_0x3f467c['unlinkedAt']&&_0x3f467c['hasOwnProperty']('unlinkedAt')&&(_0x147970['unlinkedAt']=_0x3f467c['unlinkedAt']),_0x147970;},_0x4b0c32['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4b0c32['getTypeUrl']=function(_0x5e2e5d){return void 0x0===_0x5e2e5d&&(_0x5e2e5d='type.googleapis.com'),_0x5e2e5d+'/CommentsThreadDescriptor';},_0x4b0c32;}()),_0x28a9ef['CommentDescriptor']=(function(){function _0x352be0(_0x2010b7){if(_0x2010b7){for(var _0x1520e7=Object['keys'](_0x2010b7),_0x3abbc4=0x0;_0x3abbc4<_0x1520e7['length'];++_0x3abbc4)null!=_0x2010b7[_0x1520e7[_0x3abbc4]]&&(this[_0x1520e7[_0x3abbc4]]=_0x2010b7[_0x1520e7[_0x3abbc4]]);}}return _0x352be0['prototype']['commentId']='',_0x352be0['prototype']['commentThreadId']='',_0x352be0['prototype']['userId']='',_0x352be0['prototype']['content']='',_0x352be0['prototype']['documentId']='',_0x352be0['prototype']['createdAt']='',_0x352be0['prototype']['attributes']='',_0x352be0['create']=function(_0x3164ab){return new _0x352be0(_0x3164ab);},_0x352be0['encode']=function(_0x431ae2,_0x3e111c){return _0x3e111c||(_0x3e111c=_0xd78662['create']()),null!=_0x431ae2['commentId']&&Object['hasOwnProperty']['call'](_0x431ae2,'commentId')&&_0x3e111c['uint32'](0xa)['string'](_0x431ae2['commentId']),null!=_0x431ae2['commentThreadId']&&Object['hasOwnProperty']['call'](_0x431ae2,'commentThreadId')&&_0x3e111c['uint32'](0x12)['string'](_0x431ae2['commentThreadId']),null!=_0x431ae2['userId']&&Object['hasOwnProperty']['call'](_0x431ae2,'userId')&&_0x3e111c['uint32'](0x1a)['string'](_0x431ae2['userId']),null!=_0x431ae2['content']&&Object['hasOwnProperty']['call'](_0x431ae2,'content')&&_0x3e111c['uint32'](0x22)['string'](_0x431ae2['content']),null!=_0x431ae2['documentId']&&Object['hasOwnProperty']['call'](_0x431ae2,'documentId')&&_0x3e111c['uint32'](0x2a)['string'](_0x431ae2['documentId']),null!=_0x431ae2['createdAt']&&Object['hasOwnProperty']['call'](_0x431ae2,'createdAt')&&_0x3e111c['uint32'](0x32)['string'](_0x431ae2['createdAt']),null!=_0x431ae2['attributes']&&Object['hasOwnProperty']['call'](_0x431ae2,'attributes')&&_0x3e111c['uint32'](0x3a)['string'](_0x431ae2['attributes']),_0x3e111c;},_0x352be0['encodeDelimited']=function(_0x2a0731,_0x1a3045){return this['encode'](_0x2a0731,_0x1a3045)['ldelim']();},_0x352be0['decode']=function(_0x59151d,_0x51e827,_0x5ee042){_0x59151d instanceof _0x4eb936||(_0x59151d=_0x4eb936['create'](_0x59151d));for(var _0x28a094=void 0x0===_0x51e827?_0x59151d['len']:_0x59151d['pos']+_0x51e827,_0x43ac76=new _0x28a9ef['CommentDescriptor']();_0x59151d['pos']<_0x28a094;){var _0x180d1d=_0x59151d['uint32']();if(_0x180d1d===_0x5ee042)break;switch(_0x180d1d>>>0x3){case 0x1:_0x43ac76['commentId']=_0x59151d['string']();break;case 0x2:_0x43ac76['commentThreadId']=_0x59151d['string']();break;case 0x3:_0x43ac76['userId']=_0x59151d['string']();break;case 0x4:_0x43ac76['content']=_0x59151d['string']();break;case 0x5:_0x43ac76['documentId']=_0x59151d['string']();break;case 0x6:_0x43ac76['createdAt']=_0x59151d['string']();break;case 0x7:_0x43ac76['attributes']=_0x59151d['string']();break;default:_0x59151d['skipType'](0x7&_0x180d1d);}}return _0x43ac76;},_0x352be0['decodeDelimited']=function(_0x410920){return _0x410920 instanceof _0x4eb936||(_0x410920=new _0x4eb936(_0x410920)),this['decode'](_0x410920,_0x410920['uint32']());},_0x352be0['verify']=function(_0x15875d){return'object'!=typeof _0x15875d||null===_0x15875d?'object\x20expected':null!=_0x15875d['commentId']&&_0x15875d['hasOwnProperty']('commentId')&&!_0x4bd92b['isString'](_0x15875d['commentId'])?'commentId:\x20string\x20expected':null!=_0x15875d['commentThreadId']&&_0x15875d['hasOwnProperty']('commentThreadId')&&!_0x4bd92b['isString'](_0x15875d['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x15875d['userId']&&_0x15875d['hasOwnProperty']('userId')&&!_0x4bd92b['isString'](_0x15875d['userId'])?'userId:\x20string\x20expected':null!=_0x15875d['content']&&_0x15875d['hasOwnProperty']('content')&&!_0x4bd92b['isString'](_0x15875d['content'])?'content:\x20string\x20expected':null!=_0x15875d['documentId']&&_0x15875d['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x15875d['documentId'])?'documentId:\x20string\x20expected':null!=_0x15875d['createdAt']&&_0x15875d['hasOwnProperty']('createdAt')&&!_0x4bd92b['isString'](_0x15875d['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x15875d['attributes']&&_0x15875d['hasOwnProperty']('attributes')&&!_0x4bd92b['isString'](_0x15875d['attributes'])?'attributes:\x20string\x20expected':null;},_0x352be0['fromObject']=function(_0x434db8){if(_0x434db8 instanceof _0x28a9ef['CommentDescriptor'])return _0x434db8;var _0x2bc28c=new _0x28a9ef['CommentDescriptor']();return null!=_0x434db8['commentId']&&(_0x2bc28c['commentId']=String(_0x434db8['commentId'])),null!=_0x434db8['commentThreadId']&&(_0x2bc28c['commentThreadId']=String(_0x434db8['commentThreadId'])),null!=_0x434db8['userId']&&(_0x2bc28c['userId']=String(_0x434db8['userId'])),null!=_0x434db8['content']&&(_0x2bc28c['content']=String(_0x434db8['content'])),null!=_0x434db8['documentId']&&(_0x2bc28c['documentId']=String(_0x434db8['documentId'])),null!=_0x434db8['createdAt']&&(_0x2bc28c['createdAt']=String(_0x434db8['createdAt'])),null!=_0x434db8['attributes']&&(_0x2bc28c['attributes']=String(_0x434db8['attributes'])),_0x2bc28c;},_0x352be0['toObject']=function(_0x570689,_0x24b47c){_0x24b47c||(_0x24b47c={});var _0x382b7e={};return _0x24b47c['defaults']&&(_0x382b7e['commentId']='',_0x382b7e['commentThreadId']='',_0x382b7e['userId']='',_0x382b7e['content']='',_0x382b7e['documentId']='',_0x382b7e['createdAt']='',_0x382b7e['attributes']=''),null!=_0x570689['commentId']&&_0x570689['hasOwnProperty']('commentId')&&(_0x382b7e['commentId']=_0x570689['commentId']),null!=_0x570689['commentThreadId']&&_0x570689['hasOwnProperty']('commentThreadId')&&(_0x382b7e['commentThreadId']=_0x570689['commentThreadId']),null!=_0x570689['userId']&&_0x570689['hasOwnProperty']('userId')&&(_0x382b7e['userId']=_0x570689['userId']),null!=_0x570689['content']&&_0x570689['hasOwnProperty']('content')&&(_0x382b7e['content']=_0x570689['content']),null!=_0x570689['documentId']&&_0x570689['hasOwnProperty']('documentId')&&(_0x382b7e['documentId']=_0x570689['documentId']),null!=_0x570689['createdAt']&&_0x570689['hasOwnProperty']('createdAt')&&(_0x382b7e['createdAt']=_0x570689['createdAt']),null!=_0x570689['attributes']&&_0x570689['hasOwnProperty']('attributes')&&(_0x382b7e['attributes']=_0x570689['attributes']),_0x382b7e;},_0x352be0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x352be0['getTypeUrl']=function(_0x3136b5){return void 0x0===_0x3136b5&&(_0x3136b5='type.googleapis.com'),_0x3136b5+'/CommentDescriptor';},_0x352be0;}()),_0x28a9ef['GetDocumentDetailsResponse']=(function(){function _0x5e613e(_0x1fedef){if(_0x1fedef){for(var _0x5afc81=Object['keys'](_0x1fedef),_0x1b7dfb=0x0;_0x1b7dfb<_0x5afc81['length'];++_0x1b7dfb)null!=_0x1fedef[_0x5afc81[_0x1b7dfb]]&&(this[_0x5afc81[_0x1b7dfb]]=_0x1fedef[_0x5afc81[_0x1b7dfb]]);}}return _0x5e613e['prototype']['lastDocumentSessionId']='',_0x5e613e['prototype']['lastDocumentSessionOperationId']='',_0x5e613e['prototype']['currentDocumentSessionId']='',_0x5e613e['prototype']['currentDocumentSessionVersion']=0x0,_0x5e613e['prototype']['currentDocumentSessionOperationId']='',_0x5e613e['create']=function(_0x45d2c0){return new _0x5e613e(_0x45d2c0);},_0x5e613e['encode']=function(_0x49bb82,_0x29be37){return _0x29be37||(_0x29be37=_0xd78662['create']()),null!=_0x49bb82['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x49bb82,'lastDocumentSessionId')&&_0x29be37['uint32'](0xa)['string'](_0x49bb82['lastDocumentSessionId']),null!=_0x49bb82['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x49bb82,'lastDocumentSessionOperationId')&&_0x29be37['uint32'](0x12)['string'](_0x49bb82['lastDocumentSessionOperationId']),null!=_0x49bb82['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x49bb82,'currentDocumentSessionId')&&_0x29be37['uint32'](0x1a)['string'](_0x49bb82['currentDocumentSessionId']),null!=_0x49bb82['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x49bb82,'currentDocumentSessionVersion')&&_0x29be37['uint32'](0x20)['uint32'](_0x49bb82['currentDocumentSessionVersion']),null!=_0x49bb82['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x49bb82,'currentDocumentSessionOperationId')&&_0x29be37['uint32'](0x2a)['string'](_0x49bb82['currentDocumentSessionOperationId']),_0x29be37;},_0x5e613e['encodeDelimited']=function(_0x387ca8,_0x1caa6b){return this['encode'](_0x387ca8,_0x1caa6b)['ldelim']();},_0x5e613e['decode']=function(_0x1b9a07,_0x4e6a15,_0x4fe579){_0x1b9a07 instanceof _0x4eb936||(_0x1b9a07=_0x4eb936['create'](_0x1b9a07));for(var _0x212f74=void 0x0===_0x4e6a15?_0x1b9a07['len']:_0x1b9a07['pos']+_0x4e6a15,_0x1aae87=new _0x28a9ef['GetDocumentDetailsResponse']();_0x1b9a07['pos']<_0x212f74;){var _0x16d322=_0x1b9a07['uint32']();if(_0x16d322===_0x4fe579)break;switch(_0x16d322>>>0x3){case 0x1:_0x1aae87['lastDocumentSessionId']=_0x1b9a07['string']();break;case 0x2:_0x1aae87['lastDocumentSessionOperationId']=_0x1b9a07['string']();break;case 0x3:_0x1aae87['currentDocumentSessionId']=_0x1b9a07['string']();break;case 0x4:_0x1aae87['currentDocumentSessionVersion']=_0x1b9a07['uint32']();break;case 0x5:_0x1aae87['currentDocumentSessionOperationId']=_0x1b9a07['string']();break;default:_0x1b9a07['skipType'](0x7&_0x16d322);}}return _0x1aae87;},_0x5e613e['decodeDelimited']=function(_0x3ea28c){return _0x3ea28c instanceof _0x4eb936||(_0x3ea28c=new _0x4eb936(_0x3ea28c)),this['decode'](_0x3ea28c,_0x3ea28c['uint32']());},_0x5e613e['verify']=function(_0x3dcb86){return'object'!=typeof _0x3dcb86||null===_0x3dcb86?'object\x20expected':null!=_0x3dcb86['lastDocumentSessionId']&&_0x3dcb86['hasOwnProperty']('lastDocumentSessionId')&&!_0x4bd92b['isString'](_0x3dcb86['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x3dcb86['lastDocumentSessionOperationId']&&_0x3dcb86['hasOwnProperty']('lastDocumentSessionOperationId')&&!_0x4bd92b['isString'](_0x3dcb86['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x3dcb86['currentDocumentSessionId']&&_0x3dcb86['hasOwnProperty']('currentDocumentSessionId')&&!_0x4bd92b['isString'](_0x3dcb86['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x3dcb86['currentDocumentSessionVersion']&&_0x3dcb86['hasOwnProperty']('currentDocumentSessionVersion')&&!_0x4bd92b['isInteger'](_0x3dcb86['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x3dcb86['currentDocumentSessionOperationId']&&_0x3dcb86['hasOwnProperty']('currentDocumentSessionOperationId')&&!_0x4bd92b['isString'](_0x3dcb86['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null;},_0x5e613e['fromObject']=function(_0x500b09){if(_0x500b09 instanceof _0x28a9ef['GetDocumentDetailsResponse'])return _0x500b09;var _0x13e2dd=new _0x28a9ef['GetDocumentDetailsResponse']();return null!=_0x500b09['lastDocumentSessionId']&&(_0x13e2dd['lastDocumentSessionId']=String(_0x500b09['lastDocumentSessionId'])),null!=_0x500b09['lastDocumentSessionOperationId']&&(_0x13e2dd['lastDocumentSessionOperationId']=String(_0x500b09['lastDocumentSessionOperationId'])),null!=_0x500b09['currentDocumentSessionId']&&(_0x13e2dd['currentDocumentSessionId']=String(_0x500b09['currentDocumentSessionId'])),null!=_0x500b09['currentDocumentSessionVersion']&&(_0x13e2dd['currentDocumentSessionVersion']=_0x500b09['currentDocumentSessionVersion']>>>0x0),null!=_0x500b09['currentDocumentSessionOperationId']&&(_0x13e2dd['currentDocumentSessionOperationId']=String(_0x500b09['currentDocumentSessionOperationId'])),_0x13e2dd;},_0x5e613e['toObject']=function(_0x5eb7ff,_0x3920b4){_0x3920b4||(_0x3920b4={});var _0x358d79={};return _0x3920b4['defaults']&&(_0x358d79['lastDocumentSessionId']='',_0x358d79['lastDocumentSessionOperationId']='',_0x358d79['currentDocumentSessionId']='',_0x358d79['currentDocumentSessionVersion']=0x0,_0x358d79['currentDocumentSessionOperationId']=''),null!=_0x5eb7ff['lastDocumentSessionId']&&_0x5eb7ff['hasOwnProperty']('lastDocumentSessionId')&&(_0x358d79['lastDocumentSessionId']=_0x5eb7ff['lastDocumentSessionId']),null!=_0x5eb7ff['lastDocumentSessionOperationId']&&_0x5eb7ff['hasOwnProperty']('lastDocumentSessionOperationId')&&(_0x358d79['lastDocumentSessionOperationId']=_0x5eb7ff['lastDocumentSessionOperationId']),null!=_0x5eb7ff['currentDocumentSessionId']&&_0x5eb7ff['hasOwnProperty']('currentDocumentSessionId')&&(_0x358d79['currentDocumentSessionId']=_0x5eb7ff['currentDocumentSessionId']),null!=_0x5eb7ff['currentDocumentSessionVersion']&&_0x5eb7ff['hasOwnProperty']('currentDocumentSessionVersion')&&(_0x358d79['currentDocumentSessionVersion']=_0x5eb7ff['currentDocumentSessionVersion']),null!=_0x5eb7ff['currentDocumentSessionOperationId']&&_0x5eb7ff['hasOwnProperty']('currentDocumentSessionOperationId')&&(_0x358d79['currentDocumentSessionOperationId']=_0x5eb7ff['currentDocumentSessionOperationId']),_0x358d79;},_0x5e613e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5e613e['getTypeUrl']=function(_0x4c3262){return void 0x0===_0x4c3262&&(_0x4c3262='type.googleapis.com'),_0x4c3262+'/GetDocumentDetailsResponse';},_0x5e613e;}()),_0x28a9ef['CollaborativeEditingResponse']=(function(){function _0x5c96ef(_0x262322){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x262322){for(var _0x2a87cf=Object['keys'](_0x262322),_0x42079d=0x0;_0x42079d<_0x2a87cf['length'];++_0x42079d)null!=_0x262322[_0x2a87cf[_0x42079d]]&&(this[_0x2a87cf[_0x42079d]]=_0x262322[_0x2a87cf[_0x42079d]]);}}return _0x5c96ef['prototype']['version']=0x0,_0x5c96ef['prototype']['buffers']=_0x4bd92b['emptyArray'],_0x5c96ef['prototype']['types']=_0x4bd92b['emptyArray'],_0x5c96ef['prototype']['metadata']=_0x4bd92b['emptyArray'],_0x5c96ef['prototype']['lastOperationId']='',_0x5c96ef['prototype']['lastOperationAcceptedAt']='',_0x5c96ef['create']=function(_0x4d2e43){return new _0x5c96ef(_0x4d2e43);},_0x5c96ef['encode']=function(_0x3051d9,_0x3c6376){if(_0x3c6376||(_0x3c6376=_0xd78662['create']()),null!=_0x3051d9['version']&&Object['hasOwnProperty']['call'](_0x3051d9,'version')&&_0x3c6376['uint32'](0x8)['uint32'](_0x3051d9['version']),null!=_0x3051d9['buffers']&&_0x3051d9['buffers']['length']){for(var _0x41c362=0x0;_0x41c362<_0x3051d9['buffers']['length'];++_0x41c362)_0x3c6376['uint32'](0x12)['bytes'](_0x3051d9['buffers'][_0x41c362]);}if(null!=_0x3051d9['types']&&_0x3051d9['types']['length']){for(_0x3c6376['uint32'](0x1a)['fork'](),_0x41c362=0x0;_0x41c362<_0x3051d9['types']['length'];++_0x41c362)_0x3c6376['uint32'](_0x3051d9['types'][_0x41c362]);_0x3c6376['ldelim']();}if(null!=_0x3051d9['metadata']&&_0x3051d9['metadata']['length']){for(_0x41c362=0x0;_0x41c362<_0x3051d9['metadata']['length'];++_0x41c362)_0x28a9ef['OperationMetadataDescriptor']['encode'](_0x3051d9['metadata'][_0x41c362],_0x3c6376['uint32'](0x2a)['fork']())['ldelim']();}return null!=_0x3051d9['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3051d9,'lastOperationId')&&_0x3c6376['uint32'](0x32)['string'](_0x3051d9['lastOperationId']),null!=_0x3051d9['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x3051d9,'lastOperationAcceptedAt')&&_0x3c6376['uint32'](0x3a)['string'](_0x3051d9['lastOperationAcceptedAt']),_0x3c6376;},_0x5c96ef['encodeDelimited']=function(_0x554d7e,_0x241670){return this['encode'](_0x554d7e,_0x241670)['ldelim']();},_0x5c96ef['decode']=function(_0x5ec0f4,_0x59d44b,_0x4fc856){_0x5ec0f4 instanceof _0x4eb936||(_0x5ec0f4=_0x4eb936['create'](_0x5ec0f4));for(var _0x4b42fb=void 0x0===_0x59d44b?_0x5ec0f4['len']:_0x5ec0f4['pos']+_0x59d44b,_0x3d5ab3=new _0x28a9ef['CollaborativeEditingResponse']();_0x5ec0f4['pos']<_0x4b42fb;){var _0x4e231c=_0x5ec0f4['uint32']();if(_0x4e231c===_0x4fc856)break;switch(_0x4e231c>>>0x3){case 0x1:_0x3d5ab3['version']=_0x5ec0f4['uint32']();break;case 0x2:_0x3d5ab3['buffers']&&_0x3d5ab3['buffers']['length']||(_0x3d5ab3['buffers']=[]),_0x3d5ab3['buffers']['push'](_0x5ec0f4['bytes']());break;case 0x3:if(_0x3d5ab3['types']&&_0x3d5ab3['types']['length']||(_0x3d5ab3['types']=[]),0x2==(0x7&_0x4e231c)){for(var _0x2c2b3b=_0x5ec0f4['uint32']()+_0x5ec0f4['pos'];_0x5ec0f4['pos']<_0x2c2b3b;)_0x3d5ab3['types']['push'](_0x5ec0f4['uint32']());}else _0x3d5ab3['types']['push'](_0x5ec0f4['uint32']());break;case 0x5:_0x3d5ab3['metadata']&&_0x3d5ab3['metadata']['length']||(_0x3d5ab3['metadata']=[]),_0x3d5ab3['metadata']['push'](_0x28a9ef['OperationMetadataDescriptor']['decode'](_0x5ec0f4,_0x5ec0f4['uint32']()));break;case 0x6:_0x3d5ab3['lastOperationId']=_0x5ec0f4['string']();break;case 0x7:_0x3d5ab3['lastOperationAcceptedAt']=_0x5ec0f4['string']();break;default:_0x5ec0f4['skipType'](0x7&_0x4e231c);}}return _0x3d5ab3;},_0x5c96ef['decodeDelimited']=function(_0x4d06d9){return _0x4d06d9 instanceof _0x4eb936||(_0x4d06d9=new _0x4eb936(_0x4d06d9)),this['decode'](_0x4d06d9,_0x4d06d9['uint32']());},_0x5c96ef['verify']=function(_0x4a6a16){if('object'!=typeof _0x4a6a16||null===_0x4a6a16)return'object\x20expected';if(null!=_0x4a6a16['version']&&_0x4a6a16['hasOwnProperty']('version')&&!_0x4bd92b['isInteger'](_0x4a6a16['version']))return'version:\x20integer\x20expected';if(null!=_0x4a6a16['buffers']&&_0x4a6a16['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x4a6a16['buffers']))return'buffers:\x20array\x20expected';for(var _0x1985a4=0x0;_0x1985a4<_0x4a6a16['buffers']['length'];++_0x1985a4)if(!(_0x4a6a16['buffers'][_0x1985a4]&&'number'==typeof _0x4a6a16['buffers'][_0x1985a4]['length']||_0x4bd92b['isString'](_0x4a6a16['buffers'][_0x1985a4])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x4a6a16['types']&&_0x4a6a16['hasOwnProperty']('types')){if(!Array['isArray'](_0x4a6a16['types']))return'types:\x20array\x20expected';for(_0x1985a4=0x0;_0x1985a4<_0x4a6a16['types']['length'];++_0x1985a4)if(!_0x4bd92b['isInteger'](_0x4a6a16['types'][_0x1985a4]))return'types:\x20integer[]\x20expected';}if(null!=_0x4a6a16['metadata']&&_0x4a6a16['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x4a6a16['metadata']))return'metadata:\x20array\x20expected';for(_0x1985a4=0x0;_0x1985a4<_0x4a6a16['metadata']['length'];++_0x1985a4){var _0x2f7abe=_0x28a9ef['OperationMetadataDescriptor']['verify'](_0x4a6a16['metadata'][_0x1985a4]);if(_0x2f7abe)return'metadata.'+_0x2f7abe;}}return null!=_0x4a6a16['lastOperationId']&&_0x4a6a16['hasOwnProperty']('lastOperationId')&&!_0x4bd92b['isString'](_0x4a6a16['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x4a6a16['lastOperationAcceptedAt']&&_0x4a6a16['hasOwnProperty']('lastOperationAcceptedAt')&&!_0x4bd92b['isString'](_0x4a6a16['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x5c96ef['fromObject']=function(_0x12b3be){if(_0x12b3be instanceof _0x28a9ef['CollaborativeEditingResponse'])return _0x12b3be;var _0x503aa9=new _0x28a9ef['CollaborativeEditingResponse']();if(null!=_0x12b3be['version']&&(_0x503aa9['version']=_0x12b3be['version']>>>0x0),_0x12b3be['buffers']){if(!Array['isArray'](_0x12b3be['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x503aa9['buffers']=[];for(var _0x54e2d9=0x0;_0x54e2d9<_0x12b3be['buffers']['length'];++_0x54e2d9)'string'==typeof _0x12b3be['buffers'][_0x54e2d9]?_0x4bd92b['base64']['decode'](_0x12b3be['buffers'][_0x54e2d9],_0x503aa9['buffers'][_0x54e2d9]=_0x4bd92b['newBuffer'](_0x4bd92b['base64']['length'](_0x12b3be['buffers'][_0x54e2d9])),0x0):_0x12b3be['buffers'][_0x54e2d9]['length']>=0x0&&(_0x503aa9['buffers'][_0x54e2d9]=_0x12b3be['buffers'][_0x54e2d9]);}if(_0x12b3be['types']){if(!Array['isArray'](_0x12b3be['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x503aa9['types']=[],_0x54e2d9=0x0;_0x54e2d9<_0x12b3be['types']['length'];++_0x54e2d9)_0x503aa9['types'][_0x54e2d9]=_0x12b3be['types'][_0x54e2d9]>>>0x0;}if(_0x12b3be['metadata']){if(!Array['isArray'](_0x12b3be['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x503aa9['metadata']=[],_0x54e2d9=0x0;_0x54e2d9<_0x12b3be['metadata']['length'];++_0x54e2d9){if('object'!=typeof _0x12b3be['metadata'][_0x54e2d9])throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x503aa9['metadata'][_0x54e2d9]=_0x28a9ef['OperationMetadataDescriptor']['fromObject'](_0x12b3be['metadata'][_0x54e2d9]);}}return null!=_0x12b3be['lastOperationId']&&(_0x503aa9['lastOperationId']=String(_0x12b3be['lastOperationId'])),null!=_0x12b3be['lastOperationAcceptedAt']&&(_0x503aa9['lastOperationAcceptedAt']=String(_0x12b3be['lastOperationAcceptedAt'])),_0x503aa9;},_0x5c96ef['toObject']=function(_0x3396b1,_0x47788d){_0x47788d||(_0x47788d={});var _0x5b79ae={};if((_0x47788d['arrays']||_0x47788d['defaults'])&&(_0x5b79ae['buffers']=[],_0x5b79ae['types']=[],_0x5b79ae['metadata']=[]),_0x47788d['defaults']&&(_0x5b79ae['version']=0x0,_0x5b79ae['lastOperationId']='',_0x5b79ae['lastOperationAcceptedAt']=''),null!=_0x3396b1['version']&&_0x3396b1['hasOwnProperty']('version')&&(_0x5b79ae['version']=_0x3396b1['version']),_0x3396b1['buffers']&&_0x3396b1['buffers']['length']){_0x5b79ae['buffers']=[];for(var _0x5458d0=0x0;_0x5458d0<_0x3396b1['buffers']['length'];++_0x5458d0)_0x5b79ae['buffers'][_0x5458d0]=_0x47788d['bytes']===String?_0x4bd92b['base64']['encode'](_0x3396b1['buffers'][_0x5458d0],0x0,_0x3396b1['buffers'][_0x5458d0]['length']):_0x47788d['bytes']===Array?Array['prototype']['slice']['call'](_0x3396b1['buffers'][_0x5458d0]):_0x3396b1['buffers'][_0x5458d0];}if(_0x3396b1['types']&&_0x3396b1['types']['length']){for(_0x5b79ae['types']=[],_0x5458d0=0x0;_0x5458d0<_0x3396b1['types']['length'];++_0x5458d0)_0x5b79ae['types'][_0x5458d0]=_0x3396b1['types'][_0x5458d0];}if(_0x3396b1['metadata']&&_0x3396b1['metadata']['length']){for(_0x5b79ae['metadata']=[],_0x5458d0=0x0;_0x5458d0<_0x3396b1['metadata']['length'];++_0x5458d0)_0x5b79ae['metadata'][_0x5458d0]=_0x28a9ef['OperationMetadataDescriptor']['toObject'](_0x3396b1['metadata'][_0x5458d0],_0x47788d);}return null!=_0x3396b1['lastOperationId']&&_0x3396b1['hasOwnProperty']('lastOperationId')&&(_0x5b79ae['lastOperationId']=_0x3396b1['lastOperationId']),null!=_0x3396b1['lastOperationAcceptedAt']&&_0x3396b1['hasOwnProperty']('lastOperationAcceptedAt')&&(_0x5b79ae['lastOperationAcceptedAt']=_0x3396b1['lastOperationAcceptedAt']),_0x5b79ae;},_0x5c96ef['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5c96ef['getTypeUrl']=function(_0x191846){return void 0x0===_0x191846&&(_0x191846='type.googleapis.com'),_0x191846+'/CollaborativeEditingResponse';},_0x5c96ef;}()),_0x28a9ef['CollaborativeEditingConnectResponse']=(function(){function _0x57bd74(_0x49018d){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x49018d){for(var _0x48a7a5=Object['keys'](_0x49018d),_0x34b5d1=0x0;_0x34b5d1<_0x48a7a5['length'];++_0x34b5d1)null!=_0x49018d[_0x48a7a5[_0x34b5d1]]&&(this[_0x48a7a5[_0x34b5d1]]=_0x49018d[_0x48a7a5[_0x34b5d1]]);}}return _0x57bd74['prototype']['channel']='',_0x57bd74['prototype']['offset']=0x0,_0x57bd74['prototype']['version']=0x0,_0x57bd74['prototype']['buffers']=_0x4bd92b['emptyArray'],_0x57bd74['prototype']['types']=_0x4bd92b['emptyArray'],_0x57bd74['prototype']['metadata']=_0x4bd92b['emptyArray'],_0x57bd74['prototype']['initData']='',_0x57bd74['prototype']['isInitialized']=!0x1,_0x57bd74['prototype']['sessionId']='',_0x57bd74['prototype']['lastOperationId']='',_0x57bd74['prototype']['sessionCreatedAt']='',_0x57bd74['create']=function(_0x4fead7){return new _0x57bd74(_0x4fead7);},_0x57bd74['encode']=function(_0x2c7da2,_0xd8be74){if(_0xd8be74||(_0xd8be74=_0xd78662['create']()),null!=_0x2c7da2['channel']&&Object['hasOwnProperty']['call'](_0x2c7da2,'channel')&&_0xd8be74['uint32'](0xa)['string'](_0x2c7da2['channel']),null!=_0x2c7da2['offset']&&Object['hasOwnProperty']['call'](_0x2c7da2,'offset')&&_0xd8be74['uint32'](0x10)['uint32'](_0x2c7da2['offset']),null!=_0x2c7da2['version']&&Object['hasOwnProperty']['call'](_0x2c7da2,'version')&&_0xd8be74['uint32'](0x18)['uint32'](_0x2c7da2['version']),null!=_0x2c7da2['buffers']&&_0x2c7da2['buffers']['length']){for(var _0x514d5b=0x0;_0x514d5b<_0x2c7da2['buffers']['length'];++_0x514d5b)_0xd8be74['uint32'](0x22)['bytes'](_0x2c7da2['buffers'][_0x514d5b]);}if(null!=_0x2c7da2['types']&&_0x2c7da2['types']['length']){for(_0xd8be74['uint32'](0x2a)['fork'](),_0x514d5b=0x0;_0x514d5b<_0x2c7da2['types']['length'];++_0x514d5b)_0xd8be74['uint32'](_0x2c7da2['types'][_0x514d5b]);_0xd8be74['ldelim']();}if(null!=_0x2c7da2['metadata']&&_0x2c7da2['metadata']['length']){for(_0x514d5b=0x0;_0x514d5b<_0x2c7da2['metadata']['length'];++_0x514d5b)_0x28a9ef['OperationMetadataDescriptor']['encode'](_0x2c7da2['metadata'][_0x514d5b],_0xd8be74['uint32'](0x3a)['fork']())['ldelim']();}return null!=_0x2c7da2['initData']&&Object['hasOwnProperty']['call'](_0x2c7da2,'initData')&&_0xd8be74['uint32'](0x42)['string'](_0x2c7da2['initData']),null!=_0x2c7da2['isInitialized']&&Object['hasOwnProperty']['call'](_0x2c7da2,'isInitialized')&&_0xd8be74['uint32'](0x48)['bool'](_0x2c7da2['isInitialized']),null!=_0x2c7da2['sessionId']&&Object['hasOwnProperty']['call'](_0x2c7da2,'sessionId')&&_0xd8be74['uint32'](0x52)['string'](_0x2c7da2['sessionId']),null!=_0x2c7da2['lastOperationId']&&Object['hasOwnProperty']['call'](_0x2c7da2,'lastOperationId')&&_0xd8be74['uint32'](0x5a)['string'](_0x2c7da2['lastOperationId']),null!=_0x2c7da2['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x2c7da2,'sessionCreatedAt')&&_0xd8be74['uint32'](0x62)['string'](_0x2c7da2['sessionCreatedAt']),_0xd8be74;},_0x57bd74['encodeDelimited']=function(_0x8b1c1e,_0x2fa837){return this['encode'](_0x8b1c1e,_0x2fa837)['ldelim']();},_0x57bd74['decode']=function(_0x586ea2,_0x384518,_0x14f640){_0x586ea2 instanceof _0x4eb936||(_0x586ea2=_0x4eb936['create'](_0x586ea2));for(var _0x48f1db=void 0x0===_0x384518?_0x586ea2['len']:_0x586ea2['pos']+_0x384518,_0x48b81c=new _0x28a9ef['CollaborativeEditingConnectResponse']();_0x586ea2['pos']<_0x48f1db;){var _0x29e591=_0x586ea2['uint32']();if(_0x29e591===_0x14f640)break;switch(_0x29e591>>>0x3){case 0x1:_0x48b81c['channel']=_0x586ea2['string']();break;case 0x2:_0x48b81c['offset']=_0x586ea2['uint32']();break;case 0x3:_0x48b81c['version']=_0x586ea2['uint32']();break;case 0x4:_0x48b81c['buffers']&&_0x48b81c['buffers']['length']||(_0x48b81c['buffers']=[]),_0x48b81c['buffers']['push'](_0x586ea2['bytes']());break;case 0x5:if(_0x48b81c['types']&&_0x48b81c['types']['length']||(_0x48b81c['types']=[]),0x2==(0x7&_0x29e591)){for(var _0x17650c=_0x586ea2['uint32']()+_0x586ea2['pos'];_0x586ea2['pos']<_0x17650c;)_0x48b81c['types']['push'](_0x586ea2['uint32']());}else _0x48b81c['types']['push'](_0x586ea2['uint32']());break;case 0x7:_0x48b81c['metadata']&&_0x48b81c['metadata']['length']||(_0x48b81c['metadata']=[]),_0x48b81c['metadata']['push'](_0x28a9ef['OperationMetadataDescriptor']['decode'](_0x586ea2,_0x586ea2['uint32']()));break;case 0x8:_0x48b81c['initData']=_0x586ea2['string']();break;case 0x9:_0x48b81c['isInitialized']=_0x586ea2['bool']();break;case 0xa:_0x48b81c['sessionId']=_0x586ea2['string']();break;case 0xb:_0x48b81c['lastOperationId']=_0x586ea2['string']();break;case 0xc:_0x48b81c['sessionCreatedAt']=_0x586ea2['string']();break;default:_0x586ea2['skipType'](0x7&_0x29e591);}}return _0x48b81c;},_0x57bd74['decodeDelimited']=function(_0x210782){return _0x210782 instanceof _0x4eb936||(_0x210782=new _0x4eb936(_0x210782)),this['decode'](_0x210782,_0x210782['uint32']());},_0x57bd74['verify']=function(_0x14d486){if('object'!=typeof _0x14d486||null===_0x14d486)return'object\x20expected';if(null!=_0x14d486['channel']&&_0x14d486['hasOwnProperty']('channel')&&!_0x4bd92b['isString'](_0x14d486['channel']))return'channel:\x20string\x20expected';if(null!=_0x14d486['offset']&&_0x14d486['hasOwnProperty']('offset')&&!_0x4bd92b['isInteger'](_0x14d486['offset']))return'offset:\x20integer\x20expected';if(null!=_0x14d486['version']&&_0x14d486['hasOwnProperty']('version')&&!_0x4bd92b['isInteger'](_0x14d486['version']))return'version:\x20integer\x20expected';if(null!=_0x14d486['buffers']&&_0x14d486['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x14d486['buffers']))return'buffers:\x20array\x20expected';for(var _0x55a87f=0x0;_0x55a87f<_0x14d486['buffers']['length'];++_0x55a87f)if(!(_0x14d486['buffers'][_0x55a87f]&&'number'==typeof _0x14d486['buffers'][_0x55a87f]['length']||_0x4bd92b['isString'](_0x14d486['buffers'][_0x55a87f])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x14d486['types']&&_0x14d486['hasOwnProperty']('types')){if(!Array['isArray'](_0x14d486['types']))return'types:\x20array\x20expected';for(_0x55a87f=0x0;_0x55a87f<_0x14d486['types']['length'];++_0x55a87f)if(!_0x4bd92b['isInteger'](_0x14d486['types'][_0x55a87f]))return'types:\x20integer[]\x20expected';}if(null!=_0x14d486['metadata']&&_0x14d486['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x14d486['metadata']))return'metadata:\x20array\x20expected';for(_0x55a87f=0x0;_0x55a87f<_0x14d486['metadata']['length'];++_0x55a87f){var _0x3cafa3=_0x28a9ef['OperationMetadataDescriptor']['verify'](_0x14d486['metadata'][_0x55a87f]);if(_0x3cafa3)return'metadata.'+_0x3cafa3;}}return null!=_0x14d486['initData']&&_0x14d486['hasOwnProperty']('initData')&&!_0x4bd92b['isString'](_0x14d486['initData'])?'initData:\x20string\x20expected':null!=_0x14d486['isInitialized']&&_0x14d486['hasOwnProperty']('isInitialized')&&'boolean'!=typeof _0x14d486['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x14d486['sessionId']&&_0x14d486['hasOwnProperty']('sessionId')&&!_0x4bd92b['isString'](_0x14d486['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x14d486['lastOperationId']&&_0x14d486['hasOwnProperty']('lastOperationId')&&!_0x4bd92b['isString'](_0x14d486['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x14d486['sessionCreatedAt']&&_0x14d486['hasOwnProperty']('sessionCreatedAt')&&!_0x4bd92b['isString'](_0x14d486['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x57bd74['fromObject']=function(_0x23e948){if(_0x23e948 instanceof _0x28a9ef['CollaborativeEditingConnectResponse'])return _0x23e948;var _0x2a64c9=new _0x28a9ef['CollaborativeEditingConnectResponse']();if(null!=_0x23e948['channel']&&(_0x2a64c9['channel']=String(_0x23e948['channel'])),null!=_0x23e948['offset']&&(_0x2a64c9['offset']=_0x23e948['offset']>>>0x0),null!=_0x23e948['version']&&(_0x2a64c9['version']=_0x23e948['version']>>>0x0),_0x23e948['buffers']){if(!Array['isArray'](_0x23e948['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x2a64c9['buffers']=[];for(var _0x3ff934=0x0;_0x3ff934<_0x23e948['buffers']['length'];++_0x3ff934)'string'==typeof _0x23e948['buffers'][_0x3ff934]?_0x4bd92b['base64']['decode'](_0x23e948['buffers'][_0x3ff934],_0x2a64c9['buffers'][_0x3ff934]=_0x4bd92b['newBuffer'](_0x4bd92b['base64']['length'](_0x23e948['buffers'][_0x3ff934])),0x0):_0x23e948['buffers'][_0x3ff934]['length']>=0x0&&(_0x2a64c9['buffers'][_0x3ff934]=_0x23e948['buffers'][_0x3ff934]);}if(_0x23e948['types']){if(!Array['isArray'](_0x23e948['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x2a64c9['types']=[],_0x3ff934=0x0;_0x3ff934<_0x23e948['types']['length'];++_0x3ff934)_0x2a64c9['types'][_0x3ff934]=_0x23e948['types'][_0x3ff934]>>>0x0;}if(_0x23e948['metadata']){if(!Array['isArray'](_0x23e948['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x2a64c9['metadata']=[],_0x3ff934=0x0;_0x3ff934<_0x23e948['metadata']['length'];++_0x3ff934){if('object'!=typeof _0x23e948['metadata'][_0x3ff934])throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x2a64c9['metadata'][_0x3ff934]=_0x28a9ef['OperationMetadataDescriptor']['fromObject'](_0x23e948['metadata'][_0x3ff934]);}}return null!=_0x23e948['initData']&&(_0x2a64c9['initData']=String(_0x23e948['initData'])),null!=_0x23e948['isInitialized']&&(_0x2a64c9['isInitialized']=Boolean(_0x23e948['isInitialized'])),null!=_0x23e948['sessionId']&&(_0x2a64c9['sessionId']=String(_0x23e948['sessionId'])),null!=_0x23e948['lastOperationId']&&(_0x2a64c9['lastOperationId']=String(_0x23e948['lastOperationId'])),null!=_0x23e948['sessionCreatedAt']&&(_0x2a64c9['sessionCreatedAt']=String(_0x23e948['sessionCreatedAt'])),_0x2a64c9;},_0x57bd74['toObject']=function(_0x2c6c92,_0x1b53c0){_0x1b53c0||(_0x1b53c0={});var _0x521004={};if((_0x1b53c0['arrays']||_0x1b53c0['defaults'])&&(_0x521004['buffers']=[],_0x521004['types']=[],_0x521004['metadata']=[]),_0x1b53c0['defaults']&&(_0x521004['channel']='',_0x521004['offset']=0x0,_0x521004['version']=0x0,_0x521004['initData']='',_0x521004['isInitialized']=!0x1,_0x521004['sessionId']='',_0x521004['lastOperationId']='',_0x521004['sessionCreatedAt']=''),null!=_0x2c6c92['channel']&&_0x2c6c92['hasOwnProperty']('channel')&&(_0x521004['channel']=_0x2c6c92['channel']),null!=_0x2c6c92['offset']&&_0x2c6c92['hasOwnProperty']('offset')&&(_0x521004['offset']=_0x2c6c92['offset']),null!=_0x2c6c92['version']&&_0x2c6c92['hasOwnProperty']('version')&&(_0x521004['version']=_0x2c6c92['version']),_0x2c6c92['buffers']&&_0x2c6c92['buffers']['length']){_0x521004['buffers']=[];for(var _0x269322=0x0;_0x269322<_0x2c6c92['buffers']['length'];++_0x269322)_0x521004['buffers'][_0x269322]=_0x1b53c0['bytes']===String?_0x4bd92b['base64']['encode'](_0x2c6c92['buffers'][_0x269322],0x0,_0x2c6c92['buffers'][_0x269322]['length']):_0x1b53c0['bytes']===Array?Array['prototype']['slice']['call'](_0x2c6c92['buffers'][_0x269322]):_0x2c6c92['buffers'][_0x269322];}if(_0x2c6c92['types']&&_0x2c6c92['types']['length']){for(_0x521004['types']=[],_0x269322=0x0;_0x269322<_0x2c6c92['types']['length'];++_0x269322)_0x521004['types'][_0x269322]=_0x2c6c92['types'][_0x269322];}if(_0x2c6c92['metadata']&&_0x2c6c92['metadata']['length']){for(_0x521004['metadata']=[],_0x269322=0x0;_0x269322<_0x2c6c92['metadata']['length'];++_0x269322)_0x521004['metadata'][_0x269322]=_0x28a9ef['OperationMetadataDescriptor']['toObject'](_0x2c6c92['metadata'][_0x269322],_0x1b53c0);}return null!=_0x2c6c92['initData']&&_0x2c6c92['hasOwnProperty']('initData')&&(_0x521004['initData']=_0x2c6c92['initData']),null!=_0x2c6c92['isInitialized']&&_0x2c6c92['hasOwnProperty']('isInitialized')&&(_0x521004['isInitialized']=_0x2c6c92['isInitialized']),null!=_0x2c6c92['sessionId']&&_0x2c6c92['hasOwnProperty']('sessionId')&&(_0x521004['sessionId']=_0x2c6c92['sessionId']),null!=_0x2c6c92['lastOperationId']&&_0x2c6c92['hasOwnProperty']('lastOperationId')&&(_0x521004['lastOperationId']=_0x2c6c92['lastOperationId']),null!=_0x2c6c92['sessionCreatedAt']&&_0x2c6c92['hasOwnProperty']('sessionCreatedAt')&&(_0x521004['sessionCreatedAt']=_0x2c6c92['sessionCreatedAt']),_0x521004;},_0x57bd74['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x57bd74['getTypeUrl']=function(_0x359690){return void 0x0===_0x359690&&(_0x359690='type.googleapis.com'),_0x359690+'/CollaborativeEditingConnectResponse';},_0x57bd74;}()),_0x28a9ef['GetDocumentDetailsMessage']=(function(){function _0x276ef5(_0x36f548){if(_0x36f548){for(var _0x2ef83b=Object['keys'](_0x36f548),_0x29856f=0x0;_0x29856f<_0x2ef83b['length'];++_0x29856f)null!=_0x36f548[_0x2ef83b[_0x29856f]]&&(this[_0x2ef83b[_0x29856f]]=_0x36f548[_0x2ef83b[_0x29856f]]);}}return _0x276ef5['prototype']['documentId']='',_0x276ef5['prototype']['environmentId']='',_0x276ef5['create']=function(_0x60acfe){return new _0x276ef5(_0x60acfe);},_0x276ef5['encode']=function(_0x35212c,_0x45ceef){return _0x45ceef||(_0x45ceef=_0xd78662['create']()),null!=_0x35212c['documentId']&&Object['hasOwnProperty']['call'](_0x35212c,'documentId')&&_0x45ceef['uint32'](0xa)['string'](_0x35212c['documentId']),null!=_0x35212c['environmentId']&&Object['hasOwnProperty']['call'](_0x35212c,'environmentId')&&_0x45ceef['uint32'](0x12)['string'](_0x35212c['environmentId']),_0x45ceef;},_0x276ef5['encodeDelimited']=function(_0x2afbd1,_0xaf490d){return this['encode'](_0x2afbd1,_0xaf490d)['ldelim']();},_0x276ef5['decode']=function(_0x2d8722,_0x1672dc,_0x43e752){_0x2d8722 instanceof _0x4eb936||(_0x2d8722=_0x4eb936['create'](_0x2d8722));for(var _0x275c75=void 0x0===_0x1672dc?_0x2d8722['len']:_0x2d8722['pos']+_0x1672dc,_0x26ed44=new _0x28a9ef['GetDocumentDetailsMessage']();_0x2d8722['pos']<_0x275c75;){var _0x30fc8c=_0x2d8722['uint32']();if(_0x30fc8c===_0x43e752)break;switch(_0x30fc8c>>>0x3){case 0x1:_0x26ed44['documentId']=_0x2d8722['string']();break;case 0x2:_0x26ed44['environmentId']=_0x2d8722['string']();break;default:_0x2d8722['skipType'](0x7&_0x30fc8c);}}return _0x26ed44;},_0x276ef5['decodeDelimited']=function(_0x504815){return _0x504815 instanceof _0x4eb936||(_0x504815=new _0x4eb936(_0x504815)),this['decode'](_0x504815,_0x504815['uint32']());},_0x276ef5['verify']=function(_0x494104){return'object'!=typeof _0x494104||null===_0x494104?'object\x20expected':null!=_0x494104['documentId']&&_0x494104['hasOwnProperty']('documentId')&&!_0x4bd92b['isString'](_0x494104['documentId'])?'documentId:\x20string\x20expected':null!=_0x494104['environmentId']&&_0x494104['hasOwnProperty']('environmentId')&&!_0x4bd92b['isString'](_0x494104['environmentId'])?'environmentId:\x20string\x20expected':null;},_0x276ef5['fromObject']=function(_0x669fa8){if(_0x669fa8 instanceof _0x28a9ef['GetDocumentDetailsMessage'])return _0x669fa8;var _0x9404f9=new _0x28a9ef['GetDocumentDetailsMessage']();return null!=_0x669fa8['documentId']&&(_0x9404f9['documentId']=String(_0x669fa8['documentId'])),null!=_0x669fa8['environmentId']&&(_0x9404f9['environmentId']=String(_0x669fa8['environmentId'])),_0x9404f9;},_0x276ef5['toObject']=function(_0x37e2c0,_0x1ae3a5){_0x1ae3a5||(_0x1ae3a5={});var _0x5bee6c={};return _0x1ae3a5['defaults']&&(_0x5bee6c['documentId']='',_0x5bee6c['environmentId']=''),null!=_0x37e2c0['documentId']&&_0x37e2c0['hasOwnProperty']('documentId')&&(_0x5bee6c['documentId']=_0x37e2c0['documentId']),null!=_0x37e2c0['environmentId']&&_0x37e2c0['hasOwnProperty']('environmentId')&&(_0x5bee6c['environmentId']=_0x37e2c0['environmentId']),_0x5bee6c;},_0x276ef5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x276ef5['getTypeUrl']=function(_0x48f6f2){return void 0x0===_0x48f6f2&&(_0x48f6f2='type.googleapis.com'),_0x48f6f2+'/GetDocumentDetailsMessage';},_0x276ef5;}()),_0x28a9ef['CollaborativeEditingUpdateMessage']=(function(){function _0xf88ace(_0x3d3ac6){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x3d3ac6){for(var _0x485a2c=Object['keys'](_0x3d3ac6),_0x4418eb=0x0;_0x4418eb<_0x485a2c['length'];++_0x4418eb)null!=_0x3d3ac6[_0x485a2c[_0x4418eb]]&&(this[_0x485a2c[_0x4418eb]]=_0x3d3ac6[_0x485a2c[_0x4418eb]]);}}return _0xf88ace['prototype']['id']='',_0xf88ace['prototype']['baseVersion']=0x0,_0xf88ace['prototype']['buffers']=_0x4bd92b['emptyArray'],_0xf88ace['prototype']['types']=_0x4bd92b['emptyArray'],_0xf88ace['prototype']['metadata']=_0x4bd92b['emptyArray'],_0xf88ace['prototype']['lastOperationId']='',_0xf88ace['create']=function(_0x46d2b3){return new _0xf88ace(_0x46d2b3);},_0xf88ace['encode']=function(_0x3ef42b,_0x1709ad){if(_0x1709ad||(_0x1709ad=_0xd78662['create']()),null!=_0x3ef42b['id']&&Object['hasOwnProperty']['call'](_0x3ef42b,'id')&&_0x1709ad['uint32'](0xa)['string'](_0x3ef42b['id']),null!=_0x3ef42b['baseVersion']&&Object['hasOwnProperty']['call'](_0x3ef42b,'baseVersion')&&_0x1709ad['uint32'](0x10)['uint32'](_0x3ef42b['baseVersion']),null!=_0x3ef42b['buffers']&&_0x3ef42b['buffers']['length']){for(var _0x373340=0x0;_0x373340<_0x3ef42b['buffers']['length'];++_0x373340)_0x1709ad['uint32'](0x1a)['bytes'](_0x3ef42b['buffers'][_0x373340]);}if(null!=_0x3ef42b['types']&&_0x3ef42b['types']['length']){for(_0x1709ad['uint32'](0x22)['fork'](),_0x373340=0x0;_0x373340<_0x3ef42b['types']['length'];++_0x373340)_0x1709ad['uint32'](_0x3ef42b['types'][_0x373340]);_0x1709ad['ldelim']();}if(null!=_0x3ef42b['metadata']&&_0x3ef42b['metadata']['length']){for(_0x373340=0x0;_0x373340<_0x3ef42b['metadata']['length'];++_0x373340)_0x28a9ef['OperationMetadataDescriptor']['encode'](_0x3ef42b['metadata'][_0x373340],_0x1709ad['uint32'](0x32)['fork']())['ldelim']();}return null!=_0x3ef42b['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3ef42b,'lastOperationId')&&_0x1709ad['uint32'](0x3a)['string'](_0x3ef42b['lastOperationId']),_0x1709ad;},_0xf88ace['encodeDelimited']=function(_0x29ceb7,_0x5193e3){return this['encode'](_0x29ceb7,_0x5193e3)['ldelim']();},_0xf88ace['decode']=function(_0x4af1b7,_0x1444f4,_0x29cd31){_0x4af1b7 instanceof _0x4eb936||(_0x4af1b7=_0x4eb936['create'](_0x4af1b7));for(var _0x4debfc=void 0x0===_0x1444f4?_0x4af1b7['len']:_0x4af1b7['pos']+_0x1444f4,_0x39b006=new _0x28a9ef['CollaborativeEditingUpdateMessage']();_0x4af1b7['pos']<_0x4debfc;){var _0x27a880=_0x4af1b7['uint32']();if(_0x27a880===_0x29cd31)break;switch(_0x27a880>>>0x3){case 0x1:_0x39b006['id']=_0x4af1b7['string']();break;case 0x2:_0x39b006['baseVersion']=_0x4af1b7['uint32']();break;case 0x3:_0x39b006['buffers']&&_0x39b006['buffers']['length']||(_0x39b006['buffers']=[]),_0x39b006['buffers']['push'](_0x4af1b7['bytes']());break;case 0x4:if(_0x39b006['types']&&_0x39b006['types']['length']||(_0x39b006['types']=[]),0x2==(0x7&_0x27a880)){for(var _0x1f84d9=_0x4af1b7['uint32']()+_0x4af1b7['pos'];_0x4af1b7['pos']<_0x1f84d9;)_0x39b006['types']['push'](_0x4af1b7['uint32']());}else _0x39b006['types']['push'](_0x4af1b7['uint32']());break;case 0x6:_0x39b006['metadata']&&_0x39b006['metadata']['length']||(_0x39b006['metadata']=[]),_0x39b006['metadata']['push'](_0x28a9ef['OperationMetadataDescriptor']['decode'](_0x4af1b7,_0x4af1b7['uint32']()));break;case 0x7:_0x39b006['lastOperationId']=_0x4af1b7['string']();break;default:_0x4af1b7['skipType'](0x7&_0x27a880);}}return _0x39b006;},_0xf88ace['decodeDelimited']=function(_0x284227){return _0x284227 instanceof _0x4eb936||(_0x284227=new _0x4eb936(_0x284227)),this['decode'](_0x284227,_0x284227['uint32']());},_0xf88ace['verify']=function(_0x261f08){if('object'!=typeof _0x261f08||null===_0x261f08)return'object\x20expected';if(null!=_0x261f08['id']&&_0x261f08['hasOwnProperty']('id')&&!_0x4bd92b['isString'](_0x261f08['id']))return'id:\x20string\x20expected';if(null!=_0x261f08['baseVersion']&&_0x261f08['hasOwnProperty']('baseVersion')&&!_0x4bd92b['isInteger'](_0x261f08['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x261f08['buffers']&&_0x261f08['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x261f08['buffers']))return'buffers:\x20array\x20expected';for(var _0x588af3=0x0;_0x588af3<_0x261f08['buffers']['length'];++_0x588af3)if(!(_0x261f08['buffers'][_0x588af3]&&'number'==typeof _0x261f08['buffers'][_0x588af3]['length']||_0x4bd92b['isString'](_0x261f08['buffers'][_0x588af3])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x261f08['types']&&_0x261f08['hasOwnProperty']('types')){if(!Array['isArray'](_0x261f08['types']))return'types:\x20array\x20expected';for(_0x588af3=0x0;_0x588af3<_0x261f08['types']['length'];++_0x588af3)if(!_0x4bd92b['isInteger'](_0x261f08['types'][_0x588af3]))return'types:\x20integer[]\x20expected';}if(null!=_0x261f08['metadata']&&_0x261f08['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x261f08['metadata']))return'metadata:\x20array\x20expected';for(_0x588af3=0x0;_0x588af3<_0x261f08['metadata']['length'];++_0x588af3){var _0x1f2667=_0x28a9ef['OperationMetadataDescriptor']['verify'](_0x261f08['metadata'][_0x588af3]);if(_0x1f2667)return'metadata.'+_0x1f2667;}}return null!=_0x261f08['lastOperationId']&&_0x261f08['hasOwnProperty']('lastOperationId')&&!_0x4bd92b['isString'](_0x261f08['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0xf88ace['fromObject']=function(_0x4d4739){if(_0x4d4739 instanceof _0x28a9ef['CollaborativeEditingUpdateMessage'])return _0x4d4739;var _0x49fa09=new _0x28a9ef['CollaborativeEditingUpdateMessage']();if(null!=_0x4d4739['id']&&(_0x49fa09['id']=String(_0x4d4739['id'])),null!=_0x4d4739['baseVersion']&&(_0x49fa09['baseVersion']=_0x4d4739['baseVersion']>>>0x0),_0x4d4739['buffers']){if(!Array['isArray'](_0x4d4739['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x49fa09['buffers']=[];for(var _0x19a5ff=0x0;_0x19a5ff<_0x4d4739['buffers']['length'];++_0x19a5ff)'string'==typeof _0x4d4739['buffers'][_0x19a5ff]?_0x4bd92b['base64']['decode'](_0x4d4739['buffers'][_0x19a5ff],_0x49fa09['buffers'][_0x19a5ff]=_0x4bd92b['newBuffer'](_0x4bd92b['base64']['length'](_0x4d4739['buffers'][_0x19a5ff])),0x0):_0x4d4739['buffers'][_0x19a5ff]['length']>=0x0&&(_0x49fa09['buffers'][_0x19a5ff]=_0x4d4739['buffers'][_0x19a5ff]);}if(_0x4d4739['types']){if(!Array['isArray'](_0x4d4739['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x49fa09['types']=[],_0x19a5ff=0x0;_0x19a5ff<_0x4d4739['types']['length'];++_0x19a5ff)_0x49fa09['types'][_0x19a5ff]=_0x4d4739['types'][_0x19a5ff]>>>0x0;}if(_0x4d4739['metadata']){if(!Array['isArray'](_0x4d4739['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x49fa09['metadata']=[],_0x19a5ff=0x0;_0x19a5ff<_0x4d4739['metadata']['length'];++_0x19a5ff){if('object'!=typeof _0x4d4739['metadata'][_0x19a5ff])throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x49fa09['metadata'][_0x19a5ff]=_0x28a9ef['OperationMetadataDescriptor']['fromObject'](_0x4d4739['metadata'][_0x19a5ff]);}}return null!=_0x4d4739['lastOperationId']&&(_0x49fa09['lastOperationId']=String(_0x4d4739['lastOperationId'])),_0x49fa09;},_0xf88ace['toObject']=function(_0x3f5cf6,_0x4f49bb){_0x4f49bb||(_0x4f49bb={});var _0x72b6ab={};if((_0x4f49bb['arrays']||_0x4f49bb['defaults'])&&(_0x72b6ab['buffers']=[],_0x72b6ab['types']=[],_0x72b6ab['metadata']=[]),_0x4f49bb['defaults']&&(_0x72b6ab['id']='',_0x72b6ab['baseVersion']=0x0,_0x72b6ab['lastOperationId']=''),null!=_0x3f5cf6['id']&&_0x3f5cf6['hasOwnProperty']('id')&&(_0x72b6ab['id']=_0x3f5cf6['id']),null!=_0x3f5cf6['baseVersion']&&_0x3f5cf6['hasOwnProperty']('baseVersion')&&(_0x72b6ab['baseVersion']=_0x3f5cf6['baseVersion']),_0x3f5cf6['buffers']&&_0x3f5cf6['buffers']['length']){_0x72b6ab['buffers']=[];for(var _0x542a21=0x0;_0x542a21<_0x3f5cf6['buffers']['length'];++_0x542a21)_0x72b6ab['buffers'][_0x542a21]=_0x4f49bb['bytes']===String?_0x4bd92b['base64']['encode'](_0x3f5cf6['buffers'][_0x542a21],0x0,_0x3f5cf6['buffers'][_0x542a21]['length']):_0x4f49bb['bytes']===Array?Array['prototype']['slice']['call'](_0x3f5cf6['buffers'][_0x542a21]):_0x3f5cf6['buffers'][_0x542a21];}if(_0x3f5cf6['types']&&_0x3f5cf6['types']['length']){for(_0x72b6ab['types']=[],_0x542a21=0x0;_0x542a21<_0x3f5cf6['types']['length'];++_0x542a21)_0x72b6ab['types'][_0x542a21]=_0x3f5cf6['types'][_0x542a21];}if(_0x3f5cf6['metadata']&&_0x3f5cf6['metadata']['length']){for(_0x72b6ab['metadata']=[],_0x542a21=0x0;_0x542a21<_0x3f5cf6['metadata']['length'];++_0x542a21)_0x72b6ab['metadata'][_0x542a21]=_0x28a9ef['OperationMetadataDescriptor']['toObject'](_0x3f5cf6['metadata'][_0x542a21],_0x4f49bb);}return null!=_0x3f5cf6['lastOperationId']&&_0x3f5cf6['hasOwnProperty']('lastOperationId')&&(_0x72b6ab['lastOperationId']=_0x3f5cf6['lastOperationId']),_0x72b6ab;},_0xf88ace['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xf88ace['getTypeUrl']=function(_0x2b0033){return void 0x0===_0x2b0033&&(_0x2b0033='type.googleapis.com'),_0x2b0033+'/CollaborativeEditingUpdateMessage';},_0xf88ace;}()),_0x28a9ef['CollaborativeEditingReconnectMessage']=(function(){function _0x400620(_0x376934){if(_0x376934){for(var _0x3f9d8d=Object['keys'](_0x376934),_0x437128=0x0;_0x437128<_0x3f9d8d['length'];++_0x437128)null!=_0x376934[_0x3f9d8d[_0x437128]]&&(this[_0x3f9d8d[_0x437128]]=_0x376934[_0x3f9d8d[_0x437128]]);}}return _0x400620['prototype']['id']='',_0x400620['prototype']['bundleVersion']='',_0x400620['prototype']['lastKnowVersion']=0x0,_0x400620['create']=function(_0x1362fd){return new _0x400620(_0x1362fd);},_0x400620['encode']=function(_0x3fd993,_0x5c3894){return _0x5c3894||(_0x5c3894=_0xd78662['create']()),null!=_0x3fd993['id']&&Object['hasOwnProperty']['call'](_0x3fd993,'id')&&_0x5c3894['uint32'](0xa)['string'](_0x3fd993['id']),null!=_0x3fd993['bundleVersion']&&Object['hasOwnProperty']['call'](_0x3fd993,'bundleVersion')&&_0x5c3894['uint32'](0x12)['string'](_0x3fd993['bundleVersion']),null!=_0x3fd993['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x3fd993,'lastKnowVersion')&&_0x5c3894['uint32'](0x18)['uint32'](_0x3fd993['lastKnowVersion']),_0x5c3894;},_0x400620['encodeDelimited']=function(_0x4dbcc1,_0x3cc3fc){return this['encode'](_0x4dbcc1,_0x3cc3fc)['ldelim']();},_0x400620['decode']=function(_0x54ef5a,_0xd1907,_0x7aa94){_0x54ef5a instanceof _0x4eb936||(_0x54ef5a=_0x4eb936['create'](_0x54ef5a));for(var _0x33f5c1=void 0x0===_0xd1907?_0x54ef5a['len']:_0x54ef5a['pos']+_0xd1907,_0x56c77d=new _0x28a9ef['CollaborativeEditingReconnectMessage']();_0x54ef5a['pos']<_0x33f5c1;){var _0x5959b6=_0x54ef5a['uint32']();if(_0x5959b6===_0x7aa94)break;switch(_0x5959b6>>>0x3){case 0x1:_0x56c77d['id']=_0x54ef5a['string']();break;case 0x2:_0x56c77d['bundleVersion']=_0x54ef5a['string']();break;case 0x3:_0x56c77d['lastKnowVersion']=_0x54ef5a['uint32']();break;default:_0x54ef5a['skipType'](0x7&_0x5959b6);}}return _0x56c77d;},_0x400620['decodeDelimited']=function(_0x30a6c7){return _0x30a6c7 instanceof _0x4eb936||(_0x30a6c7=new _0x4eb936(_0x30a6c7)),this['decode'](_0x30a6c7,_0x30a6c7['uint32']());},_0x400620['verify']=function(_0x182396){return'object'!=typeof _0x182396||null===_0x182396?'object\x20expected':null!=_0x182396['id']&&_0x182396['hasOwnProperty']('id')&&!_0x4bd92b['isString'](_0x182396['id'])?'id:\x20string\x20expected':null!=_0x182396['bundleVersion']&&_0x182396['hasOwnProperty']('bundleVersion')&&!_0x4bd92b['isString'](_0x182396['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x182396['lastKnowVersion']&&_0x182396['hasOwnProperty']('lastKnowVersion')&&!_0x4bd92b['isInteger'](_0x182396['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null;},_0x400620['fromObject']=function(_0x39bf6b){if(_0x39bf6b instanceof _0x28a9ef['CollaborativeEditingReconnectMessage'])return _0x39bf6b;var _0x53b1b2=new _0x28a9ef['CollaborativeEditingReconnectMessage']();return null!=_0x39bf6b['id']&&(_0x53b1b2['id']=String(_0x39bf6b['id'])),null!=_0x39bf6b['bundleVersion']&&(_0x53b1b2['bundleVersion']=String(_0x39bf6b['bundleVersion'])),null!=_0x39bf6b['lastKnowVersion']&&(_0x53b1b2['lastKnowVersion']=_0x39bf6b['lastKnowVersion']>>>0x0),_0x53b1b2;},_0x400620['toObject']=function(_0x2bdd22,_0x2b67b1){_0x2b67b1||(_0x2b67b1={});var _0x5eb49b={};return _0x2b67b1['defaults']&&(_0x5eb49b['id']='',_0x5eb49b['bundleVersion']='',_0x5eb49b['lastKnowVersion']=0x0),null!=_0x2bdd22['id']&&_0x2bdd22['hasOwnProperty']('id')&&(_0x5eb49b['id']=_0x2bdd22['id']),null!=_0x2bdd22['bundleVersion']&&_0x2bdd22['hasOwnProperty']('bundleVersion')&&(_0x5eb49b['bundleVersion']=_0x2bdd22['bundleVersion']),null!=_0x2bdd22['lastKnowVersion']&&_0x2bdd22['hasOwnProperty']('lastKnowVersion')&&(_0x5eb49b['lastKnowVersion']=_0x2bdd22['lastKnowVersion']),_0x5eb49b;},_0x400620['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x400620['getTypeUrl']=function(_0x514565){return void 0x0===_0x514565&&(_0x514565='type.googleapis.com'),_0x514565+'/CollaborativeEditingReconnectMessage';},_0x400620;}()),_0x28a9ef['CollaborativeEditingConnectMessage']=(function(){function _0x577e9f(_0x379790){if(this['buffers']=[],this['types']=[],_0x379790){for(var _0x576598=Object['keys'](_0x379790),_0x2a91ae=0x0;_0x2a91ae<_0x576598['length'];++_0x2a91ae)null!=_0x379790[_0x576598[_0x2a91ae]]&&(this[_0x576598[_0x2a91ae]]=_0x379790[_0x576598[_0x2a91ae]]);}}return _0x577e9f['prototype']['id']='',_0x577e9f['prototype']['bundleVersion']='',_0x577e9f['prototype']['buffers']=_0x4bd92b['emptyArray'],_0x577e9f['prototype']['types']=_0x4bd92b['emptyArray'],_0x577e9f['prototype']['lastOperationId']='',_0x577e9f['create']=function(_0x19eed7){return new _0x577e9f(_0x19eed7);},_0x577e9f['encode']=function(_0x5a058e,_0x2072db){if(_0x2072db||(_0x2072db=_0xd78662['create']()),null!=_0x5a058e['id']&&Object['hasOwnProperty']['call'](_0x5a058e,'id')&&_0x2072db['uint32'](0xa)['string'](_0x5a058e['id']),null!=_0x5a058e['bundleVersion']&&Object['hasOwnProperty']['call'](_0x5a058e,'bundleVersion')&&_0x2072db['uint32'](0x12)['string'](_0x5a058e['bundleVersion']),null!=_0x5a058e['buffers']&&_0x5a058e['buffers']['length']){for(var _0x398407=0x0;_0x398407<_0x5a058e['buffers']['length'];++_0x398407)_0x2072db['uint32'](0x1a)['bytes'](_0x5a058e['buffers'][_0x398407]);}if(null!=_0x5a058e['types']&&_0x5a058e['types']['length']){for(_0x2072db['uint32'](0x22)['fork'](),_0x398407=0x0;_0x398407<_0x5a058e['types']['length'];++_0x398407)_0x2072db['uint32'](_0x5a058e['types'][_0x398407]);_0x2072db['ldelim']();}return null!=_0x5a058e['lastOperationId']&&Object['hasOwnProperty']['call'](_0x5a058e,'lastOperationId')&&_0x2072db['uint32'](0x2a)['string'](_0x5a058e['lastOperationId']),_0x2072db;},_0x577e9f['encodeDelimited']=function(_0x487f5d,_0x505460){return this['encode'](_0x487f5d,_0x505460)['ldelim']();},_0x577e9f['decode']=function(_0x1edd50,_0x329ff7,_0x5e7464){_0x1edd50 instanceof _0x4eb936||(_0x1edd50=_0x4eb936['create'](_0x1edd50));for(var _0xdcca6d=void 0x0===_0x329ff7?_0x1edd50['len']:_0x1edd50['pos']+_0x329ff7,_0xd37018=new _0x28a9ef['CollaborativeEditingConnectMessage']();_0x1edd50['pos']<_0xdcca6d;){var _0x2dc8c6=_0x1edd50['uint32']();if(_0x2dc8c6===_0x5e7464)break;switch(_0x2dc8c6>>>0x3){case 0x1:_0xd37018['id']=_0x1edd50['string']();break;case 0x2:_0xd37018['bundleVersion']=_0x1edd50['string']();break;case 0x3:_0xd37018['buffers']&&_0xd37018['buffers']['length']||(_0xd37018['buffers']=[]),_0xd37018['buffers']['push'](_0x1edd50['bytes']());break;case 0x4:if(_0xd37018['types']&&_0xd37018['types']['length']||(_0xd37018['types']=[]),0x2==(0x7&_0x2dc8c6)){for(var _0x22b9b0=_0x1edd50['uint32']()+_0x1edd50['pos'];_0x1edd50['pos']<_0x22b9b0;)_0xd37018['types']['push'](_0x1edd50['uint32']());}else _0xd37018['types']['push'](_0x1edd50['uint32']());break;case 0x5:_0xd37018['lastOperationId']=_0x1edd50['string']();break;default:_0x1edd50['skipType'](0x7&_0x2dc8c6);}}return _0xd37018;},_0x577e9f['decodeDelimited']=function(_0x34a83c){return _0x34a83c instanceof _0x4eb936||(_0x34a83c=new _0x4eb936(_0x34a83c)),this['decode'](_0x34a83c,_0x34a83c['uint32']());},_0x577e9f['verify']=function(_0x578d42){if('object'!=typeof _0x578d42||null===_0x578d42)return'object\x20expected';if(null!=_0x578d42['id']&&_0x578d42['hasOwnProperty']('id')&&!_0x4bd92b['isString'](_0x578d42['id']))return'id:\x20string\x20expected';if(null!=_0x578d42['bundleVersion']&&_0x578d42['hasOwnProperty']('bundleVersion')&&!_0x4bd92b['isString'](_0x578d42['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x578d42['buffers']&&_0x578d42['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x578d42['buffers']))return'buffers:\x20array\x20expected';for(var _0x16e2e2=0x0;_0x16e2e2<_0x578d42['buffers']['length'];++_0x16e2e2)if(!(_0x578d42['buffers'][_0x16e2e2]&&'number'==typeof _0x578d42['buffers'][_0x16e2e2]['length']||_0x4bd92b['isString'](_0x578d42['buffers'][_0x16e2e2])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x578d42['types']&&_0x578d42['hasOwnProperty']('types')){if(!Array['isArray'](_0x578d42['types']))return'types:\x20array\x20expected';for(_0x16e2e2=0x0;_0x16e2e2<_0x578d42['types']['length'];++_0x16e2e2)if(!_0x4bd92b['isInteger'](_0x578d42['types'][_0x16e2e2]))return'types:\x20integer[]\x20expected';}return null!=_0x578d42['lastOperationId']&&_0x578d42['hasOwnProperty']('lastOperationId')&&!_0x4bd92b['isString'](_0x578d42['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x577e9f['fromObject']=function(_0x13260b){if(_0x13260b instanceof _0x28a9ef['CollaborativeEditingConnectMessage'])return _0x13260b;var _0x1852f3=new _0x28a9ef['CollaborativeEditingConnectMessage']();if(null!=_0x13260b['id']&&(_0x1852f3['id']=String(_0x13260b['id'])),null!=_0x13260b['bundleVersion']&&(_0x1852f3['bundleVersion']=String(_0x13260b['bundleVersion'])),_0x13260b['buffers']){if(!Array['isArray'](_0x13260b['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x1852f3['buffers']=[];for(var _0x51f839=0x0;_0x51f839<_0x13260b['buffers']['length'];++_0x51f839)'string'==typeof _0x13260b['buffers'][_0x51f839]?_0x4bd92b['base64']['decode'](_0x13260b['buffers'][_0x51f839],_0x1852f3['buffers'][_0x51f839]=_0x4bd92b['newBuffer'](_0x4bd92b['base64']['length'](_0x13260b['buffers'][_0x51f839])),0x0):_0x13260b['buffers'][_0x51f839]['length']>=0x0&&(_0x1852f3['buffers'][_0x51f839]=_0x13260b['buffers'][_0x51f839]);}if(_0x13260b['types']){if(!Array['isArray'](_0x13260b['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x1852f3['types']=[],_0x51f839=0x0;_0x51f839<_0x13260b['types']['length'];++_0x51f839)_0x1852f3['types'][_0x51f839]=_0x13260b['types'][_0x51f839]>>>0x0;}return null!=_0x13260b['lastOperationId']&&(_0x1852f3['lastOperationId']=String(_0x13260b['lastOperationId'])),_0x1852f3;},_0x577e9f['toObject']=function(_0x329a5d,_0x544139){_0x544139||(_0x544139={});var _0x3ebf3c={};if((_0x544139['arrays']||_0x544139['defaults'])&&(_0x3ebf3c['buffers']=[],_0x3ebf3c['types']=[]),_0x544139['defaults']&&(_0x3ebf3c['id']='',_0x3ebf3c['bundleVersion']='',_0x3ebf3c['lastOperationId']=''),null!=_0x329a5d['id']&&_0x329a5d['hasOwnProperty']('id')&&(_0x3ebf3c['id']=_0x329a5d['id']),null!=_0x329a5d['bundleVersion']&&_0x329a5d['hasOwnProperty']('bundleVersion')&&(_0x3ebf3c['bundleVersion']=_0x329a5d['bundleVersion']),_0x329a5d['buffers']&&_0x329a5d['buffers']['length']){_0x3ebf3c['buffers']=[];for(var _0x2f27ec=0x0;_0x2f27ec<_0x329a5d['buffers']['length'];++_0x2f27ec)_0x3ebf3c['buffers'][_0x2f27ec]=_0x544139['bytes']===String?_0x4bd92b['base64']['encode'](_0x329a5d['buffers'][_0x2f27ec],0x0,_0x329a5d['buffers'][_0x2f27ec]['length']):_0x544139['bytes']===Array?Array['prototype']['slice']['call'](_0x329a5d['buffers'][_0x2f27ec]):_0x329a5d['buffers'][_0x2f27ec];}if(_0x329a5d['types']&&_0x329a5d['types']['length']){for(_0x3ebf3c['types']=[],_0x2f27ec=0x0;_0x2f27ec<_0x329a5d['types']['length'];++_0x2f27ec)_0x3ebf3c['types'][_0x2f27ec]=_0x329a5d['types'][_0x2f27ec];}return null!=_0x329a5d['lastOperationId']&&_0x329a5d['hasOwnProperty']('lastOperationId')&&(_0x3ebf3c['lastOperationId']=_0x329a5d['lastOperationId']),_0x3ebf3c;},_0x577e9f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x577e9f['getTypeUrl']=function(_0x11d6ac){return void 0x0===_0x11d6ac&&(_0x11d6ac='type.googleapis.com'),_0x11d6ac+'/CollaborativeEditingConnectMessage';},_0x577e9f;}()),_0x28a9ef['OperationMetadataDescriptor']=(function(){function _0x1293db(_0x195b60){if(_0x195b60){for(var _0xc3f6d5=Object['keys'](_0x195b60),_0x28aaeb=0x0;_0x28aaeb<_0xc3f6d5['length'];++_0x28aaeb)null!=_0x195b60[_0xc3f6d5[_0x28aaeb]]&&(this[_0xc3f6d5[_0x28aaeb]]=_0x195b60[_0xc3f6d5[_0x28aaeb]]);}}return _0x1293db['prototype']['userId']='',_0x1293db['prototype']['type']='',_0x1293db['prototype']['createdAt']='',_0x1293db['create']=function(_0x4bf13d){return new _0x1293db(_0x4bf13d);},_0x1293db['encode']=function(_0x59de5a,_0x17f144){return _0x17f144||(_0x17f144=_0xd78662['create']()),null!=_0x59de5a['userId']&&Object['hasOwnProperty']['call'](_0x59de5a,'userId')&&_0x17f144['uint32'](0xa)['string'](_0x59de5a['userId']),null!=_0x59de5a['type']&&Object['hasOwnProperty']['call'](_0x59de5a,'type')&&_0x17f144['uint32'](0x12)['string'](_0x59de5a['type']),null!=_0x59de5a['createdAt']&&Object['hasOwnProperty']['call'](_0x59de5a,'createdAt')&&_0x17f144['uint32'](0x1a)['string'](_0x59de5a['createdAt']),_0x17f144;},_0x1293db['encodeDelimited']=function(_0x286cef,_0x5f1b32){return this['encode'](_0x286cef,_0x5f1b32)['ldelim']();},_0x1293db['decode']=function(_0x5aa4cc,_0x15f708,_0x374cff){_0x5aa4cc instanceof _0x4eb936||(_0x5aa4cc=_0x4eb936['create'](_0x5aa4cc));for(var _0x157354=void 0x0===_0x15f708?_0x5aa4cc['len']:_0x5aa4cc['pos']+_0x15f708,_0x3a826c=new _0x28a9ef['OperationMetadataDescriptor']();_0x5aa4cc['pos']<_0x157354;){var _0x30bd43=_0x5aa4cc['uint32']();if(_0x30bd43===_0x374cff)break;switch(_0x30bd43>>>0x3){case 0x1:_0x3a826c['userId']=_0x5aa4cc['string']();break;case 0x2:_0x3a826c['type']=_0x5aa4cc['string']();break;case 0x3:_0x3a826c['createdAt']=_0x5aa4cc['string']();break;default:_0x5aa4cc['skipType'](0x7&_0x30bd43);}}return _0x3a826c;},_0x1293db['decodeDelimited']=function(_0x54c51d){return _0x54c51d instanceof _0x4eb936||(_0x54c51d=new _0x4eb936(_0x54c51d)),this['decode'](_0x54c51d,_0x54c51d['uint32']());},_0x1293db['verify']=function(_0xba3cd7){return'object'!=typeof _0xba3cd7||null===_0xba3cd7?'object\x20expected':null!=_0xba3cd7['userId']&&_0xba3cd7['hasOwnProperty']('userId')&&!_0x4bd92b['isString'](_0xba3cd7['userId'])?'userId:\x20string\x20expected':null!=_0xba3cd7['type']&&_0xba3cd7['hasOwnProperty']('type')&&!_0x4bd92b['isString'](_0xba3cd7['type'])?'type:\x20string\x20expected':null!=_0xba3cd7['createdAt']&&_0xba3cd7['hasOwnProperty']('createdAt')&&!_0x4bd92b['isString'](_0xba3cd7['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x1293db['fromObject']=function(_0x4026a2){if(_0x4026a2 instanceof _0x28a9ef['OperationMetadataDescriptor'])return _0x4026a2;var _0x3325a2=new _0x28a9ef['OperationMetadataDescriptor']();return null!=_0x4026a2['userId']&&(_0x3325a2['userId']=String(_0x4026a2['userId'])),null!=_0x4026a2['type']&&(_0x3325a2['type']=String(_0x4026a2['type'])),null!=_0x4026a2['createdAt']&&(_0x3325a2['createdAt']=String(_0x4026a2['createdAt'])),_0x3325a2;},_0x1293db['toObject']=function(_0x5bbdb2,_0x46a453){_0x46a453||(_0x46a453={});var _0x4f63de={};return _0x46a453['defaults']&&(_0x4f63de['userId']='',_0x4f63de['type']='',_0x4f63de['createdAt']=''),null!=_0x5bbdb2['userId']&&_0x5bbdb2['hasOwnProperty']('userId')&&(_0x4f63de['userId']=_0x5bbdb2['userId']),null!=_0x5bbdb2['type']&&_0x5bbdb2['hasOwnProperty']('type')&&(_0x4f63de['type']=_0x5bbdb2['type']),null!=_0x5bbdb2['createdAt']&&_0x5bbdb2['hasOwnProperty']('createdAt')&&(_0x4f63de['createdAt']=_0x5bbdb2['createdAt']),_0x4f63de;},_0x1293db['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1293db['getTypeUrl']=function(_0x1ce463){return void 0x0===_0x1ce463&&(_0x1ce463='type.googleapis.com'),_0x1ce463+'/OperationMetadataDescriptor';},_0x1293db;}()),_0x28a9ef;})());class _0x4f3943{static['decode'](_0x421589,_0x1ec1bf){const _0x5202d5=_getType(_0x1ec1bf)['decode']('undefined'==typeof window?_0x421589:new Uint8Array(_0x421589));return _0x1ec1bf['fromJSON']({..._0x5202d5});}static['encode'](_0xd3de89){const _0x53019a=_getType(_0xd3de89['constructor']),_0x34630b=_0xd3de89['toJSON'](),_0x122371=_0x53019a['verify'](_0x34630b);if(_0x122371)throw Error(_0x122371);return _0x53019a['encode'](_0x53019a['create'](_0x34630b))['finish']();}}function _getType(_0x11c295){return _0x2347ef[_0x11c295['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends _0xe8e8f8{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x29b39d){super(),this['ids']=_0x29b39d;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x301edb){return new GetManyUsersMessage(_0x301edb['ids']);}}class GetManyUsersResponse extends _0xe8e8f8{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x4b2a7b){super(),this['users']=_0x4b2a7b;}['toJSON'](){return{'users':this['users']['map'](_0x405078)};}static['fromJSON'](_0x1f4093){return new GetManyUsersResponse(_0x1f4093['users']['map'](_0x7ec02a));}}function _0x405078(_0x439a71){return{'attributes':Object['keys'](_0x439a71)['map'](_0x373e3d=>({'key':_0x373e3d,'value':JSON['stringify'](_0x439a71[_0x373e3d])}))};}function _0x7ec02a(_0x44b3f4){return _0x44b3f4['attributes']['reduce']((_0x3604ab,_0x356ef4)=>(_0x3604ab[_0x356ef4['key']]=_0x356ef4['value']?JSON['parse'](_0x356ef4['value']):null,_0x3604ab),{});}class _0x1a3434{static ['_SERVICE']=0x2;constructor(_0x3c2f25={}){this['_attributes']=new Map();for(const _0x57c502 of Object['keys'](_0x3c2f25))'id'!==_0x57c502?(this['_attributes']['set'](_0x57c502,_0x3c2f25[_0x57c502]),Object['defineProperty'](this,_0x57c502,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x57c502)})):this['id']=_0x3c2f25['id'];}static['fromData'](_0x1ac652){return new _0x1a3434(_0x1ac652);}static async['get'](_0x5c58bf,_0x33fbe6){const _0x2687b0=new GetUserMessage(_0x33fbe6);try{const _0x571d7=await _0x5c58bf['_sendRequest'](_0x1a3434['_SERVICE'],GetUserMessage['TYPE'],_0x4f3943['encode'](_0x2687b0)),_0x87b5a7=_0x4f3943['decode'](_0x571d7,GetUserResponse);return new _0x1a3434(_0x87b5a7['attributes']);}catch{return new _0x1a3434({'id':_0x33fbe6});}}static async['getMany'](_0x3f47d9,_0x4b30f2){const _0x380d4e=new GetManyUsersMessage(_0x4b30f2);try{const _0x5bdb8b=await _0x3f47d9['_sendRequest'](_0x1a3434['_SERVICE'],GetManyUsersMessage['TYPE'],_0x4f3943['encode'](_0x380d4e));return _0x4f3943['decode'](_0x5bdb8b,GetManyUsersResponse)['users']['map'](_0x512a64=>new _0x1a3434(_0x512a64));}catch{return _0x4b30f2['map'](_0x3678da=>new _0x1a3434({'id':_0x3678da}));}}}class _0xbf9404 extends _0xe8e8f8{['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(_0x5381c9,_0x4b99e6,_0x1ca81d){super(),this['type']=_0x5381c9,this['socketId']=_0x4b99e6,this['data']=_0x1ca81d;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x2a0d4b){return new _0xbf9404(_0x2a0d4b['type'],_0x2a0d4b['socketId'],_0x2a0d4b['data']);}}class _0xb31b2c extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x474828,_0x292840,_0x415f19){super(),this['_channelName']=_0x474828,this['_wsGateway']=_0x292840,this['_socket']=_0x415f19,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x13ce7c,_0x553566=!0x1){let _0x529a47='';return _0x553566&&(_0x529a47+='all:'),_0x529a47+='event',_0x13ce7c&&(_0x529a47+=':'+_0x13ce7c),_0x529a47;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x476e63=>{const _0x360a25=_0x4f3943['decode'](_0x476e63,_0xbf9404);this['fire'](this['getEventName'](_0x360a25['type'],!0x0),_0x360a25['data'],_0x360a25['socketId']),_0x360a25['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x360a25['type']),_0x360a25['data'],_0x360a25['socketId']);});}}class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x39afe3,_0x5c9a5e,_0xbf5521=null,_0x256a15={}){super('cloud-services-internal-error:\x20'+_0x39afe3),this['context']=_0x5c9a5e,this['code']=_0xbf5521,this['data']=_0x256a15,this['name']='CKEditorError';}static['fromPublicError'](_0x3c5b26){return new CKEditorCloudServicesError(function(_0x5a586d){let _0x4b69eb='cloud-services-error:\x20'+_0x5a586d['message'];return _0x5a586d['data']&&(_0x4b69eb+='\x0aError\x20data:\x20'+JSON['stringify'](_0x5a586d['data'])),_0x5a586d['explanation']&&(_0x4b69eb+='\x0aExplanation:\x20'+_0x5a586d['explanation']),_0x5a586d['action']&&(_0x4b69eb+='\x0aAction:\x20'+_0x5a586d['action']),_0x5a586d['traceId']&&(_0x4b69eb+='\x0aTraceId:\x20'+_0x5a586d['traceId']),_0x5a586d['code']&&(_0x4b69eb+='\x0aCode:\x20'+_0x5a586d['code']),_0x4b69eb;}(_0x3c5b26),_0x3c5b26);}}class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0x1d33fd,_0x574112){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x1d33fd,this['code']=_0x574112['code'],this['traceId']=_0x574112['traceId'],this['data']=_0x574112['data'];}static['fromPublicError'](_0x1a217f){return new CKEditorCloudServicesServerError(function(_0x16b1fd){let _0x2b2ca6='cloud-services-server-error:\x20'+_0x16b1fd['message'];return _0x16b1fd['explanation']&&(_0x2b2ca6+='\x0aExplanation:\x20'+_0x16b1fd['explanation']),_0x16b1fd['action']&&(_0x2b2ca6+='\x0aAction:\x20'+_0x16b1fd['action']),_0x16b1fd['traceId']&&(_0x2b2ca6+='\x0aTraceId:\x20'+_0x16b1fd['traceId']),_0x16b1fd['code']&&(_0x2b2ca6+='\x0aCode:\x20'+_0x16b1fd['code']),_0x2b2ca6;}(_0x1a217f),_0x1a217f);}}class PacketOptionsMessage extends _0xe8e8f8{['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(_0x37ffde,_0x2f9d3e=[],_0x1092e8=[]){super(),this['flags']=_0x37ffde,this['rooms']=_0x2f9d3e,this['except']=_0x1092e8;}['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'](_0x50344a){return new PacketOptionsMessage(_0x50344a['flags']&&JSON['parse'](_0x50344a['flags']),_0x50344a['rooms'],_0x50344a['except']);}}const _0x1df9b5=/* #__PURE__ -- @preserve */
((()=>!('undefined'==typeof process||!process['versions']?.['node']))()),MessageDataTypes_BUFFER=0x1,MessageDataTypes_STRING=0x2,MessageDataTypes_NUMBER=0x3,MessageDataTypes_OBJECT=0x4;class ParserUtils{static['getPacketType'](..._0x19e70b){let _0x393e6d=0x0;for(let _0x448b8c=0x0;_0x448b8c<_0x19e70b['length'];_0x448b8c++)_0x393e6d+=_0x19e70b[_0x448b8c]*Math['pow'](0xa,_0x19e70b['length']-_0x448b8c-0x1);return _0x393e6d;}static['getType'](_0x1d58a6){if(ParserUtils['isBuffer'](_0x1d58a6))return MessageDataTypes_BUFFER;const _0x2ac930=typeof _0x1d58a6;return'string'===_0x2ac930?MessageDataTypes_STRING:'number'===_0x2ac930?MessageDataTypes_NUMBER:MessageDataTypes_OBJECT;}static['isBuffer'](_0x24e453){return _0x1df9b5&&Buffer['isBuffer'](_0x24e453)||_0x24e453 instanceof ArrayBuffer||_0x24e453 instanceof Uint8Array||this['_isBufferView'](_0x24e453);}static['_isBufferView'](_0xaa5e0e){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0xaa5e0e):_0xaa5e0e['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends _0xe8e8f8{['data'];['data1'];static['create'](_0x2bc228,_0x362bc0){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(_0x4e107a,_0x5b2876){super(),this['data']=_0x4e107a,this['data1']=_0x5b2876;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x5c8391){return new NumberBytesPacketDataMessage(_0x5c8391['data'],_0x5c8391['data1']);}static['create'](_0x39904e,_0x39caf2){return new NumberBytesPacketDataMessage(_0x39904e,_0x39caf2);}}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(_0x38d414,_0xef956c){super(),this['data']=_0x38d414,this['data1']=_0xef956c;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x559444){return new StringBytesPacketDataMessage(_0x559444['data'],_0x559444['data1']);}static['create'](_0x68d4b4,_0x43d001){return new StringBytesPacketDataMessage(_0x68d4b4,_0x43d001);}}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(_0x4ad34b,_0xbaa76d){super(),this['data']=_0x4ad34b,this['data1']=_0xbaa76d;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x49dedb){return new BytesBytesPacketDataMessage(_0x49dedb['data'],_0x49dedb['data1']);}static['create'](_0x502133,_0x118632){return new BytesBytesPacketDataMessage(_0x502133,_0x118632);}}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(_0x1f5b7c,_0x5ebb33){super(),this['data']=_0x1f5b7c,this['data1']=_0x5ebb33;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x3c19d8){return new StringObjectPacketDataMessage(_0x3c19d8['data'],_0x3c19d8['data1']&&JSON['parse'](_0x3c19d8['data1']));}static['create'](_0x3c6afc,_0x4e0ba2){return new StringObjectPacketDataMessage(_0x3c6afc,_0x4e0ba2);}}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(_0x1b72be,_0x3909c6){super(),this['data']=_0x1b72be,this['data1']=_0x3909c6;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x3b4e3d){return new NumberObjectPacketDataMessage(_0x3b4e3d['data'],_0x3b4e3d['data1']&&JSON['parse'](_0x3b4e3d['data1']));}static['create'](_0x262616,_0x38c785){return new NumberObjectPacketDataMessage(_0x262616,_0x38c785);}}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(_0x573b0b,_0x4e237a){super(),this['data']=_0x573b0b,this['data1']=_0x4e237a;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x5e6f51){return new ObjectObjectPacketDataMessage(_0x5e6f51['data']&&JSON['parse'](_0x5e6f51['data']),_0x5e6f51['data1']&&JSON['parse'](_0x5e6f51['data1']));}static['create'](_0x2fde9d,_0x12eab2){return new ObjectObjectPacketDataMessage(_0x2fde9d,_0x12eab2);}}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(_0x444756,_0x54e9ce){super(),this['data']=_0x444756,this['data1']=_0x54e9ce;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x10738d){return new ObjectBufferPacketDataMessage(_0x10738d['data']&&JSON['parse'](_0x10738d['data']),_0x10738d['data1']);}static['create'](_0x3e22c3,_0x2f32c2){return new ObjectBufferPacketDataMessage(_0x3e22c3,_0x2f32c2);}}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(_0xd68466,_0x131142){super(),this['data']=_0xd68466,this['data1']=_0x131142;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x6ad454){return new StringStringPacketDataMessage(_0x6ad454['data'],_0x6ad454['data1']);}static['create'](_0x33a46e,_0x5c040a){return new StringStringPacketDataMessage(_0x33a46e,_0x5c040a);}}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(_0x90cbd3,_0x3760d0){super(),this['data']=_0x90cbd3,this['data1']=_0x3760d0;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0xa365f7){return new StringNumberPacketDataMessage(_0xa365f7['data'],_0xa365f7['data1']);}static['create'](_0x191e62,_0x21ec9c){return new StringNumberPacketDataMessage(_0x191e62,_0x21ec9c);}}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(_0x1848bc,_0x167f35){super(),this['data']=_0x1848bc,this['data1']=_0x167f35;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x1ca757){return new NumberNumberPacketDataMessage(_0x1ca757['data'],_0x1ca757['data1']);}static['create'](_0x2b922a,_0x2b07cc){return new NumberNumberPacketDataMessage(_0x2b922a,_0x2b07cc);}}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(_0x3fe0c7,_0x237322){super(),this['data']=_0x3fe0c7,this['data1']=_0x237322;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x553974){return new NumberStringPacketDataMessage(_0x553974['data'],_0x553974['data1']);}static['create'](_0x4a6532,_0x4cace9){return new NumberStringPacketDataMessage(_0x4a6532,_0x4cace9);}}const _0x10c25b=/* #__PURE__ -- @preserve */
((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((_0x1ad512,_0x506bc8)=>(_0x1ad512[_0x506bc8['TYPE']]=_0x506bc8,_0x1ad512),{}))());class PacketMessage extends _0xe8e8f8{['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(_0x14cca3,_0x388e9f,_0x31a55e,_0x51f75f='/',_0x20311e){super(),this['type']=_0x14cca3,this['data']=_0x388e9f,this['id']=_0x31a55e,this['nsp']=_0x51f75f,this['options']=_0x20311e??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 _0x278cc2=_0x4f3943['encode'](this['options']),_0x498bbc=_0x4f3943['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x498bbc,'options':_0x278cc2};}static['fromJSON'](_0x195767){const _0x369fb2=Math['floor'](_0x195767['type']/0xa);return new PacketMessage(_0x195767['type']-0xa*_0x369fb2,_0x4f3943['decode'](_0x195767['data'],_0x10c25b[_0x369fb2]),_0x195767['id'],_0x195767['nsp'],_0x195767['options']?_0x4f3943['decode'](_0x195767['options'],PacketOptionsMessage):new PacketOptionsMessage());}static['create'](_0x4daf17,_0x475004={}){const _0x2d8186=ParserUtils['getPacketType'](ParserUtils['getType'](_0x4daf17['data'][0x0]),ParserUtils['getType'](_0x4daf17['data'][0x1]??_0x4daf17['data'][0x0]));return new PacketMessage(_0x4daf17['type'],_0x10c25b[_0x2d8186]['create'](_0x4daf17['data'][0x0],_0x4daf17['data'][0x1]),_0x4daf17['id'],_0x4daf17['nsp'],new PacketOptionsMessage(_0x475004['flags'],_0x475004['rooms'],_0x475004['except']));}}class PacketParser{['encode'](_0x4306f5,_0x3eed4d,_0x332872,_0x55460f='/',_0x5baeeb={}){if(_0x3eed4d['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x3430b2={'type':_0x4306f5,'data':_0x3eed4d,'id':_0x332872,'nsp':_0x55460f};return _0x4f3943['encode'](PacketMessage['create'](_0x3430b2,_0x5baeeb));}['decode'](_0x2dc4cf){const _0x2200da=_0x4f3943['decode'](_0x2dc4cf,PacketMessage);return{'packet':{'id':_0x2200da['id'],'type':_0x2200da['type'],'data':_0x2200da['packetData'],'nsp':_0x2200da['nsp']},'options':{'flags':_0x2200da['options']['flags'],'rooms':_0x2200da['options']['rooms'],'except':_0x2200da['options']['except']}};}}const _0x4c4210=/* #__PURE__ -- @preserve */
((()=>[PacketType['EVENT'],PacketType['ACK'],PacketType['BINARY_ACK'],PacketType['BINARY_EVENT']])());class _0x2639e0 extends _0x3eca34{['_packetParser'];constructor(_0x501e71){super(),this['_packetParser']=_0x501e71??new PacketParser();}['encode'](_0x33b46d){if(_0x4c4210['includes'](_0x33b46d['type']))try{return[this['_packetParser']['encode'](_0x33b46d['type'],_0x33b46d['data'],_0x33b46d['id'],_0x33b46d['nsp'])];}catch(_0xadaca){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0xadaca['message']}});}return super['encode'](_0x33b46d);}}class _0x3e386e extends _0x173f7a{['_packetParser'];constructor(_0x3e162b){super(),this['_packetParser']=_0x3e162b??new PacketParser();}['add'](_0x4fcd02){if(!ParserUtils['isBuffer'](_0x4fcd02))return super['add'](_0x4fcd02);let _0x1003a3;try{_0x1003a3=this['_packetParser']['decode'](_0x4fcd02)['packet'];}catch{return super['add'](_0x4fcd02);}super['emitReserved']('decoded',_0x1003a3);}}class WebSocketRequest{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
_0x4c87ae();['timeout'];constructor(_0x2bd00d,_0x1e6285){this['_context']=_0x2bd00d,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),_0x1e6285);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x49291d){this['_deferredPromise']['resolve'](_0x49291d);}['error'](_0x458b82){this['_deferredPromise']['reject'](_0x458b82);}}class WebSocketGatewayRequestsManager{['_context'];['_requests']=new Set();constructor(_0x5ef9de){this['_context']=_0x5ef9de;}async['send'](_0x32e718,_0x2b3962=0xafc8){const _0x19c5b7=this['_createRequest'](_0x2b3962);try{return _0x32e718(_0x19c5b7),await _0x19c5b7['promise'];}finally{this['_finishRequest'](_0x19c5b7);}}['errorAll'](_0x3d2b40){for(const _0x5185bb of this['_requests'])_0x5185bb['error'](_0x3d2b40);}['waitForAllRequests'](_0x56b211=0xafc8){return this['_waitForRequests'](_0x56b211);}['_createRequest'](_0x408615){const _0x5efde2=new WebSocketRequest(this['_context'],_0x408615);return this['_requests']['add'](_0x5efde2),_0x5efde2;}['_finishRequest'](_0x3b0ef0){this['_requests']['delete'](_0x3b0ef0),clearTimeout(_0x3b0ef0['timeout']);}async['_waitForRequests'](_0x1445d2=0x1388,_0x47eb9c=0x0){return!this['_requests']['size']||_0x47eb9c>=_0x1445d2/0x1f4?Promise['resolve']():(await new Promise(_0xdbee87=>{setTimeout(_0xdbee87,0x1f4);}),this['_waitForRequests'](_0x1445d2,_0x47eb9c++));}}function _0x4c87ae(){let _0x59eda6,_0x28b381;const _0x5ba57a=new Promise((_0xf72c8,_0x28376b)=>{_0x59eda6=_0xf72c8,_0x28b381=_0x28376b;});return{'resolve':_0x59eda6,'reject':_0x28b381,'promise':_0x5ba57a};}const _0x396647={'DISCONNECTED':'disconnected','CONNECTING':'connecting','CONNECTED':'connected'};let WebSocketGateway$1=class _0x336160 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x396647['DISCONNECTED'])());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
((()=>_0x396647['CONNECTING'])());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x396647['CONNECTED'])());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
((()=>ckeditor5['priorities']['get']('highest')+0xf423f)());constructor(_0x152af8,_0x508f5f,_0x4e6496,_0x1a37ac,_0x72ef28){if(super(),this['_token']=_0x508f5f,this['_options']=_0x4e6496??{},this['_connectionProvider']=_0x1a37ac??_0x3e670e,this['_userFactory']=_0x72ef28??_0x1a3434['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x152af8)throw new TypeError('Api\x20address\x20must\x20be\x20provided.');if(!this['_token'])throw new TypeError('Token\x20must\x20be\x20provided.');this['_options']['requestTimeout']??=0x4e20,this['_url']=urlParseExports(_0x152af8['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',_0x396647['DISCONNECTED']),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0x3a905e,_0x19510f,_0x2c6787)=>{if(this['_debugEvent']('ws-gw:change:state',_0x2c6787),_0x2c6787!==_0x336160['STATE_CONNECTED']){if(_0x2c6787===_0x336160['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new CKEditorCloudServicesError('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](_0x1a3434,this,this['_socketAuth']?.['userId']);}catch{}},{'priority':_0x336160['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0x4a8171,_0x39b41b)=>{this['_options']['onError']?this['_options']['onError'](_0x39b41b):console['error'](_0x39b41b);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0x529f67){return this['_requestsManager']['waitForAllRequests'](_0x529f67);}['disconnect'](){this['state']!==_0x396647['DISCONNECTED']&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=_0x396647['DISCONNECTED']);}async['reconnect'](){this['_socket']||this['state']!==_0x396647['DISCONNECTED']||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0x2e6f11,_0x1c29ca='local.cs.dev:443/ws-v2',_0x21d60b={},_0xd152d8=_0x3e670e,_0x19d636=_0x1a3434['get']){const _0x536ec9=new _0x336160(_0x1c29ca,_0x2e6f11,_0x21d60b,_0xd152d8,_0x19d636);return await _0x536ec9['_connect'](),_0x536ec9;}['_sendRequest'](_0x13af17,_0x2e6ab4,_0x3d382e){if(!_0x13af17)throw new CKEditorCloudServicesError('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==_0x336160['STATE_CONNECTED'])throw new CKEditorCloudServicesError('Not\x20connected.',this);if(!this['_socketAuth']?.['isAuthenticated'])throw new CKEditorCloudServicesError('Not\x20authenticated.',this);const _0x559794=new ArrayBuffer(_0x3d382e['length']+0x2),_0x463d05=new Uint8Array(_0x559794);return _0x463d05[0x0]=_0x13af17,_0x463d05[0x1]=parseInt(_0x2e6ab4),_0x463d05['set'](_0x3d382e,0x2),this['_emit'](0x1,_0x463d05);}['_getChannel'](_0x1a88fd,_0x1d2ca0){const _0x151387=''+_0x1a88fd+_0x1d2ca0;return!this['_channels']['has'](_0x151387)&&this['_socket']&&this['_channels']['set'](_0x151387,new _0xb31b2c(_0x151387,this,this['_socket'])),this['_channels']['get'](_0x151387);}['_connect'](){return new Promise((_0x160198,_0x296c65)=>{const _0x44f4c6=this['_setupSocket']();!this['socketId']&&_0x44f4c6['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x296c65);}),_0x44f4c6['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x160198();}catch(_0x2eeabf){_0x296c65(_0x2eeabf);}}),_0x44f4c6['connect']();});}['_getPortByProtocol'](_0x3ea9d7){return['http:','ws:']['includes'](_0x3ea9d7)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x486018=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x1aeedd=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x486018,_0x2231ee=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0x2896b1=this['_connectionProvider'](_0x1aeedd,{'parser':{'Encoder':_0x2639e0,'Decoder':_0x3e386e},'path':_0x2231ee+'/ws-v2/ws','transports':['websocket'],'timeout':void 0x0!==this['_options']['timeout']?this['_options']['timeout']:0x1388,'reconnection':void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect'],'reconnectionDelay':0x3e8,'reconnectionDelayMax':0x1388,'rejectUnauthorized':void 0x0===this['_options']['rejectUnauthorized']||this['_options']['rejectUnauthorized'],'query':{'version':'54.0.1'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=_0x396647['CONNECTING'],_0x2896b1['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0x2896b1['id'];}),_0x2896b1['on']('connect_error',_0x23647d=>{this['_debugEvent']('connect_error',_0x23647d);}),_0x2896b1['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0x2896b1['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0x2896b1['io']['on']('reconnect_attempt',_0x4015ab=>{this['_debugEvent']('reconnect_attempt',_0x4015ab),this['state']=_0x396647['CONNECTING'],this['_connectionAttempt']=_0x4015ab;}),_0x2896b1['on']('unauthorized',_0x4d9962=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x4d9962);}),_0x2896b1['on']('authenticationRequest',async _0x1252fb=>{this['_debugEvent']('authenticationRequest',_0x1252fb['attempt']),await this['_onReconnect']();}),this['_socket']=_0x2896b1,_0x2896b1;}['_emit'](_0x2c868c,_0x240bef){const _0x548d84=this['_socket'];return this['_requestsManager']['send'](_0x5c01c6=>{_0x548d84['emit'](_0x2c868c,_0x240bef,(_0x46d229,_0x34c5f5)=>{if(_0x46d229)return _0x5c01c6['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x46d229));_0x5c01c6['response'](_0x34c5f5);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x591726,_0x274719){this['_socketAuth']={'environmentId':_0x591726,'userId':_0x274719,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=_0x396647['CONNECTED'];const _0x11c4dd=async(_0xca4a23,_0x521762,_0x1d8966)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x1d8966);}catch{}};this['_token']['on']('change:value',_0x11c4dd),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x11c4dd);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=_0x396647['DISCONNECTED'],this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x4d35b5 of this['_channels']['values']())_0x4d35b5['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0x319e26,_0x50d57e){if(!this['_isDebugModeEnabled']())return;const _0x2ca910=void 0x0!==_0x50d57e?',\x20data:\x20'+_0x50d57e:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0x319e26+_0x2ca910);}['_reconnectionAttemptError'](_0x1278ff){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x1278ff(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:_0x1415f9}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x1415f9));}async['_authenticate'](_0x2aeec9){try{this['_debugEvent']('authenticate:start');const _0x5b60ce=await this['_emit'](0x2,{'token':_0x2aeec9});this['_debugEvent']('authenticate:success','envId:\x20'+_0x5b60ce['environmentId']+',\x20userId:\x20'+_0x5b60ce['userId']),this['_addAuthData'](_0x5b60ce['environmentId'],_0x5b60ce['userId']);}catch(_0x5748a9){throw this['_debugEvent']('authenticate:error',_0x5748a9['message']),this['_removeAuthData'](),_0x5748a9;}}['_isDebugModeEnabled'](){return!!ckeditor5['global']['window']['localStorage']&&'true'===(ckeditor5['global']['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}};class IsEditorBundleUploadedMessage extends _0xe8e8f8{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x1d2ecd){super(),this['bundleVersion']=_0x1d2ecd;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0x37f4f2){return new IsEditorBundleUploadedMessage(_0x37f4f2['bundleVersion']);}}class IsEditorBundleUploadedResponse extends _0xe8e8f8{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x3a6e5a){super(),this['isUploaded']=_0x3a6e5a;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x84d7c5){return new IsEditorBundleUploadedResponse(_0x84d7c5['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x486644,_0x556a71){const _0x152967=new IsEditorBundleUploadedMessage(_0x556a71);if(_0x486644['state']!==_0x396647['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x486644);const _0x468d18=await _0x486644['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],_0x4f3943['encode'](_0x152967));return _0x4f3943['decode'](_0x468d18,IsEditorBundleUploadedResponse)['isUploaded'];}}class RevisionHistoryGetRevisionMessage extends _0xe8e8f8{['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(_0x1751f1,_0x91d722){super(),this['documentId']=_0x1751f1,this['revisionId']=_0x91d722;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x5f52b5){return new RevisionHistoryGetRevisionMessage(_0x5f52b5['documentId'],_0x5f52b5['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'](_0x22b2af){return{'revisionId':_0x22b2af['id'],'name':_0x22b2af['name'],'creatorId':_0x22b2af['creatorId'],'createdAt':_0x22b2af['createdAt'],'fromVersion':_0x22b2af['fromVersion'],'toVersion':_0x22b2af['toVersion'],'isEmptyCurrent':_0x22b2af['isEmptyCurrent'],'diffData':_0x22b2af['diffData']?JSON['stringify'](_0x22b2af['diffData']):void 0x0,'attributes':_0x22b2af['attributes'],'authorsIds':_0x22b2af['authorsIds']};}static['toJSON'](_0x9b5f2){return{'revisionId':_0x9b5f2['revisionId'],'name':_0x9b5f2['name'],'creatorId':_0x9b5f2['creatorId'],'authorsIds':_0x9b5f2['authorsIds']?JSON['stringify'](_0x9b5f2['authorsIds']):void 0x0,'diffData':_0x9b5f2['diffData'],'createdAt':_0x9b5f2['createdAt']?.['toISOString'](),'attributes':_0x9b5f2['attributes']?JSON['stringify'](_0x9b5f2['attributes']):void 0x0,'toVersion':_0x9b5f2['toVersion'],'fromVersion':_0x9b5f2['fromVersion'],'isEmptyCurrent':_0x9b5f2['isEmptyCurrent']};}static['fromJSON'](_0x2a27cf){return{'revisionId':(_0x2a27cf={..._0x2a27cf})['revisionId'],'name':_0x2a27cf['name'],'creatorId':_0x2a27cf['creatorId'],'authorsIds':_0x2a27cf['authorsIds']?JSON['parse'](_0x2a27cf['authorsIds']):void 0x0,'diffData':_0x2a27cf['diffData'],'createdAt':_0x2a27cf['createdAt']?new Date(_0x2a27cf['createdAt']):void 0x0,'attributes':_0x2a27cf['attributes']?JSON['parse'](_0x2a27cf['attributes']):void 0x0,'toVersion':_0x2a27cf['toVersion'],'fromVersion':_0x2a27cf['fromVersion'],'isEmptyCurrent':_0x2a27cf['isEmptyCurrent']};}static['toObject'](_0x3cf854){return function(_0x4f057c){for(const [_0x54cf5a,_0x2b9d4f]of Object['entries'](_0x4f057c))void 0x0===_0x2b9d4f&&delete _0x4f057c[_0x54cf5a];return _0x4f057c;}({'id':_0x3cf854['revisionId'],'name':_0x3cf854['name'],'creatorId':_0x3cf854['creatorId'],'createdAt':_0x3cf854['createdAt'],'fromVersion':_0x3cf854['fromVersion'],'toVersion':_0x3cf854['toVersion'],'isEmptyCurrent':_0x3cf854['isEmptyCurrent'],'diffData':_0x3cf854['diffData']?JSON['parse'](_0x3cf854['diffData']):void 0x0,'attributes':_0x3cf854['attributes'],'authorsIds':_0x3cf854['authorsIds']});}}class RevisionHistoryGetRevisionResponse extends _0xe8e8f8{['revisionId'];['name'];['creatorId'];['authorsIds'];['createdAt'];['diffData'];['attributes'];['fromVersion'];['toVersion'];['isEmptyCurrent'];static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(_0x43b299,_0x5b0df0,_0x19cbd2,_0x34dee8,_0x496999,_0x2386d4,_0x59571f,_0x2b2fce,_0x75a9f4,_0x212f43){super(),this['revisionId']=_0x43b299,this['name']=_0x5b0df0,this['creatorId']=_0x19cbd2,this['authorsIds']=_0x34dee8,this['createdAt']=_0x496999,this['diffData']=_0x2386d4,this['attributes']=_0x59571f,this['fromVersion']=_0x2b2fce,this['toVersion']=_0x75a9f4,this['isEmptyCurrent']=_0x212f43;}['toJSON'](){return RevisionDescriptor['toJSON'](this);}['toObject'](){return RevisionDescriptor['toObject'](this);}static['create'](_0x5432cb){return new RevisionHistoryGetRevisionResponse(_0x5432cb['revisionId'],_0x5432cb['name'],_0x5432cb['creatorId'],_0x5432cb['authorsIds'],_0x5432cb['createdAt'],_0x5432cb['diffData'],_0x5432cb['attributes'],_0x5432cb['fromVersion'],_0x5432cb['toVersion'],_0x5432cb['isEmptyCurrent']);}static['fromJSON'](_0x5239dd){return new RevisionHistoryGetRevisionResponse(_0x5239dd['revisionId'],_0x5239dd['name'],_0x5239dd['creatorId'],_0x5239dd['authorsIds']?JSON['parse'](_0x5239dd['authorsIds']):void 0x0,_0x5239dd['createdAt']?new Date(_0x5239dd['createdAt']):void 0x0,_0x5239dd['diffData'],_0x5239dd['attributes']?JSON['parse'](_0x5239dd['attributes']):void 0x0,_0x5239dd['fromVersion'],_0x5239dd['toVersion'],_0x5239dd['isEmptyCurrent']);}}class RevisionHistoryUpdateRevisionsMessage extends _0xe8e8f8{['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(_0x1b3240,_0x12a02c,_0x3d40c8){super(),this['documentId']=_0x1b3240,this['requestId']=_0x12a02c,this['revisions']=_0x3d40c8;}['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'](_0x263d09){return new RevisionHistoryUpdateRevisionsMessage(_0x263d09['documentId'],_0x263d09['requestId'],_0x263d09['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0x197145){return new RevisionHistoryUpdateRevisionsMessage(_0x197145['documentId'],_0x197145['requestId'],_0x197145['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends _0xe8e8f8{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x5377ed){super(),this['requestId']=_0x5377ed;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0x53793e){return new RevisionHistoryUpdateRevisionsResponse(_0x53793e['requestId']);}}class RevisionHistoryConnectMessage extends _0xe8e8f8{['documentId'];static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x49a21b){super(),this['documentId']=_0x49a21b;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x2361b2){return new RevisionHistoryConnectMessage(_0x2361b2['documentId']);}}class RevisionHistoryConnectResponse extends _0xe8e8f8{['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(_0x3224cc,_0x1711fb,_0xed73fb){super(),this['channel']=_0x3224cc,this['requestId']=_0x1711fb,this['revisions']=_0xed73fb;}['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'](_0x353793){return new RevisionHistoryConnectResponse(_0x353793['channel'],_0x353793['requestId'],_0x353793['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryReconnectMessage extends _0xe8e8f8{['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(_0x547bc9,_0x2a34c1){super(),this['documentId']=_0x547bc9,this['requestId']=_0x2a34c1;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x5cfe36){return new RevisionHistoryReconnectMessage(_0x5cfe36['documentId'],_0x5cfe36['requestId']);}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x5b91d6,_0xbc69c3){super(_0x5b91d6+'\x20Service\x20is\x20not\x20connected.',_0xbc69c3);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0x6f3f12){super(),this['_documentId']=_0x6f3f12;}get['isConnected'](){return this['_isConnected'];}['connect'](_0x1e6b86){return this['_isConnected']?Promise['resolve']():this['_connect'](_0x1e6b86,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'](_0x5a909f,_0x5f7529){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x5a909f);return this['_connect'](_0x5a909f,new RevisionHistoryReconnectMessage(this['_documentId'],_0x5f7529));}async['updateRevisions'](_0x18f864,_0x31c792){const _0x6424e8=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':_0x31c792,'revisions':_0x18f864}),_0x11dedc=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x6424e8),{requestId:_0x44f683}=_0x4f3943['decode'](_0x11dedc,RevisionHistoryUpdateRevisionsResponse);return _0x44f683;}async['getRevision'](_0x199ca6){const _0xc3336d=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x199ca6),_0x50b480=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0xc3336d);return _0x4f3943['decode'](_0x50b480,RevisionHistoryGetRevisionResponse)['toObject']();}async['_connect'](_0x3cbde0,_0x1ecf88){if(_0x3cbde0['state']!==_0x396647['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x3cbde0);this['_wsGateway']=_0x3cbde0,this['stopListening'](_0x3cbde0,'change:state');const _0x2eae39=await _0x3cbde0['_sendRequest'](0xc,_0x1ecf88['constructor']['TYPE'],_0x4f3943['encode'](_0x1ecf88)),{channel:_0x59b6c0,requestId:_0x5e5914,revisions:_0x197300}=_0x4f3943['decode'](_0x2eae39,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](_0x3cbde0,'change:state',(_0x230f29,_0x2f094c,_0x4151ea)=>this['_onWsGatewayStateChange'](_0x4151ea),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x3cbde0,_0x59b6c0),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0x197300,'requestId':_0x5e5914};}['_connectToChannel'](_0x1a2b4f,_0x479742){this['_channel']=_0x1a2b4f['_getChannel'](RevisionHistoryService['_SERVICE'],_0x479742),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(_0x517e70,_0x24a505)=>{const {documentId:_0x448680,requestId:_0x49c022,revisions:_0x584c7c}=_0x4f3943['decode'](_0x24a505,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x448680,'requestId':_0x49c022,'revisionsData':_0x584c7c});});}['_onWsGatewayStateChange'](_0x4b587c){_0x4b587c===_0x396647['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x427044,_0x3c6d90){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0x427044,_0x4f3943['encode'](_0x3c6d90));}}class AddSuggestionMessage extends _0xe8e8f8{['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(_0x39c0b7,_0x2e46b8,_0x534c44,_0x5c1039={},_0x1738f4=null,_0x30706a=null){super(),this['id']=_0x39c0b7,this['documentId']=_0x2e46b8,this['type']=_0x534c44,this['data']=_0x5c1039,this['originalSuggestionId']=_0x1738f4,this['attributes']=_0x30706a;}['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'](_0x4d4e19){return new AddSuggestionMessage(_0x4d4e19['id'],_0x4d4e19['documentId'],_0x4d4e19['type'],JSON['parse'](_0x4d4e19['data']),_0x4d4e19['originalSuggestionId']??null,_0x4d4e19['attributes']?JSON['parse'](_0x4d4e19['attributes']):null);}}class AddSuggestionResponse extends _0xe8e8f8{['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(_0x2c6820,_0xbd2705,_0x39e563,_0x59da44,_0x34ac17,_0x4d74c,_0x25df99={},_0x40a356=null){super(),this['id']=_0x2c6820,this['authorId']=_0xbd2705,this['type']=_0x39e563,this['hasComments']=_0x34ac17,this['state']=_0x4d74c,this['data']=_0x25df99,this['attributes']=_0x40a356,this['createdAt']=_0x59da44?new Date(_0x59da44):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'](_0x2e8500){return new AddSuggestionResponse(_0x2e8500['id'],_0x2e8500['authorId'],_0x2e8500['type'],_0x2e8500['createdAt'],_0x2e8500['hasComments'],_0x2e8500['state'],JSON['parse'](_0x2e8500['data']),_0x2e8500['attributes']?JSON['parse'](_0x2e8500['attributes']):null);}}class GetSuggestionMessage extends _0xe8e8f8{['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(_0x44bb4c,_0x2b4dcc){super(),this['id']=_0x44bb4c,this['documentId']=_0x2b4dcc;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0x168ebb){return new GetSuggestionMessage(_0x168ebb['id'],_0x168ebb['documentId']);}}class GetSuggestionResponse extends _0xe8e8f8{['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(_0x245c92,_0x2a3c96,_0x3437f5,_0x559a9a,_0x58edce,_0x1d4f8c,_0x5ce23a={},_0x387a96=null){super(),this['id']=_0x245c92,this['authorId']=_0x2a3c96,this['type']=_0x3437f5,this['hasComments']=_0x58edce,this['state']=_0x1d4f8c,this['data']=_0x5ce23a,this['attributes']=_0x387a96,this['createdAt']=new Date(_0x559a9a);}['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'](_0x587ef2){return new GetSuggestionResponse(_0x587ef2['id'],_0x587ef2['authorId'],_0x587ef2['type'],_0x587ef2['createdAt'],_0x587ef2['hasComments'],_0x587ef2['state'],JSON['parse'](_0x587ef2['data']),_0x587ef2['attributes']?JSON['parse'](_0x587ef2['attributes']):null);}}class GetAllSuggestionsMessage extends _0xe8e8f8{['documentId'];static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0xa42140){super(),this['documentId']=_0xa42140;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x23b8d3){return new GetAllSuggestionsMessage(_0x23b8d3['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'](_0x59bf5c){return{..._0x59bf5c,'data':_0x59bf5c['data']?JSON['stringify'](_0x59bf5c['data']):_0x59bf5c['data'],'attributes':_0x59bf5c['attributes']?JSON['stringify'](_0x59bf5c['attributes']):_0x59bf5c['attributes'],'createdAt':_0x59bf5c['createdAt']?.['toISOString']()};}static['fromJSON'](_0x42a48a){return{..._0x42a48a,'data':_0x42a48a['data']?JSON['parse'](_0x42a48a['data']):_0x42a48a['data'],'attributes':_0x42a48a['attributes']?JSON['parse'](_0x42a48a['attributes']):_0x42a48a['attributes'],'createdAt':_0x42a48a['createdAt']?new Date(_0x42a48a['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends _0xe8e8f8{['_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(_0x142c34,_0x156881){super(),this['_suggestions']=_0x142c34,this['_suggestionsV2']=_0x156881,this['suggestions']=_0x156881?.['length']?_0x156881:_0x142c34;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0x4d0fd1=>JSON['stringify'](_0x4d0fd1)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x3e3302){return new GetAllSuggestionResponse(_0x3e3302['suggestions']?.['map'](_suggestionFromString),_0x3e3302['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function _suggestionFromString(_0xff1cd3){const _0x5717c7=JSON['parse'](_0xff1cd3);return _0x5717c7['createdAt']=_0x5717c7['createdAt']?new Date(_0x5717c7['createdAt']):void 0x0,_0x5717c7;}class UpdateSuggestionMessage extends _0xe8e8f8{['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(_0x1d317f,_0x1ea13f,_0x524bf9,_0x2dad80,_0x1740b7,_0x408e17=null){super(),this['id']=_0x1d317f,this['documentId']=_0x1ea13f,this['hasComments']=_0x524bf9,this['isHasCommentsModified']=_0x2dad80,this['state']=_0x1740b7,this['attributes']=_0x408e17;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x607c06){return new UpdateSuggestionMessage(_0x607c06['id'],_0x607c06['documentId'],_0x607c06['hasComments'],_0x607c06['isHasCommentsModified'],_0x607c06['state'],_0x607c06['attributes']?JSON['parse'](_0x607c06['attributes']):null);}}let ConnectMessage$1=class _0x3cc2a8 extends _0xe8e8f8{['documentId'];static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x568029){super(),this['documentId']=_0x568029;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x3cc9e1){return new _0x3cc2a8(_0x3cc9e1['documentId']);}},ConnectResponse$1=class _0x5fa39f extends _0xe8e8f8{['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(_0x582d45,_0x1238b1,_0x199a47){super(),this['channel']=_0x582d45,this['_suggestions']=_0x1238b1,this['_suggestionsV2']=_0x199a47,this['suggestions']=_0x199a47?.['length']?_0x199a47:_0x1238b1;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x51c3b4=>JSON['stringify'](_0x51c3b4)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x33bcde){return new _0x5fa39f(_0x33bcde['channel'],_0x33bcde['suggestions']?.['map'](_0x5aa173=>JSON['parse'](_0x5aa173)),_0x33bcde['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends _0xe8e8f8{['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(_0x16a8d8,_0x564c10,_0x3b09c4){super(),this['ids']=_0x16a8d8,this['documentId']=_0x564c10,this['state']=_0x3b09c4;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0xf7db4a){return new BatchUpdateSuggestionsStateMessage(_0xf7db4a['ids'],_0xf7db4a['documentId'],_0xf7db4a['state']);}}class _0x16b233 extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0x22e955){super(),this['_documentId']=_0x22e955;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x14c8f8){if(this['_isConnected'])return;if(_0x14c8f8['state']!==_0x396647['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x14c8f8);const _0x1b7581=new ConnectMessage$1(this['_documentId']);this['_wsGateway']=_0x14c8f8,this['stopListening'](_0x14c8f8,'change:state');const _0x93efbf=await _0x14c8f8['_sendRequest'](0xa,ConnectMessage$1['TYPE'],_0x4f3943['encode'](_0x1b7581)),_0x54b193=_0x4f3943['decode'](_0x93efbf,ConnectResponse$1);return this['listenTo'](_0x14c8f8,'change:state',(_0xb70482,_0x52733b,_0x59f58e)=>this['_onWsGatewayStateChange'](_0x59f58e),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x14c8f8,_0x54b193['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x54b193['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'](_0x476d44,_0x133852,_0x1804d5,_0x56b58f=null,_0x47f89e){const _0x43947f=new AddSuggestionMessage(_0x476d44,this['_documentId'],_0x133852,_0x1804d5,_0x56b58f,_0x47f89e),_0xb15424=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x43947f);return _0x4f3943['decode'](_0xb15424,AddSuggestionResponse);}async['get'](_0x103e09,_0x5cc3ac=0x1){const _0x4f2ff8=new GetSuggestionMessage(_0x103e09,this['_documentId']);try{const _0x4eb893=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x4f2ff8);return _0x4f3943['decode'](_0x4eb893,GetSuggestionResponse);}catch(_0x14a357){if('CKEditorCloudServicesServerError'===_0x14a357['name']&&'404'===_0x14a357['code']&&_0x5cc3ac<0x5)return await(_0x1ce019=0x64*_0x5cc3ac,new Promise(_0x32b5c7=>{setTimeout(_0x32b5c7,_0x1ce019);})),this['get'](_0x103e09,_0x5cc3ac+0x1);if('CKEditorCloudServicesServerError'===_0x14a357['name'])throw _0x14a357;throw CKEditorCloudServicesServerError['fromPublicError'](_0x14a357);}var _0x1ce019;}async['getAll'](){const _0x2347ea=new GetAllSuggestionsMessage(this['_documentId']),_0x52b1e6=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x2347ea),{suggestions:_0x5aaa0a}=_0x4f3943['decode'](_0x52b1e6,GetAllSuggestionResponse);return _0x5aaa0a;}async['update'](_0x35732e,_0x154304={}){const {hasComments:_0x368da3,state:_0x141a5e,attributes:_0xe71b8a}=_0x154304,_0x220167=void 0x0!==_0x368da3,_0x2ffbc9=new UpdateSuggestionMessage(_0x35732e,this['_documentId'],_0x368da3,_0x220167,_0x141a5e,_0xe71b8a);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x2ffbc9);}async['batchUpdateState'](_0x3e1b82){const _0x31e8c1=new BatchUpdateSuggestionsStateMessage(_0x3e1b82['ids'],this['_documentId'],_0x3e1b82['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x31e8c1);}['_connectToChannel'](_0x243058,_0x594227){this['_channel']=_0x243058['_getChannel'](_0x16b233['_SERVICE'],_0x594227),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(_0xc49736,_0x456724)=>{const _0x1f3520=_0x4f3943['decode'](_0x456724,UpdateSuggestionMessage);this['fire']('suggestionUpdated',_0x1f3520);});}['_onWsGatewayStateChange'](_0x41c053){_0x41c053===_0x396647['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x3bbda5,_0x400768){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0x3bbda5,_0x4f3943['encode'](_0x400768));}}class SessionsConnectResponse extends _0xe8e8f8{['channel'];['sockets'];static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x436ff6,_0x4b7fd1=[]){super(),this['channel']=_0x436ff6,this['sockets']=_0x4b7fd1;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0x26f11b=>({'user':_0x26f11b['userId'],'session':_0x26f11b['id'],'role':_0x26f11b['role'],'permissions':_0x26f11b['permissions']}))};}static['fromJSON'](_0x259d2b){return new SessionsConnectResponse(_0x259d2b['channel'],_0x259d2b['sockets']['map'](_0x4a339e=>({'id':_0x4a339e['session'],'userId':_0x4a339e['user'],'role':_0x4a339e['role'],'permissions':_0x4a339e['permissions']})));}}class SessionsConnectMessage extends _0xe8e8f8{['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(_0x42feb4,_0x38dcd6){super(),this['id']=_0x42feb4,this['sessionType']=_0x38dcd6;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x1c6203){return new SessionsConnectMessage(_0x1c6203['id'],_0x1c6203['sessionType']);}}class SocketConnectMessage extends _0xe8e8f8{['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(_0x3c0f73,_0x33ba93,_0x441eb2,_0x13db21){super(),this['id']=_0x3c0f73,this['userId']=_0x33ba93,this['role']=_0x441eb2,this['permissions']=_0x13db21;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x1c17df){return new SocketConnectMessage(_0x1c17df['id'],_0x1c17df['userId'],_0x1c17df['role'],_0x1c17df['permissions']);}}class SocketDisconnectMessage extends _0xe8e8f8{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x5917f3){super(),this['id']=_0x5917f3;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x177d6c){return new SocketDisconnectMessage(_0x177d6c['id']);}}class SessionCollection extends ckeditor5['Collection']{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0x3c8b8f,_0x350e85){super({'idProperty':'id'}),this['_id']=_0x3c8b8f,this['_sessionType']=_0x350e85;}async['connect'](_0x446eb6){this['_wsGateway']=_0x446eb6,this['stopListening'](_0x446eb6,'change:state');const _0x3762d6=new SessionsConnectMessage(this['_id'],this['_sessionType']);let _0x5b3301;try{const _0x2b4e88=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],_0x4f3943['encode'](_0x3762d6));_0x5b3301=_0x4f3943['decode'](_0x2b4e88,SessionsConnectResponse);}catch{_0x5b3301=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x5b3301['channel'],this['_sessionType']);const _0x4cd1d1=await async function(_0x2904f,_0x3e602c){const _0x390962=_0x3e602c['map'](_0x40cb37=>_0x40cb37['userId']),_0x57ee6b=_0x390962['length']?await _0x1a3434['getMany'](_0x2904f,_0x390962):[];return _0x3e602c['map'](_0x34896c=>{const _0x421e2e={'id':_0x34896c['id'],'role':_0x34896c['role'],'permissions':_0x34896c['permissions']};return _0x421e2e['user']=_0x34896c['userId']&&_0x57ee6b['find'](_0x3fac7a=>_0x3fac7a['id']===_0x34896c['userId'])||new _0x1a3434(),_0x421e2e;});}(this['_wsGateway'],_0x5b3301['sockets']);for(const _0x3ced02 of _0x4cd1d1)super['add'](_0x3ced02);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0xa11a95,_0x3fa18c,_0x2777ab)=>this['_onWsGatewayStateChange'](_0x2777ab),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x33eab7=!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']&&_0x33eab7&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x33eab7&&this['stopListening']();}}['add'](_0x30ff5c,_0x2a60f3){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x54273e){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0x595ddd,_0x51acf8,_0x28ca56){this['_channel']=_0x595ddd['_getChannel'](_0x28ca56,_0x51acf8),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async _0x37c554=>{const _0xe8c2e5=_0x4f3943['decode'](_0x37c554,SocketConnectMessage);if(-0x1===this['getIndex'](_0xe8c2e5['id'])){const _0x5a68e2={'id':_0xe8c2e5['id'],'role':_0xe8c2e5['role'],'permissions':_0xe8c2e5['permissions']};_0xe8c2e5['userId']&&(_0x5a68e2['user']=await _0x1a3434['get'](_0x595ddd,_0xe8c2e5['userId'])),super['add'](_0x5a68e2);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],_0x78e69b=>{const _0x3fcbf5=_0x4f3943['decode'](_0x78e69b,SocketDisconnectMessage);-0x1!==this['getIndex'](_0x3fcbf5['id'])&&super['remove'](_0x3fcbf5['id']);}));}async['_onWsGatewayStateChange'](_0x8149da){_0x8149da===WebSocketGateway$1['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x8149da===WebSocketGateway$1['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0x2c96b0;for(this['_isRunning']=!0x0;_0x2c96b0=this['_eventsQueue']['shift']();){const _0x17991e=this['_handlers']['get'](_0x2c96b0['eventName']);_0x17991e&&await _0x17991e(_0x2c96b0['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x234046,_0x6e1117,_0x3996be){const _0x12b99a=_0x234046['getEventName'](_0x6e1117,!0x0);this['listenTo'](_0x234046,_0x12b99a,async(_0x390bcf,_0x1f5ae4)=>{const _0x1bb25e=_0x390bcf['name'];this['_eventsQueue']['push']({'eventName':_0x1bb25e,'data':_0x1f5ae4}),await this['_runQueue']();}),this['_handlers']['set'](_0x12b99a,_0x3996be);}}let _0x14c9b6=class{static async['getConnectedSessions'](_0x28943a,_0x4cd22c,_0x3755bb){const _0x5db481=new SessionCollection(_0x4cd22c,_0x3755bb);return await _0x5db481['connect'](_0x28943a),_0x5db481;}};class CollaborativeEditingConnectMessage extends _0xe8e8f8{['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(_0x7b7bab,_0x5492ed,_0x388107,_0x5234bb,_0x18165c=''){super(),this['id']=_0x7b7bab,this['buffers']=_0x5492ed,this['types']=_0x388107,this['bundleVersion']=_0x5234bb,this['lastOperationId']=_0x18165c;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0xbc2cd2){return new CollaborativeEditingConnectMessage(_0xbc2cd2['id'],_0xbc2cd2['buffers'],_0xbc2cd2['types'],_0xbc2cd2['bundleVersion'],_0xbc2cd2['lastOperationId']);}}class OperationMetadataHelpers{static['prepareMetadataForOperations'](_0x147ddc,_0x3aab85){if(!_0x147ddc?.['length']||!_0x3aab85?.['length'])return[];const _0x1e2372=[];let _0x58ee57=0x0;for(const _0x4b328f of _0x147ddc)if(0x0!==_0x4b328f){if(!_0x3aab85[_0x58ee57])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x1e2372['push'](_0x3aab85[_0x58ee57]),_0x58ee57++;}else _0x1e2372['push'](_0x1e2372[_0x1e2372['length']-0x1]);return _0x1e2372;}static['removeUnnecessaryMetadata'](_0x1d52e0,_0xd0826a){if(!_0x1d52e0?.['length']||!_0xd0826a?.['length'])return[];const _0x38c853=[];for(let _0x47c0a3=0x0;_0x47c0a3<_0x1d52e0['length'];_0x47c0a3++)if(0x0!==_0x1d52e0[_0x47c0a3]){if(!_0xd0826a[_0x47c0a3])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x38c853['push'](_0xd0826a[_0x47c0a3]);}return _0x38c853;}}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:_0x189512,..._0x56d431}){const _0x5017f1={..._0x56d431};return _0x189512?.['toISOString']&&(_0x5017f1['createdAt']=_0x189512['toISOString']()),_0x5017f1;}static['fromJSON']({createdAt:_0x157163,..._0x165244}){const _0x154a38={..._0x165244};return _0x157163&&(_0x154a38['createdAt']=new Date(_0x157163)),_0x154a38;}}class CollaborativeEditingUpdateMessage extends _0xe8e8f8{['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(_0x1661b3,_0x14ff81,_0x2e83e9,_0x3bdc85,_0x4cf40d=[],_0x5bdc8e=''){super(),this['id']=_0x1661b3,this['buffers']=_0x14ff81,this['types']=_0x2e83e9,this['baseVersion']=_0x3bdc85,this['metadata']=_0x4cf40d,this['lastOperationId']=_0x5bdc8e;}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'](_0x566c7b){return new CollaborativeEditingUpdateMessage(_0x566c7b['id'],_0x566c7b['buffers'],_0x566c7b['types'],_0x566c7b['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x566c7b['types'],_0x566c7b['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x566c7b['lastOperationId']);}}class CollaborativeEditingReconnectMessage extends _0xe8e8f8{['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(_0x5bc563,_0x37a993,_0x4dc337){super(),this['id']=_0x5bc563,this['lastKnowVersion']=_0x37a993,this['bundleVersion']=_0x4dc337;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0x2e03b0){return new CollaborativeEditingReconnectMessage(_0x2e03b0['id'],_0x2e03b0['lastKnowVersion'],_0x2e03b0['bundleVersion']);}}class CollaborativeEditingResponse extends _0xe8e8f8{['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(_0x5b69a4,_0x16a3d8=[],_0x2838a5=[],_0x5d7e3a=[],_0xc673b3='',_0x1a8403=null){super(),this['version']=_0x5b69a4,this['buffers']=_0x16a3d8,this['types']=_0x2838a5,this['metadata']=_0x5d7e3a,this['lastOperationId']=_0xc673b3,this['lastOperationAcceptedAt']=_0x1a8403;}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'](_0x4e474d){return new CollaborativeEditingResponse(_0x4e474d['version'],_0x4e474d['buffers'],_0x4e474d['types'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x4e474d['types'],_0x4e474d['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x4e474d['lastOperationId'],_0x4e474d['lastOperationAcceptedAt']?new Date(_0x4e474d['lastOperationAcceptedAt']):null);}static['create'](_0xf86468){return new CollaborativeEditingResponse(_0xf86468['version'],_0xf86468['buffers'],_0xf86468['types'],_0xf86468['metadata'],_0xf86468['lastOperationId'],_0xf86468['lastOperationAcceptedAt']?new Date(_0xf86468['lastOperationAcceptedAt']):null);}}class CollaborativeEditingConnectResponse extends _0xe8e8f8{['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(_0x185082,_0xde6328,_0x2e8ac5=[],_0x37be12=[],_0xd327d5=0x0,_0x4b7bd9=[],_0x272a8f=null,_0x330287='',_0x8d2eca='',_0x2ff238=null){super(),this['channel']=_0x185082,this['version']=_0xde6328,this['buffers']=_0x2e8ac5,this['types']=_0x37be12,this['offset']=_0xd327d5,this['metadata']=_0x4b7bd9,this['initData']=_0x272a8f,this['sessionId']=_0x330287,this['lastOperationId']=_0x8d2eca,this['sessionCreatedAt']=_0x2ff238;}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'](_0x5375d){return new CollaborativeEditingConnectResponse(_0x5375d['channel'],_0x5375d['version'],_0x5375d['buffers'],_0x5375d['types'],_0x5375d['offset'],_0x5375d['metadata'],_0x5375d['initData'],_0x5375d['sessionId'],_0x5375d['lastOperationId'],_0x5375d['sessionCreatedAt']);}static['fromJSON'](_0x2bc59b){let _0x47c2db=null;return!0x0===_0x2bc59b['isInitialized']?_0x47c2db=_0x2bc59b['initData']??'':'boolean'!=typeof _0x2bc59b['isInitialized']&&_0x2bc59b['initData']&&(_0x47c2db=_0x2bc59b['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0x2bc59b['channel'],'version':_0x2bc59b['version'],'buffers':_0x2bc59b['buffers'],'types':_0x2bc59b['types'],'offset':_0x2bc59b['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](_0x2bc59b['types'],_0x2bc59b['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':_0x47c2db,'sessionId':_0x2bc59b['sessionId'],'lastOperationId':_0x2bc59b['lastOperationId'],'sessionCreatedAt':_0x2bc59b['sessionCreatedAt']?new Date(_0x2bc59b['sessionCreatedAt']):null});}}class GetDocumentDetailsResponse extends _0xe8e8f8{['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(_0x4f52ac,_0x104b3f){super(),this['lastDocumentSession']=_0x4f52ac,this['currentDocumentSession']=_0x104b3f;}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'](_0x19dae1){const _0x27b0ff=_0x19dae1['lastDocumentSessionId']?{'id':_0x19dae1['lastDocumentSessionId'],'lastOperationId':_0x19dae1['lastDocumentSessionOperationId']}:void 0x0,_0x11b788=_0x19dae1['currentDocumentSessionId']?{'lastOperationId':_0x19dae1['currentDocumentSessionOperationId'],'version':_0x19dae1['currentDocumentSessionVersion'],'id':_0x19dae1['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(_0x27b0ff,_0x11b788);}}class GetDocumentDetailsMessage extends _0xe8e8f8{['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(_0x21531b){super(),this['documentId']=_0x21531b;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x24166f){return new GetDocumentDetailsMessage(_0x24166f['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x57fb42,_0x5701ad){if(super(),!_0x57fb42)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x5701ad??_0x145b7b(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x57fb42;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0x9f6dd6,_0x385d31={'buffers':[],'types':[]},_0x5168bf){const _0x13fee9=new CollaborativeEditingConnectMessage(this['getId'](),_0x385d31['buffers'],_0x385d31['types'],this['_bundleVersion'],_0x5168bf);return this['_connect'](_0x9f6dd6,_0x13fee9);}['reconnect'](_0x3788b7,_0xb5a26a){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x3788b7);return this['_connect'](_0x3788b7,new CollaborativeEditingReconnectMessage(this['getId'](),_0xb5a26a,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 _0xa0b594=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0xebd6a4=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],_0x4f3943['encode'](_0xa0b594));return _0x4f3943['decode'](_0xebd6a4,GetDocumentDetailsResponse);}async['sendOperations'](_0x3a602c,_0xd2ecac,_0x1e6867){if(!_0x3a602c?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x4309d7='number'==typeof _0xd2ecac?_0xd2ecac:parseInt(_0xd2ecac);if(!Number['isInteger'](_0x4309d7)||_0x4309d7<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x20055a=new CollaborativeEditingUpdateMessage(this['getId'](),_0x3a602c['buffers'],_0x3a602c['types'],_0x4309d7,[],_0x1e6867);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x3c941a=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],_0x4f3943['encode'](_0x20055a));return _0x4f3943['decode'](_0x3c941a,CollaborativeEditingResponse);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']??=await _0x14c9b6['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1),this['_connectedSessions'];}static['getConnectedSessions'](_0x19d2a3,_0x21c97d){return _0x14c9b6['getConnectedSessions'](_0x19d2a3,_0x21c97d,0x1);}async['_connect'](_0x2d230a,_0x598640){if(this['isConnected']())return;if(_0x2d230a['state']!==WebSocketGateway$1['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x2d230a);this['_wsGateway']=_0x2d230a,this['stopListening'](_0x2d230a,'change:state');const _0x5223a3=await _0x2d230a['_sendRequest'](0x1,_0x598640['constructor']['TYPE'],_0x4f3943['encode'](_0x598640)),_0x581d0c=_0x4f3943['decode'](_0x5223a3,CollaborativeEditingConnectResponse);return this['listenTo'](_0x2d230a,'change:state',(_0x30b094,_0x471058,_0x2855d4)=>this['_onWsGatewayStateChange'](_0x2855d4),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x2d230a,_0x581d0c['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x581d0c;}['_connectToChannel'](_0x5b6699,_0x29e99e){this['_channel']=_0x5b6699['_getChannel'](0x1,_0x29e99e),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(_0x52e574,_0x44f194)=>{const _0xaca49=_0x4f3943['decode'](_0x44f194,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',_0xaca49['baseVersion'],_0xaca49['data'],_0xaca49['metadata']);});}['_onWsGatewayStateChange'](_0x4e0941){_0x4e0941===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'](_0x5c915d){return{..._0x5c915d,'createdAt':_0x5c915d['createdAt']?.['toISOString'](),'attributes':_0x5c915d['attributes']?JSON['stringify'](_0x5c915d['attributes']):null};}static['fromJSON'](_0x4baa79){return{..._0x4baa79,'createdAt':new Date(_0x4baa79['createdAt']),'attributes':_0x4baa79['attributes']?JSON['parse'](_0x4baa79['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'](_0x37fdd5){return{..._0x37fdd5,'createdAt':_0x37fdd5['createdAt']?.['toISOString'](),'deletedAt':_0x37fdd5['deletedAt']?.['toISOString'](),'resolvedAt':_0x37fdd5['resolvedAt']?.['toISOString'](),'attributes':_0x37fdd5['attributes']?JSON['stringify'](_0x37fdd5['attributes']):null,'context':_0x37fdd5['context']?JSON['stringify'](_0x37fdd5['context']):_0x37fdd5['context'],'comments':_0x37fdd5['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':_0x37fdd5['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x48407d){return{..._0x48407d,'createdAt':_0x48407d['createdAt']?new Date(_0x48407d['createdAt']):void 0x0,'deletedAt':_0x48407d['deletedAt']?new Date(_0x48407d['deletedAt']):void 0x0,'resolvedAt':_0x48407d['resolvedAt']?new Date(_0x48407d['resolvedAt']):void 0x0,'attributes':_0x48407d['attributes']?JSON['parse'](_0x48407d['attributes']):null,'context':_0x48407d['context']?JSON['parse'](_0x48407d['context']):void 0x0,'comments':_0x48407d['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':_0x48407d['unlinkedAt']?new Date(_0x48407d['unlinkedAt']):void 0x0};}}class AddCommentMessage extends _0xe8e8f8{['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(_0x12f0b4,_0x5e65f1,_0xd91d59,_0x39abb6='',_0x3a92e5,_0x598bca='',_0x50c2b7=null,_0x1db88e){super(),this['documentId']=_0x12f0b4,this['commentThreadId']=_0x5e65f1,this['content']=_0xd91d59,this['commentId']=_0x39abb6,this['userId']=_0x598bca,this['attributes']=_0x50c2b7,this['commentThread']=_0x1db88e,this['createdAt']=_0x3a92e5?new Date(_0x3a92e5):'';}['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'](_0x561115){return new AddCommentMessage(_0x561115['documentId'],_0x561115['commentThreadId'],_0x561115['content'],_0x561115['commentId']?_0x561115['commentId']:void 0x0,_0x561115['createdAt']?new Date(_0x561115['createdAt']):void 0x0,_0x561115['userId']?_0x561115['userId']:void 0x0,_0x561115['attributes']?JSON['parse'](_0x561115['attributes']):{},_0x561115['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x561115['commentThread']):void 0x0);}}class AddCommentResponse extends _0xe8e8f8{['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(_0x18769b,_0x502b54,_0x409961){super(),this['commentThreadId']=_0x18769b,this['commentId']=_0x502b54,this['createdAt']=new Date(_0x409961);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x11b032){return new AddCommentResponse(_0x11b032['commentThreadId'],_0x11b032['commentId'],_0x11b032['createdAt']);}}class ConnectMessage extends _0xe8e8f8{['documentId'];static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0xb713a0){super(),this['documentId']=_0xb713a0;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x3aa6d6){return new ConnectMessage(_0x3aa6d6['documentId']);}}class ConnectResponse extends _0xe8e8f8{['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(_0x18a486,_0xbe3777,_0x3b3b4e){super(),this['channel']=_0x18a486,this['_threads']=_0xbe3777,this['_threadsV2']=_0x3b3b4e,this['threads']=_0x3b3b4e?.['length']?_0x3b3b4e:_0xbe3777;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0x4aea55=>JSON['stringify'](_0x4aea55)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x1a2cc8){return new ConnectResponse(_0x1a2cc8['channel'],_0x1a2cc8['threads']?.['map'](_0x293b4a=>JSON['parse'](_0x293b4a)),_0x1a2cc8['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends _0xe8e8f8{['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(_0xb1ae86,_0x2da7c2,_0x55246c){super(),this['documentId']=_0xb1ae86,this['commentThreadId']=_0x2da7c2,this['commentId']=_0x55246c;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0x307a8e){return new RemoveCommentMessage(_0x307a8e['documentId'],_0x307a8e['commentThreadId'],_0x307a8e['commentId']);}}class RemoveCommentThreadMessage extends _0xe8e8f8{['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(_0x5681f1,_0x2ff07d){super(),this['documentId']=_0x5681f1,this['commentThreadId']=_0x2ff07d;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x16dbdb){return new RemoveCommentThreadMessage(_0x16dbdb['documentId'],_0x16dbdb['commentThreadId']);}}class UpdateCommentMessage extends _0xe8e8f8{['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(_0x5ac885,_0x37a261,_0x23a514,_0xf62137,_0x5bc7b7=null,_0x24834a=!0x1,_0x10108b){super(),this['documentId']=_0x5ac885,this['commentThreadId']=_0x37a261,this['commentId']=_0x23a514,this['content']=_0xf62137,this['attributes']=_0x5bc7b7,this['isAttributesUpdated']=_0x24834a,this['commentThread']=_0x10108b;}['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'](_0x176de7){return new UpdateCommentMessage(_0x176de7['documentId'],_0x176de7['commentThreadId'],_0x176de7['commentId'],_0x176de7['content'],_0x176de7['attributes']?JSON['parse'](_0x176de7['attributes']):null,_0x176de7['isAttributesUpdated'],_0x176de7['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x176de7['commentThread']):void 0x0);}}class GetCommentThreadMessage extends _0xe8e8f8{['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(_0x5c41bb,_0x454984){super(),this['commentThreadId']=_0x5c41bb,this['documentId']=_0x454984;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0x7357f2){return new GetCommentThreadMessage(_0x7357f2['commentThreadId'],_0x7357f2['documentId']);}}class GetCommentThreadResponse extends _0xe8e8f8{['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(_0x4f04f2,_0x285e91,_0x5e2839,_0xeffb69,_0x5870b,_0x314e1a,_0x517f03,_0x1c7a86,_0x4fd474,_0x2f5cb5){super(),this['commentThreadId']=_0x4f04f2,this['_comments']=_0x285e91,this['_commentsV2']=_0x5e2839,this['resolvedBy']=_0x5870b,this['comments']=_0x5e2839?.['length']?_0x5e2839:_0x285e91,this['createdAt']=_0x517f03?new Date(_0x517f03):void 0x0,this['deletedAt']='string'==typeof _0x1c7a86?new Date(_0x1c7a86):_0x1c7a86,this['resolvedAt']='string'==typeof _0x4fd474?new Date(_0x4fd474):_0x4fd474,this['unlinkedAt']='string'==typeof _0x2f5cb5?new Date(_0x2f5cb5):_0x2f5cb5,this['attributes']='string'==typeof _0xeffb69?JSON['parse'](_0xeffb69):_0xeffb69,this['context']='string'==typeof _0x314e1a?JSON['parse'](_0x314e1a):_0x314e1a;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x490232=>JSON['stringify'](_0x490232)),'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'](_0x471e57){return new GetCommentThreadResponse(_0x471e57['commentThreadId'],_0x471e57['comments']?.['map'](_0x22ee90=>function(_0x4d5c3e){const _0x11046f=JSON['parse'](_0x4d5c3e);return{..._0x11046f,'createdAt':new Date(_0x11046f['createdAt'])};}(_0x22ee90)),_0x471e57['commentsV2']?.['map'](CommentDescriptor['fromJSON']),_0x471e57['attributes']?JSON['parse'](_0x471e57['attributes']):_0x471e57['attributes'],_0x471e57['resolvedBy'],_0x471e57['context']?JSON['parse'](_0x471e57['context']):_0x471e57['context'],_0x471e57['createdAt'],_0x471e57['deletedAt'],_0x471e57['resolvedAt'],_0x471e57['unlinkedAt']);}}class GetDocumentThreadsMessage extends _0xe8e8f8{['documentId'];static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x561c41){super(),this['documentId']=_0x561c41;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x32287f){return new GetDocumentThreadsMessage(_0x32287f['documentId']);}}class GetDocumentThreadsResponse extends _0xe8e8f8{['_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(_0x32291e,_0x4efb17){super(),this['_threads']=_0x32291e,this['_threadsV2']=_0x4efb17,this['threads']=_0x4efb17?.['length']?_0x4efb17:_0x32291e;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0x127b10=>JSON['stringify'](_0x127b10)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x397e82){return new GetDocumentThreadsResponse(_0x397e82['threads']?.['map'](_0x561499=>function(_0x246d92){const _0x220e28=JSON['parse'](_0x246d92),_0x5700d6={..._0x220e28};return _0x220e28['comments']&&(_0x5700d6['comments']=_0x220e28['comments']?.['map'](_0x2369ea=>({..._0x2369ea,'createdAt':new Date(_0x2369ea['createdAt'])}))),_0x5700d6;}(_0x561499)),_0x397e82['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'](_0x2cacd0){return{'commentId':_0x2cacd0['commentId'],'createdAt':_0x2cacd0['createdAt']?.['toISOString']()};}static['fromJSON'](_0x3492dc){return{'commentId':_0x3492dc['commentId'],'createdAt':new Date(_0x3492dc['createdAt'])};}}class AddCommentThreadResponse extends _0xe8e8f8{['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(_0x4aea45,_0x1d4c53,_0x41b2c3=[]){super(),this['commentThreadId']=_0x4aea45,this['comments']=_0x41b2c3,this['createdAt']=new Date(_0x1d4c53);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x322edf=>CommentThreadAddedCommentDescriptor['toJSON'](_0x322edf))};}static['fromJSON'](_0x4ff06f){return new AddCommentThreadResponse(_0x4ff06f['commentThreadId'],_0x4ff06f['createdAt'],_0x4ff06f['comments']['map'](_0x4cfcbd=>CommentThreadAddedCommentDescriptor['fromJSON'](_0x4cfcbd)));}}class AddCommentThreadMessage extends _0xe8e8f8{['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(_0x3a7292,_0xd61a82,_0x2499ee=[],_0x7fe90e,_0x416ea4=null,_0x1034b5=null,_0x4190fc=null,_0x36cab1=null,_0x2f639e=null){super(),this['documentId']=_0x3a7292,this['commentThreadId']=_0xd61a82,this['comments']=_0x2499ee,this['context']=_0x7fe90e,this['resolvedBy']=_0x416ea4,this['attributes']=_0x2f639e,this['createdAt']=_0x1034b5?new Date(_0x1034b5):'',this['resolvedAt']=_0x4190fc?new Date(_0x4190fc):'',this['deletedAt']=_0x36cab1?new Date(_0x36cab1):'';}['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'](_0x42fdb8=>CommentDescriptor['toJSON'](_0x42fdb8))};}static['fromJSON'](_0x253983){return new AddCommentThreadMessage(_0x253983['documentId'],_0x253983['commentThreadId'],_0x253983['comments']?.['map'](_0x586900=>CommentDescriptor['fromJSON']({..._0x586900,'documentId':_0x253983['documentId'],'commentThreadId':_0x253983['commentThreadId']})),_0x253983['context']?JSON['parse'](_0x253983['context']):_0x253983['context'],_0x253983['resolvedBy'],_0x253983['createdAt']?new Date(_0x253983['createdAt']):void 0x0,_0x253983['resolvedAt']?new Date(_0x253983['resolvedAt']):void 0x0,_0x253983['deletedAt']?new Date(_0x253983['deletedAt']):void 0x0,_0x253983['attributes']?JSON['parse'](_0x253983['attributes']):_0x253983['attributes']);}}class ResolveCommentThreadMessage extends _0xe8e8f8{['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(_0x109e4c,_0x40a88f,_0x2577c3,_0x4c470a){super(),this['commentThreadId']=_0x109e4c,this['documentId']=_0x40a88f,this['resolvedBy']=_0x2577c3,this['resolvedAt']=_0x4c470a?new Date(_0x4c470a):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x1f19e0){return new ResolveCommentThreadMessage(_0x1f19e0['commentThreadId'],_0x1f19e0['documentId'],_0x1f19e0['resolvedBy'],_0x1f19e0['resolvedAt']);}}class ReopenCommentThreadMessage extends _0xe8e8f8{['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(_0x8a385b,_0x22b49d){super(),this['commentThreadId']=_0x8a385b,this['documentId']=_0x22b49d;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x25114a){return new ReopenCommentThreadMessage(_0x25114a['commentThreadId'],_0x25114a['documentId']);}}class UpdateCommentThreadMessage extends _0xe8e8f8{['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(_0x1a7b38,_0x46cd53,_0x5bb346,_0x3ef396=null,_0x7a7167=null){super(),this['commentThreadId']=_0x1a7b38,this['documentId']=_0x46cd53,this['context']=_0x5bb346,this['attributes']=_0x3ef396,this['unlinkedAt']=_0x7a7167?new Date(_0x7a7167):'';}['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'](_0x4912e6){return new UpdateCommentThreadMessage(_0x4912e6['commentThreadId'],_0x4912e6['documentId'],_0x4912e6['context']?JSON['parse'](_0x4912e6['context']):_0x4912e6['context'],_0x4912e6['attributes']?JSON['parse'](_0x4912e6['attributes']):null,_0x4912e6['unlinkedAt']?new Date(_0x4912e6['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends _0xe8e8f8{['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(_0x2cd987,_0x3b0607,_0x2a710b,_0x55d58f){super(),this['commentThreadId']=_0x2cd987,this['documentId']=_0x3b0607,this['resolvedBy']=_0x2a710b,this['resolvedAt']=new Date(_0x55d58f);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x23abfb){return new ResolveCommentThreadResponse(_0x23abfb['commentThreadId'],_0x23abfb['documentId'],_0x23abfb['resolvedBy'],_0x23abfb['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x4c8fe6){super(),this['_documentId']=_0x4c8fe6;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x89851c){if(this['_isConnected'])return;if(_0x89851c['state']!==_0x396647['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x89851c);const _0x31b353=new ConnectMessage(this['_documentId']);this['_wsGateway']=_0x89851c,this['stopListening'](_0x89851c,'change:state');const _0x1cc6a1=await _0x89851c['_sendRequest'](0x9,ConnectMessage['TYPE'],_0x4f3943['encode'](_0x31b353)),{channel:_0x5d9c4e,threads:_0x491991}=_0x4f3943['decode'](_0x1cc6a1,ConnectResponse);return this['listenTo'](_0x89851c,'change:state',(_0x162512,_0x101c9c,_0x4eb472)=>this['_onWsGatewayStateChange'](_0x4eb472),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x89851c,_0x5d9c4e),this['_isConnected']=!0x0,this['fire']('connected'),_0x491991;}['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'](_0x471be,_0x1a77af,_0x982b97,_0x8c25a6){const _0x30b492=new AddCommentMessage(this['_documentId'],_0x471be,_0x982b97,_0x1a77af,void 0x0,void 0x0,_0x8c25a6),_0x2bca0e=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x30b492);return _0x4f3943['decode'](_0x2bca0e,AddCommentResponse);}async['updateComment'](_0x3d5087,_0x29b42d,_0x1c9780,_0x1a6964){const _0x281efc=void 0x0!==_0x1a6964,_0x416ef7=new UpdateCommentMessage(this['_documentId'],_0x3d5087,_0x29b42d,_0x1c9780,_0x1a6964,_0x281efc);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0x416ef7);}async['removeComment'](_0x4fd06f,_0x886d95){const _0x48b57d=new RemoveCommentMessage(this['_documentId'],_0x4fd06f,_0x886d95);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x48b57d);}async['removeCommentThread'](_0x47a03c){const _0x102abe=new RemoveCommentThreadMessage(this['_documentId'],_0x47a03c);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0x102abe);}async['addCommentThread'](_0x54924e){const _0x3bd533=new AddCommentThreadMessage(this['_documentId'],_0x54924e['commentThreadId'],_0x54924e['comments']?.['map'](_0x39384c=>({..._0x39384c,'documentId':this['_documentId'],'commentThreadId':_0x54924e['commentThreadId']})),_0x54924e['context'],_0x54924e['resolvedBy'],_0x54924e['createdAt'],_0x54924e['resolvedAt'],_0x54924e['deletedAt'],_0x54924e['attributes']),_0x3f3257=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x3bd533);return _0x4f3943['decode'](_0x3f3257,AddCommentThreadResponse);}async['resolveCommentThread'](_0x56e1a3){const _0x164b45=new ResolveCommentThreadMessage(_0x56e1a3,this['_documentId']),_0x4b26a4=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0x164b45);return _0x4f3943['decode'](_0x4b26a4,ResolveCommentThreadResponse);}async['reopenCommentThread'](_0x2b4491){const _0x179803=new ReopenCommentThreadMessage(_0x2b4491,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x179803);}async['updateCommentThread'](_0x5cb1a0){const _0x1677f6=new UpdateCommentThreadMessage(_0x5cb1a0['commentThreadId'],this['_documentId'],_0x5cb1a0['context'],_0x5cb1a0['attributes'],_0x5cb1a0['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0x1677f6);}async['getCommentThread'](_0x474fb1,_0x7ded04=0x1){const _0x319446=new GetCommentThreadMessage(_0x474fb1,this['_documentId']);try{const _0x28c7e4=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0x319446),_0x127bc6=_0x4f3943['decode'](_0x28c7e4,GetCommentThreadResponse);return{'commentThreadId':_0x127bc6['commentThreadId'],'comments':_0x127bc6['comments'],'attributes':_0x127bc6['attributes'],'context':_0x127bc6['context'],'resolvedAt':_0x127bc6['resolvedAt'],'resolvedBy':_0x127bc6['resolvedBy'],'deletedAt':_0x127bc6['deletedAt'],'unlinkedAt':_0x127bc6['unlinkedAt']};}catch(_0x49a33f){if('CKEditorCloudServicesServerError'===_0x49a33f['name']&&'404'===_0x49a33f['code']&&_0x7ded04<0x5)return await(_0x2e5393=0x64*_0x7ded04,new Promise(_0x2ec126=>{setTimeout(_0x2ec126,_0x2e5393);})),this['getCommentThread'](_0x474fb1,_0x7ded04+0x1);if('CKEditorCloudServicesServerError'===_0x49a33f['name'])throw _0x49a33f;throw CKEditorCloudServicesServerError['fromPublicError'](_0x49a33f);}var _0x2e5393;}async['getDocumentThreads'](){const _0xd10bb1=new GetDocumentThreadsMessage(this['_documentId']),_0xb9341c=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0xd10bb1),{threads:_0x1edc4e}=_0x4f3943['decode'](_0xb9341c,GetDocumentThreadsResponse);return{'threads':_0x1edc4e};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']??=await _0x14c9b6['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9),this['_connectedSessions'];}['_connectToChannel'](_0x21292d,_0x5adc0a){this['_channel']=_0x21292d['_getChannel'](CommentsService['_SERVICE'],_0x5adc0a),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(_0x351814,_0x258e9a)=>{const _0x2a30f1=_0x4f3943['decode'](_0x258e9a,AddCommentMessage);this['fire']('commentAdded',_0x2a30f1);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(_0x583bdf,_0x3e9eed)=>{const _0x504ed3=_0x4f3943['decode'](_0x3e9eed,RemoveCommentMessage);this['fire']('commentRemoved',_0x504ed3);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(_0x299b63,_0x33538c)=>{const _0x5d239d=_0x4f3943['decode'](_0x33538c,UpdateCommentMessage);this['fire']('commentUpdated',_0x5d239d);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(_0x3bab74,_0x377f85)=>{const _0xb7d05b=_0x4f3943['decode'](_0x377f85,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',_0xb7d05b);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(_0x1db242,_0x1da6fb)=>{const _0x2e8212=_0x4f3943['decode'](_0x1da6fb,AddCommentThreadMessage);this['fire']('commentThreadAdded',_0x2e8212);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(_0x5062de,_0x7b7f55)=>{const _0xa4c982=_0x4f3943['decode'](_0x7b7f55,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',_0xa4c982);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(_0xef6cb5,_0x391c96)=>{const _0x1527e0=_0x4f3943['decode'](_0x391c96,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',_0x1527e0);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(_0x28d3c0,_0x11ffa9)=>{const _0x28acbf=_0x4f3943['decode'](_0x11ffa9,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',_0x28acbf);}));}['_onWsGatewayStateChange'](_0x221e05){_0x221e05===_0x396647['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0xdcc764,_0x421233){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0xdcc764,_0x4f3943['encode'](_0x421233));}}class WebSocketGateway extends ckeditor5['ContextPlugin']{static ['WebSocketGateway']=/* #__PURE__ -- @preserve */
((()=>WebSocketGateway$1)());static ['initialReconnectionInterval']=0x3e8;['connection'];['_reconnectionStack'];['_shouldPluginsReconnect'];['_domEmitter'];static get['requires'](){return[ckeditor5['CloudServices'],ckeditor5['Notification']];}static get['pluginName'](){return'WebSocketGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1bac0c){super(_0x1bac0c),this['set']('state',_0x396647['CONNECTED']),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new(ckeditor5['DomEmitterMixin']())();}['init'](){const _0x5e2014=this['context'],_0x552217=_0x5e2014['plugins']['get'](ckeditor5['CloudServices']),_0x4108a1=_0x5e2014['plugins']['get'](ckeditor5['Notification']);if(!_0x552217['token'])throw new ckeditor5['CKEditorError']('websocketgateway-missing-token',this);if(!_0x552217['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'](_0x552217['token'],_0x552217['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0xad8494=>{if(this['connection']=_0xad8494,this['bind']('state')['to'](_0xad8494,'state',this,'_isBrowserOffline',(_0x1b0701,_0x2a73f9)=>('connected'!==_0x1b0701&&(this['_shouldPluginsReconnect']=!0x0),_0x2a73f9||_0x1b0701!==_0x396647['CONNECTED']?_0x396647['DISCONNECTED']:this['state']==_0x396647['DISCONNECTED']&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),_0x396647['CONNECTING']):_0x396647['CONNECTED'])),this['connection']['on']('error',(_0x55eddd,_0x824588)=>{if('limitExceeded'!==_0x824588['code'])throw console['error'](_0x824588),new ckeditor5['CKEditorError']('cloudservices-init',null,{'originalError':_0x824588});_0x4108a1['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'});}),!_0xad8494['me'])return new Promise(_0x4355fc=>_0xad8494['on']('change:me',_0x4355fc));})['catch'](_0x19ce91=>{throw console['error'](_0x19ce91),new ckeditor5['CKEditorError']('cloudservices-init',null,{'originalError':_0x19ce91});});}['addToReconnectionStack'](_0x2cef8d){if('function'!=typeof _0x2cef8d['reconnect'])throw new ckeditor5['CKEditorError']('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x2cef8d))throw new ckeditor5['CKEditorError']('websocketgateway-plugin-already-registered',this,{'name':_0x2cef8d['constructor']['pluginName']});this['_reconnectionStack']['add'](_0x2cef8d);}['removeFromReconnectionStack'](_0xc9a7f7){this['_reconnectionStack']['delete'](_0xc9a7f7);}['isInReconnectionStack'](_0x2adb1e){return this['_reconnectionStack']['has'](_0x2adb1e);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x4096d6=>_0x4096d6['reconnect']())))['then'](()=>this['state']=_0x396647['CONNECTED'])['catch'](_0x334d89=>{throw console['error'](_0x334d89),new ckeditor5['CKEditorError']('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=_0x396647['DISCONNECTED'],this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}}class _0x5d9e92 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,_0x9327be];}constructor(_0x3e4abe){super(_0x3e4abe),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'](_0x9327be);}['init'](){const _0x1fbed8=this['context']['plugins']['get'](WebSocketGateway);this['listenTo'](_0x1fbed8,'change:state',(_0xa356eb,_0x1b7736,_0x34f1e9)=>{if('connected'!==_0x34f1e9)this['channelSessions']['forEach'](_0xe342da=>_0xe342da['clear']()),this['channelConnectedUsers']['forEach'](_0x535066=>_0x535066['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x3f4181,_0xbbfb9]of this['_registeredSessions'])for(const _0x180373 of _0xbbfb9)this['_handleSessionAdd'](_0x3f4181,_0x180373);}}),this['_createUser'](_0x1fbed8['connection']['me'],!0x0);}['register'](_0x132e3e,_0x462bc9){if(this['_registeredSessions']['has'](_0x132e3e))throw new ckeditor5['CKEditorError']('sessions-register-already-registered',null,{'channelId':_0x132e3e});this['_registeredSessions']['set'](_0x132e3e,_0x462bc9),this['channelSessions']['set'](_0x132e3e,new ckeditor5['Collection']()),this['channelConnectedUsers']['set'](_0x132e3e,new ckeditor5['Collection']()),this['listenTo'](_0x462bc9,'add',(_0x4f4137,_0x401f83)=>this['_handleSessionAdd'](_0x132e3e,_0x401f83)),this['listenTo'](_0x462bc9,'remove',(_0x1b4a4a,_0x5c49f8)=>this['_handleSessionRemove'](_0x132e3e,_0x5c49f8));for(const _0x36a20c of _0x462bc9)this['_handleSessionAdd'](_0x132e3e,_0x36a20c);}['unregister'](_0x29df50){if(!this['_registeredSessions']['has'](_0x29df50))throw new ckeditor5['CKEditorError']('sessions-unregister-not-exist',null,{'channelId':_0x29df50});const _0x70fc45=this['_registeredSessions']['get'](_0x29df50);this['stopListening'](_0x70fc45);for(const _0x25ac91 of _0x70fc45)'connected'===this['context']['plugins']['get'](WebSocketGateway)['state']&&this['_handleSessionRemove'](_0x29df50,_0x25ac91);this['_registeredSessions']['delete'](_0x29df50),this['channelSessions']['delete'](_0x29df50),this['channelConnectedUsers']['delete'](_0x29df50);}get['mySessionId'](){return this['context']['plugins']['get'](WebSocketGateway)['connection']['sessionId'];}['getUserBySessionId'](_0x56e709){for(const _0x252cc3 of this['channelSessions']['values']())for(const _0x4ae58e of _0x252cc3)if(_0x4ae58e['id']===_0x56e709)return _0x4ae58e['user'];}['getUserSessions'](_0x3c11c8,_0x58598c){const _0x125938=_0x58598c?[this['channelSessions']['get'](_0x58598c)]:this['channelSessions']['values'](),_0x27cecc=new Set();for(const _0x389be8 of _0x125938)for(const _0x3235e3 of _0x389be8)_0x3235e3['user']['id']===_0x3c11c8['id']&&_0x27cecc['add'](_0x3235e3['id']);return _0x27cecc;}['getUserRole'](_0x159051){for(const _0x2a55d9 of this['channelSessions']['values']())for(const _0xcaab31 of _0x2a55d9)if(_0xcaab31['user']===_0x159051)return _0xcaab31['role'];}['_handleSessionAdd'](_0x167d15,_0x10f435){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x41ee1c=_0x10f435['user'],_0x121dfa=this['_users']['getUser'](_0x41ee1c['id'])||this['_createUser'](_0x41ee1c),_0x4a5b04=Object['assign']({},_0x10f435,{'user':_0x121dfa});if(this['channelSessions']['get'](_0x167d15)['add'](_0x4a5b04),!_0x41ee1c['hiddenInPresenceList']){const _0x435e92=this['channelConnectedUsers']['get'](_0x167d15);_0x435e92['has'](_0x121dfa['id'])||_0x435e92['add'](_0x121dfa),this['allConnectedUsers']['has'](_0x121dfa['id'])||_0x41ee1c['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x121dfa,_0x121dfa['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0x167d15,{'channelId':_0x167d15,'session':_0x4a5b04});}['_handleSessionRemove'](_0x19412c,_0xc6072f){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x4b588f=this['channelConnectedUsers']['get'](_0x19412c),_0x3a570c=_0xc6072f['user'];_0x3a570c['id']&&(this['channelSessions']['get'](_0x19412c)['remove'](_0xc6072f['id']),_0x4b588f['has'](_0x3a570c['id'])&&!this['getUserSessions'](_0x3a570c,_0x19412c)['size']&&_0x4b588f['remove'](_0x3a570c['id']),this['allConnectedUsers']['get'](_0x3a570c['id'])&&!this['getUserSessions'](_0x3a570c)['size']&&this['allConnectedUsers']['remove'](_0x3a570c['id']));}['_createUser'](_0x1ee28b,_0x20200f){const _0xcd2ef4=this['_users']['addUser'](_0x1ee28b);return _0x20200f&&this['_users']['defineMe'](_0x1ee28b['id']),_0xcd2ef4['orderNumber']=this['_uniqueUsersCount']++,_0xcd2ef4;}}class _0x36ab6b extends ckeditor5['Plugin']{['_domEmitter']=new(ckeditor5['DomEmitterMixin']())();static get['requires'](){return[_0x5d9e92];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1957bf=this['editor'],_0x577840=_0x1957bf['plugins']['get'](_0x5d9e92);_0x1957bf['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x2574ad,{writer:_0x3368dd})=>createUserPositionViewElement(_0x2574ad,_0x3368dd,_0x577840,_0x1957bf)}),_0x1957bf['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0x517b55=>createUserRangeViewElement(_0x517b55,_0x577840)}),createUserMarkerPostFixer(_0x1957bf),this['_domEmitter']['listenTo'](ckeditor5['global']['document'],'keydown',(_0x20cc6b,{key:_0x21ff2c})=>{'Escape'===_0x21ff2c&&hideHoveredUserPositionMarkersTooltips(_0x1957bf);},{'useCapture':!0x0});}['afterInit'](){const _0xfc9532=this['editor'],_0x4fbf5d=_0xfc9532['commands']['get']('undo');_0x4fbf5d&&_0xfc9532['model']['on']('applyOperation',(_0x1599ce,_0x5da946)=>{const _0x1dc26e=_0x5da946[0x0];if(!_0x1dc26e['isDocumentOperation'])return;if('marker'!=_0x1dc26e['type']||!_0x1dc26e['name']['startsWith']('user:'))return;const _0x129b13=_0x1dc26e['batch'];_0x4fbf5d['_createdBatches']['has'](_0x129b13)&&(_0x1dc26e['newRange']=_0x1dc26e['oldRange']?_0xfc9532['model']['createRange'](_0x1dc26e['oldRange']['start'],_0x1dc26e['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x41721b=this['editor'],_0x4e374d=_0x41721b['model']['document'],_0x1b1963=_0x41721b['plugins']['get'](_0x5d9e92);_0x41721b['model']['enqueueChange']({'isUndoable':!0x1},_0x29fd09=>{const _0x39ca14='user:range:'+_0x1b1963['mySessionId'],_0x4e5a83='user:position:'+_0x1b1963['mySessionId'],_0x45e0a5=_0x41721b['model']['markers']['has'](_0x39ca14);_0x41721b['editing']['view']['hasDomSelection']?updateUserMarkers(_0x1b1963['mySessionId'],_0x4e374d['selection']['getFirstRange'](),_0x41721b['model'],_0x29fd09):_0x45e0a5&&(_0x29fd09['removeMarker'](_0x39ca14),_0x29fd09['removeMarker'](_0x4e5a83));});}}function updateUserMarkers(_0x42281c,_0x45a5ea,_0x1e6153,_0x398384){const _0x230395='user:range:'+_0x42281c,_0x27e42f='user:position:'+_0x42281c,_0x27d126=_0x45a5ea['getContainedElement']();let _0x10cc0d=_0x45a5ea['start'];if(_0x27d126&&_0x27d126['is']('element','tableCell')){const _0x4c34ac=getPositionForText(_0x45a5ea,_0x1e6153);_0x4c34ac&&(_0x10cc0d=_0x4c34ac,_0x45a5ea=_0x398384['createRange'](_0x10cc0d));}const _0x469da6=_0x398384['createRange'](_0x10cc0d);_0x1e6153['markers']['has'](_0x230395)?(_0x398384['updateMarker'](_0x230395,{'range':_0x45a5ea}),_0x398384['updateMarker'](_0x27e42f,{'range':_0x469da6})):(_0x398384['addMarker'](_0x230395,{'range':_0x45a5ea,'usingOperation':!0x0}),_0x398384['addMarker'](_0x27e42f,{'range':_0x469da6,'usingOperation':!0x0}));}function getPositionForText(_0x5a68eb,_0x4a8e0b){for(const _0x2eff47 of _0x5a68eb['getPositions']())if(_0x4a8e0b['schema']['checkChild'](_0x2eff47,'$text'))return _0x2eff47;}function createUserPositionViewElement(_0x5c077a,_0x337d95,_0x44d7fd,_0x3c2a35){const _0x23c120=_0x5c077a['markerName']['split'](':')[0x2],_0x1fe4ba=_0x44d7fd['getUserBySessionId'](_0x23c120);if(!_0x1fe4ba||_0x23c120===_0x44d7fd['mySessionId'])return;if(!_0x3c2a35['model']['schema']['checkChild'](_0x5c077a['markerRange']['start'],'$text'))return;const _0x597732={'class':'ck-user__marker\x20'+_0x1fe4ba['color']['getMarkerClass'](),'style':getUserColorStyle(_0x1fe4ba),'data-name':_0x1fe4ba['name'],'data-session-id':_0x23c120},_0x17d099=_0x3c2a35['model']['markers']['get'](_0x5c077a['markerName'])['getStart'](),_0x322297=_0x17d099['nodeAfter'],_0x107dac=_0x3c2a35['model']['schema'];if(_0x322297&&_0x107dac['isObject'](_0x322297)&&_0x107dac['isInline'](_0x322297)&&!_0x3c2a35['model']['markers']['get']('user:range:'+_0x23c120)['getRange']()['isCollapsed'])return;const _0x1c73f6=_0x17d099['parent'];return _0x3c2a35['model']['schema']['isLimit'](_0x1c73f6)&&!_0x3c2a35['model']['hasContent'](_0x1c73f6)&&(_0x597732['contenteditable']=!0x1),createUserPositionMarkerElement(_0x337d95,_0x597732,_0x1fe4ba);}function createUserRangeViewElement(_0x3a3a00,_0xbd3226){const _0x1e91ef=_0x3a3a00['markerName']['split'](':')[0x2];if(_0x1e91ef===_0xbd3226['mySessionId'])return null;const _0x454ac8=_0xbd3226['getUserBySessionId'](_0x1e91ef);return _0x454ac8?{'id':_0x1e91ef,'classes':['ck-user__selection',_0x454ac8['color']['getSelectionClass']()],'attributes':{'style':getUserColorStyle(_0x454ac8),'data-session-id':_0x1e91ef},'priority':0x7d0+_0x454ac8['orderNumber']}:{'id':_0x1e91ef,'classes':[]};}function getUserColorStyle(_0x21f334){return'--ck-user-color:'+_0x21f334['color']['getColorVariable']()+';--ck-user-color-alpha:'+_0x21f334['color']['getColorAlphaVariable']()+';';}function createUserPositionMarkerElement(_0x47178c,_0x4697ff,_0x47fafe){const _0x1d6047=_0x47178c['createUIElement']('span',_0x4697ff);return _0x47178c['setCustomProperty']('userPositionMarker',!0x0,_0x1d6047),_0x1d6047['render']=function(_0xbb8cb6){const _0x2a998d=this['toDomElement'](_0xbb8cb6),_0x3473d3=document['createElement']('span');return _0x3473d3['classList']['add']('ck-user__marker-tooltip'),_0x3473d3['setAttribute']('contenteditable','false'),_0x3473d3['setAttribute']('spellcheck','false'),_0x3473d3['textContent']=_0x47fafe['name'],_0x2a998d['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0x3473d3['outerHTML']+'⁠',_0x2a998d['addEventListener']('mouseenter',()=>{_0x2a998d['classList']['add']('ck-user__marker_hovered');}),_0x2a998d['addEventListener']('mouseleave',()=>{_0x2a998d['classList']['remove']('ck-user__marker_hovered');}),_0x2a998d;},_0x1d6047['isSimilar']=function(_0x13c764){return!(!this['getCustomProperty']('userPositionMarker')||!_0x13c764['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0x13c764['getAttribute']('data-session-id'));},_0x1d6047;}function hideHoveredUserPositionMarkersTooltips(_0x3f482a){_0x3f482a['editing']['view']['change'](_0x4cbead=>{for(const _0x30f344 of _0x3f482a['model']['markers']){if(!_0x30f344['name']['startsWith']('user:position'))continue;const _0xbbdac2=_0x3f482a['editing']['mapper']['markerNameToElements'](_0x30f344['name']);if(_0xbbdac2){for(const _0x291e7b of _0xbbdac2)_0x4cbead['removeClass']('ck-user__marker_hovered',_0x291e7b);}}});}function createUserMarkerPostFixer(_0x1e78f0){const _0x26ea6d=_0x1e78f0['model'],_0x1352ee=new Map(),_0x27ed5d=_0x1e78f0['plugins']['get'](_0x5d9e92);_0x26ea6d['markers']['on']('update:user:range',(_0x4fce6d,_0x3d9455,_0xa033e4,_0x450127)=>{if(!_0x450127&&_0x1352ee['get'](_0x3d9455['name']))return _0x1352ee['get'](_0x3d9455['name'])['detach'](),void _0x1352ee['delete'](_0x3d9455['name']);const _0x3b7301=_0x3d9455['name']['split'](':')[0x2];if(_0x3b7301===_0x27ed5d['mySessionId'])return;const _0x439a6e='user:position:'+_0x3b7301;_0x26ea6d['markers']['has'](_0x439a6e)&&_0x1e78f0['editing']['reconvertMarker'](_0x439a6e),_0x3d9455['on']('change:range',(_0x140870,_0x22e55f,_0x71ddd2)=>{if('$graveyard'!=_0x22e55f['root']['rootName']&&'$graveyard'==_0x3d9455['getRange']()['root']['rootName']&&!_0x1352ee['has'](_0x3d9455['name'])){const _0x15f7c8=_0x26ea6d['schema']['getNearestSelectionRange'](_0x71ddd2['deletionPosition']);if(_0x15f7c8){const _0x1d8573=ckeditor5['ModelLiveRange']['fromRange'](_0x15f7c8);_0x1352ee['set'](_0x3d9455['name'],_0x1d8573),_0x1d8573['on']('change:range',(_0x2a865c,_0x3a4383,_0xa8567e)=>{if('$graveyard'==_0x1d8573['root']['rootName']){const _0x4f152b=_0x26ea6d['schema']['getNearestSelectionRange'](_0xa8567e['deletionPosition']);_0x4f152b?(_0x1d8573['start']=_0x4f152b['start'],_0x1d8573['end']=_0x4f152b['end']):(_0x1352ee['delete'](_0x3d9455['name']),_0x1d8573['detach']());}});}}});}),_0x26ea6d['document']['on']('change',()=>{_0x1352ee['size']>0x0&&_0x26ea6d['enqueueChange']({'isUndoable':!0x1},_0x10994e=>{for(const [_0x552e74,_0x2e9bae]of _0x1352ee)'$graveyard'==_0x26ea6d['markers']['get'](_0x552e74)['getRange']()['root']['rootName']&&(updateUserMarkers(_0x552e74['split'](':')[0x2],_0x2e9bae['toRange'](),_0x26ea6d,_0x10994e),_0x2e9bae['detach']());_0x1352ee['clear']();});});}function getTranslation$6(_0x47e940,_0x4f2d18,_0x4ca8b6){const _0x51b2e8=_0x47e940['t'],t=_0x47e940['t'];switch(_0x4f2d18){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 _0x51b2e8({'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'},_0x4ca8b6);default:return'';}}const _0x17eac4=/* #__PURE__ -- @preserve */
((()=>{var _0x46264d=minimalExports['Reader'],_0x3e841d=minimalExports['Writer'],_0xe1ba8d=minimalExports['util'],_0x4e270e=minimalExports['roots']['default']||(minimalExports['roots']['default']={});return _0x4e270e['AttributeOperation']=(function(){function _0x29ea6b(_0x52300b){if(_0x52300b){for(var _0x5a5793=Object['keys'](_0x52300b),_0x13ea2e=0x0;_0x13ea2e<_0x5a5793['length'];++_0x13ea2e)null!=_0x52300b[_0x5a5793[_0x13ea2e]]&&(this[_0x5a5793[_0x13ea2e]]=_0x52300b[_0x5a5793[_0x13ea2e]]);}}return _0x29ea6b['prototype']['range']=null,_0x29ea6b['prototype']['key']='',_0x29ea6b['prototype']['oldValueBoolean']=!0x1,_0x29ea6b['prototype']['oldValueJson']='',_0x29ea6b['prototype']['newValueBoolean']=!0x1,_0x29ea6b['prototype']['newValueJson']='',_0x29ea6b['prototype']['wasUndone']=!0x1,_0x29ea6b['create']=function(_0x411cb2){return new _0x29ea6b(_0x411cb2);},_0x29ea6b['encode']=function(_0xb0a95e,_0x22e033){return _0x22e033||(_0x22e033=_0x3e841d['create']()),null!=_0xb0a95e['range']&&Object['hasOwnProperty']['call'](_0xb0a95e,'range')&&_0x4e270e['Range']['encode'](_0xb0a95e['range'],_0x22e033['uint32'](0xa)['fork']())['ldelim'](),null!=_0xb0a95e['key']&&Object['hasOwnProperty']['call'](_0xb0a95e,'key')&&_0x22e033['uint32'](0x12)['string'](_0xb0a95e['key']),null!=_0xb0a95e['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0xb0a95e,'oldValueBoolean')&&_0x22e033['uint32'](0x18)['bool'](_0xb0a95e['oldValueBoolean']),null!=_0xb0a95e['oldValueJson']&&Object['hasOwnProperty']['call'](_0xb0a95e,'oldValueJson')&&_0x22e033['uint32'](0x22)['string'](_0xb0a95e['oldValueJson']),null!=_0xb0a95e['newValueBoolean']&&Object['hasOwnProperty']['call'](_0xb0a95e,'newValueBoolean')&&_0x22e033['uint32'](0x28)['bool'](_0xb0a95e['newValueBoolean']),null!=_0xb0a95e['newValueJson']&&Object['hasOwnProperty']['call'](_0xb0a95e,'newValueJson')&&_0x22e033['uint32'](0x32)['string'](_0xb0a95e['newValueJson']),null!=_0xb0a95e['wasUndone']&&Object['hasOwnProperty']['call'](_0xb0a95e,'wasUndone')&&_0x22e033['uint32'](0x38)['bool'](_0xb0a95e['wasUndone']),_0x22e033;},_0x29ea6b['encodeDelimited']=function(_0x56d9c9,_0x3e5b64){return this['encode'](_0x56d9c9,_0x3e5b64)['ldelim']();},_0x29ea6b['decode']=function(_0x234883,_0x1f022e){_0x234883 instanceof _0x46264d||(_0x234883=_0x46264d['create'](_0x234883));for(var _0x4314eb=void 0x0===_0x1f022e?_0x234883['len']:_0x234883['pos']+_0x1f022e,_0x37e6f3=new _0x4e270e['AttributeOperation']();_0x234883['pos']<_0x4314eb;){var _0x4208ad=_0x234883['uint32']();switch(_0x4208ad>>>0x3){case 0x1:_0x37e6f3['range']=_0x4e270e['Range']['decode'](_0x234883,_0x234883['uint32']());break;case 0x2:_0x37e6f3['key']=_0x234883['string']();break;case 0x3:_0x37e6f3['oldValueBoolean']=_0x234883['bool']();break;case 0x4:_0x37e6f3['oldValueJson']=_0x234883['string']();break;case 0x5:_0x37e6f3['newValueBoolean']=_0x234883['bool']();break;case 0x6:_0x37e6f3['newValueJson']=_0x234883['string']();break;case 0x7:_0x37e6f3['wasUndone']=_0x234883['bool']();break;default:_0x234883['skipType'](0x7&_0x4208ad);}}return _0x37e6f3;},_0x29ea6b['decodeDelimited']=function(_0x1578bb){return _0x1578bb instanceof _0x46264d||(_0x1578bb=new _0x46264d(_0x1578bb)),this['decode'](_0x1578bb,_0x1578bb['uint32']());},_0x29ea6b['verify']=function(_0x244d39){if('object'!=typeof _0x244d39||null===_0x244d39)return'object\x20expected';if(null!=_0x244d39['range']&&_0x244d39['hasOwnProperty']('range')){var _0x429bb5=_0x4e270e['Range']['verify'](_0x244d39['range']);if(_0x429bb5)return'range.'+_0x429bb5;}return null!=_0x244d39['key']&&_0x244d39['hasOwnProperty']('key')&&!_0xe1ba8d['isString'](_0x244d39['key'])?'key:\x20string\x20expected':null!=_0x244d39['oldValueBoolean']&&_0x244d39['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x244d39['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x244d39['oldValueJson']&&_0x244d39['hasOwnProperty']('oldValueJson')&&!_0xe1ba8d['isString'](_0x244d39['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x244d39['newValueBoolean']&&_0x244d39['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x244d39['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x244d39['newValueJson']&&_0x244d39['hasOwnProperty']('newValueJson')&&!_0xe1ba8d['isString'](_0x244d39['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x244d39['wasUndone']&&_0x244d39['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x244d39['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x29ea6b['fromObject']=function(_0x524b11){if(_0x524b11 instanceof _0x4e270e['AttributeOperation'])return _0x524b11;var _0x455dbe=new _0x4e270e['AttributeOperation']();if(null!=_0x524b11['range']){if('object'!=typeof _0x524b11['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x455dbe['range']=_0x4e270e['Range']['fromObject'](_0x524b11['range']);}return null!=_0x524b11['key']&&(_0x455dbe['key']=String(_0x524b11['key'])),null!=_0x524b11['oldValueBoolean']&&(_0x455dbe['oldValueBoolean']=Boolean(_0x524b11['oldValueBoolean'])),null!=_0x524b11['oldValueJson']&&(_0x455dbe['oldValueJson']=String(_0x524b11['oldValueJson'])),null!=_0x524b11['newValueBoolean']&&(_0x455dbe['newValueBoolean']=Boolean(_0x524b11['newValueBoolean'])),null!=_0x524b11['newValueJson']&&(_0x455dbe['newValueJson']=String(_0x524b11['newValueJson'])),null!=_0x524b11['wasUndone']&&(_0x455dbe['wasUndone']=Boolean(_0x524b11['wasUndone'])),_0x455dbe;},_0x29ea6b['toObject']=function(_0x2ae1a5,_0x4ba9ac){_0x4ba9ac||(_0x4ba9ac={});var _0x22910e={};return _0x4ba9ac['defaults']&&(_0x22910e['range']=null,_0x22910e['key']='',_0x22910e['oldValueBoolean']=!0x1,_0x22910e['oldValueJson']='',_0x22910e['newValueBoolean']=!0x1,_0x22910e['newValueJson']='',_0x22910e['wasUndone']=!0x1),null!=_0x2ae1a5['range']&&_0x2ae1a5['hasOwnProperty']('range')&&(_0x22910e['range']=_0x4e270e['Range']['toObject'](_0x2ae1a5['range'],_0x4ba9ac)),null!=_0x2ae1a5['key']&&_0x2ae1a5['hasOwnProperty']('key')&&(_0x22910e['key']=_0x2ae1a5['key']),null!=_0x2ae1a5['oldValueBoolean']&&_0x2ae1a5['hasOwnProperty']('oldValueBoolean')&&(_0x22910e['oldValueBoolean']=_0x2ae1a5['oldValueBoolean']),null!=_0x2ae1a5['oldValueJson']&&_0x2ae1a5['hasOwnProperty']('oldValueJson')&&(_0x22910e['oldValueJson']=_0x2ae1a5['oldValueJson']),null!=_0x2ae1a5['newValueBoolean']&&_0x2ae1a5['hasOwnProperty']('newValueBoolean')&&(_0x22910e['newValueBoolean']=_0x2ae1a5['newValueBoolean']),null!=_0x2ae1a5['newValueJson']&&_0x2ae1a5['hasOwnProperty']('newValueJson')&&(_0x22910e['newValueJson']=_0x2ae1a5['newValueJson']),null!=_0x2ae1a5['wasUndone']&&_0x2ae1a5['hasOwnProperty']('wasUndone')&&(_0x22910e['wasUndone']=_0x2ae1a5['wasUndone']),_0x22910e;},_0x29ea6b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x29ea6b['getTypeUrl']=function(_0x566476){return void 0x0===_0x566476&&(_0x566476='type.googleapis.com'),_0x566476+'/AttributeOperation';},_0x29ea6b;}()),_0x4e270e['InsertOperation']=(function(){function _0x539363(_0x381d19){if(this['nodes']=[],_0x381d19){for(var _0x43f6ad=Object['keys'](_0x381d19),_0x4c867a=0x0;_0x4c867a<_0x43f6ad['length'];++_0x4c867a)null!=_0x381d19[_0x43f6ad[_0x4c867a]]&&(this[_0x43f6ad[_0x4c867a]]=_0x381d19[_0x43f6ad[_0x4c867a]]);}}return _0x539363['prototype']['position']=null,_0x539363['prototype']['nodes']=_0xe1ba8d['emptyArray'],_0x539363['prototype']['shouldReceiveAttributes']=!0x1,_0x539363['prototype']['wasUndone']=!0x1,_0x539363['create']=function(_0x37cc92){return new _0x539363(_0x37cc92);},_0x539363['encode']=function(_0x5ce0c9,_0x4bdded){if(_0x4bdded||(_0x4bdded=_0x3e841d['create']()),null!=_0x5ce0c9['position']&&Object['hasOwnProperty']['call'](_0x5ce0c9,'position')&&_0x4e270e['Position']['encode'](_0x5ce0c9['position'],_0x4bdded['uint32'](0xa)['fork']())['ldelim'](),null!=_0x5ce0c9['nodes']&&_0x5ce0c9['nodes']['length']){for(var _0x33d73b=0x0;_0x33d73b<_0x5ce0c9['nodes']['length'];++_0x33d73b)_0x4e270e['Element']['encode'](_0x5ce0c9['nodes'][_0x33d73b],_0x4bdded['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x5ce0c9['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x5ce0c9,'shouldReceiveAttributes')&&_0x4bdded['uint32'](0x18)['bool'](_0x5ce0c9['shouldReceiveAttributes']),null!=_0x5ce0c9['wasUndone']&&Object['hasOwnProperty']['call'](_0x5ce0c9,'wasUndone')&&_0x4bdded['uint32'](0x20)['bool'](_0x5ce0c9['wasUndone']),_0x4bdded;},_0x539363['encodeDelimited']=function(_0x2ed049,_0x5d4ff6){return this['encode'](_0x2ed049,_0x5d4ff6)['ldelim']();},_0x539363['decode']=function(_0x19d67e,_0x43b6fc){_0x19d67e instanceof _0x46264d||(_0x19d67e=_0x46264d['create'](_0x19d67e));for(var _0x2b49f5=void 0x0===_0x43b6fc?_0x19d67e['len']:_0x19d67e['pos']+_0x43b6fc,_0x473550=new _0x4e270e['InsertOperation']();_0x19d67e['pos']<_0x2b49f5;){var _0x4c94b2=_0x19d67e['uint32']();switch(_0x4c94b2>>>0x3){case 0x1:_0x473550['position']=_0x4e270e['Position']['decode'](_0x19d67e,_0x19d67e['uint32']());break;case 0x2:_0x473550['nodes']&&_0x473550['nodes']['length']||(_0x473550['nodes']=[]),_0x473550['nodes']['push'](_0x4e270e['Element']['decode'](_0x19d67e,_0x19d67e['uint32']()));break;case 0x3:_0x473550['shouldReceiveAttributes']=_0x19d67e['bool']();break;case 0x4:_0x473550['wasUndone']=_0x19d67e['bool']();break;default:_0x19d67e['skipType'](0x7&_0x4c94b2);}}return _0x473550;},_0x539363['decodeDelimited']=function(_0x189de8){return _0x189de8 instanceof _0x46264d||(_0x189de8=new _0x46264d(_0x189de8)),this['decode'](_0x189de8,_0x189de8['uint32']());},_0x539363['verify']=function(_0x2a7474){if('object'!=typeof _0x2a7474||null===_0x2a7474)return'object\x20expected';if(null!=_0x2a7474['position']&&_0x2a7474['hasOwnProperty']('position')&&(_0x47ac34=_0x4e270e['Position']['verify'](_0x2a7474['position'])))return'position.'+_0x47ac34;if(null!=_0x2a7474['nodes']&&_0x2a7474['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x2a7474['nodes']))return'nodes:\x20array\x20expected';for(var _0x5eb886=0x0;_0x5eb886<_0x2a7474['nodes']['length'];++_0x5eb886){var _0x47ac34;if(_0x47ac34=_0x4e270e['Element']['verify'](_0x2a7474['nodes'][_0x5eb886]))return'nodes.'+_0x47ac34;}}return null!=_0x2a7474['shouldReceiveAttributes']&&_0x2a7474['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x2a7474['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x2a7474['wasUndone']&&_0x2a7474['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2a7474['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x539363['fromObject']=function(_0x4f683){if(_0x4f683 instanceof _0x4e270e['InsertOperation'])return _0x4f683;var _0x5382f0=new _0x4e270e['InsertOperation']();if(null!=_0x4f683['position']){if('object'!=typeof _0x4f683['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x5382f0['position']=_0x4e270e['Position']['fromObject'](_0x4f683['position']);}if(_0x4f683['nodes']){if(!Array['isArray'](_0x4f683['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x5382f0['nodes']=[];for(var _0x5c8347=0x0;_0x5c8347<_0x4f683['nodes']['length'];++_0x5c8347){if('object'!=typeof _0x4f683['nodes'][_0x5c8347])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x5382f0['nodes'][_0x5c8347]=_0x4e270e['Element']['fromObject'](_0x4f683['nodes'][_0x5c8347]);}}return null!=_0x4f683['shouldReceiveAttributes']&&(_0x5382f0['shouldReceiveAttributes']=Boolean(_0x4f683['shouldReceiveAttributes'])),null!=_0x4f683['wasUndone']&&(_0x5382f0['wasUndone']=Boolean(_0x4f683['wasUndone'])),_0x5382f0;},_0x539363['toObject']=function(_0x1b794f,_0x587cc3){_0x587cc3||(_0x587cc3={});var _0x27f0c6={};if((_0x587cc3['arrays']||_0x587cc3['defaults'])&&(_0x27f0c6['nodes']=[]),_0x587cc3['defaults']&&(_0x27f0c6['position']=null,_0x27f0c6['shouldReceiveAttributes']=!0x1,_0x27f0c6['wasUndone']=!0x1),null!=_0x1b794f['position']&&_0x1b794f['hasOwnProperty']('position')&&(_0x27f0c6['position']=_0x4e270e['Position']['toObject'](_0x1b794f['position'],_0x587cc3)),_0x1b794f['nodes']&&_0x1b794f['nodes']['length']){_0x27f0c6['nodes']=[];for(var _0xfb4689=0x0;_0xfb4689<_0x1b794f['nodes']['length'];++_0xfb4689)_0x27f0c6['nodes'][_0xfb4689]=_0x4e270e['Element']['toObject'](_0x1b794f['nodes'][_0xfb4689],_0x587cc3);}return null!=_0x1b794f['shouldReceiveAttributes']&&_0x1b794f['hasOwnProperty']('shouldReceiveAttributes')&&(_0x27f0c6['shouldReceiveAttributes']=_0x1b794f['shouldReceiveAttributes']),null!=_0x1b794f['wasUndone']&&_0x1b794f['hasOwnProperty']('wasUndone')&&(_0x27f0c6['wasUndone']=_0x1b794f['wasUndone']),_0x27f0c6;},_0x539363['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x539363['getTypeUrl']=function(_0x8c5172){return void 0x0===_0x8c5172&&(_0x8c5172='type.googleapis.com'),_0x8c5172+'/InsertOperation';},_0x539363;}()),_0x4e270e['MarkerOperation']=(function(){function _0x45bf06(_0x5e8236){if(_0x5e8236){for(var _0x5f4d91=Object['keys'](_0x5e8236),_0x5c90ec=0x0;_0x5c90ec<_0x5f4d91['length'];++_0x5c90ec)null!=_0x5e8236[_0x5f4d91[_0x5c90ec]]&&(this[_0x5f4d91[_0x5c90ec]]=_0x5e8236[_0x5f4d91[_0x5c90ec]]);}}return _0x45bf06['prototype']['name']='',_0x45bf06['prototype']['oldRange']=null,_0x45bf06['prototype']['newRange']=null,_0x45bf06['prototype']['affectsData']=!0x1,_0x45bf06['prototype']['wasUndone']=!0x1,_0x45bf06['create']=function(_0x2d8925){return new _0x45bf06(_0x2d8925);},_0x45bf06['encode']=function(_0x228ba9,_0x4f2d70){return _0x4f2d70||(_0x4f2d70=_0x3e841d['create']()),null!=_0x228ba9['name']&&Object['hasOwnProperty']['call'](_0x228ba9,'name')&&_0x4f2d70['uint32'](0xa)['string'](_0x228ba9['name']),null!=_0x228ba9['oldRange']&&Object['hasOwnProperty']['call'](_0x228ba9,'oldRange')&&_0x4e270e['Range']['encode'](_0x228ba9['oldRange'],_0x4f2d70['uint32'](0x12)['fork']())['ldelim'](),null!=_0x228ba9['newRange']&&Object['hasOwnProperty']['call'](_0x228ba9,'newRange')&&_0x4e270e['Range']['encode'](_0x228ba9['newRange'],_0x4f2d70['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x228ba9['affectsData']&&Object['hasOwnProperty']['call'](_0x228ba9,'affectsData')&&_0x4f2d70['uint32'](0x20)['bool'](_0x228ba9['affectsData']),null!=_0x228ba9['wasUndone']&&Object['hasOwnProperty']['call'](_0x228ba9,'wasUndone')&&_0x4f2d70['uint32'](0x28)['bool'](_0x228ba9['wasUndone']),_0x4f2d70;},_0x45bf06['encodeDelimited']=function(_0x2dfbb3,_0x4a6711){return this['encode'](_0x2dfbb3,_0x4a6711)['ldelim']();},_0x45bf06['decode']=function(_0x381d3d,_0xfc2427){_0x381d3d instanceof _0x46264d||(_0x381d3d=_0x46264d['create'](_0x381d3d));for(var _0x5c224c=void 0x0===_0xfc2427?_0x381d3d['len']:_0x381d3d['pos']+_0xfc2427,_0x787cc1=new _0x4e270e['MarkerOperation']();_0x381d3d['pos']<_0x5c224c;){var _0x5112ec=_0x381d3d['uint32']();switch(_0x5112ec>>>0x3){case 0x1:_0x787cc1['name']=_0x381d3d['string']();break;case 0x2:_0x787cc1['oldRange']=_0x4e270e['Range']['decode'](_0x381d3d,_0x381d3d['uint32']());break;case 0x3:_0x787cc1['newRange']=_0x4e270e['Range']['decode'](_0x381d3d,_0x381d3d['uint32']());break;case 0x4:_0x787cc1['affectsData']=_0x381d3d['bool']();break;case 0x5:_0x787cc1['wasUndone']=_0x381d3d['bool']();break;default:_0x381d3d['skipType'](0x7&_0x5112ec);}}return _0x787cc1;},_0x45bf06['decodeDelimited']=function(_0x5e95bc){return _0x5e95bc instanceof _0x46264d||(_0x5e95bc=new _0x46264d(_0x5e95bc)),this['decode'](_0x5e95bc,_0x5e95bc['uint32']());},_0x45bf06['verify']=function(_0x539e97){if('object'!=typeof _0x539e97||null===_0x539e97)return'object\x20expected';if(null!=_0x539e97['name']&&_0x539e97['hasOwnProperty']('name')&&!_0xe1ba8d['isString'](_0x539e97['name']))return'name:\x20string\x20expected';var _0x2d772b;if(null!=_0x539e97['oldRange']&&_0x539e97['hasOwnProperty']('oldRange')&&(_0x2d772b=_0x4e270e['Range']['verify'](_0x539e97['oldRange'])))return'oldRange.'+_0x2d772b;if(null!=_0x539e97['newRange']&&_0x539e97['hasOwnProperty']('newRange')&&(_0x2d772b=_0x4e270e['Range']['verify'](_0x539e97['newRange'])))return'newRange.'+_0x2d772b;return null!=_0x539e97['affectsData']&&_0x539e97['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x539e97['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x539e97['wasUndone']&&_0x539e97['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x539e97['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x45bf06['fromObject']=function(_0x329bea){if(_0x329bea instanceof _0x4e270e['MarkerOperation'])return _0x329bea;var _0x3168b6=new _0x4e270e['MarkerOperation']();if(null!=_0x329bea['name']&&(_0x3168b6['name']=String(_0x329bea['name'])),null!=_0x329bea['oldRange']){if('object'!=typeof _0x329bea['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x3168b6['oldRange']=_0x4e270e['Range']['fromObject'](_0x329bea['oldRange']);}if(null!=_0x329bea['newRange']){if('object'!=typeof _0x329bea['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x3168b6['newRange']=_0x4e270e['Range']['fromObject'](_0x329bea['newRange']);}return null!=_0x329bea['affectsData']&&(_0x3168b6['affectsData']=Boolean(_0x329bea['affectsData'])),null!=_0x329bea['wasUndone']&&(_0x3168b6['wasUndone']=Boolean(_0x329bea['wasUndone'])),_0x3168b6;},_0x45bf06['toObject']=function(_0x34263e,_0x12ee24){_0x12ee24||(_0x12ee24={});var _0x3e4f16={};return _0x12ee24['defaults']&&(_0x3e4f16['name']='',_0x3e4f16['oldRange']=null,_0x3e4f16['newRange']=null,_0x3e4f16['affectsData']=!0x1,_0x3e4f16['wasUndone']=!0x1),null!=_0x34263e['name']&&_0x34263e['hasOwnProperty']('name')&&(_0x3e4f16['name']=_0x34263e['name']),null!=_0x34263e['oldRange']&&_0x34263e['hasOwnProperty']('oldRange')&&(_0x3e4f16['oldRange']=_0x4e270e['Range']['toObject'](_0x34263e['oldRange'],_0x12ee24)),null!=_0x34263e['newRange']&&_0x34263e['hasOwnProperty']('newRange')&&(_0x3e4f16['newRange']=_0x4e270e['Range']['toObject'](_0x34263e['newRange'],_0x12ee24)),null!=_0x34263e['affectsData']&&_0x34263e['hasOwnProperty']('affectsData')&&(_0x3e4f16['affectsData']=_0x34263e['affectsData']),null!=_0x34263e['wasUndone']&&_0x34263e['hasOwnProperty']('wasUndone')&&(_0x3e4f16['wasUndone']=_0x34263e['wasUndone']),_0x3e4f16;},_0x45bf06['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x45bf06['getTypeUrl']=function(_0x3ec5df){return void 0x0===_0x3ec5df&&(_0x3ec5df='type.googleapis.com'),_0x3ec5df+'/MarkerOperation';},_0x45bf06;}()),_0x4e270e['MergeOperation']=(function(){function _0x186401(_0x25e344){if(_0x25e344){for(var _0x26fef5=Object['keys'](_0x25e344),_0x265ccd=0x0;_0x265ccd<_0x26fef5['length'];++_0x265ccd)null!=_0x25e344[_0x26fef5[_0x265ccd]]&&(this[_0x26fef5[_0x265ccd]]=_0x25e344[_0x26fef5[_0x265ccd]]);}}return _0x186401['prototype']['sourcePosition']=null,_0x186401['prototype']['targetPosition']=null,_0x186401['prototype']['graveyardPosition']=null,_0x186401['prototype']['howMany']=0x0,_0x186401['prototype']['wasUndone']=!0x1,_0x186401['create']=function(_0x5efa5a){return new _0x186401(_0x5efa5a);},_0x186401['encode']=function(_0x2d86c7,_0x4c12e4){return _0x4c12e4||(_0x4c12e4=_0x3e841d['create']()),null!=_0x2d86c7['sourcePosition']&&Object['hasOwnProperty']['call'](_0x2d86c7,'sourcePosition')&&_0x4e270e['Position']['encode'](_0x2d86c7['sourcePosition'],_0x4c12e4['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2d86c7['targetPosition']&&Object['hasOwnProperty']['call'](_0x2d86c7,'targetPosition')&&_0x4e270e['Position']['encode'](_0x2d86c7['targetPosition'],_0x4c12e4['uint32'](0x12)['fork']())['ldelim'](),null!=_0x2d86c7['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x2d86c7,'graveyardPosition')&&_0x4e270e['Position']['encode'](_0x2d86c7['graveyardPosition'],_0x4c12e4['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x2d86c7['howMany']&&Object['hasOwnProperty']['call'](_0x2d86c7,'howMany')&&_0x4c12e4['uint32'](0x20)['uint32'](_0x2d86c7['howMany']),null!=_0x2d86c7['wasUndone']&&Object['hasOwnProperty']['call'](_0x2d86c7,'wasUndone')&&_0x4c12e4['uint32'](0x28)['bool'](_0x2d86c7['wasUndone']),_0x4c12e4;},_0x186401['encodeDelimited']=function(_0x81c7a4,_0x4c0d55){return this['encode'](_0x81c7a4,_0x4c0d55)['ldelim']();},_0x186401['decode']=function(_0xf3f05a,_0x5ce3dc){_0xf3f05a instanceof _0x46264d||(_0xf3f05a=_0x46264d['create'](_0xf3f05a));for(var _0x5f2a5=void 0x0===_0x5ce3dc?_0xf3f05a['len']:_0xf3f05a['pos']+_0x5ce3dc,_0x4c6728=new _0x4e270e['MergeOperation']();_0xf3f05a['pos']<_0x5f2a5;){var _0x21b55a=_0xf3f05a['uint32']();switch(_0x21b55a>>>0x3){case 0x1:_0x4c6728['sourcePosition']=_0x4e270e['Position']['decode'](_0xf3f05a,_0xf3f05a['uint32']());break;case 0x2:_0x4c6728['targetPosition']=_0x4e270e['Position']['decode'](_0xf3f05a,_0xf3f05a['uint32']());break;case 0x3:_0x4c6728['graveyardPosition']=_0x4e270e['Position']['decode'](_0xf3f05a,_0xf3f05a['uint32']());break;case 0x4:_0x4c6728['howMany']=_0xf3f05a['uint32']();break;case 0x5:_0x4c6728['wasUndone']=_0xf3f05a['bool']();break;default:_0xf3f05a['skipType'](0x7&_0x21b55a);}}return _0x4c6728;},_0x186401['decodeDelimited']=function(_0x320376){return _0x320376 instanceof _0x46264d||(_0x320376=new _0x46264d(_0x320376)),this['decode'](_0x320376,_0x320376['uint32']());},_0x186401['verify']=function(_0x1507a8){if('object'!=typeof _0x1507a8||null===_0x1507a8)return'object\x20expected';var _0x1aa1a2;if(null!=_0x1507a8['sourcePosition']&&_0x1507a8['hasOwnProperty']('sourcePosition')&&(_0x1aa1a2=_0x4e270e['Position']['verify'](_0x1507a8['sourcePosition'])))return'sourcePosition.'+_0x1aa1a2;if(null!=_0x1507a8['targetPosition']&&_0x1507a8['hasOwnProperty']('targetPosition')&&(_0x1aa1a2=_0x4e270e['Position']['verify'](_0x1507a8['targetPosition'])))return'targetPosition.'+_0x1aa1a2;if(null!=_0x1507a8['graveyardPosition']&&_0x1507a8['hasOwnProperty']('graveyardPosition')&&(_0x1aa1a2=_0x4e270e['Position']['verify'](_0x1507a8['graveyardPosition'])))return'graveyardPosition.'+_0x1aa1a2;return null!=_0x1507a8['howMany']&&_0x1507a8['hasOwnProperty']('howMany')&&!_0xe1ba8d['isInteger'](_0x1507a8['howMany'])?'howMany:\x20integer\x20expected':null!=_0x1507a8['wasUndone']&&_0x1507a8['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1507a8['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x186401['fromObject']=function(_0x492ce6){if(_0x492ce6 instanceof _0x4e270e['MergeOperation'])return _0x492ce6;var _0x437dcb=new _0x4e270e['MergeOperation']();if(null!=_0x492ce6['sourcePosition']){if('object'!=typeof _0x492ce6['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x437dcb['sourcePosition']=_0x4e270e['Position']['fromObject'](_0x492ce6['sourcePosition']);}if(null!=_0x492ce6['targetPosition']){if('object'!=typeof _0x492ce6['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x437dcb['targetPosition']=_0x4e270e['Position']['fromObject'](_0x492ce6['targetPosition']);}if(null!=_0x492ce6['graveyardPosition']){if('object'!=typeof _0x492ce6['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x437dcb['graveyardPosition']=_0x4e270e['Position']['fromObject'](_0x492ce6['graveyardPosition']);}return null!=_0x492ce6['howMany']&&(_0x437dcb['howMany']=_0x492ce6['howMany']>>>0x0),null!=_0x492ce6['wasUndone']&&(_0x437dcb['wasUndone']=Boolean(_0x492ce6['wasUndone'])),_0x437dcb;},_0x186401['toObject']=function(_0x2b16ca,_0x694c56){_0x694c56||(_0x694c56={});var _0x551b6c={};return _0x694c56['defaults']&&(_0x551b6c['sourcePosition']=null,_0x551b6c['targetPosition']=null,_0x551b6c['graveyardPosition']=null,_0x551b6c['howMany']=0x0,_0x551b6c['wasUndone']=!0x1),null!=_0x2b16ca['sourcePosition']&&_0x2b16ca['hasOwnProperty']('sourcePosition')&&(_0x551b6c['sourcePosition']=_0x4e270e['Position']['toObject'](_0x2b16ca['sourcePosition'],_0x694c56)),null!=_0x2b16ca['targetPosition']&&_0x2b16ca['hasOwnProperty']('targetPosition')&&(_0x551b6c['targetPosition']=_0x4e270e['Position']['toObject'](_0x2b16ca['targetPosition'],_0x694c56)),null!=_0x2b16ca['graveyardPosition']&&_0x2b16ca['hasOwnProperty']('graveyardPosition')&&(_0x551b6c['graveyardPosition']=_0x4e270e['Position']['toObject'](_0x2b16ca['graveyardPosition'],_0x694c56)),null!=_0x2b16ca['howMany']&&_0x2b16ca['hasOwnProperty']('howMany')&&(_0x551b6c['howMany']=_0x2b16ca['howMany']),null!=_0x2b16ca['wasUndone']&&_0x2b16ca['hasOwnProperty']('wasUndone')&&(_0x551b6c['wasUndone']=_0x2b16ca['wasUndone']),_0x551b6c;},_0x186401['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x186401['getTypeUrl']=function(_0x153aa8){return void 0x0===_0x153aa8&&(_0x153aa8='type.googleapis.com'),_0x153aa8+'/MergeOperation';},_0x186401;}()),_0x4e270e['MoveOperation']=(function(){function _0x567104(_0x547bda){if(_0x547bda){for(var _0x1ea35e=Object['keys'](_0x547bda),_0x401e45=0x0;_0x401e45<_0x1ea35e['length'];++_0x401e45)null!=_0x547bda[_0x1ea35e[_0x401e45]]&&(this[_0x1ea35e[_0x401e45]]=_0x547bda[_0x1ea35e[_0x401e45]]);}}return _0x567104['prototype']['sourcePosition']=null,_0x567104['prototype']['howMany']=0x0,_0x567104['prototype']['targetPosition']=null,_0x567104['prototype']['wasUndone']=!0x1,_0x567104['create']=function(_0x16c4f6){return new _0x567104(_0x16c4f6);},_0x567104['encode']=function(_0x5a5c57,_0xdb2774){return _0xdb2774||(_0xdb2774=_0x3e841d['create']()),null!=_0x5a5c57['sourcePosition']&&Object['hasOwnProperty']['call'](_0x5a5c57,'sourcePosition')&&_0x4e270e['Position']['encode'](_0x5a5c57['sourcePosition'],_0xdb2774['uint32'](0xa)['fork']())['ldelim'](),null!=_0x5a5c57['howMany']&&Object['hasOwnProperty']['call'](_0x5a5c57,'howMany')&&_0xdb2774['uint32'](0x10)['uint32'](_0x5a5c57['howMany']),null!=_0x5a5c57['targetPosition']&&Object['hasOwnProperty']['call'](_0x5a5c57,'targetPosition')&&_0x4e270e['Position']['encode'](_0x5a5c57['targetPosition'],_0xdb2774['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x5a5c57['wasUndone']&&Object['hasOwnProperty']['call'](_0x5a5c57,'wasUndone')&&_0xdb2774['uint32'](0x20)['bool'](_0x5a5c57['wasUndone']),_0xdb2774;},_0x567104['encodeDelimited']=function(_0x14670e,_0x2baf0a){return this['encode'](_0x14670e,_0x2baf0a)['ldelim']();},_0x567104['decode']=function(_0x15d6e1,_0x3ef15e){_0x15d6e1 instanceof _0x46264d||(_0x15d6e1=_0x46264d['create'](_0x15d6e1));for(var _0x459b83=void 0x0===_0x3ef15e?_0x15d6e1['len']:_0x15d6e1['pos']+_0x3ef15e,_0x868d16=new _0x4e270e['MoveOperation']();_0x15d6e1['pos']<_0x459b83;){var _0x4b4c15=_0x15d6e1['uint32']();switch(_0x4b4c15>>>0x3){case 0x1:_0x868d16['sourcePosition']=_0x4e270e['Position']['decode'](_0x15d6e1,_0x15d6e1['uint32']());break;case 0x2:_0x868d16['howMany']=_0x15d6e1['uint32']();break;case 0x3:_0x868d16['targetPosition']=_0x4e270e['Position']['decode'](_0x15d6e1,_0x15d6e1['uint32']());break;case 0x4:_0x868d16['wasUndone']=_0x15d6e1['bool']();break;default:_0x15d6e1['skipType'](0x7&_0x4b4c15);}}return _0x868d16;},_0x567104['decodeDelimited']=function(_0x1413e5){return _0x1413e5 instanceof _0x46264d||(_0x1413e5=new _0x46264d(_0x1413e5)),this['decode'](_0x1413e5,_0x1413e5['uint32']());},_0x567104['verify']=function(_0x3bb70b){if('object'!=typeof _0x3bb70b||null===_0x3bb70b)return'object\x20expected';var _0x386c4c;if(null!=_0x3bb70b['sourcePosition']&&_0x3bb70b['hasOwnProperty']('sourcePosition')&&(_0x386c4c=_0x4e270e['Position']['verify'](_0x3bb70b['sourcePosition'])))return'sourcePosition.'+_0x386c4c;if(null!=_0x3bb70b['howMany']&&_0x3bb70b['hasOwnProperty']('howMany')&&!_0xe1ba8d['isInteger'](_0x3bb70b['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x3bb70b['targetPosition']&&_0x3bb70b['hasOwnProperty']('targetPosition')&&(_0x386c4c=_0x4e270e['Position']['verify'](_0x3bb70b['targetPosition'])))return'targetPosition.'+_0x386c4c;return null!=_0x3bb70b['wasUndone']&&_0x3bb70b['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3bb70b['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x567104['fromObject']=function(_0x48c151){if(_0x48c151 instanceof _0x4e270e['MoveOperation'])return _0x48c151;var _0x5ca93c=new _0x4e270e['MoveOperation']();if(null!=_0x48c151['sourcePosition']){if('object'!=typeof _0x48c151['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x5ca93c['sourcePosition']=_0x4e270e['Position']['fromObject'](_0x48c151['sourcePosition']);}if(null!=_0x48c151['howMany']&&(_0x5ca93c['howMany']=_0x48c151['howMany']>>>0x0),null!=_0x48c151['targetPosition']){if('object'!=typeof _0x48c151['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x5ca93c['targetPosition']=_0x4e270e['Position']['fromObject'](_0x48c151['targetPosition']);}return null!=_0x48c151['wasUndone']&&(_0x5ca93c['wasUndone']=Boolean(_0x48c151['wasUndone'])),_0x5ca93c;},_0x567104['toObject']=function(_0x2ad686,_0x34e63a){_0x34e63a||(_0x34e63a={});var _0x2dcb65={};return _0x34e63a['defaults']&&(_0x2dcb65['sourcePosition']=null,_0x2dcb65['howMany']=0x0,_0x2dcb65['targetPosition']=null,_0x2dcb65['wasUndone']=!0x1),null!=_0x2ad686['sourcePosition']&&_0x2ad686['hasOwnProperty']('sourcePosition')&&(_0x2dcb65['sourcePosition']=_0x4e270e['Position']['toObject'](_0x2ad686['sourcePosition'],_0x34e63a)),null!=_0x2ad686['howMany']&&_0x2ad686['hasOwnProperty']('howMany')&&(_0x2dcb65['howMany']=_0x2ad686['howMany']),null!=_0x2ad686['targetPosition']&&_0x2ad686['hasOwnProperty']('targetPosition')&&(_0x2dcb65['targetPosition']=_0x4e270e['Position']['toObject'](_0x2ad686['targetPosition'],_0x34e63a)),null!=_0x2ad686['wasUndone']&&_0x2ad686['hasOwnProperty']('wasUndone')&&(_0x2dcb65['wasUndone']=_0x2ad686['wasUndone']),_0x2dcb65;},_0x567104['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x567104['getTypeUrl']=function(_0x92dd13){return void 0x0===_0x92dd13&&(_0x92dd13='type.googleapis.com'),_0x92dd13+'/MoveOperation';},_0x567104;}()),_0x4e270e['RenameOperation']=(function(){function _0x2a8f48(_0x3617a0){if(_0x3617a0){for(var _0x27032f=Object['keys'](_0x3617a0),_0x4499f0=0x0;_0x4499f0<_0x27032f['length'];++_0x4499f0)null!=_0x3617a0[_0x27032f[_0x4499f0]]&&(this[_0x27032f[_0x4499f0]]=_0x3617a0[_0x27032f[_0x4499f0]]);}}return _0x2a8f48['prototype']['position']=null,_0x2a8f48['prototype']['oldName']='',_0x2a8f48['prototype']['newName']='',_0x2a8f48['prototype']['wasUndone']=!0x1,_0x2a8f48['create']=function(_0x53864a){return new _0x2a8f48(_0x53864a);},_0x2a8f48['encode']=function(_0xe8a253,_0x3792eb){return _0x3792eb||(_0x3792eb=_0x3e841d['create']()),null!=_0xe8a253['position']&&Object['hasOwnProperty']['call'](_0xe8a253,'position')&&_0x4e270e['Position']['encode'](_0xe8a253['position'],_0x3792eb['uint32'](0xa)['fork']())['ldelim'](),null!=_0xe8a253['oldName']&&Object['hasOwnProperty']['call'](_0xe8a253,'oldName')&&_0x3792eb['uint32'](0x12)['string'](_0xe8a253['oldName']),null!=_0xe8a253['newName']&&Object['hasOwnProperty']['call'](_0xe8a253,'newName')&&_0x3792eb['uint32'](0x1a)['string'](_0xe8a253['newName']),null!=_0xe8a253['wasUndone']&&Object['hasOwnProperty']['call'](_0xe8a253,'wasUndone')&&_0x3792eb['uint32'](0x20)['bool'](_0xe8a253['wasUndone']),_0x3792eb;},_0x2a8f48['encodeDelimited']=function(_0xb902ae,_0xc4a7ff){return this['encode'](_0xb902ae,_0xc4a7ff)['ldelim']();},_0x2a8f48['decode']=function(_0x307644,_0x3df4af){_0x307644 instanceof _0x46264d||(_0x307644=_0x46264d['create'](_0x307644));for(var _0x17d599=void 0x0===_0x3df4af?_0x307644['len']:_0x307644['pos']+_0x3df4af,_0x877940=new _0x4e270e['RenameOperation']();_0x307644['pos']<_0x17d599;){var _0x4e3929=_0x307644['uint32']();switch(_0x4e3929>>>0x3){case 0x1:_0x877940['position']=_0x4e270e['Position']['decode'](_0x307644,_0x307644['uint32']());break;case 0x2:_0x877940['oldName']=_0x307644['string']();break;case 0x3:_0x877940['newName']=_0x307644['string']();break;case 0x4:_0x877940['wasUndone']=_0x307644['bool']();break;default:_0x307644['skipType'](0x7&_0x4e3929);}}return _0x877940;},_0x2a8f48['decodeDelimited']=function(_0x3dae99){return _0x3dae99 instanceof _0x46264d||(_0x3dae99=new _0x46264d(_0x3dae99)),this['decode'](_0x3dae99,_0x3dae99['uint32']());},_0x2a8f48['verify']=function(_0x1ca38e){if('object'!=typeof _0x1ca38e||null===_0x1ca38e)return'object\x20expected';if(null!=_0x1ca38e['position']&&_0x1ca38e['hasOwnProperty']('position')){var _0x48daa7=_0x4e270e['Position']['verify'](_0x1ca38e['position']);if(_0x48daa7)return'position.'+_0x48daa7;}return null!=_0x1ca38e['oldName']&&_0x1ca38e['hasOwnProperty']('oldName')&&!_0xe1ba8d['isString'](_0x1ca38e['oldName'])?'oldName:\x20string\x20expected':null!=_0x1ca38e['newName']&&_0x1ca38e['hasOwnProperty']('newName')&&!_0xe1ba8d['isString'](_0x1ca38e['newName'])?'newName:\x20string\x20expected':null!=_0x1ca38e['wasUndone']&&_0x1ca38e['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1ca38e['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2a8f48['fromObject']=function(_0x3b8f23){if(_0x3b8f23 instanceof _0x4e270e['RenameOperation'])return _0x3b8f23;var _0x579aeb=new _0x4e270e['RenameOperation']();if(null!=_0x3b8f23['position']){if('object'!=typeof _0x3b8f23['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x579aeb['position']=_0x4e270e['Position']['fromObject'](_0x3b8f23['position']);}return null!=_0x3b8f23['oldName']&&(_0x579aeb['oldName']=String(_0x3b8f23['oldName'])),null!=_0x3b8f23['newName']&&(_0x579aeb['newName']=String(_0x3b8f23['newName'])),null!=_0x3b8f23['wasUndone']&&(_0x579aeb['wasUndone']=Boolean(_0x3b8f23['wasUndone'])),_0x579aeb;},_0x2a8f48['toObject']=function(_0x5bf2d0,_0x2d33d7){_0x2d33d7||(_0x2d33d7={});var _0x3c3228={};return _0x2d33d7['defaults']&&(_0x3c3228['position']=null,_0x3c3228['oldName']='',_0x3c3228['newName']='',_0x3c3228['wasUndone']=!0x1),null!=_0x5bf2d0['position']&&_0x5bf2d0['hasOwnProperty']('position')&&(_0x3c3228['position']=_0x4e270e['Position']['toObject'](_0x5bf2d0['position'],_0x2d33d7)),null!=_0x5bf2d0['oldName']&&_0x5bf2d0['hasOwnProperty']('oldName')&&(_0x3c3228['oldName']=_0x5bf2d0['oldName']),null!=_0x5bf2d0['newName']&&_0x5bf2d0['hasOwnProperty']('newName')&&(_0x3c3228['newName']=_0x5bf2d0['newName']),null!=_0x5bf2d0['wasUndone']&&_0x5bf2d0['hasOwnProperty']('wasUndone')&&(_0x3c3228['wasUndone']=_0x5bf2d0['wasUndone']),_0x3c3228;},_0x2a8f48['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2a8f48['getTypeUrl']=function(_0x2c4071){return void 0x0===_0x2c4071&&(_0x2c4071='type.googleapis.com'),_0x2c4071+'/RenameOperation';},_0x2a8f48;}()),_0x4e270e['RootAttributeOperation']=(function(){function _0x1cdae5(_0x397103){if(_0x397103){for(var _0x330569=Object['keys'](_0x397103),_0x4693aa=0x0;_0x4693aa<_0x330569['length'];++_0x4693aa)null!=_0x397103[_0x330569[_0x4693aa]]&&(this[_0x330569[_0x4693aa]]=_0x397103[_0x330569[_0x4693aa]]);}}return _0x1cdae5['prototype']['root']='',_0x1cdae5['prototype']['key']='',_0x1cdae5['prototype']['oldValueBoolean']=!0x1,_0x1cdae5['prototype']['oldValueJson']='',_0x1cdae5['prototype']['newValueBoolean']=!0x1,_0x1cdae5['prototype']['newValueJson']='',_0x1cdae5['prototype']['wasUndone']=!0x1,_0x1cdae5['create']=function(_0x4df982){return new _0x1cdae5(_0x4df982);},_0x1cdae5['encode']=function(_0x51c90d,_0x26f090){return _0x26f090||(_0x26f090=_0x3e841d['create']()),null!=_0x51c90d['root']&&Object['hasOwnProperty']['call'](_0x51c90d,'root')&&_0x26f090['uint32'](0xa)['string'](_0x51c90d['root']),null!=_0x51c90d['key']&&Object['hasOwnProperty']['call'](_0x51c90d,'key')&&_0x26f090['uint32'](0x12)['string'](_0x51c90d['key']),null!=_0x51c90d['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x51c90d,'oldValueBoolean')&&_0x26f090['uint32'](0x18)['bool'](_0x51c90d['oldValueBoolean']),null!=_0x51c90d['oldValueJson']&&Object['hasOwnProperty']['call'](_0x51c90d,'oldValueJson')&&_0x26f090['uint32'](0x22)['string'](_0x51c90d['oldValueJson']),null!=_0x51c90d['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x51c90d,'newValueBoolean')&&_0x26f090['uint32'](0x28)['bool'](_0x51c90d['newValueBoolean']),null!=_0x51c90d['newValueJson']&&Object['hasOwnProperty']['call'](_0x51c90d,'newValueJson')&&_0x26f090['uint32'](0x32)['string'](_0x51c90d['newValueJson']),null!=_0x51c90d['wasUndone']&&Object['hasOwnProperty']['call'](_0x51c90d,'wasUndone')&&_0x26f090['uint32'](0x38)['bool'](_0x51c90d['wasUndone']),_0x26f090;},_0x1cdae5['encodeDelimited']=function(_0x1decb4,_0x123961){return this['encode'](_0x1decb4,_0x123961)['ldelim']();},_0x1cdae5['decode']=function(_0x4482e1,_0x48adff){_0x4482e1 instanceof _0x46264d||(_0x4482e1=_0x46264d['create'](_0x4482e1));for(var _0x4e98ab=void 0x0===_0x48adff?_0x4482e1['len']:_0x4482e1['pos']+_0x48adff,_0xb6449a=new _0x4e270e['RootAttributeOperation']();_0x4482e1['pos']<_0x4e98ab;){var _0x355af8=_0x4482e1['uint32']();switch(_0x355af8>>>0x3){case 0x1:_0xb6449a['root']=_0x4482e1['string']();break;case 0x2:_0xb6449a['key']=_0x4482e1['string']();break;case 0x3:_0xb6449a['oldValueBoolean']=_0x4482e1['bool']();break;case 0x4:_0xb6449a['oldValueJson']=_0x4482e1['string']();break;case 0x5:_0xb6449a['newValueBoolean']=_0x4482e1['bool']();break;case 0x6:_0xb6449a['newValueJson']=_0x4482e1['string']();break;case 0x7:_0xb6449a['wasUndone']=_0x4482e1['bool']();break;default:_0x4482e1['skipType'](0x7&_0x355af8);}}return _0xb6449a;},_0x1cdae5['decodeDelimited']=function(_0x35a059){return _0x35a059 instanceof _0x46264d||(_0x35a059=new _0x46264d(_0x35a059)),this['decode'](_0x35a059,_0x35a059['uint32']());},_0x1cdae5['verify']=function(_0x5337ea){return'object'!=typeof _0x5337ea||null===_0x5337ea?'object\x20expected':null!=_0x5337ea['root']&&_0x5337ea['hasOwnProperty']('root')&&!_0xe1ba8d['isString'](_0x5337ea['root'])?'root:\x20string\x20expected':null!=_0x5337ea['key']&&_0x5337ea['hasOwnProperty']('key')&&!_0xe1ba8d['isString'](_0x5337ea['key'])?'key:\x20string\x20expected':null!=_0x5337ea['oldValueBoolean']&&_0x5337ea['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x5337ea['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x5337ea['oldValueJson']&&_0x5337ea['hasOwnProperty']('oldValueJson')&&!_0xe1ba8d['isString'](_0x5337ea['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x5337ea['newValueBoolean']&&_0x5337ea['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x5337ea['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x5337ea['newValueJson']&&_0x5337ea['hasOwnProperty']('newValueJson')&&!_0xe1ba8d['isString'](_0x5337ea['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x5337ea['wasUndone']&&_0x5337ea['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5337ea['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1cdae5['fromObject']=function(_0x42cb96){if(_0x42cb96 instanceof _0x4e270e['RootAttributeOperation'])return _0x42cb96;var _0x11b934=new _0x4e270e['RootAttributeOperation']();return null!=_0x42cb96['root']&&(_0x11b934['root']=String(_0x42cb96['root'])),null!=_0x42cb96['key']&&(_0x11b934['key']=String(_0x42cb96['key'])),null!=_0x42cb96['oldValueBoolean']&&(_0x11b934['oldValueBoolean']=Boolean(_0x42cb96['oldValueBoolean'])),null!=_0x42cb96['oldValueJson']&&(_0x11b934['oldValueJson']=String(_0x42cb96['oldValueJson'])),null!=_0x42cb96['newValueBoolean']&&(_0x11b934['newValueBoolean']=Boolean(_0x42cb96['newValueBoolean'])),null!=_0x42cb96['newValueJson']&&(_0x11b934['newValueJson']=String(_0x42cb96['newValueJson'])),null!=_0x42cb96['wasUndone']&&(_0x11b934['wasUndone']=Boolean(_0x42cb96['wasUndone'])),_0x11b934;},_0x1cdae5['toObject']=function(_0x1c95c2,_0xb01b18){_0xb01b18||(_0xb01b18={});var _0x2846d5={};return _0xb01b18['defaults']&&(_0x2846d5['root']='',_0x2846d5['key']='',_0x2846d5['oldValueBoolean']=!0x1,_0x2846d5['oldValueJson']='',_0x2846d5['newValueBoolean']=!0x1,_0x2846d5['newValueJson']='',_0x2846d5['wasUndone']=!0x1),null!=_0x1c95c2['root']&&_0x1c95c2['hasOwnProperty']('root')&&(_0x2846d5['root']=_0x1c95c2['root']),null!=_0x1c95c2['key']&&_0x1c95c2['hasOwnProperty']('key')&&(_0x2846d5['key']=_0x1c95c2['key']),null!=_0x1c95c2['oldValueBoolean']&&_0x1c95c2['hasOwnProperty']('oldValueBoolean')&&(_0x2846d5['oldValueBoolean']=_0x1c95c2['oldValueBoolean']),null!=_0x1c95c2['oldValueJson']&&_0x1c95c2['hasOwnProperty']('oldValueJson')&&(_0x2846d5['oldValueJson']=_0x1c95c2['oldValueJson']),null!=_0x1c95c2['newValueBoolean']&&_0x1c95c2['hasOwnProperty']('newValueBoolean')&&(_0x2846d5['newValueBoolean']=_0x1c95c2['newValueBoolean']),null!=_0x1c95c2['newValueJson']&&_0x1c95c2['hasOwnProperty']('newValueJson')&&(_0x2846d5['newValueJson']=_0x1c95c2['newValueJson']),null!=_0x1c95c2['wasUndone']&&_0x1c95c2['hasOwnProperty']('wasUndone')&&(_0x2846d5['wasUndone']=_0x1c95c2['wasUndone']),_0x2846d5;},_0x1cdae5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1cdae5['getTypeUrl']=function(_0x3aa593){return void 0x0===_0x3aa593&&(_0x3aa593='type.googleapis.com'),_0x3aa593+'/RootAttributeOperation';},_0x1cdae5;}()),_0x4e270e['RootOperation']=(function(){function _0x56850f(_0x4672ef){if(_0x4672ef){for(var _0x550fb3=Object['keys'](_0x4672ef),_0x5467cf=0x0;_0x5467cf<_0x550fb3['length'];++_0x5467cf)null!=_0x4672ef[_0x550fb3[_0x5467cf]]&&(this[_0x550fb3[_0x5467cf]]=_0x4672ef[_0x550fb3[_0x5467cf]]);}}return _0x56850f['prototype']['rootName']='',_0x56850f['prototype']['elementName']='',_0x56850f['prototype']['isAdd']=!0x1,_0x56850f['prototype']['wasUndone']=!0x1,_0x56850f['create']=function(_0x4d407a){return new _0x56850f(_0x4d407a);},_0x56850f['encode']=function(_0x5312ed,_0x58ce93){return _0x58ce93||(_0x58ce93=_0x3e841d['create']()),null!=_0x5312ed['rootName']&&Object['hasOwnProperty']['call'](_0x5312ed,'rootName')&&_0x58ce93['uint32'](0xa)['string'](_0x5312ed['rootName']),null!=_0x5312ed['elementName']&&Object['hasOwnProperty']['call'](_0x5312ed,'elementName')&&_0x58ce93['uint32'](0x12)['string'](_0x5312ed['elementName']),null!=_0x5312ed['isAdd']&&Object['hasOwnProperty']['call'](_0x5312ed,'isAdd')&&_0x58ce93['uint32'](0x18)['bool'](_0x5312ed['isAdd']),null!=_0x5312ed['wasUndone']&&Object['hasOwnProperty']['call'](_0x5312ed,'wasUndone')&&_0x58ce93['uint32'](0x20)['bool'](_0x5312ed['wasUndone']),_0x58ce93;},_0x56850f['encodeDelimited']=function(_0x5474b9,_0x48bebd){return this['encode'](_0x5474b9,_0x48bebd)['ldelim']();},_0x56850f['decode']=function(_0x14bccd,_0x2d0c5d){_0x14bccd instanceof _0x46264d||(_0x14bccd=_0x46264d['create'](_0x14bccd));for(var _0x154499=void 0x0===_0x2d0c5d?_0x14bccd['len']:_0x14bccd['pos']+_0x2d0c5d,_0x5c04ac=new _0x4e270e['RootOperation']();_0x14bccd['pos']<_0x154499;){var _0xa5c61=_0x14bccd['uint32']();switch(_0xa5c61>>>0x3){case 0x1:_0x5c04ac['rootName']=_0x14bccd['string']();break;case 0x2:_0x5c04ac['elementName']=_0x14bccd['string']();break;case 0x3:_0x5c04ac['isAdd']=_0x14bccd['bool']();break;case 0x4:_0x5c04ac['wasUndone']=_0x14bccd['bool']();break;default:_0x14bccd['skipType'](0x7&_0xa5c61);}}return _0x5c04ac;},_0x56850f['decodeDelimited']=function(_0x5a0dac){return _0x5a0dac instanceof _0x46264d||(_0x5a0dac=new _0x46264d(_0x5a0dac)),this['decode'](_0x5a0dac,_0x5a0dac['uint32']());},_0x56850f['verify']=function(_0x515729){return'object'!=typeof _0x515729||null===_0x515729?'object\x20expected':null!=_0x515729['rootName']&&_0x515729['hasOwnProperty']('rootName')&&!_0xe1ba8d['isString'](_0x515729['rootName'])?'rootName:\x20string\x20expected':null!=_0x515729['elementName']&&_0x515729['hasOwnProperty']('elementName')&&!_0xe1ba8d['isString'](_0x515729['elementName'])?'elementName:\x20string\x20expected':null!=_0x515729['isAdd']&&_0x515729['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x515729['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x515729['wasUndone']&&_0x515729['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x515729['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x56850f['fromObject']=function(_0x255d3b){if(_0x255d3b instanceof _0x4e270e['RootOperation'])return _0x255d3b;var _0x1b85ce=new _0x4e270e['RootOperation']();return null!=_0x255d3b['rootName']&&(_0x1b85ce['rootName']=String(_0x255d3b['rootName'])),null!=_0x255d3b['elementName']&&(_0x1b85ce['elementName']=String(_0x255d3b['elementName'])),null!=_0x255d3b['isAdd']&&(_0x1b85ce['isAdd']=Boolean(_0x255d3b['isAdd'])),null!=_0x255d3b['wasUndone']&&(_0x1b85ce['wasUndone']=Boolean(_0x255d3b['wasUndone'])),_0x1b85ce;},_0x56850f['toObject']=function(_0x391ac1,_0x18d622){_0x18d622||(_0x18d622={});var _0x455796={};return _0x18d622['defaults']&&(_0x455796['rootName']='',_0x455796['elementName']='',_0x455796['isAdd']=!0x1,_0x455796['wasUndone']=!0x1),null!=_0x391ac1['rootName']&&_0x391ac1['hasOwnProperty']('rootName')&&(_0x455796['rootName']=_0x391ac1['rootName']),null!=_0x391ac1['elementName']&&_0x391ac1['hasOwnProperty']('elementName')&&(_0x455796['elementName']=_0x391ac1['elementName']),null!=_0x391ac1['isAdd']&&_0x391ac1['hasOwnProperty']('isAdd')&&(_0x455796['isAdd']=_0x391ac1['isAdd']),null!=_0x391ac1['wasUndone']&&_0x391ac1['hasOwnProperty']('wasUndone')&&(_0x455796['wasUndone']=_0x391ac1['wasUndone']),_0x455796;},_0x56850f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x56850f['getTypeUrl']=function(_0x27736e){return void 0x0===_0x27736e&&(_0x27736e='type.googleapis.com'),_0x27736e+'/RootOperation';},_0x56850f;}()),_0x4e270e['SplitOperation']=(function(){function _0x327e16(_0x590612){if(_0x590612){for(var _0xf9d96b=Object['keys'](_0x590612),_0x320a58=0x0;_0x320a58<_0xf9d96b['length'];++_0x320a58)null!=_0x590612[_0xf9d96b[_0x320a58]]&&(this[_0xf9d96b[_0x320a58]]=_0x590612[_0xf9d96b[_0x320a58]]);}}return _0x327e16['prototype']['splitPosition']=null,_0x327e16['prototype']['graveyardPosition']=null,_0x327e16['prototype']['howMany']=0x0,_0x327e16['prototype']['insertionPosition']=null,_0x327e16['prototype']['wasUndone']=!0x1,_0x327e16['create']=function(_0x1cf220){return new _0x327e16(_0x1cf220);},_0x327e16['encode']=function(_0x2e7ce7,_0x1e8535){return _0x1e8535||(_0x1e8535=_0x3e841d['create']()),null!=_0x2e7ce7['splitPosition']&&Object['hasOwnProperty']['call'](_0x2e7ce7,'splitPosition')&&_0x4e270e['Position']['encode'](_0x2e7ce7['splitPosition'],_0x1e8535['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2e7ce7['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x2e7ce7,'graveyardPosition')&&_0x4e270e['Position']['encode'](_0x2e7ce7['graveyardPosition'],_0x1e8535['uint32'](0x12)['fork']())['ldelim'](),null!=_0x2e7ce7['howMany']&&Object['hasOwnProperty']['call'](_0x2e7ce7,'howMany')&&_0x1e8535['uint32'](0x18)['uint32'](_0x2e7ce7['howMany']),null!=_0x2e7ce7['insertionPosition']&&Object['hasOwnProperty']['call'](_0x2e7ce7,'insertionPosition')&&_0x4e270e['Position']['encode'](_0x2e7ce7['insertionPosition'],_0x1e8535['uint32'](0x22)['fork']())['ldelim'](),null!=_0x2e7ce7['wasUndone']&&Object['hasOwnProperty']['call'](_0x2e7ce7,'wasUndone')&&_0x1e8535['uint32'](0x28)['bool'](_0x2e7ce7['wasUndone']),_0x1e8535;},_0x327e16['encodeDelimited']=function(_0x4b3a33,_0x5152b4){return this['encode'](_0x4b3a33,_0x5152b4)['ldelim']();},_0x327e16['decode']=function(_0x3f53cf,_0x2b6954){_0x3f53cf instanceof _0x46264d||(_0x3f53cf=_0x46264d['create'](_0x3f53cf));for(var _0x2ec6cb=void 0x0===_0x2b6954?_0x3f53cf['len']:_0x3f53cf['pos']+_0x2b6954,_0x3e9d5d=new _0x4e270e['SplitOperation']();_0x3f53cf['pos']<_0x2ec6cb;){var _0x38458a=_0x3f53cf['uint32']();switch(_0x38458a>>>0x3){case 0x1:_0x3e9d5d['splitPosition']=_0x4e270e['Position']['decode'](_0x3f53cf,_0x3f53cf['uint32']());break;case 0x2:_0x3e9d5d['graveyardPosition']=_0x4e270e['Position']['decode'](_0x3f53cf,_0x3f53cf['uint32']());break;case 0x3:_0x3e9d5d['howMany']=_0x3f53cf['uint32']();break;case 0x4:_0x3e9d5d['insertionPosition']=_0x4e270e['Position']['decode'](_0x3f53cf,_0x3f53cf['uint32']());break;case 0x5:_0x3e9d5d['wasUndone']=_0x3f53cf['bool']();break;default:_0x3f53cf['skipType'](0x7&_0x38458a);}}return _0x3e9d5d;},_0x327e16['decodeDelimited']=function(_0x32cab4){return _0x32cab4 instanceof _0x46264d||(_0x32cab4=new _0x46264d(_0x32cab4)),this['decode'](_0x32cab4,_0x32cab4['uint32']());},_0x327e16['verify']=function(_0x412a77){if('object'!=typeof _0x412a77||null===_0x412a77)return'object\x20expected';var _0x8cd4c8;if(null!=_0x412a77['splitPosition']&&_0x412a77['hasOwnProperty']('splitPosition')&&(_0x8cd4c8=_0x4e270e['Position']['verify'](_0x412a77['splitPosition'])))return'splitPosition.'+_0x8cd4c8;if(null!=_0x412a77['graveyardPosition']&&_0x412a77['hasOwnProperty']('graveyardPosition')&&(_0x8cd4c8=_0x4e270e['Position']['verify'](_0x412a77['graveyardPosition'])))return'graveyardPosition.'+_0x8cd4c8;if(null!=_0x412a77['howMany']&&_0x412a77['hasOwnProperty']('howMany')&&!_0xe1ba8d['isInteger'](_0x412a77['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x412a77['insertionPosition']&&_0x412a77['hasOwnProperty']('insertionPosition')&&(_0x8cd4c8=_0x4e270e['Position']['verify'](_0x412a77['insertionPosition'])))return'insertionPosition.'+_0x8cd4c8;return null!=_0x412a77['wasUndone']&&_0x412a77['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x412a77['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x327e16['fromObject']=function(_0x377d54){if(_0x377d54 instanceof _0x4e270e['SplitOperation'])return _0x377d54;var _0x41c136=new _0x4e270e['SplitOperation']();if(null!=_0x377d54['splitPosition']){if('object'!=typeof _0x377d54['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x41c136['splitPosition']=_0x4e270e['Position']['fromObject'](_0x377d54['splitPosition']);}if(null!=_0x377d54['graveyardPosition']){if('object'!=typeof _0x377d54['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x41c136['graveyardPosition']=_0x4e270e['Position']['fromObject'](_0x377d54['graveyardPosition']);}if(null!=_0x377d54['howMany']&&(_0x41c136['howMany']=_0x377d54['howMany']>>>0x0),null!=_0x377d54['insertionPosition']){if('object'!=typeof _0x377d54['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x41c136['insertionPosition']=_0x4e270e['Position']['fromObject'](_0x377d54['insertionPosition']);}return null!=_0x377d54['wasUndone']&&(_0x41c136['wasUndone']=Boolean(_0x377d54['wasUndone'])),_0x41c136;},_0x327e16['toObject']=function(_0x2927f1,_0x579826){_0x579826||(_0x579826={});var _0xf22630={};return _0x579826['defaults']&&(_0xf22630['splitPosition']=null,_0xf22630['graveyardPosition']=null,_0xf22630['howMany']=0x0,_0xf22630['insertionPosition']=null,_0xf22630['wasUndone']=!0x1),null!=_0x2927f1['splitPosition']&&_0x2927f1['hasOwnProperty']('splitPosition')&&(_0xf22630['splitPosition']=_0x4e270e['Position']['toObject'](_0x2927f1['splitPosition'],_0x579826)),null!=_0x2927f1['graveyardPosition']&&_0x2927f1['hasOwnProperty']('graveyardPosition')&&(_0xf22630['graveyardPosition']=_0x4e270e['Position']['toObject'](_0x2927f1['graveyardPosition'],_0x579826)),null!=_0x2927f1['howMany']&&_0x2927f1['hasOwnProperty']('howMany')&&(_0xf22630['howMany']=_0x2927f1['howMany']),null!=_0x2927f1['insertionPosition']&&_0x2927f1['hasOwnProperty']('insertionPosition')&&(_0xf22630['insertionPosition']=_0x4e270e['Position']['toObject'](_0x2927f1['insertionPosition'],_0x579826)),null!=_0x2927f1['wasUndone']&&_0x2927f1['hasOwnProperty']('wasUndone')&&(_0xf22630['wasUndone']=_0x2927f1['wasUndone']),_0xf22630;},_0x327e16['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x327e16['getTypeUrl']=function(_0x16a2bc){return void 0x0===_0x16a2bc&&(_0x16a2bc='type.googleapis.com'),_0x16a2bc+'/SplitOperation';},_0x327e16;}()),_0x4e270e['Position']=(function(){function _0x1f0343(_0x17a8c3){if(this['path']=[],_0x17a8c3){for(var _0x4a261d=Object['keys'](_0x17a8c3),_0x5e1eed=0x0;_0x5e1eed<_0x4a261d['length'];++_0x5e1eed)null!=_0x17a8c3[_0x4a261d[_0x5e1eed]]&&(this[_0x4a261d[_0x5e1eed]]=_0x17a8c3[_0x4a261d[_0x5e1eed]]);}}return _0x1f0343['prototype']['root']='',_0x1f0343['prototype']['rootMain']=!0x1,_0x1f0343['prototype']['rootGraveyard']=!0x1,_0x1f0343['prototype']['path']=_0xe1ba8d['emptyArray'],_0x1f0343['prototype']['stickiness']='',_0x1f0343['create']=function(_0x221ccf){return new _0x1f0343(_0x221ccf);},_0x1f0343['encode']=function(_0x45575a,_0x3c44f0){if(_0x3c44f0||(_0x3c44f0=_0x3e841d['create']()),null!=_0x45575a['root']&&Object['hasOwnProperty']['call'](_0x45575a,'root')&&_0x3c44f0['uint32'](0xa)['string'](_0x45575a['root']),null!=_0x45575a['rootMain']&&Object['hasOwnProperty']['call'](_0x45575a,'rootMain')&&_0x3c44f0['uint32'](0x10)['bool'](_0x45575a['rootMain']),null!=_0x45575a['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x45575a,'rootGraveyard')&&_0x3c44f0['uint32'](0x18)['bool'](_0x45575a['rootGraveyard']),null!=_0x45575a['path']&&_0x45575a['path']['length']){_0x3c44f0['uint32'](0x22)['fork']();for(var _0x1cee9f=0x0;_0x1cee9f<_0x45575a['path']['length'];++_0x1cee9f)_0x3c44f0['uint32'](_0x45575a['path'][_0x1cee9f]);_0x3c44f0['ldelim']();}return null!=_0x45575a['stickiness']&&Object['hasOwnProperty']['call'](_0x45575a,'stickiness')&&_0x3c44f0['uint32'](0x2a)['string'](_0x45575a['stickiness']),_0x3c44f0;},_0x1f0343['encodeDelimited']=function(_0x1d2374,_0x9f7796){return this['encode'](_0x1d2374,_0x9f7796)['ldelim']();},_0x1f0343['decode']=function(_0x5b219a,_0x1372e3){_0x5b219a instanceof _0x46264d||(_0x5b219a=_0x46264d['create'](_0x5b219a));for(var _0xad765d=void 0x0===_0x1372e3?_0x5b219a['len']:_0x5b219a['pos']+_0x1372e3,_0x2608d1=new _0x4e270e['Position']();_0x5b219a['pos']<_0xad765d;){var _0x149afc=_0x5b219a['uint32']();switch(_0x149afc>>>0x3){case 0x1:_0x2608d1['root']=_0x5b219a['string']();break;case 0x2:_0x2608d1['rootMain']=_0x5b219a['bool']();break;case 0x3:_0x2608d1['rootGraveyard']=_0x5b219a['bool']();break;case 0x4:if(_0x2608d1['path']&&_0x2608d1['path']['length']||(_0x2608d1['path']=[]),0x2==(0x7&_0x149afc)){for(var _0x3ba072=_0x5b219a['uint32']()+_0x5b219a['pos'];_0x5b219a['pos']<_0x3ba072;)_0x2608d1['path']['push'](_0x5b219a['uint32']());}else _0x2608d1['path']['push'](_0x5b219a['uint32']());break;case 0x5:_0x2608d1['stickiness']=_0x5b219a['string']();break;default:_0x5b219a['skipType'](0x7&_0x149afc);}}return _0x2608d1;},_0x1f0343['decodeDelimited']=function(_0x587daa){return _0x587daa instanceof _0x46264d||(_0x587daa=new _0x46264d(_0x587daa)),this['decode'](_0x587daa,_0x587daa['uint32']());},_0x1f0343['verify']=function(_0x501404){if('object'!=typeof _0x501404||null===_0x501404)return'object\x20expected';if(null!=_0x501404['root']&&_0x501404['hasOwnProperty']('root')&&!_0xe1ba8d['isString'](_0x501404['root']))return'root:\x20string\x20expected';if(null!=_0x501404['rootMain']&&_0x501404['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x501404['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x501404['rootGraveyard']&&_0x501404['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x501404['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x501404['path']&&_0x501404['hasOwnProperty']('path')){if(!Array['isArray'](_0x501404['path']))return'path:\x20array\x20expected';for(var _0xd113ee=0x0;_0xd113ee<_0x501404['path']['length'];++_0xd113ee)if(!_0xe1ba8d['isInteger'](_0x501404['path'][_0xd113ee]))return'path:\x20integer[]\x20expected';}return null!=_0x501404['stickiness']&&_0x501404['hasOwnProperty']('stickiness')&&!_0xe1ba8d['isString'](_0x501404['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x1f0343['fromObject']=function(_0x307170){if(_0x307170 instanceof _0x4e270e['Position'])return _0x307170;var _0x25304a=new _0x4e270e['Position']();if(null!=_0x307170['root']&&(_0x25304a['root']=String(_0x307170['root'])),null!=_0x307170['rootMain']&&(_0x25304a['rootMain']=Boolean(_0x307170['rootMain'])),null!=_0x307170['rootGraveyard']&&(_0x25304a['rootGraveyard']=Boolean(_0x307170['rootGraveyard'])),_0x307170['path']){if(!Array['isArray'](_0x307170['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x25304a['path']=[];for(var _0xf5e5c0=0x0;_0xf5e5c0<_0x307170['path']['length'];++_0xf5e5c0)_0x25304a['path'][_0xf5e5c0]=_0x307170['path'][_0xf5e5c0]>>>0x0;}return null!=_0x307170['stickiness']&&(_0x25304a['stickiness']=String(_0x307170['stickiness'])),_0x25304a;},_0x1f0343['toObject']=function(_0x586833,_0x4bebc3){_0x4bebc3||(_0x4bebc3={});var _0x37d904={};if((_0x4bebc3['arrays']||_0x4bebc3['defaults'])&&(_0x37d904['path']=[]),_0x4bebc3['defaults']&&(_0x37d904['root']='',_0x37d904['rootMain']=!0x1,_0x37d904['rootGraveyard']=!0x1,_0x37d904['stickiness']=''),null!=_0x586833['root']&&_0x586833['hasOwnProperty']('root')&&(_0x37d904['root']=_0x586833['root']),null!=_0x586833['rootMain']&&_0x586833['hasOwnProperty']('rootMain')&&(_0x37d904['rootMain']=_0x586833['rootMain']),null!=_0x586833['rootGraveyard']&&_0x586833['hasOwnProperty']('rootGraveyard')&&(_0x37d904['rootGraveyard']=_0x586833['rootGraveyard']),_0x586833['path']&&_0x586833['path']['length']){_0x37d904['path']=[];for(var _0x45e7d1=0x0;_0x45e7d1<_0x586833['path']['length'];++_0x45e7d1)_0x37d904['path'][_0x45e7d1]=_0x586833['path'][_0x45e7d1];}return null!=_0x586833['stickiness']&&_0x586833['hasOwnProperty']('stickiness')&&(_0x37d904['stickiness']=_0x586833['stickiness']),_0x37d904;},_0x1f0343['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1f0343['getTypeUrl']=function(_0x1ed4cc){return void 0x0===_0x1ed4cc&&(_0x1ed4cc='type.googleapis.com'),_0x1ed4cc+'/Position';},_0x1f0343;}()),_0x4e270e['Range']=(function(){function _0x3d7fc8(_0x38de61){if(_0x38de61){for(var _0x577810=Object['keys'](_0x38de61),_0x10e489=0x0;_0x10e489<_0x577810['length'];++_0x10e489)null!=_0x38de61[_0x577810[_0x10e489]]&&(this[_0x577810[_0x10e489]]=_0x38de61[_0x577810[_0x10e489]]);}}return _0x3d7fc8['prototype']['start']=null,_0x3d7fc8['prototype']['end']=null,_0x3d7fc8['create']=function(_0x461a4a){return new _0x3d7fc8(_0x461a4a);},_0x3d7fc8['encode']=function(_0x7793ee,_0x4de91c){return _0x4de91c||(_0x4de91c=_0x3e841d['create']()),null!=_0x7793ee['start']&&Object['hasOwnProperty']['call'](_0x7793ee,'start')&&_0x4e270e['Position']['encode'](_0x7793ee['start'],_0x4de91c['uint32'](0xa)['fork']())['ldelim'](),null!=_0x7793ee['end']&&Object['hasOwnProperty']['call'](_0x7793ee,'end')&&_0x4e270e['Position']['encode'](_0x7793ee['end'],_0x4de91c['uint32'](0x12)['fork']())['ldelim'](),_0x4de91c;},_0x3d7fc8['encodeDelimited']=function(_0x238fe3,_0x32d81e){return this['encode'](_0x238fe3,_0x32d81e)['ldelim']();},_0x3d7fc8['decode']=function(_0x28209f,_0x12c8de){_0x28209f instanceof _0x46264d||(_0x28209f=_0x46264d['create'](_0x28209f));for(var _0x138e7b=void 0x0===_0x12c8de?_0x28209f['len']:_0x28209f['pos']+_0x12c8de,_0x57bf50=new _0x4e270e['Range']();_0x28209f['pos']<_0x138e7b;){var _0x11c6b4=_0x28209f['uint32']();switch(_0x11c6b4>>>0x3){case 0x1:_0x57bf50['start']=_0x4e270e['Position']['decode'](_0x28209f,_0x28209f['uint32']());break;case 0x2:_0x57bf50['end']=_0x4e270e['Position']['decode'](_0x28209f,_0x28209f['uint32']());break;default:_0x28209f['skipType'](0x7&_0x11c6b4);}}return _0x57bf50;},_0x3d7fc8['decodeDelimited']=function(_0x1482cc){return _0x1482cc instanceof _0x46264d||(_0x1482cc=new _0x46264d(_0x1482cc)),this['decode'](_0x1482cc,_0x1482cc['uint32']());},_0x3d7fc8['verify']=function(_0x592bdb){if('object'!=typeof _0x592bdb||null===_0x592bdb)return'object\x20expected';var _0x32c3aa;if(null!=_0x592bdb['start']&&_0x592bdb['hasOwnProperty']('start')&&(_0x32c3aa=_0x4e270e['Position']['verify'](_0x592bdb['start'])))return'start.'+_0x32c3aa;if(null!=_0x592bdb['end']&&_0x592bdb['hasOwnProperty']('end')&&(_0x32c3aa=_0x4e270e['Position']['verify'](_0x592bdb['end'])))return'end.'+_0x32c3aa;return null;},_0x3d7fc8['fromObject']=function(_0x285f84){if(_0x285f84 instanceof _0x4e270e['Range'])return _0x285f84;var _0x365f73=new _0x4e270e['Range']();if(null!=_0x285f84['start']){if('object'!=typeof _0x285f84['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x365f73['start']=_0x4e270e['Position']['fromObject'](_0x285f84['start']);}if(null!=_0x285f84['end']){if('object'!=typeof _0x285f84['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x365f73['end']=_0x4e270e['Position']['fromObject'](_0x285f84['end']);}return _0x365f73;},_0x3d7fc8['toObject']=function(_0x244b93,_0x283515){_0x283515||(_0x283515={});var _0x344172={};return _0x283515['defaults']&&(_0x344172['start']=null,_0x344172['end']=null),null!=_0x244b93['start']&&_0x244b93['hasOwnProperty']('start')&&(_0x344172['start']=_0x4e270e['Position']['toObject'](_0x244b93['start'],_0x283515)),null!=_0x244b93['end']&&_0x244b93['hasOwnProperty']('end')&&(_0x344172['end']=_0x4e270e['Position']['toObject'](_0x244b93['end'],_0x283515)),_0x344172;},_0x3d7fc8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3d7fc8['getTypeUrl']=function(_0x2758fd){return void 0x0===_0x2758fd&&(_0x2758fd='type.googleapis.com'),_0x2758fd+'/Range';},_0x3d7fc8;}()),_0x4e270e['Element']=(function(){function _0x26bd64(_0x4691ad){if(this['children']=[],this['attributesBoolean']={},_0x4691ad){for(var _0x44a7e9=Object['keys'](_0x4691ad),_0x5bde98=0x0;_0x5bde98<_0x44a7e9['length'];++_0x5bde98)null!=_0x4691ad[_0x44a7e9[_0x5bde98]]&&(this[_0x44a7e9[_0x5bde98]]=_0x4691ad[_0x44a7e9[_0x5bde98]]);}}return _0x26bd64['prototype']['name']='',_0x26bd64['prototype']['children']=_0xe1ba8d['emptyArray'],_0x26bd64['prototype']['data']='',_0x26bd64['prototype']['attributesBoolean']=_0xe1ba8d['emptyObject'],_0x26bd64['prototype']['attributesJson']='',_0x26bd64['create']=function(_0x15dcb5){return new _0x26bd64(_0x15dcb5);},_0x26bd64['encode']=function(_0x5a1fb8,_0xbf43ca){if(_0xbf43ca||(_0xbf43ca=_0x3e841d['create']()),null!=_0x5a1fb8['name']&&Object['hasOwnProperty']['call'](_0x5a1fb8,'name')&&_0xbf43ca['uint32'](0xa)['string'](_0x5a1fb8['name']),null!=_0x5a1fb8['children']&&_0x5a1fb8['children']['length']){for(var _0x313ee=0x0;_0x313ee<_0x5a1fb8['children']['length'];++_0x313ee)_0x4e270e['Element']['encode'](_0x5a1fb8['children'][_0x313ee],_0xbf43ca['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x5a1fb8['data']&&Object['hasOwnProperty']['call'](_0x5a1fb8,'data')&&_0xbf43ca['uint32'](0x1a)['string'](_0x5a1fb8['data']),null!=_0x5a1fb8['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x5a1fb8,'attributesBoolean')){var _0x59ff59=Object['keys'](_0x5a1fb8['attributesBoolean']);for(_0x313ee=0x0;_0x313ee<_0x59ff59['length'];++_0x313ee)_0xbf43ca['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x59ff59[_0x313ee])['uint32'](0x10)['bool'](_0x5a1fb8['attributesBoolean'][_0x59ff59[_0x313ee]])['ldelim']();}return null!=_0x5a1fb8['attributesJson']&&Object['hasOwnProperty']['call'](_0x5a1fb8,'attributesJson')&&_0xbf43ca['uint32'](0x2a)['string'](_0x5a1fb8['attributesJson']),_0xbf43ca;},_0x26bd64['encodeDelimited']=function(_0x360f54,_0xc1d58d){return this['encode'](_0x360f54,_0xc1d58d)['ldelim']();},_0x26bd64['decode']=function(_0x148f71,_0x1dcbcd){_0x148f71 instanceof _0x46264d||(_0x148f71=_0x46264d['create'](_0x148f71));for(var _0x2d3126,_0x447685,_0x4cfa0f=void 0x0===_0x1dcbcd?_0x148f71['len']:_0x148f71['pos']+_0x1dcbcd,_0x4806a1=new _0x4e270e['Element']();_0x148f71['pos']<_0x4cfa0f;){var _0x323f63=_0x148f71['uint32']();switch(_0x323f63>>>0x3){case 0x1:_0x4806a1['name']=_0x148f71['string']();break;case 0x2:_0x4806a1['children']&&_0x4806a1['children']['length']||(_0x4806a1['children']=[]),_0x4806a1['children']['push'](_0x4e270e['Element']['decode'](_0x148f71,_0x148f71['uint32']()));break;case 0x3:_0x4806a1['data']=_0x148f71['string']();break;case 0x4:_0x4806a1['attributesBoolean']===_0xe1ba8d['emptyObject']&&(_0x4806a1['attributesBoolean']={});var _0x54143f=_0x148f71['uint32']()+_0x148f71['pos'];for(_0x2d3126='',_0x447685=!0x1;_0x148f71['pos']<_0x54143f;){var _0xd12ad4=_0x148f71['uint32']();switch(_0xd12ad4>>>0x3){case 0x1:_0x2d3126=_0x148f71['string']();break;case 0x2:_0x447685=_0x148f71['bool']();break;default:_0x148f71['skipType'](0x7&_0xd12ad4);}}_0x4806a1['attributesBoolean'][_0x2d3126]=_0x447685;break;case 0x5:_0x4806a1['attributesJson']=_0x148f71['string']();break;default:_0x148f71['skipType'](0x7&_0x323f63);}}return _0x4806a1;},_0x26bd64['decodeDelimited']=function(_0x23a19d){return _0x23a19d instanceof _0x46264d||(_0x23a19d=new _0x46264d(_0x23a19d)),this['decode'](_0x23a19d,_0x23a19d['uint32']());},_0x26bd64['verify']=function(_0x3ed5ee){if('object'!=typeof _0x3ed5ee||null===_0x3ed5ee)return'object\x20expected';if(null!=_0x3ed5ee['name']&&_0x3ed5ee['hasOwnProperty']('name')&&!_0xe1ba8d['isString'](_0x3ed5ee['name']))return'name:\x20string\x20expected';if(null!=_0x3ed5ee['children']&&_0x3ed5ee['hasOwnProperty']('children')){if(!Array['isArray'](_0x3ed5ee['children']))return'children:\x20array\x20expected';for(var _0x1e3b1e=0x0;_0x1e3b1e<_0x3ed5ee['children']['length'];++_0x1e3b1e){var _0x1cf803=_0x4e270e['Element']['verify'](_0x3ed5ee['children'][_0x1e3b1e]);if(_0x1cf803)return'children.'+_0x1cf803;}}if(null!=_0x3ed5ee['data']&&_0x3ed5ee['hasOwnProperty']('data')&&!_0xe1ba8d['isString'](_0x3ed5ee['data']))return'data:\x20string\x20expected';if(null!=_0x3ed5ee['attributesBoolean']&&_0x3ed5ee['hasOwnProperty']('attributesBoolean')){if(!_0xe1ba8d['isObject'](_0x3ed5ee['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x40e357=Object['keys'](_0x3ed5ee['attributesBoolean']);for(_0x1e3b1e=0x0;_0x1e3b1e<_0x40e357['length'];++_0x1e3b1e)if('boolean'!=typeof _0x3ed5ee['attributesBoolean'][_0x40e357[_0x1e3b1e]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x3ed5ee['attributesJson']&&_0x3ed5ee['hasOwnProperty']('attributesJson')&&!_0xe1ba8d['isString'](_0x3ed5ee['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x26bd64['fromObject']=function(_0x1fa9af){if(_0x1fa9af instanceof _0x4e270e['Element'])return _0x1fa9af;var _0x28bd35=new _0x4e270e['Element']();if(null!=_0x1fa9af['name']&&(_0x28bd35['name']=String(_0x1fa9af['name'])),_0x1fa9af['children']){if(!Array['isArray'](_0x1fa9af['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x28bd35['children']=[];for(var _0x28b7bd=0x0;_0x28b7bd<_0x1fa9af['children']['length'];++_0x28b7bd){if('object'!=typeof _0x1fa9af['children'][_0x28b7bd])throw TypeError('.Element.children:\x20object\x20expected');_0x28bd35['children'][_0x28b7bd]=_0x4e270e['Element']['fromObject'](_0x1fa9af['children'][_0x28b7bd]);}}if(null!=_0x1fa9af['data']&&(_0x28bd35['data']=String(_0x1fa9af['data'])),_0x1fa9af['attributesBoolean']){if('object'!=typeof _0x1fa9af['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x28bd35['attributesBoolean']={};var _0x3f630a=Object['keys'](_0x1fa9af['attributesBoolean']);for(_0x28b7bd=0x0;_0x28b7bd<_0x3f630a['length'];++_0x28b7bd)_0x28bd35['attributesBoolean'][_0x3f630a[_0x28b7bd]]=Boolean(_0x1fa9af['attributesBoolean'][_0x3f630a[_0x28b7bd]]);}return null!=_0x1fa9af['attributesJson']&&(_0x28bd35['attributesJson']=String(_0x1fa9af['attributesJson'])),_0x28bd35;},_0x26bd64['toObject']=function(_0xf0337d,_0x446992){_0x446992||(_0x446992={});var _0x5aae17,_0x150b9f={};if((_0x446992['arrays']||_0x446992['defaults'])&&(_0x150b9f['children']=[]),(_0x446992['objects']||_0x446992['defaults'])&&(_0x150b9f['attributesBoolean']={}),_0x446992['defaults']&&(_0x150b9f['name']='',_0x150b9f['data']='',_0x150b9f['attributesJson']=''),null!=_0xf0337d['name']&&_0xf0337d['hasOwnProperty']('name')&&(_0x150b9f['name']=_0xf0337d['name']),_0xf0337d['children']&&_0xf0337d['children']['length']){_0x150b9f['children']=[];for(var _0x26dc64=0x0;_0x26dc64<_0xf0337d['children']['length'];++_0x26dc64)_0x150b9f['children'][_0x26dc64]=_0x4e270e['Element']['toObject'](_0xf0337d['children'][_0x26dc64],_0x446992);}if(null!=_0xf0337d['data']&&_0xf0337d['hasOwnProperty']('data')&&(_0x150b9f['data']=_0xf0337d['data']),_0xf0337d['attributesBoolean']&&(_0x5aae17=Object['keys'](_0xf0337d['attributesBoolean']))['length']){_0x150b9f['attributesBoolean']={};for(_0x26dc64=0x0;_0x26dc64<_0x5aae17['length'];++_0x26dc64)_0x150b9f['attributesBoolean'][_0x5aae17[_0x26dc64]]=_0xf0337d['attributesBoolean'][_0x5aae17[_0x26dc64]];}return null!=_0xf0337d['attributesJson']&&_0xf0337d['hasOwnProperty']('attributesJson')&&(_0x150b9f['attributesJson']=_0xf0337d['attributesJson']),_0x150b9f;},_0x26bd64['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x26bd64['getTypeUrl']=function(_0x13b6ba){return void 0x0===_0x13b6ba&&(_0x13b6ba='type.googleapis.com'),_0x13b6ba+'/Element';},_0x26bd64;}()),_0x4e270e;})());class ProtobufFactory{['_protobufRoot'];constructor(){this['_protobufRoot']=_0x17eac4;}['getDescriptor'](_0x300b05){return new ProtobufDescriptor(this['_protobufRoot'][_0x300b05]);}}class ProtobufDescriptor{['_protobuf'];constructor(_0x1d3e18){this['_protobuf']=_0x1d3e18;}['compress'](_0x5a9cf){const _0x51c4cb=this['_protobuf']['verify'](_0x5a9cf);if(_0x51c4cb)throw Error(_0x51c4cb);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x5a9cf))['finish']();}['decompress'](_0x14747d){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x14747d),{'oneofs':!0x0});}}function getPositionShiftedBy(_0x3f371b,_0x6e44b6){const _0x415b54=_0x1d6aee(_0x3f371b);return _0x415b54['path'][_0x415b54['path']['length']-0x1]+=_0x6e44b6,_0x415b54;}function arePositionsEqual(_0x1ce747,_0x55cecc){return _0x1ce747['root']===_0x55cecc['root']&&_0x541aea(_0x1ce747['path'],_0x55cecc['path']);}function parsePositionBeforeCompression(_0x4fc4e0){_mapPositions(_0x4fc4e0,_0xa198e7=>('main'==_0xa198e7['root']?(_0xa198e7['rootMain']=!0x0,delete _0xa198e7['root']):'$graveyard'==_0xa198e7['root']&&(_0xa198e7['rootGraveyard']=!0x0,delete _0xa198e7['root']),_0xa198e7));}function parsePositionAfterCompression(_0x16fe8a){_mapPositions(_0x16fe8a,_0x11007a=>(_0x11007a['rootMain']?(_0x11007a['root']='main',delete _0x11007a['rootMain']):_0x11007a['rootGraveyard']&&(_0x11007a['root']='$graveyard',delete _0x11007a['rootGraveyard']),_0x11007a));}function _mapPositions(_0x32d65a,_0x813e83){for(const _0x3a3f5a in _0x32d65a){const _0x4e15da=_0x32d65a[_0x3a3f5a];'nodes'!==_0x3a3f5a&&isObject$3(_0x4e15da)&&(_0x4e15da['path']&&(_0x4e15da['root']||_0x4e15da['rootMain']||_0x4e15da['rootGraveyard'])?_0x32d65a[_0x3a3f5a]=_0x813e83(_0x4e15da):_mapPositions(_0x4e15da,_0x813e83));}return _0x32d65a;}class OperationCompressor{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x4fb2a5,_0x1a559a,_0x2e4a89){this['_id']=_0x4fb2a5,this['_operationName']=_0x1a559a,this['_protobufDescriptor']=_0x2e4a89;}['compress'](_0x40ed9b,_0x2899b1){const _0x2e853a=_0x2899b1['operations'][_0x2899b1['index']++];return parsePositionBeforeCompression(_0x2e853a),_0x40ed9b['buffers']['push'](this['_protobufDescriptor']['compress'](_0x2e853a)),_0x40ed9b['types']['push'](this['_id']),!0x0;}['decompress'](_0x8a02da,_0x33daeb){_0x33daeb['typeIndex']++;const _0x562a6f=_0x33daeb['buffers'][_0x33daeb['bufferIndex']++],_0x4c37db=this['_protobufDescriptor']['decompress'](_0x562a6f);parsePositionAfterCompression(_0x4c37db),_0x4c37db['__className']=this['_operationName'],_0x8a02da['push'](_0x4c37db);}}class AttributeOperationCompressor extends OperationCompressor{['compress'](_0x1e3d3a,_0x6d9c97){const _0x41ffa1=_0x6d9c97['operations'][_0x6d9c97['index']++];return this['_serializeOneOf']('oldValue',_0x41ffa1),this['_serializeOneOf']('newValue',_0x41ffa1),parsePositionBeforeCompression(_0x41ffa1),_0x1e3d3a['buffers']['push'](this['_protobufDescriptor']['compress'](_0x41ffa1)),_0x1e3d3a['types']['push'](this['_id']),!0x0;}['decompress'](_0x4bb087,_0x2543d5){_0x2543d5['typeIndex']++;const _0x451d15=_0x2543d5['buffers'][_0x2543d5['bufferIndex']++],_0x1e31e7=this['_protobufDescriptor']['decompress'](_0x451d15);this['_deserializeOneOf']('oldValue',_0x1e31e7),this['_deserializeOneOf']('newValue',_0x1e31e7),parsePositionAfterCompression(_0x1e31e7),_0x1e31e7['__className']=this['_operationName'],_0x4bb087['push'](_0x1e31e7);}['_serializeOneOf'](_0x120704,_0x4b6c0e){const _0x4b910f=_0x4b6c0e[_0x120704];'boolean'==typeof _0x4b910f?_0x4b6c0e[_0x120704+'Boolean']=_0x4b910f:_0x4b6c0e[_0x120704+'Json']=JSON['stringify'](_0x4b910f);}['_deserializeOneOf'](_0x2e1856,_0x46c426){const _0x21b9ca=_0x2e1856+'Json';_0x46c426[_0x21b9ca]?(_0x46c426[_0x2e1856]=JSON['parse'](_0x46c426[_0x21b9ca]),delete _0x46c426[_0x21b9ca]):(_0x46c426[_0x2e1856]=_0x46c426[_0x2e1856+'Boolean'],delete _0x46c426[_0x2e1856+'Boolean']);}}class InsertOperationCompressor extends OperationCompressor{['compress'](_0x163c57,_0x107dec){const _0x311a09=_0x107dec['operations'][_0x107dec['index']++];return this['_serializeNodesAttributes'](_0x311a09['nodes']),parsePositionBeforeCompression(_0x311a09),_0x163c57['buffers']['push'](this['_protobufDescriptor']['compress'](_0x311a09)),_0x163c57['types']['push'](this['_id']),!0x0;}['decompress'](_0x252faa,_0x153705){_0x153705['typeIndex']++;const _0x359c4c=_0x153705['buffers'][_0x153705['bufferIndex']++],_0x17d235=this['_protobufDescriptor']['decompress'](_0x359c4c);_0x17d235['nodes']||(_0x17d235['nodes']=[]),this['_deserializeNodesAttributes'](_0x17d235['nodes']),parsePositionAfterCompression(_0x17d235),_0x17d235['__className']=this['_operationName'],_0x252faa['push'](_0x17d235);}['_serializeNodesAttributes'](_0x1c82d9){for(const _0x53e81d of _0x1c82d9){if(_0x53e81d['attributes']){const _0x3f75a8=_0x53e81d['attributes'];this['_areValuesBoolean'](_0x3f75a8)?_0x53e81d['attributesBoolean']=_0x3f75a8:_0x53e81d['attributesJson']=JSON['stringify'](_0x3f75a8);}_0x53e81d['children']&&this['_serializeNodesAttributes'](_0x53e81d['children']);}}['_deserializeNodesAttributes'](_0x9ef18b){for(const _0x362a46 of _0x9ef18b)(_0x362a46['attributesBoolean']||_0x362a46['attributesJson'])&&(_0x362a46['attributesBoolean']?(_0x362a46['attributes']=_0x362a46['attributesBoolean'],delete _0x362a46['attributesBoolean']):(_0x362a46['attributes']=JSON['parse'](_0x362a46['attributesJson']),delete _0x362a46['attributesJson'])),_0x362a46['children']&&this['_deserializeNodesAttributes'](_0x362a46['children']);}['_areValuesBoolean'](_0x4f648c){return Object['keys'](_0x4f648c)['every'](_0x5d6325=>'boolean'==typeof _0x4f648c[_0x5d6325]);}}class MarkerOperationCompressor extends OperationCompressor{['decompress'](_0x2ede4b,_0x2f41b5){super['decompress'](_0x2ede4b,_0x2f41b5);const _0x5d31cb=_0x2ede4b[_0x2ede4b['length']-0x1];_0x5d31cb['oldRange']||(_0x5d31cb['oldRange']=null),_0x5d31cb['newRange']||(_0x5d31cb['newRange']=null);}}class NoOperationCompressor extends OperationCompressor{['compress'](_0xac875c,_0x135f9d){return _0x135f9d['index']++,_0xac875c['types']['push'](this['_id']),!0x0;}['decompress'](_0x30b66e,_0x5b92f2){_0x5b92f2['typeIndex']++,_0x30b66e['push']({'__className':this['_operationName']});}}class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor{['_omittedNamespace'];constructor(_0x18b6a6,_0x4c13d2,_0x1b23f4,_0x54aaff){super(_0x18b6a6,_0x4c13d2,_0x1b23f4),this['_omittedNamespace']=_0x54aaff+':';}['compress'](_0x38c652,_0x29371e){const _0x4a5fdc=_0x29371e['operations'][_0x29371e['index']];return!('MarkerOperation'!=_0x4a5fdc['__className']||!_0x4a5fdc['name']['startsWith'](this['_omittedNamespace']))&&(_0x4a5fdc['name']=_0x4a5fdc['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x38c652,_0x29371e),!0x0);}['decompress'](_0x506d51,_0x3495ba){super['decompress'](_0x506d51,_0x3495ba);const _0x443c77=_0x506d51[_0x506d51['length']-0x1];_0x443c77['name']=this['_omittedNamespace']+_0x443c77['name'];}}class ActionCompressor{['_id'];['_context'];constructor(_0x246ffc,_0xa44117){this['_id']=_0x246ffc,this['_context']=_0xa44117;}['compress'](_0x1054cc,_0x57bd0e){let _0x3d5ecb,_0x362461=_0x57bd0e['operations'][_0x57bd0e['index']],_0x21615e=_0x57bd0e['operations'][_0x57bd0e['index']+0x1];for(;_0x21615e&&this['_compareOperations'](_0x362461,_0x21615e);)_0x3d5ecb?(_0x3d5ecb=this['_combineNext'](_0x362461,_0x3d5ecb),_0x1054cc['types']['push'](0x0)):(_0x3d5ecb=_0x1d6aee(_0x362461),_0x1054cc['types']['push'](this['_id'])),_0x57bd0e['index']++,_0x362461=_0x57bd0e['operations'][_0x57bd0e['index']],_0x21615e=_0x57bd0e['operations'][_0x57bd0e['index']+0x1];return!!_0x3d5ecb&&(_0x3d5ecb=this['_combineNext'](_0x57bd0e['operations'][_0x57bd0e['index']++],_0x3d5ecb),_0x1054cc['types']['push'](0x0),_0x1054cc['buffers']['push'](this['_compressSingleOperation'](_0x3d5ecb)),!0x0);}['decompress'](_0x1434ce,_0x1d5d0e){const _0x11a939=this['_decompressSingleOperation'](_0x1d5d0e);for(;0x0==_0x1d5d0e['types'][_0x1d5d0e['typeIndex']];)_0x1d5d0e['typeIndex']++,_0x1434ce['push'](this['_splitCurrent'](_0x11a939));_0x1434ce['push'](_0x11a939);}}class TypingActionCompressor extends ActionCompressor{['_combineNext'](_0x3a168c,_0x56c2b1){return _0x56c2b1['nodes'][0x0]['data']+=_0x3a168c['nodes'][0x0]['data'],_0x56c2b1;}['_splitCurrent'](_0xeec999){const _0xdac913=_0x1d6aee(_0xeec999),_0x1e2134=_0xdac913['nodes'][0x0],_0x545c91=_0xeec999['nodes'][0x0],_0x40587c=_0x545c91['data'][Symbol['iterator']]()['next']()['value'],_0x5420d6=_0x40587c['length'];return _0x1e2134['data']=_0x40587c,_0x545c91['data']=_0x545c91['data']['substr'](_0x5420d6),_0xeec999['position']=getPositionShiftedBy(_0xeec999['position'],_0x5420d6),_0xdac913;}['_compareOperations'](_0xa5c03c,_0x2fe33c){if(this['_checkOperation'](_0xa5c03c)&&this['_checkOperation'](_0x2fe33c)){const _0x42aa45=_0xa5c03c['nodes'][0x0]['data']['length'],_0x41624c=arePositionsEqual(getPositionShiftedBy(_0xa5c03c['position'],_0x42aa45),_0x2fe33c['position']),_0x18e66a=_0xa5c03c['nodes'][0x0],_0x2c79cf=_0x2fe33c['nodes'][0x0];return _0x41624c&&this['_compareAttributes'](_0x18e66a,_0x2c79cf);}return!0x1;}['_compressSingleOperation'](_0x791ae4){const _0x3bd375={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x3bd375,{'operations':[_0x791ae4],'index':0x0}),_0x3bd375['buffers'][0x0];}['_decompressSingleOperation'](_0x7f4d12){const _0x533dc2=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x533dc2,_0x7f4d12),_0x533dc2[0x0];}['_checkOperation'](_0x1b1992){return'InsertOperation'==_0x1b1992['__className']&&0x1==_0x1b1992['nodes']['length']&&_0x1b1992['nodes'][0x0]['data']&&!_0x1b1992['wasUndone']&&0x1==Array['from'](_0x1b1992['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x527d5a,_0x51276a){const _0x289258=Object['keys'](_0x527d5a['attributes']||{}),_0x18f3cd=Object['keys'](_0x51276a['attributes']||{});return _0x289258['length']===_0x18f3cd['length']&&_0x289258['every'](_0x367296=>_0x51276a['attributes'][_0x367296]&&_0x51276a['attributes'][_0x367296]===_0x527d5a['attributes'][_0x367296]);}}class DeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x4bb409,_0x12ddbc){return _0x12ddbc['howMany']++,_0x12ddbc['sourcePosition']=_0x1d6aee(_0x4bb409['sourcePosition']),_0x12ddbc;}['_splitCurrent'](_0x5d4b2a){const _0x11f59d=_0x1d6aee(_0x5d4b2a);return _0x5d4b2a['howMany']--,_0x11f59d['howMany']=0x1,_0x11f59d['sourcePosition']=getPositionShiftedBy(_0x11f59d['sourcePosition'],_0x5d4b2a['howMany']),_0x11f59d;}['_compareOperations'](_0x31f189,_0x7faeba){return!(!this['_checkOperation'](_0x31f189)||!this['_checkOperation'](_0x7faeba))&&(arePositionsEqual(getPositionShiftedBy(_0x31f189['sourcePosition'],-0x1),_0x7faeba['sourcePosition'])&&arePositionsEqual(_0x31f189['targetPosition'],_0x7faeba['targetPosition']));}['_compressSingleOperation'](_0x132478){const _0x1531d1={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x1531d1,{'operations':[_0x132478],'index':0x0}),_0x1531d1['buffers'][0x0];}['_decompressSingleOperation'](_0x4f87a9){const _0x2ab981=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x2ab981,_0x4f87a9),_0x2ab981[0x0];}['_checkOperation'](_0x493491){return'MoveOperation'==_0x493491['__className']&&'$graveyard'==_0x493491['targetPosition']['root']&&0x1==_0x493491['howMany']&&!_0x493491['wasUndone'];}}class ForwardDeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x2b7e2d,_0x1e1ad8){return _0x1e1ad8['howMany']++,_0x1e1ad8;}['_splitCurrent'](_0x18d4af){const _0x3659b8=_0x1d6aee(_0x18d4af);return _0x3659b8['howMany']=0x1,_0x18d4af['howMany']--,_0x3659b8;}['_compareOperations'](_0x600c1f,_0x1d0f0e){return!(!this['_checkOperation'](_0x600c1f)||!this['_checkOperation'](_0x1d0f0e))&&(arePositionsEqual(_0x600c1f['sourcePosition'],_0x1d0f0e['sourcePosition'])&&arePositionsEqual(_0x600c1f['targetPosition'],_0x1d0f0e['targetPosition']));}['_compressSingleOperation'](_0x28504e){const _0x105701={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x105701,{'operations':[_0x28504e],'index':0x0}),_0x105701['buffers'][0x0];}['_decompressSingleOperation'](_0x11a247){const _0x142417=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x142417,_0x11a247),_0x142417[0x0];}['_checkOperation'](_0xbc61f9){return'MoveOperation'==_0xbc61f9['__className']&&'$graveyard'==_0xbc61f9['targetPosition']['root']&&0x1==_0xbc61f9['howMany']&&!_0xbc61f9['wasUndone'];}}class UserSelectionActionCompressor extends ActionCompressor{['compress'](_0x34ca3c,_0x34848e){if(!this['_compareOperations'](_0x34848e['operations'][_0x34848e['index']],_0x34848e['operations'][_0x34848e['index']+0x1]))return!0x1;const _0x3f2688=_0x34848e['operations'][_0x34848e['index']++];return _0x3f2688['oldRange']=null,_0x3f2688['newRange']&&arePositionsEqual(_0x3f2688['newRange']['start'],_0x3f2688['newRange']['end'])&&(_0x3f2688['newRange']['end']=null),_0x34848e['index']++,_0x34ca3c['types']['push'](this['_id']),_0x34ca3c['types']['push'](0x0),_0x34ca3c['buffers']['push'](this['_compressSingleOperation'](_0x3f2688)),!0x0;}['decompress'](_0x47c1c8,_0x4b4843){const _0x4e3f76=this['_decompressSingleOperation'](_0x4b4843);_0x4e3f76['newRange']&&!_0x4e3f76['newRange']['end']&&(_0x4e3f76['newRange']['end']=_0x1d6aee(_0x4e3f76['newRange']['start']));const _0x52f4b2=_0x1d6aee(_0x4e3f76);_0x52f4b2['newRange']&&(_0x52f4b2['newRange']['start']['stickiness']='toNone',_0x52f4b2['newRange']['end']=_0x1d6aee(_0x52f4b2['newRange']['start'])),_0x52f4b2['name']='user:position:'+_0x52f4b2['name']['split'](':')[0x2],_0x4b4843['typeIndex']++,_0x47c1c8['push'](_0x4e3f76),_0x47c1c8['push'](_0x52f4b2);}['_compressSingleOperation'](_0x3ade57){const _0x381547={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x381547,{'operations':[_0x3ade57],'index':0x0}),_0x381547['buffers'][0x0];}['_decompressSingleOperation'](_0x376173){const _0x169d6a=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x169d6a,_0x376173),_0x169d6a[0x0];}['_compareOperations'](_0x47fdea,_0x22b710){return!(!_0x47fdea||!_0x22b710)&&('MarkerOperation'==_0x47fdea['__className']&&'MarkerOperation'==_0x22b710['__className']&&!(!_0x47fdea['name']['startsWith']('user:')||!_0x22b710['name']['startsWith']('user:')||_0x47fdea['name']==_0x22b710['name']));}}class _0x184783{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new ProtobufFactory();const _0x3372bc=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',_0x3372bc,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new AnnotationMarkerOperationCompressor(0x13,'MarkerOperation',_0x3372bc,'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'](_0x2f10ff){if(!_0x2f10ff||!_0x2f10ff[0x0])throw new ckeditor5['CKEditorError']('no-operations-provided',this);const _0x297498={'operations':_0x2f10ff,'index':0x0},_0x1b9a41={'types':[],'buffers':[],'baseVersion':_0x2f10ff[0x0]['baseVersion']};for(;_0x297498['index']<_0x297498['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x1b9a41,_0x297498))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x1b9a41,_0x297498))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x1b9a41,_0x297498))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x1b9a41,_0x297498))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x1b9a41,_0x297498))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x1b9a41,_0x297498))continue;const _0x28fb45=_0x297498['operations'][_0x297498['index']]['__className'];this['_getCompressorByName'](_0x28fb45)['compress'](_0x1b9a41,_0x297498);}return _0x1b9a41;}['decompress'](_0x4c19f3){const _0x1c3135=[],_0x5bba69={'types':_0x4c19f3['types'],'buffers':_0x4c19f3['buffers'],'baseVersion':_0x4c19f3['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x5bba69['typeIndex']<_0x5bba69['types']['length'];){const _0x2d50ad=_0x5bba69['types'][_0x5bba69['typeIndex']],_0x30fad6=this['_compressorById']['get'](_0x2d50ad);if(!_0x30fad6)throw new ckeditor5['CKEditorError']('decompress-compressor-not-found',this,{'type':_0x2d50ad});_0x30fad6['decompress'](_0x1c3135,_0x5bba69);}return _0x1c3135['forEach']((_0x556632,_0x3b6071)=>_0x556632['baseVersion']=_0x4c19f3['baseVersion']+_0x3b6071),_0x1c3135;}['_getCompressorByName'](_0x5d6e59){return this['_compressorByName']['get'](_0x5d6e59);}['_registerOperationCompressor'](_0x2ca945,_0xb70e20,_0x335cd9){const _0x295eee=new _0x335cd9(_0x2ca945,_0xb70e20,this['_protobufFactory']['getDescriptor'](_0xb70e20));this['_registerCompressor'](_0x2ca945,_0xb70e20,_0x295eee);}['_registerActionCompressor'](_0x3dfd34,_0x2c59c1,_0x173943){const _0x36115e=new _0x173943(_0x3dfd34,this);this['_registerCompressor'](_0x3dfd34,_0x2c59c1,_0x36115e);}['_registerCompressor'](_0xba06eb,_0x2b40f4,_0x1db7a4){this['_compressorById']['set'](_0xba06eb,_0x1db7a4),this['_compressorByName']['set'](_0x2b40f4,_0x1db7a4);}}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,_0x5d9e92,_0x36ab6b,ckeditor5['PendingActions'],_0x9327be,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 _0x4a8460=this['serverHistory']['getOperations']();for(let _0x11d6aa=_0x4a8460['length']-0x1;_0x11d6aa>=0x0;_0x11d6aa--){const _0x2158dc=_0x4a8460[_0x11d6aa];if(!this['_disconnectionOperations']['has'](_0x2158dc))return _0x2158dc['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0x33031d){if(super(_0x33031d),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 _0x5a2eaa=_0x33031d['config']['get']('cloudServices.bundleVersion')||ckeditor5['version'];this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x5a2eaa,this['_channelId']),this['_document']=this['editor']['model']['document'],this['_compressor']=new _0x184783(),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 _0xdc6584=this['editor'],_0xf9836e=_0xdc6584['plugins']['get'](_0x9327be),_0x3f306c=_0xdc6584['plugins']['get'](WebSocketGateway);this['listenTo'](_0xf9836e,'getOperationAuthor',(_0x22311f,_0xb54ae7)=>{const _0x4e0231=_0xb54ae7[0x0];_0x4e0231['_authorId']&&(_0x22311f['return']=_0xf9836e['getUser'](_0x4e0231['_authorId']),_0x22311f['stop']()),null===_0x4e0231['_authorId']&&(_0x22311f['return']=null,_0x22311f['stop']());},{'priority':'high'}),this['listenTo'](_0xdc6584['model']['document']['selection'],'change:range',(_0x5f0353,_0x19f72a)=>{_0x19f72a['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0xdc6584['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0xdc6584['model']['on']('applyOperation',(_0x3fd588,_0x83c9cc)=>{const _0x3c721a=_0x83c9cc[0x0];_0x3c721a['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x3c721a),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['bind']('_isEditingAllowed')['to'](_0x3f306c,'state',this,'_hasSynchronizationProblem',(_0x2f33d0,_0x2a6862)=>'connected'===_0x2f33d0&&!_0x2a6862),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0xdc6584['disableReadOnlyMode']('rtc-offline'):_0xdc6584['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0xdc6584['disableReadOnlyMode']('rtc-offline'):_0xdc6584['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0x10296b=this['editor']['plugins']['get'](_0x5d9e92),_0x977500=this['editor']['plugins']['get'](WebSocketGateway);try{this['_isPendingUpdate']=!0x0,_0x10296b['unregister'](this['_channelId']);const _0x2049ea=await this['_service']['reconnect'](_0x977500['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x2049ea)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x28a867=await this['_service']['getConnectedSessions']();_0x10296b['register'](this['_channelId'],_0x28a867),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x5a8ac8){if(isSessionNotExistingError(_0x5a8ac8)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(isBaseVersionMismatchError(_0x5a8ac8)){const _0x5c4db2=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'](_0x5c4db2);}else{if(!(_0x5a8ac8 instanceof ReconnectionError))throw _0x5a8ac8;this['_handleReconnectionError']();}}}}['destroy'](){const _0x354208=this['editor']['plugins']['get'](WebSocketGateway),_0x286f94=this['editor']['plugins']['get'](_0x5d9e92);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x286f94['channelSessions']['has'](this['_channelId'])&&_0x286f94['unregister'](this['_channelId']),_0x354208['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x3ff3b0){if(this['sessionId']!==_0x3ff3b0['sessionId']&&this['_lastSyncedOperationId']!==_0x3ff3b0['lastOperationId'])throw new ReconnectionError();return this['sessionId']=_0x3ff3b0['sessionId'],this['_handleServerResponse']([],{..._0x3ff3b0,'wereChangesApplied':!0x1,'data':_0x3ff3b0['data']},'reconnect');}async['_connectService'](_0x1ebd2a,_0xe65ba0=!0x1){const {connection:_0x90fd08}=this['editor']['plugins']['get'](WebSocketGateway);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x90fd08,this['_channelId'])['then'](_0x13e491=>this['_initSessionsHandling'](_0x13e491))['catch'](_0x1b6a92=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0x1b6a92);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x3d2911,_0xea5c87)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0xea5c87);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_isConnected']=!0x1;});const _0x4ea2a6=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x1ebd2a);this['_isPendingUpdate']=!0x0;const _0x12fcb3=await this['_service']['connect'](_0x90fd08,this['_compressOperations'](_0x1ebd2a),_0x4ea2a6);if(this['sessionId']=_0x12fcb3['sessionId'],_0xe65ba0){if(!_0x12fcb3['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x12fcb3['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x1ebd2a,_0x12fcb3,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x12fcb3,_0x1ebd2a);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0x31291c=this['editor']['plugins']['get'](_0x5d9e92),_0x3501ba=this['editor']['plugins']['get'](_0x36ab6b),_0x5f16aa=_0x31291c['channelSessions']['get'](this['_channelId']);_0x5f16aa&&_0x5f16aa['length']>0x1?_0x3501ba['createUserMarkerOperations']():this['listenTo'](_0x31291c,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x31291c['channelSessions']['get'](this['_channelId'])['length']&&_0x3501ba['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x42c0bf,_0x1dcba1,_0x2d34c7,_0x531e20){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x1dcba1){const _0x178e64=this['_decompressOperations'](_0x2d34c7,_0x531e20);await this['_fetchMissingUsers'](_0x178e64),this['_handleExternalOperations'](_0x178e64,_0x1dcba1,_0x2d34c7['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x5cb72e}=this['editor'];let _0x4d2cff;try{_0x4d2cff=await this['_service']['getDocumentDetails']();}catch{const _0x54dc31=getTranslation$6(_0x5cb72e,'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'](_0x54dc31);}const _0x47ce88=_0x4d2cff['currentDocumentSession']||_0x4d2cff['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0x47ce88['lastOperationId']){const _0x405285=getTranslation$6(_0x5cb72e,'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'](_0x405285);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x25206d){const _0xa2c559=this['editor']['plugins']['get'](_0x5d9e92);this['listenTo'](_0xa2c559,'sessionAdd:'+this['_channelId'],(_0x379fd4,{session:_0x4aa22d})=>{if(_0x4aa22d['id']===_0xa2c559['mySessionId']){_0x379fd4['off']();const _0x4e028b=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x899e0c=_0x4aa22d['permissions'];_0x4e028b&&_0x4e028b['isEnabled']&&(_0x899e0c=_0x899e0c['filter'](_0x257eb6=>'document:write'!==_0x257eb6)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x899e0c,this['_channelId']);}}),_0xa2c559['register'](this['_channelId'],_0x25206d);}['_initThrowingOnDataSet'](){const _0x4a8436=this['editor']['data']['set'];this['editor']['data']['set']=(..._0x1b8e0c)=>{if(!_0x1b8e0c[_0x1b8e0c['length']-0x1]['suppressErrorInCollaboration'])throw new ckeditor5['CKEditorError']('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0x4a8436['apply'](this['editor']['data'],_0x1b8e0c);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0x3da365,[_0x3cccd0])=>{if(this['_document']['version'])throw new ckeditor5['CKEditorError']('realtimecollaborationclient-init-document-already-initialized',this);_0x3da365['stop'](),this['_setPendingAction']();const _0x41eeed=Object['fromEntries'](Object['entries'](this['editor']['config']['get']('roots')||{})['filter'](([,_0x47da68])=>!_0x47da68['lazyLoad'])['map'](([_0x586a1a,_0x443edb])=>[_0x586a1a,_0x443edb['modelAttributes']||{}])),_0x110ea6=this['_getOperationsFromInitData'](_0x3cccd0,_0x41eeed);0x0==_0x110ea6['length']&&_0x110ea6['push'](new ckeditor5['NoOperation'](0x0)),_0x3da365['return']=this['_connectService'](_0x110ea6)['then'](()=>{this['editor']['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x41b626=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x41b626))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x143b00,[_0x32dc88,_0x4a6218])=>{_0x143b00['stop']();const _0x9c2089=this['editor']['model']['document']['getRoot'](_0x32dc88);if(!this['_knownRootNames']['has'](_0x32dc88)){const _0x8ef7d5=_0x4a6218&&_0x4a6218['data']?_0x4a6218['data']:'',_0x105da1=_0x4a6218&&_0x4a6218['attributes']?_0x4a6218['attributes']:{};await this['_loadRoot'](_0x32dc88,_0x8ef7d5,_0x105da1);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x9c2089['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0x9c2089);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x51c4fc){const _0x14a8b4=this['editor']['plugins']['get'](_0x9327be),{connection:_0x1e390a}=this['editor']['plugins']['get'](WebSocketGateway),_0x5742c3=new Set();for(const _0x57b49f of _0x51c4fc){const _0x44257b=_0x57b49f['_authorId'];_0x44257b&&!_0x14a8b4['getUser'](_0x44257b)&&_0x5742c3['add'](_0x44257b);}if(0x0===_0x5742c3['size'])return;const _0xb89e33=await _0x1a3434['getMany'](_0x1e390a,Array['from'](_0x5742c3));for(const _0x2c0dab of _0xb89e33)_0x14a8b4['getUser'](_0x2c0dab['id'])||_0x14a8b4['addUser'](_0x2c0dab);}['_getOperationsFromInitData'](_0x67eb6f,_0x1d13d4={}){const _0x586919=this['editor']['model'],_0x589ece=[];let _0xb71286=0x0;const _0x40d80e='string'==typeof _0x67eb6f?{'main':_0x67eb6f}:_0x67eb6f;for(const _0x3ffdfa of Object['keys'](_0x40d80e)){if(!this['_document']['roots']['has'](_0x3ffdfa))throw new ckeditor5['CKEditorError']('realtimecollaborationclient-init-non-existent-root',this);const _0x446d34=this['editor']['data']['parse'](_0x40d80e[_0x3ffdfa]),_0x1e4be1=this['_document']['getRoot'](_0x3ffdfa),_0x2e1f4b=new ckeditor5['InsertOperation'](_0x586919['createPositionAt'](_0x1e4be1,0x0),_0x446d34,_0xb71286++);_0x589ece['push'](_0x2e1f4b);for(const [_0x407f86,_0x6b4de8]of _0x446d34['markers']){const _0x1b7f3f=_0x586919['createRange'](_0x586919['createPositionFromPath'](_0x1e4be1,_0x6b4de8['start']['path']['slice']()),_0x586919['createPositionFromPath'](_0x1e4be1,_0x6b4de8['end']['path']['slice']())),_0x28c439=new ckeditor5['MarkerOperation'](_0x407f86,null,_0x1b7f3f,_0x586919['markers'],!0x0,_0xb71286++);_0x589ece['push'](_0x28c439);}}if(_0x1d13d4)for(const [_0x1fb42e,_0x5cf773]of Object['entries'](_0x1d13d4)){const _0x23990c=_0x586919['document']['getRoot'](_0x1fb42e);if(!_0x23990c)throw new ckeditor5['CKEditorError']('multi-root-editor-root-attributes-no-root',null);for(const [_0xf81fda,_0x3410a3]of Object['entries'](_0x5cf773))if(null!==_0x3410a3){const _0x418272=new ckeditor5['RootAttributeOperation'](_0x23990c,_0xf81fda,null,_0x3410a3,_0xb71286++);_0x589ece['push'](_0x418272);}}return _0x589ece;}async['_loadRoot'](_0x30500d,_0x2ddfbf,_0x144047){this['_getOperationsFromInitData']({[_0x30500d]:_0x2ddfbf},{[_0x30500d]:_0x144047})['forEach']((_0x246687,_0x147dba)=>{_0x246687['baseVersion']=this['_document']['version']+_0x147dba,_0x246687['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x246687);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0x34550b,_0x49eabd){let _0x2a5f29;this['_offset']=_0x34550b['offset'];const _0x782fae=_0x34550b['wereChangesApplied']&&!_0x34550b['initData'],_0x9974d6=_0x782fae?0x0:_0x34550b['data']['baseVersion'];if(_0x49eabd['forEach'](_0x4b533c=>{_0x4b533c['_isInit']=!0x0,_0x4b533c['createdAt']=_0x34550b['sessionCreatedAt'],_0x4b533c['_authorId']=null;}),_0x782fae)_0x2a5f29=_0x49eabd,this['_applyOperationsSet'](_0x2a5f29,_0x782fae);else{if(_0x34550b['initData']){const _0x3ad65b=this['_getOperationsFromInitData'](_0x34550b['initData']);this['_document']['history']['version']=-_0x3ad65b['length'],_0x3ad65b['forEach'](_0x511e17=>{_0x511e17['baseVersion']-=_0x3ad65b['length'],_0x511e17['createdAt']=_0x34550b['sessionCreatedAt'],_0x511e17['_isInit']=!0x0,_0x511e17['_authorId']=null;}),this['_applyOperationsSet'](_0x3ad65b,!0x0),this['serverHistory']['version']=-_0x3ad65b['length']+this['_offset'],this['_updateServerHistory'](_0x3ad65b);}this['_document']['history']['version']=_0x9974d6,_0x2a5f29=this['_decompressOperations'](_0x34550b['data'],_0x34550b['metadata']),await this['_fetchMissingUsers'](_0x2a5f29),this['_applyOperationsSet'](_0x2a5f29,_0x782fae);}_0x34550b['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x2a5f29,_0x34550b['lastOperationId']),this['_lastSyncedOperationId']=_0x34550b['lastOperationId']),this['serverHistory']['version']=_0x9974d6+this['_offset'],this['_updateServerHistory'](_0x2a5f29),_0x49eabd['filter'](_0x1aedb1=>{const _0x51651e=this['_getAffectedRoot'](_0x1aedb1);return _0x51651e&&!this['_knownRootNames']['has'](_0x51651e);})['forEach']((_0x3afeb7,_0x24fac2)=>{_0x3afeb7['baseVersion']=this['_document']['version']+_0x24fac2,this['_saveOperationInBuffer'](_0x3afeb7);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0x3ec766,_0x195242){const _0x4bbf3d=_0x195242&&_0x195242['message'];if(_0x4bbf3d&&_0x4bbf3d['startsWith']('realtimecollaborationclient'))throw _0x195242;const _0x53e133=this['editor']['plugins']['get'](WebSocketGateway);throw this['_isPendingUpdate']=!0x0,_0x53e133['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new ckeditor5['CKEditorError'](_0x3ec766,this['editor'],_0x4bbf3d?{'originalError':_0x4bbf3d}:void 0x0);}['_saveOperationInBuffer'](_0x573e6c){this['_knownOperations']['has'](_0x573e6c)||(this['_knownOperations']['add'](_0x573e6c),this['_bufferedOperations']['push'](_0x573e6c),this['_pendingAction']||'marker'==_0x573e6c['type']&&!_0x573e6c['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0x2ae8fd=!0x1){!_0x2ae8fd&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0x1011ec=>{_0x1011ec&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0x299c48=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,isDisconnectionError$3(_0x299c48)||this['_crash'](_0x299c48['message'],_0x299c48);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0x3dda9a=>{this['on']('change:_isPendingUpdate',()=>{_0x3dda9a();});});}async['_sendBufferedOperations'](){const _0x1ea9c7=this['editor']['plugins']['get'](_0x36ab6b);if(this['_shouldSendSelectionUpdate']()&&(_0x1ea9c7['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x22b6ee=[...this['_bufferedOperations']];for(const _0x243dc2 of _0x22b6ee)_0x243dc2['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x243dc2);const _0x2ff4dd=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x22b6ee),_0x2f42bc=requestCount++,_0xcef8e5=this['_compressOperations'](_0x22b6ee),_0x3effde=await this['_service']['sendOperations'](_0xcef8e5,_0xcef8e5['baseVersion'],_0x2ff4dd);try{return await this['_handleServerResponse'](_0x22b6ee,_0x3effde,_0x2f42bc);}catch(_0x2816af){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0x2816af);}}async['_handleServerResponse'](_0x5ee7f7,_0x311dfd,_0x2a7aab){if('error'in _0x311dfd)throw _0x311dfd['error'];let _0x30ebbf=!0x1;if(_0x311dfd['wereChangesApplied']){_0x311dfd['lastOperationId']&&(this['_lastSyncedOperationId']=_0x311dfd['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0xc69f0=>!_0x5ee7f7['includes'](_0xc69f0));for(const _0x2d9011 of _0x5ee7f7)_0x2d9011['createdAt']='lastOperationAcceptedAt'in _0x311dfd&&_0x311dfd['lastOperationAcceptedAt']||void 0x0;updateBaseVersions(_0x5ee7f7,_0x311dfd['version']-_0x5ee7f7['length']),this['_updateServerHistory'](_0x5ee7f7);const _0x29cca9=_0x5ee7f7['filter'](_0x992b0f=>{if(!_0x992b0f['_isInit'])return!0x1;const _0x1321db=this['_getAffectedRoot'](_0x992b0f);return _0x1321db&&!this['_knownRootNames']['has'](_0x1321db);});updateBaseVersions(_0x29cca9,this['_document']['version']),this['_applyOperationsSet'](_0x29cca9),_0x30ebbf=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0x268d4d=this['_decompressOperations'](_0x311dfd['data'],_0x311dfd['metadata'])['filter'](_0x16a48b=>_0x16a48b['baseVersion']>=this['_lastServerVersion']);_0x268d4d['forEach'](_0x1b8e86=>this['_addKnownRoot'](_0x1b8e86)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x46448e=>!_0x46448e['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x46448e))),this['_bufferedOperations']['length']&&updateBaseVersions(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x268d4d),_0x30ebbf=this['_handleExternalOperations'](_0x268d4d,_0x311dfd['version'],_0x311dfd['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0x30ebbf?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x5e8384,_0x1fb803,_0x1c3945){try{const _0x46b6e8={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5a0e12,operationsB:_0x3da194,originalOperations:_0x1687ed}=ckeditor5['transformOperationSets'](_0x5e8384,this['_bufferedOperations'],_0x46b6e8);updateBaseVersions(_0x5a0e12,this['_document']['version']),updateBaseVersions(_0x3da194,_0x1fb803);for(const _0x535b02 of _0x5a0e12){const _0x5bd64b=_0x1687ed['get'](_0x535b02);_0x535b02['_authorId']=_0x5bd64b?_0x5bd64b['_authorId']:null;}_0x1c3945&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x5e8384,_0x1c3945),this['_lastSyncedOperationId']=_0x1c3945),this['_bufferedOperations']=[..._0x3da194],this['_applyOperationsSet'](_0x5a0e12),this['_updateServerHistory'](_0x5e8384);}catch(_0x2c1b19){return console['error'](_0x2c1b19),!0x1;}return!0x0;}['_applyOperationsSet'](_0x224cfe,_0x3d08ae=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x5b415b=>{for(const _0x3fe9b4 of _0x224cfe)this['_knownOperations']['add'](_0x3fe9b4),this['_addKnownRoot'](_0x3fe9b4),_0x5b415b['batch']['addOperation'](_0x3fe9b4),this['editor']['model']['applyOperation'](_0x3fe9b4);});}['_addKnownRoot'](_0x6ad099){const _0x1a39aa=this['_getAffectedRoot'](_0x6ad099);_0x1a39aa&&this['_knownRootNames']['add'](_0x1a39aa);}['_getAffectedRoot'](_0x4b4c2a){let _0x16d095,_0x3a225d;switch(_0x4b4c2a['type']){case'insert':_0x16d095=_0x4b4c2a['position']['root'];break;case'marker':if(_0x3a225d=_0x4b4c2a['newRange'],!_0x3a225d)return null;_0x16d095=_0x3a225d['root'];break;case'addRootAttribute':_0x16d095=_0x4b4c2a['root'];break;case'addRoot':_0x16d095=_0x4b4c2a['affectedSelectable'];break;case'move':_0x16d095=_0x4b4c2a['targetPosition']['root'];break;default:return null;}return _0x16d095['rootName'];}['_updateServerHistory'](_0x12c619){_0x12c619['forEach'](_0x4495ec=>{const _0x3bfb48=_0x4495ec['clone']();_0x3bfb48['_authorId']=_0x4495ec['_authorId'],_0x3bfb48['_isInit']=!!_0x4495ec['_isInit'],_0x3bfb48['createdAt']=_0x4495ec['createdAt'],_0x3bfb48['baseVersion']+=this['_offset'],_0x4495ec['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x3bfb48),this['serverHistory']['addOperation'](_0x3bfb48);});}['_handleReconnectionError'](_0x37e0ba){const _0x250735=this['editor']['plugins']['get']('Notification'),_0x246425=this['editor']['locale'];_0x37e0ba||(_0x37e0ba=getTranslation$6(_0x246425,'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.')),_0x250735['showWarning'](_0x37e0ba,{'title':getTranslation$6(_0x246425,'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'](_0x36d3bc){const _0x38ef42=_0x36d3bc['map'](_0x506140=>_0x506140['toJSON']());return this['_compressor']['compress'](_0x38ef42);}['_decompressOperations'](_0x4387b0,_0x10c174){return this['_compressor']['decompress'](_0x4387b0)['map']((_0x57cb1e,_0x22d264)=>{const _0x2ed61f='init'==_0x10c174[_0x22d264]['type'];if('InsertOperation'==_0x57cb1e['__className']){const _0x2d6bb6=_0x57cb1e['position']['root'];!this['_document']['getRoot'](_0x2d6bb6)&&(this['_document']['createRoot']('$root',_0x2d6bb6)['_isAttached']=!0x1);}const _0x1f7da7=ckeditor5['OperationFactory']['fromJSON'](_0x57cb1e,this['_document']);return _0x1f7da7['wasUndone']=_0x57cb1e['wasUndone'],_0x1f7da7['_isInit']=_0x2ed61f,_0x1f7da7['_authorId']=_0x2ed61f?null:_0x10c174[_0x22d264]['userId'],_0x1f7da7['_isDisconnection']='cs:removeUser'===_0x10c174[_0x22d264]['type'],_0x1f7da7['createdAt']=_0x10c174[_0x22d264]['createdAt'],_0x1f7da7;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x5cfb35=this['editor']['plugins']['get'](_0x5d9e92)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x5cfb35&&_0x5cfb35['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}}class ReconnectionError extends Error{}function updateBaseVersions(_0x54df98,_0x3f1406){for(const _0xdce135 of _0x54df98)_0xdce135['baseVersion']=_0x3f1406++;}function isSessionNotExistingError(_0x4414c9){return'404'===_0x4414c9['code'];}function isBaseVersionMismatchError(_0x37ceb4){return'409'===_0x37ceb4['code'];}function isDisconnectionError$3(_0x338239){return _0x338239['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x338239['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0x338239['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class OperationIdentifier{['_ignoredOperations'];['_operationToId'];constructor(_0x4d0d2f){this['_ignoredOperations']=_0x4d0d2f,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x1a7f7e){let _0x172e42=_0x1a7f7e['length'];for(;_0x172e42--;){const _0x3a0de9=_0x1a7f7e[_0x172e42];if(!this['_ignoredOperations']['has'](_0x3a0de9)){if(!this['_operationToId']['has'](_0x3a0de9)){const _0x59a5e8=ckeditor5['uid']()['slice'](0x1,0x12);this['_operationToId']['set'](_0x3a0de9,_0x59a5e8);}return this['_operationToId']['get'](_0x3a0de9);}}}['setIdForTheLastOperation'](_0x336aa5,_0x11c7f0){if(!_0x11c7f0)return;let _0x4210e6=_0x336aa5['length'];for(;_0x4210e6--;){const _0x3a28b6=_0x336aa5[_0x4210e6];this['_ignoredOperations']['has'](_0x3a28b6)||this['_operationToId']['set'](_0x3a28b6,_0x11c7f0);}}}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 _0xedd6ce extends ckeditor5['Command']{['_enabledCommands'];constructor(_0x84b397,_0x1d4d27){super(_0x84b397),this['_enabledCommands']=_0x1d4d27,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 _0x249a9a of this['editor']['commands']['commands']())_0x249a9a['affectsData']&&!this['_enabledCommands']['has'](_0x249a9a)&&_0x249a9a['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x493146 of this['editor']['commands']['commands']())_0x493146['affectsData']&&!this['_enabledCommands']['has'](_0x493146)&&_0x493146['clearForceDisabled']('TrackChangesCommand');}}class AcceptSuggestionCommand extends ckeditor5['Command']{['_suggestions'];constructor(_0x4b17f7,_0x58701f){super(_0x4b17f7),this['_suggestions']=_0x58701f,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x56d992){const _0x193503=this['_suggestions']['get'](_0x56d992);if(!_0x193503)throw new ckeditor5['CKEditorError']('track-changes-accept-suggestion-not-found',this);const _0x508800=_0x193503['getRanges']();this['editor']['model']['canEditAt'](_0x508800)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x193503);}}class DiscardSuggestionCommand extends ckeditor5['Command']{['_suggestions'];constructor(_0x3fa9fe,_0x590c29){super(_0x3fa9fe),this['_suggestions']=_0x590c29,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x5f5ad4){const _0xb2fa5d=this['_suggestions']['get'](_0x5f5ad4);if(!_0xb2fa5d)throw new ckeditor5['CKEditorError']('track-changes-discard-suggestion-not-found',this);const _0x1bef0a=_0xb2fa5d['getRanges']();this['editor']['model']['canEditAt'](_0x1bef0a)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0xb2fa5d);}}function renderDescription(_0x532d32,_0x2f517b){let _0x266143='';return _0x266143+=_0x532d32['split']('*')['map']((_0x181b41,_0x149e28)=>_0x149e28%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+sanitize(_0x181b41)+'</span>':sanitize(_0x181b41))['join'](''),_0x2f517b&&(_0x266143+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x2f517b['value']+'\x22\x20title=\x22'+_0x2f517b['title']+'\x22></span>'),_0x266143;}function sanitize(_0x443866){const _0x3ffe6e=document['createElement']('span');return _0x3ffe6e['innerText']=_0x443866,_0x3ffe6e['innerHTML'];}function sortSuggestions(_0x554abc){return _0x554abc['sort']((_0x26b0d3,_0x16e945)=>'attribute'===_0x26b0d3['type']&&'attribute'!==_0x16e945['type']?-0x1:'attribute'!==_0x26b0d3['type']&&'attribute'===_0x16e945['type']?0x1:'deletion'==_0x26b0d3['type']&&'deletion'!=_0x16e945['type']?-0x1:'deletion'!=_0x26b0d3['type']&&'deletion'==_0x16e945['type']?0x1:0x0);}function getSelectedSuggestions(_0x1c9f91,_0x342d78){const _0x1d472=Array['from'](_0x1c9f91['getRanges']()),_0x263151=new Set();for(const _0x5a8182 of _0x342d78)if(_0x5a8182['isInContent']){for(const _0x2e9909 of _0x1d472)for(const _0x448c6d of _0x5a8182['getRanges']())(_0x2e9909['isIntersecting'](_0x448c6d)||_0x1c9f91['isCollapsed']&&!_0x5a8182['isMultiRange']&&_0x5a8182['next']&&_0x448c6d['end']['isTouching'](_0x2e9909['start']))&&_0x263151['add'](_0x5a8182);}return _0x263151;}function getRangesOfBlockGroups(_0xb52ee9,_0x5478c7){let _0x4e3db4,_0xcdd7e2=0x0;const _0x644306=[],_0x2bb400=_0x5478c7['schema'];for(;_0xcdd7e2<_0xb52ee9['length'];){const _0x486480=_0xb52ee9[_0xcdd7e2],_0x161e79=_0xb52ee9[_0xcdd7e2+0x1];_0x4e3db4||(_0x4e3db4=_0x5478c7['createPositionBefore'](_0x486480)),_0x479669(_0x5478c7,_0x486480,_0x161e79)||(_0x644306['push'](_0x5478c7['createRange'](_0x4e3db4,_0x2bb400['isObject'](_0x486480)?_0x5478c7['createPositionAfter'](_0x486480):_0x5478c7['createPositionAt'](_0x486480,'end'))),_0x4e3db4=null),_0xcdd7e2++;}return _0x644306;}function _0x479669(_0x794fab,_0x23153b,_0x10f7f5){if(!_0x10f7f5)return!0x1;const _0x2f8add=_0x794fab['createPositionAfter'](_0x23153b),_0x24f749=_0x794fab['createPositionBefore'](_0x10f7f5);return _0x2f8add['isTouching'](_0x24f749);}const _0x302fed=0x64;function executeCommandForSuggestions(_0x43883a,_0x254286,_0x28500b){for(;_0x28500b['length'];){const _0x4649df=_0x28500b['splice'](0x0,_0x302fed);_0x43883a['change'](()=>{for(const _0x4b502a of _0x4649df)_0x4b502a['isInContent']&&_0x254286['execute'](_0x4b502a['id']);});}}class ExecuteOnAllSuggestionsCommand extends ckeditor5['Command']{['_command'];['_suggestions'];constructor(_0xd41608,_0x434eb0,_0x1b115c){super(_0xd41608),this['_command']=_0x434eb0,this['_suggestions']=_0x1b115c,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x5cd1a6=Array['from'](this['_suggestions']['values']())['some'](_0x3063f9=>_0x3063f9['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x5cd1a6;}['execute'](){const _0x5b51b4=sortSuggestions(Array['from'](this['_suggestions']['values']()));for(const _0x5c45a6 of _0x5b51b4){const _0x49a45f=_0x5c45a6['getRanges']();if(!this['editor']['model']['canEditAt'](_0x49a45f))return;}executeCommandForSuggestions(this['editor']['model'],this['_command'],_0x5b51b4);}}class ExecuteOnSelectedSuggestionsCommand extends ckeditor5['Command']{['_command'];['_suggestions'];['_selectedSuggestions'];constructor(_0x52e630,_0x11a514,_0x4ce30f){super(_0x52e630),this['_command']=_0x11a514,this['_suggestions']=_0x4ce30f,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x442b03=this['editor']['model']['document']['selection'],_0x5057a6=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=getSelectedSuggestions(_0x442b03,_0x5057a6),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0x33906d=sortSuggestions(Array['from'](this['_selectedSuggestions']));for(const _0x4679b4 of _0x33906d){const _0x19afc7=_0x4679b4['getRanges']();if(!this['editor']['model']['canEditAt'](_0x19afc7))return;}executeCommandForSuggestions(this['editor']['model'],this['_command'],_0x33906d);}}class Suggestion extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['type'];['subType'];['author'];['creator'];['isExternal'];['data'];['createdAt'];['_originalSuggestionId'];['_isDataLoaded']=!0x1;['_model'];['_onAccept'];['_onDiscard'];['_onAttributesChange'];['_markerNames'];constructor(_0xdc13f5,_0x3a3f22){super(),this['id']=_0x3a3f22['id'],this['type']=_0x3a3f22['type'],this['subType']=_0x3a3f22['subType']||null,this['author']=_0x3a3f22['author'],this['creator']=_0x3a3f22['creator']||_0x3a3f22['author'],this['isExternal']=Boolean(_0x3a3f22['attributes']&&_0x3a3f22['attributes']['@external']),this['data']=null,this['_originalSuggestionId']=_0x3a3f22['originalSuggestionId']||null,this['_model']=_0xdc13f5,this['_onAccept']=_0x3a3f22['onAccept'],this['_onDiscard']=_0x3a3f22['onDiscard'],this['_onAttributesChange']=_0x3a3f22['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x3a3f22['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 _0x35a0fe=this;for(;_0x35a0fe['previous'];)_0x35a0fe=_0x35a0fe['previous'];return _0x35a0fe;}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'](_0x550c32){this['_markerNames']['add'](_0x550c32);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0x1ce580=>this['_model']['markers']['get'](_0x1ce580))['filter'](_0x2c1914=>_0x2c1914);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0x52a871=>{for(const _0x469429 of this['getMarkers']())_0x52a871['removeMarker'](_0x469429);}),this['_markerNames']['clear']();}['removeMarker'](_0x2822ce){this['_model']['change'](_0x2eeba6=>{_0x2eeba6['removeMarker'](_0x2822ce);}),this['_markerNames']['delete'](_0x2822ce);}['addRange'](_0x5de1cb){const _0x2c525a='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0x2c525a),this['_model']['change'](_0x533f65=>{_0x533f65['addMarker'](_0x2c525a,{'range':_0x5de1cb,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x46a34c){for(const _0x283551 of this['getRanges']())if(_0x283551['isIntersecting'](_0x46a34c))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0x517e2f=>_0x517e2f['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x1793a0,_0x280b01)=>[..._0x1793a0,..._0x280b01['getItems']()],[]);}['getFirstRange'](){return this['getFirstMarker']()?.['getRange']()||null;}['getContainedElement'](){const _0x8de8ab=this['getRanges']();if(0x1!=_0x8de8ab['length'])return null;const _0x48e890=_0x8de8ab[0x0],_0x4d3f43=_0x48e890['start']['nodeAfter'],_0x7d1f5f=_0x48e890['end']['nodeBefore'];return _0x4d3f43 instanceof ckeditor5['ModelElement']?_0x4d3f43!=_0x7d1f5f?null:_0x4d3f43: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 _0x546120=[];let _0x39c8ac=this['head'];for(;_0x39c8ac;)_0x546120['push'](_0x39c8ac),_0x39c8ac=_0x39c8ac['next'];return _0x546120;}['setAttribute'](_0x45d193,_0x106e4f){const _0x29edc0=_0x1d6aee(this['attributes']);set(_0x29edc0,_0x45d193,_0x106e4f),_0x541aea(_0x29edc0,this['attributes'])||(this['attributes']=_0x29edc0,this['_onAttributesChange'](_0x29edc0));}['removeAttribute'](_0x50a098){const _0x25c0fd=_0x1d6aee(this['attributes']);unset(_0x25c0fd,_0x50a098),_0x541aea(_0x25c0fd,this['attributes'])||(this['attributes']=_0x25c0fd,this['_onAttributesChange'](this['attributes']));}['toJSON'](){return{'id':this['id'],'type':this['subType']?this['type']+':'+this['subType']:this['type'],'authorId':this['creator']['id'],'createdAt':this['createdAt'],'hasComments':this['hasComments'],'data':this['data'],'attributes':this['attributes']};}static['getMultiRangeId'](){return ckeditor5['uid']()['substr'](0x1,0x5);}}function getTranslation$5(_0x53cf81,_0x22e985,_0x1a9926){const _0x4c3816=_0x53cf81['t'],t=_0x53cf81['t'];switch(_0x22e985){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',_0x1a9926);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1a9926);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1a9926);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1a9926);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1a9926);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',_0x1a9926);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1a9926);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',_0x1a9926);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1a9926);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1a9926);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1a9926);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1a9926);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1a9926);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1a9926);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1a9926);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1a9926);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1a9926);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1a9926);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1a9926);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1a9926);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1a9926);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1a9926);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1a9926);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1a9926);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x1a9926);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'},_0x1a9926);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x1a9926);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x1a9926);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1a9926);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1a9926);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1a9926);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1a9926);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1a9926);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'},_0x1a9926);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1a9926);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1a9926);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1a9926);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1a9926);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'},_0x1a9926);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1a9926);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'},_0x1a9926);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_FOOTER_ROW':return t({'string':'footer\x20row','id':'FORMAT_FOOTER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x1a9926);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1a9926);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'},_0x1a9926);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1a9926);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'},_0x1a9926);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1a9926);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x1a9926);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x1a9926);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x1a9926);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1a9926);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'},_0x1a9926);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1a9926);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 _0x4c3816({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1a9926);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x4c3816({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1a9926);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1a9926);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'},_0x1a9926);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'},_0x1a9926);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'},_0x1a9926);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x22e985;}}class SuggestionDescriptionFactory{['_customCallbacks'];['_itemLabels'];['_itemLabelsCallbacks'];['_attributeLabels'];['_schema'];['_locale'];constructor(_0x469f7c,_0x331592){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x469f7c,this['_locale']=_0x331592;}['getDescriptions'](_0x4976de){const _0x39b9a8=[],_0x3e31b2=new Set(),_0x4deba5=new Set();for(let _0x562cd7=0x0;_0x562cd7<_0x4976de['length'];_0x562cd7++){const _0x5a23c8=_0x4976de[_0x562cd7];if(!_0x5a23c8['isInContent'])continue;const _0x49b739=this['_handleCustomCallbackDescription'](_0x5a23c8);if(_0x49b739){if(null!=_0x5a23c8['subType']){if(_0x3e31b2['has'](_0x5a23c8['subType']))continue;_0x3e31b2['add'](_0x5a23c8['subType']);}_0x39b9a8['push'](_0x49b739);}else{if('attribute'==_0x5a23c8['type']){const _0x186f35=_0x5a23c8['data']['key'];if(_0x4deba5['has'](_0x186f35))continue;_0x4deba5['add'](_0x5a23c8['data']['key']),_0x186f35==renameAttributeKey?this['_handleRenameSuggestionDescription'](_0x39b9a8,_0x5a23c8):this['_handleAttributeSuggestionDescription'](_0x39b9a8,_0x5a23c8);continue;}'insertion'!=_0x5a23c8['type']&&'deletion'!=_0x5a23c8['type']||this['_handleInsertRemoveSuggestionDescription'](_0x39b9a8,_0x5a23c8,_0x4976de[_0x562cd7+0x1]);}}return this['_resolveDescriptionItems'](_0x39b9a8);}['registerDescriptionCallback'](_0x5993ad){this['_customCallbacks']['push'](_0x5993ad);}['registerElementLabel'](_0x503aa7,_0x110251,_0xbbcee9=ckeditor5['priorities']['normal']){'function'==typeof _0x503aa7?ckeditor5['insertToPriorityArray'](this['_itemLabelsCallbacks'],{'matchingCallback':_0x503aa7,'label':_0x110251,'priority':_0xbbcee9}):this['_itemLabels']['set'](_0x503aa7,_0x110251);}['registerAttributeLabel'](_0x484626,_0x58b99c){this['_attributeLabels']['set'](_0x484626,_0x58b99c);}['getItemLabel'](_0x355552,_0x37e3af=0x1){let _0x8d26ed;for(const _0x1e2ef3 of this['_itemLabelsCallbacks'])if(_0x1e2ef3['matchingCallback'](_0x355552)){_0x8d26ed=_0x1e2ef3['label'];break;}return _0x8d26ed||(_0x8d26ed=this['_itemLabels']['get'](_0x355552['name'])),_0x8d26ed?_0x8d26ed(_0x37e3af):0x1!==_0x37e3af?_0x37e3af+'\x20'+_0x355552['name']+'s':''+_0x355552['name'];}['_addDescriptionItems'](_0x3da456,_0x434c8e){const _0x3fc844=_0x434c8e['getFirstRange']()['getWalker'](),_0x22b9a4='insertion'==_0x434c8e['type']?'add':'remove';for(const _0xb1eb85 of _0x3fc844){const _0x34aa31=_0xb1eb85['item'],_0x237adc=_0x3da456[_0x3da456['length']-0x1];if(_0x34aa31['is']('$textProxy'))_0x237adc&&_0x237adc['type']['indexOf']('Container')>-0x1&&_0x3da456['pop'](),_0x237adc&&'text'==_0x237adc['type']?_0x237adc[_0x22b9a4]+=_0x34aa31['data']:_0x3da456['push']({'type':'text','add':'add'==_0x22b9a4?_0x34aa31['data']:'','remove':'remove'==_0x22b9a4?_0x34aa31['data']:''});else{if(this['_schema']['isObject'](_0x34aa31)){const _0x546b01=_0x34aa31;if(_0x237adc&&_0x237adc['type']['indexOf']('Container')>-0x1&&_0x3da456['pop'](),'elementEnd'==_0xb1eb85['type'])continue;_0x237adc&&_0x237adc['type']==_0x22b9a4+'Object'&&_0x237adc['element']['name']==_0x546b01['name']?_0x237adc['quantity']++:_0x3da456['push']({'type':_0x22b9a4+'Object','element':_0x546b01,'quantity':0x1}),_0x3fc844['skip'](_0x2de1b6=>!('elementEnd'==_0x2de1b6['type']&&_0x2de1b6['item']==_0x34aa31));}else{if(this['_schema']['checkChild'](_0x34aa31,'$text')||_0x34aa31['is']('element','softBreak')){const _0x343600=_0x34aa31;if('add'==_0x22b9a4&&'elementStart'==_0xb1eb85['type']||'remove'==_0x22b9a4&&'elementEnd'==_0xb1eb85['type'])continue;if(_0x237adc&&-0x1==_0x237adc['type']['indexOf']('Container')){'text'==_0x237adc['type']&&(_0x237adc[_0x22b9a4]+='\x0a');continue;}let _0x4b4fff;if(_0x4b4fff='add'==_0x22b9a4?_0x343600['nextSibling']&&!this['_schema']['isObject'](_0x343600['nextSibling'])?_0x343600['nextSibling']:null:_0x343600['previousSibling']&&!this['_schema']['isObject'](_0x343600['previousSibling'])?_0x343600['previousSibling']:null,_0x343600['isEmpty']||_0x4b4fff&&_0x4b4fff['isEmpty']){const _0x8aa0d7=_0x4b4fff&&_0x4b4fff['isEmpty']?_0x4b4fff:_0x343600;_0x237adc&&_0x237adc['type']==_0x22b9a4+'EmptyContainer'&&_0x237adc['element']['name']==_0x8aa0d7['name']?_0x237adc['quantity']++:_0x3da456['push']({'type':_0x22b9a4+'EmptyContainer','element':_0x8aa0d7,'quantity':0x1});}else _0x3da456['push']({'type':_0x22b9a4+'Container','element':_0x343600});}}}}}['_resolveDescriptionItems'](_0x52d4ac){const _0x178188=this['_locale'],_0x21a7e0=[],_0x16ce0e=[],_0x1573b4=[];for(const _0x2a4d64 of _0x52d4ac)switch(_0x2a4d64['type']){case'text':if(_0x2a4d64['add']=_0x2a4d64['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x2a4d64['remove']=_0x2a4d64['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x2a4d64['add']&&''!=_0x2a4d64['remove']){_0x21a7e0['push']({'type':'replace','content':getTranslation$5(_0x178188,'REPLACE_TEXT',['\x22'+_0x2a4d64['remove']+'\x22','\x22'+_0x2a4d64['add']+'\x22'])});continue;}if(null!=_0x2a4d64['add']['match'](/^ +$/)){_0x21a7e0['push']({'type':'insertion','content':getTranslation$5(_0x178188,'*Insert:*\x20%0',getTranslation$5(_0x178188,'ELEMENT_SPACE',_0x2a4d64['add']['length']))});continue;}if(null!=_0x2a4d64['remove']['match'](/^ +$/)){_0x21a7e0['push']({'type':'deletion','content':getTranslation$5(_0x178188,'*Remove:*\x20%0',getTranslation$5(_0x178188,'ELEMENT_SPACE',_0x2a4d64['remove']['length']))});continue;}if(''!=_0x2a4d64['add']){_0x21a7e0['push']({'type':'insertion','content':getTranslation$5(_0x178188,'*Insert:*\x20%0','\x22'+_0x2a4d64['add']+'\x22')});continue;}_0x21a7e0['push']({'type':'deletion','content':getTranslation$5(_0x178188,'*Remove:*\x20%0','\x22'+_0x2a4d64['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x21a7e0['push']({'type':'insertion','content':getTranslation$5(_0x178188,'*Insert:*\x20%0',this['getItemLabel'](_0x2a4d64['element'],_0x2a4d64['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x21a7e0['push']({'type':'deletion','content':getTranslation$5(_0x178188,'*Remove:*\x20%0',this['getItemLabel'](_0x2a4d64['element'],_0x2a4d64['quantity']))});continue;case'addContainer':_0x21a7e0['push']({'type':'insertion','content':getTranslation$5(_0x178188,'*Split:*\x20%0',this['getItemLabel'](_0x2a4d64['element'],_0x2a4d64['quantity']))});continue;case'removeContainer':_0x21a7e0['push']({'type':'deletion','content':getTranslation$5(_0x178188,'*Merge:*\x20%0',this['getItemLabel'](_0x2a4d64['element'],_0x2a4d64['quantity']))});continue;case'addFormat':_0x16ce0e['push'](_0x2a4d64['key']);continue;case'removeFormat':_0x1573b4['push'](_0x2a4d64['key']);continue;default:_0x21a7e0['push'](_0x2a4d64);}if(_0x16ce0e['length']){const _0x5add19=_0x16ce0e['map'](_0x2cf875=>this['_attributeLabels']['has'](_0x2cf875)?this['_attributeLabels']['get'](_0x2cf875):_0x2cf875)['join'](',\x20');_0x21a7e0['push']({'type':'format','content':getTranslation$5(this['_locale'],'*Set\x20format:*\x20%0',_0x5add19)});}if(_0x1573b4['length']){const _0x33fb70=_0x1573b4['map'](_0x574cda=>this['_attributeLabels']['has'](_0x574cda)?this['_attributeLabels']['get'](_0x574cda):_0x574cda)['join'](',\x20');_0x21a7e0['push']({'type':'format','content':getTranslation$5(this['_locale'],'*Remove\x20format:*\x20%0',_0x33fb70)});}return _0x21a7e0;}['_handleCustomCallbackDescription'](_0x195497){for(const _0x453507 of this['_customCallbacks']){const _0x4d7922=_0x453507(_0x195497);if(_0x4d7922&&'type'in _0x4d7922)return _0x4d7922;}}['_handleAttributeSuggestionDescription'](_0x315309,_0x3ed871){const _0x662dc9=_0x3ed871['data'],_0xd57bdd=void 0x0===_0x662dc9['newValue']?'removeFormat':'addFormat';_0x315309['push']({'type':_0xd57bdd,'key':_0x662dc9['key']});}['_handleRenameSuggestionDescription'](_0x208d27,_0x339341){_0x208d27['push']({'type':'format','content':getTranslation$5(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x339341['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x268c1e,_0x2d01fc,_0x1a1602){if(this['_addDescriptionItems'](_0x268c1e,_0x2d01fc),_0x1a1602&&_0x1a1602['getFirstRange']()&&!_0x2d01fc['getFirstRange']()['end']['isEqual'](_0x1a1602['getFirstRange']()['start'])){const _0x4d1419=_0x268c1e[_0x268c1e['length']-0x1],_0x59d2e1='insertion'==_0x2d01fc['type']?'add':'remove';_0x4d1419&&'text'==_0x4d1419['type']&&(_0x4d1419[_0x59d2e1]+='\x0a');}}}class TrackChangesAIAssistant extends ckeditor5['Plugin']{['afterInit'](){const _0x611df5=this['editor'],_0x162315=_0x611df5['plugins']['get']('TrackChangesEditing');_0x611df5['commands']['get']('showAIAssistant')&&_0x162315['enableCommand']('showAIAssistant');}}class _0x315aa2 extends ckeditor5['Plugin']{['afterInit'](){const _0x8b7ac4=this['editor'],_0x3d180c=_0x8b7ac4['plugins']['get']('TrackChangesEditing');_0x8b7ac4['commands']['get']('toggleAi')&&_0x3d180c['enableCommand']('toggleAi');}}class TrackChangesAIQuickActions extends ckeditor5['Plugin']{['afterInit'](){const _0x3b7a45=this['editor'],_0x2687e7=_0x3b7a45['plugins']['get']('TrackChangesEditing');_0x3b7a45['commands']['get']('aiQuickAction')&&_0x2687e7['enableCommand']('aiQuickAction');}}class TrackChangesAlignment extends ckeditor5['Plugin']{['afterInit'](){const _0x4fdb99=this['editor'],_0x1adb60=_0x4fdb99['locale'];if(!_0x4fdb99['plugins']['has']('AlignmentEditing'))return;const _0x325b67=_0x4fdb99['plugins']['get']('TrackChangesEditing');_0x325b67['enableDefaultAttributesIntegration']('alignment'),_0x325b67['descriptionFactory']['registerAttributeLabel']('alignment',getTranslation$5(_0x1adb60,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x159605=this['editor'],_0x2b361d=_0x159605['locale'];_0x159605['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1fb5e2=>{if('formatBlock'!=_0x1fb5e2['type'])return;const {data:_0x283294}=_0x1fb5e2;if(_0x283294&&'alignment'==_0x283294['commandName']){const _0x2930e0=_0x283294['commandParams'][0x0]['value'];return{'type':'format','content':getTranslation$5(_0x2b361d,'*Format:*\x20%0',function(_0x5c1f9a){switch(_0x5c1f9a){case'left':return getTranslation$5(_0x2b361d,'FORMAT_ALIGN_TO_LEFT');case'right':return getTranslation$5(_0x2b361d,'FORMAT_ALIGN_TO_RIGHT');case'center':return getTranslation$5(_0x2b361d,'FORMAT_ALIGN_TO_CENTER');case'justify':return getTranslation$5(_0x2b361d,'FORMAT_JUSTIFY_TEXT');}}(_0x2930e0))};}});}}const basicStylesPlugins=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class TrackChangesBasicStyles extends ckeditor5['Plugin']{['afterInit'](){const _0x471771=this['editor'],_0x3e14e9=_0x471771['plugins']['get']('TrackChangesEditing'),_0x50052b=_0x471771['locale'];for(const _0x5da839 of basicStylesPlugins){if(!_0x471771['plugins']['has'](_0x5da839))continue;const _0x1d196a=_0x5da839['slice'](0x0,-0x7)['toLowerCase'](),_0x2b4a56='FORMAT_'+_0x1d196a['toUpperCase']();_0x3e14e9['enableDefaultAttributesIntegration'](_0x1d196a),_0x3e14e9['descriptionFactory']['registerAttributeLabel'](_0x1d196a,getTranslation$5(_0x50052b,_0x2b4a56));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2648cd=this['editor'],_0x1ff8b3=_0x2648cd['locale'],_0x27277d=_0x2648cd['plugins']['get']('TrackChangesEditing');function _0x310e4f(_0x1006ff,_0x17b207){_0x27277d['descriptionFactory']['registerDescriptionCallback'](_0x11ba44=>{if('formatInline'!=_0x11ba44['type'])return;const {data:_0x58acc6}=_0x11ba44;return _0x58acc6&&_0x58acc6['commandName']===_0x1006ff?_0x58acc6['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$5(_0x1ff8b3,'*Format:*\x20%0',_0x17b207)}:{'type':'format','content':getTranslation$5(_0x1ff8b3,'*Remove\x20format:*\x20%0',_0x17b207)}:void 0x0;});}_0x310e4f('bold',getTranslation$5(_0x1ff8b3,'FORMAT_BOLD')),_0x310e4f('italic',getTranslation$5(_0x1ff8b3,'FORMAT_ITALIC')),_0x310e4f('underline',getTranslation$5(_0x1ff8b3,'FORMAT_UNDERLINE')),_0x310e4f('code',getTranslation$5(_0x1ff8b3,'FORMAT_CODE')),_0x310e4f('strikethrough',getTranslation$5(_0x1ff8b3,'FORMAT_STRIKETHROUGH')),_0x310e4f('subscript',getTranslation$5(_0x1ff8b3,'FORMAT_SUBSCRIPT')),_0x310e4f('superscript',getTranslation$5(_0x1ff8b3,'FORMAT_SUPERSCRIPT'));}}class TrackChangesBlockQuote extends ckeditor5['Plugin']{['afterInit'](){const _0xee11f3=this['editor'],_0x42f3e6=_0xee11f3['locale'];if(!_0xee11f3['plugins']['has']('BlockQuoteEditing'))return;const _0x386690=_0xee11f3['plugins']['get']('TrackChangesEditing'),_0x200654=this['editor']['commands']['get']('blockQuote');_0x386690['enableCommand']('blockQuote',(_0xb87ea2,_0xfad3f3={})=>{const _0x57a39b=this['editor']['model']['document']['selection'],_0x46e3a5=_0xfad3f3&&void 0x0!==_0xfad3f3['forceValue']?_0xfad3f3['forceValue']:!_0x200654['value'];let _0x699569=[];if(_0x46e3a5){const _0xe16022=Array['from'](_0x57a39b['getSelectedBlocks']())['filter'](_0x11c525=>isInQuote(_0x11c525)||checkCanBeQuoted(_0x11c525,this['editor']['model']['schema']));_0x699569=getRangesOfBlockGroups(_0xe16022,_0xee11f3['model']);}else{const _0x1498c4=Array['from'](_0x57a39b['getSelectedBlocks']())['filter'](_0x17998c=>isInQuote(_0x17998c));_0x699569=getRangesOfBlockGroups(_0x1498c4,_0xee11f3['model']);}_0xee11f3['model']['change'](()=>{for(const _0x390a0d of _0x699569)_0x386690['markBlockFormat'](_0x390a0d,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x46e3a5}]});});}),_0x386690['descriptionFactory']['registerDescriptionCallback'](_0x3a9b72=>{const {data:_0x1f88b3}=_0x3a9b72;if(_0x1f88b3&&'blockQuote'==_0x1f88b3['commandName']){const _0xd8be4c=getTranslation$5(_0x42f3e6,'ELEMENT_BLOCK_QUOTE');return _0x1f88b3['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$5(_0x42f3e6,'*Set\x20format:*\x20%0',_0xd8be4c)}:{'type':'format','content':getTranslation$5(_0x42f3e6,'*Remove\x20format:*\x20%0',_0xd8be4c)};}});}}function checkCanBeQuoted(_0x5dba44,_0xbbe0e8){const _0x480261=_0xbbe0e8['checkChild'](_0x5dba44['parent'],'blockQuote'),_0x4fd17c=_0xbbe0e8['checkChild'](['$root','blockQuote'],_0x5dba44);return _0x480261&&_0x4fd17c;}function isInQuote(_0x313a6d){return'blockQuote'==_0x313a6d['parent']['name'];}class _0x268849 extends ckeditor5['Plugin']{['afterInit'](){const _0x5ec1a5=this['editor'],_0x59f96e=_0x5ec1a5['locale'],_0x92d41e=_0x5ec1a5['plugins']['get']('TrackChangesEditing');_0x5ec1a5['plugins']['has']('BookmarkEditing')&&(_0x92d41e['enableCommand']('insertBookmark'),_0x92d41e['enableDefaultAttributesIntegration']('updateBookmark'),_0x92d41e['descriptionFactory']['registerDescriptionCallback'](_0x4db76d=>{if('insertion'!=_0x4db76d['type']&&'deletion'!=_0x4db76d['type']&&'attribute'!=_0x4db76d['type'])return;const _0x58dfe7=_0x4db76d['getContainedElement']();if(null==_0x58dfe7)return;if(!_0x58dfe7['is']('element','bookmark'))return;const _0x5c9d31=_0x58dfe7['getAttribute']('bookmarkId');if('insertion'==_0x4db76d['type'])return{'type':'insertion','content':getTranslation$5(_0x59f96e,'*Insert:*\x20%0','\x22'+_0x5c9d31+'\x22\x20'+getTranslation$5(_0x59f96e,'ELEMENT_BOOKMARK'))};if('deletion'==_0x4db76d['type'])return{'type':'deletion','content':getTranslation$5(_0x59f96e,'*Remove:*\x20%0','\x22'+_0x5c9d31+'\x22\x20'+getTranslation$5(_0x59f96e,'ELEMENT_BOOKMARK'))};const {data:_0x1ea6f1}=_0x4db76d;if(!_0x1ea6f1||'bookmarkId'!=_0x1ea6f1['key'])return;return{'type':'format','content':getTranslation$5(_0x59f96e,'*Set\x20bookmark:*\x20%0','\x22'+_0x1ea6f1['newValue']+'\x22')};}));}}class _0x3b029f extends ckeditor5['Plugin']{['afterInit'](){const _0x3d5371=this['editor'];_0x3d5371['plugins']['has']('CaseChange')&&(_0x3d5371['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x3d5371['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x3d5371['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}}class _0x188d46 extends ckeditor5['Plugin']{['afterInit'](){const _0x5de6ff=this['editor'];_0x5de6ff['commands']['get']('ckbox')&&_0x5de6ff['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}}class _0x2da28c extends ckeditor5['Plugin']{['afterInit'](){const _0x55028c=this['editor'];if(!_0x55028c['plugins']['has']('CodeBlock'))return;const _0x29a15b=_0x55028c['plugins']['get']('TrackChangesEditing'),_0x375f59=_0x55028c['locale'],_0x141ee3=_0x55028c['config']['get']('codeBlock')['languages'],_0x319475=_0x55028c['commands']['get']('codeBlock');_0x29a15b['enableCommand']('indentCodeBlock'),_0x29a15b['enableCommand']('outdentCodeBlock'),_0x29a15b['enableCommand']('codeBlock',(_0x4ee0a9,_0x3dbe9f={})=>{const _0x47f9da=_0x55028c['model'],_0x3944db=_0x55028c['model']['document']['selection'],_0x306b82=_0x3dbe9f&&void 0x0!==_0x3dbe9f['forceValue']?_0x3dbe9f['forceValue']:!_0x319475['value'];let _0x1d7bcd;_0x3dbe9f['language']||(_0x3dbe9f['language']=_0x141ee3[0x0]['language']),_0x1d7bcd=_0x306b82?Array['from'](_0x3944db['getSelectedBlocks']())['filter'](_0x288016=>_0x282b75(_0x288016)||_0x4a1f11(_0x288016,_0x47f9da['schema'])):Array['from'](_0x3944db['getSelectedBlocks']())['filter'](_0x5bfeb3=>_0x282b75(_0x5bfeb3));const _0x3c0a95=getRangesOfBlockGroups(_0x1d7bcd,_0x47f9da);_0x47f9da['change'](()=>{for(const _0x131881 of _0x3c0a95)_0x29a15b['markBlockFormat'](_0x131881,{'commandName':'codeBlock','commandParams':[{..._0x3dbe9f,'forceValue':_0x306b82}],'formatGroupId':'blockName'});});}),(_0x29a15b['descriptionFactory']['registerElementLabel']('codeBlock',_0x1b1a23=>getTranslation$5(_0x375f59,'ELEMENT_CODE_BLOCK',_0x1b1a23)),_0x29a15b['descriptionFactory']['registerDescriptionCallback'](_0x4cdbcd=>{if('formatBlock'!=_0x4cdbcd['type'])return;const _0x102175=_0x375f59['t'],{data:_0xfec61a}=_0x4cdbcd;if(!_0xfec61a||'codeBlock'!=_0xfec61a['commandName'])return;const _0x277a18=_0xfec61a['commandParams'][0x0]['language'],_0x54b64b=_0x141ee3['find'](_0x24cd8a=>_0x24cd8a['language']===_0x277a18)['label'],_0x266f9b=_0x102175(_0x54b64b)['toLowerCase']();return _0xfec61a['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$5(_0x375f59,'*Set\x20format:*\x20%0',getTranslation$5(_0x375f59,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x266f9b+')')}:{'type':'format','content':getTranslation$5(_0x375f59,'*Remove\x20format:*\x20%0',getTranslation$5(_0x375f59,'ELEMENT_CODE_BLOCK',0x1))};}));}}function _0x4a1f11(_0x362091,_0x1d6f35){return!_0x362091['is']('rootElement')&&!_0x1d6f35['isLimit'](_0x362091)&&_0x1d6f35['checkChild'](_0x362091['parent'],'codeBlock');}function _0x282b75(_0x5b18e2){return'codeBlock'==_0x5b18e2['name'];}class TrackChangesComments extends ckeditor5['Plugin']{['afterInit'](){const _0xb2bb8=this['editor'];if(!_0xb2bb8['plugins']['has']('CommentsEditing'))return;_0xb2bb8['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}}class TrackChangesDeleteCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Delete']];}['init'](){const _0x20a3ce=this['editor'],_0x443b6d=_0x20a3ce['plugins']['get']('TrackChangesEditing');_0x443b6d['enableCommand']('delete');const _0x4fd577=_0x20a3ce['commands']['get']('deleteForward');_0x443b6d['enableCommand']('deleteForward',(_0x4049f1,_0x54c1cb={})=>{const _0x20078f=_0x20a3ce['model']['createSelection'](_0x20a3ce['model']['document']['selection']);_0x20078f['isCollapsed']&&_0x20a3ce['model']['modifySelection'](_0x20078f,{'direction':'forward','unit':_0x54c1cb['unit']});const _0x8bea82=_0x20078f['getFirstRange'](),_0x570421=ckeditor5['ModelLiveRange']['fromRange'](_0x8bea82);let _0x128c47;_0x4049f1(_0x54c1cb),_0x128c47='$graveyard'==_0x570421['root']['rootName']?_0x20a3ce['model']['createRange'](_0x8bea82['start']):_0x20a3ce['model']['createRange'](_0x570421['start'],_0x570421['end']),_0x570421['detach'](),_0x20a3ce['model']['enqueueChange'](_0x4fd577['buffer']['batch'],_0x2536fb=>{_0x4fd577['buffer']['lock'](),_0x2536fb['setSelection'](_0x2536fb['createRange'](_0x128c47['end'])),_0x4fd577['buffer']['unlock']();});});}}class TrackChangesList extends ckeditor5['Plugin']{['afterInit'](){const _0xb764dd=this['editor'];if(!_0xb764dd['plugins']['has']('ListEditing'))return;const _0x5a29ae=_0xb764dd['locale'],_0x384b2d=_0xb764dd['plugins']['get']('TrackChangesEditing'),_0x508e37=_0xb764dd['plugins']['has']('TodoListEditing'),_0x52f60d=!!_0xb764dd['config']['get']('list.multiBlock');function _0x2df34d(_0x13015b){return{'type':'format','content':''+getTranslation$5(_0x5a29ae,'*Set\x20format:*\x20%0',_0x13015b)};}function _0x32cb2c(_0x35fbc8){return{'type':'format','content':''+getTranslation$5(_0x5a29ae,'*Remove\x20format:*\x20%0',_0x35fbc8)};}_0x384b2d['enableDefaultAttributesIntegration']('numberedList'),_0x384b2d['enableDefaultAttributesIntegration']('bulletedList'),_0x384b2d['enableDefaultAttributesIntegration']('customNumberedList'),_0x384b2d['enableDefaultAttributesIntegration']('customBulletedList'),_0x384b2d['enableDefaultAttributesIntegration']('indentList'),_0x384b2d['enableDefaultAttributesIntegration']('outdentList'),_0x384b2d['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x384b2d['enableDefaultAttributesIntegration']('splitListItemBefore'),_0x52f60d&&(_0x384b2d['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x384b2d['enableDefaultAttributesIntegration']('mergeListItemForward')),_0x508e37&&(_0x384b2d['enableDefaultAttributesIntegration']('todoList'),_0x384b2d['enableDefaultAttributesIntegration']('checkTodoList'),_0x384b2d['descriptionFactory']['registerDescriptionCallback'](_0x3ec6fe=>{const {data:_0x3b3a55}=_0x3ec6fe;if(_0x3b3a55&&'todoListChecked'==_0x3b3a55['key'])return{'type':'format','content':_0x3b3a55['newValue']?getTranslation$5(_0x5a29ae,'*Check\x20item*'):getTranslation$5(_0x5a29ae,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0x36636b=>{if(_0x36636b['batch']['isUndo'])return!0x1;let _0x33d0a7=!0x1;const _0x4dd847=_0x384b2d['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0xa2b213=>'todoListChecked'===_0x384b2d['_getAttributeKey'](_0xa2b213));for(const _0x38ab7d of _0x4dd847){'todo'!=_0x38ab7d['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x384b2d['_findSuggestions'](_0x38ab7d['getFirstRange'](),'attribute')['find'](_0x273fc6=>'listType'===_0x384b2d['_getAttributeKey'](_0x273fc6['suggestion']))||(_0x36636b['removeMarker'](_0x38ab7d['getFirstMarker']()),_0x33d0a7=!0x0));}return _0x33d0a7;})),_0x384b2d['descriptionFactory']['registerAttributeLabel']('listIndent',getTranslation$5(_0x5a29ae,'FORMAT_INDENT'));const _0x1fdbeb={'type':'format','content':''};_0x384b2d['descriptionFactory']['registerDescriptionCallback'](_0x2ab19b=>{const {data:_0x5d3220}=_0x2ab19b;if(!_0x5d3220||'listType'!=_0x5d3220['key'])return;let _0x2accf3=_0x2ab19b['head'];for(;_0x2accf3;){if(_0x2accf3['data']&&(('listStyle'==_0x2accf3['data']['key']||'listMarkerStyle'==_0x2accf3['data']['key'])&&(_0x2accf3['data']['newValue']&&'default'!=_0x2accf3['data']['newValue']||'default'!=_0x2accf3['data']['oldValue']&&!_0x5d3220['newValue'])||!_0x52f60d&&_0x2accf3['data']['key']==renameAttributeKey))return _0x1fdbeb;_0x2accf3=_0x2accf3['next'];}if(null==_0x5d3220['newValue'])switch(_0x5d3220['oldValue']){case'bulleted':return _0x32cb2c(getTranslation$5(_0x5a29ae,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x32cb2c(getTranslation$5(_0x5a29ae,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x32cb2c(getTranslation$5(_0x5a29ae,'ELEMENT_TODO_LIST'));}switch(_0x5d3220['newValue']){case'bulleted':return _0x2df34d(getTranslation$5(_0x5a29ae,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x2df34d(getTranslation$5(_0x5a29ae,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x2df34d(getTranslation$5(_0x5a29ae,'ELEMENT_TODO_LIST'));}}),_0x384b2d['descriptionFactory']['registerDescriptionCallback'](_0xf498d1=>{const {data:_0x4871a0}=_0xf498d1;if(_0x4871a0&&'listIndent'==_0x4871a0['key'])return null==_0x4871a0['newValue']||null==_0x4871a0['oldValue']&&0x0==_0x4871a0['newValue']?_0x1fdbeb:void 0x0;}),_0x384b2d['descriptionFactory']['registerDescriptionCallback'](_0x1ffe8e=>{if('attribute'!=_0x1ffe8e['type'])return;const {data:_0x3ccf9a}=_0x1ffe8e;if(!_0x3ccf9a||'listItemId'!=_0x3ccf9a['key'])return;const _0x45bd4b=checkSiblingsListItemId(_0x1ffe8e);return'newValue'==_0x45bd4b?{'type':'format','content':getTranslation$5(_0x5a29ae,'*Merge:*\x20list\x20item')}:'oldValue'==_0x45bd4b?{'type':'format','content':getTranslation$5(_0x5a29ae,'*Split:*\x20list\x20item')}:_0x1fdbeb;}),_0xb764dd['model']['document']['registerPostFixer'](_0x3c9b06=>this['listItemIdFixer'](_0x3c9b06)),_0xb764dd['model']['document']['registerPostFixer'](_0x150763=>this['noTrackChangesFixer'](_0x150763)),_0xb764dd['model']['document']['on']('change:data',(_0x415f67,_0x36b838)=>{if(_0x36b838['isUndo']||!_0x36b838['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x5ddae2){if(_0x5ddae2['batch']['isUndo']||!_0x5ddae2['batch']['isLocal'])return!0x1;let _0x362841=!0x1;const _0x38f34f=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x112f25=>_0x112f25['data']&&'listItemId'==_0x112f25['data']['key'])['filter'](_0x192c7f=>_0x192c7f['data']['newValue']&&_0x192c7f['data']['oldValue']);for(const _0xa6dc47 of _0x38f34f)checkSiblingsListItemId(_0xa6dc47)||(_0x5ddae2['removeMarker'](_0xa6dc47['getFirstMarker']()),_0x362841=!0x0);return _0x362841;}['noTrackChangesFixer'](_0x50ac11){if(_0x50ac11['batch']['isUndo']||!_0x50ac11['batch']['isLocal'])return!0x1;const _0x2c0b8c=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x2c0b8c['trackChangesCommand']['value'])return!0x1;let _0x21c77c=!0x1;const _0x2144e0=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'],_0x4e5ba5=this['editor']['model']['document']['differ']['getChanges']()['filter'](_0x2df88d=>'attribute'==_0x2df88d['type'])['filter'](_0x19a162=>_0x2144e0['includes'](_0x19a162['attributeKey']));if(0x0==_0x4e5ba5['length'])return _0x21c77c;for(const _0x29518e of _0x4e5ba5){const _0x5eac85=_0x2c0b8c['_findSuggestions'](_0x29518e['range'],'attribute')['filter'](_0x1f06e1=>!_0x1f06e1['meta']['isNextTo'])['map'](_0x470eb9=>_0x470eb9['suggestion'])['filter'](_0x2bf2f=>{const _0x201409=_0x2c0b8c['_getAttributeKey'](_0x2bf2f);return _0x2144e0['includes'](_0x201409);});if(_0x5eac85['length']){for(const _0x55582a of _0x5eac85)_0x50ac11['removeMarker'](_0x55582a['getFirstMarker']());_0x21c77c=!0x0;}}return _0x21c77c;}['assureChains'](){const _0x5129ab=this['editor']['plugins']['get']('TrackChangesEditing'),_0x176df0=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'];let _0x2b5005;const _0x48a683=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x13a4d9=>{if(_0x13a4d9['data']['oldRange']||!_0x13a4d9['data']['newRange'])return null;if(!_0x13a4d9['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0xa98fd}=splitSuggestionMarkerName(_0x13a4d9['name']);if(!_0x5129ab['hasSuggestion'](_0xa98fd))return null;const _0x1d7296=_0x5129ab['getSuggestion'](_0xa98fd);return _0x176df0['includes'](_0x1d7296['data']['key']);})['map'](_0xc22035=>{const {id:_0x550cda}=splitSuggestionMarkerName(_0xc22035['name']),_0x350578=_0x5129ab['getSuggestion'](_0x550cda);return _0x2b5005=_0x350578['attributes']['groupId'],_0x350578['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x48a683['size'])return;const _0xb78b16=_0x5129ab['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x313e70=>'attribute'==_0x313e70['type']&&_0x313e70['data']&&_0x176df0['includes'](_0x313e70['data']['key'])&&_0x313e70['attributes']['groupId']!=_0x2b5005)['map'](_0x5c5097=>({'listItem':_0x5c5097['getFirstRange']()['start']['nodeAfter'],'groupId':_0x5c5097['attributes']['groupId']})),_0x50e523=new Set();for(const {groupId:_0x13b158,listItem:_0x44d362}of _0xb78b16)_0x48a683['has'](_0x44d362)&&_0x50e523['add'](_0x13b158);for(const _0x3e9432 of _0x5129ab['getSuggestions']())_0x50e523['has'](_0x3e9432['attributes']['groupId'])&&_0x3e9432['setAttribute']('groupId',_0x2b5005);}['_supportLegacySuggestions'](){const _0x4f70c7=this['editor'],_0x3ea33d=_0x4f70c7['locale'],_0x32cd77=_0x4f70c7['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x32cd77['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0x405b0e,_0x155c3d){const _0x4fec60=[];for(let _0x1a3511 of _0x405b0e)_0x1a3511['start']['nodeAfter']===_0x1a3511['end']['parent']&&(_0x1a3511=_0x4f70c7['model']['createRange'](_0x4f70c7['model']['createPositionAt'](_0x1a3511['start']['nodeAfter'],0x0))),_0x4fec60['push'](_0x1a3511);_0x4f70c7['model']['change'](_0x5f3b8f=>{const _0x563947=_0x4f70c7['model']['document']['selection'],_0x29a6f3=Array['from'](_0x563947['getRanges']())['map'](_0x58c1f1=>ckeditor5['ModelLiveRange']['fromRange'](_0x58c1f1));_0x5f3b8f['setSelection'](_0x4fec60),_0x4f70c7['commands']['get'](_0x155c3d['commandName'])['refresh'](),_0x155c3d['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x4f70c7['execute'](_0x155c3d['commandName'],..._0x155c3d['commandParams']),_0x5f3b8f['setSelection'](_0x29a6f3);for(const _0x98fcb4 of _0x29a6f3)_0x98fcb4['detach']();});}),_0x32cd77['descriptionFactory']['registerElementLabel'](function(_0x1e3896){const _0x32168d=!_0x4f70c7['model']['schema']['isObject'](_0x1e3896),_0x480bd0=_0x1e3896['previousSibling'],_0x13d871=_0x1e3896['nextSibling'],_0x380aec=_0x1e3896['getAttribute']('listItemId'),_0x5b7140=!_0x480bd0||_0x480bd0['getAttribute']('listItemId')!==_0x380aec,_0xadb289=!_0x13d871||_0x13d871['getAttribute']('listItemId')!==_0x380aec;return _0x32168d&&Boolean(_0x380aec)&&_0x5b7140&&_0xadb289;},_0x4162ac=>getTranslation$5(_0x3ea33d,'ELEMENT_LIST_ITEM',_0x4162ac));}['_registerLegacyDescription'](){const _0x473466=this['editor'],_0x3d0af1=_0x473466['locale'];function _0xa9161a(_0x19d89a){const _0x39b13f=_0x473466['commands']['get']('bulletedList')['value'],_0x41c65a=_0x473466['commands']['get']('numberedList')['value'];return'numberedList'===_0x19d89a?_0x39b13f:_0x41c65a;}_0x473466['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x3bb192){if('formatBlock'!=_0x3bb192['type'])return;const {data:_0x393ae2}=_0x3bb192;if(!_0x393ae2)return;let _0x28fc7a,_0x2ecb50,_0x2b6b71,_0x271015;switch(_0x393ae2['commandName']){case'bulletedList':_0x2b6b71=_0x393ae2['commandParams'][0x0]['forceValue'],_0x271015=_0xa9161a(_0x393ae2['commandName']),_0x28fc7a=_0x2b6b71?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x271015&&_0x473466['config']['get']('list.multiBlock')||(_0x28fc7a='*Change\x20to:*\x20%0'),_0x2ecb50={'type':'format','content':getTranslation$5(_0x3d0af1,_0x28fc7a,getTranslation$5(_0x3d0af1,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x2b6b71=_0x393ae2['commandParams'][0x0]['forceValue'],_0x271015=_0xa9161a(_0x393ae2['commandName']),_0x28fc7a=_0x2b6b71?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x271015&&_0x473466['config']['get']('list.multiBlock')||(_0x28fc7a='*Change\x20to:*\x20%0'),_0x2ecb50={'type':'format','content':getTranslation$5(_0x3d0af1,_0x28fc7a,getTranslation$5(_0x3d0af1,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x28fc7a='*Indent:*\x20%0',_0x2ecb50={'type':'format','content':getTranslation$5(_0x3d0af1,_0x28fc7a,getTranslation$5(_0x3d0af1,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x28fc7a=function(_0x59b636){const _0x253f45=_0x59b636['getFirstRange']();let _0x15f56e=_0x253f45['start']['nodeAfter'];for(;_0x15f56e&&_0x253f45['containsItem'](_0x15f56e);){if(_0x15f56e['getAttribute']('listIndent')>0x0)return!0x1;_0x15f56e=_0x15f56e['nextSibling'];}return!0x0;}(_0x3bb192)?getTranslation$5(_0x3d0af1,'*Format:*\x20remove\x20from\x20%0',getTranslation$5(_0x3d0af1,function(_0x22a1b1){return'ELEMENT_'+_0x22a1b1['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x3bb192))):getTranslation$5(_0x3d0af1,'*Outdent:*\x20%0',getTranslation$5(_0x3d0af1,'ELEMENT_LIST_ITEM')),_0x2ecb50={'type':'format','content':_0x28fc7a};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x393ae2['multipleBlocks']&&(_0x28fc7a='*Merge:*\x20%0',_0x2ecb50={'type':'deletion','content':getTranslation$5(_0x3d0af1,_0x28fc7a,getTranslation$5(_0x3d0af1,'ELEMENT_LIST_ITEM'))});}return _0x2ecb50;});}}function checkSiblingsListItemId(_0x1072f8){let _0x25ad52=_0x1072f8['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x25ad52;){const _0x253645=_0x25ad52['getAttribute']('listItemId');if(!_0x253645)return!0x1;if(_0x253645==_0x1072f8['data']['newValue'])return'newValue';if(_0x253645==_0x1072f8['data']['oldValue'])return'oldValue';_0x25ad52=_0x25ad52['previousSibling'];}return!0x1;}class TrackChangesDocumentListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x43ec1f=this['editor']['config']['get']('list.properties'),_0x56b637=this['editor']['plugins']['get']('TrackChangesEditing');_0x43ec1f['styles']&&_0x56b637['enableDefaultAttributesIntegration']('listStyle'),_0x43ec1f['reversed']&&_0x56b637['enableDefaultAttributesIntegration']('listReversed'),_0x43ec1f['startIndex']&&_0x56b637['enableDefaultAttributesIntegration']('listStart');const _0x5775fa={'type':'format','content':''};_0x56b637['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x21c195=this['editor']['locale'];_0x56b637['descriptionFactory']['registerAttributeLabel']('listReversed',getTranslation$5(_0x21c195,'FORMAT_LIST_REVERSED')),_0x56b637['descriptionFactory']['registerDescriptionCallback'](_0x4c9278=>{const {data:_0x18ba7e}=_0x4c9278;if(_0x18ba7e&&'listReversed'==_0x18ba7e['key'])return null==_0x18ba7e['newValue']||0x0==_0x18ba7e['newValue']&&null==_0x18ba7e['oldValue']?_0x5775fa:void 0x0;}),_0x56b637['descriptionFactory']['registerAttributeLabel']('listStart',getTranslation$5(_0x21c195,'FORMAT_LIST_START')),_0x56b637['descriptionFactory']['registerDescriptionCallback'](_0x26af37=>{const {data:_0x264643}=_0x26af37;if(_0x264643&&'listStart'==_0x264643['key'])return null==_0x264643['newValue']||0x1==_0x264643['newValue']&&null==_0x264643['oldValue']?_0x5775fa:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x52df76=>{if(_0x52df76['batch']['isUndo'])return!0x1;let _0x2173b3=!0x1;const _0x389859=_0x56b637['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x1c9320=>{const _0x598557=_0x56b637['_getAttributeKey'](_0x1c9320);return'listStart'==_0x598557||'listReversed'==_0x598557;});for(const _0x232400 of _0x389859){const _0xe0e5e9=_0x232400['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');if('numbered'==_0xe0e5e9||'customNumbered'==_0xe0e5e9)continue;_0x56b637['_findSuggestions'](_0x232400['getFirstRange'](),'attribute')['find'](_0x174901=>'listType'==_0x56b637['_getAttributeKey'](_0x174901['suggestion']))||(_0x52df76['removeMarker'](_0x232400['getFirstMarker']()),_0x2173b3=!0x0);}return _0x2173b3;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0x294883){const _0x93924=this['editor']['locale'],{data:_0xa17dfd}=_0x294883,_0x3b0ede={'type':'format','content':''};if(!_0xa17dfd||'listStyle'!=_0xa17dfd['key'])return;if(!_0xa17dfd['oldValue'])return'default'==_0xa17dfd['newValue']?_0x3b0ede:{'type':'format','content':''+getTranslation$5(_0x93924,'*Set\x20format:*\x20%0',getTranslation$5(_0x93924,this['_getTranslationKeyForListStyle'](_0xa17dfd['newValue'])))};if(!_0xa17dfd['newValue']){if('default'==_0xa17dfd['oldValue'])return _0x3b0ede;let _0x858b8a=_0x294883['head'];for(;_0x858b8a;){if(_0x858b8a['data']&&'listType'==_0x858b8a['data']['key']&&_0x858b8a['data']['newValue'])return _0x3b0ede;_0x858b8a=_0x858b8a['next'];}return{'type':'format','content':''+getTranslation$5(_0x93924,'*Remove\x20format:*\x20%0',getTranslation$5(_0x93924,this['_getTranslationKeyForListStyle'](_0xa17dfd['oldValue'])))};}if('default'!=_0xa17dfd['newValue'])return{'type':'format','content':''+getTranslation$5(_0x93924,'*Set\x20format:*\x20%0',getTranslation$5(_0x93924,this['_getTranslationKeyForListStyle'](_0xa17dfd['newValue'])))};let _0x2b71a1=_0x294883['head'];for(;_0x2b71a1;){if(_0x2b71a1['data']&&'listType'==_0x2b71a1['data']['key']&&_0x2b71a1['data']['newValue']&&_0x2b71a1['data']['oldValue'])return _0x3b0ede;_0x2b71a1=_0x2b71a1['next'];}return{'type':'format','content':getTranslation$5(_0x93924,'*Set\x20format:*\x20%0',getTranslation$5(_0x93924,'ELEMENT_'+_0x294883['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0x4ba07b=this['editor'],_0x277da0=_0x4ba07b['locale'];_0x4ba07b['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x25badf=>{if('formatBlock'!=_0x25badf['type'])return;const {data:_0x3c8b5d}=_0x25badf;if(!_0x3c8b5d)return;let _0x2b747c,_0xb1a4ee;switch(_0x3c8b5d['commandName']){case'listStyle':_0x2b747c='*Change\x20to:*\x20%0',_0xb1a4ee={'type':'format','content':getTranslation$5(_0x277da0,_0x2b747c,getTranslation$5(_0x277da0,this['_getTranslationKeyForListStyle'](_0x3c8b5d['commandParams'][0x0]['type'])))};break;case'listReversed':_0x2b747c=_0x3c8b5d['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0xb1a4ee={'type':'format','content':getTranslation$5(_0x277da0,_0x2b747c)};break;case'listStart':_0x2b747c='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0xb1a4ee={'type':'format','content':getTranslation$5(_0x277da0,_0x2b747c,_0x3c8b5d['commandParams'][0x0]['startIndex'])};}return _0xb1a4ee;});}['_getTranslationKeyForListStyle'](_0x4ded22){return'ELEMENT_'+getListTypeFromListStyleType(_0x4ded22)['toUpperCase']()+'_LIST_'+_0x4ded22['toUpperCase']()['replace'](/-/g,'_');}}const _0x26e3ed=['disc','circle','square'],_0x3bf001=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin','arabic-indic'];function getListTypeFromListStyleType(_0x5b0bf9){return _0x26e3ed['includes'](_0x5b0bf9)?'bulleted':_0x3bf001['includes'](_0x5b0bf9)?'numbered':null;}class _0x1a53b5 extends ckeditor5['Plugin']{['afterInit'](){const _0x2d2f4b=this['editor'];_0x2d2f4b['commands']['get']('emoji')&&_0x2d2f4b['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}}class TrackChangesEnterCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Enter']];}['init'](){const _0x53f1eb=this['editor'],_0x24ae6f=_0x53f1eb['plugins']['get']('TrackChangesEditing'),_0x42bc59=_0x53f1eb['commands']['get']('enter');_0x24ae6f['enableCommand']('enter',()=>{_0x53f1eb['model']['change'](_0x6d7ec4=>{const _0x2c4647=_0x53f1eb['model']['document']['selection'],_0x3a04cc=_0x2c4647['getFirstPosition'](),_0x13004a=ckeditor5['ModelLiveRange']['fromRange'](_0x2c4647['getFirstRange']());if(_0x42bc59['enterBlock'](_0x6d7ec4)){const _0x41071d=_0x53f1eb['model']['createPositionAt'](_0x3a04cc['parent']['nextSibling'],0x0),_0x5e96d2=_0x6d7ec4['createRange'](_0x3a04cc,_0x41071d);_0x24ae6f['markInsertion'](_0x5e96d2);}else _0x6d7ec4['setSelection'](_0x6d7ec4['createRange'](_0x13004a['end']));_0x13004a['detach'](),_0x42bc59['fire']('afterExecute',{'writer':_0x6d7ec4});});});}}class _0x2594d4 extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x24849e=this['editor']['plugins']['get']('TrackChangesEditing');_0x24849e['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x24849e['enableCommand']('findNext'),_0x24849e['enableCommand']('findPrevious'),_0x24849e['enableCommand']('replace'),_0x24849e['enableCommand']('replaceAll');}['handleFindCommand'](_0x75e50e,_0x3c42ca,_0x159a73={}){const _0x384990=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0x75e50e(_0x13a349=>{let _0x1a0e23=('string'==typeof _0x3c42ca?_0x384990['findByTextCallback'](_0x3c42ca,_0x159a73):_0x3c42ca)(_0x13a349);Array['isArray'](_0x1a0e23)&&(_0x1a0e23={'results':_0x1a0e23,'searchText':'string'==typeof _0x3c42ca?_0x3c42ca:''});const _0x2a4052=_0x1a0e23['results']['filter'](_0x35129b=>!0x1===this['_isInDeletionRange'](_0x35129b,_0x13a349['item']));return{..._0x1a0e23,'results':_0x2a4052};},_0x159a73);}['_isInDeletionRange'](_0x1ecb20,_0x3a28d6){const _0x5b574f=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x3a28d6,_0x1ecb20['start']),this['editor']['model']['createPositionAt'](_0x3a28d6,_0x1ecb20['end']));for(const _0x155ed1 of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x5b574f['getIntersection'](_0x155ed1['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 _0x59d306=this['editor']['locale'],_0x2b5a9c=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x4eec96,commandName:_0x5c5959}of fontPlugins)this['editor']['plugins']['has'](_0x4eec96)&&_0x2b5a9c['enableDefaultAttributesIntegration'](_0x5c5959);_0x2b5a9c['descriptionFactory']['registerAttributeLabel']('fontSize',getTranslation$5(_0x59d306,'FORMAT_FONT_SIZE')),_0x2b5a9c['descriptionFactory']['registerAttributeLabel']('fontFamily',getTranslation$5(_0x59d306,'FORMAT_FONT_FAMILY')),_0x2b5a9c['descriptionFactory']['registerAttributeLabel']('fontColor',getTranslation$5(_0x59d306,'FORMAT_FONT_COLOR')),_0x2b5a9c['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',getTranslation$5(_0x59d306,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x477bae=this['editor'],_0x2cd7ea=_0x477bae['locale'];_0x477bae['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2a4afb=>{const _0x2cf73e=_0x2cd7ea['t'];if('formatInline'!=_0x2a4afb['type'])return;const {data:_0xff9de8}=_0x2a4afb;if(null!=_0xff9de8){if('fontSize'==_0xff9de8['commandName']){const _0x57972e=_0xff9de8['commandParams'][0x0]['value'];if(_0x57972e){const _0x37470d=_0x2cf73e(this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x196159=>_0x196159['model']==_0x57972e)['title'])['toLowerCase']();return{'type':'format','content':getTranslation$5(_0x2cd7ea,'*Set\x20font\x20size:*\x20%0',_0x37470d)};}return{'type':'format','content':getTranslation$5(_0x2cd7ea,'*Reset\x20font\x20size*')};}if('fontFamily'==_0xff9de8['commandName']){const _0x3914bb=_0xff9de8['commandParams'][0x0]['value'];return _0x3914bb?{'type':'format','content':getTranslation$5(_0x2cd7ea,'*Set\x20font\x20family:*\x20%0',_0x3914bb)}:{'type':'format','content':getTranslation$5(_0x2cd7ea,'*Reset\x20font\x20family*')};}if('fontColor'==_0xff9de8['commandName']){const _0x465cfb=_0xff9de8['commandParams'][0x0]['value'];if(_0x465cfb){const _0x772b6c=ckeditor5['normalizeColorOptions'](this['editor']['config']['get']('fontColor.colors'))['find'](_0x51a400=>_0x51a400['model']==_0x465cfb);let _0x4c4023=_0x465cfb,_0x56a71b='';return _0x772b6c&&(_0x4c4023=_0x772b6c['label'],_0x56a71b=_0x2cf73e(_0x4c4023)['toLowerCase']()),{'type':'format','content':getTranslation$5(_0x2cd7ea,'*Set\x20font\x20color:*\x20%0',_0x56a71b)['trim'](),'color':{'value':_0x465cfb,'title':_0x56a71b||_0x4c4023}};}return{'type':'format','content':getTranslation$5(_0x2cd7ea,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0xff9de8['commandName']){const _0x2b87da=_0xff9de8['commandParams'][0x0]['value'];if(_0x2b87da){const _0x3d30f6=ckeditor5['normalizeColorOptions'](this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x24a14e=>_0x24a14e['model']==_0x2b87da);let _0x210534=_0x2b87da,_0x222b0a='';return _0x3d30f6&&(_0x210534=_0x3d30f6['label'],_0x222b0a=_0x2cf73e(_0x210534)['toLowerCase']()),{'type':'format','content':getTranslation$5(_0x2cd7ea,'*Set\x20font\x20background\x20color:*\x20%0',_0x222b0a)['trim'](),'color':{'value':_0x2b87da,'title':_0x222b0a||_0x210534}};}return{'type':'format','content':getTranslation$5(_0x2cd7ea,'*Reset\x20font\x20background\x20color*')};}}});}}class TrackChangesFootnotes extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0x28e47a}=this['editor'];_0x28e47a['has']('FootnotesEditing')&&this['_registerFootnotesEditingIntegration'](),_0x28e47a['has']('FootnotesPropertiesEditing')&&this['_registerFootnotesPropertiesEditingIntegration']();}['_registerFootnotesPropertiesEditingIntegration'](){const {locale:_0x650827,plugins:_0x468e48,commands:_0xb62a4}=this['editor'],_0x2fdf8b=_0x468e48['get']('TrackChangesEditing');_0xb62a4['get']('footnotesStyle')&&_0x2fdf8b['enableDefaultAttributesIntegration']('footnotesStyle'),_0xb62a4['get']('footnotesStart')&&_0x2fdf8b['enableDefaultAttributesIntegration']('footnotesStart'),_0x2fdf8b['descriptionFactory']['registerAttributeLabel']('footnotesListStyle',getTranslation$5(_0x650827,'FORMAT_FOOTNOTES_LIST_STYLE')),_0x2fdf8b['descriptionFactory']['registerAttributeLabel']('footnotesListStart',getTranslation$5(_0x650827,'FORMAT_FOOTNOTES_LIST_START'));}['_registerFootnotesEditingIntegration'](){const _0x38ca16=this['editor']['plugins']['get']('TrackChangesEditing'),{locale:_0x45f8e7,commands:_0x3dbacf}=this['editor'];_0x3dbacf['get']('insertFootnote')&&_0x38ca16['enableCommand']('insertFootnote'),_0x38ca16['descriptionFactory']['registerElementLabel']('footnoteRef',_0x18cb8f=>getTranslation$5(_0x45f8e7,'ELEMENT_FOOTNOTE_REF',_0x18cb8f)),_0x38ca16['descriptionFactory']['registerElementLabel']('footnoteDefinition',_0x3806af=>getTranslation$5(_0x45f8e7,'ELEMENT_FOOTNOTE_DEFINITION',_0x3806af)),_0x38ca16['descriptionFactory']['registerElementLabel']('footnotesDefinitions',_0x1881da=>getTranslation$5(_0x45f8e7,'ELEMENT_FOOTNOTES_DEFINITIONS_LIST',_0x1881da));}}class TrackChangesFormatPainter extends ckeditor5['Plugin']{['afterInit'](){const _0x49e2ce=this['editor'],_0x3315bc=_0x49e2ce['plugins']['get']('TrackChangesEditing'),_0x4f7783=_0x49e2ce['commands']['get']('copyFormat'),_0x4c566d=_0x49e2ce['commands']['get']('pasteFormat');_0x4f7783&&_0x4c566d&&(_0x3315bc['enableDefaultAttributesIntegration']('pasteFormat'),_0x3315bc['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x26d126=this['editor'],_0x127bf9=_0x26d126['locale'];_0x26d126['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x10b1c2=>{if('formatBlock'!=_0x10b1c2['type']&&'formatInline'!=_0x10b1c2['type'])return;const {data:_0x295ccc}=_0x10b1c2;if(_0x295ccc&&'pasteFormat'===_0x295ccc['commandName']){const _0x156c9f=[],_0xc6210c=_0x295ccc['commandParams'][0x0];for(const [_0x83eded,_0x14e5ec]of Object['entries'](_0xc6210c))_0x156c9f['push'](translateFormatting(_0x26d126,_0x83eded,_0x14e5ec));return _0x156c9f['length']?{'type':'format','content':getTranslation$5(_0x127bf9,'*Set\x20format\x20to:*\x20%0',_0x156c9f['join'](',\x20'))}:{'type':'format','content':getTranslation$5(_0x127bf9,'*Remove\x20all\x20formatting*')};}});}}function translateFormatting(_0x32ffef,_0x37431f,_0x138bb5){const _0x49c125=_0x32ffef['locale']['t'],_0x2d4525=_0x37431f['split'](/(?=[A-Z])/)['join']('\x20'),_0xced270=_0x49c125(_0x2d4525['charAt'](0x0)['toUpperCase']()+_0x2d4525['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x138bb5)return _0xced270;if('fontColor'===_0x37431f||'fontBackgroundColor'===_0x37431f){const _0x766277=ckeditor5['normalizeColorOptions'](_0x32ffef['config']['get']('fontColor.colors'))['find'](_0x2a11e3=>_0x2a11e3['model']==_0x138bb5);return _0xced270+'\x20('+(_0x766277?_0x49c125(_0x766277['label'])['toLowerCase']():_0x138bb5)+')';}if('fontSize'===_0x37431f&&isNaN(parseFloat(_0x138bb5))){const _0x4ab7eb=_0x32ffef['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x32ffef['config']['get']('fontSize.options'))['find'](_0x5d73d8=>_0x5d73d8['model']==_0x138bb5);return _0xced270+'\x20('+(_0x4ab7eb?_0x49c125(_0x4ab7eb['title'])['toLowerCase']():_0x138bb5)+')';}return _0xced270+'\x20('+_0x138bb5+')';}class _0x1f2035 extends ckeditor5['Plugin']{['_headingOptions'];['afterInit'](){const _0x540699=this['editor'];if(!_0x540699['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0x540699['config']['get']('heading.options');const _0xea3d57=_0x540699['locale'],_0x302f30=_0x540699['plugins']['get']('TrackChangesEditing');_0x302f30['enableDefaultAttributesIntegration']('heading');for(const _0x28c99e of this['_headingOptions'])'paragraph'!=_0x28c99e['model']&&_0x302f30['descriptionFactory']['registerElementLabel'](_0x28c99e['model'],_0x5b5055=>{const _0x44860d=this['_getHeadingLevel'](_0x28c99e['model']);return null!==_0x44860d?_0x336e33(_0x5b5055,_0x44860d):_0x24f417(_0x5b5055,_0x28c99e['title']);});function _0x336e33(_0x57a2b8,_0x366670){return getTranslation$5(_0xea3d57,'ELEMENT_HEADING',[_0x57a2b8,_0x366670]);}function _0x24f417(_0x5672f1,_0x5dd152){return getTranslation$5(_0xea3d57,'ELEMENT_HEADING_CUSTOM',[_0x5672f1,_0x5dd152]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x274611=this['editor'],_0x44bfe1=_0x274611['locale'];function _0x94c20b(_0x2de7fb,_0x126f4c){return getTranslation$5(_0x44bfe1,'ELEMENT_HEADING_CUSTOM',[_0x2de7fb,_0x126f4c]);}_0x274611['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5efd25=>{if('formatBlock'!=_0x5efd25['type'])return;const {data:_0x231729}=_0x5efd25;if(_0x231729&&'heading'==_0x231729['commandName']){const _0x524b1c=_0x231729['commandParams'][0x0]['value'],_0x23aa48=this['_getHeadingLevel'](_0x524b1c);if(null!==_0x23aa48)return{'type':'format','content':getTranslation$5(_0x44bfe1,'*Change\x20to:*\x20%0',(_0x40ab93=0x1,_0x42a422=_0x23aa48,getTranslation$5(_0x44bfe1,'ELEMENT_HEADING',[_0x40ab93,_0x42a422])))};const _0x1c56d9=this['_headingOptions']['find'](_0x402ce6=>_0x402ce6['model']===_0x524b1c)['title'];return{'type':'format','content':getTranslation$5(_0x44bfe1,'*Change\x20to:*\x20%0',_0x94c20b(0x1,_0x1c56d9))};}var _0x40ab93,_0x42a422;});}['_getHeadingLevel'](_0x4eb2f2){const _0x5c726d=_0x4eb2f2['match'](/^heading(\d+)/);if(_0x5c726d)return _0x5c726d[0x1];const _0x515011=this['_headingOptions']?.['find'](_0x21d6f7=>_0x21d6f7['model']==_0x4eb2f2);if(_0x515011&&_0x515011['view']){const _0x7fa0b1=_0x515011['view'],_0x64dddb=(_0x7fa0b1['name']??_0x7fa0b1)['match'](/^h(\d+)/);if(_0x64dddb)return _0x64dddb[0x1];}return null;}}class TrackChangesHighlight extends ckeditor5['Plugin']{['afterInit'](){const _0x17e01c=this['editor'];if(!_0x17e01c['plugins']['has']('HighlightEditing'))return;const _0x506cff=_0x17e01c['plugins']['get']('TrackChangesEditing'),_0x5cd821=_0x17e01c['locale'];_0x506cff['enableDefaultAttributesIntegration']('highlight'),_0x506cff['descriptionFactory']['registerAttributeLabel']('highlight',getTranslation$5(_0x5cd821,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x31638c=this['editor'],_0x29e76b=_0x31638c['locale'];_0x31638c['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3dffd6=>{if('formatInline'!=_0x3dffd6['type'])return;const {data:_0x3bb886}=_0x3dffd6;if(_0x3bb886&&'highlight'==_0x3bb886['commandName']){const _0xd3dfb2=_0x29e76b['t'],_0x1c074a=_0x3bb886['commandParams'][0x0]['value'];if(_0x1c074a){const _0xa9d7b5=_0x31638c['config']['get']('highlight.options')['find'](_0xdff449=>_0xdff449['model']==_0x1c074a),_0x177361=_0xd3dfb2(_0xa9d7b5['title'])['toLowerCase']();return{'type':'format','content':getTranslation$5(_0x29e76b,'*Set\x20highlight:*\x20%0',_0x177361),'color':{'value':_0xa9d7b5['color'],'title':_0xa9d7b5['title']}};}return{'type':'format','content':getTranslation$5(_0x29e76b,'*Remove\x20highlight*',getTranslation$5(_0x29e76b,'FORMAT_HIGHLIGHT'))};}});}}class TrackChangesHorizontalLine extends ckeditor5['Plugin']{['afterInit'](){const _0x4ca27d=this['editor'];if(!_0x4ca27d['plugins']['has']('HorizontalLineEditing'))return;_0x4ca27d['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x39ab0b=_0x4ca27d['plugins']['get']('TrackChangesEditing'),_0x43115b=_0x4ca27d['locale'];_0x39ab0b['descriptionFactory']['registerElementLabel']('horizontalLine',_0x2cb313=>getTranslation$5(_0x43115b,'ELEMENT_HORIZONTAL_LINE',_0x2cb313));}}class TrackChangesHtmlEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0x7707b4=this['editor'];if(!_0x7707b4['plugins']['has']('HtmlEmbed'))return;const _0x2bfd1a=_0x7707b4['plugins']['get']('TrackChangesEditing'),_0x738926=_0x7707b4['locale'];_0x2bfd1a['descriptionFactory']['registerElementLabel']('rawHtml',_0x3821f1=>getTranslation$5(_0x738926,'ELEMENT_HTML_EMBED',_0x3821f1)),_0x2bfd1a['enableDefaultAttributesIntegration']('htmlEmbed'),_0x2bfd1a['descriptionFactory']['registerDescriptionCallback'](_0x43d999=>{if('attribute'!=_0x43d999['type'])return;const {data:_0x78df12}=_0x43d999;if(_0x78df12&&'value'==_0x78df12['key']&&_0x43d999['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')){const _0x2ce1e7=getTranslation$5(_0x738926,'ELEMENT_HTML_EMBED');return{'type':'format','content':getTranslation$5(_0x738926,'*Change\x20%0\x20content*',_0x2ce1e7)};}}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x14f3cf=this['editor'],_0x3df8ab=_0x14f3cf['locale'];_0x14f3cf['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4252d=>{if('formatBlock'!=_0x4252d['type'])return;const {data:_0x4c4660}=_0x4252d;if(_0x4c4660&&'htmlEmbed'==_0x4c4660['commandName']){const _0x106bc9=getTranslation$5(_0x3df8ab,'ELEMENT_HTML_EMBED');return{'type':'format','content':getTranslation$5(_0x3df8ab,'*Change\x20%0\x20content*',_0x106bc9)};}});}}class _0x232f83 extends ckeditor5['Plugin']{['afterInit'](){const _0x1bb76b=this['editor'];if(!_0x1bb76b['plugins']['has']('ImageEditing'))return;const _0x3edb3d=_0x1bb76b['plugins']['get']('TrackChangesEditing'),_0x77dcc3=_0x1bb76b['plugins']['get']('ImageUtils'),_0x34609b=_0x1bb76b['locale'];_0x3edb3d['enableCommand']('insertImage'),_0x3edb3d['descriptionFactory']['registerElementLabel']('imageBlock',_0x200730=>getTranslation$5(_0x34609b,'ELEMENT_IMAGE',_0x200730)),_0x3edb3d['descriptionFactory']['registerElementLabel']('imageInline',_0x3c94b6=>getTranslation$5(_0x34609b,'ELEMENT_INLINE_IMAGE',_0x3c94b6)),_0x3edb3d['descriptionFactory']['registerElementLabel']('caption',()=>getTranslation$5(_0x34609b,'ELEMENT_CAPTION')),_0x1bb76b['plugins']['has']('ImageUploadEditing')&&_0x3edb3d['enableCommand']('uploadImage'),_0x1bb76b['plugins']['has']('ImageBlockEditing')&&_0x1bb76b['plugins']['has']('ImageInlineEditing')&&(_0x3edb3d['enableCommand']('imageTypeInline',(_0x2101c8,_0x2b2d74)=>{const _0x404165=_0x77dcc3['getClosestSelectedImageElement'](_0x1bb76b['model']['document']['selection']);_0x1bb76b['model']['change'](()=>{_0x3edb3d['markBlockFormat'](_0x404165,{'commandName':'imageTypeInline','commandParams':[_0x2b2d74]},[],'convertBlockImageToInline');});}),_0x3edb3d['enableCommand']('imageTypeBlock',(_0x1e60cb,_0x575bb6)=>{_0x1bb76b['model']['change'](_0x48e982=>{let _0x301bee=_0x77dcc3['getClosestSelectedImageElement'](_0x1bb76b['model']['document']['selection']),_0x37cd6d=_0x48e982['createRangeOn'](_0x301bee);const _0x5dbb62=ckeditor5['ModelLivePosition']['fromPosition'](_0x37cd6d['start'],'toPrevious'),_0x354d96=ckeditor5['ModelLivePosition']['fromPosition'](_0x37cd6d['end'],'toNext');_0x3edb3d['forceDefaultExecution'](()=>_0x1e60cb(_0x575bb6)),_0x301bee=_0x77dcc3['getClosestSelectedImageElement'](_0x1bb76b['model']['document']['selection']),_0x37cd6d=_0x48e982['createRangeOn'](_0x301bee);const _0x17ab9d=_0x48e982['createRange'](_0x5dbb62,_0x354d96);_0x5dbb62['detach'](),_0x354d96['detach'](),_0x3edb3d['markBlockFormat'](_0x301bee,{'commandName':'imageTypeInline','commandParams':[_0x575bb6]},[],'convertInlineImageToBlock'),_0x17ab9d['start']['isBefore'](_0x37cd6d['start'])&&_0x3edb3d['markInsertion'](_0x48e982['createRange'](_0x17ab9d['start'],_0x37cd6d['start']),'convertInlineImageToBlock'),_0x37cd6d['end']['isBefore'](_0x17ab9d['end'])&&_0x3edb3d['markInsertion'](_0x48e982['createRange'](_0x37cd6d['end'],_0x17ab9d['end']),'convertInlineImageToBlock');});}),_0x3edb3d['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x3edb3d['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x3edb3d['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x3edb3d['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x3edb3d['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x3edb3d['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0x2c5986])=>{const _0x47446b=_0x3edb3d['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x12b561=_0x2c5986['start'],_0x498b1f=_0x2c5986['end'];const _0x19391b=_0x1bb76b['model']['schema']['getNearestSelectionRange'](_0x12b561,'backward'),_0x2fab66=_0x1bb76b['model']['schema']['getNearestSelectionRange'](_0x498b1f,'forward');_0x19391b['isCollapsed']&&(_0x12b561=_0x19391b['start']),_0x2fab66['isCollapsed']&&(_0x498b1f=_0x2fab66['end']),_0x47446b([_0x1bb76b['model']['createRange'](_0x12b561,_0x498b1f)]);}),_0x3edb3d['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x33e30a),_0x3edb3d['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x33e30a)),_0x1bb76b['plugins']['has']('ImageCaptionEditing')&&(_0x3edb3d['enableCommand']('toggleImageCaption',(_0xf546f4,_0xfe7799)=>{const _0x2e3194=_0x1bb76b['plugins']['get']('ImageCaptionUtils');let _0x57e9e1=_0x77dcc3['getClosestSelectedImageElement'](_0x1bb76b['model']['document']['selection']),_0x53da9f=_0x2e3194['getCaptionFromImageModelElement'](_0x57e9e1);_0x1bb76b['model']['change'](()=>{if(_0x53da9f)return void _0x3edb3d['markDeletion'](_0x1bb76b['model']['createRangeOn'](_0x53da9f));const _0x25c1e3=_0x77dcc3['isBlockImage'](_0x57e9e1);_0xf546f4(_0xfe7799),_0x57e9e1=_0x77dcc3['getClosestSelectedImageElement'](_0x1bb76b['model']['document']['selection']),_0x53da9f=_0x2e3194['getCaptionFromImageModelElement'](_0x57e9e1),_0x3edb3d['markInsertion'](_0x1bb76b['model']['createRangeOn'](_0x53da9f),_0x25c1e3?null:'imageCaption');});}),_0x3edb3d['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x33e30a));const _0x57a6c5=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x525a3a(_0x553df5,_0x2a13b6){const _0x4e6636=_0x57a6c5['findIndex'](({type:_0x11cd07,subType:_0xbe7b79})=>_0x553df5['type']==_0x11cd07&&_0x553df5['subType']==_0xbe7b79),_0x20569f=_0x57a6c5['findIndex'](({type:_0x2761f9,subType:_0x22b13e})=>_0x2a13b6['type']==_0x2761f9&&_0x2a13b6['subType']==_0x22b13e);if(_0x4e6636<0x0||_0x20569f<0x0)return!0x1;const _0x205e17=_0x553df5['getFirstRange'](),_0x3182d5=_0x2a13b6['getFirstRange']();if((0x0==_0x4e6636||0x1==_0x4e6636)&&0x2==_0x20569f&&_0x205e17['isIntersecting'](_0x3182d5))return!0x0;if(0x2==_0x4e6636&&0x3==_0x20569f){const _0x1a6021=_0x3edb3d['_findSuggestions'](_0x205e17,'insertion')['filter'](({suggestion:_0x288351,meta:_0x5e7481})=>_0x5e7481['isOwn']&&'convertInlineImageToBlock'==_0x288351['subType']);if(_0x1a6021['length']>0x1&&_0x3182d5['end']['isEqual'](_0x205e17['start']))return!0x0;if(0x1==_0x1a6021['length']&&(_0x205e17['start']['isEqual'](_0x3182d5['end'])||_0x205e17['end']['isEqual'](_0x3182d5['start'])))return!0x0;}if(0x3==_0x4e6636&&0x3==_0x20569f&&_0x205e17['start']['isBefore'](_0x3182d5['start'])){const _0x6d75b8=_0x205e17['end']['nodeAfter'],_0x3d845f=_0x3182d5['start']['nodeBefore'];return _0x77dcc3['isBlockImage'](_0x6d75b8)&&_0x6d75b8===_0x3d845f;}return!0x1;}function _0x33e30a(_0x57cb05,_0x2dba48){return _0x525a3a(_0x57cb05,_0x2dba48)?[_0x57cb05,_0x2dba48]:_0x525a3a(_0x2dba48,_0x57cb05)?[_0x2dba48,_0x57cb05]:null;}_0x1bb76b['plugins']['has']('ImageResize')&&(_0x3edb3d['enableDefaultAttributesIntegration']('resizeImage'),_0x3edb3d['descriptionFactory']['registerAttributeLabel']('resizedWidth',getTranslation$5(_0x34609b,'FORMAT_IMAGE_SIZE'))),_0x1bb76b['plugins']['has']('ImageTextAlternativeEditing')&&_0x3edb3d['enableDefaultAttributesIntegration']('imageTextAlternative'),_0x1bb76b['plugins']['has']('PictureEditing')&&_0x3edb3d['descriptionFactory']['registerDescriptionCallback'](_0x578991=>{if('attribute'!=_0x578991['type'])return;const {data:_0x5af399}=_0x578991;return _0x5af399&&'sources'==_0x5af399['key']?{'type':'format','content':''}:void 0x0;}),_0x1bb76b['plugins']['has']('ImageSizeAttributes')&&_0x3edb3d['descriptionFactory']['registerDescriptionCallback'](_0x5d62a4=>{if('attribute'!=_0x5d62a4['type'])return;const {data:_0x2d2534}=_0x5d62a4;return!_0x2d2534||'width'!=_0x2d2534['key']&&'height'!=_0x2d2534['key']?void 0x0:{'type':'format','content':''};}),_0x3edb3d['descriptionFactory']['registerDescriptionCallback'](_0x181ad9=>{if(!!_0x57a6c5['find'](({type:_0x45a2b2,subType:_0xfc0d92})=>_0x181ad9['type']==_0x45a2b2&&_0x181ad9['subType']==_0xfc0d92))return _0x181ad9['previous']?{}:void 0x0;}),_0x3edb3d['descriptionFactory']['registerDescriptionCallback'](_0x195eb6=>{if('insertion'==_0x195eb6['type']||'deletion'==_0x195eb6['type']){const _0x1bb9f3=_0x195eb6['getContainedElement']();if(_0x1bb9f3&&_0x1bb9f3['is']('element','caption'))return{'type':'insertion'==_0x195eb6['type']?'addObject':'removeObject','element':_0x1bb9f3,'quantity':0x1};}}),_0x3edb3d['descriptionFactory']['registerDescriptionCallback'](_0x3d3c10=>'formatBlock'==_0x3d3c10['type']&&'convertInlineImageToBlock'==_0x3d3c10['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x3d3c10['type']&&'convertBlockImageToInline'==_0x3d3c10['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x3edb3d['descriptionFactory']['registerDescriptionCallback'](_0x564584=>{if('attribute'!=_0x564584['type'])return;const {data:_0x3b5782}=_0x564584;if(!_0x3b5782||'alt'!=_0x3b5782['key'])return;const _0x3d0873=_0x3b5782['newValue'];return _0x3d0873?{'type':'format','content':getTranslation$5(_0x34609b,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x3d0873+'\x22')}:{'type':'format','content':getTranslation$5(_0x34609b,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x4338b3=this['editor'],_0x416c88=_0x4338b3['locale'];_0x4338b3['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x143fbe=>{if('formatBlock'!=_0x143fbe['type']&&'formatInline'!=_0x143fbe['type'])return;const {data:_0x4654ed}=_0x143fbe;if(_0x4654ed){if('imageTextAlternative'==_0x4654ed['commandName']){const _0x31bdad=_0x4654ed['commandParams'][0x0]['newValue'];return _0x31bdad?{'type':'format','content':getTranslation$5(_0x416c88,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x31bdad+'\x22')}:{'type':'format','content':getTranslation$5(_0x416c88,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x4654ed['commandName']){const _0x57b91e=_0x4654ed['commandParams'][0x0]['width'];return _0x57b91e?{'type':'format','content':getTranslation$5(_0x416c88,'*Set\x20image\x20width:*\x20%0',_0x57b91e)}:{'type':'format','content':getTranslation$5(_0x416c88,'*Reset\x20image\x20width*')};}}});}}class _0x5400ad extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x4e7276=this['editor']['locale'],_0x7f96f=this['editor']['plugins']['get']('TrackChangesEditing');_0x7f96f['enableDefaultAttributesIntegration']('replaceImageSource'),_0x7f96f['descriptionFactory']['registerDescriptionCallback'](_0x5092e5=>{if('attribute'!=_0x5092e5['type'])return;const {data:_0x145e86}=_0x5092e5;return _0x145e86&&'src'==_0x145e86['key']?_0x145e86['newValue']&&_0x145e86['oldValue']?{'type':'format','content':getTranslation$5(_0x4e7276,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x26fd23=this['editor']['plugins']['get']('TrackChangesEditing');_0x26fd23['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x26fd23['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x26fd23['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x26fd23['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x46384d=this['editor'],_0xc8c3c5=_0x46384d['locale'];_0x46384d['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x40e6ce=>{if('formatBlock'!=_0x40e6ce['type']&&'formatInline'!=_0x40e6ce['type'])return;const {data:_0x4abb46}=_0x40e6ce;if(!_0x4abb46||'replaceImageSource'!=_0x4abb46['commandName'])return;return{'type':'format','content':getTranslation$5(_0xc8c3c5,'*Format:*\x20replace\x20image\x20URL')};});}}class TrackChangesImageStyle extends ckeditor5['Plugin']{['afterInit'](){const _0x1726f6=this['editor'];if(!_0x1726f6['plugins']['has']('ImageStyleEditing'))return;const _0x1120bd=_0x1726f6['plugins']['get']('TrackChangesEditing'),_0x269225=_0x1726f6['plugins']['get']('ImageUtils'),_0xa77787={};_0x1120bd['enableCommand']('imageStyle',(_0xaf3b0c,_0x2ef40e)=>{const _0x3f2314=_0x1726f6['plugins']['get']('Users')['me'],_0x4a7f17=_0x1726f6['commands']['get']('imageStyle');let _0x362495=_0x269225['getClosestSelectedImageElement'](_0x1726f6['model']['document']['selection']),_0x12cf55=_0x1726f6['model']['createRangeOn'](_0x362495),_0x157c8b=_0x4a7f17['value'];if(_0x157c8b==_0x2ef40e['value'])return;const _0x4757ad={'commandName':'imageStyle','commandParams':[_0x2ef40e],'formatGroupId':ckeditor5['uid']()};_0x1726f6['model']['change'](()=>{if(_0x1120bd['getSuggestions']()['filter'](_0x1c8dbe=>_0x1c8dbe['isInContent']&&_0x3f2314==_0x1c8dbe['author']&&('formatBlock'==_0x1c8dbe['type']||'formatInline'==_0x1c8dbe['type'])&&('imageStylePreApply'==_0x1c8dbe['subType']||'imageStylePostApply'==_0x1c8dbe['subType'])&&_0x1c8dbe['getFirstRange']()['isEqual'](_0x12cf55))['forEach'](_0x5d91db=>_0x1120bd['discardSuggestion'](_0x5d91db['head'])),_0x362495=_0x269225['getClosestSelectedImageElement'](_0x1726f6['model']['document']['selection']),_0x12cf55=_0x1726f6['model']['createRangeOn'](_0x362495),_0x4a7f17['refresh'](),_0x1726f6['commands']['get']('imageTypeInline')['refresh'](),_0x1726f6['commands']['get']('imageTypeBlock')['refresh'](),_0x157c8b=_0x4a7f17['value'],_0x157c8b!=_0x2ef40e['value'])return _0x269225['isInlineImage'](_0x362495)&&_0x4a7f17['shouldConvertImageType'](_0x2ef40e['value'],_0x362495)?(_0xaf3b0c({..._0x2ef40e,'setImageSizes':!0x1}),_0x362495=_0x269225['getClosestSelectedImageElement'](_0x1726f6['model']['document']['selection']),void _0x1120bd['markBlockFormat'](_0x362495,{..._0x4757ad,'commandReversedParams':[{'value':_0x157c8b||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x269225['isBlockImage'](_0x362495)?_0x1120bd['markBlockFormat'](_0x362495,_0x4757ad,[],'imageStylePostApply'):_0x1120bd['markInlineFormat'](_0x12cf55,_0x4757ad,'imageStylePostApply'));});});for(const _0x1cd468 of _0x1726f6['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0xa77787[_0x1cd468['name']]=_0x1cd468['title']['toLowerCase']();_0x1120bd['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x1120bd['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x1120bd['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x1120bd['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x137a29])=>{_0x269225['setImageNaturalSizeAttributes'](_0x137a29['getContainedElement']());}),_0x1120bd['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0x48b015,_0x499ad4)=>{_0x1120bd['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x48b015,{'commandName':_0x499ad4['commandName'],'commandParams':_0x499ad4['commandReversedParams']});}),_0x1120bd['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x427a28,_0x4b9cd5){if(_0x409e87(_0x427a28,_0x4b9cd5))return[_0x427a28,_0x4b9cd5];if(_0x409e87(_0x4b9cd5,_0x427a28))return[_0x4b9cd5,_0x427a28];return null;});const _0x58094d=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x409e87(_0x19e8b3,_0x3828b4){const _0x5223dc=_0x58094d['findIndex'](({type:_0x254d43,subType:_0x1827ec})=>_0x19e8b3['type']==_0x254d43&&_0x19e8b3['subType']==_0x1827ec),_0x5b7a9e=_0x58094d['findIndex'](({type:_0x2bcd0a,subType:_0x25313d})=>_0x3828b4['type']==_0x2bcd0a&&_0x3828b4['subType']==_0x25313d);if(_0x5223dc<0x0||_0x5b7a9e<0x0)return!0x1;const _0x2214b1=_0x19e8b3['getFirstRange'](),_0x23f575=_0x3828b4['getFirstRange']();if((0x0==_0x5223dc||0x1==_0x5223dc)&&0x2==_0x5b7a9e&&_0x2214b1['isIntersecting'](_0x23f575))return!0x0;if(0x2==_0x5223dc&&0x3==_0x5b7a9e){const _0x211737=_0x1120bd['_findSuggestions'](_0x2214b1,'insertion')['filter'](({suggestion:_0x156a70,meta:_0x4b1479})=>_0x4b1479['isOwn']&&'convertInlineImageToBlock'==_0x156a70['subType']);if(_0x211737['length']>0x1&&_0x23f575['end']['isEqual'](_0x2214b1['start']))return!0x0;if(0x1==_0x211737['length']&&(_0x2214b1['start']['isEqual'](_0x23f575['end'])||_0x2214b1['end']['isEqual'](_0x23f575['start'])))return!0x0;}if(0x3==_0x5223dc&&0x3==_0x5b7a9e&&_0x2214b1['start']['isBefore'](_0x23f575['start'])){const _0x4e84d2=_0x2214b1['end']['nodeAfter'],_0xb6e0da=_0x23f575['start']['nodeBefore'];return _0x269225['isBlockImage'](_0x4e84d2)&&_0x4e84d2===_0xb6e0da;}return!0x1;}_0x1726f6['model']['document']['registerPostFixer'](()=>{let _0x58a7e1=!0x1;const _0x40bde2=Array['from'](_0x1726f6['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x2b681b,data:_0x21ba5b}of _0x40bde2){const {group:_0x146372,type:_0x4eb49a,subType:_0xe389c9,id:_0x11dc44}=splitSuggestionMarkerName(_0x2b681b);if('suggestion'==_0x146372&&_0x1120bd['hasSuggestion'](_0x11dc44)){if('formatBlock'==_0x4eb49a&&('imageStylePreApply'==_0xe389c9||'imageStylePostApply'==_0xe389c9)){const _0x366db8=_0x1120bd['getSuggestion'](_0x11dc44);if(_0x21ba5b['newRange']){const _0x4db7b2=_0x366db8['getFirstRange']()['getContainedElement']();if(_0x269225['isBlockImage'](_0x4db7b2))continue;_0x1120bd['discardSuggestion'](_0x366db8),_0x58a7e1=!0x0;}}if('insertion'==_0x4eb49a&&'imageCaption'==_0xe389c9&&!_0x21ba5b['newRange']){const _0x6d3194=_0x1120bd['getSuggestion'](_0x11dc44);_0x6d3194['next']&&_0x6d3194['next']['isInContent']&&(_0x1120bd['discardSuggestion'](_0x6d3194['next']),_0x58a7e1=!0x0);}}}return _0x58a7e1;}),this['_registerLegacyDescription'](_0xa77787);}['_registerLegacyDescription'](_0x45d458){const _0x46e15a=this['editor'],_0x1c3718=_0x46e15a['locale'];_0x46e15a['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x508941=>{if('formatBlock'!=_0x508941['type']&&'formatInline'!=_0x508941['type'])return;const {data:_0x229894}=_0x508941;if(!_0x229894||'imageStyle'!=_0x229894['commandName'])return;const _0x42b2fe=_0x229894['commandParams'][0x0]['value'];return _0x44aa64('side'===_0x42b2fe?getTranslation$5(_0x1c3718,'FORMAT_SIDE_IMAGE'):_0x45d458[_0x42b2fe]||_0x42b2fe);function _0x44aa64(_0x203cd6){return{'type':'format','content':getTranslation$5(_0x1c3718,'*Format:*\x20%0',_0x203cd6)};}});}}class TrackChangesImportWord extends ckeditor5['Plugin']{['_trackChangesValueDuringImport'];['_trackChangesExecuted'];constructor(_0x1ef8c5){super(_0x1ef8c5),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x472bf9=this['editor'],_0x3efd2d=_0x472bf9['commands']['get']('importWord'),_0x206edd=_0x472bf9['commands']['get']('trackChanges');_0x3efd2d&&(_0x3efd2d['on']('execute',(_0x575e99,[,_0x18fae2])=>{this['_trackChangesValueDuringImport']=_0x206edd['value'],_0x18fae2['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x3efd2d,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x3efd2d,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x206edd['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x472bf9['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0x400024,_0x245811){const {suggestions:_0x4b20a3}=_0x245811,_0x6e6d2=this['editor']['commands']['get']('trackChanges'),_0x1f5b60=_0x6e6d2['value'];this['_trackChangesValueDuringImport']!==_0x1f5b60&&(_0x6e6d2['execute'](),this['_trackChangesExecuted']=!0x0),_0x4b20a3&&_0x4b20a3['forEach'](({id:_0x5699b3,type:_0x2c803a,author:_0xece123,created_at:_0x141f63})=>{const _0x4978fc={'id':_0x5699b3,'type':_0x2c803a,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0xece123,'createdAt':_0x141f63?new Date(_0x141f63):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0x4978fc);});}}class TrackChangesIndent extends ckeditor5['Plugin']{['afterInit'](){const _0x2e9775=this['editor'],_0x23ae2a=_0x2e9775['plugins']['get']('TrackChangesEditing');if(_0x2e9775['plugins']['has']('IndentEditing')&&(_0x23ae2a['enableCommand']('indent'),_0x23ae2a['enableCommand']('outdent')),_0x2e9775['plugins']['has']('IndentBlock')){for(const _0x506a69 of['indentBlock','outdentBlock'])_0x23ae2a['enableDefaultAttributesIntegration'](_0x506a69);if(_0x2e9775['plugins']['has']('ListEditing')){for(const _0x5d9966 of['indentBlockList','indentBlockListItem','outdentBlockList','outdentBlockListItem'])_0x23ae2a['enableDefaultAttributesIntegration'](_0x5d9966);}}const _0x50e420=_0x2e9775['locale'];_0x23ae2a['descriptionFactory']['registerAttributeLabel']('blockIndent',getTranslation$5(_0x50e420,'FORMAT_INDENT')),_0x23ae2a['descriptionFactory']['registerAttributeLabel']('blockIndentList',getTranslation$5(_0x50e420,'FORMAT_INDENT')),_0x23ae2a['descriptionFactory']['registerAttributeLabel']('blockIndentListItem',getTranslation$5(_0x50e420,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x544859=this['editor'],_0x50d77f=_0x544859['locale'],_0x4774dc=_0x544859['plugins']['get']('TrackChangesEditing');_0x4774dc['descriptionFactory']['registerDescriptionCallback'](_0x5200d9=>{if('formatBlock'!=_0x5200d9['type'])return;const {data:_0x46c94c}=_0x5200d9;if(!_0x46c94c)return;if('indentBlock'!=_0x46c94c['commandName']&&'outdentBlock'!=_0x46c94c['commandName'])return;const _0x47d264=_0x5200d9['getItems']()[0x0],_0x5aa271=_0x4774dc['descriptionFactory']['getItemLabel'](_0x47d264);return'indentBlock'==_0x46c94c['commandName']?{'type':'format','content':getTranslation$5(_0x50d77f,'*Indent:*\x20%0',_0x5aa271)}:'outdentBlock'==_0x46c94c['commandName']?{'type':'format','content':getTranslation$5(_0x50d77f,'*Outdent:*\x20%0',_0x5aa271)}:void 0x0;});}}class TrackChangesInputCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Input']];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}}class _0x566bb6 extends ckeditor5['Plugin']{['afterInit'](){const _0x3b9cb0=this['editor'];if(!_0x3b9cb0['plugins']['has']('LinkEditing'))return;const _0x343709=_0x3b9cb0['plugins']['get']('TrackChangesEditing'),_0x1dfa19=_0x3b9cb0['commands']['get']('link');_0x343709['enableDefaultAttributesIntegration']('link'),_0x343709['enableDefaultAttributesIntegration']('unlink');for(const _0x417d34 of _0x1dfa19['manualDecorators'])_0x343709['descriptionFactory']['registerAttributeLabel'](_0x417d34['id'],'link\x20('+_0x417d34['label']['toLowerCase']()+')');_0x343709['descriptionFactory']['registerDescriptionCallback'](_0x46b30b=>{if('attribute'!=_0x46b30b['type'])return;const {data:_0x3f11c7}=_0x46b30b;if(!_0x3f11c7||'linkHref'!=_0x3f11c7['key'])return;const _0x324a9c=_0x3f11c7['newValue'],_0xe4104a=_0x3b9cb0['locale'];return{'type':'format','content':null==_0x324a9c?getTranslation$5(_0xe4104a,'*Remove\x20link*'):getTranslation$5(_0xe4104a,'*Set\x20link:*\x20%0','\x22'+_0x324a9c+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3f5d24=this['editor'],_0x3d0c7b=_0x3f5d24['locale'];_0x3f5d24['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5f2aaf=>{if('formatInline'!=_0x5f2aaf['type'])return;const {data:_0x230232}=_0x5f2aaf;if(_0x230232){if('link'==_0x230232['commandName']){const _0x3451d0=_0x230232['commandParams'][0x0];return{'type':'format','content':getTranslation$5(_0x3d0c7b,'*Set\x20link:*\x20%0','\x22'+_0x3451d0+'\x22')};}return'unlink'==_0x230232['commandName']?{'type':'format','content':getTranslation$5(_0x3d0c7b,'*Remove\x20link*')}:void 0x0;}});}}class TrackChangesLegacyList extends ckeditor5['Plugin']{['afterInit'](){const _0x41e2d8=this['editor'],_0x265d2a=_0x41e2d8['locale'];if(!_0x41e2d8['plugins']['has']('LegacyListEditing'))return;const _0x46fad2=_0x41e2d8['plugins']['get']('TrackChangesEditing'),_0x2856fc=_0x41e2d8['plugins']['has']('LegacyTodoListEditing');function _0x120d78(_0x19fc26){return()=>{const _0x12221b=_0x41e2d8['model']['document']['selection'],_0x4c7d2c=_0x41e2d8['commands']['get'](_0x19fc26);if(_0x4c7d2c['value'])return void _0x41e2d8['execute']('paragraph',{});const _0x12473a=_0x19fc26['slice'](0x0,-0x4),_0x19f837=getBlocksToMarkForListTypeChange(_0x12221b['getSelectedBlocks'](),_0x12473a,_0x41e2d8['model']['schema']);_0x41e2d8['model']['change'](()=>{for(const _0x2afaff of _0x19f837)_0x46fad2['markBlockFormat'](_0x2afaff,{'commandName':_0x19fc26,'commandParams':[{'forceValue':!_0x4c7d2c['value']}],'formatGroupId':'blockName'},getBlocksAffectedByListTypeChange(_0x2afaff));});};}function _0x5bbdfc(_0x58b8c4){return()=>{const _0x1ad9bf=getBlocksToMarkForIndentChange(_0x41e2d8['model']['document']['selection']['getSelectedBlocks']()),_0x2c0121=_0x41e2d8['model']['createRange'](_0x41e2d8['model']['createPositionAt'](_0x1ad9bf[0x0],'before'),_0x41e2d8['model']['createPositionAt'](_0x1ad9bf[_0x1ad9bf['length']-0x1],'end'));_0x41e2d8['model']['change'](()=>{_0x46fad2['markBlockFormat'](_0x2c0121,{'commandName':_0x58b8c4,'commandParams':[],'formatGroupId':'listIndent'},getBlocksAffectedByIndent(_0x1ad9bf));});};}_0x46fad2['enableCommand']('numberedList',_0x120d78('numberedList')),_0x46fad2['enableCommand']('bulletedList',_0x120d78('bulletedList')),_0x2856fc&&_0x46fad2['enableCommand']('todoList',_0x120d78('todoList')),_0x46fad2['enableCommand']('indentList',_0x5bbdfc('indentList')),_0x46fad2['enableCommand']('outdentList',_0x5bbdfc('outdentList')),_0x2856fc&&_0x46fad2['enableCommand']('checkTodoList',()=>{const _0x560973=_0x41e2d8['commands']['get']('checkTodoList'),_0x449fa6=Array['from'](_0x560973['_selectedElements']);_0x449fa6['filter'](_0x5376dc=>_0x5376dc['getAttribute']('todoListChecked')!=_0x560973['value']),_0x41e2d8['model']['change'](()=>{for(const _0x365c72 of _0x449fa6)_0x46fad2['markBlockFormat'](_0x365c72,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x560973['value']}]});});}),_0x46fad2['descriptionFactory']['registerElementLabel']('listItem',_0xec0da7=>getTranslation$5(_0x265d2a,'ELEMENT_LIST_ITEM',_0xec0da7)),_0x46fad2['descriptionFactory']['registerDescriptionCallback'](_0x2ca6e3=>{if('formatBlock'!=_0x2ca6e3['type']&&'formatInline'!=_0x2ca6e3['type'])return;const {data:_0xfc2f96}=_0x2ca6e3;if(_0xfc2f96){if('numberedList'==_0xfc2f96['commandName']||'bulletedList'==_0xfc2f96['commandName']||'todoList'==_0xfc2f96['commandName'])switch(_0xfc2f96['commandName']['replace']('List','')){case'bulleted':return _0x663703(getTranslation$5(_0x265d2a,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x663703(getTranslation$5(_0x265d2a,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x663703(getTranslation$5(_0x265d2a,'ELEMENT_TODO_LIST'));}if('indentList'==_0xfc2f96['commandName'])return{'type':'format','content':getTranslation$5(_0x265d2a,'*Indent:*\x20%0',getTranslation$5(_0x265d2a,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0xfc2f96['commandName'])return{'type':'format','content':getTranslation$5(_0x265d2a,'*Outdent:*\x20%0',getTranslation$5(_0x265d2a,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0xfc2f96['commandName'])return _0xfc2f96['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$5(_0x265d2a,'*Check\x20item*')}:{'type':'format','content':getTranslation$5(_0x265d2a,'*Uncheck\x20item*')};}function _0x663703(_0x1bf873){return{'type':'format','content':getTranslation$5(_0x265d2a,'*Change\x20to:*\x20%0',_0x1bf873)};}});}}function getBlocksToMarkForListTypeChange(_0x12e4d9,_0xc9152a,_0x51403d){let _0x421a61=Array['from'](_0x12e4d9)['filter'](_0x11b32b=>checkCanBecomeListItem(_0x11b32b,_0x51403d));_0x421a61=_0x421a61['filter'](_0x31fedc=>!_0x31fedc['is']('element','listItem')||_0x31fedc['getAttribute']('listType')!=_0xc9152a);const _0xbc9856=new Set();for(const _0xfb01f2 of _0x421a61)_0xfb01f2['is']('element','listItem')?_0xbc9856['add'](getListHead(_0xfb01f2)):_0xbc9856['add'](_0xfb01f2);return Array['from'](_0xbc9856);}function checkCanBecomeListItem(_0x45ef32,_0x5b14f5){return _0x5b14f5['checkChild'](_0x45ef32['parent'],'listItem')&&!_0x5b14f5['isObject'](_0x45ef32);}function getBlocksToMarkForIndentChange(_0x17abd2){let _0x45e1f7=Array['from'](_0x17abd2);const _0x256960=_0x45e1f7['findIndex'](_0x192bf2=>'listItem'!=_0x192bf2['name']);return _0x256960>-0x1&&(_0x45e1f7=_0x45e1f7['slice'](0x0,_0x256960)),_0x45e1f7;}function getListHead(_0x35a2d6){const _0x1485e6=_0x35a2d6['getAttribute']('listIndent');if(0x0==_0x1485e6)return _0x35a2d6;let _0x5e9763=_0x35a2d6;for(;_0x35a2d6['previousSibling']&&_0x35a2d6['previousSibling']['is']('element','listItem');){const _0x24c423=_0x35a2d6['previousSibling']['getAttribute']('listIndent');if(_0x24c423==_0x1485e6)_0x5e9763=_0x35a2d6['previousSibling'];else{if(_0x24c423<_0x1485e6)break;}_0x35a2d6=_0x35a2d6['previousSibling'];}return _0x5e9763;}function getBlocksAffectedByListTypeChange(_0x55dc0d){const _0x4eade3=[];if(_0x55dc0d['is']('element','listItem')&&_0x55dc0d['getAttribute']('listIndent')>0x0){let _0x1638ec=_0x55dc0d['nextSibling'];for(;_0x1638ec&&'listItem'==_0x1638ec['name']&&_0x1638ec['getAttribute']('listIndent')==_0x55dc0d['getAttribute']('listIndent');)_0x4eade3['push'](_0x1638ec),_0x1638ec=_0x1638ec['nextSibling'];}return _0x4eade3;}function getBlocksAffectedByIndent(_0x4c1af5){const _0x5b0c54=new Set();for(const _0x3c38fb of _0x4c1af5){let _0x292e7d=_0x3c38fb['nextSibling'];for(;_0x292e7d&&_0x292e7d['getAttribute']('listIndent')>_0x3c38fb['getAttribute']('listIndent');)_0x5b0c54['add'](_0x292e7d),_0x292e7d=_0x292e7d['nextSibling'];}return Array['from'](_0x5b0c54);}class TrackChangesLegacyListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x352859=this['editor']['config']['get']('list.properties'),_0x379740=this['editor']['plugins']['get']('TrackChangesEditing');_0x352859['styles']&&_0x379740['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x352859['reversed']&&_0x379740['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x352859['startIndex']&&_0x379740['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x379740['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x5c934e,_0x4ab831={}){const _0x2fba9b=this['editor']['plugins']['get']('TrackChangesEditing'),_0x52be5d=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0x2fba9b['markMultiRangeBlockFormat'](_0x52be5d,{'commandName':'listStyle','commandParams':[{'type':_0x4ab831['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x101168,_0xcfcfd9={}){const _0x31b4c4=this['editor']['plugins']['get']('TrackChangesEditing'),_0x55e2e1=this['_getSuggestionBlocks'](_0x564bfc=>_0x564bfc['is']('element','listItem')&&'numbered'===_0x564bfc['getAttribute']('listType'));if(_0x55e2e1['length']<0x1)return;const _0x38bd26=_0x55e2e1['map'](_0x39645b=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x39645b,'before'),this['editor']['model']['createPositionAt'](_0x39645b,0x0)));this['editor']['model']['change'](()=>{_0x31b4c4['markMultiRangeBlockFormat'](_0x38bd26,{'commandName':'listReversed','commandParams':[{'reversed':_0xcfcfd9['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x226550,_0x4def6f={}){const _0x46080e=this['editor']['plugins']['get']('TrackChangesEditing'),_0x30e3c4=this['_getSuggestionBlocks'](_0x218a1a=>_0x218a1a['is']('element','listItem')&&'numbered'===_0x218a1a['getAttribute']('listType'));if(_0x30e3c4['length']<0x1)return;const _0xf46ad2=_0x30e3c4['map'](_0x324c25=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x324c25,'before'),this['editor']['model']['createPositionAt'](_0x324c25,0x0)));this['editor']['model']['change'](()=>{_0x46080e['markMultiRangeBlockFormat'](_0xf46ad2,{'commandName':'listStart','commandParams':[{'startIndex':_0x4def6f['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x179eeb){if('formatBlock'!=_0x179eeb['type']&&'formatInline'!=_0x179eeb['type'])return;const _0x1f6b90=this['editor']['locale'],{data:_0x589ad1}=_0x179eeb;if(!_0x589ad1)return;let _0x4ba270,_0x317ad9;switch(_0x589ad1['commandName']){case'listStyle':_0x4ba270='*Change\x20to:*\x20%0',_0x317ad9={'type':'format','content':getTranslation$5(_0x1f6b90,_0x4ba270,getTranslation$5(_0x1f6b90,this['_getTranslationKeyForListStyle'](_0x589ad1['commandParams'][0x0]['type'])))};break;case'listReversed':_0x4ba270=_0x589ad1['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x317ad9={'type':'format','content':getTranslation$5(_0x1f6b90,_0x4ba270)};break;case'listStart':_0x4ba270='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x317ad9={'type':'format','content':getTranslation$5(_0x1f6b90,_0x4ba270,_0x589ad1['commandParams'][0x0]['startIndex'])};}return _0x317ad9;}['_getSuggestionBlocksForListStyle'](){const _0x272679=this['editor']['plugins']['get']('LegacyListUtils');let _0x47960a=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0x47960a[0x0]?.['is']('element','listItem')&&_0x47960a['unshift'](..._0x272679['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0x47960a[_0x47960a['length']-0x1]?.['is']('element','listItem')&&_0x47960a['push'](..._0x272679['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0x47960a=[...new Set(_0x47960a)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0x47960a=_0x47960a['filter'](_0x37f776=>_0x37f776['is']('element','listItem'))),_0x47960a;}['_getSuggestionBlocks'](_0xaddb4e){const _0x4ff4a7=this['editor']['plugins']['get']('LegacyListUtils');let _0x10b0d7=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0xaddb4e)['map'](_0x4582d4=>{const _0x326db0=this['editor']['model']['createPositionAt'](_0x4582d4,0x0);return[..._0x4ff4a7['getSiblingNodes'](_0x326db0,'backward'),..._0x4ff4a7['getSiblingNodes'](_0x326db0,'forward')];})['flat']();return _0x10b0d7=[...new Set(_0x10b0d7)],_0x10b0d7;}['_getTranslationKeyForListStyle'](_0x568b37){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0x568b37)||'default')['toUpperCase']()+'_LIST_'+_0x568b37['toUpperCase']()['replace'](/-/g,'_');}}class _0x2c22c3 extends ckeditor5['Plugin']{['afterInit'](){const _0x29544f=this['editor'];if(!_0x29544f['plugins']['has']('MediaEmbedEditing'))return;const _0x34d289=_0x29544f['plugins']['get']('TrackChangesEditing'),_0x2e8b23=_0x29544f['locale'];_0x34d289['enableCommand']('mediaEmbed'),_0x34d289['descriptionFactory']['registerElementLabel']('media',_0x4968f5=>getTranslation$5(_0x2e8b23,'ELEMENT_MEDIA',_0x4968f5));}}class TrackChangesMention extends ckeditor5['Plugin']{['afterInit'](){const _0x317e95=this['editor'];_0x317e95['plugins']['has']('MentionEditing')&&_0x317e95['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}}class _0x328ac9 extends ckeditor5['Plugin']{['afterInit'](){const _0x5b6b63=this['editor'];if(!_0x5b6b63['plugins']['has']('MergeFieldsEditing'))return;const _0x42d6d9=_0x5b6b63['plugins']['get']('TrackChangesEditing'),_0x47acb0=_0x5b6b63['locale'];_0x42d6d9['enableCommand']('insertMergeField'),_0x42d6d9['enableCommand']('insertMergeFieldBlock'),_0x42d6d9['enableCommand']('insertMergeFieldImage'),_0x42d6d9['descriptionFactory']['registerElementLabel']('mergeField',_0x289205=>getTranslation$5(_0x47acb0,'ELEMENT_MERGE_FIELD',_0x289205)),_0x42d6d9['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x4afe67=>getTranslation$5(_0x47acb0,'ELEMENT_MERGE_FIELD',_0x4afe67)),_0x42d6d9['descriptionFactory']['registerDescriptionCallback'](_0x4ecf08=>{if('insertion'!=_0x4ecf08['type']&&'deletion'!=_0x4ecf08['type'])return;const _0x19c46a=_0x4ecf08['getContainedElement']();if(null==_0x19c46a)return;const _0x5e3030=_0x5b6b63['plugins']['get']('MergeFieldsEditing');let _0x15d3da;switch(_0x5e3030['getMergeFieldType'](_0x19c46a)){case null:return;case'image':{const _0x443615=_0x5e3030['unwrapAffixes'](_0x19c46a['getAttribute']('src'));_0x15d3da=_0x5e3030['getLabel'](_0x443615)||_0x443615;break;}default:{const _0x17d4f5=_0x19c46a['getAttribute']('id');_0x15d3da=_0x5e3030['getLabel'](_0x17d4f5)||_0x17d4f5;break;}}return'insertion'==_0x4ecf08['type']?{'type':'insertion','content':getTranslation$5(_0x47acb0,'*Insert:*\x20%0','\x22'+_0x15d3da+'\x22\x20'+getTranslation$5(_0x47acb0,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':getTranslation$5(_0x47acb0,'*Remove:*\x20%0','\x22'+_0x15d3da+'\x22\x20'+getTranslation$5(_0x47acb0,'ELEMENT_MERGE_FIELD'))};});}}class TrackChangesMultiLevelList extends ckeditor5['Plugin']{['afterInit'](){const _0x261136=this['editor'],_0x598d86=_0x261136['plugins']['get']('TrackChangesEditing');_0x261136['plugins']['has']('MultiLevelList')&&(_0x598d86['enableDefaultAttributesIntegration']('multiLevelList'),_0x598d86['descriptionFactory']['registerDescriptionCallback'](_0x39bb2e=>this['handleDescriptions'](_0x39bb2e)));}['handleDescriptions'](_0x4c29e6){const _0x4b8eba=this['editor']['locale'],{data:_0x42f22e}=_0x4c29e6,_0x25853e={'type':'format','content':''};if(_0x42f22e&&'listMarkerStyle'==_0x42f22e['key']){if(!_0x42f22e['oldValue'])return{'type':'format','content':getTranslation$5(_0x4b8eba,'*Set\x20format:*\x20%0',getTranslation$5(_0x4b8eba,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x42f22e['newValue']+')'};if(!_0x42f22e['newValue']){let _0x41ca91=_0x4c29e6['head'];for(;_0x41ca91;){if(_0x41ca91['data']&&'listType'==_0x41ca91['data']['key']&&_0x41ca91['data']['newValue'])return _0x25853e;_0x41ca91=_0x41ca91['next'];}return{'type':'format','content':getTranslation$5(_0x4b8eba,'*Remove\x20format:*\x20%0',getTranslation$5(_0x4b8eba,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x42f22e['oldValue']+')'};}}}}class _0xc53305 extends ckeditor5['Plugin']{['afterInit'](){const _0x20c7a2=this['editor'];if(!_0x20c7a2['plugins']['has']('PageBreakEditing'))return;_0x20c7a2['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x4ebb3e=_0x20c7a2['plugins']['get']('TrackChangesEditing'),_0x3fd635=_0x20c7a2['locale'];_0x4ebb3e['descriptionFactory']['registerElementLabel']('pageBreak',_0x612f40=>getTranslation$5(_0x3fd635,'ELEMENT_PAGE_BREAK',_0x612f40));}}class _0x235bc5 extends ckeditor5['Plugin']{['afterInit'](){const _0xf5265d=this['editor'];if(!_0xf5265d['plugins']['has']('Paragraph'))return;const _0x4b9fb0=_0xf5265d['locale'],_0x286c9a=_0xf5265d['plugins']['get']('TrackChangesEditing');_0x286c9a['descriptionFactory']['registerElementLabel']('paragraph',_0x5df3c7=>getTranslation$5(_0x4b9fb0,'ELEMENT_PARAGRAPH',_0x5df3c7)),_0x286c9a['enableDefaultAttributesIntegration']('paragraph'),_0x286c9a['enableCommand']('insertParagraph');const _0x567fff=_0x286c9a['descriptionFactory'];_0x567fff['registerDescriptionCallback'](_0x16d65f=>{if('insertion'!==_0x16d65f['type'])return;const {start:_0x3fcc54,end:_0x22b8a8}=_0x16d65f['getFirstRange']();if(!_0x3fcc54['isTouching'](_0x22b8a8)||!_0x3fcc54['nodeAfter'])return;const _0x5c18b2=_0xf5265d['model']['schema'],_0x424ee8=_0x3fcc54['nodeAfter'];return _0x5c18b2['isBlock'](_0x424ee8)&&!_0x5c18b2['isLimit'](_0x424ee8)&&_0x5c18b2['checkChild'](_0x424ee8,'$text')?{'type':'insertion','content':getTranslation$5(_0x4b9fb0,'*Insert:*\x20%0',_0x567fff['getItemLabel'](_0x424ee8,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3e096b=this['editor'],_0x406255=_0x3e096b['locale'];_0x3e096b['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x12173a=>{if('formatBlock'!=_0x12173a['type'])return;const {data:_0x24f878}=_0x12173a;return _0x24f878&&'paragraph'==_0x24f878['commandName']?{'type':'format','content':getTranslation$5(_0x406255,'*Change\x20to:*\x20%0',getTranslation$5(_0x406255,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}class _0x5e5d2d extends ckeditor5['Plugin']{['afterInit'](){const _0x3b314f=this['editor'];_0x3b314f['commands']['get']('replaceSource')&&_0x3b314f['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}}class TrackChangesRemoveFormat extends ckeditor5['Plugin']{['afterInit'](){const _0x317f91=this['editor'];if(!_0x317f91['plugins']['has']('RemoveFormatEditing'))return;_0x317f91['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x448001=this['editor'];_0x448001['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2e7cda=>{if('formatBlock'!=_0x2e7cda['type']&&'formatInline'!=_0x2e7cda['type'])return;const {data:_0x2faa85}=_0x2e7cda;return _0x2faa85&&'removeFormat'==_0x2faa85['commandName']?{'type':'format','content':getTranslation$5(_0x448001['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}}class TrackChangesRestrictedEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x457c33=this['editor'];if(!_0x457c33['plugins']['has']('RestrictedEditingModeEditing'))return;const _0x4c8389=_0x457c33['plugins']['get']('TrackChangesEditing');_0x4c8389['enableCommand']('goToPreviousRestrictedEditingException'),_0x4c8389['enableCommand']('goToNextRestrictedEditingException');const _0x5374cf=_0x457c33['plugins']['get']('RestrictedEditingModeEditing');_0x5374cf['enableCommand']('trackChanges'),_0x5374cf['enableCommand']('acceptSuggestion'),_0x5374cf['enableCommand']('discardSuggestion'),_0x5374cf['enableCommand']('acceptAllSuggestions'),_0x5374cf['enableCommand']('discardAllSuggestions'),_0x5374cf['enableCommand']('acceptSelectedSuggestions'),_0x5374cf['enableCommand']('discardSelectedSuggestions');}}class TrackChangesShiftEnterCommand extends ckeditor5['Plugin']{['afterInit'](){const _0x4f9aaa=this['editor'];if(!_0x4f9aaa['plugins']['has']('ShiftEnter'))return;const _0x63c0b7=_0x4f9aaa['plugins']['get']('TrackChangesEditing');_0x63c0b7['enableCommand']('shiftEnter'),_0x63c0b7['descriptionFactory']['registerElementLabel']('softBreak',_0x15078e=>getTranslation$5(_0x4f9aaa['locale'],'ELEMENT_LINE_BREAK',_0x15078e));}}function getRangesWithAttribute(_0x3a09b6,_0x30bff2,_0x3f6c12){const _0x585689=[];for(const _0x364476 of _0x30bff2['getItems']())_0x364476['hasAttribute'](_0x3a09b6)&&_0x585689['push'](_0x3f6c12['createRangeOn'](_0x364476));return _0x585689;}class TrackChangesStandardEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x376074=this['editor'],_0x4df09d=_0x376074['plugins']['get']('TrackChangesEditing');_0x376074['plugins']['has']('StandardEditingModeEditing')&&(this['_enableEditingExceptionCommand'](),this['_enableEditingExceptionBlockCommand'](),_0x4df09d['enableCommand']('restrictedEditingExceptionAuto'));}['_enableEditingExceptionCommand'](){const _0x2ddc6f=this['editor'],_0x447aab=_0x2ddc6f['model'],_0x4804f4=_0x2ddc6f['locale'],_0x467575=_0x2ddc6f['plugins']['get']('TrackChangesEditing'),_0x29e888='restrictedEditingException',_0x5064d6=_0x2ddc6f['commands']['get'](_0x29e888);_0x467575['enableCommand'](_0x29e888,(_0xfeb068,_0x8c76b7={})=>{const _0x4f9f90=_0x447aab['document']['selection'];if(_0x4f9f90['isCollapsed'])return void _0xfeb068(_0x8c76b7);const _0x124b71=void 0x0!==_0x8c76b7['forceValue']?_0x8c76b7['forceValue']:!_0x5064d6['value'];_0x447aab['change'](()=>{const _0x316fec=Array['from'](_0x4f9f90['getRanges']());for(const _0x376e63 of _0x316fec){const _0x33352c=_0x124b71?[_0x376e63]:getRangesWithAttribute(_0x29e888,_0x376e63,_0x447aab);for(const _0x3c02d6 of _0x33352c)_0x467575['markInlineFormat'](_0x3c02d6,{'commandName':_0x29e888,'commandParams':[{'forceValue':_0x124b71}]});}});}),_0x467575['descriptionFactory']['registerDescriptionCallback'](_0x458065=>{if('formatBlock'!=_0x458065['type']&&'formatInline'!=_0x458065['type'])return;const {data:_0x65ef9d}=_0x458065;return _0x65ef9d&&_0x65ef9d['commandName']==_0x29e888?_0x65ef9d['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$5(_0x4804f4,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':getTranslation$5(_0x4804f4,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}['_enableEditingExceptionBlockCommand'](){const _0x17c938=this['editor'],_0x3c7a95=_0x17c938['locale'],_0xfabf73=_0x17c938['plugins']['get']('TrackChangesEditing'),_0x48dff3='restrictedEditingExceptionBlock',_0x1d4008=this['editor']['commands']['get'](_0x48dff3);_0xfabf73['enableCommand'](_0x48dff3,(_0x41d4d8,_0x539440={})=>{const _0x46d262=this['editor']['model']['document']['selection'],_0x524313=_0x539440&&void 0x0!==_0x539440['forceValue']?_0x539440['forceValue']:!_0x1d4008['value'];let _0xb9838b=[];if(_0x524313){const _0x9e9566=Array['from'](_0x46d262['getSelectedBlocks']())['filter'](_0xda8785=>isInBlockException(_0xda8785)||_0x30f151(_0xda8785,this['editor']['model']['schema']));_0xb9838b=getRangesOfBlockGroups(_0x9e9566,_0x17c938['model']);}else{const _0x416e5d=Array['from'](_0x46d262['getSelectedBlocks']())['map'](_0x4a4c3a=>findExceptionContentBlock(_0x4a4c3a))['filter'](_0x265fb4=>!!_0x265fb4);_0xb9838b=getRangesOfBlockGroups(_0x416e5d,_0x17c938['model']);}_0x17c938['model']['change'](()=>{for(const _0x32cdbe of _0xb9838b)_0xfabf73['markBlockFormat'](_0x32cdbe,{'commandName':_0x48dff3,'commandParams':[{'forceValue':_0x524313}]});});}),_0xfabf73['descriptionFactory']['registerDescriptionCallback'](_0x32a08c=>{const {data:_0x46be90}=_0x32a08c;if(_0x46be90&&_0x46be90['commandName']==_0x48dff3)return _0x46be90['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$5(_0x3c7a95,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':getTranslation$5(_0x3c7a95,'FORMAT_RESTRICTED_DISABLED')};});}}function _0x30f151(_0x24b940,_0x29e2ef){const _0x380aa0=_0x29e2ef['createContext'](_0x24b940['parent']);return!!_0x29e2ef['checkChild'](_0x380aa0,'restrictedEditingException')&&!!_0x29e2ef['checkChild'](_0x380aa0['push']('restrictedEditingException'),_0x24b940);}function isInBlockException(_0x2531f7){return!!_0x2531f7['findAncestor']('restrictedEditingException',{'includeSelf':!0x0});}function findExceptionContentBlock(_0x394357){let _0x3c850a=_0x394357;for(;_0x3c850a['parent'];){if('restrictedEditingException'==_0x3c850a['parent']['name'])return _0x3c850a;_0x3c850a=_0x3c850a['parent'];}return null;}class TrackChangesStylesDropdown extends ckeditor5['Plugin']{['afterInit'](){const _0x1c7817=this['editor'];if(!_0x1c7817['plugins']['has']('Style')||!_0x1c7817['plugins']['has']('DataSchema'))return;const _0x458275=_0x1c7817['plugins']['get']('TrackChangesEditing'),_0x42ee1f=_0x1c7817['locale'],_0x270bd0=_0x1c7817['config']['get']('style')||{},_0x4831ca=_0x1c7817['plugins']['get']('GeneralHtmlSupport'),_0x1f1f01=_0x1c7817['plugins']['get']('StyleUtils')['normalizeConfig'](_0x1c7817['plugins']['get']('DataSchema'),_0x270bd0['definitions']);_0x458275['enableDefaultAttributesIntegration']('style');const _0x5c8de5=new Set();for(const _0x1e1b30 of _0x1f1f01['block']){const _0x4b80ed=_0x4831ca['getGhsAttributeNameForElement'](_0x1e1b30['element']);_0x5c8de5['add'](_0x4b80ed);}const _0x3c8091=new Set();for(const _0x2b3a96 of _0x1f1f01['inline']){const _0x2026b4=_0x4831ca['getGhsAttributeNameForElement'](_0x2b3a96['element']);_0x3c8091['add'](_0x2026b4);for(const _0x270099 of _0x2b3a96['ghsAttributes'])_0x3c8091['add'](_0x270099);}for(const _0x220ae4 of _0x5c8de5)_0x458275['descriptionFactory']['registerAttributeLabel'](_0x220ae4,getTranslation$5(_0x42ee1f,'FORMAT_STYLE'));for(const _0x495a42 of _0x3c8091)_0x458275['descriptionFactory']['registerAttributeLabel'](_0x495a42,getTranslation$5(_0x42ee1f,'FORMAT_STYLE'));this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x28a71d=this['editor'],_0x12d242=_0x28a71d['locale'];_0x28a71d['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x274478=>{if('formatBlock'!=_0x274478['type']&&'formatInline'!=_0x274478['type'])return;const {data:_0xadd0e7}=_0x274478;return _0xadd0e7&&'style'===_0xadd0e7['commandName']?_0xadd0e7['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$5(_0x12d242,'*Set\x20format:*\x20%0',_0xadd0e7['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':getTranslation$5(_0x12d242,'*Remove\x20format:*\x20%0',_0xadd0e7['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}}class _0x52882c extends ckeditor5['Plugin']{['_tablePostFixingSubtypes'];['_tableSuggestions'];constructor(_0xf387d2){super(_0xf387d2),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x22167c=this['editor'],_0x143bd2=_0x22167c['model']['document']['selection'];if(!_0x22167c['plugins']['has']('TableEditing'))return;const _0x4e3146=_0x22167c['locale'],_0x543395=_0x22167c['plugins']['get']('TrackChangesEditing'),_0x4dcc80=_0x22167c['plugins']['get']('TableUtils');_0x543395['descriptionFactory']['registerElementLabel']('table',_0x51abd0=>getTranslation$5(_0x4e3146,'ELEMENT_TABLE',_0x51abd0)),this['_setupColumnsRowsFixing'](),_0x543395['enableCommand']('insertTable'),_0x543395['enableCommand']('selectTableRow'),_0x543395['enableCommand']('selectTableColumn');for(const _0x4a86c0 of['insertTableRowAbove','insertTableRowBelow']){const _0x226aec=_0x22167c['commands']['get'](_0x4a86c0);_0x543395['enableCommand'](_0x4a86c0,_0x31c68e=>{_0x22167c['model']['change'](_0x86e737=>{_0x31c68e();const _0x31d8cd='above'===_0x226aec['order'],_0x2bf793=_0x4dcc80['getSelectionAffectedTableCells'](_0x143bd2),_0x39fde9=_0x4dcc80['getRowIndexes'](_0x2bf793),_0x6905e=_0x31d8cd?_0x39fde9['first']-0x1:_0x39fde9['last']+0x1,_0x34a6e1=_0x2bf793[0x0]['findAncestor']('table'),_0x213ccd=_0x4dcc80['createTableWalker'](_0x34a6e1,{'startRow':_0x6905e,'endRow':_0x6905e}),_0x3c714a=Array['from'](_0x213ccd)['map'](_0x62097c=>_0x86e737['createRangeOn'](_0x62097c['cell']));_0x543395['markMultiRangeInsertion'](_0x3c714a,'tableRow');});});}for(const _0x1e5556 of['insertTableColumnLeft','insertTableColumnRight']){const _0x33fa03=_0x22167c['commands']['get'](_0x1e5556);_0x543395['enableCommand'](_0x1e5556,_0x5f5e09=>{_0x22167c['model']['change'](_0x4b9748=>{_0x5f5e09();const _0x549c37='left'===_0x33fa03['order'],_0xcd747b=_0x4dcc80['getSelectionAffectedTableCells'](_0x143bd2),_0x2e74cd=_0x4dcc80['getColumnIndexes'](_0xcd747b),_0x7f5860=_0x549c37?_0x2e74cd['first']-0x1:_0x2e74cd['last']+0x1,_0x36eefe=_0xcd747b[0x0]['findAncestor']('table'),_0x4f4ef5=_0x4dcc80['createTableWalker'](_0x36eefe,{'startRow':0x0,'column':_0x7f5860,'includeAllSlots':!0x1}),_0x386a4d=Array['from'](_0x4f4ef5)['map'](_0x41374b=>_0x4b9748['createRangeOn'](_0x41374b['cell']));_0x543395['markMultiRangeInsertion'](_0x386a4d,'tableColumn');});});}for(const _0x1d1b60 of['removeTableRow','removeTableColumn']){const _0x406abd=_0x1d1b60['substr'](0xb),_0x38213d=_0x406abd['toLowerCase'](),_0x34a608=_0x38213d['substr'](0x0,0x3)+'span',_0x51f47f='table'+_0x406abd,_0x5bb1aa='min'+_0x406abd,_0x41f88b='max'+_0x406abd;_0x543395['enableCommand'](_0x1d1b60,()=>{_0x22167c['model']['change'](_0x3df011=>{const _0x5e0715=_0x4dcc80['getSelectionAffectedTableCells'](_0x143bd2),_0x1e62a8=_0x5e0715[0x0]['findAncestor']('table');let _0x4ef0e7;if('removeTableRow'==_0x1d1b60){const _0x4b7fa9=_0x4dcc80['getRowIndexes'](_0x5e0715);_0x4ef0e7={'startRow':_0x4b7fa9['first'],'endRow':_0x4b7fa9['last'],'includeAllSlots':!0x0};}else{const _0x2c0c28=_0x4dcc80['getColumnIndexes'](_0x5e0715);_0x4ef0e7={'startColumn':_0x2c0c28['first'],'endColumn':_0x2c0c28['last'],'includeAllSlots':!0x0};}const _0x4ee141=_0x4dcc80['createTableWalker'](_0x1e62a8,_0x4ef0e7),_0x442f83=Array['from'](_0x4ee141)['map'](({cell:_0x4b0fcd})=>_0x4b0fcd),_0x3cfc92=_0x32f1d8(_0x442f83['filter'](_0x4661c6=>_0x4661c6['hasAttribute'](_0x34a608))),_0x4fa1d1=_0x32f1d8(_0x442f83['filter'](_0x5d44f0=>!_0x5d44f0['hasAttribute'](_0x34a608)))['map'](_0x2fc152=>_0x3df011['createRangeOn'](_0x2fc152)),_0x4e6732=_0x543395['markMultiRangeDeletion'](_0x4fa1d1,_0x51f47f);if(_0x4e6732&&('tableRow'==_0x4e6732['subType']||'tableColumn'==_0x4e6732['subType'])){const _0x528c3f=this['_getSuggestionCoords'](_0x4e6732);for(const _0x57df08 of _0x3cfc92){const _0x274937=_0x3df011['createRangeOn'](_0x57df08),_0x4033a8=_0x4dcc80['getCellLocation'](_0x57df08),_0x3ef647=_0x57df08['getAttribute'](_0x34a608)-0x1,_0x2d9021=_0x528c3f[_0x5bb1aa],_0x10ffab=_0x528c3f[_0x41f88b];_0x2d9021<=_0x4033a8[_0x38213d]&&_0x4033a8[_0x38213d]+_0x3ef647<=_0x10ffab&&_0x4e6732['addRange'](_0x274937);}}});});}function _0x4edc1c(_0x128db){const _0x394051=Array['from'](_0x143bd2['getRanges']())['map'](_0x2b73d3=>ckeditor5['ModelLiveRange']['fromRange'](_0x2b73d3));_0x22167c['model']['change'](_0x57a599=>{const _0x4557d7=_0x57a599['batch'];_0x128db=_0x128db['filter'](_0x40cf0b=>'$graveyard'!=_0x40cf0b['root']['rootName']),_0x57a599['setSelection'](_0x128db),_0x22167c['commands']['get']('removeTableRow')['refresh'](),_0x22167c['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x22167c['model']['enqueueChange'](()=>{_0x22167c['model']['enqueueChange'](_0x4557d7,_0xd321b9=>{const _0x14d80f=_0x394051['filter'](_0xadb23e=>'$graveyard'!=_0xadb23e['root']['rootName']);_0x14d80f['length']>0x0&&_0xd321b9['setSelection'](_0x14d80f);for(const _0x28e1b0 of _0x394051)_0x28e1b0['detach']();});});});}function _0x2c881b(_0x1864c9){_0x22167c['model']['change'](_0x231e50=>{const _0x4e5753=Array['from'](_0x143bd2['getRanges']())['map'](_0x5a0b41=>ckeditor5['ModelLiveRange']['fromRange'](_0x5a0b41)),_0xa9059a=[];for(const _0xc6dc7b of _0x1864c9)for(const _0xbadf8 of _0xc6dc7b['getItems']({'shallow':!0x0}))_0xa9059a['push'](_0xbadf8);for(const _0x21c553 of _0xa9059a)'$graveyard'!=_0x21c553['root']['rootName']&&(_0x231e50['setSelection'](_0x231e50['createPositionAt'](_0x21c553,0x0)),_0x22167c['commands']['get']('removeTableColumn')['refresh'](),_0x22167c['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x5ae7d9=_0x4e5753['filter'](_0x5317ce=>'$graveyard'!=_0x5317ce['root']['rootName']);_0x5ae7d9['length']>0x0&&_0x231e50['setSelection'](_0x5ae7d9);for(const _0x343df0 of _0x4e5753)_0x343df0['detach']();});}function _0x1953ca(_0xe29f48,_0x1ea267){return _0x1ea267['every'](_0x39ee9f=>_0xe29f48['some'](_0x54fed6=>_0x54fed6['end']['isEqual'](_0x39ee9f['start'])||_0x39ee9f['end']['isEqual'](_0x54fed6['start'])));}function _0x2fb8db(_0x48a507,_0x30bff6){return!_0x48a507['some'](_0x30d985=>_0x30bff6['some'](_0x19fff1=>_0x30d985['isIntersecting'](_0x19fff1)))&&_0x48a507['some'](_0x32de8e=>_0x30bff6['some'](_0x47a878=>_0x32de8e['end']['isTouching'](_0x47a878['start'])));}_0x543395['descriptionFactory']['registerDescriptionCallback'](_0xbcca98=>{if('insertion'!=_0xbcca98['type']&&'deletion'!=_0xbcca98['type'])return;const _0x3ba6ba=_0xbcca98['getContainedElement']();if(null!=_0x3ba6ba&&_0x3ba6ba['is']('element','table')){if('insertion'==_0xbcca98['type']){const _0x5f57b9=_0xbcca98['getItems']()['filter'](_0x4869aa=>_0x4869aa['is']('$textProxy'))['map'](_0x3110fb=>_0x3110fb['data']);if(_0x5f57b9['length'])return{'type':'insertion','content':getTranslation$5(_0x4e3146,'*Insert:*\x20%0',getTranslation$5(_0x4e3146,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x5f57b9['join']('\x20')+'\x22'))};}if('deletion'==_0xbcca98['type']){const _0x2941c0=_0xbcca98['getItems']()['filter'](_0xd85c13=>_0xd85c13['is']('$textProxy'))['map'](_0x3f0d5c=>_0x3f0d5c['data']);if(_0x2941c0['length'])return{'type':'deletion','content':getTranslation$5(_0x4e3146,'*Remove:*\x20%0',getTranslation$5(_0x4e3146,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x2941c0['join']('\x20')+'\x22'))};}}}),_0x543395['descriptionFactory']['registerDescriptionCallback'](_0x41a14f=>{if('tableRow'==_0x41a14f['subType']){const _0x3d5b72=_0x41a14f['getItems']()['filter'](_0xeed101=>_0xeed101['is']('$textProxy'))['map'](_0x2f9a9b=>_0x2f9a9b['data']),_0x18c510=this['_getSuggestionCoords'](_0x41a14f),_0x4ea1a9=_0x18c510['maxRow']-_0x18c510['minRow']+0x1;if('insertion'==_0x41a14f['type'])return _0x3d5b72['length']?{'type':'insertion','content':getTranslation$5(_0x4e3146,'*Insert:*\x20%0',getTranslation$5(_0x4e3146,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x4ea1a9,'\x22'+_0x3d5b72['join']('\x20')+'\x22']))}:{'type':'insertion','content':getTranslation$5(_0x4e3146,'*Insert:*\x20%0',getTranslation$5(_0x4e3146,'ELEMENT_TABLE_ROW',_0x4ea1a9))};if('deletion'==_0x41a14f['type'])return _0x3d5b72['length']?{'type':'deletion','content':getTranslation$5(_0x4e3146,'*Remove:*\x20%0',getTranslation$5(_0x4e3146,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x4ea1a9,'\x22'+_0x3d5b72['join']('\x20')+'\x22']))}:{'type':'deletion','content':getTranslation$5(_0x4e3146,'*Remove:*\x20%0',getTranslation$5(_0x4e3146,'ELEMENT_TABLE_ROW',_0x4ea1a9))};}if('tableColumn'==_0x41a14f['subType']){const _0x5b4f82=_0x41a14f['getItems']()['filter'](_0x148d62=>_0x148d62['is']('$textProxy'))['map'](_0x5cd04c=>_0x5cd04c['data']),_0x286849=this['_getSuggestionCoords'](_0x41a14f),_0x3b122d=_0x286849['maxColumn']-_0x286849['minColumn']+0x1;if('insertion'==_0x41a14f['type'])return _0x5b4f82['length']?{'type':'insertion','content':getTranslation$5(_0x4e3146,'*Insert:*\x20%0',getTranslation$5(_0x4e3146,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x3b122d,'\x22'+_0x5b4f82['join']('\x20')+'\x22']))}:{'type':'insertion','content':getTranslation$5(_0x4e3146,'*Insert:*\x20%0',getTranslation$5(_0x4e3146,'ELEMENT_TABLE_COLUMN',_0x3b122d))};if('deletion'==_0x41a14f['type'])return _0x5b4f82['length']?{'type':'deletion','content':getTranslation$5(_0x4e3146,'*Remove:*\x20%0',getTranslation$5(_0x4e3146,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x3b122d,'\x22'+_0x5b4f82['join']('\x20')+'\x22']))}:{'type':'deletion','content':getTranslation$5(_0x4e3146,'*Remove:*\x20%0',getTranslation$5(_0x4e3146,'ELEMENT_TABLE_COLUMN',_0x3b122d))};}}),_0x543395['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x4edc1c),_0x543395['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x4edc1c),_0x543395['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x2c881b),_0x543395['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x2c881b),_0x543395['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0x1953ca),_0x543395['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0x1953ca),_0x543395['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0x2fb8db),_0x543395['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0x2fb8db);}['_acceptFormatSuggestionCallbackFactory'](){const _0x283153=this['editor'],_0x126a8e=_0x283153['model']['document']['selection'];return(_0x1bd0df,_0x6a13ea)=>{_0x283153['model']['change'](_0x14e7c7=>{const {commandName:_0xf8a552,commandParams:_0x28c8c6}=_0x6a13ea;let _0x393a32=_0x1bd0df[0x0]['end']['nodeBefore'];_0x28c8c6&&_0x28c8c6[0x0]&&!0x1===_0x28c8c6[0x0]['forceValue']&&(_0x393a32=_0x1bd0df[0x0]['start']['nodeAfter']);const _0x1fe35c=_0x14e7c7['createRangeIn'](_0x393a32);if('$graveyard'==_0x1fe35c['root']['rootName'])return;const _0x2e1b7c=Array['from'](_0x126a8e['getRanges']())['map'](_0x2147cc=>ckeditor5['ModelLiveRange']['fromRange'](_0x2147cc));_0x14e7c7['setSelection'](_0x1fe35c),_0x283153['commands']['get'](_0xf8a552)['refresh'](),_0x28c8c6['push']({'forceDefaultExecution':!0x0}),_0x283153['execute'](_0xf8a552,..._0x28c8c6);const _0x51853b=_0x2e1b7c['filter'](_0x4ec9dd=>'$graveyard'!=_0x4ec9dd['root']['rootName']);_0x51853b['length']>0x0&&_0x14e7c7['setSelection'](_0x51853b);for(const _0x194ba3 of _0x2e1b7c)_0x194ba3['detach']();});};}['_getCoordsForCells'](_0x244b63){const _0x32103b=this['editor']['plugins']['get']('TableUtils');let _0x3a2f2a=Number['MAX_SAFE_INTEGER'],_0x2093c0=Number['MIN_SAFE_INTEGER'],_0x2364a0=Number['MAX_SAFE_INTEGER'],_0x2ad48f=Number['MIN_SAFE_INTEGER'];for(const _0xd2db47 of _0x244b63){if('$graveyard'==_0xd2db47['root']['rootName'])continue;const {row:_0x243223,column:_0x4ed11d}=_0x32103b['getCellLocation'](_0xd2db47),_0x1bb2b4=_0xd2db47['hasAttribute']('rowspan')?_0xd2db47['getAttribute']('rowspan')-0x1:0x0,_0x5b03d8=_0xd2db47['hasAttribute']('colspan')?_0xd2db47['getAttribute']('colspan')-0x1:0x0;_0x3a2f2a=_0x243223<_0x3a2f2a?_0x243223:_0x3a2f2a,_0x2093c0=_0x243223+_0x1bb2b4>_0x2093c0?_0x243223+_0x1bb2b4:_0x2093c0,_0x2364a0=_0x4ed11d<_0x2364a0?_0x4ed11d:_0x2364a0,_0x2ad48f=_0x4ed11d+_0x5b03d8>_0x2ad48f?_0x4ed11d+_0x5b03d8:_0x2ad48f;}return{'minRow':_0x3a2f2a,'maxRow':_0x2093c0,'minColumn':_0x2364a0,'maxColumn':_0x2ad48f};}['_setupColumnsRowsFixing'](){const _0x41b3ef=this['editor'],_0x22b74d=_0x41b3ef['plugins']['get']('TrackChangesEditing'),_0x2270fd=_0x41b3ef['plugins']['get']('TableUtils');_0x41b3ef['model']['document']['on']('change:data',()=>{const _0x5d779f=Array['from'](_0x41b3ef['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x473658,data:_0x824bf}of _0x5d779f){const {group:_0x1fc530,id:_0x36ff37,subType:_0x1af0cb}=splitSuggestionMarkerName(_0x473658);if('suggestion'!=_0x1fc530)continue;if(null!=_0x824bf['oldRange'])continue;const _0x3aee93=_0x22b74d['getSuggestion'](_0x36ff37);this['_tablePostFixingSubtypes']['includes'](_0x1af0cb)&&this['_tableSuggestions']['add'](_0x3aee93);}},{'priority':'low'});const _0x3f2450=(_0x59a24f,_0x3bb6af)=>{let _0x2b8b59=!0x1;const _0x3f3b10=_0x3bb6af['createRangeOn'](_0x59a24f),_0xe27a21=_0x59a24f['findAncestor']('table'),_0x7f2a51=_0x2270fd['getCellLocation'](_0x59a24f);for(const _0x4a1e0c of this['_tableSuggestions']){const _0x12f776=_0x4a1e0c['subType'],_0xab25e=_0x12f776['startsWith']('tablePaste'),_0x54b64e=_0x12f776['substr'](_0xab25e?0xa:0x5),_0x2d2e9a=_0x54b64e['toLowerCase'](),_0x19634e=_0x2d2e9a['substr'](0x0,0x3)+'span',_0x458c0f='min'+_0x54b64e,_0x4dca83='max'+_0x54b64e;if(!_0x4a1e0c['isInContent'])continue;if(_0xe27a21!=_0x4a1e0c['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0x4a1e0c['isIntersectingWithRange'](_0x3f3b10))continue;const _0x213254=_0x59a24f['hasAttribute'](_0x19634e)?_0x59a24f['getAttribute'](_0x19634e)-0x1:0x0,_0x1b0f02=this['_getSuggestionCoords'](_0x4a1e0c),_0x470138=_0x1b0f02[_0x458c0f],_0x4c7878=_0x1b0f02[_0x4dca83];_0x470138<=_0x7f2a51[_0x2d2e9a]&&_0x7f2a51[_0x2d2e9a]+_0x213254<=_0x4c7878&&(_0x4a1e0c['addRange'](_0x3f3b10),_0x2b8b59=!0x0);}return _0x2b8b59;};_0x41b3ef['model']['document']['registerPostFixer'](_0xaa152e=>{let _0x26436f=!0x1;for(const _0x1f341c of _0x41b3ef['model']['document']['differ']['getChanges']())if('insert'==_0x1f341c['type']){if('tableRow'==_0x1f341c['name']){for(const _0x1904c9 of _0x1f341c['position']['nodeAfter']['getChildren']())_0x26436f=_0x26436f||_0x3f2450(_0x1904c9,_0xaa152e);}else'tableCell'==_0x1f341c['name']&&(_0x26436f=_0x26436f||_0x3f2450(_0x1f341c['position']['nodeAfter'],_0xaa152e));}return _0x26436f;});}['_getSuggestionCoords'](_0x21a1c5){return this['_getCoordsForCells'](_0x21a1c5['getRanges']()['map'](_0x33202f=>_0x33202f['start']['nodeAfter']));}}function _0x32f1d8(_0x5d623c){return Array['from'](new Set(_0x5d623c)['values']());}class TrackChangesTableMergeSplit extends ckeditor5['Plugin']{static get['requires'](){return[_0x52882c];}['afterInit'](){const _0x4d6ecd=this['editor'],_0x433fb5=_0x4d6ecd['model']['document']['selection'],_0x265037=_0x4d6ecd['locale'];if(!_0x4d6ecd['plugins']['has']('TableEditing'))return;const _0x720474=_0x4d6ecd['plugins']['get']('TrackChangesEditing'),_0x3d18d1=_0x4d6ecd['plugins']['get']('TableUtils'),_0x445b93=_0x4d6ecd['plugins']['get'](_0x52882c);_0x445b93['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x720474['enableCommand']('mergeTableCells',()=>{const _0x25b637=_0x3d18d1['getSelectionAffectedTableCells'](_0x4d6ecd['model']['document']['selection']);_0x4d6ecd['model']['change'](()=>{_0x720474['markMultiRangeBlockFormat'](_0x25b637,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x4d6ecd['commands']['get']('mergeTableCells')['on']('execute',(_0x39eaa9,_0x142fdc)=>{_0x4d6ecd['commands']['get']('trackChanges')['value']&&(_0x142fdc['length']>0x0&&_0x142fdc[_0x142fdc['length']-0x1]&&_0x142fdc[_0x142fdc['length']-0x1]['forceDefaultExecution']||_0x720474['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x39eaa9['stop']());},{'priority':'highest'});for(const _0x3a2b2b of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x5113f3=_0x4d6ecd['commands']['get'](_0x3a2b2b);_0x720474['enableCommand'](_0x3a2b2b,()=>{const _0x4de5db=_0x4d6ecd['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x3863aa=>_0x3863aa['is']('element','tableCell')),_0x1df786=_0x5113f3['value'];_0x4d6ecd['model']['change'](()=>{_0x720474['markMultiRangeBlockFormat']([_0x4de5db,_0x1df786],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x3160f8 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x20d2f3=_0x4d6ecd['commands']['get'](_0x3160f8);_0x720474['enableCommand'](_0x3160f8,()=>{const _0x1ba44d=_0x3d18d1['getSelectionAffectedTableCells'](_0x4d6ecd['model']['document']['selection'])[0x0],_0x273511=_0x1ba44d['findAncestor']('table'),{column:_0x49c71e,row:_0x5eb77b}=_0x3d18d1['getCellLocation'](_0x1ba44d);let _0x4a211b=[];if('horizontally'==_0x20d2f3['direction']){const _0x32fa81=_0x3d18d1['createTableWalker'](_0x273511,{'startRow':_0x5eb77b,'endRow':_0x5eb77b,'includeAllSlots':!0x0});_0x4a211b=Array['from'](_0x32fa81)['map'](_0x2a4e82=>_0x2a4e82['cell']);}else{const _0x5e8daa=_0x3d18d1['createTableWalker'](_0x273511,{'column':_0x49c71e,'includeAllSlots':!0x0});_0x4a211b=Array['from'](_0x5e8daa)['map'](_0x40d227=>_0x40d227['cell']);}_0x4d6ecd['model']['change'](_0x1d6970=>{_0x720474['markBlockFormat'](_0x1d6970['createRangeOn'](_0x1ba44d),{'commandName':_0x3160f8,'commandParams':[]},_0x4a211b,_0x3160f8);});});}_0x720474['descriptionFactory']['registerDescriptionCallback'](_0x2e5afe=>{if('formatBlock'!=_0x2e5afe['type']&&'formatInline'!=_0x2e5afe['type'])return;const {data:_0xaba3b0}=_0x2e5afe;return _0xaba3b0&&'mergeTableCells'==_0xaba3b0['commandName']?{'type':'format','content':getTranslation$5(_0x265037,'*Merge\x20cells*')}:void 0x0;}),_0x720474['descriptionFactory']['registerDescriptionCallback'](_0x5b80d3=>{if('formatBlock'!=_0x5b80d3['type']&&'formatInline'!=_0x5b80d3['type'])return;const {data:_0x5de685}=_0x5b80d3;return _0x5de685?'splitTableCellVertically'==_0x5de685['commandName']?{'type':'format','content':getTranslation$5(_0x265037,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x5de685['commandName']?{'type':'format','content':getTranslation$5(_0x265037,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x52b344=_0x445b93['_acceptFormatSuggestionCallbackFactory']();for(const _0x33f13d of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0x720474['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x33f13d,'accept',_0x52b344);for(const _0x6155b9 of['splitTableCellVertically','splitTableCellHorizontally'])_0x720474['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x6155b9,'accept',_0x52b344);_0x720474['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0x55258e=>{_0x4d6ecd['model']['change'](_0x49d4e9=>{const _0x228b78=Array['from'](_0x433fb5['getRanges']())['map'](_0x3dd0da=>ckeditor5['ModelLiveRange']['fromRange'](_0x3dd0da));_0x49d4e9['setSelection'](_0x55258e),_0x4d6ecd['commands']['get']('mergeTableCells')['refresh'](),_0x4d6ecd['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x25cc3e=_0x228b78['filter'](_0x22edb8=>'$graveyard'!=_0x22edb8['root']['rootName']);_0x25cc3e['length']>0x0&&_0x49d4e9['setSelection'](_0x25cc3e);for(const _0x198b4b of _0x228b78)_0x198b4b['detach']();});});for(const _0x2f642d of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x248ffe=_0x4d6ecd['commands']['get'](_0x2f642d);_0x248ffe['on']('set:isEnabled',(_0x3c5fef,_0x107c3b,_0x358e19)=>{if(_0x358e19){const _0x44f4e1=_0x4d6ecd['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x2b4773=>_0x2b4773['is']('element','tableCell'));this['_areMergableCells'](_0x248ffe['value'],_0x44f4e1)||(_0x3c5fef['return']=!0x1,_0x3c5fef['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x165c21=this['editor']['commands']['get']('mergeTableCells'),_0x578099=this['editor']['plugins']['get']('TableUtils');if(!_0x165c21['isEnabled'])return!0x1;const _0x15bd8c=_0x578099['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0xe3cb5a of _0x15bd8c)for(const _0x11b618 of _0x15bd8c)if(_0xe3cb5a!=_0x11b618&&!this['_areMergableCells'](_0xe3cb5a,_0x11b618))return!0x1;return!0x0;}['_areMergableCells'](_0x2eb2db,_0x127845){const _0x428e0d=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3e61bb=this['editor']['model']['createRangeOn'](_0x2eb2db),_0x31bbde=this['editor']['model']['createRangeOn'](_0x127845),_0x520b0c=new Set(),_0x32e365=new Set();for(const _0x2da0fb of _0x428e0d['getSuggestions']())if(('insertion'==_0x2da0fb['type']||'deletion'==_0x2da0fb['type']||'mergeTableCells'==_0x2da0fb['subType'])&&_0x2da0fb['isInContent']){for(const _0x2b8a11 of _0x2da0fb['getRanges']())_0x2b8a11['containsRange'](_0x3e61bb,!0x0)&&_0x520b0c['add'](_0x2da0fb['type']+':'+_0x2da0fb['author']['id']),_0x2b8a11['containsRange'](_0x31bbde,!0x0)&&_0x32e365['add'](_0x2da0fb['type']+':'+_0x2da0fb['author']['id']);}if(_0x520b0c['size']!=_0x32e365['size'])return!0x1;for(const _0x338268 of _0x520b0c)if(!_0x32e365['has'](_0x338268))return!0x1;return!0x0;}}class _0x5c27a2 extends ckeditor5['Plugin']{static get['requires'](){return[_0x52882c];}['afterInit'](){const _0x14e6d3=this['editor'];if(!_0x14e6d3['plugins']['has']('TableEditing'))return;const _0x5aa6a8=_0x14e6d3['locale'],_0x48d66a=_0x14e6d3['plugins']['get']('TrackChangesEditing');_0x48d66a['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x48d66a['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x48d66a['descriptionFactory']['registerAttributeLabel']('headingRows',getTranslation$5(_0x5aa6a8,'FORMAT_HEADER_ROW')),_0x48d66a['descriptionFactory']['registerAttributeLabel']('headingColumns',getTranslation$5(_0x5aa6a8,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x538938=this['editor']['plugins']['get']('TrackChangesEditing'),_0x53f827=this['editor']['plugins']['get'](_0x52882c)['_acceptFormatSuggestionCallbackFactory']();_0x538938['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0x53f827),_0x538938['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x53f827),this['_registerLegacyConverters'](),this['_registerLegacyDescription']();}['_registerLegacyConverters'](){const _0x53e898=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2c8471=this['editor']['plugins']['get']('TableUtils');function _0x44e50c({showActiveMarker:_0x2fdeb9=!0x0,setDataAttribute:_0x3e70ff=!0x0}={}){return(_0x402c6e,_0x3ccd23,_0xfe21ef)=>{const {type:_0x5d8fdf,id:_0x49bfbb}=splitSuggestionMarkerName(_0x3ccd23['markerName']);if(!_0x53e898['hasSuggestion'](_0x49bfbb))return;const _0x29f55a=_0x53e898['getSuggestion'](_0x49bfbb),_0x261e5f=_0x29f55a['data'];if('formatBlock'!=_0x29f55a['type']||!_0x261e5f||'setTableColumnHeader'!=_0x261e5f['commandName'])return;if(_0x3ccd23['item'])return void _0x402c6e['stop']();if(!_0xfe21ef['consumable']['consume'](_0x3ccd23['markerRange'],_0x402c6e['name']))return;const _0x3fcdc3=_0x3ccd23['markerRange']['start']['nodeAfter'],_0x4b1c51=_0x3ccd23['markerRange']['end']['nodeBefore'],_0xc36648=_0x3fcdc3['parent']['parent'],{column:_0x23413c}=_0x2c8471['getCellLocation'](_0x3fcdc3),{column:_0x5d1c76}=_0x2c8471['getCellLocation'](_0x4b1c51);for(let _0x2c1c25=_0x23413c;_0x2c1c25<=_0x5d1c76;_0x2c1c25++){const _0xb640d2=_0x2c8471['createTableWalker'](_0xc36648,{'column':_0x2c1c25,'includeAllSlots':!0x1});for(const _0x22fddb of _0xb640d2){const _0x37c1d1=_0x22fddb['cell'],_0x579db8=_0xfe21ef['mapper']['toViewElement'](_0x37c1d1);_0xfe21ef['writer']['addClass']('ck-suggestion-marker-'+_0x5d8fdf,_0x579db8),_0x3e70ff&&_0xfe21ef['writer']['setAttribute']('data-suggestion',_0x49bfbb,_0x579db8),_0xfe21ef['mapper']['bindElementToMarker'](_0x579db8,_0x3ccd23['markerName']),_0x2fdeb9&&(_0x53e898['activeMarkers']['includes'](_0x3ccd23['markerName'])?_0xfe21ef['writer']['addClass']('ck-suggestion-marker--active',_0x579db8):_0xfe21ef['writer']['removeClass']('ck-suggestion-marker--active',_0x579db8));}}};}this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x44e50c(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x108136,_0x5226ec,_0x26dc92)=>{_0x26dc92['options']['showSuggestionHighlights']&&_0x44e50c({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x108136,_0x5226ec,_0x26dc92);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x429ca9,_0x538a27,_0xf9eb29)=>{const {type:_0x1348b5,id:_0x57bc2a}=splitSuggestionMarkerName(_0x538a27['markerName']);if(!_0x53e898['hasSuggestion'](_0x57bc2a))return;const _0x14bca6=_0x53e898['getSuggestion'](_0x57bc2a),_0x44a6ab=_0x14bca6['data'];if('formatBlock'!=_0x14bca6['type']||!_0x44a6ab||'setTableColumnHeader'!=_0x44a6ab['commandName'])return;const _0x5f4b10=_0xf9eb29['mapper']['markerNameToElements'](_0x538a27['markerName']);if(_0x5f4b10){for(const _0x53cea0 of _0x5f4b10)_0xf9eb29['writer']['removeClass']('ck-suggestion-marker-'+_0x1348b5,_0x53cea0),_0xf9eb29['writer']['removeClass']('ck-suggestion-marker--active',_0x53cea0),_0xf9eb29['writer']['removeAttribute']('data-suggestion',_0x53cea0),_0xf9eb29['mapper']['unbindElementFromMarkerName'](_0x53cea0,_0x538a27['markerName']);}},{'priority':'highest'});}['_registerLegacyDescription'](){const _0x505d22=this['editor'],_0x11f390=_0x505d22['locale'];function _0x153dda(_0x1c2952){return{'type':'format','content':getTranslation$5(_0x11f390,'*Format:*\x20%0',_0x1c2952)};}_0x505d22['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x588aaa=>{if('formatBlock'!=_0x588aaa['type'])return;const {data:_0x2247e7}=_0x588aaa;if(_0x2247e7){if('setTableRowHeader'==_0x2247e7['commandName']){const _0x5d1df6=_0x2247e7['commandParams'][0x0]['forceValue'];return _0x153dda(getTranslation$5(_0x11f390,_0x5d1df6?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x2247e7['commandName']){const _0x41738f=_0x2247e7['commandParams'][0x0]['forceValue'];return _0x153dda(getTranslation$5(_0x11f390,_0x41738f?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}});}}class TrackChangesTableFooters extends ckeditor5['Plugin']{static get['requires'](){return[_0x52882c];}['afterInit'](){const _0x4391a2=this['editor'];if(!_0x4391a2['plugins']['has']('TableEditing')||!_0x4391a2['config']['get']('table.enableFooters'))return;const _0x280755=_0x4391a2['locale'],_0x5780e3=_0x4391a2['plugins']['get']('TrackChangesEditing');_0x5780e3['enableDefaultAttributesIntegration']('setTableFooterRow'),_0x5780e3['descriptionFactory']['registerAttributeLabel']('footerRows',getTranslation$5(_0x280755,'FORMAT_FOOTER_ROW'));}}class TrackChangesTableLayout extends ckeditor5['Plugin']{['afterInit'](){const _0x348b43=this['editor'],_0x22df1c=_0x348b43['locale'],_0x927408=_0x348b43['plugins']['get']('TrackChangesEditing');function _0x345238(_0x4a355a){return{'type':'format','content':''+getTranslation$5(_0x22df1c,'*Set\x20table\x20type:*\x20%0',_0x4a355a)};}_0x348b43['plugins']['has']('TableLayout')&&(_0x927408['enableCommand']('insertTableLayout'),_0x927408['enableDefaultAttributesIntegration']('tableType'),_0x927408['descriptionFactory']['registerElementLabel'](_0x2e3dce=>_0x2e3dce['is']('element','table')&&'layout'===_0x2e3dce['getAttribute']('tableType'),_0x4a0fd3=>getTranslation$5(_0x22df1c,'ELEMENT_LAYOUT_TABLE',_0x4a0fd3)),_0x927408['descriptionFactory']['registerDescriptionCallback'](_0x113562=>{const {data:_0x3b9526}=_0x113562;if(_0x3b9526&&'tableType'==_0x3b9526['key'])switch(_0x3b9526['newValue']){case'layout':return _0x345238(getTranslation$5(_0x22df1c,'ELEMENT_LAYOUT_TABLE'));case'content':return _0x345238(getTranslation$5(_0x22df1c,'ELEMENT_CONTENT_TABLE'));}}));}}const tableCellStyleAttributeNames=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],tableCellStyleAttributesObject=/* #__PURE__ -- @preserve */
Object['fromEntries'](tableCellStyleAttributeNames['map'](_0x3be0e5=>[_0x3be0e5,null]));class _0x1bec15 extends ckeditor5['Plugin']{static get['requires'](){return[_0x52882c];}['afterInit'](){const _0x1e17b3=this['editor'];if(!_0x1e17b3['plugins']['has']('TableClipboard'))return;const _0x2c5990=_0x1e17b3['plugins']['get']('TrackChangesEditing'),_0x4ec8ab=_0x1e17b3['plugins']['get']('TableUtils'),_0x2b201d=_0x1e17b3['plugins']['get'](_0x52882c),_0x2760b0=_0x1e17b3['plugins']['get']('TableClipboard'),_0x41bd1e=_0x1e17b3['plugins']['get']('TableSelection'),_0x1311ff=_0x1e17b3['plugins']['get'](ckeditor5['ClipboardPipeline']);_0x2b201d['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x1e17b3['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x1e17b3['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x57ca8c=null,_0x50c648=!0x1;_0x1311ff['on']('contentInsertion',(_0x884c2a,_0x7c1f66)=>{_0x50c648='paste'===_0x7c1f66['method'];}),_0x1e17b3['model']['on']('insertContent',(_0x3d7b79,_0x4b6f6d)=>{if(!_0x50c648&&null===_0x41bd1e['getSelectedTableCells']())return;const [_0x4abff2,_0x382f5a]=_0x4b6f6d,_0x5ab5d6=_0x4b6f6d[_0x4b6f6d['length']-0x1];_0x5ab5d6&&_0x5ab5d6['forceDefaultExecution']||_0x2c5990['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&isPasteTableIntoTable(_0x4abff2,_0x382f5a,_0x1e17b3['model'],_0x4ec8ab,_0x2760b0)&&(_0x3d7b79['stop'](),_0x57ca8c={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x1e17b3['model']['change'](()=>{_0x1e17b3['model']['insertContent'](_0x4b6f6d[0x0],_0x4b6f6d[0x1],_0x4b6f6d[0x2],{'forceDefaultExecution':!0x0});const _0x384ea8=ckeditor5['uid'](),{rowInsertionRanges:_0x3fb931,columnInsertionRanges:_0x52367a,insertionRanges:_0x5f572a,deletionRanges:_0x67d253,cells:_0x2acb37}=_0x57ca8c;_0x3fb931['length']&&_0x2c5990['markMultiRangeInsertion'](_0x3fb931,'tablePasteRow',{'tablePasteChainId':_0x384ea8}),_0x52367a['length']&&_0x2c5990['markMultiRangeInsertion'](_0x52367a,'tablePasteColumn',{'tablePasteChainId':_0x384ea8}),_0x5f572a['length']&&(_0x2c5990['markMultiRangeInsertion'](_0x5f572a,'tablePaste',{'tablePasteChainId':_0x384ea8,'skipNestingCheck':!0x0}),_0x5f572a['forEach'](_0x4d1083=>_0x4d1083['detach']?.())),_0x67d253['length']&&(_0x2c5990['markMultiRangeDeletion'](_0x67d253,'tablePaste',{'tablePasteChainId':_0x384ea8,'skipNestingCheck':!0x0}),_0x67d253['forEach'](_0x41cc77=>_0x41cc77['detach']?.()));const _0x1c426a=_0x2c5990['markMultiRangeBlockFormat'](_0x2acb37['map'](({element:_0xb7b6a})=>_0xb7b6a),{'formatGroupId':ckeditor5['uid']()},[],'tablePasteCell',{'tablePasteChainId':_0x384ea8});if(_0x1c426a){const _0x259575=_0x1c426a['getMarkers'](),_0x90de1c=[];for(const {element:_0x254057,attributes:_0x52dae4}of _0x2acb37){if(!_0x52dae4)continue;const _0x2f1b2c=_0x1e17b3['model']['createRangeOn'](_0x254057),_0x2a79ca=_0x259575['find'](_0x2f6f41=>_0x2f6f41['getRange']()['isEqual'](_0x2f1b2c));_0x2a79ca&&_0x90de1c['push']([_0x2a79ca['name'],_0x52dae4]);}_0x90de1c['length']&&_0x1c426a['setAttribute']('markerAttributes',Object['fromEntries'](_0x90de1c));}_0x57ca8c=null;}));},{'priority':ckeditor5['priorities']['high']+0xa}),_0x1311ff['on']('contentInsertion',()=>{_0x50c648=!0x1;},{'priority':'lowest'}),_0x1e17b3['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x16e6fe,_0xe365c8)=>{const [_0x408369,_0x3f029d,,_0x555da5]=_0xe365c8;if(!_0x57ca8c)return;_0x16e6fe['stop']();const _0x123e97=_0x408369['cell'],_0x531e28=_0x3f029d,_0x87bcba=isEmpty(_0x123e97),_0x15bc52=isEmpty(_0x531e28);_0x16e6fe['return']=_0x123e97;let _0x49a33b=null,_0x15792f=null;if(_0x15bc52||_0x87bcba){if(_0x87bcba&&!_0x15bc52){_0x555da5['remove'](_0x123e97['getChild'](0x0));for(const _0x212caf of Array['from'](_0x531e28['getChildren']()))_0x555da5['insert'](_0x212caf,_0x123e97,'end');const _0x29bc5d=_0x57ca8c['rowInsertionIndexes']['includes'](_0x408369['row']),_0x4e0be4=_0x57ca8c['columnInsertionIndexes']['includes'](_0x408369['column']);_0x29bc5d||_0x4e0be4||(_0x49a33b=ckeditor5['ModelLiveRange']['fromRange'](_0x555da5['createRangeIn'](_0x123e97)));}else _0x15bc52&&!_0x87bcba&&(_0x15792f=_0x555da5['createRangeIn'](_0x123e97));}else{const _0x252528=_0x555da5['createElement']('tableCellSuggestion'),_0x4c3f43=_0x555da5['createElement']('tableCellSuggestion');_0x555da5['wrap'](_0x555da5['createRangeIn'](_0x123e97),_0x4c3f43),_0x555da5['insert'](_0x252528,_0x123e97,0x0);for(const _0x3bbea5 of Array['from'](_0x531e28['getChildren']()))_0x555da5['insert'](_0x3bbea5,_0x252528,'end');_0x49a33b=ckeditor5['ModelLiveRange']['fromRange'](_0x555da5['createRangeOn'](_0x252528)),_0x15792f=ckeditor5['ModelLiveRange']['fromRange'](_0x555da5['createRangeOn'](_0x4c3f43));}const _0x50d899=Array['from'](_0x531e28['getAttributes']())['filter'](([_0x3b85a2])=>tableCellStyleAttributeNames['includes'](_0x3b85a2));_0x57ca8c['cells']['push']({'element':_0x123e97,'attributes':_0x50d899['length']?Object['fromEntries'](_0x50d899):null}),_0x49a33b&&_0x57ca8c['insertionRanges']['push'](_0x49a33b),_0x15792f&&_0x57ca8c['deletionRanges']['push'](_0x15792f);},{'priority':'high'}),_0x4ec8ab['on']('insertColumns',(_0x9b3809,_0x573300)=>{const [_0x439f8f,_0x32a3a7={}]=_0x573300;if(!_0x57ca8c)return;const _0x2fbf72=_0x32a3a7['at']||0x0,_0x1f527e=_0x32a3a7['columns']||0x1;_0x57ca8c['columnInsertionIndexes']=new Array(_0x1f527e)['fill'](_0x2fbf72)['map']((_0xf7bd6c,_0x405f9a)=>_0xf7bd6c+_0x405f9a);for(const {cell:_0x357947}of _0x4ec8ab['createTableWalker'](_0x439f8f,{'startColumn':_0x2fbf72,'endColumn':_0x2fbf72+_0x1f527e-0x1}))_0x57ca8c['columnInsertionRanges']['push'](_0x1e17b3['model']['createRangeOn'](_0x357947));},{'priority':'low'}),_0x4ec8ab['on']('insertRows',(_0x50c4d6,_0x33eb40)=>{const [_0x399b50,_0x2da335={}]=_0x33eb40;if(!_0x57ca8c)return;const _0x4d2370=_0x2da335['at']||0x0,_0x548a49=_0x2da335['rows']||0x1;_0x57ca8c['rowInsertionIndexes']=new Array(_0x548a49)['fill'](_0x4d2370)['map']((_0x2912a5,_0xf63eed)=>_0x2912a5+_0xf63eed);for(const {cell:_0x130271}of _0x4ec8ab['createTableWalker'](_0x399b50,{'startRow':_0x4d2370,'endRow':_0x4d2370+_0x548a49-0x1}))_0x57ca8c['rowInsertionRanges']['push'](_0x1e17b3['model']['createRangeOn'](_0x130271));},{'priority':'low'}),_0x2c5990['descriptionFactory']['registerDescriptionCallback'](_0x4d8ec4=>{if(_0x4d8ec4['subType']&&_0x4d8ec4['subType']['startsWith']('tablePaste'))return _0x4d8ec4['previous']?{}:{'type':'insertion','content':getTranslation$5(_0x1e17b3['locale'],'*Replace\x20table\x20cells*')};});const _0x4d9716=()=>!0x1;for(const _0x27a2e3 of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x2c5990['_suggestionFactory']['registerCustomCallback']('insertion',_0x27a2e3,'join',_0x4d9716),_0x2c5990['_suggestionFactory']['registerCustomCallback']('deletion',_0x27a2e3,'join',_0x4d9716),_0x2c5990['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x27a2e3,'join',_0x4d9716);_0x2c5990['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0x4d9716),_0x2c5990['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x179151,_0x46fb51,_0x4c0958)=>{const _0x129e01=_0x179151['map'](_0x257c67=>_0x257c67['getContainedElement']())['filter'](_0x4f19b2=>_0x4f19b2),_0x2ceac6=new Map(_0x129e01['map'](_0x44effd=>[_0x44effd,null]));if(_0x57ca8c){for(const {element:_0x56085e,attributes:_0x119910}of _0x57ca8c['cells'])_0x119910&&_0x2ceac6['set'](_0x56085e,_0x119910);}else{if(_0x4c0958&&_0x4c0958['markerAttributes'])for(const [_0x3dcebc,_0x5999d9]of Object['entries'](_0x4c0958['markerAttributes'])){const _0x5d7e64=_0x1e17b3['model']['markers']['get'](_0x3dcebc),_0x289197=_0x5d7e64?_0x5d7e64['getRange']()['getContainedElement']():null;_0x289197&&_0x2ceac6['set'](_0x289197,_0x5999d9);}}_0x1e17b3['model']['change'](_0x326ed4=>{for(const [_0xc83dbe,_0x34e990]of _0x2ceac6)_0x326ed4['setAttributes']({...tableCellStyleAttributesObject,..._0x34e990},_0xc83dbe);});});const _0xcc0118=(_0x1d8112,_0x65e2f8)=>{_0x2c5990['_suggestionFactory']['registerCustomCallback'](_0x1d8112,'tablePaste',_0x65e2f8,(_0x29177f,_0x427434,_0x559cb3)=>{_0x1e17b3['model']['change'](_0x408294=>{const _0x41b543=[];for(const _0x36578f of _0x29177f){const _0x552eef=_0x36578f['start']['nodeAfter'];_0x552eef['is']('element','tableCellSuggestion')&&_0x41b543['push'](_0x552eef);}_0x2c5990['_suggestionFactory']['getSuggestionCallback'](_0x1d8112,null,_0x65e2f8)(_0x29177f,_0x427434,_0x559cb3);for(const _0x32bf3d of _0x41b543)'$graveyard'!=_0x32bf3d['root']['rootName']&&_0x408294['unwrap'](_0x32bf3d);});});};_0xcc0118('insertion','accept'),_0xcc0118('insertion','discard'),_0xcc0118('deletion','accept'),_0xcc0118('deletion','discard'),_0x2c5990['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x2e036d=>{const _0x555988=_0x2e036d['map'](_0x4db2af=>_0x4db2af['getContainedElement']()),_0x52cc73=_0x555988[0x0]['findAncestor']('table'),{minRow:_0x13e07a,maxRow:_0x1abcaf}=_0x2b201d['_getCoordsForCells'](_0x555988);_0x4ec8ab['removeRows'](_0x52cc73,{'at':_0x13e07a,'rows':_0x1abcaf-_0x13e07a+0x1});}),_0x2c5990['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x2c5c22=>{const _0x1c9b0a=_0x2c5c22['map'](_0xa28f4d=>_0xa28f4d['getContainedElement']()),_0x5088b0=_0x1c9b0a[0x0]['findAncestor']('table'),{minColumn:_0x52a7d6,maxColumn:_0x29aa28}=_0x2b201d['_getCoordsForCells'](_0x1c9b0a);_0x4ec8ab['removeColumns'](_0x5088b0,{'at':_0x52a7d6,'columns':_0x29aa28-_0x52a7d6+0x1});});const _0x2a2d38=(_0x63735d,_0x3e9e7a)=>{if(!_0x3e9e7a['subType']||!_0x3e9e7a['subType']['startsWith']('tablePaste'))return;const _0x2df963=_0x3e9e7a['attributes']['tablePasteChainId'],_0xe711be=_0x2c5990['getSuggestions']()['filter'](_0x2b3109=>_0x2b3109['isInContent']&&_0x2b3109['attributes']&&_0x2b3109['attributes']['tablePasteChainId']==_0x2df963);_0xe711be['length']&&_0x3e9e7a['getAllAdjacentSuggestions']()['length']!=_0xe711be['length']&&_0xe711be['reduce']((_0x353fa8,_0x2159cd)=>(_0x353fa8['next']=_0x2159cd,_0x2159cd['previous']=_0x353fa8,_0x2159cd));};function _0x74a63d(_0x3d4edd,_0x2aeb52=!0x0){const {id:_0x4c75e4,authorId:_0x40f3b6}=splitSuggestionMarkerName(_0x3d4edd['markerName']),_0x2a13a2=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x3079fd=_0x2c5990['activeMarkers']['includes'](_0x3d4edd['markerName']);return _0x3079fd&&_0x2a13a2['push']('ck-suggestion-marker--active'),{'classes':_0x2a13a2,'attributes':{'data-suggestion':_0x4c75e4,'data-author-id':_0x40f3b6},'priority':_0x3079fd&&_0x2aeb52?0xbc2:0xbb8};}_0x2c5990['on']('suggestionLoaded',_0x2a2d38,{'priority':'high'}),_0x2c5990['on']('suggestionUnloaded',_0x2a2d38,{'priority':'high'}),_0x1e17b3['model']['document']['registerPostFixer'](()=>{let _0x1b9409=!0x1;const _0x41b0d6=Array['from'](_0x1e17b3['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x43664c,data:_0x4cac90}of _0x41b0d6){const {group:_0x4c10ac,type:_0x27e29e,id:_0x26077f}=splitSuggestionMarkerName(_0x43664c);if('suggestion'!=_0x4c10ac||'deletion'!=_0x27e29e||_0x4cac90['oldRange'])continue;if(!_0x2c5990['hasSuggestion'](_0x26077f))continue;const _0x481e24=_0x2c5990['getSuggestion'](_0x26077f)['getRanges'](),_0x4a6705=_0x1e17b3['plugins']['get']('Users')['me'];for(const _0x4bb850 of _0x2c5990['getSuggestions']()){if(!_0x4bb850['isInContent']||_0x4bb850['author']!=_0x4a6705)continue;if('formatBlock'!=_0x4bb850['type']||'tablePasteCell'!=_0x4bb850['subType'])continue;if(_0x4bb850['getRanges']()['every'](_0x29729d=>_0x481e24['some'](_0x474624=>_0x474624['containsRange'](_0x29729d,!0x0)))){for(const _0x33c19a of _0x4bb850['getAllAdjacentSuggestions']())_0x33c19a['isInContent']&&(_0x33c19a['discard'](),_0x1b9409=!0x0);}}}return _0x1b9409;}),_0x1e17b3['model']['document']['registerPostFixer'](_0x3bb5e1=>{const _0xead866=_0x1e17b3['commands']['get']('redo');if(!_0xead866||!_0xead866['_createdBatches']['has'](_0x3bb5e1['batch']))return!0x1;let _0x20a2d3=!0x1;const _0x18d792=_0x1e17b3['plugins']['get']('Users')['me'],_0x5b79d1=_0x1e17b3['model']['document']['differ']['getChanges'](),_0x23a86a=Array['from'](_0x1e17b3['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0x19775a,data:_0x2aaa01})=>{const {group:_0x4c4ef4,subType:_0x1a5c11,authorId:_0x3baf36}=splitSuggestionMarkerName(_0x19775a);return'suggestion'==_0x4c4ef4&&'tablePaste'==_0x1a5c11&&_0x3baf36==_0x18d792['id']&&!_0x2aaa01['oldRange'];});for(const _0x4cafc8 of _0x5b79d1){if('insert'!=_0x4cafc8['type']||'tableCellSuggestion'!=_0x4cafc8['name']||0x1!=_0x4cafc8['length'])continue;const _0x430656=_0x3bb5e1['createRange'](_0x4cafc8['position'],_0x4cafc8['position']['getShiftedBy'](0x1)),_0x33d23f=_0x23a86a['find'](({data:_0x111ae6})=>_0x111ae6['newRange']['isEqual'](_0x430656));if(!_0x33d23f){for(const {name:_0x21c338,data:_0x18e44e}of _0x23a86a)if(_0x430656['containsRange'](_0x18e44e['newRange'])){_0x3bb5e1['updateMarker'](_0x21c338,{'range':_0x430656}),_0x20a2d3=!0x0;break;}}}return _0x20a2d3;}),_0x1e17b3['model']['document']['registerPostFixer'](_0x4171d8=>{let _0x4a3099=!0x1;const _0x245b7c=_0x1e17b3['plugins']['get']('Users')['me'],_0x33c557=_0x2c5990['getSuggestions']()['filter'](_0xae048d=>_0xae048d['isInContent']&&_0xae048d['author']==_0x245b7c),_0x335c1a=new Set(),_0x402a24=new Set();for(const _0x414841 of _0x33c557)if('tablePaste'==_0x414841['subType'])for(const _0x2939f6 of _0x414841['getMarkers']()){const _0x51c4f3=_0x2939f6['getRange']()['getContainedElement']();if(_0x51c4f3){if(_0x51c4f3['is']('element','tableCellSuggestion')&&isEmpty(_0x51c4f3)){_0x414841['removeMarker'](_0x2939f6['name']),_0x335c1a['add'](_0x51c4f3),_0x4a3099=!0x0;const _0x670fe6=_0x51c4f3['nextSibling'],_0x71b4f2=_0x51c4f3['previousSibling'],_0x3506a0=_0x670fe6&&_0x670fe6['is']('element','tableCellSuggestion'),_0x4e8b45=_0x71b4f2&&_0x71b4f2['is']('element','tableCellSuggestion');_0x3506a0&&!_0x335c1a['has'](_0x670fe6)&&_0x402a24['add'](_0x670fe6),_0x4e8b45&&!_0x335c1a['has'](_0x71b4f2)&&_0x402a24['add'](_0x71b4f2);}else _0x51c4f3['is']('element','paragraph')&&_0x51c4f3['isEmpty']&&(_0x414841['removeMarker'](_0x2939f6['name']),_0x4a3099=!0x0);}}else{if('tablePasteCell'==_0x414841['subType']){if(!_0x414841['attributes']||!_0x414841['attributes']['tablePasteChainId'])continue;const _0x1b823c=_0x414841['attributes']['markerAttributes'];if(_0x1b823c&&Object['keys'](_0x1b823c)['length'])continue;const _0x210c58=_0x414841['attributes']['tablePasteChainId'];let _0x39f4dc=!0x0,_0x17851b=!0x0;for(const _0x22a073 of _0x33c557)if(_0x22a073['subType']&&_0x22a073['subType']['startsWith']('tablePaste')){if(!_0x22a073['attributes']['tablePasteChainId']){_0x17851b=!0x1;break;}if(_0x22a073['id']!=_0x414841['id']&&_0x22a073['attributes']['tablePasteChainId']==_0x210c58){_0x39f4dc=!0x1;break;}}_0x17851b&&_0x39f4dc&&(_0x414841['removeMarkers'](),_0x4a3099=!0x0);}}for(const _0x38ea35 of _0x335c1a)_0x4171d8['remove'](_0x38ea35);for(const _0x1f8823 of _0x402a24)_0x4171d8['unwrap'](_0x1f8823);return _0x4a3099;}),_0x1e17b3['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x207561=>_0x74a63d(_0x207561),'converterPriority':'high'}),_0x1e17b3['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0xb40e56,_0x3ee5bf)=>_0x3ee5bf['options']['showSuggestionHighlights']?_0x74a63d(_0xb40e56,!0x1):null,'converterPriority':'high'});const _0x4aeedd=_0x1e17b3['editing']['view'];this['listenTo'](_0x4aeedd['document'],'clipboardOutput',(_0xd9ad4c,_0x47aa24)=>{const _0x37c9ba=[];for(const _0x1a5b20 of _0x4aeedd['createRangeIn'](_0x47aa24['content'])['getItems']())_0x1a5b20['is']('element','suggestion-td')&&_0x37c9ba['push'](_0x1a5b20);_0x4aeedd['change'](_0x5284de=>{for(const _0x54717e of _0x37c9ba)_0x5284de['move'](_0x5284de['createRangeIn'](_0x54717e),_0x5284de['createPositionBefore'](_0x54717e)),_0x5284de['remove'](_0x54717e);});});}}function isEmpty(_0x5d6828){if(_0x5d6828['isEmpty'])return!0x0;const _0x55515f=_0x5d6828['getChild'](0x0);return _0x55515f['is']('element','paragraph')&&_0x55515f['isEmpty'];}function isPasteTableIntoTable(_0x542b80,_0x4e0161,_0x825d82,_0x1c9374,_0x5a726a){if(_0x4e0161&&!_0x4e0161['is']('documentSelection'))return!0x1;const _0x256615=_0x5a726a['getTableIfOnlyTableInContent'](_0x542b80,_0x825d82);if(!_0x256615||!_0x30f802(_0x256615,void 0x0,_0x1c9374))return!0x1;const _0x2ae59b=_0x1c9374['getSelectionAffectedTableCells'](_0x825d82['document']['selection']);if(!_0x2ae59b['length'])return!0x1;const _0x307d95=_0x2ae59b[0x0]['findAncestor']('table'),_0xbf0697=_0x1c9374['getRowIndexes'](_0x2ae59b),_0x3409b0=_0x1c9374['getColumnIndexes'](_0x2ae59b),_0x14fbc3={'startRow':_0xbf0697['first'],'endRow':_0xbf0697['last'],'startColumn':_0x3409b0['first'],'endColumn':_0x3409b0['last']};return 0x1==_0x2ae59b['length']&&(_0x14fbc3['endRow']+=_0x1c9374['getRows'](_0x256615)-0x1,_0x14fbc3['endColumn']+=_0x1c9374['getColumns'](_0x256615)-0x1),_0x30f802(_0x307d95,_0x14fbc3,_0x1c9374);}function _0x30f802(_0x3ad2bd,_0x5588d1={},_0x5242bd){for(const {isAnchor:_0x3bcabe,cellHeight:_0x4e31d5,cellWidth:_0x182e2c}of _0x5242bd['createTableWalker'](_0x3ad2bd,{'includeAllSlots':!0x0,..._0x5588d1}))if(!_0x3bcabe||0x1!=_0x4e31d5||0x1!=_0x182e2c)return!0x1;return!0x0;}class _0x59d4f9 extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x17e809=this['editor']['plugins']['get']('TrackChangesEditing');_0x17e809['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x17e809['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x17e809['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x17e809['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0x17e809['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0x17e809['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x5e508d,_0xc0c37e){const _0xb6f8be=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5ded39=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x8252bd=_0xc0c37e['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x3cdf4c=_0x5ded39['getColumnGroupElement'](_0x8252bd);let _0x5ebaf2=_0x3cdf4c?_0x5ded39['getTableColumnsWidths'](_0x3cdf4c):null,_0xa75c8b=_0x8252bd['getAttribute']('tableWidth')||null;const _0x424737=_0xc0c37e['tableWidth']||_0xa75c8b,_0xac25ff=_0xc0c37e['columnWidths']||_0x5ebaf2,_0x51314b=this['editor']['plugins']['get']('Users')['me'];for(const _0x310174 of _0xb6f8be['getSuggestions']()){const _0x1ce89d=_0x310174['getContainedElement']();if('resizeTable'===_0x310174['subType']&&_0x1ce89d===_0x8252bd){_0x310174['author']!==_0x51314b&&_0x310174['discard']();const _0x8292a7=_0x310174['data']['commandParams'];_0xa75c8b=_0x8292a7[0x0]['tableWidth'],_0x5ebaf2=_0x8292a7[0x0]['columnWidths'];break;}}_0x5e508d({'table':_0x8252bd,'tableWidth':_0x424737,'columnWidths':_0xac25ff}),_0xb6f8be['markBlockFormat'](_0x8252bd,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0xa75c8b,'columnWidths':_0x5ebaf2}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0x251ec1){if('formatBlock'!=_0x251ec1['type']&&'formatInline'!=_0x251ec1['type'])return;const {data:_0x5e748a}=_0x251ec1;if(_0x5e748a&&'resizeTable'===_0x5e748a['formatGroupId']){const _0x18d30e='*Format:*\x20resize\x20table';return{'type':'format','content':getTranslation$5(this['editor']['locale'],_0x18d30e)};}}}class TrackChangesTemplate extends ckeditor5['Plugin']{['afterInit'](){const _0x375cd1=this['editor'];_0x375cd1['plugins']['has']('Template')&&_0x375cd1['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}}class TrackChangesTableOfContents extends ckeditor5['Plugin']{['afterInit'](){const _0x4e37d6=this['editor'];if(!_0x4e37d6['commands']['get']('insertTableOfContents'))return;_0x4e37d6['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x55466c=_0x4e37d6['plugins']['get']('TrackChangesEditing'),_0xbac3d8=_0x4e37d6['locale'];_0x55466c['descriptionFactory']['registerElementLabel']('tableOfContents',_0x12f4e0=>getTranslation$5(_0xbac3d8,'ELEMENT_TABLE_OF_CONTENTS',_0x12f4e0));}}class TrackChangesTitle extends ckeditor5['Plugin']{['afterInit'](){const _0x2debf0=this['editor'];if(!_0x2debf0['plugins']['has']('Title'))return;_0x2debf0['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerElementLabel']('title-content',()=>getTranslation$5(_0x2debf0['locale'],'ELEMENT_TITLE')),_0x2debf0['model']['document']['registerPostFixer'](_0x59f67b=>{let _0x545720=!0x1;const _0x494ca9=Array['from'](_0x2debf0['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x1e3d9e,data:_0x95150c}of _0x494ca9){const {group:_0x8928e}=splitSuggestionMarkerName(_0x1e3d9e);if('suggestion'!==_0x8928e||!_0x95150c['newRange'])continue;const _0x24d7e3=_0x95150c['newRange'],_0x4896c6=_0x24d7e3['end']['nodeBefore'];if(!_0x4896c6||!_0x4896c6['is']('element','title-content'))continue;if(!_0x24d7e3['start']['isTouching'](_0x24d7e3['end']))continue;const _0x49ff5c=_0x2debf0['model']['schema']['getNearestSelectionRange'](_0x24d7e3['end'],'forward');if(_0x49ff5c&&_0x49ff5c['isCollapsed']){const _0x81bca5=_0x59f67b['createRange'](_0x24d7e3['start'],_0x49ff5c['start']);_0x81bca5['isEqual'](_0x24d7e3)||(_0x59f67b['updateMarker'](_0x1e3d9e,{'range':_0x81bca5}),_0x545720=!0x0);}_0x545720||(_0x59f67b['removeMarker'](_0x1e3d9e),_0x545720=!0x0);}return _0x545720;});}}class _0x1ab37d extends ckeditor5['Plugin']{['afterInit'](){const _0x1cc3a2=this['editor'],_0x12bab7=_0x1cc3a2['plugins']['get']('TrackChangesEditing');_0x1cc3a2['plugins']['has']('Uploadcare')&&(_0x12bab7['enableCommand']('uploadcare'),_0x1cc3a2['plugins']['has']('UploadcareImageEdit')&&(_0x12bab7['enableCommand']('uploadcareImageEdit'),_0x12bab7['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0x12bab7['descriptionFactory']['registerDescriptionCallback'](_0x4598fe=>{if('attribute'!=_0x4598fe['type'])return;const {data:_0x4ada07}=_0x4598fe;return _0x4ada07&&'uploadcareImageId'==_0x4ada07['key']?{'type':'format','content':''}:void 0x0;})));}}class _0x35ebf7 extends ckeditor5['Plugin']{['afterInit'](){const _0x58c5fa=this['editor'],_0x122985=_0x58c5fa['plugins']['get']('TrackChangesEditing');_0x58c5fa['plugins']['has']('UndoEditing')&&(_0x122985['enableCommand']('undo'),_0x122985['enableCommand']('redo'));}}class TrackChangesTableCaption extends ckeditor5['Plugin']{static get['requires'](){return[_0x52882c];}['afterInit'](){const _0x2982e6=this['editor'];if(!_0x2982e6['plugins']['has']('TableCaptionEditing'))return;_0x2982e6['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}class TrackChangesTableProperties extends ckeditor5['Plugin']{['tableProperties'];['tableCellProperties'];constructor(_0x3493ca){super(_0x3493ca),this['tableProperties']=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellType'];}static get['pluginName'](){return'TrackChangesTableProperties';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x3b4927=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x457e93 of this['tableProperties'])_0x3b4927['enableCommand'](_0x457e93,(_0x56be5f,_0x50da9d)=>{const _0x3ae99c=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x457e93,[_0x3ae99c],this['tableProperties'],'tableProperties',_0x56be5f,_0x50da9d);});_0x3b4927['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x3b4927['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x3b4927['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0x537a3b,_0x190a7e)=>this['handleDiscardAction'](this['tableProperties'],_0x537a3b,_0x190a7e)),_0x3b4927['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x1ee9f2 of this['tableCellProperties'])this['editor']['commands']['get'](_0x1ee9f2)&&_0x3b4927['enableCommand'](_0x1ee9f2,(_0x5bdf9f,_0x459bf6)=>{const _0x57e044=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x1ee9f2,_0x57e044,this['tableCellProperties'],'tableCellProperties',_0x5bdf9f,_0x459bf6);});_0x3b4927['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x3b4927['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x3b4927['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x122ba8,_0x448ce9)=>this['handleDiscardAction'](this['tableCellProperties'],_0x122ba8,_0x448ce9)),_0x3b4927['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1),this['editor']['model']['schema']['checkAttribute']('tableCell','tableCellType')&&_0x3b4927['descriptionFactory']['registerAttributeLabel']('tableCellType',getTranslation$5(this['editor']['locale'],'FORMAT_TABLE_CELL_TYPE'));}_0x3b4927['descriptionFactory']['registerDescriptionCallback'](_0x441d46=>this['handleSuggestionDescription'](_0x441d46)),this['_registerTablePropertiesAttributes']();}['_handlePropertyChange'](_0x3d0438,_0x3ede7a,_0x2bf718,_0x3e061d,_0x451986,_0x24fc5d){const _0x593fa1=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x24fc5d['batch'],()=>{for(const _0x5c4799 of _0x3ede7a){if(this['_getSuggestion'](_0x5c4799,_0x3e061d))_0x451986(_0x24fc5d);else{const _0x544b45={};for(const _0x5ea606 of _0x2bf718){const _0xe8dd12=_0x5c4799['getAttribute'](_0x5ea606);void 0x0!==_0xe8dd12&&(_0x544b45[_0x5ea606]=_0xe8dd12);}_0x451986(_0x24fc5d),_0x593fa1['markBlockFormat'](_0x5c4799,{'commandParams':[_0x544b45]},[],_0x3e061d);}}});}['handleDiscardAction'](_0x26e5cb,_0xf4b7ef,_0x3d6917){const _0x169566=_0xf4b7ef[0x0]['start']['nodeAfter'],_0x4e6f73=_0x3d6917['commandParams'][0x0];this['editor']['model']['change'](_0x577f53=>{for(const _0x5b021e of _0x26e5cb)void 0x0!==_0x4e6f73[_0x5b021e]?_0x577f53['setAttribute'](_0x5b021e,_0x4e6f73[_0x5b021e],_0x169566):_0x577f53['removeAttribute'](_0x5b021e,_0x169566);});}['handleSuggestionDescription'](_0x378e82){if(_0x378e82['data'])switch(_0x378e82['subType']){case'tableProperties':return{'type':'format','content':getTranslation$5(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':getTranslation$5(this['editor']['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0xf9bc1c,_0xca0cb6){const _0x367e6a=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x3c4488 of _0x367e6a['getSuggestions']({'skipNotAttached':!0x0})){const _0x4bd867=_0x3c4488['getContainedElement']();if(_0x3c4488['subType']===_0xca0cb6&&_0x4bd867===_0xf9bc1c)return _0x3c4488;}return null;}['_registerTablePropertiesAttributes'](){const _0x3914e=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5697bb=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x5aef0c of _0x5697bb){const _0xcb12c6=_0x5aef0c['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0x3914e['descriptionFactory']['registerAttributeLabel'](_0x5aef0c,getTranslation$5(this['editor']['locale'],'FORMAT_'+_0xcb12c6));}}}class TrackChangesLineHeight extends ckeditor5['Plugin']{['afterInit'](){const _0x428df2=this['editor'];if(!_0x428df2['plugins']['has']('LineHeight'))return;const _0x1d4095=_0x428df2['plugins']['get']('TrackChangesEditing'),_0x5ee1c0=_0x428df2['locale'];_0x1d4095['enableDefaultAttributesIntegration']('lineHeight'),_0x1d4095['descriptionFactory']['registerAttributeLabel']('lineHeight',getTranslation$5(_0x5ee1c0,'FORMAT_LINE_HEIGHT'));}}const renameAttributeKey='$elementName';class TrackChangesEditing extends ckeditor5['Plugin']{['descriptionFactory'];['trackChangesCommand'];['_adapter'];['_suggestionFactory'];['_suggestions'];['_commentsRepository'];['_suggestionsConversion'];['_enabledCommands'];['_model'];['_suggestionState'];['_isForcedDefaultExecutionBlock'];['_trackFormatChanges'];['_mergeNestedSuggestions'];['_recordAttributeSuggestions']=!0x1;['_trackingSessionId']=null;static get['requires'](){return[CommentsRepository,SuggestionsConversion,_0x9327be,ckeditor5['PendingActions'],DocumentCompare,TrackChangesAIAssistant,_0x315aa2,TrackChangesAIQuickActions,TrackChangesAlignment,TrackChangesBasicStyles,TrackChangesBlockQuote,_0x268849,_0x188d46,_0x3b029f,_0x2da28c,TrackChangesComments,TrackChangesDeleteCommand,_0x1a53b5,TrackChangesEnterCommand,_0x2594d4,TrackChangesFont,TrackChangesFootnotes,TrackChangesFormatPainter,_0x1f2035,TrackChangesHighlight,TrackChangesHorizontalLine,TrackChangesHtmlEmbed,_0x232f83,TrackChangesImageStyle,_0x5400ad,TrackChangesImportWord,TrackChangesIndent,TrackChangesInputCommand,TrackChangesLegacyList,TrackChangesLegacyListProperties,TrackChangesMultiLevelList,_0x566bb6,TrackChangesList,TrackChangesLineHeight,TrackChangesDocumentListProperties,_0x2c22c3,TrackChangesMention,_0x328ac9,_0xc53305,_0x235bc5,_0x5e5d2d,TrackChangesRemoveFormat,TrackChangesRestrictedEditingMode,TrackChangesShiftEnterCommand,TrackChangesStandardEditingMode,TrackChangesStylesDropdown,_0x52882c,TrackChangesTableMergeSplit,_0x5c27a2,TrackChangesTableFooters,TrackChangesTableLayout,TrackChangesTableCaption,_0x1bec15,_0x59d4f9,TrackChangesTableOfContents,TrackChangesTableProperties,TrackChangesTemplate,TrackChangesTitle,_0x1ab37d,_0x35ebf7];}static get['pluginName'](){return'TrackChangesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1cd980){super(_0x1cd980),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0x31096b,_0x71eced,_0x1f98d9,_0x46e2f4)=>{this['_model']['change'](()=>{for(const _0x551faa of[..._0x46e2f4,..._0x1f98d9])this['_model']['markers']['has'](_0x551faa)&&_0x1cd980['editing']['reconvertMarker'](_0x551faa);});}),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']=_0x1cd980['plugins']['get'](CommentsRepository),this['_suggestionsConversion']=_0x1cd980['plugins']['get'](SuggestionsConversion),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x1cd980['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x1cd980['config']['get']('trackChanges.trackFormatChanges'),_0x1cd980['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x1cd980['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0xedd6ce(_0x1cd980,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x4a69d7=this['editor'];_0x4a69d7['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x21e26c,{writer:_0xa5cf58})=>{let _0x7c937a='suggestion:'+_0x21e26c['getAttribute']('suggestion-type')+':'+_0x21e26c['getAttribute']('id');return _0x21e26c['getAttribute']('marker-count')&&(_0x7c937a+=':'+_0x21e26c['getAttribute']('marker-count')),_0xa5cf58['createElement']('$marker',{'data-name':_0x7c937a});}}),_0x4a69d7['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x4a69d7['model']['document']['registerPostFixer'](_0x5fbc9=>{let _0xfadb4f=!0x1;const _0x568601=Array['from'](_0x4a69d7['model']['document']['differ']['getChangedMarkers']()),_0x104d6d=new Set();for(const {name:_0x1928c7,data:_0x25e5c9}of _0x568601){const {group:_0x126f71,type:_0x37afb3,subType:_0x37b506,id:_0xa8fb87}=splitSuggestionMarkerName(_0x1928c7);if('suggestion'!==_0x126f71)continue;const _0x447af0=_0x37b506?'suggestion:'+_0x37afb3+':'+_0x37b506+':'+_0xa8fb87:'suggestion:'+_0x37afb3+':'+_0xa8fb87,_0x4582e4=_0x4a69d7['model']['markers']['getMarkersGroup'](_0x447af0),_0x2dc0b2=_0x4a69d7['model']['markers']['get'](_0x1928c7),_0x46d71d=this['_suggestions']['get'](_0xa8fb87);if(null!=_0x25e5c9['newRange']){'formatInline'==_0x37afb3&&(_0xfadb4f=_0xfadb4f||trimFormatInlineSuggestionRange(_0x25e5c9['newRange'],_0x1928c7,_0x5fbc9,_0x4a69d7['model']['schema']));const _0x1e1e47='attribute'==_0x37afb3&&this['_suggestionsConversion']['isBlockAttribute'](_getAttributeKeyFromSubType(_0x37b506)),_0x16ae63='attribute'==_0x37afb3&&this['_suggestionsConversion']['isInlineAttribute'](_getAttributeKeyFromSubType(_0x37b506));if(_0x25e5c9['newRange']['isCollapsed']||'$graveyard'==_0x25e5c9['newRange']['root']['rootName']||'formatBlock'==_0x37afb3&&!isCorrectFormatBlockSuggestionRange(_0x25e5c9['newRange'])||_0x1e1e47&&!isCorrectFormatBlockSuggestionRange(_0x25e5c9['newRange'])||_0x16ae63&&isEmptyRange(_0x25e5c9['newRange'])||'deletion'==_0x37afb3&&isEmptyRange(_0x25e5c9['newRange'])||_0x2dc0b2&&isIntersectingWithOtherMarkers(_0x2dc0b2,_0x4582e4))_0x5fbc9['removeMarker'](_0x1928c7),_0xfadb4f=!0x0;else{if(!_0x46d71d||!_0x46d71d['isInContent'])continue;if(_0x25e5c9['newRange']&&_0x25e5c9['oldRange']&&_0x25e5c9['newRange']['isEqual'](_0x25e5c9['oldRange']))continue;_0x104d6d['add'](_0x46d71d);}}}return _0x104d6d['size']>0x0&&(_0xfadb4f=!!this['_joinWithAdjacentSuggestions'](_0x104d6d)||_0xfadb4f),_0xfadb4f;}),_0x4a69d7['model']['document']['registerPostFixer'](_0x42f3fb=>{let _0x4aead8=!0x1;for(const _0x33f2a3 of _0x4a69d7['model']['document']['differ']['getChanges']())if('insert'==_0x33f2a3['type'])for(const _0x5e9099 of this['_suggestions']['values']()){if(_0x5e9099['isMultiRange']||!_0x5e9099['isInContent'])continue;const _0x333526='formatBlock'==_0x5e9099['type'],_0x51889f=this['_getAttributeKey'](_0x5e9099),_0x325ff8=_0x51889f&&this['_suggestionsConversion']['isBlockAttribute'](_0x51889f);if(!_0x333526&&!_0x325ff8)continue;const _0x420242=_0x5e9099['getFirstRange']();if(_0x420242['start']['parent']!=_0x420242['end']['parent']&&!_0x420242['end']['isAtEnd']){const _0x591555=_0x4a69d7['model']['createPositionAt'](_0x420242['start']['nodeAfter'],'end'),_0x592d9a=_0x4a69d7['model']['createRange'](_0x420242['start'],_0x591555);_0x42f3fb['updateMarker'](_0x5e9099['getFirstMarker'](),{'range':_0x592d9a}),_0x4aead8=!0x0;}}return _0x4aead8;}),_0x4a69d7['model']['document']['registerPostFixer'](_0x220346=>this['_processAttributeChanges'](_0x220346)),_0x4a69d7['model']['document']['registerPostFixer'](_0xc3743f=>!_0xc3743f['batch']['isLocal']&&this['_processAttributeSuggestions'](_0xc3743f)),_0x4a69d7['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x4a69d7['model']['document']['on']('change:data',(_0xe09135,_0x6ecbbe)=>{if(!_0x6ecbbe['isLocal']||_0x6ecbbe['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x509446=_0x4a69d7['model']['document']['differ']['getChanges']();if(0x0==_0x509446['length'])return;const _0xdb58a7=[],_0x321dbc=_0x509446['filter'](_0xcf0e7a=>'attribute'==_0xcf0e7a['type']),_0x1cbfb8=_0x509446['filter'](_0x578c76=>'insert'==_0x578c76['type']&&'$text'!=_0x578c76['name']);for(const _0x11b99e of _0x321dbc)this['_suggestionsConversion']['isRegisteredAttribute'](_0x11b99e['attributeKey'])&&_0xdb58a7['push']({'key':_0x11b99e['attributeKey'],'newValue':_0x11b99e['attributeNewValue'],'oldValue':_0x11b99e['attributeOldValue'],'range':fixAttributeSuggestionRange(_0x11b99e['range'],_0x4a69d7['model'])});for(const _0x39f966 of _0x1cbfb8){if('rename'!=_0x39f966['action']&&'refresh'!=_0x39f966['action'])continue;const _0x214af0=createBlockFormatRangeForElement(_0x39f966['position']['nodeAfter'],_0x4a69d7['model']),_0x4183e8=_0x39f966['before'];'rename'==_0x39f966['action']&&_0xdb58a7['push']({'key':renameAttributeKey,'newValue':_0x39f966['name'],'oldValue':_0x4183e8['name'],'range':_0x214af0});for(const [_0x3dcd8d,_0x5b89fd]of _0x4183e8['attributes']){if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x3dcd8d))continue;const _0x34edd8=_0x39f966['attributes']['get'](_0x3dcd8d);_0x5b89fd!==_0x34edd8&&_0xdb58a7['push']({'key':_0x3dcd8d,'newValue':_0x34edd8,'oldValue':_0x5b89fd,'range':_0x214af0});}for(const [_0x23d789,_0x1e4409]of _0x39f966['attributes'])this['_suggestionsConversion']['isRegisteredAttribute'](_0x23d789)&&(_0x4183e8['attributes']['has'](_0x23d789)||_0xdb58a7['push']({'key':_0x23d789,'newValue':_0x1e4409,'oldValue':null,'range':_0x214af0}));}0x0!=_0xdb58a7['length']&&_0x4a69d7['model']['enqueueChange'](_0x6ecbbe,_0x2ae0e4=>{const _0x37ae1c=ckeditor5['uid']();for(const {range:_0x33fcdc,key:_0x587026,oldValue:_0xb3848d,newValue:_0x3edc6a}of _0xdb58a7)this['markAttributeChange'](_0x33fcdc,_0x587026,_0xb3848d,_0x3edc6a,{'groupId':_0x37ae1c});this['_reduceExistingSuggestions'](_0x2ae0e4,_0xdb58a7);});},{'priority':'lowest'}),_0x4a69d7['model']['markers']['on']('update:suggestion',(_0x44409f,_0x47167e,_0x536c11)=>{if(null==_0x536c11){const {id:_0x83b70f}=splitSuggestionMarkerName(_0x47167e['name']),_0x11d542=this['_suggestions']['get'](_0x83b70f);_0x11d542&&_0x11d542['addMarkerName'](_0x47167e['name']);}}),_0x4a69d7['model']['document']['on']('change:data',()=>{const _0x1ac246=Array['from'](_0x4a69d7['model']['document']['differ']['getChangedMarkers']())['filter'](_0x28d4fa=>'suggestion'===splitSuggestionMarkerName(_0x28d4fa['name'])['group']);if(0x0===_0x1ac246['length'])return;_0x1ac246['sort']((_0x51d59d,_0x3e2a88)=>{const _0x4c86ae=_0x51d59d['data']['oldRange'],_0x512aa7=_0x3e2a88['data']['oldRange'];return null===_0x4c86ae&&null===_0x512aa7?0x0:null===_0x4c86ae&&null!==_0x512aa7?-0x1:null!==_0x4c86ae&&null===_0x512aa7?0x1:_0x4c86ae['start']['isBefore'](_0x512aa7['start'])?-0x1:0x1;});const _0x99a709=new Set(),_0x36ff29=new Set();for(const {name:_0x5b72a9,data:_0x308cab}of _0x1ac246){const {id:_0x33120a}=splitSuggestionMarkerName(_0x5b72a9);if(null===_0x308cab['oldRange']){const _0xe2a7b1=this['_handleNewSuggestionMarker'](_0x5b72a9);_0x36ff29['add'](_0xe2a7b1);}else{const _0x2f25aa=this['_suggestions']['get'](_0x33120a);null!==_0x308cab['newRange']||_0x2f25aa['isInContent']?(_0x99a709['add'](_0x2f25aa['head']),_0x36ff29['add'](_0x2f25aa)):this['_removeSuggestion'](_0x2f25aa);}}_0x36ff29['size']>0x0&&this['_refreshSuggestionsChain'](_0x36ff29);for(const _0x5cbd3b of _0x99a709)this['fire']('suggestionChanged',_0x5cbd3b);}),_0x4a69d7['model']['on']('applyOperation',(_0x1146ab,_0x292678)=>{const _0x300384=_0x292678[0x0];if(!this['_suggestions']['size'])return;if(!_0x300384['isDocumentOperation'])return;if(_0x300384['batch']['isUndo']||!_0x300384['batch']['isLocal'])return;let _0x593a36,_0x428407;switch(_0x300384['type']){case'insert':_0x593a36=_0x4a69d7['model']['createPositionAt'](_0x300384['position']),_0x428407=_0x593a36['getShiftedBy'](_0x300384['howMany']);break;case'split':_0x593a36=_0x4a69d7['model']['createPositionAt'](_0x300384['splitPosition']),_0x428407=_0x4a69d7['model']['createPositionAt'](_0x300384['moveTargetPosition']);break;case'move':_0x593a36=_0x4a69d7['model']['createPositionAt'](_0x300384['targetPosition']),_0x428407=_0x593a36['getShiftedBy'](_0x300384['howMany']);break;default:return;}const _0x5c844b=_0x4a69d7['model']['createRange'](_0x593a36,_0x428407);_0x4a69d7['model']['change'](()=>{for(const {suggestion:_0x5e872b,meta:_0x43d067}of this['_findSuggestions'](_0x5c844b)){if(_0x5e872b['isMultiRange'])continue;if('formatInline'==_0x5e872b['type'])continue;const _0x40ce63=this['_getAttributeKey'](_0x5e872b);if(_0x40ce63&&this['_suggestionsConversion']['isBlockAttribute'](_0x40ce63)&&'split'!=_0x300384['type'])continue;const _0x48f100=_0x5e872b['data']&&_0x5e872b['data']['multipleBlocks'];('formatBlock'!=_0x5e872b['type']||'split'==_0x300384['type']&&!_0x48f100)&&(_0x43d067['containsRangeInObject']||'insertion'==_0x5e872b['type']&&_0x43d067['isOwn']||_0x5e872b['getFirstRange']()['containsRange'](_0x5c844b)&&this['_breakSuggestionMarker'](_0x5e872b,_0x593a36,_0x428407));}});},{'priority':'lowest'}),_0x4a69d7['model']['on']('deleteContent',(_0xaf23c2,_0x1b2f7b)=>{const _0x39fb54=_0x1b2f7b[0x0],_0x4d677a=_0x1b2f7b[0x1];if(_0x4d677a&&_0x4d677a['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x39fb54['isCollapsed'])return;const _0x2dbb0c=_0x4a69d7['model']['schema'],{start:_0x1f5cdb,end:_0x287b48}=_0x39fb54['getFirstRange'](),_0x4bd5db=_0x1f5cdb['nodeAfter']&&_0x2dbb0c['isLimit'](_0x1f5cdb['nodeAfter'])?null:_0x2dbb0c['getNearestSelectionRange'](_0x1f5cdb,'forward'),_0x55f095=_0x287b48['nodeBefore']&&_0x2dbb0c['isLimit'](_0x287b48['nodeBefore'])?null:_0x2dbb0c['getNearestSelectionRange'](_0x287b48,'backward'),_0x554166=_0x4a69d7['model']['createRange'](_0x4bd5db?_0x4bd5db['start']:_0x1f5cdb,_0x55f095?_0x55f095['end']:_0x287b48);_0x4a69d7['model']['change'](_0x71fb5a=>{this['markDeletion'](_0x554166);const _0x2f7fca=_0x4a69d7['model']['schema']['getNearestSelectionRange'](_0x554166['start']);_0x39fb54['is']('documentSelection')?_0x71fb5a['setSelection'](_0x2f7fca):_0x39fb54['setTo'](_0x2f7fca);}),_0xaf23c2['stop']();},{'priority':ckeditor5['priorities']['normal']+0xa}),_0x4a69d7['model']['on']('insertContent',(_0x33b79c,_0x16d223)=>{const _0x137a90=_0x16d223[_0x16d223['length']-0x1];_0x137a90&&_0x137a90['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x4a69d7['model']['change'](()=>{let _0xd3d16e=_0x4a69d7['model']['insertContent'](_0x16d223[0x0],_0x16d223[0x1],_0x16d223[0x2],{'forceDefaultExecution':!0x0});if(!_0xd3d16e)return;_0x33b79c['return']=_0xd3d16e['clone']();const _0x53b49b=_0xd3d16e['end']['nodeBefore'],_0xedf04=_0x4a69d7['model']['schema'];_0x53b49b&&_0xedf04['isBlock'](_0x53b49b)&&!_0xedf04['isObject'](_0x53b49b)&&(_0xd3d16e=_0x4a69d7['model']['createRange'](_0xd3d16e['start'],_0x4a69d7['model']['createPositionAt'](_0x53b49b,'end'))),this['markInsertion'](_0xd3d16e);}),_0x33b79c['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0x50e98c=new AcceptSuggestionCommand(_0x4a69d7,this['_suggestions']);_0x4a69d7['commands']['add']('acceptSuggestion',_0x50e98c),this['enableCommand']('acceptSuggestion');const _0x4cdf3d=new DiscardSuggestionCommand(_0x4a69d7,this['_suggestions']);_0x4a69d7['commands']['add']('discardSuggestion',_0x4cdf3d),this['enableCommand']('discardSuggestion'),_0x4a69d7['commands']['add']('acceptAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x4a69d7,_0x50e98c,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x4a69d7['commands']['add']('discardAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x4a69d7,_0x4cdf3d,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x4a69d7['commands']['add']('acceptSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x4a69d7,_0x50e98c,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x4a69d7['commands']['add']('discardSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x4a69d7,_0x4cdf3d,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x3f9e05=_0x4a69d7['plugins']['get'](CommentsRepository);this['listenTo'](_0x3f9e05,'addComment',(_0x597443,{threadId:_0x5386c7})=>{const _0x1d9ce8=this['_suggestions']['get'](_0x5386c7);_0x1d9ce8&&_0x1d9ce8['commentThread']&&0x1===_0x1d9ce8['commentThread']['length']&&this['_updateSuggestionData'](_0x5386c7,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x3f9e05,'removeComment',(_0x474f2e,{threadId:_0x1b3d4e})=>{const _0x4b7cc6=this['_suggestions']['get'](_0x1b3d4e);_0x4b7cc6&&_0x4b7cc6['commentThread']&&!_0x4b7cc6['commentThread']['length']&&this['_updateSuggestionData'](_0x1b3d4e,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){_0x2d66e2(this);}set['adapter'](_0x3422e9){if(this['_adapter'])throw new ckeditor5['CKEditorError']('track-changes-adapter-already-set',this);this['_adapter']=_0x3422e9;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x424c4a=!0x1,toJSON:_0x3306a7=!0x1}={}){const _0x44fd20=[];for(const _0x2f5219 of this['_suggestions']['values']())_0x424c4a&&!_0x2f5219['isInContent']||_0x44fd20['push'](_0x2f5219);return _0x3306a7?_0x44fd20['map'](_0x1eb8bd=>_0x1eb8bd['toJSON']()):_0x44fd20;}['getSuggestion'](_0x4f92ed){const _0x4cd027=this['_suggestions']['get'](_0x4f92ed);if(!_0x4cd027)throw new ckeditor5['CKEditorError']('track-changes-suggestion-not-found',this);return _0x4cd027;}['hasSuggestion'](_0x1eb2f2){return this['_suggestions']['has'](_0x1eb2f2);}['addSuggestionData'](_0x21c231){const {authorId:_0x41f958,id:_0x46e54f,originalSuggestionId:_0x584159,attributes:_0x51a105}=_0x21c231,[_0x295aa9,_0x26851]=_0x21c231['type']['split'](':'),_0x90191a=this['_suggestions']['get'](_0x46e54f)||this['_createSuggestion'](_0x295aa9,_0x26851,_0x46e54f,_0x41f958,_0x51a105,_0x584159);if(this['_addThreadToSuggestion'](_0x90191a),this['_checkSuggestionCorrectness'](_0x90191a,_0x295aa9,_0x26851||null,_0x41f958),_0x90191a['createdAt']=_0x21c231['createdAt'],_0x90191a['_isDataLoaded']=!0x0,_0x51a105&&_0x51a105['@external']){const _0x719b0=_0x51a105['@external'],_0x27eb69=this['_getExternalAuthor'](_0x719b0['authorName']);_0x90191a['authoredAt']=_0x719b0['createdAt'],_0x90191a['author']=_0x27eb69,_0x90191a['isExternal']=!0x0;}else _0x90191a['authoredAt']=_0x21c231['createdAt'];switch(_0x21c231['data']&&(_0x90191a['data']=_0x21c231['data']),_0x21c231['attributes']&&(_0x90191a['attributes']=_0x21c231['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0x90191a['_saved']=!0x0),this['_suggestionState']['get'](_0x90191a)){case'notReady':this['_suggestionState']['set'](_0x90191a,'dataReady');break;case'markerReady':_0x90191a['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0x90191a])),this['_refreshSuggestionsChain'](new Set([_0x90191a])),this['_suggestionState']['set'](_0x90191a,'ready'),this['fire']('suggestionLoaded',_0x90191a)):this['_suggestionState']['set'](_0x90191a,'removed');}return _0x90191a;}['acceptSuggestion'](_0x4761fc){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x4fad0b of _0x4761fc['getAllAdjacentSuggestions']())_0x4fad0b['accept']();});});}['discardSuggestion'](_0x4b186b){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x3a38f8 of _0x4b186b['getAllAdjacentSuggestions']())_0x3a38f8['discard']();});});}['enableCommand'](_0x50f4a3,_0x2f6b97){const _0x58c4f3=this['editor']['commands']['get'](_0x50f4a3);if(!_0x58c4f3)throw new ckeditor5['CKEditorError']('track-changes-command-not-found',this,{'commandName':_0x50f4a3});if(this['_enabledCommands']['has'](_0x58c4f3))throw new ckeditor5['CKEditorError']('track-changes-enable-command-twice',this,{'commandName':_0x50f4a3});this['_enabledCommands']['add'](_0x58c4f3),_0x2f6b97&&_0x58c4f3['on']('execute',(_0x29353b,_0x2c3d57)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x2c3d57['length']>0x0&&_0x2c3d57[_0x2c3d57['length']-0x1]&&_0x2c3d57[_0x2c3d57['length']-0x1]['forceDefaultExecution']?_0x2c3d57['pop']():(_0x29353b['return']=_0x2f6b97((..._0x4e66ce)=>_0x58c4f3['execute'](..._0x4e66ce,{'forceDefaultExecution':!0x0}),..._0x2c3d57),_0x29353b['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0x1b6175){let _0x3197d9,_0x1f802c;const _0xb70c3f=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x3197d9=_0x1b6175();}catch(_0x24a808){_0x1f802c=_0x24a808;}return _0xb70c3f||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x1f802c&&ckeditor5['CKEditorError']['rethrowUnexpectedError'](_0x1f802c,this),_0x3197d9;}['markInsertion'](_0x4b25ea,_0x5360b6=null,_0x32cc20={}){if(_0x4b25ea['isCollapsed'])return null;const _0x1868ed=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0x32cc20['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x8338c1,meta:_0x5b633e}of this['_findSuggestions'](_0x4b25ea,'insertion'))if(_0x5b633e['isOwn']){if(!_0x5b633e['isNextTo']){if(_0x5b633e['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!_areSimilarAttributes(_0x8338c1,_0x32cc20))continue;return _0x8338c1;}if(_areSimilarAttributes(_0x8338c1,_0x32cc20))return _0x8338c1;this['_breakSuggestionMarker'](_0x8338c1,_0x4b25ea['start'],_0x4b25ea['end']);break;}if(_0x5360b6==_0x8338c1['subType']&&_areSimilarAttributes(_0x8338c1,_0x32cc20)){const _0x3cfffc=_0x8338c1['getFirstRange']();return _0x3cfffc['start']['isEqual'](_0x4b25ea['end'])?this['_setSuggestionRange'](_0x8338c1,this['_model']['createRange'](_0x4b25ea['start'],_0x3cfffc['end'])):this['_setSuggestionRange'](_0x8338c1,this['_model']['createRange'](_0x3cfffc['start'],_0x4b25ea['end'])),_0x8338c1;}}const _0x11feec=ckeditor5['uid'](),_0x11b99c=_0x1868ed['id'],_0x2c4d9c=_0x5360b6?'insertion:'+_0x5360b6:'insertion',_0x14db34=this['_setSuggestionData']({'id':_0x11feec,'type':_0x2c4d9c,'createdAt':new Date(),'authorId':_0x11b99c,'attributes':_0x32cc20});return this['_addSuggestionMarker'](_0x2c4d9c,_0x11feec,_0x11b99c,_0x4b25ea),_0x14db34;}['markMultiRangeInsertion'](_0x2ea67c,_0x6498ef='multi',_0x3b7390={}){const _0x502f22=this['editor']['plugins']['get']('Users')['me'],_0x22520f=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0x6498ef,'join');this['_trackingSessionId']&&(_0x3b7390['trackingSessionId']=this['_trackingSessionId']);for(const _0x2c3329 of this['getSuggestions']())if(_0x2c3329['author']['id']==_0x502f22['id']&&'insertion'==_0x2c3329['type']&&_0x2c3329['subType']==_0x6498ef&&_areSimilarAttributes(_0x2c3329,_0x3b7390)&&(_0x22520f(_0x2c3329['getRanges'](),_0x2ea67c)||_0x22520f(_0x2ea67c,_0x2c3329['getRanges']()))){for(const _0x1a9b02 of _0x2ea67c)_0x2c3329['addRange'](_0x1a9b02);return _0x2c3329;}for(const {suggestion:_0x428938,meta:_0x24dcae}of this['_findSuggestions'](_0x2ea67c,'insertion')){if(!_0x24dcae['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x24dcae['containsRangeInObject'])continue;if(!_areSimilarAttributes(_0x428938,_0x3b7390))continue;let _0x5931e5=!0x0;for(const _0x4e613a of _0x428938['getRanges']())for(const _0xfc717e of _0x2ea67c)if(!_0x4e613a['containsRange'](_0xfc717e)){_0x5931e5=!0x1;break;}if(_0x5931e5)return _0x428938;}const _0x94b8ea=ckeditor5['uid'](),_0x1cda8f=_0x502f22['id'],_0x50aa09='insertion:'+_0x6498ef,_0x2541ee=this['_setSuggestionData']({'id':_0x94b8ea,'type':_0x50aa09,'createdAt':new Date(),'authorId':_0x1cda8f,'attributes':_0x3b7390});for(const _0x2df901 of _0x2ea67c)this['_addSuggestionMarker'](_0x50aa09,_0x94b8ea,_0x1cda8f,_0x2df901,Suggestion['getMultiRangeId']());return _0x2541ee;}['markInlineFormat'](_0x5925b1,_0x3b2df8,_0xbc9292=null,_0x3b1886={}){if(_0xbc9292=_0xbc9292||createFormatSubType(_0x3b2df8),_0x5925b1['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0x3b1886['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x283ab2=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0xbc9292,'accept');return this['forceDefaultExecution'](()=>_0x283ab2([_0x5925b1],_0x3b2df8,_0x3b1886)),null;}const _0x24f8b0=this['editor']['plugins']['get']('Users')['me'],_0x548ef8=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x308716,meta:_0x28c2cf}of this['_findSuggestions'](_0x5925b1,'insertion'))_0x28c2cf['isOwn']&&!_0x28c2cf['isInsideObject']&&_0x548ef8['push'](..._0x308716['getRanges']());}const _0x12dcf4=getIntersectionsWithMultipleRanges(_0x5925b1,_0x548ef8),_0x2f8a49=getDifferencesWithMultipleRanges(_0x5925b1,_0x548ef8);_0x12dcf4['length']&&this['_model']['change'](()=>{for(const _0x3bc74d of _0x12dcf4){const _0x4b7576=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0xbc9292,'accept');this['forceDefaultExecution'](()=>_0x4b7576([_0x3bc74d],_0x3b2df8,_0x3b1886));}});for(const _0xef9f91 of _0x2f8a49){let _0xfaa58=null,_0x1923c7=_0xef9f91['start'],_0x22bc9a=_0xef9f91['end'];for(const {suggestion:_0x2f7756,meta:_0x1ad12e}of this['_findSuggestions'](_0xef9f91,'formatInline')){if(!_0x1ad12e['isOwn'])continue;if(_0x2f7756['subType']!=_0xbc9292)continue;if(!_areSimilarAttributes(_0x2f7756,_0x3b1886))continue;const _0x57ad6c=_0x2f7756['getFirstRange']();if(_0x57ad6c['containsRange'](_0xef9f91,!0x0))return null;_0x1923c7=_0x1923c7['isBefore'](_0x57ad6c['start'])?_0x1923c7:_0x57ad6c['start'],_0x22bc9a=_0x22bc9a['isAfter'](_0x57ad6c['end'])?_0x22bc9a:_0x57ad6c['end'],_0xfaa58?_0x57ad6c['start']['isBefore'](_0xfaa58['getFirstRange']()['start'])?(_0xfaa58['removeMarkers'](),_0xfaa58=_0x2f7756):_0x2f7756['removeMarkers']():_0xfaa58=_0x2f7756;}const _0x2305e6=this['_model']['createRange'](_0x1923c7,_0x22bc9a);if(_0xfaa58)this['_setSuggestionRange'](_0xfaa58,_0x2305e6);else{const _0x2c92a5=ckeditor5['uid'](),_0x512260=_0x24f8b0['id'];this['_setSuggestionData']({'id':_0x2c92a5,'type':'formatInline:'+_0xbc9292,'data':_0x3b2df8,'createdAt':new Date(),'authorId':_0x512260,'attributes':_0x3b1886}),this['_addSuggestionMarker']('formatInline:'+_0xbc9292,_0x2c92a5,_0x512260,_0x2305e6);}}return null;}['markBlockFormat'](_0x1e6f75,_0x3d78fe,_0x5280d2=[],_0x19da9f=null,_0x514e29={}){_0x3d78fe['formatGroupId']||(_0x3d78fe['formatGroupId']=_0x3d78fe['commandName']),_0x3d78fe['multipleBlocks']=_0x1e6f75['is']('range'),_0x19da9f=_0x19da9f||createFormatSubType(_0x3d78fe);const _0x1dc5a6=_0x5280d2['map'](_0x1d16d4=>createBlockFormatRangeForElement(_0x1d16d4,this['_model'])),_0x3e5526=_0x1e6f75['is']('range')?_0x1e6f75:createBlockFormatRangeForElement(_0x1e6f75,this['_model']);if(this['_trackingSessionId']&&(_0x514e29['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x5e8d8b=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x19da9f,'accept');return this['forceDefaultExecution'](()=>_0x5e8d8b([_0x3e5526],_0x3d78fe,_0x514e29)),null;}_0x1dc5a6['push'](_0x3e5526);let _0x57a41b=!0x0;for(const _0x4daf82 of _0x1dc5a6)if(!this['_rangeIsInLocalUserInsertion'](_0x4daf82)){_0x57a41b=!0x1;break;}if(_0x57a41b&&'always'!==this['_trackFormatChanges']){const _0x39ddbc=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x19da9f,'accept');return this['forceDefaultExecution'](()=>_0x39ddbc([_0x3e5526],_0x3d78fe,_0x514e29)),null;}let _0x3a1836=null,_0x2a5483=_0x3e5526['start'],_0x62b34e=_0x3e5526['end'];for(const {suggestion:_0x206709,meta:_0x236163}of this['_findSuggestions'](_0x3e5526,'formatBlock')){if(!_0x236163['isOwn'])continue;if(_0x236163['isNextTo']||_0x236163['containsRangeInObject']||_0x236163['isInsideObject'])continue;if(_0x206709['data']['formatGroupId']!=_0x3d78fe['formatGroupId'])continue;if(!_areSimilarAttributes(_0x206709,_0x514e29))continue;const _0x9b8671=_0x206709['getFirstRange']();if(_0x206709['subType']==_0x19da9f){if(_0x9b8671['containsRange'](_0x3e5526,!0x0))return null;_0x2a5483=_0x2a5483['isBefore'](_0x9b8671['start'])?_0x2a5483:_0x9b8671['start'],_0x62b34e=_0x62b34e['isAfter'](_0x9b8671['end'])?_0x62b34e:_0x9b8671['end'],_0x3a1836?_0x9b8671['start']['isBefore'](_0x3a1836['getFirstRange']()['start'])?(_0x3a1836['removeMarkers'](),_0x3a1836=_0x206709):_0x206709['removeMarkers']():_0x3a1836=_0x206709;}else{const _0x476330=_0x3e5526['getIntersection'](_0x9b8671);this['_cutOutSuggestionMarker'](_0x206709,_0x476330);}}const _0x147a62=this['editor']['plugins']['get']('Users')['me'],_0x36c9e9=ckeditor5['uid'](),_0x301373=_0x147a62['id'];if(_0x3a1836)return this['_setSuggestionRange'](_0x3a1836,this['_model']['createRange'](_0x2a5483,_0x62b34e)),_0x3a1836;{const _0x157155=this['_setSuggestionData']({'id':_0x36c9e9,'type':'formatBlock:'+_0x19da9f,'data':_0x3d78fe,'createdAt':new Date(),'authorId':_0x301373,'attributes':_0x514e29});return this['_addSuggestionMarker']('formatBlock:'+_0x19da9f,_0x36c9e9,_0x301373,this['_model']['createRange'](_0x2a5483,_0x62b34e)),_0x157155;}}['markMultiRangeBlockFormat'](_0xf2b046,_0x5a5f65,_0x21c03d=[],_0x5dfb7c=null,_0x233920={}){_0x5a5f65['formatGroupId']||(_0x5a5f65['formatGroupId']=_0x5a5f65['commandName']);const _0x2b7f28=_0xf2b046[0x0];_0x5a5f65['multipleBlocks']=_0x2b7f28['is']('range'),_0x5dfb7c=_0x5dfb7c||createFormatSubType(_0x5a5f65);const _0x1c23e7=_0x21c03d['map'](_0x2a2c6d=>createBlockFormatRangeForElement(_0x2a2c6d,this['_model'])),_0x40b9d6=_0x2b7f28['is']('range')?_0xf2b046:_0xf2b046['map'](_0xa6d65f=>createBlockFormatRangeForElement(_0xa6d65f,this['_model']));if(this['_trackingSessionId']&&(_0x233920['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x374e78=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x5dfb7c,'accept');return this['forceDefaultExecution'](()=>_0x374e78(_0x40b9d6,_0x5a5f65,_0x233920)),null;}_0x1c23e7['push'](..._0x40b9d6);let _0x167137=!0x0;for(const _0x56e81b of _0x1c23e7)if(!this['_rangeIsInLocalUserInsertion'](_0x56e81b)){_0x167137=!0x1;break;}if(_0x167137&&'always'!==this['_trackFormatChanges']){const _0x5ac1fd=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x5dfb7c,'accept');return this['forceDefaultExecution'](()=>_0x5ac1fd(_0x40b9d6,_0x5a5f65,_0x233920)),null;}const _0x2149b9=this['editor']['plugins']['get']('Users')['me'];for(const _0x5e79c7 of this['getSuggestions']()){const _0x3be889=_0x5e79c7['data'];if(_0x5e79c7['author']['id']!=_0x2149b9['id'])continue;if('formatBlock'!=_0x5e79c7['type']||_0x3be889['formatGroupId']!=_0x5a5f65['formatGroupId'])continue;if(!_areSimilarAttributes(_0x5e79c7,_0x233920))continue;const _0x158ca8=_0x5e79c7['subType']==_0x5dfb7c;for(let _0x4a650d=0x0;_0x4a650d<_0x40b9d6['length'];_0x4a650d++){const _0x465e4c=_0x40b9d6[_0x4a650d];for(const _0x10065c of _0x5e79c7['getMarkers']()){const _0x490f0b=_0x10065c['getRange']();if(_0x465e4c['isEqual'](_0x490f0b)){_0x158ca8?(_0x40b9d6['splice'](_0x4a650d,0x1),_0x4a650d--):_0x5e79c7['removeMarker'](_0x10065c['name']);break;}}}}if(0x0==_0x40b9d6['length'])return null;const _0x1a3c9d=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x5dfb7c,'join');for(const _0x31e2e6 of this['getSuggestions']()){const _0xa004ab=_0x31e2e6['data'];if(_0x31e2e6['author']['id']==_0x2149b9['id']&&('formatBlock'==_0x31e2e6['type']&&_0xa004ab['formatGroupId']==_0x5a5f65['formatGroupId']&&_0x31e2e6['subType']==_0x5dfb7c&&_areSimilarAttributes(_0x31e2e6,_0x233920)&&(_0x1a3c9d(_0x31e2e6['getRanges'](),_0x40b9d6)||_0x1a3c9d(_0x40b9d6,_0x31e2e6['getRanges']())))){for(const _0x257c1c of _0x40b9d6)_0x31e2e6['addRange'](_0x257c1c);return _0x31e2e6;}}const _0x520037=ckeditor5['uid'](),_0x19774f=_0x2149b9['id'],_0x5d98b1='formatBlock:'+_0x5dfb7c,_0x367682=this['_setSuggestionData']({'id':_0x520037,'type':_0x5d98b1,'data':_0x5a5f65,'createdAt':new Date(),'authorId':_0x19774f,'attributes':_0x233920});for(const _0x18b8a2 of _0x40b9d6)this['_addSuggestionMarker'](_0x5d98b1,_0x520037,_0x19774f,_0x18b8a2,Suggestion['getMultiRangeId']());return _0x367682;}['markDeletion'](_0x56f381,_0x543a06=null,_0xcbf101={}){if(_0x56f381['isCollapsed'])return null;const _0x35b3df=this['editor']['plugins']['get']('Users')['me'],_0x1c66f3=new ckeditor5['ModelLiveRange'](_0x56f381['start'],_0x56f381['end']);this['_trackingSessionId']&&(_0xcbf101['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x1e15cc,meta:_0x12427a}of this['_findSuggestions'](_0x1c66f3,'insertion'))if(_0x12427a['isOwn']&&!_0x12427a['isNextTo']){if(_0x1e15cc['isMultiRange']){const _0x2186ed=_0x1e15cc['getRanges']()['filter'](_0x250c63=>'$graveyard'!=_0x250c63['root']['rootName']);_0x2186ed['every'](_0x53f57d=>_0x1c66f3['containsRange'](_0x53f57d,!0x0))&&_0x1e15cc['discard']();if(_0x2186ed['some'](_0x16ab16=>_0x16ab16['containsRange'](_0x1c66f3,!0x0))){const _0x27c70d=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x543a06,'accept');return this['forceDefaultExecution'](()=>_0x27c70d([_0x1c66f3],null,_0xcbf101)),null;}}else{const _0x33b778=_0x1c66f3['getIntersection'](_0x1e15cc['getFirstRange']());null!==_0x33b778&&_0x1e15cc['_onDiscard']([_0x33b778],null,_0xcbf101);}}if(_0x1c66f3['detach'](),_0x1c66f3['isCollapsed']||'$graveyard'==_0x1c66f3['root']['rootName'])return null;let _0x56f53c=null,_0x3eacaa=_0x1c66f3['start'],_0x3b8dc9=_0x1c66f3['end'];const _0xdfcd7=this['_findSuggestions'](_0x1c66f3,'deletion');for(const {suggestion:_0x1583cf,meta:_0x3c6f63}of _0xdfcd7){const _0x43ff4f=this['_model']['createRange'](_0x3eacaa,_0x3b8dc9);if(_0x3c6f63['isOwn']&&(this['_mergeNestedSuggestions']||!_0x3c6f63['containsRangeInObject']&&!_0x3c6f63['isInsideObject'])){if(_0x1583cf['isMultiRange']){if(!_areSimilarAttributes(_0x1583cf,_0xcbf101))continue;let _0x171833=!0x0;for(const _0x1619f4 of _0x1583cf['getRanges']()){if(_0x1619f4['containsRange'](_0x43ff4f,!0x0))return _0x1583cf;_0x43ff4f['containsRange'](_0x1619f4)||(_0x171833=!0x1);}_0x171833&&_0x1583cf['discard']();}else{const _0xb38ae2=_0x1583cf['getFirstRange']();if(_0xb38ae2['containsRange'](_0x43ff4f,!0x0))return _0x1583cf;if(!_areSimilarAttributes(_0x1583cf,_0xcbf101)){_0x43ff4f['containsRange'](_0xb38ae2)?_0x1583cf['removeMarkers']():_0xb38ae2['containsPosition'](_0x3eacaa)?_0x3eacaa=_0xb38ae2['end']:_0xb38ae2['containsPosition'](_0x3b8dc9)&&(_0x3b8dc9=_0xb38ae2['start']);continue;}_0x3eacaa=_0x3eacaa['isBefore'](_0xb38ae2['start'])?_0x3eacaa:_0xb38ae2['start'],_0x3b8dc9=_0x3b8dc9['isAfter'](_0xb38ae2['end'])?_0x3b8dc9:_0xb38ae2['end'],_0xcbf101=Object['assign']({},_0x1583cf['attributes']),_0x56f53c?_0xb38ae2['start']['isBefore'](_0x56f53c['getFirstRange']()['start'])?(_0x56f53c['removeMarkers'](),_0x56f53c=_0x1583cf):_0x1583cf['removeMarkers']():_0x56f53c=_0x1583cf;}}}if(_0x56f53c)return this['_setSuggestionRange'](_0x56f53c,this['_model']['createRange'](_0x3eacaa,_0x3b8dc9)),_0x56f53c;{const _0x45f8b7=ckeditor5['uid'](),_0x3ff3e4=this['_model']['createRange'](_0x3eacaa,_0x3b8dc9),_0x29e59b=_0x35b3df['id'],_0xb7194e=_0x543a06?'deletion:'+_0x543a06:'deletion',_0x101f05=this['_setSuggestionData']({'id':_0x45f8b7,'type':_0xb7194e,'createdAt':new Date(),'authorId':_0x29e59b,'attributes':_0xcbf101});return this['_addSuggestionMarker'](_0xb7194e,_0x45f8b7,_0x29e59b,_0x3ff3e4),_0x101f05;}}['markMultiRangeDeletion'](_0x54f8fd,_0x2e877e='multi',_0x5b2e52={}){const _0x5b6d9f=this['editor']['plugins']['get']('Users')['me'],_0x7ea42c=_0x54f8fd['map'](_0x401d55=>new ckeditor5['ModelLiveRange'](_0x401d55['start'],_0x401d55['end'])),_0x221b4c=new Set();this['_trackingSessionId']&&(_0x5b2e52['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x19d713,meta:_0x9229c6}of this['_findSuggestions'](_0x7ea42c,'insertion'))_0x9229c6['isOwn']&&!_0x9229c6['isNextTo']&&_0x221b4c['add'](_0x19d713);for(const _0x53ad64 of _0x221b4c)if(_0x53ad64['isMultiRange']){const _0x50265a=_0x53ad64['getRanges']();(!_0x53ad64['attributes']||!_0x53ad64['attributes']['skipNestingCheck'])&&(_0x50265a['every'](_0x563a26=>_0x7ea42c['some'](_0x3965f6=>_0x3965f6['containsRange'](_0x563a26,!0x0)))&&_0x53ad64['discard']());if(_0x7ea42c['every'](_0x3a6059=>_0x50265a['some'](_0xf7c2b4=>_0xf7c2b4['containsRange'](_0x3a6059,!0x0)))){const _0x3ef6ce=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x2e877e,'accept');return this['forceDefaultExecution'](()=>_0x3ef6ce(_0x54f8fd,null,_0x5b2e52)),null;}}else{const _0x16095b=_0x53ad64['getFirstRange']();_0x7ea42c['some'](_0x2c7b88=>_0x2c7b88['containsRange'](_0x16095b,!0x0))&&_0x53ad64['discard']();if(_0x7ea42c['every'](_0xea23a4=>_0x16095b['containsRange'](_0xea23a4,!0x0))){const _0x4d4a8e=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x2e877e,'accept');return this['forceDefaultExecution'](()=>_0x4d4a8e(_0x7ea42c,null,_0x5b2e52)),null;}}const _0x92d76c=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x2e877e,'join');let _0x58ad6a=null;for(const _0x51206f of this['getSuggestions']())if(_0x51206f['author']['id']==_0x5b6d9f['id']&&_0x51206f['isInContent']&&'deletion'==_0x51206f['type']&&_0x51206f['subType']==_0x2e877e&&_areSimilarAttributes(_0x51206f,_0x5b2e52)&&(_0x92d76c(_0x51206f['getRanges'](),_0x7ea42c)||_0x92d76c(_0x7ea42c,_0x51206f['getRanges']()))){if(_0x58ad6a){if(_0x51206f['commentThread']&&_0x51206f['commentThread']['length'])continue;for(const _0x5cb68d of _0x51206f['getRanges']())_0x58ad6a['isIntersectingWithRange'](_0x5cb68d)||_0x58ad6a['addRange'](_0x5cb68d);_0x51206f['removeMarkers']();}else{_0x58ad6a=_0x51206f;for(const _0x45dada of _0x7ea42c)_0x51206f['isIntersectingWithRange'](_0x45dada)||_0x51206f['addRange'](_0x45dada);}}if(_0x58ad6a)return _0x58ad6a;_0x221b4c['clear']();for(const {suggestion:_0x560ec6,meta:_0x23e390}of this['_findSuggestions'](_0x7ea42c,'deletion'))_0x23e390['isOwn']&&(this['_mergeNestedSuggestions']||!_0x23e390['containsRangeInObject']&&!_0x23e390['isInsideObject'])&&_areSimilarAttributes(_0x560ec6,_0x5b2e52)&&_0x221b4c['add'](_0x560ec6);for(const _0x21c5bb of _0x221b4c){const _0x913381=_0x21c5bb['getRanges']();if(!_0x5b2e52||!_0x5b2e52['skipNestingCheck']){if(_0x7ea42c['every'](_0x457ad9=>_0x913381['some'](_0x5bff1d=>_0x5bff1d['containsRange'](_0x457ad9,!0x0))))return _0x21c5bb;}(!_0x21c5bb['attributes']||!_0x21c5bb['attributes']['skipNestingCheck'])&&(_0x913381['every'](_0x5dad5e=>_0x7ea42c['some'](_0x291353=>_0x291353['containsRange'](_0x5dad5e,!0x0)))&&_0x21c5bb['discard']());}const _0x31c772=ckeditor5['uid'](),_0x240f50=_0x5b6d9f['id'],_0x22a481='deletion:'+_0x2e877e,_0x69636c=this['_setSuggestionData']({'id':_0x31c772,'type':_0x22a481,'createdAt':new Date(),'authorId':_0x240f50,'attributes':_0x5b2e52});for(const _0x3dd1f5 of _0x7ea42c)_0x3dd1f5['detach'](),_0x3dd1f5['isCollapsed']||'$graveyard'==_0x3dd1f5['root']['rootName']||this['_addSuggestionMarker'](_0x22a481,_0x31c772,_0x240f50,_0x3dd1f5,Suggestion['getMultiRangeId']());return _0x69636c;}['markAttributeChange'](_0xfd10d3,_0x2b5c5f,_0x24fdbe,_0xe63d20,_0x6abea4){if(_0xfd10d3['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x3cbb6f=this['editor']['plugins']['get']('Users')['me']['id'],_0x2826c4=Array['from'](this['_suggestions']['values']())['filter'](_0x241596=>'attribute'==_0x241596['type']&&_0x241596['data']['key']==_0x2b5c5f&&_0x241596['isIntersectingWithRange'](_0xfd10d3));if(this['_trackingSessionId']&&(_0x6abea4['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0x52edaa=this['_findSuggestions'](_0xfd10d3,'insertion')['filter'](({meta:_0x4afd80})=>_0x4afd80['isOwn']&&!_0x4afd80['isInsideObject']&&!_0x4afd80['isNextTo'])['map'](({suggestion:_0x44c4fb})=>_0x44c4fb);_0x2826c4['unshift'](..._0x52edaa);}const _0x2f8390=new Map([[_0xfd10d3,_0x24fdbe]]);for(const _0x4e7ba0 of _0x2826c4){const _0x5b67d8='attribute'==_0x4e7ba0['type']?_0x4e7ba0['data']['oldValue']:void 0x0,_0x7d8292=_0x4e7ba0['getFirstRange'](),_0x4e4268=Array['from'](_0x2f8390['keys']())['find'](_0x274467=>_0x274467['isIntersecting'](_0x7d8292));if(!_0x4e4268)continue;const _0x445e7e=_0x4e4268['getDifference'](_0x7d8292);this['_suggestionsConversion']['isBlockAttribute'](_0x2b5c5f)&&'insertion'==_0x4e7ba0['type']&&0x0!=_0x445e7e['length']||(_0x2f8390['delete'](_0x4e4268),_0x445e7e['forEach'](_0x3bc706=>{_0x2f8390['set'](_0x3bc706,_0x24fdbe);}),'insertion'!=_0x4e7ba0['type']&&_0x5b67d8!=_0xe63d20&&_0x2f8390['set'](_0x4e4268['getIntersection'](_0x7d8292),_0x5b67d8));}const _0x1af51b=[];for(const [_0x23f41e,_0x305222]of _0x2f8390){const _0x415686=ckeditor5['uid'](),_0x2dc513={'key':_0x2b5c5f,'oldValue':_0x305222,'newValue':_0xe63d20};_0x2b5c5f['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':_0x2b5c5f});const _0x5bcf89=('attribute:'+(_0x2b5c5f+'|'+createFormatSubType({'newValue':_0xe63d20})))['substring'](0x0,0x3c),_0x342b01=this['_setSuggestionData']({'id':_0x415686,'type':_0x5bcf89,'data':_0x2dc513,'createdAt':new Date(),'authorId':_0x3cbb6f,'attributes':_0x6abea4});_0x1af51b['push'](_0x342b01),this['_addSuggestionMarker'](_0x5bcf89,_0x415686,_0x3cbb6f,_0x23f41e);}return _0x1af51b;}['enableDefaultAttributesIntegration'](_0x1da2cd){this['enableCommand'](_0x1da2cd,(_0x56f133,..._0x532cae)=>{this['recordAttributeChanges'](()=>{_0x56f133(..._0x532cae);});});}['startTrackingSession'](_0x5e58be){return this['_trackingSessionId']=void 0x0!==_0x5e58be?_0x5e58be:ckeditor5['uid'](),this['_trackingSessionId'];}['_getAttributeKey'](_0x4d0f0f){return'attribute'==_0x4d0f0f['type']?_getAttributeKeyFromSubType(_0x4d0f0f['subType']):null;}['_applyOperationsAsSuggestions'](_0x47fe13){if(0x0==_0x47fe13['length'])return;const _0x1cd1b1=this['editor'],_0x12e8c1=_0x1cd1b1['plugins']['get'](DocumentCompare),_0x1279ad=[];_0x1cd1b1['model']['change'](_0x101995=>{for(let _0x13ca9d=0x0;_0x13ca9d<_0x47fe13['length'];_0x13ca9d++){const _0x7a7edc=_0x47fe13[_0x13ca9d];if(_0x7a7edc['baseVersion']=_0x1cd1b1['model']['document']['version'],_0x7a7edc['isDocumentOperation']=!0x0,_0x12e8c1['isMarkedRemoveOperation'](_0x7a7edc)){const _0x30b244=fixElementSuggestionRange(_0x7a7edc['newRange'],_0x1cd1b1['model']);_0x1279ad['unshift'](ckeditor5['ModelLiveRange']['fromRange'](_0x30b244));}else switch(_0x7a7edc['type']){case'rename':{const _0x5619b1=_0x7a7edc['oldName'],_0x4e6c87=_0x7a7edc['newName'];if(_0x5619b1==_0x4e6c87)break;_0x101995['batch']['addOperation'](_0x7a7edc),_0x1cd1b1['model']['applyOperation'](_0x7a7edc);const _0x5b3768='$elementName',_0x2c8690=_0x7a7edc['position'],_0x56eb08=_0x1cd1b1['model']['createRange'](_0x2c8690,_0x1cd1b1['model']['createPositionAt'](_0x2c8690['nodeAfter'],'end'));this['markAttributeChange'](_0x56eb08,_0x5b3768,_0x5619b1,_0x4e6c87,{'groupId':ckeditor5['uid']()});break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x29f049=_0x7a7edc['oldValue'],_0xdc46a4=_0x7a7edc['newValue'];if(_0x29f049==_0xdc46a4)break;_0x101995['batch']['addOperation'](_0x7a7edc),_0x1cd1b1['model']['applyOperation'](_0x7a7edc);const _0x112284=_0x7a7edc['key'];if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x112284))break;const _0x286d20=fixElementSuggestionRange(_0x7a7edc['range'],_0x1cd1b1['model']);this['markAttributeChange'](_0x286d20,_0x112284,_0x29f049,_0xdc46a4,{'groupId':ckeditor5['uid']()});break;}case'insert':{_0x101995['batch']['addOperation'](_0x7a7edc),_0x1cd1b1['model']['applyOperation'](_0x7a7edc);if(_0x47fe13[_0x13ca9d+0x1]&&'move'==_0x47fe13[_0x13ca9d+0x1]['type'])break;const _0x586330=_0x7a7edc['position'],_0x4d638b=_0x7a7edc['howMany'],_0x6f046d=fixElementSuggestionRange(_0x1cd1b1['model']['createRange'](_0x586330,_0x586330['getShiftedBy'](_0x4d638b)),_0x1cd1b1['model']);this['markInsertion'](_0x6f046d);break;}case'split':{_0x101995['batch']['addOperation'](_0x7a7edc),_0x1cd1b1['model']['applyOperation'](_0x7a7edc);const _0xfca8f8=_0x7a7edc['splitPosition'],_0x2743f8=_0x7a7edc['moveTargetPosition'];this['markInsertion'](_0x1cd1b1['model']['createRange'](_0xfca8f8,_0x2743f8));break;}case'move':case'remove':_0x101995['batch']['addOperation'](_0x7a7edc),_0x1cd1b1['model']['applyOperation'](_0x7a7edc);}}for(const _0x1d39b8 of _0x1279ad)_0x1d39b8['detach'](),this['markDeletion'](_0x1d39b8);});}['_setSuggestionRange'](_0xce2f26,_0x24c119){const _0x4e41b1=_0xce2f26['getFirstMarker']();this['_model']['change'](_0x3af9bb=>{_0x3af9bb['updateMarker'](_0x4e41b1,{'range':_0x24c119});});}['_addThreadToSuggestion'](_0x3882c3){const _0xe61308=_0x3882c3['id'],_0x4b16f8=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0xe61308)||this['_commentsRepository']['addCommentThread']({'channelId':_0x4b16f8,'threadId':_0xe61308,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x92773a=this['_commentsRepository']['getCommentThread'](_0xe61308);_0x92773a['unbind']('isRemovable'),_0x92773a['isRemovable']=!0x1,_0x3882c3['commentThread']=_0x92773a;}['_checkSuggestionCorrectness'](_0x247b29,_0x441fff,_0x5dcd06,_0x310398){if(_0x247b29['type']!=_0x441fff||_0x247b29['subType']!=_0x5dcd06||_0x247b29['creator']['id']!=_0x310398)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new ckeditor5['CKEditorError']('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x34835c,_0x118a4a){const _0x5715dc=_0x34835c['getFirstRange']();if(_0x118a4a['isEqual'](_0x5715dc))_0x34835c['removeMarkers']();else{if(_0x5715dc['containsRange'](_0x118a4a)){const _0x3c9c5e=this['_model']['createPositionAt'](_0x118a4a['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x34835c,this['_model']['createRange'](_0x5715dc['start'],_0x3c9c5e));const _0x3f0ca8=ckeditor5['uid'](),_0x22923d=_0x34835c['creator']['id'],_0x46303f=_0x34835c['type']+':'+_0x34835c['subType'];this['_setSuggestionData']({'id':_0x3f0ca8,'type':_0x46303f,'createdAt':new Date(),'authorId':_0x22923d,'data':_0x34835c['data'],'attributes':_0x34835c['attributes']});const _0x27fce8=this['_model']['createPositionAt'](_0x118a4a['end']['parent'],'after'),_0x4548af=this['_model']['createRange'](_0x27fce8,_0x5715dc['end']);this['_addSuggestionMarker'](_0x46303f,_0x3f0ca8,_0x22923d,_0x4548af);}else{if(_0x5715dc['containsPosition'](_0x118a4a['start'])){const _0x48d2ae=this['_model']['createPositionAt'](_0x118a4a['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x34835c,this['_model']['createRange'](_0x5715dc['start'],_0x48d2ae));}else{const _0x1af9cc=this['_model']['createPositionAt'](_0x118a4a['end']['parent'],'after');this['_setSuggestionRange'](_0x34835c,this['_model']['createRange'](_0x1af9cc,_0x5715dc['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x24ac68){for(const {suggestion:_0x96910e,meta:_0x576e38}of this['_findSuggestions'](_0x24ac68,'insertion')){if(!_0x576e38['isOwn'])continue;const _0x4c09fd=_0x96910e['getRanges']();for(const _0x24c1f6 of _0x4c09fd)if(!_0x24ac68['getDifference'](_0x24c1f6)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x120c1f){return this['editor']['plugins']['get']('Users')['getUser'](_0x120c1f);}['_getExternalAuthor'](_0x29dcdb){const _0x568617=this['editor']['plugins']['get']('Users'),_0x530926=hashObject('external:'+_0x29dcdb),_0x1116ad=_0x568617['getUser'](_0x530926);return _0x1116ad||_0x568617['addUser']({'id':_0x530926,'name':_0x29dcdb});}['_createSuggestion'](_0x69152f,_0x1e6967,_0x2d3be0,_0x5028af,_0xf5bc88,_0x24076d){const _0x18b614=this['_getAuthorFromId'](_0x5028af);if(!_0x18b614)throw new ckeditor5['CKEditorError']('track-changes-user-not-found',this,{'authorId':_0x5028af,'suggestionId':_0x2d3be0});const _0x54c818=this['_suggestionFactory']['buildSuggestion'](_0x69152f,_0x1e6967,_0x2d3be0,_0x18b614,_0xf5bc88,_0xda34b4=>{this['_updateSuggestionData'](_0x2d3be0,{'attributes':_0xda34b4});const _0x5de9fd=this['getSuggestion'](_0x2d3be0);this['_joinWithAdjacentSuggestions'](new Set([_0x5de9fd])),this['_refreshSuggestionsChain'](new Set([_0x5de9fd]));},_0x24076d);return this['listenTo'](_0x54c818,'accept',()=>{this['_updateSuggestionData'](_0x2d3be0,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x54c818,'discard',()=>{this['_updateSuggestionData'](_0x2d3be0,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0x2d3be0,_0x54c818),this['_suggestionState']['set'](_0x54c818,'notReady'),_0x54c818;}['_breakSuggestionMarker'](_0x4f0550,_0xca1f4d,_0xcdabc8){const _0x56e752=_0x4f0550['getFirstRange'](),_0x35b161=_0x56e752['start'],_0x378de=_0x56e752['end'];this['_setSuggestionRange'](_0x4f0550,this['_model']['createRange'](_0x35b161,_0xca1f4d));const _0x1f179d=ckeditor5['uid'](),_0x52f0fc=_0x4f0550['creator']['id'],_0x1972af=_0x4f0550['type']+(_0x4f0550['subType']?':'+_0x4f0550['subType']:'');this['_setSuggestionData']({'id':_0x1f179d,'type':_0x1972af,'createdAt':new Date(),'authorId':_0x52f0fc,'originalSuggestionId':_0x4f0550['_originalSuggestionId']||_0x4f0550['id'],'attributes':_0x4f0550['attributes'],'data':_0x4f0550['data']});const _0x1e9052=this['_getAttributeKey'](_0x4f0550);('formatBlock'==_0x4f0550['type']||_0x1e9052&&this['_suggestionsConversion']['isBlockAttribute'](_0x1e9052))&&(_0xcdabc8=this['_model']['createPositionBefore'](_0xcdabc8['parent'])),this['_addSuggestionMarker'](_0x1972af,_0x1f179d,_0x52f0fc,this['_model']['createRange'](_0xcdabc8,_0x378de));}['_findSuggestions'](_0x1e82db,_0x38393e=null){const _0x428e46=[],_0x3139b5=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x1e82db)||(_0x1e82db=[_0x1e82db]);for(const _0xa029a5 of this['getSuggestions']()){if(!_0xa029a5['isInContent'])continue;if(_0x38393e&&_0xa029a5['type']!=_0x38393e)continue;let _0x403395=!0x1;for(const _0x54e0b7 of _0xa029a5['getRanges']()){for(const _0x59f10f of _0x1e82db){const _0x36cc5a=_0x59f10f['start']['isEqual'](_0x54e0b7['end'])||_0x59f10f['end']['isEqual'](_0x54e0b7['start']);if(_0x36cc5a||_0x59f10f['getIntersection'](_0x54e0b7)){const _0x45cf47=_0x59f10f['containsRange'](_0x54e0b7)&&_isInObject(this['_model']['schema'],_0x54e0b7['start'],_0x59f10f),_0x40b46a=_0x54e0b7['containsRange'](_0x59f10f)&&_isInObject(this['_model']['schema'],_0x59f10f['start'],_0x54e0b7);_0x428e46['push']({'suggestion':_0xa029a5,'meta':{'isOwn':_0x3139b5==_0xa029a5['author'],'isNextTo':_0x36cc5a,'isInsideObject':_0x45cf47,'containsRangeInObject':_0x40b46a}}),_0x403395=!0x0;break;}}if(_0x403395)break;}}return _0x428e46;}['_addSuggestionMarker'](_0xecc5b8,_0x21e49c,_0x4837e2,_0x3b0b5a,_0x49187d){this['_model']['change'](_0xe2e7c3=>{let _0xd36282='suggestion:'+_0xecc5b8+':'+_0x21e49c+':'+_0x4837e2;_0x49187d&&(_0xd36282=_0xd36282+':'+_0x49187d),_0xe2e7c3['addMarker'](_0xd36282,{'range':_0x3b0b5a,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x582863){const _0x9d732=_0x582863['previous'],_0x1d14c4=_0x582863['next'];_0x582863['previous']=null,_0x582863['next']=null,null!=_0x9d732&&_0x9d732['next']==_0x582863&&(_0x9d732['next']=_0x1d14c4),null!=_0x1d14c4&&_0x1d14c4['previous']==_0x582863&&(_0x1d14c4['previous']=_0x9d732),'ready'==this['_suggestionState']['get'](_0x582863)&&(this['_suggestionState']['set'](_0x582863,'removed'),this['fire']('suggestionUnloaded',_0x582863,_0x9d732,_0x1d14c4));}['_setSuggestionData'](_0x217e03){const _0x24c1fb=_0x217e03['id'],_0xfcc4dd=this['addSuggestionData'](_0x217e03);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x5b7092=this['editor']['plugins']['get']('PendingActions'),_0x46c8f0=_0xfcc4dd['hasComments'],_0x21e078=_0xfcc4dd['subType']?_0xfcc4dd['type']+':'+_0xfcc4dd['subType']:_0xfcc4dd['type'],_0x30d941=this['editor']['locale'],_0x195b8c=_0x5b7092['add'](getTranslation$5(_0x30d941,'PENDING_ACTION_SUGGESTION')),_0x29278e={'id':_0x24c1fb,'type':_0x21e078,'hasComments':_0x46c8f0,'data':_0x217e03['data']||null,'originalSuggestionId':_0x217e03['originalSuggestionId']||null,'attributes':_0xfcc4dd['attributes']};this['_adapter']['addSuggestion'](_0x29278e)['then'](_0x4d28a9=>{_0xfcc4dd['_saved']=!0x0,_0x5b7092['remove'](_0x195b8c),_0x4d28a9&&_0x4d28a9['createdAt']&&(this['_suggestions']['get'](_0x24c1fb)['createdAt']=_0x4d28a9['createdAt']);})['catch'](_0x4b48ea=>{throw ckeditor5['logWarning']('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0xfcc4dd['discard']();}),_0xfcc4dd['stopListening'](),this['_suggestions']['delete'](_0xfcc4dd['id']),this['_suggestionState']['delete'](_0xfcc4dd),_0x4b48ea;});}return _0xfcc4dd;}['_updateSuggestionData'](_0x2b3057,_0x55150d){const _0x2edb86=this['editor']['plugins']['get']('PendingActions'),_0x1b3e28=this['getSuggestion'](_0x2b3057);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0x1b3e28['_saved']){const _0x346255=_0x2edb86['add'](getTranslation$5(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x2b3057,_0x55150d)['then'](()=>{_0x2edb86['remove'](_0x346255);});}else _0x1b3e28['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x2b3057,_0x55150d);});}}['_getSuggestionData'](_0x48cc97){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new ckeditor5['CKEditorError']('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0x48cc97);}['_handleNewSuggestionMarker'](_0xf4cad2){const {id:_0x39f6f1,type:_0x4b2638,subType:_0x4dc782,authorId:_0x586c4a}=splitSuggestionMarkerName(_0xf4cad2),_0x5873fe=this['_suggestions']['get'](_0x39f6f1)||this['_createSuggestion'](_0x4b2638,_0x4dc782,_0x39f6f1,_0x586c4a,{});switch(this['_checkSuggestionCorrectness'](_0x5873fe,_0x4b2638,_0x4dc782,_0x586c4a),this['_suggestionState']['get'](_0x5873fe)){case'notReady':this['_getSuggestionData'](_0x39f6f1)['then'](_0xd42fc=>{let _0x11f36f=Promise['resolve']();_0xd42fc['hasComments']&&(_0x11f36f=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x39f6f1})),_0x11f36f['then'](()=>{this['addSuggestionData'](_0xd42fc)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x5873fe,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x39f6f1,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x5873fe,'ready'),this['fire']('suggestionLoaded',_0x5873fe);break;case'ready':this['fire']('suggestionChanged',_0x5873fe);}return _0x5873fe['addMarkerName'](_0xf4cad2),_0x5873fe;}['_refreshSuggestionsChain'](_0x657cdf){const _0x376e67=Array['from'](_0x657cdf),_0x2e9111=_0x376e67['filter'](_0x407260=>'attribute'==_0x407260['type']);this['_refreshAttributeSuggestionsChain'](_0x2e9111);const _0x5e5fc7=_0x376e67['filter'](_0x4c26e2=>!_0x4c26e2['isMultiRange']&&'attribute'!=_0x4c26e2['type']),_0x50c9fd=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x4cd88a=>!_0x4cd88a['isMultiRange']&&'attribute'!=_0x4cd88a['type']),_0x4b768e=_0x50c9fd['filter'](_0x128e16=>!_0x657cdf['has'](_0x128e16)),_0x441c71=new Map(_0x50c9fd['map'](_0x1d0a26=>[_0x1d0a26,this['_suggestionFactory']['getSuggestionCallback'](_0x1d0a26['type'],_0x1d0a26['subType'],'chain')])),_0x2eb201=new Map(_0x50c9fd['map'](_0x5e9489=>[_0x5e9489,_0x5e9489['getFirstRange']()])),_0x348b57=new Set(),_0x33791b=new Set();for(let _0x47410f=0x0;_0x47410f<_0x5e5fc7['length'];_0x47410f++)_0x253de7(_0x5e5fc7[_0x47410f],_0x5e5fc7,_0x47410f+0x1);for(let _0x337ebe=0x0;_0x337ebe<_0x5e5fc7['length'];_0x337ebe++)_0x253de7(_0x5e5fc7[_0x337ebe],_0x4b768e,0x0);const _0x5a7ed9=new Set();for(let _0x10bbe6=0x0;_0x10bbe6<_0x5e5fc7['length'];_0x10bbe6++){const _0xb2e161=_0x5e5fc7[_0x10bbe6];!_0x33791b['has'](_0xb2e161)&&_0xb2e161['previous']&&(_0x5a7ed9['add'](_0xb2e161['previous']),_0xb2e161['previous']['next']===_0xb2e161&&(_0xb2e161['previous']['next']=null),_0xb2e161['previous']=null),!_0x348b57['has'](_0xb2e161)&&_0xb2e161['next']&&(_0x5a7ed9['add'](_0xb2e161['next']),_0xb2e161['next']['previous']===_0xb2e161&&(_0xb2e161['next']['previous']=null),_0xb2e161['next']=null);}function _0x253de7(_0x52b43e,_0x141a4e,_0x5f26a9){for(let _0x53e7d0=_0x5f26a9;_0x53e7d0<_0x141a4e['length'];_0x53e7d0++){const _0x4fa6b5=_0x4ef68b(_0x52b43e,_0x141a4e[_0x53e7d0]);_0x4fa6b5&&(_0x4fa6b5[0x0]['next']=_0x4fa6b5[0x1],_0x4fa6b5[0x1]['previous']=_0x4fa6b5[0x0],_0x348b57['add'](_0x4fa6b5[0x0]),_0x33791b['add'](_0x4fa6b5[0x1]));}}function _0x4ef68b(_0x5b27c6,_0x142cab){if(_0x5b27c6['author']['id']!==_0x142cab['author']['id'])return null;const _0x1c53bf=_0x441c71['get'](_0x5b27c6)(_0x5b27c6,_0x142cab,_0x2eb201['get'](_0x5b27c6),_0x2eb201['get'](_0x142cab));if(!_0x1c53bf)return null;return _0x441c71['get'](_0x142cab)(_0x5b27c6,_0x142cab,_0x2eb201['get'](_0x5b27c6),_0x2eb201['get'](_0x142cab))?_0x1c53bf[0x1]['commentThread']&&_0x1c53bf[0x1]['commentThread']['length']?null:_0x1c53bf:null;}_0x5a7ed9['size']&&this['_refreshSuggestionsChain'](_0x5a7ed9);}['_refreshAttributeSuggestionsChain'](_0x4777bb){if(0x0==_0x4777bb['length'])return;const _0x4121ce=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x3adccf=>'attribute'==_0x3adccf['type']&&_0x3adccf['_isDataLoaded']),_0x18810b=[],_0x45f60e=new Map();for(const _0x366f30 of _0x4121ce){const _0x372924=hashObject(_0x366f30['attributes']);_0x45f60e['has'](_0x372924)||(_0x45f60e['set'](_0x372924,_0x18810b['length']),_0x18810b['push']([]));const _0xd30a1f=_0x45f60e['get'](_0x372924);_0x18810b[_0xd30a1f]['push'](_0x366f30);}!(function(){_0x18810b['sort']((_0x1bd831,_0x2ca718)=>{const _0x53ad66=_0x1bd831[0x0]['createdAt'],_0x462e2d=_0x2ca718[0x0]['createdAt'];return _0x53ad66==_0x462e2d?_0x1bd831[0x0]['attributes']['groupId']<_0x2ca718[0x0]['attributes']['groupId']?-0x1:0x1:_0x53ad66<_0x462e2d?-0x1:0x1;});for(const _0x10c7cf of _0x18810b)_0x10c7cf['sort']((_0x4574a6,_0x242f97)=>_0x4574a6['id']<_0x242f97['id']?-0x1:0x1);}());for(let _0x1498ef=0x0;_0x1498ef<_0x18810b['length'];_0x1498ef++){if(0x0==_0x18810b[_0x1498ef]['length'])continue;const _0x382622=[];for(let _0xd20667=_0x1498ef+0x1;_0xd20667<_0x18810b['length'];_0xd20667++)0x0!=_0x18810b[_0xd20667]['length']&&_0x54ba7f(_0x18810b[_0x1498ef],_0x18810b[_0xd20667])&&_0x382622['push'](_0xd20667);for(const _0x1c9733 of _0x382622)_0x18810b[_0x1498ef]=_0x18810b[_0x1498ef]['concat'](_0x18810b[_0x1c9733]),_0x18810b[_0x1c9733]=[];}for(const _0xcb0acb of _0x18810b)for(let _0x582f42=0x0;_0x582f42<_0xcb0acb['length'];_0x582f42++){const _0x21bdb8=_0xcb0acb[_0x582f42+0x1]||null;_0xcb0acb[_0x582f42]['next']!==_0x21bdb8&&(_0xcb0acb[_0x582f42]['next']=_0x21bdb8);}for(const _0x27b9cb of _0x18810b)for(let _0x15cc4d=0x0;_0x15cc4d<_0x27b9cb['length'];_0x15cc4d++){const _0x4e0d62=_0x27b9cb[_0x15cc4d-0x1]||null;_0x27b9cb[_0x15cc4d]['previous']!==_0x4e0d62&&(_0x27b9cb[_0x15cc4d]['previous']=_0x4e0d62);}function _0x54ba7f(_0x3ce663,_0x58857e){if(_0x3ce663[0x0]['attributes']['groupId']!==_0x58857e[0x0]['attributes']['groupId']&&_0x3ce663[0x0]['author']!==_0x58857e[0x0]['author'])return!0x1;if(!function(_0x1d7b2d,_0x4dd711){if(!_0x1d7b2d['hasComments']&&!_0x4dd711['hasComments'])return!0x0;if(_0x1d7b2d['hasComments']&&_0x4dd711['hasComments'])return!0x1;if(_0x1d7b2d['hasComments']&&_0x4dd711['createdAt']<_0x1d7b2d['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;if(_0x4dd711['hasComments']&&_0x1d7b2d['createdAt']<_0x4dd711['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x3ce663[0x0],_0x58857e[0x0]))return!0x1;if(!_0x541aea(omit(_0x3ce663[0x0]['attributes'],['groupId','trackingSessionId']),omit(_0x58857e[0x0]['attributes'],['groupId','trackingSessionId'])))return!0x1;if(_0x3ce663[0x0]['attributes']['groupId']==_0x58857e[0x0]['attributes']['groupId'])return!0x0;if(_0x3ce663[0x0]['attributes']['trackingSessionId']!==_0x58857e[0x0]['attributes']['trackingSessionId'])return!0x1;return!!_0x3ce663['every'](_0x1674cf=>_0x58857e['some'](_0x2b9af1=>_0x1674cf['getFirstRange']()['isEqual'](_0x2b9af1['getFirstRange']())))&&_0x58857e['every'](_0x1f00c7=>_0x3ce663['some'](_0x1dbb33=>_0x1f00c7['getFirstRange']()['isEqual'](_0x1dbb33['getFirstRange']())));}}['_joinWithAdjacentSuggestions'](_0x2b17be){const _0x41d87=Array['from'](_0x2b17be),_0x57d752=this['getSuggestions']({'skipNotAttached':!0x0}),_0x29749c=_0x57d752['filter'](_0x2d482b=>!_0x2b17be['has'](_0x2d482b)),_0x96bca3=new Map(_0x41d87['map'](_0x1d38d5=>[_0x1d38d5,this['_suggestionFactory']['getSuggestionCallback'](_0x1d38d5['type'],_0x1d38d5['subType'],'join')])),_0x1404cb=new Map(_0x57d752['map'](_0x31a1dc=>[_0x31a1dc,_0x31a1dc['getRanges']()]));for(let _0x50a64d=0x0;_0x50a64d<_0x41d87['length'];_0x50a64d++){if(_0x5b0950(this,_0x41d87[_0x50a64d],_0x41d87,_0x50a64d+0x1))return!0x0;}for(let _0x48b04b=0x0;_0x48b04b<_0x41d87['length'];_0x48b04b++){if(_0x5b0950(this,_0x41d87[_0x48b04b],_0x29749c,0x0))return!0x0;}return!0x1;function _0x5b0950(_0x2755c9,_0x147eea,_0x4d224c,_0x328dcd){for(let _0x1ce94c=_0x328dcd;_0x1ce94c<_0x4d224c['length'];_0x1ce94c++){const _0x31040f=_0x4d224c[_0x1ce94c];if(_0x31040f['type']!==_0x147eea['type']||_0x31040f['author']['id']!==_0x147eea['author']['id']||_0x31040f['subType']!==_0x147eea['subType'])continue;if(!_haveSameAttributes(_0x147eea,_0x31040f))continue;if('attribute'==_0x147eea['type']&&_0x147eea['data']['oldValue']!=_0x31040f['data']['oldValue'])continue;if('attribute'==_0x147eea['type']&&_0x2755c9['_suggestionsConversion']['isBlockAttribute'](_0x147eea['data']['key']))continue;if('formatBlock'==_0x147eea['type']){const _0x45f057=_0x2755c9['editor']['model'],_0xad5689=_0x147eea['getContainedElement']();if(_0xad5689&&(_0x45f057['schema']['isObject'](_0xad5689)||_0x45f057['schema']['isLimit'](_0xad5689)))continue;}const _0x517a4d=_0x96bca3['get'](_0x147eea),_0x10b245=_0x1404cb['get'](_0x147eea),_0x4e889b=_0x1404cb['get'](_0x31040f),_0x3c3e3c=_0x147eea['commentThread']&&_0x147eea['commentThread']['length'],_0x346c14=_0x31040f['commentThread']&&_0x31040f['commentThread']['length'];if(!_0x3c3e3c&&_0x517a4d(_0x4e889b,_0x10b245))return _0x2755c9['_joinSuggestions'](_0x31040f,_0x147eea),_0x1404cb['delete'](_0x147eea),!0x0;if(!_0x346c14&&_0x517a4d(_0x10b245,_0x4e889b))return _0x2755c9['_joinSuggestions'](_0x147eea,_0x31040f),_0x1404cb['delete'](_0x31040f),!0x0;}return!0x1;}}['_joinSuggestions'](_0x403162,_0x493916){if(_0x403162['isMultiRange']){for(const _0x171936 of _0x493916['getRanges']())_0x403162['addRange'](_0x171936);}else{const _0x1ed2a4=_0x493916['getFirstRange']()['end'];this['_setSuggestionRange'](_0x403162,this['_model']['createRange'](_0x403162['getFirstRange']()['start'],_0x1ed2a4));}_0x493916['removeMarkers']();}['_getMarkerAnnouncementText'](_0x374c30,_0x48f762,_0x572b5f){const _0x5a85b3=_0x374c30['startsWith']('format')||_0x374c30['startsWith']('attribute')?'FORMATTING':_0x374c30['toUpperCase']();return getTranslation$5(this['editor']['locale'],_0x48f762+'_'+_0x5a85b3+'_SUGGESTION_ANNOUNCEMENT',_0x572b5f);}['_initAriaMarkerChangeAnnouncements'](){const _0x3b3573=this['editor'];if(!_0x3b3573['ui'])return;const {ariaLiveAnnouncer:_0x29f0ea}=_0x3b3573['ui'];surroundingMarkersDetector(this['_model'],({left:_0x264b1d,entered:_0x12ca9c})=>{for(const _0x58e58c of _0x264b1d){const {group:_0x301844,type:_0x106dda}=splitSuggestionMarkerName(_0x58e58c['name']);if('suggestion'===_0x301844){_0x29f0ea['announce'](this['_getMarkerAnnouncementText'](_0x106dda,'LEAVE'));break;}}for(const _0x2da3c2 of _0x12ca9c){const {group:_0x207625,type:_0x78b00f}=splitSuggestionMarkerName(_0x2da3c2['name']);if('suggestion'===_0x207625){_0x29f0ea['announce'](this['_getMarkerAnnouncementText'](_0x78b00f,'ENTER',ckeditor5['getEnvKeystrokeText'](_0x4ec363)));break;}}});}['_processAttributeChanges'](_0x5ab268){if(this['_recordAttributeSuggestions'])return!0x1;const _0x57de7f=this['editor'],_0x38530e=_0x57de7f['model']['document']['differ']['getChanges']();if(0x0==_0x38530e['length'])return!0x1;const _0x1e55bf=[],_0xe33a6f=_0x38530e['filter'](_0x23db8b=>'attribute'==_0x23db8b['type']),_0x189eec=_0x38530e['filter'](_0x303ec2=>'insert'==_0x303ec2['type']&&'$text'!=_0x303ec2['name']),_0x423469=_0x38530e['filter'](_0x12e020=>'remove'==_0x12e020['type']&&'$text'!=_0x12e020['name']);for(const _0x2186ea of _0xe33a6f)_0x1e55bf['push']({'key':_0x2186ea['attributeKey'],'newValue':_0x2186ea['attributeNewValue'],'oldValue':_0x2186ea['attributeOldValue'],'range':fixAttributeSuggestionRange(_0x2186ea['range'],_0x57de7f['model'])});for(const _0x25c807 of _0x189eec){const _0x1cba24=_0x423469['find'](_0x3dfc5c=>_0x3dfc5c['position']['isEqual'](_0x25c807['position']));_0x1cba24&&_0x1e55bf['push']({'key':renameAttributeKey,'newValue':_0x25c807['name'],'oldValue':_0x1cba24['name'],'range':_0x57de7f['model']['createRangeOn'](_0x25c807['position']['nodeAfter'])});}return 0x0!=_0x1e55bf['length']&&this['_reduceExistingSuggestions'](_0x5ab268,_0x1e55bf);}['_processAttributeSuggestions'](_0x5e5660){let _0x4e4e15=!0x1;const _0x104ce4=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x10e5cd=>_0x10e5cd['data']['newRange']&&_0x10e5cd['name']['startsWith']('suggestion:attribute:'));for(const _0x34c9a0 of _0x104ce4){const {subType:_0x12ca0b,id:_0x4d3c42}=splitSuggestionMarkerName(_0x34c9a0['name']),_0xca84c4=_0x12ca0b['split']('|')[0x0];for(const _0x4bb881 of this['getSuggestions']({'skipNotAttached':!0x0}))_0x4bb881['id']!=_0x4d3c42&&'attribute'==_0x4bb881['type']&&_0x4bb881['data']&&_0x4bb881['data']['key']==_0xca84c4&&_0x4bb881['getFirstRange']()['isIntersecting'](_0x34c9a0['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x4bb881,_0x34c9a0['data']['newRange'],_0x5e5660),_0x4e4e15=!0x0);}return _0x4e4e15;}['recordAttributeChanges'](_0x1390dd){this['_recordAttributeSuggestions']=!0x0,_0x1390dd();}['_reduceExistingSuggestions'](_0xeb5475,_0x526326){if(0x0==_0x526326['length'])return!0x1;let _0x435017=!0x1;for(const _0x4f3b92 of _0x526326){const _0x202a29=this['_findSuggestions'](_0x4f3b92['range'],'attribute')['filter'](_0x594272=>!_0x594272['meta']['isNextTo'])['map'](_0x4d8c5c=>_0x4d8c5c['suggestion']),_0x406cf8=hashObject({'newValue':_0x4f3b92['newValue']});_0x202a29['filter'](_0x3756c5=>{const [_0x4fe3bc,_0x3b7282]=_0x3756c5['subType']['split']('|');return _0x4fe3bc==_0x4f3b92['key']&&_0x3b7282!=_0x406cf8;})['forEach'](_0x476074=>{this['_reduceSuggestionAttributeRange'](_0x476074,_0x4f3b92['range'],_0xeb5475),_0x435017=!0x0;});}return _0x435017;}['_reduceSuggestionAttributeRange'](_0x445c95,_0x536b1f,_0x451874){const _0x221aa1=_0x445c95['getFirstRange']()['getDifference'](_0x536b1f);0x0!==_0x221aa1['length']?0x1!==_0x221aa1['length']?this['_breakSuggestionMarker'](_0x445c95,_0x536b1f['start'],_0x536b1f['end']):this['_setSuggestionRange'](_0x445c95,_0x221aa1[0x0]):_0x451874['removeMarker'](_0x445c95['getFirstMarker']());}}class SuggestionFactory{['_editor'];['_model'];['_customCallbacks'];['_defaultCallbacks'];constructor(_0x8316e){this['_editor']=_0x8316e,this['_model']=_0x8316e['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0x2675fd,_0x23815c,_0x33a516,_0x384e24,_0x5a72e4,_0x36b15e,_0x369123){return new Suggestion(this['_model'],{'type':_0x2675fd,'subType':_0x23815c,'id':_0x33a516,'originalSuggestionId':_0x369123,'author':_0x384e24,'creator':_0x384e24,'attributes':_0x5a72e4,'onAttributesChange':_0x36b15e,'onAccept':(..._0x4e1f11)=>this['getSuggestionCallback'](_0x2675fd,_0x23815c,'accept')(..._0x4e1f11),'onDiscard':(..._0x355c1d)=>this['getSuggestionCallback'](_0x2675fd,_0x23815c,'discard')(..._0x355c1d)});}['registerCustomCallback'](_0x56394f,_0x4d5f06,_0x4e7b51,_0x35f749){const _0x56e097=_0x56394f+':'+_0x4d5f06+':'+_0x4e7b51;this['_customCallbacks']['set'](_0x56e097,_0x35f749);}['getSuggestionCallback'](_0x5c093d,_0x2aea1c,_0x28994f){const _0x27fb27=_0x5c093d+':'+_0x2aea1c+':'+_0x28994f;return this['_customCallbacks']['get'](_0x27fb27)||this['_defaultCallbacks']['get'](_0x5c093d+':'+_0x28994f);}['_registerDefaultCallbacks'](){const _0x3df678=()=>!0x1,_0x34ca51=_0x1ab4c9=>{_0x1ab4c9['sort']((_0x1c319c,_0x3f4757)=>_0x1c319c['start']['isBefore'](_0x3f4757['start'])?0x1:-0x1),this['_model']['change'](_0x24b863=>{for(const _0x557066 of _0x1ab4c9){let _0x500bb1;_0x500bb1=_0x557066['end']['isAtEnd']&&_0x557066['end']['parent']==_0x557066['start']['nodeAfter']?_0x24b863['createSelection'](_0x557066['start']['nodeAfter'],'on'):_0x24b863['createSelection'](_0x557066),this['_model']['deleteContent'](_0x500bb1,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0x576d14=(_0x5c9cdb,_0x53b538)=>{_0x53b538&&this['_model']['change'](_0x55b4a0=>{const {commandName:_0x400ec5,commandParams:_0x9be2c2=[]}=_0x53b538,_0x483b3c=_0x5c9cdb['map'](_0x3ad2b8=>(_0x1ce934(_0x3ad2b8)&&(_0x3ad2b8=this['_model']['createRange'](_0x3ad2b8['end'])),_0x3ad2b8))['filter'](_0x433964=>'$graveyard'!==_0x433964['root']['rootName']);if(_0x483b3c['length']<0x1)return;const _0x52bc82=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x92874a=>ckeditor5['ModelLiveRange']['fromRange'](_0x92874a));_0x55b4a0['setSelection'](_0x483b3c);for(const _0xea87f0 of this['_editor']['commands']['commands']())_0xea87f0['refresh']();_0x9be2c2['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x400ec5,..._0x9be2c2);const _0x2ac78b=_0x52bc82['filter'](_0x2866d6=>'$graveyard'!=_0x2866d6['root']['rootName']);_0x2ac78b['length']>0x0&&_0x55b4a0['setSelection'](_0x2ac78b);for(const _0x375efd of _0x52bc82)_0x375efd['detach']();});},_0x3d7629=(_0x40f8e2,_0x4e87b7)=>0x1==_0x40f8e2['length']&&0x1==_0x4e87b7['length']&&_0x40f8e2[0x0]['end']['isEqual'](_0x4e87b7[0x0]['start']),_0x4a48b3=(_0x2f8748,_0xd9e015,_0x37b823,_0x12e693)=>canChainSuggestions(_0x2f8748,_0xd9e015,_0x37b823,_0x12e693)?[_0x2f8748,_0xd9e015]:canChainSuggestions(_0xd9e015,_0x2f8748,_0x12e693,_0x37b823)?[_0xd9e015,_0x2f8748]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x3df678),this['_defaultCallbacks']['set']('insertion:discard',_0x34ca51),this['_defaultCallbacks']['set']('insertion:join',_0x3d7629),this['_defaultCallbacks']['set']('insertion:chain',_0x4a48b3),this['_defaultCallbacks']['set']('deletion:accept',_0x34ca51),this['_defaultCallbacks']['set']('deletion:discard',_0x3df678),this['_defaultCallbacks']['set']('deletion:join',_0x3d7629),this['_defaultCallbacks']['set']('deletion:chain',_0x4a48b3),this['_defaultCallbacks']['set']('formatInline:accept',_0x576d14),this['_defaultCallbacks']['set']('formatInline:discard',_0x3df678),this['_defaultCallbacks']['set']('formatInline:join',_0x3d7629),this['_defaultCallbacks']['set']('formatInline:chain',_0x3df678),this['_defaultCallbacks']['set']('formatBlock:accept',_0x576d14),this['_defaultCallbacks']['set']('formatBlock:discard',_0x3df678),this['_defaultCallbacks']['set']('formatBlock:join',_0x3d7629),this['_defaultCallbacks']['set']('formatBlock:chain',_0x3df678),this['_defaultCallbacks']['set']('attribute:accept',_0x3df678),this['_defaultCallbacks']['set']('attribute:discard',(_0x320bdb,_0x306f07)=>{if(!_0x306f07)return;const _0x5d2122=this['_editor']['plugins']['get'](SuggestionsConversion);this['_model']['change'](_0x2edc8a=>{if(_0x306f07['key']==renameAttributeKey)for(const _0x6230dd of _0x320bdb){const _0x5f1c77=_0x6230dd['start']['nodeAfter'],_0x4d6f9d=_0x306f07['oldValue'];_0x2edc8a['rename'](_0x5f1c77,_0x4d6f9d);}else{if(_0x5d2122['isBlockAttribute'](_0x306f07['key'])){for(const _0x3e1bc0 of _0x320bdb)void 0x0!==_0x306f07['oldValue']?_0x2edc8a['setAttribute'](_0x306f07['key'],_0x306f07['oldValue'],_0x3e1bc0['start']['nodeAfter']):_0x2edc8a['removeAttribute'](_0x306f07['key'],_0x3e1bc0['start']['nodeAfter']);}else{for(const _0xbaa56a of _0x320bdb)_0x306f07['oldValue']?_0x2edc8a['setAttribute'](_0x306f07['key'],_0x306f07['oldValue'],_0xbaa56a):_0x2edc8a['removeAttribute'](_0x306f07['key'],_0xbaa56a);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0x3d7629);}}function getIntersectionsWithMultipleRanges(_0x385782,_0x221d45){const _0x10838b=[];for(const _0xecbee9 of _0x221d45){const _0x3492c2=_0x385782['getIntersection'](_0xecbee9);_0x3492c2&&_0x10838b['push'](_0x3492c2);}return _0x10838b;}function getDifferencesWithMultipleRanges(_0x342a70,_0x6eef){const _0xca1cb6=[_0x342a70];for(const _0x2b1c62 of _0x6eef){let _0x5b2d16=0x0;for(;_0x5b2d16<_0xca1cb6['length'];){const _0x15f180=_0xca1cb6[_0x5b2d16]['getDifference'](_0x2b1c62);_0xca1cb6['splice'](_0x5b2d16,0x1,..._0x15f180),_0x5b2d16+=_0x15f180['length'];}}return _0xca1cb6;}function _isInObject(_0x5af48e,_0x418716,_0x817e1b){for(const _0x5a198f of _0x418716['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x5a198f['root']==_0x5a198f)return!0x1;if(!_0x817e1b['containsItem'](_0x5a198f))return!0x1;if(_0x5af48e['isObject'](_0x5a198f)||_0x5af48e['isLimit'](_0x5a198f))return!0x0;}return!0x1;}function _0x1ce934(_0x3231df){return _0x3231df['end']['parent']==_0x3231df['start']['nodeAfter']&&_0x3231df['end']['isAtStart'];}function _0x4a03b2(_0x19beb1){return _0x19beb1['start']['parent']==_0x19beb1['end']['nodeBefore']&&_0x19beb1['start']['isAtEnd'];}function trimFormatInlineSuggestionRange(_0x53b534,_0xb38a26,_0x5c3cfd,_0x5caf2f){const _0x5d6754=_0x1a4401=>!_0x1a4401['item']['is']('$textProxy')&&!_0x5caf2f['isObject'](_0x1a4401['item']),_0x4d09c5=_0x53b534['start']['getLastMatchingPosition'](_0x5d6754),_0x43e196=_0x53b534['end']['getLastMatchingPosition'](_0x5d6754,{'direction':'backward'});return(!_0x53b534['start']['isEqual'](_0x4d09c5)||!_0x53b534['end']['isEqual'](_0x43e196))&&(_0x4d09c5['isBefore'](_0x43e196)?_0x5c3cfd['updateMarker'](_0xb38a26,{'range':_0x5c3cfd['createRange'](_0x4d09c5,_0x43e196)}):_0x5c3cfd['removeMarker'](_0xb38a26),!0x0);}function createFormatSubType(_0x18aef9){return hashObject(_0x18aef9);}function isCorrectFormatBlockSuggestionRange(_0x12cc60){const _0x26796f=_0x12cc60['start']['nodeAfter'];return _0x26796f&&_0x26796f['is']('element');}function isEmptyRange(_0x3101f2){return _0x1ce934(_0x3101f2)||_0x4a03b2(_0x3101f2);}function isIntersectingWithOtherMarkers(_0x4f8a98,_0x2ab106){try{const _0x442ce2=_0x4f8a98['getRange']();for(const _0x2485ac of _0x2ab106)if(_0x4f8a98!==_0x2485ac&&_0x442ce2&&_0x442ce2['isIntersecting'](_0x2485ac['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function fixAttributeSuggestionRange(_0x155279,_0x1d8279){return null==_0x155279['end']['nodeBefore']&&_0x155279['end']['parent']==_0x155279['start']['nodeAfter']?createBlockFormatRangeForElement(_0x155279['start']['nodeAfter'],_0x1d8279):_0x155279;}function createBlockFormatRangeForElement(_0x354f1e,_0x19eaa8){const _0x11743b=_0x19eaa8['schema']['isObject'](_0x354f1e)||_0x19eaa8['schema']['isSelectable'](_0x354f1e);return _0x19eaa8['createRange'](_0x19eaa8['createPositionAt'](_0x354f1e,'before'),_0x11743b?_0x19eaa8['createPositionAfter'](_0x354f1e):_0x19eaa8['createPositionAt'](_0x354f1e,'end'));}function canChainSuggestions(_0x1162ac,_0x12877b,_0x3c68d5,_0x5e013d){return!!_haveSameAttributes(_0x1162ac,_0x12877b)&&_0x3c68d5['end']['isEqual'](_0x5e013d['start']);}function _haveSameAttributes(_0x51e456,_0x4485a4){if(!_0x51e456['_isDataLoaded']||!_0x4485a4['_isDataLoaded'])return!0x1;const _0x56a75c=new Set(Object['keys'](_0x51e456['attributes'])),_0x12f0cd=new Set(Object['keys'](_0x4485a4['attributes']));if(_0x56a75c['delete']('groupId'),_0x12f0cd['delete']('groupId'),0x0==_0x56a75c['size']&&0x0==_0x12f0cd['size'])return!0x0;if(_0x56a75c['size']!=_0x12f0cd['size'])return!0x1;const _0x588b7f={..._0x51e456['attributes']},_0x3ed262={..._0x4485a4['attributes']};return delete _0x588b7f['groupId'],delete _0x3ed262['groupId'],JSON['stringify'](_0x588b7f)==JSON['stringify'](_0x3ed262);}function _areSimilarAttributes(_0xc676ee,_0x49b62a){const _0x367c5b=_cleanUpAttributes(_0xc676ee['attributes']),_0x30a79b=_cleanUpAttributes(_0x49b62a);if(!_0xc676ee['_isDataLoaded'])return!0x1;for(const _0x3481a9 of Object['keys'](_0x30a79b))if(!_0x541aea(_0x367c5b[_0x3481a9],_0x30a79b[_0x3481a9]))return!0x1;return!0x0;}function _cleanUpAttributes(_0x3aaa4e){const _0x567c52=Object['assign']({},_0x3aaa4e);return delete _0x567c52['skipNestingCheck'],delete _0x567c52['tablePasteChainId'],_0x567c52;}function _getAttributeKeyFromSubType(_0x51dbd6){return _0x51dbd6['split']('|')[0x0];}async function _0x2d66e2(_0x1f4b1f){const _0x3a0ff4=_0x1e149f([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]),_0x3b1877=window[_0x1e149f([0x44,0x61,0x74,0x65])][_0x1e149f([0x6e,0x6f,0x77])](),_0x184025=_0x1f4b1f[_0x1e149f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5624f6=new window[(_0x1e149f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cf1f5=>{_0x184025[_0x1e149f([0x6f,0x6e,0x63,0x65])](_0x1e149f([0x72,0x65,0x61,0x64,0x79]),_0x5cf1f5);}),_0x449654={[_0x1e149f([0x6b,0x74,0x79])]:_0x1e149f([0x45,0x43]),[_0x1e149f([0x75,0x73,0x65])]:_0x1e149f([0x73,0x69,0x67]),[_0x1e149f([0x63,0x72,0x76])]:_0x1e149f([0x50,0x2d,0x32,0x35,0x36]),[_0x1e149f([0x78])]:_0x1e149f([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]),[_0x1e149f([0x79])]:_0x1e149f([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]),[_0x1e149f([0x61,0x6c,0x67])]:_0x1e149f([0x45,0x53,0x32,0x35,0x36])},_0x2698eb=_0x184025[_0x1e149f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e149f([0x67,0x65,0x74])](_0x1e149f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5dcdc1=await(async function(){let _0xd376b8,_0x92306b=null,_0x1fee35=null;try{if(_0x2698eb==_0x1e149f([0x47,0x50,0x4c]))return _0x1e149f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd376b8=(function(){const _0x40fe09=_0x2698eb[_0x1e149f([0x73,0x70,0x6c,0x69,0x74])](_0x1e149f([0x2e]));if(0x3!=_0x40fe09[_0x1e149f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x28cd15=_0x40fe09[0x1];return _0x369e21(_0x28cd15);function _0x369e21(_0x5c8bd6){const _0x423849=_0x3907b9(_0x5c8bd6);return _0x423849&&_0x55f764()?_0x423849:null;function _0x55f764(){const _0x5188b5=_0x423849[_0x1e149f([0x6a,0x74,0x69])],_0x5480c7=window[_0x1e149f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5188b5[_0x1e149f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5188b5[_0x1e149f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b6ad6={..._0x423849,[_0x1e149f([0x6a,0x74,0x69])]:_0x5188b5[_0x1e149f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5188b5[_0x1e149f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b6ad6[_0x1e149f([0x76,0x63])],_0x434530(_0x2b6ad6)==_0x5480c7;}}}()),!_0xd376b8)return _0x1e149f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0xd376b8[_0x1e149f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1fee35=function(_0x4c7723,_0x37ab3e){return new window[(_0x1e149f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4870ea=>{if(_0x7ea0())return _0x4870ea(_0x1e149f([0x56,0x61,0x6c,0x69,0x64]));_0x287547(),_0x184025[_0x1e149f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e149f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x260fc3=!0x1;const _0xb9bb6b=ckeditor5['uid']();function _0x1d8dcb(_0x3322b9){return!!_0x3322b9&&(typeof _0x3322b9===_0x1e149f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3322b9===_0x1e149f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3322b9[_0x1e149f([0x74,0x68,0x65,0x6e])]===_0x1e149f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3322b9[_0x1e149f([0x63,0x61,0x74,0x63,0x68])]===_0x1e149f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x282afd(_0x3a3ebf){_0x211b62(_0x3a3ebf)[_0x1e149f([0x74,0x68,0x65,0x6e])](_0x29ff73=>{if(!_0x29ff73||_0x29ff73[_0x1e149f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e149f([0x6f,0x6b]))return _0x1e149f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x54ec31(_0x434530(_0xb9bb6b+_0x37ab3e))!=_0x29ff73[_0x1e149f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e149f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e149f([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e149f([0x74,0x68,0x65,0x6e])](_0x3af908=>(_0x1dee91(),_0x3af908),()=>{const _0x3ef10f=_0x3d750a();return null==_0x3ef10f?(_0x1dee91(),_0x1e149f([0x56,0x61,0x6c,0x69,0x64])):_0x1e149f(_0x3b1877-_0x3ef10f>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e149f([0x74,0x68,0x65,0x6e])](_0x4870ea)[_0x1e149f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4870ea(_0x1e149f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xae0966=0x36ee80;function _0x1dee91(){const _0x716391=_0x1e149f([0x6c,0x6c,0x63,0x74,0x2d])+_0x54ec31(_0x434530(_0x4c7723)),_0x1780a3=_0x6fb79e(_0x54ec31(window[_0x1e149f([0x4d,0x61,0x74,0x68])][_0x1e149f([0x63,0x65,0x69,0x6c])](_0x3b1877/_0xae0966)));window[_0x1e149f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e149f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x716391,_0x1780a3);}function _0x3d750a(){const _0x2d79cc=_0x1e149f([0x6c,0x6c,0x63,0x74,0x2d])+_0x54ec31(_0x434530(_0x4c7723)),_0x201f97=window[_0x1e149f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e149f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d79cc);return _0x201f97?window[_0x1e149f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6fb79e(_0x201f97),0x10)*_0xae0966:null;}function _0x211b62(_0x3266aa){return new window[(_0x1e149f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ebfd8,_0x41bca2)=>{_0x3266aa[_0x1e149f([0x74,0x68,0x65,0x6e])](_0x5ebfd8,_0x41bca2),window[_0x1e149f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x41bca2,0x1d4c0);});}}_0x184025[_0x1e149f([0x6f,0x6e])](_0x1e149f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12080a,_0x49a256)=>{if(_0x49a256[0x0]!=_0x4c7723)return _0x4870ea(_0x1e149f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x49a256[0x1]={..._0x49a256[0x1],[_0x1e149f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb9bb6b};},{[_0x1e149f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e149f([0x68,0x69,0x67,0x68])}),_0x184025[_0x1e149f([0x6f,0x6e])](_0x1e149f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x37c310=>{_0x1d8dcb(_0x37c310[_0x1e149f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x260fc3=!0x0,_0x282afd(_0x37c310[_0x1e149f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e149f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e149f([0x6c,0x6f,0x77])}),_0x5624f6[_0x1e149f([0x74,0x68,0x65,0x6e])](()=>{_0x260fc3||_0x4870ea(_0x1e149f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x7ea0(){return _0x184025[_0x1e149f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e149f([0x76,0x69,0x65,0x77])][_0x1e149f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e149f([0x61,0x75,0x74,0x6f]);}function _0x287547(){_0x184025[_0x1e149f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e149f([0x76,0x69,0x65,0x77])][_0x1e149f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e149f([0x61,0x75,0x74,0x6f]);}}(_0xd376b8[_0x1e149f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd376b8[_0x1e149f([0x6a,0x74,0x69])]));const _0x262ca=await(async function(){let _0x454f33=!0x0;try{const _0x419894=_0x2698eb[_0x1e149f([0x73,0x70,0x6c,0x69,0x74])](_0x1e149f([0x2e])),[_0x31729f,_0x841e8e,_0x1bf1d7]=_0x419894;return _0x4b862d(_0x31729f),await _0x4207bf(_0x31729f,_0x841e8e,_0x1bf1d7),_0x454f33;}catch{return!0x1;}function _0x4b862d(_0x491f9c){const _0x48acb0=_0x3907b9(_0x491f9c);_0x48acb0&&_0x48acb0[_0x1e149f([0x61,0x6c,0x67])]==_0x1e149f([0x45,0x53,0x32,0x35,0x36])||(_0x454f33=!0x1);}async function _0x4207bf(_0x2243b1,_0x41c6ff,_0x2f77ae){const _0x12f9c4=window[_0x1e149f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e149f([0x66,0x72,0x6f,0x6d])](_0x57c3e8(_0x2f77ae),_0x4d87b0=>_0x4d87b0[_0x1e149f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2843f5=new window[(_0x1e149f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e149f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2243b1+_0x1e149f([0x2e])+_0x41c6ff),_0x5a9791=window[_0x1e149f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e149f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a9791)return;const _0x32f3f0=await _0x5a9791[_0x1e149f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e149f([0x6a,0x77,0x6b]),_0x449654,{[_0x1e149f([0x6e,0x61,0x6d,0x65])]:_0x1e149f([0x45,0x43,0x44,0x53,0x41]),[_0x1e149f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e149f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e149f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a9791[_0x1e149f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e149f([0x6e,0x61,0x6d,0x65])]:_0x1e149f([0x45,0x43,0x44,0x53,0x41]),[_0x1e149f([0x68,0x61,0x73,0x68])]:{[_0x1e149f([0x6e,0x61,0x6d,0x65])]:_0x1e149f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x32f3f0,_0x12f9c4,_0x2843f5)||(_0x454f33=!0x1);}}());return _0x262ca?(function(){const _0x2f7cf2=_0xd376b8[_0x1e149f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2f7cf2)return!0x1;if(_0x2f7cf2[_0x1e149f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e149f([0x2a])))return!0x0;if(_0x2f7cf2[_0x1e149f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e149f([0x54,0x43])))return!0x0;if(_0x2f7cf2[_0x1e149f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e149f([0x52,0x54,0x43]))){if(_0xcacd6f(_0x1e149f([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&(_0x4334b3=_0x1e149f([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]),_0x184025[_0x1e149f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1e149f([0x67,0x65,0x74])](_0x4334b3))[_0x1e149f([0x73,0x74,0x61,0x74,0x65])]==_0x1e149f([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0xcacd6f(_0x1e149f([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]))||_0xcacd6f(_0x1e149f([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 _0x4334b3;return!0x1;}())?(function(){const _0x31f66e=[_0x1e149f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e149f([0x74,0x72,0x69,0x61,0x6c])][_0x1e149f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd376b8[_0x1e149f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3b1877/0x3e8:0x69cb0e80;return _0xd376b8[_0x1e149f([0x65,0x78,0x70])]<_0x31f66e;}())?_0x1e149f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x34a9e9=_0xd376b8[_0x1e149f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x34a9e9||0x0==_0x34a9e9[_0x1e149f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c55b9}=new URL(window[_0x1e149f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x34a9e9[_0x1e149f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c55b9))return!0x0;const _0x548b1a=_0x5c55b9[_0x1e149f([0x73,0x70,0x6c,0x69,0x74])](_0x1e149f([0x2e]));return _0x34a9e9[_0x1e149f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4124c2=>_0x4124c2[_0x1e149f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e149f([0x2a])))[_0x1e149f([0x6d,0x61,0x70])](_0x5b70c9=>_0x5b70c9[_0x1e149f([0x73,0x70,0x6c,0x69,0x74])](_0x1e149f([0x2e])))[_0x1e149f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x330b14=>_0x330b14[_0x1e149f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x548b1a[_0x1e149f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e149f([0x6d,0x61,0x70])](_0x4350bd=>Array(_0x548b1a[_0x1e149f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4350bd[_0x1e149f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e149f([0x66,0x69,0x6c,0x6c])](_0x4350bd[0x0]===_0x1e149f([0x2a])?_0x1e149f([0x2a]):'')[_0x1e149f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4350bd))[_0x1e149f([0x73,0x6f,0x6d,0x65])](_0xc1e23f=>_0x548b1a[_0x1e149f([0x65,0x76,0x65,0x72,0x79])]((_0x577736,_0x5948bf)=>_0xc1e23f[_0x5948bf]===_0x577736||_0xc1e23f[_0x5948bf]===_0x1e149f([0x2a])));}())?(_0xd376b8[_0x1e149f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e149f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x92306b=function(_0x3b3e27){const _0x3d34f9=new window[(_0x1e149f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3df94c=>setTimeout(_0x3df94c,0x93ecc)),_0x19c6dd=_0x5624f6[_0x1e149f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e149f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52518c=>{let _0x15343c=0x0;_0x184025[_0x1e149f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e149f([0x6f,0x6e])](_0x1e149f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x48cf03,_0x2d79c9)=>{_0x2d79c9[0x0][_0x1e149f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x15343c++,0x5e8==_0x15343c&&(_0x52518c(),_0x48cf03[_0x1e149f([0x6f,0x66,0x66])]());});})),_0x529a03=[_0x3d34f9,_0x19c6dd];return window[_0x1e149f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e149f([0x72,0x61,0x63,0x65])](_0x529a03)[_0x1e149f([0x74,0x68,0x65,0x6e])](()=>_0x3b3e27);}(_0x1e149f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x92306b&&_0x1fee35)return new window[(_0x1e149f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8616f3,_0x2834a2)=>{_0x92306b[_0x1e149f([0x74,0x68,0x65,0x6e])](_0x8616f3,_0x2834a2),_0x1fee35[_0x1e149f([0x74,0x68,0x65,0x6e])](_0x59db52=>{_0x59db52!=_0x1e149f([0x56,0x61,0x6c,0x69,0x64])&&_0x8616f3(_0x59db52);},_0x2834a2);});return _0x92306b||_0x1fee35||_0x1e149f([0x56,0x61,0x6c,0x69,0x64]);}())):_0x1e149f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e149f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e149f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1e149f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x3907b9(_0xf01380){return _0xf01380[_0x1e149f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e149f([0x65,0x79]))?JSON[_0x1e149f([0x70,0x61,0x72,0x73,0x65])](_0x57c3e8(_0xf01380)):null;}function _0x57c3e8(_0x3565bc){return window[_0x1e149f([0x61,0x74,0x6f,0x62])](_0x3565bc[_0x1e149f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e149f([0x2b]))[_0x1e149f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e149f([0x2f])));}function _0x434530(_0x158ef3){let _0x574457=0x1505;function _0x49ff99(_0x260772){for(let _0x30f009=0x0;_0x30f009<_0x260772[_0x1e149f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30f009++){const _0x42f310=_0x260772[_0x1e149f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x30f009);_0x574457=(_0x574457<<0x5)+_0x574457+_0x42f310,_0x574457&=_0x574457;}}return function _0x4f4b3b(_0x2282ad){Array[_0x1e149f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2282ad)?_0x2282ad[_0x1e149f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f4b3b):_0x2282ad&&typeof _0x2282ad==_0x1e149f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e149f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2282ad)[_0x1e149f([0x73,0x6f,0x72,0x74])]()[_0x1e149f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x521428,_0x4de11e])=>{_0x49ff99(_0x521428),_0x4f4b3b(_0x4de11e);}):_0x49ff99(window[_0x1e149f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2282ad));}(_0x158ef3),_0x574457>>>0x0;}function _0x54ec31(_0xbb22a1){return _0xbb22a1[_0x1e149f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e149f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e149f([0x30]));}function _0x6fb79e(_0x3059cd){return _0x3059cd[_0x1e149f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e149f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e149f([0x6a,0x6f,0x69,0x6e])]('');}function _0xcacd6f(_0x5b8754){return _0x184025[_0x1e149f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1e149f([0x68,0x61,0x73])](_0x5b8754);}function _0x2274ec(){}function _0x1e149f(_0x13f383){return _0x13f383['map'](_0x1ee1b4=>String['fromCharCode'](_0x1ee1b4))['join']('');}!function(_0x3a3358){const _0x1ab7f6=(function(){const _0x5c5195=window[_0x1e149f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e149f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e149f([0x6e,0x6f,0x77])]())[_0x1e149f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e149f([0x2e]),'');let _0x5be85d=_0x1e149f([0x52]);for(let _0x411343=0x0;_0x411343<_0x5c5195[_0x1e149f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x411343+=0x2){let _0x481904=window[_0x1e149f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c5195[_0x1e149f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x411343,_0x411343+0x2));_0x481904>=_0x3a0ff4[_0x1e149f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x481904-=_0x3a0ff4[_0x1e149f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5be85d+=_0x3a0ff4[_0x481904];}return _0x5be85d;}());_0x184025[_0x1ab7f6]=_0x1e149f([0x74,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3a3358,_0x3a3358!=_0x1e149f([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x5624f6,_0x184025[_0x1e149f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e149f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2274ec,_0x184025[_0x1e149f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e149f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2274ec,_0x184025[_0x1e149f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e149f([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x5dcdc1);}class SuggestionController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['model'];['view'];['commentThreadController'];['_editor'];['_acceptCommand'];['_discardCommand'];['_pendingAction'];constructor(_0x5d06df,_0x45d0e2,_0x1c8c5c,_0x26d1ed){super(),this['model']=_0x45d0e2,this['view']=_0x1c8c5c,this['commentThreadController']=_0x26d1ed,this['_editor']=_0x5d06df,this['_acceptCommand']=_0x5d06df['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x5d06df['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x5b47a3,_0x1ecb56)=>_0x5b47a3||_0x1ecb56),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x10dc69=>_0x10dc69&&this['_editor']['model']['canEditAt'](_0x45d0e2['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0x18d52e=>_0x18d52e&&this['_editor']['model']['canEditAt'](_0x45d0e2['getRanges']())),this['_pendingAction']=null,_0x1c8c5c['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x1c8c5c,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x1c8c5c,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x1c8c5c,'change:isDirty',()=>{_0x1c8c5c['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 _0x456744=getTranslation$5(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x456744);}['_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(_0x4f2a2a,_0x3a8665,_0x2bf08f,_0x1ce61f){super(_0x4f2a2a),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new AriaDescriptionView(_0x4f2a2a,getTranslation$5(_0x4f2a2a,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x3a8665['authoredAt']),this['bind']('authoredAt')['to'](_0x3a8665),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',_0x3a8665,'authoredAt',this,'descriptionParts',(_0x5deb1b,_0x27c2d8,_0x59a490)=>{const _0x5b4ca9=_0x59a490['map'](_0x1e2f9d=>renderDescription(_0x1e2f9d['content']))['join']('.\x20')+'.';return getTranslation$5(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0x5deb1b-0x1,_0x3a8665['author']['name'],_0x27c2d8?_0x1ce61f['formatDateTime'](_0x27c2d8):'',new DOMParser()['parseFromString'](_0x5b4ca9,'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':_0x197368=>_0x197368['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x3a8665,this['_localUser']=_0x2bf08f,this['_config']=_0x1ce61f,_0x1ce61f['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:_0x30381a}=this['_config'];this['commentsListView']=new _0x30381a(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',_0x31876f=>_0x31876f+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x26f0e4,_0x38b66e)=>_0x26f0e4||!!_0x38b66e);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x573827}=this['_config'],_0x20e978=new _0x573827(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x4a8589=_0x20e978['commentInputView'];return _0x20e978['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x4a8589,'value',(_0x19fd86,_0x55298e,_0x5ceb48)=>!!_0x5ceb48||_0x19fd86&&!_0x55298e),_0x4a8589['on']('submit',(_0x175283,_0x5d851a)=>{this['fire']('addComment',_0x5d851a),_0x4a8589['editor']['setData']('');}),_0x4a8589['on']('cancel',()=>this['focus']()),_0x4a8589['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x20e978;}}class SuggestionThreadView extends BaseSuggestionThreadView{['suggestionView'];['_descriptionElement'];constructor(_0x1839e2,_0x4c21b9,_0xd7ebd,_0x4adc43){super(_0x1839e2,_0x4c21b9,_0xd7ebd,_0x4adc43),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x5d9b99=>_0x5d9b99&&_0x5d9b99[0x0]?_0x5d9b99[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x3437bf,_0x3ff4fe)=>{let _0x1d4a24='';for(const _0xb697b8 of _0x3437bf)_0x1d4a24+='<p>'+renderDescription(_0xb697b8['content'],_0xb697b8['color'])+'</p>';return _0x3ff4fe?_0x1d4a24:trimHtml(_0x1d4a24,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x4adc43['SuggestionView'](_0x1839e2,_0x4c21b9,{'formatDateTime':_0x4adc43['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 _0x14be0a=this['bindTemplate'],_0x5fa894=[this['suggestionView']];this['commentsListView']&&_0x5fa894['push'](this['commentsListView']),this['commentThreadInputView']&&_0x5fa894['push'](this['commentThreadInputView']),_0x5fa894['push'](this['ariaDescriptionView']);const _0x20352d={'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x14be0a['if']('isActive','ck-suggestion-wrapper--active'),_0x14be0a['to']('type',_0x1ef754=>'ck-suggestion-'+_0x1ef754),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':_0x14be0a['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x5fa894};return _0x20352d;}['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(_0x2b81e5,_0x167e62,_0x3a75a5){super(_0x2b81e5),this['_model']=_0x167e62,this['_config']=_0x3a75a5,this['set']('description',''),this['bind']('authoredAt')['to'](_0x167e62),this['acceptButton']=this['_createButton'](getTranslation$5(_0x2b81e5,'Accept\x20suggestion'),ckeditor5['IconCheck'],'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](getTranslation$5(_0x2b81e5,'Discard\x20suggestion'),ckeditor5['IconCancel'],'ck-suggestion--discard','discardSuggestion','sw'),this['userView']=new _0x5c412d(_0x2b81e5,_0x167e62['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':_0x30f2b0=>_0x30f2b0['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0x26b2d9=this['element']['querySelector']('.ck-annotation__content-wrapper');_0x26b2d9['innerHTML']=this['description'],this['on']('change:description',(_0xcae6e4,_0xcf3a9f,_0x4c0b51)=>{_0x26b2d9['innerHTML']=_0x4c0b51;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0x3c2e1c=this['bindTemplate'],_0x3522d6=[{'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':_0x3c2e1c['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x3c2e1c['to']('authoredAt',_0xcfb365=>this['_config']['formatDateTime'](_0xcfb365))}]}]},{'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']&&_0x3522d6['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':_0x3522d6}]};}['focus'](){this['element']['focus']();}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$5(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):getTranslation$5(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['getExternalSuggestionNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$5(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):getTranslation$5(this['locale'],'EXTERNAL_SUGGESTION');}['_createButton'](_0x14bc57,_0x31fd0a,_0x678d58,_0x24c769,_0x32e6a9){const _0x3b91f9=new LateFocusButtonView(this['locale']);return _0x3b91f9['set']({'label':_0x14bc57,'icon':_0x31fd0a,'tooltip':!0x0,'tooltipPosition':_0x32e6a9}),_0x3b91f9['extendTemplate']({'attributes':{'class':_0x678d58}}),_0x3b91f9['on']('execute',()=>{this['fire'](_0x24c769,this['_model']['id']);}),_0x3b91f9;}['_setupKeyboardNavigation'](){const _0x5c489f=this['element'];this['keystrokes']['listenTo'](_0x5c489f);for(const _0x195d4f of this['focusables'])this['focusTracker']['add'](_0x195d4f['element']),this['keystrokes']['listenTo'](_0x195d4f['element']);this['keystrokes']['set']('enter',(_0xdba905,_0x412eba)=>{_0x5c489f===_0xdba905['target']&&(this['focusCycler']['focusFirst'](),_0x412eba());}),this['keystrokes']['set']('esc',(_0xc80ec1,_0x252971)=>{_0x5c489f!==_0xc80ec1['target']&&(this['focus'](),_0x252971());});}}class _0x4b5c52 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_suggestionToController'];['_viewToController'];['_annotationViews'];['_handleControllerBuffer'];['_disableComments'];static get['requires'](){return[TrackChangesEditing,_0x9327be,CommentsRepository,Annotations,EditorAnnotations];}static get['pluginName'](){return'TrackChangesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x270e52){super(_0x270e52),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x30fd9e=this['editor']['config'];_0x30fd9e['define']('trackChanges.SuggestionThreadView',SuggestionThreadView),_0x30fd9e['define']('trackChanges.SuggestionView',SuggestionView),_0x30fd9e['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x30fd9e['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0xccfd6b,_0x2b3a38){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0x15960e,_0x91d55d]of this['_handleControllerBuffer']){const _0x4bfdae=this['_suggestionToController']['has'](_0x15960e);_0x4bfdae||_0x91d55d?_0x4bfdae&&_0x91d55d&&this['_destroyController'](_0x15960e):this['_initializeController'](_0x15960e);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get'](EditorAnnotations)['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0xccfd6b,_0x2b3a38);}['init'](){const _0x3d88d9=this['editor'],_0x490c12=_0x3d88d9['plugins']['get'](TrackChangesEditing),_0x2966c1=_0x3d88d9['plugins']['get'](Annotations),_0x28a045=_0x3d88d9['plugins']['get'](EditorAnnotations),_0x2798e0=_0x3d88d9['plugins']['get'](CommentsRepository);this['_addUIComponentsToFactory'](),_0x28a045['addSourceCollector'](()=>{const _0x5e5243=[];for(const [_0x479ada,_0x3800e2]of Array['from'](this['_suggestionToController'])){const _0x5d836d=_0x479ada['getAllAdjacentSuggestions'](),_0xc3b609=[];for(const _0x243c80 of _0x5d836d){if(!_0x243c80['isInContent'])continue;if(_0x243c80['isMultiRange']){_0xc3b609['push'](..._0x243c80['getRanges']());continue;}const _0x2277c8=_0x243c80['getFirstRange']();if(_0xc3b609['length']>0x0){const _0x4015e2=_0xc3b609[0x0]['getJoined'](_0x2277c8);if(_0x4015e2){_0xc3b609[0x0]=_0x4015e2;continue;}}_0xc3b609['push'](_0x2277c8);}_0x5e5243['push']([_0x3800e2['view'],_0xc3b609]);}return _0x5e5243;}),this['listenTo'](_0x490c12,'suggestionLoaded',(_0x32aa30,_0x48299d)=>{this['listenTo'](_0x48299d,'change:previous',(_0x160938,_0x3651b6,_0x1f448c,_0x5682c4)=>{_0x48299d['isInContent']&&(null==_0x1f448c?(this['_updateController'](_0x5682c4['head']),this['_handleSuggestionControllerDelayed'](_0x48299d,!0x1)):(this['_updateController'](_0x1f448c['head']),null==_0x5682c4&&this['_handleSuggestionControllerDelayed'](_0x48299d,!0x0)));}),null!==_0x48299d['previous']?this['_updateController'](_0x48299d['head']):this['_handleSuggestionControllerDelayed'](_0x48299d,!0x1);}),this['listenTo'](_0x490c12,'suggestionUnloaded',(_0x2a5de1,_0x1444da,_0x4089c5)=>{this['stopListening'](_0x1444da,'change:previous'),this['_handleControllerBuffer']['delete'](_0x1444da),this['_suggestionToController']['has'](_0x1444da)&&this['_destroyController'](_0x1444da),_0x4089c5&&this['_updateController'](_0x4089c5['head']);}),this['listenTo'](_0x490c12,'suggestionChanged',(_0x455aab,_0x2142c2)=>{this['_updateController'](_0x2142c2);}),this['listenTo'](_0x2966c1,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x2798e0,'addComment',(_0x43001a,{threadId:_0xff977b,isFromAdapter:_0x2ad67a})=>{if(_0x2ad67a||!_0x490c12['hasSuggestion'](_0xff977b))return;const _0x499f6d=_0x490c12['getSuggestion'](_0xff977b);this['_suggestionToController']['get'](_0x499f6d)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5961b0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x51def9;for(const _0x24e8d4 in _0x5961b0){const _0xcb2037=_0x24e8d4,_0x1cc093=_0x5961b0[_0xcb2037];if('trackChangesLicenseKeyValid'==_0x1cc093||'trackChangesLicenseKeyInvalid'==_0x1cc093||'trackChangesLicenseKeyExpired'==_0x1cc093||'trackChangesLicenseKeyDomainLimit'==_0x1cc093||'trackChangesLicenseKeyNotAllowed'==_0x1cc093||'trackChangesLicenseKeyEvaluationLimit'==_0x1cc093||'trackChangesLicenseKeyUsageLimit'==_0x1cc093){delete _0x5961b0[_0xcb2037],_0x51def9=_0x1cc093,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x51def9&&_0x5961b0['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x51def9&&_0x5961b0['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x51def9&&_0x5961b0['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x51def9&&_0x5961b0['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x51def9&&_0x5961b0['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyUsageLimit'==_0x51def9&&_0x5961b0['_showLicenseError']('usageLimit');},0x3e8);}['getAnnotationForSuggestion'](_0x1e935c){const _0x14f577=this['_suggestionToController']['get'](_0x1e935c);if(!_0x14f577)return null;return this['editor']['plugins']['get'](Annotations)['getByInnerView'](_0x14f577['view'])||null;}['getSuggestionForAnnotation'](_0x1c0f81){const _0x2955be=this['_viewToController']['get'](_0x1c0f81['innerView']);return _0x2955be?_0x2955be['model']:null;}['_refreshActiveMarkers'](){const _0x10f748=this['editor']['plugins']['get'](Annotations),_0x4abc6a=this['editor']['plugins']['get'](TrackChangesEditing),_0x1219ac=Array['from'](_0x10f748['activeAnnotations'],_0x39a802=>_0x39a802['innerView'])['filter'](_0x218fc9=>this['_viewToController']['has'](_0x218fc9)),_0xe6cc1c=[];for(const _0x1649bd of _0x1219ac){const _0x3f0ac2=this['_viewToController']['get'](_0x1649bd)['model']['getAllAdjacentSuggestions']();_0xe6cc1c['push'](..._0x3f0ac2['reduce']((_0x532e78,_0x2b29fa)=>[..._0x532e78,..._0x2b29fa['getMarkerNames']()],[]));}_0x4abc6a['activeMarkers']=_0xe6cc1c;}['_addUIComponentsToFactory'](){const _0x29ff3d=this['editor'],_0x4c72e6=_0x29ff3d['locale'],_0x344270=getTranslation$5(_0x4c72e6,'Track\x20changes'),_0x47bcbb=new ckeditor5['Collection']([{'type':'switchbutton','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x344270,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$5(_0x4c72e6,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$5(_0x4c72e6,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$5(_0x4c72e6,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$5(_0x4c72e6,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x29ff3d['plugins']['has']('TrackChangesPreview')&&_0x47bcbb['addMany']([{'type':'separator'},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$5(_0x4c72e6,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x5695d9 of _0x47bcbb)if(isListDropdownButtonDefinition(_0x5695d9)){const _0x36f9d6=_0x29ff3d['commands']['get'](_0x5695d9['model']['commandName']);_0x5695d9['model']['bind']('isOn','isEnabled')['to'](_0x36f9d6,'value','isEnabled');}_0x29ff3d['ui']['componentFactory']['add']('trackChanges',_0x4e0373=>this['_createToolbarButton'](_0x4e0373,_0x47bcbb,_0x344270)),_0x29ff3d['ui']['componentFactory']['add']('menuBar:trackChanges',_0x41fcc9=>this['_createMenuBarMenu'](_0x41fcc9,_0x47bcbb,_0x344270));}['_createToolbarButton'](_0x4d22bf,_0x35350f,_0x4e543){const _0x25b10f=ckeditor5['createDropdown'](_0x4d22bf,ckeditor5['SplitButtonView']),_0x24fd86=this['editor']['commands']['get']('trackChanges');_0x25b10f['buttonView']['set']({'tooltip':_0x4e543,'label':_0x4e543,'icon':ckeditor5['IconTrackChanges']}),_0x25b10f['buttonView']['bind']('isOn')['to'](_0x24fd86,'value'),_0x25b10f['buttonView']['on']('execute',()=>{_0x24fd86['execute'](),this['editor']['editing']['view']['focus']();}),ckeditor5['addListToDropdown'](_0x25b10f,_0x35350f,{'role':'menu'});const _0x583a0f=[];for(const _0x30c523 of _0x35350f)isListDropdownButtonDefinition(_0x30c523)&&_0x583a0f['push'](this['editor']['commands']['get'](_0x30c523['model']['commandName']));const _0x7d0471=_0x25b10f['buttonView'];return _0x7d0471['actionView']['unbind']('isEnabled'),_0x7d0471['arrowView']['unbind']('isEnabled'),_0x7d0471['actionView']['bind']('isEnabled')['to'](_0x24fd86,'isEnabled'),_0x7d0471['arrowView']['bind']('isEnabled')['toMany'](_0x583a0f,'isEnabled',(..._0xf18a38)=>_0xf18a38['some'](_0x54d00c=>_0x54d00c)),_0x25b10f['on']('execute',_0x515cbf=>{this['editor']['execute'](_0x515cbf['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x25b10f;}['_createMenuBarMenu'](_0x3bcb09,_0x547187,_0x517bcd){const _0x57b9cf=new ckeditor5['MenuBarMenuView'](_0x3bcb09),_0x1eb25a=this['editor']['commands']['get']('trackChanges');_0x57b9cf['buttonView']['set']({'label':_0x517bcd,'icon':ckeditor5['IconTrackChanges']});const _0x2420ee=new ckeditor5['MenuBarMenuListView'](_0x3bcb09);for(const _0x4b7a64 of _0x547187){if('separator'==_0x4b7a64['type']){_0x2420ee['items']['add'](new ckeditor5['ListSeparatorView'](_0x3bcb09));continue;}const _0x3de39d=new ckeditor5['MenuBarMenuListItemView'](_0x3bcb09,_0x57b9cf),_0x40e62d=new ckeditor5['MenuBarMenuListItemButtonView'](_0x3bcb09),_0x12429c=_0x4b7a64['model'];_0x40e62d['bind'](...Object['keys'](_0x12429c))['to'](_0x12429c),_0x40e62d['delegate']('execute')['to'](_0x57b9cf),_0x40e62d['on']('execute',()=>{this['editor']['execute'](_0x12429c['commandName']),this['editor']['editing']['view']['focus']();}),_0x3de39d['children']['add'](_0x40e62d),_0x2420ee['items']['add'](_0x3de39d);}return _0x57b9cf['bind']('isEnabled')['to'](_0x1eb25a,'isEnabled'),_0x57b9cf['panelView']['children']['add'](_0x2420ee),_0x57b9cf;}['_initializeController'](_0x3cc7d2){const _0x318db4=this['editor'],_0x3b87b4=_0x318db4['config'],_0x1e9637=_0x318db4['plugins']['get'](Annotations),_0x9f3670=_0x318db4['plugins']['get'](CommentsRepository),_0x41e67d=_0x318db4['plugins']['get'](EditorAnnotations),_0x37d292=_0x318db4['plugins']['get'](_0x9327be)['me'],_0x398aaf=_0x3b87b4['get']('trackChanges')['SuggestionThreadView'],_0x1ca932=_0x3b87b4['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x59cc9b,CommentThreadInputView:_0xb1bfe5}=_0x318db4['plugins']['get']('CommentsUI');let _0x15a544,_0x390ad8,_0x28eb78;this['_annotationViews']['has'](_0x3cc7d2['id'])?(_0x390ad8=this['_annotationViews']['get'](_0x3cc7d2['id']),_0x15a544=_0x390ad8['mainView']):(_0x15a544=new _0x398aaf(_0x318db4['locale'],_0x3cc7d2,_0x37d292,{'disableComments':this['_disableComments'],'editorConfig':{..._0x3b87b4['get']('comments.editorConfig'),'licenseKey':_0x3b87b4['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x3b87b4['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x3b87b4['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x3b87b4['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':getDateTimeFormatter(_0x3b87b4['get']('locale'),_0x318db4['locale']),'CommentView':_0x3b87b4['get']('comments')['CommentView'],'CommentsListView':_0x59cc9b,'CommentThreadInputView':_0xb1bfe5,'SuggestionView':_0x1ca932}),_0x15a544['suggestionView']['acceptButton']['on']('execute',()=>{_0x318db4['editing']['view']['focus']();}),_0x15a544['suggestionView']['discardButton']['on']('execute',()=>{_0x318db4['editing']['view']['focus']();}),_0x390ad8=_0x1e9637['createAnnotationView'](this['editor']['locale'],_0x15a544),_0x390ad8['bind']('isDirty')['to'](_0x15a544,'isDirty'),_0x390ad8['bind']('length')['to'](_0x15a544),_0x390ad8['bind']('type')['to'](_0x15a544,'type',_0x27953c=>'suggestion-'+_0x27953c),_0x15a544['on']('escape',()=>{_0x28eb78['fire']('escape');}),this['_annotationViews']['set'](_0x3cc7d2['id'],_0x390ad8));const _0x113755=_0x9f3670['createCommentThreadController'](_0x3cc7d2['commentThread'],_0x15a544),_0x2cf519=new SuggestionController(_0x318db4,_0x3cc7d2,_0x15a544,_0x113755),_0x337299=_0x3cc7d2['getAllAdjacentSuggestions']()['filter'](_0x73dee2=>_0x73dee2['isInContent']);_0x15a544['descriptionParts']=_0x318db4['plugins']['get'](TrackChangesEditing)['descriptionFactory']['getDescriptions'](_0x337299),this['_suggestionToController']['set'](_0x3cc7d2,_0x2cf519),this['_viewToController']['set'](_0x15a544,_0x2cf519);const _0x3f6e49=()=>{const _0x146aaa=[],_0x3f5912=_0x3cc7d2['getAllAdjacentSuggestions']()['filter'](_0x119fdf=>_0x119fdf['isInContent']);for(const _0x5fd3bb of _0x3f5912)_0x146aaa['push'](..._0x5fd3bb['getMarkers']());return getAllMarkersDomElementsSorted(_0x318db4['editing'],_0x146aaa);};_0x28eb78=_0x1e9637['createAnnotation']({'view':_0x390ad8,'target':_0x3f6e49,'type':()=>'suggestion-'+_0x2cf519['view']['type'],'isVisible':!!_0x3f6e49()}),_0x9f3670['_bindAnnotationToEditors'](_0x15a544,_0x28eb78),_0x1e9637['add'](_0x28eb78),_0x41e67d['registerAnnotation'](_0x28eb78);}['_destroyController'](_0x15d595){const _0x711040=this['editor']['plugins']['get'](CommentsRepository),_0x32238c=this['editor']['plugins']['get'](Annotations),_0x204562=this['_suggestionToController']['get'](_0x15d595),_0x3f266b=_0x204562['view'],_0x422e7e=_0x32238c['getByInnerView'](_0x3f266b);_0x711040['_unbindEditors'](_0x3f266b),_0x422e7e&&_0x32238c['remove'](_0x422e7e),this['_suggestionToController']['delete'](_0x15d595),this['_viewToController']['delete'](_0x3f266b),_0x204562['destroy']();}['_updateController'](_0x22bbbb){if(!_0x22bbbb['isInContent']||!this['_suggestionToController']['has'](_0x22bbbb))return;const _0x1f5f2f=this['editor']['plugins']['get'](TrackChangesEditing),_0x2ed29e=this['_suggestionToController']['get'](_0x22bbbb),_0x353d84=_0x22bbbb['getAllAdjacentSuggestions']();_0x2ed29e['view']['descriptionParts']=_0x1f5f2f['descriptionFactory']['getDescriptions'](_0x353d84);}['destroy'](){for(const _0x450d8f of this['_suggestionToController']['keys']())this['_destroyController'](_0x450d8f);for(const _0x3e7b5e of this['_annotationViews']['values']())_0x3e7b5e['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function isListDropdownButtonDefinition(_0x31878f){return'model'in _0x31878f;}class _0x1f75c1 extends ckeditor5['Plugin']{static get['requires'](){return[TrackChangesEditing,_0x4b5c52,Comments];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0x5072a0){this['editor']['plugins']['get'](TrackChangesEditing)['adapter']=_0x5072a0;}get['adapter'](){return this['editor']['plugins']['get'](TrackChangesEditing)['adapter'];}['addSuggestion'](_0x17f2f7){return this['editor']['plugins']['get'](TrackChangesEditing)['addSuggestionData'](_0x17f2f7);}['getSuggestions']({skipNotAttached:_0x3b2fc0=!0x1,toJSON:_0x33c797=!0x1}={}){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestions']({'skipNotAttached':_0x3b2fc0,'toJSON':_0x33c797});}['getSuggestion'](_0x514e67){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestion'](_0x514e67);}}const blackListedPlugins$1=['Pagination'];class TrackChangesData extends ckeditor5['Plugin']{static get['requires'](){return[TrackChangesEditing];}static get['pluginName'](){return'TrackChangesData';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3c6f8c=this['editor'];if(_0x3c6f8c['config']['define']('trackChangesData.editorCreator',_0x39a702=>{const _0x57ceca=_0x3c6f8c['model']['document']['getRootNames']()['reduce']((_0x14d8a2,_0x3d1524)=>(_0x14d8a2[_0x3d1524]='',_0x14d8a2),{});return _0x3c6f8c['constructor']['create'](_0x57ceca,_0x39a702);}),'function'!=typeof _0x3c6f8c['config']['get']('trackChangesData')['editorCreator'])throw new ckeditor5['CKEditorError']('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x3fb83b){return getTrackChangesData(this['editor'],!0x0,_0x3fb83b);}['getDataWithDiscardedSuggestions'](_0x548ba4){return getTrackChangesData(this['editor'],!0x1,_0x548ba4);}}class TrackChangesDataGetter extends ckeditor5['Plugin']{['result'];static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x23b92e){function _0x6af89f(_0xfbd8f8){return _0xfbd8f8['map'](_0x61687c=>String['fromCharCode'](_0x61687c))['join']('');}super(_0x23b92e),this['result']='end',_0x23b92e[_0x6af89f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6af89f([0x76,0x69,0x65,0x77])][_0x6af89f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x6af89f([0x61,0x75,0x74,0x6f]),_0x23b92e[_0x6af89f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x6af89f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x6af89f([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x6af89f([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x6af89f([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(_0x1bdbb3){return void 0x0!==_0x1bdbb3['getRootsAttributes'];}async function getTrackChangesData(_0x24ec6a,_0x2f99c0,_0x155784){const _0x4d32a0=sanitizeEditorConfig(_0x24ec6a,blackListedPlugins$1);if(_0x4d32a0['plugins']['push'](TrackChangesEditing,TrackChangesDataGetter),isMultiRootEditor$1(_0x24ec6a)){_0x4d32a0['roots']=Object['create'](null);for(const _0x5d5bdd of _0x24ec6a['model']['document']['getRootNames']())_0x4d32a0['roots'][_0x5d5bdd]={'modelAttributes':_0x24ec6a['getRootAttributes'](_0x5d5bdd)};}const _0x4e8f15=document['createDocumentFragment'](),_0x147498=_0x24ec6a['config']['get']('trackChangesData')['editorCreator'],_0x293fce=await _0x147498(_0x4d32a0,()=>createAttachedElement(_0x4e8f15));copyEditorData(_0x24ec6a,_0x293fce),_0x293fce['execute'](_0x2f99c0?'acceptAllSuggestions':'discardAllSuggestions');const _0x5703bc=isMultiRootEditor$1(_0x293fce)?_0x293fce['getFullData'](_0x155784):_0x293fce['data']['get'](_0x155784);return await _0x293fce['destroy'](),_0x5703bc;}function copyEditorData(_0xeae042,_0x1ece3f){const _0x572c84=_0xeae042['model']['document']['getRootNames']()['reduce']((_0x3da992,_0x1b488f)=>(_0x3da992[_0x1b488f]=_0xeae042['data']['get']({'rootName':_0x1b488f}),_0x3da992),{}),_0x3e88ee=_0xeae042['plugins']['get']('Users')['users']['map'](_0x5f2785=>({'id':_0x5f2785['id'],'name':_0x5f2785['name']})),_0x2175e4=_0xeae042['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x330d1a=_0xeae042['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x405895=_0x1ece3f['plugins']['get']('Users'),_0x19af54=_0x1ece3f['plugins']['get']('TrackChangesEditing'),_0x28a828=_0x1ece3f['plugins']['get']('CommentsRepository');for(const _0x515cd6 of _0x28a828['getCommentThreads']())_0x515cd6['remove']();for(const _0x321a6e of _0x3e88ee)_0x405895['getUser'](_0x321a6e['id'])||_0x405895['addUser'](_0x321a6e);_0x405895['me']||_0x405895['useAnonymousUser']();for(const _0x19d252 of _0x330d1a)_0x28a828['addCommentThread'](_0x19d252);for(const _0x4f807e of _0x2175e4)_0x19af54['addSuggestionData'](_0x4f807e);_0x1ece3f['data']['set'](_0x572c84);}function createAttachedElement(_0x37389c){const _0x21596f=document['createElement']('div');return _0x37389c['appendChild'](_0x21596f),_0x21596f;}class _0x46407e extends ckeditor5['View']{['options'];constructor(_0x59cb82,_0x36e763){super(_0x59cb82),this['options']=_0x36e763,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'](_0x224f04,_0x319225){if(!this['element'])return;const _0x1e7c79=[];for(const [_0x5855ea,_0x219e24]of _0x224f04){const _0x3d1124=document['createElement']('div');_0x3d1124['setAttribute']('data-ck-root-name',_0x5855ea),_0x3d1124['className']=_0x219e24['classes']+'\x20ck-track-changes-preview__root-container',_0x3d1124['innerHTML']=_0x219e24['content'],_0x1e7c79['push'](_0x3d1124);}_0x319225(this['element'],_0x1e7c79),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}}class PreviewFinalContentCommand extends ckeditor5['Command']{constructor(_0x11748){super(_0x11748),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x2d36b4=this['editor'],_0x353f5e=_0x2d36b4['locale'],_0x2ce9e5=_0x2d36b4['plugins']['get']('Dialog');let _0x10ace0;const _0xb086e0=getEditables(_0x2d36b4),_0x6ef25a=calculateDialogRects(_0xb086e0);_0x2ce9e5['show']({'id':'finalContentPreview','title':getTranslation$5(_0x353f5e,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new _0x46407e(_0x353f5e,{'dialogRects':_0x6ef25a}),'onHide':()=>{_0x10ace0['detachFromDom']();},'onShow':()=>{_0x2d36b4['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0xb7cc0d=>{const _0x268690=this['_standarizeRootsData'](_0xb7cc0d,_0x2d36b4,_0xb086e0);_0x2ce9e5['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0x268690,_0x2d36b4['config']['get']('trackChanges.preview.renderFunction'));}),_0x10ace0=new ckeditor5['BodyCollection'](_0x353f5e,[_0x2ce9e5['view']]),_0x10ace0['attachToDom'](),_0x10ace0['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x2d36b4['once']('destroy',()=>{_0x10ace0['detachFromDom']();});const _0x3262b1=_0x2ce9e5['view']['headerView']['class'];_0x2ce9e5['view']['headerView']['class']=_0x3262b1?_0x3262b1+'\x20ck-reset_all':'ck-reset_all',_0x2ce9e5['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x2ce9e5['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0xcf4351=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x2b8444=_0xcf4351['previewMode'],_0x4eb74a={};if('$labels'===_0x2b8444){for(const _0xa2b77a of _0xcf4351['getMergeFieldsIds']())_0x4eb74a[_0xa2b77a]=_0xcf4351['getLabel'](_0xa2b77a)||_0xa2b77a;}else{const _0x433348='$defaultValues'===_0x2b8444?_0xcf4351['getDefaultValues']():_0xcf4351['getDataSetValues'](_0x2b8444,!0x0);for(const _0x2e3b37 of Object['entries'](_0x433348)){const [_0x2eda79,_0x1e0c8f]=_0x2e3b37;_0x4eb74a[_0x2eda79]=null!==_0x1e0c8f?_0x1e0c8f:_0xcf4351['getLabel'](_0x2eda79)||_0x2eda79;}}return{'mergeFieldsData':_0x4eb74a};}['_standarizeRootsData'](_0x456416,_0x5da9b0,_0x150a31){let _0x46590a;if('string'==typeof _0x456416){const _0x3479da=_0x5da9b0['model']['document']['getRootNames']()[0x0];_0x46590a={[_0x3479da]:_0x456416};}else _0x46590a=_0x456416;const _0x4f3bae=this['_fixMediaEmbeds'](_0x46590a,_0x5da9b0);return addEditableClasses(this['_sortRoots'](_0x5da9b0)['reduce']((_0x454e94,_0x307990)=>(_0x454e94['push']([_0x307990,{'content':_0x4f3bae[_0x307990],'classes':''}]),_0x454e94),[]),_0x150a31);}['_fixMediaEmbeds'](_0x124703,_0x379195){if(!_0x379195['plugins']['has']('MediaEmbedEditing'))return _0x124703;const _0x12c272=_0x379195['plugins']['get']('MediaEmbedEditing');for(const [_0x1aefba,_0x594ccd]of Object['entries'](_0x124703)){const _0x23bece=document['createElement']('div');_0x23bece['innerHTML']=_0x594ccd,(_0x23bece['querySelectorAll']('figure.media')['forEach'](_0x145a2d=>{const _0x20113e=_0x145a2d['querySelector']('oembed');if(_0x20113e){const _0x4390c7=_0x20113e['getAttribute']('url');if(_0x4390c7){const _0x3f853a=_0x12c272['registry']['getMediaViewElement'](new ckeditor5['ViewDowncastWriter'](_0x379195['editing']['view']['document']),_0x4390c7,{'elementName':'','renderForEditingView':!0x0}),_0x30eb12=document['createElement']('div');_0x30eb12['classList']['add']('ck-media__wrapper'),_0x3f853a['render'](_0x30eb12,_0x379195['editing']['view']['domConverter']),_0x20113e['replaceWith'](_0x30eb12);}}}),_0x124703[_0x1aefba]=_0x23bece['innerHTML']);}return _0x124703;}['_sortRoots'](_0x3f4945){if(!isMultiRootEditor(_0x3f4945))return _0x3f4945['model']['document']['getRootNames']();const _0x540cae=[],_0x57d1e3=new Map();for(const _0x2b2182 of _0x3f4945['model']['document']['getRootNames']()){const _0x32392a=_0x3f4945['editing']['view']['getDomRoot'](_0x2b2182)['getClientRects']()['item'](0x0);_0x540cae['push'](_0x2b2182),_0x57d1e3['set'](_0x2b2182,_0x32392a);}return _0x540cae['sort']((_0x2c617f,_0x121607)=>{const _0x4d99d1=_0x57d1e3['get'](_0x2c617f),_0x29fc84=_0x57d1e3['get'](_0x121607);return _0x4d99d1['y']-_0x29fc84['y']||_0x4d99d1['x']-_0x29fc84['x'];}),_0x540cae;}}function getEditables(_0x55c55d){const _0x34ee32={};if('editables'in _0x55c55d['ui']['view']){for(const [_0x2623a3,_0x1181e0]of Object['entries'](_0x55c55d['ui']['view']['editables']))_0x34ee32[_0x2623a3]=_0x1181e0['element'];}else _0x34ee32[_0x55c55d['model']['document']['getRootNames']()[0x0]]=_0x55c55d['ui']['view']['editable']['element'];return _0x34ee32;}function calculateDialogRects(_0x2e1f59){let _0x99924d=0x0;for(const _0x30cc61 of Object['values'](_0x2e1f59))_0x99924d=Math['max'](_0x99924d,_0x30cc61['getBoundingClientRect']()['width']);let _0x5a1b89=0x0;for(const _0x20a763 of Object['values'](_0x2e1f59))_0x5a1b89+=_0x20a763['getBoundingClientRect']()['height'];const _0x28ee9a=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']);return{'width':_0x99924d,'height':Math['min'](_0x5a1b89,_0x28ee9a)};}function addEditableClasses(_0x411df2,_0xf77599){for(const [_0x8bbf23,_0x2f5ff5]of _0x411df2)_0x2f5ff5['classes']=_0xf77599[_0x8bbf23]['classList']['value']['replace']('ck-focused','');return _0x411df2;}function isMultiRootEditor(_0x31bf5b){return void 0x0!==_0x31bf5b['getRootsAttributes'];}class _0x5cb85e 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(_0x36b0b5){super(_0x36b0b5),_0x36b0b5['commands']['add']('previewFinalContent',new PreviewFinalContentCommand(this['editor'])),_0x36b0b5['config']['define']('trackChanges.preview.renderFunction',(_0x50db72,_0x4360ee)=>{for(const _0x3fe4c4 of _0x4360ee)_0x50db72['appendChild'](_0x3fe4c4);});}}class CloudServicesCommentsAdapter extends ckeditor5['ContextPlugin']{static ['CommentsService']=/* #__PURE__ -- @preserve */
((()=>CommentsService)());['_services'];static get['requires'](){return[WebSocketGateway,CommentsRepository,_0x5d9e92,_0x9327be];}static get['pluginName'](){return'CloudServicesCommentsAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3ec198){super(_0x3ec198),this['_services']=new Map();}async['init'](){const _0x224562=this['context'],_0x168652=_0x224562['plugins']['get'](CommentsRepository);if(_0x224562['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),_0x168652['adapter']={'addCommentThread':async({channelId:_0x25464e,threadId:_0x4366f7,comments:_0x2b43a8,resolvedAt:_0x4ae098,resolvedBy:_0x120346,context:_0xa91bbf,attributes:_0x29853a})=>{const _0x4c0370=await this['_getService'](_0x25464e)['addCommentThread']({'commentThreadId':_0x4366f7,'comments':_0x2b43a8['map'](_0x1a2e42=>parseLocalCommentToRemote(_0x1a2e42,_0x25464e,_0x4366f7)),'resolvedAt':_0x4ae098,'resolvedBy':_0x120346,'context':_0xa91bbf,'attributes':_0x29853a})['catch'](handleDisconnectionError$1);return{'threadId':_0x4c0370['commentThreadId'],'comments':_0x4c0370['comments']};},'getCommentThread':async({channelId:_0x49a677,threadId:_0x2177a1})=>{const _0x3787b4=await this['_getService'](_0x49a677)['getCommentThread'](_0x2177a1)['catch'](_0x16d3b1)['catch'](handleDisconnectionError$1);return _0x3787b4?_0x3787b4['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x3787b4]),{'threadId':_0x3787b4['commentThreadId'],'comments':_0x3787b4['comments']['map'](parseRemoteCommentToLocal),'context':_0x3787b4['context'],'resolvedAt':_0x3787b4['resolvedAt'],'resolvedBy':_0x3787b4['resolvedBy'],'attributes':_0x3787b4['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x594317,threadId:_0x3b7209,context:_0x174b1b,unlinkedAt:_0x595216,attributes:_0x3f66af})=>this['_getService'](_0x594317)['updateCommentThread']({'commentThreadId':_0x3b7209,'context':_0x174b1b,'attributes':_0x3f66af,'unlinkedAt':_0x595216})['catch'](_0x16d3b1)['catch'](handleDisconnectionError$1),'resolveCommentThread':async({channelId:_0x4802f0,threadId:_0x303710})=>{const _0x570145=await this['_getService'](_0x4802f0)['resolveCommentThread'](_0x303710)['catch'](_0x16d3b1)['catch'](handleDisconnectionError$1);return{'threadId':_0x570145['commentThreadId'],'resolvedAt':_0x570145['resolvedAt'],'resolvedBy':_0x570145['resolvedBy']};},'reopenCommentThread':async({channelId:_0x428f6e,threadId:_0x4a759c})=>this['_getService'](_0x428f6e)['reopenCommentThread'](_0x4a759c)['catch'](_0x16d3b1)['catch'](handleDisconnectionError$1),'removeCommentThread':({channelId:_0x4d287b,threadId:_0x578c2c})=>this['_getService'](_0x4d287b)['removeCommentThread'](_0x578c2c)['catch'](_0x16d3b1)['catch'](handleDisconnectionError$1),'addComment':({channelId:_0x38e14a,threadId:_0x140d0c,commentId:_0x474ea2,content:_0x28a353,attributes:_0x50d817})=>this['_getService'](_0x38e14a)['addComment'](_0x140d0c,_0x474ea2,_0x28a353,_0x50d817)['catch'](handleDisconnectionError$1),'updateComment':({channelId:_0xabefab,threadId:_0x296b11,commentId:_0x1ff4eb,content:_0x428752,attributes:_0x54192f})=>this['_getService'](_0xabefab)['updateComment'](_0x296b11,_0x1ff4eb,_0x428752,_0x54192f)['catch'](_0x16d3b1)['catch'](handleDisconnectionError$1),'removeComment':({channelId:_0x31500a,threadId:_0x4cfc3,commentId:_0x26b2c6})=>this['_getService'](_0x31500a)['removeComment'](_0x4cfc3,_0x26b2c6)['catch'](_0x16d3b1)['catch'](handleDisconnectionError$1)},_0x224562 instanceof ckeditor5['Context']){const _0x409a77=_0x224562['config']['get']('collaboration.channelId'),_0x7e1258=_0x224562['plugins']['get'](_0x5d9e92);await this['_setUpService'](_0x409a77);const _0x26b573=await this['_services']['get'](_0x409a77)['getConnectedSessions']();this['listenTo'](_0x7e1258,'sessionAdd:'+_0x409a77,(_0x171613,{session:_0x1f058b})=>{_0x1f058b['id']===_0x7e1258['mySessionId']&&(_0x171613['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0x1f058b['permissions'],_0x409a77));}),_0x7e1258['register'](_0x409a77,_0x26b573);}}async['_setUpService'](_0x27bf4b){if(this['_services']['has'](_0x27bf4b))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x27bf4b});const _0x1f5e32=this['context']['plugins']['get'](CommentsRepository),_0x49aeb3=new CloudServicesCommentsAdapter['CommentsService'](_0x27bf4b);this['_services']['set'](_0x27bf4b,_0x49aeb3),this['listenTo'](_0x49aeb3,'commentThreadAdded',(_0x146c1b,_0x3cff3f)=>{const {commentThreadId:_0x2a5005,documentId:_0x3378ad,context:_0x951c81,attributes:_0x5f103c,resolvedAt:_0x5568c8,resolvedBy:_0x2b1bff,comments:_0x243a24}=_0x3cff3f;_0x1f5e32['getCommentThread'](_0x2a5005)||_0x1f5e32['addCommentThread']({'threadId':_0x2a5005,'channelId':_0x3378ad,'comments':_0x243a24?_0x243a24['map'](parseRemoteCommentToLocal):[],'context':_0x951c81,'attributes':_0x5f103c,'resolvedAt':_0x5568c8,'resolvedBy':_0x2b1bff,'isFromAdapter':!0x0});}),this['listenTo'](_0x49aeb3,'commentThreadUpdated',(_0x27a2fc,{commentThreadId:_0x1d6bfc,documentId:_0x3c6e2a,context:_0x428034,unlinkedAt:_0x2c5ba7,attributes:_0x231ae8})=>{_0x1f5e32['getCommentThread'](_0x1d6bfc)&&_0x1f5e32['updateCommentThread']({'threadId':_0x1d6bfc,'channelId':_0x3c6e2a,'context':_0x428034,'unlinkedAt':_0x2c5ba7,'attributes':_0x231ae8,'isFromAdapter':!0x0});}),this['listenTo'](_0x49aeb3,'commentThreadResolved',(_0xe3dd23,{commentThreadId:_0x11d197,resolvedBy:_0x4820ef,resolvedAt:_0x1e2772})=>{const _0x393e1b=_0x1f5e32['getCommentThread'](_0x11d197);_0x393e1b&&_0x393e1b['resolve']({'resolvedBy':_0x4820ef,'resolvedAt':_0x1e2772,'isFromAdapter':!0x0});}),this['listenTo'](_0x49aeb3,'commentThreadReopened',(_0x5e903d,{commentThreadId:_0x461c8f})=>{const _0x4c8fd6=_0x1f5e32['getCommentThread'](_0x461c8f);_0x4c8fd6&&_0x4c8fd6['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0x49aeb3,'commentThreadRemoved',(_0x2a1017,{commentThreadId:_0x299797})=>{const _0x2ae8b3=_0x1f5e32['getCommentThread'](_0x299797);_0x2ae8b3&&_0x2ae8b3['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x49aeb3,'commentAdded',(_0xa46547,_0x45e936)=>{const _0x4fbe73=_0x45e936['commentThreadId'],_0x5bd658=_0x1f5e32['getCommentThread'](_0x4fbe73);_0x5bd658&&_0x5bd658['addComment']({...parseRemoteCommentToLocal(_0x45e936),'isFromAdapter':!0x0});}),this['listenTo'](_0x49aeb3,'commentUpdated',(_0x4d2e4,{commentThreadId:_0x454d86,commentId:_0x12671b,content:_0x405276,attributes:_0x5a8274})=>{const _0xb58e28=_0x1f5e32['getCommentThread'](_0x454d86);if(_0xb58e28){const _0x57ff6f=_0xb58e28['getComment'](_0x12671b);_0x57ff6f&&_0x57ff6f['update']({'content':_0x405276,'attributes':_0x5a8274,'isFromAdapter':!0x0});}}),this['listenTo'](_0x49aeb3,'commentRemoved',(_0x3499b3,{commentThreadId:_0x8ed1fd,commentId:_0x33dcfd})=>{const _0xa473fa=_0x1f5e32['getCommentThread'](_0x8ed1fd);if(_0xa473fa){const _0x4ca1c4=_0xa473fa['getComment'](_0x33dcfd);_0x4ca1c4&&_0x4ca1c4['remove']({'isFromAdapter':!0x0});}}),await this['_connectService'](_0x27bf4b);}['destroy'](){if(this['context']instanceof ckeditor5['Context']){const _0x10e908=this['context']['config']['get']('collaboration.channelId');this['_terminateService'](_0x10e908);}}['_terminateService'](_0x3d7ff0){if(!this['_services']['has'](_0x3d7ff0))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x3d7ff0});this['_getService'](_0x3d7ff0)['disconnect'](),this['_services']['delete'](_0x3d7ff0);}async['reconnect'](){for(const _0x1ec760 of this['_services']['keys']())await this['_connectService'](_0x1ec760);if(this['context']instanceof ckeditor5['Context']){const _0x286fae=this['context']['config']['get']('collaboration.channelId'),_0x25051c=this['context']['plugins']['get'](_0x5d9e92);_0x25051c['unregister'](_0x286fae);const _0x481312=await this['_services']['get'](_0x286fae)['getConnectedSessions']();_0x25051c['register'](_0x286fae,_0x481312);}}async['_connectService'](_0x335b75){const {connection:_0x59eb20}=this['context']['plugins']['get'](WebSocketGateway),_0x1e4362=this['context']['plugins']['get'](CommentsRepository),_0x3437e1=this['_services']['get'](_0x335b75),_0x1f54ca=await _0x3437e1['connect'](_0x59eb20);await this['_fetchMissingUsersForThreads'](_0x1f54ca);const _0x4dde6a=new Set(Array['from'](_0x1e4362['getCommentThreads']({'channelId':_0x335b75}),_0x4014bf=>_0x4014bf['id']));for(const _0x345d87 of _0x1f54ca)_0x345d87['deletedAt']||_0x4dde6a['delete'](_0x345d87['commentThreadId']);for(const _0x37c53 of _0x4dde6a)_0x1e4362['getCommentThread'](_0x37c53)['remove']({'isFromAdapter':!0x0});for(const _0x4442ce of _0x1f54ca){let _0x5ce9a0=_0x1e4362['getCommentThread'](_0x4442ce['commentThreadId']);const {commentThreadId:_0x1b4ee5,context:_0x5eb79a,attributes:_0x4fc777,resolvedBy:_0x58893e,resolvedAt:_0x5cb72d,unlinkedAt:_0x1abdcf,deletedAt:_0x5bf2e1}=_0x4442ce;if(_0x5bf2e1)continue;_0x5ce9a0||(_0x5ce9a0=_0x1e4362['addCommentThread']({'channelId':_0x335b75,'threadId':_0x1b4ee5,'context':_0x5eb79a,'attributes':_0x4fc777||{},'resolvedBy':_0x58893e,'resolvedAt':_0x5cb72d,'unlinkedAt':_0x1abdcf,'isFromAdapter':!0x0}));const _0x2fc553=new Set(Array['from'](_0x5ce9a0['comments'],_0x1a3165=>_0x1a3165['id']));for(const _0x3a1e23 of _0x4442ce['comments'])_0x2fc553['delete'](_0x3a1e23['commentId']);for(const _0x1f238b of _0x2fc553)_0x5ce9a0['getComment'](_0x1f238b)['remove']({'isFromAdapter':!0x0});for(const _0x5e4ef8 of _0x4442ce['comments']){const _0x8f5fce=_0x5ce9a0['getComment'](_0x5e4ef8['commentId']);_0x8f5fce?_0x8f5fce['content']!==_0x5e4ef8['content']&&_0x8f5fce['update']({'content':_0x5e4ef8['content'],'isFromAdapter':!0x0}):_0x5ce9a0['addComment'](Object['assign'](parseRemoteCommentToLocal(_0x5e4ef8),{'isFromAdapter':!0x0}));}}}['_getService'](_0x11e2c8){if(!this['_services']['has'](_0x11e2c8))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x11e2c8});return this['_services']['get'](_0x11e2c8);}async['_fetchMissingUsersForThreads'](_0x4bffef){const _0xa82224=this['context']['plugins']['get'](_0x9327be),{connection:_0x43a2d3}=this['context']['plugins']['get'](WebSocketGateway),_0x453454=new Set();for(const {resolvedBy:_0x346a64,comments:_0x568660}of _0x4bffef){_0x346a64&&!_0xa82224['getUser'](_0x346a64)&&_0x453454['add'](_0x346a64);for(const {userId:_0x3576bf}of _0x568660)_0xa82224['getUser'](_0x3576bf)||_0x453454['add'](_0x3576bf);}if(0x0===_0x453454['size'])return;const _0x28d128=await _0x1a3434['getMany'](_0x43a2d3,Array['from'](_0x453454));for(const _0x2ef898 of _0x28d128)_0xa82224['getUser'](_0x2ef898['id'])||_0xa82224['addUser'](_0x2ef898);}}async function _0x16d3b1(_0x5b2580){if('404'!==_0x5b2580['code'])throw _0x5b2580;}function handleDisconnectionError$1(_0x198e94){if(isDisconnectionError$2(_0x198e94))return new Promise(()=>{});throw _0x198e94;}function isDisconnectionError$2(_0x12c933){return _0x12c933['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x12c933['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x12c933['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}function parseRemoteCommentToLocal(_0x403396){return{'threadId':_0x403396['commentThreadId'],'commentId':_0x403396['commentId'],'content':_0x403396['content'],'createdAt':_0x403396['createdAt'],'authorId':_0x403396['userId'],'attributes':_0x403396['attributes']||{}};}function parseLocalCommentToRemote(_0x375d6a,_0x32f147,_0xb42f0e){return{'commentThreadId':_0xb42f0e,'commentId':_0x375d6a['commentId'],'userId':_0x375d6a['authorId'],'content':_0x375d6a['content'],'documentId':_0x32f147,'createdAt':_0x375d6a['createdAt'],'attributes':_0x375d6a['attributes']||{}};}class CloudServicesTrackChangesAdapter extends ckeditor5['Plugin']{static ['TrackChangesService']=/* #__PURE__ -- @preserve */
((()=>_0x16b233)());['_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(_0x2f36ef){super(_0x2f36ef);const _0x4e63c7=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x4e63c7);}['init'](){const _0x2a690e=this['editor']['plugins']['get'](WebSocketGateway),_0x4e22c1=this['editor']['plugins']['get'](TrackChangesEditing);return _0x4e22c1['adapter']={'getSuggestion':async _0x5ccf2d=>{await this['_waitForServiceReady']();const _0x44c122=await this['_trackChangesService']['get'](_0x5ccf2d)['catch'](handleDisconnectionError);return await this['_fetchMissingUsersForThreads']([_0x44c122]),_0x44c122;},'addSuggestion':async({id:_0x116415,type:_0x57feb5,data:_0x5dd71a,originalSuggestionId:_0x49712c,attributes:_0x178e35})=>{await this['_waitForServiceReady']();const _0x31ed2e={'id':_0x116415,'type':_0x57feb5,'data':_0x5dd71a,'originalSuggestionId':_0x49712c,'attributes':_0x178e35},_0x55151c=await this['_trackChangesService']['add'](_0x116415,_0x57feb5,_0x5dd71a,_0x49712c,_0x178e35)['catch'](_0x21e94a=>{if(isDisconnectionError$1(_0x21e94a))return new Promise(_0x2e24e0=>{this['_bufferedRequests']['set'](_0x116415,{'resolve':_0x2e24e0,'suggestionData':_0x31ed2e});});throw _0x21e94a;});return this['_bufferedRequests']['delete'](_0x116415),_0x55151c;},'updateSuggestion':async(_0x304290,_0x3a8fbf)=>{if(await this['_waitForServiceReady'](),'open'!==_0x3a8fbf['state'])return this['_trackChangesService']['update'](_0x304290,_0x3a8fbf)['catch'](handleDisconnectionError);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0xe8e085,_0x5e46f1)=>{_0x4e22c1['hasSuggestion'](_0x5e46f1['id'])&&(_0x4e22c1['getSuggestion'](_0x5e46f1['id'])['attributes']=_0x5e46f1['attributes']);}),this['_trackChangesService']['connect'](_0x2a690e['connection'])['then'](_0x562d96=>(_0x2a690e['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x562d96)['then'](()=>{for(const _0x333cc2 of _0x562d96){_0x4e22c1['addSuggestionData'](_0x333cc2)['_saved']=!0x0;}})));}async['reconnect'](){const _0x3ea471=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x3b74fb}=this['editor']['plugins']['get'](WebSocketGateway),_0x23a68b=await this['_trackChangesService']['connect'](_0x3b74fb);await this['_fetchMissingUsersForThreads'](_0x23a68b);for(const {suggestionData:_0x2a9d44,resolve:_0xd1e97d}of this['_bufferedRequests']['values']()){let _0x22deb7=_0x23a68b['find'](_0x5b43e1=>_0x5b43e1['id']===_0x2a9d44['id']);_0x22deb7||(_0x22deb7=await this['_trackChangesService']['add'](_0x2a9d44['id'],_0x2a9d44['type'],_0x2a9d44['data'],_0x2a9d44['originalSuggestionId'])),_0xd1e97d(_0x22deb7);}for(const _0x2f32d7 of _0x23a68b)_0x3ea471['hasSuggestion'](_0x2f32d7['id'])||_0x3ea471['addSuggestionData'](_0x2f32d7);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0x13200a=>{this['listenTo'](this['_trackChangesService'],'connected',_0x5c1dcd=>{_0x5c1dcd['off'](),_0x13200a();});});}async['_fetchMissingUsersForThreads'](_0x282aba){const _0x1cc547=this['editor']['plugins']['get'](_0x9327be),{connection:_0x18338c}=this['editor']['plugins']['get'](WebSocketGateway),_0x35b798=new Set();for(const {authorId:_0x574b6c}of _0x282aba)_0x1cc547['getUser'](_0x574b6c)||_0x35b798['add'](_0x574b6c);if(0x0===_0x35b798['size'])return;const _0x56ac85=await _0x1a3434['getMany'](_0x18338c,Array['from'](_0x35b798));for(const _0x386439 of _0x56ac85)_0x1cc547['getUser'](_0x386439['id'])||_0x1cc547['addUser'](_0x386439);}}function handleDisconnectionError(_0x4cbdaf){if(isDisconnectionError$1(_0x4cbdaf))return new Promise(()=>{});throw _0x4cbdaf;}function isDisconnectionError$1(_0x2beb69){return _0x2beb69['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x2beb69['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 _0x427766=this['editor']['plugins']['get'](WebSocketGateway),_0x111230=this['editor']['plugins']['get'](CommentsEditing),_0x5821f3=this['editor']['plugins']['get'](CloudServicesCommentsAdapter);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x427766,'change:state',(_0x2b8d83,_0x50839f,_0x203082)=>{_0x111230['isThreadsLoadingPaused']='connected'!==_0x203082;});}),this['listenTo'](_0x427766,'change:state',(_0x3a2888,_0x5a6794,_0x4a2e22)=>{this['editor']['plugins']['get'](CommentsRepository)['switchReadOnly']('connected'!==_0x4a2e22);}),_0x5821f3['_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,_0x1f75c1];}static get['pluginName'](){return'RealTimeCollaborativeTrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0xdfa8c5 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x340379){super(),this['id']=_0x340379['id']||ckeditor5['uid'](),this['creator']=_0x340379['creator']||null,this['authors']=_0x340379['authors']||[],this['diffData']=_0x340379['diffData']||null,this['toVersion']=_0x340379['toVersion']||0x0,this['fromVersion']=_0x340379['fromVersion']||0x0,this['set']('name',_0x340379['name']||''),this['set']('createdAt',_0x340379['createdAt']||new Date()),this['set']('attributes',_0x340379['attributes']||{});}['setName'](_0xaab7d8){this['_update']({'name':_0xaab7d8});}['setAttribute'](_0x425f1f,_0x48a19d){const _0x3ef592=_0x1d6aee(this['attributes']);set(_0x3ef592,_0x425f1f,_0x48a19d),this['_update']({'attributes':_0x3ef592});}['removeAttribute'](_0x59567e){const _0x33b11e=_0x1d6aee(this['attributes']);unset(_0x33b11e,_0x59567e),this['_update']({'attributes':_0x33b11e});}['_update'](_0x25dbc3,_0x2226ba=!0x1){let _0x4aed94=!0x1;const _0x7d2445={'id':this['id']},_0xb141fd=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x1b49b9 of _0xb141fd){const _0x3dfea7=_0x25dbc3[_0x1b49b9];void 0x0!==_0x3dfea7&&_0x3dfea7!==this[_0x1b49b9]&&(this[_0x1b49b9]=_0x3dfea7,_0x7d2445[_0x1b49b9]=_0x3dfea7,_0x4aed94=!0x0);}_0x4aed94&&(_0x7d2445['authors']&&(_0x7d2445['authorsIds']=_0x7d2445['authors']['map'](_0x19e709=>_0x19e709['id']),delete _0x7d2445['authors']),this['fire']('_update',_0x7d2445,_0x2226ba));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1441bd=>_0x1441bd['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[_0x9327be];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x56634f){super(_0x56634f),this['_revisions']=new ckeditor5['Collection']();}['afterInit'](){_0x5c32fa(this);}['createRevision'](_0x324a77){const _0x5190a0=this['editor']['plugins']['get']('Users');return new _0xdfa8c5({'id':_0x324a77['id'],'name':_0x324a77['name'],'creator':_0x324a77['creatorId']?_0x5190a0['getUser'](_0x324a77['creatorId']):null,'diffData':_0x324a77['diffData']||_0x324a77['data'],'authors':_0x324a77['authorsIds']['map'](_0x33df0b=>_0x5190a0['getUser'](_0x33df0b)),'createdAt':new Date(_0x324a77['createdAt']),'attributes':_0x324a77['attributes'],'fromVersion':_0x324a77['fromVersion'],'toVersion':_0x324a77['toVersion']});}['addRevision'](_0x159d28,_0x5655f0=0x0){this['_revisions']['add'](_0x159d28,_0x5655f0);}['getRevision'](_0x3c3f55){return this['_revisions']['get'](_0x3c3f55);}['getRevisions'](_0x3adec2={'toJSON':!0x1}){const _0x353fc5=Array['from'](this['_revisions']);return _0x353fc5['reverse'](),_0x3adec2['toJSON']?_0x353fc5['map'](_0x5c4af5=>_0x5c4af5['toJSON']()):_0x353fc5;}['getIndex'](_0x18f722){return this['_revisions']['getIndex'](_0x18f722);}['getEarlierVisibleRevision'](_0x390603){const [,_0x4be30c]=this['getRevisionsIterator'](_0x390603,{'direction':'earlier'});return _0x4be30c;}['getLaterVisibleRevision'](_0xb1c888){const [,_0x46f0e9]=this['getRevisionsIterator'](_0xb1c888,{'direction':'later'});return _0x46f0e9;}['getRevisionsInDiff'](_0x2da8dc){const _0x310a62=[];for(const _0x144c90 of this['getRevisionsIterator'](_0x2da8dc['newRevisionId']))if(_0x310a62['push'](_0x144c90),_0x144c90['id']===_0x2da8dc['oldRevisionId'])break;return _0x310a62;}*['getRevisionsIterator'](_0x44c9f4,{direction:_0x194c6f='earlier',filter:_0x2e926c=()=>!0x0}={}){const _0x5b16d3='earlier'===_0x194c6f?0x1:-0x1;let _0x45e9a0=this['_revisions']['get'](_0x44c9f4),_0x25f070=this['getIndex'](_0x45e9a0);for(yield _0x45e9a0;_0x45e9a0;){if(_0x25f070+=_0x5b16d3,_0x45e9a0=this['getRevision'](_0x25f070),!_0x45e9a0)return;_0x2e926c(_0x45e9a0)&&(yield _0x45e9a0);}}}async function _0x5c32fa(_0x289c66){const _0xd583cf=_0x31c76d([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]),_0x31fe51=0xeb829,_0x3a3aa2=window[_0x31c76d([0x44,0x61,0x74,0x65])][_0x31c76d([0x6e,0x6f,0x77])](),_0x208b3f=_0x289c66[_0x31c76d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2dcff3=new window[(_0x31c76d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d7448=>{_0x208b3f[_0x31c76d([0x6f,0x6e,0x63,0x65])](_0x31c76d([0x72,0x65,0x61,0x64,0x79]),_0x4d7448);}),_0x5c0c7c={[_0x31c76d([0x6b,0x74,0x79])]:_0x31c76d([0x45,0x43]),[_0x31c76d([0x75,0x73,0x65])]:_0x31c76d([0x73,0x69,0x67]),[_0x31c76d([0x63,0x72,0x76])]:_0x31c76d([0x50,0x2d,0x32,0x35,0x36]),[_0x31c76d([0x78])]:_0x31c76d([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]),[_0x31c76d([0x79])]:_0x31c76d([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]),[_0x31c76d([0x61,0x6c,0x67])]:_0x31c76d([0x45,0x53,0x32,0x35,0x36])},_0x39f7f1=_0x208b3f[_0x31c76d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x31c76d([0x67,0x65,0x74])](_0x31c76d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2afc6d=await(async function(){let _0x4c5a3c,_0x13a2ba=null,_0x50c02d=null;try{if(_0x39f7f1==_0x31c76d([0x47,0x50,0x4c]))return _0x31c76d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4c5a3c=(function(){const _0x1df0f0=_0x39f7f1[_0x31c76d([0x73,0x70,0x6c,0x69,0x74])](_0x31c76d([0x2e]));if(0x3!=_0x1df0f0[_0x31c76d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5d5e9e=_0x1df0f0[0x1];return _0x34e42a(_0x5d5e9e);function _0x34e42a(_0x5f25b1){const _0xd2a861=_0x505740(_0x5f25b1);return _0xd2a861&&_0x2fb96a()?_0xd2a861:null;function _0x2fb96a(){const _0x10d43e=_0xd2a861[_0x31c76d([0x6a,0x74,0x69])],_0x3c7453=window[_0x31c76d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10d43e[_0x31c76d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10d43e[_0x31c76d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x787d65={..._0xd2a861,[_0x31c76d([0x6a,0x74,0x69])]:_0x10d43e[_0x31c76d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x10d43e[_0x31c76d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x787d65[_0x31c76d([0x76,0x63])],_0x90fa48(_0x787d65)==_0x3c7453;}}}()),!_0x4c5a3c)return _0x31c76d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x4c5a3c[_0x31c76d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x50c02d=function(_0x45b794,_0x36f7fa){return new window[(_0x31c76d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f4e5b=>{if(_0x9dcfd())return _0x1f4e5b(_0x31c76d([0x56,0x61,0x6c,0x69,0x64]));_0x1a0f06(),_0x208b3f[_0x31c76d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x31c76d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4dce6a=!0x1;const _0x5cb053=ckeditor5['uid']();function _0x42c001(_0x32418a){return!!_0x32418a&&(typeof _0x32418a===_0x31c76d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32418a===_0x31c76d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32418a[_0x31c76d([0x74,0x68,0x65,0x6e])]===_0x31c76d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32418a[_0x31c76d([0x63,0x61,0x74,0x63,0x68])]===_0x31c76d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1dc550(_0x1f44d0){_0x2ee0ce(_0x1f44d0)[_0x31c76d([0x74,0x68,0x65,0x6e])](_0x106264=>{if(!_0x106264||_0x106264[_0x31c76d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x31c76d([0x6f,0x6b]))return _0x31c76d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x13f3db(_0x90fa48(_0x5cb053+_0x36f7fa))!=_0x106264[_0x31c76d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x31c76d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x31c76d([0x56,0x61,0x6c,0x69,0x64]);})[_0x31c76d([0x74,0x68,0x65,0x6e])](_0x52ce43=>(_0x179907(),_0x52ce43),()=>{const _0x541986=_0x2b32ce();return null==_0x541986?(_0x179907(),_0x31c76d([0x56,0x61,0x6c,0x69,0x64])):_0x31c76d(_0x3a3aa2-_0x541986>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x31c76d([0x74,0x68,0x65,0x6e])](_0x1f4e5b)[_0x31c76d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f4e5b(_0x31c76d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x435386=0x36ee80;function _0x179907(){const _0x5ab62f=_0x31c76d([0x6c,0x6c,0x63,0x74,0x2d])+_0x13f3db(_0x90fa48(_0x45b794)),_0x11ffab=_0x553bd3(_0x13f3db(window[_0x31c76d([0x4d,0x61,0x74,0x68])][_0x31c76d([0x63,0x65,0x69,0x6c])](_0x3a3aa2/_0x435386)));window[_0x31c76d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31c76d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ab62f,_0x11ffab);}function _0x2b32ce(){const _0x4b943c=_0x31c76d([0x6c,0x6c,0x63,0x74,0x2d])+_0x13f3db(_0x90fa48(_0x45b794)),_0x1861ea=window[_0x31c76d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31c76d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b943c);return _0x1861ea?window[_0x31c76d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x553bd3(_0x1861ea),0x10)*_0x435386:null;}function _0x2ee0ce(_0x5de34d){return new window[(_0x31c76d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x102075,_0x4643a0)=>{_0x5de34d[_0x31c76d([0x74,0x68,0x65,0x6e])](_0x102075,_0x4643a0),window[_0x31c76d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4643a0,0x1d4c0);});}}_0x208b3f[_0x31c76d([0x6f,0x6e])](_0x31c76d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x59e1d8,_0x26483b)=>{if(_0x26483b[0x0]!=_0x45b794)return _0x1f4e5b(_0x31c76d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x26483b[0x1]={..._0x26483b[0x1],[_0x31c76d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5cb053};},{[_0x31c76d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31c76d([0x68,0x69,0x67,0x68])}),_0x208b3f[_0x31c76d([0x6f,0x6e])](_0x31c76d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x284c95=>{_0x42c001(_0x284c95[_0x31c76d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4dce6a=!0x0,_0x1dc550(_0x284c95[_0x31c76d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x31c76d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31c76d([0x6c,0x6f,0x77])}),_0x2dcff3[_0x31c76d([0x74,0x68,0x65,0x6e])](()=>{_0x4dce6a||_0x1f4e5b(_0x31c76d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x9dcfd(){return _0x208b3f[_0x31c76d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31c76d([0x76,0x69,0x65,0x77])][_0x31c76d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x31c76d([0x61,0x75,0x74,0x6f]);}function _0x1a0f06(){_0x208b3f[_0x31c76d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31c76d([0x76,0x69,0x65,0x77])][_0x31c76d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x31c76d([0x61,0x75,0x74,0x6f]);}}(_0x4c5a3c[_0x31c76d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4c5a3c[_0x31c76d([0x6a,0x74,0x69])]));const _0x1a5a88=await(async function(){let _0x14e50e=!0x0;try{const _0x370085=_0x39f7f1[_0x31c76d([0x73,0x70,0x6c,0x69,0x74])](_0x31c76d([0x2e])),[_0x307254,_0x38d200,_0x23fecd]=_0x370085;return _0x54792a(_0x307254),await _0x36f9f0(_0x307254,_0x38d200,_0x23fecd),_0x14e50e;}catch{return!0x1;}function _0x54792a(_0x3d69dc){const _0x140c7e=_0x505740(_0x3d69dc);_0x140c7e&&_0x140c7e[_0x31c76d([0x61,0x6c,0x67])]==_0x31c76d([0x45,0x53,0x32,0x35,0x36])||(_0x14e50e=!0x1);}async function _0x36f9f0(_0x1b3870,_0x44aed5,_0x124a39){const _0x158249=window[_0x31c76d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x31c76d([0x66,0x72,0x6f,0x6d])](_0x439f6a(_0x124a39),_0x277768=>_0x277768[_0x31c76d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x54b77e=new window[(_0x31c76d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x31c76d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b3870+_0x31c76d([0x2e])+_0x44aed5),_0x10726f=window[_0x31c76d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x31c76d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x10726f)return;const _0x25bfaa=await _0x10726f[_0x31c76d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x31c76d([0x6a,0x77,0x6b]),_0x5c0c7c,{[_0x31c76d([0x6e,0x61,0x6d,0x65])]:_0x31c76d([0x45,0x43,0x44,0x53,0x41]),[_0x31c76d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x31c76d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x31c76d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x10726f[_0x31c76d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x31c76d([0x6e,0x61,0x6d,0x65])]:_0x31c76d([0x45,0x43,0x44,0x53,0x41]),[_0x31c76d([0x68,0x61,0x73,0x68])]:{[_0x31c76d([0x6e,0x61,0x6d,0x65])]:_0x31c76d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25bfaa,_0x158249,_0x54b77e)||(_0x14e50e=!0x1);}}());return _0x1a5a88?(function(){const _0xdebe19=_0x4c5a3c[_0x31c76d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0xdebe19)return!0x1;if(_0xdebe19[_0x31c76d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31c76d([0x2a])))return!0x0;if(_0xdebe19[_0x31c76d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31c76d([0x52,0x48])))return!0x0;if(_0xdebe19[_0x31c76d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31c76d([0x52,0x52,0x48]))){if(_0x5944c0(_0x31c76d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x243c34(_0x31c76d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x31c76d([0x73,0x74,0x61,0x74,0x65])]==_0x31c76d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x5944c0(_0x31c76d([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]))||_0x5944c0(_0x31c76d([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 _0x3ff788=[_0x31c76d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x31c76d([0x74,0x72,0x69,0x61,0x6c])][_0x31c76d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5a3c[_0x31c76d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a3aa2/0x3e8:0x69cb0e80;return _0x4c5a3c[_0x31c76d([0x65,0x78,0x70])]<_0x3ff788;}())?_0x31c76d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x8c62d6=_0x4c5a3c[_0x31c76d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x8c62d6||0x0==_0x8c62d6[_0x31c76d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x325b44}=new URL(window[_0x31c76d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x8c62d6[_0x31c76d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x325b44))return!0x0;const _0x24f042=_0x325b44[_0x31c76d([0x73,0x70,0x6c,0x69,0x74])](_0x31c76d([0x2e]));return _0x8c62d6[_0x31c76d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f00aa=>_0x3f00aa[_0x31c76d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31c76d([0x2a])))[_0x31c76d([0x6d,0x61,0x70])](_0x2547fb=>_0x2547fb[_0x31c76d([0x73,0x70,0x6c,0x69,0x74])](_0x31c76d([0x2e])))[_0x31c76d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x324bc8=>_0x324bc8[_0x31c76d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24f042[_0x31c76d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31c76d([0x6d,0x61,0x70])](_0x4d989e=>Array(_0x24f042[_0x31c76d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4d989e[_0x31c76d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31c76d([0x66,0x69,0x6c,0x6c])](_0x4d989e[0x0]===_0x31c76d([0x2a])?_0x31c76d([0x2a]):'')[_0x31c76d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4d989e))[_0x31c76d([0x73,0x6f,0x6d,0x65])](_0x4084bb=>_0x24f042[_0x31c76d([0x65,0x76,0x65,0x72,0x79])]((_0x1e2d52,_0x6b1f3e)=>_0x4084bb[_0x6b1f3e]===_0x1e2d52||_0x4084bb[_0x6b1f3e]===_0x31c76d([0x2a])));}())?(_0x4c5a3c[_0x31c76d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31c76d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x13a2ba=function(_0x394d52){const _0x285ef6=new window[(_0x31c76d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24a68f=>setTimeout(_0x24a68f,0x93ecc)),_0x59b517=_0x2dcff3[_0x31c76d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x31c76d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x238965=>{const _0x31c263=0x7,_0x2f5f85=_0x289c66[_0x31c76d([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x491265(){_0x2f5f85[_0x31c76d([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x31c263&&_0x238965();}_0x491265(),_0x2f5f85[_0x31c76d([0x6f,0x6e])](_0x31c76d([0x61,0x64,0x64]),_0x491265);})),_0x3e0bae=new window[(_0x31c76d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59f838=>{function _0x2ca993(){for(const _0xbc9ef3 in window)if(window[_0x31c76d([0x4e,0x75,0x6d,0x62,0x65,0x72])]['isNaN'](window[_0x31c76d([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0xbc9ef3))&&window[_0xbc9ef3]==_0x31fe51)return _0x59f838();_0x208b3f[_0x31c76d([0x73,0x74,0x61,0x74,0x65])]!=_0x31c76d([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x31c76d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ca993,0x1388);}_0x5944c0(_0x31c76d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x2ca993();}),_0xf91c90=[_0x285ef6,_0x59b517,_0x3e0bae];return window[_0x31c76d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x31c76d([0x72,0x61,0x63,0x65])](_0xf91c90)[_0x31c76d([0x74,0x68,0x65,0x6e])](()=>_0x394d52);}(_0x31c76d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x13a2ba&&_0x50c02d)return new window[(_0x31c76d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17b702,_0x495169)=>{_0x13a2ba[_0x31c76d([0x74,0x68,0x65,0x6e])](_0x17b702,_0x495169),_0x50c02d[_0x31c76d([0x74,0x68,0x65,0x6e])](_0x102ff7=>{_0x102ff7!=_0x31c76d([0x56,0x61,0x6c,0x69,0x64])&&_0x17b702(_0x102ff7);},_0x495169);});return _0x13a2ba||_0x50c02d||_0x31c76d([0x56,0x61,0x6c,0x69,0x64]);}())):_0x31c76d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x31c76d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x31c76d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x31c76d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0xeced1f(){const _0x139b74=window[_0x31c76d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x31c76d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x31c76d([0x6e,0x6f,0x77])]())[_0x31c76d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x31c76d([0x2e]),'');let _0x32ed04=_0x31c76d([0x76]);for(let _0x4b3edb=0x0;_0x4b3edb<_0x139b74[_0x31c76d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b3edb+=0x2){let _0x1c7785=window[_0x31c76d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x139b74[_0x31c76d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b3edb,_0x4b3edb+0x2));_0x1c7785>=_0xd583cf[_0x31c76d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1c7785-=_0xd583cf[_0x31c76d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32ed04+=_0xd583cf[_0x1c7785];}return _0x32ed04;}function _0x505740(_0x276293){return _0x276293[_0x31c76d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x31c76d([0x65,0x79]))?JSON[_0x31c76d([0x70,0x61,0x72,0x73,0x65])](_0x439f6a(_0x276293)):null;}function _0x439f6a(_0x325b9a){return window[_0x31c76d([0x61,0x74,0x6f,0x62])](_0x325b9a[_0x31c76d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x31c76d([0x2b]))[_0x31c76d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x31c76d([0x2f])));}function _0x90fa48(_0x4c779e){let _0x4f33f0=0x1505;function _0x2a193d(_0x362dbd){for(let _0x30bf0b=0x0;_0x30bf0b<_0x362dbd[_0x31c76d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30bf0b++){const _0x5ed0f8=_0x362dbd[_0x31c76d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x30bf0b);_0x4f33f0=(_0x4f33f0<<0x5)+_0x4f33f0+_0x5ed0f8,_0x4f33f0&=_0x4f33f0;}}return function _0x461107(_0x296211){Array[_0x31c76d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x296211)?_0x296211[_0x31c76d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x461107):_0x296211&&typeof _0x296211==_0x31c76d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x31c76d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x296211)[_0x31c76d([0x73,0x6f,0x72,0x74])]()[_0x31c76d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1fc6ef,_0x491cc5])=>{_0x2a193d(_0x1fc6ef),_0x461107(_0x491cc5);}):_0x2a193d(window[_0x31c76d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x296211));}(_0x4c779e),_0x4f33f0>>>0x0;}function _0x13f3db(_0x451b1f){return _0x451b1f[_0x31c76d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x31c76d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x31c76d([0x30]));}function _0x553bd3(_0xf84297){return _0xf84297[_0x31c76d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x31c76d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x31c76d([0x6a,0x6f,0x69,0x6e])]('');}function _0x5944c0(_0x3aa76b){return _0x208b3f[_0x31c76d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x31c76d([0x68,0x61,0x73])](_0x3aa76b);}function _0x243c34(_0xd17c8f){return _0x208b3f[_0x31c76d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x31c76d([0x67,0x65,0x74])](_0xd17c8f);}function _0x576786(){}function _0x31c76d(_0x487488){return _0x487488['map'](_0x85b539=>String['fromCharCode'](_0x85b539))['join']('');}!function(_0x4ccf4c){const _0x2e7b7f=_0xeced1f();_0x208b3f[_0x2e7b7f]=_0x31c76d([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])+_0x4ccf4c,_0x4ccf4c[_0x31c76d([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x31c76d([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0xeced1f()]=_0x31fe51),_0x4ccf4c!=_0x31c76d([0x56,0x61,0x6c,0x69,0x64])&&(async function(){if(await _0x2dcff3,_0x5944c0(_0x31c76d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x18877d=_0x289c66[_0x31c76d([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0xfdab1b=_0x289c66[_0x31c76d([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])](_0x18877d[_0x31c76d([0x69,0x64])]),_0x3fd7bb=_0x243c34(_0x31c76d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x3fd7bb[_0x31c76d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x18877d['id'],_0xfdab1b?_0xfdab1b['id']:null,!0x0),_0x3fd7bb[_0x31c76d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x31c76d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3fd7bb[_0x31c76d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3fd7bb[_0x31c76d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x576786,void(_0x3fd7bb[_0x31c76d([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x576786);}if(_0x5944c0(_0x31c76d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x3ce82b=_0x243c34(_0x31c76d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x3ce82b[_0x31c76d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x31c76d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3ce82b[_0x31c76d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3ce82b[_0x31c76d([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x576786,_0x3ce82b[_0x31c76d([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x576786;}_0x208b3f[_0x31c76d([0x6d,0x6f,0x64,0x65,0x6c])][_0x31c76d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x576786,_0x208b3f[_0x31c76d([0x6d,0x6f,0x64,0x65,0x6c])][_0x31c76d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x576786,_0x208b3f[_0x31c76d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x31c76d([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x2afc6d);}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'](_0x3bd24a,_0x12365a){if(_0x3bd24a['diffData']||!_0x12365a)return;const _0x31d465=this['editor']['config']['get']('collaboration.channelId'),_0x41b9b3=await _0x12365a['getRevision']({'channelId':_0x31d465,'revisionId':_0x3bd24a['id']});_0x3bd24a['diffData']=_0x41b9b3['diffData'];}['getRevisionDocumentData'](_0x2f9e1d){const _0x50b365={};for(const _0x178b07 in _0x2f9e1d['diffData']){if(_0x2f9e1d['diffData'][_0x178b07]['attachChange']&&!_0x2f9e1d['diffData'][_0x178b07]['attachChange']['isAttached'])continue;const _0x440765=this['_removeRevisionMarkers'](JSON['parse'](_0x2f9e1d['diffData'][_0x178b07]['insertions'])),_0x48240d=this['editor']['editing']['view']['document'],_0x3d6b45=new ckeditor5['ViewDocumentFragment'](_0x48240d,_0x440765['map'](_0x4ee2c9=>this['_getViewFromDiffObj'](_0x4ee2c9,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x50b365[_0x178b07]=this['editor']['data']['processor']['toData'](_0x3d6b45),this['editor']['data']['processor']['useFillerType']('default');}return _0x50b365;}['getRevisionRootsAttributes'](_0x56770e){const _0x52e765={};for(const _0x3159d7 in _0x56770e['diffData'])_0x56770e['diffData'][_0x3159d7]['attachChange']&&!_0x56770e['diffData'][_0x3159d7]['attachChange']['isAttached']||(_0x52e765[_0x3159d7]=_0x56770e['diffData'][_0x3159d7]['attributesAfter']||{});return _0x52e765;}['_getTypeCharForViewElement'](_0x5cd4d8){return this['_viewClassToTypeChar']['get'](_0x5cd4d8['constructor']);}['_getViewFromDiffObj'](_0x39642c,_0x36f73d){const _0x223b9d=this['editor']['editing']['view']['document'];if('string'==typeof _0x39642c)return new ckeditor5['ViewText'](_0x223b9d,_0x39642c);{let _0x234bf0,_0x4d6df6;_0x4d6df6='u'==_0x39642c['type']||'r'==_0x39642c['type']?[]:_0x39642c['children']['map'](_0xb24c1a=>this['_getViewFromDiffObj'](_0xb24c1a,_0x36f73d));const _0x3678fe=this['_typeCharToViewClass']['get'](_0x39642c['type'])||ckeditor5['ViewElement'],_0x152a3c=this['editor']['data']['htmlProcessor']['domConverter'];if(_0x234bf0=new _0x3678fe(_0x223b9d,_0x39642c['name'],_0x39642c['attributes'],_0x4d6df6),'u'==_0x39642c['type']&&_0x39642c['children'][0x0]){const _0x445630=_0x39642c['children'][0x0];if(_0x234bf0['render']=function(_0x1e5729){const _0x4209b1=_0x1e5729['createElement']('div');return _0x4209b1['innerHTML']=_0x445630,_0x4209b1['childNodes'][0x0];},_0x36f73d){const _0x228459=new ckeditor5['ViewDocumentFragment'](_0x223b9d);_0x228459['_appendChild'](_0x234bf0);const _0x438b3b=Array['from'](_0x152a3c['viewChildrenToDom'](_0x228459,{'bind':!0x1})),_0x107b29=_0x152a3c['domDocument']['createElement']('div');_0x107b29['append'](..._0x438b3b),_0x234bf0=Array['from'](_0x152a3c['domChildrenToView'](_0x107b29))[0x0];}}else{if('r'==_0x39642c['type']&&_0x39642c['children'][0x0]){const _0x16c5dd=_0x39642c['children'][0x0];if(_0x234bf0['render']=function(_0x2a8776){_0x2a8776['innerHTML']=_0x16c5dd;},_0x36f73d){const _0x52ae49=new ckeditor5['ViewDocumentFragment'](_0x223b9d);_0x52ae49['_appendChild'](_0x234bf0);const _0x29be9a=Array['from'](_0x152a3c['viewChildrenToDom'](_0x52ae49,{'bind':!0x1})),_0x27d578=_0x152a3c['domDocument']['createElement']('div');_0x27d578['append'](..._0x29be9a);const _0x23f14b=Array['from'](_0x152a3c['domChildrenToView'](_0x27d578));_0x23f14b['length']>0x1?_0x234bf0['_appendChild'](_0x23f14b):_0x234bf0=_0x23f14b[0x0];}}}if(_0x39642c['customProperties']){for(const [_0x426377,_0x36937a]of _0x39642c['customProperties'])_0x234bf0['_setCustomProperty'](_0x426377,_0x36937a);}const _0x24590a=void 0x0===_0x39642c['fillerOffset']?null:_0x39642c['fillerOffset'];return null!==_0x24590a&&(_0x234bf0['getFillerOffset']=()=>_0x24590a),_0x234bf0;}}['_makeModelFromViewString'](_0x8df50c){const _0x46b063=JSON['parse'](_0x8df50c),_0x253ffb=this['editor']['editing']['view']['document'],_0x56ef07=new ckeditor5['ViewDocumentFragment'](_0x253ffb,_0x46b063['map'](_0x4ee522=>this['_getViewFromDiffObj'](_0x4ee522,!0x0)));return this['editor']['data']['toModel'](_0x56ef07);}['_removeRevisionMarkers'](_0x46f11d){return(_0x46f11d=_0x46f11d['filter'](_0x3e3be8=>!_0x3e3be8['name']||'revision-start'!==_0x3e3be8['name']&&'revision-end'!==_0x3e3be8['name']))['forEach'](_0x360c37=>{'string'!=typeof _0x360c37&&(_0x360c37['children']=this['_removeRevisionMarkers'](_0x360c37['children']),_0x360c37['attributes']=_0x360c37['attributes']['filter'](_0x279ac6=>!_0x279ac6[0x0]['startsWith']('data-revision-')));}),_0x46f11d;}}function getTranslation$4(_0x5d6f7a,_0x3b3920,_0xfcd138){const t=_0x5d6f7a['t'];switch(_0x3b3920){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'},_0xfcd138);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xfcd138);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 _0x3fbef5 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[_0x9327be,RevisionsRepository,RevisionHistoryUtils,ckeditor5['PendingActions']];}constructor(_0x174d24){super(_0x174d24),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 _0x598ce8=ckeditor5['uid']();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x598ce8},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 _0x5a5bda=this['repository']['getRevision'](0x0),_0x6b5292=_0x5a5bda&&null===_0x5a5bda['creator']?_0x5a5bda:null;if(this['_continueCurrentRevision']=!!_0x6b5292&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x1157f4=this['_source']['getCurrentRevisionId'](),_0x4ce728=this['repository']['getRevision'](_0x1157f4);if(_0x4ce728)this['_startingVersion']=_0x4ce728['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x5c2d34=this['_source']['history']['_operations']['find'](_0x3e8450=>!_0x3e8450['_isInit']),_0x2e5a90=_0x5c2d34?_0x5c2d34['baseVersion']:this['_source']['history']['version'];_0x5a5bda?(_0x5a5bda['toVersion']<_0x2e5a90&&_0x5a5bda['_update']({'toVersion':_0x2e5a90}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x6b5292['id'],this['_startingVersion']=_0x6b5292['fromVersion']):(this['_startingVersion']=_0x5a5bda['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x2e5a90,this['_continueCurrentRevision']=!0x1);}}else _0x6b5292&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x6b5292['toVersion'],this['editor']['model']['document']['history']['version']),_0x6b5292['fromVersion']===_0x6b5292['toVersion']?(0x0!==_0x6b5292['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x6b5292['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x6b5292['id'],this['_startingVersion']=_0x6b5292['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',_0x57f3fa=>!_0x57f3fa),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x428fb3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3a6e1b;for(const _0x2b49b4 in _0x428fb3){const _0x22a346=_0x2b49b4,_0x4cc783=_0x428fb3[_0x22a346];if('revisionHistoryLicenseKeyValid'==_0x4cc783||'revisionHistoryLicenseKeyInvalid'==_0x4cc783||'revisionHistoryLicenseKeyExpired'==_0x4cc783||'revisionHistoryLicenseKeyDomainLimit'==_0x4cc783||'revisionHistoryLicenseKeyNotAllowed'==_0x4cc783||'revisionHistoryLicenseKeyEvaluationLimit'==_0x4cc783||'revisionHistoryLicenseKeyUsageLimit'==_0x4cc783){delete _0x428fb3[_0x22a346],_0x3a6e1b=_0x4cc783,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x3a6e1b&&_0x428fb3['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x3a6e1b&&_0x428fb3['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x3a6e1b&&_0x428fb3['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x3a6e1b&&_0x428fb3['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x3a6e1b&&_0x428fb3['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x3a6e1b&&_0x428fb3['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x37410b=this['repository']['getRevision'](0x0),_0x545088=await this['getRevisionDocumentData'](_0x37410b),_0xcdecc0=await this['getRevisionRootsAttributes'](_0x37410b);this['_replaceEditorDataWithRevisionData'](_0x545088,_0xcdecc0);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x33b1de){this['_source']=_0x33b1de;}async['update'](){const _0x34ad82=await this['_source']['getLatestVersion']();if(_0x34ad82>this['currentRevision']['toVersion']){await this['_loadState']();const _0x15584b=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x34ad82});_0x15584b['authors']=_0x15584b['authorsIds']['map'](_0x440c23=>this['editor']['plugins']['get']('Users')['getUser'](_0x440c23)),this['currentRevision']['_update'](_0x15584b);}}async['saveRevision'](_0x1a0d91={},_0x2171a9=null){const _0xb843f1=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2171a9>this['currentRevision']['toVersion']&&(_0x2171a9=null),null===_0x2171a9&&(_0x2171a9=await this['_source']['getLatestVersion']());const _0x3e83f9=this['_getFromVersion'](_0x2171a9),_0x207943=this['buildRevisionData']({'from':_0x3e83f9,'to':_0x2171a9});if(this['currentRevision']['toVersion']<_0x2171a9){const _0xd07500=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2171a9,'to':_0x2171a9});_0xd07500['authors']=[],_0xd07500['authorsIds']=[],_0xd07500['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0xd07500,!0x0),delete _0xd07500['authors'],_0xb843f1['push'](_0xd07500);}_0x1a0d91['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x1a0d91['name']=_0x1a0d91['name']||null,_0x1a0d91['id']=_0x1a0d91['id']||ckeditor5['uid'](),_0x1a0d91={..._0x1a0d91,..._0x207943};const _0x568e60=this['addRevisionData'](_0x1a0d91);_0xb843f1['push'](_0x1a0d91);const _0x5f18cb=this['repository']['getIndex'](_0x568e60);if(0x0!==_0x5f18cb){const _0x3a9107=this['repository']['getRevision'](_0x5f18cb-0x1);if(_0x3a9107['fromVersion']!==_0x2171a9){const _0x443f77=this['_revisionDataBuilder']['getData'](_0x2171a9,_0x3a9107['toVersion']),_0x1d0be5={'id':_0x3a9107['id'],'diffData':_0x443f77['diffData'],'authorsIds':_0x443f77['authorsIds'],'authors':_0x443f77['authorsIds']['map'](_0x34808c=>this['editor']['plugins']['get']('Users')['getUser'](_0x34808c)),'fromVersion':_0x2171a9};_0x3a9107===this['currentRevision']&&(_0x1d0be5['createdAt']=new Date(_0x1a0d91['createdAt']['getTime']()+0xa)),_0x3a9107['_update'](_0x1d0be5,!0x0),delete _0x1d0be5['authors'],_0xb843f1['push'](_0x1d0be5);}}if(this['adapter']){for(const _0x5925e0 of _0xb843f1)this['_bufferUpdate'](_0x5925e0['id'],_0x5925e0,!0x0);this['sendBufferedUpdates']();}return _0x568e60;}['addRevisionData'](_0x20b447){const _0x4890fb=this['repository']['createRevision'](_0x20b447);return this['adapter']&&_0x4890fb['on']('_update',(_0x1cc617,_0x4311f2,_0x2c05a5)=>{_0x2c05a5||(this['_bufferUpdate'](_0x4311f2['id'],_0x4311f2,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4890fb,this['_findInsertionIndex'](_0x4890fb)),_0x4890fb;}async['getRevisionDocumentData'](_0x3d67b7){return await this['_utils']['loadRevisionData'](_0x3d67b7,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x3d67b7);}async['getRevisionRootsAttributes'](_0x1098aa){return await this['_utils']['loadRevisionData'](_0x1098aa,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x1098aa);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x3d2399=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x2428f0=0x0;_0x2428f0<_0x3d2399['length'];_0x2428f0++){const _0x349a8c=_0x3d2399[_0x2428f0];let _0x4a5c28=!0x1;for(const _0x20fe83 of Object['keys'](_0x349a8c))void 0x0===_0x349a8c[_0x20fe83]?delete _0x349a8c[_0x20fe83]:'id'!==_0x20fe83&&(_0x4a5c28=!0x0);_0x4a5c28||(_0x3d2399[_0x2428f0]=null);}if(_0x3d2399=_0x3d2399['filter'](_0x25517c=>null!==_0x25517c),!_0x3d2399['length'])return;for(let _0x147666=0x0;_0x147666<_0x3d2399['length'];_0x147666++){const _0x16b184=_0x3d2399[_0x147666];void 0x0!==_0x16b184['fromVersion']&&void 0x0===_0x16b184['toVersion']&&(_0x16b184['toVersion']=this['repository']['getRevision'](_0x16b184['id'])['toVersion']),void 0x0!==_0x16b184['toVersion']&&void 0x0===_0x16b184['fromVersion']&&(_0x16b184['fromVersion']=this['repository']['getRevision'](_0x16b184['id'])['fromVersion']);}const _0x4c06a2=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x3d2399,_0x4c06a2)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x304aad=>{if(_0x304aad){for(const _0x555584 of _0x304aad)this['setRevisionData']({'id':_0x555584['id'],'createdAt':_0x555584['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x1b001a=null,from:_0x436cc9=null,to:_0x992d9c=null}){_0x436cc9=null!==_0x436cc9?_0x436cc9:_0x1b001a['fromVersion'],_0x992d9c=null!==_0x992d9c?_0x992d9c:_0x1b001a['toVersion'];const _0x4b1fb3=this['_revisionDataBuilder']['getData'](_0x436cc9,_0x992d9c),_0x55fefa={'diffData':_0x4b1fb3['diffData'],'authorsIds':_0x4b1fb3['authorsIds'],'fromVersion':_0x436cc9,'toVersion':_0x992d9c};if(!_0x1b001a||_0x992d9c!==_0x1b001a['toVersion']){const _0x1f278a=_0x992d9c-0x1,_0x31ae69=this['_source']['history']['getOperation'](_0x1f278a);_0x55fefa['createdAt']=_0x31ae69&&_0x31ae69['createdAt']||new Date();}if(this['_loadedStateData']&&_0x436cc9===this['_loadedStateData']['fromVersion']){for(const _0x137a86 of this['_loadedStateData']['authors'])_0x55fefa['authorsIds']['includes'](_0x137a86['id'])||_0x55fefa['authorsIds']['push'](_0x137a86['id']);}return _0x55fefa;}['_bufferUpdate'](_0x2a41ca,_0x1930fb,_0x346f1d){if(this['_bufferedUpdates']['has'](_0x2a41ca)){const _0x5c0bff=this['_bufferedUpdates']['get'](_0x2a41ca);_0x1930fb=_0x346f1d?{..._0x5c0bff,..._0x1930fb}:{..._0x1930fb,..._0x5c0bff};}this['_bufferedUpdates']['set'](_0x2a41ca,_0x1930fb);}['setRevisionData'](_0x4d2119){const _0x224a7d=this['repository']['getRevision'](_0x4d2119['id']);if(_0x4d2119['createdAt']&&(_0x4d2119['createdAt']=new Date(_0x4d2119['createdAt'])),_0x4d2119['authorsIds']){const _0x4f770b=this['editor']['plugins']['get']('Users');_0x4d2119['authors']=_0x4d2119['authorsIds']['map'](_0x4fcb9e=>_0x4f770b['getUser'](_0x4fcb9e));}_0x224a7d['_update'](_0x4d2119,!0x0);}['_createInitialRevision'](_0x41ddbf){const _0x5a749b=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x5a749b)this['_initialRevisionId']=_0x5a749b['id'];else{const _0xdc34bf=!this['editor']['model']['document']['roots']['find'](_0x265f27=>this['editor']['model']['hasContent'](_0x265f27)),_0x25ccdf=this['editor']['plugins']['get']('Users')['me']['id'],_0x220bd4=getTranslation$4(this['editor']['locale'],_0xdc34bf?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x41ddbf,'to':_0x41ddbf,'id':this['_initialRevisionId'],'name':_0x220bd4,'creatorId':_0x25ccdf});}}['_createCurrentRevision'](_0x365fcb){const _0x25c626=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x25c626),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x365fcb,'to':_0x365fcb,'id':_0x25c626,'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'](_0x3c5f6e,_0x2cfd13){const _0x33694a={},_0x466afa={},_0x16905c=this['editor']['config']['get']('roots')||{};for(const [_0x11244e,_0x22d6cc]of Object['entries'](_0x16905c))_0x22d6cc['lazyLoad']||(_0x33694a[_0x11244e]=_0x22d6cc['initialData']??'',_0x466afa[_0x11244e]=_0x22d6cc['modelAttributes']||{});for(const _0x2f9e74 of this['editor']['model']['document']['getRootNames']())_0x33694a[_0x2f9e74]??='',_0x466afa[_0x2f9e74]??={};let _0x50d395=!0x1;const _0x1d2849=Object['keys'](_0x33694a),_0x49f400=Object['keys'](_0x3c5f6e);for(const _0x8eefca of _0x1d2849){if(_0x33694a[_0x8eefca]!==_0x3c5f6e[_0x8eefca]&&''!==_0x33694a[_0x8eefca]['trim']()){_0x50d395=!0x0;break;}if(!_0x541aea(_0x466afa[_0x8eefca],_0x2cfd13[_0x8eefca])&&Object['keys'](_0x466afa[_0x8eefca])['length']>0x0){_0x50d395=!0x0;break;}}_0x50d395||(_0x50d395=_0x49f400['some'](_0x53408e=>!this['editor']['model']['document']['getRoot'](_0x53408e))),_0x50d395&&ckeditor5['logWarning']('editor-initial-data-replaced-with-revision-data',{'editorData':_0x33694a,'editorRootsAttributes':_0x466afa,'revisionData':_0x3c5f6e,'revisionRootsAttributes':_0x2cfd13});for(const [_0x9f476e,_0xc4566]of Object['entries'](_0x3c5f6e))this['editor']['config']['set']('roots.'+_0x9f476e+'.initialData',_0xc4566);for(const [_0x18112a,_0x1f5562]of Object['entries'](_0x2cfd13))this['editor']['config']['set']('roots.'+_0x18112a+'.modelAttributes',_0x1f5562);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x422f46=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x422f46['add'](getTranslation$4(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x2cb584){const _0x3e6006=this['repository']['getRevisions']();_0x3e6006['reverse']();let _0x1806af=0x0;for(;_0x1806af<_0x3e6006['length'];){const _0x4fcfb7=_0x3e6006[_0x1806af];if(_0x4fcfb7===this['currentRevision']){_0x1806af++;continue;}if(_0x4fcfb7['id']===this['_initialRevisionId'])break;const _0x2a5db1=_0x2cb584['toVersion']-_0x4fcfb7['toVersion']||_0x2cb584['fromVersion']-_0x4fcfb7['fromVersion'];if(_0x2a5db1>0x0)break;if(_0x2a5db1<0x0)_0x1806af++;else{if(!_0x2cb584['creator']&&_0x4fcfb7['creator'])break;if(_0x4fcfb7['creator']||!_0x2cb584['creator']){if(_0x2cb584['createdAt']>_0x4fcfb7['createdAt'])break;_0x1806af++;}else _0x1806af++;}}return _0x1806af;}['_getFromVersion'](_0x556719){const _0x307d96=this['repository']['getRevisions']();_0x307d96['reverse'](),_0x307d96['shift']();const _0x36313a=_0x307d96['find'](_0x4e70ed=>_0x4e70ed['toVersion']<=_0x556719)['toVersion'];return _0x36313a<this['_startingVersion']?this['_startingVersion']:_0x36313a;}['_makeRevision']({name:_0x295129,from:_0x3f0934,to:_0x565ab2,creatorId:_0x40a65d,id:_0x398092}){const _0x54cb84=this['buildRevisionData']({'from':_0x3f0934,'to':_0x565ab2});_0x54cb84['name']=_0x295129,_0x54cb84['creatorId']=_0x40a65d,_0x54cb84['id']=_0x398092;const _0x288d66=this['addRevisionData'](_0x54cb84);return this['adapter']&&this['_bufferUpdate'](_0x54cb84['id'],_0x54cb84,!0x0),_0x288d66;}['_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(_0x38d2fe){this['editor']=_0x38d2fe,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'](_0x3688bb){this['source']=_0x3688bb;const _0x21e947=new Map(),_0x26a2e2=new Map(),_0x1d92c1=this['editor']['model']['document']['roots']['map'](_0x36f2cf=>_0x36f2cf['rootName']);for(const _0x12028f of _0x1d92c1){const _0x110c19=this['editor']['model']['document']['getRoot'](_0x12028f),_0x44283a=_cloneRoot(_0x110c19);_0x21e947['set'](_0x12028f,_0x44283a),_0x26a2e2['set'](_0x12028f,Object['fromEntries'](_0x110c19['getAttributes']()));}const _0x385526=Array['from'](this['editor']['model']['markers'])['map'](_0x52d5d9=>[_0x52d5d9['name'],_0x52d5d9['getRange']()]),_0x2a4b91=this['source']['version'];this['_saveMetaData'](_0x2a4b91,_0x21e947,_0x385526,_0x26a2e2),this['_startingRevisionId']=this['_revisionId'];const _0x5dc10b=new Map(),_0x2b6e18=new Map();for(const _0x5e2881 of _0x1d92c1){const _0x3b9a4e=_emptyRoot(_0x5e2881);_0x5dc10b['set'](_0x5e2881,_0x3b9a4e),_0x2b6e18['set'](_0x5e2881,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5dc10b,[],_0x2b6e18);}['getData'](_0x21a00f,_0x2e43e2){if(this['_lastFrom']===_0x21a00f&&this['_lastTo']<=_0x2e43e2)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x2e43e2,!0x0);else{if(!this['_savedMetaData']['has'](_0x21a00f)){const _0xb986cd=this['_getPreviousFrom'](_0x21a00f);this['_calculateMetaData'](_0xb986cd,_0x21a00f,!0x1);}this['_calculateMetaData'](_0x21a00f,_0x2e43e2,!0x0);}return this['_lastFrom']=_0x21a00f,this['_lastTo']=_0x2e43e2,this['_getState']();}['loadState'](_0x32881f){if(!this['_savedMetaData']['has'](_0x32881f['fromVersion'])){const _0x49c42e=this['_getPreviousFrom'](_0x32881f['fromVersion']);this['_calculateMetaData'](_0x49c42e,_0x32881f['fromVersion'],!0x1);}this['_calculateMetaData'](_0x32881f['fromVersion'],_0x32881f['toVersion'],!0x1);const _0x22df33=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x32881f['fromVersion'],this['_lastTo']=_0x32881f['toVersion'];for(const _0x267671 in _0x32881f['diffData']){const _0x26c262=_0x32881f['diffData'][_0x267671]['attachChange'],_0x272a5a=_0x1d6aee(_0x32881f['diffData'][_0x267671]['attributesBefore'])||{},_0x801e53=_0x22df33['_makeModelFromViewString'](_0x32881f['diffData'][_0x267671]['deletions']);_0x801e53['rootName']=_0x267671,_0x801e53['_isAttached']=!_0x26c262||!_0x26c262['isAttached'],_0x801e53['isAttached']=()=>_0x801e53['_isAttached'],this['_baseRoots']['set'](_0x267671,_0x801e53),this['_baseRootsAttributes']['set'](_0x267671,_0x272a5a),_0x26c262&&this['_touchedRoots']['set'](_0x267671,_0x26c262);const _0x3e1e98=this['_makeIdsRoot'](_0x801e53);this['_baseIdsRoots']['set'](_0x267671,_0x3e1e98);for(const [_0x3d81e5,_0x2e581c]of _0x801e53['markers']){if(!_0x3d81e5['startsWith']('revision:'))continue;const _0x5d7c0e=_0x3d81e5['split'](':')[0x2];for(const _0x169c13 of _0x2e581c['getWalker']({'singleCharacters':!0x0})){const _0x47c9ea=this['_getVidAttributeName'](_0x169c13),_0x3f3928='elementEnd'==_0x169c13['type']?_0x169c13['previousPosition']['path']['slice'](0x0,-0x1):_0x169c13['previousPosition']['path'],_0x39ce28=_0x3e1e98['getNodeByPath'](_0x3f3928)['getAttribute'](_0x47c9ea);this['_touched']['set'](_0x39ce28,{'userId':_0x5d7c0e});}_0x801e53['markers']['delete'](_0x3d81e5);}}this['_startingRevisionId']=this['_revisionId'];const _0x1a020a=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x167ffd=>!this['_touched']['has'](_0x167ffd));let _0x5b8b22=0x0;const _0x349921=new Map();for(const _0x571543 in _0x32881f['diffData']){const _0x179c0f=_0x32881f['diffData'][_0x571543]['attachChange'],_0x191933=_0x1d6aee(_0x32881f['diffData'][_0x571543]['attributesAfter'])||{},_0x113bf1=_0x22df33['_makeModelFromViewString'](_0x32881f['diffData'][_0x571543]['insertions']);_0x113bf1['rootName']=_0x571543,_0x113bf1['_isAttached']=!_0x179c0f||_0x179c0f['isAttached'],_0x113bf1['isAttached']=()=>_0x113bf1['_isAttached'],this['_diffRoots']['set'](_0x571543,_0x113bf1),this['_diffRootsAttributes']['set'](_0x571543,_0x191933);const _0x569ce2=this['_makeIdsRoot'](_0x113bf1,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x571543,_0x569ce2),_0x349921['set'](_0x571543,_0x113bf1['isAttached']()?_0x191933:{});for(const [_0x5ef72b,_0x583127]of _0x113bf1['markers']){if(!_0x5ef72b['startsWith']('revision:'))continue;const _0x30e257=_0x5ef72b['split'](':')[0x2];for(const _0x515816 of _0x583127['getWalker']({'singleCharacters':!0x0})){const _0x16031d=this['_getVidAttributeName'](_0x515816),_0x11b74d=this['_revisionId']++,_0x3cd3e0='elementEnd'==_0x515816['type']?_0x515816['previousPosition']['path']['slice'](0x0,-0x1):_0x515816['previousPosition']['path'];_0x569ce2['getNodeByPath'](_0x3cd3e0)['_setAttribute'](_0x16031d,_0x11b74d),this['_touched']['set'](_0x11b74d,{'userId':_0x30e257});}_0x113bf1['markers']['delete'](_0x5ef72b);}for(const _0x545ed7 of this['editor']['model']['createRangeIn'](_0x113bf1)['getWalker']({'singleCharacters':!0x0})){const _0x18b4f7=this['_getVidAttributeName'](_0x545ed7),_0x109b18='elementEnd'==_0x545ed7['type']?_0x545ed7['previousPosition']['path']['slice'](0x0,-0x1):_0x545ed7['previousPosition']['path'],_0x2a0a21=_0x569ce2['getNodeByPath'](_0x109b18);_0x2a0a21['getAttribute'](_0x18b4f7)>0x0||_0x2a0a21['_setAttribute'](_0x18b4f7,_0x1a020a[_0x5b8b22++]);}for(const [_0x2e68da,_0x4d2bdf]of _0x113bf1['markers'])_0x2e68da['startsWith']('revision:')||this['_markers']['set'](_0x2e68da,_0x4d2bdf);}const {roots:_0x5adff6}=this['_savedMetaData']['get'](_0x32881f['fromVersion']),{roots:_0x18f3a0}=this['_savedMetaData']['get'](_0x32881f['toVersion']),_0xacb97f=_cloneRoot(_0x5adff6['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0xacb97f),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xacb97f,Number['NEGATIVE_INFINITY']));const _0x174673=_cloneRoot(_0x18f3a0['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0x174673),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x174673));const _0x156cb7=Array['from'](this['_diffRoots'])['map'](([_0x1bca96,_0x216a44])=>[_0x1bca96,_cloneRoot(_0x216a44)]);this['_saveMetaData'](this['_lastTo'],_0x156cb7,this['_markers'],_0x349921);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_saveMetaData'](_0x38d34b,_0x5512ad,_0x5987d2,_0x44cfda){const _0x2ae6d7=new Map(_0x5512ad),_0x14a7a6=new Map(_0x1d6aee(_0x44cfda)),_0x5c19b1=new Map();for(const [_0x4de86c,_0x4459ca]of _0x5987d2)_0x5c19b1['set'](_0x4de86c,{'start':_0x4459ca['start']['clone'](),'end':_0x4459ca['end']['clone'](),'rootName':_0x4459ca['root']['rootName']});this['_savedMetaData']['set'](_0x38d34b,{'roots':_0x2ae6d7,'markers':_0x5c19b1,'rootsAttributes':_0x14a7a6});}['_removeMetaData'](_0x428daf){this['_savedMetaData']['delete'](_0x428daf);}['_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'](_0x9a25bd,_0xea7b1=null){let _0x2e8ca6=null;_0x9a25bd['is']('documentFragment')||(_0x2e8ca6=new ckeditor5['ModelElement'](_0x9a25bd['name'],{'vid_start':null===_0xea7b1?this['_revisionId']++:_0xea7b1++}));const _0x5ce030=[];for(const _0x7cda11 of _0x9a25bd['getChildren']())if(_0x7cda11['is']('element')){_0x5ce030['push'](this['_makeIdsRoot'](_0x7cda11,_0xea7b1));const _0x534d9f=_0x5ce030[_0x5ce030['length']-0x1];null!==_0xea7b1&&(_0xea7b1=_0x534d9f['is']('element','$text')?_0x534d9f['getAttribute']('vid')+0x1:_0x534d9f['getAttribute']('vid_end')+0x1);}else{for(let _0x433ca3=0x0;_0x433ca3<_0x7cda11['offsetSize'];_0x433ca3++)_0x5ce030['push'](new ckeditor5['ModelElement']('$text',{'vid':null===_0xea7b1?this['_revisionId']++:_0xea7b1++}));}if(_0x9a25bd['is']('documentFragment')){const _0x2ad09b=_emptyRoot(_0x9a25bd['rootName']);return _0x2ad09b['_insertChild'](0x0,_0x5ce030),_0x2ad09b;}return _0x2e8ca6['_setAttribute']('vid_end',null===_0xea7b1?this['_revisionId']++:_0xea7b1++),_0x2e8ca6['_insertChild'](0x0,_0x5ce030),_0x2e8ca6;}['_calculateMetaData'](_0x4aa786,_0x4ef029,_0x1e260d){this['_reset']();const {roots:_0x356f16,markers:_0x457953,rootsAttributes:_0x3e74a2}=this['_savedMetaData']['get'](_0x4aa786);this['_baseRoots']=new Map(_0x356f16),this['_baseRootsAttributes']=new Map(_0x1d6aee(_0x3e74a2));for(const [_0x1374bb,_0x12c886]of this['_baseRoots'])if('$graveyard'!==_0x1374bb&&(this['_diffRoots']['set'](_0x1374bb,_cloneRoot(_0x12c886)),this['_diffRootsAttributes']=new Map(_0x1d6aee(_0x3e74a2)),_0x1e260d)){const _0x1874a9=this['_revisionId'];this['_idsRoots']['set'](_0x1374bb,this['_makeIdsRoot'](_0x12c886)),this['_baseIdsRoots']['set'](_0x1374bb,this['_makeIdsRoot'](_0x12c886,_0x1874a9));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',_cloneRoot(this['_baseRoots']['get']('$graveyard'))),_0x1e260d&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x477be8,_0x603582]of _0x457953){const _0xa61179=this['_baseRoots']['get'](_0x603582['rootName']),_0xf4646f=this['_diffRoots']['get'](_0x603582['rootName']),_0x3b33a0=new ckeditor5['ModelRange'](this['_fixPosition'](_0x603582['start'],_0xa61179),this['_fixPosition'](_0x603582['end'],_0xa61179)),_0x5318d7=this['_fixRange'](_0x3b33a0,_0xf4646f);_0xa61179['markers']['set'](_0x477be8,_0x3b33a0),this['_markers']['set'](_0x477be8,_0x5318d7);}this['_applyOperations'](_0x4aa786,_0x4ef029,_0x1e260d);}['_applyOperations'](_0x28feb2,_0x118b62,_0x486f51){for(const _0x58629b of this['source']['getOperations'](_0x28feb2,_0x118b62))this['_handleOperation'](_0x58629b,_0x486f51);for(const _0x5880c1 of this['_diffRoots']['values']())_0x5880c1['markers']['clear']();for(const [_0x240112,_0x5b7b98]of this['_markers']){this['_diffRoots']['get'](_0x5b7b98['root']['rootName'])['markers']['set'](_0x240112,_0x5b7b98['clone']());}const _0x2843fc=new Map(),_0x534d6d=new Map();for(const [_0x21ee7a,_0x33854b]of this['_diffRoots'])_0x2843fc['set'](_0x21ee7a,_cloneRoot(_0x33854b)),_0x534d6d['set'](_0x21ee7a,this['_diffRootsAttributes']['get'](_0x21ee7a));this['_saveMetaData'](_0x118b62,_0x2843fc,this['_markers'],_0x534d6d);}['_getPreviousFrom'](_0x13c012){const _0xff1e84=Array['from'](this['_savedMetaData']['keys']());_0xff1e84['sort']((_0x451657,_0x168ece)=>_0x451657-_0x168ece),_0xff1e84['reverse']();for(const _0xc7d1b1 of _0xff1e84)if(_0xc7d1b1<_0x13c012)return _0xc7d1b1;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x39deae,_0x5fbb9f){const _0x592ffa=Array['from'](_0x5fbb9f['markers'])['map'](([_0xf81563,_0x52d150])=>[_0xf81563,this['_fixRange'](_0x52d150,_0x39deae)]);_0x39deae['markers']=new Map(_0x592ffa);}['_transformMarkers'](_0x43a43c){for(const _0x20bb77 of this['_markers']['values']()){const _0x55f768=_0x20bb77['getTransformedByOperation'](_0x43a43c),_0x41fb50=ckeditor5['ModelRange']['_createFromRanges'](_0x55f768);_0x20bb77['start']=_0x41fb50['start'],_0x20bb77['end']=_0x41fb50['end'];}}['_handleOperation'](_0x528628,_0x4c9413){if('addRoot'!=_0x528628['type']&&'detachRoot'!=_0x528628['type']){if('insert'==_0x528628['type']){const _0x3ad7d9=_0x528628['position']['root']['rootName'];this['_diffRoots']['has'](_0x3ad7d9)||(this['_diffRoots']['set'](_0x3ad7d9,_emptyRoot(_0x3ad7d9,!0x0)),this['_diffRootsAttributes']['set'](_0x3ad7d9,{}),_0x4c9413&&this['_idsRoots']['set'](_0x3ad7d9,_emptyRoot(_0x3ad7d9,!0x0)));}else{if('addRootAttribute'==_0x528628['type']||'removeRootAttribute'==_0x528628['type']||'changeRootAttribute'==_0x528628['type'])return void this['_handleRootAttributeOperation'](_0x528628);'marker'==_0x528628['type']&&this['_handleMarkerOperation'](_0x528628);}if('marker'!==_0x528628['type']){const _0x5c6970=this['_cloneOperation'](_0x528628,this['_diffRoots']);_0x5c6970['_execute'](),this['_transformMarkers'](_0x5c6970);}if(_0x4c9413)switch(_0x528628['type']){case'insert':this['_handleInsertOperation'](_0x528628);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x528628);break;case'merge':this['_handleMergeOperation'](_0x528628);break;case'split':this['_handleSplitOperation'](_0x528628);}}else this['_handleRootOperation'](_0x528628,_0x4c9413);}['_cloneOperation'](_0x58b653,_0x4167fe){const _0x4ba103=_0x58b653['clone']();return _0x4ba103['_authorId']=_0x58b653['_authorId'],this['_fixOperation'](_0x4ba103,_0x4167fe),_0x4ba103;}['_getBaseVids'](_0xe64a08){return _0xe64a08['map'](_0x380f6e=>{const _0x7e8207=this['_getVidAttributeName'](_0x380f6e);return Number(_0x380f6e['item']['getAttribute'](_0x7e8207));});}['_generateTape'](_0x2ec4f7,_0x34ac8a){if(_0x2ec4f7['is']('element','$text'))_0x34ac8a['push']({'item':_0x2ec4f7,'type':'text'});else{_0x2ec4f7['is']('element')&&_0x34ac8a['push']({'item':_0x2ec4f7,'type':'elementStart'});for(const _0x19311c of _0x2ec4f7['getChildren']())this['_generateTape'](_0x19311c,_0x34ac8a);_0x2ec4f7['is']('element')&&_0x34ac8a['push']({'item':_0x2ec4f7,'type':'elementEnd'});}return _0x34ac8a;}['_getState'](){const _0x190190=new Map(this['_touched']),_0x53b040=new Map(_0x190190),_0x4803c6=new Map(),_0xe72fd3={'insertions':{},'deletions':{}},_0x29ce03={'insertions':{},'deletions':{}},_0x3bd35e=new Map(),_0x2672b7=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x2672b7['delete']('$graveyard');for(const _0x5c0cca of _0x2672b7){const _0x18016b=this['_diffRoots']['get'](_0x5c0cca)||_emptyRoot(_0x5c0cca,!0x1),_0xd70f16=this['_baseRoots']['get'](_0x5c0cca)||_emptyRoot(_0x5c0cca,!0x1);_0x18016b['isAttached']()||_0xd70f16['isAttached']()?(_0xe72fd3['insertions'][_0x5c0cca]=_cloneRoot(_0x18016b),_0xe72fd3['deletions'][_0x5c0cca]=_cloneRoot(_0xd70f16),this['_copyMarkers'](_0xe72fd3['deletions'][_0x5c0cca],_0xd70f16),this['_copyMarkers'](_0xe72fd3['insertions'][_0x5c0cca],_0x18016b),_0x29ce03['insertions'][_0x5c0cca]=this['_generateTape'](this['_idsRoots']['get'](_0x5c0cca),[]),_0x29ce03['deletions'][_0x5c0cca]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x5c0cca)||_emptyRoot(_0x5c0cca,!0x1),[])):_0x2672b7['delete'](_0x5c0cca);}for(const _0x3acdaf of _0x2672b7){const _0x5896a8=_0x29ce03['insertions'][_0x3acdaf];for(const _0x5ca7b0 of _0x5896a8){const _0x7b2017=this['_getVidAttributeName'](_0x5ca7b0),_0x1079b0=_0x5ca7b0['item']['getAttribute'](_0x7b2017);_0x53b040['delete'](_0x1079b0),_0x1079b0>=this['_startingRevisionId']&&_0x4803c6['set'](_0x1079b0,_0x190190['get'](_0x1079b0));}}for(const _0x384508 of _0x2672b7){const _0x4899a5=_0x29ce03['insertions'][_0x384508],_0x1ba9e6=this['_getBaseVids'](_0x29ce03['deletions'][_0x384508]);let _0x5c54ae=0x0;for(const _0x495e78 of _0x4899a5){const _0x304f01=this['_getVidAttributeName'](_0x495e78),_0x3309d7=_0x495e78['item']['getAttribute'](_0x304f01);if(!_0x4803c6['has'](_0x3309d7)&&!_0x3bd35e['has'](_0x3309d7)){if(_0x53b040['has'](_0x3309d7))_0x5c54ae++;else{if(_0x3309d7!=_0x1ba9e6[_0x5c54ae]){const _0x3099c4=_0x190190['get'](_0x3309d7)||_0x190190['get'](_0x1ba9e6[_0x5c54ae]);for(;_0x3309d7!=_0x1ba9e6[_0x5c54ae];)_0x53b040['has'](_0x1ba9e6[_0x5c54ae])||(_0x3bd35e['set'](_0x1ba9e6[_0x5c54ae],_0x3099c4),_0x190190['set'](_0x1ba9e6[_0x5c54ae],_0x3099c4)),_0x5c54ae++;}_0x5c54ae++;}}}}for(const _0x245a78 of _0x2672b7){const _0x2c7f3c=_0x29ce03['insertions'][_0x245a78];for(const _0x435af0 of _0x2c7f3c){const _0x462b0d=this['_getVidAttributeName'](_0x435af0),_0x4687b8=_0x435af0['item']['getAttribute'](_0x462b0d);if(_0x3bd35e['has'](_0x4687b8)){const _0x20deca=_0x3bd35e['get'](_0x4687b8);_0x53b040['has'](_0x4687b8)||_0x53b040['set'](_0x4687b8,{..._0x20deca}),_0x4803c6['set'](_0x4687b8,{..._0x20deca});}}}for(const _0x3f7529 of _0x53b040['keys']())_0x3f7529>=this['_startingRevisionId']&&_0x53b040['delete'](_0x3f7529);const _0xa688a3=new Map();for(const _0xf46e7 of _0x2672b7){let _0x3b60c9=_0x29ce03['insertions'][_0xf46e7];for(const _0x8c567c of _0x3b60c9)if(_0x8c567c['item']['is']('element','tableCell')){const _0x34dfc2=this['_getVidAttributeName'](_0x8c567c),_0x337dfa=_0x8c567c['item']['getAttribute'](_0x34dfc2);if(_0x4803c6['has'](_0x337dfa)){const _0x5c5c4b=_0x8c567c['item']['parent']['parent']['getAttribute']('vid_start'),_0x1e3bf3=_0xa688a3['get'](_0x5c5c4b)||new Set();_0x1e3bf3['add'](_0x4803c6['get'](_0x337dfa)['userId']),_0xa688a3['set'](_0x5c5c4b,_0x1e3bf3);}}_0x3b60c9=_0x29ce03['deletions'][_0xf46e7];for(const _0x52d816 of _0x3b60c9)if(_0x52d816['item']['is']('element','tableCell')){const _0x4d1130=this['_getVidAttributeName'](_0x52d816),_0x4ef8e3=_0x52d816['item']['getAttribute'](_0x4d1130);if(_0x53b040['has'](_0x4ef8e3)){const _0x141d98=_0x52d816['item']['parent']['parent']['getAttribute']('vid_start'),_0x8b7ede=_0xa688a3['get'](_0x141d98)||new Set();_0x8b7ede['add'](_0x53b040['get'](_0x4ef8e3)['userId']),_0xa688a3['set'](_0x141d98,_0x8b7ede);}}for(const _0xae62e2 of _0xa688a3['keys']())(_0x4803c6['has'](_0xae62e2)||_0x53b040['has'](_0xae62e2))&&_0xa688a3['delete'](_0xae62e2);}for(const _0x2e4cf5 of _0x2672b7){const _0x4763d3=_0x29ce03['insertions'][_0x2e4cf5];let _0x22018d=null,_0x4b2654=null;for(const _0x49c67b of _0x4763d3){const _0x22144b=this['_getVidAttributeName'](_0x49c67b),_0xfc5052=_0x49c67b['item']['getAttribute'](_0x22144b),_0xa73e8b=_0xa688a3['get'](_0xfc5052);_0xa73e8b&&'elementStart'==_0x49c67b['type']&&(_0x22018d=Array['from'](_0xa73e8b)[0x0],_0x4b2654=_0x49c67b['item']['getAttribute']('vid_end')),_0x22018d&&(_0x53b040['set'](_0xfc5052,{'userId':_0x22018d}),_0x4803c6['set'](_0xfc5052,{'userId':_0x22018d})),_0xfc5052==_0x4b2654&&(_0x22018d=null,_0x4b2654=null);}}const _0xaf2c14={},_0x17f122=new Set();for(const _0x5a4b41 of _0x2672b7){const _0x3145f7=_0xe72fd3['deletions'][_0x5a4b41],_0x1de1f1=_0xe72fd3['insertions'][_0x5a4b41];for(const {userId:_0x3b928a}of this['_touchedMarkers']['values']())null!==_0x3b928a&&_0x17f122['add'](_0x3b928a);for(const {userId:_0x2015a5}of this['_touchedRoots']['values']())null!==_0x2015a5&&_0x17f122['add'](_0x2015a5);this['_markChanges'](_0x1de1f1,_0x29ce03['insertions'][_0x5a4b41],_0x4803c6,'insertion',_0x17f122),this['_markChanges'](_0x3145f7,_0x29ce03['deletions'][_0x5a4b41],_0x53b040,'deletion',_0x17f122),_0xaf2c14[_0x5a4b41]={'insertions':this['_prepareViewToSave'](_0x1de1f1),'deletions':this['_prepareViewToSave'](_0x3145f7),'attachChange':this['_touchedRoots']['get'](_0x5a4b41)||null,'attributesBefore':_0x1d6aee(this['_baseRootsAttributes']['get'](_0x5a4b41))||{},'attributesAfter':_0x1d6aee(this['_diffRootsAttributes']['get'](_0x5a4b41))};}return{'diffData':_0xaf2c14,'authorsIds':Array['from'](_0x17f122)};}['_processRootBeforeSave'](_0x1f1716){for(const [,_0x2b88f1]of _0x1f1716['markers']){const _0x4f037c=_0x2b88f1['start']['getAncestors']()['filter'](_0x100eed=>'tableCell'==_0x100eed['name']);for(const _0x11a472 of _0x4f037c)0x1==_0x11a472['childCount']&&_0x11a472['getChild'](0x0)['is']('element','paragraph')&&_0x11a472['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x18d424){this['_processRootBeforeSave'](_0x18d424);const _0x3d103e=this['editor']['data']['toView'](_0x18d424,{}),_0x2870a0=Array['from'](_0x3d103e['getChildren']())['map'](_0x3d410a=>this['_getViewJson'](_0x3d410a));return JSON['stringify'](_0x2870a0);}['_getViewJson'](_0x2b91d4){if(_0x2b91d4['is']('$text'))return _0x2b91d4['data'];{const _0x137236=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x29de67=_0x2b91d4,_0x350dd3=this['editor']['data']['htmlProcessor']['domConverter'],_0x25f09f={'type':_0x137236['_getTypeCharForViewElement'](_0x29de67),'name':_0x29de67['name'],'attributes':Array['from'](_0x29de67['getAttributes']()),'children':Array['from'](_0x29de67['getChildren']())['map'](_0x40ca7f=>this['_getViewJson'](_0x40ca7f))};if(_0x2b91d4['is']('uiElement')&&'$comment'!=_0x2b91d4['name']){const _0x3a6b61=_0x2b91d4['render'](_0x350dd3['domDocument'],_0x350dd3);_0x25f09f['children']['push'](_0x3a6b61['outerHTML']);}else{if(_0x2b91d4['is']('rawElement')){const _0x26aaaf=_0x350dd3['domDocument']['createElement'](_0x29de67['name']);_0x2b91d4['render'](_0x26aaaf,_0x350dd3),_0x25f09f['children']['push'](_0x26aaaf['innerHTML']);}}const _0x2210a2=Array['from'](_0x29de67['getCustomProperties']());_0x2210a2['length']>0x0&&(_0x25f09f['customProperties']=_0x2210a2);const _0x3a81c1=_0x29de67['getFillerOffset']();return null!==_0x3a81c1&&(_0x25f09f['fillerOffset']=_0x3a81c1),_0x25f09f;}}['_markChanges'](_0x430698,_0x8b272,_0xa8ccc4,_0x158b0f,_0x531e34){let _0x500356=null,_0x3441c6=null,_0x160d07=0x0;const _0x30a97e=this['editor']['model'];for(let _0x1c4861=0x0;_0x1c4861<_0x8b272['length'];_0x1c4861++){const _0xd0e3b=this['_getVidAttributeName'](_0x8b272[_0x1c4861]),_0x5d7e12=_0x8b272[_0x1c4861]['item']['getAttribute'](_0xd0e3b),_0x1ebf65=_0xa8ccc4['get'](_0x5d7e12),_0x9cd8d9=_0x1c4861==_0x8b272['length']-0x1;(!_0x500356&&_0x1ebf65&&(_0x500356=_0x1ebf65,_0x3441c6=_0x8b272[_0x1c4861]),_0x500356&&(!_0x1ebf65||_0x1ebf65['userId']!=_0x500356['userId']))&&(_0x55dd27(_0x1ebf65,_getPosBefore(_0x3441c6,_0x430698,_0x30a97e),_getPosBefore(_0x8b272[_0x1c4861],_0x430698,_0x30a97e)),_0x500356=_0x1ebf65||null,_0x3441c6=_0x1ebf65?_0x8b272[_0x1c4861]:null),_0x500356&&_0x9cd8d9&&_0x55dd27(_0x1ebf65,_getPosBefore(_0x3441c6,_0x430698,_0x30a97e),_getPosAfter(_0x8b272[_0x1c4861],_0x430698,_0x30a97e));}function _0x55dd27(_0x267ca0,_0x3547e8,_0x23c7cf){const _0x1a1006=_0x500356['userId'],_0x15e789='revision:'+_0x158b0f+':'+_0x1a1006+':'+_0x160d07++,_0x334f01=_0x30a97e['createRange'](_0x3547e8,_0x23c7cf);_0x430698['markers']['set'](_0x15e789,_0x334f01),null!==_0x1a1006&&_0x531e34['add'](_0x1a1006);}}['_getVidAttributeName'](_0x1454c5){switch(_0x1454c5['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x350305,_0x17e623){_0x350305['baseVersion']=null;for(const _0x39d6fa in _0x350305){const _0x338197=_0x350305[_0x39d6fa];if(_0x338197 instanceof ckeditor5['ModelPosition']){const _0x2b3aa4=_0x17e623['get'](_0x338197['root']['rootName']);_0x350305[_0x39d6fa]=this['_fixPosition'](_0x338197,_0x2b3aa4);}if(_0x338197 instanceof ckeditor5['ModelRange']){const _0x18ddca=_0x17e623['get'](_0x338197['root']['rootName']);_0x350305[_0x39d6fa]=this['_fixRange'](_0x338197,_0x18ddca);}'root'===_0x39d6fa&&(_0x350305['root']=_0x17e623['get'](_0x350305['root']['rootName']));}}['_fixRange'](_0x5eb0da,_0x4e146b){return this['editor']['model']['createRange'](this['_fixPosition'](_0x5eb0da['start'],_0x4e146b),this['_fixPosition'](_0x5eb0da['end'],_0x4e146b));}['_fixPosition'](_0x321dfc,_0x4e3e9f){return this['editor']['model']['createPositionFromPath'](_0x4e3e9f,_0x321dfc['path'],_0x321dfc['stickiness']);}['_handleInsertOperation'](_0x55f441){const _0x44756d=this['_idsRoots']['get'](_0x55f441['position']['root']['rootName']),_0x4b4ca2=this['_fixPosition'](_0x55f441['position'],_0x44756d),_0x47d277=null===_0x55f441['_authorId']?null:_0x55f441['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x56efea=_0x4b4ca2['parent'],_0x5ce816=this['_revisionId'],_0x4d7c03=[];for(const _0x1a7e53 of _0x55f441['nodes'])if(_0x1a7e53['is']('element'))_0x4d7c03['push'](this['_makeIdsRoot'](_0x1a7e53));else{for(let _0x4a2b27=0x0;_0x4a2b27<_0x1a7e53['offsetSize'];_0x4a2b27++)_0x4d7c03['push'](new ckeditor5['ModelElement']('$text',{'vid':this['_revisionId']++}));}const _0x588a88=this['_revisionId'];for(let _0xb2a359=_0x5ce816;_0xb2a359<_0x588a88;_0xb2a359++)this['_touched']['set'](_0xb2a359,{'userId':_0x47d277});_0x56efea['_insertChild'](_0x4b4ca2['offset'],_0x4d7c03);}['_handleMoveOperation'](_0x1c2c98){(_0x1c2c98=this['_cloneOperation'](_0x1c2c98,this['_idsRoots']))['_execute']();const _0xc2b95d=null===_0x1c2c98['_authorId']?null:_0x1c2c98['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x203ad0=_0x1c2c98['getMovedRangeStart'](),_0x392964=_0x203ad0['parent'],_0x3c7525=_0x203ad0['offset'];!function _0xfdb8b9(_0x375e7a,_0x4ecdf0,_0x488f3a,_0x73a7d3){for(let _0x1603a1=_0x488f3a;_0x1603a1<_0x73a7d3;_0x1603a1++){const _0x53845b=_0x4ecdf0['getChild'](_0x1603a1);_0x53845b['is']('element','$text')?_0x375e7a['set'](_0x53845b['getAttribute']('vid'),{'userId':_0xc2b95d}):(_0x375e7a['set'](_0x53845b['getAttribute']('vid_start'),{'userId':_0xc2b95d}),_0xfdb8b9(_0x375e7a,_0x53845b,0x0,_0x53845b['childCount']),_0x375e7a['set'](_0x53845b['getAttribute']('vid_end'),{'userId':_0xc2b95d}));}}(this['_touched'],_0x392964,_0x3c7525,_0x3c7525+_0x1c2c98['howMany']);}['_handleMergeOperation'](_0x57b71c){const _0x2d167c=null===(_0x57b71c=this['_cloneOperation'](_0x57b71c,this['_idsRoots']))['_authorId']?null:_0x57b71c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x7606c3=_0x57b71c['targetPosition']['parent'],_0x573504=_0x57b71c['sourcePosition']['parent'],_0x28b59d=_0x7606c3['getAttribute']('vid_end'),_0x2e20bb=_0x573504['getAttribute']('vid_start');_0x7606c3['_setAttribute']('vid_end',_0x573504['getAttribute']('vid_end')),_0x573504['_setAttribute']('vid_end',_0x28b59d),this['_touched']['set'](_0x2e20bb,{'userId':_0x2d167c}),this['_touched']['set'](_0x28b59d,{'userId':_0x2d167c}),_0x57b71c['_execute']();}['_handleSplitOperation'](_0x4aab6){const _0xf215d8=null===(_0x4aab6=this['_cloneOperation'](_0x4aab6,this['_idsRoots']))['_authorId']?null:_0x4aab6['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x19661d=_0x4aab6['graveyardPosition'],_0x384176=_0x4aab6['splitPosition']['parent'];_0x4aab6['_execute']();const _0x54e087=_0x384176['getAttribute']('vid_end'),_0x2f3747=_0x4aab6['insertionPosition']['nodeAfter'];if(_0x19661d){const _0x8ecf43=_0x2f3747['getAttribute']('vid_end'),_0x14fbbd=_0x384176['getAttribute']('vid_end');_0x384176['_setAttribute']('vid_end',_0x8ecf43),_0x2f3747['_setAttribute']('vid_end',_0x14fbbd),this['_touched']['set'](_0x384176['getAttribute']('vid_end'),{'userId':_0xf215d8}),this['_touched']['set'](_0x2f3747['getAttribute']('vid_start'),{'userId':_0xf215d8});}else{const _0xfb16a2=this['_revisionId']++,_0x4d5b4a=this['_revisionId']++;_0x384176['_setAttribute']('vid_end',_0xfb16a2),_0x2f3747['_setAttribute']('vid_start',_0x4d5b4a),_0x2f3747['_setAttribute']('vid_end',_0x54e087),this['_touched']['set'](_0xfb16a2,{'userId':_0xf215d8}),this['_touched']['set'](_0x4d5b4a,{'userId':_0xf215d8});}}['_handleMarkerOperation'](_0x2762e5){if(!_0x2762e5['affectsData'])return;const _0x116043=(_0x2762e5=this['_cloneOperation'](_0x2762e5,this['_diffRoots']))['oldRange']?_0x2762e5['oldRange']['root']:null,_0x46a58a=_0x2762e5['newRange']?_0x2762e5['newRange']['root']:null;_0x116043&&this['_markers']['delete'](_0x2762e5['name']),_0x46a58a&&this['_markers']['set'](_0x2762e5['name'],_0x2762e5['newRange']['clone']());const _0x41bc7e=null===_0x2762e5['_authorId']?null:_0x2762e5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4c49c7=_0x2762e5['name'];if(!this['_touchedMarkers']['has'](_0x4c49c7))return void this['_touchedMarkers']['set'](_0x4c49c7,{'range':_0x2762e5['oldRange'],'userId':_0x41bc7e});const _0x34f58f=this['_touchedMarkers']['get'](_0x4c49c7),_0x45def4=_0x34f58f['range'],_0x87d87d=_0x2762e5['newRange'];null==_0x45def4&&null==_0x87d87d||_0x45def4&&_0x87d87d&&_0x45def4['isEqual'](_0x87d87d)?this['_touchedMarkers']['delete'](_0x2762e5['name']):_0x34f58f['userId']=_0x41bc7e;}['_handleRootOperation'](_0x39d16c,_0x292d4d){this['_diffRoots']['has'](_0x39d16c['rootName'])?this['_diffRoots']['get'](_0x39d16c['rootName'])['_isAttached']=_0x39d16c['isAdd']:(this['_diffRoots']['set'](_0x39d16c['rootName'],_emptyRoot(_0x39d16c['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x39d16c['rootName'],{}),_0x292d4d&&this['_idsRoots']['set'](_0x39d16c['rootName'],_emptyRoot(_0x39d16c['rootName'],!0x0)));const _0x297ff4=null===_0x39d16c['_authorId']?null:_0x39d16c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x281e22=this['_touchedRoots']['get'](_0x39d16c['rootName']);_0x281e22&&_0x281e22['userId']===_0x297ff4?this['_touchedRoots']['delete'](_0x39d16c['rootName']):this['_touchedRoots']['set'](_0x39d16c['rootName'],{'userId':_0x297ff4,'isAttached':_0x39d16c['isAdd']});}['_handleRootAttributeOperation'](_0x5dd43e){const _0x388894=this['_diffRootsAttributes']['get'](_0x5dd43e['root']['rootName']);null===_0x5dd43e['newValue']?delete _0x388894[_0x5dd43e['key']]:_0x388894[_0x5dd43e['key']]=_0x5dd43e['newValue'];}}function _cloneRoot(_0x51a98d){const _0x3c5f17=_emptyRoot(_0x51a98d['rootName'],_0x51a98d['isAttached']());for(const _0x381c1e of _0x51a98d['getChildren']()){const _0x31dd00=_0x381c1e['_clone'](!0x0);_0x3c5f17['_appendChild'](_0x31dd00);}return _0x3c5f17;}function _emptyRoot(_0x2f009e,_0x37471b=!0x0){const _0x14b73e=new ckeditor5['ModelDocumentFragment']();return _0x14b73e['rootName']=_0x2f009e,_0x14b73e['_isAttached']=_0x37471b,_0x14b73e['isAttached']=()=>_0x14b73e['_isAttached'],_0x14b73e;}function _getPosBefore(_0x302d1c,_0x292e86,_0x16571d){const _0x3986ef='elementEnd'==_0x302d1c['type']?_0x16571d['createPositionAt'](_0x302d1c['item'],'end'):_0x16571d['createPositionBefore'](_0x302d1c['item']);return _0x16571d['createPositionFromPath'](_0x292e86,_0x3986ef['path'],_0x3986ef['stickiness']);}function _getPosAfter(_0x40efc2,_0x44a777,_0x1144f8){const _0x4b26fa='elementStart'==_0x40efc2['type']?_0x1144f8['createPositionAt'](_0x40efc2['item'],0x0):_0x1144f8['createPositionAfter'](_0x40efc2['item']);return _0x1144f8['createPositionFromPath'](_0x44a777,_0x4b26fa['path'],_0x4b26fa['stickiness']);}class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
ckeditor5['CssTransitionDisablerMixin'](ckeditor5['View']){['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x3ec606,_0x2abda9){super(_0x3ec606),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x2abda9),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 _0x180038=_0x2e678d=>_0x2e678d['stopPropagation']();this['keystrokes']['set']('arrowright',_0x180038),this['keystrokes']['set']('arrowleft',_0x180038),this['keystrokes']['set']('arrowup',_0x180038),this['keystrokes']['set']('arrowdown',_0x180038);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x28e4a5){this['revisionNameInputView']['fieldView']['element']['value']=_0x28e4a5['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xc633eb){const _0x4b6a4f=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputText']),_0x378d9d=_0x4b6a4f['fieldView'];_0x378d9d['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x2babfd=getTranslation$4(this['locale'],'Name\x20of\x20the\x20revision');return!_0xc633eb&&(_0x2babfd+='\x20('+getTranslation$4(this['locale'],'optional')+')'),(_0x4b6a4f['label']=_0x2babfd,_0x378d9d['on']('input',()=>{this['revisionNameInputValue']=_0x378d9d['element']['value']['trim']();}),_0x4b6a4f);}}class RevisionHistoryUI extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3fbef5];}['_saveRevisionFormView'];['init'](){const _0x36e590=this['editor'],_0x483e3=_0x36e590['plugins']['get']('RevisionTracker');_0x36e590['ui']['componentFactory']['add']('revisionHistory',_0x18ed94=>{const _0x3d86b9=ckeditor5['createDropdown'](_0x18ed94),_0x4666cc=_0x3d86b9['panelView']['children'],_0x16ed07=new ckeditor5['ListView'](_0x18ed94),_0x517a4c=new ckeditor5['ListItemView'](_0x18ed94),_0xabe6a7=this['_createSaveRevisionButton'](ckeditor5['ButtonView']),_0x319fc5=new ckeditor5['ListItemView'](_0x18ed94),_0x5afc4b=this['_createOpenRevisionButton'](ckeditor5['ButtonView']);return _0x3d86b9['bind']('isEnabled')['to'](_0x483e3,'isReady',_0x483e3,'isEnabled',_0x36e590,'isReadOnly',(_0x5d3af4,_0x203ce2,_0x135ea9)=>_0x5d3af4&&_0x203ce2&&!_0x135ea9),_0x3d86b9['buttonView']['set']({'icon':ckeditor5['IconHistory'],'label':getTranslation$4(_0x18ed94,'Revision\x20history'),'tooltip':!0x0}),_0xabe6a7['set']({'withText':!0x0,'role':'menuitem'}),_0x5afc4b['set']({'withText':!0x0,'role':'menuitem'}),this['listenTo'](_0x5afc4b,'execute',()=>{_0x3d86b9['isOpen']=!0x1,_0x36e590['editing']['view']['focus']();},{'priority':'low'}),_0x517a4c['children']['add'](_0xabe6a7),_0x319fc5['children']['add'](_0x5afc4b),_0x16ed07['role']='menu',_0x16ed07['items']['addMany']([_0x517a4c,_0x319fc5]),_0x4666cc['add'](_0x16ed07),_0x3d86b9;}),_0x36e590['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x18fc9d=this['editor'],_0x252ede=_0x18fc9d['locale'],_0x5b34c7=_0x18fc9d['plugins']['get']('RevisionTracker'),_0x4a919f=new ckeditor5['MenuBarMenuView'](_0x252ede),_0x505ae8=new ckeditor5['MenuBarMenuListView'](_0x252ede);_0x4a919f['bind']('isEnabled')['to'](_0x5b34c7,'isReady',_0x5b34c7,'isEnabled',_0x18fc9d,'isReadOnly',(_0x34fdfd,_0x40e139,_0x36d37e)=>_0x34fdfd&&_0x40e139&&!_0x36d37e),_0x4a919f['buttonView']['set']({'icon':ckeditor5['IconHistory'],'label':getTranslation$4(_0x252ede,'Revision\x20history')});const _0x36baf0=new ckeditor5['MenuBarMenuListItemView'](_0x252ede,_0x4a919f),_0x18b4ee=this['_createSaveRevisionButton'](ckeditor5['MenuBarMenuListItemButtonView']);_0x18b4ee['delegate']('execute')['to'](_0x4a919f),_0x36baf0['children']['add'](_0x18b4ee),_0x505ae8['items']['add'](_0x36baf0);const _0x37ad20=new ckeditor5['MenuBarMenuListItemView'](_0x252ede,_0x4a919f),_0x4a225f=this['_createOpenRevisionButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x4a225f['delegate']('execute')['to'](_0x4a919f),_0x37ad20['children']['add'](_0x4a225f),_0x505ae8['items']['add'](_0x37ad20),_0x4a919f['panelView']['children']['add'](_0x505ae8),_0x4a919f;}['_createSaveRevisionButton'](_0xede372){const _0x568b90=this['editor'],_0x37d691=_0x568b90['plugins']['get']('RevisionTracker'),_0x3eda96=new _0xede372(_0x568b90['locale']);return _0x3eda96['set']({'label':getTranslation$4(_0x568b90['locale'],'Save\x20current\x20revision')}),_0x3eda96['bind']('isEnabled')['to'](_0x37d691,'isReady',_0x37d691,'isEnabled',_0x568b90,'isReadOnly',(_0x10085d,_0x366f16,_0x5eb46f)=>_0x10085d&&_0x366f16&&!_0x5eb46f),this['listenTo'](_0x3eda96,'execute',()=>{this['_showDialog']();}),_0x3eda96;}['_createOpenRevisionButton'](_0x2d90fc){const _0x45f6d8=this['editor'],_0x5a4336=_0x45f6d8['plugins']['get']('RevisionTracker'),_0xe445fa=new _0x2d90fc(_0x45f6d8['locale']);return _0xe445fa['set']({'label':getTranslation$4(_0x45f6d8['locale'],'Open\x20revision\x20history')}),_0xe445fa['bind']('isEnabled')['to'](_0x5a4336,'isReady',_0x45f6d8,'isReadOnly',(_0x1ea83d,_0x405a48)=>_0x1ea83d&&!_0x405a48),this['listenTo'](_0xe445fa,'execute',()=>{_0x45f6d8['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0xe445fa;}['_showDialog'](){const _0x3f67c2=this['editor'],_0x1792db=_0x3f67c2['locale'],_0xb6cada=_0x3f67c2['plugins']['get']('Dialog'),_0x149923=_0x3f67c2['plugins']['get']('RevisionTracker');function _0x16bb72(_0x5e9adf){_0x3f67c2['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5e9adf['revisionName']?_0x5e9adf['revisionNameInputView']['errorText']=getTranslation$4(_0x1792db,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x3f67c2['plugins']['get'](_0x3fbef5)['saveRevision']({'name':_0x5e9adf['revisionName']}),_0xb6cada['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x16bb72(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0xb6cada['show']({'id':'revisionSave','title':getTranslation$4(_0x1792db,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':getTranslation$4(_0x3f67c2['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0xb6cada['hide']()},{'label':getTranslation$4(_0x3f67c2['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x7b154c){_0x7b154c['bind']('isEnabled')['to'](_0x149923,'isReady',_0x149923,'isEnabled',_0x3f67c2,'isReadOnly',(_0x1916fc,_0x363598,_0x1df9ca)=>_0x1916fc&&_0x363598&&!_0x1df9ca);},'onExecute':()=>_0x16bb72(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x14cf87=this['editor'],_0x1f6be7=_0x14cf87['locale'];this['_saveRevisionFormView']=new RevisionHistorySaveRevisionFormView(_0x1f6be7,_0x14cf87['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class ChangeDetailsView extends ckeditor5['View']{['changeId'];['_model'];constructor(_0x1a078c,_0x9f2663){super(_0x1a078c),this['_model']=_0x9f2663,this['changeId']=_0x9f2663['id'];const _0x46c2a6=this['bindTemplate'],_0x564444=getTranslation$4(_0x1a078c,_0x9f2663['data']['isSuggestion']?'Suggested\x20by':'add'==_0x9f2663['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x9f2663['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x46c2a6['to']('type',_0x234396=>'ck-revision-change__'+_0x234396)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x564444}]},{'text':'\x20'+_0x9f2663['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class ChangeItem extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x52b46d){super(),this['id']=_0x52b46d['id']||ckeditor5['uid'](),this['author']=_0x52b46d['author'],this['type']=_0x52b46d['type'],this['data']=_0x52b46d['data']||{},this['rootName']=_0x52b46d['rootName'],this['set']('createdAt',_0x52b46d['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class _0x477e51{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x190232,_0x1dace2){this['newRevisionId']=_0x190232,this['oldRevisionId']=_0x1dace2,this['changes']=new ckeditor5['Collection']();}['_setChanges'](_0x4ec68e){for(const _0x1330e9 of _0x4ec68e)this['changes']['add'](_0x1330e9);}}class _0x2a5545 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[_0x9327be,ckeditor5['ContextualBalloon'],RevisionsRepository,RevisionHistoryUtils];}constructor(_0x3681bd){super(_0x3681bd),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',(_0x331605,_0x3a5c81,_0x4916bc)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x597fc8=>{for(const _0x52fb16 of this['editor']['editing']['view']['document']['roots'])_0x4916bc?_0x597fc8['removeClass']('ck-editor__editable__overlay',_0x52fb16):_0x597fc8['addClass']('ck-editor__editable__overlay',_0x52fb16);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0xe3325a=>null!==_0xe3325a),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x2cb9be,_0x1e2662,_0x3b68c4)=>_0x2cb9be&&_0x3b68c4?_0x1e2662['changes']['getIndex'](_0x3b68c4):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x12f067,_0x1cead3)=>_0x12f067?_0x1cead3['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](ckeditor5['ContextualBalloon']);}['init'](){const _0x338a52=this['editor'],_0x44fa1c=new _0x35a3d4(_0x338a52,{'direction':'backward'}),_0x2555f2=new _0x35a3d4(_0x338a52,{'direction':'forward'});(_0x338a52['commands']['add']('showPreviousChange',_0x44fa1c),_0x338a52['commands']['add']('showNextChange',_0x2555f2),_0x338a52['commands']['add']('restoreRevision',new RestoreRevisionCommand(_0x338a52)),this['on']('change:numberOfChanges',()=>{_0x44fa1c['refresh'](),_0x2555f2['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x338a52['enableReadOnlyMode']('revision-viewer'),_0x338a52['plugins']['has']('WidgetToolbarRepository'))&&_0x338a52['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionDocumentData'](_0x7329d9){return await this['_utils']['loadRevisionData'](_0x7329d9,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x7329d9);}async['getRevisionRootsAttributes'](_0x3ee3dc){return await this['_utils']['loadRevisionData'](_0x3ee3dc,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x3ee3dc);}async['compare'](_0x373eff,_0x35e07a,_0x57895e=!0x1){if(!this['isEnabled'])return;const _0x527c09=this['diff'],_0x24409d=this['repository'],_0x4eaa76='string'==typeof _0x373eff?_0x24409d['getRevision'](_0x373eff):_0x373eff,_0x426632='string'==typeof _0x35e07a?_0x24409d['getRevision'](_0x35e07a):_0x35e07a,_0x1cbc88=_0x4eaa76['id'],_0x4b819e=_0x426632?_0x426632['id']:null;if(!_0x57895e&&this['diff']&&this['diff']['newRevisionId']===_0x1cbc88&&this['diff']['oldRevisionId']===_0x4b819e)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new _0x477e51(_0x1cbc88,_0x4b819e);const _0x32779c=this['_getRevisionsRange'](_0x4eaa76,_0x426632,!0x0)['map'](_0x45fb1b=>this['_utils']['loadRevisionData'](_0x45fb1b,this['adapter']));return _0x32779c['push'](new Promise(_0xe7df1f=>{setTimeout(_0xe7df1f,0x14);})),Promise['all'](_0x32779c)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x5e1c43=this['_getDiff'](_0x1cbc88,_0x4b819e);for(const _0x2f0f58 of _0x5e1c43['changes'])this['_changeIdToChange']['set'](_0x2f0f58['id'],_0x2f0f58);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x260607=>{for(const _0x524a54 of this['editor']['model']['document']['getRootNames']())_0x260607['detachRoot'](_0x524a54);for(const _0x2a4034 of Object['keys'](_0x5e1c43['model'])){const _0xdebd9a=_0x260607['addRoot'](_0x2a4034);for(const _0x407c0e of Object['keys'](_0x5e1c43['attributes'][_0x2a4034]))_0x260607['setAttribute'](_0x407c0e,_0x5e1c43['attributes'][_0x2a4034][_0x407c0e],_0xdebd9a);_0x260607['insert'](_0x5e1c43['model'][_0x2a4034],_0xdebd9a,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x5e1c43['changes'])),this['isReady']=!0x0;})['catch'](_0x4dad7=>{console['error'](_0x4dad7),this['_cleanUp'](),_0x527c09&&(this['diff']=_0x527c09),this['isReady']=!0x0;});}['addRevisionData'](_0x5c1213,_0x515ad9){const _0x130dd4=this['repository']['createRevision'](_0x5c1213);return _0x130dd4['on']('_update',(_0x5c69f0,_0x46dfe9,_0x387c6b)=>_0x515ad9(_0x46dfe9,_0x387c6b,_0x130dd4)),this['repository']['addRevision'](_0x130dd4),_0x130dd4;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x510d5e=>{for(const _0x54f61e of this['editor']['model']['document']['getRootNames']())_0x510d5e['detachRoot'](_0x54f61e);});}['_sortAndFilterDiffChanges'](_0x3ab005){const _0xc3054b=[],_0x52a057=new Map();for(const _0x43b57b of this['editor']['model']['document']['getRootNames']()){const _0x193f72=this['editor']['editing']['view']['getDomRoot'](_0x43b57b);if(!_0x193f72)continue;const _0x5c4b25=_0x193f72['getClientRects']()['item'](0x0);_0x5c4b25&&(_0xc3054b['push'](_0x43b57b),_0x52a057['set'](_0x43b57b,_0x5c4b25));}return _0xc3054b['sort']((_0x5cb015,_0x2e6228)=>{const _0x49320f=_0x52a057['get'](_0x5cb015),_0x5ef584=_0x52a057['get'](_0x2e6228);return _0x49320f['y']-_0x5ef584['y']||_0x49320f['x']-_0x5ef584['x'];}),(_0x3ab005=_0x3ab005['filter'](_0x47acbd=>_0xc3054b['includes'](_0x47acbd['rootName'])))['sort']((_0x48fbe7,_0x418e94)=>_0xc3054b['indexOf'](_0x48fbe7['rootName'])-_0xc3054b['indexOf'](_0x418e94['rootName'])),_0x3ab005;}['_makeTape'](_0x77a58b){const _0x393357=Array['from'](_0x77a58b['markers'])['filter'](([_0x1dabbd,_0x1f55d3])=>_0x1dabbd['startsWith']('revision:')&&!_0x1f55d3['isCollapsed']),_0x1102f3=Array['from'](this['editor']['model']['createRangeIn'](_0x77a58b)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x393357['length'])for(const _0x1de91d of _0x1102f3){const [_0x5c19e6,_0x173dd2]=_0x393357[0x0],[,_0x257257,_0x479f61]=_0x5c19e6['split'](':');if(_0x173dd2['end']['isEqual'](_0x1de91d['nextPosition'])&&_0x393357['shift'](),(_0x1de91d['previousPosition']['isEqual'](_0x173dd2['start'])||_0x1de91d['previousPosition']['isAfter'](_0x173dd2['start']))&&('insertion'==_0x257257?_0x1de91d['isAdded']={'userId':_0x479f61}:'deletion'==_0x257257&&(_0x1de91d['isRemoved']={'userId':_0x479f61})),0x0==_0x393357['length'])break;}return _0x1102f3;}['_refreshStartEndIndex'](_0x4163f6){const _0x131235=new Map();for(let _0x554945=0x0;_0x554945<_0x4163f6['length'];_0x554945++)'text'===_0x4163f6[_0x554945]['type']?(_0x4163f6[_0x554945]['item']['startIndex']=_0x554945,_0x4163f6[_0x554945]['item']['endIndex']=_0x554945):('elementStart'===_0x4163f6[_0x554945]['type']?_0x4163f6[_0x554945]['item']['startIndex']=_0x554945:'elementEnd'===_0x4163f6[_0x554945]['type']&&(_0x4163f6[_0x554945]['item']['endIndex']=_0x554945),_0x131235['set'](_0x4163f6[_0x554945]['id'],_0x554945));for(const _0x4d251b of _0x131235['values']())'elementStart'===_0x4163f6[_0x4d251b]['type']?_0x4163f6[_0x4d251b]['item']['endIndex']=_0x131235['get'](_0x4163f6[_0x4d251b]['pairId']):'elementEnd'===_0x4163f6[_0x4d251b]['type']&&(_0x4163f6[_0x4d251b]['item']['startIndex']=_0x131235['get'](_0x4163f6[_0x4d251b]['pairId']));}['_processTape'](_0x51f149){for(let _0x1db2e8=0x0;_0x1db2e8<_0x51f149['length'];_0x1db2e8++){if('elementStart'===_0x51f149[_0x1db2e8]['type'])_0x51f149[_0x1db2e8]['item']['startIndex']=_0x1db2e8;else{if('elementEnd'===_0x51f149[_0x1db2e8]['type']){_0x51f149[_0x1db2e8]['item']['endIndex']=_0x1db2e8;const _0xd1625c=_0x51f149[_0x1db2e8]['item']['startIndex'];_0x51f149[_0xd1625c]['pairId']=_0x51f149[_0x1db2e8]['id'],_0x51f149[_0x1db2e8]['pairId']=_0x51f149[_0xd1625c]['id'];}else _0x51f149[_0x1db2e8]['item']['startIndex']=_0x1db2e8,_0x51f149[_0x1db2e8]['item']['endIndex']=_0x1db2e8,_0x51f149[_0x1db2e8]['pairId']=null;}_0x51f149[_0x1db2e8]['markersStart']||(_0x51f149[_0x1db2e8]['markersStart']=[],_0x51f149[_0x1db2e8]['markersEnd']=[]);}}['_markInsertions'](_0x593cf7,_0x4fbd71){const _0x2065ae=_0x593cf7['filter'](_0x731967=>!_0x731967['isAdded']);for(let _0x24f22a=0x0;_0x24f22a<_0x4fbd71['length'];_0x24f22a++)_0x4fbd71[_0x24f22a]['isAdded']&&(_0x2065ae[_0x24f22a]['isAdded']=_0x4fbd71[_0x24f22a]['isAdded']);}['_getDiff'](_0x536cc9,_0x4ed3ee=null){const _0x500760=this['repository']['getRevision'](_0x536cc9),_0x4258b3=_0x4ed3ee?this['repository']['getRevision'](_0x4ed3ee):null,_0x43dd20=this['_getRevisionsRange'](_0x500760,_0x4258b3),_0x59dcc4=_0x43dd20[_0x43dd20['length']-0x1],_0x8beaf8=new Map(),_0x5c398b={'model':{},'attributes':{},'changes':[]},_0x3c82a9=new Set(),_0x1be088=new Map();for(let _0x533a58=_0x43dd20['length']-0x1;_0x533a58>=0x0;_0x533a58--){const _0x189998=_0x43dd20[_0x533a58];for(const _0x41451f of Object['keys'](_0x189998['diffData']))if(_0x189998['diffData'][_0x41451f]['attachChange']){const _0x1932a8=_0x189998['diffData'][_0x41451f]['attachChange'];_0x1932a8['isAttached']?(_0x3c82a9['add'](_0x41451f),_0x1be088['has'](_0x41451f)&&_0x1be088['get'](_0x41451f)['userId']==_0x1932a8['userId']?_0x1be088['delete'](_0x41451f):_0x1be088['set'](_0x41451f,_0x1932a8)):_0x1be088['has'](_0x41451f)?(_0x3c82a9['delete'](_0x41451f),_0x1be088['delete'](_0x41451f)):(_0x3c82a9['add'](_0x41451f),_0x1be088['set'](_0x41451f,_0x1932a8));}else _0x3c82a9['add'](_0x41451f);}for(const _0x2b1aab of _0x3c82a9){const _0xf0fbe4=_0x1be088['has'](_0x2b1aab)&&!_0x1be088['get'](_0x2b1aab)['isAttached'];let _0x125199=_0xf0fbe4?_0x43dd20['length']-0x1:0x0;const _0x17c32d=_0xf0fbe4?-0x1:0x1;for(;_0x43dd20[_0x125199];){const _0x1f2349=_0x43dd20[_0x125199];if(_0x1f2349['diffData'][_0x2b1aab]){const _0x1f321e=_0xf0fbe4?_0x1f2349['diffData'][_0x2b1aab]['attributesBefore']:_0x1f2349['diffData'][_0x2b1aab]['attributesAfter'];_0x5c398b['attributes'][_0x2b1aab]=_0x1f321e?_0x1d6aee(_0x1f321e):{};break;}_0x125199+=_0x17c32d;}}for(const _0xb6bf34 of _0x43dd20){_0xb6bf34['model']={};for(const _0x394152 of _0xb6bf34['authors'])_0x8beaf8['set'](_0x394152['id'],_0x394152);for(const _0x1b2b2a of _0x3c82a9){const _0x2d91b7=_0xb6bf34['diffData'][_0x1b2b2a]?_0xb6bf34['diffData'][_0x1b2b2a]['insertions']:'[]',_0x3d781e=_0xb6bf34['diffData'][_0x1b2b2a]?_0xb6bf34['diffData'][_0x1b2b2a]['deletions']:'[]';_0xb6bf34['model'][_0x1b2b2a]={'insertions':this['_utils']['_makeModelFromViewString'](_0x2d91b7),'deletions':this['_utils']['_makeModelFromViewString'](_0x3d781e)};}}for(const _0x1c2960 of _0x3c82a9){let _0x44e886=null,_0xea923c=0x0;const _0x47d603=new Map(Array['from'](_0x500760['model'][_0x1c2960]['insertions']['markers'])['filter'](([_0x4a37c2])=>!_0x4a37c2['startsWith']('revision:')));let _0xadee5f=0x0;for(const _0xc508df of _0x43dd20){const _0x2a9774=this['_makeTape'](_0xc508df['model'][_0x1c2960]['insertions']);_0xc508df==_0x500760?(_0x44e886=_0x2a9774,_0xea923c=_0x44e886['length'],_0x44e886['forEach'](_0x59887d=>{_0x59887d['id']=_0xadee5f++;}),this['_processTape'](_0x44e886)):this['_markInsertions'](_0x44e886,_0x2a9774);const _0x4d9d32=_0x44e886['filter'](_0x4e1b85=>!_0x4e1b85['isAdded'])['map'](_0x49641c=>_0x49641c['id']);let _0x4dfc7a=0x0;const _0x5b4538=this['_makeTape'](_0xc508df['model'][_0x1c2960]['deletions']);_0x5b4538['forEach'](_0x176a93=>{_0x176a93['isRemoved']?_0x176a93['id']=_0xea923c++:_0x176a93['id']=_0x4d9d32[_0x4dfc7a++];}),this['_processTape'](_0x5b4538),this['_setDistance'](_0x44e886,'isAdded'),this['_setDistance'](_0x5b4538,'isRemoved'),_0xc508df==_0x500760&&this['_markMarkers'](_0x44e886,_0x47d603),_0x44e886=this['_joinTapes'](_0x44e886,_0x5b4538),this['_refreshStartEndIndex'](_0x44e886),this['_setDistance'](_0x44e886,'isRemoved');}_0x44e886=_0x44e886['filter'](_0x36f492=>!(_0x36f492['isAdded']&&_0x36f492['isRemoved']));const _0x451d86=new Map(_0x59dcc4['model'][_0x1c2960]['deletions']['markers']),_0x228c79=new Set(_0x47d603['keys']());for(const _0x317653 of _0x451d86['keys']())_0x228c79['delete'](_0x317653);this['_markSuggestions'](_0x44e886,_0x228c79),this['_fixObsoleteTags'](_0x44e886),_0x44e886=this['_removeMissingPairs'](_0x44e886),_0x44e886=this['_markMismatchedRemovedTags'](_0x44e886),_0x44e886=this['_removeUnsupportedChanges'](_0x44e886);const {root:_0x417160,changes:_0x12f8a4}=this['_makeModelFromTape'](_0x44e886,_0x8beaf8,_0x1c2960);_0x5c398b['model'][_0x1c2960]=_0x417160;const _0x5b994c=_0x1be088['get'](_0x1c2960);if(_0x5b994c){const _0x4f1ac3=_0x8beaf8['get'](_0x5b994c['userId']),_0x3c06db=new ChangeItem({'author':_0x4f1ac3,'type':_0x5b994c['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x1c2960});_0x12f8a4['unshift'](_0x3c06db),_0x5c398b['attributes'][_0x1c2960]['revisionHistoryAttachChange']=_0x3c06db['id'];}_0x5c398b['changes']=_0x5c398b['changes']['concat'](_0x12f8a4);}return _0x5c398b;}['_markMarkers'](_0x4b2721,_0x26c4c2){for(let _0x1ad0b2=0x0;_0x1ad0b2<_0x4b2721['length'];_0x1ad0b2++)for(const [_0xf4f713,_0x868fc9]of _0x26c4c2)!_0x868fc9['isCollapsed']&&_0x868fc9['start']['isEqual'](_0x4b2721[_0x1ad0b2]['previousPosition'])&&_0x4b2721[_0x1ad0b2]['markersStart']['push'](_0xf4f713),_0x868fc9['end']['isEqual'](_0x4b2721[_0x1ad0b2]['nextPosition'])&&_0x4b2721[_0x1ad0b2]['markersEnd']['push'](_0xf4f713);}['_joinTapes'](_0x48f686,_0x3e2163){let _0x4f959f=[],_0x2eb620=0x0,_0x25aa50=0x0;for(;_0x2eb620<_0x48f686['length']||_0x25aa50<_0x3e2163['length'];){const _0xad2ecc=_0x48f686[_0x2eb620]||{},_0x517ef2=_0x3e2163[_0x25aa50]||{};if(_0xad2ecc['id']==_0x517ef2['id'])_0x2eb620++,_0x25aa50++,_0x4f959f['push'](_0xad2ecc);else{if(_0x517ef2['isRemoved']&&_0xad2ecc['isAdded']){const {commonTape:_0x3d52f1,iEnd:_0x23051e,jEnd:_0xd75692}=this['_threeWayMerge'](_0x48f686,_0x2eb620,_0x3e2163,_0x25aa50);_0x4f959f=_0x4f959f['concat'](_0x3d52f1),_0x2eb620=_0x23051e,_0x25aa50=_0xd75692;}else _0x517ef2['isRemoved']?(_0x25aa50++,_0x4f959f['push'](_0x517ef2)):(_0x2eb620++,_0x4f959f['push'](_0xad2ecc));}}return _0x4f959f;}['_markSuggestions'](_0x3acc5f,_0x3cf419){const _0x422c62=[];for(let _0x95fcc9=0x0;_0x95fcc9<_0x3acc5f['length'];_0x95fcc9++){for(let _0x1ed901=0x0;_0x1ed901<_0x3acc5f[_0x95fcc9]['markersStart']['length'];_0x1ed901++){const _0x391c5f=_0x3acc5f[_0x95fcc9]['markersStart'][_0x1ed901];if(!_0x3cf419['has'](_0x391c5f))continue;const {group:_0x19a580,type:_0x4bd62d,authorId:_0x4d3c59}=_0x23191a(_0x391c5f);'revision-suggestion'!=_0x19a580||'insertion'!=_0x4bd62d&&'deletion'!=_0x4bd62d||(_0x422c62['unshift']({'type':_0x4bd62d,'name':_0x391c5f,'userId':_0x4d3c59}),_0x3acc5f[_0x95fcc9]['markersStart']['splice'](_0x1ed901,0x1),_0x1ed901--);}_0x517a5a(_0x3acc5f[_0x95fcc9]);for(let _0x4de37d=0x0;_0x4de37d<_0x3acc5f[_0x95fcc9]['markersEnd']['length'];_0x4de37d++){const _0x23ebdc=_0x3acc5f[_0x95fcc9]['markersEnd'][_0x4de37d];if(!_0x3cf419['has'](_0x23ebdc))continue;const {group:_0x41d285,type:_0x4da2e4}=_0x23191a(_0x23ebdc);if('revision-suggestion'!=_0x41d285||'insertion'!=_0x4da2e4&&'deletion'!=_0x4da2e4)continue;_0x3acc5f[_0x95fcc9]['markersEnd']['splice'](_0x4de37d,0x1),_0x4de37d--;const _0x11d5da=_0x422c62['findIndex'](_0x2a81a4=>_0x2a81a4['name']==_0x23ebdc);_0x11d5da>-0x1&&_0x422c62['splice'](_0x11d5da,0x1);}}function _0x23191a(_0x33c920){const _0x4db5ea=_0x33c920['split'](':');return{'group':_0x4db5ea[0x0],'type':_0x4db5ea[0x1],'subType':_0x4db5ea['length']>=0x5?_0x4db5ea[0x2]:null,'id':_0x4db5ea['length']<0x5?_0x4db5ea[0x2]:_0x4db5ea[0x3],'authorId':_0x4db5ea['length']<0x5?_0x4db5ea[0x3]:_0x4db5ea[0x4],'markerCount':0x6==_0x4db5ea['length']?_0x4db5ea[0x5]:null};}function _0x517a5a(_0xfe9e09){for(let _0x34f15b=0x0;_0x34f15b<_0x422c62['length'];_0x34f15b++){if(_0xfe9e09['isAdded']&&'insertion'==_0x422c62[_0x34f15b]['type']&&_0xfe9e09['isAdded']['userId']==_0x422c62[_0x34f15b]['userId'])return _0xfe9e09['isAddSuggestion']=_0x422c62[_0x34f15b],void delete _0xfe9e09['isAdded'];if(!_0xfe9e09['isAdded']&&!_0xfe9e09['isRemoved']&&'deletion'==_0x422c62[_0x34f15b]['type'])return void(_0xfe9e09['isRemoveSuggestion']=_0x422c62[_0x34f15b]);}}}['_setDistance'](_0x20499c,_0x2f3a65){let _0x5b3206=0x0,_0x44b8b8=!0x1;const _0x49483d=new Map();for(const _0x42ee18 of _0x20499c)_0x42ee18[_0x2f3a65]?_0x44b8b8&&(_0x5b3206++,_0x44b8b8=!0x1):(_0x5b3206++,_0x44b8b8=!0x0),_0x49483d['set'](_0x42ee18['id'],_0x5b3206);for(let _0x511151=0x0;_0x511151<_0x20499c['length'];_0x511151++){if('isRemoved'==_0x2f3a65&&_0x20499c[_0x511151]['isAdded']||'isAdded'==_0x2f3a65&&_0x20499c[_0x511151]['isRemoved'])continue;if('text'==_0x20499c[_0x511151]['type']){_0x20499c[_0x511151]['distance']=0x0;continue;}const _0x477c1c=_0x49483d['get'](_0x20499c[_0x511151]['pairId']),_0x1060c3=_0x49483d['get'](_0x20499c[_0x511151]['id']);_0x20499c[_0x511151]['distance']=_0x477c1c-_0x1060c3;}}['_getRevisionsRange'](_0x50f59f,_0x369c6f,_0xd25cd7=!0x1){const _0x18ee4d=[];let _0x53c9a7=this['repository']['getIndex'](_0x50f59f),_0x4a09c3=this['repository']['getIndex'](_0x369c6f);for(-0x1==_0x4a09c3&&(_0x4a09c3=this['repository']['_revisions']['length'],_0xd25cd7=!0x1);_0x53c9a7<_0x4a09c3;)_0x18ee4d['push'](this['repository']['getRevision'](_0x53c9a7)),_0x53c9a7++;return _0xd25cd7&&_0x18ee4d['push'](this['repository']['getRevision'](_0x53c9a7)),_0x18ee4d;}['_threeWayMerge'](_0x4be304,_0x4688bd,_0x3e9ef1,_0xb872d5){const _0xe8489e=this['editor']['model']['schema'];let _0x1b63ac=_0x4688bd;for(;_0x4be304[_0x1b63ac]&&_0x4be304[_0x1b63ac]['isAdded'];)_0x1b63ac++;let _0x4765d2=_0xb872d5;for(;_0x3e9ef1[_0x4765d2]&&_0x3e9ef1[_0x4765d2]['isRemoved'];)_0x4765d2++;_0x5eaee8(_0x4be304,_0x4688bd,_0x1b63ac),_0x5eaee8(_0x3e9ef1,_0xb872d5,_0x4765d2);const _0x1ae7de=_0x3e9ef1['slice'](_0xb872d5,_0x4765d2)['concat'](_0x4be304['slice'](_0x4688bd,_0x1b63ac));return _0x1ae7de['sort']((_0x3bf38,_0x10280e)=>_0x3bf38['side']!=_0x10280e['side']?_0x3bf38['side']-_0x10280e['side']:_0x3bf38['level']!=_0x10280e['level']?_0x3bf38['level']-_0x10280e['level']:_0x3bf38['distance']!=_0x10280e['distance']?_0x10280e['distance']-_0x3bf38['distance']:!!_0x3bf38['isAdded']!=!!_0x10280e['isAdded']?-0x1==_0x3bf38['side']||0x0==_0x3bf38['side']?_0x3bf38['isAdded']?-0x1:0x1:_0x3bf38['isAdded']?0x1:-0x1:_0x3bf38['index']-_0x10280e['index']),{'commonTape':_0x1ae7de,'iEnd':_0x1b63ac,'jEnd':_0x4765d2};function _0x5eaee8(_0x341a0e,_0x2e010f,_0x53c243){let _0x27cb5d=-0x1,_0x55f215=Number['POSITIVE_INFINITY'],_0x2dcef0=!0x0;for(let _0x4fafd7=_0x2e010f;_0x4fafd7<_0x53c243;_0x4fafd7++)if(_0xe8489e['isInline'](_0x341a0e[_0x4fafd7]['item'])||(_0x2dcef0=!0x1),_0x341a0e[_0x4fafd7]['item']['startIndex']<_0x2e010f&&(_0x27cb5d=_0x4fafd7),_0x341a0e[_0x4fafd7]['item']['endIndex']>=_0x53c243){_0x55f215=_0x4fafd7;break;}_0x2dcef0&&(_0x27cb5d=_0x53c243-0x1);for(let _0x5f4d79=_0x2e010f;_0x5f4d79<_0x53c243;_0x5f4d79++)_0x341a0e[_0x5f4d79]['side']=_0x5f4d79<=_0x27cb5d?-0x1:_0x5f4d79<_0x55f215?0x0:0x1,_0x341a0e[_0x5f4d79]['index']=_0x5f4d79;let _0x756cc9=0x0;for(let _0x19c2ba=_0x2e010f;_0x19c2ba<=_0x27cb5d;_0x19c2ba++)0x0==_0x341a0e[_0x19c2ba]['distance']?_0x341a0e[_0x19c2ba]['level']=_0x756cc9:(_0x756cc9++,_0x341a0e[_0x19c2ba]['level']=_0x756cc9,_0x756cc9++);for(let _0x5b0d27=_0x2e010f;_0x5b0d27<_0x53c243;_0x5b0d27++)0x0==_0x341a0e[_0x5b0d27]['side']&&(_0x341a0e[_0x5b0d27]['level']=_0x756cc9);_0x756cc9=0x0;for(let _0xea8d2b=_0x53c243-0x1;_0xea8d2b>=_0x55f215;_0xea8d2b--)0x0==_0x341a0e[_0xea8d2b]['distance']?_0x341a0e[_0xea8d2b]['level']=_0x756cc9:(_0x756cc9--,_0x341a0e[_0xea8d2b]['level']=_0x756cc9,_0x756cc9--);}}['_fixObsoleteTags'](_0x11685d){const _0x4776b1=new Map(),_0xd819cb=this['editor']['model']['schema'];for(let _0x5aab7c=0x1;_0x5aab7c<_0x11685d['length'];_0x5aab7c++){let _0x56a1f7,_0x5e5f19,_0x4519e0;const _0x1e30bf=_0x11685d[_0x5aab7c],_0x7c8b96=_0x11685d[_0x5aab7c-0x1];if('text'==_0x1e30bf['type'])continue;if(_0x1e30bf['type']!=_0x7c8b96['type'])continue;if(!_0xd819cb['isBlock'](_0x7c8b96['item'])||_0xd819cb['isLimit'](_0x7c8b96['item']))continue;if(!_0xd819cb['isBlock'](_0x1e30bf['item'])||_0xd819cb['isLimit'](_0x1e30bf['item']))continue;if((_0x11685d[_0x5aab7c]['isAdded']||_0x11685d[_0x5aab7c]['isAddSuggestion'])&&_0x11685d[_0x5aab7c-0x1]['isRemoved'])_0x56a1f7=_0x11685d[_0x5aab7c],_0x5e5f19=_0x11685d[_0x5aab7c-0x1],_0x4519e0=_0x5aab7c-0x1;else{if(!_0x11685d[_0x5aab7c]['isRemoved']||!_0x11685d[_0x5aab7c-0x1]['isAdded']&&!_0x11685d[_0x5aab7c-0x1]['isAddSuggestion'])continue;_0x56a1f7=_0x11685d[_0x5aab7c-0x1],_0x5e5f19=_0x11685d[_0x5aab7c],_0x4519e0=_0x5aab7c;}const _0x45a91c=_0x56a1f7['level']==_0x5e5f19['level'],_0x11647e=Math['abs'](_0x56a1f7['level'])<Math['abs'](_0x5e5f19['level'])&&0x0==_0x5e5f19['distance'];(_0x45a91c||_0x11647e)&&(_0x4776b1['set'](_0x5e5f19['id'],_0x56a1f7['id']),_0x11685d['splice'](_0x4519e0,0x1),_0x5aab7c--,_0x56a1f7['isAdded']=!0x1);}for(let _0x5a6b2f=0x0;_0x5a6b2f<_0x11685d['length'];_0x5a6b2f++)_0x4776b1['has'](_0x11685d[_0x5a6b2f]['pairId'])&&(_0x11685d[_0x5a6b2f]['pairId']=_0x4776b1['get'](_0x11685d[_0x5a6b2f]['pairId']));}['_removeMissingPairs'](_0x17b411){const _0x584439=new Set(_0x17b411['map'](_0x3ce9e2=>_0x3ce9e2['id']));for(let _0x2217e7=0x0;_0x2217e7<_0x17b411['length'];_0x2217e7++)_0x584439['has'](_0x17b411[_0x2217e7]['pairId'])||0x0==_0x17b411[_0x2217e7]['distance']||(_0x17b411[_0x2217e7]['isIncorrect']=!0x0);return _0x17b411['filter'](_0x12373c=>!_0x12373c['isIncorrect']);}['_markMismatchedRemovedTags'](_0x1012bd){const _0xdbcea4=new Set();for(let _0x42ef33=0x0;_0x42ef33<_0x1012bd['length'];_0x42ef33++){if(_0xdbcea4['has'](_0x1012bd[_0x42ef33]['id'])&&_0x1012bd[_0x42ef33]['isRemoved']&&(_0x1012bd[_0x42ef33]['isIncorrect']=!0x0),_0x1012bd[_0x42ef33]['isIncorrect'])continue;if(0x0==_0x1012bd[_0x42ef33]['distance'])continue;if('elementStart'!=_0x1012bd[_0x42ef33]['type'])continue;if(null==_0x1012bd[_0x42ef33]['pairId'])continue;let _0x2572b1=_0x42ef33+0x1,_0x343b59=0x0;for(;_0x1012bd[_0x2572b1]['id']!=_0x1012bd[_0x42ef33]['pairId'];)'elementStart'==_0x1012bd[_0x2572b1]['type']?_0x343b59++:'elementEnd'==_0x1012bd[_0x2572b1]['type']&&_0x343b59--,_0x2572b1++;if(0x0!=_0x343b59){if(_0x1012bd[_0x42ef33]['isRemoved'])_0x1012bd[_0x42ef33]['isIncorrect']=!0x0;else{for(;_0x2572b1!=_0x42ef33;)_0x1012bd[_0x2572b1]['isRemoved']&&0x0!=_0x1012bd[_0x2572b1]['distance']&&(_0x1012bd[_0x2572b1]['isIncorrect']=!0x0,_0xdbcea4['add'](_0x1012bd[_0x2572b1]['pairId'])),_0x2572b1--;}}}return _0x1012bd['filter'](_0x3fb24f=>!_0x3fb24f['isIncorrect']);}['_removeUnsupportedChanges'](_0xd561b1){const _0xb9c7a3=this['editor']['model']['schema'];for(let _0x10251f=0x0;_0x10251f<_0xd561b1['length'];_0x10251f++){if(!(_0xd561b1[_0x10251f]['isAdded']||_0xd561b1[_0x10251f]['isAddSuggestion']||_0xd561b1[_0x10251f]['isRemoved']||_0xd561b1[_0x10251f]['isRemoveSuggestion']))continue;if(0x0==_0xd561b1[_0x10251f]['distance'])continue;const _0x35a01c=_0xd561b1[_0x10251f]['item'];_0xb9c7a3['isBlock'](_0x35a01c)||_0xb9c7a3['isLimit'](_0x35a01c)||(_0xd561b1[_0x10251f]['isAdded']&&delete _0xd561b1[_0x10251f]['isAdded'],_0xd561b1[_0x10251f]['isAddSuggestion']&&delete _0xd561b1[_0x10251f]['isAddSuggestion'],_0xd561b1[_0x10251f]['isRemoveSuggestion']&&delete _0xd561b1[_0x10251f]['isRemoveSuggestion'],_0xd561b1[_0x10251f]['isRemoved']&&(_0xd561b1[_0x10251f]['isIncorrect']=!0x0));}return _0xd561b1['filter'](_0x4fdc38=>!_0x4fdc38['isIncorrect']);}['_makeModelFromTape'](_0x273191,_0x3bf4ca,_0x296963){const _0x504e47=new ckeditor5['ModelDocumentFragment'](),_0x5f6ea3=[],_0xbb0e94=new Map(),_0x1a0ff7=this['editor']['model'],_0x552df7=_0x1a0ff7['schema'],_0x178c6b=[_0x504e47],_0x554355={},_0x950720={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x384ec5=null;const _0x1c2b7a=[0x0];for(let _0x19899a=0x0;_0x19899a<_0x273191['length'];_0x19899a++)if('elementStart'===_0x273191[_0x19899a]['type']){_0x273191[_0x19899a]['previousPosition']=_0x1a0ff7['createPositionFromPath'](_0x504e47,_0x1c2b7a);const _0x2820af=new ckeditor5['ModelElement'](_0x273191[_0x19899a]['item']['name'],_0x273191[_0x19899a]['item']['getAttributes']());_0x178c6b[0x0]['_appendChild'](_0x2820af),_0x1c2b7a['push'](0x0),_0x178c6b['unshift'](_0x2820af),_0x273191[_0x19899a]['nextPosition']=_0x1a0ff7['createPositionFromPath'](_0x504e47,_0x1c2b7a);}else'elementEnd'===_0x273191[_0x19899a]['type']?(_0x178c6b['shift'](),_0x273191[_0x19899a]['previousPosition']=_0x1a0ff7['createPositionFromPath'](_0x504e47,_0x1c2b7a),_0x1c2b7a['pop'](),_0x1c2b7a[_0x1c2b7a['length']-0x1]++,_0x273191[_0x19899a]['nextPosition']=_0x1a0ff7['createPositionFromPath'](_0x504e47,_0x1c2b7a)):(_0x273191[_0x19899a]['previousPosition']=_0x1a0ff7['createPositionFromPath'](_0x504e47,_0x1c2b7a),_0x384ec5?_0x384ec5['_data']+=_0x273191[_0x19899a]['item']['data']:_0x384ec5=new ckeditor5['ModelText'](_0x273191[_0x19899a]['item']['data'],_0x273191[_0x19899a]['item']['getAttributes']()),_0x273191[_0x19899a+0x1]&&'text'===_0x273191[_0x19899a+0x1]['type']&&_0x1e8de1(_0x384ec5,_0x273191[_0x19899a+0x1]['item'])||(_0x178c6b[0x0]['_appendChild'](_0x384ec5),_0x384ec5=null),_0x1c2b7a[_0x1c2b7a['length']-0x1]+=_0x273191[_0x19899a]['item']['offsetSize'],_0x273191[_0x19899a]['nextPosition']=_0x1a0ff7['createPositionFromPath'](_0x504e47,_0x1c2b7a));for(let _0x39edeb=0x0;_0x39edeb<_0x273191['length'];_0x39edeb++){const _0x1b36e2=_0x273191[_0x39edeb]['previousPosition'],_0x5500bb=_0x273191[_0x39edeb]['nextPosition'];for(const _0x2d9ad1 of _0x273191[_0x39edeb]['markersStart'])_0xbb0e94['set'](_0x2d9ad1,{'start':_0x1b36e2,'end':null});_0x28570c('isRemoveSuggestion',_0x39edeb,_0x1b36e2,_0x5500bb),_0x28570c('isAddSuggestion',_0x39edeb,_0x1b36e2,_0x5500bb),_0x28570c('isRemoved',_0x39edeb,_0x1b36e2,_0x5500bb),_0x28570c('isAdded',_0x39edeb,_0x1b36e2,_0x5500bb);for(const _0x25d7d1 of _0x273191[_0x39edeb]['markersEnd']){const _0xc7913c=_0xbb0e94['get'](_0x25d7d1);_0xc7913c?_0xc7913c['end']=_0x5500bb:_0xbb0e94['set'](_0x25d7d1,{'start':_0x5500bb,'end':_0x5500bb});}}for(const [_0x52459a,_0x9e098b]of _0xbb0e94){const _0x2c4f3a=this['editor']['model']['createRange'](_0x9e098b['start'],_0x9e098b['end']);_0x504e47['markers']['set'](_0x52459a,_0x2c4f3a);}return _0x5f6ea3['sort']((_0x548c1b,_0x4d7696)=>{const _0x499601=_0x504e47['markers']['get']('revision:'+_0x548c1b['id']),_0x2a5181=_0x504e47['markers']['get']('revision:'+_0x4d7696['id']);return _0x499601['start']['isBefore'](_0x2a5181['start'])?-0x1:_0x499601['start']['isAfter'](_0x2a5181['start'])?0x1:_0x499601['end']['isBefore'](_0x2a5181['end'])?-0x1:_0x499601['end']['isAfter'](_0x2a5181['end'])?0x1:'add'===_0x548c1b['type']?-0x1:0x1;}),{'root':_0x504e47,'changes':_0x5f6ea3};function _0x28570c(_0x23983e,_0x22db2d,_0x3d8e82,_0x35dee7){const _0x57aaf9=!!_0x273191[_0x22db2d][_0x23983e],_0x31cd8a=_0x57aaf9?_0x273191[_0x22db2d][_0x23983e]['userId']:null,_0xa01365=_0x22db2d===_0x273191['length']-0x1,_0x3f3a82=_0x950720[_0x23983e][0x0],_0x4ac46c=_0x552df7['isObject'](_0x273191[_0x22db2d]['item']);!_0x554355[_0x23983e]&&_0x57aaf9?_0x554355[_0x23983e]={'start':_0x3d8e82,'tapeItem':_0x273191[_0x22db2d],'userId':_0x31cd8a,'type':_0x23983e}:_0x554355[_0x23983e]&&!_0x57aaf9?(_0x554355[_0x23983e]['end']=_0x3d8e82,_0x2ffc75(_0x554355[_0x23983e]),_0x554355[_0x23983e]=null):_0x554355[_0x23983e]&&_0x57aaf9&&_0x554355[_0x23983e]['userId']!==_0x31cd8a&&(_0x554355[_0x23983e]['end']=_0x3d8e82,_0x3f3a82&&_0x3f3a82['userId']===_0x554355[_0x23983e]['userId']||_0x2ffc75(_0x554355[_0x23983e]),_0x554355[_0x23983e]={'start':_0x3d8e82,'tapeItem':_0x273191[_0x22db2d],'userId':_0x31cd8a,'type':_0x23983e}),_0x554355[_0x23983e]&&_0x4ac46c&&('elementStart'!==_0x273191[_0x22db2d]['type']||_0x3f3a82&&_0x3f3a82['userId']===_0x31cd8a||_0x950720[_0x23983e]['unshift']({'userId':_0x31cd8a,'object':_0x273191[_0x22db2d]['item'],'change':_0x554355[_0x23983e]}),'elementEnd'===_0x273191[_0x22db2d]['type']&&_0x3f3a82&&_0x3f3a82['object']===_0x273191[_0x22db2d]['item']&&(_0x950720[_0x23983e]['shift'](),_0x554355[_0x23983e]=_0x3f3a82['change'])),_0x554355[_0x23983e]&&_0xa01365&&(_0x554355[_0x23983e]['end']=_0x35dee7,_0x2ffc75(_0x554355[_0x23983e]),_0x554355[_0x23983e]=null);}function _0x2ffc75({start:_0x57b720,end:_0x1d5592,tapeItem:_0x700126,userId:_0x411782,type:_0x14f689}){const _0x550f39=_0x700126['item'],_0x11baef=_0x1a0ff7['schema']['isBlock'](_0x550f39)&&!_0x1a0ff7['schema']['isLimit'](_0x550f39),_0x13aa50=_0x57b720['nodeAfter']==_0x1d5592['parent']&&_0x1d5592['isAtStart'];if(_0x11baef&&_0x13aa50)return;const _0x5b2024=_0x1a0ff7['createRange'](_0x57b720,_0x1d5592),_0x27e139=_0x3bf4ca['get'](_0x411782),_0x24d190=new ChangeItem({'author':_0x27e139,'type':'isAdded'==_0x14f689||'isAddSuggestion'==_0x14f689?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x14f689||'isRemoveSuggestion'==_0x14f689},'createdAt':new Date(),'rootName':_0x296963});_0x5f6ea3['push'](_0x24d190),_0x504e47['markers']['set']('revision:'+_0x24d190['id'],_0x5b2024);}function _0x1e8de1(_0x50fa98,_0xe61732){const _0x13680a=_0x50fa98['getAttributes'](),_0x103364=_0xe61732['getAttributes']();for(const _0x3a3678 of _0x13680a){if(_0x3a3678[0x1]!==_0xe61732['getAttribute'](_0x3a3678[0x0]))return!0x1;_0x103364['next']();}return _0x103364['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x28b130=>{const _0x1fa865=_0x28b130['markerName']['split'](':')[0x1],_0x34fbab=this['_getChangeFromId'](_0x1fa865);if(!_0x34fbab)return null;const _0x2ecd5f='add'==_0x34fbab['type']?'insertion':'deletion',_0x38248f=['ck-suggestion-marker','ck-suggestion-marker-'+_0x2ecd5f];return _0x34fbab['data']['isSuggestion']&&_0x38248f['push']('ck-suggestion-marker-'+_0x2ecd5f+'-new'),this['activeChange']==_0x34fbab&&_0x38248f['push']('ck-suggestion-marker--active'),{'classes':_0x38248f,'attributes':{'data-change-id':_0x1fa865}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5a3644=>{_0x5a3644['on']('element:pre',(_0x3642a1,_0x332311,_0x2bc621)=>{const _0x1a4969=_0x332311['viewItem']['getChild'](0x0);if(!_0x1a4969||!_0x1a4969['is']('element','code'))return;if(!_0x2bc621['consumable']['consume'](_0x1a4969,{'attributes':['vid_start','vid_end']}))return;const _0x369b36=_0x332311['modelRange']['start']['nodeAfter'];_0x2bc621['writer']['setAttribute']('vid_start',_0x1a4969['getAttribute']('vid_start'),_0x369b36),_0x2bc621['writer']['setAttribute']('vid_end',_0x1a4969['getAttribute']('vid_end'),_0x369b36);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x54c9c8=>{_0x54c9c8['on']('element',(_0x3b7d67,_0x2cf397,_0x5088c8)=>{if(!_0x5088c8['consumable']['consume'](_0x2cf397['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x2cf397['modelRange']['isCollapsed'])return;const _0x3e4600=_0x2cf397['modelRange']['start']['nodeAfter'];_0x3e4600['hasAttribute']('vid_start')||_0x3e4600['hasAttribute']('vid')||(_0x5088c8['writer']['setAttribute']('vid_start',_0x2cf397['viewItem']['getAttribute']('vid_start'),_0x3e4600),_0x5088c8['writer']['setAttribute']('vid_end',_0x2cf397['viewItem']['getAttribute']('vid_end'),_0x3e4600));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x143c8a=>_0x143c8a['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4536c9,[,_0x1403a9])=>{['vid_start','vid_end','vid']['includes'](_0x1403a9)&&(_0x4536c9['return']=!0x0,_0x4536c9['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x1ebd0c=>{_0x1ebd0c['on']('attribute:vid',(_0x5c6352,_0x4c55c5,_0x1c1bd3)=>{if('\x20'!=_0x4c55c5['item']['data']||_0x4c55c5['item']['parent']['maxOffset']>0x1)return;if(!_0x1c1bd3['consumable']['consume'](_0x4c55c5['item'],_0x5c6352['name']))return;const _0x2bd015=_0x1c1bd3['writer'],_0x4bcb45=_0x1c1bd3['mapper']['toViewRange'](_0x4c55c5['range']);_0x2bd015['wrap'](_0x4bcb45,_0x2bd015['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',(_0x3b3e7a,_0x47a59b,_0x3bf562)=>{const _0x494af9=_0x3bf562['mapper']['markerNameToElements'](_0x47a59b['markerName']);if(_0x494af9){for(const _0x6631e6 of _0x494af9)(_0x6631e6['hasClass']('ck-suggestion-marker-split')||_0x6631e6['hasClass']('ck-suggestion-marker-merge'))&&(_0x3bf562['mapper']['unbindElementFromMarkerName'](_0x6631e6,_0x47a59b['markerName']),_0x3bf562['writer']['remove'](_0x6631e6));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5f1dd2,_0x182cba,_0x50a1e5)=>{const _0x222061=_0x182cba['markerName']['split'](':')[0x1],_0x4d1a49=this['_getChangeFromId'](_0x222061);if(!_0x4d1a49)return null;const _0x2e60f4='add'==_0x4d1a49['type']?'split':'merge';if(_0x50a1e5['consumable']['test'](_0x182cba['markerRange'],_0x5f1dd2['name']))for(const _0x4be364 of _0x182cba['markerRange']['getItems']()){if(!_0x4be364['is']('element','softBreak'))continue;const _0x5bbe2d=_0x50a1e5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2e60f4}),_0x25326a=_0x50a1e5['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x4be364));_0x4d1a49['data']['isSuggestion']&&_0x50a1e5['writer']['addClass']('ck-suggestion-marker-'+_0x2e60f4+'-new',_0x5bbe2d),this['activeChange']==_0x4d1a49&&_0x50a1e5['writer']['addClass']('ck-suggestion-marker--active',_0x5bbe2d),_0x50a1e5['writer']['insert'](_0x25326a,_0x5bbe2d),_0x50a1e5['mapper']['bindElementToMarker'](_0x5bbe2d,_0x182cba['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x15871f=>{for(const _0x41f8b6 of this['editor']['model']['document']['getRootNames']()){const _0x348878=this['editor']['model']['document']['getRoot'](_0x41f8b6),_0x59ff5f=this['editor']['editing']['view']['document']['getRoot'](_0x41f8b6);if(_0x59ff5f){const _0x56d7dc=_0x348878['getAttribute']('revisionHistoryAttachChange');if(_0x15871f['removeAttribute']('data-change-id',_0x59ff5f),_0x15871f['removeClass']('ck-revision-history-root-add',_0x59ff5f),_0x15871f['removeClass']('ck-revision-history-root-remove',_0x59ff5f),_0x15871f['removeClass']('ck-revision-history-root--active',_0x59ff5f),_0x56d7dc){const _0xca99ef=this['_getChangeFromId'](_0x56d7dc);if(!_0xca99ef)return null;_0x15871f['setAttribute']('data-change-id',_0x56d7dc,_0x59ff5f),_0x15871f['addClass']('ck-revision-history-root-'+_0xca99ef['type'],_0x59ff5f),this['activeChange']==_0xca99ef&&_0x15871f['addClass']('ck-revision-history-root--active',_0x59ff5f);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5d0b09=>'revision-comment:'+_0x5d0b09,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5164d5=>'revision-suggestion:'+_0x5164d5,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x2462d7=>({'name':'suggestion:'+_0x2462d7,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x254435=>{const _0x371490=_0x254435['markerName']['split'](':')[0x1];return'insertion'!=_0x371490&&'deletion'!=_0x371490?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x371490]};}}),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',(_0x6243cc,_0x22bc43,_0x482d6f)=>{const _0x11458f=_0x482d6f['mapper']['markerNameToElements'](_0x22bc43['markerName']);if(_0x11458f){for(const _0x58e510 of _0x11458f)_0x58e510['is']('uiElement')&&(_0x482d6f['mapper']['unbindElementFromMarkerName'](_0x58e510,_0x22bc43['markerName']),_0x482d6f['writer']['remove'](_0x58e510));}},{'priority':'high'});}['_getChangeFromId'](_0x39ae52){return this['_changeIdToChange']['get'](_0x39ae52);}['_getViewForChange'](_0x59a2fc){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new ChangeDetailsView(this['editor']['locale'],_0x59a2fc),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x45cc85,_0x305037,_0x3e8aab,_0x36e6b7)=>{_0x36e6b7&&this['_balloon']['remove'](_0x36e6b7),_0x3e8aab&&(this['_balloon']['add']({'view':_0x3e8aab,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x457d44=this['editor']['editing'],_0x1af2f9=this['_getChangeFromId'](_0x3e8aab['changeId']);let _0x4ebe27;if(_0x1af2f9['data']['isOnRoot']){const _0x42faf5=_0x457d44['view']['getDomRoot'](_0x1af2f9['rootName']);_0x4ebe27=Array['from'](_0x42faf5['getClientRects']());}else{const _0xa41af5=this['editor']['model']['markers']['get']('revision:'+_0x3e8aab['changeId']);_0x4ebe27=Array['from'](_0x457d44['mapper']['markerNameToElements'](_0xa41af5['name']))['map'](_0xd26ee=>_0x457d44['view']['domConverter']['mapViewToDom'](_0xd26ee))['map'](_0x3db2bf=>Array['from'](_0x3db2bf['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4ebe27[0x0];return _0x4ebe27['find'](_0x3200a3=>_0x3200a3['top']-0x3<=this['_activeViewTarget']['y']&&_0x3200a3['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x3200a3['left']-0x3<=this['_activeViewTarget']['x']&&_0x3200a3['right']+0x3>=this['_activeViewTarget']['x'])||_0x4ebe27[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x24e4e1,_0x46055f,_0x27021d,_0x30d506)=>{this['activeView']=_0x27021d?this['_getViewForChange'](_0x27021d):null,this['editor']['model']['change'](()=>{const _0x4db17f=this['editor']['editing'];_0x30d506&&(_0x30d506['data']['isOnRoot']?_0x4db17f['view']['change'](_0x1d215f=>{_0x1d215f['removeClass']('ck-revision-history-root--active',_0x4db17f['view']['document']['getRoot'](_0x30d506['rootName']));}):_0x4db17f['reconvertMarker']('revision:'+_0x30d506['id'])),_0x27021d&&(_0x27021d['data']['isOnRoot']?_0x4db17f['view']['change'](_0x4f2337=>{_0x4f2337['addClass']('ck-revision-history-root--active',_0x4db17f['view']['document']['getRoot'](_0x27021d['rootName']));}):_0x4db17f['reconvertMarker']('revision:'+_0x27021d['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x5c1b0d,_0x12e401)=>{if(this['activeChange'])return;const _0x1b36e8=this['_findChangeIdFromDomTarget'](_0x12e401['target']),_0x57c85d=this['_changeIdToChange']['get'](_0x1b36e8);_0x57c85d?(this['_activeViewTarget']={'x':_0x12e401['domEvent']['x'],'y':_0x12e401['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x57c85d)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x384862,_0x4c8c08)=>{const _0x2dbe03=this['_findChangeIdFromDomTarget'](_0x4c8c08['target']),_0x303c07=this['_changeIdToChange']['get'](_0x2dbe03);_0x303c07?(this['_activeViewTarget']={'x':_0x4c8c08['domEvent']['x'],'y':_0x4c8c08['domEvent']['y']},_0x303c07===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x303c07):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x504d28){do{const _0x2ccf9b=_0x504d28['getAttribute']('data-change-id');if(_0x2ccf9b)return _0x2ccf9b;_0x504d28=_0x504d28['parent'];}while(_0x504d28);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x44c0df=>{for(const _0x210c4b of this['editor']['model']['markers'])_0x44c0df['removeMarker'](_0x210c4b);});}}function downcastSplitMergeMarker(_0x1d3b20){const _0x1e9918=_0x1d3b20['plugins']['get']('RevisionViewer');return(_0x4d37ea,_0x17d906,_0x181a6a)=>{const _0x3752b4=_0x17d906['markerName']['split'](':')[0x1],_0x35f89c=_0x1e9918['_getChangeFromId'](_0x3752b4);if(!_0x35f89c)return null;const _0xbcca8='add'==_0x35f89c['type']?'split':'merge';if(!_0x181a6a['consumable']['test'](_0x17d906['markerRange'],_0x4d37ea['name']))return;const _0x5a1882=_0x17d906['markerRange']['getWalker'](),_0x575039=_0x17d906['markerRange']['start'],_0x2cdcab=_0x1d3b20['model']['schema'];let _0x5cf0ef=null,_0x1037ba=null,_0x4b5390=!0x1,_0x5871f3=!0x1;for(const _0x457584 of _0x5a1882){const _0x55e4de=_0x457584['item'];_0x4b5390=_0x4b5390||_0x2cdcab['isContent'](_0x55e4de);const _0x4598bc=_0x181a6a['mapper']['toViewElement'](_0x55e4de);if(_0x4598bc&&_0x4598bc['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x457584['type']&&(_0x2cdcab['isBlock'](_0x55e4de)&&!_0x2cdcab['isLimit'](_0x55e4de)&&(_0x55e4de['nextSibling']||_0x575039['isAtEnd']?_0x5cf0ef&&_0x5cf0ef['parent']==_0x55e4de||(_0x5cf0ef=_0x55e4de,_0x5c883c(_0x457584['previousPosition']),_0x5871f3=!0x0):_0x1037ba=_0x1037ba||_0x457584['previousPosition']));}function _0x5c883c(_0x4d373c){const _0x4fbd9=_0x181a6a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xbcca8}),_0x4c0c8e=_0x181a6a['mapper']['toViewPosition'](_0x4d373c);_0x35f89c['data']['isSuggestion']&&_0x181a6a['writer']['addClass']('ck-suggestion-marker-'+_0xbcca8+'-new',_0x4fbd9),_0x1e9918['activeChange']==_0x35f89c&&_0x181a6a['writer']['addClass']('ck-suggestion-marker--active',_0x4fbd9),_0x181a6a['writer']['insert'](_0x4c0c8e,_0x4fbd9),_0x181a6a['mapper']['bindElementToMarker'](_0x4fbd9,_0x17d906['markerName']);}_0x4b5390||_0x5871f3||!_0x1037ba||_0x5c883c(_0x1037ba);};}function downcastSplitMergeMarkerSuggestion(_0x470683,_0x70c55e){return(_0x4f9c44,_0x487357,_0x44bd41)=>{if(!_0x44bd41['consumable']['test'](_0x487357['markerRange'],_0x4f9c44['name']))return;const _0x5876a5=_0x487357['markerRange']['getWalker'](),_0x190809=_0x487357['markerRange']['start'],_0x5905b0=_0x470683['model']['schema'];let _0x1acfba=null,_0x2b199d=null,_0x1223b8=!0x1,_0x1caca7=!0x1;for(const _0x3b9cfa of _0x5876a5){const _0xed139a=_0x3b9cfa['item'];_0x1223b8=_0x1223b8||_0x5905b0['isContent'](_0xed139a);const _0x92a735=_0x44bd41['mapper']['toViewElement'](_0xed139a);if(_0x92a735&&_0x92a735['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3b9cfa['type']&&(_0x5905b0['isBlock'](_0xed139a)&&!_0x5905b0['isLimit'](_0xed139a)&&(_0xed139a['nextSibling']||_0x190809['isAtEnd']?_0x1acfba&&_0x1acfba['parent']==_0xed139a||(_0x1acfba=_0xed139a,_0x6cb6d7(_0x3b9cfa['previousPosition']),_0x1caca7=!0x0):_0x2b199d=_0x2b199d||_0x3b9cfa['previousPosition']));}function _0x6cb6d7(_0x4019fc){const _0x75548f=_0x44bd41['mapper']['toViewPosition'](_0x4019fc),_0x2c2e47=_0x44bd41['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x70c55e});_0x44bd41['writer']['insert'](_0x75548f,_0x2c2e47),_0x44bd41['mapper']['bindElementToMarker'](_0x2c2e47,_0x487357['markerName']);}_0x1223b8||_0x1caca7||!_0x2b199d||_0x6cb6d7(_0x2b199d);};}class RestoreRevisionCommand extends ckeditor5['Command']{constructor(_0x491c7b){super(_0x491c7b);const _0x2338c9=_0x491c7b['plugins']['get'](_0x2a5545);this['affectsData']=!0x1,this['listenTo'](_0x2338c9,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2338c9,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x20090c=this['editor'],_0x20a080=_0x20090c['plugins']['get'](_0x2a5545),_0x376447=_0x20a080['isReady']?_0x20a080['diff']['newRevisionId']:null;_0x20090c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x376447);}['refresh'](){const {isReady:_0x474cf6,isEnabled:_0x4406b1,repository:_0x21749f,diff:_0x7c3418}=this['editor']['plugins']['get'](_0x2a5545),_0x38bebf=_0x7c3418&&_0x21749f['getLaterVisibleRevision'](_0x7c3418['newRevisionId']);this['isEnabled']=_0x474cf6&&_0x4406b1&&Boolean(_0x38bebf);}}class _0x35a3d4 extends ckeditor5['Command']{['_step'];constructor(_0x5070cc,{direction:_0xd8744e}){super(_0x5070cc);const _0x484c17=_0x5070cc['plugins']['get'](_0x2a5545);this['affectsData']=!0x1,this['_step']='forward'===_0xd8744e?0x1:-0x1,this['listenTo'](_0x484c17,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x484c17,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x484c17,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x2d487e=this['editor'],_0x1f65e6=_0x2d487e['plugins']['get'](_0x2a5545),{isNavigationMode:_0x2ccf14,currentChangeNumber:_0x3bb171}=_0x1f65e6;let _0x3afa6a;if(_0x1f65e6['activeChange']=_0x2ccf14?_0x1f65e6['diff']['changes']['get'](_0x3bb171+this['_step']):_0x1f65e6['diff']['changes']['first'],_0x1f65e6['activeChange']['data']['isOnRoot'])_0x3afa6a=_0x2d487e['editing']['view']['getDomRoot'](_0x1f65e6['activeChange']['rootName']);else{const _0x328982=_0x2d487e['model']['markers']['get']('revision:'+_0x1f65e6['activeChange']['id']);_0x3afa6a=getMarkerDomElement(_0x2d487e['editing'],_0x328982);}ckeditor5['scrollViewportToShowTarget']({'target':_0x3afa6a,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x233cf3,currentChangeNumber:_0x3f45a9,numberOfChanges:_0xdca080,isReady:_0x299b2a,isEnabled:_0x396ce4}=this['editor']['plugins']['get'](_0x2a5545);this['isEnabled']=!!(_0x396ce4&&_0x299b2a&&_0xdca080)&&(!_0x233cf3||(0x1===this['_step']?_0x3f45a9<_0xdca080-0x1:_0x3f45a9>0x0));}}class ChangesNavigationView extends ckeditor5['View']{constructor(_0x2e6e56){super(_0x2e6e56);const _0x50ff7b=this['bindTemplate'],_0x5634b7=new ckeditor5['ButtonView'](_0x2e6e56),_0x6c532b=new ckeditor5['ButtonView'](_0x2e6e56);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',(_0x14121d,_0x38bbd1)=>_0x14121d&&_0x38bbd1>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x3b826a,_0x396cbf,_0x382c59,_0x3a3d6e)=>{if(!_0x3b826a)return getTranslation$4(_0x2e6e56,'Loading...');if(!_0x382c59)return getTranslation$4(_0x2e6e56,'No\x20changes');const _0xc29906=getTranslation$4(_0x2e6e56,'NUMBER_OF_CHANGES',_0x382c59);return _0x3a3d6e?getTranslation$4(_0x2e6e56,'X_OF_Y_CHANGES',[_0x396cbf+0x1,_0x382c59]):_0xc29906;}),_0x5634b7['set']({'label':getTranslation$4(_0x2e6e56,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':ckeditor5['IconChevronUp']}),_0x6c532b['set']({'label':getTranslation$4(_0x2e6e56,'Show\x20next\x20change'),'tooltip':!0x0,'icon':ckeditor5['IconChevronDown']}),_0x5634b7['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x6c532b['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5634b7['on']('execute',()=>this['fire']('execute','backward')),_0x6c532b['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',_0x50ff7b['if']('_isStatusLabelVisible','ck-hidden',_0x40d866=>!_0x40d866)]},'children':[{'text':_0x50ff7b['to']('isNavigationMode',_0x59f17c=>_0x59f17c?getTranslation$4(_0x2e6e56,'EDIT_X_OF_Y_REVISIONS')+':\x20':getTranslation$4(_0x2e6e56,'Total')+':\x20')}]},{'text':_0x50ff7b['to']('_statusText')}]},new ckeditor5['ToolbarSeparatorView'](),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5634b7,_0x6c532b]}]});}}const _0x3235d4='ck-editor__editable__loading-overlay';class _0xad594d extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x43d529=this['editor']['editing']['view'];_0x43d529['change'](_0x536a2a=>{for(const _0x3dcea3 of _0x43d529['document']['roots'])_0x536a2a['addClass'](_0x3235d4,_0x3dcea3);});}['hide'](){const _0x56f3ff=this['editor']['editing']['view'];_0x56f3ff['change'](_0x4b44ba=>{for(const _0x55ad39 of _0x56f3ff['document']['roots'])_0x4b44ba['removeClass'](_0x3235d4,_0x55ad39);});}}class _0x5ebfea extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2a5545,_0xad594d];}['init'](){const _0x3982c5=this['editor'],_0x202d20=_0x3982c5['plugins']['get'](_0x2a5545),_0x4fffd1=_0x3982c5['plugins']['get'](_0xad594d);_0x3982c5['ui']['componentFactory']['add']('exitToEditing',_0x52c08b=>{const _0x268b27=new ckeditor5['ButtonView'](_0x52c08b);return _0x268b27['set']({'label':getTranslation$4(_0x52c08b,'Back\x20to\x20editing'),'icon':ckeditor5['IconUndo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x268b27,'execute',()=>{_0x3982c5['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x268b27;}),_0x3982c5['ui']['componentFactory']['add']('restoreRevision',_0x56dc14=>{const _0x154b72=new ckeditor5['ButtonView'](_0x56dc14);return _0x154b72['set']({'label':getTranslation$4(_0x56dc14,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x154b72['bind']('isEnabled')['to'](_0x3982c5['commands']['get']('restoreRevision')),this['listenTo'](_0x154b72,'execute',()=>_0x3982c5['execute']('restoreRevision')),_0x154b72;}),_0x3982c5['ui']['componentFactory']['add']('changesNavigation',_0x244e85=>{const _0xed7745=new ChangesNavigationView(_0x244e85),_0xe721df=_0x3982c5['commands']['get']('showPreviousChange'),_0x5941a3=_0x3982c5['commands']['get']('showNextChange');return _0xed7745['bind']('isBackwardNavigationEnabled')['to'](_0xe721df,'isEnabled'),_0xed7745['bind']('isForwardNavigationEnabled')['to'](_0x5941a3,'isEnabled'),_0xed7745['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x202d20),this['listenTo'](_0xed7745,'execute',(_0x33af9e,_0x544836)=>{_0x3982c5['execute']('forward'===_0x544836?'showNextChange':'showPreviousChange');}),_0xed7745;}),_0x4fffd1['show'](),_0x202d20['on']('change:isReady',(_0x45bdb6,_0x4f4ae9,_0x4167d7)=>{_0x4167d7?_0x4fffd1['hide']():_0x4fffd1['show']();});}}class _0x387d77 extends ckeditor5['LabeledFieldView']{['_resizeObserver']=null;constructor(_0x5ee276,_0x241792){super(_0x5ee276,_0x241792);const _0x41eb4a=this['bindTemplate'];this['set']({'label':getTranslation$4(_0x5ee276,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=getTranslation$4(_0x5ee276,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x41eb4a['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 _0x59a453=this['fieldView']['element'];this['_tooltipString']=_0x59a453['scrollWidth']>_0x59a453['clientWidth']&&_0x59a453['value']||'';}}class RevisionAuthorView extends ckeditor5['View']{constructor(_0x201772,_0x4cdbc8,_0x1c0b28){super(_0x201772);const _0x128bfb=new ckeditor5['IconView']();_0x128bfb['set']({'content':ckeditor5['IconUser'],'viewBox':'0\x200\x2011\x2010'});const _0x2ad3eb=['ck','ck-revision-history-sidebar__revision-author'];_0x1c0b28&&_0x2ad3eb['push']('ck-revision-history-sidebar__revision-author_creator');const _0xb1b505=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':getTranslation$4(_0x201772,_0x1c0b28?'Revision\x20creator':'Revision\x20author')},'children':[_0x128bfb,_0x4cdbc8['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x2ad3eb},'children':_0xb1b505});}}function dateToPrettyFormat(_0x56e41e,_0x15d7ee){return _0x15d7ee['toLocaleDateString'](_0x56e41e,{'month':'long','day':'numeric'})+',\x20'+_0x15d7ee['toLocaleTimeString'](_0x56e41e,{'hour':'numeric','minute':'numeric'});}function createActionsDropdownView(_0x30cc60,_0x2137c2){const _0x4e0833=_0x30cc60['bindTemplate'],_0x392ed8=_0x30cc60['locale'],_0xb74ef4=ckeditor5['createDropdown'](_0x392ed8);_0xb74ef4['panelPosition']='sw';const _0x48e54c=_createDropdownOptions(_0x30cc60,_0x2137c2);return _0x30cc60['bind']('isActionsDropdownOpen')['to'](_0xb74ef4,'isOpen'),_0xb74ef4['buttonView']['set']({'label':getTranslation$4(_0x392ed8,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':ckeditor5['IconThreeVerticalDots']}),_0xb74ef4['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4e0833['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4e0833['to'](_0x5db3db=>_0x5db3db['stopPropagation']())}}),_0xb74ef4['on']('execute',_0x2b5483=>{_0x30cc60['isReady']&&'function'==typeof _0x2b5483['source']['_action']&&_0x2b5483['source']['_action'](_0x30cc60);}),ckeditor5['addListToDropdown'](_0xb74ef4,_0x48e54c,{'role':'menu'}),_0xb74ef4['listenTo'](_0x30cc60,'change:isActionsDropdownOpen',(_0xc6f66c,_0x338840,_0x8269e1)=>{if(_0x8269e1)for(const _0x24e9e0 of _0xb74ef4['listView']['items']){const _0x4c61eb=_0x24e9e0['children']['first'],_0x36505d=_0x2137c2['find'](_0x2c9a83=>_0x2c9a83['action']===_0x4c61eb['_action'])['isVisible'];_0x24e9e0['isVisible']=void 0x0===_0x36505d||_0x36505d(_0x30cc60);}}),_0xb74ef4;}function _createDropdownOptions(_0x2cbd6d,_0x35754d){const _0x4f2b7c=_getLocalizedOptions(_0x2cbd6d,_0x35754d),_0x74c077=new ckeditor5['Collection']();for(const _0x111137 of _0x4f2b7c){const _0x4da3a9={'type':'button','model':new ckeditor5['UIModel']({'label':_0x111137['name'],'class':_0x111137['class'],'withText':!0x0,'role':'menuitem','_action':_0x111137['action']})};_0x4da3a9['model']['bind']('isEnabled')['to'](_0x2cbd6d,'isActionsDropdownOpen',_0x4fbd5a=>'function'!=typeof _0x111137['isEnabled']||(!_0x4fbd5a||_0x111137['isEnabled'](_0x2cbd6d))),_0x74c077['add'](_0x4da3a9);}return _0x74c077;}function _getLocalizedOptions(_0x111245,_0x25b09e){const _0x446d26=_0x111245['locale'],_0x4a13f1={'Compare\x20against\x20selected':getTranslation$4(_0x446d26,'Compare\x20against\x20selected'),'Name\x20this\x20revision':getTranslation$4(_0x446d26,'Name\x20this\x20revision'),'Restore\x20this\x20revision':getTranslation$4(_0x446d26,'Restore\x20this\x20revision')};return _0x25b09e['map'](_0x5bcc52=>{const _0x3fe4d7=_0x4a13f1[_0x5bcc52['name']];return _0x3fe4d7&&_0x3fe4d7!==_0x5bcc52['name']&&(_0x5bcc52['name']=_0x3fe4d7),_0x5bcc52;});}class _0xec2a35 extends/* #__PURE__ -- @preserve */
_0x605636(ckeditor5['View']){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x21ea7e,_0x4b1b79,_0x2db250,_0x119a1b){super(_0x21ea7e);const _0x5f2011=this['bindTemplate'],_0x5c11e9=getAuthorViews(_0x21ea7e,_0x4b1b79);this['id']=_0x4b1b79['id'],this['_revision']=_0x4b1b79,this['_requireRevisionName']=_0x119a1b,this['bind']('name','createdAt')['to'](_0x4b1b79),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x7dd66d=>dateToPrettyFormat(_0x21ea7e['uiLanguage'],_0x7dd66d)),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new _0x387d77(_0x21ea7e,ckeditor5['createLabeledInputText']),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3889b5=>_0x3889b5||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x3b1937,_0x5725cd)=>_0x3b1937&&_0x5725cd),this['revisionActionsView']=_0x2db250&&_0x2db250['length']?createActionsDropdownView(this,_0x2db250):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x5f2011['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x5f2011['if']('isEnabled','ck-disabled',_0x2cf15c=>!_0x2cf15c),_0x5f2011['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x5f2011['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x5f2011['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':_0x5f2011['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':_0x5c11e9}]},this['revisionActionsView']],'on':{'click':_0x5f2011['to'](_0x58eb24=>{_0x58eb24['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x3d013c=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x3d013c,'change',()=>{this['_requireRevisionName']&&!_0x3d013c['value']||this['fire']('setName',{'id':this['id'],'name':_0x3d013c['value']}),_0x3d013c['value']||(_0x3d013c['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(_0x15c0fb,_0x4b1ae1){const _0x878eed=Array['from'](_0x4b1ae1['authors'])['filter'](_0x387bc7=>_0x387bc7!=_0x4b1ae1['creator']);return _0x4b1ae1['creator']&&_0x878eed['unshift'](_0x4b1ae1['creator']),_0x878eed['map'](_0x54e187=>new RevisionAuthorView(_0x15c0fb,_0x54e187,_0x54e187==_0x4b1ae1['creator']));}function getDateTimePeriodInfo(_0x563e8f,_0x16ec3d){const _0x1fb689=DateTime['fromJSDate'](_0x563e8f)['setLocale'](_0x16ec3d),_0xc50705=DateTime['local'](),_0x225e73=_0xc50705['minus']({'days':0x1})['startOf']('day');let _0x3e8672,_0x17465d;return _0x1fb689['hasSame'](_0xc50705,'day')?(_0x3e8672=_0x1fb689['startOf']('day')['toJSDate'](),_0x17465d=_0x1fb689['toRelativeCalendar']()):_0x1fb689['hasSame'](_0x225e73,'day')?(_0x3e8672=_0x225e73['toJSDate'](),_0x17465d=_0x1fb689['toRelativeCalendar']()):_0x1fb689['hasSame'](_0xc50705,'week')?(_0x3e8672=_0x1fb689['startOf']('week')['toJSDate'](),_0x17465d=_0x1fb689['weekdayLong']||''):_0x1fb689['hasSame'](_0xc50705,'year')?(_0x3e8672=_0x1fb689['startOf']('month')['toJSDate'](),_0x17465d=_0x1fb689['monthLong']||''):(_0x3e8672=_0x1fb689['startOf']('year')['toJSDate'](),_0x17465d=String(_0x1fb689['year'])),{'startDate':_0x3e8672,'localizedPeriodName':_0x17465d};}class _0x1e12c8 extends ckeditor5['View']{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3da109,_0x312fcb,_0x35dfd5,_0x335a92){super(_0x3da109);const _0xba12d7=getDateTimePeriodInfo(_0x312fcb,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x312fcb,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x35dfd5,this['_requireRevisionName']=_0x335a92,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':_0xba12d7}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x509503){const _0x408297=new _0xec2a35(this['locale'],_0x509503,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x408297);}['removeRevision'](_0x2fdc23){const _0x11ca0b=this['revisionViews']['find'](_0x2c0bc1=>_0x2c0bc1['id']===_0x2fdc23['id']);this['revisionViews']['remove'](_0x11ca0b);}}class _0x38a287 extends ckeditor5['View']{constructor(_0x27513a){super(_0x27513a);const _0x24d119=new ckeditor5['IconView']();_0x24d119['content']=ckeditor5['IconHistory'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x24d119,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[getTranslation$4(_0x27513a,'Revision\x20history')]}]});}}class _0x41f625 extends ckeditor5['View']{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x30c98e,_0x143b7c,_0x39893e,_0x1b00f4){super(_0x30c98e);const _0x49e04a=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x143b7c,this['_revisionActions']=_0x39893e,this['_requireRevisionName']=_0x1b00f4,this['on']('select',(_0x52bafb,_0x15c626)=>{this['fire']('revisionSelected',_0x15c626);}),this['on']('setName',(_0x46a19e,_0x19a5d4)=>{this['fire']('revisionSetName',_0x19a5d4);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new _0x38a287(_0x30c98e),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x49e04a['if']('isEnabled','ck-disabled',_0x3e8236=>!_0x3e8236)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x9cc0c0 of this['_revisions'])this['_addRevision'](_0x9cc0c0);this['_revisions']['on']('add',(_0x44343a,_0x1c7e1d)=>{this['_addRevision'](_0x1c7e1d);}),this['_revisions']['on']('remove',(_0x23c591,_0x53dd78)=>{this['_removeRevision'](_0x53dd78);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x536086=>_0x536086['revisionViews']['map'](_0x35ee83=>_0x35ee83))['flat']();}['selectRevision'](_0x34410e){for(const _0x2d1e9f of this['revisionViews'])_0x34410e&&_0x34410e['id']===_0x2d1e9f['id']?_0x2d1e9f['select']():_0x2d1e9f['deselect']();}['highlightRevisions'](_0x502149){for(const _0xcd8f15 of this['revisionViews'])_0x502149['some'](({id:_0x4b0056})=>_0x4b0056===_0xcd8f15['id'])?_0xcd8f15['highlight']():_0xcd8f15['unhighlight']();}['_addRevision'](_0x523d01){const _0x4a6e75=getDateTimePeriodInfo(_0x523d01['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x4f1b91=this['timePeriodViews']['get'](0x0);_0x4f1b91&&_0x4f1b91['startDate']['getTime']()===_0x4a6e75['getTime']()||(_0x4f1b91=new _0x1e12c8(this['locale'],_0x4a6e75,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x4f1b91)),_0x4f1b91['addRevision'](_0x523d01);}['_removeRevision'](_0x50f8b8){const _0xbdb73e=getDateTimePeriodInfo(_0x50f8b8['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0xbdb73e)['removeRevision'](_0x50f8b8);}['_getTimePeriodViewByStartDate'](_0x211e40){return this['timePeriodViews']['find'](_0x28a53b=>_0x28a53b['startDate']['getTime']()===_0x211e40['getTime']());}}class _0x698e44 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[_0x2a5545];}constructor(_0x445aa5){super(_0x445aa5),this['_revisionViewer']=_0x445aa5['plugins']['get'](_0x2a5545),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x3147eb=this['_revisionsRepository']['_revisions'],_0x5c99aa=this['_createRevisionActions'](),_0x3a1fbd=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new _0x41f625(this['editor']['locale'],_0x3147eb,_0x5c99aa,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',(_0x5b693,_0x551bc4)=>{_0x551bc4['revisionViews']['on']('add',(_0x42053e,_0x445562)=>{_0x445562['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)),_0x3a1fbd['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x1e6552=this['_revisionsRepository']['getRevision'](0x0);if(_0x1e6552){const _0x56d880=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1e6552['id']);this['_revisionViewer']['compare'](_0x1e6552,_0x56d880);}}['_handleRevisionSelected'](_0x4c9b78,_0x5e4f35){const _0x8274cf=this['_revisionsRepository']['getRevision'](_0x5e4f35['id']),_0x2cb4b4=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x8274cf['id']);this['_revisionViewer']['compare'](_0x8274cf,_0x2cb4b4);}['_handleRevisionSetName'](_0x4f243a,_0xcf010c){this['_revisionsRepository']['getRevision'](_0xcf010c['id'])['setName'](_0xcf010c['name']);}['_handleDiffChange'](_0x51cfdc,_0x3f136d,_0x1bc001){const _0x597e59=this['_revisionsRepository']['getRevisionsInDiff'](_0x1bc001);_0x597e59['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x597e59),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x597e59[0x0]));}['_createRevisionActions'](){const _0x353e28=this['editor'],_0x198555=_0x698e44['availableRevisionActions'],_0x82f0c4=_0x353e28['config']['get']('revisionHistory.revisionActions')||_0x698e44['defaultRevisionActions'];if(_0x82f0c4['length'])return _0x82f0c4['map'](_0x4a064e=>{const _0x478b03='string'==typeof _0x4a064e?Object['assign']({},_0x198555[_0x4a064e]):_0x4a064e;return _0x478b03['action']=_0x478b03['action']['bind'](this,_0x353e28),_0x478b03['isVisible']&&(_0x478b03['isVisible']=_0x478b03['isVisible']['bind'](this,_0x353e28)),_0x478b03;});}}function availableRevisionActions(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x34b3c1},_0x1340cf)=>{const _0x4cb09f=_0x34b3c1['get'](_0x2a5545),_0x21b37e=_0x4cb09f['repository'];let _0x573a45=_0x4cb09f['diff']['newRevisionId'],_0xbac8bf=_0x1340cf['id'];_0x21b37e['getIndex'](_0x573a45)>_0x21b37e['getIndex'](_0xbac8bf)&&([_0x573a45,_0xbac8bf]=[_0xbac8bf,_0x573a45]),_0x4cb09f['compare'](_0x573a45,_0xbac8bf);},'isVisible':({plugins:_0x82bffe},_0x4010ec)=>{const _0x2e802b=_0x82bffe['get'](_0x2a5545);return!(_0x2e802b['repository']['getRevisionsInDiff'](_0x2e802b['diff'])['length']>0x2)&&!_0x4010ec['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x2fc0f8,{id:_0x895938})=>{_0x2fc0f8['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x895938);},'isVisible':({plugins:_0x29b671},_0x48aec3)=>!!_0x29b671['get'](_0x2a5545)['repository']['getLaterVisibleRevision'](_0x48aec3['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x2890a4},{id:_0x47a561,revisionNameView:_0x38db2d})=>{const _0x4f5437=_0x2890a4['get'](_0x2a5545),_0x4ad81c=_0x4f5437['repository']['getEarlierVisibleRevision'](_0x47a561);_0x4f5437['compare'](_0x47a561,_0x4ad81c),_0x38db2d['focus'](),_0x38db2d['fieldView']['select']();}}};}class RevisionViewerEditorUI extends ckeditor5['EditorUI']{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x45d2f5,_0x2ff984){super(_0x45d2f5),this['_view']=_0x2ff984,this['_toolbarConfig']=ckeditor5['normalizeToolbarConfig'](_0x45d2f5['config']['get']('toolbar')),this['_elementReplacer']=new ckeditor5['ElementReplacer']();}get['element'](){return this['view']['element'];}['init'](_0x35444b){const _0x503cdc=this['editor'],_0x1ba491=this['view'],_0x41c45f=_0x503cdc['editing']['view'],_0x498eea=_0x1ba491['editable'],_0x1fd74d=_0x41c45f['document']['getRoot']();_0x498eea['name']=_0x1fd74d['rootName'],_0x1ba491['render']();const _0x3184fb=_0x498eea['element'];this['setEditableElement'](_0x498eea['name'],_0x3184fb),_0x1ba491['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x41c45f['attachDomRoot'](_0x3184fb),this['_elementReplacer']['replace'](_0x35444b,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x12fe93=this['view'],_0x1bbd21=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x1bbd21['detachDomRoot'](_0x12fe93['editable']['name']),_0x12fe93['destroy']();}['_initToolbar'](){const _0x1cc265=this['view'];_0x1cc265['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x1cc265['stickyPanel']['limiterElement']=_0x1cc265['element'],_0x1cc265['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x2b7b2c})=>_0x2b7b2c),_0x1cc265['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x1cc265['toolbar']);}}class RevisionViewerEditorUIView extends ckeditor5['BoxedEditorUIView']{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x19378d,_0x1dff51,_0x478da1={}){super(_0x19378d),this['stickyPanel']=new ckeditor5['StickyPanelView'](_0x19378d),this['toolbar']=new ckeditor5['ToolbarView'](_0x19378d,{'shouldGroupWhenFull':_0x478da1['shouldToolbarGroupWhenFull']}),this['_editable']=new ckeditor5['InlineEditableUIView'](_0x19378d,_0x1dff51);}['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(_0x5391d7,_0x11c450){super(_0x11c450),this['sourceElement']=_0x5391d7,this['model']['document']['createRoot']();const _0x32b153=new RevisionViewerEditorUIView(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new RevisionViewerEditorUI(this,_0x32b153);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x4d5eb4,_0x105d38){const _0x360fe3=new this(_0x4d5eb4,_0x105d38);return await _0x360fe3['initPlugins'](),await _0x360fe3['ui']['init'](_0x4d5eb4),await _0x360fe3['data']['init'](_0x360fe3['config']['get']('initialData')||''),_0x360fe3['fire']('ready'),_0x360fe3;}}const blackListedPlugins=['RevisionHistoryUI','RestrictedEditingMode','AIChat','AIReviewMode','AIBalloon','AIQuickActions','AIActions','AIChatShortcuts','AITranslate'];class RevisionViewerIntegration extends ckeditor5['Plugin']{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x321ca9){function _0x5e6568(_0xe7cf7){return _0xe7cf7['map'](_0x1dff08=>String['fromCharCode'](_0x1dff08))['join']('');}super(_0x321ca9),this['result']='end',_0x321ca9[_0x5e6568([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e6568([0x76,0x69,0x65,0x77])][_0x5e6568([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5e6568([0x61,0x75,0x74,0x6f]),_0x321ca9[_0x5e6568([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x5e6568([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5e6568([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x5e6568([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x5e6568([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[_0x3fbef5,RevisionHistoryUI];}constructor(_0x484660){if(super(_0x484660),!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',_0x57c8b9=>this['_showRevisionViewer']({..._0x57c8b9,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x1d6fae=>this['_closeRevisionViewer'](_0x1d6fae)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x5b6b3d=>this['_restoreRevision'](_0x5b6b3d)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3f01b0){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3f01b0;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x988017){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x988017);}['getRevision'](_0x39aecd){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x39aecd);}['getRevisions'](_0x2b2916){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x2b2916||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x36c116=this['editor'],_0x368901=sanitizeEditorConfig(_0x36c116,blackListedPlugins),_0x46d742=_0x36c116['plugins']['get']('RevisionTracker'),_0x4424c1=_0x36c116['plugins']['get'](_0x9327be)['users'];_0x368901['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x368901['lazyRoots'];class _0x36d85d extends ckeditor5['Plugin']{static get['requires'](){return[_0x2a5545,_0x9327be];}['init'](){const _0x3768f9=this['editor']['plugins']['get'](_0x9327be);for(const _0x2097af of _0x4424c1)_0x2097af['isAnonymous']||_0x3768f9['getUser'](_0x2097af['id'])||_0x3768f9['addUser'](_0x2097af);const _0x20ce4c=_0x46d742['repository']['getRevisions']();let _0x199023=null;const _0x3f0b63=this['editor']['plugins']['get']('RevisionViewer');_0x3f0b63['adapter']=_0x46d742['adapter'],_0x3f0b63['bind']('isEnabled')['to'](_0x46d742),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x36c116,'isReadOnly',_0x177f01=>!_0x177f01);for(const _0x38843a of _0x20ce4c){const _0x4652c6=null===_0x38843a['creator'];if(_0x4652c6&&_0x38843a['toVersion']===_0x38843a['fromVersion'])continue;const _0x5a340c=_0x38843a['toJSON']();_0x3f0b63['addRevisionData'](_0x5a340c,(_0x5d5bae,_0xca9ae,_0x4a8873)=>{if(_0x4652c6){if(_0x199023)_0x199023['_update'](_0x5d5bae,_0xca9ae);else{if(!_0xca9ae){const _0x473c6d=_0x4a8873['toJSON']();_0x473c6d['id']=ckeditor5['uid'](),_0x46d742['saveRevision'](_0x473c6d,_0x4a8873['toVersion'])['then'](_0x1f4b0a=>{_0x199023=_0x1f4b0a;});}}}else _0x38843a['_update'](_0x5d5bae,_0xca9ae);});}}}return _0x368901['plugins']['push'](RevisionViewerIntegration,_0x2a5545,_0x5ebfea,_0x36d85d,_0x698e44),_0x368901;}['_enhanceShowRevisionViewerCallback'](){const _0x4d2032=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x348731=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x954aa7=this['editor']['plugins']['get']('Autosave');await _0x954aa7['save']();}else await _0x348731['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x550df4=this['editor']['plugins']['get']('Dialog');_0x550df4['isOpen']&&_0x550df4['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0xdd0024=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x3b3d1e of _0xdd0024)_0x3b3d1e['class']=_0x3b3d1e['class']?_0x3b3d1e['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0x41f644=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x41f644&&_0x41f644['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x1d7f7a=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x1d7f7a&&_0x1d7f7a['setAttribute']('tabindex','-1');}}const _0x595e20=this['_getRevisionViewerEditorConfig']();return _0x4d2032(_0x595e20)['then'](_0x55f7f8=>{return(this['_viewerEditor']=_0x55f7f8,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'),_0x55f7f8);})['catch'](_0x3c3bd8=>(console['error'](_0x3c3bd8),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x292028=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 _0x201468=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x4350f9 of _0x201468)_0x4350f9['class']='ck-tab-panel_disabled'===_0x4350f9['class']?'':_0x4350f9['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x187a20=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x187a20&&_0x187a20['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x48982d=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x48982d&&_0x48982d['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x292028(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x55803d=this['editor']['plugins']['get']('Annotations');_0x55803d['refreshVisibility'](),_0x55803d['refreshPositioning']();}});});}['_showRevisionViewer'](_0x137208){const _0x2ac8da=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x576be9=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x406d2c=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return RevisionViewerEditor['create'](_0x406d2c,_0x137208)['then'](_0x41ca40=>(_0x576be9['style']['display']='block',_0x2ac8da['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0x41ca40));}['_closeRevisionViewer'](_0x31996d){const _0x5e62a7=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x5e62a7['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0x31996d['destroy']();}async['_restoreRevision'](_0x3915c){const _0x4c4aec=this['editor'],_0x2ce04b=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x6c76f6=_0x4c4aec['plugins']['get']('RevisionTracker'),_0x5ad2be=_0x4c4aec['plugins']['get']('RevisionHistoryUtils'),_0x53fe99=_0x2ce04b['repository']['getRevision'](_0x3915c);let _0x32e60c,_0x3b5f97,_0x1b403b;try{await _0x5ad2be['loadRevisionData'](_0x53fe99,this['adapter']),_0x32e60c=_0x5ad2be['getRevisionDocumentData'](_0x53fe99),_0x3b5f97=_0x5ad2be['getRevisionRootsAttributes'](_0x53fe99);}catch(_0x11b5cc){return void console['error'](_0x11b5cc);}_0x4c4aec['model']['change'](_0x4e8b6d=>{for(const _0x1cbbdb of Array['from'](_0x4c4aec['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x4e8b6d['removeMarker'](_0x1cbbdb);}),_0x2ce04b['isReady']=!0x1,_0x4c4aec['model']['enqueueChange'](_0x7b9ba6=>{_0x7b9ba6['setSelection'](null),_0x7b9ba6['removeSelectionAttribute'](_0x4c4aec['model']['document']['selection']['getAttributeKeys']());const _0x5ac877=Object['keys'](_0x32e60c);for(const _0x20e078 of _0x4c4aec['model']['document']['roots'])'$graveyard'!=_0x20e078['rootName']&&_0x20e078['isAttached']()&&!_0x5ac877['includes'](_0x20e078['rootName'])&&_0x7b9ba6['detachRoot'](_0x20e078);for(const _0x57f420 of _0x5ac877){let _0x16081c=_0x4c4aec['model']['document']['getRoot'](_0x57f420);_0x16081c&&_0x16081c['isAttached']()||(_0x16081c=_0x7b9ba6['addRoot'](_0x57f420));const _0x4c1a08=_0x3b5f97[_0x57f420],_0x5bf7e2=Object['keys'](_0x4c1a08),_0x575a5b=_0x32e60c[_0x57f420];for(const _0x162ccd of _0x16081c['getAttributeKeys']())_0x5bf7e2['includes'](_0x162ccd)||_0x7b9ba6['removeAttribute'](_0x162ccd,_0x16081c);for(const _0x385068 of _0x5bf7e2)_0x7b9ba6['setAttribute'](_0x385068,_0x3b5f97[_0x57f420][_0x385068],_0x16081c);_0x7b9ba6['remove'](_0x7b9ba6['createRangeIn'](_0x16081c)),_0x7b9ba6['insert'](_0x4c4aec['data']['parse'](_0x575a5b,_0x16081c),_0x16081c,0x0);}});const _0x262626=getTranslation$4(_0x4c4aec['locale'],'Restored');if(_0x53fe99['name'])_0x1b403b=-0x1==_0x53fe99['name']['indexOf'](_0x262626)?_0x262626+':\x20'+_0x53fe99['name']:_0x53fe99['name'];else _0x1b403b=_0x262626+':\x20'+(_0x53fe99['createdAt']['toLocaleDateString'](_0x4c4aec['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x53fe99['createdAt']['toLocaleTimeString'](_0x4c4aec['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x6c76f6['saveRevision']({'name':_0x1b403b}),_0x2ce04b['isReady']=!0x0,_0x4c4aec['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}class CloudServicesRevisionHistoryAdapter extends ckeditor5['Plugin']{static ['RevisionHistoryService']=/* #__PURE__ -- @preserve */
((()=>RevisionHistoryService)());['_lastRequestId'];['_revisionTracker'];['_revisionHistoryService'];['_oldOffset'];static get['requires'](){return[WebSocketGateway,RealTimeCollaborationClient,RevisionHistory,_0x5d9e92,_0x9327be];}static get['pluginName'](){return'CloudServicesRevisionHistoryAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x30a4b5){super(_0x30a4b5);const _0x168f31=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x168f31);}async['init'](){const _0x533da2=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x526d05=_0x533da2['serverHistory'],_0xd5c4ac=this['editor']['plugins']['get'](WebSocketGateway);this['_revisionTracker']['setSource']({'history':_0x526d05,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x533da2['sessionId']});const _0x746ca0=this['editor']['config']['get']('cloudServices.bundleVersion')||ckeditor5['version'],_0x3e4001=await EditorService['isBundleUploaded'](_0xd5c4ac['connection'],_0x746ca0);this['editor']['plugins']['get'](RevisionHistory)['adapter']={'getRevision':async({revisionId:_0x3b6a6f})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x3b6a6f)),'updateRevisions':async _0x51b82f=>{await this['_waitForServiceReady']();const _0x3a0e6a=this['_revisionTracker']['currentRevision'];if(_0x3e4001&&0x1===_0x51b82f['length']&&_0x51b82f[0x0]['id']===_0x3a0e6a['id'])return _0x51b82f;for(const _0x3aca6c of _0x51b82f)_0x3aca6c['id']===_0x3a0e6a['id']&&(_0x3aca6c['isEmptyCurrent']=_0x3aca6c['fromVersion']===_0x3aca6c['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x51b82f,this['_lastRequestId'])['then'](_0x41ddc5=>(this['_lastRequestId']=_0x41ddc5,_0x51b82f))['catch'](_0x533e29=>{if(isDisconnectionError(_0x533e29)||'400'===_0x533e29['code']&&void 0x0!==_0x533e29['data']['wrongRequestId']){for(const _0x306de5 of _0x51b82f){!this['_revisionTracker']['repository']['getRevision'](_0x306de5['id'])||this['_revisionTracker']['_bufferUpdate'](_0x306de5['id'],_0x306de5,!0x1);}if(isDisconnectionError(_0x533e29))throw _0x533e29;return _0x51b82f;}throw _0x533e29;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x1d4a14,{revisionsData:_0x11532f,requestId:_0x4c536e})=>{Math['max'](..._0x11532f['map'](_0x578ad5=>_0x578ad5['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x11532f,_0x4c536e);}):this['_handleRevisionsUpdate'](_0x11532f,_0x4c536e);});const {revisions:_0x497071,requestId:_0x194682}=await this['_revisionHistoryService']['connect'](_0xd5c4ac['connection']);_0xd5c4ac['addToReconnectionStack'](this),this['_lastRequestId']=_0x194682,await this['_fetchMissingUsers'](_0x497071);for(const _0x307242 of _0x497071)this['_revisionTracker']['addRevisionData'](_0x307242);this['listenTo'](_0x533da2,'change:_isConnected',(_0x4bfb5f,_0x31a91c,_0x48e529)=>{_0x48e529&&(this['_oldOffset']=_0x533da2['_offset'],_0x4bfb5f['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](_0xd5c4ac,'state',_0x111772=>_0x111772===_0x396647['CONNECTED']);}async['reconnect'](){const _0x18bc52=this['editor']['plugins']['get'](WebSocketGateway),_0x440c9b=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x238738=async()=>{const _0x5097c0=this['_revisionTracker']['currentRevision'],_0x14eb84=_0x5097c0['id'],_0xc608a5=_0x14eb84!==_0x440c9b['sessionId'];if(_0xc608a5){const _0x7efc84=_0x440c9b['_offset']-this['_oldOffset'],_0x7fbe96=this['_getLatestVersionFromServerOperations']();this['_revisionTracker']['_revisionDataBuilder']['reInit']();if(_0x5097c0['toVersion']+_0x7efc84!==_0x7fbe96){const _0x75d83e=_0x5097c0['fromVersion']+_0x7efc84,_0x42b0f2=this['editor']['plugins']['get'](_0x9327be),_0x57f2af=this['_revisionTracker']['buildRevisionData']({'revision':_0x5097c0,'from':_0x75d83e,'to':_0x7fbe96});_0x57f2af['id']=_0x5097c0['id'];const _0x34286e=_0x57f2af['authorsIds']['map'](_0x32819a=>_0x42b0f2['getUser'](_0x32819a));_0x5097c0['_update']({..._0x57f2af,'authors':_0x34286e},!0x0),this['_revisionTracker']['_bufferUpdate'](_0x5097c0['id'],_0x57f2af,!0x0);}this['_revisionTracker']['_startingVersion']=_0x7fbe96,(_0x5097c0['toVersion']===_0x5097c0['fromVersion']&&!this['_revisionTracker']['_bufferedUpdates']['has'](_0x14eb84)&&this['_revisionTracker']['repository']['_revisions']['remove'](_0x14eb84),this['_revisionTracker']['_createCurrentRevision'](_0x7fbe96));}const {revisions:_0x5193c1,requestId:_0xd406fa}=await this['_revisionHistoryService']['reconnect'](_0x18bc52['connection'],this['_lastRequestId']);_0xc608a5&&_0x5193c1['length']>0x0?_0x440c9b['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x5193c1),this['_handleRevisionsUpdate'](_0x5193c1,_0xd406fa),this['_revisionTracker']['sendBufferedUpdates']());};return _0x440c9b['_isConnected']?_0x238738():new Promise((_0x3dab74,_0x24fcb1)=>{_0x440c9b['once']('change:_isConnected',()=>{_0x238738()['then'](_0x3dab74)['catch'](_0x24fcb1);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x1f8362=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0x7446ea=>{_0x7446ea['off'](),_0x1f8362();});});}['_getLatestVersionFromServerOperations'](){const _0xc6c59f=this['editor']['plugins']['get'](RealTimeCollaborationClient)['serverHistory']['getOperations']()['reverse']();for(const _0x144b5a of _0xc6c59f)if('marker'!==_0x144b5a['type']||_0x144b5a['affectsData'])return _0x144b5a['baseVersion']+0x1;}['_getLatestVersion'](){const _0x21e3a0=this['editor']['plugins']['get'](RealTimeCollaborationClient);return new Promise(_0xc3a4ca=>{_0x21e3a0['_isPendingUpdate']?_0x21e3a0['once']('change:_isPendingUpdate',()=>{_0xc3a4ca(this['_getLatestVersionFromServerOperations']());}):_0xc3a4ca(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0x42d80f,_0x435ed4){const _0x577f95=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x435ed4;for(const _0x6d4285 of _0x42d80f){const _0xb36614=_0x577f95['getRevision'](_0x6d4285['id']);if(_0xb36614){if((_0x6d4285['fromVersion']||_0x6d4285['toVersion'])&&(_0x6d4285['diffData']=null),_0xb36614===this['_revisionTracker']['currentRevision']){const _0x1e09d0=Math['max'](_0xb36614['toVersion'],_0x6d4285['toVersion']),_0x732df0=Math['max'](_0xb36614['fromVersion'],_0x6d4285['fromVersion']);let _0x48704c;_0xb36614['toVersion']===_0x6d4285['toVersion']&&_0xb36614['fromVersion']===_0x6d4285['fromVersion']?(_0x48704c=!0x0,this['_preventResendingRevisionData'](_0x6d4285)):_0x6d4285['toVersion']===_0x1e09d0&&_0x6d4285['fromVersion']===_0x732df0?_0x48704c=!0x1:(_0xb36614['toVersion']===_0x1e09d0&&_0xb36614['fromVersion']===_0x732df0||this['_fixRevision']({'revision':_0xb36614,'from':_0x732df0,'to':_0x1e09d0}),_0x48704c=!0x0),_0x48704c&&(delete _0x6d4285['fromVersion'],delete _0x6d4285['toVersion'],delete _0x6d4285['diffData'],delete _0x6d4285['createdAt'],delete _0x6d4285['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0x6d4285),this['_preventResendingRevisionData'](_0x6d4285);}else this['_revisionTracker']['addRevisionData'](_0x6d4285);}const _0x1d809a=_0x577f95['getRevisions']();_0x1d809a['reverse']();for(let _0xb4ddd3=0x0;_0xb4ddd3<_0x1d809a['length']-0x1;_0xb4ddd3++){const _0x488574=_0x1d809a[_0xb4ddd3],_0x2fba35=_0x1d809a[_0xb4ddd3+0x1];if(_0x488574['fromVersion']<_0x2fba35['toVersion']){const _0x4ec38f=_0x2fba35['toVersion'],_0x11699e=Math['max'](_0x4ec38f,_0x488574['toVersion']);this['_fixRevision']({'revision':_0x488574,'from':_0x4ec38f,'to':_0x11699e});}}}['_fixRevision']({revision:_0x34fbd4,from:_0x54c2f2,to:_0x3a857c}={}){const _0x19be23=this['editor']['plugins']['get'](_0x9327be),_0x3175ba=this['_revisionTracker']['buildRevisionData']({'revision':_0x34fbd4,'from':_0x54c2f2,'to':_0x3a857c});_0x3175ba['authors']=_0x3175ba['authorsIds']['map'](_0xd60c4f=>_0x19be23['getUser'](_0xd60c4f)),_0x34fbd4['_update'](_0x3175ba);}['_preventResendingRevisionData'](_0x190ba9){const _0x58746c={};_0x58746c['id']=_0x190ba9['id'];for(const _0x5e581b of Object['keys'](_0x190ba9))'id'!==_0x5e581b&&(_0x58746c[_0x5e581b]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0x58746c['id'],_0x58746c,!0x0);}async['_fetchMissingUsers'](_0x5bad6){const _0x4bdcbf=this['editor']['plugins']['get'](_0x9327be),{connection:_0x305ed5}=this['editor']['plugins']['get'](WebSocketGateway),_0xf8df9f=new Set();for(const _0x2a0b3d of _0x5bad6){for(const _0x15f50f of _0x2a0b3d['authorsIds'])_0x1d5b42(_0x15f50f);_0x2a0b3d['creatorId']&&_0x1d5b42(_0x2a0b3d['creatorId']);}if(0x0===_0xf8df9f['size'])return;const _0x209f48=await _0x1a3434['getMany'](_0x305ed5,Array['from'](_0xf8df9f));for(const _0x2b2a23 of _0x209f48)_0x4bdcbf['getUser'](_0x2b2a23['id'])||_0x4bdcbf['addUser'](_0x2b2a23);function _0x1d5b42(_0x3fc8cb){_0x4bdcbf['getUser'](_0x3fc8cb)||_0xf8df9f['add'](_0x3fc8cb);}}}function isDisconnectionError(_0x3b0770){return _0x3b0770['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x3b0770['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x3b0770['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(_0x2c44bb,_0x2fcb9c=0x6){super(_0x2c44bb);const _0x5b05ba=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0x2fcb9c,this['bind']('isHidden')['to'](this,'usersCount',_0x2d3060=>_0x2d3060<_0x2fcb9c),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0x5b05ba['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':_0x5b05ba['to']('usersCount',_0x3eb036=>'+'+(_0x3eb036-this['_collapseAt']+0x2)['toString']())}]}]}]});}}class PresenceInlineListView extends ckeditor5['View']{['items'];['keystrokes'];constructor(_0x6a0284){super(_0x6a0284);const _0x577c5d=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x577c5d['if']('hasPopup'),'aria-expanded':_0x577c5d['to']('isExpanded',_0x4a9a16=>this['hasPopup']&&String(_0x4a9a16)),'aria-label':_0x577c5d['to']('hasPopup',_0x379b3a=>getTranslation$6(_0x6a0284,_0x379b3a?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x577c5d['to']('hasPopup',_0x2b4df8=>!!_0x2b4df8&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x577c5d['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x577c5d['to'](_0x30116e=>{const _0x397dd6=_0x30116e,_0x564ac8=document['querySelector']('.ck-presence-list__dropdown-list'),_0x2a81ee=document['querySelector']('.ck-balloon-panel_with-arrow');_0x564ac8?.['contains'](_0x397dd6['relatedTarget'])||_0x2a81ee?.['contains'](_0x397dd6['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x5167f2,_0x37fd54,_0xd61143)=>{this['element']&&(_0xd61143?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(_0xafe5e9,_0x571e47=0x6){super(_0xafe5e9);const _0x180f67=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new PresenceCounterView(this['locale'],_0x571e47),this['inlineListView']=new PresenceInlineListView(_0xafe5e9),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x4b4abc of this['inlineListView']['items'])_0x4b4abc['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',_0x180f67['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}}class PresenceDropdownListView extends ckeditor5['View']{['listWrapperView'];constructor(_0xbf12bb,_0x231ae2){super(_0xbf12bb);const _0x3ba94b=this['bindTemplate'];this['listWrapperView']=new PresenceDropdownListWrapperView(_0xbf12bb,_0x231ae2),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':getTranslation$6(_0xbf12bb,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x3ba94b['to'](_0xbebbbf=>{const _0x21136f=_0xbebbbf,_0x4ea878=document['querySelector']('.ck-presence-list__list'),_0x123f02=document['querySelector']('.ck-balloon-panel_with-arrow');_0x4ea878?.['contains'](_0x21136f['relatedTarget'])||_0x123f02?.['contains'](_0x21136f['relatedTarget'])||this['fire']('presencelist:hide');})}});}}class PresenceDropdownListWrapperView extends ckeditor5['ListView']{constructor(_0x5010d6,_0x554c35){super(_0x5010d6);const _0x4355cd=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0x554c35?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x4355cd['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x4355cd['to']('role'),'aria-label':_0x4355cd['to']('ariaLabel'),'aria-labelledby':_0x4355cd['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 _0x5bcd7c=this['element'];_0x5bcd7c&&(this['_isScrollable']=Math['max'](_0x5bcd7c['scrollHeight'],_0x5bcd7c['clientHeight'])>0.8*window['innerHeight']);}}class PresenceDropdownListItemView extends ckeditor5['ListItemView']{['userView'];constructor(_0x547fdb,_0x35205b,_0x5d0bba){super(_0x547fdb);const _0x27344f=this['bindTemplate'];this['userView']=new _0x5c412d(_0x547fdb,_0x35205b);const _0x11ad1b={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x35205b['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x35205b['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x35205b['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x35205b['color']['getColorVariable'](),'--ck-user-color-alpha':_0x35205b['color']['getColorAlphaVariable']()},'aria-hidden':'true'}}]};_0x5d0bba&&(_0x11ad1b['tag']='button',_0x11ad1b['on']={'click':_0x27344f['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x11ad1b);}['focus'](){this['element']['focus']();}}class PresenceInlineListItemView extends ckeditor5['View']{['userView'];['markerView'];constructor(_0x2fbcb0,_0x166c37,_0x53c33e){super(_0x2fbcb0);const _0x5f4667=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new _0x5c412d(_0x2fbcb0,_0x166c37),this['markerView']=new _0x15970d(_0x2fbcb0,_0x166c37);const _0x5f30a6=new ckeditor5['LabelView'](_0x2fbcb0);_0x5f30a6['template']['tag']='span',_0x5f30a6['text']=_0x166c37['name'];const _0x42134f={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0x5f4667['to']('isFocusable',_0x425cc9=>!!_0x425cc9&&0x0),'aria-labelledby':_0x5f30a6['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0x5f4667['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x5f4667['to']('hasTooltip',_0x25c855=>!_0x25c855),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0x5f30a6]};_0x53c33e&&(_0x42134f['tag']='button',_0x42134f['on']={'click':_0x5f4667['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x42134f);}}class _0x15970d extends ckeditor5['View']{constructor(_0x213f82,_0x4b3ace){super(_0x213f82),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x4b3ace['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x4b3ace['color']['getColorVariable'](),'--ck-user-color-alpha':_0x4b3ace['color']['getColorAlphaVariable']()},'aria-hidden':'true'}});}}const defaultPresenceListConfig={'collapseAt':0x6,'displayMe':!0x0};class PresenceListUI extends ckeditor5['ContextPlugin']{['currentDisplayedUsers'];['balloonPanelView'];['view'];['presenceDropdownView'];['_bodyCollection']=null;static get['pluginName'](){return'PresenceListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x424056){super(_0x424056),this['context']['config']['define']('presenceList',defaultPresenceListConfig);const _0x2b0514=_0x424056['config']['get']('presenceList.collapseAt');if('number'!=typeof _0x2b0514)throw new ckeditor5['CKEditorError']('presencelist-collapseat-invalid-format',this);if(_0x2b0514<0x1)throw new ckeditor5['CKEditorError']('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](_0x5d9e92)['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[_0x5d9e92];}['init'](){for(const _0x4cc9ff of this['_allConnectedUsers'])this['_handleUserAdd'](_0x4cc9ff);this['listenTo'](this['_allConnectedUsers'],'add',(_0x28e077,_0x2f6a00)=>{this['_handleUserAdd'](_0x2f6a00);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0x3ee9a3,_0x4cbdd4)=>{this['_handleUserRemove'](_0x4cbdd4);});}['_createView'](){const _0x3cdbfe=this['context'],_0x42b688=new PresenceListView(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0x54c473=this['balloonPanelView'];if(!isElement$2(_0x3cdbfe['config']['get']('presenceList.container')))throw new ckeditor5['CKEditorError']('presencelist-missing-container',this);return _0x42b688['counterView']['bind']('usersCount')['to'](this),_0x42b688['bind']('isCollapsed')['to'](this,'usersCount',_0x4ce831=>{const {collapseAt:_0x147cc2}=_0x3cdbfe['config']['get']('presenceList'),_0x27476d=_0x4ce831>=_0x147cc2;if(_0x27476d&&!_0x42b688['inlineListView']['items']['find'](_0x1f2063=>_0x1f2063 instanceof PresenceCounterView)){const _0x3d31d9=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0x3d31d9&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0x42b688['inlineListView']['items']['add'](_0x42b688['counterView']);}return _0x27476d||this['hideDropdown'](),_0x27476d;}),_0x42b688['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x5dc3f0=>{const _0x48da0a=_0x3cdbfe['config']['get']('presenceList'),_0x4c4557=new PresenceInlineListItemView(_0x3cdbfe['locale'],_0x5dc3f0,!!_0x48da0a['onClick']);return _0x4c4557['bind']('hasTooltip')['to'](_0x42b688,'isCollapsed',_0x1d5ded=>!_0x1d5ded),_0x4c4557['bind']('isFocusable')['to'](_0x42b688,'isCollapsed',_0x1d1049=>!_0x1d1049),_0x48da0a['onClick']&&this['listenTo'](_0x4c4557,'execute',()=>{this['view']['isCollapsed']||_0x48da0a['onClick'](_0x5dc3f0,_0x4c4557['element']);}),_0x4c4557;}),this['listenTo'](_0x42b688['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0x42b688['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0x42b688['inlineListView']['keystrokes']['set']('Enter',(_0x42abb0,_0x384c5c)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x384c5c());}),_0x42b688['render'](),_0x54c473['render'](),ckeditor5['clickOutsideHandler']({'emitter':_0x42b688,'activator':()=>_0x54c473['isVisible'],'contextElements':[_0x54c473['element'],_0x42b688['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x3cdbfe['config']['get']('presenceList.container')['appendChild'](_0x42b688['element']),this['_bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0x42b688;}['_handleUserAdd'](_0x3bb549){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x3bb549['isMe'])return;const _0x129b72=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x129b72-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0x227365=_0x3bb549['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x3bb549,_0x227365);}['_handleUserRemove'](_0x1ea6d2){this['usersCount']--;const {collapseAt:_0x3b34d1}=this['context']['config']['get']('presenceList'),_0x4eda12=this['usersCount']>=_0x3b34d1;if(this['currentDisplayedUsers']['get'](_0x1ea6d2['id']))this['currentDisplayedUsers']['remove'](_0x1ea6d2['id']);else{if(_0x4eda12&&this['currentDisplayedUsers']['length']+0x1===_0x3b34d1-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0x4eda12?0x1:0x0)<this['usersCount']){for(const _0x3bab93 of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0x3bab93['id'])&&(this['currentDisplayedUsers']['add'](_0x3bab93,Math['min'](this['currentDisplayedUsers']['length']-(_0x4eda12?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0x4eda12?0x1:0x0)===_0x3b34d1-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0xcb9f9d=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new PresenceDropdownListView(this['context']['locale'],!!_0xcb9f9d['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0x9045f8}=this['presenceDropdownView'];_0x9045f8['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x567d91=>{if(!_0xcb9f9d['displayMe']&&_0x567d91['isMe'])return null;const _0x514fcb=new PresenceDropdownListItemView(this['context']['locale'],_0x567d91,!!_0xcb9f9d['onClick']);return _0xcb9f9d['onClick']&&this['listenTo'](_0x514fcb,'execute',()=>{_0xcb9f9d['onClick'](_0x567d91,_0x514fcb['element']);}),_0x514fcb;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x9045f8['focus'](),_0x9045f8['checkIfScrollable']();const _0x49bbca=(_0x52be0d,_0x367b86)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x367b86();};_0x9045f8['keystrokes']['set']('Esc',_0x49bbca),_0x9045f8['keystrokes']['set']('Shift+Tab',_0x49bbca),_0x9045f8['keystrokes']['set']('Tab',(_0x366679,_0x1311d8)=>{focusNextElement(this['view']['element']),this['hideDropdown'](),_0x1311d8();}),_0x9045f8['focusTracker']['add'](this['view']['element']),_0x9045f8['focusTracker']['on']('change:isFocused',(_0x417261,_0x2ef1e1,_0x5283a4)=>{_0x5283a4||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(_0x119f38){const _0x2b0e3f=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0xfe84d3=>_0xfe84d3+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x1109ce=[...document['body']['querySelectorAll'](_0x2b0e3f)]['filter'](_0x3e1102=>_0x3e1102===document['activeElement']||_0x3e1102['offsetWidth']+_0x3e1102['offsetHeight']>0x0)['sort']((_0x567614,_0x519b6a)=>(_0x567614['tabIndex']||0x0)-(_0x519b6a['tabIndex']||0x0)),_0x5c55f6=_0x1109ce['indexOf'](_0x119f38),_0x352f2c=_0x1109ce[(_0x5c55f6+0x1)%_0x1109ce['length']];_0x352f2c&&_0x352f2c['focus']();}class PresenceList extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x5d9e92,PresenceListUI];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getTranslation$3(_0x55d209,_0x4d6e1a){const t=_0x55d209['t'],_0x293e2f=_0x55d209['t'];switch(_0x4d6e1a){case'AI\x20Assistant':return _0x293e2f('AI\x20Assistant');case'Block\x20quote':return _0x293e2f('Block\x20quote');case'Bulleted\x20list':return _0x293e2f('Bulleted\x20list');case'Insert\x20code\x20block':return _0x293e2f('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x293e2f('Open\x20file\x20manager');case'Insert\x20image':return _0x293e2f('Insert\x20image');case'Heading\x201':return _0x293e2f('Heading\x201');case'Heading\x202':return _0x293e2f('Heading\x202');case'Heading\x203':return _0x293e2f('Heading\x203');case'Heading\x204':return _0x293e2f('Heading\x204');case'Heading\x205':return _0x293e2f('Heading\x205');case'Heading\x206':return _0x293e2f('Heading\x206');case'Horizontal\x20line':return _0x293e2f('Horizontal\x20line');case'Insert\x20HTML':return _0x293e2f('Insert\x20HTML');case'Increase\x20indent':return _0x293e2f('Increase\x20indent');case'Insert\x20table':return _0x293e2f('Insert\x20table');case'Table\x20of\x20contents':return _0x293e2f('Table\x20of\x20contents');case'Numbered\x20list':return _0x293e2f('Numbered\x20list');case'Decrease\x20indent':return _0x293e2f('Decrease\x20indent');case'Paragraph':return _0x293e2f('Paragraph');case'To-do\x20list':return _0x293e2f('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 _0x4d6e1a;}}class _0x33226c extends ckeditor5['Plugin']{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x37246c){super(_0x37246c),this['_allowedCommands']=null;}['afterInit'](){const _0x4af33e=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x2ed9a2=getExcludedHeadings(this['editor']['config']['get']('heading.options')),_0x2a8515=this['getDefaultCommands']()['filter'](_0x4e4aca=>!_0x2ed9a2['includes'](_0x4e4aca['id']));let _0x267c80=_0x2a8515['filter'](_0x329de0=>!_0x4af33e['includes'](_0x329de0['commandName']));const _0x5b4b43=this['editor']['config']['get']('slashCommand.extraCommands');_0x5b4b43&&_0x5b4b43['length']&&(_0x267c80=_0x267c80['concat'](_0x5b4b43));const _0x536edc=this['editor']['config']['get']('template.definitions');_0x536edc&&_0x536edc['length']&&(_0x267c80=_0x267c80['concat'](mapTemplates(_0x536edc)));const _0x385ef0=this['editor']['config']['get']('style.definitions');_0x385ef0&&_0x385ef0['length']&&(_0x267c80=_0x267c80['concat'](mapStyles(_0x385ef0)));const _0x552aa3=_0x267c80['filter'](_0x2f3e80=>!_0x2f3e80['commandName']||void 0x0!==this['editor']['commands']['get'](_0x2f3e80['commandName'])),_0x521307=[];for(const _0x4fde4b of _0x552aa3)_0x521307['push']({'id':_0x4fde4b['id'],'commandName':_0x4fde4b['commandName'],'title':'function'==typeof _0x4fde4b['title']?_0x4fde4b['title'](this['editor']):_0x4fde4b['title'],'description':_0x4fde4b['description'],'icon':_0x4fde4b['icon'],'isIconColorInherited':_0x4fde4b['isIconColorInherited'],'aliases':_0x4fde4b['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x4fde4b),'execute':()=>this['_proxyExecute'](_0x4fde4b)});this['_allowedCommands']=_0x521307['sort'](_0x38526c),_0x810ad4(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x2b056=_0x93263a=>getTranslation$3(this['editor']['locale'],_0x93263a);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':ckeditor5['IconRobotPencil'],'title':_0x2b056('AI\x20Assistant'),'description':_0x2b056('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x3a0cc8=>{setTimeout(()=>_0x3a0cc8['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':ckeditor5['IconQuote'],'title':_0x2b056('Block\x20quote'),'description':_0x2b056('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':ckeditor5['IconBulletedList'],'title':_0x2b056('Bulleted\x20list'),'description':_0x2b056('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':ckeditor5['IconCodeBlock'],'title':_0x2b056('Insert\x20code\x20block'),'description':_0x2b056('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':ckeditor5['IconBrowseFiles'],'title':_0x2b056('Open\x20file\x20manager'),'description':_0x2b056('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':ckeditor5['IconBrowseFiles'],'title':_0x2b056('Insert\x20image'),'description':_0x2b056('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':ckeditor5['IconEmoji'],'title':_0x2b056('Emoji'),'description':_0x2b056('Insert\x20an\x20emoji'),'execute':_0x442412=>{setTimeout(()=>_0x442412['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':ckeditor5['IconHeading1'],'title':_0x2b056('Heading\x201'),'description':_0x2b056('Create\x20a\x20heading\x20level\x201'),'execute':_0xcde180=>{_0xcde180['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':ckeditor5['IconHeading2'],'title':_0x2b056('Heading\x202'),'description':_0x2b056('Create\x20a\x20heading\x20level\x202'),'execute':_0x5c6463=>{_0x5c6463['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':ckeditor5['IconHeading3'],'title':_0x2b056('Heading\x203'),'description':_0x2b056('Create\x20a\x20heading\x20level\x203'),'execute':_0x1f5f5d=>{_0x1f5f5d['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':ckeditor5['IconHeading4'],'title':_0x2b056('Heading\x204'),'description':_0x2b056('Create\x20a\x20heading\x20level\x204'),'execute':_0x3f577c=>{_0x3f577c['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':ckeditor5['IconHeading5'],'title':_0x2b056('Heading\x205'),'description':_0x2b056('Create\x20a\x20heading\x20level\x205'),'execute':_0x32cf95=>{_0x32cf95['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':ckeditor5['IconHeading6'],'title':_0x2b056('Heading\x206'),'description':_0x2b056('Create\x20a\x20heading\x20level\x206'),'execute':_0x4c3f9f=>{_0x4c3f9f['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':ckeditor5['IconHorizontalLine'],'title':_0x2b056('Horizontal\x20line'),'description':_0x2b056('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':ckeditor5['IconHtml'],'title':_0x2b056('Insert\x20HTML'),'description':_0x2b056('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':ckeditor5['IconIndent'],'title':_0x2b056('Increase\x20indent'),'description':_0x2b056('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x2b056('Insert\x20Mermaid\x20diagram'),'description':_0x2b056('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':ckeditor5['IconTable'],'title':_0x2b056('Insert\x20table'),'description':_0x2b056('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':ckeditor5['IconTableOfContents'],'title':_0x2b056('Table\x20of\x20contents'),'description':_0x2b056('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':ckeditor5['IconNumberedList'],'title':_0x2b056('Numbered\x20list'),'description':_0x2b056('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':ckeditor5['IconOutdent'],'title':_0x2b056('Decrease\x20indent'),'description':_0x2b056('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':ckeditor5['IconParagraph'],'title':_0x2b056('Paragraph'),'description':_0x2b056('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':ckeditor5['IconTodoList'],'title':_0x2b056('To-do\x20list'),'description':_0x2b056('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':ckeditor5['IconFootnote'],'title':_0x2b056('Footnote'),'description':_0x2b056('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0xba0f5e){return _0xba0f5e['isEnabled']?_0xba0f5e['isEnabled'](this['editor']):!_0xba0f5e['commandName']||this['editor']['commands']['get'](_0xba0f5e['commandName'])['isEnabled'];}['_proxyExecute'](_0x2ff5c4){if(_0x2ff5c4['execute'])_0x2ff5c4['execute'](this['editor']);else{if(!_0x2ff5c4['commandName'])throw new ckeditor5['CKEditorError']('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x2ff5c4});this['editor']['execute'](_0x2ff5c4['commandName']);}}}function _0x38526c(_0x3507a9,_0x42b7aa){return _0x3507a9['title']<_0x42b7aa['title']?-0x1:_0x3507a9['title']>_0x42b7aa['title']?0x1:0x0;}function convertTitleToId(_0x487c90,_0x2074ab){return _0x2074ab+'-'+_0x487c90['toLowerCase']()['split']('\x20')['join']('-');}function mapTemplates(_0x5b5a8b){return _0x5b5a8b['map'](_0x1c041a=>{const {title:_0x4140d7,icon:_0xaf831,description:_0x2b1d8c,data:_0x516317}=_0x1c041a,_0x25932b={'id':convertTitleToId(_0x4140d7,'template'),'commandName':'insertTemplate','execute':_0x5ef8fe=>{_0x5ef8fe['execute']('insertTemplate',_0x516317);},'description':_0x2b1d8c,'icon':_0xaf831,'title':_0x4140d7};return _0xaf831&&(_0x25932b['isIconColorInherited']=!0x1),_0x25932b;});}function mapStyles(_0x41b0a6){return _0x41b0a6['map'](_0x48d31e=>{const _0x5a696c={'id':convertTitleToId(_0x48d31e['name'],'style'),'commandName':'style','execute':_0xcc0e2d=>{_0xcc0e2d['execute']('style',{'styleName':_0x48d31e['name']});},'isEnabled':_0x22fe29=>{const _0x57e17f=_0x22fe29['commands']['get']('style');return _0x57e17f['isEnabled']&&_0x57e17f['enabledStyles']['includes'](_0x48d31e['name']);},'title':_0x48d31e['name']};return _0x5a696c;});}function getExcludedHeadings(_0x37ccd0){let _0x3a6099=['heading4','heading5','heading6'];if(_0x37ccd0){const _0x1d8b67=_0x37ccd0['map'](_0x59bc55=>_0x59bc55['model']);_0x3a6099=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x35c918=>!_0x1d8b67['includes'](_0x35c918));}return _0x3a6099;}async function _0x810ad4(_0x5ecc6c){const _0x133358=_0x8fed23([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]),_0x29d420=window[_0x8fed23([0x44,0x61,0x74,0x65])][_0x8fed23([0x6e,0x6f,0x77])](),_0x405beb=_0x5ecc6c[_0x8fed23([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x300583=new window[(_0x8fed23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cc790=>{_0x405beb[_0x8fed23([0x6f,0x6e,0x63,0x65])](_0x8fed23([0x72,0x65,0x61,0x64,0x79]),_0x1cc790);}),_0x40916c={[_0x8fed23([0x6b,0x74,0x79])]:_0x8fed23([0x45,0x43]),[_0x8fed23([0x75,0x73,0x65])]:_0x8fed23([0x73,0x69,0x67]),[_0x8fed23([0x63,0x72,0x76])]:_0x8fed23([0x50,0x2d,0x32,0x35,0x36]),[_0x8fed23([0x78])]:_0x8fed23([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]),[_0x8fed23([0x79])]:_0x8fed23([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]),[_0x8fed23([0x61,0x6c,0x67])]:_0x8fed23([0x45,0x53,0x32,0x35,0x36])},_0x52e509=_0x405beb[_0x8fed23([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x8fed23([0x67,0x65,0x74])](_0x8fed23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x865062=await(async function(){let _0x570a00,_0x1db8cd=null,_0x3e8893=null;try{if(_0x52e509==_0x8fed23([0x47,0x50,0x4c]))return _0x8fed23([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x570a00=(function(){const _0x39f18e=_0x52e509[_0x8fed23([0x73,0x70,0x6c,0x69,0x74])](_0x8fed23([0x2e]));if(0x3!=_0x39f18e[_0x8fed23([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x193836=_0x39f18e[0x1];return _0x118286(_0x193836);function _0x118286(_0x250e77){const _0x994f=_0x1e066f(_0x250e77);return _0x994f&&_0x551b53()?_0x994f:null;function _0x551b53(){const _0x141cf9=_0x994f[_0x8fed23([0x6a,0x74,0x69])],_0x301d0e=window[_0x8fed23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x141cf9[_0x8fed23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x141cf9[_0x8fed23([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1c80fc={..._0x994f,[_0x8fed23([0x6a,0x74,0x69])]:_0x141cf9[_0x8fed23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x141cf9[_0x8fed23([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1c80fc[_0x8fed23([0x76,0x63])],_0x39ce5b(_0x1c80fc)==_0x301d0e;}}}()),!_0x570a00)return _0x8fed23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x570a00[_0x8fed23([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e8893=function(_0x272f37,_0x544f23){return new window[(_0x8fed23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8246eb=>{if(_0x40bde9())return _0x8246eb(_0x8fed23([0x56,0x61,0x6c,0x69,0x64]));_0x623872(),_0x405beb[_0x8fed23([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x8fed23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b33b8=!0x1;const _0x1fe516=ckeditor5['uid']();function _0x5b4955(_0x16a2bf){return!!_0x16a2bf&&(typeof _0x16a2bf===_0x8fed23([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16a2bf===_0x8fed23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16a2bf[_0x8fed23([0x74,0x68,0x65,0x6e])]===_0x8fed23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16a2bf[_0x8fed23([0x63,0x61,0x74,0x63,0x68])]===_0x8fed23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x423575(_0x1b554a){_0x68d9b(_0x1b554a)[_0x8fed23([0x74,0x68,0x65,0x6e])](_0x414f02=>{if(!_0x414f02||_0x414f02[_0x8fed23([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x8fed23([0x6f,0x6b]))return _0x8fed23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x377c85(_0x39ce5b(_0x1fe516+_0x544f23))!=_0x414f02[_0x8fed23([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x8fed23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x8fed23([0x56,0x61,0x6c,0x69,0x64]);})[_0x8fed23([0x74,0x68,0x65,0x6e])](_0x1a61ed=>(_0x3def97(),_0x1a61ed),()=>{const _0x1b4823=_0x4b6f4f();return null==_0x1b4823?(_0x3def97(),_0x8fed23([0x56,0x61,0x6c,0x69,0x64])):_0x8fed23(_0x29d420-_0x1b4823>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x8fed23([0x74,0x68,0x65,0x6e])](_0x8246eb)[_0x8fed23([0x63,0x61,0x74,0x63,0x68])](()=>{_0x8246eb(_0x8fed23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4004fd=0x36ee80;function _0x3def97(){const _0x454213=_0x8fed23([0x6c,0x6c,0x63,0x74,0x2d])+_0x377c85(_0x39ce5b(_0x272f37)),_0x572988=_0x35111b(_0x377c85(window[_0x8fed23([0x4d,0x61,0x74,0x68])][_0x8fed23([0x63,0x65,0x69,0x6c])](_0x29d420/_0x4004fd)));window[_0x8fed23([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8fed23([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x454213,_0x572988);}function _0x4b6f4f(){const _0x4b51e1=_0x8fed23([0x6c,0x6c,0x63,0x74,0x2d])+_0x377c85(_0x39ce5b(_0x272f37)),_0x57a59f=window[_0x8fed23([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8fed23([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b51e1);return _0x57a59f?window[_0x8fed23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35111b(_0x57a59f),0x10)*_0x4004fd:null;}function _0x68d9b(_0x9de0aa){return new window[(_0x8fed23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x249fcf,_0x29cefa)=>{_0x9de0aa[_0x8fed23([0x74,0x68,0x65,0x6e])](_0x249fcf,_0x29cefa),window[_0x8fed23([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29cefa,0x1d4c0);});}}_0x405beb[_0x8fed23([0x6f,0x6e])](_0x8fed23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xfd4f17,_0x5e468d)=>{if(_0x5e468d[0x0]!=_0x272f37)return _0x8246eb(_0x8fed23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5e468d[0x1]={..._0x5e468d[0x1],[_0x8fed23([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1fe516};},{[_0x8fed23([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8fed23([0x68,0x69,0x67,0x68])}),_0x405beb[_0x8fed23([0x6f,0x6e])](_0x8fed23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4e9253=>{_0x5b4955(_0x4e9253[_0x8fed23([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b33b8=!0x0,_0x423575(_0x4e9253[_0x8fed23([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x8fed23([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8fed23([0x6c,0x6f,0x77])}),_0x300583[_0x8fed23([0x74,0x68,0x65,0x6e])](()=>{_0x4b33b8||_0x8246eb(_0x8fed23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x40bde9(){return _0x405beb[_0x8fed23([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8fed23([0x76,0x69,0x65,0x77])][_0x8fed23([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x8fed23([0x61,0x75,0x74,0x6f]);}function _0x623872(){_0x405beb[_0x8fed23([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8fed23([0x76,0x69,0x65,0x77])][_0x8fed23([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x8fed23([0x61,0x75,0x74,0x6f]);}}(_0x570a00[_0x8fed23([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x570a00[_0x8fed23([0x6a,0x74,0x69])]));const _0x59005e=await(async function(){let _0x324db7=!0x0;try{const _0xe995ab=_0x52e509[_0x8fed23([0x73,0x70,0x6c,0x69,0x74])](_0x8fed23([0x2e])),[_0x1e5c33,_0x25f7e8,_0x3b9d00]=_0xe995ab;return _0x4cfb22(_0x1e5c33),await _0x496f09(_0x1e5c33,_0x25f7e8,_0x3b9d00),_0x324db7;}catch{return!0x1;}function _0x4cfb22(_0x5d9b1d){const _0x11e51a=_0x1e066f(_0x5d9b1d);_0x11e51a&&_0x11e51a[_0x8fed23([0x61,0x6c,0x67])]==_0x8fed23([0x45,0x53,0x32,0x35,0x36])||(_0x324db7=!0x1);}async function _0x496f09(_0x45ccf4,_0x480c2c,_0x14df61){const _0xb71e27=window[_0x8fed23([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x8fed23([0x66,0x72,0x6f,0x6d])](_0x42eb14(_0x14df61),_0x347e95=>_0x347e95[_0x8fed23([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a5ba1=new window[(_0x8fed23([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x8fed23([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x45ccf4+_0x8fed23([0x2e])+_0x480c2c),_0x3a345f=window[_0x8fed23([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x8fed23([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3a345f)return;const _0xec87=await _0x3a345f[_0x8fed23([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x8fed23([0x6a,0x77,0x6b]),_0x40916c,{[_0x8fed23([0x6e,0x61,0x6d,0x65])]:_0x8fed23([0x45,0x43,0x44,0x53,0x41]),[_0x8fed23([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x8fed23([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x8fed23([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3a345f[_0x8fed23([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x8fed23([0x6e,0x61,0x6d,0x65])]:_0x8fed23([0x45,0x43,0x44,0x53,0x41]),[_0x8fed23([0x68,0x61,0x73,0x68])]:{[_0x8fed23([0x6e,0x61,0x6d,0x65])]:_0x8fed23([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xec87,_0xb71e27,_0x2a5ba1)||(_0x324db7=!0x1);}}());return _0x59005e?(function(){const _0x52274c=_0x570a00[_0x8fed23([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x52274c)return!0x1;if(_0x52274c[_0x8fed23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8fed23([0x2a])))return!0x0;if(_0x52274c[_0x8fed23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8fed23([0x53,0x43])))return!0x0;if(_0x52274c[_0x8fed23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8fed23([0x50,0x50])))return!0x0;if(_0x52274c[_0x8fed23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8fed23([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x8fed23([0x67,0x6c,0x6f,0x62])]&&window[_0x8fed23([0x67,0x6c,0x6f,0x62])][_0x8fed23([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x26c327=[_0x8fed23([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x8fed23([0x74,0x72,0x69,0x61,0x6c])][_0x8fed23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x570a00[_0x8fed23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x29d420/0x3e8:0x69cb0e80;return _0x570a00[_0x8fed23([0x65,0x78,0x70])]<_0x26c327;}())?_0x8fed23([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x4d351f=_0x570a00[_0x8fed23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4d351f||0x0==_0x4d351f[_0x8fed23([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x21c264}=new URL(window[_0x8fed23([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4d351f[_0x8fed23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21c264))return!0x0;const _0x11b767=_0x21c264[_0x8fed23([0x73,0x70,0x6c,0x69,0x74])](_0x8fed23([0x2e]));return _0x4d351f[_0x8fed23([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43df84=>_0x43df84[_0x8fed23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8fed23([0x2a])))[_0x8fed23([0x6d,0x61,0x70])](_0x193b0e=>_0x193b0e[_0x8fed23([0x73,0x70,0x6c,0x69,0x74])](_0x8fed23([0x2e])))[_0x8fed23([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44e046=>_0x44e046[_0x8fed23([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x11b767[_0x8fed23([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8fed23([0x6d,0x61,0x70])](_0x4a8897=>Array(_0x11b767[_0x8fed23([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4a8897[_0x8fed23([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8fed23([0x66,0x69,0x6c,0x6c])](_0x4a8897[0x0]===_0x8fed23([0x2a])?_0x8fed23([0x2a]):'')[_0x8fed23([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4a8897))[_0x8fed23([0x73,0x6f,0x6d,0x65])](_0x1f93ed=>_0x11b767[_0x8fed23([0x65,0x76,0x65,0x72,0x79])]((_0x20aae3,_0x51eb39)=>_0x1f93ed[_0x51eb39]===_0x20aae3||_0x1f93ed[_0x51eb39]===_0x8fed23([0x2a])));}())?(_0x570a00[_0x8fed23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8fed23([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1db8cd=function(_0x552d9c){const _0x7c0d13=new window[(_0x8fed23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fcd9a=>setTimeout(_0x3fcd9a,0x93ecc)),_0x14e07c=_0x300583[_0x8fed23([0x74,0x68,0x65,0x6e])](()=>new window[(_0x8fed23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x528536=>{let _0x134835=0x0;_0x405beb[_0x8fed23([0x6d,0x6f,0x64,0x65,0x6c])][_0x8fed23([0x6f,0x6e])](_0x8fed23([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e6957,_0x8a67ab)=>{_0x8a67ab[0x0][_0x8fed23([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x134835++,0x5e8==_0x134835&&(_0x528536(),_0x2e6957[_0x8fed23([0x6f,0x66,0x66])]());});})),_0x4e188b=[_0x7c0d13,_0x14e07c];return window[_0x8fed23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x8fed23([0x72,0x61,0x63,0x65])](_0x4e188b)[_0x8fed23([0x74,0x68,0x65,0x6e])](()=>_0x552d9c);}(_0x8fed23([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x1db8cd&&_0x3e8893)return new window[(_0x8fed23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49ccaf,_0x904bcf)=>{_0x1db8cd[_0x8fed23([0x74,0x68,0x65,0x6e])](_0x49ccaf,_0x904bcf),_0x3e8893[_0x8fed23([0x74,0x68,0x65,0x6e])](_0x1b23a4=>{_0x1b23a4!=_0x8fed23([0x56,0x61,0x6c,0x69,0x64])&&_0x49ccaf(_0x1b23a4);},_0x904bcf);});return _0x1db8cd||_0x3e8893||_0x8fed23([0x56,0x61,0x6c,0x69,0x64]);}())):_0x8fed23([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x8fed23([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x8fed23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x8fed23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x1e066f(_0x24045f){return _0x24045f[_0x8fed23([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x8fed23([0x65,0x79]))?JSON[_0x8fed23([0x70,0x61,0x72,0x73,0x65])](_0x42eb14(_0x24045f)):null;}function _0x42eb14(_0x30b5a3){return window[_0x8fed23([0x61,0x74,0x6f,0x62])](_0x30b5a3[_0x8fed23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x8fed23([0x2b]))[_0x8fed23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x8fed23([0x2f])));}function _0x39ce5b(_0x3f4845){let _0x4b4670=0x1505;function _0x3e86a3(_0x275f26){for(let _0x51ef01=0x0;_0x51ef01<_0x275f26[_0x8fed23([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51ef01++){const _0x10202f=_0x275f26[_0x8fed23([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x51ef01);_0x4b4670=(_0x4b4670<<0x5)+_0x4b4670+_0x10202f,_0x4b4670&=_0x4b4670;}}return function _0x116ef1(_0x43f7f1){Array[_0x8fed23([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x43f7f1)?_0x43f7f1[_0x8fed23([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x116ef1):_0x43f7f1&&typeof _0x43f7f1==_0x8fed23([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x8fed23([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x43f7f1)[_0x8fed23([0x73,0x6f,0x72,0x74])]()[_0x8fed23([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x38e7fd,_0x3dd017])=>{_0x3e86a3(_0x38e7fd),_0x116ef1(_0x3dd017);}):_0x3e86a3(window[_0x8fed23([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x43f7f1));}(_0x3f4845),_0x4b4670>>>0x0;}function _0x377c85(_0x370580){return _0x370580[_0x8fed23([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x8fed23([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x8fed23([0x30]));}function _0x35111b(_0xe4fb2e){return _0xe4fb2e[_0x8fed23([0x73,0x70,0x6c,0x69,0x74])]('')[_0x8fed23([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x8fed23([0x6a,0x6f,0x69,0x6e])]('');}function _0x3119fd(){}function _0x8fed23(_0x1dbc98){return _0x1dbc98['map'](_0xc863a0=>String['fromCharCode'](_0xc863a0))['join']('');}!function(_0x5e41cc){const _0x2a4864=(function(){const _0x2379ab=window[_0x8fed23([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x8fed23([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x8fed23([0x6e,0x6f,0x77])]())[_0x8fed23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x8fed23([0x2e]),'');let _0x50a27d=_0x8fed23([0x75]);for(let _0x4bc82c=0x0;_0x4bc82c<_0x2379ab[_0x8fed23([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bc82c+=0x2){let _0x3ac79e=window[_0x8fed23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2379ab[_0x8fed23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bc82c,_0x4bc82c+0x2));_0x3ac79e>=_0x133358[_0x8fed23([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ac79e-=_0x133358[_0x8fed23([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x50a27d+=_0x133358[_0x3ac79e];}return _0x50a27d;}());_0x405beb[_0x2a4864]=_0x8fed23([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5e41cc,_0x5e41cc!=_0x8fed23([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x300583,_0x405beb[_0x8fed23([0x6d,0x6f,0x64,0x65,0x6c])][_0x8fed23([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3119fd,_0x405beb[_0x8fed23([0x6d,0x6f,0x64,0x65,0x6c])][_0x8fed23([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3119fd,_0x405beb[_0x8fed23([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x8fed23([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x865062);}class SlashCommandEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x33226c];}['getMatchingCommands'](_0x22ee99){const _0x354941=_0x22ee99&&_0x22ee99['toLowerCase']();let _0x1f347f=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x1f347f=_0x1f347f['filter'](_0xbc7e78=>_0xbc7e78['isEnabled']()),_0x354941){const _0x99088d=[],_0x4e41ef=[],_0xcac4de=[],_0x26d9ec=[];for(const _0x55a188 of _0x1f347f)_0x55a188['id']['toLowerCase']()['includes'](_0x354941)?_0x99088d['push'](_0x55a188):_0x55a188['title']['toLowerCase']()['includes'](_0x354941)?_0x4e41ef['push'](_0x55a188):_0x55a188['aliases']&&_0x55a188['aliases']['some'](_0x1226eb=>_0x1226eb['toLowerCase']()['includes'](_0x354941))?_0xcac4de['push'](_0x55a188):_0x55a188['description']&&_0x55a188['description']['toLowerCase']()['includes'](_0x354941)&&_0x26d9ec['push'](_0x55a188);_0x1f347f=_0x99088d['concat'](_0x4e41ef,_0xcac4de,_0x26d9ec);}return _0x1f347f;}}class SlashCommandButtonView extends ckeditor5['ButtonView']{constructor(_0x38a08d,_0xb0531e){super(_0x38a08d),this['textPartView']=this['_createTextPartView'](_0x38a08d,_0xb0531e),void 0x0!==_0xb0531e['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0xb0531e['isIconColorInherited']),this['set']({'icon':_0xb0531e['icon']||ckeditor5['IconPlay'],'withText':!0x0,'label':_0xb0531e['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x1f29e8,_0x21a79b){const _0x5d7776=new ckeditor5['View'](_0x1f29e8);return _0x5d7776['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x21a79b['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x21a79b['description']}]}]:[this['labelView']]}),_0x5d7776;}}class _0x89fe49 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3e62a1){super(_0x3e62a1),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x177297=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3a76e8;for(const _0x3d7cea in _0x177297){const _0x909c6c=_0x3d7cea,_0x5b1fe6=_0x177297[_0x909c6c];if('slashCommandLicenseKeyValid'==_0x5b1fe6||'slashCommandLicenseKeyInvalid'==_0x5b1fe6||'slashCommandLicenseKeyExpired'==_0x5b1fe6||'slashCommandLicenseKeyDomainLimit'==_0x5b1fe6||'slashCommandLicenseKeyNotAllowed'==_0x5b1fe6||'slashCommandLicenseKeyEvaluationLimit'==_0x5b1fe6||'slashCommandLicenseKeyUsageLimit'==_0x5b1fe6){delete _0x177297[_0x909c6c],_0x3a76e8=_0x5b1fe6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x3a76e8&&_0x177297['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x3a76e8&&_0x177297['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x3a76e8&&_0x177297['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x3a76e8&&_0x177297['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x3a76e8&&_0x177297['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x3a76e8&&_0x177297['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x2431c9=this['editor'],_0x32970e=this['editor']['plugins']['get']('SlashCommandEditing'),_0x2bdda0=_0x2431c9['config']['get']('mention.feeds');_0x2bdda0['push']({'marker':'/','feed':_0x125e4b=>_0x32970e['getMatchingCommands'](_0x125e4b),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x2431c9['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x2431c9['config']['set']('mention.feeds',_0x2bdda0);}['_overrideMentionExecuteListener'](){const _0x418ac1=this['editor'];_0x418ac1['commands']['get']('mention')['on']('execute',(_0x1c479e,_0x34b8a5)=>{const _0x4f200b=_0x34b8a5[0x0],_0x46e4c5=_0x418ac1['model'];'/'===_0x4f200b['marker']&&_0x46e4c5['change'](_0x4ab5b2=>{_0x4ab5b2['remove'](_0x4f200b['range']),_0x4f200b['mention']['execute'](),_0x1c479e['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x6e3fdf){const _0x9a87e6=this['editor']['locale'],_0x44bccc=new SlashCommandButtonView(_0x9a87e6,_0x6e3fdf);return _0x44bccc['render'](),_0x44bccc['element'];}}class _0x57936b extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Mention'],SlashCommandEditing,_0x89fe49];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getTranslation$2(_0x2008e6,_0x257647){const t=_0x2008e6['t'];switch(_0x257647){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 _0x257647;}}function getActiveRootName(_0x2a15e7){const _0x39ce25=_0x2a15e7['editing']['view']['document']['roots'],_0x4b44a5=_0x39ce25['length'];if(0x0===_0x4b44a5)throw new ckeditor5['CKEditorError']('source-editing-enhanced-editor-no-root',_0x2a15e7);if(0x1===_0x4b44a5)return _0x39ce25['first']['rootName'];return Array['from'](_0x2a15e7['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function formatSource(_0x2612f1){return isHtml(_0x2612f1)?ckeditor5['formatHtml'](_0x2612f1):_0x2612f1;}function unformatSource(_0x25b0ad){return isHtml(_0x25b0ad['replace'](/^[\n\s]*/g,''))?_0x25b0ad['replace'](/\s+/g,''):_0x25b0ad;}function isHtml(_0x881246){return _0x881246['startsWith']('<');}let _0x18dab4=[],_0x5281e5=[];function isExtendingChar(_0x3678ae){if(_0x3678ae<0x300)return!0x1;for(let _0xbf8527=0x0,_0x2aec11=_0x18dab4['length'];;){let _0x1dd52a=_0xbf8527+_0x2aec11>>0x1;if(_0x3678ae<_0x18dab4[_0x1dd52a])_0x2aec11=_0x1dd52a;else{if(!(_0x3678ae>=_0x5281e5[_0x1dd52a]))return!0x0;_0xbf8527=_0x1dd52a+0x1;}if(_0xbf8527==_0x2aec11)return!0x1;}}function isRegionalIndicator(_0x5f2b96){return _0x5f2b96>=0x1f1e6&&_0x5f2b96<=0x1f1ff;}((()=>{let _0x5f46b1='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'](_0x15fea3=>_0x15fea3?parseInt(_0x15fea3,0x24):0x1);for(let _0x40dc6e=0x0,_0x16e9fd=0x0;_0x40dc6e<_0x5f46b1['length'];_0x40dc6e++)(_0x40dc6e%0x2?_0x5281e5:_0x18dab4)['push'](_0x16e9fd+=_0x5f46b1[_0x40dc6e]);})());const _0x394adf=0x200d;function findClusterBreak$1(_0x4b0456,_0x4a9984,_0x1cacea=!0x0,_0x226650=!0x0){return(_0x1cacea?nextClusterBreak:prevClusterBreak)(_0x4b0456,_0x4a9984,_0x226650);}function nextClusterBreak(_0x4f977c,_0x7af150,_0x57b314){if(_0x7af150==_0x4f977c['length'])return _0x7af150;_0x7af150&&surrogateLow$1(_0x4f977c['charCodeAt'](_0x7af150))&&surrogateHigh$1(_0x4f977c['charCodeAt'](_0x7af150-0x1))&&_0x7af150--;let _0xe3c243=codePointAt$1(_0x4f977c,_0x7af150);for(_0x7af150+=codePointSize$1(_0xe3c243);_0x7af150<_0x4f977c['length'];){let _0x1de0da=codePointAt$1(_0x4f977c,_0x7af150);if(_0xe3c243==_0x394adf||_0x1de0da==_0x394adf||_0x57b314&&isExtendingChar(_0x1de0da))_0x7af150+=codePointSize$1(_0x1de0da),_0xe3c243=_0x1de0da;else{if(!isRegionalIndicator(_0x1de0da))break;{let _0x11c616=0x0,_0x550a0f=_0x7af150-0x2;for(;_0x550a0f>=0x0&&isRegionalIndicator(codePointAt$1(_0x4f977c,_0x550a0f));)_0x11c616++,_0x550a0f-=0x2;if(_0x11c616%0x2==0x0)break;_0x7af150+=0x2;}}}return _0x7af150;}function prevClusterBreak(_0x31b8b3,_0x4ee60a,_0x54040c){for(;_0x4ee60a>0x0;){let _0x3acd32=nextClusterBreak(_0x31b8b3,_0x4ee60a-0x2,_0x54040c);if(_0x3acd32<_0x4ee60a)return _0x3acd32;_0x4ee60a--;}return 0x0;}function codePointAt$1(_0x1d2567,_0x291782){let _0x86aeed=_0x1d2567['charCodeAt'](_0x291782);if(!surrogateHigh$1(_0x86aeed)||_0x291782+0x1==_0x1d2567['length'])return _0x86aeed;let _0x4a5585=_0x1d2567['charCodeAt'](_0x291782+0x1);return surrogateLow$1(_0x4a5585)?_0x4a5585-0xdc00+(_0x86aeed-0xd800<<0xa)+0x10000:_0x86aeed;}function surrogateLow$1(_0x3f7ee3){return _0x3f7ee3>=0xdc00&&_0x3f7ee3<0xe000;}function surrogateHigh$1(_0x563931){return _0x563931>=0xd800&&_0x563931<0xdc00;}function codePointSize$1(_0x2be8bf){return _0x2be8bf<0x10000?0x1:0x2;}class Text{['lineAt'](_0xcf5052){if(_0xcf5052<0x0||_0xcf5052>this['length'])throw new RangeError('Invalid\x20position\x20'+_0xcf5052+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0xcf5052,!0x1,0x1,0x0);}['line'](_0x5b236){if(_0x5b236<0x1||_0x5b236>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x5b236+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x5b236,!0x0,0x1,0x0);}['replace'](_0x507da,_0x294668,_0x22f277){[_0x507da,_0x294668]=_0x59e41d(this,_0x507da,_0x294668);let _0x9ce5ba=[];return this['decompose'](0x0,_0x507da,_0x9ce5ba,0x2),_0x22f277['length']&&_0x22f277['decompose'](0x0,_0x22f277['length'],_0x9ce5ba,0x3),this['decompose'](_0x294668,this['length'],_0x9ce5ba,0x1),TextNode['from'](_0x9ce5ba,this['length']-(_0x294668-_0x507da)+_0x22f277['length']);}['append'](_0x526f24){return this['replace'](this['length'],this['length'],_0x526f24);}['slice'](_0x49bab3,_0x1d0003=this['length']){[_0x49bab3,_0x1d0003]=_0x59e41d(this,_0x49bab3,_0x1d0003);let _0x249ead=[];return this['decompose'](_0x49bab3,_0x1d0003,_0x249ead,0x0),TextNode['from'](_0x249ead,_0x1d0003-_0x49bab3);}['eq'](_0x5b8464){if(_0x5b8464==this)return!0x0;if(_0x5b8464['length']!=this['length']||_0x5b8464['lines']!=this['lines'])return!0x1;let _0x14f72b=this['scanIdentical'](_0x5b8464,0x1),_0x5b2c4b=this['length']-this['scanIdentical'](_0x5b8464,-0x1),_0x1b4cdb=new RawTextCursor(this),_0x703825=new RawTextCursor(_0x5b8464);for(let _0x103c1d=_0x14f72b,_0x3718c3=_0x14f72b;;){if(_0x1b4cdb['next'](_0x103c1d),_0x703825['next'](_0x103c1d),_0x103c1d=0x0,_0x1b4cdb['lineBreak']!=_0x703825['lineBreak']||_0x1b4cdb['done']!=_0x703825['done']||_0x1b4cdb['value']!=_0x703825['value'])return!0x1;if(_0x3718c3+=_0x1b4cdb['value']['length'],_0x1b4cdb['done']||_0x3718c3>=_0x5b2c4b)return!0x0;}}['iter'](_0x3d9ed7=0x1){return new RawTextCursor(this,_0x3d9ed7);}['iterRange'](_0x1a6044,_0x4e480c=this['length']){return new PartialTextCursor(this,_0x1a6044,_0x4e480c);}['iterLines'](_0x26e6f0,_0xf48ebf){let _0x4cb7da;if(null==_0x26e6f0)_0x4cb7da=this['iter']();else{null==_0xf48ebf&&(_0xf48ebf=this['lines']+0x1);let _0x535813=this['line'](_0x26e6f0)['from'];_0x4cb7da=this['iterRange'](_0x535813,Math['max'](_0x535813,_0xf48ebf==this['lines']+0x1?this['length']:_0xf48ebf<=0x1?0x0:this['line'](_0xf48ebf-0x1)['to']));}return new _0x41a0e0(_0x4cb7da);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x1e64d1=[];return this['flatten'](_0x1e64d1),_0x1e64d1;}constructor(){}static['of'](_0xba3962){if(0x0==_0xba3962['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0xba3962['length']||_0xba3962[0x0]?_0xba3962['length']<=0x20?new TextLeaf(_0xba3962):TextNode['from'](TextLeaf['split'](_0xba3962,[])):Text['empty'];}}class TextLeaf extends Text{constructor(_0x54f5b7,_0x590bf8=textLength(_0x54f5b7)){super(),this['text']=_0x54f5b7,this['length']=_0x590bf8;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0x7828ea,_0x52a702,_0x65f89d,_0x273aa9){for(let _0x3c48e1=0x0;;_0x3c48e1++){let _0x2929a4=this['text'][_0x3c48e1],_0x237654=_0x273aa9+_0x2929a4['length'];if((_0x52a702?_0x65f89d:_0x237654)>=_0x7828ea)return new _0x5d1142(_0x273aa9,_0x237654,_0x65f89d,_0x2929a4);_0x273aa9=_0x237654+0x1,_0x65f89d++;}}['decompose'](_0x572088,_0x4c5176,_0x2b210c,_0x11eba5){let _0x506c3f=_0x572088<=0x0&&_0x4c5176>=this['length']?this:new TextLeaf(sliceText(this['text'],_0x572088,_0x4c5176),Math['min'](_0x4c5176,this['length'])-Math['max'](0x0,_0x572088));if(0x1&_0x11eba5){let _0x15e8fa=_0x2b210c['pop'](),_0x37b53c=appendText(_0x506c3f['text'],_0x15e8fa['text']['slice'](),0x0,_0x506c3f['length']);if(_0x37b53c['length']<=0x20)_0x2b210c['push'](new TextLeaf(_0x37b53c,_0x15e8fa['length']+_0x506c3f['length']));else{let _0x4b7fea=_0x37b53c['length']>>0x1;_0x2b210c['push'](new TextLeaf(_0x37b53c['slice'](0x0,_0x4b7fea)),new TextLeaf(_0x37b53c['slice'](_0x4b7fea)));}}else _0x2b210c['push'](_0x506c3f);}['replace'](_0x1a96b7,_0x2c993d,_0x516dda){if(!(_0x516dda instanceof TextLeaf))return super['replace'](_0x1a96b7,_0x2c993d,_0x516dda);[_0x1a96b7,_0x2c993d]=_0x59e41d(this,_0x1a96b7,_0x2c993d);let _0x29f8d4=appendText(this['text'],appendText(_0x516dda['text'],sliceText(this['text'],0x0,_0x1a96b7)),_0x2c993d),_0x2b9470=this['length']+_0x516dda['length']-(_0x2c993d-_0x1a96b7);return _0x29f8d4['length']<=0x20?new TextLeaf(_0x29f8d4,_0x2b9470):TextNode['from'](TextLeaf['split'](_0x29f8d4,[]),_0x2b9470);}['sliceString'](_0x4f65a4,_0x26a023=this['length'],_0x4be630='\x0a'){[_0x4f65a4,_0x26a023]=_0x59e41d(this,_0x4f65a4,_0x26a023);let _0x525484='';for(let _0x23a8c8=0x0,_0xe68e7c=0x0;_0x23a8c8<=_0x26a023&&_0xe68e7c<this['text']['length'];_0xe68e7c++){let _0x2aec2e=this['text'][_0xe68e7c],_0x1e5a80=_0x23a8c8+_0x2aec2e['length'];_0x23a8c8>_0x4f65a4&&_0xe68e7c&&(_0x525484+=_0x4be630),_0x4f65a4<_0x1e5a80&&_0x26a023>_0x23a8c8&&(_0x525484+=_0x2aec2e['slice'](Math['max'](0x0,_0x4f65a4-_0x23a8c8),_0x26a023-_0x23a8c8)),_0x23a8c8=_0x1e5a80+0x1;}return _0x525484;}['flatten'](_0x2d5044){for(let _0x4fbf4d of this['text'])_0x2d5044['push'](_0x4fbf4d);}['scanIdentical'](){return 0x0;}static['split'](_0x2fdba5,_0x14037a){let _0x1dc942=[],_0x4f902f=-0x1;for(let _0x2aafa0 of _0x2fdba5)_0x1dc942['push'](_0x2aafa0),_0x4f902f+=_0x2aafa0['length']+0x1,0x20==_0x1dc942['length']&&(_0x14037a['push'](new TextLeaf(_0x1dc942,_0x4f902f)),_0x1dc942=[],_0x4f902f=-0x1);return _0x4f902f>-0x1&&_0x14037a['push'](new TextLeaf(_0x1dc942,_0x4f902f)),_0x14037a;}}class TextNode extends Text{constructor(_0x2e7f66,_0x1d7f24){super(),this['children']=_0x2e7f66,this['length']=_0x1d7f24,this['lines']=0x0;for(let _0x1f46e2 of _0x2e7f66)this['lines']+=_0x1f46e2['lines'];}['lineInner'](_0x558769,_0x2d03ce,_0x362714,_0x52389d){for(let _0x1dfe66=0x0;;_0x1dfe66++){let _0x454afc=this['children'][_0x1dfe66],_0x568587=_0x52389d+_0x454afc['length'],_0x18b8c5=_0x362714+_0x454afc['lines']-0x1;if((_0x2d03ce?_0x18b8c5:_0x568587)>=_0x558769)return _0x454afc['lineInner'](_0x558769,_0x2d03ce,_0x362714,_0x52389d);_0x52389d=_0x568587+0x1,_0x362714=_0x18b8c5+0x1;}}['decompose'](_0x513525,_0x10abab,_0x3f40d5,_0x5aad9f){for(let _0x27aa34=0x0,_0x2fb10e=0x0;_0x2fb10e<=_0x10abab&&_0x27aa34<this['children']['length'];_0x27aa34++){let _0x3973c5=this['children'][_0x27aa34],_0x5a23f2=_0x2fb10e+_0x3973c5['length'];if(_0x513525<=_0x5a23f2&&_0x10abab>=_0x2fb10e){let _0xb9b0b1=_0x5aad9f&((_0x2fb10e<=_0x513525?0x1:0x0)|(_0x5a23f2>=_0x10abab?0x2:0x0));_0x2fb10e>=_0x513525&&_0x5a23f2<=_0x10abab&&!_0xb9b0b1?_0x3f40d5['push'](_0x3973c5):_0x3973c5['decompose'](_0x513525-_0x2fb10e,_0x10abab-_0x2fb10e,_0x3f40d5,_0xb9b0b1);}_0x2fb10e=_0x5a23f2+0x1;}}['replace'](_0x5771a5,_0x483a59,_0x266234){if([_0x5771a5,_0x483a59]=_0x59e41d(this,_0x5771a5,_0x483a59),_0x266234['lines']<this['lines'])for(let _0x2c3c22=0x0,_0x22075a=0x0;_0x2c3c22<this['children']['length'];_0x2c3c22++){let _0x3c2e64=this['children'][_0x2c3c22],_0x2b92a6=_0x22075a+_0x3c2e64['length'];if(_0x5771a5>=_0x22075a&&_0x483a59<=_0x2b92a6){let _0x5132a6=_0x3c2e64['replace'](_0x5771a5-_0x22075a,_0x483a59-_0x22075a,_0x266234),_0x4ba90b=this['lines']-_0x3c2e64['lines']+_0x5132a6['lines'];if(_0x5132a6['lines']<_0x4ba90b>>0x4&&_0x5132a6['lines']>_0x4ba90b>>0x6){let _0x36fc64=this['children']['slice']();return _0x36fc64[_0x2c3c22]=_0x5132a6,new TextNode(_0x36fc64,this['length']-(_0x483a59-_0x5771a5)+_0x266234['length']);}return super['replace'](_0x22075a,_0x2b92a6,_0x5132a6);}_0x22075a=_0x2b92a6+0x1;}return super['replace'](_0x5771a5,_0x483a59,_0x266234);}['sliceString'](_0x938163,_0x299991=this['length'],_0x2d1570='\x0a'){[_0x938163,_0x299991]=_0x59e41d(this,_0x938163,_0x299991);let _0x5eaef6='';for(let _0x733ef5=0x0,_0x5e6103=0x0;_0x733ef5<this['children']['length']&&_0x5e6103<=_0x299991;_0x733ef5++){let _0x17a0b5=this['children'][_0x733ef5],_0x26900d=_0x5e6103+_0x17a0b5['length'];_0x5e6103>_0x938163&&_0x733ef5&&(_0x5eaef6+=_0x2d1570),_0x938163<_0x26900d&&_0x299991>_0x5e6103&&(_0x5eaef6+=_0x17a0b5['sliceString'](_0x938163-_0x5e6103,_0x299991-_0x5e6103,_0x2d1570)),_0x5e6103=_0x26900d+0x1;}return _0x5eaef6;}['flatten'](_0x3f8fa7){for(let _0x2231ef of this['children'])_0x2231ef['flatten'](_0x3f8fa7);}['scanIdentical'](_0x13e542,_0x1ca298){if(!(_0x13e542 instanceof TextNode))return 0x0;let _0x5d9e23=0x0,[_0x7c8a0,_0x509b3a,_0x3b0bb4,_0x2c734a]=_0x1ca298>0x0?[0x0,0x0,this['children']['length'],_0x13e542['children']['length']]:[this['children']['length']-0x1,_0x13e542['children']['length']-0x1,-0x1,-0x1];for(;;_0x7c8a0+=_0x1ca298,_0x509b3a+=_0x1ca298){if(_0x7c8a0==_0x3b0bb4||_0x509b3a==_0x2c734a)return _0x5d9e23;let _0x5cb596=this['children'][_0x7c8a0],_0x37c262=_0x13e542['children'][_0x509b3a];if(_0x5cb596!=_0x37c262)return _0x5d9e23+_0x5cb596['scanIdentical'](_0x37c262,_0x1ca298);_0x5d9e23+=_0x5cb596['length']+0x1;}}static['from'](_0x481c96,_0x304455=_0x481c96['reduce']((_0x1b8169,_0x522ac4)=>_0x1b8169+_0x522ac4['length']+0x1,-0x1)){let _0x19037a=0x0;for(let _0x3c07cb of _0x481c96)_0x19037a+=_0x3c07cb['lines'];if(_0x19037a<0x20){let _0x5d6c9a=[];for(let _0x28cbe7 of _0x481c96)_0x28cbe7['flatten'](_0x5d6c9a);return new TextLeaf(_0x5d6c9a,_0x304455);}let _0x10b5a6=Math['max'](0x20,_0x19037a>>0x5),_0x2c3409=_0x10b5a6<<0x1,_0x319c32=_0x10b5a6>>0x1,_0x18ec06=[],_0x19aba5=0x0,_0x4fb399=-0x1,_0x377614=[];function _0x40712d(_0x152d1d){let _0xe11fa1;if(_0x152d1d['lines']>_0x2c3409&&_0x152d1d instanceof TextNode){for(let _0x72d181 of _0x152d1d['children'])_0x40712d(_0x72d181);}else _0x152d1d['lines']>_0x319c32&&(_0x19aba5>_0x319c32||!_0x19aba5)?(_0x1c8a55(),_0x18ec06['push'](_0x152d1d)):_0x152d1d instanceof TextLeaf&&_0x19aba5&&(_0xe11fa1=_0x377614[_0x377614['length']-0x1])instanceof TextLeaf&&_0x152d1d['lines']+_0xe11fa1['lines']<=0x20?(_0x19aba5+=_0x152d1d['lines'],_0x4fb399+=_0x152d1d['length']+0x1,_0x377614[_0x377614['length']-0x1]=new TextLeaf(_0xe11fa1['text']['concat'](_0x152d1d['text']),_0xe11fa1['length']+0x1+_0x152d1d['length'])):(_0x19aba5+_0x152d1d['lines']>_0x10b5a6&&_0x1c8a55(),_0x19aba5+=_0x152d1d['lines'],_0x4fb399+=_0x152d1d['length']+0x1,_0x377614['push'](_0x152d1d));}function _0x1c8a55(){0x0!=_0x19aba5&&(_0x18ec06['push'](0x1==_0x377614['length']?_0x377614[0x0]:TextNode['from'](_0x377614,_0x4fb399)),_0x4fb399=-0x1,_0x19aba5=_0x377614['length']=0x0);}for(let _0x445138 of _0x481c96)_0x40712d(_0x445138);return _0x1c8a55(),0x1==_0x18ec06['length']?_0x18ec06[0x0]:new TextNode(_0x18ec06,_0x304455);}}function textLength(_0x3567fe){let _0x132c84=-0x1;for(let _0x21c6df of _0x3567fe)_0x132c84+=_0x21c6df['length']+0x1;return _0x132c84;}function appendText(_0x4e2385,_0x2e63dc,_0x5c19e9=0x0,_0x5d9a07=0x3b9aca00){for(let _0x15317b=0x0,_0x3ed7f7=0x0,_0x53d662=!0x0;_0x3ed7f7<_0x4e2385['length']&&_0x15317b<=_0x5d9a07;_0x3ed7f7++){let _0x399996=_0x4e2385[_0x3ed7f7],_0x1da83e=_0x15317b+_0x399996['length'];_0x1da83e>=_0x5c19e9&&(_0x1da83e>_0x5d9a07&&(_0x399996=_0x399996['slice'](0x0,_0x5d9a07-_0x15317b)),_0x15317b<_0x5c19e9&&(_0x399996=_0x399996['slice'](_0x5c19e9-_0x15317b)),_0x53d662?(_0x2e63dc[_0x2e63dc['length']-0x1]+=_0x399996,_0x53d662=!0x1):_0x2e63dc['push'](_0x399996)),_0x15317b=_0x1da83e+0x1;}return _0x2e63dc;}function sliceText(_0x48aac6,_0x3e79d6,_0x57b53d){return appendText(_0x48aac6,[''],_0x3e79d6,_0x57b53d);}Text['empty']=new TextLeaf([''],0x0);class RawTextCursor{constructor(_0x5995a3,_0x51a195=0x1){this['dir']=_0x51a195,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x5995a3],this['offsets']=[_0x51a195>0x0?0x1:(_0x5995a3 instanceof TextLeaf?_0x5995a3['text']['length']:_0x5995a3['children']['length'])<<0x1];}['nextInner'](_0x206c6c,_0xb87131){for(this['done']=this['lineBreak']=!0x1;;){let _0x6038cf=this['nodes']['length']-0x1,_0x3868bb=this['nodes'][_0x6038cf],_0x59a370=this['offsets'][_0x6038cf],_0x5d8e70=_0x59a370>>0x1,_0x275488=_0x3868bb instanceof TextLeaf?_0x3868bb['text']['length']:_0x3868bb['children']['length'];if(_0x5d8e70==(_0xb87131>0x0?_0x275488:0x0)){if(0x0==_0x6038cf)return this['done']=!0x0,this['value']='',this;_0xb87131>0x0&&this['offsets'][_0x6038cf-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x59a370)==(_0xb87131>0x0?0x0:0x1)){if(this['offsets'][_0x6038cf]+=_0xb87131,0x0==_0x206c6c)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x206c6c--;}else{if(_0x3868bb instanceof TextLeaf){let _0x290575=_0x3868bb['text'][_0x5d8e70+(_0xb87131<0x0?-0x1:0x0)];if(this['offsets'][_0x6038cf]+=_0xb87131,_0x290575['length']>Math['max'](0x0,_0x206c6c))return this['value']=0x0==_0x206c6c?_0x290575:_0xb87131>0x0?_0x290575['slice'](_0x206c6c):_0x290575['slice'](0x0,_0x290575['length']-_0x206c6c),this;_0x206c6c-=_0x290575['length'];}else{let _0x5f1f2c=_0x3868bb['children'][_0x5d8e70+(_0xb87131<0x0?-0x1:0x0)];_0x206c6c>_0x5f1f2c['length']?(_0x206c6c-=_0x5f1f2c['length'],this['offsets'][_0x6038cf]+=_0xb87131):(_0xb87131<0x0&&this['offsets'][_0x6038cf]--,this['nodes']['push'](_0x5f1f2c),this['offsets']['push'](_0xb87131>0x0?0x1:(_0x5f1f2c instanceof TextLeaf?_0x5f1f2c['text']['length']:_0x5f1f2c['children']['length'])<<0x1));}}}}}['next'](_0x517eaf=0x0){return _0x517eaf<0x0&&(this['nextInner'](-_0x517eaf,-this['dir']),_0x517eaf=this['value']['length']),this['nextInner'](_0x517eaf,this['dir']);}}class PartialTextCursor{constructor(_0x202c53,_0x5d7e5b,_0x5beea2){this['value']='',this['done']=!0x1,this['cursor']=new RawTextCursor(_0x202c53,_0x5d7e5b>_0x5beea2?-0x1:0x1),this['pos']=_0x5d7e5b>_0x5beea2?_0x202c53['length']:0x0,this['from']=Math['min'](_0x5d7e5b,_0x5beea2),this['to']=Math['max'](_0x5d7e5b,_0x5beea2);}['nextInner'](_0x3b5ff0,_0x5a1f90){if(_0x5a1f90<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x3b5ff0+=Math['max'](0x0,_0x5a1f90<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x24d0dd=_0x5a1f90<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x3b5ff0>_0x24d0dd&&(_0x3b5ff0=_0x24d0dd),_0x24d0dd-=_0x3b5ff0;let {value:_0x2b7649}=this['cursor']['next'](_0x3b5ff0);return this['pos']+=(_0x2b7649['length']+_0x3b5ff0)*_0x5a1f90,this['value']=_0x2b7649['length']<=_0x24d0dd?_0x2b7649:_0x5a1f90<0x0?_0x2b7649['slice'](_0x2b7649['length']-_0x24d0dd):_0x2b7649['slice'](0x0,_0x24d0dd),this['done']=!this['value'],this;}['next'](_0x349619=0x0){return _0x349619<0x0?_0x349619=Math['max'](_0x349619,this['from']-this['pos']):_0x349619>0x0&&(_0x349619=Math['min'](_0x349619,this['to']-this['pos'])),this['nextInner'](_0x349619,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}}class _0x41a0e0{constructor(_0x527763){this['inner']=_0x527763,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x4efb56=0x0){let {done:_0x252cd9,lineBreak:_0x5c295a,value:_0x30b528}=this['inner']['next'](_0x4efb56);return _0x252cd9&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0x252cd9?(this['done']=!0x0,this['value']=''):_0x5c295a?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x30b528,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']]=_0x41a0e0['prototype'][Symbol['iterator']]=function(){return this;});let _0x5d1142=class{constructor(_0x4eb10f,_0x56fffd,_0x418cbf,_0x351fec){this['from']=_0x4eb10f,this['to']=_0x56fffd,this['number']=_0x418cbf,this['text']=_0x351fec;}get['length'](){return this['to']-this['from'];}};function _0x59e41d(_0xceaef6,_0x3c43ef,_0x55181b){return[_0x3c43ef=Math['max'](0x0,Math['min'](_0xceaef6['length'],_0x3c43ef)),Math['max'](_0x3c43ef,Math['min'](_0xceaef6['length'],_0x55181b))];}function findClusterBreak(_0x521f60,_0x375081,_0x1e367e=!0x0,_0x2804c9=!0x0){return findClusterBreak$1(_0x521f60,_0x375081,_0x1e367e,_0x2804c9);}function surrogateLow(_0x41edb5){return _0x41edb5>=0xdc00&&_0x41edb5<0xe000;}function surrogateHigh(_0x23508c){return _0x23508c>=0xd800&&_0x23508c<0xdc00;}function codePointAt(_0x26d1db,_0x30e9e7){let _0x154f62=_0x26d1db['charCodeAt'](_0x30e9e7);if(!surrogateHigh(_0x154f62)||_0x30e9e7+0x1==_0x26d1db['length'])return _0x154f62;let _0x117ba7=_0x26d1db['charCodeAt'](_0x30e9e7+0x1);return surrogateLow(_0x117ba7)?_0x117ba7-0xdc00+(_0x154f62-0xd800<<0xa)+0x10000:_0x154f62;}function fromCodePoint(_0x102728){return _0x102728<=0xffff?String['fromCharCode'](_0x102728):(_0x102728-=0x10000,String['fromCharCode'](0xd800+(_0x102728>>0xa),0xdc00+(0x3ff&_0x102728)));}function codePointSize(_0x12946a){return _0x12946a<0x10000?0x1:0x2;}const DefaultSplit=/\r\n?|\n/;var _0x10aa7f=function(_0x19f021){return _0x19f021[_0x19f021['Simple']=0x0]='Simple',_0x19f021[_0x19f021['TrackDel']=0x1]='TrackDel',_0x19f021[_0x19f021['TrackBefore']=0x2]='TrackBefore',_0x19f021[_0x19f021['TrackAfter']=0x3]='TrackAfter',_0x19f021;}(_0x10aa7f||(_0x10aa7f={}));class _0xcb2e18{constructor(_0x582d4f){this['sections']=_0x582d4f;}get['length'](){let _0x481cd3=0x0;for(let _0x1f88e4=0x0;_0x1f88e4<this['sections']['length'];_0x1f88e4+=0x2)_0x481cd3+=this['sections'][_0x1f88e4];return _0x481cd3;}get['newLength'](){let _0xd0aac3=0x0;for(let _0x409afb=0x0;_0x409afb<this['sections']['length'];_0x409afb+=0x2){let _0x384177=this['sections'][_0x409afb+0x1];_0xd0aac3+=_0x384177<0x0?this['sections'][_0x409afb]:_0x384177;}return _0xd0aac3;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0x707278){for(let _0xcc177b=0x0,_0x55d36e=0x0,_0xa9b1b6=0x0;_0xcc177b<this['sections']['length'];){let _0x4641fc=this['sections'][_0xcc177b++],_0x235715=this['sections'][_0xcc177b++];_0x235715<0x0?(_0x707278(_0x55d36e,_0xa9b1b6,_0x4641fc),_0xa9b1b6+=_0x4641fc):_0xa9b1b6+=_0x235715,_0x55d36e+=_0x4641fc;}}['iterChangedRanges'](_0x5f0781,_0x18ec42=!0x1){iterChanges(this,_0x5f0781,_0x18ec42);}get['invertedDesc'](){let _0x357309=[];for(let _0x2e5dc1=0x0;_0x2e5dc1<this['sections']['length'];){let _0x361c1d=this['sections'][_0x2e5dc1++],_0x316625=this['sections'][_0x2e5dc1++];_0x316625<0x0?_0x357309['push'](_0x361c1d,_0x316625):_0x357309['push'](_0x316625,_0x361c1d);}return new _0xcb2e18(_0x357309);}['composeDesc'](_0x5bd4bd){return this['empty']?_0x5bd4bd:_0x5bd4bd['empty']?this:composeSets(this,_0x5bd4bd);}['mapDesc'](_0xba875f,_0x55822e=!0x1){return _0xba875f['empty']?this:mapSet(this,_0xba875f,_0x55822e);}['mapPos'](_0xbe859,_0x547a37=-0x1,_0x56f6ed=_0x10aa7f['Simple']){let _0x1d3243=0x0,_0x31fdc5=0x0;for(let _0x17f923=0x0;_0x17f923<this['sections']['length'];){let _0x1f05b2=this['sections'][_0x17f923++],_0x95b35b=this['sections'][_0x17f923++],_0x4a8023=_0x1d3243+_0x1f05b2;if(_0x95b35b<0x0){if(_0x4a8023>_0xbe859)return _0x31fdc5+(_0xbe859-_0x1d3243);_0x31fdc5+=_0x1f05b2;}else{if(_0x56f6ed!=_0x10aa7f['Simple']&&_0x4a8023>=_0xbe859&&(_0x56f6ed==_0x10aa7f['TrackDel']&&_0x1d3243<_0xbe859&&_0x4a8023>_0xbe859||_0x56f6ed==_0x10aa7f['TrackBefore']&&_0x1d3243<_0xbe859||_0x56f6ed==_0x10aa7f['TrackAfter']&&_0x4a8023>_0xbe859))return null;if(_0x4a8023>_0xbe859||_0x4a8023==_0xbe859&&_0x547a37<0x0&&!_0x1f05b2)return _0xbe859==_0x1d3243||_0x547a37<0x0?_0x31fdc5:_0x31fdc5+_0x95b35b;_0x31fdc5+=_0x95b35b;}_0x1d3243=_0x4a8023;}if(_0xbe859>_0x1d3243)throw new RangeError('Position\x20'+_0xbe859+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x1d3243);return _0x31fdc5;}['touchesRange'](_0x40fd31,_0x441384=_0x40fd31){for(let _0x2a17d5=0x0,_0x546a2d=0x0;_0x2a17d5<this['sections']['length']&&_0x546a2d<=_0x441384;){let _0x2046bc=_0x546a2d+this['sections'][_0x2a17d5++];if(this['sections'][_0x2a17d5++]>=0x0&&_0x546a2d<=_0x441384&&_0x2046bc>=_0x40fd31)return!(_0x546a2d<_0x40fd31&&_0x2046bc>_0x441384)||'cover';_0x546a2d=_0x2046bc;}return!0x1;}['toString'](){let _0x2ac31b='';for(let _0x21e82d=0x0;_0x21e82d<this['sections']['length'];){let _0x563e62=this['sections'][_0x21e82d++],_0x3aeb99=this['sections'][_0x21e82d++];_0x2ac31b+=(_0x2ac31b?'\x20':'')+_0x563e62+(_0x3aeb99>=0x0?':'+_0x3aeb99:'');}return _0x2ac31b;}['toJSON'](){return this['sections'];}static['fromJSON'](_0x2f9063){if(!Array['isArray'](_0x2f9063)||_0x2f9063['length']%0x2||_0x2f9063['some'](_0x286614=>'number'!=typeof _0x286614))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new _0xcb2e18(_0x2f9063);}static['create'](_0x4cc7fd){return new _0xcb2e18(_0x4cc7fd);}}class ChangeSet extends _0xcb2e18{constructor(_0x59f460,_0x491b7e){super(_0x59f460),this['inserted']=_0x491b7e;}['apply'](_0x554e91){if(this['length']!=_0x554e91['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return iterChanges(this,(_0x3fb5cb,_0x5a490c,_0x19a688,_0x1892d3,_0x385d5)=>_0x554e91=_0x554e91['replace'](_0x19a688,_0x19a688+(_0x5a490c-_0x3fb5cb),_0x385d5),!0x1),_0x554e91;}['mapDesc'](_0x12d17c,_0x1dfb83=!0x1){return mapSet(this,_0x12d17c,_0x1dfb83,!0x0);}['invert'](_0x137c54){let _0x691de=this['sections']['slice'](),_0x4df097=[];for(let _0x1bd9e0=0x0,_0x108a7c=0x0;_0x1bd9e0<_0x691de['length'];_0x1bd9e0+=0x2){let _0x27738f=_0x691de[_0x1bd9e0],_0x484806=_0x691de[_0x1bd9e0+0x1];if(_0x484806>=0x0){_0x691de[_0x1bd9e0]=_0x484806,_0x691de[_0x1bd9e0+0x1]=_0x27738f;let _0x1ffdfb=_0x1bd9e0>>0x1;for(;_0x4df097['length']<_0x1ffdfb;)_0x4df097['push'](Text['empty']);_0x4df097['push'](_0x27738f?_0x137c54['slice'](_0x108a7c,_0x108a7c+_0x27738f):Text['empty']);}_0x108a7c+=_0x27738f;}return new ChangeSet(_0x691de,_0x4df097);}['compose'](_0x3ffb59){return this['empty']?_0x3ffb59:_0x3ffb59['empty']?this:composeSets(this,_0x3ffb59,!0x0);}['map'](_0x49fdd6,_0x5ea5f5=!0x1){return _0x49fdd6['empty']?this:mapSet(this,_0x49fdd6,_0x5ea5f5,!0x0);}['iterChanges'](_0xd974e3,_0x3e5935=!0x1){iterChanges(this,_0xd974e3,_0x3e5935);}get['desc'](){return _0xcb2e18['create'](this['sections']);}['filter'](_0x5bb89c){let _0xd6e1d9=[],_0xb12a4b=[],_0x163fe1=[],_0x13c164=new SectionIter(this);t:for(let _0x35204b=0x0,_0x5cfb23=0x0;;){let _0x4a7b6b=_0x35204b==_0x5bb89c['length']?0x3b9aca00:_0x5bb89c[_0x35204b++];for(;_0x5cfb23<_0x4a7b6b||_0x5cfb23==_0x4a7b6b&&0x0==_0x13c164['len'];){if(_0x13c164['done'])break t;let _0x457e78=Math['min'](_0x13c164['len'],_0x4a7b6b-_0x5cfb23);addSection(_0x163fe1,_0x457e78,-0x1);let _0x2f198e=-0x1==_0x13c164['ins']?-0x1:0x0==_0x13c164['off']?_0x13c164['ins']:0x0;addSection(_0xd6e1d9,_0x457e78,_0x2f198e),_0x2f198e>0x0&&addInsert(_0xb12a4b,_0xd6e1d9,_0x13c164['text']),_0x13c164['forward'](_0x457e78),_0x5cfb23+=_0x457e78;}let _0x36e88c=_0x5bb89c[_0x35204b++];for(;_0x5cfb23<_0x36e88c;){if(_0x13c164['done'])break t;let _0x3d39c3=Math['min'](_0x13c164['len'],_0x36e88c-_0x5cfb23);addSection(_0xd6e1d9,_0x3d39c3,-0x1),addSection(_0x163fe1,_0x3d39c3,-0x1==_0x13c164['ins']?-0x1:0x0==_0x13c164['off']?_0x13c164['ins']:0x0),_0x13c164['forward'](_0x3d39c3),_0x5cfb23+=_0x3d39c3;}}return{'changes':new ChangeSet(_0xd6e1d9,_0xb12a4b),'filtered':_0xcb2e18['create'](_0x163fe1)};}['toJSON'](){let _0x4577ba=[];for(let _0xaad35=0x0;_0xaad35<this['sections']['length'];_0xaad35+=0x2){let _0x14b68c=this['sections'][_0xaad35],_0x44d012=this['sections'][_0xaad35+0x1];_0x44d012<0x0?_0x4577ba['push'](_0x14b68c):0x0==_0x44d012?_0x4577ba['push']([_0x14b68c]):_0x4577ba['push']([_0x14b68c]['concat'](this['inserted'][_0xaad35>>0x1]['toJSON']()));}return _0x4577ba;}static['of'](_0x10f358,_0x578531,_0x3f0d9a){let _0x26de97=[],_0x31da38=[],_0x1319e6=0x0,_0x345cf2=null;function _0x1e6349(_0x4fb0ec=!0x1){if(!_0x4fb0ec&&!_0x26de97['length'])return;_0x1319e6<_0x578531&&addSection(_0x26de97,_0x578531-_0x1319e6,-0x1);let _0x480df2=new ChangeSet(_0x26de97,_0x31da38);_0x345cf2=_0x345cf2?_0x345cf2['compose'](_0x480df2['map'](_0x345cf2)):_0x480df2,_0x26de97=[],_0x31da38=[],_0x1319e6=0x0;}return function _0x153a15(_0x4494ce){if(Array['isArray'](_0x4494ce)){for(let _0x12136b of _0x4494ce)_0x153a15(_0x12136b);}else{if(_0x4494ce instanceof ChangeSet){if(_0x4494ce['length']!=_0x578531)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x4494ce['length']+',\x20expected\x20'+_0x578531+')');_0x1e6349(),_0x345cf2=_0x345cf2?_0x345cf2['compose'](_0x4494ce['map'](_0x345cf2)):_0x4494ce;}else{let {from:_0x5d3983,to:_0x7392a8=_0x5d3983,insert:_0x5060f6}=_0x4494ce;if(_0x5d3983>_0x7392a8||_0x5d3983<0x0||_0x7392a8>_0x578531)throw new RangeError('Invalid\x20change\x20range\x20'+_0x5d3983+'\x20to\x20'+_0x7392a8+'\x20(in\x20doc\x20of\x20length\x20'+_0x578531+')');let _0x591384=_0x5060f6?'string'==typeof _0x5060f6?Text['of'](_0x5060f6['split'](_0x3f0d9a||DefaultSplit)):_0x5060f6:Text['empty'],_0x575abb=_0x591384['length'];if(_0x5d3983==_0x7392a8&&0x0==_0x575abb)return;_0x5d3983<_0x1319e6&&_0x1e6349(),_0x5d3983>_0x1319e6&&addSection(_0x26de97,_0x5d3983-_0x1319e6,-0x1),addSection(_0x26de97,_0x7392a8-_0x5d3983,_0x575abb),addInsert(_0x31da38,_0x26de97,_0x591384),_0x1319e6=_0x7392a8;}}}(_0x10f358),_0x1e6349(!_0x345cf2),_0x345cf2;}static['empty'](_0x318c93){return new ChangeSet(_0x318c93?[_0x318c93,-0x1]:[],[]);}static['fromJSON'](_0x8b897a){if(!Array['isArray'](_0x8b897a))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0x5c97ff=[],_0x2f1fba=[];for(let _0x5a23c4=0x0;_0x5a23c4<_0x8b897a['length'];_0x5a23c4++){let _0x4c26bf=_0x8b897a[_0x5a23c4];if('number'==typeof _0x4c26bf)_0x5c97ff['push'](_0x4c26bf,-0x1);else{if(!Array['isArray'](_0x4c26bf)||'number'!=typeof _0x4c26bf[0x0]||_0x4c26bf['some']((_0x329651,_0x232bfc)=>_0x232bfc&&'string'!=typeof _0x329651))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x4c26bf['length'])_0x5c97ff['push'](_0x4c26bf[0x0],0x0);else{for(;_0x2f1fba['length']<_0x5a23c4;)_0x2f1fba['push'](Text['empty']);_0x2f1fba[_0x5a23c4]=Text['of'](_0x4c26bf['slice'](0x1)),_0x5c97ff['push'](_0x4c26bf[0x0],_0x2f1fba[_0x5a23c4]['length']);}}}return new ChangeSet(_0x5c97ff,_0x2f1fba);}static['createSet'](_0x1147f0,_0x5c5c2c){return new ChangeSet(_0x1147f0,_0x5c5c2c);}}function addSection(_0x1e93ba,_0x2cd171,_0xbf8a0f,_0x310a36=!0x1){if(0x0==_0x2cd171&&_0xbf8a0f<=0x0)return;let _0x6e7f4a=_0x1e93ba['length']-0x2;_0x6e7f4a>=0x0&&_0xbf8a0f<=0x0&&_0xbf8a0f==_0x1e93ba[_0x6e7f4a+0x1]?_0x1e93ba[_0x6e7f4a]+=_0x2cd171:_0x6e7f4a>=0x0&&0x0==_0x2cd171&&0x0==_0x1e93ba[_0x6e7f4a]?_0x1e93ba[_0x6e7f4a+0x1]+=_0xbf8a0f:_0x310a36?(_0x1e93ba[_0x6e7f4a]+=_0x2cd171,_0x1e93ba[_0x6e7f4a+0x1]+=_0xbf8a0f):_0x1e93ba['push'](_0x2cd171,_0xbf8a0f);}function addInsert(_0x2e5306,_0x30d233,_0x3819d3){if(0x0==_0x3819d3['length'])return;let _0x2cf586=_0x30d233['length']-0x2>>0x1;if(_0x2cf586<_0x2e5306['length'])_0x2e5306[_0x2e5306['length']-0x1]=_0x2e5306[_0x2e5306['length']-0x1]['append'](_0x3819d3);else{for(;_0x2e5306['length']<_0x2cf586;)_0x2e5306['push'](Text['empty']);_0x2e5306['push'](_0x3819d3);}}function iterChanges(_0x15691d,_0x596c86,_0x3eb4c6){let _0x259cb2=_0x15691d['inserted'];for(let _0x54a1ec=0x0,_0x2b073b=0x0,_0x423433=0x0;_0x423433<_0x15691d['sections']['length'];){let _0x3d95a6=_0x15691d['sections'][_0x423433++],_0x5aeefd=_0x15691d['sections'][_0x423433++];if(_0x5aeefd<0x0)_0x54a1ec+=_0x3d95a6,_0x2b073b+=_0x3d95a6;else{let _0x5124de=_0x54a1ec,_0x78a9bf=_0x2b073b,_0x4c0b05=Text['empty'];for(;_0x5124de+=_0x3d95a6,_0x78a9bf+=_0x5aeefd,_0x5aeefd&&_0x259cb2&&(_0x4c0b05=_0x4c0b05['append'](_0x259cb2[_0x423433-0x2>>0x1])),!(_0x3eb4c6||_0x423433==_0x15691d['sections']['length']||_0x15691d['sections'][_0x423433+0x1]<0x0);)_0x3d95a6=_0x15691d['sections'][_0x423433++],_0x5aeefd=_0x15691d['sections'][_0x423433++];_0x596c86(_0x54a1ec,_0x5124de,_0x2b073b,_0x78a9bf,_0x4c0b05),_0x54a1ec=_0x5124de,_0x2b073b=_0x78a9bf;}}}function mapSet(_0x253ca0,_0x56fbff,_0x109ce9,_0x5ec43c=!0x1){let _0x17de86=[],_0x23956e=_0x5ec43c?[]:null,_0x5d7f70=new SectionIter(_0x253ca0),_0x2bd646=new SectionIter(_0x56fbff);for(let _0x480b76=-0x1;;){if(_0x5d7f70['done']&&_0x2bd646['len']||_0x2bd646['done']&&_0x5d7f70['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0x5d7f70['ins']&&-0x1==_0x2bd646['ins']){let _0x405162=Math['min'](_0x5d7f70['len'],_0x2bd646['len']);addSection(_0x17de86,_0x405162,-0x1),_0x5d7f70['forward'](_0x405162),_0x2bd646['forward'](_0x405162);}else{if(_0x2bd646['ins']>=0x0&&(_0x5d7f70['ins']<0x0||_0x480b76==_0x5d7f70['i']||0x0==_0x5d7f70['off']&&(_0x2bd646['len']<_0x5d7f70['len']||_0x2bd646['len']==_0x5d7f70['len']&&!_0x109ce9))){let _0x272acb=_0x2bd646['len'];for(addSection(_0x17de86,_0x2bd646['ins'],-0x1);_0x272acb;){let _0x1f930d=Math['min'](_0x5d7f70['len'],_0x272acb);_0x5d7f70['ins']>=0x0&&_0x480b76<_0x5d7f70['i']&&_0x5d7f70['len']<=_0x1f930d&&(addSection(_0x17de86,0x0,_0x5d7f70['ins']),_0x23956e&&addInsert(_0x23956e,_0x17de86,_0x5d7f70['text']),_0x480b76=_0x5d7f70['i']),_0x5d7f70['forward'](_0x1f930d),_0x272acb-=_0x1f930d;}_0x2bd646['next']();}else{if(!(_0x5d7f70['ins']>=0x0)){if(_0x5d7f70['done']&&_0x2bd646['done'])return _0x23956e?ChangeSet['createSet'](_0x17de86,_0x23956e):_0xcb2e18['create'](_0x17de86);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x4438f9=0x0,_0x277c9d=_0x5d7f70['len'];for(;_0x277c9d;)if(-0x1==_0x2bd646['ins']){let _0x469adc=Math['min'](_0x277c9d,_0x2bd646['len']);_0x4438f9+=_0x469adc,_0x277c9d-=_0x469adc,_0x2bd646['forward'](_0x469adc);}else{if(!(0x0==_0x2bd646['ins']&&_0x2bd646['len']<_0x277c9d))break;_0x277c9d-=_0x2bd646['len'],_0x2bd646['next']();}addSection(_0x17de86,_0x4438f9,_0x480b76<_0x5d7f70['i']?_0x5d7f70['ins']:0x0),_0x23956e&&_0x480b76<_0x5d7f70['i']&&addInsert(_0x23956e,_0x17de86,_0x5d7f70['text']),_0x480b76=_0x5d7f70['i'],_0x5d7f70['forward'](_0x5d7f70['len']-_0x277c9d);}}}}}function composeSets(_0x429beb,_0x5ec67c,_0x2546b2=!0x1){let _0x31a3dd=[],_0x497d10=_0x2546b2?[]:null,_0xe49bf4=new SectionIter(_0x429beb),_0x345dfa=new SectionIter(_0x5ec67c);for(let _0x355226=!0x1;;){if(_0xe49bf4['done']&&_0x345dfa['done'])return _0x497d10?ChangeSet['createSet'](_0x31a3dd,_0x497d10):_0xcb2e18['create'](_0x31a3dd);if(0x0==_0xe49bf4['ins'])addSection(_0x31a3dd,_0xe49bf4['len'],0x0,_0x355226),_0xe49bf4['next']();else{if(0x0!=_0x345dfa['len']||_0x345dfa['done']){if(_0xe49bf4['done']||_0x345dfa['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x4bb982=Math['min'](_0xe49bf4['len2'],_0x345dfa['len']),_0x3c829f=_0x31a3dd['length'];if(-0x1==_0xe49bf4['ins']){let _0x156d2f=-0x1==_0x345dfa['ins']?-0x1:_0x345dfa['off']?0x0:_0x345dfa['ins'];addSection(_0x31a3dd,_0x4bb982,_0x156d2f,_0x355226),_0x497d10&&_0x156d2f&&addInsert(_0x497d10,_0x31a3dd,_0x345dfa['text']);}else-0x1==_0x345dfa['ins']?(addSection(_0x31a3dd,_0xe49bf4['off']?0x0:_0xe49bf4['len'],_0x4bb982,_0x355226),_0x497d10&&addInsert(_0x497d10,_0x31a3dd,_0xe49bf4['textBit'](_0x4bb982))):(addSection(_0x31a3dd,_0xe49bf4['off']?0x0:_0xe49bf4['len'],_0x345dfa['off']?0x0:_0x345dfa['ins'],_0x355226),_0x497d10&&!_0x345dfa['off']&&addInsert(_0x497d10,_0x31a3dd,_0x345dfa['text']));_0x355226=(_0xe49bf4['ins']>_0x4bb982||_0x345dfa['ins']>=0x0&&_0x345dfa['len']>_0x4bb982)&&(_0x355226||_0x31a3dd['length']>_0x3c829f),_0xe49bf4['forward2'](_0x4bb982),_0x345dfa['forward'](_0x4bb982);}}else addSection(_0x31a3dd,0x0,_0x345dfa['ins'],_0x355226),_0x497d10&&addInsert(_0x497d10,_0x31a3dd,_0x345dfa['text']),_0x345dfa['next']();}}}class SectionIter{constructor(_0x987ead){this['set']=_0x987ead,this['i']=0x0,this['next']();}['next'](){let {sections:_0x5ba97f}=this['set'];this['i']<_0x5ba97f['length']?(this['len']=_0x5ba97f[this['i']++],this['ins']=_0x5ba97f[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:_0x409745}=this['set'],_0x1d86ad=this['i']-0x2>>0x1;return _0x1d86ad>=_0x409745['length']?Text['empty']:_0x409745[_0x1d86ad];}['textBit'](_0x59a8fd){let {inserted:_0xbf6a13}=this['set'],_0x3d1ac7=this['i']-0x2>>0x1;return _0x3d1ac7>=_0xbf6a13['length']&&!_0x59a8fd?Text['empty']:_0xbf6a13[_0x3d1ac7]['slice'](this['off'],null==_0x59a8fd?void 0x0:this['off']+_0x59a8fd);}['forward'](_0x166de5){_0x166de5==this['len']?this['next']():(this['len']-=_0x166de5,this['off']+=_0x166de5);}['forward2'](_0x4aa28c){-0x1==this['ins']?this['forward'](_0x4aa28c):_0x4aa28c==this['ins']?this['next']():(this['ins']-=_0x4aa28c,this['off']+=_0x4aa28c);}}class SelectionRange{constructor(_0x1ab0ed,_0x130296,_0x56fc6a){this['from']=_0x1ab0ed,this['to']=_0x130296,this['flags']=_0x56fc6a;}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 _0x5b44fd=0x7&this['flags'];return 0x7==_0x5b44fd?null:_0x5b44fd;}get['goalColumn'](){let _0x2f49f7=this['flags']>>0x6;return 0xffffff==_0x2f49f7?void 0x0:_0x2f49f7;}['map'](_0x49115a,_0x44c5de=-0x1){let _0x4c36f5,_0x3427cf;return this['empty']?_0x4c36f5=_0x3427cf=_0x49115a['mapPos'](this['from'],_0x44c5de):(_0x4c36f5=_0x49115a['mapPos'](this['from'],0x1),_0x3427cf=_0x49115a['mapPos'](this['to'],-0x1)),_0x4c36f5==this['from']&&_0x3427cf==this['to']?this:new SelectionRange(_0x4c36f5,_0x3427cf,this['flags']);}['extend'](_0x2a6aa6,_0xa0a1e7=_0x2a6aa6){if(_0x2a6aa6<=this['anchor']&&_0xa0a1e7>=this['anchor'])return EditorSelection['range'](_0x2a6aa6,_0xa0a1e7);let _0x3ca971=Math['abs'](_0x2a6aa6-this['anchor'])>Math['abs'](_0xa0a1e7-this['anchor'])?_0x2a6aa6:_0xa0a1e7;return EditorSelection['range'](this['anchor'],_0x3ca971);}['eq'](_0x2c6bb0,_0x2b4c6f=!0x1){return!(this['anchor']!=_0x2c6bb0['anchor']||this['head']!=_0x2c6bb0['head']||_0x2b4c6f&&this['empty']&&this['assoc']!=_0x2c6bb0['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0x2c5892){if(!_0x2c5892||'number'!=typeof _0x2c5892['anchor']||'number'!=typeof _0x2c5892['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return EditorSelection['range'](_0x2c5892['anchor'],_0x2c5892['head']);}static['create'](_0x5c7386,_0x4e32ca,_0x5efb5c){return new SelectionRange(_0x5c7386,_0x4e32ca,_0x5efb5c);}}class EditorSelection{constructor(_0x4c1076,_0x356cc6){this['ranges']=_0x4c1076,this['mainIndex']=_0x356cc6;}['map'](_0x110195,_0x188470=-0x1){return _0x110195['empty']?this:EditorSelection['create'](this['ranges']['map'](_0x4a419a=>_0x4a419a['map'](_0x110195,_0x188470)),this['mainIndex']);}['eq'](_0x1ac102,_0x22c937=!0x1){if(this['ranges']['length']!=_0x1ac102['ranges']['length']||this['mainIndex']!=_0x1ac102['mainIndex'])return!0x1;for(let _0x2ec50c=0x0;_0x2ec50c<this['ranges']['length'];_0x2ec50c++)if(!this['ranges'][_0x2ec50c]['eq'](_0x1ac102['ranges'][_0x2ec50c],_0x22c937))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x2665f5,_0x545447=!0x0){return EditorSelection['create']([_0x2665f5]['concat'](this['ranges']),_0x545447?0x0:this['mainIndex']+0x1);}['replaceRange'](_0x1bb6e4,_0x41aafe=this['mainIndex']){let _0x26182c=this['ranges']['slice']();return _0x26182c[_0x41aafe]=_0x1bb6e4,EditorSelection['create'](_0x26182c,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0x2e2d37=>_0x2e2d37['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0x326cbe){if(!_0x326cbe||!Array['isArray'](_0x326cbe['ranges'])||'number'!=typeof _0x326cbe['main']||_0x326cbe['main']>=_0x326cbe['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0x326cbe['ranges']['map'](_0x36aa2c=>SelectionRange['fromJSON'](_0x36aa2c)),_0x326cbe['main']);}static['single'](_0x55273f,_0x5d155f=_0x55273f){return new EditorSelection([EditorSelection['range'](_0x55273f,_0x5d155f)],0x0);}static['create'](_0x279cd9,_0x3e58b6=0x0){if(0x0==_0x279cd9['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0xa259f4=0x0,_0x51accf=0x0;_0x51accf<_0x279cd9['length'];_0x51accf++){let _0xca62b1=_0x279cd9[_0x51accf];if(_0xca62b1['empty']?_0xca62b1['from']<=_0xa259f4:_0xca62b1['from']<_0xa259f4)return EditorSelection['normalized'](_0x279cd9['slice'](),_0x3e58b6);_0xa259f4=_0xca62b1['to'];}return new EditorSelection(_0x279cd9,_0x3e58b6);}static['cursor'](_0xf19b7d,_0xdfe51a=0x0,_0x357c5e,_0x505c93){return SelectionRange['create'](_0xf19b7d,_0xf19b7d,(0x0==_0xdfe51a?0x0:_0xdfe51a<0x0?0x8:0x10)|(null==_0x357c5e?0x7:Math['min'](0x6,_0x357c5e))|(null!=_0x505c93?_0x505c93:0xffffff)<<0x6);}static['range'](_0x1bd830,_0x2ee498,_0x5b4dfc,_0x343761){let _0x39340d=(null!=_0x5b4dfc?_0x5b4dfc:0xffffff)<<0x6|(null==_0x343761?0x7:Math['min'](0x6,_0x343761));return _0x2ee498<_0x1bd830?SelectionRange['create'](_0x2ee498,_0x1bd830,0x30|_0x39340d):SelectionRange['create'](_0x1bd830,_0x2ee498,(_0x2ee498>_0x1bd830?0x8:0x0)|_0x39340d);}static['normalized'](_0xcf307a,_0x286e93=0x0){let _0x5389a8=_0xcf307a[_0x286e93];_0xcf307a['sort']((_0x37d33f,_0x39db2b)=>_0x37d33f['from']-_0x39db2b['from']),_0x286e93=_0xcf307a['indexOf'](_0x5389a8);for(let _0x4489a0=0x1;_0x4489a0<_0xcf307a['length'];_0x4489a0++){let _0x45cf39=_0xcf307a[_0x4489a0],_0x29899d=_0xcf307a[_0x4489a0-0x1];if(_0x45cf39['empty']?_0x45cf39['from']<=_0x29899d['to']:_0x45cf39['from']<_0x29899d['to']){let _0x38ce38=_0x29899d['from'],_0xb1feed=Math['max'](_0x45cf39['to'],_0x29899d['to']);_0x4489a0<=_0x286e93&&_0x286e93--,_0xcf307a['splice'](--_0x4489a0,0x2,_0x45cf39['anchor']>_0x45cf39['head']?EditorSelection['range'](_0xb1feed,_0x38ce38):EditorSelection['range'](_0x38ce38,_0xb1feed));}}return new EditorSelection(_0xcf307a,_0x286e93);}}function checkSelection(_0x153ed7,_0x6c1b4a){for(let _0x5e7572 of _0x153ed7['ranges'])if(_0x5e7572['to']>_0x6c1b4a)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let nextID=0x0;class Facet{constructor(_0x2b2465,_0x4eaaa9,_0x50c3cf,_0x528d0a,_0x1620d1){this['combine']=_0x2b2465,this['compareInput']=_0x4eaaa9,this['compare']=_0x50c3cf,this['isStatic']=_0x528d0a,this['id']=nextID++,this['default']=_0x2b2465([]),this['extensions']='function'==typeof _0x1620d1?_0x1620d1(this):_0x1620d1;}get['reader'](){return this;}static['define'](_0x38833e={}){return new Facet(_0x38833e['combine']||(_0x18afb7=>_0x18afb7),_0x38833e['compareInput']||((_0x365c7e,_0x5ca619)=>_0x365c7e===_0x5ca619),_0x38833e['compare']||(_0x38833e['combine']?(_0x2f5b5c,_0x39644c)=>_0x2f5b5c===_0x39644c:_0x49451f),!!_0x38833e['static'],_0x38833e['enables']);}['of'](_0x206c8d){return new FacetProvider([],this,0x0,_0x206c8d);}['compute'](_0x3c9dd5,_0x11ccf3){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x3c9dd5,this,0x1,_0x11ccf3);}['computeN'](_0x5bae52,_0x23486d){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x5bae52,this,0x2,_0x23486d);}['from'](_0x3efa7b,_0x29b00b){return _0x29b00b||(_0x29b00b=_0x392096=>_0x392096),this['compute']([_0x3efa7b],_0x2fcd98=>_0x29b00b(_0x2fcd98['field'](_0x3efa7b)));}}function _0x49451f(_0x2e8bcf,_0x365cf7){return _0x2e8bcf==_0x365cf7||_0x2e8bcf['length']==_0x365cf7['length']&&_0x2e8bcf['every']((_0x3e8ab7,_0xc4966d)=>_0x3e8ab7===_0x365cf7[_0xc4966d]);}class FacetProvider{constructor(_0x5282dd,_0x203065,_0x3e8484,_0x48b91a){this['dependencies']=_0x5282dd,this['facet']=_0x203065,this['type']=_0x3e8484,this['value']=_0x48b91a,this['id']=nextID++;}['dynamicSlot'](_0x2080b7){var _0x443473;let _0x40c985=this['value'],_0x25f84b=this['facet']['compareInput'],_0x957143=this['id'],_0x8ea524=_0x2080b7[_0x957143]>>0x1,_0xc4c1cb=0x2==this['type'],_0x3220f9=!0x1,_0x1add84=!0x1,_0x58500a=[];for(let _0x17a93d of this['dependencies'])'doc'==_0x17a93d?_0x3220f9=!0x0:'selection'==_0x17a93d?_0x1add84=!0x0:0x1&(null!==(_0x443473=_0x2080b7[_0x17a93d['id']])&&void 0x0!==_0x443473?_0x443473:0x1)||_0x58500a['push'](_0x2080b7[_0x17a93d['id']]);return{'create':_0x275546=>(_0x275546['values'][_0x8ea524]=_0x40c985(_0x275546),0x1),'update'(_0x341c71,_0x1b3261){if(_0x3220f9&&_0x1b3261['docChanged']||_0x1add84&&(_0x1b3261['docChanged']||_0x1b3261['selection'])||_0x2c3f86(_0x341c71,_0x58500a)){let _0x109d30=_0x40c985(_0x341c71);if(_0xc4c1cb?!_0x1949f6(_0x109d30,_0x341c71['values'][_0x8ea524],_0x25f84b):!_0x25f84b(_0x109d30,_0x341c71['values'][_0x8ea524]))return _0x341c71['values'][_0x8ea524]=_0x109d30,0x1;}return 0x0;},'reconfigure':(_0x4b7b97,_0x8c34c1)=>{let _0x51e184,_0x3beba6=_0x8c34c1['config']['address'][_0x957143];if(null!=_0x3beba6){let _0x4d8104=getAddr(_0x8c34c1,_0x3beba6);if(this['dependencies']['every'](_0x3f3d9e=>_0x3f3d9e instanceof Facet?_0x8c34c1['facet'](_0x3f3d9e)===_0x4b7b97['facet'](_0x3f3d9e):!(_0x3f3d9e instanceof StateField)||_0x8c34c1['field'](_0x3f3d9e,!0x1)==_0x4b7b97['field'](_0x3f3d9e,!0x1))||(_0xc4c1cb?_0x1949f6(_0x51e184=_0x40c985(_0x4b7b97),_0x4d8104,_0x25f84b):_0x25f84b(_0x51e184=_0x40c985(_0x4b7b97),_0x4d8104)))return _0x4b7b97['values'][_0x8ea524]=_0x4d8104,0x0;}else _0x51e184=_0x40c985(_0x4b7b97);return _0x4b7b97['values'][_0x8ea524]=_0x51e184,0x1;}};}}function _0x1949f6(_0x21b2f6,_0x6f797a,_0xdf86f3){if(_0x21b2f6['length']!=_0x6f797a['length'])return!0x1;for(let _0x328d9b=0x0;_0x328d9b<_0x21b2f6['length'];_0x328d9b++)if(!_0xdf86f3(_0x21b2f6[_0x328d9b],_0x6f797a[_0x328d9b]))return!0x1;return!0x0;}function _0x2c3f86(_0x500250,_0x138c4d){let _0x3ddc26=!0x1;for(let _0x157c4b of _0x138c4d)0x1&_0xc1c631(_0x500250,_0x157c4b)&&(_0x3ddc26=!0x0);return _0x3ddc26;}function dynamicFacetSlot(_0x1fec28,_0x111910,_0x2f7506){let _0x57f7c0=_0x2f7506['map'](_0x160adf=>_0x1fec28[_0x160adf['id']]),_0x723c8d=_0x2f7506['map'](_0x1bbc1f=>_0x1bbc1f['type']),_0x128f96=_0x57f7c0['filter'](_0x3ff326=>!(0x1&_0x3ff326)),_0x4a87a6=_0x1fec28[_0x111910['id']]>>0x1;function _0xec8332(_0x3a4017){let _0x41edc8=[];for(let _0x2fe326=0x0;_0x2fe326<_0x57f7c0['length'];_0x2fe326++){let _0x50d2a2=getAddr(_0x3a4017,_0x57f7c0[_0x2fe326]);if(0x2==_0x723c8d[_0x2fe326]){for(let _0x1f62b0 of _0x50d2a2)_0x41edc8['push'](_0x1f62b0);}else _0x41edc8['push'](_0x50d2a2);}return _0x111910['combine'](_0x41edc8);}return{'create'(_0x2d3d72){for(let _0x5c9a44 of _0x57f7c0)_0xc1c631(_0x2d3d72,_0x5c9a44);return _0x2d3d72['values'][_0x4a87a6]=_0xec8332(_0x2d3d72),0x1;},'update'(_0x23f244,_0xc1564b){if(!_0x2c3f86(_0x23f244,_0x128f96))return 0x0;let _0x162fde=_0xec8332(_0x23f244);return _0x111910['compare'](_0x162fde,_0x23f244['values'][_0x4a87a6])?0x0:(_0x23f244['values'][_0x4a87a6]=_0x162fde,0x1);},'reconfigure'(_0x4ade48,_0x43c3ab){let _0x305598=_0x2c3f86(_0x4ade48,_0x57f7c0),_0x3cc4c4=_0x43c3ab['config']['facets'][_0x111910['id']],_0x47d360=_0x43c3ab['facet'](_0x111910);if(_0x3cc4c4&&!_0x305598&&_0x49451f(_0x2f7506,_0x3cc4c4))return _0x4ade48['values'][_0x4a87a6]=_0x47d360,0x0;let _0x25f992=_0xec8332(_0x4ade48);return _0x111910['compare'](_0x25f992,_0x47d360)?(_0x4ade48['values'][_0x4a87a6]=_0x47d360,0x0):(_0x4ade48['values'][_0x4a87a6]=_0x25f992,0x1);}};}const initField=Facet['define']({'static':!0x0});class StateField{constructor(_0x3205af,_0xabdf32,_0x1defec,_0x211c91,_0x4ca98a){this['id']=_0x3205af,this['createF']=_0xabdf32,this['updateF']=_0x1defec,this['compareF']=_0x211c91,this['spec']=_0x4ca98a,this['provides']=void 0x0;}static['define'](_0x507432){let _0x49180c=new StateField(nextID++,_0x507432['create'],_0x507432['update'],_0x507432['compare']||((_0x5d3f87,_0x8824ee)=>_0x5d3f87===_0x8824ee),_0x507432);return _0x507432['provide']&&(_0x49180c['provides']=_0x507432['provide'](_0x49180c)),_0x49180c;}['create'](_0x1517e6){let _0x3a1416=_0x1517e6['facet'](initField)['find'](_0x41d0b2=>_0x41d0b2['field']==this);return((null==_0x3a1416?void 0x0:_0x3a1416['create'])||this['createF'])(_0x1517e6);}['slot'](_0x17ec64){let _0x3a6dcd=_0x17ec64[this['id']]>>0x1;return{'create':_0x57ff3a=>(_0x57ff3a['values'][_0x3a6dcd]=this['create'](_0x57ff3a),0x1),'update':(_0x84ce9b,_0xfb9b5e)=>{let _0x564bea=_0x84ce9b['values'][_0x3a6dcd],_0x108f41=this['updateF'](_0x564bea,_0xfb9b5e);return this['compareF'](_0x564bea,_0x108f41)?0x0:(_0x84ce9b['values'][_0x3a6dcd]=_0x108f41,0x1);},'reconfigure':(_0x32cfb4,_0x3b03dd)=>{let _0x3f4586,_0x13a31e=_0x32cfb4['facet'](initField),_0xeaf0=_0x3b03dd['facet'](initField);return(_0x3f4586=_0x13a31e['find'](_0x73684e=>_0x73684e['field']==this))&&_0x3f4586!=_0xeaf0['find'](_0xc1bd8e=>_0xc1bd8e['field']==this)?(_0x32cfb4['values'][_0x3a6dcd]=_0x3f4586['create'](_0x32cfb4),0x1):null!=_0x3b03dd['config']['address'][this['id']]?(_0x32cfb4['values'][_0x3a6dcd]=_0x3b03dd['field'](this),0x0):(_0x32cfb4['values'][_0x3a6dcd]=this['create'](_0x32cfb4),0x1);}};}['init'](_0x29de59){return[this,initField['of']({'field':this,'create':_0x29de59})];}get['extension'](){return this;}}const _0x245d3f={'lowest':0x4,'low':0x3,'default':0x2,'high':0x1,'highest':0x0};function _0x3383a0(_0x2061a4){return _0x1766bb=>new PrecExtension(_0x1766bb,_0x2061a4);}const _0x2d7c8c={'highest':_0x3383a0(_0x245d3f['highest']),'high':_0x3383a0(_0x245d3f['high']),'default':_0x3383a0(_0x245d3f['default']),'low':_0x3383a0(_0x245d3f['low']),'lowest':_0x3383a0(_0x245d3f['lowest'])};class PrecExtension{constructor(_0x321371,_0x25f6fc){this['inner']=_0x321371,this['prec']=_0x25f6fc;}}class Compartment{['of'](_0x462567){return new CompartmentInstance(this,_0x462567);}['reconfigure'](_0x3e1590){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x3e1590});}['get'](_0x34f423){return _0x34f423['config']['compartments']['get'](this);}}class CompartmentInstance{constructor(_0x4fde98,_0x4a6c79){this['compartment']=_0x4fde98,this['inner']=_0x4a6c79;}}class Configuration{constructor(_0x4202ea,_0x5a32e9,_0x287c7e,_0x3d3517,_0x19923f,_0x116246){for(this['base']=_0x4202ea,this['compartments']=_0x5a32e9,this['dynamicSlots']=_0x287c7e,this['address']=_0x3d3517,this['staticValues']=_0x19923f,this['facets']=_0x116246,this['statusTemplate']=[];this['statusTemplate']['length']<_0x287c7e['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0x8d03ae){let _0x2b13f2=this['address'][_0x8d03ae['id']];return null==_0x2b13f2?_0x8d03ae['default']:this['staticValues'][_0x2b13f2>>0x1];}static['resolve'](_0x3424e9,_0xd9982d,_0x1aab00){let _0x448ffe=[],_0x5c340a=Object['create'](null),_0x171b64=new Map();for(let _0x21ebee of flatten(_0x3424e9,_0xd9982d,_0x171b64))_0x21ebee instanceof StateField?_0x448ffe['push'](_0x21ebee):(_0x5c340a[_0x21ebee['facet']['id']]||(_0x5c340a[_0x21ebee['facet']['id']]=[]))['push'](_0x21ebee);let _0x23bcc4=Object['create'](null),_0x2a4464=[],_0x274c6b=[];for(let _0x43001f of _0x448ffe)_0x23bcc4[_0x43001f['id']]=_0x274c6b['length']<<0x1,_0x274c6b['push'](_0x55cc2d=>_0x43001f['slot'](_0x55cc2d));let _0x7b8b92=null==_0x1aab00?void 0x0:_0x1aab00['config']['facets'];for(let _0x5d610e in _0x5c340a){let _0x5a5a8d=_0x5c340a[_0x5d610e],_0x2f208f=_0x5a5a8d[0x0]['facet'],_0x2a82db=_0x7b8b92&&_0x7b8b92[_0x5d610e]||[];if(_0x5a5a8d['every'](_0x506bb0=>0x0==_0x506bb0['type'])){if(_0x23bcc4[_0x2f208f['id']]=_0x2a4464['length']<<0x1|0x1,_0x49451f(_0x2a82db,_0x5a5a8d))_0x2a4464['push'](_0x1aab00['facet'](_0x2f208f));else{let _0x459809=_0x2f208f['combine'](_0x5a5a8d['map'](_0x531816=>_0x531816['value']));_0x2a4464['push'](_0x1aab00&&_0x2f208f['compare'](_0x459809,_0x1aab00['facet'](_0x2f208f))?_0x1aab00['facet'](_0x2f208f):_0x459809);}}else{for(let _0x3ef5ef of _0x5a5a8d)0x0==_0x3ef5ef['type']?(_0x23bcc4[_0x3ef5ef['id']]=_0x2a4464['length']<<0x1|0x1,_0x2a4464['push'](_0x3ef5ef['value'])):(_0x23bcc4[_0x3ef5ef['id']]=_0x274c6b['length']<<0x1,_0x274c6b['push'](_0x5d05d3=>_0x3ef5ef['dynamicSlot'](_0x5d05d3)));_0x23bcc4[_0x2f208f['id']]=_0x274c6b['length']<<0x1,_0x274c6b['push'](_0x27c657=>dynamicFacetSlot(_0x27c657,_0x2f208f,_0x5a5a8d));}}let _0xfd0c56=_0x274c6b['map'](_0x5a69a4=>_0x5a69a4(_0x23bcc4));return new Configuration(_0x3424e9,_0x171b64,_0xfd0c56,_0x23bcc4,_0x2a4464,_0x5c340a);}}function flatten(_0x2ce6a0,_0xa6362,_0x37604b){let _0x233c52=[[],[],[],[],[]],_0x1eeb59=new Map();return function _0x1c228f(_0x4a97fb,_0x331112){let _0x4f1bd8=_0x1eeb59['get'](_0x4a97fb);if(null!=_0x4f1bd8){if(_0x4f1bd8<=_0x331112)return;let _0x43b4fa=_0x233c52[_0x4f1bd8]['indexOf'](_0x4a97fb);_0x43b4fa>-0x1&&_0x233c52[_0x4f1bd8]['splice'](_0x43b4fa,0x1),_0x4a97fb instanceof CompartmentInstance&&_0x37604b['delete'](_0x4a97fb['compartment']);}if(_0x1eeb59['set'](_0x4a97fb,_0x331112),Array['isArray'](_0x4a97fb)){for(let _0x3ef310 of _0x4a97fb)_0x1c228f(_0x3ef310,_0x331112);}else{if(_0x4a97fb instanceof CompartmentInstance){if(_0x37604b['has'](_0x4a97fb['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x2fa560=_0xa6362['get'](_0x4a97fb['compartment'])||_0x4a97fb['inner'];_0x37604b['set'](_0x4a97fb['compartment'],_0x2fa560),_0x1c228f(_0x2fa560,_0x331112);}else{if(_0x4a97fb instanceof PrecExtension)_0x1c228f(_0x4a97fb['inner'],_0x4a97fb['prec']);else{if(_0x4a97fb instanceof StateField)_0x233c52[_0x331112]['push'](_0x4a97fb),_0x4a97fb['provides']&&_0x1c228f(_0x4a97fb['provides'],_0x331112);else{if(_0x4a97fb instanceof FacetProvider)_0x233c52[_0x331112]['push'](_0x4a97fb),_0x4a97fb['facet']['extensions']&&_0x1c228f(_0x4a97fb['facet']['extensions'],_0x245d3f['default']);else{let _0x43103b=_0x4a97fb['extension'];if(!_0x43103b)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x4a97fb+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x1c228f(_0x43103b,_0x331112);}}}}}}(_0x2ce6a0,_0x245d3f['default']),_0x233c52['reduce']((_0x1fa11c,_0x5c56f5)=>_0x1fa11c['concat'](_0x5c56f5));}function _0xc1c631(_0x323bcc,_0x24c421){if(0x1&_0x24c421)return 0x2;let _0x5746c8=_0x24c421>>0x1,_0x1e01a3=_0x323bcc['status'][_0x5746c8];if(0x4==_0x1e01a3)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x1e01a3)return _0x1e01a3;_0x323bcc['status'][_0x5746c8]=0x4;let _0x4bcf5b=_0x323bcc['computeSlot'](_0x323bcc,_0x323bcc['config']['dynamicSlots'][_0x5746c8]);return _0x323bcc['status'][_0x5746c8]=0x2|_0x4bcf5b;}function getAddr(_0x1ecf1e,_0x3ff98e){return 0x1&_0x3ff98e?_0x1ecf1e['config']['staticValues'][_0x3ff98e>>0x1]:_0x1ecf1e['values'][_0x3ff98e>>0x1];}const languageData=Facet['define'](),allowMultipleSelections=Facet['define']({'combine':_0x25e282=>_0x25e282['some'](_0x18ed19=>_0x18ed19),'static':!0x0}),lineSeparator=Facet['define']({'combine':_0x2fd684=>_0x2fd684['length']?_0x2fd684[0x0]:void 0x0,'static':!0x0}),changeFilter=Facet['define'](),transactionFilter=Facet['define'](),transactionExtender=Facet['define'](),_0x22e9ab=Facet['define']({'combine':_0x14a198=>!!_0x14a198['length']&&_0x14a198[0x0]});class Annotation{constructor(_0x378eac,_0x4b18b7){this['type']=_0x378eac,this['value']=_0x4b18b7;}static['define'](){return new AnnotationType();}}class AnnotationType{['of'](_0x3301ea){return new Annotation(this,_0x3301ea);}}class StateEffectType{constructor(_0x48faeb){this['map']=_0x48faeb;}['of'](_0x2bfe5a){return new StateEffect(this,_0x2bfe5a);}}class StateEffect{constructor(_0x320362,_0x1b7ffa){this['type']=_0x320362,this['value']=_0x1b7ffa;}['map'](_0x54f000){let _0x902b84=this['type']['map'](this['value'],_0x54f000);return void 0x0===_0x902b84?void 0x0:_0x902b84==this['value']?this:new StateEffect(this['type'],_0x902b84);}['is'](_0xb08acf){return this['type']==_0xb08acf;}static['define'](_0x177ca9={}){return new StateEffectType(_0x177ca9['map']||(_0x32a490=>_0x32a490));}static['mapEffects'](_0x1c970a,_0x4b8b66){if(!_0x1c970a['length'])return _0x1c970a;let _0x3b51e0=[];for(let _0x21c0a1 of _0x1c970a){let _0x29aae4=_0x21c0a1['map'](_0x4b8b66);_0x29aae4&&_0x3b51e0['push'](_0x29aae4);}return _0x3b51e0;}}StateEffect['reconfigure']=StateEffect['define'](),StateEffect['appendConfig']=StateEffect['define']();class Transaction{constructor(_0x5344a0,_0x4a87b7,_0x2747ae,_0x5becee,_0x5e7e1d,_0x59bc1f){this['startState']=_0x5344a0,this['changes']=_0x4a87b7,this['selection']=_0x2747ae,this['effects']=_0x5becee,this['annotations']=_0x5e7e1d,this['scrollIntoView']=_0x59bc1f,this['_doc']=null,this['_state']=null,_0x2747ae&&checkSelection(_0x2747ae,_0x4a87b7['newLength']),_0x5e7e1d['some'](_0x52bd2e=>_0x52bd2e['type']==Transaction['time'])||(this['annotations']=_0x5e7e1d['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x54aaf7,_0x2b9c1b,_0x17254b,_0x223ac2,_0x312faa,_0x4c017d){return new Transaction(_0x54aaf7,_0x2b9c1b,_0x17254b,_0x223ac2,_0x312faa,_0x4c017d);}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'](_0x4c38c4){for(let _0x1859bc of this['annotations'])if(_0x1859bc['type']==_0x4c38c4)return _0x1859bc['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x4016bc){let _0xb3f82=this['annotation'](Transaction['userEvent']);return!(!_0xb3f82||!(_0xb3f82==_0x4016bc||_0xb3f82['length']>_0x4016bc['length']&&_0xb3f82['slice'](0x0,_0x4016bc['length'])==_0x4016bc&&'.'==_0xb3f82[_0x4016bc['length']]));}}function _0x355fea(_0x3faccd,_0x22249f){let _0xb1cf2d=[];for(let _0x375e24=0x0,_0x4a156b=0x0;;){let _0x4c031a,_0x53c6d6;if(_0x375e24<_0x3faccd['length']&&(_0x4a156b==_0x22249f['length']||_0x22249f[_0x4a156b]>=_0x3faccd[_0x375e24]))_0x4c031a=_0x3faccd[_0x375e24++],_0x53c6d6=_0x3faccd[_0x375e24++];else{if(!(_0x4a156b<_0x22249f['length']))return _0xb1cf2d;_0x4c031a=_0x22249f[_0x4a156b++],_0x53c6d6=_0x22249f[_0x4a156b++];}!_0xb1cf2d['length']||_0xb1cf2d[_0xb1cf2d['length']-0x1]<_0x4c031a?_0xb1cf2d['push'](_0x4c031a,_0x53c6d6):_0xb1cf2d[_0xb1cf2d['length']-0x1]<_0x53c6d6&&(_0xb1cf2d[_0xb1cf2d['length']-0x1]=_0x53c6d6);}}function mergeTransaction(_0x566290,_0x5af9b7,_0x2eff76){var _0xb96c96;let _0x3fc437,_0x45ab4e,_0x46b1b5;return _0x2eff76?(_0x3fc437=_0x5af9b7['changes'],_0x45ab4e=ChangeSet['empty'](_0x5af9b7['changes']['length']),_0x46b1b5=_0x566290['changes']['compose'](_0x5af9b7['changes'])):(_0x3fc437=_0x5af9b7['changes']['map'](_0x566290['changes']),_0x45ab4e=_0x566290['changes']['mapDesc'](_0x5af9b7['changes'],!0x0),_0x46b1b5=_0x566290['changes']['compose'](_0x3fc437)),{'changes':_0x46b1b5,'selection':_0x5af9b7['selection']?_0x5af9b7['selection']['map'](_0x45ab4e):null===(_0xb96c96=_0x566290['selection'])||void 0x0===_0xb96c96?void 0x0:_0xb96c96['map'](_0x3fc437),'effects':StateEffect['mapEffects'](_0x566290['effects'],_0x3fc437)['concat'](StateEffect['mapEffects'](_0x5af9b7['effects'],_0x45ab4e)),'annotations':_0x566290['annotations']['length']?_0x566290['annotations']['concat'](_0x5af9b7['annotations']):_0x5af9b7['annotations'],'scrollIntoView':_0x566290['scrollIntoView']||_0x5af9b7['scrollIntoView']};}function resolveTransactionInner(_0x867461,_0x54bd39,_0x3617e0){let _0x2f2cff=_0x54bd39['selection'],_0x13d8fe=_0x1d8576(_0x54bd39['annotations']);return _0x54bd39['userEvent']&&(_0x13d8fe=_0x13d8fe['concat'](Transaction['userEvent']['of'](_0x54bd39['userEvent']))),{'changes':_0x54bd39['changes']instanceof ChangeSet?_0x54bd39['changes']:ChangeSet['of'](_0x54bd39['changes']||[],_0x3617e0,_0x867461['facet'](lineSeparator)),'selection':_0x2f2cff&&(_0x2f2cff instanceof EditorSelection?_0x2f2cff:EditorSelection['single'](_0x2f2cff['anchor'],_0x2f2cff['head'])),'effects':_0x1d8576(_0x54bd39['effects']),'annotations':_0x13d8fe,'scrollIntoView':!!_0x54bd39['scrollIntoView']};}function resolveTransaction(_0x1dd8bd,_0x598022,_0x3be804){let _0x176347=resolveTransactionInner(_0x1dd8bd,_0x598022['length']?_0x598022[0x0]:{},_0x1dd8bd['doc']['length']);_0x598022['length']&&!0x1===_0x598022[0x0]['filter']&&(_0x3be804=!0x1);for(let _0x39633e=0x1;_0x39633e<_0x598022['length'];_0x39633e++){!0x1===_0x598022[_0x39633e]['filter']&&(_0x3be804=!0x1);let _0x3fa163=!!_0x598022[_0x39633e]['sequential'];_0x176347=mergeTransaction(_0x176347,resolveTransactionInner(_0x1dd8bd,_0x598022[_0x39633e],_0x3fa163?_0x176347['changes']['newLength']:_0x1dd8bd['doc']['length']),_0x3fa163);}let _0x9f44a2=Transaction['create'](_0x1dd8bd,_0x176347['changes'],_0x176347['selection'],_0x176347['effects'],_0x176347['annotations'],_0x176347['scrollIntoView']);return extendTransaction(_0x3be804?filterTransaction(_0x9f44a2):_0x9f44a2);}function filterTransaction(_0x4d55bd){let _0x6052ad=_0x4d55bd['startState'],_0x2b8776=!0x0;for(let _0x534b17 of _0x6052ad['facet'](changeFilter)){let _0x454ad0=_0x534b17(_0x4d55bd);if(!0x1===_0x454ad0){_0x2b8776=!0x1;break;}Array['isArray'](_0x454ad0)&&(_0x2b8776=!0x0===_0x2b8776?_0x454ad0:_0x355fea(_0x2b8776,_0x454ad0));}if(!0x0!==_0x2b8776){let _0x49944f,_0x42d105;if(!0x1===_0x2b8776)_0x42d105=_0x4d55bd['changes']['invertedDesc'],_0x49944f=ChangeSet['empty'](_0x6052ad['doc']['length']);else{let _0x10d78f=_0x4d55bd['changes']['filter'](_0x2b8776);_0x49944f=_0x10d78f['changes'],_0x42d105=_0x10d78f['filtered']['mapDesc'](_0x10d78f['changes'])['invertedDesc'];}_0x4d55bd=Transaction['create'](_0x6052ad,_0x49944f,_0x4d55bd['selection']&&_0x4d55bd['selection']['map'](_0x42d105),StateEffect['mapEffects'](_0x4d55bd['effects'],_0x42d105),_0x4d55bd['annotations'],_0x4d55bd['scrollIntoView']);}let _0x516e2d=_0x6052ad['facet'](transactionFilter);for(let _0x1c5d42=_0x516e2d['length']-0x1;_0x1c5d42>=0x0;_0x1c5d42--){let _0x4f21e0=_0x516e2d[_0x1c5d42](_0x4d55bd);_0x4d55bd=_0x4f21e0 instanceof Transaction?_0x4f21e0:Array['isArray'](_0x4f21e0)&&0x1==_0x4f21e0['length']&&_0x4f21e0[0x0]instanceof Transaction?_0x4f21e0[0x0]:resolveTransaction(_0x6052ad,_0x1d8576(_0x4f21e0),!0x1);}return _0x4d55bd;}function extendTransaction(_0xa91d5e){let _0x47693d=_0xa91d5e['startState'],_0x3f1f86=_0x47693d['facet'](transactionExtender),_0x26caf1=_0xa91d5e;for(let _0x2aaee7=_0x3f1f86['length']-0x1;_0x2aaee7>=0x0;_0x2aaee7--){let _0x251abd=_0x3f1f86[_0x2aaee7](_0xa91d5e);_0x251abd&&Object['keys'](_0x251abd)['length']&&(_0x26caf1=mergeTransaction(_0x26caf1,resolveTransactionInner(_0x47693d,_0x251abd,_0xa91d5e['changes']['newLength']),!0x0));}return _0x26caf1==_0xa91d5e?_0xa91d5e:Transaction['create'](_0x47693d,_0xa91d5e['changes'],_0xa91d5e['selection'],_0x26caf1['effects'],_0x26caf1['annotations'],_0x26caf1['scrollIntoView']);}Transaction['time']=Annotation['define'](),Transaction['userEvent']=Annotation['define'](),Transaction['addToHistory']=Annotation['define'](),Transaction['remote']=Annotation['define']();const _0x29d1ab=[];function _0x1d8576(_0x2f8396){return null==_0x2f8396?_0x29d1ab:Array['isArray'](_0x2f8396)?_0x2f8396:[_0x2f8396];}var CharCategory=function(_0x5c3bdd){return _0x5c3bdd[_0x5c3bdd['Word']=0x0]='Word',_0x5c3bdd[_0x5c3bdd['Space']=0x1]='Space',_0x5c3bdd[_0x5c3bdd['Other']=0x2]='Other',_0x5c3bdd;}(CharCategory||(CharCategory={}));const _0x4ebe7b=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let _0x476ae6;try{_0x476ae6=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0x48b625){}function _0x3cee68(_0x20795f){if(_0x476ae6)return _0x476ae6['test'](_0x20795f);for(let _0x328423=0x0;_0x328423<_0x20795f['length'];_0x328423++){let _0x573ab8=_0x20795f[_0x328423];if(/\w/['test'](_0x573ab8)||_0x573ab8>'\u0080'&&(_0x573ab8['toUpperCase']()!=_0x573ab8['toLowerCase']()||_0x4ebe7b['test'](_0x573ab8)))return!0x0;}return!0x1;}function makeCategorizer(_0x2fc6e1){return _0x5389e6=>{if(!/\S/['test'](_0x5389e6))return CharCategory['Space'];if(_0x3cee68(_0x5389e6))return CharCategory['Word'];for(let _0x74c4f8=0x0;_0x74c4f8<_0x2fc6e1['length'];_0x74c4f8++)if(_0x5389e6['indexOf'](_0x2fc6e1[_0x74c4f8])>-0x1)return CharCategory['Word'];return CharCategory['Other'];};}class EditorState{constructor(_0x890f64,_0xe73bd6,_0x4d03e2,_0x237e08,_0x5ef418,_0x433397){this['config']=_0x890f64,this['doc']=_0xe73bd6,this['selection']=_0x4d03e2,this['values']=_0x237e08,this['status']=_0x890f64['statusTemplate']['slice'](),this['computeSlot']=_0x5ef418,_0x433397&&(_0x433397['_state']=this);for(let _0x583d8f=0x0;_0x583d8f<this['config']['dynamicSlots']['length'];_0x583d8f++)_0xc1c631(this,_0x583d8f<<0x1);this['computeSlot']=null;}['field'](_0x2155b5,_0x380c5f=!0x0){let _0xddf06e=this['config']['address'][_0x2155b5['id']];if(null!=_0xddf06e)return _0xc1c631(this,_0xddf06e),getAddr(this,_0xddf06e);if(_0x380c5f)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x2586ab){return resolveTransaction(this,_0x2586ab,!0x0);}['applyTransaction'](_0x1cee88){let _0x2855ae,_0x59cd70=this['config'],{base:_0x4732d3,compartments:_0x1683bb}=_0x59cd70;for(let _0x3b5053 of _0x1cee88['effects'])_0x3b5053['is'](Compartment['reconfigure'])?(_0x59cd70&&(_0x1683bb=new Map(),_0x59cd70['compartments']['forEach']((_0xd5041c,_0x5b7aa7)=>_0x1683bb['set'](_0x5b7aa7,_0xd5041c)),_0x59cd70=null),_0x1683bb['set'](_0x3b5053['value']['compartment'],_0x3b5053['value']['extension'])):_0x3b5053['is'](StateEffect['reconfigure'])?(_0x59cd70=null,_0x4732d3=_0x3b5053['value']):_0x3b5053['is'](StateEffect['appendConfig'])&&(_0x59cd70=null,_0x4732d3=_0x1d8576(_0x4732d3)['concat'](_0x3b5053['value']));if(_0x59cd70)_0x2855ae=_0x1cee88['startState']['values']['slice']();else _0x59cd70=Configuration['resolve'](_0x4732d3,_0x1683bb,this),_0x2855ae=new EditorState(_0x59cd70,this['doc'],this['selection'],_0x59cd70['dynamicSlots']['map'](()=>null),(_0x5b159f,_0x32de80)=>_0x32de80['reconfigure'](_0x5b159f,this),null)['values'];let _0x5daeea=_0x1cee88['startState']['facet'](allowMultipleSelections)?_0x1cee88['newSelection']:_0x1cee88['newSelection']['asSingle']();new EditorState(_0x59cd70,_0x1cee88['newDoc'],_0x5daeea,_0x2855ae,(_0x1a58b5,_0x22dd02)=>_0x22dd02['update'](_0x1a58b5,_0x1cee88),_0x1cee88);}['replaceSelection'](_0x4bda1a){return'string'==typeof _0x4bda1a&&(_0x4bda1a=this['toText'](_0x4bda1a)),this['changeByRange'](_0x444efb=>({'changes':{'from':_0x444efb['from'],'to':_0x444efb['to'],'insert':_0x4bda1a},'range':EditorSelection['cursor'](_0x444efb['from']+_0x4bda1a['length'])}));}['changeByRange'](_0x442244){let _0x11bc4f=this['selection'],_0x1ebe0f=_0x442244(_0x11bc4f['ranges'][0x0]),_0x191103=this['changes'](_0x1ebe0f['changes']),_0x4df466=[_0x1ebe0f['range']],_0x4518b1=_0x1d8576(_0x1ebe0f['effects']);for(let _0x52c684=0x1;_0x52c684<_0x11bc4f['ranges']['length'];_0x52c684++){let _0x11f2a6=_0x442244(_0x11bc4f['ranges'][_0x52c684]),_0x273693=this['changes'](_0x11f2a6['changes']),_0xcbe38=_0x273693['map'](_0x191103);for(let _0x1a5867=0x0;_0x1a5867<_0x52c684;_0x1a5867++)_0x4df466[_0x1a5867]=_0x4df466[_0x1a5867]['map'](_0xcbe38);let _0xc45a40=_0x191103['mapDesc'](_0x273693,!0x0);_0x4df466['push'](_0x11f2a6['range']['map'](_0xc45a40)),_0x191103=_0x191103['compose'](_0xcbe38),_0x4518b1=StateEffect['mapEffects'](_0x4518b1,_0xcbe38)['concat'](StateEffect['mapEffects'](_0x1d8576(_0x11f2a6['effects']),_0xc45a40));}return{'changes':_0x191103,'selection':EditorSelection['create'](_0x4df466,_0x11bc4f['mainIndex']),'effects':_0x4518b1};}['changes'](_0x336471=[]){return _0x336471 instanceof ChangeSet?_0x336471:ChangeSet['of'](_0x336471,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0x3cee60){return Text['of'](_0x3cee60['split'](this['facet'](EditorState['lineSeparator'])||DefaultSplit));}['sliceDoc'](_0x210e6e=0x0,_0x10197b=this['doc']['length']){return this['doc']['sliceString'](_0x210e6e,_0x10197b,this['lineBreak']);}['facet'](_0x27fc09){let _0x3f2488=this['config']['address'][_0x27fc09['id']];return null==_0x3f2488?_0x27fc09['default']:(_0xc1c631(this,_0x3f2488),getAddr(this,_0x3f2488));}['toJSON'](_0xf5d1fd){let _0x49eee5={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0xf5d1fd)for(let _0x33d0e2 in _0xf5d1fd){let _0x2e286f=_0xf5d1fd[_0x33d0e2];_0x2e286f instanceof StateField&&null!=this['config']['address'][_0x2e286f['id']]&&(_0x49eee5[_0x33d0e2]=_0x2e286f['spec']['toJSON'](this['field'](_0xf5d1fd[_0x33d0e2]),this));}return _0x49eee5;}static['fromJSON'](_0x478cf3,_0xcc75d8={},_0x1c6902){if(!_0x478cf3||'string'!=typeof _0x478cf3['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x3abe3a=[];if(_0x1c6902){for(let _0x180193 in _0x1c6902)if(Object['prototype']['hasOwnProperty']['call'](_0x478cf3,_0x180193)){let _0x3f7470=_0x1c6902[_0x180193],_0x2020c4=_0x478cf3[_0x180193];_0x3abe3a['push'](_0x3f7470['init'](_0x16cf54=>_0x3f7470['spec']['fromJSON'](_0x2020c4,_0x16cf54)));}}return EditorState['create']({'doc':_0x478cf3['doc'],'selection':EditorSelection['fromJSON'](_0x478cf3['selection']),'extensions':_0xcc75d8['extensions']?_0x3abe3a['concat']([_0xcc75d8['extensions']]):_0x3abe3a});}static['create'](_0x515074={}){let _0x40cd8b=Configuration['resolve'](_0x515074['extensions']||[],new Map()),_0x443825=_0x515074['doc']instanceof Text?_0x515074['doc']:Text['of']((_0x515074['doc']||'')['split'](_0x40cd8b['staticFacet'](EditorState['lineSeparator'])||DefaultSplit)),_0x1eccca=_0x515074['selection']?_0x515074['selection']instanceof EditorSelection?_0x515074['selection']:EditorSelection['single'](_0x515074['selection']['anchor'],_0x515074['selection']['head']):EditorSelection['single'](0x0);return checkSelection(_0x1eccca,_0x443825['length']),_0x40cd8b['staticFacet'](allowMultipleSelections)||(_0x1eccca=_0x1eccca['asSingle']()),new EditorState(_0x40cd8b,_0x443825,_0x1eccca,_0x40cd8b['dynamicSlots']['map'](()=>null),(_0xb59922,_0x4ee8a9)=>_0x4ee8a9['create'](_0xb59922),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](_0x22e9ab);}['phrase'](_0x444c29,..._0x2db675){for(let _0x52bb66 of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x52bb66,_0x444c29)){_0x444c29=_0x52bb66[_0x444c29];break;}return _0x2db675['length']&&(_0x444c29=_0x444c29['replace'](/\$(\$|\d*)/g,(_0x303c2e,_0x2394dd)=>{if('$'==_0x2394dd)return'$';let _0x14b14e=+(_0x2394dd||0x1);return!_0x14b14e||_0x14b14e>_0x2db675['length']?_0x303c2e:_0x2db675[_0x14b14e-0x1];})),_0x444c29;}['languageDataAt'](_0x53fd0a,_0x138642,_0x1bd857=-0x1){let _0x4bf6a0=[];for(let _0x5e951d of this['facet'](languageData))for(let _0x1bfb00 of _0x5e951d(this,_0x138642,_0x1bd857))Object['prototype']['hasOwnProperty']['call'](_0x1bfb00,_0x53fd0a)&&_0x4bf6a0['push'](_0x1bfb00[_0x53fd0a]);return _0x4bf6a0;}['charCategorizer'](_0x47778c){return makeCategorizer(this['languageDataAt']('wordChars',_0x47778c)['join'](''));}['wordAt'](_0xd8517){let {text:_0x541ebf,from:_0x4702aa,length:_0x3bad62}=this['doc']['lineAt'](_0xd8517),_0x3cadc9=this['charCategorizer'](_0xd8517),_0x592825=_0xd8517-_0x4702aa,_0x13e619=_0xd8517-_0x4702aa;for(;_0x592825>0x0;){let _0x41ae88=findClusterBreak(_0x541ebf,_0x592825,!0x1);if(_0x3cadc9(_0x541ebf['slice'](_0x41ae88,_0x592825))!=CharCategory['Word'])break;_0x592825=_0x41ae88;}for(;_0x13e619<_0x3bad62;){let _0x2a1eb5=findClusterBreak(_0x541ebf,_0x13e619);if(_0x3cadc9(_0x541ebf['slice'](_0x13e619,_0x2a1eb5))!=CharCategory['Word'])break;_0x13e619=_0x2a1eb5;}return _0x592825==_0x13e619?null:EditorSelection['range'](_0x592825+_0x4702aa,_0x13e619+_0x4702aa);}}function _0x592eca(_0x3fce15,_0x328191,_0x2ca240={}){let _0x19bf72={};for(let _0x5a6aa1 of _0x3fce15)for(let _0x56ed40 of Object['keys'](_0x5a6aa1)){let _0xf47fec=_0x5a6aa1[_0x56ed40],_0x4cf4d2=_0x19bf72[_0x56ed40];if(void 0x0===_0x4cf4d2)_0x19bf72[_0x56ed40]=_0xf47fec;else{if(_0x4cf4d2===_0xf47fec||void 0x0===_0xf47fec);else{if(!Object['hasOwnProperty']['call'](_0x2ca240,_0x56ed40))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x56ed40);_0x19bf72[_0x56ed40]=_0x2ca240[_0x56ed40](_0x4cf4d2,_0xf47fec);}}}for(let _0x4f746e in _0x328191)void 0x0===_0x19bf72[_0x4f746e]&&(_0x19bf72[_0x4f746e]=_0x328191[_0x4f746e]);return _0x19bf72;}EditorState['allowMultipleSelections']=allowMultipleSelections,EditorState['tabSize']=Facet['define']({'combine':_0xbb2dc8=>_0xbb2dc8['length']?_0xbb2dc8[0x0]:0x4}),EditorState['lineSeparator']=lineSeparator,EditorState['readOnly']=_0x22e9ab,EditorState['phrases']=Facet['define']({'compare'(_0x5a7185,_0xed07ed){let _0x3ec9f4=Object['keys'](_0x5a7185),_0x36c028=Object['keys'](_0xed07ed);return _0x3ec9f4['length']==_0x36c028['length']&&_0x3ec9f4['every'](_0x58e0c9=>_0x5a7185[_0x58e0c9]==_0xed07ed[_0x58e0c9]);}}),EditorState['languageData']=languageData,EditorState['changeFilter']=changeFilter,EditorState['transactionFilter']=transactionFilter,EditorState['transactionExtender']=transactionExtender,Compartment['reconfigure']=StateEffect['define']();class _0x246d1a{['eq'](_0x406f1a){return this==_0x406f1a;}['range'](_0x368bd9,_0x100731=_0x368bd9){return _0x1ac05f['create'](_0x368bd9,_0x100731,this);}}_0x246d1a['prototype']['startSide']=_0x246d1a['prototype']['endSide']=0x0,_0x246d1a['prototype']['point']=!0x1,_0x246d1a['prototype']['mapMode']=_0x10aa7f['TrackDel'];let _0x1ac05f=class _0x3c0a3d{constructor(_0xa96b7a,_0x39a5e0,_0x81789){this['from']=_0xa96b7a,this['to']=_0x39a5e0,this['value']=_0x81789;}static['create'](_0x497ee9,_0x4394b0,_0x123999){return new _0x3c0a3d(_0x497ee9,_0x4394b0,_0x123999);}};function _0x58919f(_0x3475d4,_0x18ba1a){return _0x3475d4['from']-_0x18ba1a['from']||_0x3475d4['value']['startSide']-_0x18ba1a['value']['startSide'];}class _0x46d76c{constructor(_0xa9140,_0x2fd721,_0x1977e4,_0x4a3a75){this['from']=_0xa9140,this['to']=_0x2fd721,this['value']=_0x1977e4,this['maxPoint']=_0x4a3a75;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x2f5958,_0x103601,_0x281604,_0x4f9107=0x0){let _0x49d6ba=_0x281604?this['to']:this['from'];for(let _0x23def4=_0x4f9107,_0x18f99a=_0x49d6ba['length'];;){if(_0x23def4==_0x18f99a)return _0x23def4;let _0x32d56c=_0x23def4+_0x18f99a>>0x1,_0x5e9dda=_0x49d6ba[_0x32d56c]-_0x2f5958||(_0x281604?this['value'][_0x32d56c]['endSide']:this['value'][_0x32d56c]['startSide'])-_0x103601;if(_0x32d56c==_0x23def4)return _0x5e9dda>=0x0?_0x23def4:_0x18f99a;_0x5e9dda>=0x0?_0x18f99a=_0x32d56c:_0x23def4=_0x32d56c+0x1;}}['between'](_0x100a89,_0x180666,_0x14af62,_0x177da0){for(let _0x52e489=this['findIndex'](_0x180666,-0x3b9aca00,!0x0),_0x2ab943=this['findIndex'](_0x14af62,0x3b9aca00,!0x1,_0x52e489);_0x52e489<_0x2ab943;_0x52e489++)if(!0x1===_0x177da0(this['from'][_0x52e489]+_0x100a89,this['to'][_0x52e489]+_0x100a89,this['value'][_0x52e489]))return!0x1;}['map'](_0x11d809,_0x5658d0){let _0x326c53=[],_0x23561b=[],_0x4a7685=[],_0x3b39de=-0x1,_0x1f2453=-0x1;for(let _0x55d760=0x0;_0x55d760<this['value']['length'];_0x55d760++){let _0xab9cba,_0x3e3c5a,_0x578b7a=this['value'][_0x55d760],_0x4159f5=this['from'][_0x55d760]+_0x11d809,_0x29df4c=this['to'][_0x55d760]+_0x11d809;if(_0x4159f5==_0x29df4c){let _0x5dbc0e=_0x5658d0['mapPos'](_0x4159f5,_0x578b7a['startSide'],_0x578b7a['mapMode']);if(null==_0x5dbc0e)continue;if(_0xab9cba=_0x3e3c5a=_0x5dbc0e,_0x578b7a['startSide']!=_0x578b7a['endSide']&&(_0x3e3c5a=_0x5658d0['mapPos'](_0x4159f5,_0x578b7a['endSide']),_0x3e3c5a<_0xab9cba))continue;}else{if(_0xab9cba=_0x5658d0['mapPos'](_0x4159f5,_0x578b7a['startSide']),_0x3e3c5a=_0x5658d0['mapPos'](_0x29df4c,_0x578b7a['endSide']),_0xab9cba>_0x3e3c5a||_0xab9cba==_0x3e3c5a&&_0x578b7a['startSide']>0x0&&_0x578b7a['endSide']<=0x0)continue;}(_0x3e3c5a-_0xab9cba||_0x578b7a['endSide']-_0x578b7a['startSide'])<0x0||(_0x3b39de<0x0&&(_0x3b39de=_0xab9cba),_0x578b7a['point']&&(_0x1f2453=Math['max'](_0x1f2453,_0x3e3c5a-_0xab9cba)),_0x326c53['push'](_0x578b7a),_0x23561b['push'](_0xab9cba-_0x3b39de),_0x4a7685['push'](_0x3e3c5a-_0x3b39de));}return{'mapped':_0x326c53['length']?new _0x46d76c(_0x23561b,_0x4a7685,_0x326c53,_0x1f2453):null,'pos':_0x3b39de};}}class RangeSet{constructor(_0x34d525,_0x27733d,_0x12a9c3,_0x2455a6){this['chunkPos']=_0x34d525,this['chunk']=_0x27733d,this['nextLayer']=_0x12a9c3,this['maxPoint']=_0x2455a6;}static['create'](_0xb2222a,_0xcd33b2,_0x1a8826,_0x385678){return new RangeSet(_0xb2222a,_0xcd33b2,_0x1a8826,_0x385678);}get['length'](){let _0x637851=this['chunk']['length']-0x1;return _0x637851<0x0?0x0:Math['max'](this['chunkEnd'](_0x637851),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x2d3220=this['nextLayer']['size'];for(let _0xc9b1a2 of this['chunk'])_0x2d3220+=_0xc9b1a2['value']['length'];return _0x2d3220;}['chunkEnd'](_0x16d633){return this['chunkPos'][_0x16d633]+this['chunk'][_0x16d633]['length'];}['update'](_0x380107){let {add:_0x2700d7=[],sort:_0x7e916b=!0x1,filterFrom:_0x400a63=0x0,filterTo:_0x3ed03b=this['length']}=_0x380107,_0x190c04=_0x380107['filter'];if(0x0==_0x2700d7['length']&&!_0x190c04)return this;if(_0x7e916b&&(_0x2700d7=_0x2700d7['slice']()['sort'](_0x58919f)),this['isEmpty'])return _0x2700d7['length']?RangeSet['of'](_0x2700d7):this;let _0x595ba1=new _0x4e2a33(this,null,-0x1)['goto'](0x0),_0x398a6b=0x0,_0x15d6d9=[],_0x28bf3e=new RangeSetBuilder();for(;_0x595ba1['value']||_0x398a6b<_0x2700d7['length'];)if(_0x398a6b<_0x2700d7['length']&&(_0x595ba1['from']-_0x2700d7[_0x398a6b]['from']||_0x595ba1['startSide']-_0x2700d7[_0x398a6b]['value']['startSide'])>=0x0){let _0x2101de=_0x2700d7[_0x398a6b++];_0x28bf3e['addInner'](_0x2101de['from'],_0x2101de['to'],_0x2101de['value'])||_0x15d6d9['push'](_0x2101de);}else 0x1==_0x595ba1['rangeIndex']&&_0x595ba1['chunkIndex']<this['chunk']['length']&&(_0x398a6b==_0x2700d7['length']||this['chunkEnd'](_0x595ba1['chunkIndex'])<_0x2700d7[_0x398a6b]['from'])&&(!_0x190c04||_0x400a63>this['chunkEnd'](_0x595ba1['chunkIndex'])||_0x3ed03b<this['chunkPos'][_0x595ba1['chunkIndex']])&&_0x28bf3e['addChunk'](this['chunkPos'][_0x595ba1['chunkIndex']],this['chunk'][_0x595ba1['chunkIndex']])?_0x595ba1['nextChunk']():((!_0x190c04||_0x400a63>_0x595ba1['to']||_0x3ed03b<_0x595ba1['from']||_0x190c04(_0x595ba1['from'],_0x595ba1['to'],_0x595ba1['value']))&&(_0x28bf3e['addInner'](_0x595ba1['from'],_0x595ba1['to'],_0x595ba1['value'])||_0x15d6d9['push'](_0x1ac05f['create'](_0x595ba1['from'],_0x595ba1['to'],_0x595ba1['value']))),_0x595ba1['next']());return _0x28bf3e['finishInner'](this['nextLayer']['isEmpty']&&!_0x15d6d9['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0x15d6d9,'filter':_0x190c04,'filterFrom':_0x400a63,'filterTo':_0x3ed03b}));}['map'](_0x33abf2){if(_0x33abf2['empty']||this['isEmpty'])return this;let _0x2b96a8=[],_0x56cbab=[],_0x24202a=-0x1;for(let _0x207d09=0x0;_0x207d09<this['chunk']['length'];_0x207d09++){let _0x2bb7fc=this['chunkPos'][_0x207d09],_0x3c5496=this['chunk'][_0x207d09],_0x468979=_0x33abf2['touchesRange'](_0x2bb7fc,_0x2bb7fc+_0x3c5496['length']);if(!0x1===_0x468979)_0x24202a=Math['max'](_0x24202a,_0x3c5496['maxPoint']),_0x2b96a8['push'](_0x3c5496),_0x56cbab['push'](_0x33abf2['mapPos'](_0x2bb7fc));else{if(!0x0===_0x468979){let {mapped:_0x4456b3,pos:_0x4a3cf8}=_0x3c5496['map'](_0x2bb7fc,_0x33abf2);_0x4456b3&&(_0x24202a=Math['max'](_0x24202a,_0x4456b3['maxPoint']),_0x2b96a8['push'](_0x4456b3),_0x56cbab['push'](_0x4a3cf8));}}}let _0x3602cd=this['nextLayer']['map'](_0x33abf2);return 0x0==_0x2b96a8['length']?_0x3602cd:new RangeSet(_0x56cbab,_0x2b96a8,_0x3602cd||RangeSet['empty'],_0x24202a);}['between'](_0x2acdc8,_0x190629,_0x51b8ec){if(!this['isEmpty']){for(let _0x326912=0x0;_0x326912<this['chunk']['length'];_0x326912++){let _0x19c9cb=this['chunkPos'][_0x326912],_0xf214c5=this['chunk'][_0x326912];if(_0x190629>=_0x19c9cb&&_0x2acdc8<=_0x19c9cb+_0xf214c5['length']&&!0x1===_0xf214c5['between'](_0x19c9cb,_0x2acdc8-_0x19c9cb,_0x190629-_0x19c9cb,_0x51b8ec))return;}this['nextLayer']['between'](_0x2acdc8,_0x190629,_0x51b8ec);}}['iter'](_0x154632=0x0){return _0x5dc8f6['from']([this])['goto'](_0x154632);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0x3895cc,_0x4c0e12=0x0){return _0x5dc8f6['from'](_0x3895cc)['goto'](_0x4c0e12);}static['compare'](_0x582aa5,_0x4a0665,_0x4e05d4,_0x565af8,_0x38775c=-0x1){let _0x77e7de=_0x582aa5['filter'](_0x3d0538=>_0x3d0538['maxPoint']>0x0||!_0x3d0538['isEmpty']&&_0x3d0538['maxPoint']>=_0x38775c),_0xd5d2bf=_0x4a0665['filter'](_0xaf451b=>_0xaf451b['maxPoint']>0x0||!_0xaf451b['isEmpty']&&_0xaf451b['maxPoint']>=_0x38775c),_0x30de1e=_0x536a3c(_0x77e7de,_0xd5d2bf,_0x4e05d4),_0x4cfa78=new _0x597961(_0x77e7de,_0x30de1e,_0x38775c),_0x516e36=new _0x597961(_0xd5d2bf,_0x30de1e,_0x38775c);_0x4e05d4['iterGaps']((_0x50145e,_0x5ba11d,_0x16863f)=>_0x54d9c4(_0x4cfa78,_0x50145e,_0x516e36,_0x5ba11d,_0x16863f,_0x565af8)),_0x4e05d4['empty']&&0x0==_0x4e05d4['length']&&_0x54d9c4(_0x4cfa78,0x0,_0x516e36,0x0,0x0,_0x565af8);}static['eq'](_0x428a05,_0x3dc8ff,_0x322c79=0x0,_0x27942a){null==_0x27942a&&(_0x27942a=0x3b9ac9ff);let _0x179f09=_0x428a05['filter'](_0xbe307d=>!_0xbe307d['isEmpty']&&_0x3dc8ff['indexOf'](_0xbe307d)<0x0),_0x4e10ba=_0x3dc8ff['filter'](_0x5c7c67=>!_0x5c7c67['isEmpty']&&_0x428a05['indexOf'](_0x5c7c67)<0x0);if(_0x179f09['length']!=_0x4e10ba['length'])return!0x1;if(!_0x179f09['length'])return!0x0;let _0x5413da=_0x536a3c(_0x179f09,_0x4e10ba),_0x1f4e46=new _0x597961(_0x179f09,_0x5413da,0x0)['goto'](_0x322c79),_0x1111f3=new _0x597961(_0x4e10ba,_0x5413da,0x0)['goto'](_0x322c79);for(;;){if(_0x1f4e46['to']!=_0x1111f3['to']||!_0x498796(_0x1f4e46['active'],_0x1111f3['active'])||_0x1f4e46['point']&&(!_0x1111f3['point']||!_0x1f4e46['point']['eq'](_0x1111f3['point'])))return!0x1;if(_0x1f4e46['to']>_0x27942a)return!0x0;_0x1f4e46['next'](),_0x1111f3['next']();}}static['spans'](_0x5d7992,_0x5e9148,_0x39a898,_0xbdd06b,_0x2de4ef=-0x1){let _0x4391cc=new _0x597961(_0x5d7992,null,_0x2de4ef)['goto'](_0x5e9148),_0x48be23=_0x5e9148,_0xcc6ba6=_0x4391cc['openStart'];for(;;){let _0x437615=Math['min'](_0x4391cc['to'],_0x39a898);if(_0x4391cc['point']){let _0x1fea54=_0x4391cc['activeForPoint'](_0x4391cc['to']),_0x1de8eb=_0x4391cc['pointFrom']<_0x5e9148?_0x1fea54['length']+0x1:_0x4391cc['point']['startSide']<0x0?_0x1fea54['length']:Math['min'](_0x1fea54['length'],_0xcc6ba6);_0xbdd06b['point'](_0x48be23,_0x437615,_0x4391cc['point'],_0x1fea54,_0x1de8eb,_0x4391cc['pointRank']),_0xcc6ba6=Math['min'](_0x4391cc['openEnd'](_0x437615),_0x1fea54['length']);}else _0x437615>_0x48be23&&(_0xbdd06b['span'](_0x48be23,_0x437615,_0x4391cc['active'],_0xcc6ba6),_0xcc6ba6=_0x4391cc['openEnd'](_0x437615));if(_0x4391cc['to']>_0x39a898)return _0xcc6ba6+(_0x4391cc['point']&&_0x4391cc['to']>_0x39a898?0x1:0x0);_0x48be23=_0x4391cc['to'],_0x4391cc['next']();}}static['of'](_0x1610a0,_0x53cd9d=!0x1){let _0xfb1704=new RangeSetBuilder();for(let _0x4c1a41 of _0x1610a0 instanceof _0x1ac05f?[_0x1610a0]:_0x53cd9d?lazySort(_0x1610a0):_0x1610a0)_0xfb1704['add'](_0x4c1a41['from'],_0x4c1a41['to'],_0x4c1a41['value']);return _0xfb1704['finish']();}static['join'](_0x1b952f){if(!_0x1b952f['length'])return RangeSet['empty'];let _0x118c2c=_0x1b952f[_0x1b952f['length']-0x1];for(let _0x8572d3=_0x1b952f['length']-0x2;_0x8572d3>=0x0;_0x8572d3--)for(let _0x204875=_0x1b952f[_0x8572d3];_0x204875!=RangeSet['empty'];_0x204875=_0x204875['nextLayer'])_0x118c2c=new RangeSet(_0x204875['chunkPos'],_0x204875['chunk'],_0x118c2c,Math['max'](_0x204875['maxPoint'],_0x118c2c['maxPoint']));return _0x118c2c;}}function lazySort(_0x47a652){if(_0x47a652['length']>0x1)for(let _0x3a0692=_0x47a652[0x0],_0x2d0f9b=0x1;_0x2d0f9b<_0x47a652['length'];_0x2d0f9b++){let _0x2d7daa=_0x47a652[_0x2d0f9b];if(_0x58919f(_0x3a0692,_0x2d7daa)>0x0)return _0x47a652['slice']()['sort'](_0x58919f);_0x3a0692=_0x2d7daa;}return _0x47a652;}RangeSet['empty']=new RangeSet([],[],null,-0x1),RangeSet['empty']['nextLayer']=RangeSet['empty'];class RangeSetBuilder{['finishChunk'](_0x8ae9b3){this['chunks']['push'](new _0x46d76c(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,_0x8ae9b3&&(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'](_0x55c9d5,_0x5cfadb,_0xb14b29){this['addInner'](_0x55c9d5,_0x5cfadb,_0xb14b29)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0x55c9d5,_0x5cfadb,_0xb14b29);}['addInner'](_0x18a0c2,_0x1c5957,_0x3d9fa1){let _0x2968a6=_0x18a0c2-this['lastTo']||_0x3d9fa1['startSide']-this['last']['endSide'];if(_0x2968a6<=0x0&&(_0x18a0c2-this['lastFrom']||_0x3d9fa1['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x2968a6<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x18a0c2),this['from']['push'](_0x18a0c2-this['chunkStart']),this['to']['push'](_0x1c5957-this['chunkStart']),this['last']=_0x3d9fa1,this['lastFrom']=_0x18a0c2,this['lastTo']=_0x1c5957,this['value']['push'](_0x3d9fa1),_0x3d9fa1['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x1c5957-_0x18a0c2)),!0x0);}['addChunk'](_0x2829f5,_0x42ed77){if((_0x2829f5-this['lastTo']||_0x42ed77['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x42ed77['maxPoint']),this['chunks']['push'](_0x42ed77),this['chunkPos']['push'](_0x2829f5);let _0x1ba4b4=_0x42ed77['value']['length']-0x1;return this['last']=_0x42ed77['value'][_0x1ba4b4],this['lastFrom']=_0x42ed77['from'][_0x1ba4b4]+_0x2829f5,this['lastTo']=_0x42ed77['to'][_0x1ba4b4]+_0x2829f5,!0x0;}['finish'](){return this['finishInner'](RangeSet['empty']);}['finishInner'](_0xde1ab9){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0xde1ab9;let _0x313e03=RangeSet['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0xde1ab9):_0xde1ab9,this['setMaxPoint']);return this['from']=null,_0x313e03;}}function _0x536a3c(_0x52ef30,_0x247408,_0x1e6bf1){let _0x5885e7=new Map();for(let _0x5822fd of _0x52ef30)for(let _0x12c825=0x0;_0x12c825<_0x5822fd['chunk']['length'];_0x12c825++)_0x5822fd['chunk'][_0x12c825]['maxPoint']<=0x0&&_0x5885e7['set'](_0x5822fd['chunk'][_0x12c825],_0x5822fd['chunkPos'][_0x12c825]);let _0x25f392=new Set();for(let _0x422f8a of _0x247408)for(let _0x26c1ef=0x0;_0x26c1ef<_0x422f8a['chunk']['length'];_0x26c1ef++){let _0x3a787f=_0x5885e7['get'](_0x422f8a['chunk'][_0x26c1ef]);null==_0x3a787f||(_0x1e6bf1?_0x1e6bf1['mapPos'](_0x3a787f):_0x3a787f)!=_0x422f8a['chunkPos'][_0x26c1ef]||(null==_0x1e6bf1?void 0x0:_0x1e6bf1['touchesRange'](_0x3a787f,_0x3a787f+_0x422f8a['chunk'][_0x26c1ef]['length']))||_0x25f392['add'](_0x422f8a['chunk'][_0x26c1ef]);}return _0x25f392;}class _0x4e2a33{constructor(_0x3d05e4,_0x258331,_0x50bf34,_0x443e99=0x0){this['layer']=_0x3d05e4,this['skip']=_0x258331,this['minPoint']=_0x50bf34,this['rank']=_0x443e99;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x4f7ecf,_0x126958=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x4f7ecf,_0x126958,!0x1),this;}['gotoInner'](_0x153e89,_0x2792c7,_0x236d4a){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x41fb25=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x41fb25)||this['layer']['chunkEnd'](this['chunkIndex'])<_0x153e89||_0x41fb25['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x236d4a=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x519ffe=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0x153e89-this['layer']['chunkPos'][this['chunkIndex']],_0x2792c7,!0x0);(!_0x236d4a||this['rangeIndex']<_0x519ffe)&&this['setRangeIndex'](_0x519ffe);}this['next']();}['forward'](_0xc67760,_0x5a2d08){(this['to']-_0xc67760||this['endSide']-_0x5a2d08)<0x0&&this['gotoInner'](_0xc67760,_0x5a2d08,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0x51477a=this['layer']['chunkPos'][this['chunkIndex']],_0x2b2823=this['layer']['chunk'][this['chunkIndex']],_0x51f2b3=_0x51477a+_0x2b2823['from'][this['rangeIndex']];if(this['from']=_0x51f2b3,this['to']=_0x51477a+_0x2b2823['to'][this['rangeIndex']],this['value']=_0x2b2823['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0x367cc7){if(_0x367cc7==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']=_0x367cc7;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x384105){return this['from']-_0x384105['from']||this['startSide']-_0x384105['startSide']||this['rank']-_0x384105['rank']||this['to']-_0x384105['to']||this['endSide']-_0x384105['endSide'];}}class _0x5dc8f6{constructor(_0x476747){this['heap']=_0x476747;}static['from'](_0x5aaa79,_0x37d489=null,_0xb932b1=-0x1){let _0xc4f51a=[];for(let _0x131075=0x0;_0x131075<_0x5aaa79['length'];_0x131075++)for(let _0x3db4c3=_0x5aaa79[_0x131075];!_0x3db4c3['isEmpty'];_0x3db4c3=_0x3db4c3['nextLayer'])_0x3db4c3['maxPoint']>=_0xb932b1&&_0xc4f51a['push'](new _0x4e2a33(_0x3db4c3,_0x37d489,_0xb932b1,_0x131075));return 0x1==_0xc4f51a['length']?_0xc4f51a[0x0]:new _0x5dc8f6(_0xc4f51a);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0x1f7e15,_0x4a226d=-0x3b9aca00){for(let _0x36f4c4 of this['heap'])_0x36f4c4['goto'](_0x1f7e15,_0x4a226d);for(let _0x284326=this['heap']['length']>>0x1;_0x284326>=0x0;_0x284326--)_0x1bb4ae(this['heap'],_0x284326);return this['next'](),this;}['forward'](_0x37036d,_0x2e4d36){for(let _0x259403 of this['heap'])_0x259403['forward'](_0x37036d,_0x2e4d36);for(let _0x368f2d=this['heap']['length']>>0x1;_0x368f2d>=0x0;_0x368f2d--)_0x1bb4ae(this['heap'],_0x368f2d);(this['to']-_0x37036d||this['value']['endSide']-_0x2e4d36)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x2e4df8=this['heap'][0x0];this['from']=_0x2e4df8['from'],this['to']=_0x2e4df8['to'],this['value']=_0x2e4df8['value'],this['rank']=_0x2e4df8['rank'],_0x2e4df8['value']&&_0x2e4df8['next'](),_0x1bb4ae(this['heap'],0x0);}}}function _0x1bb4ae(_0x41c688,_0x5bf070){for(let _0x5443e8=_0x41c688[_0x5bf070];;){let _0x1fe0c3=0x1+(_0x5bf070<<0x1);if(_0x1fe0c3>=_0x41c688['length'])break;let _0x4f8447=_0x41c688[_0x1fe0c3];if(_0x1fe0c3+0x1<_0x41c688['length']&&_0x4f8447['compare'](_0x41c688[_0x1fe0c3+0x1])>=0x0&&(_0x4f8447=_0x41c688[_0x1fe0c3+0x1],_0x1fe0c3++),_0x5443e8['compare'](_0x4f8447)<0x0)break;_0x41c688[_0x1fe0c3]=_0x5443e8,_0x41c688[_0x5bf070]=_0x4f8447,_0x5bf070=_0x1fe0c3;}}class _0x597961{constructor(_0x5d09ca,_0x1c24fa,_0x3c7f44){this['minPoint']=_0x3c7f44,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']=_0x5dc8f6['from'](_0x5d09ca,_0x1c24fa,_0x3c7f44);}['goto'](_0x5bc2df,_0x5f1c06=-0x3b9aca00){return this['cursor']['goto'](_0x5bc2df,_0x5f1c06),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0x5bc2df,this['endSide']=_0x5f1c06,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x3651e8,_0x19e5ac){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x3651e8||this['active'][this['minActive']]['endSide']-_0x19e5ac)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x3651e8,_0x19e5ac);}['removeActive'](_0x5ad849){_0x478d89(this['active'],_0x5ad849),_0x478d89(this['activeTo'],_0x5ad849),_0x478d89(this['activeRank'],_0x5ad849),this['minActive']=_0x1d7334(this['active'],this['activeTo']);}['addActive'](_0x551d0a){let _0x16e242=0x0,{value:_0x34a0a5,to:_0x2b3463,rank:_0x59b40b}=this['cursor'];for(;_0x16e242<this['activeRank']['length']&&(_0x59b40b-this['activeRank'][_0x16e242]||_0x2b3463-this['activeTo'][_0x16e242])>0x0;)_0x16e242++;insert(this['active'],_0x16e242,_0x34a0a5),insert(this['activeTo'],_0x16e242,_0x2b3463),insert(this['activeRank'],_0x16e242,_0x59b40b),_0x551d0a&&insert(_0x551d0a,_0x16e242,this['cursor']['from']),this['minActive']=_0x1d7334(this['active'],this['activeTo']);}['next'](){let _0x5ac63a=this['to'],_0x321e0c=this['point'];this['point']=null;let _0x5b87d7=this['openStart']<0x0?[]:null;for(;;){let _0x4ad014=this['minActive'];if(_0x4ad014>-0x1&&(this['activeTo'][_0x4ad014]-this['cursor']['from']||this['active'][_0x4ad014]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x4ad014]>_0x5ac63a){this['to']=this['activeTo'][_0x4ad014],this['endSide']=this['active'][_0x4ad014]['endSide'];break;}this['removeActive'](_0x4ad014),_0x5b87d7&&_0x478d89(_0x5b87d7,_0x4ad014);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x5ac63a){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x4a96b3=this['cursor']['value'];if(_0x4a96b3['point']){if(!(_0x321e0c&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x4a96b3,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x4a96b3['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0x5b87d7),this['cursor']['next']();}}}if(_0x5b87d7){this['openStart']=0x0;for(let _0x574636=_0x5b87d7['length']-0x1;_0x574636>=0x0&&_0x5b87d7[_0x574636]<_0x5ac63a;_0x574636--)this['openStart']++;}}['activeForPoint'](_0x5d41d8){if(!this['active']['length'])return this['active'];let _0x4fc039=[];for(let _0x2eb48b=this['active']['length']-0x1;_0x2eb48b>=0x0&&!(this['activeRank'][_0x2eb48b]<this['pointRank']);_0x2eb48b--)(this['activeTo'][_0x2eb48b]>_0x5d41d8||this['activeTo'][_0x2eb48b]==_0x5d41d8&&this['active'][_0x2eb48b]['endSide']>=this['point']['endSide'])&&_0x4fc039['push'](this['active'][_0x2eb48b]);return _0x4fc039['reverse']();}['openEnd'](_0x4a0c17){let _0x4fbb21=0x0;for(let _0x146ece=this['activeTo']['length']-0x1;_0x146ece>=0x0&&this['activeTo'][_0x146ece]>_0x4a0c17;_0x146ece--)_0x4fbb21++;return _0x4fbb21;}}function _0x54d9c4(_0x417f6b,_0x490bb9,_0xc8ee6d,_0x4f2fad,_0x2edaa9,_0x1a1d32){_0x417f6b['goto'](_0x490bb9),_0xc8ee6d['goto'](_0x4f2fad);let _0x273f49=_0x4f2fad+_0x2edaa9,_0x141151=_0x4f2fad,_0x2dbf96=_0x4f2fad-_0x490bb9;for(;;){let _0x14358f=_0x417f6b['to']+_0x2dbf96-_0xc8ee6d['to'],_0x3e2cc3=_0x14358f||_0x417f6b['endSide']-_0xc8ee6d['endSide'],_0x4fdb65=_0x3e2cc3<0x0?_0x417f6b['to']+_0x2dbf96:_0xc8ee6d['to'],_0x550a02=Math['min'](_0x4fdb65,_0x273f49);if(_0x417f6b['point']||_0xc8ee6d['point']?_0x417f6b['point']&&_0xc8ee6d['point']&&(_0x417f6b['point']==_0xc8ee6d['point']||_0x417f6b['point']['eq'](_0xc8ee6d['point']))&&_0x498796(_0x417f6b['activeForPoint'](_0x417f6b['to']),_0xc8ee6d['activeForPoint'](_0xc8ee6d['to']))||_0x1a1d32['comparePoint'](_0x141151,_0x550a02,_0x417f6b['point'],_0xc8ee6d['point']):_0x550a02>_0x141151&&!_0x498796(_0x417f6b['active'],_0xc8ee6d['active'])&&_0x1a1d32['compareRange'](_0x141151,_0x550a02,_0x417f6b['active'],_0xc8ee6d['active']),_0x4fdb65>_0x273f49)break;(_0x14358f||_0x417f6b['openEnd']!=_0xc8ee6d['openEnd'])&&_0x1a1d32['boundChange']&&_0x1a1d32['boundChange'](_0x4fdb65),_0x141151=_0x4fdb65,_0x3e2cc3<=0x0&&_0x417f6b['next'](),_0x3e2cc3>=0x0&&_0xc8ee6d['next']();}}function _0x498796(_0x248215,_0x26bdad){if(_0x248215['length']!=_0x26bdad['length'])return!0x1;for(let _0x3c306e=0x0;_0x3c306e<_0x248215['length'];_0x3c306e++)if(_0x248215[_0x3c306e]!=_0x26bdad[_0x3c306e]&&!_0x248215[_0x3c306e]['eq'](_0x26bdad[_0x3c306e]))return!0x1;return!0x0;}function _0x478d89(_0x3d3705,_0x46d7b4){for(let _0x132a54=_0x46d7b4,_0xdb17b6=_0x3d3705['length']-0x1;_0x132a54<_0xdb17b6;_0x132a54++)_0x3d3705[_0x132a54]=_0x3d3705[_0x132a54+0x1];_0x3d3705['pop']();}function insert(_0x44eb2a,_0x344e11,_0x29ce01){for(let _0x3453b0=_0x44eb2a['length']-0x1;_0x3453b0>=_0x344e11;_0x3453b0--)_0x44eb2a[_0x3453b0+0x1]=_0x44eb2a[_0x3453b0];_0x44eb2a[_0x344e11]=_0x29ce01;}function _0x1d7334(_0x4e9c8a,_0x159df2){let _0x655c64=-0x1,_0x35c367=0x3b9aca00;for(let _0x3e3804=0x0;_0x3e3804<_0x159df2['length'];_0x3e3804++)(_0x159df2[_0x3e3804]-_0x35c367||_0x4e9c8a[_0x3e3804]['endSide']-_0x4e9c8a[_0x655c64]['endSide'])<0x0&&(_0x655c64=_0x3e3804,_0x35c367=_0x159df2[_0x3e3804]);return _0x655c64;}function countColumn(_0x5d353a,_0x5e2464,_0x399346=_0x5d353a['length']){let _0x52f81e=0x0;for(let _0x36fd17=0x0;_0x36fd17<_0x399346&&_0x36fd17<_0x5d353a['length'];)0x9==_0x5d353a['charCodeAt'](_0x36fd17)?(_0x52f81e+=_0x5e2464-_0x52f81e%_0x5e2464,_0x36fd17++):(_0x52f81e++,_0x36fd17=findClusterBreak(_0x5d353a,_0x36fd17));return _0x52f81e;}function _0x4f5fb3(_0xa71cd1,_0x54393f,_0x2484c0,_0x5405bc){for(let _0x960251=0x0,_0x170a84=0x0;;){if(_0x170a84>=_0x54393f)return _0x960251;if(_0x960251==_0xa71cd1['length'])break;_0x170a84+=0x9==_0xa71cd1['charCodeAt'](_0x960251)?_0x2484c0-_0x170a84%_0x2484c0:0x1,_0x960251=findClusterBreak(_0xa71cd1,_0x960251);}return!0x0===_0x5405bc?-0x1:_0xa71cd1['length'];}const _0x5a8a8e='ͼ',_0x159163='undefined'==typeof Symbol?'__'+_0x5a8a8e:Symbol['for'](_0x5a8a8e),_0x436ab8='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),top='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};class StyleModule{constructor(_0x432e21,_0xb82d1d){this['rules']=[];let {finish:_0x4154ab}=_0xb82d1d||{};function _0x1107e3(_0x4d1f4b){return/^@/['test'](_0x4d1f4b)?[_0x4d1f4b]:_0x4d1f4b['split'](/,\s*/);}function _0x5c5675(_0x20b086,_0x261b0c,_0x3da36e,_0x50ed32){let _0x57b537=[],_0x3aea94=/^@(\w+)\b/['exec'](_0x20b086[0x0]),_0x56da8d=_0x3aea94&&'keyframes'==_0x3aea94[0x1];if(_0x3aea94&&null==_0x261b0c)return _0x3da36e['push'](_0x20b086[0x0]+';');for(let _0x5b76b0 in _0x261b0c){let _0x162386=_0x261b0c[_0x5b76b0];if(/&/['test'](_0x5b76b0))_0x5c5675(_0x5b76b0['split'](/,\s*/)['map'](_0x9c88b1=>_0x20b086['map'](_0x41055c=>_0x9c88b1['replace'](/&/,_0x41055c)))['reduce']((_0x1f4a61,_0x36cec6)=>_0x1f4a61['concat'](_0x36cec6)),_0x162386,_0x3da36e);else{if(_0x162386&&'object'==typeof _0x162386){if(!_0x3aea94)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0x5b76b0+')\x20should\x20be\x20a\x20primitive\x20value.');_0x5c5675(_0x1107e3(_0x5b76b0),_0x162386,_0x57b537,_0x56da8d);}else null!=_0x162386&&_0x57b537['push'](_0x5b76b0['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0x29f4b6=>'-'+_0x29f4b6['toLowerCase']())+':\x20'+_0x162386+';');}}(_0x57b537['length']||_0x56da8d)&&_0x3da36e['push']((!_0x4154ab||_0x3aea94||_0x50ed32?_0x20b086:_0x20b086['map'](_0x4154ab))['join'](',\x20')+'\x20{'+_0x57b537['join']('\x20')+'}');}for(let _0xba35ac in _0x432e21)_0x5c5675(_0x1107e3(_0xba35ac),_0x432e21[_0xba35ac],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0x33472c=top[_0x159163]||0x1;return top[_0x159163]=_0x33472c+0x1,_0x5a8a8e+_0x33472c['toString'](0x24);}static['mount'](_0x4cea85,_0x4ceb6f,_0x23a8fa){let _0x15a621=_0x4cea85[_0x436ab8],_0x441e74=_0x23a8fa&&_0x23a8fa['nonce'];_0x15a621?_0x441e74&&_0x15a621['setNonce'](_0x441e74):_0x15a621=new StyleSet(_0x4cea85,_0x441e74),_0x15a621['mount'](Array['isArray'](_0x4ceb6f)?_0x4ceb6f:[_0x4ceb6f],_0x4cea85);}}let adoptedSet=new Map();class StyleSet{constructor(_0x4ec092,_0xb8b897){let _0x7ff6f2=_0x4ec092['ownerDocument']||_0x4ec092,_0x420876=_0x7ff6f2['defaultView'];if(!_0x4ec092['head']&&_0x4ec092['adoptedStyleSheets']&&_0x420876['CSSStyleSheet']){let _0x532fa9=adoptedSet['get'](_0x7ff6f2);if(_0x532fa9)return _0x4ec092[_0x436ab8]=_0x532fa9;this['sheet']=new _0x420876['CSSStyleSheet'](),adoptedSet['set'](_0x7ff6f2,this);}else this['styleTag']=_0x7ff6f2['createElement']('style'),_0xb8b897&&this['styleTag']['setAttribute']('nonce',_0xb8b897);this['modules']=[],_0x4ec092[_0x436ab8]=this;}['mount'](_0x4e9b0f,_0x50d0c4){let _0x264263=this['sheet'],_0x5e0879=0x0,_0x24fcd8=0x0;for(let _0x271054=0x0;_0x271054<_0x4e9b0f['length'];_0x271054++){let _0x2faf5a=_0x4e9b0f[_0x271054],_0x423847=this['modules']['indexOf'](_0x2faf5a);if(_0x423847<_0x24fcd8&&_0x423847>-0x1&&(this['modules']['splice'](_0x423847,0x1),_0x24fcd8--,_0x423847=-0x1),-0x1==_0x423847){if(this['modules']['splice'](_0x24fcd8++,0x0,_0x2faf5a),_0x264263){for(let _0x443b08=0x0;_0x443b08<_0x2faf5a['rules']['length'];_0x443b08++)_0x264263['insertRule'](_0x2faf5a['rules'][_0x443b08],_0x5e0879++);}}else{for(;_0x24fcd8<_0x423847;)_0x5e0879+=this['modules'][_0x24fcd8++]['rules']['length'];_0x5e0879+=_0x2faf5a['rules']['length'],_0x24fcd8++;}}if(_0x264263)_0x50d0c4['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x50d0c4['adoptedStyleSheets']=[this['sheet'],..._0x50d0c4['adoptedStyleSheets']]);else{let _0x57c784='';for(let _0x3cfeda=0x0;_0x3cfeda<this['modules']['length'];_0x3cfeda++)_0x57c784+=this['modules'][_0x3cfeda]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x57c784;let _0x5305cd=_0x50d0c4['head']||_0x50d0c4;this['styleTag']['parentNode']!=_0x5305cd&&_0x5305cd['insertBefore'](this['styleTag'],_0x5305cd['firstChild']);}}['setNonce'](_0x4043f2){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0x4043f2&&this['styleTag']['setAttribute']('nonce',_0x4043f2);}}for(var _0x270d26={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'},_0x5f4c37='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),_0x3dc31f='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),_0x541b11=0x0;_0x541b11<0xa;_0x541b11++)_0x270d26[0x30+_0x541b11]=_0x270d26[0x60+_0x541b11]=String(_0x541b11);for(var _0x541b11=0x1;_0x541b11<=0x18;_0x541b11++)_0x270d26[_0x541b11+0x6f]='F'+_0x541b11;for(var _0x541b11=0x41;_0x541b11<=0x5a;_0x541b11++)_0x270d26[_0x541b11]=String['fromCharCode'](_0x541b11+0x20),shift[_0x541b11]=String['fromCharCode'](_0x541b11);for(var _0xf02285 in _0x270d26)shift['hasOwnProperty'](_0xf02285)||(shift[_0xf02285]=_0x270d26[_0xf02285]);function _0x3930ce(_0xa483cb){var _0xf28250=!(_0x5f4c37&&_0xa483cb['metaKey']&&_0xa483cb['shiftKey']&&!_0xa483cb['ctrlKey']&&!_0xa483cb['altKey']||_0x3dc31f&&_0xa483cb['shiftKey']&&_0xa483cb['key']&&0x1==_0xa483cb['key']['length']||'Unidentified'==_0xa483cb['key'])&&_0xa483cb['key']||(_0xa483cb['shiftKey']?shift:_0x270d26)[_0xa483cb['keyCode']]||_0xa483cb['key']||'Unidentified';return'Esc'==_0xf28250&&(_0xf28250='Escape'),'Del'==_0xf28250&&(_0xf28250='Delete'),'Left'==_0xf28250&&(_0xf28250='ArrowLeft'),'Up'==_0xf28250&&(_0xf28250='ArrowUp'),'Right'==_0xf28250&&(_0xf28250='ArrowRight'),'Down'==_0xf28250&&(_0xf28250='ArrowDown'),_0xf28250;}let _0x286082='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},_0x54a772='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const _0x23810b=/Edge\/(\d+)/['exec'](_0x286082['userAgent']),ie_upto10=/MSIE \d/['test'](_0x286082['userAgent']),_0x39a0e6=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](_0x286082['userAgent']),_0x1fb122=!!(ie_upto10||_0x39a0e6||_0x23810b),_0x2f35cb=!_0x1fb122&&/gecko\/(\d+)/i['test'](_0x286082['userAgent']),_0x56c068=!_0x1fb122&&/Chrome\/(\d+)/['exec'](_0x286082['userAgent']),webkit='webkitFontSmoothing'in _0x54a772['documentElement']['style'],_0x4b6b9a=!_0x1fb122&&/Apple Computer/['test'](_0x286082['vendor']),_0x83ca31=_0x4b6b9a&&(/Mobile\/\w+/['test'](_0x286082['userAgent'])||_0x286082['maxTouchPoints']>0x2);var _0x4ac4fc={'mac':_0x83ca31||/Mac/['test'](_0x286082['platform']),'windows':/Win/['test'](_0x286082['platform']),'linux':/Linux|X11/['test'](_0x286082['platform']),'ie':_0x1fb122,'ie_version':ie_upto10?_0x54a772['documentMode']||0x6:_0x39a0e6?+_0x39a0e6[0x1]:_0x23810b?+_0x23810b[0x1]:0x0,'gecko':_0x2f35cb,'gecko_version':_0x2f35cb?+(/Firefox\/(\d+)/['exec'](_0x286082['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!_0x56c068,'chrome_version':_0x56c068?+_0x56c068[0x1]:0x0,'ios':_0x83ca31,'android':/Android\b/['test'](_0x286082['userAgent']),'webkit_version':webkit?+(/\bAppleWebKit\/(\d+)/['exec'](_0x286082['userAgent'])||[0x0,0x0])[0x1]:0x0,'safari':_0x4b6b9a,'safari_version':_0x4b6b9a?+(/\bVersion\/(\d+(\.\d+)?)/['exec'](_0x286082['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=_0x54a772['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};function getSelection(_0x37b475){let _0x353dda;return _0x353dda=0xb==_0x37b475['nodeType']?_0x37b475['getSelection']?_0x37b475:_0x37b475['ownerDocument']:_0x37b475,_0x353dda['getSelection']();}function contains(_0x4b40dc,_0x4d0462){return!!_0x4d0462&&(_0x4b40dc==_0x4d0462||_0x4b40dc['contains'](0x1!=_0x4d0462['nodeType']?_0x4d0462['parentNode']:_0x4d0462));}function hasSelection(_0x751ba2,_0x1f6407){if(!_0x1f6407['anchorNode'])return!0x1;try{return contains(_0x751ba2,_0x1f6407['anchorNode']);}catch(_0x3f358b){return!0x1;}}function clientRectsFor(_0x3b5f4c){return 0x3==_0x3b5f4c['nodeType']?textRange(_0x3b5f4c,0x0,_0x3b5f4c['nodeValue']['length'])['getClientRects']():0x1==_0x3b5f4c['nodeType']?_0x3b5f4c['getClientRects']():[];}function isEquivalentPosition(_0x5f8b00,_0x108332,_0x14333d,_0x2b596c){return!!_0x14333d&&(_0x448b75(_0x5f8b00,_0x108332,_0x14333d,_0x2b596c,-0x1)||_0x448b75(_0x5f8b00,_0x108332,_0x14333d,_0x2b596c,0x1));}function _0x1923e3(_0x34cbe3){for(var _0x1f6a8a=0x0;;_0x1f6a8a++)if(!(_0x34cbe3=_0x34cbe3['previousSibling']))return _0x1f6a8a;}function isBlockElement(_0x13a820){return 0x1==_0x13a820['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0x13a820['nodeName']);}function _0x448b75(_0x1d8a56,_0x43cf27,_0xe78667,_0x575502,_0x35fdac){for(;;){if(_0x1d8a56==_0xe78667&&_0x43cf27==_0x575502)return!0x0;if(_0x43cf27==(_0x35fdac<0x0?0x0:maxOffset(_0x1d8a56))){if('DIV'==_0x1d8a56['nodeName'])return!0x1;let _0x449100=_0x1d8a56['parentNode'];if(!_0x449100||0x1!=_0x449100['nodeType'])return!0x1;_0x43cf27=_0x1923e3(_0x1d8a56)+(_0x35fdac<0x0?0x0:0x1),_0x1d8a56=_0x449100;}else{if(0x1!=_0x1d8a56['nodeType'])return!0x1;if(0x1==(_0x1d8a56=_0x1d8a56['childNodes'][_0x43cf27+(_0x35fdac<0x0?-0x1:0x0)])['nodeType']&&'false'==_0x1d8a56['contentEditable'])return!0x1;_0x43cf27=_0x35fdac<0x0?maxOffset(_0x1d8a56):0x0;}}}function maxOffset(_0x3a26e9){return 0x3==_0x3a26e9['nodeType']?_0x3a26e9['nodeValue']['length']:_0x3a26e9['childNodes']['length'];}function flattenRect(_0x18b8c7,_0x18218e){let _0x295a4a=_0x18218e?_0x18b8c7['left']:_0x18b8c7['right'];return{'left':_0x295a4a,'right':_0x295a4a,'top':_0x18b8c7['top'],'bottom':_0x18b8c7['bottom']};}function windowRect(_0xc72bbb){let _0x1e9d67=_0xc72bbb['visualViewport'];return _0x1e9d67?{'left':0x0,'right':_0x1e9d67['width'],'top':0x0,'bottom':_0x1e9d67['height']}:{'left':0x0,'right':_0xc72bbb['innerWidth'],'top':0x0,'bottom':_0xc72bbb['innerHeight']};}function getScale(_0x5a060a,_0x58f080){let _0x308a10=_0x58f080['width']/_0x5a060a['offsetWidth'],_0x332794=_0x58f080['height']/_0x5a060a['offsetHeight'];return(_0x308a10>0.995&&_0x308a10<1.005||!isFinite(_0x308a10)||Math['abs'](_0x58f080['width']-_0x5a060a['offsetWidth'])<0x1)&&(_0x308a10=0x1),(_0x332794>0.995&&_0x332794<1.005||!isFinite(_0x332794)||Math['abs'](_0x58f080['height']-_0x5a060a['offsetHeight'])<0x1)&&(_0x332794=0x1),{'scaleX':_0x308a10,'scaleY':_0x332794};}function scrollRectIntoView(_0x260e35,_0x3e2e43,_0x522770,_0x3c282b,_0x1e0169,_0x4855eb,_0x274940,_0x5f343b){let _0x22557d=_0x260e35['ownerDocument'],_0x1f2e4=_0x22557d['defaultView']||window;for(let _0x33be5a=_0x260e35,_0x1856ee=!0x1;_0x33be5a&&!_0x1856ee;)if(0x1==_0x33be5a['nodeType']){let _0x14dc63,_0x1d3082=_0x33be5a==_0x22557d['body'],_0xcde92c=0x1,_0x944d6c=0x1;if(_0x1d3082)_0x14dc63=windowRect(_0x1f2e4);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x33be5a)['position'])&&(_0x1856ee=!0x0),_0x33be5a['scrollHeight']<=_0x33be5a['clientHeight']&&_0x33be5a['scrollWidth']<=_0x33be5a['clientWidth']){_0x33be5a=_0x33be5a['assignedSlot']||_0x33be5a['parentNode'];continue;}let _0x448f49=_0x33be5a['getBoundingClientRect']();({scaleX:_0xcde92c,scaleY:_0x944d6c}=getScale(_0x33be5a,_0x448f49),_0x14dc63={'left':_0x448f49['left'],'right':_0x448f49['left']+_0x33be5a['clientWidth']*_0xcde92c,'top':_0x448f49['top'],'bottom':_0x448f49['top']+_0x33be5a['clientHeight']*_0x944d6c});}let _0x4d03dc=0x0,_0x265961=0x0;if('nearest'==_0x1e0169)_0x3e2e43['top']<_0x14dc63['top']?(_0x265961=_0x3e2e43['top']-(_0x14dc63['top']+_0x274940),_0x522770>0x0&&_0x3e2e43['bottom']>_0x14dc63['bottom']+_0x265961&&(_0x265961=_0x3e2e43['bottom']-_0x14dc63['bottom']+_0x274940)):_0x3e2e43['bottom']>_0x14dc63['bottom']&&(_0x265961=_0x3e2e43['bottom']-_0x14dc63['bottom']+_0x274940,_0x522770<0x0&&_0x3e2e43['top']-_0x265961<_0x14dc63['top']&&(_0x265961=_0x3e2e43['top']-(_0x14dc63['top']+_0x274940)));else{let _0x4e6c5c=_0x3e2e43['bottom']-_0x3e2e43['top'],_0x1a1b4c=_0x14dc63['bottom']-_0x14dc63['top'];_0x265961=('center'==_0x1e0169&&_0x4e6c5c<=_0x1a1b4c?_0x3e2e43['top']+_0x4e6c5c/0x2-_0x1a1b4c/0x2:'start'==_0x1e0169||'center'==_0x1e0169&&_0x522770<0x0?_0x3e2e43['top']-_0x274940:_0x3e2e43['bottom']-_0x1a1b4c+_0x274940)-_0x14dc63['top'];}if('nearest'==_0x3c282b)_0x3e2e43['left']<_0x14dc63['left']?(_0x4d03dc=_0x3e2e43['left']-(_0x14dc63['left']+_0x4855eb),_0x522770>0x0&&_0x3e2e43['right']>_0x14dc63['right']+_0x4d03dc&&(_0x4d03dc=_0x3e2e43['right']-_0x14dc63['right']+_0x4855eb)):_0x3e2e43['right']>_0x14dc63['right']&&(_0x4d03dc=_0x3e2e43['right']-_0x14dc63['right']+_0x4855eb,_0x522770<0x0&&_0x3e2e43['left']<_0x14dc63['left']+_0x4d03dc&&(_0x4d03dc=_0x3e2e43['left']-(_0x14dc63['left']+_0x4855eb)));else _0x4d03dc=('center'==_0x3c282b?_0x3e2e43['left']+(_0x3e2e43['right']-_0x3e2e43['left'])/0x2-(_0x14dc63['right']-_0x14dc63['left'])/0x2:'start'==_0x3c282b==_0x5f343b?_0x3e2e43['left']-_0x4855eb:_0x3e2e43['right']-(_0x14dc63['right']-_0x14dc63['left'])+_0x4855eb)-_0x14dc63['left'];if(_0x4d03dc||_0x265961){if(_0x1d3082)_0x1f2e4['scrollBy'](_0x4d03dc,_0x265961);else{let _0xc1f8c=0x0,_0x56c4e5=0x0;if(_0x265961){let _0x5554ec=_0x33be5a['scrollTop'];_0x33be5a['scrollTop']+=_0x265961/_0x944d6c,_0x56c4e5=(_0x33be5a['scrollTop']-_0x5554ec)*_0x944d6c;}if(_0x4d03dc){let _0x162f27=_0x33be5a['scrollLeft'];_0x33be5a['scrollLeft']+=_0x4d03dc/_0xcde92c,_0xc1f8c=(_0x33be5a['scrollLeft']-_0x162f27)*_0xcde92c;}_0x3e2e43={'left':_0x3e2e43['left']-_0xc1f8c,'top':_0x3e2e43['top']-_0x56c4e5,'right':_0x3e2e43['right']-_0xc1f8c,'bottom':_0x3e2e43['bottom']-_0x56c4e5},_0xc1f8c&&Math['abs'](_0xc1f8c-_0x4d03dc)<0x1&&(_0x3c282b='nearest'),_0x56c4e5&&Math['abs'](_0x56c4e5-_0x265961)<0x1&&(_0x1e0169='nearest');}}if(_0x1d3082)break;(_0x3e2e43['top']<_0x14dc63['top']||_0x3e2e43['bottom']>_0x14dc63['bottom']||_0x3e2e43['left']<_0x14dc63['left']||_0x3e2e43['right']>_0x14dc63['right'])&&(_0x3e2e43={'left':Math['max'](_0x3e2e43['left'],_0x14dc63['left']),'right':Math['min'](_0x3e2e43['right'],_0x14dc63['right']),'top':Math['max'](_0x3e2e43['top'],_0x14dc63['top']),'bottom':Math['min'](_0x3e2e43['bottom'],_0x14dc63['bottom'])}),_0x33be5a=_0x33be5a['assignedSlot']||_0x33be5a['parentNode'];}else{if(0xb!=_0x33be5a['nodeType'])break;_0x33be5a=_0x33be5a['host'];}}function scrollableParents(_0x27081d){let _0x3d0ce3,_0x298ee7,_0x1d2bcd=_0x27081d['ownerDocument'];for(let _0x1e7519=_0x27081d['parentNode'];_0x1e7519&&!(_0x1e7519==_0x1d2bcd['body']||_0x3d0ce3&&_0x298ee7);)if(0x1==_0x1e7519['nodeType'])!_0x298ee7&&_0x1e7519['scrollHeight']>_0x1e7519['clientHeight']&&(_0x298ee7=_0x1e7519),!_0x3d0ce3&&_0x1e7519['scrollWidth']>_0x1e7519['clientWidth']&&(_0x3d0ce3=_0x1e7519),_0x1e7519=_0x1e7519['assignedSlot']||_0x1e7519['parentNode'];else{if(0xb!=_0x1e7519['nodeType'])break;_0x1e7519=_0x1e7519['host'];}return{'x':_0x3d0ce3,'y':_0x298ee7};}class DOMSelectionState{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x566310){return this['anchorNode']==_0x566310['anchorNode']&&this['anchorOffset']==_0x566310['anchorOffset']&&this['focusNode']==_0x566310['focusNode']&&this['focusOffset']==_0x566310['focusOffset'];}['setRange'](_0x1e5593){let {anchorNode:_0x40487e,focusNode:_0x13bd6d}=_0x1e5593;this['set'](_0x40487e,Math['min'](_0x1e5593['anchorOffset'],_0x40487e?maxOffset(_0x40487e):0x0),_0x13bd6d,Math['min'](_0x1e5593['focusOffset'],_0x13bd6d?maxOffset(_0x13bd6d):0x0));}['set'](_0x1b32df,_0x425e6f,_0x3691dd,_0x5253bd){this['anchorNode']=_0x1b32df,this['anchorOffset']=_0x425e6f,this['focusNode']=_0x3691dd,this['focusOffset']=_0x5253bd;}}let preventScrollSupported=null,scratchRange;function focusPreventScroll(_0x3d66f6){if(_0x3d66f6['setActive'])return _0x3d66f6['setActive']();if(preventScrollSupported)return _0x3d66f6['focus'](preventScrollSupported);let _0x5ac70a=[];for(let _0x12091d=_0x3d66f6;_0x12091d&&(_0x5ac70a['push'](_0x12091d,_0x12091d['scrollTop'],_0x12091d['scrollLeft']),_0x12091d!=_0x12091d['ownerDocument']);_0x12091d=_0x12091d['parentNode']);if(_0x3d66f6['focus'](null==preventScrollSupported?{get 'preventScroll'(){return preventScrollSupported={'preventScroll':!0x0},!0x0;}}:void 0x0),!preventScrollSupported){preventScrollSupported=!0x1;for(let _0x39f98b=0x0;_0x39f98b<_0x5ac70a['length'];){let _0x4c16fa=_0x5ac70a[_0x39f98b++],_0x466771=_0x5ac70a[_0x39f98b++],_0xa1cdc1=_0x5ac70a[_0x39f98b++];_0x4c16fa['scrollTop']!=_0x466771&&(_0x4c16fa['scrollTop']=_0x466771),_0x4c16fa['scrollLeft']!=_0xa1cdc1&&(_0x4c16fa['scrollLeft']=_0xa1cdc1);}}}function textRange(_0x10129d,_0x54b63f,_0xb4beec=_0x54b63f){let _0x530fe4=scratchRange||(scratchRange=document['createRange']());return _0x530fe4['setEnd'](_0x10129d,_0xb4beec),_0x530fe4['setStart'](_0x10129d,_0x54b63f),_0x530fe4;}function dispatchKey(_0x6e78d6,_0x30ec7a,_0x2f81c6,_0x136a80){let _0x4ff56d={'key':_0x30ec7a,'code':_0x30ec7a,'keyCode':_0x2f81c6,'which':_0x2f81c6,'cancelable':!0x0};_0x136a80&&({altKey:_0x4ff56d['altKey'],ctrlKey:_0x4ff56d['ctrlKey'],shiftKey:_0x4ff56d['shiftKey'],metaKey:_0x4ff56d['metaKey']}=_0x136a80);let _0x5c0848=new KeyboardEvent('keydown',_0x4ff56d);_0x5c0848['synthetic']=!0x0,_0x6e78d6['dispatchEvent'](_0x5c0848);let _0x20868a=new KeyboardEvent('keyup',_0x4ff56d);return _0x20868a['synthetic']=!0x0,_0x6e78d6['dispatchEvent'](_0x20868a),_0x5c0848['defaultPrevented']||_0x20868a['defaultPrevented'];}function getRoot(_0x52d34f){for(;_0x52d34f;){if(_0x52d34f&&(0x9==_0x52d34f['nodeType']||0xb==_0x52d34f['nodeType']&&_0x52d34f['host']))return _0x52d34f;_0x52d34f=_0x52d34f['assignedSlot']||_0x52d34f['parentNode'];}return null;}function clearAttributes(_0x5ad086){for(;_0x5ad086['attributes']['length'];)_0x5ad086['removeAttributeNode'](_0x5ad086['attributes'][0x0]);}function atElementStart(_0x5a79c8,_0x4bfa1e){let _0x149702=_0x4bfa1e['focusNode'],_0x5d32e8=_0x4bfa1e['focusOffset'];if(!_0x149702||_0x4bfa1e['anchorNode']!=_0x149702||_0x4bfa1e['anchorOffset']!=_0x5d32e8)return!0x1;for(_0x5d32e8=Math['min'](_0x5d32e8,maxOffset(_0x149702));;)if(_0x5d32e8){if(0x1!=_0x149702['nodeType'])return!0x1;let _0x56af52=_0x149702['childNodes'][_0x5d32e8-0x1];'false'==_0x56af52['contentEditable']?_0x5d32e8--:(_0x149702=_0x56af52,_0x5d32e8=maxOffset(_0x149702));}else{if(_0x149702==_0x5a79c8)return!0x0;_0x5d32e8=_0x1923e3(_0x149702),_0x149702=_0x149702['parentNode'];}}function isScrolledToBottom(_0x4f7258){return _0x4f7258['scrollTop']>Math['max'](0x1,_0x4f7258['scrollHeight']-_0x4f7258['clientHeight']-0x4);}function textNodeBefore(_0x1a0818,_0xbeda07){for(let _0x49f344=_0x1a0818,_0x51d742=_0xbeda07;;){if(0x3==_0x49f344['nodeType']&&_0x51d742>0x0)return{'node':_0x49f344,'offset':_0x51d742};if(0x1==_0x49f344['nodeType']&&_0x51d742>0x0){if('false'==_0x49f344['contentEditable'])return null;_0x49f344=_0x49f344['childNodes'][_0x51d742-0x1],_0x51d742=maxOffset(_0x49f344);}else{if(!_0x49f344['parentNode']||isBlockElement(_0x49f344))return null;_0x51d742=_0x1923e3(_0x49f344),_0x49f344=_0x49f344['parentNode'];}}}function textNodeAfter(_0x4c68b6,_0x12bc4f){for(let _0x2653f1=_0x4c68b6,_0x181a22=_0x12bc4f;;){if(0x3==_0x2653f1['nodeType']&&_0x181a22<_0x2653f1['nodeValue']['length'])return{'node':_0x2653f1,'offset':_0x181a22};if(0x1==_0x2653f1['nodeType']&&_0x181a22<_0x2653f1['childNodes']['length']){if('false'==_0x2653f1['contentEditable'])return null;_0x2653f1=_0x2653f1['childNodes'][_0x181a22],_0x181a22=0x0;}else{if(!_0x2653f1['parentNode']||isBlockElement(_0x2653f1))return null;_0x181a22=_0x1923e3(_0x2653f1)+0x1,_0x2653f1=_0x2653f1['parentNode'];}}}_0x4ac4fc['safari']&&_0x4ac4fc['safari_version']>=0x1a&&(preventScrollSupported=!0x1);class _0x56c1e2{constructor(_0x4be7b4,_0x6cd8f0,_0x5074c4=!0x0){this['node']=_0x4be7b4,this['offset']=_0x6cd8f0,this['precise']=_0x5074c4;}static['before'](_0x4c67b2,_0x1e9c67){return new _0x56c1e2(_0x4c67b2['parentNode'],_0x1923e3(_0x4c67b2),_0x1e9c67);}static['after'](_0x373687,_0xb181){return new _0x56c1e2(_0x373687['parentNode'],_0x1923e3(_0x373687)+0x1,_0xb181);}}const _0x477e01=[];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'](_0xb79e8f){let _0x2dbce7=this['posAtStart'];for(let _0xd402d6 of this['children']){if(_0xd402d6==_0xb79e8f)return _0x2dbce7;_0x2dbce7+=_0xd402d6['length']+_0xd402d6['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x314474){return this['posBefore'](_0x314474)+_0x314474['length'];}['sync'](_0x511113,_0x4903d8){if(0x2&this['flags']){let _0x1bb60c,_0x4eb116=this['dom'],_0x249d78=null;for(let _0x28c666 of this['children']){if(0x7&_0x28c666['flags']){if(!_0x28c666['dom']&&(_0x1bb60c=_0x249d78?_0x249d78['nextSibling']:_0x4eb116['firstChild'])){let _0x3b6fad=ContentView['get'](_0x1bb60c);(!_0x3b6fad||!_0x3b6fad['parent']&&_0x3b6fad['canReuseDOM'](_0x28c666))&&_0x28c666['reuseDOM'](_0x1bb60c);}_0x28c666['sync'](_0x511113,_0x4903d8),_0x28c666['flags']&=-0x8;}if(_0x1bb60c=_0x249d78?_0x249d78['nextSibling']:_0x4eb116['firstChild'],_0x4903d8&&!_0x4903d8['written']&&_0x4903d8['node']==_0x4eb116&&_0x1bb60c!=_0x28c666['dom']&&(_0x4903d8['written']=!0x0),_0x28c666['dom']['parentNode']==_0x4eb116){for(;_0x1bb60c&&_0x1bb60c!=_0x28c666['dom'];)_0x1bb60c=_0x4ccd3e(_0x1bb60c);}else _0x4eb116['insertBefore'](_0x28c666['dom'],_0x1bb60c);_0x249d78=_0x28c666['dom'];}for(_0x1bb60c=_0x249d78?_0x249d78['nextSibling']:_0x4eb116['firstChild'],_0x1bb60c&&_0x4903d8&&_0x4903d8['node']==_0x4eb116&&(_0x4903d8['written']=!0x0);_0x1bb60c;)_0x1bb60c=_0x4ccd3e(_0x1bb60c);}else{if(0x1&this['flags']){for(let _0x3bc85d of this['children'])0x7&_0x3bc85d['flags']&&(_0x3bc85d['sync'](_0x511113,_0x4903d8),_0x3bc85d['flags']&=-0x8);}}}['reuseDOM'](_0x270169){}['localPosFromDOM'](_0x861b56,_0x54d762){let _0x1be0d6;if(_0x861b56==this['dom'])_0x1be0d6=this['dom']['childNodes'][_0x54d762];else{let _0x4a344d=0x0==maxOffset(_0x861b56)?0x0:0x0==_0x54d762?-0x1:0x1;for(;;){let _0x5c2fd6=_0x861b56['parentNode'];if(_0x5c2fd6==this['dom'])break;0x0==_0x4a344d&&_0x5c2fd6['firstChild']!=_0x5c2fd6['lastChild']&&(_0x4a344d=_0x861b56==_0x5c2fd6['firstChild']?-0x1:0x1),_0x861b56=_0x5c2fd6;}_0x1be0d6=_0x4a344d<0x0?_0x861b56:_0x861b56['nextSibling'];}if(_0x1be0d6==this['dom']['firstChild'])return 0x0;for(;_0x1be0d6&&!ContentView['get'](_0x1be0d6);)_0x1be0d6=_0x1be0d6['nextSibling'];if(!_0x1be0d6)return this['length'];for(let _0x52929f=0x0,_0x2362e2=0x0;;_0x52929f++){let _0xe0540f=this['children'][_0x52929f];if(_0xe0540f['dom']==_0x1be0d6)return _0x2362e2;_0x2362e2+=_0xe0540f['length']+_0xe0540f['breakAfter'];}}['domBoundsAround'](_0x483c52,_0xbd62c4,_0x2c0e9d=0x0){let _0x24e0e9=-0x1,_0x4dfbcb=-0x1,_0x562cff=-0x1,_0x4bb28e=-0x1;for(let _0x58218c=0x0,_0x6799e0=_0x2c0e9d,_0x1f026c=_0x2c0e9d;_0x58218c<this['children']['length'];_0x58218c++){let _0xc773d=this['children'][_0x58218c],_0xb4f6a1=_0x6799e0+_0xc773d['length'];if(_0x6799e0<_0x483c52&&_0xb4f6a1>_0xbd62c4)return _0xc773d['domBoundsAround'](_0x483c52,_0xbd62c4,_0x6799e0);if(_0xb4f6a1>=_0x483c52&&-0x1==_0x24e0e9&&(_0x24e0e9=_0x58218c,_0x4dfbcb=_0x6799e0),_0x6799e0>_0xbd62c4&&_0xc773d['dom']['parentNode']==this['dom']){_0x562cff=_0x58218c,_0x4bb28e=_0x1f026c;break;}_0x1f026c=_0xb4f6a1,_0x6799e0=_0xb4f6a1+_0xc773d['breakAfter'];}return{'from':_0x4dfbcb,'to':_0x4bb28e<0x0?_0x2c0e9d+this['length']:_0x4bb28e,'startDOM':(_0x24e0e9?this['children'][_0x24e0e9-0x1]['dom']['nextSibling']:null)||this['dom']['firstChild'],'endDOM':_0x562cff<this['children']['length']&&_0x562cff>=0x0?this['children'][_0x562cff]['dom']:null};}['markDirty'](_0x40709b=!0x1){this['flags']|=0x2,this['markParentsDirty'](_0x40709b);}['markParentsDirty'](_0x59f131){for(let _0x137330=this['parent'];_0x137330;_0x137330=_0x137330['parent']){if(_0x59f131&&(_0x137330['flags']|=0x2),0x1&_0x137330['flags'])return;_0x137330['flags']|=0x1,_0x59f131=!0x1;}}['setParent'](_0x23acc6){this['parent']!=_0x23acc6&&(this['parent']=_0x23acc6,0x7&this['flags']&&this['markParentsDirty'](!0x0));}['setDOM'](_0x421226){this['dom']!=_0x421226&&(this['dom']&&(this['dom']['cmView']=null),this['dom']=_0x421226,_0x421226['cmView']=this);}get['rootView'](){for(let _0x3deeaa=this;;){let _0x5c9e18=_0x3deeaa['parent'];if(!_0x5c9e18)return _0x3deeaa;_0x3deeaa=_0x5c9e18;}}['replaceChildren'](_0x20a077,_0x47b93c,_0x3dde7f=_0x477e01){this['markDirty']();for(let _0x5bd12c=_0x20a077;_0x5bd12c<_0x47b93c;_0x5bd12c++){let _0x1ae2bb=this['children'][_0x5bd12c];_0x1ae2bb['parent']==this&&_0x3dde7f['indexOf'](_0x1ae2bb)<0x0&&_0x1ae2bb['destroy']();}_0x3dde7f['length']<0xfa?this['children']['splice'](_0x20a077,_0x47b93c-_0x20a077,..._0x3dde7f):this['children']=[]['concat'](this['children']['slice'](0x0,_0x20a077),_0x3dde7f,this['children']['slice'](_0x47b93c));for(let _0x19371a=0x0;_0x19371a<_0x3dde7f['length'];_0x19371a++)_0x3dde7f[_0x19371a]['setParent'](this);}['ignoreMutation'](_0x5cf0a3){return!0x1;}['ignoreEvent'](_0x43db76){return!0x1;}['childCursor'](_0x481eae=this['length']){return new _0x221840(this['children'],_0x481eae,this['children']['length']);}['childPos'](_0x4ed4fe,_0x1b4a2b=0x1){return this['childCursor']()['findPos'](_0x4ed4fe,_0x1b4a2b);}['toString'](){let _0x34db63=this['constructor']['name']['replace']('View','');return _0x34db63+(this['children']['length']?'('+this['children']['join']()+')':this['length']?'['+('Text'==_0x34db63?this['text']:this['length'])+']':'')+(this['breakAfter']?'#':'');}static['get'](_0x10cbd4){return _0x10cbd4['cmView'];}get['isEditable'](){return!0x0;}get['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['merge'](_0xcebec6,_0x4afa61,_0xd8faca,_0x5d1e28,_0x27b6b4,_0x1bed9d){return!0x1;}['become'](_0x644d26){return!0x1;}['canReuseDOM'](_0x5c0b65){return _0x5c0b65['constructor']==this['constructor']&&!(0x8&(this['flags']|_0x5c0b65['flags']));}['getSide'](){return 0x0;}['destroy'](){for(let _0x3ef6d7 of this['children'])_0x3ef6d7['parent']==this&&_0x3ef6d7['destroy']();this['parent']=null;}}function _0x4ccd3e(_0x2a1b34){let _0x36a5ff=_0x2a1b34['nextSibling'];return _0x2a1b34['parentNode']['removeChild'](_0x2a1b34),_0x36a5ff;}ContentView['prototype']['breakAfter']=0x0;class _0x221840{constructor(_0x4ca792,_0xb9ab0e,_0x1a9d8e){this['children']=_0x4ca792,this['pos']=_0xb9ab0e,this['i']=_0x1a9d8e,this['off']=0x0;}['findPos'](_0x2d27ea,_0x16d5fd=0x1){for(;;){if(_0x2d27ea>this['pos']||_0x2d27ea==this['pos']&&(_0x16d5fd>0x0||0x0==this['i']||this['children'][this['i']-0x1]['breakAfter']))return this['off']=_0x2d27ea-this['pos'],this;let _0x5649c6=this['children'][--this['i']];this['pos']-=_0x5649c6['length']+_0x5649c6['breakAfter'];}}}function _0x263956(_0x38b8e7,_0x445959,_0xfecdfc,_0x8dd501,_0x368afa,_0xe6df57,_0x521672,_0x2b75f3,_0x10ec1b){let {children:_0x123f4b}=_0x38b8e7,_0x3b738f=_0x123f4b['length']?_0x123f4b[_0x445959]:null,_0x19a782=_0xe6df57['length']?_0xe6df57[_0xe6df57['length']-0x1]:null,_0x5eca82=_0x19a782?_0x19a782['breakAfter']:_0x521672;if(!(_0x445959==_0x8dd501&&_0x3b738f&&!_0x521672&&!_0x5eca82&&_0xe6df57['length']<0x2&&_0x3b738f['merge'](_0xfecdfc,_0x368afa,_0xe6df57['length']?_0x19a782:null,0x0==_0xfecdfc,_0x2b75f3,_0x10ec1b))){if(_0x8dd501<_0x123f4b['length']){let _0x5ecafe=_0x123f4b[_0x8dd501];_0x5ecafe&&(_0x368afa<_0x5ecafe['length']||_0x5ecafe['breakAfter']&&(null==_0x19a782?void 0x0:_0x19a782['breakAfter']))?(_0x445959==_0x8dd501&&(_0x5ecafe=_0x5ecafe['split'](_0x368afa),_0x368afa=0x0),!_0x5eca82&&_0x19a782&&_0x5ecafe['merge'](0x0,_0x368afa,_0x19a782,!0x0,0x0,_0x10ec1b)?_0xe6df57[_0xe6df57['length']-0x1]=_0x5ecafe:((_0x368afa||_0x5ecafe['children']['length']&&!_0x5ecafe['children'][0x0]['length'])&&_0x5ecafe['merge'](0x0,_0x368afa,null,!0x1,0x0,_0x10ec1b),_0xe6df57['push'](_0x5ecafe))):(null==_0x5ecafe?void 0x0:_0x5ecafe['breakAfter'])&&(_0x19a782?_0x19a782['breakAfter']=0x1:_0x521672=0x1),_0x8dd501++;}for(_0x3b738f&&(_0x3b738f['breakAfter']=_0x521672,_0xfecdfc>0x0&&(!_0x521672&&_0xe6df57['length']&&_0x3b738f['merge'](_0xfecdfc,_0x3b738f['length'],_0xe6df57[0x0],!0x1,_0x2b75f3,0x0)?_0x3b738f['breakAfter']=_0xe6df57['shift']()['breakAfter']:(_0xfecdfc<_0x3b738f['length']||_0x3b738f['children']['length']&&0x0==_0x3b738f['children'][_0x3b738f['children']['length']-0x1]['length'])&&_0x3b738f['merge'](_0xfecdfc,_0x3b738f['length'],null,!0x1,_0x2b75f3,0x0),_0x445959++));_0x445959<_0x8dd501&&_0xe6df57['length'];)if(_0x123f4b[_0x8dd501-0x1]['become'](_0xe6df57[_0xe6df57['length']-0x1]))_0x8dd501--,_0xe6df57['pop'](),_0x10ec1b=_0xe6df57['length']?0x0:_0x2b75f3;else{if(!_0x123f4b[_0x445959]['become'](_0xe6df57[0x0]))break;_0x445959++,_0xe6df57['shift'](),_0x2b75f3=_0xe6df57['length']?0x0:_0x10ec1b;}!_0xe6df57['length']&&_0x445959&&_0x8dd501<_0x123f4b['length']&&!_0x123f4b[_0x445959-0x1]['breakAfter']&&_0x123f4b[_0x8dd501]['merge'](0x0,0x0,_0x123f4b[_0x445959-0x1],!0x1,_0x2b75f3,_0x10ec1b)&&_0x445959--,(_0x445959<_0x8dd501||_0xe6df57['length'])&&_0x38b8e7['replaceChildren'](_0x445959,_0x8dd501,_0xe6df57);}}function mergeChildrenInto(_0x405d99,_0xa903ff,_0x47e7eb,_0x36d6ad,_0x472a85,_0x30b9bd){let _0x53807c=_0x405d99['childCursor'](),{i:_0x5176cb,off:_0x2d0ba7}=_0x53807c['findPos'](_0x47e7eb,0x1),{i:_0x2b5b57,off:_0x636276}=_0x53807c['findPos'](_0xa903ff,-0x1),_0x21aa55=_0xa903ff-_0x47e7eb;for(let _0x42532c of _0x36d6ad)_0x21aa55+=_0x42532c['length'];_0x405d99['length']+=_0x21aa55,_0x263956(_0x405d99,_0x2b5b57,_0x636276,_0x5176cb,_0x2d0ba7,_0x36d6ad,0x0,_0x472a85,_0x30b9bd);}const _0x5d9281=0x100;class TextView extends ContentView{constructor(_0x27cc31){super(),this['text']=_0x27cc31;}get['length'](){return this['text']['length'];}['createDOM'](_0x2d4b53){this['setDOM'](_0x2d4b53||document['createTextNode'](this['text']));}['sync'](_0x563c55,_0x16ecae){this['dom']||this['createDOM'](),this['dom']['nodeValue']!=this['text']&&(_0x16ecae&&_0x16ecae['node']==this['dom']&&(_0x16ecae['written']=!0x0),this['dom']['nodeValue']=this['text']);}['reuseDOM'](_0x10cccc){0x3==_0x10cccc['nodeType']&&this['createDOM'](_0x10cccc);}['merge'](_0x2a0224,_0x2b3195,_0x363372){return!(0x8&this['flags']||_0x363372&&(!(_0x363372 instanceof TextView)||this['length']-(_0x2b3195-_0x2a0224)+_0x363372['length']>_0x5d9281||0x8&_0x363372['flags']))&&(this['text']=this['text']['slice'](0x0,_0x2a0224)+(_0x363372?_0x363372['text']:'')+this['text']['slice'](_0x2b3195),this['markDirty'](),!0x0);}['split'](_0x264f3b){let _0x244728=new TextView(this['text']['slice'](_0x264f3b));return this['text']=this['text']['slice'](0x0,_0x264f3b),this['markDirty'](),_0x244728['flags']|=0x8&this['flags'],_0x244728;}['localPosFromDOM'](_0x3c0fd,_0x4371c9){return _0x3c0fd==this['dom']?_0x4371c9:_0x4371c9?this['text']['length']:0x0;}['domAtPos'](_0x33faf3){return new _0x56c1e2(this['dom'],_0x33faf3);}['domBoundsAround'](_0x3d7b49,_0x3bea37,_0x2367f6){return{'from':_0x2367f6,'to':_0x2367f6+this['length'],'startDOM':this['dom'],'endDOM':this['dom']['nextSibling']};}['coordsAt'](_0x3f1ac9,_0x26585f){return textCoords(this['dom'],_0x3f1ac9,_0x26585f);}}class _0x1f54ef extends ContentView{constructor(_0x4e325e,_0x2f08e3=[],_0x4cc3c0=0x0){super(),this['mark']=_0x4e325e,this['children']=_0x2f08e3,this['length']=_0x4cc3c0;for(let _0xdc92b9 of _0x2f08e3)_0xdc92b9['setParent'](this);}['setAttrs'](_0xa24df){if(clearAttributes(_0xa24df),this['mark']['class']&&(_0xa24df['className']=this['mark']['class']),this['mark']['attrs']){for(let _0x2effa5 in this['mark']['attrs'])_0xa24df['setAttribute'](_0x2effa5,this['mark']['attrs'][_0x2effa5]);}return _0xa24df;}['canReuseDOM'](_0x514524){return super['canReuseDOM'](_0x514524)&&!(0x8&(this['flags']|_0x514524['flags']));}['reuseDOM'](_0xbcf1f9){_0xbcf1f9['nodeName']==this['mark']['tagName']['toUpperCase']()&&(this['setDOM'](_0xbcf1f9),this['flags']|=0x6);}['sync'](_0xe4abaf,_0x5c6b10){this['dom']?0x4&this['flags']&&this['setAttrs'](this['dom']):this['setDOM'](this['setAttrs'](document['createElement'](this['mark']['tagName']))),super['sync'](_0xe4abaf,_0x5c6b10);}['merge'](_0x3920ab,_0x120bd7,_0x5f318a,_0x435b94,_0x5a3031,_0x36b94c){return(!_0x5f318a||!(!(_0x5f318a instanceof _0x1f54ef&&_0x5f318a['mark']['eq'](this['mark']))||_0x3920ab&&_0x5a3031<=0x0||_0x120bd7<this['length']&&_0x36b94c<=0x0))&&(mergeChildrenInto(this,_0x3920ab,_0x120bd7,_0x5f318a?_0x5f318a['children']['slice']():[],_0x5a3031-0x1,_0x36b94c-0x1),this['markDirty'](),!0x0);}['split'](_0x2795b7){let _0x32bdf3=[],_0x4a6d6e=0x0,_0x436789=-0x1,_0x2d4b0a=0x0;for(let _0x2d461d of this['children']){let _0x5862aa=_0x4a6d6e+_0x2d461d['length'];_0x5862aa>_0x2795b7&&_0x32bdf3['push'](_0x4a6d6e<_0x2795b7?_0x2d461d['split'](_0x2795b7-_0x4a6d6e):_0x2d461d),_0x436789<0x0&&_0x4a6d6e>=_0x2795b7&&(_0x436789=_0x2d4b0a),_0x4a6d6e=_0x5862aa,_0x2d4b0a++;}let _0x40a6dd=this['length']-_0x2795b7;return this['length']=_0x2795b7,_0x436789>-0x1&&(this['children']['length']=_0x436789,this['markDirty']()),new _0x1f54ef(this['mark'],_0x32bdf3,_0x40a6dd);}['domAtPos'](_0x494b61){return inlineDOMAtPos(this,_0x494b61);}['coordsAt'](_0x27833b,_0x4bb9c5){return _0x45d91d(this,_0x27833b,_0x4bb9c5);}}function textCoords(_0x5307d7,_0x24a5ff,_0x414533){let _0x394617=_0x5307d7['nodeValue']['length'];_0x24a5ff>_0x394617&&(_0x24a5ff=_0x394617);let _0x15ce01=_0x24a5ff,_0x5d22c6=_0x24a5ff,_0x3d1ad1=0x0;0x0==_0x24a5ff&&_0x414533<0x0||_0x24a5ff==_0x394617&&_0x414533>=0x0?_0x4ac4fc['chrome']||_0x4ac4fc['gecko']||(_0x24a5ff?(_0x15ce01--,_0x3d1ad1=0x1):_0x5d22c6<_0x394617&&(_0x5d22c6++,_0x3d1ad1=-0x1)):_0x414533<0x0?_0x15ce01--:_0x5d22c6<_0x394617&&_0x5d22c6++;let _0x38cbcc=textRange(_0x5307d7,_0x15ce01,_0x5d22c6)['getClientRects']();if(!_0x38cbcc['length'])return null;let _0x5196f9=_0x38cbcc[(_0x3d1ad1?_0x3d1ad1<0x0:_0x414533>=0x0)?0x0:_0x38cbcc['length']-0x1];return _0x4ac4fc['safari']&&!_0x3d1ad1&&0x0==_0x5196f9['width']&&(_0x5196f9=Array['prototype']['find']['call'](_0x38cbcc,_0xb189ea=>_0xb189ea['width'])||_0x5196f9),_0x3d1ad1?flattenRect(_0x5196f9,_0x3d1ad1<0x0):_0x5196f9||null;}class WidgetView extends ContentView{static['create'](_0xec083d,_0x3c63e8,_0x1b0911){return new WidgetView(_0xec083d,_0x3c63e8,_0x1b0911);}constructor(_0x568c0a,_0x239bd0,_0x4abe22){super(),this['widget']=_0x568c0a,this['length']=_0x239bd0,this['side']=_0x4abe22,this['prevWidget']=null;}['split'](_0x41fa44){let _0x2371f0=WidgetView['create'](this['widget'],this['length']-_0x41fa44,this['side']);return this['length']-=_0x41fa44,_0x2371f0;}['sync'](_0x237dbb){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x237dbb)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x237dbb)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}['getSide'](){return this['side'];}['merge'](_0x2ffb02,_0x27897b,_0x218001,_0x1311b8,_0x82b943,_0x250d50){return!(_0x218001&&(!(_0x218001 instanceof WidgetView&&this['widget']['compare'](_0x218001['widget']))||_0x2ffb02>0x0&&_0x82b943<=0x0||_0x27897b<this['length']&&_0x250d50<=0x0))&&(this['length']=_0x2ffb02+(_0x218001?_0x218001['length']:0x0)+(this['length']-_0x27897b),!0x0);}['become'](_0x4e7a07){return _0x4e7a07 instanceof WidgetView&&_0x4e7a07['side']==this['side']&&this['widget']['constructor']==_0x4e7a07['widget']['constructor']&&(this['widget']['compare'](_0x4e7a07['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x4e7a07['widget'],this['length']=_0x4e7a07['length'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x29e9d8){return this['widget']['ignoreEvent'](_0x29e9d8);}get['overrideDOMText'](){if(0x0==this['length'])return Text['empty'];let _0x46db44=this;for(;_0x46db44['parent'];)_0x46db44=_0x46db44['parent'];let {view:_0x45ba36}=_0x46db44,_0x5e1763=_0x45ba36&&_0x45ba36['state']['doc'],_0x1da4a0=this['posAtStart'];return _0x5e1763?_0x5e1763['slice'](_0x1da4a0,_0x1da4a0+this['length']):Text['empty'];}['domAtPos'](_0x5afc33){return(this['length']?0x0==_0x5afc33:this['side']>0x0)?_0x56c1e2['before'](this['dom']):_0x56c1e2['after'](this['dom'],_0x5afc33==this['length']);}['domBoundsAround'](){return null;}['coordsAt'](_0x1eba19,_0x12ab36){let _0x2f7fbf=this['widget']['coordsAt'](this['dom'],_0x1eba19,_0x12ab36);if(_0x2f7fbf)return _0x2f7fbf;let _0xf0f697=this['dom']['getClientRects'](),_0x4171bf=null;if(!_0xf0f697['length'])return null;let _0x43e003=this['side']?this['side']<0x0:_0x1eba19>0x0;for(let _0x459204=_0x43e003?_0xf0f697['length']-0x1:0x0;_0x4171bf=_0xf0f697[_0x459204],!(_0x1eba19>0x0?0x0==_0x459204:_0x459204==_0xf0f697['length']-0x1||_0x4171bf['top']<_0x4171bf['bottom']);_0x459204+=_0x43e003?-0x1:0x1);return flattenRect(_0x4171bf,!_0x43e003);}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(_0x17fedf){super(),this['side']=_0x17fedf;}get['length'](){return 0x0;}['merge'](){return!0x1;}['become'](_0x429afc){return _0x429afc instanceof WidgetBufferView&&_0x429afc['side']==this['side'];}['split'](){return new WidgetBufferView(this['side']);}['sync'](){if(!this['dom']){let _0x439d6d=document['createElement']('img');_0x439d6d['className']='cm-widgetBuffer',_0x439d6d['setAttribute']('aria-hidden','true'),this['setDOM'](_0x439d6d);}}['getSide'](){return this['side'];}['domAtPos'](_0x218509){return this['side']>0x0?_0x56c1e2['before'](this['dom']):_0x56c1e2['after'](this['dom']);}['localPosFromDOM'](){return 0x0;}['domBoundsAround'](){return null;}['coordsAt'](_0x369d53){return this['dom']['getBoundingClientRect']();}get['overrideDOMText'](){return Text['empty'];}get['isHidden'](){return!0x0;}}function inlineDOMAtPos(_0x4732d9,_0x5c6c2b){let _0x40a931=_0x4732d9['dom'],{children:_0x39bd7b}=_0x4732d9,_0x1c6a77=0x0;for(let _0x54ed72=0x0;_0x1c6a77<_0x39bd7b['length'];_0x1c6a77++){let _0x3ff3d4=_0x39bd7b[_0x1c6a77],_0x101b4d=_0x54ed72+_0x3ff3d4['length'];if(!(_0x101b4d==_0x54ed72&&_0x3ff3d4['getSide']()<=0x0)){if(_0x5c6c2b>_0x54ed72&&_0x5c6c2b<_0x101b4d&&_0x3ff3d4['dom']['parentNode']==_0x40a931)return _0x3ff3d4['domAtPos'](_0x5c6c2b-_0x54ed72);if(_0x5c6c2b<=_0x54ed72)break;_0x54ed72=_0x101b4d;}}for(let _0x21c78a=_0x1c6a77;_0x21c78a>0x0;_0x21c78a--){let _0x366e26=_0x39bd7b[_0x21c78a-0x1];if(_0x366e26['dom']['parentNode']==_0x40a931)return _0x366e26['domAtPos'](_0x366e26['length']);}for(let _0x4ed8c8=_0x1c6a77;_0x4ed8c8<_0x39bd7b['length'];_0x4ed8c8++){let _0x2ba93f=_0x39bd7b[_0x4ed8c8];if(_0x2ba93f['dom']['parentNode']==_0x40a931)return _0x2ba93f['domAtPos'](0x0);}return new _0x56c1e2(_0x40a931,0x0);}function joinInlineInto(_0x144108,_0x13ede3,_0x565fbf){let _0x4de3c2,{children:_0x1cfba9}=_0x144108;_0x565fbf>0x0&&_0x13ede3 instanceof _0x1f54ef&&_0x1cfba9['length']&&(_0x4de3c2=_0x1cfba9[_0x1cfba9['length']-0x1])instanceof _0x1f54ef&&_0x4de3c2['mark']['eq'](_0x13ede3['mark'])?joinInlineInto(_0x4de3c2,_0x13ede3['children'][0x0],_0x565fbf-0x1):(_0x1cfba9['push'](_0x13ede3),_0x13ede3['setParent'](_0x144108)),_0x144108['length']+=_0x13ede3['length'];}function _0x45d91d(_0x2f017d,_0xa59782,_0x3fab12){let _0x5ac25c=null,_0x33d60f=-0x1,_0x1956e9=null,_0x6252be=-0x1;!function _0x5d8032(_0x1fbcc4,_0x29efa0){for(let _0x473fc3=0x0,_0x54f684=0x0;_0x473fc3<_0x1fbcc4['children']['length']&&_0x54f684<=_0x29efa0;_0x473fc3++){let _0x5137de=_0x1fbcc4['children'][_0x473fc3],_0x5cc2ee=_0x54f684+_0x5137de['length'];_0x5cc2ee>=_0x29efa0&&(_0x5137de['children']['length']?_0x5d8032(_0x5137de,_0x29efa0-_0x54f684):(!_0x1956e9||_0x1956e9['isHidden']&&(_0x3fab12>0x0||_0x12b472(_0x1956e9,_0x5137de)))&&(_0x5cc2ee>_0x29efa0||_0x54f684==_0x5cc2ee&&_0x5137de['getSide']()>0x0)?(_0x1956e9=_0x5137de,_0x6252be=_0x29efa0-_0x54f684):(_0x54f684<_0x29efa0||_0x54f684==_0x5cc2ee&&_0x5137de['getSide']()<0x0&&!_0x5137de['isHidden'])&&(_0x5ac25c=_0x5137de,_0x33d60f=_0x29efa0-_0x54f684)),_0x54f684=_0x5cc2ee;}}(_0x2f017d,_0xa59782);let _0xf9a50=(_0x3fab12<0x0?_0x5ac25c:_0x1956e9)||_0x5ac25c||_0x1956e9;return _0xf9a50?_0xf9a50['coordsAt'](Math['max'](0x0,_0xf9a50==_0x5ac25c?_0x33d60f:_0x6252be),_0x3fab12):fallbackRect(_0x2f017d);}function fallbackRect(_0x3e2518){let _0x467285=_0x3e2518['dom']['lastChild'];if(!_0x467285)return _0x3e2518['dom']['getBoundingClientRect']();let _0x2e07cb=clientRectsFor(_0x467285);return _0x2e07cb[_0x2e07cb['length']-0x1]||null;}function _0x12b472(_0x33de84,_0x87b41e){let _0x294a81=_0x33de84['coordsAt'](0x0,0x1),_0x1d9907=_0x87b41e['coordsAt'](0x0,0x1);return _0x294a81&&_0x1d9907&&_0x1d9907['top']<_0x294a81['bottom'];}function combineAttrs(_0x548e45,_0x3775f1){for(let _0x3bad6d in _0x548e45)'class'==_0x3bad6d&&_0x3775f1['class']?_0x3775f1['class']+='\x20'+_0x548e45['class']:'style'==_0x3bad6d&&_0x3775f1['style']?_0x3775f1['style']+=';'+_0x548e45['style']:_0x3775f1[_0x3bad6d]=_0x548e45[_0x3bad6d];return _0x3775f1;}TextView['prototype']['children']=WidgetView['prototype']['children']=WidgetBufferView['prototype']['children']=_0x477e01;const noAttrs$1=Object['create'](null);function attrsEq(_0x32d2ce,_0x36e2d1,_0x5e4c74){if(_0x32d2ce==_0x36e2d1)return!0x0;_0x32d2ce||(_0x32d2ce=noAttrs$1),_0x36e2d1||(_0x36e2d1=noAttrs$1);let _0x1e07a5=Object['keys'](_0x32d2ce),_0x46c04b=Object['keys'](_0x36e2d1);if(_0x1e07a5['length']-(_0x5e4c74&&_0x1e07a5['indexOf'](_0x5e4c74)>-0x1?0x1:0x0)!=_0x46c04b['length']-(_0x5e4c74&&_0x46c04b['indexOf'](_0x5e4c74)>-0x1?0x1:0x0))return!0x1;for(let _0x30dd2d of _0x1e07a5)if(_0x30dd2d!=_0x5e4c74&&(-0x1==_0x46c04b['indexOf'](_0x30dd2d)||_0x32d2ce[_0x30dd2d]!==_0x36e2d1[_0x30dd2d]))return!0x1;return!0x0;}function updateAttrs(_0x1a6117,_0x121b4e,_0x426d04){let _0x52ca02=!0x1;if(_0x121b4e){for(let _0x5ee518 in _0x121b4e)_0x426d04&&_0x5ee518 in _0x426d04||(_0x52ca02=!0x0,'style'==_0x5ee518?_0x1a6117['style']['cssText']='':_0x1a6117['removeAttribute'](_0x5ee518));}if(_0x426d04){for(let _0x22cc97 in _0x426d04)_0x121b4e&&_0x121b4e[_0x22cc97]==_0x426d04[_0x22cc97]||(_0x52ca02=!0x0,'style'==_0x22cc97?_0x1a6117['style']['cssText']=_0x426d04[_0x22cc97]:_0x1a6117['setAttribute'](_0x22cc97,_0x426d04[_0x22cc97]));}return _0x52ca02;}function getAttrs$1(_0x11dff4){let _0x302695=Object['create'](null);for(let _0x1637d2=0x0;_0x1637d2<_0x11dff4['attributes']['length'];_0x1637d2++){let _0x5131c8=_0x11dff4['attributes'][_0x1637d2];_0x302695[_0x5131c8['name']]=_0x5131c8['value'];}return _0x302695;}class WidgetType{['eq'](_0x37d7ec){return!0x1;}['updateDOM'](_0x34a3de,_0x2444e8){return!0x1;}['compare'](_0x48bec0){return this==_0x48bec0||this['constructor']==_0x48bec0['constructor']&&this['eq'](_0x48bec0);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0x2eb8ec){return!0x0;}['coordsAt'](_0x25031f,_0x25112e,_0x3fc2fa){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0x27841f){}}var _0x5841fb=function(_0x53c191){return _0x53c191[_0x53c191['Text']=0x0]='Text',_0x53c191[_0x53c191['WidgetBefore']=0x1]='WidgetBefore',_0x53c191[_0x53c191['WidgetAfter']=0x2]='WidgetAfter',_0x53c191[_0x53c191['WidgetRange']=0x3]='WidgetRange',_0x53c191;}(_0x5841fb||(_0x5841fb={}));class Decoration extends _0x246d1a{constructor(_0x125067,_0x2a1959,_0x364759,_0xd5baca){super(),this['startSide']=_0x125067,this['endSide']=_0x2a1959,this['widget']=_0x364759,this['spec']=_0xd5baca;}get['heightRelevant'](){return!0x1;}static['mark'](_0x362456){return new MarkDecoration(_0x362456);}static['widget'](_0x152c28){let _0x4c13a3=Math['max'](-0x2710,Math['min'](0x2710,_0x152c28['side']||0x0)),_0x2b23c5=!!_0x152c28['block'];return _0x4c13a3+=_0x2b23c5&&!_0x152c28['inlineOrder']?_0x4c13a3>0x0?0x11e1a300:-0x17d78400:_0x4c13a3>0x0?0x5f5e100:-0x5f5e100,new PointDecoration(_0x152c28,_0x4c13a3,_0x4c13a3,_0x2b23c5,_0x152c28['widget']||null,!0x1);}static['replace'](_0x340912){let _0x3bcec8,_0x3d24bc,_0x399b0f=!!_0x340912['block'];if(_0x340912['isBlockGap'])_0x3bcec8=-0x1dcd6500,_0x3d24bc=0x17d78400;else{let {start:_0x1f64d2,end:_0x5cf8ed}=getInclusive(_0x340912,_0x399b0f);_0x3bcec8=(_0x1f64d2?_0x399b0f?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x3d24bc=0x1+(_0x5cf8ed?_0x399b0f?0xbebc200:0x1:-0x23c34600);}return new PointDecoration(_0x340912,_0x3bcec8,_0x3d24bc,_0x399b0f,_0x340912['widget']||null,!0x0);}static['line'](_0x552368){return new LineDecoration(_0x552368);}static['set'](_0x3e7dd2,_0x140805=!0x1){return RangeSet['of'](_0x3e7dd2,_0x140805);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}}Decoration['none']=RangeSet['empty'];class MarkDecoration extends Decoration{constructor(_0x5052ea){let {start:_0x1a6f93,end:_0x2ec4c4}=getInclusive(_0x5052ea);super(_0x1a6f93?-0x1:0x1dcd6500,_0x2ec4c4?0x1:-0x23c34600,null,_0x5052ea),this['tagName']=_0x5052ea['tagName']||'span',this['class']=_0x5052ea['class']||'',this['attrs']=_0x5052ea['attributes']||null;}['eq'](_0x44a42c){var _0x45ee2e,_0x354bcd;return this==_0x44a42c||_0x44a42c instanceof MarkDecoration&&this['tagName']==_0x44a42c['tagName']&&(this['class']||(null===(_0x45ee2e=this['attrs'])||void 0x0===_0x45ee2e?void 0x0:_0x45ee2e['class']))==(_0x44a42c['class']||(null===(_0x354bcd=_0x44a42c['attrs'])||void 0x0===_0x354bcd?void 0x0:_0x354bcd['class']))&&attrsEq(this['attrs'],_0x44a42c['attrs'],'class');}['range'](_0x40968c,_0x105bb4=_0x40968c){if(_0x40968c>=_0x105bb4)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0x40968c,_0x105bb4);}}MarkDecoration['prototype']['point']=!0x1;class LineDecoration extends Decoration{constructor(_0x37a076){super(-0xbebc200,-0xbebc200,null,_0x37a076);}['eq'](_0x2fad06){return _0x2fad06 instanceof LineDecoration&&this['spec']['class']==_0x2fad06['spec']['class']&&attrsEq(this['spec']['attributes'],_0x2fad06['spec']['attributes']);}['range'](_0x1a5dd5,_0x27f891=_0x1a5dd5){if(_0x27f891!=_0x1a5dd5)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0x1a5dd5,_0x27f891);}}LineDecoration['prototype']['mapMode']=_0x10aa7f['TrackBefore'],LineDecoration['prototype']['point']=!0x0;class PointDecoration extends Decoration{constructor(_0x1a95bd,_0x25f947,_0x567384,_0x173239,_0x316044,_0x2fc730){super(_0x25f947,_0x567384,_0x316044,_0x1a95bd),this['block']=_0x173239,this['isReplace']=_0x2fc730,this['mapMode']=_0x173239?_0x25f947<=0x0?_0x10aa7f['TrackBefore']:_0x10aa7f['TrackAfter']:_0x10aa7f['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?_0x5841fb['WidgetRange']:this['startSide']<=0x0?_0x5841fb['WidgetBefore']:_0x5841fb['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0x107270){return _0x107270 instanceof PointDecoration&&widgetsEq(this['widget'],_0x107270['widget'])&&this['block']==_0x107270['block']&&this['startSide']==_0x107270['startSide']&&this['endSide']==_0x107270['endSide'];}['range'](_0x39309b,_0x5a385d=_0x39309b){if(this['isReplace']&&(_0x39309b>_0x5a385d||_0x39309b==_0x5a385d&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0x5a385d!=_0x39309b)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0x39309b,_0x5a385d);}}function getInclusive(_0x500c8c,_0x43515d=!0x1){let {inclusiveStart:_0x2c0458,inclusiveEnd:_0x51eae2}=_0x500c8c;return null==_0x2c0458&&(_0x2c0458=_0x500c8c['inclusive']),null==_0x51eae2&&(_0x51eae2=_0x500c8c['inclusive']),{'start':null!=_0x2c0458?_0x2c0458:_0x43515d,'end':null!=_0x51eae2?_0x51eae2:_0x43515d};}function widgetsEq(_0x5983b4,_0x2b1499){return _0x5983b4==_0x2b1499||!!(_0x5983b4&&_0x2b1499&&_0x5983b4['compare'](_0x2b1499));}function _0x1198bc(_0x550b23,_0x4c91c5,_0x301486,_0x89e4b9=0x0){let _0x25523a=_0x301486['length']-0x1;_0x25523a>=0x0&&_0x301486[_0x25523a]+_0x89e4b9>=_0x550b23?_0x301486[_0x25523a]=Math['max'](_0x301486[_0x25523a],_0x4c91c5):_0x301486['push'](_0x550b23,_0x4c91c5);}PointDecoration['prototype']['point']=!0x0;class _0x34ba09 extends ContentView{constructor(){super(...arguments),this['children']=[],this['length']=0x0,this['prevAttrs']=void 0x0,this['attrs']=null,this['breakAfter']=0x0;}['merge'](_0x31d0fd,_0x43eecf,_0x5d3c97,_0x2250d4,_0x1d83b6,_0x537091){if(_0x5d3c97){if(!(_0x5d3c97 instanceof _0x34ba09))return!0x1;this['dom']||_0x5d3c97['transferDOM'](this);}return _0x2250d4&&this['setDeco'](_0x5d3c97?_0x5d3c97['attrs']:null),mergeChildrenInto(this,_0x31d0fd,_0x43eecf,_0x5d3c97?_0x5d3c97['children']['slice']():[],_0x1d83b6,_0x537091),!0x0;}['split'](_0x208eb5){let _0x4bb694=new _0x34ba09();if(_0x4bb694['breakAfter']=this['breakAfter'],0x0==this['length'])return _0x4bb694;let {i:_0x5139f8,off:_0x1d3103}=this['childPos'](_0x208eb5);_0x1d3103&&(_0x4bb694['append'](this['children'][_0x5139f8]['split'](_0x1d3103),0x0),this['children'][_0x5139f8]['merge'](_0x1d3103,this['children'][_0x5139f8]['length'],null,!0x1,0x0,0x0),_0x5139f8++);for(let _0x409a91=_0x5139f8;_0x409a91<this['children']['length'];_0x409a91++)_0x4bb694['append'](this['children'][_0x409a91],0x0);for(;_0x5139f8>0x0&&0x0==this['children'][_0x5139f8-0x1]['length'];)this['children'][--_0x5139f8]['destroy']();return this['children']['length']=_0x5139f8,this['markDirty'](),this['length']=_0x208eb5,_0x4bb694;}['transferDOM'](_0x3e8cc2){this['dom']&&(this['markDirty'](),_0x3e8cc2['setDOM'](this['dom']),_0x3e8cc2['prevAttrs']=void 0x0===this['prevAttrs']?this['attrs']:this['prevAttrs'],this['prevAttrs']=void 0x0,this['dom']=null);}['setDeco'](_0x1652d8){attrsEq(this['attrs'],_0x1652d8)||(this['dom']&&(this['prevAttrs']=this['attrs'],this['markDirty']()),this['attrs']=_0x1652d8);}['append'](_0x3293df,_0x22fa1f){joinInlineInto(this,_0x3293df,_0x22fa1f);}['addLineDeco'](_0x508ed4){let _0x28bb50=_0x508ed4['spec']['attributes'],_0x373eda=_0x508ed4['spec']['class'];_0x28bb50&&(this['attrs']=combineAttrs(_0x28bb50,this['attrs']||{})),_0x373eda&&(this['attrs']=combineAttrs({'class':_0x373eda},this['attrs']||{}));}['domAtPos'](_0x5e9f29){return inlineDOMAtPos(this,_0x5e9f29);}['reuseDOM'](_0x11513b){'DIV'==_0x11513b['nodeName']&&(this['setDOM'](_0x11513b),this['flags']|=0x6);}['sync'](_0xe24299,_0x3bf8df){var _0xc6690;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'](_0xe24299,_0x3bf8df);let _0x1380d2=this['dom']['lastChild'];for(;_0x1380d2&&ContentView['get'](_0x1380d2)instanceof _0x1f54ef;)_0x1380d2=_0x1380d2['lastChild'];if(!(_0x1380d2&&this['length']&&('BR'==_0x1380d2['nodeName']||0x0!=(null===(_0xc6690=ContentView['get'](_0x1380d2))||void 0x0===_0xc6690?void 0x0:_0xc6690['isEditable'])||_0x4ac4fc['ios']&&this['children']['some'](_0x4ad883=>_0x4ad883 instanceof TextView)))){let _0x5a6dc1=document['createElement']('BR');_0x5a6dc1['cmIgnore']=!0x0,this['dom']['appendChild'](_0x5a6dc1);}}['measureTextSize'](){if(0x0==this['children']['length']||this['length']>0x14)return null;let _0x2c9240,_0x636997=0x0;for(let _0x521013 of this['children']){if(!(_0x521013 instanceof TextView)||/[^ -~]/['test'](_0x521013['text']))return null;let _0x80afac=clientRectsFor(_0x521013['dom']);if(0x1!=_0x80afac['length'])return null;_0x636997+=_0x80afac[0x0]['width'],_0x2c9240=_0x80afac[0x0]['height'];}return _0x636997?{'lineHeight':this['dom']['getBoundingClientRect']()['height'],'charWidth':_0x636997/this['length'],'textHeight':_0x2c9240}:null;}['coordsAt'](_0x3364a6,_0x25944d){let _0x1ead7c=_0x45d91d(this,_0x3364a6,_0x25944d);if(!this['children']['length']&&_0x1ead7c&&this['parent']){let {heightOracle:_0x141701}=this['parent']['view']['viewState'],_0x57f36f=_0x1ead7c['bottom']-_0x1ead7c['top'];if(Math['abs'](_0x57f36f-_0x141701['lineHeight'])<0x2&&_0x141701['textHeight']<_0x57f36f){let _0x28514d=(_0x57f36f-_0x141701['textHeight'])/0x2;return{'top':_0x1ead7c['top']+_0x28514d,'bottom':_0x1ead7c['bottom']-_0x28514d,'left':_0x1ead7c['left'],'right':_0x1ead7c['left']};}}return _0x1ead7c;}['become'](_0x1b8eaf){return _0x1b8eaf instanceof _0x34ba09&&0x0==this['children']['length']&&0x0==_0x1b8eaf['children']['length']&&attrsEq(this['attrs'],_0x1b8eaf['attrs'])&&this['breakAfter']==_0x1b8eaf['breakAfter'];}['covers'](){return!0x0;}static['find'](_0x4442f0,_0x27baa1){for(let _0x11a43f=0x0,_0x5b6d3c=0x0;_0x11a43f<_0x4442f0['children']['length'];_0x11a43f++){let _0x4ee88c=_0x4442f0['children'][_0x11a43f],_0xa2feb3=_0x5b6d3c+_0x4ee88c['length'];if(_0xa2feb3>=_0x27baa1){if(_0x4ee88c instanceof _0x34ba09)return _0x4ee88c;if(_0xa2feb3>_0x27baa1)break;}_0x5b6d3c=_0xa2feb3+_0x4ee88c['breakAfter'];}return null;}}class BlockWidgetView extends ContentView{constructor(_0x417895,_0x4cfd2a,_0x1ee599){super(),this['widget']=_0x417895,this['length']=_0x4cfd2a,this['deco']=_0x1ee599,this['breakAfter']=0x0,this['prevWidget']=null;}['merge'](_0x291573,_0x781835,_0x503b6c,_0x382b77,_0x23c0d5,_0xac194c){return!(_0x503b6c&&(!(_0x503b6c instanceof BlockWidgetView&&this['widget']['compare'](_0x503b6c['widget']))||_0x291573>0x0&&_0x23c0d5<=0x0||_0x781835<this['length']&&_0xac194c<=0x0))&&(this['length']=_0x291573+(_0x503b6c?_0x503b6c['length']:0x0)+(this['length']-_0x781835),!0x0);}['domAtPos'](_0x305e4a){return 0x0==_0x305e4a?_0x56c1e2['before'](this['dom']):_0x56c1e2['after'](this['dom'],_0x305e4a==this['length']);}['split'](_0x451b7e){let _0x417807=this['length']-_0x451b7e;this['length']=_0x451b7e;let _0x308680=new BlockWidgetView(this['widget'],_0x417807,this['deco']);return _0x308680['breakAfter']=this['breakAfter'],_0x308680;}get['children'](){return _0x477e01;}['sync'](_0x1ddd3c){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x1ddd3c)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x1ddd3c)),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'](_0x5418ea){return _0x5418ea instanceof BlockWidgetView&&_0x5418ea['widget']['constructor']==this['widget']['constructor']&&(_0x5418ea['widget']['compare'](this['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x5418ea['widget'],this['length']=_0x5418ea['length'],this['deco']=_0x5418ea['deco'],this['breakAfter']=_0x5418ea['breakAfter'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x1cf2c1){return this['widget']['ignoreEvent'](_0x1cf2c1);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}['coordsAt'](_0xdddd92,_0x361def){let _0x5ba0d4=this['widget']['coordsAt'](this['dom'],_0xdddd92,_0x361def);return _0x5ba0d4||(this['widget']instanceof BlockGapWidget?null:flattenRect(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0xdddd92:_0x361def<=0x0));}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}['covers'](_0x17edb3){let {startSide:_0x5c2b97,endSide:_0x53da63}=this['deco'];return _0x5c2b97!=_0x53da63&&(_0x17edb3<0x0?_0x5c2b97<0x0:_0x53da63>0x0);}}class BlockGapWidget extends WidgetType{constructor(_0x57c09f){super(),this['height']=_0x57c09f;}['toDOM'](){let _0x397297=document['createElement']('div');return _0x397297['className']='cm-gap',this['updateDOM'](_0x397297),_0x397297;}['eq'](_0x151e16){return _0x151e16['height']==this['height'];}['updateDOM'](_0x47e044){return _0x47e044['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}}class ContentBuilder{constructor(_0x4c51c0,_0x5f8448,_0xe0cebb,_0x32a301){this['doc']=_0x4c51c0,this['pos']=_0x5f8448,this['end']=_0xe0cebb,this['disallowBlockEffectsFor']=_0x32a301,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']=_0x4c51c0['iter'](),this['skip']=_0x5f8448;}['posCovered'](){if(0x0==this['content']['length'])return!this['breakAtStart']&&this['doc']['lineAt'](this['pos'])['from']!=this['pos'];let _0x4d0e84=this['content'][this['content']['length']-0x1];return!(_0x4d0e84['breakAfter']||_0x4d0e84 instanceof BlockWidgetView&&_0x4d0e84['deco']['endSide']<0x0);}['getLine'](){return this['curLine']||(this['content']['push'](this['curLine']=new _0x34ba09()),this['atCursorPos']=!0x0),this['curLine'];}['flushBuffer'](_0x2d4eea=this['bufferMarks']){this['pendingBuffer']&&(this['curLine']['append'](_0x700b00(new WidgetBufferView(-0x1),_0x2d4eea),_0x2d4eea['length']),this['pendingBuffer']=0x0);}['addBlockWidget'](_0x455a1e){this['flushBuffer'](),this['curLine']=null,this['content']['push'](_0x455a1e);}['finish'](_0x494d57){this['pendingBuffer']&&_0x494d57<=this['bufferMarks']['length']?this['flushBuffer']():this['pendingBuffer']=0x0,this['posCovered']()||_0x494d57&&this['content']['length']&&this['content'][this['content']['length']-0x1]instanceof BlockWidgetView||this['getLine']();}['buildText'](_0x4db9c8,_0x246da9,_0x56446b){for(;_0x4db9c8>0x0;){if(this['textOff']==this['text']['length']){let {value:_0x26941b,lineBreak:_0x380b70,done:_0x170939}=this['cursor']['next'](this['skip']);if(this['skip']=0x0,_0x170939)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');if(_0x380b70){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,_0x4db9c8--;continue;}this['text']=_0x26941b,this['textOff']=0x0;}let _0x522adf=Math['min'](this['text']['length']-this['textOff'],_0x4db9c8),_0x594755=Math['min'](_0x522adf,0x200);this['flushBuffer'](_0x246da9['slice'](_0x246da9['length']-_0x56446b)),this['getLine']()['append'](_0x700b00(new TextView(this['text']['slice'](this['textOff'],this['textOff']+_0x594755)),_0x246da9),_0x56446b),this['atCursorPos']=!0x0,this['textOff']+=_0x594755,_0x4db9c8-=_0x594755,_0x56446b=_0x522adf<=_0x594755?0x0:_0x246da9['length'];}}['span'](_0x3eba55,_0x3fb502,_0x561dff,_0x13c95a){this['buildText'](_0x3fb502-_0x3eba55,_0x561dff,_0x13c95a),this['pos']=_0x3fb502,this['openStart']<0x0&&(this['openStart']=_0x13c95a);}['point'](_0x5ddc4f,_0x150649,_0x246082,_0x1cd3cc,_0x34bd82,_0x3ae923){if(this['disallowBlockEffectsFor'][_0x3ae923]&&_0x246082 instanceof PointDecoration){if(_0x246082['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x150649>this['doc']['lineAt'](this['pos'])['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}let _0x3be41a=_0x150649-_0x5ddc4f;if(_0x246082 instanceof PointDecoration){if(_0x246082['block'])_0x246082['startSide']>0x0&&!this['posCovered']()&&this['getLine'](),this['addBlockWidget'](new BlockWidgetView(_0x246082['widget']||NullWidget['block'],_0x3be41a,_0x246082));else{let _0x4ba74b=WidgetView['create'](_0x246082['widget']||NullWidget['inline'],_0x3be41a,_0x3be41a?0x0:_0x246082['startSide']),_0x258da3=this['atCursorPos']&&!_0x4ba74b['isEditable']&&_0x34bd82<=_0x1cd3cc['length']&&(_0x5ddc4f<_0x150649||_0x246082['startSide']>0x0),_0x36ef05=!_0x4ba74b['isEditable']&&(_0x5ddc4f<_0x150649||_0x34bd82>_0x1cd3cc['length']||_0x246082['startSide']<=0x0),_0x583b2c=this['getLine']();0x2!=this['pendingBuffer']||_0x258da3||_0x4ba74b['isEditable']||(this['pendingBuffer']=0x0),this['flushBuffer'](_0x1cd3cc),_0x258da3&&(_0x583b2c['append'](_0x700b00(new WidgetBufferView(0x1),_0x1cd3cc),_0x34bd82),_0x34bd82=_0x1cd3cc['length']+Math['max'](0x0,_0x34bd82-_0x1cd3cc['length'])),_0x583b2c['append'](_0x700b00(_0x4ba74b,_0x1cd3cc),_0x34bd82),this['atCursorPos']=_0x36ef05,this['pendingBuffer']=_0x36ef05?_0x5ddc4f<_0x150649||_0x34bd82>_0x1cd3cc['length']?0x1:0x2:0x0,this['pendingBuffer']&&(this['bufferMarks']=_0x1cd3cc['slice']());}}else this['doc']['lineAt'](this['pos'])['from']==this['pos']&&this['getLine']()['addLineDeco'](_0x246082);_0x3be41a&&(this['textOff']+_0x3be41a<=this['text']['length']?this['textOff']+=_0x3be41a:(this['skip']+=_0x3be41a-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0),this['pos']=_0x150649),this['openStart']<0x0&&(this['openStart']=_0x34bd82);}static['build'](_0x253f99,_0x166716,_0x4e8c01,_0x4baf43,_0x4e255f){let _0x1f6ac3=new ContentBuilder(_0x253f99,_0x166716,_0x4e8c01,_0x4e255f);return _0x1f6ac3['openEnd']=RangeSet['spans'](_0x4baf43,_0x166716,_0x4e8c01,_0x1f6ac3),_0x1f6ac3['openStart']<0x0&&(_0x1f6ac3['openStart']=_0x1f6ac3['openEnd']),_0x1f6ac3['finish'](_0x1f6ac3['openEnd']),_0x1f6ac3;}}function _0x700b00(_0x58648c,_0x5a6552){for(let _0x453f3e of _0x5a6552)_0x58648c=new _0x1f54ef(_0x453f3e,[_0x58648c],_0x58648c['length']);return _0x58648c;}class NullWidget extends WidgetType{constructor(_0x3384fe){super(),this['tag']=_0x3384fe;}['eq'](_0x5e35d7){return _0x5e35d7['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0x46ff3e){return _0x46ff3e['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}}NullWidget['inline']=new NullWidget('span'),NullWidget['block']=new NullWidget('div');var Direction=function(_0x1dddd4){return _0x1dddd4[_0x1dddd4['LTR']=0x0]='LTR',_0x1dddd4[_0x1dddd4['RTL']=0x1]='RTL',_0x1dddd4;}(Direction||(Direction={}));const _0x1089d5=Direction['LTR'],_0x138d94=Direction['RTL'];function _0x370a23(_0xb865ff){let _0x1c38bc=[];for(let _0x2d9666=0x0;_0x2d9666<_0xb865ff['length'];_0x2d9666++)_0x1c38bc['push'](0x1<<+_0xb865ff[_0x2d9666]);return _0x1c38bc;}const _0x403b36=_0x370a23('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),_0x363016=_0x370a23('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),Brackets=Object['create'](null),BracketStack=[];for(let _0x1f59e4 of['()','[]','{}']){let _0x2eb151=_0x1f59e4['charCodeAt'](0x0),_0x283859=_0x1f59e4['charCodeAt'](0x1);Brackets[_0x2eb151]=_0x283859,Brackets[_0x283859]=-_0x2eb151;}function _0x527d84(_0x527376){return _0x527376<=0xf7?_0x403b36[_0x527376]:0x590<=_0x527376&&_0x527376<=0x5f4?0x2:0x600<=_0x527376&&_0x527376<=0x6f9?_0x363016[_0x527376-0x600]:0x6ee<=_0x527376&&_0x527376<=0x8ac?0x4:0x2000<=_0x527376&&_0x527376<=0x200c?0x100:0xfb50<=_0x527376&&_0x527376<=0xfdff?0x4:0x1;}const _0x6273c7=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class _0x5eb1aa{get['dir'](){return this['level']%0x2?_0x138d94:_0x1089d5;}constructor(_0x3363a9,_0x1c99dc,_0xf5c13c){this['from']=_0x3363a9,this['to']=_0x1c99dc,this['level']=_0xf5c13c;}['side'](_0x361e5d,_0x3956e6){return this['dir']==_0x3956e6==_0x361e5d?this['to']:this['from'];}['forward'](_0xdb5570,_0x22a26f){return _0xdb5570==(this['dir']==_0x22a26f);}static['find'](_0xebe21,_0x1ea291,_0x25e2e9,_0x33006e){let _0x2bcc10=-0x1;for(let _0x150260=0x0;_0x150260<_0xebe21['length'];_0x150260++){let _0x557f13=_0xebe21[_0x150260];if(_0x557f13['from']<=_0x1ea291&&_0x557f13['to']>=_0x1ea291){if(_0x557f13['level']==_0x25e2e9)return _0x150260;(_0x2bcc10<0x0||(0x0!=_0x33006e?_0x33006e<0x0?_0x557f13['from']<_0x1ea291:_0x557f13['to']>_0x1ea291:_0xebe21[_0x2bcc10]['level']>_0x557f13['level']))&&(_0x2bcc10=_0x150260);}}if(_0x2bcc10<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0x2bcc10;}}function isolatesEq(_0x481556,_0x2af3ee){if(_0x481556['length']!=_0x2af3ee['length'])return!0x1;for(let _0x2a3f24=0x0;_0x2a3f24<_0x481556['length'];_0x2a3f24++){let _0x31ecb5=_0x481556[_0x2a3f24],_0x3c9ffe=_0x2af3ee[_0x2a3f24];if(_0x31ecb5['from']!=_0x3c9ffe['from']||_0x31ecb5['to']!=_0x3c9ffe['to']||_0x31ecb5['direction']!=_0x3c9ffe['direction']||!isolatesEq(_0x31ecb5['inner'],_0x3c9ffe['inner']))return!0x1;}return!0x0;}const types=[];function computeCharTypes(_0x602c17,_0x4ebd91,_0x3e626e,_0x3b5217,_0x881563){for(let _0x19b7fd=0x0;_0x19b7fd<=_0x3b5217['length'];_0x19b7fd++){let _0x549373=_0x19b7fd?_0x3b5217[_0x19b7fd-0x1]['to']:_0x4ebd91,_0x5a0636=_0x19b7fd<_0x3b5217['length']?_0x3b5217[_0x19b7fd]['from']:_0x3e626e,_0x5de0c2=_0x19b7fd?0x100:_0x881563;for(let _0x88ada2=_0x549373,_0x3cc667=_0x5de0c2,_0x5de784=_0x5de0c2;_0x88ada2<_0x5a0636;_0x88ada2++){let _0x3b928e=_0x527d84(_0x602c17['charCodeAt'](_0x88ada2));0x200==_0x3b928e?_0x3b928e=_0x3cc667:0x8==_0x3b928e&&0x4==_0x5de784&&(_0x3b928e=0x10),types[_0x88ada2]=0x4==_0x3b928e?0x2:_0x3b928e,0x7&_0x3b928e&&(_0x5de784=_0x3b928e),_0x3cc667=_0x3b928e;}for(let _0x37cd19=_0x549373,_0x4e5fdd=_0x5de0c2,_0x4d5738=_0x5de0c2;_0x37cd19<_0x5a0636;_0x37cd19++){let _0x45484a=types[_0x37cd19];if(0x80==_0x45484a)_0x37cd19<_0x5a0636-0x1&&_0x4e5fdd==types[_0x37cd19+0x1]&&0x18&_0x4e5fdd?_0x45484a=types[_0x37cd19]=_0x4e5fdd:types[_0x37cd19]=0x100;else{if(0x40==_0x45484a){let _0x36e6f8=_0x37cd19+0x1;for(;_0x36e6f8<_0x5a0636&&0x40==types[_0x36e6f8];)_0x36e6f8++;let _0x229e03=_0x37cd19&&0x8==_0x4e5fdd||_0x36e6f8<_0x3e626e&&0x8==types[_0x36e6f8]?0x1==_0x4d5738?0x1:0x8:0x100;for(let _0x372f58=_0x37cd19;_0x372f58<_0x36e6f8;_0x372f58++)types[_0x372f58]=_0x229e03;_0x37cd19=_0x36e6f8-0x1;}else 0x8==_0x45484a&&0x1==_0x4d5738&&(types[_0x37cd19]=0x1);}_0x4e5fdd=_0x45484a,0x7&_0x45484a&&(_0x4d5738=_0x45484a);}}}function processBracketPairs(_0xcd4d50,_0x116847,_0x3fc676,_0x186ca2,_0x308365){let _0x4d8e13=0x1==_0x308365?0x2:0x1;for(let _0x34e0f6=0x0,_0x51a80c=0x0,_0x3b420b=0x0;_0x34e0f6<=_0x186ca2['length'];_0x34e0f6++){let _0x307db3=_0x34e0f6?_0x186ca2[_0x34e0f6-0x1]['to']:_0x116847,_0x2f9c92=_0x34e0f6<_0x186ca2['length']?_0x186ca2[_0x34e0f6]['from']:_0x3fc676;for(let _0x5f4ad8,_0x2e54c6,_0x1501ba,_0x30984a=_0x307db3;_0x30984a<_0x2f9c92;_0x30984a++)if(_0x2e54c6=Brackets[_0x5f4ad8=_0xcd4d50['charCodeAt'](_0x30984a)]){if(_0x2e54c6<0x0){for(let _0x2dc807=_0x51a80c-0x3;_0x2dc807>=0x0;_0x2dc807-=0x3)if(BracketStack[_0x2dc807+0x1]==-_0x2e54c6){let _0x1bc396=BracketStack[_0x2dc807+0x2],_0x3c1f6d=0x2&_0x1bc396?_0x308365:0x4&_0x1bc396?0x1&_0x1bc396?_0x4d8e13:_0x308365:0x0;_0x3c1f6d&&(types[_0x30984a]=types[BracketStack[_0x2dc807]]=_0x3c1f6d),_0x51a80c=_0x2dc807;break;}}else{if(0xbd==BracketStack['length'])break;BracketStack[_0x51a80c++]=_0x30984a,BracketStack[_0x51a80c++]=_0x5f4ad8,BracketStack[_0x51a80c++]=_0x3b420b;}}else{if(0x2==(_0x1501ba=types[_0x30984a])||0x1==_0x1501ba){let _0x4d5fda=_0x1501ba==_0x308365;_0x3b420b=_0x4d5fda?0x0:0x1;for(let _0x416e67=_0x51a80c-0x3;_0x416e67>=0x0;_0x416e67-=0x3){let _0x418c1f=BracketStack[_0x416e67+0x2];if(0x2&_0x418c1f)break;if(_0x4d5fda)BracketStack[_0x416e67+0x2]|=0x2;else{if(0x4&_0x418c1f)break;BracketStack[_0x416e67+0x2]|=0x4;}}}}}}function processNeutrals(_0x2c206e,_0x1bd0aa,_0x1ab6c8,_0x29a1ec){for(let _0x4c7de6=0x0,_0x2d110e=_0x29a1ec;_0x4c7de6<=_0x1ab6c8['length'];_0x4c7de6++){let _0x41276d=_0x4c7de6?_0x1ab6c8[_0x4c7de6-0x1]['to']:_0x2c206e,_0x34023a=_0x4c7de6<_0x1ab6c8['length']?_0x1ab6c8[_0x4c7de6]['from']:_0x1bd0aa;for(let _0x532f1f=_0x41276d;_0x532f1f<_0x34023a;){let _0x28eb8e=types[_0x532f1f];if(0x100==_0x28eb8e){let _0x5c9e62=_0x532f1f+0x1;for(;;)if(_0x5c9e62==_0x34023a){if(_0x4c7de6==_0x1ab6c8['length'])break;_0x5c9e62=_0x1ab6c8[_0x4c7de6++]['to'],_0x34023a=_0x4c7de6<_0x1ab6c8['length']?_0x1ab6c8[_0x4c7de6]['from']:_0x1bd0aa;}else{if(0x100!=types[_0x5c9e62])break;_0x5c9e62++;}let _0x4ecea2=0x1==_0x2d110e,_0x2b9d8a=_0x4ecea2==(0x1==(_0x5c9e62<_0x1bd0aa?types[_0x5c9e62]:_0x29a1ec))?_0x4ecea2?0x1:0x2:_0x29a1ec;for(let _0x26c714=_0x5c9e62,_0x59286d=_0x4c7de6,_0x1aff71=_0x59286d?_0x1ab6c8[_0x59286d-0x1]['to']:_0x2c206e;_0x26c714>_0x532f1f;)_0x26c714==_0x1aff71&&(_0x26c714=_0x1ab6c8[--_0x59286d]['from'],_0x1aff71=_0x59286d?_0x1ab6c8[_0x59286d-0x1]['to']:_0x2c206e),types[--_0x26c714]=_0x2b9d8a;_0x532f1f=_0x5c9e62;}else _0x2d110e=_0x28eb8e,_0x532f1f++;}}}function emitSpans(_0x303f91,_0x297e77,_0x3b6d44,_0x198e6e,_0x4bda58,_0x3623d4,_0x4fac4b){let _0x21547f=_0x198e6e%0x2?0x2:0x1;if(_0x198e6e%0x2==_0x4bda58%0x2)for(let _0x1ef999=_0x297e77,_0x4e10ca=0x0;_0x1ef999<_0x3b6d44;){let _0x140a82=!0x0,_0x1ce312=!0x1;if(_0x4e10ca==_0x3623d4['length']||_0x1ef999<_0x3623d4[_0x4e10ca]['from']){let _0x457539=types[_0x1ef999];_0x457539!=_0x21547f&&(_0x140a82=!0x1,_0x1ce312=0x10==_0x457539);}let _0x2d0509=_0x140a82||0x1!=_0x21547f?null:[],_0x858a14=_0x140a82?_0x198e6e:_0x198e6e+0x1,_0x3220bd=_0x1ef999;t:for(;;)if(_0x4e10ca<_0x3623d4['length']&&_0x3220bd==_0x3623d4[_0x4e10ca]['from']){if(_0x1ce312)break t;let _0x449aba=_0x3623d4[_0x4e10ca];if(!_0x140a82)for(let _0x4a0122=_0x449aba['to'],_0x24af3b=_0x4e10ca+0x1;;){if(_0x4a0122==_0x3b6d44)break t;if(!(_0x24af3b<_0x3623d4['length']&&_0x3623d4[_0x24af3b]['from']==_0x4a0122)){if(types[_0x4a0122]==_0x21547f)break t;break;}_0x4a0122=_0x3623d4[_0x24af3b++]['to'];}if(_0x4e10ca++,_0x2d0509)_0x2d0509['push'](_0x449aba);else _0x449aba['from']>_0x1ef999&&_0x4fac4b['push'](new _0x5eb1aa(_0x1ef999,_0x449aba['from'],_0x858a14)),computeSectionOrder(_0x303f91,_0x449aba['direction']==_0x1089d5!=!(_0x858a14%0x2)?_0x198e6e+0x1:_0x198e6e,_0x4bda58,_0x449aba['inner'],_0x449aba['from'],_0x449aba['to'],_0x4fac4b),_0x1ef999=_0x449aba['to'];_0x3220bd=_0x449aba['to'];}else{if(_0x3220bd==_0x3b6d44||(_0x140a82?types[_0x3220bd]!=_0x21547f:types[_0x3220bd]==_0x21547f))break;_0x3220bd++;}_0x2d0509?emitSpans(_0x303f91,_0x1ef999,_0x3220bd,_0x198e6e+0x1,_0x4bda58,_0x2d0509,_0x4fac4b):_0x1ef999<_0x3220bd&&_0x4fac4b['push'](new _0x5eb1aa(_0x1ef999,_0x3220bd,_0x858a14)),_0x1ef999=_0x3220bd;}else for(let _0x5698ad=_0x3b6d44,_0x56d134=_0x3623d4['length'];_0x5698ad>_0x297e77;){let _0x42789a=!0x0,_0x15603a=!0x1;if(!_0x56d134||_0x5698ad>_0x3623d4[_0x56d134-0x1]['to']){let _0x2c052d=types[_0x5698ad-0x1];_0x2c052d!=_0x21547f&&(_0x42789a=!0x1,_0x15603a=0x10==_0x2c052d);}let _0x3b4544=_0x42789a||0x1!=_0x21547f?null:[],_0x195759=_0x42789a?_0x198e6e:_0x198e6e+0x1,_0x40136d=_0x5698ad;t:for(;;)if(_0x56d134&&_0x40136d==_0x3623d4[_0x56d134-0x1]['to']){if(_0x15603a)break t;let _0x562fe9=_0x3623d4[--_0x56d134];if(!_0x42789a)for(let _0x44eaf4=_0x562fe9['from'],_0x342485=_0x56d134;;){if(_0x44eaf4==_0x297e77)break t;if(!_0x342485||_0x3623d4[_0x342485-0x1]['to']!=_0x44eaf4){if(types[_0x44eaf4-0x1]==_0x21547f)break t;break;}_0x44eaf4=_0x3623d4[--_0x342485]['from'];}if(_0x3b4544)_0x3b4544['push'](_0x562fe9);else _0x562fe9['to']<_0x5698ad&&_0x4fac4b['push'](new _0x5eb1aa(_0x562fe9['to'],_0x5698ad,_0x195759)),computeSectionOrder(_0x303f91,_0x562fe9['direction']==_0x1089d5!=!(_0x195759%0x2)?_0x198e6e+0x1:_0x198e6e,_0x4bda58,_0x562fe9['inner'],_0x562fe9['from'],_0x562fe9['to'],_0x4fac4b),_0x5698ad=_0x562fe9['from'];_0x40136d=_0x562fe9['from'];}else{if(_0x40136d==_0x297e77||(_0x42789a?types[_0x40136d-0x1]!=_0x21547f:types[_0x40136d-0x1]==_0x21547f))break;_0x40136d--;}_0x3b4544?emitSpans(_0x303f91,_0x40136d,_0x5698ad,_0x198e6e+0x1,_0x4bda58,_0x3b4544,_0x4fac4b):_0x40136d<_0x5698ad&&_0x4fac4b['push'](new _0x5eb1aa(_0x40136d,_0x5698ad,_0x195759)),_0x5698ad=_0x40136d;}}function computeSectionOrder(_0x4eaa51,_0x1273d8,_0x21a696,_0x16c2aa,_0x5bf344,_0x2e8493,_0x5aca3f){let _0x4fe4bd=_0x1273d8%0x2?0x2:0x1;computeCharTypes(_0x4eaa51,_0x5bf344,_0x2e8493,_0x16c2aa,_0x4fe4bd),processBracketPairs(_0x4eaa51,_0x5bf344,_0x2e8493,_0x16c2aa,_0x4fe4bd),processNeutrals(_0x5bf344,_0x2e8493,_0x16c2aa,_0x4fe4bd),emitSpans(_0x4eaa51,_0x5bf344,_0x2e8493,_0x1273d8,_0x21a696,_0x16c2aa,_0x5aca3f);}function computeOrder(_0x146e20,_0x3c6f2e,_0xa266f5){if(!_0x146e20)return[new _0x5eb1aa(0x0,0x0,_0x3c6f2e==_0x138d94?0x1:0x0)];if(_0x3c6f2e==_0x1089d5&&!_0xa266f5['length']&&!_0x6273c7['test'](_0x146e20))return trivialOrder(_0x146e20['length']);if(_0xa266f5['length']){for(;_0x146e20['length']>types['length'];)types[types['length']]=0x100;}let _0x36f4a8=[],_0x2dca14=_0x3c6f2e==_0x1089d5?0x0:0x1;return computeSectionOrder(_0x146e20,_0x2dca14,_0x2dca14,_0xa266f5,0x0,_0x146e20['length'],_0x36f4a8),_0x36f4a8;}function trivialOrder(_0x1b8457){return[new _0x5eb1aa(0x0,_0x1b8457,0x0)];}let _0x3d5d02='';function _0x4d11c6(_0x4b4b35,_0x2a9d89,_0x29fdc8,_0x90f3ef,_0x1b98b3){var _0x195918;let _0x1df2e4=_0x90f3ef['head']-_0x4b4b35['from'],_0x281e60=_0x5eb1aa['find'](_0x2a9d89,_0x1df2e4,null!==(_0x195918=_0x90f3ef['bidiLevel'])&&void 0x0!==_0x195918?_0x195918:-0x1,_0x90f3ef['assoc']),_0x43bb86=_0x2a9d89[_0x281e60],_0x86c994=_0x43bb86['side'](_0x1b98b3,_0x29fdc8);if(_0x1df2e4==_0x86c994){let _0x442151=_0x281e60+=_0x1b98b3?0x1:-0x1;if(_0x442151<0x0||_0x442151>=_0x2a9d89['length'])return null;_0x43bb86=_0x2a9d89[_0x281e60=_0x442151],_0x1df2e4=_0x43bb86['side'](!_0x1b98b3,_0x29fdc8),_0x86c994=_0x43bb86['side'](_0x1b98b3,_0x29fdc8);}let _0x4e512f=findClusterBreak(_0x4b4b35['text'],_0x1df2e4,_0x43bb86['forward'](_0x1b98b3,_0x29fdc8));(_0x4e512f<_0x43bb86['from']||_0x4e512f>_0x43bb86['to'])&&(_0x4e512f=_0x86c994),_0x3d5d02=_0x4b4b35['text']['slice'](Math['min'](_0x1df2e4,_0x4e512f),Math['max'](_0x1df2e4,_0x4e512f));let _0x243abd=_0x281e60==(_0x1b98b3?_0x2a9d89['length']-0x1:0x0)?null:_0x2a9d89[_0x281e60+(_0x1b98b3?0x1:-0x1)];return _0x243abd&&_0x4e512f==_0x86c994&&_0x243abd['level']+(_0x1b98b3?0x0:0x1)<_0x43bb86['level']?EditorSelection['cursor'](_0x243abd['side'](!_0x1b98b3,_0x29fdc8)+_0x4b4b35['from'],_0x243abd['forward'](_0x1b98b3,_0x29fdc8)?0x1:-0x1,_0x243abd['level']):EditorSelection['cursor'](_0x4e512f+_0x4b4b35['from'],_0x43bb86['forward'](_0x1b98b3,_0x29fdc8)?-0x1:0x1,_0x43bb86['level']);}function autoDirection(_0x50193f,_0x546bf6,_0x1c198c){for(let _0x28d512=_0x546bf6;_0x28d512<_0x1c198c;_0x28d512++){let _0x4cb2ea=_0x527d84(_0x50193f['charCodeAt'](_0x28d512));if(0x1==_0x4cb2ea)return _0x1089d5;if(0x2==_0x4cb2ea||0x4==_0x4cb2ea)return _0x138d94;}return _0x1089d5;}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':_0x231dd0=>_0x231dd0['some'](_0x4823fb=>_0x4823fb)}),nativeSelectionHidden=Facet['define']({'combine':_0x3aa181=>_0x3aa181['some'](_0x4be7d1=>_0x4be7d1)}),_0x3dab1b=Facet['define']();class ScrollTarget{constructor(_0x48bfe4,_0x2af925='nearest',_0x598a2e='nearest',_0x4646f1=0x5,_0x9918ce=0x5,_0x2c4de6=!0x1){this['range']=_0x48bfe4,this['y']=_0x2af925,this['x']=_0x598a2e,this['yMargin']=_0x4646f1,this['xMargin']=_0x9918ce,this['isSnapshot']=_0x2c4de6;}['map'](_0x4c8a30){return _0x4c8a30['empty']?this:new ScrollTarget(this['range']['map'](_0x4c8a30),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x3d5427){return this['range']['to']<=_0x3d5427['doc']['length']?this:new ScrollTarget(EditorSelection['cursor'](_0x3d5427['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}}const scrollIntoView$1=StateEffect['define']({'map':(t,_0x50072a)=>t['map'](_0x50072a)}),setEditContextFormatting=StateEffect['define']();function logException(_0x301f34,_0x392ca6,_0x1fe6d8){let _0x3fc07e=_0x301f34['facet'](exceptionSink);_0x3fc07e['length']?_0x3fc07e[0x0](_0x392ca6):window['onerror']&&window['onerror'](String(_0x392ca6),_0x1fe6d8,void 0x0,void 0x0,_0x392ca6)||(_0x1fe6d8?console['error'](_0x1fe6d8+':',_0x392ca6):console['error'](_0x392ca6));}const editable=Facet['define']({'combine':_0x597412=>!_0x597412['length']||_0x597412[0x0]});let nextPluginID=0x0;const _0x229257=Facet['define']({'combine':_0x551d91=>_0x551d91['filter']((_0x57658b,_0x3d5b35)=>{for(let _0x1c4c2c=0x0;_0x1c4c2c<_0x3d5b35;_0x1c4c2c++)if(_0x551d91[_0x1c4c2c]['plugin']==_0x57658b['plugin'])return!0x1;return!0x0;})});class _0x9d032b{constructor(_0x346699,_0x3b4ec8,_0x19084e,_0x8ad1fc,_0x53ddfd){this['id']=_0x346699,this['create']=_0x3b4ec8,this['domEventHandlers']=_0x19084e,this['domEventObservers']=_0x8ad1fc,this['baseExtensions']=_0x53ddfd(this),this['extension']=this['baseExtensions']['concat'](_0x229257['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x42d46a){return this['baseExtensions']['concat'](_0x229257['of']({'plugin':this,'arg':_0x42d46a}));}static['define'](_0x41ed2f,_0x58a56b){const {eventHandlers:_0xdef3e9,eventObservers:_0x5077c0,provide:_0x15818d,decorations:_0x3a02ef}=_0x58a56b||{};return new _0x9d032b(nextPluginID++,_0x41ed2f,_0xdef3e9,_0x5077c0,_0x3b7a4b=>{let _0x283ce1=[];return _0x3a02ef&&_0x283ce1['push'](decorations['of'](_0xc49ce2=>{let _0x8e5132=_0xc49ce2['plugin'](_0x3b7a4b);return _0x8e5132?_0x3a02ef(_0x8e5132):Decoration['none'];})),_0x15818d&&_0x283ce1['push'](_0x15818d(_0x3b7a4b)),_0x283ce1;});}static['fromClass'](_0x382d52,_0x26b89b){return _0x9d032b['define']((_0x1f23f6,_0x3e1276)=>new _0x382d52(_0x1f23f6,_0x3e1276),_0x26b89b);}}class PluginInstance{constructor(_0x380907){this['spec']=_0x380907,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}['update'](_0x331b32){if(this['value']){if(this['mustUpdate']){let _0x145387=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x145387);}catch(_0x502bca){if(logException(_0x145387['state'],_0x502bca,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x20feb7){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0x331b32,this['spec']['arg']);}catch(_0x4542c9){logException(_0x331b32['state'],_0x4542c9,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0x481e38){var _0x5bbca0;if(null===(_0x5bbca0=this['value'])||void 0x0===_0x5bbca0?void 0x0:_0x5bbca0['destroy'])try{this['value']['destroy']();}catch(_0x33deda){logException(_0x481e38['state'],_0x33deda,'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(_0x1339d0,_0x4c9252){let _0x388b45=_0x1339d0['state']['facet'](bidiIsolatedRanges);if(!_0x388b45['length'])return _0x388b45;let _0x3a3553=_0x388b45['map'](_0x45ecb4=>_0x45ecb4 instanceof Function?_0x45ecb4(_0x1339d0):_0x45ecb4),_0x4b81c1=[];return RangeSet['spans'](_0x3a3553,_0x4c9252['from'],_0x4c9252['to'],{'point'(){},'span'(_0x573721,_0x1cf1e2,_0x47bd52,_0x549e3e){let _0x238ecd=_0x573721-_0x4c9252['from'],_0x78306e=_0x1cf1e2-_0x4c9252['from'],_0x2123fc=_0x4b81c1;for(let _0x4c8b84=_0x47bd52['length']-0x1;_0x4c8b84>=0x0;_0x4c8b84--,_0x549e3e--){let _0x280dcf,_0x308707=_0x47bd52[_0x4c8b84]['spec']['bidiIsolate'];if(null==_0x308707&&(_0x308707=autoDirection(_0x4c9252['text'],_0x238ecd,_0x78306e)),_0x549e3e>0x0&&_0x2123fc['length']&&(_0x280dcf=_0x2123fc[_0x2123fc['length']-0x1])['to']==_0x238ecd&&_0x280dcf['direction']==_0x308707)_0x280dcf['to']=_0x78306e,_0x2123fc=_0x280dcf['inner'];else{let _0x4415b8={'from':_0x238ecd,'to':_0x78306e,'direction':_0x308707,'inner':[]};_0x2123fc['push'](_0x4415b8),_0x2123fc=_0x4415b8['inner'];}}}}),_0x4b81c1;}const _0x3dd84a=Facet['define']();function getScrollMargins(_0x2582fe){let _0x3c6199=0x0,_0x33bb4a=0x0,_0x420a03=0x0,_0x57ac4d=0x0;for(let _0x15fb20 of _0x2582fe['state']['facet'](_0x3dd84a)){let _0x378371=_0x15fb20(_0x2582fe);_0x378371&&(null!=_0x378371['left']&&(_0x3c6199=Math['max'](_0x3c6199,_0x378371['left'])),null!=_0x378371['right']&&(_0x33bb4a=Math['max'](_0x33bb4a,_0x378371['right'])),null!=_0x378371['top']&&(_0x420a03=Math['max'](_0x420a03,_0x378371['top'])),null!=_0x378371['bottom']&&(_0x57ac4d=Math['max'](_0x57ac4d,_0x378371['bottom'])));}return{'left':_0x3c6199,'right':_0x33bb4a,'top':_0x420a03,'bottom':_0x57ac4d};}const styleModule=Facet['define']();class _0xc71755{constructor(_0x54b9c4,_0x51032f,_0x1ce22d,_0x3e8c7c){this['fromA']=_0x54b9c4,this['toA']=_0x51032f,this['fromB']=_0x1ce22d,this['toB']=_0x3e8c7c;}['join'](_0x45f8e9){return new _0xc71755(Math['min'](this['fromA'],_0x45f8e9['fromA']),Math['max'](this['toA'],_0x45f8e9['toA']),Math['min'](this['fromB'],_0x45f8e9['fromB']),Math['max'](this['toB'],_0x45f8e9['toB']));}['addToSet'](_0x1cec9c){let _0x21d2ef=_0x1cec9c['length'],_0x6e28e4=this;for(;_0x21d2ef>0x0;_0x21d2ef--){let _0x3c42ec=_0x1cec9c[_0x21d2ef-0x1];if(!(_0x3c42ec['fromA']>_0x6e28e4['toA'])){if(_0x3c42ec['toA']<_0x6e28e4['fromA'])break;_0x6e28e4=_0x6e28e4['join'](_0x3c42ec),_0x1cec9c['splice'](_0x21d2ef-0x1,0x1);}}return _0x1cec9c['splice'](_0x21d2ef,0x0,_0x6e28e4),_0x1cec9c;}static['extendWithRanges'](_0x3a1377,_0x4e3c86){if(0x0==_0x4e3c86['length'])return _0x3a1377;let _0x27ce32=[];for(let _0x4c90ee=0x0,_0xf372d5=0x0,_0xeaa2ac=0x0,_0x2b121c=0x0;;_0x4c90ee++){let _0x2a5e9e=_0x4c90ee==_0x3a1377['length']?null:_0x3a1377[_0x4c90ee],_0x370073=_0xeaa2ac-_0x2b121c,_0x36d7b0=_0x2a5e9e?_0x2a5e9e['fromB']:0x3b9aca00;for(;_0xf372d5<_0x4e3c86['length']&&_0x4e3c86[_0xf372d5]<_0x36d7b0;){let _0x351ae5=_0x4e3c86[_0xf372d5],_0x2cd53d=_0x4e3c86[_0xf372d5+0x1],_0x4913a9=Math['max'](_0x2b121c,_0x351ae5),_0x158443=Math['min'](_0x36d7b0,_0x2cd53d);if(_0x4913a9<=_0x158443&&new _0xc71755(_0x4913a9+_0x370073,_0x158443+_0x370073,_0x4913a9,_0x158443)['addToSet'](_0x27ce32),_0x2cd53d>_0x36d7b0)break;_0xf372d5+=0x2;}if(!_0x2a5e9e)return _0x27ce32;new _0xc71755(_0x2a5e9e['fromA'],_0x2a5e9e['toA'],_0x2a5e9e['fromB'],_0x2a5e9e['toB'])['addToSet'](_0x27ce32),_0xeaa2ac=_0x2a5e9e['toA'],_0x2b121c=_0x2a5e9e['toB'];}}}class ViewUpdate{constructor(_0x13bd0b,_0x4b44b8,_0x1b45ba){this['view']=_0x13bd0b,this['state']=_0x4b44b8,this['transactions']=_0x1b45ba,this['flags']=0x0,this['startState']=_0x13bd0b['state'],this['changes']=ChangeSet['empty'](this['startState']['doc']['length']);for(let _0x3a1c3f of _0x1b45ba)this['changes']=this['changes']['compose'](_0x3a1c3f['changes']);let _0x36f4d1=[];this['changes']['iterChangedRanges']((_0x4bb485,_0x120977,_0x2de0d2,_0x3f62e4)=>_0x36f4d1['push'](new _0xc71755(_0x4bb485,_0x120977,_0x2de0d2,_0x3f62e4))),this['changedRanges']=_0x36f4d1;}static['create'](_0x1b8553,_0x19ebdf,_0x5a195c){return new ViewUpdate(_0x1b8553,_0x19ebdf,_0x5a195c);}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'](_0x287b4e=>_0x287b4e['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}}class _0x2d5bcb extends ContentView{get['length'](){return this['view']['state']['doc']['length'];}constructor(_0xc0e753){super(),this['view']=_0xc0e753,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'](_0xc0e753['contentDOM']),this['children']=[new _0x34ba09()],this['children'][0x0]['setParent'](this),this['updateDeco'](),this['updateInner']([new _0xc71755(0x0,0x0,0x0,_0xc0e753['state']['doc']['length'])],0x0,null);}['update'](_0x3dacb7){var _0x5f53a6;let _0x449510=_0x3dacb7['changedRanges'];this['minWidth']>0x0&&_0x449510['length']&&(_0x449510['every'](({fromA:_0x263b02,toA:_0x37dd69})=>_0x37dd69<this['minWidthFrom']||_0x263b02>this['minWidthTo'])?(this['minWidthFrom']=_0x3dacb7['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x3dacb7['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x3dacb7);let _0x10b41d=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x5f53a6=this['domChanged'])||void 0x0===_0x5f53a6?void 0x0:_0x5f53a6['newSel'])?_0x10b41d=this['domChanged']['newSel']['head']:touchesComposition(_0x3dacb7['changes'],this['hasComposition'])||_0x3dacb7['selectionSet']||(_0x10b41d=_0x3dacb7['state']['selection']['main']['head']));let _0x97439c=_0x10b41d>-0x1?findCompositionRange(this['view'],_0x3dacb7['changes'],_0x10b41d):null;if(this['domChanged']=null,this['hasComposition']){this['markedForComposition']['clear']();let {from:_0x4dacea,to:_0x91306c}=this['hasComposition'];_0x449510=new _0xc71755(_0x4dacea,_0x91306c,_0x3dacb7['changes']['mapPos'](_0x4dacea,-0x1),_0x3dacb7['changes']['mapPos'](_0x91306c,0x1))['addToSet'](_0x449510['slice']());}this['hasComposition']=_0x97439c?{'from':_0x97439c['range']['fromB'],'to':_0x97439c['range']['toB']}:null,(_0x4ac4fc['ie']||_0x4ac4fc['chrome'])&&!_0x97439c&&_0x3dacb7&&_0x3dacb7['state']['doc']['lines']!=_0x3dacb7['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x3fcc2b=_0x357ee8(this['decorations'],this['updateDeco'](),_0x3dacb7['changes']);return _0x449510=_0xc71755['extendWithRanges'](_0x449510,_0x3fcc2b),!!(0x7&this['flags']||0x0!=_0x449510['length'])&&(this['updateInner'](_0x449510,_0x3dacb7['startState']['doc']['length'],_0x97439c),_0x3dacb7['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0x45a7a3,_0xc6feb7,_0x2012fb){this['view']['viewState']['mustMeasureContent']=!0x0,this['updateChildren'](_0x45a7a3,_0xc6feb7,_0x2012fb);let {observer:_0x42353a}=this['view'];_0x42353a['ignore'](()=>{this['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x3928c1=_0x4ac4fc['chrome']||_0x4ac4fc['ios']?{'node':_0x42353a['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['sync'](this['view'],_0x3928c1),this['flags']&=-0x8,_0x3928c1&&(_0x3928c1['written']||_0x42353a['selectionRange']['focusNode']!=_0x3928c1['node'])&&(this['forceSelection']=!0x0),this['dom']['style']['height']='';}),this['markedForComposition']['forEach'](_0x1c66f8=>_0x1c66f8['flags']&=-0x9);let _0x46671b=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0x376f2f of this['children'])_0x376f2f instanceof BlockWidgetView&&_0x376f2f['widget']instanceof BlockGapWidget&&_0x46671b['push'](_0x376f2f['dom']);}_0x42353a['updateGaps'](_0x46671b);}['updateChildren'](_0x5cd7d8,_0x3ce7eb,_0x4fd2c6){let _0x5b1316=_0x4fd2c6?_0x4fd2c6['range']['addToSet'](_0x5cd7d8['slice']()):_0x5cd7d8,_0x181896=this['childCursor'](_0x3ce7eb);for(let _0x214605=_0x5b1316['length']-0x1;;_0x214605--){let _0x31e15a=_0x214605>=0x0?_0x5b1316[_0x214605]:null;if(!_0x31e15a)break;let _0x33a179,_0x58412a,_0x469982,_0x542522,{fromA:_0x669673,toA:_0x11e8a3,fromB:_0x366b77,toB:_0x3af15d}=_0x31e15a;if(_0x4fd2c6&&_0x4fd2c6['range']['fromB']<_0x3af15d&&_0x4fd2c6['range']['toB']>_0x366b77){let _0x44fa0f=ContentBuilder['build'](this['view']['state']['doc'],_0x366b77,_0x4fd2c6['range']['fromB'],this['decorations'],this['dynamicDecorationMap']),_0x1d4479=ContentBuilder['build'](this['view']['state']['doc'],_0x4fd2c6['range']['toB'],_0x3af15d,this['decorations'],this['dynamicDecorationMap']);_0x58412a=_0x44fa0f['breakAtStart'],_0x469982=_0x44fa0f['openStart'],_0x542522=_0x1d4479['openEnd'];let _0x1084f5=this['compositionView'](_0x4fd2c6);_0x1d4479['breakAtStart']?_0x1084f5['breakAfter']=0x1:_0x1d4479['content']['length']&&_0x1084f5['merge'](_0x1084f5['length'],_0x1084f5['length'],_0x1d4479['content'][0x0],!0x1,_0x1d4479['openStart'],0x0)&&(_0x1084f5['breakAfter']=_0x1d4479['content'][0x0]['breakAfter'],_0x1d4479['content']['shift']()),_0x44fa0f['content']['length']&&_0x1084f5['merge'](0x0,0x0,_0x44fa0f['content'][_0x44fa0f['content']['length']-0x1],!0x0,0x0,_0x44fa0f['openEnd'])&&_0x44fa0f['content']['pop'](),_0x33a179=_0x44fa0f['content']['concat'](_0x1084f5)['concat'](_0x1d4479['content']);}else({content:_0x33a179,breakAtStart:_0x58412a,openStart:_0x469982,openEnd:_0x542522}=ContentBuilder['build'](this['view']['state']['doc'],_0x366b77,_0x3af15d,this['decorations'],this['dynamicDecorationMap']));let {i:_0x5e2bcd,off:_0x30cf64}=_0x181896['findPos'](_0x11e8a3,0x1),{i:_0x3662fd,off:_0x3588a4}=_0x181896['findPos'](_0x669673,-0x1);_0x263956(this,_0x3662fd,_0x3588a4,_0x5e2bcd,_0x30cf64,_0x33a179,_0x58412a,_0x469982,_0x542522);}_0x4fd2c6&&this['fixCompositionDOM'](_0x4fd2c6);}['updateEditContextFormatting'](_0x3073dd){this['editContextFormatting']=this['editContextFormatting']['map'](_0x3073dd['changes']);for(let _0x190837 of _0x3073dd['transactions'])for(let _0x3ccdfd of _0x190837['effects'])_0x3ccdfd['is'](setEditContextFormatting)&&(this['editContextFormatting']=_0x3ccdfd['value']);}['compositionView'](_0x4da2c3){let _0x4c7003=new TextView(_0x4da2c3['text']['nodeValue']);_0x4c7003['flags']|=0x8;for(let {deco:_0x9aaf05}of _0x4da2c3['marks'])_0x4c7003=new _0x1f54ef(_0x9aaf05,[_0x4c7003],_0x4c7003['length']);let _0x33ab96=new _0x34ba09();return _0x33ab96['append'](_0x4c7003,0x0),_0x33ab96;}['fixCompositionDOM'](_0xba6e41){let _0x3638ce=(_0x35dfb5,_0x3878cd)=>{_0x3878cd['flags']|=0x8|(_0x3878cd['children']['some'](_0x14dcf5=>0x7&_0x14dcf5['flags'])?0x1:0x0),this['markedForComposition']['add'](_0x3878cd);let _0x4bc793=ContentView['get'](_0x35dfb5);_0x4bc793&&_0x4bc793!=_0x3878cd&&(_0x4bc793['dom']=null),_0x3878cd['setDOM'](_0x35dfb5);},_0x696c65=this['childPos'](_0xba6e41['range']['fromB'],0x1),_0x20fec6=this['children'][_0x696c65['i']];_0x3638ce(_0xba6e41['line'],_0x20fec6);for(let _0x29ee6f=_0xba6e41['marks']['length']-0x1;_0x29ee6f>=-0x1;_0x29ee6f--)_0x696c65=_0x20fec6['childPos'](_0x696c65['off'],0x1),_0x20fec6=_0x20fec6['children'][_0x696c65['i']],_0x3638ce(_0x29ee6f>=0x0?_0xba6e41['marks'][_0x29ee6f]['node']:_0xba6e41['text'],_0x20fec6);}['updateSelection'](_0x53ce32=!0x1,_0x57ccf4=!0x1){!_0x53ce32&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let _0x4f6d9f=this['view']['root']['activeElement'],_0x580a81=_0x4f6d9f==this['dom'],_0x4425b9=!_0x580a81&&!(this['view']['state']['facet'](editable)||this['dom']['tabIndex']>-0x1)&&hasSelection(this['dom'],this['view']['observer']['selectionRange'])&&!(_0x4f6d9f&&this['dom']['contains'](_0x4f6d9f));if(!(_0x580a81||_0x57ccf4||_0x4425b9))return;let _0x4eabe5=this['forceSelection'];this['forceSelection']=!0x1;let _0x375070=this['view']['state']['selection']['main'],_0x272dcc=this['moveToLine'](this['domAtPos'](_0x375070['anchor'])),_0x402f1f=_0x375070['empty']?_0x272dcc:this['moveToLine'](this['domAtPos'](_0x375070['head']));if(_0x4ac4fc['gecko']&&_0x375070['empty']&&!this['hasComposition']&&betweenUneditable(_0x272dcc)){let _0x18c0cd=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0x272dcc['node']['insertBefore'](_0x18c0cd,_0x272dcc['node']['childNodes'][_0x272dcc['offset']]||null)),_0x272dcc=_0x402f1f=new _0x56c1e2(_0x18c0cd,0x0),_0x4eabe5=!0x0;}let _0x318df2=this['view']['observer']['selectionRange'];!_0x4eabe5&&_0x318df2['focusNode']&&(isEquivalentPosition(_0x272dcc['node'],_0x272dcc['offset'],_0x318df2['anchorNode'],_0x318df2['anchorOffset'])&&isEquivalentPosition(_0x402f1f['node'],_0x402f1f['offset'],_0x318df2['focusNode'],_0x318df2['focusOffset'])||this['suppressWidgetCursorChange'](_0x318df2,_0x375070))||(this['view']['observer']['ignore'](()=>{_0x4ac4fc['android']&&_0x4ac4fc['chrome']&&this['dom']['contains'](_0x318df2['focusNode'])&&inUneditable(_0x318df2['focusNode'],this['dom'])&&(this['dom']['blur'](),this['dom']['focus']({'preventScroll':!0x0}));let _0x530f52=getSelection(this['view']['root']);if(_0x530f52){if(_0x375070['empty']){if(_0x4ac4fc['gecko']){let _0x46d235=nextToUneditable(_0x272dcc['node'],_0x272dcc['offset']);if(_0x46d235&&0x3!=_0x46d235){let _0x1ca404=(0x1==_0x46d235?textNodeBefore:textNodeAfter)(_0x272dcc['node'],_0x272dcc['offset']);_0x1ca404&&(_0x272dcc=new _0x56c1e2(_0x1ca404['node'],_0x1ca404['offset']));}}_0x530f52['collapse'](_0x272dcc['node'],_0x272dcc['offset']),null!=_0x375070['bidiLevel']&&void 0x0!==_0x530f52['caretBidiLevel']&&(_0x530f52['caretBidiLevel']=_0x375070['bidiLevel']);}else{if(_0x530f52['extend']){_0x530f52['collapse'](_0x272dcc['node'],_0x272dcc['offset']);try{_0x530f52['extend'](_0x402f1f['node'],_0x402f1f['offset']);}catch(_0x5bba85){}}else{let _0xac47ca=document['createRange']();_0x375070['anchor']>_0x375070['head']&&([_0x272dcc,_0x402f1f]=[_0x402f1f,_0x272dcc]),_0xac47ca['setEnd'](_0x402f1f['node'],_0x402f1f['offset']),_0xac47ca['setStart'](_0x272dcc['node'],_0x272dcc['offset']),_0x530f52['removeAllRanges'](),_0x530f52['addRange'](_0xac47ca);}}}else;_0x4425b9&&this['view']['root']['activeElement']==this['dom']&&(this['dom']['blur'](),_0x4f6d9f&&_0x4f6d9f['focus']());}),this['view']['observer']['setSelectionRange'](_0x272dcc,_0x402f1f)),this['impreciseAnchor']=_0x272dcc['precise']?null:new _0x56c1e2(_0x318df2['anchorNode'],_0x318df2['anchorOffset']),this['impreciseHead']=_0x402f1f['precise']?null:new _0x56c1e2(_0x318df2['focusNode'],_0x318df2['focusOffset']);}['suppressWidgetCursorChange'](_0x448489,_0x137b1d){return this['hasComposition']&&_0x137b1d['empty']&&isEquivalentPosition(_0x448489['focusNode'],_0x448489['focusOffset'],_0x448489['anchorNode'],_0x448489['anchorOffset'])&&this['posFromDOM'](_0x448489['focusNode'],_0x448489['focusOffset'])==_0x137b1d['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x5c0a9f}=this,_0x56797a=_0x5c0a9f['state']['selection']['main'],_0x53597a=getSelection(_0x5c0a9f['root']),{anchorNode:_0x1d13e8,anchorOffset:_0x5793c9}=_0x5c0a9f['observer']['selectionRange'];if(!(_0x53597a&&_0x56797a['empty']&&_0x56797a['assoc']&&_0x53597a['modify']))return;let _0x362c34=_0x34ba09['find'](this,_0x56797a['head']);if(!_0x362c34)return;let _0x2b0dfb=_0x362c34['posAtStart'];if(_0x56797a['head']==_0x2b0dfb||_0x56797a['head']==_0x2b0dfb+_0x362c34['length'])return;let _0x100a36=this['coordsAt'](_0x56797a['head'],-0x1),_0x1583b1=this['coordsAt'](_0x56797a['head'],0x1);if(!_0x100a36||!_0x1583b1||_0x100a36['bottom']>_0x1583b1['top'])return;let _0x116e68=this['domAtPos'](_0x56797a['head']+_0x56797a['assoc']);_0x53597a['collapse'](_0x116e68['node'],_0x116e68['offset']),_0x53597a['modify']('move',_0x56797a['assoc']<0x0?'forward':'backward','lineboundary'),_0x5c0a9f['observer']['readSelectionRange']();let _0x8f1474=_0x5c0a9f['observer']['selectionRange'];_0x5c0a9f['docView']['posFromDOM'](_0x8f1474['anchorNode'],_0x8f1474['anchorOffset'])!=_0x56797a['from']&&_0x53597a['collapse'](_0x1d13e8,_0x5793c9);}['moveToLine'](_0xbd4341){let _0x2f7fee,_0x151aff=this['dom'];if(_0xbd4341['node']!=_0x151aff)return _0xbd4341;for(let _0x810c73=_0xbd4341['offset'];!_0x2f7fee&&_0x810c73<_0x151aff['childNodes']['length'];_0x810c73++){let _0x5cb63d=ContentView['get'](_0x151aff['childNodes'][_0x810c73]);_0x5cb63d instanceof _0x34ba09&&(_0x2f7fee=_0x5cb63d['domAtPos'](0x0));}for(let _0x3774ee=_0xbd4341['offset']-0x1;!_0x2f7fee&&_0x3774ee>=0x0;_0x3774ee--){let _0x19aa8d=ContentView['get'](_0x151aff['childNodes'][_0x3774ee]);_0x19aa8d instanceof _0x34ba09&&(_0x2f7fee=_0x19aa8d['domAtPos'](_0x19aa8d['length']));}return _0x2f7fee?new _0x56c1e2(_0x2f7fee['node'],_0x2f7fee['offset'],!0x0):_0xbd4341;}['nearest'](_0x3246b8){for(let _0x5e43b6=_0x3246b8;_0x5e43b6;){let _0x3d04b6=ContentView['get'](_0x5e43b6);if(_0x3d04b6&&_0x3d04b6['rootView']==this)return _0x3d04b6;_0x5e43b6=_0x5e43b6['parentNode'];}return null;}['posFromDOM'](_0x3658af,_0x4e9310){let _0x53c581=this['nearest'](_0x3658af);if(!_0x53c581)throw new RangeError('Trying\x20to\x20find\x20position\x20for\x20a\x20DOM\x20position\x20outside\x20of\x20the\x20document');return _0x53c581['localPosFromDOM'](_0x3658af,_0x4e9310)+_0x53c581['posAtStart'];}['domAtPos'](_0x1ecc9a){let {i:_0x1eef00,off:_0x2bbf20}=this['childCursor']()['findPos'](_0x1ecc9a,-0x1);for(;_0x1eef00<this['children']['length']-0x1;){let _0x4d02c0=this['children'][_0x1eef00];if(_0x2bbf20<_0x4d02c0['length']||_0x4d02c0 instanceof _0x34ba09)break;_0x1eef00++,_0x2bbf20=0x0;}return this['children'][_0x1eef00]['domAtPos'](_0x2bbf20);}['coordsAt'](_0x2ec72f,_0x147a6d){let _0x35ac53=null,_0x160f05=0x0;for(let _0x1a49eb=this['length'],_0x4c66a3=this['children']['length']-0x1;_0x4c66a3>=0x0;_0x4c66a3--){let _0x3e13d9=this['children'][_0x4c66a3],_0x154e7d=_0x1a49eb-_0x3e13d9['breakAfter'],_0x38b394=_0x154e7d-_0x3e13d9['length'];if(_0x154e7d<_0x2ec72f)break;if(_0x38b394<=_0x2ec72f&&(_0x38b394<_0x2ec72f||_0x3e13d9['covers'](-0x1))&&(_0x154e7d>_0x2ec72f||_0x3e13d9['covers'](0x1))&&(!_0x35ac53||_0x3e13d9 instanceof _0x34ba09&&!(_0x35ac53 instanceof _0x34ba09&&_0x147a6d>=0x0)))_0x35ac53=_0x3e13d9,_0x160f05=_0x38b394;else{if(_0x35ac53&&_0x38b394==_0x2ec72f&&_0x154e7d==_0x2ec72f&&_0x3e13d9 instanceof BlockWidgetView&&Math['abs'](_0x147a6d)<0x2){if(_0x3e13d9['deco']['startSide']<0x0)break;_0x4c66a3&&(_0x35ac53=null);}}_0x1a49eb=_0x38b394;}return _0x35ac53?_0x35ac53['coordsAt'](_0x2ec72f-_0x160f05,_0x147a6d):null;}['coordsForChar'](_0x1d3954){let {i:_0x56ea51,off:_0x492472}=this['childPos'](_0x1d3954,0x1),_0x1eb752=this['children'][_0x56ea51];if(!(_0x1eb752 instanceof _0x34ba09))return null;for(;_0x1eb752['children']['length'];){let {i:_0x5d9b5b,off:_0x3499b1}=_0x1eb752['childPos'](_0x492472,0x1);for(;;_0x5d9b5b++){if(_0x5d9b5b==_0x1eb752['children']['length'])return null;if((_0x1eb752=_0x1eb752['children'][_0x5d9b5b])['length'])break;}_0x492472=_0x3499b1;}if(!(_0x1eb752 instanceof TextView))return null;let _0x56def7=findClusterBreak(_0x1eb752['text'],_0x492472);if(_0x56def7==_0x492472)return null;let _0x124282=textRange(_0x1eb752['dom'],_0x492472,_0x56def7)['getClientRects']();for(let _0x1a64f7=0x0;_0x1a64f7<_0x124282['length'];_0x1a64f7++){let _0x206ad=_0x124282[_0x1a64f7];if(_0x1a64f7==_0x124282['length']-0x1||_0x206ad['top']<_0x206ad['bottom']&&_0x206ad['left']<_0x206ad['right'])return _0x206ad;}return null;}['measureVisibleLineHeights'](_0x50b2ed){let _0x3b466e=[],{from:_0x4e92cb,to:_0x1a5ce4}=_0x50b2ed,_0x170b77=this['view']['contentDOM']['clientWidth'],_0x2c2fb7=_0x170b77>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0x95aa4f=-0x1,_0x5cb2e9=this['view']['textDirection']==Direction['LTR'];for(let _0x4c7696=0x0,_0xd7dde5=0x0;_0xd7dde5<this['children']['length'];_0xd7dde5++){let _0x3150bc=this['children'][_0xd7dde5],_0xef64d1=_0x4c7696+_0x3150bc['length'];if(_0xef64d1>_0x1a5ce4)break;if(_0x4c7696>=_0x4e92cb){let _0x2fc815=_0x3150bc['dom']['getBoundingClientRect']();if(_0x3b466e['push'](_0x2fc815['height']),_0x2c2fb7){let _0x3d6300=_0x3150bc['dom']['lastChild'],_0x4b54ce=_0x3d6300?clientRectsFor(_0x3d6300):[];if(_0x4b54ce['length']){let _0x17fa86=_0x4b54ce[_0x4b54ce['length']-0x1],_0x372c4e=_0x5cb2e9?_0x17fa86['right']-_0x2fc815['left']:_0x2fc815['right']-_0x17fa86['left'];_0x372c4e>_0x95aa4f&&(_0x95aa4f=_0x372c4e,this['minWidth']=_0x170b77,this['minWidthFrom']=_0x4c7696,this['minWidthTo']=_0xef64d1);}}}_0x4c7696=_0xef64d1+_0x3150bc['breakAfter'];}return _0x3b466e;}['textDirectionAt'](_0x26952b){let {i:_0x753629}=this['childPos'](_0x26952b,0x1);return'rtl'==getComputedStyle(this['children'][_0x753629]['dom'])['direction']?Direction['RTL']:Direction['LTR'];}['measureTextSize'](){for(let _0x8ecd60 of this['children'])if(_0x8ecd60 instanceof _0x34ba09){let _0x186fdc=_0x8ecd60['measureTextSize']();if(_0x186fdc)return _0x186fdc;}let _0x10dd67,_0x9b10b3,_0x263232,_0x100fc9=document['createElement']('div');return _0x100fc9['className']='cm-line',_0x100fc9['style']['width']='99999px',_0x100fc9['style']['position']='absolute',_0x100fc9['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['dom']['appendChild'](_0x100fc9);let _0xd85e4d=clientRectsFor(_0x100fc9['firstChild'])[0x0];_0x10dd67=_0x100fc9['getBoundingClientRect']()['height'],_0x9b10b3=_0xd85e4d?_0xd85e4d['width']/0x1b:0x7,_0x263232=_0xd85e4d?_0xd85e4d['height']:_0x10dd67,_0x100fc9['remove']();}),{'lineHeight':_0x10dd67,'charWidth':_0x9b10b3,'textHeight':_0x263232};}['childCursor'](_0x1565ce=this['length']){let _0x147b9f=this['children']['length'];return _0x147b9f&&(_0x1565ce-=this['children'][--_0x147b9f]['length']),new _0x221840(this['children'],_0x1565ce,_0x147b9f);}['computeBlockGapDeco'](){let _0x445bb8=[],_0x33a7ae=this['view']['viewState'];for(let _0x41cd3c=0x0,_0x53a9f7=0x0;;_0x53a9f7++){let _0x1a0de2=_0x53a9f7==_0x33a7ae['viewports']['length']?null:_0x33a7ae['viewports'][_0x53a9f7],_0x3073c6=_0x1a0de2?_0x1a0de2['from']-0x1:this['length'];if(_0x3073c6>_0x41cd3c){let _0x4c9330=(_0x33a7ae['lineBlockAt'](_0x3073c6)['bottom']-_0x33a7ae['lineBlockAt'](_0x41cd3c)['top'])/this['view']['scaleY'];_0x445bb8['push'](Decoration['replace']({'widget':new BlockGapWidget(_0x4c9330),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x41cd3c,_0x3073c6));}if(!_0x1a0de2)break;_0x41cd3c=_0x1a0de2['to']+0x1;}return Decoration['set'](_0x445bb8);}['updateDeco'](){let _0x11371b=0x1,_0x894c33=this['view']['state']['facet'](decorations)['map'](_0x275c3f=>(this['dynamicDecorationMap'][_0x11371b++]='function'==typeof _0x275c3f)?_0x275c3f(this['view']):_0x275c3f),_0x2e8c4f=!0x1,_0x240eb0=this['view']['state']['facet'](outerDecorations)['map']((_0x4fa2b6,_0x472a0f)=>{let _0x394c09='function'==typeof _0x4fa2b6;return _0x394c09&&(_0x2e8c4f=!0x0),_0x394c09?_0x4fa2b6(this['view']):_0x4fa2b6;});for(_0x240eb0['length']&&(this['dynamicDecorationMap'][_0x11371b++]=_0x2e8c4f,_0x894c33['push'](RangeSet['join'](_0x240eb0))),this['decorations']=[this['editContextFormatting'],..._0x894c33,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0x11371b<this['decorations']['length'];)this['dynamicDecorationMap'][_0x11371b++]=!0x1;return this['decorations'];}['scrollIntoView'](_0x347e6b){if(_0x347e6b['isSnapshot']){let _0x4d41c7=this['view']['viewState']['lineBlockAt'](_0x347e6b['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x4d41c7['top']-_0x347e6b['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x347e6b['xMargin']);}for(let _0x28de07 of this['view']['state']['facet'](_0x3dab1b))try{if(_0x28de07(this['view'],_0x347e6b['range'],_0x347e6b))return!0x0;}catch(_0xaede6){logException(this['view']['state'],_0xaede6,'scroll\x20handler');}let _0x2663ec,{range:_0x110e50}=_0x347e6b,_0x52b86f=this['coordsAt'](_0x110e50['head'],_0x110e50['empty']?_0x110e50['assoc']:_0x110e50['head']>_0x110e50['anchor']?-0x1:0x1);if(!_0x52b86f)return;!_0x110e50['empty']&&(_0x2663ec=this['coordsAt'](_0x110e50['anchor'],_0x110e50['anchor']>_0x110e50['head']?-0x1:0x1))&&(_0x52b86f={'left':Math['min'](_0x52b86f['left'],_0x2663ec['left']),'top':Math['min'](_0x52b86f['top'],_0x2663ec['top']),'right':Math['max'](_0x52b86f['right'],_0x2663ec['right']),'bottom':Math['max'](_0x52b86f['bottom'],_0x2663ec['bottom'])});let _0x2973dd=getScrollMargins(this['view']),_0x25db31={'left':_0x52b86f['left']-_0x2973dd['left'],'top':_0x52b86f['top']-_0x2973dd['top'],'right':_0x52b86f['right']+_0x2973dd['right'],'bottom':_0x52b86f['bottom']+_0x2973dd['bottom']},{offsetWidth:_0x1ee29f,offsetHeight:_0x562ab7}=this['view']['scrollDOM'];scrollRectIntoView(this['view']['scrollDOM'],_0x25db31,_0x110e50['head']<_0x110e50['anchor']?-0x1:0x1,_0x347e6b['x'],_0x347e6b['y'],Math['max'](Math['min'](_0x347e6b['xMargin'],_0x1ee29f),-_0x1ee29f),Math['max'](Math['min'](_0x347e6b['yMargin'],_0x562ab7),-_0x562ab7),this['view']['textDirection']==Direction['LTR']);}}function betweenUneditable(_0x1dca57){return 0x1==_0x1dca57['node']['nodeType']&&_0x1dca57['node']['firstChild']&&(0x0==_0x1dca57['offset']||'false'==_0x1dca57['node']['childNodes'][_0x1dca57['offset']-0x1]['contentEditable'])&&(_0x1dca57['offset']==_0x1dca57['node']['childNodes']['length']||'false'==_0x1dca57['node']['childNodes'][_0x1dca57['offset']]['contentEditable']);}function findCompositionNode(_0x343029,_0x145647){let _0x25faff=_0x343029['observer']['selectionRange'];if(!_0x25faff['focusNode'])return null;let _0x37281e=textNodeBefore(_0x25faff['focusNode'],_0x25faff['focusOffset']),_0x1d51ed=textNodeAfter(_0x25faff['focusNode'],_0x25faff['focusOffset']),_0xb94211=_0x37281e||_0x1d51ed;if(_0x1d51ed&&_0x37281e&&_0x1d51ed['node']!=_0x37281e['node']){let _0x54bd99=ContentView['get'](_0x1d51ed['node']);if(!_0x54bd99||_0x54bd99 instanceof TextView&&_0x54bd99['text']!=_0x1d51ed['node']['nodeValue'])_0xb94211=_0x1d51ed;else{if(_0x343029['docView']['lastCompositionAfterCursor']){let _0x24d2f9=ContentView['get'](_0x37281e['node']);!_0x24d2f9||_0x24d2f9 instanceof TextView&&_0x24d2f9['text']!=_0x37281e['node']['nodeValue']||(_0xb94211=_0x1d51ed);}}}if(_0x343029['docView']['lastCompositionAfterCursor']=_0xb94211!=_0x37281e,!_0xb94211)return null;let _0x552cdf=_0x145647-_0xb94211['offset'];return{'from':_0x552cdf,'to':_0x552cdf+_0xb94211['node']['nodeValue']['length'],'node':_0xb94211['node']};}function findCompositionRange(_0x32822e,_0x3158db,_0xbbebb8){let _0x39600a=findCompositionNode(_0x32822e,_0xbbebb8);if(!_0x39600a)return null;let {node:_0x476d2b,from:_0x355066,to:_0x5851f4}=_0x39600a,_0x2b8530=_0x476d2b['nodeValue'];if(/[\n\r]/['test'](_0x2b8530))return null;if(_0x32822e['state']['doc']['sliceString'](_0x39600a['from'],_0x39600a['to'])!=_0x2b8530)return null;let _0x471cfe=_0x3158db['invertedDesc'],_0xb7f42a=new _0xc71755(_0x471cfe['mapPos'](_0x355066),_0x471cfe['mapPos'](_0x5851f4),_0x355066,_0x5851f4),_0x332724=[];for(let _0x48b4ea=_0x476d2b['parentNode'];;_0x48b4ea=_0x48b4ea['parentNode']){let _0x2e033e=ContentView['get'](_0x48b4ea);if(_0x2e033e instanceof _0x1f54ef)_0x332724['push']({'node':_0x48b4ea,'deco':_0x2e033e['mark']});else{if(_0x2e033e instanceof _0x34ba09||'DIV'==_0x48b4ea['nodeName']&&_0x48b4ea['parentNode']==_0x32822e['contentDOM'])return{'range':_0xb7f42a,'text':_0x476d2b,'marks':_0x332724,'line':_0x48b4ea};if(_0x48b4ea==_0x32822e['contentDOM'])return null;_0x332724['push']({'node':_0x48b4ea,'deco':new MarkDecoration({'inclusive':!0x0,'attributes':getAttrs$1(_0x48b4ea),'tagName':_0x48b4ea['tagName']['toLowerCase']()})});}}}function nextToUneditable(_0xbfd3b1,_0x5607db){return 0x1!=_0xbfd3b1['nodeType']?0x0:(_0x5607db&&'false'==_0xbfd3b1['childNodes'][_0x5607db-0x1]['contentEditable']?0x1:0x0)|(_0x5607db<_0xbfd3b1['childNodes']['length']&&'false'==_0xbfd3b1['childNodes'][_0x5607db]['contentEditable']?0x2:0x0);}let DecorationComparator$1=class{constructor(){this['changes']=[];}['compareRange'](_0x1c4d6a,_0x2692aa){_0x1198bc(_0x1c4d6a,_0x2692aa,this['changes']);}['comparePoint'](_0x2c70f8,_0xeb3c7f){_0x1198bc(_0x2c70f8,_0xeb3c7f,this['changes']);}['boundChange'](_0x2f94af){_0x1198bc(_0x2f94af,_0x2f94af,this['changes']);}};function _0x357ee8(_0x422e9e,_0x658cbb,_0x38109d){let _0x593f11=new DecorationComparator$1();return RangeSet['compare'](_0x422e9e,_0x658cbb,_0x38109d,_0x593f11),_0x593f11['changes'];}function inUneditable(_0x59f6e3,_0x45f5d0){for(let _0x58f46c=_0x59f6e3;_0x58f46c&&_0x58f46c!=_0x45f5d0;_0x58f46c=_0x58f46c['assignedSlot']||_0x58f46c['parentNode'])if(0x1==_0x58f46c['nodeType']&&'false'==_0x58f46c['contentEditable'])return!0x0;return!0x1;}function touchesComposition(_0x5b3465,_0x650bf6){let _0x27b143=!0x1;return _0x650bf6&&_0x5b3465['iterChangedRanges']((_0x224008,_0x4eed97)=>{_0x224008<_0x650bf6['to']&&_0x4eed97>_0x650bf6['from']&&(_0x27b143=!0x0);}),_0x27b143;}function groupAt(_0x5cdee2,_0x129c89,_0x37ba1f=0x1){let _0x46b673=_0x5cdee2['charCategorizer'](_0x129c89),_0x152f75=_0x5cdee2['doc']['lineAt'](_0x129c89),_0x79a0ed=_0x129c89-_0x152f75['from'];if(0x0==_0x152f75['length'])return EditorSelection['cursor'](_0x129c89);0x0==_0x79a0ed?_0x37ba1f=0x1:_0x79a0ed==_0x152f75['length']&&(_0x37ba1f=-0x1);let _0x3200c4=_0x79a0ed,_0x2f2f61=_0x79a0ed;_0x37ba1f<0x0?_0x3200c4=findClusterBreak(_0x152f75['text'],_0x79a0ed,!0x1):_0x2f2f61=findClusterBreak(_0x152f75['text'],_0x79a0ed);let _0x4df87f=_0x46b673(_0x152f75['text']['slice'](_0x3200c4,_0x2f2f61));for(;_0x3200c4>0x0;){let _0xdc3865=findClusterBreak(_0x152f75['text'],_0x3200c4,!0x1);if(_0x46b673(_0x152f75['text']['slice'](_0xdc3865,_0x3200c4))!=_0x4df87f)break;_0x3200c4=_0xdc3865;}for(;_0x2f2f61<_0x152f75['length'];){let _0x53bf4e=findClusterBreak(_0x152f75['text'],_0x2f2f61);if(_0x46b673(_0x152f75['text']['slice'](_0x2f2f61,_0x53bf4e))!=_0x4df87f)break;_0x2f2f61=_0x53bf4e;}return EditorSelection['range'](_0x3200c4+_0x152f75['from'],_0x2f2f61+_0x152f75['from']);}function getdx(_0x33cc8d,_0x28c770){return _0x28c770['left']>_0x33cc8d?_0x28c770['left']-_0x33cc8d:Math['max'](0x0,_0x33cc8d-_0x28c770['right']);}function getdy(_0x2b1669,_0x22830e){return _0x22830e['top']>_0x2b1669?_0x22830e['top']-_0x2b1669:Math['max'](0x0,_0x2b1669-_0x22830e['bottom']);}function _0x221400(_0x1c72e9,_0x4fdf55){return _0x1c72e9['top']<_0x4fdf55['bottom']-0x1&&_0x1c72e9['bottom']>_0x4fdf55['top']+0x1;}function _0x3829c1(_0x3617a,_0x50a92c){return _0x50a92c<_0x3617a['top']?{'top':_0x50a92c,'left':_0x3617a['left'],'right':_0x3617a['right'],'bottom':_0x3617a['bottom']}:_0x3617a;}function upBot(_0x4f8f30,_0x27b1be){return _0x27b1be>_0x4f8f30['bottom']?{'top':_0x4f8f30['top'],'left':_0x4f8f30['left'],'right':_0x4f8f30['right'],'bottom':_0x27b1be}:_0x4f8f30;}function domPosAtCoords(_0x385070,_0x21c0bf,_0x30d42b){let _0x528518,_0x559ed5,_0x255b30,_0x242a97,_0x3351fe,_0x3d0b3f,_0x23de44,_0x4d188b,_0x59f3e7=!0x1;for(let _0x6c1d62=_0x385070['firstChild'];_0x6c1d62;_0x6c1d62=_0x6c1d62['nextSibling']){let _0x2b483e=clientRectsFor(_0x6c1d62);for(let _0x1d2212=0x0;_0x1d2212<_0x2b483e['length'];_0x1d2212++){let _0x4dcb9f=_0x2b483e[_0x1d2212];_0x559ed5&&_0x221400(_0x559ed5,_0x4dcb9f)&&(_0x4dcb9f=_0x3829c1(upBot(_0x4dcb9f,_0x559ed5['bottom']),_0x559ed5['top']));let _0x48c63a=getdx(_0x21c0bf,_0x4dcb9f),_0x505931=getdy(_0x30d42b,_0x4dcb9f);if(0x0==_0x48c63a&&0x0==_0x505931)return 0x3==_0x6c1d62['nodeType']?domPosInText(_0x6c1d62,_0x21c0bf,_0x30d42b):domPosAtCoords(_0x6c1d62,_0x21c0bf,_0x30d42b);(!_0x528518||_0x242a97>_0x505931||_0x242a97==_0x505931&&_0x255b30>_0x48c63a)&&(_0x528518=_0x6c1d62,_0x559ed5=_0x4dcb9f,_0x255b30=_0x48c63a,_0x242a97=_0x505931,_0x59f3e7=!_0x48c63a||(_0x21c0bf<_0x4dcb9f['left']?_0x1d2212>0x0:_0x1d2212<_0x2b483e['length']-0x1)),0x0==_0x48c63a?_0x30d42b>_0x4dcb9f['bottom']&&(!_0x23de44||_0x23de44['bottom']<_0x4dcb9f['bottom'])?(_0x3351fe=_0x6c1d62,_0x23de44=_0x4dcb9f):_0x30d42b<_0x4dcb9f['top']&&(!_0x4d188b||_0x4d188b['top']>_0x4dcb9f['top'])&&(_0x3d0b3f=_0x6c1d62,_0x4d188b=_0x4dcb9f):_0x23de44&&_0x221400(_0x23de44,_0x4dcb9f)?_0x23de44=upBot(_0x23de44,_0x4dcb9f['bottom']):_0x4d188b&&_0x221400(_0x4d188b,_0x4dcb9f)&&(_0x4d188b=_0x3829c1(_0x4d188b,_0x4dcb9f['top']));}}if(_0x23de44&&_0x23de44['bottom']>=_0x30d42b?(_0x528518=_0x3351fe,_0x559ed5=_0x23de44):_0x4d188b&&_0x4d188b['top']<=_0x30d42b&&(_0x528518=_0x3d0b3f,_0x559ed5=_0x4d188b),!_0x528518)return{'node':_0x385070,'offset':0x0};let _0x10e046=Math['max'](_0x559ed5['left'],Math['min'](_0x559ed5['right'],_0x21c0bf));return 0x3==_0x528518['nodeType']?domPosInText(_0x528518,_0x10e046,_0x30d42b):_0x59f3e7&&'false'!=_0x528518['contentEditable']?domPosAtCoords(_0x528518,_0x10e046,_0x30d42b):{'node':_0x385070,'offset':Array['prototype']['indexOf']['call'](_0x385070['childNodes'],_0x528518)+(_0x21c0bf>=(_0x559ed5['left']+_0x559ed5['right'])/0x2?0x1:0x0)};}function domPosInText(_0x58c0fa,_0x300f5f,_0x556de0){let _0x50d962=_0x58c0fa['nodeValue']['length'],_0x305797=-0x1,_0xe8aed7=0x3b9aca00,_0x2c4910=0x0;for(let _0x120c39=0x0;_0x120c39<_0x50d962;_0x120c39++){let _0x53f6ad=textRange(_0x58c0fa,_0x120c39,_0x120c39+0x1)['getClientRects']();for(let _0x2afa71=0x0;_0x2afa71<_0x53f6ad['length'];_0x2afa71++){let _0x3ad18d=_0x53f6ad[_0x2afa71];if(_0x3ad18d['top']==_0x3ad18d['bottom'])continue;_0x2c4910||(_0x2c4910=_0x300f5f-_0x3ad18d['left']);let _0x192453=(_0x3ad18d['top']>_0x556de0?_0x3ad18d['top']-_0x556de0:_0x556de0-_0x3ad18d['bottom'])-0x1;if(_0x3ad18d['left']-0x1<=_0x300f5f&&_0x3ad18d['right']+0x1>=_0x300f5f&&_0x192453<_0xe8aed7){let _0x2e7f1a=_0x300f5f>=(_0x3ad18d['left']+_0x3ad18d['right'])/0x2,_0x449e4d=_0x2e7f1a;(_0x4ac4fc['chrome']||_0x4ac4fc['gecko'])&&(textRange(_0x58c0fa,_0x120c39)['getBoundingClientRect']()['left']==_0x3ad18d['right']&&(_0x449e4d=!_0x2e7f1a));if(_0x192453<=0x0)return{'node':_0x58c0fa,'offset':_0x120c39+(_0x449e4d?0x1:0x0)};_0x305797=_0x120c39+(_0x449e4d?0x1:0x0),_0xe8aed7=_0x192453;}}}return{'node':_0x58c0fa,'offset':_0x305797>-0x1?_0x305797:_0x2c4910>0x0?_0x58c0fa['nodeValue']['length']:0x0};}function posAtCoords(_0x136159,_0x405cbd,_0x3d0585,_0x40e0a4=-0x1){var _0x97514f,_0x4c0715;let _0x32ae80,_0xd4903c=_0x136159['contentDOM']['getBoundingClientRect'](),_0x2fdcfd=_0xd4903c['top']+_0x136159['viewState']['paddingTop'],{docHeight:_0x5d184f}=_0x136159['viewState'],{x:_0x3ca7c4,y:_0x4273ee}=_0x405cbd,_0x2aa6dd=_0x4273ee-_0x2fdcfd;if(_0x2aa6dd<0x0)return 0x0;if(_0x2aa6dd>_0x5d184f)return _0x136159['state']['doc']['length'];for(let _0xae4d4f=_0x136159['viewState']['heightOracle']['textHeight']/0x2,_0x5f19b4=!0x1;_0x32ae80=_0x136159['elementAtHeight'](_0x2aa6dd),_0x32ae80['type']!=_0x5841fb['Text'];)for(;_0x2aa6dd=_0x40e0a4>0x0?_0x32ae80['bottom']+_0xae4d4f:_0x32ae80['top']-_0xae4d4f,!(_0x2aa6dd>=0x0&&_0x2aa6dd<=_0x5d184f);){if(_0x5f19b4)return _0x3d0585?null:0x0;_0x5f19b4=!0x0,_0x40e0a4=-_0x40e0a4;}_0x4273ee=_0x2fdcfd+_0x2aa6dd;let _0x1f125b=_0x32ae80['from'];if(_0x1f125b<_0x136159['viewport']['from'])return 0x0==_0x136159['viewport']['from']?0x0:_0x3d0585?null:posAtCoordsImprecise(_0x136159,_0xd4903c,_0x32ae80,_0x3ca7c4,_0x4273ee);if(_0x1f125b>_0x136159['viewport']['to'])return _0x136159['viewport']['to']==_0x136159['state']['doc']['length']?_0x136159['state']['doc']['length']:_0x3d0585?null:posAtCoordsImprecise(_0x136159,_0xd4903c,_0x32ae80,_0x3ca7c4,_0x4273ee);let _0x46cc9a=_0x136159['dom']['ownerDocument'],_0x595d1a=_0x136159['root']['elementFromPoint']?_0x136159['root']:_0x46cc9a,_0x503df6=_0x595d1a['elementFromPoint'](_0x3ca7c4,_0x4273ee);_0x503df6&&!_0x136159['contentDOM']['contains'](_0x503df6)&&(_0x503df6=null),_0x503df6||(_0x3ca7c4=Math['max'](_0xd4903c['left']+0x1,Math['min'](_0xd4903c['right']-0x1,_0x3ca7c4)),_0x503df6=_0x595d1a['elementFromPoint'](_0x3ca7c4,_0x4273ee),_0x503df6&&!_0x136159['contentDOM']['contains'](_0x503df6)&&(_0x503df6=null));let _0x425b90,_0x3f1704=-0x1;if(_0x503df6&&0x0!=(null===(_0x97514f=_0x136159['docView']['nearest'](_0x503df6))||void 0x0===_0x97514f?void 0x0:_0x97514f['isEditable'])){if(_0x46cc9a['caretPositionFromPoint']){let _0x120c96=_0x46cc9a['caretPositionFromPoint'](_0x3ca7c4,_0x4273ee);_0x120c96&&({offsetNode:_0x425b90,offset:_0x3f1704}=_0x120c96);}else{if(_0x46cc9a['caretRangeFromPoint']){let _0x8387e3=_0x46cc9a['caretRangeFromPoint'](_0x3ca7c4,_0x4273ee);_0x8387e3&&({startContainer:_0x425b90,startOffset:_0x3f1704}=_0x8387e3);}}_0x425b90&&(!_0x136159['contentDOM']['contains'](_0x425b90)||_0x4ac4fc['safari']&&isSuspiciousSafariCaretResult(_0x425b90,_0x3f1704,_0x3ca7c4)||_0x4ac4fc['chrome']&&isSuspiciousChromeCaretResult(_0x425b90,_0x3f1704,_0x3ca7c4))&&(_0x425b90=void 0x0),_0x425b90&&(_0x3f1704=Math['min'](maxOffset(_0x425b90),_0x3f1704));}if(!_0x425b90||!_0x136159['docView']['dom']['contains'](_0x425b90)){let _0x29a75d=_0x34ba09['find'](_0x136159['docView'],_0x1f125b);if(!_0x29a75d)return _0x2aa6dd>_0x32ae80['top']+_0x32ae80['height']/0x2?_0x32ae80['to']:_0x32ae80['from'];({node:_0x425b90,offset:_0x3f1704}=domPosAtCoords(_0x29a75d['dom'],_0x3ca7c4,_0x4273ee));}let _0x11cc64=_0x136159['docView']['nearest'](_0x425b90);if(!_0x11cc64)return null;if(_0x11cc64['isWidget']&&0x1==(null===(_0x4c0715=_0x11cc64['dom'])||void 0x0===_0x4c0715?void 0x0:_0x4c0715['nodeType'])){let _0x1e9e13=_0x11cc64['dom']['getBoundingClientRect']();return _0x405cbd['y']<_0x1e9e13['top']||_0x405cbd['y']<=_0x1e9e13['bottom']&&_0x405cbd['x']<=(_0x1e9e13['left']+_0x1e9e13['right'])/0x2?_0x11cc64['posAtStart']:_0x11cc64['posAtEnd'];}return _0x11cc64['localPosFromDOM'](_0x425b90,_0x3f1704)+_0x11cc64['posAtStart'];}function posAtCoordsImprecise(_0x1593d9,_0x38b9e8,_0x274b8b,_0xe96aec,_0x538712){let _0x4be7c0=Math['round']((_0xe96aec-_0x38b9e8['left'])*_0x1593d9['defaultCharacterWidth']);if(_0x1593d9['lineWrapping']&&_0x274b8b['height']>1.5*_0x1593d9['defaultLineHeight']){let _0x2c976e=_0x1593d9['viewState']['heightOracle']['textHeight'];_0x4be7c0+=Math['floor']((_0x538712-_0x274b8b['top']-0.5*(_0x1593d9['defaultLineHeight']-_0x2c976e))/_0x2c976e)*_0x1593d9['viewState']['heightOracle']['lineLength'];}let _0x1a7064=_0x1593d9['state']['sliceDoc'](_0x274b8b['from'],_0x274b8b['to']);return _0x274b8b['from']+_0x4f5fb3(_0x1a7064,_0x4be7c0,_0x1593d9['state']['tabSize']);}function _0x46727b(_0x878c9e,_0x56a86f,_0x3d15d6){let _0x14341e,_0x175995=_0x878c9e;if(0x3!=_0x878c9e['nodeType']||_0x56a86f!=(_0x14341e=_0x878c9e['nodeValue']['length']))return!0x1;for(;;){let _0x1dbc7d=_0x175995['nextSibling'];if(_0x1dbc7d){if('BR'==_0x1dbc7d['nodeName'])break;return!0x1;}{let _0x100a26=_0x175995['parentNode'];if(!_0x100a26||'DIV'==_0x100a26['nodeName'])break;_0x175995=_0x100a26;}}return textRange(_0x878c9e,_0x14341e-0x1,_0x14341e)['getBoundingClientRect']()['right']>_0x3d15d6;}function isSuspiciousSafariCaretResult(_0x415ad2,_0x1f70a3,_0x1423cb){return _0x46727b(_0x415ad2,_0x1f70a3,_0x1423cb);}function isSuspiciousChromeCaretResult(_0x4a380a,_0x2f6f3f,_0x5662da){if(0x0!=_0x2f6f3f)return _0x46727b(_0x4a380a,_0x2f6f3f,_0x5662da);for(let _0x3c4e7b=_0x4a380a;;){let _0x2bc3e5=_0x3c4e7b['parentNode'];if(!_0x2bc3e5||0x1!=_0x2bc3e5['nodeType']||_0x2bc3e5['firstChild']!=_0x3c4e7b)return!0x1;if(_0x2bc3e5['classList']['contains']('cm-line'))break;_0x3c4e7b=_0x2bc3e5;}return _0x5662da-(0x1==_0x4a380a['nodeType']?_0x4a380a['getBoundingClientRect']():textRange(_0x4a380a,0x0,Math['max'](_0x4a380a['nodeValue']['length'],0x1))['getBoundingClientRect']())['left']>0x5;}function blockAt(_0x1b17fb,_0x17edb0,_0x3d57ea){let _0x4f9dbf=_0x1b17fb['lineBlockAt'](_0x17edb0);if(Array['isArray'](_0x4f9dbf['type'])){let _0xec2dea;for(let _0x3a2529 of _0x4f9dbf['type']){if(_0x3a2529['from']>_0x17edb0)break;if(!(_0x3a2529['to']<_0x17edb0)){if(_0x3a2529['from']<_0x17edb0&&_0x3a2529['to']>_0x17edb0)return _0x3a2529;_0xec2dea&&(_0x3a2529['type']!=_0x5841fb['Text']||_0xec2dea['type']==_0x3a2529['type']&&!(_0x3d57ea<0x0?_0x3a2529['from']<_0x17edb0:_0x3a2529['to']>_0x17edb0))||(_0xec2dea=_0x3a2529);}}return _0xec2dea||_0x4f9dbf;}return _0x4f9dbf;}function _0x272084(_0x41229b,_0x106d1a,_0x286f06,_0x30690f){let _0x38e7b7=blockAt(_0x41229b,_0x106d1a['head'],_0x106d1a['assoc']||-0x1),_0x5bbe68=_0x30690f&&_0x38e7b7['type']==_0x5841fb['Text']&&(_0x41229b['lineWrapping']||_0x38e7b7['widgetLineBreaks'])?_0x41229b['coordsAtPos'](_0x106d1a['assoc']<0x0&&_0x106d1a['head']>_0x38e7b7['from']?_0x106d1a['head']-0x1:_0x106d1a['head']):null;if(_0x5bbe68){let _0x2306e0=_0x41229b['dom']['getBoundingClientRect'](),_0x37b52f=_0x41229b['textDirectionAt'](_0x38e7b7['from']),_0x431e2e=_0x41229b['posAtCoords']({'x':_0x286f06==(_0x37b52f==Direction['LTR'])?_0x2306e0['right']-0x1:_0x2306e0['left']+0x1,'y':(_0x5bbe68['top']+_0x5bbe68['bottom'])/0x2});if(null!=_0x431e2e)return EditorSelection['cursor'](_0x431e2e,_0x286f06?-0x1:0x1);}return EditorSelection['cursor'](_0x286f06?_0x38e7b7['to']:_0x38e7b7['from'],_0x286f06?-0x1:0x1);}function _0x1c2037(_0x213170,_0x3d9b9c,_0x139c89,_0x5703d4){let _0x1b016c=_0x213170['state']['doc']['lineAt'](_0x3d9b9c['head']),_0xf6415d=_0x213170['bidiSpans'](_0x1b016c),_0x30dc2c=_0x213170['textDirectionAt'](_0x1b016c['from']);for(let _0x2eb493=_0x3d9b9c,_0x5e1de2=null;;){let _0x588bc2=_0x4d11c6(_0x1b016c,_0xf6415d,_0x30dc2c,_0x2eb493,_0x139c89),_0x1b89f7=_0x3d5d02;if(!_0x588bc2){if(_0x1b016c['number']==(_0x139c89?_0x213170['state']['doc']['lines']:0x1))return _0x2eb493;_0x1b89f7='\x0a',_0x1b016c=_0x213170['state']['doc']['line'](_0x1b016c['number']+(_0x139c89?0x1:-0x1)),_0xf6415d=_0x213170['bidiSpans'](_0x1b016c),_0x588bc2=_0x213170['visualLineSide'](_0x1b016c,!_0x139c89);}if(_0x5e1de2){if(!_0x5e1de2(_0x1b89f7))return _0x2eb493;}else{if(!_0x5703d4)return _0x588bc2;_0x5e1de2=_0x5703d4(_0x1b89f7);}_0x2eb493=_0x588bc2;}}function _0x7f1ad6(_0x1e03db,_0x3954cf,_0x16db83){let _0x39e98e=_0x1e03db['state']['charCategorizer'](_0x3954cf),_0x2e51e1=_0x39e98e(_0x16db83);return _0x2ab9b9=>{let _0x29f939=_0x39e98e(_0x2ab9b9);return _0x2e51e1==CharCategory['Space']&&(_0x2e51e1=_0x29f939),_0x2e51e1==_0x29f939;};}function moveVertically(_0x56ebd6,_0x4d1038,_0x5f4d5b,_0x49ee4d){let _0x954361=_0x4d1038['head'],_0x1fb08f=_0x5f4d5b?0x1:-0x1;if(_0x954361==(_0x5f4d5b?_0x56ebd6['state']['doc']['length']:0x0))return EditorSelection['cursor'](_0x954361,_0x4d1038['assoc']);let _0x2c9b2c,_0x163711=_0x4d1038['goalColumn'],_0x27956b=_0x56ebd6['contentDOM']['getBoundingClientRect'](),_0x15e04f=_0x56ebd6['coordsAtPos'](_0x954361,_0x4d1038['assoc']||-0x1),_0x4b33b9=_0x56ebd6['documentTop'];if(_0x15e04f)null==_0x163711&&(_0x163711=_0x15e04f['left']-_0x27956b['left']),_0x2c9b2c=_0x1fb08f<0x0?_0x15e04f['top']:_0x15e04f['bottom'];else{let _0x40b8c=_0x56ebd6['viewState']['lineBlockAt'](_0x954361);null==_0x163711&&(_0x163711=Math['min'](_0x27956b['right']-_0x27956b['left'],_0x56ebd6['defaultCharacterWidth']*(_0x954361-_0x40b8c['from']))),_0x2c9b2c=(_0x1fb08f<0x0?_0x40b8c['top']:_0x40b8c['bottom'])+_0x4b33b9;}let _0x43f3dc=_0x27956b['left']+_0x163711,_0x20fa51=null!=_0x49ee4d?_0x49ee4d:_0x56ebd6['viewState']['heightOracle']['textHeight']>>0x1;for(let _0x283cba=0x0;;_0x283cba+=0xa){let _0x38fd87=_0x2c9b2c+(_0x20fa51+_0x283cba)*_0x1fb08f,_0x32fdb0=posAtCoords(_0x56ebd6,{'x':_0x43f3dc,'y':_0x38fd87},!0x1,_0x1fb08f);if(_0x38fd87<_0x27956b['top']||_0x38fd87>_0x27956b['bottom']||(_0x1fb08f<0x0?_0x32fdb0<_0x954361:_0x32fdb0>_0x954361)){let _0x2e9058=_0x56ebd6['docView']['coordsForChar'](_0x32fdb0),_0x5b5cfb=!_0x2e9058||_0x38fd87<_0x2e9058['top']?-0x1:0x1;return EditorSelection['cursor'](_0x32fdb0,_0x5b5cfb,void 0x0,_0x163711);}}}function skipAtomicRanges(_0x2c2580,_0x11454d,_0x408750){for(;;){let _0x5f3c27=0x0;for(let _0x414453 of _0x2c2580)_0x414453['between'](_0x11454d-0x1,_0x11454d+0x1,(_0x152b18,_0x306d16,_0x8edd5d)=>{if(_0x11454d>_0x152b18&&_0x11454d<_0x306d16){let _0x106473=_0x5f3c27||_0x408750||(_0x11454d-_0x152b18<_0x306d16-_0x11454d?-0x1:0x1);_0x11454d=_0x106473<0x0?_0x152b18:_0x306d16,_0x5f3c27=_0x106473;}});if(!_0x5f3c27)return _0x11454d;}}function skipAtomsForSelection(_0x3c2b91,_0x54219f){let _0x46ed1e=null;for(let _0x3e25df=0x0;_0x3e25df<_0x54219f['ranges']['length'];_0x3e25df++){let _0x3dcde5=_0x54219f['ranges'][_0x3e25df],_0x11674e=null;if(_0x3dcde5['empty']){let _0x5dba53=skipAtomicRanges(_0x3c2b91,_0x3dcde5['from'],0x0);_0x5dba53!=_0x3dcde5['from']&&(_0x11674e=EditorSelection['cursor'](_0x5dba53,-0x1));}else{let _0x44018f=skipAtomicRanges(_0x3c2b91,_0x3dcde5['from'],-0x1),_0x34069f=skipAtomicRanges(_0x3c2b91,_0x3dcde5['to'],0x1);_0x44018f==_0x3dcde5['from']&&_0x34069f==_0x3dcde5['to']||(_0x11674e=EditorSelection['range'](_0x3dcde5['from']==_0x3dcde5['anchor']?_0x44018f:_0x34069f,_0x3dcde5['from']==_0x3dcde5['head']?_0x44018f:_0x34069f));}_0x11674e&&(_0x46ed1e||(_0x46ed1e=_0x54219f['ranges']['slice']()),_0x46ed1e[_0x3e25df]=_0x11674e);}return _0x46ed1e?EditorSelection['create'](_0x46ed1e,_0x54219f['mainIndex']):_0x54219f;}function skipAtoms(_0x502131,_0x1d59ea,_0x1dbecf){let _0x36d37c=skipAtomicRanges(_0x502131['state']['facet'](atomicRanges)['map'](_0xf29534=>_0xf29534(_0x502131)),_0x1dbecf['from'],_0x1d59ea['head']>_0x1dbecf['from']?-0x1:0x1);return _0x36d37c==_0x1dbecf['from']?_0x1dbecf:EditorSelection['cursor'](_0x36d37c,_0x36d37c<_0x1dbecf['from']?0x1:-0x1);}const _0x5b28e7='';class _0x2ef1b8{constructor(_0x199c32,_0x187833){this['points']=_0x199c32,this['text']='',this['lineSeparator']=_0x187833['facet'](EditorState['lineSeparator']);}['append'](_0x1827d6){this['text']+=_0x1827d6;}['lineBreak'](){this['text']+=_0x5b28e7;}['readRange'](_0x3d8c2a,_0x3106cb){if(!_0x3d8c2a)return this;let _0x10378e=_0x3d8c2a['parentNode'];for(let _0x45fcb4=_0x3d8c2a;;){this['findPointBefore'](_0x10378e,_0x45fcb4);let _0x8558bc=this['text']['length'];this['readNode'](_0x45fcb4);let _0x299566=_0x45fcb4['nextSibling'];if(_0x299566==_0x3106cb)break;let _0x1df75a=ContentView['get'](_0x45fcb4),_0x1c00d3=ContentView['get'](_0x299566);(_0x1df75a&&_0x1c00d3?_0x1df75a['breakAfter']:(_0x1df75a?_0x1df75a['breakAfter']:isBlockElement(_0x45fcb4))||isBlockElement(_0x299566)&&('BR'!=_0x45fcb4['nodeName']||_0x45fcb4['cmIgnore'])&&this['text']['length']>_0x8558bc)&&!isEmptyToEnd(_0x299566,_0x3106cb)&&this['lineBreak'](),_0x45fcb4=_0x299566;}return this['findPointBefore'](_0x10378e,_0x3106cb),this;}['readTextNode'](_0xc20950){let _0x56fd6f=_0xc20950['nodeValue'];for(let _0x1676e6 of this['points'])_0x1676e6['node']==_0xc20950&&(_0x1676e6['pos']=this['text']['length']+Math['min'](_0x1676e6['offset'],_0x56fd6f['length']));for(let _0x459a09=0x0,_0x486147=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x5909bd,_0x340c85=-0x1,_0x4d27a1=0x1;if(this['lineSeparator']?(_0x340c85=_0x56fd6f['indexOf'](this['lineSeparator'],_0x459a09),_0x4d27a1=this['lineSeparator']['length']):(_0x5909bd=_0x486147['exec'](_0x56fd6f))&&(_0x340c85=_0x5909bd['index'],_0x4d27a1=_0x5909bd[0x0]['length']),this['append'](_0x56fd6f['slice'](_0x459a09,_0x340c85<0x0?_0x56fd6f['length']:_0x340c85)),_0x340c85<0x0)break;if(this['lineBreak'](),_0x4d27a1>0x1){for(let _0x83067f of this['points'])_0x83067f['node']==_0xc20950&&_0x83067f['pos']>this['text']['length']&&(_0x83067f['pos']-=_0x4d27a1-0x1);}_0x459a09=_0x340c85+_0x4d27a1;}}['readNode'](_0x1bc4a5){if(_0x1bc4a5['cmIgnore'])return;let _0x265f61=ContentView['get'](_0x1bc4a5),_0x303a5b=_0x265f61&&_0x265f61['overrideDOMText'];if(null!=_0x303a5b){this['findPointInside'](_0x1bc4a5,_0x303a5b['length']);for(let _0x217a2c=_0x303a5b['iter']();!_0x217a2c['next']()['done'];)_0x217a2c['lineBreak']?this['lineBreak']():this['append'](_0x217a2c['value']);}else 0x3==_0x1bc4a5['nodeType']?this['readTextNode'](_0x1bc4a5):'BR'==_0x1bc4a5['nodeName']?_0x1bc4a5['nextSibling']&&this['lineBreak']():0x1==_0x1bc4a5['nodeType']&&this['readRange'](_0x1bc4a5['firstChild'],null);}['findPointBefore'](_0x1a6765,_0x1f5dc5){for(let _0x4d1350 of this['points'])_0x4d1350['node']==_0x1a6765&&_0x1a6765['childNodes'][_0x4d1350['offset']]==_0x1f5dc5&&(_0x4d1350['pos']=this['text']['length']);}['findPointInside'](_0x48ff87,_0x1749cb){for(let _0x1c73b4 of this['points'])(0x3==_0x48ff87['nodeType']?_0x1c73b4['node']==_0x48ff87:_0x48ff87['contains'](_0x1c73b4['node']))&&(_0x1c73b4['pos']=this['text']['length']+(isAtEnd(_0x48ff87,_0x1c73b4['node'],_0x1c73b4['offset'])?_0x1749cb:0x0));}}function isAtEnd(_0x3bc1ef,_0x52b4d4,_0x4185ba){for(;;){if(!_0x52b4d4||_0x4185ba<maxOffset(_0x52b4d4))return!0x1;if(_0x52b4d4==_0x3bc1ef)return!0x0;_0x4185ba=_0x1923e3(_0x52b4d4)+0x1,_0x52b4d4=_0x52b4d4['parentNode'];}}function isEmptyToEnd(_0x4d8789,_0x35922b){let _0x1a5b3f;for(;_0x4d8789!=_0x35922b&&_0x4d8789;_0x4d8789=_0x4d8789['nextSibling']){let _0x4b59b6=ContentView['get'](_0x4d8789);if(!(null==_0x4b59b6?void 0x0:_0x4b59b6['isWidget'])&&!_0x4d8789['cmIgnore'])return!0x1;_0x4b59b6&&(_0x1a5b3f||(_0x1a5b3f=[]))['push'](_0x4b59b6);}if(_0x1a5b3f)for(let _0x192a6a of _0x1a5b3f){let _0x136766=_0x192a6a['overrideDOMText'];if(null==_0x136766?void 0x0:_0x136766['length'])return!0x1;}return!0x0;}class DOMPoint{constructor(_0x4e59cf,_0x61e84d){this['node']=_0x4e59cf,this['offset']=_0x61e84d,this['pos']=-0x1;}}class _0x2fb191{constructor(_0x2a6e77,_0x1cbf53,_0x25d4fa,_0x14263f){this['typeOver']=_0x14263f,this['bounds']=null,this['text']='',this['domChanged']=_0x1cbf53>-0x1;let {impreciseHead:_0x40f9b2,impreciseAnchor:_0x40b7bf}=_0x2a6e77['docView'];if(_0x2a6e77['state']['readOnly']&&_0x1cbf53>-0x1)this['newSel']=null;else{if(_0x1cbf53>-0x1&&(this['bounds']=_0x2a6e77['docView']['domBoundsAround'](_0x1cbf53,_0x25d4fa,0x0))){let _0x1de652=_0x40f9b2||_0x40b7bf?[]:selectionPoints(_0x2a6e77),_0x1f7ec9=new _0x2ef1b8(_0x1de652,_0x2a6e77['state']);_0x1f7ec9['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0x1f7ec9['text'],this['newSel']=selectionFromPoints(_0x1de652,this['bounds']['from']);}else{let _0x376d2d=_0x2a6e77['observer']['selectionRange'],_0x3f0b61=_0x40f9b2&&_0x40f9b2['node']==_0x376d2d['focusNode']&&_0x40f9b2['offset']==_0x376d2d['focusOffset']||!contains(_0x2a6e77['contentDOM'],_0x376d2d['focusNode'])?_0x2a6e77['state']['selection']['main']['head']:_0x2a6e77['docView']['posFromDOM'](_0x376d2d['focusNode'],_0x376d2d['focusOffset']),_0x3e83fd=_0x40b7bf&&_0x40b7bf['node']==_0x376d2d['anchorNode']&&_0x40b7bf['offset']==_0x376d2d['anchorOffset']||!contains(_0x2a6e77['contentDOM'],_0x376d2d['anchorNode'])?_0x2a6e77['state']['selection']['main']['anchor']:_0x2a6e77['docView']['posFromDOM'](_0x376d2d['anchorNode'],_0x376d2d['anchorOffset']),_0x38bed1=_0x2a6e77['viewport'];if((_0x4ac4fc['ios']||_0x4ac4fc['chrome'])&&_0x2a6e77['state']['selection']['main']['empty']&&_0x3f0b61!=_0x3e83fd&&(_0x38bed1['from']>0x0||_0x38bed1['to']<_0x2a6e77['state']['doc']['length'])){let _0x339e9d=Math['min'](_0x3f0b61,_0x3e83fd),_0x4869a7=Math['max'](_0x3f0b61,_0x3e83fd),_0x141597=_0x38bed1['from']-_0x339e9d,_0x29e90c=_0x38bed1['to']-_0x4869a7;0x0!=_0x141597&&0x1!=_0x141597&&0x0!=_0x339e9d||0x0!=_0x29e90c&&-0x1!=_0x29e90c&&_0x4869a7!=_0x2a6e77['state']['doc']['length']||(_0x3f0b61=0x0,_0x3e83fd=_0x2a6e77['state']['doc']['length']);}this['newSel']=EditorSelection['single'](_0x3e83fd,_0x3f0b61);}}}}function _0x926745(_0x44c616,_0x5b78a2){let _0x124a0f,{newSel:_0x1b06d6}=_0x5b78a2,_0x1ddad7=_0x44c616['state']['selection']['main'],_0x8d1e12=_0x44c616['inputState']['lastKeyTime']>Date['now']()-0x64?_0x44c616['inputState']['lastKeyCode']:-0x1;if(_0x5b78a2['bounds']){let {from:_0x2b0e8e,to:_0x16e1f}=_0x5b78a2['bounds'],_0x296ac7=_0x1ddad7['from'],_0x25d637=null;(0x8===_0x8d1e12||_0x4ac4fc['android']&&_0x5b78a2['text']['length']<_0x16e1f-_0x2b0e8e)&&(_0x296ac7=_0x1ddad7['to'],_0x25d637='end');let _0x5eb355=_0x4800d2(_0x44c616['state']['doc']['sliceString'](_0x2b0e8e,_0x16e1f,_0x5b28e7),_0x5b78a2['text'],_0x296ac7-_0x2b0e8e,_0x25d637);_0x5eb355&&(_0x4ac4fc['chrome']&&0xd==_0x8d1e12&&_0x5eb355['toB']==_0x5eb355['from']+0x2&&_0x5b78a2['text']['slice'](_0x5eb355['from'],_0x5eb355['toB'])==_0x5b28e7+_0x5b28e7&&_0x5eb355['toB']--,_0x124a0f={'from':_0x2b0e8e+_0x5eb355['from'],'to':_0x2b0e8e+_0x5eb355['toA'],'insert':Text['of'](_0x5b78a2['text']['slice'](_0x5eb355['from'],_0x5eb355['toB'])['split'](_0x5b28e7))});}else _0x1b06d6&&(!_0x44c616['hasFocus']&&_0x44c616['state']['facet'](editable)||_0x1b06d6['main']['eq'](_0x1ddad7))&&(_0x1b06d6=null);if(!_0x124a0f&&!_0x1b06d6)return!0x1;if(!_0x124a0f&&_0x5b78a2['typeOver']&&!_0x1ddad7['empty']&&_0x1b06d6&&_0x1b06d6['main']['empty']?_0x124a0f={'from':_0x1ddad7['from'],'to':_0x1ddad7['to'],'insert':_0x44c616['state']['doc']['slice'](_0x1ddad7['from'],_0x1ddad7['to'])}:(_0x4ac4fc['mac']||_0x4ac4fc['android'])&&_0x124a0f&&_0x124a0f['from']==_0x124a0f['to']&&_0x124a0f['from']==_0x1ddad7['head']-0x1&&/^\. ?$/['test'](_0x124a0f['insert']['toString']())&&'off'==_0x44c616['contentDOM']['getAttribute']('autocorrect')?(_0x1b06d6&&0x2==_0x124a0f['insert']['length']&&(_0x1b06d6=EditorSelection['single'](_0x1b06d6['main']['anchor']-0x1,_0x1b06d6['main']['head']-0x1)),_0x124a0f={'from':_0x124a0f['from'],'to':_0x124a0f['to'],'insert':Text['of']([_0x124a0f['insert']['toString']()['replace']('.','\x20')])}):_0x124a0f&&_0x124a0f['from']>=_0x1ddad7['from']&&_0x124a0f['to']<=_0x1ddad7['to']&&(_0x124a0f['from']!=_0x1ddad7['from']||_0x124a0f['to']!=_0x1ddad7['to'])&&_0x1ddad7['to']-_0x1ddad7['from']-(_0x124a0f['to']-_0x124a0f['from'])<=0x4?_0x124a0f={'from':_0x1ddad7['from'],'to':_0x1ddad7['to'],'insert':_0x44c616['state']['doc']['slice'](_0x1ddad7['from'],_0x124a0f['from'])['append'](_0x124a0f['insert'])['append'](_0x44c616['state']['doc']['slice'](_0x124a0f['to'],_0x1ddad7['to']))}:_0x4ac4fc['chrome']&&_0x124a0f&&_0x124a0f['from']==_0x124a0f['to']&&_0x124a0f['from']==_0x1ddad7['head']&&'\x0a\x20'==_0x124a0f['insert']['toString']()&&_0x44c616['lineWrapping']&&(_0x1b06d6&&(_0x1b06d6=EditorSelection['single'](_0x1b06d6['main']['anchor']-0x1,_0x1b06d6['main']['head']-0x1)),_0x124a0f={'from':_0x1ddad7['from'],'to':_0x1ddad7['to'],'insert':Text['of'](['\x20'])}),_0x124a0f)return _0x577cc0(_0x44c616,_0x124a0f,_0x1b06d6,_0x8d1e12);if(_0x1b06d6&&!_0x1b06d6['main']['eq'](_0x1ddad7)){let _0x35089a=!0x1,_0x421485='select';return _0x44c616['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x44c616['inputState']['lastSelectionOrigin']&&(_0x35089a=!0x0),_0x421485=_0x44c616['inputState']['lastSelectionOrigin'],'select.pointer'==_0x421485&&(_0x1b06d6=skipAtomsForSelection(_0x44c616['state']['facet'](atomicRanges)['map'](_0x2bc89f=>_0x2bc89f(_0x44c616)),_0x1b06d6))),_0x44c616['dispatch']({'selection':_0x1b06d6,'scrollIntoView':_0x35089a,'userEvent':_0x421485}),!0x0;}return!0x1;}function _0x577cc0(_0x27e5e9,_0x4ee661,_0x16db58,_0x4600ad=-0x1){if(_0x4ac4fc['ios']&&_0x27e5e9['inputState']['flushIOSKey'](_0x4ee661))return!0x0;let _0x4bce96=_0x27e5e9['state']['selection']['main'];if(_0x4ac4fc['android']&&(_0x4ee661['to']==_0x4bce96['to']&&(_0x4ee661['from']==_0x4bce96['from']||_0x4ee661['from']==_0x4bce96['from']-0x1&&'\x20'==_0x27e5e9['state']['sliceDoc'](_0x4ee661['from'],_0x4bce96['from']))&&0x1==_0x4ee661['insert']['length']&&0x2==_0x4ee661['insert']['lines']&&dispatchKey(_0x27e5e9['contentDOM'],'Enter',0xd)||(_0x4ee661['from']==_0x4bce96['from']-0x1&&_0x4ee661['to']==_0x4bce96['to']&&0x0==_0x4ee661['insert']['length']||0x8==_0x4600ad&&_0x4ee661['insert']['length']<_0x4ee661['to']-_0x4ee661['from']&&_0x4ee661['to']>_0x4bce96['head'])&&dispatchKey(_0x27e5e9['contentDOM'],'Backspace',0x8)||_0x4ee661['from']==_0x4bce96['from']&&_0x4ee661['to']==_0x4bce96['to']+0x1&&0x0==_0x4ee661['insert']['length']&&dispatchKey(_0x27e5e9['contentDOM'],'Delete',0x2e)))return!0x0;let _0x4ba616,_0x7b87a2=_0x4ee661['insert']['toString']();_0x27e5e9['inputState']['composing']>=0x0&&_0x27e5e9['inputState']['composing']++;let _0x416bc4=()=>_0x4ba616||(_0x4ba616=applyDefaultInsert(_0x27e5e9,_0x4ee661,_0x16db58));return _0x27e5e9['state']['facet'](inputHandler$1)['some'](_0x451668=>_0x451668(_0x27e5e9,_0x4ee661['from'],_0x4ee661['to'],_0x7b87a2,_0x416bc4))||_0x27e5e9['dispatch'](_0x416bc4()),!0x0;}function applyDefaultInsert(_0x455fda,_0x3c263b,_0x448291){let _0x20f881,_0x487c14=_0x455fda['state'],_0x2d3b78=_0x487c14['selection']['main'],_0x23d81a=-0x1;if(_0x3c263b['from']==_0x3c263b['to']&&_0x3c263b['from']<_0x2d3b78['from']||_0x3c263b['from']>_0x2d3b78['to']){let _0xfc1d7b=_0x3c263b['from']<_0x2d3b78['from']?-0x1:0x1,_0x4a7f07=_0xfc1d7b<0x0?_0x2d3b78['from']:_0x2d3b78['to'],_0x284c5c=skipAtomicRanges(_0x487c14['facet'](atomicRanges)['map'](_0x1e7ee6=>_0x1e7ee6(_0x455fda)),_0x4a7f07,_0xfc1d7b);_0x3c263b['from']==_0x284c5c&&(_0x23d81a=_0x284c5c);}if(_0x23d81a>-0x1)_0x20f881={'changes':_0x3c263b,'selection':EditorSelection['cursor'](_0x3c263b['from']+_0x3c263b['insert']['length'],-0x1)};else{if(_0x3c263b['from']>=_0x2d3b78['from']&&_0x3c263b['to']<=_0x2d3b78['to']&&_0x3c263b['to']-_0x3c263b['from']>=(_0x2d3b78['to']-_0x2d3b78['from'])/0x3&&(!_0x448291||_0x448291['main']['empty']&&_0x448291['main']['from']==_0x3c263b['from']+_0x3c263b['insert']['length'])&&_0x455fda['inputState']['composing']<0x0){let _0x55ed3f=_0x2d3b78['from']<_0x3c263b['from']?_0x487c14['sliceDoc'](_0x2d3b78['from'],_0x3c263b['from']):'',_0x5d4218=_0x2d3b78['to']>_0x3c263b['to']?_0x487c14['sliceDoc'](_0x3c263b['to'],_0x2d3b78['to']):'';_0x20f881=_0x487c14['replaceSelection'](_0x455fda['state']['toText'](_0x55ed3f+_0x3c263b['insert']['sliceString'](0x0,void 0x0,_0x455fda['state']['lineBreak'])+_0x5d4218));}else{let _0x10da9c=_0x487c14['changes'](_0x3c263b),_0x238f08=_0x448291&&_0x448291['main']['to']<=_0x10da9c['newLength']?_0x448291['main']:void 0x0;if(_0x487c14['selection']['ranges']['length']>0x1&&_0x455fda['inputState']['composing']>=0x0&&_0x3c263b['to']<=_0x2d3b78['to']&&_0x3c263b['to']>=_0x2d3b78['to']-0xa){let _0x30138d,_0x1d977d=_0x455fda['state']['sliceDoc'](_0x3c263b['from'],_0x3c263b['to']),_0x34768d=_0x448291&&findCompositionNode(_0x455fda,_0x448291['main']['head']);if(_0x34768d){let _0x27b921=_0x3c263b['insert']['length']-(_0x3c263b['to']-_0x3c263b['from']);_0x30138d={'from':_0x34768d['from'],'to':_0x34768d['to']-_0x27b921};}else _0x30138d=_0x455fda['state']['doc']['lineAt'](_0x2d3b78['head']);let _0x10c279=_0x2d3b78['to']-_0x3c263b['to'],_0x23dee4=_0x2d3b78['to']-_0x2d3b78['from'];_0x20f881=_0x487c14['changeByRange'](_0x40bf4a=>{if(_0x40bf4a['from']==_0x2d3b78['from']&&_0x40bf4a['to']==_0x2d3b78['to'])return{'changes':_0x10da9c,'range':_0x238f08||_0x40bf4a['map'](_0x10da9c)};let _0x481292=_0x40bf4a['to']-_0x10c279,_0x53629d=_0x481292-_0x1d977d['length'];if(_0x40bf4a['to']-_0x40bf4a['from']!=_0x23dee4||_0x455fda['state']['sliceDoc'](_0x53629d,_0x481292)!=_0x1d977d||_0x40bf4a['to']>=_0x30138d['from']&&_0x40bf4a['from']<=_0x30138d['to'])return{'range':_0x40bf4a};let _0x5ef738=_0x487c14['changes']({'from':_0x53629d,'to':_0x481292,'insert':_0x3c263b['insert']}),_0x287bd6=_0x40bf4a['to']-_0x2d3b78['to'];return{'changes':_0x5ef738,'range':_0x238f08?EditorSelection['range'](Math['max'](0x0,_0x238f08['anchor']+_0x287bd6),Math['max'](0x0,_0x238f08['head']+_0x287bd6)):_0x40bf4a['map'](_0x5ef738)};});}else _0x20f881={'changes':_0x10da9c,'selection':_0x238f08&&_0x487c14['selection']['replaceRange'](_0x238f08)};}}let _0x5896b5='input.type';return(_0x455fda['composing']||_0x455fda['inputState']['compositionPendingChange']&&_0x455fda['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x455fda['inputState']['compositionPendingChange']=!0x1,_0x5896b5+='.compose',_0x455fda['inputState']['compositionFirstChange']&&(_0x5896b5+='.start',_0x455fda['inputState']['compositionFirstChange']=!0x1)),_0x487c14['update'](_0x20f881,{'userEvent':_0x5896b5,'scrollIntoView':!0x0});}function _0x4800d2(_0x41a59a,_0x51b945,_0x2848d6,_0x5f4907){let _0x2141dc=Math['min'](_0x41a59a['length'],_0x51b945['length']),_0x5ab9e1=0x0;for(;_0x5ab9e1<_0x2141dc&&_0x41a59a['charCodeAt'](_0x5ab9e1)==_0x51b945['charCodeAt'](_0x5ab9e1);)_0x5ab9e1++;if(_0x5ab9e1==_0x2141dc&&_0x41a59a['length']==_0x51b945['length'])return null;let _0x3f61a8=_0x41a59a['length'],_0x1d487d=_0x51b945['length'];for(;_0x3f61a8>0x0&&_0x1d487d>0x0&&_0x41a59a['charCodeAt'](_0x3f61a8-0x1)==_0x51b945['charCodeAt'](_0x1d487d-0x1);)_0x3f61a8--,_0x1d487d--;'end'==_0x5f4907&&(_0x2848d6-=_0x3f61a8+Math['max'](0x0,_0x5ab9e1-Math['min'](_0x3f61a8,_0x1d487d))-_0x5ab9e1);if(_0x3f61a8<_0x5ab9e1&&_0x41a59a['length']<_0x51b945['length'])_0x5ab9e1-=_0x2848d6<=_0x5ab9e1&&_0x2848d6>=_0x3f61a8?_0x5ab9e1-_0x2848d6:0x0,_0x1d487d=_0x5ab9e1+(_0x1d487d-_0x3f61a8),_0x3f61a8=_0x5ab9e1;else _0x1d487d<_0x5ab9e1&&(_0x5ab9e1-=_0x2848d6<=_0x5ab9e1&&_0x2848d6>=_0x1d487d?_0x5ab9e1-_0x2848d6:0x0,_0x3f61a8=_0x5ab9e1+(_0x3f61a8-_0x1d487d),_0x1d487d=_0x5ab9e1);return{'from':_0x5ab9e1,'toA':_0x3f61a8,'toB':_0x1d487d};}function selectionPoints(_0x1bdbd6){let _0x2f2651=[];if(_0x1bdbd6['root']['activeElement']!=_0x1bdbd6['contentDOM'])return _0x2f2651;let {anchorNode:_0xb80da6,anchorOffset:_0x5b3829,focusNode:_0x462fc1,focusOffset:_0x235e87}=_0x1bdbd6['observer']['selectionRange'];return _0xb80da6&&(_0x2f2651['push'](new DOMPoint(_0xb80da6,_0x5b3829)),_0x462fc1==_0xb80da6&&_0x235e87==_0x5b3829||_0x2f2651['push'](new DOMPoint(_0x462fc1,_0x235e87))),_0x2f2651;}function selectionFromPoints(_0x1a1685,_0x3d899a){if(0x0==_0x1a1685['length'])return null;let _0x4d35a4=_0x1a1685[0x0]['pos'],_0x3d9165=0x2==_0x1a1685['length']?_0x1a1685[0x1]['pos']:_0x4d35a4;return _0x4d35a4>-0x1&&_0x3d9165>-0x1?EditorSelection['single'](_0x4d35a4+_0x3d899a,_0x3d9165+_0x3d899a):null;}class InputState{['setSelectionOrigin'](_0x58c609){this['lastSelectionOrigin']=_0x58c609,this['lastSelectionTime']=Date['now']();}constructor(_0x178ca2){this['view']=_0x178ca2,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']=_0x178ca2['hasFocus'],_0x4ac4fc['safari']&&_0x178ca2['contentDOM']['addEventListener']('input',()=>null),_0x4ac4fc['gecko']&&firefoxCopyCutHack(_0x178ca2['contentDOM']['ownerDocument']);}['handleEvent'](_0x4eb200){eventBelongsToEditor(this['view'],_0x4eb200)&&!this['ignoreDuringComposition'](_0x4eb200)&&('keydown'==_0x4eb200['type']&&this['keydown'](_0x4eb200)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x4eb200['type'],_0x4eb200)):this['runHandlers'](_0x4eb200['type'],_0x4eb200)));}['runHandlers'](_0xa69203,_0x343aae){let _0x12154c=this['handlers'][_0xa69203];if(_0x12154c){for(let _0x5a380d of _0x12154c['observers'])_0x5a380d(this['view'],_0x343aae);for(let _0x4a535c of _0x12154c['handlers']){if(_0x343aae['defaultPrevented'])break;if(_0x4a535c(this['view'],_0x343aae)){_0x343aae['preventDefault']();break;}}}}['ensureHandlers'](_0xbf1cb0){let _0x478521=computeHandlers(_0xbf1cb0),_0x4f7135=this['handlers'],_0x5505a5=this['view']['contentDOM'];for(let _0x47b846 in _0x478521)if('scroll'!=_0x47b846){let _0x3d8d97=!_0x478521[_0x47b846]['handlers']['length'],_0x2295f3=_0x4f7135[_0x47b846];_0x2295f3&&_0x3d8d97!=!_0x2295f3['handlers']['length']&&(_0x5505a5['removeEventListener'](_0x47b846,this['handleEvent']),_0x2295f3=null),_0x2295f3||_0x5505a5['addEventListener'](_0x47b846,this['handleEvent'],{'passive':_0x3d8d97});}for(let _0x5e2426 in _0x4f7135)'scroll'==_0x5e2426||_0x478521[_0x5e2426]||_0x5505a5['removeEventListener'](_0x5e2426,this['handleEvent']);this['handlers']=_0x478521;}['keydown'](_0x2057dc){if(this['lastKeyCode']=_0x2057dc['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x2057dc['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x2057dc['keyCode']&&_0x470df7['indexOf'](_0x2057dc['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),_0x4ac4fc['android']&&_0x4ac4fc['chrome']&&!_0x2057dc['synthetic']&&(0xd==_0x2057dc['keyCode']||0x8==_0x2057dc['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x2057dc['key'],_0x2057dc['keyCode']),!0x0;let _0x2e1d1f;return!_0x4ac4fc['ios']||_0x2057dc['synthetic']||_0x2057dc['altKey']||_0x2057dc['metaKey']||!((_0x2e1d1f=_0xa02c88['find'](_0x58d25c=>_0x58d25c['keyCode']==_0x2057dc['keyCode']))&&!_0x2057dc['ctrlKey']||_0x1f2678['indexOf'](_0x2057dc['key'])>-0x1&&_0x2057dc['ctrlKey']&&!_0x2057dc['shiftKey'])?(0xe5!=_0x2057dc['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x2e1d1f||_0x2057dc,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0x10a877){let _0x504a9d=this['pendingIOSKey'];return!!_0x504a9d&&(!('Enter'==_0x504a9d['key']&&_0x10a877&&_0x10a877['from']<_0x10a877['to']&&/^\S+$/['test'](_0x10a877['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,dispatchKey(this['view']['contentDOM'],_0x504a9d['key'],_0x504a9d['keyCode'],_0x504a9d instanceof KeyboardEvent?_0x504a9d:void 0x0)));}['ignoreDuringComposition'](_0xb994fb){return!(!/^key/['test'](_0xb994fb['type'])||_0xb994fb['synthetic'])&&(this['composing']>0x0||!!(_0x4ac4fc['safari']&&!_0x4ac4fc['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0x4a69b5){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x4a69b5;}['update'](_0x4e6e26){this['view']['observer']['update'](_0x4e6e26),this['mouseSelection']&&this['mouseSelection']['update'](_0x4e6e26),this['draggedContent']&&_0x4e6e26['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x4e6e26['changes'])),_0x4e6e26['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}}function _0x2bd1be(_0x3b8f07,_0x4cddc3){return(_0x3e27b8,_0x504dbb)=>{try{return _0x4cddc3['call'](_0x3b8f07,_0x504dbb,_0x3e27b8);}catch(_0x1cfb38){logException(_0x3e27b8['state'],_0x1cfb38);}};}function computeHandlers(_0x23e409){let _0x4293df=Object['create'](null);function _0x1d4174(_0x3cc5a7){return _0x4293df[_0x3cc5a7]||(_0x4293df[_0x3cc5a7]={'observers':[],'handlers':[]});}for(let _0x4d8a3b of _0x23e409){let _0x24a888=_0x4d8a3b['spec'],_0x13aaa8=_0x24a888&&_0x24a888['plugin']['domEventHandlers'],_0x20ff61=_0x24a888&&_0x24a888['plugin']['domEventObservers'];if(_0x13aaa8)for(let _0x50940e in _0x13aaa8){let _0x5b585c=_0x13aaa8[_0x50940e];_0x5b585c&&_0x1d4174(_0x50940e)['handlers']['push'](_0x2bd1be(_0x4d8a3b['value'],_0x5b585c));}if(_0x20ff61)for(let _0x5d1a00 in _0x20ff61){let _0x14ecf1=_0x20ff61[_0x5d1a00];_0x14ecf1&&_0x1d4174(_0x5d1a00)['observers']['push'](_0x2bd1be(_0x4d8a3b['value'],_0x14ecf1));}}for(let _0x47f81a in _0x30e867)_0x1d4174(_0x47f81a)['handlers']['push'](_0x30e867[_0x47f81a]);for(let _0x111436 in _0x373641)_0x1d4174(_0x111436)['observers']['push'](_0x373641[_0x111436]);return _0x4293df;}const _0xa02c88=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],_0x1f2678='dthko',_0x470df7=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1],_0x32a889=0x6;function _0x21a15a(_0x302e26){return 0.7*Math['max'](0x0,_0x302e26)+0x8;}function dist(_0x3a10f5,_0x13d7e8){return Math['max'](Math['abs'](_0x3a10f5['clientX']-_0x13d7e8['clientX']),Math['abs'](_0x3a10f5['clientY']-_0x13d7e8['clientY']));}class MouseSelection{constructor(_0x1ae171,_0x500a76,_0x18d84e,_0x38e8e3){this['view']=_0x1ae171,this['startEvent']=_0x500a76,this['style']=_0x18d84e,this['mustSelect']=_0x38e8e3,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0x500a76,this['scrollParents']=scrollableParents(_0x1ae171['contentDOM']),this['atoms']=_0x1ae171['state']['facet'](atomicRanges)['map'](_0x2c639c=>_0x2c639c(_0x1ae171));let _0x5216d1=_0x1ae171['contentDOM']['ownerDocument'];_0x5216d1['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x5216d1['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0x500a76['shiftKey'],this['multiple']=_0x1ae171['state']['facet'](EditorState['allowMultipleSelections'])&&addsSelectionRange(_0x1ae171,_0x500a76),this['dragging']=!(!isInPrimarySelection(_0x1ae171,_0x500a76)||0x1!=getClickType(_0x500a76))&&null;}['start'](_0x77323a){!0x1===this['dragging']&&this['select'](_0x77323a);}['move'](_0x3d8aaa){if(0x0==_0x3d8aaa['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&dist(this['startEvent'],_0x3d8aaa)<0xa)return;this['select'](this['lastEvent']=_0x3d8aaa);let _0x589230=0x0,_0x5f2d3f=0x0,_0x3cd609=0x0,_0x1293a4=0x0,_0x3c77ba=this['view']['win']['innerWidth'],_0x3ca57e=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x3cd609,right:_0x3c77ba}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x1293a4,bottom:_0x3ca57e}=this['scrollParents']['y']['getBoundingClientRect']());let _0x880aef=getScrollMargins(this['view']);_0x3d8aaa['clientX']-_0x880aef['left']<=_0x3cd609+_0x32a889?_0x589230=-_0x21a15a(_0x3cd609-_0x3d8aaa['clientX']):_0x3d8aaa['clientX']+_0x880aef['right']>=_0x3c77ba-_0x32a889&&(_0x589230=_0x21a15a(_0x3d8aaa['clientX']-_0x3c77ba)),_0x3d8aaa['clientY']-_0x880aef['top']<=_0x1293a4+_0x32a889?_0x5f2d3f=-_0x21a15a(_0x1293a4-_0x3d8aaa['clientY']):_0x3d8aaa['clientY']+_0x880aef['bottom']>=_0x3ca57e-_0x32a889&&(_0x5f2d3f=_0x21a15a(_0x3d8aaa['clientY']-_0x3ca57e)),this['setScrollSpeed'](_0x589230,_0x5f2d3f);}['up'](_0x28277f){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0x28277f['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0x416b12=this['view']['contentDOM']['ownerDocument'];_0x416b12['removeEventListener']('mousemove',this['move']),_0x416b12['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0x29601a,_0x1826d6){this['scrollSpeed']={'x':_0x29601a,'y':_0x1826d6},_0x29601a||_0x1826d6?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x19fc52,y:_0x31c100}=this['scrollSpeed'];_0x19fc52&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x19fc52,_0x19fc52=0x0),_0x31c100&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0x31c100,_0x31c100=0x0),(_0x19fc52||_0x31c100)&&this['view']['win']['scrollBy'](_0x19fc52,_0x31c100),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['select'](_0x37b159){let {view:_0x33af9f}=this,_0x13d327=skipAtomsForSelection(this['atoms'],this['style']['get'](_0x37b159,this['extend'],this['multiple']));!this['mustSelect']&&_0x13d327['eq'](_0x33af9f['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x13d327,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x16d3b3){_0x16d3b3['transactions']['some'](_0x31285b=>_0x31285b['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x16d3b3)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}}function addsSelectionRange(_0x21f727,_0x4d13a0){let _0x4eeadf=_0x21f727['state']['facet'](clickAddsSelectionRange);return _0x4eeadf['length']?_0x4eeadf[0x0](_0x4d13a0):_0x4ac4fc['mac']?_0x4d13a0['metaKey']:_0x4d13a0['ctrlKey'];}function dragMovesSelection(_0x2d5f05,_0x496935){let _0x2541d0=_0x2d5f05['state']['facet'](dragMovesSelection$1);return _0x2541d0['length']?_0x2541d0[0x0](_0x496935):_0x4ac4fc['mac']?!_0x496935['altKey']:!_0x496935['ctrlKey'];}function isInPrimarySelection(_0x7232ac,_0x80c1e9){let {main:_0x1ecac2}=_0x7232ac['state']['selection'];if(_0x1ecac2['empty'])return!0x1;let _0x40f6a9=getSelection(_0x7232ac['root']);if(!_0x40f6a9||0x0==_0x40f6a9['rangeCount'])return!0x0;let _0x17e81d=_0x40f6a9['getRangeAt'](0x0)['getClientRects']();for(let _0x2c977e=0x0;_0x2c977e<_0x17e81d['length'];_0x2c977e++){let _0x17f6b6=_0x17e81d[_0x2c977e];if(_0x17f6b6['left']<=_0x80c1e9['clientX']&&_0x17f6b6['right']>=_0x80c1e9['clientX']&&_0x17f6b6['top']<=_0x80c1e9['clientY']&&_0x17f6b6['bottom']>=_0x80c1e9['clientY'])return!0x0;}return!0x1;}function eventBelongsToEditor(_0x5e4af7,_0x54b6a5){if(!_0x54b6a5['bubbles'])return!0x0;if(_0x54b6a5['defaultPrevented'])return!0x1;for(let _0x21f707,_0x4b6a40=_0x54b6a5['target'];_0x4b6a40!=_0x5e4af7['contentDOM'];_0x4b6a40=_0x4b6a40['parentNode'])if(!_0x4b6a40||0xb==_0x4b6a40['nodeType']||(_0x21f707=ContentView['get'](_0x4b6a40))&&_0x21f707['ignoreEvent'](_0x54b6a5))return!0x1;return!0x0;}const _0x30e867=Object['create'](null),_0x373641=Object['create'](null),_0x55713a=_0x4ac4fc['ie']&&_0x4ac4fc['ie_version']<0xf||_0x4ac4fc['ios']&&_0x4ac4fc['webkit_version']<0x25c;function capturePaste(_0x53e4ba){let _0x9430e0=_0x53e4ba['dom']['parentNode'];if(!_0x9430e0)return;let _0x217f00=_0x9430e0['appendChild'](document['createElement']('textarea'));_0x217f00['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x217f00['focus'](),setTimeout(()=>{_0x53e4ba['focus'](),_0x217f00['remove'](),doPaste(_0x53e4ba,_0x217f00['value']);},0x32);}function textFilter(_0xf77d0f,_0x38d9d6,_0x3e3d5a){for(let _0x1d5d99 of _0xf77d0f['facet'](_0x38d9d6))_0x3e3d5a=_0x1d5d99(_0x3e3d5a,_0xf77d0f);return _0x3e3d5a;}function doPaste(_0x43405b,_0x93eefa){_0x93eefa=textFilter(_0x43405b['state'],clipboardInputFilter,_0x93eefa);let _0x78d33a,{state:_0x49c779}=_0x43405b,_0x2a01dc=0x1,_0x13fc89=_0x49c779['toText'](_0x93eefa),_0x2fb177=_0x13fc89['lines']==_0x49c779['selection']['ranges']['length'];if(null!=lastLinewiseCopy&&_0x49c779['selection']['ranges']['every'](_0x393130=>_0x393130['empty'])&&lastLinewiseCopy==_0x13fc89['toString']()){let _0xcc1fa=-0x1;_0x78d33a=_0x49c779['changeByRange'](_0x1ffb0e=>{let _0x535931=_0x49c779['doc']['lineAt'](_0x1ffb0e['from']);if(_0x535931['from']==_0xcc1fa)return{'range':_0x1ffb0e};_0xcc1fa=_0x535931['from'];let _0x39ad17=_0x49c779['toText']((_0x2fb177?_0x13fc89['line'](_0x2a01dc++)['text']:_0x93eefa)+_0x49c779['lineBreak']);return{'changes':{'from':_0x535931['from'],'insert':_0x39ad17},'range':EditorSelection['cursor'](_0x1ffb0e['from']+_0x39ad17['length'])};});}else _0x78d33a=_0x2fb177?_0x49c779['changeByRange'](_0x35a029=>{let _0xd12f5b=_0x13fc89['line'](_0x2a01dc++);return{'changes':{'from':_0x35a029['from'],'to':_0x35a029['to'],'insert':_0xd12f5b['text']},'range':EditorSelection['cursor'](_0x35a029['from']+_0xd12f5b['length'])};}):_0x49c779['replaceSelection'](_0x13fc89);_0x43405b['dispatch'](_0x78d33a,{'userEvent':'input.paste','scrollIntoView':!0x0});}function _0x1c9064(_0x15a318,_0x8c6a88,_0x2f46ad,_0x208435){if(0x1==_0x208435)return EditorSelection['cursor'](_0x8c6a88,_0x2f46ad);if(0x2==_0x208435)return groupAt(_0x15a318['state'],_0x8c6a88,_0x2f46ad);{let _0x5e3d79=_0x34ba09['find'](_0x15a318['docView'],_0x8c6a88),_0x263920=_0x15a318['state']['doc']['lineAt'](_0x5e3d79?_0x5e3d79['posAtEnd']:_0x8c6a88),_0x2cf2d1=_0x5e3d79?_0x5e3d79['posAtStart']:_0x263920['from'],_0x139cde=_0x5e3d79?_0x5e3d79['posAtEnd']:_0x263920['to'];return _0x139cde<_0x15a318['state']['doc']['length']&&_0x139cde==_0x263920['to']&&_0x139cde++,EditorSelection['range'](_0x2cf2d1,_0x139cde);}}_0x373641['scroll']=_0x17e699=>{_0x17e699['inputState']['lastScrollTop']=_0x17e699['scrollDOM']['scrollTop'],_0x17e699['inputState']['lastScrollLeft']=_0x17e699['scrollDOM']['scrollLeft'];},_0x30e867['keydown']=(_0xf3625c,_0x46f4d0)=>(_0xf3625c['inputState']['setSelectionOrigin']('select'),0x1b==_0x46f4d0['keyCode']&&0x0!=_0xf3625c['inputState']['tabFocusMode']&&(_0xf3625c['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),_0x373641['touchstart']=(_0x4a4009,_0x2cb4bd)=>{_0x4a4009['inputState']['lastTouchTime']=Date['now'](),_0x4a4009['inputState']['setSelectionOrigin']('select.pointer');},_0x373641['touchmove']=_0x398f15=>{_0x398f15['inputState']['setSelectionOrigin']('select.pointer');},_0x30e867['mousedown']=(_0xec3c4e,_0x44c720)=>{if(_0xec3c4e['observer']['flush'](),_0xec3c4e['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0x4a1ff0=null;for(let _0x4e3f11 of _0xec3c4e['state']['facet'](mouseSelectionStyle))if(_0x4a1ff0=_0x4e3f11(_0xec3c4e,_0x44c720),_0x4a1ff0)break;if(_0x4a1ff0||0x0!=_0x44c720['button']||(_0x4a1ff0=basicMouseSelection(_0xec3c4e,_0x44c720)),_0x4a1ff0){let _0x126598=!_0xec3c4e['hasFocus'];_0xec3c4e['inputState']['startMouseSelection'](new MouseSelection(_0xec3c4e,_0x44c720,_0x4a1ff0,_0x126598)),_0x126598&&_0xec3c4e['observer']['ignore'](()=>{focusPreventScroll(_0xec3c4e['contentDOM']);let _0x55237e=_0xec3c4e['root']['activeElement'];_0x55237e&&!_0x55237e['contains'](_0xec3c4e['contentDOM'])&&_0x55237e['blur']();});let _0xfffaa4=_0xec3c4e['inputState']['mouseSelection'];if(_0xfffaa4)return _0xfffaa4['start'](_0x44c720),!0x1===_0xfffaa4['dragging'];}else _0xec3c4e['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};let _0x1d8d18=(_0x387193,_0x360413,_0x5a81de)=>_0x360413>=_0x5a81de['top']&&_0x360413<=_0x5a81de['bottom']&&_0x387193>=_0x5a81de['left']&&_0x387193<=_0x5a81de['right'];function findPositionSide(_0x32f90f,_0x11786,_0x1a79fa,_0x4b825d){let _0x2e9c17=_0x34ba09['find'](_0x32f90f['docView'],_0x11786);if(!_0x2e9c17)return 0x1;let _0x447689=_0x11786-_0x2e9c17['posAtStart'];if(0x0==_0x447689)return 0x1;if(_0x447689==_0x2e9c17['length'])return-0x1;let _0x3f3f36=_0x2e9c17['coordsAt'](_0x447689,-0x1);if(_0x3f3f36&&_0x1d8d18(_0x1a79fa,_0x4b825d,_0x3f3f36))return-0x1;let _0x42dc5b=_0x2e9c17['coordsAt'](_0x447689,0x1);return _0x42dc5b&&_0x1d8d18(_0x1a79fa,_0x4b825d,_0x42dc5b)?0x1:_0x3f3f36&&_0x3f3f36['bottom']>=_0x4b825d?-0x1:0x1;}function _0x198923(_0x3766f3,_0x17ffe2){let _0x226b97=_0x3766f3['posAtCoords']({'x':_0x17ffe2['clientX'],'y':_0x17ffe2['clientY']},!0x1);return{'pos':_0x226b97,'bias':findPositionSide(_0x3766f3,_0x226b97,_0x17ffe2['clientX'],_0x17ffe2['clientY'])};}const BadMouseDetail=_0x4ac4fc['ie']&&_0x4ac4fc['ie_version']<=0xb;let lastMouseDown=null,lastMouseDownCount=0x0,lastMouseDownTime=0x0;function getClickType(_0x265340){if(!BadMouseDetail)return _0x265340['detail'];let _0x3ffb28=lastMouseDown,_0x20e20b=lastMouseDownTime;return lastMouseDown=_0x265340,lastMouseDownTime=Date['now'](),lastMouseDownCount=!_0x3ffb28||_0x20e20b>Date['now']()-0x190&&Math['abs'](_0x3ffb28['clientX']-_0x265340['clientX'])<0x2&&Math['abs'](_0x3ffb28['clientY']-_0x265340['clientY'])<0x2?(lastMouseDownCount+0x1)%0x3:0x1;}function basicMouseSelection(_0x521537,_0x4e60eb){let _0x4db1bc=_0x198923(_0x521537,_0x4e60eb),_0x59117e=getClickType(_0x4e60eb),_0x55ee8c=_0x521537['state']['selection'];return{'update'(_0x657a06){_0x657a06['docChanged']&&(_0x4db1bc['pos']=_0x657a06['changes']['mapPos'](_0x4db1bc['pos']),_0x55ee8c=_0x55ee8c['map'](_0x657a06['changes']));},'get'(_0x3253cd,_0x286cd9,_0x4cff3b){let _0x3b00f2,_0x19801f=_0x198923(_0x521537,_0x3253cd),_0x3f0cb3=_0x1c9064(_0x521537,_0x19801f['pos'],_0x19801f['bias'],_0x59117e);if(_0x4db1bc['pos']!=_0x19801f['pos']&&!_0x286cd9){let _0x84879c=_0x1c9064(_0x521537,_0x4db1bc['pos'],_0x4db1bc['bias'],_0x59117e),_0x430b5d=Math['min'](_0x84879c['from'],_0x3f0cb3['from']),_0x121bb2=Math['max'](_0x84879c['to'],_0x3f0cb3['to']);_0x3f0cb3=_0x430b5d<_0x3f0cb3['from']?EditorSelection['range'](_0x430b5d,_0x121bb2):EditorSelection['range'](_0x121bb2,_0x430b5d);}return _0x286cd9?_0x55ee8c['replaceRange'](_0x55ee8c['main']['extend'](_0x3f0cb3['from'],_0x3f0cb3['to'])):_0x4cff3b&&0x1==_0x59117e&&_0x55ee8c['ranges']['length']>0x1&&(_0x3b00f2=_0x3baa34(_0x55ee8c,_0x19801f['pos']))?_0x3b00f2:_0x4cff3b?_0x55ee8c['addRange'](_0x3f0cb3):EditorSelection['create']([_0x3f0cb3]);}};}function _0x3baa34(_0x1cedeb,_0x53a04d){for(let _0x5f0fe1=0x0;_0x5f0fe1<_0x1cedeb['ranges']['length'];_0x5f0fe1++){let {from:_0x450800,to:_0x980838}=_0x1cedeb['ranges'][_0x5f0fe1];if(_0x450800<=_0x53a04d&&_0x980838>=_0x53a04d)return EditorSelection['create'](_0x1cedeb['ranges']['slice'](0x0,_0x5f0fe1)['concat'](_0x1cedeb['ranges']['slice'](_0x5f0fe1+0x1)),_0x1cedeb['mainIndex']==_0x5f0fe1?0x0:_0x1cedeb['mainIndex']-(_0x1cedeb['mainIndex']>_0x5f0fe1?0x1:0x0));}return null;}function dropText(_0x29501c,_0x32cf83,_0x224b9c,_0x3157cd){if(!(_0x224b9c=textFilter(_0x29501c['state'],clipboardInputFilter,_0x224b9c)))return;let _0x320791=_0x29501c['posAtCoords']({'x':_0x32cf83['clientX'],'y':_0x32cf83['clientY']},!0x1),{draggedContent:_0x14575b}=_0x29501c['inputState'],_0x55d36a=_0x3157cd&&_0x14575b&&dragMovesSelection(_0x29501c,_0x32cf83)?{'from':_0x14575b['from'],'to':_0x14575b['to']}:null,_0x5d3f9f={'from':_0x320791,'insert':_0x224b9c},_0x3dcffe=_0x29501c['state']['changes'](_0x55d36a?[_0x55d36a,_0x5d3f9f]:_0x5d3f9f);_0x29501c['focus'](),_0x29501c['dispatch']({'changes':_0x3dcffe,'selection':{'anchor':_0x3dcffe['mapPos'](_0x320791,-0x1),'head':_0x3dcffe['mapPos'](_0x320791,0x1)},'userEvent':_0x55d36a?'move.drop':'input.drop'}),_0x29501c['inputState']['draggedContent']=null;}function captureCopy(_0x5ec72d,_0x11e88c){let _0x5700bc=_0x5ec72d['dom']['parentNode'];if(!_0x5700bc)return;let _0x279bbc=_0x5700bc['appendChild'](document['createElement']('textarea'));_0x279bbc['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x279bbc['value']=_0x11e88c,_0x279bbc['focus'](),_0x279bbc['selectionEnd']=_0x11e88c['length'],_0x279bbc['selectionStart']=0x0,setTimeout(()=>{_0x279bbc['remove'](),_0x5ec72d['focus']();},0x32);}function _0xdb28c5(_0x1aa0c7){let _0x582fbf=[],_0x53aa4f=[],_0x14183f=!0x1;for(let _0xc810df of _0x1aa0c7['selection']['ranges'])_0xc810df['empty']||(_0x582fbf['push'](_0x1aa0c7['sliceDoc'](_0xc810df['from'],_0xc810df['to'])),_0x53aa4f['push'](_0xc810df));if(!_0x582fbf['length']){let _0x47428a=-0x1;for(let {from:_0x1ca3bc}of _0x1aa0c7['selection']['ranges']){let _0x1feaad=_0x1aa0c7['doc']['lineAt'](_0x1ca3bc);_0x1feaad['number']>_0x47428a&&(_0x582fbf['push'](_0x1feaad['text']),_0x53aa4f['push']({'from':_0x1feaad['from'],'to':Math['min'](_0x1aa0c7['doc']['length'],_0x1feaad['to']+0x1)})),_0x47428a=_0x1feaad['number'];}_0x14183f=!0x0;}return{'text':textFilter(_0x1aa0c7,clipboardOutputFilter,_0x582fbf['join'](_0x1aa0c7['lineBreak'])),'ranges':_0x53aa4f,'linewise':_0x14183f};}_0x30e867['dragstart']=(_0x1dbaa7,_0x253524)=>{let {selection:{main:_0x150a69}}=_0x1dbaa7['state'];if(_0x253524['target']['draggable']){let _0x13a034=_0x1dbaa7['docView']['nearest'](_0x253524['target']);if(_0x13a034&&_0x13a034['isWidget']){let _0x31f3eb=_0x13a034['posAtStart'],_0x3ac411=_0x31f3eb+_0x13a034['length'];(_0x31f3eb>=_0x150a69['to']||_0x3ac411<=_0x150a69['from'])&&(_0x150a69=EditorSelection['range'](_0x31f3eb,_0x3ac411));}}let {inputState:_0x416629}=_0x1dbaa7;return _0x416629['mouseSelection']&&(_0x416629['mouseSelection']['dragging']=!0x0),_0x416629['draggedContent']=_0x150a69,_0x253524['dataTransfer']&&(_0x253524['dataTransfer']['setData']('Text',textFilter(_0x1dbaa7['state'],clipboardOutputFilter,_0x1dbaa7['state']['sliceDoc'](_0x150a69['from'],_0x150a69['to']))),_0x253524['dataTransfer']['effectAllowed']='copyMove'),!0x1;},_0x30e867['dragend']=_0x39a26f=>(_0x39a26f['inputState']['draggedContent']=null,!0x1),_0x30e867['drop']=(_0x3492ea,_0x34455d)=>{if(!_0x34455d['dataTransfer'])return!0x1;if(_0x3492ea['state']['readOnly'])return!0x0;let _0x1d4098=_0x34455d['dataTransfer']['files'];if(_0x1d4098&&_0x1d4098['length']){let _0x33bdfa=Array(_0x1d4098['length']),_0x42dea0=0x0,_0x102dc=()=>{++_0x42dea0==_0x1d4098['length']&&dropText(_0x3492ea,_0x34455d,_0x33bdfa['filter'](_0x48642c=>null!=_0x48642c)['join'](_0x3492ea['state']['lineBreak']),!0x1);};for(let _0x3e63ca=0x0;_0x3e63ca<_0x1d4098['length'];_0x3e63ca++){let _0x108d6f=new FileReader();_0x108d6f['onerror']=_0x102dc,_0x108d6f['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0x108d6f['result'])||(_0x33bdfa[_0x3e63ca]=_0x108d6f['result']),_0x102dc();},_0x108d6f['readAsText'](_0x1d4098[_0x3e63ca]);}return!0x0;}{let _0x142b42=_0x34455d['dataTransfer']['getData']('Text');if(_0x142b42)return dropText(_0x3492ea,_0x34455d,_0x142b42,!0x0),!0x0;}return!0x1;},_0x30e867['paste']=(_0x2ef099,_0x29bcfc)=>{if(_0x2ef099['state']['readOnly'])return!0x0;_0x2ef099['observer']['flush']();let _0x43ad08=_0x55713a?null:_0x29bcfc['clipboardData'];return _0x43ad08?(doPaste(_0x2ef099,_0x43ad08['getData']('text/plain')||_0x43ad08['getData']('text/uri-list')),!0x0):(capturePaste(_0x2ef099),!0x1);};let lastLinewiseCopy=null;_0x30e867['copy']=_0x30e867['cut']=(_0x516f6c,_0x12e4d6)=>{let {text:_0x16d600,ranges:_0x89a1d8,linewise:_0x19b996}=_0xdb28c5(_0x516f6c['state']);if(!_0x16d600&&!_0x19b996)return!0x1;lastLinewiseCopy=_0x19b996?_0x16d600:null,'cut'!=_0x12e4d6['type']||_0x516f6c['state']['readOnly']||_0x516f6c['dispatch']({'changes':_0x89a1d8,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x189de3=_0x55713a?null:_0x12e4d6['clipboardData'];return _0x189de3?(_0x189de3['clearData'](),_0x189de3['setData']('text/plain',_0x16d600),!0x0):(captureCopy(_0x516f6c,_0x16d600),!0x1);};const _0x3178cd=Annotation['define']();function focusChangeTransaction(_0x4abf2e,_0x3be6c8){let _0x504220=[];for(let _0x58770f of _0x4abf2e['facet'](focusChangeEffect)){let _0x466641=_0x58770f(_0x4abf2e,_0x3be6c8);_0x466641&&_0x504220['push'](_0x466641);}return _0x504220['length']?_0x4abf2e['update']({'effects':_0x504220,'annotations':_0x3178cd['of'](!0x0)}):null;}function updateForFocusChange(_0x2d22d3){setTimeout(()=>{let _0x18db50=_0x2d22d3['hasFocus'];if(_0x18db50!=_0x2d22d3['inputState']['notifiedFocused']){let _0x3c0f07=focusChangeTransaction(_0x2d22d3['state'],_0x18db50);_0x3c0f07?_0x2d22d3['dispatch'](_0x3c0f07):_0x2d22d3['update']([]);}},0xa);}_0x373641['focus']=_0x3df74e=>{_0x3df74e['inputState']['lastFocusTime']=Date['now'](),_0x3df74e['scrollDOM']['scrollTop']||!_0x3df74e['inputState']['lastScrollTop']&&!_0x3df74e['inputState']['lastScrollLeft']||(_0x3df74e['scrollDOM']['scrollTop']=_0x3df74e['inputState']['lastScrollTop'],_0x3df74e['scrollDOM']['scrollLeft']=_0x3df74e['inputState']['lastScrollLeft']),updateForFocusChange(_0x3df74e);},_0x373641['blur']=_0x1aedeb=>{_0x1aedeb['observer']['clearSelectionRange'](),updateForFocusChange(_0x1aedeb);},_0x373641['compositionstart']=_0x373641['compositionupdate']=_0xe38ff3=>{_0xe38ff3['observer']['editContext']||(null==_0xe38ff3['inputState']['compositionFirstChange']&&(_0xe38ff3['inputState']['compositionFirstChange']=!0x0),_0xe38ff3['inputState']['composing']<0x0&&(_0xe38ff3['inputState']['composing']=0x0));},_0x373641['compositionend']=_0x5f4b07=>{_0x5f4b07['observer']['editContext']||(_0x5f4b07['inputState']['composing']=-0x1,_0x5f4b07['inputState']['compositionEndedAt']=Date['now'](),_0x5f4b07['inputState']['compositionPendingKey']=!0x0,_0x5f4b07['inputState']['compositionPendingChange']=_0x5f4b07['observer']['pendingRecords']()['length']>0x0,_0x5f4b07['inputState']['compositionFirstChange']=null,_0x4ac4fc['chrome']&&_0x4ac4fc['android']?_0x5f4b07['observer']['flushSoon']():_0x5f4b07['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x5f4b07['observer']['flush']()):setTimeout(()=>{_0x5f4b07['inputState']['composing']<0x0&&_0x5f4b07['docView']['hasComposition']&&_0x5f4b07['update']([]);},0x32));},_0x373641['contextmenu']=_0x407e0c=>{_0x407e0c['inputState']['lastContextMenu']=Date['now']();},_0x30e867['beforeinput']=(_0x2af5c3,_0x36cf91)=>{var _0xc0fe41,_0x244091;if('insertReplacementText'==_0x36cf91['inputType']&&_0x2af5c3['observer']['editContext']){let _0x5b31e3=null===(_0xc0fe41=_0x36cf91['dataTransfer'])||void 0x0===_0xc0fe41?void 0x0:_0xc0fe41['getData']('text/plain'),_0x3f6d48=_0x36cf91['getTargetRanges']();if(_0x5b31e3&&_0x3f6d48['length']){let _0x5b18c2=_0x3f6d48[0x0],_0x440c0b=_0x2af5c3['posAtDOM'](_0x5b18c2['startContainer'],_0x5b18c2['startOffset']),_0x12ae0b=_0x2af5c3['posAtDOM'](_0x5b18c2['endContainer'],_0x5b18c2['endOffset']);return _0x577cc0(_0x2af5c3,{'from':_0x440c0b,'to':_0x12ae0b,'insert':_0x2af5c3['state']['toText'](_0x5b31e3)},null),!0x0;}}let _0x2051db;if(_0x4ac4fc['chrome']&&_0x4ac4fc['android']&&(_0x2051db=_0xa02c88['find'](_0x31ba50=>_0x31ba50['inputType']==_0x36cf91['inputType']))&&(_0x2af5c3['observer']['delayAndroidKey'](_0x2051db['key'],_0x2051db['keyCode']),'Backspace'==_0x2051db['key']||'Delete'==_0x2051db['key'])){let _0x5b51c2=(null===(_0x244091=window['visualViewport'])||void 0x0===_0x244091?void 0x0:_0x244091['height'])||0x0;setTimeout(()=>{var _0x2c1ad1;((null===(_0x2c1ad1=window['visualViewport'])||void 0x0===_0x2c1ad1?void 0x0:_0x2c1ad1['height'])||0x0)>_0x5b51c2+0xa&&_0x2af5c3['hasFocus']&&(_0x2af5c3['contentDOM']['blur'](),_0x2af5c3['focus']());},0x64);}return _0x4ac4fc['ios']&&'deleteContentForward'==_0x36cf91['inputType']&&_0x2af5c3['observer']['flushSoon'](),_0x4ac4fc['safari']&&'insertText'==_0x36cf91['inputType']&&_0x2af5c3['inputState']['composing']>=0x0&&setTimeout(()=>_0x373641['compositionend'](_0x2af5c3,_0x36cf91),0x14),!0x1;};const _0x3f7934=new Set();function firefoxCopyCutHack(_0xcebdd1){_0x3f7934['has'](_0xcebdd1)||(_0x3f7934['add'](_0xcebdd1),_0xcebdd1['addEventListener']('copy',()=>{}),_0xcebdd1['addEventListener']('cut',()=>{}));}const wrappingWhiteSpace=['pre-wrap','normal','pre-line','break-spaces'];let heightChangeFlag=!0x1;function clearHeightChangeFlag(){heightChangeFlag=!0x1;}class HeightOracle{constructor(_0x1c71a9){this['lineWrapping']=_0x1c71a9,this['doc']=Text['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x5992e7,_0xdb25f6){let _0x25a7e3=this['doc']['lineAt'](_0xdb25f6)['number']-this['doc']['lineAt'](_0x5992e7)['number']+0x1;return this['lineWrapping']&&(_0x25a7e3+=Math['max'](0x0,Math['ceil']((_0xdb25f6-_0x5992e7-_0x25a7e3*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x25a7e3;}['heightForLine'](_0x405cb1){if(!this['lineWrapping'])return this['lineHeight'];return(0x1+Math['max'](0x0,Math['ceil']((_0x405cb1-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight'];}['setDoc'](_0x17fbfd){return this['doc']=_0x17fbfd,this;}['mustRefreshForWrapping'](_0xc7f14e){return wrappingWhiteSpace['indexOf'](_0xc7f14e)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0x17fc3d){let _0x46bda6=!0x1;for(let _0x42929c=0x0;_0x42929c<_0x17fc3d['length'];_0x42929c++){let _0x2dc4da=_0x17fc3d[_0x42929c];_0x2dc4da<0x0?_0x42929c++:this['heightSamples'][Math['floor'](0xa*_0x2dc4da)]||(_0x46bda6=!0x0,this['heightSamples'][Math['floor'](0xa*_0x2dc4da)]=!0x0);}return _0x46bda6;}['refresh'](_0x3a33c9,_0x28b0ee,_0xcdb4b9,_0x261570,_0x187dd2,_0xefd21d){let _0x261980=wrappingWhiteSpace['indexOf'](_0x3a33c9)>-0x1,_0x40d506=Math['round'](_0x28b0ee)!=Math['round'](this['lineHeight'])||this['lineWrapping']!=_0x261980;if(this['lineWrapping']=_0x261980,this['lineHeight']=_0x28b0ee,this['charWidth']=_0xcdb4b9,this['textHeight']=_0x261570,this['lineLength']=_0x187dd2,_0x40d506){this['heightSamples']={};for(let _0x4403ab=0x0;_0x4403ab<_0xefd21d['length'];_0x4403ab++){let _0x3fc75e=_0xefd21d[_0x4403ab];_0x3fc75e<0x0?_0x4403ab++:this['heightSamples'][Math['floor'](0xa*_0x3fc75e)]=!0x0;}}return _0x40d506;}}class MeasuredHeights{constructor(_0xecccb2,_0x14fa53){this['from']=_0xecccb2,this['heights']=_0x14fa53,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}}class _0x18b030{constructor(_0x4e8b78,_0x445886,_0x54506d,_0x35ad95,_0x3c728b){this['from']=_0x4e8b78,this['length']=_0x445886,this['top']=_0x54506d,this['height']=_0x35ad95,this['_content']=_0x3c728b;}get['type'](){return'number'==typeof this['_content']?_0x5841fb['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'](_0x42a0be){let _0x54d0a1=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x42a0be['_content'])?_0x42a0be['_content']:[_0x42a0be]);return new _0x18b030(this['from'],this['length']+_0x42a0be['length'],this['top'],this['height']+_0x42a0be['height'],_0x54d0a1);}}var _0x31a659=function(_0x1eb99c){return _0x1eb99c[_0x1eb99c['ByPos']=0x0]='ByPos',_0x1eb99c[_0x1eb99c['ByHeight']=0x1]='ByHeight',_0x1eb99c[_0x1eb99c['ByPosNoHeight']=0x2]='ByPosNoHeight',_0x1eb99c;}(_0x31a659||(_0x31a659={}));const _0x1c9c38=0.001;class HeightMap{constructor(_0x242a78,_0x2452c9,_0x5e2f2b=0x2){this['length']=_0x242a78,this['height']=_0x2452c9,this['flags']=_0x5e2f2b;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0x45c8aa){this['flags']=(_0x45c8aa?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x586f63){this['height']!=_0x586f63&&(Math['abs'](this['height']-_0x586f63)>_0x1c9c38&&(heightChangeFlag=!0x0),this['height']=_0x586f63);}['replace'](_0xffd902,_0x3dbe75,_0x1e3a07){return HeightMap['of'](_0x1e3a07);}['decomposeLeft'](_0x4858dd,_0x5342de){_0x5342de['push'](this);}['decomposeRight'](_0x5ed7ab,_0x4b4d44){_0x4b4d44['push'](this);}['applyChanges'](_0x1f01a1,_0x40347c,_0x1e7028,_0x11ddd0){let _0x1bfc62=this,_0x2a50f1=_0x1e7028['doc'];for(let _0x34ae41=_0x11ddd0['length']-0x1;_0x34ae41>=0x0;_0x34ae41--){let {fromA:_0x270aa3,toA:_0x3bc4fa,fromB:_0x5a8c54,toB:_0x16a612}=_0x11ddd0[_0x34ae41],_0x2216f9=_0x1bfc62['lineAt'](_0x270aa3,_0x31a659['ByPosNoHeight'],_0x1e7028['setDoc'](_0x40347c),0x0,0x0),_0x514efc=_0x2216f9['to']>=_0x3bc4fa?_0x2216f9:_0x1bfc62['lineAt'](_0x3bc4fa,_0x31a659['ByPosNoHeight'],_0x1e7028,0x0,0x0);for(_0x16a612+=_0x514efc['to']-_0x3bc4fa,_0x3bc4fa=_0x514efc['to'];_0x34ae41>0x0&&_0x2216f9['from']<=_0x11ddd0[_0x34ae41-0x1]['toA'];)_0x270aa3=_0x11ddd0[_0x34ae41-0x1]['fromA'],_0x5a8c54=_0x11ddd0[_0x34ae41-0x1]['fromB'],_0x34ae41--,_0x270aa3<_0x2216f9['from']&&(_0x2216f9=_0x1bfc62['lineAt'](_0x270aa3,_0x31a659['ByPosNoHeight'],_0x1e7028,0x0,0x0));_0x5a8c54+=_0x2216f9['from']-_0x270aa3,_0x270aa3=_0x2216f9['from'];let _0x25ad3c=_0x6711c1['build'](_0x1e7028['setDoc'](_0x2a50f1),_0x1f01a1,_0x5a8c54,_0x16a612);_0x1bfc62=_0x5ae3e0(_0x1bfc62,_0x1bfc62['replace'](_0x270aa3,_0x3bc4fa,_0x25ad3c));}return _0x1bfc62['updateHeight'](_0x1e7028,0x0);}static['empty'](){return new HeightMapText(0x0,0x0);}static['of'](_0x453f5e){if(0x1==_0x453f5e['length'])return _0x453f5e[0x0];let _0x2ead4e=0x0,_0x361d16=_0x453f5e['length'],_0x3b84e4=0x0,_0x460315=0x0;for(;;)if(_0x2ead4e==_0x361d16){if(_0x3b84e4>0x2*_0x460315){let _0x6e4b1e=_0x453f5e[_0x2ead4e-0x1];_0x6e4b1e['break']?_0x453f5e['splice'](--_0x2ead4e,0x1,_0x6e4b1e['left'],null,_0x6e4b1e['right']):_0x453f5e['splice'](--_0x2ead4e,0x1,_0x6e4b1e['left'],_0x6e4b1e['right']),_0x361d16+=0x1+_0x6e4b1e['break'],_0x3b84e4-=_0x6e4b1e['size'];}else{if(!(_0x460315>0x2*_0x3b84e4))break;{let _0x2d2e2e=_0x453f5e[_0x361d16];_0x2d2e2e['break']?_0x453f5e['splice'](_0x361d16,0x1,_0x2d2e2e['left'],null,_0x2d2e2e['right']):_0x453f5e['splice'](_0x361d16,0x1,_0x2d2e2e['left'],_0x2d2e2e['right']),_0x361d16+=0x2+_0x2d2e2e['break'],_0x460315-=_0x2d2e2e['size'];}}}else{if(_0x3b84e4<_0x460315){let _0x4797c6=_0x453f5e[_0x2ead4e++];_0x4797c6&&(_0x3b84e4+=_0x4797c6['size']);}else{let _0x5e2998=_0x453f5e[--_0x361d16];_0x5e2998&&(_0x460315+=_0x5e2998['size']);}}let _0x4a590a=0x0;return null==_0x453f5e[_0x2ead4e-0x1]?(_0x4a590a=0x1,_0x2ead4e--):null==_0x453f5e[_0x2ead4e]&&(_0x4a590a=0x1,_0x361d16++),new HeightMapBranch(HeightMap['of'](_0x453f5e['slice'](0x0,_0x2ead4e)),_0x4a590a,HeightMap['of'](_0x453f5e['slice'](_0x361d16)));}}function _0x5ae3e0(_0x2d191f,_0x3a3481){return _0x2d191f==_0x3a3481?_0x2d191f:(_0x2d191f['constructor']!=_0x3a3481['constructor']&&(heightChangeFlag=!0x0),_0x3a3481);}HeightMap['prototype']['size']=0x1;class HeightMapBlock extends HeightMap{constructor(_0x525672,_0x39448a,_0x1a6818){super(_0x525672,_0x39448a),this['deco']=_0x1a6818;}['blockAt'](_0x1a3d0c,_0x2eb80a,_0x39d14b,_0x4a6f02){return new _0x18b030(_0x4a6f02,this['length'],_0x39d14b,this['height'],this['deco']||0x0);}['lineAt'](_0x2d9c28,_0x220ff9,_0x36a1d9,_0xff5431,_0x41c41b){return this['blockAt'](0x0,_0x36a1d9,_0xff5431,_0x41c41b);}['forEachLine'](_0x5b3523,_0x234da6,_0x382dd9,_0x5e5ca3,_0x39dd1b,_0x59899c){_0x5b3523<=_0x39dd1b+this['length']&&_0x234da6>=_0x39dd1b&&_0x59899c(this['blockAt'](0x0,_0x382dd9,_0x5e5ca3,_0x39dd1b));}['updateHeight'](_0x575c5d,_0x3e169b=0x0,_0x16af10=!0x1,_0x2cb634){return _0x2cb634&&_0x2cb634['from']<=_0x3e169b&&_0x2cb634['more']&&this['setHeight'](_0x2cb634['heights'][_0x2cb634['index']++]),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}}class HeightMapText extends HeightMapBlock{constructor(_0x306ee1,_0x5c227b){super(_0x306ee1,_0x5c227b,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0;}['blockAt'](_0x53e335,_0x34617b,_0x4dd15c,_0x3b8bce){return new _0x18b030(_0x3b8bce,this['length'],_0x4dd15c,this['height'],this['breaks']);}['replace'](_0x1e7945,_0x1aee00,_0x3a8368){let _0x51687d=_0x3a8368[0x0];return 0x1==_0x3a8368['length']&&(_0x51687d instanceof HeightMapText||_0x51687d instanceof HeightMapGap&&0x4&_0x51687d['flags'])&&Math['abs'](this['length']-_0x51687d['length'])<0xa?(_0x51687d instanceof HeightMapGap?_0x51687d=new HeightMapText(_0x51687d['length'],this['height']):_0x51687d['height']=this['height'],this['outdated']||(_0x51687d['outdated']=!0x1),_0x51687d):HeightMap['of'](_0x3a8368);}['updateHeight'](_0x4b9703,_0x3bf5db=0x0,_0x335484=!0x1,_0x43c7f8){return _0x43c7f8&&_0x43c7f8['from']<=_0x3bf5db&&_0x43c7f8['more']?this['setHeight'](_0x43c7f8['heights'][_0x43c7f8['index']++]):(_0x335484||this['outdated'])&&this['setHeight'](Math['max'](this['widgetHeight'],_0x4b9703['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0x4b9703['lineHeight']),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}}class HeightMapGap extends HeightMap{constructor(_0x331f77){super(_0x331f77,0x0);}['heightMetrics'](_0x212cf6,_0x54ec66){let _0x4f7ac8,_0x484c43=_0x212cf6['doc']['lineAt'](_0x54ec66)['number'],_0x3ee11c=_0x212cf6['doc']['lineAt'](_0x54ec66+this['length'])['number'],_0xd2e169=_0x3ee11c-_0x484c43+0x1,_0x7df1a=0x0;if(_0x212cf6['lineWrapping']){let _0x4e711b=Math['min'](this['height'],_0x212cf6['lineHeight']*_0xd2e169);_0x4f7ac8=_0x4e711b/_0xd2e169,this['length']>_0xd2e169+0x1&&(_0x7df1a=(this['height']-_0x4e711b)/(this['length']-_0xd2e169-0x1));}else _0x4f7ac8=this['height']/_0xd2e169;return{'firstLine':_0x484c43,'lastLine':_0x3ee11c,'perLine':_0x4f7ac8,'perChar':_0x7df1a};}['blockAt'](_0x3296a1,_0xbbcbb9,_0x30ce54,_0x1669e9){let {firstLine:_0x43b38b,lastLine:_0x539e3d,perLine:_0x376fc9,perChar:_0x5d061d}=this['heightMetrics'](_0xbbcbb9,_0x1669e9);if(_0xbbcbb9['lineWrapping']){let _0x3c0f37=_0x1669e9+(_0x3296a1<_0xbbcbb9['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0x3296a1-_0x30ce54)/this['height']))*this['length'])),_0x4a4acb=_0xbbcbb9['doc']['lineAt'](_0x3c0f37),_0x55f3cb=_0x376fc9+_0x4a4acb['length']*_0x5d061d,_0x3e7d36=Math['max'](_0x30ce54,_0x3296a1-_0x55f3cb/0x2);return new _0x18b030(_0x4a4acb['from'],_0x4a4acb['length'],_0x3e7d36,_0x55f3cb,0x0);}{let _0x46a33b=Math['max'](0x0,Math['min'](_0x539e3d-_0x43b38b,Math['floor']((_0x3296a1-_0x30ce54)/_0x376fc9))),{from:_0x2b50f8,length:_0x5673c8}=_0xbbcbb9['doc']['line'](_0x43b38b+_0x46a33b);return new _0x18b030(_0x2b50f8,_0x5673c8,_0x30ce54+_0x376fc9*_0x46a33b,_0x376fc9,0x0);}}['lineAt'](_0x336a55,_0x4a8d66,_0x5223b7,_0x5ef0d6,_0xce91a9){if(_0x4a8d66==_0x31a659['ByHeight'])return this['blockAt'](_0x336a55,_0x5223b7,_0x5ef0d6,_0xce91a9);if(_0x4a8d66==_0x31a659['ByPosNoHeight']){let {from:_0x466028,to:_0x4d9265}=_0x5223b7['doc']['lineAt'](_0x336a55);return new _0x18b030(_0x466028,_0x4d9265-_0x466028,0x0,0x0,0x0);}let {firstLine:_0x5eb58a,perLine:_0x38e160,perChar:_0x5d8602}=this['heightMetrics'](_0x5223b7,_0xce91a9),_0x2b5065=_0x5223b7['doc']['lineAt'](_0x336a55),_0x1a4755=_0x38e160+_0x2b5065['length']*_0x5d8602,_0x13838d=_0x2b5065['number']-_0x5eb58a,_0x56fb0e=_0x5ef0d6+_0x38e160*_0x13838d+_0x5d8602*(_0x2b5065['from']-_0xce91a9-_0x13838d);return new _0x18b030(_0x2b5065['from'],_0x2b5065['length'],Math['max'](_0x5ef0d6,Math['min'](_0x56fb0e,_0x5ef0d6+this['height']-_0x1a4755)),_0x1a4755,0x0);}['forEachLine'](_0x467f20,_0x4212fd,_0x2993fd,_0x42e67f,_0x34fade,_0x335f3d){_0x467f20=Math['max'](_0x467f20,_0x34fade),_0x4212fd=Math['min'](_0x4212fd,_0x34fade+this['length']);let {firstLine:_0x574b69,perLine:_0x38654e,perChar:_0x4d369a}=this['heightMetrics'](_0x2993fd,_0x34fade);for(let _0x2cab98=_0x467f20,_0x30d88e=_0x42e67f;_0x2cab98<=_0x4212fd;){let _0x483e5a=_0x2993fd['doc']['lineAt'](_0x2cab98);if(_0x2cab98==_0x467f20){let _0x2afcea=_0x483e5a['number']-_0x574b69;_0x30d88e+=_0x38654e*_0x2afcea+_0x4d369a*(_0x467f20-_0x34fade-_0x2afcea);}let _0x312c3c=_0x38654e+_0x4d369a*_0x483e5a['length'];_0x335f3d(new _0x18b030(_0x483e5a['from'],_0x483e5a['length'],_0x30d88e,_0x312c3c,0x0)),_0x30d88e+=_0x312c3c,_0x2cab98=_0x483e5a['to']+0x1;}}['replace'](_0x10058b,_0x56e1d7,_0x3dae0f){let _0x1b3888=this['length']-_0x56e1d7;if(_0x1b3888>0x0){let _0x1f7286=_0x3dae0f[_0x3dae0f['length']-0x1];_0x1f7286 instanceof HeightMapGap?_0x3dae0f[_0x3dae0f['length']-0x1]=new HeightMapGap(_0x1f7286['length']+_0x1b3888):_0x3dae0f['push'](null,new HeightMapGap(_0x1b3888-0x1));}if(_0x10058b>0x0){let _0x11b02d=_0x3dae0f[0x0];_0x11b02d instanceof HeightMapGap?_0x3dae0f[0x0]=new HeightMapGap(_0x10058b+_0x11b02d['length']):_0x3dae0f['unshift'](new HeightMapGap(_0x10058b-0x1),null);}return HeightMap['of'](_0x3dae0f);}['decomposeLeft'](_0x4e8df,_0x44b564){_0x44b564['push'](new HeightMapGap(_0x4e8df-0x1),null);}['decomposeRight'](_0x2cc976,_0x325d41){_0x325d41['push'](null,new HeightMapGap(this['length']-_0x2cc976-0x1));}['updateHeight'](_0x367691,_0x234a66=0x0,_0x4d1362=!0x1,_0x1c5f0b){let _0x117572=_0x234a66+this['length'];if(_0x1c5f0b&&_0x1c5f0b['from']<=_0x234a66+this['length']&&_0x1c5f0b['more']){let _0x340619=[],_0x2023f3=Math['max'](_0x234a66,_0x1c5f0b['from']),_0xd79603=-0x1;for(_0x1c5f0b['from']>_0x234a66&&_0x340619['push'](new HeightMapGap(_0x1c5f0b['from']-_0x234a66-0x1)['updateHeight'](_0x367691,_0x234a66));_0x2023f3<=_0x117572&&_0x1c5f0b['more'];){let _0x4afd14=_0x367691['doc']['lineAt'](_0x2023f3)['length'];_0x340619['length']&&_0x340619['push'](null);let _0x3ae3e8=_0x1c5f0b['heights'][_0x1c5f0b['index']++];-0x1==_0xd79603?_0xd79603=_0x3ae3e8:Math['abs'](_0x3ae3e8-_0xd79603)>=_0x1c9c38&&(_0xd79603=-0x2);let _0x3d3d1f=new HeightMapText(_0x4afd14,_0x3ae3e8);_0x3d3d1f['outdated']=!0x1,_0x340619['push'](_0x3d3d1f),_0x2023f3+=_0x4afd14+0x1;}_0x2023f3<=_0x117572&&_0x340619['push'](null,new HeightMapGap(_0x117572-_0x2023f3)['updateHeight'](_0x367691,_0x2023f3));let _0x4ae072=HeightMap['of'](_0x340619);return(_0xd79603<0x0||Math['abs'](_0x4ae072['height']-this['height'])>=_0x1c9c38||Math['abs'](_0xd79603-this['heightMetrics'](_0x367691,_0x234a66)['perLine'])>=_0x1c9c38)&&(heightChangeFlag=!0x0),_0x5ae3e0(this,_0x4ae072);}return(_0x4d1362||this['outdated'])&&(this['setHeight'](_0x367691['heightForGap'](_0x234a66,_0x234a66+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}}class HeightMapBranch extends HeightMap{constructor(_0x332133,_0x314596,_0x3b8eef){super(_0x332133['length']+_0x314596+_0x3b8eef['length'],_0x332133['height']+_0x3b8eef['height'],_0x314596|(_0x332133['outdated']||_0x3b8eef['outdated']?0x2:0x0)),this['left']=_0x332133,this['right']=_0x3b8eef,this['size']=_0x332133['size']+_0x3b8eef['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0x26c743,_0xf64845,_0x23d05a,_0x37164f){let _0x7e96b=_0x23d05a+this['left']['height'];return _0x26c743<_0x7e96b?this['left']['blockAt'](_0x26c743,_0xf64845,_0x23d05a,_0x37164f):this['right']['blockAt'](_0x26c743,_0xf64845,_0x7e96b,_0x37164f+this['left']['length']+this['break']);}['lineAt'](_0x49cfd2,_0x5c6aef,_0x4f69f3,_0x5f43e5,_0x4f36ec){let _0x4e4ae3=_0x5f43e5+this['left']['height'],_0x521d57=_0x4f36ec+this['left']['length']+this['break'],_0x3eced3=_0x5c6aef==_0x31a659['ByHeight']?_0x49cfd2<_0x4e4ae3:_0x49cfd2<_0x521d57,_0x7e7b7d=_0x3eced3?this['left']['lineAt'](_0x49cfd2,_0x5c6aef,_0x4f69f3,_0x5f43e5,_0x4f36ec):this['right']['lineAt'](_0x49cfd2,_0x5c6aef,_0x4f69f3,_0x4e4ae3,_0x521d57);if(this['break']||(_0x3eced3?_0x7e7b7d['to']<_0x521d57:_0x7e7b7d['from']>_0x521d57))return _0x7e7b7d;let _0x1da9dd=_0x5c6aef==_0x31a659['ByPosNoHeight']?_0x31a659['ByPosNoHeight']:_0x31a659['ByPos'];return _0x3eced3?_0x7e7b7d['join'](this['right']['lineAt'](_0x521d57,_0x1da9dd,_0x4f69f3,_0x4e4ae3,_0x521d57)):this['left']['lineAt'](_0x521d57,_0x1da9dd,_0x4f69f3,_0x5f43e5,_0x4f36ec)['join'](_0x7e7b7d);}['forEachLine'](_0x491d9c,_0x5ec4dd,_0x1b6012,_0xaad023,_0x14506e,_0x436dde){let _0x3726e2=_0xaad023+this['left']['height'],_0x271fef=_0x14506e+this['left']['length']+this['break'];if(this['break'])_0x491d9c<_0x271fef&&this['left']['forEachLine'](_0x491d9c,_0x5ec4dd,_0x1b6012,_0xaad023,_0x14506e,_0x436dde),_0x5ec4dd>=_0x271fef&&this['right']['forEachLine'](_0x491d9c,_0x5ec4dd,_0x1b6012,_0x3726e2,_0x271fef,_0x436dde);else{let _0xa02d7b=this['lineAt'](_0x271fef,_0x31a659['ByPos'],_0x1b6012,_0xaad023,_0x14506e);_0x491d9c<_0xa02d7b['from']&&this['left']['forEachLine'](_0x491d9c,_0xa02d7b['from']-0x1,_0x1b6012,_0xaad023,_0x14506e,_0x436dde),_0xa02d7b['to']>=_0x491d9c&&_0xa02d7b['from']<=_0x5ec4dd&&_0x436dde(_0xa02d7b),_0x5ec4dd>_0xa02d7b['to']&&this['right']['forEachLine'](_0xa02d7b['to']+0x1,_0x5ec4dd,_0x1b6012,_0x3726e2,_0x271fef,_0x436dde);}}['replace'](_0x3d2ea6,_0x368484,_0x3e8c62){let _0x434f4c=this['left']['length']+this['break'];if(_0x368484<_0x434f4c)return this['balanced'](this['left']['replace'](_0x3d2ea6,_0x368484,_0x3e8c62),this['right']);if(_0x3d2ea6>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x3d2ea6-_0x434f4c,_0x368484-_0x434f4c,_0x3e8c62));let _0x47e18b=[];_0x3d2ea6>0x0&&this['decomposeLeft'](_0x3d2ea6,_0x47e18b);let _0x294e89=_0x47e18b['length'];for(let _0x12eb85 of _0x3e8c62)_0x47e18b['push'](_0x12eb85);if(_0x3d2ea6>0x0&&_0x4fc6cf(_0x47e18b,_0x294e89-0x1),_0x368484<this['length']){let _0x4e8c36=_0x47e18b['length'];this['decomposeRight'](_0x368484,_0x47e18b),_0x4fc6cf(_0x47e18b,_0x4e8c36);}return HeightMap['of'](_0x47e18b);}['decomposeLeft'](_0x5b5a59,_0x34fb56){let _0x130f22=this['left']['length'];if(_0x5b5a59<=_0x130f22)return this['left']['decomposeLeft'](_0x5b5a59,_0x34fb56);_0x34fb56['push'](this['left']),this['break']&&(_0x130f22++,_0x5b5a59>=_0x130f22&&_0x34fb56['push'](null)),_0x5b5a59>_0x130f22&&this['right']['decomposeLeft'](_0x5b5a59-_0x130f22,_0x34fb56);}['decomposeRight'](_0xaf7fc6,_0x2b044b){let _0x41226d=this['left']['length'],_0x59bb64=_0x41226d+this['break'];if(_0xaf7fc6>=_0x59bb64)return this['right']['decomposeRight'](_0xaf7fc6-_0x59bb64,_0x2b044b);_0xaf7fc6<_0x41226d&&this['left']['decomposeRight'](_0xaf7fc6,_0x2b044b),this['break']&&_0xaf7fc6<_0x59bb64&&_0x2b044b['push'](null),_0x2b044b['push'](this['right']);}['balanced'](_0x24864f,_0x31592b){return _0x24864f['size']>0x2*_0x31592b['size']||_0x31592b['size']>0x2*_0x24864f['size']?HeightMap['of'](this['break']?[_0x24864f,null,_0x31592b]:[_0x24864f,_0x31592b]):(this['left']=_0x5ae3e0(this['left'],_0x24864f),this['right']=_0x5ae3e0(this['right'],_0x31592b),this['setHeight'](_0x24864f['height']+_0x31592b['height']),this['outdated']=_0x24864f['outdated']||_0x31592b['outdated'],this['size']=_0x24864f['size']+_0x31592b['size'],this['length']=_0x24864f['length']+this['break']+_0x31592b['length'],this);}['updateHeight'](_0x5c14d3,_0x508490=0x0,_0x1a2789=!0x1,_0x4bcda0){let {left:_0x52cd42,right:_0x27c589}=this,_0x4837bc=_0x508490+_0x52cd42['length']+this['break'],_0x4a63fb=null;return _0x4bcda0&&_0x4bcda0['from']<=_0x508490+_0x52cd42['length']&&_0x4bcda0['more']?_0x4a63fb=_0x52cd42=_0x52cd42['updateHeight'](_0x5c14d3,_0x508490,_0x1a2789,_0x4bcda0):_0x52cd42['updateHeight'](_0x5c14d3,_0x508490,_0x1a2789),_0x4bcda0&&_0x4bcda0['from']<=_0x4837bc+_0x27c589['length']&&_0x4bcda0['more']?_0x4a63fb=_0x27c589=_0x27c589['updateHeight'](_0x5c14d3,_0x4837bc,_0x1a2789,_0x4bcda0):_0x27c589['updateHeight'](_0x5c14d3,_0x4837bc,_0x1a2789),_0x4a63fb?this['balanced'](_0x52cd42,_0x27c589):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}}function _0x4fc6cf(_0x4006f3,_0x1cb5ab){let _0x5258fa,_0x1b037e;null==_0x4006f3[_0x1cb5ab]&&(_0x5258fa=_0x4006f3[_0x1cb5ab-0x1])instanceof HeightMapGap&&(_0x1b037e=_0x4006f3[_0x1cb5ab+0x1])instanceof HeightMapGap&&_0x4006f3['splice'](_0x1cb5ab-0x1,0x3,new HeightMapGap(_0x5258fa['length']+0x1+_0x1b037e['length']));}const relevantWidgetHeight=0x5;class _0x6711c1{constructor(_0x23507c,_0x5d28a1){this['pos']=_0x23507c,this['oracle']=_0x5d28a1,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x23507c;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0x35288b,_0x1efcac){if(this['lineStart']>-0x1){let _0x333c88=Math['min'](_0x1efcac,this['lineEnd']),_0x16e64e=this['nodes'][this['nodes']['length']-0x1];_0x16e64e instanceof HeightMapText?_0x16e64e['length']+=_0x333c88-this['pos']:(_0x333c88>this['pos']||!this['isCovered'])&&this['nodes']['push'](new HeightMapText(_0x333c88-this['pos'],-0x1)),this['writtenTo']=_0x333c88,_0x1efcac>_0x333c88&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x1efcac;}['point'](_0x215444,_0x2da7d4,_0x4d3db2){if(_0x215444<_0x2da7d4||_0x4d3db2['heightRelevant']){let _0x4a78cc=_0x4d3db2['widget']?_0x4d3db2['widget']['estimatedHeight']:0x0,_0x2f48ef=_0x4d3db2['widget']?_0x4d3db2['widget']['lineBreaks']:0x0;_0x4a78cc<0x0&&(_0x4a78cc=this['oracle']['lineHeight']);let _0x45ab2b=_0x2da7d4-_0x215444;_0x4d3db2['block']?this['addBlock'](new HeightMapBlock(_0x45ab2b,_0x4a78cc,_0x4d3db2)):(_0x45ab2b||_0x2f48ef||_0x4a78cc>=relevantWidgetHeight)&&this['addLineDeco'](_0x4a78cc,_0x2f48ef,_0x45ab2b);}else _0x2da7d4>_0x215444&&this['span'](_0x215444,_0x2da7d4);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x1eb08d,to:_0x46cfe6}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x1eb08d,this['lineEnd']=_0x46cfe6,this['writtenTo']<_0x1eb08d&&((this['writtenTo']<_0x1eb08d-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x1eb08d-0x1)),this['nodes']['push'](null)),this['pos']>_0x1eb08d&&this['nodes']['push'](new HeightMapText(this['pos']-_0x1eb08d,-0x1)),this['writtenTo']=this['pos'];}['blankContent'](_0x490f7a,_0xd422a5){let _0x513640=new HeightMapGap(_0xd422a5-_0x490f7a);return this['oracle']['doc']['lineAt'](_0x490f7a)['to']==_0xd422a5&&(_0x513640['flags']|=0x4),_0x513640;}['ensureLine'](){this['enterLine']();let _0x195bf2=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x195bf2 instanceof HeightMapText)return _0x195bf2;let _0x5e6315=new HeightMapText(0x0,-0x1);return this['nodes']['push'](_0x5e6315),_0x5e6315;}['addBlock'](_0x4922ca){this['enterLine']();let _0x39cf0c=_0x4922ca['deco'];_0x39cf0c&&_0x39cf0c['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0x4922ca),this['writtenTo']=this['pos']=this['pos']+_0x4922ca['length'],_0x39cf0c&&_0x39cf0c['endSide']>0x0&&(this['covering']=_0x4922ca);}['addLineDeco'](_0x56fc45,_0x2be09c,_0x374ebb){let _0x51ae31=this['ensureLine']();_0x51ae31['length']+=_0x374ebb,_0x51ae31['collapsed']+=_0x374ebb,_0x51ae31['widgetHeight']=Math['max'](_0x51ae31['widgetHeight'],_0x56fc45),_0x51ae31['breaks']+=_0x2be09c,this['writtenTo']=this['pos']=this['pos']+_0x374ebb;}['finish'](_0x1f437a){let _0x889f2=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x889f2 instanceof HeightMapText||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x889f2)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new HeightMapText(0x0,-0x1));let _0x153872=_0x1f437a;for(let _0x3a9496 of this['nodes'])_0x3a9496 instanceof HeightMapText&&_0x3a9496['updateHeight'](this['oracle'],_0x153872),_0x153872+=_0x3a9496?_0x3a9496['length']:0x1;return this['nodes'];}static['build'](_0x273beb,_0x52754b,_0x4ded53,_0x439316){let _0x3b4960=new _0x6711c1(_0x4ded53,_0x273beb);return RangeSet['spans'](_0x52754b,_0x4ded53,_0x439316,_0x3b4960,0x0),_0x3b4960['finish'](_0x4ded53);}}function heightRelevantDecoChanges(_0x35baad,_0x16022b,_0x1e2a38){let _0x36db34=new DecorationComparator();return RangeSet['compare'](_0x35baad,_0x16022b,_0x1e2a38,_0x36db34,0x0),_0x36db34['changes'];}class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x3312d1,_0x1494be,_0x3106bb,_0x367002){(_0x3312d1<_0x1494be||_0x3106bb&&_0x3106bb['heightRelevant']||_0x367002&&_0x367002['heightRelevant'])&&_0x1198bc(_0x3312d1,_0x1494be,this['changes'],0x5);}}function _0x2f3eb8(_0x38e58f,_0x3e1a9d){let _0x238e4d=_0x38e58f['getBoundingClientRect'](),_0x566ca2=_0x38e58f['ownerDocument'],_0x1b8500=_0x566ca2['defaultView']||window,_0x33de88=Math['max'](0x0,_0x238e4d['left']),_0x2d1a17=Math['min'](_0x1b8500['innerWidth'],_0x238e4d['right']),_0x5b225d=Math['max'](0x0,_0x238e4d['top']),_0x381cfa=Math['min'](_0x1b8500['innerHeight'],_0x238e4d['bottom']);for(let _0x558d61=_0x38e58f['parentNode'];_0x558d61&&_0x558d61!=_0x566ca2['body'];)if(0x1==_0x558d61['nodeType']){let _0x53f7a3=_0x558d61,_0x58c806=window['getComputedStyle'](_0x53f7a3);if((_0x53f7a3['scrollHeight']>_0x53f7a3['clientHeight']||_0x53f7a3['scrollWidth']>_0x53f7a3['clientWidth'])&&'visible'!=_0x58c806['overflow']){let _0x2911d4=_0x53f7a3['getBoundingClientRect']();_0x33de88=Math['max'](_0x33de88,_0x2911d4['left']),_0x2d1a17=Math['min'](_0x2d1a17,_0x2911d4['right']),_0x5b225d=Math['max'](_0x5b225d,_0x2911d4['top']),_0x381cfa=Math['min'](_0x558d61==_0x38e58f['parentNode']?_0x1b8500['innerHeight']:_0x381cfa,_0x2911d4['bottom']);}_0x558d61='absolute'==_0x58c806['position']||'fixed'==_0x58c806['position']?_0x53f7a3['offsetParent']:_0x53f7a3['parentNode'];}else{if(0xb!=_0x558d61['nodeType'])break;_0x558d61=_0x558d61['host'];}return{'left':_0x33de88-_0x238e4d['left'],'right':Math['max'](_0x33de88,_0x2d1a17)-_0x238e4d['left'],'top':_0x5b225d-(_0x238e4d['top']+_0x3e1a9d),'bottom':Math['max'](_0x5b225d,_0x381cfa)-(_0x238e4d['top']+_0x3e1a9d)};}function _0x576c12(_0x399ad8){let _0x9dc703=_0x399ad8['getBoundingClientRect'](),_0x1ad730=_0x399ad8['ownerDocument']['defaultView']||window;return _0x9dc703['left']<_0x1ad730['innerWidth']&&_0x9dc703['right']>0x0&&_0x9dc703['top']<_0x1ad730['innerHeight']&&_0x9dc703['bottom']>0x0;}function _0x23e1e7(_0xa0ac77,_0xdd9170){let _0x5add6f=_0xa0ac77['getBoundingClientRect']();return{'left':0x0,'right':_0x5add6f['right']-_0x5add6f['left'],'top':_0xdd9170,'bottom':_0x5add6f['bottom']-(_0x5add6f['top']+_0xdd9170)};}class _0x53b426{constructor(_0x326aa8,_0x579297,_0x9aca3,_0x1f2e57){this['from']=_0x326aa8,this['to']=_0x579297,this['size']=_0x9aca3,this['displaySize']=_0x1f2e57;}static['same'](_0x2da243,_0x3c752a){if(_0x2da243['length']!=_0x3c752a['length'])return!0x1;for(let _0x576492=0x0;_0x576492<_0x2da243['length'];_0x576492++){let _0x72e9e5=_0x2da243[_0x576492],_0x1614a6=_0x3c752a[_0x576492];if(_0x72e9e5['from']!=_0x1614a6['from']||_0x72e9e5['to']!=_0x1614a6['to']||_0x72e9e5['size']!=_0x1614a6['size'])return!0x1;}return!0x0;}['draw'](_0x2c84ce,_0x5c9448){return Decoration['replace']({'widget':new LineGapWidget(this['displaySize']*(_0x5c9448?_0x2c84ce['scaleY']:_0x2c84ce['scaleX']),_0x5c9448)})['range'](this['from'],this['to']);}}class LineGapWidget extends WidgetType{constructor(_0x3c365d,_0xc01bb8){super(),this['size']=_0x3c365d,this['vertical']=_0xc01bb8;}['eq'](_0x46b528){return _0x46b528['size']==this['size']&&_0x46b528['vertical']==this['vertical'];}['toDOM'](){let _0x563562=document['createElement']('div');return this['vertical']?_0x563562['style']['height']=this['size']+'px':(_0x563562['style']['width']=this['size']+'px',_0x563562['style']['height']='2px',_0x563562['style']['display']='inline-block'),_0x563562;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}}class ViewState{constructor(_0x1bae5f){this['state']=_0x1bae5f,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']=_0x201c29,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=Direction['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x415cb6=_0x1bae5f['facet'](contentAttributes)['some'](_0x595a12=>'function'!=typeof _0x595a12&&'cm-lineWrapping'==_0x595a12['class']);this['heightOracle']=new HeightOracle(_0x415cb6),this['stateDeco']=_0x1bae5f['facet'](decorations)['filter'](_0x1a365b=>'function'!=typeof _0x1a365b),this['heightMap']=HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle']['setDoc'](_0x1bae5f['doc']),[new _0xc71755(0x0,0x0,0x0,_0x1bae5f['doc']['length'])]);for(let _0x584367=0x0;_0x584367<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x584367++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=Decoration['set'](this['lineGaps']['map'](_0x1f4f03=>_0x1f4f03['draw'](this,!0x1))),this['computeVisibleRanges']();}['updateForViewport'](){let _0x311095=[this['viewport']],{main:_0x3a690d}=this['state']['selection'];for(let _0x4525d1=0x0;_0x4525d1<=0x1;_0x4525d1++){let _0x231f7c=_0x4525d1?_0x3a690d['head']:_0x3a690d['anchor'];if(!_0x311095['some'](({from:_0x1911e4,to:_0x2ee7da})=>_0x231f7c>=_0x1911e4&&_0x231f7c<=_0x2ee7da)){let {from:_0x44a97c,to:_0x3e5d2b}=this['lineBlockAt'](_0x231f7c);_0x311095['push'](new Viewport(_0x44a97c,_0x3e5d2b));}}return this['viewports']=_0x311095['sort']((_0x1211f1,_0x4e1d10)=>_0x1211f1['from']-_0x4e1d10['from']),this['updateScaler']();}['updateScaler'](){let _0x2e8dd8=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?_0x201c29:new _0x3f6fa0(this['heightOracle'],this['heightMap'],this['viewports']),_0x2e8dd8['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,_0x6da503=>{this['viewportLines']['push'](_0x325b0c(_0x6da503,this['scaler']));});}['update'](_0x1ff5da,_0x43e484=null){this['state']=_0x1ff5da['state'];let _0x5c3246=this['stateDeco'];this['stateDeco']=this['state']['facet'](decorations)['filter'](_0x36ed4a=>'function'!=typeof _0x36ed4a);let _0x29fe99=_0x1ff5da['changedRanges'],_0x394ab3=_0xc71755['extendWithRanges'](_0x29fe99,heightRelevantDecoChanges(_0x5c3246,this['stateDeco'],_0x1ff5da?_0x1ff5da['changes']:ChangeSet['empty'](this['state']['doc']['length']))),_0x317fac=this['heightMap']['height'],_0x4b0a8f=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollTop']);clearHeightChangeFlag(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x1ff5da['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x394ab3),(this['heightMap']['height']!=_0x317fac||heightChangeFlag)&&(_0x1ff5da['flags']|=0x2),_0x4b0a8f?(this['scrollAnchorPos']=_0x1ff5da['changes']['mapPos'](_0x4b0a8f['from'],-0x1),this['scrollAnchorHeight']=_0x4b0a8f['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x317fac);let _0xf21c43=_0x394ab3['length']?this['mapViewport'](this['viewport'],_0x1ff5da['changes']):this['viewport'];(_0x43e484&&(_0x43e484['range']['head']<_0xf21c43['from']||_0x43e484['range']['head']>_0xf21c43['to'])||!this['viewportIsAppropriate'](_0xf21c43))&&(_0xf21c43=this['getViewport'](0x0,_0x43e484));let _0x46b8b0=_0xf21c43['from']!=this['viewport']['from']||_0xf21c43['to']!=this['viewport']['to'];this['viewport']=_0xf21c43,_0x1ff5da['flags']|=this['updateForViewport'](),(_0x46b8b0||!_0x1ff5da['changes']['empty']||0x2&_0x1ff5da['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x1ff5da['changes']))),_0x1ff5da['flags']|=this['computeVisibleRanges'](_0x1ff5da['changes']),_0x43e484&&(this['scrollTarget']=_0x43e484),!this['mustEnforceCursorAssoc']&&_0x1ff5da['selectionSet']&&_0x1ff5da['view']['lineWrapping']&&_0x1ff5da['state']['selection']['main']['empty']&&_0x1ff5da['state']['selection']['main']['assoc']&&!_0x1ff5da['state']['facet'](nativeSelectionHidden)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](_0x37e2eb){let _0x135606=_0x37e2eb['contentDOM'],_0x3992e=window['getComputedStyle'](_0x135606),_0x582acf=this['heightOracle'],_0x3b71c0=_0x3992e['whiteSpace'];this['defaultTextDirection']='rtl'==_0x3992e['direction']?Direction['RTL']:Direction['LTR'];let _0xec916e=this['heightOracle']['mustRefreshForWrapping'](_0x3b71c0),_0x8104ea=_0x135606['getBoundingClientRect'](),_0x340b94=_0xec916e||this['mustMeasureContent']||this['contentDOMHeight']!=_0x8104ea['height'];this['contentDOMHeight']=_0x8104ea['height'],this['mustMeasureContent']=!0x1;let _0x45e563=0x0,_0x5d0c83=0x0;if(_0x8104ea['width']&&_0x8104ea['height']){let {scaleX:_0x47f3d1,scaleY:_0x4b6d31}=getScale(_0x135606,_0x8104ea);(_0x47f3d1>0.005&&Math['abs'](this['scaleX']-_0x47f3d1)>0.005||_0x4b6d31>0.005&&Math['abs'](this['scaleY']-_0x4b6d31)>0.005)&&(this['scaleX']=_0x47f3d1,this['scaleY']=_0x4b6d31,_0x45e563|=0x10,_0xec916e=_0x340b94=!0x0);}let _0x134d1b=(parseInt(_0x3992e['paddingTop'])||0x0)*this['scaleY'],_0x23584e=(parseInt(_0x3992e['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x134d1b&&this['paddingBottom']==_0x23584e||(this['paddingTop']=_0x134d1b,this['paddingBottom']=_0x23584e,_0x45e563|=0x12),this['editorWidth']!=_0x37e2eb['scrollDOM']['clientWidth']&&(_0x582acf['lineWrapping']&&(_0x340b94=!0x0),this['editorWidth']=_0x37e2eb['scrollDOM']['clientWidth'],_0x45e563|=0x10);let _0x3a5ff4=_0x37e2eb['scrollDOM']['scrollTop']*this['scaleY'];this['scrollTop']!=_0x3a5ff4&&(this['scrollAnchorHeight']=-0x1,this['scrollTop']=_0x3a5ff4),this['scrolledToBottom']=isScrolledToBottom(_0x37e2eb['scrollDOM']);let _0x223797=(this['printing']?_0x23e1e7:_0x2f3eb8)(_0x135606,this['paddingTop']),_0x5f5320=_0x223797['top']-this['pixelViewport']['top'],_0x48f8d3=_0x223797['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x223797;let _0x1bebf2=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x1bebf2!=this['inView']&&(this['inView']=_0x1bebf2,_0x1bebf2&&(_0x340b94=!0x0)),!this['inView']&&!this['scrollTarget']&&!_0x576c12(_0x37e2eb['dom']))return 0x0;let _0x342c94=_0x8104ea['width'];if(this['contentDOMWidth']==_0x342c94&&this['editorHeight']==_0x37e2eb['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0x8104ea['width'],this['editorHeight']=_0x37e2eb['scrollDOM']['clientHeight'],_0x45e563|=0x10),_0x340b94){let _0x5f29dd=_0x37e2eb['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x582acf['mustRefreshForHeights'](_0x5f29dd)&&(_0xec916e=!0x0),_0xec916e||_0x582acf['lineWrapping']&&Math['abs'](_0x342c94-this['contentDOMWidth'])>_0x582acf['charWidth']){let {lineHeight:_0x2cc1aa,charWidth:_0x56baf0,textHeight:_0x327fba}=_0x37e2eb['docView']['measureTextSize']();_0xec916e=_0x2cc1aa>0x0&&_0x582acf['refresh'](_0x3b71c0,_0x2cc1aa,_0x56baf0,_0x327fba,Math['max'](0x5,_0x342c94/_0x56baf0),_0x5f29dd),_0xec916e&&(_0x37e2eb['docView']['minWidth']=0x0,_0x45e563|=0x10);}_0x5f5320>0x0&&_0x48f8d3>0x0?_0x5d0c83=Math['max'](_0x5f5320,_0x48f8d3):_0x5f5320<0x0&&_0x48f8d3<0x0&&(_0x5d0c83=Math['min'](_0x5f5320,_0x48f8d3)),clearHeightChangeFlag();for(let _0x25aa01 of this['viewports']){let _0x565f58=_0x25aa01['from']==this['viewport']['from']?_0x5f29dd:_0x37e2eb['docView']['measureVisibleLineHeights'](_0x25aa01);this['heightMap']=(_0xec916e?HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle'],[new _0xc71755(0x0,0x0,0x0,_0x37e2eb['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x582acf,0x0,_0xec916e,new MeasuredHeights(_0x25aa01['from'],_0x565f58));}heightChangeFlag&&(_0x45e563|=0x2);}let _0x23fc86=!this['viewportIsAppropriate'](this['viewport'],_0x5d0c83)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x23fc86&&(0x2&_0x45e563&&(_0x45e563|=this['updateScaler']()),this['viewport']=this['getViewport'](_0x5d0c83,this['scrollTarget']),_0x45e563|=this['updateForViewport']()),(0x2&_0x45e563||_0x23fc86)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0xec916e?[]:this['lineGaps'],_0x37e2eb)),_0x45e563|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x37e2eb['docView']['enforceCursorAssoc']()),_0x45e563;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0x1adfb6,_0x24a5f5){let _0xb19389=0.5-Math['max'](-0.5,Math['min'](0.5,_0x1adfb6/0x3e8/0x2)),_0x40ba54=this['heightMap'],_0x30938c=this['heightOracle'],{visibleTop:_0x806c4,visibleBottom:_0x1e34db}=this,_0xf99ca6=new Viewport(_0x40ba54['lineAt'](_0x806c4-0x3e8*_0xb19389,_0x31a659['ByHeight'],_0x30938c,0x0,0x0)['from'],_0x40ba54['lineAt'](_0x1e34db+0x3e8*(0x1-_0xb19389),_0x31a659['ByHeight'],_0x30938c,0x0,0x0)['to']);if(_0x24a5f5){let {head:_0x3ba876}=_0x24a5f5['range'];if(_0x3ba876<_0xf99ca6['from']||_0x3ba876>_0xf99ca6['to']){let _0x3740a5,_0x1be042=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x12ef4f=_0x40ba54['lineAt'](_0x3ba876,_0x31a659['ByPos'],_0x30938c,0x0,0x0);_0x3740a5='center'==_0x24a5f5['y']?(_0x12ef4f['top']+_0x12ef4f['bottom'])/0x2-_0x1be042/0x2:'start'==_0x24a5f5['y']||'nearest'==_0x24a5f5['y']&&_0x3ba876<_0xf99ca6['from']?_0x12ef4f['top']:_0x12ef4f['bottom']-_0x1be042,_0xf99ca6=new Viewport(_0x40ba54['lineAt'](_0x3740a5-0x1f4,_0x31a659['ByHeight'],_0x30938c,0x0,0x0)['from'],_0x40ba54['lineAt'](_0x3740a5+_0x1be042+0x1f4,_0x31a659['ByHeight'],_0x30938c,0x0,0x0)['to']);}}return _0xf99ca6;}['mapViewport'](_0x4fe6,_0xc09f22){let _0x1e6869=_0xc09f22['mapPos'](_0x4fe6['from'],-0x1),_0x5c0b61=_0xc09f22['mapPos'](_0x4fe6['to'],0x1);return new Viewport(this['heightMap']['lineAt'](_0x1e6869,_0x31a659['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0x5c0b61,_0x31a659['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0xf0e603,to:_0xde349c},_0xb89ef4=0x0){if(!this['inView'])return!0x0;let {top:_0x14349}=this['heightMap']['lineAt'](_0xf0e603,_0x31a659['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x54da96}=this['heightMap']['lineAt'](_0xde349c,_0x31a659['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x18d159,visibleBottom:_0x20276c}=this;return(0x0==_0xf0e603||_0x14349<=_0x18d159-Math['max'](0xa,Math['min'](-_0xb89ef4,0xfa)))&&(_0xde349c==this['state']['doc']['length']||_0x54da96>=_0x20276c+Math['max'](0xa,Math['min'](_0xb89ef4,0xfa)))&&_0x14349>_0x18d159-0x7d0&&_0x54da96<_0x20276c+0x7d0;}['mapLineGaps'](_0x370852,_0x66a0b5){if(!_0x370852['length']||_0x66a0b5['empty'])return _0x370852;let _0x15f0d2=[];for(let _0x218a6c of _0x370852)_0x66a0b5['touchesRange'](_0x218a6c['from'],_0x218a6c['to'])||_0x15f0d2['push'](new _0x53b426(_0x66a0b5['mapPos'](_0x218a6c['from']),_0x66a0b5['mapPos'](_0x218a6c['to']),_0x218a6c['size'],_0x218a6c['displaySize']));return _0x15f0d2;}['ensureLineGaps'](_0x300862,_0x488538){let _0x423a6a=this['heightOracle']['lineWrapping'],_0x4fdd1f=_0x423a6a?0x2710:0x7d0,_0x2f5778=_0x4fdd1f>>0x1,_0x44a62a=_0x4fdd1f<<0x1;if(this['defaultTextDirection']!=Direction['LTR']&&!_0x423a6a)return[];let _0x34aeed=[],_0x1e139c=(_0x5da018,_0x2d5f7b,_0xfff045,_0x4d991c)=>{if(_0x2d5f7b-_0x5da018<_0x2f5778)return;let _0x579658=this['state']['selection']['main'],_0x588abc=[_0x579658['from']];_0x579658['empty']||_0x588abc['push'](_0x579658['to']);for(let _0x4d3a65 of _0x588abc)if(_0x4d3a65>_0x5da018&&_0x4d3a65<_0x2d5f7b)return _0x1e139c(_0x5da018,_0x4d3a65-0xa,_0xfff045,_0x4d991c),void _0x1e139c(_0x4d3a65+0xa,_0x2d5f7b,_0xfff045,_0x4d991c);let _0x134385=_0x3bfd5c(_0x300862,_0x21cdf5=>_0x21cdf5['from']>=_0xfff045['from']&&_0x21cdf5['to']<=_0xfff045['to']&&Math['abs'](_0x21cdf5['from']-_0x5da018)<_0x2f5778&&Math['abs'](_0x21cdf5['to']-_0x2d5f7b)<_0x2f5778&&!_0x588abc['some'](_0x4e5a1b=>_0x21cdf5['from']<_0x4e5a1b&&_0x21cdf5['to']>_0x4e5a1b));if(!_0x134385){if(_0x2d5f7b<_0xfff045['to']&&_0x488538&&_0x423a6a&&_0x488538['visibleRanges']['some'](_0x37852f=>_0x37852f['from']<=_0x2d5f7b&&_0x37852f['to']>=_0x2d5f7b)){let _0x22cb2f=_0x488538['moveToLineBoundary'](EditorSelection['cursor'](_0x2d5f7b),!0x1,!0x0)['head'];_0x22cb2f>_0x5da018&&(_0x2d5f7b=_0x22cb2f);}let _0x444db5=this['gapSize'](_0xfff045,_0x5da018,_0x2d5f7b,_0x4d991c);_0x134385=new _0x53b426(_0x5da018,_0x2d5f7b,_0x444db5,_0x423a6a||_0x444db5<0x1e8480?_0x444db5:0x1e8480);}_0x34aeed['push'](_0x134385);},_0xceb85d=_0x3dabbd=>{if(_0x3dabbd['length']<_0x44a62a||_0x3dabbd['type']!=_0x5841fb['Text'])return;let _0x1eb242=lineStructure(_0x3dabbd['from'],_0x3dabbd['to'],this['stateDeco']);if(_0x1eb242['total']<_0x44a62a)return;let _0x4bdc4b,_0xa2e5e2,_0x3e5ed7=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0x423a6a){let _0x49a7f6,_0x395c72,_0xcd80a8=_0x4fdd1f/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x3e5ed7){let _0x572ea3=findFraction(_0x1eb242,_0x3e5ed7),_0x2cdd34=((this['visibleBottom']-this['visibleTop'])/0x2+_0xcd80a8)/_0x3dabbd['height'];_0x49a7f6=_0x572ea3-_0x2cdd34,_0x395c72=_0x572ea3+_0x2cdd34;}else _0x49a7f6=(this['visibleTop']-_0x3dabbd['top']-_0xcd80a8)/_0x3dabbd['height'],_0x395c72=(this['visibleBottom']-_0x3dabbd['top']+_0xcd80a8)/_0x3dabbd['height'];_0x4bdc4b=findPosition(_0x1eb242,_0x49a7f6),_0xa2e5e2=findPosition(_0x1eb242,_0x395c72);}else{let _0x5ef6c2=_0x1eb242['total']*this['heightOracle']['charWidth'],_0x44c25f=_0x4fdd1f*this['heightOracle']['charWidth'],_0x46cd48=0x0;if(_0x5ef6c2>0x1e8480){for(let _0x278009 of _0x300862)_0x278009['from']>=_0x3dabbd['from']&&_0x278009['from']<_0x3dabbd['to']&&_0x278009['size']!=_0x278009['displaySize']&&_0x278009['from']*this['heightOracle']['charWidth']+_0x46cd48<this['pixelViewport']['left']&&(_0x46cd48=_0x278009['size']-_0x278009['displaySize']);}let _0x5ca746,_0x79aa82,_0x4611dd=this['pixelViewport']['left']+_0x46cd48,_0x4f1244=this['pixelViewport']['right']+_0x46cd48;if(null!=_0x3e5ed7){let _0x553e29=findFraction(_0x1eb242,_0x3e5ed7),_0x506f67=((_0x4f1244-_0x4611dd)/0x2+_0x44c25f)/_0x5ef6c2;_0x5ca746=_0x553e29-_0x506f67,_0x79aa82=_0x553e29+_0x506f67;}else _0x5ca746=(_0x4611dd-_0x44c25f)/_0x5ef6c2,_0x79aa82=(_0x4f1244+_0x44c25f)/_0x5ef6c2;_0x4bdc4b=findPosition(_0x1eb242,_0x5ca746),_0xa2e5e2=findPosition(_0x1eb242,_0x79aa82);}_0x4bdc4b>_0x3dabbd['from']&&_0x1e139c(_0x3dabbd['from'],_0x4bdc4b,_0x3dabbd,_0x1eb242),_0xa2e5e2<_0x3dabbd['to']&&_0x1e139c(_0xa2e5e2,_0x3dabbd['to'],_0x3dabbd,_0x1eb242);};for(let _0x3eb313 of this['viewportLines'])Array['isArray'](_0x3eb313['type'])?_0x3eb313['type']['forEach'](_0xceb85d):_0xceb85d(_0x3eb313);return _0x34aeed;}['gapSize'](_0x37913a,_0x37d956,_0x15d146,_0x2274f9){let _0x522645=findFraction(_0x2274f9,_0x15d146)-findFraction(_0x2274f9,_0x37d956);return this['heightOracle']['lineWrapping']?_0x37913a['height']*_0x522645:_0x2274f9['total']*this['heightOracle']['charWidth']*_0x522645;}['updateLineGaps'](_0x19cbab){_0x53b426['same'](_0x19cbab,this['lineGaps'])||(this['lineGaps']=_0x19cbab,this['lineGapDeco']=Decoration['set'](_0x19cbab['map'](_0x3ce129=>_0x3ce129['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0x59cd02){let _0x2a0652=this['stateDeco'];this['lineGaps']['length']&&(_0x2a0652=_0x2a0652['concat'](this['lineGapDeco']));let _0x5bb453=[];RangeSet['spans'](_0x2a0652,this['viewport']['from'],this['viewport']['to'],{'span'(_0x28e630,_0x8c05ed){_0x5bb453['push']({'from':_0x28e630,'to':_0x8c05ed});},'point'(){}},0x14);let _0x2240c2=0x0;if(_0x5bb453['length']!=this['visibleRanges']['length'])_0x2240c2=0xc;else for(let _0x1979df=0x0;_0x1979df<_0x5bb453['length']&&!(0x8&_0x2240c2);_0x1979df++){let _0x50cf50=this['visibleRanges'][_0x1979df],_0x14469c=_0x5bb453[_0x1979df];_0x50cf50['from']==_0x14469c['from']&&_0x50cf50['to']==_0x14469c['to']||(_0x2240c2|=0x4,_0x59cd02&&_0x59cd02['mapPos'](_0x50cf50['from'],-0x1)==_0x14469c['from']&&_0x59cd02['mapPos'](_0x50cf50['to'],0x1)==_0x14469c['to']||(_0x2240c2|=0x8));}return this['visibleRanges']=_0x5bb453,_0x2240c2;}['lineBlockAt'](_0x3d3bd0){return _0x3d3bd0>=this['viewport']['from']&&_0x3d3bd0<=this['viewport']['to']&&this['viewportLines']['find'](_0x344763=>_0x344763['from']<=_0x3d3bd0&&_0x344763['to']>=_0x3d3bd0)||_0x325b0c(this['heightMap']['lineAt'](_0x3d3bd0,_0x31a659['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x3b9c2e){return _0x3b9c2e>=this['viewportLines'][0x0]['top']&&_0x3b9c2e<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0x45e319=>_0x45e319['top']<=_0x3b9c2e&&_0x45e319['bottom']>=_0x3b9c2e)||_0x325b0c(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x3b9c2e),_0x31a659['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['scrollAnchorAt'](_0x184bfb){let _0x59bf93=this['lineBlockAtHeight'](_0x184bfb+0x8);return _0x59bf93['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x184bfb>0xc8?_0x59bf93:this['viewportLines'][0x0];}['elementAtHeight'](_0x561357){return _0x325b0c(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x561357),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(_0x13592c,_0x163a12){this['from']=_0x13592c,this['to']=_0x163a12;}}function lineStructure(_0x4bc413,_0x4c5bb7,_0x5e586a){let _0x54a5cb=[],_0x4d4c61=_0x4bc413,_0x560db7=0x0;return RangeSet['spans'](_0x5e586a,_0x4bc413,_0x4c5bb7,{'span'(){},'point'(_0x4143ff,_0x2d9a45){_0x4143ff>_0x4d4c61&&(_0x54a5cb['push']({'from':_0x4d4c61,'to':_0x4143ff}),_0x560db7+=_0x4143ff-_0x4d4c61),_0x4d4c61=_0x2d9a45;}},0x14),_0x4d4c61<_0x4c5bb7&&(_0x54a5cb['push']({'from':_0x4d4c61,'to':_0x4c5bb7}),_0x560db7+=_0x4c5bb7-_0x4d4c61),{'total':_0x560db7,'ranges':_0x54a5cb};}function findPosition({total:_0x375624,ranges:_0x4ed516},_0x23d431){if(_0x23d431<=0x0)return _0x4ed516[0x0]['from'];if(_0x23d431>=0x1)return _0x4ed516[_0x4ed516['length']-0x1]['to'];let _0x3cae5f=Math['floor'](_0x375624*_0x23d431);for(let _0x4af6d8=0x0;;_0x4af6d8++){let {from:_0x1d8bef,to:_0x258a6c}=_0x4ed516[_0x4af6d8],_0x1474ea=_0x258a6c-_0x1d8bef;if(_0x3cae5f<=_0x1474ea)return _0x1d8bef+_0x3cae5f;_0x3cae5f-=_0x1474ea;}}function findFraction(_0x5bb681,_0x2f4986){let _0x2ace4b=0x0;for(let {from:_0x490e12,to:_0x327b1a}of _0x5bb681['ranges']){if(_0x2f4986<=_0x327b1a){_0x2ace4b+=_0x2f4986-_0x490e12;break;}_0x2ace4b+=_0x327b1a-_0x490e12;}return _0x2ace4b/_0x5bb681['total'];}function _0x3bfd5c(_0x2cdf91,_0x3bdf2f){for(let _0x390ae0 of _0x2cdf91)if(_0x3bdf2f(_0x390ae0))return _0x390ae0;}const _0x201c29={'toDOM':_0x33acfe=>_0x33acfe,'fromDOM':_0x3ee1de=>_0x3ee1de,'scale':0x1,'eq'(_0x25db3a){return _0x25db3a==this;}};class _0x3f6fa0{constructor(_0x2b3f55,_0x7c46d4,_0x3ea27d){let _0x1487ca=0x0,_0x1dec73=0x0,_0x16b8dc=0x0;this['viewports']=_0x3ea27d['map'](({from:_0x2c2a4d,to:_0x3c4fda})=>{let _0x337203=_0x7c46d4['lineAt'](_0x2c2a4d,_0x31a659['ByPos'],_0x2b3f55,0x0,0x0)['top'],_0xfda0d8=_0x7c46d4['lineAt'](_0x3c4fda,_0x31a659['ByPos'],_0x2b3f55,0x0,0x0)['bottom'];return _0x1487ca+=_0xfda0d8-_0x337203,{'from':_0x2c2a4d,'to':_0x3c4fda,'top':_0x337203,'bottom':_0xfda0d8,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x1487ca)/(_0x7c46d4['height']-_0x1487ca);for(let _0x1f8c0f of this['viewports'])_0x1f8c0f['domTop']=_0x16b8dc+(_0x1f8c0f['top']-_0x1dec73)*this['scale'],_0x16b8dc=_0x1f8c0f['domBottom']=_0x1f8c0f['domTop']+(_0x1f8c0f['bottom']-_0x1f8c0f['top']),_0x1dec73=_0x1f8c0f['bottom'];}['toDOM'](_0x4c5ef5){for(let _0x3fb924=0x0,_0x46d81c=0x0,_0x16dad8=0x0;;_0x3fb924++){let _0x43f125=_0x3fb924<this['viewports']['length']?this['viewports'][_0x3fb924]:null;if(!_0x43f125||_0x4c5ef5<_0x43f125['top'])return _0x16dad8+(_0x4c5ef5-_0x46d81c)*this['scale'];if(_0x4c5ef5<=_0x43f125['bottom'])return _0x43f125['domTop']+(_0x4c5ef5-_0x43f125['top']);_0x46d81c=_0x43f125['bottom'],_0x16dad8=_0x43f125['domBottom'];}}['fromDOM'](_0x73e85e){for(let _0x2e921a=0x0,_0x5a2abe=0x0,_0x21dc30=0x0;;_0x2e921a++){let _0x252f43=_0x2e921a<this['viewports']['length']?this['viewports'][_0x2e921a]:null;if(!_0x252f43||_0x73e85e<_0x252f43['domTop'])return _0x5a2abe+(_0x73e85e-_0x21dc30)/this['scale'];if(_0x73e85e<=_0x252f43['domBottom'])return _0x252f43['top']+(_0x73e85e-_0x252f43['domTop']);_0x5a2abe=_0x252f43['bottom'],_0x21dc30=_0x252f43['domBottom'];}}['eq'](_0x26c79a){return _0x26c79a instanceof _0x3f6fa0&&(this['scale']==_0x26c79a['scale']&&this['viewports']['length']==_0x26c79a['viewports']['length']&&this['viewports']['every']((_0x1974ac,_0x3431fe)=>_0x1974ac['from']==_0x26c79a['viewports'][_0x3431fe]['from']&&_0x1974ac['to']==_0x26c79a['viewports'][_0x3431fe]['to']));}}function _0x325b0c(_0x230b5d,_0x433362){if(0x1==_0x433362['scale'])return _0x230b5d;let _0x3cbd65=_0x433362['toDOM'](_0x230b5d['top']),_0x223e96=_0x433362['toDOM'](_0x230b5d['bottom']);return new _0x18b030(_0x230b5d['from'],_0x230b5d['length'],_0x3cbd65,_0x223e96-_0x3cbd65,Array['isArray'](_0x230b5d['_content'])?_0x230b5d['_content']['map'](_0x1df823=>_0x325b0c(_0x1df823,_0x433362)):_0x230b5d['_content']);}const theme=Facet['define']({'combine':_0xffc0c3=>_0xffc0c3['join']('\x20')}),_0x5a940b=Facet['define']({'combine':_0x59ff4f=>_0x59ff4f['indexOf'](!0x0)>-0x1}),_0x2dab32=StyleModule['newName'](),baseLightID=StyleModule['newName'](),_0x7b568b=StyleModule['newName'](),lightDarkIDs={'&light':'.'+baseLightID,'&dark':'.'+_0x7b568b};function _0x311def(_0x35a857,_0x238602,_0x223695){return new StyleModule(_0x238602,{'finish':_0x2bc024=>/&/['test'](_0x2bc024)?_0x2bc024['replace'](/&\w*/,_0x2ec1f9=>{if('&'==_0x2ec1f9)return _0x35a857;if(!_0x223695||!_0x223695[_0x2ec1f9])throw new RangeError('Unsupported\x20selector:\x20'+_0x2ec1f9);return _0x223695[_0x2ec1f9];}):_0x35a857+'\x20'+_0x2bc024});}const _0x551a45=_0x311def('.'+_0x2dab32,{'&':{'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=_0x4ac4fc['ie']&&_0x4ac4fc['ie_version']<=0xb;class _0x2837ee{constructor(_0x1efb07){this['view']=_0x1efb07,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']=_0x1efb07['contentDOM'],this['observer']=new MutationObserver(_0x7610e7=>{for(let _0x48f979 of _0x7610e7)this['queue']['push'](_0x48f979);(_0x4ac4fc['ie']&&_0x4ac4fc['ie_version']<=0xb||_0x4ac4fc['ios']&&_0x1efb07['composing'])&&_0x7610e7['some'](_0x3ccdd4=>'childList'==_0x3ccdd4['type']&&_0x3ccdd4['removedNodes']['length']||'characterData'==_0x3ccdd4['type']&&_0x3ccdd4['oldValue']['length']>_0x3ccdd4['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!_0x4ac4fc['android']||!0x1===_0x1efb07['constructor']['EDIT_CONTEXT']||_0x4ac4fc['chrome']&&_0x4ac4fc['chrome_version']<0x7e||(this['editContext']=new EditContextManager(_0x1efb07),_0x1efb07['state']['facet'](editable)&&(_0x1efb07['contentDOM']['editContext']=this['editContext']['editContext'])),useCharData&&(this['onCharData']=_0x449694=>{this['queue']['push']({'target':_0x449694['target'],'type':'characterData','oldValue':_0x449694['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 _0x42cfc5;(null===(_0x42cfc5=this['view']['docView'])||void 0x0===_0x42cfc5?void 0x0:_0x42cfc5['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0x1efb07['scrollDOM'])),this['addWindowListeners'](this['win']=_0x1efb07['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x1f5f6a=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x1f5f6a['length']>0x0&&_0x1f5f6a[_0x1f5f6a['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(_0x204bbc=>{_0x204bbc['length']>0x0&&_0x204bbc[_0x204bbc['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x2dc1c4){this['view']['inputState']['runHandlers']('scroll',_0x2dc1c4),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x2b8bdc){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x2b8bdc);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0x51832a){('change'!=_0x51832a['type']&&_0x51832a['type']||_0x51832a['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0x52e624){if(this['gapIntersection']&&(_0x52e624['length']!=this['gaps']['length']||this['gaps']['some']((_0x7e92e0,_0x317757)=>_0x7e92e0!=_0x52e624[_0x317757]))){this['gapIntersection']['disconnect']();for(let _0x492ec2 of _0x52e624)this['gapIntersection']['observe'](_0x492ec2);this['gaps']=_0x52e624;}}['onSelectionChange'](_0x399a98){let _0x307755=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x695009}=this,_0x15043b=this['selectionRange'];if(_0x695009['state']['facet'](editable)?_0x695009['root']['activeElement']!=this['dom']:!hasSelection(this['dom'],_0x15043b))return;let _0x5a3d0f=_0x15043b['anchorNode']&&_0x695009['docView']['nearest'](_0x15043b['anchorNode']);_0x5a3d0f&&_0x5a3d0f['ignoreEvent'](_0x399a98)?_0x307755||(this['selectionChanged']=!0x1):(_0x4ac4fc['ie']&&_0x4ac4fc['ie_version']<=0xb||_0x4ac4fc['android']&&_0x4ac4fc['chrome'])&&!_0x695009['state']['selection']['main']['empty']&&_0x15043b['focusNode']&&isEquivalentPosition(_0x15043b['focusNode'],_0x15043b['focusOffset'],_0x15043b['anchorNode'],_0x15043b['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x416a42}=this,_0x48e2ac=getSelection(_0x416a42['root']);if(!_0x48e2ac)return!0x1;let _0x2699b2=_0x4ac4fc['safari']&&0xb==_0x416a42['root']['nodeType']&&_0x416a42['root']['activeElement']==this['dom']&&safariSelectionRangeHack(this['view'],_0x48e2ac)||_0x48e2ac;if(!_0x2699b2||this['selectionRange']['eq'](_0x2699b2))return!0x1;let _0x4937bf=hasSelection(this['dom'],_0x2699b2);return _0x4937bf&&!this['selectionChanged']&&_0x416a42['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x416a42['inputState']['lastTouchTime']<Date['now']()-0x12c&&atElementStart(this['dom'],_0x2699b2)?(this['view']['inputState']['lastFocusTime']=0x0,_0x416a42['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x2699b2),_0x4937bf&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0xddd8e,_0x33981f){this['selectionRange']['set'](_0xddd8e['node'],_0xddd8e['offset'],_0x33981f['node'],_0x33981f['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0xfcfe21=0x0,_0x150608=null;for(let _0x2dfc8c=this['dom'];_0x2dfc8c;)if(0x1==_0x2dfc8c['nodeType'])!_0x150608&&_0xfcfe21<this['scrollTargets']['length']&&this['scrollTargets'][_0xfcfe21]==_0x2dfc8c?_0xfcfe21++:_0x150608||(_0x150608=this['scrollTargets']['slice'](0x0,_0xfcfe21)),_0x150608&&_0x150608['push'](_0x2dfc8c),_0x2dfc8c=_0x2dfc8c['assignedSlot']||_0x2dfc8c['parentNode'];else{if(0xb!=_0x2dfc8c['nodeType'])break;_0x2dfc8c=_0x2dfc8c['host'];}if(_0xfcfe21<this['scrollTargets']['length']&&!_0x150608&&(_0x150608=this['scrollTargets']['slice'](0x0,_0xfcfe21)),_0x150608){for(let _0x722014 of this['scrollTargets'])_0x722014['removeEventListener']('scroll',this['onScroll']);for(let _0x9a736f of this['scrollTargets']=_0x150608)_0x9a736f['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x18a9af){if(!this['active'])return _0x18a9af();try{return this['stop'](),_0x18a9af();}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'](_0x4ecf69,_0x291348){var _0x2082b5;if(!this['delayedAndroidKey']){let _0x86c73e=()=>{let _0x21b771=this['delayedAndroidKey'];_0x21b771&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x21b771['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x21b771['force']&&dispatchKey(this['dom'],_0x21b771['key'],_0x21b771['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0x86c73e);}this['delayedAndroidKey']&&'Enter'!=_0x4ecf69||(this['delayedAndroidKey']={'key':_0x4ecf69,'keyCode':_0x291348,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x2082b5=this['delayedAndroidKey'])||void 0x0===_0x2082b5?void 0x0:_0x2082b5['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 _0x37d10e of this['observer']['takeRecords']())this['queue']['push'](_0x37d10e);return this['queue'];}['processRecords'](){let _0x153932=this['pendingRecords']();_0x153932['length']&&(this['queue']=[]);let _0x385aa8=-0x1,_0x4a93ef=-0x1,_0x39e77a=!0x1;for(let _0xf15ab0 of _0x153932){let _0x3898df=this['readMutation'](_0xf15ab0);_0x3898df&&(_0x3898df['typeOver']&&(_0x39e77a=!0x0),-0x1==_0x385aa8?{from:_0x385aa8,to:_0x4a93ef}=_0x3898df:(_0x385aa8=Math['min'](_0x3898df['from'],_0x385aa8),_0x4a93ef=Math['max'](_0x3898df['to'],_0x4a93ef)));}return{'from':_0x385aa8,'to':_0x4a93ef,'typeOver':_0x39e77a};}['readChange'](){let {from:_0x9328cf,to:_0x44faf4,typeOver:_0x18059d}=this['processRecords'](),_0x2126e5=this['selectionChanged']&&hasSelection(this['dom'],this['selectionRange']);if(_0x9328cf<0x0&&!_0x2126e5)return null;_0x9328cf>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x225379=new _0x2fb191(this['view'],_0x9328cf,_0x44faf4,_0x18059d);return this['view']['docView']['domChanged']={'newSel':_0x225379['newSel']?_0x225379['newSel']['main']:null},_0x225379;}['flush'](_0x4be511=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0x4be511&&this['readSelectionRange']();let _0x5bf9fc=this['readChange']();if(!_0x5bf9fc)return this['view']['requestMeasure'](),!0x1;let _0x4b54b0=this['view']['state'],_0x30b2bf=_0x926745(this['view'],_0x5bf9fc);return this['view']['state']==_0x4b54b0&&(_0x5bf9fc['domChanged']||_0x5bf9fc['newSel']&&!_0x5bf9fc['newSel']['main']['eq'](this['view']['state']['selection']['main']))&&this['view']['update']([]),_0x30b2bf;}['readMutation'](_0x1b1196){let _0x295128=this['view']['docView']['nearest'](_0x1b1196['target']);if(!_0x295128||_0x295128['ignoreMutation'](_0x1b1196))return null;if(_0x295128['markDirty']('attributes'==_0x1b1196['type']),'attributes'==_0x1b1196['type']&&(_0x295128['flags']|=0x4),'childList'==_0x1b1196['type']){let _0xce7f29=_0x252f21(_0x295128,_0x1b1196['previousSibling']||_0x1b1196['target']['previousSibling'],-0x1),_0x116876=_0x252f21(_0x295128,_0x1b1196['nextSibling']||_0x1b1196['target']['nextSibling'],0x1);return{'from':_0xce7f29?_0x295128['posAfter'](_0xce7f29):_0x295128['posAtStart'],'to':_0x116876?_0x295128['posBefore'](_0x116876):_0x295128['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x1b1196['type']?{'from':_0x295128['posAtStart'],'to':_0x295128['posAtEnd'],'typeOver':_0x1b1196['target']['nodeValue']==_0x1b1196['oldValue']}:null;}['setWindow'](_0x486351){_0x486351!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x486351,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0xc96e9e){_0xc96e9e['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0xc96e9e['addEventListener']('beforeprint',this['onPrint']),_0xc96e9e['addEventListener']('scroll',this['onScroll']),_0xc96e9e['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x1372cf){_0x1372cf['removeEventListener']('scroll',this['onScroll']),_0x1372cf['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x1372cf['removeEventListener']('beforeprint',this['onPrint']),_0x1372cf['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0x2c768e){this['editContext']&&(this['editContext']['update'](_0x2c768e),_0x2c768e['startState']['facet'](editable)!=_0x2c768e['state']['facet'](editable)&&(_0x2c768e['view']['contentDOM']['editContext']=_0x2c768e['state']['facet'](editable)?this['editContext']['editContext']:null));}['destroy'](){var _0x4baed0,_0x91ffc,_0x468176;this['stop'](),null===(_0x4baed0=this['intersection'])||void 0x0===_0x4baed0||_0x4baed0['disconnect'](),null===(_0x91ffc=this['gapIntersection'])||void 0x0===_0x91ffc||_0x91ffc['disconnect'](),null===(_0x468176=this['resizeScroll'])||void 0x0===_0x468176||_0x468176['disconnect']();for(let _0x2de475 of this['scrollTargets'])_0x2de475['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 _0x252f21(_0x5d8290,_0x292f88,_0x297330){for(;_0x292f88;){let _0x3d3852=ContentView['get'](_0x292f88);if(_0x3d3852&&_0x3d3852['parent']==_0x5d8290)return _0x3d3852;let _0x1f219b=_0x292f88['parentNode'];_0x292f88=_0x1f219b!=_0x5d8290['dom']?_0x1f219b:_0x297330>0x0?_0x292f88['nextSibling']:_0x292f88['previousSibling'];}return null;}function buildSelectionRangeFromRange(_0x18d418,_0x526149){let _0x1fa604=_0x526149['startContainer'],_0x32f2c3=_0x526149['startOffset'],_0x4dce79=_0x526149['endContainer'],_0x29f701=_0x526149['endOffset'],_0x4d8100=_0x18d418['docView']['domAtPos'](_0x18d418['state']['selection']['main']['anchor']);return isEquivalentPosition(_0x4d8100['node'],_0x4d8100['offset'],_0x4dce79,_0x29f701)&&([_0x1fa604,_0x32f2c3,_0x4dce79,_0x29f701]=[_0x4dce79,_0x29f701,_0x1fa604,_0x32f2c3]),{'anchorNode':_0x1fa604,'anchorOffset':_0x32f2c3,'focusNode':_0x4dce79,'focusOffset':_0x29f701};}function safariSelectionRangeHack(_0xd742b2,_0x1c354f){if(_0x1c354f['getComposedRanges']){let _0x299e5=_0x1c354f['getComposedRanges'](_0xd742b2['root'])[0x0];if(_0x299e5)return buildSelectionRangeFromRange(_0xd742b2,_0x299e5);}let _0x166e41=null;function _0x3751a3(_0x570be5){_0x570be5['preventDefault'](),_0x570be5['stopImmediatePropagation'](),_0x166e41=_0x570be5['getTargetRanges']()[0x0];}return _0xd742b2['contentDOM']['addEventListener']('beforeinput',_0x3751a3,!0x0),_0xd742b2['dom']['ownerDocument']['execCommand']('indent'),_0xd742b2['contentDOM']['removeEventListener']('beforeinput',_0x3751a3,!0x0),_0x166e41?buildSelectionRangeFromRange(_0xd742b2,_0x166e41):null;}class EditContextManager{constructor(_0x104710){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x104710['state']);let _0x184a8a=this['editContext']=new window['EditContext']({'text':_0x104710['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x104710['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x104710['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x379163=>{let _0x58296f=_0x104710['state']['selection']['main'],{anchor:_0x51a9b2,head:_0x4e747d}=_0x58296f,_0x4f3e5d=this['toEditorPos'](_0x379163['updateRangeStart']),_0x459ea1=this['toEditorPos'](_0x379163['updateRangeEnd']);_0x104710['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x379163['updateRangeStart'],'editorBase':_0x4f3e5d,'drifted':!0x1});let _0x344c42=_0x459ea1-_0x4f3e5d>_0x379163['text']['length'];_0x4f3e5d==this['from']&&_0x51a9b2<this['from']?_0x4f3e5d=_0x51a9b2:_0x459ea1==this['to']&&_0x51a9b2>this['to']&&(_0x459ea1=_0x51a9b2);let _0x1886b0=_0x4800d2(_0x104710['state']['sliceDoc'](_0x4f3e5d,_0x459ea1),_0x379163['text'],(_0x344c42?_0x58296f['from']:_0x58296f['to'])-_0x4f3e5d,_0x344c42?'end':null);if(!_0x1886b0){let _0x549d34=EditorSelection['single'](this['toEditorPos'](_0x379163['selectionStart']),this['toEditorPos'](_0x379163['selectionEnd']));return void(_0x549d34['main']['eq'](_0x58296f)||_0x104710['dispatch']({'selection':_0x549d34,'userEvent':'select'}));}let _0x504498={'from':_0x1886b0['from']+_0x4f3e5d,'to':_0x1886b0['toA']+_0x4f3e5d,'insert':Text['of'](_0x379163['text']['slice'](_0x1886b0['from'],_0x1886b0['toB'])['split']('\x0a'))};if((_0x4ac4fc['mac']||_0x4ac4fc['android'])&&_0x504498['from']==_0x4e747d-0x1&&/^\. ?$/['test'](_0x379163['text'])&&'off'==_0x104710['contentDOM']['getAttribute']('autocorrect')&&(_0x504498={'from':_0x4f3e5d,'to':_0x459ea1,'insert':Text['of']([_0x379163['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x504498,!_0x104710['state']['readOnly']){let _0x5a6fa2=this['to']-this['from']+(_0x504498['to']-_0x504498['from']+_0x504498['insert']['length']);_0x577cc0(_0x104710,_0x504498,EditorSelection['single'](this['toEditorPos'](_0x379163['selectionStart'],_0x5a6fa2),this['toEditorPos'](_0x379163['selectionEnd'],_0x5a6fa2)));}this['pendingContextChange']&&(this['revertPending'](_0x104710['state']),this['setSelection'](_0x104710['state'])),_0x504498['from']<_0x504498['to']&&!_0x504498['insert']['length']&&_0x104710['inputState']['composing']>=0x0&&!/[\\p{Alphabetic}\\p{Number}_]/['test'](_0x184a8a['text']['slice'](Math['max'](0x0,_0x379163['updateRangeStart']-0x1),Math['min'](_0x184a8a['text']['length'],_0x379163['updateRangeStart']+0x1)))&&this['handlers']['compositionend'](_0x379163);},this['handlers']['characterboundsupdate']=_0x3f86a9=>{let _0xd9f1e7=[],_0xa0bbf=null;for(let _0xbf8e17=this['toEditorPos'](_0x3f86a9['rangeStart']),_0x2a43c7=this['toEditorPos'](_0x3f86a9['rangeEnd']);_0xbf8e17<_0x2a43c7;_0xbf8e17++){let _0x54f938=_0x104710['coordsForChar'](_0xbf8e17);_0xa0bbf=_0x54f938&&new DOMRect(_0x54f938['left'],_0x54f938['top'],_0x54f938['right']-_0x54f938['left'],_0x54f938['bottom']-_0x54f938['top'])||_0xa0bbf||new DOMRect(),_0xd9f1e7['push'](_0xa0bbf);}_0x184a8a['updateCharacterBounds'](_0x3f86a9['rangeStart'],_0xd9f1e7);},this['handlers']['textformatupdate']=_0x5878d8=>{let _0x906c44=[];for(let _0x42f25b of _0x5878d8['getTextFormats']()){let _0x12e159=_0x42f25b['underlineStyle'],_0x4a0179=_0x42f25b['underlineThickness'];if(!/none/i['test'](_0x12e159)&&!/none/i['test'](_0x4a0179)){let _0x281c21=this['toEditorPos'](_0x42f25b['rangeStart']),_0x29bba4=this['toEditorPos'](_0x42f25b['rangeEnd']);if(_0x281c21<_0x29bba4){let _0x50fb9f='text-decoration:\x20underline\x20'+(/^[a-z]/['test'](_0x12e159)?_0x12e159+'\x20':'Dashed'==_0x12e159?'dashed\x20':'Squiggle'==_0x12e159?'wavy\x20':'')+(/thin/i['test'](_0x4a0179)?0x1:0x2)+'px';_0x906c44['push'](Decoration['mark']({'attributes':{'style':_0x50fb9f}})['range'](_0x281c21,_0x29bba4));}}}_0x104710['dispatch']({'effects':setEditContextFormatting['of'](Decoration['set'](_0x906c44))});},this['handlers']['compositionstart']=()=>{_0x104710['inputState']['composing']<0x0&&(_0x104710['inputState']['composing']=0x0,_0x104710['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x104710['inputState']['composing']=-0x1,_0x104710['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0x529e91}=this['composing'];this['composing']=null,_0x529e91&&this['reset'](_0x104710['state']);}};for(let _0x23e13a in this['handlers'])_0x184a8a['addEventListener'](_0x23e13a,this['handlers'][_0x23e13a]);this['measureReq']={'read':_0x19a5db=>{this['editContext']['updateControlBounds'](_0x19a5db['contentDOM']['getBoundingClientRect']());let _0x316432=getSelection(_0x19a5db['root']);_0x316432&&_0x316432['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x316432['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0x543fc0){let _0x3bdbd0=0x0,_0x862471=!0x1,_0x4a8843=this['pendingContextChange'];return _0x543fc0['changes']['iterChanges']((_0x5bdd28,_0x14b1de,_0x14927f,_0xb52197,_0x22d81b)=>{if(_0x862471)return;let _0x1e5d76=_0x22d81b['length']-(_0x14b1de-_0x5bdd28);if(_0x4a8843&&_0x14b1de>=_0x4a8843['to']){if(_0x4a8843['from']==_0x5bdd28&&_0x4a8843['to']==_0x14b1de&&_0x4a8843['insert']['eq'](_0x22d81b))return _0x4a8843=this['pendingContextChange']=null,_0x3bdbd0+=_0x1e5d76,void(this['to']+=_0x1e5d76);_0x4a8843=null,this['revertPending'](_0x543fc0['state']);}if(_0x5bdd28+=_0x3bdbd0,(_0x14b1de+=_0x3bdbd0)<=this['from'])this['from']+=_0x1e5d76,this['to']+=_0x1e5d76;else{if(_0x5bdd28<this['to']){if(_0x5bdd28<this['from']||_0x14b1de>this['to']||this['to']-this['from']+_0x22d81b['length']>0x7530)return void(_0x862471=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x5bdd28),this['toContextPos'](_0x14b1de),_0x22d81b['toString']()),this['to']+=_0x1e5d76;}}_0x3bdbd0+=_0x1e5d76;}),_0x4a8843&&!_0x862471&&this['revertPending'](_0x543fc0['state']),!_0x862471;}['update'](_0x33d3f9){let _0x5e5e25=this['pendingContextChange'],_0x2337aa=_0x33d3f9['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0x33d3f9['changes']['touchesRange'](_0x2337aa['from'],_0x2337aa['to'])&&_0x33d3f9['transactions']['some'](_0x273303=>!_0x273303['isUserEvent']('input.type')&&_0x273303['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0x33d3f9['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0x33d3f9)&&this['rangeIsValid'](_0x33d3f9['state'])?(_0x33d3f9['docChanged']||_0x33d3f9['selectionSet']||_0x5e5e25)&&this['setSelection'](_0x33d3f9['state']):(this['pendingContextChange']=null,this['reset'](_0x33d3f9['state'])),(_0x33d3f9['geometryChanged']||_0x33d3f9['docChanged']||_0x33d3f9['selectionSet'])&&_0x33d3f9['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x122b87){let {head:_0x3c8322}=_0x122b87['selection']['main'];this['from']=Math['max'](0x0,_0x3c8322-0x2710),this['to']=Math['min'](_0x122b87['doc']['length'],_0x3c8322+0x2710);}['reset'](_0x31f06a){this['resetRange'](_0x31f06a),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x31f06a['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x31f06a);}['revertPending'](_0x370ccd){let _0x4e0ffa=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0x4e0ffa['from']),this['toContextPos'](_0x4e0ffa['from']+_0x4e0ffa['insert']['length']),_0x370ccd['doc']['sliceString'](_0x4e0ffa['from'],_0x4e0ffa['to']));}['setSelection'](_0x56247e){let {main:_0x4f22ed}=_0x56247e['selection'],_0xde6344=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x4f22ed['anchor']))),_0x1a24b0=this['toContextPos'](_0x4f22ed['head']);this['editContext']['selectionStart']==_0xde6344&&this['editContext']['selectionEnd']==_0x1a24b0||this['editContext']['updateSelection'](_0xde6344,_0x1a24b0);}['rangeIsValid'](_0xff650f){let {head:_0x3a5561}=_0xff650f['selection']['main'];return!(this['from']>0x0&&_0x3a5561-this['from']<0x1f4||this['to']<_0xff650f['doc']['length']&&this['to']-_0x3a5561<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0xed7bdc,_0x493b0a=this['to']-this['from']){_0xed7bdc=Math['min'](_0xed7bdc,_0x493b0a);let _0x38ea36=this['composing'];return _0x38ea36&&_0x38ea36['drifted']?_0x38ea36['editorBase']+(_0xed7bdc-_0x38ea36['contextBase']):_0xed7bdc+this['from'];}['toContextPos'](_0x146c55){let _0x245037=this['composing'];return _0x245037&&_0x245037['drifted']?_0x245037['contextBase']+(_0x146c55-_0x245037['editorBase']):_0x146c55-this['from'];}['destroy'](){for(let _0x4c81f5 in this['handlers'])this['editContext']['removeEventListener'](_0x4c81f5,this['handlers'][_0x4c81f5]);}}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(_0xa328c4={}){var _0x33d649;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']),_0xa328c4['parent']&&_0xa328c4['parent']['appendChild'](this['dom']);let {dispatch:_0x534d12}=_0xa328c4;this['dispatchTransactions']=_0xa328c4['dispatchTransactions']||_0x534d12&&(_0x115458=>_0x115458['forEach'](_0x45c979=>_0x534d12(_0x45c979,this)))||(_0x15aeb5=>this['update'](_0x15aeb5)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0xa328c4['root']||getRoot(_0xa328c4['parent'])||document,this['viewState']=new ViewState(_0xa328c4['state']||EditorState['create'](_0xa328c4)),_0xa328c4['scrollTo']&&_0xa328c4['scrollTo']['is'](scrollIntoView$1)&&(this['viewState']['scrollTarget']=_0xa328c4['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](_0x229257)['map'](_0x14f373=>new PluginInstance(_0x14f373));for(let _0x14d5eb of this['plugins'])_0x14d5eb['update'](this);this['observer']=new _0x2837ee(this),this['inputState']=new InputState(this),this['inputState']['ensureHandlers'](this['plugins']),this['docView']=new _0x2d5bcb(this),this['mountStyles'](),this['updateAttrs'](),this['updateState']=0x0,this['requestMeasure'](),(null===(_0x33d649=document['fonts'])||void 0x0===_0x33d649?void 0x0:_0x33d649['ready'])&&document['fonts']['ready']['then'](()=>this['requestMeasure']());}['dispatch'](..._0x5f1e5a){let _0x1b58e6=0x1==_0x5f1e5a['length']&&_0x5f1e5a[0x0]instanceof Transaction?_0x5f1e5a:0x1==_0x5f1e5a['length']&&Array['isArray'](_0x5f1e5a[0x0])?_0x5f1e5a[0x0]:[this['state']['update'](..._0x5f1e5a)];this['dispatchTransactions'](_0x1b58e6,this);}['update'](_0x436185){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x26df4d,_0x547561=!0x1,_0x499ad9=!0x1,_0x5d6c72=this['state'];for(let _0x12127d of _0x436185){if(_0x12127d['startState']!=_0x5d6c72)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0x5d6c72=_0x12127d['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0x5d6c72);let _0x1d97b0=this['hasFocus'],_0x5c294e=0x0,_0x3d7b35=null;_0x436185['some'](_0x5b93f1=>_0x5b93f1['annotation'](_0x3178cd))?(this['inputState']['notifiedFocused']=_0x1d97b0,_0x5c294e=0x1):_0x1d97b0!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x1d97b0,_0x3d7b35=focusChangeTransaction(_0x5d6c72,_0x1d97b0),_0x3d7b35||(_0x5c294e=0x1));let _0x1cb5e8=this['observer']['delayedAndroidKey'],_0xd61c7b=null;if(_0x1cb5e8?(this['observer']['clearDelayedAndroidKey'](),_0xd61c7b=this['observer']['readChange'](),(_0xd61c7b&&!this['state']['doc']['eq'](_0x5d6c72['doc'])||!this['state']['selection']['eq'](_0x5d6c72['selection']))&&(_0xd61c7b=null)):this['observer']['clear'](),_0x5d6c72['facet'](EditorState['phrases'])!=this['state']['facet'](EditorState['phrases']))return this['setState'](_0x5d6c72);_0x26df4d=ViewUpdate['create'](this,_0x5d6c72,_0x436185),_0x26df4d['flags']|=_0x5c294e;let _0x58e462=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x8fd12e of _0x436185){if(_0x58e462&&(_0x58e462=_0x58e462['map'](_0x8fd12e['changes'])),_0x8fd12e['scrollIntoView']){let {main:_0xf7d649}=_0x8fd12e['state']['selection'];_0x58e462=new ScrollTarget(_0xf7d649['empty']?_0xf7d649:EditorSelection['cursor'](_0xf7d649['head'],_0xf7d649['head']>_0xf7d649['anchor']?-0x1:0x1));}for(let _0x5b8c07 of _0x8fd12e['effects'])_0x5b8c07['is'](scrollIntoView$1)&&(_0x58e462=_0x5b8c07['value']['clip'](this['state']));}this['viewState']['update'](_0x26df4d,_0x58e462),this['bidiCache']=_0x5c0f76['update'](this['bidiCache'],_0x26df4d['changes']),_0x26df4d['empty']||(this['updatePlugins'](_0x26df4d),this['inputState']['update'](_0x26df4d)),_0x547561=this['docView']['update'](_0x26df4d),this['state']['facet'](styleModule)!=this['styleModules']&&this['mountStyles'](),_0x499ad9=this['updateAttrs'](),this['showAnnouncements'](_0x436185),this['docView']['updateSelection'](_0x547561,_0x436185['some'](_0x378ad9=>_0x378ad9['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x26df4d['startState']['facet'](theme)!=_0x26df4d['state']['facet'](theme)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x547561||_0x499ad9||_0x58e462||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x547561&&this['docViewUpdate'](),!_0x26df4d['empty']){for(let _0x4a638c of this['state']['facet'](updateListener))try{_0x4a638c(_0x26df4d);}catch(_0x3e57e3){logException(this['state'],_0x3e57e3,'update\x20listener');}}(_0x3d7b35||_0xd61c7b)&&Promise['resolve']()['then'](()=>{_0x3d7b35&&this['state']==_0x3d7b35['startState']&&this['dispatch'](_0x3d7b35),_0xd61c7b&&!_0x926745(this,_0xd61c7b)&&_0x1cb5e8['force']&&dispatchKey(this['contentDOM'],_0x1cb5e8['key'],_0x1cb5e8['keyCode']);});}['setState'](_0x5604c3){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']=_0x5604c3);this['updateState']=0x2;let _0x2a4990=this['hasFocus'];try{for(let _0x3f5b4b of this['plugins'])_0x3f5b4b['destroy'](this);this['viewState']=new ViewState(_0x5604c3),this['plugins']=_0x5604c3['facet'](_0x229257)['map'](_0x2b88d4=>new PluginInstance(_0x2b88d4)),this['pluginMap']['clear']();for(let _0x33dbca of this['plugins'])_0x33dbca['update'](this);this['docView']['destroy'](),this['docView']=new _0x2d5bcb(this),this['inputState']['ensureHandlers'](this['plugins']),this['mountStyles'](),this['updateAttrs'](),this['bidiCache']=[];}finally{this['updateState']=0x0;}_0x2a4990&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0x95adb9){let _0x160692=_0x95adb9['startState']['facet'](_0x229257),_0x2b6eb8=_0x95adb9['state']['facet'](_0x229257);if(_0x160692!=_0x2b6eb8){let _0x4f6ddc=[];for(let _0x3616b8 of _0x2b6eb8){let _0x3e35b0=_0x160692['indexOf'](_0x3616b8);if(_0x3e35b0<0x0)_0x4f6ddc['push'](new PluginInstance(_0x3616b8));else{let _0x4f20ed=this['plugins'][_0x3e35b0];_0x4f20ed['mustUpdate']=_0x95adb9,_0x4f6ddc['push'](_0x4f20ed);}}for(let _0x1f3653 of this['plugins'])_0x1f3653['mustUpdate']!=_0x95adb9&&_0x1f3653['destroy'](this);this['plugins']=_0x4f6ddc,this['pluginMap']['clear']();}else{for(let _0x22c90a of this['plugins'])_0x22c90a['mustUpdate']=_0x95adb9;}for(let _0x35e55b=0x0;_0x35e55b<this['plugins']['length'];_0x35e55b++)this['plugins'][_0x35e55b]['update'](this);_0x160692!=_0x2b6eb8&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0x36dc2c of this['plugins']){let _0x2e80ed=_0x36dc2c['value'];if(_0x2e80ed&&_0x2e80ed['docViewUpdate'])try{_0x2e80ed['docViewUpdate'](this);}catch(_0x593902){logException(this['state'],_0x593902,'doc\x20view\x20update\x20listener');}}}['measure'](_0x365636=!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,_0x365636&&this['observer']['forceFlush']();let _0x5031a0=null,_0x157088=this['scrollDOM'],_0x4280ba=_0x157088['scrollTop']*this['scaleY'],{scrollAnchorPos:_0xaea84b,scrollAnchorHeight:_0x129e18}=this['viewState'];Math['abs'](_0x4280ba-this['viewState']['scrollTop'])>0x1&&(_0x129e18=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0x5d029d=0x0;;_0x5d029d++){if(_0x129e18<0x0){if(isScrolledToBottom(_0x157088))_0xaea84b=-0x1,_0x129e18=this['viewState']['heightMap']['height'];else{let _0x4716e6=this['viewState']['scrollAnchorAt'](_0x4280ba);_0xaea84b=_0x4716e6['from'],_0x129e18=_0x4716e6['top'];}}this['updateState']=0x1;let _0x3b9806=this['viewState']['measure'](this);if(!_0x3b9806&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0x5d029d>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x3d36b4=[];0x4&_0x3b9806||([this['measureRequests'],_0x3d36b4]=[_0x3d36b4,this['measureRequests']]);let _0x2cea67=_0x3d36b4['map'](_0x257568=>{try{return _0x257568['read'](this);}catch(_0x6ae1b4){return logException(this['state'],_0x6ae1b4),_0x450718;}}),_0x26242f=ViewUpdate['create'](this,this['state'],[]),_0x4e3aac=!0x1;_0x26242f['flags']|=_0x3b9806,_0x5031a0?_0x5031a0['flags']|=_0x3b9806:_0x5031a0=_0x26242f,this['updateState']=0x2,_0x26242f['empty']||(this['updatePlugins'](_0x26242f),this['inputState']['update'](_0x26242f),this['updateAttrs'](),_0x4e3aac=this['docView']['update'](_0x26242f),_0x4e3aac&&this['docViewUpdate']());for(let _0x58ec19=0x0;_0x58ec19<_0x3d36b4['length'];_0x58ec19++)if(_0x2cea67[_0x58ec19]!=_0x450718)try{let _0x2b9691=_0x3d36b4[_0x58ec19];_0x2b9691['write']&&_0x2b9691['write'](_0x2cea67[_0x58ec19],this);}catch(_0x38ad2c){logException(this['state'],_0x38ad2c);}if(_0x4e3aac&&this['docView']['updateSelection'](!0x0),!_0x26242f['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0x129e18=-0x1;continue;}{let _0x46bb07=(_0xaea84b<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0xaea84b)['top'])-_0x129e18;if(_0x46bb07>0x1||_0x46bb07<-0x1){_0x4280ba+=_0x46bb07,_0x157088['scrollTop']=_0x4280ba/this['scaleY'],_0x129e18=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0x5031a0&&!_0x5031a0['empty']){for(let _0x4bb9c9 of this['state']['facet'](updateListener))_0x4bb9c9(_0x5031a0);}}get['themeClasses'](){return _0x2dab32+'\x20'+(this['state']['facet'](_0x5a940b)?_0x7b568b:baseLightID)+'\x20'+this['state']['facet'](theme);}['updateAttrs'](){let _0x4496e9=attrsFromFacet(this,editorAttributes,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x1d0540={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](editable)?'true':'false','class':'cm-content','style':_0x4ac4fc['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x1d0540['aria-readonly']='true'),attrsFromFacet(this,contentAttributes,_0x1d0540);let _0x3c352d=this['observer']['ignore'](()=>{let _0x513e9f=updateAttrs(this['contentDOM'],this['contentAttrs'],_0x1d0540),_0x3cb776=updateAttrs(this['dom'],this['editorAttrs'],_0x4496e9);return _0x513e9f||_0x3cb776;});return this['editorAttrs']=_0x4496e9,this['contentAttrs']=_0x1d0540,_0x3c352d;}['showAnnouncements'](_0x3f7a16){let _0x5a05b6=!0x0;for(let _0x4ccd55 of _0x3f7a16)for(let _0x475fbe of _0x4ccd55['effects'])_0x475fbe['is'](EditorView['announce'])&&(_0x5a05b6&&(this['announceDOM']['textContent']=''),_0x5a05b6=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x475fbe['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](styleModule);let _0x198c0d=this['state']['facet'](EditorView['cspNonce']);StyleModule['mount'](this['root'],this['styleModules']['concat'](_0x551a45)['reverse'](),_0x198c0d?{'nonce':_0x198c0d}: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'](_0x540bdb){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x540bdb){if(this['measureRequests']['indexOf'](_0x540bdb)>-0x1)return;if(null!=_0x540bdb['key']){for(let _0x2cdb15=0x0;_0x2cdb15<this['measureRequests']['length'];_0x2cdb15++)if(this['measureRequests'][_0x2cdb15]['key']===_0x540bdb['key'])return void(this['measureRequests'][_0x2cdb15]=_0x540bdb);}this['measureRequests']['push'](_0x540bdb);}}['plugin'](_0x48ec2a){let _0xf1920=this['pluginMap']['get'](_0x48ec2a);return(void 0x0===_0xf1920||_0xf1920&&_0xf1920['plugin']!=_0x48ec2a)&&this['pluginMap']['set'](_0x48ec2a,_0xf1920=this['plugins']['find'](_0x333c8c=>_0x333c8c['plugin']==_0x48ec2a)||null),_0xf1920&&_0xf1920['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'](_0x5c5680){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0x5c5680);}['lineBlockAtHeight'](_0x309aca){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0x309aca);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0x403a95){return this['viewState']['lineBlockAt'](_0x403a95);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0x3511a1,_0x5b9477,_0x3df9c0){return skipAtoms(this,_0x3511a1,_0x1c2037(this,_0x3511a1,_0x5b9477,_0x3df9c0));}['moveByGroup'](_0x4e151a,_0x57a8b6){return skipAtoms(this,_0x4e151a,_0x1c2037(this,_0x4e151a,_0x57a8b6,_0x379ce1=>_0x7f1ad6(this,_0x4e151a['head'],_0x379ce1)));}['visualLineSide'](_0x2a8b37,_0x4a6211){let _0x36835b=this['bidiSpans'](_0x2a8b37),_0x30fe06=this['textDirectionAt'](_0x2a8b37['from']),_0x34fd60=_0x36835b[_0x4a6211?_0x36835b['length']-0x1:0x0];return EditorSelection['cursor'](_0x34fd60['side'](_0x4a6211,_0x30fe06)+_0x2a8b37['from'],_0x34fd60['forward'](!_0x4a6211,_0x30fe06)?0x1:-0x1);}['moveToLineBoundary'](_0x1882b7,_0x3573fa,_0x52d4da=!0x0){return _0x272084(this,_0x1882b7,_0x3573fa,_0x52d4da);}['moveVertically'](_0x1c65de,_0x421186,_0x29d6f8){return skipAtoms(this,_0x1c65de,moveVertically(this,_0x1c65de,_0x421186,_0x29d6f8));}['domAtPos'](_0x1f4831){return this['docView']['domAtPos'](_0x1f4831);}['posAtDOM'](_0xc78b5,_0xe8790e=0x0){return this['docView']['posFromDOM'](_0xc78b5,_0xe8790e);}['posAtCoords'](_0x3be3b3,_0x124190=!0x0){return this['readMeasured'](),posAtCoords(this,_0x3be3b3,_0x124190);}['coordsAtPos'](_0x554b6d,_0x481cd7=0x1){this['readMeasured']();let _0x4773=this['docView']['coordsAt'](_0x554b6d,_0x481cd7);if(!_0x4773||_0x4773['left']==_0x4773['right'])return _0x4773;let _0x495bb7=this['state']['doc']['lineAt'](_0x554b6d),_0x307577=this['bidiSpans'](_0x495bb7);return flattenRect(_0x4773,_0x307577[_0x5eb1aa['find'](_0x307577,_0x554b6d-_0x495bb7['from'],-0x1,_0x481cd7)]['dir']==Direction['LTR']==_0x481cd7>0x0);}['coordsForChar'](_0x25cc27){return this['readMeasured'](),this['docView']['coordsForChar'](_0x25cc27);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0xdd929e){return!this['state']['facet'](perLineTextDirection)||_0xdd929e<this['viewport']['from']||_0xdd929e>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0xdd929e));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x48b733){if(_0x48b733['length']>_0x4d2b25)return trivialOrder(_0x48b733['length']);let _0xf03659,_0x27f225=this['textDirectionAt'](_0x48b733['from']);for(let _0x30281a of this['bidiCache'])if(_0x30281a['from']==_0x48b733['from']&&_0x30281a['dir']==_0x27f225&&(_0x30281a['fresh']||isolatesEq(_0x30281a['isolates'],_0xf03659=getIsolatedRanges(this,_0x48b733))))return _0x30281a['order'];_0xf03659||(_0xf03659=getIsolatedRanges(this,_0x48b733));let _0x33ed64=computeOrder(_0x48b733['text'],_0x27f225,_0xf03659);return this['bidiCache']['push'](new _0x5c0f76(_0x48b733['from'],_0x48b733['to'],_0x27f225,_0xf03659,!0x0,_0x33ed64)),_0x33ed64;}get['hasFocus'](){var _0x9d6a97;return(this['dom']['ownerDocument']['hasFocus']()||_0x4ac4fc['safari']&&(null===(_0x9d6a97=this['inputState'])||void 0x0===_0x9d6a97?void 0x0:_0x9d6a97['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{focusPreventScroll(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0x82fedd){this['_root']!=_0x82fedd&&(this['_root']=_0x82fedd,this['observer']['setWindow']((0x9==_0x82fedd['nodeType']?_0x82fedd:_0x82fedd['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x1d439b of this['plugins'])_0x1d439b['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'](_0x3ad967,_0x164537={}){return scrollIntoView$1['of'](new ScrollTarget('number'==typeof _0x3ad967?EditorSelection['cursor'](_0x3ad967):_0x3ad967,_0x164537['y'],_0x164537['x'],_0x164537['yMargin'],_0x164537['xMargin']));}['scrollSnapshot'](){let {scrollTop:_0x46da8f,scrollLeft:_0x52ace9}=this['scrollDOM'],_0x2d63cf=this['viewState']['scrollAnchorAt'](_0x46da8f);return scrollIntoView$1['of'](new ScrollTarget(EditorSelection['cursor'](_0x2d63cf['from']),'start','start',_0x2d63cf['top']-_0x46da8f,_0x52ace9,!0x0));}['setTabFocusMode'](_0x4bbea4){null==_0x4bbea4?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x4bbea4?this['inputState']['tabFocusMode']=_0x4bbea4?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x4bbea4);}static['domEventHandlers'](_0x367424){return _0x9d032b['define'](()=>({}),{'eventHandlers':_0x367424});}static['domEventObservers'](_0x2199f9){return _0x9d032b['define'](()=>({}),{'eventObservers':_0x2199f9});}static['theme'](_0x55a8d3,_0x2daed0){let _0x228c53=StyleModule['newName'](),_0x5ece0d=[theme['of'](_0x228c53),styleModule['of'](_0x311def('.'+_0x228c53,_0x55a8d3))];return _0x2daed0&&_0x2daed0['dark']&&_0x5ece0d['push'](_0x5a940b['of'](!0x0)),_0x5ece0d;}static['baseTheme'](_0x3810bf){return _0x2d7c8c['lowest'](styleModule['of'](_0x311def('.'+_0x2dab32,_0x3810bf,lightDarkIDs)));}static['findFromDOM'](_0x392fac){var _0x4ff9a3;let _0x15beb9=_0x392fac['querySelector']('.cm-content'),_0x33d281=_0x15beb9&&ContentView['get'](_0x15beb9)||ContentView['get'](_0x392fac);return(null===(_0x4ff9a3=null==_0x33d281?void 0x0:_0x33d281['rootView'])||void 0x0===_0x4ff9a3?void 0x0:_0x4ff9a3['view'])||null;}}EditorView['styleModule']=styleModule,EditorView['inputHandler']=inputHandler$1,EditorView['clipboardInputFilter']=clipboardInputFilter,EditorView['clipboardOutputFilter']=clipboardOutputFilter,EditorView['scrollHandler']=_0x3dab1b,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']=_0x3dd84a,EditorView['darkTheme']=_0x5a940b,EditorView['cspNonce']=Facet['define']({'combine':_0x47e727=>_0x47e727['length']?_0x47e727[0x0]:''}),EditorView['contentAttributes']=contentAttributes,EditorView['editorAttributes']=editorAttributes,EditorView['lineWrapping']=EditorView['contentAttributes']['of']({'class':'cm-lineWrapping'}),EditorView['announce']=StateEffect['define']();const _0x4d2b25=0x1000,_0x450718={};class _0x5c0f76{constructor(_0x501117,_0x44522a,_0x3ece2f,_0x540898,_0x580fff,_0x30f929){this['from']=_0x501117,this['to']=_0x44522a,this['dir']=_0x3ece2f,this['isolates']=_0x540898,this['fresh']=_0x580fff,this['order']=_0x30f929;}static['update'](_0x3af8ed,_0x8bfada){if(_0x8bfada['empty']&&!_0x3af8ed['some'](_0xc651f9=>_0xc651f9['fresh']))return _0x3af8ed;let _0x3f256b=[],_0x1810da=_0x3af8ed['length']?_0x3af8ed[_0x3af8ed['length']-0x1]['dir']:Direction['LTR'];for(let _0x1d5d06=Math['max'](0x0,_0x3af8ed['length']-0xa);_0x1d5d06<_0x3af8ed['length'];_0x1d5d06++){let _0x512213=_0x3af8ed[_0x1d5d06];_0x512213['dir']!=_0x1810da||_0x8bfada['touchesRange'](_0x512213['from'],_0x512213['to'])||_0x3f256b['push'](new _0x5c0f76(_0x8bfada['mapPos'](_0x512213['from'],0x1),_0x8bfada['mapPos'](_0x512213['to'],-0x1),_0x512213['dir'],_0x512213['isolates'],!0x1,_0x512213['order']));}return _0x3f256b;}}function attrsFromFacet(_0x5a71e7,_0x4a0f64,_0x1478b7){for(let _0x56db2c=_0x5a71e7['state']['facet'](_0x4a0f64),_0xafaf8a=_0x56db2c['length']-0x1;_0xafaf8a>=0x0;_0xafaf8a--){let _0x2036ed=_0x56db2c[_0xafaf8a],_0x52f53c='function'==typeof _0x2036ed?_0x2036ed(_0x5a71e7):_0x2036ed;_0x52f53c&&combineAttrs(_0x52f53c,_0x1478b7);}return _0x1478b7;}const currentPlatform=_0x4ac4fc['mac']?'mac':_0x4ac4fc['windows']?'win':_0x4ac4fc['linux']?'linux':'key';function _0x57c248(_0x540d61,_0x3eaac6){const _0x30f9c9=_0x540d61['split'](/-(?!$)/);let _0x12afcd,_0x3d1cd9,_0xa4c6bf,_0x4278b3,_0x15ab99=_0x30f9c9[_0x30f9c9['length']-0x1];'Space'==_0x15ab99&&(_0x15ab99='\x20');for(let _0xa25f47=0x0;_0xa25f47<_0x30f9c9['length']-0x1;++_0xa25f47){const _0x4849e0=_0x30f9c9[_0xa25f47];if(/^(cmd|meta|m)$/i['test'](_0x4849e0))_0x4278b3=!0x0;else{if(/^a(lt)?$/i['test'](_0x4849e0))_0x12afcd=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x4849e0))_0x3d1cd9=!0x0;else{if(/^s(hift)?$/i['test'](_0x4849e0))_0xa4c6bf=!0x0;else{if(!/^mod$/i['test'](_0x4849e0))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x4849e0);'mac'==_0x3eaac6?_0x4278b3=!0x0:_0x3d1cd9=!0x0;}}}}}return _0x12afcd&&(_0x15ab99='Alt-'+_0x15ab99),_0x3d1cd9&&(_0x15ab99='Ctrl-'+_0x15ab99),_0x4278b3&&(_0x15ab99='Meta-'+_0x15ab99),_0xa4c6bf&&(_0x15ab99='Shift-'+_0x15ab99),_0x15ab99;}function _0x22a12c(_0x56ad61,_0x29b16b,_0xbbb0a6){return _0x29b16b['altKey']&&(_0x56ad61='Alt-'+_0x56ad61),_0x29b16b['ctrlKey']&&(_0x56ad61='Ctrl-'+_0x56ad61),_0x29b16b['metaKey']&&(_0x56ad61='Meta-'+_0x56ad61),!0x1!==_0xbbb0a6&&_0x29b16b['shiftKey']&&(_0x56ad61='Shift-'+_0x56ad61),_0x56ad61;}const handleKeyEvents=_0x2d7c8c['default'](EditorView['domEventHandlers']({'keydown':(_0xff1a1,_0x503ec6)=>_0x42af7c(getKeymap(_0x503ec6['state']),_0xff1a1,_0x503ec6,'editor')})),_0x43ce48=Facet['define']({'enables':handleKeyEvents}),_0x41a436=new WeakMap();function getKeymap(_0x592641){let _0x43a808=_0x592641['facet'](_0x43ce48),_0xa3a5e2=_0x41a436['get'](_0x43a808);return _0xa3a5e2||_0x41a436['set'](_0x43a808,_0xa3a5e2=_0xbc138d(_0x43a808['reduce']((_0x4d4b8a,_0x414e2f)=>_0x4d4b8a['concat'](_0x414e2f),[]))),_0xa3a5e2;}let storedPrefix=null;const PrefixTimeout=0xfa0;function _0xbc138d(_0x8e0888,_0x6e66fb=currentPlatform){let _0x8431aa=Object['create'](null),_0x33426e=Object['create'](null),_0x4b97db=(_0x4b9bf7,_0x3fa189)=>{let _0x4ed63e=_0x33426e[_0x4b9bf7];if(null==_0x4ed63e)_0x33426e[_0x4b9bf7]=_0x3fa189;else{if(_0x4ed63e!=_0x3fa189)throw new Error('Key\x20binding\x20'+_0x4b9bf7+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x8dd0f=(_0x2984d7,_0x38e8fa,_0x1fe682,_0x535503,_0x4458ad)=>{var _0x24cb4e,_0x2b8c6c;let _0xead6bb=_0x8431aa[_0x2984d7]||(_0x8431aa[_0x2984d7]=Object['create'](null)),_0x5ac204=_0x38e8fa['split'](/ (?!$)/)['map'](_0x511bca=>_0x57c248(_0x511bca,_0x6e66fb));for(let _0x40ecbd=0x1;_0x40ecbd<_0x5ac204['length'];_0x40ecbd++){let _0x4ee39c=_0x5ac204['slice'](0x0,_0x40ecbd)['join']('\x20');_0x4b97db(_0x4ee39c,!0x0),_0xead6bb[_0x4ee39c]||(_0xead6bb[_0x4ee39c]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x3b1c10=>{let _0xf50de9=storedPrefix={'view':_0x3b1c10,'prefix':_0x4ee39c,'scope':_0x2984d7};return setTimeout(()=>{storedPrefix==_0xf50de9&&(storedPrefix=null);},PrefixTimeout),!0x0;}]});}let _0x309901=_0x5ac204['join']('\x20');_0x4b97db(_0x309901,!0x1);let _0x32179b=_0xead6bb[_0x309901]||(_0xead6bb[_0x309901]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x2b8c6c=null===(_0x24cb4e=_0xead6bb['_any'])||void 0x0===_0x24cb4e?void 0x0:_0x24cb4e['run'])||void 0x0===_0x2b8c6c?void 0x0:_0x2b8c6c['slice']())||[]});_0x1fe682&&_0x32179b['run']['push'](_0x1fe682),_0x535503&&(_0x32179b['preventDefault']=!0x0),_0x4458ad&&(_0x32179b['stopPropagation']=!0x0);};for(let _0x190b5e of _0x8e0888){let _0x25c6e4=_0x190b5e['scope']?_0x190b5e['scope']['split']('\x20'):['editor'];if(_0x190b5e['any'])for(let _0x21c4d1 of _0x25c6e4){let _0x4a801d=_0x8431aa[_0x21c4d1]||(_0x8431aa[_0x21c4d1]=Object['create'](null));_0x4a801d['_any']||(_0x4a801d['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0xc43ee8}=_0x190b5e;for(let _0x584953 in _0x4a801d)_0x4a801d[_0x584953]['run']['push'](_0x421cd1=>_0xc43ee8(_0x421cd1,currentKeyEvent));}let _0x425812=_0x190b5e[_0x6e66fb]||_0x190b5e['key'];if(_0x425812){for(let _0x4c6d5d of _0x25c6e4)_0x8dd0f(_0x4c6d5d,_0x425812,_0x190b5e['run'],_0x190b5e['preventDefault'],_0x190b5e['stopPropagation']),_0x190b5e['shift']&&_0x8dd0f(_0x4c6d5d,'Shift-'+_0x425812,_0x190b5e['shift'],_0x190b5e['preventDefault'],_0x190b5e['stopPropagation']);}}return _0x8431aa;}let currentKeyEvent=null;function _0x42af7c(_0x3da8b7,_0xb5c668,_0x292e9f,_0x5b80f1){currentKeyEvent=_0xb5c668;let _0x1de0be=_0x3930ce(_0xb5c668),_0x52b3eb=codePointSize(codePointAt(_0x1de0be,0x0))==_0x1de0be['length']&&'\x20'!=_0x1de0be,_0x32de53='',_0x513a24=!0x1,_0x154993=!0x1,_0x25d3bd=!0x1;storedPrefix&&storedPrefix['view']==_0x292e9f&&storedPrefix['scope']==_0x5b80f1&&(_0x32de53=storedPrefix['prefix']+'\x20',_0x470df7['indexOf'](_0xb5c668['keyCode'])<0x0&&(_0x154993=!0x0,storedPrefix=null));let _0x406109,_0xfe0a86,_0x2a88bd=new Set(),_0x75dd86=_0x17055b=>{if(_0x17055b){for(let _0x46bf26 of _0x17055b['run'])if(!_0x2a88bd['has'](_0x46bf26)&&(_0x2a88bd['add'](_0x46bf26),_0x46bf26(_0x292e9f)))return _0x17055b['stopPropagation']&&(_0x25d3bd=!0x0),!0x0;_0x17055b['preventDefault']&&(_0x17055b['stopPropagation']&&(_0x25d3bd=!0x0),_0x154993=!0x0);}return!0x1;},_0x2e638b=_0x3da8b7[_0x5b80f1];return _0x2e638b&&(_0x75dd86(_0x2e638b[_0x32de53+_0x22a12c(_0x1de0be,_0xb5c668,!_0x52b3eb)])?_0x513a24=!0x0:!_0x52b3eb||!(_0xb5c668['altKey']||_0xb5c668['metaKey']||_0xb5c668['ctrlKey'])||_0x4ac4fc['windows']&&_0xb5c668['ctrlKey']&&_0xb5c668['altKey']||_0x4ac4fc['mac']&&_0xb5c668['altKey']&&!_0xb5c668['ctrlKey']&&!_0xb5c668['metaKey']||!(_0x406109=_0x270d26[_0xb5c668['keyCode']])||_0x406109==_0x1de0be?_0x52b3eb&&_0xb5c668['shiftKey']&&_0x75dd86(_0x2e638b[_0x32de53+_0x22a12c(_0x1de0be,_0xb5c668,!0x0)])&&(_0x513a24=!0x0):(_0x75dd86(_0x2e638b[_0x32de53+_0x22a12c(_0x406109,_0xb5c668,!0x0)])||_0xb5c668['shiftKey']&&(_0xfe0a86=shift[_0xb5c668['keyCode']])!=_0x1de0be&&_0xfe0a86!=_0x406109&&_0x75dd86(_0x2e638b[_0x32de53+_0x22a12c(_0xfe0a86,_0xb5c668,!0x1)]))&&(_0x513a24=!0x0),!_0x513a24&&_0x75dd86(_0x2e638b['_any'])&&(_0x513a24=!0x0)),_0x154993&&(_0x513a24=!0x0),_0x513a24&&_0x25d3bd&&_0xb5c668['stopPropagation'](),currentKeyEvent=null,_0x513a24;}class RectangleMarker{constructor(_0x424c4e,_0x24e215,_0x33c305,_0x2dc5cf,_0x5abf02){this['className']=_0x424c4e,this['left']=_0x24e215,this['top']=_0x33c305,this['width']=_0x2dc5cf,this['height']=_0x5abf02;}['draw'](){let _0x30ba9e=document['createElement']('div');return _0x30ba9e['className']=this['className'],this['adjust'](_0x30ba9e),_0x30ba9e;}['update'](_0x3dd2e1,_0x5cc032){return _0x5cc032['className']==this['className']&&(this['adjust'](_0x3dd2e1),!0x0);}['adjust'](_0x2ab4fb){_0x2ab4fb['style']['left']=this['left']+'px',_0x2ab4fb['style']['top']=this['top']+'px',null!=this['width']&&(_0x2ab4fb['style']['width']=this['width']+'px'),_0x2ab4fb['style']['height']=this['height']+'px';}['eq'](_0x12d601){return this['left']==_0x12d601['left']&&this['top']==_0x12d601['top']&&this['width']==_0x12d601['width']&&this['height']==_0x12d601['height']&&this['className']==_0x12d601['className'];}static['forRange'](_0x2a9e67,_0x56a50f,_0xcee9f5){if(_0xcee9f5['empty']){let _0xa204c8=_0x2a9e67['coordsAtPos'](_0xcee9f5['head'],_0xcee9f5['assoc']||0x1);if(!_0xa204c8)return[];let _0x3b3641=getBase(_0x2a9e67);return[new RectangleMarker(_0x56a50f,_0xa204c8['left']-_0x3b3641['left'],_0xa204c8['top']-_0x3b3641['top'],null,_0xa204c8['bottom']-_0xa204c8['top'])];}return rectanglesForRange(_0x2a9e67,_0x56a50f,_0xcee9f5);}}function getBase(_0x2c233b){let _0x463d15=_0x2c233b['scrollDOM']['getBoundingClientRect']();return{'left':(_0x2c233b['textDirection']==Direction['LTR']?_0x463d15['left']:_0x463d15['right']-_0x2c233b['scrollDOM']['clientWidth']*_0x2c233b['scaleX'])-_0x2c233b['scrollDOM']['scrollLeft']*_0x2c233b['scaleX'],'top':_0x463d15['top']-_0x2c233b['scrollDOM']['scrollTop']*_0x2c233b['scaleY']};}function _0x3a2ce3(_0x707276,_0xb840d2,_0x17e36e,_0x9bb847){let _0x16c134=_0x707276['coordsAtPos'](_0xb840d2,0x2*_0x17e36e);if(!_0x16c134)return _0x9bb847;let _0x126584=_0x707276['dom']['getBoundingClientRect'](),_0x52b053=(_0x16c134['top']+_0x16c134['bottom'])/0x2,_0x690fc1=_0x707276['posAtCoords']({'x':_0x126584['left']+0x1,'y':_0x52b053}),_0x677e32=_0x707276['posAtCoords']({'x':_0x126584['right']-0x1,'y':_0x52b053});return null==_0x690fc1||null==_0x677e32?_0x9bb847:{'from':Math['max'](_0x9bb847['from'],Math['min'](_0x690fc1,_0x677e32)),'to':Math['min'](_0x9bb847['to'],Math['max'](_0x690fc1,_0x677e32))};}function rectanglesForRange(_0x294d11,_0x1a7054,_0x4ed088){if(_0x4ed088['to']<=_0x294d11['viewport']['from']||_0x4ed088['from']>=_0x294d11['viewport']['to'])return[];let _0x45e74e=Math['max'](_0x4ed088['from'],_0x294d11['viewport']['from']),_0x5c0577=Math['min'](_0x4ed088['to'],_0x294d11['viewport']['to']),_0x57cb47=_0x294d11['textDirection']==Direction['LTR'],_0x288b4a=_0x294d11['contentDOM'],_0x484209=_0x288b4a['getBoundingClientRect'](),_0x1ba2cd=getBase(_0x294d11),_0x3f9a14=_0x288b4a['querySelector']('.cm-line'),_0x22f652=_0x3f9a14&&window['getComputedStyle'](_0x3f9a14),_0x350a10=_0x484209['left']+(_0x22f652?parseInt(_0x22f652['paddingLeft'])+Math['min'](0x0,parseInt(_0x22f652['textIndent'])):0x0),_0x21c6c8=_0x484209['right']-(_0x22f652?parseInt(_0x22f652['paddingRight']):0x0),_0x3ceda4=blockAt(_0x294d11,_0x45e74e,0x1),_0x378c95=blockAt(_0x294d11,_0x5c0577,-0x1),_0x1f5d5a=_0x3ceda4['type']==_0x5841fb['Text']?_0x3ceda4:null,_0x1c2bd3=_0x378c95['type']==_0x5841fb['Text']?_0x378c95:null;if(_0x1f5d5a&&(_0x294d11['lineWrapping']||_0x3ceda4['widgetLineBreaks'])&&(_0x1f5d5a=_0x3a2ce3(_0x294d11,_0x45e74e,0x1,_0x1f5d5a)),_0x1c2bd3&&(_0x294d11['lineWrapping']||_0x378c95['widgetLineBreaks'])&&(_0x1c2bd3=_0x3a2ce3(_0x294d11,_0x5c0577,-0x1,_0x1c2bd3)),_0x1f5d5a&&_0x1c2bd3&&_0x1f5d5a['from']==_0x1c2bd3['from']&&_0x1f5d5a['to']==_0x1c2bd3['to'])return _0x2aada6(_0x5c879f(_0x4ed088['from'],_0x4ed088['to'],_0x1f5d5a));{let _0xd37ce1=_0x1f5d5a?_0x5c879f(_0x4ed088['from'],null,_0x1f5d5a):_0x4ca0d4(_0x3ceda4,!0x1),_0xdf30dc=_0x1c2bd3?_0x5c879f(null,_0x4ed088['to'],_0x1c2bd3):_0x4ca0d4(_0x378c95,!0x0),_0x185330=[];return(_0x1f5d5a||_0x3ceda4)['to']<(_0x1c2bd3||_0x378c95)['from']-(_0x1f5d5a&&_0x1c2bd3?0x1:0x0)||_0x3ceda4['widgetLineBreaks']>0x1&&_0xd37ce1['bottom']+_0x294d11['defaultLineHeight']/0x2<_0xdf30dc['top']?_0x185330['push'](_0x1340b1(_0x350a10,_0xd37ce1['bottom'],_0x21c6c8,_0xdf30dc['top'])):_0xd37ce1['bottom']<_0xdf30dc['top']&&_0x294d11['elementAtHeight']((_0xd37ce1['bottom']+_0xdf30dc['top'])/0x2)['type']==_0x5841fb['Text']&&(_0xd37ce1['bottom']=_0xdf30dc['top']=(_0xd37ce1['bottom']+_0xdf30dc['top'])/0x2),_0x2aada6(_0xd37ce1)['concat'](_0x185330)['concat'](_0x2aada6(_0xdf30dc));}function _0x1340b1(_0x11a028,_0x3e9a7d,_0x59c687,_0x5ed008){return new RectangleMarker(_0x1a7054,_0x11a028-_0x1ba2cd['left'],_0x3e9a7d-_0x1ba2cd['top'],_0x59c687-_0x11a028,_0x5ed008-_0x3e9a7d);}function _0x2aada6({top:_0x28c123,bottom:_0x2d8a87,horizontal:_0x47a651}){let _0x33aa37=[];for(let _0xa7ad2e=0x0;_0xa7ad2e<_0x47a651['length'];_0xa7ad2e+=0x2)_0x33aa37['push'](_0x1340b1(_0x47a651[_0xa7ad2e],_0x28c123,_0x47a651[_0xa7ad2e+0x1],_0x2d8a87));return _0x33aa37;}function _0x5c879f(_0xd8dafc,_0x8d0d71,_0x3d0020){let _0x566193=0x3b9aca00,_0x30d619=-0x3b9aca00,_0x5aa15e=[];function _0x4117cf(_0x1c2f62,_0x396b5b,_0x4ca19d,_0x515117,_0x2c1e18){let _0x322159=_0x294d11['coordsAtPos'](_0x1c2f62,_0x1c2f62==_0x3d0020['to']?-0x2:0x2),_0x4cbd61=_0x294d11['coordsAtPos'](_0x4ca19d,_0x4ca19d==_0x3d0020['from']?0x2:-0x2);_0x322159&&_0x4cbd61&&(_0x566193=Math['min'](_0x322159['top'],_0x4cbd61['top'],_0x566193),_0x30d619=Math['max'](_0x322159['bottom'],_0x4cbd61['bottom'],_0x30d619),_0x2c1e18==Direction['LTR']?_0x5aa15e['push'](_0x57cb47&&_0x396b5b?_0x350a10:_0x322159['left'],_0x57cb47&&_0x515117?_0x21c6c8:_0x4cbd61['right']):_0x5aa15e['push'](!_0x57cb47&&_0x515117?_0x350a10:_0x4cbd61['left'],!_0x57cb47&&_0x396b5b?_0x21c6c8:_0x322159['right']));}let _0x4c1888=null!=_0xd8dafc?_0xd8dafc:_0x3d0020['from'],_0x2503d0=null!=_0x8d0d71?_0x8d0d71:_0x3d0020['to'];for(let _0x3d73fd of _0x294d11['visibleRanges'])if(_0x3d73fd['to']>_0x4c1888&&_0x3d73fd['from']<_0x2503d0)for(let _0x5c725f=Math['max'](_0x3d73fd['from'],_0x4c1888),_0x5bba91=Math['min'](_0x3d73fd['to'],_0x2503d0);;){let _0x3d9877=_0x294d11['state']['doc']['lineAt'](_0x5c725f);for(let _0x23389b of _0x294d11['bidiSpans'](_0x3d9877)){let _0x8eb392=_0x23389b['from']+_0x3d9877['from'],_0x2fdc8e=_0x23389b['to']+_0x3d9877['from'];if(_0x8eb392>=_0x5bba91)break;_0x2fdc8e>_0x5c725f&&_0x4117cf(Math['max'](_0x8eb392,_0x5c725f),null==_0xd8dafc&&_0x8eb392<=_0x4c1888,Math['min'](_0x2fdc8e,_0x5bba91),null==_0x8d0d71&&_0x2fdc8e>=_0x2503d0,_0x23389b['dir']);}if(_0x5c725f=_0x3d9877['to']+0x1,_0x5c725f>=_0x5bba91)break;}return 0x0==_0x5aa15e['length']&&_0x4117cf(_0x4c1888,null==_0xd8dafc,_0x2503d0,null==_0x8d0d71,_0x294d11['textDirection']),{'top':_0x566193,'bottom':_0x30d619,'horizontal':_0x5aa15e};}function _0x4ca0d4(_0x36c93a,_0x2aad3d){let _0x2df5a1=_0x484209['top']+(_0x2aad3d?_0x36c93a['top']:_0x36c93a['bottom']);return{'top':_0x2df5a1,'bottom':_0x2df5a1,'horizontal':[]};}}function _0x3c313b(_0x5f33ec,_0x168433){return _0x5f33ec['constructor']==_0x168433['constructor']&&_0x5f33ec['eq'](_0x168433);}class _0x5935ea{constructor(_0x47083d,_0x41549d){this['view']=_0x47083d,this['layer']=_0x41549d,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0x47083d['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x41549d['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x41549d['class']&&this['dom']['classList']['add'](_0x41549d['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0x47083d['state']),_0x47083d['requestMeasure'](this['measureReq']),_0x41549d['mount']&&_0x41549d['mount'](this['dom'],_0x47083d);}['update'](_0x1e7ee1){_0x1e7ee1['startState']['facet'](_0xf63964)!=_0x1e7ee1['state']['facet'](_0xf63964)&&this['setOrder'](_0x1e7ee1['state']),(this['layer']['update'](_0x1e7ee1,this['dom'])||_0x1e7ee1['geometryChanged'])&&(this['scale'](),_0x1e7ee1['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0x16a324){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0x16a324['requestMeasure'](this['measureReq']);}['setOrder'](_0x3cc04e){let _0x3e6405=0x0,_0x38f5d9=_0x3cc04e['facet'](_0xf63964);for(;_0x3e6405<_0x38f5d9['length']&&_0x38f5d9[_0x3e6405]!=this['layer'];)_0x3e6405++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x3e6405);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x41622d,scaleY:_0x702f9a}=this['view'];_0x41622d==this['scaleX']&&_0x702f9a==this['scaleY']||(this['scaleX']=_0x41622d,this['scaleY']=_0x702f9a,this['dom']['style']['transform']='scale('+0x1/_0x41622d+',\x20'+0x1/_0x702f9a+')');}['draw'](_0x5b67fc){if(_0x5b67fc['length']!=this['drawn']['length']||_0x5b67fc['some']((_0x54c58f,_0x37519b)=>!_0x3c313b(_0x54c58f,this['drawn'][_0x37519b]))){let _0x4edf9e=this['dom']['firstChild'],_0x1eaca2=0x0;for(let _0x3e33db of _0x5b67fc)_0x3e33db['update']&&_0x4edf9e&&_0x3e33db['constructor']&&this['drawn'][_0x1eaca2]['constructor']&&_0x3e33db['update'](_0x4edf9e,this['drawn'][_0x1eaca2])?(_0x4edf9e=_0x4edf9e['nextSibling'],_0x1eaca2++):this['dom']['insertBefore'](_0x3e33db['draw'](),_0x4edf9e);for(;_0x4edf9e;){let _0x2b5a06=_0x4edf9e['nextSibling'];_0x4edf9e['remove'](),_0x4edf9e=_0x2b5a06;}this['drawn']=_0x5b67fc,_0x4ac4fc['safari']&&_0x4ac4fc['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 _0xf63964=Facet['define']();function _0x52c3d6(_0x160020){return[_0x9d032b['define'](_0xf61269=>new _0x5935ea(_0xf61269,_0x160020)),_0xf63964['of'](_0x160020)];}const selectionConfig=Facet['define']({'combine':_0x3efba0=>_0x592eca(_0x3efba0,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0},{'cursorBlinkRate':(_0x23350b,_0x42607e)=>Math['min'](_0x23350b,_0x42607e),'drawRangeCursor':(_0x2dd167,_0x253323)=>_0x2dd167||_0x253323})});function drawSelection(_0x2b6739={}){return[selectionConfig['of'](_0x2b6739),_0x43ac80,selectionLayer,hideNativeSelection,nativeSelectionHidden['of'](!0x0)];}function _0x518052(_0x46f573){return _0x46f573['startState']['facet'](selectionConfig)!=_0x46f573['state']['facet'](selectionConfig);}const _0x43ac80=_0x52c3d6({'above':!0x0,'markers'(_0x13c64e){let {state:_0x13fd76}=_0x13c64e,_0x2133f9=_0x13fd76['facet'](selectionConfig),_0x3b7e7e=[];for(let _0x12e64e of _0x13fd76['selection']['ranges']){let _0x299472=_0x12e64e==_0x13fd76['selection']['main'];if(_0x12e64e['empty']||_0x2133f9['drawRangeCursor']){let _0x35884f=_0x299472?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x36d918=_0x12e64e['empty']?_0x12e64e:EditorSelection['cursor'](_0x12e64e['head'],_0x12e64e['head']>_0x12e64e['anchor']?-0x1:0x1);for(let _0x2108bd of RectangleMarker['forRange'](_0x13c64e,_0x35884f,_0x36d918))_0x3b7e7e['push'](_0x2108bd);}}return _0x3b7e7e;},'update'(_0x5a3981,_0x5174cf){_0x5a3981['transactions']['some'](_0x2fd44d=>_0x2fd44d['selection'])&&(_0x5174cf['style']['animationName']='cm-blink'==_0x5174cf['style']['animationName']?'cm-blink2':'cm-blink');let _0x22f180=_0x518052(_0x5a3981);return _0x22f180&&setBlinkRate(_0x5a3981['state'],_0x5174cf),_0x5a3981['docChanged']||_0x5a3981['selectionSet']||_0x22f180;},'mount'(_0x2c2c6f,_0x59c0a1){setBlinkRate(_0x59c0a1['state'],_0x2c2c6f);},'class':'cm-cursorLayer'});function setBlinkRate(_0x5d8e27,_0x408a46){_0x408a46['style']['animationDuration']=_0x5d8e27['facet'](selectionConfig)['cursorBlinkRate']+'ms';}const selectionLayer=_0x52c3d6({'above':!0x1,'markers':_0x4ea61f=>_0x4ea61f['state']['selection']['ranges']['map'](_0x1d1239=>_0x1d1239['empty']?[]:RectangleMarker['forRange'](_0x4ea61f,'cm-selectionBackground',_0x1d1239))['reduce']((_0x1a0166,_0x3321f9)=>_0x1a0166['concat'](_0x3321f9)),'update':(_0x565501,_0x1d49ed)=>_0x565501['docChanged']||_0x565501['selectionSet']||_0x565501['viewportChanged']||_0x518052(_0x565501),'class':'cm-selectionLayer'}),hideNativeSelection=_0x2d7c8c['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':(_0x2ebd61,_0x318909)=>null==_0x2ebd61?null:_0x318909['mapPos'](_0x2ebd61)}),_0x42f23c=StateField['define']({'create':()=>null,'update':(_0x295341,_0x11ed9c)=>(null!=_0x295341&&(_0x295341=_0x11ed9c['changes']['mapPos'](_0x295341)),_0x11ed9c['effects']['reduce']((_0x823620,_0x4f4ef9)=>_0x4f4ef9['is'](setDropCursorPos)?_0x4f4ef9['value']:_0x823620,_0x295341))}),_0x5f5dbf=_0x9d032b['fromClass'](class{constructor(_0x406d71){this['view']=_0x406d71,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x46329a){var _0x3a4ca3;let _0x39f128=_0x46329a['state']['field'](_0x42f23c);null==_0x39f128?null!=this['cursor']&&(null===(_0x3a4ca3=this['cursor'])||void 0x0===_0x3a4ca3||_0x3a4ca3['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x46329a['startState']['field'](_0x42f23c)!=_0x39f128||_0x46329a['docChanged']||_0x46329a['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x3d079a}=this,_0x326f9a=_0x3d079a['state']['field'](_0x42f23c),_0x2beda5=null!=_0x326f9a&&_0x3d079a['coordsAtPos'](_0x326f9a);if(!_0x2beda5)return null;let _0x35ada5=_0x3d079a['scrollDOM']['getBoundingClientRect']();return{'left':_0x2beda5['left']-_0x35ada5['left']+_0x3d079a['scrollDOM']['scrollLeft']*_0x3d079a['scaleX'],'top':_0x2beda5['top']-_0x35ada5['top']+_0x3d079a['scrollDOM']['scrollTop']*_0x3d079a['scaleY'],'height':_0x2beda5['bottom']-_0x2beda5['top']};}['drawCursor'](_0x862b70){if(this['cursor']){let {scaleX:_0xbe2849,scaleY:_0x43bbba}=this['view'];_0x862b70?(this['cursor']['style']['left']=_0x862b70['left']/_0xbe2849+'px',this['cursor']['style']['top']=_0x862b70['top']/_0x43bbba+'px',this['cursor']['style']['height']=_0x862b70['height']/_0x43bbba+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0x1f6017){this['view']['state']['field'](_0x42f23c)!=_0x1f6017&&this['view']['dispatch']({'effects':setDropCursorPos['of'](_0x1f6017)});}},{'eventObservers':{'dragover'(_0x3edd1a){this['setDropPos'](this['view']['posAtCoords']({'x':_0x3edd1a['clientX'],'y':_0x3edd1a['clientY']}));},'dragleave'(_0xa33f2b){_0xa33f2b['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0xa33f2b['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function _0x7c8425(){return[_0x42f23c,_0x5f5dbf];}function iterMatches(_0x3d0867,_0x2321ed,_0x23aaf3,_0x5a8e63,_0x57c41f){_0x2321ed['lastIndex']=0x0;for(let _0x16f2fc,_0x5c4a29=_0x3d0867['iterRange'](_0x23aaf3,_0x5a8e63),_0x53143e=_0x23aaf3;!_0x5c4a29['next']()['done'];_0x53143e+=_0x5c4a29['value']['length'])if(!_0x5c4a29['lineBreak']){for(;_0x16f2fc=_0x2321ed['exec'](_0x5c4a29['value']);)_0x57c41f(_0x53143e+_0x16f2fc['index'],_0x16f2fc);}}function matchRanges(_0x4df445,_0x5ab427){let _0x1073e9=_0x4df445['visibleRanges'];if(0x1==_0x1073e9['length']&&_0x1073e9[0x0]['from']==_0x4df445['viewport']['from']&&_0x1073e9[0x0]['to']==_0x4df445['viewport']['to'])return _0x1073e9;let _0x20adc1=[];for(let {from:_0x29c638,to:_0x19ae40}of _0x1073e9)_0x29c638=Math['max'](_0x4df445['state']['doc']['lineAt'](_0x29c638)['from'],_0x29c638-_0x5ab427),_0x19ae40=Math['min'](_0x4df445['state']['doc']['lineAt'](_0x19ae40)['to'],_0x19ae40+_0x5ab427),_0x20adc1['length']&&_0x20adc1[_0x20adc1['length']-0x1]['to']>=_0x29c638?_0x20adc1[_0x20adc1['length']-0x1]['to']=_0x19ae40:_0x20adc1['push']({'from':_0x29c638,'to':_0x19ae40});return _0x20adc1;}class MatchDecorator{constructor(_0x38c628){const {regexp:_0x52af9a,decoration:_0x1652bb,decorate:_0x322c41,boundary:_0x8190e0,maxLength:_0x31cd70=0x3e8}=_0x38c628;if(!_0x52af9a['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x52af9a,_0x322c41)this['addMatch']=(_0x3130ea,_0xadb8b7,_0x3c3ce7,_0x543b16)=>_0x322c41(_0x543b16,_0x3c3ce7,_0x3c3ce7+_0x3130ea[0x0]['length'],_0x3130ea,_0xadb8b7);else{if('function'==typeof _0x1652bb)this['addMatch']=(_0x1610e5,_0x4041ea,_0x3083dd,_0x2d8273)=>{let _0x326d4f=_0x1652bb(_0x1610e5,_0x4041ea,_0x3083dd);_0x326d4f&&_0x2d8273(_0x3083dd,_0x3083dd+_0x1610e5[0x0]['length'],_0x326d4f);};else{if(!_0x1652bb)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0x1da802,_0x148d03,_0x254eaf,_0xbde75d)=>_0xbde75d(_0x254eaf,_0x254eaf+_0x1da802[0x0]['length'],_0x1652bb);}}this['boundary']=_0x8190e0,this['maxLength']=_0x31cd70;}['createDeco'](_0x541a67){let _0x2565d5=new RangeSetBuilder(),_0x404857=_0x2565d5['add']['bind'](_0x2565d5);for(let {from:_0xe22ab8,to:_0x51ff43}of matchRanges(_0x541a67,this['maxLength']))iterMatches(_0x541a67['state']['doc'],this['regexp'],_0xe22ab8,_0x51ff43,(_0xd640f8,_0x5602c5)=>this['addMatch'](_0x5602c5,_0x541a67,_0xd640f8,_0x404857));return _0x2565d5['finish']();}['updateDeco'](_0x32fb48,_0x2f1c10){let _0x233208=0x3b9aca00,_0x16f27d=-0x1;return _0x32fb48['docChanged']&&_0x32fb48['changes']['iterChanges']((_0x25c543,_0x74d5f8,_0x1cca81,_0x26988f)=>{_0x26988f>=_0x32fb48['view']['viewport']['from']&&_0x1cca81<=_0x32fb48['view']['viewport']['to']&&(_0x233208=Math['min'](_0x1cca81,_0x233208),_0x16f27d=Math['max'](_0x26988f,_0x16f27d));}),_0x32fb48['viewportMoved']||_0x16f27d-_0x233208>0x3e8?this['createDeco'](_0x32fb48['view']):_0x16f27d>-0x1?this['updateRange'](_0x32fb48['view'],_0x2f1c10['map'](_0x32fb48['changes']),_0x233208,_0x16f27d):_0x2f1c10;}['updateRange'](_0x23cdef,_0x572b9b,_0x4ee5e8,_0x56e0c1){for(let _0x1d1776 of _0x23cdef['visibleRanges']){let _0x15d78c=Math['max'](_0x1d1776['from'],_0x4ee5e8),_0xfe2a61=Math['min'](_0x1d1776['to'],_0x56e0c1);if(_0xfe2a61>=_0x15d78c){let _0x2c6ed5=_0x23cdef['state']['doc']['lineAt'](_0x15d78c),_0x550731=_0x2c6ed5['to']<_0xfe2a61?_0x23cdef['state']['doc']['lineAt'](_0xfe2a61):_0x2c6ed5,_0x54a07a=Math['max'](_0x1d1776['from'],_0x2c6ed5['from']),_0x55ac86=Math['min'](_0x1d1776['to'],_0x550731['to']);if(this['boundary']){for(;_0x15d78c>_0x2c6ed5['from'];_0x15d78c--)if(this['boundary']['test'](_0x2c6ed5['text'][_0x15d78c-0x1-_0x2c6ed5['from']])){_0x54a07a=_0x15d78c;break;}for(;_0xfe2a61<_0x550731['to'];_0xfe2a61++)if(this['boundary']['test'](_0x550731['text'][_0xfe2a61-_0x550731['from']])){_0x55ac86=_0xfe2a61;break;}}let _0x5c99c4,_0xa80b29=[],_0x1d26c5=(_0x534e97,_0x3896cf,_0x31d8c5)=>_0xa80b29['push'](_0x31d8c5['range'](_0x534e97,_0x3896cf));if(_0x2c6ed5==_0x550731){for(this['regexp']['lastIndex']=_0x54a07a-_0x2c6ed5['from'];(_0x5c99c4=this['regexp']['exec'](_0x2c6ed5['text']))&&_0x5c99c4['index']<_0x55ac86-_0x2c6ed5['from'];)this['addMatch'](_0x5c99c4,_0x23cdef,_0x5c99c4['index']+_0x2c6ed5['from'],_0x1d26c5);}else iterMatches(_0x23cdef['state']['doc'],this['regexp'],_0x54a07a,_0x55ac86,(_0x478496,_0x2d9110)=>this['addMatch'](_0x2d9110,_0x23cdef,_0x478496,_0x1d26c5));_0x572b9b=_0x572b9b['update']({'filterFrom':_0x54a07a,'filterTo':_0x55ac86,'filter':(_0x1935f6,_0x33d24b)=>_0x1935f6<_0x54a07a||_0x33d24b>_0x55ac86,'add':_0xa80b29});}}return _0x572b9b;}}const UnicodeRegexpSupport=null!=/x/['unicode']?'gu':'g',_0x47b70c=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',UnicodeRegexpSupport),_0x3cb394={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 _0x18e569;if(null==_supportsTabSize&&'undefined'!=typeof document&&document['body']){let _0x1ce359=document['body']['style'];_supportsTabSize=null!=(null!==(_0x18e569=_0x1ce359['tabSize'])&&void 0x0!==_0x18e569?_0x18e569:_0x1ce359['MozTabSize']);}return _supportsTabSize||!0x1;}const _0x3df1f4=Facet['define']({'combine'(_0x2473e7){let _0x58e599=_0x592eca(_0x2473e7,{'render':null,'specialChars':_0x47b70c,'addSpecialChars':null});return(_0x58e599['replaceTabs']=!supportsTabSize())&&(_0x58e599['specialChars']=new RegExp('\x09|'+_0x58e599['specialChars']['source'],UnicodeRegexpSupport)),_0x58e599['addSpecialChars']&&(_0x58e599['specialChars']=new RegExp(_0x58e599['specialChars']['source']+'|'+_0x58e599['addSpecialChars']['source'],UnicodeRegexpSupport)),_0x58e599;}});function highlightSpecialChars(_0x43eb0f={}){return[_0x3df1f4['of'](_0x43eb0f),_0x594e31()];}let _0x2ac3c5=null;function _0x594e31(){return _0x2ac3c5||(_0x2ac3c5=_0x9d032b['fromClass'](class{constructor(_0x164798){this['view']=_0x164798,this['decorations']=Decoration['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x164798['state']['facet'](_0x3df1f4)),this['decorations']=this['decorator']['createDeco'](_0x164798);}['makeDecorator'](_0x35a594){return new MatchDecorator({'regexp':_0x35a594['specialChars'],'decoration':(_0x3e4fb7,_0x45104d,_0x370316)=>{let {doc:_0x40856e}=_0x45104d['state'],_0x248d65=codePointAt(_0x3e4fb7[0x0],0x0);if(0x9==_0x248d65){let _0x28dacd=_0x40856e['lineAt'](_0x370316),_0x209768=_0x45104d['state']['tabSize'],_0x52d6db=countColumn(_0x28dacd['text'],_0x209768,_0x370316-_0x28dacd['from']);return Decoration['replace']({'widget':new TabWidget((_0x209768-_0x52d6db%_0x209768)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x248d65]||(this['decorationCache'][_0x248d65]=Decoration['replace']({'widget':new SpecialCharWidget(_0x35a594,_0x248d65)}));},'boundary':_0x35a594['replaceTabs']?void 0x0:/[^]/});}['update'](_0x20cb43){let _0x453ef0=_0x20cb43['state']['facet'](_0x3df1f4);_0x20cb43['startState']['facet'](_0x3df1f4)!=_0x453ef0?(this['decorator']=this['makeDecorator'](_0x453ef0),this['decorations']=this['decorator']['createDeco'](_0x20cb43['view'])):this['decorations']=this['decorator']['updateDeco'](_0x20cb43,this['decorations']);}},{'decorations':_0x2f17d0=>_0x2f17d0['decorations']}));}const DefaultPlaceholder='•';function _0x42e670(_0x80f88e){return _0x80f88e>=0x20?DefaultPlaceholder:0xa==_0x80f88e?'␤':String['fromCharCode'](0x2400+_0x80f88e);}class SpecialCharWidget extends WidgetType{constructor(_0x42515e,_0x53c48c){super(),this['options']=_0x42515e,this['code']=_0x53c48c;}['eq'](_0xb33940){return _0xb33940['code']==this['code'];}['toDOM'](_0x19e8be){let _0x4f009f=_0x42e670(this['code']),_0x17a963=_0x19e8be['state']['phrase']('Control\x20character')+'\x20'+(_0x3cb394[this['code']]||'0x'+this['code']['toString'](0x10)),_0x106f0a=this['options']['render']&&this['options']['render'](this['code'],_0x17a963,_0x4f009f);if(_0x106f0a)return _0x106f0a;let _0x242d70=document['createElement']('span');return _0x242d70['textContent']=_0x4f009f,_0x242d70['title']=_0x17a963,_0x242d70['setAttribute']('aria-label',_0x17a963),_0x242d70['className']='cm-specialChar',_0x242d70;}['ignoreEvent'](){return!0x1;}}class TabWidget extends WidgetType{constructor(_0x438083){super(),this['width']=_0x438083;}['eq'](_0x40be35){return _0x40be35['width']==this['width'];}['toDOM'](){let _0x399b07=document['createElement']('span');return _0x399b07['textContent']='\x09',_0x399b07['className']='cm-tab',_0x399b07['style']['width']=this['width']+'px',_0x399b07;}['ignoreEvent'](){return!0x1;}}function highlightActiveLine(){return activeLineHighlighter;}const _0x359dd1=Decoration['line']({'class':'cm-activeLine'}),activeLineHighlighter=_0x9d032b['fromClass'](class{constructor(_0xa56f64){this['decorations']=this['getDeco'](_0xa56f64);}['update'](_0x3e11ad){(_0x3e11ad['docChanged']||_0x3e11ad['selectionSet'])&&(this['decorations']=this['getDeco'](_0x3e11ad['view']));}['getDeco'](_0x334c1a){let _0x57b9fb=-0x1,_0x1b7355=[];for(let _0x1670fc of _0x334c1a['state']['selection']['ranges']){let _0x731775=_0x334c1a['lineBlockAt'](_0x1670fc['head']);_0x731775['from']>_0x57b9fb&&(_0x1b7355['push'](_0x359dd1['range'](_0x731775['from'])),_0x57b9fb=_0x731775['from']);}return Decoration['set'](_0x1b7355);}},{'decorations':_0x53d766=>_0x53d766['decorations']}),_0x1c17b8=0x7d0;function rectangleFor(_0x5a81e2,_0x491f05,_0x5cb4be){let _0x29b272=Math['min'](_0x491f05['line'],_0x5cb4be['line']),_0x60d031=Math['max'](_0x491f05['line'],_0x5cb4be['line']),_0x513d4f=[];if(_0x491f05['off']>_0x1c17b8||_0x5cb4be['off']>_0x1c17b8||_0x491f05['col']<0x0||_0x5cb4be['col']<0x0){let _0x4d262e=Math['min'](_0x491f05['off'],_0x5cb4be['off']),_0x192ffb=Math['max'](_0x491f05['off'],_0x5cb4be['off']);for(let _0x9b15bb=_0x29b272;_0x9b15bb<=_0x60d031;_0x9b15bb++){let _0x19b32e=_0x5a81e2['doc']['line'](_0x9b15bb);_0x19b32e['length']<=_0x192ffb&&_0x513d4f['push'](EditorSelection['range'](_0x19b32e['from']+_0x4d262e,_0x19b32e['to']+_0x192ffb));}}else{let _0x33cf8b=Math['min'](_0x491f05['col'],_0x5cb4be['col']),_0x321181=Math['max'](_0x491f05['col'],_0x5cb4be['col']);for(let _0xb5f585=_0x29b272;_0xb5f585<=_0x60d031;_0xb5f585++){let _0x216d44=_0x5a81e2['doc']['line'](_0xb5f585),_0x52c7ff=_0x4f5fb3(_0x216d44['text'],_0x33cf8b,_0x5a81e2['tabSize'],!0x0);if(_0x52c7ff<0x0)_0x513d4f['push'](EditorSelection['cursor'](_0x216d44['to']));else{let _0x4d86b5=_0x4f5fb3(_0x216d44['text'],_0x321181,_0x5a81e2['tabSize']);_0x513d4f['push'](EditorSelection['range'](_0x216d44['from']+_0x52c7ff,_0x216d44['from']+_0x4d86b5));}}}return _0x513d4f;}function absoluteColumn(_0x59373a,_0x57350d){let _0x4bae96=_0x59373a['coordsAtPos'](_0x59373a['viewport']['from']);return _0x4bae96?Math['round'](Math['abs']((_0x4bae96['left']-_0x57350d)/_0x59373a['defaultCharacterWidth'])):-0x1;}function getPos(_0x5a9e79,_0x325257){let _0x21ffdf=_0x5a9e79['posAtCoords']({'x':_0x325257['clientX'],'y':_0x325257['clientY']},!0x1),_0x57a917=_0x5a9e79['state']['doc']['lineAt'](_0x21ffdf),_0x2c031f=_0x21ffdf-_0x57a917['from'],_0x5242fd=_0x2c031f>_0x1c17b8?-0x1:_0x2c031f==_0x57a917['length']?absoluteColumn(_0x5a9e79,_0x325257['clientX']):countColumn(_0x57a917['text'],_0x5a9e79['state']['tabSize'],_0x21ffdf-_0x57a917['from']);return{'line':_0x57a917['number'],'col':_0x5242fd,'off':_0x2c031f};}function rectangleSelectionStyle(_0x35f308,_0x3168ed){let _0x1f7cd4=getPos(_0x35f308,_0x3168ed),_0x7199b0=_0x35f308['state']['selection'];return _0x1f7cd4?{'update'(_0x35a6c8){if(_0x35a6c8['docChanged']){let _0x5954fd=_0x35a6c8['changes']['mapPos'](_0x35a6c8['startState']['doc']['line'](_0x1f7cd4['line'])['from']),_0x4421a8=_0x35a6c8['state']['doc']['lineAt'](_0x5954fd);_0x1f7cd4={'line':_0x4421a8['number'],'col':_0x1f7cd4['col'],'off':Math['min'](_0x1f7cd4['off'],_0x4421a8['length'])},_0x7199b0=_0x7199b0['map'](_0x35a6c8['changes']);}},'get'(_0x5776c0,_0x158370,_0x17adb4){let _0x51d7f0=getPos(_0x35f308,_0x5776c0);if(!_0x51d7f0)return _0x7199b0;let _0x3287ca=rectangleFor(_0x35f308['state'],_0x1f7cd4,_0x51d7f0);return _0x3287ca['length']?_0x17adb4?EditorSelection['create'](_0x3287ca['concat'](_0x7199b0['ranges'])):EditorSelection['create'](_0x3287ca):_0x7199b0;}}:null;}function rectangularSelection(_0x1f5e8f){return EditorView['mouseSelectionStyle']['of']((_0x45eb11,_0x534ac4)=>{return(_0x55f965=_0x534ac4)['altKey']&&0x0==_0x55f965['button']?rectangleSelectionStyle(_0x45eb11,_0x534ac4):null;var _0x55f965;});}const _0x5e555d={'Alt':[0x12,_0x33c333=>!!_0x33c333['altKey']],'Control':[0x11,_0x3fdd81=>!!_0x3fdd81['ctrlKey']],'Shift':[0x10,_0x400ed9=>!!_0x400ed9['shiftKey']],'Meta':[0x5b,_0x3fb089=>!!_0x3fb089['metaKey']]},_0xf02c8f={'style':'cursor:\x20crosshair'};function _0x127ebb(_0x36a309={}){let [_0x391445,_0x638ec8]=_0x5e555d[_0x36a309['key']||'Alt'],_0x5e1f7d=_0x9d032b['fromClass'](class{constructor(_0x330792){this['view']=_0x330792,this['isDown']=!0x1;}['set'](_0x1c5e84){this['isDown']!=_0x1c5e84&&(this['isDown']=_0x1c5e84,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0x1de672){this['set'](_0x1de672['keyCode']==_0x391445||_0x638ec8(_0x1de672));},'keyup'(_0x42c7ca){_0x42c7ca['keyCode']!=_0x391445&&_0x638ec8(_0x42c7ca)||this['set'](!0x1);},'mousemove'(_0x383184){this['set'](_0x638ec8(_0x383184));}}});return[_0x5e1f7d,EditorView['contentAttributes']['of'](_0xfbbedf=>{var _0x3c0e69;return(null===(_0x3c0e69=_0xfbbedf['plugin'](_0x5e1f7d))||void 0x0===_0x3c0e69?void 0x0:_0x3c0e69['isDown'])?_0xf02c8f:null;})];}const Outside='-10000px';class TooltipViewManager{constructor(_0x3229b2,_0x5284b7,_0x3f925a,_0x367076){this['facet']=_0x5284b7,this['createTooltipView']=_0x3f925a,this['removeTooltipView']=_0x367076,this['input']=_0x3229b2['state']['facet'](_0x5284b7),this['tooltips']=this['input']['filter'](t=>t);let _0xecdb52=null;this['tooltipViews']=this['tooltips']['map'](t=>_0xecdb52=_0x3f925a(t,_0xecdb52));}['update'](_0x534eda,_0x555e98){var _0x287036;let _0x367e30=_0x534eda['state']['facet'](this['facet']),_0x1e126b=_0x367e30['filter'](_0x2d2203=>_0x2d2203);if(_0x367e30===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x534eda);return!0x1;}let _0x3672b9=[],_0x5632a7=_0x555e98?[]:null;for(let _0x336c13=0x0;_0x336c13<_0x1e126b['length'];_0x336c13++){let _0x984fec=_0x1e126b[_0x336c13],_0x3345c3=-0x1;if(_0x984fec){for(let _0x375ffd=0x0;_0x375ffd<this['tooltips']['length'];_0x375ffd++){let _0x391a27=this['tooltips'][_0x375ffd];_0x391a27&&_0x391a27['create']==_0x984fec['create']&&(_0x3345c3=_0x375ffd);}if(_0x3345c3<0x0)_0x3672b9[_0x336c13]=this['createTooltipView'](_0x984fec,_0x336c13?_0x3672b9[_0x336c13-0x1]:null),_0x5632a7&&(_0x5632a7[_0x336c13]=!!_0x984fec['above']);else{let _0xa55cb1=_0x3672b9[_0x336c13]=this['tooltipViews'][_0x3345c3];_0x5632a7&&(_0x5632a7[_0x336c13]=_0x555e98[_0x3345c3]),_0xa55cb1['update']&&_0xa55cb1['update'](_0x534eda);}}}for(let t of this['tooltipViews'])_0x3672b9['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x287036=t['destroy'])||void 0x0===_0x287036||_0x287036['call'](t));return _0x555e98&&(_0x5632a7['forEach']((_0x243dbe,_0x1e4149)=>_0x555e98[_0x1e4149]=_0x243dbe),_0x555e98['length']=_0x5632a7['length']),this['input']=_0x367e30,this['tooltips']=_0x1e126b,this['tooltipViews']=_0x3672b9,!0x0;}}function _0x2c5747(_0x36f183){let _0x48bb44=_0x36f183['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0x48bb44['clientHeight'],'right':_0x48bb44['clientWidth']};}const tooltipConfig=Facet['define']({'combine':_0x18eca5=>{var _0x1da562,_0x3e3f3d,_0x3a6742;return{'position':_0x4ac4fc['ios']?'absolute':(null===(_0x1da562=_0x18eca5['find'](_0x263243=>_0x263243['position']))||void 0x0===_0x1da562?void 0x0:_0x1da562['position'])||'fixed','parent':(null===(_0x3e3f3d=_0x18eca5['find'](_0xad4594=>_0xad4594['parent']))||void 0x0===_0x3e3f3d?void 0x0:_0x3e3f3d['parent'])||null,'tooltipSpace':(null===(_0x3a6742=_0x18eca5['find'](_0x1c7012=>_0x1c7012['tooltipSpace']))||void 0x0===_0x3a6742?void 0x0:_0x3a6742['tooltipSpace'])||_0x2c5747};}}),knownHeight=new WeakMap(),tooltipPlugin=_0x9d032b['fromClass'](class{constructor(_0x2e2f9a){this['view']=_0x2e2f9a,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0x394ca1=_0x2e2f9a['state']['facet'](tooltipConfig);this['position']=_0x394ca1['position'],this['parent']=_0x394ca1['parent'],this['classes']=_0x2e2f9a['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(_0x2e2f9a,showTooltip,(t,_0x162b2e)=>this['createTooltip'](t,_0x162b2e),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(_0x196e15=>{Date['now']()>this['lastTransaction']-0x32&&_0x196e15['length']>0x0&&_0x196e15[_0x196e15['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x2e2f9a['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 _0x545a4d of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0x545a4d['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0x2fb949){_0x2fb949['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x31b33b=this['manager']['update'](_0x2fb949,this['above']);_0x31b33b&&this['observeIntersection']();let _0x4c2a44=_0x31b33b||_0x2fb949['geometryChanged'],_0xf8f795=_0x2fb949['state']['facet'](tooltipConfig);if(_0xf8f795['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0xf8f795['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0x4c2a44=!0x0;}if(_0xf8f795['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0xf8f795['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0x4c2a44=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0x4c2a44&&this['maybeMeasure']();}['createTooltip'](_0x4f8538,_0x3e69ea){let _0x58b690=_0x4f8538['create'](this['view']),_0x405055=_0x3e69ea?_0x3e69ea['dom']:null;if(_0x58b690['dom']['classList']['add']('cm-tooltip'),_0x4f8538['arrow']&&!_0x58b690['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0x171ded=document['createElement']('div');_0x171ded['className']='cm-tooltip-arrow',_0x58b690['dom']['appendChild'](_0x171ded);}return _0x58b690['dom']['style']['position']=this['position'],_0x58b690['dom']['style']['top']=Outside,_0x58b690['dom']['style']['left']='0px',this['container']['insertBefore'](_0x58b690['dom'],_0x405055),_0x58b690['mount']&&_0x58b690['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0x58b690['dom']),_0x58b690;}['destroy'](){var _0x584bbe,_0x149f8e,_0x3cf25e;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0x3af32c of this['manager']['tooltipViews'])_0x3af32c['dom']['remove'](),null===(_0x584bbe=_0x3af32c['destroy'])||void 0x0===_0x584bbe||_0x584bbe['call'](_0x3af32c);this['parent']&&this['container']['remove'](),null===(_0x149f8e=this['resizeObserver'])||void 0x0===_0x149f8e||_0x149f8e['disconnect'](),null===(_0x3cf25e=this['intersectionObserver'])||void 0x0===_0x3cf25e||_0x3cf25e['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0x3f2ac3=0x1,_0x3f5c6f=0x1,_0x58dfc2=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x367f7e}=this['manager']['tooltipViews'][0x0];if(_0x4ac4fc['gecko'])_0x58dfc2=_0x367f7e['offsetParent']!=this['container']['ownerDocument']['body'];else{if(_0x367f7e['style']['top']==Outside&&'0px'==_0x367f7e['style']['left']){let _0x13eb7f=_0x367f7e['getBoundingClientRect']();_0x58dfc2=Math['abs'](_0x13eb7f['top']+0x2710)>0x1||Math['abs'](_0x13eb7f['left'])>0x1;}}}if(_0x58dfc2||'absolute'==this['position']){if(this['parent']){let _0x47ce58=this['parent']['getBoundingClientRect']();_0x47ce58['width']&&_0x47ce58['height']&&(_0x3f2ac3=_0x47ce58['width']/this['parent']['offsetWidth'],_0x3f5c6f=_0x47ce58['height']/this['parent']['offsetHeight']);}else({scaleX:_0x3f2ac3,scaleY:_0x3f5c6f}=this['view']['viewState']);}let _0xf90ef3=this['view']['scrollDOM']['getBoundingClientRect'](),_0x48a32b=getScrollMargins(this['view']);return{'visible':{'left':_0xf90ef3['left']+_0x48a32b['left'],'top':_0xf90ef3['top']+_0x48a32b['top'],'right':_0xf90ef3['right']-_0x48a32b['right'],'bottom':_0xf90ef3['bottom']-_0x48a32b['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x4483b9)=>{let _0x4a54c=this['manager']['tooltipViews'][_0x4483b9];return _0x4a54c['getCoords']?_0x4a54c['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0x2be5ba})=>_0x2be5ba['getBoundingClientRect']()),'space':this['view']['state']['facet'](tooltipConfig)['tooltipSpace'](this['view']),'scaleX':_0x3f2ac3,'scaleY':_0x3f5c6f,'makeAbsolute':_0x58dfc2};}['writeMeasure'](_0x2faa0e){var _0x1d172c;if(_0x2faa0e['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0x127c91,space:_0x3f0218,scaleX:_0x1b40ee,scaleY:_0x617a9}=_0x2faa0e,_0x443c99=[];for(let _0x4e9241=0x0;_0x4e9241<this['manager']['tooltips']['length'];_0x4e9241++){let _0x49429b=this['manager']['tooltips'][_0x4e9241],_0x329fcc=this['manager']['tooltipViews'][_0x4e9241],{dom:_0x3f27b1}=_0x329fcc,_0x3dc4e9=_0x2faa0e['pos'][_0x4e9241],_0x3fe799=_0x2faa0e['size'][_0x4e9241];if(!_0x3dc4e9||!0x1!==_0x49429b['clip']&&(_0x3dc4e9['bottom']<=Math['max'](_0x127c91['top'],_0x3f0218['top'])||_0x3dc4e9['top']>=Math['min'](_0x127c91['bottom'],_0x3f0218['bottom'])||_0x3dc4e9['right']<Math['max'](_0x127c91['left'],_0x3f0218['left'])-0.1||_0x3dc4e9['left']>Math['min'](_0x127c91['right'],_0x3f0218['right'])+0.1)){_0x3f27b1['style']['top']=Outside;continue;}let _0x1e32e5=_0x49429b['arrow']?_0x329fcc['dom']['querySelector']('.cm-tooltip-arrow'):null,_0x4c4a32=_0x1e32e5?0x7:0x0,_0x5316ad=_0x3fe799['right']-_0x3fe799['left'],_0x29caa5=null!==(_0x1d172c=knownHeight['get'](_0x329fcc))&&void 0x0!==_0x1d172c?_0x1d172c:_0x3fe799['bottom']-_0x3fe799['top'],_0x595e76=_0x329fcc['offset']||noOffset,_0x1d7e39=this['view']['textDirection']==Direction['LTR'],_0xe1b35a=_0x3fe799['width']>_0x3f0218['right']-_0x3f0218['left']?_0x1d7e39?_0x3f0218['left']:_0x3f0218['right']-_0x3fe799['width']:_0x1d7e39?Math['max'](_0x3f0218['left'],Math['min'](_0x3dc4e9['left']-(_0x1e32e5?0xe:0x0)+_0x595e76['x'],_0x3f0218['right']-_0x5316ad)):Math['min'](Math['max'](_0x3f0218['left'],_0x3dc4e9['left']-_0x5316ad+(_0x1e32e5?0xe:0x0)-_0x595e76['x']),_0x3f0218['right']-_0x5316ad),_0x24002f=this['above'][_0x4e9241];!_0x49429b['strictSide']&&(_0x24002f?_0x3dc4e9['top']-_0x29caa5-_0x4c4a32-_0x595e76['y']<_0x3f0218['top']:_0x3dc4e9['bottom']+_0x29caa5+_0x4c4a32+_0x595e76['y']>_0x3f0218['bottom'])&&_0x24002f==_0x3f0218['bottom']-_0x3dc4e9['bottom']>_0x3dc4e9['top']-_0x3f0218['top']&&(_0x24002f=this['above'][_0x4e9241]=!_0x24002f);let _0x625652=(_0x24002f?_0x3dc4e9['top']-_0x3f0218['top']:_0x3f0218['bottom']-_0x3dc4e9['bottom'])-_0x4c4a32;if(_0x625652<_0x29caa5&&!0x1!==_0x329fcc['resize']){if(_0x625652<this['view']['defaultLineHeight']){_0x3f27b1['style']['top']=Outside;continue;}knownHeight['set'](_0x329fcc,_0x29caa5),_0x3f27b1['style']['height']=(_0x29caa5=_0x625652)/_0x617a9+'px';}else _0x3f27b1['style']['height']&&(_0x3f27b1['style']['height']='');let _0x358419=_0x24002f?_0x3dc4e9['top']-_0x29caa5-_0x4c4a32-_0x595e76['y']:_0x3dc4e9['bottom']+_0x4c4a32+_0x595e76['y'],_0x50cf5c=_0xe1b35a+_0x5316ad;if(!0x0!==_0x329fcc['overlap']){for(let _0x4aaeec of _0x443c99)_0x4aaeec['left']<_0x50cf5c&&_0x4aaeec['right']>_0xe1b35a&&_0x4aaeec['top']<_0x358419+_0x29caa5&&_0x4aaeec['bottom']>_0x358419&&(_0x358419=_0x24002f?_0x4aaeec['top']-_0x29caa5-0x2-_0x4c4a32:_0x4aaeec['bottom']+_0x4c4a32+0x2);}if('absolute'==this['position']?(_0x3f27b1['style']['top']=(_0x358419-_0x2faa0e['parent']['top'])/_0x617a9+'px',setLeftStyle(_0x3f27b1,(_0xe1b35a-_0x2faa0e['parent']['left'])/_0x1b40ee)):(_0x3f27b1['style']['top']=_0x358419/_0x617a9+'px',setLeftStyle(_0x3f27b1,_0xe1b35a/_0x1b40ee)),_0x1e32e5){let _0x178f1a=_0x3dc4e9['left']+(_0x1d7e39?_0x595e76['x']:-_0x595e76['x'])-(_0xe1b35a+0xe-0x7);_0x1e32e5['style']['left']=_0x178f1a/_0x1b40ee+'px';}!0x0!==_0x329fcc['overlap']&&_0x443c99['push']({'left':_0xe1b35a,'top':_0x358419,'right':_0x50cf5c,'bottom':_0x358419+_0x29caa5}),_0x3f27b1['classList']['toggle']('cm-tooltip-above',_0x24002f),_0x3f27b1['classList']['toggle']('cm-tooltip-below',!_0x24002f),_0x329fcc['positioned']&&_0x329fcc['positioned'](_0x2faa0e['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 _0x454d78 of this['manager']['tooltipViews'])_0x454d78['dom']['style']['top']=Outside;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function setLeftStyle(_0xa2b998,_0x3725b2){let _0x27d60e=parseInt(_0xa2b998['style']['left'],0xa);(isNaN(_0x27d60e)||Math['abs'](_0x3725b2-_0x27d60e)>0x1)&&(_0xa2b998['style']['left']=_0x3725b2+'px');}const _0x324d0a=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,_0x324d0a]});function getTooltip(_0x3e6881,_0x29ca12){let _0x2e01cb=_0x3e6881['plugin'](tooltipPlugin);if(!_0x2e01cb)return null;let _0x5e1f51=_0x2e01cb['manager']['tooltips']['indexOf'](_0x29ca12);return _0x5e1f51<0x0?null:_0x2e01cb['manager']['tooltipViews'][_0x5e1f51];}class GutterMarker extends _0x246d1a{['compare'](_0x356f80){return this==_0x356f80||this['constructor']==_0x356f80['constructor']&&this['eq'](_0x356f80);}['eq'](_0xb9ca12){return!0x1;}['destroy'](_0x111d3a){}}GutterMarker['prototype']['elementClass']='',GutterMarker['prototype']['toDOM']=void 0x0,GutterMarker['prototype']['mapMode']=_0x10aa7f['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(_0x334f5a){return[gutters(),activeGutters['of']({...defaults$1,..._0x334f5a})];}const unfixGutters=Facet['define']({'combine':_0x51c938=>_0x51c938['some'](_0x2cf681=>_0x2cf681)});function gutters(_0x209c27){return[gutterView];}const gutterView=_0x9d032b['fromClass'](class{constructor(_0x19a2af){this['view']=_0x19a2af,this['domAfter']=null,this['prevViewport']=_0x19a2af['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']=_0x19a2af['state']['facet'](activeGutters)['map'](_0x4289ca=>new SingleGutterView(_0x19a2af,_0x4289ca)),this['fixed']=!_0x19a2af['state']['facet'](unfixGutters);for(let _0x4535c7 of this['gutters'])'after'==_0x4535c7['config']['side']?this['getDOMAfter']()['appendChild'](_0x4535c7['dom']):this['dom']['appendChild'](_0x4535c7['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0x19a2af['scrollDOM']['insertBefore'](this['dom'],_0x19a2af['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'](_0x107583){if(this['updateGutters'](_0x107583)){let _0x5892b8=this['prevViewport'],_0x4997a2=_0x107583['view']['viewport'],_0xfaf0a=Math['min'](_0x5892b8['to'],_0x4997a2['to'])-Math['max'](_0x5892b8['from'],_0x4997a2['from']);this['syncGutters'](_0xfaf0a<0.8*(_0x4997a2['to']-_0x4997a2['from']));}if(_0x107583['geometryChanged']){let _0x2dd94e=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0x2dd94e,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0x2dd94e);}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']=_0x107583['view']['viewport'];}['syncGutters'](_0x3f6fa4){let _0xa3c662=this['dom']['nextSibling'];_0x3f6fa4&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0x7ef478=RangeSet['iter'](this['view']['state']['facet'](gutterLineClass),this['view']['viewport']['from']),_0x404281=[],_0x25a408=this['gutters']['map'](_0x2c6891=>new UpdateContext(_0x2c6891,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x2fdbbf of this['view']['viewportLineBlocks'])if(_0x404281['length']&&(_0x404281=[]),Array['isArray'](_0x2fdbbf['type'])){let _0x4c8583=!0x0;for(let _0x29214d of _0x2fdbbf['type'])if(_0x29214d['type']==_0x5841fb['Text']&&_0x4c8583){_0x35be4a(_0x7ef478,_0x404281,_0x29214d['from']);for(let _0x1b1771 of _0x25a408)_0x1b1771['line'](this['view'],_0x29214d,_0x404281);_0x4c8583=!0x1;}else{if(_0x29214d['widget']){for(let _0x14fb2f of _0x25a408)_0x14fb2f['widget'](this['view'],_0x29214d);}}}else{if(_0x2fdbbf['type']==_0x5841fb['Text']){_0x35be4a(_0x7ef478,_0x404281,_0x2fdbbf['from']);for(let _0x3fa7ab of _0x25a408)_0x3fa7ab['line'](this['view'],_0x2fdbbf,_0x404281);}else{if(_0x2fdbbf['widget']){for(let _0x1cf1a3 of _0x25a408)_0x1cf1a3['widget'](this['view'],_0x2fdbbf);}}}for(let _0x57ce0a of _0x25a408)_0x57ce0a['finish']();_0x3f6fa4&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0xa3c662),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}['updateGutters'](_0x19f310){let _0x546b58=_0x19f310['startState']['facet'](activeGutters),_0x55723b=_0x19f310['state']['facet'](activeGutters),_0x19e158=_0x19f310['docChanged']||_0x19f310['heightChanged']||_0x19f310['viewportChanged']||!RangeSet['eq'](_0x19f310['startState']['facet'](gutterLineClass),_0x19f310['state']['facet'](gutterLineClass),_0x19f310['view']['viewport']['from'],_0x19f310['view']['viewport']['to']);if(_0x546b58==_0x55723b){for(let _0x11f3ca of this['gutters'])_0x11f3ca['update'](_0x19f310)&&(_0x19e158=!0x0);}else{_0x19e158=!0x0;let _0x29febd=[];for(let _0x273711 of _0x55723b){let _0x34dd0f=_0x546b58['indexOf'](_0x273711);_0x34dd0f<0x0?_0x29febd['push'](new SingleGutterView(this['view'],_0x273711)):(this['gutters'][_0x34dd0f]['update'](_0x19f310),_0x29febd['push'](this['gutters'][_0x34dd0f]));}for(let _0x2925c1 of this['gutters'])_0x2925c1['dom']['remove'](),_0x29febd['indexOf'](_0x2925c1)<0x0&&_0x2925c1['destroy']();for(let _0x3b9a1b of _0x29febd)'after'==_0x3b9a1b['config']['side']?this['getDOMAfter']()['appendChild'](_0x3b9a1b['dom']):this['dom']['appendChild'](_0x3b9a1b['dom']);this['gutters']=_0x29febd;}return _0x19e158;}['destroy'](){for(let _0x4ecb90 of this['gutters'])_0x4ecb90['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0xb4cbe5=>EditorView['scrollMargins']['of'](_0x5fe4cd=>{let _0x4fba9c=_0x5fe4cd['plugin'](_0xb4cbe5);if(!_0x4fba9c||0x0==_0x4fba9c['gutters']['length']||!_0x4fba9c['fixed'])return null;let _0x3989fe=_0x4fba9c['dom']['offsetWidth']*_0x5fe4cd['scaleX'],_0x455a61=_0x4fba9c['domAfter']?_0x4fba9c['domAfter']['offsetWidth']*_0x5fe4cd['scaleX']:0x0;return _0x5fe4cd['textDirection']==Direction['LTR']?{'left':_0x3989fe,'right':_0x455a61}:{'right':_0x3989fe,'left':_0x455a61};})});function _0x3928f7(_0x5814ec){return Array['isArray'](_0x5814ec)?_0x5814ec:[_0x5814ec];}function _0x35be4a(_0x2eec3b,_0x2ec12c,_0x6fca96){for(;_0x2eec3b['value']&&_0x2eec3b['from']<=_0x6fca96;)_0x2eec3b['from']==_0x6fca96&&_0x2ec12c['push'](_0x2eec3b['value']),_0x2eec3b['next']();}class UpdateContext{constructor(_0x55e088,_0x2fc26d,_0x26e615){this['gutter']=_0x55e088,this['height']=_0x26e615,this['i']=0x0,this['cursor']=RangeSet['iter'](_0x55e088['markers'],_0x2fc26d['from']);}['addElement'](_0x4eef82,_0x556440,_0x534a63){let {gutter:_0x26b163}=this,_0x4f1624=(_0x556440['top']-this['height'])/_0x4eef82['scaleY'],_0x479fd5=_0x556440['height']/_0x4eef82['scaleY'];if(this['i']==_0x26b163['elements']['length']){let _0x5788a5=new GutterElement(_0x4eef82,_0x479fd5,_0x4f1624,_0x534a63);_0x26b163['elements']['push'](_0x5788a5),_0x26b163['dom']['appendChild'](_0x5788a5['dom']);}else _0x26b163['elements'][this['i']]['update'](_0x4eef82,_0x479fd5,_0x4f1624,_0x534a63);this['height']=_0x556440['bottom'],this['i']++;}['line'](_0x35be8d,_0x1f0ae6,_0x52636e){let _0x35c0fa=[];_0x35be4a(this['cursor'],_0x35c0fa,_0x1f0ae6['from']),_0x52636e['length']&&(_0x35c0fa=_0x35c0fa['concat'](_0x52636e));let _0x5b7f92=this['gutter']['config']['lineMarker'](_0x35be8d,_0x1f0ae6,_0x35c0fa);_0x5b7f92&&_0x35c0fa['unshift'](_0x5b7f92);let _0x1dd218=this['gutter'];(0x0!=_0x35c0fa['length']||_0x1dd218['config']['renderEmptyElements'])&&this['addElement'](_0x35be8d,_0x1f0ae6,_0x35c0fa);}['widget'](_0x44fbec,_0x4776cd){let _0xc35505=this['gutter']['config']['widgetMarker'](_0x44fbec,_0x4776cd['widget'],_0x4776cd),_0x40e36f=_0xc35505?[_0xc35505]:null;for(let _0xa9b131 of _0x44fbec['state']['facet'](gutterWidgetClass)){let _0x333910=_0xa9b131(_0x44fbec,_0x4776cd['widget'],_0x4776cd);_0x333910&&(_0x40e36f||(_0x40e36f=[]))['push'](_0x333910);}_0x40e36f&&this['addElement'](_0x44fbec,_0x4776cd,_0x40e36f);}['finish'](){let _0xc387d3=this['gutter'];for(;_0xc387d3['elements']['length']>this['i'];){let _0x2f8a52=_0xc387d3['elements']['pop']();_0xc387d3['dom']['removeChild'](_0x2f8a52['dom']),_0x2f8a52['destroy']();}}}class SingleGutterView{constructor(_0x4614e8,_0x2e3c43){this['view']=_0x4614e8,this['config']=_0x2e3c43,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x388d40 in _0x2e3c43['domEventHandlers'])this['dom']['addEventListener'](_0x388d40,_0x43bd8d=>{let _0x1f32e0,_0x38ed8c=_0x43bd8d['target'];if(_0x38ed8c!=this['dom']&&this['dom']['contains'](_0x38ed8c)){for(;_0x38ed8c['parentNode']!=this['dom'];)_0x38ed8c=_0x38ed8c['parentNode'];let _0x17dc78=_0x38ed8c['getBoundingClientRect']();_0x1f32e0=(_0x17dc78['top']+_0x17dc78['bottom'])/0x2;}else _0x1f32e0=_0x43bd8d['clientY'];let _0x5e56d0=_0x4614e8['lineBlockAtHeight'](_0x1f32e0-_0x4614e8['documentTop']);_0x2e3c43['domEventHandlers'][_0x388d40](_0x4614e8,_0x5e56d0,_0x43bd8d)&&_0x43bd8d['preventDefault']();});this['markers']=_0x3928f7(_0x2e3c43['markers'](_0x4614e8)),_0x2e3c43['initialSpacer']&&(this['spacer']=new GutterElement(_0x4614e8,0x0,0x0,[_0x2e3c43['initialSpacer'](_0x4614e8)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0x272477){let _0x21c8b=this['markers'];if(this['markers']=_0x3928f7(this['config']['markers'](_0x272477['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x5cafe8=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0x272477);_0x5cafe8!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0x272477['view'],0x0,0x0,[_0x5cafe8]);}let _0x392dba=_0x272477['view']['viewport'];return!RangeSet['eq'](this['markers'],_0x21c8b,_0x392dba['from'],_0x392dba['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0x272477);}['destroy'](){for(let _0x3fe014 of this['elements'])_0x3fe014['destroy']();}}class GutterElement{constructor(_0x497eec,_0x140e7f,_0x5f0404,_0x316c84){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x497eec,_0x140e7f,_0x5f0404,_0x316c84);}['update'](_0x319441,_0x46b2c0,_0x2095a8,_0x2a5516){this['height']!=_0x46b2c0&&(this['height']=_0x46b2c0,this['dom']['style']['height']=_0x46b2c0+'px'),this['above']!=_0x2095a8&&(this['dom']['style']['marginTop']=(this['above']=_0x2095a8)?_0x2095a8+'px':''),_0x4c4e0d(this['markers'],_0x2a5516)||this['setMarkers'](_0x319441,_0x2a5516);}['setMarkers'](_0x5161e8,_0x1a1995){let _0xc08f51='cm-gutterElement',_0x4bdc35=this['dom']['firstChild'];for(let _0x202e97=0x0,_0x48eca6=0x0;;){let _0x396744=_0x48eca6,_0x10f674=_0x202e97<_0x1a1995['length']?_0x1a1995[_0x202e97++]:null,_0x36a343=!0x1;if(_0x10f674){let _0x1ac161=_0x10f674['elementClass'];_0x1ac161&&(_0xc08f51+='\x20'+_0x1ac161);for(let _0x511b20=_0x48eca6;_0x511b20<this['markers']['length'];_0x511b20++)if(this['markers'][_0x511b20]['compare'](_0x10f674)){_0x396744=_0x511b20,_0x36a343=!0x0;break;}}else _0x396744=this['markers']['length'];for(;_0x48eca6<_0x396744;){let _0x386f6f=this['markers'][_0x48eca6++];if(_0x386f6f['toDOM']){_0x386f6f['destroy'](_0x4bdc35);let _0x22571f=_0x4bdc35['nextSibling'];_0x4bdc35['remove'](),_0x4bdc35=_0x22571f;}}if(!_0x10f674)break;_0x10f674['toDOM']&&(_0x36a343?_0x4bdc35=_0x4bdc35['nextSibling']:this['dom']['insertBefore'](_0x10f674['toDOM'](_0x5161e8),_0x4bdc35)),_0x36a343&&_0x48eca6++;}this['dom']['className']=_0xc08f51,this['markers']=_0x1a1995;}['destroy'](){this['setMarkers'](null,[]);}}function _0x4c4e0d(_0x346360,_0xe0da1a){if(_0x346360['length']!=_0xe0da1a['length'])return!0x1;for(let _0x59e6e0=0x0;_0x59e6e0<_0x346360['length'];_0x59e6e0++)if(!_0x346360[_0x59e6e0]['compare'](_0xe0da1a[_0x59e6e0]))return!0x1;return!0x0;}const _0xc40530=Facet['define'](),lineNumberWidgetMarker=Facet['define'](),_0x3cb8e9=Facet['define']({'combine':_0x577b74=>_0x592eca(_0x577b74,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x218497,_0x3df40e){let _0x103308=Object['assign']({},_0x218497);for(let _0x5b1f17 in _0x3df40e){let _0x2ee604=_0x103308[_0x5b1f17],_0x1d2b68=_0x3df40e[_0x5b1f17];_0x103308[_0x5b1f17]=_0x2ee604?(_0xe4429,_0x1af0be,_0x1e0a37)=>_0x2ee604(_0xe4429,_0x1af0be,_0x1e0a37)||_0x1d2b68(_0xe4429,_0x1af0be,_0x1e0a37):_0x1d2b68;}return _0x103308;}})});class _0x33d9fa extends GutterMarker{constructor(_0x68c76c){super(),this['number']=_0x68c76c;}['eq'](_0x4dfadc){return this['number']==_0x4dfadc['number'];}['toDOM'](){return document['createTextNode'](this['number']);}}function formatNumber(_0x3584d9,_0x42bae3){return _0x3584d9['state']['facet'](_0x3cb8e9)['formatNumber'](_0x42bae3,_0x3584d9['state']);}const lineNumberGutter=activeGutters['compute']([_0x3cb8e9],_0xc22d01=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0x20bf62=>_0x20bf62['state']['facet'](_0xc40530),'lineMarker':(_0x17cc90,_0x439cc7,_0x6b2c6c)=>_0x6b2c6c['some'](_0x7ac41f=>_0x7ac41f['toDOM'])?null:new _0x33d9fa(formatNumber(_0x17cc90,_0x17cc90['state']['doc']['lineAt'](_0x439cc7['from'])['number'])),'widgetMarker':(_0x49c94a,_0x5da12f,_0x2b6881)=>{for(let _0x1478ac of _0x49c94a['state']['facet'](lineNumberWidgetMarker)){let _0x225771=_0x1478ac(_0x49c94a,_0x5da12f,_0x2b6881);if(_0x225771)return _0x225771;}return null;},'lineMarkerChange':_0x35cba9=>_0x35cba9['startState']['facet'](_0x3cb8e9)!=_0x35cba9['state']['facet'](_0x3cb8e9),'initialSpacer':_0x3ab9fb=>new _0x33d9fa(formatNumber(_0x3ab9fb,_0x40db5d(_0x3ab9fb['state']['doc']['lines']))),'updateSpacer'(_0x5156bd,_0x15e27b){let _0x1662a3=formatNumber(_0x15e27b['view'],_0x40db5d(_0x15e27b['view']['state']['doc']['lines']));return _0x1662a3==_0x5156bd['number']?_0x5156bd:new _0x33d9fa(_0x1662a3);},'domEventHandlers':_0xc22d01['facet'](_0x3cb8e9)['domEventHandlers'],'side':'before'}));function _0x2dd5c0(_0x452dd5={}){return[_0x3cb8e9['of'](_0x452dd5),gutters(),lineNumberGutter];}function _0x40db5d(_0x2c61ec){let _0x39d62d=0x9;for(;_0x39d62d<_0x2c61ec;)_0x39d62d=0xa*_0x39d62d+0x9;return _0x39d62d;}const activeLineGutterMarker=new class extends GutterMarker{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),activeLineGutterHighlighter=gutterLineClass['compute'](['selection'],_0x37c320=>{let _0x596fa9=[],_0x49ab89=-0x1;for(let _0xd9ad44 of _0x37c320['selection']['ranges']){let _0x3e1d4c=_0x37c320['doc']['lineAt'](_0xd9ad44['head'])['from'];_0x3e1d4c>_0x49ab89&&(_0x49ab89=_0x3e1d4c,_0x596fa9['push'](activeLineGutterMarker['range'](_0x3e1d4c)));}return RangeSet['of'](_0x596fa9);});function highlightActiveLineGutter(){return activeLineGutterHighlighter;}const DefaultBufferLength=0x400;let nextPropID=0x0;class _0x5ab845{constructor(_0x25c17e,_0x119fa0){this['from']=_0x25c17e,this['to']=_0x119fa0;}}class _0x114f67{constructor(_0x56417d={}){this['id']=nextPropID++,this['perNode']=!!_0x56417d['perNode'],this['deserialize']=_0x56417d['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');}),this['combine']=_0x56417d['combine']||null;}['add'](_0x283bcd){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x283bcd&&(_0x283bcd=_0x5d390a['match'](_0x283bcd)),_0x36d8ae=>{let _0x8ba29f=_0x283bcd(_0x36d8ae);return void 0x0===_0x8ba29f?null:[this,_0x8ba29f];};}}_0x114f67['closedBy']=new _0x114f67({'deserialize':_0x5df18b=>_0x5df18b['split']('\x20')}),_0x114f67['openedBy']=new _0x114f67({'deserialize':_0x37ab8f=>_0x37ab8f['split']('\x20')}),_0x114f67['group']=new _0x114f67({'deserialize':_0x400a89=>_0x400a89['split']('\x20')}),_0x114f67['isolate']=new _0x114f67({'deserialize':_0x2f7530=>{if(_0x2f7530&&'rtl'!=_0x2f7530&&'ltr'!=_0x2f7530&&'auto'!=_0x2f7530)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x2f7530);return _0x2f7530||'auto';}}),_0x114f67['contextHash']=new _0x114f67({'perNode':!0x0}),_0x114f67['lookAhead']=new _0x114f67({'perNode':!0x0}),_0x114f67['mounted']=new _0x114f67({'perNode':!0x0});class MountedTree{constructor(_0x3b2d12,_0x1095b0,_0x2c9860){this['tree']=_0x3b2d12,this['overlay']=_0x1095b0,this['parser']=_0x2c9860;}static['get'](_0x36e200){return _0x36e200&&_0x36e200['props']&&_0x36e200['props'][_0x114f67['mounted']['id']];}}const _0x54ac87=Object['create'](null);class _0x5d390a{constructor(_0x7c9cf4,_0x2f528f,_0x3cb754,_0x905608=0x0){this['name']=_0x7c9cf4,this['props']=_0x2f528f,this['id']=_0x3cb754,this['flags']=_0x905608;}static['define'](_0x304a2f){let _0x1e2d64=_0x304a2f['props']&&_0x304a2f['props']['length']?Object['create'](null):_0x54ac87,_0x59c2e2=(_0x304a2f['top']?0x1:0x0)|(_0x304a2f['skipped']?0x2:0x0)|(_0x304a2f['error']?0x4:0x0)|(null==_0x304a2f['name']?0x8:0x0),_0x1a5698=new _0x5d390a(_0x304a2f['name']||'',_0x1e2d64,_0x304a2f['id'],_0x59c2e2);if(_0x304a2f['props']){for(let _0x4c8863 of _0x304a2f['props'])if(Array['isArray'](_0x4c8863)||(_0x4c8863=_0x4c8863(_0x1a5698)),_0x4c8863){if(_0x4c8863[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x1e2d64[_0x4c8863[0x0]['id']]=_0x4c8863[0x1];}}return _0x1a5698;}['prop'](_0xcac480){return this['props'][_0xcac480['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'](_0x506d1d){if('string'==typeof _0x506d1d){if(this['name']==_0x506d1d)return!0x0;let _0x27f103=this['prop'](_0x114f67['group']);return!!_0x27f103&&_0x27f103['indexOf'](_0x506d1d)>-0x1;}return this['id']==_0x506d1d;}static['match'](_0x11aa66){let _0xa1b17c=Object['create'](null);for(let _0x128174 in _0x11aa66)for(let _0x3c96d7 of _0x128174['split']('\x20'))_0xa1b17c[_0x3c96d7]=_0x11aa66[_0x128174];return _0x241633=>{for(let _0x163fa0=_0x241633['prop'](_0x114f67['group']),_0xc83d95=-0x1;_0xc83d95<(_0x163fa0?_0x163fa0['length']:0x0);_0xc83d95++){let _0x36a5c0=_0xa1b17c[_0xc83d95<0x0?_0x241633['name']:_0x163fa0[_0xc83d95]];if(_0x36a5c0)return _0x36a5c0;}};}}_0x5d390a['none']=new _0x5d390a('',Object['create'](null),0x0,0x8);class NodeSet{constructor(_0x4124b6){this['types']=_0x4124b6;for(let _0x51fae3=0x0;_0x51fae3<_0x4124b6['length'];_0x51fae3++)if(_0x4124b6[_0x51fae3]['id']!=_0x51fae3)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0x5c8094){let _0x4ba146=[];for(let _0x230bc5 of this['types']){let _0x53a75e=null;for(let _0x2e8016 of _0x5c8094){let _0x2ebf62=_0x2e8016(_0x230bc5);if(_0x2ebf62){_0x53a75e||(_0x53a75e=Object['assign']({},_0x230bc5['props']));let _0x5aa609=_0x2ebf62[0x1],_0x21e1f8=_0x2ebf62[0x0];_0x21e1f8['combine']&&_0x21e1f8['id']in _0x53a75e&&(_0x5aa609=_0x21e1f8['combine'](_0x53a75e[_0x21e1f8['id']],_0x5aa609)),_0x53a75e[_0x21e1f8['id']]=_0x5aa609;}}_0x4ba146['push'](_0x53a75e?new _0x5d390a(_0x230bc5['name'],_0x53a75e,_0x230bc5['id'],_0x230bc5['flags']):_0x230bc5);}return new NodeSet(_0x4ba146);}}const _0x496006=new WeakMap(),_0x182bea=new WeakMap();var IterMode;!function(_0x1f0d57){_0x1f0d57[_0x1f0d57['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x1f0d57[_0x1f0d57['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x1f0d57[_0x1f0d57['IgnoreMounts']=0x4]='IgnoreMounts',_0x1f0d57[_0x1f0d57['IgnoreOverlays']=0x8]='IgnoreOverlays';}(IterMode||(IterMode={}));class _0x4939af{constructor(_0x1cdbfd,_0x5a7b53,_0x4e5b77,_0xb3dd36,_0x5535b3){if(this['type']=_0x1cdbfd,this['children']=_0x5a7b53,this['positions']=_0x4e5b77,this['length']=_0xb3dd36,this['props']=null,_0x5535b3&&_0x5535b3['length']){this['props']=Object['create'](null);for(let [_0x15abe1,_0x5c714e]of _0x5535b3)this['props']['number'==typeof _0x15abe1?_0x15abe1:_0x15abe1['id']]=_0x5c714e;}}['toString'](){let _0x5967d0=MountedTree['get'](this);if(_0x5967d0&&!_0x5967d0['overlay'])return _0x5967d0['tree']['toString']();let _0x4e72e5='';for(let _0x535587 of this['children']){let _0x53c60c=_0x535587['toString']();_0x53c60c&&(_0x4e72e5&&(_0x4e72e5+=','),_0x4e72e5+=_0x53c60c);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x4e72e5['length']?'('+_0x4e72e5+')':''):_0x4e72e5;}['cursor'](_0x1f740d=0x0){return new _0x24c28f(this['topNode'],_0x1f740d);}['cursorAt'](_0x5f08cd,_0x90044e=0x0,_0x4f1dfa=0x0){let _0xeb864b=_0x496006['get'](this)||this['topNode'],_0x1c79e1=new _0x24c28f(_0xeb864b);return _0x1c79e1['moveTo'](_0x5f08cd,_0x90044e),_0x496006['set'](this,_0x1c79e1['_tree']),_0x1c79e1;}get['topNode'](){return new _0x5c29ec(this,0x0,0x0,null);}['resolve'](_0x7c8ba4,_0x3bba45=0x0){let _0x5e422c=_0x4a5308(_0x496006['get'](this)||this['topNode'],_0x7c8ba4,_0x3bba45,!0x1);return _0x496006['set'](this,_0x5e422c),_0x5e422c;}['resolveInner'](_0x3395da,_0x3b46d3=0x0){let _0x5f2f40=_0x4a5308(_0x182bea['get'](this)||this['topNode'],_0x3395da,_0x3b46d3,!0x0);return _0x182bea['set'](this,_0x5f2f40),_0x5f2f40;}['resolveStack'](_0x501b4f,_0x395034=0x0){return stackIterator(this,_0x501b4f,_0x395034);}['iterate'](_0xb9993d){let {enter:_0x1b3c1b,leave:_0xc7eca0,from:_0x1e6f3d=0x0,to:_0x8a7d38=this['length']}=_0xb9993d,_0x2fdb8d=_0xb9993d['mode']||0x0,_0x14a949=(_0x2fdb8d&IterMode['IncludeAnonymous'])>0x0;for(let _0x4f3538=this['cursor'](_0x2fdb8d|IterMode['IncludeAnonymous']);;){let _0x39497f=!0x1;if(_0x4f3538['from']<=_0x8a7d38&&_0x4f3538['to']>=_0x1e6f3d&&(!_0x14a949&&_0x4f3538['type']['isAnonymous']||!0x1!==_0x1b3c1b(_0x4f3538))){if(_0x4f3538['firstChild']())continue;_0x39497f=!0x0;}for(;_0x39497f&&_0xc7eca0&&(_0x14a949||!_0x4f3538['type']['isAnonymous'])&&_0xc7eca0(_0x4f3538),!_0x4f3538['nextSibling']();){if(!_0x4f3538['parent']())return;_0x39497f=!0x0;}}}['prop'](_0x28bfae){return _0x28bfae['perNode']?this['props']?this['props'][_0x28bfae['id']]:void 0x0:this['type']['prop'](_0x28bfae);}get['propValues'](){let _0x10f969=[];if(this['props']){for(let _0xb8b6fb in this['props'])_0x10f969['push']([+_0xb8b6fb,this['props'][_0xb8b6fb]]);}return _0x10f969;}['balance'](_0x878f78={}){return this['children']['length']<=0x8?this:_0x5ddae6(_0x5d390a['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0x297e69,_0x2a5e9c,_0x4b7ec2)=>new _0x4939af(this['type'],_0x297e69,_0x2a5e9c,_0x4b7ec2,this['propValues']),_0x878f78['makeTree']||((_0x383877,_0x283ffd,_0x410638)=>new _0x4939af(_0x5d390a['none'],_0x383877,_0x283ffd,_0x410638)));}static['build'](_0x1729ef){return _0x44e5a9(_0x1729ef);}}_0x4939af['empty']=new _0x4939af(_0x5d390a['none'],[],[],0x0);class FlatBufferCursor{constructor(_0x5a823a,_0x570072){this['buffer']=_0x5a823a,this['index']=_0x570072;}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 _0x7e5629{constructor(_0x24b88e,_0x8c62d4,_0x529047){this['buffer']=_0x24b88e,this['length']=_0x8c62d4,this['set']=_0x529047;}get['type'](){return _0x5d390a['none'];}['toString'](){let _0x2d2ab2=[];for(let _0x4e34bb=0x0;_0x4e34bb<this['buffer']['length'];)_0x2d2ab2['push'](this['childString'](_0x4e34bb)),_0x4e34bb=this['buffer'][_0x4e34bb+0x3];return _0x2d2ab2['join'](',');}['childString'](_0x37b4bf){let _0x4cb4dc=this['buffer'][_0x37b4bf],_0x4f475d=this['buffer'][_0x37b4bf+0x3],_0x278945=this['set']['types'][_0x4cb4dc],_0x1ed65b=_0x278945['name'];if(/\W/['test'](_0x1ed65b)&&!_0x278945['isError']&&(_0x1ed65b=JSON['stringify'](_0x1ed65b)),_0x4f475d==(_0x37b4bf+=0x4))return _0x1ed65b;let _0xeb8282=[];for(;_0x37b4bf<_0x4f475d;)_0xeb8282['push'](this['childString'](_0x37b4bf)),_0x37b4bf=this['buffer'][_0x37b4bf+0x3];return _0x1ed65b+'('+_0xeb8282['join'](',')+')';}['findChild'](_0x1ac082,_0x646cb6,_0x9f9d70,_0x47e996,_0x76eb0){let {buffer:_0x57a970}=this,_0x450a1e=-0x1;for(let _0x1ec4f8=_0x1ac082;_0x1ec4f8!=_0x646cb6&&!(_0x1cac89(_0x76eb0,_0x47e996,_0x57a970[_0x1ec4f8+0x1],_0x57a970[_0x1ec4f8+0x2])&&(_0x450a1e=_0x1ec4f8,_0x9f9d70>0x0));_0x1ec4f8=_0x57a970[_0x1ec4f8+0x3]);return _0x450a1e;}['slice'](_0x73feab,_0x31cbb3,_0x2c001b){let _0x3f674e=this['buffer'],_0x52c172=new Uint16Array(_0x31cbb3-_0x73feab),_0x4db1c3=0x0;for(let _0x5c5880=_0x73feab,_0x1b1c65=0x0;_0x5c5880<_0x31cbb3;){_0x52c172[_0x1b1c65++]=_0x3f674e[_0x5c5880++],_0x52c172[_0x1b1c65++]=_0x3f674e[_0x5c5880++]-_0x2c001b;let _0x54dc41=_0x52c172[_0x1b1c65++]=_0x3f674e[_0x5c5880++]-_0x2c001b;_0x52c172[_0x1b1c65++]=_0x3f674e[_0x5c5880++]-_0x73feab,_0x4db1c3=Math['max'](_0x4db1c3,_0x54dc41);}return new _0x7e5629(_0x52c172,_0x4db1c3,this['set']);}}function _0x1cac89(_0x1cb955,_0x1f066e,_0x499a5e,_0x50f2f){switch(_0x1cb955){case-0x2:return _0x499a5e<_0x1f066e;case-0x1:return _0x50f2f>=_0x1f066e&&_0x499a5e<_0x1f066e;case 0x0:return _0x499a5e<_0x1f066e&&_0x50f2f>_0x1f066e;case 0x1:return _0x499a5e<=_0x1f066e&&_0x50f2f>_0x1f066e;case 0x2:return _0x50f2f>_0x1f066e;case 0x4:return!0x0;}}function _0x4a5308(_0x3a3de3,_0x2e2f3d,_0x370e0e,_0x5d24cb){for(var _0x4fab26;_0x3a3de3['from']==_0x3a3de3['to']||(_0x370e0e<0x1?_0x3a3de3['from']>=_0x2e2f3d:_0x3a3de3['from']>_0x2e2f3d)||(_0x370e0e>-0x1?_0x3a3de3['to']<=_0x2e2f3d:_0x3a3de3['to']<_0x2e2f3d);){let _0xd11867=!_0x5d24cb&&_0x3a3de3 instanceof _0x5c29ec&&_0x3a3de3['index']<0x0?null:_0x3a3de3['parent'];if(!_0xd11867)return _0x3a3de3;_0x3a3de3=_0xd11867;}let _0xdd4b4c=_0x5d24cb?0x0:IterMode['IgnoreOverlays'];if(_0x5d24cb){for(let _0x4b6953=_0x3a3de3,_0x3c9b90=_0x4b6953['parent'];_0x3c9b90;_0x4b6953=_0x3c9b90,_0x3c9b90=_0x4b6953['parent'])_0x4b6953 instanceof _0x5c29ec&&_0x4b6953['index']<0x0&&(null===(_0x4fab26=_0x3c9b90['enter'](_0x2e2f3d,_0x370e0e,_0xdd4b4c))||void 0x0===_0x4fab26?void 0x0:_0x4fab26['from'])!=_0x4b6953['from']&&(_0x3a3de3=_0x3c9b90);}for(;;){let _0x49b875=_0x3a3de3['enter'](_0x2e2f3d,_0x370e0e,_0xdd4b4c);if(!_0x49b875)return _0x3a3de3;_0x3a3de3=_0x49b875;}}class _0x2087b8{['cursor'](_0x18918d=0x0){return new _0x24c28f(this,_0x18918d);}['getChild'](_0x448d5c,_0x5bdf82=null,_0x10602a=null){let _0x18ea80=getChildren(this,_0x448d5c,_0x5bdf82,_0x10602a);return _0x18ea80['length']?_0x18ea80[0x0]:null;}['getChildren'](_0x2181ff,_0x20addc=null,_0x1231d1=null){return getChildren(this,_0x2181ff,_0x20addc,_0x1231d1);}['resolve'](_0x5a47cc,_0x2a9ae9=0x0){return _0x4a5308(this,_0x5a47cc,_0x2a9ae9,!0x1);}['resolveInner'](_0x443166,_0x5a2a7e=0x0){return _0x4a5308(this,_0x443166,_0x5a2a7e,!0x0);}['matchContext'](_0x53fec9){return matchNodeContext(this['parent'],_0x53fec9);}['enterUnfinishedNodesBefore'](_0x30fac3){let _0x3e576b=this['childBefore'](_0x30fac3),_0x31eaf4=this;for(;_0x3e576b;){let _0x5a63f6=_0x3e576b['lastChild'];if(!_0x5a63f6||_0x5a63f6['to']!=_0x3e576b['to'])break;_0x5a63f6['type']['isError']&&_0x5a63f6['from']==_0x5a63f6['to']?(_0x31eaf4=_0x3e576b,_0x3e576b=_0x5a63f6['prevSibling']):_0x3e576b=_0x5a63f6;}return _0x31eaf4;}get['node'](){return this;}get['next'](){return this['parent'];}}class _0x5c29ec extends _0x2087b8{constructor(_0xeaf996,_0x7b2265,_0x27b65d,_0x24c955){super(),this['_tree']=_0xeaf996,this['from']=_0x7b2265,this['index']=_0x27b65d,this['_parent']=_0x24c955;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0x4610b6,_0x3fd50e,_0x317ced,_0x380458,_0x2da7ed=0x0){for(let _0x1d7677=this;;){for(let {children:_0x33b89d,positions:_0x53c1be}=_0x1d7677['_tree'],_0x5f3cd2=_0x3fd50e>0x0?_0x33b89d['length']:-0x1;_0x4610b6!=_0x5f3cd2;_0x4610b6+=_0x3fd50e){let _0x306101=_0x33b89d[_0x4610b6],_0x43c3d8=_0x53c1be[_0x4610b6]+_0x1d7677['from'];if(_0x1cac89(_0x380458,_0x317ced,_0x43c3d8,_0x43c3d8+_0x306101['length'])){if(_0x306101 instanceof _0x7e5629){if(_0x2da7ed&IterMode['ExcludeBuffers'])continue;let _0x44b3b5=_0x306101['findChild'](0x0,_0x306101['buffer']['length'],_0x3fd50e,_0x317ced-_0x43c3d8,_0x380458);if(_0x44b3b5>-0x1)return new _0x5bf1a1(new BufferContext(_0x1d7677,_0x306101,_0x4610b6,_0x43c3d8),null,_0x44b3b5);}else{if(_0x2da7ed&IterMode['IncludeAnonymous']||!_0x306101['type']['isAnonymous']||_0x5ef8ea(_0x306101)){let _0x1c104f;if(!(_0x2da7ed&IterMode['IgnoreMounts'])&&(_0x1c104f=MountedTree['get'](_0x306101))&&!_0x1c104f['overlay'])return new _0x5c29ec(_0x1c104f['tree'],_0x43c3d8,_0x4610b6,_0x1d7677);let _0x3218eb=new _0x5c29ec(_0x306101,_0x43c3d8,_0x4610b6,_0x1d7677);return _0x2da7ed&IterMode['IncludeAnonymous']||!_0x3218eb['type']['isAnonymous']?_0x3218eb:_0x3218eb['nextChild'](_0x3fd50e<0x0?_0x306101['children']['length']-0x1:0x0,_0x3fd50e,_0x317ced,_0x380458);}}}}if(_0x2da7ed&IterMode['IncludeAnonymous']||!_0x1d7677['type']['isAnonymous'])return null;if(_0x4610b6=_0x1d7677['index']>=0x0?_0x1d7677['index']+_0x3fd50e:_0x3fd50e<0x0?-0x1:_0x1d7677['_parent']['_tree']['children']['length'],_0x1d7677=_0x1d7677['_parent'],!_0x1d7677)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'](_0x1a7bbd){return this['nextChild'](0x0,0x1,_0x1a7bbd,0x2);}['childBefore'](_0x4994b1){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0x4994b1,-0x2);}['enter'](_0x1975ff,_0x57f1c6,_0x4c70fe=0x0){let _0xd560a1;if(!(_0x4c70fe&IterMode['IgnoreOverlays'])&&(_0xd560a1=MountedTree['get'](this['_tree']))&&_0xd560a1['overlay']){let _0x25d1fc=_0x1975ff-this['from'];for(let {from:_0x11a9f1,to:_0x58068e}of _0xd560a1['overlay'])if((_0x57f1c6>0x0?_0x11a9f1<=_0x25d1fc:_0x11a9f1<_0x25d1fc)&&(_0x57f1c6<0x0?_0x58068e>=_0x25d1fc:_0x58068e>_0x25d1fc))return new _0x5c29ec(_0xd560a1['tree'],_0xd560a1['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0x1975ff,_0x57f1c6,_0x4c70fe);}['nextSignificantParent'](){let _0x49a670=this;for(;_0x49a670['type']['isAnonymous']&&_0x49a670['_parent'];)_0x49a670=_0x49a670['_parent'];return _0x49a670;}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(_0x3d893e,_0xf9917,_0x366d61,_0x121201){let _0x4223e3=_0x3d893e['cursor'](),_0x645b37=[];if(!_0x4223e3['firstChild']())return _0x645b37;if(null!=_0x366d61){for(let _0x13ba89=!0x1;!_0x13ba89;)if(_0x13ba89=_0x4223e3['type']['is'](_0x366d61),!_0x4223e3['nextSibling']())return _0x645b37;}for(;;){if(null!=_0x121201&&_0x4223e3['type']['is'](_0x121201))return _0x645b37;if(_0x4223e3['type']['is'](_0xf9917)&&_0x645b37['push'](_0x4223e3['node']),!_0x4223e3['nextSibling']())return null==_0x121201?_0x645b37:[];}}function matchNodeContext(_0xe43815,_0x59867a,_0xcb74f1=_0x59867a['length']-0x1){for(let _0xe013aa=_0xe43815;_0xcb74f1>=0x0;_0xe013aa=_0xe013aa['parent']){if(!_0xe013aa)return!0x1;if(!_0xe013aa['type']['isAnonymous']){if(_0x59867a[_0xcb74f1]&&_0x59867a[_0xcb74f1]!=_0xe013aa['name'])return!0x1;_0xcb74f1--;}}return!0x0;}class BufferContext{constructor(_0x6109a7,_0x28bd6f,_0x45d743,_0x4c254d){this['parent']=_0x6109a7,this['buffer']=_0x28bd6f,this['index']=_0x45d743,this['start']=_0x4c254d;}}class _0x5bf1a1 extends _0x2087b8{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(_0x40b45c,_0x11d9c5,_0x3f15bd){super(),this['context']=_0x40b45c,this['_parent']=_0x11d9c5,this['index']=_0x3f15bd,this['type']=_0x40b45c['buffer']['set']['types'][_0x40b45c['buffer']['buffer'][_0x3f15bd]];}['child'](_0x1ff1da,_0x5f2d03,_0x216c64){let {buffer:_0xc67068}=this['context'],_0xb1f939=_0xc67068['findChild'](this['index']+0x4,_0xc67068['buffer'][this['index']+0x3],_0x1ff1da,_0x5f2d03-this['context']['start'],_0x216c64);return _0xb1f939<0x0?null:new _0x5bf1a1(this['context'],this,_0xb1f939);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0x421303){return this['child'](0x1,_0x421303,0x2);}['childBefore'](_0x2e2622){return this['child'](-0x1,_0x2e2622,-0x2);}['enter'](_0x1f3f9a,_0x551a74,_0x30931d=0x0){if(_0x30931d&IterMode['ExcludeBuffers'])return null;let {buffer:_0x5e0d2d}=this['context'],_0x8ffef9=_0x5e0d2d['findChild'](this['index']+0x4,_0x5e0d2d['buffer'][this['index']+0x3],_0x551a74>0x0?0x1:-0x1,_0x1f3f9a-this['context']['start'],_0x551a74);return _0x8ffef9<0x0?null:new _0x5bf1a1(this['context'],this,_0x8ffef9);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0x493fd4){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x493fd4,_0x493fd4,0x0,0x4);}get['nextSibling'](){let {buffer:_0x740ef4}=this['context'],_0xf27e5=_0x740ef4['buffer'][this['index']+0x3];return _0xf27e5<(this['_parent']?_0x740ef4['buffer'][this['_parent']['index']+0x3]:_0x740ef4['buffer']['length'])?new _0x5bf1a1(this['context'],this['_parent'],_0xf27e5):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x5ec264}=this['context'],_0x5f150b=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0x5f150b?this['externalSibling'](-0x1):new _0x5bf1a1(this['context'],this['_parent'],_0x5ec264['findChild'](_0x5f150b,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0x42ad38=[],_0x2131d2=[],{buffer:_0x1b6eec}=this['context'],_0xc4a7ec=this['index']+0x4,_0x2ca44a=_0x1b6eec['buffer'][this['index']+0x3];if(_0x2ca44a>_0xc4a7ec){let _0x626d37=_0x1b6eec['buffer'][this['index']+0x1];_0x42ad38['push'](_0x1b6eec['slice'](_0xc4a7ec,_0x2ca44a,_0x626d37)),_0x2131d2['push'](0x0);}return new _0x4939af(this['type'],_0x42ad38,_0x2131d2,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}}function iterStack(_0x5b2eda){if(!_0x5b2eda['length'])return null;let _0x493ab9=0x0,_0x3efde6=_0x5b2eda[0x0];for(let _0x4fd166=0x1;_0x4fd166<_0x5b2eda['length'];_0x4fd166++){let _0x3dac6d=_0x5b2eda[_0x4fd166];(_0x3dac6d['from']>_0x3efde6['from']||_0x3dac6d['to']<_0x3efde6['to'])&&(_0x3efde6=_0x3dac6d,_0x493ab9=_0x4fd166);}let _0x397eb5=_0x3efde6 instanceof _0x5c29ec&&_0x3efde6['index']<0x0?null:_0x3efde6['parent'],_0x43602f=_0x5b2eda['slice']();return _0x397eb5?_0x43602f[_0x493ab9]=_0x397eb5:_0x43602f['splice'](_0x493ab9,0x1),new StackIterator(_0x43602f,_0x3efde6);}class StackIterator{constructor(_0x44eeb0,_0x2f74ed){this['heads']=_0x44eeb0,this['node']=_0x2f74ed;}get['next'](){return iterStack(this['heads']);}}function stackIterator(_0x342a93,_0x153e6f,_0x37351a){let _0x34a4d9=_0x342a93['resolveInner'](_0x153e6f,_0x37351a),_0x4403b9=null;for(let _0xf4fe09=_0x34a4d9 instanceof _0x5c29ec?_0x34a4d9:_0x34a4d9['context']['parent'];_0xf4fe09;_0xf4fe09=_0xf4fe09['parent'])if(_0xf4fe09['index']<0x0){let _0xccc904=_0xf4fe09['parent'];(_0x4403b9||(_0x4403b9=[_0x34a4d9]))['push'](_0xccc904['resolve'](_0x153e6f,_0x37351a)),_0xf4fe09=_0xccc904;}else{let _0x5034fe=MountedTree['get'](_0xf4fe09['tree']);if(_0x5034fe&&_0x5034fe['overlay']&&_0x5034fe['overlay'][0x0]['from']<=_0x153e6f&&_0x5034fe['overlay'][_0x5034fe['overlay']['length']-0x1]['to']>=_0x153e6f){let _0x31d69e=new _0x5c29ec(_0x5034fe['tree'],_0x5034fe['overlay'][0x0]['from']+_0xf4fe09['from'],-0x1,_0xf4fe09);(_0x4403b9||(_0x4403b9=[_0x34a4d9]))['push'](_0x4a5308(_0x31d69e,_0x153e6f,_0x37351a,!0x1));}}return _0x4403b9?iterStack(_0x4403b9):_0x34a4d9;}class _0x24c28f{get['name'](){return this['type']['name'];}constructor(_0x1a0b33,_0x48b494=0x0){if(this['mode']=_0x48b494,this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,_0x1a0b33 instanceof _0x5c29ec)this['yieldNode'](_0x1a0b33);else{this['_tree']=_0x1a0b33['context']['parent'],this['buffer']=_0x1a0b33['context'];for(let _0x4ef226=_0x1a0b33['_parent'];_0x4ef226;_0x4ef226=_0x4ef226['_parent'])this['stack']['unshift'](_0x4ef226['index']);this['bufferNode']=_0x1a0b33,this['yieldBuf'](_0x1a0b33['index']);}}['yieldNode'](_0x42d318){return!!_0x42d318&&(this['_tree']=_0x42d318,this['type']=_0x42d318['type'],this['from']=_0x42d318['from'],this['to']=_0x42d318['to'],!0x0);}['yieldBuf'](_0x15ab20,_0x308517){this['index']=_0x15ab20;let {start:_0x41484f,buffer:_0x43c9df}=this['buffer'];return this['type']=_0x308517||_0x43c9df['set']['types'][_0x43c9df['buffer'][_0x15ab20]],this['from']=_0x41484f+_0x43c9df['buffer'][_0x15ab20+0x1],this['to']=_0x41484f+_0x43c9df['buffer'][_0x15ab20+0x2],!0x0;}['yield'](_0x53e8c3){return!!_0x53e8c3&&(_0x53e8c3 instanceof _0x5c29ec?(this['buffer']=null,this['yieldNode'](_0x53e8c3)):(this['buffer']=_0x53e8c3['context'],this['yieldBuf'](_0x53e8c3['index'],_0x53e8c3['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x488ba2,_0x66dbc,_0x1add82){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x488ba2<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x488ba2,_0x66dbc,_0x1add82,this['mode']));let {buffer:_0x402d4b}=this['buffer'],_0x1a0bd9=_0x402d4b['findChild'](this['index']+0x4,_0x402d4b['buffer'][this['index']+0x3],_0x488ba2,_0x66dbc-this['buffer']['start'],_0x1add82);return!(_0x1a0bd9<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x1a0bd9));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x2c33ec){return this['enterChild'](0x1,_0x2c33ec,0x2);}['childBefore'](_0x2c181b){return this['enterChild'](-0x1,_0x2c181b,-0x2);}['enter'](_0x52a5d1,_0x361904,_0x533a28=this['mode']){return this['buffer']?!(_0x533a28&IterMode['ExcludeBuffers'])&&this['enterChild'](0x1,_0x52a5d1,_0x361904):this['yield'](this['_tree']['enter'](_0x52a5d1,_0x361904,_0x533a28));}['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 _0x4d39f5=this['mode']&IterMode['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0x4d39f5);}['sibling'](_0x44955b){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0x44955b,_0x44955b,0x0,0x4,this['mode']));let {buffer:_0x4a37e4}=this['buffer'],_0x5c1d34=this['stack']['length']-0x1;if(_0x44955b<0x0){let _0x963a26=_0x5c1d34<0x0?0x0:this['stack'][_0x5c1d34]+0x4;if(this['index']!=_0x963a26)return this['yieldBuf'](_0x4a37e4['findChild'](_0x963a26,this['index'],-0x1,0x0,0x4));}else{let _0x350ed9=_0x4a37e4['buffer'][this['index']+0x3];if(_0x350ed9<(_0x5c1d34<0x0?_0x4a37e4['buffer']['length']:_0x4a37e4['buffer'][this['stack'][_0x5c1d34]+0x3]))return this['yieldBuf'](_0x350ed9);}return _0x5c1d34<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0x44955b,_0x44955b,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0xec363a){let _0x4893e5,_0x1870e4,{buffer:_0x52be5a}=this;if(_0x52be5a){if(_0xec363a>0x0){if(this['index']<_0x52be5a['buffer']['buffer']['length'])return!0x1;}else{for(let _0xde201a=0x0;_0xde201a<this['index'];_0xde201a++)if(_0x52be5a['buffer']['buffer'][_0xde201a+0x3]<this['index'])return!0x1;}({index:_0x4893e5,parent:_0x1870e4}=_0x52be5a);}else({index:_0x4893e5,_parent:_0x1870e4}=this['_tree']);for(;_0x1870e4;{index:_0x4893e5,_parent:_0x1870e4}=_0x1870e4)if(_0x4893e5>-0x1)for(let _0x272a84=_0x4893e5+_0xec363a,_0x262433=_0xec363a<0x0?-0x1:_0x1870e4['_tree']['children']['length'];_0x272a84!=_0x262433;_0x272a84+=_0xec363a){let _0x1c2a6f=_0x1870e4['_tree']['children'][_0x272a84];if(this['mode']&IterMode['IncludeAnonymous']||_0x1c2a6f instanceof _0x7e5629||!_0x1c2a6f['type']['isAnonymous']||_0x5ef8ea(_0x1c2a6f))return!0x1;}return!0x0;}['move'](_0x1f4ef9,_0x5f1ce7){if(_0x5f1ce7&&this['enterChild'](_0x1f4ef9,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0x1f4ef9))return!0x0;if(this['atLastNode'](_0x1f4ef9)||!this['parent']())return!0x1;}}['next'](_0x58d37c=!0x0){return this['move'](0x1,_0x58d37c);}['prev'](_0x240c53=!0x0){return this['move'](-0x1,_0x240c53);}['moveTo'](_0x2feb4c,_0x5c0997=0x0){for(;(this['from']==this['to']||(_0x5c0997<0x1?this['from']>=_0x2feb4c:this['from']>_0x2feb4c)||(_0x5c0997>-0x1?this['to']<=_0x2feb4c:this['to']<_0x2feb4c))&&this['parent'](););for(;this['enterChild'](0x1,_0x2feb4c,_0x5c0997););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0x1e58a7=this['bufferNode'],_0x59608b=null,_0x1ba7fb=0x0;if(_0x1e58a7&&_0x1e58a7['context']==this['buffer']){t:for(let _0x253238=this['index'],_0x9daa9f=this['stack']['length'];_0x9daa9f>=0x0;){for(let _0x4605fa=_0x1e58a7;_0x4605fa;_0x4605fa=_0x4605fa['_parent'])if(_0x4605fa['index']==_0x253238){if(_0x253238==this['index'])return _0x4605fa;_0x59608b=_0x4605fa,_0x1ba7fb=_0x9daa9f+0x1;break t;}_0x253238=this['stack'][--_0x9daa9f];}}for(let _0x242276=_0x1ba7fb;_0x242276<this['stack']['length'];_0x242276++)_0x59608b=new _0x5bf1a1(this['buffer'],_0x59608b,this['stack'][_0x242276]);return this['bufferNode']=new _0x5bf1a1(this['buffer'],_0x59608b,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0x13a4f0,_0x2d4e78){for(let _0x58faf9=0x0;;){let _0x5b4994=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x13a4f0(this)){if(this['firstChild']()){_0x58faf9++;continue;}this['type']['isAnonymous']||(_0x5b4994=!0x0);}for(;;){if(_0x5b4994&&_0x2d4e78&&_0x2d4e78(this),_0x5b4994=this['type']['isAnonymous'],!_0x58faf9)return;if(this['nextSibling']())break;this['parent'](),_0x58faf9--,_0x5b4994=!0x0;}}}['matchContext'](_0x5c35f9){if(!this['buffer'])return matchNodeContext(this['node']['parent'],_0x5c35f9);let {buffer:_0x476c9c}=this['buffer'],{types:_0x4fa890}=_0x476c9c['set'];for(let _0x574c21=_0x5c35f9['length']-0x1,_0x21ef44=this['stack']['length']-0x1;_0x574c21>=0x0;_0x21ef44--){if(_0x21ef44<0x0)return matchNodeContext(this['_tree'],_0x5c35f9,_0x574c21);let _0x54c9eb=_0x4fa890[_0x476c9c['buffer'][this['stack'][_0x21ef44]]];if(!_0x54c9eb['isAnonymous']){if(_0x5c35f9[_0x574c21]&&_0x5c35f9[_0x574c21]!=_0x54c9eb['name'])return!0x1;_0x574c21--;}}return!0x0;}}function _0x5ef8ea(_0x410ffa){return _0x410ffa['children']['some'](_0x35b4d3=>_0x35b4d3 instanceof _0x7e5629||!_0x35b4d3['type']['isAnonymous']||_0x5ef8ea(_0x35b4d3));}function _0x44e5a9(_0x42adc6){var _0x176c53;let {buffer:_0x5b4d35,nodeSet:_0x416aaa,maxBufferLength:_0x515a2a=DefaultBufferLength,reused:_0x51dde6=[],minRepeatType:_0x3afe92=_0x416aaa['types']['length']}=_0x42adc6,_0x25f9ee=Array['isArray'](_0x5b4d35)?new FlatBufferCursor(_0x5b4d35,_0x5b4d35['length']):_0x5b4d35,_0x5240d8=_0x416aaa['types'],_0xc5e6fb=0x0,_0x5f4d5f=0x0;function _0x28dc34(_0x25ceaa,_0x261d68,_0x4fe490,_0x476524,_0x1f87a9,_0xf19e3){let {id:_0xbd3ade,start:_0x41d2d6,end:_0x4762f1,size:_0x3c5309}=_0x25f9ee,_0x13b323=_0x5f4d5f,_0x4efc7b=_0xc5e6fb;if(_0x3c5309<0x0){if(_0x25f9ee['next'](),-0x1==_0x3c5309){let _0x1253c8=_0x51dde6[_0xbd3ade];return _0x4fe490['push'](_0x1253c8),void _0x476524['push'](_0x41d2d6-_0x25ceaa);}if(-0x3==_0x3c5309)return void(_0xc5e6fb=_0xbd3ade);if(-0x4==_0x3c5309)return void(_0x5f4d5f=_0xbd3ade);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x3c5309);}let _0x538238,_0x1a924e,_0x1554da=_0x5240d8[_0xbd3ade],_0x418149=_0x41d2d6-_0x25ceaa;if(_0x4762f1-_0x41d2d6<=_0x515a2a&&(_0x1a924e=function(_0x420484,_0xef2ff8){let _0x2b5a6f=_0x25f9ee['fork'](),_0x21f1dc=0x0,_0x20fd55=0x0,_0x7727e2=0x0,_0x5ca84a=_0x2b5a6f['end']-_0x515a2a,_0x2e7b6e={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0x3142db=_0x2b5a6f['pos']-_0x420484;_0x2b5a6f['pos']>_0x3142db;){let _0x4783d0=_0x2b5a6f['size'];if(_0x2b5a6f['id']==_0xef2ff8&&_0x4783d0>=0x0){_0x2e7b6e['size']=_0x21f1dc,_0x2e7b6e['start']=_0x20fd55,_0x2e7b6e['skip']=_0x7727e2,_0x7727e2+=0x4,_0x21f1dc+=0x4,_0x2b5a6f['next']();continue;}let _0x1d0b1e=_0x2b5a6f['pos']-_0x4783d0;if(_0x4783d0<0x0||_0x1d0b1e<_0x3142db||_0x2b5a6f['start']<_0x5ca84a)break;let _0x392c45=_0x2b5a6f['id']>=_0x3afe92?0x4:0x0,_0x5e77c6=_0x2b5a6f['start'];for(_0x2b5a6f['next']();_0x2b5a6f['pos']>_0x1d0b1e;){if(_0x2b5a6f['size']<0x0){if(-0x3!=_0x2b5a6f['size'])break t;_0x392c45+=0x4;}else _0x2b5a6f['id']>=_0x3afe92&&(_0x392c45+=0x4);_0x2b5a6f['next']();}_0x20fd55=_0x5e77c6,_0x21f1dc+=_0x4783d0,_0x7727e2+=_0x392c45;}return(_0xef2ff8<0x0||_0x21f1dc==_0x420484)&&(_0x2e7b6e['size']=_0x21f1dc,_0x2e7b6e['start']=_0x20fd55,_0x2e7b6e['skip']=_0x7727e2),_0x2e7b6e['size']>0x4?_0x2e7b6e:void 0x0;}(_0x25f9ee['pos']-_0x261d68,_0x1f87a9))){let _0x2c9b3f=new Uint16Array(_0x1a924e['size']-_0x1a924e['skip']),_0x16f44f=_0x25f9ee['pos']-_0x1a924e['size'],_0xc07364=_0x2c9b3f['length'];for(;_0x25f9ee['pos']>_0x16f44f;)_0xc07364=_0x41a48c(_0x1a924e['start'],_0x2c9b3f,_0xc07364);_0x538238=new _0x7e5629(_0x2c9b3f,_0x4762f1-_0x1a924e['start'],_0x416aaa),_0x418149=_0x1a924e['start']-_0x25ceaa;}else{let _0x501e0d=_0x25f9ee['pos']-_0x3c5309;_0x25f9ee['next']();let _0x18c3d7=[],_0x2f9a07=[],_0x5a4ec1=_0xbd3ade>=_0x3afe92?_0xbd3ade:-0x1,_0x747fe5=0x0,_0x5d06b7=_0x4762f1;for(;_0x25f9ee['pos']>_0x501e0d;)_0x5a4ec1>=0x0&&_0x25f9ee['id']==_0x5a4ec1&&_0x25f9ee['size']>=0x0?(_0x25f9ee['end']<=_0x5d06b7-_0x515a2a&&(_0xc2893b(_0x18c3d7,_0x2f9a07,_0x41d2d6,_0x747fe5,_0x25f9ee['end'],_0x5d06b7,_0x5a4ec1,_0x13b323,_0x4efc7b),_0x747fe5=_0x18c3d7['length'],_0x5d06b7=_0x25f9ee['end']),_0x25f9ee['next']()):_0xf19e3>0x9c4?_0x4b6379(_0x41d2d6,_0x501e0d,_0x18c3d7,_0x2f9a07):_0x28dc34(_0x41d2d6,_0x501e0d,_0x18c3d7,_0x2f9a07,_0x5a4ec1,_0xf19e3+0x1);if(_0x5a4ec1>=0x0&&_0x747fe5>0x0&&_0x747fe5<_0x18c3d7['length']&&_0xc2893b(_0x18c3d7,_0x2f9a07,_0x41d2d6,_0x747fe5,_0x41d2d6,_0x5d06b7,_0x5a4ec1,_0x13b323,_0x4efc7b),_0x18c3d7['reverse'](),_0x2f9a07['reverse'](),_0x5a4ec1>-0x1&&_0x747fe5>0x0){let _0x471621=function(_0x4bdc98,_0x5c3b88){return(_0x355b77,_0x3865ce,_0xf14594)=>{let _0x313488,_0x28258,_0x11cec0=0x0,_0x1c0aae=_0x355b77['length']-0x1;if(_0x1c0aae>=0x0&&(_0x313488=_0x355b77[_0x1c0aae])instanceof _0x4939af){if(!_0x1c0aae&&_0x313488['type']==_0x4bdc98&&_0x313488['length']==_0xf14594)return _0x313488;(_0x28258=_0x313488['prop'](_0x114f67['lookAhead']))&&(_0x11cec0=_0x3865ce[_0x1c0aae]+_0x313488['length']+_0x28258);}return _0x4be5da(_0x4bdc98,_0x355b77,_0x3865ce,_0xf14594,_0x11cec0,_0x5c3b88);};}(_0x1554da,_0x4efc7b);_0x538238=_0x5ddae6(_0x1554da,_0x18c3d7,_0x2f9a07,0x0,_0x18c3d7['length'],0x0,_0x4762f1-_0x41d2d6,_0x471621,_0x471621);}else _0x538238=_0x4be5da(_0x1554da,_0x18c3d7,_0x2f9a07,_0x4762f1-_0x41d2d6,_0x13b323-_0x4762f1,_0x4efc7b);}_0x4fe490['push'](_0x538238),_0x476524['push'](_0x418149);}function _0x4b6379(_0x36865b,_0x2ffbe2,_0x7000bd,_0x150427){let _0x158018=[],_0x187590=0x0,_0x28ad4f=-0x1;for(;_0x25f9ee['pos']>_0x2ffbe2;){let {id:_0x33aefc,start:_0x2f1302,end:_0x24c0e7,size:_0x2afc05}=_0x25f9ee;if(_0x2afc05>0x4)_0x25f9ee['next']();else{if(_0x28ad4f>-0x1&&_0x2f1302<_0x28ad4f)break;_0x28ad4f<0x0&&(_0x28ad4f=_0x24c0e7-_0x515a2a),_0x158018['push'](_0x33aefc,_0x2f1302,_0x24c0e7),_0x187590++,_0x25f9ee['next']();}}if(_0x187590){let _0x3a8b3c=new Uint16Array(0x4*_0x187590),_0x2747ad=_0x158018[_0x158018['length']-0x2];for(let _0xd3fae0=_0x158018['length']-0x3,_0x4c15ed=0x0;_0xd3fae0>=0x0;_0xd3fae0-=0x3)_0x3a8b3c[_0x4c15ed++]=_0x158018[_0xd3fae0],_0x3a8b3c[_0x4c15ed++]=_0x158018[_0xd3fae0+0x1]-_0x2747ad,_0x3a8b3c[_0x4c15ed++]=_0x158018[_0xd3fae0+0x2]-_0x2747ad,_0x3a8b3c[_0x4c15ed++]=_0x4c15ed;_0x7000bd['push'](new _0x7e5629(_0x3a8b3c,_0x158018[0x2]-_0x2747ad,_0x416aaa)),_0x150427['push'](_0x2747ad-_0x36865b);}}function _0xc2893b(_0x1fe8b7,_0x701ad6,_0x2e7cfb,_0xd5b004,_0x25a2fa,_0x50d1cd,_0x24d00f,_0x54674e,_0x944ac2){let _0x34e581=[],_0x3cb63a=[];for(;_0x1fe8b7['length']>_0xd5b004;)_0x34e581['push'](_0x1fe8b7['pop']()),_0x3cb63a['push'](_0x701ad6['pop']()+_0x2e7cfb-_0x25a2fa);_0x1fe8b7['push'](_0x4be5da(_0x416aaa['types'][_0x24d00f],_0x34e581,_0x3cb63a,_0x50d1cd-_0x25a2fa,_0x54674e-_0x50d1cd,_0x944ac2)),_0x701ad6['push'](_0x25a2fa-_0x2e7cfb);}function _0x4be5da(_0x7bd021,_0x446661,_0x3d3764,_0x1eb910,_0x1922ad,_0x2072eb,_0x1622c7){if(_0x2072eb){let _0x547f53=[_0x114f67['contextHash'],_0x2072eb];_0x1622c7=_0x1622c7?[_0x547f53]['concat'](_0x1622c7):[_0x547f53];}if(_0x1922ad>0x19){let _0x33d3cf=[_0x114f67['lookAhead'],_0x1922ad];_0x1622c7=_0x1622c7?[_0x33d3cf]['concat'](_0x1622c7):[_0x33d3cf];}return new _0x4939af(_0x7bd021,_0x446661,_0x3d3764,_0x1eb910,_0x1622c7);}function _0x41a48c(_0x1b923a,_0x1e4481,_0x308af7){let {id:_0x358036,start:_0x4de093,end:_0x5f023a,size:_0x69c92b}=_0x25f9ee;if(_0x25f9ee['next'](),_0x69c92b>=0x0&&_0x358036<_0x3afe92){let _0x45ce50=_0x308af7;if(_0x69c92b>0x4){let _0x1ffadd=_0x25f9ee['pos']-(_0x69c92b-0x4);for(;_0x25f9ee['pos']>_0x1ffadd;)_0x308af7=_0x41a48c(_0x1b923a,_0x1e4481,_0x308af7);}_0x1e4481[--_0x308af7]=_0x45ce50,_0x1e4481[--_0x308af7]=_0x5f023a-_0x1b923a,_0x1e4481[--_0x308af7]=_0x4de093-_0x1b923a,_0x1e4481[--_0x308af7]=_0x358036;}else-0x3==_0x69c92b?_0xc5e6fb=_0x358036:-0x4==_0x69c92b&&(_0x5f4d5f=_0x358036);return _0x308af7;}let _0x4df7a7=[],_0x5194cf=[];for(;_0x25f9ee['pos']>0x0;)_0x28dc34(_0x42adc6['start']||0x0,_0x42adc6['bufferStart']||0x0,_0x4df7a7,_0x5194cf,-0x1,0x0);let _0x1fe41c=null!==(_0x176c53=_0x42adc6['length'])&&void 0x0!==_0x176c53?_0x176c53:_0x4df7a7['length']?_0x5194cf[0x0]+_0x4df7a7[0x0]['length']:0x0;return new _0x4939af(_0x5240d8[_0x42adc6['topID']],_0x4df7a7['reverse'](),_0x5194cf['reverse'](),_0x1fe41c);}const _0x68e229=new WeakMap();function _0x2c12c2(_0x17c04e,_0xbff6ef){if(!_0x17c04e['isAnonymous']||_0xbff6ef instanceof _0x7e5629||_0xbff6ef['type']!=_0x17c04e)return 0x1;let _0x588076=_0x68e229['get'](_0xbff6ef);if(null==_0x588076){_0x588076=0x1;for(let _0x1b370a of _0xbff6ef['children']){if(_0x1b370a['type']!=_0x17c04e||!(_0x1b370a instanceof _0x4939af)){_0x588076=0x1;break;}_0x588076+=_0x2c12c2(_0x17c04e,_0x1b370a);}_0x68e229['set'](_0xbff6ef,_0x588076);}return _0x588076;}function _0x5ddae6(_0x10c6e3,_0x761bc1,_0x51ed3f,_0x5e06cc,_0x220f00,_0x58cc2a,_0x14d440,_0x3fbf3b,_0x1d0977){let _0x52250a=0x0;for(let _0x3d4e27=_0x5e06cc;_0x3d4e27<_0x220f00;_0x3d4e27++)_0x52250a+=_0x2c12c2(_0x10c6e3,_0x761bc1[_0x3d4e27]);let _0x506655=Math['ceil'](1.5*_0x52250a/0x8),_0x27586d=[],_0x2e7bbd=[];return function _0x485eca(_0x4c3998,_0xfaf874,_0xdfd63c,_0x41b679,_0xb043f7){for(let _0x420eb2=_0xdfd63c;_0x420eb2<_0x41b679;){let _0xad6d4c=_0x420eb2,_0x323d3a=_0xfaf874[_0x420eb2],_0x37f0ce=_0x2c12c2(_0x10c6e3,_0x4c3998[_0x420eb2]);for(_0x420eb2++;_0x420eb2<_0x41b679;_0x420eb2++){let _0x116b5e=_0x2c12c2(_0x10c6e3,_0x4c3998[_0x420eb2]);if(_0x37f0ce+_0x116b5e>=_0x506655)break;_0x37f0ce+=_0x116b5e;}if(_0x420eb2==_0xad6d4c+0x1){if(_0x37f0ce>_0x506655){let _0x535ed3=_0x4c3998[_0xad6d4c];_0x485eca(_0x535ed3['children'],_0x535ed3['positions'],0x0,_0x535ed3['children']['length'],_0xfaf874[_0xad6d4c]+_0xb043f7);continue;}_0x27586d['push'](_0x4c3998[_0xad6d4c]);}else{let _0x51a076=_0xfaf874[_0x420eb2-0x1]+_0x4c3998[_0x420eb2-0x1]['length']-_0x323d3a;_0x27586d['push'](_0x5ddae6(_0x10c6e3,_0x4c3998,_0xfaf874,_0xad6d4c,_0x420eb2,_0x323d3a,_0x51a076,null,_0x1d0977));}_0x2e7bbd['push'](_0x323d3a+_0xb043f7-_0x58cc2a);}}(_0x761bc1,_0x51ed3f,_0x5e06cc,_0x220f00,0x0),(_0x3fbf3b||_0x1d0977)(_0x27586d,_0x2e7bbd,_0x14d440);}class _0x39d390{constructor(){this['map']=new WeakMap();}['setBuffer'](_0x5ec082,_0x1046c9,_0x3284ee){let _0x2d7b8d=this['map']['get'](_0x5ec082);_0x2d7b8d||this['map']['set'](_0x5ec082,_0x2d7b8d=new Map()),_0x2d7b8d['set'](_0x1046c9,_0x3284ee);}['getBuffer'](_0x511ed5,_0x607cb3){let _0x37a437=this['map']['get'](_0x511ed5);return _0x37a437&&_0x37a437['get'](_0x607cb3);}['set'](_0x315eca,_0x3dacad){_0x315eca instanceof _0x5bf1a1?this['setBuffer'](_0x315eca['context']['buffer'],_0x315eca['index'],_0x3dacad):_0x315eca instanceof _0x5c29ec&&this['map']['set'](_0x315eca['tree'],_0x3dacad);}['get'](_0x3d61ba){return _0x3d61ba instanceof _0x5bf1a1?this['getBuffer'](_0x3d61ba['context']['buffer'],_0x3d61ba['index']):_0x3d61ba instanceof _0x5c29ec?this['map']['get'](_0x3d61ba['tree']):void 0x0;}['cursorSet'](_0x263d7a,_0x5df3d7){_0x263d7a['buffer']?this['setBuffer'](_0x263d7a['buffer']['buffer'],_0x263d7a['index'],_0x5df3d7):this['map']['set'](_0x263d7a['tree'],_0x5df3d7);}['cursorGet'](_0x13b025){return _0x13b025['buffer']?this['getBuffer'](_0x13b025['buffer']['buffer'],_0x13b025['index']):this['map']['get'](_0x13b025['tree']);}}class TreeFragment{constructor(_0x51f825,_0x4aee73,_0x445fcf,_0x2d08fc,_0x4297a5=!0x1,_0x623ffc=!0x1){this['from']=_0x51f825,this['to']=_0x4aee73,this['tree']=_0x445fcf,this['offset']=_0x2d08fc,this['open']=(_0x4297a5?0x1:0x0)|(_0x623ffc?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x32c310,_0x1a9548=[],_0x265461=!0x1){let _0x332014=[new TreeFragment(0x0,_0x32c310['length'],_0x32c310,0x0,!0x1,_0x265461)];for(let _0x38aca5 of _0x1a9548)_0x38aca5['to']>_0x32c310['length']&&_0x332014['push'](_0x38aca5);return _0x332014;}static['applyChanges'](_0x1019d8,_0x11d060,_0x56dcf7=0x80){if(!_0x11d060['length'])return _0x1019d8;let _0x158916=[],_0x46adf4=0x1,_0x5433d5=_0x1019d8['length']?_0x1019d8[0x0]:null;for(let _0x123b00=0x0,_0x5ca815=0x0,_0x175971=0x0;;_0x123b00++){let _0x162b61=_0x123b00<_0x11d060['length']?_0x11d060[_0x123b00]:null,_0x33f5e4=_0x162b61?_0x162b61['fromA']:0x3b9aca00;if(_0x33f5e4-_0x5ca815>=_0x56dcf7)for(;_0x5433d5&&_0x5433d5['from']<_0x33f5e4;){let _0x259746=_0x5433d5;if(_0x5ca815>=_0x259746['from']||_0x33f5e4<=_0x259746['to']||_0x175971){let _0xb6d2de=Math['max'](_0x259746['from'],_0x5ca815)-_0x175971,_0x277baa=Math['min'](_0x259746['to'],_0x33f5e4)-_0x175971;_0x259746=_0xb6d2de>=_0x277baa?null:new TreeFragment(_0xb6d2de,_0x277baa,_0x259746['tree'],_0x259746['offset']+_0x175971,_0x123b00>0x0,!!_0x162b61);}if(_0x259746&&_0x158916['push'](_0x259746),_0x5433d5['to']>_0x33f5e4)break;_0x5433d5=_0x46adf4<_0x1019d8['length']?_0x1019d8[_0x46adf4++]:null;}if(!_0x162b61)break;_0x5ca815=_0x162b61['toA'],_0x175971=_0x162b61['toA']-_0x162b61['toB'];}return _0x158916;}}class _0x137c2b{['startParse'](_0x1206b9,_0x59183b,_0x3ad327){return'string'==typeof _0x1206b9&&(_0x1206b9=new StringInput(_0x1206b9)),_0x3ad327=_0x3ad327?_0x3ad327['length']?_0x3ad327['map'](_0x2cdbf5=>new _0x5ab845(_0x2cdbf5['from'],_0x2cdbf5['to'])):[new _0x5ab845(0x0,0x0)]:[new _0x5ab845(0x0,_0x1206b9['length'])],this['createParse'](_0x1206b9,_0x59183b||[],_0x3ad327);}['parse'](_0xad73d,_0x67a8ae,_0x458abf){let _0xc5ba27=this['startParse'](_0xad73d,_0x67a8ae,_0x458abf);for(;;){let _0x1fef22=_0xc5ba27['advance']();if(_0x1fef22)return _0x1fef22;}}}class StringInput{constructor(_0x157d91){this['string']=_0x157d91;}get['length'](){return this['string']['length'];}['chunk'](_0x27ba38){return this['string']['slice'](_0x27ba38);}get['lineChunks'](){return!0x1;}['read'](_0x5a5901,_0x586c34){return this['string']['slice'](_0x5a5901,_0x586c34);}}function _0x29b244(_0x3067af){return(_0x145766,_0x40eec8,_0x575e69,_0x512b0e)=>new _0xf734d0(_0x145766,_0x3067af,_0x40eec8,_0x575e69,_0x512b0e);}class _0x353605{constructor(_0xf9e3af,_0x597e5f,_0x22c313,_0x48e86f,_0x2722f2){this['parser']=_0xf9e3af,this['parse']=_0x597e5f,this['overlay']=_0x22c313,this['target']=_0x48e86f,this['from']=_0x2722f2;}}function _0x3cd70d(_0x156316){if(!_0x156316['length']||_0x156316['some'](_0x292153=>_0x292153['from']>=_0x292153['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x156316));}class ActiveOverlay{constructor(_0xeb57e6,_0x28e125,_0x2d8906,_0xa4e4dd,_0x7fb2c,_0x3f7825,_0x36e92f){this['parser']=_0xeb57e6,this['predicate']=_0x28e125,this['mounts']=_0x2d8906,this['index']=_0xa4e4dd,this['start']=_0x7fb2c,this['target']=_0x3f7825,this['prev']=_0x36e92f,this['depth']=0x0,this['ranges']=[];}}const stoppedInner=new _0x114f67({'perNode':!0x0});class _0xf734d0{constructor(_0x422c1,_0x584f7a,_0x18ead9,_0x369aa4,_0x5eb709){this['nest']=_0x584f7a,this['input']=_0x18ead9,this['fragments']=_0x369aa4,this['ranges']=_0x5eb709,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0x422c1;}['advance'](){if(this['baseParse']){let _0x2b755f=this['baseParse']['advance']();if(!_0x2b755f)return null;if(this['baseParse']=null,this['baseTree']=_0x2b755f,this['startInner'](),null!=this['stoppedAt']){for(let _0x3a10f2 of this['inner'])_0x3a10f2['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x391157=this['baseTree'];return null!=this['stoppedAt']&&(_0x391157=new _0x4939af(_0x391157['type'],_0x391157['children'],_0x391157['positions'],_0x391157['length'],_0x391157['propValues']['concat']([[stoppedInner,this['stoppedAt']]]))),_0x391157;}let _0x5958d4=this['inner'][this['innerDone']],_0x5beb7f=_0x5958d4['parse']['advance']();if(_0x5beb7f){this['innerDone']++;let _0x27e18c=Object['assign'](Object['create'](null),_0x5958d4['target']['props']);_0x27e18c[_0x114f67['mounted']['id']]=new MountedTree(_0x5beb7f,_0x5958d4['overlay'],_0x5958d4['parser']),_0x5958d4['target']['props']=_0x27e18c;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x1b5e8d=this['input']['length'];for(let _0x36078c=this['innerDone'];_0x36078c<this['inner']['length'];_0x36078c++)this['inner'][_0x36078c]['from']<_0x1b5e8d&&(_0x1b5e8d=Math['min'](_0x1b5e8d,this['inner'][_0x36078c]['parse']['parsedPos']));return _0x1b5e8d;}['stopAt'](_0x538f23){if(this['stoppedAt']=_0x538f23,this['baseParse'])this['baseParse']['stopAt'](_0x538f23);else{for(let _0x1d956a=this['innerDone'];_0x1d956a<this['inner']['length'];_0x1d956a++)this['inner'][_0x1d956a]['parse']['stopAt'](_0x538f23);}}['startInner'](){let _0x338086=new FragmentCursor$2(this['fragments']),_0x195cde=null,_0x2184cf=null,_0x6aa95a=new _0x24c28f(new _0x5c29ec(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),IterMode['IncludeAnonymous']|IterMode['IgnoreMounts']);t:for(let _0x2e4f07,_0x3ddd4d;;){let _0x1e7ee2,_0x17ea3f=!0x0;if(null!=this['stoppedAt']&&_0x6aa95a['from']>=this['stoppedAt'])_0x17ea3f=!0x1;else{if(_0x338086['hasNode'](_0x6aa95a)){if(_0x195cde){let _0x354cff=_0x195cde['mounts']['find'](_0x22bd1e=>_0x22bd1e['frag']['from']<=_0x6aa95a['from']&&_0x22bd1e['frag']['to']>=_0x6aa95a['to']&&_0x22bd1e['mount']['overlay']);if(_0x354cff)for(let _0x32aefe of _0x354cff['mount']['overlay']){let _0x1df98c=_0x32aefe['from']+_0x354cff['pos'],_0x1e622c=_0x32aefe['to']+_0x354cff['pos'];_0x1df98c>=_0x6aa95a['from']&&_0x1e622c<=_0x6aa95a['to']&&!_0x195cde['ranges']['some'](_0x1f96f9=>_0x1f96f9['from']<_0x1e622c&&_0x1f96f9['to']>_0x1df98c)&&_0x195cde['ranges']['push']({'from':_0x1df98c,'to':_0x1e622c});}}_0x17ea3f=!0x1;}else{if(_0x2184cf&&(_0x3ddd4d=_0x1855c5(_0x2184cf['ranges'],_0x6aa95a['from'],_0x6aa95a['to'])))_0x17ea3f=0x2!=_0x3ddd4d;else{if(!_0x6aa95a['type']['isAnonymous']&&(_0x2e4f07=this['nest'](_0x6aa95a,this['input']))&&(_0x6aa95a['from']<_0x6aa95a['to']||!_0x2e4f07['overlay'])){_0x6aa95a['tree']||(materialize(_0x6aa95a),_0x195cde&&_0x195cde['depth']++,_0x2184cf&&_0x2184cf['depth']++);let _0x7c2a8c=_0x338086['findMounts'](_0x6aa95a['from'],_0x2e4f07['parser']);if('function'==typeof _0x2e4f07['overlay'])_0x195cde=new ActiveOverlay(_0x2e4f07['parser'],_0x2e4f07['overlay'],_0x7c2a8c,this['inner']['length'],_0x6aa95a['from'],_0x6aa95a['tree'],_0x195cde);else{let _0x133bed=_0x2aff0d(this['ranges'],_0x2e4f07['overlay']||(_0x6aa95a['from']<_0x6aa95a['to']?[new _0x5ab845(_0x6aa95a['from'],_0x6aa95a['to'])]:[]));_0x133bed['length']&&_0x3cd70d(_0x133bed),!_0x133bed['length']&&_0x2e4f07['overlay']||this['inner']['push'](new _0x353605(_0x2e4f07['parser'],_0x133bed['length']?_0x2e4f07['parser']['startParse'](this['input'],enterFragments(_0x7c2a8c,_0x133bed),_0x133bed):_0x2e4f07['parser']['startParse'](''),_0x2e4f07['overlay']?_0x2e4f07['overlay']['map'](_0x4e4326=>new _0x5ab845(_0x4e4326['from']-_0x6aa95a['from'],_0x4e4326['to']-_0x6aa95a['from'])):null,_0x6aa95a['tree'],_0x133bed['length']?_0x133bed[0x0]['from']:_0x6aa95a['from'])),_0x2e4f07['overlay']?_0x133bed['length']&&(_0x2184cf={'ranges':_0x133bed,'depth':0x0,'prev':_0x2184cf}):_0x17ea3f=!0x1;}}else{if(_0x195cde&&(_0x1e7ee2=_0x195cde['predicate'](_0x6aa95a))&&(!0x0===_0x1e7ee2&&(_0x1e7ee2=new _0x5ab845(_0x6aa95a['from'],_0x6aa95a['to'])),_0x1e7ee2['from']<_0x1e7ee2['to'])){let _0x48b1db=_0x195cde['ranges']['length']-0x1;_0x48b1db>=0x0&&_0x195cde['ranges'][_0x48b1db]['to']==_0x1e7ee2['from']?_0x195cde['ranges'][_0x48b1db]={'from':_0x195cde['ranges'][_0x48b1db]['from'],'to':_0x1e7ee2['to']}:_0x195cde['ranges']['push'](_0x1e7ee2);}}}}}if(_0x17ea3f&&_0x6aa95a['firstChild']())_0x195cde&&_0x195cde['depth']++,_0x2184cf&&_0x2184cf['depth']++;else for(;!_0x6aa95a['nextSibling']();){if(!_0x6aa95a['parent']())break t;if(_0x195cde&&!--_0x195cde['depth']){let _0x32c7dc=_0x2aff0d(this['ranges'],_0x195cde['ranges']);_0x32c7dc['length']&&(_0x3cd70d(_0x32c7dc),this['inner']['splice'](_0x195cde['index'],0x0,new _0x353605(_0x195cde['parser'],_0x195cde['parser']['startParse'](this['input'],enterFragments(_0x195cde['mounts'],_0x32c7dc),_0x32c7dc),_0x195cde['ranges']['map'](_0x4a8c54=>new _0x5ab845(_0x4a8c54['from']-_0x195cde['start'],_0x4a8c54['to']-_0x195cde['start'])),_0x195cde['target'],_0x32c7dc[0x0]['from']))),_0x195cde=_0x195cde['prev'];}_0x2184cf&&!--_0x2184cf['depth']&&(_0x2184cf=_0x2184cf['prev']);}}}}function _0x1855c5(_0x3deec5,_0x46c7e4,_0x58cb56){for(let _0x511710 of _0x3deec5){if(_0x511710['from']>=_0x58cb56)break;if(_0x511710['to']>_0x46c7e4)return _0x511710['from']<=_0x46c7e4&&_0x511710['to']>=_0x58cb56?0x2:0x1;}return 0x0;}function _0x26cc09(_0x4bc9cd,_0x51e3d0,_0xac1c8e,_0x375484,_0x353b61,_0x16f112){if(_0x51e3d0<_0xac1c8e){let _0x1e425c=_0x4bc9cd['buffer'][_0x51e3d0+0x1];_0x375484['push'](_0x4bc9cd['slice'](_0x51e3d0,_0xac1c8e,_0x1e425c)),_0x353b61['push'](_0x1e425c-_0x16f112);}}function materialize(_0x1a6f7f){let {node:_0x336153}=_0x1a6f7f,_0x3fc7b0=[],_0x5ef9ec=_0x336153['context']['buffer'];do{_0x3fc7b0['push'](_0x1a6f7f['index']),_0x1a6f7f['parent']();}while(!_0x1a6f7f['tree']);let _0x4cd03b=_0x1a6f7f['tree'],_0x2d2622=_0x4cd03b['children']['indexOf'](_0x5ef9ec),_0x5e0f1a=_0x4cd03b['children'][_0x2d2622],_0x2d944c=_0x5e0f1a['buffer'],_0xf8d8ed=[_0x2d2622];_0x4cd03b['children'][_0x2d2622]=function _0x4d91a6(_0xcdd0be,_0x282af7,_0x91d1aa,_0x584639,_0x568f4c,_0xea75a3){let _0x11246c=_0x3fc7b0[_0xea75a3],_0x31e6da=[],_0x26d723=[];_0x26cc09(_0x5e0f1a,_0xcdd0be,_0x11246c,_0x31e6da,_0x26d723,_0x584639);let _0x23fa19=_0x2d944c[_0x11246c+0x1],_0x2e31cd=_0x2d944c[_0x11246c+0x2];_0xf8d8ed['push'](_0x31e6da['length']);let _0x5262fd=_0xea75a3?_0x4d91a6(_0x11246c+0x4,_0x2d944c[_0x11246c+0x3],_0x5e0f1a['set']['types'][_0x2d944c[_0x11246c]],_0x23fa19,_0x2e31cd-_0x23fa19,_0xea75a3-0x1):_0x336153['toTree']();return _0x31e6da['push'](_0x5262fd),_0x26d723['push'](_0x23fa19-_0x584639),_0x26cc09(_0x5e0f1a,_0x2d944c[_0x11246c+0x3],_0x282af7,_0x31e6da,_0x26d723,_0x584639),new _0x4939af(_0x91d1aa,_0x31e6da,_0x26d723,_0x568f4c);}(0x0,_0x2d944c['length'],_0x5d390a['none'],0x0,_0x5e0f1a['length'],_0x3fc7b0['length']-0x1);for(let _0x3bb66b of _0xf8d8ed){let _0x506966=_0x1a6f7f['tree']['children'][_0x3bb66b],_0x54075e=_0x1a6f7f['tree']['positions'][_0x3bb66b];_0x1a6f7f['yield'](new _0x5c29ec(_0x506966,_0x54075e+_0x1a6f7f['from'],_0x3bb66b,_0x1a6f7f['_tree']));}}class StructureCursor{constructor(_0x44a711,_0x11c11b){this['offset']=_0x11c11b,this['done']=!0x1,this['cursor']=_0x44a711['cursor'](IterMode['IncludeAnonymous']|IterMode['IgnoreMounts']);}['moveTo'](_0x3d00e1){let {cursor:_0x6c90c1}=this,_0x2b2866=_0x3d00e1-this['offset'];for(;!this['done']&&_0x6c90c1['from']<_0x2b2866;)_0x6c90c1['to']>=_0x3d00e1&&_0x6c90c1['enter'](_0x2b2866,0x1,IterMode['IgnoreOverlays']|IterMode['ExcludeBuffers'])||_0x6c90c1['next'](!0x1)||(this['done']=!0x0);}['hasNode'](_0x21cc41){if(this['moveTo'](_0x21cc41['from']),!this['done']&&this['cursor']['from']+this['offset']==_0x21cc41['from']&&this['cursor']['tree'])for(let _0x152edc=this['cursor']['tree'];;){if(_0x152edc==_0x21cc41['tree'])return!0x0;if(!(_0x152edc['children']['length']&&0x0==_0x152edc['positions'][0x0]&&_0x152edc['children'][0x0]instanceof _0x4939af))break;_0x152edc=_0x152edc['children'][0x0];}return!0x1;}}let FragmentCursor$2=class{constructor(_0x42873d){var _0x1a0e70;if(this['fragments']=_0x42873d,this['curTo']=0x0,this['fragI']=0x0,_0x42873d['length']){let _0x2ec736=this['curFrag']=_0x42873d[0x0];this['curTo']=null!==(_0x1a0e70=_0x2ec736['tree']['prop'](stoppedInner))&&void 0x0!==_0x1a0e70?_0x1a0e70:_0x2ec736['to'],this['inner']=new StructureCursor(_0x2ec736['tree'],-_0x2ec736['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x1ae2f1){for(;this['curFrag']&&_0x1ae2f1['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x1ae2f1['from']&&this['curTo']>=_0x1ae2f1['to']&&this['inner']['hasNode'](_0x1ae2f1);}['nextFrag'](){var _0x5df442;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0x3e9a47=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x5df442=_0x3e9a47['tree']['prop'](stoppedInner))&&void 0x0!==_0x5df442?_0x5df442:_0x3e9a47['to'],this['inner']=new StructureCursor(_0x3e9a47['tree'],-_0x3e9a47['offset']);}}['findMounts'](_0x268f3e,_0x6a7f33){var _0x442dc2;let _0x219fe0=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x268f3e,0x1);for(let _0x38fe4a=this['inner']['cursor']['node'];_0x38fe4a;_0x38fe4a=_0x38fe4a['parent']){let _0x18f76a=null===(_0x442dc2=_0x38fe4a['tree'])||void 0x0===_0x442dc2?void 0x0:_0x442dc2['prop'](_0x114f67['mounted']);if(_0x18f76a&&_0x18f76a['parser']==_0x6a7f33)for(let _0x44763d=this['fragI'];_0x44763d<this['fragments']['length'];_0x44763d++){let _0x22885b=this['fragments'][_0x44763d];if(_0x22885b['from']>=_0x38fe4a['to'])break;_0x22885b['tree']==this['curFrag']['tree']&&_0x219fe0['push']({'frag':_0x22885b,'pos':_0x38fe4a['from']-_0x22885b['offset'],'mount':_0x18f76a});}}}return _0x219fe0;}};function _0x2aff0d(_0x15fe01,_0x1a81ae){let _0x4b88bf=null,_0x12b28a=_0x1a81ae;for(let _0x14e90e=0x1,_0x45e545=0x0;_0x14e90e<_0x15fe01['length'];_0x14e90e++){let _0x11102f=_0x15fe01[_0x14e90e-0x1]['to'],_0x2634aa=_0x15fe01[_0x14e90e]['from'];for(;_0x45e545<_0x12b28a['length'];_0x45e545++){let _0x540057=_0x12b28a[_0x45e545];if(_0x540057['from']>=_0x2634aa)break;_0x540057['to']<=_0x11102f||(_0x4b88bf||(_0x12b28a=_0x4b88bf=_0x1a81ae['slice']()),_0x540057['from']<_0x11102f?(_0x4b88bf[_0x45e545]=new _0x5ab845(_0x540057['from'],_0x11102f),_0x540057['to']>_0x2634aa&&_0x4b88bf['splice'](_0x45e545+0x1,0x0,new _0x5ab845(_0x2634aa,_0x540057['to']))):_0x540057['to']>_0x2634aa?_0x4b88bf[_0x45e545--]=new _0x5ab845(_0x2634aa,_0x540057['to']):_0x4b88bf['splice'](_0x45e545--,0x1));}}return _0x12b28a;}function _0x3ddb58(_0x2475c2,_0x1c5dcc,_0x59eb4f,_0x12a9c1){let _0x4a1ff4=0x0,_0x397bb8=0x0,_0x5ef375=!0x1,_0x52672d=!0x1,_0x1ebe87=-0x3b9aca00,_0xf1823c=[];for(;;){let _0x499425=_0x4a1ff4==_0x2475c2['length']?0x3b9aca00:_0x5ef375?_0x2475c2[_0x4a1ff4]['to']:_0x2475c2[_0x4a1ff4]['from'],_0x4592dd=_0x397bb8==_0x1c5dcc['length']?0x3b9aca00:_0x52672d?_0x1c5dcc[_0x397bb8]['to']:_0x1c5dcc[_0x397bb8]['from'];if(_0x5ef375!=_0x52672d){let _0x527967=Math['max'](_0x1ebe87,_0x59eb4f),_0x314280=Math['min'](_0x499425,_0x4592dd,_0x12a9c1);_0x527967<_0x314280&&_0xf1823c['push'](new _0x5ab845(_0x527967,_0x314280));}if(_0x1ebe87=Math['min'](_0x499425,_0x4592dd),0x3b9aca00==_0x1ebe87)break;_0x499425==_0x1ebe87&&(_0x5ef375?(_0x5ef375=!0x1,_0x4a1ff4++):_0x5ef375=!0x0),_0x4592dd==_0x1ebe87&&(_0x52672d?(_0x52672d=!0x1,_0x397bb8++):_0x52672d=!0x0);}return _0xf1823c;}function enterFragments(_0x39aa7a,_0x2606de){let _0x14fe46=[];for(let {pos:_0x1c1fb4,mount:_0x50f52d,frag:_0x3c91ff}of _0x39aa7a){let _0x122124=_0x1c1fb4+(_0x50f52d['overlay']?_0x50f52d['overlay'][0x0]['from']:0x0),_0x28b479=_0x122124+_0x50f52d['tree']['length'],_0x422990=Math['max'](_0x3c91ff['from'],_0x122124),_0x2bd92f=Math['min'](_0x3c91ff['to'],_0x28b479);if(_0x50f52d['overlay']){let _0x4e692a=_0x3ddb58(_0x2606de,_0x50f52d['overlay']['map'](_0x1d5114=>new _0x5ab845(_0x1d5114['from']+_0x1c1fb4,_0x1d5114['to']+_0x1c1fb4)),_0x422990,_0x2bd92f);for(let _0x226285=0x0,_0x37ca01=_0x422990;;_0x226285++){let _0x54a764=_0x226285==_0x4e692a['length'],_0x363cc4=_0x54a764?_0x2bd92f:_0x4e692a[_0x226285]['from'];if(_0x363cc4>_0x37ca01&&_0x14fe46['push'](new TreeFragment(_0x37ca01,_0x363cc4,_0x50f52d['tree'],-_0x122124,_0x3c91ff['from']>=_0x37ca01||_0x3c91ff['openStart'],_0x3c91ff['to']<=_0x363cc4||_0x3c91ff['openEnd'])),_0x54a764)break;_0x37ca01=_0x4e692a[_0x226285]['to'];}}else _0x14fe46['push'](new TreeFragment(_0x422990,_0x2bd92f,_0x50f52d['tree'],-_0x122124,_0x3c91ff['from']>=_0x122124||_0x3c91ff['openStart'],_0x3c91ff['to']<=_0x28b479||_0x3c91ff['openEnd']));}return _0x14fe46;}let nextTagID=0x0;class _0x4cb71f{constructor(_0x244b9d,_0x42f2e1,_0x1d706e,_0x178d90){this['name']=_0x244b9d,this['set']=_0x42f2e1,this['base']=_0x1d706e,this['modified']=_0x178d90,this['id']=nextTagID++;}['toString'](){let {name:_0x1be4db}=this;for(let _0x3747e0 of this['modified'])_0x3747e0['name']&&(_0x1be4db=_0x3747e0['name']+'('+_0x1be4db+')');return _0x1be4db;}static['define'](_0x38e74f,_0x38c18b){let _0x5f7590='string'==typeof _0x38e74f?_0x38e74f:'?';if(_0x38e74f instanceof _0x4cb71f&&(_0x38c18b=_0x38e74f),null==_0x38c18b?void 0x0:_0x38c18b['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x2390a5=new _0x4cb71f(_0x5f7590,[],null,[]);if(_0x2390a5['set']['push'](_0x2390a5),_0x38c18b){for(let t of _0x38c18b['set'])_0x2390a5['set']['push'](t);}return _0x2390a5;}static['defineModifier'](_0x2f45de){let _0x2d887b=new _0x672c56(_0x2f45de);return _0x561a2f=>_0x561a2f['modified']['indexOf'](_0x2d887b)>-0x1?_0x561a2f:_0x672c56['get'](_0x561a2f['base']||_0x561a2f,_0x561a2f['modified']['concat'](_0x2d887b)['sort']((_0x1414c6,_0x5bbf11)=>_0x1414c6['id']-_0x5bbf11['id']));}}let nextModifierID=0x0;class _0x672c56{constructor(_0x50aa72){this['name']=_0x50aa72,this['instances']=[],this['id']=nextModifierID++;}static['get'](_0x4f3163,_0x3c8d64){if(!_0x3c8d64['length'])return _0x4f3163;let _0x5c9aed=_0x3c8d64[0x0]['instances']['find'](t=>t['base']==_0x4f3163&&_0x5e0f5a(_0x3c8d64,t['modified']));if(_0x5c9aed)return _0x5c9aed;let _0x51eb33=[],_0x96da94=new _0x4cb71f(_0x4f3163['name'],_0x51eb33,_0x4f3163,_0x3c8d64);for(let _0x4e150a of _0x3c8d64)_0x4e150a['instances']['push'](_0x96da94);let _0x346d79=powerSet(_0x3c8d64);for(let _0x36c29e of _0x4f3163['set'])if(!_0x36c29e['modified']['length']){for(let _0xa234f of _0x346d79)_0x51eb33['push'](_0x672c56['get'](_0x36c29e,_0xa234f));}return _0x96da94;}}function _0x5e0f5a(_0xc85d5d,_0x132f38){return _0xc85d5d['length']==_0x132f38['length']&&_0xc85d5d['every']((_0x58e23b,_0x1b8dfb)=>_0x58e23b==_0x132f38[_0x1b8dfb]);}function powerSet(_0x4bb3f3){let _0x40fc6e=[[]];for(let _0x35b3ac=0x0;_0x35b3ac<_0x4bb3f3['length'];_0x35b3ac++)for(let _0x430baa=0x0,_0x1ad5ce=_0x40fc6e['length'];_0x430baa<_0x1ad5ce;_0x430baa++)_0x40fc6e['push'](_0x40fc6e[_0x430baa]['concat'](_0x4bb3f3[_0x35b3ac]));return _0x40fc6e['sort']((_0xe68744,_0x355832)=>_0x355832['length']-_0xe68744['length']);}function styleTags(_0x4f9b72){let _0x50b4f1=Object['create'](null);for(let _0x2e626f in _0x4f9b72){let _0x142758=_0x4f9b72[_0x2e626f];Array['isArray'](_0x142758)||(_0x142758=[_0x142758]);for(let _0x396fe2 of _0x2e626f['split']('\x20'))if(_0x396fe2){let _0x178b42=[],_0x448326=0x2,_0x3f9a1a=_0x396fe2;for(let _0x186ee3=0x0;;){if('...'==_0x3f9a1a&&_0x186ee3>0x0&&_0x186ee3+0x3==_0x396fe2['length']){_0x448326=0x1;break;}let _0x16227a=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x3f9a1a);if(!_0x16227a)throw new RangeError('Invalid\x20path:\x20'+_0x396fe2);if(_0x178b42['push']('*'==_0x16227a[0x0]?'':'\x22'==_0x16227a[0x0][0x0]?JSON['parse'](_0x16227a[0x0]):_0x16227a[0x0]),_0x186ee3+=_0x16227a[0x0]['length'],_0x186ee3==_0x396fe2['length'])break;let _0x1893cb=_0x396fe2[_0x186ee3++];if(_0x186ee3==_0x396fe2['length']&&'!'==_0x1893cb){_0x448326=0x0;break;}if('/'!=_0x1893cb)throw new RangeError('Invalid\x20path:\x20'+_0x396fe2);_0x3f9a1a=_0x396fe2['slice'](_0x186ee3);}let _0x1671bb=_0x178b42['length']-0x1,_0xb6e1f8=_0x178b42[_0x1671bb];if(!_0xb6e1f8)throw new RangeError('Invalid\x20path:\x20'+_0x396fe2);let _0x49592d=new _0x202824(_0x142758,_0x448326,_0x1671bb>0x0?_0x178b42['slice'](0x0,_0x1671bb):null);_0x50b4f1[_0xb6e1f8]=_0x49592d['sort'](_0x50b4f1[_0xb6e1f8]);}}return _0x3dcd93['add'](_0x50b4f1);}const _0x3dcd93=new _0x114f67({'combine'(_0x11f14a,_0x4009b6){let _0x389e24,_0x1d8b1b,_0xf9fe3;for(;_0x11f14a||_0x4009b6;){if(!_0x11f14a||_0x4009b6&&_0x11f14a['depth']>=_0x4009b6['depth']?(_0xf9fe3=_0x4009b6,_0x4009b6=_0x4009b6['next']):(_0xf9fe3=_0x11f14a,_0x11f14a=_0x11f14a['next']),_0x389e24&&_0x389e24['mode']==_0xf9fe3['mode']&&!_0xf9fe3['context']&&!_0x389e24['context'])continue;let _0x1f1531=new _0x202824(_0xf9fe3['tags'],_0xf9fe3['mode'],_0xf9fe3['context']);_0x389e24?_0x389e24['next']=_0x1f1531:_0x1d8b1b=_0x1f1531,_0x389e24=_0x1f1531;}return _0x1d8b1b;}});class _0x202824{constructor(_0x1cf344,_0x5386e1,_0x4bda83,_0x352322){this['tags']=_0x1cf344,this['mode']=_0x5386e1,this['context']=_0x4bda83,this['next']=_0x352322;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0x3b7636){return!_0x3b7636||_0x3b7636['depth']<this['depth']?(this['next']=_0x3b7636,this):(_0x3b7636['next']=this['sort'](_0x3b7636['next']),_0x3b7636);}get['depth'](){return this['context']?this['context']['length']:0x0;}}function tagHighlighter(_0x50d3b7,_0x53f77e){let _0x45b44b=Object['create'](null);for(let _0x5600b3 of _0x50d3b7)if(Array['isArray'](_0x5600b3['tag'])){for(let _0x3837be of _0x5600b3['tag'])_0x45b44b[_0x3837be['id']]=_0x5600b3['class'];}else _0x45b44b[_0x5600b3['tag']['id']]=_0x5600b3['class'];let {scope:_0x9b69de,all:_0x5c7980=null}=_0x53f77e||{};return{'style':_0x39e01f=>{let _0xc90341=_0x5c7980;for(let _0x10189b of _0x39e01f)for(let _0x64383 of _0x10189b['set']){let _0x51c14c=_0x45b44b[_0x64383['id']];if(_0x51c14c){_0xc90341=_0xc90341?_0xc90341+'\x20'+_0x51c14c:_0x51c14c;break;}}return _0xc90341;},'scope':_0x9b69de};}function highlightTags(_0x158627,_0xe297c1){let _0x448f14=null;for(let _0x3ae492 of _0x158627){let _0x104675=_0x3ae492['style'](_0xe297c1);_0x104675&&(_0x448f14=_0x448f14?_0x448f14+'\x20'+_0x104675:_0x104675);}return _0x448f14;}function highlightTree(_0x4ac066,_0x4b5959,_0xc85c85,_0x217db8=0x0,_0x41481f=_0x4ac066['length']){let _0x3d4692=new HighlightBuilder(_0x217db8,Array['isArray'](_0x4b5959)?_0x4b5959:[_0x4b5959],_0xc85c85);_0x3d4692['highlightRange'](_0x4ac066['cursor'](),_0x217db8,_0x41481f,'',_0x3d4692['highlighters']),_0x3d4692['flush'](_0x41481f);}_0x202824['empty']=new _0x202824([],0x2,null);class HighlightBuilder{constructor(_0x17a355,_0x4e7c6b,_0x2596c4){this['at']=_0x17a355,this['highlighters']=_0x4e7c6b,this['span']=_0x2596c4,this['class']='';}['startSpan'](_0x574b03,_0x174d9a){_0x174d9a!=this['class']&&(this['flush'](_0x574b03),_0x574b03>this['at']&&(this['at']=_0x574b03),this['class']=_0x174d9a);}['flush'](_0x42ec49){_0x42ec49>this['at']&&this['class']&&this['span'](this['at'],_0x42ec49,this['class']);}['highlightRange'](_0x414d4c,_0x459490,_0x37e3de,_0x5b14d9,_0x3464c4){let {type:_0xd58518,from:_0x2e416a,to:_0x2d0844}=_0x414d4c;if(_0x2e416a>=_0x37e3de||_0x2d0844<=_0x459490)return;_0xd58518['isTop']&&(_0x3464c4=this['highlighters']['filter'](_0xe2f487=>!_0xe2f487['scope']||_0xe2f487['scope'](_0xd58518)));let _0x32b572=_0x5b14d9,_0xa3892d=getStyleTags(_0x414d4c)||_0x202824['empty'],_0x47ee09=highlightTags(_0x3464c4,_0xa3892d['tags']);if(_0x47ee09&&(_0x32b572&&(_0x32b572+='\x20'),_0x32b572+=_0x47ee09,0x1==_0xa3892d['mode']&&(_0x5b14d9+=(_0x5b14d9?'\x20':'')+_0x47ee09)),this['startSpan'](Math['max'](_0x459490,_0x2e416a),_0x32b572),_0xa3892d['opaque'])return;let _0x35ab3c=_0x414d4c['tree']&&_0x414d4c['tree']['prop'](_0x114f67['mounted']);if(_0x35ab3c&&_0x35ab3c['overlay']){let _0x5c3535=_0x414d4c['node']['enter'](_0x35ab3c['overlay'][0x0]['from']+_0x2e416a,0x1),_0x274297=this['highlighters']['filter'](_0x45668c=>!_0x45668c['scope']||_0x45668c['scope'](_0x35ab3c['tree']['type'])),_0x5e916b=_0x414d4c['firstChild']();for(let _0x2ac847=0x0,_0x58cf27=_0x2e416a;;_0x2ac847++){let _0x9b3d94=_0x2ac847<_0x35ab3c['overlay']['length']?_0x35ab3c['overlay'][_0x2ac847]:null,_0x30091c=_0x9b3d94?_0x9b3d94['from']+_0x2e416a:_0x2d0844,_0x5cf041=Math['max'](_0x459490,_0x58cf27),_0x54b670=Math['min'](_0x37e3de,_0x30091c);if(_0x5cf041<_0x54b670&&_0x5e916b){for(;_0x414d4c['from']<_0x54b670&&(this['highlightRange'](_0x414d4c,_0x5cf041,_0x54b670,_0x5b14d9,_0x3464c4),this['startSpan'](Math['min'](_0x54b670,_0x414d4c['to']),_0x32b572),!(_0x414d4c['to']>=_0x30091c)&&_0x414d4c['nextSibling']()););}if(!_0x9b3d94||_0x30091c>_0x37e3de)break;_0x58cf27=_0x9b3d94['to']+_0x2e416a,_0x58cf27>_0x459490&&(this['highlightRange'](_0x5c3535['cursor'](),Math['max'](_0x459490,_0x9b3d94['from']+_0x2e416a),Math['min'](_0x37e3de,_0x58cf27),'',_0x274297),this['startSpan'](Math['min'](_0x37e3de,_0x58cf27),_0x32b572));}_0x5e916b&&_0x414d4c['parent']();}else{if(_0x414d4c['firstChild']()){_0x35ab3c&&(_0x5b14d9='');do{if(!(_0x414d4c['to']<=_0x459490)){if(_0x414d4c['from']>=_0x37e3de)break;this['highlightRange'](_0x414d4c,_0x459490,_0x37e3de,_0x5b14d9,_0x3464c4),this['startSpan'](Math['min'](_0x37e3de,_0x414d4c['to']),_0x32b572);}}while(_0x414d4c['nextSibling']());_0x414d4c['parent']();}}}}function getStyleTags(_0x241934){let _0x2d4eb6=_0x241934['type']['prop'](_0x3dcd93);for(;_0x2d4eb6&&_0x2d4eb6['context']&&!_0x241934['matchContext'](_0x2d4eb6['context']);)_0x2d4eb6=_0x2d4eb6['next'];return _0x2d4eb6||null;}const t=_0x4cb71f['define'],comment=t(),_0x5e58d9=t(),typeName=t(_0x5e58d9),propertyName=t(_0x5e58d9),literal=t(),string=t(literal),_0x4811cc=t(literal),content=t(),_0x344d7d=t(content),_0x417ac7=t(),operator=t(),punctuation=t(),bracket=t(punctuation),meta=t(),tags$1={'comment':comment,'lineComment':t(comment),'blockComment':t(comment),'docComment':t(comment),'name':_0x5e58d9,'variableName':t(_0x5e58d9),'typeName':typeName,'tagName':t(typeName),'propertyName':propertyName,'attributeName':t(propertyName),'className':t(_0x5e58d9),'labelName':t(_0x5e58d9),'namespace':t(_0x5e58d9),'macroName':t(_0x5e58d9),'literal':literal,'string':string,'docString':t(string),'character':t(string),'attributeValue':t(string),'number':_0x4811cc,'integer':t(_0x4811cc),'float':t(_0x4811cc),'bool':t(literal),'regexp':t(literal),'escape':t(literal),'color':t(literal),'url':t(literal),'keyword':_0x417ac7,'self':t(_0x417ac7),'null':t(_0x417ac7),'atom':t(_0x417ac7),'unit':t(_0x417ac7),'modifier':t(_0x417ac7),'operatorKeyword':t(_0x417ac7),'controlKeyword':t(_0x417ac7),'definitionKeyword':t(_0x417ac7),'moduleKeyword':t(_0x417ac7),'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':_0x344d7d,'heading1':t(_0x344d7d),'heading2':t(_0x344d7d),'heading3':t(_0x344d7d),'heading4':t(_0x344d7d),'heading5':t(_0x344d7d),'heading6':t(_0x344d7d),'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':_0x4cb71f['defineModifier']('definition'),'constant':_0x4cb71f['defineModifier']('constant'),'function':_0x4cb71f['defineModifier']('function'),'standard':_0x4cb71f['defineModifier']('standard'),'local':_0x4cb71f['defineModifier']('local'),'special':_0x4cb71f['defineModifier']('special')};for(let _0x893318 in tags$1){let _0x477848=tags$1[_0x893318];_0x477848 instanceof _0x4cb71f&&(_0x477848['name']=_0x893318);}var _0x376528;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 _0x114f67();function defineLanguageFacet(_0x383c3c){return Facet['define']({'combine':_0x383c3c?_0x5bc35c=>_0x5bc35c['concat'](_0x383c3c):void 0x0});}const _0x9ac70c=new _0x114f67();class _0x344024{constructor(_0x48e638,_0x3c88d5,_0x29bf4c=[],_0x9e65bd=''){this['data']=_0x48e638,this['name']=_0x9e65bd,EditorState['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](EditorState['prototype'],'tree',{'get'(){return syntaxTree(this);}}),this['parser']=_0x3c88d5,this['extension']=[_0x343579['of'](this),EditorState['languageData']['of']((_0xb5c3d5,_0x420bf4,_0x590adf)=>{let _0x595238=topNodeAt(_0xb5c3d5,_0x420bf4,_0x590adf),_0x249d27=_0x595238['type']['prop'](languageDataProp);if(!_0x249d27)return[];let _0x2dae68=_0xb5c3d5['facet'](_0x249d27),_0x5b84d5=_0x595238['type']['prop'](_0x9ac70c);if(_0x5b84d5){let _0xb3f15=_0x595238['resolve'](_0x420bf4-_0x595238['from'],_0x590adf);for(let _0x2d7fe5 of _0x5b84d5)if(_0x2d7fe5['test'](_0xb3f15,_0xb5c3d5)){let _0x2aabea=_0xb5c3d5['facet'](_0x2d7fe5['facet']);return'replace'==_0x2d7fe5['type']?_0x2aabea:_0x2aabea['concat'](_0x2dae68);}}return _0x2dae68;})]['concat'](_0x29bf4c);}['isActiveAt'](_0x26b4a5,_0x23620b,_0x532dbf=-0x1){return topNodeAt(_0x26b4a5,_0x23620b,_0x532dbf)['type']['prop'](languageDataProp)==this['data'];}['findRegions'](_0x452af4){let _0x40849f=_0x452af4['facet'](_0x343579);if((null==_0x40849f?void 0x0:_0x40849f['data'])==this['data'])return[{'from':0x0,'to':_0x452af4['doc']['length']}];if(!_0x40849f||!_0x40849f['allowsNesting'])return[];let _0x4f4425=[],_0x3d8746=(_0x3f4369,_0x2f2f6e)=>{if(_0x3f4369['prop'](languageDataProp)==this['data'])return void _0x4f4425['push']({'from':_0x2f2f6e,'to':_0x2f2f6e+_0x3f4369['length']});let _0x5cea14=_0x3f4369['prop'](_0x114f67['mounted']);if(_0x5cea14){if(_0x5cea14['tree']['prop'](languageDataProp)==this['data']){if(_0x5cea14['overlay']){for(let _0x9c3eb2 of _0x5cea14['overlay'])_0x4f4425['push']({'from':_0x9c3eb2['from']+_0x2f2f6e,'to':_0x9c3eb2['to']+_0x2f2f6e});}else _0x4f4425['push']({'from':_0x2f2f6e,'to':_0x2f2f6e+_0x3f4369['length']});return;}if(_0x5cea14['overlay']){let _0x4e401d=_0x4f4425['length'];if(_0x3d8746(_0x5cea14['tree'],_0x5cea14['overlay'][0x0]['from']+_0x2f2f6e),_0x4f4425['length']>_0x4e401d)return;}}for(let _0x25ea04=0x0;_0x25ea04<_0x3f4369['children']['length'];_0x25ea04++){let _0x203dde=_0x3f4369['children'][_0x25ea04];_0x203dde instanceof _0x4939af&&_0x3d8746(_0x203dde,_0x3f4369['positions'][_0x25ea04]+_0x2f2f6e);}};return _0x3d8746(syntaxTree(_0x452af4),0x0),_0x4f4425;}get['allowsNesting'](){return!0x0;}}function topNodeAt(_0xfbb45,_0xdab178,_0x322ed6){let _0x12cc39=_0xfbb45['facet'](_0x343579),_0x435e39=syntaxTree(_0xfbb45)['topNode'];if(!_0x12cc39||_0x12cc39['allowsNesting']){for(let _0x2cdd36=_0x435e39;_0x2cdd36;_0x2cdd36=_0x2cdd36['enter'](_0xdab178,_0x322ed6,IterMode['ExcludeBuffers']))_0x2cdd36['type']['isTop']&&(_0x435e39=_0x2cdd36);}return _0x435e39;}_0x344024['setState']=StateEffect['define']();class _0x2724b2 extends _0x344024{constructor(_0x2adca7,_0x5dc633,_0x180558){super(_0x2adca7,_0x5dc633,[],_0x180558),this['parser']=_0x5dc633;}static['define'](_0x6b3b9b){let _0x18cfe2=defineLanguageFacet(_0x6b3b9b['languageData']);return new _0x2724b2(_0x18cfe2,_0x6b3b9b['parser']['configure']({'props':[languageDataProp['add'](_0x5ec3eb=>_0x5ec3eb['isTop']?_0x18cfe2:void 0x0)]}),_0x6b3b9b['name']);}['configure'](_0xe6f1e9,_0x50593f){return new _0x2724b2(this['data'],this['parser']['configure'](_0xe6f1e9),_0x50593f||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}}function syntaxTree(_0x74524d){let _0x17ef7d=_0x74524d['field'](_0x344024['state'],!0x1);return _0x17ef7d?_0x17ef7d['tree']:_0x4939af['empty'];}class DocInput{constructor(_0x127b9b){this['doc']=_0x127b9b,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x127b9b['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0x484d4f){return this['string']=this['cursor']['next'](_0x484d4f-this['cursorPos'])['value'],this['cursorPos']=_0x484d4f+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0x27e45f){return this['syncTo'](_0x27e45f),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x58591b,_0x287452){let _0x268753=this['cursorPos']-this['string']['length'];return _0x58591b<_0x268753||_0x287452>=this['cursorPos']?this['doc']['sliceString'](_0x58591b,_0x287452):this['string']['slice'](_0x58591b-_0x268753,_0x287452-_0x268753);}}let currentContext=null;class ParseContext{constructor(_0x138d86,_0x1ca366,_0x3de35e=[],_0x948131,_0x544900,_0x14fac5,_0xbd367c,_0x502166){this['parser']=_0x138d86,this['state']=_0x1ca366,this['fragments']=_0x3de35e,this['tree']=_0x948131,this['treeLen']=_0x544900,this['viewport']=_0x14fac5,this['skipped']=_0xbd367c,this['scheduleOn']=_0x502166,this['parse']=null,this['tempSkipped']=[];}static['create'](_0x502513,_0x5efe14,_0x4e7863){return new ParseContext(_0x502513,_0x5efe14,[],_0x4939af['empty'],0x0,_0x4e7863,[],null);}['startParse'](){return this['parser']['startParse'](new DocInput(this['state']['doc']),this['fragments']);}['work'](_0x3a407a,_0x565bb3){return null!=_0x565bb3&&_0x565bb3>=this['state']['doc']['length']&&(_0x565bb3=void 0x0),this['tree']!=_0x4939af['empty']&&this['isDone'](null!=_0x565bb3?_0x565bb3:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x201f98;if('number'==typeof _0x3a407a){let _0x121bba=Date['now']()+_0x3a407a;_0x3a407a=()=>Date['now']()>_0x121bba;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x565bb3&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x565bb3)&&_0x565bb3<this['state']['doc']['length']&&this['parse']['stopAt'](_0x565bb3);;){let _0x545e10=this['parse']['advance']();if(_0x545e10){if(this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](_0x545e10,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x201f98=this['parse']['stoppedAt'])&&void 0x0!==_0x201f98?_0x201f98:this['state']['doc']['length'],this['tree']=_0x545e10,this['parse']=null,!(this['treeLen']<(null!=_0x565bb3?_0x565bb3:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x3a407a())return!0x1;}});}['takeTree'](){let _0x1674d6,_0x3bb9b0;this['parse']&&(_0x1674d6=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x1674d6)&&this['parse']['stopAt'](_0x1674d6),this['withContext'](()=>{for(;!(_0x3bb9b0=this['parse']['advance']()););}),this['treeLen']=_0x1674d6,this['tree']=_0x3bb9b0,this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0xfbb1f){let _0x86baa7=currentContext;currentContext=this;try{return _0xfbb1f();}finally{currentContext=_0x86baa7;}}['withoutTempSkipped'](_0x24bbca){for(let _0x4a26c0;_0x4a26c0=this['tempSkipped']['pop']();)_0x24bbca=cutFragments(_0x24bbca,_0x4a26c0['from'],_0x4a26c0['to']);return _0x24bbca;}['changes'](_0x29632b,_0x5e13ed){let {fragments:_0x5a434d,tree:_0x16e5b2,treeLen:_0x956c79,viewport:_0x56ec6d,skipped:_0x264a30}=this;if(this['takeTree'](),!_0x29632b['empty']){let _0x29fc3e=[];if(_0x29632b['iterChangedRanges']((_0x51c22b,_0x226695,_0xe536b2,_0x2f289a)=>_0x29fc3e['push']({'fromA':_0x51c22b,'toA':_0x226695,'fromB':_0xe536b2,'toB':_0x2f289a})),_0x5a434d=TreeFragment['applyChanges'](_0x5a434d,_0x29fc3e),_0x16e5b2=_0x4939af['empty'],_0x956c79=0x0,_0x56ec6d={'from':_0x29632b['mapPos'](_0x56ec6d['from'],-0x1),'to':_0x29632b['mapPos'](_0x56ec6d['to'],0x1)},this['skipped']['length']){_0x264a30=[];for(let _0x4fe286 of this['skipped']){let _0x36c87e=_0x29632b['mapPos'](_0x4fe286['from'],0x1),_0x57cc76=_0x29632b['mapPos'](_0x4fe286['to'],-0x1);_0x36c87e<_0x57cc76&&_0x264a30['push']({'from':_0x36c87e,'to':_0x57cc76});}}}return new ParseContext(this['parser'],_0x5e13ed,_0x5a434d,_0x16e5b2,_0x956c79,_0x56ec6d,_0x264a30,this['scheduleOn']);}['updateViewport'](_0x955cc8){if(this['viewport']['from']==_0x955cc8['from']&&this['viewport']['to']==_0x955cc8['to'])return!0x1;this['viewport']=_0x955cc8;let _0x26a6ea=this['skipped']['length'];for(let _0x4e7fd7=0x0;_0x4e7fd7<this['skipped']['length'];_0x4e7fd7++){let {from:_0x2702ed,to:_0x2d0f4e}=this['skipped'][_0x4e7fd7];_0x2702ed<_0x955cc8['to']&&_0x2d0f4e>_0x955cc8['from']&&(this['fragments']=cutFragments(this['fragments'],_0x2702ed,_0x2d0f4e),this['skipped']['splice'](_0x4e7fd7--,0x1));}return!(this['skipped']['length']>=_0x26a6ea)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x34d3c8,_0x1ff046){this['skipped']['push']({'from':_0x34d3c8,'to':_0x1ff046});}static['getSkippingParser'](_0x2c02fb){return new class extends _0x137c2b{['createParse'](_0xf56d84,_0x59c84f,_0x58359a){let _0x76f1a2=_0x58359a[0x0]['from'],_0x5e43ef=_0x58359a[_0x58359a['length']-0x1]['to'];return{'parsedPos':_0x76f1a2,'advance'(){let _0x1ba247=currentContext;if(_0x1ba247){for(let _0x326126 of _0x58359a)_0x1ba247['tempSkipped']['push'](_0x326126);_0x2c02fb&&(_0x1ba247['scheduleOn']=_0x1ba247['scheduleOn']?Promise['all']([_0x1ba247['scheduleOn'],_0x2c02fb]):_0x2c02fb);}return this['parsedPos']=_0x5e43ef,new _0x4939af(_0x5d390a['none'],[],[],_0x5e43ef-_0x76f1a2);},'stoppedAt':null,'stopAt'(){}};}}();}['isDone'](_0x24ddc6){_0x24ddc6=Math['min'](_0x24ddc6,this['state']['doc']['length']);let _0x14c3a1=this['fragments'];return this['treeLen']>=_0x24ddc6&&_0x14c3a1['length']&&0x0==_0x14c3a1[0x0]['from']&&_0x14c3a1[0x0]['to']>=_0x24ddc6;}static['get'](){return currentContext;}}function cutFragments(_0x22abcc,_0x4cfed8,_0x3e5e21){return TreeFragment['applyChanges'](_0x22abcc,[{'fromA':_0x4cfed8,'toA':_0x3e5e21,'fromB':_0x4cfed8,'toB':_0x3e5e21}]);}class LanguageState{constructor(_0x1a88d0){this['context']=_0x1a88d0,this['tree']=_0x1a88d0['tree'];}['apply'](_0x179591){if(!_0x179591['docChanged']&&this['tree']==this['context']['tree'])return this;let _0x29d0a2=this['context']['changes'](_0x179591['changes'],_0x179591['state']),_0x11061d=this['context']['treeLen']==_0x179591['startState']['doc']['length']?void 0x0:Math['max'](_0x179591['changes']['mapPos'](this['context']['treeLen']),_0x29d0a2['viewport']['to']);return _0x29d0a2['work'](0x14,_0x11061d)||_0x29d0a2['takeTree'](),new LanguageState(_0x29d0a2);}static['init'](_0x36754d){let _0x3c36a7=Math['min'](0xbb8,_0x36754d['doc']['length']),_0x2741e6=ParseContext['create'](_0x36754d['facet'](_0x343579)['parser'],_0x36754d,{'from':0x0,'to':_0x3c36a7});return _0x2741e6['work'](0x14,_0x3c36a7)||_0x2741e6['takeTree'](),new LanguageState(_0x2741e6);}}_0x344024['state']=StateField['define']({'create':LanguageState['init'],'update'(_0x3fa154,_0x165ff8){for(let _0x1dcd15 of _0x165ff8['effects'])if(_0x1dcd15['is'](_0x344024['setState']))return _0x1dcd15['value'];return _0x165ff8['startState']['facet'](_0x343579)!=_0x165ff8['state']['facet'](_0x343579)?LanguageState['init'](_0x165ff8['state']):_0x3fa154['apply'](_0x165ff8);}});let requestIdle=_0x2c4b81=>{let _0x10fbf0=setTimeout(()=>_0x2c4b81(),0x1f4);return()=>clearTimeout(_0x10fbf0);};'undefined'!=typeof requestIdleCallback&&(requestIdle=_0x4d6e98=>{let _0x97ea9=-0x1,_0x8d1d43=setTimeout(()=>{_0x97ea9=requestIdleCallback(_0x4d6e98,{'timeout':0x190});},0x64);return()=>_0x97ea9<0x0?clearTimeout(_0x8d1d43):cancelIdleCallback(_0x97ea9);});const isInputPending='undefined'!=typeof navigator&&(null===(_0x376528=navigator['scheduling'])||void 0x0===_0x376528?void 0x0:_0x376528['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,_0x43254c=_0x9d032b['fromClass'](class{constructor(_0x4c0b67){this['view']=_0x4c0b67,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0xa56398){let _0x1e1e91=this['view']['state']['field'](_0x344024['state'])['context'];(_0x1e1e91['updateViewport'](_0xa56398['view']['viewport'])||this['view']['viewport']['to']>_0x1e1e91['treeLen'])&&this['scheduleWork'](),(_0xa56398['docChanged']||_0xa56398['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x1e1e91);}['scheduleWork'](){if(this['working'])return;let {state:_0x41ca58}=this['view'],_0xe3ddb9=_0x41ca58['field'](_0x344024['state']);_0xe3ddb9['tree']==_0xe3ddb9['context']['tree']&&_0xe3ddb9['context']['isDone'](_0x41ca58['doc']['length'])||(this['working']=requestIdle(this['work']));}['work'](_0x381521){this['working']=null;let _0x4ad7da=Date['now']();if(this['chunkEnd']<_0x4ad7da&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x4ad7da+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x70a5b,viewport:{to:_0x5b7c09}}=this['view'],_0x442f01=_0x70a5b['field'](_0x344024['state']);if(_0x442f01['tree']==_0x442f01['context']['tree']&&_0x442f01['context']['isDone'](_0x5b7c09+0x186a0))return;let _0x2d101b=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x381521&&!isInputPending?Math['max'](0x19,_0x381521['timeRemaining']()-0x5):0x3b9aca00),_0x278a42=_0x442f01['context']['treeLen']<_0x5b7c09&&_0x70a5b['doc']['length']>_0x5b7c09+0x3e8,_0x10d23b=_0x442f01['context']['work'](()=>isInputPending&&isInputPending()||Date['now']()>_0x2d101b,_0x5b7c09+(_0x278a42?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x4ad7da,(_0x10d23b||this['chunkBudget']<=0x0)&&(_0x442f01['context']['takeTree'](),this['view']['dispatch']({'effects':_0x344024['setState']['of'](new LanguageState(_0x442f01['context']))})),this['chunkBudget']>0x0&&(!_0x10d23b||_0x278a42)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x442f01['context']);}['checkAsyncSchedule'](_0x45544f){_0x45544f['scheduleOn']&&(this['workScheduled']++,_0x45544f['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x1d2e50=>logException(this['view']['state'],_0x1d2e50))['then'](()=>this['workScheduled']--),_0x45544f['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),_0x343579=Facet['define']({'combine':_0x4dc202=>_0x4dc202['length']?_0x4dc202[0x0]:null,'enables':_0x423d87=>[_0x344024['state'],_0x43254c,EditorView['contentAttributes']['compute']([_0x423d87],_0x582c63=>{let _0x397f53=_0x582c63['facet'](_0x423d87);return _0x397f53&&_0x397f53['name']?{'data-language':_0x397f53['name']}:{};})]});class LanguageSupport{constructor(_0x49687c,_0x3f6cb0=[]){this['language']=_0x49687c,this['support']=_0x3f6cb0,this['extension']=[_0x49687c,_0x3f6cb0];}}class LanguageDescription{constructor(_0x118e11,_0x10fda2,_0x54b843,_0x4dae99,_0x280d19,_0x3de082=void 0x0){this['name']=_0x118e11,this['alias']=_0x10fda2,this['extensions']=_0x54b843,this['filename']=_0x4dae99,this['loadFunc']=_0x280d19,this['support']=_0x3de082,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0x4f38ba=>this['support']=_0x4f38ba,_0x3d5d90=>{throw this['loading']=null,_0x3d5d90;}));}static['of'](_0x42596e){let {load:_0xc41f1,support:_0x3c2369}=_0x42596e;if(!_0xc41f1){if(!_0x3c2369)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0xc41f1=()=>Promise['resolve'](_0x3c2369);}return new LanguageDescription(_0x42596e['name'],(_0x42596e['alias']||[])['concat'](_0x42596e['name'])['map'](_0xa47501=>_0xa47501['toLowerCase']()),_0x42596e['extensions']||[],_0x42596e['filename'],_0xc41f1,_0x3c2369);}static['matchFilename'](_0x51780e,_0x5a2cb8){for(let _0x220eb0 of _0x51780e)if(_0x220eb0['filename']&&_0x220eb0['filename']['test'](_0x5a2cb8))return _0x220eb0;let _0xfb2a2=/\.([^.]+)$/['exec'](_0x5a2cb8);if(_0xfb2a2){for(let _0x5a0d02 of _0x51780e)if(_0x5a0d02['extensions']['indexOf'](_0xfb2a2[0x1])>-0x1)return _0x5a0d02;}return null;}static['matchLanguageName'](_0x1e6282,_0x49e850,_0x3a7efc=!0x0){_0x49e850=_0x49e850['toLowerCase']();for(let _0x2d57a6 of _0x1e6282)if(_0x2d57a6['alias']['some'](_0x1fa167=>_0x1fa167==_0x49e850))return _0x2d57a6;if(_0x3a7efc){for(let _0x1416cc of _0x1e6282)for(let _0x269ee3 of _0x1416cc['alias']){let _0xf62a60=_0x49e850['indexOf'](_0x269ee3);if(_0xf62a60>-0x1&&(_0x269ee3['length']>0x2||!/\w/['test'](_0x49e850[_0xf62a60-0x1])&&!/\w/['test'](_0x49e850[_0xf62a60+_0x269ee3['length']])))return _0x1416cc;}}return null;}}const indentService=Facet['define'](),indentUnit=Facet['define']({'combine':_0x42a82b=>{if(!_0x42a82b['length'])return'\x20\x20';let _0x1210b1=_0x42a82b[0x0];if(!_0x1210b1||/\S/['test'](_0x1210b1)||Array['from'](_0x1210b1)['some'](_0xcc72fb=>_0xcc72fb!=_0x1210b1[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x42a82b[0x0]));return _0x1210b1;}});function getIndentUnit(_0x3efc5b){let _0xa95460=_0x3efc5b['facet'](indentUnit);return 0x9==_0xa95460['charCodeAt'](0x0)?_0x3efc5b['tabSize']*_0xa95460['length']:_0xa95460['length'];}function indentString(_0x482c7d,_0x438235){let _0x4fe3fc='',_0x44b55e=_0x482c7d['tabSize'],_0x5682a1=_0x482c7d['facet'](indentUnit)[0x0];if('\x09'==_0x5682a1){for(;_0x438235>=_0x44b55e;)_0x4fe3fc+='\x09',_0x438235-=_0x44b55e;_0x5682a1='\x20';}for(let _0x25c87a=0x0;_0x25c87a<_0x438235;_0x25c87a++)_0x4fe3fc+=_0x5682a1;return _0x4fe3fc;}function getIndentation(_0x37ba1b,_0xca6bde){_0x37ba1b instanceof EditorState&&(_0x37ba1b=new IndentContext(_0x37ba1b));for(let _0x1f2ce4 of _0x37ba1b['state']['facet'](indentService)){let _0x418d11=_0x1f2ce4(_0x37ba1b,_0xca6bde);if(void 0x0!==_0x418d11)return _0x418d11;}let _0x40ef40=syntaxTree(_0x37ba1b['state']);return _0x40ef40['length']>=_0xca6bde?syntaxIndentation(_0x37ba1b,_0x40ef40,_0xca6bde):null;}class IndentContext{constructor(_0x52e84b,_0x36b1ca={}){this['state']=_0x52e84b,this['options']=_0x36b1ca,this['unit']=getIndentUnit(_0x52e84b);}['lineAt'](_0x5501df,_0x16d867=0x1){let _0x2b6155=this['state']['doc']['lineAt'](_0x5501df),{simulateBreak:_0x2c9376,simulateDoubleBreak:_0x575fad}=this['options'];return null!=_0x2c9376&&_0x2c9376>=_0x2b6155['from']&&_0x2c9376<=_0x2b6155['to']?_0x575fad&&_0x2c9376==_0x5501df?{'text':'','from':_0x5501df}:(_0x16d867<0x0?_0x2c9376<_0x5501df:_0x2c9376<=_0x5501df)?{'text':_0x2b6155['text']['slice'](_0x2c9376-_0x2b6155['from']),'from':_0x2c9376}:{'text':_0x2b6155['text']['slice'](0x0,_0x2c9376-_0x2b6155['from']),'from':_0x2b6155['from']}:_0x2b6155;}['textAfterPos'](_0x4d1c3e,_0x4aa175=0x1){if(this['options']['simulateDoubleBreak']&&_0x4d1c3e==this['options']['simulateBreak'])return'';let {text:_0x40a5ac,from:_0x852c97}=this['lineAt'](_0x4d1c3e,_0x4aa175);return _0x40a5ac['slice'](_0x4d1c3e-_0x852c97,Math['min'](_0x40a5ac['length'],_0x4d1c3e+0x64-_0x852c97));}['column'](_0x103ac7,_0x14ac09=0x1){let {text:_0x495fa5,from:_0x1515dc}=this['lineAt'](_0x103ac7,_0x14ac09),_0x2362a2=this['countColumn'](_0x495fa5,_0x103ac7-_0x1515dc),_0x4c52e5=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0x1515dc):-0x1;return _0x4c52e5>-0x1&&(_0x2362a2+=_0x4c52e5-this['countColumn'](_0x495fa5,_0x495fa5['search'](/\S|$/))),_0x2362a2;}['countColumn'](_0x52b674,_0x499fad=_0x52b674['length']){return countColumn(_0x52b674,this['state']['tabSize'],_0x499fad);}['lineIndent'](_0x5a3f94,_0x43963d=0x1){let {text:_0x47965b,from:_0x36cf75}=this['lineAt'](_0x5a3f94,_0x43963d),_0x4dc1f4=this['options']['overrideIndentation'];if(_0x4dc1f4){let _0x3713a7=_0x4dc1f4(_0x36cf75);if(_0x3713a7>-0x1)return _0x3713a7;}return this['countColumn'](_0x47965b,_0x47965b['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}}const indentNodeProp=new _0x114f67();function syntaxIndentation(_0x14e8a8,_0x457d90,_0x58acbc){let _0x371448=_0x457d90['resolveStack'](_0x58acbc),_0x135e79=_0x457d90['resolveInner'](_0x58acbc,-0x1)['resolve'](_0x58acbc,0x0)['enterUnfinishedNodesBefore'](_0x58acbc);if(_0x135e79!=_0x371448['node']){let _0x5cf39b=[];for(let _0x429b7f=_0x135e79;_0x429b7f&&!(_0x429b7f['from']<_0x371448['node']['from']||_0x429b7f['to']>_0x371448['node']['to']||_0x429b7f['from']==_0x371448['node']['from']&&_0x429b7f['type']==_0x371448['node']['type']);_0x429b7f=_0x429b7f['parent'])_0x5cf39b['push'](_0x429b7f);for(let _0xdb7053=_0x5cf39b['length']-0x1;_0xdb7053>=0x0;_0xdb7053--)_0x371448={'node':_0x5cf39b[_0xdb7053],'next':_0x371448};}return indentFor(_0x371448,_0x14e8a8,_0x58acbc);}function indentFor(_0x42e423,_0x34510c,_0x3f744e){for(let _0x233a4b=_0x42e423;_0x233a4b;_0x233a4b=_0x233a4b['next']){let _0x106207=indentStrategy(_0x233a4b['node']);if(_0x106207)return _0x106207(TreeIndentContext['create'](_0x34510c,_0x3f744e,_0x233a4b));}return 0x0;}function _0x4b0251(_0x5b0e53){return _0x5b0e53['pos']==_0x5b0e53['options']['simulateBreak']&&_0x5b0e53['options']['simulateDoubleBreak'];}function indentStrategy(_0x5488b7){let _0x2321fe=_0x5488b7['type']['prop'](indentNodeProp);if(_0x2321fe)return _0x2321fe;let _0x1ba4d9,_0x4f49d3=_0x5488b7['firstChild'];if(_0x4f49d3&&(_0x1ba4d9=_0x4f49d3['type']['prop'](_0x114f67['closedBy']))){let _0x1e6b15=_0x5488b7['lastChild'],_0x1276df=_0x1e6b15&&_0x1ba4d9['indexOf'](_0x1e6b15['name'])>-0x1;return _0x4abc34=>delimitedStrategy(_0x4abc34,!0x0,0x1,void 0x0,_0x1276df&&!_0x4b0251(_0x4abc34)?_0x1e6b15['from']:void 0x0);}return null==_0x5488b7['parent']?topIndent:null;}function topIndent(){return 0x0;}class TreeIndentContext extends IndentContext{constructor(_0xf1e385,_0x458998,_0x3a9618){super(_0xf1e385['state'],_0xf1e385['options']),this['base']=_0xf1e385,this['pos']=_0x458998,this['context']=_0x3a9618;}get['node'](){return this['context']['node'];}static['create'](_0x53950c,_0x58939d,_0x12231f){return new TreeIndentContext(_0x53950c,_0x58939d,_0x12231f);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0x19d08d){let _0x51d01a=this['state']['doc']['lineAt'](_0x19d08d['from']);for(;;){let _0x27eae7=_0x19d08d['resolve'](_0x51d01a['from']);for(;_0x27eae7['parent']&&_0x27eae7['parent']['from']==_0x27eae7['from'];)_0x27eae7=_0x27eae7['parent'];if(isParent(_0x27eae7,_0x19d08d))break;_0x51d01a=this['state']['doc']['lineAt'](_0x27eae7['from']);}return this['lineIndent'](_0x51d01a['from']);}['continue'](){return indentFor(this['context']['next'],this['base'],this['pos']);}}function isParent(_0x2387ec,_0x5effb8){for(let _0x3f9736=_0x5effb8;_0x3f9736;_0x3f9736=_0x3f9736['parent'])if(_0x2387ec==_0x3f9736)return!0x0;return!0x1;}function bracketedAligned(_0x11c81a){let _0x18cec7=_0x11c81a['node'],_0x97113a=_0x18cec7['childAfter'](_0x18cec7['from']),_0xa9d9ec=_0x18cec7['lastChild'];if(!_0x97113a)return null;let _0x28a6e1=_0x11c81a['options']['simulateBreak'],_0x498d75=_0x11c81a['state']['doc']['lineAt'](_0x97113a['from']),_0x5b5d0e=null==_0x28a6e1||_0x28a6e1<=_0x498d75['from']?_0x498d75['to']:Math['min'](_0x498d75['to'],_0x28a6e1);for(let _0x186523=_0x97113a['to'];;){let _0x97384a=_0x18cec7['childAfter'](_0x186523);if(!_0x97384a||_0x97384a==_0xa9d9ec)return null;if(!_0x97384a['type']['isSkipped']){if(_0x97384a['from']>=_0x5b5d0e)return null;let _0x48abce=/^ */['exec'](_0x498d75['text']['slice'](_0x97113a['to']-_0x498d75['from']))[0x0]['length'];return{'from':_0x97113a['from'],'to':_0x97113a['to']+_0x48abce};}_0x186523=_0x97384a['to'];}}function delimitedIndent({closing:_0x10c284,align:_0x58ca85=!0x0,units:_0x1044c7=0x1}){return _0x37e838=>delimitedStrategy(_0x37e838,_0x58ca85,_0x1044c7,_0x10c284);}function delimitedStrategy(_0x214d3f,_0x26d52a,_0x107747,_0x1f70eb,_0x3e1053){let _0x1d0208=_0x214d3f['textAfter'],_0x2348ae=_0x1d0208['match'](/^\s*/)[0x0]['length'],_0x2aa625=_0x1f70eb&&_0x1d0208['slice'](_0x2348ae,_0x2348ae+_0x1f70eb['length'])==_0x1f70eb||_0x3e1053==_0x214d3f['pos']+_0x2348ae,_0x486676=_0x26d52a?bracketedAligned(_0x214d3f):null;return _0x486676?_0x2aa625?_0x214d3f['column'](_0x486676['from']):_0x214d3f['column'](_0x486676['to']):_0x214d3f['baseIndent']+(_0x2aa625?0x0:_0x214d3f['unit']*_0x107747);}const flatIndent=_0x15c004=>_0x15c004['baseIndent'];function continuedIndent({except:_0x482138,units:_0x5beead=0x1}={}){return _0x19b849=>{let _0x983ff5=_0x482138&&_0x482138['test'](_0x19b849['textAfter']);return _0x19b849['baseIndent']+(_0x983ff5?0x0:_0x5beead*_0x19b849['unit']);};}const DontIndentBeyond=0xc8;function indentOnInput(){return EditorState['transactionFilter']['of'](_0x44e4eb=>{if(!_0x44e4eb['docChanged']||!_0x44e4eb['isUserEvent']('input.type')&&!_0x44e4eb['isUserEvent']('input.complete'))return _0x44e4eb;let _0x1db11c=_0x44e4eb['startState']['languageDataAt']('indentOnInput',_0x44e4eb['startState']['selection']['main']['head']);if(!_0x1db11c['length'])return _0x44e4eb;let _0x1858f2=_0x44e4eb['newDoc'],{head:_0x38d868}=_0x44e4eb['newSelection']['main'],_0x2b8f29=_0x1858f2['lineAt'](_0x38d868);if(_0x38d868>_0x2b8f29['from']+DontIndentBeyond)return _0x44e4eb;let _0x4b502c=_0x1858f2['sliceString'](_0x2b8f29['from'],_0x38d868);if(!_0x1db11c['some'](_0x299466=>_0x299466['test'](_0x4b502c)))return _0x44e4eb;let {state:_0x460640}=_0x44e4eb,_0x41a85a=-0x1,_0x95257f=[];for(let {head:_0x35fc21}of _0x460640['selection']['ranges']){let _0x3ca049=_0x460640['doc']['lineAt'](_0x35fc21);if(_0x3ca049['from']==_0x41a85a)continue;_0x41a85a=_0x3ca049['from'];let _0x5887c4=getIndentation(_0x460640,_0x3ca049['from']);if(null==_0x5887c4)continue;let _0x24adb9=/^\s*/['exec'](_0x3ca049['text'])[0x0],_0xd60a55=indentString(_0x460640,_0x5887c4);_0x24adb9!=_0xd60a55&&_0x95257f['push']({'from':_0x3ca049['from'],'to':_0x3ca049['from']+_0x24adb9['length'],'insert':_0xd60a55});}return _0x95257f['length']?[_0x44e4eb,{'changes':_0x95257f,'sequential':!0x0}]:_0x44e4eb;});}const _0x1f0b14=Facet['define'](),_0x3aee37=new _0x114f67();function _0x444f11(_0x31ff51){let _0x17f663=_0x31ff51['firstChild'],_0x2af349=_0x31ff51['lastChild'];return _0x17f663&&_0x17f663['to']<_0x2af349['from']?{'from':_0x17f663['to'],'to':_0x2af349['type']['isError']?_0x31ff51['to']:_0x2af349['from']}:null;}function syntaxFolding(_0x458399,_0xa09200,_0x5e11be){let _0x7b4fc9=syntaxTree(_0x458399);if(_0x7b4fc9['length']<_0x5e11be)return null;let _0x224617=null;for(let _0x147bbd=_0x7b4fc9['resolveStack'](_0x5e11be,0x1);_0x147bbd;_0x147bbd=_0x147bbd['next']){let _0xc9aa2f=_0x147bbd['node'];if(_0xc9aa2f['to']<=_0x5e11be||_0xc9aa2f['from']>_0x5e11be)continue;if(_0x224617&&_0xc9aa2f['from']<_0xa09200)break;let _0x4c96b1=_0xc9aa2f['type']['prop'](_0x3aee37);if(_0x4c96b1&&(_0xc9aa2f['to']<_0x7b4fc9['length']-0x32||_0x7b4fc9['length']==_0x458399['doc']['length']||!_0x491f07(_0xc9aa2f))){let _0x1ee503=_0x4c96b1(_0xc9aa2f,_0x458399);_0x1ee503&&_0x1ee503['from']<=_0x5e11be&&_0x1ee503['from']>=_0xa09200&&_0x1ee503['to']>_0x5e11be&&(_0x224617=_0x1ee503);}}return _0x224617;}function _0x491f07(_0x4fac5a){let _0x3b0ce2=_0x4fac5a['lastChild'];return _0x3b0ce2&&_0x3b0ce2['to']==_0x4fac5a['to']&&_0x3b0ce2['type']['isError'];}function _0x2e070f(_0x50dee0,_0x10eeda,_0x421da1){for(let _0x457c1c of _0x50dee0['facet'](_0x1f0b14)){let _0x2961e8=_0x457c1c(_0x50dee0,_0x10eeda,_0x421da1);if(_0x2961e8)return _0x2961e8;}return syntaxFolding(_0x50dee0,_0x10eeda,_0x421da1);}function _0x45228e(_0x1c26bc,_0x2fbf62){let _0x36ae8a=_0x2fbf62['mapPos'](_0x1c26bc['from'],0x1),_0x4e7f45=_0x2fbf62['mapPos'](_0x1c26bc['to'],-0x1);return _0x36ae8a>=_0x4e7f45?void 0x0:{'from':_0x36ae8a,'to':_0x4e7f45};}const foldEffect=StateEffect['define']({'map':_0x45228e}),unfoldEffect=StateEffect['define']({'map':_0x45228e});function selectedLines(_0x496db3){let _0x1facc4=[];for(let {head:_0x14a971}of _0x496db3['state']['selection']['ranges'])_0x1facc4['some'](_0x347b14=>_0x347b14['from']<=_0x14a971&&_0x347b14['to']>=_0x14a971)||_0x1facc4['push'](_0x496db3['lineBlockAt'](_0x14a971));return _0x1facc4;}const foldState=StateField['define']({'create':()=>Decoration['none'],'update'(_0x222b7c,_0x5c974d){_0x5c974d['isUserEvent']('delete')&&_0x5c974d['changes']['iterChangedRanges']((_0x3eb3ad,_0x375915)=>_0x222b7c=_0x381049(_0x222b7c,_0x3eb3ad,_0x375915)),_0x222b7c=_0x222b7c['map'](_0x5c974d['changes']);for(let _0x303258 of _0x5c974d['effects'])if(_0x303258['is'](foldEffect)&&!foldExists(_0x222b7c,_0x303258['value']['from'],_0x303258['value']['to'])){let {preparePlaceholder:_0x1c656d}=_0x5c974d['state']['facet'](_0x1522b8),_0xe62242=_0x1c656d?Decoration['replace']({'widget':new PreparedFoldWidget(_0x1c656d(_0x5c974d['state'],_0x303258['value']))}):foldWidget;_0x222b7c=_0x222b7c['update']({'add':[_0xe62242['range'](_0x303258['value']['from'],_0x303258['value']['to'])]});}else _0x303258['is'](unfoldEffect)&&(_0x222b7c=_0x222b7c['update']({'filter':(_0x4e86e0,_0x4f03e6)=>_0x303258['value']['from']!=_0x4e86e0||_0x303258['value']['to']!=_0x4f03e6,'filterFrom':_0x303258['value']['from'],'filterTo':_0x303258['value']['to']}));return _0x5c974d['selection']&&(_0x222b7c=_0x381049(_0x222b7c,_0x5c974d['selection']['main']['head'])),_0x222b7c;},'provide':_0x217c1b=>EditorView['decorations']['from'](_0x217c1b),'toJSON'(_0x20ae34,_0x478c11){let _0x338098=[];return _0x20ae34['between'](0x0,_0x478c11['doc']['length'],(_0x2db454,_0x3f7cbd)=>{_0x338098['push'](_0x2db454,_0x3f7cbd);}),_0x338098;},'fromJSON'(_0x5412b){if(!Array['isArray'](_0x5412b)||_0x5412b['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x370c49=[];for(let _0x518785=0x0;_0x518785<_0x5412b['length'];){let _0x35af06=_0x5412b[_0x518785++],_0x4ca307=_0x5412b[_0x518785++];if('number'!=typeof _0x35af06||'number'!=typeof _0x4ca307)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x370c49['push'](foldWidget['range'](_0x35af06,_0x4ca307));}return Decoration['set'](_0x370c49,!0x0);}});function _0x381049(_0x217c76,_0x33d0d3,_0x2f2faa=_0x33d0d3){let _0x50e4a0=!0x1;return _0x217c76['between'](_0x33d0d3,_0x2f2faa,(_0x47ab51,_0x4562ac)=>{_0x47ab51<_0x2f2faa&&_0x4562ac>_0x33d0d3&&(_0x50e4a0=!0x0);}),_0x50e4a0?_0x217c76['update']({'filterFrom':_0x33d0d3,'filterTo':_0x2f2faa,'filter':(_0x5134a7,_0x224a71)=>_0x5134a7>=_0x2f2faa||_0x224a71<=_0x33d0d3}):_0x217c76;}function _0x426a31(_0x2d7e39,_0x3a29e2,_0x26c25b){var _0x387591;let _0x487f32=null;return null===(_0x387591=_0x2d7e39['field'](foldState,!0x1))||void 0x0===_0x387591||_0x387591['between'](_0x3a29e2,_0x26c25b,(_0x2368d3,_0x2d17f1)=>{(!_0x487f32||_0x487f32['from']>_0x2368d3)&&(_0x487f32={'from':_0x2368d3,'to':_0x2d17f1});}),_0x487f32;}function foldExists(_0x563a2a,_0x50b541,_0x1de309){let _0x2ca91e=!0x1;return _0x563a2a['between'](_0x50b541,_0x50b541,(_0x4a7f32,_0x3fd7f2)=>{_0x4a7f32==_0x50b541&&_0x3fd7f2==_0x1de309&&(_0x2ca91e=!0x0);}),_0x2ca91e;}function _0x11fe4c(_0x12c474,_0x2baa52){return _0x12c474['field'](foldState,!0x1)?_0x2baa52:_0x2baa52['concat'](StateEffect['appendConfig']['of'](_0x4b3874()));}const _0x20b905=_0xd4cce4=>{for(let _0x21d7e1 of selectedLines(_0xd4cce4)){let _0x4d0eab=_0x2e070f(_0xd4cce4['state'],_0x21d7e1['from'],_0x21d7e1['to']);if(_0x4d0eab)return _0xd4cce4['dispatch']({'effects':_0x11fe4c(_0xd4cce4['state'],[foldEffect['of'](_0x4d0eab),_0x42379a(_0xd4cce4,_0x4d0eab)])}),!0x0;}return!0x1;},_0x26032b=_0x156a02=>{if(!_0x156a02['state']['field'](foldState,!0x1))return!0x1;let _0x271f3c=[];for(let _0x13a968 of selectedLines(_0x156a02)){let _0x3e0827=_0x426a31(_0x156a02['state'],_0x13a968['from'],_0x13a968['to']);_0x3e0827&&_0x271f3c['push'](unfoldEffect['of'](_0x3e0827),_0x42379a(_0x156a02,_0x3e0827,!0x1));}return _0x271f3c['length']&&_0x156a02['dispatch']({'effects':_0x271f3c}),_0x271f3c['length']>0x0;};function _0x42379a(_0x248c87,_0x289217,_0x348ad1=!0x0){let _0xabc4a5=_0x248c87['state']['doc']['lineAt'](_0x289217['from'])['number'],_0xea84d3=_0x248c87['state']['doc']['lineAt'](_0x289217['to'])['number'];return EditorView['announce']['of'](_0x248c87['state']['phrase'](_0x348ad1?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0xabc4a5+'\x20'+_0x248c87['state']['phrase']('to')+'\x20'+_0xea84d3+'.');}const _0x250b6e=_0x282f8e=>{let {state:_0x57bfa5}=_0x282f8e,_0x2a0db6=[];for(let _0x44946d=0x0;_0x44946d<_0x57bfa5['doc']['length'];){let _0x4ecdc0=_0x282f8e['lineBlockAt'](_0x44946d),_0x4f9c18=_0x2e070f(_0x57bfa5,_0x4ecdc0['from'],_0x4ecdc0['to']);_0x4f9c18&&_0x2a0db6['push'](foldEffect['of'](_0x4f9c18)),_0x44946d=(_0x4f9c18?_0x282f8e['lineBlockAt'](_0x4f9c18['to']):_0x4ecdc0)['to']+0x1;}return _0x2a0db6['length']&&_0x282f8e['dispatch']({'effects':_0x11fe4c(_0x282f8e['state'],_0x2a0db6)}),!!_0x2a0db6['length'];},_0x46fc9c=_0x238d51=>{let _0x28de84=_0x238d51['state']['field'](foldState,!0x1);if(!_0x28de84||!_0x28de84['size'])return!0x1;let _0x852449=[];return _0x28de84['between'](0x0,_0x238d51['state']['doc']['length'],(_0x23ed11,_0xf9788a)=>{_0x852449['push'](unfoldEffect['of']({'from':_0x23ed11,'to':_0xf9788a}));}),_0x238d51['dispatch']({'effects':_0x852449}),!0x0;},_0xe2c3f9=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0x20b905},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0x26032b},{'key':'Ctrl-Alt-[','run':_0x250b6e},{'key':'Ctrl-Alt-]','run':_0x46fc9c}],defaultConfig={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},_0x1522b8=Facet['define']({'combine':_0x382227=>_0x592eca(_0x382227,defaultConfig)});function _0x4b3874(_0x3962c3){return[foldState,_0x336629];}function widgetToDOM(_0x44f671,_0x1c7416){let {state:_0x2ff085}=_0x44f671,_0x30aeca=_0x2ff085['facet'](_0x1522b8),_0x29ff3c=_0x1f41e7=>{let _0x4991c9=_0x44f671['lineBlockAt'](_0x44f671['posAtDOM'](_0x1f41e7['target'])),_0x308789=_0x426a31(_0x44f671['state'],_0x4991c9['from'],_0x4991c9['to']);_0x308789&&_0x44f671['dispatch']({'effects':unfoldEffect['of'](_0x308789)}),_0x1f41e7['preventDefault']();};if(_0x30aeca['placeholderDOM'])return _0x30aeca['placeholderDOM'](_0x44f671,_0x29ff3c,_0x1c7416);let _0x5ffe6c=document['createElement']('span');return _0x5ffe6c['textContent']=_0x30aeca['placeholderText'],_0x5ffe6c['setAttribute']('aria-label',_0x2ff085['phrase']('folded\x20code')),_0x5ffe6c['title']=_0x2ff085['phrase']('unfold'),_0x5ffe6c['className']='cm-foldPlaceholder',_0x5ffe6c['onclick']=_0x29ff3c,_0x5ffe6c;}const foldWidget=Decoration['replace']({'widget':new class extends WidgetType{['toDOM'](_0x3cee21){return widgetToDOM(_0x3cee21,null);}}()});class PreparedFoldWidget extends WidgetType{constructor(_0x2a019d){super(),this['value']=_0x2a019d;}['eq'](_0x2024a5){return this['value']==_0x2024a5['value'];}['toDOM'](_0x1932da){return widgetToDOM(_0x1932da,this['value']);}}const foldGutterDefaults={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};class _0x1b0c84 extends GutterMarker{constructor(_0x1999fa,_0x10a7fb){super(),this['config']=_0x1999fa,this['open']=_0x10a7fb;}['eq'](_0x14e1e0){return this['config']==_0x14e1e0['config']&&this['open']==_0x14e1e0['open'];}['toDOM'](_0x214a36){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x352b73=document['createElement']('span');return _0x352b73['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x352b73['title']=_0x214a36['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x352b73;}}function foldGutter(_0x5ea38e={}){let _0x344a3a={...foldGutterDefaults,..._0x5ea38e},_0x327e8d=new _0x1b0c84(_0x344a3a,!0x0),_0x470e94=new _0x1b0c84(_0x344a3a,!0x1),_0x26f4b2=_0x9d032b['fromClass'](class{constructor(_0x31c949){this['from']=_0x31c949['viewport']['from'],this['markers']=this['buildMarkers'](_0x31c949);}['update'](_0x1f62af){(_0x1f62af['docChanged']||_0x1f62af['viewportChanged']||_0x1f62af['startState']['facet'](_0x343579)!=_0x1f62af['state']['facet'](_0x343579)||_0x1f62af['startState']['field'](foldState,!0x1)!=_0x1f62af['state']['field'](foldState,!0x1)||syntaxTree(_0x1f62af['startState'])!=syntaxTree(_0x1f62af['state'])||_0x344a3a['foldingChanged'](_0x1f62af))&&(this['markers']=this['buildMarkers'](_0x1f62af['view']));}['buildMarkers'](_0x496980){let _0x93bf21=new RangeSetBuilder();for(let _0x509762 of _0x496980['viewportLineBlocks']){let _0x23c5bb=_0x426a31(_0x496980['state'],_0x509762['from'],_0x509762['to'])?_0x470e94:_0x2e070f(_0x496980['state'],_0x509762['from'],_0x509762['to'])?_0x327e8d:null;_0x23c5bb&&_0x93bf21['add'](_0x509762['from'],_0x509762['from'],_0x23c5bb);}return _0x93bf21['finish']();}}),{domEventHandlers:_0x7a9eee}=_0x344a3a;return[_0x26f4b2,gutter({'class':'cm-foldGutter','markers'(_0x58c4ab){var _0x4e483a;return(null===(_0x4e483a=_0x58c4ab['plugin'](_0x26f4b2))||void 0x0===_0x4e483a?void 0x0:_0x4e483a['markers'])||RangeSet['empty'];},'initialSpacer':()=>new _0x1b0c84(_0x344a3a,!0x1),'domEventHandlers':{..._0x7a9eee,'click':(_0x2f6bf0,_0x6b90f8,_0x2525de)=>{if(_0x7a9eee['click']&&_0x7a9eee['click'](_0x2f6bf0,_0x6b90f8,_0x2525de))return!0x0;let _0x43788a=_0x426a31(_0x2f6bf0['state'],_0x6b90f8['from'],_0x6b90f8['to']);if(_0x43788a)return _0x2f6bf0['dispatch']({'effects':unfoldEffect['of'](_0x43788a)}),!0x0;let _0x5bdbe1=_0x2e070f(_0x2f6bf0['state'],_0x6b90f8['from'],_0x6b90f8['to']);return!!_0x5bdbe1&&(_0x2f6bf0['dispatch']({'effects':foldEffect['of'](_0x5bdbe1)}),!0x0);}}}),_0x4b3874()];}const _0x336629=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(_0x30b126,_0x41f4c2){let _0x2962de;function _0x22d44f(_0x4db072){let _0x115b20=StyleModule['newName']();return(_0x2962de||(_0x2962de=Object['create'](null)))['.'+_0x115b20]=_0x4db072,_0x115b20;}this['specs']=_0x30b126;const _0x932227='string'==typeof _0x41f4c2['all']?_0x41f4c2['all']:_0x41f4c2['all']?_0x22d44f(_0x41f4c2['all']):void 0x0,_0x6ae08e=_0x41f4c2['scope'];this['scope']=_0x6ae08e instanceof _0x344024?_0x45e35a=>_0x45e35a['prop'](languageDataProp)==_0x6ae08e['data']:_0x6ae08e?_0x242919=>_0x242919==_0x6ae08e:void 0x0,this['style']=tagHighlighter(_0x30b126['map'](_0x16c04f=>({'tag':_0x16c04f['tag'],'class':_0x16c04f['class']||_0x22d44f(Object['assign']({},_0x16c04f,{'tag':null}))})),{'all':_0x932227})['style'],this['module']=_0x2962de?new StyleModule(_0x2962de):null,this['themeType']=_0x41f4c2['themeType'];}static['define'](_0x726c8d,_0xaf0ba6){return new HighlightStyle(_0x726c8d,_0xaf0ba6||{});}}const highlighterFacet=Facet['define'](),fallbackHighlighter=Facet['define']({'combine':_0x23906a=>_0x23906a['length']?[_0x23906a[0x0]]:null});function getHighlighters(_0x554541){let _0x27ab39=_0x554541['facet'](highlighterFacet);return _0x27ab39['length']?_0x27ab39:_0x554541['facet'](fallbackHighlighter);}function syntaxHighlighting(_0x4b03d4,_0x3ff4f3){let _0x121572,_0x29e290=[treeHighlighter];return _0x4b03d4 instanceof HighlightStyle&&(_0x4b03d4['module']&&_0x29e290['push'](EditorView['styleModule']['of'](_0x4b03d4['module'])),_0x121572=_0x4b03d4['themeType']),(null==_0x3ff4f3?void 0x0:_0x3ff4f3['fallback'])?_0x29e290['push'](fallbackHighlighter['of'](_0x4b03d4)):_0x121572?_0x29e290['push'](highlighterFacet['computeN']([EditorView['darkTheme']],_0xb68147=>_0xb68147['facet'](EditorView['darkTheme'])==('dark'==_0x121572)?[_0x4b03d4]:[])):_0x29e290['push'](highlighterFacet['of'](_0x4b03d4)),_0x29e290;}class TreeHighlighter{constructor(_0x17ee14){this['markCache']=Object['create'](null),this['tree']=syntaxTree(_0x17ee14['state']),this['decorations']=this['buildDeco'](_0x17ee14,getHighlighters(_0x17ee14['state'])),this['decoratedTo']=_0x17ee14['viewport']['to'];}['update'](_0x25d4a6){let _0x1fa85c=syntaxTree(_0x25d4a6['state']),_0x4cc47f=getHighlighters(_0x25d4a6['state']),_0xd6d54=_0x4cc47f!=getHighlighters(_0x25d4a6['startState']),{viewport:_0x5536d3}=_0x25d4a6['view'],_0x47c7c0=_0x25d4a6['changes']['mapPos'](this['decoratedTo'],0x1);_0x1fa85c['length']<_0x5536d3['to']&&!_0xd6d54&&_0x1fa85c['type']==this['tree']['type']&&_0x47c7c0>=_0x5536d3['to']?(this['decorations']=this['decorations']['map'](_0x25d4a6['changes']),this['decoratedTo']=_0x47c7c0):(_0x1fa85c!=this['tree']||_0x25d4a6['viewportChanged']||_0xd6d54)&&(this['tree']=_0x1fa85c,this['decorations']=this['buildDeco'](_0x25d4a6['view'],_0x4cc47f),this['decoratedTo']=_0x5536d3['to']);}['buildDeco'](_0x42290a,_0x18b83c){if(!_0x18b83c||!this['tree']['length'])return Decoration['none'];let _0x43d71e=new RangeSetBuilder();for(let {from:_0x20621b,to:_0x2a05d0}of _0x42290a['visibleRanges'])highlightTree(this['tree'],_0x18b83c,(_0x2833b8,_0x550dc8,_0x21ee70)=>{_0x43d71e['add'](_0x2833b8,_0x550dc8,this['markCache'][_0x21ee70]||(this['markCache'][_0x21ee70]=Decoration['mark']({'class':_0x21ee70})));},_0x20621b,_0x2a05d0);return _0x43d71e['finish']();}}const treeHighlighter=_0x2d7c8c['high'](_0x9d032b['fromClass'](TreeHighlighter,{'decorations':_0x278670=>_0x278670['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'}]),_0x5e0115=EditorView['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),DefaultScanDist=0x2710,DefaultBrackets='()[]{}',bracketMatchingConfig=Facet['define']({'combine':_0x4060f0=>_0x592eca(_0x4060f0,{'afterCursor':!0x0,'brackets':DefaultBrackets,'maxScanDistance':DefaultScanDist,'renderMatch':defaultRenderMatch})}),matchingMark=Decoration['mark']({'class':'cm-matchingBracket'}),nonmatchingMark=Decoration['mark']({'class':'cm-nonmatchingBracket'});function defaultRenderMatch(_0x1e2f54){let _0x275c23=[],_0x5e85c0=_0x1e2f54['matched']?matchingMark:nonmatchingMark;return _0x275c23['push'](_0x5e85c0['range'](_0x1e2f54['start']['from'],_0x1e2f54['start']['to'])),_0x1e2f54['end']&&_0x275c23['push'](_0x5e85c0['range'](_0x1e2f54['end']['from'],_0x1e2f54['end']['to'])),_0x275c23;}const bracketMatchingState=StateField['define']({'create':()=>Decoration['none'],'update'(_0x4010b7,_0x42b812){if(!_0x42b812['docChanged']&&!_0x42b812['selection'])return _0x4010b7;let _0xeb123b=[],_0x11dc1e=_0x42b812['state']['facet'](bracketMatchingConfig);for(let _0x25d419 of _0x42b812['state']['selection']['ranges']){if(!_0x25d419['empty'])continue;let _0x3568f9=matchBrackets(_0x42b812['state'],_0x25d419['head'],-0x1,_0x11dc1e)||_0x25d419['head']>0x0&&matchBrackets(_0x42b812['state'],_0x25d419['head']-0x1,0x1,_0x11dc1e)||_0x11dc1e['afterCursor']&&(matchBrackets(_0x42b812['state'],_0x25d419['head'],0x1,_0x11dc1e)||_0x25d419['head']<_0x42b812['state']['doc']['length']&&matchBrackets(_0x42b812['state'],_0x25d419['head']+0x1,-0x1,_0x11dc1e));_0x3568f9&&(_0xeb123b=_0xeb123b['concat'](_0x11dc1e['renderMatch'](_0x3568f9,_0x42b812['state'])));}return Decoration['set'](_0xeb123b,!0x0);},'provide':_0x2cbb7d=>EditorView['decorations']['from'](_0x2cbb7d)}),bracketMatchingUnique=[bracketMatchingState,_0x5e0115];function bracketMatching(_0x235f4c={}){return[bracketMatchingConfig['of'](_0x235f4c),bracketMatchingUnique];}const bracketMatchingHandle=new _0x114f67();function matchingNodes(_0x1d0bde,_0x215159,_0xbba8e6){let _0x3094e1=_0x1d0bde['prop'](_0x215159<0x0?_0x114f67['openedBy']:_0x114f67['closedBy']);if(_0x3094e1)return _0x3094e1;if(0x1==_0x1d0bde['name']['length']){let _0x4787dc=_0xbba8e6['indexOf'](_0x1d0bde['name']);if(_0x4787dc>-0x1&&_0x4787dc%0x2==(_0x215159<0x0?0x1:0x0))return[_0xbba8e6[_0x4787dc+_0x215159]];}return null;}function _0x25a6c4(_0x91654b){let _0x12debf=_0x91654b['type']['prop'](bracketMatchingHandle);return _0x12debf?_0x12debf(_0x91654b['node']):_0x91654b;}function matchBrackets(_0x539038,_0x43a0f9,_0x3226ac,_0xd9c779={}){let _0x1dc3a0=_0xd9c779['maxScanDistance']||DefaultScanDist,_0x197966=_0xd9c779['brackets']||DefaultBrackets,_0x1b1c80=syntaxTree(_0x539038),_0x22822d=_0x1b1c80['resolveInner'](_0x43a0f9,_0x3226ac);for(let _0xf061ba=_0x22822d;_0xf061ba;_0xf061ba=_0xf061ba['parent']){let _0x1017fb=matchingNodes(_0xf061ba['type'],_0x3226ac,_0x197966);if(_0x1017fb&&_0xf061ba['from']<_0xf061ba['to']){let _0x55349b=_0x25a6c4(_0xf061ba);if(_0x55349b&&(_0x3226ac>0x0?_0x43a0f9>=_0x55349b['from']&&_0x43a0f9<_0x55349b['to']:_0x43a0f9>_0x55349b['from']&&_0x43a0f9<=_0x55349b['to']))return matchMarkedBrackets(_0x539038,_0x43a0f9,_0x3226ac,_0xf061ba,_0x55349b,_0x1017fb,_0x197966);}}return matchPlainBrackets(_0x539038,_0x43a0f9,_0x3226ac,_0x1b1c80,_0x22822d['type'],_0x1dc3a0,_0x197966);}function matchMarkedBrackets(_0x23ca4b,_0x3899c7,_0x5ca18a,_0x96c162,_0x75902,_0x5e603d,_0x89cec7){let _0x3e7dae=_0x96c162['parent'],_0xc50e6e={'from':_0x75902['from'],'to':_0x75902['to']},_0x214da3=0x0,_0x2883d0=null==_0x3e7dae?void 0x0:_0x3e7dae['cursor']();if(_0x2883d0&&(_0x5ca18a<0x0?_0x2883d0['childBefore'](_0x96c162['from']):_0x2883d0['childAfter'](_0x96c162['to'])))do{if(_0x5ca18a<0x0?_0x2883d0['to']<=_0x96c162['from']:_0x2883d0['from']>=_0x96c162['to']){if(0x0==_0x214da3&&_0x5e603d['indexOf'](_0x2883d0['type']['name'])>-0x1&&_0x2883d0['from']<_0x2883d0['to']){let _0x117422=_0x25a6c4(_0x2883d0);return{'start':_0xc50e6e,'end':_0x117422?{'from':_0x117422['from'],'to':_0x117422['to']}:void 0x0,'matched':!0x0};}if(matchingNodes(_0x2883d0['type'],_0x5ca18a,_0x89cec7))_0x214da3++;else{if(matchingNodes(_0x2883d0['type'],-_0x5ca18a,_0x89cec7)){if(0x0==_0x214da3){let _0x20a0ce=_0x25a6c4(_0x2883d0);return{'start':_0xc50e6e,'end':_0x20a0ce&&_0x20a0ce['from']<_0x20a0ce['to']?{'from':_0x20a0ce['from'],'to':_0x20a0ce['to']}:void 0x0,'matched':!0x1};}_0x214da3--;}}}}while(_0x5ca18a<0x0?_0x2883d0['prevSibling']():_0x2883d0['nextSibling']());return{'start':_0xc50e6e,'matched':!0x1};}function matchPlainBrackets(_0x2fea18,_0x8a08ef,_0x2d8705,_0x4e6b80,_0x4d85a1,_0x2d4902,_0xaac65b){let _0x2f10b3=_0x2d8705<0x0?_0x2fea18['sliceDoc'](_0x8a08ef-0x1,_0x8a08ef):_0x2fea18['sliceDoc'](_0x8a08ef,_0x8a08ef+0x1),_0x7056cd=_0xaac65b['indexOf'](_0x2f10b3);if(_0x7056cd<0x0||_0x7056cd%0x2==0x0!=_0x2d8705>0x0)return null;let _0x3d1239={'from':_0x2d8705<0x0?_0x8a08ef-0x1:_0x8a08ef,'to':_0x2d8705>0x0?_0x8a08ef+0x1:_0x8a08ef},_0x23b00c=_0x2fea18['doc']['iterRange'](_0x8a08ef,_0x2d8705>0x0?_0x2fea18['doc']['length']:0x0),_0x16e0d7=0x0;for(let _0xeec8df=0x0;!_0x23b00c['next']()['done']&&_0xeec8df<=_0x2d4902;){let _0xb57249=_0x23b00c['value'];_0x2d8705<0x0&&(_0xeec8df+=_0xb57249['length']);let _0x13b960=_0x8a08ef+_0xeec8df*_0x2d8705;for(let _0x447151=_0x2d8705>0x0?0x0:_0xb57249['length']-0x1,_0x30f6f4=_0x2d8705>0x0?_0xb57249['length']:-0x1;_0x447151!=_0x30f6f4;_0x447151+=_0x2d8705){let _0x3a07e8=_0xaac65b['indexOf'](_0xb57249[_0x447151]);if(!(_0x3a07e8<0x0||_0x4e6b80['resolveInner'](_0x13b960+_0x447151,0x1)['type']!=_0x4d85a1)){if(_0x3a07e8%0x2==0x0==_0x2d8705>0x0)_0x16e0d7++;else{if(0x1==_0x16e0d7)return{'start':_0x3d1239,'end':{'from':_0x13b960+_0x447151,'to':_0x13b960+_0x447151+0x1},'matched':_0x3a07e8>>0x1==_0x7056cd>>0x1};_0x16e0d7--;}}}_0x2d8705>0x0&&(_0xeec8df+=_0xb57249['length']);}return _0x23b00c['done']?{'start':_0x3d1239,'matched':!0x1}:null;}const _0x2b09b3=Object['create'](null),typeArray=[_0x5d390a['none']],_0x5652a8=[],_0x9caaca=Object['create'](null),defaultTable=Object['create'](null);for(let [_0x70b3bf,_0x582205]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[_0x70b3bf]=createTokenType(_0x2b09b3,_0x582205);function warnForPart(_0x3c8e13,_0x23c371){_0x5652a8['indexOf'](_0x3c8e13)>-0x1||(_0x5652a8['push'](_0x3c8e13),console['warn'](_0x23c371));}function createTokenType(_0x12fe17,_0x46db84){let _0x2dc79c=[];for(let _0x5479aa of _0x46db84['split']('\x20')){let _0x38d7e2=[];for(let _0x4813f3 of _0x5479aa['split']('.')){let _0x65232f=_0x12fe17[_0x4813f3]||tags$1[_0x4813f3];_0x65232f?'function'==typeof _0x65232f?_0x38d7e2['length']?_0x38d7e2=_0x38d7e2['map'](_0x65232f):warnForPart(_0x4813f3,'Modifier\x20'+_0x4813f3+'\x20used\x20at\x20start\x20of\x20tag'):_0x38d7e2['length']?warnForPart(_0x4813f3,'Tag\x20'+_0x4813f3+'\x20used\x20as\x20modifier'):_0x38d7e2=Array['isArray'](_0x65232f)?_0x65232f:[_0x65232f]:warnForPart(_0x4813f3,'Unknown\x20highlighting\x20tag\x20'+_0x4813f3);}for(let _0x322b49 of _0x38d7e2)_0x2dc79c['push'](_0x322b49);}if(!_0x2dc79c['length'])return 0x0;let _0xac1d33=_0x46db84['replace'](/ /g,'_'),_0xbf6603=_0xac1d33+'\x20'+_0x2dc79c['map'](t=>t['id']),_0x1dd498=_0x9caaca[_0xbf6603];if(_0x1dd498)return _0x1dd498['id'];let _0x34de79=_0x9caaca[_0xbf6603]=_0x5d390a['define']({'id':typeArray['length'],'name':_0xac1d33,'props':[styleTags({[_0xac1d33]:_0x2dc79c})]});return typeArray['push'](_0x34de79),_0x34de79['id'];}Direction['RTL'],Direction['LTR'];const toggleComment=_0x43dcb2=>{let {state:_0x39c8ea}=_0x43dcb2,_0x4c0a40=_0x39c8ea['doc']['lineAt'](_0x39c8ea['selection']['main']['from']),_0x4cd092=getConfig(_0x43dcb2['state'],_0x4c0a40['from']);return _0x4cd092['line']?toggleLineComment(_0x43dcb2):!!_0x4cd092['block']&&toggleBlockCommentByLine(_0x43dcb2);};function _0x5546e1(_0x45d2ef,_0x4bf726){return({state:_0x4021b1,dispatch:_0x52f042})=>{if(_0x4021b1['readOnly'])return!0x1;let _0x12a758=_0x45d2ef(_0x4bf726,_0x4021b1);return!!_0x12a758&&(_0x52f042(_0x4021b1['update'](_0x12a758)),!0x0);};}const toggleLineComment=_0x5546e1(changeLineComment,0x0),toggleBlockComment=_0x5546e1(changeBlockComment,0x0),toggleBlockCommentByLine=_0x5546e1((_0x558786,_0x1edae3)=>changeBlockComment(_0x558786,_0x1edae3,selectedLineRanges(_0x1edae3)),0x0);function getConfig(_0xb0428b,_0x518fa3){let _0x4d00ec=_0xb0428b['languageDataAt']('commentTokens',_0x518fa3,0x1);return _0x4d00ec['length']?_0x4d00ec[0x0]:{};}const _0x4e55cb=0x32;function findBlockComment(_0x546c95,{open:_0x52c743,close:_0x5daf8b},_0x1cee1c,_0x2c2d3f){let _0x3ea054,_0x4e3bbf,_0x2b9d73=_0x546c95['sliceDoc'](_0x1cee1c-_0x4e55cb,_0x1cee1c),_0x124811=_0x546c95['sliceDoc'](_0x2c2d3f,_0x2c2d3f+_0x4e55cb),_0x13aee0=/\s*$/['exec'](_0x2b9d73)[0x0]['length'],_0x2b923e=/^\s*/['exec'](_0x124811)[0x0]['length'],_0x25e6c8=_0x2b9d73['length']-_0x13aee0;if(_0x2b9d73['slice'](_0x25e6c8-_0x52c743['length'],_0x25e6c8)==_0x52c743&&_0x124811['slice'](_0x2b923e,_0x2b923e+_0x5daf8b['length'])==_0x5daf8b)return{'open':{'pos':_0x1cee1c-_0x13aee0,'margin':_0x13aee0&&0x1},'close':{'pos':_0x2c2d3f+_0x2b923e,'margin':_0x2b923e&&0x1}};_0x2c2d3f-_0x1cee1c<=0x2*_0x4e55cb?_0x3ea054=_0x4e3bbf=_0x546c95['sliceDoc'](_0x1cee1c,_0x2c2d3f):(_0x3ea054=_0x546c95['sliceDoc'](_0x1cee1c,_0x1cee1c+_0x4e55cb),_0x4e3bbf=_0x546c95['sliceDoc'](_0x2c2d3f-_0x4e55cb,_0x2c2d3f));let _0xeaab3d=/^\s*/['exec'](_0x3ea054)[0x0]['length'],_0x28784f=/\s*$/['exec'](_0x4e3bbf)[0x0]['length'],_0x2b8f94=_0x4e3bbf['length']-_0x28784f-_0x5daf8b['length'];return _0x3ea054['slice'](_0xeaab3d,_0xeaab3d+_0x52c743['length'])==_0x52c743&&_0x4e3bbf['slice'](_0x2b8f94,_0x2b8f94+_0x5daf8b['length'])==_0x5daf8b?{'open':{'pos':_0x1cee1c+_0xeaab3d+_0x52c743['length'],'margin':/\s/['test'](_0x3ea054['charAt'](_0xeaab3d+_0x52c743['length']))?0x1:0x0},'close':{'pos':_0x2c2d3f-_0x28784f-_0x5daf8b['length'],'margin':/\s/['test'](_0x4e3bbf['charAt'](_0x2b8f94-0x1))?0x1:0x0}}:null;}function selectedLineRanges(_0x831497){let _0x53d047=[];for(let _0x5b47e8 of _0x831497['selection']['ranges']){let _0x277295=_0x831497['doc']['lineAt'](_0x5b47e8['from']),_0x1a3d1a=_0x5b47e8['to']<=_0x277295['to']?_0x277295:_0x831497['doc']['lineAt'](_0x5b47e8['to']);_0x1a3d1a['from']>_0x277295['from']&&_0x1a3d1a['from']==_0x5b47e8['to']&&(_0x1a3d1a=_0x5b47e8['to']==_0x277295['to']+0x1?_0x277295:_0x831497['doc']['lineAt'](_0x5b47e8['to']-0x1));let _0x3fd290=_0x53d047['length']-0x1;_0x3fd290>=0x0&&_0x53d047[_0x3fd290]['to']>_0x277295['from']?_0x53d047[_0x3fd290]['to']=_0x1a3d1a['to']:_0x53d047['push']({'from':_0x277295['from']+/^\s*/['exec'](_0x277295['text'])[0x0]['length'],'to':_0x1a3d1a['to']});}return _0x53d047;}function changeBlockComment(_0x2ba008,_0x32626e,_0x350ec8=_0x32626e['selection']['ranges']){let _0x14ef3e=_0x350ec8['map'](_0x124023=>getConfig(_0x32626e,_0x124023['from'])['block']);if(!_0x14ef3e['every'](_0xbd27ba=>_0xbd27ba))return null;let _0xbc375d=_0x350ec8['map']((_0x1ce748,_0xc8f1db)=>findBlockComment(_0x32626e,_0x14ef3e[_0xc8f1db],_0x1ce748['from'],_0x1ce748['to']));if(0x2!=_0x2ba008&&!_0xbc375d['every'](_0x56a48a=>_0x56a48a))return{'changes':_0x32626e['changes'](_0x350ec8['map']((_0x831690,_0x5bd50f)=>_0xbc375d[_0x5bd50f]?[]:[{'from':_0x831690['from'],'insert':_0x14ef3e[_0x5bd50f]['open']+'\x20'},{'from':_0x831690['to'],'insert':'\x20'+_0x14ef3e[_0x5bd50f]['close']}]))};if(0x1!=_0x2ba008&&_0xbc375d['some'](_0x4b296a=>_0x4b296a)){let _0x102163=[];for(let _0x51c6a4,_0x4e74c9=0x0;_0x4e74c9<_0xbc375d['length'];_0x4e74c9++)if(_0x51c6a4=_0xbc375d[_0x4e74c9]){let _0x48d6d4=_0x14ef3e[_0x4e74c9],{open:_0x196cab,close:_0x53b3ec}=_0x51c6a4;_0x102163['push']({'from':_0x196cab['pos']-_0x48d6d4['open']['length'],'to':_0x196cab['pos']+_0x196cab['margin']},{'from':_0x53b3ec['pos']-_0x53b3ec['margin'],'to':_0x53b3ec['pos']+_0x48d6d4['close']['length']});}return{'changes':_0x102163};}return null;}function changeLineComment(_0x3571f7,_0x269b81,_0x2c5d58=_0x269b81['selection']['ranges']){let _0x3cb868=[],_0x225e0c=-0x1;for(let {from:_0x15fd8e,to:_0x323934}of _0x2c5d58){let _0x12a8a6=_0x3cb868['length'],_0x586e03=0x3b9aca00,_0x2db375=getConfig(_0x269b81,_0x15fd8e)['line'];if(_0x2db375){for(let _0x12f599=_0x15fd8e;_0x12f599<=_0x323934;){let _0x2db93e=_0x269b81['doc']['lineAt'](_0x12f599);if(_0x2db93e['from']>_0x225e0c&&(_0x15fd8e==_0x323934||_0x323934>_0x2db93e['from'])){_0x225e0c=_0x2db93e['from'];let _0x46b9c3=/^\s*/['exec'](_0x2db93e['text'])[0x0]['length'],_0x41bae0=_0x46b9c3==_0x2db93e['length'],_0x23a22e=_0x2db93e['text']['slice'](_0x46b9c3,_0x46b9c3+_0x2db375['length'])==_0x2db375?_0x46b9c3:-0x1;_0x46b9c3<_0x2db93e['text']['length']&&_0x46b9c3<_0x586e03&&(_0x586e03=_0x46b9c3),_0x3cb868['push']({'line':_0x2db93e,'comment':_0x23a22e,'token':_0x2db375,'indent':_0x46b9c3,'empty':_0x41bae0,'single':!0x1});}_0x12f599=_0x2db93e['to']+0x1;}if(_0x586e03<0x3b9aca00){for(let _0x4b08b3=_0x12a8a6;_0x4b08b3<_0x3cb868['length'];_0x4b08b3++)_0x3cb868[_0x4b08b3]['indent']<_0x3cb868[_0x4b08b3]['line']['text']['length']&&(_0x3cb868[_0x4b08b3]['indent']=_0x586e03);}_0x3cb868['length']==_0x12a8a6+0x1&&(_0x3cb868[_0x12a8a6]['single']=!0x0);}}if(0x2!=_0x3571f7&&_0x3cb868['some'](_0x27d1d9=>_0x27d1d9['comment']<0x0&&(!_0x27d1d9['empty']||_0x27d1d9['single']))){let _0x19d213=[];for(let {line:_0x38d607,token:_0x3061b7,indent:_0x9815ff,empty:_0xb133a8,single:_0x3779cd}of _0x3cb868)!_0x3779cd&&_0xb133a8||_0x19d213['push']({'from':_0x38d607['from']+_0x9815ff,'insert':_0x3061b7+'\x20'});let _0x304ddd=_0x269b81['changes'](_0x19d213);return{'changes':_0x304ddd,'selection':_0x269b81['selection']['map'](_0x304ddd,0x1)};}if(0x1!=_0x3571f7&&_0x3cb868['some'](_0x70a810=>_0x70a810['comment']>=0x0)){let _0x5ed069=[];for(let {line:_0xa63754,comment:_0x4eb21d,token:_0x3e8811}of _0x3cb868)if(_0x4eb21d>=0x0){let _0x213188=_0xa63754['from']+_0x4eb21d,_0x1078c5=_0x213188+_0x3e8811['length'];'\x20'==_0xa63754['text'][_0x1078c5-_0xa63754['from']]&&_0x1078c5++,_0x5ed069['push']({'from':_0x213188,'to':_0x1078c5});}return{'changes':_0x5ed069};}return null;}const fromHistory=Annotation['define'](),isolateHistory=Annotation['define'](),invertedEffects=Facet['define'](),historyConfig=Facet['define']({'combine':_0xb02494=>_0x592eca(_0xb02494,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0x176181,_0x72c80b)=>_0x72c80b},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0x536ee3,_0x36fc8a)=>(_0x2724cb,_0x383561)=>_0x536ee3(_0x2724cb,_0x383561)||_0x36fc8a(_0x2724cb,_0x383561)})}),historyField_=StateField['define']({'create':()=>HistoryState['empty'],'update'(_0x4284d7,_0x5b468c){let _0xc1d85b=_0x5b468c['state']['facet'](historyConfig),_0xe8953b=_0x5b468c['annotation'](fromHistory);if(_0xe8953b){let _0xe599e0=HistEvent['fromTransaction'](_0x5b468c,_0xe8953b['selection']),_0x4a6ae0=_0xe8953b['side'],_0x500b8a=0x0==_0x4a6ae0?_0x4284d7['undone']:_0x4284d7['done'];return _0x500b8a=_0xe599e0?updateBranch(_0x500b8a,_0x500b8a['length'],_0xc1d85b['minDepth'],_0xe599e0):addSelection(_0x500b8a,_0x5b468c['startState']['selection']),new HistoryState(0x0==_0x4a6ae0?_0xe8953b['rest']:_0x500b8a,0x0==_0x4a6ae0?_0x500b8a:_0xe8953b['rest']);}let _0x2024fe=_0x5b468c['annotation'](isolateHistory);if('full'!=_0x2024fe&&'before'!=_0x2024fe||(_0x4284d7=_0x4284d7['isolate']()),!0x1===_0x5b468c['annotation'](Transaction['addToHistory']))return _0x5b468c['changes']['empty']?_0x4284d7:_0x4284d7['addMapping'](_0x5b468c['changes']['desc']);let _0x1f51a2=HistEvent['fromTransaction'](_0x5b468c),_0x3cd6ef=_0x5b468c['annotation'](Transaction['time']),_0x2c5193=_0x5b468c['annotation'](Transaction['userEvent']);return _0x1f51a2?_0x4284d7=_0x4284d7['addChanges'](_0x1f51a2,_0x3cd6ef,_0x2c5193,_0xc1d85b,_0x5b468c):_0x5b468c['selection']&&(_0x4284d7=_0x4284d7['addSelection'](_0x5b468c['startState']['selection'],_0x3cd6ef,_0x2c5193,_0xc1d85b['newGroupDelay'])),'full'!=_0x2024fe&&'after'!=_0x2024fe||(_0x4284d7=_0x4284d7['isolate']()),_0x4284d7;},'toJSON':_0x384183=>({'done':_0x384183['done']['map'](_0x22960a=>_0x22960a['toJSON']()),'undone':_0x384183['undone']['map'](_0x23b301=>_0x23b301['toJSON']())}),'fromJSON':_0x1138ae=>new HistoryState(_0x1138ae['done']['map'](HistEvent['fromJSON']),_0x1138ae['undone']['map'](HistEvent['fromJSON']))});function history(_0x2d3f5f={}){return[historyField_,historyConfig['of'](_0x2d3f5f),EditorView['domEventHandlers']({'beforeinput'(_0x5fec0c,_0x2769ef){let _0x5765a3='historyUndo'==_0x5fec0c['inputType']?_0x4dea38:'historyRedo'==_0x5fec0c['inputType']?_0x2d1b50:null;return!!_0x5765a3&&(_0x5fec0c['preventDefault'](),_0x5765a3(_0x2769ef));}})];}function _0x58ab63(_0xb88704,_0xe0c4f4){return function({state:_0x14ee53,dispatch:_0x52862a}){if(!_0xe0c4f4&&_0x14ee53['readOnly'])return!0x1;let _0x2e3fd9=_0x14ee53['field'](historyField_,!0x1);if(!_0x2e3fd9)return!0x1;let _0x149427=_0x2e3fd9['pop'](_0xb88704,_0x14ee53,_0xe0c4f4);return!!_0x149427&&(_0x52862a(_0x149427),!0x0);};}const _0x4dea38=_0x58ab63(0x0,!0x1),_0x2d1b50=_0x58ab63(0x1,!0x1),undoSelection=_0x58ab63(0x0,!0x0),redoSelection=_0x58ab63(0x1,!0x0);class HistEvent{constructor(_0x4688a7,_0x36e862,_0x566b70,_0x24bb3c,_0x457160){this['changes']=_0x4688a7,this['effects']=_0x36e862,this['mapped']=_0x566b70,this['startSelection']=_0x24bb3c,this['selectionsAfter']=_0x457160;}['setSelAfter'](_0x1d156a){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0x1d156a);}['toJSON'](){var _0x3e4263,_0x5d70e9,_0x279ff2;return{'changes':null===(_0x3e4263=this['changes'])||void 0x0===_0x3e4263?void 0x0:_0x3e4263['toJSON'](),'mapped':null===(_0x5d70e9=this['mapped'])||void 0x0===_0x5d70e9?void 0x0:_0x5d70e9['toJSON'](),'startSelection':null===(_0x279ff2=this['startSelection'])||void 0x0===_0x279ff2?void 0x0:_0x279ff2['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x2542c9=>_0x2542c9['toJSON']())};}static['fromJSON'](_0x4a5006){return new HistEvent(_0x4a5006['changes']&&ChangeSet['fromJSON'](_0x4a5006['changes']),[],_0x4a5006['mapped']&&_0xcb2e18['fromJSON'](_0x4a5006['mapped']),_0x4a5006['startSelection']&&EditorSelection['fromJSON'](_0x4a5006['startSelection']),_0x4a5006['selectionsAfter']['map'](EditorSelection['fromJSON']));}static['fromTransaction'](_0x5c39db,_0x29a265){let _0x2ae7db=_0x39e542;for(let _0x8e366d of _0x5c39db['startState']['facet'](invertedEffects)){let _0xd886be=_0x8e366d(_0x5c39db);_0xd886be['length']&&(_0x2ae7db=_0x2ae7db['concat'](_0xd886be));}return!_0x2ae7db['length']&&_0x5c39db['changes']['empty']?null:new HistEvent(_0x5c39db['changes']['invert'](_0x5c39db['startState']['doc']),_0x2ae7db,void 0x0,_0x29a265||_0x5c39db['startState']['selection'],_0x39e542);}static['selection'](_0x4487cb){return new HistEvent(void 0x0,_0x39e542,void 0x0,void 0x0,_0x4487cb);}}function updateBranch(_0xefb425,_0x16783c,_0x5d53cc,_0x543102){let _0x4f91ee=_0x16783c+0x1>_0x5d53cc+0x14?_0x16783c-_0x5d53cc-0x1:0x0,_0x35a420=_0xefb425['slice'](_0x4f91ee,_0x16783c);return _0x35a420['push'](_0x543102),_0x35a420;}function isAdjacent(_0x53ef0a,_0x1d82a5){let _0x2f01a8=[],_0x48d5e7=!0x1;return _0x53ef0a['iterChangedRanges']((_0x1d2c93,t)=>_0x2f01a8['push'](_0x1d2c93,t)),_0x1d82a5['iterChangedRanges']((_0x1deb5e,_0x3818d8,_0x53bcfa,t)=>{for(let _0x58b0a1=0x0;_0x58b0a1<_0x2f01a8['length'];){let _0x1b773d=_0x2f01a8[_0x58b0a1++],_0x406a8b=_0x2f01a8[_0x58b0a1++];t>=_0x1b773d&&_0x53bcfa<=_0x406a8b&&(_0x48d5e7=!0x0);}}),_0x48d5e7;}function eqSelectionShape(_0x3c1c5c,_0x25d22f){return _0x3c1c5c['ranges']['length']==_0x25d22f['ranges']['length']&&0x0===_0x3c1c5c['ranges']['filter']((_0x3b73d7,_0x4538f4)=>_0x3b73d7['empty']!=_0x25d22f['ranges'][_0x4538f4]['empty'])['length'];}function _0xd675d9(_0x58562e,_0x3fba32){return _0x58562e['length']?_0x3fba32['length']?_0x58562e['concat'](_0x3fba32):_0x58562e:_0x3fba32;}const _0x39e542=[],MaxSelectionsPerEvent=0xc8;function addSelection(_0x3f1862,_0x3f9fab){if(_0x3f1862['length']){let _0x33c340=_0x3f1862[_0x3f1862['length']-0x1],_0x2777f0=_0x33c340['selectionsAfter']['slice'](Math['max'](0x0,_0x33c340['selectionsAfter']['length']-MaxSelectionsPerEvent));return _0x2777f0['length']&&_0x2777f0[_0x2777f0['length']-0x1]['eq'](_0x3f9fab)?_0x3f1862:(_0x2777f0['push'](_0x3f9fab),updateBranch(_0x3f1862,_0x3f1862['length']-0x1,0x3b9aca00,_0x33c340['setSelAfter'](_0x2777f0)));}return[HistEvent['selection']([_0x3f9fab])];}function popSelection(_0x548d4c){let _0x7ae966=_0x548d4c[_0x548d4c['length']-0x1],_0x3c94eb=_0x548d4c['slice']();return _0x3c94eb[_0x548d4c['length']-0x1]=_0x7ae966['setSelAfter'](_0x7ae966['selectionsAfter']['slice'](0x0,_0x7ae966['selectionsAfter']['length']-0x1)),_0x3c94eb;}function _0x5c5d38(_0x4a3e21,_0x479900){if(!_0x4a3e21['length'])return _0x4a3e21;let _0x1bea23=_0x4a3e21['length'],_0x31c69c=_0x39e542;for(;_0x1bea23;){let _0xc00870=mapEvent(_0x4a3e21[_0x1bea23-0x1],_0x479900,_0x31c69c);if(_0xc00870['changes']&&!_0xc00870['changes']['empty']||_0xc00870['effects']['length']){let _0x353aee=_0x4a3e21['slice'](0x0,_0x1bea23);return _0x353aee[_0x1bea23-0x1]=_0xc00870,_0x353aee;}_0x479900=_0xc00870['mapped'],_0x1bea23--,_0x31c69c=_0xc00870['selectionsAfter'];}return _0x31c69c['length']?[HistEvent['selection'](_0x31c69c)]:_0x39e542;}function mapEvent(_0x965107,_0x49f817,_0x3485de){let _0x566b45=_0xd675d9(_0x965107['selectionsAfter']['length']?_0x965107['selectionsAfter']['map'](_0x30b885=>_0x30b885['map'](_0x49f817)):_0x39e542,_0x3485de);if(!_0x965107['changes'])return HistEvent['selection'](_0x566b45);let _0x2fb811=_0x965107['changes']['map'](_0x49f817),_0x5b06cd=_0x49f817['mapDesc'](_0x965107['changes'],!0x0),_0x340bde=_0x965107['mapped']?_0x965107['mapped']['composeDesc'](_0x5b06cd):_0x5b06cd;return new HistEvent(_0x2fb811,StateEffect['mapEffects'](_0x965107['effects'],_0x49f817),_0x340bde,_0x965107['startSelection']['map'](_0x5b06cd),_0x566b45);}const joinableUserEvent=/^(input\.type|delete)($|\.)/;class HistoryState{constructor(_0x22d76e,_0x41018c,_0x331dc7=0x0,_0x7f29fb=void 0x0){this['done']=_0x22d76e,this['undone']=_0x41018c,this['prevTime']=_0x331dc7,this['prevUserEvent']=_0x7f29fb;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0x5bd379,_0x221517,_0x2e82ac,_0x4bbbaa,_0x28c40e){let _0xcfe40c=this['done'],_0x3d1f60=_0xcfe40c[_0xcfe40c['length']-0x1];return _0xcfe40c=_0x3d1f60&&_0x3d1f60['changes']&&!_0x3d1f60['changes']['empty']&&_0x5bd379['changes']&&(!_0x2e82ac||joinableUserEvent['test'](_0x2e82ac))&&(!_0x3d1f60['selectionsAfter']['length']&&_0x221517-this['prevTime']<_0x4bbbaa['newGroupDelay']&&_0x4bbbaa['joinToEvent'](_0x28c40e,isAdjacent(_0x3d1f60['changes'],_0x5bd379['changes']))||'input.type.compose'==_0x2e82ac)?updateBranch(_0xcfe40c,_0xcfe40c['length']-0x1,_0x4bbbaa['minDepth'],new HistEvent(_0x5bd379['changes']['compose'](_0x3d1f60['changes']),_0xd675d9(StateEffect['mapEffects'](_0x5bd379['effects'],_0x3d1f60['changes']),_0x3d1f60['effects']),_0x3d1f60['mapped'],_0x3d1f60['startSelection'],_0x39e542)):updateBranch(_0xcfe40c,_0xcfe40c['length'],_0x4bbbaa['minDepth'],_0x5bd379),new HistoryState(_0xcfe40c,_0x39e542,_0x221517,_0x2e82ac);}['addSelection'](_0x1d8658,_0x530c5c,_0x3da8a4,_0x455957){let _0x4a28b4=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:_0x39e542;return _0x4a28b4['length']>0x0&&_0x530c5c-this['prevTime']<_0x455957&&_0x3da8a4==this['prevUserEvent']&&_0x3da8a4&&/^select($|\.)/['test'](_0x3da8a4)&&eqSelectionShape(_0x4a28b4[_0x4a28b4['length']-0x1],_0x1d8658)?this:new HistoryState(addSelection(this['done'],_0x1d8658),this['undone'],_0x530c5c,_0x3da8a4);}['addMapping'](_0x294443){return new HistoryState(_0x5c5d38(this['done'],_0x294443),_0x5c5d38(this['undone'],_0x294443),this['prevTime'],this['prevUserEvent']);}['pop'](_0x3fceae,_0x7425fb,_0x3a0c32){let _0x4fac0a=0x0==_0x3fceae?this['done']:this['undone'];if(0x0==_0x4fac0a['length'])return null;let _0x3e5626=_0x4fac0a[_0x4fac0a['length']-0x1],_0x15c8bc=_0x3e5626['selectionsAfter'][0x0]||_0x7425fb['selection'];if(_0x3a0c32&&_0x3e5626['selectionsAfter']['length'])return _0x7425fb['update']({'selection':_0x3e5626['selectionsAfter'][_0x3e5626['selectionsAfter']['length']-0x1],'annotations':fromHistory['of']({'side':_0x3fceae,'rest':popSelection(_0x4fac0a),'selection':_0x15c8bc}),'userEvent':0x0==_0x3fceae?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x3e5626['changes']){let _0x3ec688=0x1==_0x4fac0a['length']?_0x39e542:_0x4fac0a['slice'](0x0,_0x4fac0a['length']-0x1);return _0x3e5626['mapped']&&(_0x3ec688=_0x5c5d38(_0x3ec688,_0x3e5626['mapped'])),_0x7425fb['update']({'changes':_0x3e5626['changes'],'selection':_0x3e5626['startSelection'],'effects':_0x3e5626['effects'],'annotations':fromHistory['of']({'side':_0x3fceae,'rest':_0x3ec688,'selection':_0x15c8bc}),'filter':!0x1,'userEvent':0x0==_0x3fceae?'undo':'redo','scrollIntoView':!0x0});}return null;}}HistoryState['empty']=new HistoryState(_0x39e542,_0x39e542);const historyKeymap=[{'key':'Mod-z','run':_0x4dea38,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':_0x2d1b50,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':_0x2d1b50,'preventDefault':!0x0},{'key':'Mod-u','run':undoSelection,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':redoSelection,'preventDefault':!0x0}];function updateSel(_0x507e01,_0x28526e){return EditorSelection['create'](_0x507e01['ranges']['map'](_0x28526e),_0x507e01['mainIndex']);}function setSel(_0x46475e,_0x1474e2){return _0x46475e['update']({'selection':_0x1474e2,'scrollIntoView':!0x0,'userEvent':'select'});}function _0x5ae027({state:_0x44d3fa,dispatch:_0x3dbe3d},_0x4cc681){let _0x38d828=updateSel(_0x44d3fa['selection'],_0x4cc681);return!_0x38d828['eq'](_0x44d3fa['selection'],!0x0)&&(_0x3dbe3d(setSel(_0x44d3fa,_0x38d828)),!0x0);}function _0x4758cf(_0x59081b,_0x257725){return EditorSelection['cursor'](_0x257725?_0x59081b['to']:_0x59081b['from']);}function _0x10b77c(_0x46aa2c,_0x4ab099){return _0x5ae027(_0x46aa2c,_0x32e251=>_0x32e251['empty']?_0x46aa2c['moveByChar'](_0x32e251,_0x4ab099):_0x4758cf(_0x32e251,_0x4ab099));}function ltrAtCursor(_0x1b340c){return _0x1b340c['textDirectionAt'](_0x1b340c['state']['selection']['main']['head'])==Direction['LTR'];}const cursorCharLeft=_0x1d814b=>_0x10b77c(_0x1d814b,!ltrAtCursor(_0x1d814b)),cursorCharRight=_0x2a3ed7=>_0x10b77c(_0x2a3ed7,ltrAtCursor(_0x2a3ed7));function _0x7c857c(_0x3bd645,_0x2ec92e){return _0x5ae027(_0x3bd645,_0xd43cc1=>_0xd43cc1['empty']?_0x3bd645['moveByGroup'](_0xd43cc1,_0x2ec92e):_0x4758cf(_0xd43cc1,_0x2ec92e));}const cursorGroupLeft=_0x2b8a41=>_0x7c857c(_0x2b8a41,!ltrAtCursor(_0x2b8a41)),cursorGroupRight=_0x5e511e=>_0x7c857c(_0x5e511e,ltrAtCursor(_0x5e511e));function interestingNode(_0x3f2254,_0x50fac6,_0x568819){if(_0x50fac6['type']['prop'](_0x568819))return!0x0;let _0x274b81=_0x50fac6['to']-_0x50fac6['from'];return _0x274b81&&(_0x274b81>0x2||/[^\s,.;:]/['test'](_0x3f2254['sliceDoc'](_0x50fac6['from'],_0x50fac6['to'])))||_0x50fac6['firstChild'];}function moveBySyntax(_0x432af6,_0x44be12,_0x37ece2){let _0x38a061,_0x3b99bd,_0x2147d1=syntaxTree(_0x432af6)['resolveInner'](_0x44be12['head']),_0xaeed50=_0x37ece2?_0x114f67['closedBy']:_0x114f67['openedBy'];for(let _0x4fbd64=_0x44be12['head'];;){let _0x4427f0=_0x37ece2?_0x2147d1['childAfter'](_0x4fbd64):_0x2147d1['childBefore'](_0x4fbd64);if(!_0x4427f0)break;interestingNode(_0x432af6,_0x4427f0,_0xaeed50)?_0x2147d1=_0x4427f0:_0x4fbd64=_0x37ece2?_0x4427f0['to']:_0x4427f0['from'];}return _0x3b99bd=_0x2147d1['type']['prop'](_0xaeed50)&&(_0x38a061=_0x37ece2?matchBrackets(_0x432af6,_0x2147d1['from'],0x1):matchBrackets(_0x432af6,_0x2147d1['to'],-0x1))&&_0x38a061['matched']?_0x37ece2?_0x38a061['end']['to']:_0x38a061['end']['from']:_0x37ece2?_0x2147d1['to']:_0x2147d1['from'],EditorSelection['cursor'](_0x3b99bd,_0x37ece2?-0x1:0x1);}const cursorSyntaxLeft=_0xfa08a=>_0x5ae027(_0xfa08a,_0x29fa5c=>moveBySyntax(_0xfa08a['state'],_0x29fa5c,!ltrAtCursor(_0xfa08a))),cursorSyntaxRight=_0x22516c=>_0x5ae027(_0x22516c,_0x3bcf7d=>moveBySyntax(_0x22516c['state'],_0x3bcf7d,ltrAtCursor(_0x22516c)));function _0x283f63(_0x239b1a,_0x1b9d30){return _0x5ae027(_0x239b1a,_0x557694=>{if(!_0x557694['empty'])return _0x4758cf(_0x557694,_0x1b9d30);let _0x872c73=_0x239b1a['moveVertically'](_0x557694,_0x1b9d30);return _0x872c73['head']!=_0x557694['head']?_0x872c73:_0x239b1a['moveToLineBoundary'](_0x557694,_0x1b9d30);});}const _0x40eac6=_0x3fc306=>_0x283f63(_0x3fc306,!0x1),_0x46d402=_0x5b3390=>_0x283f63(_0x5b3390,!0x0);function _0x160e4c(_0x16d7ef){let _0xcd3e0f,_0xc23590=_0x16d7ef['scrollDOM']['clientHeight']<_0x16d7ef['scrollDOM']['scrollHeight']-0x2,_0x1f01c2=0x0,_0x5c6018=0x0;if(_0xc23590){for(let _0x372a8d of _0x16d7ef['state']['facet'](EditorView['scrollMargins'])){let _0x4701aa=_0x372a8d(_0x16d7ef);(null==_0x4701aa?void 0x0:_0x4701aa['top'])&&(_0x1f01c2=Math['max'](null==_0x4701aa?void 0x0:_0x4701aa['top'],_0x1f01c2)),(null==_0x4701aa?void 0x0:_0x4701aa['bottom'])&&(_0x5c6018=Math['max'](null==_0x4701aa?void 0x0:_0x4701aa['bottom'],_0x5c6018));}_0xcd3e0f=_0x16d7ef['scrollDOM']['clientHeight']-_0x1f01c2-_0x5c6018;}else _0xcd3e0f=(_0x16d7ef['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0x1f01c2,'marginBottom':_0x5c6018,'selfScroll':_0xc23590,'height':Math['max'](_0x16d7ef['defaultLineHeight'],_0xcd3e0f-0x5)};}function _0x4939e7(_0x1a2b10,_0xf348b4){let _0x376d49,_0x3db738=_0x160e4c(_0x1a2b10),{state:_0x5a7705}=_0x1a2b10,_0x3a3535=updateSel(_0x5a7705['selection'],_0x245fed=>_0x245fed['empty']?_0x1a2b10['moveVertically'](_0x245fed,_0xf348b4,_0x3db738['height']):_0x4758cf(_0x245fed,_0xf348b4));if(_0x3a3535['eq'](_0x5a7705['selection']))return!0x1;if(_0x3db738['selfScroll']){let _0x428b08=_0x1a2b10['coordsAtPos'](_0x5a7705['selection']['main']['head']),_0x143f29=_0x1a2b10['scrollDOM']['getBoundingClientRect'](),_0x2e476c=_0x143f29['top']+_0x3db738['marginTop'],_0x146a99=_0x143f29['bottom']-_0x3db738['marginBottom'];_0x428b08&&_0x428b08['top']>_0x2e476c&&_0x428b08['bottom']<_0x146a99&&(_0x376d49=EditorView['scrollIntoView'](_0x3a3535['main']['head'],{'y':'start','yMargin':_0x428b08['top']-_0x2e476c}));}return _0x1a2b10['dispatch'](setSel(_0x5a7705,_0x3a3535),{'effects':_0x376d49}),!0x0;}const _0x286e16=_0x47fb96=>_0x4939e7(_0x47fb96,!0x1),_0x3fe2c6=_0xc1942b=>_0x4939e7(_0xc1942b,!0x0);function _0x37d5a8(_0xe7023e,_0x46a7b8,_0x2420d1){let _0x4382f8=_0xe7023e['lineBlockAt'](_0x46a7b8['head']),_0x58904c=_0xe7023e['moveToLineBoundary'](_0x46a7b8,_0x2420d1);if(_0x58904c['head']==_0x46a7b8['head']&&_0x58904c['head']!=(_0x2420d1?_0x4382f8['to']:_0x4382f8['from'])&&(_0x58904c=_0xe7023e['moveToLineBoundary'](_0x46a7b8,_0x2420d1,!0x1)),!_0x2420d1&&_0x58904c['head']==_0x4382f8['from']&&_0x4382f8['length']){let _0x33dc0d=/^\s*/['exec'](_0xe7023e['state']['sliceDoc'](_0x4382f8['from'],Math['min'](_0x4382f8['from']+0x64,_0x4382f8['to'])))[0x0]['length'];_0x33dc0d&&_0x46a7b8['head']!=_0x4382f8['from']+_0x33dc0d&&(_0x58904c=EditorSelection['cursor'](_0x4382f8['from']+_0x33dc0d));}return _0x58904c;}const _0x257880=_0xb31023=>_0x5ae027(_0xb31023,_0x33eb98=>_0x37d5a8(_0xb31023,_0x33eb98,!0x0)),_0xd7a8ab=_0x19f870=>_0x5ae027(_0x19f870,_0x24f40f=>_0x37d5a8(_0x19f870,_0x24f40f,!0x1)),cursorLineBoundaryLeft=_0x2b1ee5=>_0x5ae027(_0x2b1ee5,_0x52eb3e=>_0x37d5a8(_0x2b1ee5,_0x52eb3e,!ltrAtCursor(_0x2b1ee5))),cursorLineBoundaryRight=_0x12d16e=>_0x5ae027(_0x12d16e,_0xe130cf=>_0x37d5a8(_0x12d16e,_0xe130cf,ltrAtCursor(_0x12d16e))),cursorLineStart=_0x51e02b=>_0x5ae027(_0x51e02b,_0x2cf717=>EditorSelection['cursor'](_0x51e02b['lineBlockAt'](_0x2cf717['head'])['from'],0x1)),_0x2a8272=_0x3a324d=>_0x5ae027(_0x3a324d,_0x1b1b06=>EditorSelection['cursor'](_0x3a324d['lineBlockAt'](_0x1b1b06['head'])['to'],-0x1));function toMatchingBracket(_0x5199f6,_0x3bfd78,_0x17e9e3){let _0x37c70e=!0x1,_0x599cec=updateSel(_0x5199f6['selection'],_0x219e2a=>{let _0xf68244=matchBrackets(_0x5199f6,_0x219e2a['head'],-0x1)||matchBrackets(_0x5199f6,_0x219e2a['head'],0x1)||_0x219e2a['head']>0x0&&matchBrackets(_0x5199f6,_0x219e2a['head']-0x1,0x1)||_0x219e2a['head']<_0x5199f6['doc']['length']&&matchBrackets(_0x5199f6,_0x219e2a['head']+0x1,-0x1);if(!_0xf68244||!_0xf68244['end'])return _0x219e2a;_0x37c70e=!0x0;let _0x4a7ffe=_0xf68244['start']['from']==_0x219e2a['head']?_0xf68244['end']['to']:_0xf68244['end']['from'];return EditorSelection['cursor'](_0x4a7ffe);});return!!_0x37c70e&&(_0x3bfd78(setSel(_0x5199f6,_0x599cec)),!0x0);}const cursorMatchingBracket=({state:_0x2cc5a9,dispatch:_0xa393bc})=>toMatchingBracket(_0x2cc5a9,_0xa393bc);function extendSel(_0x1dbbba,_0x4355f7){let _0x29914c=updateSel(_0x1dbbba['state']['selection'],_0x4f5a44=>{let _0x5467bc=_0x4355f7(_0x4f5a44);return EditorSelection['range'](_0x4f5a44['anchor'],_0x5467bc['head'],_0x5467bc['goalColumn'],_0x5467bc['bidiLevel']||void 0x0);});return!_0x29914c['eq'](_0x1dbbba['state']['selection'])&&(_0x1dbbba['dispatch'](setSel(_0x1dbbba['state'],_0x29914c)),!0x0);}function selectByChar(_0x25bfa1,_0x58f6fb){return extendSel(_0x25bfa1,_0x4d8fc0=>_0x25bfa1['moveByChar'](_0x4d8fc0,_0x58f6fb));}const selectCharLeft=_0x1e3e2c=>selectByChar(_0x1e3e2c,!ltrAtCursor(_0x1e3e2c)),selectCharRight=_0x469604=>selectByChar(_0x469604,ltrAtCursor(_0x469604));function selectByGroup(_0x2daf8a,_0xbe552e){return extendSel(_0x2daf8a,_0x4b65f1=>_0x2daf8a['moveByGroup'](_0x4b65f1,_0xbe552e));}const selectGroupLeft=_0x438487=>selectByGroup(_0x438487,!ltrAtCursor(_0x438487)),selectGroupRight=_0x13b7cd=>selectByGroup(_0x13b7cd,ltrAtCursor(_0x13b7cd)),selectSyntaxLeft=_0x2c5fc6=>extendSel(_0x2c5fc6,_0x924891=>moveBySyntax(_0x2c5fc6['state'],_0x924891,!ltrAtCursor(_0x2c5fc6))),selectSyntaxRight=_0x55f0cd=>extendSel(_0x55f0cd,_0x453e7f=>moveBySyntax(_0x55f0cd['state'],_0x453e7f,ltrAtCursor(_0x55f0cd)));function selectByLine(_0x11ebe6,_0x571dc1){return extendSel(_0x11ebe6,_0x484e24=>_0x11ebe6['moveVertically'](_0x484e24,_0x571dc1));}const selectLineUp=_0x226156=>selectByLine(_0x226156,!0x1),selectLineDown=_0x5a34c6=>selectByLine(_0x5a34c6,!0x0);function selectByPage(_0x47bd47,_0x2b1634){return extendSel(_0x47bd47,_0x1a5916=>_0x47bd47['moveVertically'](_0x1a5916,_0x2b1634,_0x160e4c(_0x47bd47)['height']));}const selectPageUp=_0x59c5d5=>selectByPage(_0x59c5d5,!0x1),selectPageDown=_0x593944=>selectByPage(_0x593944,!0x0),selectLineBoundaryForward=_0x4d398c=>extendSel(_0x4d398c,_0x25c792=>_0x37d5a8(_0x4d398c,_0x25c792,!0x0)),selectLineBoundaryBackward=_0x3a6c12=>extendSel(_0x3a6c12,_0x1c8803=>_0x37d5a8(_0x3a6c12,_0x1c8803,!0x1)),selectLineBoundaryLeft=_0x31afcc=>extendSel(_0x31afcc,_0x468986=>_0x37d5a8(_0x31afcc,_0x468986,!ltrAtCursor(_0x31afcc))),selectLineBoundaryRight=_0x1e1eea=>extendSel(_0x1e1eea,_0x3964be=>_0x37d5a8(_0x1e1eea,_0x3964be,ltrAtCursor(_0x1e1eea))),selectLineStart=_0x7043df=>extendSel(_0x7043df,_0x490201=>EditorSelection['cursor'](_0x7043df['lineBlockAt'](_0x490201['head'])['from'])),selectLineEnd=_0x2446f6=>extendSel(_0x2446f6,_0x355dcd=>EditorSelection['cursor'](_0x2446f6['lineBlockAt'](_0x355dcd['head'])['to'])),cursorDocStart=({state:_0x4cbeea,dispatch:_0x5d5385})=>(_0x5d5385(setSel(_0x4cbeea,{'anchor':0x0})),!0x0),_0x15ba45=({state:_0x5795b1,dispatch:_0x36e5ef})=>(_0x36e5ef(setSel(_0x5795b1,{'anchor':_0x5795b1['doc']['length']})),!0x0),selectDocStart=({state:_0x5241c9,dispatch:_0x23412c})=>(_0x23412c(setSel(_0x5241c9,{'anchor':_0x5241c9['selection']['main']['anchor'],'head':0x0})),!0x0),selectDocEnd=({state:_0x2d0919,dispatch:_0x55e0e6})=>(_0x55e0e6(setSel(_0x2d0919,{'anchor':_0x2d0919['selection']['main']['anchor'],'head':_0x2d0919['doc']['length']})),!0x0),selectAll=({state:_0x4c5deb,dispatch:_0x31d74a})=>(_0x31d74a(_0x4c5deb['update']({'selection':{'anchor':0x0,'head':_0x4c5deb['doc']['length']},'userEvent':'select'})),!0x0),selectLine=({state:_0x54371f,dispatch:_0x4407f2})=>{let _0x42ffde=selectedLineBlocks(_0x54371f)['map'](({from:_0x36d485,to:_0x27c464})=>EditorSelection['range'](_0x36d485,Math['min'](_0x27c464+0x1,_0x54371f['doc']['length'])));return _0x4407f2(_0x54371f['update']({'selection':EditorSelection['create'](_0x42ffde),'userEvent':'select'})),!0x0;},selectParentSyntax=({state:_0x465ed2,dispatch:_0x1d738e})=>{let _0x5beb3b=updateSel(_0x465ed2['selection'],_0x599c0c=>{let _0x3d560c=syntaxTree(_0x465ed2),_0x568f32=_0x3d560c['resolveStack'](_0x599c0c['from'],0x1);if(_0x599c0c['empty']){let _0x5a4be3=_0x3d560c['resolveStack'](_0x599c0c['from'],-0x1);_0x5a4be3['node']['from']>=_0x568f32['node']['from']&&_0x5a4be3['node']['to']<=_0x568f32['node']['to']&&(_0x568f32=_0x5a4be3);}for(let _0x58af56=_0x568f32;_0x58af56;_0x58af56=_0x58af56['next']){let {node:_0x79a5b5}=_0x58af56;if((_0x79a5b5['from']<_0x599c0c['from']&&_0x79a5b5['to']>=_0x599c0c['to']||_0x79a5b5['to']>_0x599c0c['to']&&_0x79a5b5['from']<=_0x599c0c['from'])&&_0x58af56['next'])return EditorSelection['range'](_0x79a5b5['to'],_0x79a5b5['from']);}return _0x599c0c;});return!_0x5beb3b['eq'](_0x465ed2['selection'])&&(_0x1d738e(setSel(_0x465ed2,_0x5beb3b)),!0x0);},simplifySelection=({state:_0x3832c9,dispatch:_0x2be4bb})=>{let _0x54257e=_0x3832c9['selection'],_0x3fbf10=null;return _0x54257e['ranges']['length']>0x1?_0x3fbf10=EditorSelection['create']([_0x54257e['main']]):_0x54257e['main']['empty']||(_0x3fbf10=EditorSelection['create']([EditorSelection['cursor'](_0x54257e['main']['head'])])),!!_0x3fbf10&&(_0x2be4bb(setSel(_0x3832c9,_0x3fbf10)),!0x0);};function deleteBy(_0x466f59,_0xe7d24a){if(_0x466f59['state']['readOnly'])return!0x1;let _0x3dce7f='delete.selection',{state:_0x300ce9}=_0x466f59,_0x4527b9=_0x300ce9['changeByRange'](_0x146407=>{let {from:_0xc304a1,to:_0x223b07}=_0x146407;if(_0xc304a1==_0x223b07){let _0x21e40e=_0xe7d24a(_0x146407);_0x21e40e<_0xc304a1?(_0x3dce7f='delete.backward',_0x21e40e=skipAtomic(_0x466f59,_0x21e40e,!0x1)):_0x21e40e>_0xc304a1&&(_0x3dce7f='delete.forward',_0x21e40e=skipAtomic(_0x466f59,_0x21e40e,!0x0)),_0xc304a1=Math['min'](_0xc304a1,_0x21e40e),_0x223b07=Math['max'](_0x223b07,_0x21e40e);}else _0xc304a1=skipAtomic(_0x466f59,_0xc304a1,!0x1),_0x223b07=skipAtomic(_0x466f59,_0x223b07,!0x0);return _0xc304a1==_0x223b07?{'range':_0x146407}:{'changes':{'from':_0xc304a1,'to':_0x223b07},'range':EditorSelection['cursor'](_0xc304a1,_0xc304a1<_0x146407['head']?-0x1:0x1)};});return!_0x4527b9['changes']['empty']&&(_0x466f59['dispatch'](_0x300ce9['update'](_0x4527b9,{'scrollIntoView':!0x0,'userEvent':_0x3dce7f,'effects':'delete.selection'==_0x3dce7f?EditorView['announce']['of'](_0x300ce9['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function skipAtomic(_0x5d3a57,_0x2e38ed,_0x4e9a69){if(_0x5d3a57 instanceof EditorView){for(let _0x528d1a of _0x5d3a57['state']['facet'](EditorView['atomicRanges'])['map'](_0x4500d4=>_0x4500d4(_0x5d3a57)))_0x528d1a['between'](_0x2e38ed,_0x2e38ed,(_0x1367ce,_0x1e7dd8)=>{_0x1367ce<_0x2e38ed&&_0x1e7dd8>_0x2e38ed&&(_0x2e38ed=_0x4e9a69?_0x1e7dd8:_0x1367ce);});}return _0x2e38ed;}const deleteByChar=(_0x1fed49,_0x3f6dfb,_0x41babb)=>deleteBy(_0x1fed49,_0x44d4b1=>{let _0x4c86bb,_0x4d00cf,_0x538830=_0x44d4b1['from'],{state:_0x1e25ea}=_0x1fed49,_0x211515=_0x1e25ea['doc']['lineAt'](_0x538830);if(_0x41babb&&!_0x3f6dfb&&_0x538830>_0x211515['from']&&_0x538830<_0x211515['from']+0xc8&&!/[^ \t]/['test'](_0x4c86bb=_0x211515['text']['slice'](0x0,_0x538830-_0x211515['from']))){if('\x09'==_0x4c86bb[_0x4c86bb['length']-0x1])return _0x538830-0x1;let _0x31d567=countColumn(_0x4c86bb,_0x1e25ea['tabSize'])%getIndentUnit(_0x1e25ea)||getIndentUnit(_0x1e25ea);for(let _0x3f69cf=0x0;_0x3f69cf<_0x31d567&&'\x20'==_0x4c86bb[_0x4c86bb['length']-0x1-_0x3f69cf];_0x3f69cf++)_0x538830--;_0x4d00cf=_0x538830;}else _0x4d00cf=findClusterBreak(_0x211515['text'],_0x538830-_0x211515['from'],_0x3f6dfb,_0x3f6dfb)+_0x211515['from'],_0x4d00cf==_0x538830&&_0x211515['number']!=(_0x3f6dfb?_0x1e25ea['doc']['lines']:0x1)?_0x4d00cf+=_0x3f6dfb?0x1:-0x1:!_0x3f6dfb&&/[\ufe00-\ufe0f]/['test'](_0x211515['text']['slice'](_0x4d00cf-_0x211515['from'],_0x538830-_0x211515['from']))&&(_0x4d00cf=findClusterBreak(_0x211515['text'],_0x4d00cf-_0x211515['from'],!0x1,!0x1)+_0x211515['from']);return _0x4d00cf;}),deleteCharBackward=_0x444463=>deleteByChar(_0x444463,!0x1,!0x0),deleteCharForward=_0xa75bcc=>deleteByChar(_0xa75bcc,!0x0,!0x1),deleteByGroup=(_0xca5a7a,_0x5054ed)=>deleteBy(_0xca5a7a,_0x1fa8cb=>{let _0x117964=_0x1fa8cb['head'],{state:_0x34404a}=_0xca5a7a,_0x4d46ff=_0x34404a['doc']['lineAt'](_0x117964),_0x3992f9=_0x34404a['charCategorizer'](_0x117964);for(let _0x5d67ba=null;;){if(_0x117964==(_0x5054ed?_0x4d46ff['to']:_0x4d46ff['from'])){_0x117964==_0x1fa8cb['head']&&_0x4d46ff['number']!=(_0x5054ed?_0x34404a['doc']['lines']:0x1)&&(_0x117964+=_0x5054ed?0x1:-0x1);break;}let _0x3e3514=findClusterBreak(_0x4d46ff['text'],_0x117964-_0x4d46ff['from'],_0x5054ed)+_0x4d46ff['from'],_0x30e2af=_0x4d46ff['text']['slice'](Math['min'](_0x117964,_0x3e3514)-_0x4d46ff['from'],Math['max'](_0x117964,_0x3e3514)-_0x4d46ff['from']),_0x100fb0=_0x3992f9(_0x30e2af);if(null!=_0x5d67ba&&_0x100fb0!=_0x5d67ba)break;'\x20'==_0x30e2af&&_0x117964==_0x1fa8cb['head']||(_0x5d67ba=_0x100fb0),_0x117964=_0x3e3514;}return _0x117964;}),deleteGroupBackward=_0x92ee90=>deleteByGroup(_0x92ee90,!0x1),deleteGroupForward=_0x2160da=>deleteByGroup(_0x2160da,!0x0),deleteToLineEnd=_0x35db31=>deleteBy(_0x35db31,_0x2eb424=>{let _0x24cc35=_0x35db31['lineBlockAt'](_0x2eb424['head'])['to'];return _0x2eb424['head']<_0x24cc35?_0x24cc35:Math['min'](_0x35db31['state']['doc']['length'],_0x2eb424['head']+0x1);}),deleteLineBoundaryBackward=_0x16dc4f=>deleteBy(_0x16dc4f,_0x45e36c=>{let _0x26d1ca=_0x16dc4f['moveToLineBoundary'](_0x45e36c,!0x1)['head'];return _0x45e36c['head']>_0x26d1ca?_0x26d1ca:Math['max'](0x0,_0x45e36c['head']-0x1);}),deleteLineBoundaryForward=_0x55d5c8=>deleteBy(_0x55d5c8,_0x5335c8=>{let _0x2d3d5d=_0x55d5c8['moveToLineBoundary'](_0x5335c8,!0x0)['head'];return _0x5335c8['head']<_0x2d3d5d?_0x2d3d5d:Math['min'](_0x55d5c8['state']['doc']['length'],_0x5335c8['head']+0x1);}),splitLine=({state:_0x149f62,dispatch:_0x34ab0a})=>{if(_0x149f62['readOnly'])return!0x1;let _0x1eecb6=_0x149f62['changeByRange'](_0x2c4e06=>({'changes':{'from':_0x2c4e06['from'],'to':_0x2c4e06['to'],'insert':Text['of'](['',''])},'range':EditorSelection['cursor'](_0x2c4e06['from'])}));return _0x34ab0a(_0x149f62['update'](_0x1eecb6,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;},transposeChars=({state:_0x419086,dispatch:_0x5a0f26})=>{if(_0x419086['readOnly'])return!0x1;let _0x20a742=_0x419086['changeByRange'](_0x4d72a0=>{if(!_0x4d72a0['empty']||0x0==_0x4d72a0['from']||_0x4d72a0['from']==_0x419086['doc']['length'])return{'range':_0x4d72a0};let _0x357953=_0x4d72a0['from'],_0x5cd340=_0x419086['doc']['lineAt'](_0x357953),_0x84e7b6=_0x357953==_0x5cd340['from']?_0x357953-0x1:findClusterBreak(_0x5cd340['text'],_0x357953-_0x5cd340['from'],!0x1)+_0x5cd340['from'],_0x1bb379=_0x357953==_0x5cd340['to']?_0x357953+0x1:findClusterBreak(_0x5cd340['text'],_0x357953-_0x5cd340['from'],!0x0)+_0x5cd340['from'];return{'changes':{'from':_0x84e7b6,'to':_0x1bb379,'insert':_0x419086['doc']['slice'](_0x357953,_0x1bb379)['append'](_0x419086['doc']['slice'](_0x84e7b6,_0x357953))},'range':EditorSelection['cursor'](_0x1bb379)};});return!_0x20a742['changes']['empty']&&(_0x5a0f26(_0x419086['update'](_0x20a742,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);};function selectedLineBlocks(_0x5cfb42){let _0x2bbd5a=[],_0x3a5bc9=-0x1;for(let _0x7ab479 of _0x5cfb42['selection']['ranges']){let _0x49b3d1=_0x5cfb42['doc']['lineAt'](_0x7ab479['from']),_0x3acb34=_0x5cfb42['doc']['lineAt'](_0x7ab479['to']);if(_0x7ab479['empty']||_0x7ab479['to']!=_0x3acb34['from']||(_0x3acb34=_0x5cfb42['doc']['lineAt'](_0x7ab479['to']-0x1)),_0x3a5bc9>=_0x49b3d1['number']){let _0x2871e7=_0x2bbd5a[_0x2bbd5a['length']-0x1];_0x2871e7['to']=_0x3acb34['to'],_0x2871e7['ranges']['push'](_0x7ab479);}else _0x2bbd5a['push']({'from':_0x49b3d1['from'],'to':_0x3acb34['to'],'ranges':[_0x7ab479]});_0x3a5bc9=_0x3acb34['number']+0x1;}return _0x2bbd5a;}function _0x1f718c(_0x4c891e,_0x524849,_0x209d3e){if(_0x4c891e['readOnly'])return!0x1;let _0x3df0c2=[],_0x1e95a0=[];for(let _0x54982a of selectedLineBlocks(_0x4c891e)){if(_0x209d3e?_0x54982a['to']==_0x4c891e['doc']['length']:0x0==_0x54982a['from'])continue;let _0x2e8bcc=_0x4c891e['doc']['lineAt'](_0x209d3e?_0x54982a['to']+0x1:_0x54982a['from']-0x1),_0x201125=_0x2e8bcc['length']+0x1;if(_0x209d3e){_0x3df0c2['push']({'from':_0x54982a['to'],'to':_0x2e8bcc['to']},{'from':_0x54982a['from'],'insert':_0x2e8bcc['text']+_0x4c891e['lineBreak']});for(let _0x2a2e1a of _0x54982a['ranges'])_0x1e95a0['push'](EditorSelection['range'](Math['min'](_0x4c891e['doc']['length'],_0x2a2e1a['anchor']+_0x201125),Math['min'](_0x4c891e['doc']['length'],_0x2a2e1a['head']+_0x201125)));}else{_0x3df0c2['push']({'from':_0x2e8bcc['from'],'to':_0x54982a['from']},{'from':_0x54982a['to'],'insert':_0x4c891e['lineBreak']+_0x2e8bcc['text']});for(let _0x3afd96 of _0x54982a['ranges'])_0x1e95a0['push'](EditorSelection['range'](_0x3afd96['anchor']-_0x201125,_0x3afd96['head']-_0x201125));}}return!!_0x3df0c2['length']&&(_0x524849(_0x4c891e['update']({'changes':_0x3df0c2,'scrollIntoView':!0x0,'selection':EditorSelection['create'](_0x1e95a0,_0x4c891e['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}const _0x12e771=({state:_0x351895,dispatch:_0xc14c95})=>_0x1f718c(_0x351895,_0xc14c95,!0x1),_0x3cf2f8=({state:_0x25bb48,dispatch:_0xa0e813})=>_0x1f718c(_0x25bb48,_0xa0e813,!0x0);function _0x2d5bef(_0x13aecf,_0x77a277,_0x48014c){if(_0x13aecf['readOnly'])return!0x1;let _0x333d54=[];for(let _0x3db8cf of selectedLineBlocks(_0x13aecf))_0x48014c?_0x333d54['push']({'from':_0x3db8cf['from'],'insert':_0x13aecf['doc']['slice'](_0x3db8cf['from'],_0x3db8cf['to'])+_0x13aecf['lineBreak']}):_0x333d54['push']({'from':_0x3db8cf['to'],'insert':_0x13aecf['lineBreak']+_0x13aecf['doc']['slice'](_0x3db8cf['from'],_0x3db8cf['to'])});return _0x77a277(_0x13aecf['update']({'changes':_0x333d54,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const _0x5a9bc3=({state:_0x1b8ea3,dispatch:_0xfbbdd0})=>_0x2d5bef(_0x1b8ea3,_0xfbbdd0,!0x1),_0x45901b=({state:_0x20453c,dispatch:_0x3e0e3b})=>_0x2d5bef(_0x20453c,_0x3e0e3b,!0x0),deleteLine=_0x39d907=>{if(_0x39d907['state']['readOnly'])return!0x1;let {state:_0xa890fc}=_0x39d907,_0x49dc0e=_0xa890fc['changes'](selectedLineBlocks(_0xa890fc)['map'](({from:_0x2721e5,to:_0x54d47c})=>(_0x2721e5>0x0?_0x2721e5--:_0x54d47c<_0xa890fc['doc']['length']&&_0x54d47c++,{'from':_0x2721e5,'to':_0x54d47c}))),_0x453070=updateSel(_0xa890fc['selection'],_0x50455b=>{let _0x37a19b;if(_0x39d907['lineWrapping']){let _0x2fb3e4=_0x39d907['lineBlockAt'](_0x50455b['head']),_0x4a0bd7=_0x39d907['coordsAtPos'](_0x50455b['head'],_0x50455b['assoc']||0x1);_0x4a0bd7&&(_0x37a19b=_0x2fb3e4['bottom']+_0x39d907['documentTop']-_0x4a0bd7['bottom']+_0x39d907['defaultLineHeight']/0x2);}return _0x39d907['moveVertically'](_0x50455b,!0x0,_0x37a19b);})['map'](_0x49dc0e);return _0x39d907['dispatch']({'changes':_0x49dc0e,'selection':_0x453070,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;};function isBetweenBrackets(_0x46f1c9,_0x193fbd){if(/\(\)|\[\]|\{\}/['test'](_0x46f1c9['sliceDoc'](_0x193fbd-0x1,_0x193fbd+0x1)))return{'from':_0x193fbd,'to':_0x193fbd};let _0xf3a5eb,_0x57f79b=syntaxTree(_0x46f1c9)['resolveInner'](_0x193fbd),_0x1d671c=_0x57f79b['childBefore'](_0x193fbd),_0x4c44c2=_0x57f79b['childAfter'](_0x193fbd);return _0x1d671c&&_0x4c44c2&&_0x1d671c['to']<=_0x193fbd&&_0x4c44c2['from']>=_0x193fbd&&(_0xf3a5eb=_0x1d671c['type']['prop'](_0x114f67['closedBy']))&&_0xf3a5eb['indexOf'](_0x4c44c2['name'])>-0x1&&_0x46f1c9['doc']['lineAt'](_0x1d671c['to'])['from']==_0x46f1c9['doc']['lineAt'](_0x4c44c2['from'])['from']&&!/\S/['test'](_0x46f1c9['sliceDoc'](_0x1d671c['to'],_0x4c44c2['from']))?{'from':_0x1d671c['to'],'to':_0x4c44c2['from']}:null;}const insertNewlineAndIndent=newlineAndIndent(!0x1),insertBlankLine=newlineAndIndent(!0x0);function newlineAndIndent(_0x1c5433){return({state:_0x5868ab,dispatch:_0x59c4a2})=>{if(_0x5868ab['readOnly'])return!0x1;let _0x48f426=_0x5868ab['changeByRange'](_0x520069=>{let {from:_0x2c113f,to:_0x358479}=_0x520069,_0x264720=_0x5868ab['doc']['lineAt'](_0x2c113f),_0x315a68=!_0x1c5433&&_0x2c113f==_0x358479&&isBetweenBrackets(_0x5868ab,_0x2c113f);_0x1c5433&&(_0x2c113f=_0x358479=(_0x358479<=_0x264720['to']?_0x264720:_0x5868ab['doc']['lineAt'](_0x358479))['to']);let _0x48e1ec=new IndentContext(_0x5868ab,{'simulateBreak':_0x2c113f,'simulateDoubleBreak':!!_0x315a68}),_0x1384d1=getIndentation(_0x48e1ec,_0x2c113f);for(null==_0x1384d1&&(_0x1384d1=countColumn(/^\s*/['exec'](_0x5868ab['doc']['lineAt'](_0x2c113f)['text'])[0x0],_0x5868ab['tabSize']));_0x358479<_0x264720['to']&&/\s/['test'](_0x264720['text'][_0x358479-_0x264720['from']]);)_0x358479++;_0x315a68?{from:_0x2c113f,to:_0x358479}=_0x315a68:_0x2c113f>_0x264720['from']&&_0x2c113f<_0x264720['from']+0x64&&!/\S/['test'](_0x264720['text']['slice'](0x0,_0x2c113f))&&(_0x2c113f=_0x264720['from']);let _0x62c8d=['',indentString(_0x5868ab,_0x1384d1)];return _0x315a68&&_0x62c8d['push'](indentString(_0x5868ab,_0x48e1ec['lineIndent'](_0x264720['from'],-0x1))),{'changes':{'from':_0x2c113f,'to':_0x358479,'insert':Text['of'](_0x62c8d)},'range':EditorSelection['cursor'](_0x2c113f+0x1+_0x62c8d[0x1]['length'])};});return _0x59c4a2(_0x5868ab['update'](_0x48f426,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function changeBySelectedLine(_0x4a57b2,_0x34c0a4){let _0x52fe76=-0x1;return _0x4a57b2['changeByRange'](_0x519ee8=>{let _0xdcbc2e=[];for(let _0x2a840d=_0x519ee8['from'];_0x2a840d<=_0x519ee8['to'];){let _0x460064=_0x4a57b2['doc']['lineAt'](_0x2a840d);_0x460064['number']>_0x52fe76&&(_0x519ee8['empty']||_0x519ee8['to']>_0x460064['from'])&&(_0x34c0a4(_0x460064,_0xdcbc2e,_0x519ee8),_0x52fe76=_0x460064['number']),_0x2a840d=_0x460064['to']+0x1;}let _0x69a788=_0x4a57b2['changes'](_0xdcbc2e);return{'changes':_0xdcbc2e,'range':EditorSelection['range'](_0x69a788['mapPos'](_0x519ee8['anchor'],0x1),_0x69a788['mapPos'](_0x519ee8['head'],0x1))};});}const indentSelection=({state:_0x2ad50d,dispatch:_0x2621fc})=>{if(_0x2ad50d['readOnly'])return!0x1;let _0x27d647=Object['create'](null),_0x1ba586=new IndentContext(_0x2ad50d,{'overrideIndentation':_0x1fff2f=>{let _0x107def=_0x27d647[_0x1fff2f];return null==_0x107def?-0x1:_0x107def;}}),_0xba33b8=changeBySelectedLine(_0x2ad50d,(_0x18a432,_0x57c81f,_0x4c7444)=>{let _0x552642=getIndentation(_0x1ba586,_0x18a432['from']);if(null==_0x552642)return;/\S/['test'](_0x18a432['text'])||(_0x552642=0x0);let _0x564846=/^\s*/['exec'](_0x18a432['text'])[0x0],_0x2e1170=indentString(_0x2ad50d,_0x552642);(_0x564846!=_0x2e1170||_0x4c7444['from']<_0x18a432['from']+_0x564846['length'])&&(_0x27d647[_0x18a432['from']]=_0x552642,_0x57c81f['push']({'from':_0x18a432['from'],'to':_0x18a432['from']+_0x564846['length'],'insert':_0x2e1170}));});return _0xba33b8['changes']['empty']||_0x2621fc(_0x2ad50d['update'](_0xba33b8,{'userEvent':'indent'})),!0x0;},indentMore=({state:_0x16899d,dispatch:_0x38db77})=>!_0x16899d['readOnly']&&(_0x38db77(_0x16899d['update'](changeBySelectedLine(_0x16899d,(_0x10c417,_0x48defc)=>{_0x48defc['push']({'from':_0x10c417['from'],'insert':_0x16899d['facet'](indentUnit)});}),{'userEvent':'input.indent'})),!0x0),indentLess=({state:_0x5aa991,dispatch:_0x504ef3})=>!_0x5aa991['readOnly']&&(_0x504ef3(_0x5aa991['update'](changeBySelectedLine(_0x5aa991,(_0x359bf0,_0x487c32)=>{let _0x5455e9=/^\s*/['exec'](_0x359bf0['text'])[0x0];if(!_0x5455e9)return;let _0x48f21e=countColumn(_0x5455e9,_0x5aa991['tabSize']),_0x36899f=0x0,_0x3a2cd5=indentString(_0x5aa991,Math['max'](0x0,_0x48f21e-getIndentUnit(_0x5aa991)));for(;_0x36899f<_0x5455e9['length']&&_0x36899f<_0x3a2cd5['length']&&_0x5455e9['charCodeAt'](_0x36899f)==_0x3a2cd5['charCodeAt'](_0x36899f);)_0x36899f++;_0x487c32['push']({'from':_0x359bf0['from']+_0x36899f,'to':_0x359bf0['from']+_0x5455e9['length'],'insert':_0x3a2cd5['slice'](_0x36899f)});}),{'userEvent':'delete.dedent'})),!0x0),toggleTabFocusMode=_0xdaa1dc=>(_0xdaa1dc['setTabFocusMode'](),!0x0),emacsStyleKeymap=[{'key':'Ctrl-b','run':cursorCharLeft,'shift':selectCharLeft,'preventDefault':!0x0},{'key':'Ctrl-f','run':cursorCharRight,'shift':selectCharRight},{'key':'Ctrl-p','run':_0x40eac6,'shift':selectLineUp},{'key':'Ctrl-n','run':_0x46d402,'shift':selectLineDown},{'key':'Ctrl-a','run':cursorLineStart,'shift':selectLineStart},{'key':'Ctrl-e','run':_0x2a8272,'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':_0x3fe2c6}],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':_0x40eac6,'shift':selectLineUp,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':cursorDocStart,'shift':selectDocStart},{'mac':'Ctrl-ArrowUp','run':_0x286e16,'shift':selectPageUp},{'key':'ArrowDown','run':_0x46d402,'shift':selectLineDown,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':_0x15ba45,'shift':selectDocEnd},{'mac':'Ctrl-ArrowDown','run':_0x3fe2c6,'shift':selectPageDown},{'key':'PageUp','run':_0x286e16,'shift':selectPageUp},{'key':'PageDown','run':_0x3fe2c6,'shift':selectPageDown},{'key':'Home','run':_0xd7a8ab,'shift':selectLineBoundaryBackward,'preventDefault':!0x0},{'key':'Mod-Home','run':cursorDocStart,'shift':selectDocStart},{'key':'End','run':_0x257880,'shift':selectLineBoundaryForward,'preventDefault':!0x0},{'key':'Mod-End','run':_0x15ba45,'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'](_0x4eabb3=>({'mac':_0x4eabb3['key'],'run':_0x4eabb3['run'],'shift':_0x4eabb3['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':_0x12e771},{'key':'Shift-Alt-ArrowUp','run':_0x5a9bc3},{'key':'Alt-ArrowDown','run':_0x3cf2f8},{'key':'Shift-Alt-ArrowDown','run':_0x45901b},{'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(_0x3aff75,_0x242122,_0x3da60a,_0x5c3e55){this['state']=_0x3aff75,this['pos']=_0x242122,this['explicit']=_0x3da60a,this['view']=_0x5c3e55,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0x5f4225){let _0x12f8ce=syntaxTree(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0x12f8ce&&_0x5f4225['indexOf'](_0x12f8ce['name'])<0x0;)_0x12f8ce=_0x12f8ce['parent'];return _0x12f8ce?{'from':_0x12f8ce['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0x12f8ce['from'],this['pos']),'type':_0x12f8ce['type']}:null;}['matchBefore'](_0x96c7ff){let _0x137b1b=this['state']['doc']['lineAt'](this['pos']),_0x40ec56=Math['max'](_0x137b1b['from'],this['pos']-0xfa),_0x3c44dd=_0x137b1b['text']['slice'](_0x40ec56-_0x137b1b['from'],this['pos']-_0x137b1b['from']),_0x1212b4=_0x3c44dd['search'](_0x9b5275(_0x96c7ff,!0x1));return _0x1212b4<0x0?null:{'from':_0x40ec56+_0x1212b4,'to':this['pos'],'text':_0x3c44dd['slice'](_0x1212b4)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0x2c4791,_0x9bf353,_0x14049f){'abort'==_0x2c4791&&this['abortListeners']&&(this['abortListeners']['push'](_0x9bf353),_0x14049f&&_0x14049f['onDocChange']&&(this['abortOnDocChange']=!0x0));}}function toSet(_0x1676f4){let _0x4d09a5=Object['keys'](_0x1676f4)['join'](''),_0xed3959=/\w/['test'](_0x4d09a5);return _0xed3959&&(_0x4d09a5=_0x4d09a5['replace'](/\w/g,'')),'['+(_0xed3959?'\x5cw':'')+_0x4d09a5['replace'](/[^\w\s]/g,'\x5c$&')+']';}function prefixMatch(_0x325191){let _0x425a68=Object['create'](null),_0x2b7691=Object['create'](null);for(let {label:_0x55a65f}of _0x325191){_0x425a68[_0x55a65f[0x0]]=!0x0;for(let _0x23d3df=0x1;_0x23d3df<_0x55a65f['length'];_0x23d3df++)_0x2b7691[_0x55a65f[_0x23d3df]]=!0x0;}let _0x14f1ed=toSet(_0x425a68)+toSet(_0x2b7691)+'*$';return[new RegExp('^'+_0x14f1ed),new RegExp(_0x14f1ed)];}function completeFromList(_0x44274f){let _0x20cc06=_0x44274f['map'](_0x213f05=>'string'==typeof _0x213f05?{'label':_0x213f05}:_0x213f05),[_0x534a8b,_0x465f48]=_0x20cc06['every'](_0x50c175=>/^\w+$/['test'](_0x50c175['label']))?[/\w*$/,/\w+$/]:prefixMatch(_0x20cc06);return _0x32c244=>{let _0x222889=_0x32c244['matchBefore'](_0x465f48);return _0x222889||_0x32c244['explicit']?{'from':_0x222889?_0x222889['from']:_0x32c244['pos'],'options':_0x20cc06,'validFor':_0x534a8b}:null;};}function ifNotIn(_0x553da2,_0x40d8d3){return _0x1f1567=>{for(let _0x39911b=syntaxTree(_0x1f1567['state'])['resolveInner'](_0x1f1567['pos'],-0x1);_0x39911b;_0x39911b=_0x39911b['parent']){if(_0x553da2['indexOf'](_0x39911b['name'])>-0x1)return null;if(_0x39911b['type']['isTop'])break;}return _0x40d8d3(_0x1f1567);};}class Option{constructor(_0x15eab8,_0x23b432,_0x2f8887,_0x5674ae){this['completion']=_0x15eab8,this['source']=_0x23b432,this['match']=_0x2f8887,this['score']=_0x5674ae;}}function _0x3b653e(_0x334fca){return _0x334fca['selection']['main']['from'];}function _0x9b5275(_0x14e073,_0xaa58c2){var _0x53a0a3;let {source:_0x33aec4}=_0x14e073,_0x32377e=_0xaa58c2&&'^'!=_0x33aec4[0x0],_0x664294='$'!=_0x33aec4[_0x33aec4['length']-0x1];return _0x32377e||_0x664294?new RegExp((_0x32377e?'^':'')+'(?:'+_0x33aec4+')'+(_0x664294?'$':''),null!==(_0x53a0a3=_0x14e073['flags'])&&void 0x0!==_0x53a0a3?_0x53a0a3:_0x14e073['ignoreCase']?'i':''):_0x14e073;}const pickedCompletion=Annotation['define']();function insertCompletionText(_0x1fe47e,_0x14ce61,_0x1f6885,_0x4c3a84){let {main:_0x2a1796}=_0x1fe47e['selection'],_0x1a9428=_0x1f6885-_0x2a1796['from'],_0x3cc108=_0x4c3a84-_0x2a1796['from'];return{..._0x1fe47e['changeByRange'](_0x5aad27=>{if(_0x5aad27!=_0x2a1796&&_0x1f6885!=_0x4c3a84&&_0x1fe47e['sliceDoc'](_0x5aad27['from']+_0x1a9428,_0x5aad27['from']+_0x3cc108)!=_0x1fe47e['sliceDoc'](_0x1f6885,_0x4c3a84))return{'range':_0x5aad27};let _0x25874a=_0x1fe47e['toText'](_0x14ce61);return{'changes':{'from':_0x5aad27['from']+_0x1a9428,'to':_0x4c3a84==_0x2a1796['from']?_0x5aad27['to']:_0x5aad27['from']+_0x3cc108,'insert':_0x25874a},'range':EditorSelection['cursor'](_0x5aad27['from']+_0x1a9428+_0x25874a['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const _0x3cfa3a=new WeakMap();function _0x2fb498(_0x3c8aba){if(!Array['isArray'](_0x3c8aba))return _0x3c8aba;let _0x23a4b2=_0x3cfa3a['get'](_0x3c8aba);return _0x23a4b2||_0x3cfa3a['set'](_0x3c8aba,_0x23a4b2=completeFromList(_0x3c8aba)),_0x23a4b2;}const startCompletionEffect=StateEffect['define'](),closeCompletionEffect=StateEffect['define']();class FuzzyMatcher{constructor(_0x56169a){this['pattern']=_0x56169a,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0xcce158=0x0;_0xcce158<_0x56169a['length'];){let _0x78fb74=codePointAt(_0x56169a,_0xcce158),_0x252239=codePointSize(_0x78fb74);this['chars']['push'](_0x78fb74);let _0xad396e=_0x56169a['slice'](_0xcce158,_0xcce158+_0x252239),_0x548a8e=_0xad396e['toUpperCase']();this['folded']['push'](codePointAt(_0x548a8e==_0xad396e?_0xad396e['toLowerCase']():_0x548a8e,0x0)),_0xcce158+=_0x252239;}this['astral']=_0x56169a['length']!=this['chars']['length'];}['ret'](_0x5cb81a,_0x4e0218){return this['score']=_0x5cb81a,this['matched']=_0x4e0218,this;}['match'](_0x849ba6){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x849ba6['length']<this['pattern']['length'])return null;let {chars:_0x88174c,folded:_0x66001e,any:_0x548921,precise:_0x17430e,byWord:_0x2ac9d5}=this;if(0x1==_0x88174c['length']){let _0x43cdf2=codePointAt(_0x849ba6,0x0),_0x28460b=codePointSize(_0x43cdf2),_0x1bbdca=_0x28460b==_0x849ba6['length']?0x0:-0x64;if(_0x43cdf2==_0x88174c[0x0]);else{if(_0x43cdf2!=_0x66001e[0x0])return null;_0x1bbdca+=-0xc8;}return this['ret'](_0x1bbdca,[0x0,_0x28460b]);}let _0x16208d=_0x849ba6['indexOf'](this['pattern']);if(0x0==_0x16208d)return this['ret'](_0x849ba6['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x321873=_0x88174c['length'],_0x45a093=0x0;if(_0x16208d<0x0){for(let _0x1205d7=0x0,_0x38c301=Math['min'](_0x849ba6['length'],0xc8);_0x1205d7<_0x38c301&&_0x45a093<_0x321873;){let _0x2ef1be=codePointAt(_0x849ba6,_0x1205d7);_0x2ef1be!=_0x88174c[_0x45a093]&&_0x2ef1be!=_0x66001e[_0x45a093]||(_0x548921[_0x45a093++]=_0x1205d7),_0x1205d7+=codePointSize(_0x2ef1be);}if(_0x45a093<_0x321873)return null;}let _0x49be55=0x0,_0x1c7346=0x0,_0xe1c574=!0x1,_0x214527=0x0,_0x245930=-0x1,_0x2cf04b=-0x1,_0x470b7a=/[a-z]/['test'](_0x849ba6),_0x3b3149=!0x0;for(let _0xc58596=0x0,_0x16af29=Math['min'](_0x849ba6['length'],0xc8),_0x4b8d0e=0x0;_0xc58596<_0x16af29&&_0x1c7346<_0x321873;){let _0x2e9442=codePointAt(_0x849ba6,_0xc58596);_0x16208d<0x0&&(_0x49be55<_0x321873&&_0x2e9442==_0x88174c[_0x49be55]&&(_0x17430e[_0x49be55++]=_0xc58596),_0x214527<_0x321873&&(_0x2e9442==_0x88174c[_0x214527]||_0x2e9442==_0x66001e[_0x214527]?(0x0==_0x214527&&(_0x245930=_0xc58596),_0x2cf04b=_0xc58596+0x1,_0x214527++):_0x214527=0x0));let _0x3969e7,_0x2f35d7=_0x2e9442<0xff?_0x2e9442>=0x30&&_0x2e9442<=0x39||_0x2e9442>=0x61&&_0x2e9442<=0x7a?0x2:_0x2e9442>=0x41&&_0x2e9442<=0x5a?0x1:0x0:(_0x3969e7=fromCodePoint(_0x2e9442))!=_0x3969e7['toLowerCase']()?0x1:_0x3969e7!=_0x3969e7['toUpperCase']()?0x2:0x0;(!_0xc58596||0x1==_0x2f35d7&&_0x470b7a||0x0==_0x4b8d0e&&0x0!=_0x2f35d7)&&(_0x88174c[_0x1c7346]==_0x2e9442||_0x66001e[_0x1c7346]==_0x2e9442&&(_0xe1c574=!0x0)?_0x2ac9d5[_0x1c7346++]=_0xc58596:_0x2ac9d5['length']&&(_0x3b3149=!0x1)),_0x4b8d0e=_0x2f35d7,_0xc58596+=codePointSize(_0x2e9442);}return _0x1c7346==_0x321873&&0x0==_0x2ac9d5[0x0]&&_0x3b3149?this['result']((_0xe1c574?-0xc8:0x0)-0x64,_0x2ac9d5,_0x849ba6):_0x214527==_0x321873&&0x0==_0x245930?this['ret'](-0xc8-_0x849ba6['length']+(_0x2cf04b==_0x849ba6['length']?0x0:-0x64),[0x0,_0x2cf04b]):_0x16208d>-0x1?this['ret'](-0x2bc-_0x849ba6['length'],[_0x16208d,_0x16208d+this['pattern']['length']]):_0x214527==_0x321873?this['ret'](-0x384-_0x849ba6['length'],[_0x245930,_0x2cf04b]):_0x1c7346==_0x321873?this['result']((_0xe1c574?-0xc8:0x0)-0x64-0x2bc+(_0x3b3149?0x0:-0x44c),_0x2ac9d5,_0x849ba6):0x2==_0x88174c['length']?null:this['result']((_0x548921[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0x548921,_0x849ba6);}['result'](_0x5cc5b4,_0x41c72e,_0xab0c11){let _0x498820=[],_0x388f30=0x0;for(let _0x7f0d38 of _0x41c72e){let _0x54f0cb=_0x7f0d38+(this['astral']?codePointSize(codePointAt(_0xab0c11,_0x7f0d38)):0x1);_0x388f30&&_0x498820[_0x388f30-0x1]==_0x7f0d38?_0x498820[_0x388f30-0x1]=_0x54f0cb:(_0x498820[_0x388f30++]=_0x7f0d38,_0x498820[_0x388f30++]=_0x54f0cb);}return this['ret'](_0x5cc5b4-_0xab0c11['length'],_0x498820);}}class StrictMatcher{constructor(_0x24a04c){this['pattern']=_0x24a04c,this['matched']=[],this['score']=0x0,this['folded']=_0x24a04c['toLowerCase']();}['match'](_0x271b75){if(_0x271b75['length']<this['pattern']['length'])return null;let _0x4a6130=_0x271b75['slice'](0x0,this['pattern']['length']),_0x36a9da=_0x4a6130==this['pattern']?0x0:_0x4a6130['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x36a9da?null:(this['matched']=[0x0,_0x4a6130['length']],this['score']=_0x36a9da+(_0x271b75['length']==this['pattern']['length']?0x0:-0x64),this);}}const completionConfig=Facet['define']({'combine':_0x480aac=>_0x592eca(_0x480aac,{'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':(_0x4cfde5,_0x2dfd2e)=>_0x4cfde5['label']['localeCompare'](_0x2dfd2e['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0xd6ec1b,_0x315922)=>_0xd6ec1b&&_0x315922,'closeOnBlur':(_0x180e04,_0x31301d)=>_0x180e04&&_0x31301d,'icons':(_0x4d62a8,_0x40f030)=>_0x4d62a8&&_0x40f030,'tooltipClass':(_0xfc16ce,_0x1e47da)=>_0x3dfd76=>_0x2e91d0(_0xfc16ce(_0x3dfd76),_0x1e47da(_0x3dfd76)),'optionClass':(_0xe97217,_0x5cb72b)=>_0xeb8f23=>_0x2e91d0(_0xe97217(_0xeb8f23),_0x5cb72b(_0xeb8f23)),'addToOptions':(_0x26d36a,_0x400123)=>_0x26d36a['concat'](_0x400123),'filterStrict':(_0x52e43a,_0x2722fc)=>_0x52e43a||_0x2722fc})});function _0x2e91d0(_0x15d14e,_0x1ab9cb){return _0x15d14e?_0x1ab9cb?_0x15d14e+'\x20'+_0x1ab9cb:_0x15d14e:_0x1ab9cb;}function defaultPositionInfo(_0x24bccd,_0x46df38,_0x4759da,_0x55f34e,_0x2781b2,_0x5bf782){let _0x472833,_0x34cc74,_0x2201ec=_0x24bccd['textDirection']==Direction['RTL'],_0x51e469=_0x2201ec,_0x5d2ea0=!0x1,_0x59ebe3='top',_0x172b14=_0x46df38['left']-_0x2781b2['left'],_0x2101ab=_0x2781b2['right']-_0x46df38['right'],_0x2702bd=_0x55f34e['right']-_0x55f34e['left'],_0x1f8203=_0x55f34e['bottom']-_0x55f34e['top'];if(_0x51e469&&_0x172b14<Math['min'](_0x2702bd,_0x2101ab)?_0x51e469=!0x1:!_0x51e469&&_0x2101ab<Math['min'](_0x2702bd,_0x172b14)&&(_0x51e469=!0x0),_0x2702bd<=(_0x51e469?_0x172b14:_0x2101ab))_0x472833=Math['max'](_0x2781b2['top'],Math['min'](_0x4759da['top'],_0x2781b2['bottom']-_0x1f8203))-_0x46df38['top'],_0x34cc74=Math['min'](0x190,_0x51e469?_0x172b14:_0x2101ab);else{_0x5d2ea0=!0x0,_0x34cc74=Math['min'](0x190,(_0x2201ec?_0x46df38['right']:_0x2781b2['right']-_0x46df38['left'])-0x1e);let _0x2dd9f0=_0x2781b2['bottom']-_0x46df38['bottom'];_0x2dd9f0>=_0x1f8203||_0x2dd9f0>_0x46df38['top']?_0x472833=_0x4759da['bottom']-_0x46df38['top']:(_0x59ebe3='bottom',_0x472833=_0x46df38['bottom']-_0x4759da['top']);}return{'style':_0x59ebe3+':\x20'+_0x472833/((_0x46df38['bottom']-_0x46df38['top'])/_0x5bf782['offsetHeight'])+'px;\x20max-width:\x20'+_0x34cc74/((_0x46df38['right']-_0x46df38['left'])/_0x5bf782['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x5d2ea0?_0x2201ec?'left-narrow':'right-narrow':_0x51e469?'left':'right')};}function optionContent(_0x18b08c){let _0x16e6d2=_0x18b08c['addToOptions']['slice']();return _0x18b08c['icons']&&_0x16e6d2['push']({'render'(_0x29b18e){let _0x3602fc=document['createElement']('div');return _0x3602fc['classList']['add']('cm-completionIcon'),_0x29b18e['type']&&_0x3602fc['classList']['add'](..._0x29b18e['type']['split'](/\s+/g)['map'](_0x12fdfd=>'cm-completionIcon-'+_0x12fdfd)),_0x3602fc['setAttribute']('aria-hidden','true'),_0x3602fc;},'position':0x14}),_0x16e6d2['push']({'render'(_0x1a8646,_0x326258,_0x419db9,_0x4a6fc8){let _0x47b0bc=document['createElement']('span');_0x47b0bc['className']='cm-completionLabel';let _0x13a072=_0x1a8646['displayLabel']||_0x1a8646['label'],_0x5852ef=0x0;for(let _0x13687a=0x0;_0x13687a<_0x4a6fc8['length'];){let _0x363990=_0x4a6fc8[_0x13687a++],_0x43199a=_0x4a6fc8[_0x13687a++];_0x363990>_0x5852ef&&_0x47b0bc['appendChild'](document['createTextNode'](_0x13a072['slice'](_0x5852ef,_0x363990)));let _0x1d80b4=_0x47b0bc['appendChild'](document['createElement']('span'));_0x1d80b4['appendChild'](document['createTextNode'](_0x13a072['slice'](_0x363990,_0x43199a))),_0x1d80b4['className']='cm-completionMatchedText',_0x5852ef=_0x43199a;}return _0x5852ef<_0x13a072['length']&&_0x47b0bc['appendChild'](document['createTextNode'](_0x13a072['slice'](_0x5852ef))),_0x47b0bc;},'position':0x32},{'render'(_0x1ab914){if(!_0x1ab914['detail'])return null;let _0x41ab45=document['createElement']('span');return _0x41ab45['className']='cm-completionDetail',_0x41ab45['textContent']=_0x1ab914['detail'],_0x41ab45;},'position':0x50}),_0x16e6d2['sort']((_0x3a0214,_0x11e3ee)=>_0x3a0214['position']-_0x11e3ee['position'])['map'](_0x25dacc=>_0x25dacc['render']);}function rangeAroundSelected(_0xb5ce54,_0x5a1387,_0x2d8c81){if(_0xb5ce54<=_0x2d8c81)return{'from':0x0,'to':_0xb5ce54};if(_0x5a1387<0x0&&(_0x5a1387=0x0),_0x5a1387<=_0xb5ce54>>0x1){let _0x53337a=Math['floor'](_0x5a1387/_0x2d8c81);return{'from':_0x53337a*_0x2d8c81,'to':(_0x53337a+0x1)*_0x2d8c81};}let _0x7dee09=Math['floor']((_0xb5ce54-_0x5a1387)/_0x2d8c81);return{'from':_0xb5ce54-(_0x7dee09+0x1)*_0x2d8c81,'to':_0xb5ce54-_0x7dee09*_0x2d8c81};}class CompletionTooltip{constructor(_0x3b4a4f,_0x204e2d,_0x399795){this['view']=_0x3b4a4f,this['stateField']=_0x204e2d,this['applyCompletion']=_0x399795,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0xcdcda6=>this['placeInfo'](_0xcdcda6),'key':this},this['space']=null,this['currentClass']='';let _0x4f83c7=_0x3b4a4f['state']['field'](_0x204e2d),{options:_0x50a5ca,selected:_0x5047d3}=_0x4f83c7['open'],_0x54b7be=_0x3b4a4f['state']['facet'](completionConfig);this['optionContent']=optionContent(_0x54b7be),this['optionClass']=_0x54b7be['optionClass'],this['tooltipClass']=_0x54b7be['tooltipClass'],this['range']=rangeAroundSelected(_0x50a5ca['length'],_0x5047d3,_0x54b7be['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x3b4a4f['state']),this['dom']['addEventListener']('mousedown',_0x3d1cd4=>{let {options:_0x3d1865}=_0x3b4a4f['state']['field'](_0x204e2d)['open'];for(let _0xfa4a1f,_0x37c365=_0x3d1cd4['target'];_0x37c365&&_0x37c365!=this['dom'];_0x37c365=_0x37c365['parentNode'])if('LI'==_0x37c365['nodeName']&&(_0xfa4a1f=/-(\d+)$/['exec'](_0x37c365['id']))&&+_0xfa4a1f[0x1]<_0x3d1865['length'])return this['applyCompletion'](_0x3b4a4f,_0x3d1865[+_0xfa4a1f[0x1]]),void _0x3d1cd4['preventDefault']();}),this['dom']['addEventListener']('focusout',_0xe2a0dc=>{let _0x4b8bf5=_0x3b4a4f['state']['field'](this['stateField'],!0x1);_0x4b8bf5&&_0x4b8bf5['tooltip']&&_0x3b4a4f['state']['facet'](completionConfig)['closeOnBlur']&&_0xe2a0dc['relatedTarget']!=_0x3b4a4f['contentDOM']&&_0x3b4a4f['dispatch']({'effects':closeCompletionEffect['of'](null)});}),this['showOptions'](_0x50a5ca,_0x4f83c7['id']);}['mount'](){this['updateSel']();}['showOptions'](_0x9a0288,_0x4bf5a0){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x9a0288,_0x4bf5a0,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0x39d79c){var _0x590ca2;let _0x2cc544=_0x39d79c['state']['field'](this['stateField']),_0x544bf5=_0x39d79c['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0x39d79c['state']),_0x2cc544!=_0x544bf5){let {options:_0x4e7cef,selected:_0x5b89bb,disabled:_0x205316}=_0x2cc544['open'];_0x544bf5['open']&&_0x544bf5['open']['options']==_0x4e7cef||(this['range']=rangeAroundSelected(_0x4e7cef['length'],_0x5b89bb,_0x39d79c['state']['facet'](completionConfig)['maxRenderedOptions']),this['showOptions'](_0x4e7cef,_0x2cc544['id'])),this['updateSel'](),_0x205316!=(null===(_0x590ca2=_0x544bf5['open'])||void 0x0===_0x590ca2?void 0x0:_0x590ca2['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x205316);}}['updateTooltipClass'](_0x500f83){let _0x3b6af4=this['tooltipClass'](_0x500f83);if(_0x3b6af4!=this['currentClass']){for(let _0x48065b of this['currentClass']['split']('\x20'))_0x48065b&&this['dom']['classList']['remove'](_0x48065b);for(let _0x2e87bd of _0x3b6af4['split']('\x20'))_0x2e87bd&&this['dom']['classList']['add'](_0x2e87bd);this['currentClass']=_0x3b6af4;}}['positioned'](_0x461227){this['space']=_0x461227,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0x3d5e27=this['view']['state']['field'](this['stateField']),_0x1437ca=_0x3d5e27['open'];(_0x1437ca['selected']>-0x1&&_0x1437ca['selected']<this['range']['from']||_0x1437ca['selected']>=this['range']['to'])&&(this['range']=rangeAroundSelected(_0x1437ca['options']['length'],_0x1437ca['selected'],this['view']['state']['facet'](completionConfig)['maxRenderedOptions']),this['showOptions'](_0x1437ca['options'],_0x3d5e27['id']));let _0x35c3eb=this['updateSelectedOption'](_0x1437ca['selected']);if(_0x35c3eb){this['destroyInfo']();let {completion:_0x35fe9c}=_0x1437ca['options'][_0x1437ca['selected']],{info:_0x4e110d}=_0x35fe9c;if(!_0x4e110d)return;let _0x46f6b9='string'==typeof _0x4e110d?document['createTextNode'](_0x4e110d):_0x4e110d(_0x35fe9c);if(!_0x46f6b9)return;'then'in _0x46f6b9?_0x46f6b9['then'](_0x4adcee=>{_0x4adcee&&this['view']['state']['field'](this['stateField'],!0x1)==_0x3d5e27&&this['addInfoPane'](_0x4adcee,_0x35fe9c);})['catch'](_0x4a7399=>logException(this['view']['state'],_0x4a7399,'completion\x20info')):(this['addInfoPane'](_0x46f6b9,_0x35fe9c),_0x35c3eb['setAttribute']('aria-describedby',this['info']['id']));}}['addInfoPane'](_0x335692,_0x184c4d){this['destroyInfo']();let _0x364d7c=this['info']=document['createElement']('div');if(_0x364d7c['className']='cm-tooltip\x20cm-completionInfo',_0x364d7c['id']='cm-completionInfo-'+Math['floor'](0xffff*Math['random']())['toString'](0x10),null!=_0x335692['nodeType'])_0x364d7c['appendChild'](_0x335692),this['infoDestroy']=null;else{let {dom:_0x4a5cfb,destroy:_0x485ed9}=_0x335692;_0x364d7c['appendChild'](_0x4a5cfb),this['infoDestroy']=_0x485ed9||null;}this['dom']['appendChild'](_0x364d7c),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0x5c2c4f){let _0x171d98=null;for(let _0x4a6966=this['list']['firstChild'],_0xe8e9b3=this['range']['from'];_0x4a6966;_0x4a6966=_0x4a6966['nextSibling'],_0xe8e9b3++)'LI'==_0x4a6966['nodeName']&&_0x4a6966['id']?_0xe8e9b3==_0x5c2c4f?_0x4a6966['hasAttribute']('aria-selected')||(_0x4a6966['setAttribute']('aria-selected','true'),_0x171d98=_0x4a6966):_0x4a6966['hasAttribute']('aria-selected')&&(_0x4a6966['removeAttribute']('aria-selected'),_0x4a6966['removeAttribute']('aria-describedby')):_0xe8e9b3--;return _0x171d98&&scrollIntoView(this['list'],_0x171d98),_0x171d98;}['measureInfo'](){let _0x46eab2=this['dom']['querySelector']('[aria-selected]');if(!_0x46eab2||!this['info'])return null;let _0xb09efe=this['dom']['getBoundingClientRect'](),_0x45074f=this['info']['getBoundingClientRect'](),_0x42fe7a=_0x46eab2['getBoundingClientRect'](),_0x228302=this['space'];if(!_0x228302){let _0xfaaf29=this['dom']['ownerDocument']['documentElement'];_0x228302={'left':0x0,'top':0x0,'right':_0xfaaf29['clientWidth'],'bottom':_0xfaaf29['clientHeight']};}return _0x42fe7a['top']>Math['min'](_0x228302['bottom'],_0xb09efe['bottom'])-0xa||_0x42fe7a['bottom']<Math['max'](_0x228302['top'],_0xb09efe['top'])+0xa?null:this['view']['state']['facet'](completionConfig)['positionInfo'](this['view'],_0xb09efe,_0x42fe7a,_0x45074f,_0x228302,this['dom']);}['placeInfo'](_0x7a7468){this['info']&&(_0x7a7468?(_0x7a7468['style']&&(this['info']['style']['cssText']=_0x7a7468['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x7a7468['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0x573129,_0x21cfdc,_0x304fee){const _0x207ee8=document['createElement']('ul');_0x207ee8['id']=_0x21cfdc,_0x207ee8['setAttribute']('role','listbox'),_0x207ee8['setAttribute']('aria-expanded','true'),_0x207ee8['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0x207ee8['addEventListener']('mousedown',_0x5a645b=>{_0x5a645b['target']==_0x207ee8&&_0x5a645b['preventDefault']();});let _0x40cce0=null;for(let _0x3125e5=_0x304fee['from'];_0x3125e5<_0x304fee['to'];_0x3125e5++){let {completion:_0x4ce9e5,match:_0x5fbde2}=_0x573129[_0x3125e5],{section:_0xe2049b}=_0x4ce9e5;if(_0xe2049b){let _0x492735='string'==typeof _0xe2049b?_0xe2049b:_0xe2049b['name'];if(_0x492735!=_0x40cce0&&(_0x3125e5>_0x304fee['from']||0x0==_0x304fee['from'])){if(_0x40cce0=_0x492735,'string'!=typeof _0xe2049b&&_0xe2049b['header'])_0x207ee8['appendChild'](_0xe2049b['header'](_0xe2049b));else _0x207ee8['appendChild'](document['createElement']('completion-section'))['textContent']=_0x492735;}}const _0x20ea33=_0x207ee8['appendChild'](document['createElement']('li'));_0x20ea33['id']=_0x21cfdc+'-'+_0x3125e5,_0x20ea33['setAttribute']('role','option');let _0x2e9c2a=this['optionClass'](_0x4ce9e5);_0x2e9c2a&&(_0x20ea33['className']=_0x2e9c2a);for(let _0x4e2fb7 of this['optionContent']){let _0xc2ab47=_0x4e2fb7(_0x4ce9e5,this['view']['state'],this['view'],_0x5fbde2);_0xc2ab47&&_0x20ea33['appendChild'](_0xc2ab47);}}return _0x304fee['from']&&_0x207ee8['classList']['add']('cm-completionListIncompleteTop'),_0x304fee['to']<_0x573129['length']&&_0x207ee8['classList']['add']('cm-completionListIncompleteBottom'),_0x207ee8;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}}function completionTooltip(_0x2c9d04,_0x307dce){return _0x3c16ca=>new CompletionTooltip(_0x3c16ca,_0x2c9d04,_0x307dce);}function scrollIntoView(_0x538568,_0x584f8a){let _0x39519d=_0x538568['getBoundingClientRect'](),_0x51d8a0=_0x584f8a['getBoundingClientRect'](),_0x8f3958=_0x39519d['height']/_0x538568['offsetHeight'];_0x51d8a0['top']<_0x39519d['top']?_0x538568['scrollTop']-=(_0x39519d['top']-_0x51d8a0['top'])/_0x8f3958:_0x51d8a0['bottom']>_0x39519d['bottom']&&(_0x538568['scrollTop']+=(_0x51d8a0['bottom']-_0x39519d['bottom'])/_0x8f3958);}function _0x39602e(_0xb94c95){return 0x64*(_0xb94c95['boost']||0x0)+(_0xb94c95['apply']?0xa:0x0)+(_0xb94c95['info']?0x5:0x0)+(_0xb94c95['type']?0x1:0x0);}function sortOptions(_0x577ca6,_0x19e04c){let _0x17b759=[],_0x175bfb=null,_0x27bd50=null,_0x3dd872=_0x4b54f6=>{_0x17b759['push'](_0x4b54f6);let {section:_0x13dfbb}=_0x4b54f6['completion'];if(_0x13dfbb){_0x175bfb||(_0x175bfb=[]);let _0xd4b7b4='string'==typeof _0x13dfbb?_0x13dfbb:_0x13dfbb['name'];_0x175bfb['some'](_0x5c0112=>_0x5c0112['name']==_0xd4b7b4)||_0x175bfb['push']('string'==typeof _0x13dfbb?{'name':_0xd4b7b4}:_0x13dfbb);}},_0x58e5c2=_0x19e04c['facet'](completionConfig);for(let _0x57195f of _0x577ca6)if(_0x57195f['hasResult']()){let _0x2fdad1=_0x57195f['result']['getMatch'];if(!0x1===_0x57195f['result']['filter']){for(let _0x270827 of _0x57195f['result']['options'])_0x3dd872(new Option(_0x270827,_0x57195f['source'],_0x2fdad1?_0x2fdad1(_0x270827):[],0x3b9aca00-_0x17b759['length']));}else{let _0x359959,_0x5868a2=_0x19e04c['sliceDoc'](_0x57195f['from'],_0x57195f['to']),_0x2e5aab=_0x58e5c2['filterStrict']?new StrictMatcher(_0x5868a2):new FuzzyMatcher(_0x5868a2);for(let _0x55507c of _0x57195f['result']['options'])if(_0x359959=_0x2e5aab['match'](_0x55507c['label'])){let _0x5c8dec=_0x55507c['displayLabel']?_0x2fdad1?_0x2fdad1(_0x55507c,_0x359959['matched']):[]:_0x359959['matched'],_0x5c3877=_0x359959['score']+(_0x55507c['boost']||0x0);if(_0x3dd872(new Option(_0x55507c,_0x57195f['source'],_0x5c8dec,_0x5c3877)),'object'==typeof _0x55507c['section']&&'dynamic'===_0x55507c['section']['rank']){let {name:_0x1ddf7a}=_0x55507c['section'];_0x27bd50||(_0x27bd50=Object['create'](null)),_0x27bd50[_0x1ddf7a]=Math['max'](_0x5c3877,_0x27bd50[_0x1ddf7a]||-0x3b9aca00);}}}}if(_0x175bfb){let _0x29d0c3=Object['create'](null),_0x10d7d5=0x0,_0x2b621a=(_0x45d004,_0x3c0a8f)=>('dynamic'===_0x45d004['rank']&&'dynamic'===_0x3c0a8f['rank']?_0x27bd50[_0x3c0a8f['name']]-_0x27bd50[_0x45d004['name']]:0x0)||('number'==typeof _0x45d004['rank']?_0x45d004['rank']:0x3b9aca00)-('number'==typeof _0x3c0a8f['rank']?_0x3c0a8f['rank']:0x3b9aca00)||(_0x45d004['name']<_0x3c0a8f['name']?-0x1:0x1);for(let _0xde3d02 of _0x175bfb['sort'](_0x2b621a))_0x10d7d5-=0x186a0,_0x29d0c3[_0xde3d02['name']]=_0x10d7d5;for(let _0x4788e1 of _0x17b759){let {section:_0x50c7ca}=_0x4788e1['completion'];_0x50c7ca&&(_0x4788e1['score']+=_0x29d0c3['string'==typeof _0x50c7ca?_0x50c7ca:_0x50c7ca['name']]);}}let _0x27c1af=[],_0x4c4814=null,_0x1b102c=_0x58e5c2['compareCompletions'];for(let _0x574407 of _0x17b759['sort']((_0x48c32b,_0x477a5d)=>_0x477a5d['score']-_0x48c32b['score']||_0x1b102c(_0x48c32b['completion'],_0x477a5d['completion']))){let _0x9e043c=_0x574407['completion'];!_0x4c4814||_0x4c4814['label']!=_0x9e043c['label']||_0x4c4814['detail']!=_0x9e043c['detail']||null!=_0x4c4814['type']&&null!=_0x9e043c['type']&&_0x4c4814['type']!=_0x9e043c['type']||_0x4c4814['apply']!=_0x9e043c['apply']||_0x4c4814['boost']!=_0x9e043c['boost']?_0x27c1af['push'](_0x574407):_0x39602e(_0x574407['completion'])>_0x39602e(_0x4c4814)&&(_0x27c1af[_0x27c1af['length']-0x1]=_0x574407),_0x4c4814=_0x574407['completion'];}return _0x27c1af;}class CompletionDialog{constructor(_0xe19a30,_0x42baba,_0x4104bd,_0x4bfba9,_0x17fe63,_0x98fa43){this['options']=_0xe19a30,this['attrs']=_0x42baba,this['tooltip']=_0x4104bd,this['timestamp']=_0x4bfba9,this['selected']=_0x17fe63,this['disabled']=_0x98fa43;}['setSelected'](_0x4bb170,_0x133166){return _0x4bb170==this['selected']||_0x4bb170>=this['options']['length']?this:new CompletionDialog(this['options'],makeAttrs(_0x133166,_0x4bb170),this['tooltip'],this['timestamp'],_0x4bb170,this['disabled']);}static['build'](_0x3c60e0,_0x3a1f87,_0x30530e,_0x4c4d35,_0x28a0f4,_0x10abac){if(_0x4c4d35&&!_0x10abac&&_0x3c60e0['some'](_0x4dfa94=>_0x4dfa94['isPending']))return _0x4c4d35['setDisabled']();let _0x36c610=sortOptions(_0x3c60e0,_0x3a1f87);if(!_0x36c610['length'])return _0x4c4d35&&_0x3c60e0['some'](_0x4aa8f0=>_0x4aa8f0['isPending'])?_0x4c4d35['setDisabled']():null;let _0x5518ba=_0x3a1f87['facet'](completionConfig)['selectOnOpen']?0x0:-0x1;if(_0x4c4d35&&_0x4c4d35['selected']!=_0x5518ba&&-0x1!=_0x4c4d35['selected']){let _0x31dc95=_0x4c4d35['options'][_0x4c4d35['selected']]['completion'];for(let _0x2b67e0=0x0;_0x2b67e0<_0x36c610['length'];_0x2b67e0++)if(_0x36c610[_0x2b67e0]['completion']==_0x31dc95){_0x5518ba=_0x2b67e0;break;}}return new CompletionDialog(_0x36c610,makeAttrs(_0x30530e,_0x5518ba),{'pos':_0x3c60e0['reduce']((_0x204980,_0x546ce5)=>_0x546ce5['hasResult']()?Math['min'](_0x204980,_0x546ce5['from']):_0x204980,0x5f5e100),'create':createTooltip,'above':_0x28a0f4['aboveCursor']},_0x4c4d35?_0x4c4d35['timestamp']:Date['now'](),_0x5518ba,!0x1);}['map'](_0x434407){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0x434407['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(_0x4276d1,_0x5b67c7,_0x29043a){this['active']=_0x4276d1,this['id']=_0x5b67c7,this['open']=_0x29043a;}static['start'](){return new CompletionState(_0x34bc22,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0x449e0c){let {state:_0x4c93aa}=_0x449e0c,_0x11780d=_0x4c93aa['facet'](completionConfig),_0x34e025=(_0x11780d['override']||_0x4c93aa['languageDataAt']('autocomplete',_0x3b653e(_0x4c93aa))['map'](_0x2fb498))['map'](_0x590547=>{let _0x35fb41=this['active']['find'](_0x4f7086=>_0x4f7086['source']==_0x590547)||new ActiveSource(_0x590547,this['active']['some'](_0x35f21a=>0x0!=_0x35f21a['state'])?0x1:0x0);return _0x35fb41['update'](_0x449e0c,_0x11780d);});_0x34e025['length']==this['active']['length']&&_0x34e025['every']((_0x2c0296,_0x464851)=>_0x2c0296==this['active'][_0x464851])&&(_0x34e025=this['active']);let _0x13875c=this['open'],_0x36e029=_0x449e0c['effects']['some'](_0x416037=>_0x416037['is'](setActiveEffect));_0x13875c&&_0x449e0c['docChanged']&&(_0x13875c=_0x13875c['map'](_0x449e0c['changes'])),_0x449e0c['selection']||_0x34e025['some'](_0x145b9a=>_0x145b9a['hasResult']()&&_0x449e0c['changes']['touchesRange'](_0x145b9a['from'],_0x145b9a['to']))||!sameResults(_0x34e025,this['active'])||_0x36e029?_0x13875c=CompletionDialog['build'](_0x34e025,_0x4c93aa,this['id'],_0x13875c,_0x11780d,_0x36e029):_0x13875c&&_0x13875c['disabled']&&!_0x34e025['some'](_0x515c61=>_0x515c61['isPending'])&&(_0x13875c=null),!_0x13875c&&_0x34e025['every'](_0x37e014=>!_0x37e014['isPending'])&&_0x34e025['some'](_0x200f8e=>_0x200f8e['hasResult']())&&(_0x34e025=_0x34e025['map'](_0x4e4b1e=>_0x4e4b1e['hasResult']()?new ActiveSource(_0x4e4b1e['source'],0x0):_0x4e4b1e));for(let _0x5b9949 of _0x449e0c['effects'])_0x5b9949['is'](setSelectedEffect)&&(_0x13875c=_0x13875c&&_0x13875c['setSelected'](_0x5b9949['value'],this['id']));return _0x34e025==this['active']&&_0x13875c==this['open']?this:new CompletionState(_0x34e025,this['id'],_0x13875c);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?baseAttrs:noAttrs;}}function sameResults(_0x196838,_0x16813d){if(_0x196838==_0x16813d)return!0x0;for(let _0x2de06c=0x0,_0x5821b5=0x0;;){for(;_0x2de06c<_0x196838['length']&&!_0x196838[_0x2de06c]['hasResult']();)_0x2de06c++;for(;_0x5821b5<_0x16813d['length']&&!_0x16813d[_0x5821b5]['hasResult']();)_0x5821b5++;let _0xb683e7=_0x2de06c==_0x196838['length'],_0x54851b=_0x5821b5==_0x16813d['length'];if(_0xb683e7||_0x54851b)return _0xb683e7==_0x54851b;if(_0x196838[_0x2de06c++]['result']!=_0x16813d[_0x5821b5++]['result'])return!0x1;}}const baseAttrs={'aria-autocomplete':'list'},noAttrs={};function makeAttrs(_0x1f1cb3,_0x4516b7){let _0x170320={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0x1f1cb3};return _0x4516b7>-0x1&&(_0x170320['aria-activedescendant']=_0x1f1cb3+'-'+_0x4516b7),_0x170320;}const _0x34bc22=[];function getUpdateType(_0x327ab1,_0x365641){if(_0x327ab1['isUserEvent']('input.complete')){let _0x5a36a7=_0x327ab1['annotation'](pickedCompletion);if(_0x5a36a7&&_0x365641['activateOnCompletion'](_0x5a36a7))return 0xc;}let _0x336192=_0x327ab1['isUserEvent']('input.type');return _0x336192&&_0x365641['activateOnTyping']?0x5:_0x336192?0x1:_0x327ab1['isUserEvent']('delete.backward')?0x2:_0x327ab1['selection']?0x8:_0x327ab1['docChanged']?0x10:0x0;}class ActiveSource{constructor(_0x163b8b,_0x56b9c8,_0x2936d3=!0x1){this['source']=_0x163b8b,this['state']=_0x56b9c8,this['explicit']=_0x2936d3;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x2f251d,_0x3dc8b6){let _0x5974e3=getUpdateType(_0x2f251d,_0x3dc8b6),_0x53a8cc=this;(0x8&_0x5974e3||0x10&_0x5974e3&&this['touches'](_0x2f251d))&&(_0x53a8cc=new ActiveSource(_0x53a8cc['source'],0x0)),0x4&_0x5974e3&&0x0==_0x53a8cc['state']&&(_0x53a8cc=new ActiveSource(this['source'],0x1)),_0x53a8cc=_0x53a8cc['updateFor'](_0x2f251d,_0x5974e3);for(let _0x3d4f4 of _0x2f251d['effects'])if(_0x3d4f4['is'](startCompletionEffect))_0x53a8cc=new ActiveSource(_0x53a8cc['source'],0x1,_0x3d4f4['value']);else{if(_0x3d4f4['is'](closeCompletionEffect))_0x53a8cc=new ActiveSource(_0x53a8cc['source'],0x0);else{if(_0x3d4f4['is'](setActiveEffect)){for(let _0x42b418 of _0x3d4f4['value'])_0x42b418['source']==_0x53a8cc['source']&&(_0x53a8cc=_0x42b418);}}}return _0x53a8cc;}['updateFor'](_0x55a103,_0x593bda){return this['map'](_0x55a103['changes']);}['map'](_0x521718){return this;}['touches'](_0x4e21eb){return _0x4e21eb['changes']['touchesRange'](_0x3b653e(_0x4e21eb['state']));}}class ActiveResult extends ActiveSource{constructor(_0xcdc8e,_0x3f2d62,_0x5e532f,_0x284f47,_0x4ad66f,_0x36b26c){super(_0xcdc8e,0x3,_0x3f2d62),this['limit']=_0x5e532f,this['result']=_0x284f47,this['from']=_0x4ad66f,this['to']=_0x36b26c;}['hasResult'](){return!0x0;}['updateFor'](_0x5463f1,_0x5ba98f){var _0x5307fb;if(!(0x3&_0x5ba98f))return this['map'](_0x5463f1['changes']);let _0x44bdd2=this['result'];_0x44bdd2['map']&&!_0x5463f1['changes']['empty']&&(_0x44bdd2=_0x44bdd2['map'](_0x44bdd2,_0x5463f1['changes']));let _0x21682b=_0x5463f1['changes']['mapPos'](this['from']),_0x5d8d2d=_0x5463f1['changes']['mapPos'](this['to'],0x1),_0x4c0978=_0x3b653e(_0x5463f1['state']);if(_0x4c0978>_0x5d8d2d||!_0x44bdd2||0x2&_0x5ba98f&&(_0x3b653e(_0x5463f1['startState'])==this['from']||_0x4c0978<this['limit']))return new ActiveSource(this['source'],0x4&_0x5ba98f?0x1:0x0);let _0x1a6c37=_0x5463f1['changes']['mapPos'](this['limit']);return _0xf5425e(_0x44bdd2['validFor'],_0x5463f1['state'],_0x21682b,_0x5d8d2d)?new ActiveResult(this['source'],this['explicit'],_0x1a6c37,_0x44bdd2,_0x21682b,_0x5d8d2d):_0x44bdd2['update']&&(_0x44bdd2=_0x44bdd2['update'](_0x44bdd2,_0x21682b,_0x5d8d2d,new CompletionContext(_0x5463f1['state'],_0x4c0978,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x1a6c37,_0x44bdd2,_0x44bdd2['from'],null!==(_0x5307fb=_0x44bdd2['to'])&&void 0x0!==_0x5307fb?_0x5307fb:_0x3b653e(_0x5463f1['state'])):new ActiveSource(this['source'],0x1,this['explicit']);}['map'](_0x1cc012){if(_0x1cc012['empty'])return this;return(this['result']['map']?this['result']['map'](this['result'],_0x1cc012):this['result'])?new ActiveResult(this['source'],this['explicit'],_0x1cc012['mapPos'](this['limit']),this['result'],_0x1cc012['mapPos'](this['from']),_0x1cc012['mapPos'](this['to'],0x1)):new ActiveSource(this['source'],0x0);}['touches'](_0x25682b){return _0x25682b['changes']['touchesRange'](this['from'],this['to']);}}function _0xf5425e(_0xaa978c,_0xa663fb,_0x26102b,_0x66af4e){if(!_0xaa978c)return!0x1;let _0x4479df=_0xa663fb['sliceDoc'](_0x26102b,_0x66af4e);return'function'==typeof _0xaa978c?_0xaa978c(_0x4479df,_0x26102b,_0x66af4e,_0xa663fb):_0x9b5275(_0xaa978c,!0x0)['test'](_0x4479df);}const setActiveEffect=StateEffect['define']({'map':(_0x2c4213,_0x1a5032)=>_0x2c4213['map'](_0x2b7236=>_0x2b7236['map'](_0x1a5032))}),setSelectedEffect=StateEffect['define'](),completionState=StateField['define']({'create':()=>CompletionState['start'](),'update':(_0x2348ee,_0x1b99f6)=>_0x2348ee['update'](_0x1b99f6),'provide':_0x4d77c0=>[showTooltip['from'](_0x4d77c0,_0xd27b7e=>_0xd27b7e['tooltip']),EditorView['contentAttributes']['from'](_0x4d77c0,_0x303f71=>_0x303f71['attrs'])]});function applyCompletion(_0x25b6fb,_0x3792dc){const _0x2ff476=_0x3792dc['completion']['apply']||_0x3792dc['completion']['label'];let _0x8499cb=_0x25b6fb['state']['field'](completionState)['active']['find'](_0x452f1d=>_0x452f1d['source']==_0x3792dc['source']);return _0x8499cb instanceof ActiveResult&&('string'==typeof _0x2ff476?_0x25b6fb['dispatch']({...insertCompletionText(_0x25b6fb['state'],_0x2ff476,_0x8499cb['from'],_0x8499cb['to']),'annotations':pickedCompletion['of'](_0x3792dc['completion'])}):_0x2ff476(_0x25b6fb,_0x3792dc['completion'],_0x8499cb['from'],_0x8499cb['to']),!0x0);}const createTooltip=completionTooltip(completionState,applyCompletion);function moveCompletionSelection(_0xaf076c,_0xf61505='option'){return _0x14e19f=>{let _0x37b910=_0x14e19f['state']['field'](completionState,!0x1);if(!_0x37b910||!_0x37b910['open']||_0x37b910['open']['disabled']||Date['now']()-_0x37b910['open']['timestamp']<_0x14e19f['state']['facet'](completionConfig)['interactionDelay'])return!0x1;let _0x23314e,_0x28bfbf=0x1;'page'==_0xf61505&&(_0x23314e=getTooltip(_0x14e19f,_0x37b910['open']['tooltip']))&&(_0x28bfbf=Math['max'](0x2,Math['floor'](_0x23314e['dom']['offsetHeight']/_0x23314e['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0x5ea3ce}=_0x37b910['open']['options'],_0xa2c753=_0x37b910['open']['selected']>-0x1?_0x37b910['open']['selected']+_0x28bfbf*(_0xaf076c?0x1:-0x1):_0xaf076c?0x0:_0x5ea3ce-0x1;return _0xa2c753<0x0?_0xa2c753='page'==_0xf61505?0x0:_0x5ea3ce-0x1:_0xa2c753>=_0x5ea3ce&&(_0xa2c753='page'==_0xf61505?_0x5ea3ce-0x1:0x0),_0x14e19f['dispatch']({'effects':setSelectedEffect['of'](_0xa2c753)}),!0x0;};}const acceptCompletion=_0x115115=>{let _0x253c73=_0x115115['state']['field'](completionState,!0x1);return!(_0x115115['state']['readOnly']||!_0x253c73||!_0x253c73['open']||_0x253c73['open']['selected']<0x0||_0x253c73['open']['disabled']||Date['now']()-_0x253c73['open']['timestamp']<_0x115115['state']['facet'](completionConfig)['interactionDelay'])&&applyCompletion(_0x115115,_0x253c73['open']['options'][_0x253c73['open']['selected']]);},startCompletion=_0xf89c2=>!!_0xf89c2['state']['field'](completionState,!0x1)&&(_0xf89c2['dispatch']({'effects':startCompletionEffect['of'](!0x0)}),!0x0),closeCompletion=_0x4592b4=>{let _0x133e57=_0x4592b4['state']['field'](completionState,!0x1);return!(!_0x133e57||!_0x133e57['active']['some'](_0x3932f9=>0x0!=_0x3932f9['state']))&&(_0x4592b4['dispatch']({'effects':closeCompletionEffect['of'](null)}),!0x0);};class _0x89a504{constructor(_0x5ad2fc,_0x4ebb49){this['active']=_0x5ad2fc,this['context']=_0x4ebb49,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}}const MaxUpdateCount=0x32,MinAbortTime=0x3e8,completionPlugin=_0x9d032b['fromClass'](class{constructor(_0x596a1d){this['view']=_0x596a1d,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x55a4bc of _0x596a1d['state']['field'](completionState)['active'])_0x55a4bc['isPending']&&this['startQuery'](_0x55a4bc);}['update'](_0x23c124){let _0x3dcdb1=_0x23c124['state']['field'](completionState),_0x193091=_0x23c124['state']['facet'](completionConfig);if(!_0x23c124['selectionSet']&&!_0x23c124['docChanged']&&_0x23c124['startState']['field'](completionState)==_0x3dcdb1)return;let _0x2391fa=_0x23c124['transactions']['some'](_0x2c7fbd=>{let _0x5479cc=getUpdateType(_0x2c7fbd,_0x193091);return 0x8&_0x5479cc||(_0x2c7fbd['selection']||_0x2c7fbd['docChanged'])&&!(0x3&_0x5479cc);});for(let _0xe9ed22=0x0;_0xe9ed22<this['running']['length'];_0xe9ed22++){let _0x52c1bc=this['running'][_0xe9ed22];if(_0x2391fa||_0x52c1bc['context']['abortOnDocChange']&&_0x23c124['docChanged']||_0x52c1bc['updates']['length']+_0x23c124['transactions']['length']>MaxUpdateCount&&Date['now']()-_0x52c1bc['time']>MinAbortTime){for(let _0x3593e7 of _0x52c1bc['context']['abortListeners'])try{_0x3593e7();}catch(_0x5bba0e){logException(this['view']['state'],_0x5bba0e);}_0x52c1bc['context']['abortListeners']=null,this['running']['splice'](_0xe9ed22--,0x1);}else _0x52c1bc['updates']['push'](..._0x23c124['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0x23c124['transactions']['some'](_0x12ea35=>_0x12ea35['effects']['some'](_0xab4a8=>_0xab4a8['is'](startCompletionEffect)))&&(this['pendingStart']=!0x0);let _0x563a7f=this['pendingStart']?0x32:_0x193091['activateOnTypingDelay'];if(this['debounceUpdate']=_0x3dcdb1['active']['some'](_0x24bc63=>_0x24bc63['isPending']&&!this['running']['some'](_0x48ae3c=>_0x48ae3c['active']['source']==_0x24bc63['source']))?setTimeout(()=>this['startUpdate'](),_0x563a7f):-0x1,0x0!=this['composing']){for(let _0x112a24 of _0x23c124['transactions'])_0x112a24['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0x112a24['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x8d3c1c}=this['view'],_0x19f08b=_0x8d3c1c['field'](completionState);for(let _0x7280da of _0x19f08b['active'])_0x7280da['isPending']&&!this['running']['some'](_0x37f14a=>_0x37f14a['active']['source']==_0x7280da['source'])&&this['startQuery'](_0x7280da);this['running']['length']&&_0x19f08b['open']&&_0x19f08b['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](completionConfig)['updateSyncTime']));}['startQuery'](_0x4154d6){let {state:_0x5a3014}=this['view'],_0x25fa83=_0x3b653e(_0x5a3014),_0x2a91c9=new CompletionContext(_0x5a3014,_0x25fa83,_0x4154d6['explicit'],this['view']),_0x118920=new _0x89a504(_0x4154d6,_0x2a91c9);this['running']['push'](_0x118920),Promise['resolve'](_0x4154d6['source'](_0x2a91c9))['then'](_0x1d5840=>{_0x118920['context']['aborted']||(_0x118920['done']=_0x1d5840||null,this['scheduleAccept']());},_0x490d94=>{this['view']['dispatch']({'effects':closeCompletionEffect['of'](null)}),logException(this['view']['state'],_0x490d94);});}['scheduleAccept'](){this['running']['every'](_0x1ba107=>void 0x0!==_0x1ba107['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](completionConfig)['updateSyncTime']));}['accept'](){var _0x30d7bd;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0x40b6d6=[],_0x5885ed=this['view']['state']['facet'](completionConfig),_0x1a6403=this['view']['state']['field'](completionState);for(let _0x389782=0x0;_0x389782<this['running']['length'];_0x389782++){let _0x1c6952=this['running'][_0x389782];if(void 0x0===_0x1c6952['done'])continue;if(this['running']['splice'](_0x389782--,0x1),_0x1c6952['done']){let _0x31b885=_0x3b653e(_0x1c6952['updates']['length']?_0x1c6952['updates'][0x0]['startState']:this['view']['state']),_0xe961ec=Math['min'](_0x31b885,_0x1c6952['done']['from']+(_0x1c6952['active']['explicit']?0x0:0x1)),_0xc584f0=new ActiveResult(_0x1c6952['active']['source'],_0x1c6952['active']['explicit'],_0xe961ec,_0x1c6952['done'],_0x1c6952['done']['from'],null!==(_0x30d7bd=_0x1c6952['done']['to'])&&void 0x0!==_0x30d7bd?_0x30d7bd:_0x31b885);for(let _0x506789 of _0x1c6952['updates'])_0xc584f0=_0xc584f0['update'](_0x506789,_0x5885ed);if(_0xc584f0['hasResult']()){_0x40b6d6['push'](_0xc584f0);continue;}}let _0x13d94a=_0x1a6403['active']['find'](_0x1dbdf4=>_0x1dbdf4['source']==_0x1c6952['active']['source']);if(_0x13d94a&&_0x13d94a['isPending']){if(null==_0x1c6952['done']){let _0x98d2bd=new ActiveSource(_0x1c6952['active']['source'],0x0);for(let _0x107683 of _0x1c6952['updates'])_0x98d2bd=_0x98d2bd['update'](_0x107683,_0x5885ed);_0x98d2bd['isPending']||_0x40b6d6['push'](_0x98d2bd);}else this['startQuery'](_0x13d94a);}}(_0x40b6d6['length']||_0x1a6403['open']&&_0x1a6403['open']['disabled'])&&this['view']['dispatch']({'effects':setActiveEffect['of'](_0x40b6d6)});}},{'eventHandlers':{'blur'(_0x17b6d6){let _0x20ac6b=this['view']['state']['field'](completionState,!0x1);if(_0x20ac6b&&_0x20ac6b['tooltip']&&this['view']['state']['facet'](completionConfig)['closeOnBlur']){let _0x23bac9=_0x20ac6b['open']&&getTooltip(this['view'],_0x20ac6b['open']['tooltip']);_0x23bac9&&_0x23bac9['dom']['contains'](_0x17b6d6['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;}}}),_0x51a448='object'==typeof navigator&&/Win/['test'](navigator['platform']),commitCharacters=_0x2d7c8c['highest'](EditorView['domEventHandlers']({'keydown'(_0x2d24c6,_0x6d782){let _0x1787d7=_0x6d782['state']['field'](completionState,!0x1);if(!_0x1787d7||!_0x1787d7['open']||_0x1787d7['open']['disabled']||_0x1787d7['open']['selected']<0x0||_0x2d24c6['key']['length']>0x1||_0x2d24c6['ctrlKey']&&(!_0x51a448||!_0x2d24c6['altKey'])||_0x2d24c6['metaKey'])return!0x1;let _0x492af4=_0x1787d7['open']['options'][_0x1787d7['open']['selected']],_0x5b5058=_0x1787d7['active']['find'](_0x261f9f=>_0x261f9f['source']==_0x492af4['source']),_0x3fae7a=_0x492af4['completion']['commitCharacters']||_0x5b5058['result']['commitCharacters'];return _0x3fae7a&&_0x3fae7a['indexOf'](_0x2d24c6['key'])>-0x1&&applyCompletion(_0x6d782,_0x492af4),!0x1;}})),_0x3c26cc=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 _0x36e52b{constructor(_0x1e3b31,_0x3b4ca1,_0x4c2156,_0x41b618){this['field']=_0x1e3b31,this['line']=_0x3b4ca1,this['from']=_0x4c2156,this['to']=_0x41b618;}}class _0x3a6205{constructor(_0x537bf9,_0x46b9f4,_0x4fcb10){this['field']=_0x537bf9,this['from']=_0x46b9f4,this['to']=_0x4fcb10;}['map'](_0x4ee8af){let _0x41a776=_0x4ee8af['mapPos'](this['from'],-0x1,_0x10aa7f['TrackDel']),_0x3b2738=_0x4ee8af['mapPos'](this['to'],0x1,_0x10aa7f['TrackDel']);return null==_0x41a776||null==_0x3b2738?null:new _0x3a6205(this['field'],_0x41a776,_0x3b2738);}}class Snippet{constructor(_0x30c586,_0x28ffe2){this['lines']=_0x30c586,this['fieldPositions']=_0x28ffe2;}['instantiate'](_0x4b7da4,_0x106772){let _0x437742=[],_0x267b66=[_0x106772],_0x42e47a=_0x4b7da4['doc']['lineAt'](_0x106772),_0x2f2d48=/^\s*/['exec'](_0x42e47a['text'])[0x0];for(let _0x1ec5a1 of this['lines']){if(_0x437742['length']){let _0x599945=_0x2f2d48,_0x5568ad=/^\t*/['exec'](_0x1ec5a1)[0x0]['length'];for(let _0x5a1cb2=0x0;_0x5a1cb2<_0x5568ad;_0x5a1cb2++)_0x599945+=_0x4b7da4['facet'](indentUnit);_0x267b66['push'](_0x106772+_0x599945['length']-_0x5568ad),_0x1ec5a1=_0x599945+_0x1ec5a1['slice'](_0x5568ad);}_0x437742['push'](_0x1ec5a1),_0x106772+=_0x1ec5a1['length']+0x1;}let _0x54fde0=this['fieldPositions']['map'](_0x5994ec=>new _0x3a6205(_0x5994ec['field'],_0x267b66[_0x5994ec['line']]+_0x5994ec['from'],_0x267b66[_0x5994ec['line']]+_0x5994ec['to']));return{'text':_0x437742,'ranges':_0x54fde0};}static['parse'](_0x305790){let _0xfec763,_0x457000=[],_0x5db271=[],_0x5fdad1=[];for(let _0x13713e of _0x305790['split'](/\r\n?|\n/)){for(;_0xfec763=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0x13713e);){let _0x58413f=_0xfec763[0x1]?+_0xfec763[0x1]:null,_0x2b75ed=_0xfec763[0x2]||_0xfec763[0x3]||'',_0x374ef9=-0x1,_0x41be9a=_0x2b75ed['replace'](/\\[{}]/g,_0x18a005=>_0x18a005[0x1]);for(let _0x20aa1f=0x0;_0x20aa1f<_0x457000['length'];_0x20aa1f++)(null!=_0x58413f?_0x457000[_0x20aa1f]['seq']==_0x58413f:_0x41be9a&&_0x457000[_0x20aa1f]['name']==_0x41be9a)&&(_0x374ef9=_0x20aa1f);if(_0x374ef9<0x0){let _0x29fabe=0x0;for(;_0x29fabe<_0x457000['length']&&(null==_0x58413f||null!=_0x457000[_0x29fabe]['seq']&&_0x457000[_0x29fabe]['seq']<_0x58413f);)_0x29fabe++;_0x457000['splice'](_0x29fabe,0x0,{'seq':_0x58413f,'name':_0x41be9a}),_0x374ef9=_0x29fabe;for(let _0x552d8f of _0x5fdad1)_0x552d8f['field']>=_0x374ef9&&_0x552d8f['field']++;}for(let _0x82edf5 of _0x5fdad1)if(_0x82edf5['line']==_0x5db271['length']&&_0x82edf5['from']>_0xfec763['index']){let _0x364863=_0xfec763[0x2]?0x3+(_0xfec763[0x1]||'')['length']:0x2;_0x82edf5['from']-=_0x364863,_0x82edf5['to']-=_0x364863;}_0x5fdad1['push'](new _0x36e52b(_0x374ef9,_0x5db271['length'],_0xfec763['index'],_0xfec763['index']+_0x41be9a['length'])),_0x13713e=_0x13713e['slice'](0x0,_0xfec763['index'])+_0x2b75ed+_0x13713e['slice'](_0xfec763['index']+_0xfec763[0x0]['length']);}_0x13713e=_0x13713e['replace'](/\\([{}])/g,(_0x287677,_0x11dbab,_0x954023)=>{for(let _0x2858a2 of _0x5fdad1)_0x2858a2['line']==_0x5db271['length']&&_0x2858a2['from']>_0x954023&&(_0x2858a2['from']--,_0x2858a2['to']--);return _0x11dbab;}),_0x5db271['push'](_0x13713e);}return new Snippet(_0x5db271,_0x5fdad1);}}let _0x3aa237=Decoration['widget']({'widget':new class extends WidgetType{['toDOM'](){let _0x21eae3=document['createElement']('span');return _0x21eae3['className']='cm-snippetFieldPosition',_0x21eae3;}['ignoreEvent'](){return!0x1;}}()}),_0x4dabde=Decoration['mark']({'class':'cm-snippetField'});class ActiveSnippet{constructor(_0x662b06,_0x591f77){this['ranges']=_0x662b06,this['active']=_0x591f77,this['deco']=Decoration['set'](_0x662b06['map'](_0x20579b=>(_0x20579b['from']==_0x20579b['to']?_0x3aa237:_0x4dabde)['range'](_0x20579b['from'],_0x20579b['to'])),!0x0);}['map'](_0x2a84a2){let _0x63c2dc=[];for(let _0x19c7a4 of this['ranges']){let _0x21fbf0=_0x19c7a4['map'](_0x2a84a2);if(!_0x21fbf0)return null;_0x63c2dc['push'](_0x21fbf0);}return new ActiveSnippet(_0x63c2dc,this['active']);}['selectionInsideField'](_0x45949a){return _0x45949a['ranges']['every'](_0x1de608=>this['ranges']['some'](_0x39fa90=>_0x39fa90['field']==this['active']&&_0x39fa90['from']<=_0x1de608['from']&&_0x39fa90['to']>=_0x1de608['to']));}}const setActive=StateEffect['define']({'map':(_0x38d46f,_0x150fce)=>_0x38d46f&&_0x38d46f['map'](_0x150fce)}),_0x24f600=StateEffect['define'](),snippetState=StateField['define']({'create':()=>null,'update'(_0x2454f6,_0x1981db){for(let _0x4506b6 of _0x1981db['effects']){if(_0x4506b6['is'](setActive))return _0x4506b6['value'];if(_0x4506b6['is'](_0x24f600)&&_0x2454f6)return new ActiveSnippet(_0x2454f6['ranges'],_0x4506b6['value']);}return _0x2454f6&&_0x1981db['docChanged']&&(_0x2454f6=_0x2454f6['map'](_0x1981db['changes'])),_0x2454f6&&_0x1981db['selection']&&!_0x2454f6['selectionInsideField'](_0x1981db['selection'])&&(_0x2454f6=null),_0x2454f6;},'provide':_0x4a76ea=>EditorView['decorations']['from'](_0x4a76ea,_0x344f00=>_0x344f00?_0x344f00['deco']:Decoration['none'])});function fieldSelection(_0x1853e1,_0x31f55f){return EditorSelection['create'](_0x1853e1['filter'](_0x22d282=>_0x22d282['field']==_0x31f55f)['map'](_0x185cc7=>EditorSelection['range'](_0x185cc7['from'],_0x185cc7['to'])));}function snippet(_0x25d8ee){let _0x8a8d6e=Snippet['parse'](_0x25d8ee);return(_0x2c000b,_0x2bf1f1,_0x15cd0e,_0x3c3d6a)=>{let {text:_0x5ee914,ranges:_0x1bcb85}=_0x8a8d6e['instantiate'](_0x2c000b['state'],_0x15cd0e),{main:_0x248494}=_0x2c000b['state']['selection'],_0x27e9d8={'changes':{'from':_0x15cd0e,'to':_0x3c3d6a==_0x248494['from']?_0x248494['to']:_0x3c3d6a,'insert':Text['of'](_0x5ee914)},'scrollIntoView':!0x0,'annotations':_0x2bf1f1?[pickedCompletion['of'](_0x2bf1f1),Transaction['userEvent']['of']('input.complete')]:void 0x0};if(_0x1bcb85['length']&&(_0x27e9d8['selection']=fieldSelection(_0x1bcb85,0x0)),_0x1bcb85['some'](_0x4fbd6f=>_0x4fbd6f['field']>0x0)){let _0x570b1a=new ActiveSnippet(_0x1bcb85,0x0),_0x488725=_0x27e9d8['effects']=[setActive['of'](_0x570b1a)];void 0x0===_0x2c000b['state']['field'](snippetState,!0x1)&&_0x488725['push'](StateEffect['appendConfig']['of']([snippetState,addSnippetKeymap,snippetPointerHandler,_0x3c26cc]));}_0x2c000b['dispatch'](_0x2c000b['state']['update'](_0x27e9d8));};}function _0x1e9bf2(_0x5dc0a1){return({state:_0x26ce4c,dispatch:_0x4f44c7})=>{let _0x4ca913=_0x26ce4c['field'](snippetState,!0x1);if(!_0x4ca913||_0x5dc0a1<0x0&&0x0==_0x4ca913['active'])return!0x1;let _0x4c5f01=_0x4ca913['active']+_0x5dc0a1,_0x3eb539=_0x5dc0a1>0x0&&!_0x4ca913['ranges']['some'](_0xd9974e=>_0xd9974e['field']==_0x4c5f01+_0x5dc0a1);return _0x4f44c7(_0x26ce4c['update']({'selection':fieldSelection(_0x4ca913['ranges'],_0x4c5f01),'effects':setActive['of'](_0x3eb539?null:new ActiveSnippet(_0x4ca913['ranges'],_0x4c5f01)),'scrollIntoView':!0x0})),!0x0;};}const clearSnippet=({state:_0x144916,dispatch:_0x28d909})=>!!_0x144916['field'](snippetState,!0x1)&&(_0x28d909(_0x144916['update']({'effects':setActive['of'](null)})),!0x0),nextSnippetField=_0x1e9bf2(0x1),prevSnippetField=_0x1e9bf2(-0x1),defaultSnippetKeymap=[{'key':'Tab','run':nextSnippetField,'shift':prevSnippetField},{'key':'Escape','run':clearSnippet}],snippetKeymap=Facet['define']({'combine':_0x33bdb1=>_0x33bdb1['length']?_0x33bdb1[0x0]:defaultSnippetKeymap}),addSnippetKeymap=_0x2d7c8c['highest'](_0x43ce48['compute']([snippetKeymap],_0x4bb10b=>_0x4bb10b['facet'](snippetKeymap)));function snippetCompletion(_0x3b9167,_0xdaa833){return{..._0xdaa833,'apply':snippet(_0x3b9167)};}const snippetPointerHandler=EditorView['domEventHandlers']({'mousedown'(_0x1070e4,_0x4547d7){let _0x2bb004,_0x3f8175=_0x4547d7['state']['field'](snippetState,!0x1);if(!_0x3f8175||null==(_0x2bb004=_0x4547d7['posAtCoords']({'x':_0x1070e4['clientX'],'y':_0x1070e4['clientY']})))return!0x1;let _0x245094=_0x3f8175['ranges']['find'](_0x52aea5=>_0x52aea5['from']<=_0x2bb004&&_0x52aea5['to']>=_0x2bb004);return!(!_0x245094||_0x245094['field']==_0x3f8175['active'])&&(_0x4547d7['dispatch']({'selection':fieldSelection(_0x3f8175['ranges'],_0x245094['field']),'effects':setActive['of'](_0x3f8175['ranges']['some'](_0x10c6fb=>_0x10c6fb['field']>_0x245094['field'])?new ActiveSnippet(_0x3f8175['ranges'],_0x245094['field']):null),'scrollIntoView':!0x0}),!0x0);}}),defaults={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},closeBracketEffect=StateEffect['define']({'map'(_0x12c0ef,_0x256c09){let _0x50cb86=_0x256c09['mapPos'](_0x12c0ef,-0x1,_0x10aa7f['TrackAfter']);return null==_0x50cb86?void 0x0:_0x50cb86;}}),closedBracket=new class extends _0x246d1a{}();closedBracket['startSide']=0x1,closedBracket['endSide']=-0x1;const bracketState=StateField['define']({'create':()=>RangeSet['empty'],'update'(_0xb17300,_0x162253){if(_0xb17300=_0xb17300['map'](_0x162253['changes']),_0x162253['selection']){let _0x2a6bd6=_0x162253['state']['doc']['lineAt'](_0x162253['selection']['main']['head']);_0xb17300=_0xb17300['update']({'filter':_0x3093ad=>_0x3093ad>=_0x2a6bd6['from']&&_0x3093ad<=_0x2a6bd6['to']});}for(let _0x5b6689 of _0x162253['effects'])_0x5b6689['is'](closeBracketEffect)&&(_0xb17300=_0xb17300['update']({'add':[closedBracket['range'](_0x5b6689['value'],_0x5b6689['value']+0x1)]}));return _0xb17300;}});function closeBrackets(){return[inputHandler,bracketState];}const _0x2af707='()[]{}<>«»»«［］｛｝';function _0x1086f2(_0x1f4509){for(let _0x36b254=0x0;_0x36b254<_0x2af707['length'];_0x36b254+=0x2)if(_0x2af707['charCodeAt'](_0x36b254)==_0x1f4509)return _0x2af707['charAt'](_0x36b254+0x1);return fromCodePoint(_0x1f4509<0x80?_0x1f4509:_0x1f4509+0x1);}function _0x26f67d(_0xa88a38,_0x3c123a){return _0xa88a38['languageDataAt']('closeBrackets',_0x3c123a)[0x0]||defaults;}const _0x41568f='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),inputHandler=EditorView['inputHandler']['of']((_0x31c3c3,_0x296bfd,_0x3cbb68,_0x1c9c10)=>{if((_0x41568f?_0x31c3c3['composing']:_0x31c3c3['compositionStarted'])||_0x31c3c3['state']['readOnly'])return!0x1;let _0xda854c=_0x31c3c3['state']['selection']['main'];if(_0x1c9c10['length']>0x2||0x2==_0x1c9c10['length']&&0x1==codePointSize(codePointAt(_0x1c9c10,0x0))||_0x296bfd!=_0xda854c['from']||_0x3cbb68!=_0xda854c['to'])return!0x1;let _0x2a72a8=insertBracket(_0x31c3c3['state'],_0x1c9c10);return!!_0x2a72a8&&(_0x31c3c3['dispatch'](_0x2a72a8),!0x0);}),deleteBracketPair=({state:_0x1e823c,dispatch:_0x415d64})=>{if(_0x1e823c['readOnly'])return!0x1;let _0x4008d1=_0x26f67d(_0x1e823c,_0x1e823c['selection']['main']['head'])['brackets']||defaults['brackets'],_0x183219=null,_0x2ad714=_0x1e823c['changeByRange'](_0x41332a=>{if(_0x41332a['empty']){let _0x4ea1d4=_0x552472(_0x1e823c['doc'],_0x41332a['head']);for(let _0x43f167 of _0x4008d1)if(_0x43f167==_0x4ea1d4&&nextChar(_0x1e823c['doc'],_0x41332a['head'])==_0x1086f2(codePointAt(_0x43f167,0x0)))return{'changes':{'from':_0x41332a['head']-_0x43f167['length'],'to':_0x41332a['head']+_0x43f167['length']},'range':EditorSelection['cursor'](_0x41332a['head']-_0x43f167['length'])};}return{'range':_0x183219=_0x41332a};});return _0x183219||_0x415d64(_0x1e823c['update'](_0x2ad714,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x183219;},closeBracketsKeymap=[{'key':'Backspace','run':deleteBracketPair}];function insertBracket(_0x38e740,_0x1e12e2){let _0x131876=_0x26f67d(_0x38e740,_0x38e740['selection']['main']['head']),_0x6e4b36=_0x131876['brackets']||defaults['brackets'];for(let _0x49af65 of _0x6e4b36){let _0xa240bc=_0x1086f2(codePointAt(_0x49af65,0x0));if(_0x1e12e2==_0x49af65)return _0xa240bc==_0x49af65?_0x295bd8(_0x38e740,_0x49af65,_0x6e4b36['indexOf'](_0x49af65+_0x49af65+_0x49af65)>-0x1,_0x131876):_0x2ccb48(_0x38e740,_0x49af65,_0xa240bc,_0x131876['before']||defaults['before']);if(_0x1e12e2==_0xa240bc&&closedBracketAt(_0x38e740,_0x38e740['selection']['main']['from']))return _0x2445e2(_0x38e740,_0x49af65,_0xa240bc);}return null;}function closedBracketAt(_0x2bb8bf,_0x5d25a7){let _0x1719ea=!0x1;return _0x2bb8bf['field'](bracketState)['between'](0x0,_0x2bb8bf['doc']['length'],_0x3f96fc=>{_0x3f96fc==_0x5d25a7&&(_0x1719ea=!0x0);}),_0x1719ea;}function nextChar(_0x5f2302,_0x1d93e9){let _0x3c9918=_0x5f2302['sliceString'](_0x1d93e9,_0x1d93e9+0x2);return _0x3c9918['slice'](0x0,codePointSize(codePointAt(_0x3c9918,0x0)));}function _0x552472(_0x312932,_0x45eef1){let _0x1dcac5=_0x312932['sliceString'](_0x45eef1-0x2,_0x45eef1);return codePointSize(codePointAt(_0x1dcac5,0x0))==_0x1dcac5['length']?_0x1dcac5:_0x1dcac5['slice'](0x1);}function _0x2ccb48(_0x3ad595,_0x1b1366,_0x259f11,_0x15f4f2){let _0x5fe752=null,_0x29cb29=_0x3ad595['changeByRange'](_0x576b8c=>{if(!_0x576b8c['empty'])return{'changes':[{'insert':_0x1b1366,'from':_0x576b8c['from']},{'insert':_0x259f11,'from':_0x576b8c['to']}],'effects':closeBracketEffect['of'](_0x576b8c['to']+_0x1b1366['length']),'range':EditorSelection['range'](_0x576b8c['anchor']+_0x1b1366['length'],_0x576b8c['head']+_0x1b1366['length'])};let _0x1878e4=nextChar(_0x3ad595['doc'],_0x576b8c['head']);return!_0x1878e4||/\s/['test'](_0x1878e4)||_0x15f4f2['indexOf'](_0x1878e4)>-0x1?{'changes':{'insert':_0x1b1366+_0x259f11,'from':_0x576b8c['head']},'effects':closeBracketEffect['of'](_0x576b8c['head']+_0x1b1366['length']),'range':EditorSelection['cursor'](_0x576b8c['head']+_0x1b1366['length'])}:{'range':_0x5fe752=_0x576b8c};});return _0x5fe752?null:_0x3ad595['update'](_0x29cb29,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x2445e2(_0x2b9324,_0x578dd6,_0x52a093){let _0x110fe4=null,_0x28ad0c=_0x2b9324['changeByRange'](_0xa8e5ca=>_0xa8e5ca['empty']&&nextChar(_0x2b9324['doc'],_0xa8e5ca['head'])==_0x52a093?{'changes':{'from':_0xa8e5ca['head'],'to':_0xa8e5ca['head']+_0x52a093['length'],'insert':_0x52a093},'range':EditorSelection['cursor'](_0xa8e5ca['head']+_0x52a093['length'])}:_0x110fe4={'range':_0xa8e5ca});return _0x110fe4?null:_0x2b9324['update'](_0x28ad0c,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x295bd8(_0xd9f03b,_0x41acb8,_0x32dde7,_0x404499){let _0x326c3f=_0x404499['stringPrefixes']||defaults['stringPrefixes'],_0x16e188=null,_0xdbbfb5=_0xd9f03b['changeByRange'](_0x670cf5=>{if(!_0x670cf5['empty'])return{'changes':[{'insert':_0x41acb8,'from':_0x670cf5['from']},{'insert':_0x41acb8,'from':_0x670cf5['to']}],'effects':closeBracketEffect['of'](_0x670cf5['to']+_0x41acb8['length']),'range':EditorSelection['range'](_0x670cf5['anchor']+_0x41acb8['length'],_0x670cf5['head']+_0x41acb8['length'])};let _0xd64c32,_0x3146c1=_0x670cf5['head'],_0x217013=nextChar(_0xd9f03b['doc'],_0x3146c1);if(_0x217013==_0x41acb8){if(nodeStart(_0xd9f03b,_0x3146c1))return{'changes':{'insert':_0x41acb8+_0x41acb8,'from':_0x3146c1},'effects':closeBracketEffect['of'](_0x3146c1+_0x41acb8['length']),'range':EditorSelection['cursor'](_0x3146c1+_0x41acb8['length'])};if(closedBracketAt(_0xd9f03b,_0x3146c1)){let _0x167a8e=_0x32dde7&&_0xd9f03b['sliceDoc'](_0x3146c1,_0x3146c1+0x3*_0x41acb8['length'])==_0x41acb8+_0x41acb8+_0x41acb8?_0x41acb8+_0x41acb8+_0x41acb8:_0x41acb8;return{'changes':{'from':_0x3146c1,'to':_0x3146c1+_0x167a8e['length'],'insert':_0x167a8e},'range':EditorSelection['cursor'](_0x3146c1+_0x167a8e['length'])};}}else{if(_0x32dde7&&_0xd9f03b['sliceDoc'](_0x3146c1-0x2*_0x41acb8['length'],_0x3146c1)==_0x41acb8+_0x41acb8&&(_0xd64c32=canStartStringAt(_0xd9f03b,_0x3146c1-0x2*_0x41acb8['length'],_0x326c3f))>-0x1&&nodeStart(_0xd9f03b,_0xd64c32))return{'changes':{'insert':_0x41acb8+_0x41acb8+_0x41acb8+_0x41acb8,'from':_0x3146c1},'effects':closeBracketEffect['of'](_0x3146c1+_0x41acb8['length']),'range':EditorSelection['cursor'](_0x3146c1+_0x41acb8['length'])};if(_0xd9f03b['charCategorizer'](_0x3146c1)(_0x217013)!=CharCategory['Word']&&canStartStringAt(_0xd9f03b,_0x3146c1,_0x326c3f)>-0x1&&!probablyInString(_0xd9f03b,_0x3146c1,_0x41acb8,_0x326c3f))return{'changes':{'insert':_0x41acb8+_0x41acb8,'from':_0x3146c1},'effects':closeBracketEffect['of'](_0x3146c1+_0x41acb8['length']),'range':EditorSelection['cursor'](_0x3146c1+_0x41acb8['length'])};}return{'range':_0x16e188=_0x670cf5};});return _0x16e188?null:_0xd9f03b['update'](_0xdbbfb5,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function nodeStart(_0x3af180,_0x523d81){let _0x3271d6=syntaxTree(_0x3af180)['resolveInner'](_0x523d81+0x1);return _0x3271d6['parent']&&_0x3271d6['from']==_0x523d81;}function probablyInString(_0x1a742b,_0x591dd8,_0x27007f,_0x1a85a9){let _0x31b15f=syntaxTree(_0x1a742b)['resolveInner'](_0x591dd8,-0x1),_0x37727d=_0x1a85a9['reduce']((_0x2c7209,_0x79d39c)=>Math['max'](_0x2c7209,_0x79d39c['length']),0x0);for(let _0x2508fc=0x0;_0x2508fc<0x5;_0x2508fc++){let _0x38a2de=_0x1a742b['sliceDoc'](_0x31b15f['from'],Math['min'](_0x31b15f['to'],_0x31b15f['from']+_0x27007f['length']+_0x37727d)),_0x3d2b22=_0x38a2de['indexOf'](_0x27007f);if(!_0x3d2b22||_0x3d2b22>-0x1&&_0x1a85a9['indexOf'](_0x38a2de['slice'](0x0,_0x3d2b22))>-0x1){let _0x1bc5ea=_0x31b15f['firstChild'];for(;_0x1bc5ea&&_0x1bc5ea['from']==_0x31b15f['from']&&_0x1bc5ea['to']-_0x1bc5ea['from']>_0x27007f['length']+_0x3d2b22;){if(_0x1a742b['sliceDoc'](_0x1bc5ea['to']-_0x27007f['length'],_0x1bc5ea['to'])==_0x27007f)return!0x1;_0x1bc5ea=_0x1bc5ea['firstChild'];}return!0x0;}let _0x4614a5=_0x31b15f['to']==_0x591dd8&&_0x31b15f['parent'];if(!_0x4614a5)break;_0x31b15f=_0x4614a5;}return!0x1;}function canStartStringAt(_0x5dec16,_0x43c133,_0x525e84){let _0x5e79da=_0x5dec16['charCategorizer'](_0x43c133);if(_0x5e79da(_0x5dec16['sliceDoc'](_0x43c133-0x1,_0x43c133))!=CharCategory['Word'])return _0x43c133;for(let _0x50aa86 of _0x525e84){let _0x22932e=_0x43c133-_0x50aa86['length'];if(_0x5dec16['sliceDoc'](_0x22932e,_0x43c133)==_0x50aa86&&_0x5e79da(_0x5dec16['sliceDoc'](_0x22932e-0x1,_0x22932e))!=CharCategory['Word'])return _0x22932e;}return-0x1;}function autocompletion(_0x2669aa={}){return[commitCharacters,completionState,completionConfig['of'](_0x2669aa),completionPlugin,completionKeymapExt,_0x3c26cc];}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=_0x2d7c8c['highest'](_0x43ce48['computeN']([completionConfig],_0x525609=>_0x525609['facet'](completionConfig)['defaultKeymap']?[completionKeymap]:[]));class Stack{constructor(_0xbd510,_0x393f3e,_0x5a1050,_0x28277e,_0x24a5c0,_0x977fe7,_0x360926,_0x2707f3,_0x32e703,_0x4c6d3e=0x0,_0x2a2cd4){this['p']=_0xbd510,this['stack']=_0x393f3e,this['state']=_0x5a1050,this['reducePos']=_0x28277e,this['pos']=_0x24a5c0,this['score']=_0x977fe7,this['buffer']=_0x360926,this['bufferBase']=_0x2707f3,this['curContext']=_0x32e703,this['lookAhead']=_0x4c6d3e,this['parent']=_0x2a2cd4;}['toString'](){return'['+this['stack']['filter']((_0x217c14,_0x2e7072)=>_0x2e7072%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x521270,_0x38ab7f,_0x452cb2=0x0){let _0x3d36d4=_0x521270['parser']['context'];return new Stack(_0x521270,[],_0x38ab7f,_0x452cb2,_0x452cb2,0x0,[],0x0,_0x3d36d4?new StackContext(_0x3d36d4,_0x3d36d4['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x4cd028,_0x447c70){this['stack']['push'](this['state'],_0x447c70,this['bufferBase']+this['buffer']['length']),this['state']=_0x4cd028;}['reduce'](_0x5d1a6b){var _0xc8a124;let _0x5f1bbe=_0x5d1a6b>>0x13,_0x41049a=0xffff&_0x5d1a6b,{parser:_0x39bb27}=this['p'],_0x29fdf2=this['reducePos']<this['pos']-0x19;_0x29fdf2&&this['setLookAhead'](this['pos']);let _0x1366c8=_0x39bb27['dynamicPrecedence'](_0x41049a);if(_0x1366c8&&(this['score']+=_0x1366c8),0x0==_0x5f1bbe)return this['pushState'](_0x39bb27['getGoto'](this['state'],_0x41049a,!0x0),this['reducePos']),_0x41049a<_0x39bb27['minRepeatTerm']&&this['storeNode'](_0x41049a,this['reducePos'],this['reducePos'],_0x29fdf2?0x8:0x4,!0x0),void this['reduceContext'](_0x41049a,this['reducePos']);let _0x51462f=this['stack']['length']-0x3*(_0x5f1bbe-0x1)-(0x40000&_0x5d1a6b?0x6:0x0),_0x4ae0ac=_0x51462f?this['stack'][_0x51462f-0x2]:this['p']['ranges'][0x0]['from'],_0x2b1a7f=this['reducePos']-_0x4ae0ac;_0x2b1a7f>=0x7d0&&!(null===(_0xc8a124=this['p']['parser']['nodeSet']['types'][_0x41049a])||void 0x0===_0xc8a124?void 0x0:_0xc8a124['isAnonymous'])&&(_0x4ae0ac==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x2b1a7f):this['p']['lastBigReductionSize']<_0x2b1a7f&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x4ae0ac,this['p']['lastBigReductionSize']=_0x2b1a7f));let _0x1bd8fa=_0x51462f?this['stack'][_0x51462f-0x1]:0x0,_0x57e4b5=this['bufferBase']+this['buffer']['length']-_0x1bd8fa;if(_0x41049a<_0x39bb27['minRepeatTerm']||0x20000&_0x5d1a6b){let _0x97d0cd=_0x39bb27['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0x41049a,_0x4ae0ac,_0x97d0cd,_0x57e4b5+0x4,!0x0);}if(0x40000&_0x5d1a6b)this['state']=this['stack'][_0x51462f];else{let _0x166c77=this['stack'][_0x51462f-0x3];this['state']=_0x39bb27['getGoto'](_0x166c77,_0x41049a,!0x0);}for(;this['stack']['length']>_0x51462f;)this['stack']['pop']();this['reduceContext'](_0x41049a,_0x4ae0ac);}['storeNode'](_0x58c4dd,_0x3d3ec7,_0x49b593,_0x540436=0x4,_0x34caa5=!0x1){if(0x0==_0x58c4dd&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x1461c8=this,_0x5b78d5=this['buffer']['length'];if(0x0==_0x5b78d5&&_0x1461c8['parent']&&(_0x5b78d5=_0x1461c8['bufferBase']-_0x1461c8['parent']['bufferBase'],_0x1461c8=_0x1461c8['parent']),_0x5b78d5>0x0&&0x0==_0x1461c8['buffer'][_0x5b78d5-0x4]&&_0x1461c8['buffer'][_0x5b78d5-0x1]>-0x1){if(_0x3d3ec7==_0x49b593)return;if(_0x1461c8['buffer'][_0x5b78d5-0x2]>=_0x3d3ec7)return void(_0x1461c8['buffer'][_0x5b78d5-0x2]=_0x49b593);}}if(_0x34caa5&&this['pos']!=_0x49b593){let _0x17a598=this['buffer']['length'];if(_0x17a598>0x0&&(0x0!=this['buffer'][_0x17a598-0x4]||this['buffer'][_0x17a598-0x1]<0x0)){let _0x10d653=!0x1;for(let _0x4c718b=_0x17a598;_0x4c718b>0x0&&this['buffer'][_0x4c718b-0x2]>_0x49b593;_0x4c718b-=0x4)if(this['buffer'][_0x4c718b-0x1]>=0x0){_0x10d653=!0x0;break;}if(_0x10d653){for(;_0x17a598>0x0&&this['buffer'][_0x17a598-0x2]>_0x49b593;)this['buffer'][_0x17a598]=this['buffer'][_0x17a598-0x4],this['buffer'][_0x17a598+0x1]=this['buffer'][_0x17a598-0x3],this['buffer'][_0x17a598+0x2]=this['buffer'][_0x17a598-0x2],this['buffer'][_0x17a598+0x3]=this['buffer'][_0x17a598-0x1],_0x17a598-=0x4,_0x540436>0x4&&(_0x540436-=0x4);}}this['buffer'][_0x17a598]=_0x58c4dd,this['buffer'][_0x17a598+0x1]=_0x3d3ec7,this['buffer'][_0x17a598+0x2]=_0x49b593,this['buffer'][_0x17a598+0x3]=_0x540436;}else this['buffer']['push'](_0x58c4dd,_0x3d3ec7,_0x49b593,_0x540436);}['shift'](_0x281dab,_0x4317da,_0x358bf1,_0x4b3660){if(0x20000&_0x281dab)this['pushState'](0xffff&_0x281dab,this['pos']);else{if(0x40000&_0x281dab)this['pos']=_0x4b3660,this['shiftContext'](_0x4317da,_0x358bf1),_0x4317da<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0x4317da,_0x358bf1,_0x4b3660,0x4);else{let _0x28de23=_0x281dab,{parser:_0x2bce34}=this['p'];(_0x4b3660>this['pos']||_0x4317da<=_0x2bce34['maxNode'])&&(this['pos']=_0x4b3660,_0x2bce34['stateFlag'](_0x28de23,0x1)||(this['reducePos']=_0x4b3660)),this['pushState'](_0x28de23,_0x358bf1),this['shiftContext'](_0x4317da,_0x358bf1),_0x4317da<=_0x2bce34['maxNode']&&this['buffer']['push'](_0x4317da,_0x358bf1,_0x4b3660,0x4);}}}['apply'](_0x7a9ab1,_0x139ac1,_0x547877,_0x26e9ca){0x10000&_0x7a9ab1?this['reduce'](_0x7a9ab1):this['shift'](_0x7a9ab1,_0x139ac1,_0x547877,_0x26e9ca);}['useNode'](_0x1ca1c6,_0x4d29e7){let _0x2bcc63=this['p']['reused']['length']-0x1;(_0x2bcc63<0x0||this['p']['reused'][_0x2bcc63]!=_0x1ca1c6)&&(this['p']['reused']['push'](_0x1ca1c6),_0x2bcc63++);let _0x2950d1=this['pos'];this['reducePos']=this['pos']=_0x2950d1+_0x1ca1c6['length'],this['pushState'](_0x4d29e7,_0x2950d1),this['buffer']['push'](_0x2bcc63,_0x2950d1,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0x1ca1c6,this,this['p']['stream']['reset'](this['pos']-_0x1ca1c6['length'])));}['split'](){let _0x3b5238=this,_0x3e088c=_0x3b5238['buffer']['length'];for(;_0x3e088c>0x0&&_0x3b5238['buffer'][_0x3e088c-0x2]>_0x3b5238['reducePos'];)_0x3e088c-=0x4;let _0x19204c=_0x3b5238['buffer']['slice'](_0x3e088c),_0xc2d98a=_0x3b5238['bufferBase']+_0x3e088c;for(;_0x3b5238&&_0xc2d98a==_0x3b5238['bufferBase'];)_0x3b5238=_0x3b5238['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x19204c,_0xc2d98a,this['curContext'],this['lookAhead'],_0x3b5238);}['recoverByDelete'](_0x462883,_0x12303a){let _0x4ce513=_0x462883<=this['p']['parser']['maxNode'];_0x4ce513&&this['storeNode'](_0x462883,this['pos'],_0x12303a,0x4),this['storeNode'](0x0,this['pos'],_0x12303a,_0x4ce513?0x8:0x4),this['pos']=this['reducePos']=_0x12303a,this['score']-=0xbe;}['canShift'](_0x2cd8b0){for(let _0x51cdc1=new SimulatedStack(this);;){let _0x447936=this['p']['parser']['stateSlot'](_0x51cdc1['state'],0x4)||this['p']['parser']['hasAction'](_0x51cdc1['state'],_0x2cd8b0);if(0x0==_0x447936)return!0x1;if(!(0x10000&_0x447936))return!0x0;_0x51cdc1['reduce'](_0x447936);}}['recoverByInsert'](_0x32530e){if(this['stack']['length']>=0x12c)return[];let _0x21cb56=this['p']['parser']['nextStates'](this['state']);if(_0x21cb56['length']>0x8||this['stack']['length']>=0x78){let _0x1aa34b=[];for(let _0x1ed4cd,_0x336ddf=0x0;_0x336ddf<_0x21cb56['length'];_0x336ddf+=0x2)(_0x1ed4cd=_0x21cb56[_0x336ddf+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x1ed4cd,_0x32530e)&&_0x1aa34b['push'](_0x21cb56[_0x336ddf],_0x1ed4cd);if(this['stack']['length']<0x78)for(let _0xf75884=0x0;_0x1aa34b['length']<0x8&&_0xf75884<_0x21cb56['length'];_0xf75884+=0x2){let _0x914ff4=_0x21cb56[_0xf75884+0x1];_0x1aa34b['some']((_0xea0b82,_0x40a368)=>0x1&_0x40a368&&_0xea0b82==_0x914ff4)||_0x1aa34b['push'](_0x21cb56[_0xf75884],_0x914ff4);}_0x21cb56=_0x1aa34b;}let _0x2ee75e=[];for(let _0x296476=0x0;_0x296476<_0x21cb56['length']&&_0x2ee75e['length']<0x4;_0x296476+=0x2){let _0x4db652=_0x21cb56[_0x296476+0x1];if(_0x4db652==this['state'])continue;let _0x55f4c6=this['split']();_0x55f4c6['pushState'](_0x4db652,this['pos']),_0x55f4c6['storeNode'](0x0,_0x55f4c6['pos'],_0x55f4c6['pos'],0x4,!0x0),_0x55f4c6['shiftContext'](_0x21cb56[_0x296476],this['pos']),_0x55f4c6['reducePos']=this['pos'],_0x55f4c6['score']-=0xc8,_0x2ee75e['push'](_0x55f4c6);}return _0x2ee75e;}['forceReduce'](){let {parser:_0x31e47f}=this['p'],_0x469ee2=_0x31e47f['stateSlot'](this['state'],0x5);if(!(0x10000&_0x469ee2))return!0x1;if(!_0x31e47f['validAction'](this['state'],_0x469ee2)){let _0x35caa9=_0x469ee2>>0x13,_0xe4a9e=0xffff&_0x469ee2,_0x2a6439=this['stack']['length']-0x3*_0x35caa9;if(_0x2a6439<0x0||_0x31e47f['getGoto'](this['stack'][_0x2a6439],_0xe4a9e,!0x1)<0x0){let _0x3e1c9c=this['findForcedReduction']();if(null==_0x3e1c9c)return!0x1;_0x469ee2=_0x3e1c9c;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x469ee2),!0x0;}['findForcedReduction'](){let {parser:_0x320bbc}=this['p'],_0x9e01d6=[],_0x3dcc22=(_0x57f887,_0x401994)=>{if(!_0x9e01d6['includes'](_0x57f887))return _0x9e01d6['push'](_0x57f887),_0x320bbc['allActions'](_0x57f887,_0x59bed7=>{if(0x60000&_0x59bed7);else{if(0x10000&_0x59bed7){let _0x35c3b9=(_0x59bed7>>0x13)-_0x401994;if(_0x35c3b9>0x1){let _0x5d9abd=0xffff&_0x59bed7,_0x7932ff=this['stack']['length']-0x3*_0x35c3b9;if(_0x7932ff>=0x0&&_0x320bbc['getGoto'](this['stack'][_0x7932ff],_0x5d9abd,!0x1)>=0x0)return _0x35c3b9<<0x13|0x10000|_0x5d9abd;}}else{let _0x10f2b9=_0x3dcc22(_0x59bed7,_0x401994+0x1);if(null!=_0x10f2b9)return _0x10f2b9;}}});};return _0x3dcc22(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:_0x2693fc}=this['p'];return 0xffff==_0x2693fc['data'][_0x2693fc['stateSlot'](this['state'],0x1)]&&!_0x2693fc['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0xb178d3){if(this['state']!=_0xb178d3['state']||this['stack']['length']!=_0xb178d3['stack']['length'])return!0x1;for(let _0xf676af=0x0;_0xf676af<this['stack']['length'];_0xf676af+=0x3)if(this['stack'][_0xf676af]!=_0xb178d3['stack'][_0xf676af])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0x9d7be1){return this['p']['parser']['dialect']['flags'][_0x9d7be1];}['shiftContext'](_0x17b0c0,_0x1abae8){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x17b0c0,this,this['p']['stream']['reset'](_0x1abae8)));}['reduceContext'](_0x536a0d,_0x13216c){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x536a0d,this,this['p']['stream']['reset'](_0x13216c)));}['emitContext'](){let _0xeaf67d=this['buffer']['length']-0x1;(_0xeaf67d<0x0||-0x3!=this['buffer'][_0xeaf67d])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0x4ded4b=this['buffer']['length']-0x1;(_0x4ded4b<0x0||-0x4!=this['buffer'][_0x4ded4b])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0x2f5b4c){if(_0x2f5b4c!=this['curContext']['context']){let _0x50a828=new StackContext(this['curContext']['tracker'],_0x2f5b4c);_0x50a828['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0x50a828;}}['setLookAhead'](_0x59f544){_0x59f544>this['lookAhead']&&(this['emitLookAhead'](),this['lookAhead']=_0x59f544);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}}class StackContext{constructor(_0x29f44f,_0x492836){this['tracker']=_0x29f44f,this['context']=_0x492836,this['hash']=_0x29f44f['strict']?_0x29f44f['hash'](_0x492836):0x0;}}class SimulatedStack{constructor(_0x237d6c){this['start']=_0x237d6c,this['state']=_0x237d6c['state'],this['stack']=_0x237d6c['stack'],this['base']=this['stack']['length'];}['reduce'](_0x21e7e9){let _0x382cb4=0xffff&_0x21e7e9,_0x48210f=_0x21e7e9>>0x13;0x0==_0x48210f?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x48210f-0x1);let _0x2a1c79=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x382cb4,!0x0);this['state']=_0x2a1c79;}}class StackBufferCursor{constructor(_0x4a5e9c,_0x44b37a,_0x9d8ae7){this['stack']=_0x4a5e9c,this['pos']=_0x44b37a,this['index']=_0x9d8ae7,this['buffer']=_0x4a5e9c['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0x42460b,_0x44021b=_0x42460b['bufferBase']+_0x42460b['buffer']['length']){return new StackBufferCursor(_0x42460b,_0x44021b,_0x44021b-_0x42460b['bufferBase']);}['maybeNext'](){let _0x130f38=this['stack']['parent'];null!=_0x130f38&&(this['index']=this['stack']['bufferBase']-_0x130f38['bufferBase'],this['stack']=_0x130f38,this['buffer']=_0x130f38['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 _0x4bf9fc(_0xd4ebce,_0x38b190=Uint16Array){if('string'!=typeof _0xd4ebce)return _0xd4ebce;let _0x61c23c=null;for(let _0x37824d=0x0,_0x5f479c=0x0;_0x37824d<_0xd4ebce['length'];){let _0x62ae26=0x0;for(;;){let _0x49ba7e=_0xd4ebce['charCodeAt'](_0x37824d++),_0x272ece=!0x1;if(0x7e==_0x49ba7e){_0x62ae26=0xffff;break;}_0x49ba7e>=0x5c&&_0x49ba7e--,_0x49ba7e>=0x22&&_0x49ba7e--;let _0x3f9098=_0x49ba7e-0x20;if(_0x3f9098>=0x2e&&(_0x3f9098-=0x2e,_0x272ece=!0x0),_0x62ae26+=_0x3f9098,_0x272ece)break;_0x62ae26*=0x2e;}_0x61c23c?_0x61c23c[_0x5f479c++]=_0x62ae26:_0x61c23c=new _0x38b190(_0x62ae26);}return _0x61c23c;}class _0x15f2a3{constructor(){this['start']=-0x1,this['value']=-0x1,this['end']=-0x1,this['extended']=-0x1,this['lookAhead']=0x0,this['mask']=0x0,this['context']=0x0;}}const _0x124ae2=new _0x15f2a3();class InputStream{constructor(_0x2b31bb,_0x592ac8){this['input']=_0x2b31bb,this['ranges']=_0x592ac8,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=_0x124ae2,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0x592ac8[0x0]['from'],this['range']=_0x592ac8[0x0],this['end']=_0x592ac8[_0x592ac8['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0x5669b7,_0x4b94eb){let _0xb077e1=this['range'],_0x257166=this['rangeIndex'],_0xa15886=this['pos']+_0x5669b7;for(;_0xa15886<_0xb077e1['from'];){if(!_0x257166)return null;let _0x4ad179=this['ranges'][--_0x257166];_0xa15886-=_0xb077e1['from']-_0x4ad179['to'],_0xb077e1=_0x4ad179;}for(;_0x4b94eb<0x0?_0xa15886>_0xb077e1['to']:_0xa15886>=_0xb077e1['to'];){if(_0x257166==this['ranges']['length']-0x1)return null;let _0x274a65=this['ranges'][++_0x257166];_0xa15886+=_0x274a65['from']-_0xb077e1['to'],_0xb077e1=_0x274a65;}return _0xa15886;}['clipPos'](_0x63fef2){if(_0x63fef2>=this['range']['from']&&_0x63fef2<this['range']['to'])return _0x63fef2;for(let _0x5b8646 of this['ranges'])if(_0x5b8646['to']>_0x63fef2)return Math['max'](_0x63fef2,_0x5b8646['from']);return this['end'];}['peek'](_0x5e607a){let _0x1443a6,_0x11e6d0,_0x1f4a0f=this['chunkOff']+_0x5e607a;if(_0x1f4a0f>=0x0&&_0x1f4a0f<this['chunk']['length'])_0x1443a6=this['pos']+_0x5e607a,_0x11e6d0=this['chunk']['charCodeAt'](_0x1f4a0f);else{let _0x3b748a=this['resolveOffset'](_0x5e607a,0x1);if(null==_0x3b748a)return-0x1;if(_0x1443a6=_0x3b748a,_0x1443a6>=this['chunk2Pos']&&_0x1443a6<this['chunk2Pos']+this['chunk2']['length'])_0x11e6d0=this['chunk2']['charCodeAt'](_0x1443a6-this['chunk2Pos']);else{let _0x4721d9=this['rangeIndex'],_0x418ce2=this['range'];for(;_0x418ce2['to']<=_0x1443a6;)_0x418ce2=this['ranges'][++_0x4721d9];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x1443a6),_0x1443a6+this['chunk2']['length']>_0x418ce2['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x418ce2['to']-_0x1443a6)),_0x11e6d0=this['chunk2']['charCodeAt'](0x0);}}return _0x1443a6>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x1443a6+0x1),_0x11e6d0;}['acceptToken'](_0x590a2e,_0x3fe37d=0x0){let _0x26d6e7=_0x3fe37d?this['resolveOffset'](_0x3fe37d,-0x1):this['pos'];if(null==_0x26d6e7||_0x26d6e7<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x590a2e,this['token']['end']=_0x26d6e7;}['acceptTokenTo'](_0x137ffc,_0x4ec901){this['token']['value']=_0x137ffc,this['token']['end']=_0x4ec901;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0x19ce07,chunkPos:_0x41d6d0}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0x19ce07,this['chunk2Pos']=_0x41d6d0,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0x4d8f06=this['input']['chunk'](this['pos']),_0x5eb63f=this['pos']+_0x4d8f06['length'];this['chunk']=_0x5eb63f>this['range']['to']?_0x4d8f06['slice'](0x0,this['range']['to']-this['pos']):_0x4d8f06,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'](_0x385017=0x1){for(this['chunkOff']+=_0x385017;this['pos']+_0x385017>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x385017-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x385017,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'](_0x297886,_0x35d988){if(_0x35d988?(this['token']=_0x35d988,_0x35d988['start']=_0x297886,_0x35d988['lookAhead']=_0x297886+0x1,_0x35d988['value']=_0x35d988['extended']=-0x1):this['token']=_0x124ae2,this['pos']!=_0x297886){if(this['pos']=_0x297886,_0x297886==this['end'])return this['setDone'](),this;for(;_0x297886<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0x297886>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0x297886>=this['chunkPos']&&_0x297886<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0x297886-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x4f6a45,_0x5b4ceb){if(_0x4f6a45>=this['chunkPos']&&_0x5b4ceb<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x4f6a45-this['chunkPos'],_0x5b4ceb-this['chunkPos']);if(_0x4f6a45>=this['chunk2Pos']&&_0x5b4ceb<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x4f6a45-this['chunk2Pos'],_0x5b4ceb-this['chunk2Pos']);if(_0x4f6a45>=this['range']['from']&&_0x5b4ceb<=this['range']['to'])return this['input']['read'](_0x4f6a45,_0x5b4ceb);let _0x158872='';for(let _0x15a357 of this['ranges']){if(_0x15a357['from']>=_0x5b4ceb)break;_0x15a357['to']>_0x4f6a45&&(_0x158872+=this['input']['read'](Math['max'](_0x15a357['from'],_0x4f6a45),Math['min'](_0x15a357['to'],_0x5b4ceb)));}return _0x158872;}}class _0xf9e7b3{constructor(_0x11e520,_0x4b7f37){this['data']=_0x11e520,this['id']=_0x4b7f37;}['token'](_0x2a5504,_0x19a532){let {parser:_0x597f42}=_0x19a532['p'];_0x250423(this['data'],_0x2a5504,_0x19a532,this['id'],_0x597f42['data'],_0x597f42['tokenPrecTable']);}}_0xf9e7b3['prototype']['contextual']=_0xf9e7b3['prototype']['fallback']=_0xf9e7b3['prototype']['extend']=!0x1;class _0x65745f{constructor(_0x336bf9,_0x5d4df7,_0x2dc54d){this['precTable']=_0x5d4df7,this['elseToken']=_0x2dc54d,this['data']='string'==typeof _0x336bf9?_0x4bf9fc(_0x336bf9):_0x336bf9;}['token'](_0x36b0ef,_0x31f573){let _0x48ebbd=_0x36b0ef['pos'],_0x1b934f=0x0;for(;;){let _0x45faed=_0x36b0ef['next']<0x0,_0x2c67af=_0x36b0ef['resolveOffset'](0x1,0x1);if(_0x250423(this['data'],_0x36b0ef,_0x31f573,0x0,this['data'],this['precTable']),_0x36b0ef['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x45faed||_0x1b934f++,null==_0x2c67af)break;_0x36b0ef['reset'](_0x2c67af,_0x36b0ef['token']);}_0x1b934f&&(_0x36b0ef['reset'](_0x48ebbd,_0x36b0ef['token']),_0x36b0ef['acceptToken'](this['elseToken'],_0x1b934f));}}_0x65745f['prototype']['contextual']=_0xf9e7b3['prototype']['fallback']=_0xf9e7b3['prototype']['extend']=!0x1;class ExternalTokenizer{constructor(_0x24ec8a,_0x1f4bfd={}){this['token']=_0x24ec8a,this['contextual']=!!_0x1f4bfd['contextual'],this['fallback']=!!_0x1f4bfd['fallback'],this['extend']=!!_0x1f4bfd['extend'];}}function _0x250423(_0x42cad1,_0x44bf33,_0x1b7530,_0x1ebfad,_0x39d509,_0x5acaa3){let _0x13eae1=0x0,_0x2c5fa6=0x1<<_0x1ebfad,{dialect:_0x24c655}=_0x1b7530['p']['parser'];t:for(;0x0!=(_0x2c5fa6&_0x42cad1[_0x13eae1]);){let _0x40d666=_0x42cad1[_0x13eae1+0x1];for(let _0x3e9fd7=_0x13eae1+0x3;_0x3e9fd7<_0x40d666;_0x3e9fd7+=0x2)if((_0x42cad1[_0x3e9fd7+0x1]&_0x2c5fa6)>0x0){let _0x1dec45=_0x42cad1[_0x3e9fd7];if(_0x24c655['allows'](_0x1dec45)&&(-0x1==_0x44bf33['token']['value']||_0x44bf33['token']['value']==_0x1dec45||_0x2da211(_0x1dec45,_0x44bf33['token']['value'],_0x39d509,_0x5acaa3))){_0x44bf33['acceptToken'](_0x1dec45);break;}}let _0x6fa946=_0x44bf33['next'],_0x407eca=0x0,_0x50b4f5=_0x42cad1[_0x13eae1+0x2];if(!(_0x44bf33['next']<0x0&&_0x50b4f5>_0x407eca&&0xffff==_0x42cad1[_0x40d666+0x3*_0x50b4f5-0x3])){for(;_0x407eca<_0x50b4f5;){let _0x44f3f2=_0x407eca+_0x50b4f5>>0x1,_0x4453fb=_0x40d666+_0x44f3f2+(_0x44f3f2<<0x1),_0x7499a7=_0x42cad1[_0x4453fb],_0x16ffa1=_0x42cad1[_0x4453fb+0x1]||0x10000;if(_0x6fa946<_0x7499a7)_0x50b4f5=_0x44f3f2;else{if(!(_0x6fa946>=_0x16ffa1)){_0x13eae1=_0x42cad1[_0x4453fb+0x2],_0x44bf33['advance']();continue t;}_0x407eca=_0x44f3f2+0x1;}}break;}_0x13eae1=_0x42cad1[_0x40d666+0x3*_0x50b4f5-0x1];}}function findOffset(_0x2c238a,_0x54e2fd,_0x127856){for(let _0x153b76,_0x4aaa93=_0x54e2fd;0xffff!=(_0x153b76=_0x2c238a[_0x4aaa93]);_0x4aaa93++)if(_0x153b76==_0x127856)return _0x4aaa93-_0x54e2fd;return-0x1;}function _0x2da211(_0x21013d,_0x51b634,_0x47941a,_0x1c7ada){let _0x1fb591=findOffset(_0x47941a,_0x1c7ada,_0x51b634);return _0x1fb591<0x0||findOffset(_0x47941a,_0x1c7ada,_0x21013d)<_0x1fb591;}const _0x6316cd='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let stackIDs=null;function cutAt(_0x420994,_0x356e48,_0x29fae8){let _0x17831a=_0x420994['cursor'](IterMode['IncludeAnonymous']);for(_0x17831a['moveTo'](_0x356e48);;)if(!(_0x29fae8<0x0?_0x17831a['childBefore'](_0x356e48):_0x17831a['childAfter'](_0x356e48)))for(;;){if((_0x29fae8<0x0?_0x17831a['to']<_0x356e48:_0x17831a['from']>_0x356e48)&&!_0x17831a['type']['isError'])return _0x29fae8<0x0?Math['max'](0x0,Math['min'](_0x17831a['to']-0x1,_0x356e48-0x19)):Math['min'](_0x420994['length'],Math['max'](_0x17831a['from']+0x1,_0x356e48+0x19));if(_0x29fae8<0x0?_0x17831a['prevSibling']():_0x17831a['nextSibling']())break;if(!_0x17831a['parent']())return _0x29fae8<0x0?0x0:_0x420994['length'];}}let FragmentCursor$1=class{constructor(_0x16ad9c,_0x505158){this['fragments']=_0x16ad9c,this['nodeSet']=_0x505158,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0x469b30=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0x469b30){for(this['safeFrom']=_0x469b30['openStart']?cutAt(_0x469b30['tree'],_0x469b30['from']+_0x469b30['offset'],0x1)-_0x469b30['offset']:_0x469b30['from'],this['safeTo']=_0x469b30['openEnd']?cutAt(_0x469b30['tree'],_0x469b30['to']+_0x469b30['offset'],-0x1)-_0x469b30['offset']:_0x469b30['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0x469b30['tree']),this['start']['push'](-_0x469b30['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0x49c9df){if(_0x49c9df<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x49c9df;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x828401=this['trees']['length']-0x1;if(_0x828401<0x0)return this['nextFragment'](),null;let _0x3e5c5c=this['trees'][_0x828401],_0x979a9=this['index'][_0x828401];if(_0x979a9==_0x3e5c5c['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0x5e4b46=_0x3e5c5c['children'][_0x979a9],_0x5a8ec3=this['start'][_0x828401]+_0x3e5c5c['positions'][_0x979a9];if(_0x5a8ec3>_0x49c9df)return this['nextStart']=_0x5a8ec3,null;if(_0x5e4b46 instanceof _0x4939af){if(_0x5a8ec3==_0x49c9df){if(_0x5a8ec3<this['safeFrom'])return null;let _0x3adf51=_0x5a8ec3+_0x5e4b46['length'];if(_0x3adf51<=this['safeTo']){let _0x4b08c7=_0x5e4b46['prop'](_0x114f67['lookAhead']);if(!_0x4b08c7||_0x3adf51+_0x4b08c7<this['fragment']['to'])return _0x5e4b46;}}this['index'][_0x828401]++,_0x5a8ec3+_0x5e4b46['length']>=Math['max'](this['safeFrom'],_0x49c9df)&&(this['trees']['push'](_0x5e4b46),this['start']['push'](_0x5a8ec3),this['index']['push'](0x0));}else this['index'][_0x828401]++,this['nextStart']=_0x5a8ec3+_0x5e4b46['length'];}}};class _0x18b5e6{constructor(_0x3526b1,_0x3e0c18){this['stream']=_0x3e0c18,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x3526b1['tokenizers']['map'](_0x1c671d=>new _0x15f2a3());}['getActions'](_0x30a819){let _0x352345=0x0,_0x5c2bc1=null,{parser:_0x5c5d19}=_0x30a819['p'],{tokenizers:_0x251d06}=_0x5c5d19,_0x11e783=_0x5c5d19['stateSlot'](_0x30a819['state'],0x3),_0x4e8182=_0x30a819['curContext']?_0x30a819['curContext']['hash']:0x0,_0x6381ad=0x0;for(let _0x407c85=0x0;_0x407c85<_0x251d06['length'];_0x407c85++){if(!(0x1<<_0x407c85&_0x11e783))continue;let _0x2b127f=_0x251d06[_0x407c85],_0x446fef=this['tokens'][_0x407c85];if((!_0x5c2bc1||_0x2b127f['fallback'])&&((_0x2b127f['contextual']||_0x446fef['start']!=_0x30a819['pos']||_0x446fef['mask']!=_0x11e783||_0x446fef['context']!=_0x4e8182)&&(this['updateCachedToken'](_0x446fef,_0x2b127f,_0x30a819),_0x446fef['mask']=_0x11e783,_0x446fef['context']=_0x4e8182),_0x446fef['lookAhead']>_0x446fef['end']+0x19&&(_0x6381ad=Math['max'](_0x446fef['lookAhead'],_0x6381ad)),0x0!=_0x446fef['value'])){let _0x3dccc7=_0x352345;if(_0x446fef['extended']>-0x1&&(_0x352345=this['addActions'](_0x30a819,_0x446fef['extended'],_0x446fef['end'],_0x352345)),_0x352345=this['addActions'](_0x30a819,_0x446fef['value'],_0x446fef['end'],_0x352345),!_0x2b127f['extend']&&(_0x5c2bc1=_0x446fef,_0x352345>_0x3dccc7))break;}}for(;this['actions']['length']>_0x352345;)this['actions']['pop']();return _0x6381ad&&_0x30a819['setLookAhead'](_0x6381ad),_0x5c2bc1||_0x30a819['pos']!=this['stream']['end']||(_0x5c2bc1=new _0x15f2a3(),_0x5c2bc1['value']=_0x30a819['p']['parser']['eofTerm'],_0x5c2bc1['start']=_0x5c2bc1['end']=_0x30a819['pos'],_0x352345=this['addActions'](_0x30a819,_0x5c2bc1['value'],_0x5c2bc1['end'],_0x352345)),this['mainToken']=_0x5c2bc1,this['actions'];}['getMainToken'](_0x500abc){if(this['mainToken'])return this['mainToken'];let _0x3cb7b8=new _0x15f2a3(),{pos:_0x38fa6e,p:_0x167fa3}=_0x500abc;return _0x3cb7b8['start']=_0x38fa6e,_0x3cb7b8['end']=Math['min'](_0x38fa6e+0x1,_0x167fa3['stream']['end']),_0x3cb7b8['value']=_0x38fa6e==_0x167fa3['stream']['end']?_0x167fa3['parser']['eofTerm']:0x0,_0x3cb7b8;}['updateCachedToken'](_0x90cbd8,_0x536d04,_0x29133c){let _0x1f84b8=this['stream']['clipPos'](_0x29133c['pos']);if(_0x536d04['token'](this['stream']['reset'](_0x1f84b8,_0x90cbd8),_0x29133c),_0x90cbd8['value']>-0x1){let {parser:_0x3630ef}=_0x29133c['p'];for(let _0x3747ef=0x0;_0x3747ef<_0x3630ef['specialized']['length'];_0x3747ef++)if(_0x3630ef['specialized'][_0x3747ef]==_0x90cbd8['value']){let _0x40ed1a=_0x3630ef['specializers'][_0x3747ef](this['stream']['read'](_0x90cbd8['start'],_0x90cbd8['end']),_0x29133c);if(_0x40ed1a>=0x0&&_0x29133c['p']['parser']['dialect']['allows'](_0x40ed1a>>0x1)){0x1&_0x40ed1a?_0x90cbd8['extended']=_0x40ed1a>>0x1:_0x90cbd8['value']=_0x40ed1a>>0x1;break;}}}else _0x90cbd8['value']=0x0,_0x90cbd8['end']=this['stream']['clipPos'](_0x1f84b8+0x1);}['putAction'](_0x190371,_0x5bbbf7,_0x46f2bb,_0x38ee20){for(let _0x5646fc=0x0;_0x5646fc<_0x38ee20;_0x5646fc+=0x3)if(this['actions'][_0x5646fc]==_0x190371)return _0x38ee20;return this['actions'][_0x38ee20++]=_0x190371,this['actions'][_0x38ee20++]=_0x5bbbf7,this['actions'][_0x38ee20++]=_0x46f2bb,_0x38ee20;}['addActions'](_0x17b5b6,_0x8d5fb9,_0x98d8a,_0x63b743){let {state:_0x1779f0}=_0x17b5b6,{parser:_0x164ecb}=_0x17b5b6['p'],{data:_0x12d7e2}=_0x164ecb;for(let _0x490135=0x0;_0x490135<0x2;_0x490135++)for(let _0x4c7f4d=_0x164ecb['stateSlot'](_0x1779f0,_0x490135?0x2:0x1);;_0x4c7f4d+=0x3){if(0xffff==_0x12d7e2[_0x4c7f4d]){if(0x1!=_0x12d7e2[_0x4c7f4d+0x1]){0x0==_0x63b743&&0x2==_0x12d7e2[_0x4c7f4d+0x1]&&(_0x63b743=this['putAction'](_0x50c1ac(_0x12d7e2,_0x4c7f4d+0x2),_0x8d5fb9,_0x98d8a,_0x63b743));break;}_0x4c7f4d=_0x50c1ac(_0x12d7e2,_0x4c7f4d+0x2);}_0x12d7e2[_0x4c7f4d]==_0x8d5fb9&&(_0x63b743=this['putAction'](_0x50c1ac(_0x12d7e2,_0x4c7f4d+0x1),_0x8d5fb9,_0x98d8a,_0x63b743));}return _0x63b743;}}class _0x8ae96e{constructor(_0x25d41a,_0x342ccb,_0xe00da6,_0x13804c){this['parser']=_0x25d41a,this['input']=_0x342ccb,this['ranges']=_0x13804c,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(_0x342ccb,_0x13804c),this['tokens']=new _0x18b5e6(_0x25d41a,this['stream']),this['topTerm']=_0x25d41a['top'][0x1];let {from:_0x29d3e0}=_0x13804c[0x0];this['stacks']=[Stack['start'](this,_0x25d41a['top'][0x0],_0x29d3e0)],this['fragments']=_0xe00da6['length']&&this['stream']['end']-_0x29d3e0>0x4*_0x25d41a['bufferLength']?new FragmentCursor$1(_0xe00da6,_0x25d41a['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x7fa7df,_0x589044,_0x3f5f3f=this['stacks'],_0x443fa3=this['minStackPos'],_0x16bead=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0x3f5f3f['length']){let [_0xd87c8c]=_0x3f5f3f;for(;_0xd87c8c['forceReduce']()&&_0xd87c8c['stack']['length']&&_0xd87c8c['stack'][_0xd87c8c['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x3cff97=0x0;_0x3cff97<_0x3f5f3f['length'];_0x3cff97++){let _0x276fde=_0x3f5f3f[_0x3cff97];for(;;){if(this['tokens']['mainToken']=null,_0x276fde['pos']>_0x443fa3)_0x16bead['push'](_0x276fde);else{if(this['advanceStack'](_0x276fde,_0x16bead,_0x3f5f3f))continue;{_0x7fa7df||(_0x7fa7df=[],_0x589044=[]),_0x7fa7df['push'](_0x276fde);let _0x2566d0=this['tokens']['getMainToken'](_0x276fde);_0x589044['push'](_0x2566d0['value'],_0x2566d0['end']);}}break;}}if(!_0x16bead['length']){let _0x3b1c96=_0x7fa7df&&_0x238830(_0x7fa7df);if(_0x3b1c96)return _0x6316cd&&console['log']('Finish\x20with\x20'+this['stackID'](_0x3b1c96)),this['stackToTree'](_0x3b1c96);if(this['parser']['strict'])throw _0x6316cd&&_0x7fa7df&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x443fa3);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x7fa7df){let _0x14c8e4=null!=this['stoppedAt']&&_0x7fa7df[0x0]['pos']>this['stoppedAt']?_0x7fa7df[0x0]:this['runRecovery'](_0x7fa7df,_0x589044,_0x16bead);if(_0x14c8e4)return _0x6316cd&&console['log']('Force-finish\x20'+this['stackID'](_0x14c8e4)),this['stackToTree'](_0x14c8e4['forceAll']());}if(this['recovering']){let _0x2c5e63=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x16bead['length']>_0x2c5e63){for(_0x16bead['sort']((_0x31b740,_0x2ebee3)=>_0x2ebee3['score']-_0x31b740['score']);_0x16bead['length']>_0x2c5e63;)_0x16bead['pop']();}_0x16bead['some'](_0x58d770=>_0x58d770['reducePos']>_0x443fa3)&&this['recovering']--;}else{if(_0x16bead['length']>0x1){t:for(let _0x431cc6=0x0;_0x431cc6<_0x16bead['length']-0x1;_0x431cc6++){let _0x482c40=_0x16bead[_0x431cc6];for(let _0x14510c=_0x431cc6+0x1;_0x14510c<_0x16bead['length'];_0x14510c++){let _0x399c0a=_0x16bead[_0x14510c];if(_0x482c40['sameState'](_0x399c0a)||_0x482c40['buffer']['length']>0x1f4&&_0x399c0a['buffer']['length']>0x1f4){if(!((_0x482c40['score']-_0x399c0a['score']||_0x482c40['buffer']['length']-_0x399c0a['buffer']['length'])>0x0)){_0x16bead['splice'](_0x431cc6--,0x1);continue t;}_0x16bead['splice'](_0x14510c--,0x1);}}}_0x16bead['length']>0xc&&_0x16bead['splice'](0xc,_0x16bead['length']-0xc);}}this['minStackPos']=_0x16bead[0x0]['pos'];for(let _0x4231bb=0x1;_0x4231bb<_0x16bead['length'];_0x4231bb++)_0x16bead[_0x4231bb]['pos']<this['minStackPos']&&(this['minStackPos']=_0x16bead[_0x4231bb]['pos']);return null;}['stopAt'](_0x5c3e9d){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x5c3e9d)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x5c3e9d;}['advanceStack'](_0xed5db2,_0x313963,_0x5872fa){let _0x28b347=_0xed5db2['pos'],{parser:_0x2b71e9}=this,_0x3e9ba7=_0x6316cd?this['stackID'](_0xed5db2)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x28b347>this['stoppedAt'])return _0xed5db2['forceReduce']()?_0xed5db2:null;if(this['fragments']){let _0x3b0c13=_0xed5db2['curContext']&&_0xed5db2['curContext']['tracker']['strict'],_0x4e151c=_0x3b0c13?_0xed5db2['curContext']['hash']:0x0;for(let _0x8eb11=this['fragments']['nodeAt'](_0x28b347);_0x8eb11;){let _0x4358ae=this['parser']['nodeSet']['types'][_0x8eb11['type']['id']]==_0x8eb11['type']?_0x2b71e9['getGoto'](_0xed5db2['state'],_0x8eb11['type']['id']):-0x1;if(_0x4358ae>-0x1&&_0x8eb11['length']&&(!_0x3b0c13||(_0x8eb11['prop'](_0x114f67['contextHash'])||0x0)==_0x4e151c))return _0xed5db2['useNode'](_0x8eb11,_0x4358ae),_0x6316cd&&console['log'](_0x3e9ba7+this['stackID'](_0xed5db2)+('\x20(via\x20reuse\x20of\x20'+_0x2b71e9['getName'](_0x8eb11['type']['id'])+')')),!0x0;if(!(_0x8eb11 instanceof _0x4939af)||0x0==_0x8eb11['children']['length']||_0x8eb11['positions'][0x0]>0x0)break;let _0x4e4c50=_0x8eb11['children'][0x0];if(!(_0x4e4c50 instanceof _0x4939af&&0x0==_0x8eb11['positions'][0x0]))break;_0x8eb11=_0x4e4c50;}}let _0x542eab=_0x2b71e9['stateSlot'](_0xed5db2['state'],0x4);if(_0x542eab>0x0)return _0xed5db2['reduce'](_0x542eab),_0x6316cd&&console['log'](_0x3e9ba7+this['stackID'](_0xed5db2)+('\x20(via\x20always-reduce\x20'+_0x2b71e9['getName'](0xffff&_0x542eab)+')')),!0x0;if(_0xed5db2['stack']['length']>=0x20d0){for(;_0xed5db2['stack']['length']>0x1770&&_0xed5db2['forceReduce'](););}let _0x340274=this['tokens']['getActions'](_0xed5db2);for(let _0x1b83fd=0x0;_0x1b83fd<_0x340274['length'];){let _0x510958=_0x340274[_0x1b83fd++],_0x1e6180=_0x340274[_0x1b83fd++],_0xc2e7ef=_0x340274[_0x1b83fd++],_0x3ab0fc=_0x1b83fd==_0x340274['length']||!_0x5872fa,_0x184d5e=_0x3ab0fc?_0xed5db2:_0xed5db2['split'](),_0x385d28=this['tokens']['mainToken'];if(_0x184d5e['apply'](_0x510958,_0x1e6180,_0x385d28?_0x385d28['start']:_0x184d5e['pos'],_0xc2e7ef),_0x6316cd&&console['log'](_0x3e9ba7+this['stackID'](_0x184d5e)+('\x20(via\x20'+(0x10000&_0x510958?'reduce\x20of\x20'+_0x2b71e9['getName'](0xffff&_0x510958):'shift')+'\x20for\x20'+_0x2b71e9['getName'](_0x1e6180)+'\x20@\x20'+_0x28b347+(_0x184d5e==_0xed5db2?'':',\x20split')+')')),_0x3ab0fc)return!0x0;_0x184d5e['pos']>_0x28b347?_0x313963['push'](_0x184d5e):_0x5872fa['push'](_0x184d5e);}return!0x1;}['advanceFully'](_0x1de801,_0x2ee27b){let _0x438c61=_0x1de801['pos'];for(;;){if(!this['advanceStack'](_0x1de801,null,null))return!0x1;if(_0x1de801['pos']>_0x438c61)return pushStackDedup(_0x1de801,_0x2ee27b),!0x0;}}['runRecovery'](_0x137ffd,_0x6917ca,_0x42c8de){let _0x5d9575=null,_0x19e2b0=!0x1;for(let _0x4ec2b1=0x0;_0x4ec2b1<_0x137ffd['length'];_0x4ec2b1++){let _0x43ddd1=_0x137ffd[_0x4ec2b1],_0x23a726=_0x6917ca[_0x4ec2b1<<0x1],_0x284db2=_0x6917ca[0x1+(_0x4ec2b1<<0x1)],_0x42ee8c=_0x6316cd?this['stackID'](_0x43ddd1)+'\x20->\x20':'';if(_0x43ddd1['deadEnd']){if(_0x19e2b0)continue;if(_0x19e2b0=!0x0,_0x43ddd1['restart'](),_0x6316cd&&console['log'](_0x42ee8c+this['stackID'](_0x43ddd1)+'\x20(restarted)'),this['advanceFully'](_0x43ddd1,_0x42c8de))continue;}let _0x418a7f=_0x43ddd1['split'](),_0x318c37=_0x42ee8c;for(let _0xf6eeed=0x0;_0xf6eeed<0xa&&_0x418a7f['forceReduce']();_0xf6eeed++){if(_0x6316cd&&console['log'](_0x318c37+this['stackID'](_0x418a7f)+'\x20(via\x20force-reduce)'),this['advanceFully'](_0x418a7f,_0x42c8de))break;_0x6316cd&&(_0x318c37=this['stackID'](_0x418a7f)+'\x20->\x20');}for(let _0x2bb3e0 of _0x43ddd1['recoverByInsert'](_0x23a726))_0x6316cd&&console['log'](_0x42ee8c+this['stackID'](_0x2bb3e0)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x2bb3e0,_0x42c8de);this['stream']['end']>_0x43ddd1['pos']?(_0x284db2==_0x43ddd1['pos']&&(_0x284db2++,_0x23a726=0x0),_0x43ddd1['recoverByDelete'](_0x23a726,_0x284db2),_0x6316cd&&console['log'](_0x42ee8c+this['stackID'](_0x43ddd1)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0x23a726)+')')),pushStackDedup(_0x43ddd1,_0x42c8de)):(!_0x5d9575||_0x5d9575['score']<_0x43ddd1['score'])&&(_0x5d9575=_0x43ddd1);}return _0x5d9575;}['stackToTree'](_0x3e1db4){return _0x3e1db4['close'](),_0x4939af['build']({'buffer':StackBufferCursor['create'](_0x3e1db4),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x3e1db4['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0x1852eb){let _0x1c6c3a=(stackIDs||(stackIDs=new WeakMap()))['get'](_0x1852eb);return _0x1c6c3a||stackIDs['set'](_0x1852eb,_0x1c6c3a=String['fromCodePoint'](this['nextStackID']++)),_0x1c6c3a+_0x1852eb;}}function pushStackDedup(_0x5b0e0d,_0x15c6d5){for(let _0x9307b9=0x0;_0x9307b9<_0x15c6d5['length'];_0x9307b9++){let _0x1e2d1b=_0x15c6d5[_0x9307b9];if(_0x1e2d1b['pos']==_0x5b0e0d['pos']&&_0x1e2d1b['sameState'](_0x5b0e0d))return void(_0x15c6d5[_0x9307b9]['score']<_0x5b0e0d['score']&&(_0x15c6d5[_0x9307b9]=_0x5b0e0d));}_0x15c6d5['push'](_0x5b0e0d);}class Dialect{constructor(_0x12f3a0,_0x42e65e,_0x2364ea){this['source']=_0x12f3a0,this['flags']=_0x42e65e,this['disabled']=_0x2364ea;}['allows'](_0xf1a68a){return!this['disabled']||0x0==this['disabled'][_0xf1a68a];}}const _0x63d05c=_0x3dcfc1=>_0x3dcfc1;class ContextTracker{constructor(_0x911901){this['start']=_0x911901['start'],this['shift']=_0x911901['shift']||_0x63d05c,this['reduce']=_0x911901['reduce']||_0x63d05c,this['reuse']=_0x911901['reuse']||_0x63d05c,this['hash']=_0x911901['hash']||(()=>0x0),this['strict']=!0x1!==_0x911901['strict'];}}class _0x128ed2 extends _0x137c2b{constructor(_0xb42254){if(super(),this['wrappers']=[],0xe!=_0xb42254['version'])throw new RangeError('Parser\x20version\x20('+_0xb42254['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x11f16a=_0xb42254['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x11f16a['length'];for(let _0x52e5ec=0x0;_0x52e5ec<_0xb42254['repeatNodeCount'];_0x52e5ec++)_0x11f16a['push']('');let _0x364d0e=Object['keys'](_0xb42254['topRules'])['map'](_0x19e099=>_0xb42254['topRules'][_0x19e099][0x1]),_0x4ab5bd=[];for(let _0x857b35=0x0;_0x857b35<_0x11f16a['length'];_0x857b35++)_0x4ab5bd['push']([]);function _0xdf8286(_0x1addd1,_0xaa3f55,_0xa51432){_0x4ab5bd[_0x1addd1]['push']([_0xaa3f55,_0xaa3f55['deserialize'](String(_0xa51432))]);}if(_0xb42254['nodeProps'])for(let _0x33e7f1 of _0xb42254['nodeProps']){let _0x208cf0=_0x33e7f1[0x0];'string'==typeof _0x208cf0&&(_0x208cf0=_0x114f67[_0x208cf0]);for(let _0x3fa708=0x1;_0x3fa708<_0x33e7f1['length'];){let _0x354170=_0x33e7f1[_0x3fa708++];if(_0x354170>=0x0)_0xdf8286(_0x354170,_0x208cf0,_0x33e7f1[_0x3fa708++]);else{let _0x282385=_0x33e7f1[_0x3fa708+-_0x354170];for(let _0x159251=-_0x354170;_0x159251>0x0;_0x159251--)_0xdf8286(_0x33e7f1[_0x3fa708++],_0x208cf0,_0x282385);_0x3fa708++;}}}this['nodeSet']=new NodeSet(_0x11f16a['map']((_0x551e55,_0x142b80)=>_0x5d390a['define']({'name':_0x142b80>=this['minRepeatTerm']?void 0x0:_0x551e55,'id':_0x142b80,'props':_0x4ab5bd[_0x142b80],'top':_0x364d0e['indexOf'](_0x142b80)>-0x1,'error':0x0==_0x142b80,'skipped':_0xb42254['skippedNodes']&&_0xb42254['skippedNodes']['indexOf'](_0x142b80)>-0x1}))),_0xb42254['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0xb42254['propSources'])),this['strict']=!0x1,this['bufferLength']=DefaultBufferLength;let _0x525c7e=_0x4bf9fc(_0xb42254['tokenData']);this['context']=_0xb42254['context'],this['specializerSpecs']=_0xb42254['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x50fb24=0x0;_0x50fb24<this['specializerSpecs']['length'];_0x50fb24++)this['specialized'][_0x50fb24]=this['specializerSpecs'][_0x50fb24]['term'];this['specializers']=this['specializerSpecs']['map'](getSpecializer),this['states']=_0x4bf9fc(_0xb42254['states'],Uint32Array),this['data']=_0x4bf9fc(_0xb42254['stateData']),this['goto']=_0x4bf9fc(_0xb42254['goto']),this['maxTerm']=_0xb42254['maxTerm'],this['tokenizers']=_0xb42254['tokenizers']['map'](_0x36bbcb=>'number'==typeof _0x36bbcb?new _0xf9e7b3(_0x525c7e,_0x36bbcb):_0x36bbcb),this['topRules']=_0xb42254['topRules'],this['dialects']=_0xb42254['dialects']||{},this['dynamicPrecedences']=_0xb42254['dynamicPrecedences']||null,this['tokenPrecTable']=_0xb42254['tokenPrec'],this['termNames']=_0xb42254['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x487da2,_0x7f8640,_0x16b2f8){let _0x1d1fef=new _0x8ae96e(this,_0x487da2,_0x7f8640,_0x16b2f8);for(let _0x59da6a of this['wrappers'])_0x1d1fef=_0x59da6a(_0x1d1fef,_0x487da2,_0x7f8640,_0x16b2f8);return _0x1d1fef;}['getGoto'](_0x5e4706,_0x18db12,_0x173f10=!0x1){let _0x25bf55=this['goto'];if(_0x18db12>=_0x25bf55[0x0])return-0x1;for(let _0xa2a9c7=_0x25bf55[_0x18db12+0x1];;){let _0x568927=_0x25bf55[_0xa2a9c7++],_0x5c3d29=0x1&_0x568927,_0x25d7f3=_0x25bf55[_0xa2a9c7++];if(_0x5c3d29&&_0x173f10)return _0x25d7f3;for(let _0x58e9c2=_0xa2a9c7+(_0x568927>>0x1);_0xa2a9c7<_0x58e9c2;_0xa2a9c7++)if(_0x25bf55[_0xa2a9c7]==_0x5e4706)return _0x25d7f3;if(_0x5c3d29)return-0x1;}}['hasAction'](_0x3c46c1,_0x42aaba){let _0x45b8d4=this['data'];for(let _0x372426=0x0;_0x372426<0x2;_0x372426++)for(let _0x323b04,_0x14c641=this['stateSlot'](_0x3c46c1,_0x372426?0x2:0x1);;_0x14c641+=0x3){if(0xffff==(_0x323b04=_0x45b8d4[_0x14c641])){if(0x1!=_0x45b8d4[_0x14c641+0x1]){if(0x2==_0x45b8d4[_0x14c641+0x1])return _0x50c1ac(_0x45b8d4,_0x14c641+0x2);break;}_0x323b04=_0x45b8d4[_0x14c641=_0x50c1ac(_0x45b8d4,_0x14c641+0x2)];}if(_0x323b04==_0x42aaba||0x0==_0x323b04)return _0x50c1ac(_0x45b8d4,_0x14c641+0x1);}return 0x0;}['stateSlot'](_0x2cb8b6,_0x1c0d9c){return this['states'][0x6*_0x2cb8b6+_0x1c0d9c];}['stateFlag'](_0x3dcee3,_0x250232){return(this['stateSlot'](_0x3dcee3,0x0)&_0x250232)>0x0;}['validAction'](_0xc2078,_0x13a337){return!!this['allActions'](_0xc2078,_0x207f14=>_0x207f14==_0x13a337||null);}['allActions'](_0x21c50c,_0x4821bf){let _0xeffedc=this['stateSlot'](_0x21c50c,0x4),_0x353090=_0xeffedc?_0x4821bf(_0xeffedc):void 0x0;for(let _0x4e6a23=this['stateSlot'](_0x21c50c,0x1);null==_0x353090;_0x4e6a23+=0x3){if(0xffff==this['data'][_0x4e6a23]){if(0x1!=this['data'][_0x4e6a23+0x1])break;_0x4e6a23=_0x50c1ac(this['data'],_0x4e6a23+0x2);}_0x353090=_0x4821bf(_0x50c1ac(this['data'],_0x4e6a23+0x1));}return _0x353090;}['nextStates'](_0x458dce){let _0x513f6b=[];for(let _0x288ba2=this['stateSlot'](_0x458dce,0x1);;_0x288ba2+=0x3){if(0xffff==this['data'][_0x288ba2]){if(0x1!=this['data'][_0x288ba2+0x1])break;_0x288ba2=_0x50c1ac(this['data'],_0x288ba2+0x2);}if(!(0x1&this['data'][_0x288ba2+0x2])){let _0x49be3a=this['data'][_0x288ba2+0x1];_0x513f6b['some']((_0x45525e,_0x522f5d)=>0x1&_0x522f5d&&_0x45525e==_0x49be3a)||_0x513f6b['push'](this['data'][_0x288ba2],_0x49be3a);}}return _0x513f6b;}['configure'](_0x2f7a77){let _0x377345=Object['assign'](Object['create'](_0x128ed2['prototype']),this);if(_0x2f7a77['props']&&(_0x377345['nodeSet']=this['nodeSet']['extend'](..._0x2f7a77['props'])),_0x2f7a77['top']){let _0x41630c=this['topRules'][_0x2f7a77['top']];if(!_0x41630c)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0x2f7a77['top']);_0x377345['top']=_0x41630c;}return _0x2f7a77['tokenizers']&&(_0x377345['tokenizers']=this['tokenizers']['map'](t=>{let _0x567fbd=_0x2f7a77['tokenizers']['find'](_0x9e8166=>_0x9e8166['from']==t);return _0x567fbd?_0x567fbd['to']:t;})),_0x2f7a77['specializers']&&(_0x377345['specializers']=this['specializers']['slice'](),_0x377345['specializerSpecs']=this['specializerSpecs']['map']((_0x531eed,_0x2d5b36)=>{let _0x2913be=_0x2f7a77['specializers']['find'](_0x31d609=>_0x31d609['from']==_0x531eed['external']);if(!_0x2913be)return _0x531eed;let _0x18c1e4=Object['assign'](Object['assign']({},_0x531eed),{'external':_0x2913be['to']});return _0x377345['specializers'][_0x2d5b36]=getSpecializer(_0x18c1e4),_0x18c1e4;})),_0x2f7a77['contextTracker']&&(_0x377345['context']=_0x2f7a77['contextTracker']),_0x2f7a77['dialect']&&(_0x377345['dialect']=this['parseDialect'](_0x2f7a77['dialect'])),null!=_0x2f7a77['strict']&&(_0x377345['strict']=_0x2f7a77['strict']),_0x2f7a77['wrap']&&(_0x377345['wrappers']=_0x377345['wrappers']['concat'](_0x2f7a77['wrap'])),null!=_0x2f7a77['bufferLength']&&(_0x377345['bufferLength']=_0x2f7a77['bufferLength']),_0x377345;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0x27bc51){return this['termNames']?this['termNames'][_0x27bc51]:String(_0x27bc51<=this['maxNode']&&this['nodeSet']['types'][_0x27bc51]['name']||_0x27bc51);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x15ee2a){let _0x818e2a=this['dynamicPrecedences'];return null==_0x818e2a?0x0:_0x818e2a[_0x15ee2a]||0x0;}['parseDialect'](_0x5362e3){let _0x4a8cd1=Object['keys'](this['dialects']),_0x2d9a92=_0x4a8cd1['map'](()=>!0x1);if(_0x5362e3)for(let _0x4ce0d0 of _0x5362e3['split']('\x20')){let _0x50abab=_0x4a8cd1['indexOf'](_0x4ce0d0);_0x50abab>=0x0&&(_0x2d9a92[_0x50abab]=!0x0);}let _0xfd4238=null;for(let _0x565315=0x0;_0x565315<_0x4a8cd1['length'];_0x565315++)if(!_0x2d9a92[_0x565315]){for(let _0x525302,_0x310833=this['dialects'][_0x4a8cd1[_0x565315]];0xffff!=(_0x525302=this['data'][_0x310833++]);)(_0xfd4238||(_0xfd4238=new Uint8Array(this['maxTerm']+0x1)))[_0x525302]=0x1;}return new Dialect(_0x5362e3,_0x2d9a92,_0xfd4238);}static['deserialize'](_0x5694a3){return new _0x128ed2(_0x5694a3);}}function _0x50c1ac(_0x512479,_0x421d86){return _0x512479[_0x421d86]|_0x512479[_0x421d86+0x1]<<0x10;}function _0x238830(_0x4ccfde){let _0x326bab=null;for(let _0x27225c of _0x4ccfde){let _0x3eea00=_0x27225c['p']['stoppedAt'];(_0x27225c['pos']==_0x27225c['p']['stream']['end']||null!=_0x3eea00&&_0x27225c['pos']>_0x3eea00)&&_0x27225c['p']['parser']['stateFlag'](_0x27225c['state'],0x2)&&(!_0x326bab||_0x326bab['score']<_0x27225c['score'])&&(_0x326bab=_0x27225c);}return _0x326bab;}function getSpecializer(_0x2de203){if(_0x2de203['external']){let _0x269e63=_0x2de203['extend']?0x1:0x0;return(_0x7eb688,_0x2b74aa)=>_0x2de203['external'](_0x7eb688,_0x2b74aa)<<0x1|_0x269e63;}return _0x2de203['get'];}const scriptText=0x37,StartCloseScriptTag=0x1,styleText=0x38,StartCloseStyleTag=0x2,textareaText=0x39,StartCloseTextareaTag=0x3,_0x1ebf4c=0x4,_0x31e624=0x5,StartTag=0x6,StartScriptTag=0x7,StartStyleTag=0x8,StartTextareaTag=0x9,StartSelfClosingTag=0xa,StartCloseTag=0xb,NoMatchStartCloseTag=0xc,MismatchedStartCloseTag=0xd,_0x4cca6a=0x3a,IncompleteTag=0xe,IncompleteCloseTag=0xf,commentContent$1=0x3b,Element$2=0x15,_0x3fc047=0x17,Attribute=0x18,AttributeName=0x19,AttributeValue=0x1b,UnquotedAttributeValue=0x1c,ScriptText=0x1d,StyleText=0x20,TextareaText=0x23,_0x2593e2=0x25,_0x392dd0=0x26,Dialect_noMatch=0x0,Dialect_selfClosing=0x1,_0x1770a7={'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},_0x2dee72={'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 _0x418a31(_0x26a318){return 0x2d==_0x26a318||0x2e==_0x26a318||0x3a==_0x26a318||_0x26a318>=0x41&&_0x26a318<=0x5a||0x5f==_0x26a318||_0x26a318>=0x61&&_0x26a318<=0x7a||_0x26a318>=0xa1;}let _0x1b7941=null,cachedInput=null,_0x138f26=0x0;function tagNameAfter(_0x258e38,_0x5353f4){let _0x33b4f3=_0x258e38['pos']+_0x5353f4;if(_0x138f26==_0x33b4f3&&cachedInput==_0x258e38)return _0x1b7941;let _0x20842d=_0x258e38['peek'](_0x5353f4),_0x3b0ca4='';for(;_0x418a31(_0x20842d);)_0x3b0ca4+=String['fromCharCode'](_0x20842d),_0x20842d=_0x258e38['peek'](++_0x5353f4);return cachedInput=_0x258e38,_0x138f26=_0x33b4f3,_0x1b7941=_0x3b0ca4?_0x3b0ca4['toLowerCase']():_0x20842d==question$1||_0x20842d==_0x1c8205?void 0x0:null;}const _0x4d8f37=0x3c,greaterThan=0x3e,_0xe85927=0x2f,question$1=0x3f,_0x1c8205=0x21,_0x24688a=0x2d;function ElementContext(_0x550efa,_0x423139){this['name']=_0x550efa,this['parent']=_0x423139;}const startTagTerms=[StartTag,StartSelfClosingTag,StartScriptTag,StartStyleTag,StartTextareaTag],elementContext=new ContextTracker({'start':null,'shift':(_0x22c634,_0x4174ef,_0x5701dc,_0xf95669)=>startTagTerms['indexOf'](_0x4174ef)>-0x1?new ElementContext(tagNameAfter(_0xf95669,0x1)||'',_0x22c634):_0x22c634,'reduce':(_0x6c23e,_0x41b34d)=>_0x41b34d==Element$2&&_0x6c23e?_0x6c23e['parent']:_0x6c23e,'reuse'(_0x3acf18,_0x1f58f9,_0x2a840b,_0x23ce11){let _0x2b87d6=_0x1f58f9['type']['id'];return _0x2b87d6==StartTag||_0x2b87d6==_0x2593e2?new ElementContext(tagNameAfter(_0x23ce11,0x1)||'',_0x3acf18):_0x3acf18;},'strict':!0x1}),tagStart=new ExternalTokenizer((_0x9c839d,_0x1fcc12)=>{if(_0x9c839d['next']!=_0x4d8f37)return void(_0x9c839d['next']<0x0&&_0x1fcc12['context']&&_0x9c839d['acceptToken'](_0x4cca6a));_0x9c839d['advance']();let _0x555619=_0x9c839d['next']==_0xe85927;_0x555619&&_0x9c839d['advance']();let _0xa7f335=tagNameAfter(_0x9c839d,0x0);if(void 0x0===_0xa7f335)return;if(!_0xa7f335)return _0x9c839d['acceptToken'](_0x555619?IncompleteCloseTag:IncompleteTag);let _0x36bb4f=_0x1fcc12['context']?_0x1fcc12['context']['name']:null;if(_0x555619){if(_0xa7f335==_0x36bb4f)return _0x9c839d['acceptToken'](StartCloseTag);if(_0x36bb4f&&implicitlyClosed[_0x36bb4f])return _0x9c839d['acceptToken'](_0x4cca6a,-0x2);if(_0x1fcc12['dialectEnabled'](Dialect_noMatch))return _0x9c839d['acceptToken'](NoMatchStartCloseTag);for(let _0x339fab=_0x1fcc12['context'];_0x339fab;_0x339fab=_0x339fab['parent'])if(_0x339fab['name']==_0xa7f335)return;_0x9c839d['acceptToken'](MismatchedStartCloseTag);}else{if('script'==_0xa7f335)return _0x9c839d['acceptToken'](StartScriptTag);if('style'==_0xa7f335)return _0x9c839d['acceptToken'](StartStyleTag);if('textarea'==_0xa7f335)return _0x9c839d['acceptToken'](StartTextareaTag);if(_0x1770a7['hasOwnProperty'](_0xa7f335))return _0x9c839d['acceptToken'](StartSelfClosingTag);_0x36bb4f&&_0x2dee72[_0x36bb4f]&&_0x2dee72[_0x36bb4f][_0xa7f335]?_0x9c839d['acceptToken'](_0x4cca6a,-0x1):_0x9c839d['acceptToken'](StartTag);}},{'contextual':!0x0}),commentContent=new ExternalTokenizer(_0x1f9c56=>{for(let _0x31c4db=0x0,_0x311033=0x0;;_0x311033++){if(_0x1f9c56['next']<0x0){_0x311033&&_0x1f9c56['acceptToken'](commentContent$1);break;}if(_0x1f9c56['next']==_0x24688a)_0x31c4db++;else{if(_0x1f9c56['next']==greaterThan&&_0x31c4db>=0x2){_0x311033>=0x3&&_0x1f9c56['acceptToken'](commentContent$1,-0x2);break;}_0x31c4db=0x0;}_0x1f9c56['advance']();}});function inForeignElement(_0x48f837){for(;_0x48f837;_0x48f837=_0x48f837['parent'])if('svg'==_0x48f837['name']||'math'==_0x48f837['name'])return!0x0;return!0x1;}const _0x4cc2f0=new ExternalTokenizer((_0x134f76,_0x29df45)=>{if(_0x134f76['next']==_0xe85927&&_0x134f76['peek'](0x1)==greaterThan){let _0x41af03=_0x29df45['dialectEnabled'](Dialect_selfClosing)||inForeignElement(_0x29df45['context']);_0x134f76['acceptToken'](_0x41af03?_0x31e624:_0x1ebf4c,0x2);}else _0x134f76['next']==greaterThan&&_0x134f76['acceptToken'](_0x1ebf4c,0x1);});function contentTokenizer(_0x223110,_0x1e199a,_0x4a0e82){let _0x2d66b=0x2+_0x223110['length'];return new ExternalTokenizer(_0x230103=>{for(let _0x2394cd=0x0,_0x2dd3b3=0x0,_0x1d10fe=0x0;;_0x1d10fe++){if(_0x230103['next']<0x0){_0x1d10fe&&_0x230103['acceptToken'](_0x1e199a);break;}if(0x0==_0x2394cd&&_0x230103['next']==_0x4d8f37||0x1==_0x2394cd&&_0x230103['next']==_0xe85927||_0x2394cd>=0x2&&_0x2394cd<_0x2d66b&&_0x230103['next']==_0x223110['charCodeAt'](_0x2394cd-0x2))_0x2394cd++,_0x2dd3b3++;else{if(_0x2394cd==_0x2d66b&&_0x230103['next']==greaterThan){_0x1d10fe>_0x2dd3b3?_0x230103['acceptToken'](_0x1e199a,-_0x2dd3b3):_0x230103['acceptToken'](_0x4a0e82,-(_0x2dd3b3-0x2));break;}if((0xa==_0x230103['next']||0xd==_0x230103['next'])&&_0x1d10fe){_0x230103['acceptToken'](_0x1e199a,0x1);break;}_0x2394cd=_0x2dd3b3=0x0;}_0x230103['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']}),_0x1278ec=_0x128ed2['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,_0x4cc2f0,tagStart,commentContent,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0x10]},'dialects':{'noMatch':0x0,'selfClosing':0x203},'tokenPrec':0x205});function getAttrs(_0x27ec82,_0x16803e){let _0x1d7a0f=Object['create'](null);for(let _0x2a29da of _0x27ec82['getChildren'](Attribute)){let _0x5c374a=_0x2a29da['getChild'](AttributeName),_0xb8202e=_0x2a29da['getChild'](AttributeValue)||_0x2a29da['getChild'](UnquotedAttributeValue);_0x5c374a&&(_0x1d7a0f[_0x16803e['read'](_0x5c374a['from'],_0x5c374a['to'])]=_0xb8202e?_0xb8202e['type']['id']==AttributeValue?_0x16803e['read'](_0xb8202e['from']+0x1,_0xb8202e['to']-0x1):_0x16803e['read'](_0xb8202e['from'],_0xb8202e['to']):'');}return _0x1d7a0f;}function _0x190f62(_0x431a55,_0x461eb1){let _0x501940=_0x431a55['getChild'](_0x3fc047);return _0x501940?_0x461eb1['read'](_0x501940['from'],_0x501940['to']):'\x20';}function maybeNest(_0x4312fa,_0x3a87b1,_0x421a5e){let _0x1dfab4;for(let _0xf7bf03 of _0x421a5e)if(!_0xf7bf03['attrs']||_0xf7bf03['attrs'](_0x1dfab4||(_0x1dfab4=getAttrs(_0x4312fa['node']['parent']['firstChild'],_0x3a87b1))))return{'parser':_0xf7bf03['parser']};return null;}function configureNesting(_0x382988=[],_0x468285=[]){let _0x1c48d9=[],_0x17b575=[],_0x3659fc=[],_0x2f88ad=[];for(let _0x4a697d of _0x382988){('script'==_0x4a697d['tag']?_0x1c48d9:'style'==_0x4a697d['tag']?_0x17b575:'textarea'==_0x4a697d['tag']?_0x3659fc:_0x2f88ad)['push'](_0x4a697d);}let _0x23b348=_0x468285['length']?Object['create'](null):null;for(let _0x4106c5 of _0x468285)(_0x23b348[_0x4106c5['name']]||(_0x23b348[_0x4106c5['name']]=[]))['push'](_0x4106c5);return _0x29b244((_0x39e64f,_0x2e6467)=>{let _0x31bb5c=_0x39e64f['type']['id'];if(_0x31bb5c==ScriptText)return maybeNest(_0x39e64f,_0x2e6467,_0x1c48d9);if(_0x31bb5c==StyleText)return maybeNest(_0x39e64f,_0x2e6467,_0x17b575);if(_0x31bb5c==TextareaText)return maybeNest(_0x39e64f,_0x2e6467,_0x3659fc);if(_0x31bb5c==Element$2&&_0x2f88ad['length']){let _0x2e2436,_0x3c92a4=_0x39e64f['node'],_0x1d4f20=_0x3c92a4['firstChild'],_0x609bf=_0x1d4f20&&_0x190f62(_0x1d4f20,_0x2e6467);if(_0x609bf){for(let _0x387b96 of _0x2f88ad)if(_0x387b96['tag']==_0x609bf&&(!_0x387b96['attrs']||_0x387b96['attrs'](_0x2e2436||(_0x2e2436=getAttrs(_0x1d4f20,_0x2e6467))))){let _0x9df902=_0x3c92a4['lastChild'],_0x8c0e99=_0x9df902['type']['id']==_0x392dd0?_0x9df902['from']:_0x3c92a4['to'];if(_0x8c0e99>_0x1d4f20['to'])return{'parser':_0x387b96['parser'],'overlay':[{'from':_0x1d4f20['to'],'to':_0x8c0e99}]};}}}if(_0x23b348&&_0x31bb5c==Attribute){let _0x37aca1,_0x155455=_0x39e64f['node'];if(_0x37aca1=_0x155455['firstChild']){let _0xe50704=_0x23b348[_0x2e6467['read'](_0x37aca1['from'],_0x37aca1['to'])];if(_0xe50704)for(let _0x1ee271 of _0xe50704){if(_0x1ee271['tagName']&&_0x1ee271['tagName']!=_0x190f62(_0x155455['parent'],_0x2e6467))continue;let _0x1d8762=_0x155455['lastChild'];if(_0x1d8762['type']['id']==AttributeValue){let _0x143ec7=_0x1d8762['from']+0x1,_0x43a4fc=_0x1d8762['lastChild'],_0x5a4565=_0x1d8762['to']-(_0x43a4fc&&_0x43a4fc['isError']?0x0:0x1);if(_0x5a4565>_0x143ec7)return{'parser':_0x1ee271['parser'],'overlay':[{'from':_0x143ec7,'to':_0x5a4565}]};}else{if(_0x1d8762['type']['id']==UnquotedAttributeValue)return{'parser':_0x1ee271['parser'],'overlay':[{'from':_0x1d8762['from'],'to':_0x1d8762['to']}]};}}}}return null;});}const descendantOp=0x7a,Unit=0x1,identifier$2=0x7b,_0x4dfa84=0x7c,_0x55e1e0=0x2,queryIdentifier=0x7d,_0x4cc710=0x3,_0x18fd75=0x4,_0x56af27=[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],_0x45ce13=0x3a,_0x4e9c95=0x28,_0x42bdc1=0x5f,bracketL$1=0x5b,_0xd633f6=0x2d,_0x513eb5=0x2e,_0x46ba7e=0x23,percent=0x25,_0x2b6e6d=0x26,_0x4ab4ec=0x5c,_0xe07ab=0xa,asterisk=0x2a;function _0x59cf0f(_0x4b4e00){return _0x4b4e00>=0x41&&_0x4b4e00<=0x5a||_0x4b4e00>=0x61&&_0x4b4e00<=0x7a||_0x4b4e00>=0xa1;}function isDigit(_0x406d8d){return _0x406d8d>=0x30&&_0x406d8d<=0x39;}function _0x21f7f4(_0x56a811){return isDigit(_0x56a811)||_0x56a811>=0x61&&_0x56a811<=0x66||_0x56a811>=0x41&&_0x56a811<=0x46;}const identifierTokens=(_0x3308b8,_0x4102cb,_0x58211e)=>(_0xe69087,_0x2bc6f9)=>{for(let _0x2f9217=!0x1,_0xf9a23e=0x0,_0x4f3e0f=0x0;;_0x4f3e0f++){let {next:_0x3b7c83}=_0xe69087;if(_0x59cf0f(_0x3b7c83)||_0x3b7c83==_0xd633f6||_0x3b7c83==_0x42bdc1||_0x2f9217&&isDigit(_0x3b7c83))!_0x2f9217&&(_0x3b7c83!=_0xd633f6||_0x4f3e0f>0x0)&&(_0x2f9217=!0x0),_0xf9a23e===_0x4f3e0f&&_0x3b7c83==_0xd633f6&&_0xf9a23e++,_0xe69087['advance']();else{if(_0x3b7c83!=_0x4ab4ec||_0xe69087['peek'](0x1)==_0xe07ab){_0x2f9217&&_0xe69087['acceptToken'](0x2==_0xf9a23e&&_0x2bc6f9['canShift'](_0x55e1e0)?_0x4102cb:_0x3b7c83==_0x4e9c95?_0x58211e:_0x3308b8);break;}if(_0xe69087['advance'](),_0x21f7f4(_0xe69087['next'])){do{_0xe69087['advance']();}while(_0x21f7f4(_0xe69087['next']));0x20==_0xe69087['next']&&_0xe69087['advance']();}else _0xe69087['next']>-0x1&&_0xe69087['advance']();_0x2f9217=!0x0;}}},identifiers=new ExternalTokenizer(identifierTokens(identifier$2,_0x55e1e0,_0x4dfa84)),queryIdentifiers=new ExternalTokenizer(identifierTokens(queryIdentifier,_0x4cc710,_0x18fd75)),descendant=new ExternalTokenizer(_0x430e7b=>{if(_0x56af27['includes'](_0x430e7b['peek'](-0x1))){let {next:_0x515067}=_0x430e7b;(_0x59cf0f(_0x515067)||_0x515067==_0x42bdc1||_0x515067==_0x46ba7e||_0x515067==_0x513eb5||_0x515067==asterisk||_0x515067==bracketL$1||_0x515067==_0x45ce13&&_0x59cf0f(_0x430e7b['peek'](0x1))||_0x515067==_0xd633f6||_0x515067==_0x2b6e6d)&&_0x430e7b['acceptToken'](descendantOp);}}),unitToken=new ExternalTokenizer(_0x295a36=>{if(!_0x56af27['includes'](_0x295a36['peek'](-0x1))){let {next:_0x41170a}=_0x295a36;if(_0x41170a==percent&&(_0x295a36['advance'](),_0x295a36['acceptToken'](Unit)),_0x59cf0f(_0x41170a)){do{_0x295a36['advance']();}while(_0x59cf0f(_0x295a36['next'])||isDigit(_0x295a36['next']));_0x295a36['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']}),_0x39a22d={'__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},_0xc7d3eb={'__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},_0x4e56c4=_0x128ed2['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 _0x65745f('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':_0x379a26=>_0x39a22d[_0x379a26]||-0x1},{'term':0x7d,'get':_0x7f9386=>spec_queryIdentifier[_0x7f9386]||-0x1},{'term':0x4,'get':_0x2f8010=>_0xc7d3eb[_0x2f8010]||-0x1},{'term':0x19,'get':_0x4a542b=>spec_AtKeyword[_0x4a542b]||-0x1},{'term':0x7b,'get':_0x3c45a4=>spec_identifier$1[_0x3c45a4]||-0x1}],'tokenPrec':0x7ab});let _properties=null;function properties(){if(!_properties&&'object'==typeof document&&document['body']){let {style:_0xac3df5}=document['body'],_0x520e53=[],_0x21ab6b=new Set();for(let _0x31797b in _0xac3df5)'cssText'!=_0x31797b&&'cssFloat'!=_0x31797b&&'string'==typeof _0xac3df5[_0x31797b]&&(/[A-Z]/['test'](_0x31797b)&&(_0x31797b=_0x31797b['replace'](/[A-Z]/g,_0x274825=>'-'+_0x274825['toLowerCase']())),_0x21ab6b['has'](_0x31797b)||(_0x520e53['push'](_0x31797b),_0x21ab6b['add'](_0x31797b)));_properties=_0x520e53['sort']()['map'](_0x24a7fe=>({'type':'property','label':_0x24a7fe,'apply':_0x24a7fe+':\x20'}));}return _properties||[];}const _0x4eec04=['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'](_0x3247a5=>({'type':'class','label':_0x3247a5})),_0x359c50=['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'](_0x45ba7b=>({'type':'keyword','label':_0x45ba7b}))['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'](_0x2b4243=>({'type':'constant','label':_0x2b4243}))),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'](_0x5f1c4b=>({'type':'type','label':_0x5f1c4b})),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'](_0x519faf=>({'type':'keyword','label':_0x519faf})),identifier$1=/^(\w[\w-]*|-\w[\w-]*|)$/,_0x598daa=/^-(-[\w-]*)?$/;function _0x363cb6(_0x1dbaf6,_0x533412){var _0x58e479;if(('('==_0x1dbaf6['name']||_0x1dbaf6['type']['isError'])&&(_0x1dbaf6=_0x1dbaf6['parent']||_0x1dbaf6),'ArgList'!=_0x1dbaf6['name'])return!0x1;let _0x38ab39=null===(_0x58e479=_0x1dbaf6['parent'])||void 0x0===_0x58e479?void 0x0:_0x58e479['firstChild'];return'Callee'==(null==_0x38ab39?void 0x0:_0x38ab39['name'])&&'var'==_0x533412['sliceString'](_0x38ab39['from'],_0x38ab39['to']);}const _0x45ae1e=new _0x39d390(),declSelector=['Declaration'];function astTop(_0xa1248e){for(let _0x2bde46=_0xa1248e;;){if(_0x2bde46['type']['isTop'])return _0x2bde46;if(!(_0x2bde46=_0x2bde46['parent']))return _0xa1248e;}}function _0x5000a8(_0x415cf3,_0x4d33c5,_0x279943){if(_0x4d33c5['to']-_0x4d33c5['from']>0x1000){let _0x39e11f=_0x45ae1e['get'](_0x4d33c5);if(_0x39e11f)return _0x39e11f;let _0x163866=[],_0x5db7ad=new Set(),_0x43801a=_0x4d33c5['cursor'](IterMode['IncludeAnonymous']);if(_0x43801a['firstChild']())do{for(let _0x3db11a of _0x5000a8(_0x415cf3,_0x43801a['node'],_0x279943))_0x5db7ad['has'](_0x3db11a['label'])||(_0x5db7ad['add'](_0x3db11a['label']),_0x163866['push'](_0x3db11a));}while(_0x43801a['nextSibling']());return _0x45ae1e['set'](_0x4d33c5,_0x163866),_0x163866;}{let _0x351ca5=[],_0x2b847f=new Set();return _0x4d33c5['cursor']()['iterate'](_0xbdef12=>{var _0x46fe16;if(_0x279943(_0xbdef12)&&_0xbdef12['matchContext'](declSelector)&&':'==(null===(_0x46fe16=_0xbdef12['node']['nextSibling'])||void 0x0===_0x46fe16?void 0x0:_0x46fe16['name'])){let _0x1b9003=_0x415cf3['sliceString'](_0xbdef12['from'],_0xbdef12['to']);_0x2b847f['has'](_0x1b9003)||(_0x2b847f['add'](_0x1b9003),_0x351ca5['push']({'label':_0x1b9003,'type':'variable'}));}}),_0x351ca5;}}const defineCSSCompletionSource=_0x10fb1f=>_0x30c6cc=>{let {state:_0x4d1a3b,pos:_0x24b0ec}=_0x30c6cc,_0x375253=syntaxTree(_0x4d1a3b)['resolveInner'](_0x24b0ec,-0x1),_0x951585=_0x375253['type']['isError']&&_0x375253['from']==_0x375253['to']-0x1&&'-'==_0x4d1a3b['doc']['sliceString'](_0x375253['from'],_0x375253['to']);if('PropertyName'==_0x375253['name']||(_0x951585||'TagName'==_0x375253['name'])&&/^(Block|Styles)$/['test'](_0x375253['resolve'](_0x375253['to'])['name']))return{'from':_0x375253['from'],'options':properties(),'validFor':identifier$1};if('ValueName'==_0x375253['name'])return{'from':_0x375253['from'],'options':_0x359c50,'validFor':identifier$1};if('PseudoClassName'==_0x375253['name'])return{'from':_0x375253['from'],'options':_0x4eec04,'validFor':identifier$1};if(_0x10fb1f(_0x375253)||(_0x30c6cc['explicit']||_0x951585)&&_0x363cb6(_0x375253,_0x4d1a3b['doc']))return{'from':_0x10fb1f(_0x375253)||_0x951585?_0x375253['from']:_0x24b0ec,'options':_0x5000a8(_0x4d1a3b['doc'],astTop(_0x375253),_0x10fb1f),'validFor':_0x598daa};if('TagName'==_0x375253['name']){for(let {parent:_0x429e0a}=_0x375253;_0x429e0a;_0x429e0a=_0x429e0a['parent'])if('Block'==_0x429e0a['name'])return{'from':_0x375253['from'],'options':properties(),'validFor':identifier$1};return{'from':_0x375253['from'],'options':tags,'validFor':identifier$1};}if('AtKeyword'==_0x375253['name'])return{'from':_0x375253['from'],'options':atRules,'validFor':identifier$1};if(!_0x30c6cc['explicit'])return null;let _0x3e9ac9=_0x375253['resolve'](_0x24b0ec),_0x404933=_0x3e9ac9['childBefore'](_0x24b0ec);return _0x404933&&':'==_0x404933['name']&&'PseudoClassSelector'==_0x3e9ac9['name']?{'from':_0x24b0ec,'options':_0x4eec04,'validFor':identifier$1}:_0x404933&&':'==_0x404933['name']&&'Declaration'==_0x3e9ac9['name']||'ArgList'==_0x3e9ac9['name']?{'from':_0x24b0ec,'options':_0x359c50,'validFor':identifier$1}:'Block'==_0x3e9ac9['name']||'Styles'==_0x3e9ac9['name']?{'from':_0x24b0ec,'options':properties(),'validFor':identifier$1}:null;},cssCompletionSource=defineCSSCompletionSource(_0x2e6f93=>'VariableName'==_0x2e6f93['name']),_0x59f9bf=_0x2724b2['define']({'name':'css','parser':_0x4e56c4['configure']({'props':[indentNodeProp['add']({'Declaration':continuedIndent()}),_0x3aee37['add']({'Block\x20KeyframeList':_0x444f11})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}});function _0x5d14b8(){return new LanguageSupport(_0x59f9bf,_0x59f9bf['data']['of']({'autocomplete':cssCompletionSource}));}const _0x459b1c=0x13c,_0x2dae86=0x13d,_0x2d7258=0x1,_0x4df4bf=0x2,questionDot=0x3,JSXStartTag=0x4,insertSemi=0x13e,_0x4126f9=0x140,_0x1e23e8=0x141,LineComment=0x5,BlockComment=0x6,Dialect_jsx=0x0,_0x240002=[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],_0x5acbcc=0x7d,_0x3555e9=0x3b,_0x3d8416=0x2f,star=0x2a,_0xcfc76e=0x2b,_0x1c7251=0x2d,lt=0x3c,_0x372844=0x2c,question=0x3f,dot=0x2e,bracketL=0x5b,trackNewline=new ContextTracker({'start':!0x1,'shift':(_0x46d29c,_0x2b149e)=>_0x2b149e==LineComment||_0x2b149e==BlockComment||_0x2b149e==_0x4126f9?_0x46d29c:_0x2b149e==_0x1e23e8,'strict':!0x1}),insertSemicolon=new ExternalTokenizer((_0x1948bf,_0x489de7)=>{let {next:_0x7687a3}=_0x1948bf;(_0x7687a3==_0x5acbcc||-0x1==_0x7687a3||_0x489de7['context'])&&_0x1948bf['acceptToken'](insertSemi);},{'contextual':!0x0,'fallback':!0x0}),_0x471b52=new ExternalTokenizer((_0x151272,_0x5243dc)=>{let _0x1109ed,{next:_0x2f248a}=_0x151272;_0x240002['indexOf'](_0x2f248a)>-0x1||(_0x2f248a!=_0x3d8416||(_0x1109ed=_0x151272['peek'](0x1))!=_0x3d8416&&_0x1109ed!=star)&&(_0x2f248a==_0x5acbcc||_0x2f248a==_0x3555e9||-0x1==_0x2f248a||_0x5243dc['context']||_0x151272['acceptToken'](_0x459b1c));},{'contextual':!0x0}),_0x3c2f44=new ExternalTokenizer((_0x50e8a7,_0x392661)=>{_0x50e8a7['next']!=bracketL||_0x392661['context']||_0x50e8a7['acceptToken'](_0x2dae86);},{'contextual':!0x0}),operatorToken=new ExternalTokenizer((_0x5c4a78,_0x27e73e)=>{let {next:_0x3ec3d2}=_0x5c4a78;if(_0x3ec3d2==_0xcfc76e||_0x3ec3d2==_0x1c7251){if(_0x5c4a78['advance'](),_0x3ec3d2==_0x5c4a78['next']){_0x5c4a78['advance']();let _0x40fd60=!_0x27e73e['context']&&_0x27e73e['canShift'](_0x2d7258);_0x5c4a78['acceptToken'](_0x40fd60?_0x2d7258:_0x4df4bf);}}else _0x3ec3d2==question&&_0x5c4a78['peek'](0x1)==dot&&(_0x5c4a78['advance'](),_0x5c4a78['advance'](),(_0x5c4a78['next']<0x30||_0x5c4a78['next']>0x39)&&_0x5c4a78['acceptToken'](questionDot));},{'contextual':!0x0});function identifierChar(_0x14fd27,_0x58d8fd){return _0x14fd27>=0x41&&_0x14fd27<=0x5a||_0x14fd27>=0x61&&_0x14fd27<=0x7a||0x5f==_0x14fd27||_0x14fd27>=0xc0||!_0x58d8fd&&_0x14fd27>=0x30&&_0x14fd27<=0x39;}const _0x4e2a1b=new ExternalTokenizer((_0x4e9505,_0x244d7c)=>{if(_0x4e9505['next']!=lt||!_0x244d7c['dialectEnabled'](Dialect_jsx))return;if(_0x4e9505['advance'](),_0x4e9505['next']==_0x3d8416)return;let _0x4c9d76=0x0;for(;_0x240002['indexOf'](_0x4e9505['next'])>-0x1;)_0x4e9505['advance'](),_0x4c9d76++;if(identifierChar(_0x4e9505['next'],!0x0)){for(_0x4e9505['advance'](),_0x4c9d76++;identifierChar(_0x4e9505['next'],!0x1);)_0x4e9505['advance'](),_0x4c9d76++;for(;_0x240002['indexOf'](_0x4e9505['next'])>-0x1;)_0x4e9505['advance'](),_0x4c9d76++;if(_0x4e9505['next']==_0x372844)return;for(let _0x3104c4=0x0;;_0x3104c4++){if(0x7==_0x3104c4){if(!identifierChar(_0x4e9505['next'],!0x0))return;break;}if(_0x4e9505['next']!='extends'['charCodeAt'](_0x3104c4))break;_0x4e9505['advance'](),_0x4c9d76++;}}_0x4e9505['acceptToken'](JSXStartTag,-_0x4c9d76);}),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},_0x2f3e1a={'__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},_0x46ff6d={'__proto__':null,'<':0xc1},_0x32b51e=_0x128ed2['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':[_0x471b52,_0x3c2f44,operatorToken,_0x4e2a1b,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,insertSemicolon,new _0x65745f('$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 _0x65745f('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':_0x4f9079=>spec_identifier[_0x4f9079]||-0x1},{'term':0x157,'get':_0x37ed07=>_0x2f3e1a[_0x37ed07]||-0x1},{'term':0x5f,'get':_0x3f2862=>_0x46ff6d[_0x3f2862]||-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'})]),_0x4c6e09=new _0x39d390(),_0x4c358d=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function _0x33bf47(_0x5595cf){return(_0x367ee7,_0x25e836)=>{let _0x32871e=_0x367ee7['node']['getChild']('VariableDefinition');return _0x32871e&&_0x25e836(_0x32871e,_0x5595cf),!0x0;};}const functionContext=['FunctionDeclaration'],gatherCompletions={'FunctionDeclaration':_0x33bf47('function'),'ClassDeclaration':_0x33bf47('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':_0x33bf47('constant'),'TypeAliasDeclaration':_0x33bf47('type'),'NamespaceDeclaration':_0x33bf47('namespace'),'VariableDefinition'(_0x1dc217,_0x8ec501){_0x1dc217['matchContext'](functionContext)||_0x8ec501(_0x1dc217,'variable');},'TypeDefinition'(_0x5b6bc3,_0x5ed9b2){_0x5ed9b2(_0x5b6bc3,'type');},'__proto__':null};function getScope(_0x1b4369,_0x3371e2){let _0x5cbf4c=_0x4c6e09['get'](_0x3371e2);if(_0x5cbf4c)return _0x5cbf4c;let _0x290143=[],_0x1aad16=!0x0;function _0x50c5ea(_0x1e636a,_0x3ac5c5){let _0x583028=_0x1b4369['sliceString'](_0x1e636a['from'],_0x1e636a['to']);_0x290143['push']({'label':_0x583028,'type':_0x3ac5c5});}return _0x3371e2['cursor'](IterMode['IncludeAnonymous'])['iterate'](_0x4ad4d2=>{if(_0x1aad16)_0x1aad16=!0x1;else{if(_0x4ad4d2['name']){let _0x34a92c=gatherCompletions[_0x4ad4d2['name']];if(_0x34a92c&&_0x34a92c(_0x4ad4d2,_0x50c5ea)||_0x4c358d['has'](_0x4ad4d2['name']))return!0x1;}else{if(_0x4ad4d2['to']-_0x4ad4d2['from']>0x2000){for(let _0x2a173a of getScope(_0x1b4369,_0x4ad4d2['node']))_0x290143['push'](_0x2a173a);return!0x1;}}}}),_0x4c6e09['set'](_0x3371e2,_0x290143),_0x290143;}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(_0x38d0d6){let _0x35171b=syntaxTree(_0x38d0d6['state'])['resolveInner'](_0x38d0d6['pos'],-0x1);if(dontComplete['indexOf'](_0x35171b['name'])>-0x1)return null;let _0x1dcbdc='VariableName'==_0x35171b['name']||_0x35171b['to']-_0x35171b['from']<0x14&&Identifier['test'](_0x38d0d6['state']['sliceDoc'](_0x35171b['from'],_0x35171b['to']));if(!_0x1dcbdc&&!_0x38d0d6['explicit'])return null;let _0x5d1e1a=[];for(let _0x577752=_0x35171b;_0x577752;_0x577752=_0x577752['parent'])_0x4c358d['has'](_0x577752['name'])&&(_0x5d1e1a=_0x5d1e1a['concat'](getScope(_0x38d0d6['state']['doc'],_0x577752)));return{'options':_0x5d1e1a,'from':_0x1dcbdc?_0x35171b['from']:_0x38d0d6['pos'],'validFor':Identifier};}const javascriptLanguage=_0x2724b2['define']({'name':'javascript','parser':_0x32b51e['configure']({'props':[indentNodeProp['add']({'IfStatement':continuedIndent({'except':/^\s*({|else\b)/}),'TryStatement':continuedIndent({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':flatIndent,'SwitchBody':_0x34de71=>{let _0x51b4eb=_0x34de71['textAfter'],_0x3b48ed=/^\s*\}/['test'](_0x51b4eb),_0x4fbeeb=/^\s*(case|default)\b/['test'](_0x51b4eb);return _0x34de71['baseIndent']+(_0x3b48ed?0x0:_0x4fbeeb?0x1:0x2)*_0x34de71['unit'];},'Block':delimitedIndent({'closing':'}'}),'ArrowFunction':_0x447242=>_0x447242['baseIndent']+_0x447242['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':continuedIndent({'except':/^\s*{/}),'JSXElement'(_0x8c6d34){let _0x332fe8=/^\s*<\//['test'](_0x8c6d34['textAfter']);return _0x8c6d34['lineIndent'](_0x8c6d34['node']['from'])+(_0x332fe8?0x0:_0x8c6d34['unit']);},'JSXEscape'(_0x3936c0){let _0x30a70f=/\s*\}/['test'](_0x3936c0['textAfter']);return _0x3936c0['lineIndent'](_0x3936c0['node']['from'])+(_0x30a70f?0x0:_0x3936c0['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x232960=>_0x232960['column'](_0x232960['node']['from'])+_0x232960['unit']}),_0x3aee37['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':_0x444f11,'BlockComment':_0x21eb48=>({'from':_0x21eb48['from']+0x2,'to':_0x21eb48['to']-0x2})})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),_0x1ecb31={'test':_0x1e4fd1=>/^JSX/['test'](_0x1e4fd1['name']),'facet':defineLanguageFacet({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},typescriptLanguage=javascriptLanguage['configure']({'dialect':'ts'},'typescript'),_0x5ed04f=javascriptLanguage['configure']({'dialect':'jsx','props':[_0x9ac70c['add'](_0x57b921=>_0x57b921['isTop']?[_0x1ecb31]:void 0x0)]}),tsxLanguage=javascriptLanguage['configure']({'dialect':'jsx\x20ts','props':[_0x9ac70c['add'](_0x245f4c=>_0x245f4c['isTop']?[_0x1ecb31]:void 0x0)]},'typescript');let kwCompletion=_0x5922c6=>({'label':_0x5922c6,'type':'keyword'});const _0x53eabb='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=_0x53eabb['concat'](['declare','implements','private','protected','public']['map'](kwCompletion));function javascript(_0x411bcb={}){let _0x46469f=_0x411bcb['jsx']?_0x411bcb['typescript']?tsxLanguage:_0x5ed04f:_0x411bcb['typescript']?typescriptLanguage:javascriptLanguage,_0x231131=_0x411bcb['typescript']?typescriptSnippets['concat'](typescriptKeywords):snippets['concat'](_0x53eabb);return new LanguageSupport(_0x46469f,[javascriptLanguage['data']['of']({'autocomplete':ifNotIn(dontComplete,completeFromList(_0x231131))}),javascriptLanguage['data']['of']({'autocomplete':localCompletionSource}),_0x411bcb['jsx']?autoCloseTags$1:[]]);}function _0x20a70d(_0x50b5d8){for(;;){if('JSXOpenTag'==_0x50b5d8['name']||'JSXSelfClosingTag'==_0x50b5d8['name']||'JSXFragmentTag'==_0x50b5d8['name'])return _0x50b5d8;if('JSXEscape'==_0x50b5d8['name']||!_0x50b5d8['parent'])return null;_0x50b5d8=_0x50b5d8['parent'];}}function elementName$1(_0x5c1910,_0x4000a6,_0x50baff=_0x5c1910['length']){for(let _0x573404=null==_0x4000a6?void 0x0:_0x4000a6['firstChild'];_0x573404;_0x573404=_0x573404['nextSibling'])if('JSXIdentifier'==_0x573404['name']||'JSXBuiltin'==_0x573404['name']||'JSXNamespacedName'==_0x573404['name']||'JSXMemberExpression'==_0x573404['name'])return _0x5c1910['sliceString'](_0x573404['from'],Math['min'](_0x573404['to'],_0x50baff));return'';}const _0x206310='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),autoCloseTags$1=EditorView['inputHandler']['of']((_0x4d4385,_0x5d827e,_0x31830c,_0x44e0ba,_0x11af71)=>{if((_0x206310?_0x4d4385['composing']:_0x4d4385['compositionStarted'])||_0x4d4385['state']['readOnly']||_0x5d827e!=_0x31830c||'>'!=_0x44e0ba&&'/'!=_0x44e0ba||!javascriptLanguage['isActiveAt'](_0x4d4385['state'],_0x5d827e,-0x1))return!0x1;let _0x4c4075=_0x11af71(),{state:_0x209d2d}=_0x4c4075,_0x3e0a4f=_0x209d2d['changeByRange'](_0xff9f7f=>{var _0x18ce3f;let _0x30eef6,{head:_0x275c53}=_0xff9f7f,_0x2b7dec=syntaxTree(_0x209d2d)['resolveInner'](_0x275c53-0x1,-0x1);if('JSXStartTag'==_0x2b7dec['name']&&(_0x2b7dec=_0x2b7dec['parent']),_0x209d2d['doc']['sliceString'](_0x275c53-0x1,_0x275c53)!=_0x44e0ba||'JSXAttributeValue'==_0x2b7dec['name']&&_0x2b7dec['to']>_0x275c53);else{if('>'==_0x44e0ba&&'JSXFragmentTag'==_0x2b7dec['name'])return{'range':_0xff9f7f,'changes':{'from':_0x275c53,'insert':'</>'}};if('/'==_0x44e0ba&&'JSXStartCloseTag'==_0x2b7dec['name']){let _0x4df9f5=_0x2b7dec['parent'],_0x34d1f3=_0x4df9f5['parent'];if(_0x34d1f3&&_0x4df9f5['from']==_0x275c53-0x2&&((_0x30eef6=elementName$1(_0x209d2d['doc'],_0x34d1f3['firstChild'],_0x275c53))||'JSXFragmentTag'==(null===(_0x18ce3f=_0x34d1f3['firstChild'])||void 0x0===_0x18ce3f?void 0x0:_0x18ce3f['name']))){let _0x20b96e=_0x30eef6+'>';return{'range':EditorSelection['cursor'](_0x275c53+_0x20b96e['length'],-0x1),'changes':{'from':_0x275c53,'insert':_0x20b96e}};}}else{if('>'==_0x44e0ba){let _0x2d8f6f=_0x20a70d(_0x2b7dec);if(_0x2d8f6f&&'JSXOpenTag'==_0x2d8f6f['name']&&!/^\/?>|^<\//['test'](_0x209d2d['doc']['sliceString'](_0x275c53,_0x275c53+0x2))&&(_0x30eef6=elementName$1(_0x209d2d['doc'],_0x2d8f6f,_0x275c53)))return{'range':_0xff9f7f,'changes':{'from':_0x275c53,'insert':'</'+_0x30eef6+'>'}};}}}return{'range':_0xff9f7f};});return!_0x3e0a4f['changes']['empty']&&(_0x4d4385['dispatch']([_0x4c4075,_0x209d2d['update'](_0x3e0a4f,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),Targets=['_blank','_self','_top','_parent'],Charsets=['ascii','utf-8','utf-16','latin1','latin1'],Methods=['get','post','put','delete'],_0x40f840=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],_0x4928dc=['true','false'],_0x4fa748={},_0x45ea97={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':Targets,'hreflang':null}},'abbr':_0x4fa748,'address':_0x4fa748,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':_0x4fa748,'aside':_0x4fa748,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':_0x4fa748,'base':{'attrs':{'href':null,'target':Targets}},'bdi':_0x4fa748,'bdo':_0x4fa748,'blockquote':{'attrs':{'cite':null}},'body':_0x4fa748,'br':_0x4fa748,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':_0x40f840,'formmethod':Methods,'formnovalidate':['novalidate'],'formtarget':Targets,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':_0x4fa748,'center':_0x4fa748,'cite':_0x4fa748,'code':_0x4fa748,'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':_0x4fa748,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':_0x4fa748,'div':_0x4fa748,'dl':_0x4fa748,'dt':_0x4fa748,'em':_0x4fa748,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':_0x4fa748,'figure':_0x4fa748,'footer':_0x4fa748,'form':{'attrs':{'action':null,'name':null,'accept-charset':Charsets,'autocomplete':['on','off'],'enctype':_0x40f840,'method':Methods,'novalidate':['novalidate'],'target':Targets}},'h1':_0x4fa748,'h2':_0x4fa748,'h3':_0x4fa748,'h4':_0x4fa748,'h5':_0x4fa748,'h6':_0x4fa748,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':_0x4fa748,'hgroup':_0x4fa748,'hr':_0x4fa748,'html':{'attrs':{'manifest':null}},'i':_0x4fa748,'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':_0x40f840,'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':_0x4fa748,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':_0x4fa748,'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':_0x4fa748,'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':_0x4fa748,'noscript':_0x4fa748,'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':_0x4fa748,'param':{'attrs':{'name':null,'value':null}},'pre':_0x4fa748,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':_0x4fa748,'rt':_0x4fa748,'ruby':_0x4fa748,'samp':_0x4fa748,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':Charsets}},'section':_0x4fa748,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':_0x4fa748,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':_0x4fa748,'strong':_0x4fa748,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':_0x4fa748,'summary':_0x4fa748,'sup':_0x4fa748,'table':_0x4fa748,'tbody':_0x4fa748,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':_0x4fa748,'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':_0x4fa748,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':_0x4fa748,'time':{'attrs':{'datetime':null}},'title':_0x4fa748,'tr':_0x4fa748,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':_0x4fa748,'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':_0x4fa748},GlobalAttrs={'accesskey':null,'class':null,'contenteditable':_0x4928dc,'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':_0x4928dc,'autocorrect':_0x4928dc,'autocapitalize':_0x4928dc,'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':_0x4928dc,'aria-autocomplete':['inline','list','both','none'],'aria-busy':_0x4928dc,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':_0x4928dc,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':_0x4928dc,'aria-hidden':_0x4928dc,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':_0x4928dc,'aria-multiselectable':_0x4928dc,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':_0x4928dc,'aria-relevant':null,'aria-required':_0x4928dc,'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'](_0x2292e8=>'on'+_0x2292e8);for(let _0x33c577 of eventAttributes)GlobalAttrs[_0x33c577]=null;class _0x1e26d3{constructor(_0x1c9048,_0x36ae5d){this['tags']={..._0x45ea97,..._0x1c9048},this['globalAttrs']={...GlobalAttrs,..._0x36ae5d},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}}function elementName(_0x56b545,_0x31ee07,_0x5e7316=_0x56b545['length']){if(!_0x31ee07)return'';let _0x1e8b43=_0x31ee07['firstChild'],_0x4f5082=_0x1e8b43&&_0x1e8b43['getChild']('TagName');return _0x4f5082?_0x56b545['sliceString'](_0x4f5082['from'],Math['min'](_0x4f5082['to'],_0x5e7316)):'';}function findParentElement(_0x3e21d6,_0x5ce9c5=!0x1){for(;_0x3e21d6;_0x3e21d6=_0x3e21d6['parent'])if('Element'==_0x3e21d6['name']){if(!_0x5ce9c5)return _0x3e21d6;_0x5ce9c5=!0x1;}return null;}function _0x314e9f(_0xa4b964,_0x5d5393,_0x9e8980){let _0x4dad10=_0x9e8980['tags'][elementName(_0xa4b964,findParentElement(_0x5d5393))];return(null==_0x4dad10?void 0x0:_0x4dad10['children'])||_0x9e8980['allTags'];}function _0x7427af(_0x20e55b,_0x5d1a30){let _0x55371d=[];for(let _0x1b6b63=findParentElement(_0x5d1a30);_0x1b6b63&&!_0x1b6b63['type']['isTop'];_0x1b6b63=findParentElement(_0x1b6b63['parent'])){let _0x2af51f=elementName(_0x20e55b,_0x1b6b63);if(_0x2af51f&&'CloseTag'==_0x1b6b63['lastChild']['name'])break;_0x2af51f&&_0x55371d['indexOf'](_0x2af51f)<0x0&&('EndTag'==_0x5d1a30['name']||_0x5d1a30['from']>=_0x1b6b63['firstChild']['to'])&&_0x55371d['push'](_0x2af51f);}return _0x55371d;}_0x1e26d3['default']=new _0x1e26d3();const identifier=/^[:\-\.\w\u00b7-\uffff]*$/;function completeTag(_0x18cb5f,_0x146d28,_0x4415ca,_0x191bf0,_0x1452f7){let _0xcd498c=/\s*>/['test'](_0x18cb5f['sliceDoc'](_0x1452f7,_0x1452f7+0x5))?'':'>',_0x1f47f9=findParentElement(_0x4415ca,'StartTag'==_0x4415ca['name']||'TagName'==_0x4415ca['name']);return{'from':_0x191bf0,'to':_0x1452f7,'options':_0x314e9f(_0x18cb5f['doc'],_0x1f47f9,_0x146d28)['map'](_0x5f031c=>({'label':_0x5f031c,'type':'type'}))['concat'](_0x7427af(_0x18cb5f['doc'],_0x4415ca)['map']((_0x516e7f,_0x45a9c8)=>({'label':'/'+_0x516e7f,'apply':'/'+_0x516e7f+_0xcd498c,'type':'type','boost':0x63-_0x45a9c8}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function completeCloseTag(_0x3aaa01,_0x3247eb,_0x2e2375,_0x38bb8b){let _0x5ee79f=/\s*>/['test'](_0x3aaa01['sliceDoc'](_0x38bb8b,_0x38bb8b+0x5))?'':'>';return{'from':_0x2e2375,'to':_0x38bb8b,'options':_0x7427af(_0x3aaa01['doc'],_0x3247eb)['map']((_0x30f650,_0x9068d9)=>({'label':_0x30f650,'apply':_0x30f650+_0x5ee79f,'type':'type','boost':0x63-_0x9068d9})),'validFor':identifier};}function completeStartTag(_0x244496,_0x38d646,_0x52a285,_0x4f64ca){let _0x2c0d7b=[],_0x128e29=0x0;for(let _0x1aff48 of _0x314e9f(_0x244496['doc'],_0x52a285,_0x38d646))_0x2c0d7b['push']({'label':'<'+_0x1aff48,'type':'type'});for(let _0x4301e3 of _0x7427af(_0x244496['doc'],_0x52a285))_0x2c0d7b['push']({'label':'</'+_0x4301e3+'>','type':'type','boost':0x63-_0x128e29++});return{'from':_0x4f64ca,'to':_0x4f64ca,'options':_0x2c0d7b,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}function completeAttrName(_0x2e22fe,_0x3392d0,_0x4067cd,_0x6cbbae,_0x24bbab){let _0x1a03bc=findParentElement(_0x4067cd),_0x239cea=_0x1a03bc?_0x3392d0['tags'][elementName(_0x2e22fe['doc'],_0x1a03bc)]:null,_0x5817cc=_0x239cea&&_0x239cea['attrs']?Object['keys'](_0x239cea['attrs']):[];return{'from':_0x6cbbae,'to':_0x24bbab,'options':(_0x239cea&&!0x1===_0x239cea['globalAttrs']?_0x5817cc:_0x5817cc['length']?_0x5817cc['concat'](_0x3392d0['globalAttrNames']):_0x3392d0['globalAttrNames'])['map'](_0x473a96=>({'label':_0x473a96,'type':'property'})),'validFor':identifier};}function completeAttrValue(_0x5d0302,_0x37dd1d,_0x356385,_0x99a7c2,_0x4acc6f){var _0x20c5d1;let _0x54dd74,_0x19f288=null===(_0x20c5d1=_0x356385['parent'])||void 0x0===_0x20c5d1?void 0x0:_0x20c5d1['getChild']('AttributeName'),_0x360753=[];if(_0x19f288){let _0x1a1c48=_0x5d0302['sliceDoc'](_0x19f288['from'],_0x19f288['to']),_0x2d8949=_0x37dd1d['globalAttrs'][_0x1a1c48];if(!_0x2d8949){let _0x453662=findParentElement(_0x356385),_0x1e2244=_0x453662?_0x37dd1d['tags'][elementName(_0x5d0302['doc'],_0x453662)]:null;_0x2d8949=(null==_0x1e2244?void 0x0:_0x1e2244['attrs'])&&_0x1e2244['attrs'][_0x1a1c48];}if(_0x2d8949){let _0x25c7bc=_0x5d0302['sliceDoc'](_0x99a7c2,_0x4acc6f)['toLowerCase'](),_0x5c0b01='\x22',_0x14e5e5='\x22';/^['"]/['test'](_0x25c7bc)?(_0x54dd74='\x22'==_0x25c7bc[0x0]?/^[^"]*$/:/^[^']*$/,_0x5c0b01='',_0x14e5e5=_0x5d0302['sliceDoc'](_0x4acc6f,_0x4acc6f+0x1)==_0x25c7bc[0x0]?'':_0x25c7bc[0x0],_0x25c7bc=_0x25c7bc['slice'](0x1),_0x99a7c2++):_0x54dd74=/^[^\s<>='"]*$/;for(let _0x3579f7 of _0x2d8949)_0x360753['push']({'label':_0x3579f7,'apply':_0x5c0b01+_0x3579f7+_0x14e5e5,'type':'constant'});}}return{'from':_0x99a7c2,'to':_0x4acc6f,'options':_0x360753,'validFor':_0x54dd74};}function htmlCompletionFor(_0x126886,_0x172396){let {state:_0x4f69e3,pos:_0x34f8e0}=_0x172396,_0x2e35b7=syntaxTree(_0x4f69e3)['resolveInner'](_0x34f8e0,-0x1),_0xb6d2d6=_0x2e35b7['resolve'](_0x34f8e0);for(let _0x184d24,_0x5629af=_0x34f8e0;_0xb6d2d6==_0x2e35b7&&(_0x184d24=_0x2e35b7['childBefore'](_0x5629af));){let _0x4fa2a8=_0x184d24['lastChild'];if(!_0x4fa2a8||!_0x4fa2a8['type']['isError']||_0x4fa2a8['from']<_0x4fa2a8['to'])break;_0xb6d2d6=_0x2e35b7=_0x184d24,_0x5629af=_0x4fa2a8['from'];}return'TagName'==_0x2e35b7['name']?_0x2e35b7['parent']&&/CloseTag$/['test'](_0x2e35b7['parent']['name'])?completeCloseTag(_0x4f69e3,_0x2e35b7,_0x2e35b7['from'],_0x34f8e0):completeTag(_0x4f69e3,_0x126886,_0x2e35b7,_0x2e35b7['from'],_0x34f8e0):'StartTag'==_0x2e35b7['name']||'IncompleteTag'==_0x2e35b7['name']?completeTag(_0x4f69e3,_0x126886,_0x2e35b7,_0x34f8e0,_0x34f8e0):'StartCloseTag'==_0x2e35b7['name']||'IncompleteCloseTag'==_0x2e35b7['name']?completeCloseTag(_0x4f69e3,_0x2e35b7,_0x34f8e0,_0x34f8e0):'OpenTag'==_0x2e35b7['name']||'SelfClosingTag'==_0x2e35b7['name']||'AttributeName'==_0x2e35b7['name']?completeAttrName(_0x4f69e3,_0x126886,_0x2e35b7,'AttributeName'==_0x2e35b7['name']?_0x2e35b7['from']:_0x34f8e0,_0x34f8e0):'Is'==_0x2e35b7['name']||'AttributeValue'==_0x2e35b7['name']||'UnquotedAttributeValue'==_0x2e35b7['name']?completeAttrValue(_0x4f69e3,_0x126886,_0x2e35b7,'Is'==_0x2e35b7['name']?_0x34f8e0:_0x2e35b7['from'],_0x34f8e0):!_0x172396['explicit']||'Element'!=_0xb6d2d6['name']&&'Text'!=_0xb6d2d6['name']&&'Document'!=_0xb6d2d6['name']?null:completeStartTag(_0x4f69e3,_0x126886,_0x2e35b7,_0x34f8e0);}function htmlCompletionSource(_0x536a2c){return htmlCompletionFor(_0x1e26d3['default'],_0x536a2c);}function htmlCompletionSourceWith(_0x1b6945){let {extraTags:_0x364043,extraGlobalAttributes:_0x3c7689}=_0x1b6945,_0x32e27e=_0x3c7689||_0x364043?new _0x1e26d3(_0x364043,_0x3c7689):_0x1e26d3['default'];return _0x564d86=>htmlCompletionFor(_0x32e27e,_0x564d86);}const _0x265d0b=javascriptLanguage['parser']['configure']({'top':'SingleExpression'}),defaultNesting=[{'tag':'script','attrs':_0x5cdca6=>'text/typescript'==_0x5cdca6['type']||'ts'==_0x5cdca6['lang'],'parser':typescriptLanguage['parser']},{'tag':'script','attrs':_0x4c9d3e=>'text/babel'==_0x4c9d3e['type']||'text/jsx'==_0x4c9d3e['type'],'parser':_0x5ed04f['parser']},{'tag':'script','attrs':_0xb0cc45=>'text/typescript-jsx'==_0xb0cc45['type'],'parser':tsxLanguage['parser']},{'tag':'script','attrs':_0x3e95c7=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x3e95c7['type']),'parser':_0x265d0b},{'tag':'script','attrs':_0x5b51ce=>!_0x5b51ce['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x5b51ce['type']),'parser':javascriptLanguage['parser']},{'tag':'style','attrs':_0x35c277=>(!_0x35c277['lang']||'css'==_0x35c277['lang'])&&(!_0x35c277['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x35c277['type'])),'parser':_0x59f9bf['parser']}],defaultAttrs=[{'name':'style','parser':_0x59f9bf['parser']['configure']({'top':'Styles'})}]['concat'](eventAttributes['map'](_0x3c0e8c=>({'name':_0x3c0e8c,'parser':javascriptLanguage['parser']}))),htmlPlain=_0x2724b2['define']({'name':'html','parser':_0x1278ec['configure']({'props':[indentNodeProp['add']({'Element'(_0x5a67cb){let _0x45a031=/^(\s*)(<\/)?/['exec'](_0x5a67cb['textAfter']);return _0x5a67cb['node']['to']<=_0x5a67cb['pos']+_0x45a031[0x0]['length']?_0x5a67cb['continue']():_0x5a67cb['lineIndent'](_0x5a67cb['node']['from'])+(_0x45a031[0x2]?0x0:_0x5a67cb['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0x29038c=>_0x29038c['column'](_0x29038c['node']['from'])+_0x29038c['unit'],'Document'(_0x45ac7f){if(_0x45ac7f['pos']+/\s*/['exec'](_0x45ac7f['textAfter'])[0x0]['length']<_0x45ac7f['node']['to'])return _0x45ac7f['continue']();let _0x4340bd,_0x2e2dad=null;for(let _0x1be5df=_0x45ac7f['node'];;){let _0x5c5166=_0x1be5df['lastChild'];if(!_0x5c5166||'Element'!=_0x5c5166['name']||_0x5c5166['to']!=_0x1be5df['to'])break;_0x2e2dad=_0x1be5df=_0x5c5166;}return _0x2e2dad&&(!(_0x4340bd=_0x2e2dad['lastChild'])||'CloseTag'!=_0x4340bd['name']&&'SelfClosingTag'!=_0x4340bd['name'])?_0x45ac7f['lineIndent'](_0x2e2dad['from'])+_0x45ac7f['unit']:null;}}),_0x3aee37['add']({'Element'(_0x1ec3ef){let _0x27e24a=_0x1ec3ef['firstChild'],_0x2c9399=_0x1ec3ef['lastChild'];return _0x27e24a&&'OpenTag'==_0x27e24a['name']?{'from':_0x27e24a['to'],'to':'CloseTag'==_0x2c9399['name']?_0x2c9399['from']:_0x1ec3ef['to']}:null;}}),bracketMatchingHandle['add']({'OpenTag\x20CloseTag':_0x4bca2e=>_0x4bca2e['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),htmlLanguage=htmlPlain['configure']({'wrap':configureNesting(defaultNesting,defaultAttrs)});function html(_0x24e322={}){let _0x20a2e0,_0x3fae66='';!0x1===_0x24e322['matchClosingTags']&&(_0x3fae66='noMatch'),!0x0===_0x24e322['selfClosingTags']&&(_0x3fae66=(_0x3fae66?_0x3fae66+'\x20':'')+'selfClosing'),(_0x24e322['nestedLanguages']&&_0x24e322['nestedLanguages']['length']||_0x24e322['nestedAttributes']&&_0x24e322['nestedAttributes']['length'])&&(_0x20a2e0=configureNesting((_0x24e322['nestedLanguages']||[])['concat'](defaultNesting),(_0x24e322['nestedAttributes']||[])['concat'](defaultAttrs)));let _0x145af9=_0x20a2e0?htmlPlain['configure']({'wrap':_0x20a2e0,'dialect':_0x3fae66}):_0x3fae66?htmlLanguage['configure']({'dialect':_0x3fae66}):htmlLanguage;return new LanguageSupport(_0x145af9,[htmlLanguage['data']['of']({'autocomplete':htmlCompletionSourceWith(_0x24e322)}),!0x1!==_0x24e322['autoCloseTags']?autoCloseTags:[],javascript()['support'],_0x5d14b8()['support']]);}const _0x1103d2=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']((_0x533bdb,_0x4f9ff2,_0x5622a1,_0x502e69,_0x30c06f)=>{if(_0x533bdb['composing']||_0x533bdb['state']['readOnly']||_0x4f9ff2!=_0x5622a1||'>'!=_0x502e69&&'/'!=_0x502e69||!htmlLanguage['isActiveAt'](_0x533bdb['state'],_0x4f9ff2,-0x1))return!0x1;let _0xed5d89=_0x30c06f(),{state:_0x12bb03}=_0xed5d89,_0xfdc952=_0x12bb03['changeByRange'](_0xe74ff6=>{var _0x374a4d,_0x162919,_0x35616a;let _0x2f0dd2,_0x36c2dd=_0x12bb03['doc']['sliceString'](_0xe74ff6['from']-0x1,_0xe74ff6['to'])==_0x502e69,{head:_0x1431b6}=_0xe74ff6,_0x2a80a9=syntaxTree(_0x12bb03)['resolveInner'](_0x1431b6,-0x1);if(_0x36c2dd&&'>'==_0x502e69&&'EndTag'==_0x2a80a9['name']){let _0xf5ac0=_0x2a80a9['parent'];if('CloseTag'!=(null===(_0x162919=null===(_0x374a4d=_0xf5ac0['parent'])||void 0x0===_0x374a4d?void 0x0:_0x374a4d['lastChild'])||void 0x0===_0x162919?void 0x0:_0x162919['name'])&&(_0x2f0dd2=elementName(_0x12bb03['doc'],_0xf5ac0['parent'],_0x1431b6))&&!_0x1103d2['has'](_0x2f0dd2))return{'range':_0xe74ff6,'changes':{'from':_0x1431b6,'to':_0x1431b6+('>'===_0x12bb03['doc']['sliceString'](_0x1431b6,_0x1431b6+0x1)?0x1:0x0),'insert':'</'+_0x2f0dd2+'>'}};}else{if(_0x36c2dd&&'/'==_0x502e69&&'IncompleteCloseTag'==_0x2a80a9['name']){let _0x30bc91=_0x2a80a9['parent'];if(_0x2a80a9['from']==_0x1431b6-0x2&&'CloseTag'!=(null===(_0x35616a=_0x30bc91['lastChild'])||void 0x0===_0x35616a?void 0x0:_0x35616a['name'])&&(_0x2f0dd2=elementName(_0x12bb03['doc'],_0x30bc91,_0x1431b6))&&!_0x1103d2['has'](_0x2f0dd2)){let _0x4ae39f=_0x1431b6+('>'===_0x12bb03['doc']['sliceString'](_0x1431b6,_0x1431b6+0x1)?0x1:0x0),_0x34aaf5=_0x2f0dd2+'>';return{'range':EditorSelection['cursor'](_0x1431b6+_0x34aaf5['length'],-0x1),'changes':{'from':_0x1431b6,'to':_0x4ae39f,'insert':_0x34aaf5}};}}}return{'range':_0xe74ff6};});return!_0xfdc952['changes']['empty']&&(_0x533bdb['dispatch']([_0xed5d89,_0x12bb03['update'](_0xfdc952,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});class CompositeBlock{static['create'](_0x19af6b,_0x5b7ac0,_0xe0c32c,_0x27b896,_0x147b57){return new CompositeBlock(_0x19af6b,_0x5b7ac0,_0xe0c32c,_0x27b896+(_0x27b896<<0x8)+_0x19af6b+(_0x5b7ac0<<0x4)|0x0,_0x147b57,[],[]);}constructor(_0x38695b,_0xecff0c,_0x4077ed,_0x21a22e,_0xede88c,_0x47c361,_0x173dc8){this['type']=_0x38695b,this['value']=_0xecff0c,this['from']=_0x4077ed,this['hash']=_0x21a22e,this['end']=_0xede88c,this['children']=_0x47c361,this['positions']=_0x173dc8,this['hashProp']=[[_0x114f67['contextHash'],_0x21a22e]];}['addChild'](_0x88bca0,_0x2599dd){_0x88bca0['prop'](_0x114f67['contextHash'])!=this['hash']&&(_0x88bca0=new _0x4939af(_0x88bca0['type'],_0x88bca0['children'],_0x88bca0['positions'],_0x88bca0['length'],this['hashProp'])),this['children']['push'](_0x88bca0),this['positions']['push'](_0x2599dd);}['toTree'](_0x5a1d61,_0x3afeb9=this['end']){let _0x4b2d88=this['children']['length']-0x1;return _0x4b2d88>=0x0&&(_0x3afeb9=Math['max'](_0x3afeb9,this['positions'][_0x4b2d88]+this['children'][_0x4b2d88]['length']+this['from'])),new _0x4939af(_0x5a1d61['types'][this['type']],this['children'],this['positions'],_0x3afeb9-this['from'])['balance']({'makeTree':(_0x149b79,_0x411f7a,_0x1c744b)=>new _0x4939af(_0x5d390a['none'],_0x149b79,_0x411f7a,_0x1c744b,this['hashProp'])});}}var _0x5e2e59;!function(_0x5b362f){_0x5b362f[_0x5b362f['Document']=0x1]='Document',_0x5b362f[_0x5b362f['CodeBlock']=0x2]='CodeBlock',_0x5b362f[_0x5b362f['FencedCode']=0x3]='FencedCode',_0x5b362f[_0x5b362f['Blockquote']=0x4]='Blockquote',_0x5b362f[_0x5b362f['HorizontalRule']=0x5]='HorizontalRule',_0x5b362f[_0x5b362f['BulletList']=0x6]='BulletList',_0x5b362f[_0x5b362f['OrderedList']=0x7]='OrderedList',_0x5b362f[_0x5b362f['ListItem']=0x8]='ListItem',_0x5b362f[_0x5b362f['ATXHeading1']=0x9]='ATXHeading1',_0x5b362f[_0x5b362f['ATXHeading2']=0xa]='ATXHeading2',_0x5b362f[_0x5b362f['ATXHeading3']=0xb]='ATXHeading3',_0x5b362f[_0x5b362f['ATXHeading4']=0xc]='ATXHeading4',_0x5b362f[_0x5b362f['ATXHeading5']=0xd]='ATXHeading5',_0x5b362f[_0x5b362f['ATXHeading6']=0xe]='ATXHeading6',_0x5b362f[_0x5b362f['SetextHeading1']=0xf]='SetextHeading1',_0x5b362f[_0x5b362f['SetextHeading2']=0x10]='SetextHeading2',_0x5b362f[_0x5b362f['HTMLBlock']=0x11]='HTMLBlock',_0x5b362f[_0x5b362f['LinkReference']=0x12]='LinkReference',_0x5b362f[_0x5b362f['Paragraph']=0x13]='Paragraph',_0x5b362f[_0x5b362f['CommentBlock']=0x14]='CommentBlock',_0x5b362f[_0x5b362f['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0x5b362f[_0x5b362f['Escape']=0x16]='Escape',_0x5b362f[_0x5b362f['Entity']=0x17]='Entity',_0x5b362f[_0x5b362f['HardBreak']=0x18]='HardBreak',_0x5b362f[_0x5b362f['Emphasis']=0x19]='Emphasis',_0x5b362f[_0x5b362f['StrongEmphasis']=0x1a]='StrongEmphasis',_0x5b362f[_0x5b362f['Link']=0x1b]='Link',_0x5b362f[_0x5b362f['Image']=0x1c]='Image',_0x5b362f[_0x5b362f['InlineCode']=0x1d]='InlineCode',_0x5b362f[_0x5b362f['HTMLTag']=0x1e]='HTMLTag',_0x5b362f[_0x5b362f['Comment']=0x1f]='Comment',_0x5b362f[_0x5b362f['ProcessingInstruction']=0x20]='ProcessingInstruction',_0x5b362f[_0x5b362f['Autolink']=0x21]='Autolink',_0x5b362f[_0x5b362f['HeaderMark']=0x22]='HeaderMark',_0x5b362f[_0x5b362f['QuoteMark']=0x23]='QuoteMark',_0x5b362f[_0x5b362f['ListMark']=0x24]='ListMark',_0x5b362f[_0x5b362f['LinkMark']=0x25]='LinkMark',_0x5b362f[_0x5b362f['EmphasisMark']=0x26]='EmphasisMark',_0x5b362f[_0x5b362f['CodeMark']=0x27]='CodeMark',_0x5b362f[_0x5b362f['CodeText']=0x28]='CodeText',_0x5b362f[_0x5b362f['CodeInfo']=0x29]='CodeInfo',_0x5b362f[_0x5b362f['LinkTitle']=0x2a]='LinkTitle',_0x5b362f[_0x5b362f['LinkLabel']=0x2b]='LinkLabel',_0x5b362f[_0x5b362f['URL']=0x2c]='URL';}(_0x5e2e59||(_0x5e2e59={}));class _0x3b0850{constructor(_0x202889,_0x55a1b6){this['start']=_0x202889,this['content']=_0x55a1b6,this['marks']=[],this['parsers']=[];}}class _0x556068{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 _0x5925bb=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x5925bb,this['pos'],this['indent']),this['pos']=_0x5925bb,this['next']=_0x5925bb==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x5925bb);}['skipSpace'](_0x41d802){return _0x2de4a8(this['text'],_0x41d802);}['reset'](_0x5cc243){for(this['text']=_0x5cc243,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0x176039){this['basePos']=_0x176039,this['baseIndent']=this['countIndent'](_0x176039,this['pos'],this['indent']);}['moveBaseColumn'](_0x31833c){this['baseIndent']=_0x31833c,this['basePos']=this['findColumn'](_0x31833c);}['addMarker'](_0xb0c09){this['markers']['push'](_0xb0c09);}['countIndent'](_0x51207d,_0xc7923=0x0,_0x5778bb=0x0){for(let _0x44f38a=_0xc7923;_0x44f38a<_0x51207d;_0x44f38a++)_0x5778bb+=0x9==this['text']['charCodeAt'](_0x44f38a)?0x4-_0x5778bb%0x4:0x1;return _0x5778bb;}['findColumn'](_0xf56e28){let _0x5d559f=0x0;for(let _0x15395f=0x0;_0x5d559f<this['text']['length']&&_0x15395f<_0xf56e28;_0x5d559f++)_0x15395f+=0x9==this['text']['charCodeAt'](_0x5d559f)?0x4-_0x15395f%0x4:0x1;return _0x5d559f;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x3c25fe='';for(let _0x2482a8=0x0;_0x2482a8<this['basePos'];_0x2482a8++)_0x3c25fe+='\x20';return _0x3c25fe+this['text']['slice'](this['basePos']);}}function skipForList(_0x1656f0,_0x3579ff,_0x312ed3){if(_0x312ed3['pos']==_0x312ed3['text']['length']||_0x1656f0!=_0x3579ff['block']&&_0x312ed3['indent']>=_0x3579ff['stack'][_0x312ed3['depth']+0x1]['value']+_0x312ed3['baseIndent'])return!0x0;if(_0x312ed3['indent']>=_0x312ed3['baseIndent']+0x4)return!0x1;let _0x3f8740=(_0x1656f0['type']==_0x5e2e59['OrderedList']?isOrderedList:isBulletList)(_0x312ed3,_0x3579ff,!0x1);return _0x3f8740>0x0&&(_0x1656f0['type']!=_0x5e2e59['BulletList']||isHorizontalRule(_0x312ed3,_0x3579ff,!0x1)<0x0)&&_0x312ed3['text']['charCodeAt'](_0x312ed3['pos']+_0x3f8740-0x1)==_0x1656f0['value'];}const DefaultSkipMarkup={[_0x5e2e59['Blockquote']]:(_0x1070d0,_0x587c28,_0x57b8e7)=>0x3e==_0x57b8e7['next']&&(_0x57b8e7['markers']['push'](elt(_0x5e2e59['QuoteMark'],_0x587c28['lineStart']+_0x57b8e7['pos'],_0x587c28['lineStart']+_0x57b8e7['pos']+0x1)),_0x57b8e7['moveBase'](_0x57b8e7['pos']+(_0x475d1f(_0x57b8e7['text']['charCodeAt'](_0x57b8e7['pos']+0x1))?0x2:0x1)),_0x1070d0['end']=_0x587c28['lineStart']+_0x57b8e7['text']['length'],!0x0),[_0x5e2e59['ListItem']]:(_0x5904f6,_0x1613c9,_0xa9a4d0)=>!(_0xa9a4d0['indent']<_0xa9a4d0['baseIndent']+_0x5904f6['value']&&_0xa9a4d0['next']>-0x1)&&(_0xa9a4d0['moveBaseColumn'](_0xa9a4d0['baseIndent']+_0x5904f6['value']),!0x0),[_0x5e2e59['OrderedList']]:skipForList,[_0x5e2e59['BulletList']]:skipForList,[_0x5e2e59['Document']]:()=>!0x0};function _0x475d1f(_0x486254){return 0x20==_0x486254||0x9==_0x486254||0xa==_0x486254||0xd==_0x486254;}function _0x2de4a8(_0x2a95ee,_0x191f6a=0x0){for(;_0x191f6a<_0x2a95ee['length']&&_0x475d1f(_0x2a95ee['charCodeAt'](_0x191f6a));)_0x191f6a++;return _0x191f6a;}function _0x3758ce(_0x4c2b5f,_0x1efe67,_0x3c069c){for(;_0x1efe67>_0x3c069c&&_0x475d1f(_0x4c2b5f['charCodeAt'](_0x1efe67-0x1));)_0x1efe67--;return _0x1efe67;}function _0x2a3fb8(_0x25ed0f){if(0x60!=_0x25ed0f['next']&&0x7e!=_0x25ed0f['next'])return-0x1;let _0x38d6c8=_0x25ed0f['pos']+0x1;for(;_0x38d6c8<_0x25ed0f['text']['length']&&_0x25ed0f['text']['charCodeAt'](_0x38d6c8)==_0x25ed0f['next'];)_0x38d6c8++;if(_0x38d6c8<_0x25ed0f['pos']+0x3)return-0x1;if(0x60==_0x25ed0f['next']){for(let _0xed869=_0x38d6c8;_0xed869<_0x25ed0f['text']['length'];_0xed869++)if(0x60==_0x25ed0f['text']['charCodeAt'](_0xed869))return-0x1;}return _0x38d6c8;}function isBlockquote(_0x4b3b17){return 0x3e!=_0x4b3b17['next']?-0x1:0x20==_0x4b3b17['text']['charCodeAt'](_0x4b3b17['pos']+0x1)?0x2:0x1;}function isHorizontalRule(_0x157ab0,_0x2f6bbc,_0x38dc9d){if(0x2a!=_0x157ab0['next']&&0x2d!=_0x157ab0['next']&&0x5f!=_0x157ab0['next'])return-0x1;let _0x1a22ca=0x1;for(let _0x9cb739=_0x157ab0['pos']+0x1;_0x9cb739<_0x157ab0['text']['length'];_0x9cb739++){let _0x2fdef6=_0x157ab0['text']['charCodeAt'](_0x9cb739);if(_0x2fdef6==_0x157ab0['next'])_0x1a22ca++;else{if(!_0x475d1f(_0x2fdef6))return-0x1;}}return _0x38dc9d&&0x2d==_0x157ab0['next']&&isSetextUnderline(_0x157ab0)>-0x1&&_0x157ab0['depth']==_0x2f6bbc['stack']['length']&&_0x2f6bbc['parser']['leafBlockParsers']['indexOf'](DefaultLeafBlocks['SetextHeading'])>-0x1||_0x1a22ca<0x3?-0x1:0x1;}function inList(_0x13de53,_0x27f4ff){for(let _0x177112=_0x13de53['stack']['length']-0x1;_0x177112>=0x0;_0x177112--)if(_0x13de53['stack'][_0x177112]['type']==_0x27f4ff)return!0x0;return!0x1;}function isBulletList(_0x5e78db,_0x3ea142,_0xa2df5c){return 0x2d!=_0x5e78db['next']&&0x2b!=_0x5e78db['next']&&0x2a!=_0x5e78db['next']||_0x5e78db['pos']!=_0x5e78db['text']['length']-0x1&&!_0x475d1f(_0x5e78db['text']['charCodeAt'](_0x5e78db['pos']+0x1))||!(!_0xa2df5c||inList(_0x3ea142,_0x5e2e59['BulletList'])||_0x5e78db['skipSpace'](_0x5e78db['pos']+0x2)<_0x5e78db['text']['length'])?-0x1:0x1;}function isOrderedList(_0xd931a7,_0x3b78c1,_0x390acf){let _0x291600=_0xd931a7['pos'],_0x58fd1d=_0xd931a7['next'];for(;_0x58fd1d>=0x30&&_0x58fd1d<=0x39;){if(_0x291600++,_0x291600==_0xd931a7['text']['length'])return-0x1;_0x58fd1d=_0xd931a7['text']['charCodeAt'](_0x291600);}return _0x291600==_0xd931a7['pos']||_0x291600>_0xd931a7['pos']+0x9||0x2e!=_0x58fd1d&&0x29!=_0x58fd1d||_0x291600<_0xd931a7['text']['length']-0x1&&!_0x475d1f(_0xd931a7['text']['charCodeAt'](_0x291600+0x1))||_0x390acf&&!inList(_0x3b78c1,_0x5e2e59['OrderedList'])&&(_0xd931a7['skipSpace'](_0x291600+0x1)==_0xd931a7['text']['length']||_0x291600>_0xd931a7['pos']+0x1||0x31!=_0xd931a7['next'])?-0x1:_0x291600+0x1-_0xd931a7['pos'];}function isAtxHeading(_0x3d16fe){if(0x23!=_0x3d16fe['next'])return-0x1;let _0x54e8d1=_0x3d16fe['pos']+0x1;for(;_0x54e8d1<_0x3d16fe['text']['length']&&0x23==_0x3d16fe['text']['charCodeAt'](_0x54e8d1);)_0x54e8d1++;if(_0x54e8d1<_0x3d16fe['text']['length']&&0x20!=_0x3d16fe['text']['charCodeAt'](_0x54e8d1))return-0x1;let _0x3b345b=_0x54e8d1-_0x3d16fe['pos'];return _0x3b345b>0x6?-0x1:_0x3b345b;}function isSetextUnderline(_0x3f8831){if(0x2d!=_0x3f8831['next']&&0x3d!=_0x3f8831['next']||_0x3f8831['indent']>=_0x3f8831['baseIndent']+0x4)return-0x1;let _0x49a69f=_0x3f8831['pos']+0x1;for(;_0x49a69f<_0x3f8831['text']['length']&&_0x3f8831['text']['charCodeAt'](_0x49a69f)==_0x3f8831['next'];)_0x49a69f++;let _0x1b49ff=_0x49a69f;for(;_0x49a69f<_0x3f8831['text']['length']&&_0x475d1f(_0x3f8831['text']['charCodeAt'](_0x49a69f));)_0x49a69f++;return _0x49a69f==_0x3f8831['text']['length']?_0x1b49ff:-0x1;}const EmptyLine=/^[ \t]*$/,CommentEnd=/-->/,_0xc7394e=/\?>/,HTMLBlockStyle=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,CommentEnd],[/^\s*<\?/,_0xc7394e],[/^\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 _0x4a4aa3(_0x13353e,_0x390966,_0x1ab007){if(0x3c!=_0x13353e['next'])return-0x1;let _0x4e6dfb=_0x13353e['text']['slice'](_0x13353e['pos']);for(let _0x258ff1=0x0,_0x248e0c=HTMLBlockStyle['length']-(_0x1ab007?0x1:0x0);_0x258ff1<_0x248e0c;_0x258ff1++)if(HTMLBlockStyle[_0x258ff1][0x0]['test'](_0x4e6dfb))return _0x258ff1;return-0x1;}function getListIndent(_0x286556,_0x193144){let _0x125242=_0x286556['countIndent'](_0x193144,_0x286556['pos'],_0x286556['indent']),_0x4fb01e=_0x286556['countIndent'](_0x286556['skipSpace'](_0x193144),_0x193144,_0x125242);return _0x4fb01e>=_0x125242+0x5?_0x125242+0x1:_0x4fb01e;}function addCodeText(_0x341f06,_0x552076,_0x386b83){let _0x12fe4c=_0x341f06['length']-0x1;_0x12fe4c>=0x0&&_0x341f06[_0x12fe4c]['to']==_0x552076&&_0x341f06[_0x12fe4c]['type']==_0x5e2e59['CodeText']?_0x341f06[_0x12fe4c]['to']=_0x386b83:_0x341f06['push'](elt(_0x5e2e59['CodeText'],_0x552076,_0x386b83));}const DefaultBlockParsers={'LinkReference':void 0x0,'IndentedCode'(_0x27caf4,_0x35fc72){let _0x4bd9de=_0x35fc72['baseIndent']+0x4;if(_0x35fc72['indent']<_0x4bd9de)return!0x1;let _0x458f80=_0x35fc72['findColumn'](_0x4bd9de),_0x465747=_0x27caf4['lineStart']+_0x458f80,_0x5c7f8b=_0x27caf4['lineStart']+_0x35fc72['text']['length'],_0x1ae6f0=[],_0x5d5448=[];for(addCodeText(_0x1ae6f0,_0x465747,_0x5c7f8b);_0x27caf4['nextLine']()&&_0x35fc72['depth']>=_0x27caf4['stack']['length'];)if(_0x35fc72['pos']==_0x35fc72['text']['length']){addCodeText(_0x5d5448,_0x27caf4['lineStart']-0x1,_0x27caf4['lineStart']);for(let _0x42beac of _0x35fc72['markers'])_0x5d5448['push'](_0x42beac);}else{if(_0x35fc72['indent']<_0x4bd9de)break;{if(_0x5d5448['length']){for(let _0x2a55b6 of _0x5d5448)_0x2a55b6['type']==_0x5e2e59['CodeText']?addCodeText(_0x1ae6f0,_0x2a55b6['from'],_0x2a55b6['to']):_0x1ae6f0['push'](_0x2a55b6);_0x5d5448=[];}addCodeText(_0x1ae6f0,_0x27caf4['lineStart']-0x1,_0x27caf4['lineStart']);for(let _0x367c8c of _0x35fc72['markers'])_0x1ae6f0['push'](_0x367c8c);_0x5c7f8b=_0x27caf4['lineStart']+_0x35fc72['text']['length'];let _0x44dab2=_0x27caf4['lineStart']+_0x35fc72['findColumn'](_0x35fc72['baseIndent']+0x4);_0x44dab2<_0x5c7f8b&&addCodeText(_0x1ae6f0,_0x44dab2,_0x5c7f8b);}}return _0x5d5448['length']&&(_0x5d5448=_0x5d5448['filter'](_0x40e7fc=>_0x40e7fc['type']!=_0x5e2e59['CodeText']),_0x5d5448['length']&&(_0x35fc72['markers']=_0x5d5448['concat'](_0x35fc72['markers']))),_0x27caf4['addNode'](_0x27caf4['buffer']['writeElements'](_0x1ae6f0,-_0x465747)['finish'](_0x5e2e59['CodeBlock'],_0x5c7f8b-_0x465747),_0x465747),!0x0;},'FencedCode'(_0x508c0a,_0x85ba5a){let _0x1008bb=_0x2a3fb8(_0x85ba5a);if(_0x1008bb<0x0)return!0x1;let _0x3d9eeb=_0x508c0a['lineStart']+_0x85ba5a['pos'],_0x3fea8d=_0x85ba5a['next'],_0x2e2de0=_0x1008bb-_0x85ba5a['pos'],_0x77cef4=_0x85ba5a['skipSpace'](_0x1008bb),_0xead129=_0x3758ce(_0x85ba5a['text'],_0x85ba5a['text']['length'],_0x77cef4),_0x165b72=[elt(_0x5e2e59['CodeMark'],_0x3d9eeb,_0x3d9eeb+_0x2e2de0)];_0x77cef4<_0xead129&&_0x165b72['push'](elt(_0x5e2e59['CodeInfo'],_0x508c0a['lineStart']+_0x77cef4,_0x508c0a['lineStart']+_0xead129));for(let _0x3800a8=!0x0;_0x508c0a['nextLine']()&&_0x85ba5a['depth']>=_0x508c0a['stack']['length'];_0x3800a8=!0x1){let _0x3fd2fe=_0x85ba5a['pos'];if(_0x85ba5a['indent']-_0x85ba5a['baseIndent']<0x4){for(;_0x3fd2fe<_0x85ba5a['text']['length']&&_0x85ba5a['text']['charCodeAt'](_0x3fd2fe)==_0x3fea8d;)_0x3fd2fe++;}if(_0x3fd2fe-_0x85ba5a['pos']>=_0x2e2de0&&_0x85ba5a['skipSpace'](_0x3fd2fe)==_0x85ba5a['text']['length']){for(let _0x858d64 of _0x85ba5a['markers'])_0x165b72['push'](_0x858d64);_0x165b72['push'](elt(_0x5e2e59['CodeMark'],_0x508c0a['lineStart']+_0x85ba5a['pos'],_0x508c0a['lineStart']+_0x3fd2fe)),_0x508c0a['nextLine']();break;}{_0x3800a8||addCodeText(_0x165b72,_0x508c0a['lineStart']-0x1,_0x508c0a['lineStart']);for(let _0x47d922 of _0x85ba5a['markers'])_0x165b72['push'](_0x47d922);let _0x568d78=_0x508c0a['lineStart']+_0x85ba5a['basePos'],_0x1cf178=_0x508c0a['lineStart']+_0x85ba5a['text']['length'];_0x568d78<_0x1cf178&&addCodeText(_0x165b72,_0x568d78,_0x1cf178);}}return _0x508c0a['addNode'](_0x508c0a['buffer']['writeElements'](_0x165b72,-_0x3d9eeb)['finish'](_0x5e2e59['FencedCode'],_0x508c0a['prevLineEnd']()-_0x3d9eeb),_0x3d9eeb),!0x0;},'Blockquote'(_0x206cbd,_0x269486){let _0x39a31f=isBlockquote(_0x269486);return!(_0x39a31f<0x0)&&(_0x206cbd['startContext'](_0x5e2e59['Blockquote'],_0x269486['pos']),_0x206cbd['addNode'](_0x5e2e59['QuoteMark'],_0x206cbd['lineStart']+_0x269486['pos'],_0x206cbd['lineStart']+_0x269486['pos']+0x1),_0x269486['moveBase'](_0x269486['pos']+_0x39a31f),null);},'HorizontalRule'(_0x568d88,_0x9aba58){if(isHorizontalRule(_0x9aba58,_0x568d88,!0x1)<0x0)return!0x1;let _0x1622e7=_0x568d88['lineStart']+_0x9aba58['pos'];return _0x568d88['nextLine'](),_0x568d88['addNode'](_0x5e2e59['HorizontalRule'],_0x1622e7),!0x0;},'BulletList'(_0x189aa7,_0x2c107e){let _0x3b3d75=isBulletList(_0x2c107e,_0x189aa7,!0x1);if(_0x3b3d75<0x0)return!0x1;_0x189aa7['block']['type']!=_0x5e2e59['BulletList']&&_0x189aa7['startContext'](_0x5e2e59['BulletList'],_0x2c107e['basePos'],_0x2c107e['next']);let _0x39361a=getListIndent(_0x2c107e,_0x2c107e['pos']+0x1);return _0x189aa7['startContext'](_0x5e2e59['ListItem'],_0x2c107e['basePos'],_0x39361a-_0x2c107e['baseIndent']),_0x189aa7['addNode'](_0x5e2e59['ListMark'],_0x189aa7['lineStart']+_0x2c107e['pos'],_0x189aa7['lineStart']+_0x2c107e['pos']+_0x3b3d75),_0x2c107e['moveBaseColumn'](_0x39361a),null;},'OrderedList'(_0x227405,_0x1b6e9c){let _0x8ac391=isOrderedList(_0x1b6e9c,_0x227405,!0x1);if(_0x8ac391<0x0)return!0x1;_0x227405['block']['type']!=_0x5e2e59['OrderedList']&&_0x227405['startContext'](_0x5e2e59['OrderedList'],_0x1b6e9c['basePos'],_0x1b6e9c['text']['charCodeAt'](_0x1b6e9c['pos']+_0x8ac391-0x1));let _0x1529ed=getListIndent(_0x1b6e9c,_0x1b6e9c['pos']+_0x8ac391);return _0x227405['startContext'](_0x5e2e59['ListItem'],_0x1b6e9c['basePos'],_0x1529ed-_0x1b6e9c['baseIndent']),_0x227405['addNode'](_0x5e2e59['ListMark'],_0x227405['lineStart']+_0x1b6e9c['pos'],_0x227405['lineStart']+_0x1b6e9c['pos']+_0x8ac391),_0x1b6e9c['moveBaseColumn'](_0x1529ed),null;},'ATXHeading'(_0x106cc2,_0x3e9736){let _0x52ceee=isAtxHeading(_0x3e9736);if(_0x52ceee<0x0)return!0x1;let _0xae98aa=_0x3e9736['pos'],_0x5e0c7d=_0x106cc2['lineStart']+_0xae98aa,_0x234df5=_0x3758ce(_0x3e9736['text'],_0x3e9736['text']['length'],_0xae98aa),_0x20ed91=_0x234df5;for(;_0x20ed91>_0xae98aa&&_0x3e9736['text']['charCodeAt'](_0x20ed91-0x1)==_0x3e9736['next'];)_0x20ed91--;_0x20ed91!=_0x234df5&&_0x20ed91!=_0xae98aa&&_0x475d1f(_0x3e9736['text']['charCodeAt'](_0x20ed91-0x1))||(_0x20ed91=_0x3e9736['text']['length']);let _0x2d90aa=_0x106cc2['buffer']['write'](_0x5e2e59['HeaderMark'],0x0,_0x52ceee)['writeElements'](_0x106cc2['parser']['parseInline'](_0x3e9736['text']['slice'](_0xae98aa+_0x52ceee+0x1,_0x20ed91),_0x5e0c7d+_0x52ceee+0x1),-_0x5e0c7d);_0x20ed91<_0x3e9736['text']['length']&&_0x2d90aa['write'](_0x5e2e59['HeaderMark'],_0x20ed91-_0xae98aa,_0x234df5-_0xae98aa);let _0x42bc99=_0x2d90aa['finish'](_0x5e2e59['ATXHeading1']-0x1+_0x52ceee,_0x3e9736['text']['length']-_0xae98aa);return _0x106cc2['nextLine'](),_0x106cc2['addNode'](_0x42bc99,_0x5e0c7d),!0x0;},'HTMLBlock'(_0x33dc94,_0x104d14){let _0x3530c1=_0x4a4aa3(_0x104d14,_0x33dc94,!0x1);if(_0x3530c1<0x0)return!0x1;let _0x340324=_0x33dc94['lineStart']+_0x104d14['pos'],_0x4a4791=HTMLBlockStyle[_0x3530c1][0x1],_0x11ce23=[],_0x567fd9=_0x4a4791!=EmptyLine;for(;!_0x4a4791['test'](_0x104d14['text'])&&_0x33dc94['nextLine']();){if(_0x104d14['depth']<_0x33dc94['stack']['length']){_0x567fd9=!0x1;break;}for(let _0x30608e of _0x104d14['markers'])_0x11ce23['push'](_0x30608e);}_0x567fd9&&_0x33dc94['nextLine']();let _0x58d549=_0x4a4791==CommentEnd?_0x5e2e59['CommentBlock']:_0x4a4791==_0xc7394e?_0x5e2e59['ProcessingInstructionBlock']:_0x5e2e59['HTMLBlock'],_0x11043f=_0x33dc94['prevLineEnd']();return _0x33dc94['addNode'](_0x33dc94['buffer']['writeElements'](_0x11ce23,-_0x340324)['finish'](_0x58d549,_0x11043f-_0x340324),_0x340324),!0x0;},'SetextHeading':void 0x0};class _0x210589{constructor(_0x14f104){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0x14f104['start'],this['advance'](_0x14f104['content']);}['nextLine'](_0x2a9fd6,_0x2b5949,_0x120061){if(-0x1==this['stage'])return!0x1;let _0x51ca8b=_0x120061['content']+'\x0a'+_0x2b5949['scrub'](),_0x162a9c=this['advance'](_0x51ca8b);return _0x162a9c>-0x1&&_0x162a9c<_0x51ca8b['length']&&this['complete'](_0x2a9fd6,_0x120061,_0x162a9c);}['finish'](_0x19d1d1,_0x7f7715){return(0x2==this['stage']||0x3==this['stage'])&&_0x2de4a8(_0x7f7715['content'],this['pos'])==_0x7f7715['content']['length']&&this['complete'](_0x19d1d1,_0x7f7715,_0x7f7715['content']['length']);}['complete'](_0x2bdead,_0x59c37e,_0x3e0bfc){return _0x2bdead['addLeafElement'](_0x59c37e,elt(_0x5e2e59['LinkReference'],this['start'],this['start']+_0x3e0bfc,this['elts'])),!0x0;}['nextStage'](_0xb2cd15){return _0xb2cd15?(this['pos']=_0xb2cd15['to']-this['start'],this['elts']['push'](_0xb2cd15),this['stage']++,!0x0):(!0x1===_0xb2cd15&&(this['stage']=-0x1),!0x1);}['advance'](_0x308584){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](_0x403c31(_0x308584,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x308584['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](elt(_0x5e2e59['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x3fde21=_0x2de4a8(_0x308584,this['pos']),_0x37412f=0x0;if(_0x3fde21>this['pos']){let _0x1d197e=parseLinkTitle(_0x308584,_0x3fde21,this['start']);if(_0x1d197e){let _0x32f312=_0x5727b4(_0x308584,_0x1d197e['to']-this['start']);_0x32f312>0x0&&(this['nextStage'](_0x1d197e),_0x37412f=_0x32f312);}}return _0x37412f||(_0x37412f=_0x5727b4(_0x308584,this['pos'])),_0x37412f>0x0&&_0x37412f<_0x308584['length']?_0x37412f:-0x1;}return _0x5727b4(_0x308584,this['pos']);}if(!this['nextStage'](_0x437016(_0x308584,_0x2de4a8(_0x308584,this['pos']),this['start'])))return-0x1;}}}}function _0x5727b4(_0x4e381d,_0x488624){for(;_0x488624<_0x4e381d['length'];_0x488624++){let _0x45ef0f=_0x4e381d['charCodeAt'](_0x488624);if(0xa==_0x45ef0f)break;if(!_0x475d1f(_0x45ef0f))return-0x1;}return _0x488624;}class SetextHeadingParser{['nextLine'](_0x2990b4,_0x1d8ccd,_0x218759){let _0x1f65cf=_0x1d8ccd['depth']<_0x2990b4['stack']['length']?-0x1:isSetextUnderline(_0x1d8ccd),_0x729e86=_0x1d8ccd['next'];if(_0x1f65cf<0x0)return!0x1;let _0x160625=elt(_0x5e2e59['HeaderMark'],_0x2990b4['lineStart']+_0x1d8ccd['pos'],_0x2990b4['lineStart']+_0x1f65cf);return _0x2990b4['nextLine'](),_0x2990b4['addLeafElement'](_0x218759,elt(0x3d==_0x729e86?_0x5e2e59['SetextHeading1']:_0x5e2e59['SetextHeading2'],_0x218759['start'],_0x2990b4['prevLineEnd'](),[..._0x2990b4['parser']['parseInline'](_0x218759['content'],_0x218759['start']),_0x160625])),!0x0;}['finish'](){return!0x1;}}const DefaultLeafBlocks={'LinkReference':(_0x5ce97f,_0x560fce)=>0x5b==_0x560fce['content']['charCodeAt'](0x0)?new _0x210589(_0x560fce):null,'SetextHeading':()=>new SetextHeadingParser()},DefaultEndLeaf=[(_0x14aa68,_0x2880c0)=>isAtxHeading(_0x2880c0)>=0x0,(_0x4f1b21,_0x57fe78)=>_0x2a3fb8(_0x57fe78)>=0x0,(_0x5f3b29,_0x39a959)=>isBlockquote(_0x39a959)>=0x0,(_0x1b6b96,_0x36e91c)=>isBulletList(_0x36e91c,_0x1b6b96,!0x0)>=0x0,(_0x113145,_0xbf8c68)=>isOrderedList(_0xbf8c68,_0x113145,!0x0)>=0x0,(_0xd7532b,_0x8a64f2)=>isHorizontalRule(_0x8a64f2,_0xd7532b,!0x0)>=0x0,(_0x1e2b51,_0x443464)=>_0x4a4aa3(_0x443464,_0x1e2b51,!0x0)>=0x0],scanLineResult={'text':'','end':0x0};class BlockContext{constructor(_0x30ca60,_0x35d38b,_0x4ad067,_0x2b3037){this['parser']=_0x30ca60,this['input']=_0x35d38b,this['ranges']=_0x2b3037,this['line']=new _0x556068(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0x2b3037[_0x2b3037['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0x2b3037[0x0]['from'],this['block']=CompositeBlock['create'](_0x5e2e59['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x4ad067['length']?new FragmentCursor(_0x4ad067,_0x35d38b):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0x4e3864}=this;for(;;){for(let _0x2c24a0=0x0;;){let _0x331f6f=_0x4e3864['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x2c24a0<_0x4e3864['markers']['length']&&(!_0x331f6f||_0x4e3864['markers'][_0x2c24a0]['from']<_0x331f6f['end']);){let _0x262f65=_0x4e3864['markers'][_0x2c24a0++];this['addNode'](_0x262f65['type'],_0x262f65['from'],_0x262f65['to']);}if(!_0x331f6f)break;this['finishContext']();}if(_0x4e3864['pos']<_0x4e3864['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0x4e3864['basePos']))return null;t:for(;;){for(let _0x1290b4 of this['parser']['blockParsers'])if(_0x1290b4){let _0x5a8bb7=_0x1290b4(this,_0x4e3864);if(0x0!=_0x5a8bb7){if(0x1==_0x5a8bb7)return null;_0x4e3864['forward']();continue t;}}break;}let _0x58de13=new _0x3b0850(this['lineStart']+_0x4e3864['pos'],_0x4e3864['text']['slice'](_0x4e3864['pos']));for(let _0x5c2828 of this['parser']['leafBlockParsers'])if(_0x5c2828){let _0x17c08d=_0x5c2828(this,_0x58de13);_0x17c08d&&_0x58de13['parsers']['push'](_0x17c08d);}t:for(;this['nextLine']()&&_0x4e3864['pos']!=_0x4e3864['text']['length'];){if(_0x4e3864['indent']<_0x4e3864['baseIndent']+0x4){for(let _0x3db77d of this['parser']['endLeafBlock'])if(_0x3db77d(this,_0x4e3864,_0x58de13))break t;}for(let _0x44e996 of _0x58de13['parsers'])if(_0x44e996['nextLine'](this,_0x4e3864,_0x58de13))return null;_0x58de13['content']+='\x0a'+_0x4e3864['scrub']();for(let _0x675d58 of _0x4e3864['markers'])_0x58de13['marks']['push'](_0x675d58);}return this['finishLeaf'](_0x58de13),null;}['stopAt'](_0x46170f){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x46170f)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x46170f;}['reuseFragment'](_0x369c14){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x369c14,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x499c75=this['fragments']['takeNodes'](this);return!!_0x499c75&&(this['absoluteLineStart']+=_0x499c75,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'](_0x49520a=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x49520a]['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'](_0x1e1600){let _0x314594=scanLineResult;if(_0x314594['end']=_0x1e1600,_0x1e1600>=this['to'])_0x314594['text']='';else{if(_0x314594['text']=this['lineChunkAt'](_0x1e1600),_0x314594['end']+=_0x314594['text']['length'],this['ranges']['length']>0x1){let _0x4c3876=this['absoluteLineStart'],_0x28e18d=this['rangeI'];for(;this['ranges'][_0x28e18d]['to']<_0x314594['end'];){_0x28e18d++;let _0x454e4e=this['ranges'][_0x28e18d]['from'],_0xc631c=this['lineChunkAt'](_0x454e4e);_0x314594['end']=_0x454e4e+_0xc631c['length'],_0x314594['text']=_0x314594['text']['slice'](0x0,this['ranges'][_0x28e18d-0x1]['to']-_0x4c3876)+_0xc631c,_0x4c3876=_0x314594['end']-_0x314594['text']['length'];}}}return _0x314594;}['readLine'](){let {line:_0x5e9824}=this,{text:_0x58c252,end:_0x443cff}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x443cff,_0x5e9824['reset'](_0x58c252);_0x5e9824['depth']<this['stack']['length'];_0x5e9824['depth']++){let _0x2eba63=this['stack'][_0x5e9824['depth']],_0x5dc67f=this['parser']['skipContextMarkup'][_0x2eba63['type']];if(!_0x5dc67f)throw new Error('Unhandled\x20block\x20context\x20'+_0x5e2e59[_0x2eba63['type']]);let _0x5c07fe=this['line']['markers']['length'];if(!_0x5dc67f(_0x2eba63,this,_0x5e9824)){this['line']['markers']['length']>_0x5c07fe&&(_0x2eba63['end']=this['line']['markers'][this['line']['markers']['length']-0x1]['to']);break;}_0x5e9824['forward']();}}['lineChunkAt'](_0x136c76){let _0x1e5376,_0x11083b=this['input']['chunk'](_0x136c76);if(this['input']['lineChunks'])_0x1e5376='\x0a'==_0x11083b?'':_0x11083b;else{let _0x216bbb=_0x11083b['indexOf']('\x0a');_0x1e5376=_0x216bbb<0x0?_0x11083b:_0x11083b['slice'](0x0,_0x216bbb);}return _0x136c76+_0x1e5376['length']>this['to']?_0x1e5376['slice'](0x0,this['to']-_0x136c76):_0x1e5376;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0x3a303c,_0x5af7ab,_0x248168=0x0){this['block']=CompositeBlock['create'](_0x3a303c,_0x248168,this['lineStart']+_0x5af7ab,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0xf4a531,_0x1f89c5,_0x35f8c8=0x0){this['startContext'](this['parser']['getNodeType'](_0xf4a531),_0x1f89c5,_0x35f8c8);}['addNode'](_0x365227,_0x159148,_0x28b9f9){'number'==typeof _0x365227&&(_0x365227=new _0x4939af(this['parser']['nodeSet']['types'][_0x365227],_0x553332,_0x553332,(null!=_0x28b9f9?_0x28b9f9:this['prevLineEnd']())-_0x159148)),this['block']['addChild'](_0x365227,_0x159148-this['block']['from']);}['addElement'](_0x2e18db){this['block']['addChild'](_0x2e18db['toTree'](this['parser']['nodeSet']),_0x2e18db['from']-this['block']['from']);}['addLeafElement'](_0x4a2416,_0xdccf7e){this['addNode'](this['buffer']['writeElements'](injectMarks(_0xdccf7e['children'],_0x4a2416['marks']),-_0xdccf7e['from'])['finish'](_0xdccf7e['type'],_0xdccf7e['to']-_0xdccf7e['from']),_0xdccf7e['from']);}['finishContext'](){let _0x56def2=this['stack']['pop'](),_0x223264=this['stack'][this['stack']['length']-0x1];_0x223264['addChild'](_0x56def2['toTree'](this['parser']['nodeSet']),_0x56def2['from']-_0x223264['from']),this['block']=_0x223264;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0x535a33){return this['ranges']['length']>0x1?injectGaps(this['ranges'],0x0,_0x535a33['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0x535a33;}['finishLeaf'](_0x457d28){for(let _0x1e9817 of _0x457d28['parsers'])if(_0x1e9817['finish'](this,_0x457d28))return;let _0x1d5ccc=injectMarks(this['parser']['parseInline'](_0x457d28['content'],_0x457d28['start']),_0x457d28['marks']);this['addNode'](this['buffer']['writeElements'](_0x1d5ccc,-_0x457d28['start'])['finish'](_0x5e2e59['Paragraph'],_0x457d28['content']['length']),_0x457d28['start']);}['elt'](_0x3c5bd2,_0x1da771,_0x4a9d9b,_0x3ddfc2){return'string'==typeof _0x3c5bd2?elt(this['parser']['getNodeType'](_0x3c5bd2),_0x1da771,_0x4a9d9b,_0x3ddfc2):new TreeElement(_0x3c5bd2,_0x1da771);}get['buffer'](){return new _0x5b8f86(this['parser']['nodeSet']);}}function injectGaps(_0x217124,_0x2884e3,_0x96b861,_0x19d1ee,_0x207045){let _0x5c3d18=_0x217124[_0x2884e3]['to'],_0x5c7044=[],_0x401f80=[],_0x1de8b4=_0x96b861['from']+_0x19d1ee;function _0x4e538f(_0x9ad4b3,_0x583038){for(;_0x583038?_0x9ad4b3>=_0x5c3d18:_0x9ad4b3>_0x5c3d18;){let _0x5d2c44=_0x217124[_0x2884e3+0x1]['from']-_0x5c3d18;_0x19d1ee+=_0x5d2c44,_0x9ad4b3+=_0x5d2c44,_0x2884e3++,_0x5c3d18=_0x217124[_0x2884e3]['to'];}}for(let _0x409f66=_0x96b861['firstChild'];_0x409f66;_0x409f66=_0x409f66['nextSibling']){_0x4e538f(_0x409f66['from']+_0x19d1ee,!0x0);let _0x3f91bd,_0xcaa880=_0x409f66['from']+_0x19d1ee,_0x5590c1=_0x207045['get'](_0x409f66['tree']);_0x5590c1?_0x3f91bd=_0x5590c1:_0x409f66['to']+_0x19d1ee>_0x5c3d18?(_0x3f91bd=injectGaps(_0x217124,_0x2884e3,_0x409f66,_0x19d1ee,_0x207045),_0x4e538f(_0x409f66['to']+_0x19d1ee,!0x1)):_0x3f91bd=_0x409f66['toTree'](),_0x5c7044['push'](_0x3f91bd),_0x401f80['push'](_0xcaa880-_0x1de8b4);}return _0x4e538f(_0x96b861['to']+_0x19d1ee,!0x1),new _0x4939af(_0x96b861['type'],_0x5c7044,_0x401f80,_0x96b861['to']+_0x19d1ee-_0x1de8b4,_0x96b861['tree']?_0x96b861['tree']['propValues']:void 0x0);}class _0x557a09 extends _0x137c2b{constructor(_0x1a7939,_0x1e5b94,_0x49ce5c,_0x50692d,_0x4de144,_0x99098b,_0x2bac3d,_0x3bd3e5,_0x5a7d64){super(),this['nodeSet']=_0x1a7939,this['blockParsers']=_0x1e5b94,this['leafBlockParsers']=_0x49ce5c,this['blockNames']=_0x50692d,this['endLeafBlock']=_0x4de144,this['skipContextMarkup']=_0x99098b,this['inlineParsers']=_0x2bac3d,this['inlineNames']=_0x3bd3e5,this['wrappers']=_0x5a7d64,this['nodeTypes']=Object['create'](null);for(let t of _0x1a7939['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x15e686,_0x443de7,_0x1c93c7){let _0x58331e=new BlockContext(this,_0x15e686,_0x443de7,_0x1c93c7);for(let _0x49a905 of this['wrappers'])_0x58331e=_0x49a905(_0x58331e,_0x15e686,_0x443de7,_0x1c93c7);return _0x58331e;}['configure'](_0x7ac1a3){let _0x171e12=_0x570a2e(_0x7ac1a3);if(!_0x171e12)return this;let {nodeSet:_0x3ced32,skipContextMarkup:_0x4f8e38}=this,_0x229209=this['blockParsers']['slice'](),_0x2e2a61=this['leafBlockParsers']['slice'](),_0x47387b=this['blockNames']['slice'](),_0x20e3f7=this['inlineParsers']['slice'](),_0x1d3c2d=this['inlineNames']['slice'](),_0x3e3dbe=this['endLeafBlock']['slice'](),_0x344034=this['wrappers'];if(nonEmpty(_0x171e12['defineNodes'])){_0x4f8e38=Object['assign']({},_0x4f8e38);let _0x32993d,_0x5bcaf8=_0x3ced32['types']['slice']();for(let _0x3792d6 of _0x171e12['defineNodes']){let {name:_0x4d7226,block:_0x2f35d4,composite:_0x48bdfb,style:_0x7b1505}='string'==typeof _0x3792d6?{'name':_0x3792d6}:_0x3792d6;if(_0x5bcaf8['some'](t=>t['name']==_0x4d7226))continue;_0x48bdfb&&(_0x4f8e38[_0x5bcaf8['length']]=(_0x26b317,_0x4c3de3,_0x4fee2c)=>_0x48bdfb(_0x4c3de3,_0x4fee2c,_0x26b317['value']));let _0x1aa04a=_0x5bcaf8['length'],_0x401e7d=_0x48bdfb?['Block','BlockContext']:_0x2f35d4?_0x1aa04a>=_0x5e2e59['ATXHeading1']&&_0x1aa04a<=_0x5e2e59['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0x5bcaf8['push'](_0x5d390a['define']({'id':_0x1aa04a,'name':_0x4d7226,'props':_0x401e7d&&[[_0x114f67['group'],_0x401e7d]]})),_0x7b1505&&(_0x32993d||(_0x32993d={}),Array['isArray'](_0x7b1505)||_0x7b1505 instanceof _0x4cb71f?_0x32993d[_0x4d7226]=_0x7b1505:Object['assign'](_0x32993d,_0x7b1505));}_0x3ced32=new NodeSet(_0x5bcaf8),_0x32993d&&(_0x3ced32=_0x3ced32['extend'](styleTags(_0x32993d)));}if(nonEmpty(_0x171e12['props'])&&(_0x3ced32=_0x3ced32['extend'](..._0x171e12['props'])),nonEmpty(_0x171e12['remove']))for(let _0x3b8f6d of _0x171e12['remove']){let _0x238b5b=this['blockNames']['indexOf'](_0x3b8f6d),_0x3d9ece=this['inlineNames']['indexOf'](_0x3b8f6d);_0x238b5b>-0x1&&(_0x229209[_0x238b5b]=_0x2e2a61[_0x238b5b]=void 0x0),_0x3d9ece>-0x1&&(_0x20e3f7[_0x3d9ece]=void 0x0);}if(nonEmpty(_0x171e12['parseBlock']))for(let _0x106bc7 of _0x171e12['parseBlock']){let _0xe49e1b=_0x47387b['indexOf'](_0x106bc7['name']);if(_0xe49e1b>-0x1)_0x229209[_0xe49e1b]=_0x106bc7['parse'],_0x2e2a61[_0xe49e1b]=_0x106bc7['leaf'];else{let _0x5f0eb4=_0x106bc7['before']?_0x118cfa(_0x47387b,_0x106bc7['before']):_0x106bc7['after']?_0x118cfa(_0x47387b,_0x106bc7['after'])+0x1:_0x47387b['length']-0x1;_0x229209['splice'](_0x5f0eb4,0x0,_0x106bc7['parse']),_0x2e2a61['splice'](_0x5f0eb4,0x0,_0x106bc7['leaf']),_0x47387b['splice'](_0x5f0eb4,0x0,_0x106bc7['name']);}_0x106bc7['endLeaf']&&_0x3e3dbe['push'](_0x106bc7['endLeaf']);}if(nonEmpty(_0x171e12['parseInline']))for(let _0x3e7d8b of _0x171e12['parseInline']){let _0x4dc07c=_0x1d3c2d['indexOf'](_0x3e7d8b['name']);if(_0x4dc07c>-0x1)_0x20e3f7[_0x4dc07c]=_0x3e7d8b['parse'];else{let _0x2ff0a6=_0x3e7d8b['before']?_0x118cfa(_0x1d3c2d,_0x3e7d8b['before']):_0x3e7d8b['after']?_0x118cfa(_0x1d3c2d,_0x3e7d8b['after'])+0x1:_0x1d3c2d['length']-0x1;_0x20e3f7['splice'](_0x2ff0a6,0x0,_0x3e7d8b['parse']),_0x1d3c2d['splice'](_0x2ff0a6,0x0,_0x3e7d8b['name']);}}return _0x171e12['wrap']&&(_0x344034=_0x344034['concat'](_0x171e12['wrap'])),new _0x557a09(_0x3ced32,_0x229209,_0x2e2a61,_0x47387b,_0x3e3dbe,_0x4f8e38,_0x20e3f7,_0x1d3c2d,_0x344034);}['getNodeType'](_0x59ac17){let _0x2444d4=this['nodeTypes'][_0x59ac17];if(null==_0x2444d4)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0x59ac17+'\x27');return _0x2444d4;}['parseInline'](_0x30e07c,_0x17c122){let _0x5d6437=new InlineContext(this,_0x30e07c,_0x17c122);t:for(let _0x191040=_0x17c122;_0x191040<_0x5d6437['end'];){let _0x2e9391=_0x5d6437['char'](_0x191040);for(let _0x2f27ee of this['inlineParsers'])if(_0x2f27ee){let _0x22712b=_0x2f27ee(_0x5d6437,_0x2e9391,_0x191040);if(_0x22712b>=0x0){_0x191040=_0x22712b;continue t;}}_0x191040++;}return _0x5d6437['resolveMarkers'](0x0);}}function nonEmpty(_0x2c1689){return null!=_0x2c1689&&_0x2c1689['length']>0x0;}function _0x570a2e(_0x4644fb){if(!Array['isArray'](_0x4644fb))return _0x4644fb;if(0x0==_0x4644fb['length'])return null;let _0x3fe538=_0x570a2e(_0x4644fb[0x0]);if(0x1==_0x4644fb['length'])return _0x3fe538;let _0x2f24f7=_0x570a2e(_0x4644fb['slice'](0x1));if(!_0x2f24f7||!_0x3fe538)return _0x3fe538||_0x2f24f7;let _0xcf6ea=(_0x18f51d,_0x28c9b2)=>(_0x18f51d||_0x553332)['concat'](_0x28c9b2||_0x553332),_0x47ebab=_0x3fe538['wrap'],_0x1e28b3=_0x2f24f7['wrap'];return{'props':_0xcf6ea(_0x3fe538['props'],_0x2f24f7['props']),'defineNodes':_0xcf6ea(_0x3fe538['defineNodes'],_0x2f24f7['defineNodes']),'parseBlock':_0xcf6ea(_0x3fe538['parseBlock'],_0x2f24f7['parseBlock']),'parseInline':_0xcf6ea(_0x3fe538['parseInline'],_0x2f24f7['parseInline']),'remove':_0xcf6ea(_0x3fe538['remove'],_0x2f24f7['remove']),'wrap':_0x47ebab?_0x1e28b3?(_0x178cd4,_0x4fded0,_0x490628,_0x8815e6)=>_0x47ebab(_0x1e28b3(_0x178cd4,_0x4fded0,_0x490628,_0x8815e6),_0x4fded0,_0x490628,_0x8815e6):_0x47ebab:_0x1e28b3};}function _0x118cfa(_0x2a60ea,_0x3669e7){let _0x75fbac=_0x2a60ea['indexOf'](_0x3669e7);if(_0x75fbac<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x3669e7);return _0x75fbac;}let _0x47bca9=[_0x5d390a['none']];for(let _0x143162=0x1,_0x88ccd3;_0x88ccd3=_0x5e2e59[_0x143162];_0x143162++)_0x47bca9[_0x143162]=_0x5d390a['define']({'id':_0x143162,'name':_0x88ccd3,'props':_0x143162>=_0x5e2e59['Escape']?[]:[[_0x114f67['group'],_0x143162 in DefaultSkipMarkup?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==_0x88ccd3});const _0x553332=[];let _0x5b8f86=class{constructor(_0x28da39){this['nodeSet']=_0x28da39,this['content']=[],this['nodes']=[];}['write'](_0x93f497,_0x510b35,_0x27054e,_0x470dea=0x0){return this['content']['push'](_0x93f497,_0x510b35,_0x27054e,0x4+0x4*_0x470dea),this;}['writeElements'](_0x3852e9,_0x2309b2=0x0){for(let _0x4c5514 of _0x3852e9)_0x4c5514['writeTo'](this,_0x2309b2);return this;}['finish'](_0x4af7ce,_0x213cb7){return _0x4939af['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0x4af7ce,'length':_0x213cb7});}},Element$1=class{constructor(_0x56aa1c,_0x3cca79,_0x4324f4,_0x2130db=_0x553332){this['type']=_0x56aa1c,this['from']=_0x3cca79,this['to']=_0x4324f4,this['children']=_0x2130db;}['writeTo'](_0x544eb0,_0x3a2412){let _0x52c9b6=_0x544eb0['content']['length'];_0x544eb0['writeElements'](this['children'],_0x3a2412),_0x544eb0['content']['push'](this['type'],this['from']+_0x3a2412,this['to']+_0x3a2412,_0x544eb0['content']['length']+0x4-_0x52c9b6);}['toTree'](_0x7c4da9){return new _0x5b8f86(_0x7c4da9)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}};class TreeElement{constructor(_0x527378,_0xb7df1e){this['tree']=_0x527378,this['from']=_0xb7df1e;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return _0x553332;}['writeTo'](_0x20be90,_0x3a9141){_0x20be90['nodes']['push'](this['tree']),_0x20be90['content']['push'](_0x20be90['nodes']['length']-0x1,this['from']+_0x3a9141,this['to']+_0x3a9141,-0x1);}['toTree'](){return this['tree'];}}function elt(_0x441597,_0x219b38,_0x4c060a,_0x10fa5d){return new Element$1(_0x441597,_0x219b38,_0x4c060a,_0x10fa5d);}const _0x4fbef9={'resolve':'Emphasis','mark':'EmphasisMark'},EmphasisAsterisk={'resolve':'Emphasis','mark':'EmphasisMark'},LinkStart={},ImageStart={};class InlineDelimiter{constructor(_0x549d1e,_0x499687,_0x22ea39,_0x1e971f){this['type']=_0x549d1e,this['from']=_0x499687,this['to']=_0x22ea39,this['side']=_0x1e971f;}}const _0x284a57='!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~';let Punctuation=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{Punctuation=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x477281){}const DefaultInline={'Escape'(_0x10f749,_0x2d18b2,_0x7500fb){if(0x5c!=_0x2d18b2||_0x7500fb==_0x10f749['end']-0x1)return-0x1;let _0xbb70fc=_0x10f749['char'](_0x7500fb+0x1);for(let _0x2cd89b=0x0;_0x2cd89b<_0x284a57['length'];_0x2cd89b++)if(_0x284a57['charCodeAt'](_0x2cd89b)==_0xbb70fc)return _0x10f749['append'](elt(_0x5e2e59['Escape'],_0x7500fb,_0x7500fb+0x2));return-0x1;},'Entity'(_0xd4257e,_0xc229e5,_0x49135c){if(0x26!=_0xc229e5)return-0x1;let _0x4454fb=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0xd4257e['slice'](_0x49135c+0x1,_0x49135c+0x1f));return _0x4454fb?_0xd4257e['append'](elt(_0x5e2e59['Entity'],_0x49135c,_0x49135c+0x1+_0x4454fb[0x0]['length'])):-0x1;},'InlineCode'(_0x4779d9,_0x4eb220,_0x5ec98b){if(0x60!=_0x4eb220||_0x5ec98b&&0x60==_0x4779d9['char'](_0x5ec98b-0x1))return-0x1;let _0x2ab374=_0x5ec98b+0x1;for(;_0x2ab374<_0x4779d9['end']&&0x60==_0x4779d9['char'](_0x2ab374);)_0x2ab374++;let _0x5c2a26=_0x2ab374-_0x5ec98b,_0x47894a=0x0;for(;_0x2ab374<_0x4779d9['end'];_0x2ab374++)if(0x60==_0x4779d9['char'](_0x2ab374)){if(_0x47894a++,_0x47894a==_0x5c2a26&&0x60!=_0x4779d9['char'](_0x2ab374+0x1))return _0x4779d9['append'](elt(_0x5e2e59['InlineCode'],_0x5ec98b,_0x2ab374+0x1,[elt(_0x5e2e59['CodeMark'],_0x5ec98b,_0x5ec98b+_0x5c2a26),elt(_0x5e2e59['CodeMark'],_0x2ab374+0x1-_0x5c2a26,_0x2ab374+0x1)]));}else _0x47894a=0x0;return-0x1;},'HTMLTag'(_0x58a72a,_0x4bb98b,_0x5735f3){if(0x3c!=_0x4bb98b||_0x5735f3==_0x58a72a['end']-0x1)return-0x1;let _0x33721b=_0x58a72a['slice'](_0x5735f3+0x1,_0x58a72a['end']),_0x527489=/^(?:[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'](_0x33721b);if(_0x527489)return _0x58a72a['append'](elt(_0x5e2e59['Autolink'],_0x5735f3,_0x5735f3+0x1+_0x527489[0x0]['length'],[elt(_0x5e2e59['LinkMark'],_0x5735f3,_0x5735f3+0x1),elt(_0x5e2e59['URL'],_0x5735f3+0x1,_0x5735f3+_0x527489[0x0]['length']),elt(_0x5e2e59['LinkMark'],_0x5735f3+_0x527489[0x0]['length'],_0x5735f3+0x1+_0x527489[0x0]['length'])]));let _0x1c670a=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x33721b);if(_0x1c670a)return _0x58a72a['append'](elt(_0x5e2e59['Comment'],_0x5735f3,_0x5735f3+0x1+_0x1c670a[0x0]['length']));let _0x2eb52a=/^\?[^]*?\?>/['exec'](_0x33721b);if(_0x2eb52a)return _0x58a72a['append'](elt(_0x5e2e59['ProcessingInstruction'],_0x5735f3,_0x5735f3+0x1+_0x2eb52a[0x0]['length']));let _0x52d0be=/^(?:![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'](_0x33721b);return _0x52d0be?_0x58a72a['append'](elt(_0x5e2e59['HTMLTag'],_0x5735f3,_0x5735f3+0x1+_0x52d0be[0x0]['length'])):-0x1;},'Emphasis'(_0x25f76f,_0x5bb845,_0xe236fe){if(0x5f!=_0x5bb845&&0x2a!=_0x5bb845)return-0x1;let _0x790cc5=_0xe236fe+0x1;for(;_0x25f76f['char'](_0x790cc5)==_0x5bb845;)_0x790cc5++;let _0x512fb4=_0x25f76f['slice'](_0xe236fe-0x1,_0xe236fe),_0x44b4f1=_0x25f76f['slice'](_0x790cc5,_0x790cc5+0x1),_0x44d8f0=Punctuation['test'](_0x512fb4),_0x41639f=Punctuation['test'](_0x44b4f1),_0x343219=/\s|^$/['test'](_0x512fb4),_0x2602ef=/\s|^$/['test'](_0x44b4f1),_0x1b270d=!_0x2602ef&&(!_0x41639f||_0x343219||_0x44d8f0),_0x37ad1c=!_0x343219&&(!_0x44d8f0||_0x2602ef||_0x41639f),_0x50d284=_0x1b270d&&(0x2a==_0x5bb845||!_0x37ad1c||_0x44d8f0),_0x1f997c=_0x37ad1c&&(0x2a==_0x5bb845||!_0x1b270d||_0x41639f);return _0x25f76f['append'](new InlineDelimiter(0x5f==_0x5bb845?_0x4fbef9:EmphasisAsterisk,_0xe236fe,_0x790cc5,(_0x50d284?0x1:0x0)|(_0x1f997c?0x2:0x0)));},'HardBreak'(_0x3b64e1,_0x10f0e3,_0x2ed984){if(0x5c==_0x10f0e3&&0xa==_0x3b64e1['char'](_0x2ed984+0x1))return _0x3b64e1['append'](elt(_0x5e2e59['HardBreak'],_0x2ed984,_0x2ed984+0x2));if(0x20==_0x10f0e3){let _0x12c79e=_0x2ed984+0x1;for(;0x20==_0x3b64e1['char'](_0x12c79e);)_0x12c79e++;if(0xa==_0x3b64e1['char'](_0x12c79e)&&_0x12c79e>=_0x2ed984+0x2)return _0x3b64e1['append'](elt(_0x5e2e59['HardBreak'],_0x2ed984,_0x12c79e+0x1));}return-0x1;},'Link':(_0x136fb6,_0x5ea3fe,_0x425b08)=>0x5b==_0x5ea3fe?_0x136fb6['append'](new InlineDelimiter(LinkStart,_0x425b08,_0x425b08+0x1,0x1)):-0x1,'Image':(_0x321205,_0x319183,_0x9ef53e)=>0x21==_0x319183&&0x5b==_0x321205['char'](_0x9ef53e+0x1)?_0x321205['append'](new InlineDelimiter(ImageStart,_0x9ef53e,_0x9ef53e+0x2,0x1)):-0x1,'LinkEnd'(_0x52c14b,_0x349336,_0x2dfb73){if(0x5d!=_0x349336)return-0x1;for(let _0x839b4b=_0x52c14b['parts']['length']-0x1;_0x839b4b>=0x0;_0x839b4b--){let _0x9e89f4=_0x52c14b['parts'][_0x839b4b];if(_0x9e89f4 instanceof InlineDelimiter&&(_0x9e89f4['type']==LinkStart||_0x9e89f4['type']==ImageStart)){if(!_0x9e89f4['side']||_0x52c14b['skipSpace'](_0x9e89f4['to'])==_0x2dfb73&&!/[(\[]/['test'](_0x52c14b['slice'](_0x2dfb73+0x1,_0x2dfb73+0x2)))return _0x52c14b['parts'][_0x839b4b]=null,-0x1;let _0x4772c7=_0x52c14b['takeContent'](_0x839b4b),_0x5f0690=_0x52c14b['parts'][_0x839b4b]=_0x2953b3(_0x52c14b,_0x4772c7,_0x9e89f4['type']==LinkStart?_0x5e2e59['Link']:_0x5e2e59['Image'],_0x9e89f4['from'],_0x2dfb73+0x1);if(_0x9e89f4['type']==LinkStart)for(let _0x56db61=0x0;_0x56db61<_0x839b4b;_0x56db61++){let _0x40c5b6=_0x52c14b['parts'][_0x56db61];_0x40c5b6 instanceof InlineDelimiter&&_0x40c5b6['type']==LinkStart&&(_0x40c5b6['side']=0x0);}return _0x5f0690['to'];}}return-0x1;}};function _0x2953b3(_0x5811eb,_0x3e5eb8,_0x24d7e9,_0xfdac22,_0x1c5328){let {text:_0x34446c}=_0x5811eb,_0x40a6ad=_0x5811eb['char'](_0x1c5328),_0x27ea2f=_0x1c5328;if(_0x3e5eb8['unshift'](elt(_0x5e2e59['LinkMark'],_0xfdac22,_0xfdac22+(_0x24d7e9==_0x5e2e59['Image']?0x2:0x1))),_0x3e5eb8['push'](elt(_0x5e2e59['LinkMark'],_0x1c5328-0x1,_0x1c5328)),0x28==_0x40a6ad){let _0xde4f61,_0x21e401=_0x5811eb['skipSpace'](_0x1c5328+0x1),_0x263226=_0x437016(_0x34446c,_0x21e401-_0x5811eb['offset'],_0x5811eb['offset']);_0x263226&&(_0x21e401=_0x5811eb['skipSpace'](_0x263226['to']),_0x21e401!=_0x263226['to']&&(_0xde4f61=parseLinkTitle(_0x34446c,_0x21e401-_0x5811eb['offset'],_0x5811eb['offset']),_0xde4f61&&(_0x21e401=_0x5811eb['skipSpace'](_0xde4f61['to'])))),0x29==_0x5811eb['char'](_0x21e401)&&(_0x3e5eb8['push'](elt(_0x5e2e59['LinkMark'],_0x1c5328,_0x1c5328+0x1)),_0x27ea2f=_0x21e401+0x1,_0x263226&&_0x3e5eb8['push'](_0x263226),_0xde4f61&&_0x3e5eb8['push'](_0xde4f61),_0x3e5eb8['push'](elt(_0x5e2e59['LinkMark'],_0x21e401,_0x27ea2f)));}else{if(0x5b==_0x40a6ad){let _0x38de97=_0x403c31(_0x34446c,_0x1c5328-_0x5811eb['offset'],_0x5811eb['offset'],!0x1);_0x38de97&&(_0x3e5eb8['push'](_0x38de97),_0x27ea2f=_0x38de97['to']);}}return elt(_0x24d7e9,_0xfdac22,_0x27ea2f,_0x3e5eb8);}function _0x437016(_0x16c8e6,_0x1d6723,_0x1ff844){if(0x3c==_0x16c8e6['charCodeAt'](_0x1d6723)){for(let _0x1cd67f=_0x1d6723+0x1;_0x1cd67f<_0x16c8e6['length'];_0x1cd67f++){let _0x428dc5=_0x16c8e6['charCodeAt'](_0x1cd67f);if(0x3e==_0x428dc5)return elt(_0x5e2e59['URL'],_0x1d6723+_0x1ff844,_0x1cd67f+0x1+_0x1ff844);if(0x3c==_0x428dc5||0xa==_0x428dc5)return!0x1;}return null;}{let _0x21afc5=0x0,_0x4c376e=_0x1d6723;for(let _0x53cb4=!0x1;_0x4c376e<_0x16c8e6['length'];_0x4c376e++){let _0x1a3cb1=_0x16c8e6['charCodeAt'](_0x4c376e);if(_0x475d1f(_0x1a3cb1))break;if(_0x53cb4)_0x53cb4=!0x1;else{if(0x28==_0x1a3cb1)_0x21afc5++;else{if(0x29==_0x1a3cb1){if(!_0x21afc5)break;_0x21afc5--;}else 0x5c==_0x1a3cb1&&(_0x53cb4=!0x0);}}}return _0x4c376e>_0x1d6723?elt(_0x5e2e59['URL'],_0x1d6723+_0x1ff844,_0x4c376e+_0x1ff844):_0x4c376e==_0x16c8e6['length']&&null;}}function parseLinkTitle(_0x18bf06,_0xa5a634,_0x42b7a7){let _0x30e2d1=_0x18bf06['charCodeAt'](_0xa5a634);if(0x27!=_0x30e2d1&&0x22!=_0x30e2d1&&0x28!=_0x30e2d1)return!0x1;let _0x1324b7=0x28==_0x30e2d1?0x29:_0x30e2d1;for(let _0x4a4084=_0xa5a634+0x1,_0x1c44ef=!0x1;_0x4a4084<_0x18bf06['length'];_0x4a4084++){let _0x21a897=_0x18bf06['charCodeAt'](_0x4a4084);if(_0x1c44ef)_0x1c44ef=!0x1;else{if(_0x21a897==_0x1324b7)return elt(_0x5e2e59['LinkTitle'],_0xa5a634+_0x42b7a7,_0x4a4084+0x1+_0x42b7a7);0x5c==_0x21a897&&(_0x1c44ef=!0x0);}}return null;}function _0x403c31(_0x197402,_0x3ed7d2,_0x5cc638,_0x42f2cd){for(let _0x1fb51f=!0x1,_0xb83056=_0x3ed7d2+0x1,_0x29d85e=Math['min'](_0x197402['length'],_0xb83056+0x3e7);_0xb83056<_0x29d85e;_0xb83056++){let _0x125952=_0x197402['charCodeAt'](_0xb83056);if(_0x1fb51f)_0x1fb51f=!0x1;else{if(0x5d==_0x125952)return!_0x42f2cd&&elt(_0x5e2e59['LinkLabel'],_0x3ed7d2+_0x5cc638,_0xb83056+0x1+_0x5cc638);if(_0x42f2cd&&!_0x475d1f(_0x125952)&&(_0x42f2cd=!0x1),0x5b==_0x125952)return!0x1;0x5c==_0x125952&&(_0x1fb51f=!0x0);}}return null;}class InlineContext{constructor(_0x585edf,_0x534e14,_0x38a636){this['parser']=_0x585edf,this['text']=_0x534e14,this['offset']=_0x38a636,this['parts']=[];}['char'](_0x3933df){return _0x3933df>=this['end']?-0x1:this['text']['charCodeAt'](_0x3933df-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x22197e,_0x778f88){return this['text']['slice'](_0x22197e-this['offset'],_0x778f88-this['offset']);}['append'](_0x28ff9f){return this['parts']['push'](_0x28ff9f),_0x28ff9f['to'];}['addDelimiter'](_0x4bb814,_0x33c214,_0x510b50,_0x452cf4,_0x426b1d){return this['append'](new InlineDelimiter(_0x4bb814,_0x33c214,_0x510b50,(_0x452cf4?0x1:0x0)|(_0x426b1d?0x2:0x0)));}get['hasOpenLink'](){for(let _0x20b897=this['parts']['length']-0x1;_0x20b897>=0x0;_0x20b897--){let _0x264676=this['parts'][_0x20b897];if(_0x264676 instanceof InlineDelimiter&&(_0x264676['type']==LinkStart||_0x264676['type']==ImageStart))return!0x0;}return!0x1;}['addElement'](_0xb0f1b4){return this['append'](_0xb0f1b4);}['resolveMarkers'](_0x1df333){for(let _0x1c4458=_0x1df333;_0x1c4458<this['parts']['length'];_0x1c4458++){let _0x5a3443=this['parts'][_0x1c4458];if(!(_0x5a3443 instanceof InlineDelimiter&&_0x5a3443['type']['resolve']&&0x2&_0x5a3443['side']))continue;let _0x153c6d,_0x5ddb65=_0x5a3443['type']==_0x4fbef9||_0x5a3443['type']==EmphasisAsterisk,_0x320db9=_0x5a3443['to']-_0x5a3443['from'],_0x23500e=_0x1c4458-0x1;for(;_0x23500e>=_0x1df333;_0x23500e--){let _0x5f3648=this['parts'][_0x23500e];if(_0x5f3648 instanceof InlineDelimiter&&0x1&_0x5f3648['side']&&_0x5f3648['type']==_0x5a3443['type']&&!(_0x5ddb65&&(0x1&_0x5a3443['side']||0x2&_0x5f3648['side'])&&(_0x5f3648['to']-_0x5f3648['from']+_0x320db9)%0x3==0x0&&((_0x5f3648['to']-_0x5f3648['from'])%0x3||_0x320db9%0x3))){_0x153c6d=_0x5f3648;break;}}if(!_0x153c6d)continue;let _0x1548d7=_0x5a3443['type']['resolve'],_0x308f6f=[],_0x43c5f5=_0x153c6d['from'],_0x23a392=_0x5a3443['to'];if(_0x5ddb65){let _0x40857c=Math['min'](0x2,_0x153c6d['to']-_0x153c6d['from'],_0x320db9);_0x43c5f5=_0x153c6d['to']-_0x40857c,_0x23a392=_0x5a3443['from']+_0x40857c,_0x1548d7=0x1==_0x40857c?'Emphasis':'StrongEmphasis';}_0x153c6d['type']['mark']&&_0x308f6f['push'](this['elt'](_0x153c6d['type']['mark'],_0x43c5f5,_0x153c6d['to']));for(let _0x7445ce=_0x23500e+0x1;_0x7445ce<_0x1c4458;_0x7445ce++)this['parts'][_0x7445ce]instanceof Element$1&&_0x308f6f['push'](this['parts'][_0x7445ce]),this['parts'][_0x7445ce]=null;_0x5a3443['type']['mark']&&_0x308f6f['push'](this['elt'](_0x5a3443['type']['mark'],_0x5a3443['from'],_0x23a392));let _0x38bbe7=this['elt'](_0x1548d7,_0x43c5f5,_0x23a392,_0x308f6f);this['parts'][_0x23500e]=_0x5ddb65&&_0x153c6d['from']!=_0x43c5f5?new InlineDelimiter(_0x153c6d['type'],_0x153c6d['from'],_0x43c5f5,_0x153c6d['side']):null,(this['parts'][_0x1c4458]=_0x5ddb65&&_0x5a3443['to']!=_0x23a392?new InlineDelimiter(_0x5a3443['type'],_0x23a392,_0x5a3443['to'],_0x5a3443['side']):null)?this['parts']['splice'](_0x1c4458,0x0,_0x38bbe7):this['parts'][_0x1c4458]=_0x38bbe7;}let _0x231a75=[];for(let _0x1a4340=_0x1df333;_0x1a4340<this['parts']['length'];_0x1a4340++){let _0x4aba5e=this['parts'][_0x1a4340];_0x4aba5e instanceof Element$1&&_0x231a75['push'](_0x4aba5e);}return _0x231a75;}['findOpeningDelimiter'](_0x214b4c){for(let _0x1e6c53=this['parts']['length']-0x1;_0x1e6c53>=0x0;_0x1e6c53--){let _0x2154be=this['parts'][_0x1e6c53];if(_0x2154be instanceof InlineDelimiter&&_0x2154be['type']==_0x214b4c&&0x1&_0x2154be['side'])return _0x1e6c53;}return null;}['takeContent'](_0x571eeb){let _0x5454b1=this['resolveMarkers'](_0x571eeb);return this['parts']['length']=_0x571eeb,_0x5454b1;}['getDelimiterAt'](_0x34d414){let _0x56ac32=this['parts'][_0x34d414];return _0x56ac32 instanceof InlineDelimiter?_0x56ac32:null;}['skipSpace'](_0x5ea1d4){return _0x2de4a8(this['text'],_0x5ea1d4-this['offset'])+this['offset'];}['elt'](_0x58e497,_0x49cb51,_0x2a89f6,_0xa911d5){return'string'==typeof _0x58e497?elt(this['parser']['getNodeType'](_0x58e497),_0x49cb51,_0x2a89f6,_0xa911d5):new TreeElement(_0x58e497,_0x49cb51);}}function injectMarks(_0x2c44e2,_0x292f19){if(!_0x292f19['length'])return _0x2c44e2;if(!_0x2c44e2['length'])return _0x292f19;let _0xb8b3ab=_0x2c44e2['slice'](),_0x32eff5=0x0;for(let _0x4ee855 of _0x292f19){for(;_0x32eff5<_0xb8b3ab['length']&&_0xb8b3ab[_0x32eff5]['to']<_0x4ee855['to'];)_0x32eff5++;if(_0x32eff5<_0xb8b3ab['length']&&_0xb8b3ab[_0x32eff5]['from']<_0x4ee855['from']){let _0x45f279=_0xb8b3ab[_0x32eff5];_0x45f279 instanceof Element$1&&(_0xb8b3ab[_0x32eff5]=new Element$1(_0x45f279['type'],_0x45f279['from'],_0x45f279['to'],injectMarks(_0x45f279['children'],[_0x4ee855])));}else _0xb8b3ab['splice'](_0x32eff5++,0x0,_0x4ee855);}return _0xb8b3ab;}InlineContext['linkStart']=LinkStart,InlineContext['imageStart']=ImageStart;const NotLast=[_0x5e2e59['CodeBlock'],_0x5e2e59['ListItem'],_0x5e2e59['OrderedList'],_0x5e2e59['BulletList']];class FragmentCursor{constructor(_0x4154c3,_0x22491c){this['fragments']=_0x4154c3,this['input']=_0x22491c,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x4154c3['length']&&(this['fragment']=_0x4154c3[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0x327823,_0x2d5f63){for(;this['fragment']&&this['fragment']['to']<=_0x327823;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0x327823?_0x327823-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x4624de=this['fragment']['to'];for(;_0x4624de>0x0&&'\x0a'!=this['input']['read'](_0x4624de-0x1,_0x4624de);)_0x4624de--;this['fragmentEnd']=_0x4624de?_0x4624de-0x1:0x0;}let _0x1cfd29=this['cursor'];_0x1cfd29||(_0x1cfd29=this['cursor']=this['fragment']['tree']['cursor'](),_0x1cfd29['firstChild']());let _0x1d0b43=_0x327823+this['fragment']['offset'];for(;_0x1cfd29['to']<=_0x1d0b43;)if(!_0x1cfd29['parent']())return!0x1;for(;;){if(_0x1cfd29['from']>=_0x1d0b43)return this['fragment']['from']<=_0x2d5f63;if(!_0x1cfd29['childAfter'](_0x1d0b43))return!0x1;}}['matches'](_0x15a55c){let _0x164a48=this['cursor']['tree'];return _0x164a48&&_0x164a48['prop'](_0x114f67['contextHash'])==_0x15a55c;}['takeNodes'](_0x5a4a5c){let _0x91f9ac=this['cursor'],_0x3cc436=this['fragment']['offset'],_0x365e81=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0x4476a2=_0x5a4a5c['absoluteLineStart'],_0x46b989=_0x4476a2,_0x1a677b=_0x5a4a5c['block']['children']['length'],_0x4251b1=_0x46b989,_0x2e002f=_0x1a677b;for(;;){if(_0x91f9ac['to']-_0x3cc436>_0x365e81){if(_0x91f9ac['type']['isAnonymous']&&_0x91f9ac['firstChild']())continue;break;}let _0x2a91f1=toRelative(_0x91f9ac['from']-_0x3cc436,_0x5a4a5c['ranges']);if(_0x91f9ac['to']-_0x3cc436<=_0x5a4a5c['ranges'][_0x5a4a5c['rangeI']]['to'])_0x5a4a5c['addNode'](_0x91f9ac['tree'],_0x2a91f1);else{let _0x36fe8f=new _0x4939af(_0x5a4a5c['parser']['nodeSet']['types'][_0x5e2e59['Paragraph']],[],[],0x0,_0x5a4a5c['block']['hashProp']);_0x5a4a5c['reusePlaceholders']['set'](_0x36fe8f,_0x91f9ac['tree']),_0x5a4a5c['addNode'](_0x36fe8f,_0x2a91f1);}if(_0x91f9ac['type']['is']('Block')&&(NotLast['indexOf'](_0x91f9ac['type']['id'])<0x0?(_0x46b989=_0x91f9ac['to']-_0x3cc436,_0x1a677b=_0x5a4a5c['block']['children']['length']):(_0x46b989=_0x4251b1,_0x1a677b=_0x2e002f,_0x4251b1=_0x91f9ac['to']-_0x3cc436,_0x2e002f=_0x5a4a5c['block']['children']['length'])),!_0x91f9ac['nextSibling']())break;}for(;_0x5a4a5c['block']['children']['length']>_0x1a677b;)_0x5a4a5c['block']['children']['pop'](),_0x5a4a5c['block']['positions']['pop']();return _0x46b989-_0x4476a2;}}function toRelative(_0x379263,_0x458f59){let _0x2c4b44=_0x379263;for(let _0x574a04=0x1;_0x574a04<_0x458f59['length'];_0x574a04++){let _0x3c6e2c=_0x458f59[_0x574a04-0x1]['to'],_0x5d62e6=_0x458f59[_0x574a04]['from'];_0x3c6e2c<_0x379263&&(_0x2c4b44-=_0x5d62e6-_0x3c6e2c);}return _0x2c4b44;}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']}),_0x4f8743=new _0x557a09(new NodeSet(_0x47bca9)['extend'](markdownHighlighting),Object['keys'](DefaultBlockParsers)['map'](_0x4acbd5=>DefaultBlockParsers[_0x4acbd5]),Object['keys'](DefaultBlockParsers)['map'](_0x2ad56b=>DefaultLeafBlocks[_0x2ad56b]),Object['keys'](DefaultBlockParsers),DefaultEndLeaf,DefaultSkipMarkup,Object['keys'](DefaultInline)['map'](_0x57723a=>DefaultInline[_0x57723a]),Object['keys'](DefaultInline),[]);function leftOverSpace(_0x46c4a8,_0xc10787,_0x925572){let _0x297a31=[];for(let _0xc8e6df=_0x46c4a8['firstChild'],_0xfde3af=_0xc10787;;_0xc8e6df=_0xc8e6df['nextSibling']){let _0x38cfe6=_0xc8e6df?_0xc8e6df['from']:_0x925572;if(_0x38cfe6>_0xfde3af&&_0x297a31['push']({'from':_0xfde3af,'to':_0x38cfe6}),!_0xc8e6df)break;_0xfde3af=_0xc8e6df['to'];}return _0x297a31;}function _0x1a37e5(_0x461a81){let {codeParser:_0x2e7874,htmlParser:_0x493a1b}=_0x461a81,_0x38fae8=_0x29b244((_0x2fa03e,_0x1869af)=>{let _0x3c9192=_0x2fa03e['type']['id'];if(!_0x2e7874||_0x3c9192!=_0x5e2e59['CodeBlock']&&_0x3c9192!=_0x5e2e59['FencedCode']){if(_0x493a1b&&(_0x3c9192==_0x5e2e59['HTMLBlock']||_0x3c9192==_0x5e2e59['HTMLTag']||_0x3c9192==_0x5e2e59['CommentBlock']))return{'parser':_0x493a1b,'overlay':leftOverSpace(_0x2fa03e['node'],_0x2fa03e['from'],_0x2fa03e['to'])};}else{let _0x3b59b1='';if(_0x3c9192==_0x5e2e59['FencedCode']){let _0x543283=_0x2fa03e['node']['getChild'](_0x5e2e59['CodeInfo']);_0x543283&&(_0x3b59b1=_0x1869af['read'](_0x543283['from'],_0x543283['to']));}let _0x2f7ffc=_0x2e7874(_0x3b59b1);if(_0x2f7ffc)return{'parser':_0x2f7ffc,'overlay':_0x101a65=>_0x101a65['type']['id']==_0x5e2e59['CodeText']};}return null;});return{'wrap':_0x38fae8};}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'(_0x424c76,_0x3d26d5,_0x98222b){if(0x7e!=_0x3d26d5||0x7e!=_0x424c76['char'](_0x98222b+0x1)||0x7e==_0x424c76['char'](_0x98222b+0x2))return-0x1;let _0x5419bd=_0x424c76['slice'](_0x98222b-0x1,_0x98222b),_0x4a59ef=_0x424c76['slice'](_0x98222b+0x2,_0x98222b+0x3),_0x2ac52f=/\s|^$/['test'](_0x5419bd),_0x20ee42=/\s|^$/['test'](_0x4a59ef),_0x449124=Punctuation['test'](_0x5419bd),_0x511ff6=Punctuation['test'](_0x4a59ef);return _0x424c76['addDelimiter'](StrikethroughDelim,_0x98222b,_0x98222b+0x2,!_0x20ee42&&(!_0x511ff6||_0x2ac52f||_0x449124),!_0x2ac52f&&(!_0x449124||_0x20ee42||_0x511ff6));},'after':'Emphasis'}]};function _0x4cb000(_0x36e697,_0x531fa1,_0x2572cf=0x0,_0x5c4ddc,_0x5be291=0x0){let _0x58e355=0x0,_0x5062c4=!0x0,_0x1f51fc=-0x1,_0x28e405=-0x1,_0x103880=!0x1,_0x5a18f1=()=>{_0x5c4ddc['push'](_0x36e697['elt']('TableCell',_0x5be291+_0x1f51fc,_0x5be291+_0x28e405,_0x36e697['parser']['parseInline'](_0x531fa1['slice'](_0x1f51fc,_0x28e405),_0x5be291+_0x1f51fc)));};for(let _0x2c53a3=_0x2572cf;_0x2c53a3<_0x531fa1['length'];_0x2c53a3++){let _0x40bc51=_0x531fa1['charCodeAt'](_0x2c53a3);0x7c!=_0x40bc51||_0x103880?(_0x103880||0x20!=_0x40bc51&&0x9!=_0x40bc51)&&(_0x1f51fc<0x0&&(_0x1f51fc=_0x2c53a3),_0x28e405=_0x2c53a3+0x1):((!_0x5062c4||_0x1f51fc>-0x1)&&_0x58e355++,_0x5062c4=!0x1,_0x5c4ddc&&(_0x1f51fc>-0x1&&_0x5a18f1(),_0x5c4ddc['push'](_0x36e697['elt']('TableDelimiter',_0x2c53a3+_0x5be291,_0x2c53a3+_0x5be291+0x1))),_0x1f51fc=_0x28e405=-0x1),_0x103880=!_0x103880&&0x5c==_0x40bc51;}return _0x1f51fc>-0x1&&(_0x58e355++,_0x5c4ddc&&_0x5a18f1()),_0x58e355;}function _0x28b918(_0x223674,_0x5846e2){for(let _0x3a10d6=_0x5846e2;_0x3a10d6<_0x223674['length'];_0x3a10d6++){let _0x3bcebd=_0x223674['charCodeAt'](_0x3a10d6);if(0x7c==_0x3bcebd)return!0x0;0x5c==_0x3bcebd&&_0x3a10d6++;}return!0x1;}const delimiterLine=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class _0x5ed4e0{constructor(){this['rows']=null;}['nextLine'](_0x1465b0,_0x556d94,_0x51d726){if(null==this['rows']){let _0x1fbbe2;if(this['rows']=!0x1,(0x2d==_0x556d94['next']||0x3a==_0x556d94['next']||0x7c==_0x556d94['next'])&&delimiterLine['test'](_0x1fbbe2=_0x556d94['text']['slice'](_0x556d94['pos']))){let _0x591ac4=[];_0x4cb000(_0x1465b0,_0x51d726['content'],0x0,_0x591ac4,_0x51d726['start'])==_0x4cb000(_0x1465b0,_0x1fbbe2,_0x556d94['pos'])&&(this['rows']=[_0x1465b0['elt']('TableHeader',_0x51d726['start'],_0x51d726['start']+_0x51d726['content']['length'],_0x591ac4),_0x1465b0['elt']('TableDelimiter',_0x1465b0['lineStart']+_0x556d94['pos'],_0x1465b0['lineStart']+_0x556d94['text']['length'])]);}}else{if(this['rows']){let _0x44dccc=[];_0x4cb000(_0x1465b0,_0x556d94['text'],_0x556d94['pos'],_0x44dccc,_0x1465b0['lineStart']),this['rows']['push'](_0x1465b0['elt']('TableRow',_0x1465b0['lineStart']+_0x556d94['pos'],_0x1465b0['lineStart']+_0x556d94['text']['length'],_0x44dccc));}}return!0x1;}['finish'](_0x39bdd6,_0x8ae630){return!!this['rows']&&(_0x39bdd6['addLeafElement'](_0x8ae630,_0x39bdd6['elt']('Table',_0x8ae630['start'],_0x8ae630['start']+_0x8ae630['content']['length'],this['rows'])),!0x0);}}const _0x20108c={'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':(_0x2e9232,_0x13211c)=>_0x28b918(_0x13211c['content'],0x0)?new _0x5ed4e0():null,'endLeaf'(_0x190f72,_0x424b7e,_0x1baac6){if(_0x1baac6['parsers']['some'](_0x112964=>_0x112964 instanceof _0x5ed4e0)||!_0x28b918(_0x424b7e['text'],_0x424b7e['basePos']))return!0x1;let _0x42d4b0=_0x190f72['peekLine']();return delimiterLine['test'](_0x42d4b0)&&_0x4cb000(_0x190f72,_0x424b7e['text'],_0x424b7e['basePos'])==_0x4cb000(_0x190f72,_0x42d4b0,_0x424b7e['basePos']);},'before':'SetextHeading'}]};class _0x5ca2be{['nextLine'](){return!0x1;}['finish'](_0x4533cd,_0x2740a4){return _0x4533cd['addLeafElement'](_0x2740a4,_0x4533cd['elt']('Task',_0x2740a4['start'],_0x2740a4['start']+_0x2740a4['content']['length'],[_0x4533cd['elt']('TaskMarker',_0x2740a4['start'],_0x2740a4['start']+0x3),..._0x4533cd['parser']['parseInline'](_0x2740a4['content']['slice'](0x3),_0x2740a4['start']+0x3)])),!0x0;}}const TaskList={'defineNodes':[{'name':'Task','block':!0x0,'style':tags$1['list']},{'name':'TaskMarker','style':tags$1['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0x255ff7,_0xc0625d)=>/^\[[ xX]\][ \t]/['test'](_0xc0625d['content'])&&'ListItem'==_0x255ff7['parentType']()['name']?new _0x5ca2be():null,'after':'SetextHeading'}]},autolinkRE=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,_0x16a30c=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,lastTwoDomainWords=/[\w-]+\.[\w-]+($|\/)/,_0x22e216=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,_0x5d3630=/\/[a-zA-Z\d@.]+/gy;function count(_0x3c8e2e,_0x93e500,_0x2996c5,_0x56cf2a){let _0x440582=0x0;for(let _0x18d7ad=_0x93e500;_0x18d7ad<_0x2996c5;_0x18d7ad++)_0x3c8e2e[_0x18d7ad]==_0x56cf2a&&_0x440582++;return _0x440582;}function autolinkURLEnd(_0x4756ee,_0x288e1b){_0x16a30c['lastIndex']=_0x288e1b;let _0x122066=_0x16a30c['exec'](_0x4756ee);if(!_0x122066||lastTwoDomainWords['exec'](_0x122066[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x42563b=_0x288e1b+_0x122066[0x0]['length'];for(;;){let _0xac37e4,_0x3c869c=_0x4756ee[_0x42563b-0x1];if(/[?!.,:*_~]/['test'](_0x3c869c)||')'==_0x3c869c&&count(_0x4756ee,_0x288e1b,_0x42563b,')')>count(_0x4756ee,_0x288e1b,_0x42563b,'('))_0x42563b--;else{if(';'!=_0x3c869c||!(_0xac37e4=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x4756ee['slice'](_0x288e1b,_0x42563b))))break;_0x42563b=_0x288e1b+_0xac37e4['index'];}}return _0x42563b;}function autolinkEmailEnd(_0xa34c1b,_0xbd0a2b){_0x22e216['lastIndex']=_0xbd0a2b;let _0x5458ba=_0x22e216['exec'](_0xa34c1b);if(!_0x5458ba)return-0x1;let _0x3ff105=_0x5458ba[0x0][_0x5458ba[0x0]['length']-0x1];return'_'==_0x3ff105||'-'==_0x3ff105?-0x1:_0xbd0a2b+_0x5458ba[0x0]['length']-('.'==_0x3ff105?0x1:0x0);}const Autolink={'parseInline':[{'name':'Autolink','parse'(_0x1acaff,_0x5a86a6,_0x43d3bc){let _0x54e618=_0x43d3bc-_0x1acaff['offset'];if(_0x54e618&&/\w/['test'](_0x1acaff['text'][_0x54e618-0x1]))return-0x1;autolinkRE['lastIndex']=_0x54e618;let _0x2c1a55=autolinkRE['exec'](_0x1acaff['text']),_0x38b54d=-0x1;if(!_0x2c1a55)return-0x1;if(_0x2c1a55[0x1]||_0x2c1a55[0x2])(_0x38b54d=autolinkURLEnd(_0x1acaff['text'],_0x54e618+_0x2c1a55[0x0]['length']),_0x38b54d>-0x1&&_0x1acaff['hasOpenLink'])&&(_0x38b54d=_0x54e618+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x1acaff['text']['slice'](_0x54e618,_0x38b54d))[0x0]['length']);else _0x2c1a55[0x3]?_0x38b54d=autolinkEmailEnd(_0x1acaff['text'],_0x54e618):(_0x38b54d=autolinkEmailEnd(_0x1acaff['text'],_0x54e618+_0x2c1a55[0x0]['length']),_0x38b54d>-0x1&&'xmpp:'==_0x2c1a55[0x0]&&(_0x5d3630['lastIndex']=_0x38b54d,_0x2c1a55=_0x5d3630['exec'](_0x1acaff['text']),_0x2c1a55&&(_0x38b54d=_0x2c1a55['index']+_0x2c1a55[0x0]['length'])));return _0x38b54d<0x0?-0x1:(_0x1acaff['addElement'](_0x1acaff['elt']('URL',_0x43d3bc,_0x38b54d+_0x1acaff['offset'])),_0x38b54d+_0x1acaff['offset']);}}]},_0x3464f6=[_0x20108c,TaskList,Strikethrough,Autolink];function _0x557be1(_0x152117,_0x3f574d,_0x2872e7){return(_0x5c2839,_0x32b6f2,_0x593986)=>{if(_0x32b6f2!=_0x152117||_0x5c2839['char'](_0x593986+0x1)==_0x152117)return-0x1;let _0x2e9d2d=[_0x5c2839['elt'](_0x2872e7,_0x593986,_0x593986+0x1)];for(let _0x127359=_0x593986+0x1;_0x127359<_0x5c2839['end'];_0x127359++){let _0x3a2c43=_0x5c2839['char'](_0x127359);if(_0x3a2c43==_0x152117)return _0x5c2839['addElement'](_0x5c2839['elt'](_0x3f574d,_0x593986,_0x127359+0x1,_0x2e9d2d['concat'](_0x5c2839['elt'](_0x2872e7,_0x127359,_0x127359+0x1))));if(0x5c==_0x3a2c43&&_0x2e9d2d['push'](_0x5c2839['elt']('Escape',_0x127359,0x2+_0x127359++)),_0x475d1f(_0x3a2c43))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':_0x557be1(0x5e,'Superscript','SuperscriptMark')}]},Subscript={'defineNodes':[{'name':'Subscript','style':tags$1['special'](tags$1['content'])},{'name':'SubscriptMark','style':tags$1['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':_0x557be1(0x7e,'Subscript','SubscriptMark')}]},_0x484377={'defineNodes':[{'name':'Emoji','style':tags$1['character']}],'parseInline':[{'name':'Emoji','parse'(_0x29878f,_0x10e485,_0x2103c8){let _0x2aa03f;return 0x3a==_0x10e485&&(_0x2aa03f=/^[a-zA-Z_0-9]+:/['exec'](_0x29878f['slice'](_0x2103c8+0x1,_0x29878f['end'])))?_0x29878f['addElement'](_0x29878f['elt']('Emoji',_0x2103c8,_0x2103c8+0x1+_0x2aa03f[0x0]['length'])):-0x1;}}]},data=defineLanguageFacet({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),_0x3fdea1=new _0x114f67(),_0x1a41cf=_0x4f8743['configure']({'props':[_0x3aee37['add'](_0x3773f2=>!_0x3773f2['is']('Block')||_0x3773f2['is']('Document')||null!=_0x32bd85(_0x3773f2)||isList(_0x3773f2)?void 0x0:(_0x31f3f9,_0x478d54)=>({'from':_0x478d54['doc']['lineAt'](_0x31f3f9['from'])['to'],'to':_0x31f3f9['to']})),_0x3fdea1['add'](_0x32bd85),indentNodeProp['add']({'Document':()=>null}),languageDataProp['add']({'Document':data})]});function _0x32bd85(_0x2dbdc6){let _0x23f7fa=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0x2dbdc6['name']);return _0x23f7fa?+_0x23f7fa[0x1]:void 0x0;}function isList(_0x50c649){return'OrderedList'==_0x50c649['name']||'BulletList'==_0x50c649['name'];}function findSectionEnd(_0x2d585a,_0x2cb3f7){let _0x217ad8=_0x2d585a;for(;;){let _0xb700dd,_0x19bb36=_0x217ad8['nextSibling'];if(!_0x19bb36||null!=(_0xb700dd=_0x32bd85(_0x19bb36['type']))&&_0xb700dd<=_0x2cb3f7)break;_0x217ad8=_0x19bb36;}return _0x217ad8['to'];}const headerIndent=_0x1f0b14['of']((_0x3cdd37,_0x22c616,_0x5412bd)=>{for(let _0x154e20=syntaxTree(_0x3cdd37)['resolveInner'](_0x5412bd,-0x1);_0x154e20&&!(_0x154e20['from']<_0x22c616);_0x154e20=_0x154e20['parent']){let _0x48e745=_0x154e20['type']['prop'](_0x3fdea1);if(null==_0x48e745)continue;let _0x5d858c=findSectionEnd(_0x154e20,_0x48e745);if(_0x5d858c>_0x5412bd)return{'from':_0x5412bd,'to':_0x5d858c};}return null;});function _0x1e6b72(_0x1c87d3){return new _0x344024(data,_0x1c87d3,[headerIndent],'markdown');}const _0x163e19=_0x1e6b72(_0x1a41cf),extended=_0x1a41cf['configure']([_0x3464f6,Subscript,Superscript,_0x484377,{'props':[_0x3aee37['add']({'Table':(_0x29662f,_0x4d1b9c)=>({'from':_0x4d1b9c['doc']['lineAt'](_0x29662f['from'])['to'],'to':_0x29662f['to']})})]}]),_0x32e524=_0x1e6b72(extended);function getCodeParser(_0x24e4b1,_0x1beb2d){return _0x3a17d5=>{if(_0x3a17d5&&_0x24e4b1){let _0x33f6b8=null;if(_0x3a17d5=/\S*/['exec'](_0x3a17d5)[0x0],_0x33f6b8='function'==typeof _0x24e4b1?_0x24e4b1(_0x3a17d5):LanguageDescription['matchLanguageName'](_0x24e4b1,_0x3a17d5,!0x0),_0x33f6b8 instanceof LanguageDescription)return _0x33f6b8['support']?_0x33f6b8['support']['language']['parser']:ParseContext['getSkippingParser'](_0x33f6b8['load']());if(_0x33f6b8)return _0x33f6b8['parser'];}return _0x1beb2d?_0x1beb2d['parser']:null;};}class Context{constructor(_0x46879b,_0x14ba2c,_0x493d7b,_0x16f548,_0x4b5ea5,_0x202d12,_0x6d918){this['node']=_0x46879b,this['from']=_0x14ba2c,this['to']=_0x493d7b,this['spaceBefore']=_0x16f548,this['spaceAfter']=_0x4b5ea5,this['type']=_0x202d12,this['item']=_0x6d918;}['blank'](_0x2e81b5,_0x1967f8=!0x0){let _0x125297=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0x2e81b5){for(;_0x125297['length']<_0x2e81b5;)_0x125297+='\x20';return _0x125297;}for(let _0x342e1a=this['to']-this['from']-_0x125297['length']-this['spaceAfter']['length'];_0x342e1a>0x0;_0x342e1a--)_0x125297+='\x20';return _0x125297+(_0x1967f8?this['spaceAfter']:'');}['marker'](_0x52197c,_0x843b55){let _0x149534='OrderedList'==this['node']['name']?String(+itemNumber(this['item'],_0x52197c)[0x2]+_0x843b55):'';return this['spaceBefore']+_0x149534+this['type']+this['spaceAfter'];}}function getContext(_0x2b0629,_0x55ef97){let _0x5a6c27=[],_0x1c1c20=[];for(let _0x577a50=_0x2b0629;_0x577a50;_0x577a50=_0x577a50['parent']){if('FencedCode'==_0x577a50['name'])return _0x1c1c20;'ListItem'!=_0x577a50['name']&&'Blockquote'!=_0x577a50['name']||_0x5a6c27['push'](_0x577a50);}for(let _0x349157=_0x5a6c27['length']-0x1;_0x349157>=0x0;_0x349157--){let _0x463341,_0x7402fa=_0x5a6c27[_0x349157],_0x2c68fd=_0x55ef97['lineAt'](_0x7402fa['from']),_0x6449e3=_0x7402fa['from']-_0x2c68fd['from'];if('Blockquote'==_0x7402fa['name']&&(_0x463341=/^ *>( ?)/['exec'](_0x2c68fd['text']['slice'](_0x6449e3))))_0x1c1c20['push'](new Context(_0x7402fa,_0x6449e3,_0x6449e3+_0x463341[0x0]['length'],'',_0x463341[0x1],'>',null));else{if('ListItem'==_0x7402fa['name']&&'OrderedList'==_0x7402fa['parent']['name']&&(_0x463341=/^( *)\d+([.)])( *)/['exec'](_0x2c68fd['text']['slice'](_0x6449e3)))){let _0x1699b5=_0x463341[0x3],_0x7e90c0=_0x463341[0x0]['length'];_0x1699b5['length']>=0x4&&(_0x1699b5=_0x1699b5['slice'](0x0,_0x1699b5['length']-0x4),_0x7e90c0-=0x4),_0x1c1c20['push'](new Context(_0x7402fa['parent'],_0x6449e3,_0x6449e3+_0x7e90c0,_0x463341[0x1],_0x1699b5,_0x463341[0x2],_0x7402fa));}else{if('ListItem'==_0x7402fa['name']&&'BulletList'==_0x7402fa['parent']['name']&&(_0x463341=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x2c68fd['text']['slice'](_0x6449e3)))){let _0x14f9a2=_0x463341[0x4],_0x51134e=_0x463341[0x0]['length'];_0x14f9a2['length']>0x4&&(_0x14f9a2=_0x14f9a2['slice'](0x0,_0x14f9a2['length']-0x4),_0x51134e-=0x4);let _0x37ab9c=_0x463341[0x2];_0x463341[0x3]&&(_0x37ab9c+=_0x463341[0x3]['replace'](/[xX]/,'\x20')),_0x1c1c20['push'](new Context(_0x7402fa['parent'],_0x6449e3,_0x6449e3+_0x51134e,_0x463341[0x1],_0x14f9a2,_0x37ab9c,_0x7402fa));}}}}return _0x1c1c20;}function itemNumber(_0x5d5582,_0x2050cd){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x2050cd['sliceString'](_0x5d5582['from'],_0x5d5582['from']+0xa));}function renumberList(_0x1a76fc,_0x4601ef,_0xe21aba,_0x2e7756=0x0){for(let _0x28268a=-0x1,_0x2d00c6=_0x1a76fc;;){if('ListItem'==_0x2d00c6['name']){let _0x3038a7=itemNumber(_0x2d00c6,_0x4601ef),_0x10074c=+_0x3038a7[0x2];if(_0x28268a>=0x0){if(_0x10074c!=_0x28268a+0x1)return;_0xe21aba['push']({'from':_0x2d00c6['from']+_0x3038a7[0x1]['length'],'to':_0x2d00c6['from']+_0x3038a7[0x0]['length'],'insert':String(_0x28268a+0x2+_0x2e7756)});}_0x28268a=_0x10074c;}let _0x12a700=_0x2d00c6['nextSibling'];if(!_0x12a700)break;_0x2d00c6=_0x12a700;}}function normalizeIndent(_0x2c28a3,_0x2f960c){let _0x30cd30=/^[ \t]*/['exec'](_0x2c28a3)[0x0]['length'];if(!_0x30cd30||'\x09'!=_0x2f960c['facet'](indentUnit))return _0x2c28a3;let _0x19139a='';for(let _0x1a343b=countColumn(_0x2c28a3,0x4,_0x30cd30);_0x1a343b>0x0;)_0x1a343b>=0x4?(_0x19139a+='\x09',_0x1a343b-=0x4):(_0x19139a+='\x20',_0x1a343b--);return _0x19139a+_0x2c28a3['slice'](_0x30cd30);}const insertNewlineContinueMarkup=({state:_0x592d0f,dispatch:_0x1542bf})=>{let _0x132a46=syntaxTree(_0x592d0f),{doc:_0x2a5d99}=_0x592d0f,_0x4c1e18=null,_0x4ad386=_0x592d0f['changeByRange'](_0x4c57b4=>{if(!_0x4c57b4['empty']||!_0x32e524['isActiveAt'](_0x592d0f,_0x4c57b4['from'],0x0))return _0x4c1e18={'range':_0x4c57b4};let _0x15cbf8=_0x4c57b4['from'],_0x117a7a=_0x2a5d99['lineAt'](_0x15cbf8),_0x321c58=getContext(_0x132a46['resolveInner'](_0x15cbf8,-0x1),_0x2a5d99);for(;_0x321c58['length']&&_0x321c58[_0x321c58['length']-0x1]['from']>_0x15cbf8-_0x117a7a['from'];)_0x321c58['pop']();if(!_0x321c58['length'])return _0x4c1e18={'range':_0x4c57b4};let _0xecb141=_0x321c58[_0x321c58['length']-0x1];if(_0xecb141['to']-_0xecb141['spaceAfter']['length']>_0x15cbf8-_0x117a7a['from'])return _0x4c1e18={'range':_0x4c57b4};let _0x52aa4a=_0x15cbf8>=_0xecb141['to']-_0xecb141['spaceAfter']['length']&&!/\S/['test'](_0x117a7a['text']['slice'](_0xecb141['to']));if(_0xecb141['item']&&_0x52aa4a){let _0x3bae64=_0xecb141['node']['firstChild'],_0xef67f4=_0xecb141['node']['getChild']('ListItem','ListItem');if(_0x3bae64['to']>=_0x15cbf8||_0xef67f4&&_0xef67f4['to']<_0x15cbf8||_0x117a7a['from']>0x0&&!/[^\s>]/['test'](_0x2a5d99['lineAt'](_0x117a7a['from']-0x1)['text'])){let _0x413ec4,_0x234c31=_0x321c58['length']>0x1?_0x321c58[_0x321c58['length']-0x2]:null,_0x539f7e='';_0x234c31&&_0x234c31['item']?(_0x413ec4=_0x117a7a['from']+_0x234c31['from'],_0x539f7e=_0x234c31['marker'](_0x2a5d99,0x1)):_0x413ec4=_0x117a7a['from']+(_0x234c31?_0x234c31['to']:0x0);let _0x12cb71=[{'from':_0x413ec4,'to':_0x15cbf8,'insert':_0x539f7e}];return'OrderedList'==_0xecb141['node']['name']&&renumberList(_0xecb141['item'],_0x2a5d99,_0x12cb71,-0x2),_0x234c31&&'OrderedList'==_0x234c31['node']['name']&&renumberList(_0x234c31['item'],_0x2a5d99,_0x12cb71),{'range':EditorSelection['cursor'](_0x413ec4+_0x539f7e['length']),'changes':_0x12cb71};}{let _0x2a94e3=_0x549936(_0x321c58,_0x592d0f,_0x117a7a);return{'range':EditorSelection['cursor'](_0x15cbf8+_0x2a94e3['length']+0x1),'changes':{'from':_0x117a7a['from'],'insert':_0x2a94e3+_0x592d0f['lineBreak']}};}}if('Blockquote'==_0xecb141['node']['name']&&_0x52aa4a&&_0x117a7a['from']){let _0x259594=_0x2a5d99['lineAt'](_0x117a7a['from']-0x1),_0x5556d0=/>\s*$/['exec'](_0x259594['text']);if(_0x5556d0&&_0x5556d0['index']==_0xecb141['from']){let _0x4274a0=_0x592d0f['changes']([{'from':_0x259594['from']+_0x5556d0['index'],'to':_0x259594['to']},{'from':_0x117a7a['from']+_0xecb141['from'],'to':_0x117a7a['to']}]);return{'range':_0x4c57b4['map'](_0x4274a0),'changes':_0x4274a0};}}let _0x558a2f=[];'OrderedList'==_0xecb141['node']['name']&&renumberList(_0xecb141['item'],_0x2a5d99,_0x558a2f);let _0x4f345b=_0xecb141['item']&&_0xecb141['item']['from']<_0x117a7a['from'],_0x242b91='';if(!_0x4f345b||/^[\s\d.)\-+*>]*/['exec'](_0x117a7a['text'])[0x0]['length']>=_0xecb141['to']){for(let _0x4163b6=0x0,_0x33cb45=_0x321c58['length']-0x1;_0x4163b6<=_0x33cb45;_0x4163b6++)_0x242b91+=_0x4163b6!=_0x33cb45||_0x4f345b?_0x321c58[_0x4163b6]['blank'](_0x4163b6<_0x33cb45?countColumn(_0x117a7a['text'],0x4,_0x321c58[_0x4163b6+0x1]['from'])-_0x242b91['length']:null):_0x321c58[_0x4163b6]['marker'](_0x2a5d99,0x1);}let _0x5e97a6=_0x15cbf8;for(;_0x5e97a6>_0x117a7a['from']&&/\s/['test'](_0x117a7a['text']['charAt'](_0x5e97a6-_0x117a7a['from']-0x1));)_0x5e97a6--;return _0x242b91=normalizeIndent(_0x242b91,_0x592d0f),nonTightList(_0xecb141['node'],_0x592d0f['doc'])&&(_0x242b91=_0x549936(_0x321c58,_0x592d0f,_0x117a7a)+_0x592d0f['lineBreak']+_0x242b91),_0x558a2f['push']({'from':_0x5e97a6,'to':_0x15cbf8,'insert':_0x592d0f['lineBreak']+_0x242b91}),{'range':EditorSelection['cursor'](_0x5e97a6+_0x242b91['length']+0x1),'changes':_0x558a2f};});return!_0x4c1e18&&(_0x1542bf(_0x592d0f['update'](_0x4ad386,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);};function _0x68e256(_0x1b5788){return'QuoteMark'==_0x1b5788['name']||'ListMark'==_0x1b5788['name'];}function nonTightList(_0x5d1e58,_0x279e7f){if('OrderedList'!=_0x5d1e58['name']&&'BulletList'!=_0x5d1e58['name'])return!0x1;let _0x52d758=_0x5d1e58['firstChild'],_0x558740=_0x5d1e58['getChild']('ListItem','ListItem');if(!_0x558740)return!0x1;let _0x450017=_0x279e7f['lineAt'](_0x52d758['to']),_0x5a2959=_0x279e7f['lineAt'](_0x558740['from']),_0x4c4587=/^[\s>]*$/['test'](_0x450017['text']);return _0x450017['number']+(_0x4c4587?0x0:0x1)<_0x5a2959['number'];}function _0x549936(_0x345ffd,_0x2df5c2,_0x318147){let _0x4b5198='';for(let _0xc1c259=0x0,_0x596bce=_0x345ffd['length']-0x2;_0xc1c259<=_0x596bce;_0xc1c259++)_0x4b5198+=_0x345ffd[_0xc1c259]['blank'](_0xc1c259<_0x596bce?countColumn(_0x318147['text'],0x4,Math['min'](_0x318147['text']['length'],_0x345ffd[_0xc1c259+0x1]['from']))-_0x4b5198['length']:null,_0xc1c259<_0x596bce);return normalizeIndent(_0x4b5198,_0x2df5c2);}function contextNodeForDelete(_0x45c90b,_0x3ad797){let _0x215e18=_0x45c90b['resolveInner'](_0x3ad797,-0x1),_0x3cd6fe=_0x3ad797;_0x68e256(_0x215e18)&&(_0x3cd6fe=_0x215e18['from'],_0x215e18=_0x215e18['parent']);for(let _0x134997;_0x134997=_0x215e18['childBefore'](_0x3cd6fe);)if(_0x68e256(_0x134997))_0x3cd6fe=_0x134997['from'];else{if('OrderedList'!=_0x134997['name']&&'BulletList'!=_0x134997['name'])break;_0x215e18=_0x134997['lastChild'],_0x3cd6fe=_0x215e18['to'];}return _0x215e18;}const deleteMarkupBackward=({state:_0x1ef686,dispatch:_0x23ab4c})=>{let _0x1b405a=syntaxTree(_0x1ef686),_0x2ae4eb=null,_0x1b9c58=_0x1ef686['changeByRange'](_0x24bbde=>{let _0x30495d=_0x24bbde['from'],{doc:_0x22eafa}=_0x1ef686;if(_0x24bbde['empty']&&_0x32e524['isActiveAt'](_0x1ef686,_0x24bbde['from'])){let _0x2f4f9b=_0x22eafa['lineAt'](_0x30495d),_0x54fa24=getContext(contextNodeForDelete(_0x1b405a,_0x30495d),_0x22eafa);if(_0x54fa24['length']){let _0x5810e9=_0x54fa24[_0x54fa24['length']-0x1],_0x4ff7d3=_0x5810e9['to']-_0x5810e9['spaceAfter']['length']+(_0x5810e9['spaceAfter']?0x1:0x0);if(_0x30495d-_0x2f4f9b['from']>_0x4ff7d3&&!/\S/['test'](_0x2f4f9b['text']['slice'](_0x4ff7d3,_0x30495d-_0x2f4f9b['from'])))return{'range':EditorSelection['cursor'](_0x2f4f9b['from']+_0x4ff7d3),'changes':{'from':_0x2f4f9b['from']+_0x4ff7d3,'to':_0x30495d}};if(_0x30495d-_0x2f4f9b['from']==_0x4ff7d3&&(!_0x5810e9['item']||_0x2f4f9b['from']<=_0x5810e9['item']['from']||!/\S/['test'](_0x2f4f9b['text']['slice'](0x0,_0x5810e9['to'])))){let _0x36b86e=_0x2f4f9b['from']+_0x5810e9['from'];if(_0x5810e9['item']&&_0x5810e9['node']['from']<_0x5810e9['item']['from']&&/\S/['test'](_0x2f4f9b['text']['slice'](_0x5810e9['from'],_0x5810e9['to']))){let _0x225f7b=_0x5810e9['blank'](countColumn(_0x2f4f9b['text'],0x4,_0x5810e9['to'])-countColumn(_0x2f4f9b['text'],0x4,_0x5810e9['from']));return _0x36b86e==_0x2f4f9b['from']&&(_0x225f7b=normalizeIndent(_0x225f7b,_0x1ef686)),{'range':EditorSelection['cursor'](_0x36b86e+_0x225f7b['length']),'changes':{'from':_0x36b86e,'to':_0x2f4f9b['from']+_0x5810e9['to'],'insert':_0x225f7b}};}if(_0x36b86e<_0x30495d)return{'range':EditorSelection['cursor'](_0x36b86e),'changes':{'from':_0x36b86e,'to':_0x30495d}};}}}return _0x2ae4eb={'range':_0x24bbde};});return!_0x2ae4eb&&(_0x23ab4c(_0x1ef686['update'](_0x1b9c58,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);},_0xcabe9d=[{'key':'Enter','run':insertNewlineContinueMarkup},{'key':'Backspace','run':deleteMarkupBackward}],htmlNoMatch=html({'matchClosingTags':!0x1});function _0x5d3018(_0x156b7c={}){let {codeLanguages:_0x278f0c,defaultCodeLanguage:_0x52d199,addKeymap:_0x445de9=!0x0,base:{parser:_0x1ac722}=_0x163e19,completeHTMLTags:_0x3964bf=!0x0,htmlTagLanguage:_0x39b425=htmlNoMatch}=_0x156b7c;if(!(_0x1ac722 instanceof _0x557a09))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0x1fb55a,_0x20a523=_0x156b7c['extensions']?[_0x156b7c['extensions']]:[],_0x196be1=[_0x39b425['support']];_0x52d199 instanceof LanguageSupport?(_0x196be1['push'](_0x52d199['support']),_0x1fb55a=_0x52d199['language']):_0x52d199&&(_0x1fb55a=_0x52d199);let _0x516600=_0x278f0c||_0x1fb55a?getCodeParser(_0x278f0c,_0x1fb55a):void 0x0;_0x20a523['push'](_0x1a37e5({'codeParser':_0x516600,'htmlParser':_0x39b425['language']['parser']})),_0x445de9&&_0x196be1['push'](_0x2d7c8c['high'](_0x43ce48['of'](_0xcabe9d)));let _0x489107=_0x1e6b72(_0x1ac722['configure'](_0x20a523));return _0x3964bf&&_0x196be1['push'](_0x489107['data']['of']({'autocomplete':htmlTagCompletion})),new LanguageSupport(_0x489107,_0x196be1);}function htmlTagCompletion(_0x9dae2f){let {state:_0x1cd59d,pos:_0x505eb7}=_0x9dae2f,_0xa473d0=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0x1cd59d['sliceDoc'](_0x505eb7-0x19,_0x505eb7));if(!_0xa473d0)return null;let _0x1a798a=syntaxTree(_0x1cd59d)['resolveInner'](_0x505eb7,-0x1);for(;_0x1a798a&&!_0x1a798a['type']['isTop'];){if('CodeBlock'==_0x1a798a['name']||'FencedCode'==_0x1a798a['name']||'ProcessingInstructionBlock'==_0x1a798a['name']||'CommentBlock'==_0x1a798a['name']||'Link'==_0x1a798a['name']||'Image'==_0x1a798a['name'])return null;_0x1a798a=_0x1a798a['parent'];}return{'from':_0x505eb7-_0xa473d0[0x0]['length'],'to':_0x505eb7,'options':htmlTagCompletions(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let _tagCompletions=null;function htmlTagCompletions(){if(_tagCompletions)return _tagCompletions;let _0x3be620=htmlCompletionSource(new CompletionContext(EditorState['create']({'extensions':htmlNoMatch}),0x0,!0x0));return _tagCompletions=_0x3be620?_0x3be620['options']:[];}const _0x4624ea='#e5c07b',_0x203bd5='#e06c75',_0x1d581c='#56b6c2',_0xafd4d='#ffffff',_0x195b9e='#abb2bf',stone='#7d8799',_0x50d2e1='#61afef',_0x1d4c46='#98c379',_0x4dada6='#d19a66',violet='#c678dd',_0x56848f='#21252b',highlightBackground='#2c313a',_0x2671a4='#282c34',tooltipBackground='#353a42',selection='#3E4451',_0x362db5='#528bff',_0x468c92=EditorView['theme']({'&':{'color':_0x195b9e,'backgroundColor':_0x2671a4},'.cm-content':{'caretColor':_0x362db5},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':_0x362db5},'&.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':_0x56848f,'color':_0x195b9e},'.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':_0x2671a4,'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':_0x195b9e}}},{'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':_0x203bd5},{'tag':[tags$1['function'](tags$1['variableName']),tags$1['labelName']],'color':_0x50d2e1},{'tag':[tags$1['color'],tags$1['constant'](tags$1['name']),tags$1['standard'](tags$1['name'])],'color':_0x4dada6},{'tag':[tags$1['definition'](tags$1['name']),tags$1['separator']],'color':_0x195b9e},{'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':_0x4624ea},{'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':_0x1d581c},{'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':_0x203bd5},{'tag':[tags$1['atom'],tags$1['bool'],tags$1['special'](tags$1['variableName'])],'color':_0x4dada6},{'tag':[tags$1['processingInstruction'],tags$1['string'],tags$1['inserted']],'color':_0x1d4c46},{'tag':tags$1['invalid'],'color':_0xafd4d}]),_0x19945d=[_0x468c92,syntaxHighlighting(oneDarkHighlightStyle)];function createCodeMirrorEditor(_0x5a40f1){const _0x2306ad=getDefaultExtensions(),_0x588891=new Compartment();_0x2306ad['push'](_0x588891['of'](EditorView['editable']['of'](!0x0))),'html'===_0x5a40f1['syntaxLanguage']?_0x2306ad['push'](html()):_0x2306ad['push'](_0x5d3018());const _0x46cb54=_0x168cc7(_0x5a40f1['theme']);_0x46cb54&&_0x2306ad['push'](_0x46cb54),_0x2306ad['push'](...getKeybindings());const _0x16ae66=new EditorView({'extensions':_0x2306ad,'parent':_0x5a40f1['parent']});return toggleTabFocusMode(_0x16ae66),{'focus':()=>{_0x16ae66['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x16ae66['focus']();},'getData':()=>_0x16ae66['state']['doc']['toString'](),'setData':_0x1d9938=>{_0x16ae66['dispatch']({'changes':{'from':0x0,'to':_0x16ae66['state']['doc']['length'],'insert':_0x1d9938},'annotations':Transaction['addToHistory']['of'](!0x1)});},'setReadOnly':_0x16340b=>{_0x16ae66['dispatch']({'effects':[_0x588891['reconfigure'](EditorView['editable']['of'](!_0x16340b))]});},'destroy':()=>{_0x16ae66['destroy']();},'instance':_0x16ae66};}function _0x168cc7(_0x3785f8){return _0x3785f8&&'default'!==_0x3785f8?'dark'===_0x3785f8?_0x19945d:_0x3785f8:null;}function getKeybindings(){return[_0x43ce48['of']([...closeBracketsKeymap,...defaultKeymap,...historyKeymap,..._0xe2c3f9,...completionKeymap,{'key':'Tab','run':indentMore,'shift':indentLess,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x2d1b50,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x2d1b50,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x4dea38,'preventDefault':!0x0,'stopPropagation':!0x0}])];}function getDefaultExtensions(){return[EditorView['lineWrapping'],autocompletion(),bracketMatching(),closeBrackets(),_0x127ebb(),drawSelection(),_0x7c8425(),_0x2dd5c0(),foldGutter(),highlightActiveLine(),highlightActiveLineGutter(),highlightSpecialChars(),history(),indentOnInput(),rectangularSelection(),syntaxHighlighting(defaultHighlightStyle,{'fallback':!0x0})];}class CodeEditorView extends ckeditor5['View']{['_codeEditorApi']=null;['_options'];constructor(_0x1d9bbb,_0x3108fb){super(_0x1d9bbb),this['_options']=_0x3108fb,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',(_0x98e358,_0x256c0c,_0x54295c)=>{this['setReadOnly'](_0x54295c);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x44b38e){this['_codeEditorApi']['setData'](_0x44b38e);}['setReadOnly'](_0x3b8d9f){this['_codeEditorApi']['setReadOnly'](_0x3b8d9f);}}const _0x594ff4='SourceEditingEnhancedMode';class EditSourceCommand extends ckeditor5['Command']{constructor(_0x390c8b){super(_0x390c8b),this['affectsData']=!0x1,this['editor']['plugins']['get'](ckeditor5['PendingActions'])['on']('change:hasAny',(_0x2a209b,_0x15e64a,_0x2ea8c8)=>{_0x2ea8c8?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x5396b5=this['editor'];for(const _0x4db6e1 of _0x5396b5['commands']['names']())['replaceSource','editSource']['includes'](_0x4db6e1)||_0x5396b5['commands']['get'](_0x4db6e1)['forceDisabled'](_0x594ff4);}['_enableCommands'](){const _0x1f95e8=this['editor'];for(const _0xd40291 of _0x1f95e8['commands']['commands']())_0xd40291['clearForceDisabled'](_0x594ff4);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x37e894=this['editor'],_0x4045a5=_0x37e894['locale'],_0x5d9ba3=_0x37e894['plugins']['get']('Dialog'),_0xbc5da3=getActiveRootName(_0x37e894),_0x2849e1=formatSource(_0x37e894['data']['get']({'rootName':_0xbc5da3})),_0x42a161=new CodeEditorView(_0x4045a5,{'syntaxLanguage':_0x37e894['plugins']['has']('Markdown')?'markdown':'html','theme':_0x37e894['config']['get']('sourceEditingEnhanced.theme')});let _0x597f23=!0x0;const _0x298fd9=_0x3d8051=>{if(!_0x597f23)return;return unformatSource(_0x42a161['getData']())!==unformatSource(_0x2849e1)?window['confirm'](getTranslation$2(_0x4045a5,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x3d8051['stop']():void 0x0;};_0x5d9ba3['show']({'id':'sourceEditingEnhanced','title':getTranslation$2(_0x4045a5,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x42a161,'actionButtons':[{'label':getTranslation$2(_0x4045a5,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x5d9ba3['hide']();}},{'label':getTranslation$2(_0x4045a5,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x3e52f0=unformatSource(_0x42a161['getData']())!==unformatSource(_0x2849e1);(_0x3e52f0&&_0x37e894['execute']('replaceSource',_0x42a161['getData']()),_0x597f23=!0x1,_0x5d9ba3['hide'](),_0x3e52f0&&'editables'in _0x37e894['ui']['view'])&&_0x37e894['ui']['view']['editables'][_0xbc5da3]['element']['focus']();},'onCreate':_0x3c75ff=>{_0x3c75ff['set']('isEnabled',!_0x37e894['isReadOnly']),_0x3c75ff['bind']('isEnabled')['to'](_0x37e894,'isReadOnly',this,'isEnabled',(_0x2885e4,_0x5e3e53)=>!_0x2885e4&&_0x5e3e53);}}],'onHide':()=>{this['_enableCommands'](),_0x5d9ba3['off']('hide',_0x298fd9),_0x42a161['destroy']();},'onShow':()=>{_0x42a161['bind']('isReadOnly')['to'](_0x37e894,'isReadOnly',this,'isEnabled',(_0x1191f5,_0x5c1ba0)=>_0x1191f5||!_0x5c1ba0),_0x42a161['setData'](_0x2849e1),_0x42a161['focus'](),_0x5d9ba3['on']('hide',_0x298fd9,{'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 _0x111958=this['editor'],_0xbed97e=_0x111958['locale'],_0x334441=new EditSourceCommand(_0x111958);_0x111958['commands']['add']('editSource',_0x334441),_0x111958['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x3f9bdc=this['_createButton'](ckeditor5['ButtonView'],_0x334441);return _0x3f9bdc['set']({'label':getTranslation$2(_0xbed97e,'Source'),'icon':ckeditor5['IconSource'],'tooltip':getTranslation$2(_0xbed97e,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x3f9bdc;}),_0x111958['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x10f258=this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'],_0x334441,!0x0);return _0x10f258['set']({'label':getTranslation$2(_0xbed97e,'Edit\x20source\x20modal\x20label'),'icon':ckeditor5['IconSource'],'role':'menuitemcheckbox'}),_0x10f258;}),this['_registerKeybindings']();}['afterInit'](){_0x4b14e4(this);}['_createButton'](_0x133973,_0xa730d4,_0x2e0cdb=!0x1){const _0x3dea94=new _0x133973(this['editor']['locale']);return _0x3dea94['set']({'withText':_0x2e0cdb,'isToggleable':!0x1}),_0x3dea94['bind']('isEnabled')['to'](_0xa730d4,'isEnabled'),this['listenTo'](_0x3dea94,'execute',()=>_0xa730d4['execute']()),_0x3dea94;}['_registerKeybindings'](){const _0x57384c=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':getTranslation$2(_0x57384c,'Source\x20Editing\x20Enhanced')});const _0x155696=ckeditor5['env']['isMac']||ckeditor5['env']['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':getTranslation$2(_0x57384c,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':getTranslation$2(_0x57384c,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':getTranslation$2(_0x57384c,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':getTranslation$2(_0x57384c,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':getTranslation$2(_0x57384c,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':getTranslation$2(_0x57384c,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':getTranslation$2(_0x57384c,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x155696?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':getTranslation$2(_0x57384c,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':getTranslation$2(_0x57384c,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':getTranslation$2(_0x57384c,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':getTranslation$2(_0x57384c,'Select\x20line'),'keystroke':_0x155696?'Ctrl!+L':'Alt+L'},{'label':getTranslation$2(_0x57384c,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x155696?'Alt+Shift+M':'Ctrl+M'},{'label':getTranslation$2(_0x57384c,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':getTranslation$2(_0x57384c,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':getTranslation$2(_0x57384c,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':getTranslation$2(_0x57384c,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':getTranslation$2(_0x57384c,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x155696?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}async function _0x4b14e4(_0x324ced){const _0x3adfc9=_0x5904e5([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]),_0x55f7b3=window[_0x5904e5([0x44,0x61,0x74,0x65])][_0x5904e5([0x6e,0x6f,0x77])](),_0x3ad1a6=_0x324ced[_0x5904e5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x361630=new window[(_0x5904e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x84fba1=>{_0x3ad1a6[_0x5904e5([0x6f,0x6e,0x63,0x65])](_0x5904e5([0x72,0x65,0x61,0x64,0x79]),_0x84fba1);}),_0x1c6f8e={[_0x5904e5([0x6b,0x74,0x79])]:_0x5904e5([0x45,0x43]),[_0x5904e5([0x75,0x73,0x65])]:_0x5904e5([0x73,0x69,0x67]),[_0x5904e5([0x63,0x72,0x76])]:_0x5904e5([0x50,0x2d,0x32,0x35,0x36]),[_0x5904e5([0x78])]:_0x5904e5([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]),[_0x5904e5([0x79])]:_0x5904e5([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]),[_0x5904e5([0x61,0x6c,0x67])]:_0x5904e5([0x45,0x53,0x32,0x35,0x36])},_0x187cd2=_0x3ad1a6[_0x5904e5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5904e5([0x67,0x65,0x74])](_0x5904e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1e678b=await(async function(){let _0x57d14b,_0x421105=null,_0x27fd7d=null;try{if(_0x187cd2==_0x5904e5([0x47,0x50,0x4c]))return _0x5904e5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x57d14b=(function(){const _0x172a00=_0x187cd2[_0x5904e5([0x73,0x70,0x6c,0x69,0x74])](_0x5904e5([0x2e]));if(0x3!=_0x172a00[_0x5904e5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5b6e1d=_0x172a00[0x1];return _0x40c594(_0x5b6e1d);function _0x40c594(_0x43098b){const _0x421478=_0xb79c98(_0x43098b);return _0x421478&&_0x3b8033()?_0x421478:null;function _0x3b8033(){const _0x119bc1=_0x421478[_0x5904e5([0x6a,0x74,0x69])],_0x11e0aa=window[_0x5904e5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x119bc1[_0x5904e5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x119bc1[_0x5904e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xf231b6={..._0x421478,[_0x5904e5([0x6a,0x74,0x69])]:_0x119bc1[_0x5904e5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x119bc1[_0x5904e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xf231b6[_0x5904e5([0x76,0x63])],_0x5b9f60(_0xf231b6)==_0x11e0aa;}}}()),!_0x57d14b)return _0x5904e5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x57d14b[_0x5904e5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x27fd7d=function(_0x2ef884,_0x1464a9){return new window[(_0x5904e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42346d=>{if(_0x5f3f4c())return _0x42346d(_0x5904e5([0x56,0x61,0x6c,0x69,0x64]));_0x528319(),_0x3ad1a6[_0x5904e5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5904e5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x57cd4c=!0x1;const _0x39f332=ckeditor5['uid']();function _0x308d33(_0x40ed77){return!!_0x40ed77&&(typeof _0x40ed77===_0x5904e5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x40ed77===_0x5904e5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x40ed77[_0x5904e5([0x74,0x68,0x65,0x6e])]===_0x5904e5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x40ed77[_0x5904e5([0x63,0x61,0x74,0x63,0x68])]===_0x5904e5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x483338(_0x8fe95a){_0x14394a(_0x8fe95a)[_0x5904e5([0x74,0x68,0x65,0x6e])](_0x513c9e=>{if(!_0x513c9e||_0x513c9e[_0x5904e5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5904e5([0x6f,0x6b]))return _0x5904e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1eb679(_0x5b9f60(_0x39f332+_0x1464a9))!=_0x513c9e[_0x5904e5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5904e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5904e5([0x56,0x61,0x6c,0x69,0x64]);})[_0x5904e5([0x74,0x68,0x65,0x6e])](_0x460470=>(_0x3fee0d(),_0x460470),()=>{const _0x49af06=_0x433c0a();return null==_0x49af06?(_0x3fee0d(),_0x5904e5([0x56,0x61,0x6c,0x69,0x64])):_0x5904e5(_0x55f7b3-_0x49af06>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5904e5([0x74,0x68,0x65,0x6e])](_0x42346d)[_0x5904e5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x42346d(_0x5904e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2380c5=0x36ee80;function _0x3fee0d(){const _0x2cf491=_0x5904e5([0x6c,0x6c,0x63,0x74,0x2d])+_0x1eb679(_0x5b9f60(_0x2ef884)),_0x149bdd=_0x2e2d3b(_0x1eb679(window[_0x5904e5([0x4d,0x61,0x74,0x68])][_0x5904e5([0x63,0x65,0x69,0x6c])](_0x55f7b3/_0x2380c5)));window[_0x5904e5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5904e5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2cf491,_0x149bdd);}function _0x433c0a(){const _0x122ac0=_0x5904e5([0x6c,0x6c,0x63,0x74,0x2d])+_0x1eb679(_0x5b9f60(_0x2ef884)),_0x5a7b49=window[_0x5904e5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5904e5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x122ac0);return _0x5a7b49?window[_0x5904e5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e2d3b(_0x5a7b49),0x10)*_0x2380c5:null;}function _0x14394a(_0x360939){return new window[(_0x5904e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf0fcc8,_0x3510b5)=>{_0x360939[_0x5904e5([0x74,0x68,0x65,0x6e])](_0xf0fcc8,_0x3510b5),window[_0x5904e5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3510b5,0x1d4c0);});}}_0x3ad1a6[_0x5904e5([0x6f,0x6e])](_0x5904e5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x256bb6,_0x327ea2)=>{if(_0x327ea2[0x0]!=_0x2ef884)return _0x42346d(_0x5904e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x327ea2[0x1]={..._0x327ea2[0x1],[_0x5904e5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x39f332};},{[_0x5904e5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5904e5([0x68,0x69,0x67,0x68])}),_0x3ad1a6[_0x5904e5([0x6f,0x6e])](_0x5904e5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d2d45=>{_0x308d33(_0x5d2d45[_0x5904e5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x57cd4c=!0x0,_0x483338(_0x5d2d45[_0x5904e5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5904e5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5904e5([0x6c,0x6f,0x77])}),_0x361630[_0x5904e5([0x74,0x68,0x65,0x6e])](()=>{_0x57cd4c||_0x42346d(_0x5904e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5f3f4c(){return _0x3ad1a6[_0x5904e5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5904e5([0x76,0x69,0x65,0x77])][_0x5904e5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5904e5([0x61,0x75,0x74,0x6f]);}function _0x528319(){_0x3ad1a6[_0x5904e5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5904e5([0x76,0x69,0x65,0x77])][_0x5904e5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5904e5([0x61,0x75,0x74,0x6f]);}}(_0x57d14b[_0x5904e5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x57d14b[_0x5904e5([0x6a,0x74,0x69])]));const _0x4ab52c=await(async function(){let _0x51993f=!0x0;try{const _0x29f53b=_0x187cd2[_0x5904e5([0x73,0x70,0x6c,0x69,0x74])](_0x5904e5([0x2e])),[_0xd81ed,_0x4bea7e,_0x37c358]=_0x29f53b;return _0x14f23a(_0xd81ed),await _0x50dfbf(_0xd81ed,_0x4bea7e,_0x37c358),_0x51993f;}catch{return!0x1;}function _0x14f23a(_0x2a1ee4){const _0x4d099c=_0xb79c98(_0x2a1ee4);_0x4d099c&&_0x4d099c[_0x5904e5([0x61,0x6c,0x67])]==_0x5904e5([0x45,0x53,0x32,0x35,0x36])||(_0x51993f=!0x1);}async function _0x50dfbf(_0xff82b5,_0x3acb98,_0x233917){const _0x550fe6=window[_0x5904e5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5904e5([0x66,0x72,0x6f,0x6d])](_0x493f84(_0x233917),_0x416491=>_0x416491[_0x5904e5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4db2c2=new window[(_0x5904e5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5904e5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xff82b5+_0x5904e5([0x2e])+_0x3acb98),_0x50dae6=window[_0x5904e5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5904e5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x50dae6)return;const _0x549f0c=await _0x50dae6[_0x5904e5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5904e5([0x6a,0x77,0x6b]),_0x1c6f8e,{[_0x5904e5([0x6e,0x61,0x6d,0x65])]:_0x5904e5([0x45,0x43,0x44,0x53,0x41]),[_0x5904e5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5904e5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5904e5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x50dae6[_0x5904e5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5904e5([0x6e,0x61,0x6d,0x65])]:_0x5904e5([0x45,0x43,0x44,0x53,0x41]),[_0x5904e5([0x68,0x61,0x73,0x68])]:{[_0x5904e5([0x6e,0x61,0x6d,0x65])]:_0x5904e5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x549f0c,_0x550fe6,_0x4db2c2)||(_0x51993f=!0x1);}}());return _0x4ab52c?(function(){const _0x30d1ba=_0x57d14b[_0x5904e5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x30d1ba)return!0x1;if(_0x30d1ba[_0x5904e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5904e5([0x2a])))return!0x0;if(_0x30d1ba[_0x5904e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5904e5([0x53,0x45,0x45])))return!0x0;return!0x1;}())?(function(){const _0x209b48=[_0x5904e5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5904e5([0x74,0x72,0x69,0x61,0x6c])][_0x5904e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57d14b[_0x5904e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x55f7b3/0x3e8:0x69cb0e80;return _0x57d14b[_0x5904e5([0x65,0x78,0x70])]<_0x209b48;}())?_0x5904e5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x5682e4=_0x57d14b[_0x5904e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5682e4||0x0==_0x5682e4[_0x5904e5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4ee4a0}=new URL(window[_0x5904e5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5682e4[_0x5904e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ee4a0))return!0x0;const _0x3c2ad0=_0x4ee4a0[_0x5904e5([0x73,0x70,0x6c,0x69,0x74])](_0x5904e5([0x2e]));return _0x5682e4[_0x5904e5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d8d25=>_0x3d8d25[_0x5904e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5904e5([0x2a])))[_0x5904e5([0x6d,0x61,0x70])](_0x469a2d=>_0x469a2d[_0x5904e5([0x73,0x70,0x6c,0x69,0x74])](_0x5904e5([0x2e])))[_0x5904e5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44fdc1=>_0x44fdc1[_0x5904e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c2ad0[_0x5904e5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5904e5([0x6d,0x61,0x70])](_0x38c8e1=>Array(_0x3c2ad0[_0x5904e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x38c8e1[_0x5904e5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5904e5([0x66,0x69,0x6c,0x6c])](_0x38c8e1[0x0]===_0x5904e5([0x2a])?_0x5904e5([0x2a]):'')[_0x5904e5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x38c8e1))[_0x5904e5([0x73,0x6f,0x6d,0x65])](_0x3c9690=>_0x3c2ad0[_0x5904e5([0x65,0x76,0x65,0x72,0x79])]((_0x390da1,_0x2b44cf)=>_0x3c9690[_0x2b44cf]===_0x390da1||_0x3c9690[_0x2b44cf]===_0x5904e5([0x2a])));}())?(_0x57d14b[_0x5904e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5904e5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x421105=function(_0x58f9ac){const _0x387ecb=new window[(_0x5904e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22af5c=>setTimeout(_0x22af5c,0x93ecc)),_0x1fff8d=_0x361630[_0x5904e5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5904e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf68c10=>{let _0x1213e5=0x0;_0x3ad1a6[_0x5904e5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5904e5([0x6f,0x6e])](_0x5904e5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x54cc1f,_0x33de06)=>{_0x33de06[0x0][_0x5904e5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1213e5++,0x5e8==_0x1213e5&&(_0xf68c10(),_0x54cc1f[_0x5904e5([0x6f,0x66,0x66])]());});})),_0xafad29=[_0x387ecb,_0x1fff8d];return window[_0x5904e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5904e5([0x72,0x61,0x63,0x65])](_0xafad29)[_0x5904e5([0x74,0x68,0x65,0x6e])](()=>_0x58f9ac);}(_0x5904e5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x421105&&_0x27fd7d)return new window[(_0x5904e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x409dbe,_0x37192e)=>{_0x421105[_0x5904e5([0x74,0x68,0x65,0x6e])](_0x409dbe,_0x37192e),_0x27fd7d[_0x5904e5([0x74,0x68,0x65,0x6e])](_0x492871=>{_0x492871!=_0x5904e5([0x56,0x61,0x6c,0x69,0x64])&&_0x409dbe(_0x492871);},_0x37192e);});return _0x421105||_0x27fd7d||_0x5904e5([0x56,0x61,0x6c,0x69,0x64]);}())):_0x5904e5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5904e5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5904e5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5904e5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0xb79c98(_0x34c3f0){return _0x34c3f0[_0x5904e5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5904e5([0x65,0x79]))?JSON[_0x5904e5([0x70,0x61,0x72,0x73,0x65])](_0x493f84(_0x34c3f0)):null;}function _0x493f84(_0x4d65f1){return window[_0x5904e5([0x61,0x74,0x6f,0x62])](_0x4d65f1[_0x5904e5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5904e5([0x2b]))[_0x5904e5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5904e5([0x2f])));}function _0x5b9f60(_0x35aa93){let _0x539b3c=0x1505;function _0x5db1bc(_0x1418f4){for(let _0x401021=0x0;_0x401021<_0x1418f4[_0x5904e5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x401021++){const _0x39a807=_0x1418f4[_0x5904e5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x401021);_0x539b3c=(_0x539b3c<<0x5)+_0x539b3c+_0x39a807,_0x539b3c&=_0x539b3c;}}return function _0x5da7e2(_0x10cc65){Array[_0x5904e5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10cc65)?_0x10cc65[_0x5904e5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5da7e2):_0x10cc65&&typeof _0x10cc65==_0x5904e5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5904e5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10cc65)[_0x5904e5([0x73,0x6f,0x72,0x74])]()[_0x5904e5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xff4560,_0x184f1e])=>{_0x5db1bc(_0xff4560),_0x5da7e2(_0x184f1e);}):_0x5db1bc(window[_0x5904e5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10cc65));}(_0x35aa93),_0x539b3c>>>0x0;}function _0x1eb679(_0x5245ee){return _0x5245ee[_0x5904e5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5904e5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5904e5([0x30]));}function _0x2e2d3b(_0x349316){return _0x349316[_0x5904e5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5904e5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5904e5([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a6fb9(){}function _0x5904e5(_0x26faf8){return _0x26faf8['map'](_0x5c2123=>String['fromCharCode'](_0x5c2123))['join']('');}!function(_0x3df369){const _0x27b0d1=(function(){const _0x57fcb9=window[_0x5904e5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5904e5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5904e5([0x6e,0x6f,0x77])]())[_0x5904e5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5904e5([0x2e]),'');let _0x315e7b=_0x5904e5([0x4e]);for(let _0x465b37=0x0;_0x465b37<_0x57fcb9[_0x5904e5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x465b37+=0x2){let _0x3661d1=window[_0x5904e5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57fcb9[_0x5904e5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x465b37,_0x465b37+0x2));_0x3661d1>=_0x3adfc9[_0x5904e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3661d1-=_0x3adfc9[_0x5904e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x315e7b+=_0x3adfc9[_0x3661d1];}return _0x315e7b;}());_0x3ad1a6[_0x27b0d1]=_0x5904e5([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])+_0x3df369,_0x3df369!=_0x5904e5([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x361630,_0x3ad1a6[_0x5904e5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5904e5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a6fb9,_0x3ad1a6[_0x5904e5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5904e5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a6fb9,_0x3ad1a6[_0x5904e5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5904e5([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x1e678b);}class _0x33eed2 extends ckeditor5['Command']{constructor(_0x50f808){super(_0x50f808),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x32b312,_0x467a57){const _0x2232be=this['editor'],_0x35625c=_0x467a57?.['rootName']??getActiveRootName(_0x2232be);_0x2232be['data']['set']({[_0x35625c]:_0x32b312},{'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(_0x36b376){super(_0x36b376),_0x36b376['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new _0x33eed2(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x781ec6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1f8bac;for(const _0x4ca955 in _0x781ec6){const _0x36e93c=_0x4ca955,_0x466fbb=_0x781ec6[_0x36e93c];if('sourceEditingEnhancedLicenseKeyValid'==_0x466fbb||'sourceEditingEnhancedLicenseKeyInvalid'==_0x466fbb||'sourceEditingEnhancedLicenseKeyExpired'==_0x466fbb||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x466fbb||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x466fbb||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x466fbb||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x466fbb){delete _0x781ec6[_0x36e93c],_0x1f8bac=_0x466fbb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x1f8bac&&_0x781ec6['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x1f8bac&&_0x781ec6['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x1f8bac&&_0x781ec6['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x1f8bac&&_0x781ec6['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x1f8bac&&_0x781ec6['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x1f8bac&&_0x781ec6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x41c564=this['editor'],_0x53f26b=_0x41c564['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x53f26b&&_0x41c564['plugins']['has']('RealTimeCollaborativeEditing'))throw new ckeditor5['CKEditorError']('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x53f26b&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x261d62=>_0x41c564['plugins']['has'](_0x261d62))&&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.'),_0x41c564['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'](_0x553b4f){const {model:_0x24af46}=this['editor'];let _0x3c64ee;switch(typeof _0x553b4f){case'string':_0x3c64ee=_0x553b4f;break;case'function':_0x3c64ee=_0x553b4f();}'string'==typeof _0x3c64ee&&_0x24af46['change'](()=>{const _0x1a61ae=this['editor']['data']['htmlProcessor']['toView'](_0x3c64ee),_0x216678=this['editor']['data']['toModel'](_0x1a61ae);_0x24af46['insertContent'](_0x216678);});}}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:_0x6737cb}=this;_0x6737cb['commands']['add']('insertTemplate',new TemplateCommand(_0x6737cb)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5c04aa=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x18723e;for(const _0x3f7a7a in _0x5c04aa){const _0x368eae=_0x3f7a7a,_0x4796ee=_0x5c04aa[_0x368eae];if('templateLicenseKeyValid'==_0x4796ee||'templateLicenseKeyInvalid'==_0x4796ee||'templateLicenseKeyExpired'==_0x4796ee||'templateLicenseKeyDomainLimit'==_0x4796ee||'templateLicenseKeyNotAllowed'==_0x4796ee||'templateLicenseKeyEvaluationLimit'==_0x4796ee||'templateLicenseKeyUsageLimit'==_0x4796ee){delete _0x5c04aa[_0x368eae],_0x18723e=_0x4796ee,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x18723e&&_0x5c04aa['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x18723e&&_0x5c04aa['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x18723e&&_0x5c04aa['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x18723e&&_0x5c04aa['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x18723e&&_0x5c04aa['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x18723e&&_0x5c04aa['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TemplateListView extends ckeditor5['ListView']{['filter'](_0x4acf79){if(!_0x4acf79)return this['_resetFiltering']();const _0x4068c7=new Map(),_0xc5d1dd=this['items']['map'](_0xb7505d=>{const _0x5ef3e8=_0xb7505d['buttonView']['isMatching'](_0x4acf79);return _0xb7505d['isVisible']=!!_0x5ef3e8,_0xb7505d['buttonView']['highlightText'](_0x5ef3e8?_0x4acf79:null),_0x5ef3e8&&_0x4068c7['set'](_0xb7505d,_0x5ef3e8),_0xb7505d;})['sort'](unsortListItemsCallback)['sort'](getSortListItemsCallback(_0x4068c7));return this['items']['clear'](),this['items']['addMany'](_0xc5d1dd),{'resultsCount':_0x4068c7['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x3871df=this['items']['map'](_0x3a52a3=>_0x3a52a3)['sort'](unsortListItemsCallback);return _0x3871df['forEach'](_0x280ab8=>{_0x280ab8['isVisible']=!0x0,_0x280ab8['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x3871df),{'resultsCount':_0x3871df['length'],'totalItemsCount':_0x3871df['length']};}}function getSortListItemsCallback(_0x2c563a){return function(_0xc3c3d6,_0x3c6454){const _0x34fe2b=_0x2c563a['get'](_0xc3c3d6),_0x5b8199=_0x2c563a['get'](_0x3c6454);return _0x34fe2b&&!_0x5b8199?-0x1:_0x5b8199&&!_0x34fe2b?0x1:_0x34fe2b||_0x5b8199?_0x34fe2b['title']&&!_0x5b8199['title']?-0x1:!_0x34fe2b['title']&&_0x5b8199['title']?0x1:0x0:0x0;};}function unsortListItemsCallback(_0x1238ac,_0x4282b8){return _0x1238ac['originalIndex']-_0x4282b8['originalIndex'];}class TemplateListItemView extends ckeditor5['ListItemView']{['originalIndex'];['buttonView'];constructor(_0x43e05e,_0x58fcdd){super(_0x43e05e),this['originalIndex']=_0x58fcdd,this['buttonView']=null;}}class TemplateListButtonView extends ckeditor5['ButtonView']{['templateDefinition'];['textPartView'];constructor(_0x2fd2ff,_0x50f8af){super(_0x2fd2ff),this['templateDefinition']=_0x50f8af,this['textPartView']=null;const {icon:_0x1ab68d=ckeditor5['IconTemplateGeneric']}=_0x50f8af;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x1ab68d}),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'](_0x1b8f64){const {title:_0x5da5ec,description:_0x22bc78}=this['templateDefinition'],_0x202631=!!_0x5da5ec['match'](_0x1b8f64),_0x54c46c=!(!_0x22bc78||!_0x22bc78['match'](_0x1b8f64));return _0x202631||_0x54c46c?{'title':_0x202631,'description':_0x54c46c}:null;}['highlightText'](_0x1a9328){this['textPartView']['highlightText'](_0x1a9328);}}class TextPartView extends ckeditor5['View']{constructor(_0x1e6a1c,_0x347245,_0x381d5a){super(_0x1e6a1c),this['title']=_0x347245['title'],this['description']=_0x347245['description'],this['titleView']=new ckeditor5['HighlightedTextView'](),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x381d5a}});const _0x55690a=[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']}}),_0x55690a['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x55690a});}['highlightText'](_0x83213f){this['titleView']['highlightText'](_0x83213f),this['description']&&this['descriptionView']['highlightText'](_0x83213f);}}function getTranslation$1(_0x2fbdad,_0x4e421c,..._0x401519){const t=_0x2fbdad['t'];switch(_0x4e421c){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x401519);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',..._0x401519);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x4e421c;}}class TemplateUI extends ckeditor5['Plugin']{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x24f2ab}=this,_0x3c9f29=_0x24f2ab['config']['get']('template.definitions')||[];_0x24f2ab['ui']['componentFactory']['add']('insertTemplate',_0x31e5b2=>{const _0x580429=ckeditor5['createDropdown'](_0x31e5b2),_0x3b8d50=this['_createTemplateListView'](_0x31e5b2,_0x3c9f29),_0x3cec49=new ckeditor5['SearchTextView'](_0x31e5b2,{'filteredView':_0x3b8d50,'queryView':{'label':getTranslation$1(_0x31e5b2,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x2d7f25=>getTranslation$1(_0x31e5b2,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x2d7f25),'secondary':getTranslation$1(_0x31e5b2,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':getTranslation$1(_0x31e5b2,'No\x20templates\x20available.')}}}}),_0x2ab514=_0x24f2ab['commands']['get']('insertTemplate');return _0x3cec49['on']('search',(_0x341474,_0x533c22)=>{_0x533c22['query']&&_0x533c22['query']['length']&&_0x24f2ab['ui']['ariaLiveAnnouncer']['announce'](getTranslation$1(_0x31e5b2,'%0\x20templates\x20found',_0x533c22['resultsCount']));}),_0x580429['bind']('isEnabled')['to'](_0x2ab514),_0x580429['panelView']['children']['add'](_0x3cec49),_0x580429['buttonView']['set']({'label':getTranslation$1(_0x31e5b2,'Insert\x20template'),'icon':ckeditor5['IconTemplate'],'tooltip':!0x0}),_0x580429['on']('change:isOpen',(_0x2bf35c,_0x58a1f4,_0x191fe6)=>{_0x191fe6||_0x3cec49['reset']();}),_0x580429;}),_0x24f2ab['ui']['componentFactory']['add']('menuBar:insertTemplate',_0xd191c=>{const _0x58ddbe=_0x24f2ab['commands']['get']('insertTemplate'),_0x48d7cc=new ckeditor5['MenuBarMenuView'](_0xd191c);_0x48d7cc['buttonView']['set']({'label':getTranslation$1(_0xd191c,'Template'),'icon':ckeditor5['IconTemplate']});const _0x4fe69f=new ckeditor5['MenuBarMenuListView'](_0xd191c);if(!_0x3c9f29||!_0x3c9f29['length']){const _0x1f9851=new ckeditor5['MenuBarMenuListItemView'](_0xd191c,_0x48d7cc),_0x26d29c=new ckeditor5['MenuBarMenuListItemButtonView'](_0xd191c);_0x26d29c['set']({'label':getTranslation$1(_0xd191c,'No\x20templates\x20available.')}),_0x26d29c['delegate']('execute')['to'](_0x48d7cc),_0x26d29c['on']('execute',()=>{_0x24f2ab['editing']['view']['focus']();}),_0x1f9851['children']['add'](_0x26d29c),_0x4fe69f['items']['add'](_0x1f9851);}for(const _0x27324d of _0x3c9f29){const _0x5123a1=new ckeditor5['MenuBarMenuListItemView'](_0xd191c,_0x48d7cc),_0x455029=new ckeditor5['MenuBarMenuListItemButtonView'](_0xd191c);_0x455029['set']({'class':'ck-template-button','label':_0x27324d['title'],'icon':_0x27324d['icon']||ckeditor5['IconTemplateGeneric']}),_0x455029['delegate']('execute')['to'](_0x48d7cc),_0x455029['on']('execute',()=>{_0x24f2ab['execute']('insertTemplate',_0x27324d['data']),_0x24f2ab['editing']['view']['focus']();}),_0x5123a1['children']['add'](_0x455029),_0x4fe69f['items']['add'](_0x5123a1);}return _0x48d7cc['panelView']['children']['add'](_0x4fe69f),_0x48d7cc['bind']('isEnabled')['to'](_0x58ddbe,'isEnabled'),_0x48d7cc;});}['afterInit'](){_0x5ba1a1(this);}['_createTemplateListView'](_0x349674,_0x1da97b){const {editor:_0x4dc2c2}=this,_0x3bc50f=new TemplateListView(_0x349674);return _0x3bc50f['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x3bc50f['items']['addMany'](_0x1da97b['map']((_0x50136b,_0x2f19c4)=>{const _0x223cf5=new TemplateListItemView(_0x349674,_0x2f19c4),_0x2d7dcc=new TemplateListButtonView(_0x349674,_0x50136b);return _0x223cf5['buttonView']=_0x2d7dcc,_0x223cf5['children']['add'](_0x2d7dcc),_0x223cf5['buttonView']['on']('execute',_0x3db323=>{_0x4dc2c2['execute']('insertTemplate',_0x3db323['source']['templateDefinition']['data']),_0x4dc2c2['editing']['view']['focus']();}),_0x223cf5;})),_0x3bc50f;}}async function _0x5ba1a1(_0x178cf8){const _0x40a311=_0x49db1b([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]),_0x5bf39e=window[_0x49db1b([0x44,0x61,0x74,0x65])][_0x49db1b([0x6e,0x6f,0x77])](),_0x290b58=_0x178cf8[_0x49db1b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x9b9eb9=new window[(_0x49db1b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2628ef=>{_0x290b58[_0x49db1b([0x6f,0x6e,0x63,0x65])](_0x49db1b([0x72,0x65,0x61,0x64,0x79]),_0x2628ef);}),_0x31f5d2={[_0x49db1b([0x6b,0x74,0x79])]:_0x49db1b([0x45,0x43]),[_0x49db1b([0x75,0x73,0x65])]:_0x49db1b([0x73,0x69,0x67]),[_0x49db1b([0x63,0x72,0x76])]:_0x49db1b([0x50,0x2d,0x32,0x35,0x36]),[_0x49db1b([0x78])]:_0x49db1b([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]),[_0x49db1b([0x79])]:_0x49db1b([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]),[_0x49db1b([0x61,0x6c,0x67])]:_0x49db1b([0x45,0x53,0x32,0x35,0x36])},_0x2d38b4=_0x290b58[_0x49db1b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x49db1b([0x67,0x65,0x74])](_0x49db1b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x18d961=await(async function(){let _0xc7e3bd,_0x28a5f6=null,_0x17a765=null;try{if(_0x2d38b4==_0x49db1b([0x47,0x50,0x4c]))return _0x49db1b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc7e3bd=(function(){const _0x186119=_0x2d38b4[_0x49db1b([0x73,0x70,0x6c,0x69,0x74])](_0x49db1b([0x2e]));if(0x3!=_0x186119[_0x49db1b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x1232c3=_0x186119[0x1];return _0x4c4df4(_0x1232c3);function _0x4c4df4(_0x448260){const _0x22b233=_0xab2513(_0x448260);return _0x22b233&&_0x333efd()?_0x22b233:null;function _0x333efd(){const _0x360929=_0x22b233[_0x49db1b([0x6a,0x74,0x69])],_0xdde007=window[_0x49db1b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x360929[_0x49db1b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x360929[_0x49db1b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x137ab4={..._0x22b233,[_0x49db1b([0x6a,0x74,0x69])]:_0x360929[_0x49db1b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x360929[_0x49db1b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x137ab4[_0x49db1b([0x76,0x63])],_0x3f6802(_0x137ab4)==_0xdde007;}}}()),!_0xc7e3bd)return _0x49db1b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0xc7e3bd[_0x49db1b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x17a765=function(_0x3f581b,_0xd05af0){return new window[(_0x49db1b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d672c=>{if(_0x19b251())return _0x2d672c(_0x49db1b([0x56,0x61,0x6c,0x69,0x64]));_0x20e0fc(),_0x290b58[_0x49db1b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x49db1b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2f8d25=!0x1;const _0x384a34=ckeditor5['uid']();function _0x35e427(_0x1203b){return!!_0x1203b&&(typeof _0x1203b===_0x49db1b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1203b===_0x49db1b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1203b[_0x49db1b([0x74,0x68,0x65,0x6e])]===_0x49db1b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1203b[_0x49db1b([0x63,0x61,0x74,0x63,0x68])]===_0x49db1b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x27f069(_0xa711e2){_0x133546(_0xa711e2)[_0x49db1b([0x74,0x68,0x65,0x6e])](_0x1ab594=>{if(!_0x1ab594||_0x1ab594[_0x49db1b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x49db1b([0x6f,0x6b]))return _0x49db1b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x652e8d(_0x3f6802(_0x384a34+_0xd05af0))!=_0x1ab594[_0x49db1b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x49db1b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x49db1b([0x56,0x61,0x6c,0x69,0x64]);})[_0x49db1b([0x74,0x68,0x65,0x6e])](_0x2b305b=>(_0x42568b(),_0x2b305b),()=>{const _0x3baba6=_0x123dd7();return null==_0x3baba6?(_0x42568b(),_0x49db1b([0x56,0x61,0x6c,0x69,0x64])):_0x49db1b(_0x5bf39e-_0x3baba6>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x49db1b([0x74,0x68,0x65,0x6e])](_0x2d672c)[_0x49db1b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d672c(_0x49db1b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x122975=0x36ee80;function _0x42568b(){const _0x13eedf=_0x49db1b([0x6c,0x6c,0x63,0x74,0x2d])+_0x652e8d(_0x3f6802(_0x3f581b)),_0x5b4d02=_0x25b856(_0x652e8d(window[_0x49db1b([0x4d,0x61,0x74,0x68])][_0x49db1b([0x63,0x65,0x69,0x6c])](_0x5bf39e/_0x122975)));window[_0x49db1b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49db1b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13eedf,_0x5b4d02);}function _0x123dd7(){const _0xbf9331=_0x49db1b([0x6c,0x6c,0x63,0x74,0x2d])+_0x652e8d(_0x3f6802(_0x3f581b)),_0x22fc20=window[_0x49db1b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49db1b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xbf9331);return _0x22fc20?window[_0x49db1b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25b856(_0x22fc20),0x10)*_0x122975:null;}function _0x133546(_0x5af507){return new window[(_0x49db1b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d74cb,_0x563386)=>{_0x5af507[_0x49db1b([0x74,0x68,0x65,0x6e])](_0x2d74cb,_0x563386),window[_0x49db1b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x563386,0x1d4c0);});}}_0x290b58[_0x49db1b([0x6f,0x6e])](_0x49db1b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x227ef1,_0x52d1c0)=>{if(_0x52d1c0[0x0]!=_0x3f581b)return _0x2d672c(_0x49db1b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52d1c0[0x1]={..._0x52d1c0[0x1],[_0x49db1b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x384a34};},{[_0x49db1b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49db1b([0x68,0x69,0x67,0x68])}),_0x290b58[_0x49db1b([0x6f,0x6e])](_0x49db1b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d4ab3=>{_0x35e427(_0x5d4ab3[_0x49db1b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2f8d25=!0x0,_0x27f069(_0x5d4ab3[_0x49db1b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x49db1b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49db1b([0x6c,0x6f,0x77])}),_0x9b9eb9[_0x49db1b([0x74,0x68,0x65,0x6e])](()=>{_0x2f8d25||_0x2d672c(_0x49db1b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x19b251(){return _0x290b58[_0x49db1b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49db1b([0x76,0x69,0x65,0x77])][_0x49db1b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x49db1b([0x61,0x75,0x74,0x6f]);}function _0x20e0fc(){_0x290b58[_0x49db1b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49db1b([0x76,0x69,0x65,0x77])][_0x49db1b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x49db1b([0x61,0x75,0x74,0x6f]);}}(_0xc7e3bd[_0x49db1b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc7e3bd[_0x49db1b([0x6a,0x74,0x69])]));const _0x13c1cc=await(async function(){let _0x39e610=!0x0;try{const _0x28510e=_0x2d38b4[_0x49db1b([0x73,0x70,0x6c,0x69,0x74])](_0x49db1b([0x2e])),[_0x3f58c3,_0xe36576,_0x514907]=_0x28510e;return _0x2ccb37(_0x3f58c3),await _0x287fd7(_0x3f58c3,_0xe36576,_0x514907),_0x39e610;}catch{return!0x1;}function _0x2ccb37(_0xab26b0){const _0x3935f6=_0xab2513(_0xab26b0);_0x3935f6&&_0x3935f6[_0x49db1b([0x61,0x6c,0x67])]==_0x49db1b([0x45,0x53,0x32,0x35,0x36])||(_0x39e610=!0x1);}async function _0x287fd7(_0x405c78,_0x248260,_0x328085){const _0x1844a7=window[_0x49db1b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x49db1b([0x66,0x72,0x6f,0x6d])](_0x54bc46(_0x328085),_0x5de117=>_0x5de117[_0x49db1b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b9b55=new window[(_0x49db1b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x49db1b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x405c78+_0x49db1b([0x2e])+_0x248260),_0x384120=window[_0x49db1b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x49db1b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x384120)return;const _0xad8f39=await _0x384120[_0x49db1b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x49db1b([0x6a,0x77,0x6b]),_0x31f5d2,{[_0x49db1b([0x6e,0x61,0x6d,0x65])]:_0x49db1b([0x45,0x43,0x44,0x53,0x41]),[_0x49db1b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x49db1b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x49db1b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x384120[_0x49db1b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x49db1b([0x6e,0x61,0x6d,0x65])]:_0x49db1b([0x45,0x43,0x44,0x53,0x41]),[_0x49db1b([0x68,0x61,0x73,0x68])]:{[_0x49db1b([0x6e,0x61,0x6d,0x65])]:_0x49db1b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xad8f39,_0x1844a7,_0x4b9b55)||(_0x39e610=!0x1);}}());return _0x13c1cc?(function(){const _0x3007d5=_0xc7e3bd[_0x49db1b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3007d5)return!0x1;if(_0x3007d5[_0x49db1b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49db1b([0x2a])))return!0x0;if(_0x3007d5[_0x49db1b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49db1b([0x54,0x50,0x4c])))return!0x0;if(_0x3007d5[_0x49db1b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49db1b([0x50,0x50])))return!0x0;if(_0x3007d5[_0x49db1b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49db1b([0x44,0x52,0x55,0x50]))&&window[_0x49db1b([0x44,0x72,0x75,0x70,0x61,0x6c])])return!0x0;if(_0x3007d5[_0x49db1b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49db1b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x49db1b([0x67,0x6c,0x6f,0x62])]&&window[_0x49db1b([0x67,0x6c,0x6f,0x62])][_0x49db1b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x1d5f5e=[_0x49db1b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x49db1b([0x74,0x72,0x69,0x61,0x6c])][_0x49db1b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc7e3bd[_0x49db1b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5bf39e/0x3e8:0x69cb0e80;return _0xc7e3bd[_0x49db1b([0x65,0x78,0x70])]<_0x1d5f5e;}())?_0x49db1b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x3877e8=_0xc7e3bd[_0x49db1b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3877e8||0x0==_0x3877e8[_0x49db1b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1cc2ad}=new URL(window[_0x49db1b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3877e8[_0x49db1b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cc2ad))return!0x0;const _0x39c7d3=_0x1cc2ad[_0x49db1b([0x73,0x70,0x6c,0x69,0x74])](_0x49db1b([0x2e]));return _0x3877e8[_0x49db1b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e2e23=>_0x4e2e23[_0x49db1b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49db1b([0x2a])))[_0x49db1b([0x6d,0x61,0x70])](_0x40de1c=>_0x40de1c[_0x49db1b([0x73,0x70,0x6c,0x69,0x74])](_0x49db1b([0x2e])))[_0x49db1b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1cd40a=>_0x1cd40a[_0x49db1b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x39c7d3[_0x49db1b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x49db1b([0x6d,0x61,0x70])](_0x5b00a0=>Array(_0x39c7d3[_0x49db1b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5b00a0[_0x49db1b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x49db1b([0x66,0x69,0x6c,0x6c])](_0x5b00a0[0x0]===_0x49db1b([0x2a])?_0x49db1b([0x2a]):'')[_0x49db1b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5b00a0))[_0x49db1b([0x73,0x6f,0x6d,0x65])](_0x16ac76=>_0x39c7d3[_0x49db1b([0x65,0x76,0x65,0x72,0x79])]((_0x1e13a5,_0x2de14b)=>_0x16ac76[_0x2de14b]===_0x1e13a5||_0x16ac76[_0x2de14b]===_0x49db1b([0x2a])));}())?(_0xc7e3bd[_0x49db1b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x49db1b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x28a5f6=function(_0xb1ff62){const _0x2f780e=new window[(_0x49db1b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d38b4=>setTimeout(_0x1d38b4,0x93ecc)),_0x260dbb=_0x9b9eb9[_0x49db1b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x49db1b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fe943=>{let _0x23740a=0x0;_0x290b58[_0x49db1b([0x6d,0x6f,0x64,0x65,0x6c])][_0x49db1b([0x6f,0x6e])](_0x49db1b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x9cb62,_0x46be9c)=>{_0x46be9c[0x0][_0x49db1b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x23740a++,0x5e8==_0x23740a&&(_0x2fe943(),_0x9cb62[_0x49db1b([0x6f,0x66,0x66])]());});})),_0x28432d=[_0x2f780e,_0x260dbb];return window[_0x49db1b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x49db1b([0x72,0x61,0x63,0x65])](_0x28432d)[_0x49db1b([0x74,0x68,0x65,0x6e])](()=>_0xb1ff62);}(_0x49db1b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x28a5f6&&_0x17a765)return new window[(_0x49db1b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c829c,_0x122c86)=>{_0x28a5f6[_0x49db1b([0x74,0x68,0x65,0x6e])](_0x4c829c,_0x122c86),_0x17a765[_0x49db1b([0x74,0x68,0x65,0x6e])](_0x5c8048=>{_0x5c8048!=_0x49db1b([0x56,0x61,0x6c,0x69,0x64])&&_0x4c829c(_0x5c8048);},_0x122c86);});return _0x28a5f6||_0x17a765||_0x49db1b([0x56,0x61,0x6c,0x69,0x64]);}())):_0x49db1b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x49db1b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x49db1b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x49db1b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0xab2513(_0x3facd4){return _0x3facd4[_0x49db1b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x49db1b([0x65,0x79]))?JSON[_0x49db1b([0x70,0x61,0x72,0x73,0x65])](_0x54bc46(_0x3facd4)):null;}function _0x54bc46(_0x1333ed){return window[_0x49db1b([0x61,0x74,0x6f,0x62])](_0x1333ed[_0x49db1b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x49db1b([0x2b]))[_0x49db1b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x49db1b([0x2f])));}function _0x3f6802(_0x3f375c){let _0x35aff6=0x1505;function _0x2ed3b4(_0x34a6d1){for(let _0x253b16=0x0;_0x253b16<_0x34a6d1[_0x49db1b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x253b16++){const _0x4f1b7c=_0x34a6d1[_0x49db1b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x253b16);_0x35aff6=(_0x35aff6<<0x5)+_0x35aff6+_0x4f1b7c,_0x35aff6&=_0x35aff6;}}return function _0x27e7f7(_0x53d153){Array[_0x49db1b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53d153)?_0x53d153[_0x49db1b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x27e7f7):_0x53d153&&typeof _0x53d153==_0x49db1b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x49db1b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53d153)[_0x49db1b([0x73,0x6f,0x72,0x74])]()[_0x49db1b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2a7159,_0x335f85])=>{_0x2ed3b4(_0x2a7159),_0x27e7f7(_0x335f85);}):_0x2ed3b4(window[_0x49db1b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53d153));}(_0x3f375c),_0x35aff6>>>0x0;}function _0x652e8d(_0x4e6c45){return _0x4e6c45[_0x49db1b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x49db1b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x49db1b([0x30]));}function _0x25b856(_0x2a513f){return _0x2a513f[_0x49db1b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x49db1b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x49db1b([0x6a,0x6f,0x69,0x6e])]('');}function _0xd4cfb2(){}function _0x49db1b(_0xd0efde){return _0xd0efde['map'](_0x6a9b43=>String['fromCharCode'](_0x6a9b43))['join']('');}!function(_0x3e55fd){const _0x45e3db=(function(){const _0x3935c7=window[_0x49db1b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x49db1b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x49db1b([0x6e,0x6f,0x77])]())[_0x49db1b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x49db1b([0x2e]),'');let _0x990a12=_0x49db1b([0x67]);for(let _0x4a3400=0x0;_0x4a3400<_0x3935c7[_0x49db1b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a3400+=0x2){let _0xcd7199=window[_0x49db1b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3935c7[_0x49db1b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a3400,_0x4a3400+0x2));_0xcd7199>=_0x40a311[_0x49db1b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xcd7199-=_0x40a311[_0x49db1b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x990a12+=_0x40a311[_0xcd7199];}return _0x990a12;}());_0x290b58[_0x45e3db]=_0x49db1b([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e55fd,_0x3e55fd!=_0x49db1b([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x9b9eb9,_0x290b58[_0x49db1b([0x6d,0x6f,0x64,0x65,0x6c])][_0x49db1b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd4cfb2,_0x290b58[_0x49db1b([0x6d,0x6f,0x64,0x65,0x6c])][_0x49db1b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd4cfb2,_0x290b58[_0x49db1b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x49db1b([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x18d961);}class Template extends ckeditor5['Plugin']{static get['requires'](){return[TemplateEditing,TemplateUI];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getTranslation(_0x4fcad3,_0x494524,_0x225f00){const t=_0x4fcad3['t'],_0x22f40d=_0x4fcad3['t'];switch(_0x494524){case'local':return{'text':_0x22f40d('Insert'===_0x225f00?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x22f40d('From\x20computer')};case'url':return{'text':'Insert'===_0x225f00?_0x22f40d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x22f40d('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x225f00?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x225f00?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x225f00?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x225f00?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x225f00?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x494524;}}class _0x3f9099 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 _0x16bbf4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x31584d;for(const _0x40a0c7 in _0x16bbf4){const _0x245726=_0x40a0c7,_0x4f612d=_0x16bbf4[_0x245726];if('uploadcareLicenseKeyValid'==_0x4f612d||'uploadcareLicenseKeyInvalid'==_0x4f612d||'uploadcareLicenseKeyExpired'==_0x4f612d||'uploadcareLicenseKeyDomainLimit'==_0x4f612d||'uploadcareLicenseKeyNotAllowed'==_0x4f612d||'uploadcareLicenseKeyEvaluationLimit'==_0x4f612d||'uploadcareLicenseKeyUsageLimit'==_0x4f612d){delete _0x16bbf4[_0x245726],_0x31584d=_0x4f612d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x31584d&&_0x16bbf4['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x31584d&&_0x16bbf4['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x31584d&&_0x16bbf4['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x31584d&&_0x16bbf4['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x31584d&&_0x16bbf4['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x31584d&&_0x16bbf4['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5ae22b}=this,_0x229a99=_0x5ae22b['commands']['get']('uploadcare');if(!_0x229a99)return;const _0xa45faf=this['_normalizeConfigSourceList'](_0x5ae22b['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5e4f3b,_0x3bdf82)=>{const _0xb85509=this['_getIntegrationKey'](_0x3bdf82['type']);return _0x5e4f3b[_0xb85509]||(_0x5e4f3b[_0xb85509]=[]),_0x5e4f3b[_0xb85509]['push'](_0x3bdf82),_0x5e4f3b;},{});_0x5ae22b['plugins']['has']('ImageInsertUI')&&_0x5ae22b['commands']['get']('uploadcare')&&Object['entries'](_0xa45faf)['forEach'](([_0x1f1401,_0x13b6e1])=>{_0x5ae22b['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x1f1401,'observable':()=>_0x229a99,'buttonViewCreator':()=>this['_createToolbarButton'](_0x13b6e1),'formViewCreator':()=>this['_createDropdownButtons'](_0x13b6e1),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x13b6e1),'override':'assetManager'!==_0x1f1401});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x93d154){const {locale:_0x3f868e}=this['editor'];return _0x93d154['map'](_0x3a84e8=>{const _0x1fe9da=getTranslation(_0x3f868e,_0x3a84e8,'Insert');switch(_0x3a84e8){case'local':return{'icon':ckeditor5['IconUploadcareImageUpload'],'type':'local',..._0x1fe9da};case'url':return{'icon':ckeditor5['IconUploadcareLink'],'type':'url',..._0x1fe9da};case'dropbox':return{'icon':ckeditor5['IconDropbox'],'type':'dropbox',..._0x1fe9da};case'facebook':return{'icon':ckeditor5['IconFacebook'],'type':'facebook',..._0x1fe9da};case'gdrive':return{'icon':ckeditor5['IconGoogleDrive'],'type':'gdrive',..._0x1fe9da};case'gphotos':return{'icon':ckeditor5['IconGooglePhotos'],'type':'gphotos',..._0x1fe9da};case'onedrive':return{'icon':ckeditor5['IconOneDrive'],'type':'onedrive',..._0x1fe9da};}});}['_getIntegrationKey'](_0x336477){switch(_0x336477){case'local':return'upload';case'url':return'url';default:return'assetManager';}}['_createButton'](_0x292fd7,_0x415313){const _0x2499ed=this['editor'],_0x72068a=new _0x292fd7(_0x2499ed['locale']),_0x4e461e=_0x2499ed['commands']['get']('uploadcare');return _0x72068a['bind']('isEnabled')['to'](_0x4e461e),_0x72068a['on']('execute',()=>{_0x4e461e['execute'](_0x415313);}),_0x72068a;}['_createToolbarButton'](_0x4d510f){const {locale:_0x1f9e9d}=this['editor'],_0x9d63be=this['editor']['plugins']['get']('ImageInsertUI'),_0x132d17=_0x4d510f[0x0],_0x320b73=this['_createButton'](ckeditor5['ButtonView'],_0x132d17['type']);return _0x320b73['icon']=_0x132d17['icon'],_0x320b73['bind']('label')['to'](_0x9d63be,'isImageSelected',_0xbbe61a=>getTranslation(_0x1f9e9d,_0x132d17['type'],_0xbbe61a?'Replace':'Insert')['text']),_0x320b73['tooltip']=!0x0,_0x320b73;}['_createDropdownButtons'](_0x1578bf){const {locale:_0x454feb}=this['editor'],_0x51c7ec=this['editor']['plugins']['get']('ImageInsertUI');return _0x1578bf['map'](_0x334487=>{const _0x4744f3=this['_createButton'](ckeditor5['ButtonView'],_0x334487['type']);return _0x4744f3['withText']=!0x0,_0x4744f3['icon']=_0x334487['icon'],_0x4744f3['bind']('label')['to'](_0x51c7ec,'isImageSelected',_0x330875=>getTranslation(_0x454feb,_0x334487['type'],_0x330875?'Replace':'Insert')['text']),_0x4744f3;});}['_createMenuBarButtons'](_0x5942bc){return _0x5942bc['map'](_0x246f06=>{const _0x2115fa=this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'],_0x246f06['type']);return _0x2115fa['icon']=_0x246f06['icon'],_0x2115fa['label']=_0x246f06['shortText'],_0x2115fa;});}}class _0x4c93db extends ckeditor5['View']{['focusTracker'];['focusCycler'];constructor(_0x478dbe){super(_0x478dbe),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 _0x270b50 extends _0x4c93db{constructor(_0x571311,_0x1a1a62){super(_0x571311),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-'+_0x1a1a62}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function createEditabilityChecker(_0x3f196f){const _0x107bb6=createUrlChecker(_0x3f196f);return _0x469066=>!(!_0x469066||!_0x469066['is']('element','imageBlock')&&!_0x469066['is']('element','imageInline'))&&(!!_0x469066['hasAttribute']('uploadcareImageId')||!!_0x469066['hasAttribute']('src')&&_0x107bb6(_0x469066['getAttribute']('src')));}function getImageUrls(_0x2ecbdc,_0x1a4070){const _0x1a9cdf=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x61d463=>_0x61d463<=_0x1a4070)['map'](_0x1432c2=>_0x2ecbdc['replace'](/\/$/,'')+'/-/resize/'+_0x1432c2+'x/\x20'+_0x1432c2+'w');return{'imageFallbackUrl':_0x2ecbdc,'imageSources':[{'srcset':_0x1a9cdf['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1a4070+'px)\x20100vw,\x20'+_0x1a4070+'px','type':'image/webp'}]};}function getImageDimension(_0x3c967f,_0x1bd618,_0x35064e){const _0x1a6d45=_0x3c967f['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1a6d45?parseInt(_0x1a6d45[0x1],0xa):_0x1bd618,'height':_0x1a6d45?parseInt(_0x1a6d45[0x2],0xa):_0x35064e};}function showImageProcessingIndicator(_0x47c9c4,_0x492601){const _0x4d1981=new(ckeditor5['DomEmitterMixin']())(),_0x24c746=_0x47c9c4['plugins']['get']('ImageUtils'),_0x3903c3=_0x47c9c4['editing']['mapper']['toViewElement'](_0x492601),_0x5eac56=_0x24c746['findViewImgElement'](_0x3903c3),_0x138215=_0x47c9c4['editing']['view']['domConverter']['viewToDom'](_0x5eac56),_0xe04b4e=_0x492601['getAttribute']('width'),_0xbe749e=_0x492601['getAttribute']('height'),_0x3a3bb0='image-processing';_0x47c9c4['editing']['view']['change'](_0xfb1269=>{_0xfb1269['addClass'](_0x3a3bb0,_0x3903c3),_0xfb1269['setStyle']('aspect-ratio',_0xe04b4e+'/'+_0xbe749e,_0x5eac56);}),_0x4d1981['listenTo'](_0x138215,'load',()=>{_0x4d1981['stopListening'](_0x138215,'load'),_0x47c9c4['editing']['view']['change'](_0x27ef4d=>{_0x27ef4d['removeClass'](_0x3a3bb0,_0x3903c3),_0x27ef4d['removeStyle']('aspect-ratio',_0x5eac56);});});}function createUrlChecker(_0x3ccfd5){if(Array['isArray'](_0x3ccfd5)){const _0x321940=_0x3ccfd5['map'](createUrlChecker);return _0x66642d=>_0x321940['some'](_0x297363=>_0x297363(_0x66642d));}if('origin'==_0x3ccfd5){const _0x2052b8=ckeditor5['global']['window']['location']['origin'];return _0x38cb86=>new URL(_0x38cb86,ckeditor5['global']['document']['baseURI'])['origin']==_0x2052b8;}return'function'==typeof _0x3ccfd5?_0x3ccfd5:_0x3ccfd5 instanceof RegExp?_0x445792=>!(!_0x445792['match'](_0x3ccfd5)&&!_0x445792['replace'](/^https?:\/\//,'')['match'](_0x3ccfd5)):()=>!0x1;}function isAncestor(_0x24ade2,_0x5dec1f){return ckeditor5['getAncestors'](_0x24ade2['target'])['includes'](_0x5dec1f);}class UploadcareController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x37d917,_0x28082c,_0x4d861c){super(),this['_editor']=_0x37d917,this['_editing']=_0x28082c,this['_dialog']=_0x37d917['plugins']['get'](ckeditor5['Dialog']),this['_api']=_0x28082c['ctxElement']['getAPI'](),this['_type']=_0x4d861c,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:_0x1dbd35,model:_0x574879}=this['_editor'],_0x23701c=_0x574879['document']['selection']['getSelectedElement'](),_0x1be06b=_0x23701c&&(_0x23701c['is']('element','imageBlock')||_0x23701c['is']('element','imageInline'));this['_formView']=new _0x270b50(_0x1dbd35,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':ckeditor5['IconUploadcareImageUpload'],'title':getTranslation(_0x1dbd35,this['_type'],_0x1be06b?'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':_0x6f829a=>!isAncestor(_0x6f829a,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0xcfd74d}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x56776d=>{const _0x138a38=_0xcfd74d['length'];for(const _0x7bd6cf of _0xcfd74d){const _0x28e02c=_0x7bd6cf===_0xcfd74d[_0x138a38-0x1],{cdnUrl:_0x13374a,fileInfo:_0xa4fb7a}=_0x7bd6cf;if(!_0x13374a||!_0xa4fb7a)continue;const {width:_0xc8d0ea,height:_0x157dec}=_0xa4fb7a['imageInfo'],_0x28f8d3=getImageDimension(_0x13374a,_0xc8d0ea,_0x157dec),_0x311b36=getImageUrls(_0x13374a,_0x28f8d3['width']),_0x4285bd={'id':_0xa4fb7a['uuid'],'type':'image','attributes':{'imageDimension':_0x28f8d3,..._0x311b36}};this['_insertAsset'](_0x4285bd,_0x28e02c,_0x56776d);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x409490=>{'idle'===_0x409490['detail']['status']&&!_0x409490['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('local'):this['_api']['initFlow']());});}['_insertAsset'](_0x2fe005,_0xf3a46b,_0x204872){const _0x1077a2=this['_editor']['model']['document']['selection'],_0x4eeb8d=_0x1077a2['getSelectedElement'](),_0x24125e=!(!_0x4eeb8d||!_0x4eeb8d['is']('element','imageInline'));_0x204872['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2fe005,_0x24125e),_0xf3a46b||_0x204872['setSelection'](_0x1077a2['getLastPosition']());}['_insertImage'](_0x2e7616,_0x571cf9){const _0x535b7e=this['_editor'],{imageDimension:_0x4b5341,imageFallbackUrl:_0x5a7d06,imageSources:_0x4b1645}=_0x2e7616['attributes'];_0x535b7e['execute']('insertImage',{'imageType':_0x571cf9?'imageInline':null,'source':{'uploadcareImageId':_0x2e7616['id'],'src':_0x5a7d06,'sources':_0x4b1645,..._0x4b5341}});}}class _0x21a9f1 extends ckeditor5['Command']{['_editing'];['_controller']=null;static get['requires'](){return[ckeditor5['Dialog'],UploadcareEditing];}constructor(_0x8fa0dd){super(_0x8fa0dd),this['_editing']=_0x8fa0dd['plugins']['get'](UploadcareEditing);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1e3594){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new UploadcareController(this['editor'],this['_editing'],_0x1e3594);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}function isObject$1(_0x175d60){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x175d60);}const _0xf3af14=/\W|_/g;function camelizeString$1(_0x5cca76){return _0x5cca76['split'](_0xf3af14)['map']((_0x28a6e3,_0x49721a)=>_0x28a6e3['charAt'](0x0)[_0x49721a>0x0?'toUpperCase':'toLowerCase']()+_0x28a6e3['slice'](0x1))['join']('');}function camelizeArrayItems$1(_0x7237e,{ignoreKeys:_0x107158}={'ignoreKeys':[]}){return Array['isArray'](_0x7237e)?_0x7237e['map'](_0xf01350=>_0x5e96af(_0xf01350,{'ignoreKeys':_0x107158})):_0x7237e;}function _0x5e96af(_0x2d1a8c,{ignoreKeys:_0x42069f}={'ignoreKeys':[]}){if(Array['isArray'](_0x2d1a8c))return camelizeArrayItems$1(_0x2d1a8c,{'ignoreKeys':_0x42069f});if(!isObject$1(_0x2d1a8c))return _0x2d1a8c;const _0x2a5c00={};for(const _0x223e68 of Object['keys'](_0x2d1a8c)){let _0x49143a=_0x2d1a8c[_0x223e68];_0x42069f['includes'](_0x223e68)?_0x2a5c00[_0x223e68]=_0x49143a:(isObject$1(_0x49143a)?_0x49143a=_0x5e96af(_0x49143a,{'ignoreKeys':_0x42069f}):Array['isArray'](_0x49143a)&&(_0x49143a=camelizeArrayItems$1(_0x49143a,{'ignoreKeys':_0x42069f})),_0x2a5c00[camelizeString$1(_0x223e68)]=_0x49143a);}return _0x2a5c00;}const _0x5b9bc6=_0xecf325=>new Promise(_0x52683f=>setTimeout(_0x52683f,_0xecf325));function getUserAgent$1$1({libraryName:_0x193a82,libraryVersion:_0x47874e,userAgent:_0x3ed8bb,publicKey:_0x3f09df='',integration:_0x5be29c=''}){const _0x20e48c='JavaScript';if('string'==typeof _0x3ed8bb)return _0x3ed8bb;if('function'==typeof _0x3ed8bb)return _0x3ed8bb({'publicKey':_0x3f09df,'libraryName':_0x193a82,'libraryVersion':_0x47874e,'languageName':_0x20e48c,'integration':_0x5be29c});return[_0x193a82,_0x47874e,_0x3f09df]['filter'](Boolean)['join']('/')+'\x20('+[_0x20e48c,_0x5be29c]['filter'](Boolean)['join'](';\x20')+')';}const defaultOptions$1={'factor':0x2,'time':0x64};function retrier$1(_0x5cfedb,_0x1cf688=defaultOptions$1){let _0xf449d8=0x0;return function _0x586282(_0x159f44){const _0x21c6ff=Math['round'](_0x1cf688['time']*_0x1cf688['factor']**_0xf449d8);return _0x159f44({'attempt':_0xf449d8,'retry':_0x45fc4a=>_0x5b9bc6(_0x45fc4a??_0x21c6ff)['then'](()=>(_0xf449d8+=0x1,_0x586282(_0x159f44)))});}(_0x5cfedb);}let _0x4e6800=class extends Error{},NetworkError$1=class _0x57b6a7 extends _0x4e6800{['originalProgressEvent'];constructor(_0x453a04){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,_0x57b6a7['prototype']),this['originalProgressEvent']=_0x453a04;}};const _0x30ece4=(_0x4b45aa,_0x51ad24)=>{_0x4b45aa&&(_0x4b45aa['aborted']?Promise['resolve']()['then'](_0x51ad24):_0x4b45aa['addEventListener']('abort',()=>_0x51ad24(),{'once':!0x0}));};let _0x8be7d8=class _0x1075af extends _0x4e6800{['isCancel']=!0x0;constructor(_0x173bb8='Request\x20canceled'){super(_0x173bb8),this['name']='CancelError',Object['setPrototypeOf'](this,_0x1075af['prototype']);}};const _0x46dbdc=0x1f4,_0x1792ab=({check:_0x2f5e84,interval:_0xede257=_0x46dbdc,timeout:_0xe86f56,signal:_0x4836c8})=>new Promise((_0x3189e2,_0x58fb53)=>{let _0x116ba9,_0x5c4f38;_0x30ece4(_0x4836c8,()=>{_0x116ba9&&clearTimeout(_0x116ba9),_0x58fb53(new _0x8be7d8('Poll\x20cancelled'));}),_0xe86f56&&(_0x5c4f38=setTimeout(()=>{_0x116ba9&&clearTimeout(_0x116ba9),_0x58fb53(new _0x8be7d8('Timed\x20out'));},_0xe86f56));const _0x36746f=()=>{try{Promise['resolve'](_0x2f5e84(_0x4836c8))['then'](_0x4191ac=>{_0x4191ac?(_0x5c4f38&&clearTimeout(_0x5c4f38),_0x3189e2(_0x4191ac)):_0x116ba9=setTimeout(_0x36746f,_0xede257);})['catch'](_0x30436f=>{_0x5c4f38&&clearTimeout(_0x5c4f38),_0x58fb53(_0x30436f);});}catch(_0x351362){_0x5c4f38&&clearTimeout(_0x5c4f38),_0x58fb53(_0x351362);}};_0x116ba9=setTimeout(_0x36746f,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:_0x47c418,url:_0x2bbb42,data:_0x25e355,headers:_0x43a5db={},signal:_0x48a427,onProgress:_0x631423})=>new Promise((_0x4948f1,_0x37ea47)=>{const _0x5806b5=new XMLHttpRequest(),_0x3ca016=_0x47c418?.['toUpperCase']()||'GET';let _0x3738a1=!0x1;_0x5806b5['open'](_0x3ca016,_0x2bbb42,!0x0),_0x43a5db&&Object['entries'](_0x43a5db)['forEach'](_0x2753c1=>{const [_0x3133a8,_0x5f4a44]=_0x2753c1;void 0x0!==_0x5f4a44&&!Array['isArray'](_0x5f4a44)&&_0x5806b5['setRequestHeader'](_0x3133a8,_0x5f4a44);}),_0x5806b5['responseType']='text',_0x30ece4(_0x48a427,()=>{_0x3738a1=!0x0,_0x5806b5['abort'](),_0x37ea47(new _0x8be7d8());}),_0x5806b5['onload']=()=>{if(0xc8!=_0x5806b5['status'])_0x37ea47(new Error('Error\x20'+_0x5806b5['status']+':\x20'+_0x5806b5['statusText']));else{const _0x4852bf={'method':_0x3ca016,'url':_0x2bbb42,'data':_0x25e355,'headers':_0x43a5db||void 0x0,'signal':_0x48a427,'onProgress':_0x631423},_0x6b19cd=_0x5806b5['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x1f4548={};_0x6b19cd['forEach'](function(_0x46c263){const _0x18c33c=_0x46c263['split'](':\x20'),_0x569c39=_0x18c33c['shift'](),_0x3b14df=_0x18c33c['join'](':\x20');_0x569c39&&void 0x0!==_0x569c39&&(_0x1f4548[_0x569c39]=_0x3b14df);});const _0x1fffb5=_0x5806b5['response'],_0x1895ba=_0x5806b5['status'];_0x4948f1({'request':_0x4852bf,'data':_0x1fffb5,'headers':_0x1f4548,'status':_0x1895ba});}},_0x5806b5['onerror']=_0x22b824=>{_0x3738a1||_0x37ea47(new NetworkError$1(_0x22b824));},_0x631423&&'function'==typeof _0x631423&&(_0x5806b5['upload']['onprogress']=_0x493ada=>{_0x493ada['lengthComputable']?_0x631423({'isComputable':!0x0,'value':_0x493ada['loaded']/_0x493ada['total']}):_0x631423({'isComputable':!0x1});}),_0x25e355?_0x5806b5['send'](_0x25e355):_0x5806b5['send']();});function identity$1(_0x4dc63e,..._0x97b193){return _0x4dc63e;}const getFileOptions$1=({name:_0xd1d8f3})=>_0xd1d8f3?[_0xd1d8f3]:[],transformFile$1=identity$1;var getFormData$1=()=>new FormData();const _0x223cf7=_0x4fb204=>!0x1,_0x1dcf62=_0x227453=>'undefined'!=typeof Blob&&_0x227453 instanceof Blob,_0x599af4=_0x35132a=>'undefined'!=typeof File&&_0x35132a instanceof File,isReactNativeAsset$1=_0x2fffb0=>!!_0x2fffb0&&'object'==typeof _0x2fffb0&&!Array['isArray'](_0x2fffb0)&&'uri'in _0x2fffb0&&'string'==typeof _0x2fffb0['uri'],isFileData$1=_0x4fcd24=>_0x1dcf62(_0x4fcd24)||_0x599af4(_0x4fcd24)||_0x223cf7()||isReactNativeAsset$1(_0x4fcd24),_0x51e440=_0x892a18=>'string'==typeof _0x892a18||'number'==typeof _0x892a18||void 0x0===_0x892a18,isObjectValue$1=_0x2fed4a=>!!_0x2fed4a&&'object'==typeof _0x2fed4a&&!Array['isArray'](_0x2fed4a),_0x294c63=_0x374469=>!!_0x374469&&'object'==typeof _0x374469&&'data'in _0x374469&&isFileData$1(_0x374469['data']);function collectParams$1(_0x3af6bb,_0x3d3f09,_0x2c4c6e){if(Array['isArray'](_0x2c4c6e)){for(const _0x3aa95b of _0x2c4c6e)collectParams$1(_0x3af6bb,_0x3d3f09+'[]',_0x3aa95b);}else{if(_0x294c63(_0x2c4c6e)){const {name:_0x5d1ba4,contentType:_0x497f42}=_0x2c4c6e,_0x12d3aa=transformFile$1(_0x2c4c6e['data'],_0x5d1ba4,_0x497f42??defaultContentType$1),_0x48f011=getFileOptions$1({'name':_0x5d1ba4});_0x3af6bb['push']([_0x3d3f09,_0x12d3aa,..._0x48f011]);}else{if(isObjectValue$1(_0x2c4c6e)){for(const [_0x5e1efa,_0x272166]of Object['entries'](_0x2c4c6e))void 0x0!==_0x272166&&_0x3af6bb['push']([_0x3d3f09+'['+_0x5e1efa+']',String(_0x272166)]);}else _0x51e440(_0x2c4c6e)&&_0x2c4c6e&&_0x3af6bb['push']([_0x3d3f09,_0x2c4c6e['toString']()]);}}}function getFormDataParams$1(_0xb58b3f){const _0x387e19=[];for(const [_0x4b0e60,_0x25c9f8]of Object['entries'](_0xb58b3f))collectParams$1(_0x387e19,_0x4b0e60,_0x25c9f8);return _0x387e19;}function buildFormData$1(_0x58d1d8){const _0x56ceca=getFormData$1(),_0x572c0c=getFormDataParams$1(_0x58d1d8);for(const _0x5667c5 of _0x572c0c){const [_0x26ea29,_0x306c1d,..._0x5b7238]=_0x5667c5;_0x56ceca['append'](_0x26ea29,_0x306c1d,..._0x5b7238);}return _0x56ceca;}let _0x29388e=class _0x2197d7 extends _0x4e6800{['code'];['request'];['response'];['headers'];constructor(_0x1a974c,_0x22cea9,_0x54f8cf,_0x26de7c,_0x23829e){super(),this['name']='UploadError',this['message']=_0x1a974c,this['code']=_0x22cea9,this['request']=_0x54f8cf,this['response']=_0x26de7c,this['headers']=_0x23829e,Object['setPrototypeOf'](this,_0x2197d7['prototype']);}};const _0x117c9e=_0x2e73b7=>{const _0x461e81=new URLSearchParams();for(const [_0x281f80,_0x1f1ab6]of Object['entries'](_0x2e73b7))_0x1f1ab6&&'object'==typeof _0x1f1ab6&&!Array['isArray'](_0x1f1ab6)?Object['entries'](_0x1f1ab6)['filter'](_0x3ea697=>_0x3ea697[0x1]??!0x1)['forEach'](_0x16a639=>_0x461e81['set'](_0x281f80+'['+_0x16a639[0x0]+']',String(_0x16a639[0x1]))):Array['isArray'](_0x1f1ab6)?_0x1f1ab6['forEach'](_0x524db4=>{_0x461e81['append'](_0x281f80+'[]',_0x524db4);}):'string'==typeof _0x1f1ab6&&_0x1f1ab6?_0x461e81['set'](_0x281f80,_0x1f1ab6):'number'==typeof _0x1f1ab6&&_0x461e81['set'](_0x281f80,_0x1f1ab6['toString']());return _0x461e81['toString']();},getUrl$1=(_0x78e40b,_0x51cd95,_0x3df480)=>{const _0x5190d7=new URL(_0x78e40b);return _0x5190d7['pathname']=(_0x5190d7['pathname']+_0x51cd95)['replace']('//','/'),_0x3df480&&(_0x5190d7['search']=_0x117c9e(_0x3df480)),_0x5190d7['toString']();};var _0x360b4e='6.14.3';const _0x9f232='UploadcareUploadClient',_0x3a366c=_0x360b4e;function getUserAgent$2(_0x49d5ca){return getUserAgent$1$1({'libraryName':_0x9f232,'libraryVersion':_0x3a366c,..._0x49d5ca});}const _0x535146='RequestThrottledError',_0xa64f7d=0x3a98,_0x83a81a=0x3e8;function getTimeoutFromThrottledRequest$1(_0x55008a){const {headers:_0x14e881}=_0x55008a||{};if(!_0x14e881||'string'!=typeof _0x14e881['retry-after'])return _0xa64f7d;const _0x320076=parseInt(_0x14e881['retry-after'],0xa);return Number['isFinite'](_0x320076)?0x3e8*_0x320076:_0xa64f7d;}function retryIfFailed$1(_0x6d349,_0x4d6325){const {retryThrottledRequestMaxTimes:_0x46e081,retryNetworkErrorMaxTimes:_0x3c7463}=_0x4d6325;return retrier$1(({attempt:_0x41b6d8,retry:_0x2d059b})=>_0x6d349()['catch'](_0x274fd2=>{if('response'in _0x274fd2&&_0x274fd2?.['code']===_0x535146&&_0x41b6d8<_0x46e081)return _0x2d059b(getTimeoutFromThrottledRequest$1(_0x274fd2));if(_0x274fd2 instanceof NetworkError$1&&_0x41b6d8<_0x3c7463)return _0x2d059b((_0x41b6d8+0x1)*_0x83a81a);throw _0x274fd2;}));}const getContentType$1=_0x5f0415=>{let _0x3850c8='';return(_0x1dcf62(_0x5f0415)||_0x599af4(_0x5f0415)||isReactNativeAsset$1(_0x5f0415))&&(_0x3850c8=_0x5f0415['type']),_0x3850c8||defaultContentType$1;},getFileName$1=_0x59139f=>{let _0xec173e='';return _0x599af4(_0x59139f)&&_0x59139f['name']?_0xec173e=_0x59139f['name']:_0x1dcf62(_0x59139f)||_0x223cf7()?_0xec173e='':isReactNativeAsset$1(_0x59139f)&&_0x59139f['name']&&(_0xec173e=_0x59139f['name']),_0xec173e||defaultFilename$1;};function getStoreValue$1(_0x22941f){return void 0x0===_0x22941f||'auto'===_0x22941f?'auto':_0x22941f?'1':'0';}function _0xa0247d(_0x1d51f1,{publicKey:_0x39bc54,fileName:_0x12285d,contentType:_0x567cf9,baseURL:_0x254848=defaultSettings$1['baseURL'],secureSignature:_0x2cc959,secureExpire:_0x442e49,store:_0x450ab3,signal:_0x5efb6d,onProgress:_0x193245,source:_0xd2cc74='local',integration:_0x13cd3f,userAgent:_0x32fb38,retryThrottledRequestMaxTimes:_0x44e2ce=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x391d14=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x139920}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x254848,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x39bc54,'integration':_0x13cd3f,'userAgent':_0x32fb38})},'data':buildFormData$1({'file':{'data':_0x1d51f1,'name':_0x12285d||getFileName$1(_0x1d51f1),'contentType':_0x567cf9||getContentType$1(_0x1d51f1)},'UPLOADCARE_PUB_KEY':_0x39bc54,'UPLOADCARE_STORE':getStoreValue$1(_0x450ab3),'signature':_0x2cc959,'expire':_0x442e49,'source':_0xd2cc74,'metadata':_0x139920}),'signal':_0x5efb6d,'onProgress':_0x193245})['then'](({data:_0x307a2d,headers:_0x1b27f3,request:_0xd9d753})=>{const _0x265a60=_0x5e96af(JSON['parse'](_0x307a2d));if('error'in _0x265a60)throw new _0x29388e(_0x265a60['error']['content'],_0x265a60['error']['errorCode'],_0xd9d753,_0x265a60,_0x1b27f3);return _0x265a60;}),{'retryNetworkErrorMaxTimes':_0x391d14,'retryThrottledRequestMaxTimes':_0x44e2ce});}var _0x49b939,Status$1;function _0x9ed7a8(_0x1ecc1a,{publicKey:_0x87eee,baseURL:_0x1c3a40=defaultSettings$1['baseURL'],store:_0x400e0f,fileName:_0x3f31ae,checkForUrlDuplicates:_0x3dbd07,saveUrlForRecurrentUploads:_0x5bda00,secureSignature:_0x401ece,secureExpire:_0x2eb017,source:_0x1007fa='url',signal:_0x3ba8c8,integration:_0x4b4be5,userAgent:_0x7ead4a,retryThrottledRequestMaxTimes:_0x5b2f4a=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x4a7414=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x20d2cb}){return retryIfFailed$1(()=>request$1({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x87eee,'integration':_0x4b4be5,'userAgent':_0x7ead4a})},'url':getUrl$1(_0x1c3a40,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x87eee,'source_url':_0x1ecc1a,'store':getStoreValue$1(_0x400e0f),'filename':_0x3f31ae,'check_URL_duplicates':_0x3dbd07?0x1:void 0x0,'save_URL_duplicates':_0x5bda00?0x1:void 0x0,'signature':_0x401ece,'expire':_0x2eb017,'source':_0x1007fa,'metadata':_0x20d2cb}),'signal':_0x3ba8c8})['then'](({data:_0xc17123,headers:_0x13b078,request:_0x22d58d})=>{const _0x1e50a1=_0x5e96af(JSON['parse'](_0xc17123));if('error'in _0x1e50a1)throw new _0x29388e(_0x1e50a1['error']['content'],_0x1e50a1['error']['errorCode'],_0x22d58d,_0x1e50a1,_0x13b078);return _0x1e50a1;}),{'retryNetworkErrorMaxTimes':_0x4a7414,'retryThrottledRequestMaxTimes':_0x5b2f4a});}!function(_0x47b3df){_0x47b3df['Token']='token',_0x47b3df['FileInfo']='file_info';}(_0x49b939||(_0x49b939={})),function(_0x5e4b68){_0x5e4b68['Unknown']='unknown',_0x5e4b68['Waiting']='waiting',_0x5e4b68['Progress']='progress',_0x5e4b68['Error']='error',_0x5e4b68['Success']='success';}(Status$1||(Status$1={}));const _0x4b1e30=_0x59e20f=>'status'in _0x59e20f&&_0x59e20f['status']===Status$1['Error'];function fromUrlStatus$1(_0x35af8c,{publicKey:_0x2f9c95,baseURL:_0x19ae9a=defaultSettings$1['baseURL'],signal:_0xb7ce40,integration:_0x76ac40,userAgent:_0x465af2,retryThrottledRequestMaxTimes:_0x1fee16=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x5966a2=defaultSettings$1['retryNetworkErrorMaxTimes']}={}){return retryIfFailed$1(()=>request$1({'method':'GET','headers':_0x2f9c95?{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x2f9c95,'integration':_0x76ac40,'userAgent':_0x465af2})}:void 0x0,'url':getUrl$1(_0x19ae9a,'/from_url/status/',{'jsonerrors':0x1,'token':_0x35af8c}),'signal':_0xb7ce40})['then'](({data:_0x173f64,headers:_0x2ce192,request:_0x37d861})=>{const _0x378dcc=_0x5e96af(JSON['parse'](_0x173f64));if('error'in _0x378dcc&&!_0x4b1e30(_0x378dcc))throw new _0x29388e(_0x378dcc['error']['content'],_0x378dcc['error']['errorCode'],_0x37d861,_0x378dcc,_0x2ce192);return _0x378dcc;}),{'retryNetworkErrorMaxTimes':_0x5966a2,'retryThrottledRequestMaxTimes':_0x1fee16});}function _0x55740d(_0x7c2223,{publicKey:_0x23963c,baseURL:_0x179fc4=defaultSettings$1['baseURL'],signal:_0x2888ca,source:_0xdd3149,integration:_0x2523f7,userAgent:_0x3859ba,retryThrottledRequestMaxTimes:_0x5b4bd0=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x1444c9=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'GET','headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x23963c,'integration':_0x2523f7,'userAgent':_0x3859ba})},'url':getUrl$1(_0x179fc4,'/info/',{'jsonerrors':0x1,'pub_key':_0x23963c,'file_id':_0x7c2223,'source':_0xdd3149}),'signal':_0x2888ca})['then'](({data:_0x37c98e,headers:_0x548bcc,request:_0x1c9db})=>{const _0x5b050e=_0x5e96af(JSON['parse'](_0x37c98e));if('error'in _0x5b050e)throw new _0x29388e(_0x5b050e['error']['content'],_0x5b050e['error']['errorCode'],_0x1c9db,_0x5b050e,_0x548bcc);return _0x5b050e;}),{'retryThrottledRequestMaxTimes':_0x5b4bd0,'retryNetworkErrorMaxTimes':_0x1444c9});}function multipartStart$1(_0x526b75,{publicKey:_0x1d23a2,contentType:_0x4af17a,fileName:_0x379952,multipartChunkSize:_0x45d92d=defaultSettings$1['multipartChunkSize'],baseURL:_0x20edf5='',secureSignature:_0x431183,secureExpire:_0x81a6d0,store:_0x34f69c,signal:_0x210bde,source:_0x270566='local',integration:_0x1360bc,userAgent:_0x576661,retryThrottledRequestMaxTimes:_0x175821=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x279b19=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x1929fe}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x20edf5,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x1d23a2,'integration':_0x1360bc,'userAgent':_0x576661})},'data':buildFormData$1({'filename':_0x379952,'size':_0x526b75,'content_type':_0x4af17a||defaultContentType$1,'part_size':_0x45d92d,'UPLOADCARE_STORE':getStoreValue$1(_0x34f69c),'UPLOADCARE_PUB_KEY':_0x1d23a2,'signature':_0x431183,'expire':_0x81a6d0,'source':_0x270566,'metadata':_0x1929fe}),'signal':_0x210bde})['then'](({data:_0x87f649,headers:_0x2024e5,request:_0x32782d})=>{const _0x3d4205=_0x5e96af(JSON['parse'](_0x87f649));if('error'in _0x3d4205)throw new _0x29388e(_0x3d4205['error']['content'],_0x3d4205['error']['errorCode'],_0x32782d,_0x3d4205,_0x2024e5);return _0x3d4205['parts']=Object['keys'](_0x3d4205['parts'])['map'](_0x5232f1=>_0x3d4205['parts'][Number(_0x5232f1)]),_0x3d4205;}),{'retryThrottledRequestMaxTimes':_0x175821,'retryNetworkErrorMaxTimes':_0x279b19});}function multipartUpload$1(_0x167e4c,_0x479557,{contentType:_0x3ecc02,signal:_0x545812,onProgress:_0x86ebe5,retryThrottledRequestMaxTimes:_0x94ede6=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x470533=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'PUT','url':_0x479557,'data':_0x167e4c,'onProgress':_0x86ebe5,'signal':_0x545812,'headers':{'Content-Type':_0x3ecc02||defaultContentType$1}})['then'](_0x42849e=>(_0x86ebe5&&_0x86ebe5({'isComputable':!0x0,'value':0x1}),_0x42849e))['then'](({status:_0x5b7c90})=>({'code':_0x5b7c90})),{'retryThrottledRequestMaxTimes':_0x94ede6,'retryNetworkErrorMaxTimes':_0x470533});}function multipartComplete$1(_0xddcdc9,{publicKey:_0x5d14e4,baseURL:_0x90f2fb=defaultSettings$1['baseURL'],source:_0x4425b2='local',signal:_0x18c87c,integration:_0x3b0177,userAgent:_0x4cb65f,retryThrottledRequestMaxTimes:_0x7b5df9=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x34a848=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x90f2fb,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x5d14e4,'integration':_0x3b0177,'userAgent':_0x4cb65f})},'data':buildFormData$1({'uuid':_0xddcdc9,'UPLOADCARE_PUB_KEY':_0x5d14e4,'source':_0x4425b2}),'signal':_0x18c87c})['then'](({data:_0x45912e,headers:_0x3d8a86,request:_0x2cb6ec})=>{const _0x58fccb=_0x5e96af(JSON['parse'](_0x45912e));if('error'in _0x58fccb)throw new _0x29388e(_0x58fccb['error']['content'],_0x58fccb['error']['errorCode'],_0x2cb6ec,_0x58fccb,_0x3d8a86);return _0x58fccb;}),{'retryThrottledRequestMaxTimes':_0x7b5df9,'retryNetworkErrorMaxTimes':_0x34a848});}function _0x6d0242(_0x35735d,{publicKey:_0x4d00ba,baseURL:_0x15c2d7,source:_0xb0f04f,integration:_0x4be0ac,userAgent:_0x15c58f,retryThrottledRequestMaxTimes:_0x3f2cea,retryNetworkErrorMaxTimes:_0xf12c97,signal:_0x1b9240,onProgress:_0x3ddd34}){return _0x1792ab({'check':_0x4ac96d=>_0x55740d(_0x35735d,{'publicKey':_0x4d00ba,'baseURL':_0x15c2d7,'signal':_0x4ac96d,'source':_0xb0f04f,'integration':_0x4be0ac,'userAgent':_0x15c58f,'retryThrottledRequestMaxTimes':_0x3f2cea,'retryNetworkErrorMaxTimes':_0xf12c97})['then'](_0x3192a8=>_0x3192a8['isReady']?_0x3192a8:(_0x3ddd34&&_0x3ddd34({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x1b9240});}function _0x11d73e(_0x16495c){return'defaultEffects'in _0x16495c;}let _0x3e06f7=class{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x5232e2,{baseCDN:_0x1c2c45=defaultSettings$1['baseCDN'],fileName:_0x906ebc}={}){const {uuid:_0x2a4457,s3Bucket:_0x436d4c}=_0x5232e2,_0x508c0f=getUrl$1(_0x1c2c45,_0x2a4457+'/'),_0x3e72c2=_0x436d4c?getUrl$1('https://'+_0x436d4c+'.s3.amazonaws.com/',_0x2a4457+'/'+_0x5232e2['filename']):null;this['uuid']=_0x2a4457,this['name']=_0x906ebc||_0x5232e2['filename'],this['size']=_0x5232e2['size'],this['isStored']=_0x5232e2['isStored'],this['isImage']=_0x5232e2['isImage'],this['mimeType']=_0x5232e2['mimeType'],this['cdnUrl']=_0x508c0f,this['originalFilename']=_0x5232e2['originalFilename'],this['imageInfo']=_0x5232e2['imageInfo'],this['videoInfo']=_0x5232e2['videoInfo'],this['contentInfo']=_0x5232e2['contentInfo'],this['metadata']=_0x5232e2['metadata']||null,this['s3Bucket']=_0x436d4c||null,this['s3Url']=_0x3e72c2,_0x11d73e(_0x5232e2)&&(this['defaultEffects']=_0x5232e2['defaultEffects']);}};const uploadDirect$1=(_0x44c20c,{publicKey:_0x5c4624,fileName:_0x130225,baseURL:_0x3dfe6d,secureSignature:_0x40d3af,secureExpire:_0x334d94,store:_0xa5e1f4,contentType:_0x3f28f9,signal:_0x3ce4f2,onProgress:_0x58da87,source:_0x48bf3b,integration:_0x26606c,userAgent:_0xe96c26,retryThrottledRequestMaxTimes:_0x1cfb8a,retryNetworkErrorMaxTimes:_0x1f9239,baseCDN:_0x220246,metadata:_0x4525de})=>_0xa0247d(_0x44c20c,{'publicKey':_0x5c4624,'fileName':_0x130225,'contentType':_0x3f28f9,'baseURL':_0x3dfe6d,'secureSignature':_0x40d3af,'secureExpire':_0x334d94,'store':_0xa5e1f4,'signal':_0x3ce4f2,'onProgress':_0x58da87,'source':_0x48bf3b,'integration':_0x26606c,'userAgent':_0xe96c26,'retryThrottledRequestMaxTimes':_0x1cfb8a,'retryNetworkErrorMaxTimes':_0x1f9239,'metadata':_0x4525de})['then'](({file:_0x5f0b8b})=>_0x6d0242(_0x5f0b8b,{'publicKey':_0x5c4624,'baseURL':_0x3dfe6d,'source':_0x48bf3b,'integration':_0x26606c,'userAgent':_0xe96c26,'retryThrottledRequestMaxTimes':_0x1cfb8a,'retryNetworkErrorMaxTimes':_0x1f9239,'onProgress':_0x58da87,'signal':_0x3ce4f2}))['then'](_0x91792c=>new _0x3e06f7(_0x91792c,{'baseCDN':_0x220246})),_0x5be9fb=(_0xa82f6e,{publicKey:_0x83c2c1,fileName:_0x27a3f8,baseURL:_0x5c26e4,signal:_0x3c20c3,onProgress:_0x3693ac,source:_0x3b64cb,integration:_0x201c9b,userAgent:_0x218a78,retryThrottledRequestMaxTimes:_0x4ea0db,retryNetworkErrorMaxTimes:_0x84450c,baseCDN:_0x27992a})=>_0x55740d(_0xa82f6e,{'publicKey':_0x83c2c1,'baseURL':_0x5c26e4,'signal':_0x3c20c3,'source':_0x3b64cb,'integration':_0x201c9b,'userAgent':_0x218a78,'retryThrottledRequestMaxTimes':_0x4ea0db,'retryNetworkErrorMaxTimes':_0x84450c})['then'](_0x497cd0=>new _0x3e06f7(_0x497cd0,{'baseCDN':_0x27992a,'fileName':_0x27a3f8}))['then'](_0x1d9a6c=>(_0x3693ac&&_0x3693ac({'isComputable':!0x0,'value':0x1}),_0x1d9a6c)),_0x2b53f8=(_0x1cb3e7,{signal:_0x1624ce}={})=>{let _0x515dfe=null,_0x512c38=null;const _0x3ae198=_0x1cb3e7['map'](()=>new AbortController());return _0x30ece4(_0x1624ce,()=>{_0x3ae198['forEach'](_0x319fc9=>_0x319fc9['abort']());}),Promise['all'](_0x1cb3e7['map']((_0x1d1486,_0x2786f5)=>{const _0x524a1d=(_0x358dd2=>()=>{_0x512c38=_0x358dd2,_0x3ae198['forEach']((_0x2d6aea,_0x50cd04)=>_0x50cd04!==_0x358dd2&&_0x2d6aea['abort']());})(_0x2786f5);return Promise['resolve']()['then'](()=>_0x1d1486({'stopRace':_0x524a1d,'signal':_0x3ae198[_0x2786f5]['signal']}))['then'](_0x5dbff5=>(_0x524a1d(),_0x5dbff5))['catch'](_0x5e56f0=>(_0x515dfe=_0x5e56f0,null));}))['then'](_0x5ae0d5=>{if(null===_0x512c38)throw _0x515dfe;return _0x5ae0d5[_0x512c38];});};var WebSocket$1=window['WebSocket'];let Events$1=class{['events']=Object['create']({});['emit'](_0xf59573,_0x2bfbae){this['events'][_0xf59573]?.['forEach'](_0x167a79=>_0x167a79(_0x2bfbae));}['on'](_0x11c4cd,_0x2a9bb4){this['events'][_0x11c4cd]=this['events'][_0x11c4cd]||[],this['events'][_0x11c4cd]['push'](_0x2a9bb4);}['off'](_0x573216,_0x4ba192){this['events'][_0x573216]=_0x4ba192?this['events'][_0x573216]['filter'](_0x4ed0d6=>_0x4ed0d6!==_0x4ba192):[];}};const _0x3ee2b8=(_0x7bffe1,_0xb9ee29)=>'success'===_0x7bffe1?{'status':Status$1['Success'],..._0xb9ee29}:'progress'===_0x7bffe1?{'status':Status$1['Progress'],..._0xb9ee29}:{'status':Status$1['Error'],..._0xb9ee29};let _0x44f020=class{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events$1();['disconnectTimeoutId']=null;constructor(_0x26cdf9,_0x1f563e=0x7530){this['key']=_0x26cdf9,this['disconnectTime']=_0x1f563e;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0xb62f02='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new WebSocket$1(_0xb62f02),this['ws']['addEventListener']('error',_0xbaa13b=>{this['emmitter']['emit']('error',new Error(_0xbaa13b['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x44f600=>this['send'](_0x44f600['event'],_0x44f600['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x171a98=>{const _0x2dc654=JSON['parse'](_0x171a98['data']['toString']());switch(_0x2dc654['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'](_0x2dc654['channel'],_0x3ee2b8(_0x2dc654['event'],JSON['parse'](_0x2dc654['data'])));}});}}['disconnect'](){const _0x4f1031=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x4f1031();},this['disconnectTime']):_0x4f1031();}['send'](_0x393c86,_0x596de0){const _0xfef58d=JSON['stringify']({'event':_0x393c86,'data':_0x596de0});this['ws']?.['send'](_0xfef58d);}['subscribe'](_0x53e4c5,_0x9b5d28){this['subscribers']+=0x1,this['connect']();const _0x1e1261='task-status-'+_0x53e4c5,_0x34ed03={'event':'pusher:subscribe','data':{'channel':_0x1e1261}};this['emmitter']['on'](_0x1e1261,_0x9b5d28),this['isConnected']?this['send'](_0x34ed03['event'],_0x34ed03['data']):this['queue']['push'](_0x34ed03);}['unsubscribe'](_0x3b0e03){this['subscribers']-=0x1;const _0x110feb='task-status-'+_0x3b0e03,_0x4dff6b={'event':'pusher:unsubscribe','data':{'channel':_0x110feb}};this['emmitter']['off'](_0x110feb),this['isConnected']?this['send'](_0x4dff6b['event'],_0x4dff6b['data']):this['queue']=this['queue']['filter'](_0x5481d9=>_0x5481d9['data']['channel']!==_0x110feb),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x3cb0c1){return this['emmitter']['on']('error',_0x3cb0c1),()=>this['emmitter']['off']('error',_0x3cb0c1);}},_0x26b6f5=null;const getPusher$1=_0x4acac7=>{if(!_0x26b6f5){const _0x44b39d='undefined'==typeof window?0x0:0x7530;_0x26b6f5=new _0x44f020(_0x4acac7,_0x44b39d);}return _0x26b6f5;},preconnect$1=_0xba917a=>{getPusher$1(_0xba917a)['connect']();};function pollStrategy$1({token:_0x5b96bd,publicKey:_0x63afb,baseURL:_0x26eb6c,integration:_0x2b8e15,userAgent:_0xe5ac2,retryThrottledRequestMaxTimes:_0x3c53cd,retryNetworkErrorMaxTimes:_0xe67896,onProgress:_0x27cfb1,signal:_0x40e33a}){return _0x1792ab({'check':_0x11f540=>fromUrlStatus$1(_0x5b96bd,{'publicKey':_0x63afb,'baseURL':_0x26eb6c,'integration':_0x2b8e15,'userAgent':_0xe5ac2,'retryThrottledRequestMaxTimes':_0x3c53cd,'retryNetworkErrorMaxTimes':_0xe67896,'signal':_0x11f540})['then'](_0x354750=>{switch(_0x354750['status']){case Status$1['Error']:return new _0x29388e(_0x354750['error'],_0x354750['errorCode']);case Status$1['Waiting']:return!0x1;case Status$1['Unknown']:return new _0x29388e('Token\x20\x22'+_0x5b96bd+'\x22\x20was\x20not\x20found.');case Status$1['Progress']:return _0x27cfb1&&('unknown'===_0x354750['total']?_0x27cfb1({'isComputable':!0x1}):_0x27cfb1({'isComputable':!0x0,'value':_0x354750['done']/_0x354750['total']})),!0x1;case Status$1['Success']:return _0x27cfb1&&_0x27cfb1({'isComputable':!0x0,'value':_0x354750['done']/_0x354750['total']}),_0x354750;default:throw new Error('Unknown\x20status');}}),'signal':_0x40e33a});}const pushStrategy$1=({token:_0x3f7c66,pusherKey:_0x6320c,signal:_0x457c7c,onProgress:_0xd457f6})=>new Promise((_0x4c9e15,_0x5ab9c2)=>{const _0xdac40d=getPusher$1(_0x6320c),_0x43943f=_0xdac40d['onError'](_0x5ab9c2),_0x4f5c9b=()=>{_0x43943f(),_0xdac40d['unsubscribe'](_0x3f7c66);};_0x30ece4(_0x457c7c,()=>{_0x4f5c9b(),_0x5ab9c2(new _0x8be7d8('pusher\x20cancelled'));}),_0xdac40d['subscribe'](_0x3f7c66,_0x5440ba=>{switch(_0x5440ba['status']){case Status$1['Progress']:_0xd457f6&&('unknown'===_0x5440ba['total']?_0xd457f6({'isComputable':!0x1}):_0xd457f6({'isComputable':!0x0,'value':_0x5440ba['done']/_0x5440ba['total']}));break;case Status$1['Success']:_0x4f5c9b(),_0xd457f6&&_0xd457f6({'isComputable':!0x0,'value':_0x5440ba['done']/_0x5440ba['total']}),_0x4c9e15(_0x5440ba);break;case Status$1['Error']:_0x4f5c9b(),_0x5ab9c2(new _0x29388e(_0x5440ba['msg'],_0x5440ba['error_code']));}});}),_0x2d4cd0=(_0x3179fa,{publicKey:_0x4e9d04,fileName:_0x26484e,baseURL:_0x220f64,baseCDN:_0x13d1ab,checkForUrlDuplicates:_0x1c1a19,saveUrlForRecurrentUploads:_0x4a839f,secureSignature:_0x3df3fa,secureExpire:_0x5d37be,store:_0x556aff,signal:_0x2e3e65,onProgress:_0xa5bf02,source:_0x2b734d,integration:_0xe9482f,userAgent:_0x4b0c5f,retryThrottledRequestMaxTimes:_0x5237a6,pusherKey:_0x37230f=defaultSettings$1['pusherKey'],metadata:_0x17addc})=>Promise['resolve'](preconnect$1(_0x37230f))['then'](()=>_0x9ed7a8(_0x3179fa,{'publicKey':_0x4e9d04,'fileName':_0x26484e,'baseURL':_0x220f64,'checkForUrlDuplicates':_0x1c1a19,'saveUrlForRecurrentUploads':_0x4a839f,'secureSignature':_0x3df3fa,'secureExpire':_0x5d37be,'store':_0x556aff,'signal':_0x2e3e65,'source':_0x2b734d,'integration':_0xe9482f,'userAgent':_0x4b0c5f,'retryThrottledRequestMaxTimes':_0x5237a6,'metadata':_0x17addc}))['catch'](_0x5eb4bc=>{const _0x312cb2=getPusher$1(_0x37230f);return _0x312cb2?.['disconnect'](),Promise['reject'](_0x5eb4bc);})['then'](_0x4f138f=>_0x4f138f['type']===_0x49b939['FileInfo']?_0x4f138f:_0x2b53f8([({signal:_0xb93b3b})=>pollStrategy$1({'token':_0x4f138f['token'],'publicKey':_0x4e9d04,'baseURL':_0x220f64,'integration':_0xe9482f,'userAgent':_0x4b0c5f,'retryThrottledRequestMaxTimes':_0x5237a6,'onProgress':_0xa5bf02,'signal':_0xb93b3b}),({signal:_0x14afee})=>pushStrategy$1({'token':_0x4f138f['token'],'pusherKey':_0x37230f,'signal':_0x14afee,'onProgress':_0xa5bf02})],{'signal':_0x2e3e65}))['then'](_0x56e5bb=>{if(_0x56e5bb instanceof _0x29388e)throw _0x56e5bb;return _0x56e5bb;})['then'](_0x3d5706=>_0x6d0242(_0x3d5706['uuid'],{'publicKey':_0x4e9d04,'baseURL':_0x220f64,'integration':_0xe9482f,'userAgent':_0x4b0c5f,'retryThrottledRequestMaxTimes':_0x5237a6,'onProgress':_0xa5bf02,'signal':_0x2e3e65}))['then'](_0xa62766=>new _0x3e06f7(_0xa62766,{'baseCDN':_0x13d1ab})),_0x32adb7=new WeakMap(),getBlobFromReactNativeAsset$1=async _0x1bace0=>{if(_0x32adb7['has'](_0x1bace0))return _0x32adb7['get'](_0x1bace0);const _0x5ac285=await fetch(_0x1bace0['uri'])['then'](_0x1191fd=>_0x1191fd['blob']());return _0x32adb7['set'](_0x1bace0,_0x5ac285),_0x5ac285;},getFileSize$1=async _0x38176b=>{if(_0x599af4(_0x38176b)||_0x1dcf62(_0x38176b))return _0x38176b['size'];if(isReactNativeAsset$1(_0x38176b))return(await getBlobFromReactNativeAsset$1(_0x38176b))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},isMultipart$1=(_0x5bf53d,_0x41355e=defaultSettings$1['multipartMinFileSize'])=>_0x5bf53d>=_0x41355e,_0x223ad1=_0x26e53a=>{const _0x434715=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(_0x26e53a)&&_0x434715['test'](_0x26e53a);},_0x3728db=_0x16763f=>{const _0x416055=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!isFileData$1(_0x16763f)&&_0x416055['test'](_0x16763f);},runWithConcurrency$1=(_0x167e06,_0x3dbaff)=>new Promise((_0x50d255,_0x53384c)=>{const _0x45268a=[];let _0x5bf330=!0x1,_0x40a73b=_0x3dbaff['length'];const _0x16fa91=[..._0x3dbaff],_0x5120d3=()=>{const _0x4b011e=_0x3dbaff['length']-_0x16fa91['length'],_0x1f524c=_0x16fa91['shift']();_0x1f524c&&_0x1f524c()['then'](_0xf086b5=>{_0x5bf330||(_0x45268a[_0x4b011e]=_0xf086b5,_0x40a73b-=0x1,_0x40a73b?_0x5120d3():_0x50d255(_0x45268a));})['catch'](_0x1c6aee=>{_0x5bf330=!0x0,_0x53384c(_0x1c6aee);});};for(let _0x5d4177=0x0;_0x5d4177<_0x167e06;_0x5d4177++)_0x5120d3();}),_0x2002d6=(_0x49b554,_0x30a54b,_0x39dda9,_0x483d9a)=>{const _0x5e79b2=_0x483d9a*_0x30a54b,_0x30d741=Math['min'](_0x5e79b2+_0x483d9a,_0x39dda9);return _0x49b554['slice'](_0x5e79b2,_0x30d741);},_0xeab22d=async(_0x6cb971,_0x48a75b,_0x279d33)=>_0x42ed25=>_0x2002d6(_0x6cb971,_0x42ed25,_0x48a75b,_0x279d33),uploadPart$1=(_0x2b010b,_0x303862,{publicKey:_0x4f16f4,contentType:_0x5b4e70,onProgress:_0x2e23a4,signal:_0xad5d46,integration:_0x33ff6e,retryThrottledRequestMaxTimes:_0x21024c,retryNetworkErrorMaxTimes:_0x312d64})=>multipartUpload$1(_0x2b010b,_0x303862,{'contentType':_0x5b4e70,'onProgress':_0x2e23a4,'signal':_0xad5d46,'retryThrottledRequestMaxTimes':_0x21024c,'retryNetworkErrorMaxTimes':_0x312d64}),uploadMultipart$1=async(_0x26c0ca,{publicKey:_0x4b62ae,fileName:_0x499027,fileSize:_0x2188b7,baseURL:_0x28de77,secureSignature:_0x582570,secureExpire:_0x50db9b,store:_0x22906e,signal:_0x4388b5,onProgress:_0x5b8064,source:_0x11742b,integration:_0x571ec9,userAgent:_0x15b914,retryThrottledRequestMaxTimes:_0x5850cb,retryNetworkErrorMaxTimes:_0x4a6dcc,contentType:_0x5a28af,multipartChunkSize:_0x2684ba=defaultSettings$1['multipartChunkSize'],maxConcurrentRequests:_0x527877=defaultSettings$1['maxConcurrentRequests'],baseCDN:_0x5a0239,metadata:_0x455901})=>{const _0x527371=_0x2188b7??await getFileSize$1(_0x26c0ca);let _0x113067;const _0x4bc0bd=(_0x1404b6,_0x154e90)=>{if(!_0x5b8064)return;_0x113067||(_0x113067=Array(_0x1404b6)['fill'](0x0));const _0xa72e56=_0x336e87=>_0x336e87['reduce']((_0x4fbee8,_0x57ba2a)=>_0x4fbee8+_0x57ba2a,0x0);return _0x1845a5=>{_0x1845a5['isComputable']&&(_0x113067[_0x154e90]=_0x1845a5['value'],_0x5b8064({'isComputable':!0x0,'value':_0xa72e56(_0x113067)/_0x1404b6}));};};return _0x5a28af||=getContentType$1(_0x26c0ca),multipartStart$1(_0x527371,{'publicKey':_0x4b62ae,'contentType':_0x5a28af,'fileName':_0x499027||getFileName$1(_0x26c0ca),'baseURL':_0x28de77,'secureSignature':_0x582570,'secureExpire':_0x50db9b,'store':_0x22906e,'signal':_0x4388b5,'source':_0x11742b,'integration':_0x571ec9,'userAgent':_0x15b914,'retryThrottledRequestMaxTimes':_0x5850cb,'retryNetworkErrorMaxTimes':_0x4a6dcc,'metadata':_0x455901,'multipartChunkSize':_0x2684ba})['then'](async({uuid:_0x47a2fb,parts:_0x1ecfa0})=>{const _0x131eed=await _0xeab22d(_0x26c0ca,_0x527371,_0x2684ba);return Promise['all']([_0x47a2fb,runWithConcurrency$1(_0x527877,_0x1ecfa0['map']((_0x9cb3bf,_0x13c653)=>()=>uploadPart$1(_0x131eed(_0x13c653),_0x9cb3bf,{'publicKey':_0x4b62ae,'contentType':_0x5a28af,'onProgress':_0x4bc0bd(_0x1ecfa0['length'],_0x13c653),'signal':_0x4388b5,'integration':_0x571ec9,'retryThrottledRequestMaxTimes':_0x5850cb,'retryNetworkErrorMaxTimes':_0x4a6dcc})))]);})['then'](([_0x25e5d9])=>multipartComplete$1(_0x25e5d9,{'publicKey':_0x4b62ae,'baseURL':_0x28de77,'source':_0x11742b,'integration':_0x571ec9,'userAgent':_0x15b914,'retryThrottledRequestMaxTimes':_0x5850cb,'retryNetworkErrorMaxTimes':_0x4a6dcc}))['then'](_0x77d4ef=>_0x77d4ef['isReady']?_0x77d4ef:_0x6d0242(_0x77d4ef['uuid'],{'publicKey':_0x4b62ae,'baseURL':_0x28de77,'source':_0x11742b,'integration':_0x571ec9,'userAgent':_0x15b914,'retryThrottledRequestMaxTimes':_0x5850cb,'retryNetworkErrorMaxTimes':_0x4a6dcc,'onProgress':_0x5b8064,'signal':_0x4388b5}))['then'](_0xb2faa5=>new _0x3e06f7(_0xb2faa5,{'baseCDN':_0x5a0239}));};async function _0x535d08(_0x165bb4,{publicKey:_0x438598,fileName:_0x2fe355,baseURL:_0x27431c=defaultSettings$1['baseURL'],secureSignature:_0x15f76a,secureExpire:_0x3b8257,store:_0x2d15eb,signal:_0x51cad3,onProgress:_0x538116,source:_0x82389b,integration:_0x4cef6f,userAgent:_0x298a02,retryThrottledRequestMaxTimes:_0x36624f,retryNetworkErrorMaxTimes:_0x356a68,contentType:_0x1d1660,multipartMinFileSize:_0x56e30b,multipartChunkSize:_0x13fbe5,maxConcurrentRequests:_0x3c5541,baseCDN:_0x1a1571=defaultSettings$1['baseCDN'],checkForUrlDuplicates:_0xe3fa6b,saveUrlForRecurrentUploads:_0x863ce1,pusherKey:_0x4dbb5b,metadata:_0x55edb7}){if(isFileData$1(_0x165bb4)){const _0x12461d=await getFileSize$1(_0x165bb4);return isMultipart$1(_0x12461d,_0x56e30b)?uploadMultipart$1(_0x165bb4,{'publicKey':_0x438598,'contentType':_0x1d1660,'multipartChunkSize':_0x13fbe5,'fileSize':_0x12461d,'fileName':_0x2fe355,'baseURL':_0x27431c,'secureSignature':_0x15f76a,'secureExpire':_0x3b8257,'store':_0x2d15eb,'signal':_0x51cad3,'onProgress':_0x538116,'source':_0x82389b,'integration':_0x4cef6f,'userAgent':_0x298a02,'maxConcurrentRequests':_0x3c5541,'retryThrottledRequestMaxTimes':_0x36624f,'retryNetworkErrorMaxTimes':_0x356a68,'baseCDN':_0x1a1571,'metadata':_0x55edb7}):uploadDirect$1(_0x165bb4,{'publicKey':_0x438598,'fileName':_0x2fe355,'contentType':_0x1d1660,'baseURL':_0x27431c,'secureSignature':_0x15f76a,'secureExpire':_0x3b8257,'store':_0x2d15eb,'signal':_0x51cad3,'onProgress':_0x538116,'source':_0x82389b,'integration':_0x4cef6f,'userAgent':_0x298a02,'retryThrottledRequestMaxTimes':_0x36624f,'retryNetworkErrorMaxTimes':_0x356a68,'baseCDN':_0x1a1571,'metadata':_0x55edb7});}if(_0x3728db(_0x165bb4))return _0x2d4cd0(_0x165bb4,{'publicKey':_0x438598,'fileName':_0x2fe355,'baseURL':_0x27431c,'baseCDN':_0x1a1571,'checkForUrlDuplicates':_0xe3fa6b,'saveUrlForRecurrentUploads':_0x863ce1,'secureSignature':_0x15f76a,'secureExpire':_0x3b8257,'store':_0x2d15eb,'signal':_0x51cad3,'onProgress':_0x538116,'source':_0x82389b,'integration':_0x4cef6f,'userAgent':_0x298a02,'retryThrottledRequestMaxTimes':_0x36624f,'pusherKey':_0x4dbb5b,'metadata':_0x55edb7});if(_0x223ad1(_0x165bb4))return _0x5be9fb(_0x165bb4,{'publicKey':_0x438598,'fileName':_0x2fe355,'baseURL':_0x27431c,'signal':_0x51cad3,'onProgress':_0x538116,'source':_0x82389b,'integration':_0x4cef6f,'userAgent':_0x298a02,'retryThrottledRequestMaxTimes':_0x36624f,'retryNetworkErrorMaxTimes':_0x356a68,'baseCDN':_0x1a1571});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x165bb4+'\x22\x20is\x20not\x20supported');}class UploadUtils{static['upload']({file:_0x2386df,..._0x755435}){return _0x535d08(_0x2386df,_0x755435);}static['getInfo'](_0x12fc8f,_0xbb934d){return _0x55740d(_0x12fc8f,_0xbb934d);}}class UploadcareUploadAdapter extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['ImageUploadEditing'],ckeditor5['ImageUploadProgress'],ckeditor5['FileRepository'],UploadcareEditing];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xd71443=this['editor'];if(!!!_0xd71443['config']['get']('uploadcare'))return;_0xd71443['plugins']['get'](ckeditor5['FileRepository'])['createUploadAdapter']=_0xbea0b2=>new Adapter(_0xbea0b2,_0xd71443),_0xd71443['plugins']['get'](ckeditor5['ImageUploadEditing'])['on']('uploadComplete',(_0x3d7f2a,{imageElement:_0x48e89a,data:_0x46dbb2})=>{_0xd71443['model']['change'](_0x460cb1=>{_0x460cb1['setAttribute']('uploadcareImageId',_0x46dbb2['uploadcareImageId'],_0x48e89a);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x161ffa,_0x469fd0){this['loader']=_0x161ffa,this['editor']=_0x469fd0,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x57b6d3=await this['loader']['file'];return UploadUtils['upload']({'file':_0x57b6d3,'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':_0x114c23=>{_0x114c23&&_0x114c23['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x114c23['value']);}})['then'](async _0x120ec4=>{const {imageFallbackUrl:_0x5f3fdc,imageSources:_0xbdf5d9}=getImageUrls(_0x120ec4['cdnUrl'],_0x120ec4['imageInfo']['width']);return{'uploadcareImageId':_0x120ec4['uuid'],'default':_0x5f3fdc,'sources':_0xbdf5d9};})['catch'](()=>{const _0xe6254f=t('Cannot\x20upload\x20file:')+('\x20'+_0x57b6d3['name']+'.');return Promise['reject'](_0xe6254f);});}['abort'](){this['controller']['abort']();}}class UploadcareEditing extends ckeditor5['Plugin']{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return[ckeditor5['PictureEditing'],UploadcareUploadAdapter,ckeditor5['Dialog']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x23716d){super(_0x23716d),this['ucContextId']=ckeditor5['uid']();}['init'](){const _0x5957c3=this['editor'];_0x5957c3['commands']['add']('uploadcare',new _0x21a9f1(_0x5957c3));}['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 _0x183f55=ckeditor5['global']['document']['querySelector']('input[uploadcare-file-input]');_0x183f55&&_0x183f55['remove']();}),_0x4cb387(this);}['_initSchema'](){const _0x7b0b27=this['editor']['model']['schema'];_0x7b0b27['isRegistered']('imageBlock')&&_0x7b0b27['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x7b0b27['isRegistered']('imageInline')&&_0x7b0b27['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x36cfb0=this['editor'];_0x36cfb0['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x36cfb0['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2b2d54=>_0x2b2d54['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5482e3=_0x36cfb0['commands']['get']('replaceImageSource');_0x5482e3&&this['listenTo'](_0x5482e3,'cleanupImage',(_0x2519b2,[_0x5ccc99,_0xad360d])=>{_0x5ccc99['removeAttribute']('uploadcareImageId',_0xad360d);});}['_initConfig'](){const _0x110d41=this['editor']['config']['get']('uploadcare.uploader')||{},_0x40ae9d=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=ckeditor5['createElement'](ckeditor5['global']['document'],'uc-config',{..._0x110d41,'pubkey':_0x40ae9d,'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']=_0x29cbb8=>{if('closeMax'==_0x29cbb8)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 _0x7613af=this['editor']['commands']['get']('insertImage');_0x7613af&&this['listenTo'](_0x7613af,'execute',()=>{const _0x3ebf2c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3ebf2c&&_0x3ebf2c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{showImageProcessingIndicator(this['editor'],_0x3ebf2c);});});const _0x555f98=this['editor']['commands']['get']('uploadcareImageReplace');_0x555f98&&this['listenTo'](_0x555f98,'execute',()=>{const _0x12dea0=this['editor']['model']['document']['selection']['getSelectedElement']();_0x12dea0&&_0x12dea0['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{showImageProcessingIndicator(this['editor'],_0x12dea0);});});}}async function _0x4cb387(_0x2fffe5){const _0x4b5262=_0x4f4123([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]),_0x2cb51c=window[_0x4f4123([0x44,0x61,0x74,0x65])][_0x4f4123([0x6e,0x6f,0x77])](),_0x4895bd=_0x2fffe5[_0x4f4123([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x49c23c=new window[(_0x4f4123([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e92c3=>{_0x4895bd[_0x4f4123([0x6f,0x6e,0x63,0x65])](_0x4f4123([0x72,0x65,0x61,0x64,0x79]),_0x5e92c3);}),_0x3ce5bd={[_0x4f4123([0x6b,0x74,0x79])]:_0x4f4123([0x45,0x43]),[_0x4f4123([0x75,0x73,0x65])]:_0x4f4123([0x73,0x69,0x67]),[_0x4f4123([0x63,0x72,0x76])]:_0x4f4123([0x50,0x2d,0x32,0x35,0x36]),[_0x4f4123([0x78])]:_0x4f4123([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]),[_0x4f4123([0x79])]:_0x4f4123([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]),[_0x4f4123([0x61,0x6c,0x67])]:_0x4f4123([0x45,0x53,0x32,0x35,0x36])},_0xc8f87e=_0x4895bd[_0x4f4123([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f4123([0x67,0x65,0x74])](_0x4f4123([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x315e2b=await(async function(){let _0x3f5c6c,_0x3cd479=null,_0x156801=null;try{if(_0xc8f87e==_0x4f4123([0x47,0x50,0x4c]))return _0x4f4123([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3f5c6c=(function(){const _0x1b8054=_0xc8f87e[_0x4f4123([0x73,0x70,0x6c,0x69,0x74])](_0x4f4123([0x2e]));if(0x3!=_0x1b8054[_0x4f4123([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x1f384e=_0x1b8054[0x1];return _0x515160(_0x1f384e);function _0x515160(_0x9eb2e9){const _0xcb379d=_0x6c1b6e(_0x9eb2e9);return _0xcb379d&&_0x51a0ec()?_0xcb379d:null;function _0x51a0ec(){const _0x64e47b=_0xcb379d[_0x4f4123([0x6a,0x74,0x69])],_0x44a927=window[_0x4f4123([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x64e47b[_0x4f4123([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x64e47b[_0x4f4123([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x46a4d8={..._0xcb379d,[_0x4f4123([0x6a,0x74,0x69])]:_0x64e47b[_0x4f4123([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x64e47b[_0x4f4123([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x46a4d8[_0x4f4123([0x76,0x63])],_0xf7b5ab(_0x46a4d8)==_0x44a927;}}}()),!_0x3f5c6c)return _0x4f4123([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x3f5c6c[_0x4f4123([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x156801=function(_0x2d6453,_0x12c060){return new window[(_0x4f4123([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45ffb5=>{if(_0x49ea5d())return _0x45ffb5(_0x4f4123([0x56,0x61,0x6c,0x69,0x64]));_0x982b92(),_0x4895bd[_0x4f4123([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f4123([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x17e7ef=!0x1;const _0x369348=ckeditor5['uid']();function _0x25d0fd(_0x1337c2){return!!_0x1337c2&&(typeof _0x1337c2===_0x4f4123([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1337c2===_0x4f4123([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1337c2[_0x4f4123([0x74,0x68,0x65,0x6e])]===_0x4f4123([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1337c2[_0x4f4123([0x63,0x61,0x74,0x63,0x68])]===_0x4f4123([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3855a9(_0x534dd3){_0x808f48(_0x534dd3)[_0x4f4123([0x74,0x68,0x65,0x6e])](_0x40474d=>{if(!_0x40474d||_0x40474d[_0x4f4123([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f4123([0x6f,0x6b]))return _0x4f4123([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a84d7(_0xf7b5ab(_0x369348+_0x12c060))!=_0x40474d[_0x4f4123([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f4123([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f4123([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f4123([0x74,0x68,0x65,0x6e])](_0x1478ce=>(_0x355675(),_0x1478ce),()=>{const _0x32ae21=_0x172ed9();return null==_0x32ae21?(_0x355675(),_0x4f4123([0x56,0x61,0x6c,0x69,0x64])):_0x4f4123(_0x2cb51c-_0x32ae21>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f4123([0x74,0x68,0x65,0x6e])](_0x45ffb5)[_0x4f4123([0x63,0x61,0x74,0x63,0x68])](()=>{_0x45ffb5(_0x4f4123([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e3f6a=0x36ee80;function _0x355675(){const _0x410b6e=_0x4f4123([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a84d7(_0xf7b5ab(_0x2d6453)),_0x5ba94e=_0x267eb4(_0x2a84d7(window[_0x4f4123([0x4d,0x61,0x74,0x68])][_0x4f4123([0x63,0x65,0x69,0x6c])](_0x2cb51c/_0x4e3f6a)));window[_0x4f4123([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f4123([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x410b6e,_0x5ba94e);}function _0x172ed9(){const _0x4f29e1=_0x4f4123([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a84d7(_0xf7b5ab(_0x2d6453)),_0x410cca=window[_0x4f4123([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f4123([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f29e1);return _0x410cca?window[_0x4f4123([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x267eb4(_0x410cca),0x10)*_0x4e3f6a:null;}function _0x808f48(_0x290ff7){return new window[(_0x4f4123([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5305e6,_0x32f628)=>{_0x290ff7[_0x4f4123([0x74,0x68,0x65,0x6e])](_0x5305e6,_0x32f628),window[_0x4f4123([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x32f628,0x1d4c0);});}}_0x4895bd[_0x4f4123([0x6f,0x6e])](_0x4f4123([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x25f3a1,_0x33e68d)=>{if(_0x33e68d[0x0]!=_0x2d6453)return _0x45ffb5(_0x4f4123([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33e68d[0x1]={..._0x33e68d[0x1],[_0x4f4123([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x369348};},{[_0x4f4123([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f4123([0x68,0x69,0x67,0x68])}),_0x4895bd[_0x4f4123([0x6f,0x6e])](_0x4f4123([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x375422=>{_0x25d0fd(_0x375422[_0x4f4123([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x17e7ef=!0x0,_0x3855a9(_0x375422[_0x4f4123([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f4123([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f4123([0x6c,0x6f,0x77])}),_0x49c23c[_0x4f4123([0x74,0x68,0x65,0x6e])](()=>{_0x17e7ef||_0x45ffb5(_0x4f4123([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49ea5d(){return _0x4895bd[_0x4f4123([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f4123([0x76,0x69,0x65,0x77])][_0x4f4123([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f4123([0x61,0x75,0x74,0x6f]);}function _0x982b92(){_0x4895bd[_0x4f4123([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f4123([0x76,0x69,0x65,0x77])][_0x4f4123([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f4123([0x61,0x75,0x74,0x6f]);}}(_0x3f5c6c[_0x4f4123([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3f5c6c[_0x4f4123([0x6a,0x74,0x69])]));const _0x22a52b=await(async function(){let _0x5a1b48=!0x0;try{const _0x7685b1=_0xc8f87e[_0x4f4123([0x73,0x70,0x6c,0x69,0x74])](_0x4f4123([0x2e])),[_0x3d294f,_0xae8480,_0x2eb235]=_0x7685b1;return _0x1872f9(_0x3d294f),await _0x43a241(_0x3d294f,_0xae8480,_0x2eb235),_0x5a1b48;}catch{return!0x1;}function _0x1872f9(_0x5e83b0){const _0xde818d=_0x6c1b6e(_0x5e83b0);_0xde818d&&_0xde818d[_0x4f4123([0x61,0x6c,0x67])]==_0x4f4123([0x45,0x53,0x32,0x35,0x36])||(_0x5a1b48=!0x1);}async function _0x43a241(_0x2556bb,_0x51357c,_0x4bcf5c){const _0x125705=window[_0x4f4123([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f4123([0x66,0x72,0x6f,0x6d])](_0x411dbb(_0x4bcf5c),_0x54fb5e=>_0x54fb5e[_0x4f4123([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e9c13=new window[(_0x4f4123([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f4123([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2556bb+_0x4f4123([0x2e])+_0x51357c),_0x991fe2=window[_0x4f4123([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f4123([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x991fe2)return;const _0x3ef815=await _0x991fe2[_0x4f4123([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f4123([0x6a,0x77,0x6b]),_0x3ce5bd,{[_0x4f4123([0x6e,0x61,0x6d,0x65])]:_0x4f4123([0x45,0x43,0x44,0x53,0x41]),[_0x4f4123([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f4123([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f4123([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x991fe2[_0x4f4123([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f4123([0x6e,0x61,0x6d,0x65])]:_0x4f4123([0x45,0x43,0x44,0x53,0x41]),[_0x4f4123([0x68,0x61,0x73,0x68])]:{[_0x4f4123([0x6e,0x61,0x6d,0x65])]:_0x4f4123([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3ef815,_0x125705,_0x1e9c13)||(_0x5a1b48=!0x1);}}());return _0x22a52b?(function(){const _0x1f1d20=_0x3f5c6c[_0x4f4123([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1f1d20)return!0x1;if(_0x1f1d20[_0x4f4123([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f4123([0x2a])))return!0x0;if(_0x1f1d20[_0x4f4123([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f4123([0x55,0x50,0x4c,0x43])))return!0x0;return!0x1;}())?(function(){const _0x47b6db=[_0x4f4123([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f4123([0x74,0x72,0x69,0x61,0x6c])][_0x4f4123([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f5c6c[_0x4f4123([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2cb51c/0x3e8:0x69cb0e80;return _0x3f5c6c[_0x4f4123([0x65,0x78,0x70])]<_0x47b6db;}())?_0x4f4123([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x6752ce=_0x3f5c6c[_0x4f4123([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6752ce||0x0==_0x6752ce[_0x4f4123([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3824d9}=new URL(window[_0x4f4123([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x6752ce[_0x4f4123([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3824d9))return!0x0;const _0x1da618=_0x3824d9[_0x4f4123([0x73,0x70,0x6c,0x69,0x74])](_0x4f4123([0x2e]));return _0x6752ce[_0x4f4123([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1dda4e=>_0x1dda4e[_0x4f4123([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f4123([0x2a])))[_0x4f4123([0x6d,0x61,0x70])](_0x9d18fd=>_0x9d18fd[_0x4f4123([0x73,0x70,0x6c,0x69,0x74])](_0x4f4123([0x2e])))[_0x4f4123([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc1d35f=>_0xc1d35f[_0x4f4123([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1da618[_0x4f4123([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f4123([0x6d,0x61,0x70])](_0x10307d=>Array(_0x1da618[_0x4f4123([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x10307d[_0x4f4123([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f4123([0x66,0x69,0x6c,0x6c])](_0x10307d[0x0]===_0x4f4123([0x2a])?_0x4f4123([0x2a]):'')[_0x4f4123([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x10307d))[_0x4f4123([0x73,0x6f,0x6d,0x65])](_0x2e4f41=>_0x1da618[_0x4f4123([0x65,0x76,0x65,0x72,0x79])]((_0x18fb52,_0x5d9604)=>_0x2e4f41[_0x5d9604]===_0x18fb52||_0x2e4f41[_0x5d9604]===_0x4f4123([0x2a])));}())?(_0x3f5c6c[_0x4f4123([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f4123([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3cd479=function(_0x273d89){const _0x187a90=new window[(_0x4f4123([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58109d=>setTimeout(_0x58109d,0x93ecc)),_0x338413=_0x49c23c[_0x4f4123([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f4123([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2aa683=>{let _0x210393=0x0;_0x4895bd[_0x4f4123([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f4123([0x6f,0x6e])](_0x4f4123([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x217e91,_0x57c28f)=>{_0x57c28f[0x0][_0x4f4123([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x210393++,0x5e8==_0x210393&&(_0x2aa683(),_0x217e91[_0x4f4123([0x6f,0x66,0x66])]());});})),_0x6832ae=[_0x187a90,_0x338413];return window[_0x4f4123([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f4123([0x72,0x61,0x63,0x65])](_0x6832ae)[_0x4f4123([0x74,0x68,0x65,0x6e])](()=>_0x273d89);}(_0x4f4123([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x3cd479&&_0x156801)return new window[(_0x4f4123([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cdc8a,_0x58ae09)=>{_0x3cd479[_0x4f4123([0x74,0x68,0x65,0x6e])](_0x2cdc8a,_0x58ae09),_0x156801[_0x4f4123([0x74,0x68,0x65,0x6e])](_0x1cbe08=>{_0x1cbe08!=_0x4f4123([0x56,0x61,0x6c,0x69,0x64])&&_0x2cdc8a(_0x1cbe08);},_0x58ae09);});return _0x3cd479||_0x156801||_0x4f4123([0x56,0x61,0x6c,0x69,0x64]);}())):_0x4f4123([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f4123([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f4123([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4f4123([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x6c1b6e(_0xb1f15d){return _0xb1f15d[_0x4f4123([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f4123([0x65,0x79]))?JSON[_0x4f4123([0x70,0x61,0x72,0x73,0x65])](_0x411dbb(_0xb1f15d)):null;}function _0x411dbb(_0x44f3f4){return window[_0x4f4123([0x61,0x74,0x6f,0x62])](_0x44f3f4[_0x4f4123([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f4123([0x2b]))[_0x4f4123([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f4123([0x2f])));}function _0xf7b5ab(_0x5796d0){let _0x10d60f=0x1505;function _0x125ba0(_0x448c98){for(let _0x3ec183=0x0;_0x3ec183<_0x448c98[_0x4f4123([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ec183++){const _0x5b6e27=_0x448c98[_0x4f4123([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ec183);_0x10d60f=(_0x10d60f<<0x5)+_0x10d60f+_0x5b6e27,_0x10d60f&=_0x10d60f;}}return function _0x2c8ae3(_0x2a27db){Array[_0x4f4123([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2a27db)?_0x2a27db[_0x4f4123([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c8ae3):_0x2a27db&&typeof _0x2a27db==_0x4f4123([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f4123([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2a27db)[_0x4f4123([0x73,0x6f,0x72,0x74])]()[_0x4f4123([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2ecde0,_0x589045])=>{_0x125ba0(_0x2ecde0),_0x2c8ae3(_0x589045);}):_0x125ba0(window[_0x4f4123([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2a27db));}(_0x5796d0),_0x10d60f>>>0x0;}function _0x2a84d7(_0x2b1a89){return _0x2b1a89[_0x4f4123([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f4123([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f4123([0x30]));}function _0x267eb4(_0x50d936){return _0x50d936[_0x4f4123([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f4123([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f4123([0x6a,0x6f,0x69,0x6e])]('');}function _0xeb6a5(){}function _0x4f4123(_0x164d1f){return _0x164d1f['map'](_0x44f224=>String['fromCharCode'](_0x44f224))['join']('');}!function(_0x13724d){const _0x45a3a2=(function(){const _0x123768=window[_0x4f4123([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f4123([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f4123([0x6e,0x6f,0x77])]())[_0x4f4123([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f4123([0x2e]),'');let _0x54f1a1=_0x4f4123([0x68]);for(let _0x4673c5=0x0;_0x4673c5<_0x123768[_0x4f4123([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4673c5+=0x2){let _0x3facab=window[_0x4f4123([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x123768[_0x4f4123([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4673c5,_0x4673c5+0x2));_0x3facab>=_0x4b5262[_0x4f4123([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3facab-=_0x4b5262[_0x4f4123([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x54f1a1+=_0x4b5262[_0x3facab];}return _0x54f1a1;}());_0x4895bd[_0x45a3a2]=_0x4f4123([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x13724d,_0x13724d!=_0x4f4123([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x49c23c,_0x4895bd[_0x4f4123([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f4123([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xeb6a5,_0x4895bd[_0x4f4123([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f4123([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xeb6a5,_0x4895bd[_0x4f4123([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f4123([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x315e2b);}var _0xe87279=Object['defineProperty'],_0x2986e9=(_0x1dbb9a,_0x550c45,_0x437d6e)=>_0x550c45 in _0x1dbb9a?_0xe87279(_0x1dbb9a,_0x550c45,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x437d6e}):_0x1dbb9a[_0x550c45]=_0x437d6e,_0x5ce2e4=(_0x31d162,_0xff6945,_0xcbb94c)=>(_0x2986e9(_0x31d162,'symbol'!=typeof _0xff6945?_0xff6945+'':_0xff6945,_0xcbb94c),_0xcbb94c);function _0x21d1dc(_0x22ba9f){let _0xc08da2=_0x28d8a9=>{var _0x1fa1d3;for(let _0x189fa0 in _0x28d8a9)(null==(_0x1fa1d3=_0x28d8a9[_0x189fa0])?void 0x0:_0x1fa1d3['constructor'])===Object&&(_0x28d8a9[_0x189fa0]=_0xc08da2(_0x28d8a9[_0x189fa0]));return{..._0x28d8a9};};return _0xc08da2(_0x22ba9f);}var Data=class{constructor(_0xae33d0){_0xae33d0['constructor']===Object?this['store']=_0x21d1dc(_0xae33d0):(this['_storeIsProxy']=!0x0,this['store']=_0xae33d0),this['callbackMap']=Object['create'](null);}static['warn'](_0x2c4181,_0x1a9087){console['warn']('Symbiote\x20Data:\x20cannot\x20'+_0x2c4181+'.\x20Prop\x20name:\x20'+_0x1a9087);}['read'](_0x2e90ae){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x2e90ae)?this['store'][_0x2e90ae]:(Data['warn']('read',_0x2e90ae),null);}['has'](_0x3c6542){return this['_storeIsProxy']?void 0x0!==this['store'][_0x3c6542]:this['store']['hasOwnProperty'](_0x3c6542);}['add'](_0x1ab3f6,_0x6252a7,_0x35e2aa=!0x1){!_0x35e2aa&&Object['keys'](this['store'])['includes'](_0x1ab3f6)||(this['store'][_0x1ab3f6]=_0x6252a7,this['notify'](_0x1ab3f6));}['pub'](_0x1ddea8,_0x2bb57b){this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x1ddea8)?(this['store'][_0x1ddea8]=_0x2bb57b,this['notify'](_0x1ddea8)):Data['warn']('publish',_0x1ddea8);}['multiPub'](_0x5150b8){for(let _0x5e0044 in _0x5150b8)this['pub'](_0x5e0044,_0x5150b8[_0x5e0044]);}['notify'](_0x30ad77){this['callbackMap'][_0x30ad77]&&this['callbackMap'][_0x30ad77]['forEach'](_0x4d4b58=>{_0x4d4b58(this['store'][_0x30ad77]);});}['sub'](_0x5dfee6,_0x73e6be,_0x44e1ea=!0x0){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x5dfee6)?(this['callbackMap'][_0x5dfee6]||(this['callbackMap'][_0x5dfee6]=new Set()),this['callbackMap'][_0x5dfee6]['add'](_0x73e6be),_0x44e1ea&&_0x73e6be(this['store'][_0x5dfee6]),{'remove':()=>{this['callbackMap'][_0x5dfee6]['delete'](_0x73e6be),this['callbackMap'][_0x5dfee6]['size']||delete this['callbackMap'][_0x5dfee6];},'callback':_0x73e6be}):(Data['warn']('subscribe',_0x5dfee6),null);}static['registerCtx'](_0x28df96,_0x4feac8=Symbol()){let _0x425b71=Data['globalStore']['get'](_0x4feac8);return _0x425b71?console['warn']('State:\x20context\x20UID\x20\x22'+_0x4feac8+'\x22\x20already\x20in\x20use'):(_0x425b71=new Data(_0x28df96),Data['globalStore']['set'](_0x4feac8,_0x425b71)),_0x425b71;}static['deleteCtx'](_0x42100c){Data['globalStore']['delete'](_0x42100c);}static['getCtx'](_0x47d94d,_0x282684=!0x0){return Data['globalStore']['get'](_0x47d94d)||(_0x282684&&console['warn']('State:\x20wrong\x20context\x20UID\x20-\x20\x22'+_0x47d94d+'\x22'),null);}};Data['globalStore']=new Map();var _0x2c195a=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'}),_0x17f700='1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm',_0x44a488=_0x17f700['length']-0x1,_0x57c512=class{static['generate'](_0x44b470='XXXXXXXXX-XXX'){let _0x2897d5='';for(let _0x5324c9=0x0;_0x5324c9<_0x44b470['length'];_0x5324c9++)_0x2897d5+='-'===_0x44b470[_0x5324c9]?_0x44b470[_0x5324c9]:_0x17f700['charAt'](Math['random']()*_0x44a488);return _0x2897d5;}};function setNestedProp(_0x3a0673,_0x5e1566,_0x248b33){let _0x3239ec,_0x1534fe=!0x0,_0x19789c=_0x5e1566['split']('.');return _0x19789c['forEach']((_0x5ca9aa,_0x114f2a)=>{_0x114f2a<_0x19789c['length']-0x1?_0x3a0673=_0x3a0673[_0x5ca9aa]:_0x3239ec=_0x5ca9aa;}),_0x3a0673?_0x3a0673[_0x3239ec]=_0x248b33:_0x1534fe=!0x1,_0x1534fe;}function _0x473b25(_0xc52308){return _0xc52308['split']('-')['map']((_0x3aa8f0,_0x387a76)=>_0x3aa8f0&&_0x387a76?_0x3aa8f0[0x0]['toUpperCase']()+_0x3aa8f0['slice'](0x1):_0x3aa8f0)['join']('')['split']('_')['map']((_0x5d639c,_0x4b42bd)=>_0x5d639c&&_0x4b42bd?_0x5d639c['toUpperCase']():_0x5d639c)['join']('');}function repeatProcessor(_0x280d00,_0x82c177){[..._0x280d00['querySelectorAll']('['+_0x2c195a['REPEAT_ATTR']+']')]['forEach'](_0x14ce18=>{let _0x2b59d4,_0xf733=_0x14ce18['getAttribute'](_0x2c195a['REPEAT_ITEM_TAG_ATTR']);if(_0xf733&&(_0x2b59d4=window['customElements']['get'](_0xf733)),!_0x2b59d4){_0x2b59d4=class extends _0x82c177['BaseComponent']{constructor(){super(),_0xf733||(this['style']['display']='contents');}};let _0x13f5cf=_0x14ce18['innerHTML'];_0x2b59d4['template']=_0x13f5cf,_0x2b59d4['reg'](_0xf733);}for(;_0x14ce18['firstChild'];)_0x14ce18['firstChild']['remove']();let _0x3877c8=_0x14ce18['getAttribute'](_0x2c195a['REPEAT_ATTR']);_0x82c177['sub'](_0x3877c8,_0x1acf42=>{if(!_0x1acf42){for(;_0x14ce18['firstChild'];)_0x14ce18['firstChild']['remove']();return;}let _0x5aacfa,_0xb45e8=[..._0x14ce18['children']],_0x506e84=_0x4e5b06=>{_0x4e5b06['forEach']((_0x26a40a,_0x4beb71)=>{if(_0xb45e8[_0x4beb71]){if(_0xb45e8[_0x4beb71]['set$'])setTimeout(()=>{_0xb45e8[_0x4beb71]['set$'](_0x26a40a);});else{for(let _0x598284 in _0x26a40a)_0xb45e8[_0x4beb71][_0x598284]=_0x26a40a[_0x598284];}}else{_0x5aacfa||(_0x5aacfa=new DocumentFragment());let _0x48ff4f=new _0x2b59d4();Object['assign'](_0x48ff4f['init$'],_0x26a40a),_0x5aacfa['appendChild'](_0x48ff4f);}}),_0x5aacfa&&_0x14ce18['appendChild'](_0x5aacfa);let _0x448e5c=_0xb45e8['slice'](_0x4e5b06['length'],_0xb45e8['length']);for(let _0x148674 of _0x448e5c)_0x148674['remove']();};if(_0x1acf42['constructor']===Array)_0x506e84(_0x1acf42);else{if(_0x1acf42['constructor']===Object){let _0x269c38=[];for(let _0x12ef67 in _0x1acf42){let _0x278d5c=_0x1acf42[_0x12ef67];Object['defineProperty'](_0x278d5c,'_KEY_',{'value':_0x12ef67,'enumerable':!0x0}),_0x269c38['push'](_0x278d5c);}_0x506e84(_0x269c38);}else console['warn']('Symbiote\x20repeat\x20data\x20type\x20error:'),console['log'](_0x1acf42);}}),_0x14ce18['removeAttribute'](_0x2c195a['REPEAT_ATTR']),_0x14ce18['removeAttribute'](_0x2c195a['REPEAT_ITEM_TAG_ATTR']);});}var _0x4b25da='__default__';function slotProcessor(_0x202015,_0x3cda88){if(_0x3cda88['shadowRoot'])return;let _0x38ada3=[..._0x202015['querySelectorAll']('slot')];if(!_0x38ada3['length'])return;let _0x15c4f4={};_0x38ada3['forEach'](_0x379966=>{let _0x204ab2=_0x379966['getAttribute']('name')||_0x4b25da;_0x15c4f4[_0x204ab2]={'slot':_0x379966,'fr':document['createDocumentFragment']()};}),_0x3cda88['initChildren']['forEach'](_0x55322e=>{var _0x115f03;let _0x66c0c8=_0x4b25da;_0x55322e instanceof Element&&_0x55322e['hasAttribute']('slot')&&(_0x66c0c8=_0x55322e['getAttribute']('slot'),_0x55322e['removeAttribute']('slot')),null==(_0x115f03=_0x15c4f4[_0x66c0c8])||_0x115f03['fr']['appendChild'](_0x55322e);}),Object['values'](_0x15c4f4)['forEach'](_0x53cf0c=>{if(_0x53cf0c['fr']['childNodes']['length'])_0x53cf0c['slot']['parentNode']['replaceChild'](_0x53cf0c['fr'],_0x53cf0c['slot']);else{if(_0x53cf0c['slot']['childNodes']['length']){let _0x98909a=document['createDocumentFragment']();_0x98909a['append'](..._0x53cf0c['slot']['childNodes']),_0x53cf0c['slot']['parentNode']['replaceChild'](_0x98909a,_0x53cf0c['slot']);}else _0x53cf0c['slot']['remove']();}});}function _0x3538d7(_0x1896d3,_0x2205a5){[..._0x1896d3['querySelectorAll']('['+_0x2c195a['EL_REF_ATTR']+']')]['forEach'](_0x331910=>{let _0x3096f6=_0x331910['getAttribute'](_0x2c195a['EL_REF_ATTR']);_0x2205a5['ref'][_0x3096f6]=_0x331910,_0x331910['removeAttribute'](_0x2c195a['EL_REF_ATTR']);});}function domSetProcessor(_0x41287e,_0x5d023b){[..._0x41287e['querySelectorAll']('['+_0x2c195a['BIND_ATTR']+']')]['forEach'](_0x4bf313=>{let _0x5cde2c=_0x4bf313['getAttribute'](_0x2c195a['BIND_ATTR'])['split'](';');[..._0x4bf313['attributes']]['forEach'](_0x27d308=>{if(_0x27d308['name']['startsWith']('-')&&_0x27d308['value']){let _0x303119=_0x473b25(_0x27d308['name']['replace']('-',''));_0x5cde2c['push'](_0x303119+':'+_0x27d308['value']),_0x4bf313['removeAttribute'](_0x27d308['name']);}}),_0x5cde2c['forEach'](_0x25efbe=>{if(!_0x25efbe)return;let _0x41e1bb,_0x4ed0f3=_0x25efbe['split'](':')['map'](_0x457a77=>_0x457a77['trim']()),_0x31789a=_0x4ed0f3[0x0];0x0===_0x31789a['indexOf'](_0x2c195a['ATTR_BIND_PRFX'])&&(_0x41e1bb=!0x0,_0x31789a=_0x31789a['replace'](_0x2c195a['ATTR_BIND_PRFX'],''));let _0x9e58ed=_0x4ed0f3[0x1]['split'](',')['map'](_0x5a85dd=>_0x5a85dd['trim']());for(let _0x25888f of _0x9e58ed){let _0x585118;_0x25888f['startsWith']('!!')?(_0x585118='double',_0x25888f=_0x25888f['replace']('!!','')):_0x25888f['startsWith']('!')&&(_0x585118='single',_0x25888f=_0x25888f['replace']('!','')),_0x5d023b['sub'](_0x25888f,_0x1a7171=>{'double'===_0x585118?_0x1a7171=!!_0x1a7171:'single'===_0x585118&&(_0x1a7171=!_0x1a7171),_0x41e1bb?(null==_0x1a7171?void 0x0:_0x1a7171['constructor'])===Boolean?_0x1a7171?_0x4bf313['setAttribute'](_0x31789a,''):_0x4bf313['removeAttribute'](_0x31789a):_0x4bf313['setAttribute'](_0x31789a,_0x1a7171):setNestedProp(_0x4bf313,_0x31789a,_0x1a7171)||(_0x4bf313[_0x2c195a['SET_LATER_KEY']]||(_0x4bf313[_0x2c195a['SET_LATER_KEY']]=Object['create'](null)),_0x4bf313[_0x2c195a['SET_LATER_KEY']][_0x31789a]=_0x1a7171);});}}),_0x4bf313['removeAttribute'](_0x2c195a['BIND_ATTR']);});}var _0x272a35='{{',_0x26e03c='}}',_0x124188='skip-text';function getTextNodesWithTokens(_0x216fb0){let _0x4530ff,_0x52e44f=[],_0x24f8c0=document['createTreeWalker'](_0x216fb0,NodeFilter['SHOW_TEXT'],{'acceptNode':_0x4d7de0=>{var _0x5e85fa;return!(null==(_0x5e85fa=_0x4d7de0['parentElement'])?void 0x0:_0x5e85fa['hasAttribute'](_0x124188))&&_0x4d7de0['textContent']['includes'](_0x272a35)&&_0x4d7de0['textContent']['includes'](_0x26e03c)&&0x1;}});for(;_0x4530ff=_0x24f8c0['nextNode']();)_0x52e44f['push'](_0x4530ff);return _0x52e44f;}var txtNodesProcessor=function(_0x49713d,_0x33dbae){getTextNodesWithTokens(_0x49713d)['forEach'](_0x1441de=>{let _0x1a0fbc,_0x3ab22f=[];for(;_0x1441de['textContent']['includes'](_0x26e03c);)_0x1441de['textContent']['startsWith'](_0x272a35)?(_0x1a0fbc=_0x1441de['textContent']['indexOf'](_0x26e03c)+_0x26e03c['length'],_0x1441de['splitText'](_0x1a0fbc),_0x3ab22f['push'](_0x1441de)):(_0x1a0fbc=_0x1441de['textContent']['indexOf'](_0x272a35),_0x1441de['splitText'](_0x1a0fbc)),_0x1441de=_0x1441de['nextSibling'];_0x3ab22f['forEach'](_0x49f128=>{let _0x1a2394=_0x49f128['textContent']['replace'](_0x272a35,'')['replace'](_0x26e03c,'');_0x49f128['textContent']='',_0x33dbae['sub'](_0x1a2394,_0x4938c3=>{_0x49f128['textContent']=_0x4938c3;});});});},tpl_processors_default=[repeatProcessor,slotProcessor,_0x3538d7,domSetProcessor,txtNodesProcessor],_0x2f08bb='\x27',_0x3bf1a5='\x22',_0x1e05a1=/\\([0-9a-fA-F]{1,6} ?)/g;function hasLeadingTrailingQuotes(_0x51cd16){return!(_0x51cd16[0x0]!==_0x3bf1a5&&_0x51cd16[0x0]!==_0x2f08bb||_0x51cd16[_0x51cd16['length']-0x1]!==_0x3bf1a5&&_0x51cd16[_0x51cd16['length']-0x1]!==_0x2f08bb);}function trimQuotes(_0x9d62f1){return _0x9d62f1[0x0]!==_0x3bf1a5&&_0x9d62f1[0x0]!==_0x2f08bb||(_0x9d62f1=_0x9d62f1['slice'](0x1)),_0x9d62f1[_0x9d62f1['length']-0x1]!==_0x3bf1a5&&_0x9d62f1[_0x9d62f1['length']-0x1]!==_0x2f08bb||(_0x9d62f1=_0x9d62f1['slice'](0x0,-0x1)),_0x9d62f1;}function escapeQuotes(_0x5b8d2b){let _0x328902='',_0x99bda8='';for(var _0x1f29d3=0x0;_0x1f29d3<_0x5b8d2b['length'];_0x1f29d3++){const _0x3a1c73=_0x5b8d2b[_0x1f29d3+0x1];'\x5c'===_0x5b8d2b[_0x1f29d3]&&'\x22'===_0x3a1c73?(_0x328902+='\x5c\x22',_0x1f29d3++):'\x22'===_0x5b8d2b[_0x1f29d3]&&'\x5c'!==_0x99bda8?_0x328902+='\x5c\x22':_0x328902+=_0x5b8d2b[_0x1f29d3],_0x99bda8=_0x5b8d2b[_0x1f29d3];}return _0x328902;}function parseCssPropertyValue(_0x34328e){let _0x4d2607=_0x34328e;hasLeadingTrailingQuotes(_0x34328e)&&(_0x4d2607=trimQuotes(_0x4d2607),_0x4d2607=_0x4d2607['replace'](_0x1e05a1,(_0x4fa179,_0x52b52a)=>String['fromCodePoint'](parseInt(_0x52b52a['trim'](),0x10))),_0x4d2607=_0x4d2607['replaceAll']('\x5c\x0a','\x5cn'),_0x4d2607=escapeQuotes(_0x4d2607),_0x4d2607=_0x3bf1a5+_0x4d2607+_0x3bf1a5);try{return JSON['parse'](_0x4d2607);}catch(_0xe8fedc){throw new Error('Failed\x20to\x20parse\x20CSS\x20property\x20value:\x20'+_0x4d2607+'.\x20Original\x20input:\x20'+_0x34328e);}}var autoTagsCount=0x0,styleMutationObserver=null,styleMutationObserverCbList=null,_BaseComponent=class extends HTMLElement{constructor(){super(),_0x5ce2e4(this,'updateCssData',()=>{var _0x1ba4cd;this['dropCssDataCache'](),null==(_0x1ba4cd=this['__boundCssProps'])||_0x1ba4cd['forEach'](_0xe14988=>{let _0xbc6422=this['getCssData'](this['__extractCssName'](_0xe14988),!0x0);null!==_0xbc6422&&this['$'][_0xe14988]!==_0xbc6422&&(this['$'][_0xe14988]=_0xbc6422);});}),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 _0x474677;this['__initialized']||(this['__initialized']=!0x0,null==(_0x474677=this['initCallback'])||_0x474677['call'](this));}['render'](_0x4d363d,_0x16641d=this['renderShadow']){let _0x8388eb;if(!_0x16641d&&!this['constructor']['__shadowStylesUrl']||this['shadowRoot']||this['attachShadow']({'mode':'open'}),this['allowCustomTemplate']){let _0x33e40b=this['getAttribute'](_0x2c195a['USE_TPL']);if(_0x33e40b){let _0x3093c0=this['getRootNode'](),_0x175ef8=(null==_0x3093c0?void 0x0:_0x3093c0['querySelector'](_0x33e40b))||document['querySelector'](_0x33e40b);_0x175ef8?_0x4d363d=_0x175ef8['content']['cloneNode'](!0x0):console['warn']('Symbiote\x20template\x20\x22'+_0x33e40b+'\x22\x20is\x20not\x20found...');}}if(this['processInnerHtml']){for(let _0x894ac2 of this['tplProcessors'])_0x894ac2(this,this);}if(_0x4d363d||this['constructor']['template']){if(this['constructor']['template']&&!this['constructor']['__tpl']&&(this['constructor']['__tpl']=document['createElement']('template'),this['constructor']['__tpl']['innerHTML']=this['constructor']['template']),(null==_0x4d363d?void 0x0:_0x4d363d['constructor'])===DocumentFragment)_0x8388eb=_0x4d363d;else{if((null==_0x4d363d?void 0x0:_0x4d363d['constructor'])===String){let _0x300707=document['createElement']('template');_0x300707['innerHTML']=_0x4d363d,_0x8388eb=_0x300707['content']['cloneNode'](!0x0);}else this['constructor']['__tpl']&&(_0x8388eb=this['constructor']['__tpl']['content']['cloneNode'](!0x0));}for(let _0x353953 of this['tplProcessors'])_0x353953(_0x8388eb,this);}let _0x2d9f26=()=>{_0x8388eb&&(_0x16641d&&this['shadowRoot']['appendChild'](_0x8388eb)||this['appendChild'](_0x8388eb)),this['__initCallback']();};if(this['constructor']['__shadowStylesUrl']){_0x16641d=!0x0;let _0x1f0af3=document['createElement']('link');_0x1f0af3['rel']='stylesheet',_0x1f0af3['href']=this['constructor']['__shadowStylesUrl'],_0x1f0af3['onload']=_0x2d9f26,this['shadowRoot']['prepend'](_0x1f0af3);}else _0x2d9f26();}['addTemplateProcessor'](_0x32be2a){this['tplProcessors']['add'](_0x32be2a);}get['autoCtxName'](){return this['__autoCtxName']||(this['__autoCtxName']=_0x57c512['generate'](),this['style']['setProperty'](_0x2c195a['CSS_CTX_PROP'],'\x27'+this['__autoCtxName']+'\x27')),this['__autoCtxName'];}get['cssCtxName'](){return this['getCssData'](_0x2c195a['CSS_CTX_PROP'],!0x0);}get['ctxName'](){var _0x136a0e;let _0x242bc8=(null==(_0x136a0e=this['getAttribute'](_0x2c195a['CTX_NAME_ATTR']))?void 0x0:_0x136a0e['trim']())||this['cssCtxName']||this['__cachedCtxName']||this['autoCtxName'];return this['__cachedCtxName']=_0x242bc8,_0x242bc8;}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'](_0x1af4e9,_0x1b184c){let _0x52e305,_0x3a48e4;if(_0x1af4e9['startsWith'](_0x2c195a['EXT_DATA_CTX_PRFX']))_0x52e305=_0x1b184c['nodeCtx'],_0x3a48e4=_0x1af4e9['replace'](_0x2c195a['EXT_DATA_CTX_PRFX'],'');else{if(_0x1af4e9['includes'](_0x2c195a['NAMED_DATA_CTX_SPLTR'])){let _0xf37a9b=_0x1af4e9['split'](_0x2c195a['NAMED_DATA_CTX_SPLTR']);_0x52e305=Data['getCtx'](_0xf37a9b[0x0]),_0x3a48e4=_0xf37a9b[0x1];}else _0x52e305=_0x1b184c['localCtx'],_0x3a48e4=_0x1af4e9;}return{'ctx':_0x52e305,'name':_0x3a48e4};}['sub'](_0x4b296f,_0x9294ee,_0x51e8ad=!0x0){let _0x145340=_0x2fc6be=>{this['isConnected']&&_0x9294ee(_0x2fc6be);},_0x39773e=_BaseComponent['__parseProp'](_0x4b296f,this);_0x39773e['ctx']['has'](_0x39773e['name'])?this['allSubs']['add'](_0x39773e['ctx']['sub'](_0x39773e['name'],_0x145340,_0x51e8ad)):window['setTimeout'](()=>{this['allSubs']['add'](_0x39773e['ctx']['sub'](_0x39773e['name'],_0x145340,_0x51e8ad));});}['notify'](_0x21e8f8){let _0x5ca785=_BaseComponent['__parseProp'](_0x21e8f8,this);_0x5ca785['ctx']['notify'](_0x5ca785['name']);}['has'](_0x5eaa5e){let _0x37f44c=_BaseComponent['__parseProp'](_0x5eaa5e,this);return _0x37f44c['ctx']['has'](_0x37f44c['name']);}['add'](_0x389e8f,_0x124c26,_0x3257a4=!0x1){let _0x27d7a6=_BaseComponent['__parseProp'](_0x389e8f,this);_0x27d7a6['ctx']['add'](_0x27d7a6['name'],_0x124c26,_0x3257a4);}['add$'](_0x486a3,_0x2fbe9c=!0x1){for(let _0x211f4e in _0x486a3)this['add'](_0x211f4e,_0x486a3[_0x211f4e],_0x2fbe9c);}get['$'](){if(!this['__stateProxy']){let _0x52537c=Object['create'](null);this['__stateProxy']=new Proxy(_0x52537c,{'set':(_0x112fd4,_0x1162fd,_0x1b5d7b)=>{let _0x306af2=_BaseComponent['__parseProp'](_0x1162fd,this);return _0x306af2['ctx']['pub'](_0x306af2['name'],_0x1b5d7b),!0x0;},'get':(_0x354f19,_0xe84af4)=>{let _0x1a9ead=_BaseComponent['__parseProp'](_0xe84af4,this);return _0x1a9ead['ctx']['read'](_0x1a9ead['name']);}});}return this['__stateProxy'];}['set$'](_0x511e6a,_0x242f0b=!0x1){for(let _0x3a22ef in _0x511e6a){let _0x575859=_0x511e6a[_0x3a22ef],_0x1325af=[String,Number,Boolean];(_0x242f0b||!_0x1325af['includes'](null==_0x575859?void 0x0:_0x575859['constructor'])||this['$'][_0x3a22ef]!==_0x575859)&&(this['$'][_0x3a22ef]=_0x575859);}}get['__ctxOwner'](){return this['ctxOwner']||this['hasAttribute'](_0x2c195a['CTX_OWNER_ATTR'])&&'false'!==this['getAttribute'](_0x2c195a['CTX_OWNER_ATTR']);}['__initDataCtx'](){let _0x967a9c=this['constructor']['__attrDesc'];if(_0x967a9c){for(let _0x146962 of Object['values'](_0x967a9c))Object['keys'](this['init$'])['includes'](_0x146962)||(this['init$'][_0x146962]='');}for(let _0x186c94 in this['init$'])if(_0x186c94['startsWith'](_0x2c195a['EXT_DATA_CTX_PRFX']))this['nodeCtx']['add'](_0x186c94['replace'](_0x2c195a['EXT_DATA_CTX_PRFX'],''),this['init$'][_0x186c94],this['__ctxOwner']);else{if(_0x186c94['includes'](_0x2c195a['NAMED_DATA_CTX_SPLTR'])){let _0x4384c5=_0x186c94['split'](_0x2c195a['NAMED_DATA_CTX_SPLTR']),_0x14f956=_0x4384c5[0x0]['trim'](),_0x2d9c85=_0x4384c5[0x1]['trim']();if(_0x14f956&&_0x2d9c85){let _0x5790c8=Data['getCtx'](_0x14f956,!0x1);_0x5790c8||(_0x5790c8=Data['registerCtx']({},_0x14f956)),_0x5790c8['add'](_0x2d9c85,this['init$'][_0x186c94]);}}else this['localCtx']['add'](_0x186c94,this['init$'][_0x186c94]);}for(let _0x56f619 in this['cssInit$'])this['bindCssData'](_0x56f619,this['cssInit$'][_0x56f619]);this['__dataCtxInitialized']=!0x0;}['connectedCallback'](){var _0x49215d;if(this['isConnected']){if(this['__disconnectTimeout']&&window['clearTimeout'](this['__disconnectTimeout']),!this['connectedOnce']){let _0x2863a5=null==(_0x49215d=this['getAttribute'](_0x2c195a['CTX_NAME_ATTR']))?void 0x0:_0x49215d['trim']();if(_0x2863a5&&this['style']['setProperty'](_0x2c195a['CSS_CTX_PROP'],'\x27'+_0x2863a5+'\x27'),this['__initDataCtx'](),this[_0x2c195a['SET_LATER_KEY']]){for(let _0x21433e in this[_0x2c195a['SET_LATER_KEY']])setNestedProp(this,_0x21433e,this[_0x2c195a['SET_LATER_KEY']][_0x21433e]);delete this[_0x2c195a['SET_LATER_KEY']];}this['initChildren']=[...this['childNodes']];for(let _0x38a2bd of tpl_processors_default)this['addTemplateProcessor'](_0x38a2bd);if(this['pauseRender'])this['__initCallback']();else{if(this['constructor']['__rootStylesLink']){let _0xe40bb4=this['getRootNode']();if(!_0xe40bb4)return;if(null==_0xe40bb4?void 0x0:_0xe40bb4['querySelector']('link['+_0x2c195a['ROOT_STYLE_ATTR_NAME']+'=\x22'+this['constructor']['is']+'\x22]'))return void this['render']();let _0x584cc2=this['constructor']['__rootStylesLink']['cloneNode'](!0x0);_0x584cc2['setAttribute'](_0x2c195a['ROOT_STYLE_ATTR_NAME'],this['constructor']['is']),_0x584cc2['onload']=()=>{this['render']();},_0xe40bb4['nodeType']===Node['DOCUMENT_NODE']?_0xe40bb4['head']['appendChild'](_0x584cc2):_0xe40bb4['prepend'](_0x584cc2);}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 _0x89c629 of this['allSubs'])_0x89c629['remove'](),this['allSubs']['delete'](_0x89c629);for(let _0x4602d0 of this['tplProcessors'])this['tplProcessors']['delete'](_0x4602d0);null==styleMutationObserverCbList||styleMutationObserverCbList['delete'](this['updateCssData']),(null==styleMutationObserverCbList?void 0x0:styleMutationObserverCbList['size'])||(null==styleMutationObserver||styleMutationObserver['disconnect'](),styleMutationObserver=null,styleMutationObserverCbList=null);},0x64)));}static['reg'](_0xa9e2a9,_0xc61d6d=!0x1){_0xa9e2a9||(autoTagsCount++,_0xa9e2a9=_0x2c195a['AUTO_TAG_PRFX']+'-'+autoTagsCount),this['__tag']=_0xa9e2a9;let _0x1bbdcc=window['customElements']['get'](_0xa9e2a9);_0x1bbdcc?_0xc61d6d||_0x1bbdcc===this||console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0xa9e2a9+'\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'](_0xa9e2a9,_0xc61d6d?class extends this{}:this);}static get['is'](){return this['__tag']||this['reg'](),this['__tag'];}static['bindAttributes'](_0x5f016c){this['observedAttributes']=Object['keys'](_0x5f016c),this['__attrDesc']=_0x5f016c;}['attributeChangedCallback'](_0x2b1a50,_0xb3fa1e,_0x2c5e53){var _0x22d2e5;if(_0xb3fa1e===_0x2c5e53)return;let _0x161290=null==(_0x22d2e5=this['constructor']['__attrDesc'])?void 0x0:_0x22d2e5[_0x2b1a50];_0x161290?this['__dataCtxInitialized']?this['$'][_0x161290]=_0x2c5e53:this['init$'][_0x161290]=_0x2c5e53:this[_0x2b1a50]=_0x2c5e53;}['getCssData'](_0x41bad3,_0x2ed65d=!0x1){if(this['__cssDataCache']||(this['__cssDataCache']=Object['create'](null)),!Object['keys'](this['__cssDataCache'])['includes'](_0x41bad3)){this['__computedStyle']||(this['__computedStyle']=window['getComputedStyle'](this));let _0x2bc5bb=this['__computedStyle']['getPropertyValue'](_0x41bad3)['trim']();try{this['__cssDataCache'][_0x41bad3]=parseCssPropertyValue(_0x2bc5bb);}catch(_0x4a4441){!_0x2ed65d&&console['warn']('CSS\x20Data\x20error:\x20'+_0x41bad3),this['__cssDataCache'][_0x41bad3]=null;}}return this['__cssDataCache'][_0x41bad3];}['__extractCssName'](_0x289e2a){return _0x289e2a['split']('--')['map']((_0xf669f9,_0x21184a)=>0x0===_0x21184a?'':_0xf669f9)['join']('--');}['__initStyleAttrObserver'](){styleMutationObserverCbList||(styleMutationObserverCbList=new Set()),styleMutationObserverCbList['add'](this['updateCssData']),styleMutationObserver||(styleMutationObserver=new MutationObserver(_0x1c016c=>{'attributes'===_0x1c016c[0x0]['type']&&styleMutationObserverCbList['forEach'](_0x546df1=>{_0x546df1();});}))['observe'](document,{'childList':!0x0,'subtree':!0x0,'attributes':!0x0,'attributeFilter':['style']});}['bindCssData'](_0x355c35,_0x101f98=''){this['__boundCssProps']||(this['__boundCssProps']=new Set()),this['__boundCssProps']['add'](_0x355c35);let _0x7d6dc4=this['getCssData'](this['__extractCssName'](_0x355c35),!0x0);null===_0x7d6dc4&&(_0x7d6dc4=_0x101f98),this['add'](_0x355c35,_0x7d6dc4),this['__initStyleAttrObserver']();}['dropCssDataCache'](){this['__cssDataCache']=null,this['__computedStyle']=null;}['defineAccessor'](_0xa0d9e,_0x6a8ea3,_0x58c233){let _0x2f7be5='__'+_0xa0d9e;this[_0x2f7be5]=this[_0xa0d9e],Object['defineProperty'](this,_0xa0d9e,{'set':_0x49e922=>{this[_0x2f7be5]=_0x49e922,_0x58c233?window['setTimeout'](()=>{null==_0x6a8ea3||_0x6a8ea3(_0x49e922);}):null==_0x6a8ea3||_0x6a8ea3(_0x49e922);},'get':()=>this[_0x2f7be5]}),this[_0xa0d9e]=this[_0x2f7be5];}static set['shadowStyles'](_0x6c6884){let _0x5b622e=new Blob([_0x6c6884],{'type':'text/css'});this['__shadowStylesUrl']=URL['createObjectURL'](_0x5b622e);}static set['rootStyles'](_0x22f619){if(!this['__rootStylesLink']){let _0x2fe198=new Blob([_0x22f619],{'type':'text/css'}),_0x126508=URL['createObjectURL'](_0x2fe198),_0x3972ae=document['createElement']('link');_0x3972ae['href']=_0x126508,_0x3972ae['rel']='stylesheet',this['__rootStylesLink']=_0x3972ae;}}},BaseComponent=_BaseComponent;function applyStyles(_0x19df1e,_0x4362cf){for(let _0x511781 in _0x4362cf)_0x511781['includes']('-')?_0x19df1e['style']['setProperty'](_0x511781,_0x4362cf[_0x511781]):_0x19df1e['style'][_0x511781]=_0x4362cf[_0x511781];}function applyAttributes(_0x14ed72,_0x123991){for(let _0x448ff8 in _0x123991)_0x123991[_0x448ff8]['constructor']===Boolean?_0x123991[_0x448ff8]?_0x14ed72['setAttribute'](_0x448ff8,''):_0x14ed72['removeAttribute'](_0x448ff8):_0x14ed72['setAttribute'](_0x448ff8,_0x123991[_0x448ff8]);}function create(_0x3bf6ed={'tag':'div'}){let _0x199b97=document['createElement'](_0x3bf6ed['tag']);if(_0x3bf6ed['attributes']&&applyAttributes(_0x199b97,_0x3bf6ed['attributes']),_0x3bf6ed['styles']&&applyStyles(_0x199b97,_0x3bf6ed['styles']),_0x3bf6ed['properties']){for(let _0x199a6f in _0x3bf6ed['properties'])_0x199b97[_0x199a6f]=_0x3bf6ed['properties'][_0x199a6f];}return _0x3bf6ed['processors']&&_0x3bf6ed['processors']['forEach'](_0x125e71=>{_0x125e71(_0x199b97);}),_0x3bf6ed['children']&&_0x3bf6ed['children']['forEach'](_0x29897a=>{let _0x3eb38c=create(_0x29897a);_0x199b97['appendChild'](_0x3eb38c);}),_0x199b97;}_0x5ce2e4(BaseComponent,'template');var _0x3c4be5='idb-store-ready',_0x4517cb='symbiote-db',_0x4f8db7='symbiote-idb-update_',DbInstance=class{['_notifyWhenReady'](_0x458ee5=null){window['dispatchEvent'](new CustomEvent(_0x3c4be5,{'detail':{'dbName':this['name'],'storeName':this['storeName'],'event':_0x458ee5}}));}get['_updEventName'](){return _0x4f8db7+this['name'];}['_getUpdateEvent'](_0x450455){return new CustomEvent(this['_updEventName'],{'detail':{'key':this['name'],'newValue':_0x450455}});}['_notifySubscribers'](_0x16fe45){window['localStorage']['removeItem'](this['name']),window['localStorage']['setItem'](this['name'],_0x16fe45),window['dispatchEvent'](this['_getUpdateEvent'](_0x16fe45));}constructor(_0x40eb05,_0x4c9798){this['name']=_0x40eb05,this['storeName']=_0x4c9798,this['version']=0x1,this['request']=window['indexedDB']['open'](this['name'],this['version']),this['request']['onupgradeneeded']=_0x4ea6e4=>{this['db']=_0x4ea6e4['target']['result'],this['objStore']=this['db']['createObjectStore'](_0x4c9798,{'keyPath':'_key'}),this['objStore']['transaction']['oncomplete']=_0x3a3a0e=>{this['_notifyWhenReady'](_0x3a3a0e);};},this['request']['onsuccess']=_0x3eeb74=>{this['db']=_0x3eeb74['target']['result'],this['_notifyWhenReady'](_0x3eeb74);},this['request']['onerror']=_0x6ab5e6=>{console['error'](_0x6ab5e6);},this['_subscriptionsMap']={},this['_updateHandler']=_0x4af378=>{_0x4af378['key']===this['name']&&this['_subscriptionsMap'][_0x4af378['newValue']]&&this['_subscriptionsMap'][_0x4af378['newValue']]['forEach'](async _0x2e7f1b=>{_0x2e7f1b(await this['read'](_0x4af378['newValue']));});},this['_localUpdateHandler']=_0x498de4=>{this['_updateHandler'](_0x498de4['detail']);},window['addEventListener']('storage',this['_updateHandler']),window['addEventListener'](this['_updEventName'],this['_localUpdateHandler']);}['read'](_0x394440){let _0x1ae3a2=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['get'](_0x394440);return new Promise((_0x350329,_0x362533)=>{_0x1ae3a2['onsuccess']=_0x44c92b=>{var _0xcdd266;(null==(_0xcdd266=_0x44c92b['target']['result'])?void 0x0:_0xcdd266['_value'])?_0x350329(_0x44c92b['target']['result']['_value']):(_0x350329(null),console['warn']('IDB:\x20cannot\x20read\x20\x22'+_0x394440+'\x22'));},_0x1ae3a2['onerror']=_0x50a144=>{_0x362533(_0x50a144);};});}['write'](_0x2d6149,_0x1d8f8f,_0x58d028=!0x1){let _0x2f8bcb={'_key':_0x2d6149,'_value':_0x1d8f8f},_0x375695=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['put'](_0x2f8bcb);return new Promise((_0x462278,_0x14e6d6)=>{_0x375695['onsuccess']=_0x154cd9=>{_0x58d028||this['_notifySubscribers'](_0x2d6149),_0x462278(_0x154cd9['target']['result']);},_0x375695['onerror']=_0x472fa6=>{_0x14e6d6(_0x472fa6);};});}['delete'](_0x1a363b,_0x225abf=!0x1){let _0x1ef10a=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['delete'](_0x1a363b);return new Promise((_0x2529fa,_0x110d0c)=>{_0x1ef10a['onsuccess']=_0xa7552c=>{_0x225abf||this['_notifySubscribers'](_0x1a363b),_0x2529fa(_0xa7552c);},_0x1ef10a['onerror']=_0x23c81e=>{_0x110d0c(_0x23c81e);};});}['getAll'](){let _0x146181=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['getAll']();return new Promise((_0x316b8b,_0x1ce258)=>{_0x146181['onsuccess']=_0x246b18=>{let _0x153195=_0x246b18['target']['result'];_0x316b8b(_0x153195['map'](_0x3be23a=>_0x3be23a['_value']));},_0x146181['onerror']=_0x3b1640=>{_0x1ce258(_0x3b1640);};});}['subscribe'](_0x4192a8,_0x26dd54){this['_subscriptionsMap'][_0x4192a8]||(this['_subscriptionsMap'][_0x4192a8]=new Set());let _0x3e88bf=this['_subscriptionsMap'][_0x4192a8];return _0x3e88bf['add'](_0x26dd54),{'remove':()=>{_0x3e88bf['delete'](_0x26dd54),_0x3e88bf['size']||delete this['_subscriptionsMap'][_0x4192a8];}};}['stop'](){window['removeEventListener']('storage',this['_updateHandler']),this['_subscriptionsMap']=null,_0x2710b7['clear'](this['name']);}},_0x2710b7=class{static get['readyEventName'](){return _0x3c4be5;}static['open'](_0x131f9b=_0x4517cb,_0x3045c1='store'){let _0x2a14cc=_0x131f9b+'/'+_0x3045c1;return this['_reg'][_0x2a14cc]||(this['_reg'][_0x2a14cc]=new DbInstance(_0x131f9b,_0x3045c1)),this['_reg'][_0x2a14cc];}static['clear'](_0x44598a){window['indexedDB']['deleteDatabase'](_0x44598a);for(let _0xa5b1e1 in this['_reg'])_0xa5b1e1['split']('/')[0x0]===_0x44598a&&delete this['_reg'][_0xa5b1e1];}};function isObject(_0x4d13ef){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x4d13ef);}_0x5ce2e4(_0x2710b7,'_reg',Object['create'](null));const _0x1fd5a1=/\W|_/g;function camelizeString(_0x2a1c09){return _0x2a1c09['split'](_0x1fd5a1)['map']((_0x1b956d,_0x41d485)=>_0x1b956d['charAt'](0x0)[_0x41d485>0x0?'toUpperCase':'toLowerCase']()+_0x1b956d['slice'](0x1))['join']('');}function camelizeArrayItems(_0x1369d4,{ignoreKeys:_0x414642}={'ignoreKeys':[]}){return Array['isArray'](_0x1369d4)?_0x1369d4['map'](_0x2c4869=>_0xd8bcc0(_0x2c4869,{'ignoreKeys':_0x414642})):_0x1369d4;}function _0xd8bcc0(_0x3f30ca,{ignoreKeys:_0x2b06ab}={'ignoreKeys':[]}){if(Array['isArray'](_0x3f30ca))return camelizeArrayItems(_0x3f30ca,{'ignoreKeys':_0x2b06ab});if(!isObject(_0x3f30ca))return _0x3f30ca;const _0x18e7dd={};for(const _0x21721d of Object['keys'](_0x3f30ca)){let _0x5afa6b=_0x3f30ca[_0x21721d];_0x2b06ab['includes'](_0x21721d)?_0x18e7dd[_0x21721d]=_0x5afa6b:(isObject(_0x5afa6b)?_0x5afa6b=_0xd8bcc0(_0x5afa6b,{'ignoreKeys':_0x2b06ab}):Array['isArray'](_0x5afa6b)&&(_0x5afa6b=camelizeArrayItems(_0x5afa6b,{'ignoreKeys':_0x2b06ab})),_0x18e7dd[camelizeString(_0x21721d)]=_0x5afa6b);}return _0x18e7dd;}const _0x4ca4ae=_0x51153e=>new Promise(_0x16a05b=>setTimeout(_0x16a05b,_0x51153e));function getUserAgent$1({libraryName:_0x46b5ad,libraryVersion:_0xfbfcb4,userAgent:_0x36fc23,publicKey:_0x53bf34='',integration:_0x258c67=''}){const _0x45e6f4='JavaScript';if('string'==typeof _0x36fc23)return _0x36fc23;if('function'==typeof _0x36fc23)return _0x36fc23({'publicKey':_0x53bf34,'libraryName':_0x46b5ad,'libraryVersion':_0xfbfcb4,'languageName':_0x45e6f4,'integration':_0x258c67});return[_0x46b5ad,_0xfbfcb4,_0x53bf34]['filter'](Boolean)['join']('/')+'\x20('+[_0x45e6f4,_0x258c67]['filter'](Boolean)['join'](';\x20')+')';}const defaultOptions={'factor':0x2,'time':0x64};function retrier(_0x479ac4,_0x5f42d3=defaultOptions){let _0x2aeab2=0x0;return function _0x9e8d3e(_0x35119d){const _0xabbd10=Math['round'](_0x5f42d3['time']*_0x5f42d3['factor']**_0x2aeab2);return _0x35119d({'attempt':_0x2aeab2,'retry':_0x2a750a=>_0x4ca4ae(_0x2a750a??_0xabbd10)['then'](()=>(_0x2aeab2+=0x1,_0x9e8d3e(_0x35119d)))});}(_0x479ac4);}class _0x57dbf8 extends Error{}class NetworkError extends _0x57dbf8{['originalProgressEvent'];constructor(_0x234190){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x234190;}}const _0x3d614f=(_0x1581a6,_0x136aa6)=>{_0x1581a6&&(_0x1581a6['aborted']?Promise['resolve']()['then'](_0x136aa6):_0x1581a6['addEventListener']('abort',()=>_0x136aa6(),{'once':!0x0}));};class _0xc49b1e extends _0x57dbf8{['isCancel']=!0x0;constructor(_0x303da0='Request\x20canceled'){super(_0x303da0),this['name']='CancelError',Object['setPrototypeOf'](this,_0xc49b1e['prototype']);}}const _0x539abd=0x1f4,_0x2aeb91=({check:_0x12898d,interval:_0x204e91=_0x539abd,timeout:_0x376fe6,signal:_0x4a15c9})=>new Promise((_0x487be1,_0x22987e)=>{let _0x2426d4,_0x437227;_0x3d614f(_0x4a15c9,()=>{_0x2426d4&&clearTimeout(_0x2426d4),_0x22987e(new _0xc49b1e('Poll\x20cancelled'));}),_0x376fe6&&(_0x437227=setTimeout(()=>{_0x2426d4&&clearTimeout(_0x2426d4),_0x22987e(new _0xc49b1e('Timed\x20out'));},_0x376fe6));const _0x464ded=()=>{try{Promise['resolve'](_0x12898d(_0x4a15c9))['then'](_0x3b033a=>{_0x3b033a?(_0x437227&&clearTimeout(_0x437227),_0x487be1(_0x3b033a)):_0x2426d4=setTimeout(_0x464ded,_0x204e91);})['catch'](_0x53acb6=>{_0x437227&&clearTimeout(_0x437227),_0x22987e(_0x53acb6);});}catch(_0x4cb199){_0x437227&&clearTimeout(_0x437227),_0x22987e(_0x4cb199);}};_0x2426d4=setTimeout(_0x464ded,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:_0x4c7a2b,url:_0x48f389,data:_0x49c9ff,headers:_0x1e55f4={},signal:_0x55f248,onProgress:_0x11cdf5})=>new Promise((_0xd4cf11,_0x53507c)=>{const _0x3b55ce=new XMLHttpRequest(),_0x4f1cce=_0x4c7a2b?.['toUpperCase']()||'GET';let _0x1d7adb=!0x1;_0x3b55ce['open'](_0x4f1cce,_0x48f389,!0x0),_0x1e55f4&&Object['entries'](_0x1e55f4)['forEach'](_0x10f7d1=>{const [_0x3593e3,_0x5b268a]=_0x10f7d1;void 0x0!==_0x5b268a&&!Array['isArray'](_0x5b268a)&&_0x3b55ce['setRequestHeader'](_0x3593e3,_0x5b268a);}),_0x3b55ce['responseType']='text',_0x3d614f(_0x55f248,()=>{_0x1d7adb=!0x0,_0x3b55ce['abort'](),_0x53507c(new _0xc49b1e());}),_0x3b55ce['onload']=()=>{if(0xc8!=_0x3b55ce['status'])_0x53507c(new Error('Error\x20'+_0x3b55ce['status']+':\x20'+_0x3b55ce['statusText']));else{const _0x548f78={'method':_0x4f1cce,'url':_0x48f389,'data':_0x49c9ff,'headers':_0x1e55f4||void 0x0,'signal':_0x55f248,'onProgress':_0x11cdf5},_0x30d62c=_0x3b55ce['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x1af6f6={};_0x30d62c['forEach'](function(_0x23354d){const _0x568bb2=_0x23354d['split'](':\x20'),_0x4ba128=_0x568bb2['shift'](),_0x1319da=_0x568bb2['join'](':\x20');_0x4ba128&&void 0x0!==_0x4ba128&&(_0x1af6f6[_0x4ba128]=_0x1319da);});const _0x5b52cf=_0x3b55ce['response'],_0x595228=_0x3b55ce['status'];_0xd4cf11({'request':_0x548f78,'data':_0x5b52cf,'headers':_0x1af6f6,'status':_0x595228});}},_0x3b55ce['onerror']=_0x173246=>{_0x1d7adb||_0x53507c(new NetworkError(_0x173246));},_0x11cdf5&&'function'==typeof _0x11cdf5&&(_0x3b55ce['upload']['onprogress']=_0x5561a4=>{_0x5561a4['lengthComputable']?_0x11cdf5({'isComputable':!0x0,'value':_0x5561a4['loaded']/_0x5561a4['total']}):_0x11cdf5({'isComputable':!0x1});}),_0x49c9ff?_0x3b55ce['send'](_0x49c9ff):_0x3b55ce['send']();});function identity(_0x381345,..._0x51ec4e){return _0x381345;}const getFileOptions=({name:_0x2e407a})=>_0x2e407a?[_0x2e407a]:[],transformFile=identity;var getFormData=()=>new FormData();const _0x24d428=_0x700702=>!0x1,_0x380464=_0x242edf=>'undefined'!=typeof Blob&&_0x242edf instanceof Blob,_0xf34e42=_0x368297=>'undefined'!=typeof File&&_0x368297 instanceof File,isReactNativeAsset=_0x21ee84=>!!_0x21ee84&&'object'==typeof _0x21ee84&&!Array['isArray'](_0x21ee84)&&'uri'in _0x21ee84&&'string'==typeof _0x21ee84['uri'],isFileData=_0x4f690d=>_0x380464(_0x4f690d)||_0xf34e42(_0x4f690d)||_0x24d428()||isReactNativeAsset(_0x4f690d),_0x7a0dfd=_0x4b04b1=>'string'==typeof _0x4b04b1||'number'==typeof _0x4b04b1||void 0x0===_0x4b04b1,isObjectValue=_0x245988=>!!_0x245988&&'object'==typeof _0x245988&&!Array['isArray'](_0x245988),_0x2b586f=_0x1f34b5=>!!_0x1f34b5&&'object'==typeof _0x1f34b5&&'data'in _0x1f34b5&&isFileData(_0x1f34b5['data']);function collectParams(_0x5e2984,_0xd98590,_0x511504){if(Array['isArray'](_0x511504)){for(const _0xf1745c of _0x511504)collectParams(_0x5e2984,_0xd98590+'[]',_0xf1745c);}else{if(_0x2b586f(_0x511504)){const {name:_0x4dfe8d,contentType:_0x2e157c}=_0x511504,_0x43ac96=transformFile(_0x511504['data'],_0x4dfe8d,_0x2e157c??defaultContentType),_0x39a563=getFileOptions({'name':_0x4dfe8d});_0x5e2984['push']([_0xd98590,_0x43ac96,..._0x39a563]);}else{if(isObjectValue(_0x511504)){for(const [_0x343507,_0x215587]of Object['entries'](_0x511504))void 0x0!==_0x215587&&_0x5e2984['push']([_0xd98590+'['+_0x343507+']',String(_0x215587)]);}else _0x7a0dfd(_0x511504)&&_0x511504&&_0x5e2984['push']([_0xd98590,_0x511504['toString']()]);}}}function getFormDataParams(_0x3b4672){const _0x3aa896=[];for(const [_0x3d0343,_0x6a10fc]of Object['entries'](_0x3b4672))collectParams(_0x3aa896,_0x3d0343,_0x6a10fc);return _0x3aa896;}function buildFormData(_0x26ae72){const _0x1d0bb7=getFormData(),_0x3bf9ca=getFormDataParams(_0x26ae72);for(const _0x1eb1e6 of _0x3bf9ca){const [_0x1291a0,_0x35f4d5,..._0x1bf0c6]=_0x1eb1e6;_0x1d0bb7['append'](_0x1291a0,_0x35f4d5,..._0x1bf0c6);}return _0x1d0bb7;}class _0x411308 extends _0x57dbf8{['code'];['request'];['response'];['headers'];constructor(_0x246727,_0x328ac0,_0x5396d1,_0x3ac689,_0x1b346d){super(),this['name']='UploadError',this['message']=_0x246727,this['code']=_0x328ac0,this['request']=_0x5396d1,this['response']=_0x3ac689,this['headers']=_0x1b346d,Object['setPrototypeOf'](this,_0x411308['prototype']);}}const _0x4b7146=_0xdfd0e8=>{const _0x396cc4=new URLSearchParams();for(const [_0x3e0677,_0x111a1e]of Object['entries'](_0xdfd0e8))_0x111a1e&&'object'==typeof _0x111a1e&&!Array['isArray'](_0x111a1e)?Object['entries'](_0x111a1e)['filter'](_0x2a3d12=>_0x2a3d12[0x1]??!0x1)['forEach'](_0x538182=>_0x396cc4['set'](_0x3e0677+'['+_0x538182[0x0]+']',String(_0x538182[0x1]))):Array['isArray'](_0x111a1e)?_0x111a1e['forEach'](_0x30872e=>{_0x396cc4['append'](_0x3e0677+'[]',_0x30872e);}):'string'==typeof _0x111a1e&&_0x111a1e?_0x396cc4['set'](_0x3e0677,_0x111a1e):'number'==typeof _0x111a1e&&_0x396cc4['set'](_0x3e0677,_0x111a1e['toString']());return _0x396cc4['toString']();},getUrl=(_0x571352,_0x2ac3c6,_0x2b4cd0)=>{const _0x564cf3=new URL(_0x571352);return _0x564cf3['pathname']=(_0x564cf3['pathname']+_0x2ac3c6)['replace']('//','/'),_0x2b4cd0&&(_0x564cf3['search']=_0x4b7146(_0x2b4cd0)),_0x564cf3['toString']();};var _0x166082='6.18.2';const _0x285f5d='UploadcareUploadClient',_0x461d0c=_0x166082;function getUserAgent(_0x1544e9){return getUserAgent$1({'libraryName':_0x285f5d,'libraryVersion':_0x461d0c,..._0x1544e9});}const _0x3265fa='RequestThrottledError',_0xda4acf=0x3a98,_0x588399=0x3e8;function getTimeoutFromThrottledRequest(_0x58425d){const {headers:_0x2fca99}=_0x58425d||{};if(!_0x2fca99||'string'!=typeof _0x2fca99['retry-after'])return _0xda4acf;const _0x496ccb=parseInt(_0x2fca99['retry-after'],0xa);return Number['isFinite'](_0x496ccb)?0x3e8*_0x496ccb:_0xda4acf;}function retryIfFailed(_0x86b4c,_0x119531){const {retryThrottledRequestMaxTimes:_0x42be60,retryNetworkErrorMaxTimes:_0x489e32}=_0x119531;return retrier(({attempt:_0x418985,retry:_0x5b885a})=>_0x86b4c()['catch'](_0x4b67fc=>{if('response'in _0x4b67fc&&_0x4b67fc?.['code']===_0x3265fa&&_0x418985<_0x42be60)return _0x5b885a(getTimeoutFromThrottledRequest(_0x4b67fc));if(_0x4b67fc instanceof NetworkError&&_0x418985<_0x489e32)return _0x5b885a((_0x418985+0x1)*_0x588399);throw _0x4b67fc;}));}const getContentType=_0x7dabdc=>{let _0xc0f310='';return(_0x380464(_0x7dabdc)||_0xf34e42(_0x7dabdc)||isReactNativeAsset(_0x7dabdc))&&(_0xc0f310=_0x7dabdc['type']),_0xc0f310||defaultContentType;},getFileName=_0x454388=>{let _0x16b118='';return _0xf34e42(_0x454388)&&_0x454388['name']?_0x16b118=_0x454388['name']:_0x380464(_0x454388)||_0x24d428()?_0x16b118='':isReactNativeAsset(_0x454388)&&_0x454388['name']&&(_0x16b118=_0x454388['name']),_0x16b118||defaultFilename;};function getStoreValue(_0x32ebef){return void 0x0===_0x32ebef||'auto'===_0x32ebef?'auto':_0x32ebef?'1':'0';}function _0x42cd14(_0x56ca73,{publicKey:_0x495ca8,fileName:_0x13db89,contentType:_0x2baf3a,baseURL:_0x26a243=defaultSettings['baseURL'],secureSignature:_0x3b1058,secureExpire:_0xed4698,store:_0xe89e9d,signal:_0x40e028,onProgress:_0x44ca07,source:_0xbf903e='local',integration:_0x1279b5,userAgent:_0x56f6bd,retryThrottledRequestMaxTimes:_0xb4d277=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x312326=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x402fc5}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x26a243,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x495ca8,'integration':_0x1279b5,'userAgent':_0x56f6bd})},'data':buildFormData({'file':{'data':_0x56ca73,'name':_0x13db89||getFileName(_0x56ca73),'contentType':_0x2baf3a||getContentType(_0x56ca73)},'UPLOADCARE_PUB_KEY':_0x495ca8,'UPLOADCARE_STORE':getStoreValue(_0xe89e9d),'signature':_0x3b1058,'expire':_0xed4698,'source':_0xbf903e,'metadata':_0x402fc5}),'signal':_0x40e028,'onProgress':_0x44ca07})['then'](({data:_0x4022b8,headers:_0x10155d,request:_0x517cd9})=>{const _0x3af988=_0xd8bcc0(JSON['parse'](_0x4022b8));if('error'in _0x3af988)throw new _0x411308(_0x3af988['error']['content'],_0x3af988['error']['errorCode'],_0x517cd9,_0x3af988,_0x10155d);return _0x3af988;}),{'retryNetworkErrorMaxTimes':_0x312326,'retryThrottledRequestMaxTimes':_0xb4d277});}var _0x57f17a,Status;function _0x412512(_0x1d6592,{publicKey:_0x154b57,baseURL:_0x29e1b9=defaultSettings['baseURL'],store:_0x50e089,fileName:_0x1e6258,checkForUrlDuplicates:_0x13ca55,saveUrlForRecurrentUploads:_0x28ad0d,secureSignature:_0x14990e,secureExpire:_0x59562c,source:_0x21260c='url',signal:_0x14adb4,integration:_0x2db509,userAgent:_0x30c143,retryThrottledRequestMaxTimes:_0x36ef5f=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x4bb8aa=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0xd34ca9}){return retryIfFailed(()=>request({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x154b57,'integration':_0x2db509,'userAgent':_0x30c143})},'url':getUrl(_0x29e1b9,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x154b57,'source_url':_0x1d6592,'store':getStoreValue(_0x50e089),'filename':_0x1e6258,'check_URL_duplicates':_0x13ca55?0x1:void 0x0,'save_URL_duplicates':_0x28ad0d?0x1:void 0x0,'signature':_0x14990e,'expire':_0x59562c,'source':_0x21260c,'metadata':_0xd34ca9}),'signal':_0x14adb4})['then'](({data:_0x1c9e08,headers:_0xa99870,request:_0x9386ed})=>{const _0x8377dd=_0xd8bcc0(JSON['parse'](_0x1c9e08));if('error'in _0x8377dd)throw new _0x411308(_0x8377dd['error']['content'],_0x8377dd['error']['errorCode'],_0x9386ed,_0x8377dd,_0xa99870);return _0x8377dd;}),{'retryNetworkErrorMaxTimes':_0x4bb8aa,'retryThrottledRequestMaxTimes':_0x36ef5f});}!function(_0x22b70b){_0x22b70b['Token']='token',_0x22b70b['FileInfo']='file_info';}(_0x57f17a||(_0x57f17a={})),function(_0x44c12d){_0x44c12d['Unknown']='unknown',_0x44c12d['Waiting']='waiting',_0x44c12d['Progress']='progress',_0x44c12d['Error']='error',_0x44c12d['Success']='success';}(Status||(Status={}));const _0x314943=_0x203e18=>'status'in _0x203e18&&_0x203e18['status']===Status['Error'];function fromUrlStatus(_0x56c448,{publicKey:_0x2a92f6,baseURL:_0x549d6a=defaultSettings['baseURL'],signal:_0x3f5c5f,integration:_0xcae82e,userAgent:_0x2cb5d1,retryThrottledRequestMaxTimes:_0x4b5704=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x55d2d5=defaultSettings['retryNetworkErrorMaxTimes']}={}){return retryIfFailed(()=>request({'method':'GET','headers':_0x2a92f6?{'X-UC-User-Agent':getUserAgent({'publicKey':_0x2a92f6,'integration':_0xcae82e,'userAgent':_0x2cb5d1})}:void 0x0,'url':getUrl(_0x549d6a,'/from_url/status/',{'jsonerrors':0x1,'token':_0x56c448}),'signal':_0x3f5c5f})['then'](({data:_0x46b697,headers:_0x1b59b1,request:_0x4c1c01})=>{const _0x3acd9b=_0xd8bcc0(JSON['parse'](_0x46b697));if('error'in _0x3acd9b&&!_0x314943(_0x3acd9b))throw new _0x411308(_0x3acd9b['error']['content'],_0x3acd9b['error']['errorCode'],_0x4c1c01,_0x3acd9b,_0x1b59b1);return _0x3acd9b;}),{'retryNetworkErrorMaxTimes':_0x55d2d5,'retryThrottledRequestMaxTimes':_0x4b5704});}function _0x326047(_0x1b2ddf,{publicKey:_0x290519,baseURL:_0xe082c6=defaultSettings['baseURL'],jsonpCallback:_0x28387a,secureSignature:_0x198709,secureExpire:_0x3a686c,signal:_0x5e4ecc,source:_0x2f7cfd,integration:_0x43f48b,userAgent:_0x2fad56,retryThrottledRequestMaxTimes:_0x364b41=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x4647fd=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x290519,'integration':_0x43f48b,'userAgent':_0x2fad56})},'url':getUrl(_0xe082c6,'/group/',{'jsonerrors':0x1}),'data':buildFormData({'files':_0x1b2ddf,'callback':_0x28387a,'pub_key':_0x290519,'signature':_0x198709,'expire':_0x3a686c,'source':_0x2f7cfd}),'signal':_0x5e4ecc})['then'](({data:_0x2b586a,headers:_0x58a888,request:_0x46e756})=>{const _0x3355bc=_0xd8bcc0(JSON['parse'](_0x2b586a));if('error'in _0x3355bc)throw new _0x411308(_0x3355bc['error']['content'],_0x3355bc['error']['errorCode'],_0x46e756,_0x3355bc,_0x58a888);return _0x3355bc;}),{'retryNetworkErrorMaxTimes':_0x4647fd,'retryThrottledRequestMaxTimes':_0x364b41});}function _0x2ef14f(_0x4b4709,{publicKey:_0x3a944c,baseURL:_0x412f2c=defaultSettings['baseURL'],signal:_0x26eb1f,source:_0xcab8ca,integration:_0x2863de,userAgent:_0x5e4dd4,retryThrottledRequestMaxTimes:_0x3d49c6=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x9a7171=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'GET','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x3a944c,'integration':_0x2863de,'userAgent':_0x5e4dd4})},'url':getUrl(_0x412f2c,'/info/',{'jsonerrors':0x1,'pub_key':_0x3a944c,'file_id':_0x4b4709,'source':_0xcab8ca}),'signal':_0x26eb1f})['then'](({data:_0x5c77f1,headers:_0x47aa89,request:_0x3177c7})=>{const _0x1b926d=_0xd8bcc0(JSON['parse'](_0x5c77f1));if('error'in _0x1b926d)throw new _0x411308(_0x1b926d['error']['content'],_0x1b926d['error']['errorCode'],_0x3177c7,_0x1b926d,_0x47aa89);return _0x1b926d;}),{'retryThrottledRequestMaxTimes':_0x3d49c6,'retryNetworkErrorMaxTimes':_0x9a7171});}function multipartStart(_0xe7fdb2,{publicKey:_0x2aaa4d,contentType:_0x3e33ab,fileName:_0xf62bd0,multipartChunkSize:_0x49b82b=defaultSettings['multipartChunkSize'],baseURL:_0x62ce47='',secureSignature:_0x2aa630,secureExpire:_0x4d55a1,store:_0x4ca205,signal:_0x4f4c0a,source:_0x57e873='local',integration:_0x2be894,userAgent:_0x46bc3c,retryThrottledRequestMaxTimes:_0x5855c3=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x50afc9=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x1423f6}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x62ce47,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x2aaa4d,'integration':_0x2be894,'userAgent':_0x46bc3c})},'data':buildFormData({'filename':_0xf62bd0||defaultFilename,'size':_0xe7fdb2,'content_type':_0x3e33ab||defaultContentType,'part_size':_0x49b82b,'UPLOADCARE_STORE':getStoreValue(_0x4ca205),'UPLOADCARE_PUB_KEY':_0x2aaa4d,'signature':_0x2aa630,'expire':_0x4d55a1,'source':_0x57e873,'metadata':_0x1423f6}),'signal':_0x4f4c0a})['then'](({data:_0x4c7b90,headers:_0x3a1338,request:_0x20732a})=>{const _0x551ea1=_0xd8bcc0(JSON['parse'](_0x4c7b90));if('error'in _0x551ea1)throw new _0x411308(_0x551ea1['error']['content'],_0x551ea1['error']['errorCode'],_0x20732a,_0x551ea1,_0x3a1338);return _0x551ea1['parts']=Object['keys'](_0x551ea1['parts'])['map'](_0x571b6c=>_0x551ea1['parts'][Number(_0x571b6c)]),_0x551ea1;}),{'retryThrottledRequestMaxTimes':_0x5855c3,'retryNetworkErrorMaxTimes':_0x50afc9});}function multipartUpload(_0x44ca13,_0x51ed1b,{contentType:_0x495305,signal:_0x5a151d,onProgress:_0xeaaabe,retryThrottledRequestMaxTimes:_0x4f157d=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x452b4e=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'PUT','url':_0x51ed1b,'data':_0x44ca13,'onProgress':_0xeaaabe,'signal':_0x5a151d,'headers':{'Content-Type':_0x495305||defaultContentType}})['then'](_0xa0ac4f=>(_0xeaaabe&&_0xeaaabe({'isComputable':!0x0,'value':0x1}),_0xa0ac4f))['then'](({status:_0x20ce99})=>({'code':_0x20ce99})),{'retryThrottledRequestMaxTimes':_0x4f157d,'retryNetworkErrorMaxTimes':_0x452b4e});}function multipartComplete(_0x423bef,{publicKey:_0x1e9129,baseURL:_0x28c534=defaultSettings['baseURL'],source:_0x19bd9b='local',signal:_0x1289b5,integration:_0x4043a7,userAgent:_0x246ba3,retryThrottledRequestMaxTimes:_0x27ea9f=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x52174f=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x28c534,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x1e9129,'integration':_0x4043a7,'userAgent':_0x246ba3})},'data':buildFormData({'uuid':_0x423bef,'UPLOADCARE_PUB_KEY':_0x1e9129,'source':_0x19bd9b}),'signal':_0x1289b5})['then'](({data:_0x5510bd,headers:_0x3f6385,request:_0x2adc19})=>{const _0x34e662=_0xd8bcc0(JSON['parse'](_0x5510bd));if('error'in _0x34e662)throw new _0x411308(_0x34e662['error']['content'],_0x34e662['error']['errorCode'],_0x2adc19,_0x34e662,_0x3f6385);return _0x34e662;}),{'retryThrottledRequestMaxTimes':_0x27ea9f,'retryNetworkErrorMaxTimes':_0x52174f});}function _0x32a883(_0x57760c,{publicKey:_0x2140ba,baseURL:_0x2fd72f,source:_0x369560,integration:_0x2b9ead,userAgent:_0x5ed3d4,retryThrottledRequestMaxTimes:_0x434116,retryNetworkErrorMaxTimes:_0x27b2f8,signal:_0x35c3e9,onProgress:_0x3064a7}){return _0x2aeb91({'check':_0x3c4b2d=>_0x2ef14f(_0x57760c,{'publicKey':_0x2140ba,'baseURL':_0x2fd72f,'signal':_0x3c4b2d,'source':_0x369560,'integration':_0x2b9ead,'userAgent':_0x5ed3d4,'retryThrottledRequestMaxTimes':_0x434116,'retryNetworkErrorMaxTimes':_0x27b2f8})['then'](_0x27e3f7=>_0x27e3f7['isReady']?_0x27e3f7:(_0x3064a7&&_0x3064a7({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x35c3e9});}function _0x29eb82(_0x2e0d8c){return'defaultEffects'in _0x2e0d8c;}class _0x44bb78{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x5a3fd6,{baseCDN:_0x94ea6b=defaultSettings['baseCDN'],fileName:_0x3015e0}={}){const {uuid:_0x3bee73,s3Bucket:_0x11cd30}=_0x5a3fd6,_0x3c0c45=getUrl(_0x94ea6b,_0x3bee73+'/'),_0x4a8b9a=_0x11cd30?getUrl('https://'+_0x11cd30+'.s3.amazonaws.com/',_0x3bee73+'/'+_0x5a3fd6['filename']):null;this['uuid']=_0x3bee73,this['name']=_0x3015e0||_0x5a3fd6['filename'],this['size']=_0x5a3fd6['size'],this['isStored']=_0x5a3fd6['isStored'],this['isImage']=_0x5a3fd6['isImage'],this['mimeType']=_0x5a3fd6['mimeType'],this['cdnUrl']=_0x3c0c45,this['originalFilename']=_0x5a3fd6['originalFilename'],this['imageInfo']=_0x5a3fd6['imageInfo'],this['videoInfo']=_0x5a3fd6['videoInfo'],this['contentInfo']=_0x5a3fd6['contentInfo'],this['metadata']=_0x5a3fd6['metadata']||null,this['s3Bucket']=_0x11cd30||null,this['s3Url']=_0x4a8b9a,_0x29eb82(_0x5a3fd6)&&(this['defaultEffects']=_0x5a3fd6['defaultEffects']);}}const uploadDirect=(_0x13608d,{publicKey:_0x533af6,fileName:_0xfc23c5,baseURL:_0x47dee8,secureSignature:_0x126460,secureExpire:_0x5c924d,store:_0x5e4031,contentType:_0x2606fd,signal:_0x466a39,onProgress:_0x1490b0,source:_0x638e17,integration:_0x3a3cc2,userAgent:_0x4ec235,retryThrottledRequestMaxTimes:_0x14536d,retryNetworkErrorMaxTimes:_0xb3c5a8,baseCDN:_0xf58f85,metadata:_0x2d126f})=>_0x42cd14(_0x13608d,{'publicKey':_0x533af6,'fileName':_0xfc23c5,'contentType':_0x2606fd,'baseURL':_0x47dee8,'secureSignature':_0x126460,'secureExpire':_0x5c924d,'store':_0x5e4031,'signal':_0x466a39,'onProgress':_0x1490b0,'source':_0x638e17,'integration':_0x3a3cc2,'userAgent':_0x4ec235,'retryThrottledRequestMaxTimes':_0x14536d,'retryNetworkErrorMaxTimes':_0xb3c5a8,'metadata':_0x2d126f})['then'](({file:_0x377e6c})=>_0x32a883(_0x377e6c,{'publicKey':_0x533af6,'baseURL':_0x47dee8,'source':_0x638e17,'integration':_0x3a3cc2,'userAgent':_0x4ec235,'retryThrottledRequestMaxTimes':_0x14536d,'retryNetworkErrorMaxTimes':_0xb3c5a8,'onProgress':_0x1490b0,'signal':_0x466a39}))['then'](_0x5d79d0=>new _0x44bb78(_0x5d79d0,{'baseCDN':_0xf58f85})),_0x38424c=(_0x7c8805,{publicKey:_0x15f4bf,fileName:_0x5c234e,baseURL:_0x5dd99a,signal:_0x3eee55,onProgress:_0xd3d1d4,source:_0x392e9b,integration:_0x2c44c1,userAgent:_0x30ea08,retryThrottledRequestMaxTimes:_0x33f8c3,retryNetworkErrorMaxTimes:_0x41ed24,baseCDN:_0x494701})=>_0x2ef14f(_0x7c8805,{'publicKey':_0x15f4bf,'baseURL':_0x5dd99a,'signal':_0x3eee55,'source':_0x392e9b,'integration':_0x2c44c1,'userAgent':_0x30ea08,'retryThrottledRequestMaxTimes':_0x33f8c3,'retryNetworkErrorMaxTimes':_0x41ed24})['then'](_0x5d5301=>new _0x44bb78(_0x5d5301,{'baseCDN':_0x494701,'fileName':_0x5c234e}))['then'](_0x3cc1f4=>(_0xd3d1d4&&_0xd3d1d4({'isComputable':!0x0,'value':0x1}),_0x3cc1f4)),_0x33b099=(_0x2a3d49,{signal:_0x4d0023}={})=>{let _0x2f0bed=null,_0x4e3697=null;const _0x3af285=_0x2a3d49['map'](()=>new AbortController());return _0x3d614f(_0x4d0023,()=>{_0x3af285['forEach'](_0x5534d4=>_0x5534d4['abort']());}),Promise['all'](_0x2a3d49['map']((_0x3db093,_0x5c0002)=>{const _0x43705e=(_0x6c089f=>()=>{_0x4e3697=_0x6c089f,_0x3af285['forEach']((_0x31ffb5,_0x5033c9)=>_0x5033c9!==_0x6c089f&&_0x31ffb5['abort']());})(_0x5c0002);return Promise['resolve']()['then'](()=>_0x3db093({'stopRace':_0x43705e,'signal':_0x3af285[_0x5c0002]['signal']}))['then'](_0x22ab27=>(_0x43705e(),_0x22ab27))['catch'](_0x3f6cde=>(_0x2f0bed=_0x3f6cde,null));}))['then'](_0x300e17=>{if(null===_0x4e3697)throw _0x2f0bed;return _0x300e17[_0x4e3697];});};var WebSocket=window['WebSocket'];class Events{['events']=Object['create']({});['emit'](_0x2f73fd,_0x35b759){this['events'][_0x2f73fd]?.['forEach'](_0x366a1a=>_0x366a1a(_0x35b759));}['on'](_0x2afdee,_0x2732e7){this['events'][_0x2afdee]=this['events'][_0x2afdee]||[],this['events'][_0x2afdee]['push'](_0x2732e7);}['off'](_0x5f0604,_0x17c046){this['events'][_0x5f0604]=_0x17c046?this['events'][_0x5f0604]['filter'](_0x1afb72=>_0x1afb72!==_0x17c046):[];}}const _0x2f5e67=(_0x3f643e,_0x559cc1)=>'success'===_0x3f643e?{'status':Status['Success'],..._0x559cc1}:'progress'===_0x3f643e?{'status':Status['Progress'],..._0x559cc1}:{'status':Status['Error'],..._0x559cc1};class _0x594ce3{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events();['disconnectTimeoutId']=null;constructor(_0x45e770,_0x5613c=0x7530){this['key']=_0x45e770,this['disconnectTime']=_0x5613c;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x1cc25f='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new WebSocket(_0x1cc25f),this['ws']['addEventListener']('error',_0x33dabe=>{this['emmitter']['emit']('error',new Error(_0x33dabe['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x2e5520=>this['send'](_0x2e5520['event'],_0x2e5520['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x47c57c=>{const _0x40955a=JSON['parse'](_0x47c57c['data']['toString']());switch(_0x40955a['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'](_0x40955a['channel'],_0x2f5e67(_0x40955a['event'],JSON['parse'](_0x40955a['data'])));}});}}['disconnect'](){const _0x1bb9b5=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x1bb9b5();},this['disconnectTime']):_0x1bb9b5();}['send'](_0x20b3a3,_0x18caa6){const _0x6c9718=JSON['stringify']({'event':_0x20b3a3,'data':_0x18caa6});this['ws']?.['send'](_0x6c9718);}['subscribe'](_0x371bc2,_0x19124d){this['subscribers']+=0x1,this['connect']();const _0x5e6db7='task-status-'+_0x371bc2,_0x1e05d4={'event':'pusher:subscribe','data':{'channel':_0x5e6db7}};this['emmitter']['on'](_0x5e6db7,_0x19124d),this['isConnected']?this['send'](_0x1e05d4['event'],_0x1e05d4['data']):this['queue']['push'](_0x1e05d4);}['unsubscribe'](_0x41a8b0){this['subscribers']-=0x1;const _0x104e8f='task-status-'+_0x41a8b0,_0x3f5824={'event':'pusher:unsubscribe','data':{'channel':_0x104e8f}};this['emmitter']['off'](_0x104e8f),this['isConnected']?this['send'](_0x3f5824['event'],_0x3f5824['data']):this['queue']=this['queue']['filter'](_0x39d7df=>_0x39d7df['data']['channel']!==_0x104e8f),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x12dd56){return this['emmitter']['on']('error',_0x12dd56),()=>this['emmitter']['off']('error',_0x12dd56);}}let _0x2fb687=null;const getPusher=_0x45f935=>{if(!_0x2fb687){const _0x5b32b1='undefined'==typeof window?0x0:0x7530;_0x2fb687=new _0x594ce3(_0x45f935,_0x5b32b1);}return _0x2fb687;},preconnect=_0x7353f=>{getPusher(_0x7353f)['connect']();};function pollStrategy({token:_0x167fb3,publicKey:_0x432484,baseURL:_0x4af9a5,integration:_0x528651,userAgent:_0x3a8b4c,retryThrottledRequestMaxTimes:_0x57e803,retryNetworkErrorMaxTimes:_0x2b84be,onProgress:_0x19da9a,signal:_0x2e5b69}){return _0x2aeb91({'check':_0x16e40d=>fromUrlStatus(_0x167fb3,{'publicKey':_0x432484,'baseURL':_0x4af9a5,'integration':_0x528651,'userAgent':_0x3a8b4c,'retryThrottledRequestMaxTimes':_0x57e803,'retryNetworkErrorMaxTimes':_0x2b84be,'signal':_0x16e40d})['then'](_0x3676ec=>{switch(_0x3676ec['status']){case Status['Error']:return new _0x411308(_0x3676ec['error'],_0x3676ec['errorCode']);case Status['Waiting']:return!0x1;case Status['Unknown']:return new _0x411308('Token\x20\x22'+_0x167fb3+'\x22\x20was\x20not\x20found.');case Status['Progress']:return _0x19da9a&&('unknown'===_0x3676ec['total']?_0x19da9a({'isComputable':!0x1}):_0x19da9a({'isComputable':!0x0,'value':_0x3676ec['done']/_0x3676ec['total']})),!0x1;case Status['Success']:return _0x19da9a&&_0x19da9a({'isComputable':!0x0,'value':_0x3676ec['done']/_0x3676ec['total']}),_0x3676ec;default:throw new Error('Unknown\x20status');}}),'signal':_0x2e5b69});}const pushStrategy=({token:_0x5eb3b2,pusherKey:_0x2cd729,signal:_0x5961d8,onProgress:_0x370fcd})=>new Promise((_0x47b547,_0x67b891)=>{const _0x3e0d2f=getPusher(_0x2cd729),_0x2db6ed=_0x3e0d2f['onError'](_0x67b891),_0x11559a=()=>{_0x2db6ed(),_0x3e0d2f['unsubscribe'](_0x5eb3b2);};_0x3d614f(_0x5961d8,()=>{_0x11559a(),_0x67b891(new _0xc49b1e('pusher\x20cancelled'));}),_0x3e0d2f['subscribe'](_0x5eb3b2,_0x500ef2=>{switch(_0x500ef2['status']){case Status['Progress']:_0x370fcd&&('unknown'===_0x500ef2['total']?_0x370fcd({'isComputable':!0x1}):_0x370fcd({'isComputable':!0x0,'value':_0x500ef2['done']/_0x500ef2['total']}));break;case Status['Success']:_0x11559a(),_0x370fcd&&_0x370fcd({'isComputable':!0x0,'value':_0x500ef2['done']/_0x500ef2['total']}),_0x47b547(_0x500ef2);break;case Status['Error']:_0x11559a(),_0x67b891(new _0x411308(_0x500ef2['msg'],_0x500ef2['error_code']));}});}),_0x39fd72=(_0x448220,{publicKey:_0x4ada3e,fileName:_0x4ef98f,baseURL:_0x50eb75,baseCDN:_0x456999,checkForUrlDuplicates:_0x369a16,saveUrlForRecurrentUploads:_0x2a7981,secureSignature:_0x53ffc6,secureExpire:_0x50fe1d,store:_0x5669c6,signal:_0x14c4eb,onProgress:_0x1d00e,source:_0x41b047,integration:_0x2ea13b,userAgent:_0x1ea456,retryThrottledRequestMaxTimes:_0x355f7e,pusherKey:_0x251bbf=defaultSettings['pusherKey'],metadata:_0x10792f})=>Promise['resolve'](preconnect(_0x251bbf))['then'](()=>_0x412512(_0x448220,{'publicKey':_0x4ada3e,'fileName':_0x4ef98f,'baseURL':_0x50eb75,'checkForUrlDuplicates':_0x369a16,'saveUrlForRecurrentUploads':_0x2a7981,'secureSignature':_0x53ffc6,'secureExpire':_0x50fe1d,'store':_0x5669c6,'signal':_0x14c4eb,'source':_0x41b047,'integration':_0x2ea13b,'userAgent':_0x1ea456,'retryThrottledRequestMaxTimes':_0x355f7e,'metadata':_0x10792f}))['catch'](_0xc7c7a4=>{const _0x25ab56=getPusher(_0x251bbf);return _0x25ab56?.['disconnect'](),Promise['reject'](_0xc7c7a4);})['then'](_0x3331e6=>_0x3331e6['type']===_0x57f17a['FileInfo']?_0x3331e6:_0x33b099([({signal:_0x5af9e1})=>pollStrategy({'token':_0x3331e6['token'],'publicKey':_0x4ada3e,'baseURL':_0x50eb75,'integration':_0x2ea13b,'userAgent':_0x1ea456,'retryThrottledRequestMaxTimes':_0x355f7e,'onProgress':_0x1d00e,'signal':_0x5af9e1}),({signal:_0x13cf38})=>pushStrategy({'token':_0x3331e6['token'],'pusherKey':_0x251bbf,'signal':_0x13cf38,'onProgress':_0x1d00e})],{'signal':_0x14c4eb}))['then'](_0x1e898e=>{if(_0x1e898e instanceof _0x411308)throw _0x1e898e;return _0x1e898e;})['then'](_0x3b88bb=>_0x32a883(_0x3b88bb['uuid'],{'publicKey':_0x4ada3e,'baseURL':_0x50eb75,'integration':_0x2ea13b,'userAgent':_0x1ea456,'retryThrottledRequestMaxTimes':_0x355f7e,'onProgress':_0x1d00e,'signal':_0x14c4eb}))['then'](_0x99ed80=>new _0x44bb78(_0x99ed80,{'baseCDN':_0x456999})),_0x356bb5=new WeakMap(),getBlobFromReactNativeAsset=async _0x25fefb=>{if(_0x356bb5['has'](_0x25fefb))return _0x356bb5['get'](_0x25fefb);const _0x4f1a84=await fetch(_0x25fefb['uri'])['then'](_0xb3bc6d=>_0xb3bc6d['blob']());return _0x356bb5['set'](_0x25fefb,_0x4f1a84),_0x4f1a84;},getFileSize=async _0x16fd5a=>{if(_0xf34e42(_0x16fd5a)||_0x380464(_0x16fd5a))return _0x16fd5a['size'];if(isReactNativeAsset(_0x16fd5a))return(await getBlobFromReactNativeAsset(_0x16fd5a))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},isMultipart=(_0x251c9e,_0x54be38=defaultSettings['multipartMinFileSize'])=>_0x251c9e>=_0x54be38,_0x265b73=_0x5b6359=>{const _0x1000cc=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!isFileData(_0x5b6359)&&_0x1000cc['test'](_0x5b6359);},_0xf8ef42=_0x776048=>{const _0x5446c6=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!isFileData(_0x776048)&&_0x5446c6['test'](_0x776048);},runWithConcurrency=(_0x36fa0b,_0x5d2f54)=>new Promise((_0x2ed36e,_0x2e9a9b)=>{const _0x120cbe=[];let _0x9338d9=!0x1,_0x380a87=_0x5d2f54['length'];const _0x3b57c7=[..._0x5d2f54],_0x9e8426=()=>{const _0xc4ff1f=_0x5d2f54['length']-_0x3b57c7['length'],_0x20983b=_0x3b57c7['shift']();_0x20983b&&_0x20983b()['then'](_0x3a8560=>{_0x9338d9||(_0x120cbe[_0xc4ff1f]=_0x3a8560,_0x380a87-=0x1,_0x380a87?_0x9e8426():_0x2ed36e(_0x120cbe));})['catch'](_0x23fdae=>{_0x9338d9=!0x0,_0x2e9a9b(_0x23fdae);});};for(let _0x45a1ff=0x0;_0x45a1ff<_0x36fa0b;_0x45a1ff++)_0x9e8426();}),_0x25229c=(_0x417d03,_0x4cd2c6,_0x553d49,_0x4489b8)=>{const _0x16ad8e=_0x4489b8*_0x4cd2c6,_0x409e33=Math['min'](_0x16ad8e+_0x4489b8,_0x553d49);return _0x417d03['slice'](_0x16ad8e,_0x409e33);},_0x4fbb88=async(_0x481874,_0x3c5e87,_0x3cbcd8)=>_0x2bfa1c=>_0x25229c(_0x481874,_0x2bfa1c,_0x3c5e87,_0x3cbcd8),uploadPart=(_0x544e82,_0x4535f5,{publicKey:_0x2468f8,contentType:_0x13eb80,onProgress:_0x2b50cb,signal:_0x25464f,integration:_0x3d2ef9,retryThrottledRequestMaxTimes:_0x244230,retryNetworkErrorMaxTimes:_0x34ea59})=>multipartUpload(_0x544e82,_0x4535f5,{'contentType':_0x13eb80,'onProgress':_0x2b50cb,'signal':_0x25464f,'retryThrottledRequestMaxTimes':_0x244230,'retryNetworkErrorMaxTimes':_0x34ea59}),uploadMultipart=async(_0x15fb0a,{publicKey:_0x14ec92,fileName:_0x56bfaa,fileSize:_0x57345f,baseURL:_0x84d8f0,secureSignature:_0x1351e8,secureExpire:_0x505550,store:_0x2cc634,signal:_0x2695f1,onProgress:_0x589f16,source:_0x30f322,integration:_0x4744f9,userAgent:_0xee7939,retryThrottledRequestMaxTimes:_0x58c35b,retryNetworkErrorMaxTimes:_0x195957,contentType:_0x1e3889,multipartChunkSize:_0x497592=defaultSettings['multipartChunkSize'],maxConcurrentRequests:_0x56818b=defaultSettings['maxConcurrentRequests'],baseCDN:_0xa9d895,metadata:_0x38f32b})=>{const _0x502cbb=_0x57345f??await getFileSize(_0x15fb0a);let _0x4708c6;const _0x181c2a=(_0x1748a1,_0x3de9ad)=>{if(!_0x589f16)return;_0x4708c6||(_0x4708c6=Array(_0x1748a1)['fill'](0x0));const _0x371564=_0x3219ea=>_0x3219ea['reduce']((_0x29af9e,_0x1bbb6e)=>_0x29af9e+_0x1bbb6e,0x0);return _0x4717fd=>{_0x4717fd['isComputable']&&(_0x4708c6[_0x3de9ad]=_0x4717fd['value'],_0x589f16({'isComputable':!0x0,'value':_0x371564(_0x4708c6)/_0x1748a1}));};};return _0x1e3889||=getContentType(_0x15fb0a),multipartStart(_0x502cbb,{'publicKey':_0x14ec92,'contentType':_0x1e3889,'fileName':_0x56bfaa||getFileName(_0x15fb0a),'baseURL':_0x84d8f0,'secureSignature':_0x1351e8,'secureExpire':_0x505550,'store':_0x2cc634,'signal':_0x2695f1,'source':_0x30f322,'integration':_0x4744f9,'userAgent':_0xee7939,'retryThrottledRequestMaxTimes':_0x58c35b,'retryNetworkErrorMaxTimes':_0x195957,'metadata':_0x38f32b,'multipartChunkSize':_0x497592})['then'](async({uuid:_0x30aa55,parts:_0x34383e})=>{const _0x65f166=await _0x4fbb88(_0x15fb0a,_0x502cbb,_0x497592);return Promise['all']([_0x30aa55,runWithConcurrency(_0x56818b,_0x34383e['map']((_0x1c0431,_0x36725d)=>()=>uploadPart(_0x65f166(_0x36725d),_0x1c0431,{'publicKey':_0x14ec92,'contentType':_0x1e3889,'onProgress':_0x181c2a(_0x34383e['length'],_0x36725d),'signal':_0x2695f1,'integration':_0x4744f9,'retryThrottledRequestMaxTimes':_0x58c35b,'retryNetworkErrorMaxTimes':_0x195957})))]);})['then'](([_0x33fee3])=>multipartComplete(_0x33fee3,{'publicKey':_0x14ec92,'baseURL':_0x84d8f0,'source':_0x30f322,'integration':_0x4744f9,'userAgent':_0xee7939,'retryThrottledRequestMaxTimes':_0x58c35b,'retryNetworkErrorMaxTimes':_0x195957}))['then'](_0x22f33d=>_0x22f33d['isReady']?_0x22f33d:_0x32a883(_0x22f33d['uuid'],{'publicKey':_0x14ec92,'baseURL':_0x84d8f0,'source':_0x30f322,'integration':_0x4744f9,'userAgent':_0xee7939,'retryThrottledRequestMaxTimes':_0x58c35b,'retryNetworkErrorMaxTimes':_0x195957,'onProgress':_0x589f16,'signal':_0x2695f1}))['then'](_0x50663c=>new _0x44bb78(_0x50663c,{'baseCDN':_0xa9d895}));};async function _0x5b943d(_0x6f7497,{publicKey:_0x1b6784,fileName:_0x312e6c,baseURL:_0x220e51=defaultSettings['baseURL'],secureSignature:_0x3228f4,secureExpire:_0x1cf26e,store:_0x1ac1d7,signal:_0x38c7fc,onProgress:_0xb5b016,source:_0x312aee,integration:_0x41ed75,userAgent:_0x548295,retryThrottledRequestMaxTimes:_0x333a30,retryNetworkErrorMaxTimes:_0x14a4ed,contentType:_0x157b15,multipartMinFileSize:_0x403e7e,multipartChunkSize:_0x4a37ef,maxConcurrentRequests:_0x811c8d,baseCDN:_0x2264d0=defaultSettings['baseCDN'],checkForUrlDuplicates:_0x14984b,saveUrlForRecurrentUploads:_0x118c55,pusherKey:_0x518cf0,metadata:_0x52a352}){if(isFileData(_0x6f7497)){const _0x5dd592=await getFileSize(_0x6f7497);return isMultipart(_0x5dd592,_0x403e7e)?uploadMultipart(_0x6f7497,{'publicKey':_0x1b6784,'contentType':_0x157b15,'multipartChunkSize':_0x4a37ef,'fileSize':_0x5dd592,'fileName':_0x312e6c,'baseURL':_0x220e51,'secureSignature':_0x3228f4,'secureExpire':_0x1cf26e,'store':_0x1ac1d7,'signal':_0x38c7fc,'onProgress':_0xb5b016,'source':_0x312aee,'integration':_0x41ed75,'userAgent':_0x548295,'maxConcurrentRequests':_0x811c8d,'retryThrottledRequestMaxTimes':_0x333a30,'retryNetworkErrorMaxTimes':_0x14a4ed,'baseCDN':_0x2264d0,'metadata':_0x52a352}):uploadDirect(_0x6f7497,{'publicKey':_0x1b6784,'fileName':_0x312e6c,'contentType':_0x157b15,'baseURL':_0x220e51,'secureSignature':_0x3228f4,'secureExpire':_0x1cf26e,'store':_0x1ac1d7,'signal':_0x38c7fc,'onProgress':_0xb5b016,'source':_0x312aee,'integration':_0x41ed75,'userAgent':_0x548295,'retryThrottledRequestMaxTimes':_0x333a30,'retryNetworkErrorMaxTimes':_0x14a4ed,'baseCDN':_0x2264d0,'metadata':_0x52a352});}if(_0xf8ef42(_0x6f7497))return _0x39fd72(_0x6f7497,{'publicKey':_0x1b6784,'fileName':_0x312e6c,'baseURL':_0x220e51,'baseCDN':_0x2264d0,'checkForUrlDuplicates':_0x14984b,'saveUrlForRecurrentUploads':_0x118c55,'secureSignature':_0x3228f4,'secureExpire':_0x1cf26e,'store':_0x1ac1d7,'signal':_0x38c7fc,'onProgress':_0xb5b016,'source':_0x312aee,'integration':_0x41ed75,'userAgent':_0x548295,'retryThrottledRequestMaxTimes':_0x333a30,'pusherKey':_0x518cf0,'metadata':_0x52a352});if(_0x265b73(_0x6f7497))return _0x38424c(_0x6f7497,{'publicKey':_0x1b6784,'fileName':_0x312e6c,'baseURL':_0x220e51,'signal':_0x38c7fc,'onProgress':_0xb5b016,'source':_0x312aee,'integration':_0x41ed75,'userAgent':_0x548295,'retryThrottledRequestMaxTimes':_0x333a30,'retryNetworkErrorMaxTimes':_0x14a4ed,'baseCDN':_0x2264d0});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x6f7497+'\x22\x20is\x20not\x20supported');}class _0x2c1202{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0x56b3b0,{baseCDN:_0x35a355=defaultSettings['baseCDN']}={}){this['uuid']=_0x56b3b0['id'],this['filesCount']=_0x56b3b0['filesCount'];const _0x3869e2=_0x56b3b0['files']['filter'](Boolean);this['totalSize']=Object['values'](_0x3869e2)['reduce']((_0x41baf8,_0x1f1ad9)=>_0x41baf8+_0x1f1ad9['size'],0x0),this['isStored']=!!_0x56b3b0['datetimeStored'],this['isImage']=!!Object['values'](_0x3869e2)['filter'](_0x198272=>_0x198272['isImage'])['length'],this['cdnUrl']=_0x56b3b0['cdnUrl'],this['files']=_0x3869e2['map'](_0x1b13d8=>new _0x44bb78(_0x1b13d8,{'baseCDN':_0x35a355})),this['createdAt']=_0x56b3b0['datetimeCreated'],this['storedAt']=_0x56b3b0['datetimeStored'];}}const isFileDataArray=_0x4722f8=>{for(const _0x4a7d7b of _0x4722f8)if(!isFileData(_0x4a7d7b))return!0x1;return!0x0;},_0x1ae62b=_0x2e8826=>{for(const _0x25fb2b of _0x2e8826)if(!_0x265b73(_0x25fb2b))return!0x1;return!0x0;},_0x407ac5=_0x1c04ff=>{for(const _0x3ced23 of _0x1c04ff)if(!_0xf8ef42(_0x3ced23))return!0x1;return!0x0;};function _0x52b0e2(_0x2416d9,{publicKey:_0x2b11c4,fileName:_0x3b96f2,baseURL:_0x5cf3ba=defaultSettings['baseURL'],secureSignature:_0x210064,secureExpire:_0x847064,store:_0xfd9f7c,signal:_0x25cd6e,onProgress:_0x2c5ba6,source:_0x3d0196,integration:_0x4a2e60,userAgent:_0x7ec5fa,retryThrottledRequestMaxTimes:_0x2daba6,retryNetworkErrorMaxTimes:_0x58d6b8,contentType:_0x34d5b1,multipartChunkSize:_0x20e4a5=defaultSettings['multipartChunkSize'],baseCDN:_0x7a6b2a=defaultSettings['baseCDN'],checkForUrlDuplicates:_0x9d2f3f,saveUrlForRecurrentUploads:_0x263af3,jsonpCallback:_0x4f0b2e}){if(!isFileDataArray(_0x2416d9)&&!_0x407ac5(_0x2416d9)&&!_0x1ae62b(_0x2416d9))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x2416d9+'\x22\x20is\x20not\x20supported');let _0x149b65,_0xbc3343=!0x0;const _0x622cc2=_0x2416d9['length'],_0x3b9076=(_0x59a2b8,_0x281a42)=>{if(!_0x2c5ba6)return;_0x149b65||(_0x149b65=Array(_0x59a2b8)['fill'](0x0));const _0x377250=_0x4fa64b=>_0x4fa64b['reduce']((_0x513623,_0x47f629)=>_0x513623+_0x47f629)/_0x59a2b8;return _0x4eac30=>{if(!_0x4eac30['isComputable']||!_0xbc3343)return _0xbc3343=!0x1,void _0x2c5ba6({'isComputable':!0x1});_0x149b65[_0x281a42]=_0x4eac30['value'],_0x2c5ba6({'isComputable':!0x0,'value':_0x377250(_0x149b65)});};};return Promise['all'](_0x2416d9['map']((_0x5b0f12,_0x1c659f)=>isFileData(_0x5b0f12)||_0xf8ef42(_0x5b0f12)?_0x5b943d(_0x5b0f12,{'publicKey':_0x2b11c4,'fileName':_0x3b96f2,'baseURL':_0x5cf3ba,'secureSignature':_0x210064,'secureExpire':_0x847064,'store':_0xfd9f7c,'signal':_0x25cd6e,'onProgress':_0x3b9076(_0x622cc2,_0x1c659f),'source':_0x3d0196,'integration':_0x4a2e60,'userAgent':_0x7ec5fa,'retryThrottledRequestMaxTimes':_0x2daba6,'retryNetworkErrorMaxTimes':_0x58d6b8,'contentType':_0x34d5b1,'multipartChunkSize':_0x20e4a5,'baseCDN':_0x7a6b2a,'checkForUrlDuplicates':_0x9d2f3f,'saveUrlForRecurrentUploads':_0x263af3})['then'](_0x36c703=>_0x36c703['uuid']):_0x5b0f12))['then'](_0x558e35=>_0x326047(_0x558e35,{'publicKey':_0x2b11c4,'baseURL':_0x5cf3ba,'jsonpCallback':_0x4f0b2e,'secureSignature':_0x210064,'secureExpire':_0x847064,'signal':_0x25cd6e,'source':_0x3d0196,'integration':_0x4a2e60,'userAgent':_0x7ec5fa,'retryThrottledRequestMaxTimes':_0x2daba6,'retryNetworkErrorMaxTimes':_0x58d6b8})['then'](_0x38f2bb=>new _0x2c1202(_0x38f2bb,{'baseCDN':_0x7a6b2a}))['then'](_0x44c1be=>(_0x2c5ba6&&_0x2c5ba6({'isComputable':!0x0,'value':0x1}),_0x44c1be)));}class _0x577cb4{['_concurrency']=0x1;['_pending']=[];['_running']=0x0;['_resolvers']=new Map();['_rejectors']=new Map();constructor(_0x2500dc){this['_concurrency']=_0x2500dc;}['run'](){const _0x3506cf=this['_concurrency']-this['_running'];for(let _0x494571=0x0;_0x494571<_0x3506cf;_0x494571++){const _0x1db693=this['_pending']['shift']();if(!_0x1db693)return;const _0x51c5b0=this['_resolvers']['get'](_0x1db693),_0x4bd470=this['_rejectors']['get'](_0x1db693);if(!_0x51c5b0||!_0x4bd470)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_running']+=0x1,_0x1db693()['finally'](()=>{this['_resolvers']['delete'](_0x1db693),this['_rejectors']['delete'](_0x1db693),this['_running']-=0x1,this['run']();})['then'](_0x3e659d=>_0x51c5b0(_0x3e659d))['catch'](_0x4841dd=>_0x4bd470(_0x4841dd));}}['add'](_0x169742,{autoRun:_0x3266d6}={'autoRun':!0x0}){return new Promise((_0x16229c,_0x130d0d)=>{this['_resolvers']['set'](_0x169742,_0x16229c),this['_rejectors']['set'](_0x169742,_0x130d0d),this['_pending']['push'](_0x169742),_0x3266d6&&this['run']();});}get['pending'](){return this['_pending']['length'];}get['running'](){return this['_running'];}set['concurrency'](_0x56dacd){this['_concurrency']=_0x56dacd,this['run']();}get['concurrency'](){return this['_concurrency'];}}const _0x1dfc25={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function _0x1be9dc(_0x1faf92,_0xc4871d){_0xc4871d['tabIndex']=0x0,_0xc4871d['focus'](),_0x1faf92['tabIndex']=-0x1;}function findGroupNodeByEventTarget(_0x4e5af5){let _0x404156=_0x4e5af5['role']||_0x4e5af5['type']||_0x4e5af5['tagName'];if(!_0x404156)return null;let _0x561c28=_0x1dfc25[_0x404156['toLowerCase']()];if(!_0x561c28)return null;for(let _0x4b2f92 of _0x561c28){let _0x5b3c2f=_0x4e5af5['closest']('[role='+_0x4b2f92+']');if(_0x5b3c2f)return _0x5b3c2f;}}function getItems(_0x173687,_0x103878){return'toolbar'===_0x103878['role']?getToolbarItems(_0x103878):_0x103878['querySelectorAll']('[role='+_0x173687['role']+']');}function getToolbarItems(_0x339c12){return[..._0x339c12['querySelectorAll']('*')]['filter'](_0x4ef08f=>'button'===_0x4ef08f['role']||'button'===_0x4ef08f['type']||'checkbox'===_0x4ef08f['role']||'checkbox'===_0x4ef08f['type']);}function isHorizontalOrientation(_0x561d49){let _0x49ce35=_0x561d49['getAttribute']('aria-orientation');if('vertical'===_0x49ce35)return!0x1;if('horizontal'===_0x49ce35)return!0x0;let _0x95315=_0x561d49['role'];return'menubar'===_0x95315||'tablist'===_0x95315||'toolbar'===_0x95315;}function _0x1a355e(_0x4c6a52){return _0x1d6079=>{let _0x5aa3d3=!0x1,_0x5bf649=0x0,_0x3e2188='';function _0x1c1ca2(_0x37a242){let _0x209d60=findGroupNodeByEventTarget(_0x37a242['target']);if(!_0x209d60)return void _0x294dff();let _0x294a97=getItems(_0x37a242['target'],_0x209d60),_0x268b85=Array['from'](_0x294a97)['indexOf'](_0x37a242['target']),_0x55a3c4='ArrowDown',_0x50b94d='ArrowUp';if(isHorizontalOrientation(_0x209d60)&&('rtl'===_0x1d6079['document']['dir']?(_0x55a3c4='ArrowLeft',_0x50b94d='ArrowRight'):(_0x55a3c4='ArrowRight',_0x50b94d='ArrowLeft')),_0x37a242['key']===_0x55a3c4)_0x37a242['preventDefault'](),_0x1be9dc(_0x37a242['target'],_0x294a97[_0x268b85+0x1]||_0x294a97[0x0]);else{if(_0x37a242['key']===_0x50b94d)_0x37a242['preventDefault'](),_0x1be9dc(_0x37a242['target'],_0x294a97[_0x268b85-0x1]||_0x294a97[_0x294a97['length']-0x1]);else{if('Home'===_0x37a242['key'])_0x37a242['preventDefault'](),_0x1be9dc(_0x37a242['target'],_0x294a97[0x0]);else{if('End'===_0x37a242['key'])_0x37a242['preventDefault'](),_0x1be9dc(_0x37a242['target'],_0x294a97[_0x294a97['length']-0x1]);else{if(0x1===_0x37a242['key']['length']&&'tablist'!==_0x209d60['role']){let _0x6001f=Date['now']();_0x6001f-_0x5bf649<=0x12c?_0x3e2188+=_0x37a242['key']['toLowerCase']():_0x3e2188=_0x37a242['key']['toLowerCase'](),_0x5bf649=_0x6001f;let _0xeb2527=Array['from'](_0x294a97)['find'](_0x1e21a6=>_0x1e21a6['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x3e2188));_0xeb2527&&(_0x37a242['preventDefault'](),_0x1be9dc(_0x37a242['target'],_0xeb2527));}}}}}}function _0x294dff(){_0x5aa3d3=!0x1,_0x1d6079['removeEventListener']('keydown',_0x1c1ca2);}function _0x140a9d(_0x2fa7e9){let _0x49c47f=findGroupNodeByEventTarget(_0x2fa7e9['target']);if(_0x49c47f){_0x5aa3d3||(_0x5aa3d3=!0x0,_0x1d6079['addEventListener']('keydown',_0x1c1ca2));let _0x1620f9=getItems(_0x2fa7e9['target'],_0x49c47f);for(let _0x1b6329 of _0x1620f9)_0x1b6329!==_0x2fa7e9['target']&&_0x1b6329['setAttribute']('tabindex',-0x1);}else _0x5aa3d3&&_0x294dff();}function _0x28be8b(_0x270028){_0x270028['relatedTarget']&&_0x270028['relatedTarget']!==_0x1d6079['document']||_0x294dff();}function _0x242365(_0x112707){let _0x2f0bc2=findGroupNodeByEventTarget(_0x112707['target']);if(_0x2f0bc2){let _0x1e40ad=getItems(_0x112707['target'],_0x2f0bc2);for(let _0x463e78 of _0x1e40ad)_0x463e78!==_0x112707['target']&&_0x463e78['setAttribute']('tabindex',-0x1);_0x112707['target']['setAttribute']('tabindex',0x0);}}return _0x1d6079['addEventListener']('click',_0x242365),_0x1d6079['addEventListener']('focusin',_0x140a9d),_0x1d6079['addEventListener']('focusout',_0x28be8b),()=>{_0x294dff(),_0x1d6079['removeEventListener']('click',_0x242365),_0x1d6079['removeEventListener']('focusin',_0x140a9d),_0x1d6079['removeEventListener']('focusout',_0x28be8b);};};}function _0x5f2b28(){return _0x157158=>{let _0x41b6ef,_0x22d11c;function _0x3c1d3f(_0x285561){if('true'===_0x285561['target']['getAttribute']('aria-hidden')){_0x41b6ef=_0x285561['target'],_0x41b6ef['setAttribute']('aria-hidden','false'),_0x22d11c=_0x41b6ef['hidden'],_0x22d11c&&(_0x41b6ef['hidden']=!0x1);let _0x923b76=_0x285561['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x923b76&&(_0x923b76['tabIndex']=0x0);}}function _0x45132f(_0x155135){!_0x41b6ef||!_0x41b6ef['contains'](_0x155135['target'])||_0x155135['relatedTarget']&&_0x41b6ef['contains'](_0x155135['relatedTarget'])||(_0x155135['target']['tabIndex']=-0x1,_0x41b6ef['setAttribute']('aria-hidden','true'),_0x22d11c&&(_0x41b6ef['hidden']=!0x0),_0x41b6ef=null);}return _0x157158['addEventListener']('keyuxJump',_0x3c1d3f),_0x157158['addEventListener']('focusout',_0x45132f),()=>{_0x157158['removeEventListener']('keyuxJump',_0x3c1d3f),_0x157158['removeEventListener']('focusout',_0x45132f);};};}function _0x465b86(){return _0x52ccd9=>{let _0x44c435=[];function _0x4501e6(){let _0x550e40=_0x44c435['pop']();if(!_0x550e40)return void _0x52ccd9['document']['activeElement']['blur']();let _0x24e415=_0x550e40['deref']();_0x24e415&&_0x24e415['isConnected']?_0x24e415['focus']():_0x4501e6();}let _0x15591e,_0x3a6715=0x0;function _0x2dd31f(_0x45115d){clearInterval(_0x15591e);let _0x20f8f2=_0x45115d['getAttribute']('aria-controls');_0x15591e=setInterval(()=>{if(_0x3a6715++>0x32)return void clearInterval(_0x15591e);let _0x4cf7e6=_0x52ccd9['document']['getElementById'](_0x20f8f2);if(_0x4cf7e6){let _0x50d3b1=_0x4cf7e6['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x50d3b1&&(clearInterval(_0x15591e),_0x4cf7e6['dispatchEvent'](new _0x52ccd9['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0x293398){let _0x493f52=_0x52ccd9['document']['activeElement'];_0x493f52&&_0x493f52!==_0x52ccd9['document']['body']&&_0x44c435['push'](new WeakRef(_0x493f52)),_0x293398['focus']({'focusVisible':!0x0});}(_0x50d3b1));}},0x32);}function _0x32a4e5(_0x572bba){_0x572bba['target']['getAttribute']('aria-controls')&&'Enter'===_0x572bba['key']&&_0x2dd31f(_0x572bba['target']),'Escape'===_0x572bba['key']&&_0x4501e6();}return _0x52ccd9['addEventListener']('keydown',_0x32a4e5),()=>{_0x52ccd9['removeEventListener']('keydown',_0x32a4e5);};};}function _0x5bccac(_0x1e7ecf){let _0x5ec2df,_0x338fb6,_0x5883da=_0x1e7ecf['split']('\x20');function _0x5392a7(_0x56a09c){'Enter'!==_0x56a09c['key']||'BUTTON'!==_0x56a09c['target']['tagName']&&'A'!==_0x56a09c['target']['tagName']||(_0x2c6ce6(),_0x56a09c['target']['classList']['add'](..._0x5883da),_0x5ec2df=_0x56a09c['target'],_0x338fb6=_0x56a09c['target']);}function _0x2c6ce6(){_0x5ec2df&&_0x5ec2df['classList']['remove'](..._0x5883da),_0x338fb6=null;}function _0x26a2c5(_0x5cd720){0x0===_0x5cd720['clientX']&&0x0===_0x5cd720['clientY']&&_0x338fb6!==_0x5cd720['target']&&(_0x2c6ce6(),_0x5cd720['target']['classList']['add'](..._0x5883da),_0x5ec2df=_0x5cd720['target']);}return _0xcbafdc=>(_0xcbafdc['addEventListener']('click',_0x26a2c5),_0xcbafdc['addEventListener']('keydown',_0x5392a7),_0xcbafdc['addEventListener']('keyup',_0x2c6ce6),()=>{_0xcbafdc['removeEventListener']('click',_0x26a2c5),_0xcbafdc['removeEventListener']('keydown',_0x5392a7),_0xcbafdc['removeEventListener']('keyup',_0x2c6ce6);});}function startKeyUX(_0x5a3b93,_0x4557e0){let _0x13dc0d=_0x4557e0['map'](_0x46c513=>_0x46c513(_0x5a3b93));return()=>{_0x13dc0d['forEach'](_0x2cf51f=>_0x2cf51f());};}function _0x413b9b(_0x13cd06){return _0x13cd06['replace'](/[A-Z]/g,_0x2d1a4a=>'_'+_0x2d1a4a['toLowerCase']())['replace'](/__/g,'_');}function _0x11157a(_0x4742ff){return Array['isArray'](_0x4742ff)?_0x4742ff['map'](_0x46312e=>'object'==typeof _0x46312e&&null!==_0x46312e?_0x11157a(_0x46312e):_0x46312e):'object'!=typeof _0x4742ff||null===_0x4742ff?_0x4742ff:Object['fromEntries'](Object['entries'](_0x4742ff)['map'](([_0x28ba8f,_0x11e074])=>{const t=_0x413b9b(_0x28ba8f);return'object'==typeof _0x11e074&&null!==_0x11e074?[t,_0x11157a(_0x11e074)]:[t,_0x11e074];}));}function _0x33dc36(_0x409c92){return{'ok':!0x0,'value':_0x409c92};}function _0x40fd63(_0x517717){return{'ok':!0x1,'error':_0x517717};}const _0x91d54b='https://tlm.uploadcare.com/api/';class _0x595ec0{constructor(_0x47f0f4=_0x91d54b){this['baseUrl']=_0x47f0f4;}async['base'](_0x1d4ef8,_0xc5ac25={}){const t=''+this['baseUrl']+_0x1d4ef8;try{const _0x316eb4=await fetch(t,_0xc5ac25);if(!_0x316eb4['ok'])return _0x40fd63(new Error('Got\x20non-200\x20response\x20from\x20\x22'+t+'\x22.\x20Status:\x20'+_0x316eb4['status']['toString']()));try{return _0x33dc36(await _0x316eb4['json']());}catch(_0x45cd85){return _0x40fd63(new Error('Error\x20parsing\x20JSON\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0x45cd85));}}catch(_0x447a12){return _0x40fd63(new Error('Error\x20fetching\x20data\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0x447a12));}}async['post'](_0x4c2c11,_0x5cab7e,t={}){return await this['base'](_0x4c2c11,{...t,'method':'POST','body':JSON['stringify'](_0x11157a(_0x5cab7e)),'headers':{'Content-Type':'application/json',...t['headers']||{}}});}async['get'](_0x732845,_0x55c75e={}){return await this['base'](_0x732845,{'method':'GET',..._0x55c75e});}}const _0x33b59c=async(_0x460337,_0x3dd8ac)=>({'success':!0x0,'data':_0x3dd8ac});class _0x29d74a extends _0x595ec0{constructor(){super();}async['sendEvent'](_0x35dd02,_0x5e3fda){const t=await _0x33b59c(void 0x0,_0x35dd02);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',_0x35dd02,_0x5e3fda);}}const _0x199b82=(_0x546fea,_0x4b526d)=>{const _0xf8e557=new URL(_0x4b526d);return _0xf8e557['hostname']=_0x546fea+'.'+_0xf8e557['hostname'],_0xf8e557['toString']()['replace'](/\/$/,'');},_0x543c5a='0123456789abcdefghijklmnopqrstuvwxyz',_0x16ba31=_0x3f831b=>{if(_0x3f831b<=0x0n)return'0';let _0x26ad05='';for(;_0x3f831b>0x0n;){_0x26ad05=_0x543c5a[Number(_0x3f831b%0x24n)]+_0x26ad05,_0x3f831b/=0x24n;}return _0x26ad05;},_0x556579=(_0x362ef5,_0x235824)=>{try{const _0x2f6643=new URL(_0x362ef5),t=new URL(_0x235824);return _0x2f6643['hostname']['endsWith'](t['hostname']);}catch{return!0x1;}},_0x22db9e=async _0x58cfb5=>{const _0x54d068=new TextEncoder()['encode'](_0x58cfb5),t=await window['crypto']['subtle']['digest']('SHA-256',_0x54d068),_0x1f8d1c=Array['from'](new Uint8Array(t))['map'](_0x475db3=>_0x475db3['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0x1f8d1c);},_0xc59c37=0xa,_0x2f6686=async _0x2d19a7=>{const _0x4f6338=await _0x22db9e(_0x2d19a7);return _0x16ba31(_0x4f6338)['slice'](0x0,_0xc59c37);},_0x48ed81=async(_0x19b709,_0x3144ba)=>{const t=await _0x2f6686(_0x19b709);return _0x199b82(t,_0x3144ba);},_0xeeec3b=()=>{const _0x20fc24=[];return{'stack':_0x20fc24,'promiseReadJpegChunks':_0x30c3fa=>new Promise((_0x2affc0,_0x494093)=>{let _0xb6f6cc=0x2;const _0x3379fc=(_0x2a0c21,_0x4c88e7)=>{const _0x53bdcc=new FileReader();_0x53bdcc['addEventListener']('load',()=>{_0x4c88e7(new DataView(_0x53bdcc['result']));}),_0x53bdcc['addEventListener']('error',_0x1bd2f9=>{_0x494093('Reader\x20error:\x20'+_0x1bd2f9);}),_0x53bdcc['readAsArrayBuffer'](_0x2a0c21);},_0xe7846b=()=>_0x3379fc(_0x30c3fa['slice'](_0xb6f6cc,_0xb6f6cc+0x80),_0x10dd8f=>{let _0x355bef,_0x107672,_0x25243c;for(_0x355bef=_0x107672=0x0,_0x25243c=_0x10dd8f['byteLength'];_0x25243c>=0x0?_0x107672<_0x25243c:_0x107672>_0x25243c;_0x355bef=_0x25243c>=0x0?++_0x107672:--_0x107672)if(0xff===_0x10dd8f['getUint8'](_0x355bef)){_0xb6f6cc+=_0x355bef;break;}_0x922abb();}),_0x922abb=()=>{const _0x5d8b50=_0xb6f6cc;return _0x3379fc(_0x30c3fa['slice'](_0xb6f6cc,_0xb6f6cc+=0x4),_0x3859e5=>{if(0x4!==_0x3859e5['byteLength']||0xff!==_0x3859e5['getUint8'](0x0))return void _0x494093('Corrupted');const _0xbecf91=_0x3859e5['getUint8'](0x1);if(0xda===_0xbecf91)return void _0x2affc0(!0x0);const _0x3814e1=_0x3859e5['getUint16'](0x2)-0x2;return _0x3379fc(_0x30c3fa['slice'](_0xb6f6cc,_0xb6f6cc+=_0x3814e1),_0x11d6f2=>{_0x11d6f2['byteLength']===_0x3814e1?(_0x20fc24['push']({'startPos':_0x5d8b50,'length':_0x3814e1,'marker':_0xbecf91,'view':_0x11d6f2}),_0xe7846b()):_0x494093('Corrupted');});});};FileReader&&DataView||_0x494093('Not\x20Support'),_0x3379fc(_0x30c3fa['slice'](0x0,0x2),_0x5cbd59=>{0xffd8!==_0x5cbd59['getUint16'](0x0)&&_0x494093('Not\x20jpeg'),_0xe7846b();});})};},getIccProfile=async _0x35439c=>{const _0x3cc013=[],{promiseReadJpegChunks:_0x3c93c7,stack:_0x52f523}=_0xeeec3b();return await _0x3c93c7(_0x35439c),_0x52f523['forEach'](({marker:_0x5a5b25,view:_0x536ccd})=>{0xe2===_0x5a5b25&&0x4943435f===_0x536ccd['getUint32'](0x0)&&0x50524f46===_0x536ccd['getUint32'](0x4)&&0x494c4500===_0x536ccd['getUint32'](0x8)&&_0x3cc013['push'](_0x536ccd);}),_0x3cc013;},_0x69ecf6=async(_0x14dbb0,_0x450b5c,_0x2a6c18)=>{{const _0x40408a=[],_0x1f1806=[],{promiseReadJpegChunks:_0x391fa9,stack:_0x50bb4e}=_0xeeec3b();await _0x391fa9(_0x14dbb0),_0x50bb4e['forEach'](_0x24bb8e=>{if(_0x24bb8e['marker']===_0x450b5c)return _0x40408a['push'](_0x24bb8e['startPos']),_0x1f1806['push'](_0x24bb8e['length']);});const _0x52c8cd=[_0x14dbb0['slice'](0x0,0x2)];for(const _0x2c0cb4 of _0x2a6c18){const _0x2691ea=new DataView(new ArrayBuffer(0x4));_0x2691ea['setUint16'](0x0,0xff00+_0x450b5c),_0x2691ea['setUint16'](0x2,_0x2c0cb4['byteLength']+0x2),_0x52c8cd['push'](_0x2691ea['buffer']),_0x52c8cd['push'](_0x2c0cb4);}let _0x109dc0=0x2;for(let _0x52137b=0x0;_0x52137b<_0x40408a['length'];_0x52137b++)_0x40408a[_0x52137b]>_0x109dc0&&_0x52c8cd['push'](_0x14dbb0['slice'](_0x109dc0,_0x40408a[_0x52137b])),_0x109dc0=_0x40408a[_0x52137b]+_0x1f1806[_0x52137b]+0x4;return _0x52c8cd['push'](_0x14dbb0['slice'](_0x109dc0,_0x14dbb0['size'])),new Blob(_0x52c8cd,{'type':_0x14dbb0['type']});}},_0x30b4f5=0xe2,_0x1e9e98=(_0x44b87c,_0x4019e9)=>_0x69ecf6(_0x44b87c,_0x30b4f5,_0x4019e9['map'](_0x3f0771=>_0x3f0771['buffer'])),stripIccProfile=async _0x496445=>{try{return await _0x1e9e98(_0x496445,[]);}catch(_0x30b400){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x30b400);}},_0x28b000=(_0x2f0965,_0x305233,_0x33dae2)=>new Promise((_0x485199,_0x1d1e03)=>{_0x2f0965['toBlob'](_0x107184=>{_0x107184?_0x485199(_0x107184):_0x1d1e03('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x305233,_0x33dae2),_0x2f0965['width']=_0x2f0965['height']=0x1;}),createCanvas=()=>{const _0xb0da1=document['createElement']('canvas'),_0xe78861=_0xb0da1['getContext']('2d');return{'canvas':_0xb0da1,'ctx':_0xe78861};},_0x1f5d64=_0x1a23c0=>{const {ctx:_0x38e551,canvas:_0x44064b}=createCanvas();_0x44064b['width']=_0x44064b['height']=0x32,_0x38e551['drawImage'](_0x1a23c0,0x0,0x0,0x32,0x32);const _0x544a71=_0x38e551['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x44064b['width']=_0x44064b['height']=0x1;for(let _0x33f0fd=0x3;_0x33f0fd<_0x544a71['length'];_0x33f0fd+=0x4)if(_0x544a71[_0x33f0fd]<0xfe)return!0x0;return!0x1;},getExif=async _0x5bcae5=>{let _0x44d900=null;const {promiseReadJpegChunks:_0x3f009c,stack:_0x33a90e}=_0xeeec3b();return await _0x3f009c(_0x5bcae5),_0x33a90e['forEach'](({marker:_0x2cc758,view:_0x255438})=>{!_0x44d900&&0xe1===_0x2cc758&&_0x255438['byteLength']>=0xe&&0x45786966===_0x255438['getUint32'](0x0)&&0x0===_0x255438['getUint16'](0x4)&&(_0x44d900=_0x255438);}),_0x44d900;},_0x45947e='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';let _0x2f9273;const isBrowserApplyExifOrientation=()=>new Promise(_0x2059fa=>{if(void 0x0!==_0x2f9273)_0x2059fa(_0x2f9273);else{const _0x42b799=new Image();_0x42b799['addEventListener']('load',()=>{_0x2f9273=_0x42b799['naturalWidth']<_0x42b799['naturalHeight'],_0x42b799['src']='//:0',_0x2059fa(_0x2f9273);}),_0x42b799['src']=_0x45947e;}}),findExifOrientation=(_0x23a346,_0x1fa179)=>{let _0x3af5bb,_0x1e135b,_0x2b0124,_0x4e8c02;if(!_0x23a346||_0x23a346['byteLength']<0xe||0x45786966!==_0x23a346['getUint32'](0x0)||0x0!==_0x23a346['getUint16'](0x4))return;if(0x4949===_0x23a346['getUint16'](0x6))_0x1e135b=!0x0;else{if(0x4d4d!==_0x23a346['getUint16'](0x6))return;_0x1e135b=!0x1;}if(0x2a!==_0x23a346['getUint16'](0x8,_0x1e135b))return;_0x2b0124=0x8+_0x23a346['getUint32'](0xa,_0x1e135b);for(_0x3af5bb=0x0,_0x4e8c02=_0x23a346['getUint16'](_0x2b0124-0x2,_0x1e135b);_0x4e8c02>=0x0?_0x3af5bb<_0x4e8c02:_0x3af5bb>_0x4e8c02;_0x4e8c02>=0x0?++_0x3af5bb:--_0x3af5bb){if(_0x23a346['byteLength']<_0x2b0124+0xa)return;0x112===_0x23a346['getUint16'](_0x2b0124,_0x1e135b)&&_0x1fa179(_0x2b0124+0x8,_0x1e135b),_0x2b0124+=0xc;}},setExifOrientation=(_0xc5e86c,_0x31eaa3)=>{findExifOrientation(_0xc5e86c,(_0x177736,_0x24fa16)=>_0xc5e86c['setUint16'](_0x177736,_0x31eaa3,_0x24fa16));},_0x1cb121=async(_0x1ed4f8,_0xf52430,_0xcdbd79)=>(_0xcdbd79&&setExifOrientation(_0xf52430,0x1),_0x69ecf6(_0x1ed4f8,0xe1,[_0xf52430['buffer']])),_0x576c68=(_0x1fc351,_0x42cd9e)=>new Promise((_0x30c265,_0x3299bb)=>{_0x42cd9e&&(_0x1fc351['src']=_0x42cd9e),_0x1fc351['complete']?_0x30c265(_0x1fc351):(_0x1fc351['addEventListener']('load',()=>{_0x30c265(_0x1fc351);}),_0x1fc351['addEventListener']('error',()=>{_0x3299bb(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}),_0x284fce=_0x569af4=>_0x576c68(new Image(),_0x569af4),_0x57dc5c=[0x1,0x3],_0x5d18c6=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],_0x2bc2e9={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},_0x3739a9=async _0x21bba6=>{let _0x4c81c9=!0x1;const {promiseReadJpegChunks:_0x361323,stack:_0x5b1590}=_0xeeec3b();return await _0x361323(_0x21bba6)['then'](()=>(_0x5b1590['forEach'](({marker:_0xffb887,view:_0x381ae})=>{if(!_0x4c81c9&&_0x5d18c6['indexOf'](_0xffb887)>=0x0){const _0x412a40=_0x381ae['getUint8'](0x5);_0x57dc5c['indexOf'](_0x412a40)<0x0&&(_0x4c81c9=!0x0);}}),_0x4c81c9))['catch'](()=>_0x4c81c9);},_0x20ca9a=(_0x18add5,_0x5c9b92)=>{const _0x32eb6a={};return(..._0x1fb005)=>{const _0x37b785=_0x5c9b92(_0x1fb005,_0x32eb6a);return _0x37b785 in _0x32eb6a?_0x32eb6a[_0x37b785]:_0x32eb6a[_0x37b785]=_0x18add5(..._0x1fb005);};},_0x41ec4e=(_0x27f328,_0x56b45d)=>{const [_0x526899]=_0x27f328,_0x1a1d4b=Object['keys'](_0x56b45d)['map'](_0x88e6c5=>parseInt(_0x88e6c5,0xa))['sort']((_0x57f806,_0x423ac1)=>_0x57f806-_0x423ac1);for(let _0xf0bb99=0x0;_0xf0bb99<_0x1a1d4b['length'];_0xf0bb99++){const _0x17e00d=_0x1a1d4b[_0xf0bb99],_0x5d321f=!!_0x56b45d[_0x17e00d];if(_0x17e00d>_0x526899&&_0x5d321f)return _0x17e00d;if(_0x17e00d<_0x526899&&!_0x5d321f)return _0x17e00d;}return _0x526899;},TestPixel={'R':0x37,'G':0x6e,'B':0xa5,'A':0xff},_0x58d553='rgba('+TestPixel['R']+',\x20'+TestPixel['G']+',\x20'+TestPixel['B']+',\x20'+TestPixel['A']/0xff+')',canvasTest=(_0x8d49d6,_0x3f0818)=>{try{const _0x5830b8=[_0x8d49d6-0x1,_0x3f0818-0x1,0x1,0x1],{canvas:_0x54f22a,ctx:_0x2f0585}=createCanvas();_0x54f22a['width']=0x1,_0x54f22a['height']=0x1;const {canvas:_0x81c9b8,ctx:_0x3d90a3}=createCanvas();_0x81c9b8['width']=_0x8d49d6,_0x81c9b8['height']=_0x3f0818,_0x3d90a3&&(_0x3d90a3['fillStyle']=_0x58d553,_0x3d90a3['fillRect'](..._0x5830b8),_0x2f0585['drawImage'](_0x81c9b8,_0x8d49d6-0x1,_0x3f0818-0x1,0x1,0x1,0x0,0x0,0x1,0x1));const _0x10744c=_0x2f0585&&_0x2f0585['getImageData'](0x0,0x0,0x1,0x1)['data'];let _0x5573c8=!0x1;return _0x10744c&&(_0x5573c8=_0x10744c[0x0]===TestPixel['R']&&_0x10744c[0x1]===TestPixel['G']&&_0x10744c[0x2]===TestPixel['B']&&_0x10744c[0x3]===TestPixel['A']),_0x81c9b8['width']=_0x81c9b8['height']=0x1,_0x5573c8;}catch(_0x5f124c){return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x8d49d6+'x'+_0x3f0818+'.'),!0x1;}};function _0x36284a(_0x6910f4){return(..._0x5cdf12)=>new Promise(_0x38e12f=>{setTimeout(()=>{const _0x28be53=_0x6910f4(..._0x5cdf12);_0x38e12f(_0x28be53);},0x0);});}const squareTest=_0x36284a(_0x20ca9a(canvasTest,_0x41ec4e)),dimensionTest=_0x36284a(_0x20ca9a(canvasTest,_0x41ec4e)),testCanvasSize=async(_0x55ffdc,_0x5c51e6)=>{const _0x8a7e91=_0x2bc2e9['squareSide']['find'](_0x462eda=>_0x462eda*_0x462eda>=_0x55ffdc*_0x5c51e6),_0x4f87c3=_0x2bc2e9['dimension']['find'](_0xac1d9b=>_0xac1d9b>=_0x55ffdc&&_0xac1d9b>=_0x5c51e6);if(!_0x8a7e91||!_0x4f87c3)throw new Error('Not\x20supported');const [_0x12bca1,_0x3908be]=await Promise['all']([squareTest(_0x8a7e91,_0x8a7e91),dimensionTest(_0x4f87c3,0x1)]);if(_0x12bca1&&_0x3908be)return!0x0;throw new Error('Not\x20supported');},_0x4eeca6=async(_0x3ccac1,_0x377206,_0x41b9e5)=>{try{const {ctx:_0x31b50a,canvas:_0x584743}=createCanvas();return _0x584743['width']=_0x377206,_0x584743['height']=_0x41b9e5,_0x31b50a['imageSmoothingQuality']='high',_0x31b50a['drawImage'](_0x3ccac1,0x0,0x0,_0x377206,_0x41b9e5),_0x3ccac1 instanceof HTMLImageElement&&(_0x3ccac1['src']='//:0'),_0x3ccac1 instanceof HTMLCanvasElement&&(_0x3ccac1['width']=_0x3ccac1['height']=0x1),_0x584743;}catch(_0x8cbbab){throw new Error('Canvas\x20resize\x20error',{'cause':_0x8cbbab});}},native=({img:_0x1861a7,targetW:_0x59dfb7,targetH:_0x27f69b})=>_0x4eeca6(_0x1861a7,_0x59dfb7,_0x27f69b),calcShrinkSteps=function({sourceW:_0x12a780,targetW:_0x3ca160,targetH:_0x27abef,step:_0x5d0056}){const _0x1d8d16=[];let _0x126371=_0x3ca160,_0x73e3f2=_0x27abef;do{_0x1d8d16['push']([_0x126371,_0x73e3f2]),_0x126371=Math['round'](_0x126371/_0x5d0056),_0x73e3f2=Math['round'](_0x73e3f2/_0x5d0056);}while(_0x126371<_0x12a780*_0x5d0056);return _0x1d8d16['reverse']();},_0x8ed076=({img:_0x20c50a,sourceW:_0x21dd78,targetW:_0x3c4f23,targetH:_0x30f01e,step:_0x32eed0})=>{const _0x106d9b=calcShrinkSteps({'sourceW':_0x21dd78,'targetW':_0x3c4f23,'targetH':_0x30f01e,'step':_0x32eed0});return _0x106d9b['reduce']((_0x1ce4ee,[_0x48b843,_0x89da7a],_0x2bb3c2)=>_0x1ce4ee['then'](_0x35582d=>testCanvasSize(_0x48b843,_0x89da7a)['then'](()=>_0x4eeca6(_0x35582d,_0x48b843,_0x89da7a))['catch'](()=>{if(_0x2bb3c2===_0x106d9b['length']-0x1)throw new Error('Not\x20supported');return _0x35582d;})),Promise['resolve'](_0x20c50a));},_0x2fc1ec=()=>!!/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0xc9f65d=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x3c0eb7=0.71,_0xf3c50=(_0x13f4ea,_0x96c52d)=>{if(_0x13f4ea['width']*_0x3c0eb7*_0x13f4ea['height']*_0x3c0eb7<_0x96c52d['size'])throw new Error('Not\x20required');const _0x411c1c=_0x13f4ea['width'],_0x1380a8=_0x13f4ea['height'],_0x1cc2ee=_0x411c1c/_0x1380a8,_0x3308c5=Math['floor'](Math['sqrt'](_0x96c52d['size']*_0x1cc2ee)),_0xdda7e7=Math['floor'](_0x96c52d['size']/Math['sqrt'](_0x96c52d['size']*_0x1cc2ee));return testCanvasSize(_0x3308c5,_0xdda7e7)['then'](()=>{const {ctx:_0x58da66}=createCanvas();return'imageSmoothingQuality'in _0x58da66&&!_0x2fc1ec()&&!_0xc9f65d?native({'img':_0x13f4ea,'targetW':_0x3308c5,'targetH':_0xdda7e7}):_0x8ed076({'img':_0x13f4ea,'sourceW':_0x411c1c,'targetW':_0x3308c5,'targetH':_0xdda7e7,'step':_0x3c0eb7});})['catch'](()=>Promise['reject']('Not\x20supported'));},_0x5c7823=async(_0xa3759f,_0x185de0)=>{try{if(await _0x3739a9(_0xa3759f))throw new Error('Should\x20skipped');const _0x360a96=await Promise['allSettled']([getExif(_0xa3759f),isBrowserApplyExifOrientation(),getIccProfile(_0xa3759f)]),_0x1a0807=!_0x360a96['some'](_0x1735ca=>'rejected'===_0x1735ca['status']),[_0x554725,_0x48ec89,_0x3edc97]=_0x360a96,_0x54a1e1=await stripIccProfile(_0xa3759f)['catch'](()=>_0xa3759f),_0x1c4744=await _0x284fce(URL['createObjectURL'](_0x54a1e1));URL['revokeObjectURL'](_0x1c4744['src']);const _0xb55577=await _0xf3c50(_0x1c4744,_0x185de0);let _0x27d865='image/jpeg',_0x286d12=_0x185de0?.['quality']||0.8;!_0x1a0807&&_0x1f5d64(_0xb55577)&&(_0x27d865='image/png',_0x286d12=void 0x0);let _0x1e7eb5=await _0x28b000(_0xb55577,_0x27d865,_0x286d12);if(_0x1a0807&&'fulfilled'===_0x554725['status']&&_0x554725['value']){const _0x4b7d1b=_0x554725['value'],_0x2fdbb7='fulfilled'===_0x48ec89['status']&&_0x48ec89['value'];_0x1e7eb5=await _0x1cb121(_0x1e7eb5,_0x4b7d1b,_0x2fdbb7);}return _0x1a0807&&'fulfilled'===_0x3edc97['status']&&_0x3edc97['value']['length']>0x0&&(_0x1e7eb5=await _0x1e9e98(_0x1e7eb5,_0x3edc97['value'])),_0x1e7eb5;}catch(_0x70458a){let _0x286ad0;throw _0x70458a instanceof Error&&(_0x286ad0=_0x70458a['message']),'string'==typeof _0x70458a&&(_0x286ad0=_0x70458a),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x286ad0?'Message:\x20\x22'+_0x286ad0+'\x22.':''),{'cause':_0x70458a});}};var _0x55d438=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(_0x4874dd){this['_debugPrint']=_0x4874dd;}['bindTarget'](_0xde3a25){this['_targets']['add'](_0xde3a25);}['unbindTarget'](_0x330b77){this['_targets']['delete'](_0x330b77);}['_dispatch'](_0x8963cd,_0x2c273e){for(const _0x9fcf0e of this['_targets'])_0x9fcf0e['dispatchEvent'](new CustomEvent(_0x8963cd,{'detail':_0x2c273e}));this['_debugPrint']?.(()=>{const _0xf709c=_0x2c273e&&'object'==typeof _0x2c273e?{..._0x2c273e}:_0x2c273e;return['event\x20\x22'+_0x8963cd+'\x22',_0xf709c];});}['emit'](_0x32ab3e,_0x5afd33,_0x484327={}){const {debounce:_0x21ebf9}=_0x484327;if('number'!=typeof _0x21ebf9&&!_0x21ebf9)return void this['_dispatch'](_0x32ab3e,'function'==typeof _0x5afd33?_0x5afd33():_0x5afd33);this['_timeoutStore']['has'](_0x32ab3e)&&window['clearTimeout'](this['_timeoutStore']['get'](_0x32ab3e));const _0x2aa56e='number'==typeof _0x21ebf9?_0x21ebf9:_0x55d438,_0x7c1f44=window['setTimeout'](()=>{this['_dispatch'](_0x32ab3e,'function'==typeof _0x5afd33?_0x5afd33():_0x5afd33),this['_timeoutStore']['delete'](_0x32ab3e);},_0x2aa56e);this['_timeoutStore']['set'](_0x32ab3e,_0x7c1f44);}};function _0x4b27cc(_0x3fd3d0,_0x32621b){let _0x11ecb8;const _0x423738=(..._0xfe1ac2)=>{_0x11ecb8&&clearTimeout(_0x11ecb8),_0x11ecb8=setTimeout(()=>_0x3fd3d0(..._0xfe1ac2),_0x32621b);};return _0x423738['cancel']=()=>{_0x11ecb8&&clearTimeout(_0x11ecb8);},_0x423738;}var _0x28e87f=_0x38d3f8=>_0x38d3f8?_0x38d3f8['split'](',')['map'](_0x3de572=>_0x3de572['trim']())['filter'](Boolean):[],_0x3f0423=_0x566c65=>_0x566c65['join'](','),normalizeCdnOperation=_0x175cc4=>{if('string'!=typeof _0x175cc4||!_0x175cc4)return'';let _0x27a5cb=_0x175cc4['trim']();return _0x27a5cb['startsWith']('-/')?_0x27a5cb=_0x27a5cb['slice'](0x2):_0x27a5cb['startsWith']('/')&&(_0x27a5cb=_0x27a5cb['slice'](0x1)),_0x27a5cb['endsWith']('/')&&(_0x27a5cb=_0x27a5cb['slice'](0x0,_0x27a5cb['length']-0x1)),_0x27a5cb;},joinCdnOperations=(..._0x126435)=>_0x126435['filter'](_0xa1127b=>'string'==typeof _0xa1127b&&!!_0xa1127b)['map'](_0x1c4b4b=>normalizeCdnOperation(_0x1c4b4b))['join']('/-/'),createCdnUrlModifiers=(..._0x8738c9)=>{const _0x1165a8=joinCdnOperations(..._0x8738c9);return _0x1165a8?'-/'+_0x1165a8+'/':'';};function extractFilename(_0xcbbf38){const _0x2a895b=new URL(_0xcbbf38),_0x594087=_0x2a895b['pathname']+_0x2a895b['search']+_0x2a895b['hash'],_0x5f2de0=_0x594087['lastIndexOf']('http'),_0x2d4474=_0x594087['lastIndexOf']('/');let _0x24d8b4='';return _0x5f2de0>=0x0?_0x24d8b4=_0x594087['slice'](_0x5f2de0):_0x2d4474>=0x0&&(_0x24d8b4=_0x594087['slice'](_0x2d4474+0x1)),_0x24d8b4;}function extractUuid(_0x1339c6){const _0x5c6ef1=new URL(_0x1339c6),{pathname:_0x2242de}=_0x5c6ef1,_0x12f270=_0x2242de['indexOf']('/'),_0x12b500=_0x2242de['indexOf']('/',_0x12f270+0x1);return _0x2242de['substring'](_0x12f270+0x1,_0x12b500);}function extractCdnUrlModifiers(_0x8f508f){const _0x4ffddb=trimFilename(_0x8f508f),_0x38e322=new URL(_0x4ffddb),_0x4dc5e3=_0x38e322['pathname']['indexOf']('/-/');if(-0x1===_0x4dc5e3)return'';return _0x38e322['pathname']['substring'](_0x4dc5e3)['slice'](0x1);}function extractOperations(_0x419834){return extractCdnUrlModifiers(_0x419834)['split']('/-/')['filter'](Boolean)['map'](_0x16f437=>normalizeCdnOperation(_0x16f437));}function trimFilename(_0x417f3b){const _0x4b2c45=new URL(_0x417f3b),_0x558d15=extractFilename(_0x417f3b),_0x3061ec=_0xcd4275(_0x558d15)?splitFileUrl(_0x558d15)['pathname']:_0x558d15;return _0x4b2c45['pathname']=_0x4b2c45['pathname']['replace'](_0x3061ec,''),_0x4b2c45['search']='',_0x4b2c45['hash']='',_0x4b2c45['toString']();}function _0xcd4275(_0x49a462){return _0x49a462['startsWith']('http');}function splitFileUrl(_0x45588d){const _0x40ed9e=new URL(_0x45588d);return{'pathname':''+_0x40ed9e['origin']+(_0x40ed9e['pathname']??''),'search':_0x40ed9e['search']??'','hash':_0x40ed9e['hash']??''};}var createCdnUrl=(_0x58ad1e,_0x561cc0,_0x4794b2)=>{const _0x18065a=new URL(trimFilename(_0x58ad1e)),_0x43203a=_0x4794b2??extractFilename(_0x58ad1e),_0x44e874=_0x561cc0??'';if(_0x18065a['pathname']['startsWith']('//')&&(_0x18065a['pathname']=_0x18065a['pathname']['replace']('//','/')),_0x43203a&&_0xcd4275(_0x43203a)){const _0x2d28bc=splitFileUrl(_0x43203a);_0x18065a['pathname']=''+_0x18065a['pathname']+_0x44e874+(_0x2d28bc['pathname']||''),_0x18065a['search']=_0x2d28bc['search'],_0x18065a['hash']=_0x2d28bc['hash'];}else _0x18065a['pathname']=''+_0x18065a['pathname']+_0x44e874+(_0x43203a||'');return _0x18065a['toString']();},createOriginalUrl=(_0x56037a,_0x3f671e)=>{const _0x3b3ee8=new URL(_0x56037a);return _0x3b3ee8['pathname']=_0x3f671e+'/',_0x3b3ee8['toString']();},stringToArray=(_0x3080ae,_0x166d00=',')=>_0x3080ae['trim']()['split'](_0x166d00)['map'](_0x205284=>_0x205284['trim']())['filter'](_0x1c38bd=>_0x1c38bd['length']>0x0),_0x1bd93d=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}),_0x5d0a42=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function transformationToStr(_0xd13cf9,_0x5bc9d8){if('number'==typeof _0x5bc9d8){const _0x3a8b18=_0x5bc9d8;return _0x1bd93d[_0xd13cf9]!==_0x3a8b18?_0xd13cf9+'/'+_0x3a8b18:'';}if('boolean'==typeof _0x5bc9d8){const _0x136d37=_0x5bc9d8;return _0x1bd93d[_0xd13cf9]!==_0x136d37?''+_0xd13cf9:'';}if('filter'===_0xd13cf9&&_0x5bc9d8){const {name:_0x5371d8,amount:_0x2551fb}=_0x5bc9d8;return _0x1bd93d['filter']===_0x2551fb?'':_0xd13cf9+'/'+_0x5371d8+'/'+_0x2551fb;}if('crop'===_0xd13cf9&&_0x5bc9d8){const {dimensions:_0x2df5ac,coords:_0x5d406c}=_0x5bc9d8;return _0xd13cf9+'/'+_0x2df5ac['join']('x')+'/'+_0x5d406c['join'](',');}return'';}function transformationsToOperations(_0x12def8){return joinCdnOperations(..._0x5d0a42['filter'](_0x56d931=>void 0x0!==_0x12def8[_0x56d931]&&null!==_0x12def8[_0x56d931])['map'](_0x3b9697=>transformationToStr(_0x3b9697,_0x12def8[_0x3b9697]))['filter'](_0x245327=>!!_0x245327));}var _0x58d0d5=joinCdnOperations('format/auto','progressive/yes'),_0x1f556e=([_0x2f78ff])=>void 0x0!==_0x2f78ff?Number(_0x2f78ff):void 0x0,_0x2c9e51=()=>!0x0,asFilter=([_0x449c42,_0x3a4bdc])=>({'name':_0x449c42,'amount':void 0x0!==_0x3a4bdc?Number(_0x3a4bdc):0x64}),_0x3354fe=([_0x5f7ed2,_0x3357e8])=>{if(!/\d+x\d+/['test'](_0x5f7ed2)||!/\d+,\d+/['test'](_0x3357e8))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':stringToArray(_0x5f7ed2,'x')['map'](Number),'coords':stringToArray(_0x3357e8)['map'](Number)};},_0x365e02=Object['freeze']({'enhance':_0x1f556e,'brightness':_0x1f556e,'exposure':_0x1f556e,'gamma':_0x1f556e,'contrast':_0x1f556e,'saturation':_0x1f556e,'vibrance':_0x1f556e,'warmth':_0x1f556e,'filter':asFilter,'mirror':_0x2c9e51,'flip':_0x2c9e51,'rotate':_0x1f556e,'crop':_0x48cbf4=>{const [_0x106a6a,_0x5044f4]=_0x48cbf4,{dimensions:_0x59db3b,coords:_0x5e5e4b}=_0x3354fe([_0x106a6a,_0x5044f4]);return{'dimensions':_0x59db3b,'coords':_0x5e5e4b};}});function operationsToTransformations(_0x461029){const _0x20c009={};for(const _0x5efd51 of _0x461029){const [_0x49d466,..._0x36de60]=_0x5efd51['split']('/');if(!_0x49d466||!_0x5d0a42['includes'](_0x49d466))continue;const _0x347ed2=_0x49d466,_0x1d8513=_0x365e02[_0x347ed2];try{const _0x1ef0b6=_0x1d8513(_0x36de60);_0x20c009[_0x347ed2]=_0x1ef0b6;}catch(_0x1a360c){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+_0x5efd51+'\x22.\x20It\x20will\x20be\x20ignored.',_0x1a360c instanceof Error?'Error\x20message:\x20\x22'+_0x1a360c['message']+'\x22':_0x1a360c,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x0a'));}}return _0x20c009;}var _0x597176=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),_0x49ce9a=Object['freeze']([_0x597176['CROP'],_0x597176['TUNING'],_0x597176['FILTERS']]),_0x556b2b=Object['freeze'](['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance']),_0x481dac=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']),_0x32ec95=Object['freeze'](['rotate','mirror','flip']),_0x3a7a8c=_0x1bd93d,_0x4ec5b2=Object['freeze']({'brightness':{'zero':_0x3a7a8c['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':_0x3a7a8c['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':_0x3a7a8c['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':_0x3a7a8c['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':_0x3a7a8c['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':_0x3a7a8c['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':_0x3a7a8c['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':_0x3a7a8c['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':_0x3a7a8c['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),_0xcef73='https://ucarecdn.com',_0x30156c='https://upload.uploadcare.com',_0x20ec8c='https://social.uploadcare.com',_0x4baef1='https://ucarecd.net',_0x27fff3={'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':_0x3f0423(_0x49ce9a),'maxLocalFileSizeBytes':0x0,'thumbSize':0x4c,'showEmptyList':!0x1,'useLocalImageEditor':!0x1,'useCloudImageEditor':!0x0,'removeCopyright':!0x1,'cropPreset':'','imageShrink':'','modalScrollLock':!0x0,'modalBackdropStrokes':!0x1,'sourceListWrap':!0x0,'remoteTabSessionKey':'','cdnCname':_0xcef73,'cdnCnamePrefixed':_0x4baef1,'baseUrl':_0x30156c,'socialBaseUrl':_0x20ec8c,'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'](_0x27fff3),getLocaleDirection=_0x1d6f30=>{const _0x3604d8=new Intl['Locale'](_0x1d6f30);let _0x3dbb9f='ltr';const _0x5c1626=_0x3604d8['getTextInfo']?.()['direction'];return _0x5c1626?_0x3dbb9f=_0x5c1626:_0x3604d8['textInfo']?.['direction']&&(_0x3dbb9f=_0x3604d8['textInfo']['direction']),_0x3dbb9f;},getPluralForm=(_0x5de14c,_0xc98001)=>new Intl['PluralRules'](_0x5de14c)['select'](_0xc98001),_0x8ed05f=_0x5a8ddc=>_0x5a8ddc,_0x5d0412='{{',_0x4e2b2b='}}',_0x367584='plural:';function applyTemplateData(_0x5ed10c,_0x294380={},_0x1e0059={}){const {openToken:_0x87e7de=_0x5d0412,closeToken:_0x113456=_0x4e2b2b,transform:_0x510d5f=_0x8ed05f}=_0x1e0059;for(const _0x2dbc08 in _0x294380){const _0x527f39=_0x294380[_0x2dbc08],_0x8567c=null!=_0x527f39?_0x527f39['toString']():void 0x0,_0x280e11='string'==typeof _0x8567c?_0x510d5f(_0x8567c):String(_0x8567c);_0x5ed10c=_0x5ed10c['replaceAll'](_0x87e7de+_0x2dbc08+_0x113456,_0x280e11);}return _0x5ed10c;}function getPluralObjects(_0x253e56){const _0x18ce53=[];let _0x5bc8a3=_0x253e56['indexOf'](_0x5d0412);for(;-0x1!==_0x5bc8a3;){const _0x47a9ac=_0x253e56['indexOf'](_0x4e2b2b,_0x5bc8a3);if(-0x1===_0x47a9ac)break;const _0x4912ef=_0x253e56['substring'](_0x5bc8a3+0x2,_0x47a9ac);if(_0x4912ef['startsWith'](_0x367584)){const _0x409a18=_0x253e56['substring'](_0x5bc8a3+0x2,_0x47a9ac)['replace'](_0x367584,''),_0x1eac6b=_0x409a18['substring'](0x0,_0x409a18['indexOf']('(')),_0x3ef7e=_0x409a18['substring'](_0x409a18['indexOf']('(')+0x1,_0x409a18['indexOf'](')'));_0x18ce53['push']({'variable':_0x4912ef,'pluralKey':_0x1eac6b,'countVariable':_0x3ef7e});}_0x5bc8a3=_0x253e56['indexOf'](_0x5d0412,_0x47a9ac);}return _0x18ce53;}var _0x7de0b6='--uploadcare-blocks-window-height',WindowHeightTracker=class _0x28c853{static ['clientsRegistry']=new Set();static ['flush']=_0x4b27cc(()=>{document['documentElement']['style']['setProperty'](_0x7de0b6,window['innerHeight']+'px');},0x64);static['registerClient'](_0x110e19){0x0===_0x28c853['clientsRegistry']['size']&&_0x28c853['attachTracker'](),_0x28c853['clientsRegistry']['add'](_0x110e19);}static['unregisterClient'](_0x389762){_0x28c853['clientsRegistry']['delete'](_0x389762),0x0===_0x28c853['clientsRegistry']['size']&&_0x28c853['detachTracker']();}static['attachTracker'](){window['addEventListener']('resize',_0x28c853['flush'],{'passive':!0x0,'capture':!0x0}),_0x28c853['flush']();}static['detachTracker'](){window['removeEventListener']('resize',_0x28c853['flush'],{'capture':!0x0}),document['documentElement']['style']['removeProperty'](_0x7de0b6);}},waitForAttribute=({element:_0x536d6c,attribute:_0x4946e3,onSuccess:_0x47345c,onTimeout:_0x1c9a00,timeout:_0x49c3ca=0x12c})=>{const _0x1dad4f=_0x536d6c['getAttribute'](_0x4946e3);if(null!==_0x1dad4f)return void _0x47345c(_0x1dad4f);const _0x34c368=new MutationObserver(_0xe79b5b=>{const _0x478fb1=_0xe79b5b[_0xe79b5b['length']-0x1];_0x478fb1&&_0x4cf468(_0x478fb1);});_0x34c368['observe'](_0x536d6c,{'attributes':!0x0,'attributeFilter':[_0x4946e3]});const _0x295700=window['setTimeout'](()=>{_0x34c368['disconnect'](),_0x1c9a00();},_0x49c3ca),_0x4cf468=_0x5575b1=>{const _0x188f51=_0x536d6c['getAttribute'](_0x4946e3);'attributes'===_0x5575b1['type']&&_0x5575b1['attributeName']===_0x4946e3&&null!==_0x188f51&&(window['clearTimeout'](_0x295700),_0x34c368['disconnect'](),_0x47345c(_0x188f51));};},blockCtx=()=>({}),activityBlockCtx=_0x3b8fff=>({...blockCtx(),'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x3b8fff['modalManager']?.['close'](_0x3b8fff['$']['*currentActivity']),_0x3b8fff['set$']({'*currentActivity':null});}}),uploaderBlockCtx=_0x1ba026=>({...activityBlockCtx(_0x1ba026),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new _0x577cb4(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set(),'*secureUploadsManager':null}),solutionBlockCtx=_0x2de100=>({...uploaderBlockCtx(_0x2de100),'*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(),_0x555fde=new Map(),_0x11189a=(_0x3e0646,_0x246d97)=>{localeRegistry['has'](_0x3e0646)&&console['log']('Locale\x20'+_0x3e0646+'\x20is\x20already\x20defined.\x20Overwriting...'),localeRegistry['set'](_0x3e0646,{...en_default,..._0x246d97});},_0x1a79fd=(_0x487149,_0x3f44b4)=>{_0x555fde['set'](_0x487149,_0x3f44b4);},_0x46f3b7=(_0x49d5cb,_0x44642a)=>{'function'==typeof _0x44642a?_0x1a79fd(_0x49d5cb,_0x44642a):_0x11189a(_0x49d5cb,_0x44642a);},resolveLocaleDefinition=async _0x1ce7ba=>{if(!localeRegistry['has'](_0x1ce7ba)){if(!_0x555fde['has'](_0x1ce7ba))throw new Error('Locale\x20'+_0x1ce7ba+'\x20is\x20not\x20defined');const _0x259412=_0x555fde['get'](_0x1ce7ba),_0x4b48cd=await _0x259412();_0x11189a(_0x1ce7ba,_0x4b48cd);}return localeRegistry['get'](_0x1ce7ba);};_0x46f3b7('en',en_default);var localeStateKey=_0x28bfa4=>'*l10n/'+_0x28bfa4,_0x7cd986='en',_0x329f7e=class{['_blockInstance']=null;['_localeName']='';['_callbacks']=new Set();['_boundBlocks']=new Map();constructor(_0xc2e535){this['_blockInstance']=_0xc2e535;for(const [_0x7d7f22,_0x28934a]of Object['entries'](en_default)){const _0x1c9382=!this['_blockInstance']['has'](localeStateKey(_0x7d7f22))||!this['_blockInstance']['$'][localeStateKey(_0x7d7f22)];this['_blockInstance']['add'](localeStateKey(_0x7d7f22),_0x28934a,_0x1c9382);}setTimeout(()=>{_0xc2e535['subConfigValue']('localeName',async _0x243ef5=>{if(!this['_blockInstance']||!_0x243ef5)return;this['_localeName']=_0x243ef5;const _0x278921=await resolveLocaleDefinition(_0x243ef5);if(_0x243ef5!==_0x7cd986&&this['_localeName']!==_0x243ef5)return;const _0x4117bb=this['_blockInstance']['cfg']['localeDefinitionOverride']?.[_0x243ef5];for(const [_0x22213f,_0x3294fa]of Object['entries'](_0x278921)){const _0x19fc6e=_0x4117bb?.[_0x22213f];this['_blockInstance']['add'](localeStateKey(_0x22213f),_0x19fc6e??_0x3294fa,!0x0);for(const _0x141ab4 of this['_callbacks'])_0x141ab4();}}),_0xc2e535['subConfigValue']('localeDefinitionOverride',_0x1d80dd=>{if(!_0x1d80dd)return;const _0x2437b8=_0x1d80dd[this['_localeName']];if(_0x2437b8)for(const [_0x32ff5a,_0x21ac75]of Object['entries'](_0x2437b8)){this['_blockInstance']?.['add'](localeStateKey(_0x32ff5a),_0x21ac75,!0x0);for(const _0x5dc2f9 of this['_callbacks'])_0x5dc2f9();}});});}['onLocaleChange'](_0x12b534){const _0x565e82=_0x4b27cc(_0x12b534,0x0);return this['_callbacks']['add'](_0x565e82),()=>{this['_callbacks']['delete'](_0x565e82);};}['bindL10n'](_0x545c56,_0x1188f0,_0x28ab7f){_0x545c56['$'][_0x1188f0]=_0x28ab7f(),this['_boundBlocks']['has'](_0x545c56)||this['_boundBlocks']['set'](_0x545c56,new Map()),this['_boundBlocks']['get'](_0x545c56)?.['get'](_0x1188f0)?.();const _0x368df6=this['onLocaleChange'](()=>{_0x545c56['$'][_0x1188f0]=_0x28ab7f();});this['_boundBlocks']['get'](_0x545c56)?.['set'](_0x1188f0,_0x368df6);}['destroyL10nBindings'](_0x264f1c){const _0x47df7a=this['_boundBlocks']['get'](_0x264f1c);if(_0x47df7a){for(const _0x205809 of _0x47df7a['values']())_0x205809();this['_boundBlocks']['delete'](_0x264f1c);}}['destroy'](){this['_callbacks']['clear']();}};function _0x3e90bb(_0x2978ee,_0x11f8e6){[..._0x2978ee['querySelectorAll']('[l10n]')]['forEach'](_0x40d5ea=>{const _0x160c8e=_0x40d5ea['getAttribute']('l10n');if(!_0x160c8e)return;const _0x52b542=_0x160c8e['split'](';');for(const _0x40b01d of _0x52b542)_0x40b01d&&_0xb796b0(_0x40d5ea,_0x40b01d,_0x11f8e6);});}var _0xb796b0=(_0xa06ad5,_0x49ca72,_0x392fd8)=>{let _0x9d9efe='textContent',_0x3e8d71=!0x1;if(_0x49ca72['includes'](':')){const _0x1e056d=_0x49ca72['split'](':');if(0x2!==_0x1e056d['length'])return void console['warn']('l10n\x20attribute\x20value\x20should\x20be\x20in\x20format\x20\x22property:key\x22\x20or\x20\x22key\x22.\x20Found:\x20'+_0x49ca72);const _0x59182e=_0x1e056d;_0x9d9efe=_0x59182e[0x0],_0x49ca72=_0x59182e[0x1],_0x9d9efe['startsWith']('@')&&(_0x9d9efe=_0x9d9efe['slice'](0x1),_0x3e8d71=!0x0);}const _0x52e754=_0x49ca72;_0x392fd8['has'](_0x52e754)&&_0x392fd8['sub'](_0x52e754,_0x173807=>{if(!_0x173807)return;_0x392fd8['l10nProcessorSubs']['has'](_0x52e754)||_0x392fd8['l10nProcessorSubs']['set'](_0x52e754,new Set());const _0x3abf04=_0x392fd8['l10nProcessorSubs']['get'](_0x52e754);_0x3abf04?.['forEach'](_0x385551=>{_0x385551['remove'](),_0x3abf04['delete'](_0x385551),_0x392fd8['allSubs']['delete'](_0x385551);});const _0x2e7747=localeStateKey(_0x173807)['replace']('*','');_0x392fd8['nodeCtx']['has'](_0x2e7747)||_0x392fd8['nodeCtx']['add'](_0x2e7747,_0x173807);const _0x5ad20d=_0x392fd8['nodeCtx']['sub'](_0x2e7747,()=>{_0xa06ad5[_0x9d9efe]=_0x392fd8['l10n'](_0x173807);});_0x3abf04?.['add'](_0x5ad20d),_0x392fd8['allSubs']['add'](_0x5ad20d),_0xa06ad5['removeAttribute']('l10n');});const _0x311117=localeStateKey(_0x49ca72);_0x392fd8['has'](_0x311117)||_0x392fd8['add'](_0x311117,''),_0x392fd8['sub'](_0x311117,()=>{_0x3e8d71?_0xa06ad5['setAttribute'](_0x9d9efe,_0x392fd8['l10n'](_0x49ca72)):_0xa06ad5[_0x9d9efe]=_0x392fd8['l10n'](_0x49ca72);}),_0xa06ad5['removeAttribute']('l10n');},_0x3db37e=class{['_listeners']=new Map();['_scope']=[];['addEventListener'](_0x45e764,_0x5b42de){const _0x3754f2=_0x2f6b34=>{const _0x4bd61c=_0x2f6b34['target'];_0x4bd61c instanceof Node&&this['_scope']['some'](_0x32a349=>_0x32a349===_0x4bd61c||_0x32a349['contains'](_0x4bd61c))&&_0x5b42de(_0x2f6b34);};this['_listeners']['set'](_0x5b42de,_0x3754f2),window['addEventListener'](_0x45e764,_0x3754f2);}['removeEventListener'](_0x12c2dd,_0x4437de){const _0x13a0f3=this['_listeners']['get'](_0x4437de);_0x13a0f3&&window['removeEventListener'](_0x12c2dd,_0x13a0f3),this['_listeners']['delete'](_0x4437de);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0x53ea75){this['_scope']['push'](_0x53ea75);}['destroy'](){this['_scope']=[];for(const _0x3aba7e of this['_listeners']['values']())window['removeEventListener']('keydown',_0x3aba7e),window['removeEventListener']('keyup',_0x3aba7e);this['_listeners']['clear']();}},_0xf1b351=class{['_destroyKeyUX'];['_scopedWindow'];constructor(){this['_scopedWindow']=new _0x3db37e(),this['_destroyKeyUX']=startKeyUX(this['_scopedWindow'],[_0x1a355e(),_0x5bccac('is-pressed'),_0x465b86(),_0x5f2b28()]);}['registerBlock'](_0x2f1a65){this['_scopedWindow']['registerScope'](_0x2f1a65);}['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'}),_0x121366=class{['_modals']=new Map();['_activeModals']=new Set();['_subscribers']=new Map();['_block'];constructor(_0x231155){this['_block']=_0x231155;}['_debugPrint'](..._0x6731a3){this['_block']['debugPrint']('[modal-manager]',..._0x6731a3);}['registerModal'](_0x31f13b,_0x23dd47){this['_modals']['set'](_0x31f13b,_0x23dd47),this['_notify'](ModalEvents['ADD'],{'id':_0x31f13b,'modal':_0x23dd47});}['deleteModal'](_0x4e49f0){if(!this['_modals']['has'](_0x4e49f0))return!0x1;const _0x5af75d=this['_modals']['get'](_0x4e49f0);return this['_modals']['delete'](_0x4e49f0),this['_activeModals']['delete'](_0x4e49f0),this['_notify'](ModalEvents['DELETE'],{'id':_0x4e49f0,'modal':_0x5af75d}),!0x0;}['open'](_0x55c3c6){if(!this['_modals']['has'](_0x55c3c6))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x55c3c6+'\x22\x20not\x20found'),!0x1;const _0x58b6c4=this['_modals']['get'](_0x55c3c6);return this['_activeModals']['add'](_0x55c3c6),this['_notify'](ModalEvents['OPEN'],{'modal':_0x58b6c4,'id':_0x55c3c6}),!0x0;}['close'](_0x502685){if(!this['_modals']['has'](_0x502685)||!this['_activeModals']['has'](_0x502685))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x502685+'\x22\x20not\x20found\x20or\x20not\x20active'),!0x1;const _0x335d74=this['_modals']['get'](_0x502685);return this['_activeModals']['delete'](_0x502685),this['_notify'](ModalEvents['CLOSE'],{'id':_0x502685,'modal':_0x335d74}),!0x0;}['toggle'](_0x1e067a){return this['_modals']['has'](_0x1e067a)?this['_activeModals']['has'](_0x1e067a)?this['close'](_0x1e067a):this['open'](_0x1e067a):(this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x1e067a+'\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 _0x2f8a42=Array['from'](this['_activeModals'])['pop']();return!!_0x2f8a42&&this['close'](_0x2f8a42);}['closeAll'](){const _0x3143e1=this['_activeModals']['size'];return this['_activeModals']['clear'](),this['_notify'](ModalEvents['CLOSE_ALL'],{}),_0x3143e1;}['subscribe'](_0x4663a8,_0x360323){return this['_subscribers']['has'](_0x4663a8)||this['_subscribers']['set'](_0x4663a8,new Set()),this['_subscribers']['get'](_0x4663a8)?.['add'](_0x360323),()=>this['unsubscribe'](_0x4663a8,_0x360323);}['unsubscribe'](_0x5dbefd,_0x32cdea){this['_subscribers']['has'](_0x5dbefd)&&this['_subscribers']['get'](_0x5dbefd)?.['delete'](_0x32cdea);}['_notify'](_0x35fc04,_0x5b4311){if(this['_subscribers']['has'](_0x35fc04)){for(const _0x2ad3a0 of this['_subscribers']['get'](_0x35fc04)??new Set())try{_0x2ad3a0(_0x5b4311);}catch(_0x39085f){this['_block']['telemetryManager']['sendEventError'](_0x39085f,'modal\x20subscriber'),this['_debugPrint']('Error\x20in\x20modal\x20subscriber:',_0x39085f);}}}['destroy'](){this['closeAll'](),this['_modals']['clear'](),this['_subscribers']['clear'](),this['_notify'](ModalEvents['DESTROY'],{});}},_0x55b916='1.24.5',_0x249b8c='blocks',_0x56ea43=_0x55b916,TelemetryManager=class{['_sessionId']=crypto['randomUUID']();['_telemetryInstance'];['_block'];['_config']=structuredClone(initialConfig);['_initialized']=!0x1;['_lastPayload']=null;['_queue'];constructor(_0x3d773d){this['_block']=_0x3d773d,this['_telemetryInstance']=new _0x29d74a(),this['_queue']=new _0x577cb4(0xa);for(const _0x355ce1 of Object['keys'](this['_config']))this['_block']['subConfigValue'](_0x355ce1,_0x4b558b=>{this['_initialized']&&this['_config'][_0x355ce1]!==_0x4b558b&&this['sendEvent']({'eventType':InternalEventType['CHANGE_CONFIG']}),this['_setConfig'](_0x355ce1,_0x4b558b);});}['_init'](_0x198f50){_0x198f50!==InternalEventType['INIT_SOLUTION']||this['_initialized']||(this['_initialized']=!0x0);}['_setConfig'](_0x3897f4,_0x4079c1){this['_config'][_0x3897f4]!==_0x4079c1&&(this['_config'][_0x3897f4]=_0x4079c1);}['_formattingPayload'](_0x1d18f3){const _0x58fb02=_0x1d18f3['payload']?{..._0x1d18f3['payload']}:{};_0x58fb02['activity']&&(_0x58fb02['activity']=void 0x0);const _0x3ac453={..._0x1d18f3};return _0x1d18f3['eventType']!==InternalEventType['INIT_SOLUTION']&&_0x1d18f3['eventType']!==InternalEventType['CHANGE_CONFIG']||(_0x3ac453['config']=this['_config']),{..._0x3ac453,'appVersion':_0x56ea43,'appName':_0x249b8c,'sessionId':this['_sessionId'],'component':this['_solution'],'activity':this['_activity'],'projectPubkey':this['_config']['pubkey'],'userAgent':navigator['userAgent'],'eventType':_0x3ac453['eventType']??'','eventTimestamp':this['_timestamp'],'payload':{'location':this['_location'],..._0x58fb02}};}['_excludedEvents'](_0x1ff349){return!(!_0x1ff349||![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'](_0x1ff349));}['sendEvent'](_0x1b2907){const _0x27ee8e=this['_formattingPayload']({'eventType':_0x1b2907['eventType'],'payload':_0x1b2907['payload'],'config':_0x1b2907['config']});this['_init'](_0x1b2907['eventType']);if(this['_excludedEvents'](_0x1b2907['eventType']))return;this['_lastPayload']&&this['_checkObj'](this['_lastPayload'],_0x27ee8e)||this['_queue']['add'](async()=>{this['_lastPayload']=_0x27ee8e,await this['_telemetryInstance']['sendEvent'](_0x27ee8e);});}['sendEventError'](_0x13ffcc,_0x454870='unknown'){this['sendEvent']({'eventType':InternalEventType['ERROR_EVENT'],'payload':{'metadata':{'event':'error','text':'Error\x20in\x20'+_0x454870,'error':_0x13ffcc['message']}}});}['sendEventCloudImageEditor'](_0x167f17,_0x329ce7,_0xde8a06={}){this['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'tabId':_0x329ce7,'node':_0x167f17['currentTarget']?.['tagName'],'event':_0x167f17['type'],..._0xde8a06}}});}['_checkObj'](_0x5941d0,_0x57d673){if(JSON['stringify'](_0x5941d0)===JSON['stringify'](_0x57d673))return!0x0;if('object'!=typeof _0x5941d0||'object'!=typeof _0x57d673||null==_0x5941d0||null==_0x57d673)return!0x1;const _0x28f591=Object['keys'](_0x5941d0),_0x5a56cd=Object['keys'](_0x57d673);if(_0x28f591['length']!==_0x5a56cd['length'])return!0x1;for(const _0x43979e of _0x28f591){if(!Object['hasOwn'](_0x57d673,_0x43979e))return!0x1;if(!this['_checkObj'](_0x5941d0[_0x43979e],_0x57d673[_0x43979e]))return!0x1;}return!0x0;}get['_timestamp'](){return Date['now']();}get['_solution'](){if(!this['_block']['has']('*solution'))return null;const _0x2950e2=this['_block']['$']['*solution'];return _0x2950e2?_0x2950e2['toLowerCase']():null;}get['_activity'](){return this['_block']['has']('*currentActivity')?this['_block']['$']['*currentActivity']??null:null;}get['_location'](){return location['origin'];}},_0x1dcbda=_0x515fdc=>'*cfg/'+_0x515fdc;function testModeProcessor(_0x2a2daf,_0x1cf674){const _0x374a3f=_0x2a2daf['querySelectorAll']('[data-testid]');if(0x0===_0x374a3f['length'])return;const _0x3c2a9d=new WeakMap();for(const _0x151e81 of _0x374a3f){const _0x11b463=_0x151e81['getAttribute']('data-testid');_0x11b463&&_0x3c2a9d['set'](_0x151e81,_0x11b463);}_0x1cf674['subConfigValue']('testMode',_0x1f5a7b=>{if(!_0x1f5a7b){for(const _0x3a4c6c of _0x374a3f)_0x3a4c6c['removeAttribute']('data-testid');return;}const _0x2d9669=_0x1cf674['testId'];for(const _0x2b93e3 of _0x374a3f){const _0x40de13=_0x3c2a9d['get'](_0x2b93e3);_0x40de13&&_0x2b93e3['setAttribute']('data-testid',_0x2d9669+'--'+_0x40de13);}});}var _0x4d6d7f='uc-',_0x4542c4=class extends BaseComponent{['__cfgProxy'];['l10nProcessorSubs']=new Map();static ['StateConsumerScope']=null;static ['styleAttrs']=[];['requireCtxName']=!0x1;['activityType']=null;['init$']=blockCtx();['l10n'](_0x4a8798,_0x3c610a={}){if(!_0x4a8798)return'';const _0x396f08=this['$'][localeStateKey(_0x4a8798)]||_0x4a8798,_0xaef231=getPluralObjects(_0x396f08);for(const _0x55528b of _0xaef231)_0x3c610a[_0x55528b['variable']]=this['pluralize'](_0x55528b['pluralKey'],Number(_0x3c610a[_0x55528b['countVariable']]));return applyTemplateData(_0x396f08,_0x3c610a);}['pluralize'](_0x3c6a93,_0x5d832f){const _0xd15807=this['l10n']('locale-id')||'en',_0x55d889=getPluralForm(_0xd15807,_0x5d832f);return this['l10n'](_0x3c6a93+'__'+_0x55d889);}['bindL10n'](_0x25ae37,_0x467d6d){this['localeManager']?.['bindL10n'](this,_0x25ae37,_0x467d6d);}constructor(){super(),this['addTemplateProcessor'](_0x3e90bb),this['addTemplateProcessor'](testModeProcessor);}['emit'](_0x57fab3,_0x905820,_0x21af11){const _0x3fbb3b=this['has']('*eventEmitter')?this['$']['*eventEmitter']:void 0x0;_0x3fbb3b&&(_0x3fbb3b['emit'](_0x57fab3,_0x905820,_0x21af11),this['telemetryManager']['sendEvent']({'eventType':_0x57fab3,'payload':'function'==typeof _0x905820?_0x905820():_0x905820}));}['hasBlockInCtx'](_0x467b33){for(const _0x398056 of this['blocksRegistry'])if(_0x467b33(_0x398056))return!0x0;return!0x1;}['setOrAddState'](_0x8e1cd2,_0x5c41f1){this['add$']({[_0x8e1cd2]:_0x5c41f1},!0x0);}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x4cc50c=>{this['setAttribute'](_0x4cc50c,'');}),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 _0x329f7e(this)),this['cfg']['qualityInsights']&&!this['has']('*telemetryManager')&&this['add']('*telemetryManager',new TelemetryManager(this)),this['has']('*a11y')||this['add']('*a11y',new _0xf1b351()),this['has']('*modalManager')||this['add']('*modalManager',new _0x121366(this)),this['sub'](localeStateKey('locale-id'),_0x2da4f2=>{const _0x402087=getLocaleDirection(_0x2da4f2);this['style']['direction']='ltr'===_0x402087?'':_0x402087;}),this['subConfigValue']('testMode',_0x23710c=>{_0x23710c&&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 _0x50c07c=this['blocksRegistry'];_0x50c07c?.['delete'](this),this['localeManager']?.['destroyL10nBindings'](this),this['l10nProcessorSubs']=new Map(),Data['deleteCtx'](this),0x0===_0x50c07c?.['size']&&setTimeout(()=>{this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){Data['deleteCtx'](this['ctxName']),this['localeManager']?.['destroy'](),this['modalManager']?.['destroy']();}async['proxyUrl'](_0x402b58){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'](_0x402b58,{'uuid':extractUuid(_0x402b58),'cdnUrlModifiers':extractCdnUrlModifiers(_0x402b58),'fileName':extractFilename(_0x402b58)});}catch(_0x270d5f){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x270d5f),this['telemetryManager']['sendEventError'](_0x270d5f,'secureDeliveryProxyUrlResolver.\x20Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.'),_0x402b58;}return this['cfg']['secureDeliveryProxy']?applyTemplateData(this['cfg']['secureDeliveryProxy'],{'previewUrl':_0x402b58},{'transform':_0x8d02ae=>window['encodeURIComponent'](_0x8d02ae)}):_0x402b58;}get['cfg'](){if(!this['__cfgProxy']){const _0x4d5d7e=Object['create'](null);this['__cfgProxy']=new Proxy(_0x4d5d7e,{'set':(_0x17bab6,_0x16231a,_0x229469)=>{if('string'!=typeof _0x16231a)return!0x1;const _0x5a7f10=_0x1dcbda(_0x16231a);return this['has'](_0x5a7f10)||this['add'](_0x5a7f10,initialConfig[_0x16231a]),this['$'][_0x5a7f10]=_0x229469,!0x0;},'get':(_0x2ad9cd,_0x1869a0)=>{const _0x2a1b33=_0x1dcbda(_0x1869a0);return this['has'](_0x2a1b33)||this['add'](_0x2a1b33,initialConfig[_0x1869a0]),this['$'][_0x1dcbda(_0x1869a0)];}});}return this['__cfgProxy'];}['subConfigValue'](_0x3952ad,_0x2ab6cb){const _0x1c375f=_0x1dcbda(_0x3952ad);this['has'](_0x1c375f)||this['add'](_0x1c375f,initialConfig[_0x3952ad]),this['sub'](_0x1c375f,_0x2ab6cb);}['debugPrint'](..._0x3c8ee6){if(!this['cfg']['debug'])return;let _0x5755b4=_0x3c8ee6;'function'==typeof _0x3c8ee6?.[0x0]&&(_0x5755b4=(0x0,_0x3c8ee6[0x0])()),console['log']('['+this['ctxName']+']',..._0x5755b4);}static['reg'](_0x305f05){_0x305f05?_0x305f05['startsWith'](_0x4d6d7f)&&super['reg'](_0x305f05):super['reg']();}},_0x8886e7='active',_0x15c93a='___ACTIVITY_IS_ACTIVE___',ActivityBlock=class _0x2b425b extends _0x4542c4{['historyTracked']=!0x1;[_0x15c93a];['init$']=activityBlockCtx(this);['_debouncedHistoryFlush']=_0x4b27cc(this['_historyFlush']['bind'](this),0xa);['_deactivate'](){const _0x5acb5e=_0x2b425b['_activityCallbacks']['get'](this);this[_0x15c93a]=!0x1,this['removeAttribute'](_0x8886e7),_0x5acb5e?.['deactivateCallback']?.();}['_activate'](){const _0x93330f=_0x2b425b['_activityCallbacks']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[_0x15c93a]=!0x0,this['setAttribute'](_0x8886e7,''),_0x93330f?.['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',_0x10a6b9=>{try{this['activityType']!==_0x10a6b9&&this[_0x15c93a]?this['_deactivate']():this['activityType']!==_0x10a6b9||this[_0x15c93a]||this['_activate']();}catch(_0x5e3c98){this['telemetryManager']['sendEventError'](_0x5e3c98,'activity\x20\x22'+this['activityType']+'\x22'),console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x5e3c98),this['$']['*currentActivity']=this['$']['*history'][this['$']['*history']['length']-0x1]??null;}_0x10a6b9||(this['$']['*history']=[]);}));}['_historyFlush'](){let _0x44bfdc=this['$']['*history'];_0x44bfdc&&(_0x44bfdc['length']>0xa&&(_0x44bfdc=_0x44bfdc['slice'](_0x44bfdc['length']-0xb,_0x44bfdc['length']-0x1)),this['historyTracked']&&_0x44bfdc[_0x44bfdc['length']-0x1]!==this['activityType']&&_0x44bfdc['push'](this['activityType']),this['$']['*history']=_0x44bfdc);}['_isActivityRegistered'](){return!!this['activityType']&&_0x2b425b['_activityCallbacks']['has'](this);}static ['_activityCallbacks']=new Map();static ['activities'];get['isActivityActive'](){return!!this[_0x15c93a];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](_0x147208,_0x147511={}){const {onActivate:_0x1e174a,onDeactivate:_0x4829c6}=_0x147511;_0x2b425b['_activityCallbacks']['set'](this,{'activateCallback':_0x1e174a,'deactivateCallback':_0x4829c6});}['unregisterActivity'](){this['isActivityActive']&&this['_deactivate'](),_0x2b425b['_activityCallbacks']['delete'](this);}['destroyCallback'](){super['destroyCallback'](),this['_isActivityRegistered']()&&this['unregisterActivity']();const _0x3eaa15=this['$']['*currentActivity'];!![...this['blocksRegistry']]['find'](_0xb0812c=>_0xb0812c instanceof _0x2b425b&&_0xb0812c['activityType']===_0x3eaa15)||(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 _0x83d377=this['$']['*history'];if(_0x83d377){let _0x17869a=_0x83d377['pop']();for(;_0x17869a===this['activityType'];)_0x17869a=_0x83d377['pop']();let _0x24b980=!!_0x17869a;if(_0x17869a){const _0x195be6=[...this['blocksRegistry']]['find'](_0x33990f=>_0x33990f['activityType']===_0x17869a);_0x24b980=_0x195be6?.['couldOpenActivity']??!0x1;}_0x17869a=_0x24b980?_0x17869a:void 0x0,_0x17869a&&this['modalManager']?.['open'](_0x17869a),this['$']['*currentActivity']=_0x17869a,this['$']['*history']=_0x83d377,_0x17869a||this['modalManager']?.['closeAll']();}}};function defineComponents(_0x126fa0){for(const _0xf36e5e in _0x126fa0){let _0x561195=[..._0xf36e5e]['reduce']((_0x252fbd,_0xbd8be6)=>(_0xbd8be6['toUpperCase']()===_0xbd8be6&&(_0xbd8be6='-'+_0xbd8be6['toLowerCase']()),_0x252fbd+=_0xbd8be6),'');_0x561195['startsWith']('-')&&(_0x561195=_0x561195['replace']('-','')),_0x561195['startsWith']('uc-')||(_0x561195='uc-'+_0x561195),_0x126fa0[_0xf36e5e]['reg']&&_0x126fa0[_0xf36e5e]['reg'](_0x561195);}}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 _0x57bf91='UC';function _0x55ff7e(_0x428348,_0x48c588=!0x1){return new Promise((_0x4a2cd7,_0x292a79)=>{if('object'!=typeof document)return void _0x4a2cd7(null);if('object'==typeof window&&window[_0x57bf91])return void _0x4a2cd7(window[_0x57bf91]);const _0x2221b1=document['createElement']('script');_0x2221b1['async']=!0x0,_0x2221b1['src']=_0x428348,_0x2221b1['onerror']=()=>{_0x292a79();},_0x2221b1['onload']=()=>{const _0x55fb3b=window[_0x57bf91];_0x48c588&&defineComponents(_0x55fb3b),_0x4a2cd7(_0x55fb3b);},document['head']['appendChild'](_0x2221b1);});}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 _0x4542c4{static ['styleAttrs']=['uc-wgt-common'];['requireCtxName']=!0x0;['init$']=solutionBlockCtx(this);static ['_template']='';['initCallback'](){super['initCallback'](),this['a11y']?.['registerBlock'](this);}static set['template'](_0x3c5252){this['_template']=svg_sprite_default+_0x3c5252+'<slot></slot>';}static get['template'](){return this['_template'];}},_0x192f5d=0x14,_0x4ed3b1=0x18,_0x15fae5=0x22,_0x942a1f=0x3,_0x37fcf1=_0x942a1f/0x2,_0x2dce2f=0x1,_0xe05698=0x64/0x3,_0xdd7599=0x1,_0x299e61=0x18,_0x2d9d12=0x6;function setSvgNodeAttrs(_0x486091,_0x180e24){for(const [_0x81bd6c,_0x5e3e05]of Object['entries'](_0x180e24))_0x486091['setAttributeNS'](null,_0x81bd6c,_0x5e3e05['toString']());}function createSvgNode(_0xd2b91d,_0x12e014={}){const _0x594029=document['createElementNS']('http://www.w3.org/2000/svg',_0xd2b91d);return setSvgNodeAttrs(_0x594029,_0x12e014),_0x594029;}function cornerPath(_0x3a656d,_0x4e82a4,_0x5a48ac){const {x:_0x5896d1,y:_0x1af063,width:_0x2142e8,height:_0xb1e76f}=_0x3a656d,_0x4bba65=_0x4e82a4['includes']('w')?0x0:0x1,_0x924638=_0x4e82a4['includes']('n')?0x0:0x1,_0x55c225=0x0===_0x4bba65?-0x1:0x1,_0xa0516d=0x0===_0x924638?-0x1:0x1,_0xb8e127=[_0x5896d1+_0x4bba65*_0x2142e8+_0x37fcf1*_0x55c225,_0x1af063+_0x924638*_0xb1e76f+_0x37fcf1*_0xa0516d-_0x4ed3b1*_0x5a48ac*_0xa0516d],_0x13c2fa=[_0x5896d1+_0x4bba65*_0x2142e8+_0x37fcf1*_0x55c225,_0x1af063+_0x924638*_0xb1e76f+_0x37fcf1*_0xa0516d],_0x1ecefb=[_0x5896d1+_0x4bba65*_0x2142e8-_0x4ed3b1*_0x5a48ac*_0x55c225+_0x37fcf1*_0x55c225,_0x1af063+_0x924638*_0xb1e76f+_0x37fcf1*_0xa0516d];return{'d':'M\x20'+_0xb8e127[0x0]+'\x20'+_0xb8e127[0x1]+'\x20L\x20'+_0x13c2fa[0x0]+'\x20'+_0x13c2fa[0x1]+'\x20L\x20'+_0x1ecefb[0x0]+'\x20'+_0x1ecefb[0x1],'center':[_0x13c2fa[0x0],_0x13c2fa[0x1]]};}function sidePath(_0x2d8bd7,_0x1ce3ef,_0x5d2404){const {x:_0x409757,y:_0x56d2b5,width:_0x5ccd9d,height:_0x3a4b53}=_0x2d8bd7,_0x51af7c='n'===_0x1ce3ef||'s'===_0x1ce3ef,_0x212267=_0x51af7c?0.5:'w'===_0x1ce3ef?0x0:0x1,_0x4d25a4='w'===_0x1ce3ef||'e'===_0x1ce3ef?0.5:'n'===_0x1ce3ef?0x0:0x1,_0x216177='w'===_0x1ce3ef?-0x1:'e'===_0x1ce3ef?0x1:0x0,_0x34baa8='n'===_0x1ce3ef?-0x1:'s'===_0x1ce3ef?0x1:0x0;let _0x3d4714,_0x5eac1d;return _0x51af7c?(_0x3d4714=[_0x409757+_0x212267*_0x5ccd9d-_0x15fae5*_0x5d2404/0x2,_0x56d2b5+_0x4d25a4*_0x3a4b53+_0x37fcf1*_0x34baa8],_0x5eac1d=[_0x409757+_0x212267*_0x5ccd9d+_0x15fae5*_0x5d2404/0x2,_0x56d2b5+_0x4d25a4*_0x3a4b53+_0x37fcf1*_0x34baa8]):(_0x3d4714=[_0x409757+_0x212267*_0x5ccd9d+_0x37fcf1*_0x216177,_0x56d2b5+_0x4d25a4*_0x3a4b53-_0x15fae5*_0x5d2404/0x2],_0x5eac1d=[_0x409757+_0x212267*_0x5ccd9d+_0x37fcf1*_0x216177,_0x56d2b5+_0x4d25a4*_0x3a4b53+_0x15fae5*_0x5d2404/0x2]),{'d':'M\x20'+_0x3d4714[0x0]+'\x20'+_0x3d4714[0x1]+'\x20L\x20'+_0x5eac1d[0x0]+'\x20'+_0x5eac1d[0x1],'center':[(_0x3d4714[0x0]+_0x5eac1d[0x0])/0x2,(_0x3d4714[0x1]+_0x5eac1d[0x1])/0x2]};}function thumbCursor(_0x2d3b59){return''===_0x2d3b59?'move':['e','w']['includes'](_0x2d3b59)?'ew-resize':['n','s']['includes'](_0x2d3b59)?'ns-resize':['nw','se']['includes'](_0x2d3b59)?'nwse-resize':'nesw-resize';}function moveRect({rect:_0xf22d6e,delta:[_0xc1387b,_0xadd6b3],imageBox:_0x1e0f1a}){return constraintRect({..._0xf22d6e,'x':_0xf22d6e['x']+_0xc1387b,'y':_0xf22d6e['y']+_0xadd6b3},_0x1e0f1a);}function constraintRect(_0x5696f3,_0x58e3b2){let {x:_0x8f40f1}=_0x5696f3,{y:_0x5612d3}=_0x5696f3;return _0x5696f3['x']<_0x58e3b2['x']?_0x8f40f1=_0x58e3b2['x']:_0x5696f3['x']+_0x5696f3['width']>_0x58e3b2['x']+_0x58e3b2['width']&&(_0x8f40f1=_0x58e3b2['x']+_0x58e3b2['width']-_0x5696f3['width']),_0x5696f3['y']<_0x58e3b2['y']?_0x5612d3=_0x58e3b2['y']:_0x5696f3['y']+_0x5696f3['height']>_0x58e3b2['y']+_0x58e3b2['height']&&(_0x5612d3=_0x58e3b2['y']+_0x58e3b2['height']-_0x5696f3['height']),{..._0x5696f3,'x':_0x8f40f1,'y':_0x5612d3};}function resizeNorth({rect:_0x1ae1a9,delta:_0x38239f,aspectRatio:_0x214f9f,imageBox:_0x142879}){const [,_0x444e43]=_0x38239f;let {y:_0x4eb390,width:_0x448b26,height:_0x1598d8}=_0x1ae1a9;_0x4eb390+=_0x444e43,_0x1598d8-=_0x444e43,_0x214f9f&&(_0x448b26=_0x1598d8*_0x214f9f);let _0x26319f=_0x1ae1a9['x']+_0x1ae1a9['width']/0x2-_0x448b26/0x2;return _0x4eb390<=_0x142879['y']&&(_0x4eb390=_0x142879['y'],_0x1598d8=_0x1ae1a9['y']+_0x1ae1a9['height']-_0x4eb390,_0x214f9f&&(_0x448b26=_0x1598d8*_0x214f9f,_0x26319f=_0x1ae1a9['x']+_0x1ae1a9['width']/0x2-_0x448b26/0x2)),_0x26319f<=_0x142879['x']&&(_0x26319f=_0x142879['x'],_0x4eb390=_0x1ae1a9['y']+_0x1ae1a9['height']-_0x1598d8),_0x26319f+_0x448b26>=_0x142879['x']+_0x142879['width']&&(_0x26319f=Math['max'](_0x142879['x'],_0x142879['x']+_0x142879['width']-_0x448b26),_0x448b26=_0x142879['x']+_0x142879['width']-_0x26319f,_0x214f9f&&(_0x1598d8=_0x448b26/_0x214f9f),_0x4eb390=_0x1ae1a9['y']+_0x1ae1a9['height']-_0x1598d8),_0x1598d8<_0xdd7599&&(_0x1598d8=_0xdd7599,_0x214f9f&&(_0x448b26=_0x1598d8*_0x214f9f,_0x26319f=_0x1ae1a9['x']+_0x1ae1a9['width']/0x2-_0x448b26/0x2),_0x4eb390=_0x1ae1a9['y']+_0x1ae1a9['height']-_0x1598d8),_0x448b26<_0xdd7599&&(_0x448b26=_0xdd7599,_0x214f9f&&(_0x1598d8=_0x448b26/_0x214f9f,_0x26319f=_0x1ae1a9['x']+_0x1ae1a9['width']/0x2-_0x448b26/0x2),_0x4eb390=_0x1ae1a9['y']+_0x1ae1a9['height']-_0x1598d8),{'x':_0x26319f,'y':_0x4eb390,'width':_0x448b26,'height':_0x1598d8};}function resizeWest({rect:_0x4adebc,delta:_0x2f48a9,aspectRatio:_0x3580f6,imageBox:_0x3d66ff}){const [_0x9fd5ab]=_0x2f48a9;let {x:_0x56127f,width:_0x43770d,height:_0x438b6b}=_0x4adebc;_0x56127f+=_0x9fd5ab,_0x43770d-=_0x9fd5ab,_0x3580f6&&(_0x438b6b=_0x43770d/_0x3580f6);let _0x49ea61=_0x4adebc['y']+_0x4adebc['height']/0x2-_0x438b6b/0x2;return _0x56127f<=_0x3d66ff['x']&&(_0x56127f=_0x3d66ff['x'],_0x43770d=_0x4adebc['x']+_0x4adebc['width']-_0x56127f,_0x3580f6&&(_0x438b6b=_0x43770d/_0x3580f6,_0x49ea61=_0x4adebc['y']+_0x4adebc['height']/0x2-_0x438b6b/0x2)),_0x49ea61<=_0x3d66ff['y']&&(_0x49ea61=_0x3d66ff['y'],_0x56127f=_0x4adebc['x']+_0x4adebc['width']-_0x43770d),_0x49ea61+_0x438b6b>=_0x3d66ff['y']+_0x3d66ff['height']&&(_0x49ea61=Math['max'](_0x3d66ff['y'],_0x3d66ff['y']+_0x3d66ff['height']-_0x438b6b),_0x438b6b=_0x3d66ff['y']+_0x3d66ff['height']-_0x49ea61,_0x3580f6&&(_0x43770d=_0x438b6b*_0x3580f6),_0x56127f=_0x4adebc['x']+_0x4adebc['width']-_0x43770d),_0x438b6b<_0xdd7599&&(_0x438b6b=_0xdd7599,_0x3580f6&&(_0x43770d=_0x438b6b*_0x3580f6),_0x49ea61=_0x4adebc['y']+_0x4adebc['height']/0x2-_0x438b6b/0x2,_0x56127f=_0x4adebc['x']+_0x4adebc['width']-_0x43770d),_0x43770d<_0xdd7599&&(_0x43770d=_0xdd7599,_0x3580f6&&(_0x438b6b=_0x43770d/_0x3580f6),_0x49ea61=_0x4adebc['y']+_0x4adebc['height']/0x2-_0x438b6b/0x2,_0x56127f=_0x4adebc['x']+_0x4adebc['width']-_0x43770d),{'x':_0x56127f,'y':_0x49ea61,'width':_0x43770d,'height':_0x438b6b};}function resizeSouth({rect:_0x4ecbe7,delta:_0x501cd8,aspectRatio:_0x1a88ae,imageBox:_0x166e14}){const [,_0x4814d1]=_0x501cd8;let {y:_0x3622aa,width:_0x3635d6,height:_0x48d810}=_0x4ecbe7;_0x48d810+=_0x4814d1,_0x1a88ae&&(_0x3635d6=_0x48d810*_0x1a88ae);let _0x106aef=_0x4ecbe7['x']+_0x4ecbe7['width']/0x2-_0x3635d6/0x2;return _0x3622aa+_0x48d810>=_0x166e14['y']+_0x166e14['height']&&(_0x48d810=_0x166e14['y']+_0x166e14['height']-_0x3622aa,_0x1a88ae&&(_0x3635d6=_0x48d810*_0x1a88ae),_0x106aef=_0x4ecbe7['x']+_0x4ecbe7['width']/0x2-_0x3635d6/0x2),_0x106aef<=_0x166e14['x']&&(_0x106aef=_0x166e14['x'],_0x3622aa=_0x4ecbe7['y']),_0x106aef+_0x3635d6>=_0x166e14['x']+_0x166e14['width']&&(_0x106aef=Math['max'](_0x166e14['x'],_0x166e14['x']+_0x166e14['width']-_0x3635d6),_0x3635d6=_0x166e14['x']+_0x166e14['width']-_0x106aef,_0x1a88ae&&(_0x48d810=_0x3635d6/_0x1a88ae),_0x3622aa=_0x4ecbe7['y']),_0x48d810<_0xdd7599&&(_0x48d810=_0xdd7599,_0x1a88ae&&(_0x3635d6=_0x48d810*_0x1a88ae),_0x106aef=_0x4ecbe7['x']+_0x4ecbe7['width']/0x2-_0x3635d6/0x2),_0x3635d6<_0xdd7599&&(_0x3635d6=_0xdd7599,_0x1a88ae&&(_0x48d810=_0x3635d6/_0x1a88ae),_0x106aef=_0x4ecbe7['x']+_0x4ecbe7['width']/0x2-_0x3635d6/0x2),{'x':_0x106aef,'y':_0x3622aa,'width':_0x3635d6,'height':_0x48d810};}function resizeEast({rect:_0x242d2b,delta:_0x66da96,aspectRatio:_0x1d3ff5,imageBox:_0x3c939f}){const [_0x55b10d]=_0x66da96;let {x:_0x57ce21,width:_0x3dff07,height:_0x2c1c13}=_0x242d2b;_0x3dff07+=_0x55b10d,_0x1d3ff5&&(_0x2c1c13=_0x3dff07/_0x1d3ff5);let _0x1bd1e1=_0x242d2b['y']+_0x242d2b['height']/0x2-_0x2c1c13/0x2;return _0x57ce21+_0x3dff07>=_0x3c939f['x']+_0x3c939f['width']&&(_0x3dff07=_0x3c939f['x']+_0x3c939f['width']-_0x57ce21,_0x1d3ff5&&(_0x2c1c13=_0x3dff07/_0x1d3ff5),_0x1bd1e1=_0x242d2b['y']+_0x242d2b['height']/0x2-_0x2c1c13/0x2),_0x1bd1e1<=_0x3c939f['y']&&(_0x1bd1e1=_0x3c939f['y'],_0x57ce21=_0x242d2b['x']),_0x1bd1e1+_0x2c1c13>=_0x3c939f['y']+_0x3c939f['height']&&(_0x1bd1e1=Math['max'](_0x3c939f['y'],_0x3c939f['y']+_0x3c939f['height']-_0x2c1c13),_0x2c1c13=_0x3c939f['y']+_0x3c939f['height']-_0x1bd1e1,_0x1d3ff5&&(_0x3dff07=_0x2c1c13*_0x1d3ff5),_0x57ce21=_0x242d2b['x']),_0x2c1c13<_0xdd7599&&(_0x2c1c13=_0xdd7599,_0x1d3ff5&&(_0x3dff07=_0x2c1c13*_0x1d3ff5),_0x1bd1e1=_0x242d2b['y']+_0x242d2b['height']/0x2-_0x2c1c13/0x2),_0x3dff07<_0xdd7599&&(_0x3dff07=_0xdd7599,_0x1d3ff5&&(_0x2c1c13=_0x3dff07/_0x1d3ff5),_0x1bd1e1=_0x242d2b['y']+_0x242d2b['height']/0x2-_0x2c1c13/0x2),{'x':_0x57ce21,'y':_0x1bd1e1,'width':_0x3dff07,'height':_0x2c1c13};}function resizeNorthWest({rect:_0x359402,delta:_0x2e8c58,aspectRatio:_0x57c7d1,imageBox:_0x409f64}){let [_0x19c348,_0xb8b889]=_0x2e8c58,{x:_0x5efefc,y:_0x2e8139,width:_0x38a19d,height:_0xb5b87a}=_0x359402;return _0x5efefc+_0x19c348<_0x409f64['x']&&(_0x19c348=_0x409f64['x']-_0x5efefc),_0x2e8139+_0xb8b889<_0x409f64['y']&&(_0xb8b889=_0x409f64['y']-_0x2e8139),_0x5efefc+=_0x19c348,_0x38a19d-=_0x19c348,_0x2e8139+=_0xb8b889,_0xb5b87a-=_0xb8b889,_0x57c7d1&&Math['abs'](_0x38a19d/_0xb5b87a)>_0x57c7d1?(_0xb8b889=_0x38a19d/_0x57c7d1-_0xb5b87a,_0xb5b87a+=_0xb8b889,_0x2e8139-=_0xb8b889,_0x2e8139<=_0x409f64['y']&&(_0xb5b87a-=_0x409f64['y']-_0x2e8139,_0x38a19d=_0xb5b87a*_0x57c7d1,_0x5efefc=_0x359402['x']+_0x359402['width']-_0x38a19d,_0x2e8139=_0x409f64['y'])):_0x57c7d1&&(_0x19c348=_0xb5b87a*_0x57c7d1-_0x38a19d,_0x38a19d+=_0x19c348,_0x5efefc-=_0x19c348,_0x5efefc<=_0x409f64['x']&&(_0x38a19d-=_0x409f64['x']-_0x5efefc,_0xb5b87a=_0x38a19d/_0x57c7d1,_0x5efefc=_0x409f64['x'],_0x2e8139=_0x359402['y']+_0x359402['height']-_0xb5b87a)),_0xb5b87a<_0xdd7599&&(_0xb5b87a=_0xdd7599,_0x57c7d1&&(_0x38a19d=_0xb5b87a*_0x57c7d1),_0x5efefc=_0x359402['x']+_0x359402['width']-_0x38a19d,_0x2e8139=_0x359402['y']+_0x359402['height']-_0xb5b87a),_0x38a19d<_0xdd7599&&(_0x38a19d=_0xdd7599,_0x57c7d1&&(_0xb5b87a=_0x38a19d/_0x57c7d1),_0x5efefc=_0x359402['x']+_0x359402['width']-_0x38a19d,_0x2e8139=_0x359402['y']+_0x359402['height']-_0xb5b87a),{'x':_0x5efefc,'y':_0x2e8139,'width':_0x38a19d,'height':_0xb5b87a};}function resizeNorthEast({rect:_0x4efd7b,delta:_0x156ac4,aspectRatio:_0x4fd2ff,imageBox:_0x40858f}){let [_0x24fd09,_0x25f83]=_0x156ac4,{x:_0x2db939,y:_0x30d65f,width:_0x2aa9a7,height:_0x1aff7b}=_0x4efd7b;return _0x2db939+_0x2aa9a7+_0x24fd09>_0x40858f['x']+_0x40858f['width']&&(_0x24fd09=_0x40858f['x']+_0x40858f['width']-_0x2db939-_0x2aa9a7),_0x30d65f+_0x25f83<_0x40858f['y']&&(_0x25f83=_0x40858f['y']-_0x30d65f),_0x2aa9a7+=_0x24fd09,_0x30d65f+=_0x25f83,_0x1aff7b-=_0x25f83,_0x4fd2ff&&Math['abs'](_0x2aa9a7/_0x1aff7b)>_0x4fd2ff?(_0x25f83=_0x2aa9a7/_0x4fd2ff-_0x1aff7b,_0x1aff7b+=_0x25f83,_0x30d65f-=_0x25f83,_0x30d65f<=_0x40858f['y']&&(_0x1aff7b-=_0x40858f['y']-_0x30d65f,_0x2aa9a7=_0x1aff7b*_0x4fd2ff,_0x2db939=_0x4efd7b['x'],_0x30d65f=_0x40858f['y'])):_0x4fd2ff&&(_0x24fd09=_0x1aff7b*_0x4fd2ff-_0x2aa9a7,_0x2aa9a7+=_0x24fd09,_0x2db939+_0x2aa9a7>=_0x40858f['x']+_0x40858f['width']&&(_0x2aa9a7=_0x40858f['x']+_0x40858f['width']-_0x2db939,_0x1aff7b=_0x2aa9a7/_0x4fd2ff,_0x2db939=_0x40858f['x']+_0x40858f['width']-_0x2aa9a7,_0x30d65f=_0x4efd7b['y']+_0x4efd7b['height']-_0x1aff7b)),_0x1aff7b<_0xdd7599&&(_0x1aff7b=_0xdd7599,_0x4fd2ff&&(_0x2aa9a7=_0x1aff7b*_0x4fd2ff),_0x30d65f=_0x4efd7b['y']+_0x4efd7b['height']-_0x1aff7b),_0x2aa9a7<_0xdd7599&&(_0x2aa9a7=_0xdd7599,_0x4fd2ff&&(_0x1aff7b=_0x2aa9a7/_0x4fd2ff),_0x30d65f=_0x4efd7b['y']+_0x4efd7b['height']-_0x1aff7b),{'x':_0x2db939,'y':_0x30d65f,'width':_0x2aa9a7,'height':_0x1aff7b};}function resizeSouthWest({rect:_0x540b2f,delta:_0x165c72,aspectRatio:_0x240c79,imageBox:_0x49ab5c}){let [_0x274cfd,_0x86da44]=_0x165c72,{x:_0x479eca,y:_0x1422ef,width:_0x5ccc22,height:_0x287874}=_0x540b2f;return _0x479eca+_0x274cfd<_0x49ab5c['x']&&(_0x274cfd=_0x49ab5c['x']-_0x479eca),_0x1422ef+_0x287874+_0x86da44>_0x49ab5c['y']+_0x49ab5c['height']&&(_0x86da44=_0x49ab5c['y']+_0x49ab5c['height']-_0x1422ef-_0x287874),_0x479eca+=_0x274cfd,_0x5ccc22-=_0x274cfd,_0x287874+=_0x86da44,_0x240c79&&Math['abs'](_0x5ccc22/_0x287874)>_0x240c79?(_0x86da44=_0x5ccc22/_0x240c79-_0x287874,_0x287874+=_0x86da44,_0x1422ef+_0x287874>=_0x49ab5c['y']+_0x49ab5c['height']&&(_0x287874=_0x49ab5c['y']+_0x49ab5c['height']-_0x1422ef,_0x5ccc22=_0x287874*_0x240c79,_0x479eca=_0x540b2f['x']+_0x540b2f['width']-_0x5ccc22,_0x1422ef=_0x49ab5c['y']+_0x49ab5c['height']-_0x287874)):_0x240c79&&(_0x274cfd=_0x287874*_0x240c79-_0x5ccc22,_0x5ccc22+=_0x274cfd,_0x479eca-=_0x274cfd,_0x479eca<=_0x49ab5c['x']&&(_0x5ccc22-=_0x49ab5c['x']-_0x479eca,_0x287874=_0x5ccc22/_0x240c79,_0x479eca=_0x49ab5c['x'],_0x1422ef=_0x540b2f['y'])),_0x287874<_0xdd7599&&(_0x287874=_0xdd7599,_0x240c79&&(_0x5ccc22=_0x287874*_0x240c79),_0x479eca=_0x540b2f['x']+_0x540b2f['width']-_0x5ccc22),_0x5ccc22<_0xdd7599&&(_0x5ccc22=_0xdd7599,_0x240c79&&(_0x287874=_0x5ccc22/_0x240c79),_0x479eca=_0x540b2f['x']+_0x540b2f['width']-_0x5ccc22),{'x':_0x479eca,'y':_0x1422ef,'width':_0x5ccc22,'height':_0x287874};}function resizeSouthEast({rect:_0x51c553,delta:_0x251370,aspectRatio:_0x2b5836,imageBox:_0x49a5cc}){let [_0x17562f,_0x2111b5]=_0x251370,{x:_0x4fbc57,y:_0x1f67cc,width:_0x55acf8,height:_0x39e220}=_0x51c553;return _0x4fbc57+_0x55acf8+_0x17562f>_0x49a5cc['x']+_0x49a5cc['width']&&(_0x17562f=_0x49a5cc['x']+_0x49a5cc['width']-_0x4fbc57-_0x55acf8),_0x1f67cc+_0x39e220+_0x2111b5>_0x49a5cc['y']+_0x49a5cc['height']&&(_0x2111b5=_0x49a5cc['y']+_0x49a5cc['height']-_0x1f67cc-_0x39e220),_0x55acf8+=_0x17562f,_0x39e220+=_0x2111b5,_0x2b5836&&Math['abs'](_0x55acf8/_0x39e220)>_0x2b5836?(_0x2111b5=_0x55acf8/_0x2b5836-_0x39e220,_0x39e220+=_0x2111b5,_0x1f67cc+_0x39e220>=_0x49a5cc['y']+_0x49a5cc['height']&&(_0x39e220=_0x49a5cc['y']+_0x49a5cc['height']-_0x1f67cc,_0x55acf8=_0x39e220*_0x2b5836,_0x4fbc57=_0x51c553['x'],_0x1f67cc=_0x49a5cc['y']+_0x49a5cc['height']-_0x39e220)):_0x2b5836&&(_0x17562f=_0x39e220*_0x2b5836-_0x55acf8,_0x55acf8+=_0x17562f,_0x4fbc57+_0x55acf8>=_0x49a5cc['x']+_0x49a5cc['width']&&(_0x55acf8=_0x49a5cc['x']+_0x49a5cc['width']-_0x4fbc57,_0x39e220=_0x55acf8/_0x2b5836,_0x4fbc57=_0x49a5cc['x']+_0x49a5cc['width']-_0x55acf8,_0x1f67cc=_0x51c553['y'])),_0x39e220<_0xdd7599&&(_0x39e220=_0xdd7599,_0x2b5836&&(_0x55acf8=_0x39e220*_0x2b5836)),_0x55acf8<_0xdd7599&&(_0x55acf8=_0xdd7599,_0x2b5836&&(_0x39e220=_0x55acf8/_0x2b5836)),{'x':_0x4fbc57,'y':_0x1f67cc,'width':_0x55acf8,'height':_0x39e220};}function resizeRect({direction:_0x20f813,..._0x2ecb87}){switch(_0x20f813){case'n':return resizeNorth(_0x2ecb87);case'w':return resizeWest(_0x2ecb87);case's':return resizeSouth(_0x2ecb87);case'e':return resizeEast(_0x2ecb87);case'nw':return resizeNorthWest(_0x2ecb87);case'ne':return resizeNorthEast(_0x2ecb87);case'sw':return resizeSouthWest(_0x2ecb87);case'se':return resizeSouthEast(_0x2ecb87);default:return _0x2ecb87['rect'];}}function rectContainsPoint(_0x2b1c27,[_0x1c6c03,_0x5e62cd]){return _0x2b1c27['x']<=_0x1c6c03&&_0x1c6c03<=_0x2b1c27['x']+_0x2b1c27['width']&&_0x2b1c27['y']<=_0x5e62cd&&_0x5e62cd<=_0x2b1c27['y']+_0x2b1c27['height'];}function isRectInsideRect(_0x1441b4,_0x4212db){return _0x1441b4['x']>=_0x4212db['x']&&_0x1441b4['y']>=_0x4212db['y']&&_0x1441b4['x']+_0x1441b4['width']<=_0x4212db['x']+_0x4212db['width']&&_0x1441b4['y']+_0x1441b4['height']<=_0x4212db['y']+_0x4212db['height'];}function isRectMatchesAspectRatio(_0x22914e,_0x518340){return Math['abs'](_0x22914e['width']/_0x22914e['height']-_0x518340)<0.1;}function rotateSize({width:_0x7a5d97,height:_0x24491d},_0x85d359){const _0x2ae10a=_0x85d359/0x5a%0x2!=0x0;return{'width':_0x2ae10a?_0x24491d:_0x7a5d97,'height':_0x2ae10a?_0x7a5d97:_0x24491d};}function calculateMaxCenteredCropFrame(_0xb8ffe8,_0x52c7c2,_0x49ba4c){let _0x4364a2,_0x4e2a2d;_0xb8ffe8/_0x52c7c2>_0x49ba4c?(_0x4364a2=Math['round'](_0x52c7c2*_0x49ba4c),_0x4e2a2d=_0x52c7c2):(_0x4364a2=_0xb8ffe8,_0x4e2a2d=Math['round'](_0xb8ffe8/_0x49ba4c));const _0x2ce0ee=Math['round']((_0xb8ffe8-_0x4364a2)/0x2),_0x30e60b=Math['round']((_0x52c7c2-_0x4e2a2d)/0x2);return _0x2ce0ee+_0x4364a2>_0xb8ffe8&&(_0x4364a2=_0xb8ffe8-_0x2ce0ee),_0x30e60b+_0x4e2a2d>_0x52c7c2&&(_0x4e2a2d=_0x52c7c2-_0x30e60b),{'x':_0x2ce0ee,'y':_0x30e60b,'width':_0x4364a2,'height':_0x4e2a2d};}function roundRect(_0xf34613){return{'x':Math['round'](_0xf34613['x']),'y':Math['round'](_0xf34613['y']),'width':Math['round'](_0xf34613['width']),'height':Math['round'](_0xf34613['height'])};}function _0x399013(_0x31d8d8,_0x3db8e0,_0x5cee00){return Math['min'](Math['max'](_0x31d8d8,_0x3db8e0),_0x5cee00);}var _0x700133=['free'],parseCropPreset=_0x386116=>{const _0xe12b85=stringToArray(_0x386116);if(!_0xe12b85||0x0===_0xe12b85['length'])return[];const _0x59ddb5=[];for(const _0x2bf00b of _0xe12b85){const _0x2d411e=_0x2bf00b['trim']();if(!_0x2d411e)continue;const _0x31a999=_0x2d411e['indexOf'](':');if(-0x1===_0x31a999&&!_0x700133['includes'](_0x2d411e)){console['warn']('Invalid\x20crop\x20preset:\x20'+_0x2d411e);continue;}const _0x18491f=Number(_0x2d411e['slice'](0x0,_0x31a999)),_0x1d63c9=Number(_0x2d411e['slice'](_0x31a999+0x1));!(!Number['isFinite'](_0x18491f)||!Number['isFinite'](_0x1d63c9)||_0x18491f<=0x0||_0x1d63c9<=0x0)||_0x700133['includes'](_0x2d411e)?_0x59ddb5['push']({'id':_0x57c512['generate'](),'type':'aspect-ratio','width':_0x700133['includes'](_0x2d411e)?0x0:_0x18491f,'height':_0x700133['includes'](_0x2d411e)?0x0:_0x1d63c9,'hasFreeform':_0x700133['includes'](_0x2d411e)}):console['warn']('Invalid\x20crop\x20preset:\x20'+_0x2d411e);}return _0x59ddb5;},getClosestAspectRatio=(_0x4473b4,_0x2865b7,_0xa3b372,_0x1c84f9=0.1)=>{const _0x22aa3f=_0x4473b4/_0x2865b7;let _0x23626e=null,_0x2a02fb=0x1/0x0;for(const _0x1e1da3 of _0xa3b372){const [_0x2ae5bc,_0x4c7a2f]=[_0x1e1da3['width'],_0x1e1da3['height']],_0x5a1b7c=_0x2ae5bc/_0x4c7a2f,_0x293e41=Math['abs'](_0x22aa3f-_0x5a1b7c);_0x293e41<_0x2a02fb&&(_0x2a02fb=_0x293e41,_0x23626e=_0x1e1da3);}if(_0x23626e){const [_0x4d1c0c,_0x341e06]=[_0x23626e['width'],_0x23626e['height']],_0x47da57=_0x4d1c0c/_0x341e06;if(Math['abs'](_0x22aa3f-_0x47da57)/_0x47da57>_0x1c84f9)return null;}return _0x23626e;},ExternalUploadSource=Object['freeze']({'FACEBOOK':'facebook','DROPBOX':'dropbox','GDRIVE':'gdrive','GPHOTOS':'gphotos','FLICKR':'flickr','VK':'vk','EVERNOTE':'evernote','BOX':'box','ONEDRIVE':'onedrive','HUDDLE':'huddle'}),_0x5d4e95=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),_0x2d3f2c=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url','DRAW':'draw',..._0x5d4e95,...ExternalUploadSource});function customUserAgent(_0x3f935c){return getUserAgent$1({..._0x3f935c,'libraryName':_0x249b8c,'libraryVersion':_0x56ea43});}var msToUnixTimestamp=_0x5f1248=>'number'!=typeof _0x5f1248?0x0:Math['floor'](_0x5f1248/0x3e8),_0x124e47=(_0x5493b9,{threshold:_0x527588})=>{const {secureExpire:_0x568ada}=_0x5493b9,_0x1b219d=msToUnixTimestamp(Date['now']()),_0x188f37=Number(_0x568ada);return _0x1b219d+msToUnixTimestamp(_0x527588)>=_0x188f37;},_0x2a916a=class{['_block'];['_secureToken']=null;constructor(_0x43506a){this['_block']=_0x43506a;}['_debugPrint'](..._0x4a26b5){this['_block']['debugPrint']('[secure-uploads]',..._0x4a26b5);}async['getSecureToken'](){const {secureSignature:_0x42c765,secureExpire:_0x4ffec9,secureUploadsSignatureResolver:_0x530421}=this['_block']['cfg'];if((_0x42c765||_0x4ffec9)&&_0x530421&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0x530421){if(!this['_secureToken']||_0x124e47(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 _0x5183a7=await _0x530421();_0x5183a7?_0x5183a7['secureSignature']&&_0x5183a7['secureExpire']?(this['_debugPrint']('Secure\x20signature\x20resolved:',_0x5183a7),this['_debugPrint']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x5183a7['secureExpire']))['toISOString']()),this['_secureToken']=_0x5183a7):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x5183a7):(this['_debugPrint']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['_secureToken']=null);}catch(_0x7019ce){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x7019ce),this['_block']['telemetryManager']['sendEventError'](_0x7019ce,'secureUploadsSignatureResolver.\x20Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.');}}return this['_secureToken'];}return _0x42c765&&_0x4ffec9?(this['_debugPrint']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':_0x42c765,'secureExpire':_0x4ffec9}),{'secureSignature':_0x42c765,'secureExpire':_0x4ffec9}):null;}},validateCollectionUploadError=(_0x478f08,_0x5c50ca)=>{if(_0x478f08['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x5c50ca['l10n']('some-files-were-not-uploaded')};},validateMultiple=(_0x4ed1d2,_0x257830)=>{const _0x3815ab=_0x4ed1d2['totalCount'],_0x1a8ae2=_0x257830['cfg']['multiple']?_0x257830['cfg']['multipleMin']:0x0,_0x270ce3=_0x257830['cfg']['multiple']?_0x257830['cfg']['multipleMax']:0x1;if(_0x1a8ae2&&_0x3815ab<_0x1a8ae2)return{'type':'TOO_FEW_FILES','message':_0x257830['l10n']('files-count-limit-error-too-few',{'min':_0x1a8ae2,'max':_0x270ce3,'total':_0x3815ab}),'payload':{'total':_0x3815ab,'min':_0x1a8ae2,'max':_0x270ce3}};if(_0x270ce3&&_0x3815ab>_0x270ce3)return{'type':'TOO_MANY_FILES','message':_0x257830['l10n']('files-count-limit-error-too-many',{'min':_0x1a8ae2,'max':_0x270ce3,'total':_0x3815ab}),'payload':{'total':_0x3815ab,'min':_0x1a8ae2,'max':_0x270ce3}};},calcIsDesktopSafari=()=>{const _0x332ff0=navigator['userAgent'];return/Macintosh|Windows/['test'](_0x332ff0)&&/Version\/[\d.]+.*Safari/['test'](_0x332ff0)&&!/Chrome|Chromium|Edg|OPR/['test'](_0x332ff0);},calcHtmlMediaCaptureSupport=()=>'capture'in document['createElement']('input'),_0x76dc11=()=>({'safariDesktop':calcIsDesktopSafari()}),calcBrowserFeatures=()=>({'htmlMediaCapture':calcHtmlMediaCaptureSupport()}),_0x4e8d92=_0x76dc11(),browserFeatures=calcBrowserFeatures(),_0x3da9a6='image/*',_0x401a27='video/*',_0x53b600=['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs'],calcImageAcceptList=()=>_0x4e8d92['safariDesktop']?[_0x3da9a6]:[_0x3da9a6,..._0x53b600],_0x3124a2=calcImageAcceptList(),_0x34d447=_0x275218=>_0x275218?_0x275218['filter'](_0xb7b45a=>'string'==typeof _0xb7b45a)['flatMap'](_0xb76117=>stringToArray(_0xb76117)):[],matchMimeType=(_0x11cc8e,_0x452676)=>_0x452676['some'](_0x19e668=>{if(_0x19e668['endsWith']('*')){const _0x35ae36=_0x19e668['replace']('*','');return _0x11cc8e['startsWith'](_0x35ae36);}return _0x11cc8e===_0x19e668;}),matchExtension=(_0x389c5b,_0x20313c)=>_0x20313c['some'](_0x253726=>!!_0x253726['startsWith']('.')&&_0x389c5b['toLowerCase']()['endsWith'](_0x253726['toLowerCase']())),_0x1242dc=_0x152453=>{const _0x48366=_0x152453?.['type'];return!!_0x48366&&matchMimeType(_0x48366,_0x3124a2);},validateFileType=(_0x57ae4d,_0x12a001)=>{const _0x5be300=_0x12a001['cfg']['imgOnly'],_0x9ccfd=_0x12a001['cfg']['accept'],_0xaf734e=_0x34d447([..._0x5be300?_0x3124a2:[],_0x9ccfd]);if(!_0xaf734e['length'])return;const _0x35eb43=_0x57ae4d['mimeType'],_0x396bf2=_0x57ae4d['name'];if(!_0x35eb43||!_0x396bf2)return;const _0x17f8fd=matchMimeType(_0x35eb43,_0xaf734e),_0x556e7b=matchExtension(_0x396bf2,_0xaf734e);return _0x17f8fd||_0x556e7b?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0x12a001['l10n']('file-type-not-allowed'),'payload':{'entry':_0x57ae4d}};},validateIsImage=(_0x3b18f2,_0x5631aa)=>{const _0xd823cc=_0x5631aa['cfg']['imgOnly'],_0x16d86f=_0x3b18f2['isImage'];if(_0xd823cc&&!_0x16d86f&&(_0x3b18f2['fileInfo']||!_0x3b18f2['externalUrl'])&&(_0x3b18f2['fileInfo']||_0x3b18f2['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0x5631aa['l10n']('images-only-accepted'),'payload':{'entry':_0x3b18f2}};},_0x2b9357=0x3e8,ByteUnitEnum=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),_0x1191ed=_0x63c243=>Math['ceil'](0x64*_0x63c243)/0x64,prettyBytes=(_0x4a0c51,_0x3efabc=ByteUnitEnum['AUTO'])=>{const _0x1fb242=_0x3efabc===ByteUnitEnum['AUTO'];if(_0x3efabc===ByteUnitEnum['BYTE']||_0x1fb242&&_0x4a0c51<_0x2b9357**0x1)return _0x4a0c51+'\x20'+('one'===getPluralForm('en-US',_0x4a0c51)?'byte':'bytes');return _0x3efabc===ByteUnitEnum['KB']||_0x1fb242&&_0x4a0c51<_0x2b9357**0x2?_0x1191ed(_0x4a0c51/_0x2b9357**0x1)+'\x20KB':_0x3efabc===ByteUnitEnum['MB']||_0x1fb242&&_0x4a0c51<_0x2b9357**0x3?_0x1191ed(_0x4a0c51/_0x2b9357**0x2)+'\x20MB':_0x3efabc===ByteUnitEnum['GB']||_0x1fb242&&_0x4a0c51<_0x2b9357**0x4?_0x1191ed(_0x4a0c51/_0x2b9357**0x3)+'\x20GB':_0x3efabc===ByteUnitEnum['TB']||_0x1fb242&&_0x4a0c51<_0x2b9357**0x5?_0x1191ed(_0x4a0c51/_0x2b9357**0x4)+'\x20TB':_0x1191ed(_0x4a0c51/_0x2b9357**0x5)+'\x20PB';},validateMaxSizeLimit=(_0x469fb0,_0x1d0346)=>{const _0x143f56=_0x1d0346['cfg']['maxLocalFileSizeBytes'],_0x5ebd0c=_0x469fb0['size'];if(_0x143f56&&_0x5ebd0c&&_0x5ebd0c>_0x143f56)return{'type':'FILE_SIZE_EXCEEDED','message':_0x1d0346['l10n']('files-max-size-limit-error',{'maxFileSize':prettyBytes(_0x143f56)}),'payload':{'entry':_0x469fb0}};},validateUploadError=(_0x594a25,_0x1f4471)=>{const {internalId:_0x58ea21}=_0x594a25,_0x389dee=_0x1f4471['_uploadCollection']['read'](_0x58ea21),_0xa2544d=_0x389dee?.['getValue']('uploadError');if(!_0xa2544d)return;if(_0xa2544d instanceof _0x411308)return{'type':'UPLOAD_ERROR','message':_0xa2544d['message'],'payload':{'entry':_0x594a25,'error':_0xa2544d}};if(_0xa2544d instanceof NetworkError)return{'type':'NETWORK_ERROR','message':_0xa2544d['message'],'payload':{'entry':_0x594a25,'error':_0xa2544d}};const _0x3ab495=_0xa2544d instanceof Error?_0xa2544d:new Error('Unknown\x20error',{'cause':_0xa2544d});return{'type':'UNKNOWN_ERROR','message':_0x3ab495['message'],'payload':{'entry':_0x594a25,'error':_0x3ab495}};},withResolvers=()=>{let _0x508c36=()=>{},_0x201b97=()=>{};return{'promise':new Promise((_0x35c2cc,_0x47b5de)=>{_0x508c36=_0x35c2cc,_0x201b97=_0x47b5de;}),'resolve':_0x508c36,'reject':_0x201b97};},_0xd24104={'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=_0x20a56e=>'function'==typeof _0x20a56e?{'runOn':'change','validator':_0x20a56e}:_0x20a56e,ValidationManager=class{['_blockInstance'];['_uploadCollection'];['_commonFileValidators']=[validateIsImage,validateFileType,validateMaxSizeLimit,validateUploadError];['_commonCollectionValidators']=[validateMultiple,validateCollectionUploadError];['_queue']=new _0x577cb4(0x14);['_runQueueDebounced']=_0x4b27cc(()=>{this['_queue']['run']();},0x1f4);['_entryValidationState']=new Map();constructor(_0x232267){this['_blockInstance']=_0x232267,this['_uploadCollection']=this['_blockInstance']['uploadCollection'];const _0x1f59bf=()=>{this['runFileValidators']('change'),this['runCollectionValidators']();};this['_blockInstance']['subConfigValue']('maxLocalFileSizeBytes',_0x1f59bf),this['_blockInstance']['subConfigValue']('multipleMin',_0x1f59bf),this['_blockInstance']['subConfigValue']('multipleMax',_0x1f59bf),this['_blockInstance']['subConfigValue']('multiple',_0x1f59bf),this['_blockInstance']['subConfigValue']('imgOnly',_0x1f59bf),this['_blockInstance']['subConfigValue']('accept',_0x1f59bf),this['_blockInstance']['subConfigValue']('validationConcurrency',_0x36fc37=>{this['_queue']['concurrency']=_0x36fc37;});}['runFileValidators'](_0x24f779,_0x58e115){const _0x5be4f6=_0x58e115??this['_uploadCollection']['items']();for(const _0x48947f of _0x5be4f6){const _0x25dcde=this['_uploadCollection']['read'](_0x48947f);_0x25dcde&&this['_runFileValidatorsForEntry'](_0x25dcde,_0x24f779);}}['runCollectionValidators'](){const _0x3331f2=this['_blockInstance']['api']['getOutputCollectionState'](),_0xb3dcf4=[];for(const _0x123b90 of[...this['_commonCollectionValidators'],...this['_blockInstance']['cfg']['collectionValidators']])try{const _0x24a30c=_0x123b90(_0x3331f2,this['_blockInstance']['api']);if(!_0x24a30c)continue;_0x24a30c&&(_0xb3dcf4['push'](this['_addCustomTypeToValidationError'](_0x24a30c)),_0x24a30c['message']||console['warn'](_0xd24104['MISSING_ERROR_MESSAGE']));}catch(_0x29f2a8){console['warn'](_0xd24104['COLLECTION_VALIDATION_FAILED'],_0x29f2a8);}this['_blockInstance']['$']['*collectionErrors']=_0xb3dcf4,_0xb3dcf4['length']>0x0&&this['_blockInstance']['emit'](EventType['COMMON_UPLOAD_FAILED'],()=>this['_blockInstance']['api']['getOutputCollectionState'](),{'debounce':!0x0});}['cleanupValidationForEntry'](_0x1e2825){const _0x3b03b2=this['_entryValidationState']['get'](_0x1e2825['uid']);_0x3b03b2&&(_0x3b03b2['abortController']?.['abort'](),this['_entryValidationState']['delete'](_0x1e2825['uid']));}async['_runFileValidatorsForEntry'](_0x929d36,_0x2564e4){const _0x2a7ea7=this['_getValidatorDescriptorsForEntry'](_0x929d36,_0x2564e4);if(0x0===_0x2a7ea7['length'])return;_0x929d36['setMultipleValues']({'isQueuedForValidation':!0x0,'isValidationPending':!0x0});const _0x20b7af=this['_blockInstance']['api']['getOutputItem'](_0x929d36['uid']),_0x3e2db3=this['_getEntryValidationState'](_0x929d36);_0x3e2db3['promise']&&await _0x3e2db3['promise'];const {promise:_0x185005,resolve:_0x19c3af}=withResolvers();_0x3e2db3['promise']=_0x185005;const _0x5f5c11=new AbortController();_0x3e2db3['abortController']=_0x5f5c11;const _0x48d704=this['_blockInstance']['cfg']['validationTimeout'],_0x52eb06=this['_getValidatorDescriptors'](),_0x384398=new Set(_0x2a7ea7['map'](_0x246134=>_0x246134['validator'])),_0x5711c1=[];for(const _0x5ddc67 of _0x52eb06)if(!_0x384398['has'](_0x5ddc67['validator'])){const _0x371685=_0x3e2db3['lastErrorThrownByValidator']['get'](_0x5ddc67['validator']);_0x371685&&_0x5711c1['push'](_0x371685);}const _0x240522=_0x2a7ea7['map'](_0x1c2578=>async()=>{if(!this['_blockInstance']['isConnected'])return;const _0x49860a=setTimeout(()=>{_0x3e2db3['skippedValidators']['add'](_0x1c2578['validator']),_0x5f5c11['abort'](),console['warn'](_0xd24104['FILE_VALIDATION_TIMEOUT']);},_0x48d704);try{const _0x127f41=await _0x1c2578['validator'](_0x20b7af,this['_blockInstance']['api'],{'signal':_0x5f5c11['signal']});if(!_0x127f41||_0x5f5c11['signal']['aborted'])return void _0x3e2db3['lastErrorThrownByValidator']['set'](_0x1c2578['validator'],void 0x0);const _0x384378=this['_addCustomTypeToValidationError'](_0x127f41);_0x3e2db3['lastErrorThrownByValidator']['set'](_0x1c2578['validator'],_0x384378),_0x5711c1['push'](_0x384378),_0x127f41['message']||console['warn'](_0xd24104['MISSING_ERROR_MESSAGE']);}catch(_0x3740f5){_0x5f5c11['signal']['aborted']||(_0x3e2db3['skippedValidators']['add'](_0x1c2578['validator']),console['warn'](_0xd24104['FILE_VALIDATION_FAILED'],_0x3740f5),this['_blockInstance']['telemetryManager']['sendEventError'](_0x3740f5,'file\x20validator.\x20'+_0xd24104['FILE_VALIDATION_FAILED']));}finally{clearTimeout(_0x49860a),'change'!==_0x1c2578['runOn']&&_0x3e2db3['skippedValidators']['add'](_0x1c2578['validator']);}});if(this['_runQueueDebounced'](),await this['_queue']['add'](async()=>{_0x929d36['setValue']('isQueuedForValidation',!0x1),await Promise['all'](_0x240522['map'](_0x2266da=>_0x2266da()))['catch'](()=>{});},{'autoRun':!0x1}),_0x5f5c11['signal']['aborted'])return _0x929d36['setMultipleValues']({'isQueuedForValidation':!0x1,'isValidationPending':!0x1}),void _0x19c3af();_0x929d36['setMultipleValues']({'isValidationPending':!0x1,'isQueuedForValidation':!0x1,'errors':_0x5711c1}),_0x19c3af();}['_addCustomTypeToValidationError'](_0x474109){return{..._0x474109,'type':_0x474109['type']??'CUSTOM_ERROR'};}['_getEntryValidationState'](_0x5ea6d1){const _0x462086=this['_entryValidationState']['get'](_0x5ea6d1['uid']);if(_0x462086)return _0x462086;const _0x44802b={'abortController':void 0x0,'skippedValidators':new WeakSet(),'promise':void 0x0,'lastErrorThrownByValidator':new WeakMap()};return this['_entryValidationState']['set'](_0x5ea6d1['uid'],_0x44802b),_0x44802b;}['_getValidatorDescriptors'](){return[...this['_commonFileValidators'],...this['_blockInstance']['cfg']['fileValidators']]['map'](getValidatorDescriptor);}['_getValidatorDescriptorsForEntry'](_0x14afa2,_0x6f5074){const _0x2351ff=this['_getEntryValidationState'](_0x14afa2);return this['_getValidatorDescriptors']()['filter'](_0x4b4968=>!_0x2351ff['skippedValidators']['has'](_0x4b4968['validator']))['filter'](_0x525c48=>_0x525c48['runOn']===_0x6f5074);}},_0x31a051='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',_0x206b8e='[Typed\x20State]\x20Wrong\x20property\x20type:\x20',TypedData=class{['__typedSchema'];['__ctxId'];['__schema'];['__data'];constructor(_0x2528fc,_0x2271e6){this['__typedSchema']=_0x2528fc,this['__ctxId']=_0x2271e6||_0x57c512['generate'](),this['__schema']=Object['keys'](_0x2528fc)['reduce']((_0x49ba07,_0x153093)=>(_0x2528fc[_0x153093]&&(_0x49ba07[_0x153093]=_0x2528fc[_0x153093]['value']),_0x49ba07),{}),this['__data']=Data['registerCtx'](this['__schema'],this['__ctxId']);}get['uid'](){return this['__ctxId'];}['setValue'](_0x210e79,_0x43275a){if(!Object['hasOwn'](this['__typedSchema'],_0x210e79)||!this['__typedSchema'][_0x210e79])return void console['warn'](_0x31a051+_0x210e79);const _0x5b1502=this['__typedSchema'][_0x210e79],_0x2ce776=_0x43275a?.['constructor']===_0x5b1502['type'],_0x29de9c=_0x43275a instanceof _0x5b1502['type'],_0x26cd6d=_0x5b1502['nullable']&&null===_0x43275a;_0x2ce776||_0x29de9c||_0x26cd6d?this['__data']['pub'](_0x210e79,_0x43275a):console['warn'](_0x206b8e+_0x210e79);}['setMultipleValues'](_0x340bf1){for(const [_0x472b94,_0x22ecac]of Object['entries'](_0x340bf1))this['setValue'](_0x472b94,_0x22ecac);}['getValue'](_0x10ade2){return Object['hasOwn'](this['__typedSchema'],_0x10ade2)||console['warn'](_0x31a051+_0x10ade2),this['__data']['read'](_0x10ade2);}['subscribe'](_0x541091,_0x15d944){return this['__data']['sub'](_0x541091,_0x15d944);}['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(_0x1a61c7){this['__typedSchema']=_0x1a61c7['typedSchema'],this['__ctxId']=_0x1a61c7['ctxName']||_0x57c512['generate'](),this['__data']=Data['registerCtx']({},this['__ctxId']),this['__watchList']=_0x1a61c7['watchList']||[];let _0x24e3b4=Object['create'](null);this['__notifyObservers']=(_0x18ad72,_0x1da0ae)=>{this['__observeTimeout']&&window['clearTimeout'](this['__observeTimeout']),_0x24e3b4[_0x18ad72]||(_0x24e3b4[_0x18ad72]=new Set()),_0x24e3b4[_0x18ad72]['add'](_0x1da0ae),this['__observeTimeout']=window['setTimeout'](()=>{0x0!==Object['keys'](_0x24e3b4)['length']&&(this['__propertyObservers']['forEach'](_0x3835a6=>{_0x3835a6({..._0x24e3b4});}),_0x24e3b4=Object['create'](null));});},_0x1a61c7['handler']&&this['observeCollection'](_0x1a61c7['handler']);}['notify'](){this['__notifyTimeout']&&window['clearTimeout'](this['__notifyTimeout']),this['__notifyTimeout']=window['setTimeout'](()=>{const _0x134de9=new Set(this['__added']),_0x48a006=new Set(this['__removed']);this['__added']['clear'](),this['__removed']['clear']();for(const _0x62ac7f of this['__collectionObservers'])_0x62ac7f?.([...this['__items']],_0x134de9,_0x48a006);});}['observeCollection'](_0x243262){return this['__collectionObservers']['add'](_0x243262),this['__items']['size']>0x0&&this['notify'](),()=>{this['unobserveCollection'](_0x243262);};}['unobserveCollection'](_0x1b041a){this['__collectionObservers']['delete'](_0x1b041a);}['add'](_0x483906){const _0x42a735=new TypedData(this['__typedSchema']);for(const [_0x1d5fd1,_0x291ded]of Object['entries'](_0x483906))void 0x0!==_0x291ded&&_0x42a735['setValue'](_0x1d5fd1,_0x291ded);return this['__items']['add'](_0x42a735['uid']),this['notify'](),this['__data']['add'](_0x42a735['uid'],_0x42a735),this['__added']['add'](_0x42a735),this['__watchList']['forEach'](_0x33c602=>{this['__subsMap'][_0x42a735['uid']]||(this['__subsMap'][_0x42a735['uid']]=[]),this['__subsMap'][_0x42a735['uid']]?.['push'](_0x42a735['subscribe'](_0x33c602,()=>{this['__notifyObservers'](_0x33c602,_0x42a735['uid']);}));}),_0x42a735['uid'];}['read'](_0x15f2b5){return this['__data']['read'](_0x15f2b5);}['readProp'](_0x270619,_0x5684db){const _0x3233e2=this['read'](_0x270619);return _0x3233e2?_0x3233e2['getValue'](_0x5684db):(console['warn']('Item\x20with\x20id\x20'+_0x270619+'\x20not\x20found'),null);}['publishProp'](_0x380fda,_0x3461b4,_0x673432){const _0x2c979b=this['read'](_0x380fda);_0x2c979b?_0x2c979b['setValue'](_0x3461b4,_0x673432):console['warn']('Item\x20with\x20id\x20'+_0x380fda+'\x20not\x20found');}['remove'](_0x58c336){const _0x2eb47a=this['read'](_0x58c336);_0x2eb47a&&this['__removed']['add'](_0x2eb47a),this['__items']['delete'](_0x58c336),this['notify'](),this['__data']['pub'](_0x58c336,null),delete this['__subsMap'][_0x58c336];}['clearAll'](){this['__items']['forEach'](_0x3bacc0=>{this['remove'](_0x3bacc0);});}['observeProperties'](_0x34c5fd){return this['__propertyObservers']['add'](_0x34c5fd),()=>{this['unobserveProperties'](_0x34c5fd);};}['unobserveProperties'](_0x7b41d9){this['__propertyObservers']['delete'](_0x7b41d9);}['findItems'](_0x217be9){const _0x3707bd=[];return this['__items']['forEach'](_0x3aa78c=>{const _0x1b14bc=this['read'](_0x3aa78c);_0x1b14bc&&_0x217be9(_0x1b14bc)&&_0x3707bd['push'](_0x3aa78c);}),_0x3707bd;}['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 _0x4956de in this['__subsMap'])this['__subsMap'][_0x4956de]?.['forEach'](_0x1b62d7=>{_0x1b62d7['remove']();}),delete this['__subsMap'][_0x4956de];}},_0x137285=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'}),_0x39055f=_0x326aed=>({'isVideoRecordingEnabled':_0x28e87f(_0x326aed['cameraModes'])['includes'](_0x137285['VIDEO']),'isPhotoEnabled':_0x28e87f(_0x326aed['cameraModes'])['includes'](_0x137285['PHOTO'])}),_0x397b8d=/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i,_0x1199d7=new RegExp('^/?('+_0x397b8d['source']+')(?:/(-/(?:[^/]+/)+)?([^/]*))?$','i'),_0x2f6a9e=({url:_0x185422,cdnBase:_0x714ee0})=>{const _0x306029=new URL(_0x714ee0),_0x3505d7=new URL(_0xcef73),_0x429ecd=new URL(_0x185422);if(_0x306029['host']!==_0x429ecd['host']&&_0x3505d7['host']!==_0x429ecd['host'])return null;const _0x1690c6=_0x1199d7['exec'](_0x429ecd['pathname']);if(!_0x1690c6)return null;const [,_0x5d14e7,_0x374ee1,_0x505fc3]=_0x1690c6;return _0x5d14e7?{'uuid':_0x5d14e7,'cdnUrlModifiers':_0x374ee1||'','filename':_0x505fc3||null}:null;};function _0x232c62(_0x247de5){const _0x53f5c8=new Map();return(..._0x39eb55)=>{const _0x4da4cf=JSON['stringify'](_0x39eb55);if(_0x53f5c8['has'](_0x4da4cf))return _0x53f5c8['get'](_0x4da4cf);const _0x5a1ed5=_0x247de5(..._0x39eb55);return _0x53f5c8['set'](_0x4da4cf,_0x5a1ed5),_0x5a1ed5;};}var _0xc4e395=new Set();function _0x12c984(_0x2f8f2d){_0xc4e395['has'](_0x2f8f2d)||(_0xc4e395['add'](_0x2f8f2d),console['warn'](_0x2f8f2d));}function createAsyncAssertWrapper(_0x2c0b05){let _0x56877f=!0x1;return setTimeout(()=>{_0x56877f=!0x0;},0x0),_0x465ac8=>(..._0x2637bc)=>(_0x56877f&&_0x12c984(_0x2c0b05),_0x465ac8(..._0x2637bc));}function buildOutputCollectionState(_0x261707){const _0x1aad78={},_0x384e2d={'progress':()=>_0x261707['$']['*commonProgress'],'errors':()=>_0x261707['$']['*collectionErrors'],'group':()=>_0x261707['$']['*groupInfo'],'totalCount':()=>_0x261707['uploadCollection']['size'],'failedCount':()=>_0x1aad78['failedEntries']['length'],'successCount':()=>_0x1aad78['successEntries']['length'],'uploadingCount':()=>_0x1aad78['uploadingEntries']['length'],'status':()=>_0x1aad78['isFailed']?'failed':_0x1aad78['isUploading']?'uploading':_0x1aad78['isSuccess']?'success':'idle','isSuccess':()=>_0x1aad78['allEntries']['length']>0x0&&0x0===_0x1aad78['errors']['length']&&_0x1aad78['successEntries']['length']===_0x1aad78['allEntries']['length'],'isUploading':()=>_0x1aad78['allEntries']['some'](_0x5e8d90=>'uploading'===_0x5e8d90['status']),'isFailed':()=>_0x1aad78['errors']['length']>0x0||_0x1aad78['failedEntries']['length']>0x0,'allEntries':()=>_0x261707['getOutputData'](),'successEntries':()=>_0x1aad78['allEntries']['filter'](_0x257ad1=>'success'===_0x257ad1['status']),'failedEntries':()=>_0x1aad78['allEntries']['filter'](_0x158d00=>'failed'===_0x158d00['status']),'uploadingEntries':()=>_0x1aad78['allEntries']['filter'](_0x457882=>'uploading'===_0x457882['status']),'idleEntries':()=>_0x1aad78['allEntries']['filter'](_0xa2e90b=>'idle'===_0xa2e90b['status'])},_0x4b0f3a=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 [_0x2c7eac,_0x1eddda]of Object['entries'](_0x384e2d)){const _0x26ff83=_0x2c7eac,_0x283d2f=_0x232c62(_0x4b0f3a(_0x1eddda));Object['defineProperty'](_0x1aad78,_0x26ff83,{'get':_0x283d2f,'enumerable':!0x0});}return _0x1aad78;}var _0x426e0b=class{['_ctx'];constructor(_0x392c05){this['_ctx']=_0x392c05;}get['_uploadCollection'](){return this['_ctx']['uploadCollection'];}get['cfg'](){return this['_ctx']['cfg'];}get['l10n'](){return this['_ctx']['l10n']['bind'](this['_ctx']);}['addFileFromUrl']=(_0x53681b,{silent:_0x3c4287,fileName:_0x3b4454,source:_0x4c8aeb}={})=>{const _0x1a2f78=this['_uploadCollection']['add']({'externalUrl':_0x53681b,'fileName':_0x3b4454??null,'silent':_0x3c4287??!0x1,'source':_0x4c8aeb??_0x2d3f2c['API']});return this['getOutputItem'](_0x1a2f78);};['addFileFromUuid']=(_0xff8be,{silent:_0x471beb,fileName:_0x116939,source:_0x2dfbe0}={})=>{const _0x1309f1=this['_uploadCollection']['add']({'uuid':_0xff8be,'fileName':_0x116939??null,'silent':_0x471beb??!0x1,'source':_0x2dfbe0??_0x2d3f2c['API']});return this['getOutputItem'](_0x1309f1);};['addFileFromCdnUrl']=(_0x17f3a8,{silent:_0x350387,fileName:_0x39f090,source:_0x52f099}={})=>{const _0x184d89=_0x2f6a9e({'url':_0x17f3a8,'cdnBase':this['cfg']['cdnCname']});if(!_0x184d89)throw new Error('Invalid\x20CDN\x20URL');const _0x28e011=this['_uploadCollection']['add']({'uuid':_0x184d89['uuid'],'cdnUrl':_0x17f3a8,'cdnUrlModifiers':_0x184d89['cdnUrlModifiers'],'fileName':_0x39f090??_0x184d89['filename']??null,'silent':_0x350387??!0x1,'source':_0x52f099??_0x2d3f2c['API']});return this['getOutputItem'](_0x28e011);};['addFileFromObject']=(_0x4fc026,{silent:_0x2e35bf,fileName:_0x1770f4,source:_0x635289,fullPath:_0x959066}={})=>{const _0x4da977=this['_uploadCollection']['add']({'file':_0x4fc026,'isImage':_0x1242dc(_0x4fc026),'mimeType':_0x4fc026['type'],'fileName':_0x1770f4??_0x4fc026['name'],'fileSize':_0x4fc026['size'],'silent':_0x2e35bf??!0x1,'source':_0x635289??_0x2d3f2c['API'],'fullPath':_0x959066??null});return this['getOutputItem'](_0x4da977);};['removeFileByInternalId']=_0x227ae6=>{if(!this['_uploadCollection']['read'](_0x227ae6))throw new Error('File\x20with\x20internalId\x20'+_0x227ae6+'\x20not\x20found');this['_uploadCollection']['remove'](_0x227ae6);};['removeAllFiles'](){this['_uploadCollection']['clearAll']();}['uploadAll']=()=>{const _0x52865e=this['_uploadCollection']['items']()['filter'](_0x4ffcff=>{const _0x441bdc=this['_uploadCollection']['read'](_0x4ffcff);return!!_0x441bdc&&!(_0x441bdc['getValue']('isRemoved')||_0x441bdc['getValue']('isUploading')||_0x441bdc['getValue']('fileInfo')||0x0!==_0x441bdc['getValue']('errors')['length']||_0x441bdc['getValue']('isValidationPending')||_0x441bdc['getValue']('isQueuedForValidation'));});0x0!==_0x52865e['length']&&(this['_ctx']['$']['*uploadTrigger']=new Set(_0x52865e),this['_ctx']['emit'](EventType['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));};['openSystemDialog']=(_0xc0980f={})=>{const _0x29613d=_0x3f0423(_0x34d447([this['cfg']['accept']??'',...this['cfg']['imgOnly']?_0x3124a2:[]])),_0x30c65a='uploadcare-file-input',_0xfc76c2=document['createElement']('input');if(_0xfc76c2['setAttribute'](_0x30c65a,''),applyStyles(_0xfc76c2,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0xfc76c2['type']='file',_0xfc76c2['multiple']=this['cfg']['multiple'],_0xc0980f['captureCamera']){_0xfc76c2['capture']=this['cfg']['cameraCapture'];const {isPhotoEnabled:_0x6031e2,isVideoRecordingEnabled:_0x55ffa8}=_0x39055f(this['cfg']);_0xc0980f['modeCamera']===_0x137285['PHOTO']&&_0x6031e2?_0xfc76c2['accept']=_0x3da9a6:_0xc0980f['modeCamera']===_0x137285['VIDEO']&&_0x55ffa8?_0xfc76c2['accept']=_0x401a27:_0xfc76c2['accept']=[_0x3da9a6,_0x55ffa8&&_0x401a27]['filter'](Boolean)['join'](',');}else _0xfc76c2['accept']=_0x29613d;_0xfc76c2['addEventListener']('change',()=>{_0xfc76c2['files']&&([..._0xfc76c2['files']]['forEach'](_0x4e6099=>{this['addFileFromObject'](_0x4e6099,{'source':_0xc0980f['captureCamera']?_0x2d3f2c['CAMERA']:_0x2d3f2c['LOCAL']});}),this['_ctx']['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['_ctx']['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],_0xfc76c2['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x30c65a+']')['forEach'](_0x5ad063=>{_0x5ad063['remove']();}),document['body']['appendChild'](_0xfc76c2),_0xfc76c2['dispatchEvent'](new MouseEvent('click'));};['getOutputItem'](_0x23fe4d){const _0x18f487=Data['getCtx'](_0x23fe4d)['store'],_0x4b2180=_0x18f487['fileInfo'],_0x5c70bf=_0x18f487['isRemoved']?'removed':_0x18f487['errors']['length']>0x0?'failed':_0x18f487['fileInfo']?'success':_0x18f487['isUploading']?'uploading':'idle';return{'uuid':_0x4b2180?.['uuid']??_0x18f487['uuid']??null,'internalId':_0x23fe4d,'name':_0x4b2180?.['originalFilename']??_0x18f487['fileName'],'size':_0x4b2180?.['size']??_0x18f487['fileSize'],'isImage':_0x4b2180?.['isImage']??_0x18f487['isImage'],'mimeType':_0x4b2180?.['mimeType']??_0x18f487['mimeType'],'file':_0x18f487['file'],'externalUrl':_0x18f487['externalUrl'],'cdnUrlModifiers':_0x18f487['cdnUrlModifiers'],'cdnUrl':_0x18f487['cdnUrl']??_0x4b2180?.['cdnUrl']??null,'fullPath':_0x18f487['fullPath'],'uploadProgress':_0x18f487['uploadProgress'],'fileInfo':_0x4b2180??null,'metadata':_0x18f487['metadata']??_0x4b2180?.['metadata']??null,'isSuccess':'success'===_0x5c70bf,'isUploading':'uploading'===_0x5c70bf,'isFailed':'failed'===_0x5c70bf,'isRemoved':'removed'===_0x5c70bf,'isValidationPending':_0x18f487['isValidationPending'],'errors':_0x18f487['errors'],'status':_0x5c70bf,'source':_0x18f487?.['source']};}['getOutputCollectionState'](){return buildOutputCollectionState(this['_ctx']);}['initFlow']=(_0x18eb7c=!0x1)=>{if(this['_uploadCollection']['size']>0x0&&!_0x18eb7c)this['_ctx']['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['_ctx']['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']});else{if(0x1===this['_sourceList']?.['length']){const _0x5b6c5a=this['_sourceList'][0x0];if('local'===_0x5b6c5a)return this['_ctx']['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],void this['openSystemDialog']();if('camera'===_0x5b6c5a&&browserFeatures['htmlMediaCapture']){const {isPhotoEnabled:_0x1a8d31,isVideoRecordingEnabled:_0x559e9a}=_0x39055f(this['cfg']);if(_0x1a8d31&&_0x559e9a)return void this['_ctx']['set$']({'*currentActivity':ActivityBlock['activities']['START_FROM']});if(_0x1a8d31||_0x559e9a)return void this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0x1a8d31?_0x137285['PHOTO']:_0x137285['VIDEO']});this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0x137285['PHOTO']});}const _0x53f4db=[...this['_ctx']['$']['*blocksRegistry']]['find'](_0x45ae59=>'type'in _0x45ae59&&_0x45ae59['type']===_0x5b6c5a);_0x53f4db?.['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']=(_0xa1f23b,..._0x751c16)=>{this['_ctx']['hasBlockInCtx'](_0x11961a=>_0x11961a['activityType']===_0xa1f23b)?this['_ctx']['set$']({'*currentActivityParams':_0x751c16??{},'*currentActivity':_0xa1f23b}):console['warn']('Activity\x20type\x20\x22'+_0xa1f23b+'\x22\x20not\x20found\x20in\x20the\x20context');};['getCurrentActivity']=()=>this['_ctx']['$']['*currentActivity'];['setModalState']=_0x255b3e=>{!_0x255b3e||this['_ctx']['$']['*currentActivity']?_0x255b3e?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 _0x4656a3=[];return this['cfg']['sourceList']&&(_0x4656a3=stringToArray(this['cfg']['sourceList'])),_0x4656a3;}},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':_0x44bb78,'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})}),_0x4378ff=class _0x54898c extends ActivityBlock{static ['extSrcList'];static ['sourceTypes'];['couldBeCtxOwner']=!0x1;['isCtxOwner']=!0x1;['_unobserveCollection'];['_unobserveCollectionProperties'];['init$']=uploaderBlockCtx(this);get['hasCtxOwner'](){return this['hasBlockInCtx'](_0x520c9b=>_0x520c9b instanceof _0x54898c&&(_0x520c9b['isCtxOwner']&&_0x520c9b['isConnected']&&_0x520c9b!==this));}['initCallback'](){if(super['initCallback'](),!this['has']('*uploadCollection')){const _0x2d556c=new TypedCollection({'typedSchema':uploadEntrySchema,'watchList':['uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading','isValidationPending']});this['add']('*uploadCollection',_0x2d556c);}this['has']('*publicApi')||this['add']('*publicApi',new _0x426e0b(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',_0x35ee85=>{this['$']['*uploadQueue']['concurrency']=Number(_0x35ee85)||0x1;}),this['$']['*secureUploadsManager']||(this['$']['*secureUploadsManager']=new _0x2a916a(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'](_0x328f93){const _0x33ec1f=await this['getUploadClientOptions'](),_0x41db32=_0x328f93['allEntries']['map'](_0x12c8c9=>_0x12c8c9['uuid']+(_0x12c8c9['cdnUrlModifiers']?'/'+_0x12c8c9['cdnUrlModifiers']:'')),_0xf35a49=new AbortController(),_0x131481=await _0x52b0e2(_0x41db32,{..._0x33ec1f,'signal':_0xf35a49['signal']});if(this['$']['*collectionState']!==_0x328f93)return void _0xf35a49['abort']();this['$']['*groupInfo']=_0x131481;const _0x13173b=this['api']['getOutputCollectionState']();this['emit'](EventType['GROUP_CREATED'],_0x13173b),this['emit'](EventType['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x13173b;}['_flushOutputItems']=_0x4b27cc(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']=(_0x488533,_0x3efa0d,_0x4158f8)=>{(_0x3efa0d['size']||_0x4158f8['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators']('add',[..._0x3efa0d]['map'](_0x34ae52=>_0x34ae52['uid']));for(const _0x21bcb7 of _0x3efa0d)_0x21bcb7['getValue']('silent')||this['emit'](EventType['FILE_ADDED'],this['api']['getOutputItem'](_0x21bcb7['uid']));this['validationManager']['runCollectionValidators']();for(const _0x21324e of _0x4158f8){this['$']['*uploadTrigger']['delete'](_0x21324e['uid']),this['validationManager']['cleanupValidationForEntry'](_0x21324e),_0x21324e['getValue']('abortController')?.['abort'](),_0x21324e['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});const _0x5c906b=_0x21324e?.['getValue']('thumbUrl');_0x5c906b&&URL['revokeObjectURL'](_0x5c906b),this['emit'](EventType['FILE_REMOVED'],this['api']['getOutputItem'](_0x21324e['uid']));}this['$']['*uploadList']=_0x488533['map'](_0x50d527=>({'uid':_0x50d527})),this['_flushCommonUploadProgress'](),this['_flushOutputItems']();};['_handleCollectionPropertiesUpdate']=_0xdf905b=>{this['_flushOutputItems']();const _0x5a8c3b=this['uploadCollection'],_0x1a8df6=[...new Set(Object['entries'](_0xdf905b)['filter'](([_0x396a56])=>['uploadError','fileInfo','cdnUrl','cdnUrlModifiers']['includes'](_0x396a56))['flatMap'](([,_0x165442])=>[..._0x165442]))];if(_0x1a8df6['length']>0x0&&setTimeout(()=>{const _0x12bab0=_0x1a8df6['filter'](_0x1ab3ad=>_0xdf905b['fileInfo']?.['has'](_0x1ab3ad)&&!!Data['getCtx'](_0x1ab3ad)['store']['fileInfo']);_0x12bab0['length']>0x0&&this['validationManager']['runFileValidators']('upload',_0x12bab0),this['validationManager']['runFileValidators']('change',_0x1a8df6);}),_0xdf905b['uploadProgress']){for(const _0x461c5b of _0xdf905b['uploadProgress']){const {isUploading:_0x4ad97f,silent:_0x2b2ce4}=Data['getCtx'](_0x461c5b)['store'];_0x4ad97f&&!_0x2b2ce4&&this['emit'](EventType['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0x461c5b));}this['_flushCommonUploadProgress']();}if(_0xdf905b['isUploading'])for(const _0x2e48f5 of _0xdf905b['isUploading']){const {isUploading:_0x419cec,silent:_0x6fc3fc}=Data['getCtx'](_0x2e48f5)['store'];_0x419cec&&!_0x6fc3fc&&this['emit'](EventType['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x2e48f5));}if(_0xdf905b['fileInfo']){for(const _0x46fd8b of _0xdf905b['fileInfo']){const {fileInfo:_0x3333b7,silent:_0xe7c55d}=Data['getCtx'](_0x46fd8b)['store'];_0x3333b7&&!_0xe7c55d&&this['emit'](EventType['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0x46fd8b));}this['cfg']['cropPreset']&&this['setInitialCrop'](),this['cfg']['cloudImageEditorAutoOpen']&&this['openCloudImageEditor']();}if(_0xdf905b['errors']){this['validationManager']['runCollectionValidators']();for(const _0x20eef4 of _0xdf905b['errors']){const {errors:_0x52cd51}=Data['getCtx'](_0x20eef4)['store'];_0x52cd51['length']>0x0&&(this['emit'](EventType['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x20eef4)),this['emit'](EventType['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}const _0x228af0=_0x5a8c3b['findItems'](_0x294e39=>!!_0x294e39['getValue']('fileInfo')),_0x3613de=_0x5a8c3b['findItems'](_0xbd50c1=>_0xbd50c1['getValue']('errors')['length']>0x0);_0x5a8c3b['size']>0x0&&0x0===_0x3613de['length']&&_0x5a8c3b['size']===_0x228af0['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](EventType['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}_0xdf905b['cdnUrl']&&([..._0xdf905b['cdnUrl']]['filter'](_0x470d21=>!!this['uploadCollection']['read'](_0x470d21)?.['getValue']('cdnUrl'))['forEach'](_0x2fc7c5=>{this['emit'](EventType['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x2fc7c5));}),this['$']['*groupInfo']=null);};['_flushCommonUploadProgress']=()=>{let _0x48b984=0x0;const _0x3430c6=[...this['$']['*uploadTrigger']]['filter'](_0x270ded=>!!this['uploadCollection']['read'](_0x270ded));_0x3430c6['forEach'](_0x449993=>{const _0x2b1607=this['uploadCollection']['readProp'](_0x449993,'uploadProgress');'number'==typeof _0x2b1607&&(_0x48b984+=_0x2b1607);});const _0x168a70=_0x3430c6['length']?Math['round'](_0x48b984/_0x3430c6['length']):0x0;this['$']['*commonProgress']!==_0x168a70&&(this['$']['*commonProgress']=_0x168a70,this['emit'](EventType['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};['openCloudImageEditor'](){const [_0x2707bc]=this['uploadCollection']['findItems'](_0x433d40=>!!_0x433d40['getValue']('fileInfo')&&_0x433d40['getValue']('isImage'))['map'](_0x2d9c3f=>this['uploadCollection']['read'](_0x2d9c3f));_0x2707bc&&0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x530712=>_0x530712['activityType']===ActivityBlock['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x2707bc['uid']},this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](ActivityBlock['activities']['CLOUD_IMG_EDIT']));}['setInitialCrop'](){const _0x1ae5b1=parseCropPreset(this['cfg']['cropPreset']);if(_0x1ae5b1){const [_0xe20220]=_0x1ae5b1,_0x4874c3=this['uploadCollection']['findItems'](_0x1f8fb3=>!!_0x1f8fb3['getValue']('fileInfo')&&_0x1f8fb3['getValue']('isImage')&&!_0x1f8fb3['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x44bf79=>this['uploadCollection']['read'](_0x44bf79))['filter'](Boolean);for(const _0x58f569 of _0x4874c3){const _0x12ce47=_0x58f569['getValue']('fileInfo');if(!_0x12ce47||!_0x12ce47['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0x58f569['uid']);continue;}const {width:_0x11faed,height:_0x1ec706}=_0x12ce47['imageInfo'],_0x3320b5=calculateMaxCenteredCropFrame(_0x11faed,_0x1ec706,'number'==typeof _0xe20220?.['width']&&'number'==typeof _0xe20220?.['height']&&_0xe20220['width']>0x0&&_0xe20220['height']>0x0?_0xe20220['width']/_0xe20220['height']:0x1),_0x5104de=createCdnUrlModifiers('crop/'+_0x3320b5['width']+'x'+_0x3320b5['height']+'/'+_0x3320b5['x']+','+_0x3320b5['y'],'preview'),_0x29d71e=_0x58f569['getValue']('cdnUrl');_0x29d71e?(_0x58f569['setMultipleValues']({'cdnUrlModifiers':_0x5104de,'cdnUrl':createCdnUrl(_0x29d71e,_0x5104de)}),0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x4fc5f5=>_0x4fc5f5['activityType']===ActivityBlock['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x58f569['uid']},this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](ActivityBlock['activities']['CLOUD_IMG_EDIT']))):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0x58f569['uid']);}}}async['getMetadataFor'](_0x523e1d){const _0x4a444a=this['cfg']['metadata']||void 0x0;if('function'==typeof _0x4a444a){const _0x1d05c5=this['api']['getOutputItem'](_0x523e1d);return await _0x4a444a(_0x1d05c5);}return _0x4a444a;}async['getUploadClientOptions'](){const _0x2155e4=this['$']['*secureUploadsManager'],_0x53b9bb=await _0x2155e4['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':_0x53b9bb?.['secureSignature'],'secureExpire':_0x53b9bb?.['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'](_0xab07d1=>this['api']['getOutputItem'](_0xab07d1));}};_0x4378ff['extSrcList']=Object['freeze']({...ExternalUploadSource}),_0x4378ff['sourceTypes']=Object['freeze']({..._0x2d3f2c});var ActivityHeader=class extends ActivityBlock{},_0x3cec0b=()=>void 0x0!==navigator['permissions'],_0x63d209={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},_0x1bc806=['camera','microphone'];function formatTime(_0x970c6b){return Math['floor'](_0x970c6b/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x970c6b%0x3c)['toString']()['padStart'](0x2,'0');}var _0x5367ef='image/jpeg',_0x4bcef0='video/webm',_0x14a386=class extends _0x4378ff{['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':_0x3cec0b(),'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':_0x2099b8=>{const _0x4724aa=_0x2099b8['target'];_0x4724aa&&(this['_selectedCameraId']=_0x4724aa['value'],this['_capture']());},'onAudioSelectChange':_0x2fa7ea=>{const _0x1d0334=_0x2fa7ea['target'];_0x1d0334&&(this['_selectedAudioId']=_0x1d0334['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':_0x2f91be=>{const _0x233f3c=_0x2f91be['currentTarget'],_0x1e8ff6=_0x233f3c?.['getAttribute']('data-id');_0x1e8ff6&&this['_handleActiveTab'](_0x1e8ff6);}};}['_chooseActionWithCamera']=()=>{if(this['_activeTab']===_0x137285['PHOTO']&&this['_shot'](),this['_activeTab']===_0x137285['VIDEO']){if('recording'===this['_mediaRecorder']?.['state'])return void this['_stopRecording']();this['_startRecording']();}};['_updateTimer']=()=>{const _0x53f77c=Math['floor']((performance['now']()-this['$']['_startTime']+this['$']['_elapsedTime'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){const _0x20fe27=this['cfg']['maxVideoRecordingDuration']-_0x53f77c;if(_0x20fe27<=0x0){const _0x2cc934=this['ref']['timer'];return _0x2cc934&&(_0x2cc934['textContent']=formatTime(_0x20fe27)),void this['_stopRecording']();}const _0x294acd=this['ref']['timer'];_0x294acd&&(_0x294acd['textContent']=formatTime(_0x20fe27));}else{const _0x9921d1=this['ref']['timer'];_0x9921d1&&(_0x9921d1['textContent']=formatTime(_0x53f77c));}this['_animationFrameId']=requestAnimationFrame(this['_updateTimer']);};['_startTimer']=()=>{this['$']['_startTime']=performance['now'](),this['$']['_elapsedTime']=0x0,this['_updateTimer']();};['_stopTimer']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_startTimeline']=()=>{const _0x581519=this['ref']['video'];if(!_0x581519)return;const _0x56f016=_0x581519['currentTime'],_0x4af9a7=_0x581519['duration']||0x1,_0x48a1f5=this['ref']['line'];_0x48a1f5&&(_0x48a1f5['style']['transform']='scaleX('+_0x56f016/_0x4af9a7+')');const _0xe6d25=this['ref']['timer'];_0xe6d25&&(_0xe6d25['textContent']=formatTime(_0x56f016)),this['_animationFrameId']=requestAnimationFrame(this['_startTimeline']);};['_stopTimeline']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_animationFrameId']=null;['_startRecording']=()=>{try{this['_chunks']=[],this['_options']={...this['cfg']['mediaRecorderOptions']};const {mimeType:_0x13666c}=this['cfg']['mediaRecorderOptions']||{};_0x13666c&&MediaRecorder['isTypeSupported'](_0x13666c)?this['_options']['mimeType']=_0x13666c:MediaRecorder['isTypeSupported'](_0x4bcef0)?this['_options']['mimeType']=_0x4bcef0:this['_options']['mimeType']='video/mp4',this['_stream']&&(this['_mediaRecorder']=new MediaRecorder(this['_stream'],this['_options']),this['_mediaRecorder']['start'](),this['_mediaRecorder']['addEventListener']('dataavailable',_0x1da8a3=>{this['_chunks']['push'](_0x1da8a3['data']);}),this['_startTimer'](),this['classList']['add']('uc-recording'),this['_setCameraState'](CameraSourceEvents['PLAY']));}catch(_0x2616e6){console['error']('Failed\x20to\x20start\x20recording',_0x2616e6),this['telemetryManager']['sendEventError'](_0x2616e6,'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'](_0x4baeee=>{_0x4baeee['enabled']=!_0x4baeee['enabled'],this['$']['toggleMicrophoneIcon']=_0x4baeee['enabled']?'microphone':'microphone-mute',this['$']['audioSelectDisabled']=!_0x4baeee['enabled'];});};['_previewVideo']=()=>{try{const _0x51fa32=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x2daa22=URL['createObjectURL'](_0x51fa32),_0x1facef=this['ref']['video'];if(!_0x1facef)return;_0x1facef['muted']=!0x1,_0x1facef['volume']=0x1,this['$']['video']=null,_0x1facef['src']=_0x2daa22,_0x1facef['addEventListener']('play',()=>{this['_startTimeline'](),this['set$']({'currentTimelineIcon':'pause'});}),_0x1facef['addEventListener']('pause',()=>{this['set$']({'currentTimelineIcon':'play'}),this['_stopTimeline']();});}catch(_0x4750ef){console['error']('Failed\x20to\x20preview\x20video',_0x4750ef),this['telemetryManager']['sendEventError'](_0x4750ef,'camera\x20previewing.\x20Failed\x20to\x20preview\x20video');}};['_retake']=()=>{if(this['_setCameraState'](CameraSourceEvents['RETAKE']),this['_activeTab']===_0x137285['VIDEO']){this['$']['video']=this['_stream'];const _0x3249ad=this['ref']['video'];_0x3249ad&&(_0x3249ad['muted']=!0x0);}this['ref']['video']?.['play']?.();};['_accept']=()=>{if(this['_setCameraState'](CameraSourceEvents['ACCEPT']),this['_activeTab']===_0x137285['PHOTO'])return void this['_canvas']?.['toBlob'](_0x221693=>{if(!_0x221693)return;const _0x1f6689=this['_createFile']('camera','jpeg',_0x5367ef,_0x221693);this['_toSend'](_0x1f6689);},_0x5367ef);const _0x460f7b=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x483cd1=this['_guessExtensionByMime'](this['_mediaRecorder']?.['mimeType']),_0xc87f9f=this['_createFile']('video',_0x483cd1,'video/'+_0x483cd1,_0x460f7b);this['_toSend'](_0xc87f9f),this['_chunks']=[];};['_handlePhoto']=_0x424a80=>{_0x424a80===CameraSourceEvents['SHOT']&&this['set$']({'tabVideoHidden':!0x0,'cameraHidden':!0x0,'tabCameraHidden':!0x0,'cameraActionsHidden':!0x1,'cameraSelectHidden':!0x0}),_0x424a80!==CameraSourceEvents['RETAKE']&&_0x424a80!==CameraSourceEvents['ACCEPT']||this['set$']({'tabVideoHidden':!this['_cameraModes']['includes'](_0x137285['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](_0x137285['PHOTO']),'cameraHidden':!0x1,'cameraActionsHidden':!0x0,'cameraSelectHidden':this['_cameraDevices']['length']<=0x1});};['_handleVideo']=_0x222bde=>{_0x222bde===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'}),_0x222bde===CameraSourceEvents['STOP']&&this['set$']({'timerHidden':!0x1,'cameraHidden':!0x0,'audioToggleMicrophoneHidden':!0x0,'cameraActionsHidden':!0x1}),_0x222bde!==CameraSourceEvents['RETAKE']&&_0x222bde!==CameraSourceEvents['ACCEPT']||this['set$']({'timerHidden':!0x0,'tabVideoHidden':!this['_cameraModes']['includes'](_0x137285['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](_0x137285['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']=_0x163361=>{this['_activeTab']!==_0x137285['PHOTO']||'shot'!==_0x163361&&'retake'!==_0x163361&&'accept'!==_0x163361||this['_handlePhoto'](_0x163361),this['_activeTab']!==_0x137285['VIDEO']||'play'!==_0x163361&&'stop'!==_0x163361&&'retake'!==_0x163361&&'accept'!==_0x163361&&'pause'!==_0x163361&&'resume'!==_0x163361||this['_handleVideo'](_0x163361);};['_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']=_0x5d0606=>{const _0x53c906=this['ref']['switcher'];_0x53c906?.['querySelectorAll']('button')['forEach'](_0x20bf79=>{_0x20bf79['classList']['toggle']('uc-active',_0x20bf79['getAttribute']('data-id')===_0x5d0606);}),_0x5d0606===_0x137285['PHOTO']&&this['set$']({'currentIcon':'camera-full','audioSelectHidden':!0x0,'audioToggleMicrophoneHidden':!0x0}),_0x5d0606===_0x137285['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':_0x5d0606}}}),this['_activeTab']=_0x5d0606;};['_createFile']=(_0x1bff57,_0x55b9ce,_0xc90652,_0x64e12f)=>{const _0x5eaccd=Date['now']();return new File([_0x64e12f],_0x1bff57+'-'+_0x5eaccd+'.'+_0x55b9ce,{'lastModified':_0x5eaccd,'type':_0xc90652});};['_guessExtensionByMime'](_0x1153b6){const _0x3ee678={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===_0x1153b6)return'webm';if(_0x1153b6){const _0x8a94e=_0x1153b6['split']('/');if('video'===_0x8a94e?.[0x0]){const _0x5c30db=_0x8a94e['slice'](0x1)['join']('/'),_0x285913=_0x5c30db?.['split'](';')[0x0];if(_0x285913&&_0x3ee678[_0x285913])return _0x3ee678[_0x285913];}}return'avi';}['_toSend']=_0x21ff74=>{this['api']['addFileFromObject'](_0x21ff74,{'source':_0x2d3f2c['CAMERA']}),this['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']);};get['_cameraModes'](){return stringToArray(this['cfg']['cameraModes'])['filter'](_0x2e1d0f=>_0x2e1d0f===_0x137285['PHOTO']||_0x2e1d0f===_0x137285['VIDEO']);}['_setPermissionsState']=_0x4b27cc(e=>{this['classList']['toggle']('uc-initialized','granted'===e);const i=this['_activeTab']===_0x137285['VIDEO']&&this['cfg']['enableAudioRecording'],n=this['_activeTab']===_0x137285['PHOTO']?'camera-full':'video-camera-full';'granted'===e?this['set$']({'videoHidden':!0x1,'cameraHidden':!0x1,'tabCameraHidden':!this['_cameraModes']['includes'](_0x137285['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](_0x137285['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'](_0x137285['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](_0x137285['VIDEO']),'cameraActionsHidden':!0x0,'mutableClassButton':'uc-shot-btn\x20uc-camera-action'}),this['_stopCapture']());},0x12c);['_makeStreamInactive']=()=>{if(!this['_stream'])return!0x1;const _0x9c6799=this['_stream']?.['getAudioTracks'](),_0x58bc67=this['_stream']?.['getVideoTracks']();return _0x9c6799['forEach'](_0x52c8d4=>{_0x52c8d4['stop']();}),_0x58bc67['forEach'](_0x37869a=>{_0x37869a['stop']();}),!0x0;};['_stopCapture']=()=>{if(this['_capturing']){this['ref']['video']['volume']=0x0;const _0xb52843=this['$']['video']?.['getTracks']?.();_0xb52843?.[0x0]?.['stop'](),this['$']['video']=null,this['_makeStreamInactive'](),this['_stopTimer'](),this['_capturing']=!0x1;}};['_capture']=async()=>{const _0x4411b9={'video':{..._0x63d209},'audio':!!this['cfg']['enableAudioRecording']&&{}};this['_selectedCameraId']&&(_0x4411b9['video']={'deviceId':{'exact':this['_selectedCameraId']}}),this['_selectedAudioId']&&this['cfg']['enableAudioRecording']&&(_0x4411b9['audio']={'deviceId':{'exact':this['_selectedAudioId']}}),this['ref']['video']&&(this['ref']['video']['volume']=0x0);try{this['_setPermissionsState']('prompt'),this['_stream']=await navigator['mediaDevices']['getUserMedia'](_0x4411b9),this['_stream']['addEventListener']('inactive',()=>{this['_setPermissionsState']('denied');}),this['$']['video']=this['_stream'],this['_capturing']=!0x0,this['_setPermissionsState']('granted');}catch(_0x3b70e3){this['_setPermissionsState']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x3b70e3),this['telemetryManager']['sendEventError'](_0x3b70e3,'camera\x20capturing.\x20Failed\x20to\x20capture\x20camera');}};['_handlePermissionsChange']=()=>{this['_capture']();};['_permissionAccess']=async()=>{try{for(const _0x211c4f of _0x1bc806){const _0x35f3cb=await navigator['permissions']['query']({'name':_0x211c4f});this['_permissionResponses'][_0x211c4f]=_0x35f3cb,_0x35f3cb['addEventListener']('change',this['_handlePermissionsChange']);}}catch(_0x148537){console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x148537),this['telemetryManager']['sendEventError'](_0x148537,'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(_0x376f68){this['telemetryManager']['sendEventError'](_0x376f68,'camera\x20devices.\x20Failed\x20to\x20get\x20user\x20media'),console['log']('Failed\x20to\x20get\x20user\x20media',_0x376f68);}};['_getDevices']=async()=>{try{const _0xa0e237=await navigator['mediaDevices']['enumerateDevices']();this['_cameraDevices']=_0xa0e237['filter'](_0x847b40=>'videoinput'===_0x847b40['kind'])['map']((_0x1aea4a,_0x3a771e)=>({'text':_0x1aea4a['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x3a771e+0x1),'value':_0x1aea4a['deviceId']})),this['_audioDevices']=this['cfg']['enableAudioRecording']?_0xa0e237['filter'](_0x2b82e1=>'audioinput'===_0x2b82e1['kind'])['map'](_0x43952c=>({'text':_0x43952c['label']['trim'](),'value':_0x43952c['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(_0x9d5274){this['telemetryManager']['sendEventError'](_0x9d5274,'camera\x20devices.\x20Failed\x20to\x20get\x20devices'),console['log']('Failed\x20to\x20get\x20devices',_0x9d5274);}};['_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']=_0x1537bf=>{this['$']['tabVideoHidden']=!_0x1537bf['includes'](_0x137285['VIDEO']),this['$']['tabCameraHidden']=!_0x1537bf['includes'](_0x137285['PHOTO']);const _0x3b1547=_0x1537bf[0x0];!_0x3b1547||this['_activeTab']&&_0x1537bf['includes'](this['_activeTab'])||this['_handleActiveTab'](_0x3b1547);};['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':this['_onActivate'],'onDeactivate':this['_onDeactivate']}),this['subConfigValue']('cameraMirror',_0xb9eb18=>{this['$']['videoTransformCss']=_0xb9eb18?'scaleX(-1)':null;}),this['subConfigValue']('enableAudioRecording',_0x200a0b=>{this['$']['audioToggleMicrophoneHidden']=!_0x200a0b,this['$']['audioSelectDisabled']=!_0x200a0b;}),this['subConfigValue']('cameraModes',_0x88b248=>{if(!this['isActivityActive'])return;const _0x4caa72=_0x28e87f(_0x88b248);this['_handleCameraModes'](_0x4caa72['filter'](_0x320c3f=>_0x320c3f===_0x137285['PHOTO']||_0x320c3f===_0x137285['VIDEO']));});}['_destroy'](){for(const _0x5dec3c of _0x1bc806)this['_permissionResponses'][_0x5dec3c]?.['removeEventListener']('change',this['_handlePermissionsChange']);navigator['mediaDevices']?.['removeEventListener']('devicechange',this['_getDevices']);}async['destroyCallback'](){super['destroyCallback'](),this['_destroy']();}};_0x14a386['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 _0x3fa9e6='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function _0x49a2e1(..._0x325090){return _0x325090['reduce']((_0xa82d6f,_0x43ca8c)=>{if('string'==typeof _0x43ca8c)return _0xa82d6f[_0x43ca8c]=!0x0,_0xa82d6f;for(const _0x4f15b1 of Object['keys'](_0x43ca8c))_0xa82d6f[_0x4f15b1]=_0x43ca8c[_0x4f15b1];return _0xa82d6f;},{});}function _0x19126b(..._0x5e25f6){const _0x2401c5=_0x49a2e1(..._0x5e25f6);return Object['keys'](_0x2401c5)['reduce']((_0x46c61a,_0xf96ec4)=>(_0x2401c5[_0xf96ec4]&&_0x46c61a['push'](_0xf96ec4),_0x46c61a),[])['join']('\x20');}function _0x2012d9(_0xa839bc,..._0x809b02){const _0x459ad8=_0x49a2e1(..._0x809b02);for(const _0x32d4ab of Object['keys'](_0x459ad8))_0xa839bc['classList']['toggle'](_0x32d4ab,Boolean(_0x459ad8[_0x32d4ab]));}var _0x3422bb=_0x1af564=>_0x49ce9a['includes'](_0x1af564),_0x5c1fff=_0x17a836=>{if(!_0x17a836)return _0x49ce9a;const _0x259fa7=_0x28e87f(_0x17a836)['filter'](_0x3422bb);return 0x0===_0x259fa7['length']?_0x49ce9a:_0x259fa7;};function initState(_0x54a7f5){return{'*originalUrl':null,'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*currentAspectRatio':null,'*tabList':_0x49ce9a,'*tabId':_0x597176['CROP'],'entry':null,'extension':null,'editorMode':!0x1,'modalCaption':'','isImage':!0x1,'msg':'','src':_0x3fa9e6,'fileType':'','showLoader':!0x1,'uuid':null,'cdnUrl':null,'cropPreset':'','tabs':_0x3f0423([..._0x49ce9a]),'presence.networkProblems':!0x1,'presence.modalCaption':!0x0,'presence.editorToolbar':!0x1,'presence.viewerToolbar':!0x0,'*on.retryNetwork':()=>{const _0x17d94f=_0x54a7f5['querySelectorAll']('img');for(const _0x21d732 of _0x17d94f){const _0x4744d2=_0x21d732['src'];_0x21d732['src']=_0x3fa9e6,_0x21d732['src']=_0x4744d2;}_0x54a7f5['$']['*networkProblems']=!0x1;},'*on.apply':_0x32df32=>{if(!_0x32df32)return;const _0x554f8c=_0x54a7f5['$']['*originalUrl'],_0x227e22=createCdnUrlModifiers(transformationsToOperations(_0x32df32),'preview'),_0x2daeee={'originalUrl':_0x554f8c,'cdnUrlModifiers':_0x227e22,'cdnUrl':createCdnUrl(_0x554f8c,_0x227e22),'transformations':_0x32df32};_0x54a7f5['dispatchEvent'](new CustomEvent('apply',{'detail':_0x2daeee,'bubbles':!0x0,'composed':!0x0})),_0x54a7f5['remove']();},'*on.cancel':()=>{_0x54a7f5['remove'](),_0x54a7f5['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>',_0x29385e='\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'+_0x3fa9e6+'\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 _0x4542c4{['ctxOwner']=!0x0;static ['styleAttrs']=['uc-cloud-image-editor'];['_debouncedShowLoader']=_0x4b27cc(this['_showLoader']['bind'](this),0x12c);constructor(){super(),this['init$']={...this['init$'],...initState(this)};}['_showLoader'](_0x3f6842){this['$']['showLoader']=_0x3f6842;}['_waitForSize'](){return new Promise((_0x57e6de,_0x5840fb)=>{const _0x17c4ba=window['setTimeout'](()=>{_0x5840fb(new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size'));},0xbb8),_0xc6cf08=new ResizeObserver(_0x4659b5=>{const [_0x33e03f]=_0x4659b5;_0x33e03f&&_0x33e03f['contentRect']['width']>0x0&&_0x33e03f['contentRect']['height']>0x0&&(window['clearTimeout'](_0x17c4ba),_0xc6cf08['disconnect'](),window['setTimeout'](()=>_0x57e6de(),0x0));});_0xc6cf08['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 _0x3c99a8=this['$']['cdnUrl'],_0x5a4267=extractUuid(_0x3c99a8),_0x492c3d=createOriginalUrl(_0x3c99a8,_0x5a4267);if(_0x492c3d===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x492c3d;const _0x117315=operationsToTransformations(extractOperations(_0x3c99a8));this['$']['*editorTransformations']=_0x117315;}else{if(!this['$']['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{const _0x3c5dc3=createOriginalUrl(this['cfg']['cdnCname'],this['$']['uuid']);if(_0x3c5dc3===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x3c5dc3,this['$']['*editorTransformations']={};}}this['$']['*tabId']===_0x597176['CROP']?this['$']['*cropperEl']?.['deactivate']({'reset':!0x0}):this['$']['*faderEl']?.['deactivate']();try{const _0x3936df=this['$']['*originalUrl'],_0x4fb990=await this['proxyUrl'](createCdnUrl(_0x3936df,createCdnUrlModifiers('json'))),_0x4a75b6=await fetch(_0x4fb990)['then'](_0x207932=>_0x207932['json']()),{width:_0x5a7b24,height:_0xe8be97}=_0x4a75b6;this['$']['*imageSize']={'width':_0x5a7b24,'height':_0xe8be97},this['$']['*tabId']===_0x597176['CROP']?this['$']['*cropperEl']?.['activate'](this['$']['*imageSize']):this['$']['*faderEl']?.['activate']({'url':_0x3936df});}catch(_0x484e8d){_0x484e8d&&(this['telemetryManager']['sendEventError'](_0x484e8d,'cloud\x20editor\x20image.\x20Failed\x20to\x20load\x20image\x20info'),console['error']('Failed\x20to\x20load\x20image\x20info',_0x484e8d));}}}async['initEditor'](){try{await this['_waitForSize']();}catch(_0x4cbb53){return void(this['isConnected']&&console['error'](_0x4cbb53['message']));}this['ref']['img-el']['addEventListener']('load',()=>{this['_debouncedShowLoader'](!0x1),this['$']['src']!==_0x3fa9e6&&(this['$']['*networkProblems']=!0x1);}),this['ref']['img-el']['addEventListener']('error',()=>{this['_debouncedShowLoader'](!0x1),this['$']['*networkProblems']=!0x0;}),this['sub']('src',_0x28cc82=>{const _0x28a203=this['ref']['img-el'];_0x28a203['src']!==_0x28cc82&&(_0x28a203['src']=_0x28cc82||_0x3fa9e6);}),this['sub']('tabs',_0x1adbbd=>{this['$']['*tabList']=_0x5c1fff(_0x1adbbd);}),this['sub']('*tabId',_0x2d5c9b=>{this['ref']['img-el']['className']=_0x19126b('uc-image',{'uc-image_hidden_to_cropper':_0x2d5c9b===_0x597176['CROP'],'uc-image_hidden_effects':_0x2d5c9b!==_0x597176['CROP']});}),this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',_0x430a01=>{this['$']['presence.networkProblems']=_0x430a01,this['$']['presence.modalCaption']=!_0x430a01;}),this['sub']('*editorTransformations',_0x2eb9f5=>{if(0x0===Object['keys'](_0x2eb9f5)['length'])return;const _0x100e22=this['$']['*originalUrl'],_0x2114a1=createCdnUrlModifiers(transformationsToOperations(_0x2eb9f5),'preview'),_0x45cc1c={'originalUrl':_0x100e22,'cdnUrlModifiers':_0x2114a1,'cdnUrl':createCdnUrl(_0x100e22,_0x2114a1),'transformations':_0x2eb9f5};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x45cc1c,'bubbles':!0x0,'composed':!0x0}));},!0x1),this['sub']('uuid',_0x538e78=>_0x538e78&&this['updateImage']()),this['sub']('cdnUrl',_0x2ce528=>_0x2ce528&&this['updateImage']()),this['sub']('cropPreset',_0x3f30a3=>{const _0x43624d=parseCropPreset(_0x3f30a3);let _0x511c1b=null;if(this['$']['cdnUrl']){const _0x1c54da=operationsToTransformations(extractOperations(this['$']['cdnUrl']));if(Array['isArray'](_0x1c54da?.['crop']?.['dimensions'])){const [_0xb19796,_0x1f1c8d]=_0x1c54da['crop']['dimensions'];_0x511c1b=getClosestAspectRatio(_0xb19796,_0x1f1c8d,_0x43624d,0.1);}}this['$']['*cropPresetList']=_0x43624d,this['$']['*currentAspectRatio']=_0x511c1b??_0x43624d?.[0x0]??null;});}};CloudImageEditorBlock['template']=_0x29385e,CloudImageEditorBlock['bindAttributes']({'uuid':'uuid','cdn-url':'cdnUrl','crop-preset':'cropPreset','tabs':'tabs'});var _0x23a431=class extends _0x4542c4{['_handlePointerUp'];['_handlePointerMove'];['_handleSvgPointerMove'];['_backdropMaskId']='backdrop-mask-'+_0x57c512['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'](_0x5a0df3){const _0x589b44=this['$']['*imageBox'];if(!_0x589b44)return!0x1;if(''===_0x5a0df3&&_0x589b44['height']<=_0xdd7599&&_0x589b44['width']<=_0xdd7599)return!0x0;const _0x2cb27f=_0x589b44['height']<=_0xdd7599&&(_0x5a0df3['includes']('n')||_0x5a0df3['includes']('s')),_0x43d6fa=_0x589b44['width']<=_0xdd7599&&(_0x5a0df3['includes']('e')||_0x5a0df3['includes']('w'));return _0x2cb27f||_0x43d6fa;}['_createBackdrop'](){const _0x3b8312=this['$']['*cropBox'];if(!_0x3b8312)return;const {x:_0x117c53,y:_0x2c50a4,width:_0x19fca7,height:_0x5300ff}=_0x3b8312,_0x24ef39=this['ref']['svg-el'],_0x24f93b=createSvgNode('mask',{'id':this['_backdropMaskId']}),_0x5011ad=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x2a959d=createSvgNode('rect',{'x':_0x117c53,'y':_0x2c50a4,'width':_0x19fca7,'height':_0x5300ff,'fill':'black'});_0x24f93b['appendChild'](_0x5011ad),_0x24f93b['appendChild'](_0x2a959d);const _0x1c90e6=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#'+this['_backdropMaskId']+')'});_0x24ef39['appendChild'](_0x1c90e6),_0x24ef39['appendChild'](_0x24f93b),this['_backdropMask']=_0x24f93b,this['_backdropMaskInner']=_0x2a959d;}['_resizeBackdrop'](){this['_backdropMask']&&(this['_backdropMask']['style']['display']='none',window['requestAnimationFrame'](()=>{this['_backdropMask']&&(this['_backdropMask']['style']['display']='block');}));}['_updateBackdrop'](){const _0x33d115=this['$']['*cropBox'];if(!_0x33d115)return;const {x:_0x1d4884,y:_0x237330,width:_0x2f1161,height:_0x5b0f5b}=_0x33d115;this['_backdropMaskInner']&&setSvgNodeAttrs(this['_backdropMaskInner'],{'x':_0x1d4884,'y':_0x237330,'width':_0x2f1161,'height':_0x5b0f5b});}['_updateFrame'](){const _0x290343=this['$']['*cropBox'];if(_0x290343&&this['_frameGuides']&&this['_frameThumbs']){for(const _0x5e3053 of Object['values'](this['_frameThumbs'])){if(!_0x5e3053)continue;const {direction:_0x4ef84a,pathNode:_0x43da0b,interactionNode:_0x2c6b3a,groupNode:_0x53f9a1}=_0x5e3053,_0x4298ba=''===_0x4ef84a,_0x333c7e=0x2===_0x4ef84a['length'],{x:_0x24dc3f,y:_0x161f78,width:_0x551985,height:_0x1b8103}=_0x290343;if(_0x4298ba)setSvgNodeAttrs(_0x2c6b3a,{'x':_0x24dc3f,'y':_0x161f78,'width':_0x551985,'height':_0x1b8103});else{const _0x4611e1=_0x399013(Math['min'](_0x551985,_0x1b8103)/(0x2*_0x4ed3b1+_0x15fae5)/0x2,0x0,0x1),_0x2b7488=_0x333c7e?cornerPath(_0x290343,_0x4ef84a,_0x4611e1):sidePath(_0x290343,_0x4ef84a,_0x4611e1),_0x48610c=_0x2b7488['center'];if(!_0x48610c)continue;const _0x4e2780=Math['max'](_0x299e61*_0x399013(Math['min'](_0x551985,_0x1b8103)/_0x299e61/0x3,0x0,0x1),_0x2d9d12);setSvgNodeAttrs(_0x2c6b3a,{'x':_0x48610c[0x0]-_0x4e2780,'y':_0x48610c[0x1]-_0x4e2780,'width':0x2*_0x4e2780,'height':0x2*_0x4e2780}),setSvgNodeAttrs(_0x43da0b,{'d':_0x2b7488['d']});}const _0x3cb53c=this['_shouldThumbBeDisabled'](_0x4ef84a);_0x53f9a1['setAttribute']('class',_0x19126b('uc-thumb',{'uc-thumb--hidden':_0x3cb53c,'uc-thumb--visible':!_0x3cb53c}));}setSvgNodeAttrs(this['_frameGuides'],{'x':_0x290343['x']-0.5*_0x2dce2f,'y':_0x290343['y']-0.5*_0x2dce2f,'width':_0x290343['width']+_0x2dce2f,'height':_0x290343['height']+_0x2dce2f});}}['_createThumb'](_0x370039,_0x526c3f){const _0x9d2397=createSvgNode('g');_0x9d2397['classList']['add']('uc-thumb'),_0x9d2397['setAttribute']('with-effects','');const _0x33ed16=createSvgNode('rect',{'fill':'transparent'}),_0x61c899=createSvgNode('path',{'stroke':'currentColor','fill':'none','stroke-width':_0x942a1f});_0x9d2397['appendChild'](_0x61c899),_0x9d2397['appendChild'](_0x33ed16),_0x370039[_0x526c3f]={'direction':_0x526c3f,'pathNode':_0x61c899,'interactionNode':_0x33ed16,'groupNode':_0x9d2397},''===_0x526c3f&&(_0x9d2397['style']['cursor']='move'),_0x33ed16['addEventListener']('pointerdown',this['_handlePointerDown']['bind'](this,_0x526c3f));}['_createThumbs'](){const _0x19ca78={};for(let _0x15d5d1=0x0;_0x15d5d1<0x3;_0x15d5d1++)for(let _0x2c8a38=0x0;_0x2c8a38<0x3;_0x2c8a38++){const _0xf6b3cf=''+['n','','s'][_0x15d5d1]+['w','','e'][_0x2c8a38];''!==_0xf6b3cf&&this['_createThumb'](_0x19ca78,_0xf6b3cf);}return this['_createThumb'](_0x19ca78,''),_0x19ca78;}['_createGuides'](){const _0x5c8009=createSvgNode('svg'),_0x2b7c9d=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':_0x2dce2f,'stroke-opacity':0.5});_0x5c8009['appendChild'](_0x2b7c9d);for(let _0x3be867=0x1;_0x3be867<=0x2;_0x3be867++){const _0x34e214=createSvgNode('line',{'x1':_0xe05698*_0x3be867+'%','y1':'0%','x2':_0xe05698*_0x3be867+'%','y2':'100%','stroke':'currentColor','stroke-width':_0x2dce2f,'stroke-opacity':0.3});_0x5c8009['appendChild'](_0x34e214);}for(let _0x149fbb=0x1;_0x149fbb<=0x2;_0x149fbb++){const _0x2218c4=createSvgNode('line',{'x1':'0%','y1':_0xe05698*_0x149fbb+'%','x2':'100%','y2':_0xe05698*_0x149fbb+'%','stroke':'currentColor','stroke-width':_0x2dce2f,'stroke-opacity':0.3});_0x5c8009['appendChild'](_0x2218c4);}return _0x5c8009['classList']['add']('uc-guides','uc-guides--semi-hidden'),_0x5c8009;}['_createFrame'](){const _0x319076=this['ref']['svg-el'],_0x1d0ca3=document['createDocumentFragment'](),_0x1d5aff=this['_createGuides']();_0x1d0ca3['appendChild'](_0x1d5aff);const _0x2b3c4f=this['_createThumbs']();for(const {groupNode:_0x53385e}of Object['values'](_0x2b3c4f))_0x1d0ca3['appendChild'](_0x53385e);_0x319076['appendChild'](_0x1d0ca3),this['_frameThumbs']=_0x2b3c4f,this['_frameGuides']=_0x1d5aff;}['_handlePointerDown'](_0x2aa8f4,_0x5af711){if(!this['_frameThumbs'])return;const _0x2098e8=this['_frameThumbs'][_0x2aa8f4];if(!_0x2098e8)return;if(this['_shouldThumbBeDisabled'](_0x2aa8f4))return;const _0x4b7233=this['$']['*cropBox'],_0x4141d2=this['ref']['svg-el'],{x:_0x185a09,y:_0x45a050}=_0x4141d2['getBoundingClientRect'](),_0x4a3f0f=_0x5af711['x']-_0x185a09,_0x50e8b3=_0x5af711['y']-_0x45a050;this['$']['dragging']=!0x0,this['_draggingThumb']=_0x2098e8,this['_dragStartPoint']=[_0x4a3f0f,_0x50e8b3],this['_dragStartCrop']={..._0x4b7233};}['_handlePointerUp_'](_0x5d4484){this['_updateCursor'](),this['$']['dragging']&&(_0x5d4484['stopPropagation'](),_0x5d4484['preventDefault'](),this['$']['dragging']=!0x1);}['_handlePointerMove_'](_0x523325){if(!this['$']['dragging']||!this['_dragStartPoint']||!this['_draggingThumb'])return;_0x523325['stopPropagation'](),_0x523325['preventDefault']();const _0x3a4e12=this['ref']['svg-el'],{x:_0x465c7b,y:_0x128f27}=_0x3a4e12['getBoundingClientRect'](),_0x121573=_0x523325['x']-_0x465c7b,_0x2d5b0f=_0x523325['y']-_0x128f27,_0x113a3b=_0x121573-this['_dragStartPoint'][0x0],_0x582c7f=_0x2d5b0f-this['_dragStartPoint'][0x1],{direction:_0x16bec4}=this['_draggingThumb'],_0x1e6fd7=this['_calcCropBox'](_0x16bec4,[_0x113a3b,_0x582c7f]);_0x1e6fd7&&(this['$']['*cropBox']=_0x1e6fd7);}['_calcCropBox'](_0x1a2c18,_0x588009){const [_0x3e787e,_0xb5f051]=_0x588009,_0x89a1a2=this['$']['*imageBox'];let _0x4a667c=this['_dragStartCrop']??this['$']['*cropBox'];const _0x3f7bff=this['$']['*currentAspectRatio'],_0x128486=_0x3f7bff?_0x3f7bff['width']/_0x3f7bff['height']:void 0x0;if(_0x4a667c=''===_0x1a2c18?moveRect({'rect':_0x4a667c,'delta':[_0x3e787e,_0xb5f051],'imageBox':_0x89a1a2}):resizeRect({'rect':_0x4a667c,'delta':[_0x3e787e,_0xb5f051],'direction':_0x1a2c18,'aspectRatio':_0x128486,'imageBox':_0x89a1a2}),Object['values'](_0x4a667c)['every'](_0x54462d=>Number['isFinite'](_0x54462d)&&_0x54462d>=0x0))return constraintRect(roundRect(_0x4a667c),_0x89a1a2);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x4a667c});}['_handleSvgPointerMove_'](_0x3e2422){if(!this['_frameThumbs'])return;const _0x15d129=Object['values'](this['_frameThumbs'])['find'](_0x23ab6e=>{if(!_0x23ab6e)return!0x1;if(this['_shouldThumbBeDisabled'](_0x23ab6e['direction']))return!0x1;const _0x13df3d=_0x23ab6e['interactionNode']['getBoundingClientRect']();return rectContainsPoint({'x':_0x13df3d['x'],'y':_0x13df3d['y'],'width':_0x13df3d['width'],'height':_0x13df3d['height']},[_0x3e2422['x'],_0x3e2422['y']]);});this['_hoverThumb']=_0x15d129,this['_updateCursor']();}['_updateCursor'](){const _0x2a4fc8=this['_hoverThumb'];this['ref']['svg-el']['style']['cursor']=_0x2a4fc8?thumbCursor(_0x2a4fc8['direction']):'initial';}['_createMask'](_0x407e22){if(this['_frameImage'])return void this['_frameImage']['setAttribute']('href',_0x407e22);const _0x5aa9c9=this['ref']['svg-el'],_0x102c98=document['createDocumentFragment'](),_0x550e7b=createSvgNode('image',{'href':_0x407e22});_0x550e7b['setAttribute']('class','uc-cloud-mask'),_0x102c98['appendChild'](_0x550e7b),_0x5aa9c9['appendChild'](_0x102c98),this['_frameImage']=_0x550e7b;}['_updateMask'](){const _0x9393c8=this['$']['*cropBox'];if(!_0x9393c8||!this['_frameImage'])return;const {x:_0x3cc2b6,y:_0x156a69,width:_0x147ea7,height:_0x5753d9}=_0x9393c8;setSvgNodeAttrs(this['_frameImage'],{'x':_0x3cc2b6,'y':_0x156a69,'height':_0x5753d9,'width':_0x147ea7});}['_render'](){this['_updateBackdrop'](),this['_updateFrame'](),this['_updateMask']();}['toggleThumbs'](_0x11cee3){if(this['_frameThumbs'])for(const _0x18c5fd of Object['values'](this['_frameThumbs'])){if(!_0x18c5fd)continue;const {groupNode:_0x244fd8}=_0x18c5fd;_0x244fd8['setAttribute']('class',_0x19126b('uc-thumb',{'uc-thumb--hidden':!_0x11cee3,'uc-thumb--visible':_0x11cee3}));}}['initCallback'](){super['initCallback'](),this['_createBackdrop'](),this['_createFrame'](),this['sub']('*imageBox',()=>{this['_resizeBackdrop'](),window['requestAnimationFrame'](()=>{this['_render']();});}),this['sub']('*cropBox',_0x46e9a1=>{_0x46e9a1&&(this['_guidesHidden']=_0x46e9a1['height']<=_0xdd7599||_0x46e9a1['width']<=_0xdd7599,window['requestAnimationFrame'](()=>{this['_render']();}));}),this['subConfigValue']('cloudImageEditorMaskHref',_0x2972b1=>{_0x2972b1&&this['_createMask'](_0x2972b1);}),this['sub']('dragging',_0x18da88=>{this['_frameGuides']&&this['_frameGuides']['setAttribute']('class',_0x19126b({'uc-guides--hidden':this['_guidesHidden'],'uc-guides--visible':!this['_guidesHidden']&&_0x18da88,'uc-guides--semi-hidden':!this['_guidesHidden']&&!_0x18da88}));}),(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']));}};_0x23a431['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 _0x4542c4{['_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',_0x13921c=>{const _0x454c8e=this['_titleEl'];_0x454c8e&&(_0x454c8e['style']['display']=_0x13921c?'block':'none');}),this['sub']('active',_0x5624e7=>{this['className']=_0x19126b({'uc-active':_0x5624e7,'uc-not_active':!_0x5624e7});}),this['sub']('on.click',_0x183c9b=>{this['onclick']=_0x183c9b??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 _0x310882=0xc,_0x202c7d=0x10,getAdjustResolutions=_0x47a8cb=>{let _0x3f75bb=0xc,_0x1fc94f=0xc;return _0x47a8cb['width']/_0x47a8cb['height']>=0x1?(_0x3f75bb=_0x310882,_0x1fc94f=Math['round'](_0x310882*_0x47a8cb['height']/_0x47a8cb['width'])):(_0x1fc94f=_0x310882,_0x3f75bb=Math['round'](_0x310882*_0x47a8cb['width']/_0x47a8cb['height'])),{'width':_0x3f75bb,'height':_0x1fc94f};},EditorFreeformButtonControl=class extends EditorButtonControl{['initCallback'](){super['initCallback'](),this['$']['icon']='arrow-dropdown',this['$']['on.click']=this['handleClick']['bind'](this),this['sub']('*currentAspectRatio',_0x5c4ad2=>{this['$']['title']=_0x5c4ad2['hasFreeform']?this['l10n']('freeform-crop'):this['l10n']('crop-to-shape',{'value':_0x5c4ad2['width']+':'+_0x5c4ad2['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',_0x3bf311=>{if(!_0x3bf311)return;const _0x2d9cc2=!!_0x3bf311['hasFreeform'];this['$']['title']=_0x2d9cc2?this['l10n']('custom'):_0x3bf311['width']+':'+_0x3bf311['height'],_0x2d9cc2||this['_renderRectBasedOnAspectRatio'](_0x3bf311),_0x2d9cc2&&this['setAttribute']('uc-aspect-ratio-freeform',''),this['_aspectRatio']=_0x3bf311,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-aspect-ratio',{'name':_0x2d9cc2?this['l10n']('custom')['toLowerCase']():this['l10n']('crop-to-shape',{'value':_0x3bf311['width']+':'+_0x3bf311['height']})['toLowerCase'](),'value':''}));}),this['sub']('*currentAspectRatio',_0x9bda03=>{this['$']['active']=_0x9bda03&&_0x9bda03['id']===this['_aspectRatio']?.['id']||_0x9bda03?.['width']===this['_aspectRatio']?.['width']&&_0x9bda03?.['height']===this['_aspectRatio']?.['height'];}),this['$']['on.click']=this['handleClick']['bind'](this);}['handleClick'](){const _0x3f84af=this['$']['*currentAspectRatio'];_0x3f84af?.['id']!==this['_aspectRatio']?.['id']&&(this['$']['*currentAspectRatio']=this['_aspectRatio']);}['_renderRectBasedOnAspectRatio'](_0x4c0d8e){const {width:_0x342931,height:_0x1a3a27}=getAdjustResolutions(_0x4c0d8e),_0x34a485=createSvgNode('rect',{'stroke-linejoin':'round','fill':'none','stroke':'currentColor','stroke-width':1.2,'fill-rule':'evenodd','x':(_0x202c7d-_0x342931)/0x2,'y':(_0x202c7d-_0x1a3a27)/0x2,'rx':0x2,'width':_0x342931,'height':_0x1a3a27}),_0x3c1242=this['ref']['icon-el']?.['ref']?.['svg'];_0x3c1242&&(_0x3c1242['innerHTML']='',_0x3c1242['appendChild'](_0x34a485));}['_aspectRatio'];};function nextAngle(_0x21da65){let _0x3ca433=_0x21da65+0x5a;return _0x3ca433=_0x3ca433>=0x168?0x0:_0x3ca433,_0x3ca433;}function nextValue(_0x33e4a8,_0x2dc660){if('rotate'===_0x33e4a8)return nextAngle('number'==typeof _0x2dc660?_0x2dc660:0x0);if('mirror'===_0x33e4a8||'flip'===_0x33e4a8)return!_0x2dc660;throw new Error('Unsupported\x20operation:\x20'+_0x33e4a8);}var EditorCropButtonControl=class extends EditorButtonControl{['_operation']=void 0x0;['initCallback'](){super['initCallback'](),this['defineAccessor']('operation',_0x533393=>{_0x533393&&(this['_operation']=_0x533393,this['$']['icon']=_0x533393,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-crop',{'name':this['l10n'](_0x533393)['toLowerCase']()})));}),this['$']['on.click']=_0x1fb6f1=>{if(!this['_operation'])return;const _0x4d7ff1=this['$']['*cropperEl'],_0xb70b44=_0x4d7ff1['getValue'](this['_operation']),_0x18f4fc=nextValue(this['_operation'],_0xb70b44);this['telemetryManager']['sendEventCloudImageEditor'](_0x1fb6f1,this['$']['*tabId'],{'operation':this['_operation'],'next':_0x18f4fc,'prev':_0xb70b44}),_0x4d7ff1['setValue'](this['_operation'],_0x18f4fc);};}};function _0x2b37e1(_0xe8a130){const _0x5e253a=new Image();return{'promise':new Promise((_0x198e5b,_0x4f4639)=>{_0x5e253a['src']=_0xe8a130,_0x5e253a['onload']=()=>_0x198e5b(),_0x5e253a['onerror']=_0xde8405=>_0x4f4639(_0xde8405);}),'image':_0x5e253a,'cancel':()=>{0x0===_0x5e253a['naturalWidth']&&(_0x5e253a['src']=_0x3fa9e6);}};}function batchPreloadImages(_0xb83e88){const _0x162044=[];for(const _0x50f8cc of _0xb83e88){const _0x46c7b1=_0x2b37e1(_0x50f8cc);_0x162044['push'](_0x46c7b1);}const _0xeafc66=_0x162044['map'](_0x3bd0ad=>_0x3bd0ad['image']);return{'promise':Promise['allSettled'](_0x162044['map'](_0x153567=>_0x153567['promise'])),'images':_0xeafc66,'cancel':()=>{_0x162044['forEach'](_0x436b61=>{_0x436b61['cancel']();});}};}var _0x12b00b='original',EditorSlider=class extends _0x4542c4{['_operation']='filter';['_filter'];['_originalUrl']='';constructor(){super(),this['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'value':0x0,'defaultValue':0x0,'zero':0x0,'on.input':_0x4d7593=>{const _0x3fe0f0=this['$']['*faderEl'];_0x3fe0f0?.['set'](_0x4d7593),this['$']['value']=_0x4d7593;}};}['setOperation'](_0x34e0b0,_0x3b3e97){this['_operation']=_0x34e0b0,this['_filter']=_0x3b3e97,this['_initializeValues']();const _0x176655=this['$']['*faderEl'],_0x3f91e3=this['_originalUrl']||this['$']['*originalUrl'];_0x176655&&_0x3f91e3&&_0x176655['activate']({'url':_0x3f91e3,'operation':this['_operation'],'value':this['_filter']===_0x12b00b?void 0x0:this['$']['value'],'filter':this['_filter']===_0x12b00b?void 0x0:this['_filter'],'fromViewer':!0x1});}['_initializeValues'](){const _0x1ed5a7=this['_operation'],{range:_0x200c5f,zero:_0x553fae}=_0x4ec5b2[_0x1ed5a7],[_0x1393c0,_0x50de79]=_0x200c5f;this['$']['min']=_0x1393c0,this['$']['max']=_0x50de79,this['$']['zero']=_0x553fae;const _0xfc8a02=this['$']['*editorTransformations'][_0x1ed5a7];if('filter'===_0x1ed5a7){let _0x425ce0=Number(_0x50de79);const _0x25198d=_0xfc8a02;if(_0x25198d){const {name:_0x4721ed,amount:_0x4f978e}=_0x25198d;_0x425ce0=_0x4721ed===this['_filter']?_0x4f978e:_0x50de79;}return this['$']['value']=_0x425ce0,void(this['$']['defaultValue']=_0x425ce0);}const _0x1ca590=void 0x0!==_0xfc8a02?_0xfc8a02:_0x553fae;this['$']['value']=_0x1ca590,this['$']['defaultValue']=_0x1ca590;}['apply'](){const _0x18667f={...this['$']['*editorTransformations']};'filter'===this['_operation']?this['_filter']&&this['_filter']!==_0x12b00b?_0x18667f['filter']={'name':this['_filter'],'amount':this['$']['value']}:delete _0x18667f['filter']:_0x18667f[this['_operation']]=this['$']['value'],this['$']['*editorTransformations']=_0x18667f;}['cancel'](){const _0x58d264=this['$']['*faderEl'];_0x58d264?.['deactivate']({'hide':!0x1});}['initCallback'](){super['initCallback'](),this['sub']('*originalUrl',_0x316161=>{this['_originalUrl']=_0x316161;}),this['sub']('value',_0x3223a1=>{const _0xf8dc2f=(this['_filter']??this['_operation'])+'\x20'+_0x3223a1;this['$']['*operationTooltip']=_0xf8dc2f;});}};function parseFilterValue(_0x24a35a){const _0x2d9cf8=_0x24a35a['match'](/^([A-Za-z]+)\s+(\d+)$/);if(!_0x2d9cf8)return null;const [,_0x4f074e,_0x83e02c]=_0x2d9cf8;return _0x4f074e&&void 0x0!==_0x83e02c?{'filter':_0x4f074e,'value':Number(_0x83e02c)}: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 _0x45bebd=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x39fb90=window['devicePixelRatio'],_0x3db92f=Math['ceil'](_0x39fb90*_0x45bebd),_0x3bac16=_0x39fb90>=0x2?'lightest':'normal',_0x2aac7b={...this['$']['*editorTransformations']};return _0x2aac7b[this['_operation']]=this['_filter']!==_0x12b00b?{'name':this['_filter'],'amount':0x64}:void 0x0,createCdnUrl(this['_originalUrl'],createCdnUrlModifiers(_0x58d0d5,transformationsToOperations(_0x2aac7b),'quality/'+_0x3bac16,'scale_crop/'+_0x3db92f+'x'+_0x3db92f+'/center'));}async['_observerCallback'](_0x41bf36,_0x1ea475){const _0x2e2605=_0x41bf36[0x0];if(_0x2e2605?.['isIntersecting']){const _0x221107=await this['proxyUrl'](this['_previewSrc']()),_0x14fead=this['ref']['preview-el'],{promise:_0x5d373a,cancel:_0xc1a12e}=_0x2b37e1(_0x221107);this['_cancelPreload']=_0xc1a12e,_0x5d373a['catch'](_0x34a751=>{this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x34a751});})['finally'](()=>{_0x14fead['style']['backgroundImage']='url('+_0x221107+')',_0x14fead['setAttribute']('loaded',''),_0x1ea475['unobserve'](this);});}else this['_cancelPreload']?.();}['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x2f42f2=>{if(this['$']['active'])!this['$']['isOriginal']&&(this['$']['*sliderEl']['setOperation'](this['_operation'],this['_filter']),this['$']['*showSlider']=!0x0);else{const _0x56c22f=this['$']['*sliderEl'];_0x56c22f['setOperation'](this['_operation'],this['_filter']),_0x56c22f['apply']();}this['telemetryManager']['sendEventCloudImageEditor'](_0x2f42f2,this['$']['*tabId'],{'operation':parseFilterValue(this['$']['*operationTooltip'])}),this['$']['*currentFilter']=this['_filter'];},this['defineAccessor']('filter',_0x5cad34=>{this['_operation']='filter',this['_filter']=_0x5cad34,this['$']['isOriginal']=_0x5cad34===_0x12b00b,this['$']['icon']=this['$']['isOriginal']?'original':'slider',this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-filter',{'name':_0x5cad34['toLowerCase']()}));}),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':[0x0,0x1]});const _0x166d14=this['$']['*originalUrl'];if(this['_originalUrl']=_0x166d14,this['$']['isOriginal'])this['ref']['icon-el']['classList']['add']('uc-original-icon');else this['_observer']['observe'](this);this['sub']('*currentFilter',_0x5bbc65=>{this['$']['active']=_0x5bbc65&&_0x5bbc65===this['_filter'];}),this['sub']('isOriginal',_0x196e01=>{this['$']['iconSize']=_0x196e01?0x28:0x14;}),this['sub']('active',_0x496043=>{if(this['$']['isOriginal'])return;this['ref']['icon-el']['style']['opacity']=_0x496043?'1':'0';const _0x173baf=this['ref']['preview-el'];_0x496043?_0x173baf['style']['opacity']='0':_0x173baf['style']['backgroundImage']&&(_0x173baf['style']['opacity']='1');}),this['sub']('*networkProblems',async _0xffdfaf=>{if(!_0xffdfaf){const _0x5e3a3f=await this['proxyUrl'](this['_previewSrc']()),_0x110bec=this['ref']['preview-el'];_0x110bec['style']['backgroundImage']&&(_0x110bec['style']['backgroundImage']='none',_0x110bec['style']['backgroundImage']='url('+_0x5e3a3f+')');}});}['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=(_0x3d25b3,_0x397f3b)=>{let _0x3db1df,_0x4d64c1=!0x1,_0x5c6e09=0x0;const _0x448183=(..._0x4fa424)=>{_0x4d64c1?(_0x3db1df&&clearTimeout(_0x3db1df),_0x3db1df=setTimeout(()=>{Date['now']()-_0x5c6e09>=_0x397f3b&&(_0x3d25b3(..._0x4fa424),_0x5c6e09=Date['now']());},Math['max'](_0x397f3b-(Date['now']()-_0x5c6e09),0x0))):(_0x3d25b3(..._0x4fa424),_0x5c6e09=Date['now'](),_0x4d64c1=!0x0);};return Object['defineProperty'](_0x448183,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{_0x3db1df&&clearTimeout(_0x3db1df);}}),_0x448183;};function _0x38a7fa(_0x176665,_0x1abb70){const _0x3bc87e={};for(const _0x294837 of _0x1abb70){const _0x34a993=_0x176665[_0x294837];(Object['hasOwn'](_0x176665,_0x294837)||void 0x0!==_0x34a993)&&(_0x3bc87e[_0x294837]=_0x34a993);}return _0x3bc87e;}function _0x315d7b(_0x33156b,_0x37150a,_0x5968eb){const _0x4cf852=window['devicePixelRatio'],_0x475199=Math['min'](Math['ceil'](_0x37150a*_0x4cf852),0xbb8),_0x5d726f=_0x4cf852>=0x2?'lightest':'normal';return createCdnUrl(_0x33156b,createCdnUrlModifiers(_0x58d0d5,transformationsToOperations(_0x5968eb),'quality/'+_0x5d726f,'stretch/off/-/resize/'+_0x475199+'x','@clib/'+_0x249b8c+'/'+_0x56ea43+'/uc-cloud-image-editor/'));}function validateCrop(_0x598ada){if(!_0x598ada)return!0x0;const _0xcb047f=[({dimensions:_0x167fb8,coords:_0x2f86b5})=>[..._0x167fb8,..._0x2f86b5]['every'](_0x2fc166=>Number['isInteger'](_0x2fc166)&&Number['isFinite'](_0x2fc166)),({dimensions:_0x2639f9,coords:_0x2077d5})=>_0x2639f9['every'](_0x41710c=>_0x41710c>0x0)&&_0x2077d5['every'](_0x214108=>_0x214108>=0x0)];return _0xcb047f['every'](_0x336f42=>_0x336f42(_0x598ada));}var EditorImageCropper=class extends _0x4542c4{['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':_0x192f5d,'*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']=_0x4b27cc(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 _0x2f6f5f=_0x38a7fa(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0x587cd0={...this['$']['*operations'],..._0x2f6f5f};this['$']['*operations']=_0x587cd0;}['_initCanvas'](){const _0x4482ba=this['ref']['canvas-el'],_0x376ff3=_0x4482ba['getContext']('2d'),_0x4e7a49=this['offsetWidth'],_0xb61a83=this['offsetHeight'],_0x52ebdf=window['devicePixelRatio'];_0x4482ba['style']['width']=_0x4e7a49+'px',_0x4482ba['style']['height']=_0xb61a83+'px',_0x4482ba['width']=_0x4e7a49*_0x52ebdf,_0x4482ba['height']=_0xb61a83*_0x52ebdf,_0x376ff3?.['scale'](_0x52ebdf,_0x52ebdf),this['_canvas']=_0x4482ba,this['_ctx']=_0x376ff3;}['_alignImage'](){if(!this['_isActive']||!this['$']['image'])return;const _0x31441c=this['$']['image'],_0x1e90af=this['$']['*padding'],_0x1d8951=this['$']['*operations'],{rotate:_0x45f95b}=_0x1d8951,_0x45be5=this['offsetWidth'],_0x11b6c6=this['offsetHeight'],_0x2a687e=rotateSize({'width':_0x31441c['naturalWidth'],'height':_0x31441c['naturalHeight']},_0x45f95b);let _0x581c9d;if(_0x2a687e['width']>_0x45be5-0x2*_0x1e90af||_0x2a687e['height']>_0x11b6c6-0x2*_0x1e90af){const _0xb77b96=_0x2a687e['width']/_0x2a687e['height'];if(_0xb77b96>_0x45be5/_0x11b6c6){const _0x5098bc=_0x45be5-0x2*_0x1e90af,_0x3458e3=_0x5098bc/_0xb77b96;_0x581c9d={'x':0x0+_0x1e90af,'y':_0x1e90af+(_0x11b6c6-0x2*_0x1e90af)/0x2-_0x3458e3/0x2,'width':_0x5098bc,'height':_0x3458e3};}else{const _0x5843ab=_0x11b6c6-0x2*_0x1e90af,_0x596905=_0x5843ab*_0xb77b96;_0x581c9d={'x':_0x1e90af+(_0x45be5-0x2*_0x1e90af)/0x2-_0x596905/0x2,'y':0x0+_0x1e90af,'width':_0x596905,'height':_0x5843ab};}}else{const {width:_0xe7a08b,height:_0x2a1f01}=_0x2a687e;_0x581c9d={'x':_0x1e90af+(_0x45be5-0x2*_0x1e90af)/0x2-_0xe7a08b/0x2,'y':_0x1e90af+(_0x11b6c6-0x2*_0x1e90af)/0x2-_0x2a1f01/0x2,'width':_0xe7a08b,'height':_0x2a1f01};}this['$']['*imageBox']=roundRect(_0x581c9d);}['_alignCrop'](){let _0x5a9498=this['$']['*cropBox'];const _0x3fb6ae=this['$']['*imageBox'],_0x4387fa=this['$']['*operations'],{rotate:_0x2f2aca}=_0x4387fa,_0x28d389=this['$']['*editorTransformations']['crop'],{width:_0x3353c7,x:_0x4a8b96,y:_0x12f032}=_0x3fb6ae;if(_0x28d389){const {dimensions:[_0x256bcf,_0x442c90],coords:[_0x6c9d6c,_0x3318c7]}=_0x28d389,{width:_0x16af6f}=rotateSize(this['_imageSize'],_0x2f2aca),_0x4c2a57=_0x3353c7/_0x16af6f;_0x5a9498=constraintRect(roundRect({'x':_0x4a8b96+_0x6c9d6c*_0x4c2a57,'y':_0x12f032+_0x3318c7*_0x4c2a57,'width':_0x256bcf*_0x4c2a57,'height':_0x442c90*_0x4c2a57}),_0x3fb6ae);}const _0x51acad=this['$']['*currentAspectRatio'],_0x3f1d40=_0x51acad?_0x51acad['width']/_0x51acad['height']:void 0x0;if(!isRectInsideRect(_0x5a9498,_0x3fb6ae)||_0x3f1d40&&!isRectMatchesAspectRatio(_0x5a9498,_0x3f1d40)){const _0x54cef7=_0x3fb6ae['width']/_0x3fb6ae['height'];let _0x48db0f=_0x3fb6ae['width'],_0x53efb9=_0x3fb6ae['height'];_0x3f1d40&&(_0x54cef7>_0x3f1d40?_0x48db0f=Math['min'](_0x3fb6ae['height']*_0x3f1d40,_0x3fb6ae['width']):_0x53efb9=Math['min'](_0x3fb6ae['width']/_0x3f1d40,_0x3fb6ae['height'])),_0x5a9498={'x':_0x3fb6ae['x']+_0x3fb6ae['width']/0x2-_0x48db0f/0x2,'y':_0x3fb6ae['y']+_0x3fb6ae['height']/0x2-_0x53efb9/0x2,'width':_0x48db0f,'height':_0x53efb9};}this['$']['*cropBox']=constraintRect(roundRect(_0x5a9498),_0x3fb6ae);}['_drawImage'](){const _0x329b63=this['_ctx'];if(!_0x329b63)return;const _0x1dddf4=this['$']['image'],_0x3371fd=this['$']['*imageBox'],_0x5333dc=this['$']['*operations'],{mirror:_0x18bb51,flip:_0x431575,rotate:_0x154072}=_0x5333dc,_0x535f8c=rotateSize({'width':_0x3371fd['width'],'height':_0x3371fd['height']},_0x154072);_0x329b63['save'](),_0x329b63['translate'](_0x3371fd['x']+_0x3371fd['width']/0x2,_0x3371fd['y']+_0x3371fd['height']/0x2),_0x329b63['rotate'](_0x154072*Math['PI']*-0x1/0xb4),_0x329b63['scale'](_0x18bb51?-0x1:0x1,_0x431575?-0x1:0x1),_0x329b63['drawImage'](_0x1dddf4,-_0x535f8c['width']/0x2,-_0x535f8c['height']/0x2,_0x535f8c['width'],_0x535f8c['height']),_0x329b63['restore']();}['_draw'](){if(!(this['_isActive']&&this['$']['image']&&this['_canvas']&&this['_ctx']))return;const _0x58a755=this['_canvas'];this['_ctx']['clearRect'](0x0,0x0,_0x58a755['width'],_0x58a755['height']),this['_drawImage']();}['_animateIn']({fromViewer:_0x4c947b}){this['$']['image']&&(this['ref']['frame-el']['toggleThumbs'](!0x0),this['_transitionToImage'](),setTimeout(()=>{this['className']=_0x19126b({'uc-active_from_viewer':_0x4c947b,'uc-active_from_editor':!_0x4c947b,'uc-inactive_to_editor':!0x1});}));}['_getCropDimensions'](){const _0x38884d=this['$']['*cropBox'],_0x5eb57f=this['$']['*imageBox'],_0x11e45c=this['$']['*operations'],{rotate:_0x1a943e}=_0x11e45c,{width:_0x13bc4c,height:_0x44734c}=_0x5eb57f,{width:_0x27dcfd,height:_0xd8cdf5}=rotateSize(this['_imageSize'],_0x1a943e),{width:_0x4e1786,height:_0x1769da}=_0x38884d,_0x2463a4=_0x13bc4c/_0x27dcfd,_0x129bb5=_0x44734c/_0xd8cdf5;return[_0x399013(Math['round'](_0x4e1786/_0x2463a4),0x1,_0x27dcfd),_0x399013(Math['round'](_0x1769da/_0x129bb5),0x1,_0xd8cdf5)];}['_getCropTransformation'](){const _0x112f3a=this['$']['*cropBox'],_0x23da68=this['$']['*imageBox'],_0x43263c=this['$']['*operations'],{rotate:_0x2d86a7}=_0x43263c,{width:_0x5e27bf,height:_0x4180a1,x:_0x1fac88,y:_0x1ffd48}=_0x23da68,{width:_0x112795,height:_0x22f664}=rotateSize(this['_imageSize'],_0x2d86a7),{x:_0x10d3c3,y:_0x3618a9}=_0x112f3a,_0x47731c=_0x5e27bf/_0x112795,_0x39f3ed=_0x4180a1/_0x22f664,_0x5a52d9=this['_getCropDimensions'](),_0x523e57={'dimensions':_0x5a52d9,'coords':[_0x399013(Math['round']((_0x10d3c3-_0x1fac88)/_0x47731c),0x0,_0x112795-_0x5a52d9[0x0]),_0x399013(Math['round']((_0x3618a9-_0x1ffd48)/_0x39f3ed),0x0,_0x22f664-_0x5a52d9[0x1])]};if(validateCrop(_0x523e57)){if(_0x5a52d9[0x0]!==_0x112795||_0x5a52d9[0x1]!==_0x22f664)return _0x523e57;}else console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x523e57});}['_commit'](){if(!this['isConnected']||!this['_imageSize'])return;const _0x27ce8e=this['$']['*operations'],{rotate:_0xef30f7,mirror:_0x537ee2,flip:_0x5a5e92}=_0x27ce8e,_0x4a5918=this['_getCropTransformation'](),_0x59c252={...this['$']['*editorTransformations'],'crop':_0x4a5918,'rotate':_0xef30f7,'mirror':_0x537ee2,'flip':_0x5a5e92};this['$']['*editorTransformations']=_0x59c252;}['setValue'](_0x3f13a6,_0x55067c){this['$']['*operations']={...this['$']['*operations'],[_0x3f13a6]:_0x55067c},this['_isActive']&&(this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['getValue'](_0xce1099){return this['$']['*operations'][_0xce1099];}async['activate'](_0x39d0bb,{fromViewer:_0x2a2cae}={}){if(!this['_isActive']){this['_isActive']=!0x0,this['_imageSize']=_0x39d0bb,this['removeEventListener']('transitionend',this['_reset']);try{const _0x4e6ee7=this['$']['*originalUrl'],_0x136d0e=this['$']['*editorTransformations'];this['$']['image']=await this['_waitForImage'](_0x4e6ee7,_0x136d0e),this['_syncTransformations'](),this['_animateIn']({'fromViewer':_0x2a2cae});}catch(_0x301e6f){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0x301e6f}),this['telemetryManager']['sendEventError'](_0x301e6f,'cloud\x20editor\x20image.\x20Failed\x20to\x20activate\x20cropper');}this['_observer']=new ResizeObserver(_0x130cc8=>{const [_0x6f508b]=_0x130cc8;if(!_0x6f508b)return;_0x6f508b['contentRect']['width']>0x0&&_0x6f508b['contentRect']['height']>0x0&&this['_isActive']&&this['$']['image']&&this['_handleResizeThrottled']();}),this['_observer']['observe'](this);}}['deactivate']({reset:_0x30d8a9=!0x1}={}){this['_isActive']&&(!_0x30d8a9&&this['_commit'](),this['_isActive']=!0x1,this['_transitionToCrop'](),this['className']=_0x19126b({'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 _0x536577=this['_getCropDimensions'](),_0x1e1db8=this['$']['*cropBox'],_0x11b3cd=Math['min'](this['offsetWidth'],_0x536577[0x0])/_0x1e1db8['width'],_0xd4213a=Math['min'](this['offsetHeight'],_0x536577[0x1])/_0x1e1db8['height'],_0x445479=Math['min'](_0x11b3cd,_0xd4213a),_0x2ba293=_0x1e1db8['x']+_0x1e1db8['width']/0x2,_0x2a0e65=_0x1e1db8['y']+_0x1e1db8['height']/0x2;this['style']['transform']='scale('+_0x445479+')\x20translate('+(this['offsetWidth']/0x2-_0x2ba293)/_0x445479+'px,\x20'+(this['offsetHeight']/0x2-_0x2a0e65)/_0x445479+'px)',this['style']['transformOrigin']=_0x2ba293+'px\x20'+_0x2a0e65+'px';}['_transitionToImage'](){const _0x18a655=this['$']['*cropBox'],_0x450b00=_0x18a655['x']+_0x18a655['width']/0x2,_0x6d520a=_0x18a655['y']+_0x18a655['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x450b00+'px\x20'+_0x6d520a+'px';}['_reset'](){this['_isActive']||(this['$']['image']=null);}async['_waitForImage'](_0x4d0028,_0x4d0b3e){const _0x14fe05=this['offsetWidth'];_0x4d0b3e={..._0x4d0b3e,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};const _0x4a16e2=await this['proxyUrl'](_0x315d7b(_0x4d0028,_0x14fe05,_0x4d0b3e)),{promise:_0x4c1fd8,cancel:_0x4bb043,image:_0x3a1d89}=_0x2b37e1(_0x4a16e2),_0x42404e=this['_handleImageLoading'](_0x4a16e2);return _0x3a1d89['addEventListener']('load',_0x42404e,{'once':!0x0}),_0x3a1d89['addEventListener']('error',_0x42404e,{'once':!0x0}),this['_cancelPreload']?.(),this['_cancelPreload']=_0x4bb043,_0x4c1fd8['then'](()=>_0x3a1d89)['catch'](_0x3a1abf=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0x3a1abf}),this['$']['*networkProblems']=!0x0,_0x3a1d89));}['_handleImageLoading'](_0x203f09){const _0x4a1f7c='crop',_0x19fcad=this['$']['*loadingOperations'];let _0x247b79=_0x19fcad['get'](_0x4a1f7c);return _0x247b79||(_0x247b79=new Map(),_0x19fcad['set'](_0x4a1f7c,_0x247b79)),_0x247b79['get'](_0x203f09)||(_0x247b79['set'](_0x203f09,!0x0),this['$']['*loadingOperations']=_0x19fcad),()=>{const _0x52b993=_0x19fcad['get'](_0x4a1f7c);_0x52b993?.['has'](_0x203f09)&&(_0x52b993['delete'](_0x203f09),this['$']['*loadingOperations']=_0x19fcad);};}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['_draw']();}),this['sub']('*cropBox',()=>{this['$']['image']&&this['_commitDebounced']();}),this['sub']('*currentAspectRatio',()=>{this['_alignCrop']();}),setTimeout(()=>{this['sub']('*networkProblems',_0x1bb438=>{_0x1bb438||this['_isActive']&&this['activate'](this['_imageSize'],{'fromViewer':!0x1});});},0x0);}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};function _0x5d461b(_0x272b57,_0x553d02,_0x117d95){const _0x3f9eeb=_0x117d95-0x1,_0x290baf=new Array(_0x117d95);for(let _0x30145b=_0x3f9eeb;_0x30145b>=0x0;_0x30145b-=0x1)_0x290baf[_0x30145b]=Math['ceil']((_0x30145b*_0x553d02+(_0x3f9eeb-_0x30145b)*_0x272b57)/_0x3f9eeb);return _0x290baf;}function isOperationKey(_0x5a4c58){return'string'==typeof _0x5a4c58&&_0x5a4c58 in _0x4ec5b2;}function splitBySections(_0x31ccf0){const _0x194e6e=[];for(let _0x59197a=0x0;_0x59197a<_0x31ccf0['length']-0x1;_0x59197a+=0x1){const _0x384f52=_0x31ccf0[_0x59197a],_0x30218d=_0x31ccf0[_0x59197a+0x1];'number'==typeof _0x384f52&&'number'==typeof _0x30218d&&_0x194e6e['push']([_0x384f52,_0x30218d]);}return _0x194e6e;}function calculateOpacities(_0x1f9ea0,_0x12ee8b,_0x3c447a){const _0x448683=splitBySections(_0x1f9ea0)['find'](([_0xd8517f,_0x3a9732])=>_0xd8517f<=_0x12ee8b&&_0x12ee8b<=_0x3a9732);if(!_0x448683)return _0x1f9ea0['map'](()=>0x0);const [_0x36f9f4,_0x40fb93]=_0x448683;return _0x1f9ea0['map'](_0x32e21e=>{const _0x4a3f91=Math['abs'](_0x36f9f4-_0x40fb93)||0x1,_0x1feff5=Math['abs'](_0x12ee8b-_0x36f9f4)/_0x4a3f91;return _0x36f9f4===_0x32e21e?_0x12ee8b>_0x3c447a?0x1:0x1-_0x1feff5:_0x40fb93===_0x32e21e?_0x12ee8b>=_0x3c447a?_0x1feff5:0x1:0x0;});}function calculateZIndices(_0x33292e,_0x3c4f83){return _0x33292e['map']((_0x3ce7ed,_0x1de768)=>_0x3ce7ed<_0x3c4f83?_0x33292e['length']-_0x1de768:_0x1de768);}function keypointsRange(_0x294d35,_0x5cf2da){const _0x1eaee9=_0x4ec5b2[_0x294d35]['keypointsNumber'],{range:_0x3a0500,zero:_0x3e6768}=_0x4ec5b2[_0x294d35];return[...new Set([..._0x5d461b(_0x3a0500[0x0],_0x3e6768,_0x1eaee9+0x1),..._0x5d461b(_0x3e6768,_0x3a0500[0x1],_0x1eaee9+0x1),_0x3e6768,_0x5cf2da])]['sort']((_0x25f721,_0x371f78)=>_0x25f721-_0x371f78);}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 _0x4542c4{['_isActive']=!0x1;['_hidden']=!0x0;['_operation']='initial';['_filter'];['_value'];['_transformations']={};['_keypoints']=[];['_container'];['_previewImage'];['_cancelLastImages'];['_cancelBatchPreload'];['_url'];['_fromViewer'];['_raf']=0x0;['_addKeypointDebounced']=_0x4b27cc(this['_addKeypoint']['bind'](this),0x258);constructor(){super(),this['classList']['add']('uc-inactive_to_cropper');}['_handleImageLoading'](_0x4e7f0c){const _0x29582d=this['_operation'],_0x259155=this['$']['*loadingOperations'];_0x259155['has'](_0x29582d)||_0x259155['set'](_0x29582d,new Map());const _0x54ba3a=_0x259155['get'](_0x29582d);return _0x54ba3a&&!_0x54ba3a['get'](_0x4e7f0c)&&(_0x54ba3a['set'](_0x4e7f0c,!0x0),this['$']['*loadingOperations']=_0x259155),()=>{const _0x531c9e=_0x259155['get'](_0x29582d);_0x531c9e?.['has'](_0x4e7f0c)&&(_0x531c9e['delete'](_0x4e7f0c),this['$']['*loadingOperations']=_0x259155);};}['_flush'](){window['cancelAnimationFrame'](this['_raf']),this['_raf']=window['requestAnimationFrame'](()=>{for(const _0x1e46a5 of this['_keypoints']){const {image:_0x1aa013}=_0x1e46a5;_0x1aa013&&(_0x1aa013['style']['opacity']=_0x1e46a5['opacity']['toString'](),_0x1aa013['style']['zIndex']=_0x1e46a5['zIndex']['toString']());}});}['_imageSrc']({url:_0x271185=this['_url'],filter:_0x373cc8=this['_filter']??void 0x0,operation:_0x511085,value:_0x308498}={}){if(!_0x271185)throw new Error('URL\x20is\x20not\x20defined');const _0x279148={...this['_transformations']};_0x511085&&('filter'===_0x511085?_0x373cc8&&'number'==typeof _0x308498&&(_0x279148['filter']={'name':_0x373cc8,'amount':_0x308498}):'number'==typeof _0x308498&&(_0x279148[_0x511085]=_0x308498));const _0x3b2386=this['offsetWidth'];return this['proxyUrl'](_0x315d7b(_0x271185,_0x3b2386,_0x279148));}async['_constructKeypoint'](_0x166da3,_0x50c4a2){return{'src':await this['_imageSrc']({'operation':_0x166da3,'value':_0x50c4a2}),'image':void 0x0,'opacity':0x0,'zIndex':0x0,'value':_0x50c4a2};}['_isSame'](_0x200bea,_0x263bb1){return this['_operation']===_0x200bea&&this['_filter']===_0x263bb1;}async['_addKeypoint'](_0x54dc99,_0xcd9dd,_0xa2238d){const _0x564d9e=()=>!this['_isSame'](_0x54dc99,_0xcd9dd)||this['_value']!==_0xa2238d||!!this['_keypoints']['find'](_0x3a0090=>_0x3a0090['value']===_0xa2238d);if(_0x564d9e())return;const _0x3b6af1=await this['_constructKeypoint'](_0x54dc99,_0xa2238d),_0x4e2b8d=new Image();_0x4e2b8d['src']=_0x3b6af1['src'];const _0x1cf0f6=this['_handleImageLoading'](_0x3b6af1['src']);_0x4e2b8d['addEventListener']('load',_0x1cf0f6,{'once':!0x0}),_0x4e2b8d['addEventListener']('error',_0x1cf0f6,{'once':!0x0}),_0x3b6af1['image']=_0x4e2b8d,_0x4e2b8d['classList']['add']('uc-fader-image'),_0x4e2b8d['addEventListener']('load',()=>{if(_0x564d9e())return;const _0x1f69cd=this['_keypoints'];let _0x3d63d4=_0x1f69cd['findIndex'](_0x4cad0c=>_0x4cad0c['value']>_0xa2238d);-0x1===_0x3d63d4&&(_0x3d63d4=_0x1f69cd['length']);const _0x453dca=_0x1f69cd[_0x3d63d4],_0x510298=_0x453dca?.['image'],_0x41715f=this['_container'];!_0x41715f||_0x510298&&!_0x41715f['contains'](_0x510298)||(_0x1f69cd['splice'](_0x3d63d4,0x0,_0x3b6af1),_0x510298&&_0x41715f['insertBefore'](_0x4e2b8d,_0x510298),this['_update'](_0x54dc99,_0xa2238d));},{'once':!0x0}),_0x4e2b8d['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}['set'](_0x4d715d){const _0x4169b2='string'==typeof _0x4d715d?parseInt(_0x4d715d,0xa):_0x4d715d;isOperationKey(this['_operation'])&&Number['isFinite'](_0x4169b2)&&(this['_update'](this['_operation'],_0x4169b2),this['_addKeypointDebounced'](this['_operation'],this['_filter'],_0x4169b2));}['_update'](_0x7ea318,_0x8773b){this['_operation']=_0x7ea318,this['_value']=_0x8773b;const {zero:_0x8ebd34}=_0x4ec5b2[_0x7ea318],_0x1bf2f5=this['_keypoints']['map'](_0x956d75=>_0x956d75['value']),_0x56ec32=calculateOpacities(_0x1bf2f5,_0x8773b,_0x8ebd34),_0xb663ab=calculateZIndices(_0x1bf2f5,_0x8ebd34);this['_keypoints']['forEach']((_0x42fe9c,_0x305a96)=>{const _0x4146d8=_0x56ec32[_0x305a96],_0x15b91d=_0xb663ab[_0x305a96];'number'==typeof _0x4146d8&&(_0x42fe9c['opacity']=_0x4146d8),'number'==typeof _0x15b91d&&(_0x42fe9c['zIndex']=_0x15b91d);}),this['_flush']();}['_createPreviewImage'](){const _0x1414fb=new Image();return _0x1414fb['classList']['add']('uc-fader-image','uc-fader-image--preview'),_0x1414fb['style']['opacity']='0',_0x1414fb;}async['_initNodes'](){const _0xce7ed5=document['createDocumentFragment']();this['_previewImage']=this['_previewImage']||this['_createPreviewImage']();const _0x2c35e0=this['_previewImage'];this['contains'](_0x2c35e0)||_0xce7ed5['appendChild'](_0x2c35e0);const _0x36edc1=document['createElement']('div');_0xce7ed5['appendChild'](_0x36edc1);const _0x9ffe9f=this['_keypoints']['map'](_0xaf0e51=>_0xaf0e51['src']),{images:_0x271808,promise:_0x497993,cancel:_0x450b92}=batchPreloadImages(_0x9ffe9f);_0x271808['forEach'](_0x2b79df=>{const _0x2a86f8=this['_handleImageLoading'](_0x2b79df['src']);_0x2b79df['addEventListener']('load',_0x2a86f8),_0x2b79df['addEventListener']('error',_0x2a86f8);}),this['_cancelLastImages']=()=>{_0x450b92(),this['_cancelLastImages']=void 0x0;};const _0x2eb469=this['_operation'],_0x2acc95=this['_filter'];await _0x497993,this['_isActive']&&this['_isSame'](_0x2eb469,_0x2acc95)&&(this['_container']?.['remove'](),this['_container']=_0x36edc1,this['_keypoints']['forEach']((_0x2e16ac,_0x49d53f)=>{const _0x1ad8a9=_0x271808[_0x49d53f];_0x1ad8a9&&(_0x1ad8a9['classList']['add']('uc-fader-image'),_0x2e16ac['image']=_0x1ad8a9,this['_container']?.['appendChild'](_0x1ad8a9));}),this['appendChild'](_0xce7ed5),this['_flush']());}async['setTransformations'](_0x53a4f8){if(this['_transformations']=_0x53a4f8,this['_previewImage']){const _0x262c91=await this['_imageSrc'](),_0x478660=this['_handleImageLoading'](_0x262c91);this['_previewImage']['src']=_0x262c91,this['_previewImage']['addEventListener']('load',_0x478660,{'once':!0x0}),this['_previewImage']['addEventListener']('error',_0x478660,{'once':!0x0}),this['_previewImage']['style']['opacity']='1',this['_previewImage']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:_0x56d344,filter:_0x19c9e6,operation:_0x5b440f,value:_0xd73fc6}){if(!_0x5b440f||'number'!=typeof _0xd73fc6)return;this['_cancelBatchPreload']?.();const _0x21e0df=keypointsRange(_0x5b440f,_0xd73fc6),_0x442186=await Promise['all'](_0x21e0df['map'](_0x575182=>this['_imageSrc']({'url':_0x56d344,'filter':_0x19c9e6,'operation':_0x5b440f,'value':_0x575182}))),{cancel:_0x45905a}=batchPreloadImages(_0x442186);this['_cancelBatchPreload']=_0x45905a;}['_setOriginalSrc'](_0x30c12c){const _0x3fdf44=this['_previewImage']||this['_createPreviewImage']();if(this['contains'](_0x3fdf44)||this['appendChild'](_0x3fdf44),this['_previewImage']=_0x3fdf44,_0x3fdf44['src']===_0x30c12c)return _0x3fdf44['style']['opacity']='1',_0x3fdf44['style']['transform']='scale(1)',void(this['className']=_0x19126b({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));_0x3fdf44['style']['opacity']='0';const _0x154b1b=this['_handleImageLoading'](_0x30c12c);_0x3fdf44['addEventListener']('error',_0x154b1b,{'once':!0x0}),_0x3fdf44['src']=_0x30c12c,_0x3fdf44['addEventListener']('load',()=>{_0x154b1b(),_0x3fdf44&&(_0x3fdf44['style']['opacity']='1',_0x3fdf44['style']['transform']='scale(1)',this['className']=_0x19126b({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0x3fdf44['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:_0x5b4092,operation:_0x1718cb,value:_0x56eed4,filter:_0x12008e,fromViewer:_0x5b9752}){this['_isActive']=!0x0,this['_hidden']=!0x1,this['_url']=_0x5b4092,this['_operation']=_0x1718cb??'initial',this['_value']=_0x56eed4,this['_filter']=_0x12008e,this['_fromViewer']=_0x5b9752;if('number'!=typeof _0x56eed4&&!_0x12008e){const _0x2b462d=await this['_imageSrc']({'operation':_0x1718cb,'value':_0x56eed4});return this['_setOriginalSrc'](_0x2b462d),void this['_container']?.['remove']();}_0x1718cb&&'number'==typeof _0x56eed4&&(this['_keypoints']=await Promise['all'](keypointsRange(_0x1718cb,_0x56eed4)['map'](_0x47d466=>this['_constructKeypoint'](_0x1718cb,_0x47d466))),this['_update'](_0x1718cb,_0x56eed4),this['_initNodes']());}['deactivate']({hide:_0x179bea=!0x0}={}){this['_isActive']=!0x1,this['_cancelLastImages']?.(),this['_cancelBatchPreload']?.(),_0x179bea&&!this['_hidden']?(this['_hidden']=!0x0,this['_previewImage']&&(this['_previewImage']['style']['transform']='scale(1)'),this['className']=_0x19126b({'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']=_0x4b4fc4=>{this['$']['*sliderEl']['setOperation'](this['_operation']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['_operation'],this['telemetryManager']['sendEventCloudImageEditor'](_0x4b4fc4,this['$']['*tabId'],{'operation':parseFilterValue(this['$']['*operationTooltip'])});},this['defineAccessor']('operation',_0x165418=>{_0x165418&&(this['_operation']=_0x165418,this['$']['icon']=_0x165418,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](_0x165418)['toLowerCase']()})),this['bindL10n']('title',()=>this['l10n'](_0x165418)));}),this['sub']('*editorTransformations',_0x494a7c=>{if(!this['_operation'])return;const {zero:_0x5a62b3}=_0x4ec5b2[this['_operation']],_0x5d0c90=_0x494a7c[this['_operation']],_0x4c75af=void 0x0!==_0x5d0c90&&_0x5d0c90!==_0x5a62b3;this['$']['active']=_0x4c75af;});}},_0x3ae761=0x1,EditorScroller=class extends _0x4542c4{['initCallback'](){super['initCallback'](),this['addEventListener']('wheel',_0x550e71=>{_0x550e71['preventDefault']();const {deltaY:_0x29a2d5,deltaX:_0x1e7212}=_0x550e71;Math['abs'](_0x1e7212)>_0x3ae761?this['scrollLeft']+=_0x1e7212:this['scrollLeft']+=_0x29a2d5;},{'passive':!0x1}),this['addEventListener']('scroll',()=>{},{'passive':!0x0});}};function _0x1a4dfa(_0x2be50a){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.'+_0x2be50a+';\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-'+_0x2be50a+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22'+_0x2be50a+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22'+_0x2be50a+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20on.clickTab;\x20aria-role:tab_role;\x20aria-controls:tab_'+_0x2be50a+';\x20title-prop:\x20a11y-editor-tab-'+_0x2be50a+'\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(_0x3b69c4){return'\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20id=\x22tab_'+_0x3b69c4+'\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-tab-content\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabContent.'+_0x3b69c4+';\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-'+_0x3b69c4+'\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 _0x4542c4{['_debouncedShowLoader'];['_cancelPreload'];['_updateInfoTooltip'];constructor(){super(),this['init$']={...this['init$'],'*sliderEl':null,'*listAspectRatioEl':null,'*loadingOperations':new Map(),'*showSlider':!0x1,'*showListAspectRatio':!0x1,'hideSliderOrList':!0x1,'*currentFilter':_0x12b00b,'*currentOperation':null,'showLoader':!0x1,'filters':_0x481dac,'colorOperations':_0x556b2b,'cropOperations':_0x32ec95,'*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':_0x1ea5ab=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x1ea5ab,this['$']['*tabId'],{'action':'cancel'}),this['_cancelPreload']?.(),(0x0,this['$']['*on.cancel'])();},'on.apply':_0x128915=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x128915,this['$']['*tabId'],{'action':'apply'}),(0x0,this['$']['*on.apply'])(this['$']['*editorTransformations']);},'on.applySlider':_0x5ab7b0=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x5ab7b0,this['$']['*tabId'],{'action':'apply-slider','operation':parseFilterValue(this['$']['*operationTooltip'])}),(this['ref']['slider-el']['apply'](),this['_onSliderClose']());},'on.cancelSlider':_0x694578=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x694578,this['$']['*tabId'],{'action':'cancel-slider'}),(this['ref']['slider-el']['cancel'](),this['_onSliderClose']());},'on.clickTab':_0x30e680=>{const _0x2cb870=_0x30e680['currentTarget'],_0xcbc35d=_0x2cb870?.['getAttribute']('data-id');_0xcbc35d&&(this['telemetryManager']['sendEventCloudImageEditor'](_0x30e680,_0xcbc35d),this['_activateTab'](_0xcbc35d,{'fromViewer':!0x1}));},'tab_role':'tab',['tab_'+_0x597176['TUNING']]:'tab_'+_0x597176['TUNING'],['tab_'+_0x597176['CROP']]:'tab_'+_0x597176['CROP'],['tab_'+_0x597176['FILTERS']]:'tab_'+_0x597176['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']=_0x4b27cc(this['_showLoader']['bind'](this),0x1f4),this['_updateInfoTooltip']=_0x4b27cc(this['_updateInfoTooltipHandler']['bind'](this),0x0);}['_onSliderClose'](){(this['$']['*showSlider']=!0x1,this['$']['*tabId']===_0x597176['CROP']&&(this['$']['*showListAspectRatio']=!0x1),this['$']['*tabId']===_0x597176['TUNING'])&&this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',!0x1);}['_createOperationControl'](_0x15f553){const _0x1ee24c=new EditorOperationControl();return _0x1ee24c['operation']=_0x15f553,_0x1ee24c;}['_createFilterControl'](_0xe0a1f8){const _0x3f322b=new EditorFilterControl();return _0x3f322b['filter']=_0xe0a1f8,_0x3f322b;}['_createToggleControl'](_0x3a459a){const _0x25abb7=new EditorCropButtonControl();return _0x25abb7['operation']=_0x3a459a,_0x25abb7;}['_createAspectRatioControl'](_0x2460d9){const _0x3fe08e=new EditorAspectRatioButtonControl();return _0x3fe08e['aspectRatio']=_0x2460d9,_0x3fe08e;}['_createFreeformControl'](){return new EditorFreeformButtonControl();}['_clearListAspectRatio'](){const _0x3cb2a2=this['$']['*listAspectRatioEl'];_0x3cb2a2&&(_0x3cb2a2['innerHTML']='');}['_renderControlsList'](_0x32d8cd){const _0x340f12=this['ref']['controls-list-'+_0x32d8cd],_0x50ea18=document['createDocumentFragment']();if(this['_clearListAspectRatio'](),_0x32d8cd===_0x597176['CROP']){const _0xa68c40=this['$']['*cropPresetList'],_0x455b52=_0xa68c40['length']>=0x3;if(_0x455b52){const _0x21b27e=this['_createFreeformControl']();_0x50ea18['appendChild'](_0x21b27e);}for(const _0x5452b9 of _0xa68c40){const _0x832968=this['_createAspectRatioControl'](_0x5452b9);if(_0x50ea18['appendChild'](_0x832968),_0x455b52){const _0x403c89=this['$']['*listAspectRatioEl'];_0x403c89?.['appendChild'](_0x832968);}}for(const _0x51e447 of this['$']['cropOperations']){const _0x470afb=this['_createToggleControl'](_0x51e447);_0x50ea18['appendChild'](_0x470afb);}}else{if(_0x32d8cd===_0x597176['FILTERS']){const _0x1cb2bf=this['$']['filters'];[_0x12b00b,..._0x1cb2bf]['forEach'](_0x35a4c3=>{const _0xf68640=this['_createFilterControl'](_0x35a4c3);_0x50ea18['appendChild'](_0xf68640);});}else{if(_0x32d8cd===_0x597176['TUNING'])for(const _0x145b12 of this['$']['colorOperations']){const _0x207771=this['_createOperationControl'](_0x145b12);_0x50ea18['appendChild'](_0x207771);}}}[..._0x50ea18['children']]['forEach']((_0x4776c1,_0x327b90)=>{_0x327b90===_0x50ea18['childNodes']['length']-0x1&&_0x4776c1['classList']['add']('uc-controls-list_last-item');}),_0x340f12['innerHTML']='',_0x340f12['appendChild'](_0x50ea18);}['_activateTab'](_0x3e45ac,{fromViewer:_0xd82570}={}){this['$']['*tabId']=_0x3e45ac;const _0x25d74d=this['$']['*faderEl'],_0x442b95=this['$']['*cropperEl'];_0x3e45ac===_0x597176['CROP']?(_0x25d74d?.['deactivate'](),_0x442b95?.['activate'](this['$']['*imageSize'],{'fromViewer':_0xd82570})):(_0x25d74d?.['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0xd82570}),_0x442b95?.['deactivate']());for(const _0x1f608b of _0x49ce9a){const _0x12b1a0=_0x1f608b===_0x3e45ac;this['ref']['tab-toggle-'+_0x1f608b]['active']=_0x12b1a0,_0x12b1a0?(this['_renderControlsList'](_0x3e45ac),this['_syncTabIndicator']()):this['_unmountTabControls'](_0x1f608b),this['$']['presence.tabContent.'+_0x1f608b]=_0x12b1a0;}}['_unmountTabControls'](_0x503db5){const _0x2eb74b=this['ref']['controls-list-'+_0x503db5];_0x2eb74b&&(_0x2eb74b['innerHTML']='');}['_syncTabIndicator'](){const _0x493e43=this['ref']['tab-toggle-'+this['$']['*tabId']];this['ref']['tabs-indicator']['style']['transform']='translateX('+_0x493e43['offsetLeft']+'px)';}async['_preloadEditedImage'](){if(this['$']['*imgContainerEl']&&this['$']['*originalUrl']){const _0x4e70b1=this['$']['*imgContainerEl']['offsetWidth'],_0x2cbf5c=await this['proxyUrl'](_0x315d7b(this['$']['*originalUrl'],_0x4e70b1,this['$']['*editorTransformations']));this['_cancelPreload']?.();const {cancel:_0x4ac54c}=batchPreloadImages([_0x2cbf5c]);this['_cancelPreload']=()=>{_0x4ac54c(),this['_cancelPreload']=void 0x0;};}}['_showLoader'](_0xad7f83){this['$']['showLoader']=_0xad7f83;}['_updateInfoTooltipHandler'](){const _0xb2d4d3=this['$']['*editorTransformations'],_0x348790=this['$']['*currentOperation'];let _0x226fb9='',_0x2ea7c9=!0x1;if(this['$']['*tabId']===_0x597176['FILTERS']){if(_0x2ea7c9=!0x0,this['$']['*currentFilter']&&_0xb2d4d3?.['filter']?.['name']===this['$']['*currentFilter']){const _0x3dd2b9=_0xb2d4d3?.['filter']?.['amount']||0x64;_0x226fb9=this['$']['*currentFilter']+'\x20'+_0x3dd2b9;}else _0x226fb9=this['l10n'](_0x12b00b);}else{if(this['$']['*tabId']===_0x597176['TUNING']&&_0x348790){_0x2ea7c9=!0x0;const _0x59bff9=_0xb2d4d3?.[_0x348790]||_0x4ec5b2[_0x348790]['zero'];_0x226fb9=this['l10n'](_0x348790)+'\x20'+_0x59bff9;}}_0x2ea7c9&&(this['$']['*operationTooltip']=_0x226fb9),this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',_0x2ea7c9);}['initCallback'](){super['initCallback'](),this['$']['*sliderEl']=this['ref']['slider-el'],this['$']['*listAspectRatioEl']=this['ref']['list-el'],this['sub']('*imageSize',_0x41c803=>{_0x41c803&&setTimeout(()=>{this['_activateTab'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0x3feef0=>{const _0x2b5d2e=_0x3feef0?.['filter']?.['name'];this['$']['*currentFilter']!==_0x2b5d2e&&(this['$']['*currentFilter']=_0x2b5d2e);}),this['sub']('*currentFilter',()=>{this['_updateInfoTooltip']();}),this['sub']('*currentOperation',()=>{this['_updateInfoTooltip']();}),this['sub']('*tabId',()=>{this['_updateInfoTooltip']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']?.['deactivate']();}),this['sub']('*editorTransformations',_0x39fc0d=>{this['_preloadEditedImage'](),this['$']['*faderEl']?.['setTransformations'](_0x39fc0d);}),this['sub']('*loadingOperations',_0x24d989=>{let _0x7b648b=!0x1;for(const [,_0x3738f3]of _0x24d989['entries']()){if(_0x7b648b)break;for(const [,_0x5a8eb7]of _0x3738f3['entries']())if(_0x5a8eb7){_0x7b648b=!0x0;break;}}this['_debouncedShowLoader'](_0x7b648b);}),this['sub']('*showSlider',_0x2f7559=>{this['$']['presence.subToolbar']=_0x2f7559,this['$']['presence.mainToolbar']=!_0x2f7559,this['$']['hideSliderOrList']=!0x0;}),this['sub']('*showListAspectRatio',_0x56dfca=>{this['$']['presence.subToolbar']=_0x56dfca,this['$']['presence.mainToolbar']=!_0x56dfca,this['$']['hideSliderOrList']=!0x1;}),this['sub']('*tabList',_0x46b90d=>{this['$']['presence.tabToggles']=_0x46b90d['length']>0x1;for(const _0x2ccd0d of _0x49ce9a){this['$']['presence.tabToggle.'+_0x2ccd0d]=_0x46b90d['includes'](_0x2ccd0d),this['ref']['tab-toggle-'+_0x2ccd0d]['style']['gridColumn']=''+(_0x46b90d['indexOf'](_0x2ccd0d)+0x1);}if(!_0x46b90d['includes'](this['$']['*tabId'])&&_0x46b90d['length']>0x0){const [_0x2b4e2c]=_0x46b90d;_0x2b4e2c&&this['_activateTab'](_0x2b4e2c,{'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>'+_0x49ce9a['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'+_0x49ce9a['map'](_0x1a4dfa)['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 _0x4542c4{['_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',_0x5da4ce=>{_0x5da4ce?this['setAttribute']('active',''):this['removeAttribute']('active');});}['_iconCss'](){return _0x19126b('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',_0x5cddf5=>{this['_iconSingle']=!this['$']['text'],this['_iconHidden']=!_0x5cddf5,this['$']['iconCss']=this['_iconCss']();}),this['sub']('theme',_0xe98ee8=>{_0xe98ee8&&'custom'!==_0xe98ee8&&(this['className']='uc-'+_0xe98ee8);}),this['sub']('text',()=>{this['_iconSingle']=!0x1;}),this['hasAttribute']('theme')||this['setAttribute']('theme','default'),this['defineAccessor']('aria-role',_0x44dae4=>{this['$']['aria-role']=_0x44dae4||'';}),this['defineAccessor']('aria-controls',_0x583a1e=>{this['$']['aria-controls']=_0x583a1e||'';}),this['defineAccessor']('title-prop',_0x2593c8=>{this['$']['title-prop']=_0x2593c8||'';});}set['reverse'](_0x54c0cb){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 _0x2182e8=class extends _0x4542c4{['_active']=!0x1;['_handleTransitionEndRight']=()=>{const _0x462167=this['ref']['line-el'];_0x462167['style']['transition']='initial',_0x462167['style']['opacity']='0',_0x462167['style']['transform']='translateX(-101%)',this['_active']&&this['_start']();};['initCallback'](){super['initCallback'](),this['defineAccessor']('active',_0x1e605f=>{'boolean'==typeof _0x1e605f&&(_0x1e605f?this['_start']():this['_stop']());});}['_start'](){this['_active']=!0x0;const {width:_0xaf87ef}=this['getBoundingClientRect'](),_0x25461a=this['ref']['line-el'];_0x25461a['style']['transition']='transform\x201s',_0x25461a['style']['opacity']='1',_0x25461a['style']['transform']='translateX('+_0xaf87ef+'px)',_0x25461a['addEventListener']('transitionend',this['_handleTransitionEndRight'],{'once':!0x0});}['_stop'](){this['_active']=!0x1;}};_0x2182e8['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 _0x2ea6dc={'transition':'uc-transition','visible':'uc-visible','hidden':'uc-hidden'},_0x214d88=class extends _0x4542c4{['_visible']=!0x1;['_visibleStyle']=_0x2ea6dc['visible'];['_hiddenStyle']=_0x2ea6dc['hidden'];['_externalTransitions']=!0x1;constructor(){super(),this['defineAccessor']('styles',_0x165b44=>{_0x165b44&&(this['_externalTransitions']=!0x0,this['_visibleStyle']=_0x165b44['visible']??_0x2ea6dc['visible'],this['_hiddenStyle']=_0x165b44['hidden']??_0x2ea6dc['hidden']);}),this['defineAccessor']('visible',_0x513438=>{'boolean'==typeof _0x513438&&(this['_visible']=_0x513438,this['_handleVisible']());});}['_handleVisible'](){this['style']['visibility']=this['_visible']?'inherit':'hidden',_0x2012d9(this,{[_0x2ea6dc['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'](_0x2ea6dc['transition']),this['_handleVisible'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1);},0x0);}};_0x214d88['template']='<slot></slot>\x20';var _0x3e043b=class extends _0x4542c4{['_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 _0x5b00eb=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x5b00eb),this['$']['onInput']?.(_0x5b00eb);},'on.sliderChange':()=>{const _0x439f81=Number['parseInt'](this['_inputEl']()['value'],0xa);this['$']['onChange']?.(_0x439f81);}},this['setAttribute']('with-effects','');}['initCallback'](){super['initCallback'](),this['defineAccessor']('disabled',_0x1ccf3f=>{this['$']['disabled']=_0x1ccf3f;}),this['defineAccessor']('min',_0x156dca=>{this['$']['min']=_0x156dca;}),this['defineAccessor']('max',_0x4399c2=>{this['$']['max']=_0x4399c2;}),this['defineAccessor']('defaultValue',_0x3a12e9=>{this['$']['defaultValue']=_0x3a12e9,(this['_inputEl']()['value']=String(_0x3a12e9),this['_updateValue'](_0x3a12e9));}),this['defineAccessor']('zero',_0x4315cb=>{this['_zero']=_0x4315cb;}),this['defineAccessor']('onInput',_0x579e49=>{_0x579e49&&(this['$']['onInput']=_0x579e49);}),this['defineAccessor']('onChange',_0x308448=>{_0x308448&&(this['$']['onChange']=_0x308448);}),this['_updateSteps'](),this['_observer']=new ResizeObserver(()=>{this['_updateSteps']();const _0x17f4c5=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x17f4c5);}),this['_observer']['observe'](this),this['_thumbSize']=Number['parseInt'](window['getComputedStyle'](this)['getPropertyValue']('--l-thumb-size'),0xa),setTimeout(()=>{const _0x5e7618=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x5e7618);},0x0),this['sub']('disabled',_0x3e932b=>{const _0x2ead0f=this['_inputEl']();_0x3e932b?_0x2ead0f['setAttribute']('disabled','disabled'):_0x2ead0f['removeAttribute']('disabled');});const _0x16ebbb=this['_inputEl']();_0x16ebbb['addEventListener']('focus',()=>{this['style']['setProperty']('--color-effect','var(--hover-color-rgb)');}),_0x16ebbb['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'](_0x4d4b42){this['_updateZeroDot'](_0x4d4b42);const {width:_0x128b75}=this['getBoundingClientRect'](),_0x22a19f=0x64/(this['$']['max']-this['$']['min'])*(_0x4d4b42-this['$']['min'])*(_0x128b75-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_thumbEl']()['style']['transform']='translateX('+_0x22a19f+'px)';});}['_updateZeroDot'](_0x4a43cf){if(!this['_zeroDotEl'])return;this['_zeroDotEl']['style']['opacity']=_0x4a43cf===this['_zero']?'0':'1';const {width:_0x4a6666}=this['getBoundingClientRect'](),_0x258c31=0x64/(this['$']['max']-this['$']['min'])*(this['_zero']-this['$']['min'])*(_0x4a6666-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_zeroDotEl']&&(this['_zeroDotEl']['style']['transform']='translateX('+_0x258c31+'px)');});}['_updateSteps'](){const _0x1ea426=this['_stepsEl'](),{width:_0x26470b}=_0x1ea426['getBoundingClientRect'](),_0xf22d1=Math['ceil'](_0x26470b/0x2),_0x2a9015=Math['ceil'](_0xf22d1/0xf)-0x2;if(this['_stepsCount']===_0x2a9015)return;const _0x39db27=document['createDocumentFragment'](),_0x439084=document['createElement']('div'),_0x12182c=document['createElement']('div');_0x439084['className']='uc-minor-step',_0x12182c['className']='uc-border-step',_0x39db27['appendChild'](_0x12182c);for(let _0x4814f1=0x0;_0x4814f1<_0x2a9015;_0x4814f1+=0x1)_0x39db27['appendChild'](_0x439084['cloneNode']());_0x39db27['appendChild'](_0x12182c['cloneNode']());for(let _0x5061ad=0x0;_0x5061ad<_0x2a9015;_0x5061ad+=0x1)_0x39db27['appendChild'](_0x439084['cloneNode']());_0x39db27['appendChild'](_0x12182c['cloneNode']());const _0x3d8820=document['createElement']('div');_0x3d8820['className']='uc-zero-dot',_0x39db27['appendChild'](_0x3d8820),this['_zeroDotEl']=_0x3d8820,_0x1ea426['innerHTML']='',_0x1ea426['appendChild'](_0x39db27),this['_stepsCount']=_0x2a9015;}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};_0x3e043b['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 _0x4378ff{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['CLOUD_IMG_EDIT'];['_entry'];['_instance'];get['activityParams'](){const _0x5a0096=super['activityParams'];if('internalId'in _0x5a0096)return _0x5a0096;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',_0x365b26=>{this['_instance']&&this['_instance']['getAttribute']('crop-preset')!==_0x365b26&&this['_instance']['setAttribute']('crop-preset',_0x365b26);}),this['subConfigValue']('cloudImageEditorTabs',_0x160f9b=>{this['_instance']&&this['_instance']['getAttribute']('tabs')!==_0x160f9b&&this['_instance']['setAttribute']('tabs',_0x160f9b);});}['handleApply'](_0x230598){if(!this['_entry'])return;const _0x4b86ce=_0x230598['detail'];this['_entry']['setMultipleValues']({'cdnUrl':_0x4b86ce['cdnUrl'],'cdnUrlModifiers':_0x4b86ce['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:_0x3b8ba7}=this['activityParams'],_0xac64b9=this['uploadCollection']['read'](_0x3b8ba7);if(!_0xac64b9)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x3b8ba7+'\x22\x20not\x20found');this['_entry']=_0xac64b9;const _0x3781c1=this['_entry']['getValue']('cdnUrl');if(!_0x3781c1)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x3b8ba7+'\x22\x20hasn\x27t\x20uploaded\x20yet');const _0x70beae=new CloudImageEditorBlock(),_0x3fcba9=this['cfg']['cropPreset'],_0xbdc1e5=this['cfg']['cloudImageEditorTabs'];_0x70beae['setAttribute']('ctx-name',this['ctxName']),_0x70beae['setAttribute']('cdn-url',_0x3781c1),_0x3fcba9&&_0x70beae['setAttribute']('crop-preset',_0x3fcba9),_0xbdc1e5&&_0x70beae['setAttribute']('tabs',_0xbdc1e5),_0x70beae['addEventListener']('apply',_0x295124=>{const _0xe6b71d=_0x295124;this['handleApply'](_0xe6b71d),this['debugPrint']('editor\x20event\x20\x22apply\x22',_0xe6b71d['detail']);}),_0x70beae['addEventListener']('cancel',_0x581e0d=>{const _0x3b93f3=_0x581e0d;this['handleCancel'](),this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x3b93f3['detail']);}),_0x70beae['addEventListener']('change',_0x3a3dfb=>{const _0x811cd1=_0x3a3dfb;this['debugPrint']('editor\x20event\x20\x22change\x22',_0x811cd1['detail']);}),this['innerHTML']='',this['appendChild'](_0x70beae),this['_instance']=_0x70beae;}['unmountEditor'](){this['_instance']=void 0x0,this['_entry']=void 0x0,this['innerHTML']='';}},toKebabCase=_0x5bb1db=>_0x5bb1db['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0xf21975=>_0xf21975['toLowerCase']())['join']('-'),_0x3d416e=[{'test':_0x15130f=>!!_0x15130f['accept']&&!!_0x15130f['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':_0xfd6bd4=>null!==_0xfd6bd4['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':_0x8c5eb=>null!==_0x8c5eb['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=_0x4b27cc(_0x5f00d1=>{for(const {test:_0x59ece8,message:_0x480cbd}of _0x3d416e)_0x59ece8(_0x5f00d1)&&_0x12c984(_0x480cbd);},0x0),_0x4ed6dd=_0x1f7b18=>_0x1f7b18 instanceof Promise||Boolean(_0x1f7b18&&'object'==typeof _0x1f7b18&&'then'in _0x1f7b18&&'function'==typeof _0x1f7b18['then']),defineComputedProperty=_0x4d3e19=>_0x4d3e19,_0x10f2f5=[defineComputedProperty({'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0x2ad715,enableVideoRecording:_0x3c7713})=>{if(null===_0x3c7713)return _0x2ad715;let _0x6ec699=_0x28e87f(_0x2ad715);return _0x3c7713&&!_0x6ec699['includes']('video')?_0x6ec699=_0x6ec699['concat']('video'):_0x3c7713||(_0x6ec699=_0x6ec699['filter'](_0x45501a=>'video'!==_0x45501a)),_0x3f0423(_0x6ec699);}}),defineComputedProperty({'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0x509ee1,defaultCameraMode:_0xab6c69})=>{if(null===_0xab6c69)return _0x509ee1;let _0x3a8377=_0x28e87f(_0x509ee1);return _0x3a8377=_0x3a8377['sort']((_0x5156e8,_0x3b9eb4)=>_0x5156e8===_0xab6c69?-0x1:_0x3b9eb4===_0xab6c69?0x1:0x0),_0x3f0423(_0x3a8377);}}),defineComputedProperty({'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0x5e1427,cdnCname:_0x5772b5,cdnCnamePrefixed:_0x5e3cb4})=>_0x5e1427&&(_0x5772b5===_0xcef73||_0x556579(_0x5772b5,_0x5e3cb4))?_0x48ed81(_0x5e1427,_0x5e3cb4):_0x5772b5})],computeProperty=({key:_0x5025a9,setValue:_0x152dc9,getValue:_0x4e010a,computationControllers:_0x206dfd})=>{for(const _0xba8dfb of _0x10f2f5)if(_0xba8dfb['deps']['includes'](_0x5025a9)){const _0x49f5f0={[_0xba8dfb['key']]:_0x4e010a(_0xba8dfb['key'])};for(const _0x6a9ff3 of _0xba8dfb['deps'])_0x49f5f0[_0x6a9ff3]=_0x4e010a(_0x6a9ff3);const _0x285c33=new AbortController();let _0x34d1cb;_0x206dfd['get'](_0xba8dfb['key'])?.['abort'](),_0x206dfd['set'](_0xba8dfb['key'],_0x285c33);try{_0x34d1cb=_0xba8dfb['fn'](_0x49f5f0,{'signal':_0x285c33['signal']});}catch(_0x19faf9){return _0x206dfd['get'](_0xba8dfb['key'])===_0x285c33&&_0x206dfd['delete'](_0xba8dfb['key']),void console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0xba8dfb['key']+'\x22',_0x19faf9);}_0x4ed6dd(_0x34d1cb)?_0x34d1cb['then'](_0x575fbb=>{_0x285c33['signal']['aborted']||_0x152dc9(_0xba8dfb['key'],_0x575fbb);})['catch'](_0x54e365=>{_0x285c33['signal']['aborted']||console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0xba8dfb['key']+'\x22',_0x54e365);})['finally'](()=>{_0x206dfd['get'](_0xba8dfb['key'])===_0x285c33&&_0x206dfd['delete'](_0xba8dfb['key']);}):_0x152dc9(_0xba8dfb['key'],_0x34d1cb);}},asString=_0x34b473=>String(_0x34b473),_0x18b83a=_0x3f5f30=>{const _0x46603c=Number(_0x3f5f30);if(Number['isNaN'](_0x46603c))throw new Error('Invalid\x20number:\x20\x22'+_0x3f5f30+'\x22');return _0x46603c;},_0x262a3b=_0x24c41e=>{if(null==_0x24c41e)return!0x1;if('boolean'==typeof _0x24c41e)return _0x24c41e;if('true'===_0x24c41e)return!0x0;if(''===_0x24c41e)return!0x0;if('false'===_0x24c41e)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x24c41e+'\x22');},asStore=_0x4a66eb=>'auto'===_0x4a66eb?_0x4a66eb:_0x262a3b(_0x4a66eb),asCameraCapture=_0x34b44b=>{const _0x46326b=asString(_0x34b44b);if('user'!==_0x46326b&&'environment'!==_0x46326b&&''!==_0x46326b)throw new Error('Invalid\x20value:\x20\x22'+_0x46326b+'\x22');return _0x46326b;},_0x2256d6=_0x4da810=>{const _0x39ac3f=asString(_0x4da810);if(!Object['values'](_0x137285)['includes'](_0x39ac3f))throw new Error('Invalid\x20value:\x20\x22'+_0x39ac3f+'\x22');return _0x39ac3f;},_0x189154=_0xd2f695=>{const _0x1dcc45=asString(_0xd2f695),_0x1b65f2=_0x28e87f(_0x1dcc45);if(_0x1b65f2['some'](_0x38860d=>!Object['values'](_0x137285)['includes'](_0x38860d)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](_0x1b65f2)+'\x22');return _0x1dcc45;},asMetadata=_0xdef95c=>{if('object'==typeof _0xdef95c&&!Array['isArray'](_0xdef95c))return _0xdef95c;if('function'==typeof _0xdef95c)return _0xdef95c;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},asObject=_0x22e22e=>{if('object'==typeof _0x22e22e)return _0x22e22e;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},asFunction=_0x3deb31=>{if('function'==typeof _0x3deb31)return _0x3deb31;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},_0x4f83bf=_0x557c8c=>{if(Array['isArray'](_0x557c8c))return _0x557c8c;throw new Error('Must\x20be\x20an\x20array.');},_0x4d48f8=_0x32c449=>{const _0x456b3a=asString(_0x32c449);if(['grid','list']['includes'](_0x456b3a))return _0x456b3a;throw new Error('Invalid\x20value:\x20\x22'+_0x456b3a+'\x22');},_0x485b44={'pubkey':asString,'multiple':_0x262a3b,'multipleMin':_0x18b83a,'multipleMax':_0x18b83a,'confirmUpload':_0x262a3b,'imgOnly':_0x262a3b,'accept':asString,'externalSourcesPreferredTypes':asString,'externalSourcesEmbedCss':asString,'store':asStore,'cameraMirror':_0x262a3b,'cameraCapture':asCameraCapture,'sourceList':asString,'topLevelOrigin':asString,'maxLocalFileSizeBytes':_0x18b83a,'thumbSize':_0x18b83a,'showEmptyList':_0x262a3b,'useLocalImageEditor':_0x262a3b,'useCloudImageEditor':_0x262a3b,'cloudImageEditorTabs':asString,'removeCopyright':_0x262a3b,'cropPreset':asString,'imageShrink':asString,'modalScrollLock':_0x262a3b,'modalBackdropStrokes':_0x262a3b,'sourceListWrap':_0x262a3b,'remoteTabSessionKey':asString,'cdnCname':asString,'cdnCnamePrefixed':asString,'baseUrl':asString,'socialBaseUrl':asString,'secureSignature':asString,'secureExpire':asString,'secureDeliveryProxy':asString,'retryThrottledRequestMaxTimes':_0x18b83a,'retryNetworkErrorMaxTimes':_0x18b83a,'multipartMinFileSize':_0x18b83a,'multipartChunkSize':_0x18b83a,'maxConcurrentRequests':_0x18b83a,'multipartMaxConcurrentRequests':_0x18b83a,'multipartMaxAttempts':_0x18b83a,'checkForUrlDuplicates':_0x262a3b,'saveUrlForRecurrentUploads':_0x262a3b,'groupOutput':_0x262a3b,'userAgentIntegration':asString,'debug':_0x262a3b,'localeName':asString,'metadata':asMetadata,'secureUploadsExpireThreshold':_0x18b83a,'localeDefinitionOverride':_0x156366=>asObject(_0x156366),'secureUploadsSignatureResolver':_0x162c05=>asFunction(_0x162c05),'secureDeliveryProxyUrlResolver':_0x4d19c8=>asFunction(_0x4d19c8),'iconHrefResolver':_0x140851=>asFunction(_0x140851),'fileValidators':_0x4f83bf,'collectionValidators':_0x4f83bf,'validationTimeout':_0x18b83a,'validationConcurrency':_0x18b83a,'cameraModes':_0x189154,'defaultCameraMode':_0x2256d6,'enableAudioRecording':_0x262a3b,'enableVideoRecording':_0x262a3b,'mediaRecorderOptions':asObject,'maxVideoRecordingDuration':_0x18b83a,'filesViewMode':_0x4d48f8,'gridShowFileNames':_0x262a3b,'cloudImageEditorAutoOpen':_0x262a3b,'cloudImageEditorMaskHref':asString,'testMode':_0x262a3b,'qualityInsights':_0x262a3b},_0x2b0a4b=(_0x378511,_0x531f70)=>{if(null!=_0x531f70)try{return _0x485b44[_0x378511](_0x531f70);}catch(_0x449580){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0x378511+'\x22.',_0x449580),initialConfig[_0x378511];}},_0x104095=[...new Set(['debug',...Object['keys'](initialConfig)])],_0x4a8047=['metadata','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],_0x9cf42c=_0xb51c8d=>_0x4a8047['includes'](_0xb51c8d),_0x4cf630=_0x104095['filter'](_0x2f8980=>!_0x9cf42c(_0x2f8980)),attrKeyMapping={...Object['fromEntries'](_0x4cf630['map'](_0x363f07=>[toKebabCase(_0x363f07),_0x363f07])),...Object['fromEntries'](_0x4cf630['map'](_0x26e9a6=>[_0x26e9a6['toLowerCase'](),_0x26e9a6]))},attrStateMapping={...Object['fromEntries'](_0x4cf630['map'](_0x544b33=>[toKebabCase(_0x544b33),_0x1dcbda(_0x544b33)])),...Object['fromEntries'](_0x4cf630['map'](_0x545163=>[_0x545163['toLowerCase'](),_0x1dcbda(_0x545163)]))},getLocalPropName=_0x51ddeb=>'__'+_0x51ddeb,_0x5e90b5=class extends _0x4542c4{['requireCtxName']=!0x0;constructor(){super(),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](initialConfig)['map'](([_0xbd163f,_0x404990])=>[_0x1dcbda(_0xbd163f),_0x404990])),'computationControllers':new Map()};}['_flushValueToAttribute'](_0x3da305,_0x10efe5){if(!_0x9cf42c(_0x3da305)){const _0x50aac1=[...new Set([toKebabCase(_0x3da305),_0x3da305['toLowerCase']()])];for(const _0x29279 of _0x50aac1)null==_0x10efe5?this['removeAttribute'](_0x29279):this['getAttribute'](_0x29279)!==_0x10efe5['toString']()&&this['setAttribute'](_0x29279,_0x10efe5['toString']());}}['_flushValueToState'](_0x4ef5f3,_0x354b5b){this['$'][_0x1dcbda(_0x4ef5f3)]!==_0x354b5b&&(this['$'][_0x1dcbda(_0x4ef5f3)]=null==_0x354b5b?initialConfig[_0x4ef5f3]:_0x354b5b);}['_setValue'](_0xac4fe1,_0x33e314){const _0x11ec20=this,_0x114153=_0x2b0a4b(_0xac4fe1,_0x33e314),_0x342e28=getLocalPropName(_0xac4fe1);_0x11ec20[_0x342e28]!==_0x114153&&(this['_assertSameValueDifferentReference'](_0xac4fe1,_0x11ec20[_0x342e28],_0x114153),_0x11ec20[_0x342e28]=_0x114153,this['_flushValueToAttribute'](_0xac4fe1,_0x114153),this['_flushValueToState'](_0xac4fe1,_0x114153),this['debugPrint']('[uc-config]\x20\x22'+_0xac4fe1+'\x22',_0x114153),runAssertions(this['cfg']));}['_getValue'](_0x1fd80e){return this[getLocalPropName(_0x1fd80e)]??this['$'][_0x1dcbda(_0x1fd80e)];}['_assertSameValueDifferentReference'](_0x1cfd73,_0x36d27d,_0x26d08c){this['cfg']['debug']&&_0x26d08c!==_0x36d27d&&'object'==typeof _0x26d08c&&'object'==typeof _0x36d27d&&JSON['stringify'](_0x26d08c)===JSON['stringify'](_0x36d27d)&&(console['warn']('[uc-config]\x20Option\x20\x22'+_0x1cfd73+'\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'+_0x1cfd73+'\x22\x20previous\x20value:',_0x36d27d),console['warn']('[uc-config]\x20\x22'+_0x1cfd73+'\x22\x20new\x20value:',_0x26d08c));}['initCallback'](){super['initCallback']();const _0x338b61=this;for(const _0xd1f346 of _0x4cf630)this['sub'](_0x1dcbda(_0xd1f346),_0x1be815=>{this['_setValue'](_0xd1f346,_0x1be815);},!0x1);for(const _0x410a4c of _0x104095){const _0x11c4a4=_0x338b61[_0x410a4c]??this['$'][_0x1dcbda(_0x410a4c)];_0x11c4a4!==initialConfig[_0x410a4c]&&this['_setValue'](_0x410a4c,_0x11c4a4),Object['defineProperty'](this,_0x410a4c,{'set':_0x459131=>{this['_setValue'](_0x410a4c,_0x459131);},'get':()=>this['_getValue'](_0x410a4c)});}for(const _0x522385 of _0x104095)this['sub'](_0x1dcbda(_0x522385),()=>{computeProperty({'key':_0x522385,'setValue':this['_setValue']['bind'](this),'getValue':this['_getValue']['bind'](this),'computationControllers':this['computationControllers']});});}['attributeChangedCallback'](_0x202cc6,_0x212333,_0x3c6eea){if(_0x212333===_0x3c6eea)return;const _0x5dfe6c=this,_0x44364b=attrKeyMapping[_0x202cc6];_0x44364b&&(_0x5dfe6c[_0x44364b]=_0x3c6eea);}get['computationControllers'](){return this['$']['computationControllers'];}};_0x5e90b5['bindAttributes'](attrStateMapping);for(const _0x5ab941 of _0x104095)_0x5e90b5['prototype'][_0x5ab941]=void 0x0;var Copyright=class extends _0x4542c4{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0xc267ac=>{this['toggleAttribute']('hidden',!!_0xc267ac);});}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(_0x22d20b){return new Promise(_0x26d2b6=>{'function'!=typeof window['FileReader']&&_0x26d2b6(!0x1);try{const _0x19e062=new FileReader();_0x19e062['onerror']=()=>{_0x26d2b6(!0x0);};const _0x2f2241=_0x291429=>{'loadend'!==_0x291429['type']&&_0x19e062['abort'](),_0x26d2b6(!0x1);};_0x19e062['onloadend']=_0x2f2241,_0x19e062['onprogress']=_0x2f2241,_0x19e062['readAsDataURL'](_0x22d20b);}catch{_0x26d2b6(!0x1);}});}function readEntryContentAsync(_0x2c0b43,_0x44567f){return new Promise(_0x4bc07b=>{let _0x2df525=0x0;const _0x1ed519=[],_0x4b3cb6=_0x3fff38=>{if(!_0x3fff38)return console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),void _0x4bc07b(null);_0x3fff38['isFile']?(_0x2df525++,_0x3fff38['file'](_0x7733d=>{_0x2df525--;const _0x799c44=new File([_0x7733d],_0x7733d['name'],{'type':_0x7733d['type']||_0x44567f});_0x1ed519['push']({'type':'file','file':_0x799c44,'fullPath':_0x3fff38['fullPath']}),0x0===_0x2df525&&_0x4bc07b(_0x1ed519);})):_0x3fff38['isDirectory']&&_0x385de4(_0x3fff38['createReader']());},_0x385de4=_0x990d9a=>{_0x2df525++,_0x990d9a['readEntries'](_0x9f4785=>{_0x2df525--;for(const _0x3a5ae5 of _0x9f4785)_0x4b3cb6(_0x3a5ae5);0x0===_0x2df525&&_0x4bc07b(_0x1ed519);});};_0x4b3cb6(_0x2c0b43);});}function getDropItems(_0x5bfd70){const _0x4b1471=[],_0x2e6651=[];for(let _0x1b1ede=0x0;_0x1b1ede<_0x5bfd70['items']['length'];_0x1b1ede++){const _0x1a7402=_0x5bfd70['items'][_0x1b1ede];if(_0x1a7402){if('file'===_0x1a7402['kind']){const _0x52a012=_0x1a7402['type'],_0x250fe1=_0x1a7402;if('function'==typeof _0x250fe1['webkitGetAsEntry']||'function'==typeof _0x250fe1['getAsEntry']){const _0x4e46ee='function'==typeof _0x250fe1['webkitGetAsEntry']?_0x250fe1['webkitGetAsEntry']():_0x250fe1['getAsEntry']?.();_0x4e46ee&&_0x2e6651['push'](readEntryContentAsync(_0x4e46ee,_0x52a012)['then'](_0x559508=>{_0x559508&&_0x4b1471['push'](..._0x559508);}));continue;}const _0x54037a=_0x1a7402['getAsFile']();_0x54037a&&_0x2e6651['push'](checkIsDirectory(_0x54037a)['then'](_0x285b51=>{_0x285b51||_0x4b1471['push']({'type':'file','file':_0x54037a});}));}else'string'===_0x1a7402['kind']&&/^text\/uri-list/['test'](_0x1a7402['type'])&&_0x2e6651['push'](new Promise(_0x1cb2e6=>{_0x1a7402['getAsString'](_0x5e74dc=>{_0x4b1471['push']({'type':'url','url':_0x5e74dc}),_0x1cb2e6();});}));}}return Promise['all'](_0x2e6651)['then'](()=>_0x4b1471);}var DropzoneState=Object['freeze']({'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3}),_0x55d639=['focus'],_0xa5d01d=0x64,nearnessRegistry=new Map();function distance(_0x11d221,_0x260be9){const _0x171c6f=Math['max'](Math['min'](_0x11d221[0x0],_0x260be9['x']+_0x260be9['width']),_0x260be9['x']),_0x282d30=Math['max'](Math['min'](_0x11d221[0x1],_0x260be9['y']+_0x260be9['height']),_0x260be9['y']);return Math['sqrt']((_0x11d221[0x0]-_0x171c6f)*(_0x11d221[0x0]-_0x171c6f)+(_0x11d221[0x1]-_0x282d30)*(_0x11d221[0x1]-_0x282d30));}function _0x4bde8b(_0x3eb1d8){let _0x5a5795=0x0;const _0x4c0049=document['body'],_0x2709f0=new Set();let _0x4ffe26=DropzoneState['INACTIVE'];const _0x434ea9=_0x1555ec=>{_0x3eb1d8['shouldIgnore']()&&_0x1555ec!==DropzoneState['INACTIVE']||(_0x4ffe26!==_0x1555ec&&_0x2709f0['forEach'](_0x147df6=>{_0x147df6(_0x1555ec);}),_0x4ffe26=_0x1555ec);},_0x228e09=()=>_0x5a5795>0x0;var _0x2b42ad;_0x2b42ad=_0x7fc6ff=>_0x3eb1d8['onChange'](_0x7fc6ff),_0x2709f0['add'](_0x2b42ad);const _0xf13f87=()=>{_0x5a5795=0x0,_0x434ea9(DropzoneState['INACTIVE']);},_0x482f54=()=>{_0x5a5795+=0x1,_0x4ffe26===DropzoneState['INACTIVE']&&_0x434ea9(DropzoneState['ACTIVE']);},_0x198bd8=()=>{_0x5a5795-=0x1,_0x228e09()||_0x434ea9(DropzoneState['INACTIVE']);},_0x3b9a5d=_0x1818dc=>{_0x1818dc['preventDefault'](),_0x5a5795=0x0,_0x434ea9(DropzoneState['INACTIVE']);},_0x204d83=_0x21264b=>{if(_0x3eb1d8['shouldIgnore']())return;_0x228e09()||(_0x5a5795+=0x1);const _0x421eca=[_0x21264b['x'],_0x21264b['y']],_0x193ea3=_0x3eb1d8['element']['getBoundingClientRect'](),_0x143323=Math['floor'](distance(_0x421eca,_0x193ea3)),_0x5c6f39=_0x143323<_0xa5d01d,_0x3eced0=_0x21264b['composedPath']()['includes'](_0x3eb1d8['element']);nearnessRegistry['set'](_0x3eb1d8['element'],_0x143323);const _0xec4a84=Math['min'](...nearnessRegistry['values']())===_0x143323;_0x3eced0&&_0xec4a84?(_0x21264b['preventDefault'](),_0x434ea9(DropzoneState['OVER'])):_0x434ea9(_0x5c6f39&&_0xec4a84?DropzoneState['NEAR']:DropzoneState['ACTIVE']);},_0x56fa7e=async _0x3b96c9=>{if(_0x3eb1d8['shouldIgnore']())return;_0x3b96c9['preventDefault']();const {dataTransfer:_0x5059b2}=_0x3b96c9;if(!_0x5059b2)return;const _0x541995=await getDropItems(_0x5059b2);_0x3eb1d8['onItems'](_0x541995),_0x434ea9(DropzoneState['INACTIVE']);};return _0x4c0049['addEventListener']('drop',_0x3b9a5d),_0x4c0049['addEventListener']('dragleave',_0x198bd8),_0x4c0049['addEventListener']('dragenter',_0x482f54),_0x4c0049['addEventListener']('dragover',_0x204d83),_0x3eb1d8['element']['addEventListener']('drop',_0x56fa7e),_0x55d639['forEach'](_0x3d4d6a=>{window['addEventListener'](_0x3d4d6a,_0xf13f87);}),()=>{nearnessRegistry['delete'](_0x3eb1d8['element']),_0x4c0049['removeEventListener']('drop',_0x3b9a5d),_0x4c0049['removeEventListener']('dragleave',_0x198bd8),_0x4c0049['removeEventListener']('dragenter',_0x482f54),_0x4c0049['removeEventListener']('dragover',_0x204d83),_0x3eb1d8['element']['removeEventListener']('drop',_0x56fa7e),_0x55d639['forEach'](_0x4e58b5=>{window['removeEventListener'](_0x4e58b5,_0xf13f87);});};}var _0x1bc0d8='uc-drop-area',_0x122471=_0x1bc0d8+'/registry',_0x107489=class extends _0x4378ff{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':'',[_0x122471]:new Set()};}['isActive'](){if(!this['$']['isEnabled'])return!0x1;const _0x1a7c6a=this['getBoundingClientRect'](),_0x18e0ce=_0x1a7c6a['width']>0x0&&_0x1a7c6a['height']>0x0,_0x245361=_0x1a7c6a['top']>=0x0&&_0x1a7c6a['left']>=0x0&&_0x1a7c6a['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&_0x1a7c6a['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x47df1c=window['getComputedStyle'](this),_0xeb0cf8='hidden'!==_0x47df1c['visibility']&&'none'!==_0x47df1c['display'];return _0x18e0ce&&_0xeb0cf8&&_0x245361;}['initCallback'](){super['initCallback'](),this['bindL10n']('text',()=>this['l10n']('drop-files-here')),(this['$'][_0x122471]['add'](this),this['defineAccessor']('disabled',_0x779a16=>{this['set$']({'isEnabled':!_0x262a3b(_0x779a16)});}),this['defineAccessor']('clickable',_0x1f1158=>{this['set$']({'isClickable':_0x262a3b(_0x1f1158)});}),this['defineAccessor']('initflow',_0x27e2b9=>{this['set$']({'isInitFlow':_0x262a3b(_0x27e2b9)});}),this['defineAccessor']('with-icon',_0x3ab61e=>{this['set$']({'withIcon':_0x262a3b(_0x3ab61e)});}),this['defineAccessor']('fullscreen',_0x3be87e=>{this['set$']({'isFullscreen':_0x262a3b(_0x3be87e)});}),this['defineAccessor']('text',_0x411098=>{'string'==typeof _0x411098?this['bindL10n']('text',()=>this['l10n'](_0x411098)||_0x411098):this['bindL10n']('text',()=>this['l10n']('drop-files-here'));}),this['_destroyDropzone']=_0x4bde8b({'element':this,'shouldIgnore':()=>this['_shouldIgnore'](),'onChange':_0x32d0db=>{this['$']['state']=_0x32d0db;},'onItems':_0x2e4a0d=>{_0x2e4a0d['length']&&(_0x2e4a0d['forEach'](_0x1bc085=>{'url'===_0x1bc085['type']?this['api']['addFileFromUrl'](_0x1bc085['url'],{'source':_0x2d3f2c['DROP_AREA']}):'file'===_0x1bc085['type']&&this['api']['addFileFromObject'](_0x1bc085['file'],{'source':_0x2d3f2c['DROP_AREA'],'fullPath':_0x1bc085['fullPath']});}),this['uploadCollection']['size']&&(this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']})));}}));const _0x22ecae=this['ref']['content-wrapper'];if(_0x22ecae&&(this['_destroyContentWrapperDropzone']=_0x4bde8b({'element':_0x22ecae,'onChange':_0x5b2035=>{const _0x4d030b=Object['entries'](DropzoneState)['find'](([,_0x12eaf9])=>_0x12eaf9===_0x5b2035)?.[0x0]['toLowerCase']();_0x4d030b&&_0x22ecae['setAttribute']('drag-state',_0x4d030b);},'onItems':()=>{},'shouldIgnore':()=>this['_shouldIgnore']()})),this['sub']('state',_0x1b5a55=>{const _0x4026ee=Object['entries'](DropzoneState)['find'](([,_0x5b31e1])=>_0x5b31e1===_0x1b5a55)?.[0x0]['toLowerCase']();_0x4026ee&&this['setAttribute']('drag-state',_0x4026ee);}),this['subConfigValue']('sourceList',_0xcbfa93=>{const _0x5a6e57=stringToArray(_0xcbfa93);this['$']['isEnabled']=_0x5a6e57['includes'](_0x2d3f2c['LOCAL']),this['$']['isVisible']=this['$']['isEnabled']||!this['querySelector']('[data-default-slot]');}),this['sub']('isVisible',_0x545e1a=>{this['toggleAttribute']('hidden',!_0x545e1a);}),this['sub']('isClickable',_0x2a9a35=>{this['toggleAttribute']('clickable',_0x2a9a35);}),this['$']['isClickable']){const _0xde260b=_0x258784=>{if(_0x258784 instanceof KeyboardEvent){if('Space'===_0x258784['code']||'Enter'===_0x258784['code']){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}else{if(_0x258784 instanceof MouseEvent){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}};this['_onAreaClicked']=_0xde260b,this['addEventListener']('keydown',_0xde260b),this['addEventListener']('click',_0xde260b);}}['_shouldIgnore'](){if(!this['$']['isEnabled'])return!0x0;if(!this['_couldHandleFiles']())return!0x0;if(!this['$']['isFullscreen'])return!0x1;const _0x17d73f=this['$'][_0x122471];if(0x0===_0x17d73f['size'])return!0x1;return[..._0x17d73f]['filter'](_0x12c29a=>_0x12c29a!==this)['filter'](_0x17a4b9=>_0x17a4b9['isActive']())['length']>0x0;}['_couldHandleFiles'](){const _0x3f1fd7=this['cfg']['multiple'],_0x19ef8b=this['cfg']['multipleMax'],_0x2eacd1=this['uploadCollection']['size'];return!(_0x3f1fd7&&_0x19ef8b&&_0x2eacd1>=_0x19ef8b)&&!(!_0x3f1fd7&&_0x2eacd1>0x0);}['destroyCallback'](){super['destroyCallback']();const _0x3b5520=this['$'][_0x122471];_0x3b5520['delete'](this),0x0===_0x3b5520['size']&&Data['deleteCtx'](_0x1bc0d8),this['_destroyDropzone']?.(),this['_destroyContentWrapperDropzone']?.(),this['_onAreaClicked']&&(this['removeEventListener']('keydown',this['_onAreaClicked']),this['removeEventListener']('click',this['_onAreaClicked']),this['_onAreaClicked']=null);}};_0x107489['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',_0x107489['bindAttributes']({'with-icon':null,'clickable':null,'text':null,'fullscreen':null,'disabled':null,'initflow':null});var getTopLevelOrigin=()=>{const _0x40f546=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0x40f546['location']['origin'];}catch(_0x40df7f){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x40df7f),globalThis['location']['origin'];}},_0x2b07f3=_0x11abe7=>_0x11abe7['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&'),_0x534329=(_0x342012,_0x3188e8='i')=>{const _0x1c2087=_0x342012['split']('*')['map'](_0x2b07f3);return new RegExp('^'+_0x1c2087['join']('.+')+'$',_0x3188e8);},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=(_0x8f0a3a,_0x541f9f)=>window['getComputedStyle'](_0x8f0a3a)['getPropertyValue'](_0x541f9f)['trim'](),buildThemeDefinition=_0x289092=>{const _0x430751={};for(const _0x3f27a of ucCustomProperties){const _0x1e2ae9=getCssValue(_0x289092,_0x3f27a);_0x1e2ae9&&(_0x430751[_0x3f27a]=_0x1e2ae9);}return _0x430751;},_0x5b0e9e=['selected-files-change','toolbar-state-change'],isWhitelistedMessage=_0x30e7ff=>{if(!_0x30e7ff)return!0x1;if('object'!=typeof _0x30e7ff)return!0x1;if(!('type'in _0x30e7ff))return!0x1;const _0x547d01=_0x30e7ff['type'];return'string'==typeof _0x547d01&&!!_0x5b0e9e['includes'](_0x547d01);},_0x5e1283=class{['_handlerMap']=new Map();['_context'];['_getTargetOrigin'];constructor(_0x5929b7,_0x3ec94f){this['_context']=_0x5929b7,this['_getTargetOrigin']=_0x3ec94f,window['addEventListener']('message',this['_handleMessage']);}['_handleMessage']=_0xc8f0fa=>{if(_0xc8f0fa['source']!==this['_context'])return;const _0x1ef939=_0xc8f0fa['data'];if(!isWhitelistedMessage(_0x1ef939))return;const _0x4bd563=this['_handlerMap']['get'](_0x1ef939['type']);if(_0x4bd563){for(const _0x24bedd of _0x4bd563)_0x24bedd(_0x1ef939);}};['on'](_0xe0dbcb,_0xf3700e){const _0x31098a=this['_handlerMap']['get'](_0xe0dbcb)??new Set();this['_handlerMap']['has'](_0xe0dbcb)||this['_handlerMap']['set'](_0xe0dbcb,_0x31098a),_0x31098a['add'](_0xf3700e);}['send'](_0x413644){const _0x450150=this['_getTargetOrigin']();this['_context']['postMessage'](_0x413644,_0x450150);}['destroy'](){window['removeEventListener']('message',this['_handleMessage']);}};function queryString(_0xcf9f03){const _0x46394a=[];for(const [_0xbf6ddd,_0x5bb6ac]of Object['entries'](_0xcf9f03))null==_0x5bb6ac||'string'==typeof _0x5bb6ac&&0x0===_0x5bb6ac['length']||_0x46394a['push'](_0xbf6ddd+'='+encodeURIComponent(_0x5bb6ac));return _0x46394a['join']('&');}var _0x5b311e={[ExternalUploadSource['GDRIVE']]:'ngdrive'},ExternalSource=class extends _0x4378ff{['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 _0x1b027f of this['$']['selectedList']){const _0x411f7f=this['extractUrlFromSelectedFile'](_0x1b027f),{filename:_0x57d343}=_0x1b027f,{externalSourceType:_0x309428}=this['activityParams'];this['api']['addFileFromUrl'](_0x411f7f,{'fileName':_0x57d343,'source':_0x309428});}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 _0x4bf7f4=super['activityParams'];if('externalSourceType'in _0x4bf7f4)return _0x4bf7f4;throw new Error('External\x20Source\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>{const {externalSourceType:_0x16952d}=this['activityParams'];if(!_0x16952d)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':''+_0x16952d[0x0]?.['toUpperCase']()+_0x16952d?.['slice'](0x1),'activityIcon':_0x16952d}),this['mountIframe']();}}),this['sub']('*currentActivityParams',_0x1033c0=>{this['isActivityActive']&&(this['unmountIframe'](),this['mountIframe']());}),this['sub']('*currentActivity',_0x4e3d7a=>{_0x4e3d7a!==this['activityType']&&this['unmountIframe']();}),this['subConfigValue']('multiple',_0xedaf56=>{this['$']['showSelectionStatus']=_0xedaf56;}),this['subConfigValue']('localeName',_0x219a1d=>{this['setupL10n']();}),this['subConfigValue']('externalSourcesEmbedCss',_0x3e2e54=>{this['applyEmbedCss'](_0x3e2e54);});}['extractUrlFromSelectedFile'](_0x12161c){if(_0x12161c['alternatives']){const _0x881d57=stringToArray(this['cfg']['externalSourcesPreferredTypes']);for(const _0x3cf21d of _0x881d57){const _0x1612c4=_0x534329(_0x3cf21d);for(const [_0x183725,_0x5a3c7d]of Object['entries'](_0x12161c['alternatives']))if(_0x1612c4['test'](_0x183725))return _0x5a3c7d;}}return _0x12161c['url'];}['handleToolbarStateChange'](_0x42fa3a){this['set$']({'toolbarVisible':_0x42fa3a['isVisible']});}async['handleSelectedFilesChange'](_0x4cc19d){this['cfg']['multiple']===_0x4cc19d['isMultipleMode']?(this['bindL10n']('counterText',()=>this['l10n']('selected-count',{'count':_0x4cc19d['selectedCount'],'total':_0x4cc19d['total']})),this['set$']({'doneBtnTextClass':_0x4cc19d['isReady']?'':'uc-hidden','isSelectionReady':_0x4cc19d['isReady'],'isDoneBtnEnabled':_0x4cc19d['isReady']&&_0x4cc19d['selectedFiles']['length']>0x0,'showSelectionStatus':_0x4cc19d['isMultipleMode']&&_0x4cc19d['total']>0x0,'couldSelectAll':_0x4cc19d['selectedCount']<_0x4cc19d['total'],'couldDeselectAll':_0x4cc19d['selectedCount']===_0x4cc19d['total'],'selectedList':_0x4cc19d['selectedFiles'],'showDoneBtn':_0x4cc19d['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'](_0x2e34b0){this['_messageBridge']?.['send']({'type':'set-embed-css','css':_0x2e34b0});}['setupL10n'](){this['_messageBridge']?.['send']({'type':'set-locale-definition','localeDefinition':this['cfg']['localeName']});}['remoteUrl'](){const {pubkey:_0x5c7ffe,remoteTabSessionKey:_0x23951c,socialBaseUrl:_0x5fa058,multiple:_0x3cfbb0}=this['cfg'],{externalSourceType:_0x2aca05}=this['activityParams'],_0xce7571=_0x5b311e[_0x2aca05]??_0x2aca05,_0x4cdfce={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':_0x5c7ffe,'images_only':(!0x1)['toString'](),'session_key':_0x23951c,'wait_for_theme':!0x0,'multiple':_0x3cfbb0['toString'](),'origin':this['cfg']['topLevelOrigin']||getTopLevelOrigin(),'debug':this['cfg']['debug']},_0x4e3e2e=new URL('/window4/'+_0xce7571,_0x5fa058);return _0x4e3e2e['search']=queryString(_0x4cdfce),_0x4e3e2e['toString']();}['mountIframe'](){const _0xf0d960=create({'tag':'iframe','attributes':{'src':this['remoteUrl'](),'marginheight':0x0,'marginwidth':0x0,'frameborder':0x0,'allowTransparency':!0x0}});_0xf0d960['addEventListener']('load',this['handleIframeLoad']['bind'](this)),this['ref']['iframeWrapper']['innerHTML']='',this['ref']['iframeWrapper']['appendChild'](_0xf0d960),_0xf0d960['contentWindow']&&(this['_messageBridge']?.['destroy'](),this['_messageBridge']=new _0x5e1283(_0xf0d960['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 _0x42e0bf=0x4000,_0x21b2a1=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,_0x1d1f9a=_0x54280a=>{if('string'!=typeof _0x54280a)return!0x1;const _0x40b906=_0x21b2a1['exec'](_0x54280a['toLocaleLowerCase']())??[];if(0x0===_0x40b906['length'])return!0x1;const _0xc90205=Number(_0x40b906[0x1])*Number(_0x40b906[0x2]),_0x247f7c=_0x42e0bf*_0x42e0bf;return _0xc90205>_0x247f7c?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](_0x247f7c/0x3e8/0x3e8)+'MP.\x20You\x20have\x20set\x20'+_0x40b906[0x1]+'x'+_0x40b906[0x2]+'\x20('+Math['ceil'](_0xc90205/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x40b906[0x3]?Number(_0x40b906[0x3])/0x64:void 0x0,'size':_0xc90205};},FileItemConfig=class extends _0x4378ff{['_entrySubs']=new Set();['_entry']=null;['_withEntry'](_0x13c0ce){return(..._0x3afd75)=>{const _0x312211=this['_entry'];if(_0x312211)return _0x13c0ce(_0x312211,..._0x3afd75);console['warn']('No\x20entry\x20found');};}['_subEntry'](_0x46e3aa,_0x5d0c8d){this['_withEntry']((_0x4f74bc,_0x3b09d0,_0x384ff5)=>{const _0x154ab4=_0x4f74bc['subscribe'](_0x3b09d0,_0x1aef6d=>{this['isConnected']&&_0x384ff5(_0x1aef6d);});this['_entrySubs']['add'](_0x154ab4);})(_0x46e3aa,_0x5d0c8d);}['_reset'](){for(const _0x5779a9 of this['_entrySubs'])_0x5779a9['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 _0x5c2761 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'](_0x26fe86=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'edit-file','node':this['tagName']}}}),this['$']['*currentActivityParams']={'internalId':_0x26fe86['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']=_0x4b27cc(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'](_0x55d37f){const [_0x44491a]=_0x55d37f;_0x44491a&&(this['_isIntersecting']=_0x44491a['isIntersecting'],this['_thumbRect']=_0x44491a['boundingClientRect'],_0x44491a['isIntersecting']&&!this['_renderedOnce']&&(this['render'](),this['_renderedOnce']=!0x0));}['_handleEntryId'](_0x17ac58){this['_reset']();const _0x41e554=this['uploadCollection']?.['read'](_0x17ac58);this['_entry']=_0x41e554,_0x41e554&&(this['_subEntry']('isQueuedForValidation',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isValidationPending',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('uploadProgress',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isQueuedForUploading',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('fileName',_0x49ca74=>{this['$']['itemName']=_0x49ca74||_0x41e554['getValue']('externalUrl')||this['l10n']('file-no-name'),this['_debouncedCalculateState']();}),this['_subEntry']('externalUrl',_0x4761e8=>{this['$']['itemName']=_0x41e554['getValue']('fileName')||_0x4761e8||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'](_0x1c3523){'list'===this['cfg']['filesViewMode']?this['$']['showFileNames']=!0x0:this['$']['showFileNames']=_0x1c3523;}['initCallback'](){super['initCallback'](),this['sub']('uid',_0x3c181d=>{this['_handleEntryId'](_0x3c181d);}),this['sub']('state',_0x4b72ab=>{this['_handleState'](_0x4b72ab);}),this['subConfigValue']('useCloudImageEditor',()=>this['_debouncedCalculateState']()),this['subConfigValue']('filesViewMode',_0x225454=>{this['_updateShowFileNames'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0x225454);}),this['subConfigValue']('gridShowFileNames',_0xa566c7=>{this['_updateShowFileNames'](_0xa566c7);}),this['onclick']=()=>{_0x5c2761['activeInstances']['forEach'](_0x1bca86=>{_0x1bca86===this?_0x1bca86['setAttribute']('focused',''):_0x1bca86['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x18b937=>{this['_entry']&&!_0x18b937['has'](this['_entry']['uid'])||setTimeout(()=>this['isConnected']&&this['upload']());}),_0x5c2761['activeInstances']['add'](this);}['destroyCallback'](){super['destroyCallback'](),_0x5c2761['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 _0x1d1f9a(this['cfg']['imageShrink']);}async['_processShrink'](_0x5be076){const _0x2bae33=this['_settingsOfShrink']();return _0x2bae33?await _0x5c7823(_0x5be076,_0x2bae33):(console['warn']('Image\x20shrink\x20settings\x20are\x20invalid,\x20skipping\x20shrinking'),_0x5be076);}['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),_0x5b943d(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 _0xc49b1e&&i['isCancel']?e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):i instanceof _0x57dbf8?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 _0x4378ff{['requireCtxName']=!0x0;['_validationInputElement']=null;['_dynamicInputsContainer']=null;['_createValidationInput'](){const _0x48bafe=document['createElement']('input');return _0x48bafe['type']='text',_0x48bafe['name']=this['ctxName'],_0x48bafe['required']=this['cfg']['multipleMin']>0x0,_0x48bafe['tabIndex']=-0x1,applyStyles(_0x48bafe,{'opacity':0x0,'height':0x0,'width':0x0}),_0x48bafe;}['initCallback'](){super['initCallback'](),this['_validationInputElement']=this['_createValidationInput'](),this['appendChild'](this['_validationInputElement']),this['sub']('*collectionState',_0x69446b=>{{if(!this['_dynamicInputsContainer']){const _0x44b4e2=document['createElement']('div');this['appendChild'](_0x44b4e2),this['_dynamicInputsContainer']=_0x44b4e2;}if(!this['_validationInputElement']){const _0x585743=this['_createValidationInput']();this['appendChild'](_0x585743),this['_validationInputElement']=_0x585743;}if(this['_dynamicInputsContainer']['innerHTML']='','uploading'===_0x69446b['status']||'idle'===_0x69446b['status'])return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity']('');if('failed'===_0x69446b['status']){const _0x453764=_0x69446b['errors'][0x0]?.['message'];return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity'](_0x453764??'');}const _0x18f060=_0x69446b['group']?_0x69446b['group']:null;if(_0x18f060)return this['_validationInputElement']['value']=_0x18f060['cdnUrl']??'',void this['_validationInputElement']['setCustomValidity']('');const _0x3f9c89=_0x69446b['allEntries']['map'](_0x403f11=>_0x403f11['cdnUrl'])['filter'](_0x1d5776=>'string'==typeof _0x1d5776);if(!this['cfg']['multiple']&&0x1===_0x3f9c89['length']&&_0x3f9c89[0x0])return this['_validationInputElement']['value']=_0x3f9c89[0x0],void this['_validationInputElement']['setCustomValidity']('');this['_validationInputElement']['remove'](),this['_validationInputElement']=null;const _0x2b1544=new DocumentFragment();for(const _0x3676c0 of _0x3f9c89){const _0x247e88=document['createElement']('input');_0x247e88['type']='hidden',_0x247e88['name']=this['ctxName']+'[]',_0x247e88['value']=_0x3676c0,_0x2b1544['appendChild'](_0x247e88);}this['_dynamicInputsContainer']['replaceChildren'](_0x2b1544);}},!0x1);}},_0x592610=class extends _0x4542c4{constructor(){super(),this['init$']={...this['init$'],'name':'','href':''};}['initCallback'](){super['initCallback'](),this['sub']('name',_0x57e4dc=>{if(!_0x57e4dc)return;let _0x2875ba='#uc-icon-'+_0x57e4dc;this['subConfigValue']('iconHrefResolver',_0x12884a=>{if(_0x12884a){const _0x37f492=_0x12884a(_0x57e4dc);_0x2875ba=_0x37f492??_0x2875ba;}this['$']['href']=_0x2875ba;});}),this['setAttribute']('aria-hidden','true');}};_0x592610['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',_0x592610['bindAttributes']({'name':'name'});var _0x22c2c8=_0x48e23b=>[...new Set(_0x48e23b)],_0x50f7ac='--uc-img-',_0x30a14e='unresolved',_0x5d2bcd=0x2,_0x5aeb0c=0x3,_0x174dd0=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),_0x136725=0xbb8,_0x5a44db=0x1388,_0x5e6b38=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),_0x5f11ce='https://ucarecdn.com',_0x5d755a=Object['freeze']({'dev-mode':{},'pubkey':{},'uuid':{},'src':{},'lazy':{'default':0x1},'intersection':{},'breakpoints':{},'cdn-cname':{'default':_0x5f11ce},'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}}),_0x422bbf=Object['create'](null);for(const _0x392cd5 in _0x5d755a)_0x422bbf[_0x50f7ac+_0x392cd5]=_0x5d755a[_0x392cd5]?.['default']||'';var _0xf18ee2=class extends BaseComponent{['cssInit$']=_0x422bbf;['$$'](_0x9292e4){return this['$'][_0x50f7ac+_0x9292e4];}['set$$'](_0x36038a){for(const _0x1a6eb4 in _0x36038a)this['$'][_0x50f7ac+_0x1a6eb4]=_0x36038a[_0x1a6eb4];}['sub$$'](_0x53984a,_0x48ffbf){this['sub'](_0x50f7ac+_0x53984a,_0x135d3a=>{null!==_0x135d3a&&''!==_0x135d3a&&_0x48ffbf(_0x135d3a);});}['analyticsParams'](){return'-/@clib/'+_0x249b8c+'/'+_0x56ea43+'/uc-img/';}['initAttributes'](_0x5717ad){[...this['attributes']]['forEach'](_0x4a8471=>{_0x5d755a[_0x4a8471['name']]||_0x5717ad['setAttribute'](_0x4a8471['name'],_0x4a8471['value']);});}['initIntersection'](_0xe8ee0a,_0x1c6d3c){this['_isnObserver']=new IntersectionObserver(_0x371bfe=>{_0x371bfe['forEach'](_0x4e3a60=>{_0x4e3a60['isIntersecting']&&(_0x1c6d3c(),this['_isnObserver']['unobserve'](_0xe8ee0a));});},{'root':null,'rootMargin':'0px'}),this['_isnObserver']['observe'](_0xe8ee0a),this['_observed']||(this['_observed']=new Set()),this['_observed']['add'](_0xe8ee0a);}['destroyCallback'](){super['destroyCallback'](),this['_isnObserver']&&(this['_observed']['forEach'](_0x28e91b=>{this['_isnObserver']['unobserve'](_0x28e91b);}),this['_isnObserver']=null),Data['deleteCtx'](this);}static get['observedAttributes'](){return Object['keys'](_0x5d755a);}['attributeChangedCallback'](_0x3937f4,_0x537c73,_0x50cc42){window['setTimeout'](()=>{this['$'][_0x50f7ac+_0x3937f4]=_0x50cc42;});}},parseObjectToString=_0x45bbd3=>Object['entries'](_0x45bbd3)['filter'](([_0x2cde62,_0x2e42cd])=>void 0x0!==_0x2e42cd&&''!==_0x2e42cd)['map'](([_0x15c416,_0x393c7f])=>'cdn-operations'===_0x15c416||'analytics'===_0x15c416?_0x393c7f:_0x15c416+'/'+_0x393c7f),_0x16ee5e=class extends _0xf18ee2{['_img']=new Image();['_imgPreview']=new Image();['_fmtAbs'](_0x387ebf){return!_0x387ebf['includes']('//')&&!_0x174dd0&&(_0x387ebf=new URL(_0x387ebf,document['baseURI'])['href']),_0x387ebf;}['_validateSize'](_0x13cf6c){if(''!==_0x13cf6c?.['trim']()){const _0x2f2bfd=_0x13cf6c['match'](/\d+/)[0x0],_0x719064=_0x13cf6c['match'](/[a-zA-Z]+/)[0x0],_0x12bf23=parseInt(_0x2f2bfd,0xa);if(Number(_0x12bf23)>_0x5a44db&&this['hasFormatJPG'])return _0x5a44db+_0x719064;if(Number(_0x12bf23)>_0x136725&&!this['hasFormatJPG'])return _0x136725+_0x719064;}return _0x13cf6c;}['_getCdnModifiers'](_0x25b286,_0x12d9a2){const _0x2260f6={'format':this['$$']('format'),'quality':this['$$']('quality'),'resize':this['_validateSize'](_0x25b286),'blur':_0x12d9a2,'cdn-operations':this['$$']('cdn-operations'),'analytics':this['analyticsParams']()};return createCdnUrlModifiers(...parseObjectToString(_0x2260f6));}['_getUrlBase'](_0x5afbeb='',_0x578254=''){if(this['$$']('src')['startsWith']('data:')||this['$$']('src')['startsWith']('blob:'))return this['$$']('src');if(_0x174dd0&&this['$$']('src')&&!this['$$']('src')['includes']('//'))return this['_proxyUrl'](this['$$']('src'));const _0x4023c7=this['_getCdnModifiers'](_0x5afbeb,_0x578254);return this['$$']('src')['startsWith'](this['$$']('cdn-cname'))?createCdnUrl(this['$$']('src'),_0x4023c7):this['$$']('cdn-cname')&&this['$$']('uuid')||this['$$']('uuid')?this['_proxyUrl'](createCdnUrl(createOriginalUrl(this['$$']('cdn-cname'),this['$$']('uuid')),_0x4023c7)):this['$$']('proxy-cname')?this['_proxyUrl'](createCdnUrl(this['$$']('proxy-cname'),_0x4023c7,this['_fmtAbs'](this['$$']('src')))):this['$$']('pubkey')?this['_proxyUrl'](createCdnUrl('https://'+this['$$']('pubkey')+'.ucr.io/',_0x4023c7,this['_fmtAbs'](this['$$']('src')))):void 0x0;}['_proxyUrl'](_0x58d262){return this['$$']('secure-delivery-proxy')?applyTemplateData(this['$$']('secure-delivery-proxy'),{'previewUrl':_0x58d262},{'transform':_0x35c010=>window['encodeURIComponent'](_0x35c010)}):_0x58d262;}['_getElSize'](_0x4dd6bc,_0xd167ec=0x1,_0x10cc07=!0x0){const _0x2a1143=_0x4dd6bc['getBoundingClientRect'](),_0x319411=_0xd167ec*Math['round'](_0x2a1143['width']),_0x48aea8=_0x10cc07?'':_0xd167ec*Math['round'](_0x2a1143['height']);return _0x319411||_0x48aea8?(_0x319411||'')+'x'+(_0x48aea8||''):null;}['_setupEventProxy'](_0x4c3d23){const _0x4331e0=_0x3b1a0f=>{_0x3b1a0f['stopPropagation']();const _0x203b54=new Event(_0x3b1a0f['type'],_0x3b1a0f);this['dispatchEvent'](_0x203b54);},_0x52284f=['load','error'];for(const _0x3fb50a of _0x52284f)_0x4c3d23['addEventListener'](_0x3fb50a,_0x4331e0);}get['img'](){return this['hasPreviewImage']||(this['_setupConfigForImage']({'elNode':this['_img']}),this['appendChild'](this['_img'])),this['_img'];}get['currentImg'](){return this['hasPreviewImage']?{'type':_0x5e6b38['PREVIEW'],'img':this['_imgPreview']}:{'type':_0x5e6b38['MAIN'],'img':this['img']};}get['hasPreviewImage'](){return this['$$']('is-preview-blur');}get['bgSelector'](){return this['$$']('is-background-for');}get['breakpoints'](){if(this['$$']('breakpoints')){const _0x43e3d9=stringToArray(this['$$']('breakpoints'));return _0x22c2c8(_0x43e3d9['map'](_0x12cdc7=>parseInt(_0x12cdc7,0xa)));}return null;}get['hasFormatJPG'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['renderBg'](_0x6c6224){const _0x15cc20=new Set();_0x15cc20['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x6c6224))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x15cc20['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x6c6224,_0x5d2bcd))+'\x22)\x20'+_0x5d2bcd+'x'),this['$$']('ultra-res-support')&&_0x15cc20['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x6c6224,_0x5aeb0c))+'\x22)\x20'+_0x5aeb0c+'x');const _0x5067c='image-set('+[..._0x15cc20]['join'](',\x20')+')';_0x6c6224['style']['setProperty']('background-image',_0x5067c),_0x6c6224['style']['setProperty']('background-image','-webkit-'+_0x5067c);}['getSrcset'](){const _0x5c4cb7=new Set();return this['breakpoints']?this['breakpoints']['forEach'](_0x134c6e=>{_0x5c4cb7['add'](this['_getUrlBase'](_0x134c6e+'x')+('\x20'+this['_validateSize'](_0x134c6e+'w'))),this['$$']('hi-res-support')&&_0x5c4cb7['add'](this['_getUrlBase'](_0x134c6e*_0x5d2bcd+'x')+('\x20'+this['_validateSize'](_0x134c6e*_0x5d2bcd+'w'))),this['$$']('ultra-res-support')&&_0x5c4cb7['add'](this['_getUrlBase'](_0x134c6e*_0x5aeb0c+'x')+('\x20'+this['_validateSize'](_0x134c6e*_0x5aeb0c+'w')));}):(_0x5c4cb7['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img']))+'\x201x'),this['$$']('hi-res-support')&&_0x5c4cb7['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x2))+'\x202x'),this['$$']('ultra-res-support')&&_0x5c4cb7['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x3))+'\x203x')),[..._0x5c4cb7]['join']();}['getSrc'](){return this['_getUrlBase']();}get['srcUrlPreview'](){return this['_getUrlBase']('100x','100');}['renderBackground'](){[...document['querySelectorAll'](this['bgSelector'])]['forEach'](_0x1f2592=>{this['$$']('intersection')?this['initIntersection'](_0x1f2592,()=>{this['renderBg'](_0x1f2592);}):this['renderBg'](_0x1f2592);});}['_appendURL']({elNode:_0x381745,src:_0x198650,srcset:_0x5c97df}){_0x198650&&(_0x381745['src']=_0x198650),_0x5c97df&&(_0x381745['srcset']=_0x5c97df);}['_setupConfigForImage']({elNode:_0x108dd8}){this['_setupEventProxy'](_0x108dd8),this['initAttributes'](_0x108dd8);}['loaderImage']({src:_0x14d243,srcset:_0x24635e,elNode:_0x581121}){return new Promise((_0x42b45f,_0x44420d)=>{this['_setupConfigForImage']({'elNode':_0x581121}),_0x581121['setAttribute'](_0x30a14e,''),_0x581121['addEventListener']('load',()=>{_0x581121['removeAttribute'](_0x30a14e),_0x42b45f(_0x581121);}),_0x581121['addEventListener']('error',()=>{_0x44420d(!0x1);}),this['_appendURL']({'elNode':_0x581121,'src':_0x14d243,'srcset':_0x24635e});});}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(_0x3841e9){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(_0x5b413a){this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}}['init'](){this['bgSelector']?this['renderBackground']():this['renderImage']();}},_0x1c28bc=class extends _0x16ee5e{['initCallback'](){super['initCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0x223c3d=>{this['$$']('is-background-for')||this['$$']('is-preview-blur')||(this['img']['loading']=_0x223c3d?'lazy':'eager');});}},_0x65643c=null,_0x570bcf=class extends _0x4542c4{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']=_0x12ddd3=>{this['_mouseDownTarget']=_0x12ddd3['target'];};['_handleDialogMouseUp']=_0x46cc04=>{const _0x47d541=_0x46cc04['target'];_0x47d541===this['ref']['dialog']&&_0x47d541===this['_mouseDownTarget']&&this['_closeDialog']();};['show'](){const _0x31f6a4=this['ref']['dialog'];'function'==typeof _0x31f6a4['showModal']?(this['setAttribute']('aria-modal','true'),_0x31f6a4['showModal']()):_0x31f6a4['setAttribute']('open',''),this['cfg']['modalScrollLock']&&(document['body']['style']['overflow']='hidden');}['hide'](){const _0x154171=this['ref']['dialog'];'function'==typeof _0x154171['close']?(this['setAttribute']('aria-modal','false'),_0x154171['close']()):_0x154171['removeAttribute']('open');}['_handleModalOpen']({id:_0x309414}){_0x309414===this['id']?(_0x65643c=_0x309414,this['show'](),this['emit'](EventType['MODAL_OPEN'],{'modalId':_0x309414},{'debounce':!0x0})):this['hide']();}['_handleModalClose']({id:_0x5ca23d}){_0x5ca23d===this['id']&&(this['hide'](),this['emit'](EventType['MODAL_CLOSE'],{'modalId':_0x5ca23d,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0}));}['_handleModalCloseAll'](_0xb98b02){this['hide'](),_0x65643c===this['id']&&this['emit'](EventType['MODAL_CLOSE'],{'modalId':_0x65643c,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0});}['initCallback'](){super['initCallback'](),this['modalManager']?.['registerModal'](this['id'],this);const _0x1a4eb5=this['ref']['dialog'];_0x1a4eb5['addEventListener']('close',this['_handleDialogClose']),_0x1a4eb5['addEventListener']('mousedown',this['_handleDialogMouseDown']),_0x1a4eb5['addEventListener']('mouseup',this['_handleDialogMouseUp']),this['subConfigValue']('modalBackdropStrokes',_0x41431e=>{_0x41431e?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 _0x57a241=this['ref']['dialog'];_0x57a241['removeEventListener']('close',this['_handleDialogClose']),_0x57a241['removeEventListener']('mousedown',this['_handleDialogMouseDown']),_0x57a241['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']);}};_0x570bcf['template']='\x0a\x20\x20<dialog\x20ref=\x22dialog\x22>\x0a\x20\x20\x20\x20<slot></slot>\x0a\x20\x20</dialog>\x0a';var _0x2b8927=class extends _0x4542c4{['_value']=0x0;['_visible']=!0x0;constructor(){super(),this['init$']={...this['init$'],'width':0x0,'opacity':0x0};}['initCallback'](){super['initCallback'](),(this['ref']['fakeProgressLine']['addEventListener']('animationiteration',()=>{const _0x192410=this['ref']['fakeProgressLine'];this['_visible']?this['_value']>0x0&&_0x192410['classList']['add']('uc-fake-progress--hidden'):_0x192410['classList']['add']('uc-fake-progress--hidden');}),this['defineAccessor']('value',_0x54a765=>{null!=_0x54a765&&(this['_value']=_0x54a765,this['_visible']&&this['style']['setProperty']('--l-progress-value',this['_value']['toString']()));}),this['defineAccessor']('visible',_0x334ade=>{this['_visible']=_0x334ade,this['classList']['toggle']('uc-progress-bar--hidden',!_0x334ade);}));}};_0x2b8927['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 _0x315066=class extends _0x4378ff{['_unobserveCollectionCb'];constructor(){super(),this['init$']={...this['init$'],'visible':!0x1,'value':0x0,'*commonProgress':0x0};}['initCallback'](){super['initCallback'](),this['_unobserveCollectionCb']=this['uploadCollection']['observeProperties'](()=>{const _0x5eaf92=this['uploadCollection']['items']()['some'](_0x1fffdc=>{const _0x218607=this['uploadCollection']['read'](_0x1fffdc);return _0x218607?.['getValue']('isUploading')??!0x1;});this['$']['visible']=_0x5eaf92;}),this['sub']('visible',_0x3a3381=>{_0x3a3381?this['setAttribute']('active',''):this['removeAttribute']('active');}),this['sub']('*commonProgress',_0x33857e=>{this['$']['value']=_0x33857e;});}['destroyCallback'](){super['destroyCallback'](),this['_unobserveCollectionCb']?.(),this['_unobserveCollectionCb']=void 0x0;}};_0x315066['template']='\x20<uc-progress-bar\x20set=\x22visible:\x20visible;\x20value:\x20value\x22></uc-progress-bar>\x20';var Select=class extends _0x4542c4{constructor(){super(),this['init$']={...this['init$'],'currentText':'','options':[],'selectHtml':'','onSelect':_0x48fe75=>{_0x48fe75['preventDefault'](),_0x48fe75['stopPropagation']();const _0x38dcec=this['ref']['select'];this['value']=_0x38dcec['value'],this['$']['currentText']=this['$']['options']['find'](_0x40f1c5=>_0x40f1c5['value']===this['value'])?.['text']||'',this['dispatchEvent'](new Event('change'));}};}['initCallback'](){super['initCallback'](),this['sub']('options',_0x3a59e6=>{this['$']['currentText']=_0x3a59e6?.[0x0]?.['text']||'';let _0x400288='';_0x3a59e6?.['forEach'](_0x3d13a9=>{_0x400288+='<option\x20value=\x22'+_0x3d13a9['value']+'\x22>'+_0x3d13a9['text']+'</option>';}),this['$']['selectHtml']=_0x400288;});}};Select['template']='\x20<select\x20ref=\x22select\x22\x20set=\x22innerHTML:\x20selectHtml;\x20onchange:\x20onSelect\x22></select>\x20';var SimpleBtn=class extends _0x4378ff{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',_0x3a4e89=>{void 0x0!==_0x3a4e89&&(this['$']['withDropZone']=_0x262a3b(_0x3a4e89));}),this['subConfigValue']('multiple',_0x129aaf=>{this['$']['button-text']=_0x129aaf?'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 _0x4446f9='src-type-',SourceBtn=class extends _0x4378ff{['couldBeCtxOwner']=!0x0;['type']=void 0x0;['_registeredTypes']={};constructor(){super(),this['init$']={...this['init$'],'iconName':'default','src-type':''};}['initTypes'](){this['registerType']({'type':_0x2d3f2c['LOCAL'],'activate':()=>(this['api']['openSystemDialog'](),!0x1)}),this['registerType']({'type':_0x2d3f2c['URL'],'activity':ActivityBlock['activities']['URL'],'textKey':'from-url'}),this['registerType']({'type':_0x2d3f2c['CAMERA'],'activity':ActivityBlock['activities']['CAMERA'],'activate':()=>{const _0x40fc33=browserFeatures['htmlMediaCapture'];return _0x40fc33&&this['api']['openSystemDialog']({'captureCamera':!0x0}),!_0x40fc33;}}),this['registerType']({'type':'draw','activity':ActivityBlock['activities']['DRAW'],'icon':'edit-draw'});for(const _0x2c896d of Object['values'](_0x5d4e95))this['registerType']({'type':_0x2c896d,'activity':ActivityBlock['activities']['CAMERA'],'activate':()=>{const _0x28e37b=browserFeatures['htmlMediaCapture'];return _0x28e37b&&this['api']['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'mobile-photo-camera'===_0x2c896d?_0x137285['PHOTO']:_0x137285['VIDEO']}),!_0x28e37b;}});for(const _0x37e6f2 of Object['values'](ExternalUploadSource))this['registerType']({'type':_0x37e6f2,'activity':ActivityBlock['activities']['EXTERNAL'],'activityParams':{'externalSourceType':_0x37e6f2}});}['initCallback'](){super['initCallback'](),this['initTypes'](),this['defineAccessor']('type',_0x32b4f7=>{_0x32b4f7&&this['applyType'](_0x32b4f7);});}['registerType'](_0x2a2f3d){this['_registeredTypes'][_0x2a2f3d['type']]=_0x2a2f3d;}['getType'](_0x3e82fd){return this['_registeredTypes'][_0x3e82fd];}['activate'](){if(!this['type'])return;const _0x92769d=this['_registeredTypes'][this['type']];if(!_0x92769d)return;const {activity:_0x418e6f,activate:_0x114965,activityParams:_0x346484={}}=_0x92769d;(_0x114965?_0x114965():!!_0x418e6f)&&_0x418e6f&&(this['modalManager']?.['open'](_0x418e6f),this['set$']({'*currentActivityParams':_0x346484,'*currentActivity':_0x418e6f}));}['applyType'](_0x115cff){const _0x1cfaad=this['_registeredTypes'][_0x115cff];if(!_0x1cfaad)return void console['warn']('Unsupported\x20source\x20type:\x20'+_0x115cff);const {textKey:_0x3beeea=_0x115cff,icon:_0x2c5df5=_0x115cff}=_0x1cfaad;this['$']['src-type']=''+_0x4446f9+_0x3beeea,this['$']['iconName']=_0x2c5df5,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 _0x4542c4{['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0x504f70=>{const _0x3b5861=stringToArray(_0x504f70);let _0x44237f='';_0x3b5861['forEach'](_0x34aa15=>{'instagram'!==_0x34aa15?'camera'===_0x34aa15&&browserFeatures['htmlMediaCapture']?this['subConfigValue']('cameraModes',_0x251573=>{const _0x4637eb=_0x28e87f(_0x251573);_0x4637eb['forEach'](_0x38f9c7=>{_0x44237f+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-'+_0x38f9c7+'-camera\x22></uc-source-btn>';}),0x0===_0x4637eb['length']&&(_0x44237f+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-photo-camera\x22></uc-source-btn>');}):_0x44237f+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22'+_0x34aa15+'\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']=_0x44237f:this['outerHTML']=_0x44237f;});}},_0x23c5db=class extends BaseComponent{};_0x23c5db['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(_0x494a83,_0x4ecb5f=0x28){if('image/svg+xml'===_0x494a83['type'])return URL['createObjectURL'](_0x494a83);const _0x568b19=document['createElement']('canvas'),_0x20f754=_0x568b19['getContext']('2d');if(!_0x20f754)return Promise['reject'](new Error('Canvas\x20context\x20not\x20supported'));const _0x7aca1b=new Image(),_0x4b9b4c=new Promise((_0x470bd7,_0x2d55ac)=>{_0x7aca1b['onload']=()=>{const _0x427383=_0x7aca1b['height']/_0x7aca1b['width'];_0x427383>0x1?(_0x568b19['width']=_0x4ecb5f,_0x568b19['height']=_0x4ecb5f*_0x427383):(_0x568b19['height']=_0x4ecb5f,_0x568b19['width']=_0x4ecb5f/_0x427383),_0x20f754['fillStyle']='rgb(240,\x20240,\x20240)',_0x20f754['fillRect'](0x0,0x0,_0x568b19['width'],_0x568b19['height']),_0x20f754['drawImage'](_0x7aca1b,0x0,0x0,_0x568b19['width'],_0x568b19['height']),_0x568b19['toBlob'](_0xfbae82=>{if(!_0xfbae82)return void _0x2d55ac();const _0x26437c=URL['createObjectURL'](_0xfbae82);_0x470bd7(_0x26437c);});},_0x7aca1b['onerror']=_0x38c288=>{_0x2d55ac(_0x38c288);};});return _0x7aca1b['src']=URL['createObjectURL'](_0x494a83),_0x4b9b4c;}function createSvgBlobUrl(_0x4eb8df){const _0x5489e8=new Blob([_0x4eb8df],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x5489e8);}function _0x1aacb9(_0x14ae23='hsl(209,\x2021%,\x2065%)',_0x52a87d=0x20,_0x3b07d1=0x20){return createSvgBlobUrl('\x0a\x20\x20<svg\x20width=\x22'+_0x52a87d+'\x22\x20height=\x22'+_0x3b07d1+'\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'+_0x14ae23+'\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 _0x57c855=0xbb8,_0x59832d=class extends FileItemConfig{['_renderedGridOnce']=!0x1;['_thumbRect']=null;['_isIntersecting']=!0x1;['_firstViewMode']=this['cfg']['filesViewMode'];['_observer'];constructor(){super(),this['init$']={...this['init$'],'thumbUrl':'','badgeIcon':'','uid':''};}['_calculateThumbSize'](_0x539eee=!0x1){_0x539eee&&(this['_thumbRect']=this['getBoundingClientRect']());let _0x192a46=Math['max'](parseInt(String(this?.['_thumbRect']?.['height']||0x0),0xa),parseInt(String(this?.['_thumbRect']?.['width']||0x0),0xa),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0x192a46*=window['devicePixelRatio']),Math['min'](_0x192a46,_0x57c855);}['_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}=_0x2b37e1(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',_0x1aacb9(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',_0x1aacb9(n));}else{const i=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x1aacb9(i));}});['_debouncedGenerateThumb']=_0x4b27cc(this['_generateThumbnail']['bind'](this),0x64);['_observerCallback'](_0x3c0885){const [_0x221016]=_0x3c0885;_0x221016&&(this['_isIntersecting']=_0x221016['isIntersecting'],_0x221016['isIntersecting']&&(this['_thumbRect']=_0x221016['boundingClientRect'],this['_debouncedGenerateThumb'](),this['_observer']?.['disconnect']()),0x0===_0x221016['intersectionRatio']&&this['_debouncedGenerateThumb']['cancel']());}['_reset'](){super['_reset'](),this['_debouncedGenerateThumb']['cancel']();}['_handleEntryId'](_0x29cb30){this['_reset']();const _0x477c2e=this['uploadCollection']?.['read'](_0x29cb30);this['_entry']=_0x477c2e,_0x477c2e&&(this['_subEntry']('fileInfo',_0x229d5c=>{_0x229d5c?.['isImage']&&this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_subEntry']('thumbUrl',_0x5ca476=>{this['$']['thumbUrl']=_0x5ca476?'url('+_0x5ca476+')':'';}),this['_subEntry']('cdnUrlModifiers',()=>{this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_isIntersecting']&&this['_debouncedGenerateThumb']());}['initCallback'](){super['initCallback'](),this['defineAccessor']('badgeIcon',_0x291401=>{this['$']['badgeIcon']=_0x291401;}),this['defineAccessor']('uid',_0x4808b8=>{this['set$']({'uid':_0x4808b8});}),this['sub']('uid',_0x113c45=>{this['_handleEntryId'](_0x113c45);}),this['subConfigValue']('filesViewMode',_0x45c53d=>{'grid'!==_0x45c53d||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']();}};_0x59832d['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',_0x59832d['bindAttributes']({'badgeIcon':null,'uid':null});var UploadCtxProvider=class extends _0x4378ff{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 _0x4378ff{['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 _0x5448ff=this['api']['getOutputCollectionState'](),_0x12b125={'total':_0x5448ff['totalCount'],'succeed':_0x5448ff['successCount'],'uploading':_0x5448ff['uploadingCount'],'failed':_0x5448ff['failedCount'],'validatingBeforeUploading':_0x5448ff['idleEntries']['filter'](_0x31482f=>_0x31482f['isValidationPending'])['length']},_0x3aecca=!_0x5448ff['errors']['some'](_0x31c928=>'TOO_MANY_FILES'===_0x31c928['type']||'TOO_FEW_FILES'===_0x31c928['type']),_0x4b9a2e=_0x5448ff['errors']['some'](_0x16ebdc=>'TOO_MANY_FILES'===_0x16ebdc['type']),_0x5c697b=_0x5448ff['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0x128e8b=_0x5448ff['allEntries']['some'](_0xe040ee=>_0xe040ee['isValidationPending']),_0x13b1df=0x0===_0x12b125['failed']&&0x0===_0x5448ff['errors']['length']&&!_0x128e8b;let _0x4c8a2e=!0x1,_0x1ec1f6=!0x1,_0x62cec6=!0x1;if(_0x12b125['total']-_0x12b125['succeed']-_0x12b125['uploading']-_0x12b125['failed']>0x0&&_0x3aecca&&_0x13b1df)_0x4c8a2e=!0x0;else{_0x1ec1f6=!0x0;const _0x788a92=!this['cfg']['groupOutput']||!!_0x5448ff['group'];_0x62cec6=_0x12b125['total']===_0x12b125['succeed']&&_0x3aecca&&_0x13b1df&&_0x788a92;}this['set$']({'doneBtnVisible':_0x1ec1f6,'doneBtnEnabled':_0x62cec6,'uploadBtnVisible':_0x4c8a2e,'addMoreBtnEnabled':0x0===_0x12b125['total']||!_0x4b9a2e&&!_0x5c697b,'addMoreBtnVisible':!_0x5c697b||this['cfg']['multiple'],'hasFiles':_0x12b125['total']>0x0}),this['bindL10n']('headerText',()=>this['_getHeaderText'](_0x12b125));}['_getHeaderText'](_0x1ef393){const _0x573fa4=_0x58dfca=>{let _0x49be43=_0x1ef393[_0x58dfca];return'uploading'===_0x58dfca&&(_0x49be43+=_0x1ef393['validatingBeforeUploading']),this['l10n']('header-'+_0x58dfca,{'count':_0x49be43});};return _0x1ef393['uploading']>0x0||_0x1ef393['validatingBeforeUploading']>0x0?_0x573fa4('uploading'):_0x1ef393['failed']>0x0?_0x573fa4('failed'):_0x1ef393['succeed']>0x0?_0x573fa4('succeed'):_0x573fa4('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',_0x532e17=>{_0x532e17&&this['_throttledHandleCollectionUpdate']();}),this['subConfigValue']('filesViewMode',_0x5d62d9=>{this['setAttribute']('mode',_0x5d62d9);}),this['sub']('*currentActivity',_0x41c069=>{this['couldOpenActivity']||_0x41c069!==this['activityType']||(this['$']['*currentActivity']=this['initActivity']);}),this['uploadCollection']['observeProperties'](this['_throttledHandleCollectionUpdate']),this['uploadCollection']['observeCollection'](this['_throttledHandleCollectionUpdate']),this['sub']('*collectionErrors',_0x1ba51c=>{const _0x45ce15=_0x1ba51c['filter'](_0x325bce=>'SOME_FILES_HAS_ERRORS'!==_0x325bce['type'])[0x0];_0x45ce15?this['set$']({'commonErrorMessage':_0x45ce15['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 _0x13382b=class extends _0x4378ff{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['URL'];constructor(){super(),this['init$']={...this['init$'],'importDisabled':!0x0,'onUpload':_0x40f316=>{_0x40f316['preventDefault'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'upload-from-url','node':this['tagName']}}});const _0x3a4ce6=this['ref']['input']['value'];this['api']['addFileFromUrl'](_0x3a4ce6,{'source':_0x2d3f2c['URL']}),this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'];},'onCancel':()=>{this['historyBack']();},'onInput':_0x3730c4=>{const _0x124222=_0x3730c4['target']?.['value']??'';this['set$']({'importDisabled':!_0x124222});}};}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'',{'onActivate':()=>{const _0x12ccaa=this['ref']['input'];_0x12ccaa['value']='',_0x12ccaa['focus']();}});}};_0x13382b['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);}},_0x588aa2=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 _0x910e4c=this['$']['*historyBack'];return void _0x910e4c?.();}this['couldShowList']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}};}get['couldHistoryBack'](){const _0x11d2ad=this['$']['*history'];return!(!_0x11d2ad||_0x11d2ad['length']<=0x1)&&_0x11d2ad[_0x11d2ad['length']-0x1]!==ActivityBlock['activities']['START_FROM'];}get['couldShowList'](){const _0x8fdee6=this['$']['*uploadList'];return this['cfg']['showEmptyList']||Array['isArray'](_0x8fdee6)&&_0x8fdee6['length']>0x0;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']});const _0x2d84a2=this['ref']['uBlock'];_0x2d84a2&&(this['sub']('*currentActivity',_0x43a199=>{_0x43a199||(this['$']['*currentActivity']=_0x2d84a2['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['sub']('*uploadList',_0x43b11a=>{Array['isArray'](_0x43b11a)&&_0x43b11a['length']>0x0&&this['$']['*currentActivity']===(_0x2d84a2['initActivity']||ActivityBlock['activities']['START_FROM'])&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['$']['couldCancel']=this['couldHistoryBack']||this['couldShowList'];}));}};_0x588aa2['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 _0x2e298a='active',_0x5e56ec='',_0x2af757=class extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];['handleModalOpen'];['handleModalClose'];constructor(){super(),this['init$']={...this['init$'],'singleUpload':!0x1,'isHiddenStartFrom':!0x1,'classUploadList':_0x5e56ec,'classStartFrom':_0x5e56ec,'*solution':this['tagName']};}['_handleModalOpen'](_0x15784c){_0x15784c['id']===ActivityBlock['activities']['CLOUD_IMG_EDIT']&&this['set$']({'classUploadList':_0x2e298a}),this['$']['*currentActivity']===ActivityBlock['activities']['UPLOAD_LIST']&&this['set$']({'classUploadList':_0x2e298a,'isHiddenStartFrom':!0x0});const _0x3d1b58=this['$']['*uploadList'];(!_0x3d1b58||_0x3d1b58['length']<=0x0)&&this['set$']({'classStartFrom':_0x2e298a});}['_handleModalClose'](_0x421f61){_0x421f61['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],this['set$']({'isHiddenStartFrom':!0x1})),_0x421f61['id']===ActivityBlock['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']});const _0x5eac8c=this['ref']['uBlock'];_0x5eac8c&&(this['sub']('*currentActivity',_0x3dc863=>{_0x3dc863===ActivityBlock['activities']['UPLOAD_LIST']&&this['modalManager']?.['closeAll'](),_0x3dc863||(this['$']['*currentActivity']=_0x5eac8c['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['sub']('*uploadList',_0x9f6c49=>{Array['isArray'](_0x9f6c49)&&_0x9f6c49['length']>0x0?(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],this['set$']({'classStartFrom':_0x5e56ec})):(this['set$']({'classUploadList':_0x5e56ec,'isHiddenStartFrom':!0x1}),this['$']['*currentActivity']=_0x5eac8c['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['subConfigValue']('confirmUpload',_0x4ac1cf=>{!0x1!==_0x4ac1cf&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0x505d2c=>{this['setAttribute']('mode',_0x505d2c),this['subConfigValue']('multiple',_0x374590=>{'grid'===_0x505d2c?(_0x374590?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['$']['singleUpload']=!_0x374590):(this['style']['removeProperty']('--uc-grid-col'),this['$']['singleUpload']=!0x1);});}),this['handleModalOpen']=_0x2693d7=>{this['_handleModalOpen'](_0x2693d7);},this['handleModalClose']=_0x3e31d3=>{this['_handleModalClose'](_0x3e31d3);},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']);}};_0x2af757['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 _0x46e2cc=class extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];constructor(){super();const _0x1d6242={...this['init$'],'isHidden':!0x1,'*solution':this['tagName']};this['init$']=_0x1d6242;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']}),this['defineAccessor']('headless',_0x1f4f96=>{this['set$']({'isHidden':_0x262a3b(_0x1f4f96)});});}};_0x46e2cc['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',_0x46e2cc['bindAttributes']({'headless':null});var _0xe07c4b=Object['freeze']({'__proto__':null,'ActivityBlock':ActivityBlock,'ActivityHeader':ActivityHeader,'BaseComponent':BaseComponent,'Block':_0x4542c4,'BtnUi':BtnUi,'CameraSource':_0x14a386,'CloudImageEditor':CloudImageEditor,'CloudImageEditorActivity':CloudImageEditorActivity,'CloudImageEditorBlock':CloudImageEditorBlock,'Config':_0x5e90b5,'Copyright':Copyright,'CropFrame':_0x23a431,'Data':Data,'DropArea':_0x107489,'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':_0x588aa2,'FileUploaderMinimal':_0x2af757,'FileUploaderRegular':_0x46e2cc,'FormInput':FormInput,'Icon':_0x592610,'Img':_0x1c28bc,'LineLoaderUi':_0x2182e8,'Modal':_0x570bcf,'ModalEvents':ModalEvents,'PACKAGE_NAME':_0x249b8c,'PACKAGE_VERSION':_0x56ea43,'PresenceToggle':_0x214d88,'ProgressBar':_0x2b8927,'ProgressBarCommon':_0x315066,'Select':Select,'SimpleBtn':SimpleBtn,'SliderUi':_0x3e043b,'SolutionBlock':SolutionBlock,'SourceBtn':SourceBtn,'SourceList':SourceList,'Spinner':_0x23c5db,'StartFrom':StartFrom,'Thumb':_0x59832d,'UID':_0x57c512,'UploadCtxProvider':UploadCtxProvider,'UploadList':UploadList,'UploadSource':_0x2d3f2c,'UploaderBlock':_0x4378ff,'UrlSource':_0x13382b,'defineComponents':defineComponents,'defineLocale':_0x46f3b7,'loadFileUploaderFrom':_0x55ff7e,'toKebabCase':toKebabCase});class _0x1e6d80 extends ckeditor5['Plugin']{static get['requires'](){return[UploadcareEditing,_0x3f9099];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5185fd){super(_0x5185fd),_0x5185fd['config']['define']('uploadcare.uploader.sourceList',['local','url']),defineComponents(_0xe07c4b),this['_defineLocale']();}['_defineLocale'](){const _0x19ac10=this['editor']['config']['get']('uploadcare.locale'),_0xea944=this['editor']['locale']['contentLanguage'];_0x19ac10&&_0x46f3b7(_0xea944,_0x19ac10);}}class UploadcareImageEditFormLoadingView extends ckeditor5['View']{constructor(_0x302d3c){super(_0x302d3c);const t=_0x302d3c['t'],_0x36463e=this['bindTemplate'],_0xa99a5a=new ckeditor5['SpinnerView']();_0xa99a5a['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':[_0xa99a5a,{'text':_0x36463e['to']('imageUploadProgress',_0x2538f4=>t('Loading\x20image...')+'\x20('+(_0x2538f4||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(_0x427517){super(_0x427517);const t=_0x427517['t'];this['set']('errorType',null);const _0x4a29ab=new ckeditor5['ButtonView'](_0x427517);_0x4a29ab['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4a29ab['withText']=!0x0,_0x4a29ab['class']='ck-button-action',_0x4a29ab['on']('execute',()=>{this['fire']('retry');}),_0x4a29ab['bind']('isVisible')['to'](this,'errorType',_0x3748f3=>'NotFound'!==_0x3748f3);const _0xe76594=new ckeditor5['IconView']();_0xe76594['content']=ckeditor5['IconError'],_0xe76594['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x17ab6b=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':[_0xe76594,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x17ab6b['to']('errorType',_0x1b1682=>t('NotFound'!==_0x1b1682?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4a29ab]},{'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(_0x2f01e9,_0x5a5514){super(_0x2f01e9);const _0x47e2da=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5a5514,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x47e2da['to']('imageSrc')}});}}class UploadcareImageEditFormView extends _0x4c93db{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2eeeaa,_0x228d9f,_0x283a2a){super(_0x2eeeaa),this['_items']=this['createCollection'](),this['_loadingView']=new UploadcareImageEditFormLoadingView(_0x2eeeaa),this['_errorView']=new UploadcareImageEditFormErrorView(_0x2eeeaa),this['_editingView']=new UploadcareImageEditFormEditingView(_0x2eeeaa,_0x283a2a),this['_focusableView']=new ckeditor5['View'](_0x2eeeaa),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x228d9f),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'],_0x2e0e91=>{this['_addUploadcareImageEditorListeners'](_0x2e0e91);});}),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'](_0x4fe326,_0x119ca0){const _0x45660c='uc-cloud-image-editor',_0x5543df=_0x4fe326['querySelector'](_0x45660c);if(_0x5543df)return _0x119ca0(_0x5543df);const _0x11eb64=new MutationObserver(_0x41be57=>{const _0xaefb8d=_0x41be57['filter'](_0x748dfe=>_0x748dfe['target']===_0x4fe326&&_0x748dfe['addedNodes']['length']>0x0&&_0x748dfe['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x45660c);_0xaefb8d['length']&&(_0x11eb64['disconnect'](),_0x119ca0(_0xaefb8d[0x0]['addedNodes'][0x0]));});_0x11eb64['observe'](_0x4fe326,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0xf59216){_0xf59216['addEventListener']('apply',_0x498634=>{this['fire']('apply',{'imageSrc':_0x498634['detail']['cdnUrl']});}),_0xf59216['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(_0x27a9ad,_0xc9a8a,_0x31fdb8){super(),this['_editor']=_0x27a9ad,this['_dialog']=_0xc9a8a,this['_imageElement']=_0x31fdb8,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 _0x2413c3=this['_imageElement'],_0x5cdac8=_0x2413c3['getAttribute']('uploadcareImageId'),_0x3507b7=_0x2413c3['getAttribute']('src');if(_0x5cdac8)await this['_loadImageInfo'](_0x5cdac8,_0x3507b7);else{if(this['_imageCache']['has'](_0x3507b7)){const _0x3a792=this['_imageCache']['get'](_0x3507b7);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3a792['url'],this['imageDimension']=_0x3a792['dimension'],this['imageId']=_0x3a792['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x15debe}=this['_editor'],t=_0x15debe['t'],_0x1e44a3=new UploadcareImageEditFormView(_0x15debe,this['imageStatus'],this['_attributes']);_0x1e44a3['bind']('status')['to'](this,'imageStatus'),_0x1e44a3['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1e44a3['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1e44a3['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1e44a3,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':ckeditor5['IconUploadcareImageEdit'],'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1e44a3,'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1e44a3['focus']();},'onHide':()=>{_0x1e44a3['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x25b6d0=>!isAncestor(_0x25b6d0,_0x1e44a3['element'])}});}['_loadImageInfo'](_0x43b438,_0x4cc793){return UploadUtils['getInfo'](_0x43b438,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x429caa=>{const {width:_0x28b564,height:_0x2d83d2}=_0x429caa['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4cc793,this['imageDimension']={'width':_0x28b564,'height':_0x2d83d2},this['imageId']=_0x43b438;})['catch'](_0x33a14b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x33a14b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3f5585,_0x513d2d){return this['_getImageAsFile'](_0x3f5585)['then'](_0xde7dec=>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':_0x513d2d['signal'],'file':_0xde7dec,'onProgress':_0x1b1ec5=>{_0x1b1ec5&&_0x1b1ec5['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1b1ec5['value']));}}))['then'](_0x454c48=>{const {width:_0x7716fd,height:_0x5933a7}=_0x454c48['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x454c48['cdnUrl'],this['imageDimension']={'width':_0x7716fd,'height':_0x5933a7},this['imageId']=_0x454c48['uuid'],this['imageUploadProgress']=null;const _0x41da7a=_0x3f5585['getAttribute']('src');this['_imageCache']['set'](_0x41da7a,{'id':_0x454c48['uuid'],'url':_0x454c48['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3d17d7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3d17d7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2aff4a,_0x139ef8){_0x2aff4a['on']('apply',(_0x212a99,_0x155c76)=>{this['_replaceImage'](_0x139ef8,_0x155c76['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2aff4a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2aff4a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1e2a36,_0xda0c6d,_0x1b0773){const _0x33fa88=this['_editor'],{width:_0x2d5ada,height:_0x33a407}=getImageDimension(_0xda0c6d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x58a14a,imageSources:_0x20c467}=getImageUrls(_0xda0c6d,_0x2d5ada);_0x33fa88['model']['change'](_0x38c8b9=>{if('$graveyard'===_0x1e2a36['root']['rootName']){_0x33fa88['execute']('insertImage',{'imageType':_0x1e2a36['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1e2a36['getAttributes']()),'uploadcareImageId':_0x1b0773,'src':_0x58a14a,'sources':_0x20c467,'width':_0x2d5ada,'height':_0x33a407}});const _0x24aa21=_0x1e2a36['getChildren']();_0x1e2a36=_0x33fa88['model']['document']['selection']['getSelectedElement']();for(const _0x3904d9 of _0x24aa21)_0x38c8b9['append'](_0x38c8b9['cloneElement'](_0x3904d9),_0x1e2a36);}else _0x38c8b9['setSelection'](_0x1e2a36,'on'),_0x33fa88['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1e2a36['getAttributes']()),'uploadcareImageId':_0x1b0773,'src':_0x58a14a,'sources':_0x20c467,'width':_0x2d5ada,'height':_0x33a407},_0x1e2a36);_0x38c8b9['setSelection'](_0x1e2a36,'on');});}async['_getImageAsFile'](_0x131fd2){const _0x203a9a=ckeditor5['global']['window'],_0x102ed0=ckeditor5['global']['document']['location']['href'],_0x3d5e25=new _0x203a9a['URL'](_0x131fd2['getAttribute']('src'),_0x102ed0);if('data:'===_0x3d5e25['protocol']){const _0x5e552d=_0x3d5e25['href']['split'](','),_0x5a2439=_0x5e552d[0x0]['match'](/:(.*?);/)[0x1],_0x208d53=_0x5a2439['split']('/')[0x1],_0x1a60a1=_0x203a9a['atob'](_0x5e552d[_0x5e552d['length']-0x1]);let _0x4406d7=_0x1a60a1['length'];const _0x29950a=new _0x203a9a['Uint8Array'](_0x4406d7);for(;_0x4406d7--;)_0x29950a[_0x4406d7]=_0x1a60a1['charCodeAt'](_0x4406d7);return new _0x203a9a['File']([_0x29950a],'image.'+_0x208d53,{'type':_0x5a2439});}const _0x2d2329=_0x3d5e25['href']['split']('/'),_0x23afe2=_0x2d2329[_0x2d2329['length']-0x1],_0x571b34=_0x23afe2['split']('.')[0x1];return _0x203a9a['fetch'](_0x3d5e25['href'])['then'](_0x3bc08a=>_0x3bc08a['clone']()['blob']())['then'](_0x195235=>new _0x203a9a['File']([_0x195235],_0x23afe2,{'type':'image/'+_0x571b34}));}}class UploadcareImageEditCommand extends ckeditor5['Command']{['imageEditController'];static get['requires'](){return[ckeditor5['Dialog']];}['_isEditable'];constructor(_0x2a45ec){super(_0x2a45ec),this['imageEditController']=void 0x0,this['_isEditable']=createEditabilityChecker(_0x2a45ec['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x345bab=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x345bab);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x42635e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x42635e&&(_0x42635e['is']('element','imageBlock')||_0x42635e['is']('element','imageInline'))&&(this['imageEditController']=new UploadcareImageEditController(this['editor'],this['editor']['plugins']['get'](ckeditor5['Dialog']),_0x42635e),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class _0x46d7e0 extends ckeditor5['Command']{['refresh'](){const _0x56424d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x56424d&&(_0x56424d['is']('element','imageBlock')||_0x56424d['is']('element','imageInline')));}['execute'](_0x3ae699){const _0x385fb3=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x5b2fd2=>{_0x5b2fd2['setAttributes'](_0x3ae699,_0x385fb3),_0x5b2fd2['removeAttribute']('srcset',_0x385fb3),_0x5b2fd2['removeAttribute']('sizes',_0x385fb3);});}}class UploadcareImageEditEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[UploadcareEditing,ckeditor5['Notification'],ckeditor5['ImageUtils'],ckeditor5['ImageEditing']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x220579}=this;_0x220579['commands']['add']('uploadcareImageEdit',new UploadcareImageEditCommand(_0x220579)),_0x220579['commands']['add']('uploadcareImageReplace',new _0x46d7e0(_0x220579));}}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 _0x397394=this['editor'];_0x397394['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4ea0d5=>{const _0x467b55=_0x397394['commands']['get']('uploadcareImageEdit'),_0x4b5fc7=new ckeditor5['ButtonView'](_0x4ea0d5),t=_0x4ea0d5['t'];return _0x4b5fc7['set']({'icon':ckeditor5['IconUploadcareImageEdit'],'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4b5fc7['bind']('isEnabled')['to'](_0x467b55),_0x4b5fc7['bind']('isOn')['to'](_0x467b55,'isActive'),this['listenTo'](_0x4b5fc7,'execute',()=>{_0x397394['execute']('uploadcareImageEdit'),_0x397394['editing']['view']['focus']();}),_0x4b5fc7;}),this['_initConfig']();}['_initConfig'](){const _0x5ce7ff=ckeditor5['createElement'](document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5ce7ff),this['listenTo'](this['editor'],'destroy',()=>{_0x5ce7ff['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']=_0xf4fd3a,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['AIQuickActions']=AIQuickActions,exports['AIQuickActionsUI']=AIQuickActionsUI,exports['AIRequestError']=AIRequestError,exports['AIReviewCheck']=_0x1d3b1a,exports['AIReviewCheckResult']=AIReviewCheckResult,exports['AIReviewCheckRun']=_0x4319b3,exports['AIReviewMode']=_0x1a9275,exports['AIReviewModeController']=AIReviewCoreController,exports['AIReviewModeEditing']=AIReviewCoreEditing,exports['AIReviewModeUI']=_0x27c2a3,exports['AITabs']=_0x1b227a,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']=_0x1dcedf,exports['CaseChangeCommand']=_0x11153c,exports['CaseChangeEditing']=CaseChangeEditing,exports['CaseChangeUI']=_0x19c31c,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']=_0x605636,exports['CopyFormatCommand']=CopyFormatCommand,exports['DATA_ID_MODEL_ATTRIBUTE']=_0x33098c,exports['DATA_ID_VIEW_ATTRIBUTE']=_0x34fc67,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']=_0x4ec363,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']=_0x3527b5,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']=_0x2f32cf,exports['MergeFieldsEditing']=MergeFieldsEditing,exports['MergeFieldsEmailIntegration']=MergeFieldsEmailIntegration,exports['MergeFieldsUI']=_0xc14c51,exports['MultiLevelList']=MultiLevelList,exports['MultiLevelListCommand']=MultiLevelListCommand,exports['MultiLevelListEditing']=MultiLevelListEditing,exports['MultiLevelListEmailIntegration']=MultiLevelListEmailIntegration,exports['MultiLevelListUI']=MultiLevelListUI,exports['NarrowSidebar']=_0x5a129a,exports['OpenAITextAdapter']=OpenAITextAdapter,exports['Pagination']=Pagination,exports['PaginationRenderer']=PaginationRenderer,exports['PasteFormatCommand']=PasteFormatCommand,exports['PasteFromOfficeEnhanced']=PasteFromOfficeEnhanced,exports['Permissions']=_0x5e6402,exports['PresenceList']=PresenceList,exports['PresenceListUI']=PresenceListUI,exports['PreviewFinalContentCommand']=PreviewFinalContentCommand,exports['PreviewMergeFieldsCommand']=_0x544807,exports['RealTimeCollaborationClient']=RealTimeCollaborationClient,exports['RealTimeCollaborativeComments']=RealTimeCollaborativeComments,exports['RealTimeCollaborativeEditing']=RealTimeCollaborativeEditing,exports['RealTimeCollaborativeRevisionHistory']=RealTimeCollaborativeRevisionHistory,exports['RealTimeCollaborativeTrackChanges']=RealTimeCollaborativeTrackChanges,exports['ReplaceSourceCommand']=_0x33eed2,exports['RestoreRevisionCommand']=RestoreRevisionCommand,exports['Revision']=_0xdfa8c5,exports['RevisionHistory']=RevisionHistory,exports['RevisionHistoryUI']=RevisionHistoryUI,exports['RevisionHistoryUtils']=RevisionHistoryUtils,exports['RevisionTracker']=_0x3fbef5,exports['RevisionViewer']=_0x2a5545,exports['RevisionViewerEditor']=RevisionViewerEditor,exports['RevisionViewerIntegration']=RevisionViewerIntegration,exports['RevisionViewerLoadingOverlay']=_0xad594d,exports['RevisionViewerUI']=_0x5ebfea,exports['RevisionsRepository']=RevisionsRepository,exports['RevisionsSidebar']=_0x698e44,exports['Sessions']=_0x5d9e92,exports['ShowAIAssistantCommand']=ShowAIAssistantCommand,exports['ShowChangeCommand']=_0x35a3d4,exports['Sidebar']=_0x1df4e0,exports['SlashCommand']=_0x57936b,exports['SlashCommandConfig']=_0x33226c,exports['SlashCommandEditing']=SlashCommandEditing,exports['SlashCommandUI']=_0x89fe49,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']=_0x3bb742,exports['TrackChanges']=_0x1f75c1,exports['TrackChangesCommand']=_0xedd6ce,exports['TrackChangesData']=TrackChangesData,exports['TrackChangesDataGetter']=TrackChangesDataGetter,exports['TrackChangesEditing']=TrackChangesEditing,exports['TrackChangesPreview']=_0x5cb85e,exports['TrackChangesUI']=_0x4b5c52,exports['UploadEmailIntegration']=UploadEmailIntegration,exports['Uploadcare']=_0x1e6d80,exports['UploadcareCommand']=_0x21a9f1,exports['UploadcareEditing']=UploadcareEditing,exports['UploadcareImageEdit']=UploadcareImageEdit,exports['UploadcareImageEditCommand']=UploadcareImageEditCommand,exports['UploadcareImageEditEditing']=UploadcareImageEditEditing,exports['UploadcareImageEditUI']=UploadcareImageEditUI,exports['UploadcareUI']=_0x3f9099,exports['UploadcareUploadAdapter']=UploadcareUploadAdapter,exports['UserView']=_0x5c412d,exports['Users']=_0x9327be,exports['WebSocketGateway']=WebSocketGateway,exports['WideSidebar']=_0x11373a,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;});