@ckeditor/ckeditor5-ai 42.0.1-alpha.3 → 42.0.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index-content.css +2 -0
- package/dist/index-editor.css +296 -319
- package/dist/index.js +2 -2
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.d.ts +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.d.ts +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.d.ts +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -4
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/dropdown/aicommandslistview.js +1 -1
- package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
- package/src/ui/dropdown/labelwithhighlightview.js +1 -1
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- /package/dist/{types/adapters → adapters}/aiadapter.d.ts +0 -0
- /package/dist/{types/adapters → adapters}/aitextadapter.d.ts +0 -0
- /package/dist/{types/adapters → adapters}/awstextadapter.d.ts +0 -0
- /package/dist/{types/adapters → adapters}/openaitextadapter.d.ts +0 -0
- /package/dist/{types/aiassistant.d.ts → aiassistant.d.ts} +0 -0
- /package/dist/{types/aiassistantediting.d.ts → aiassistantediting.d.ts} +0 -0
- /package/dist/{types/aiassistantui.d.ts → aiassistantui.d.ts} +0 -0
- /package/dist/{types/aiconfig.d.ts → aiconfig.d.ts} +0 -0
- /package/dist/{types/augmentation.d.ts → augmentation.d.ts} +0 -0
- /package/dist/{types/index.d.ts → index.d.ts} +0 -0
- /package/dist/{types/ui → ui}/aiassistantcontroller.d.ts +0 -0
- /package/dist/{types/ui → ui}/dropdown/aicommandslistview.d.ts +0 -0
- /package/dist/{types/ui → ui}/dropdown/buttonlabelwithhighlightview.d.ts +0 -0
- /package/dist/{types/ui → ui}/dropdown/labelwithhighlightview.d.ts +0 -0
- /package/dist/{types/ui → ui}/form/aiformcontentarea.d.ts +0 -0
- /package/dist/{types/ui → ui}/form/aiformerrorview.d.ts +0 -0
- /package/dist/{types/ui → ui}/form/aiformpromptview.d.ts +0 -0
- /package/dist/{types/ui → ui}/form/aiformtoolbarview.d.ts +0 -0
- /package/dist/{types/ui → ui}/form/aiformview.d.ts +0 -0
- /package/dist/{types/ui → ui}/form/aihistorylistitemview.d.ts +0 -0
- /package/dist/{types/ui → ui}/form/aihistorylistview.d.ts +0 -0
- /package/dist/{types/ui → ui}/form/prompthistory.d.ts +0 -0
- /package/dist/{types/ui → ui}/showaiassistantcommand.d.ts +0 -0
- /package/dist/{types/utils → utils}/common-translations.d.ts +0 -0
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{CKEditorError as _0x3078fd,ObservableMixin as _0x250b83,global as it,isVisible as lt,Rect as ht,Collection as _0x1637d2,FocusTracker as _0x388780,KeystrokeHandler as ts,uid as st,first as _0x3006ec}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Plugin as _0x271b0a,Command as _0xce77c2,icons as _0x3fa42f,Context as _0xba95ae}from'@ckeditor/ckeditor5-core/dist/index.js';import{ToolbarView as At,ButtonView as _0x37c9e2,View as et,SpinnerView as ot,IconView as rt,AutocompleteView as ut,ListView as _0x23869e,ListItemGroupView as _0x4ee8f5,HighlightedTextView as tt,ListItemView as _0x562031,FocusCycler as _0x21f81f,createLabeledTextarea as _0x5467f8,Dialog as _0x3de986,createDropdown as _0x916814,SearchTextView as _0x3ab867,MenuBarMenuView as _0x569916,MenuBarMenuListView as _0x459662,MenuBarMenuListItemView as _0x44b3e1,MenuBarMenuListItemButtonView as _0xb865dc,DialogViewPosition as _0x52144d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{icons as ft}from'ckeditor5-collaboration/dist/index.js';import{UpcastWriter as _0x9fc1f9,Matcher as _0x16acd2,DataTransfer as _0x4eba32,DomEventData as _0x2601d0}from'@ckeditor/ckeditor5-engine/dist/index.js';import{unescape as dt,escape as _0x2538ec}from'lodash-es';import{ClipboardMarkersUtils as _0x52ffa2}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{BedrockRuntimeClient as _0x37db12,InvokeModelWithResponseStreamCommand as _0x26d56f,InvokeModelCommand as _0x365f82}from'@aws-sdk/client-bedrock-runtime';const s='ai-ui',c='ai-ui-candidate';class i extends _0x271b0a{static get['pluginName'](){return'AIAssistantEditing';}['init'](){const {editor:_0x1b5c9a}=this,_0x40483b=['ck-fake-ai-selection'];_0x1b5c9a['config']['get']('ai.useTheme')&&_0x40483b['push']('ck-ai-assistant-ui_theme'),_0x1b5c9a['conversion']['for']('editingDowncast')['markerToHighlight']({'model':s,'view':{'classes':_0x40483b,'priority':0xc}}),_0x1b5c9a['conversion']['for']('editingDowncast')['markerToElement']({'model':s,'view':{'name':'span','classes':['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],'priority':0xc}}),_0x1b5c9a['conversion']['for']('editingDowncast')['markerToHighlight']({'model':c,'view':{'classes':['ck-fake-ai-selection-candidate'],'priority':0x19}}),_0x1b5c9a['conversion']['for']('editingDowncast')['markerToElement']({'model':c,'view':{'name':'span','classes':['ck-fake-ai-selection-candidate','ck-fake-ai-selection_collapsed'],'priority':0x19}});}['showFakeVisualSelection'](_0x26a361){const _0x3336f6=this['editor']['model'],_0x88a787=_0x26a361?c:s;_0x3336f6['change'](_0x59ff37=>{const _0x1a8453=_0x3336f6['document']['selection']['getFirstRange']();if(_0x3336f6['markers']['has'](_0x88a787))_0x59ff37['updateMarker'](_0x88a787,{'range':_0x1a8453});else{if(_0x1a8453['start']['isAtEnd']){const _0x2a9a6d=_0x1a8453['start']['getLastMatchingPosition'](({item:_0x29ca01})=>!_0x3336f6['schema']['isContent'](_0x29ca01),{'boundaries':_0x1a8453});_0x59ff37['addMarker'](_0x88a787,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x59ff37['createRange'](_0x2a9a6d,_0x1a8453['end'])});}else _0x59ff37['addMarker'](_0x88a787,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1a8453});}});}['hideFakeVisualSelection'](_0x435baa){const _0x3ff6f4=this['editor']['model'],_0x2b5a69=_0x435baa?c:s;_0x3ff6f4['markers']['has'](_0x2b5a69)&&_0x3ff6f4['change'](_0x31e7ea=>{_0x31e7ea['removeMarker'](_0x2b5a69);});}['insertContent'](_0x2fe9ab,_0x67d3e4){const _0x131d55=_0x67d3e4||this['editor']['model']['markers']['get'](s)['getRange']();if(!this['editor']['model']['canEditAt'](_0x131d55))return;const _0x220d17=this['editor']['data']['processor']['toView'](_0x2fe9ab),_0x595c1=this['editor']['data']['toModel'](_0x220d17);this['editor']['model']['change'](_0x3211bc=>{this['hideFakeVisualSelection']();const _0x3ea221=this['editor']['model']['insertContent'](_0x595c1,_0x131d55);_0x3ea221&&_0x3211bc['setSelection'](_0x3ea221);});}['insertContentBelow'](_0x1b4e2b){const {model:_0x437f43}=this['editor'],_0x310fc3=Array['from'](_0x437f43['createSelection'](this['editor']['model']['markers']['get'](s)['getRange']())['getSelectedBlocks']()),_0x3e97bf=_0x310fc3['length']?_0x437f43['createPositionAfter'](_0x310fc3['pop']()):_0x437f43['document']['selection']['getLastPosition']();this['insertContent'](_0x1b4e2b,_0x3e97bf);}}class y extends _0x271b0a{static get['pluginName'](){return'AIAdapter';}['afterInit'](){if(!this['textAdapter'])throw new _0x3078fd('aiadapter-text-adapter-not-set',null);}}class R extends Error{constructor(_0x16ceb5){super(_0x16ceb5),this['name']='AIRequestError';}}function o(_0x557dae,_0xc2f668,_0x3588ad){const t=_0x557dae['t'];switch(_0xc2f668){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'Translate\x20to\x20%0':return t('Translate\x20to\x20%0',_0x3588ad);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',_0x3588ad);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x3588ad);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'Search\x20AI\x20command':return t('Search\x20AI\x20command');case'No\x20commands\x20found':return t('No\x20commands\x20found');case'No\x20commands\x20available':return t('No\x20commands\x20available');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'},_0x3588ad);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_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0xc2f668;}}class j extends _0xce77c2{['_commandDefinitions'];constructor(_0x5e9376,_0x36d88e){super(_0x5e9376),this['_commandDefinitions']=_0x36d88e?_0x36d88e['reduce']((_0x46ddec,_0x5ca34c)=>_0x46ddec['concat'](_0x5ca34c['commands']),new Array()):[],this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x4d796c,_0x3efb10,_0x2e71b5)=>{this['isEnabled']&&(this['enabledCommandsIds']=K(this['_commandDefinitions'],_0x2e71b5));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x571f17,_0x1538cd,_0x15129e)=>{this['enabledCommandsIds']=_0x15129e?K(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x24afbc=this['editor']['model'];this['_hasContext']=function(_0xb37c32){const _0x2f7539=_0xb37c32['document']['selection'];return _0x2f7539['isCollapsed']?0x0!==[..._0x2f7539['getSelectedBlocks']()]['length']&&![..._0x2f7539['getSelectedBlocks']()][0x0]['isEmpty']:!!_0xb37c32['hasContent'](_0x2f7539['getFirstRange']());}(_0x24afbc);const _0x3e9b5d=_0x24afbc['document']['selection'],_0x5a69ed=this['editor']['config']['get']('ai.aiAssistant.disabledElements');for(const _0x454994 of _0x3e9b5d['getRanges']())for(const _0x5d4f10 of _0x454994['getItems']())if(_0x5d4f10['is']('element')&&_0x5a69ed['includes'](_0x5d4f10['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0x81e297='',_0x384759='',_0x23f7aa='custom'){this['editor']['plugins']['get'](n)['showUI'](_0x81e297,_0x384759,_0x23f7aa);}}function K(_0x565340,_0x49c730){const _0x5405f9=new Set();for(const _0x1b6fd3 of _0x565340)(_0x49c730||!0x1===_0x1b6fd3['requiresContent'])&&_0x5405f9['add'](_0x1b6fd3['id']);return Array['from'](_0x5405f9);}const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class k extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x250b83(){['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x3a95d6,_0x24a367,_0x45a461){super(),this['editor']=_0x3a95d6,this['textAdapter']=_0x24a367,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x45a461,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x316122,_0x51a936,_0x1f7103)=>{this['view']['value']=this['_sanitizeHTML'](_0x1f7103);}),this['listenTo'](this['view'],'submitPrompt',(_0x618a49,_0xf050d2)=>{const _0x56bceb=this['currentContext']||this['initialContext'];this['_handleQuery'](_0xf050d2,_0x56bceb,'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:_0x226167,query:_0x483217,htmlContent:_0x315922,label:_0x265613,mainActionLabel:_0x97ce0c}){this['view']['prompt']=_0x265613,this['view']['mainAction']=_0x97ce0c,this['initialContext']=_0x315922,_0x483217&&(this['view']['isRendered']?this['_handleQuery'](_0x483217,_0x315922,_0x226167,_0x265613):this['view']['once']('render',()=>{this['_handleQuery'](_0x483217,_0x315922,_0x226167,_0x265613);}));}['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'](_0x248aff,_0x5a37dd,_0x582151,_0x43ffd2){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x5a37dd,this['previousQuery']=_0x248aff,this['previousLabel']=_0x43ffd2||_0x248aff,this['previousActionId']=_0x582151,new Promise(_0x3b745a=>{this['textAdapter']['makeRequest']({'query':_0x248aff,'context':_0x5a37dd,'onData':_0x2d65c1=>{this['currentResponse']=_0x2d65c1,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x582151})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x19c64b=>{_0x19c64b instanceof R?this['view']['handleError'](_0x19c64b['message']):this['view']['handleError'](),_0x3b745a();})['finally'](()=>{this['stopProcessing'](),_0x3b745a();});});}['_parseAndNormalizeContent'](_0x3c8502,_0x1a1b66=!0x1){const _0x3cda92=X['exec'](_0x3c8502);_0x3c8502=_0x3cda92?_0x3c8502['substring'](_0x3cda92[0x1]['length']):_0x3c8502['length']<0x64&&!_0x1a1b66?'':this['_stripMarkdownSyntax'](_0x3c8502);const _0x47f49c=this['_domParser']['parseFromString'](_0x3c8502,'text/html');if(_0x3cda92){const _0x5247e1=Array['from'](_0x47f49c['body']['childNodes']);_0x5247e1['reverse']();for(const _0x59a523 of _0x5247e1){if(_0x59a523['nodeType']==Node['ELEMENT_NODE'])break;_0x59a523['remove']();}}const _0x35a6b2=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x47f49c['body']));return this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x35a6b2),this['editor']['data']['stringify'](this['editor']['data']['toModel'](_0x35a6b2));}['_normalizeResponseHeadings'](_0x5b2d8f){const _0x1df7f8=new _0x9fc1f9(this['editor']['editing']['view']['document']),_0x57e39b=new _0x16acd2({'name':/^h[1-5]$/}),_0x3fb34f=[];let _0x43f69e=!0x1;for(const _0x3777dd of _0x5b2d8f)_0x3777dd['is']('element')&&_0x57e39b['match'](_0x3777dd)&&(_0x3fb34f['push'](_0x3777dd),'h1'==_0x3777dd['name']&&(_0x43f69e=!0x0));if(_0x43f69e){for(const _0xd17940 of _0x3fb34f)_0x1df7f8['rename']('h'+(parseInt(_0xd17940['name'][0x1])+0x1),_0xd17940);}}['_isH1TagSupportEnabled'](){const {data:_0x17eff3,editing:_0x1abe3f}=this['editor'],_0x260c79=_0x17eff3['htmlProcessor']['toView']('<h1></h1>'),_0x2f3ae9=_0x17eff3['toView'](_0x17eff3['toModel'](_0x260c79));return!!_0x1abe3f['view']['domConverter']['viewToDom'](_0x2f3ae9)['querySelector']('h1');}['_sanitizeHTML'](_0x26ffdc){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x26ffdc),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x25b641){const _0x774fb7=_0x25b641['trim']();return _0x774fb7['startsWith']('```html')?_0x774fb7['endsWith']('```')?_0x774fb7['substring'](0x7,_0x774fb7['length']-0x3):_0x774fb7['substring'](0x7):_0x25b641;}}const E={'REPLACE':'replace','INSERT':'insert'};class Tt extends At{constructor(_0x486116){super(_0x486116),this['set']('isVisible',!0x1),this['set']('mainAction',E['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x3ca025=>o(_0x486116,'AI_'+_0x3ca025['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](o(_0x486116,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](o(_0x486116,'Try\x20again')),this['stopButton']=this['_createButton'](o(_0x486116,'Stop'));const _0x3f77f6=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x3f77f6['if']('isVisible','ck-hidden',_0x450751=>!_0x450751)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x107bea,_0x1e6437){const _0x4a6a02=new _0x37c9e2(this['locale']);return _0x4a6a02['set']({'label':_0x107bea,'class':_0x1e6437||'','isVisible':!0x0,'withText':!0x0}),_0x4a6a02;}}var ct='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M5\x202.801a.7.7\x200\x200\x200-.7.7v11.5a.8.8\x200\x200\x201-1.6\x200v-11.5a2.3\x202.3\x200\x200\x201\x202.3-2.3h6.5a.8.8\x200\x200\x201\x200\x201.6H5Zm.7\x203.7a2.3\x202.3\x200\x200\x201\x202.3-2.3h7a2.3\x202.3\x200\x200\x201\x202.3\x202.3v10a2.3\x202.3\x200\x200\x201-2.3\x202.3H8a2.3\x202.3\x200\x200\x201-2.3-2.3v-10Zm2.3-.7a.7.7\x200\x200\x200-.7.7v10a.7.7\x200\x200\x200\x20.7.7h7a.7.7\x200\x200\x200\x20.7-.7v-10a.7.7\x200\x200\x200-.7-.7H8Z\x22/></svg>';class nt extends et{['contentFieldView'];['copyButtonView'];constructor(_0x2c4371,_0x2bd320=''){super(_0x2c4371),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x359ed2=this['bindTemplate'];this['contentFieldView']=new gt(_0x2c4371,_0x2bd320),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x359ed2['if']('isVisible','ck-hidden',_0x50794a=>!_0x50794a)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x359ed2['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 _0x5c4473=!0x1;this['on']('change:value',(_0x1d68c4,_0x655220,_0x4bffd0)=>{const _0x43bd4f=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x4bffd0),this['isProcessing']&&_0x43bd4f&&!_0x5c4473&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x240ca7,_0x187230,_0x57a80d)=>{_0x5c4473=!0x1,_0x57a80d?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x5c4473=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x5c4473=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x38dec9=this['locale'],_0xd4628e=new _0x37c9e2(this['locale']),_0x37910d='ck-ai-form__copy-button';return _0xd4628e['set']({'label':o(_0x38dec9,'Copy'),'icon':ct,'class':_0x37910d,'tooltip':!0x0}),_0xd4628e['bind']('isVisible')['to'](this,'value',_0x5d4b1f=>!!_0x5d4b1f),_0xd4628e['bind']('isEnabled')['to'](this,'isProcessing',_0x497ee7=>!_0x497ee7),_0xd4628e['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0xd4628e['icon']=_0x3fa42f['check'],_0xd4628e['class']=_0x37910d+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0xd4628e['icon']=ct,_0xd4628e['class']=_0x37910d;},0x3e8);}),_0xd4628e;}['_copyHTMLToClipboard'](_0x1581d0){const {window:_0x21ab58,document:_0x2a523a}=it;if(_0x21ab58['ClipboardItem']){const {Blob:_0x31921b,ClipboardItem:_0x2b2780}=_0x21ab58,_0x16e9e5=[new _0x2b2780({'text/html':new _0x31921b([_0x1581d0['innerHTML']],{'type':'text/html'}),'text/plain':new _0x31921b([_0x1581d0['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x16e9e5);}else{const _0x4c3186=_0x2a523a['createElement']('div');_0x4c3186['style']['position']='absolute',_0x4c3186['style']['left']='-9999px',_0x4c3186['innerHTML']='<span>[</span>'+_0x1581d0['innerHTML']+'<span>]</span>',_0x2a523a['body']['appendChild'](_0x4c3186);const _0x3de8ce=_0x2a523a['createRange']();_0x3de8ce['setStartAfter'](_0x4c3186['firstElementChild']),_0x3de8ce['setEndBefore'](_0x4c3186['lastElementChild']);const _0x2cd55f=_0x21ab58['getSelection']();_0x2cd55f['removeAllRanges'](),_0x2cd55f['addRange'](_0x3de8ce),_0x2a523a['execCommand']('copy'),_0x4c3186['remove']();}}}class gt extends et{constructor(_0x2f2267,_0x3eec4f=''){super(_0x2f2267),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x3eec4f,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x3943c4){this['element']['innerHTML']=_0x3943c4;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x11ecf4=new et(),_0x2094a9=this['locale'],_0x40c345=new ot();return _0x40c345['isVisible']=!0x0,_0x11ecf4['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x40c345,{'text':o(_0x2094a9,'AI\x20is\x20writing...')}]}),_0x11ecf4['render'](),_0x11ecf4;}}class mt extends et{constructor(_0x3bd456,_0x182570=''){super(_0x3bd456);const _0x2c4274=new rt(),_0x48ac20=this['bindTemplate'];this['set']('text',_0x182570),_0x2c4274['content']='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M9.9\x204.385a1.2\x201.2\x200\x200\x200-.44.44h.002l-5.284\x209.15a1.2\x201.2\x200\x200\x200\x201.04\x201.8h10.564a1.2\x201.2\x200\x200\x200\x201.04-1.8l-5.282-9.15a1.2\x201.2\x200\x200\x200-1.64-.44Zm.05\x208.363a.301.301\x200\x200\x201\x20.115-.023h.9a.301.301\x200\x200\x201\x20.3.3v.9a.3.3\x200\x200\x201-.3.3h-.9a.3.3\x200\x200\x201-.3-.3v-.9a.3.3\x200\x200\x201\x20.185-.277Zm-.185-4.723a.3.3\x200\x200\x201\x20.3-.3h.9a.3.3\x200\x200\x201\x20.3.3v3.4a.3.3\x200\x200\x201-.3.3h-.9a.301.301\x200\x200\x201-.3-.3v-3.4Z\x22/></svg>\x0a',this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x2c4274,{'text':_0x48ac20['to']('text')}]});}}class pt extends ut{['submitButtonView'];['showHistoryButtonView'];constructor(_0x3ca658,_0x3405db){super(_0x3ca658,_0x3405db),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',(_0x1940f9,_0xae7efb)=>{_0x1940f9['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0xae7efb());});}['_createSubmitButton'](){const _0xeafb7d=new _0x37c9e2(this['locale']),_0x1e9a06=this['locale'];return _0xeafb7d['set']({'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M15.875\x204.419a.75.75\x200\x200\x200-1.5\x200v7.25H6.818l2.33-1.955a.75.75\x200\x200\x200-.963-1.15l-3.792\x203.182a.75.75\x200\x200\x200-.17.945c.046.11.118.208.21.284l3.788\x203.18a.75.75\x200\x201\x200\x20.965-1.149l-2.19-1.837h7.629c.69\x200\x201.25-.56\x201.25-1.25v-7.5Z\x22/></svg>','label':o(_0x1e9a06,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0xeafb7d['on']('execute',()=>{this['submit']();}),_0xeafb7d['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0x13b03e,_0x51ddf4)=>!_0x13b03e&&_0x51ddf4),_0xeafb7d;}['_createShowHistoryButton'](){const _0x33e551=new _0x37c9e2(this['locale']),_0x409c1f=this['resultsView'],_0x41a3f5=this['locale'];_0x33e551['set']({'label':o(_0x41a3f5,'History'),'withText':!0x1,'icon':_0x3fa42f['history'],'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x33e551['bind']('isOn')['to'](_0x409c1f,'isVisible'),_0x33e551['bind']('isEnabled')['to'](this,'isEnabled'),_0x33e551['on']('execute',()=>{_0x409c1f['isVisible']=!_0x409c1f['isVisible'],_0x409c1f['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x1a58ea=()=>{it['window']['requestAnimationFrame'](()=>{if(lt(this['element'])){const _0x55b090=new ht(this['queryView']['fieldView']['element']),_0x39c881=_0x55b090['width'],_0x8406a6='rtl'===_0x41a3f5['uiLanguageDirection']?'left':'right';_0x55b090['excludeScrollbarsAndBorders'](),_0x33e551['element']['style'][_0x8406a6]=_0x39c881-_0x55b090['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x1a58ea),this['on']('render',_0x1a58ea),_0x33e551;}['submit'](){const _0x2f0488=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x2f0488);}['focus'](_0x102ecc){-0x1===_0x102ecc?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class rs extends _0x23869e{['historyGroupView'];['clearHistoryButton'];constructor(_0x1e6086){super(_0x1e6086),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new _0x4ee8f5(),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=o(_0x1e6086,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x412a3b=0x0;for(const _0x21d8fb of this['items'])_0x412a3b+=_0x21d8fb['items']['length'];return{'resultsCount':_0x412a3b,'totalItemsCount':_0x412a3b};}['_createClearHistoryButton'](){const _0x57b46e=this['locale'],_0xac90eb=new _0x37c9e2(this['locale']);return _0xac90eb['set']({'label':'('+o(_0x57b46e,'Clear')+')','withText':!0x0}),_0xac90eb['on']('execute',()=>this['fire']('clearHistory')),_0xac90eb;}}class N extends tt{constructor(){super(),this['set']({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x27f76f=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-button__label'],'style':_0x27f76f['to']('style'),'id':_0x27f76f['to']('id')}});}}class hs extends _0x562031{constructor(_0x2c0c65){super();const _0x24d9db=new N(),_0x4207d4=new _0x37c9e2(this['locale'],_0x24d9db);this['children']['add'](_0x4207d4),_0x4207d4['set']({'label':_0x2c0c65['prompt'],'withText':!0x0}),_0x4207d4['on']('execute',()=>{this['fire']('execute',{'value':dt(_0x2c0c65['prompt'])});});}}const cs='CKEditor/AIFormView/PromptHistory';class os extends _0x1637d2{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x2ddb85,_0x551ff6)=>{const _0x15385a=Ss(_0x551ff6['prompt']);for(const _0x4e7d20 of this)if(_0x4e7d20!=_0x551ff6&&Ss(_0x4e7d20['prompt'])===_0x15385a){this['remove'](_0x4e7d20);break;}this['length']>0x14&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x132798=sessionStorage['getItem'](cs)||'[]';this['addMany'](JSON['parse'](_0x132798));}['_saveToSessionStorage'](){sessionStorage['setItem'](cs,JSON['stringify'](this['map'](_0x457499=>_0x457499)));}}function Ss(_0x356a48){return _0x356a48['toLowerCase']()['trim']();}class x extends et{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x44e7af,_0x2d344f,_0x2f72bd=''){super(_0x44e7af),this['set']('isEnabled',!0x0),this['set']('isProcessing',!0x1),this['set']('prompt',''),this['set']('value',''),this['set']('isError',!0x1),this['set']('mainAction',E['REPLACE']),this['_promptHistory']=new os(),this['errorView']=new mt(_0x44e7af),this['contentArea']=new nt(_0x44e7af,_0x2f72bd),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 _0x388780(),this['keystrokes']=new ts(),this['_focusables']=this['createCollection']([this['contentArea'],this['contentArea']['copyButtonView'],this['toolbar'],this['promptView']]),this['focusCycler']=new _0x21f81f({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['promptView']['focusCycler']['on']('forwardCycle',_0x6f8eb0=>{this['focusCycler']['focusNext'](),_0x6f8eb0['stop']();}),this['promptView']['focusCycler']['on']('backwardCycle',_0x3843cd=>{this['focusCycler']['focusPrevious'](),_0x3843cd['stop']();}),this['promptView']['queryView']['fieldView']['bind']('value')['to'](this,'prompt');const _0x34139b=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x2d344f],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x34139b['if']('isError','ck-hidden',_0x38261f=>!_0x38261f)]},'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'](_0xc7a74f=0x1){-0x1===_0xc7a74f?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 _0x35fdca=this['locale'],_0x401a88=new pt(_0x35fdca,{'queryView':{'label':o(_0x35fdca,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':_0x5467f8,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':o(_0x35fdca,'Empty\x20history'),'secondary':o(_0x35fdca,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x401a88['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x5a7cf8,_0x395e65)=>_0x5a7cf8&&!_0x395e65),this['listenTo'](_0x401a88,'submit',(_0x38f786,_0x3f8d57)=>{this['prompt']=_0x3f8d57;const _0x579652=_0x2538ec(_0x3f8d57);this['fire']('submitPrompt',_0x579652),_0x3f8d57['trim']()&&this['_promptHistory']['add']({'prompt':_0x579652},0x0);},{'priority':'high'}),_0x401a88;}['_createHistoryView'](){const _0x10f748=new rs(this['locale']);return _0x10f748['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](hs),_0x10f748['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x10f748;}['_createToolbar'](){const _0xdcf6cc=new Tt(this['locale']);return _0xdcf6cc['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x391576,_0x3748a5,_0x48031b)=>_0x391576&&!_0x3748a5&&!!_0x48031b),_0xdcf6cc['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0xdcf6cc['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x6f9522,_0x2f448f,_0x2ebab6)=>_0x6f9522&&!_0x2f448f&&!!_0x2ebab6),_0xdcf6cc['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0xdcf6cc['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x3ca3e6,_0x1e2949)=>_0x3ca3e6&&!_0x1e2949),_0xdcf6cc['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0xdcf6cc['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0xdcf6cc['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0xdcf6cc;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x26e125=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=o(_0x26e125,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x11e3ad){const _0x29a686=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x11e3ad||o(_0x29a686,'AI_ERROR_FAILED'),this['value']||(this['contentArea']['isVisible']=!0x1);}}class U extends _0x23869e{constructor(_0x23a346){super(_0x23a346),this['role']='listbox',this['set']('enabledCommandsIds',[]),this['on']('change:enabledCommandsIds',()=>{for(const _0x92c771 of this['items'])if(_0x92c771 instanceof _0x4ee8f5){for(const _0x4f1caf of _0x92c771['items'])if(_0x4f1caf instanceof $){const _0x1d6e75=_0x4f1caf['children']['get'](0x0);this['enabledCommandsIds']['includes'](_0x4f1caf['commandDefinition']['id'])?_0x1d6e75['isEnabled']=!0x0:_0x1d6e75['isEnabled']=!0x1;}}});}['filter'](_0x33fb79){let _0x4e1fc9=0x0,_0x1d2afb=0x0;for(const _0x2244ee of this['items']){const _0x4d7947=_0x2244ee,_0x35b3d5=_0x4d7947['items'],_0x2ac40d=_0x33fb79&&!!_0x4d7947['label']['match'](_0x33fb79);_0x4d7947['labelView']['highlightText'](_0x2ac40d?_0x33fb79:null);for(const _0x3760a8 of _0x35b3d5){const _0x2f3b21=_0x3760a8['children']['first'],_0x330a0e=_0x2f3b21['labelView'];if(_0x33fb79){const _0x5390f5=!!_0x2f3b21['label']['match'](_0x33fb79);_0x330a0e['highlightText'](_0x5390f5?_0x33fb79:null),_0x3760a8['isVisible']=_0x2ac40d||_0x5390f5;}else _0x3760a8['isVisible']=!0x0,_0x330a0e['highlightText'](null);}const _0x3f4001=_0x35b3d5['filter'](_0x39c2ec=>_0x39c2ec['isVisible'])['length'];_0x4e1fc9+=_0x4d7947['items']['length'],_0x1d2afb+=_0x2ac40d?_0x4d7947['items']['length']:_0x3f4001,_0x4d7947['isVisible']=_0x2ac40d||!!_0x3f4001;}return{'resultsCount':_0x1d2afb,'totalItemsCount':_0x4e1fc9};}}class S extends tt{['id'];constructor(){super(),this['set']('for',void 0x0);const _0x137c02=this['bindTemplate'];this['id']='ck-editor__label_'+st(),this['extendTemplate']({'attributes':{'class':['ck','ck-label'],'id':this['id'],'for':_0x137c02['to']('for')}});}}var L='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M15.346\x209.422a.151.151\x200\x200\x201\x20.284\x200l.548\x201.484a.152.152\x200\x200\x200\x20.09.089l1.483.549a.151.151\x200\x200\x201\x200\x20.284l-1.483.548a.151.151\x200\x200\x200-.09.09l-.548\x201.483a.152.152\x200\x200\x201-.142.1.151.151\x200\x200\x201-.142-.1l-.549-1.483a.15.15\x200\x200\x200-.09-.09l-1.483-.548a.15.15\x200\x200\x201\x200-.284l1.484-.549a.152.152\x200\x200\x200\x20.089-.09l.549-1.483Z\x22/><path\x20d=\x22M16.306\x201.742a.151.151\x200\x200\x201\x20.284\x200l.549\x201.483a.15.15\x200\x200\x200\x20.089.09l1.483.548a.151.151\x200\x200\x201\x20.072.229.151.151\x200\x200\x201-.072.055l-1.483.549a.15.15\x200\x200\x200-.09.09l-.548\x201.482a.151.151\x200\x200\x201-.284\x200l-.549-1.483a.15.15\x200\x200\x200-.09-.09l-1.483-.548a.151.151\x200\x200\x201\x200-.284l1.484-.549a.152.152\x200\x200\x200\x20.09-.089l.548-1.483Z\x22/><path\x20d=\x22M7.665\x201.742a.151.151\x200\x200\x201\x20.284\x200l.549\x201.483a.151.151\x200\x200\x200\x20.09.09l1.482.548a.151.151\x200\x200\x201\x20.072.229.151.151\x200\x200\x201-.072.055l-1.483.549a.151.151\x200\x200\x200-.09.09L7.95\x206.267a.151.151\x200\x200\x201-.284\x200l-.549-1.483a.151.151\x200\x200\x200-.089-.09l-1.483-.548a.151.151\x200\x200\x201\x200-.284l1.483-.549a.151.151\x200\x200\x200\x20.09-.089l.548-1.483-.001.001Z\x22/><path\x20d=\x22M14.72\x207.946a.848.848\x200\x200\x200\x20.25-.591.824.824\x200\x200\x200-.241-.588l-1.943-1.938a.812.812\x200\x200\x200-.588-.241.838.838\x200\x200\x200-.591.25l-1.545\x201.539\x203.115\x203.115\x201.542-1.546h.001Z\x22/><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M1.19\x2015.636a.96.96\x200\x200\x201\x20.281-.679l7.835-7.834\x203.121\x203.12-7.834\x207.835a.959.959\x200\x200\x201-1.358\x200l-1.764-1.764a.96.96\x200\x200\x201-.28-.678Zm9.22-5.391-1.121-1.12-6.479\x206.478\x201.121\x201.121\x206.479-6.479Z\x22/></svg>';const T=globalThis['DataTransfer'];class n extends _0x271b0a{['_dialog'];['_formView'];['_aiAdapter'];['_aiAssistantController'];['_uiCssClasses']='';static get['pluginName'](){return'AIAssistantUI';}static get['requires'](){return[_0x52ffa2,i,y,_0x3de986];}constructor(_0x4fdc0e){super(_0x4fdc0e),_0x4fdc0e['config']['define']('ai.aiAssistant.disabledElements',['media','rawHtml','tableOfContents']),_0x4fdc0e['config']['define']('ai.aiAssistant.contentAreaCssClass',''),_0x4fdc0e['config']['define']('ai.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x4fdc0e['config']['get']('ai.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x18fb86}=this,{t:t}=_0x18fb86;this['_aiAdapter']=_0x18fb86['plugins']['get'](y),this['_dialog']=_0x18fb86['plugins']['get'](_0x3de986),this['_formView']=null,_0x18fb86['commands']['add']('showAIAssistant',new j(_0x18fb86,_0x18fb86['config']['get']('ai.aiAssistant.commands')));const _0x58f89d=_0x18fb86['commands']['get']('showAIAssistant'),_0x4280d2=_0x18fb86['plugins']['get'](i),_0x50949c=(_0x5ff8fe,_0x47b235,_0x209803,_0x3ba455)=>{const _0x4e3d1c=_0x18fb86['model']['document']['selection'];if(_0x3ba455&&_0x4e3d1c['isCollapsed']){const _0x266309=_0x3006ec(_0x4e3d1c['getSelectedBlocks']())||_0x18fb86['model']['schema']['getLimitElement'](_0x4e3d1c);_0x18fb86['model']['change'](_0x40676b=>{_0x40676b['setSelection'](_0x266309,'in');});}_0x4280d2['showFakeVisualSelection'](),_0x58f89d['execute'](_0x5ff8fe,_0x47b235,'command:'+_0x209803);};_0x18fb86['ui']['componentFactory']['add']('aiCommands',_0x244598=>{const _0x366851=_0x916814(_0x244598),_0x34cfab=_(_0x18fb86,_0x50949c),_0xb85c69=new _0x3ab867(_0x244598,{'filteredView':_0x34cfab,'queryView':{'label':o(_0x244598,'Search\x20AI\x20command')},'class':'ck-ai-commands-search','infoView':{'text':{'notFound':{'primary':o(_0x244598,'No\x20commands\x20found')},'noSearchableItems':{'primary':o(_0x244598,'No\x20commands\x20available')}}}});return _0xb85c69['on']('search',(_0x2b1663,_0x217dbb)=>{_0x217dbb['query']&&_0x217dbb['query']['length']&&_0x18fb86['ui']['ariaLiveAnnouncer']['announce'](t('%0\x20commands\x20found',_0x217dbb['resultsCount']));}),_0x366851['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x366851['bind']('isEnabled')['to'](_0x34cfab,'enabledCommandsIds',_0x4baa0a=>_0x4baa0a['length']>0x0),_0x366851['panelView']['children']['add'](_0xb85c69),_0x366851['buttonView']['set']({'label':o(_0x244598,'AI\x20Commands'),'icon':L,'tooltip':!0x0}),_0x366851['on']('change:isOpen',(_0x119a51,_0x2007f7,_0x1dde87)=>{_0x1dde87?(_0xb85c69['reset'](),_0x4280d2['showFakeVisualSelection'](!0x0),_0x34cfab['element']['scrollTo'](0x0,0x0)):_0x4280d2['hideFakeVisualSelection'](!0x0);}),_0x366851;}),_0x18fb86['ui']['componentFactory']['add']('menuBar:aiCommands',_0x351535=>{const _0x50bc9a=new _0x569916(_0x351535),_0x16c211=_(_0x18fb86,_0x50949c);_0x50bc9a['buttonView']['set']({'label':o(_0x351535,'AI\x20Commands'),'icon':L}),_0x50bc9a['bind']('isEnabled')['to'](_0x16c211,'enabledCommandsIds',_0x72ec83=>_0x72ec83['length']>0x0);const _0x2c6c88=new _0x459662(_0x351535);return H(_0x18fb86,_0x18fb86['config']['get']('ai.aiAssistant.commands'))['map'](({groupId:_0x159877,groupLabel:_0x5542da,commands:_0x38bd7a})=>{const _0x4c7922=new _0x44b3e1(_0x351535,_0x50bc9a),_0x1fa0e2=new _0x569916(_0x351535),_0x1f4f62=new _0x459662(_0x351535),_0x4e902d=H(_0x18fb86,_0x38bd7a)['map'](_0x3ada4b=>{const _0x4ac45a=new _0x44b3e1(_0x351535,_0x1fa0e2),_0x529e6a=new _0xb865dc(_0x351535);return _0x529e6a['set']({'label':_0x3ada4b['label']}),_0x529e6a['delegate']('execute')['to'](_0x1fa0e2),_0x529e6a['on']('execute',()=>{_0x50949c(_0x3ada4b['prompt'],_0x3ada4b['label'],_0x3ada4b['id'],void 0x0===_0x3ada4b['requiresContent']||_0x3ada4b['requiresContent']);}),_0x4ac45a['children']['add'](_0x529e6a),_0x4ac45a;});_0x1fa0e2['buttonView']['set']({'label':_0x5542da||_0x159877}),_0x1fa0e2['delegate']('execute')['to'](_0x50bc9a),_0x1f4f62['items']['addMany'](_0x4e902d),_0x1fa0e2['panelView']['children']['add'](_0x1f4f62),_0x4c7922['children']['add'](_0x1fa0e2),_0x2c6c88['items']['add'](_0x4c7922);}),_0x50bc9a['panelView']['children']['add'](_0x2c6c88),_0x50bc9a;}),_0x18fb86['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x2975e9=this['_createAIAssistantUIButton'](_0x37c9e2);return _0x2975e9['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x2975e9;}),_0x18fb86['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>this['_createAIAssistantUIButton'](_0xb865dc));}['afterInit'](){!function(_0x3159c9){function _0x329b1a(_0x58cd38,_0x49e8a7,_0xe94e27){const _0x2e57c6={};_0x2e57c6[_0x3f0e22([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x2e57c6[_0x3f0e22([0x72,0x63,0x6f,0x6e])]=[0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36,0x6c,0xd8,0xab,0x4d,0x9a,0x2f,0x5e,0xbc,0x63,0xc6,0x97,0x35,0x6a,0xd4,0xb3,0x7d,0xfa,0xef,0xc5,0x91],_0x2e57c6[_0x3f0e22([0x53])]=[0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x1,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0,0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15,0x4,0xc7,0x23,0xc3,0x18,0x96,0x5,0x9a,0x7,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75,0x9,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84,0x53,0xd1,0x0,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf,0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x2,0x7f,0x50,0x3c,0x9f,0xa8,0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2,0xcd,0xc,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73,0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0xb,0xdb,0xe0,0x32,0x3a,0xa,0x49,0x6,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79,0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x8,0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a,0x70,0x3e,0xb5,0x66,0x48,0x3,0xf6,0xe,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e,0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf,0x8c,0xa1,0x89,0xd,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0xf,0xb0,0x54,0xbb,0x16],_0x2e57c6[_0x3f0e22([0x54,0x31])]=[0xc66363a5,0xf87c7c84,0xee777799,0xf67b7b8d,0xfff2f20d,0xd66b6bbd,0xde6f6fb1,0x91c5c554,0x60303050,0x2010103,0xce6767a9,0x562b2b7d,0xe7fefe19,0xb5d7d762,0x4dababe6,0xec76769a,0x8fcaca45,0x1f82829d,0x89c9c940,0xfa7d7d87,0xeffafa15,0xb25959eb,0x8e4747c9,0xfbf0f00b,0x41adadec,0xb3d4d467,0x5fa2a2fd,0x45afafea,0x239c9cbf,0x53a4a4f7,0xe4727296,0x9bc0c05b,0x75b7b7c2,0xe1fdfd1c,0x3d9393ae,0x4c26266a,0x6c36365a,0x7e3f3f41,0xf5f7f702,0x83cccc4f,0x6834345c,0x51a5a5f4,0xd1e5e534,0xf9f1f108,0xe2717193,0xabd8d873,0x62313153,0x2a15153f,0x804040c,0x95c7c752,0x46232365,0x9dc3c35e,0x30181828,0x379696a1,0xa05050f,0x2f9a9ab5,0xe070709,0x24121236,0x1b80809b,0xdfe2e23d,0xcdebeb26,0x4e272769,0x7fb2b2cd,0xea75759f,0x1209091b,0x1d83839e,0x582c2c74,0x341a1a2e,0x361b1b2d,0xdc6e6eb2,0xb45a5aee,0x5ba0a0fb,0xa45252f6,0x763b3b4d,0xb7d6d661,0x7db3b3ce,0x5229297b,0xdde3e33e,0x5e2f2f71,0x13848497,0xa65353f5,0xb9d1d168,0x0,0xc1eded2c,0x40202060,0xe3fcfc1f,0x79b1b1c8,0xb65b5bed,0xd46a6abe,0x8dcbcb46,0x67bebed9,0x7239394b,0x944a4ade,0x984c4cd4,0xb05858e8,0x85cfcf4a,0xbbd0d06b,0xc5efef2a,0x4faaaae5,0xedfbfb16,0x864343c5,0x9a4d4dd7,0x66333355,0x11858594,0x8a4545cf,0xe9f9f910,0x4020206,0xfe7f7f81,0xa05050f0,0x783c3c44,0x259f9fba,0x4ba8a8e3,0xa25151f3,0x5da3a3fe,0x804040c0,0x58f8f8a,0x3f9292ad,0x219d9dbc,0x70383848,0xf1f5f504,0x63bcbcdf,0x77b6b6c1,0xafdada75,0x42212163,0x20101030,0xe5ffff1a,0xfdf3f30e,0xbfd2d26d,0x81cdcd4c,0x180c0c14,0x26131335,0xc3ecec2f,0xbe5f5fe1,0x359797a2,0x884444cc,0x2e171739,0x93c4c457,0x55a7a7f2,0xfc7e7e82,0x7a3d3d47,0xc86464ac,0xba5d5de7,0x3219192b,0xe6737395,0xc06060a0,0x19818198,0x9e4f4fd1,0xa3dcdc7f,0x44222266,0x542a2a7e,0x3b9090ab,0xb888883,0x8c4646ca,0xc7eeee29,0x6bb8b8d3,0x2814143c,0xa7dede79,0xbc5e5ee2,0x160b0b1d,0xaddbdb76,0xdbe0e03b,0x64323256,0x743a3a4e,0x140a0a1e,0x924949db,0xc06060a,0x4824246c,0xb85c5ce4,0x9fc2c25d,0xbdd3d36e,0x43acacef,0xc46262a6,0x399191a8,0x319595a4,0xd3e4e437,0xf279798b,0xd5e7e732,0x8bc8c843,0x6e373759,0xda6d6db7,0x18d8d8c,0xb1d5d564,0x9c4e4ed2,0x49a9a9e0,0xd86c6cb4,0xac5656fa,0xf3f4f407,0xcfeaea25,0xca6565af,0xf47a7a8e,0x47aeaee9,0x10080818,0x6fbabad5,0xf0787888,0x4a25256f,0x5c2e2e72,0x381c1c24,0x57a6a6f1,0x73b4b4c7,0x97c6c651,0xcbe8e823,0xa1dddd7c,0xe874749c,0x3e1f1f21,0x964b4bdd,0x61bdbddc,0xd8b8b86,0xf8a8a85,0xe0707090,0x7c3e3e42,0x71b5b5c4,0xcc6666aa,0x904848d8,0x6030305,0xf7f6f601,0x1c0e0e12,0xc26161a3,0x6a35355f,0xae5757f9,0x69b9b9d0,0x17868691,0x99c1c158,0x3a1d1d27,0x279e9eb9,0xd9e1e138,0xebf8f813,0x2b9898b3,0x22111133,0xd26969bb,0xa9d9d970,0x78e8e89,0x339494a7,0x2d9b9bb6,0x3c1e1e22,0x15878792,0xc9e9e920,0x87cece49,0xaa5555ff,0x50282878,0xa5dfdf7a,0x38c8c8f,0x59a1a1f8,0x9898980,0x1a0d0d17,0x65bfbfda,0xd7e6e631,0x844242c6,0xd06868b8,0x824141c3,0x299999b0,0x5a2d2d77,0x1e0f0f11,0x7bb0b0cb,0xa85454fc,0x6dbbbbd6,0x2c16163a],_0x2e57c6[_0x3f0e22([0x54,0x32])]=[0xa5c66363,0x84f87c7c,0x99ee7777,0x8df67b7b,0xdfff2f2,0xbdd66b6b,0xb1de6f6f,0x5491c5c5,0x50603030,0x3020101,0xa9ce6767,0x7d562b2b,0x19e7fefe,0x62b5d7d7,0xe64dabab,0x9aec7676,0x458fcaca,0x9d1f8282,0x4089c9c9,0x87fa7d7d,0x15effafa,0xebb25959,0xc98e4747,0xbfbf0f0,0xec41adad,0x67b3d4d4,0xfd5fa2a2,0xea45afaf,0xbf239c9c,0xf753a4a4,0x96e47272,0x5b9bc0c0,0xc275b7b7,0x1ce1fdfd,0xae3d9393,0x6a4c2626,0x5a6c3636,0x417e3f3f,0x2f5f7f7,0x4f83cccc,0x5c683434,0xf451a5a5,0x34d1e5e5,0x8f9f1f1,0x93e27171,0x73abd8d8,0x53623131,0x3f2a1515,0xc080404,0x5295c7c7,0x65462323,0x5e9dc3c3,0x28301818,0xa1379696,0xf0a0505,0xb52f9a9a,0x90e0707,0x36241212,0x9b1b8080,0x3ddfe2e2,0x26cdebeb,0x694e2727,0xcd7fb2b2,0x9fea7575,0x1b120909,0x9e1d8383,0x74582c2c,0x2e341a1a,0x2d361b1b,0xb2dc6e6e,0xeeb45a5a,0xfb5ba0a0,0xf6a45252,0x4d763b3b,0x61b7d6d6,0xce7db3b3,0x7b522929,0x3edde3e3,0x715e2f2f,0x97138484,0xf5a65353,0x68b9d1d1,0x0,0x2cc1eded,0x60402020,0x1fe3fcfc,0xc879b1b1,0xedb65b5b,0xbed46a6a,0x468dcbcb,0xd967bebe,0x4b723939,0xde944a4a,0xd4984c4c,0xe8b05858,0x4a85cfcf,0x6bbbd0d0,0x2ac5efef,0xe54faaaa,0x16edfbfb,0xc5864343,0xd79a4d4d,0x55663333,0x94118585,0xcf8a4545,0x10e9f9f9,0x6040202,0x81fe7f7f,0xf0a05050,0x44783c3c,0xba259f9f,0xe34ba8a8,0xf3a25151,0xfe5da3a3,0xc0804040,0x8a058f8f,0xad3f9292,0xbc219d9d,0x48703838,0x4f1f5f5,0xdf63bcbc,0xc177b6b6,0x75afdada,0x63422121,0x30201010,0x1ae5ffff,0xefdf3f3,0x6dbfd2d2,0x4c81cdcd,0x14180c0c,0x35261313,0x2fc3ecec,0xe1be5f5f,0xa2359797,0xcc884444,0x392e1717,0x5793c4c4,0xf255a7a7,0x82fc7e7e,0x477a3d3d,0xacc86464,0xe7ba5d5d,0x2b321919,0x95e67373,0xa0c06060,0x98198181,0xd19e4f4f,0x7fa3dcdc,0x66442222,0x7e542a2a,0xab3b9090,0x830b8888,0xca8c4646,0x29c7eeee,0xd36bb8b8,0x3c281414,0x79a7dede,0xe2bc5e5e,0x1d160b0b,0x76addbdb,0x3bdbe0e0,0x56643232,0x4e743a3a,0x1e140a0a,0xdb924949,0xa0c0606,0x6c482424,0xe4b85c5c,0x5d9fc2c2,0x6ebdd3d3,0xef43acac,0xa6c46262,0xa8399191,0xa4319595,0x37d3e4e4,0x8bf27979,0x32d5e7e7,0x438bc8c8,0x596e3737,0xb7da6d6d,0x8c018d8d,0x64b1d5d5,0xd29c4e4e,0xe049a9a9,0xb4d86c6c,0xfaac5656,0x7f3f4f4,0x25cfeaea,0xafca6565,0x8ef47a7a,0xe947aeae,0x18100808,0xd56fbaba,0x88f07878,0x6f4a2525,0x725c2e2e,0x24381c1c,0xf157a6a6,0xc773b4b4,0x5197c6c6,0x23cbe8e8,0x7ca1dddd,0x9ce87474,0x213e1f1f,0xdd964b4b,0xdc61bdbd,0x860d8b8b,0x850f8a8a,0x90e07070,0x427c3e3e,0xc471b5b5,0xaacc6666,0xd8904848,0x5060303,0x1f7f6f6,0x121c0e0e,0xa3c26161,0x5f6a3535,0xf9ae5757,0xd069b9b9,0x91178686,0x5899c1c1,0x273a1d1d,0xb9279e9e,0x38d9e1e1,0x13ebf8f8,0xb32b9898,0x33221111,0xbbd26969,0x70a9d9d9,0x89078e8e,0xa7339494,0xb62d9b9b,0x223c1e1e,0x92158787,0x20c9e9e9,0x4987cece,0xffaa5555,0x78502828,0x7aa5dfdf,0x8f038c8c,0xf859a1a1,0x80098989,0x171a0d0d,0xda65bfbf,0x31d7e6e6,0xc6844242,0xb8d06868,0xc3824141,0xb0299999,0x775a2d2d,0x111e0f0f,0xcb7bb0b0,0xfca85454,0xd66dbbbb,0x3a2c1616],_0x2e57c6[_0x3f0e22([0x54,0x33])]=[0x63a5c663,0x7c84f87c,0x7799ee77,0x7b8df67b,0xf20dfff2,0x6bbdd66b,0x6fb1de6f,0xc55491c5,0x30506030,0x1030201,0x67a9ce67,0x2b7d562b,0xfe19e7fe,0xd762b5d7,0xabe64dab,0x769aec76,0xca458fca,0x829d1f82,0xc94089c9,0x7d87fa7d,0xfa15effa,0x59ebb259,0x47c98e47,0xf00bfbf0,0xadec41ad,0xd467b3d4,0xa2fd5fa2,0xafea45af,0x9cbf239c,0xa4f753a4,0x7296e472,0xc05b9bc0,0xb7c275b7,0xfd1ce1fd,0x93ae3d93,0x266a4c26,0x365a6c36,0x3f417e3f,0xf702f5f7,0xcc4f83cc,0x345c6834,0xa5f451a5,0xe534d1e5,0xf108f9f1,0x7193e271,0xd873abd8,0x31536231,0x153f2a15,0x40c0804,0xc75295c7,0x23654623,0xc35e9dc3,0x18283018,0x96a13796,0x50f0a05,0x9ab52f9a,0x7090e07,0x12362412,0x809b1b80,0xe23ddfe2,0xeb26cdeb,0x27694e27,0xb2cd7fb2,0x759fea75,0x91b1209,0x839e1d83,0x2c74582c,0x1a2e341a,0x1b2d361b,0x6eb2dc6e,0x5aeeb45a,0xa0fb5ba0,0x52f6a452,0x3b4d763b,0xd661b7d6,0xb3ce7db3,0x297b5229,0xe33edde3,0x2f715e2f,0x84971384,0x53f5a653,0xd168b9d1,0x0,0xed2cc1ed,0x20604020,0xfc1fe3fc,0xb1c879b1,0x5bedb65b,0x6abed46a,0xcb468dcb,0xbed967be,0x394b7239,0x4ade944a,0x4cd4984c,0x58e8b058,0xcf4a85cf,0xd06bbbd0,0xef2ac5ef,0xaae54faa,0xfb16edfb,0x43c58643,0x4dd79a4d,0x33556633,0x85941185,0x45cf8a45,0xf910e9f9,0x2060402,0x7f81fe7f,0x50f0a050,0x3c44783c,0x9fba259f,0xa8e34ba8,0x51f3a251,0xa3fe5da3,0x40c08040,0x8f8a058f,0x92ad3f92,0x9dbc219d,0x38487038,0xf504f1f5,0xbcdf63bc,0xb6c177b6,0xda75afda,0x21634221,0x10302010,0xff1ae5ff,0xf30efdf3,0xd26dbfd2,0xcd4c81cd,0xc14180c,0x13352613,0xec2fc3ec,0x5fe1be5f,0x97a23597,0x44cc8844,0x17392e17,0xc45793c4,0xa7f255a7,0x7e82fc7e,0x3d477a3d,0x64acc864,0x5de7ba5d,0x192b3219,0x7395e673,0x60a0c060,0x81981981,0x4fd19e4f,0xdc7fa3dc,0x22664422,0x2a7e542a,0x90ab3b90,0x88830b88,0x46ca8c46,0xee29c7ee,0xb8d36bb8,0x143c2814,0xde79a7de,0x5ee2bc5e,0xb1d160b,0xdb76addb,0xe03bdbe0,0x32566432,0x3a4e743a,0xa1e140a,0x49db9249,0x60a0c06,0x246c4824,0x5ce4b85c,0xc25d9fc2,0xd36ebdd3,0xacef43ac,0x62a6c462,0x91a83991,0x95a43195,0xe437d3e4,0x798bf279,0xe732d5e7,0xc8438bc8,0x37596e37,0x6db7da6d,0x8d8c018d,0xd564b1d5,0x4ed29c4e,0xa9e049a9,0x6cb4d86c,0x56faac56,0xf407f3f4,0xea25cfea,0x65afca65,0x7a8ef47a,0xaee947ae,0x8181008,0xbad56fba,0x7888f078,0x256f4a25,0x2e725c2e,0x1c24381c,0xa6f157a6,0xb4c773b4,0xc65197c6,0xe823cbe8,0xdd7ca1dd,0x749ce874,0x1f213e1f,0x4bdd964b,0xbddc61bd,0x8b860d8b,0x8a850f8a,0x7090e070,0x3e427c3e,0xb5c471b5,0x66aacc66,0x48d89048,0x3050603,0xf601f7f6,0xe121c0e,0x61a3c261,0x355f6a35,0x57f9ae57,0xb9d069b9,0x86911786,0xc15899c1,0x1d273a1d,0x9eb9279e,0xe138d9e1,0xf813ebf8,0x98b32b98,0x11332211,0x69bbd269,0xd970a9d9,0x8e89078e,0x94a73394,0x9bb62d9b,0x1e223c1e,0x87921587,0xe920c9e9,0xce4987ce,0x55ffaa55,0x28785028,0xdf7aa5df,0x8c8f038c,0xa1f859a1,0x89800989,0xd171a0d,0xbfda65bf,0xe631d7e6,0x42c68442,0x68b8d068,0x41c38241,0x99b02999,0x2d775a2d,0xf111e0f,0xb0cb7bb0,0x54fca854,0xbbd66dbb,0x163a2c16],_0x2e57c6[_0x3f0e22([0x54,0x34])]=[0x6363a5c6,0x7c7c84f8,0x777799ee,0x7b7b8df6,0xf2f20dff,0x6b6bbdd6,0x6f6fb1de,0xc5c55491,0x30305060,0x1010302,0x6767a9ce,0x2b2b7d56,0xfefe19e7,0xd7d762b5,0xababe64d,0x76769aec,0xcaca458f,0x82829d1f,0xc9c94089,0x7d7d87fa,0xfafa15ef,0x5959ebb2,0x4747c98e,0xf0f00bfb,0xadadec41,0xd4d467b3,0xa2a2fd5f,0xafafea45,0x9c9cbf23,0xa4a4f753,0x727296e4,0xc0c05b9b,0xb7b7c275,0xfdfd1ce1,0x9393ae3d,0x26266a4c,0x36365a6c,0x3f3f417e,0xf7f702f5,0xcccc4f83,0x34345c68,0xa5a5f451,0xe5e534d1,0xf1f108f9,0x717193e2,0xd8d873ab,0x31315362,0x15153f2a,0x4040c08,0xc7c75295,0x23236546,0xc3c35e9d,0x18182830,0x9696a137,0x5050f0a,0x9a9ab52f,0x707090e,0x12123624,0x80809b1b,0xe2e23ddf,0xebeb26cd,0x2727694e,0xb2b2cd7f,0x75759fea,0x9091b12,0x83839e1d,0x2c2c7458,0x1a1a2e34,0x1b1b2d36,0x6e6eb2dc,0x5a5aeeb4,0xa0a0fb5b,0x5252f6a4,0x3b3b4d76,0xd6d661b7,0xb3b3ce7d,0x29297b52,0xe3e33edd,0x2f2f715e,0x84849713,0x5353f5a6,0xd1d168b9,0x0,0xeded2cc1,0x20206040,0xfcfc1fe3,0xb1b1c879,0x5b5bedb6,0x6a6abed4,0xcbcb468d,0xbebed967,0x39394b72,0x4a4ade94,0x4c4cd498,0x5858e8b0,0xcfcf4a85,0xd0d06bbb,0xefef2ac5,0xaaaae54f,0xfbfb16ed,0x4343c586,0x4d4dd79a,0x33335566,0x85859411,0x4545cf8a,0xf9f910e9,0x2020604,0x7f7f81fe,0x5050f0a0,0x3c3c4478,0x9f9fba25,0xa8a8e34b,0x5151f3a2,0xa3a3fe5d,0x4040c080,0x8f8f8a05,0x9292ad3f,0x9d9dbc21,0x38384870,0xf5f504f1,0xbcbcdf63,0xb6b6c177,0xdada75af,0x21216342,0x10103020,0xffff1ae5,0xf3f30efd,0xd2d26dbf,0xcdcd4c81,0xc0c1418,0x13133526,0xecec2fc3,0x5f5fe1be,0x9797a235,0x4444cc88,0x1717392e,0xc4c45793,0xa7a7f255,0x7e7e82fc,0x3d3d477a,0x6464acc8,0x5d5de7ba,0x19192b32,0x737395e6,0x6060a0c0,0x81819819,0x4f4fd19e,0xdcdc7fa3,0x22226644,0x2a2a7e54,0x9090ab3b,0x8888830b,0x4646ca8c,0xeeee29c7,0xb8b8d36b,0x14143c28,0xdede79a7,0x5e5ee2bc,0xb0b1d16,0xdbdb76ad,0xe0e03bdb,0x32325664,0x3a3a4e74,0xa0a1e14,0x4949db92,0x6060a0c,0x24246c48,0x5c5ce4b8,0xc2c25d9f,0xd3d36ebd,0xacacef43,0x6262a6c4,0x9191a839,0x9595a431,0xe4e437d3,0x79798bf2,0xe7e732d5,0xc8c8438b,0x3737596e,0x6d6db7da,0x8d8d8c01,0xd5d564b1,0x4e4ed29c,0xa9a9e049,0x6c6cb4d8,0x5656faac,0xf4f407f3,0xeaea25cf,0x6565afca,0x7a7a8ef4,0xaeaee947,0x8081810,0xbabad56f,0x787888f0,0x25256f4a,0x2e2e725c,0x1c1c2438,0xa6a6f157,0xb4b4c773,0xc6c65197,0xe8e823cb,0xdddd7ca1,0x74749ce8,0x1f1f213e,0x4b4bdd96,0xbdbddc61,0x8b8b860d,0x8a8a850f,0x707090e0,0x3e3e427c,0xb5b5c471,0x6666aacc,0x4848d890,0x3030506,0xf6f601f7,0xe0e121c,0x6161a3c2,0x35355f6a,0x5757f9ae,0xb9b9d069,0x86869117,0xc1c15899,0x1d1d273a,0x9e9eb927,0xe1e138d9,0xf8f813eb,0x9898b32b,0x11113322,0x6969bbd2,0xd9d970a9,0x8e8e8907,0x9494a733,0x9b9bb62d,0x1e1e223c,0x87879215,0xe9e920c9,0xcece4987,0x5555ffaa,0x28287850,0xdfdf7aa5,0x8c8c8f03,0xa1a1f859,0x89898009,0xd0d171a,0xbfbfda65,0xe6e631d7,0x4242c684,0x6868b8d0,0x4141c382,0x9999b029,0x2d2d775a,0xf0f111e,0xb0b0cb7b,0x5454fca8,0xbbbbd66d,0x16163a2c],_0x2e57c6[_0x3f0e22([0x55,0x31])]=[0x0,0xe090d0b,0x1c121a16,0x121b171d,0x3824342c,0x362d3927,0x24362e3a,0x2a3f2331,0x70486858,0x7e416553,0x6c5a724e,0x62537f45,0x486c5c74,0x4665517f,0x547e4662,0x5a774b69,0xe090d0b0,0xee99ddbb,0xfc82caa6,0xf28bc7ad,0xd8b4e49c,0xd6bde997,0xc4a6fe8a,0xcaaff381,0x90d8b8e8,0x9ed1b5e3,0x8ccaa2fe,0x82c3aff5,0xa8fc8cc4,0xa6f581cf,0xb4ee96d2,0xbae79bd9,0xdb3bbb7b,0xd532b670,0xc729a16d,0xc920ac66,0xe31f8f57,0xed16825c,0xff0d9541,0xf104984a,0xab73d323,0xa57ade28,0xb761c935,0xb968c43e,0x9357e70f,0x9d5eea04,0x8f45fd19,0x814cf012,0x3bab6bcb,0x35a266c0,0x27b971dd,0x29b07cd6,0x38f5fe7,0xd8652ec,0x1f9d45f1,0x119448fa,0x4be30393,0x45ea0e98,0x57f11985,0x59f8148e,0x73c737bf,0x7dce3ab4,0x6fd52da9,0x61dc20a2,0xad766df6,0xa37f60fd,0xb16477e0,0xbf6d7aeb,0x955259da,0x9b5b54d1,0x894043cc,0x87494ec7,0xdd3e05ae,0xd33708a5,0xc12c1fb8,0xcf2512b3,0xe51a3182,0xeb133c89,0xf9082b94,0xf701269f,0x4de6bd46,0x43efb04d,0x51f4a750,0x5ffdaa5b,0x75c2896a,0x7bcb8461,0x69d0937c,0x67d99e77,0x3daed51e,0x33a7d815,0x21bccf08,0x2fb5c203,0x58ae132,0xb83ec39,0x1998fb24,0x1791f62f,0x764dd68d,0x7844db86,0x6a5fcc9b,0x6456c190,0x4e69e2a1,0x4060efaa,0x527bf8b7,0x5c72f5bc,0x605bed5,0x80cb3de,0x1a17a4c3,0x141ea9c8,0x3e218af9,0x302887f2,0x223390ef,0x2c3a9de4,0x96dd063d,0x98d40b36,0x8acf1c2b,0x84c61120,0xaef93211,0xa0f03f1a,0xb2eb2807,0xbce2250c,0xe6956e65,0xe89c636e,0xfa877473,0xf48e7978,0xdeb15a49,0xd0b85742,0xc2a3405f,0xccaa4d54,0x41ecdaf7,0x4fe5d7fc,0x5dfec0e1,0x53f7cdea,0x79c8eedb,0x77c1e3d0,0x65daf4cd,0x6bd3f9c6,0x31a4b2af,0x3fadbfa4,0x2db6a8b9,0x23bfa5b2,0x9808683,0x7898b88,0x15929c95,0x1b9b919e,0xa17c0a47,0xaf75074c,0xbd6e1051,0xb3671d5a,0x99583e6b,0x97513360,0x854a247d,0x8b432976,0xd134621f,0xdf3d6f14,0xcd267809,0xc32f7502,0xe9105633,0xe7195b38,0xf5024c25,0xfb0b412e,0x9ad7618c,0x94de6c87,0x86c57b9a,0x88cc7691,0xa2f355a0,0xacfa58ab,0xbee14fb6,0xb0e842bd,0xea9f09d4,0xe49604df,0xf68d13c2,0xf8841ec9,0xd2bb3df8,0xdcb230f3,0xcea927ee,0xc0a02ae5,0x7a47b13c,0x744ebc37,0x6655ab2a,0x685ca621,0x42638510,0x4c6a881b,0x5e719f06,0x5078920d,0xa0fd964,0x406d46f,0x161dc372,0x1814ce79,0x322bed48,0x3c22e043,0x2e39f75e,0x2030fa55,0xec9ab701,0xe293ba0a,0xf088ad17,0xfe81a01c,0xd4be832d,0xdab78e26,0xc8ac993b,0xc6a59430,0x9cd2df59,0x92dbd252,0x80c0c54f,0x8ec9c844,0xa4f6eb75,0xaaffe67e,0xb8e4f163,0xb6edfc68,0xc0a67b1,0x2036aba,0x10187da7,0x1e1170ac,0x342e539d,0x3a275e96,0x283c498b,0x26354480,0x7c420fe9,0x724b02e2,0x605015ff,0x6e5918f4,0x44663bc5,0x4a6f36ce,0x587421d3,0x567d2cd8,0x37a10c7a,0x39a80171,0x2bb3166c,0x25ba1b67,0xf853856,0x18c355d,0x13972240,0x1d9e2f4b,0x47e96422,0x49e06929,0x5bfb7e34,0x55f2733f,0x7fcd500e,0x71c45d05,0x63df4a18,0x6dd64713,0xd731dcca,0xd938d1c1,0xcb23c6dc,0xc52acbd7,0xef15e8e6,0xe11ce5ed,0xf307f2f0,0xfd0efffb,0xa779b492,0xa970b999,0xbb6bae84,0xb562a38f,0x9f5d80be,0x91548db5,0x834f9aa8,0x8d4697a3],_0x2e57c6[_0x3f0e22([0x55,0x32])]=[0x0,0xb0e090d,0x161c121a,0x1d121b17,0x2c382434,0x27362d39,0x3a24362e,0x312a3f23,0x58704868,0x537e4165,0x4e6c5a72,0x4562537f,0x74486c5c,0x7f466551,0x62547e46,0x695a774b,0xb0e090d0,0xbbee99dd,0xa6fc82ca,0xadf28bc7,0x9cd8b4e4,0x97d6bde9,0x8ac4a6fe,0x81caaff3,0xe890d8b8,0xe39ed1b5,0xfe8ccaa2,0xf582c3af,0xc4a8fc8c,0xcfa6f581,0xd2b4ee96,0xd9bae79b,0x7bdb3bbb,0x70d532b6,0x6dc729a1,0x66c920ac,0x57e31f8f,0x5ced1682,0x41ff0d95,0x4af10498,0x23ab73d3,0x28a57ade,0x35b761c9,0x3eb968c4,0xf9357e7,0x49d5eea,0x198f45fd,0x12814cf0,0xcb3bab6b,0xc035a266,0xdd27b971,0xd629b07c,0xe7038f5f,0xec0d8652,0xf11f9d45,0xfa119448,0x934be303,0x9845ea0e,0x8557f119,0x8e59f814,0xbf73c737,0xb47dce3a,0xa96fd52d,0xa261dc20,0xf6ad766d,0xfda37f60,0xe0b16477,0xebbf6d7a,0xda955259,0xd19b5b54,0xcc894043,0xc787494e,0xaedd3e05,0xa5d33708,0xb8c12c1f,0xb3cf2512,0x82e51a31,0x89eb133c,0x94f9082b,0x9ff70126,0x464de6bd,0x4d43efb0,0x5051f4a7,0x5b5ffdaa,0x6a75c289,0x617bcb84,0x7c69d093,0x7767d99e,0x1e3daed5,0x1533a7d8,0x821bccf,0x32fb5c2,0x32058ae1,0x390b83ec,0x241998fb,0x2f1791f6,0x8d764dd6,0x867844db,0x9b6a5fcc,0x906456c1,0xa14e69e2,0xaa4060ef,0xb7527bf8,0xbc5c72f5,0xd50605be,0xde080cb3,0xc31a17a4,0xc8141ea9,0xf93e218a,0xf2302887,0xef223390,0xe42c3a9d,0x3d96dd06,0x3698d40b,0x2b8acf1c,0x2084c611,0x11aef932,0x1aa0f03f,0x7b2eb28,0xcbce225,0x65e6956e,0x6ee89c63,0x73fa8774,0x78f48e79,0x49deb15a,0x42d0b857,0x5fc2a340,0x54ccaa4d,0xf741ecda,0xfc4fe5d7,0xe15dfec0,0xea53f7cd,0xdb79c8ee,0xd077c1e3,0xcd65daf4,0xc66bd3f9,0xaf31a4b2,0xa43fadbf,0xb92db6a8,0xb223bfa5,0x83098086,0x8807898b,0x9515929c,0x9e1b9b91,0x47a17c0a,0x4caf7507,0x51bd6e10,0x5ab3671d,0x6b99583e,0x60975133,0x7d854a24,0x768b4329,0x1fd13462,0x14df3d6f,0x9cd2678,0x2c32f75,0x33e91056,0x38e7195b,0x25f5024c,0x2efb0b41,0x8c9ad761,0x8794de6c,0x9a86c57b,0x9188cc76,0xa0a2f355,0xabacfa58,0xb6bee14f,0xbdb0e842,0xd4ea9f09,0xdfe49604,0xc2f68d13,0xc9f8841e,0xf8d2bb3d,0xf3dcb230,0xeecea927,0xe5c0a02a,0x3c7a47b1,0x37744ebc,0x2a6655ab,0x21685ca6,0x10426385,0x1b4c6a88,0x65e719f,0xd507892,0x640a0fd9,0x6f0406d4,0x72161dc3,0x791814ce,0x48322bed,0x433c22e0,0x5e2e39f7,0x552030fa,0x1ec9ab7,0xae293ba,0x17f088ad,0x1cfe81a0,0x2dd4be83,0x26dab78e,0x3bc8ac99,0x30c6a594,0x599cd2df,0x5292dbd2,0x4f80c0c5,0x448ec9c8,0x75a4f6eb,0x7eaaffe6,0x63b8e4f1,0x68b6edfc,0xb10c0a67,0xba02036a,0xa710187d,0xac1e1170,0x9d342e53,0x963a275e,0x8b283c49,0x80263544,0xe97c420f,0xe2724b02,0xff605015,0xf46e5918,0xc544663b,0xce4a6f36,0xd3587421,0xd8567d2c,0x7a37a10c,0x7139a801,0x6c2bb316,0x6725ba1b,0x560f8538,0x5d018c35,0x40139722,0x4b1d9e2f,0x2247e964,0x2949e069,0x345bfb7e,0x3f55f273,0xe7fcd50,0x571c45d,0x1863df4a,0x136dd647,0xcad731dc,0xc1d938d1,0xdccb23c6,0xd7c52acb,0xe6ef15e8,0xede11ce5,0xf0f307f2,0xfbfd0eff,0x92a779b4,0x99a970b9,0x84bb6bae,0x8fb562a3,0xbe9f5d80,0xb591548d,0xa8834f9a,0xa38d4697],_0x2e57c6[_0x3f0e22([0x55,0x33])]=[0x0,0xd0b0e09,0x1a161c12,0x171d121b,0x342c3824,0x3927362d,0x2e3a2436,0x23312a3f,0x68587048,0x65537e41,0x724e6c5a,0x7f456253,0x5c74486c,0x517f4665,0x4662547e,0x4b695a77,0xd0b0e090,0xddbbee99,0xcaa6fc82,0xc7adf28b,0xe49cd8b4,0xe997d6bd,0xfe8ac4a6,0xf381caaf,0xb8e890d8,0xb5e39ed1,0xa2fe8cca,0xaff582c3,0x8cc4a8fc,0x81cfa6f5,0x96d2b4ee,0x9bd9bae7,0xbb7bdb3b,0xb670d532,0xa16dc729,0xac66c920,0x8f57e31f,0x825ced16,0x9541ff0d,0x984af104,0xd323ab73,0xde28a57a,0xc935b761,0xc43eb968,0xe70f9357,0xea049d5e,0xfd198f45,0xf012814c,0x6bcb3bab,0x66c035a2,0x71dd27b9,0x7cd629b0,0x5fe7038f,0x52ec0d86,0x45f11f9d,0x48fa1194,0x3934be3,0xe9845ea,0x198557f1,0x148e59f8,0x37bf73c7,0x3ab47dce,0x2da96fd5,0x20a261dc,0x6df6ad76,0x60fda37f,0x77e0b164,0x7aebbf6d,0x59da9552,0x54d19b5b,0x43cc8940,0x4ec78749,0x5aedd3e,0x8a5d337,0x1fb8c12c,0x12b3cf25,0x3182e51a,0x3c89eb13,0x2b94f908,0x269ff701,0xbd464de6,0xb04d43ef,0xa75051f4,0xaa5b5ffd,0x896a75c2,0x84617bcb,0x937c69d0,0x9e7767d9,0xd51e3dae,0xd81533a7,0xcf0821bc,0xc2032fb5,0xe132058a,0xec390b83,0xfb241998,0xf62f1791,0xd68d764d,0xdb867844,0xcc9b6a5f,0xc1906456,0xe2a14e69,0xefaa4060,0xf8b7527b,0xf5bc5c72,0xbed50605,0xb3de080c,0xa4c31a17,0xa9c8141e,0x8af93e21,0x87f23028,0x90ef2233,0x9de42c3a,0x63d96dd,0xb3698d4,0x1c2b8acf,0x112084c6,0x3211aef9,0x3f1aa0f0,0x2807b2eb,0x250cbce2,0x6e65e695,0x636ee89c,0x7473fa87,0x7978f48e,0x5a49deb1,0x5742d0b8,0x405fc2a3,0x4d54ccaa,0xdaf741ec,0xd7fc4fe5,0xc0e15dfe,0xcdea53f7,0xeedb79c8,0xe3d077c1,0xf4cd65da,0xf9c66bd3,0xb2af31a4,0xbfa43fad,0xa8b92db6,0xa5b223bf,0x86830980,0x8b880789,0x9c951592,0x919e1b9b,0xa47a17c,0x74caf75,0x1051bd6e,0x1d5ab367,0x3e6b9958,0x33609751,0x247d854a,0x29768b43,0x621fd134,0x6f14df3d,0x7809cd26,0x7502c32f,0x5633e910,0x5b38e719,0x4c25f502,0x412efb0b,0x618c9ad7,0x6c8794de,0x7b9a86c5,0x769188cc,0x55a0a2f3,0x58abacfa,0x4fb6bee1,0x42bdb0e8,0x9d4ea9f,0x4dfe496,0x13c2f68d,0x1ec9f884,0x3df8d2bb,0x30f3dcb2,0x27eecea9,0x2ae5c0a0,0xb13c7a47,0xbc37744e,0xab2a6655,0xa621685c,0x85104263,0x881b4c6a,0x9f065e71,0x920d5078,0xd9640a0f,0xd46f0406,0xc372161d,0xce791814,0xed48322b,0xe0433c22,0xf75e2e39,0xfa552030,0xb701ec9a,0xba0ae293,0xad17f088,0xa01cfe81,0x832dd4be,0x8e26dab7,0x993bc8ac,0x9430c6a5,0xdf599cd2,0xd25292db,0xc54f80c0,0xc8448ec9,0xeb75a4f6,0xe67eaaff,0xf163b8e4,0xfc68b6ed,0x67b10c0a,0x6aba0203,0x7da71018,0x70ac1e11,0x539d342e,0x5e963a27,0x498b283c,0x44802635,0xfe97c42,0x2e2724b,0x15ff6050,0x18f46e59,0x3bc54466,0x36ce4a6f,0x21d35874,0x2cd8567d,0xc7a37a1,0x17139a8,0x166c2bb3,0x1b6725ba,0x38560f85,0x355d018c,0x22401397,0x2f4b1d9e,0x642247e9,0x692949e0,0x7e345bfb,0x733f55f2,0x500e7fcd,0x5d0571c4,0x4a1863df,0x47136dd6,0xdccad731,0xd1c1d938,0xc6dccb23,0xcbd7c52a,0xe8e6ef15,0xe5ede11c,0xf2f0f307,0xfffbfd0e,0xb492a779,0xb999a970,0xae84bb6b,0xa38fb562,0x80be9f5d,0x8db59154,0x9aa8834f,0x97a38d46],_0x2e57c6[_0x3f0e22([0x55,0x34])]=[0x0,0x90d0b0e,0x121a161c,0x1b171d12,0x24342c38,0x2d392736,0x362e3a24,0x3f23312a,0x48685870,0x4165537e,0x5a724e6c,0x537f4562,0x6c5c7448,0x65517f46,0x7e466254,0x774b695a,0x90d0b0e0,0x99ddbbee,0x82caa6fc,0x8bc7adf2,0xb4e49cd8,0xbde997d6,0xa6fe8ac4,0xaff381ca,0xd8b8e890,0xd1b5e39e,0xcaa2fe8c,0xc3aff582,0xfc8cc4a8,0xf581cfa6,0xee96d2b4,0xe79bd9ba,0x3bbb7bdb,0x32b670d5,0x29a16dc7,0x20ac66c9,0x1f8f57e3,0x16825ced,0xd9541ff,0x4984af1,0x73d323ab,0x7ade28a5,0x61c935b7,0x68c43eb9,0x57e70f93,0x5eea049d,0x45fd198f,0x4cf01281,0xab6bcb3b,0xa266c035,0xb971dd27,0xb07cd629,0x8f5fe703,0x8652ec0d,0x9d45f11f,0x9448fa11,0xe303934b,0xea0e9845,0xf1198557,0xf8148e59,0xc737bf73,0xce3ab47d,0xd52da96f,0xdc20a261,0x766df6ad,0x7f60fda3,0x6477e0b1,0x6d7aebbf,0x5259da95,0x5b54d19b,0x4043cc89,0x494ec787,0x3e05aedd,0x3708a5d3,0x2c1fb8c1,0x2512b3cf,0x1a3182e5,0x133c89eb,0x82b94f9,0x1269ff7,0xe6bd464d,0xefb04d43,0xf4a75051,0xfdaa5b5f,0xc2896a75,0xcb84617b,0xd0937c69,0xd99e7767,0xaed51e3d,0xa7d81533,0xbccf0821,0xb5c2032f,0x8ae13205,0x83ec390b,0x98fb2419,0x91f62f17,0x4dd68d76,0x44db8678,0x5fcc9b6a,0x56c19064,0x69e2a14e,0x60efaa40,0x7bf8b752,0x72f5bc5c,0x5bed506,0xcb3de08,0x17a4c31a,0x1ea9c814,0x218af93e,0x2887f230,0x3390ef22,0x3a9de42c,0xdd063d96,0xd40b3698,0xcf1c2b8a,0xc6112084,0xf93211ae,0xf03f1aa0,0xeb2807b2,0xe2250cbc,0x956e65e6,0x9c636ee8,0x877473fa,0x8e7978f4,0xb15a49de,0xb85742d0,0xa3405fc2,0xaa4d54cc,0xecdaf741,0xe5d7fc4f,0xfec0e15d,0xf7cdea53,0xc8eedb79,0xc1e3d077,0xdaf4cd65,0xd3f9c66b,0xa4b2af31,0xadbfa43f,0xb6a8b92d,0xbfa5b223,0x80868309,0x898b8807,0x929c9515,0x9b919e1b,0x7c0a47a1,0x75074caf,0x6e1051bd,0x671d5ab3,0x583e6b99,0x51336097,0x4a247d85,0x4329768b,0x34621fd1,0x3d6f14df,0x267809cd,0x2f7502c3,0x105633e9,0x195b38e7,0x24c25f5,0xb412efb,0xd7618c9a,0xde6c8794,0xc57b9a86,0xcc769188,0xf355a0a2,0xfa58abac,0xe14fb6be,0xe842bdb0,0x9f09d4ea,0x9604dfe4,0x8d13c2f6,0x841ec9f8,0xbb3df8d2,0xb230f3dc,0xa927eece,0xa02ae5c0,0x47b13c7a,0x4ebc3774,0x55ab2a66,0x5ca62168,0x63851042,0x6a881b4c,0x719f065e,0x78920d50,0xfd9640a,0x6d46f04,0x1dc37216,0x14ce7918,0x2bed4832,0x22e0433c,0x39f75e2e,0x30fa5520,0x9ab701ec,0x93ba0ae2,0x88ad17f0,0x81a01cfe,0xbe832dd4,0xb78e26da,0xac993bc8,0xa59430c6,0xd2df599c,0xdbd25292,0xc0c54f80,0xc9c8448e,0xf6eb75a4,0xffe67eaa,0xe4f163b8,0xedfc68b6,0xa67b10c,0x36aba02,0x187da710,0x1170ac1e,0x2e539d34,0x275e963a,0x3c498b28,0x35448026,0x420fe97c,0x4b02e272,0x5015ff60,0x5918f46e,0x663bc544,0x6f36ce4a,0x7421d358,0x7d2cd856,0xa10c7a37,0xa8017139,0xb3166c2b,0xba1b6725,0x8538560f,0x8c355d01,0x97224013,0x9e2f4b1d,0xe9642247,0xe0692949,0xfb7e345b,0xf2733f55,0xcd500e7f,0xc45d0571,0xdf4a1863,0xd647136d,0x31dccad7,0x38d1c1d9,0x23c6dccb,0x2acbd7c5,0x15e8e6ef,0x1ce5ede1,0x7f2f0f3,0xefffbfd,0x79b492a7,0x70b999a9,0x6bae84bb,0x62a38fb5,0x5d80be9f,0x548db591,0x4f9aa883,0x4697a38d];const _0x45c008=new Uint8Array(0x10);for(let _0x48134d=0xf;_0x48134d>=0x0;--_0x48134d)_0x45c008[_0x48134d]=_0xe94e27%0x100,_0xe94e27=parseInt(_0xe94e27/0x100);let _0x26f1b5=null,_0x2cffa7=0x10;const _0x187ebf=new Uint8Array(_0x49e8a7),_0x1c00be=[],_0x2183a2=[];_0x2819c6();for(let _0x1b7501=0x0;_0x1b7501<_0x58cd38[_0x3f0e22([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b7501++)0x10===_0x2cffa7&&(_0x26f1b5=_0x1bedd2(_0x45c008),_0x2cffa7=0x0,_0x27ca9c(_0x45c008)),_0x58cd38[_0x1b7501]^=_0x26f1b5[_0x2cffa7++];return _0x58cd38;function _0x321809(_0x4cc38a){const _0x14dcae=[];for(let _0x48b0d4=0x0;_0x48b0d4<_0x4cc38a[_0x3f0e22([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48b0d4+=0x4)_0x14dcae[_0x3f0e22([0x70,0x75,0x73,0x68])](_0x4cc38a[_0x48b0d4]<<0x18|_0x4cc38a[_0x48b0d4+0x1]<<0x10|_0x4cc38a[_0x48b0d4+0x2]<<0x8|_0x4cc38a[_0x48b0d4+0x3]);return _0x14dcae;}function _0x27ca9c(_0x37a153){for(let _0x1850e8=0xf;_0x1850e8>=0x0;_0x1850e8--){if(0xff!==_0x37a153[_0x1850e8]){_0x37a153[_0x1850e8]++;break;}_0x37a153[_0x1850e8]=0x0;}}function _0x1bedd2(_0x131618){const _0x15ea73=_0x1c00be[_0x3f0e22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x542be6=[0x0,0x0,0x0,0x0];let t=_0x321809(_0x131618);for(let _0x45510d=0x0;_0x45510d<0x4;_0x45510d++)t[_0x45510d]^=_0x1c00be[0x0][_0x45510d];for(let _0x5232da=0x1;_0x5232da<_0x15ea73;_0x5232da++){for(let _0xe269ea=0x0;_0xe269ea<0x4;_0xe269ea++)_0x542be6[_0xe269ea]=_0x2e57c6[_0x3f0e22([0x54,0x31])][t[_0xe269ea]>>0x18&0xff]^_0x2e57c6[_0x3f0e22([0x54,0x32])][t[(_0xe269ea+0x1)%0x4]>>0x10&0xff]^_0x2e57c6[_0x3f0e22([0x54,0x33])][t[(_0xe269ea+0x2)%0x4]>>0x8&0xff]^_0x2e57c6[_0x3f0e22([0x54,0x34])][0xff&t[(_0xe269ea+0x3)%0x4]]^_0x1c00be[_0x5232da][_0xe269ea];t=_0x542be6[_0x3f0e22([0x73,0x6c,0x69,0x63,0x65])]();}const _0xafdd84=new Uint8Array(0x10);let _0x5b2e5c;for(let _0x3825e8=0x0;_0x3825e8<0x4;_0x3825e8++)_0x5b2e5c=_0x1c00be[_0x15ea73][_0x3825e8],_0xafdd84[0x4*_0x3825e8]=0xff&(_0x2e57c6[_0x3f0e22([0x53])][t[_0x3825e8]>>0x18&0xff]^_0x5b2e5c>>0x18),_0xafdd84[0x4*_0x3825e8+0x1]=0xff&(_0x2e57c6[_0x3f0e22([0x53])][t[(_0x3825e8+0x1)%0x4]>>0x10&0xff]^_0x5b2e5c>>0x10),_0xafdd84[0x4*_0x3825e8+0x2]=0xff&(_0x2e57c6[_0x3f0e22([0x53])][t[(_0x3825e8+0x2)%0x4]>>0x8&0xff]^_0x5b2e5c>>0x8),_0xafdd84[0x4*_0x3825e8+0x3]=0xff&(_0x2e57c6[_0x3f0e22([0x53])][0xff&t[(_0x3825e8+0x3)%0x4]]^_0x5b2e5c);return _0xafdd84;}function _0x2819c6(){const _0x3c3b8d=_0x2e57c6[_0x3f0e22([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x187ebf[_0x3f0e22([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x432217=0x0;_0x432217<=_0x3c3b8d;_0x432217++)_0x1c00be[_0x3f0e22([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2183a2[_0x3f0e22([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x4bd4b2=0x4*(_0x3c3b8d+0x1),_0xe7a5a0=_0x187ebf[_0x3f0e22([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x1b0d7d=_0x321809(_0x187ebf);let _0x3dc1df;for(let _0x153877=0x0;_0x153877<_0xe7a5a0;_0x153877++)_0x3dc1df=_0x153877>>0x2,_0x1c00be[_0x3dc1df][_0x153877%0x4]=_0x1b0d7d[_0x153877],_0x2183a2[_0x3c3b8d-_0x3dc1df][_0x153877%0x4]=_0x1b0d7d[_0x153877];let _0x35a7d4,_0x110696=0x0,t=_0xe7a5a0;for(;t<_0x4bd4b2;){_0x35a7d4=_0x1b0d7d[_0xe7a5a0-0x1],_0x1b0d7d[0x0]^=_0x2e57c6[_0x3f0e22([0x53])][_0x35a7d4>>0x10&0xff]<<0x18^_0x2e57c6[_0x3f0e22([0x53])][_0x35a7d4>>0x8&0xff]<<0x10^_0x2e57c6[_0x3f0e22([0x53])][0xff&_0x35a7d4]<<0x8^_0x2e57c6[_0x3f0e22([0x53])][_0x35a7d4>>0x18&0xff]^_0x2e57c6[_0x3f0e22([0x72,0x63,0x6f,0x6e])][_0x110696]<<0x18,_0x110696+=0x1;for(let _0xf1baa3=0x1;_0xf1baa3<_0xe7a5a0/0x2;_0xf1baa3++)_0x1b0d7d[_0xf1baa3]^=_0x1b0d7d[_0xf1baa3-0x1];_0x35a7d4=_0x1b0d7d[_0xe7a5a0/0x2-0x1],_0x1b0d7d[_0xe7a5a0/0x2]^=_0x2e57c6[_0x3f0e22([0x53])][0xff&_0x35a7d4]^_0x2e57c6[_0x3f0e22([0x53])][_0x35a7d4>>0x8&0xff]<<0x8^_0x2e57c6[_0x3f0e22([0x53])][_0x35a7d4>>0x10&0xff]<<0x10^_0x2e57c6[_0x3f0e22([0x53])][_0x35a7d4>>0x18&0xff]<<0x18;for(let _0x49c76f=_0xe7a5a0/0x2+0x1;_0x49c76f<_0xe7a5a0;_0x49c76f++)_0x1b0d7d[_0x49c76f]^=_0x1b0d7d[_0x49c76f-0x1];let _0x5a96a1,_0xdb7b13,_0x53b8f4=0x0;for(;_0x53b8f4<_0xe7a5a0&&t<_0x4bd4b2;)_0x5a96a1=t>>0x2,_0xdb7b13=t%0x4,_0x1c00be[_0x5a96a1][_0xdb7b13]=_0x1b0d7d[_0x53b8f4],_0x2183a2[_0x3c3b8d-_0x5a96a1][_0xdb7b13]=_0x1b0d7d[_0x53b8f4++],t++;}for(let _0x74d47c=0x1;_0x74d47c<_0x3c3b8d;_0x74d47c++)for(let _0x567618=0x0;_0x567618<0x4;_0x567618++)_0x35a7d4=_0x2183a2[_0x74d47c][_0x567618],_0x2183a2[_0x74d47c][_0x567618]=_0x2e57c6[_0x3f0e22([0x55,0x31])][_0x35a7d4>>0x18&0xff]^_0x2e57c6[_0x3f0e22([0x55,0x32])][_0x35a7d4>>0x10&0xff]^_0x2e57c6[_0x3f0e22([0x55,0x33])][_0x35a7d4>>0x8&0xff]^_0x2e57c6[_0x3f0e22([0x55,0x34])][0xff&_0x35a7d4];}}function _0x3f0e22(_0x4cc2f3){return _0x4cc2f3['map'](_0x2173a1=>String['fromCharCode'](_0x2173a1))['join']('');}(_0x39f160=>{function _0x3200b6(){const _0x168e86=[{[_0x3f0e22([0x69,0x64])]:0x1,[_0x3f0e22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f0e22([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3f0e22([0x69,0x64])]:0x2,[_0x3f0e22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f0e22([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3f0e22([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f0e22([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3f0e22([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3f0e22([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3f0e22([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f0e22([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3f0e22([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3f0e22([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3f0e22([0x69,0x64])]:0x3,[_0x3f0e22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f0e22([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f0e22([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3f0e22([0x69,0x64])]:0x4,[_0x3f0e22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f0e22([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3f0e22([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f0e22([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3f0e22([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3f0e22([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3f0e22([0x69,0x64])]:0x5,[_0x3f0e22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f0e22([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]),[_0x3f0e22([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f0e22([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f0e22([0x66,0x67,0x69])]:[0xc]}},{[_0x3f0e22([0x69,0x64])]:0x6,[_0x3f0e22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f0e22([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f0e22([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f0e22([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f0e22([0x66,0x67,0x69])]:[0xc]}},{[_0x3f0e22([0x69,0x64])]:0x7,[_0x3f0e22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f0e22([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f0e22([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f0e22([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f0e22([0x66,0x67,0x69])]:[0xc]}},{[_0x3f0e22([0x69,0x64])]:0x8,[_0x3f0e22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f0e22([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]),[_0x3f0e22([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f0e22([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f0e22([0x66,0x67,0x69])]:[0xc]}},{[_0x3f0e22([0x69,0x64])]:0x9,[_0x3f0e22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f0e22([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f0e22([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f0e22([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f0e22([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3f0e22([0x69,0x64])]:0xa,[_0x3f0e22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x50,0x61,0x73,0x74,0x65,0x20,0x66,0x72,0x6f,0x6d,0x20,0x4f,0x66,0x66,0x69,0x63,0x65,0x20,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64]),[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x50,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x72]),[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f0e22([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]),[_0x3f0e22([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f0e22([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f0e22([0x66,0x67,0x69])]:[0xc]}},{[_0x3f0e22([0x69,0x64])]:0xb,[_0x3f0e22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f0e22([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f0e22([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3f0e22([0x69,0x64])]:0xc,[_0x3f0e22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3f0e22([0x69,0x64])]:0xd,[_0x3f0e22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f0e22([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f0e22([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f0e22([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f0e22([0x66,0x67,0x69])]:[0xc]}},{[_0x3f0e22([0x69,0x64])]:0xe,[_0x3f0e22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3f0e22([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f0e22([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])},{[_0x3f0e22([0x69,0x64])]:0xf,[_0x3f0e22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f0e22([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f0e22([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3f0e22([0x69,0x64])]:0x10,[_0x3f0e22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3f0e22([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3f0e22([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3f0e22([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3f0e22([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3f0e22([0x66,0x67,0x69])]:[0xc]}}];return _0x3228a2(_0x168e86),_0x168e86;function _0x50a864(_0x1ce3d7){return 0x1<<_0x1ce3d7-0x1;}function _0x3228a2(_0x55f142){_0x55f142[_0x3f0e22([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b28e2=>{_0x5b28e2[_0x3f0e22([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x50a864(_0x5b28e2[_0x3f0e22([0x69,0x64])]),_0x68c368(_0x5b28e2)&&_0x5b28e2[_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3228a2(_0x5b28e2[_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x68c368(_0x5236de){return _0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x5236de;}const _0x3b3f16=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x4d8e70=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0xf708a6(_0x630bda){const _0x5c448b=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x2cc6bc(_0x630bda,new Uint8Array([..._0x3b3f16,..._0x5c448b,..._0x4d8e70]));}function _0x2cc6bc(_0x41dcc0,_0xeab874){const _0x49e515=_0x307fa5(_0x41dcc0),_0x118f35=Array[_0x3f0e22([0x66,0x72,0x6f,0x6d])](_0x2edaf3(_0x49e515)),_0x4d2baf=_0x118f35[_0x3f0e22([0x70,0x6f,0x70])](),_0x4443c0=_0x118f35[_0x3f0e22([0x70,0x6f,0x70])]();return _0x26efca(_0x329b1a(_0x118f35,_0xeab874,_0x4443c0+0x100*_0x4d2baf));}function _0x307fa5(_0x4aa2e4){const _0x185490=atob(_0x4aa2e4),[_0xe11bf3,_0x6e0ca]=_0x185490[_0x3f0e22([0x73,0x70,0x6c,0x69,0x74])](_0x3f0e22([0x2d]));try{if(atob(_0x6e0ca))return atob(_0xe11bf3);}catch(_0x1ca53b){}return _0x185490;}function _0x4c5af2(_0x1d0381){try{const _0x1c4c70=_0xf708a6(_0x1d0381),_0x76cb60=JSON[_0x3f0e22([0x70,0x61,0x72,0x73,0x65])](_0x1c4c70),_0x1bd052=parseInt(_0x76cb60[_0x3f0e22([0x31])]),_0x4cd740=_0x76cb60[_0x3f0e22([0x32])]||'',_0x244611=parseInt(_0x76cb60[_0x3f0e22([0x33])]),_0x59c8d1=parseInt(_0x76cb60[_0x3f0e22([0x34])])||0x0,_0x417924=parseInt(_0x76cb60[_0x3f0e22([0x35])])||0x0;return{[_0x3f0e22([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x4cd740,[_0x3f0e22([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x59c8d1,[_0x3f0e22([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x1bd052,[_0x3f0e22([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x244611,[_0x3f0e22([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x417924};}catch(_0x442af5){return null;}}const _0x2ae6e4=_0x3200b6(),_0x2d68cc={[_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x17bdb4,[_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73])]:_0x3623de,[_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79])]:_0x16f397},_0x1734bd=_0x39f160[_0x3f0e22([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0xfc452b=_0x3f0e22([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x39f160?_0x39f160['context']:_0x39f160['editor'],_0x2a8eaa=_0x3f0e22([0x34,0x30,0x34,0x38,0x31,0x34,0x32,0x32]),_0x4ee746=_0x3f0e22([0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39]),_0x242ac6=_0xfc452b['config']['get'](_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x175d8e=_0x2ae6e4[_0x3f0e22([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x68c368)[_0x3f0e22([0x66,0x69,0x6e,0x64])](_0x21ebb0=>_0x21ebb0[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x1734bd);function _0x1b9d10(_0x1e7c9c,_0x570135){_0x2d68cc[_0x570135[_0x3f0e22([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x1e7c9c,_0x570135),_0x570135[_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x570135[_0x3f0e22([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3f0e22([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x404d71=>_0x41b1f7(_0xfc452b,_0x404d71[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3f0e22([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x489c08=>_0x1b9d10(_0x1e7c9c,_0x489c08));}function _0x17bdb4(_0x49da8a,_0x1d0ff4){_0x33f3bb(_0x106a27(_0x49da8a,_0x1d0ff4),_0x1d0ff4);}function _0x3623de(_0x267b30,_0x52eaa3){function _0xd915f6(_0x424db3,_0x4280bf){try{if(_0x41b1f7(_0xfc452b,_0x3f0e22([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x424db3){const _0x63866d=_0x5e86d6(_0xfc452b,_0x3f0e22([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3f0e22([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x63866d)/0x2>_0x424db3[_0x3f0e22([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x5a20dd(_0x4280bf[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x106a27(_0x424db3,_0x4280bf);}catch(_0x15e7af){return _0x5a20dd(_0x4280bf[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x33f3bb(_0xd915f6(_0x267b30,_0x52eaa3),_0x52eaa3);}function _0x16f397(_0x4c58a8,_0xe44e5f){const _0x193ec9=_0x4d8e70[0x0]*_0x3b3f16[0x1],_0x41d390=_0x4d8e70[0x0]*_0x3b3f16[0x2],_0x5b8c69=_0x4d8e70[0x2]*_0x3b3f16[0x2];_0x41b1f7(_0xfc452b,_0x3f0e22([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5e86d6(_0xfc452b,_0x3f0e22([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3f0e22([0x73,0x74,0x61,0x74,0x65])]==_0x3f0e22([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3545ae()]=_0x5b8c69);function _0x181eed(_0x139b60,_0x360846){try{return _0x34376a()?_0x5a20dd(_0x360846[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x56,0x61,0x6c,0x69,0x64])):_0x106a27(_0x139b60,_0x360846);}catch(_0x3ffe8f){return _0x5a20dd(_0x360846[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5713d9(_0x9dabf7,_0x1ab661){const _0x23836e=0x7;if(_0x9dabf7==_0x1ab661[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x38fb1b();else{if(_0x9dabf7==_0x1ab661[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x54,0x72,0x69,0x61,0x6c])){const _0x17a5af=_0x186328();_0x17a5af&&_0x1eb179(_0x17a5af,_0x1ab661[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5d3bcc=_0x10122b();window[_0x3f0e22([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x1eb179(_0x3f0e22([0x74,0x69,0x6d,0x65]),_0x1ab661[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5d3bcc);const _0x1ea015=_0x5e86d6(_0xfc452b,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3f0e22([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1ea015[_0x3f0e22([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x23836e?_0x1eb179(_0x3f0e22([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1ab661[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1ea015['on'](_0x3f0e22([0x61,0x64,0x64]),()=>{_0x1ea015[_0x3f0e22([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x23836e&&_0x1eb179(_0x3f0e22([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1ab661[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x186328(){if(!_0x41b1f7(_0xfc452b,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x276791 in window)if(Number['isNaN'](Number(_0x276791))){if(window[_0x276791]===_0x193ec9)return _0x3f0e22([0x74,0x69,0x6d,0x65]);if(window[_0x276791]===_0x41d390)return _0x3f0e22([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x34376a(){if(!_0x41b1f7(_0xfc452b,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x1bc585 in window)if(Number['isNaN'](Number(_0x1bc585))&&window[_0x1bc585]===_0x5b8c69)return!0x0;return!0x1;}function _0x1eb179(_0x4c5367,_0x4c990c){_0x38fb1b(),_0x5a20dd(_0x4c990c+_0x3f0e22([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x4c5367),window[_0x3545ae()]=_0x4c5367===_0x3f0e22([0x74,0x69,0x6d,0x65])?_0x193ec9:_0x41d390;}function _0x10122b(){let _0x5b1f81=_0x4d8e70[0x6]*_0x3b3f16[0x8]*_0x3b3f16[0x6];return _0x41b1f7(_0xfc452b,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5b1f81/=0xa),_0x5b1f81;}function _0x38fb1b(){const _0xb3e8f4=_0xfc452b;function _0x19dbcb(){_0x41b1f7(_0xb3e8f4,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x5e86d6(_0xb3e8f4,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3f0e22([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3f0e22([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5e86d6(_0xb3e8f4,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3f0e22([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5e86d6(_0xb3e8f4,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3f0e22([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2d129e,_0x5e86d6(_0xb3e8f4,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3f0e22([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2d129e,_0xb3e8f4[_0x3f0e22([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f0e22([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d129e,_0xb3e8f4[_0x3f0e22([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f0e22([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d129e,_0xb3e8f4[_0x3f0e22([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3f0e22([0x6d,0x6f,0x64,0x65,0x6c]))),_0x41b1f7(_0xb3e8f4,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5e86d6(_0xb3e8f4,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3f0e22([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3f0e22([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5e86d6(_0xb3e8f4,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3f0e22([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5e86d6(_0xb3e8f4,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3f0e22([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2d129e,_0x5e86d6(_0xb3e8f4,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3f0e22([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2d129e);}_0xb3e8f4[_0x3f0e22([0x73,0x74,0x61,0x74,0x65])]==_0x3f0e22([0x72,0x65,0x61,0x64,0x79])?_0x19dbcb():_0xb3e8f4[_0x3f0e22([0x6f,0x6e,0x63,0x65])](_0x3f0e22([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x41b1f7(_0xb3e8f4,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x19dbcb(),_0x41b1f7(_0xb3e8f4,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x4fd090=_0x5e86d6(_0xb3e8f4,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x3d6254=_0x4fd090['getRevision'](0x0),_0x26b7d3=_0x4fd090['getEarlierVisibleRevision'](_0x3d6254[_0x3f0e22([0x69,0x64])]);_0x5e86d6(_0xb3e8f4,_0x3f0e22([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3f0e22([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x3d6254[_0x3f0e22([0x69,0x64])],_0x26b7d3?_0x26b7d3[_0x3f0e22([0x69,0x64])]:null,0x1)['then'](()=>_0x19dbcb());}});}_0x5713d9(_0x181eed(_0x4c58a8,_0xe44e5f),_0xe44e5f);}function _0x106a27(_0x20b583,_0x5679eb){try{return _0x1df852(_0x5679eb)?_0x5a20dd(_0x5679eb[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x56,0x61,0x6c,0x69,0x64])):_0x20b583&&_0x38dd15(_0x20b583[_0x3f0e22([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x5679eb)?_0x20b583[_0x3f0e22([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3f0e22([0x6f,0x70,0x65,0x6e])][_0x3f0e22([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x2a8eaa)/0x2>_0x20b583[_0x3f0e22([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x5a20dd(_0x5679eb[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x20b583[_0x3f0e22([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x5a20dd(_0x5679eb[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x54,0x72,0x69,0x61,0x6c])):_0x5a20dd(_0x5679eb[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x56,0x61,0x6c,0x69,0x64])):_0x5a20dd(_0x5679eb[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x37a9ad){return _0x5a20dd(_0x5679eb[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x33f3bb(_0x37ca1b,_0x41e465){if(_0xfc452b instanceof _0xba95ae){const _0x2ccf79=_0xfc452b;_0x37ca1b==_0x41e465[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x32972d(_0x2ccf79):_0x37ca1b==_0x41e465[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3f0e22([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x32972d(_0x2ccf79),_0x5a20dd(_0x41e465[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x4d8e70[0x6]*_0x3b3f16[0x8]*_0x3b3f16[0x6]),_0x2ccf79[_0x3f0e22([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3f0e22([0x6f,0x6e])](_0x3f0e22([0x61,0x64,0x64]),(_0x4349d9,_0x54d296)=>{_0x37ca1b!=_0x41e465[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x37ca1b!=_0x41e465[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x37ca1b!=_0x41e465[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0xfcacf3(_0x54d296);});}else{const _0x4d45a6=_0xfc452b;_0x37ca1b==_0x41e465[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xfcacf3(_0x4d45a6):_0x37ca1b==_0x41e465[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x54,0x72,0x69,0x61,0x6c])&&_0x4d45a6[_0x3f0e22([0x6f,0x6e])](_0x3f0e22([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x1427ba=0x0;_0x4d45a6[_0x3f0e22([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f0e22([0x6f,0x6e])](_0x3f0e22([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b5b4d,_0x55d69b)=>{_0x55d69b[0x0][_0x3f0e22([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1427ba++,0x1f8===_0x1427ba&&(_0xfcacf3(_0x4d45a6),_0x5a20dd(_0x41e465[_0x3f0e22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3f0e22([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x4b5b4d[_0x3f0e22([0x6f,0x66,0x66])]());},{'priority':_0x3f0e22([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x5a20dd(_0x1a58b0){const _0x460065=_0x3545ae();return _0xfc452b[_0x460065]=_0x1a58b0,_0x1a58b0;}function _0x3545ae(){const _0x16d40f=String(window[_0x3f0e22([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3f0e22([0x6e,0x6f,0x77])]())[_0x3f0e22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3f0e22([0x2e]),'');let _0x37efdd='';for(let _0x4de2b7=0x0;_0x4de2b7<_0x16d40f[_0x3f0e22([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4de2b7+=0x2){let _0x170f60=parseInt(_0x16d40f[_0x3f0e22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4de2b7,_0x4de2b7+0x2));_0x170f60>=_0x4ee746[_0x3f0e22([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x170f60-=_0x4ee746[_0x3f0e22([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37efdd+=_0x4ee746[_0x170f60];}return _0x37efdd;}function _0x32972d(_0x16185c){for(const _0x381f32 of _0x16185c[_0x3f0e22([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0xfcacf3(_0x381f32);_0x5e86d6(_0x16185c,_0x3f0e22([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3f0e22([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x5e86d6(_0x16185c,_0x3f0e22([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3f0e22([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2d129e;}function _0xfcacf3(_0xb720d3){function _0x3f54af(){_0xb720d3[_0x3f0e22([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f0e22([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d129e,_0xb720d3[_0x3f0e22([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f0e22([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d129e,_0xb720d3[_0x3f0e22([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3f0e22([0x6d,0x6f,0x64,0x65,0x6c]));}_0xb720d3[_0x3f0e22([0x73,0x74,0x61,0x74,0x65])]==_0x3f0e22([0x72,0x65,0x61,0x64,0x79])?_0x3f54af():_0xb720d3[_0x3f0e22([0x6f,0x6e,0x63,0x65])](_0x3f0e22([0x72,0x65,0x61,0x64,0x79]),()=>_0x3f54af());}function _0x2d129e(){return null;}function _0x38dd15(_0x18cf2c,_0x44bf7e){const _0xb70701=!!(_0x18cf2c&_0x44bf7e[_0x3f0e22([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4ef8c7=_0x4e38b5(_0x18cf2c,_0x44bf7e);return _0xb70701||_0x4ef8c7;}function _0x4e38b5(_0x6918f,_0x1952bc){const _0x48b87a=(_0x1952bc[_0x3f0e22([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3f0e22([0x66,0x67,0x69])]||null;return!!_0x48b87a&&_0x2ae6e4[_0x3f0e22([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19e653=>_0x48b87a[_0x3f0e22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19e653[_0x3f0e22([0x69,0x64])]))[_0x3f0e22([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1fca17=>!_0x32ab1d(_0x1fca17))[_0x3f0e22([0x73,0x6f,0x6d,0x65])](_0x47983c=>!!(_0x6918f&_0x47983c[_0x3f0e22([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x32ab1d(_0x2297a9){const _0x200c9d={[_0x3f0e22([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])]:_0x44d392};return!!_0x2297a9['forbiddenHandler']&&_0x200c9d[_0x2297a9['forbiddenHandler']]();}function _0x44d392(){return!window[_0x3f0e22([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x41b1f7(_0xfc452b,_0x3f0e22([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x1df852(_0xe73348){if(!_0x41b1f7(_0xfc452b,_0xe73348[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x3f8452=_0xe73348[_0x3f0e22([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x3a4195=_0x3f8452[_0x3f0e22([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x1ca73e=_0x3f8452[_0x3f0e22([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x47ca53=_0x3f8452[_0x3f0e22([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x41b1f7(_0xfc452b,_0x3f0e22([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5e86d6(_0xfc452b,_0x3f0e22([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3f0e22([0x73,0x74,0x61,0x74,0x65])]==_0x3f0e22([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x3a4195)return!0x0;if(_0x41b1f7(_0xfc452b,_0x3f0e22([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x5e86d6(_0xfc452b,_0x3f0e22([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3f0e22([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3f0e22([0x65,0x6e,0x64])&&_0x1ca73e)return!0x0;return!(!_0x41b1f7(_0xfc452b,_0x3f0e22([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]))||_0x5e86d6(_0xfc452b,_0x3f0e22([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]))[_0x3f0e22([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3f0e22([0x65,0x6e,0x64])||!_0x47ca53);}function _0x41b1f7(_0x408755,_0x117c96){return _0x408755[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3f0e22([0x68,0x61,0x73])](_0x117c96);}function _0x5e86d6(_0x1a016c,_0xb41950){return _0x1a016c[_0x3f0e22([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3f0e22([0x67,0x65,0x74])](_0xb41950);}function _0x26efca(_0x10da7e){let _0x25a4dc='';for(const _0x4f3930 of _0x10da7e)_0x25a4dc+=String[_0x3f0e22([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x4f3930);return _0x25a4dc;}function _0x2edaf3(_0xb90eaf){const _0x21fe7a=new Uint8Array(_0xb90eaf[_0x3f0e22([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x5b4fe1=0x0;_0x5b4fe1<_0xb90eaf[_0x3f0e22([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b4fe1++)_0x21fe7a[_0x5b4fe1]=_0xb90eaf[_0x3f0e22([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b4fe1);return _0x21fe7a;}_0x175d8e&&_0x1b9d10(_0x4c5af2(_0x242ac6),_0x175d8e);})(_0x3159c9);}(this);}['showUI'](_0x1f458c='',_0x358e1b='',_0x53126c='custom'){const _0x340b15=this['editor'],_0x133df5=_0x340b15['editing']['view'],_0x101f40=_0x340b15['plugins']['get'](i),_0x31b1df=_0x340b15['plugins']['get'](_0x52ffa2);_0x101f40['showFakeVisualSelection']();const _0x20b46f=new T(),_0x144ca1=new ClipboardEvent('copy',{'clipboardData':_0x20b46f}),_0x54c6eb=new _0x4eba32(_0x20b46f),_0x374c1e=new _0x2601d0(_0x133df5,_0x144ca1,{'dataTransfer':_0x54c6eb});_0x31b1df['_forceMarkersCopy']('comment',()=>{_0x133df5['document']['fire']('copy',_0x374c1e);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new k(_0x340b15,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x4ff39c=_0x54c6eb['getData']('text/html');const _0x40cb33=_0x340b15['model']['document']['selection'],_0x47f7b7=Array['from'](_0x40cb33['getRanges']());0x1===_0x47f7b7['length']&&_0x47f7b7[0x0]['isFlat']&&!_0x40cb33['getSelectedElement']()&&''!==_0x4ff39c['replace'](/ /g,'')['trim']()&&(_0x4ff39c='<p>'+_0x4ff39c+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x53126c,'query':_0x1f458c,'htmlContent':_0x4ff39c,'label':_0x358e1b,'mainActionLabel':E[_0x340b15['model']['document']['selection']['isCollapsed']?'INSERT':'REPLACE']}),'aiAssistant'!==this['_dialog']['id']?this['_dialog']['show']({'id':'aiAssistant','icon':ft['robotPencil'],'title':o(this['editor']['locale'],'AI\x20Assistant'),'content':this['_formView'],'position':_0x52144d['EDITOR_TOP_SIDE'],'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_aiAssistantController']['reset'](),_0x101f40['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_createAIAssistantUIButton'](_0x329808){const _0xb56b13=this['editor'],_0x18e403=_0xb56b13['commands']['get']('showAIAssistant'),_0x25b585=new _0x329808(_0xb56b13['locale']);return _0x25b585['set']({'label':o(_0xb56b13['locale'],'AI\x20Assistant'),'icon':ft['robotPencil']}),_0x25b585['bind']('isEnabled')['to'](_0x18e403),_0x25b585['bind']('isOn')['to'](this['_dialog'],'id',_0x33dc44=>'aiAssistant'===_0x33dc44),this['listenTo'](_0x25b585,'execute',()=>{_0x25b585['isOn']?this['hideUI']():_0x18e403['execute']();}),_0x25b585;}['_initView'](){const _0x4f4509=this['editor']['plugins']['get'](i);this['_formView']=new x(this['editor']['locale'],this['_uiCssClasses'],this['editor']['config']['get']('ai.aiAssistant.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',()=>{_0x4f4509['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x4f4509['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x29c7f3,ui:{ariaLiveAnnouncer:_0x186c14}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x19db68,_0x24cf75,_0x33ff38)=>{const _0x1aa887=this['_aiAssistantController']['currentContext'];_0x33ff38?_0x186c14['announce'](o(_0x29c7f3,'AI\x20is\x20writing')):_0x1aa887&&_0x186c14['announce'](o(_0x29c7f3,'Generated\x20content:\x20%0',_0x1aa887),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x3443b7,_0x442f5f,_0x562313)=>{if(_0x562313){const _0x26d2b2=this['_formView']['errorView']['text'];_0x186c14['announce'](o(_0x29c7f3,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x26d2b2));}});}}function _(_0x50ff68,_0x30878f){const _0x1662e3=new U(_0x50ff68['locale']),_0x4941da=H(_0x50ff68,_0x50ff68['config']['get']('ai.aiAssistant.commands'))['map'](({groupId:_0x335b67,groupLabel:_0x5d1f6e,commands:_0xf9c5df})=>{const _0x2d0b6b=H(_0x50ff68,_0xf9c5df)['map'](_0x3be4ea=>function(_0x4b2237,_0xe750b0,_0x30903a){const _0x9e42b9=new $(_0x4b2237,_0x30903a),_0x108139=new N(),_0x26d0db=new _0x37c9e2(_0x4b2237,_0x108139);return _0x9e42b9['children']['add'](_0x26d0db),_0x26d0db['set']({'label':_0x30903a['label'],'withText':!0x0,'role':'option'}),_0x26d0db['on']('execute',()=>{_0xe750b0(_0x30903a['prompt'],_0x30903a['label'],_0x30903a['id'],void 0x0===_0x30903a['requiresContent']||_0x30903a['requiresContent']);}),_0x9e42b9;}(_0x50ff68['locale'],_0x30878f,_0x3be4ea));return function(_0x2b0b23,_0x25a3af,_0x53629e){const _0x15dcfe=new _0x4ee8f5(_0x2b0b23,new S());return _0x15dcfe['label']=_0x25a3af,_0x15dcfe['items']['addMany'](_0x53629e),_0x15dcfe;}(_0x50ff68['locale'],_0x5d1f6e||_0x335b67,_0x2d0b6b);});return _0x1662e3['items']['addMany'](_0x4941da),_0x1662e3['bind']('enabledCommandsIds')['to'](_0x50ff68['commands']['get']('showAIAssistant'),'enabledCommandsIds'),_0x1662e3;}class $ extends _0x562031{['commandDefinition'];constructor(_0x316653,_0x3eab42){super(_0x316653),this['commandDefinition']=_0x3eab42;}}function q(_0x54a705,_0xa84c7){return void 0x0!==_0x54a705['order']&&void 0x0===_0xa84c7['order']?0x1:void 0x0===_0x54a705['order']&&void 0x0!==_0xa84c7['order']?-0x1:void 0x0!==_0x54a705['order']&&void 0x0!==_0xa84c7['order']?_0x54a705['order']-_0xa84c7['order']:0x0;}function H(_0x3493af,_0x474d77){_0x474d77['sort'](q);const _0x12a25f={},_0x4351ce=[];for(const _0x1c1c1f of _0x474d77)if(void 0x0!==_0x1c1c1f['order']){if(_0x1c1c1f['order']in _0x12a25f)throw new _0x3078fd('ai-commands-config-order-collision',_0x3493af,{'conflictingDefinitions':[_0x1c1c1f,_0x12a25f[_0x1c1c1f['order']]]});_0x12a25f[_0x1c1c1f['order']]=_0x1c1c1f,_0x4351ce['splice'](_0x1c1c1f['order'],0x0,_0x1c1c1f);}else _0x4351ce['push'](_0x1c1c1f);return _0x4351ce;}class r extends _0x271b0a{static get['requires'](){return[n,i];}static get['pluginName'](){return'AIAssistant';}constructor(_0x4d01d5){super(_0x4d01d5);const _0x2b2936=_0x4d01d5['config'];var _0x2de4e8;_0x2b2936['define']('ai.aiAssistant.commands',[{'groupId':'editOrReview','groupLabel':o(_0x2de4e8=_0x4d01d5['locale'],'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':o(_0x2de4e8,'Improve\x20writing'),'prompt':'Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'},{'id':'makeShorter','label':o(_0x2de4e8,'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':o(_0x2de4e8,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':o(_0x2de4e8,'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':o(_0x2de4e8,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':o(_0x2de4e8,'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':o(_0x2de4e8,'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':o(_0x2de4e8,'Change\x20tone'),'commands':[{'id':'professional','label':o(_0x2de4e8,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':o(_0x2de4e8,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':o(_0x2de4e8,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':o(_0x2de4e8,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':o(_0x2de4e8,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':o(_0x2de4e8,'Change\x20style'),'commands':[{'id':'business','label':o(_0x2de4e8,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':o(_0x2de4e8,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':o(_0x2de4e8,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':o(_0x2de4e8,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':o(_0x2de4e8,'Translate'),'commands':[{'id':'translateEnglish','label':o(_0x2de4e8,'Translate\x20to\x20%0',[o(_0x2de4e8,'English')]),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':o(_0x2de4e8,'Translate\x20to\x20%0',[o(_0x2de4e8,'Spanish')]),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':o(_0x2de4e8,'Translate\x20to\x20%0',[o(_0x2de4e8,'Portuguese')]),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':o(_0x2de4e8,'Translate\x20to\x20%0',[o(_0x2de4e8,'German')]),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':o(_0x2de4e8,'Translate\x20to\x20%0',[o(_0x2de4e8,'French')]),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':o(_0x2de4e8,'Translate\x20to\x20%0',[o(_0x2de4e8,'Simplified\x20Chinese')]),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':o(_0x2de4e8,'Translate\x20to\x20%0',[o(_0x2de4e8,'Hindi')]),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':o(_0x2de4e8,'Translate\x20to\x20%0',[o(_0x2de4e8,'Arabic')]),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}]),_0x2b2936['define']('ai.aiAssistant.extraCommandGroups',[]),_0x2b2936['define']('ai.aiAssistant.removeCommands',[]);const _0x35e4dc=_0x2b2936['get']('ai.aiAssistant.commands'),_0x27c85e=_0x2b2936['get']('ai.aiAssistant.extraCommandGroups'),_0xa69455=_0x2b2936['get']('ai.aiAssistant.removeCommands');_0x27c85e['forEach'](_0xfeb3d7=>{const _0x5517ef=_0x35e4dc['find'](_0x5eff06=>_0x5eff06['groupId']===_0xfeb3d7['groupId']);_0x5517ef?_0x5517ef['commands']=_0x5517ef['commands']['concat'](_0xfeb3d7['commands']):_0x35e4dc['push'](_0xfeb3d7);}),_0x35e4dc['forEach'](_0x20f5b1=>{_0x20f5b1['commands']=_0x20f5b1['commands']['filter'](_0x568d52=>!_0xa69455['includes'](_0x568d52['id']));}),_0x2b2936['set']('ai.aiAssistant.commands',_0x35e4dc);}['init'](){const _0x131359=this['editor'];this['licenseKey']=_0x131359['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3ca614;for(const _0x4863a9 in _0x131359){const _0x529a5e=_0x4863a9,_0x127840=_0x131359[_0x529a5e];if('aiLicenseKeyTrial'===_0x127840||'aiLicenseKeyInvalid'===_0x127840||'aiLicenseKeyValid'===_0x127840||'aiLicenseKeyTrialLimit:operations'===_0x127840){delete _0x131359[_0x529a5e],_0x3ca614=_0x127840;break;}}if('aiLicenseKeyInvalid'===_0x3ca614)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3078fd('ai-invalid-license-key',null);if('aiLicenseKeyTrial'===_0x3ca614&&console['info']('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20ai\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),'aiLicenseKeyTrialLimit:operations'===_0x3ca614)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3078fd('ai-trial-license-key-reached-limit-changes',null);'aiLicenseKeyValid'===_0x3ca614&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class P extends _0x271b0a{['abortController'];static get['requires'](){return[y];}constructor(_0x31d598){super(_0x31d598),this['abortController']=new AbortController();}['init'](){this['editor']['plugins']['get'](y)['textAdapter']=this;}['abort'](){this['abortController']['signal']['aborted']||(this['abortController']['abort'](),this['abortController']=new AbortController());}async['makeRequest'](_0x49d020){return this['sendRequest'](_0x49d020)['catch'](_0x4031ad=>{if(_0x4031ad instanceof R)return Promise['reject'](_0x4031ad);if('AbortError'==_0x4031ad['name'])return Promise['resolve']();throw console['error'](_0x4031ad),new _0x3078fd('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x3ee74b,_0x2bfb18){const _0x427e56=this['editor']['locale'],_0x3d1553={'Content-Type':'application/json'};if('object'==typeof _0x3ee74b)Object['assign'](_0x3d1553,_0x3ee74b);else{if(_0x3ee74b)try{const _0x269f5f=await _0x3ee74b(_0x2bfb18);Object['assign'](_0x3d1553,_0x269f5f);}catch(_0x5752a8){return Promise['reject'](new R(o(_0x427e56,'AI_ERROR_GET_HEADERS')));}}return _0x3d1553;}async['_prepareRequestParameters'](_0x1aa2ec,_0x3cb92b){const _0x39327e=this['editor']['locale'];if('object'==typeof _0x1aa2ec)return _0x1aa2ec;try{return await _0x1aa2ec(_0x3cb92b);}catch(_0x309418){return Promise['reject'](new R(o(_0x39327e,'AI_ERROR_GET_PARAMETERS')));}}}class F extends P{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x45e78b){super(_0x45e78b),_0x45e78b['config']['define']('ai.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x45e78b['config']['get']('ai.openAI.requestParameters')||_0x45e78b['config']['define']('ai.openAI.requestParameters',{'model':'gpt-3.5-turbo','max_tokens':0x7d0,'temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x45e78b['config']['get']('ai.openAI.apiUrl'),this['_requestHeaders']=_0x45e78b['config']['get']('ai.openAI.requestHeaders')||{},this['_requestParameters']=_0x45e78b['config']['get']('ai.openAI.requestParameters');}async['sendRequest']({query:_0x1516ca,context:_0x340de4,onData:_0x3e8162,actionId:_0x581151}){const _0x1298f5=this['editor']['locale'],_0x13b34e=await this['prepareMessages'](_0x1516ca,_0x340de4,_0x581151),_0x44183a=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x581151),_0x147537=await this['_prepareRequestParameters'](this['_requestParameters'],_0x581151),_0x4dd905={'messages':_0x13b34e,..._0x147537},_0x54ff53={'method':'POST','headers':_0x44183a,'body':JSON['stringify'](_0x4dd905),'signal':this['abortController']['signal']},_0x78c730=await fetch(this['_apiUrl'],_0x54ff53);if(_0x78c730['ok'])return _0x147537['stream']?await this['_readStreamableResponse'](_0x78c730,_0x3e8162):await this['_readStaticResponse'](_0x78c730,_0x3e8162),Promise['resolve']();{const _0x158353=await _0x78c730['text']();return _0x158353['includes']('context_length_exceeded')?Promise['reject'](new R(o(_0x1298f5,'AI_ERROR_CONTEXT_LENGTH'))):_0x158353['includes']('Moderation')?Promise['reject'](new R(o(_0x1298f5,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x158353));}}async['prepareMessages'](_0x2a77cc,_0x461092,_0x32464c){let _0x1d45b3,_0x4d2910;return _0x461092?(_0x1d45b3='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.',_0x4d2910='Instruction:\x0a'+_0x2a77cc+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x461092):(_0x1d45b3='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.',_0x4d2910=_0x2a77cc),[{'role':'system','content':_0x1d45b3},{'role':'user','content':_0x4d2910}];}async['_readStreamableResponse'](_0x88a7f4,_0x5a4082){const _0x4ddba0=_0x88a7f4['body']['getReader'](),_0x3c2160=new TextDecoder();let _0x1fbdba='',_0x276cc8='',_0x3ff44c='',_0x530c28=!0x1;for(;!_0x530c28;){const {done:_0x30c223,value:_0x3e839e}=await _0x4ddba0['read'](),_0x43913e=_0x1fbdba+_0x3c2160['decode'](_0x3e839e);let _0x545b0c='';_0x530c28=_0x30c223;try{_0x545b0c=this['_cleanUpData'](_0x43913e),_0x1fbdba='';}catch(_0x29824a){_0x1fbdba=_0x43913e;continue;}_0x276cc8+=_0x545b0c,!_0x530c28&&this['_isBufferIncomplete'](_0x276cc8)||_0x276cc8&&(_0x3ff44c+=_0x276cc8,_0x276cc8='',_0x5a4082(_0x3ff44c));}return Promise['resolve']();}async['_readStaticResponse'](_0x20aeec,_0x53641b){return _0x53641b((await _0x20aeec['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x110faa){const _0x246850=_0x110faa['split']('<')['length']!==_0x110faa['split']('>')['length'],_0x5fbfc5=_0x110faa['length']<0x1e;return _0x246850&&_0x5fbfc5;}['_cleanUpData'](_0x5516f2){return _0x5516f2['split'](/\n(?![^{]*\})/g)['map'](_0x33c3bf=>_0x33c3bf['replace']('data:\x20',''))['filter'](_0x4ca330=>_0x4ca330&&_0x4ca330['length']>0x0&&'[DONE]'!==_0x4ca330)['map'](_0x4c7781=>{const {choices:_0x480395}=JSON['parse'](_0x4c7781);if(_0x480395[0x0]&&_0x480395[0x0]['delta']&&_0x480395[0x0]['delta']['content'])return _0x480395[0x0]['delta']['content'];})['filter'](_0x322e8d=>_0x322e8d)['join']('');}}class J extends P{['_apiUrl'];['_requestHeaders'];['_bedrockClientConfig'];['_requestParameters'];static get['pluginName'](){return'AWSTextAdapter';}constructor(_0x5361cb){super(_0x5361cb),_0x5361cb['config']['get']('ai.aws.requestParameters')||_0x5361cb['config']['define']('ai.aws.requestParameters',{'model':'anthropic.claude-v2','max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':'bedrock-2023-05-31','stream':!0x0}),this['_apiUrl']=_0x5361cb['config']['get']('ai.aws.apiUrl'),this['_bedrockClientConfig']=_0x5361cb['config']['get']('ai.aws.bedrockClientConfig'),this['_requestHeaders']=_0x5361cb['config']['get']('ai.aws.requestHeaders'),this['_requestParameters']=_0x5361cb['config']['get']('ai.aws.requestParameters');}async['sendRequest']({query:_0x1436a8,context:_0x2423ca,onData:_0x7b8725,actionId:_0x542520}){const {model:_0x52e3ff,stream:_0x439161,..._0x3e5314}=await this['_prepareRequestParameters'](this['_requestParameters'],_0x542520),_0x557272={'prompt':await this['preparePrompt'](_0x1436a8,_0x2423ca,_0x52e3ff,_0x542520),..._0x3e5314};this['_apiUrl']?await this['_processProxyRequest'](_0x557272,_0x52e3ff,_0x439161,_0x7b8725,_0x542520):await this['_processAWSRequest'](_0x557272,_0x52e3ff,_0x439161,_0x7b8725);}async['preparePrompt'](_0x16df45,_0x3455ce,_0x1345e2,_0x434b0f){let _0x41da4b,_0x594b51;return _0x3455ce?(_0x41da4b='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.',_0x594b51='Instruction:\x0a'+_0x16df45+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x3455ce):(_0x41da4b='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.',_0x594b51=_0x16df45),'meta.llama'==this['getModelFamily'](_0x1345e2)?'<<SYS>>\x0a'+_0x41da4b+'\x0a<</SYS>>\x0a[INST]\x0a'+_0x594b51+'\x0a[/INST]':'Human:\x0a'+_0x41da4b+'\x0a'+_0x594b51+'\x0a\x0aAssistant:';}['getModelFamily'](_0x5e268c){if(/^anthropic\.claude/['test'](_0x5e268c))return'anthropic.claude';if(/^ai21\.j2/['test'](_0x5e268c))return'ai21.j2';if(/^cohere\.command/['test'](_0x5e268c))return'cohere.command';if(/^meta\.llama/['test'](_0x5e268c))return'meta.llama';throw new R(o(this['editor']['locale'],'AI_ERROR_UNSUPPORTED_MODEL',_0x5e268c));}async['_processProxyRequest'](_0x1a2f00,_0xb6d73b,_0x159300,_0x45b066,_0x41c7aa){const _0x2a3070={'method':'POST','headers':await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x41c7aa),'body':JSON['stringify']({..._0x1a2f00,'model':_0xb6d73b,'stream':_0x159300}),'signal':this['abortController']['signal']},_0x266414=await fetch(this['_apiUrl'],_0x2a3070);_0x159300?await this['_readStreamableResponse'](_0x266414,_0xb6d73b,_0x45b066):await this['_readStaticResponse'](_0x266414,_0xb6d73b,_0x45b066);}async['_processAWSRequest'](_0x4f96ec,_0x22e78a,_0x5b2c45,_0x133645){const _0x4d8b6a=new _0x37db12(this['_bedrockClientConfig']),_0x4a86a9={'body':JSON['stringify'](_0x4f96ec),'contentType':'application/json','accept':'application/json','modelId':_0x22e78a};let _0x31d54f;if(_0x5b2c45){const _0x565cf4=new _0x26d56f(_0x4a86a9);_0x31d54f=await _0x4d8b6a['send'](_0x565cf4,{'abortSignal':this['abortController']['signal']}),await this['_readAsyncIterableResponse'](_0x31d54f,_0x22e78a,_0x133645);}else{const _0x14bf27=new _0x365f82(_0x4a86a9);_0x31d54f=await _0x4d8b6a['send'](_0x14bf27,{'abortSignal':this['abortController']['signal']}),await this['_readStaticResponse'](_0x31d54f,_0x22e78a,_0x133645);}}async['_readAsyncIterableResponse'](_0x473a8d,_0x2c1d85,_0x598f33){const _0xa17a94=_0x473a8d['body'],_0x44f300=new TextDecoder('utf-8');let _0x308177='';for await(const _0x4ece5d of _0xa17a94)if(_0x4ece5d['chunk']){const _0x496823=_0x44f300['decode'](_0x4ece5d['chunk']['bytes']),_0x5ca0a2=JSON['parse'](_0x496823);_0x308177+=this['_getGeneratedText'](_0x5ca0a2,_0x2c1d85),_0x598f33(_0x308177);}return Promise['resolve']();}async['_readStreamableResponse'](_0x5bd210,_0x324a41,_0x4b5bd7){const _0x4911cb=_0x5bd210['body'],_0x7ab507=new TextDecoder('utf-8'),_0x3658d1=_0x4911cb['getReader']();let _0x1b0221='',_0x19084c='',_0x1479c0=!0x1;for(;!_0x1479c0;){const {done:_0x5aec7b,value:_0x51ea17}=await _0x3658d1['read']();if(_0x1479c0=_0x5aec7b,_0x1479c0)break;const _0x21f045=(_0x1b0221+_0x7ab507['decode'](_0x51ea17))['split']('\x0a')['map'](_0x358612=>{try{return _0x1b0221='',JSON['parse'](_0x358612);}catch(_0x58113a){return _0x1b0221=_0x358612,null;}})['filter'](_0x3a2193=>null!==_0x3a2193);_0x21f045['length']&&(_0x19084c+=_0x21f045['map'](_0x2c900d=>this['_getGeneratedText'](_0x2c900d,_0x324a41))['join'](''),_0x4b5bd7(_0x19084c));}return Promise['resolve']();}async['_readStaticResponse'](_0x435402,_0x5989cf,_0x5149a7){let _0x2139ad;return _0x2139ad=_0x435402 instanceof Response?await _0x435402['json']():JSON['parse'](Buffer['from'](_0x435402['body'])['toString']('utf8')),(_0x5149a7(this['_getGeneratedText'](_0x2139ad,_0x5989cf)),Promise['resolve']());}['_getGeneratedText'](_0x5d9fac,_0x3f2b65){switch(this['getModelFamily'](_0x3f2b65)){case'anthropic.claude':return _0x5d9fac['completion'];case'ai21.j2':return _0x5d9fac['completions'][0x0]['data']['text'];case'cohere.command':return _0x5d9fac['generations'][0x0]['text'];case'meta.llama':return _0x5d9fac['generation'];}}}export{y as AIAdapter,r as AIAssistant,R as AIRequestError,P as AITextAdapter,J as AWSTextAdapter,F as OpenAITextAdapter};
|
|
23
|
+
import{CKEditorError as _0x1a377e,ObservableMixin as _0x1935b1,global as it,isVisible as lt,Rect as ht,Collection as _0x79e645,FocusTracker as _0x3459c8,KeystrokeHandler as ts,uid as st,first as _0x4927af}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Plugin as _0x2c47ed,Command as _0x3258bf,icons as _0x5efe6e,Context as _0x51d893}from'@ckeditor/ckeditor5-core/dist/index.js';import{ToolbarView as At,ButtonView as _0x3953a8,View as et,SpinnerView as ot,IconView as rt,AutocompleteView as ut,ListView as _0x4ec32e,ListItemGroupView as _0x32359f,HighlightedTextView as tt,ListItemView as _0x30024b,FocusCycler as _0x1b5dc3,createLabeledTextarea as _0x2b46e8,Dialog as _0x344532,createDropdown as _0x4f171f,SearchTextView as _0x4afc02,MenuBarMenuView as _0x408546,MenuBarMenuListView as _0x2a9c1f,MenuBarMenuListItemView as _0x19d449,MenuBarMenuListItemButtonView as _0x29c5a8,DialogViewPosition as _0xd8c5b8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{icons as ft}from'ckeditor5-collaboration/dist/index.js';import{UpcastWriter as _0x314ae6,Matcher as _0x2bc459,DataTransfer as _0x18b62a,DomEventData as _0x2558a5}from'@ckeditor/ckeditor5-engine/dist/index.js';import{unescape as dt,escape as _0x353ac8}from'lodash-es';import{ClipboardMarkersUtils as _0x3cb49d}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{BedrockRuntimeClient as _0x5a7cc9,InvokeModelWithResponseStreamCommand as _0x5d6bcf,InvokeModelCommand as _0x2d6d26}from'@aws-sdk/client-bedrock-runtime';const s='ai-ui',c='ai-ui-candidate';class i extends _0x2c47ed{static get['pluginName'](){return'AIAssistantEditing';}['init'](){const {editor:_0x33229e}=this,_0x2ad414=['ck-fake-ai-selection'];_0x33229e['config']['get']('ai.useTheme')&&_0x2ad414['push']('ck-ai-assistant-ui_theme'),_0x33229e['conversion']['for']('editingDowncast')['markerToHighlight']({'model':s,'view':{'classes':_0x2ad414,'priority':0xc}}),_0x33229e['conversion']['for']('editingDowncast')['markerToElement']({'model':s,'view':{'name':'span','classes':['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],'priority':0xc}}),_0x33229e['conversion']['for']('editingDowncast')['markerToHighlight']({'model':c,'view':{'classes':['ck-fake-ai-selection-candidate'],'priority':0x19}}),_0x33229e['conversion']['for']('editingDowncast')['markerToElement']({'model':c,'view':{'name':'span','classes':['ck-fake-ai-selection-candidate','ck-fake-ai-selection_collapsed'],'priority':0x19}});}['showFakeVisualSelection'](_0x31be40){const _0x1cfec1=this['editor']['model'],_0x802c9b=_0x31be40?c:s;_0x1cfec1['change'](_0x5611b5=>{const _0x51eb54=_0x1cfec1['document']['selection']['getFirstRange']();if(_0x1cfec1['markers']['has'](_0x802c9b))_0x5611b5['updateMarker'](_0x802c9b,{'range':_0x51eb54});else{if(_0x51eb54['start']['isAtEnd']){const _0x36d54a=_0x51eb54['start']['getLastMatchingPosition'](({item:_0x537d27})=>!_0x1cfec1['schema']['isContent'](_0x537d27),{'boundaries':_0x51eb54});_0x5611b5['addMarker'](_0x802c9b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5611b5['createRange'](_0x36d54a,_0x51eb54['end'])});}else _0x5611b5['addMarker'](_0x802c9b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x51eb54});}});}['hideFakeVisualSelection'](_0x6934e){const _0x176abd=this['editor']['model'],_0x39c183=_0x6934e?c:s;_0x176abd['markers']['has'](_0x39c183)&&_0x176abd['change'](_0x248793=>{_0x248793['removeMarker'](_0x39c183);});}['insertContent'](_0x2c6f63,_0x44f038){const _0x3c7764=_0x44f038||this['editor']['model']['markers']['get'](s)['getRange']();if(!this['editor']['model']['canEditAt'](_0x3c7764))return;const _0x1edbb6=this['editor']['data']['processor']['toView'](_0x2c6f63),_0x477885=this['editor']['data']['toModel'](_0x1edbb6);this['editor']['model']['change'](_0x49a3bf=>{this['hideFakeVisualSelection']();const _0x3cfe21=this['editor']['model']['insertContent'](_0x477885,_0x3c7764);_0x3cfe21&&_0x49a3bf['setSelection'](_0x3cfe21);});}['insertContentBelow'](_0x3d1202){const {model:_0x22ea04}=this['editor'],_0x476cf7=Array['from'](_0x22ea04['createSelection'](this['editor']['model']['markers']['get'](s)['getRange']())['getSelectedBlocks']()),_0x105dc5=_0x476cf7['length']?_0x22ea04['createPositionAfter'](_0x476cf7['pop']()):_0x22ea04['document']['selection']['getLastPosition']();this['insertContent'](_0x3d1202,_0x105dc5);}}class y extends _0x2c47ed{static get['pluginName'](){return'AIAdapter';}['afterInit'](){if(!this['textAdapter'])throw new _0x1a377e('aiadapter-text-adapter-not-set',null);}}class R extends Error{constructor(_0xc1d44f){super(_0xc1d44f),this['name']='AIRequestError';}}function o(_0x1b6bcc,_0x2d5ff4,_0x3fda71){const t=_0x1b6bcc['t'];switch(_0x2d5ff4){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'Translate\x20to\x20%0':return t('Translate\x20to\x20%0',_0x3fda71);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',_0x3fda71);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x3fda71);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'Search\x20AI\x20command':return t('Search\x20AI\x20command');case'No\x20commands\x20found':return t('No\x20commands\x20found');case'No\x20commands\x20available':return t('No\x20commands\x20available');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'},_0x3fda71);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_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x2d5ff4;}}class j extends _0x3258bf{['_commandDefinitions'];constructor(_0x4f3573,_0x529a29){super(_0x4f3573),this['_commandDefinitions']=_0x529a29?_0x529a29['reduce']((_0x2da66c,_0x26314b)=>_0x2da66c['concat'](_0x26314b['commands']),new Array()):[],this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x29425a,_0x526836,_0x1f8f16)=>{this['isEnabled']&&(this['enabledCommandsIds']=K(this['_commandDefinitions'],_0x1f8f16));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x2d0a6e,_0x55415d,_0x20cb9f)=>{this['enabledCommandsIds']=_0x20cb9f?K(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x4230a4=this['editor']['model'];this['_hasContext']=function(_0x434388){const _0x9d4aff=_0x434388['document']['selection'];return _0x9d4aff['isCollapsed']?0x0!==[..._0x9d4aff['getSelectedBlocks']()]['length']&&![..._0x9d4aff['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x434388['hasContent'](_0x9d4aff['getFirstRange']());}(_0x4230a4);const _0x4fbfcb=_0x4230a4['document']['selection'],_0x1f305f=this['editor']['config']['get']('ai.aiAssistant.disabledElements');for(const _0x3d07da of _0x4fbfcb['getRanges']())for(const _0xc5b726 of _0x3d07da['getItems']())if(_0xc5b726['is']('element')&&_0x1f305f['includes'](_0xc5b726['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0x36f62c='',_0xd2839e='',_0x1b31dd='custom'){this['editor']['plugins']['get'](n)['showUI'](_0x36f62c,_0xd2839e,_0x1b31dd);}}function K(_0x4b5b69,_0x481e4b){const _0x1acdd4=new Set();for(const _0x2ae5fd of _0x4b5b69)(_0x481e4b||!0x1===_0x2ae5fd['requiresContent'])&&_0x1acdd4['add'](_0x2ae5fd['id']);return Array['from'](_0x1acdd4);}const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1935b1(){['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x16c22e,_0x26f17e,_0x2ffad9){super(),this['editor']=_0x16c22e,this['textAdapter']=_0x26f17e,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x2ffad9,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x1a454a,_0x2b07f0,_0x4900e4)=>{this['view']['value']=this['_sanitizeHTML'](_0x4900e4);}),this['listenTo'](this['view'],'submitPrompt',(_0x2dfc89,_0x2741c2)=>{const _0x5cad7f=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x2741c2,_0x5cad7f,'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:_0x7f45f3,query:_0x55fe4b,htmlContent:_0x5e53fa,label:_0x580f5b,mainActionLabel:_0x46292b}){this['view']['prompt']=_0x580f5b,this['view']['mainAction']=_0x46292b,this['initialContext']=_0x5e53fa,_0x55fe4b&&(this['view']['isRendered']?this['_handleQuery'](_0x55fe4b,_0x5e53fa,_0x7f45f3,_0x580f5b):this['view']['once']('render',()=>{this['_handleQuery'](_0x55fe4b,_0x5e53fa,_0x7f45f3,_0x580f5b);}));}['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'](_0x280ef2,_0xb38849,_0x1c573c,_0x4b6737){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0xb38849,this['previousQuery']=_0x280ef2,this['previousLabel']=_0x4b6737||_0x280ef2,this['previousActionId']=_0x1c573c,new Promise(_0x3214d6=>{this['textAdapter']['makeRequest']({'query':_0x280ef2,'context':_0xb38849,'onData':_0x57798c=>{this['currentResponse']=_0x57798c,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x1c573c})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x5f23e5=>{_0x5f23e5 instanceof R?this['view']['handleError'](_0x5f23e5['message']):this['view']['handleError'](),_0x3214d6();})['finally'](()=>{this['stopProcessing'](),_0x3214d6();});});}['_parseAndNormalizeContent'](_0x10149a,_0x15be5a=!0x1){const _0xfdd7a5=X['exec'](_0x10149a);_0x10149a=_0xfdd7a5?_0x10149a['substring'](_0xfdd7a5[0x1]['length']):_0x10149a['length']<0x64&&!_0x15be5a?'':this['_stripMarkdownSyntax'](_0x10149a);const _0x4f29fb=this['_domParser']['parseFromString'](_0x10149a,'text/html');if(_0xfdd7a5){const _0x402d9b=Array['from'](_0x4f29fb['body']['childNodes']);_0x402d9b['reverse']();for(const _0x16ecbc of _0x402d9b){if(_0x16ecbc['nodeType']==Node['ELEMENT_NODE'])break;_0x16ecbc['remove']();}}const _0xae034=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x4f29fb['body']));return this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0xae034),this['editor']['data']['stringify'](this['editor']['data']['toModel'](_0xae034));}['_normalizeResponseHeadings'](_0x4bcebe){const _0x4ee5ef=new _0x314ae6(this['editor']['editing']['view']['document']),_0x5a99e4=new _0x2bc459({'name':/^h[1-5]$/}),_0x3e13db=[];let _0x5c2ae7=!0x1;for(const _0x196647 of _0x4bcebe)_0x196647['is']('element')&&_0x5a99e4['match'](_0x196647)&&(_0x3e13db['push'](_0x196647),'h1'==_0x196647['name']&&(_0x5c2ae7=!0x0));if(_0x5c2ae7){for(const _0xc5beba of _0x3e13db)_0x4ee5ef['rename']('h'+(parseInt(_0xc5beba['name'][0x1])+0x1),_0xc5beba);}}['_isH1TagSupportEnabled'](){const {data:_0x5129d8,editing:_0x53a58c}=this['editor'],_0x5729b5=_0x5129d8['htmlProcessor']['toView']('<h1></h1>'),_0x2199e2=_0x5129d8['toView'](_0x5129d8['toModel'](_0x5729b5));return!!_0x53a58c['view']['domConverter']['viewToDom'](_0x2199e2)['querySelector']('h1');}['_sanitizeHTML'](_0x2142f8){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x2142f8),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x1f1e4d){const _0x287ee0=_0x1f1e4d['trim']();return _0x287ee0['startsWith']('```html')?_0x287ee0['endsWith']('```')?_0x287ee0['substring'](0x7,_0x287ee0['length']-0x3):_0x287ee0['substring'](0x7):_0x1f1e4d;}}const E={'REPLACE':'replace','INSERT':'insert'};class Tt extends At{constructor(_0x325857){super(_0x325857),this['set']('isVisible',!0x1),this['set']('mainAction',E['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x21e4df=>o(_0x325857,'AI_'+_0x21e4df['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](o(_0x325857,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](o(_0x325857,'Try\x20again')),this['stopButton']=this['_createButton'](o(_0x325857,'Stop'));const _0x5cec3a=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x5cec3a['if']('isVisible','ck-hidden',_0x191ac7=>!_0x191ac7)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x8cb47c,_0x5821f5){const _0x5481cf=new _0x3953a8(this['locale']);return _0x5481cf['set']({'label':_0x8cb47c,'class':_0x5821f5||'','isVisible':!0x0,'withText':!0x0}),_0x5481cf;}}var ct='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M5\x202.801a.7.7\x200\x200\x200-.7.7v11.5a.8.8\x200\x200\x201-1.6\x200v-11.5a2.3\x202.3\x200\x200\x201\x202.3-2.3h6.5a.8.8\x200\x200\x201\x200\x201.6H5Zm.7\x203.7a2.3\x202.3\x200\x200\x201\x202.3-2.3h7a2.3\x202.3\x200\x200\x201\x202.3\x202.3v10a2.3\x202.3\x200\x200\x201-2.3\x202.3H8a2.3\x202.3\x200\x200\x201-2.3-2.3v-10Zm2.3-.7a.7.7\x200\x200\x200-.7.7v10a.7.7\x200\x200\x200\x20.7.7h7a.7.7\x200\x200\x200\x20.7-.7v-10a.7.7\x200\x200\x200-.7-.7H8Z\x22/></svg>';class nt extends et{['contentFieldView'];['copyButtonView'];constructor(_0x3c3ee0,_0x359322=''){super(_0x3c3ee0),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x5acaad=this['bindTemplate'];this['contentFieldView']=new gt(_0x3c3ee0,_0x359322),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x5acaad['if']('isVisible','ck-hidden',_0x2de689=>!_0x2de689)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x5acaad['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 _0x256b71=!0x1;this['on']('change:value',(_0x50e2a8,_0xa42bd,_0x59f30f)=>{const _0x38d437=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x59f30f),this['isProcessing']&&_0x38d437&&!_0x256b71&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x4b3e77,_0x46b14d,_0x321df9)=>{_0x256b71=!0x1,_0x321df9?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x256b71=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x256b71=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x5c4d45=this['locale'],_0x5c4784=new _0x3953a8(this['locale']),_0x36859e='ck-ai-form__copy-button';return _0x5c4784['set']({'label':o(_0x5c4d45,'Copy'),'icon':ct,'class':_0x36859e,'tooltip':!0x0}),_0x5c4784['bind']('isVisible')['to'](this,'value',_0x10a6ba=>!!_0x10a6ba),_0x5c4784['bind']('isEnabled')['to'](this,'isProcessing',_0xb2b722=>!_0xb2b722),_0x5c4784['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x5c4784['icon']=_0x5efe6e['check'],_0x5c4784['class']=_0x36859e+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x5c4784['icon']=ct,_0x5c4784['class']=_0x36859e;},0x3e8);}),_0x5c4784;}['_copyHTMLToClipboard'](_0x1bb2aa){const {window:_0x407e98,document:_0x28c879}=it;if(_0x407e98['ClipboardItem']){const {Blob:_0x211eb0,ClipboardItem:_0x5685ba}=_0x407e98,_0x260173=[new _0x5685ba({'text/html':new _0x211eb0([_0x1bb2aa['innerHTML']],{'type':'text/html'}),'text/plain':new _0x211eb0([_0x1bb2aa['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x260173);}else{const _0x2e2965=_0x28c879['createElement']('div');_0x2e2965['style']['position']='absolute',_0x2e2965['style']['left']='-9999px',_0x2e2965['innerHTML']='<span>[</span>'+_0x1bb2aa['innerHTML']+'<span>]</span>',_0x28c879['body']['appendChild'](_0x2e2965);const _0x5c7f8a=_0x28c879['createRange']();_0x5c7f8a['setStartAfter'](_0x2e2965['firstElementChild']),_0x5c7f8a['setEndBefore'](_0x2e2965['lastElementChild']);const _0x50c528=_0x407e98['getSelection']();_0x50c528['removeAllRanges'](),_0x50c528['addRange'](_0x5c7f8a),_0x28c879['execCommand']('copy'),_0x2e2965['remove']();}}}class gt extends et{constructor(_0x268c91,_0x5c470c=''){super(_0x268c91),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x5c470c,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x4aec78){this['element']['innerHTML']=_0x4aec78;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x58ca07=new et(),_0x1d7f7a=this['locale'],_0x25b4d7=new ot();return _0x25b4d7['isVisible']=!0x0,_0x58ca07['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x25b4d7,{'text':o(_0x1d7f7a,'AI\x20is\x20writing...')}]}),_0x58ca07['render'](),_0x58ca07;}}class mt extends et{constructor(_0x34a850,_0x373d54=''){super(_0x34a850);const _0x26027c=new rt(),_0x5efc8f=this['bindTemplate'];this['set']('text',_0x373d54),_0x26027c['content']='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M9.9\x204.385a1.2\x201.2\x200\x200\x200-.44.44h.002l-5.284\x209.15a1.2\x201.2\x200\x200\x200\x201.04\x201.8h10.564a1.2\x201.2\x200\x200\x200\x201.04-1.8l-5.282-9.15a1.2\x201.2\x200\x200\x200-1.64-.44Zm.05\x208.363a.301.301\x200\x200\x201\x20.115-.023h.9a.301.301\x200\x200\x201\x20.3.3v.9a.3.3\x200\x200\x201-.3.3h-.9a.3.3\x200\x200\x201-.3-.3v-.9a.3.3\x200\x200\x201\x20.185-.277Zm-.185-4.723a.3.3\x200\x200\x201\x20.3-.3h.9a.3.3\x200\x200\x201\x20.3.3v3.4a.3.3\x200\x200\x201-.3.3h-.9a.301.301\x200\x200\x201-.3-.3v-3.4Z\x22/></svg>\x0a',this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x26027c,{'text':_0x5efc8f['to']('text')}]});}}class pt extends ut{['submitButtonView'];['showHistoryButtonView'];constructor(_0x13d6e9,_0x555e1f){super(_0x13d6e9,_0x555e1f),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',(_0x16d26c,_0x3af701)=>{_0x16d26c['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x3af701());});}['_createSubmitButton'](){const _0x38fbd0=new _0x3953a8(this['locale']),_0x2097b7=this['locale'];return _0x38fbd0['set']({'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M15.875\x204.419a.75.75\x200\x200\x200-1.5\x200v7.25H6.818l2.33-1.955a.75.75\x200\x200\x200-.963-1.15l-3.792\x203.182a.75.75\x200\x200\x200-.17.945c.046.11.118.208.21.284l3.788\x203.18a.75.75\x200\x201\x200\x20.965-1.149l-2.19-1.837h7.629c.69\x200\x201.25-.56\x201.25-1.25v-7.5Z\x22/></svg>','label':o(_0x2097b7,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x38fbd0['on']('execute',()=>{this['submit']();}),_0x38fbd0['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0x4975ec,_0x444814)=>!_0x4975ec&&_0x444814),_0x38fbd0;}['_createShowHistoryButton'](){const _0x450c9b=new _0x3953a8(this['locale']),_0x5f0d65=this['resultsView'],_0x509682=this['locale'];_0x450c9b['set']({'label':o(_0x509682,'History'),'withText':!0x1,'icon':_0x5efe6e['history'],'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x450c9b['bind']('isOn')['to'](_0x5f0d65,'isVisible'),_0x450c9b['bind']('isEnabled')['to'](this,'isEnabled'),_0x450c9b['on']('execute',()=>{_0x5f0d65['isVisible']=!_0x5f0d65['isVisible'],_0x5f0d65['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x364104=()=>{it['window']['requestAnimationFrame'](()=>{if(lt(this['element'])){const _0x12730b=new ht(this['queryView']['fieldView']['element']),_0x5bd498=_0x12730b['width'],_0x45f82d='rtl'===_0x509682['uiLanguageDirection']?'left':'right';_0x12730b['excludeScrollbarsAndBorders'](),_0x450c9b['element']['style'][_0x45f82d]=_0x5bd498-_0x12730b['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x364104),this['on']('render',_0x364104),_0x450c9b;}['submit'](){const _0x1cdb3a=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x1cdb3a);}['focus'](_0x580357){-0x1===_0x580357?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class rs extends _0x4ec32e{['historyGroupView'];['clearHistoryButton'];constructor(_0x50e4c6){super(_0x50e4c6),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new _0x32359f(),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=o(_0x50e4c6,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x592440=0x0;for(const _0x336458 of this['items'])_0x592440+=_0x336458['items']['length'];return{'resultsCount':_0x592440,'totalItemsCount':_0x592440};}['_createClearHistoryButton'](){const _0x1bb8f9=this['locale'],_0x11709a=new _0x3953a8(this['locale']);return _0x11709a['set']({'label':'('+o(_0x1bb8f9,'Clear')+')','withText':!0x0}),_0x11709a['on']('execute',()=>this['fire']('clearHistory')),_0x11709a;}}class N extends tt{constructor(){super(),this['set']({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x4cfaf8=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-button__label'],'style':_0x4cfaf8['to']('style'),'id':_0x4cfaf8['to']('id')}});}}class hs extends _0x30024b{constructor(_0x19c4d7){super();const _0x580d0e=new N(),_0x5129b5=new _0x3953a8(this['locale'],_0x580d0e);this['children']['add'](_0x5129b5),_0x5129b5['set']({'label':_0x19c4d7['prompt'],'withText':!0x0}),_0x5129b5['on']('execute',()=>{this['fire']('execute',{'value':dt(_0x19c4d7['prompt'])});});}}const cs='CKEditor/AIFormView/PromptHistory';class os extends _0x79e645{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x29e7d7,_0x37d0c0)=>{const _0x25a100=Ss(_0x37d0c0['prompt']);for(const _0x3b75e9 of this)if(_0x3b75e9!=_0x37d0c0&&Ss(_0x3b75e9['prompt'])===_0x25a100){this['remove'](_0x3b75e9);break;}this['length']>0x14&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x101b3f=sessionStorage['getItem'](cs)||'[]';this['addMany'](JSON['parse'](_0x101b3f));}['_saveToSessionStorage'](){sessionStorage['setItem'](cs,JSON['stringify'](this['map'](_0x49e18d=>_0x49e18d)));}}function Ss(_0x2c7b94){return _0x2c7b94['toLowerCase']()['trim']();}class x extends et{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x5a0519,_0x1e7465,_0x399336=''){super(_0x5a0519),this['set']('isEnabled',!0x0),this['set']('isProcessing',!0x1),this['set']('prompt',''),this['set']('value',''),this['set']('isError',!0x1),this['set']('mainAction',E['REPLACE']),this['_promptHistory']=new os(),this['errorView']=new mt(_0x5a0519),this['contentArea']=new nt(_0x5a0519,_0x399336),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 _0x3459c8(),this['keystrokes']=new ts(),this['_focusables']=this['createCollection']([this['contentArea'],this['contentArea']['copyButtonView'],this['toolbar'],this['promptView']]),this['focusCycler']=new _0x1b5dc3({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['promptView']['focusCycler']['on']('forwardCycle',_0x4eabb0=>{this['focusCycler']['focusNext'](),_0x4eabb0['stop']();}),this['promptView']['focusCycler']['on']('backwardCycle',_0xc673ff=>{this['focusCycler']['focusPrevious'](),_0xc673ff['stop']();}),this['promptView']['queryView']['fieldView']['bind']('value')['to'](this,'prompt');const _0x57e46a=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x1e7465],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x57e46a['if']('isError','ck-hidden',_0x50a623=>!_0x50a623)]},'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'](_0x5b80ee=0x1){-0x1===_0x5b80ee?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 _0xed91d3=this['locale'],_0x5cfd01=new pt(_0xed91d3,{'queryView':{'label':o(_0xed91d3,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':_0x2b46e8,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':o(_0xed91d3,'Empty\x20history'),'secondary':o(_0xed91d3,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x5cfd01['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x353e89,_0x142939)=>_0x353e89&&!_0x142939),this['listenTo'](_0x5cfd01,'submit',(_0x286c2c,_0x841f74)=>{this['prompt']=_0x841f74;const _0x5d80b6=_0x353ac8(_0x841f74);this['fire']('submitPrompt',_0x5d80b6),_0x841f74['trim']()&&this['_promptHistory']['add']({'prompt':_0x5d80b6},0x0);},{'priority':'high'}),_0x5cfd01;}['_createHistoryView'](){const _0x39fe68=new rs(this['locale']);return _0x39fe68['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](hs),_0x39fe68['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x39fe68;}['_createToolbar'](){const _0x66db5c=new Tt(this['locale']);return _0x66db5c['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x2a33dd,_0x482d34,_0x488bcc)=>_0x2a33dd&&!_0x482d34&&!!_0x488bcc),_0x66db5c['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x66db5c['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x1a4ee7,_0x8955fd,_0x5991a2)=>_0x1a4ee7&&!_0x8955fd&&!!_0x5991a2),_0x66db5c['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x66db5c['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x317f9b,_0x353e21)=>_0x317f9b&&!_0x353e21),_0x66db5c['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x66db5c['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x66db5c['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x66db5c;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x4b78b4=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=o(_0x4b78b4,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x44ba91){const _0x2cf9fa=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x44ba91||o(_0x2cf9fa,'AI_ERROR_FAILED'),this['value']||(this['contentArea']['isVisible']=!0x1);}}class U extends _0x4ec32e{constructor(_0x10241b){super(_0x10241b),this['role']='listbox',this['set']('enabledCommandsIds',[]),this['on']('change:enabledCommandsIds',()=>{for(const _0x55ff95 of this['items'])if(_0x55ff95 instanceof _0x32359f){for(const _0xb29029 of _0x55ff95['items'])if(_0xb29029 instanceof $){const _0x308df5=_0xb29029['children']['get'](0x0);this['enabledCommandsIds']['includes'](_0xb29029['commandDefinition']['id'])?_0x308df5['isEnabled']=!0x0:_0x308df5['isEnabled']=!0x1;}}});}['filter'](_0x559ebe){let _0x40d94d=0x0,_0x457864=0x0;for(const _0x49d7c9 of this['items']){const _0x458a0d=_0x49d7c9,_0x89eccc=_0x458a0d['items'],_0xf0c7aa=_0x559ebe&&!!_0x458a0d['label']['match'](_0x559ebe);_0x458a0d['labelView']['highlightText'](_0xf0c7aa?_0x559ebe:null);for(const _0x61ea11 of _0x89eccc){const _0x25d3c8=_0x61ea11['children']['first'],_0xac89d8=_0x25d3c8['labelView'];if(_0x559ebe){const _0x22ade1=!!_0x25d3c8['label']['match'](_0x559ebe);_0xac89d8['highlightText'](_0x22ade1?_0x559ebe:null),_0x61ea11['isVisible']=_0xf0c7aa||_0x22ade1;}else _0x61ea11['isVisible']=!0x0,_0xac89d8['highlightText'](null);}const _0x5b7fb0=_0x89eccc['filter'](_0x3e7713=>_0x3e7713['isVisible'])['length'];_0x40d94d+=_0x458a0d['items']['length'],_0x457864+=_0xf0c7aa?_0x458a0d['items']['length']:_0x5b7fb0,_0x458a0d['isVisible']=_0xf0c7aa||!!_0x5b7fb0;}return{'resultsCount':_0x457864,'totalItemsCount':_0x40d94d};}}class S extends tt{['id'];constructor(){super(),this['set']('for',void 0x0);const _0x30c325=this['bindTemplate'];this['id']='ck-editor__label_'+st(),this['extendTemplate']({'attributes':{'class':['ck','ck-label'],'id':this['id'],'for':_0x30c325['to']('for')}});}}var L='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M15.346\x209.422a.151.151\x200\x200\x201\x20.284\x200l.548\x201.484a.152.152\x200\x200\x200\x20.09.089l1.483.549a.151.151\x200\x200\x201\x200\x20.284l-1.483.548a.151.151\x200\x200\x200-.09.09l-.548\x201.483a.152.152\x200\x200\x201-.142.1.151.151\x200\x200\x201-.142-.1l-.549-1.483a.15.15\x200\x200\x200-.09-.09l-1.483-.548a.15.15\x200\x200\x201\x200-.284l1.484-.549a.152.152\x200\x200\x200\x20.089-.09l.549-1.483Z\x22/><path\x20d=\x22M16.306\x201.742a.151.151\x200\x200\x201\x20.284\x200l.549\x201.483a.15.15\x200\x200\x200\x20.089.09l1.483.548a.151.151\x200\x200\x201\x20.072.229.151.151\x200\x200\x201-.072.055l-1.483.549a.15.15\x200\x200\x200-.09.09l-.548\x201.482a.151.151\x200\x200\x201-.284\x200l-.549-1.483a.15.15\x200\x200\x200-.09-.09l-1.483-.548a.151.151\x200\x200\x201\x200-.284l1.484-.549a.152.152\x200\x200\x200\x20.09-.089l.548-1.483Z\x22/><path\x20d=\x22M7.665\x201.742a.151.151\x200\x200\x201\x20.284\x200l.549\x201.483a.151.151\x200\x200\x200\x20.09.09l1.482.548a.151.151\x200\x200\x201\x20.072.229.151.151\x200\x200\x201-.072.055l-1.483.549a.151.151\x200\x200\x200-.09.09L7.95\x206.267a.151.151\x200\x200\x201-.284\x200l-.549-1.483a.151.151\x200\x200\x200-.089-.09l-1.483-.548a.151.151\x200\x200\x201\x200-.284l1.483-.549a.151.151\x200\x200\x200\x20.09-.089l.548-1.483-.001.001Z\x22/><path\x20d=\x22M14.72\x207.946a.848.848\x200\x200\x200\x20.25-.591.824.824\x200\x200\x200-.241-.588l-1.943-1.938a.812.812\x200\x200\x200-.588-.241.838.838\x200\x200\x200-.591.25l-1.545\x201.539\x203.115\x203.115\x201.542-1.546h.001Z\x22/><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M1.19\x2015.636a.96.96\x200\x200\x201\x20.281-.679l7.835-7.834\x203.121\x203.12-7.834\x207.835a.959.959\x200\x200\x201-1.358\x200l-1.764-1.764a.96.96\x200\x200\x201-.28-.678Zm9.22-5.391-1.121-1.12-6.479\x206.478\x201.121\x201.121\x206.479-6.479Z\x22/></svg>';const T=globalThis['DataTransfer'];class n extends _0x2c47ed{['_dialog'];['_formView'];['_aiAdapter'];['_aiAssistantController'];['_uiCssClasses']='';static get['pluginName'](){return'AIAssistantUI';}static get['requires'](){return[_0x3cb49d,i,y,_0x344532];}constructor(_0x5a32a0){super(_0x5a32a0),_0x5a32a0['config']['define']('ai.aiAssistant.disabledElements',['media','rawHtml','tableOfContents']),_0x5a32a0['config']['define']('ai.aiAssistant.contentAreaCssClass',''),_0x5a32a0['config']['define']('ai.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x5a32a0['config']['get']('ai.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x298603}=this,{t:t}=_0x298603;this['_aiAdapter']=_0x298603['plugins']['get'](y),this['_dialog']=_0x298603['plugins']['get'](_0x344532),this['_formView']=null,_0x298603['commands']['add']('showAIAssistant',new j(_0x298603,_0x298603['config']['get']('ai.aiAssistant.commands')));const _0x130b66=_0x298603['commands']['get']('showAIAssistant'),_0x45d60e=_0x298603['plugins']['get'](i),_0x27f306=(_0x46aa8c,_0x408ce8,_0x467f80,_0x402330)=>{const _0x47756e=_0x298603['model']['document']['selection'];if(_0x402330&&_0x47756e['isCollapsed']){const _0x35304a=_0x4927af(_0x47756e['getSelectedBlocks']())||_0x298603['model']['schema']['getLimitElement'](_0x47756e);_0x298603['model']['change'](_0x5043ae=>{_0x5043ae['setSelection'](_0x35304a,'in');});}_0x45d60e['showFakeVisualSelection'](),_0x130b66['execute'](_0x46aa8c,_0x408ce8,'command:'+_0x467f80);};_0x298603['ui']['componentFactory']['add']('aiCommands',_0x202d66=>{const _0x238bf1=_0x4f171f(_0x202d66),_0x2dee81=_(_0x298603,_0x27f306),_0x6a8c3b=new _0x4afc02(_0x202d66,{'filteredView':_0x2dee81,'queryView':{'label':o(_0x202d66,'Search\x20AI\x20command')},'class':'ck-ai-commands-search','infoView':{'text':{'notFound':{'primary':o(_0x202d66,'No\x20commands\x20found')},'noSearchableItems':{'primary':o(_0x202d66,'No\x20commands\x20available')}}}});return _0x6a8c3b['on']('search',(_0x470f21,_0x95115a)=>{_0x95115a['query']&&_0x95115a['query']['length']&&_0x298603['ui']['ariaLiveAnnouncer']['announce'](t('%0\x20commands\x20found',_0x95115a['resultsCount']));}),_0x238bf1['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x238bf1['bind']('isEnabled')['to'](_0x2dee81,'enabledCommandsIds',_0x34bd8d=>_0x34bd8d['length']>0x0),_0x238bf1['panelView']['children']['add'](_0x6a8c3b),_0x238bf1['buttonView']['set']({'label':o(_0x202d66,'AI\x20Commands'),'icon':L,'tooltip':!0x0}),_0x238bf1['on']('change:isOpen',(_0x5f61c4,_0x384668,_0x5edc28)=>{_0x5edc28?(_0x6a8c3b['reset'](),_0x45d60e['showFakeVisualSelection'](!0x0),_0x2dee81['element']['scrollTo'](0x0,0x0)):_0x45d60e['hideFakeVisualSelection'](!0x0);}),_0x238bf1;}),_0x298603['ui']['componentFactory']['add']('menuBar:aiCommands',_0x290ba6=>{const _0x5188c6=new _0x408546(_0x290ba6),_0x518ab5=_(_0x298603,_0x27f306);_0x5188c6['buttonView']['set']({'label':o(_0x290ba6,'AI\x20Commands'),'icon':L}),_0x5188c6['bind']('isEnabled')['to'](_0x518ab5,'enabledCommandsIds',_0x591534=>_0x591534['length']>0x0);const _0x58bd26=new _0x2a9c1f(_0x290ba6);return H(_0x298603,_0x298603['config']['get']('ai.aiAssistant.commands'))['map'](({groupId:_0x481b08,groupLabel:_0x3ada6d,commands:_0x22fc26})=>{const _0x26576c=new _0x19d449(_0x290ba6,_0x5188c6),_0x51ba1f=new _0x408546(_0x290ba6),_0x572c4f=new _0x2a9c1f(_0x290ba6),_0x218989=H(_0x298603,_0x22fc26)['map'](_0x4aa809=>{const _0x3d8d5d=new _0x19d449(_0x290ba6,_0x51ba1f),_0x2a7a9e=new _0x29c5a8(_0x290ba6);return _0x2a7a9e['set']({'label':_0x4aa809['label']}),_0x2a7a9e['delegate']('execute')['to'](_0x51ba1f),_0x2a7a9e['on']('execute',()=>{_0x27f306(_0x4aa809['prompt'],_0x4aa809['label'],_0x4aa809['id'],void 0x0===_0x4aa809['requiresContent']||_0x4aa809['requiresContent']);}),_0x3d8d5d['children']['add'](_0x2a7a9e),_0x3d8d5d;});_0x51ba1f['buttonView']['set']({'label':_0x3ada6d||_0x481b08}),_0x51ba1f['delegate']('execute')['to'](_0x5188c6),_0x572c4f['items']['addMany'](_0x218989),_0x51ba1f['panelView']['children']['add'](_0x572c4f),_0x26576c['children']['add'](_0x51ba1f),_0x58bd26['items']['add'](_0x26576c);}),_0x5188c6['panelView']['children']['add'](_0x58bd26),_0x5188c6;}),_0x298603['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x201268=this['_createAIAssistantUIButton'](_0x3953a8);return _0x201268['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x201268;}),_0x298603['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>this['_createAIAssistantUIButton'](_0x29c5a8));}['afterInit'](){!function(_0x17ee14){function _0x1a633f(_0x453ad6,_0x909e5d,_0xfab33b){const _0x935f7b={};_0x935f7b[_0x22f579([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x935f7b[_0x22f579([0x72,0x63,0x6f,0x6e])]=[0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36,0x6c,0xd8,0xab,0x4d,0x9a,0x2f,0x5e,0xbc,0x63,0xc6,0x97,0x35,0x6a,0xd4,0xb3,0x7d,0xfa,0xef,0xc5,0x91],_0x935f7b[_0x22f579([0x53])]=[0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x1,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0,0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15,0x4,0xc7,0x23,0xc3,0x18,0x96,0x5,0x9a,0x7,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75,0x9,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84,0x53,0xd1,0x0,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf,0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x2,0x7f,0x50,0x3c,0x9f,0xa8,0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2,0xcd,0xc,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73,0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0xb,0xdb,0xe0,0x32,0x3a,0xa,0x49,0x6,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79,0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x8,0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a,0x70,0x3e,0xb5,0x66,0x48,0x3,0xf6,0xe,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e,0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf,0x8c,0xa1,0x89,0xd,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0xf,0xb0,0x54,0xbb,0x16],_0x935f7b[_0x22f579([0x54,0x31])]=[0xc66363a5,0xf87c7c84,0xee777799,0xf67b7b8d,0xfff2f20d,0xd66b6bbd,0xde6f6fb1,0x91c5c554,0x60303050,0x2010103,0xce6767a9,0x562b2b7d,0xe7fefe19,0xb5d7d762,0x4dababe6,0xec76769a,0x8fcaca45,0x1f82829d,0x89c9c940,0xfa7d7d87,0xeffafa15,0xb25959eb,0x8e4747c9,0xfbf0f00b,0x41adadec,0xb3d4d467,0x5fa2a2fd,0x45afafea,0x239c9cbf,0x53a4a4f7,0xe4727296,0x9bc0c05b,0x75b7b7c2,0xe1fdfd1c,0x3d9393ae,0x4c26266a,0x6c36365a,0x7e3f3f41,0xf5f7f702,0x83cccc4f,0x6834345c,0x51a5a5f4,0xd1e5e534,0xf9f1f108,0xe2717193,0xabd8d873,0x62313153,0x2a15153f,0x804040c,0x95c7c752,0x46232365,0x9dc3c35e,0x30181828,0x379696a1,0xa05050f,0x2f9a9ab5,0xe070709,0x24121236,0x1b80809b,0xdfe2e23d,0xcdebeb26,0x4e272769,0x7fb2b2cd,0xea75759f,0x1209091b,0x1d83839e,0x582c2c74,0x341a1a2e,0x361b1b2d,0xdc6e6eb2,0xb45a5aee,0x5ba0a0fb,0xa45252f6,0x763b3b4d,0xb7d6d661,0x7db3b3ce,0x5229297b,0xdde3e33e,0x5e2f2f71,0x13848497,0xa65353f5,0xb9d1d168,0x0,0xc1eded2c,0x40202060,0xe3fcfc1f,0x79b1b1c8,0xb65b5bed,0xd46a6abe,0x8dcbcb46,0x67bebed9,0x7239394b,0x944a4ade,0x984c4cd4,0xb05858e8,0x85cfcf4a,0xbbd0d06b,0xc5efef2a,0x4faaaae5,0xedfbfb16,0x864343c5,0x9a4d4dd7,0x66333355,0x11858594,0x8a4545cf,0xe9f9f910,0x4020206,0xfe7f7f81,0xa05050f0,0x783c3c44,0x259f9fba,0x4ba8a8e3,0xa25151f3,0x5da3a3fe,0x804040c0,0x58f8f8a,0x3f9292ad,0x219d9dbc,0x70383848,0xf1f5f504,0x63bcbcdf,0x77b6b6c1,0xafdada75,0x42212163,0x20101030,0xe5ffff1a,0xfdf3f30e,0xbfd2d26d,0x81cdcd4c,0x180c0c14,0x26131335,0xc3ecec2f,0xbe5f5fe1,0x359797a2,0x884444cc,0x2e171739,0x93c4c457,0x55a7a7f2,0xfc7e7e82,0x7a3d3d47,0xc86464ac,0xba5d5de7,0x3219192b,0xe6737395,0xc06060a0,0x19818198,0x9e4f4fd1,0xa3dcdc7f,0x44222266,0x542a2a7e,0x3b9090ab,0xb888883,0x8c4646ca,0xc7eeee29,0x6bb8b8d3,0x2814143c,0xa7dede79,0xbc5e5ee2,0x160b0b1d,0xaddbdb76,0xdbe0e03b,0x64323256,0x743a3a4e,0x140a0a1e,0x924949db,0xc06060a,0x4824246c,0xb85c5ce4,0x9fc2c25d,0xbdd3d36e,0x43acacef,0xc46262a6,0x399191a8,0x319595a4,0xd3e4e437,0xf279798b,0xd5e7e732,0x8bc8c843,0x6e373759,0xda6d6db7,0x18d8d8c,0xb1d5d564,0x9c4e4ed2,0x49a9a9e0,0xd86c6cb4,0xac5656fa,0xf3f4f407,0xcfeaea25,0xca6565af,0xf47a7a8e,0x47aeaee9,0x10080818,0x6fbabad5,0xf0787888,0x4a25256f,0x5c2e2e72,0x381c1c24,0x57a6a6f1,0x73b4b4c7,0x97c6c651,0xcbe8e823,0xa1dddd7c,0xe874749c,0x3e1f1f21,0x964b4bdd,0x61bdbddc,0xd8b8b86,0xf8a8a85,0xe0707090,0x7c3e3e42,0x71b5b5c4,0xcc6666aa,0x904848d8,0x6030305,0xf7f6f601,0x1c0e0e12,0xc26161a3,0x6a35355f,0xae5757f9,0x69b9b9d0,0x17868691,0x99c1c158,0x3a1d1d27,0x279e9eb9,0xd9e1e138,0xebf8f813,0x2b9898b3,0x22111133,0xd26969bb,0xa9d9d970,0x78e8e89,0x339494a7,0x2d9b9bb6,0x3c1e1e22,0x15878792,0xc9e9e920,0x87cece49,0xaa5555ff,0x50282878,0xa5dfdf7a,0x38c8c8f,0x59a1a1f8,0x9898980,0x1a0d0d17,0x65bfbfda,0xd7e6e631,0x844242c6,0xd06868b8,0x824141c3,0x299999b0,0x5a2d2d77,0x1e0f0f11,0x7bb0b0cb,0xa85454fc,0x6dbbbbd6,0x2c16163a],_0x935f7b[_0x22f579([0x54,0x32])]=[0xa5c66363,0x84f87c7c,0x99ee7777,0x8df67b7b,0xdfff2f2,0xbdd66b6b,0xb1de6f6f,0x5491c5c5,0x50603030,0x3020101,0xa9ce6767,0x7d562b2b,0x19e7fefe,0x62b5d7d7,0xe64dabab,0x9aec7676,0x458fcaca,0x9d1f8282,0x4089c9c9,0x87fa7d7d,0x15effafa,0xebb25959,0xc98e4747,0xbfbf0f0,0xec41adad,0x67b3d4d4,0xfd5fa2a2,0xea45afaf,0xbf239c9c,0xf753a4a4,0x96e47272,0x5b9bc0c0,0xc275b7b7,0x1ce1fdfd,0xae3d9393,0x6a4c2626,0x5a6c3636,0x417e3f3f,0x2f5f7f7,0x4f83cccc,0x5c683434,0xf451a5a5,0x34d1e5e5,0x8f9f1f1,0x93e27171,0x73abd8d8,0x53623131,0x3f2a1515,0xc080404,0x5295c7c7,0x65462323,0x5e9dc3c3,0x28301818,0xa1379696,0xf0a0505,0xb52f9a9a,0x90e0707,0x36241212,0x9b1b8080,0x3ddfe2e2,0x26cdebeb,0x694e2727,0xcd7fb2b2,0x9fea7575,0x1b120909,0x9e1d8383,0x74582c2c,0x2e341a1a,0x2d361b1b,0xb2dc6e6e,0xeeb45a5a,0xfb5ba0a0,0xf6a45252,0x4d763b3b,0x61b7d6d6,0xce7db3b3,0x7b522929,0x3edde3e3,0x715e2f2f,0x97138484,0xf5a65353,0x68b9d1d1,0x0,0x2cc1eded,0x60402020,0x1fe3fcfc,0xc879b1b1,0xedb65b5b,0xbed46a6a,0x468dcbcb,0xd967bebe,0x4b723939,0xde944a4a,0xd4984c4c,0xe8b05858,0x4a85cfcf,0x6bbbd0d0,0x2ac5efef,0xe54faaaa,0x16edfbfb,0xc5864343,0xd79a4d4d,0x55663333,0x94118585,0xcf8a4545,0x10e9f9f9,0x6040202,0x81fe7f7f,0xf0a05050,0x44783c3c,0xba259f9f,0xe34ba8a8,0xf3a25151,0xfe5da3a3,0xc0804040,0x8a058f8f,0xad3f9292,0xbc219d9d,0x48703838,0x4f1f5f5,0xdf63bcbc,0xc177b6b6,0x75afdada,0x63422121,0x30201010,0x1ae5ffff,0xefdf3f3,0x6dbfd2d2,0x4c81cdcd,0x14180c0c,0x35261313,0x2fc3ecec,0xe1be5f5f,0xa2359797,0xcc884444,0x392e1717,0x5793c4c4,0xf255a7a7,0x82fc7e7e,0x477a3d3d,0xacc86464,0xe7ba5d5d,0x2b321919,0x95e67373,0xa0c06060,0x98198181,0xd19e4f4f,0x7fa3dcdc,0x66442222,0x7e542a2a,0xab3b9090,0x830b8888,0xca8c4646,0x29c7eeee,0xd36bb8b8,0x3c281414,0x79a7dede,0xe2bc5e5e,0x1d160b0b,0x76addbdb,0x3bdbe0e0,0x56643232,0x4e743a3a,0x1e140a0a,0xdb924949,0xa0c0606,0x6c482424,0xe4b85c5c,0x5d9fc2c2,0x6ebdd3d3,0xef43acac,0xa6c46262,0xa8399191,0xa4319595,0x37d3e4e4,0x8bf27979,0x32d5e7e7,0x438bc8c8,0x596e3737,0xb7da6d6d,0x8c018d8d,0x64b1d5d5,0xd29c4e4e,0xe049a9a9,0xb4d86c6c,0xfaac5656,0x7f3f4f4,0x25cfeaea,0xafca6565,0x8ef47a7a,0xe947aeae,0x18100808,0xd56fbaba,0x88f07878,0x6f4a2525,0x725c2e2e,0x24381c1c,0xf157a6a6,0xc773b4b4,0x5197c6c6,0x23cbe8e8,0x7ca1dddd,0x9ce87474,0x213e1f1f,0xdd964b4b,0xdc61bdbd,0x860d8b8b,0x850f8a8a,0x90e07070,0x427c3e3e,0xc471b5b5,0xaacc6666,0xd8904848,0x5060303,0x1f7f6f6,0x121c0e0e,0xa3c26161,0x5f6a3535,0xf9ae5757,0xd069b9b9,0x91178686,0x5899c1c1,0x273a1d1d,0xb9279e9e,0x38d9e1e1,0x13ebf8f8,0xb32b9898,0x33221111,0xbbd26969,0x70a9d9d9,0x89078e8e,0xa7339494,0xb62d9b9b,0x223c1e1e,0x92158787,0x20c9e9e9,0x4987cece,0xffaa5555,0x78502828,0x7aa5dfdf,0x8f038c8c,0xf859a1a1,0x80098989,0x171a0d0d,0xda65bfbf,0x31d7e6e6,0xc6844242,0xb8d06868,0xc3824141,0xb0299999,0x775a2d2d,0x111e0f0f,0xcb7bb0b0,0xfca85454,0xd66dbbbb,0x3a2c1616],_0x935f7b[_0x22f579([0x54,0x33])]=[0x63a5c663,0x7c84f87c,0x7799ee77,0x7b8df67b,0xf20dfff2,0x6bbdd66b,0x6fb1de6f,0xc55491c5,0x30506030,0x1030201,0x67a9ce67,0x2b7d562b,0xfe19e7fe,0xd762b5d7,0xabe64dab,0x769aec76,0xca458fca,0x829d1f82,0xc94089c9,0x7d87fa7d,0xfa15effa,0x59ebb259,0x47c98e47,0xf00bfbf0,0xadec41ad,0xd467b3d4,0xa2fd5fa2,0xafea45af,0x9cbf239c,0xa4f753a4,0x7296e472,0xc05b9bc0,0xb7c275b7,0xfd1ce1fd,0x93ae3d93,0x266a4c26,0x365a6c36,0x3f417e3f,0xf702f5f7,0xcc4f83cc,0x345c6834,0xa5f451a5,0xe534d1e5,0xf108f9f1,0x7193e271,0xd873abd8,0x31536231,0x153f2a15,0x40c0804,0xc75295c7,0x23654623,0xc35e9dc3,0x18283018,0x96a13796,0x50f0a05,0x9ab52f9a,0x7090e07,0x12362412,0x809b1b80,0xe23ddfe2,0xeb26cdeb,0x27694e27,0xb2cd7fb2,0x759fea75,0x91b1209,0x839e1d83,0x2c74582c,0x1a2e341a,0x1b2d361b,0x6eb2dc6e,0x5aeeb45a,0xa0fb5ba0,0x52f6a452,0x3b4d763b,0xd661b7d6,0xb3ce7db3,0x297b5229,0xe33edde3,0x2f715e2f,0x84971384,0x53f5a653,0xd168b9d1,0x0,0xed2cc1ed,0x20604020,0xfc1fe3fc,0xb1c879b1,0x5bedb65b,0x6abed46a,0xcb468dcb,0xbed967be,0x394b7239,0x4ade944a,0x4cd4984c,0x58e8b058,0xcf4a85cf,0xd06bbbd0,0xef2ac5ef,0xaae54faa,0xfb16edfb,0x43c58643,0x4dd79a4d,0x33556633,0x85941185,0x45cf8a45,0xf910e9f9,0x2060402,0x7f81fe7f,0x50f0a050,0x3c44783c,0x9fba259f,0xa8e34ba8,0x51f3a251,0xa3fe5da3,0x40c08040,0x8f8a058f,0x92ad3f92,0x9dbc219d,0x38487038,0xf504f1f5,0xbcdf63bc,0xb6c177b6,0xda75afda,0x21634221,0x10302010,0xff1ae5ff,0xf30efdf3,0xd26dbfd2,0xcd4c81cd,0xc14180c,0x13352613,0xec2fc3ec,0x5fe1be5f,0x97a23597,0x44cc8844,0x17392e17,0xc45793c4,0xa7f255a7,0x7e82fc7e,0x3d477a3d,0x64acc864,0x5de7ba5d,0x192b3219,0x7395e673,0x60a0c060,0x81981981,0x4fd19e4f,0xdc7fa3dc,0x22664422,0x2a7e542a,0x90ab3b90,0x88830b88,0x46ca8c46,0xee29c7ee,0xb8d36bb8,0x143c2814,0xde79a7de,0x5ee2bc5e,0xb1d160b,0xdb76addb,0xe03bdbe0,0x32566432,0x3a4e743a,0xa1e140a,0x49db9249,0x60a0c06,0x246c4824,0x5ce4b85c,0xc25d9fc2,0xd36ebdd3,0xacef43ac,0x62a6c462,0x91a83991,0x95a43195,0xe437d3e4,0x798bf279,0xe732d5e7,0xc8438bc8,0x37596e37,0x6db7da6d,0x8d8c018d,0xd564b1d5,0x4ed29c4e,0xa9e049a9,0x6cb4d86c,0x56faac56,0xf407f3f4,0xea25cfea,0x65afca65,0x7a8ef47a,0xaee947ae,0x8181008,0xbad56fba,0x7888f078,0x256f4a25,0x2e725c2e,0x1c24381c,0xa6f157a6,0xb4c773b4,0xc65197c6,0xe823cbe8,0xdd7ca1dd,0x749ce874,0x1f213e1f,0x4bdd964b,0xbddc61bd,0x8b860d8b,0x8a850f8a,0x7090e070,0x3e427c3e,0xb5c471b5,0x66aacc66,0x48d89048,0x3050603,0xf601f7f6,0xe121c0e,0x61a3c261,0x355f6a35,0x57f9ae57,0xb9d069b9,0x86911786,0xc15899c1,0x1d273a1d,0x9eb9279e,0xe138d9e1,0xf813ebf8,0x98b32b98,0x11332211,0x69bbd269,0xd970a9d9,0x8e89078e,0x94a73394,0x9bb62d9b,0x1e223c1e,0x87921587,0xe920c9e9,0xce4987ce,0x55ffaa55,0x28785028,0xdf7aa5df,0x8c8f038c,0xa1f859a1,0x89800989,0xd171a0d,0xbfda65bf,0xe631d7e6,0x42c68442,0x68b8d068,0x41c38241,0x99b02999,0x2d775a2d,0xf111e0f,0xb0cb7bb0,0x54fca854,0xbbd66dbb,0x163a2c16],_0x935f7b[_0x22f579([0x54,0x34])]=[0x6363a5c6,0x7c7c84f8,0x777799ee,0x7b7b8df6,0xf2f20dff,0x6b6bbdd6,0x6f6fb1de,0xc5c55491,0x30305060,0x1010302,0x6767a9ce,0x2b2b7d56,0xfefe19e7,0xd7d762b5,0xababe64d,0x76769aec,0xcaca458f,0x82829d1f,0xc9c94089,0x7d7d87fa,0xfafa15ef,0x5959ebb2,0x4747c98e,0xf0f00bfb,0xadadec41,0xd4d467b3,0xa2a2fd5f,0xafafea45,0x9c9cbf23,0xa4a4f753,0x727296e4,0xc0c05b9b,0xb7b7c275,0xfdfd1ce1,0x9393ae3d,0x26266a4c,0x36365a6c,0x3f3f417e,0xf7f702f5,0xcccc4f83,0x34345c68,0xa5a5f451,0xe5e534d1,0xf1f108f9,0x717193e2,0xd8d873ab,0x31315362,0x15153f2a,0x4040c08,0xc7c75295,0x23236546,0xc3c35e9d,0x18182830,0x9696a137,0x5050f0a,0x9a9ab52f,0x707090e,0x12123624,0x80809b1b,0xe2e23ddf,0xebeb26cd,0x2727694e,0xb2b2cd7f,0x75759fea,0x9091b12,0x83839e1d,0x2c2c7458,0x1a1a2e34,0x1b1b2d36,0x6e6eb2dc,0x5a5aeeb4,0xa0a0fb5b,0x5252f6a4,0x3b3b4d76,0xd6d661b7,0xb3b3ce7d,0x29297b52,0xe3e33edd,0x2f2f715e,0x84849713,0x5353f5a6,0xd1d168b9,0x0,0xeded2cc1,0x20206040,0xfcfc1fe3,0xb1b1c879,0x5b5bedb6,0x6a6abed4,0xcbcb468d,0xbebed967,0x39394b72,0x4a4ade94,0x4c4cd498,0x5858e8b0,0xcfcf4a85,0xd0d06bbb,0xefef2ac5,0xaaaae54f,0xfbfb16ed,0x4343c586,0x4d4dd79a,0x33335566,0x85859411,0x4545cf8a,0xf9f910e9,0x2020604,0x7f7f81fe,0x5050f0a0,0x3c3c4478,0x9f9fba25,0xa8a8e34b,0x5151f3a2,0xa3a3fe5d,0x4040c080,0x8f8f8a05,0x9292ad3f,0x9d9dbc21,0x38384870,0xf5f504f1,0xbcbcdf63,0xb6b6c177,0xdada75af,0x21216342,0x10103020,0xffff1ae5,0xf3f30efd,0xd2d26dbf,0xcdcd4c81,0xc0c1418,0x13133526,0xecec2fc3,0x5f5fe1be,0x9797a235,0x4444cc88,0x1717392e,0xc4c45793,0xa7a7f255,0x7e7e82fc,0x3d3d477a,0x6464acc8,0x5d5de7ba,0x19192b32,0x737395e6,0x6060a0c0,0x81819819,0x4f4fd19e,0xdcdc7fa3,0x22226644,0x2a2a7e54,0x9090ab3b,0x8888830b,0x4646ca8c,0xeeee29c7,0xb8b8d36b,0x14143c28,0xdede79a7,0x5e5ee2bc,0xb0b1d16,0xdbdb76ad,0xe0e03bdb,0x32325664,0x3a3a4e74,0xa0a1e14,0x4949db92,0x6060a0c,0x24246c48,0x5c5ce4b8,0xc2c25d9f,0xd3d36ebd,0xacacef43,0x6262a6c4,0x9191a839,0x9595a431,0xe4e437d3,0x79798bf2,0xe7e732d5,0xc8c8438b,0x3737596e,0x6d6db7da,0x8d8d8c01,0xd5d564b1,0x4e4ed29c,0xa9a9e049,0x6c6cb4d8,0x5656faac,0xf4f407f3,0xeaea25cf,0x6565afca,0x7a7a8ef4,0xaeaee947,0x8081810,0xbabad56f,0x787888f0,0x25256f4a,0x2e2e725c,0x1c1c2438,0xa6a6f157,0xb4b4c773,0xc6c65197,0xe8e823cb,0xdddd7ca1,0x74749ce8,0x1f1f213e,0x4b4bdd96,0xbdbddc61,0x8b8b860d,0x8a8a850f,0x707090e0,0x3e3e427c,0xb5b5c471,0x6666aacc,0x4848d890,0x3030506,0xf6f601f7,0xe0e121c,0x6161a3c2,0x35355f6a,0x5757f9ae,0xb9b9d069,0x86869117,0xc1c15899,0x1d1d273a,0x9e9eb927,0xe1e138d9,0xf8f813eb,0x9898b32b,0x11113322,0x6969bbd2,0xd9d970a9,0x8e8e8907,0x9494a733,0x9b9bb62d,0x1e1e223c,0x87879215,0xe9e920c9,0xcece4987,0x5555ffaa,0x28287850,0xdfdf7aa5,0x8c8c8f03,0xa1a1f859,0x89898009,0xd0d171a,0xbfbfda65,0xe6e631d7,0x4242c684,0x6868b8d0,0x4141c382,0x9999b029,0x2d2d775a,0xf0f111e,0xb0b0cb7b,0x5454fca8,0xbbbbd66d,0x16163a2c],_0x935f7b[_0x22f579([0x55,0x31])]=[0x0,0xe090d0b,0x1c121a16,0x121b171d,0x3824342c,0x362d3927,0x24362e3a,0x2a3f2331,0x70486858,0x7e416553,0x6c5a724e,0x62537f45,0x486c5c74,0x4665517f,0x547e4662,0x5a774b69,0xe090d0b0,0xee99ddbb,0xfc82caa6,0xf28bc7ad,0xd8b4e49c,0xd6bde997,0xc4a6fe8a,0xcaaff381,0x90d8b8e8,0x9ed1b5e3,0x8ccaa2fe,0x82c3aff5,0xa8fc8cc4,0xa6f581cf,0xb4ee96d2,0xbae79bd9,0xdb3bbb7b,0xd532b670,0xc729a16d,0xc920ac66,0xe31f8f57,0xed16825c,0xff0d9541,0xf104984a,0xab73d323,0xa57ade28,0xb761c935,0xb968c43e,0x9357e70f,0x9d5eea04,0x8f45fd19,0x814cf012,0x3bab6bcb,0x35a266c0,0x27b971dd,0x29b07cd6,0x38f5fe7,0xd8652ec,0x1f9d45f1,0x119448fa,0x4be30393,0x45ea0e98,0x57f11985,0x59f8148e,0x73c737bf,0x7dce3ab4,0x6fd52da9,0x61dc20a2,0xad766df6,0xa37f60fd,0xb16477e0,0xbf6d7aeb,0x955259da,0x9b5b54d1,0x894043cc,0x87494ec7,0xdd3e05ae,0xd33708a5,0xc12c1fb8,0xcf2512b3,0xe51a3182,0xeb133c89,0xf9082b94,0xf701269f,0x4de6bd46,0x43efb04d,0x51f4a750,0x5ffdaa5b,0x75c2896a,0x7bcb8461,0x69d0937c,0x67d99e77,0x3daed51e,0x33a7d815,0x21bccf08,0x2fb5c203,0x58ae132,0xb83ec39,0x1998fb24,0x1791f62f,0x764dd68d,0x7844db86,0x6a5fcc9b,0x6456c190,0x4e69e2a1,0x4060efaa,0x527bf8b7,0x5c72f5bc,0x605bed5,0x80cb3de,0x1a17a4c3,0x141ea9c8,0x3e218af9,0x302887f2,0x223390ef,0x2c3a9de4,0x96dd063d,0x98d40b36,0x8acf1c2b,0x84c61120,0xaef93211,0xa0f03f1a,0xb2eb2807,0xbce2250c,0xe6956e65,0xe89c636e,0xfa877473,0xf48e7978,0xdeb15a49,0xd0b85742,0xc2a3405f,0xccaa4d54,0x41ecdaf7,0x4fe5d7fc,0x5dfec0e1,0x53f7cdea,0x79c8eedb,0x77c1e3d0,0x65daf4cd,0x6bd3f9c6,0x31a4b2af,0x3fadbfa4,0x2db6a8b9,0x23bfa5b2,0x9808683,0x7898b88,0x15929c95,0x1b9b919e,0xa17c0a47,0xaf75074c,0xbd6e1051,0xb3671d5a,0x99583e6b,0x97513360,0x854a247d,0x8b432976,0xd134621f,0xdf3d6f14,0xcd267809,0xc32f7502,0xe9105633,0xe7195b38,0xf5024c25,0xfb0b412e,0x9ad7618c,0x94de6c87,0x86c57b9a,0x88cc7691,0xa2f355a0,0xacfa58ab,0xbee14fb6,0xb0e842bd,0xea9f09d4,0xe49604df,0xf68d13c2,0xf8841ec9,0xd2bb3df8,0xdcb230f3,0xcea927ee,0xc0a02ae5,0x7a47b13c,0x744ebc37,0x6655ab2a,0x685ca621,0x42638510,0x4c6a881b,0x5e719f06,0x5078920d,0xa0fd964,0x406d46f,0x161dc372,0x1814ce79,0x322bed48,0x3c22e043,0x2e39f75e,0x2030fa55,0xec9ab701,0xe293ba0a,0xf088ad17,0xfe81a01c,0xd4be832d,0xdab78e26,0xc8ac993b,0xc6a59430,0x9cd2df59,0x92dbd252,0x80c0c54f,0x8ec9c844,0xa4f6eb75,0xaaffe67e,0xb8e4f163,0xb6edfc68,0xc0a67b1,0x2036aba,0x10187da7,0x1e1170ac,0x342e539d,0x3a275e96,0x283c498b,0x26354480,0x7c420fe9,0x724b02e2,0x605015ff,0x6e5918f4,0x44663bc5,0x4a6f36ce,0x587421d3,0x567d2cd8,0x37a10c7a,0x39a80171,0x2bb3166c,0x25ba1b67,0xf853856,0x18c355d,0x13972240,0x1d9e2f4b,0x47e96422,0x49e06929,0x5bfb7e34,0x55f2733f,0x7fcd500e,0x71c45d05,0x63df4a18,0x6dd64713,0xd731dcca,0xd938d1c1,0xcb23c6dc,0xc52acbd7,0xef15e8e6,0xe11ce5ed,0xf307f2f0,0xfd0efffb,0xa779b492,0xa970b999,0xbb6bae84,0xb562a38f,0x9f5d80be,0x91548db5,0x834f9aa8,0x8d4697a3],_0x935f7b[_0x22f579([0x55,0x32])]=[0x0,0xb0e090d,0x161c121a,0x1d121b17,0x2c382434,0x27362d39,0x3a24362e,0x312a3f23,0x58704868,0x537e4165,0x4e6c5a72,0x4562537f,0x74486c5c,0x7f466551,0x62547e46,0x695a774b,0xb0e090d0,0xbbee99dd,0xa6fc82ca,0xadf28bc7,0x9cd8b4e4,0x97d6bde9,0x8ac4a6fe,0x81caaff3,0xe890d8b8,0xe39ed1b5,0xfe8ccaa2,0xf582c3af,0xc4a8fc8c,0xcfa6f581,0xd2b4ee96,0xd9bae79b,0x7bdb3bbb,0x70d532b6,0x6dc729a1,0x66c920ac,0x57e31f8f,0x5ced1682,0x41ff0d95,0x4af10498,0x23ab73d3,0x28a57ade,0x35b761c9,0x3eb968c4,0xf9357e7,0x49d5eea,0x198f45fd,0x12814cf0,0xcb3bab6b,0xc035a266,0xdd27b971,0xd629b07c,0xe7038f5f,0xec0d8652,0xf11f9d45,0xfa119448,0x934be303,0x9845ea0e,0x8557f119,0x8e59f814,0xbf73c737,0xb47dce3a,0xa96fd52d,0xa261dc20,0xf6ad766d,0xfda37f60,0xe0b16477,0xebbf6d7a,0xda955259,0xd19b5b54,0xcc894043,0xc787494e,0xaedd3e05,0xa5d33708,0xb8c12c1f,0xb3cf2512,0x82e51a31,0x89eb133c,0x94f9082b,0x9ff70126,0x464de6bd,0x4d43efb0,0x5051f4a7,0x5b5ffdaa,0x6a75c289,0x617bcb84,0x7c69d093,0x7767d99e,0x1e3daed5,0x1533a7d8,0x821bccf,0x32fb5c2,0x32058ae1,0x390b83ec,0x241998fb,0x2f1791f6,0x8d764dd6,0x867844db,0x9b6a5fcc,0x906456c1,0xa14e69e2,0xaa4060ef,0xb7527bf8,0xbc5c72f5,0xd50605be,0xde080cb3,0xc31a17a4,0xc8141ea9,0xf93e218a,0xf2302887,0xef223390,0xe42c3a9d,0x3d96dd06,0x3698d40b,0x2b8acf1c,0x2084c611,0x11aef932,0x1aa0f03f,0x7b2eb28,0xcbce225,0x65e6956e,0x6ee89c63,0x73fa8774,0x78f48e79,0x49deb15a,0x42d0b857,0x5fc2a340,0x54ccaa4d,0xf741ecda,0xfc4fe5d7,0xe15dfec0,0xea53f7cd,0xdb79c8ee,0xd077c1e3,0xcd65daf4,0xc66bd3f9,0xaf31a4b2,0xa43fadbf,0xb92db6a8,0xb223bfa5,0x83098086,0x8807898b,0x9515929c,0x9e1b9b91,0x47a17c0a,0x4caf7507,0x51bd6e10,0x5ab3671d,0x6b99583e,0x60975133,0x7d854a24,0x768b4329,0x1fd13462,0x14df3d6f,0x9cd2678,0x2c32f75,0x33e91056,0x38e7195b,0x25f5024c,0x2efb0b41,0x8c9ad761,0x8794de6c,0x9a86c57b,0x9188cc76,0xa0a2f355,0xabacfa58,0xb6bee14f,0xbdb0e842,0xd4ea9f09,0xdfe49604,0xc2f68d13,0xc9f8841e,0xf8d2bb3d,0xf3dcb230,0xeecea927,0xe5c0a02a,0x3c7a47b1,0x37744ebc,0x2a6655ab,0x21685ca6,0x10426385,0x1b4c6a88,0x65e719f,0xd507892,0x640a0fd9,0x6f0406d4,0x72161dc3,0x791814ce,0x48322bed,0x433c22e0,0x5e2e39f7,0x552030fa,0x1ec9ab7,0xae293ba,0x17f088ad,0x1cfe81a0,0x2dd4be83,0x26dab78e,0x3bc8ac99,0x30c6a594,0x599cd2df,0x5292dbd2,0x4f80c0c5,0x448ec9c8,0x75a4f6eb,0x7eaaffe6,0x63b8e4f1,0x68b6edfc,0xb10c0a67,0xba02036a,0xa710187d,0xac1e1170,0x9d342e53,0x963a275e,0x8b283c49,0x80263544,0xe97c420f,0xe2724b02,0xff605015,0xf46e5918,0xc544663b,0xce4a6f36,0xd3587421,0xd8567d2c,0x7a37a10c,0x7139a801,0x6c2bb316,0x6725ba1b,0x560f8538,0x5d018c35,0x40139722,0x4b1d9e2f,0x2247e964,0x2949e069,0x345bfb7e,0x3f55f273,0xe7fcd50,0x571c45d,0x1863df4a,0x136dd647,0xcad731dc,0xc1d938d1,0xdccb23c6,0xd7c52acb,0xe6ef15e8,0xede11ce5,0xf0f307f2,0xfbfd0eff,0x92a779b4,0x99a970b9,0x84bb6bae,0x8fb562a3,0xbe9f5d80,0xb591548d,0xa8834f9a,0xa38d4697],_0x935f7b[_0x22f579([0x55,0x33])]=[0x0,0xd0b0e09,0x1a161c12,0x171d121b,0x342c3824,0x3927362d,0x2e3a2436,0x23312a3f,0x68587048,0x65537e41,0x724e6c5a,0x7f456253,0x5c74486c,0x517f4665,0x4662547e,0x4b695a77,0xd0b0e090,0xddbbee99,0xcaa6fc82,0xc7adf28b,0xe49cd8b4,0xe997d6bd,0xfe8ac4a6,0xf381caaf,0xb8e890d8,0xb5e39ed1,0xa2fe8cca,0xaff582c3,0x8cc4a8fc,0x81cfa6f5,0x96d2b4ee,0x9bd9bae7,0xbb7bdb3b,0xb670d532,0xa16dc729,0xac66c920,0x8f57e31f,0x825ced16,0x9541ff0d,0x984af104,0xd323ab73,0xde28a57a,0xc935b761,0xc43eb968,0xe70f9357,0xea049d5e,0xfd198f45,0xf012814c,0x6bcb3bab,0x66c035a2,0x71dd27b9,0x7cd629b0,0x5fe7038f,0x52ec0d86,0x45f11f9d,0x48fa1194,0x3934be3,0xe9845ea,0x198557f1,0x148e59f8,0x37bf73c7,0x3ab47dce,0x2da96fd5,0x20a261dc,0x6df6ad76,0x60fda37f,0x77e0b164,0x7aebbf6d,0x59da9552,0x54d19b5b,0x43cc8940,0x4ec78749,0x5aedd3e,0x8a5d337,0x1fb8c12c,0x12b3cf25,0x3182e51a,0x3c89eb13,0x2b94f908,0x269ff701,0xbd464de6,0xb04d43ef,0xa75051f4,0xaa5b5ffd,0x896a75c2,0x84617bcb,0x937c69d0,0x9e7767d9,0xd51e3dae,0xd81533a7,0xcf0821bc,0xc2032fb5,0xe132058a,0xec390b83,0xfb241998,0xf62f1791,0xd68d764d,0xdb867844,0xcc9b6a5f,0xc1906456,0xe2a14e69,0xefaa4060,0xf8b7527b,0xf5bc5c72,0xbed50605,0xb3de080c,0xa4c31a17,0xa9c8141e,0x8af93e21,0x87f23028,0x90ef2233,0x9de42c3a,0x63d96dd,0xb3698d4,0x1c2b8acf,0x112084c6,0x3211aef9,0x3f1aa0f0,0x2807b2eb,0x250cbce2,0x6e65e695,0x636ee89c,0x7473fa87,0x7978f48e,0x5a49deb1,0x5742d0b8,0x405fc2a3,0x4d54ccaa,0xdaf741ec,0xd7fc4fe5,0xc0e15dfe,0xcdea53f7,0xeedb79c8,0xe3d077c1,0xf4cd65da,0xf9c66bd3,0xb2af31a4,0xbfa43fad,0xa8b92db6,0xa5b223bf,0x86830980,0x8b880789,0x9c951592,0x919e1b9b,0xa47a17c,0x74caf75,0x1051bd6e,0x1d5ab367,0x3e6b9958,0x33609751,0x247d854a,0x29768b43,0x621fd134,0x6f14df3d,0x7809cd26,0x7502c32f,0x5633e910,0x5b38e719,0x4c25f502,0x412efb0b,0x618c9ad7,0x6c8794de,0x7b9a86c5,0x769188cc,0x55a0a2f3,0x58abacfa,0x4fb6bee1,0x42bdb0e8,0x9d4ea9f,0x4dfe496,0x13c2f68d,0x1ec9f884,0x3df8d2bb,0x30f3dcb2,0x27eecea9,0x2ae5c0a0,0xb13c7a47,0xbc37744e,0xab2a6655,0xa621685c,0x85104263,0x881b4c6a,0x9f065e71,0x920d5078,0xd9640a0f,0xd46f0406,0xc372161d,0xce791814,0xed48322b,0xe0433c22,0xf75e2e39,0xfa552030,0xb701ec9a,0xba0ae293,0xad17f088,0xa01cfe81,0x832dd4be,0x8e26dab7,0x993bc8ac,0x9430c6a5,0xdf599cd2,0xd25292db,0xc54f80c0,0xc8448ec9,0xeb75a4f6,0xe67eaaff,0xf163b8e4,0xfc68b6ed,0x67b10c0a,0x6aba0203,0x7da71018,0x70ac1e11,0x539d342e,0x5e963a27,0x498b283c,0x44802635,0xfe97c42,0x2e2724b,0x15ff6050,0x18f46e59,0x3bc54466,0x36ce4a6f,0x21d35874,0x2cd8567d,0xc7a37a1,0x17139a8,0x166c2bb3,0x1b6725ba,0x38560f85,0x355d018c,0x22401397,0x2f4b1d9e,0x642247e9,0x692949e0,0x7e345bfb,0x733f55f2,0x500e7fcd,0x5d0571c4,0x4a1863df,0x47136dd6,0xdccad731,0xd1c1d938,0xc6dccb23,0xcbd7c52a,0xe8e6ef15,0xe5ede11c,0xf2f0f307,0xfffbfd0e,0xb492a779,0xb999a970,0xae84bb6b,0xa38fb562,0x80be9f5d,0x8db59154,0x9aa8834f,0x97a38d46],_0x935f7b[_0x22f579([0x55,0x34])]=[0x0,0x90d0b0e,0x121a161c,0x1b171d12,0x24342c38,0x2d392736,0x362e3a24,0x3f23312a,0x48685870,0x4165537e,0x5a724e6c,0x537f4562,0x6c5c7448,0x65517f46,0x7e466254,0x774b695a,0x90d0b0e0,0x99ddbbee,0x82caa6fc,0x8bc7adf2,0xb4e49cd8,0xbde997d6,0xa6fe8ac4,0xaff381ca,0xd8b8e890,0xd1b5e39e,0xcaa2fe8c,0xc3aff582,0xfc8cc4a8,0xf581cfa6,0xee96d2b4,0xe79bd9ba,0x3bbb7bdb,0x32b670d5,0x29a16dc7,0x20ac66c9,0x1f8f57e3,0x16825ced,0xd9541ff,0x4984af1,0x73d323ab,0x7ade28a5,0x61c935b7,0x68c43eb9,0x57e70f93,0x5eea049d,0x45fd198f,0x4cf01281,0xab6bcb3b,0xa266c035,0xb971dd27,0xb07cd629,0x8f5fe703,0x8652ec0d,0x9d45f11f,0x9448fa11,0xe303934b,0xea0e9845,0xf1198557,0xf8148e59,0xc737bf73,0xce3ab47d,0xd52da96f,0xdc20a261,0x766df6ad,0x7f60fda3,0x6477e0b1,0x6d7aebbf,0x5259da95,0x5b54d19b,0x4043cc89,0x494ec787,0x3e05aedd,0x3708a5d3,0x2c1fb8c1,0x2512b3cf,0x1a3182e5,0x133c89eb,0x82b94f9,0x1269ff7,0xe6bd464d,0xefb04d43,0xf4a75051,0xfdaa5b5f,0xc2896a75,0xcb84617b,0xd0937c69,0xd99e7767,0xaed51e3d,0xa7d81533,0xbccf0821,0xb5c2032f,0x8ae13205,0x83ec390b,0x98fb2419,0x91f62f17,0x4dd68d76,0x44db8678,0x5fcc9b6a,0x56c19064,0x69e2a14e,0x60efaa40,0x7bf8b752,0x72f5bc5c,0x5bed506,0xcb3de08,0x17a4c31a,0x1ea9c814,0x218af93e,0x2887f230,0x3390ef22,0x3a9de42c,0xdd063d96,0xd40b3698,0xcf1c2b8a,0xc6112084,0xf93211ae,0xf03f1aa0,0xeb2807b2,0xe2250cbc,0x956e65e6,0x9c636ee8,0x877473fa,0x8e7978f4,0xb15a49de,0xb85742d0,0xa3405fc2,0xaa4d54cc,0xecdaf741,0xe5d7fc4f,0xfec0e15d,0xf7cdea53,0xc8eedb79,0xc1e3d077,0xdaf4cd65,0xd3f9c66b,0xa4b2af31,0xadbfa43f,0xb6a8b92d,0xbfa5b223,0x80868309,0x898b8807,0x929c9515,0x9b919e1b,0x7c0a47a1,0x75074caf,0x6e1051bd,0x671d5ab3,0x583e6b99,0x51336097,0x4a247d85,0x4329768b,0x34621fd1,0x3d6f14df,0x267809cd,0x2f7502c3,0x105633e9,0x195b38e7,0x24c25f5,0xb412efb,0xd7618c9a,0xde6c8794,0xc57b9a86,0xcc769188,0xf355a0a2,0xfa58abac,0xe14fb6be,0xe842bdb0,0x9f09d4ea,0x9604dfe4,0x8d13c2f6,0x841ec9f8,0xbb3df8d2,0xb230f3dc,0xa927eece,0xa02ae5c0,0x47b13c7a,0x4ebc3774,0x55ab2a66,0x5ca62168,0x63851042,0x6a881b4c,0x719f065e,0x78920d50,0xfd9640a,0x6d46f04,0x1dc37216,0x14ce7918,0x2bed4832,0x22e0433c,0x39f75e2e,0x30fa5520,0x9ab701ec,0x93ba0ae2,0x88ad17f0,0x81a01cfe,0xbe832dd4,0xb78e26da,0xac993bc8,0xa59430c6,0xd2df599c,0xdbd25292,0xc0c54f80,0xc9c8448e,0xf6eb75a4,0xffe67eaa,0xe4f163b8,0xedfc68b6,0xa67b10c,0x36aba02,0x187da710,0x1170ac1e,0x2e539d34,0x275e963a,0x3c498b28,0x35448026,0x420fe97c,0x4b02e272,0x5015ff60,0x5918f46e,0x663bc544,0x6f36ce4a,0x7421d358,0x7d2cd856,0xa10c7a37,0xa8017139,0xb3166c2b,0xba1b6725,0x8538560f,0x8c355d01,0x97224013,0x9e2f4b1d,0xe9642247,0xe0692949,0xfb7e345b,0xf2733f55,0xcd500e7f,0xc45d0571,0xdf4a1863,0xd647136d,0x31dccad7,0x38d1c1d9,0x23c6dccb,0x2acbd7c5,0x15e8e6ef,0x1ce5ede1,0x7f2f0f3,0xefffbfd,0x79b492a7,0x70b999a9,0x6bae84bb,0x62a38fb5,0x5d80be9f,0x548db591,0x4f9aa883,0x4697a38d];const _0x529caf=new Uint8Array(0x10);for(let _0x3f543f=0xf;_0x3f543f>=0x0;--_0x3f543f)_0x529caf[_0x3f543f]=_0xfab33b%0x100,_0xfab33b=parseInt(_0xfab33b/0x100);let _0x47eee5=null,_0x394065=0x10;const _0x5ca988=new Uint8Array(_0x909e5d),_0x593eb2=[],_0x560b0e=[];_0x5373d8();for(let _0x23bc1d=0x0;_0x23bc1d<_0x453ad6[_0x22f579([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23bc1d++)0x10===_0x394065&&(_0x47eee5=_0x2133e0(_0x529caf),_0x394065=0x0,_0x2f5069(_0x529caf)),_0x453ad6[_0x23bc1d]^=_0x47eee5[_0x394065++];return _0x453ad6;function _0x2b004d(_0x2ef6db){const _0x69f321=[];for(let _0x3f46ce=0x0;_0x3f46ce<_0x2ef6db[_0x22f579([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f46ce+=0x4)_0x69f321[_0x22f579([0x70,0x75,0x73,0x68])](_0x2ef6db[_0x3f46ce]<<0x18|_0x2ef6db[_0x3f46ce+0x1]<<0x10|_0x2ef6db[_0x3f46ce+0x2]<<0x8|_0x2ef6db[_0x3f46ce+0x3]);return _0x69f321;}function _0x2f5069(_0x1c5a61){for(let _0x536b8f=0xf;_0x536b8f>=0x0;_0x536b8f--){if(0xff!==_0x1c5a61[_0x536b8f]){_0x1c5a61[_0x536b8f]++;break;}_0x1c5a61[_0x536b8f]=0x0;}}function _0x2133e0(_0x2a74a9){const _0x55c7b6=_0x593eb2[_0x22f579([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x2d8a34=[0x0,0x0,0x0,0x0];let t=_0x2b004d(_0x2a74a9);for(let _0x59a7e3=0x0;_0x59a7e3<0x4;_0x59a7e3++)t[_0x59a7e3]^=_0x593eb2[0x0][_0x59a7e3];for(let _0x539ef3=0x1;_0x539ef3<_0x55c7b6;_0x539ef3++){for(let _0x426aee=0x0;_0x426aee<0x4;_0x426aee++)_0x2d8a34[_0x426aee]=_0x935f7b[_0x22f579([0x54,0x31])][t[_0x426aee]>>0x18&0xff]^_0x935f7b[_0x22f579([0x54,0x32])][t[(_0x426aee+0x1)%0x4]>>0x10&0xff]^_0x935f7b[_0x22f579([0x54,0x33])][t[(_0x426aee+0x2)%0x4]>>0x8&0xff]^_0x935f7b[_0x22f579([0x54,0x34])][0xff&t[(_0x426aee+0x3)%0x4]]^_0x593eb2[_0x539ef3][_0x426aee];t=_0x2d8a34[_0x22f579([0x73,0x6c,0x69,0x63,0x65])]();}const _0x33e252=new Uint8Array(0x10);let _0x5c574e;for(let _0x3d04a1=0x0;_0x3d04a1<0x4;_0x3d04a1++)_0x5c574e=_0x593eb2[_0x55c7b6][_0x3d04a1],_0x33e252[0x4*_0x3d04a1]=0xff&(_0x935f7b[_0x22f579([0x53])][t[_0x3d04a1]>>0x18&0xff]^_0x5c574e>>0x18),_0x33e252[0x4*_0x3d04a1+0x1]=0xff&(_0x935f7b[_0x22f579([0x53])][t[(_0x3d04a1+0x1)%0x4]>>0x10&0xff]^_0x5c574e>>0x10),_0x33e252[0x4*_0x3d04a1+0x2]=0xff&(_0x935f7b[_0x22f579([0x53])][t[(_0x3d04a1+0x2)%0x4]>>0x8&0xff]^_0x5c574e>>0x8),_0x33e252[0x4*_0x3d04a1+0x3]=0xff&(_0x935f7b[_0x22f579([0x53])][0xff&t[(_0x3d04a1+0x3)%0x4]]^_0x5c574e);return _0x33e252;}function _0x5373d8(){const _0x59d45f=_0x935f7b[_0x22f579([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5ca988[_0x22f579([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x27fcc9=0x0;_0x27fcc9<=_0x59d45f;_0x27fcc9++)_0x593eb2[_0x22f579([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x560b0e[_0x22f579([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x29ff45=0x4*(_0x59d45f+0x1),_0xe9fdcf=_0x5ca988[_0x22f579([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x22df63=_0x2b004d(_0x5ca988);let _0x3bd64a;for(let _0x2ab761=0x0;_0x2ab761<_0xe9fdcf;_0x2ab761++)_0x3bd64a=_0x2ab761>>0x2,_0x593eb2[_0x3bd64a][_0x2ab761%0x4]=_0x22df63[_0x2ab761],_0x560b0e[_0x59d45f-_0x3bd64a][_0x2ab761%0x4]=_0x22df63[_0x2ab761];let _0x4e8a43,_0x4fe290=0x0,t=_0xe9fdcf;for(;t<_0x29ff45;){_0x4e8a43=_0x22df63[_0xe9fdcf-0x1],_0x22df63[0x0]^=_0x935f7b[_0x22f579([0x53])][_0x4e8a43>>0x10&0xff]<<0x18^_0x935f7b[_0x22f579([0x53])][_0x4e8a43>>0x8&0xff]<<0x10^_0x935f7b[_0x22f579([0x53])][0xff&_0x4e8a43]<<0x8^_0x935f7b[_0x22f579([0x53])][_0x4e8a43>>0x18&0xff]^_0x935f7b[_0x22f579([0x72,0x63,0x6f,0x6e])][_0x4fe290]<<0x18,_0x4fe290+=0x1;for(let _0x526ef6=0x1;_0x526ef6<_0xe9fdcf/0x2;_0x526ef6++)_0x22df63[_0x526ef6]^=_0x22df63[_0x526ef6-0x1];_0x4e8a43=_0x22df63[_0xe9fdcf/0x2-0x1],_0x22df63[_0xe9fdcf/0x2]^=_0x935f7b[_0x22f579([0x53])][0xff&_0x4e8a43]^_0x935f7b[_0x22f579([0x53])][_0x4e8a43>>0x8&0xff]<<0x8^_0x935f7b[_0x22f579([0x53])][_0x4e8a43>>0x10&0xff]<<0x10^_0x935f7b[_0x22f579([0x53])][_0x4e8a43>>0x18&0xff]<<0x18;for(let _0x2324d0=_0xe9fdcf/0x2+0x1;_0x2324d0<_0xe9fdcf;_0x2324d0++)_0x22df63[_0x2324d0]^=_0x22df63[_0x2324d0-0x1];let _0x502bbe,_0x105dd3,_0x8252af=0x0;for(;_0x8252af<_0xe9fdcf&&t<_0x29ff45;)_0x502bbe=t>>0x2,_0x105dd3=t%0x4,_0x593eb2[_0x502bbe][_0x105dd3]=_0x22df63[_0x8252af],_0x560b0e[_0x59d45f-_0x502bbe][_0x105dd3]=_0x22df63[_0x8252af++],t++;}for(let _0x310144=0x1;_0x310144<_0x59d45f;_0x310144++)for(let _0x23e72e=0x0;_0x23e72e<0x4;_0x23e72e++)_0x4e8a43=_0x560b0e[_0x310144][_0x23e72e],_0x560b0e[_0x310144][_0x23e72e]=_0x935f7b[_0x22f579([0x55,0x31])][_0x4e8a43>>0x18&0xff]^_0x935f7b[_0x22f579([0x55,0x32])][_0x4e8a43>>0x10&0xff]^_0x935f7b[_0x22f579([0x55,0x33])][_0x4e8a43>>0x8&0xff]^_0x935f7b[_0x22f579([0x55,0x34])][0xff&_0x4e8a43];}}function _0x22f579(_0x33452a){return _0x33452a['map'](_0x2fdfcb=>String['fromCharCode'](_0x2fdfcb))['join']('');}(_0x220d1c=>{function _0x4d4ce9(){const _0xfe085f=[{[_0x22f579([0x69,0x64])]:0x1,[_0x22f579([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x22f579([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x22f579([0x69,0x64])]:0x2,[_0x22f579([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x22f579([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x22f579([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x22f579([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x22f579([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x22f579([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x22f579([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x22f579([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x22f579([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x22f579([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x22f579([0x69,0x64])]:0x3,[_0x22f579([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x22f579([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x22f579([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x22f579([0x69,0x64])]:0x4,[_0x22f579([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x22f579([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x22f579([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x22f579([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x22f579([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x22f579([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x22f579([0x69,0x64])]:0x5,[_0x22f579([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x22f579([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]),[_0x22f579([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x22f579([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x22f579([0x66,0x67,0x69])]:[0xc]}},{[_0x22f579([0x69,0x64])]:0x6,[_0x22f579([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x22f579([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x22f579([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x22f579([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x22f579([0x66,0x67,0x69])]:[0xc]}},{[_0x22f579([0x69,0x64])]:0x7,[_0x22f579([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x22f579([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x22f579([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x22f579([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x22f579([0x66,0x67,0x69])]:[0xc]}},{[_0x22f579([0x69,0x64])]:0x8,[_0x22f579([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x22f579([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]),[_0x22f579([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x22f579([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x22f579([0x66,0x67,0x69])]:[0xc]}},{[_0x22f579([0x69,0x64])]:0x9,[_0x22f579([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x22f579([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x22f579([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x22f579([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x22f579([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x22f579([0x69,0x64])]:0xa,[_0x22f579([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x50,0x61,0x73,0x74,0x65,0x20,0x66,0x72,0x6f,0x6d,0x20,0x4f,0x66,0x66,0x69,0x63,0x65,0x20,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64]),[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x50,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x72]),[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x22f579([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]),[_0x22f579([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x22f579([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x22f579([0x66,0x67,0x69])]:[0xc]}},{[_0x22f579([0x69,0x64])]:0xb,[_0x22f579([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x22f579([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x22f579([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x22f579([0x69,0x64])]:0xc,[_0x22f579([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x22f579([0x69,0x64])]:0xd,[_0x22f579([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x22f579([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x22f579([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x22f579([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x22f579([0x66,0x67,0x69])]:[0xc]}},{[_0x22f579([0x69,0x64])]:0xe,[_0x22f579([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x22f579([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x22f579([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])},{[_0x22f579([0x69,0x64])]:0xf,[_0x22f579([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x22f579([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x22f579([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x22f579([0x69,0x64])]:0x10,[_0x22f579([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x22f579([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x22f579([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x22f579([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x22f579([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x22f579([0x66,0x67,0x69])]:[0xc]}}];return _0x146019(_0xfe085f),_0xfe085f;function _0x2f55d0(_0x38873e){return 0x1<<_0x38873e-0x1;}function _0x146019(_0x298098){_0x298098[_0x22f579([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x28900d=>{_0x28900d[_0x22f579([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x2f55d0(_0x28900d[_0x22f579([0x69,0x64])]),_0x138c2a(_0x28900d)&&_0x28900d[_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x146019(_0x28900d[_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x138c2a(_0xf588e7){return _0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0xf588e7;}const _0x1c1e6c=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x49d8d7=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x24fd5e(_0x390e94){const _0x49712c=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x31e0a0(_0x390e94,new Uint8Array([..._0x1c1e6c,..._0x49712c,..._0x49d8d7]));}function _0x31e0a0(_0x31d990,_0x67e03b){const _0x4b4393=_0x55be33(_0x31d990),_0x5b6116=Array[_0x22f579([0x66,0x72,0x6f,0x6d])](_0x57b807(_0x4b4393)),_0xa3bef6=_0x5b6116[_0x22f579([0x70,0x6f,0x70])](),_0x1562ca=_0x5b6116[_0x22f579([0x70,0x6f,0x70])]();return _0x328079(_0x1a633f(_0x5b6116,_0x67e03b,_0x1562ca+0x100*_0xa3bef6));}function _0x55be33(_0xb1a504){const _0x59eb14=atob(_0xb1a504),[_0x4dee2e,_0x2af42b]=_0x59eb14[_0x22f579([0x73,0x70,0x6c,0x69,0x74])](_0x22f579([0x2d]));try{if(atob(_0x2af42b))return atob(_0x4dee2e);}catch(_0x29658a){}return _0x59eb14;}function _0x4f0b65(_0x1526f8){try{const _0xada031=_0x24fd5e(_0x1526f8),_0x218cd6=JSON[_0x22f579([0x70,0x61,0x72,0x73,0x65])](_0xada031),_0x204ee8=parseInt(_0x218cd6[_0x22f579([0x31])]),_0x47bfc1=_0x218cd6[_0x22f579([0x32])]||'',_0xe6ae7a=parseInt(_0x218cd6[_0x22f579([0x33])]),_0x581e68=parseInt(_0x218cd6[_0x22f579([0x34])])||0x0,_0x411cdc=parseInt(_0x218cd6[_0x22f579([0x35])])||0x0;return{[_0x22f579([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x47bfc1,[_0x22f579([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x581e68,[_0x22f579([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x204ee8,[_0x22f579([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0xe6ae7a,[_0x22f579([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x411cdc};}catch(_0xe27067){return null;}}const _0x22e051=_0x4d4ce9(),_0x5b1dc1={[_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x543047,[_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73])]:_0x48becc,[_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79])]:_0x4aef85},_0x54db73=_0x220d1c[_0x22f579([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x22bb16=_0x22f579([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x220d1c?_0x220d1c['context']:_0x220d1c['editor'],_0x399a20=_0x22f579([0x34,0x30,0x34,0x38,0x31,0x34,0x34,0x36]),_0x4754ad=_0x22f579([0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39]),_0x51834a=_0x22bb16['config']['get'](_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x59bf79=_0x22e051[_0x22f579([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x138c2a)[_0x22f579([0x66,0x69,0x6e,0x64])](_0x120ca2=>_0x120ca2[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x54db73);function _0x497d04(_0x1690ad,_0x4b246f){_0x5b1dc1[_0x4b246f[_0x22f579([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x1690ad,_0x4b246f),_0x4b246f[_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4b246f[_0x22f579([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x22f579([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd88c9a=>_0x3ec8a3(_0x22bb16,_0xd88c9a[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x22f579([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2b254f=>_0x497d04(_0x1690ad,_0x2b254f));}function _0x543047(_0x48ab7a,_0x2e35f9){_0x3c7dbe(_0x509cca(_0x48ab7a,_0x2e35f9),_0x2e35f9);}function _0x48becc(_0x3f2947,_0x2c1096){function _0x247789(_0x5777ca,_0x5dc4d0){try{if(_0x3ec8a3(_0x22bb16,_0x22f579([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x5777ca){const _0x1190d5=_0x17274d(_0x22bb16,_0x22f579([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x22f579([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1190d5)/0x2>_0x5777ca[_0x22f579([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x2078de(_0x5dc4d0[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x509cca(_0x5777ca,_0x5dc4d0);}catch(_0x6455fd){return _0x2078de(_0x5dc4d0[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x3c7dbe(_0x247789(_0x3f2947,_0x2c1096),_0x2c1096);}function _0x4aef85(_0x600820,_0x1dd06b){const _0x22959c=_0x49d8d7[0x0]*_0x1c1e6c[0x1],_0x54e1cd=_0x49d8d7[0x0]*_0x1c1e6c[0x2],_0x140c59=_0x49d8d7[0x2]*_0x1c1e6c[0x2];_0x3ec8a3(_0x22bb16,_0x22f579([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x17274d(_0x22bb16,_0x22f579([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x22f579([0x73,0x74,0x61,0x74,0x65])]==_0x22f579([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3f33dc()]=_0x140c59);function _0x2b4bb0(_0x4fb909,_0x161e57){try{return _0x516388()?_0x2078de(_0x161e57[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x56,0x61,0x6c,0x69,0x64])):_0x509cca(_0x4fb909,_0x161e57);}catch(_0x54529d){return _0x2078de(_0x161e57[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x48a965(_0x1d3ebd,_0x1dd4af){const _0x133daf=0x7;if(_0x1d3ebd==_0x1dd4af[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x2b35f5();else{if(_0x1d3ebd==_0x1dd4af[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x54,0x72,0x69,0x61,0x6c])){const _0x1f0144=_0x3de8fd();_0x1f0144&&_0x1b026d(_0x1f0144,_0x1dd4af[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x91a927=_0x3a8156();window[_0x22f579([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x1b026d(_0x22f579([0x74,0x69,0x6d,0x65]),_0x1dd4af[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x91a927);const _0x59e225=_0x17274d(_0x22bb16,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x22f579([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x59e225[_0x22f579([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x133daf?_0x1b026d(_0x22f579([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1dd4af[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x59e225['on'](_0x22f579([0x61,0x64,0x64]),()=>{_0x59e225[_0x22f579([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x133daf&&_0x1b026d(_0x22f579([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1dd4af[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x3de8fd(){if(!_0x3ec8a3(_0x22bb16,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x25497a in window)if(Number['isNaN'](Number(_0x25497a))){if(window[_0x25497a]===_0x22959c)return _0x22f579([0x74,0x69,0x6d,0x65]);if(window[_0x25497a]===_0x54e1cd)return _0x22f579([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x516388(){if(!_0x3ec8a3(_0x22bb16,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4e5a0c in window)if(Number['isNaN'](Number(_0x4e5a0c))&&window[_0x4e5a0c]===_0x140c59)return!0x0;return!0x1;}function _0x1b026d(_0x23bb59,_0x519bcc){_0x2b35f5(),_0x2078de(_0x519bcc+_0x22f579([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x23bb59),window[_0x3f33dc()]=_0x23bb59===_0x22f579([0x74,0x69,0x6d,0x65])?_0x22959c:_0x54e1cd;}function _0x3a8156(){let _0x1ebe30=_0x49d8d7[0x6]*_0x1c1e6c[0x8]*_0x1c1e6c[0x6];return _0x3ec8a3(_0x22bb16,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1ebe30/=0xa),_0x1ebe30;}function _0x2b35f5(){const _0x173653=_0x22bb16;function _0x10b692(){_0x3ec8a3(_0x173653,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x17274d(_0x173653,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x22f579([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x22f579([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x17274d(_0x173653,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x22f579([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x17274d(_0x173653,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x22f579([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x1da0c4,_0x17274d(_0x173653,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x22f579([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x1da0c4,_0x173653[_0x22f579([0x6d,0x6f,0x64,0x65,0x6c])][_0x22f579([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1da0c4,_0x173653[_0x22f579([0x6d,0x6f,0x64,0x65,0x6c])][_0x22f579([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1da0c4,_0x173653[_0x22f579([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x22f579([0x6d,0x6f,0x64,0x65,0x6c]))),_0x3ec8a3(_0x173653,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x17274d(_0x173653,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x22f579([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x22f579([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x17274d(_0x173653,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x22f579([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x17274d(_0x173653,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x22f579([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x1da0c4,_0x17274d(_0x173653,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x22f579([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x1da0c4);}_0x173653[_0x22f579([0x73,0x74,0x61,0x74,0x65])]==_0x22f579([0x72,0x65,0x61,0x64,0x79])?_0x10b692():_0x173653[_0x22f579([0x6f,0x6e,0x63,0x65])](_0x22f579([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x3ec8a3(_0x173653,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x10b692(),_0x3ec8a3(_0x173653,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x2889f0=_0x17274d(_0x173653,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0xe9ddcf=_0x2889f0['getRevision'](0x0),_0x5ca533=_0x2889f0['getEarlierVisibleRevision'](_0xe9ddcf[_0x22f579([0x69,0x64])]);_0x17274d(_0x173653,_0x22f579([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x22f579([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0xe9ddcf[_0x22f579([0x69,0x64])],_0x5ca533?_0x5ca533[_0x22f579([0x69,0x64])]:null,0x1)['then'](()=>_0x10b692());}});}_0x48a965(_0x2b4bb0(_0x600820,_0x1dd06b),_0x1dd06b);}function _0x509cca(_0x68c8d8,_0x6e48e5){try{return _0x14594e(_0x6e48e5)?_0x2078de(_0x6e48e5[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x56,0x61,0x6c,0x69,0x64])):_0x68c8d8&&_0x20e685(_0x68c8d8[_0x22f579([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x6e48e5)?_0x68c8d8[_0x22f579([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x22f579([0x6f,0x70,0x65,0x6e])][_0x22f579([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x399a20)/0x2>_0x68c8d8[_0x22f579([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x2078de(_0x6e48e5[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x68c8d8[_0x22f579([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x2078de(_0x6e48e5[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x54,0x72,0x69,0x61,0x6c])):_0x2078de(_0x6e48e5[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x56,0x61,0x6c,0x69,0x64])):_0x2078de(_0x6e48e5[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5a5697){return _0x2078de(_0x6e48e5[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3c7dbe(_0x4ae757,_0x5bca72){if(_0x22bb16 instanceof _0x51d893){const _0xa55779=_0x22bb16;_0x4ae757==_0x5bca72[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x47adcf(_0xa55779):_0x4ae757==_0x5bca72[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x54,0x72,0x69,0x61,0x6c])&&window[_0x22f579([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x47adcf(_0xa55779),_0x2078de(_0x5bca72[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x49d8d7[0x6]*_0x1c1e6c[0x8]*_0x1c1e6c[0x6]),_0xa55779[_0x22f579([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x22f579([0x6f,0x6e])](_0x22f579([0x61,0x64,0x64]),(_0x3e3967,_0x36742b)=>{_0x4ae757!=_0x5bca72[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x4ae757!=_0x5bca72[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x4ae757!=_0x5bca72[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x1ef0ee(_0x36742b);});}else{const _0x3d8788=_0x22bb16;_0x4ae757==_0x5bca72[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1ef0ee(_0x3d8788):_0x4ae757==_0x5bca72[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x54,0x72,0x69,0x61,0x6c])&&_0x3d8788[_0x22f579([0x6f,0x6e])](_0x22f579([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x18dde1=0x0;_0x3d8788[_0x22f579([0x6d,0x6f,0x64,0x65,0x6c])][_0x22f579([0x6f,0x6e])](_0x22f579([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x55e647,_0x417bb9)=>{_0x417bb9[0x0][_0x22f579([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18dde1++,0x1f8===_0x18dde1&&(_0x1ef0ee(_0x3d8788),_0x2078de(_0x5bca72[_0x22f579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x22f579([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x55e647[_0x22f579([0x6f,0x66,0x66])]());},{'priority':_0x22f579([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x2078de(_0x1fbddf){const _0x548a06=_0x3f33dc();return _0x22bb16[_0x548a06]=_0x1fbddf,_0x1fbddf;}function _0x3f33dc(){const _0x5292e8=String(window[_0x22f579([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x22f579([0x6e,0x6f,0x77])]())[_0x22f579([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x22f579([0x2e]),'');let _0x40fa7e='';for(let _0x14003d=0x0;_0x14003d<_0x5292e8[_0x22f579([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14003d+=0x2){let _0x4ec723=parseInt(_0x5292e8[_0x22f579([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14003d,_0x14003d+0x2));_0x4ec723>=_0x4754ad[_0x22f579([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ec723-=_0x4754ad[_0x22f579([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40fa7e+=_0x4754ad[_0x4ec723];}return _0x40fa7e;}function _0x47adcf(_0x215926){for(const _0x5c0023 of _0x215926[_0x22f579([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x1ef0ee(_0x5c0023);_0x17274d(_0x215926,_0x22f579([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x22f579([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x17274d(_0x215926,_0x22f579([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x22f579([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x1da0c4;}function _0x1ef0ee(_0x24d9fb){function _0xdc741(){_0x24d9fb[_0x22f579([0x6d,0x6f,0x64,0x65,0x6c])][_0x22f579([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1da0c4,_0x24d9fb[_0x22f579([0x6d,0x6f,0x64,0x65,0x6c])][_0x22f579([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1da0c4,_0x24d9fb[_0x22f579([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x22f579([0x6d,0x6f,0x64,0x65,0x6c]));}_0x24d9fb[_0x22f579([0x73,0x74,0x61,0x74,0x65])]==_0x22f579([0x72,0x65,0x61,0x64,0x79])?_0xdc741():_0x24d9fb[_0x22f579([0x6f,0x6e,0x63,0x65])](_0x22f579([0x72,0x65,0x61,0x64,0x79]),()=>_0xdc741());}function _0x1da0c4(){return null;}function _0x20e685(_0x8340fe,_0x2b8541){const _0x1925e6=!!(_0x8340fe&_0x2b8541[_0x22f579([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x46b46a=_0x5098e7(_0x8340fe,_0x2b8541);return _0x1925e6||_0x46b46a;}function _0x5098e7(_0x183005,_0x476d72){const _0x13cc56=(_0x476d72[_0x22f579([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x22f579([0x66,0x67,0x69])]||null;return!!_0x13cc56&&_0x22e051[_0x22f579([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e6033=>_0x13cc56[_0x22f579([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e6033[_0x22f579([0x69,0x64])]))[_0x22f579([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x207a07=>!_0x191475(_0x207a07))[_0x22f579([0x73,0x6f,0x6d,0x65])](_0x2b62bf=>!!(_0x183005&_0x2b62bf[_0x22f579([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x191475(_0x58fe59){const _0x4bb033={[_0x22f579([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])]:_0x34b9e8};return!!_0x58fe59['forbiddenHandler']&&_0x4bb033[_0x58fe59['forbiddenHandler']]();}function _0x34b9e8(){return!window[_0x22f579([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x3ec8a3(_0x22bb16,_0x22f579([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x14594e(_0x450c2b){if(!_0x3ec8a3(_0x22bb16,_0x450c2b[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x569865=_0x450c2b[_0x22f579([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x211a76=_0x569865[_0x22f579([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4f334c=_0x569865[_0x22f579([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x483047=_0x569865[_0x22f579([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x3ec8a3(_0x22bb16,_0x22f579([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x17274d(_0x22bb16,_0x22f579([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x22f579([0x73,0x74,0x61,0x74,0x65])]==_0x22f579([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x211a76)return!0x0;if(_0x3ec8a3(_0x22bb16,_0x22f579([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x17274d(_0x22bb16,_0x22f579([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x22f579([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x22f579([0x65,0x6e,0x64])&&_0x4f334c)return!0x0;return!(!_0x3ec8a3(_0x22bb16,_0x22f579([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]))||_0x17274d(_0x22bb16,_0x22f579([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]))[_0x22f579([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x22f579([0x65,0x6e,0x64])||!_0x483047);}function _0x3ec8a3(_0x42846e,_0xc4deb0){return _0x42846e[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x22f579([0x68,0x61,0x73])](_0xc4deb0);}function _0x17274d(_0x19e0df,_0x5b55cf){return _0x19e0df[_0x22f579([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x22f579([0x67,0x65,0x74])](_0x5b55cf);}function _0x328079(_0x44e4b1){let _0x4d2282='';for(const _0x4bc6df of _0x44e4b1)_0x4d2282+=String[_0x22f579([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x4bc6df);return _0x4d2282;}function _0x57b807(_0x3ea54c){const _0x4f8203=new Uint8Array(_0x3ea54c[_0x22f579([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3520a2=0x0;_0x3520a2<_0x3ea54c[_0x22f579([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3520a2++)_0x4f8203[_0x3520a2]=_0x3ea54c[_0x22f579([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3520a2);return _0x4f8203;}_0x59bf79&&_0x497d04(_0x4f0b65(_0x51834a),_0x59bf79);})(_0x17ee14);}(this);}['showUI'](_0x3b5e38='',_0x56a11f='',_0x1ec70e='custom'){const _0x12a9c6=this['editor'],_0x2410cd=_0x12a9c6['editing']['view'],_0x593b50=_0x12a9c6['plugins']['get'](i),_0x30aade=_0x12a9c6['plugins']['get'](_0x3cb49d);_0x593b50['showFakeVisualSelection']();const _0x3b21bb=new T(),_0x4b0299=new ClipboardEvent('copy',{'clipboardData':_0x3b21bb}),_0x526959=new _0x18b62a(_0x3b21bb),_0x257956=new _0x2558a5(_0x2410cd,_0x4b0299,{'dataTransfer':_0x526959});_0x30aade['_forceMarkersCopy']('comment',()=>{_0x2410cd['document']['fire']('copy',_0x257956);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new k(_0x12a9c6,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x18fdf9=_0x526959['getData']('text/html');const _0x331220=_0x12a9c6['model']['document']['selection'],_0x196fe4=Array['from'](_0x331220['getRanges']());0x1===_0x196fe4['length']&&_0x196fe4[0x0]['isFlat']&&!_0x331220['getSelectedElement']()&&''!==_0x18fdf9['replace'](/ /g,'')['trim']()&&(_0x18fdf9='<p>'+_0x18fdf9+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x1ec70e,'query':_0x3b5e38,'htmlContent':_0x18fdf9,'label':_0x56a11f,'mainActionLabel':E[_0x12a9c6['model']['document']['selection']['isCollapsed']?'INSERT':'REPLACE']}),'aiAssistant'!==this['_dialog']['id']?this['_dialog']['show']({'id':'aiAssistant','icon':ft['robotPencil'],'title':o(this['editor']['locale'],'AI\x20Assistant'),'content':this['_formView'],'position':_0xd8c5b8['EDITOR_TOP_SIDE'],'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_aiAssistantController']['reset'](),_0x593b50['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_createAIAssistantUIButton'](_0x2feca0){const _0x5958a8=this['editor'],_0x3c2657=_0x5958a8['commands']['get']('showAIAssistant'),_0x3341a8=new _0x2feca0(_0x5958a8['locale']);return _0x3341a8['set']({'label':o(_0x5958a8['locale'],'AI\x20Assistant'),'icon':ft['robotPencil']}),_0x3341a8['bind']('isEnabled')['to'](_0x3c2657),_0x3341a8['bind']('isOn')['to'](this['_dialog'],'id',_0x2ac739=>'aiAssistant'===_0x2ac739),this['listenTo'](_0x3341a8,'execute',()=>{_0x3341a8['isOn']?this['hideUI']():_0x3c2657['execute']();}),_0x3341a8;}['_initView'](){const _0x7589ad=this['editor']['plugins']['get'](i);this['_formView']=new x(this['editor']['locale'],this['_uiCssClasses'],this['editor']['config']['get']('ai.aiAssistant.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',()=>{_0x7589ad['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x7589ad['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x4dd586,ui:{ariaLiveAnnouncer:_0x395a22}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x4f66d9,_0x267690,_0x492f76)=>{const _0x30dea6=this['_aiAssistantController']['currentContext'];_0x492f76?_0x395a22['announce'](o(_0x4dd586,'AI\x20is\x20writing')):_0x30dea6&&_0x395a22['announce'](o(_0x4dd586,'Generated\x20content:\x20%0',_0x30dea6),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x489e6a,_0x5e5db3,_0x14cee8)=>{if(_0x14cee8){const _0x383be3=this['_formView']['errorView']['text'];_0x395a22['announce'](o(_0x4dd586,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x383be3));}});}}function _(_0x2e1cc9,_0x505602){const _0x3e359d=new U(_0x2e1cc9['locale']),_0x5cf2e3=H(_0x2e1cc9,_0x2e1cc9['config']['get']('ai.aiAssistant.commands'))['map'](({groupId:_0x1d7084,groupLabel:_0x42891b,commands:_0x419d48})=>{const _0xce4d66=H(_0x2e1cc9,_0x419d48)['map'](_0x4c7be8=>function(_0x2c4ccc,_0x13a9f5,_0xc827cc){const _0x4cbb05=new $(_0x2c4ccc,_0xc827cc),_0xdb7728=new N(),_0x2d0ea7=new _0x3953a8(_0x2c4ccc,_0xdb7728);return _0x4cbb05['children']['add'](_0x2d0ea7),_0x2d0ea7['set']({'label':_0xc827cc['label'],'withText':!0x0,'role':'option'}),_0x2d0ea7['on']('execute',()=>{_0x13a9f5(_0xc827cc['prompt'],_0xc827cc['label'],_0xc827cc['id'],void 0x0===_0xc827cc['requiresContent']||_0xc827cc['requiresContent']);}),_0x4cbb05;}(_0x2e1cc9['locale'],_0x505602,_0x4c7be8));return function(_0x2679d1,_0x524c41,_0x44e35a){const _0x3d82b7=new _0x32359f(_0x2679d1,new S());return _0x3d82b7['label']=_0x524c41,_0x3d82b7['items']['addMany'](_0x44e35a),_0x3d82b7;}(_0x2e1cc9['locale'],_0x42891b||_0x1d7084,_0xce4d66);});return _0x3e359d['items']['addMany'](_0x5cf2e3),_0x3e359d['bind']('enabledCommandsIds')['to'](_0x2e1cc9['commands']['get']('showAIAssistant'),'enabledCommandsIds'),_0x3e359d;}class $ extends _0x30024b{['commandDefinition'];constructor(_0x430fd1,_0x2e22d9){super(_0x430fd1),this['commandDefinition']=_0x2e22d9;}}function q(_0x160285,_0x352979){return void 0x0!==_0x160285['order']&&void 0x0===_0x352979['order']?0x1:void 0x0===_0x160285['order']&&void 0x0!==_0x352979['order']?-0x1:void 0x0!==_0x160285['order']&&void 0x0!==_0x352979['order']?_0x160285['order']-_0x352979['order']:0x0;}function H(_0x280234,_0x1a73ac){_0x1a73ac['sort'](q);const _0x342346={},_0x47dfa0=[];for(const _0x211345 of _0x1a73ac)if(void 0x0!==_0x211345['order']){if(_0x211345['order']in _0x342346)throw new _0x1a377e('ai-commands-config-order-collision',_0x280234,{'conflictingDefinitions':[_0x211345,_0x342346[_0x211345['order']]]});_0x342346[_0x211345['order']]=_0x211345,_0x47dfa0['splice'](_0x211345['order'],0x0,_0x211345);}else _0x47dfa0['push'](_0x211345);return _0x47dfa0;}class r extends _0x2c47ed{static get['requires'](){return[n,i];}static get['pluginName'](){return'AIAssistant';}constructor(_0x56984d){super(_0x56984d);const _0xb54031=_0x56984d['config'];var _0x4b9a10;_0xb54031['define']('ai.aiAssistant.commands',[{'groupId':'editOrReview','groupLabel':o(_0x4b9a10=_0x56984d['locale'],'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':o(_0x4b9a10,'Improve\x20writing'),'prompt':'Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'},{'id':'makeShorter','label':o(_0x4b9a10,'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':o(_0x4b9a10,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':o(_0x4b9a10,'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':o(_0x4b9a10,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':o(_0x4b9a10,'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':o(_0x4b9a10,'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':o(_0x4b9a10,'Change\x20tone'),'commands':[{'id':'professional','label':o(_0x4b9a10,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':o(_0x4b9a10,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':o(_0x4b9a10,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':o(_0x4b9a10,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':o(_0x4b9a10,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':o(_0x4b9a10,'Change\x20style'),'commands':[{'id':'business','label':o(_0x4b9a10,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':o(_0x4b9a10,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':o(_0x4b9a10,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':o(_0x4b9a10,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':o(_0x4b9a10,'Translate'),'commands':[{'id':'translateEnglish','label':o(_0x4b9a10,'Translate\x20to\x20%0',[o(_0x4b9a10,'English')]),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':o(_0x4b9a10,'Translate\x20to\x20%0',[o(_0x4b9a10,'Spanish')]),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':o(_0x4b9a10,'Translate\x20to\x20%0',[o(_0x4b9a10,'Portuguese')]),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':o(_0x4b9a10,'Translate\x20to\x20%0',[o(_0x4b9a10,'German')]),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':o(_0x4b9a10,'Translate\x20to\x20%0',[o(_0x4b9a10,'French')]),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':o(_0x4b9a10,'Translate\x20to\x20%0',[o(_0x4b9a10,'Simplified\x20Chinese')]),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':o(_0x4b9a10,'Translate\x20to\x20%0',[o(_0x4b9a10,'Hindi')]),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':o(_0x4b9a10,'Translate\x20to\x20%0',[o(_0x4b9a10,'Arabic')]),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}]),_0xb54031['define']('ai.aiAssistant.extraCommandGroups',[]),_0xb54031['define']('ai.aiAssistant.removeCommands',[]);const _0x465bda=_0xb54031['get']('ai.aiAssistant.commands'),_0x4ed380=_0xb54031['get']('ai.aiAssistant.extraCommandGroups'),_0x36745a=_0xb54031['get']('ai.aiAssistant.removeCommands');_0x4ed380['forEach'](_0xd47653=>{const _0x512bcf=_0x465bda['find'](_0x572715=>_0x572715['groupId']===_0xd47653['groupId']);_0x512bcf?_0x512bcf['commands']=_0x512bcf['commands']['concat'](_0xd47653['commands']):_0x465bda['push'](_0xd47653);}),_0x465bda['forEach'](_0x348a77=>{_0x348a77['commands']=_0x348a77['commands']['filter'](_0x46f019=>!_0x36745a['includes'](_0x46f019['id']));}),_0xb54031['set']('ai.aiAssistant.commands',_0x465bda);}['init'](){const _0x1318b3=this['editor'];this['licenseKey']=_0x1318b3['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x26d241;for(const _0x2e1898 in _0x1318b3){const _0x509d80=_0x2e1898,_0x3eb1e7=_0x1318b3[_0x509d80];if('aiLicenseKeyTrial'===_0x3eb1e7||'aiLicenseKeyInvalid'===_0x3eb1e7||'aiLicenseKeyValid'===_0x3eb1e7||'aiLicenseKeyTrialLimit:operations'===_0x3eb1e7){delete _0x1318b3[_0x509d80],_0x26d241=_0x3eb1e7;break;}}if('aiLicenseKeyInvalid'===_0x26d241)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x1a377e('ai-invalid-license-key',null);if('aiLicenseKeyTrial'===_0x26d241&&console['info']('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20ai\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),'aiLicenseKeyTrialLimit:operations'===_0x26d241)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x1a377e('ai-trial-license-key-reached-limit-changes',null);'aiLicenseKeyValid'===_0x26d241&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class P extends _0x2c47ed{['abortController'];static get['requires'](){return[y];}constructor(_0x5c40ca){super(_0x5c40ca),this['abortController']=new AbortController();}['init'](){this['editor']['plugins']['get'](y)['textAdapter']=this;}['abort'](){this['abortController']['signal']['aborted']||(this['abortController']['abort'](),this['abortController']=new AbortController());}async['makeRequest'](_0x3a6ec0){return this['sendRequest'](_0x3a6ec0)['catch'](_0x21af23=>{if(_0x21af23 instanceof R)return Promise['reject'](_0x21af23);if('AbortError'==_0x21af23['name'])return Promise['resolve']();throw console['error'](_0x21af23),new _0x1a377e('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x13a903,_0xa81441){const _0x415dd3=this['editor']['locale'],_0x120741={'Content-Type':'application/json'};if('object'==typeof _0x13a903)Object['assign'](_0x120741,_0x13a903);else{if(_0x13a903)try{const _0x310a11=await _0x13a903(_0xa81441);Object['assign'](_0x120741,_0x310a11);}catch(_0x252bc9){return Promise['reject'](new R(o(_0x415dd3,'AI_ERROR_GET_HEADERS')));}}return _0x120741;}async['_prepareRequestParameters'](_0x1a4cfd,_0x5e3210){const _0x534741=this['editor']['locale'];if('object'==typeof _0x1a4cfd)return _0x1a4cfd;try{return await _0x1a4cfd(_0x5e3210);}catch(_0x12a74d){return Promise['reject'](new R(o(_0x534741,'AI_ERROR_GET_PARAMETERS')));}}}class F extends P{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x1951f7){super(_0x1951f7),_0x1951f7['config']['define']('ai.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x1951f7['config']['get']('ai.openAI.requestParameters')||_0x1951f7['config']['define']('ai.openAI.requestParameters',{'model':'gpt-3.5-turbo','max_tokens':0x7d0,'temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x1951f7['config']['get']('ai.openAI.apiUrl'),this['_requestHeaders']=_0x1951f7['config']['get']('ai.openAI.requestHeaders')||{},this['_requestParameters']=_0x1951f7['config']['get']('ai.openAI.requestParameters');}async['sendRequest']({query:_0x449902,context:_0x3691cc,onData:_0xda28af,actionId:_0x1ddd35}){const _0x2a3bd4=this['editor']['locale'],_0x13de7a=await this['prepareMessages'](_0x449902,_0x3691cc,_0x1ddd35),_0x1175c6=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x1ddd35),_0x4e548b=await this['_prepareRequestParameters'](this['_requestParameters'],_0x1ddd35),_0x41cf80={'messages':_0x13de7a,..._0x4e548b},_0x7cf159={'method':'POST','headers':_0x1175c6,'body':JSON['stringify'](_0x41cf80),'signal':this['abortController']['signal']},_0x238a0b=await fetch(this['_apiUrl'],_0x7cf159);if(_0x238a0b['ok'])return _0x4e548b['stream']?await this['_readStreamableResponse'](_0x238a0b,_0xda28af):await this['_readStaticResponse'](_0x238a0b,_0xda28af),Promise['resolve']();{const _0x5d5689=await _0x238a0b['text']();return _0x5d5689['includes']('context_length_exceeded')?Promise['reject'](new R(o(_0x2a3bd4,'AI_ERROR_CONTEXT_LENGTH'))):_0x5d5689['includes']('Moderation')?Promise['reject'](new R(o(_0x2a3bd4,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x5d5689));}}async['prepareMessages'](_0x58fb4a,_0x298ac7,_0x67fd03){let _0x1b7eff,_0x4188f8;return _0x298ac7?(_0x1b7eff='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.',_0x4188f8='Instruction:\x0a'+_0x58fb4a+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x298ac7):(_0x1b7eff='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.',_0x4188f8=_0x58fb4a),[{'role':'system','content':_0x1b7eff},{'role':'user','content':_0x4188f8}];}async['_readStreamableResponse'](_0x1658be,_0x383d98){const _0x1f540f=_0x1658be['body']['getReader'](),_0x4be913=new TextDecoder();let _0x334c4c='',_0x1467fe='',_0x1fb4ae='',_0x42b57f=!0x1;for(;!_0x42b57f;){const {done:_0x186d14,value:_0x1f80e5}=await _0x1f540f['read'](),_0x41ceb2=_0x334c4c+_0x4be913['decode'](_0x1f80e5);let _0x17611f='';_0x42b57f=_0x186d14;try{_0x17611f=this['_cleanUpData'](_0x41ceb2),_0x334c4c='';}catch(_0x5ae7f3){_0x334c4c=_0x41ceb2;continue;}_0x1467fe+=_0x17611f,!_0x42b57f&&this['_isBufferIncomplete'](_0x1467fe)||_0x1467fe&&(_0x1fb4ae+=_0x1467fe,_0x1467fe='',_0x383d98(_0x1fb4ae));}return Promise['resolve']();}async['_readStaticResponse'](_0x45890e,_0x1c4426){return _0x1c4426((await _0x45890e['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x55d706){const _0xc3a3f6=_0x55d706['split']('<')['length']!==_0x55d706['split']('>')['length'],_0x3489e2=_0x55d706['length']<0x1e;return _0xc3a3f6&&_0x3489e2;}['_cleanUpData'](_0x5aa6e4){return _0x5aa6e4['split'](/\n(?![^{]*\})/g)['map'](_0x5d0005=>_0x5d0005['replace']('data:\x20',''))['filter'](_0x58e3ad=>_0x58e3ad&&_0x58e3ad['length']>0x0&&'[DONE]'!==_0x58e3ad)['map'](_0x10a261=>{const {choices:_0x31c74f}=JSON['parse'](_0x10a261);if(_0x31c74f[0x0]&&_0x31c74f[0x0]['delta']&&_0x31c74f[0x0]['delta']['content'])return _0x31c74f[0x0]['delta']['content'];})['filter'](_0x585154=>_0x585154)['join']('');}}class J extends P{['_apiUrl'];['_requestHeaders'];['_bedrockClientConfig'];['_requestParameters'];static get['pluginName'](){return'AWSTextAdapter';}constructor(_0x394e98){super(_0x394e98),_0x394e98['config']['get']('ai.aws.requestParameters')||_0x394e98['config']['define']('ai.aws.requestParameters',{'model':'anthropic.claude-v2','max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':'bedrock-2023-05-31','stream':!0x0}),this['_apiUrl']=_0x394e98['config']['get']('ai.aws.apiUrl'),this['_bedrockClientConfig']=_0x394e98['config']['get']('ai.aws.bedrockClientConfig'),this['_requestHeaders']=_0x394e98['config']['get']('ai.aws.requestHeaders'),this['_requestParameters']=_0x394e98['config']['get']('ai.aws.requestParameters');}async['sendRequest']({query:_0x30074b,context:_0x4655d3,onData:_0x36d3d6,actionId:_0x25b09e}){const {model:_0x24a3dd,stream:_0x15409c,..._0x322d5e}=await this['_prepareRequestParameters'](this['_requestParameters'],_0x25b09e),_0x4272d2={'prompt':await this['preparePrompt'](_0x30074b,_0x4655d3,_0x24a3dd,_0x25b09e),..._0x322d5e};this['_apiUrl']?await this['_processProxyRequest'](_0x4272d2,_0x24a3dd,_0x15409c,_0x36d3d6,_0x25b09e):await this['_processAWSRequest'](_0x4272d2,_0x24a3dd,_0x15409c,_0x36d3d6);}async['preparePrompt'](_0x1667b5,_0x1cc59c,_0x5146fc,_0x52525b){let _0x5bba48,_0x4265a4;return _0x1cc59c?(_0x5bba48='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.',_0x4265a4='Instruction:\x0a'+_0x1667b5+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x1cc59c):(_0x5bba48='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.',_0x4265a4=_0x1667b5),'meta.llama'==this['getModelFamily'](_0x5146fc)?'<<SYS>>\x0a'+_0x5bba48+'\x0a<</SYS>>\x0a[INST]\x0a'+_0x4265a4+'\x0a[/INST]':'Human:\x0a'+_0x5bba48+'\x0a'+_0x4265a4+'\x0a\x0aAssistant:';}['getModelFamily'](_0x11e6c9){if(/^anthropic\.claude/['test'](_0x11e6c9))return'anthropic.claude';if(/^ai21\.j2/['test'](_0x11e6c9))return'ai21.j2';if(/^cohere\.command/['test'](_0x11e6c9))return'cohere.command';if(/^meta\.llama/['test'](_0x11e6c9))return'meta.llama';throw new R(o(this['editor']['locale'],'AI_ERROR_UNSUPPORTED_MODEL',_0x11e6c9));}async['_processProxyRequest'](_0x4e5864,_0x22bfc8,_0xc76b3d,_0x5c45d8,_0x1e0a33){const _0x4489ca={'method':'POST','headers':await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x1e0a33),'body':JSON['stringify']({..._0x4e5864,'model':_0x22bfc8,'stream':_0xc76b3d}),'signal':this['abortController']['signal']},_0x11c3de=await fetch(this['_apiUrl'],_0x4489ca);_0xc76b3d?await this['_readStreamableResponse'](_0x11c3de,_0x22bfc8,_0x5c45d8):await this['_readStaticResponse'](_0x11c3de,_0x22bfc8,_0x5c45d8);}async['_processAWSRequest'](_0x15a015,_0x3692f8,_0x736912,_0x41e19a){const _0x1a55bf=new _0x5a7cc9(this['_bedrockClientConfig']),_0x224d02={'body':JSON['stringify'](_0x15a015),'contentType':'application/json','accept':'application/json','modelId':_0x3692f8};let _0x44083e;if(_0x736912){const _0x21846c=new _0x5d6bcf(_0x224d02);_0x44083e=await _0x1a55bf['send'](_0x21846c,{'abortSignal':this['abortController']['signal']}),await this['_readAsyncIterableResponse'](_0x44083e,_0x3692f8,_0x41e19a);}else{const _0x32a1c6=new _0x2d6d26(_0x224d02);_0x44083e=await _0x1a55bf['send'](_0x32a1c6,{'abortSignal':this['abortController']['signal']}),await this['_readStaticResponse'](_0x44083e,_0x3692f8,_0x41e19a);}}async['_readAsyncIterableResponse'](_0x42c1b7,_0x151dc5,_0x48c3dc){const _0x2cb337=_0x42c1b7['body'],_0x55f6f3=new TextDecoder('utf-8');let _0x240ab5='';for await(const _0x136814 of _0x2cb337)if(_0x136814['chunk']){const _0x303dac=_0x55f6f3['decode'](_0x136814['chunk']['bytes']),_0xadfaea=JSON['parse'](_0x303dac);_0x240ab5+=this['_getGeneratedText'](_0xadfaea,_0x151dc5),_0x48c3dc(_0x240ab5);}return Promise['resolve']();}async['_readStreamableResponse'](_0x25ccbf,_0x56f90e,_0x11ab43){const _0x25ad66=_0x25ccbf['body'],_0x6fde5=new TextDecoder('utf-8'),_0x463bd3=_0x25ad66['getReader']();let _0x1a1cae='',_0x56a7e7='',_0x4adfbc=!0x1;for(;!_0x4adfbc;){const {done:_0x3aea0e,value:_0x3f3e48}=await _0x463bd3['read']();if(_0x4adfbc=_0x3aea0e,_0x4adfbc)break;const _0x2b3d4b=(_0x1a1cae+_0x6fde5['decode'](_0x3f3e48))['split']('\x0a')['map'](_0x27e166=>{try{return _0x1a1cae='',JSON['parse'](_0x27e166);}catch(_0x264a4c){return _0x1a1cae=_0x27e166,null;}})['filter'](_0x3a6756=>null!==_0x3a6756);_0x2b3d4b['length']&&(_0x56a7e7+=_0x2b3d4b['map'](_0x1a63ce=>this['_getGeneratedText'](_0x1a63ce,_0x56f90e))['join'](''),_0x11ab43(_0x56a7e7));}return Promise['resolve']();}async['_readStaticResponse'](_0x4dbb3c,_0x1186b6,_0x16bd72){let _0x1e7d92;return _0x1e7d92=_0x4dbb3c instanceof Response?await _0x4dbb3c['json']():JSON['parse'](Buffer['from'](_0x4dbb3c['body'])['toString']('utf8')),(_0x16bd72(this['_getGeneratedText'](_0x1e7d92,_0x1186b6)),Promise['resolve']());}['_getGeneratedText'](_0x1ff492,_0x4dde3d){switch(this['getModelFamily'](_0x4dde3d)){case'anthropic.claude':return _0x1ff492['completion'];case'ai21.j2':return _0x1ff492['completions'][0x0]['data']['text'];case'cohere.command':return _0x1ff492['generations'][0x0]['text'];case'meta.llama':return _0x1ff492['generation'];}}}export{y as AIAdapter,r as AIAssistant,R as AIRequestError,P as AITextAdapter,J as AWSTextAdapter,F as OpenAITextAdapter};
|