@ckeditor/ckeditor5-ai 47.3.0-alpha.1 → 47.3.0-alpha.2
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-editor.css +0 -4
- package/dist/index.css +0 -4
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
- package/theme/aiquickactions/aiquickactions.css +0 -4
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2249(_0x4356e7,_0x3244de){const _0x69a697=_0x69a6();return _0x2249=function(_0x2249ba,_0x54cfa0){_0x2249ba=_0x2249ba-0xda;let _0x5b832b=_0x69a697[_0x2249ba];return _0x5b832b;},_0x2249(_0x4356e7,_0x3244de);}const _0x21bd8e=_0x2249;function _0x69a6(){const _0x55f18c=['addClass','ai-ui','for','findAncestor','ck-ai-assistant-ui_theme','getRange','isPremiumPlugin','insertRows','_createEmptyTableRows','_getDefaultInsertBelowPosition','editingDowncast','href','data','init','removeMarker','join','isCollapsed','last','element','366157HaLVSe','31422ZDfFvg','push','setSelection','markerRange','9JjfdVB','has','getRowIndexes','text/html','_resetContentOfSelectedTableCells','showFakeVisualSelection','createRange','createPositionAfter','getRanges','2304KLsiYt','editing','afterInit','addMarker','ck-fake-ai-selection_collapsed','isContent','38tVfDYc','createPositionAt','TableUtils','isAtEnd','markerToHighlight','canEditAt','schema','getColumnIndexes','getChild','getFirstRange','1268001QzTBoQ','updateMarker','first','markerToElement','ai.assistant.useTheme','resultRange','getSelectedBlocks','1148125UNQVBa','isOfficialPlugin','pluginName','editor','from','_prepareTableInsertBelowPosition','fromCharCode','2922xFYpgO','_getTableRowCountFromContent','lowest','getSelectedTableCells','model','span','_pasteHTMLUsingClipboard','forEach','filter','AIAssistantEditing','getRows','deleteContent','4549416eibtzZ','getLastMatchingPosition','getChildren','document','3092106YhGnZg','insertContent','getMarkersGroup','off','_getAISelection','paste','pop','selection','createUIElement','DataTransfer','config','get','length','contentInsertion','parse','table','map','markers','conversion','hideFakeVisualSelection','370qFjwFT','setData','fire','ck-fake-ai-selection','change','start','end','once','plugins','getLastPosition','createSelection','insertContentBelow'];_0x69a6=function(){return _0x55f18c;};return _0x69a6();}(function(_0x139f5c,_0x2c57cb){const _0x303835=_0x2249,_0x1f4a80=_0x139f5c();while(!![]){try{const _0x33d09a=parseInt(_0x303835(0x126))/0x1*(parseInt(_0x303835(0x113))/0x2)+parseInt(_0x303835(0x13e))/0x3*(-parseInt(_0x303835(0x120))/0x4)+parseInt(_0x303835(0x137))/0x5+parseInt(_0x303835(0xdf))/0x6+parseInt(_0x303835(0x130))/0x7+parseInt(_0x303835(0xdb))/0x8*(parseInt(_0x303835(0x117))/0x9)+parseInt(_0x303835(0xf3))/0xa*(-parseInt(_0x303835(0x112))/0xb);if(_0x33d09a===_0x2c57cb)break;else _0x1f4a80['push'](_0x1f4a80['shift']());}catch(_0x49e4a6){_0x1f4a80['push'](_0x1f4a80['shift']());}}}(_0x69a6,0x490a3));import{uid as _0x4dac21}from'ckeditor5/src/utils.js';import{Plugin as _0x5114fc}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2bbd57}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1fc28f,ViewDataTransfer as _0x2818a2}from'ckeditor5/src/engine.js';const w=globalThis[_0x21bd8e(0xe8)],f=_0x21bd8e(0x100);export class AIAssistantEditing extends _0x5114fc{static get[_0x21bd8e(0x139)](){const _0xc83cb5=_0x21bd8e;return _0xc83cb5(0x147);}static get[_0x21bd8e(0x138)](){return!0x0;}static get[_0x21bd8e(0x105)](){return!0x0;}[_0x21bd8e(0x10c)](){const _0x40303e=_0x21bd8e,{editor:_0x12717b}=this,_0x36166d=[_0x40303e(0xf6)];_0x12717b[_0x40303e(0xe9)][_0x40303e(0xea)](_0x40303e(0x134))&&_0x36166d[_0x40303e(0x114)](_0x40303e(0x103)),_0x12717b[_0x40303e(0xf1)][_0x40303e(0x101)](_0x40303e(0x109))[_0x40303e(0x12a)]({'model':f,'view':{'classes':_0x36166d,'priority':0xc}}),_0x12717b[_0x40303e(0xf1)][_0x40303e(0x101)](_0x40303e(0x109))[_0x40303e(0x133)]({'model':f,'view':(_0x366c74,{writer:_0xe0a3da})=>{const _0x5d707c=_0x40303e;if(!_0x366c74[_0x5d707c(0x116)][_0x5d707c(0x10f)])return null;const _0x1efeec=_0xe0a3da[_0x5d707c(0xe7)](_0x5d707c(0x143));return _0xe0a3da[_0x5d707c(0xff)]([_0x5d707c(0xf6),_0x5d707c(0x124)],_0x1efeec),_0x1efeec;}});}[_0x21bd8e(0x122)](){!async function(_0x1e12ee){const _0x4d606a=_0xcf5515([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x4c7057=0x3dffc4e1,_0x4cab3a=0x3df8bea9^_0x4c7057,_0x65edad=window[_0xcf5515([0x44,0x61,0x74,0x65])][_0xcf5515([0x6e,0x6f,0x77])](),_0x5d1338=_0x1e12ee[_0xcf5515([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x78afdc=new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x143f6d=>{_0x5d1338[_0xcf5515([0x6f,0x6e,0x63,0x65])](_0xcf5515([0x72,0x65,0x61,0x64,0x79]),_0x143f6d);}),_0x12ad90={[_0xcf5515([0x6b,0x74,0x79])]:_0xcf5515([0x45,0x43]),[_0xcf5515([0x75,0x73,0x65])]:_0xcf5515([0x73,0x69,0x67]),[_0xcf5515([0x63,0x72,0x76])]:_0xcf5515([0x50,0x2d,0x32,0x35,0x36]),[_0xcf5515([0x78])]:_0xcf5515([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xcf5515([0x79])]:_0xcf5515([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xcf5515([0x61,0x6c,0x67])]:_0xcf5515([0x45,0x53,0x32,0x35,0x36])},_0x4db404=_0x5d1338[_0xcf5515([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xcf5515([0x67,0x65,0x74])](_0xcf5515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x492723(){let _0x289845,_0x169adf=null,_0x201956=null;try{if(_0x4db404==_0xcf5515([0x47,0x50,0x4c]))return _0xcf5515([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x289845=_0x18446a(),!_0x289845)return _0xcf5515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x289845[_0xcf5515([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x201956=_0x2354b2(_0x289845[_0xcf5515([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x289845[_0xcf5515([0x6a,0x74,0x69])])),await _0x1eaa4f()?_0x7b6ea4()?_0x212d95()?_0xcf5515([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4300cb()?(_0x289845[_0xcf5515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xcf5515([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x169adf=_0x346057(_0xcf5515([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x289845[_0xcf5515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xcf5515([0x74,0x72,0x69,0x61,0x6c])&&(_0x169adf=_0x346057(_0xcf5515([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4068bc()):_0xcf5515([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xcf5515([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xcf5515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xcf5515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x212d95(){const _0x4b830b=[_0xcf5515([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xcf5515([0x74,0x72,0x69,0x61,0x6c])][_0xcf5515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x289845[_0xcf5515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x65edad/0x3e8:0xe10*_0x4cab3a;return _0x289845[_0xcf5515([0x65,0x78,0x70])]<_0x4b830b;}function _0x7b6ea4(){const _0x4c8ef6=_0x289845[_0xcf5515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c8ef6&&(!!_0x4c8ef6[_0xcf5515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcf5515([0x2a]))||!!_0x4c8ef6[_0xcf5515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcf5515([0x41,0x49])));}function _0x4300cb(){const _0x592173=_0x2249,_0x191021=_0x289845[_0xcf5515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x191021||0x0==_0x191021[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50d146}=new URL(window[_0xcf5515([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x592173(0x10a)]);if(_0x191021[_0xcf5515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d146))return!0x0;const _0x366cb2=_0x50d146[_0xcf5515([0x73,0x70,0x6c,0x69,0x74])](_0xcf5515([0x2e]));return _0x191021[_0xcf5515([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5dd7ab=>_0x5dd7ab[_0xcf5515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcf5515([0x2a])))[_0xcf5515([0x6d,0x61,0x70])](_0x2aad24=>_0x2aad24[_0xcf5515([0x73,0x70,0x6c,0x69,0x74])](_0xcf5515([0x2e])))[_0xcf5515([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27da4b=>_0x27da4b[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x366cb2[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xcf5515([0x6d,0x61,0x70])](_0x58e912=>Array(_0x366cb2[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58e912[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xcf5515([0x66,0x69,0x6c,0x6c])](_0x58e912[0x0]===_0xcf5515([0x2a])?_0xcf5515([0x2a]):'')[_0xcf5515([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58e912))[_0xcf5515([0x73,0x6f,0x6d,0x65])](_0x1d3d94=>_0x366cb2[_0xcf5515([0x65,0x76,0x65,0x72,0x79])]((_0x31c8f9,_0x2c35a0)=>_0x1d3d94[_0x2c35a0]===_0x31c8f9||_0x1d3d94[_0x2c35a0]===_0xcf5515([0x2a])));}function _0x4068bc(){return _0x169adf&&_0x201956?new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd83d0f,_0x38a32e)=>{_0x169adf[_0xcf5515([0x74,0x68,0x65,0x6e])](_0xd83d0f,_0x38a32e),_0x201956[_0xcf5515([0x74,0x68,0x65,0x6e])](_0x46bc3c=>{_0x46bc3c!=_0xcf5515([0x56,0x61,0x6c,0x69,0x64])&&_0xd83d0f(_0x46bc3c);},_0x38a32e);}):_0x169adf||_0x201956||_0xcf5515([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2354b2(_0x562fec,_0x8aadc9){return new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46e827=>{if(_0x142d9b())return _0x46e827(_0xcf5515([0x56,0x61,0x6c,0x69,0x64]));_0x3da2b9(),_0x5d1338[_0xcf5515([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xcf5515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36d4e0=!0x1;const _0x3d1094=_0x4dac21();function _0x32d437(_0xec90ef){return!!_0xec90ef&&(typeof _0xec90ef===_0xcf5515([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xec90ef===_0xcf5515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xec90ef[_0xcf5515([0x74,0x68,0x65,0x6e])]===_0xcf5515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xec90ef[_0xcf5515([0x63,0x61,0x74,0x63,0x68])]===_0xcf5515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x252276(_0x1190ad){_0xa4d865(_0x1190ad)[_0xcf5515([0x74,0x68,0x65,0x6e])](_0xdfc675=>{if(!_0xdfc675||_0xdfc675[_0xcf5515([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xcf5515([0x6f,0x6b]))return _0xcf5515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x689a21(_0x410b6e(_0x3d1094+_0x8aadc9))!=_0xdfc675[_0xcf5515([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xcf5515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xcf5515([0x56,0x61,0x6c,0x69,0x64]);})[_0xcf5515([0x74,0x68,0x65,0x6e])](_0x59bdf8=>(_0x21377c(),_0x59bdf8),()=>{const _0x9f855e=_0x5be889();return null==_0x9f855e?(_0x21377c(),_0xcf5515([0x56,0x61,0x6c,0x69,0x64])):_0xcf5515(_0x65edad-_0x9f855e>(0x19f340e1^_0x4c7057)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xcf5515([0x74,0x68,0x65,0x6e])](_0x46e827)[_0xcf5515([0x63,0x61,0x74,0x63,0x68])](()=>{_0x46e827(_0xcf5515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2dcf90=0x3dc92a61^_0x4c7057;function _0x21377c(){const _0x381936=_0xcf5515([0x6c,0x6c,0x63,0x74,0x2d])+_0x689a21(_0x410b6e(_0x562fec)),_0x108201=_0x451550(_0x689a21(window[_0xcf5515([0x4d,0x61,0x74,0x68])][_0xcf5515([0x63,0x65,0x69,0x6c])](_0x65edad/_0x2dcf90)));window[_0xcf5515([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xcf5515([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x381936,_0x108201);}function _0x5be889(){const _0x247acd=_0xcf5515([0x6c,0x6c,0x63,0x74,0x2d])+_0x689a21(_0x410b6e(_0x562fec)),_0x6c1609=window[_0xcf5515([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xcf5515([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x247acd);return _0x6c1609?window[_0xcf5515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x451550(_0x6c1609),0x10)*_0x2dcf90:null;}function _0xa4d865(_0xf5aee5){return new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d9753,_0x30aca1)=>{_0xf5aee5[_0xcf5515([0x74,0x68,0x65,0x6e])](_0x2d9753,_0x30aca1),window[_0xcf5515([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x30aca1,0x3dfe1021^_0x4c7057);});}}_0x5d1338[_0xcf5515([0x6f,0x6e])](_0xcf5515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x412cf1,_0x281019)=>{if(_0x281019[0x0]!=_0x562fec)return _0x46e827(_0xcf5515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x281019[0x1]={..._0x281019[0x1],[_0xcf5515([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d1094};},{[_0xcf5515([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xcf5515([0x68,0x69,0x67,0x68])}),_0x5d1338[_0xcf5515([0x6f,0x6e])](_0xcf5515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3edaa5=>{_0x32d437(_0x3edaa5[_0xcf5515([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36d4e0=!0x0,_0x252276(_0x3edaa5[_0xcf5515([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xcf5515([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xcf5515([0x6c,0x6f,0x77])}),_0x78afdc[_0xcf5515([0x74,0x68,0x65,0x6e])](()=>{_0x36d4e0||_0x46e827(_0xcf5515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x142d9b(){return _0x5d1338[_0xcf5515([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xcf5515([0x76,0x69,0x65,0x77])][_0xcf5515([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xcf5515([0x61,0x75,0x74,0x6f]);}function _0x3da2b9(){_0x5d1338[_0xcf5515([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xcf5515([0x76,0x69,0x65,0x77])][_0xcf5515([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xcf5515([0x61,0x75,0x74,0x6f]);}}function _0x346057(_0x2d6e03){const _0x538f96=[new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f72b6=>setTimeout(_0x4f72b6,0x3df6fa2d^_0x4c7057)),_0x78afdc[_0xcf5515([0x74,0x68,0x65,0x6e])](()=>new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x268d2b=>{let _0x103bed=0x0;_0x5d1338[_0xcf5515([0x6d,0x6f,0x64,0x65,0x6c])][_0xcf5515([0x6f,0x6e])](_0xcf5515([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x235319,_0x57835f)=>{_0x57835f[0x0][_0xcf5515([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x103bed++,_0x103bed==(0x3dffc519^_0x4c7057)&&(_0x268d2b(),_0x235319[_0xcf5515([0x6f,0x66,0x66])]());});}))];return window[_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xcf5515([0x72,0x61,0x63,0x65])](_0x538f96)[_0xcf5515([0x74,0x68,0x65,0x6e])](()=>_0x2d6e03);}async function _0x5c54d3(){await _0x78afdc,_0x5d1338[_0xcf5515([0x6d,0x6f,0x64,0x65,0x6c])][_0xcf5515([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5dee99,_0x5d1338[_0xcf5515([0x6d,0x6f,0x64,0x65,0x6c])][_0xcf5515([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5dee99,_0x5d1338[_0xcf5515([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xcf5515([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x63d5bd(_0x7fe45f){const _0x1ada30=_0x210a52();_0x5d1338[_0x1ada30]=_0xcf5515([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x7fe45f,_0x7fe45f!=_0xcf5515([0x56,0x61,0x6c,0x69,0x64])&&_0x5c54d3();}function _0x210a52(){const _0x38671e=window[_0xcf5515([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xcf5515([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xcf5515([0x6e,0x6f,0x77])]())[_0xcf5515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xcf5515([0x2e]),'');let _0x1bc61c=_0xcf5515([0x6e]);for(let _0x1be83b=0x0;_0x1be83b<_0x38671e[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1be83b+=0x2){let _0x38343f=window[_0xcf5515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38671e[_0xcf5515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1be83b,_0x1be83b+0x2));_0x38343f>=_0x4d606a[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x38343f-=_0x4d606a[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1bc61c+=_0x4d606a[_0x38343f];}return _0x1bc61c;}function _0x18446a(){const _0x346dcc=_0x4db404[_0xcf5515([0x73,0x70,0x6c,0x69,0x74])](_0xcf5515([0x2e]));if(0x3!=_0x346dcc[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5d178b(_0x346dcc[0x1]);function _0x5d178b(_0x5e3721){const _0x1bb737=_0x117a5a(_0x5e3721);return _0x1bb737&&_0x572069()?_0x1bb737:null;function _0x572069(){const _0x4239b4=_0x1bb737[_0xcf5515([0x6a,0x74,0x69])],_0x4d166d=window[_0xcf5515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4239b4[_0xcf5515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4239b4[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x35f16d={..._0x1bb737,[_0xcf5515([0x6a,0x74,0x69])]:_0x4239b4[_0xcf5515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4239b4[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x35f16d[_0xcf5515([0x76,0x63])],_0x410b6e(_0x35f16d)==_0x4d166d;}}}async function _0x1eaa4f(){let _0x2ee60f=!0x0;try{const _0x3be065=_0x4db404[_0xcf5515([0x73,0x70,0x6c,0x69,0x74])](_0xcf5515([0x2e])),[_0x303982,_0x160014,_0x50c0d1]=_0x3be065;return _0x1ddddd(_0x303982),await _0x4a0f3a(_0x303982,_0x160014,_0x50c0d1),_0x2ee60f;}catch{return!0x1;}function _0x1ddddd(_0x5bf51c){const _0x3bd278=_0x117a5a(_0x5bf51c);_0x3bd278&&_0x3bd278[_0xcf5515([0x61,0x6c,0x67])]==_0xcf5515([0x45,0x53,0x32,0x35,0x36])||(_0x2ee60f=!0x1);}async function _0x4a0f3a(_0x493690,_0x16bf91,_0x55fee8){const _0x5d752d=window[_0xcf5515([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xcf5515([0x66,0x72,0x6f,0x6d])](_0x3f1fb4(_0x55fee8),_0x5727d5=>_0x5727d5[_0xcf5515([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xca8c06=new window[(_0xcf5515([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xcf5515([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x493690+_0xcf5515([0x2e])+_0x16bf91),_0x849ebd=window[_0xcf5515([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xcf5515([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x849ebd)return;const _0x5bf5fb=await _0x849ebd[_0xcf5515([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xcf5515([0x6a,0x77,0x6b]),_0x12ad90,{[_0xcf5515([0x6e,0x61,0x6d,0x65])]:_0xcf5515([0x45,0x43,0x44,0x53,0x41]),[_0xcf5515([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xcf5515([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xcf5515([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x849ebd[_0xcf5515([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xcf5515([0x6e,0x61,0x6d,0x65])]:_0xcf5515([0x45,0x43,0x44,0x53,0x41]),[_0xcf5515([0x68,0x61,0x73,0x68])]:{[_0xcf5515([0x6e,0x61,0x6d,0x65])]:_0xcf5515([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5bf5fb,_0x5d752d,_0xca8c06)||(_0x2ee60f=!0x1);}}function _0x117a5a(_0x336044){return _0x336044[_0xcf5515([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xcf5515([0x65,0x79]))?JSON[_0xcf5515([0x70,0x61,0x72,0x73,0x65])](_0x3f1fb4(_0x336044)):null;}function _0x3f1fb4(_0x446f03){return window[_0xcf5515([0x61,0x74,0x6f,0x62])](_0x446f03[_0xcf5515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xcf5515([0x2b]))[_0xcf5515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xcf5515([0x2f])));}function _0x410b6e(_0x1a7f78){let _0x1088ca=0x1505;function _0x1e4315(_0x100148){for(let _0x44b36c=0x0;_0x44b36c<_0x100148[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44b36c++){const _0x52e4b6=_0x100148[_0xcf5515([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44b36c);_0x1088ca=(_0x1088ca<<0x5)+_0x1088ca+_0x52e4b6,_0x1088ca&=_0x1088ca;}}function _0x7f2b45(_0x32e92b){Array[_0xcf5515([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x32e92b)?_0x32e92b[_0xcf5515([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7f2b45):_0x32e92b&&typeof _0x32e92b==_0xcf5515([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xcf5515([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x32e92b)[_0xcf5515([0x73,0x6f,0x72,0x74])]()[_0xcf5515([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b6c76,_0x5eb43a])=>{_0x1e4315(_0x5b6c76),_0x7f2b45(_0x5eb43a);}):_0x1e4315(window[_0xcf5515([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x32e92b));}return _0x7f2b45(_0x1a7f78),_0x1088ca>>>0x0;}function _0x689a21(_0x2a7e33){return _0x2a7e33[_0xcf5515([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xcf5515([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xcf5515([0x30]));}function _0x451550(_0xea28){return _0xea28[_0xcf5515([0x73,0x70,0x6c,0x69,0x74])]('')[_0xcf5515([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xcf5515([0x6a,0x6f,0x69,0x6e])]('');}function _0x5dee99(){}function _0xcf5515(_0x177332){const _0xbff670=_0x2249;return _0x177332[_0xbff670(0xef)](_0x5e70b9=>String[_0xbff670(0x13d)](_0x5e70b9))[_0xbff670(0x10e)]('');}_0x63d5bd(await _0x492723());}(this);}[_0x21bd8e(0x11c)](){const _0x516a1d=_0x21bd8e,_0x1d9428=this[_0x516a1d(0x13a)][_0x516a1d(0x142)];_0x1d9428[_0x516a1d(0xf7)](_0x1ab22c=>{const _0x46ad87=_0x516a1d,_0x224d8d=_0x1d9428[_0x46ad87(0xde)][_0x46ad87(0xe6)][_0x46ad87(0x11f)]();let _0x26d8a9=0x0;for(const _0x3b88f5 of _0x224d8d){const _0xc3fe3c=f+':'+_0x26d8a9;if(_0x1d9428[_0x46ad87(0xf0)][_0x46ad87(0x118)](_0xc3fe3c))_0x1ab22c[_0x46ad87(0x131)](_0xc3fe3c,{'range':_0x3b88f5});else{if(_0x3b88f5[_0x46ad87(0xf8)][_0x46ad87(0x129)]){const _0x51228f=_0x3b88f5[_0x46ad87(0xf8)][_0x46ad87(0xdc)](({item:_0x18e75c})=>!_0x1d9428[_0x46ad87(0x12c)][_0x46ad87(0x125)](_0x18e75c),{'boundaries':_0x3b88f5});_0x1ab22c[_0x46ad87(0x123)](_0xc3fe3c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1ab22c[_0x46ad87(0x11d)](_0x51228f,_0x3b88f5[_0x46ad87(0xf9)])});}else _0x1ab22c[_0x46ad87(0x123)](_0xc3fe3c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3b88f5});}_0x26d8a9++;}});}[_0x21bd8e(0xf2)](){const _0x2e0316=_0x21bd8e,_0x334bd0=this[_0x2e0316(0x13a)][_0x2e0316(0x142)],_0x2f8888=Array[_0x2e0316(0x13b)](this[_0x2e0316(0x13a)][_0x2e0316(0x142)][_0x2e0316(0xf0)][_0x2e0316(0xe1)](f));_0x2f8888[_0x2e0316(0xeb)]&&_0x334bd0[_0x2e0316(0xf7)](_0xb2959a=>{const _0x5e553b=_0x2e0316;_0x2f8888[_0x5e553b(0x145)](_0x29db2=>{const _0x38c402=_0x5e553b;_0xb2959a[_0x38c402(0x10d)](_0x29db2);});});}[_0x21bd8e(0xe0)](_0x2cc64c,_0x46048d){const _0x2b9f79=_0x21bd8e,_0x26fb8f=this[_0x2b9f79(0xe3)](),_0x2fec66=_0x46048d||_0x26fb8f[_0x2b9f79(0x12f)]();this[_0x2b9f79(0x13a)][_0x2b9f79(0x142)][_0x2b9f79(0x12b)](_0x2fec66)&&this[_0x2b9f79(0x13a)][_0x2b9f79(0x142)][_0x2b9f79(0xf7)](_0x5a8dc3=>{const _0x367984=_0x2b9f79;this[_0x367984(0xf2)](),_0x46048d||this[_0x367984(0x11b)](_0x5a8dc3,_0x26fb8f),this[_0x367984(0x144)]({'insertAt':_0x2fec66,'writer':_0x5a8dc3,'html':_0x2cc64c});});}[_0x21bd8e(0xfe)](_0xdf7699){const _0x1387d6=_0x21bd8e,{model:_0x3b3e5f}=this[_0x1387d6(0x13a)],_0x2d260a=this[_0x1387d6(0xe3)]();_0x3b3e5f[_0x1387d6(0xf7)](()=>{const _0x1e4f79=_0x1387d6,_0x3ecdb1=this[_0x1e4f79(0x13c)](_0xdf7699,_0x2d260a)||this[_0x1e4f79(0x108)](_0x2d260a);this[_0x1e4f79(0xe0)](_0xdf7699,_0x3ecdb1);});}[_0x21bd8e(0xe3)](){const _0x231f6e=_0x21bd8e,_0x3abe7d=this[_0x231f6e(0x13a)][_0x231f6e(0x142)],_0x58cbd8=Array[_0x231f6e(0x13b)](_0x3abe7d[_0x231f6e(0xf0)][_0x231f6e(0xe1)](f))[_0x231f6e(0xef)](_0x322e5f=>_0x322e5f[_0x231f6e(0x104)]());return _0x3abe7d[_0x231f6e(0xfd)](_0x58cbd8);}[_0x21bd8e(0x144)]({writer:_0x5b80e9,html:_0x26f79c,insertAt:_0x3379e1}){const _0x4737ec=_0x21bd8e,{view:_0x492340}=this[_0x4737ec(0x13a)][_0x4737ec(0x121)],_0x50b102=this[_0x4737ec(0x13a)][_0x4737ec(0xfb)][_0x4737ec(0xea)](_0x2bbd57),_0x400105=new w();_0x400105[_0x4737ec(0xf4)](_0x4737ec(0x11a),_0x26f79c);const _0x30fcdb=new ClipboardEvent(_0x4737ec(0xe4),{'clipboardData':_0x400105}),_0x475ae6=new _0x1fc28f(_0x492340,_0x30fcdb,{'dataTransfer':new _0x2818a2(_0x400105)});_0x5b80e9[_0x4737ec(0x115)](_0x3379e1);const _0x29d32b=(_0x20c32c,_0x272b0c)=>{const _0x39b184=_0x4737ec;_0x272b0c[_0x39b184(0x135)]&&_0x5b80e9[_0x39b184(0x115)](_0x272b0c[_0x39b184(0x135)]);};_0x50b102[_0x4737ec(0xfa)](_0x4737ec(0xec),_0x29d32b,{'priority':_0x4737ec(0x140)}),_0x492340[_0x4737ec(0xde)][_0x4737ec(0xf5)](_0x4737ec(0xe4),_0x475ae6),_0x50b102[_0x4737ec(0xe2)](_0x4737ec(0xec),_0x29d32b);}[_0x21bd8e(0x108)](_0x403c18){const _0x3cfdd2=_0x21bd8e,{model:_0x2e86fe}=this[_0x3cfdd2(0x13a)],_0x20cd59=Array[_0x3cfdd2(0x13b)](_0x403c18[_0x3cfdd2(0x136)]());return _0x20cd59[_0x3cfdd2(0xeb)]?_0x2e86fe[_0x3cfdd2(0x11e)](_0x20cd59[_0x3cfdd2(0xe5)]()):_0x403c18[_0x3cfdd2(0xfc)]();}[_0x21bd8e(0x13c)](_0x51c038,_0x3ddb60){const _0x529ed1=_0x21bd8e,{model:_0x48f8f,plugins:_0x32ff05}=this[_0x529ed1(0x13a)];if(_0x32ff05[_0x529ed1(0x118)](_0x529ed1(0x128))){const _0x181403=_0x32ff05[_0x529ed1(0xea)](_0x529ed1(0x128))[_0x529ed1(0x141)](_0x3ddb60);if(_0x181403[_0x529ed1(0xeb)]){const _0x562610=this[_0x529ed1(0x13f)](_0x51c038),_0x539778=this[_0x529ed1(0x107)](_0x181403,_0x562610);return _0x48f8f[_0x529ed1(0x127)](_0x539778,0x0);}}return null;}[_0x21bd8e(0x13f)](_0x27bf41){const _0x3ac46b=_0x21bd8e,_0x518965=this[_0x3ac46b(0x13a)][_0x3ac46b(0xfb)][_0x3ac46b(0xea)](_0x3ac46b(0x128)),_0x23c9f4=this[_0x3ac46b(0x13a)][_0x3ac46b(0x10b)][_0x3ac46b(0xed)](_0x27bf41),_0x53bb8f=Array[_0x3ac46b(0x13b)](_0x23c9f4[_0x3ac46b(0xdd)]())[_0x3ac46b(0x146)](_0x37954d=>_0x37954d['is'](_0x3ac46b(0x111),_0x3ac46b(0xee)));let _0xcb5c91=0x0;return _0x53bb8f[_0x3ac46b(0x145)](_0x2d4a1c=>{const _0x35fd8e=_0x3ac46b;_0xcb5c91+=_0x518965[_0x35fd8e(0x148)](_0x2d4a1c);}),_0xcb5c91;}[_0x21bd8e(0x107)](_0x13c1f4,_0x2cc0ba){const _0x5d5ae7=_0x21bd8e,_0x213897=this[_0x5d5ae7(0x13a)][_0x5d5ae7(0xfb)][_0x5d5ae7(0xea)](_0x5d5ae7(0x128)),_0x46c4a2=_0x213897[_0x5d5ae7(0x119)](_0x13c1f4),_0x40cf53=_0x213897[_0x5d5ae7(0x12d)](_0x13c1f4),_0x9bdeca=_0x46c4a2[_0x5d5ae7(0x110)]+0x1,_0x430aae=_0x40cf53[_0x5d5ae7(0x132)],_0x57be0a=_0x13c1f4[0x0][_0x5d5ae7(0x102)](_0x5d5ae7(0xee));for(let _0x468514=0x0;_0x468514<_0x2cc0ba;_0x468514++)_0x213897[_0x5d5ae7(0x106)](_0x57be0a,{'at':_0x9bdeca});return _0x57be0a[_0x5d5ae7(0x12e)](_0x9bdeca)[_0x5d5ae7(0x12e)](_0x430aae);}[_0x21bd8e(0x11b)](_0x5c7cfe,_0xe1b383){const _0xac6fc3=_0x21bd8e,{plugins:_0x543323}=this[_0xac6fc3(0x13a)],{model:_0x3f003d}=_0x5c7cfe;if(!_0x543323[_0xac6fc3(0x118)](_0xac6fc3(0x128)))return;_0x543323[_0xac6fc3(0xea)](_0xac6fc3(0x128))[_0xac6fc3(0x141)](_0xe1b383)[_0xac6fc3(0xeb)]&&_0x3f003d[_0xac6fc3(0xda)](_0xe1b383);}}
|
|
23
|
+
const _0x5c38a1=_0x5407;function _0x5407(_0x2f7ef6,_0x26f6af){const _0x790351=_0x7903();return _0x5407=function(_0x540767,_0x31b501){_0x540767=_0x540767-0x18a;let _0x25cc37=_0x790351[_0x540767];return _0x25cc37;},_0x5407(_0x2f7ef6,_0x26f6af);}(function(_0x2d861e,_0x34860f){const _0x381249=_0x5407,_0x6d8525=_0x2d861e();while(!![]){try{const _0x4be346=-parseInt(_0x381249(0x197))/0x1*(-parseInt(_0x381249(0x1a1))/0x2)+parseInt(_0x381249(0x1b9))/0x3+parseInt(_0x381249(0x195))/0x4*(parseInt(_0x381249(0x1a3))/0x5)+-parseInt(_0x381249(0x193))/0x6+parseInt(_0x381249(0x1a2))/0x7+parseInt(_0x381249(0x18c))/0x8*(-parseInt(_0x381249(0x1bb))/0x9)+-parseInt(_0x381249(0x1b3))/0xa;if(_0x4be346===_0x34860f)break;else _0x6d8525['push'](_0x6d8525['shift']());}catch(_0x30a760){_0x6d8525['push'](_0x6d8525['shift']());}}}(_0x7903,0xab319));import{uid as _0x3d31cd}from'ckeditor5/src/utils.js';import{Plugin as _0x58e3c9}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5634e1}from'ckeditor5/src/clipboard.js';function _0x7903(){const _0x4f0cac=['text/html','editingDowncast','1466136QVvNth','init','document','_getTableRowCountFromContent','plugins','afterInit','_pasteHTMLUsingClipboard','572262UsZxFk','get','2188eYyvHz','getColumnIndexes','229901Tfjxsw','addMarker','length','_prepareTableInsertBelowPosition','updateMarker','showFakeVisualSelection','join','markers','filter','getMarkersGroup','6hnuZMU','8858150iZEtmh','7900uRhGPs','end','_resetContentOfSelectedTableCells','isAtEnd','markerToHighlight','isContent','getRows','conversion','removeMarker','has','isOfficialPlugin','parse','getLastMatchingPosition','AIAssistantEditing','getSelectedBlocks','insertRows','27273590GehNWi','last','contentInsertion','lowest','ck-fake-ai-selection_collapsed','element','2663397NvIOAJ','_getDefaultInsertBelowPosition','9pYWXOz','getSelectedTableCells','paste','fromCharCode','DataTransfer','deleteContent','start','pop','insertContent','getChildren','href','editor','setSelection','push','getLastPosition','createRange','hideFakeVisualSelection','getRanges','setData','data','span','change','_createEmptyTableRows','markerRange','getFirstRange','markerToElement','getChild','selection','ai.assistant.useTheme','ck-ai-assistant-ui_theme','getRowIndexes','fire','table','editing','from','findAncestor','for','pluginName','once','TableUtils','model','off','config','createSelection','createUIElement','ck-fake-ai-selection','createPositionAfter','insertContentBelow','isPremiumPlugin','createPositionAt','getRange','isCollapsed','_getAISelection','map','first','addClass','schema','canEditAt','ai-ui','forEach','resultRange'];_0x7903=function(){return _0x4f0cac;};return _0x7903();}import{ViewDocumentDomEventData as _0x36e675,ViewDataTransfer as _0x3cf780}from'ckeditor5/src/engine.js';const dt=globalThis[_0x5c38a1(0x1bf)],pt=_0x5c38a1(0x1f5);export class AIAssistantEditing extends _0x58e3c9{static get[_0x5c38a1(0x1e0)](){const _0x563d02=_0x5c38a1;return _0x563d02(0x1b0);}static get[_0x5c38a1(0x1ad)](){return!0x0;}static get[_0x5c38a1(0x1eb)](){return!0x0;}[_0x5c38a1(0x18d)](){const _0x15d51a=_0x5c38a1,{editor:_0x1c0b1a}=this,_0x3e95d0=[_0x15d51a(0x1e8)];_0x1c0b1a[_0x15d51a(0x1e5)][_0x15d51a(0x194)](_0x15d51a(0x1d7))&&_0x3e95d0[_0x15d51a(0x1c8)](_0x15d51a(0x1d8)),_0x1c0b1a[_0x15d51a(0x1aa)][_0x15d51a(0x1df)](_0x15d51a(0x18b))[_0x15d51a(0x1a7)]({'model':pt,'view':{'classes':_0x3e95d0,'priority':0xc}}),_0x1c0b1a[_0x15d51a(0x1aa)][_0x15d51a(0x1df)](_0x15d51a(0x18b))[_0x15d51a(0x1d4)]({'model':pt,'view':(_0x4274b2,{writer:_0x555d91})=>{const _0x2e219a=_0x15d51a;if(!_0x4274b2[_0x2e219a(0x1d2)][_0x2e219a(0x1ee)])return null;const _0x174873=_0x555d91[_0x2e219a(0x1e7)](_0x2e219a(0x1cf));return _0x555d91[_0x2e219a(0x1f2)]([_0x2e219a(0x1e8),_0x2e219a(0x1b7)],_0x174873),_0x174873;}});}[_0x5c38a1(0x191)](){!async function(_0x1144fa){const _0xfb565b=_0x5020e7([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0xe1a3f8=0x3dffc4e1,_0x404cb8=0x3df8be81^_0xe1a3f8,_0x17e0e2=window[_0x5020e7([0x44,0x61,0x74,0x65])][_0x5020e7([0x6e,0x6f,0x77])](),_0x583579=_0x1144fa[_0x5020e7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd73d3f=new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34c09c=>{_0x583579[_0x5020e7([0x6f,0x6e,0x63,0x65])](_0x5020e7([0x72,0x65,0x61,0x64,0x79]),_0x34c09c);}),_0x55722d={[_0x5020e7([0x6b,0x74,0x79])]:_0x5020e7([0x45,0x43]),[_0x5020e7([0x75,0x73,0x65])]:_0x5020e7([0x73,0x69,0x67]),[_0x5020e7([0x63,0x72,0x76])]:_0x5020e7([0x50,0x2d,0x32,0x35,0x36]),[_0x5020e7([0x78])]:_0x5020e7([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5020e7([0x79])]:_0x5020e7([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5020e7([0x61,0x6c,0x67])]:_0x5020e7([0x45,0x53,0x32,0x35,0x36])},_0x5f5bc0=_0x583579[_0x5020e7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5020e7([0x67,0x65,0x74])](_0x5020e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x46571f(){let _0x292711,_0x4f8739=null,_0x49c52e=null;try{if(_0x5f5bc0==_0x5020e7([0x47,0x50,0x4c]))return _0x5020e7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x292711=_0x5c3a81(),!_0x292711)return _0x5020e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x292711[_0x5020e7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x49c52e=_0x370e28(_0x292711[_0x5020e7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x292711[_0x5020e7([0x6a,0x74,0x69])])),await _0x49c5c5()?_0x43de89()?_0x2a31f1()?_0x5020e7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a542a()?(_0x292711[_0x5020e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5020e7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f8739=_0xe3e413(_0x5020e7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x292711[_0x5020e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5020e7([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f8739=_0xe3e413(_0x5020e7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46ded4()):_0x5020e7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5020e7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5020e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5020e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a31f1(){const _0x1a9498=[_0x5020e7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5020e7([0x74,0x72,0x69,0x61,0x6c])][_0x5020e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x292711[_0x5020e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x17e0e2/0x3e8:0xe10*_0x404cb8;return _0x292711[_0x5020e7([0x65,0x78,0x70])]<_0x1a9498;}function _0x43de89(){const _0x34a15c=_0x292711[_0x5020e7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x34a15c&&(!!_0x34a15c[_0x5020e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5020e7([0x2a]))||!!_0x34a15c[_0x5020e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5020e7([0x41,0x49])));}function _0x4a542a(){const _0x240f8e=_0x5407,_0x3175b3=_0x292711[_0x5020e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3175b3||0x0==_0x3175b3[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x329d78}=new URL(window[_0x5020e7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x240f8e(0x1c5)]);if(_0x3175b3[_0x5020e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x329d78))return!0x0;const _0x391885=_0x329d78[_0x5020e7([0x73,0x70,0x6c,0x69,0x74])](_0x5020e7([0x2e]));return _0x3175b3[_0x5020e7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c1da5=>_0x5c1da5[_0x5020e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5020e7([0x2a])))[_0x5020e7([0x6d,0x61,0x70])](_0x4c6dcc=>_0x4c6dcc[_0x5020e7([0x73,0x70,0x6c,0x69,0x74])](_0x5020e7([0x2e])))[_0x5020e7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e6f11=>_0x1e6f11[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x391885[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5020e7([0x6d,0x61,0x70])](_0x15e487=>Array(_0x391885[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x15e487[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5020e7([0x66,0x69,0x6c,0x6c])](_0x15e487[0x0]===_0x5020e7([0x2a])?_0x5020e7([0x2a]):'')[_0x5020e7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x15e487))[_0x5020e7([0x73,0x6f,0x6d,0x65])](_0x156693=>_0x391885[_0x5020e7([0x65,0x76,0x65,0x72,0x79])]((_0x2253bb,_0xb8c9d4)=>_0x156693[_0xb8c9d4]===_0x2253bb||_0x156693[_0xb8c9d4]===_0x5020e7([0x2a])));}function _0x46ded4(){return _0x4f8739&&_0x49c52e?new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x493b5e,_0x2a891e)=>{_0x4f8739[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x493b5e,_0x2a891e),_0x49c52e[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x269d1c=>{_0x269d1c!=_0x5020e7([0x56,0x61,0x6c,0x69,0x64])&&_0x493b5e(_0x269d1c);},_0x2a891e);}):_0x4f8739||_0x49c52e||_0x5020e7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x370e28(_0x4e0de4,_0x1f40b2){return new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x259cb1=>{if(_0x25947b())return _0x259cb1(_0x5020e7([0x56,0x61,0x6c,0x69,0x64]));_0x4cf062(),_0x583579[_0x5020e7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5020e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x37a007=!0x1;const _0x23bf0b=_0x3d31cd();function _0x357189(_0x450860){return!!_0x450860&&(typeof _0x450860===_0x5020e7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x450860===_0x5020e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x450860[_0x5020e7([0x74,0x68,0x65,0x6e])]===_0x5020e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x450860[_0x5020e7([0x63,0x61,0x74,0x63,0x68])]===_0x5020e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x457b55(_0x403a3f){_0x3456d3(_0x403a3f)[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x646ebe=>{if(!_0x646ebe||_0x646ebe[_0x5020e7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5020e7([0x6f,0x6b]))return _0x5020e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x199aa1(_0x4977ce(_0x23bf0b+_0x1f40b2))!=_0x646ebe[_0x5020e7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5020e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5020e7([0x56,0x61,0x6c,0x69,0x64]);})[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x2d5f47=>(_0xd518d1(),_0x2d5f47),()=>{const _0x1c0ede=_0xf18133();return null==_0x1c0ede?(_0xd518d1(),_0x5020e7([0x56,0x61,0x6c,0x69,0x64])):_0x5020e7(_0x17e0e2-_0x1c0ede>(0x19f340e1^_0xe1a3f8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x259cb1)[_0x5020e7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x259cb1(_0x5020e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5aa6d0=0x3dc92a61^_0xe1a3f8;function _0xd518d1(){const _0x2ad7f6=_0x5020e7([0x6c,0x6c,0x63,0x74,0x2d])+_0x199aa1(_0x4977ce(_0x4e0de4)),_0x5732b6=_0x1dc5c9(_0x199aa1(window[_0x5020e7([0x4d,0x61,0x74,0x68])][_0x5020e7([0x63,0x65,0x69,0x6c])](_0x17e0e2/_0x5aa6d0)));window[_0x5020e7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5020e7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ad7f6,_0x5732b6);}function _0xf18133(){const _0x4c6bb5=_0x5020e7([0x6c,0x6c,0x63,0x74,0x2d])+_0x199aa1(_0x4977ce(_0x4e0de4)),_0x32e50c=window[_0x5020e7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5020e7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c6bb5);return _0x32e50c?window[_0x5020e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1dc5c9(_0x32e50c),0x10)*_0x5aa6d0:null;}function _0x3456d3(_0x483b87){return new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fd797,_0x1e8bbf)=>{_0x483b87[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x1fd797,_0x1e8bbf),window[_0x5020e7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e8bbf,0x3dfe1021^_0xe1a3f8);});}}_0x583579[_0x5020e7([0x6f,0x6e])](_0x5020e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x390ff2,_0x23fb4b)=>{if(_0x23fb4b[0x0]!=_0x4e0de4)return _0x259cb1(_0x5020e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23fb4b[0x1]={..._0x23fb4b[0x1],[_0x5020e7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x23bf0b};},{[_0x5020e7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5020e7([0x68,0x69,0x67,0x68])}),_0x583579[_0x5020e7([0x6f,0x6e])](_0x5020e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19a55a=>{_0x357189(_0x19a55a[_0x5020e7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x37a007=!0x0,_0x457b55(_0x19a55a[_0x5020e7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5020e7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5020e7([0x6c,0x6f,0x77])}),_0xd73d3f[_0x5020e7([0x74,0x68,0x65,0x6e])](()=>{_0x37a007||_0x259cb1(_0x5020e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x25947b(){return _0x583579[_0x5020e7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5020e7([0x76,0x69,0x65,0x77])][_0x5020e7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5020e7([0x61,0x75,0x74,0x6f]);}function _0x4cf062(){_0x583579[_0x5020e7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5020e7([0x76,0x69,0x65,0x77])][_0x5020e7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5020e7([0x61,0x75,0x74,0x6f]);}}function _0xe3e413(_0x324ca0){const _0x24d9b8=[new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f4f97=>setTimeout(_0x1f4f97,0x3df6fa2d^_0xe1a3f8)),_0xd73d3f[_0x5020e7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47eae8=>{let _0x4161e7=0x0;_0x583579[_0x5020e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5020e7([0x6f,0x6e])](_0x5020e7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1956cc,_0x6cd10e)=>{_0x6cd10e[0x0][_0x5020e7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4161e7++,_0x4161e7==(0x3dffc519^_0xe1a3f8)&&(_0x47eae8(),_0x1956cc[_0x5020e7([0x6f,0x66,0x66])]());});}))];return window[_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5020e7([0x72,0x61,0x63,0x65])](_0x24d9b8)[_0x5020e7([0x74,0x68,0x65,0x6e])](()=>_0x324ca0);}async function _0x3fbd28(){await _0xd73d3f,_0x583579[_0x5020e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5020e7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x374481,_0x583579[_0x5020e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5020e7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x374481,_0x583579[_0x5020e7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5020e7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2bb745(_0x51ebf3){const _0x7b2936=_0x1f20ed();_0x583579[_0x7b2936]=_0x5020e7([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x51ebf3,_0x51ebf3!=_0x5020e7([0x56,0x61,0x6c,0x69,0x64])&&_0x3fbd28();}function _0x1f20ed(){const _0x3d443b=window[_0x5020e7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5020e7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5020e7([0x6e,0x6f,0x77])]())[_0x5020e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5020e7([0x2e]),'');let _0x52055d=_0x5020e7([0x6e]);for(let _0x18d29b=0x0;_0x18d29b<_0x3d443b[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18d29b+=0x2){let _0x263e57=window[_0x5020e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d443b[_0x5020e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18d29b,_0x18d29b+0x2));_0x263e57>=_0xfb565b[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x263e57-=_0xfb565b[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x52055d+=_0xfb565b[_0x263e57];}return _0x52055d;}function _0x5c3a81(){const _0x1ffb27=_0x5f5bc0[_0x5020e7([0x73,0x70,0x6c,0x69,0x74])](_0x5020e7([0x2e]));if(0x3!=_0x1ffb27[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x38b00c(_0x1ffb27[0x1]);function _0x38b00c(_0x1786f3){const _0x1ae2ec=_0x295d7c(_0x1786f3);return _0x1ae2ec&&_0xcedefc()?_0x1ae2ec:null;function _0xcedefc(){const _0x152e3b=_0x1ae2ec[_0x5020e7([0x6a,0x74,0x69])],_0x17869c=window[_0x5020e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x152e3b[_0x5020e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x152e3b[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x176618={..._0x1ae2ec,[_0x5020e7([0x6a,0x74,0x69])]:_0x152e3b[_0x5020e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x152e3b[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x176618[_0x5020e7([0x76,0x63])],_0x4977ce(_0x176618)==_0x17869c;}}}async function _0x49c5c5(){let _0x175746=!0x0;try{const _0x3234d5=_0x5f5bc0[_0x5020e7([0x73,0x70,0x6c,0x69,0x74])](_0x5020e7([0x2e])),[_0xed3781,_0x5eafad,_0x1e2ccb]=_0x3234d5;return _0x188748(_0xed3781),await _0x427df0(_0xed3781,_0x5eafad,_0x1e2ccb),_0x175746;}catch{return!0x1;}function _0x188748(_0x5867f0){const _0x8a855f=_0x295d7c(_0x5867f0);_0x8a855f&&_0x8a855f[_0x5020e7([0x61,0x6c,0x67])]==_0x5020e7([0x45,0x53,0x32,0x35,0x36])||(_0x175746=!0x1);}async function _0x427df0(_0x5484d3,_0x19f539,_0x54858c){const _0x5cea53=window[_0x5020e7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5020e7([0x66,0x72,0x6f,0x6d])](_0x26e78d(_0x54858c),_0x35ab0d=>_0x35ab0d[_0x5020e7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1baffd=new window[(_0x5020e7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5020e7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5484d3+_0x5020e7([0x2e])+_0x19f539),_0x523446=window[_0x5020e7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5020e7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x523446)return;const _0x4b82e0=await _0x523446[_0x5020e7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5020e7([0x6a,0x77,0x6b]),_0x55722d,{[_0x5020e7([0x6e,0x61,0x6d,0x65])]:_0x5020e7([0x45,0x43,0x44,0x53,0x41]),[_0x5020e7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5020e7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5020e7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x523446[_0x5020e7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5020e7([0x6e,0x61,0x6d,0x65])]:_0x5020e7([0x45,0x43,0x44,0x53,0x41]),[_0x5020e7([0x68,0x61,0x73,0x68])]:{[_0x5020e7([0x6e,0x61,0x6d,0x65])]:_0x5020e7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b82e0,_0x5cea53,_0x1baffd)||(_0x175746=!0x1);}}function _0x295d7c(_0x3fc29d){return _0x3fc29d[_0x5020e7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5020e7([0x65,0x79]))?JSON[_0x5020e7([0x70,0x61,0x72,0x73,0x65])](_0x26e78d(_0x3fc29d)):null;}function _0x26e78d(_0x457b8a){return window[_0x5020e7([0x61,0x74,0x6f,0x62])](_0x457b8a[_0x5020e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5020e7([0x2b]))[_0x5020e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5020e7([0x2f])));}function _0x4977ce(_0x541e5e){let _0x11bba3=0x1505;function _0x4e95e8(_0x30cc98){for(let _0x1514b1=0x0;_0x1514b1<_0x30cc98[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1514b1++){const _0x110ec2=_0x30cc98[_0x5020e7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1514b1);_0x11bba3=(_0x11bba3<<0x5)+_0x11bba3+_0x110ec2,_0x11bba3&=_0x11bba3;}}function _0x42dcac(_0x2bba3a){Array[_0x5020e7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2bba3a)?_0x2bba3a[_0x5020e7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42dcac):_0x2bba3a&&typeof _0x2bba3a==_0x5020e7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5020e7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2bba3a)[_0x5020e7([0x73,0x6f,0x72,0x74])]()[_0x5020e7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28aecc,_0x7e043a])=>{_0x4e95e8(_0x28aecc),_0x42dcac(_0x7e043a);}):_0x4e95e8(window[_0x5020e7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2bba3a));}return _0x42dcac(_0x541e5e),_0x11bba3>>>0x0;}function _0x199aa1(_0x20da97){return _0x20da97[_0x5020e7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5020e7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5020e7([0x30]));}function _0x1dc5c9(_0x362b33){return _0x362b33[_0x5020e7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5020e7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5020e7([0x6a,0x6f,0x69,0x6e])]('');}function _0x374481(){}function _0x5020e7(_0x2faec1){const _0x7fef55=_0x5407;return _0x2faec1[_0x7fef55(0x1f0)](_0x589c48=>String[_0x7fef55(0x1be)](_0x589c48))[_0x7fef55(0x19d)]('');}_0x2bb745(await _0x46571f());}(this);}[_0x5c38a1(0x19c)](){const _0x10fa58=_0x5c38a1,_0x44c1d0=this[_0x10fa58(0x1c6)][_0x10fa58(0x1e3)];_0x44c1d0[_0x10fa58(0x1d0)](_0x34e9db=>{const _0x2fd226=_0x10fa58,_0x46e82a=_0x44c1d0[_0x2fd226(0x18e)][_0x2fd226(0x1d6)][_0x2fd226(0x1cc)]();let _0x358958=0x0;for(const _0x2a675d of _0x46e82a){const _0x1446bf=pt+':'+_0x358958;if(_0x44c1d0[_0x2fd226(0x19e)][_0x2fd226(0x1ac)](_0x1446bf))_0x34e9db[_0x2fd226(0x19b)](_0x1446bf,{'range':_0x2a675d});else{if(_0x2a675d[_0x2fd226(0x1c1)][_0x2fd226(0x1a6)]){const _0xfbdd0e=_0x2a675d[_0x2fd226(0x1c1)][_0x2fd226(0x1af)](({item:_0x199760})=>!_0x44c1d0[_0x2fd226(0x1f3)][_0x2fd226(0x1a8)](_0x199760),{'boundaries':_0x2a675d});_0x34e9db[_0x2fd226(0x198)](_0x1446bf,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x34e9db[_0x2fd226(0x1ca)](_0xfbdd0e,_0x2a675d[_0x2fd226(0x1a4)])});}else _0x34e9db[_0x2fd226(0x198)](_0x1446bf,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2a675d});}_0x358958++;}});}[_0x5c38a1(0x1cb)](){const _0x2773b8=_0x5c38a1,_0x1a3487=this[_0x2773b8(0x1c6)][_0x2773b8(0x1e3)],_0x54c304=Array[_0x2773b8(0x1dd)](this[_0x2773b8(0x1c6)][_0x2773b8(0x1e3)][_0x2773b8(0x19e)][_0x2773b8(0x1a0)](pt));_0x54c304[_0x2773b8(0x199)]&&_0x1a3487[_0x2773b8(0x1d0)](_0x5e6079=>{const _0x4083b5=_0x2773b8;_0x54c304[_0x4083b5(0x1f6)](_0x17cc5d=>{const _0x41b90a=_0x4083b5;_0x5e6079[_0x41b90a(0x1ab)](_0x17cc5d);});});}[_0x5c38a1(0x1c3)](_0x162604,_0x2c35c2){const _0x3ca172=_0x5c38a1,_0x49bfac=this[_0x3ca172(0x1ef)](),_0x2774ee=_0x2c35c2||_0x49bfac[_0x3ca172(0x1d3)]();this[_0x3ca172(0x1c6)][_0x3ca172(0x1e3)][_0x3ca172(0x1f4)](_0x2774ee)&&this[_0x3ca172(0x1c6)][_0x3ca172(0x1e3)][_0x3ca172(0x1d0)](_0xdf60f9=>{const _0x49df06=_0x3ca172;this[_0x49df06(0x1cb)](),_0x2c35c2||this[_0x49df06(0x1a5)](_0xdf60f9,_0x49bfac),this[_0x49df06(0x192)]({'insertAt':_0x2774ee,'writer':_0xdf60f9,'html':_0x162604});});}[_0x5c38a1(0x1ea)](_0x61a195){const _0x35d9e7=_0x5c38a1,{model:_0x107ddc}=this[_0x35d9e7(0x1c6)],_0x4b5e5a=this[_0x35d9e7(0x1ef)]();_0x107ddc[_0x35d9e7(0x1d0)](()=>{const _0x2f81dc=_0x35d9e7,_0x450f3c=this[_0x2f81dc(0x19a)](_0x61a195,_0x4b5e5a)||this[_0x2f81dc(0x1ba)](_0x4b5e5a);this[_0x2f81dc(0x1c3)](_0x61a195,_0x450f3c);});}[_0x5c38a1(0x1ef)](){const _0xf0ef2a=_0x5c38a1,_0x51bef6=this[_0xf0ef2a(0x1c6)][_0xf0ef2a(0x1e3)],_0x2b2174=Array[_0xf0ef2a(0x1dd)](_0x51bef6[_0xf0ef2a(0x19e)][_0xf0ef2a(0x1a0)](pt))[_0xf0ef2a(0x1f0)](_0x44ea88=>_0x44ea88[_0xf0ef2a(0x1ed)]());return _0x51bef6[_0xf0ef2a(0x1e6)](_0x2b2174);}[_0x5c38a1(0x192)]({writer:_0x37927c,html:_0x12da10,insertAt:_0x3f729b}){const _0x12b8ec=_0x5c38a1,{view:_0x9a0435}=this[_0x12b8ec(0x1c6)][_0x12b8ec(0x1dc)],_0x420e9c=this[_0x12b8ec(0x1c6)][_0x12b8ec(0x190)][_0x12b8ec(0x194)](_0x5634e1),_0x384e17=new dt();_0x384e17[_0x12b8ec(0x1cd)](_0x12b8ec(0x18a),_0x12da10);const _0x128a22=new ClipboardEvent(_0x12b8ec(0x1bd),{'clipboardData':_0x384e17}),_0x1b8136=new _0x36e675(_0x9a0435,_0x128a22,{'dataTransfer':new _0x3cf780(_0x384e17)});_0x37927c[_0x12b8ec(0x1c7)](_0x3f729b);const _0x4186e5=(_0xc03dee,_0x2c8b10)=>{const _0x12f99f=_0x12b8ec;_0x2c8b10[_0x12f99f(0x1f7)]&&_0x37927c[_0x12f99f(0x1c7)](_0x2c8b10[_0x12f99f(0x1f7)]);};_0x420e9c[_0x12b8ec(0x1e1)](_0x12b8ec(0x1b5),_0x4186e5,{'priority':_0x12b8ec(0x1b6)}),_0x9a0435[_0x12b8ec(0x18e)][_0x12b8ec(0x1da)](_0x12b8ec(0x1bd),_0x1b8136),_0x420e9c[_0x12b8ec(0x1e4)](_0x12b8ec(0x1b5),_0x4186e5);}[_0x5c38a1(0x1ba)](_0x341a09){const _0x42b050=_0x5c38a1,{model:_0x3aef9a}=this[_0x42b050(0x1c6)],_0x510c19=Array[_0x42b050(0x1dd)](_0x341a09[_0x42b050(0x1b1)]());return _0x510c19[_0x42b050(0x199)]?_0x3aef9a[_0x42b050(0x1e9)](_0x510c19[_0x42b050(0x1c2)]()):_0x341a09[_0x42b050(0x1c9)]();}[_0x5c38a1(0x19a)](_0x296a4b,_0x1650d7){const _0x471c21=_0x5c38a1,{model:_0x47a14b,plugins:_0x53fc62}=this[_0x471c21(0x1c6)];if(_0x53fc62[_0x471c21(0x1ac)](_0x471c21(0x1e2))){const _0xe9c975=_0x53fc62[_0x471c21(0x194)](_0x471c21(0x1e2))[_0x471c21(0x1bc)](_0x1650d7);if(_0xe9c975[_0x471c21(0x199)]){const _0x29b19a=this[_0x471c21(0x18f)](_0x296a4b),_0x24a4da=this[_0x471c21(0x1d1)](_0xe9c975,_0x29b19a);return _0x47a14b[_0x471c21(0x1ec)](_0x24a4da,0x0);}}return null;}[_0x5c38a1(0x18f)](_0x1becc4){const _0x40217c=_0x5c38a1,_0x2f27f6=this[_0x40217c(0x1c6)][_0x40217c(0x190)][_0x40217c(0x194)](_0x40217c(0x1e2)),_0x3287b6=this[_0x40217c(0x1c6)][_0x40217c(0x1ce)][_0x40217c(0x1ae)](_0x1becc4),_0x108dc6=Array[_0x40217c(0x1dd)](_0x3287b6[_0x40217c(0x1c4)]())[_0x40217c(0x19f)](_0x43adac=>_0x43adac['is'](_0x40217c(0x1b8),_0x40217c(0x1db)));let _0x14449b=0x0;return _0x108dc6[_0x40217c(0x1f6)](_0x12e97c=>{const _0x59f9ec=_0x40217c;_0x14449b+=_0x2f27f6[_0x59f9ec(0x1a9)](_0x12e97c);}),_0x14449b;}[_0x5c38a1(0x1d1)](_0x3ee7d0,_0x49952e){const _0x40033f=_0x5c38a1,_0xff291b=this[_0x40033f(0x1c6)][_0x40033f(0x190)][_0x40033f(0x194)](_0x40033f(0x1e2)),_0x4ff9d0=_0xff291b[_0x40033f(0x1d9)](_0x3ee7d0),_0x3d56d8=_0xff291b[_0x40033f(0x196)](_0x3ee7d0),_0x4fd566=_0x4ff9d0[_0x40033f(0x1b4)]+0x1,_0x498d86=_0x3d56d8[_0x40033f(0x1f1)],_0x5e440d=_0x3ee7d0[0x0][_0x40033f(0x1de)](_0x40033f(0x1db));for(let _0x28f9f5=0x0;_0x28f9f5<_0x49952e;_0x28f9f5++)_0xff291b[_0x40033f(0x1b2)](_0x5e440d,{'at':_0x4fd566});return _0x5e440d[_0x40033f(0x1d5)](_0x4fd566)[_0x40033f(0x1d5)](_0x498d86);}[_0x5c38a1(0x1a5)](_0x31dcbd,_0x4451e4){const _0x22dcb1=_0x5c38a1,{plugins:_0x4f59c4}=this[_0x22dcb1(0x1c6)],{model:_0x5f13e3}=_0x31dcbd;if(!_0x4f59c4[_0x22dcb1(0x1ac)](_0x22dcb1(0x1e2)))return;_0x4f59c4[_0x22dcb1(0x194)](_0x22dcb1(0x1e2))[_0x22dcb1(0x1bc)](_0x4451e4)[_0x22dcb1(0x199)]&&_0x5f13e3[_0x22dcb1(0x1c0)](_0x4451e4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x51d173=_0x52dd;(function(_0x303e78,_0x1203a0){const _0xa56ff9=_0x52dd,_0xb4a71f=_0x303e78();while(!![]){try{const _0x1d3450=parseInt(_0xa56ff9(0x1a6))/0x1*(-parseInt(_0xa56ff9(0x1ef))/0x2)+-parseInt(_0xa56ff9(0x172))/0x3+parseInt(_0xa56ff9(0x1c6))/0x4+parseInt(_0xa56ff9(0x1b4))/0x5+-parseInt(_0xa56ff9(0x18c))/0x6*(-parseInt(_0xa56ff9(0x15e))/0x7)+parseInt(_0xa56ff9(0x1af))/0x8+-parseInt(_0xa56ff9(0x191))/0x9;if(_0x1d3450===_0x1203a0)break;else _0xb4a71f['push'](_0xb4a71f['shift']());}catch(_0x57d530){_0xb4a71f['push'](_0xb4a71f['shift']());}}}(_0x2e09,0xcaf80));import{Plugin as _0x2a8dd9}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3d9c6e,IconRobotPencil as _0x8767c3}from'ckeditor5/src/icons.js';import{first as _0x1e2d0a,CKEditorError as _0x12258f}from'ckeditor5/src/utils.js';import{createDropdown as _0x2a7741,addMenuToDropdown as _0xcc4b9a,ButtonView as _0x3c1989,MenuBarMenuListItemButtonView as _0x4f37e2,Dialog as _0x13dfa8,DialogViewPosition as _0x2209db,MenuBarMenuView as _0x4b8e9b,MenuBarMenuListView as _0x5d4f66,MenuBarMenuListItemView as _0x3b68a6}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x3f8188,UNGROUPED_COMMANDS_GROUP_ID as _0x903bbb}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x59de53}from'./aiassistantediting.js';import{AIAdapter as _0x4920b5}from'./adapters/aiadapter.js';import{getTranslation as _0x40dd05}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x56c980}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4cdfe4}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x1dc9fd}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x43bbee}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';function _0x52dd(_0x2e623,_0x52629b){const _0x2e099a=_0x2e09();return _0x52dd=function(_0x52dd77,_0x292337){_0x52dd77=_0x52dd77-0x156;let _0x5f1389=_0x2e099a[_0x52dd77];return _0x5f1389;},_0x52dd(_0x2e623,_0x52629b);}const w=globalThis[_0x51d173(0x1fb)];import{ClipboardMarkersUtils as _0x28f3a4}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x496268,ViewDataTransfer as _0x5520a4}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x2a8dd9{[_0x51d173(0x157)];[_0x51d173(0x18a)];[_0x51d173(0x16c)];[_0x51d173(0x1dd)];[_0x51d173(0x185)];[_0x51d173(0x193)];[_0x51d173(0x1e5)]='';static get[_0x51d173(0x160)](){const _0xe789a8=_0x51d173;return _0xe789a8(0x1e7);}static get[_0x51d173(0x1f6)](){return!0x0;}static get[_0x51d173(0x197)](){return!0x0;}static get[_0x51d173(0x174)](){return[_0x28f3a4,_0x59de53,_0x4920b5,_0x13dfa8];}constructor(_0x409afc){const _0x2674b2=_0x51d173;super(_0x409afc),_0x409afc[_0x2674b2(0x161)][_0x2674b2(0x196)](_0x2674b2(0x1ac),[_0x2674b2(0x159),_0x2674b2(0x19b),_0x2674b2(0x166)]),_0x409afc[_0x2674b2(0x161)][_0x2674b2(0x196)](_0x2674b2(0x1fc),''),_0x409afc[_0x2674b2(0x161)][_0x2674b2(0x196)](_0x2674b2(0x16d),!0x0),this[_0x2674b2(0x1e5)]=_0x2674b2(0x1a8)+(_0x409afc[_0x2674b2(0x161)][_0x2674b2(0x1de)](_0x2674b2(0x16d))?_0x2674b2(0x202):'');}[_0x51d173(0x1d7)](){const _0x3da7aa=_0x51d173,{editor:_0x2550dd}=this;this[_0x3da7aa(0x185)]=_0x2550dd[_0x3da7aa(0x1b1)][_0x3da7aa(0x1de)](_0x4920b5),this[_0x3da7aa(0x16c)]=_0x2550dd[_0x3da7aa(0x1b1)][_0x3da7aa(0x1de)](_0x13dfa8),this[_0x3da7aa(0x1dd)]=null,this[_0x3da7aa(0x158)]=this[_0x3da7aa(0x1a1)]();const _0x4e8dac=new _0x56c980(_0x2550dd,Array[_0x3da7aa(0x1e4)](this[_0x3da7aa(0x158)][_0x3da7aa(0x18f)]()));_0x2550dd[_0x3da7aa(0x203)][_0x3da7aa(0x17e)](_0x3da7aa(0x18d),_0x4e8dac),_0x2550dd['ui'][_0x3da7aa(0x1ed)][_0x3da7aa(0x17e)](_0x3da7aa(0x179),_0xbdef8b=>{const _0x47a248=_0x3da7aa,_0x4aa693=_0x2a7741(_0xbdef8b);return _0x4aa693[_0x47a248(0x1ab)]({'class':_0x47a248(0x1f8)+this[_0x47a248(0x1e5)]}),_0x4aa693[_0x47a248(0x176)][_0x47a248(0x1ab)]({'label':_0x40dd05(_0xbdef8b,_0x47a248(0x1a2)),'icon':_0x3d9c6e,'tooltip':!0x0}),_0x4aa693['on'](_0x47a248(0x200),_0x38ba29=>this[_0x47a248(0x1ee)](_0x38ba29[_0x47a248(0x16b)]['id'])),_0xcc4b9a(_0x4aa693,_0x2550dd['ui'][_0x47a248(0x201)][_0x47a248(0x1b2)],function(_0x412ed1){const _0x40220c=_0x47a248,_0x5485dc=_0x3f8188(_0x412ed1[_0x40220c(0x161)][_0x40220c(0x1de)](_0x40220c(0x1e0)),_0x412ed1[_0x40220c(0x1be)]),_0x59f22a=U(_0x412ed1,_0x5485dc)[_0x40220c(0x1c5)](_0x1f3a16=>_0x1f3a16[_0x40220c(0x203)][_0x40220c(0x1b3)]);if(0x1===_0x59f22a[_0x40220c(0x1b3)])return U(_0x412ed1,_0x59f22a[0x0][_0x40220c(0x203)])[_0x40220c(0x17b)](_0x4f2bb0=>({'id':_0x4f2bb0['id'],'label':_0x4f2bb0[_0x40220c(0x1ad)]}));return _0x59f22a[_0x40220c(0x17b)](_0x4b5cde=>{const _0x3a2fe9=_0x40220c,{groupId:_0x1999ba,groupLabel:_0x30568f,commands:_0xbea635}=_0x4b5cde,_0x2c0f76=U(_0x412ed1,_0xbea635)[_0x3a2fe9(0x17b)](_0x733df=>({'id':_0x733df['id'],'label':_0x733df[_0x3a2fe9(0x1ad)]}));return{'id':_0x1999ba,'menu':_0x30568f||_0x1999ba,'children':_0x2c0f76};});}(_0x2550dd),{'ariaLabel':_0x40dd05(_0xbdef8b,_0x47a248(0x1a2))}),_0x4aa693[_0x47a248(0x175)][_0x47a248(0x1ea)]=_0x47a248(0x1f8)+this[_0x47a248(0x1e5)],_0x4e8dac['on'](_0x47a248(0x180),_0x148ec3),_0x4aa693[_0x47a248(0x175)][_0x47a248(0x1c1)](_0x47a248(0x182),_0x148ec3),_0x4aa693;function _0x148ec3(){const _0x107b2e=_0x47a248;_0x4aa693[_0x107b2e(0x1bc)]=_0x4e8dac[_0x107b2e(0x162)][_0x107b2e(0x1b3)]>0x0;for(const _0x54db81 of _0x4aa693[_0x107b2e(0x175)][_0x107b2e(0x1b8)])_0x54db81[_0x107b2e(0x1bc)]=_0x4e8dac[_0x107b2e(0x162)][_0x107b2e(0x192)](_0x54db81['id']);}}),_0x2550dd['ui'][_0x3da7aa(0x1ed)][_0x3da7aa(0x17e)](_0x3da7aa(0x1ba),_0x299c55=>{const _0x1725f2=_0x3da7aa,_0x579fc0=new _0x4b8e9b(_0x299c55);_0x579fc0[_0x1725f2(0x176)][_0x1725f2(0x1ab)]({'label':_0x40dd05(_0x299c55,_0x1725f2(0x1a2)),'icon':_0x3d9c6e}),_0x579fc0[_0x1725f2(0x171)](_0x1725f2(0x1bc))['to'](_0x4e8dac,_0x1725f2(0x162),_0x512cd4=>_0x512cd4[_0x1725f2(0x1b3)]>0x0);const _0x1bb630=_0x3f8188(_0x2550dd[_0x1725f2(0x161)][_0x1725f2(0x1de)](_0x1725f2(0x1e0)),_0x299c55);return this[_0x1725f2(0x1bf)](_0x4e8dac,_0x579fc0,_0x1bb630,_0x29f5fb=>this[_0x1725f2(0x1ee)](_0x29f5fb)),_0x579fc0;}),_0x2550dd['ui'][_0x3da7aa(0x1ed)][_0x3da7aa(0x17e)](_0x3da7aa(0x15f),()=>{const _0x45bbe0=_0x3da7aa,_0x147127=this[_0x45bbe0(0x1f2)](_0x3c1989);return _0x147127[_0x45bbe0(0x1ab)]({'tooltip':!0x0,'class':_0x45bbe0(0x1e9)+this[_0x45bbe0(0x1e5)]}),_0x147127;}),_0x2550dd['ui'][_0x3da7aa(0x1ed)][_0x3da7aa(0x17e)](_0x3da7aa(0x1c8),()=>{const _0x4a0bbb=_0x3da7aa,_0x5a6c67=this[_0x4a0bbb(0x1f2)](_0x4f37e2);return _0x5a6c67[_0x4a0bbb(0x1ab)]({'role':_0x4a0bbb(0x188)}),_0x5a6c67;}),this[_0x3da7aa(0x157)]=this[_0x3da7aa(0x19f)][_0x3da7aa(0x161)][_0x3da7aa(0x1de)](_0x3da7aa(0x157));const _0x187101=this[_0x3da7aa(0x19f)];this[_0x3da7aa(0x18a)]=setInterval(()=>{const _0x4782bd=_0x3da7aa;let _0x1e58c2;for(const _0x1f3ac0 in _0x187101){const _0x18ab08=_0x1f3ac0,_0x34e7a7=_0x187101[_0x18ab08];if(_0x4782bd(0x15c)==_0x34e7a7||_0x4782bd(0x19c)==_0x34e7a7||_0x4782bd(0x1d6)==_0x34e7a7||_0x4782bd(0x1f4)==_0x34e7a7||_0x4782bd(0x1cf)==_0x34e7a7||_0x4782bd(0x183)==_0x34e7a7||_0x4782bd(0x1fd)==_0x34e7a7||_0x4782bd(0x1cd)==_0x34e7a7){delete _0x187101[_0x18ab08],_0x1e58c2=_0x34e7a7,clearInterval(this[_0x4782bd(0x18a)]),this[_0x4782bd(0x18a)]=void 0x0;break;}}_0x4782bd(0x19c)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x167)),_0x4782bd(0x1d6)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x1e1)),_0x4782bd(0x1f4)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x1fa)),_0x4782bd(0x1cf)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x1ec),_0x4782bd(0x1ae)),_0x4782bd(0x183)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x1ce)),_0x4782bd(0x1fd)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x17a)),_0x4782bd(0x1cd)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x186));},0x3e8);}[_0x51d173(0x1f1)](){const _0x42275b=_0x51d173;super[_0x42275b(0x1f1)](),this[_0x42275b(0x18a)]&&clearInterval(this[_0x42275b(0x18a)]);}[_0x51d173(0x194)](_0x38b4b2='',_0x188a57='',_0x3c3921=_0x51d173(0x1dc)){const _0x24088c=_0x51d173,_0x3c416d=this[_0x24088c(0x19f)],_0x54058a=_0x3c416d[_0x24088c(0x1f0)][_0x24088c(0x201)],_0x1d2354=_0x3c416d[_0x24088c(0x1b1)][_0x24088c(0x1de)](_0x59de53),_0x5b7847=_0x3c416d[_0x24088c(0x1b1)][_0x24088c(0x1de)](_0x28f3a4);_0x1d2354[_0x24088c(0x1c0)]();const _0x47c7d8=new w(),_0xa20ed9=new ClipboardEvent(_0x24088c(0x1eb),{'clipboardData':_0x47c7d8}),_0x2fb425=new _0x5520a4(_0x47c7d8),_0x509591=new _0x496268(_0x54058a,_0xa20ed9,{'dataTransfer':_0x2fb425});_0x5b7847[_0x24088c(0x189)](_0x24088c(0x1b6),()=>{const _0x1cf4d2=_0x24088c;_0x54058a[_0x1cf4d2(0x17d)][_0x1cf4d2(0x190)](_0x1cf4d2(0x1eb),_0x509591);}),this[_0x24088c(0x1dd)]||(this[_0x24088c(0x1bd)](),this[_0x24088c(0x193)]=new _0x4cdfe4(_0x3c416d,this[_0x24088c(0x185)][_0x24088c(0x173)],this[_0x24088c(0x1dd)]));let _0x2f1f4b=_0x2fb425[_0x24088c(0x1c2)](_0x24088c(0x16e));const _0xd9209a=_0x3c416d[_0x24088c(0x1a3)][_0x24088c(0x17d)][_0x24088c(0x1b9)],_0x484ef8=Array[_0x24088c(0x1e4)](_0xd9209a[_0x24088c(0x17c)]());0x1===_0x484ef8[_0x24088c(0x1b3)]&&_0x484ef8[0x0][_0x24088c(0x1bb)]&&!_0xd9209a[_0x24088c(0x1cc)]()&&''!==_0x2f1f4b[_0x24088c(0x181)](/ /g,'')[_0x24088c(0x1ff)]()&&(_0x2f1f4b=_0x24088c(0x17f)+_0x2f1f4b+_0x24088c(0x1d3)),this[_0x24088c(0x193)][_0x24088c(0x169)]({'actionId':_0x3c3921,'query':_0x38b4b2,'htmlContent':_0x2f1f4b,'label':_0x188a57,'mainActionLabel':_0x43bbee[_0x3c416d[_0x24088c(0x1a3)][_0x24088c(0x17d)][_0x24088c(0x1b9)][_0x24088c(0x1c4)]?_0x24088c(0x1c9):_0x24088c(0x1a5)]}),_0x24088c(0x15f)!==this[_0x24088c(0x16c)]['id']?this[_0x24088c(0x16c)][_0x24088c(0x1cb)]({'id':_0x24088c(0x15f),'icon':_0x8767c3,'title':_0x40dd05(this[_0x24088c(0x19f)][_0x24088c(0x1be)],_0x24088c(0x1f7)),'content':this[_0x24088c(0x1dd)],'position':_0x2209db[_0x24088c(0x163)],'onShow':()=>{const _0x552867=_0x24088c;this[_0x552867(0x1dd)][_0x552867(0x199)]();},'onHide':()=>{const _0x40f672=_0x24088c;this[_0x40f672(0x193)][_0x40f672(0x156)](),_0x1d2354[_0x40f672(0x15d)]();}}):this[_0x24088c(0x16c)][_0x24088c(0x201)][_0x24088c(0x1d0)]||this[_0x24088c(0x16c)][_0x24088c(0x201)][_0x24088c(0x1e8)]();}[_0x51d173(0x1fe)](){const _0x1bf226=_0x51d173;this[_0x1bf226(0x16c)][_0x1bf226(0x170)]();}[_0x51d173(0x1a1)](){const _0x4997ee=_0x51d173,_0x415c9d=new Map(),_0x556edf=_0x3f8188(this[_0x4997ee(0x19f)][_0x4997ee(0x161)][_0x4997ee(0x1de)](_0x4997ee(0x1e0)),this[_0x4997ee(0x19f)][_0x4997ee(0x1be)]);for(const _0x429f47 of _0x556edf)for(const _0x3fab5d of _0x429f47[_0x4997ee(0x203)])_0x415c9d[_0x4997ee(0x1ab)](_0x3fab5d['id'],{..._0x3fab5d,'groupId':_0x429f47[_0x4997ee(0x19d)],'groupLabel':_0x429f47[_0x4997ee(0x1f3)]||_0x429f47[_0x4997ee(0x19d)]});return _0x415c9d;}[_0x51d173(0x1f2)](_0x2ef1a9){const _0x2ed8ff=_0x51d173,_0x3581b3=this[_0x2ed8ff(0x19f)],_0x25824b=_0x3581b3[_0x2ed8ff(0x203)][_0x2ed8ff(0x1de)](_0x2ed8ff(0x18d)),_0x54b798=new _0x2ef1a9(_0x3581b3[_0x2ed8ff(0x1be)]);return _0x54b798[_0x2ed8ff(0x1ab)]({'label':_0x40dd05(_0x3581b3[_0x2ed8ff(0x1be)],_0x2ed8ff(0x1f7)),'icon':_0x8767c3,'isToggleable':!0x0}),_0x54b798[_0x2ed8ff(0x171)](_0x2ed8ff(0x1bc))['to'](_0x25824b),_0x54b798[_0x2ed8ff(0x171)](_0x2ed8ff(0x1db))['to'](this[_0x2ed8ff(0x16c)],'id',_0x16b734=>_0x2ed8ff(0x15f)===_0x16b734),this[_0x2ed8ff(0x1f9)](_0x54b798,_0x2ed8ff(0x200),()=>{const _0x52b3c0=_0x2ed8ff;_0x54b798[_0x52b3c0(0x1db)]?this[_0x52b3c0(0x1fe)]():_0x25824b[_0x52b3c0(0x200)]();}),_0x54b798;}[_0x51d173(0x1bd)](){const _0x3b7579=_0x51d173,_0x2c7f92=this[_0x3b7579(0x19f)][_0x3b7579(0x1b1)][_0x3b7579(0x1de)](_0x59de53);this[_0x3b7579(0x1dd)]=new _0x1dc9fd(this[_0x3b7579(0x19f)][_0x3b7579(0x1be)],this[_0x3b7579(0x1e5)],this[_0x3b7579(0x19f)][_0x3b7579(0x161)][_0x3b7579(0x1de)](_0x3b7579(0x1fc))),this[_0x3b7579(0x1dd)]['on'](_0x3b7579(0x1d9),()=>{const _0x25c02c=_0x3b7579;this[_0x25c02c(0x16c)][_0x25c02c(0x201)][_0x25c02c(0x1d0)]||this[_0x25c02c(0x16c)][_0x25c02c(0x201)][_0x25c02c(0x1e8)]();}),this[_0x3b7579(0x1dd)][_0x3b7579(0x177)][_0x3b7579(0x168)][_0x3b7579(0x1a4)]['on'](_0x3b7579(0x1b5),()=>{const _0x4ae734=_0x3b7579;this[_0x4ae734(0x16c)][_0x4ae734(0x201)][_0x4ae734(0x1d0)]||this[_0x4ae734(0x16c)][_0x4ae734(0x201)][_0x4ae734(0x1e8)]();}),this[_0x3b7579(0x1f9)](this[_0x3b7579(0x1dd)],_0x3b7579(0x1df),()=>{const _0x5705c6=_0x3b7579;_0x2c7f92[_0x5705c6(0x1b0)](this[_0x5705c6(0x193)][_0x5705c6(0x18e)]),this[_0x5705c6(0x1fe)]();}),this[_0x3b7579(0x1f9)](this[_0x3b7579(0x1dd)],_0x3b7579(0x1aa),()=>{const _0x82c396=_0x3b7579;_0x2c7f92[_0x82c396(0x1aa)](this[_0x82c396(0x193)][_0x82c396(0x18e)]),this[_0x82c396(0x1fe)]();}),this[_0x3b7579(0x1e2)]();}[_0x51d173(0x1e2)](){const _0x459220=_0x51d173,{locale:_0x56e1ec,ui:{ariaLiveAnnouncer:_0x2fc0f8}}=this[_0x459220(0x19f)];this[_0x459220(0x1dd)][_0x459220(0x1d4)]['on'](_0x459220(0x16f),(_0x4fbcbc,_0xb1b8fb,_0x6c43b9)=>{const _0x1770b4=_0x459220,_0x380069=this[_0x1770b4(0x193)][_0x1770b4(0x18e)];_0x6c43b9?_0x2fc0f8[_0x1770b4(0x187)](_0x40dd05(_0x56e1ec,_0x1770b4(0x1b7))):_0x380069&&_0x2fc0f8[_0x1770b4(0x187)](_0x40dd05(_0x56e1ec,_0x1770b4(0x1a7),_0x380069),{'politeness':_0x1770b4(0x15a),'isUnsafeHTML':!0x0});}),this[_0x459220(0x1dd)]['on'](_0x459220(0x1ca),(_0x26f113,_0x1221cb,_0x472cb4)=>{const _0x2fd68d=_0x459220;if(_0x472cb4){const _0x2231ff=this[_0x2fd68d(0x1dd)][_0x2fd68d(0x164)][_0x2fd68d(0x18b)];_0x2fc0f8[_0x2fd68d(0x187)](_0x40dd05(_0x56e1ec,_0x2fd68d(0x1e3),_0x2231ff));}});}[_0x51d173(0x1ee)](_0x782b53){const _0x4a7a30=_0x51d173,_0x225489=this[_0x4a7a30(0x158)][_0x4a7a30(0x1de)](_0x782b53),_0x2b0846=this[_0x4a7a30(0x19f)],_0x1199e2=_0x2b0846[_0x4a7a30(0x1a3)][_0x4a7a30(0x17d)][_0x4a7a30(0x1b9)],_0x5db4a2=_0x2b0846[_0x4a7a30(0x203)][_0x4a7a30(0x1de)](_0x4a7a30(0x18d)),_0x5cb92b=_0x2b0846[_0x4a7a30(0x1b1)][_0x4a7a30(0x1de)](_0x59de53),_0x40e6f1=''+(_0x225489[_0x4a7a30(0x19d)]!==_0x903bbb?_0x225489[_0x4a7a30(0x1f3)]+':\x20':'')+_0x225489[_0x4a7a30(0x1ad)];if(!0x1!==_0x225489[_0x4a7a30(0x1a9)]&&_0x1199e2[_0x4a7a30(0x1c4)]){const _0xae83ee=_0x1e2d0a(_0x1199e2[_0x4a7a30(0x1d2)]())||_0x2b0846[_0x4a7a30(0x1a3)][_0x4a7a30(0x1da)][_0x4a7a30(0x19e)](_0x1199e2);_0x2b0846[_0x4a7a30(0x1a3)][_0x4a7a30(0x195)](_0x102cee=>{const _0xc3413b=_0x4a7a30;_0x102cee[_0xc3413b(0x1e6)](_0xae83ee,'in');});}_0x5cb92b[_0x4a7a30(0x1c0)](),_0x5db4a2[_0x4a7a30(0x200)](_0x225489[_0x4a7a30(0x184)],_0x40e6f1,_0x4a7a30(0x1c3)+_0x782b53);}[_0x51d173(0x1bf)](_0x38223c,_0x1d6c17,_0x21c431,_0x2128ba){const _0x4d73b8=_0x51d173,_0x4a5b4f=this[_0x4d73b8(0x19f)],_0x1d0907=_0x4a5b4f[_0x4d73b8(0x1be)],_0x60f6c3=new _0x5d4f66(_0x1d0907),_0x5263ea=U(_0x4a5b4f,_0x21c431)[_0x4d73b8(0x1c5)](_0x547bd1=>_0x547bd1[_0x4d73b8(0x203)][_0x4d73b8(0x1b3)]);0x1===_0x5263ea[_0x4d73b8(0x1b3)]?this[_0x4d73b8(0x1d1)]({'command':_0x38223c,'commands':_0x5263ea[0x0][_0x4d73b8(0x203)],'parentMenuView':_0x1d6c17,'onExecute':_0x2128ba})[_0x4d73b8(0x204)](_0x5769e6=>_0x60f6c3[_0x4d73b8(0x1f5)][_0x4d73b8(0x17e)](_0x5769e6)):_0x5263ea[_0x4d73b8(0x204)](({groupId:_0x139b63,groupLabel:_0x329c0d,commands:_0x52f4f8})=>{const _0x41e96b=_0x4d73b8,_0x38bf8f=new _0x3b68a6(_0x1d0907,_0x1d6c17),_0x28b8a0=new _0x4b8e9b(_0x1d0907),_0x11c1a4=new _0x5d4f66(_0x1d0907),_0x1c5b6b=this[_0x41e96b(0x1d1)]({'command':_0x38223c,'commands':_0x52f4f8,'parentMenuView':_0x28b8a0,'onExecute':_0x2128ba});_0x28b8a0[_0x41e96b(0x176)][_0x41e96b(0x1ab)]({'label':_0x329c0d||_0x139b63}),_0x28b8a0[_0x41e96b(0x198)](_0x41e96b(0x200))['to'](_0x1d6c17),_0x11c1a4[_0x41e96b(0x1f5)][_0x41e96b(0x178)](_0x1c5b6b),_0x28b8a0[_0x41e96b(0x16a)][_0x41e96b(0x1d5)][_0x41e96b(0x17e)](_0x11c1a4),_0x38bf8f[_0x41e96b(0x1d5)][_0x41e96b(0x17e)](_0x28b8a0),_0x60f6c3[_0x41e96b(0x1f5)][_0x41e96b(0x17e)](_0x38bf8f);}),_0x1d6c17[_0x4d73b8(0x16a)][_0x4d73b8(0x1d5)][_0x4d73b8(0x17e)](_0x60f6c3);}[_0x51d173(0x1d1)]({command:_0xd51533,commands:_0x1d5ec1,parentMenuView:_0x53e128,onExecute:_0x402339}){const _0x97d8c5=_0x51d173,_0x553a0f=this[_0x97d8c5(0x19f)],_0x2b7d86=_0x553a0f[_0x97d8c5(0x1be)];return U(_0x553a0f,_0x1d5ec1)[_0x97d8c5(0x17b)](_0x58809e=>{const _0x2b3794=_0x97d8c5,_0x2c65de=new _0x3b68a6(_0x2b7d86,_0x53e128),_0x3508f9=new _0x4f37e2(_0x2b7d86);return _0x3508f9[_0x2b3794(0x1ab)]({'label':_0x58809e[_0x2b3794(0x1ad)]}),_0x3508f9[_0x2b3794(0x198)](_0x2b3794(0x200))['to'](_0x53e128),_0x3508f9['on'](_0x2b3794(0x200),()=>_0x402339(_0x58809e['id'])),_0x3508f9[_0x2b3794(0x171)](_0x2b3794(0x1bc))['to'](_0xd51533,_0x2b3794(0x162),_0x4811f7=>_0x4811f7[_0x2b3794(0x192)](_0x58809e['id'])),_0x2c65de[_0x2b3794(0x1d5)][_0x2b3794(0x17e)](_0x3508f9),_0x2c65de;});}}function T(_0x3e8e31,_0x39b566){const _0x204cd3=_0x51d173;return void 0x0!==_0x3e8e31[_0x204cd3(0x1d8)]&&void 0x0===_0x39b566[_0x204cd3(0x1d8)]?0x1:void 0x0===_0x3e8e31[_0x204cd3(0x1d8)]&&void 0x0!==_0x39b566[_0x204cd3(0x1d8)]?-0x1:void 0x0!==_0x3e8e31[_0x204cd3(0x1d8)]&&void 0x0!==_0x39b566[_0x204cd3(0x1d8)]?_0x3e8e31[_0x204cd3(0x1d8)]-_0x39b566[_0x204cd3(0x1d8)]:0x0;}function _0x2e09(){const _0x17bdf6=['get','replaceContent','ai.assistant.commands','expired','_initAriaAiStatusChangeAnnouncements','Error\x20during\x20AI\x20content\x20generation:\x20%0','from','_uiCssClasses','setSelection','AIAssistantUI','updatePosition','ck-ai-assistant-button\x20','menuPanelClass','copy','featureNotAllowed','componentFactory','_onExecute','214mMwGQW','editing','destroy','_createAIAssistantUIButton','groupLabel','aiLicenseKeyDomainLimit','items','isOfficialPlugin','AI\x20Assistant','ck-ai-commands-dropdown\x20','listenTo','domainLimit','DataTransfer','ai.assistant.contentAreaCssClass','aiLicenseKeyTrialLimit','hideUI','trim','execute','view','\x20ck-ai-assistant-ui_theme','commands','forEach','reset','licenseKey','_commandDefinitions','media','polite','ai-commands-config-order-collision','aiLicenseKeyValid','hideFakeVisualSelection','21fBktyo','aiAssistant','pluginName','config','enabledCommandsIds','EDITOR_TOP_SIDE','errorView','push','tableOfContents','invalid','queryView','updateView','panelView','source','_dialog','ai.assistant.useTheme','text/html','change:isProcessing','hide','bind','2251350DUDqnK','textAdapter','requires','menuView','buttonView','promptView','addMany','aiCommands','trialLimit','map','getRanges','document','add','<p>','change:enabledCommandsIds','replace','render','aiLicenseKeyEvaluationLimit','prompt','_aiAdapter','usageLimit','announce','menuitemcheckbox','_forceMarkersCopy','_licenseKeyCheckInterval','text','1397514MdgjCZ','showAIAssistant','currentContext','values','fire','5725224XgFPPK','includes','_aiAssistantController','showUI','change','define','isPremiumPlugin','delegate','focus','_showLicenseError','rawHtml','aiLicenseKeyInvalid','groupId','getLimitElement','editor','sort','_getResolvedCommandsDefinitions','AI\x20Commands','model','fieldView','REPLACE','8159aznoHY','Generated\x20content:\x20%0','ck-ai-assistant-ui','requiresContent','insertContentBelow','set','ai.assistant.disabledElements','label','AIAssistant','2292296StjULs','insertContent','plugins','body','length','6739010GJYlLu','update','comment','AI\x20is\x20writing','buttons','selection','menuBar:aiCommands','isFlat','isEnabled','_initView','locale','_populateMenuBarMenu','showFakeVisualSelection','once','getData','command:','isCollapsed','filter','3031452LxPKbx','splice','menuBar:aiAssistant','INSERT','change:isError','show','getSelectedElement','aiLicenseKeyUsageLimit','evaluationLimit','aiLicenseKeyNotAllowed','wasMoved','_getMenuBarGroupButtons','getSelectedBlocks','</p>','contentArea','children','aiLicenseKeyExpired','init','order','change:value','schema','isOn','custom','_formView'];_0x2e09=function(){return _0x17bdf6;};return _0x2e09();}function U(_0x4c7cea,_0xbcf6c8){const _0x4f2b05=_0x51d173;_0xbcf6c8[_0x4f2b05(0x1a0)](T);const _0x3bdd2f={},_0x3b4b5f=[];for(const _0x2e9edd of _0xbcf6c8)if(void 0x0!==_0x2e9edd[_0x4f2b05(0x1d8)]){if(_0x2e9edd[_0x4f2b05(0x1d8)]in _0x3bdd2f)throw new _0x12258f(_0x4f2b05(0x15b),_0x4c7cea,{'conflictingDefinitions':[_0x2e9edd,_0x3bdd2f[_0x2e9edd[_0x4f2b05(0x1d8)]]]});_0x3bdd2f[_0x2e9edd[_0x4f2b05(0x1d8)]]=_0x2e9edd,_0x3b4b5f[_0x4f2b05(0x1c7)](_0x2e9edd[_0x4f2b05(0x1d8)],0x0,_0x2e9edd);}else _0x3b4b5f[_0x4f2b05(0x165)](_0x2e9edd);return _0x3b4b5f;}
|
|
23
|
+
function _0x8790(){const _0xec8e07=['reset','getRanges','hideUI','config','ai.assistant.disabledElements','groupId','replace','document','get','licenseKey','aiAssistant','custom','_uiCssClasses','plugins','_forceMarkersCopy','define','_licenseKeyCheckInterval','trialLimit','hideFakeVisualSelection','showUI','errorView','_aiAssistantController','text/html','filter','splice','aiLicenseKeyEvaluationLimit','update','fieldView','from','getSelectedBlocks','4194342ftWMrJ','buttonView','5872580jwZiQL','enabledCommandsIds','currentContext','Generated\x20content:\x20%0','map','aiLicenseKeyValid','552104NKVXgs','evaluationLimit','featureNotAllowed','editor','_createAIAssistantUIButton','comment','focus','usageLimit','queryView','menuBar:aiAssistant','updateView','<p>','109SyHqUe','menuView','showAIAssistant','Error\x20during\x20AI\x20content\x20generation:\x20%0','_initAriaAiStatusChangeAnnouncements','destroy','schema','includes','ai.assistant.useTheme','isPremiumPlugin','_getMenuBarGroupButtons','1372818IpESey','menuBar:aiCommands','invalid','aiLicenseKeyUsageLimit','change:enabledCommandsIds','77YmGVbf','aiLicenseKeyExpired','textAdapter','isOfficialPlugin','wasMoved','panelView','2284dnVvNe','\x20ck-ai-assistant-ui_theme','change:isError','push','_aiAdapter','items','_getResolvedCommandsDefinitions','listenTo','editing','locale','10uKuSYf','text','sort','source','REPLACE','announce','setSelection','EDITOR_TOP_SIDE','aiCommands','AIAssistant','once','insertContentBelow','tableOfContents','aiLicenseKeyInvalid','fire','addMany','media','execute','ck-ai-assistant-button\x20','_dialog','getData','getSelectedElement','set','_formView','change','command:','insertContent','ai-commands-config-order-collision','commands','ai.assistant.contentAreaCssClass','aiLicenseKeyDomainLimit','groupLabel','isEnabled','isOn','render','polite','rawHtml','getLimitElement','2222752wdeulF','menuitemcheckbox','isFlat','replaceContent','add','show','aiLicenseKeyTrialLimit','requiresContent','children','_commandDefinitions','18016497YnRwaT','model','AIAssistantUI','body','menuPanelClass','copy','init','INSERT','isCollapsed','ck-ai-commands-dropdown\x20','componentFactory','ck-ai-assistant-ui','pluginName','change:isProcessing','buttons','order','ai.assistant.commands','forEach','AI\x20Commands','_onExecute','AI\x20Assistant','requires','aiLicenseKeyNotAllowed','prompt','_populateMenuBarMenu','expired','</p>','_initView','selection','label','AI\x20is\x20writing','trim','updatePosition','DataTransfer','change:value','showFakeVisualSelection','bind','domainLimit','promptView','length','values','view','hide','_showLicenseError','delegate','contentArea'];_0x8790=function(){return _0xec8e07;};return _0x8790();}const _0x2f1ad2=_0x3652;(function(_0x271add,_0x6ebad0){const _0x32f94c=_0x3652,_0x2ac55f=_0x271add();while(!![]){try{const _0x254826=parseInt(_0x32f94c(0x123))/0x1*(-parseInt(_0x32f94c(0x139))/0x2)+-parseInt(_0x32f94c(0x12e))/0x3+parseInt(_0x32f94c(0x169))/0x4+-parseInt(_0x32f94c(0x111))/0x5+parseInt(_0x32f94c(0x10f))/0x6+parseInt(_0x32f94c(0x133))/0x7*(-parseInt(_0x32f94c(0x117))/0x8)+-parseInt(_0x32f94c(0x173))/0x9*(-parseInt(_0x32f94c(0x143))/0xa);if(_0x254826===_0x6ebad0)break;else _0x2ac55f['push'](_0x2ac55f['shift']());}catch(_0x270a1d){_0x2ac55f['push'](_0x2ac55f['shift']());}}}(_0x8790,0xb4de3));import{Plugin as _0x1a298e}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3cc05a,IconRobotPencil as _0x4d3293}from'ckeditor5/src/icons.js';import{first as _0x5dfe26,CKEditorError as _0x380b06}from'ckeditor5/src/utils.js';import{createDropdown as _0x4f7083,addMenuToDropdown as _0x1fd579,ButtonView as _0x3de42d,MenuBarMenuListItemButtonView as _0xdc3858,Dialog as _0x483383,DialogViewPosition as _0x32339b,MenuBarMenuView as _0x36f3c0,MenuBarMenuListView as _0x42c9c3,MenuBarMenuListItemView as _0x380871}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x52a50d,UNGROUPED_COMMANDS_GROUP_ID as _0x3bbafe}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x1b3d1a}from'./aiassistantediting.js';import{AIAdapter as _0x5112a2}from'./adapters/aiadapter.js';import{getTranslation as _0x5d4189}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x13e9ae}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x219343}from'./ui/aiassistantcontroller.js';function _0x3652(_0x1993c5,_0x1744fe){const _0x879043=_0x8790();return _0x3652=function(_0x365204,_0x458bbc){_0x365204=_0x365204-0xea;let _0x11141c=_0x879043[_0x365204];return _0x11141c;},_0x3652(_0x1993c5,_0x1744fe);}import{AIFormView as _0xfb87b9}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0xb0d807}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const dt=globalThis[_0x2f1ad2(0x194)];import{ClipboardMarkersUtils as _0x17e208}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x245395,ViewDataTransfer as _0x5601bb}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x1a298e{[_0x2f1ad2(0xfa)];[_0x2f1ad2(0x101)];[_0x2f1ad2(0x156)];[_0x2f1ad2(0x15a)];[_0x2f1ad2(0x13d)];[_0x2f1ad2(0x106)];[_0x2f1ad2(0xfd)]='';static get[_0x2f1ad2(0x17f)](){const _0x4aee3d=_0x2f1ad2;return _0x4aee3d(0x175);}static get[_0x2f1ad2(0x136)](){return!0x0;}static get[_0x2f1ad2(0x12c)](){return!0x0;}static get[_0x2f1ad2(0x188)](){return[_0x17e208,_0x1b3d1a,_0x5112a2,_0x483383];}constructor(_0x5ec273){const _0x48feeb=_0x2f1ad2;super(_0x5ec273),_0x5ec273[_0x48feeb(0xf4)][_0x48feeb(0x100)](_0x48feeb(0xf5),[_0x48feeb(0x153),_0x48feeb(0x167),_0x48feeb(0x14f)]),_0x5ec273[_0x48feeb(0xf4)][_0x48feeb(0x100)](_0x48feeb(0x160),''),_0x5ec273[_0x48feeb(0xf4)][_0x48feeb(0x100)](_0x48feeb(0x12b),!0x0),this[_0x48feeb(0xfd)]=_0x48feeb(0x17e)+(_0x5ec273[_0x48feeb(0xf4)][_0x48feeb(0xf9)](_0x48feeb(0x12b))?_0x48feeb(0x13a):'');}[_0x2f1ad2(0x179)](){const _0x55218e=_0x2f1ad2,{editor:_0x56cf30}=this;this[_0x55218e(0x13d)]=_0x56cf30[_0x55218e(0xfe)][_0x55218e(0xf9)](_0x5112a2),this[_0x55218e(0x156)]=_0x56cf30[_0x55218e(0xfe)][_0x55218e(0xf9)](_0x483383),this[_0x55218e(0x15a)]=null,this[_0x55218e(0x172)]=this[_0x55218e(0x13f)]();const _0x1c1445=new _0x13e9ae(_0x56cf30,Array[_0x55218e(0x10d)](this[_0x55218e(0x172)][_0x55218e(0xeb)]()));_0x56cf30[_0x55218e(0x15f)][_0x55218e(0x16d)](_0x55218e(0x125),_0x1c1445),_0x56cf30['ui'][_0x55218e(0x17d)][_0x55218e(0x16d)](_0x55218e(0x14b),_0x1c6554=>{const _0xc50847=_0x55218e,_0x233a36=_0x4f7083(_0x1c6554);return _0x233a36[_0xc50847(0x159)]({'class':_0xc50847(0x17c)+this[_0xc50847(0xfd)]}),_0x233a36[_0xc50847(0x110)][_0xc50847(0x159)]({'label':_0x5d4189(_0x1c6554,_0xc50847(0x185)),'icon':_0x3cc05a,'tooltip':!0x0}),_0x233a36['on'](_0xc50847(0x154),_0x36c9f4=>this[_0xc50847(0x186)](_0x36c9f4[_0xc50847(0x146)]['id'])),_0x1fd579(_0x233a36,_0x56cf30['ui'][_0xc50847(0xec)][_0xc50847(0x176)],function(_0x9e8837){const _0x4adaf9=_0xc50847,_0x58336a=_0x52a50d(_0x9e8837[_0x4adaf9(0xf4)][_0x4adaf9(0xf9)](_0x4adaf9(0x183)),_0x9e8837[_0x4adaf9(0x142)]),_0x404ea0=wi(_0x9e8837,_0x58336a)[_0x4adaf9(0x108)](_0x8f86f7=>_0x8f86f7[_0x4adaf9(0x15f)][_0x4adaf9(0xea)]);if(0x1===_0x404ea0[_0x4adaf9(0xea)])return wi(_0x9e8837,_0x404ea0[0x0][_0x4adaf9(0x15f)])[_0x4adaf9(0x115)](_0x2d766a=>({'id':_0x2d766a['id'],'label':_0x2d766a[_0x4adaf9(0x190)]}));return _0x404ea0[_0x4adaf9(0x115)](_0x38dd45=>{const _0x5091ea=_0x4adaf9,{groupId:_0x527d7b,groupLabel:_0x4bea56,commands:_0x2ef260}=_0x38dd45,_0x26f340=wi(_0x9e8837,_0x2ef260)[_0x5091ea(0x115)](_0x5ddf28=>({'id':_0x5ddf28['id'],'label':_0x5ddf28[_0x5091ea(0x190)]}));return{'id':_0x527d7b,'menu':_0x4bea56||_0x527d7b,'children':_0x26f340};});}(_0x56cf30),{'ariaLabel':_0x5d4189(_0x1c6554,_0xc50847(0x185))}),_0x233a36[_0xc50847(0x124)][_0xc50847(0x177)]=_0xc50847(0x17c)+this[_0xc50847(0xfd)],_0x1c1445['on'](_0xc50847(0x132),_0x3a0885),_0x233a36[_0xc50847(0x124)][_0xc50847(0x14d)](_0xc50847(0x165),_0x3a0885),_0x233a36;function _0x3a0885(){const _0x3c3873=_0xc50847;_0x233a36[_0x3c3873(0x163)]=_0x1c1445[_0x3c3873(0x112)][_0x3c3873(0xea)]>0x0;for(const _0x436ac5 of _0x233a36[_0x3c3873(0x124)][_0x3c3873(0x181)])_0x436ac5[_0x3c3873(0x163)]=_0x1c1445[_0x3c3873(0x112)][_0x3c3873(0x12a)](_0x436ac5['id']);}}),_0x56cf30['ui'][_0x55218e(0x17d)][_0x55218e(0x16d)](_0x55218e(0x12f),_0x246597=>{const _0x3a6847=_0x55218e,_0x1f2d09=new _0x36f3c0(_0x246597);_0x1f2d09[_0x3a6847(0x110)][_0x3a6847(0x159)]({'label':_0x5d4189(_0x246597,_0x3a6847(0x185)),'icon':_0x3cc05a}),_0x1f2d09[_0x3a6847(0x197)](_0x3a6847(0x163))['to'](_0x1c1445,_0x3a6847(0x112),_0x2c1473=>_0x2c1473[_0x3a6847(0xea)]>0x0);const _0x33b3cb=_0x52a50d(_0x56cf30[_0x3a6847(0xf4)][_0x3a6847(0xf9)](_0x3a6847(0x183)),_0x246597);return this[_0x3a6847(0x18b)](_0x1c1445,_0x1f2d09,_0x33b3cb,_0xc541c8=>this[_0x3a6847(0x186)](_0xc541c8)),_0x1f2d09;}),_0x56cf30['ui'][_0x55218e(0x17d)][_0x55218e(0x16d)](_0x55218e(0xfb),()=>{const _0x2bcc27=_0x55218e,_0x5cc4e8=this[_0x2bcc27(0x11b)](_0x3de42d);return _0x5cc4e8[_0x2bcc27(0x159)]({'tooltip':!0x0,'class':_0x2bcc27(0x155)+this[_0x2bcc27(0xfd)]}),_0x5cc4e8;}),_0x56cf30['ui'][_0x55218e(0x17d)][_0x55218e(0x16d)](_0x55218e(0x120),()=>{const _0xce72c6=_0x55218e,_0x525275=this[_0xce72c6(0x11b)](_0xdc3858);return _0x525275[_0xce72c6(0x159)]({'role':_0xce72c6(0x16a)}),_0x525275;}),this[_0x55218e(0xfa)]=this[_0x55218e(0x11a)][_0x55218e(0xf4)][_0x55218e(0xf9)](_0x55218e(0xfa));const _0x2d3326=this[_0x55218e(0x11a)];this[_0x55218e(0x101)]=setInterval(()=>{const _0x2e80c7=_0x55218e;let _0x222a19;for(const _0x462bd7 in _0x2d3326){const _0x4237ae=_0x462bd7,_0x25d41f=_0x2d3326[_0x4237ae];if(_0x2e80c7(0x116)==_0x25d41f||_0x2e80c7(0x150)==_0x25d41f||_0x2e80c7(0x134)==_0x25d41f||_0x2e80c7(0x161)==_0x25d41f||_0x2e80c7(0x189)==_0x25d41f||_0x2e80c7(0x10a)==_0x25d41f||_0x2e80c7(0x16f)==_0x25d41f||_0x2e80c7(0x131)==_0x25d41f){delete _0x2d3326[_0x4237ae],_0x222a19=_0x25d41f,clearInterval(this[_0x2e80c7(0x101)]),this[_0x2e80c7(0x101)]=void 0x0;break;}}_0x2e80c7(0x150)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x130)),_0x2e80c7(0x134)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x18c)),_0x2e80c7(0x161)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x198)),_0x2e80c7(0x189)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x119),_0x2e80c7(0x14c)),_0x2e80c7(0x10a)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x118)),_0x2e80c7(0x16f)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x102)),_0x2e80c7(0x131)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x11e));},0x3e8);}[_0x2f1ad2(0x128)](){const _0x4d89e5=_0x2f1ad2;super[_0x4d89e5(0x128)](),this[_0x4d89e5(0x101)]&&clearInterval(this[_0x4d89e5(0x101)]);}[_0x2f1ad2(0x104)](_0x40cd67='',_0x1669c7='',_0x142292=_0x2f1ad2(0xfc)){const _0x429699=_0x2f1ad2,_0x3dcb24=this[_0x429699(0x11a)],_0x4d8387=_0x3dcb24[_0x429699(0x141)][_0x429699(0xec)],_0x210591=_0x3dcb24[_0x429699(0xfe)][_0x429699(0xf9)](_0x1b3d1a),_0x594921=_0x3dcb24[_0x429699(0xfe)][_0x429699(0xf9)](_0x17e208);_0x210591[_0x429699(0x196)]();const _0x454680=new dt(),_0xd6923=new ClipboardEvent(_0x429699(0x178),{'clipboardData':_0x454680}),_0x5347fa=new _0x5601bb(_0x454680),_0x4cb01e=new _0x245395(_0x4d8387,_0xd6923,{'dataTransfer':_0x5347fa});_0x594921[_0x429699(0xff)](_0x429699(0x11c),()=>{const _0x5f2d86=_0x429699;_0x4d8387[_0x5f2d86(0xf8)][_0x5f2d86(0x151)](_0x5f2d86(0x178),_0x4cb01e);}),this[_0x429699(0x15a)]||(this[_0x429699(0x18e)](),this[_0x429699(0x106)]=new _0x219343(_0x3dcb24,this[_0x429699(0x13d)][_0x429699(0x135)],this[_0x429699(0x15a)]));let _0x58733c=_0x5347fa[_0x429699(0x157)](_0x429699(0x107));const _0x534386=_0x3dcb24[_0x429699(0x174)][_0x429699(0xf8)][_0x429699(0x18f)],_0x5de7bd=Array[_0x429699(0x10d)](_0x534386[_0x429699(0xf2)]());0x1===_0x5de7bd[_0x429699(0xea)]&&_0x5de7bd[0x0][_0x429699(0x16b)]&&!_0x534386[_0x429699(0x158)]()&&''!==_0x58733c[_0x429699(0xf7)](/ /g,'')[_0x429699(0x192)]()&&(_0x58733c=_0x429699(0x122)+_0x58733c+_0x429699(0x18d)),this[_0x429699(0x106)][_0x429699(0x121)]({'actionId':_0x142292,'query':_0x40cd67,'htmlContent':_0x58733c,'label':_0x1669c7,'mainActionLabel':_0xb0d807[_0x3dcb24[_0x429699(0x174)][_0x429699(0xf8)][_0x429699(0x18f)][_0x429699(0x17b)]?_0x429699(0x17a):_0x429699(0x147)]}),_0x429699(0xfb)!==this[_0x429699(0x156)]['id']?this[_0x429699(0x156)][_0x429699(0x16e)]({'id':_0x429699(0xfb),'icon':_0x4d3293,'title':_0x5d4189(this[_0x429699(0x11a)][_0x429699(0x142)],_0x429699(0x187)),'content':this[_0x429699(0x15a)],'position':_0x32339b[_0x429699(0x14a)],'onShow':()=>{const _0x551cd5=_0x429699;this[_0x551cd5(0x15a)][_0x551cd5(0x11d)]();},'onHide':()=>{const _0x17f4c7=_0x429699;this[_0x17f4c7(0x106)][_0x17f4c7(0xf1)](),_0x210591[_0x17f4c7(0x103)]();}}):this[_0x429699(0x156)][_0x429699(0xec)][_0x429699(0x137)]||this[_0x429699(0x156)][_0x429699(0xec)][_0x429699(0x193)]();}[_0x2f1ad2(0xf3)](){const _0x252151=_0x2f1ad2;this[_0x252151(0x156)][_0x252151(0xed)]();}[_0x2f1ad2(0x13f)](){const _0x4a6abf=_0x2f1ad2,_0x7cb009=new Map(),_0x1b6640=_0x52a50d(this[_0x4a6abf(0x11a)][_0x4a6abf(0xf4)][_0x4a6abf(0xf9)](_0x4a6abf(0x183)),this[_0x4a6abf(0x11a)][_0x4a6abf(0x142)]);for(const _0x4e7f2b of _0x1b6640)for(const _0x47d2df of _0x4e7f2b[_0x4a6abf(0x15f)])_0x7cb009[_0x4a6abf(0x159)](_0x47d2df['id'],{..._0x47d2df,'groupId':_0x4e7f2b[_0x4a6abf(0xf6)],'groupLabel':_0x4e7f2b[_0x4a6abf(0x162)]||_0x4e7f2b[_0x4a6abf(0xf6)]});return _0x7cb009;}[_0x2f1ad2(0x11b)](_0x5f08db){const _0xbc81b5=_0x2f1ad2,_0x3426c5=this[_0xbc81b5(0x11a)],_0x32a083=_0x3426c5[_0xbc81b5(0x15f)][_0xbc81b5(0xf9)](_0xbc81b5(0x125)),_0x41629c=new _0x5f08db(_0x3426c5[_0xbc81b5(0x142)]);return _0x41629c[_0xbc81b5(0x159)]({'label':_0x5d4189(_0x3426c5[_0xbc81b5(0x142)],_0xbc81b5(0x187)),'icon':_0x4d3293,'isToggleable':!0x0}),_0x41629c[_0xbc81b5(0x197)](_0xbc81b5(0x163))['to'](_0x32a083),_0x41629c[_0xbc81b5(0x197)](_0xbc81b5(0x164))['to'](this[_0xbc81b5(0x156)],'id',_0x34d3f7=>_0xbc81b5(0xfb)===_0x34d3f7),this[_0xbc81b5(0x140)](_0x41629c,_0xbc81b5(0x154),()=>{const _0x45e561=_0xbc81b5;_0x41629c[_0x45e561(0x164)]?this[_0x45e561(0xf3)]():_0x32a083[_0x45e561(0x154)]();}),_0x41629c;}[_0x2f1ad2(0x18e)](){const _0xaaae09=_0x2f1ad2,_0x5f0867=this[_0xaaae09(0x11a)][_0xaaae09(0xfe)][_0xaaae09(0xf9)](_0x1b3d1a);this[_0xaaae09(0x15a)]=new _0xfb87b9(this[_0xaaae09(0x11a)][_0xaaae09(0x142)],this[_0xaaae09(0xfd)],this[_0xaaae09(0x11a)][_0xaaae09(0xf4)][_0xaaae09(0xf9)](_0xaaae09(0x160))),this[_0xaaae09(0x15a)]['on'](_0xaaae09(0x195),()=>{const _0xcfa1e0=_0xaaae09;this[_0xcfa1e0(0x156)][_0xcfa1e0(0xec)][_0xcfa1e0(0x137)]||this[_0xcfa1e0(0x156)][_0xcfa1e0(0xec)][_0xcfa1e0(0x193)]();}),this[_0xaaae09(0x15a)][_0xaaae09(0x199)][_0xaaae09(0x11f)][_0xaaae09(0x10c)]['on'](_0xaaae09(0x10b),()=>{const _0xf38822=_0xaaae09;this[_0xf38822(0x156)][_0xf38822(0xec)][_0xf38822(0x137)]||this[_0xf38822(0x156)][_0xf38822(0xec)][_0xf38822(0x193)]();}),this[_0xaaae09(0x140)](this[_0xaaae09(0x15a)],_0xaaae09(0x16c),()=>{const _0x46bb0e=_0xaaae09;_0x5f0867[_0x46bb0e(0x15d)](this[_0x46bb0e(0x106)][_0x46bb0e(0x113)]),this[_0x46bb0e(0xf3)]();}),this[_0xaaae09(0x140)](this[_0xaaae09(0x15a)],_0xaaae09(0x14e),()=>{const _0x3291b1=_0xaaae09;_0x5f0867[_0x3291b1(0x14e)](this[_0x3291b1(0x106)][_0x3291b1(0x113)]),this[_0x3291b1(0xf3)]();}),this[_0xaaae09(0x127)]();}[_0x2f1ad2(0x127)](){const _0x249446=_0x2f1ad2,{locale:_0x1d1330,ui:{ariaLiveAnnouncer:_0x4a01ee}}=this[_0x249446(0x11a)];this[_0x249446(0x15a)][_0x249446(0xf0)]['on'](_0x249446(0x180),(_0x1fdb39,_0x1580fb,_0x182dfc)=>{const _0x2aef88=_0x249446,_0x454127=this[_0x2aef88(0x106)][_0x2aef88(0x113)];_0x182dfc?_0x4a01ee[_0x2aef88(0x148)](_0x5d4189(_0x1d1330,_0x2aef88(0x191))):_0x454127&&_0x4a01ee[_0x2aef88(0x148)](_0x5d4189(_0x1d1330,_0x2aef88(0x114),_0x454127),{'politeness':_0x2aef88(0x166),'isUnsafeHTML':!0x0});}),this[_0x249446(0x15a)]['on'](_0x249446(0x13b),(_0x163f81,_0x285ba5,_0x28a398)=>{const _0x4137bd=_0x249446;if(_0x28a398){const _0x71f917=this[_0x4137bd(0x15a)][_0x4137bd(0x105)][_0x4137bd(0x144)];_0x4a01ee[_0x4137bd(0x148)](_0x5d4189(_0x1d1330,_0x4137bd(0x126),_0x71f917));}});}[_0x2f1ad2(0x186)](_0x2908c1){const _0x22dda0=_0x2f1ad2,_0x336030=this[_0x22dda0(0x172)][_0x22dda0(0xf9)](_0x2908c1),_0x773527=this[_0x22dda0(0x11a)],_0x2fa247=_0x773527[_0x22dda0(0x174)][_0x22dda0(0xf8)][_0x22dda0(0x18f)],_0x1fe5f2=_0x773527[_0x22dda0(0x15f)][_0x22dda0(0xf9)](_0x22dda0(0x125)),_0xffea4e=_0x773527[_0x22dda0(0xfe)][_0x22dda0(0xf9)](_0x1b3d1a),_0x3ffafe=''+(_0x336030[_0x22dda0(0xf6)]!==_0x3bbafe?_0x336030[_0x22dda0(0x162)]+':\x20':'')+_0x336030[_0x22dda0(0x190)];if(!0x1!==_0x336030[_0x22dda0(0x170)]&&_0x2fa247[_0x22dda0(0x17b)]){const _0x154e63=_0x5dfe26(_0x2fa247[_0x22dda0(0x10e)]())||_0x773527[_0x22dda0(0x174)][_0x22dda0(0x129)][_0x22dda0(0x168)](_0x2fa247);_0x773527[_0x22dda0(0x174)][_0x22dda0(0x15b)](_0x4a4dbe=>{const _0x518907=_0x22dda0;_0x4a4dbe[_0x518907(0x149)](_0x154e63,'in');});}_0xffea4e[_0x22dda0(0x196)](),_0x1fe5f2[_0x22dda0(0x154)](_0x336030[_0x22dda0(0x18a)],_0x3ffafe,_0x22dda0(0x15c)+_0x2908c1);}[_0x2f1ad2(0x18b)](_0x19c6b3,_0x568dea,_0x4a95a9,_0x1b6dff){const _0x113d76=_0x2f1ad2,_0xdb751d=this[_0x113d76(0x11a)],_0x31a0d6=_0xdb751d[_0x113d76(0x142)],_0x2e3253=new _0x42c9c3(_0x31a0d6),_0x48a2ac=wi(_0xdb751d,_0x4a95a9)[_0x113d76(0x108)](_0x386dce=>_0x386dce[_0x113d76(0x15f)][_0x113d76(0xea)]);0x1===_0x48a2ac[_0x113d76(0xea)]?this[_0x113d76(0x12d)]({'command':_0x19c6b3,'commands':_0x48a2ac[0x0][_0x113d76(0x15f)],'parentMenuView':_0x568dea,'onExecute':_0x1b6dff})[_0x113d76(0x184)](_0x2b6e8f=>_0x2e3253[_0x113d76(0x13e)][_0x113d76(0x16d)](_0x2b6e8f)):_0x48a2ac[_0x113d76(0x184)](({groupId:_0x2a5843,groupLabel:_0x3aef6a,commands:_0x3b8298})=>{const _0x243e92=_0x113d76,_0x512232=new _0x380871(_0x31a0d6,_0x568dea),_0x28863f=new _0x36f3c0(_0x31a0d6),_0x326b23=new _0x42c9c3(_0x31a0d6),_0x9fa4ae=this[_0x243e92(0x12d)]({'command':_0x19c6b3,'commands':_0x3b8298,'parentMenuView':_0x28863f,'onExecute':_0x1b6dff});_0x28863f[_0x243e92(0x110)][_0x243e92(0x159)]({'label':_0x3aef6a||_0x2a5843}),_0x28863f[_0x243e92(0xef)](_0x243e92(0x154))['to'](_0x568dea),_0x326b23[_0x243e92(0x13e)][_0x243e92(0x152)](_0x9fa4ae),_0x28863f[_0x243e92(0x138)][_0x243e92(0x171)][_0x243e92(0x16d)](_0x326b23),_0x512232[_0x243e92(0x171)][_0x243e92(0x16d)](_0x28863f),_0x2e3253[_0x243e92(0x13e)][_0x243e92(0x16d)](_0x512232);}),_0x568dea[_0x113d76(0x138)][_0x113d76(0x171)][_0x113d76(0x16d)](_0x2e3253);}[_0x2f1ad2(0x12d)]({command:_0x243c26,commands:_0x1afe33,parentMenuView:_0xffb07a,onExecute:_0x3a0a7e}){const _0x3cd5b5=_0x2f1ad2,_0x5d39fa=this[_0x3cd5b5(0x11a)],_0x18aa18=_0x5d39fa[_0x3cd5b5(0x142)];return wi(_0x5d39fa,_0x1afe33)[_0x3cd5b5(0x115)](_0x2e8489=>{const _0x446692=_0x3cd5b5,_0x63628b=new _0x380871(_0x18aa18,_0xffb07a),_0x5f39a0=new _0xdc3858(_0x18aa18);return _0x5f39a0[_0x446692(0x159)]({'label':_0x2e8489[_0x446692(0x190)]}),_0x5f39a0[_0x446692(0xef)](_0x446692(0x154))['to'](_0xffb07a),_0x5f39a0['on'](_0x446692(0x154),()=>_0x3a0a7e(_0x2e8489['id'])),_0x5f39a0[_0x446692(0x197)](_0x446692(0x163))['to'](_0x243c26,_0x446692(0x112),_0x2d5541=>_0x2d5541[_0x446692(0x12a)](_0x2e8489['id'])),_0x63628b[_0x446692(0x171)][_0x446692(0x16d)](_0x5f39a0),_0x63628b;});}}function Ai(_0x208db2,_0x5f0341){const _0x2bef42=_0x2f1ad2;return void 0x0!==_0x208db2[_0x2bef42(0x182)]&&void 0x0===_0x5f0341[_0x2bef42(0x182)]?0x1:void 0x0===_0x208db2[_0x2bef42(0x182)]&&void 0x0!==_0x5f0341[_0x2bef42(0x182)]?-0x1:void 0x0!==_0x208db2[_0x2bef42(0x182)]&&void 0x0!==_0x5f0341[_0x2bef42(0x182)]?_0x208db2[_0x2bef42(0x182)]-_0x5f0341[_0x2bef42(0x182)]:0x0;}function wi(_0x34f7ad,_0x2c360c){const _0x29d602=_0x2f1ad2;_0x2c360c[_0x29d602(0x145)](Ai);const _0xff3db4={},_0x3ff771=[];for(const _0x207f8b of _0x2c360c)if(void 0x0!==_0x207f8b[_0x29d602(0x182)]){if(_0x207f8b[_0x29d602(0x182)]in _0xff3db4)throw new _0x380b06(_0x29d602(0x15e),_0x34f7ad,{'conflictingDefinitions':[_0x207f8b,_0xff3db4[_0x207f8b[_0x29d602(0x182)]]]});_0xff3db4[_0x207f8b[_0x29d602(0x182)]]=_0x207f8b,_0x3ff771[_0x29d602(0x109)](_0x207f8b[_0x29d602(0x182)],0x0,_0x207f8b);}else _0x3ff771[_0x29d602(0x13c)](_0x207f8b);return _0x3ff771;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4915(_0x3c3b2d,_0x21e88e){var _0x446693=_0x4466();return _0x4915=function(_0x49156b,_0x4701d1){_0x49156b=_0x49156b-0x101;var _0xef42fe=_0x446693[_0x49156b];return _0xef42fe;},_0x4915(_0x3c3b2d,_0x21e88e);}function _0x4466(){var _0x1cca26=['14962920flaZTp','52593YMcdES','22970pkpITB','3954937duoBUz','16CKjvPC','6235256HlGggT','6CfSHVR','1009218wYvpSm','9iFgunf','4157337xIQQBk'];_0x4466=function(){return _0x1cca26;};return _0x4466();}(function(_0x50f3bb,_0x4fa526){var _0x287c72=_0x4915,_0x574510=_0x50f3bb();while(!![]){try{var _0x54f91e=-parseInt(_0x287c72(0x101))/0x1+-parseInt(_0x287c72(0x107))/0x2+parseInt(_0x287c72(0x109))/0x3+-parseInt(_0x287c72(0x104))/0x4*(-parseInt(_0x287c72(0x102))/0x5)+parseInt(_0x287c72(0x106))/0x6*(parseInt(_0x287c72(0x103))/0x7)+parseInt(_0x287c72(0x105))/0x8*(parseInt(_0x287c72(0x108))/0x9)+-parseInt(_0x287c72(0x10a))/0xa;if(_0x54f91e===_0x4fa526)break;else _0x574510['push'](_0x574510['shift']());}catch(_0x538c1c){_0x574510['push'](_0x574510['shift']());}}}(_0x4466,0xa9b13));import{CKEditorError as _0x18f1e8}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3e67fb=_0x352d;(function(_0x318f64,_0x4a0dd4){const _0x952215=_0x352d,_0x2d3f49=_0x318f64();while(!![]){try{const _0x4b58e2=parseInt(_0x952215(0x1d5))/0x1*(-parseInt(_0x952215(0x1e5))/0x2)+-parseInt(_0x952215(0x1fe))/0x3*(-parseInt(_0x952215(0x1d7))/0x4)+parseInt(_0x952215(0x1cf))/0x5+parseInt(_0x952215(0x21f))/0x6*(-parseInt(_0x952215(0x1c3))/0x7)+parseInt(_0x952215(0x1d6))/0x8+-parseInt(_0x952215(0x218))/0x9*(-parseInt(_0x952215(0x1ee))/0xa)+-parseInt(_0x952215(0x1c2))/0xb*(parseInt(_0x952215(0x217))/0xc);if(_0x4b58e2===_0x4a0dd4)break;else _0x2d3f49['push'](_0x2d3f49['shift']());}catch(_0x1369c2){_0x2d3f49['push'](_0x2d3f49['shift']());}}}(_0x2a11,0x1eec8));import{ObservableMixin as _0x57e9a8}from'ckeditor5/src/utils.js';import{AIRequestError as _0x25b0a8}from'../adapters/aiadapter.js';import{Matcher as _0x228cfc,ViewUpcastWriter as _0x2b3365}from'ckeditor5/src/engine.js';const fs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x2a11(){const _0x5c8551=['currentResponse','_isH1TagSupportEnabled','makeRequest','setContentOf','innerHTML','exec','prompt','478650HqBtwj','body','finishProcessing','push','then','childNodes','1kRsHUk','1056368nwIITk','45764vGXWvv','reverse','div','destroy','previousQuery','_parseAndNormalizeContent','htmlProcessor','isRendered','once','<h1></h1>','_sanitizationContainer','_xmlSerializer','submitPrompt','previousContext','256666xhXWiG','textAdapter','ELEMENT_NODE','ai.assistant.preserveComments','clear','```','createElement','from','mainAction','9910QkWulJ','_sanitizeHTML','listenTo','config','data','abort','toModel','isProcessing','handleError','_normalizeResponseHeadings','trim','previousLabel','value','catch','stopProcessing','stopListening','21NjmvXT','updateView','name','document','viewToDom','get','nodeType','```html','match','querySelector','serializeToString','_handleQuery','currentContext','element','reset','render','set:currentContext','processor','length','initialContext','view','custom','startProcessing','tryAgainEvent','stringify','12tqJMDd','1521rCRDJP','_stripMarkdownSyntax','set','markers','editor','text/html','toView','16284wuyJSU','substring','_domParser','rename','startsWith','message','endsWith','parseFromString','domConverter','65329McFcUC','553FwvpuM','remove','editing','finally','previousActionId'];_0x2a11=function(){return _0x5c8551;};return _0x2a11();}function _0x352d(_0x20e4fb,_0x412719){const _0x2a1158=_0x2a11();return _0x352d=function(_0x352dea,_0x1bc201){_0x352dea=_0x352dea-0x1bb;let _0x11b00a=_0x2a1158[_0x352dea];return _0x11b00a;},_0x352d(_0x20e4fb,_0x412719);}export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x57e9a8(){[_0x3e67fb(0x21c)];[_0x3e67fb(0x1e6)];[_0x3e67fb(0x212)];[_0x3e67fb(0x1e1)];[_0x3e67fb(0x1bb)];[_0x3e67fb(0x1e2)];constructor(_0x5bcce9,_0x47d526,_0x14f4b2){const _0x578c84=_0x3e67fb;super(),this[_0x578c84(0x21c)]=_0x5bcce9,this[_0x578c84(0x1e6)]=_0x47d526,this[_0x578c84(0x1e1)]=document[_0x578c84(0x1eb)](_0x578c84(0x1d9)),this[_0x578c84(0x1bb)]=new DOMParser(),this[_0x578c84(0x1e2)]=new XMLSerializer(),this[_0x578c84(0x212)]=_0x14f4b2,this[_0x578c84(0x21a)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x578c84(0x20e),(_0x19e1c0,_0x4c2746,_0x2d6bc2)=>{const _0xffff69=_0x578c84;this[_0xffff69(0x212)][_0xffff69(0x1fa)]=this[_0xffff69(0x1ef)](_0x2d6bc2);}),this[_0x578c84(0x1f0)](this[_0x578c84(0x212)],_0x578c84(0x1e3),(_0x22c3ce,_0x2461b9)=>{const _0x1cc13f=_0x578c84,_0xcd8cd4=this[_0x1cc13f(0x20a)]||this[_0x1cc13f(0x211)];this[_0x1cc13f(0x209)](_0x2461b9,_0xcd8cd4,_0x1cc13f(0x213));}),this[_0x578c84(0x1f0)](this[_0x578c84(0x212)],_0x578c84(0x215),()=>{const _0x279fc9=_0x578c84;this[_0x279fc9(0x212)][_0x279fc9(0x1ce)]=this[_0x279fc9(0x1f9)],this[_0x279fc9(0x209)](this[_0x279fc9(0x1db)],this[_0x279fc9(0x1e4)],this[_0x279fc9(0x1c7)],this[_0x279fc9(0x1f9)]);}),this[_0x578c84(0x1f0)](this[_0x578c84(0x212)],_0x578c84(0x1fc),()=>{const _0x57c0d5=_0x578c84;this[_0x57c0d5(0x1fc)]();});}[_0x3e67fb(0x1da)](){const _0x3a5cba=_0x3e67fb;this[_0x3a5cba(0x1fd)]();}async[_0x3e67fb(0x1ff)]({actionId:_0x150696,query:_0x37b9b0,htmlContent:_0xe1145d,label:_0x423632,mainActionLabel:_0x295a2f}){const _0x4b9b05=_0x3e67fb;this[_0x4b9b05(0x212)][_0x4b9b05(0x1ce)]=_0x423632,this[_0x4b9b05(0x212)][_0x4b9b05(0x1ed)]=_0x295a2f,this[_0x4b9b05(0x211)]=_0xe1145d,_0x37b9b0&&(this[_0x4b9b05(0x212)][_0x4b9b05(0x1de)]?this[_0x4b9b05(0x209)](_0x37b9b0,_0xe1145d,_0x150696,_0x423632):this[_0x4b9b05(0x212)][_0x4b9b05(0x1df)](_0x4b9b05(0x20d),()=>{const _0x175194=_0x4b9b05;this[_0x175194(0x209)](_0x37b9b0,_0xe1145d,_0x150696,_0x423632);}));}[_0x3e67fb(0x1fc)](){const _0x43135e=_0x3e67fb;this[_0x43135e(0x1f5)]&&(this[_0x43135e(0x1f5)]=!0x1,this[_0x43135e(0x212)][_0x43135e(0x1d1)](),this[_0x43135e(0x1e6)][_0x43135e(0x1f3)]());}[_0x3e67fb(0x20c)](){const _0x48773f=_0x3e67fb;this[_0x48773f(0x211)]='',this[_0x48773f(0x20a)]='',this[_0x48773f(0x1c8)]='',this[_0x48773f(0x1e4)]='',this[_0x48773f(0x1db)]='',this[_0x48773f(0x1f9)]='',this[_0x48773f(0x1c7)]=void 0x0,this[_0x48773f(0x212)][_0x48773f(0x20c)](),this[_0x48773f(0x1fc)]();}async[_0x3e67fb(0x209)](_0x5edf01,_0xc7a1be,_0x1a7f1e,_0x43d181){const _0x102b09=_0x3e67fb;return this[_0x102b09(0x1f5)]=!0x0,this[_0x102b09(0x212)][_0x102b09(0x214)](),this[_0x102b09(0x1e4)]=_0xc7a1be,this[_0x102b09(0x1db)]=_0x5edf01,this[_0x102b09(0x1f9)]=_0x43d181||_0x5edf01,this[_0x102b09(0x1c7)]=_0x1a7f1e,new Promise(_0x11ccf0=>{const _0x2a8522=_0x102b09;this[_0x2a8522(0x1e6)][_0x2a8522(0x1ca)]({'query':_0x5edf01,'context':_0xc7a1be,'onData':_0xef5fdd=>{const _0x6c6beb=_0x2a8522;this[_0x6c6beb(0x1c8)]=_0xef5fdd,this[_0x6c6beb(0x20a)]=this[_0x6c6beb(0x1dc)](this[_0x6c6beb(0x1c8)]);},'actionId':_0x1a7f1e})[_0x2a8522(0x1d3)](()=>{const _0x52ca63=_0x2a8522;!this[_0x52ca63(0x20a)]&&this[_0x52ca63(0x1c8)]&&(this[_0x52ca63(0x20a)]=this[_0x52ca63(0x1dc)](this[_0x52ca63(0x1c8)],!0x0));})[_0x2a8522(0x1fb)](_0x590fef=>{const _0x2d17e1=_0x2a8522;_0x590fef instanceof _0x25b0a8?this[_0x2d17e1(0x212)][_0x2d17e1(0x1f6)](_0x590fef[_0x2d17e1(0x1be)]):this[_0x2d17e1(0x212)][_0x2d17e1(0x1f6)](),_0x11ccf0();})[_0x2a8522(0x1c6)](()=>{const _0x22dfad=_0x2a8522;this[_0x22dfad(0x1fc)](),_0x11ccf0();});});}[_0x3e67fb(0x1dc)](_0x1e2ac1,_0x24de93=!0x1){const _0x17db1b=_0x3e67fb,_0x496985=fs[_0x17db1b(0x1cd)](_0x1e2ac1);_0x1e2ac1=_0x496985?_0x1e2ac1[_0x17db1b(0x220)](_0x496985[0x1][_0x17db1b(0x210)]):_0x1e2ac1[_0x17db1b(0x210)]<0x64&&!_0x24de93?'':this[_0x17db1b(0x219)](_0x1e2ac1);const _0x274d30=this[_0x17db1b(0x1bb)][_0x17db1b(0x1c0)](_0x1e2ac1,_0x17db1b(0x21d));if(_0x496985){const _0x612c5f=Array[_0x17db1b(0x1ec)](_0x274d30[_0x17db1b(0x1d0)][_0x17db1b(0x1d4)]);_0x612c5f[_0x17db1b(0x1d8)]();for(const _0x48338b of _0x612c5f){if(_0x48338b[_0x17db1b(0x204)]==Node[_0x17db1b(0x1e7)])break;_0x48338b[_0x17db1b(0x1c4)]();}}const _0x5d5f3b=this[_0x17db1b(0x21c)][_0x17db1b(0x1f2)][_0x17db1b(0x20f)][_0x17db1b(0x21e)](this[_0x17db1b(0x1e2)][_0x17db1b(0x208)](_0x274d30[_0x17db1b(0x1d0)]));this[_0x17db1b(0x1c9)]()||this[_0x17db1b(0x1f7)](_0x5d5f3b);const _0x3f20dc=this[_0x17db1b(0x21c)][_0x17db1b(0x1f1)][_0x17db1b(0x203)](_0x17db1b(0x1e8)),_0x5759fb=this[_0x17db1b(0x21c)][_0x17db1b(0x1f2)][_0x17db1b(0x1f4)](_0x5d5f3b);return _0x3f20dc||_0x5759fb[_0x17db1b(0x21b)][_0x17db1b(0x1e9)](),this[_0x17db1b(0x21c)][_0x17db1b(0x1f2)][_0x17db1b(0x216)](_0x5759fb);}[_0x3e67fb(0x1f7)](_0xebba69){const _0x2de4f5=_0x3e67fb,_0x1c36d6=new _0x2b3365(this[_0x2de4f5(0x21c)][_0x2de4f5(0x1c5)][_0x2de4f5(0x212)][_0x2de4f5(0x201)]),_0x44aeee=new _0x228cfc({'name':/^h[1-5]$/}),_0xd63c7c=[];let _0x2bded8=!0x1;for(const _0x3042df of _0xebba69)_0x3042df['is'](_0x2de4f5(0x20b))&&_0x44aeee[_0x2de4f5(0x206)](_0x3042df)&&(_0xd63c7c[_0x2de4f5(0x1d2)](_0x3042df),'h1'==_0x3042df[_0x2de4f5(0x200)]&&(_0x2bded8=!0x0));if(_0x2bded8){for(const _0x526a95 of _0xd63c7c)_0x1c36d6[_0x2de4f5(0x1bc)]('h'+(parseInt(_0x526a95[_0x2de4f5(0x200)][0x1])+0x1),_0x526a95);}}[_0x3e67fb(0x1c9)](){const _0x6fc092=_0x3e67fb,{data:_0xa892dd,editing:_0x2fe05a}=this[_0x6fc092(0x21c)],_0x1fe787=_0xa892dd[_0x6fc092(0x1dd)][_0x6fc092(0x21e)](_0x6fc092(0x1e0)),_0x4e6553=_0xa892dd[_0x6fc092(0x21e)](_0xa892dd[_0x6fc092(0x1f4)](_0x1fe787));return!!_0x2fe05a[_0x6fc092(0x212)][_0x6fc092(0x1c1)][_0x6fc092(0x202)](_0x4e6553)[_0x6fc092(0x207)]('h1');}[_0x3e67fb(0x1ef)](_0x5c4cb7){const _0x560286=_0x3e67fb;return this[_0x560286(0x21c)][_0x560286(0x1c5)][_0x560286(0x212)][_0x560286(0x1c1)][_0x560286(0x1cb)](this[_0x560286(0x1e1)],_0x5c4cb7),this[_0x560286(0x1e1)][_0x560286(0x1cc)];}[_0x3e67fb(0x219)](_0x574767){const _0x53334a=_0x3e67fb,_0x38160e=_0x574767[_0x53334a(0x1f8)]();return _0x38160e[_0x53334a(0x1bd)](_0x53334a(0x205))?_0x38160e[_0x53334a(0x1bf)](_0x53334a(0x1ea))?_0x38160e[_0x53334a(0x220)](0x7,_0x38160e[_0x53334a(0x210)]-0x3):_0x38160e[_0x53334a(0x220)](0x7):_0x574767;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x14b4(_0x4e75ac,_0x1d63ec){const _0x1e4c26=_0x1e4c();return _0x14b4=function(_0x14b418,_0x4d12a3){_0x14b418=_0x14b418-0xd6;let _0x59e0ef=_0x1e4c26[_0x14b418];return _0x59e0ef;},_0x14b4(_0x4e75ac,_0x1d63ec);}const _0xb7e6b=_0x14b4;(function(_0x380e6e,_0x2d9b6f){const _0x5cf42e=_0x14b4,_0x32ba7d=_0x380e6e();while(!![]){try{const _0x5ee485=parseInt(_0x5cf42e(0x118))/0x1+-parseInt(_0x5cf42e(0x105))/0x2*(parseInt(_0x5cf42e(0x10c))/0x3)+-parseInt(_0x5cf42e(0xfc))/0x4+-parseInt(_0x5cf42e(0x107))/0x5+parseInt(_0x5cf42e(0xd6))/0x6*(-parseInt(_0x5cf42e(0x101))/0x7)+parseInt(_0x5cf42e(0x10d))/0x8*(-parseInt(_0x5cf42e(0x10a))/0x9)+parseInt(_0x5cf42e(0xfe))/0xa;if(_0x5ee485===_0x2d9b6f)break;else _0x32ba7d['push'](_0x32ba7d['shift']());}catch(_0x234782){_0x32ba7d['push'](_0x32ba7d['shift']());}}}(_0x1e4c,0x6d046));import{global as _0x1de1fc}from'ckeditor5/src/utils.js';function _0x1e4c(){const _0x172fe2=['render','getSelection','.ck-ai-form__loader','-9999px','focus','ck-reset_all-excluded','textContent','<span>]</span>','setEndBefore','isVisible','element','ck-hidden','icon','listenTo','198vDyHcD','setTemplate','appendLoader','value','createElement','bind','div','absolute','mousedown','style','<span>[</span>','appendChild','execCommand','ck-ai-form__content-area-wrapper','scrollTo','ck-ai-form__copy-button','ck-ai-form__content-field','createRange','isEnabled','clipboard','ck-content','class','remove','execute','smooth','set','change:isProcessing','body','isProcessing','ClipboardItem','copy','setStartAfter','_createCopyButton','left','bindTemplate','lastElementChild','wheel','firstElementChild','2651132HdfiLq','AI\x20is\x20writing...','24504200AMkCAy','ck-ai-form__copy-button-wrapper','querySelector','63763FLfylF','ck-ai-form__content-area','locale','_createLoader','466sepGYH','position','984430myRlZt','text/html','loaderView','126aNlgll','_copyHTMLToClipboard','11283QAEjog','126168lgWyxn','ck-ai-form__content-area--processing','scrollHeight','\x20ck-ai-form__copy-button--copied','removeAllRanges','Copy','copyButtonView','change:value','write','text/plain','contentFieldView','253487aTkvfT','addRange','ck-ai-form__loader','innerHTML','setContent'];_0x1e4c=function(){return _0x172fe2;};return _0x1e4c();}import{View as _0x12fee6,ButtonView as _0x3f5fc4,SpinnerView as _0x461dde}from'ckeditor5/src/ui.js';import{IconCheck as _0x50ebfe,IconCopy as _0x2f5887}from'ckeditor5/src/icons.js';import{getTranslation as _0x4af0be}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x12fee6{[_0xb7e6b(0x117)];[_0xb7e6b(0x113)];constructor(_0x56b48e,_0x882dfd=''){const _0x5784b1=_0xb7e6b;super(_0x56b48e),this[_0x5784b1(0xef)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x27dee6=this[_0x5784b1(0xf8)];this[_0x5784b1(0x117)]=new ContentFieldView(_0x56b48e,_0x882dfd),this[_0x5784b1(0x113)]=this[_0x5784b1(0xf6)](),this[_0x5784b1(0xd7)]({'tag':_0x5784b1(0xdc),'attributes':{'class':['ck',_0x5784b1(0xe3),_0x27dee6['if'](_0x5784b1(0x126),_0x5784b1(0x128),_0x4beab9=>!_0x4beab9)],'tabindex':'-1'},'children':[{'tag':_0x5784b1(0xdc),'attributes':{'class':['ck',_0x5784b1(0x102),_0x27dee6['if'](_0x5784b1(0xf2),_0x5784b1(0x10e))]},'children':[this[_0x5784b1(0x117)],{'tag':_0x5784b1(0xdc),'attributes':{'class':['ck',_0x5784b1(0xff)]},'children':[this[_0x5784b1(0x113)]]}]}]});}[_0xb7e6b(0x11d)](){const _0x40efee=_0xb7e6b;super[_0x40efee(0x11d)](),this[_0x40efee(0xd9)]&&this[_0x40efee(0x117)][_0x40efee(0x11c)](this[_0x40efee(0xd9)]);let _0x10a78b=!0x1;this['on'](_0x40efee(0x114),(_0x536c9f,_0x2be52d,_0x1cd6eb)=>{const _0x37f381=_0x40efee,_0x471df1=!this[_0x37f381(0x117)][_0x37f381(0x127)][_0x37f381(0x100)](_0x37f381(0x11f));this[_0x37f381(0x117)][_0x37f381(0x11c)](_0x1cd6eb),this[_0x37f381(0xf2)]&&_0x471df1&&!_0x10a78b&&this[_0x37f381(0x127)][_0x37f381(0xe4)]({'top':this[_0x37f381(0x127)][_0x37f381(0x10f)],'behavior':_0x37f381(0xee)});}),this['on'](_0x40efee(0xf0),(_0x46a9d3,_0x186254,_0x1e6bd1)=>{const _0x3d5749=_0x40efee;_0x10a78b=!0x1,_0x1e6bd1?(this[_0x3d5749(0xd9)]=null,this[_0x3d5749(0x117)][_0x3d5749(0xd8)]()):this[_0x3d5749(0xd9)]||this[_0x3d5749(0x117)][_0x3d5749(0x11c)]('');}),this[_0x40efee(0x12a)](this[_0x40efee(0x127)],_0x40efee(0xfa),()=>{_0x10a78b=!0x0;}),this[_0x40efee(0x12a)](this[_0x40efee(0x127)],_0x40efee(0xde),()=>{_0x10a78b=!0x0;});}[_0xb7e6b(0x121)](){const _0x49405f=_0xb7e6b;this[_0x49405f(0x127)][_0x49405f(0x121)]();}[_0xb7e6b(0xf6)](){const _0x2e7624=_0xb7e6b,_0xeaba59=this[_0x2e7624(0x103)],_0x237a1e=new _0x3f5fc4(this[_0x2e7624(0x103)]),_0x323e4b=_0x2e7624(0xe5);return _0x237a1e[_0x2e7624(0xef)]({'label':_0x4af0be(_0xeaba59,_0x2e7624(0x112)),'icon':_0x2f5887,'class':_0x323e4b,'tooltip':!0x0}),_0x237a1e[_0x2e7624(0xdb)](_0x2e7624(0x126))['to'](this,_0x2e7624(0xd9),_0x52333b=>!!_0x52333b),_0x237a1e[_0x2e7624(0xdb)](_0x2e7624(0xe8))['to'](this,_0x2e7624(0xf2),_0xdab6b3=>!_0xdab6b3),_0x237a1e['on'](_0x2e7624(0xed),()=>{const _0xdbbd9c=_0x2e7624;this[_0xdbbd9c(0x10b)](this[_0xdbbd9c(0x117)][_0xdbbd9c(0x127)]),_0x237a1e[_0xdbbd9c(0x129)]=_0x50ebfe,_0x237a1e[_0xdbbd9c(0xeb)]=_0x323e4b+_0xdbbd9c(0x110),this[_0xdbbd9c(0x121)](),setTimeout(()=>{const _0x2cae64=_0xdbbd9c;_0x237a1e[_0x2cae64(0x129)]=_0x2f5887,_0x237a1e[_0x2cae64(0xeb)]=_0x323e4b;},0x3e8);}),_0x237a1e;}[_0xb7e6b(0x10b)](_0x478a43){const _0x162584=_0xb7e6b,{window:_0x104869,document:_0x3e731a}=_0x1de1fc;if(_0x104869[_0x162584(0xf3)]){const {Blob:_0x5c49e7,ClipboardItem:_0x25bce8}=_0x104869,_0x158d44=[new _0x25bce8({'text/html':new _0x5c49e7([_0x478a43[_0x162584(0x11b)]],{'type':_0x162584(0x108)}),'text/plain':new _0x5c49e7([_0x478a43[_0x162584(0x123)]||''],{'type':_0x162584(0x116)})})];navigator[_0x162584(0xe9)][_0x162584(0x115)](_0x158d44);}else{const _0x289d9b=_0x3e731a[_0x162584(0xda)](_0x162584(0xdc));_0x289d9b[_0x162584(0xdf)][_0x162584(0x106)]=_0x162584(0xdd),_0x289d9b[_0x162584(0xdf)][_0x162584(0xf7)]=_0x162584(0x120),_0x289d9b[_0x162584(0x11b)]=_0x162584(0xe0)+_0x478a43[_0x162584(0x11b)]+_0x162584(0x124),_0x3e731a[_0x162584(0xf1)][_0x162584(0xe1)](_0x289d9b);const _0x33e699=_0x3e731a[_0x162584(0xe7)]();_0x33e699[_0x162584(0xf5)](_0x289d9b[_0x162584(0xfb)]),_0x33e699[_0x162584(0x125)](_0x289d9b[_0x162584(0xf9)]);const _0x8f5735=_0x104869[_0x162584(0x11e)]();_0x8f5735[_0x162584(0x111)](),_0x8f5735[_0x162584(0x119)](_0x33e699),_0x3e731a[_0x162584(0xe2)](_0x162584(0xf4)),_0x289d9b[_0x162584(0xec)]();}}}export class ContentFieldView extends _0x12fee6{constructor(_0x5ed2fb,_0x136bda=''){const _0x5a229c=_0xb7e6b;super(_0x5ed2fb),this[_0x5a229c(0x109)]=this[_0x5a229c(0x104)](),this[_0x5a229c(0xd7)]({'tag':_0x5a229c(0xdc),'attributes':{'class':['ck',_0x5a229c(0xea),_0x136bda,_0x5a229c(0x122),_0x5a229c(0xe6)]}});}[_0xb7e6b(0x11c)](_0x8eef7b){const _0x55edae=_0xb7e6b;this[_0x55edae(0x127)][_0x55edae(0x11b)]=_0x8eef7b;}[_0xb7e6b(0xd8)](){const _0x19a97d=_0xb7e6b;this[_0x19a97d(0x127)][_0x19a97d(0xe1)](this[_0x19a97d(0x109)][_0x19a97d(0x127)]);}[_0xb7e6b(0x104)](){const _0x550316=_0xb7e6b,_0x3aade7=new _0x12fee6(),_0xe300e7=this[_0x550316(0x103)],_0x469073=new _0x461dde();return _0x469073[_0x550316(0x126)]=!0x0,_0x3aade7[_0x550316(0xd7)]({'tag':_0x550316(0xdc),'attributes':{'class':['ck',_0x550316(0x11a)]},'children':[_0x469073,{'text':_0x4af0be(_0xe300e7,_0x550316(0xfd))}]}),_0x3aade7[_0x550316(0x11d)](),_0x3aade7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3618a2,_0x1672fc){const _0xc6f8c7=_0x4393,_0x426d2a=_0x3618a2();while(!![]){try{const _0x13483a=-parseInt(_0xc6f8c7(0x1aa))/0x1*(-parseInt(_0xc6f8c7(0x1b4))/0x2)+parseInt(_0xc6f8c7(0x1b5))/0x3*(parseInt(_0xc6f8c7(0x1a7))/0x4)+parseInt(_0xc6f8c7(0x1af))/0x5*(-parseInt(_0xc6f8c7(0x1b3))/0x6)+-parseInt(_0xc6f8c7(0x1b0))/0x7+parseInt(_0xc6f8c7(0x1a8))/0x8+parseInt(_0xc6f8c7(0x1a6))/0x9*(-parseInt(_0xc6f8c7(0x1ab))/0xa)+parseInt(_0xc6f8c7(0x1a5))/0xb*(parseInt(_0xc6f8c7(0x1ac))/0xc);if(_0x13483a===_0x1672fc)break;else _0x426d2a['push'](_0x426d2a['shift']());}catch(_0x24da8f){_0x426d2a['push'](_0x426d2a['shift']());}}}(_0x747d,0x458ef));import{IconError as _0x53eadd}from'ckeditor5/src/icons.js';function _0x747d(){const _0x4f6eef=['90lZdyjR','9271992dqKqvz','ck-ai-form__error','div','510cUegOX','3212881dGcuBh','bindTemplate','text','22602cekjIR','134236ZZaGzg','187461cTDUmW','set','content','11sFyYPj','384633RhlJpv','4KzaoiY','4346976JkvvJU','setTemplate','2pbFNdV'];_0x747d=function(){return _0x4f6eef;};return _0x747d();}function _0x4393(_0x1d2ca6,_0x582f8e){const _0x747d72=_0x747d();return _0x4393=function(_0x4393ce,_0x2ee41b){_0x4393ce=_0x4393ce-0x1a3;let _0x594384=_0x747d72[_0x4393ce];return _0x594384;},_0x4393(_0x1d2ca6,_0x582f8e);}import{View as _0x1e1237,IconView as _0x59febd}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x1e1237{constructor(_0x348d4d,_0x88301=''){const _0x546b71=_0x4393;super(_0x348d4d);const _0x38981b=new _0x59febd(),_0x2a4dd3=this[_0x546b71(0x1b1)];this[_0x546b71(0x1a3)](_0x546b71(0x1b2),_0x88301),_0x38981b[_0x546b71(0x1a4)]=_0x53eadd,this[_0x546b71(0x1a9)]({'tag':_0x546b71(0x1ae),'attributes':{'class':['ck',_0x546b71(0x1ad)]},'children':[_0x38981b,{'text':_0x2a4dd3['to'](_0x546b71(0x1b2))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1230(_0x5e6e41,_0x4b3c5f){const _0x3c103f=_0x3c10();return _0x1230=function(_0x1230e8,_0x54939b){_0x1230e8=_0x1230e8-0x86;let _0x53298f=_0x3c103f[_0x1230e8];return _0x53298f;},_0x1230(_0x5e6e41,_0x4b3c5f);}const _0x148b69=_0x1230;(function(_0x3ef0ab,_0x287043){const _0x53fa33=_0x1230,_0x72de28=_0x3ef0ab();while(!![]){try{const _0x159fe5=parseInt(_0x53fa33(0x94))/0x1+parseInt(_0x53fa33(0x9d))/0x2*(parseInt(_0x53fa33(0xa7))/0x3)+parseInt(_0x53fa33(0x95))/0x4*(-parseInt(_0x53fa33(0xb3))/0x5)+-parseInt(_0x53fa33(0x8c))/0x6*(parseInt(_0x53fa33(0xad))/0x7)+parseInt(_0x53fa33(0xa5))/0x8+parseInt(_0x53fa33(0xbb))/0x9*(-parseInt(_0x53fa33(0xa1))/0xa)+-parseInt(_0x53fa33(0xbf))/0xb*(parseInt(_0x53fa33(0xb1))/0xc);if(_0x159fe5===_0x287043)break;else _0x72de28['push'](_0x72de28['shift']());}catch(_0x2e061c){_0x72de28['push'](_0x72de28['shift']());}}}(_0x3c10,0xc4bce));function _0x3c10(){const _0x3f8ec6=['bind','requestAnimationFrame','enter','ck-ai-form__toggle-history','element','window','31356ZBlfUY','_createSubmitButton','left','keystrokes','1683rJmhDm','rtl','showHistoryButtonView','set','width','isEnabled','submit','Submit','target','294QbitJU','focusLast','focusCycler','focusableChildren','execute','isVisible','isEmpty','value','528110DcdoXr','8nAgKOA','submitButtonView','locale','filteredView','resultsView','queryView','update','style','8QzDCmo','maxRows','History','ck-ai-form__submit','2400YzWcHb','uiLanguageDirection','fieldWrapperChildren','_createShowHistoryButton','5299384cSzzeD','focusFirst','1164669DCQTqQ','minRows','fire','right','children','fieldView','34916BukDFs','add','isOn','focus','62364XyFUYJ','excludeScrollbarsAndBorders','154685eHSJyW','render'];_0x3c10=function(){return _0x3f8ec6;};return _0x3c10();}import{Rect as _0x3a1bf0,global as _0x49ea69,isVisible as _0x125153}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x4d68a4,IconSubmit as _0x4a4d2c}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x2d607e,ButtonView as _0x1db19c}from'ckeditor5/src/ui.js';import{getTranslation as _0x5da1d9}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x2d607e{[_0x148b69(0x96)];[_0x148b69(0xc1)];constructor(_0x4ce265,_0x46b0f5){const _0x23156d=_0x148b69;super(_0x4ce265,_0x46b0f5),this[_0x23156d(0x9a)][_0x23156d(0xac)][_0x23156d(0xa8)]=0x1,this[_0x23156d(0x9a)][_0x23156d(0xac)][_0x23156d(0x9e)]=0x3,this[_0x23156d(0x96)]=this[_0x23156d(0xbc)](),this[_0x23156d(0xc1)]=this[_0x23156d(0xa4)](),this[_0x23156d(0x8f)][_0x23156d(0xae)](this[_0x23156d(0xc1)],0x1),this[_0x23156d(0x8f)][_0x23156d(0xae)](this[_0x23156d(0x96)]);}[_0x148b69(0xb4)](){const _0x3b5aa9=_0x148b69;super[_0x3b5aa9(0xb4)](),this[_0x3b5aa9(0x9a)][_0x3b5aa9(0xa3)][_0x3b5aa9(0xae)](this[_0x3b5aa9(0xc1)]),this[_0x3b5aa9(0xab)][_0x3b5aa9(0xae)](this[_0x3b5aa9(0x96)]),this[_0x3b5aa9(0xbe)][_0x3b5aa9(0x86)](_0x3b5aa9(0xb7),(_0x4794bb,_0x165c8e)=>{const _0x13b38d=_0x3b5aa9;_0x4794bb[_0x13b38d(0x8b)]==this[_0x13b38d(0x9a)][_0x13b38d(0xac)][_0x13b38d(0xb9)]&&(this[_0x13b38d(0x89)](),_0x165c8e());});}[_0x148b69(0xbc)](){const _0x403b32=_0x148b69,_0x144c12=new _0x1db19c(this[_0x403b32(0x97)]),_0xaabec9=this[_0x403b32(0x97)];return _0x144c12[_0x403b32(0x86)]({'icon':_0x4a4d2c,'label':_0x5da1d9(_0xaabec9,_0x403b32(0x8a)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x403b32(0xa0)}),_0x144c12['on'](_0x403b32(0x90),()=>{const _0x12e1fd=_0x403b32;this[_0x12e1fd(0x89)]();}),_0x144c12[_0x403b32(0xb5)](_0x403b32(0x88))['to'](this[_0x403b32(0x9a)][_0x403b32(0xac)],_0x403b32(0x92),this,_0x403b32(0x88),(_0x2f0e08,_0x12d038)=>!_0x2f0e08&&_0x12d038),_0x144c12;}[_0x148b69(0xa4)](){const _0xd11a5=_0x148b69,_0x34f29e=new _0x1db19c(this[_0xd11a5(0x97)]),_0x40f3b9=this[_0xd11a5(0x99)],_0x5759c2=this[_0xd11a5(0x97)];_0x34f29e[_0xd11a5(0x86)]({'label':_0x5da1d9(_0x5759c2,_0xd11a5(0x9f)),'withText':!0x1,'icon':_0x4d68a4,'tooltip':!0x0,'tooltipPosition':'sw','class':_0xd11a5(0xb8)}),_0x34f29e[_0xd11a5(0xb5)](_0xd11a5(0xaf))['to'](_0x40f3b9,_0xd11a5(0x91)),_0x34f29e[_0xd11a5(0xb5)](_0xd11a5(0x88))['to'](this,_0xd11a5(0x88)),_0x34f29e['on'](_0xd11a5(0x90),()=>{const _0x43f238=_0xd11a5;_0x40f3b9[_0x43f238(0x91)]=!_0x40f3b9[_0x43f238(0x91)],_0x40f3b9[_0x43f238(0x91)]?this[_0x43f238(0x98)][_0x43f238(0xb0)]():this[_0x43f238(0xb0)]();});const _0x507676=()=>{const _0x313835=_0xd11a5;_0x49ea69[_0x313835(0xba)][_0x313835(0xb6)](()=>{const _0x14f068=_0x313835;if(_0x125153(this[_0x14f068(0xb9)])){const _0x13906a=new _0x3a1bf0(this[_0x14f068(0x9a)][_0x14f068(0xac)][_0x14f068(0xb9)]),_0x4fcc00=_0x13906a[_0x14f068(0x87)],_0x5658ff=_0x14f068(0xc0)===_0x5759c2[_0x14f068(0xa2)]?_0x14f068(0xbd):_0x14f068(0xaa);_0x13906a[_0x14f068(0xb2)](),_0x34f29e[_0x14f068(0xb9)][_0x14f068(0x9c)][_0x5658ff]=_0x4fcc00-_0x13906a[_0x14f068(0x87)]+0x1+'px';}});};return this[_0xd11a5(0x9a)][_0xd11a5(0xac)]['on'](_0xd11a5(0x9b),_0x507676),this['on'](_0xd11a5(0xb4),_0x507676),_0x34f29e;}[_0x148b69(0x89)](){const _0x4f4347=_0x148b69,_0x128221=this[_0x4f4347(0x9a)][_0x4f4347(0xac)][_0x4f4347(0xb9)][_0x4f4347(0x93)];this[_0x4f4347(0xa9)](_0x4f4347(0x89),_0x128221);}[_0x148b69(0xb0)](_0xce97dc){const _0x369fe3=_0x148b69;-0x1===_0xce97dc?this[_0x369fe3(0x8e)][_0x369fe3(0x8d)]():this[_0x369fe3(0x8e)][_0x369fe3(0xa6)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7f132f=_0x1f14;function _0x1f14(_0x2ef20b,_0x452bb0){const _0xa82f48=_0xa82f();return _0x1f14=function(_0x1f14e7,_0x32943c){_0x1f14e7=_0x1f14e7-0x111;let _0x3c873e=_0xa82f48[_0x1f14e7];return _0x3c873e;},_0x1f14(_0x2ef20b,_0x452bb0);}(function(_0x2c449a,_0x315cee){const _0x2b74c2=_0x1f14,_0x2aed8d=_0x2c449a();while(!![]){try{const _0x20ad22=-parseInt(_0x2b74c2(0x128))/0x1+parseInt(_0x2b74c2(0x117))/0x2+parseInt(_0x2b74c2(0x122))/0x3+parseInt(_0x2b74c2(0x120))/0x4+parseInt(_0x2b74c2(0x12a))/0x5+parseInt(_0x2b74c2(0x118))/0x6+-parseInt(_0x2b74c2(0x11c))/0x7*(parseInt(_0x2b74c2(0x11f))/0x8);if(_0x20ad22===_0x315cee)break;else _0x2aed8d['push'](_0x2aed8d['shift']());}catch(_0x525038){_0x2aed8d['push'](_0x2aed8d['shift']());}}}(_0xa82f,0x8da6f));function _0xa82f(){const _0x12a053=['_CONTENT','stopButton','isVisible','_createButton','replaceButton','REPLACE','locale','ck-hidden','replace','label','ck-button-action','ck-ai-form__toolbar','767418ByNXEF','3556620sBVasL','tryAgainButton','items','set','35kayGAU','Try\x20again','bind','1862024EUbAoS','2918400GuUdLk','bindTemplate','1187229LChZYm','addMany','mainAction','AI_','insertButton','extendTemplate','965972xDQRQt','toUpperCase','3040610NYglam','insert','Stop','Insert\x20below'];_0xa82f=function(){return _0x12a053;};return _0xa82f();}import{ToolbarView as _0x105710,ButtonView as _0x329e74}from'ckeditor5/src/ui.js';import{getTranslation as _0xc01c83}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x7f132f(0x113),'INSERT':_0x7f132f(0x12b)};export class AIFormToolbarView extends _0x105710{constructor(_0x2e7a25){const _0x535d5d=_0x7f132f;super(_0x2e7a25),this[_0x535d5d(0x11b)](_0x535d5d(0x130),!0x1),this[_0x535d5d(0x11b)](_0x535d5d(0x124),AIFormToolbarViewMainActionLabel[_0x535d5d(0x133)]),this[_0x535d5d(0x132)]=this[_0x535d5d(0x131)]('',_0x535d5d(0x115)),this[_0x535d5d(0x132)][_0x535d5d(0x11e)](_0x535d5d(0x114))['to'](this,_0x535d5d(0x124),_0x52c10e=>_0xc01c83(_0x2e7a25,_0x535d5d(0x125)+_0x52c10e[_0x535d5d(0x129)]()+_0x535d5d(0x12e))),this[_0x535d5d(0x126)]=this[_0x535d5d(0x131)](_0xc01c83(_0x2e7a25,_0x535d5d(0x12d))),this[_0x535d5d(0x119)]=this[_0x535d5d(0x131)](_0xc01c83(_0x2e7a25,_0x535d5d(0x11d))),this[_0x535d5d(0x12f)]=this[_0x535d5d(0x131)](_0xc01c83(_0x2e7a25,_0x535d5d(0x12c)));const _0x39ce1d=this[_0x535d5d(0x121)];this[_0x535d5d(0x127)]({'attributes':{'class':[_0x535d5d(0x116),_0x39ce1d['if'](_0x535d5d(0x130),_0x535d5d(0x112),_0x56d889=>!_0x56d889)]}}),this[_0x535d5d(0x11a)][_0x535d5d(0x123)]([this[_0x535d5d(0x132)],this[_0x535d5d(0x126)],this[_0x535d5d(0x119)],this[_0x535d5d(0x12f)]]);}[_0x7f132f(0x131)](_0x307ad8,_0x3071df){const _0x362679=_0x7f132f,_0x343ceb=new _0x329e74(this[_0x362679(0x111)]);return _0x343ceb[_0x362679(0x11b)]({'label':_0x307ad8,'class':_0x3071df||'','isVisible':!0x0,'withText':!0x0}),_0x343ceb;}}
|